@nuvin/agent-core 0.1.1-rc.0 → 0.2.0-rc.2
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/metrics.d.ts +8 -0
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-JQLCZGQ7.js +1 -0
- package/dist/chunk-NYZR4XKO.js +1 -1
- package/dist/chunk-WDPOWIJR.js +1 -0
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -0
- package/dist/formats/index.js +1 -1
- package/dist/formats/message-format.d.ts +1 -0
- package/dist/hooks/index.js +1 -1
- package/dist/models/chat-model.d.ts +1 -0
- package/dist/models/github-model.d.ts +2 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +1 -1
- package/dist/models/mock-model.d.ts +2 -0
- package/dist/models/model-cost.d.ts +5 -0
- package/dist/models/model-pricing-generator.d.ts +9 -0
- package/dist/models/model-pricing-products.d.ts +45 -0
- package/dist/models/model-pricing-types.d.ts +33 -0
- package/dist/models/model-pricing.d.ts +13 -0
- package/dist/models/model-pricing.generated.d.ts +23147 -0
- package/dist/models/openai-surfaces.d.ts +3 -0
- package/dist/models/routed-model.d.ts +3 -0
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +38 -7
- package/dist/tools/index.js +1 -1
- package/dist/tools/mcp-server-manager.d.ts +9 -4
- package/dist/tools/mcp-tool-adapter.d.ts +6 -1
- package/dist/tools/runtime-manager-tools.d.ts +11 -0
- package/dist/tools/tools.d.ts +4 -1
- package/package.json +2 -2
- package/dist/chunk-BLGBVFVX.js +0 -1
- package/dist/chunk-UIXQPCSN.js +0 -1
- package/dist/chunk-YWQXXHHU.js +0 -1
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x15a9de,_0x3ab1e8){const _0x5406d4={_0x2e9d36:0x15a,_0x3ce1d2:0x251,_0x46aa52:0x323,_0x2eec70:0x103,_0x37373f:0x3ec,_0x17dfb0:0x130,_0x2135c8:0x222,_0xaeadd7:0xd2,_0xb2059d:0x2a4,_0x354668:0x15b,_0x47a8cc:0x2b,_0x3573ff:0x149,_0x25f12d:0xca},_0x1cc54b={_0x115f58:0x2be};function _0x5ba36b(_0x4c1ffa,_0x2ae2e6,_0x3e0413,_0x2a3609){return _0x4a14(_0x4c1ffa- -_0x1cc54b._0x115f58,_0x2ae2e6);}const _0x45b8e6=_0x15a9de();function _0x407b6b(_0x5e53a4,_0x263d65,_0x3b0219,_0x29da64){return _0x4a14(_0x263d65- -0x152,_0x29da64);}while(!![]){try{const _0x2d863b=parseInt(_0x407b6b(_0x5406d4._0x2e9d36,_0x5406d4._0x3ce1d2,0x1fc,_0x5406d4._0x46aa52))/0x1+parseInt(_0x5ba36b(-0x7a,-_0x5406d4._0x2eec70,-0x7c,-0x15b))/0x2+parseInt(_0x407b6b(_0x5406d4._0x37373f,0x2a5,0x1c8,_0x5406d4._0x17dfb0))/0x3+parseInt(_0x407b6b(_0x5406d4._0x2135c8,0xa6,0x1ab,-_0x5406d4._0xaeadd7))/0x4+-parseInt(_0x407b6b(0x2d9,0x15c,0x14,_0x5406d4._0xb2059d))/0x5+-parseInt(_0x5ba36b(-0x55,-_0x5406d4._0x354668,-0x34,-0x1f))/0x6*(-parseInt(_0x5ba36b(-_0x5406d4._0x47a8cc,-0x151,-0x26,0x3c))/0x7)+-parseInt(_0x5ba36b(-0xd7,-_0x5406d4._0x3573ff,-_0x5406d4._0x25f12d,0x6b))/0x8;if(_0x2d863b===_0x3ab1e8)break;else _0x45b8e6['push'](_0x45b8e6['shift']());}catch(_0x401393){_0x45b8e6['push'](_0x45b8e6['shift']());}}}(_0x551f,0x97a9a));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,validateToolInput}from'../chunk-UIXQPCSN.js';import{getTextFromMessage}from'../chunk-YWQXXHHU.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 _0x1f882c from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x475ba1(0x15f,0x61,-0x9c,0x1c1),'.js':_0x511d68(0x66d,0x6e7,0x652,0x679),'.jsx':_0x511d68(0x574,0x5ed,0x735,0x5e1),'.mjs':'javascript','.cjs':_0x475ba1(0x3db,0x29a,0x2fc,0x3d2),'.mts':'typescript','.cts':_0x511d68(0x660,0x54e,0x642,0x6c8),'.json':_0x511d68(0x59c,0x4c0,0x61d,0x501),'.jsonc':_0x511d68(0x6be,0x54c,0x66b,0x65a)};function getLanguageId(_0x4eccdf){const _0x1b40cc={_0x2aa8e7:0x155,_0x48c894:0x242,_0x32b56a:0x2d2},_0x32ea05={_0x15892e:0x190,_0x2ee48d:0x13a},_0x54f15c={_0x5708f4:0x536,_0x30c46:0x1c9};function _0x12eb37(_0x4bd384,_0x2c3d21,_0x20124b,_0x4faf54){return _0x475ba1(_0x2c3d21,_0x4bd384-_0x54f15c._0x5708f4,_0x20124b-0x144,_0x4faf54-_0x54f15c._0x30c46);}function _0x3aeac7(_0x229467,_0x18af09,_0x50fb40,_0x97a02c){return _0x511d68(_0x229467-_0x32ea05._0x15892e,_0x97a02c- -0x3de,_0x50fb40-_0x32ea05._0x2ee48d,_0x229467);}return EXTENSION_TO_LANGUAGE[_0x1f882c[_0x3aeac7(_0x1b40cc._0x2aa8e7,0x2fa,0x2f4,_0x1b40cc._0x48c894)](_0x4eccdf)[_0x3aeac7(0x3bf,0x36d,_0x1b40cc._0x32b56a,0x24e)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x4c685d){const _0x587f72={_0x190fce:0x484,_0x21b9d9:0x3dc},_0x55b4ea={_0x5c0626:0xb9};function _0x3dcb44(_0x4fd571,_0x374f85,_0x2cb938,_0x5c19ac){return _0x475ba1(_0x4fd571,_0x5c19ac-0x1bf,_0x2cb938-_0x55b4ea._0x5c0626,_0x5c19ac-0x150);}return pathToFileURL(_0x4c685d)[_0x3dcb44(_0x587f72._0x190fce,0x485,_0x587f72._0x21b9d9,0x30b)]();}function textDocumentPosition(_0x11724a){const _0x4ec095={_0xe02736:0x759,_0x635463:0x57a,_0x4d7300:0x6f2,_0x4721d1:0xe6,_0x461b01:0x1f4,_0x28adf5:0x5d,_0x391c97:0x8},_0x72c392={_0x3c8808:0x1db,_0x503ef3:0x3e7,_0x32250d:0x37},_0x2b023f={_0x37c14e:0x1b4};function _0x29c0fc(_0x55c580,_0x785e15,_0x40b480,_0x558efa){return _0x511d68(_0x55c580-0xd,_0x558efa-0xbf,_0x40b480-_0x2b023f._0x37c14e,_0x785e15);}function _0x5382ad(_0xd36f8,_0x43033f,_0x22dca9,_0x353129){return _0x511d68(_0xd36f8-_0x72c392._0x3c8808,_0xd36f8- -_0x72c392._0x503ef3,_0x22dca9-_0x72c392._0x32250d,_0x43033f);}return{'textDocument':{'uri':uriForPath(_0x11724a[_0x29c0fc(_0x4ec095._0xe02736,_0x4ec095._0x635463,0x6a4,_0x4ec095._0x4d7300)])},'position':{'line':_0x11724a[_0x5382ad(_0x4ec095._0x4721d1,0x25d,0x58,_0x4ec095._0x461b01)],'character':_0x11724a[_0x5382ad(_0x4ec095._0x28adf5,-_0x4ec095._0x391c97,0x167,0xf0)]}};}function normalizeLocations(_0x5bd57d){const _0x4c69ff={_0x2b14ab:0x7a1},_0x4d7ad9={_0x497028:0x2f};function _0x443ded(_0x11f055,_0xfe96c4,_0x599287,_0xa4fe97){return _0x475ba1(_0x599287,_0x11f055-0x5bb,_0x599287-_0x4d7ad9._0x497028,_0xa4fe97-0x8f);}if(!_0x5bd57d)return[];return Array[_0x443ded(0x6a7,_0x4c69ff._0x2b14ab,0x6d8,0x68a)](_0x5bd57d)?_0x5bd57d:[_0x5bd57d];}async function createLspClient(_0x440c72){const _0x24006d={_0x2a3012:0x4a0,_0xdc73b5:0x442,_0x424d90:0x605,_0x29ecba:0x1bd,_0x32e03a:0xd9,_0x3c51e3:0x35a,_0x49a22e:0xd8,_0xfb8ba:0x20e,_0x313baf:0x63c,_0x1f6d58:0x55d,_0x42c60e:0x703,_0x71666b:0x399,_0x9ac9fb:0x2dd,_0x3b54f8:0x7a0,_0x11fc24:0x706,_0x5a0ba7:0x293,_0x247a42:0x1c8,_0x364692:0x23d,_0x3e6b28:0x2ad,_0x5cc9bf:0x2da,_0x2c7d3f:0x404,_0x29ce1e:0x554,_0x19f42f:0x508,_0x76bc00:0x572,_0x1bd764:0x608,_0xa9ee29:0x6c3,_0x2123b4:0x6b,_0xe1271c:0x645,_0x3ce7a4:0x2d4,_0x22eab9:0x51e,_0x49b40d:0x57d,_0x43cd1f:0x5cc,_0x213d67:0x8a,_0x49f647:0x266,_0x37c7e7:0x486,_0x108c52:0x312,_0x2625a9:0x539,_0x6b5939:0x150,_0x15c46:0x248},_0xfc637a={_0x104d85:0x585,_0x22ce3b:0x6dc,_0x4046ea:0x7bb,_0x39397c:0x13e,_0x305d8b:0x73d,_0x200176:0x894,_0x246fd8:0x7dc,_0x1d4733:0x889,_0x3b318b:0x2fb,_0x387973:0x2a6,_0x360a53:0x2c2,_0x2dc251:0x5b,_0x3d8b6e:0x43,_0x3e2fc8:0x118,_0x9fabcf:0x50,_0x4c74eb:0x11},_0x1c6e50={_0x2ba999:0x184,_0x2d8c2e:0xb9},_0x5d6365={_0x3a5008:0x15},_0x5c0b5e={_0x2da84b:0x66,_0x19fb4d:0x1bf,_0x35b402:0x140},_0x1b9a89={_0x16082e:0x1df},_0x7de321={_0x14c1be:0x2c9,_0x20d4c3:0x27a},_0x2de85c={_0x32af44:0x196,_0x3d8242:0x5a},_0x343ee2={_0x37bfdb:0x5e0,_0x2548a0:0x3a0,_0x1e11ba:0x4ff,_0x123850:0x309,_0x4e22e6:0x2cd,_0x725ef8:0x307,_0x37ca6a:0x2ec},_0x4a23ac={_0x477d16:0x6a,_0x557369:0x13b},_0x4c62e8={_0x3781a2:0x70,_0x403c1a:0xda,_0x3e6fd:0x20,_0x288094:0x3bf,_0x2d39be:0x4ff,_0x5cb410:0x308},_0x4948cf={_0x25ebc1:0x2da,_0x160158:0xfa},_0x1c5411={_0xbdcf86:0xae,_0x3450c4:0x614,_0x22a676:0x5f3,_0x4f7a2f:0x51a},_0x5360c5={_0x4d3cfa:0x72,_0x203c41:0x51,_0x597bf1:0x7f,_0xd9c3c4:0xa8,_0x1ac6fe:0x1e},_0x7fa1b7={_0x3dfc27:0x4a},_0x4c4166={_0x5846ac:0x588,_0x9a27b2:0x69e,_0x30d4df:0x4a9,_0x275d3e:0x62c},_0x581bc2={_0x1abf34:0xba,_0x11704f:0x1a6},_0xa0f194={_0x586718:0x11a,_0xe9c33f:0x82,_0x1e8a72:0x19d,_0x217d24:0x21},_0x10bc7e={_0x43c3dc:0x7d2,_0x51e989:0x76b,_0x11e0e9:0x699,_0x4003aa:0x472,_0x3f2d63:0x4c9},_0x56a581={_0x2590b8:0x117,_0x54f1e2:0x1a9},_0xa6d4a3={_0x39798a:0x55a},_0x6192e3={_0x53e66a:0x40c,_0x1a05d2:0x2f3,_0x5d2a30:0x24b,_0x39a792:0x625,_0x315dc9:0x355,_0x476536:0x4d0},_0x38d630={_0x177fe7:0xfe},_0x20607c={_0x5b5a87:0x18e},_0x3a28ca={_0x35a517:0x24e,_0x5809ad:0x3a2,_0x3bc69d:0x2de,_0x5532b2:0x3f0,_0x4c4fcb:0x44a,_0x4c3ef8:0x4e3,_0x2965b1:0x3ac},_0x182be0={_0x4588b9:0x77,_0x1bf685:0x39},_0x476aa9={_0xa645ca:0x96b,_0x46ecf2:0x87b,_0x6e3aa9:0x986,_0x5a9c50:0x10b,_0x298c70:0x1e8,_0x36a004:0x272,_0x175abd:0x1e0,_0x4876c2:0x434,_0x254ec7:0x2d8,_0x17634f:0x202,_0x37e52a:0x89a,_0x19e060:0x81f},_0x1f298f={_0x373f53:0x114,_0x20dac9:0x56},_0x4a14bc={_0x3db31d:0x44},_0xfb2035={_0x2f19c3:0x16},_0x288a2b={_0x4e6e4d:0xce,_0x5b99f3:0xa,_0x443eb4:0xaf},_0x5cbbd8=_0x440c72[_0x5c06d6(_0x24006d._0x2a3012,_0x24006d._0xdc73b5,0x3b8,_0x24006d._0x424d90)][_0x36c30e(_0x24006d._0x29ecba,0x333,0x274,0x342)][_0x36c30e(_0x24006d._0x32e03a,0x141,0x244,_0x24006d._0x3c51e3)],_0x59e50a=_0x440c72[_0x36c30e(-0x8f,0x15d,_0x24006d._0x49a22e,_0x24006d._0xfb8ba)][_0x5c06d6(_0x24006d._0x313baf,_0x24006d._0x1f6d58,_0x24006d._0x42c60e,0x759)][_0x36c30e(_0x24006d._0x71666b,0x27c,_0x24006d._0x9ac9fb,0x18b)];if(!_0x5cbbd8||!_0x59e50a)throw new Error(_0x5c06d6(0x6b9,0x835,_0x24006d._0x3b54f8,_0x24006d._0x11fc24));const _0x709f12=createMessageConnection(new StreamMessageReader(_0x5cbbd8),new StreamMessageWriter(_0x59e50a)),_0x5a7bb0=new Map();function _0x5c06d6(_0x5439cf,_0x46995d,_0x3ef940,_0x3ab102){return _0x511d68(_0x5439cf-_0x288a2b._0x4e6e4d,_0x5439cf- -_0x288a2b._0x5b99f3,_0x3ef940-_0x288a2b._0x443eb4,_0x46995d);}const _0x24c55d=new Map();let _0x456caa=![];function _0x36c30e(_0x532d88,_0x256f05,_0x55945f,_0x52ff24){return _0x511d68(_0x532d88-0x1b4,_0x55945f- -0x3d2,_0x55945f-_0xfb2035._0x2f19c3,_0x52ff24);}_0x709f12[_0x36c30e(0x1ea,_0x24006d._0x5a0ba7,_0x24006d._0x247a42,_0x24006d._0x364692)](_0x36c30e(0x1f1,_0x24006d._0x3e6b28,_0x24006d._0x5cc9bf,0x37c),_0x392867=>{_0x5a7bb0[_0x324e3f(0x7f1,_0x476aa9._0xa645ca,_0x476aa9._0x46ecf2,_0x476aa9._0x6e3aa9)](_0x392867['uri'],_0x392867[_0x13bdde(0x3f2,0x360,0x234,0x334)]);const _0x499f73=_0x24c55d[_0x13bdde(_0x476aa9._0x5a9c50,_0x476aa9._0x298c70,_0x476aa9._0x36a004,_0x476aa9._0x175abd)](_0x392867[_0x13bdde(_0x476aa9._0x4876c2,_0x476aa9._0x254ec7,0x17b,_0x476aa9._0x17634f)]);function _0x13bdde(_0x464a15,_0xfbff6,_0x24848d,_0x3f0b53){return _0x36c30e(_0x464a15-0xb6,_0xfbff6-0x1db,_0xfbff6-_0x4a14bc._0x3db31d,_0x3f0b53);}function _0x324e3f(_0x59f78e,_0x5a4043,_0x4f5fc,_0x4c7157){return _0x5c06d6(_0x4f5fc-0x19a,_0x4c7157,_0x4f5fc-_0x1f298f._0x373f53,_0x4c7157-_0x1f298f._0x20dac9);}if(!_0x499f73)return;_0x24c55d[_0x324e3f(0x9a0,_0x476aa9._0x37e52a,_0x476aa9._0x19e060,0x82a)](_0x392867['uri']);for(const _0x375f7d of _0x499f73)_0x375f7d();}),_0x709f12[_0x5c06d6(_0x24006d._0x2c7d3f,_0x24006d._0x29ce1e,_0x24006d._0x19f42f,0x45d)]();const _0x2e6093=await _0x709f12[_0x5c06d6(_0x24006d._0x76bc00,0x6bb,0x50e,_0x24006d._0x1bd764)](_0x5c06d6(0x5c3,0x567,_0x24006d._0xa9ee29,0x568),{'processId':process[_0x36c30e(0x87,0x15c,0xe3,_0x24006d._0x2123b4)],'rootUri':uriForPath(_0x440c72[_0x5c06d6(_0x24006d._0xe1271c,0x6f4,0x5c5,0x7b6)]),'workspaceFolders':[{'uri':uriForPath(_0x440c72[_0x36c30e(_0x24006d._0x3ce7a4,0xff,0x27d,0x308)]),'name':_0x440c72[_0x5c06d6(0x45f,_0x24006d._0x22eab9,0x4d0,_0x24006d._0x49b40d)]['id']}],'initializationOptions':_0x440c72[_0x5c06d6(0x4a0,_0x24006d._0x43cd1f,0x3a3,0x408)][_0x36c30e(_0x24006d._0x213d67,0x1b7,0x1fc,0x33d)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0x36c30e(0x141,0x10c,_0x24006d._0x49f647,0x3e1)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x709f12['sendNotification'](_0x5c06d6(_0x24006d._0x37c7e7,_0x24006d._0x108c52,0x39f,_0x24006d._0x2625a9),{});const _0x74ee0f={'serverId':_0x440c72[_0x5c06d6(0x45f,0x568,0x3b3,0x4be)]['id'],'root':_0x440c72['root'],'connection':_0x709f12,'diagnostics':_0x5a7bb0,'capabilities':_0x2e6093[_0x36c30e(_0x24006d._0x6b5939,_0x24006d._0x15c46,0x18f,0x307)]??{},'notify':{async 'open'({path:_0x45a1fe}){function _0x3fea82(_0x4a8bcc,_0x431be6,_0xc132fe,_0x1f56b7){return _0x36c30e(_0x4a8bcc-0x100,_0x431be6-_0x182be0._0x4588b9,_0x431be6-_0x182be0._0x1bf685,_0x4a8bcc);}function _0x42e1ee(_0x216f0e,_0xd99dd8,_0x17fbce,_0x29edd3){return _0x36c30e(_0x216f0e-0xe8,_0xd99dd8-0x1cd,_0x17fbce-0x146,_0xd99dd8);}const _0x5940bf=await readFile(_0x45a1fe,_0x42e1ee(_0x3a28ca._0x35a517,0x3a1,_0x3a28ca._0x5809ad,0x37c));_0x709f12[_0x42e1ee(0x46b,_0x3a28ca._0x3bc69d,_0x3a28ca._0x5532b2,0x2a6)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x45a1fe),'languageId':getLanguageId(_0x45a1fe)??_0x42e1ee(_0x3a28ca._0x4c4fcb,_0x3a28ca._0x4c3ef8,_0x3a28ca._0x2965b1,0x35b),'version':0x1,'text':_0x5940bf}});},async 'change'({path:_0x19c838,version:_0x2d071b}){const _0x4435b4=await readFile(_0x19c838,_0x4c9cce(_0x6192e3._0x53e66a,0x2a5,0x2f1,0x3f7));function _0x51becb(_0x23c55f,_0x4be281,_0x345611,_0x20212e){return _0x36c30e(_0x23c55f-_0x20607c._0x5b5a87,_0x4be281-0xc0,_0x20212e-0x445,_0x23c55f);}function _0x4c9cce(_0x2f09ca,_0x392133,_0x381388,_0x3ad5aa){return _0x36c30e(_0x2f09ca-0x132,_0x392133-_0x38d630._0x177fe7,_0x392133-0x49,_0x2f09ca);}_0x709f12[_0x4c9cce(0x244,_0x6192e3._0x1a05d2,0x179,_0x6192e3._0x5d2a30)](_0x51becb(_0x6192e3._0x39a792,_0x6192e3._0x315dc9,0x640,_0x6192e3._0x476536),{'textDocument':{'uri':uriForPath(_0x19c838),'version':_0x2d071b},'contentChanges':[{'text':_0x4435b4}]});},async 'close'({path:_0x122e7a}){const _0x91e347={_0x24c8ed:0x11e};function _0x26b294(_0x336403,_0x1391d8,_0xd1cb9,_0x14b579){return _0x5c06d6(_0x14b579-0x7d,_0xd1cb9,_0xd1cb9-0x1a7,_0x14b579-0x126);}function _0x3d91a8(_0xfa03a1,_0x51c0ba,_0x362b86,_0x58c6d1){return _0x36c30e(_0xfa03a1-0x16a,_0x51c0ba-0x1a3,_0xfa03a1- -_0x91e347._0x24c8ed,_0x58c6d1);}_0x709f12[_0x3d91a8(0x18c,0x246,0x1d8,0xaf)](_0x26b294(0x639,0x4c8,_0xa6d4a3._0x39798a,0x5be),{'textDocument':{'uri':uriForPath(_0x122e7a)}});}},'request':{async 'definition'(_0x4c43ae){const _0x536c01={_0x1787ea:0x7d,_0x444d1c:0xe2};function _0x10420b(_0x210663,_0x1e5c3c,_0x556693,_0x5a42c1){return _0x5c06d6(_0x5a42c1-_0x536c01._0x1787ea,_0x556693,_0x556693-_0x536c01._0x444d1c,_0x5a42c1-0x66);}function _0x3297bd(_0x3f7f1e,_0x16a31,_0xb65e4f,_0x1ab099){return _0x36c30e(_0x3f7f1e-_0x56a581._0x2590b8,_0x16a31-_0x56a581._0x54f1e2,_0xb65e4f-0x4ac,_0x16a31);}return normalizeLocations(await _0x709f12[_0x3297bd(_0x10bc7e._0x43c3dc,_0x10bc7e._0x51e989,0x656,_0x10bc7e._0x11e0e9)](_0x3297bd(_0x10bc7e._0x4003aa,_0x10bc7e._0x3f2d63,0x5c8,0x48d),textDocumentPosition(_0x4c43ae)));},async 'references'(_0x2361d1){const _0x10cdc5={_0x16da97:0x191,_0x4fafed:0x84},_0x2d1c35={_0xd890e1:0x8,_0x52b291:0xe4};function _0x11aa5d(_0x507d63,_0x1640c8,_0x2d8a7a,_0x1cef65){return _0x36c30e(_0x507d63-_0x2d1c35._0xd890e1,_0x1640c8-_0x2d1c35._0x52b291,_0x1cef65- -0x90,_0x1640c8);}function _0x1ffcf8(_0x3a7051,_0x5d3b57,_0x56f3f4,_0x3e83a8){return _0x36c30e(_0x3a7051-_0x10cdc5._0x16da97,_0x5d3b57-0x12,_0x3a7051-_0x10cdc5._0x4fafed,_0x5d3b57);}return normalizeLocations(await _0x709f12[_0x11aa5d(0x21f,0xdb,0x212,_0xa0f194._0x586718)](_0x11aa5d(_0xa0f194._0xe9c33f,-0x50,_0xa0f194._0x1e8a72,_0xa0f194._0x217d24),{...textDocumentPosition(_0x2361d1),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x23b047){function _0x4dab73(_0x17e987,_0x44351d,_0x544077,_0x4d3050){return _0x5c06d6(_0x4d3050-_0x581bc2._0x1abf34,_0x44351d,_0x544077-_0x581bc2._0x11704f,_0x4d3050-0x66);}return await _0x709f12[_0x4dab73(_0x4c4166._0x5846ac,_0x4c4166._0x9a27b2,_0x4c4166._0x30d4df,_0x4c4166._0x275d3e)]('textDocument/hover',textDocumentPosition(_0x23b047))??null;},async 'documentSymbol'(_0x1219c9){const _0x1b9721={_0x166563:0x16c,_0x51b567:0x138};function _0x2e6e73(_0x5ae319,_0x19d0a0,_0x26c6bd,_0x542d7){return _0x36c30e(_0x5ae319-0x187,_0x19d0a0-_0x7fa1b7._0x3dfc27,_0x19d0a0-0x407,_0x542d7);}function _0x256088(_0x35bb7f,_0x461030,_0x15a9a3,_0x2f5834){return _0x36c30e(_0x35bb7f-0x4,_0x461030-_0x1b9721._0x166563,_0x461030- -_0x1b9721._0x51b567,_0x2f5834);}return await _0x709f12[_0x256088(0x110,_0x5360c5._0x4d3cfa,-0xb8,_0x5360c5._0x203c41)](_0x256088(_0x5360c5._0x597bf1,0xa1,_0x5360c5._0xd9c3c4,_0x5360c5._0x1ac6fe),{'textDocument':{'uri':uriForPath(_0x1219c9)}})??[];},async 'workspaceSymbol'(_0x3f523b){const _0x5861be={_0x5e3813:0xc3};function _0x52e9d6(_0x222755,_0xb126c6,_0x5a547c,_0x57d0f6){return _0x5c06d6(_0xb126c6- -0x4b6,_0x57d0f6,_0x5a547c-0x1ed,_0x57d0f6-0x170);}function _0x1e5a11(_0x47f6b5,_0x886af,_0x10378d,_0x4a1ea8){return _0x5c06d6(_0x10378d- -0x102,_0x886af,_0x10378d-0x51,_0x4a1ea8-_0x5861be._0x5e3813);}return await _0x709f12[_0x52e9d6(0x12c,0xbc,_0x1c5411._0xbdcf86,0x6a)](_0x1e5a11(_0x1c5411._0x3450c4,_0x1c5411._0x22a676,_0x1c5411._0x4f7a2f,0x43d),{'query':_0x3f523b})??[];},async 'implementation'(_0x505631){function _0x4ce209(_0xa08acc,_0x277aa0,_0x599e6a,_0x1386dd){return _0x36c30e(_0xa08acc-0x9a,_0x277aa0-0x179,_0x1386dd- -0x1ca,_0x277aa0);}function _0x438e09(_0xe870f4,_0x200d90,_0x510fdf,_0x25d8e0){return _0x5c06d6(_0xe870f4- -_0x4948cf._0x25ebc1,_0x510fdf,_0x510fdf-0x163,_0x25d8e0-_0x4948cf._0x160158);}return normalizeLocations(await _0x709f12[_0x4ce209(-_0x4c62e8._0x3781a2,_0x4c62e8._0x403c1a,0x10e,-_0x4c62e8._0x3e6fd)](_0x438e09(_0x4c62e8._0x288094,_0x4c62e8._0x2d39be,0x33b,_0x4c62e8._0x5cb410),textDocumentPosition(_0x505631)));},async 'prepareCallHierarchy'(_0x4dc05b){const _0x4ee91e={_0x5ce451:0x56c,_0x1eda12:0x1d9,_0x1b904b:0x1b};function _0x1658d8(_0x136e2c,_0xb65343,_0x515f93,_0x250bc2){return _0x5c06d6(_0x515f93- -_0x4ee91e._0x5ce451,_0x250bc2,_0x515f93-_0x4ee91e._0x1eda12,_0x250bc2-_0x4ee91e._0x1b904b);}return await _0x709f12[_0x1658d8(_0x4a23ac._0x477d16,_0x4a23ac._0x557369,0x6,0x106)]('textDocument/prepareCallHierarchy',textDocumentPosition(_0x4dc05b))??[];},async 'incomingCalls'(_0x59932d){const _0x73d6f5={_0xeda3db:0xd2,_0x33306c:0x1cb,_0xbe388c:0x4e5};function _0xd364fd(_0x175d5a,_0x4c7744,_0x29c19f,_0x3de711){return _0x36c30e(_0x175d5a-_0x73d6f5._0xeda3db,_0x4c7744-_0x73d6f5._0x33306c,_0x3de711-_0x73d6f5._0xbe388c,_0x4c7744);}function _0x31b682(_0x43e286,_0x599dab,_0x522a61,_0x2869cf){return _0x5c06d6(_0x43e286- -0x115,_0x2869cf,_0x522a61-0x1bd,_0x2869cf-0x118);}return await _0x709f12[_0x31b682(0x45d,_0x343ee2._0x37bfdb,_0x343ee2._0x2548a0,_0x343ee2._0x1e11ba)](_0x31b682(_0x343ee2._0x123850,_0x343ee2._0x4e22e6,_0x343ee2._0x725ef8,_0x343ee2._0x37ca6a),{'item':_0x59932d})??[];},async 'outgoingCalls'(_0x46bc97){function _0x203c83(_0x468007,_0x3b1f89,_0x248fab,_0x57d2fd){return _0x36c30e(_0x468007-0x136,_0x3b1f89-_0x2de85c._0x32af44,_0x468007-_0x2de85c._0x3d8242,_0x248fab);}return await _0x709f12[_0x203c83(0x204,_0x7de321._0x14c1be,_0x7de321._0x20d4c3,0x162)]('callHierarchy/outgoingCalls',{'item':_0x46bc97})??[];}},'waitForDiagnostics'({path:_0x2e3e77,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x1fe447={_0x319d1d:0x2b5,_0x160faf:0x36e},_0x3722e0={_0x425794:0x1b1,_0x1263dc:0x1ae,_0x4e1cda:0x71};function _0xae1b17(_0x2b8565,_0x2b1911,_0x34b9de,_0x42341f){return _0x5c06d6(_0x34b9de- -_0x3722e0._0x425794,_0x42341f,_0x34b9de-_0x3722e0._0x1263dc,_0x42341f-_0x3722e0._0x4e1cda);}function _0xb2f274(_0x136fdc,_0x556f8e,_0x3eba3f,_0x32c013){return _0x5c06d6(_0x3eba3f- -0x54c,_0x32c013,_0x3eba3f-0x77,_0x32c013-_0x1b9a89._0x16082e);}const _0x1fb4a6=uriForPath(_0x2e3e77);if(_0x5a7bb0[_0xb2f274(0x1b7,-0x88,_0x5c0b5e._0x2da84b,-0x4e)](_0x1fb4a6))return Promise[_0xb2f274(-_0x5c0b5e._0x19fb4d,-0x34,-_0x5c0b5e._0x35b402,-0x1fa)]();return new Promise(_0x132c66=>{const _0x5e520e={_0x222b43:0x4b},_0x10e9c2={_0x4b27e1:0x116,_0x2cd9d9:0x8c},_0x2de99c={_0x4b43d3:0x4b8,_0x18d67c:0x619,_0x3f4894:0x5ca,_0x5ec1e9:0x4a3,_0x3e83c2:0x347,_0x53e5bb:0x3f8,_0xe7a8e4:0x71f,_0x40a7ac:0x601,_0x563c88:0x72e},_0x1fc449={_0x3afc44:0x45},_0x384b44=setTimeout(()=>{function _0x559f7d(_0x4098ca,_0x25ec80,_0x2f25d1,_0xa98330){return _0x4a14(_0x2f25d1-0x2a6,_0x4098ca);}function _0x5cec5a(_0x2d411a,_0x13fd16,_0x1c3d33,_0x3019c2){return _0x4a14(_0x3019c2- -_0x1fc449._0x3afc44,_0x1c3d33);}const _0x521018=_0x24c55d[_0x559f7d(_0x2de99c._0x4b43d3,_0x2de99c._0x18d67c,_0x2de99c._0x3f4894,0x482)](_0x1fb4a6);_0x521018?.[_0x5cec5a(_0x2de99c._0x5ec1e9,_0x2de99c._0x3e83c2,0x472,_0x2de99c._0x53e5bb)](_0x3b1655);if(_0x521018?.[_0x559f7d(_0x2de99c._0xe7a8e4,_0x2de99c._0x40a7ac,_0x2de99c._0x563c88,0x662)]===0x0)_0x24c55d[_0x559f7d(0x65f,0x7a5,0x6e3,0x741)](_0x1fb4a6);_0x132c66();},timeoutMs),_0x3b1655=()=>{clearTimeout(_0x384b44),_0x132c66();};function _0x31b8b2(_0x2c1d46,_0x450173,_0x4c7ae1,_0x501477){return _0xae1b17(_0x2c1d46-_0x10e9c2._0x4b27e1,_0x450173-_0x10e9c2._0x2cd9d9,_0x2c1d46- -0x106,_0x4c7ae1);}const _0x4d7b5d=_0x24c55d[_0x31b8b2(_0x1fe447._0x319d1d,0x2b6,0x24a,0x17f)](_0x1fb4a6)??new Set();_0x4d7b5d[_0x31b8b2(0x2b4,0x18e,0x158,0x359)](_0x3b1655);function _0x26997f(_0xddaf26,_0x1e8e7a,_0x4b0d9e,_0x6dd149){return _0xae1b17(_0xddaf26-0x64,_0x1e8e7a-0x19f,_0x1e8e7a- -_0x5e520e._0x222b43,_0x6dd149);}_0x24c55d[_0x31b8b2(0x42a,0x4c2,_0x1fe447._0x160faf,0x2c5)](_0x1fb4a6,_0x4d7b5d);});},async 'shutdown'(){if(_0x456caa)return;_0x456caa=!![];function _0x1527d8(_0x24d68d,_0x3c01b6,_0x195fe2,_0x5d0041){return _0x36c30e(_0x24d68d-0x158,_0x3c01b6-_0x5d6365._0x3a5008,_0x5d0041- -0x41,_0x3c01b6);}function _0x25485c(_0x43ab07,_0x534f8d,_0x4e78e2,_0x2083e9){return _0x36c30e(_0x43ab07-_0x1c6e50._0x2ba999,_0x534f8d-_0x1c6e50._0x2d8c2e,_0x4e78e2-0x532,_0x43ab07);}try{await _0x709f12[_0x25485c(0x760,_0xfc637a._0x104d85,_0xfc637a._0x22ce3b,_0xfc637a._0x4046ea)](_0x1527d8(0x208,0xa6,_0xfc637a._0x39397c,0x86),null),_0x709f12[_0x25485c(_0xfc637a._0x305d8b,_0xfc637a._0x200176,_0xfc637a._0x246fd8,_0xfc637a._0x1d4733)]('exit');}catch{}finally{_0x709f12[_0x1527d8(_0xfc637a._0x3b318b,_0xfc637a._0x387973,0x2f8,_0xfc637a._0x360a53)](),_0x440c72[_0x1527d8(0x1f4,_0xfc637a._0x2dc251,-_0xfc637a._0x3d8b6e,0x97)][_0x1527d8(0x366,0x309,0x12a,0x233)][_0x1527d8(_0xfc637a._0x3e2fc8,-0x5b,_0xfc637a._0x9fabcf,-_0xfc637a._0x4c74eb)]();}}};return _0x74ee0f;}import{spawn as _0x321521}from'child_process';import{access as _0x4770d3}from'fs/promises';import _0x3c9408 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x482b2d from'os';import _0x24af4c from'path';import _0x1a869a from'which';var installPromises=new Map();function sanitizePackageName(_0x4e5fea){const _0x27ad5d={_0x1cb1de:0x40a,_0x4bea41:0x571,_0xe96d4e:0x36e,_0x4f2961:0x2c8},_0x4cfb6d={_0x434b01:0x162},_0x41772f={_0x2dfa36:0xc9,_0x2b7d06:0x34,_0x22e6e8:0x73};function _0x5b6da9(_0x530df7,_0x544901,_0x58ba9d,_0x3cf334){return _0x511d68(_0x530df7-_0x41772f._0x2dfa36,_0x530df7- -_0x41772f._0x2b7d06,_0x58ba9d-_0x41772f._0x22e6e8,_0x544901);}function _0xa50d8(_0x1a1c7a,_0x2a33de,_0x53dec4,_0x5e91fa){return _0x475ba1(_0x2a33de,_0x53dec4-_0x4cfb6d._0x434b01,_0x53dec4-0x2b,_0x5e91fa-0xa);}return _0x4e5fea[_0x5b6da9(_0x27ad5d._0x1cb1de,_0x27ad5d._0x4bea41,0x490,0x576)](/^@/,'')[_0x5b6da9(0x40a,_0x27ad5d._0xe96d4e,_0x27ad5d._0x4f2961,0x2d6)](/[/]/g,'__');}function binaryNameForPlatform(_0x3cd23c){const _0x132a56={_0x580fbe:0x537,_0x2bd3fd:0x3b2,_0x57e69b:0x455,_0x3cb470:0x3ee,_0x5ca62e:0x3f1,_0x3ffb0a:0x3a7,_0x1ab9ba:0x3a8,_0x57d627:0x3b6,_0x305532:0x4d6},_0x34baab={_0x76390a:0x3ca},_0x1bde2c={_0x4e56f9:0x81};function _0x80536b(_0x37372f,_0xb45021,_0x4d143a,_0x33334b){return _0x511d68(_0x37372f-_0x1bde2c._0x4e56f9,_0x4d143a-0xf7,_0x4d143a-0xea,_0x33334b);}function _0x1da361(_0x27500b,_0x4159d7,_0x25ed76,_0x21c35c){return _0x475ba1(_0x4159d7,_0x25ed76-_0x34baab._0x76390a,_0x25ed76-0x1c5,_0x21c35c-0x1a0);}return process[_0x1da361(_0x132a56._0x580fbe,_0x132a56._0x2bd3fd,_0x132a56._0x57e69b,_0x132a56._0x3cb470)]===_0x1da361(0x2a2,_0x132a56._0x5ca62e,_0x132a56._0x3ffb0a,0x2ff)?_0x3cd23c+_0x80536b(_0x132a56._0x1ab9ba,_0x132a56._0x57d627,0x50b,_0x132a56._0x305532):_0x3cd23c;}async function exists(_0x531757){try{return await access(_0x531757),!![];}catch{return![];}}function runNpmInstall(_0x1496ae,_0x5ccda7,_0x196813){const _0x4bd3a8={_0x4068c4:0xe3,_0xdeebe4:0x4b,_0x31f57d:0x1de,_0x1dfdf8:0xe0,_0x5a6760:0x315,_0x3c84ff:0x1e6,_0x11490b:0x241,_0x2a4ad8:0x17b};return new Promise(_0x3fd79a=>{const _0x11ab5b=spawn(_0x5b18a5(-0x13e,-0x7f,-_0x4bd3a8._0x4068c4,-_0x4bd3a8._0xdeebe4),[_0x5b18a5(-0x2e9,-0x180,-0x1c5,-0xb0),_0x3a6cb2(-0x8d,0x26,_0x4bd3a8._0x31f57d,_0x4bd3a8._0x1dfdf8),_0x1496ae,_0x5ccda7],{'env':_0x196813,'stdio':_0x3a6cb2(-0x1c6,-0x91,-_0x4bd3a8._0x5a6760,-_0x4bd3a8._0x3c84ff)});function _0x3a6cb2(_0x435037,_0x39254f,_0x842810,_0x3da821){return _0x4a14(_0x3da821- -0x3ae,_0x842810);}function _0x5b18a5(_0x377cf2,_0x35910c,_0x334508,_0x49c91e){return _0x4a14(_0x35910c- -0x35b,_0x49c91e);}_0x11ab5b['on']('error',()=>_0x3fd79a(![])),_0x11ab5b['on'](_0x3a6cb2(-0x286,-0x166,-_0x4bd3a8._0x11490b,-_0x4bd3a8._0x2a4ad8),_0x138d58=>_0x3fd79a(_0x138d58===0x0));});}function shouldDisableLspDownload(_0x3a8c6d=process['env']){const _0x48e59a={_0x5990c2:0x49b,_0xb1df1e:0x373,_0x378dfb:0x4f2,_0x166edc:0x58e},_0x453fd8={_0x4a6117:0x13d,_0x2f897a:0xec},_0x4398c0={_0x2a6e3a:0xaa,_0x346d03:0xbb};function _0x105909(_0xdf2c17,_0x366582,_0x4f7068,_0x3178e7){return _0x475ba1(_0x366582,_0x4f7068-0x267,_0x4f7068-_0x4398c0._0x2a6e3a,_0x3178e7-_0x4398c0._0x346d03);}function _0x5cc968(_0x3b8fb1,_0xc4103c,_0x2e85f2,_0x17f7c8){return _0x475ba1(_0x3b8fb1,_0x2e85f2-0x514,_0x2e85f2-_0x453fd8._0x4a6117,_0x17f7c8-_0x453fd8._0x2f897a);}const _0x35fc67=_0x3a8c6d[_0x5cc968(0x435,0x6af,0x5b2,_0x48e59a._0x5990c2)]?.[_0x105909(0x2fd,0x3d2,0x446,0x539)]();return _0x35fc67===_0x5cc968(0x5ac,_0x48e59a._0xb1df1e,_0x48e59a._0x378dfb,0x3b1)||_0x35fc67==='1'||_0x35fc67===_0x5cc968(0x433,0x623,_0x48e59a._0x166edc,0x59f)||_0x35fc67==='on';}function getLspPackageDir(_0x9dff9e){const _0x25e62e={_0x185986:0x1ba,_0x295d3a:0x170,_0x3046dd:0x1ce,_0x3674b2:0x1f7,_0x431736:0x15f,_0x1371e6:0x221,_0x15947b:0x147},_0x47b025={_0x2dfd15:0x128};function _0x49656e(_0x20dd1f,_0x4702db,_0x3d078d,_0x396b20){return _0x511d68(_0x20dd1f-_0x47b025._0x2dfd15,_0x20dd1f- -0x4d7,_0x3d078d-0xe0,_0x396b20);}function _0xd1a242(_0x383541,_0x5b4ef3,_0x59789b,_0x4fafae){return _0x475ba1(_0x4fafae,_0x59789b- -0x17,_0x59789b-0x12d,_0x4fafae-0x124);}return _0x24af4c['join'](_0x482b2d['homedir'](),_0xd1a242(_0x25e62e._0x185986,0x2dc,_0x25e62e._0x295d3a,_0x25e62e._0x3046dd),_0x49656e(0x1fb,_0x25e62e._0x3674b2,0x280,_0x25e62e._0x431736),_0x49656e(_0x25e62e._0x1371e6,_0x25e62e._0x15947b,0xca,0x352),sanitizePackageName(_0x9dff9e));}function getLspBinDir(_0xe3f788){const _0x3b1e2f={_0x386fb8:0x4dd,_0x2dee75:0x369},_0x4ce0b0={_0x18bd2c:0xcc},_0x49b509={_0x5e5743:0x165,_0x1ddb37:0x3d};function _0x42e664(_0x578bcf,_0x338269,_0x4df5e1,_0x58efbe){return _0x475ba1(_0x338269,_0x578bcf- -0x88,_0x4df5e1-_0x49b509._0x5e5743,_0x58efbe-_0x49b509._0x1ddb37);}function _0x4390da(_0x1341ef,_0x418bf7,_0x148280,_0x3463fd){return _0x475ba1(_0x418bf7,_0x3463fd-_0x4ce0b0._0x18bd2c,_0x148280-0x5a,_0x3463fd-0xa9);}return _0x24af4c[_0x42e664(0x221,0xe5,0x2d1,0x255)](getLspPackageDir(_0xe3f788),_0x4390da(_0x3b1e2f._0x386fb8,0x1e6,0x448,_0x3b1e2f._0x2dee75),'.bin');}async function findPackageBinary(_0x17532a,_0x26d3fd){const _0x50fd75={_0x3ff747:0x9,_0x4c4f57:0x9e,_0x1aaeab:0x53,_0x31f38e:0x7c6,_0x1d0b26:0x7da,_0x4c951f:0x6b8,_0x28ec13:0x759},_0x2d6ffa={_0x16c001:0x1c5},_0xcbb7b6={_0x28e3c0:0x529,_0x747474:0xce,_0xc29891:0x20};let _0x3edffc=_0x24af4c[_0x58f853(_0x50fd75._0x3ff747,-0x39,-_0x50fd75._0x4c4f57,_0x50fd75._0x1aaeab)](_0x26d3fd);function _0x4eb76a(_0x9be4d0,_0x3d39f4,_0x2c0719,_0xe38c19){return _0x475ba1(_0x2c0719,_0x3d39f4-_0xcbb7b6._0x28e3c0,_0x2c0719-_0xcbb7b6._0x747474,_0xe38c19-_0xcbb7b6._0xc29891);}const _0x22e3e3=binaryNameForPlatform(_0x17532a);function _0x58f853(_0x4ef492,_0x2e5426,_0x36f4cd,_0x4f5135){return _0x511d68(_0x4ef492-_0x2d6ffa._0x16c001,_0x36f4cd- -0x4b4,_0x36f4cd-0x137,_0x4ef492);}while(!![]){const _0x4b42bd=_0x24af4c['join'](_0x3edffc,_0x4eb76a(0x64b,_0x50fd75._0x31f38e,_0x50fd75._0x1d0b26,0x6f5),'.bin',_0x22e3e3);if(await exists(_0x4b42bd))return _0x4b42bd;const _0xefb4bd=_0x24af4c[_0x4eb76a(_0x50fd75._0x4c951f,_0x50fd75._0x28ec13,0x706,0x7ed)](_0x3edffc);if(_0xefb4bd===_0x3edffc)return void 0x0;_0x3edffc=_0xefb4bd;}}function _0x4a14(_0x45ffbf,_0x1b8f85){_0x45ffbf=_0x45ffbf-0x1b0;const _0x551f38=_0x551f();let _0x4a14fe=_0x551f38[_0x45ffbf];if(_0x4a14['SkTiAN']===undefined){var _0x5f742b=function(_0x5e9c05){const _0x406d2a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1f882c='',_0x321521='';for(let _0x4770d3=0x0,_0x3c9408,_0x482b2d,_0x24af4c=0x0;_0x482b2d=_0x5e9c05['charAt'](_0x24af4c++);~_0x482b2d&&(_0x3c9408=_0x4770d3%0x4?_0x3c9408*0x40+_0x482b2d:_0x482b2d,_0x4770d3++%0x4)?_0x1f882c+=String['fromCharCode'](0xff&_0x3c9408>>(-0x2*_0x4770d3&0x6)):0x0){_0x482b2d=_0x406d2a['indexOf'](_0x482b2d);}for(let _0x1a869a=0x0,_0x45659e=_0x1f882c['length'];_0x1a869a<_0x45659e;_0x1a869a++){_0x321521+='%'+('00'+_0x1f882c['charCodeAt'](_0x1a869a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x321521);};_0x4a14['hDorEw']=_0x5f742b,_0x4a14['flROLv']={},_0x4a14['SkTiAN']=!![];}const _0x1de0d7=_0x551f38[0x0],_0x4a9211=_0x45ffbf+_0x1de0d7,_0x209453=_0x4a14['flROLv'][_0x4a9211];return!_0x209453?(_0x4a14fe=_0x4a14['hDorEw'](_0x4a14fe),_0x4a14['flROLv'][_0x4a9211]=_0x4a14fe):_0x4a14fe=_0x209453,_0x4a14fe;}async function findPathBinary(_0x2269ac,_0x28dfb1){const _0x321417={_0x2fecca:0x6f6,_0x588a6b:0x57d,_0x5117c7:0x68e,_0x2f1902:0x6f7,_0x2180e6:0x655,_0x24b4ce:0x499,_0x2b427d:0x605,_0x41e207:0xc8,_0x12c3e3:0x102,_0xdf38be:0x141},_0x3baadd={_0x50a1a0:0x105,_0x3b72bb:0x176},_0x8339fc={_0x50a56b:0x152};function _0xce6f5(_0x28487e,_0x3888d6,_0x556860,_0x16c369){return _0x475ba1(_0x16c369,_0x28487e-0x56d,_0x556860-_0x8339fc._0x50a56b,_0x16c369-0x90);}const _0x2f9382=getLspBinDir(_0x28dfb1);function _0x4a53d4(_0x48e6e9,_0x2a4320,_0x5a92e0,_0x169792){return _0x475ba1(_0x169792,_0x5a92e0- -0x89,_0x5a92e0-_0x3baadd._0x50a1a0,_0x169792-_0x3baadd._0x3b72bb);}const _0x3d4355=[_0x2f9382,process[_0xce6f5(0x63b,_0x321417._0x2fecca,_0x321417._0x588a6b,0x4fc)][_0xce6f5(_0x321417._0x5117c7,_0x321417._0x2f1902,_0x321417._0x2180e6,0x62c)]][_0xce6f5(0x5ea,_0x321417._0x24b4ce,_0x321417._0x2b427d,0x5bc)](Boolean)['join'](_0x24af4c[_0x4a53d4(_0x321417._0x41e207,_0x321417._0x12c3e3,0x1ad,_0x321417._0xdf38be)]);try{return await _0x1a869a(_0x2269ac,{'path':_0x3d4355});}catch{return void 0x0;}}async function resolvePackageBinary(_0x1b81ec){const _0x7f5500={_0x246925:0x12e,_0x36c15b:0x1db,_0x43340f:0x6fe,_0xbfe8f6:0x5ff,_0x25f2ea:0x50a,_0x33a60c:0x32,_0x11f387:0x25d,_0x237eec:0x18d,_0x3b616c:0x112,_0x25cce8:0x15c,_0x3399d1:0x192,_0x57eced:0x128,_0x27875d:0x60c,_0x54a8bd:0x48c,_0x3019ce:0x88f,_0x1e0bc9:0x7b9,_0x5c87ed:0x821,_0x21f1ac:0x75d,_0x355528:0x5ec},_0x2b6a26={_0x53e465:0x48,_0x7e1aa7:0x116,_0x33d6bb:0xb4,_0x47951f:0x699,_0x4d170a:0x779,_0x1abc3a:0x7f7,_0x22c64d:0x803,_0x57539c:0x5c0,_0x4ca170:0x67d},_0xefd88b={_0x2485d6:0x4e9,_0x39daba:0xd8},_0x4d9ba4={_0x38f5da:0x163,_0x18183e:0xce,_0x5aee37:0x1c3},_0x58a6e4={_0x1a1d0f:0x44,_0x509bb7:0x3b},_0x330aef=_0x1b81ec[_0x32ec2b(0x349,_0x7f5500._0x246925,0x24f,_0x7f5500._0x36c15b)]??_0x1b81ec[_0xabf9ec(_0x7f5500._0x43340f,_0x7f5500._0xbfe8f6,0x601,_0x7f5500._0x25f2ea)],_0x3bb47f=await findPackageBinary(_0x330aef,_0x1b81ec[_0x32ec2b(0x15c,_0x7f5500._0x33a60c,0x1c5,0x8f)]);if(_0x3bb47f)return _0x3bb47f;function _0x32ec2b(_0x1e80b4,_0x5262c5,_0x44bb75,_0x3834b4){return _0x475ba1(_0x44bb75,_0x3834b4-_0x58a6e4._0x1a1d0f,_0x44bb75-0x68,_0x3834b4-_0x58a6e4._0x509bb7);}const _0x3e86a2=await findPathBinary(_0x330aef,_0x1b81ec['packageName']);function _0xabf9ec(_0x413563,_0x145969,_0x2ab382,_0x3b9380){return _0x511d68(_0x413563-_0x4d9ba4._0x38f5da,_0x145969-_0x4d9ba4._0x18183e,_0x2ab382-_0x4d9ba4._0x5aee37,_0x3b9380);}if(_0x3e86a2)return _0x3e86a2;const _0x253478=_0x1b81ec[_0x32ec2b(_0x7f5500._0x11f387,_0x7f5500._0x237eec,-0x29,_0x7f5500._0x3b616c)]??process['env'];if(shouldDisableLspDownload(_0x253478))return void 0x0;const _0x42e88b=getLspPackageDir(_0x1b81ec[_0x32ec2b(_0x7f5500._0x25cce8,-0x3c,_0x7f5500._0x3399d1,_0x7f5500._0x57eced)]),_0x4aead0=_0x1b81ec[_0xabf9ec(0x59b,_0x7f5500._0xbfe8f6,_0x7f5500._0x27875d,_0x7f5500._0x54a8bd)]+':'+_0x330aef;let _0x48b600=installPromises['get'](_0x4aead0);!_0x48b600&&(_0x48b600=((async()=>{function _0x39ae2f(_0x31dd85,_0x30062c,_0x71f819,_0x42a3d7){return _0xabf9ec(_0x31dd85-0x31,_0x30062c- -_0xefd88b._0x2485d6,_0x71f819-_0xefd88b._0x39daba,_0x31dd85);}await mkdir(_0x42e88b,{'recursive':!![]});function _0x2ea996(_0x3095dd,_0x25e765,_0x53c6c0,_0x44e372){return _0x32ec2b(_0x3095dd-0x1ab,_0x25e765-0x163,_0x44e372,_0x53c6c0-0x50a);}const _0x42df4b=await runNpmInstall(_0x42e88b,_0x1b81ec[_0x39ae2f(-_0x2b6a26._0x53e465,_0x2b6a26._0x7e1aa7,_0x2b6a26._0x33d6bb,0x141)],_0x253478);if(!_0x42df4b)return void 0x0;const _0x289ca0=_0x24af4c[_0x2ea996(_0x2b6a26._0x47951f,_0x2b6a26._0x4d170a,_0x2b6a26._0x1abc3a,_0x2b6a26._0x22c64d)](getLspBinDir(_0x1b81ec[_0x2ea996(_0x2b6a26._0x57539c,0x4b5,0x632,_0x2b6a26._0x4ca170)]),binaryNameForPlatform(_0x330aef));return await exists(_0x289ca0)?_0x289ca0:void 0x0;})()),installPromises[_0xabf9ec(_0x7f5500._0x3019ce,_0x7f5500._0x1e0bc9,0x8c3,0x6f6)](_0x4aead0,_0x48b600));try{return await _0x48b600;}catch{return void 0x0;}finally{installPromises[_0xabf9ec(_0x7f5500._0x5c87ed,_0x7f5500._0x21f1ac,0x6c0,_0x7f5500._0x355528)](_0x4aead0);}}var TYPESCRIPT_EXTENSIONS=[_0x475ba1(0x137,0x1a,-0xd5,-0x10b),_0x475ba1(0xf1,0xdf,0xe0,0xe3),_0x475ba1(0x6f,-0x30,0x52,0x68),_0x511d68(0x421,0x55b,0x3f4,0x3f4),_0x475ba1(0x268,0x2ad,0x420,0x26e),'.cjs',_0x511d68(0x5cb,0x4d0,0x588,0x49d),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x511d68(0x80b,0x689,0x7b3,0x652),_0x475ba1(0x9c,0x74,0x12b,0x69)],TYPESCRIPT_ROOT_MARKERS=[_0x511d68(0x317,0x49b,0x552,0x5a6),_0x511d68(0x3a9,0x4e6,0x3d8,0x62a),'bun.lock',_0x511d68(0x79e,0x687,0x725,0x59d),_0x511d68(0x6f8,0x6fe,0x668,0x833),'tsconfig.json','jsconfig.json',_0x511d68(0x4fb,0x4a4,0x34d,0x5c0)],BIOME_ROOT_MARKERS=[_0x475ba1(0x7f,0x82,-0xf7,-0x35),_0x511d68(0x4e2,0x48e,0x550,0x3c1),_0x475ba1(-0xda,0x4e,0x164,0x74),_0x475ba1(-0xa6,0x99,-0x84,0xb0),_0x511d68(0x66f,0x5b0,0x69d,0x509),_0x511d68(0x7e2,0x687,0x5bb,0x771),_0x511d68(0x611,0x6fe,0x618,0x757),_0x475ba1(0x193,0x57,-0x11f,0x19b)];async function exists2(_0x5ac77a){try{return await _0x4770d3(_0x5ac77a),!![];}catch{return![];}}async function findUp(_0x40bcf5,_0x3905e7){const _0x444765={_0x36b94b:0x675,_0x416a03:0x56d,_0x28177b:0x461,_0x167e97:0x5e5,_0x11d16c:0xe},_0xc98020={_0x4e981c:0x1b2},_0x581171={_0x22a4bb:0x27,_0x798659:0x6d};let _0x50a434=_0x3c9408['resolve'](_0x40bcf5);const _0x2c8bfb=_0x3c9408['extname'](_0x50a434);function _0x4e926a(_0x6de684,_0x545047,_0x35ee24,_0x41898b){return _0x475ba1(_0x6de684,_0x41898b- -0xcf,_0x35ee24-_0x581171._0x22a4bb,_0x41898b-_0x581171._0x798659);}function _0x6dd857(_0x31223b,_0x28dda0,_0x30d8d4,_0x4f758d){return _0x511d68(_0x31223b-0x3a,_0x4f758d- -0x98,_0x30d8d4-_0xc98020._0x4e981c,_0x30d8d4);}if(_0x2c8bfb)_0x50a434=_0x3c9408[_0x6dd857(_0x444765._0x36b94b,_0x444765._0x416a03,_0x444765._0x28177b,_0x444765._0x167e97)](_0x50a434);while(!![]){for(const _0x452df5 of _0x3905e7){if(await exists2(_0x3c9408['join'](_0x50a434,_0x452df5)))return _0x50a434;}const _0x180d56=_0x3c9408[_0x4e926a(_0x444765._0x11d16c,0x1de,0x2d8,0x161)](_0x50a434);if(_0x180d56===_0x50a434)return void 0x0;_0x50a434=_0x180d56;}}async function hasDenoRoot(_0x453cdb){const _0x4daf03={_0x36db51:0xa1,_0x26629c:0x895,_0x22fe63:0x69d,_0x3106b4:0x6ba},_0x2f22b1={_0x52896c:0x91},_0x459fb2={_0x203fb8:0x600};function _0x5b6da3(_0x22a70f,_0x490926,_0x185143,_0x25a416){return _0x511d68(_0x22a70f-0x186,_0x185143- -_0x459fb2._0x203fb8,_0x185143-0xa5,_0x25a416);}function _0x6279(_0x435081,_0x157d50,_0x49ce77,_0x5361db){return _0x511d68(_0x435081-0x13b,_0x435081-_0x2f22b1._0x52896c,_0x49ce77-0x11d,_0x49ce77);}return await exists2(_0x3c9408['join'](_0x453cdb,_0x5b6da3(_0x4daf03._0x36db51,-0x5b,0x71,-0x87)))||await exists2(_0x3c9408[_0x6279(0x787,0x726,0x707,_0x4daf03._0x26629c)](_0x453cdb,_0x6279(0x68c,0x566,_0x4daf03._0x22fe63,_0x4daf03._0x3106b4)));}async function resolveTsserverPath(_0x34008a){const _0x45fd85={_0x14c228:0x275,_0x599885:0x2f7,_0x3230f9:0x5b5,_0x1f4627:0x4a5,_0xcd4d0e:0x488,_0x18e5b1:0x1d5,_0x1b123f:0x2cd,_0x3d2cd0:0x491,_0x18a930:0x24c,_0xf0256a:0x39e,_0x1694cd:0x485,_0xefa2d3:0x39e,_0x4ec73a:0x3d6,_0x3ac5e6:0x39f,_0xefa9c6:0x37d,_0x51375d:0x439,_0x5eb1fb:0xfa,_0x369d48:0x21e,_0x4ec263:0x26a,_0x1f34cb:0x3cf},_0x14f930={_0x5659a4:0x10a},_0x1abcf1={_0x1cbdf8:0x1ca};let _0x5ac106=_0x3c9408['resolve'](_0x34008a);while(!![]){const _0x5a673c=_0x3c9408[_0x2b4f10(0x37d,0x28e,_0x45fd85._0x14c228,_0x45fd85._0x599885)](_0x5ac106,_0x205843(0x5aa,_0x45fd85._0x3230f9,_0x45fd85._0x1f4627,_0x45fd85._0xcd4d0e),_0x2b4f10(_0x45fd85._0x18e5b1,0x325,0x25c,_0x45fd85._0x1b123f),_0x205843(0x2bc,_0x45fd85._0x3d2cd0,0x3b8,0x49d),_0x205843(_0x45fd85._0x18a930,0x2ce,_0x45fd85._0xf0256a,_0x45fd85._0x1694cd));if(await exists2(_0x5a673c))return _0x5a673c;const _0x9b358f=_0x3c9408['dirname'](_0x5ac106);if(_0x9b358f===_0x5ac106)break;_0x5ac106=_0x9b358f;}const _0x3568f4=getLspPackageDir('typescript');function _0x205843(_0x215853,_0x5b0f26,_0x135989,_0x440c8e){return _0x475ba1(_0x5b0f26,_0x135989-0x208,_0x135989-_0x1abcf1._0x1cbdf8,_0x440c8e-0xd1);}function _0x2b4f10(_0x456796,_0x2ff98,_0x4fbfa6,_0xf723f8){return _0x511d68(_0x456796-_0x14f930._0x5659a4,_0x456796- -0x379,_0x4fbfa6-0x1,_0xf723f8);}const _0x4e5750=await resolvePackageBinary({'packageName':_0x205843(_0x45fd85._0xefa2d3,_0x45fd85._0x4ec73a,0x309,_0x45fd85._0x3ac5e6),'binaryName':'tsc','startDir':_0x34008a});if(!_0x4e5750)return void 0x0;const _0x258520=_0x3c9408[_0x2b4f10(_0x45fd85._0xefa9c6,0x203,0x426,_0x45fd85._0x51375d)](_0x3568f4,'node_modules',_0x2b4f10(_0x45fd85._0x18e5b1,0x2fa,_0x45fd85._0x5eb1fb,_0x45fd85._0x369d48),'lib',_0x2b4f10(_0x45fd85._0x4ec263,0x168,_0x45fd85._0x1f34cb,0x2fd));return await exists2(_0x258520)?_0x258520:void 0x0;}var TypeScriptServer={'id':_0x475ba1(0x14c,0x101,0x216,-0x1a),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x51db74){const _0x295d4b=await findUp(_0x51db74,TYPESCRIPT_ROOT_MARKERS);if(!_0x295d4b)return void 0x0;return await hasDenoRoot(_0x295d4b)?void 0x0:_0x295d4b;},async 'spawn'(_0x13f0a1){const _0x7c0853={_0x19394f:0x38c,_0x410546:0x4b5,_0x211628:0x432,_0x9ec0c4:0x61f,_0x45de4c:0x52d,_0x12cd5e:0x442,_0x54808c:0x2e1},_0x23e5fe={_0x480d5b:0x8d},_0x41cdf1={_0x4e0e11:0x148,_0x16e3b3:0xaf},_0x3aaa7f=await resolveTsserverPath(_0x13f0a1);function _0x1d3a41(_0x8a8d2a,_0x53f298,_0x2d3268,_0x58ca9d){return _0x511d68(_0x8a8d2a-_0x41cdf1._0x4e0e11,_0x53f298- -0x7f,_0x2d3268-_0x41cdf1._0x16e3b3,_0x2d3268);}if(!_0x3aaa7f)return void 0x0;const _0x3d11da=await resolvePackageBinary({'packageName':_0x1d3a41(_0x7c0853._0x19394f,_0x7c0853._0x410546,0x439,0x5c5),'binaryName':_0x1d3a41(_0x7c0853._0x211628,0x4b5,_0x7c0853._0x9ec0c4,_0x7c0853._0x45de4c),'startDir':_0x13f0a1});function _0x164b8e(_0x211271,_0x586c38,_0x4d3b19,_0x1da628){return _0x475ba1(_0x4d3b19,_0x1da628-_0x23e5fe._0x480d5b,_0x4d3b19-0xed,_0x1da628-0x146);}if(!_0x3d11da)return void 0x0;return{'process':_0x321521(_0x3d11da,[_0x1d3a41(_0x7c0853._0x12cd5e,0x3c1,0x35b,_0x7c0853._0x54808c)],{'cwd':_0x13f0a1,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x3aaa7f}}};}},BiomeServer={'id':_0x475ba1(0x128,-0xa,0x10e,0x117),'name':_0x475ba1(0xec,0x94,0x1fa,0x10),'extensions':BIOME_EXTENSIONS,async 'root'(_0x102a14){return findUp(_0x102a14,BIOME_ROOT_MARKERS);},async 'spawn'(_0x21444b){const _0xbaa57b={_0x46de94:0xb9,_0x532f6d:0x237,_0x5b799b:0x24,_0x5a7845:0x1fa,_0x1a8513:0x352,_0x2ee88f:0x173,_0x2cf9d8:0x41,_0x550cad:0x142,_0x1a97a0:0x16f},_0x12a92b={_0x55cb25:0x3ff},_0x2764cf={_0x64d9ed:0x102},_0x423769=await findPackageBinary('biome',_0x21444b)??await resolvePackageBinary({'packageName':_0x48d972(_0xbaa57b._0x46de94,0x83,_0xbaa57b._0x532f6d,_0xbaa57b._0x5b799b),'binaryName':_0x48d972(0x44,-0x9b,0x1b5,0x68),'startDir':_0x21444b});function _0x31f9b7(_0x321101,_0x5a54f3,_0x1a2450,_0x5b5ee9){return _0x475ba1(_0x5b5ee9,_0x1a2450-0x149,_0x1a2450-0x116,_0x5b5ee9-_0x2764cf._0x64d9ed);}function _0x48d972(_0x4d98c1,_0x169c04,_0x2c8c24,_0x34ec9a){return _0x511d68(_0x4d98c1-0x140,_0x4d98c1- -_0x12a92b._0x55cb25,_0x2c8c24-0x1c0,_0x34ec9a);}if(!_0x423769)return void 0x0;return{'process':_0x321521(_0x423769,[_0x48d972(_0xbaa57b._0x5a7845,0x25b,_0xbaa57b._0x1a8513,_0xbaa57b._0x2ee88f),_0x48d972(_0xbaa57b._0x2cf9d8,0xa0,_0xbaa57b._0x550cad,_0xbaa57b._0x1a97a0)],{'cwd':_0x21444b,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x594847){const _0x217032={_0x1c7d58:0x1a8,_0x131cd9:0x261,_0x530354:0x2f9,_0x2687dc:0xf2,_0x222937:0x197,_0x4ad9f5:0x17b},_0x360e5d={_0x429a0d:0xc4},_0x349f93={_0x5e262d:0x119},_0x2044fc=_0x3c9408[_0x3258a9(_0x217032._0x1c7d58,-0x40,0x10f,0x120)](_0x594847)[_0x1c897c(_0x217032._0x131cd9,0x442,_0x217032._0x530354,0x439)]();function _0x1c897c(_0x539fd4,_0x4becc0,_0xdbb065,_0x49f5cc){return _0x475ba1(_0x539fd4,_0xdbb065-0x11a,_0xdbb065-_0x349f93._0x5e262d,_0x49f5cc-0x138);}function _0x3258a9(_0x4bfb9b,_0x369cbb,_0x44a4f4,_0x1d8a61){return _0x475ba1(_0x1d8a61,_0x44a4f4- -_0x360e5d._0x429a0d,_0x44a4f4-0x1ca,_0x1d8a61-0x96);}return BUILTIN_LSP_SERVERS[_0x1c897c(_0x217032._0x2687dc,0x14,_0x217032._0x222937,_0x217032._0x4ad9f5)](_0x451920=>_0x451920['extensions'][_0x3258a9(-0x133,-0x1b9,-0x9a,-0xd9)](_0x2044fc));}function stateKey(_0x436418,_0x46e2d7){return _0x46e2d7+':'+_0x436418['id'];}function diagnosticsKeyToPath(_0x4dd2e4){const _0x222175={_0x530998:0x2e8,_0x5bc0da:0x1e1},_0x503759={_0x5980b1:0x2da,_0x5c8f2b:0x2e};function _0x562288(_0x5220fb,_0x92cdab,_0x267189,_0x291ba0){return _0x475ba1(_0x291ba0,_0x92cdab-_0x503759._0x5980b1,_0x267189-_0x503759._0x5c8f2b,_0x291ba0-0x28);}if(!_0x4dd2e4[_0x562288(0x2c4,0x31f,_0x222175._0x530998,_0x222175._0x5bc0da)]('file://'))return _0x4dd2e4;return fileURLToPath(_0x4dd2e4);}function nextFileVersion(_0x41741e,_0x35713a){const _0x4f0dce={_0x2e269b:0x320,_0x4e1493:0x381,_0x33baf9:0x31d,_0x22feef:0x242,_0x9c732e:0x20e,_0x3ac523:0x164,_0xe3ad80:0x156},_0x2eef3d={_0x3d19f2:0x539},_0x5799a5={_0x51aaf6:0x1dd,_0x451346:0x368},_0x271271=(_0x41741e[_0x5187c2(_0x4f0dce._0x2e269b,_0x4f0dce._0x4e1493,0x22b,_0x4f0dce._0x33baf9)][_0x5187c2(0x2ef,_0x4f0dce._0x22feef,_0x4f0dce._0x9c732e,0x119)](_0x35713a)??0x1)+0x1;function _0x5187c2(_0x403d5e,_0x2dd438,_0xd5809d,_0x30e867){return _0x511d68(_0x403d5e-_0x5799a5._0x51aaf6,_0xd5809d- -_0x5799a5._0x451346,_0xd5809d-0x10c,_0x30e867);}function _0x442a7f(_0x1342e0,_0x13b63c,_0x5ec821,_0x305dd1){return _0x475ba1(_0x13b63c,_0x1342e0-_0x2eef3d._0x3d19f2,_0x5ec821-0x19a,_0x305dd1-0x144);}return _0x41741e[_0x5187c2(_0x4f0dce._0x3ac523,0x2aa,0x22b,_0x4f0dce._0xe3ad80)]['set'](_0x35713a,_0x271271),_0x271271;}async function collectClientResults(_0x5ea9c0){const _0x4d8b6f={_0x3c1548:0x737,_0x442eeb:0x741,_0x3fbd90:0x659},_0x36f47a={_0x3801a2:0x2,_0x35c0ff:0xa2,_0x1d8a11:0x115};function _0x357a78(_0x4cd4dc,_0x3700a1,_0x1d4b98,_0x418f9d){return _0x511d68(_0x4cd4dc-0x6d,_0x1d4b98-0x179,_0x1d4b98-0xde,_0x4cd4dc);}const _0x2d3295=await Promise[_0x357a78(0x5e9,_0x4d8b6f._0x3c1548,0x723,0x7ca)](_0x5ea9c0);function _0xcaeab2(_0x3267f1,_0x3138a1,_0x592ca7,_0x4019da){return _0x511d68(_0x3267f1-_0x36f47a._0x3801a2,_0x4019da-_0x36f47a._0x35c0ff,_0x592ca7-_0x36f47a._0x1d8a11,_0x592ca7);}return _0x2d3295[_0x357a78(0x6f0,_0x4d8b6f._0x442eeb,_0x4d8b6f._0x3fbd90,0x67b)](_0x19fe1f=>_0x19fe1f[_0x357a78(0x6d6,0x635,0x777,0x8c2)]===_0xcaeab2(0x823,0x7d7,0x65b,0x6cd)?_0x19fe1f[_0x357a78(0x859,0x68b,0x72c,0x807)]:[]);}function createLspService(_0x4e105b={}){const _0x22bfc4={_0x13ea21:0x219,_0x11ea09:0xe8},_0xe026b5={_0x1c382a:0x361,_0x184da6:0x1e8,_0x10607c:0x9b,_0x39a7d4:0x27e,_0x158d28:0x1a7,_0x4639a7:0xbf,_0x5a23ed:0x18d,_0x50edd5:0x88,_0xe37380:0x12e,_0x34463d:0x48,_0x4df360:0x5d4,_0x112c0b:0x36,_0x18cf64:0x128,_0xa7640b:0xdc,_0x1c8711:0x1a8,_0xc36040:0x8b,_0x405f74:0x2ba,_0x1fbe61:0x26e,_0x212fa7:0x13f,_0x411bc5:0x62,_0x537cc9:0xf6},_0x1c7935={_0x29c68f:0x2b5,_0x22fa7c:0x36c,_0x49eefe:0x343},_0x1e2f80={_0x45495c:0x24d,_0x46d362:0x17d},_0x41cc50={_0x1f716d:0x41},_0x47e7b7={_0x4d7a62:0x475,_0x14f9cd:0x5b8},_0x305698={_0x2ce816:0x2cf},_0x26a2be={_0x5d6f33:0x627,_0x239875:0x4ec,_0xb58ff:0x72b},_0x196ba2={_0x53b515:0x2b0},_0x4eda17={_0x46ad68:0xc8},_0x35a3d4={_0x59d11c:0x115,_0x29ff21:0x264,_0x3d1eb4:0x29c,_0x13c2f9:0x118},_0x58efab={_0x202ced:0x9d},_0x4ebd82={_0x4276b0:0x42f,_0x421665:0x396,_0x228bbe:0x63a,_0x1b9d3e:0x42e,_0x2ae0d7:0x196,_0x227f3c:0x244},_0x5974a9={_0x4db870:0x6f7},_0x4dbe51={_0x2a9430:0xd9,_0x31dd6f:0xa,_0x51205f:0x127},_0x50356d={_0x4013ae:0x2e5,_0x12eb90:0xff},_0x153c74={_0x3a399a:0x3b9,_0x2d51ae:0x520},_0x4e9b4b={_0x5078fe:0x1d7,_0x2b768c:0x250,_0x1c7e78:0xf4,_0x316914:0xdc,_0x1aaf99:0x16a},_0x334fe3={_0x23f544:0x94},_0x2befa8={_0x7db4c8:0x3b0},_0x1e5c1c={_0x273146:0x28,_0x1a29d7:0x190},_0x4266ad={_0x2128bb:0x30a},_0x20e18e={_0x4998b7:0x560,_0x44bcb9:0x5f3,_0x3e56c1:0x658},_0xe98afb={_0x124e54:0x44,_0x4c2ce9:0x9f,_0x40aa5d:0xd7,_0x48b5ed:0xe,_0x599f80:0x10b,_0x47ec88:0x42,_0x239d4c:0x2c,_0x180a02:0xb0,_0x313bfe:0xd7,_0x4a40d2:0xae,_0x4ab4ad:0x9e,_0x4723d2:0x8,_0x1b4655:0x17f,_0x4f7442:0x260,_0x40c759:0x163,_0xd65451:0xee,_0x328380:0x46,_0x7ff1f6:0x8f,_0x5cc0dc:0xba},_0x4d6cb3={_0x3845b8:0x357},_0xaa3d1f={_0x173509:0x1ef,_0x290d44:0xa7,_0x6b1c35:0x2f2,_0x4f7099:0x4e3,_0x2a3e4e:0x3aa,_0x7e8dad:0x2b2,_0x15d30c:0x2ff,_0x1e3f74:0xd1,_0x191eb9:0x28c,_0x5a3794:0x88,_0x3e5b32:0xeb,_0x2b2f9d:0x4b,_0x56ac31:0x448,_0xb877c8:0x296,_0x4abb50:0x497,_0x1acace:0x31c},_0x403ab9={_0x19de04:0x157},_0x31ace1={_0x27e8f6:0x118,_0x2f2a0a:0x1c7,_0x5e5be8:0x7d,_0x593707:0x55,_0x119e61:0x719,_0x270dd9:0x7f1,_0x3241df:0x897,_0x3a8cbd:0x7fa,_0x44eff6:0x79d,_0x517088:0x60a,_0x1c5ff2:0x7e1,_0x5311da:0x283,_0x5bb79a:0xe4},_0x4ba4c0={_0x30d8bb:0x2a8,_0x4197ac:0x49f,_0x4c5220:0x328,_0x460257:0x3ef,_0x3f9bf7:0x38,_0x3bac5f:0x30,_0x6afb6d:0x7,_0x50bc1a:0xe8,_0x672eef:0x4de,_0x5177d6:0x334,_0x368f03:0x41f,_0x563f2c:0x585,_0x405ad2:0x2d1,_0x7df3f0:0x30,_0x3b540c:0xa2,_0x5be02d:0x27a,_0x5b82b8:0x12b,_0x40985c:0x117,_0x87c4f0:0xf1,_0xeba7b1:0x3f3,_0x520410:0x3e0,_0x454800:0x101,_0x2074fb:0x12c},_0x12d967={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x1a1459=()=>_0x4e105b['enabled']!==![];async function _0x48943a(_0x3fbc2b,_0x4903f9){const _0x304818={_0xeb8aa2:0x17f},_0x163e41={_0x1d6426:0x1ee},_0x3ebe62={_0x8ad340:0x264},_0x4464c3={_0x2bbdf2:0x2ff},_0x42dc9f=stateKey(_0x3fbc2b,_0x4903f9),_0x4b4474=_0x12d967[_0x5d7d0e(_0x31ace1._0x27e8f6,_0x31ace1._0x2f2a0a,_0x31ace1._0x5e5be8,_0x31ace1._0x593707)][_0x12a389(0x63c,0x872,_0x31ace1._0x119e61,_0x31ace1._0x270dd9)](_0x1e995d=>_0x1e995d[_0x5d7d0e(0x17a,0xbb,0x241,0x207)]===_0x3fbc2b['id']&&_0x1e995d['root']===_0x4903f9);if(_0x4b4474)return _0x4b4474;function _0x12a389(_0xc7b9ab,_0x216af2,_0x2af6bb,_0x542802){return _0x4a14(_0x2af6bb-_0x4464c3._0x2bbdf2,_0xc7b9ab);}function _0x5d7d0e(_0x540b0d,_0x46954e,_0x2b9f25,_0x1f23fb){return _0x4a14(_0x2b9f25- -_0x3ebe62._0x8ad340,_0x540b0d);}if(_0x12d967[_0x12a389(_0x31ace1._0x3241df,0x7f2,0x73b,_0x31ace1._0x3a8cbd)][_0x12a389(_0x31ace1._0x44eff6,_0x31ace1._0x517088,0x669,_0x31ace1._0x1c5ff2)](_0x42dc9f))return void 0x0;const _0x47c954=_0x12d967[_0x5d7d0e(_0x31ace1._0x5311da,0x24d,0x177,0x85)][_0x12a389(0x780,0x5ef,0x623,0x72a)](_0x42dc9f);if(_0x47c954)return _0x47c954;const _0x14be7a=((async()=>{function _0x58914e(_0x12549d,_0x3b13b5,_0x53a8be,_0x31c7c9){return _0x5d7d0e(_0x12549d,_0x3b13b5-0x96,_0x3b13b5- -0xad,_0x31c7c9-_0x163e41._0x1d6426);}function _0x561496(_0x293dd8,_0x5ed884,_0x521dcc,_0x49d51d){return _0x5d7d0e(_0x293dd8,_0x5ed884-_0x304818._0xeb8aa2,_0x521dcc-0x269,_0x49d51d-0x159);}try{const _0xb20498=await _0x3fbc2b['spawn'](_0x4903f9);if(!_0xb20498)return _0x12d967['broken'][_0x561496(_0x4ba4c0._0x30d8bb,_0x4ba4c0._0x4197ac,_0x4ba4c0._0x4c5220,_0x4ba4c0._0x460257)](_0x42dc9f),void 0x0;const _0x3096bc=await createLspClient({'server':_0x3fbc2b,'root':_0x4903f9,'handle':_0xb20498}),_0x321587=_0x12d967[_0x58914e(_0x4ba4c0._0x3f9bf7,-_0x4ba4c0._0x3bac5f,-_0x4ba4c0._0x6afb6d,-_0x4ba4c0._0x50bc1a)][_0x561496(_0x4ba4c0._0x672eef,_0x4ba4c0._0x5177d6,_0x4ba4c0._0x368f03,_0x4ba4c0._0x563f2c)](_0x2191a1=>_0x2191a1[_0x561496(0x33a,0x358,0x4aa,0x32c)]===_0x3fbc2b['id']&&_0x2191a1[_0x58914e(0x32,0xec,0x121,-0x92)]===_0x4903f9);if(_0x321587)return await _0x3096bc[_0x561496(0x368,_0x4ba4c0._0x405ad2,0x24c,0x145)](),_0x321587;return _0x12d967[_0x58914e(-0x61,-_0x4ba4c0._0x7df3f0,-0x144,_0x4ba4c0._0x3b540c)]['push'](_0x3096bc),_0x3096bc;}catch{return _0x12d967[_0x58914e(_0x4ba4c0._0x5be02d,_0x4ba4c0._0x5b82b8,0x21,_0x4ba4c0._0x40985c)][_0x58914e(-_0x4ba4c0._0x87c4f0,0x12,0x131,-0x41)](_0x42dc9f),void 0x0;}finally{_0x12d967[_0x561496(0x435,_0x4ba4c0._0xeba7b1,_0x4ba4c0._0x520410,0x3dc)][_0x58914e(_0x4ba4c0._0x454800,_0x4ba4c0._0x2074fb,0xf4,0xa1)](_0x42dc9f);}})());return _0x12d967[_0x5d7d0e(_0x31ace1._0x5bb79a,0x1df,0x177,0x26c)]['set'](_0x42dc9f,_0x14be7a),_0x14be7a;}async function _0x4726df(_0x48c9a5,_0x2cc3c5){const _0x5ef1a2={_0x22b502:0x24d};if(!_0x1a1459())return[];const _0x2f55b2=[];function _0xefaa9d(_0x572acf,_0x55d748,_0xda488b,_0x2a2c66){return _0x4a14(_0x572acf- -_0x5ef1a2._0x22b502,_0x55d748);}function _0x96c24(_0x2ade7b,_0x4ca509,_0x3b8e90,_0x1560c8){return _0x4a14(_0x1560c8-_0x403ab9._0x19de04,_0x2ade7b);}for(const _0x3b8a34 of getServersForFile(_0x48c9a5)){const _0x2336a8=await _0x3b8a34['root'](_0x48c9a5);if(!_0x2336a8)continue;const _0x13d4a5=stateKey(_0x3b8a34,_0x2336a8);if(_0x12d967[_0xefaa9d(_0xaa3d1f._0x173509,0x1d1,_0xaa3d1f._0x290d44,_0xaa3d1f._0x6b1c35)][_0x96c24(_0xaa3d1f._0x4f7099,0x57f,0x5ed,0x4c1)](_0x13d4a5))continue;const _0x171641=_0x12d967[_0x96c24(_0xaa3d1f._0x2a3e4e,_0xaa3d1f._0x7e8dad,_0xaa3d1f._0x15d30c,0x438)][_0xefaa9d(0x1cd,_0xaa3d1f._0x1e3f74,0x134,_0xaa3d1f._0x191eb9)](_0x1e1abf=>_0x1e1abf[_0xefaa9d(0x258,0x1ef,0x22e,0x196)]===_0x3b8a34['id']&&_0x1e1abf[_0x96c24(0x4eb,0x69a,0x415,0x554)]===_0x2336a8);if(_0x171641){_0x2f55b2[_0xefaa9d(-_0xaa3d1f._0x5a3794,-0xfe,-_0xaa3d1f._0x3e5b32,_0xaa3d1f._0x2b2f9d)](_0x171641);continue;}if(!_0x2cc3c5)continue;const _0x2bdd85=await _0x48943a(_0x3b8a34,_0x2336a8);if(_0x2bdd85)_0x2f55b2[_0x96c24(_0xaa3d1f._0x56ac31,_0xaa3d1f._0xb877c8,_0xaa3d1f._0x4abb50,_0xaa3d1f._0x1acace)](_0x2bdd85);}return _0x2f55b2;}async function _0x590a2a(_0x24798a,_0x59e57c=![]){const _0x598f1a={_0xca8893:0x74};function _0x19fc58(_0x3e33e4,_0x18fa4a,_0x34e064,_0x5effe4){return _0x4a14(_0x3e33e4-0x309,_0x18fa4a);}function _0x35e280(_0x3e7843,_0x46ae55,_0x525389,_0x1e4e9e){return _0x4a14(_0x525389-_0x4d6cb3._0x3845b8,_0x3e7843);}const _0xa93bbf=await _0x4726df(_0x24798a,!![]);await Promise[_0x19fc58(_0x20e18e._0x4998b7,0x69d,0x602,_0x20e18e._0x44bcb9)](_0xa93bbf[_0x35e280(0x60a,0x61c,_0x20e18e._0x3e56c1,0x56a)](async _0x5e4ebb=>{const _0x555faa={_0x1c795a:0x88};!_0x12d967[_0x1cc920(0x188,0xb2,0xf7,-0xae)][_0x1cc920(-0xee,_0xe98afb._0x124e54,0x90,-0x12b)](_0x5e4ebb[_0x1cc920(0x113,0x17f,0x217,_0xe98afb._0x4c2ce9)]+':'+_0x5e4ebb[_0x1cc920(0xda,_0xe98afb._0x40aa5d,-_0xe98afb._0x48b5ed,_0xe98afb._0x599f80)]+':'+_0x24798a)&&(await _0x5e4ebb[_0x1cc920(-_0xe98afb._0x47ec88,0x46,0x1aa,-0xf7)][_0x1cc920(_0xe98afb._0x239d4c,-0x3a,-0x151,-_0xe98afb._0x180a02)]({'path':_0x24798a}),_0x12d967[_0x4ca0cf(_0xe98afb._0x313bfe,_0xe98afb._0x4a40d2,_0xe98afb._0x4ab4ad,_0xe98afb._0x4723d2)]['add'](_0x5e4ebb[_0x1cc920(0xd3,_0xe98afb._0x1b4655,_0xe98afb._0x4f7442,0x2ee)]+':'+_0x5e4ebb[_0x4ca0cf(0x6f,_0xe98afb._0x40c759,0xc3,-0x8e)]+':'+_0x24798a));function _0x1cc920(_0x28d418,_0x4d526c,_0x722a84,_0xebb2de){return _0x35e280(_0xebb2de,_0x4d526c-0x61,_0x4d526c- -0x67d,_0xebb2de-_0x598f1a._0xca8893);}function _0x4ca0cf(_0x4d300e,_0x18b725,_0x254012,_0x22b177){return _0x19fc58(_0x254012- -0x643,_0x22b177,_0x254012-_0x555faa._0x1c795a,_0x22b177-0x79);}await _0x5e4ebb[_0x1cc920(_0xe98afb._0xd65451,_0xe98afb._0x328380,-_0xe98afb._0x7ff1f6,-0x12a)][_0x4ca0cf(-_0xe98afb._0x5cc0dc,-0x11a,-0x22,0x117)]({'path':_0x24798a,'version':nextFileVersion(_0x12d967,_0x24798a)});if(_0x59e57c)await _0x5e4ebb['waitForDiagnostics']({'path':_0x24798a});}));}async function _0x17086f(_0x300c90){function _0x187c33(_0x42a15c,_0x8bedc2,_0x1ff696,_0x3268f2){return _0x4a14(_0x1ff696- -_0x4266ad._0x2128bb,_0x3268f2);}await _0x590a2a(_0x300c90[_0x187c33(-_0x1e5c1c._0x273146,-0x72,0xd7,-0x61)],![]);function _0x3b524c(_0x27bc26,_0x14b228,_0x5dd922,_0x51a6c1){return _0x4a14(_0x5dd922-0xea,_0x51a6c1);}return _0x4726df(_0x300c90[_0x187c33(0x95,_0x1e5c1c._0x1a29d7,0xd7,0x255)],![]);}async function _0x2c6ad6(_0x557611){const _0x4272b1={_0x37e2c8:0x8a},_0x2e367b=await _0x17086f(_0x557611);function _0x115279(_0x1487b7,_0x3b2d09,_0xc9c590,_0x8c1e9){return _0x4a14(_0x1487b7-0x38e,_0x3b2d09);}function _0x230fea(_0x2fe52d,_0x416c7f,_0xf96e7f,_0xc9ce16){return _0x4a14(_0x416c7f- -_0x4272b1._0x37e2c8,_0xc9ce16);}return collectClientResults(_0x2e367b[_0x230fea(0x3fc,0x277,0x1f8,0x3af)](_0x3c3461=>_0x3c3461[_0x115279(0x75f,0x765,0x73b,0x6bf)][_0x115279(0x761,0x81e,0x6b4,0x735)](_0x557611)));}return{'isEnabled':_0x1a1459,async 'hasClients'(_0x127c03){function _0x3990d5(_0x33916b,_0xd59264,_0x3d4748,_0x228b77){return _0x4a14(_0x33916b- -_0x2befa8._0x7db4c8,_0x228b77);}function _0x2f6abb(_0x598af0,_0x47a635,_0x2a21c1,_0x2610ee){return _0x4a14(_0x47a635-_0x334fe3._0x23f544,_0x598af0);}return(await _0x4726df(_0x127c03,![]))[_0x3990d5(-0xf4,-_0x4e9b4b._0x5078fe,-_0x4e9b4b._0x2b768c,-0x1ac)]>0x0||getServersForFile(_0x127c03)[_0x3990d5(-_0x4e9b4b._0x1c7e78,-_0x4e9b4b._0x316914,-_0x4e9b4b._0x1aaf99,0x87)]>0x0;},'touchFile':_0x590a2a,async 'diagnostics'(){const _0x57da46={};function _0x2b577d(_0x2f1eef,_0x4e7203,_0x52b138,_0x13749d){return _0x4a14(_0x13749d-0x84,_0x4e7203);}for(const _0x14cf2f of _0x12d967['clients']){for(const [_0x16c602,_0x2b8778]of _0x14cf2f[_0x2b577d(0x3d5,_0x153c74._0x3a399a,0x54d,_0x153c74._0x2d51ae)]){_0x57da46[diagnosticsKeyToPath(_0x16c602)]=_0x2b8778;}}return _0x57da46;},async 'diagnosticsForFile'(_0x185caf){await _0x590a2a(_0x185caf,!![]);function _0x1da3b2(_0x3a0a9c,_0x5ca54a,_0x12035b,_0x1cf937){return _0x4a14(_0x3a0a9c- -0x247,_0x12035b);}const _0x1a73c0=[];for(const _0x1d446f of await _0x4726df(_0x185caf,![])){for(const [_0x268cbd,_0x2aee79]of _0x1d446f[_0x1da3b2(0x255,0x2b0,_0x50356d._0x4013ae,_0x50356d._0x12eb90)]){if(diagnosticsKeyToPath(_0x268cbd)===_0x185caf)_0x1a73c0['push'](..._0x2aee79);}}return _0x1a73c0;},async 'definition'(_0x4f52ca){const _0x4c7c65={_0x5c99b1:0x2f1};function _0x508290(_0x1dcc3b,_0x5a99f5,_0x4841fa,_0x168aae){return _0x4a14(_0x1dcc3b- -_0x4c7c65._0x5c99b1,_0x4841fa);}function _0x5e4eb3(_0x458978,_0x5f2165,_0x58f449,_0x54d8b5){return _0x4a14(_0x5f2165- -0x54,_0x458978);}return collectClientResults((await _0x17086f(_0x4f52ca))[_0x508290(0x10,_0x4dbe51._0x2a9430,-_0x4dbe51._0x31dd6f,-_0x4dbe51._0x51205f)](_0x3cc2d8=>_0x3cc2d8['request'][_0x508290(0xd7,-0xa6,0x1c1,-0xa0)](_0x4f52ca)));},async 'references'(_0x2cdd84){const _0x1c0d78={_0x3805da:0x3e4};function _0x5d8225(_0x5ce6a7,_0x12bc11,_0x5abbbf,_0x1a70df){return _0x4a14(_0x5ce6a7-_0x1c0d78._0x3805da,_0x12bc11);}function _0x3a8f29(_0x381c26,_0x2f91a9,_0x4c3d95,_0x381caf){return _0x4a14(_0x2f91a9-0xe8,_0x4c3d95);}return collectClientResults((await _0x17086f(_0x2cdd84))[_0x5d8225(0x6e5,_0x5974a9._0x4db870,0x579,0x77c)](_0x15fb70=>_0x15fb70[_0x5d8225(0x7b5,0x639,0x76e,0x6e3)]['references'](_0x2cdd84)));},async 'hover'(_0x2efd91){const _0x3bfa97={_0xad7c42:0x1be},_0x5189b3=await Promise[_0x2f8557(0x4f9,0x546,_0x4ebd82._0x4276b0,0x4cc)]((await _0x17086f(_0x2efd91))[_0x2f8557(_0x4ebd82._0x421665,0x4ef,_0x4ebd82._0x228bbe,_0x4ebd82._0x1b9d3e)](_0x13bef6=>_0x13bef6[_0x2f8557(0x563,0x5bf,0x4ec,0x475)][_0x21fc5c(0xcc,0x73,-0x11b,0x36)](_0x2efd91)));function _0x2f8557(_0x106412,_0x4165b9,_0x372ce0,_0x567d7d){return _0x4a14(_0x4165b9-0x1ee,_0x106412);}function _0x21fc5c(_0x40e5b8,_0x10af67,_0x499dd2,_0x2b0385){return _0x4a14(_0x2b0385- -_0x3bfa97._0xad7c42,_0x10af67);}return _0x5189b3[_0x21fc5c(_0x4ebd82._0x2ae0d7,0xd4,_0x4ebd82._0x227f3c,0xd0)](_0xcfb88f=>_0xcfb88f[_0x2f8557(0x6bf,0x59a,0x651,0x60a)]==='fulfilled'&&_0xcfb88f[_0x21fc5c(0x4b,0x2ec,0x2ad,0x1a3)]?[_0xcfb88f[_0x2f8557(0x5c1,0x54f,0x3d6,0x519)]]:[]);},async 'documentSymbol'(_0x373360){const _0x2631de={_0x5e161e:0xcf};await _0x590a2a(_0x373360,![]);function _0x5ccf67(_0x26b97f,_0x3db6d7,_0x579c47,_0x2db234){return _0x4a14(_0x3db6d7- -_0x58efab._0x202ced,_0x26b97f);}function _0x57ee11(_0x357884,_0x160bb0,_0x28a0f3,_0x3b271d){return _0x4a14(_0x28a0f3- -_0x2631de._0x5e161e,_0x3b271d);}return collectClientResults((await _0x4726df(_0x373360,![]))[_0x5ccf67(_0x35a3d4._0x59d11c,_0x35a3d4._0x29ff21,_0x35a3d4._0x3d1eb4,_0x35a3d4._0x13c2f9)](_0x369cc8=>_0x369cc8[_0x57ee11(0x1a5,0x371,0x302,0x35f)][_0x57ee11(0x35d,0x1ac,0x220,0x287)](_0x373360)));},async 'workspaceSymbol'(_0x476dc1){function _0x301524(_0x364156,_0x2e9735,_0x270737,_0x481dd3){return _0x4a14(_0x2e9735-_0x4eda17._0x46ad68,_0x364156);}function _0x1bf7a1(_0x425e64,_0x2a65e5,_0x1547d3,_0x1dfaea){return _0x4a14(_0x2a65e5-_0x196ba2._0x53b515,_0x1547d3);}return collectClientResults(_0x12d967[_0x301524(0x283,0x3a9,0x312,0x28d)][_0x1bf7a1(_0x26a2be._0x5d6f33,0x5b1,_0x26a2be._0x239875,_0x26a2be._0xb58ff)](_0x1cc242=>_0x1cc242[_0x1bf7a1(0x54b,0x681,0x786,0x7fa)]['workspaceSymbol'](_0x476dc1)));},async 'implementation'(_0x439271){const _0x169a89={_0x2bd1ba:0x2e6};function _0x93a573(_0x44b216,_0x34804a,_0x4b0591,_0x355305){return _0x4a14(_0x355305-_0x305698._0x2ce816,_0x4b0591);}function _0x4306b7(_0x5419f7,_0xf13491,_0x2a4110,_0x1c6029){return _0x4a14(_0x5419f7- -_0x169a89._0x2bd1ba,_0x2a4110);}return collectClientResults((await _0x17086f(_0x439271))[_0x93a573(0x603,_0x47e7b7._0x4d7a62,_0x47e7b7._0x14f9cd,0x5d0)](_0x3a1f42=>_0x3a1f42[_0x4306b7(0xeb,0x218,0x98,0x69)][_0x93a573(0x3e6,0x5b5,0x600,0x542)](_0x439271)));},async 'prepareCallHierarchy'(_0xdc98a6){return _0x2c6ad6(_0xdc98a6);},async 'incomingCalls'(_0x55a9f5){const _0xe479b5={_0x3a6f62:0x237};function _0x43256b(_0x26b3ee,_0x22561f,_0x188d8a,_0x23b35f){return _0x4a14(_0x22561f- -_0x41cc50._0x1f716d,_0x26b3ee);}function _0x19ef8d(_0x27a51a,_0xd40fa1,_0x51db01,_0x447417){return _0x4a14(_0x27a51a-_0xe479b5._0x3a6f62,_0xd40fa1);}const _0x743baa=await _0x2c6ad6(_0x55a9f5),_0x38b9a2=await _0x17086f(_0x55a9f5);return collectClientResults(_0x38b9a2[_0x43256b(0x344,_0x1e2f80._0x45495c,_0x1e2f80._0x46d362,0x289)](_0xebe5f0=>_0x743baa['map'](_0x454b02=>_0xebe5f0[_0x19ef8d(0x608,0x5db,0x6a1,0x4a4)][_0x43256b(0x243,0x2ec,0x39e,0x220)](_0x454b02))));},async 'outgoingCalls'(_0x3565cc){function _0x281c2e(_0x45d0e6,_0x483e98,_0x36554c,_0x5ae462){return _0x4a14(_0x45d0e6-0x70,_0x36554c);}function _0x313672(_0x38d38a,_0x3581f3,_0x38a6bc,_0x3f6288){return _0x4a14(_0x3f6288-0xb5,_0x38a6bc);}const _0x2c8ab6=await _0x2c6ad6(_0x3565cc),_0x228086=await _0x17086f(_0x3565cc);return collectClientResults(_0x228086[_0x313672(0x264,_0x1c7935._0x29c68f,_0x1c7935._0x22fa7c,_0x1c7935._0x49eefe)](_0x1d9d1a=>_0x2c8ab6[_0x281c2e(0x371,0x344,0x470,0x471)](_0x410e19=>_0x1d9d1a[_0x313672(0x314,0x316,0x551,0x486)]['outgoingCalls'](_0x410e19))));},async 'shutdown'(){const _0x47da60={_0x494388:0x2c2};if(_0x12d967[_0x328242(0x227,_0xe026b5._0x1c382a,0x1d9,_0xe026b5._0x184da6)])return;_0x12d967[_0x328242(_0xe026b5._0x10607c,0x80,_0xe026b5._0x39a7d4,0x1e8)]=!![],await Promise[_0x328242(_0xe026b5._0x158d28,0x34,0x214,_0xe026b5._0x4639a7)](_0x12d967[_0x328242(_0xe026b5._0x5a23ed,0x176,-_0xe026b5._0x50edd5,0x48)][_0x328242(-0x35,_0xe026b5._0xe37380,-0x82,0x68)](_0x5b8601=>_0x5b8601[_0x2df986(0x500,0x509,0x3ba,0x441)]())),_0x12d967[_0x328242(-0xff,0xf5,-0xc2,_0xe026b5._0x34463d)]=[],_0x12d967['spawning'][_0x2df986(0x78b,0x637,_0xe026b5._0x4df360,0x6cd)]();function _0x328242(_0x46661f,_0x22b1eb,_0x3c01c7,_0x4ff2da){return _0x4a14(_0x4ff2da- -0x299,_0x46661f);}function _0x2df986(_0x3a3075,_0x127089,_0x29f94f,_0x42669a){return _0x4a14(_0x127089-_0x47da60._0x494388,_0x29f94f);}_0x12d967['broken'][_0x328242(_0xe026b5._0x112c0b,_0xe026b5._0x18cf64,0x6,_0xe026b5._0xa7640b)](),_0x12d967[_0x328242(0x132,_0xe026b5._0x1c8711,_0xe026b5._0xc36040,0xa8)]['clear'](),_0x12d967[_0x328242(_0xe026b5._0x405f74,0x221,_0xe026b5._0x1fbe61,_0xe026b5._0x212fa7)][_0x328242(-_0xe026b5._0x411bc5,_0xe026b5._0x537cc9,0x1d9,_0xe026b5._0xa7640b)]();},'status'(){function _0x1fcdd5(_0x4dfcbf,_0x2dd567,_0x14e7c8,_0x771c6e){return _0x4a14(_0x14e7c8- -0xc8,_0x2dd567);}return{'connectedClients':_0x12d967[_0x1fcdd5(0x36f,0x354,_0x22bfc4._0x13ea21,_0x22bfc4._0x11ea09)]['length']};}};}function createQuestionId(){const _0x5c4b1a={_0x5e288c:0x49a,_0x1ebba7:0x49c,_0x5df24d:0x5eb,_0x4b3625:0x465,_0x40324b:0x375,_0xdbc8d6:0x43e,_0x308052:0x344,_0x416c31:0x460,_0x25e30d:0x532},_0x4c1a98={_0x2c15bc:0x90},_0x5501a8={_0x2b23d3:0x15,_0x554174:0xde};function _0x5b118f(_0x1a332c,_0x4bc243,_0x3f37e1,_0x1ffa12){return _0x511d68(_0x1a332c-0x1c9,_0x4bc243-_0x5501a8._0x2b23d3,_0x3f37e1-_0x5501a8._0x554174,_0x3f37e1);}function _0x67aa73(_0x4f3a67,_0xa7cc8c,_0x5d9bbb,_0x4be4d8){return _0x511d68(_0x4f3a67-_0x4c1a98._0x2c15bc,_0x5d9bbb- -0x139,_0x5d9bbb-0xa9,_0xa7cc8c);}return _0x5b118f(0x645,0x581,_0x5c4b1a._0x5e288c,0x476)+Date[_0x5b118f(_0x5c4b1a._0x1ebba7,0x5f6,0x76a,0x4c6)]()+'-'+Math[_0x5b118f(_0x5c4b1a._0x5df24d,_0x5c4b1a._0x4b3625,_0x5c4b1a._0x40324b,_0x5c4b1a._0xdbc8d6)]()[_0x67aa73(0x34c,_0x5c4b1a._0x308052,_0x5c4b1a._0x416c31,_0x5c4b1a._0x25e30d)](0x24)['slice'](0x2,0x9);}function validateInput(_0x5b28ea){const _0x10fde1={_0x2fabf4:0x187,_0x5cf43f:0x42d,_0xd975d6:0x308,_0x51891b:0x3c5,_0x1a1af9:0x2f9,_0x3bab8f:0x3c5,_0x49449:0x23c,_0x55bb36:0x2a1,_0x2dcf26:0x2cf,_0x4148b2:0x279,_0x46a4c3:0x47f,_0xea8020:0x506,_0x2209fa:0x3bb,_0x2c2b43:0x317,_0x436100:0x36c,_0x5488e3:0x2f9,_0x30f446:0x2a2,_0x5a0fdf:0x49e,_0x3222d6:0x460,_0x2393d2:0x392,_0x4c8335:0x27c,_0x1a6e3f:0x306,_0x3860dc:0x397,_0x4cdfd3:0xad,_0xe01e8e:0x1a4,_0x22a4f0:0xc1,_0x4dad06:0x1e7,_0x4c1dd0:0x37a,_0x1e5d0e:0x28a,_0x2ca5d6:0x459,_0x3f6b1f:0x32b,_0x2c4b9e:0x30f,_0xa2b416:0x397,_0x5866f9:0x273,_0x140c72:0x8a,_0x592335:0x467,_0x749d2:0x529,_0x4bf208:0x436,_0x36fc8c:0x2db,_0x49be7a:0x2b9,_0x79c6e6:0x1c0,_0x386054:0x439,_0xad34b2:0x480,_0x5272c7:0x467,_0x506c55:0x5e2,_0x1dc5dc:0x3c8,_0x4e0feb:0x39d,_0x14688c:0x532,_0xa7eb8f:0x316,_0x5edf47:0x438,_0x2bdbc7:0x2d7,_0x2aa95b:0x204,_0x50e213:0x28e,_0x536527:0x204,_0x3d9a9f:0x23d,_0x523a06:0x1ac,_0x3b9213:0xf4,_0x3ac8a7:0x357,_0x369131:0x448,_0x19c027:0x35d,_0x4224fc:0x2da,_0x46fcab:0x3d4,_0x1b9591:0x268,_0x51353f:0x2e7,_0xfbd048:0x40c,_0x21b794:0x3ac,_0x2b7c99:0x31e,_0x132811:0x500,_0x587299:0x2b8,_0x2f6379:0x6a3,_0x991100:0x4cf,_0x46d9cd:0x3fd},_0x444ed7={_0x33aae3:0x171,_0x7bb5c8:0x175},_0x3bd84e={_0x21c27b:0x1,_0x521def:0x169};function _0x4e5c82(_0x171edd,_0x1c93ff,_0x34c991,_0xb052bf){return _0x475ba1(_0x171edd,_0xb052bf-0xff,_0x34c991-_0x3bd84e._0x21c27b,_0xb052bf-_0x3bd84e._0x521def);}function _0x165c78(_0x2e5f27,_0x19addb,_0xa6213c,_0x2b1770){return _0x511d68(_0x2e5f27-0xca,_0x2e5f27- -_0x444ed7._0x33aae3,_0xa6213c-_0x444ed7._0x7bb5c8,_0x2b1770);}if(!Array[_0x4e5c82(_0x10fde1._0x2fabf4,0x2e1,0x12a,0x1eb)](_0x5b28ea['questions'])||_0x5b28ea['questions'][_0x165c78(0x39d,_0x10fde1._0x5cf43f,_0x10fde1._0xd975d6,_0x10fde1._0x51891b)]<0x1||_0x5b28ea[_0x165c78(_0x10fde1._0x1a1af9,_0x10fde1._0x3bab8f,_0x10fde1._0x49449,0x325)][_0x165c78(0x39d,_0x10fde1._0x55bb36,_0x10fde1._0x2dcf26,_0x10fde1._0x4148b2)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x165c78(0x4eb,_0x10fde1._0x46a4c3,0x3e7,_0x10fde1._0xea8020)});for(let _0x4780fb=0x0;_0x4780fb<_0x5b28ea[_0x165c78(0x2f9,0x2c0,0x3f7,0x43e)][_0x165c78(0x39d,_0x10fde1._0x2209fa,_0x10fde1._0x2c2b43,_0x10fde1._0x436100)];_0x4780fb+=0x1){const _0x5ea323=_0x5b28ea[_0x165c78(_0x10fde1._0x5488e3,_0x10fde1._0x30f446,0x344,0x2c2)][_0x4780fb];if(!_0x5ea323[_0x165c78(0x3bc,_0x10fde1._0x5a0fdf,0x49e,0x26c)]||typeof _0x5ea323[_0x165c78(0x3bc,_0x10fde1._0x3222d6,0x2b3,_0x10fde1._0x2393d2)]!==_0x4e5c82(0x2d4,0x3a4,0x1b8,_0x10fde1._0x4c8335))throw new ToolExecutionError(_0x4e5c82(0x3dc,_0x10fde1._0x1a6e3f,0x2f6,_0x10fde1._0x3860dc)+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x4cdfd3,_0x10fde1._0xe01e8e,-0x8d,_0x10fde1._0x22a4f0));if(!_0x5ea323[_0x4e5c82(_0x10fde1._0x4dad06,_0x10fde1._0x4c1dd0,0x3a0,_0x10fde1._0x1e5d0e)]||typeof _0x5ea323['topic']!==_0x165c78(_0x10fde1._0x2ca5d6,0x4df,0x432,_0x10fde1._0x3f6b1f))throw new ToolExecutionError(_0x4e5c82(0x31a,_0x10fde1._0x2c4b9e,0x37c,_0x10fde1._0xa2b416)+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x5866f9,0x2ea,_0x10fde1._0x140c72,0x1bf));if(_0x5ea323[_0x165c78(_0x10fde1._0x592335,_0x10fde1._0x749d2,_0x10fde1._0x4bf208,0x3cb)][_0x4e5c82(_0x10fde1._0x36fc8c,0x21a,_0x10fde1._0x49be7a,_0x10fde1._0x79c6e6)]>0x1e)throw new ToolExecutionError(_0x4e5c82(0x237,_0x10fde1._0x386054,_0x10fde1._0xad34b2,0x397)+(_0x4780fb+0x1)+':\x20\x22topic\x22\x20must\x20be\x20max\x2030\x20characters,\x20got\x20'+_0x5ea323[_0x165c78(_0x10fde1._0x5272c7,_0x10fde1._0x506c55,0x5b3,_0x10fde1._0x1dc5dc)][_0x165c78(_0x10fde1._0x4e0feb,0x39c,0x51e,0x259)]);if(!Array[_0x165c78(0x3c8,_0x10fde1._0x14688c,_0x10fde1._0xa7eb8f,_0x10fde1._0x5edf47)](_0x5ea323[_0x4e5c82(0x18a,0x2d5,_0x10fde1._0x2bdbc7,_0x10fde1._0x2aa95b)])||_0x5ea323[_0x4e5c82(0x113,_0x10fde1._0x50e213,0x285,_0x10fde1._0x536527)]['length']<0x2||_0x5ea323[_0x4e5c82(_0x10fde1._0x3d9a9f,_0x10fde1._0x523a06,_0x10fde1._0x3b9213,0x204)][_0x165c78(_0x10fde1._0x4e0feb,0x398,_0x10fde1._0x3ac8a7,0x2a4)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x4780fb+0x1)+_0x4e5c82(_0x10fde1._0x369131,0x1d8,0x3df,_0x10fde1._0x19c027));for(let _0x3eb3cb=0x0;_0x3eb3cb<_0x5ea323[_0x165c78(0x3e1,_0x10fde1._0x4224fc,0x3ac,_0x10fde1._0x46fcab)][_0x165c78(0x39d,0x2a2,0x2a5,0x3f3)];_0x3eb3cb+=0x1){const _0x4fd715=_0x5ea323[_0x4e5c82(0x158,_0x10fde1._0x1b9591,_0x10fde1._0x51353f,0x204)][_0x3eb3cb];if(!_0x4fd715[_0x4e5c82(_0x10fde1._0xfbd048,0x4a3,_0x10fde1._0x3bab8f,0x349)]||!_0x4fd715[_0x165c78(0x300,0x319,_0x10fde1._0x21b794,0x1d4)])throw new ToolExecutionError('Question\x20'+(_0x4780fb+0x1)+_0x165c78(0x34c,0x302,0x2f7,0x385)+(_0x3eb3cb+0x1)+_0x165c78(0x2dc,_0x10fde1._0x2b7c99,0x1b7,0x162));}if(typeof _0x5ea323[_0x165c78(0x54b,_0x10fde1._0x132811,0x56e,0x6b3)]!==_0x4e5c82(0x140,0x1bd,0x18f,_0x10fde1._0x587299))throw new ToolExecutionError(_0x165c78(0x574,0x465,_0x10fde1._0x2f6379,_0x10fde1._0x991100)+(_0x4780fb+0x1)+_0x165c78(0x3a2,_0x10fde1._0x46d9cd,0x33a,0x515));}}function buildQuestions(_0x1d9aa7){const _0x25d086={_0x5a5a30:0x437,_0x103342:0x2a4,_0x529f08:0x13,_0x3a0fd1:0xf9},_0xa7b2ff={_0x132569:0x1d7,_0x4c03f1:0x41d,_0x1174d0:0x116},_0x158946={_0x124dcb:0x512,_0x2e5caf:0xfa};function _0x9a6df3(_0x2362c0,_0x3c11c5,_0x3984be,_0x2114b7){return _0x475ba1(_0x2114b7,_0x3984be-_0x158946._0x124dcb,_0x3984be-_0x158946._0x2e5caf,_0x2114b7-0x8a);}function _0x3125f1(_0x362071,_0x246d8a,_0x3e1a7f,_0x2c674b){return _0x511d68(_0x362071-_0xa7b2ff._0x132569,_0x3e1a7f- -_0xa7b2ff._0x4c03f1,_0x3e1a7f-_0xa7b2ff._0x1174d0,_0x246d8a);}return _0x1d9aa7[_0x9a6df3(_0x25d086._0x5a5a30,0x3c3,0x52f,0x55f)][_0x3125f1(_0x25d086._0x103342,_0x25d086._0x529f08,0x136,_0x25d086._0x3a0fd1)]((_0x45b44b,_0x21307f)=>({'id':'q'+_0x21307f,'question':_0x45b44b['question'],'topic':_0x45b44b[_0x3125f1(0x103,0x13f,0x1bb,0x9f)],'options':_0x45b44b[_0x3125f1(0x227,0x1df,0x135,0x0)],'multiSelect':_0x45b44b[_0x9a6df3(0x828,0x725,0x781,0x740)]}));}function createResult(_0x41b1d6,_0x51898e,_0x30736b){const _0x115617={_0x21f43c:0x6f1,_0x1d1307:0x537,_0x4fac66:0x634},_0x36ca62={_0x1c449c:0x122,_0x358757:0x135},_0x56aedb={'questionId':_0x41b1d6,'questionCount':_0x51898e,'answers':_0x30736b};function _0x144a0c(_0x296d16,_0x3d507,_0x1c4684,_0x57045b){return _0x511d68(_0x296d16-_0x36ca62._0x1c449c,_0x57045b-_0x36ca62._0x358757,_0x1c4684-0x79,_0x3d507);}return createToolOutput(_0x144a0c(0x610,_0x115617._0x21f43c,_0x115617._0x1d1307,_0x115617._0x4fac66)+JSON['stringify'](_0x30736b,null,0x2),_0x56aedb);}function createAskUserTool(){const _0x500119={_0x3d3e37:0x49e,_0x41eed2:0x5c2,_0x1c15bd:0x386,_0x440519:0x235,_0x17165b:0x559,_0x104bea:0x442,_0x954cbb:0x668,_0xf8b901:0x250,_0x5908e8:0x109,_0x463030:0x1d7,_0x2f0d53:0x235,_0x69a16d:0x6fa,_0x4f52da:0x175,_0x1b8a63:0x271,_0x5c4a18:0x324,_0x3a0189:0x1c8,_0xaf530e:0x198,_0x1108da:0x243,_0x3ac5df:0x1c7,_0x766e49:0xff},_0x47ff8c={_0x5dcf20:0x8b,_0x31c51c:0x2f,_0x42bb8a:0x7b,_0x1e1658:0xaa,_0x3a409b:0x5e,_0x2bd136:0xc7,_0x136c25:0x1a4,_0x45fbcd:0xd0,_0x38fe37:0x3d,_0x38422b:0x50,_0x1d2c1e:0x2f,_0x325387:0x16e,_0x223958:0x18f,_0x24ef06:0x10,_0x26b143:0x15c,_0x5d4644:0x67,_0x5a2e5f:0x137,_0x4c8af6:0x154,_0x49b2c6:0x254,_0x3ab729:0x179,_0x2ba382:0x94,_0x11ad3e:0x6d,_0x59e305:0x51,_0x2f9a47:0xdd},_0x510525={_0x4e78f5:0x1f1,_0x5d0add:0x484},_0x5d4b2e={_0x293d03:0xb8,_0x370050:0x15d,_0x518ee6:0x174},_0x266f6d={_0x41163c:0x1d};function _0x1cebf9(_0x4b509c,_0x350de0,_0x548c68,_0x21c351){return _0x511d68(_0x4b509c-0x121,_0x548c68- -_0x266f6d._0x41163c,_0x548c68-0x1b4,_0x4b509c);}function _0x2710e2(_0x28e126,_0x4bfc27,_0x48d7bb,_0x23d39a){return _0x475ba1(_0x23d39a,_0x4bfc27-_0x5d4b2e._0x293d03,_0x48d7bb-_0x5d4b2e._0x370050,_0x23d39a-_0x5d4b2e._0x518ee6);}return defineTool({'name':'AskUserTool','description':_0x1cebf9(_0x500119._0x3d3e37,0x59b,0x4b7,_0x500119._0x41eed2),'inputSchema':{'type':'object','properties':{'questions':{'type':'array','items':{'type':'object','properties':{'question':{'type':_0x2710e2(_0x500119._0x1c15bd,_0x500119._0x440519,0x337,0x3a8)},'topic':{'type':_0x1cebf9(_0x500119._0x17165b,_0x500119._0x104bea,0x5ad,_0x500119._0x954cbb)},'options':{'type':_0x2710e2(0x38c,_0x500119._0xf8b901,_0x500119._0x5908e8,0x379),'items':{'type':'object','properties':{'label':{'type':_0x2710e2(_0x500119._0x463030,_0x500119._0x2f0d53,0x258,0x127)},'description':{'type':'string'}},'required':[_0x1cebf9(0x591,_0x500119._0x69a16d,0x67a,0x538),_0x2710e2(0x36,0xdc,0x146,0x25)]}},'multiSelect':{'type':_0x2710e2(_0x500119._0x4f52da,_0x500119._0x1b8a63,_0x500119._0x5c4a18,_0x500119._0x3a0189)}},'required':[_0x2710e2(0x2c4,_0x500119._0xaf530e,0x142,0x98),_0x2710e2(0x2c5,_0x500119._0x1108da,_0x500119._0x3ac5df,0x2a2),_0x2710e2(0x116,0x1bd,0x1de,0x1ae),'multiSelect']}},'answers':{'type':_0x2710e2(0x1bc,0x27e,0x38b,_0x500119._0x766e49),'properties':{}}},'required':['questions']},async *'execute'(_0x56e0d6,_0x4e1c44){const _0x519b28={_0x587f30:0x11b,_0x27b369:0x16};function _0x159814(_0x1aac5d,_0x3c36c7,_0x16b4c5,_0x5de037){return _0x2710e2(_0x1aac5d-0x108,_0x3c36c7- -_0x519b28._0x587f30,_0x16b4c5-_0x519b28._0x27b369,_0x16b4c5);}const _0x35bd59=_0x56e0d6;validateInput(_0x35bd59);const _0x2c288d=_0x4e1c44[_0x159814(_0x47ff8c._0x5dcf20,0xe5,0x157,-0x86)]??createQuestionId();if(_0x35bd59[_0x159814(0xa5,-_0x47ff8c._0x31c51c,-0x67,0x9f)]&&Object['keys'](_0x35bd59[_0x159814(_0x47ff8c._0x42bb8a,-0x2f,_0x47ff8c._0x1e1658,-0x16e)])[_0x159814(0x150,_0x47ff8c._0x3a409b,_0x47ff8c._0x2bd136,_0x47ff8c._0x136c25)]>0x0)return createResult(_0x2c288d,_0x35bd59['questions'][_0x159814(-_0x47ff8c._0x45fbcd,_0x47ff8c._0x3a409b,-_0x47ff8c._0x38fe37,_0x47ff8c._0x38422b)],_0x35bd59[_0x159814(0x88,-_0x47ff8c._0x1d2c1e,-_0x47ff8c._0x325387,-_0x47ff8c._0x223958)]);if(!_0x4e1c44[_0xe47741(_0x47ff8c._0x24ef06,-_0x47ff8c._0x26b143,_0x47ff8c._0x5d4644,-_0x47ff8c._0x5a2e5f)])throw new ToolExecutionError(_0x159814(0x297,_0x47ff8c._0x4c8af6,_0x47ff8c._0x49b2c6,_0x47ff8c._0x3ab729));const _0x341231=buildQuestions(_0x35bd59),_0x2d9e95=await _0x4e1c44[_0x159814(-0xdb,0x1,_0x47ff8c._0x2ba382,-0x112)]({'questionId':_0x2c288d,'questions':_0x341231});function _0xe47741(_0x19b201,_0x9bb0a1,_0x436803,_0x29521c){return _0x1cebf9(_0x436803,_0x9bb0a1-_0x510525._0x4e78f5,_0x19b201- -_0x510525._0x5d0add,_0x29521c-0x17f);}yield createResult(_0x2c288d,_0x35bd59['questions'][_0xe47741(_0x47ff8c._0x11ad3e,-_0x47ff8c._0x59e305,-0x89,-_0x47ff8c._0x2f9a47)],_0x2d9e95);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x45659e}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x4e6b8c){return _0x4e6b8c instanceof Error;}function resolveCarriageReturns(_0x270306){const _0x1b7fe1={_0x51c5b7:0x3d3,_0x17d1a8:0x5e3,_0x4dc1e1:0x425,_0x85f005:0x2f7},_0x387540={_0x22aa36:0x153,_0x4bcd12:0x74,_0x523dc1:0x137,_0x16e36a:0x433,_0x47f81f:0x58,_0x6e0fb:0x23,_0x20910e:0x171},_0x238fe8={_0x519756:0x163},_0x5d9c72={_0x9e94d3:0x21};function _0x207652(_0x4bc4f4,_0xb73948,_0x3bf4bb,_0x441fe0){return _0x511d68(_0x4bc4f4-0x137,_0x441fe0- -0x6a,_0x3bf4bb-_0x5d9c72._0x9e94d3,_0x4bc4f4);}function _0x3f9749(_0x212ba5,_0x3b4d5a,_0x957a74,_0x275a3c){return _0x475ba1(_0x957a74,_0x212ba5-0x2a0,_0x957a74-_0x238fe8._0x519756,_0x275a3c-0x64);}return _0x270306[_0x3f9749(0x4d5,_0x1b7fe1._0x51c5b7,_0x1b7fe1._0x17d1a8,_0x1b7fe1._0x4dc1e1)]('\x0a')[_0x3f9749(0x3a6,0x367,0x3a3,_0x1b7fe1._0x85f005)](_0x2f3219=>{const _0x207de1={_0x3084f0:0x111,_0x51d6b6:0x159},_0x247dec={_0x446fe7:0x19c,_0x40920e:0x3,_0x2c6d00:0x1ff};function _0x1095d3(_0x2c95b0,_0xd337f0,_0x38b691,_0x17bb27){return _0x207652(_0xd337f0,_0xd337f0-_0x247dec._0x446fe7,_0x38b691-_0x247dec._0x40920e,_0x2c95b0- -_0x247dec._0x2c6d00);}if(!_0x2f3219[_0x12a3bd(-0x125,-_0x387540._0x22aa36,-_0x387540._0x4bcd12,-_0x387540._0x523dc1)]('\x0d'))return _0x2f3219;const _0x4a7dbe=_0x2f3219[_0x1095d3(0x419,0x3eb,_0x387540._0x16e36a,0x4fe)]('\x0d');function _0x12a3bd(_0x2d1348,_0x94502d,_0x3bf81f,_0x466517){return _0x207652(_0x2d1348,_0x94502d-_0x207de1._0x3084f0,_0x3bf81f-_0x207de1._0x51d6b6,_0x3bf81f- -0x481);}return _0x4a7dbe[_0x4a7dbe[_0x12a3bd(_0x387540._0x47f81f,0xd4,_0x387540._0x6e0fb,_0x387540._0x20910e)]-0x1]??'';})['join']('\x0a');}function resolveBackspaces(_0x4731da){const _0x2ec9f6={_0xbc1da:0x482,_0x24cf34:0x528,_0x53b5c3:0x5b5,_0xaaec8d:0x4d2,_0x89a951:0x5f2,_0x330b31:0x64b,_0x8a4ce2:0x28b,_0x4ad08e:0x41c,_0x592060:0x7bd},_0x20742e={_0x201ca8:0x3e0};function _0x45f929(_0x49416a,_0x461664,_0x3b5b95,_0x384a8d){return _0x475ba1(_0x384a8d,_0x3b5b95-0x3a5,_0x3b5b95-0x191,_0x384a8d-0xb1);}const _0x4c6ac2=[];for(const _0x416664 of Array[_0x45f929(_0x2ec9f6._0xbc1da,_0x2ec9f6._0x24cf34,_0x2ec9f6._0x53b5c3,0x4e3)](_0x4731da)){_0x416664==='\x08'?_0x4c6ac2[_0x45f929(_0x2ec9f6._0xaaec8d,_0x2ec9f6._0x89a951,_0x2ec9f6._0x330b31,0x51b)]():_0x4c6ac2[_0x3d3a09(_0x2ec9f6._0x8a4ce2,_0x2ec9f6._0x4ad08e,0x3a0,0x3aa)](_0x416664);}function _0x3d3a09(_0x3cadd9,_0x3235aa,_0x39d92a,_0x28195f){return _0x475ba1(_0x3cadd9,_0x28195f-_0x20742e._0x201ca8,_0x39d92a-0x96,_0x28195f-0x1ec);}return _0x4c6ac2[_0x45f929(_0x2ec9f6._0x592060,0x546,0x64e,0x648)]('');}function stripAnsiAndControls(_0x120d5a){const _0x34a0dc={_0x4ee422:0x1e1,_0x5a530f:0x13e,_0x21432d:0x35,_0x589ad9:0x29c,_0x4bd4ea:0x488,_0x40e6b6:0x3b8,_0x294c90:0x2f7,_0x14c6b3:0x1ff,_0x33a176:0xda,_0x387077:0x2e0,_0x53dc84:0x131,_0x4c6e0d:0x31,_0x17adad:0x19a,_0x20a503:0x51,_0x1be635:0xcf,_0x9c053d:0x31,_0x174451:0x12c,_0x25007b:0xbd,_0x43b5c4:0x188,_0x20093e:0x31,_0xe0ae74:0x98},_0x405b3b={_0x5aea19:0x1b,_0x217fd9:0x5c},_0x7f1c16={_0x48ab5c:0xbf};_0x120d5a=resolveCarriageReturns(_0x120d5a),_0x120d5a=resolveBackspaces(_0x120d5a),_0x120d5a=stripVTControlCharacters(_0x120d5a);function _0x674f6c(_0x8f6b6c,_0x2d1b93,_0x30dd82,_0xcac1d6){return _0x511d68(_0x8f6b6c-0x195,_0x2d1b93- -0x40d,_0x30dd82-_0x7f1c16._0x48ab5c,_0x8f6b6c);}const _0x4e3e5a='\x1b',_0x4df7d8='\x07';_0x120d5a=_0x120d5a[_0x3291a4(_0x34a0dc._0x4ee422,0x146,_0x34a0dc._0x5a530f,-_0x34a0dc._0x21432d)](new RegExp(_0x3291a4(_0x34a0dc._0x589ad9,_0x34a0dc._0x4bd4ea,_0x34a0dc._0x40e6b6,0x289)+_0x4df7d8+_0x674f6c(_0x34a0dc._0x294c90,_0x34a0dc._0x14c6b3,_0x34a0dc._0x33a176,_0x34a0dc._0x387077)+_0x4df7d8,'g'),''),_0x120d5a=_0x120d5a['replace'](new RegExp(';[^\x5cn]*?'+_0x4e3e5a+'\x5c\x5c','g'),''),_0x120d5a=_0x120d5a[_0x674f6c(-_0x34a0dc._0x53dc84,_0x34a0dc._0x4c6e0d,-0x41,0x60)](new RegExp(_0x4df7d8,'g'),''),_0x120d5a=_0x120d5a[_0x674f6c(-0x153,0x31,0xd,_0x34a0dc._0x17adad)](new RegExp(_0x4e3e5a+_0x674f6c(0x225,0xa2,-0xb2,-_0x34a0dc._0x20a503)+_0x4e3e5a+'\x5c\x5c','g'),''),_0x120d5a=_0x120d5a['replace'](new RegExp(_0x4e3e5a+'[=>7-8()]','g'),''),_0x120d5a=_0x120d5a[_0x674f6c(_0x34a0dc._0x1be635,_0x34a0dc._0x9c053d,_0x34a0dc._0x174451,_0x34a0dc._0x25007b)](/[\u0080-\u009F]/g,''),_0x120d5a=_0x120d5a[_0x674f6c(_0x34a0dc._0x43b5c4,_0x34a0dc._0x20093e,0xa1,_0x34a0dc._0xe0ae74)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0x3291a4(_0x1bb63a,_0x106dcf,_0x3049e1,_0x5e0b82){return _0x475ba1(_0x106dcf,_0x3049e1-0x14d,_0x3049e1-_0x405b3b._0x5aea19,_0x5e0b82-_0x405b3b._0x217fd9);}return _0x120d5a=_0x120d5a[_0x674f6c(0x11,0x31,-0xca,-0x153)](/[\u23CE\u2424]/g,''),_0x120d5a;}function killProcessGroup(_0x189752,_0x3dda26,_0x391cd9=_0x511d68(0x681,0x5cb,0x508,0x449)){const _0x28ae8d={_0x4a17dc:0x75,_0x2f37ba:0x9c,_0x593647:0x6f,_0x3d9018:0x157,_0x2e47dd:0x2de,_0x4878ca:0x180,_0x514cc:0x220,_0x56a451:0x17e,_0x26446c:0x4a,_0x4942de:0x69,_0x39dde6:0x78,_0x5996aa:0x6e,_0x626b20:0x83,_0x576120:0x4a,_0x4ef3aa:0x1c3,_0x42ca9e:0x55},_0xcd3877={_0x160566:0x95,_0x293d1c:0x13f};if(!_0x189752[_0x19c558(-_0x28ae8d._0x4a17dc,_0x28ae8d._0x2f37ba,0x164,0x211)])return;function _0x4241c6(_0xc526e2,_0x5745be,_0x3ad79a,_0x4ed430){return _0x475ba1(_0x5745be,_0xc526e2-_0xcd3877._0x160566,_0x3ad79a-_0xcd3877._0x293d1c,_0x4ed430-0x1e4);}if(_0x3dda26)try{_0x45659e(_0x19c558(_0x28ae8d._0x593647,0xb5,0x85,_0x28ae8d._0x3d9018),[_0x4241c6(0x2fb,0x20c,_0x28ae8d._0x2e47dd,0x414),_0x189752['pid'][_0x19c558(0xe,_0x28ae8d._0x4878ca,_0x28ae8d._0x514cc,_0x28ae8d._0x56a451)](),'/T','/F'],{'stdio':'ignore'});return;}catch{_0x189752[_0x4241c6(_0x28ae8d._0x26446c,-_0x28ae8d._0x4942de,-_0x28ae8d._0x39dde6,0x17d)](_0x391cd9);return;}function _0x19c558(_0x59b7fd,_0x2f5e24,_0x1effee,_0x40873f){return _0x511d68(_0x59b7fd-0x13f,_0x2f5e24- -0x419,_0x1effee-0x1e6,_0x40873f);}try{process['kill'](-_0x189752[_0x4241c6(0xfd,0xca,_0x28ae8d._0x5996aa,_0x28ae8d._0x626b20)],_0x391cd9);}catch{_0x189752[_0x4241c6(_0x28ae8d._0x576120,0x1af,_0x28ae8d._0x4ef3aa,_0x28ae8d._0x42ca9e)](_0x391cd9);}}var BackgroundProcessRegistry=class{[_0x475ba1(0xda,0x15b,0x2b8,0xb9)]=new Map();[_0x475ba1(0x2e1,0x1e5,0x1fb,0x1bb)];[_0x475ba1(0x344,0x20d,0xbf,0x237)];[_0x475ba1(0x2b3,0x1a1,0x98,0x2fe)];['counter']=0x0;constructor(_0x8a5c5e={}){const _0x16df69={_0x4a33c6:0x6e8,_0xffb35c:0x662,_0x499335:0x578,_0x556fc6:0x51e,_0x333f80:0x710,_0x37d1db:0x572,_0x10e468:0x50c,_0x5eb3a6:0x3da},_0x56f508={_0x5c5828:0x503},_0x588912={_0x37ed6b:0x36b};function _0x15f197(_0x53cd5e,_0x2187b2,_0x5ad474,_0x2631a4){return _0x475ba1(_0x2187b2,_0x5ad474-_0x588912._0x37ed6b,_0x5ad474-0x1d0,_0x2631a4-0x1aa);}this[_0xccb188(0x832,0x847,_0x16df69._0x4a33c6,_0x16df69._0xffb35c)]=_0x8a5c5e['maxConcurrent']??0xa;function _0xccb188(_0x179dc2,_0x2cb00a,_0x1d81bc,_0x5c8494){return _0x475ba1(_0x2cb00a,_0x1d81bc-_0x56f508._0x5c5828,_0x1d81bc-0xb1,_0x5c8494-0x3b);}this[_0x15f197(0x4c4,0x617,_0x16df69._0x499335,_0x16df69._0x556fc6)]=_0x8a5c5e[_0xccb188(0x837,0x7f9,_0x16df69._0x333f80,0x60b)]??0x40,this[_0x15f197(0x46d,_0x16df69._0x37d1db,_0x16df69._0x10e468,_0x16df69._0x5eb3a6)]=_0x8a5c5e[_0xccb188(0x7da,0x69c,0x6a4,0x7a3)]??0x100000;}[_0x475ba1(0xfc,0x136,0xa3,-0x23)](_0x54b80a){const _0x3a9fb1={_0x8e1cc9:0x79f,_0x50fd1a:0x587,_0x1ea480:0x612,_0x510238:0x61b,_0x1210b0:0x3be,_0x1515e7:0x5fe,_0x4d36ca:0x54f,_0x2f4c97:0x442,_0x3eb240:0x45c,_0x2c425f:0x465,_0x2fbe24:0x38f,_0x372dc4:0x364,_0x264a04:0x15f,_0x45be8d:0x498,_0x4ae2b1:0x4f0,_0x538419:0x598,_0x50ad60:0x4d3,_0x4583e1:0x35e,_0x1e83c3:0x561,_0x43b0d8:0x4e5,_0x57d6d0:0x57a,_0x224644:0x65b,_0x99a476:0x651,_0xd1ca7f:0x591,_0x2ef521:0x5e3,_0x293076:0x33d,_0x21b5d4:0x371,_0x2941e8:0x250,_0x4c3590:0x634,_0x2cd5a2:0x3f3,_0x200636:0x56d,_0x2f56d6:0x47c,_0x16021d:0x42f,_0xd099ce:0x395,_0x5a4e93:0x2d1,_0x6cc6f3:0x609,_0x4031f4:0x86d,_0x4a101b:0x59e,_0x2c8900:0x51b,_0x94c859:0x496,_0x39d957:0x72b,_0x5c5039:0x577,_0x31f090:0x658,_0x206280:0x6d8,_0x335df5:0x6ba,_0x5c5dd3:0x623,_0x51f9dc:0x5fc,_0x518e56:0x76a,_0x1382d1:0x699,_0x501ee0:0x436,_0x3e39c9:0x68e,_0xedc366:0x46d,_0x5acfaa:0x3c2,_0xeed76b:0x2e6,_0x30f224:0x419,_0x403620:0x4f7,_0x419442:0x7b2,_0x2d4263:0x63f,_0x1eaa6f:0x694,_0x2d8aad:0x575},_0x2b0398={_0x31c69e:0x514,_0x470c81:0x1a8},_0x2ce0e1={_0x598d86:0x2d,_0xf5a336:0xe2,_0x3e602:0x7c,_0xde171c:0x379,_0x5b7dd4:0x333,_0x4da795:0x428,_0x31c882:0x44f,_0x38004e:0x41c,_0x3ccfb5:0x318,_0x469b01:0x49c,_0x4f3e2d:0x2a7,_0x14e317:0x1f8},_0x31ef1a={_0x39b39a:0xa7,_0x2c6f5a:0x9e},_0x48517c={_0x17504a:0x2e7,_0x3978f9:0x240,_0x4e655c:0x1c5,_0x5c4d2a:0x1f6,_0x1b83bd:0x258,_0x3301bd:0x49d,_0xcda191:0x37a,_0x309774:0x0,_0x2983d4:0x2b2,_0x32d313:0x95,_0x2f7043:0xd4,_0x57ff8f:0xc,_0x312dc9:0x1dc,_0x4fd407:0x27b,_0x3f8c89:0x2f4,_0x48c411:0x184},_0x7aacc8={_0x480cfc:0x16,_0xb8adb1:0x15a},_0x48669c={_0x21bf2f:0x2b3,_0x577e4e:0x1a1},_0x1c0428=[...this[_0x4f3748(0x66f,0x60a,_0x3a9fb1._0x8e1cc9,_0x3a9fb1._0x50fd1a)]['values']()][_0x4f3748(0x591,0x564,_0x3a9fb1._0x1ea480,_0x3a9fb1._0x510238)](_0x1020c7=>_0x1020c7['status']===_0x4c76be(0x39d,0x477,0x408,0x4a9))[_0x4f3748(0x5d5,0x655,0x48b,0x534)];function _0x4c76be(_0x125e9e,_0x4cea2b,_0x336460,_0x52eec4){return _0x475ba1(_0x4cea2b,_0x125e9e-_0x48669c._0x21bf2f,_0x336460-0x108,_0x52eec4-_0x48669c._0x577e4e);}if(_0x1c0428>=this[_0x4c76be(0x498,_0x3a9fb1._0x1210b0,0x33c,_0x3a9fb1._0x1515e7)])throw new ToolExecutionError(_0x4c76be(0x49c,_0x3a9fb1._0x4d36ca,_0x3a9fb1._0x2f4c97,_0x3a9fb1._0x3eb240)+this[_0x4c76be(0x498,0x50c,0x56e,_0x3a9fb1._0x2c425f)]+_0x4c76be(0x287,_0x3a9fb1._0x2fbe24,_0x3a9fb1._0x372dc4,_0x3a9fb1._0x264a04),{'running':this[_0x4c76be(_0x3a9fb1._0x45be8d,_0x3a9fb1._0x4ae2b1,_0x3a9fb1._0x538419,0x53a)]});const _0x1580de='bg-'+ ++this[_0x4c76be(_0x3a9fb1._0x50ad60,_0x3a9fb1._0x4583e1,0x5a4,0x51a)]+'-'+randomUUID()[_0x4f3748(_0x3a9fb1._0x1e83c3,_0x3a9fb1._0x43b0d8,_0x3a9fb1._0x57d6d0,_0x3a9fb1._0x224644)](0x0,0x8),_0x28b589={'shellId':_0x1580de,'command':_0x54b80a['command'],'cwd':_0x54b80a[_0x4c76be(_0x3a9fb1._0x4ae2b1,_0x3a9fb1._0x99a476,_0x3a9fb1._0xd1ca7f,_0x3a9fb1._0x2ef521)],'pid':_0x54b80a['child']['pid'],'status':'running','exitCode':null,'signal':null,'startedAt':Date['now'](),'child':_0x54b80a[_0x4c76be(_0x3a9fb1._0x293076,0x40b,_0x3a9fb1._0x21b5d4,_0x3a9fb1._0x2941e8)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x4f3748(0x6f5,_0x3a9fb1._0x4c3590,0x676,0x6e1)),'stripAnsi':_0x54b80a[_0x4c76be(_0x3a9fb1._0x2cd5a2,0x42d,0x4ce,_0x3a9fb1._0x200636)],'killRequested':![],'processExited':![]};_0x54b80a['child'][_0x4c76be(_0x3a9fb1._0x2f56d6,0x453,0x3b5,0x5df)]?.['on'](_0x4c76be(_0x3a9fb1._0x16021d,0x4a0,_0x3a9fb1._0xd099ce,0x541),_0x2e7751=>this[_0x4f3748(0x541,0x568,0x6a8,0x68a)](_0x28b589,_0x28b589['stdoutDecoder']['write'](_0x2e7751))),_0x54b80a[_0x4c76be(0x33d,_0x3a9fb1._0x5a4e93,0x243,0x2d9)][_0x4f3748(0x774,0x8b8,_0x3a9fb1._0x6cc6f3,_0x3a9fb1._0x4031f4)]?.['on'](_0x4c76be(_0x3a9fb1._0x16021d,0x4cc,0x354,0x35a),_0x76d776=>this['append'](_0x28b589,_0x28b589['stderrDecoder'][_0x4f3748(0x655,0x6db,0x67c,0x747)](_0x76d776))),_0x54b80a[_0x4f3748(_0x3a9fb1._0x4a101b,_0x3a9fb1._0x2c8900,_0x3a9fb1._0x94c859,0x681)][_0x4f3748(0x623,_0x3a9fb1._0x39d957,0x6af,_0x3a9fb1._0x5c5039)](_0x4f3748(_0x3a9fb1._0x31f090,_0x3a9fb1._0x206280,0x79c,0x4f7),()=>{function _0x388961(_0x1973e1,_0x2a54af,_0x585c61,_0x4ea168){return _0x4c76be(_0x4ea168- -0x82,_0x585c61,_0x585c61-0x2a,_0x4ea168-0x25);}_0x28b589[_0x388961(0x452,0x372,0x483,0x321)]=!![];}),_0x54b80a[_0x4f3748(0x59e,0x68e,_0x3a9fb1._0x335df5,0x6aa)][_0x4f3748(_0x3a9fb1._0x5c5dd3,_0x3a9fb1._0x51f9dc,_0x3a9fb1._0x518e56,0x4a7)](_0x4f3748(0x54c,_0x3a9fb1._0x1382d1,_0x3a9fb1._0x501ee0,_0x3a9fb1._0x3e39c9),(_0x183883,_0x29a876)=>{const _0x184301={_0x30da20:0xf0};this['append'](_0x28b589,_0x28b589[_0x1dd36a(_0x48517c._0x17504a,0x251,0x287,0x12a)][_0x1e6bd6(0x317,_0x48517c._0x3978f9,0x1a5,0x1d8)]()),this[_0x1dd36a(0x318,_0x48517c._0x4e655c,_0x48517c._0x5c4d2a,_0x48517c._0x1b83bd)](_0x28b589,_0x28b589['stderrDecoder']['end']()),_0x28b589[_0x1dd36a(_0x48517c._0x3301bd,0x33b,_0x48517c._0xcda191,0x3d5)]=_0x28b589[_0x1e6bd6(0xc4,_0x48517c._0x309774,-0xf6,-0x82)]?_0x1e6bd6(0x222,0x238,_0x48517c._0x2983d4,0x34f):_0x1e6bd6(-_0x48517c._0x32d313,_0x48517c._0x2f7043,0x1c,0x19c);function _0x1dd36a(_0x3ddbb0,_0x50d691,_0x17c98d,_0x2b45ba){return _0x4f3748(_0x17c98d- -0x34b,_0x50d691-_0x184301._0x30da20,_0x17c98d-0x1c1,_0x50d691);}_0x28b589[_0x1e6bd6(0x7d,-_0x48517c._0x57ff8f,-0x14e,-0x57)]=_0x183883;function _0x1e6bd6(_0x47f0af,_0x35f360,_0x3d39cc,_0x51a4e1){return _0x4f3748(_0x35f360- -0x4e6,_0x35f360-_0x7aacc8._0x480cfc,_0x3d39cc-_0x7aacc8._0xb8adb1,_0x3d39cc);}_0x28b589[_0x1e6bd6(_0x48517c._0x312dc9,_0x48517c._0x4fd407,_0x48517c._0x3f8c89,_0x48517c._0x48c411)]=_0x29a876,_0x28b589['child']=null;}),_0x54b80a[_0x4f3748(_0x3a9fb1._0x4a101b,0x551,0x486,_0x3a9fb1._0xedc366)][_0x4c76be(_0x3a9fb1._0x5acfaa,_0x3a9fb1._0xeed76b,0x33a,_0x3a9fb1._0x30f224)]('error',_0x14280d=>{const _0x30c06a={_0x3b6c52:0x698,_0x4ab2a5:0x117};_0x28b589[_0x27f30b(_0x2ce0e1._0x598d86,-0x4e,-_0x2ce0e1._0xf5a336,-_0x2ce0e1._0x3e602)]=_0x64a2f7(_0x2ce0e1._0xde171c,_0x2ce0e1._0x5b7dd4,_0x2ce0e1._0x4da795,0x4b5),_0x28b589[_0x27f30b(0x98,0x1ec,-0xb7,-0x58)]=_0x14280d[_0x64a2f7(_0x2ce0e1._0x31c882,_0x2ce0e1._0x38004e,_0x2ce0e1._0x3ccfb5,_0x2ce0e1._0x469b01)];function _0x64a2f7(_0x31f4b0,_0x18bcf7,_0x160468,_0x4863af){return _0x4c76be(_0x160468- -_0x31ef1a._0x39b39a,_0x31f4b0,_0x160468-0xfb,_0x4863af-_0x31ef1a._0x2c6f5a);}function _0x27f30b(_0x5370d2,_0x650adb,_0x51c07d,_0x52ffc5){return _0x4f3748(_0x5370d2- -_0x30c06a._0x3b6c52,_0x650adb-0x156,_0x51c07d-_0x30c06a._0x4ab2a5,_0x52ffc5);}_0x28b589[_0x64a2f7(_0x2ce0e1._0x4f3e2d,0x397,0x296,_0x2ce0e1._0x14e317)]=null;});function _0x4f3748(_0x22c49e,_0x169983,_0xd74e6d,_0x518e4b){return _0x475ba1(_0x518e4b,_0x22c49e-_0x2b0398._0x31c69e,_0xd74e6d-0x2d,_0x518e4b-_0x2b0398._0x470c81);}return this[_0x4c76be(0x40e,0x3ff,_0x3a9fb1._0x403620,0x376)][_0x4f3748(_0x3a9fb1._0x419442,_0x3a9fb1._0x2d4263,0x89a,0x69d)](_0x1580de,_0x28b589),this[_0x4f3748(0x51f,_0x3a9fb1._0x1eaa6f,0x61f,_0x3a9fb1._0x2d8aad)](),_0x28b589;}[_0x511d68(0x5f5,0x543,0x3f3,0x499)](_0x146846,_0x32aebd){const _0x2ac9d6={_0x2afdd8:0x543,_0x4655d8:0x69a,_0x1fad78:0x752,_0xa85513:0x73b,_0x5aa8b8:0x60b,_0x11bbcd:0x5b9,_0x4d4871:0x76e,_0x1a3d7d:0x6b1,_0x4cb312:0x741,_0x5d39be:0x849,_0x3d0e3d:0x737,_0xdb35a7:0x78c,_0x5ca7fd:0x5d1,_0x49a07f:0x51a,_0x3d63e7:0x8d0,_0xc5c36e:0x6d2,_0x455bf4:0x755,_0x586146:0x601,_0x12788f:0x49a,_0x272b76:0x3ec,_0x459fae:0x537,_0x287b75:0x730,_0x4765ab:0x5a3,_0xf893e9:0x753,_0x1fede6:0x558,_0x4175f0:0x67c,_0x26be65:0x71c,_0x553d3:0x84a,_0x2c809d:0x724,_0x4fdd07:0x64c,_0x5e4e48:0x848,_0x88c21b:0x6ba,_0x536e4a:0x777,_0x7ac6f4:0x7da,_0x17c403:0x2d8,_0x3b7dd7:0x55b,_0x45bc23:0x805,_0x27262d:0x89f,_0x131b52:0x791,_0x314a33:0x5d7,_0x2d6d8f:0x6c3,_0x20874a:0x696,_0x25a124:0x6c8},_0x5a7897={_0x20bf14:0x171},_0x3df575={_0x895c5:0x105,_0x3f1708:0x145,_0x4f6d19:0xe0},_0x2efeba=this[_0xd1fbf8(0x6f1,0x5d6,0x61e,_0x2ac9d6._0x2afdd8)][_0xd1fbf8(0x60f,0x5a4,0x55e,0x71b)](_0x146846);if(!_0x2efeba)throw new ToolExecutionError(_0x566531(0x52b,_0x2ac9d6._0x4655d8,0x539,_0x2ac9d6._0x1fad78)+_0x146846,{'shellId':_0x146846});const _0xecbde7=_0x2efeba['buffer'][_0xd1fbf8(_0x2ac9d6._0xa85513,0x724,_0x2ac9d6._0x5aa8b8,_0x2ac9d6._0x11bbcd)]('');function _0x566531(_0x5ce286,_0x4960ae,_0x26bbd7,_0x28b1ad){return _0x511d68(_0x5ce286-_0x3df575._0x895c5,_0x4960ae-_0x3df575._0x3f1708,_0x26bbd7-_0x3df575._0x4f6d19,_0x5ce286);}const _0x5a4e16=Math['max'](_0x2efeba[_0x566531(0x693,_0x2ac9d6._0x4d4871,0x688,_0x2ac9d6._0x1a3d7d)],_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x4cb312,0x620,0x55c,0x68f)]),_0x461b73=Math[_0xd1fbf8(0x4a3,0x507,0x5e7,0x3b5)](0x0,_0x2efeba[_0x566531(_0x2ac9d6._0x5d39be,_0x2ac9d6._0x3d0e3d,0x85b,0x626)]-_0x2efeba['readCursor']),_0x2b95ec=_0xecbde7['slice'](_0x5a4e16-_0x2efeba[_0xd1fbf8(_0x2ac9d6._0xdb35a7,0x620,0x69d,0x698)]),_0x1d5d3f=_0x2efeba['status']!=='running';let _0x5d3e17;const _0x32fabb=_0x32aebd?.[_0x566531(0x4b1,0x5c2,_0x2ac9d6._0x5ca7fd,_0x2ac9d6._0x49a07f)];if(!_0x32fabb)_0x5d3e17=_0x2b95ec,_0x2efeba[_0x566531(_0x2ac9d6._0x3d63e7,0x76e,_0x2ac9d6._0xc5c36e,_0x2ac9d6._0x455bf4)]=_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x586146,_0x2ac9d6._0x12788f,0x4df,_0x2ac9d6._0x272b76)];else{let _0x59e548;try{_0x59e548=new RegExp(_0x32fabb);}catch(_0x416ce7){throw new ToolExecutionError(_0xd1fbf8(_0x2ac9d6._0x459fae,0x683,_0x2ac9d6._0x287b75,_0x2ac9d6._0x4765ab)+_0x416ce7[_0x566531(0x6c1,0x69e,_0x2ac9d6._0xf893e9,0x787)],{'shellId':_0x146846,'regex':_0x32fabb});}let _0x42f877=_0x2b95ec;if(!_0x1d5d3f){const _0x425c91=_0x2b95ec[_0xd1fbf8(_0x2ac9d6._0x1fede6,0x596,0x4bf,0x529)]('\x0a');_0x42f877=_0x425c91>=0x0?_0x2b95ec[_0xd1fbf8(_0x2ac9d6._0x2afdd8,0x4c8,0x44a,0x556)](0x0,_0x425c91+0x1):'';}_0x5d3e17=_0x42f877[_0xd1fbf8(_0x2ac9d6._0x4175f0,0x6b0,0x836,_0x2ac9d6._0x26be65)]('\x0a')['filter'](_0x3ec5e4=>_0x59e548['test'](_0x3ec5e4))[_0xd1fbf8(_0x2ac9d6._0x553d3,_0x2ac9d6._0x2c809d,_0x2ac9d6._0x4fdd07,_0x2ac9d6._0x5e4e48)]('\x0a'),_0x2efeba[_0x566531(_0x2ac9d6._0x88c21b,_0x2ac9d6._0x4d4871,_0x2ac9d6._0x536e4a,_0x2ac9d6._0x7ac6f4)]=_0x5a4e16+_0x42f877['length'];}const _0x4e3e62=(_0x461b73>0x0?_0xd1fbf8(_0x2ac9d6._0x17c403,0x438,0x330,_0x2ac9d6._0x3b7dd7)+_0x461b73+_0x566531(0x761,_0x2ac9d6._0x45bc23,0x6a6,_0x2ac9d6._0x27262d):'')+_0x5d3e17;function _0xd1fbf8(_0x37904d,_0x897fd0,_0x19f36d,_0x54f941){return _0x511d68(_0x37904d-0x10d,_0x897fd0-0x2e,_0x19f36d-_0x5a7897._0x20bf14,_0x54f941);}return{'output':_0x4e3e62,'status':_0x2efeba[_0xd1fbf8(0x6b3,0x62c,0x4b0,_0x2ac9d6._0x131b52)],'exitCode':_0x2efeba[_0x566531(_0x2ac9d6._0x314a33,0x558,_0x2ac9d6._0x2d6d8f,0x647)],'signal':_0x2efeba[_0xd1fbf8(_0x2ac9d6._0x20874a,_0x2ac9d6._0x25a124,0x769,0x745)],'truncated':_0x461b73>0x0};}[_0x511d68(0x520,0x5ef,0x5b0,0x4b9)](){const _0x445f89={_0x11c3a6:0x404,_0x4047b4:0x485,_0x3c1c27:0x44f},_0x34a2e0={_0x1d77ac:0x1a,_0x514f5d:0x159,_0x431cde:0x1ed},_0x142f68={_0xbb701c:0x10f,_0x190b24:0x4d};function _0x744ded(_0x2841ee,_0x230d54,_0x58fea3,_0x223b1e){return _0x475ba1(_0x58fea3,_0x223b1e-0x1ba,_0x58fea3-_0x142f68._0xbb701c,_0x223b1e-_0x142f68._0x190b24);}function _0x536647(_0x44ebc3,_0x297cda,_0x546192,_0x3b3eda){return _0x511d68(_0x44ebc3-_0x34a2e0._0x1d77ac,_0x3b3eda- -_0x34a2e0._0x514f5d,_0x546192-_0x34a2e0._0x431cde,_0x44ebc3);}return[...this[_0x536647(0x5a8,_0x445f89._0x11c3a6,_0x445f89._0x4047b4,_0x445f89._0x3c1c27)][_0x744ded(0x478,0x42e,0x2c6,0x41f)]()];}[_0x511d68(0x4ab,0x402,0x4d8,0x29c)](_0x260949){const _0x2d49d4={_0x552abc:0x82,_0x26dbd6:0x284,_0x1a4f2c:0x1da,_0x34e749:0x183,_0x1ec7d2:0xb1,_0x37a627:0x18d,_0x29edb2:0x172,_0x4202cd:0x22c,_0x5d33c1:0x1d1,_0xb17d00:0x5fc,_0x154f82:0x581,_0xff797e:0x626,_0xb4d94c:0x740,_0x45690a:0x6d6,_0x138c1a:0x54f,_0x5ac114:0x5f0,_0x3766a9:0x41},_0x853a1a={_0xa30391:0x35,_0xaeec3b:0x125,_0x2f3fe5:0x11e},_0x3d0f26={_0x1e8bd8:0x163},_0x26e63d=this[_0x567cba(0x1d6,0x255,0x1e1,_0x2d49d4._0x552abc)][_0x567cba(0x1a4,0x25d,_0x2d49d4._0x26dbd6,_0x2d49d4._0x1a4f2c)](_0x260949);if(!_0x26e63d)throw new ToolExecutionError(_0x567cba(_0x2d49d4._0x34e749,_0x2d49d4._0x1ec7d2,_0x2d49d4._0x37a627,_0x2d49d4._0x29edb2)+_0x260949,{'shellId':_0x260949});if(_0x26e63d[_0x567cba(_0x2d49d4._0x4202cd,0xd3,0x11c,_0x2d49d4._0x5d33c1)]===_0x567cba(0x165,0x259,0x1df,0x2b9)&&_0x26e63d[_0x269fb6(_0x2d49d4._0xb17d00,0x539,0x677,0x752)]&&!_0x26e63d['processExited']){_0x26e63d['killRequested']=!![];try{killProcessGroup(_0x26e63d[_0x269fb6(0x5fc,0x6bf,_0x2d49d4._0x154f82,_0x2d49d4._0xff797e)],process[_0x269fb6(0x5fd,_0x2d49d4._0xb4d94c,_0x2d49d4._0x45690a,0x56a)]===_0x269fb6(_0x2d49d4._0x138c1a,_0x2d49d4._0x5ac114,0x3cf,0x640));}catch{}}function _0x567cba(_0x3c50cc,_0x514722,_0x207d2a,_0x568a99){return _0x475ba1(_0x568a99,_0x3c50cc-0x7b,_0x207d2a-0xf2,_0x568a99-_0x3d0f26._0x1e8bd8);}function _0x269fb6(_0x288371,_0x4847cd,_0x55e742,_0x333ca6){return _0x511d68(_0x288371-_0x853a1a._0xa30391,_0x288371-_0x853a1a._0xaeec3b,_0x55e742-_0x853a1a._0x2f3fe5,_0x333ca6);}return{'status':_0x26e63d[_0x567cba(0x22c,0xfd,0xdb,0x1b7)],'exitCode':_0x26e63d[_0x567cba(_0x2d49d4._0x3766a9,0x9b,0x1a7,-0x108)],'signal':_0x26e63d['signal']};}async[_0x511d68(0x679,0x670,0x52e,0x57e)](){const _0x5bbf38={_0xb7cc19:0x122,_0x3f2d19:0x6d,_0x3c5c73:0x6c0,_0x3762a7:0x5f9,_0x18f263:0x65c,_0x1df036:0x521,_0x27029e:0x599,_0x4e608a:0x62e,_0x328cc8:0x708,_0x526a3e:0x10b,_0x3df48f:0xd8,_0x3f2fe8:0x4e1,_0x9f4541:0x44f,_0x347b85:0x64e,_0x4bf0d3:0x6d4,_0x1ac469:0x59a,_0x296e72:0x592,_0x42a086:0x340,_0x2122c8:0x1eb},_0x45c312={_0x5ceb7d:0xf7,_0x46fd09:0xc2,_0x1c9621:0x145},_0x290f92={_0x39227b:0x615};function _0x165f17(_0x3e171d,_0x20ae43,_0x424c28,_0x49fae2){return _0x511d68(_0x3e171d-0x15c,_0x49fae2- -_0x290f92._0x39227b,_0x424c28-0x20,_0x20ae43);}function _0x75d84d(_0x1cd511,_0xf16c79,_0x301bb4,_0x541537){return _0x511d68(_0x1cd511-_0x45c312._0x5ceb7d,_0x1cd511-_0x45c312._0x46fd09,_0x301bb4-_0x45c312._0x1c9621,_0xf16c79);}for(const _0x4a6ea7 of this[_0x165f17(-0x82,0xf6,-_0x5bbf38._0xb7cc19,-_0x5bbf38._0x3f2d19)]['values']()){if(_0x4a6ea7[_0x75d84d(_0x5bbf38._0x3c5c73,0x64b,0x802,0x666)]===_0x75d84d(_0x5bbf38._0x3762a7,0x57b,_0x5bbf38._0x18f263,_0x5bbf38._0x1df036)&&_0x4a6ea7[_0x75d84d(_0x5bbf38._0x27029e,_0x5bbf38._0x4e608a,0x464,_0x5bbf38._0x328cc8)]&&!_0x4a6ea7[_0x165f17(-0xe0,-0x227,-_0x5bbf38._0x526a3e,-_0x5bbf38._0x3df48f)]){_0x4a6ea7[_0x75d84d(_0x5bbf38._0x3f2fe8,0x5de,_0x5bbf38._0x9f4541,_0x5bbf38._0x347b85)]=!![];try{killProcessGroup(_0x4a6ea7[_0x75d84d(_0x5bbf38._0x27029e,0x4ed,_0x5bbf38._0x4bf0d3,0x6c2)],process[_0x75d84d(_0x5bbf38._0x1ac469,0x430,0x428,_0x5bbf38._0x296e72)]===_0x165f17(-0x19c,-0x253,-_0x5bbf38._0x42a086,-_0x5bbf38._0x2122c8));}catch{}}}}[_0x511d68(0x3ac,0x47a,0x4ab,0x55b)](_0x61851b,_0x463fb8){const _0xcf9b27={_0x1eb754:0x1a9,_0x81e924:0x2cd,_0x5aac2e:0x1e7,_0x5ea7b3:0x138,_0xfeacc3:0xa8,_0x2b1954:0x249,_0x131c1a:0x114,_0x4e800d:0x29,_0x440f32:0x58,_0x3593ba:0x20b,_0x154991:0x1b1,_0x5abe9c:0x20,_0xf0846f:0x210,_0x24d919:0x138,_0x1c23e6:0x2c5,_0x506bc3:0x295,_0x200502:0xf9,_0x207ffa:0xec,_0x354289:0x168,_0x5714bc:0xff,_0x558d08:0x218,_0x53a755:0x314,_0x4d65c0:0x84,_0xfc2592:0x48,_0x594267:0x1cd,_0x56705d:0x1b8,_0x2b3053:0x13c,_0x492885:0x233,_0x43d25b:0xf8,_0x4625ec:0x2bc,_0x4f2d6c:0x13,_0x37e56b:0xec,_0x53259e:0xf4,_0x3b9d86:0x243,_0xb1f647:0x2cd},_0x47e56f={_0xcab5fd:0xaa},_0x1bdd90={_0x5d103f:0x69,_0x13d5ea:0x1e7},_0x2ae986=_0x61851b[_0x212b1b(0x1e7,_0xcf9b27._0x1eb754,_0xcf9b27._0x81e924,_0xcf9b27._0x5aac2e)]?stripAnsiAndControls(_0x463fb8):_0x463fb8;function _0x284e53(_0x44d600,_0x4d0ba7,_0x357482,_0x1b8f0d){return _0x475ba1(_0x4d0ba7,_0x1b8f0d- -_0x1bdd90._0x5d103f,_0x357482-0x111,_0x1b8f0d-_0x1bdd90._0x13d5ea);}function _0x212b1b(_0x5c332a,_0x19c344,_0x5a8153,_0x459590){return _0x475ba1(_0x5a8153,_0x459590-0xa7,_0x5a8153-_0x47e56f._0xcab5fd,_0x459590-0x3a);}if(_0x2ae986['length']===0x0)return;_0x61851b[_0x212b1b(_0xcf9b27._0x5ea7b3,0x2c8,0x354,0x1fc)][_0x212b1b(-_0xcf9b27._0xfeacc3,0x3b,0x13,0x71)](_0x2ae986),_0x61851b[_0x212b1b(_0xcf9b27._0x2b1954,0x229,0x156,0x2c5)]+=_0x2ae986[_0x284e53(_0xcf9b27._0x131c1a,0x4c,-_0xcf9b27._0x4e800d,_0xcf9b27._0x440f32)],_0x61851b[_0x212b1b(_0xcf9b27._0x3593ba,_0xcf9b27._0x154991,0x16b,0xc6)]+=_0x2ae986['length'];while(_0x61851b[_0x284e53(0x60,0x6f,0x129,0x1b5)]>this[_0x284e53(_0xcf9b27._0x5abe9c,0x176,_0xcf9b27._0xf0846f,_0xcf9b27._0x24d919)]){const _0x2f76e4=_0x61851b[_0x212b1b(0x3ab,0x27e,0x238,_0xcf9b27._0x1c23e6)]-this[_0x284e53(_0xcf9b27._0x506bc3,0x2a3,0x21a,0x138)],_0x4f7656=_0x61851b[_0x284e53(_0xcf9b27._0x200502,0xc5,0x85,_0xcf9b27._0x207ffa)][0x0];_0x4f7656[_0x212b1b(0x55,0x1e6,0x1f6,_0xcf9b27._0x354289)]<=_0x2f76e4?(_0x61851b[_0x284e53(0x48,0x22b,_0xcf9b27._0x5714bc,0xec)][_0x284e53(0x134,_0xcf9b27._0x558d08,_0xcf9b27._0x53a755,0x200)](),_0x61851b[_0x284e53(0x1e2,0x2f1,0xc8,0x1b5)]-=_0x4f7656[_0x212b1b(_0xcf9b27._0x4d65c0,_0xcf9b27._0xfc2592,0x37,_0xcf9b27._0x354289)],_0x61851b[_0x284e53(_0xcf9b27._0x594267,_0xcf9b27._0x56705d,0x174,_0xcf9b27._0x2b3053)]+=_0x4f7656[_0x212b1b(_0xcf9b27._0x492885,_0xcf9b27._0x43d25b,_0xcf9b27._0x4625ec,_0xcf9b27._0x354289)]):(_0x61851b[_0x284e53(0x213,-0x5c,-_0xcf9b27._0x4f2d6c,_0xcf9b27._0x37e56b)][0x0]=_0x4f7656[_0x212b1b(0x204,0xf1,0x1a,_0xcf9b27._0x53259e)](_0x2f76e4),_0x61851b[_0x284e53(_0xcf9b27._0x3b9d86,0x121,_0xcf9b27._0xb1f647,0x1b5)]-=_0x2f76e4,_0x61851b['totalDropped']+=_0x2f76e4);}}['evictIfNeeded'](){const _0x31f7e4={_0x30a004:0x4d8,_0x20b82b:0x6b5,_0x19a7a7:0x7d6,_0x5b6112:0x579,_0x51a901:0x2dc,_0x2a1fad:0x280,_0x223eab:0x3d0,_0x3144f8:0x1ca},_0x190053={_0x593cf4:0x37e,_0x30df7f:0x132};function _0x56e97b(_0x31152,_0x6b0657,_0x264958,_0x1b68ec){return _0x475ba1(_0x1b68ec,_0x31152-0x428,_0x264958-0x16,_0x1b68ec-0x85);}if(this[_0x56e97b(0x583,0x482,_0x31f7e4._0x30a004,0x678)][_0x56e97b(_0x31f7e4._0x20b82b,0x616,_0x31f7e4._0x19a7a7,_0x31f7e4._0x5b6112)]<=this[_0x492047(0x36a,_0x31f7e4._0x51a901,0x29c,0x1d2)])return;function _0x492047(_0x51b668,_0x998e0a,_0x122af0,_0x49292d){return _0x511d68(_0x51b668-0x98,_0x998e0a- -_0x190053._0x593cf4,_0x122af0-_0x190053._0x30df7f,_0x51b668);}for(const [_0x1977eb,_0x39fdbd]of this['entries']){if(_0x39fdbd[_0x492047(0x161,_0x31f7e4._0x2a1fad,_0x31f7e4._0x223eab,_0x31f7e4._0x3144f8)]!=='running'){this['entries']['delete'](_0x1977eb);return;}}}};function createBashOutputTool(_0x4537bf){const _0x1bc9ba={_0x2ed10f:0x7c5,_0x24a332:0x66c,_0x49c212:0x773,_0x1c231c:0x858,_0x252f60:0x4cd},_0x34424e={_0x37028c:0x6c,_0xaa5dd4:0x58,_0x51aa80:0x9,_0xd1bc64:0xbf,_0x563214:0x4bb,_0x3abbc7:0x3eb,_0x5805ae:0x3fe,_0x429b27:0x3c2,_0x14f4e6:0x551,_0x445236:0x28,_0x103489:0x3a,_0x4d8118:0xc5,_0x512353:0x19c},_0x130711={_0x50406e:0x61},_0x52aca={_0x3fa243:0xb7,_0x379591:0xeb};function _0x20dcc6(_0x191f99,_0x4affe9,_0x3c9f57,_0x1677aa){return _0x475ba1(_0x191f99,_0x4affe9-0x353,_0x3c9f57-_0x52aca._0x3fa243,_0x1677aa-_0x52aca._0x379591);}function _0x69a887(_0x4f51f9,_0x74d564,_0x2cd2b7,_0x19dba9){return _0x475ba1(_0x4f51f9,_0x19dba9-0x5d9,_0x2cd2b7-_0x130711._0x50406e,_0x19dba9-0x155);}const {registry:_0x76e605}=_0x4537bf;return defineTool({'name':_0x69a887(0x8cf,0x653,0x762,_0x1bc9ba._0x2ed10f),'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':_0x69a887(_0x1bc9ba._0x24a332,_0x1bc9ba._0x49c212,_0x1bc9ba._0x1c231c,0x79f),'properties':{'shellId':{'type':_0x20dcc6(_0x1bc9ba._0x252f60,0x4d0,0x4e1,0x628)},'regex':{'type':'string'}},'required':['shellId']},async *'execute'(_0x3deced){const _0x46df68={_0x5fbbfe:0xf3},_0xab41ce={_0x2cef9d:0x182};function _0xfeeee0(_0x3c4e6a,_0x58affc,_0xc0546d,_0x1f3cba){return _0x20dcc6(_0x3c4e6a,_0xc0546d-0xf4,_0xc0546d-_0xab41ce._0x2cef9d,_0x1f3cba-0x5);}const _0x48e3f6=_0x76e605[_0x3ee1f8(-_0x34424e._0x37028c,-_0x34424e._0xaa5dd4,-_0x34424e._0x51aa80,-_0x34424e._0xd1bc64)](_0x3deced['shellId'],_0x3deced[_0xfeeee0(_0x34424e._0x563214,_0x34424e._0x3abbc7,0x477,_0x34424e._0x5805ae)]?{'regex':_0x3deced[_0xfeeee0(_0x34424e._0x429b27,_0x34424e._0x14f4e6,0x477,0x36d)]}:void 0x0);function _0x3ee1f8(_0x1731f2,_0x3cf79a,_0x5329e1,_0x2936fe){return _0x69a887(_0x3cf79a,_0x3cf79a-_0x46df68._0x5fbbfe,_0x5329e1-0xf3,_0x1731f2- -0x73b);}return createToolOutput(_0x48e3f6[_0x3ee1f8(-0xad,-_0x34424e._0x445236,-0x12f,-_0x34424e._0x103489)],{'shellId':_0x3deced['shellId'],'status':_0x48e3f6[_0x3ee1f8(0x4f,0x5f,_0x34424e._0x4d8118,0xb6)],'exitCode':_0x48e3f6[_0x3ee1f8(-_0x34424e._0x512353,-0x20f,-0x129,-0x196)],'signal':_0x48e3f6['signal'],'truncated':_0x48e3f6['truncated']});}});}import{spawn as _0x4a3f08}from'child_process';import{statSync}from'fs';import*as _0x355e6d from'os';import*as _0x2cb0b5 from'path';import{StringDecoder as _0x559f10}from'string_decoder';import{stat}from'fs/promises';import*as _0x4ea1c5 from'path';function isPathInside(_0x2224d6,_0x479faf){const _0x360fd6={_0x4954e0:0x575,_0x9ddc09:0x5a4},_0x4628b5={_0x5bc040:0x33},_0x308774=_0x4ea1c5[_0x110a4c(0x44e,0x488,_0x360fd6._0x4954e0,_0x360fd6._0x9ddc09)](_0x2224d6);function _0x110a4c(_0x445099,_0x2e4511,_0x226fa4,_0x497dd0){return _0x475ba1(_0x497dd0,_0x226fa4-0x5ac,_0x226fa4-_0x4628b5._0x5bc040,_0x497dd0-0xa4);}const _0x2e57a3=_0x4ea1c5['relative'](_0x308774,_0x479faf);return _0x2e57a3===''||!_0x2e57a3['startsWith']('..')&&!_0x4ea1c5['isAbsolute'](_0x2e57a3);}function resolveWorkspacePath(_0x520442,_0x336764){return resolveAllowedPath(_0x520442,[],_0x336764);}function resolveAllowedPath(_0x1f15f4,_0x4adeff,_0x545501){const _0x490bcf={_0x33ef1e:0x172,_0x38850e:0x14a,_0x5aceb7:0x1d2,_0xca205e:0xd1,_0x22c1c0:0x55},_0x6fea17={_0x4a64d4:0x113},_0x534ec1={_0x5d2ac4:0x13c},_0x163d6b=_0x4ea1c5[_0x3e1a33(-_0x490bcf._0x33ef1e,-_0x490bcf._0x38850e,-0x29e,-0xae)](_0x1f15f4);function _0x2fb492(_0xc63024,_0x463945,_0x368635,_0x4682a7){return _0x475ba1(_0xc63024,_0x4682a7- -0x17c,_0x368635-_0x534ec1._0x5d2ac4,_0x4682a7-0x167);}function _0x3e1a33(_0x1b5c78,_0x3bc8d9,_0x3313d7,_0xc46b9c){return _0x475ba1(_0xc46b9c,_0x3bc8d9- -_0x6fea17._0x4a64d4,_0x3313d7-0x1d0,_0xc46b9c-0x7d);}const _0x271181=_0x4ea1c5[_0x3e1a33(-_0x490bcf._0x5aceb7,-_0x490bcf._0x38850e,-_0x490bcf._0xca205e,-_0x490bcf._0x22c1c0)](_0x163d6b,_0x545501),_0x2351c1=[_0x163d6b,..._0x4adeff['map'](_0x53f86e=>_0x4ea1c5[_0x3e1a33(-0xdd,-0x14a,-0x264,-0x1a2)](_0x53f86e))];if(_0x2351c1['some'](_0x52e782=>isPathInside(_0x52e782,_0x271181)))return _0x271181;throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x545501,{'path':_0x545501,'rootDir':_0x163d6b,'allowedDirs':_0x2351c1});}async function assertWorkspaceFile(_0x3a5cc1){const _0x3a14dc={_0x4ce8c5:0x101},_0x12343d=await stat(_0x3a5cc1);function _0x46e389(_0x1aca4a,_0x154900,_0x4318c5,_0x12c99b){return _0x475ba1(_0x154900,_0x12c99b-0x1df,_0x4318c5-0x1be,_0x12c99b-_0x3a14dc._0x4ce8c5);}if(!_0x12343d['isFile']())throw new ToolExecutionError(_0x46e389(0x29f,0x37f,0xe5,0x24c)+_0x3a5cc1,{'path':_0x3a5cc1});}function isProbablyBinary(_0x166802){const _0x2f5217={_0x26fc0a:0x351,_0x33102e:0x3e3,_0x4a3887:0x2fa},_0xf390fb={_0xb22378:0xb3};function _0x47263e(_0x51a8dd,_0x55beeb,_0x208cf8,_0x4efc5c){return _0x475ba1(_0x55beeb,_0x51a8dd-0x382,_0x208cf8-_0xf390fb._0xb22378,_0x4efc5c-0x122);}return _0x166802[_0x47263e(0x3ac,_0x2f5217._0x26fc0a,_0x2f5217._0x33102e,_0x2f5217._0x4a3887)](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x475ba1(0xaf,0x123,0x47,0x25)+DEFAULT_TIMEOUT_MS+_0x475ba1(0x2b7,0x149,0x2b7,0x18f);function buildChildEnv(_0x3006f6,_0x21742b){const _0x195586={_0x280131:0x50a,_0x4bca32:0x5f4,_0x20de06:0x59d,_0x18d4df:0x4a1,_0xb5dbda:0x204,_0x183e04:0x2be,_0x2ce89d:0x3f8,_0x3c3af5:0x278,_0x1506e6:0x4bc,_0x3b40d9:0x6c2,_0x1c9951:0x6a2,_0x42b567:0x4a7,_0x3f8630:0x40a},_0x5c3d46={_0x558ed0:0x533,_0x472290:0x7e,_0x18c637:0xa7},_0x2da219={_0x3d9f09:0x150,_0x2dcd69:0x1e3},_0x444abb={...process['env'],..._0x3006f6??{}};function _0x3f4ece(_0x2c5236,_0x2a4852,_0x153b1c,_0x1cc047){return _0x475ba1(_0x2a4852,_0x2c5236-_0x2da219._0x3d9f09,_0x153b1c-0x11,_0x1cc047-_0x2da219._0x2dcd69);}if(_0x21742b[_0x39fd4f(_0x195586._0x280131,0x73e,_0x195586._0x4bca32,0x72d)]===0x0)return _0x444abb;if(_0x355e6d['platform']()===_0x39fd4f(0x4e2,_0x195586._0x20de06,0x510,_0x195586._0x18d4df)){const _0x38a158=new Set(_0x21742b[_0x3f4ece(0x256,_0x195586._0xb5dbda,_0x195586._0x183e04,0x1bb)](_0x4c90a4=>_0x4c90a4[_0x39fd4f(0x80a,0x72a,0x712,0x7e7)]()));for(const _0x259197 of Object[_0x3f4ece(_0x195586._0x2ce89d,_0x195586._0x3c3af5,0x385,_0x195586._0x1506e6)](_0x444abb)){if(_0x38a158[_0x39fd4f(_0x195586._0x3b40d9,0x57c,_0x195586._0x1c9951,0x6a8)](_0x259197[_0x3f4ece(0x32f,_0x195586._0x42b567,0x37d,_0x195586._0x3f8630)]()))delete _0x444abb[_0x259197];}}else{for(const _0x4d04ee of _0x21742b)delete _0x444abb[_0x4d04ee];}function _0x39fd4f(_0x2246af,_0x47102a,_0x1b54fe,_0x1b105a){return _0x475ba1(_0x2246af,_0x1b54fe-_0x5c3d46._0x558ed0,_0x1b54fe-_0x5c3d46._0x472290,_0x1b105a-_0x5c3d46._0x18c637);}return _0x444abb;}function mapSpawnError(_0x3c3d27,_0x871a9e){const _0x5d6976={_0x37ad07:0x1f9,_0x2a7963:0x1ca,_0x75b42a:0xc4,_0x41b69d:0x26d},_0x4ac0d1={_0x5ac30c:0x2cd,_0x586045:0x26},_0x5b190b={_0x544ff9:0x64};if(isErrnoException(_0x3c3d27)&&_0x3c3d27[_0x3fde2b(_0x5d6976._0x37ad07,0x1de,_0x5d6976._0x2a7963,0x86)]==='ENOENT')return new ToolExecutionError(_0x3fde2b(0xfb,0x1d0,0x317,_0x5d6976._0x75b42a)+_0x871a9e[_0x3fde2b(_0x5d6976._0x41b69d,0x1a2,0x51,0x2fc)],_0x871a9e);function _0x568828(_0x4df1c3,_0x119cbf,_0x2ab534,_0x5cc339){return _0x511d68(_0x4df1c3-_0x5b190b._0x544ff9,_0x2ab534- -0x5b,_0x2ab534-0xba,_0x119cbf);}function _0x3fde2b(_0x3de185,_0x3e8b86,_0x143447,_0x11a4f6){return _0x511d68(_0x3de185-0x1d0,_0x3e8b86- -_0x4ac0d1._0x5ac30c,_0x143447-_0x4ac0d1._0x586045,_0x11a4f6);}return new ToolExecutionError(_0x3c3d27 instanceof Error?_0x3c3d27['message']:String(_0x3c3d27),_0x871a9e);}function shellExists(_0x2a4dc6){const _0x6b4440={_0x279d3c:0x520,_0x3f5bf2:0x42f,_0x55de93:0x541},_0x2da019={_0xe03398:0x192,_0x3fab69:0x54};function _0x496ee1(_0x5b0a67,_0x5b90a9,_0x1c62a7,_0x2361b3){return _0x511d68(_0x5b0a67-_0x2da019._0xe03398,_0x5b0a67-_0x2da019._0x3fab69,_0x1c62a7-0x14e,_0x1c62a7);}try{const _0x8d7fab=statSync(_0x2a4dc6);return _0x8d7fab['isFile']()&&(_0x8d7fab[_0x496ee1(_0x6b4440._0x279d3c,_0x6b4440._0x3f5bf2,0x44b,_0x6b4440._0x55de93)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x25a2c7){const _0x14d192={_0x489b5e:0x1be,_0x234549:0x7b,_0x5e1a17:0x185,_0xebce:0x152,_0x324a22:0x1ac,_0x2fb0a0:0x1fe,_0x2eae08:0x48e,_0x2d2d12:0x36b,_0x18cff5:0x35d,_0x246dfc:0x477,_0x94951f:0x6db,_0x297445:0x678,_0x8528e1:0x2b,_0x1b2647:0x61,_0x10a6bb:0xe3,_0x17c1ce:0x15b},_0x2ea956={_0x3eec15:0x4ab,_0x1502f6:0x151,_0x2e8445:0x1e1},_0x28e7ec={_0x3a464f:0x7a};function _0x4c1dce(_0x3087f4,_0x20e94e,_0x23149b,_0x3ce86d){return _0x511d68(_0x3087f4-0x3f,_0x23149b- -0x57c,_0x23149b-_0x28e7ec._0x3a464f,_0x3087f4);}if(_0x25a2c7)return _0x25a2c7;function _0x271beb(_0x1b6b28,_0x6d81b1,_0x2f0338,_0x4fedb4){return _0x475ba1(_0x6d81b1,_0x4fedb4-_0x2ea956._0x3eec15,_0x2f0338-_0x2ea956._0x1502f6,_0x4fedb4-_0x2ea956._0x2e8445);}if(_0x355e6d[_0x4c1dce(-_0x14d192._0x489b5e,-0x1b0,-0xa4,-0x109)]()===_0x4c1dce(-_0x14d192._0x234549,-_0x14d192._0x5e1a17,-_0x14d192._0xebce,-0x244))return process['env'][_0x4c1dce(0xf7,0x88,0x128,_0x14d192._0x324a22)]||'cmd.exe';const _0x1aa365=[_0x4c1dce(0x179,_0x14d192._0x2fb0a0,0x15b,0x21d),_0x271beb(_0x14d192._0x2eae08,_0x14d192._0x2d2d12,_0x14d192._0x18cff5,_0x14d192._0x246dfc),'/usr/bin/bash',_0x271beb(_0x14d192._0x94951f,_0x14d192._0x297445,0x7ae,0x6a6)];for(const _0x29fc5a of _0x1aa365){if(shellExists(_0x29fc5a))return _0x29fc5a;}const _0x5c3df5=process[_0x4c1dce(-0x14,-_0x14d192._0x8528e1,-_0x14d192._0x1b2647,-_0x14d192._0x10a6bb)]['SHELL'];if(_0x5c3df5&&shellExists(_0x5c3df5))return _0x5c3df5;return _0x4c1dce(0x7c,0x1ca,_0x14d192._0x17c1ce,0x213);}function buildShellArgs(_0x60bd1d,_0x1d5a52){const _0x4c4dbe={_0xe9cf5f:0x592,_0x54a3f1:0x3a3,_0x5e5af9:0x2be,_0x343d78:0x442,_0x291a2c:0x2dc,_0x321f5f:0x2b3,_0x3ef39d:0x225,_0x4ade88:0x343,_0x2dfacd:0x3a7},_0xe399d={_0x256253:0x44,_0x9cda8f:0x2bb,_0x8ff064:0x188};function _0x66881c(_0x84a1d9,_0x1bd5be,_0x5efd08,_0x7ed18a){return _0x511d68(_0x84a1d9-_0xe399d._0x256253,_0x7ed18a- -_0xe399d._0x9cda8f,_0x5efd08-_0xe399d._0x8ff064,_0x5efd08);}if(_0x355e6d[_0x66881c(0x1e8,0x2e0,0xc5,0x21d)]()===_0x66881c(0x200,0x195,0x1b1,0x16f)){const _0x13edeb=/cmd(\.exe)?$/i[_0x66881c(_0x4c4dbe._0xe9cf5f,_0x4c4dbe._0x54a3f1,_0x4c4dbe._0x5e5af9,_0x4c4dbe._0x343d78)](_0x1d5a52);return _0x13edeb?['/d','/s','/c',_0x60bd1d]:[_0x3f37c6(0x3b5,_0x4c4dbe._0x291a2c,_0x4c4dbe._0x321f5f,_0x4c4dbe._0x3ef39d),_0x66881c(_0x4c4dbe._0x4ade88,0x2af,0x4eb,_0x4c4dbe._0x2dfacd),_0x3f37c6(0x1ba,0xde,0x14d,0xec),_0x60bd1d];}function _0x3f37c6(_0x43dcb4,_0x8df14c,_0x438cd9,_0xb78aa7){return _0x475ba1(_0x43dcb4,_0x438cd9-0x171,_0x438cd9-0x151,_0xb78aa7-0x1ca);}return['-c',_0x60bd1d];}function resolveWorkingDirectory(_0x4d0eb4,_0x50a5e8,_0x43e5eb){const _0x35fa8d={_0x3ee3b3:0x4aa,_0x5714e6:0x536},_0x539522={_0x35a018:0x2a6};function _0x422de9(_0x25b8d6,_0x30951b,_0x19a4b4,_0x205175){return _0x475ba1(_0x205175,_0x19a4b4-_0x539522._0x35a018,_0x19a4b4-0x2b,_0x205175-0x1de);}const _0x685439=resolveAllowedPath(_0x50a5e8,_0x43e5eb,_0x4d0eb4??'.');try{const _0x49a25e=statSync(_0x685439);if(!_0x49a25e['isDirectory']())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x685439,{'cwd':_0x685439});return _0x685439;}catch(_0x45a456){if(_0x45a456 instanceof ToolExecutionError)throw _0x45a456;throw new ToolExecutionError(_0x422de9(_0x35fa8d._0x3ee3b3,0x559,_0x35fa8d._0x5714e6,0x46e)+_0x685439,{'cwd':_0x685439});}}function emitChunk(_0x2caa57,_0x3553c9,_0x1f2285,_0x5ecc61){const _0x56d538={_0x47ee32:0x7b,_0x303851:0x10a,_0x5e1a70:0xde},_0x19aeba={_0x2ab5a9:0x15c},_0x4677e0={_0xd4b9e8:0x6d,_0x2b9186:0x593};_0x2caa57[_0x23af39(-0x17c,-0x9e,-0x170,-0xe1)](_0x1f2285);function _0x23af39(_0x5ac155,_0x4f5571,_0x265e56,_0x51b9f1){return _0x511d68(_0x5ac155-_0x4677e0._0xd4b9e8,_0x5ac155- -_0x4677e0._0x2b9186,_0x265e56-0x100,_0x4f5571);}_0x3553c9[_0x258cec(_0x56d538._0x47ee32,-_0x56d538._0x303851,0xdd,_0x56d538._0x5e1a70)](_0x1f2285);function _0x258cec(_0x295892,_0x450c81,_0x2f6ebe,_0x565fe0){return _0x511d68(_0x295892-0x14f,_0x295892- -0x39c,_0x2f6ebe-_0x19aeba._0x2ab5a9,_0x565fe0);}_0x5ecc61();}function appendChunk(_0x4ba739,_0x43ec90,_0x114b0c,_0x784aa1,_0x5201bf,_0x1ab07c){const _0xb384e4={_0x183828:0x9,_0xbd217a:0x76,_0x531e51:0x1e1,_0x1aab77:0xae,_0x456850:0x53,_0x27a570:0x1da,_0x29cfe0:0x241,_0x15edde:0x84,_0x304412:0xee,_0x1aa15f:0x21a,_0x5bb98e:0x31,_0x4987dd:0x1f1,_0x1fb67e:0x284,_0x5b3170:0xe5,_0xd67510:0x32b,_0x3f9783:0x50,_0x33c615:0x1c4,_0x507437:0x1f8,_0x51773b:0x92,_0x145db7:0x48,_0x42f850:0xe9,_0x348281:0x217,_0x207293:0x14f,_0x2fc0ce:0x135,_0x2559d1:0x6b,_0x3cdea9:0x17c},_0x60bd2a={_0x471ebb:0xd0},_0x1cc7e7={_0x45453c:0x2d},_0x15abf8=_0x784aa1?stripAnsiAndControls(_0x114b0c):_0x114b0c;if(_0x15abf8[_0x1a7e39(_0xb384e4._0x183828,0x122,0x25,0x12)]===0x0)return;if(!_0x1ab07c){emitChunk(_0x4ba739,_0x43ec90,_0x15abf8,_0x5201bf);return;}function _0x1df4d1(_0x76f567,_0x4bcc6b,_0xb686e2,_0x11c9b3){return _0x511d68(_0x76f567-0x120,_0x4bcc6b- -0x425,_0xb686e2-_0x1cc7e7._0x45453c,_0xb686e2);}function _0x1a7e39(_0x5487d8,_0x3e0e1f,_0x4463d5,_0x9eac27){return _0x475ba1(_0x3e0e1f,_0x5487d8- -0xb8,_0x4463d5-0x10e,_0x9eac27-_0x60bd2a._0x471ebb);}let _0x5acf37=0x0,_0x3634d8=_0x15abf8[_0x1a7e39(-_0xb384e4._0xbd217a,-_0xb384e4._0x531e51,-_0xb384e4._0x1aab77,-_0xb384e4._0x456850)]('\x0a');while(_0x3634d8>=0x0){_0x1ab07c[_0x1a7e39(_0xb384e4._0x27a570,_0xb384e4._0x29cfe0,_0xb384e4._0x15edde,0x19c)][_0x1a7e39(-_0xb384e4._0x304412,-0x213,-0x81,-_0xb384e4._0x1aa15f)](_0x15abf8[_0x1df4d1(_0xb384e4._0x5bb98e,0x75,0x1d1,0x115)](_0x5acf37,_0x3634d8));const _0x524075=_0x1ab07c['trailingChunks'][_0x1a7e39(_0xb384e4._0x4987dd,_0xb384e4._0x1fb67e,0x2aa,_0xb384e4._0x5b3170)]('');_0x1ab07c[_0x1a7e39(_0xb384e4._0x27a570,0x68,0x182,_0xb384e4._0xd67510)][_0x1df4d1(-0x29,0xe9,-_0xb384e4._0x3f9783,0x25c)]=0x0,_0x1ab07c[_0x1a7e39(-0x88,-_0xb384e4._0x33c615,-0x1fd,0xfc)][_0x1a7e39(_0xb384e4._0x507437,0x286,_0xb384e4._0x51773b,0x2c2)](_0x524075)&&emitChunk(_0x4ba739,_0x43ec90,_0x524075+'\x0a',_0x5201bf),_0x5acf37=_0x3634d8+0x1,_0x3634d8=_0x15abf8['indexOf']('\x0a',_0x5acf37);}_0x5acf37<_0x15abf8[_0x1df4d1(_0xb384e4._0x145db7,_0xb384e4._0x42f850,_0xb384e4._0x348281,_0xb384e4._0x207293)]&&_0x1ab07c['trailingChunks'][_0x1a7e39(-_0xb384e4._0x304412,-_0xb384e4._0x2fc0ce,0x9,-0x1d7)](_0x15abf8[_0x1a7e39(-_0xb384e4._0x2559d1,0x8e,-_0xb384e4._0x3cdea9,-0xdb)](_0x5acf37));}function flushOutputRegex(_0x42e7fb,_0x29e8f9,_0x34c6b0,_0x19ee83){const _0x34a397={_0x39ddd6:0x6e4,_0x337443:0x7ef,_0x25f414:0x835,_0x3dd416:0x118,_0x5a84ea:0x724,_0x1b9532:0x76c,_0x1e3492:0x7c8,_0x21c641:0x86a,_0x2c5275:0x8f3,_0x5d159d:0x7b2,_0x5679eb:0x7c8,_0x1de09a:0xf9,_0x258d8b:0x37a,_0x4febbf:0x4c6,_0x35054f:0x566,_0x4a383f:0x451,_0x5c4fd7:0x700},_0x3340b3={_0x413a7d:0x1c5},_0xb327e0={_0x15eddc:0x11f,_0x5b8fe9:0xe9};function _0x51fb93(_0x59cd99,_0x696ea,_0x427bcd,_0x3bf92d){return _0x511d68(_0x59cd99-_0xb327e0._0x15eddc,_0x427bcd-_0xb327e0._0x5b8fe9,_0x427bcd-0xef,_0x3bf92d);}if(!_0x34c6b0||_0x34c6b0[_0x51fb93(_0x34a397._0x39ddd6,_0x34a397._0x337443,0x7c8,_0x34a397._0x25f414)][_0x2ba8c5(0x189,0x93,0x1ff,_0x34a397._0x3dd416)]===0x0)return;const _0xd98abe=_0x34c6b0[_0x51fb93(_0x34a397._0x5a84ea,_0x34a397._0x1b9532,_0x34a397._0x1e3492,0x6eb)][_0x51fb93(0x7f9,_0x34a397._0x21c641,0x7df,_0x34a397._0x2c5275)]('');_0x34c6b0[_0x51fb93(0x6ef,_0x34a397._0x5d159d,_0x34a397._0x5679eb,0x882)][_0x2ba8c5(_0x34a397._0x1de09a,_0x34a397._0x258d8b,0x1ff,0x23a)]=0x0;function _0x2ba8c5(_0x3b15e7,_0x59ae0e,_0x29c9c9,_0x516e89){return _0x511d68(_0x3b15e7-0x118,_0x29c9c9- -0x30f,_0x29c9c9-_0x3340b3._0x413a7d,_0x3b15e7);}_0x34c6b0[_0x51fb93(_0x34a397._0x4febbf,0x48f,_0x34a397._0x35054f,_0x34a397._0x4a383f)][_0x51fb93(0x963,_0x34a397._0x5c4fd7,0x7e6,0x71b)](_0xd98abe)&&emitChunk(_0x42e7fb,_0x29e8f9,_0xd98abe,_0x19ee83);}function createBashTool(_0x4ccb5c={}){const _0x7431d5={_0x4e94f4:0x49c,_0x27eea6:0x513,_0x5df1fb:0x43b,_0x2b837a:0x3ca,_0x358d44:0x3f8,_0x51c80a:0x456,_0x1dd7c8:0x651,_0x136717:0x743,_0x45fb3c:0x75d,_0x37cf9d:0x5ec,_0x483929:0x5a7,_0x3fcad9:0x731,_0x3d2172:0x7a1,_0x53c4e1:0x775,_0x403b2b:0x5c5,_0x3e76eb:0x676,_0x58cf2a:0x73a,_0x95d2a:0x79d,_0x587fb2:0x88b,_0x5d1034:0x4a6,_0x38289b:0x3fe,_0x20478d:0x3ed,_0x4da310:0x673,_0x195833:0x61c,_0x4da737:0x6f2,_0x351b17:0x5ff,_0x514a21:0x4a3,_0x43d3d5:0x698,_0x2f93e5:0x6f1,_0xce5ae0:0x643,_0x53e69f:0x702,_0x28a823:0x6d0,_0x48e93c:0x63b,_0x198929:0x730,_0x3beb9f:0x5be,_0x37a6a3:0x532,_0x2aead6:0x729,_0x53a4f7:0x646,_0xd4ee1c:0x5c9,_0x2d3869:0x3c8,_0x3eaba6:0x5a9},_0x2ff680={_0x49b6a8:0x612,_0x226ae6:0x69c,_0x1f742b:0x670,_0x2e74cc:0x51d,_0x43b80d:0x5ce,_0x43236d:0x3e4,_0x5cb998:0x506,_0x1eb6ab:0x810,_0x1fce4f:0x78d,_0x47c132:0x786,_0x5ac59e:0x6b1,_0x15f742:0x49c,_0x3c0ee5:0x4a4,_0x19a7ec:0x39e,_0x7d5cdc:0x54a,_0x552856:0x538,_0x12fc06:0x50d,_0x34558c:0x3fc,_0x17bdb2:0x3b2,_0x53093f:0x492,_0x524310:0x596,_0x25cdc9:0x449,_0x16f1f7:0x506,_0x45e42f:0x65d,_0x44e883:0x718,_0x6edbc5:0x650,_0x4cc438:0x7e9,_0x4bc7f3:0x60c,_0x207f79:0x50d,_0x36038c:0x588,_0xd72063:0x63b,_0x506f11:0x590,_0x48ba02:0x4ee,_0x2adc83:0x6bd,_0x3d748f:0x607,_0xb684cb:0x740,_0x40f292:0x67e,_0x5896d8:0x4f9,_0x5e79c8:0x652,_0x5831b5:0x709,_0x1814e3:0x46e,_0x3ad1b1:0x535,_0x496e6f:0x58f,_0x2764d4:0x598,_0x21107d:0x5b9,_0x4ded25:0x6b2,_0x4164b2:0x4fc,_0x74aced:0x699,_0x52c3ed:0x3e9,_0x416efc:0x573,_0x25dc20:0x44f,_0x2e2aeb:0x343,_0x1afdd4:0x44f,_0x458bf0:0x391,_0xb23915:0x315,_0x581ec3:0x49a,_0x1b2998:0x394,_0x104da9:0x8ba,_0x27f0c4:0x809,_0x2b1dee:0x74a,_0x45d2ab:0x568,_0x4f93eb:0x4f7,_0x3645c4:0x636,_0x26b864:0x59c,_0x26cb30:0x6e2,_0x1ceac3:0x564,_0x1ccf5d:0x4be,_0x54e045:0x677,_0x55f15d:0x5fe,_0x532f48:0x69d,_0x4fe795:0x543,_0x53259b:0x57b,_0x5d6a16:0x58e,_0x37d107:0x69d,_0x29a8ed:0x703,_0x28fba6:0x614,_0x59f0fd:0x77e,_0x35fab9:0x4d6,_0x3a4e09:0x618,_0xfab3d7:0x71b,_0x4afa1b:0x5e9,_0x16a75e:0x4e0,_0x47cf16:0x638,_0x4377a9:0x8aa,_0x1b1cd0:0x776,_0x2fa8fe:0x70a,_0x2e48f5:0x5b2,_0x43320a:0x61b,_0x31e0ef:0x71a,_0x5a6c21:0x669,_0x432e7c:0x53d,_0x4022f8:0x499,_0x18b6b6:0x3f5,_0x270231:0x5c1,_0x274e55:0x67e,_0x53c2ae:0x50e,_0x42699a:0x676,_0x7c47a8:0x5fe,_0x58e159:0x5d8,_0x6e2bfb:0x5e7,_0x57a202:0x3ad,_0x5ce7de:0x742},_0x23b258={_0x4d5180:0x512,_0x2812bb:0x5b2,_0x5df263:0x612,_0x11e38b:0x5fc,_0x55dc8c:0x607,_0x4f14d1:0x777,_0x572cf1:0x116,_0x53d3d8:0x43,_0x3fed41:0x3b},_0x195676={_0xf7ca87:0x876,_0x39e209:0x7a5},_0x23050b={_0x1169ad:0x352,_0x985256:0x5e0},_0x15e40a={_0x41b208:0x4b,_0x2b8f34:0x16e},_0x433473={_0xc125b3:0x482,_0x2ca472:0x70,_0x3ae9ce:0x130},_0x8a7613={_0x382803:0x1bc},_0x48dba0=_0x2cb0b5[_0x108b15(0x54e,_0x7431d5._0x4e94f4,0x6c1,_0x7431d5._0x27eea6)](_0x4ccb5c[_0x42f30a(_0x7431d5._0x5df1fb,_0x7431d5._0x2b837a,_0x7431d5._0x358d44,_0x7431d5._0x51c80a)]??process[_0x108b15(0x7c2,0x64b,0x828,_0x7431d5._0x1dd7c8)]()),_0x4c5005=_0x4ccb5c[_0x108b15(0x6ac,_0x7431d5._0x136717,0x800,_0x7431d5._0x45fb3c)]??[],_0x5c5816=_0x4ccb5c[_0x108b15(_0x7431d5._0x37cf9d,_0x7431d5._0x483929,0x73a,0x5d4)]??DEFAULT_TIMEOUT_MS,_0xb0de4e=_0x4ccb5c['stripAnsi']??!![],_0x54254c=_0x4ccb5c[_0x108b15(0x6a7,0x593,0x74c,0x53f)]??_0x42f30a(_0x7431d5._0x3fcad9,0x702,_0x7431d5._0x3d2172,_0x7431d5._0x53c4e1);function _0x108b15(_0x3334a4,_0x22f562,_0x1f5f85,_0xb19424){return _0x511d68(_0x3334a4-_0x8a7613._0x382803,_0x3334a4-0x138,_0x1f5f85-0xfc,_0xb19424);}function _0x42f30a(_0x25fb4d,_0x1058ac,_0x258647,_0x2617a8){return _0x475ba1(_0x2617a8,_0x25fb4d-_0x433473._0xc125b3,_0x258647-_0x433473._0x2ca472,_0x2617a8-_0x433473._0x3ae9ce);}const _0x15fb45=_0x4ccb5c[_0x108b15(_0x7431d5._0x403b2b,0x665,_0x7431d5._0x3e76eb,_0x7431d5._0x58cf2a)]??[],_0x3d7ba2=_0x4ccb5c[_0x108b15(_0x7431d5._0x95d2a,_0x7431d5._0x587fb2,0x87b,0x6b3)];return defineTool({'name':_0x54254c,'description':_0x4ccb5c[_0x42f30a(_0x7431d5._0x5d1034,_0x7431d5._0x38289b,0x36f,_0x7431d5._0x20478d)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x108b15(0x74b,0x688,0x725,0x842),'properties':{'command':{'type':_0x108b15(0x702,_0x7431d5._0x4da310,_0x7431d5._0x195833,_0x7431d5._0x4da737)},'description':{'type':_0x42f30a(_0x7431d5._0x351b17,_0x7431d5._0x514a21,_0x7431d5._0x43d3d5,_0x7431d5._0x2f93e5),'description':_0x108b15(0x778,_0x7431d5._0xce5ae0,_0x7431d5._0x4da310,0x8cd)},'cwd':{'type':_0x108b15(_0x7431d5._0x53e69f,_0x7431d5._0x28a823,0x810,0x761)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':_0x42f30a(_0x7431d5._0x48e93c,0x4c1,_0x7431d5._0x198929,_0x7431d5._0x3beb9f)},'outputRegex':{'type':_0x42f30a(_0x7431d5._0x351b17,0x571,0x764,_0x7431d5._0x37a6a3),'description':_0x42f30a(_0x7431d5._0x2aead6,_0x7431d5._0x53a4f7,0x801,_0x7431d5._0xd4ee1c)},'runInBackground':{'type':'boolean'}},'required':[_0x42f30a(0x4bb,0x5dd,0x39b,_0x7431d5._0x2d3869),_0x108b15(_0x7431d5._0x3eaba6,0x718,0x607,0x475)]},async *'execute'(_0x18cc09,_0x41d119){const _0x5447a6={_0x120016:0x100,_0x5c5b7f:0x27,_0x55d6a8:0xa1,_0x5b7268:0x1aa,_0x3478ce:0x257,_0x344a2e:0x13a,_0x216be3:0x6a2,_0x2c86d1:0x4f4,_0x31d795:0x473},_0xe3d976={_0x11ec3e:0x7f3,_0x55cc81:0x77e},_0x730a9f={_0x4e5dfe:0x188,_0x541b7f:0x95,_0x4faa59:0x13d},_0x2848d1={_0x129b39:0x2e3,_0x1df5a6:0x335},_0x23d87e={_0x15f995:0x103,_0x404da0:0x1a3,_0x5e57c4:0x12},_0x4a2cbf=_0x18cc09[_0x36762a(0x6eb,0x563,_0x2ff680._0x49b6a8,_0x2ff680._0x226ae6)]??_0x5c5816;function _0x36762a(_0x6e464a,_0x13fd31,_0x1e5e57,_0x577058){return _0x108b15(_0x1e5e57- -_0x23d87e._0x15f995,_0x13fd31-_0x23d87e._0x404da0,_0x1e5e57-_0x23d87e._0x5e57c4,_0x6e464a);}if(!Number[_0x36762a(0x34f,0x604,0x4b9,0x3e9)](_0x4a2cbf)||_0x4a2cbf<0x1)throw new ToolExecutionError(_0x36762a(_0x2ff680._0x1f742b,0x5ec,_0x2ff680._0x2e74cc,_0x2ff680._0x43b80d),{'command':_0x18cc09[_0x2db62e(0x3d4,_0x2ff680._0x43236d,_0x2ff680._0x5cb998,0x549)]});throwIfAborted(_0x41d119[_0x2db62e(0x62a,_0x2ff680._0x1eb6ab,0x71a,_0x2ff680._0x1fce4f)]);const _0x3e08f4=resolveWorkingDirectory(_0x18cc09[_0x2db62e(0x6ba,_0x2ff680._0x47c132,0x70a,_0x2ff680._0x5ac59e)],_0x48dba0,_0x4c5005),_0x24c9dd=_0x18cc09['ignoreOutput']??![],_0x72acee=resolveDefaultShell(_0x4ccb5c[_0x36762a(_0x2ff680._0x15f742,0x477,_0x2ff680._0x3c0ee5,_0x2ff680._0x19a7ec)]),_0x4784ee=buildShellArgs(_0x18cc09[_0x2db62e(_0x2ff680._0x7d5cdc,_0x2ff680._0x552856,_0x2ff680._0x5cb998,0x57c)],_0x72acee),_0x56237d=_0x355e6d[_0x36762a(0x57d,0x3f5,_0x2ff680._0x12fc06,_0x2ff680._0x34558c)]()==='win32';if(_0x18cc09[_0x2db62e(0x497,_0x2ff680._0x17bdb2,_0x2ff680._0x53093f,0x5db)]){if(!_0x3d7ba2)throw new ToolExecutionError(_0x36762a(_0x2ff680._0x524310,0x768,0x6fa,0x606),{'command':_0x18cc09[_0x2db62e(_0x2ff680._0x25cdc9,0x40c,_0x2ff680._0x16f1f7,_0x2ff680._0x45e42f)]});throwIfAborted(_0x41d119[_0x36762a(_0x2ff680._0x44e883,0x74b,0x6cf,0x676)]);let _0x48de2d;try{_0x48de2d=_0x4a3f08(_0x72acee,_0x4784ee,{'cwd':_0x3e08f4,'env':buildChildEnv(_0x4ccb5c['env'],_0x15fb45),'stdio':['ignore','pipe',_0x36762a(_0x2ff680._0x6edbc5,0x631,0x6ff,_0x2ff680._0x4cc438)],'shell':![],'windowsHide':!![],'detached':!_0x56237d});}catch(_0x16f107){throw mapSpawnError(_0x16f107,{'command':_0x18cc09['command'],'cwd':_0x3e08f4,'shellPath':_0x72acee});}let _0x274126;try{_0x274126=_0x3d7ba2[_0x36762a(_0x2ff680._0x4bc7f3,0x47c,0x5b8,0x506)]({'child':_0x48de2d,'command':_0x18cc09[_0x2db62e(_0x2ff680._0x207f79,_0x2ff680._0x36038c,0x506,0x4ab)],'cwd':_0x3e08f4,'stripAnsi':_0xb0de4e});}catch(_0x2f2221){_0x48de2d['once'](_0x36762a(0x649,0x6c0,0x69e,_0x2ff680._0xd72063),()=>{});try{killProcessGroup(_0x48de2d,_0x56237d);}catch{}throw _0x2f2221;}return createToolOutput('Started\x20background\x20process\x20'+_0x274126[_0x36762a(_0x2ff680._0x506f11,_0x2ff680._0x48ba02,0x607,0x5d1)]+_0x36762a(0x654,0x6e6,_0x2ff680._0x2adc83,0x633)+(_0x274126['pid']??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x274126[_0x36762a(0x704,0x71e,_0x2ff680._0x3d748f,0x5ab)],'status':_0x274126[_0x2db62e(0x62d,_0x2ff680._0xb684cb,_0x2ff680._0x40f292,_0x2ff680._0x5896d8)],'command':_0x274126['command'],'description':_0x18cc09[_0x36762a(0x53b,0x402,0x4a6,0x4a5)],'cwd':_0x274126[_0x36762a(0x6a0,_0x2ff680._0x5e79c8,0x6bf,_0x2ff680._0x5831b5)],'pid':_0x274126[_0x2db62e(0x4eb,_0x2ff680._0x1814e3,_0x2ff680._0x3ad1b1,_0x2ff680._0x496e6f)]??null});}let _0x56a9dd,_0x595bcc;if(_0x18cc09[_0x2db62e(0x4da,0x5a2,_0x2ff680._0x2764d4,0x54e)]!==void 0x0)try{const _0x46fde7=new RegExp(_0x18cc09[_0x36762a(_0x2ff680._0x21107d,_0x2ff680._0x4ded25,0x54d,_0x2ff680._0x4164b2)]);_0x56a9dd={'regex':_0x46fde7,'trailingChunks':[]},_0x595bcc={'regex':_0x46fde7,'trailingChunks':[]};}catch(_0x58cd37){throw new ToolExecutionError(_0x2db62e(0x5ab,0x73d,_0x2ff680._0x74aced,0x7c5)+(_0x58cd37 instanceof Error?_0x58cd37['message']:String(_0x58cd37)),{'command':_0x18cc09['command'],'outputRegex':_0x18cc09['outputRegex']});}let _0x1ccf7f;try{_0x1ccf7f=_0x4a3f08(_0x72acee,_0x4784ee,{'cwd':_0x3e08f4,'env':buildChildEnv(_0x4ccb5c[_0x36762a(0x537,0x61a,0x550,_0x2ff680._0x52c3ed)],_0x15fb45),'stdio':_0x24c9dd?[_0x36762a(0x3ad,_0x2ff680._0x416efc,_0x2ff680._0x25dc20,_0x2ff680._0x2e2aeb),_0x36762a(_0x2ff680._0x3c0ee5,0x572,_0x2ff680._0x1afdd4,0x4de),'ignore']:[_0x2db62e(_0x2ff680._0x458bf0,_0x2ff680._0xb23915,_0x2ff680._0x581ec3,_0x2ff680._0x1b2998),_0x2db62e(_0x2ff680._0x104da9,_0x2ff680._0x27f0c4,_0x2ff680._0x2b1dee,0x641),_0x2db62e(0x604,0x681,0x74a,0x700)],'shell':![],'windowsHide':!![],'detached':!_0x56237d});}catch(_0x48c09b){throw mapSpawnError(_0x48c09b,{'command':_0x18cc09[_0x36762a(0x5b4,0x35d,0x4bb,0x578)],'cwd':_0x3e08f4,'shellPath':_0x72acee});}const _0x107fb7=[],_0x31d4e8=[];function _0x2db62e(_0x172083,_0x4544a7,_0x4f7055,_0x3b9cd0){return _0x42f30a(_0x4f7055-_0x15e40a._0x41b208,_0x4544a7-0x19f,_0x4f7055-_0x15e40a._0x2b8f34,_0x3b9cd0);}const _0x5adc17=new _0x559f10(_0x36762a(0x5bf,0x537,0x663,_0x2ff680._0x45d2ab)),_0x310ee1=new _0x559f10('utf8');let _0x319cf3,_0x273f9f=![],_0x45714e;const _0x36397a=()=>{if(!_0x319cf3)return;const _0x4f301b=_0x319cf3;_0x319cf3=void 0x0,_0x4f301b();},_0x2b7564=async()=>{const _0x753dba={_0x57b6c8:0x20e,_0x2edca9:0xad};function _0x570b60(_0x20d9d0,_0x161348,_0x55085c,_0x1419c){return _0x36762a(_0x161348,_0x161348-0x5a,_0x1419c- -_0x753dba._0x57b6c8,_0x1419c-_0x753dba._0x2edca9);}if(_0x31d4e8[_0x570b60(0x29c,_0x2848d1._0x129b39,0x288,_0x2848d1._0x1df5a6)]>0x0||_0x273f9f)return;await new Promise(_0x58b10f=>{_0x319cf3=_0x58b10f;});},_0x1ae659=_0x8584c7=>{function _0x33f08e(_0x303c12,_0x421eab,_0x1e2048,_0x2c4a22){return _0x2db62e(_0x303c12-0xfd,_0x421eab-0x1cc,_0x1e2048-0x10c,_0x303c12);}appendChunk(_0x107fb7,_0x31d4e8,_0x5adc17[_0x33f08e(0x6cb,0x5d4,0x71a,0x765)](_0x8584c7),_0xb0de4e,_0x36397a,_0x56a9dd);},_0x2b18a7=_0x142aa3=>{function _0x493aa5(_0x61df8c,_0x206683,_0xeda94f,_0x73fa20){return _0x2db62e(_0x61df8c-_0x730a9f._0x4e5dfe,_0x206683-_0x730a9f._0x541b7f,_0x73fa20- -_0x730a9f._0x4faa59,_0x206683);}appendChunk(_0x107fb7,_0x31d4e8,_0x310ee1[_0x493aa5(_0x23050b._0x1169ad,_0x23050b._0x985256,0x471,0x4d1)](_0x142aa3),_0xb0de4e,_0x36397a,_0x595bcc);};_0x1ccf7f[_0x36762a(_0x2ff680._0x4f93eb,0x708,0x64b,_0x2ff680._0x3645c4)]?.['on'](_0x2db62e(0x77e,0x5f9,0x649,0x659),_0x1ae659),_0x1ccf7f[_0x36762a(0x633,_0x2ff680._0x26b864,_0x2ff680._0x26cb30,_0x2ff680._0x1ceac3)]?.['on'](_0x36762a(_0x2ff680._0x1ccf5d,_0x2ff680._0x54e045,_0x2ff680._0x55f15d,_0x2ff680._0x532f48),_0x2b18a7);let _0x459c09=![],_0x3a0756;const _0x37ce68=addAbortListener(_0x41d119['signal'],()=>{const _0x27b762={_0x4d61af:0x175,_0x37d30d:0x8b};function _0x48f935(_0xd0502,_0x4dda3b,_0x3e6dfc,_0x171ca3){return _0x2db62e(_0xd0502-_0x27b762._0x4d61af,_0x4dda3b-0x1ac,_0x4dda3b-_0x27b762._0x37d30d,_0x171ca3);}_0x45714e=toAbortError(_0x41d119[_0x48f935(_0x195676._0xf7ca87,_0x195676._0x39e209,0x6a1,0x658)]['reason']),_0x273f9f=!![],_0x36397a();try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}});try{const _0x10241e=new Promise((_0x2a81b9,_0x229559)=>{const _0xc8d7b5={_0x106615:0x185,_0x18c165:0x164,_0x6316c6:0x2a},_0x30b818={_0x4e6a07:0x3bf},_0x4999d4={_0x2b8165:0x1d2,_0x769c8c:0x332,_0x36221d:0x25b,_0x24942b:0x16e,_0x39db16:0x627,_0x54e94e:0x631,_0x142c1e:0x178},_0x1ae7fb={_0x20f5e1:0x199},_0x5343c2={_0xef52ec:0x599};function _0x29c625(_0xe386ae,_0x105e79,_0x1b60fa,_0x502f96){return _0x2db62e(_0xe386ae-0x171,_0x105e79-0x136,_0x502f96- -_0x5343c2._0xef52ec,_0x1b60fa);}const _0x41373b=()=>{_0x3a0756&&(clearTimeout(_0x3a0756),_0x3a0756=void 0x0);function _0x11eecf(_0xe6afb4,_0x54e42a,_0x261354,_0x167be7){return _0x4a14(_0x54e42a- -_0x1ae7fb._0x20f5e1,_0x167be7);}function _0x3463d3(_0x1d2877,_0x465a7c,_0x231f0f,_0x1bff14){return _0x4a14(_0x231f0f-0x3b8,_0x1bff14);}_0x1ccf7f[_0x11eecf(0x1e6,_0x4999d4._0x2b8165,_0x4999d4._0x769c8c,0xad)](_0x11eecf(_0x4999d4._0x36221d,0x27e,_0x4999d4._0x24942b,0x1b3),_0x1c4c66),_0x1ccf7f[_0x3463d3(_0x4999d4._0x39db16,0x76f,0x723,_0x4999d4._0x54e94e)](_0x11eecf(_0x4999d4._0x142c1e,0x9a,0x1fc,0x1b6),_0x13f153);},_0x1c4c66=_0x19b36d=>{_0x273f9f=!![],_0x36397a(),_0x41373b(),_0x229559(_0x45714e??_0x19b36d);},_0x13f153=(_0x47226a,_0x1574ef)=>{_0x459c09=!![],appendChunk(_0x107fb7,_0x31d4e8,_0x5adc17[_0xb12b9a(_0xe3d976._0x11ec3e,0x8d2,_0xe3d976._0x55cc81,0x775)](),_0xb0de4e,_0x36397a,_0x56a9dd),appendChunk(_0x107fb7,_0x31d4e8,_0x310ee1['end'](),_0xb0de4e,_0x36397a,_0x595bcc),flushOutputRegex(_0x107fb7,_0x31d4e8,_0x56a9dd,_0x36397a);function _0xb12b9a(_0x16f696,_0x1b9144,_0x37b44b,_0xbad45f){return _0x4a14(_0x37b44b-0x371,_0x16f696);}flushOutputRegex(_0x107fb7,_0x31d4e8,_0x595bcc,_0x36397a),_0x273f9f=!![],_0x36397a(),_0x41373b();if(_0x45714e){_0x229559(_0x45714e);return;}_0x2a81b9({'code':_0x47226a,'signal':_0x1574ef});};_0x3a0756=setTimeout(()=>{_0x273f9f=!![],_0x36397a();function _0x3e1161(_0x18d9fc,_0xda1c65,_0x53e128,_0x2c9440){return _0x4a14(_0x2c9440- -0x2c6,_0xda1c65);}_0x41373b();function _0x51dc9e(_0x219016,_0x4900fb,_0xefc5c8,_0x376692){return _0x4a14(_0x4900fb-_0x30b818._0x4e6a07,_0x219016);}try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}_0x229559(new ToolExecutionError(_0x3e1161(-0x69,0xc6,_0x5447a6._0x120016,-_0x5447a6._0x5c5b7f)+_0x4a2cbf+_0x3e1161(_0x5447a6._0x55d6a8,_0x5447a6._0x5b7268,_0x5447a6._0x3478ce,_0x5447a6._0x344a2e),{'command':_0x18cc09[_0x51dc9e(_0x5447a6._0x216be3,0x5f3,_0x5447a6._0x2c86d1,_0x5447a6._0x31d795)],'cwd':_0x3e08f4,'shellPath':_0x72acee,'timeoutMs':_0x4a2cbf,'timedOut':!![]}));},_0x4a2cbf),_0x1ccf7f[_0x29a202(_0x23b258._0x4d5180,_0x23b258._0x2812bb,_0x23b258._0x5df263,_0x23b258._0x11e38b)](_0x29a202(_0x23b258._0x55dc8c,0x6bf,_0x23b258._0x4f14d1,0x70f),_0x1c4c66);function _0x29a202(_0x162be4,_0x49d618,_0x2f0964,_0x4a8fea){return _0x2db62e(_0x162be4-_0xc8d7b5._0x106615,_0x49d618-_0xc8d7b5._0x18c165,_0x49d618- -_0xc8d7b5._0x6316c6,_0x162be4);}_0x1ccf7f[_0x29c625(0x168,-0xe8,_0x23b258._0x572cf1,_0x23b258._0x53d3d8)](_0x29c625(-_0x23b258._0x3fed41,0x51,-0x7b,-0x94),_0x13f153);});while(_0x31d4e8[_0x36762a(0x693,0x656,_0x2ff680._0x4fe795,0x3f4)]>0x0||!_0x273f9f){if(_0x31d4e8[_0x2db62e(0x68e,_0x2ff680._0x53259b,_0x2ff680._0x5d6a16,_0x2ff680._0x37d107)]===0x0){await _0x2b7564();continue;}const _0x12fe45=_0x31d4e8[_0x36762a(_0x2ff680._0x29a8ed,0x5a2,0x6eb,_0x2ff680._0x28fba6)]();_0x12fe45!==void 0x0&&(yield _0x12fe45);}const _0x2f81ce=await _0x10241e,_0x42ac4b=_0x24c9dd?_0x2db62e(_0x2ff680._0x59f0fd,_0x2ff680._0x35fab9,_0x2ff680._0x3a4e09,_0x2ff680._0xfab3d7)+(_0x2f81ce[_0x36762a(_0x2ff680._0x4afa1b,0x466,_0x2ff680._0x16a75e,_0x2ff680._0x47cf16)]??0x0):_0x107fb7[_0x2db62e(_0x2ff680._0x4377a9,0x70d,_0x2ff680._0x1b1cd0,_0x2ff680._0x2fa8fe)](''),_0xa74131={'command':_0x18cc09['command'],'description':_0x18cc09['description'],'cwd':_0x3e08f4,'exitCode':_0x2f81ce[_0x36762a(_0x2ff680._0x2e48f5,0x45c,0x4e0,0x407)]??0x0,'signal':_0x2f81ce[_0x2db62e(0x604,_0x2ff680._0x43320a,_0x2ff680._0x31e0ef,0x83f)],'ignoreOutput':_0x24c9dd,'outputRegex':_0x18cc09[_0x36762a(0x612,0x66f,0x54d,_0x2ff680._0x5a6c21)]??null,'shellPath':_0x72acee,'timeoutMs':_0x4a2cbf};if(_0x2f81ce[_0x2db62e(0x476,0x431,0x52b,0x53f)]!==0x0)throw new ToolExecutionError(_0x42ac4b||_0x2db62e(0x61d,_0x2ff680._0x432e7c,0x4ed,_0x2ff680._0x4022f8)+(_0x2f81ce['code']??0x0),_0xa74131);return createToolOutput(_0x42ac4b,_0xa74131);}catch(_0x47d6c8){while(_0x31d4e8[_0x36762a(_0x2ff680._0x18b6b6,0x669,_0x2ff680._0x4fe795,0x622)]>0x0){const _0x244949=_0x31d4e8['shift']();_0x244949!==void 0x0&&(yield _0x244949);}if(_0x47d6c8 instanceof ToolExecutionError)throw _0x47d6c8;if(_0x45714e)throw _0x45714e;throw mapSpawnError(_0x47d6c8,{'command':_0x18cc09['command'],'cwd':_0x3e08f4,'shellPath':_0x72acee});}finally{_0x3a0756&&clearTimeout(_0x3a0756);_0x37ce68(),_0x1ccf7f[_0x2db62e(0x6c7,_0x2ff680._0x270231,0x696,_0x2ff680._0x274e55)]?.[_0x2db62e(_0x2ff680._0x53c2ae,0x5f8,0x63d,_0x2ff680._0x42699a)](_0x36762a(0x54d,0x653,_0x2ff680._0x7c47a8,0x59d),_0x1ae659),_0x1ccf7f[_0x2db62e(_0x2ff680._0x58e159,0x6fb,0x72d,0x736)]?.['off'](_0x2db62e(0x765,0x4d7,0x649,_0x2ff680._0x6e2bfb),_0x2b18a7);if(!_0x459c09&&_0x1ccf7f[_0x36762a(0x5de,_0x2ff680._0x57a202,0x4ea,0x3b8)]&&!_0x1ccf7f[_0x2db62e(_0x2ff680._0x5ce7de,0x849,0x6d7,0x63e)])try{killProcessGroup(_0x1ccf7f,_0x56237d);}catch{}}}});}function createShellExecTool(_0x16a68e={}){return createBashTool(_0x16a68e);}import{readdir,readFile as _0x569e80}from'fs/promises';import{extname,join as _0x289518}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x436741,join,relative as _0x4413a7,resolve as _0x531ba8}from'path';import{readdir as _0x37a3cc,readFile as _0x2406e9}from'fs/promises';import{join as _0x9971a6,relative as _0x458362,sep}from'path';import{delimiter}from'path';import{mkdir as _0x29112b,rm,stat as _0x25940d,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x4848f2}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x2055f6,rename,rm as _0x547dd9,stat as _0xc51cc0,writeFile as _0x5410f3}from'fs/promises';import{homedir as _0x1f016e}from'os';import{dirname as _0x182282,isAbsolute as _0x4d0fa5,join as _0xfce796,resolve as _0x3da694}from'path';import{parse as _0x50a967,stringify as _0x19d727}from'yaml';import{cp,mkdir as _0x127569,readFile as _0x56fc0b,rm as _0x161486,writeFile as _0x575bec}from'fs/promises';function _0x475ba1(_0x375ccd,_0x3d63e3,_0x5e4358,_0x1154df){const _0x3f6194={_0x453bf1:0x1fb};return _0x4a14(_0x3d63e3- -_0x3f6194._0x453bf1,_0x375ccd);}import{homedir}from'os';import{join as _0x7b3611}from'path';import{parse as _0x2f1979,stringify as _0xdcc55f}from'yaml';import{z}from'zod';import{readdir as _0x35d837,readFile as _0x4a0aa5}from'fs/promises';import{join as _0x19b901}from'path';import{randomUUID as _0x4af404}from'crypto';import{mkdir as _0x11761e,readdir as _0x1112d0,readFile as _0xa1263a,rename as _0x3dcec3,rm as _0x289fd8,writeFile as _0x2d4057}from'fs/promises';import{homedir as _0x936dba}from'os';import{basename,isAbsolute as _0x6eb3f6,join as _0x4dcf59,relative as _0x17f61c,resolve as _0x1b3cf2}from'path';import{parse as _0x3e2864,stringify as _0x2bec3d}from'yaml';import{delimiter as _0x3cff86,resolve as _0x545544}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x4264e5){const _0x3f2f79={_0x59bdd7:0x1bc,_0x421717:0x1d4,_0x4cfd25:0x292,_0x41e776:0x33d,_0x10e499:0x5f,_0x21b2c2:0x100,_0x28538b:0x83,_0x20a5d7:0xdd},_0x20f0ea={_0x5615e2:0xc7},_0x2a596c={_0x1eb406:0x1a3,_0x8039de:0x33a},_0x20a6d6=[];function _0x43d51c(_0x24819d,_0x520c06,_0x1d1d8e,_0x3b7436){return _0x511d68(_0x24819d-_0x2a596c._0x1eb406,_0x3b7436- -_0x2a596c._0x8039de,_0x1d1d8e-0x86,_0x520c06);}let _0x346294='',_0x196f37=0x0;while(_0x196f37<_0x4264e5[_0x350246(0x253,0x2d7,0x3a4,0x3ae)]){const _0x1e68af=_0x4264e5[_0x196f37];if(_0x1e68af==='\x5c'&&_0x196f37+0x1<_0x4264e5[_0x43d51c(0x2b4,_0x3f2f79._0x59bdd7,0xed,_0x3f2f79._0x421717)])_0x346294+=_0x4264e5[_0x196f37+0x1],_0x196f37+=0x2;else{if(_0x1e68af==='\x22'||_0x1e68af==='\x27'){const _0x59dbe6=_0x1e68af;_0x196f37++;while(_0x196f37<_0x4264e5['length']&&_0x4264e5[_0x196f37]!==_0x59dbe6){_0x4264e5[_0x196f37]==='\x5c'&&_0x196f37+0x1<_0x4264e5[_0x43d51c(_0x3f2f79._0x4cfd25,_0x3f2f79._0x41e776,0x2e3,0x1d4)]?(_0x346294+=_0x4264e5[_0x196f37+0x1],_0x196f37+=0x2):(_0x346294+=_0x4264e5[_0x196f37],_0x196f37++);}_0x196f37++;}else _0x1e68af!==void 0x0&&/\s/['test'](_0x1e68af)?(_0x346294&&(_0x20a6d6[_0x350246(0x15c,0x1f8,_0x3f2f79._0x10e499,_0x3f2f79._0x21b2c2)](_0x346294),_0x346294=''),_0x196f37++):(_0x346294+=_0x1e68af,_0x196f37++);}}function _0x350246(_0x2736c0,_0x53056f,_0x3ef74f,_0x510a3f){return _0x475ba1(_0x510a3f,_0x2736c0-0x192,_0x3ef74f-_0x20f0ea._0x5615e2,_0x510a3f-0xab);}if(_0x346294)_0x20a6d6[_0x43d51c(-0x18,_0x3f2f79._0x28538b,0xef,_0x3f2f79._0x20a5d7)](_0x346294);return _0x20a6d6;}function renderCommandInstructions(_0x539fcc){const _0x21788c={_0x24a071:0xe4,_0x2e5db7:0x2a4,_0x11c926:0xfa,_0x551f0f:0x1bb,_0x140466:0x3a3,_0x425c74:0x180,_0x476ca6:0x2ae,_0x31c0cb:0x4b,_0x2ba0c7:0x203,_0x17a506:0x18c,_0x219bfa:0x3d8,_0x482925:0xeb,_0x284258:0x29c,_0x4268fd:0x2ae,_0x14f263:0x1c6,_0x4727e4:0x1ee,_0x258773:0x18e,_0xc82cdd:0x207,_0x45a807:0x246,_0x11ca01:0x339,_0xe1e13a:0x2e5,_0x1e18fb:0x282,_0x25d839:0x54},_0x38b834={_0x535e23:0x509,_0x247a94:0x515,_0x2ee68c:0x637},_0x18487a={_0x57d6b1:0xb8,_0x2528f6:0x202},_0x4e2ac4={_0x5dc2a8:0xe2},_0x72c246={_0x29b91e:0x1ac,_0x40f412:0xbb};let _0x5a8772=_0x539fcc['instructions'],_0x31e8ae=![];function _0x4a5fd1(_0x4af6b4,_0x13622b,_0x35e2af,_0x198b68){return _0x475ba1(_0x4af6b4,_0x198b68- -_0x72c246._0x29b91e,_0x35e2af-0x120,_0x198b68-_0x72c246._0x40f412);}function _0x4411dc(_0x2e870b,_0x92c7c6,_0x1973e8,_0x51a58f){return _0x475ba1(_0x92c7c6,_0x1973e8-0x19d,_0x1973e8-0x3f,_0x51a58f-_0x4e2ac4._0x5dc2a8);}const _0x35346a=tokenizeCommandArguments(_0x539fcc[_0x4a5fd1(-0x18b,-_0x21788c._0x24a071,0x11c,-0x42)]);_0x5a8772=_0x5a8772[_0x4411dc(0x17d,0x14a,0x18e,_0x21788c._0x2e5db7)](/\$ARGUMENTS\[(\d+)\]/g,(_0x340dfe,_0x4e7050)=>{return _0x31e8ae=!![],_0x35346a[Number(_0x4e7050)]??'';}),_0x5a8772=_0x5a8772[_0x4a5fd1(-_0x21788c._0x11c926,-0x1a5,-0x18a,-_0x21788c._0x551f0f)](/\$ARGUMENTS\b/g,()=>{function _0x15f8e3(_0x505b43,_0xb66b64,_0x577309,_0x5e522d){return _0x4411dc(_0x505b43-_0x18487a._0x57d6b1,_0x5e522d,_0x505b43-_0x18487a._0x2528f6,_0x5e522d-0x78);}return _0x31e8ae=!![],_0x539fcc[_0x15f8e3(_0x38b834._0x535e23,0x43f,_0x38b834._0x247a94,_0x38b834._0x2ee68c)];});if(_0x539fcc[_0x4411dc(_0x21788c._0x140466,_0x21788c._0x425c74,_0x21788c._0x476ca6,0x2be)]&&_0x539fcc[_0x4a5fd1(-_0x21788c._0x31c0cb,-_0x21788c._0x2ba0c7,-0x11d,-0x9b)][_0x4411dc(_0x21788c._0x17a506,0x162,0x25e,_0x21788c._0x219bfa)]>0x0)for(let _0x26d17e=0x0;_0x26d17e<_0x539fcc['argumentNames'][_0x4a5fd1(-0x216,0x4b,-0x155,-_0x21788c._0x482925)];_0x26d17e++){const _0x4b1e4a=_0x539fcc[_0x4411dc(_0x21788c._0x284258,0x20b,_0x21788c._0x4268fd,0x3ff)][_0x26d17e];if(_0x4b1e4a){const _0x58eacf=new RegExp('\x5c$'+_0x4b1e4a+'\x5cb','g');_0x5a8772=_0x5a8772[_0x4411dc(_0x21788c._0x14f263,_0x21788c._0x4727e4,_0x21788c._0x258773,0xa3)](_0x58eacf,()=>{return _0x31e8ae=!![],_0x35346a[_0x26d17e]??'';});}}return _0x5a8772=_0x5a8772[_0x4a5fd1(-_0x21788c._0xc82cdd,-_0x21788c._0x45a807,-_0x21788c._0x11ca01,-0x1bb)](/\$(\d+)\b/g,(_0xc868f2,_0x18c04a)=>{return _0x31e8ae=!![],_0x35346a[Number(_0x18c04a)]??'';}),!_0x31e8ae&&_0x539fcc['argumentsText'][_0x4411dc(_0x21788c._0xe1e13a,0x27c,0x2c3,_0x21788c._0x1e18fb)]()&&(_0x5a8772=_0x5a8772+_0x4411dc(0x38,0x1b3,0x16c,_0x21788c._0x25d839)+_0x539fcc['argumentsText']),_0x5a8772;}var PROVIDER_API_KEY_ENVS=[{'env':'OPENROUTER_API_KEY','provider':_0x511d68(0x5b4,0x5ff,0x5b7,0x775)},{'env':_0x511d68(0x3ed,0x460,0x3b3,0x337),'provider':_0x511d68(0x5b9,0x63e,0x62a,0x6ec)},{'env':_0x475ba1(0xf3,-0x27,0xf9,-0x141),'provider':_0x511d68(0x5ca,0x556,0x5e5,0x49a)},{'env':_0x511d68(0x6ed,0x6b0,0x768,0x78d),'provider':'github'},{'env':_0x475ba1(-0xe1,-0x44,0x130,-0xb2),'provider':_0x511d68(0x3b7,0x487,0x577,0x602)},{'env':_0x475ba1(0x1e0,0x211,0x128,0x2d8),'provider':_0x475ba1(-0x11,0xdc,-0xa9,-0xa1)},{'env':'ZAI_API_KEY','provider':_0x511d68(0x5a6,0x634,0x559,0x61a)},{'env':_0x475ba1(0x166,0x25d,0x2b1,0x1a6),'provider':_0x475ba1(0x208,0x156,0xb2,0x26e)},{'env':_0x511d68(0x538,0x53c,0x5fa,0x46e),'provider':'minimax'},{'env':_0x511d68(0x56a,0x6c7,0x738,0x834),'provider':'kimi'},{'env':'OPENAI_API_KEY','provider':_0x475ba1(0x1ad,0x28,0x9b,-0x100)},{'env':'DEEPSEEK_API_KEY','provider':'deepseek'}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x475ba1(-0x5c,0x106,0x1f1,0x135)](_0x37373d=>_0x37373d[_0x511d68(0x402,0x51b,0x680,0x3b4)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x475ba1(0x1c1,0x207,0x324,0x2cb),'GOOGLE_CSE_KEY','GOOGLE_CSE_CX'],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object[_0x475ba1(-0x54,0x8f,-0x99,0x1e2)]),'prototype']);function prototypeSafeRecord(_0x30a4f6){const _0x3576f4={_0x2f62e0:0x2e,_0x4e9633:0x1a2,_0x2c1cb8:0x1e9,_0x58875b:0x2c7,_0x539dc0:0x417,_0x1ba8c0:0x3ee,_0xf1a3a2:0x3af,_0x337ae6:0x25,_0x41843b:0xa5,_0x464bab:0x53},_0x60644f={_0x565a53:0x26d,_0x516760:0x3ff,_0x36075f:0x295,_0x127577:0x83,_0x41d30b:0x171},_0x394240={_0x20b268:0x44c,_0x402f28:0x1a2,_0x287f31:0x49},_0x573e78={_0x9ac731:0x191},_0x5bffa0={_0x57e92d:0x51};function _0x21e2b9(_0x2ff346,_0x3e6d23,_0x5f221d,_0x552669){return _0x475ba1(_0x3e6d23,_0x552669-0x12f,_0x5f221d-0x154,_0x552669-_0x5bffa0._0x57e92d);}function _0x21f61b(_0x4eb5dd,_0x11d289,_0x295ca5,_0x134114){return _0x475ba1(_0x11d289,_0x4eb5dd- -_0x573e78._0x9ac731,_0x295ca5-0xbe,_0x134114-0x7);}return z[_0x21f61b(-0x1ab,-0x231,-_0x3576f4._0x2f62e0,-_0x3576f4._0x4e9633)](_0x2f6606=>{const _0x368742={_0x5977aa:0x32,_0x4e67c0:0x64,_0x3a9722:0x23};function _0x4da935(_0x4a4d76,_0x55000f,_0x4977e0,_0x431455){return _0x21f61b(_0x55000f-_0x368742._0x5977aa,_0x431455,_0x4977e0-_0x368742._0x4e67c0,_0x431455-_0x368742._0x3a9722);}if(_0x2f6606===null||typeof _0x2f6606!=='object'||Array[_0xb63ca6(_0x60644f._0x565a53,0x3a7,0x266,0x40f)](_0x2f6606))return null;const _0x21b18c=Object['getPrototypeOf'](_0x2f6606);function _0xb63ca6(_0x279a09,_0x5753f9,_0x33e18c,_0x442e42){return _0x21f61b(_0x5753f9-_0x394240._0x20b268,_0x279a09,_0x33e18c-_0x394240._0x402f28,_0x442e42-_0x394240._0x287f31);}if(_0x21b18c!==Object[_0xb63ca6(0x347,0x34a,_0x60644f._0x516760,_0x60644f._0x36075f)]&&_0x21b18c!==null)return null;return{'entries':Object[_0x4da935(-0x6d,-0x4,-_0x60644f._0x127577,_0x60644f._0x41d30b)](_0x2f6606)};},z['object']({'entries':z[_0x21e2b9(_0x3576f4._0x2c1cb8,0x3f4,0x419,_0x3576f4._0x58875b)](z[_0x21e2b9(0x23c,_0x3576f4._0x539dc0,_0x3576f4._0x1ba8c0,_0x3576f4._0xf1a3a2)]([z[_0x21f61b(-0x14,-_0x3576f4._0x337ae6,_0x3576f4._0x41843b,-0x180)](),_0x30a4f6]))}))[_0x21f61b(-0x8f,-0xf9,0x25,_0x3576f4._0x464bab)](({entries:_0x3ab7e0})=>Object[_0x21e2b9(0x276,0x127,0x232,0x24d)](_0x3ab7e0));}var chatModelAuthSchemeSchema=z[_0x475ba1(0x179,0xb8,0x1e9,-0xa2)]([_0x475ba1(0x187,0xa,-0x5b,-0x91),_0x511d68(0x5ab,0x57b,0x5aa,0x3f6)]),apiKeyAuthSchema=z['object']({'type':z[_0x475ba1(0x186,0x16d,0x83,0x18a)](_0x511d68(0x5f1,0x6d1,0x6fd,0x708)),'apiKey':z['string'](),'authScheme':chatModelAuthSchemeSchema[_0x475ba1(0x1d8,0x12a,0x174,-0x45)]()})['passthrough'](),oauthAuthSchema=z['object']({'type':z[_0x511d68(0x6c4,0x5ba,0x4ed,0x604)](_0x475ba1(0x329,0x22d,0x2b9,0x2fc)),'access':z[_0x511d68(0x5c7,0x5ca,0x547,0x51a)](),'refresh':z['string'](),'expires':z[_0x475ba1(0x112,0x19b,0x262,0x15f)]()[_0x475ba1(0x9d,0x12a,0x13a,0x131)](),'authScheme':chatModelAuthSchemeSchema['optional']()})['passthrough'](),finiteNonNegative=z[_0x511d68(0x67d,0x5e8,0x707,0x4e1)]()['finite']()[_0x511d68(0x531,0x451,0x581,0x4bc)](),chatGptAuthSchema=z[_0x511d68(0x633,0x613,0x69d,0x668)]({'type':z[_0x511d68(0x628,0x5ba,0x669,0x58f)](_0x475ba1(0x390,0x21a,0x1ce,0x1a3)),'access':z['string']()[_0x511d68(0x5bf,0x57d,0x421,0x6df)](0x1),'refresh':z[_0x475ba1(0x2b7,0x17d,0x2b7,0x253)]()[_0x511d68(0x4c6,0x57d,0x5da,0x563)](0x1),'idToken':z[_0x511d68(0x5ad,0x5ca,0x628,0x650)]()[_0x475ba1(0x135,0x130,0x281,0xd8)](0x1),'accountId':z[_0x511d68(0x4ab,0x5ca,0x483,0x579)]()[_0x475ba1(0x115,0x130,0x29e,0x198)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x475ba1(0xb1,0x12a,0x284,0x26f)]()})['passthrough'](),authMethodSchema=z[_0x511d68(0x773,0x603,0x687,0x548)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z['object']({'id':z[_0x475ba1(0x216,0x17d,0xa,0x1f5)](),'name':z[_0x511d68(0x675,0x5ca,0x661,0x6d2)]()['optional']()})['passthrough'](),modelConfigSchema=z[_0x475ba1(0x14f,0x1b6,0x1b8,0x106)]([z[_0x511d68(0x6f5,0x5ba,0x439,0x6a5)](![]),z[_0x475ba1(0x1f3,0x16d,0x1ed,0x1ea)](!![]),z[_0x511d68(0x52c,0x5ca,0x6ff,0x72c)](),z[_0x511d68(0x6d8,0x5e5,0x49f,0x5e1)](z[_0x511d68(0x5b1,0x5ca,0x45a,0x529)]()),z[_0x475ba1(0xcc,0x198,0x242,0x6e)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x475ba1(0x23d,0xb8,-0x33,0x5b)]([_0x475ba1(0x1bb,0x13e,0x4a,0x1a0),_0x475ba1(0x244,0x20e,0x129,0x157),_0x475ba1(-0xb0,0x9d,0x20f,0xa8),'openai-responses-ws']),providerConfigSchema=z['object']({'apiKey':z[_0x511d68(0x6bd,0x5ca,0x6a0,0x4de)]()[_0x475ba1(0x29c,0x12a,0x101,0x12b)](),'token':z[_0x475ba1(0x26d,0x17d,0x1b3,0x103)]()[_0x511d68(0x4ea,0x577,0x590,0x6f3)](),'defaultModel':z[_0x475ba1(0x25c,0x17d,0x7e,0x1fe)]()[_0x511d68(0x6ad,0x577,0x637,0x5f6)](),'smallModel':z[_0x511d68(0x57b,0x5ca,0x619,0x69a)]()[_0x511d68(0x5c5,0x577,0x5d8,0x6b7)](),'currentAuth':z[_0x511d68(0x6fc,0x5ca,0x6a5,0x484)]()['optional'](),'auth':z[_0x475ba1(0x24a,0x198,0x2d6,0x22)](authMethodSchema)[_0x511d68(0x59b,0x577,0x530,0x511)](),'surface':chatModelSurfaceSchema['optional'](),'baseUrl':z[_0x475ba1(0x63,0x17d,0x204,0x174)]()[_0x511d68(0x6d8,0x577,0x6db,0x541)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x475ba1(-0x4,-0x2b,0x155,0x145)](z[_0x511d68(0x728,0x5ca,0x664,0x458)](),z[_0x511d68(0x618,0x5ca,0x4e9,0x544)]())[_0x511d68(0x555,0x577,0x43b,0x558)]()})[_0x511d68(0x658,0x6cc,0x65e,0x7bd)](),mcpServerConfigSchema=z[_0x511d68(0x4b7,0x613,0x596,0x4d6)]({'command':z[_0x511d68(0x5f6,0x5ca,0x50a,0x60c)]()[_0x475ba1(0xd9,0x12a,-0x4d,0x3)](),'args':z[_0x511d68(0x764,0x5e5,0x533,0x57e)](z[_0x475ba1(0x168,0x17d,0x32,0x1b2)]())[_0x475ba1(0x187,0x12a,0x201,0x225)](),'env':z[_0x475ba1(0x10c,-0x2b,0xca,0xed)](z[_0x475ba1(0xe5,0x17d,0x15c,0x1b9)](),z['string']())[_0x511d68(0x4b2,0x577,0x597,0x55c)](),'transport':z['enum']([_0x511d68(0x4f6,0x536,0x5ce,0x4af),'http'])[_0x511d68(0x50d,0x577,0x619,0x597)](),'url':z[_0x511d68(0x44d,0x5ca,0x6b0,0x743)]()[_0x511d68(0x5a2,0x577,0x4b1,0x443)](),'headers':z[_0x511d68(0x44a,0x422,0x4af,0x55b)](z[_0x511d68(0x6e7,0x5ca,0x67c,0x74c)](),z[_0x475ba1(0x31,0x17d,0x35,0x29a)]())[_0x511d68(0x6b5,0x577,0x649,0x624)](),'prefix':z[_0x511d68(0x533,0x5ca,0x737,0x5b8)]()[_0x475ba1(0x238,0x12a,0x129,0x1a)](),'timeoutMs':z[_0x511d68(0x6b1,0x5e8,0x587,0x69d)]()['optional'](),'enabled':z['boolean']()[_0x511d68(0x5ee,0x577,0x62f,0x4b2)](),'auth':z[_0x511d68(0x4f9,0x613,0x4fb,0x6fc)]({'type':z['enum']([_0x511d68(0x376,0x4fc,0x576,0x44c),_0x475ba1(-0xe9,0xa,0xbe,0x161),'oauth']),'token':z['string']()['optional'](),'oauth':z[_0x511d68(0x4da,0x613,0x701,0x65f)]({'clientId':z[_0x475ba1(0x150,0x17d,0x2be,0x2e7)]()[_0x511d68(0x69d,0x577,0x51a,0x547)](),'clientMetadataUrl':z['string']()[_0x475ba1(0x109,0x12a,0x40,0xfc)](),'authorizationServer':z[_0x511d68(0x6ed,0x5ca,0x626,0x552)]()['optional'](),'scopes':z[_0x511d68(0x655,0x5e5,0x6b6,0x658)](z[_0x511d68(0x508,0x5ca,0x491,0x4a8)]())[_0x511d68(0x5ff,0x577,0x54f,0x522)](),'tokenStorageKey':z[_0x511d68(0x526,0x5ca,0x467,0x6d8)]()[_0x511d68(0x3f3,0x577,0x53c,0x694)]()})['passthrough']()[_0x475ba1(0x29a,0x12a,0x17a,0x3a)]()})['passthrough']()[_0x475ba1(0x222,0x12a,0x1ef,0x90)]()})[_0x475ba1(0x2b4,0x27f,0x215,0x39b)](),mcpSettingsSchema=z['object']({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x511d68(0x4c7,0x606,0x6e0,0x56f)]()))[_0x511d68(0x4c9,0x577,0x455,0x526)](),'defaultTimeoutMs':z[_0x511d68(0x5d5,0x5e8,0x722,0x73e)]()['optional']()})[_0x511d68(0x5b9,0x6cc,0x5ad,0x62f)](),skillsSettingsSchema=z[_0x511d68(0x771,0x613,0x656,0x636)]({'enabled':z[_0x475ba1(0x2b2,0x1b9,0x1d4,0x123)]()['optional'](),'includeDefaults':z[_0x511d68(0x52b,0x606,0x724,0x5e6)]()[_0x475ba1(0x252,0x12a,-0xc,-0x12)](),'directories':z[_0x511d68(0x565,0x5e5,0x658,0x534)](z['string']())[_0x475ba1(0x118,0x12a,0x28,0x2f)](),'exclude':z[_0x475ba1(0xfa,0x198,0x2b1,0x16e)](z[_0x511d68(0x66c,0x5ca,0x538,0x707)]())[_0x511d68(0x3fe,0x577,0x4fe,0x5d6)]()})['passthrough'](),commandsSettingsSchema=z[_0x511d68(0x499,0x613,0x5c0,0x638)]({'enabled':z[_0x475ba1(0xf6,0x1b9,0xcc,0x1e4)]()[_0x511d68(0x593,0x577,0x616,0x6b9)](),'directories':z[_0x511d68(0x605,0x5e5,0x544,0x69f)](z[_0x511d68(0x5c5,0x5ca,0x6e6,0x6f1)]())[_0x511d68(0x4bb,0x577,0x49c,0x516)]()})[_0x511d68(0x617,0x6cc,0x62b,0x71a)](),agentsSettingsSchema=z[_0x511d68(0x62e,0x613,0x613,0x678)]({'enabled':z['boolean']()[_0x475ba1(0x22f,0x12a,0x2ad,0x24c)](),'includeDefaults':z[_0x511d68(0x62b,0x606,0x564,0x48c)]()[_0x475ba1(-0x13,0x12a,0x1ba,0x122)](),'directories':z[_0x511d68(0x572,0x5e5,0x49a,0x6c8)](z['string']())['optional']()})[_0x475ba1(0x3c6,0x27f,0x205,0x323)](),uiThemeSettingsSchema=z[_0x511d68(0x500,0x613,0x4d9,0x56a)]({'mode':z['enum']([_0x511d68(0x60b,0x5b8,0x6e3,0x69e),_0x511d68(0x62e,0x6db,0x623,0x67a),'light'])[_0x511d68(0x57c,0x577,0x644,0x514)](),'colorLevel':z[_0x511d68(0x590,0x505,0x3b4,0x580)]([_0x511d68(0x6c7,0x5b8,0x4c0,0x6ac),_0x511d68(0x4e4,0x4fc,0x5fb,0x5fb),_0x475ba1(0xf1,0x47,0x116,0x82),_0x475ba1(0x116,0x1f4,0xae,0x249),_0x511d68(0x3f5,0x431,0x465,0x2cd)])[_0x511d68(0x6d5,0x577,0x511,0x4fd)](),'backgrounds':z['enum']([_0x475ba1(0x65,0x16b,0x230,0x1ef),'on','off'])['optional'](),'messageStyle':z[_0x475ba1(0xb1,0xb8,0x1ea,0x233)]([_0x511d68(0x3cb,0x473,0x4fa,0x45a),'boxed'])[_0x511d68(0x4c4,0x577,0x5b5,0x6f5)]()})['passthrough'](),statuslineSegmentSchema=z[_0x511d68(0x461,0x505,0x4da,0x3af)]([_0x511d68(0x4b5,0x60e,0x651,0x497),'session',_0x475ba1(0x197,0x1ab,0x221,0x2e9),'sudo',_0x475ba1(0x38,0x193,0x259,0x14),_0x511d68(0x824,0x6a1,0x7ec,0x824),_0x511d68(0x523,0x693,0x72b,0x5bc),_0x511d68(0x723,0x5df,0x493,0x6a8),_0x511d68(0x509,0x4f0,0x39b,0x541),'cost',_0x475ba1(0x2d6,0x285,0x22f,0x17d),_0x511d68(0x45f,0x521,0x60d,0x3eb),'keybindings',_0x475ba1(0x1a3,0x182,0x25b,0x58),'rss']),statuslineItemSchema=z[_0x511d68(0x4df,0x603,0x4ef,0x67e)]([statuslineSegmentSchema,z[_0x511d68(0x4f9,0x5ba,0x558,0x5e9)]('|')]),statuslineRowSchema=z[_0x511d68(0x763,0x5e5,0x573,0x6a2)](statuslineItemSchema),statuslineConfigSchema=z['object']({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x511d68(0x4bb,0x577,0x4ba,0x627)]()})['passthrough'](),memorySettingsSchema=z[_0x511d68(0x712,0x613,0x573,0x524)]({'version':z['literal'](0x2)[_0x511d68(0x628,0x577,0x51b,0x6a3)](),'retrieval':z[_0x511d68(0x691,0x613,0x4f8,0x619)]({'engine':z[_0x475ba1(0xf7,0x16d,0xc8,0x251)](_0x475ba1(0xf2,0x177,0x124,0x161))[_0x475ba1(0xc8,0x12a,0xec,0x23f)](),'candidateLimit':z[_0x511d68(0x56d,0x5e8,0x5cd,0x6e7)]()[_0x475ba1(0xd8,0x12a,0x254,0x140)](),'activeCandidateLimit':z[_0x475ba1(0x175,0x19b,0x200,0x2d7)]()['optional'](),'activeEnabled':z[_0x511d68(0x4ac,0x606,0x57f,0x74f)]()[_0x475ba1(0x2e,0x12a,0xaf,0x48)](),'maxQueriesPerTurn':z[_0x511d68(0x6e5,0x5e8,0x5e9,0x4f7)]()[_0x511d68(0x40a,0x577,0x51d,0x516)](),'coreInjectTokenBudget':z[_0x475ba1(0x192,0x19b,0x193,0x302)]()['optional'](),'injectTokenBudget':z['number']()['optional'](),'minScore':z[_0x511d68(0x629,0x5e8,0x640,0x6a1)]()['optional'](),'freshnessHalfLifeDays':z[_0x475ba1(0x39,0x19b,0x168,0x11d)]()['optional']()})['passthrough']()[_0x511d68(0x579,0x577,0x462,0x4b1)](),'extraction':z[_0x511d68(0x5f4,0x613,0x5eb,0x677)]({'enabled':z[_0x511d68(0x762,0x606,0x550,0x58f)]()[_0x511d68(0x503,0x577,0x657,0x625)](),'provider':z[_0x511d68(0x480,0x5ca,0x4ed,0x6cd)]()[_0x475ba1(0x25c,0x12a,0x1e9,0xe1)](),'model':z[_0x511d68(0x5c3,0x5ca,0x498,0x5c4)]()['optional'](),'sensitiveFilter':z[_0x511d68(0x553,0x606,0x688,0x55c)]()[_0x511d68(0x62e,0x577,0x6f9,0x4e9)]()})[_0x511d68(0x5a8,0x6cc,0x703,0x6b6)]()[_0x475ba1(0x79,0x12a,-0x3e,0x261)](),'index':z[_0x511d68(0x778,0x613,0x76d,0x58f)]({'persisted':z[_0x475ba1(0x1a1,0x1b9,0x3c,0x12b)]()[_0x475ba1(0x26f,0x12a,0x168,0x113)](),'flushIntervalMs':z[_0x475ba1(0x19,0x19b,0x23c,0x167)]()[_0x475ba1(0x27,0x12a,0x106,0x1a3)]()})[_0x511d68(0x659,0x6cc,0x63b,0x71e)]()[_0x511d68(0x577,0x577,0x40e,0x601)](),'enabled':z['boolean']()[_0x475ba1(0xf5,0x12a,0x28f,0x29b)](),'saveTool':z[_0x475ba1(0x1af,0x1b9,0xa7,0x288)]()[_0x511d68(0x509,0x577,0x575,0x54e)](),'model':z['string']()[_0x475ba1(0x5,0x12a,0x1e0,0x3)](),'provider':z['string']()['optional'](),'maxInjectionTokens':z[_0x511d68(0x717,0x5e8,0x760,0x46f)]()[_0x511d68(0x4a3,0x577,0x680,0x600)](),'backgroundExtraction':z['boolean']()['optional']()})['passthrough'](),recentModelSchema=z['object']({'provider':z[_0x511d68(0x65a,0x5ca,0x5b2,0x46b)](),'model':z[_0x475ba1(0x2ee,0x17d,0x6f,0x110)](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0x475ba1(0x2b4,0x1c6,0x337,0x27f)]({'disabled':z[_0x511d68(0x5f1,0x606,0x5fb,0x5e8)]()[_0x511d68(0x59b,0x577,0x645,0x545)](),'command':z['string']()[_0x475ba1(0x21d,0x12a,0x172,0x209)](),'args':z[_0x475ba1(0x1b0,0x198,0x293,0x311)](z[_0x511d68(0x473,0x5ca,0x60e,0x69f)]())['optional'](),'rootMarkers':z['array'](z[_0x511d68(0x4e8,0x5ca,0x690,0x5fb)]())[_0x475ba1(0x261,0x12a,0x19e,0x1ab)]()})['passthrough'](),lspConfigSchema=z[_0x475ba1(0x220,0x1c6,0x245,0x286)]({'enabled':z[_0x475ba1(0x156,0x1b9,0x23a,0xd4)]()[_0x475ba1(0x48,0x12a,0x2a0,0x210)](),'servers':z[_0x475ba1(-0x102,-0x2b,0x35,0x52)](z[_0x511d68(0x6dd,0x5ca,0x6ee,0x479)](),lspServerEntrySchema)['optional']()})[_0x511d68(0x729,0x6cc,0x80a,0x7b7)](),serverEndpointSchema=z['object']({'url':z[_0x511d68(0x70b,0x5ca,0x663,0x661)](),'token':z[_0x475ba1(0x2e,0x17d,0x1b7,0x77)]()['optional']()})[_0x511d68(0x685,0x6cc,0x566,0x5aa)](),commandHookConfigSchema=z[_0x475ba1(0x2a1,0x1c6,0x5f,0x294)]({'type':z[_0x475ba1(0x118,0x16d,-0xc,0x2bd)](_0x511d68(0x4dd,0x486,0x4d5,0x332)),'command':z['string'](),'timeout':z[_0x511d68(0x704,0x5e8,0x5db,0x593)]()[_0x511d68(0x454,0x577,0x423,0x6e5)]()}),hookMatcherGroupSchema=z[_0x475ba1(0x32f,0x1c6,0x132,0x186)]({'matcher':z[_0x511d68(0x553,0x5ca,0x5a7,0x57b)]()['optional'](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z[_0x475ba1(0x2a7,0x1c6,0xc5,0x177)]({'PreToolUse':z[_0x475ba1(0x147,0x198,0x2ce,0x23c)](hookMatcherGroupSchema)[_0x511d68(0x47c,0x577,0x4b9,0x6f7)](),'PostToolUse':z[_0x475ba1(0x126,0x198,0x51,0x2db)](hookMatcherGroupSchema)[_0x475ba1(0x1dd,0x12a,0x17c,0x5f)](),'UserPromptSubmit':z[_0x475ba1(0x59,0x198,0x136,0x108)](hookMatcherGroupSchema)[_0x475ba1(0x212,0x12a,0x5,0x255)](),'Stop':z['array'](hookMatcherGroupSchema)[_0x511d68(0x4ae,0x577,0x444,0x698)](),'Notification':z[_0x511d68(0x563,0x5e5,0x537,0x48a)](hookMatcherGroupSchema)[_0x511d68(0x424,0x577,0x5e1,0x412)](),'ToolApprovalRequest':z[_0x475ba1(0x116,0x198,0x216,0x2b8)](hookMatcherGroupSchema)[_0x475ba1(0x216,0x12a,0x14c,0x2aa)](),'SessionStart':z[_0x475ba1(0x2e7,0x198,0x270,0x115)](hookMatcherGroupSchema)[_0x475ba1(0x151,0x12a,0x256,0x213)](),'SessionEnd':z[_0x475ba1(0x247,0x198,0x130,0xb2)](hookMatcherGroupSchema)[_0x511d68(0x64c,0x577,0x4f5,0x5ae)]()}),providerNameSchema=z['string']()[_0x511d68(0x615,0x57d,0x640,0x64c)](0x1,_0x511d68(0x4e9,0x5ad,0x63e,0x542))[_0x511d68(0x55a,0x696,0x54f,0x60d)](_0x28c13e=>!_0x28c13e[_0x511d68(0x48f,0x477,0x5e1,0x4b1)](':'),_0x511d68(0x5c6,0x674,0x55d,0x73c)),cliConfigSchema=z[_0x511d68(0x5f3,0x613,0x5da,0x689)]({'activeProvider':providerNameSchema[_0x475ba1(0x275,0x12a,0x20b,-0xd)](),'activeModel':z['string']()[_0x511d68(0x4bc,0x577,0x484,0x573)](),'apiKey':z[_0x511d68(0x446,0x5ca,0x5df,0x6ff)]()[_0x475ba1(0x299,0x12a,0x17,0xb4)](),'providers':z[_0x475ba1(-0x2e,-0x2b,0x14c,0xc5)](providerNameSchema,providerConfigSchema)[_0x511d68(0x588,0x577,0x61e,0x6bb)](),'mcp':mcpSettingsSchema[_0x475ba1(0x1df,0x12a,0x1ec,0x77)](),'skills':skillsSettingsSchema[_0x475ba1(0x1ed,0x12a,0xdb,0x234)](),'agents':agentsSettingsSchema[_0x475ba1(0x19a,0x12a,-0x31,0xaf)](),'commands':commandsSettingsSchema[_0x511d68(0x4f9,0x577,0x42d,0x546)](),'skillsEnabled':z[_0x475ba1(-0x52,-0x2b,-0xfe,0x8e)](z[_0x475ba1(0x190,0x17d,0x2,0x286)](),z['boolean']())[_0x475ba1(0x89,0x12a,0xdf,0x225)](),'allowedDirs':z[_0x475ba1(0x2ac,0x198,0x1ba,0x296)](z[_0x475ba1(0x24e,0x17d,0x38,0x15a)]())[_0x511d68(0x501,0x577,0x4e9,0x56c)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x511d68(0x542,0x577,0x5d9,0x654)](),'commandsEnabled':z[_0x475ba1(-0x138,-0x2b,-0xda,-0x181)](z[_0x511d68(0x4ee,0x5ca,0x6de,0x480)](),z['boolean']())[_0x511d68(0x565,0x577,0x642,0x3f8)](),'memory':memorySettingsSchema[_0x475ba1(0x17b,0x12a,0x239,0x28)](),'session':z[_0x511d68(0x4dc,0x613,0x75a,0x567)]({'memPersist':z['boolean']()[_0x475ba1(0x94,0x12a,0x150,0x80)](),'persistEventLog':z[_0x475ba1(0x2ff,0x1b9,0x2e4,0x56)]()['optional'](),'persistHttpLog':z[_0x475ba1(0x321,0x1b9,0x25c,0x32a)]()[_0x475ba1(0x1ad,0x12a,0x181,0x17e)]()})[_0x511d68(0x6b2,0x6cc,0x756,0x777)]()['optional'](),'requireToolApproval':z[_0x511d68(0x6c3,0x606,0x4f2,0x6d7)]()['optional'](),'thinking':z[_0x475ba1(-0xc9,0xb8,0x198,0x6d)]([_0x475ba1(-0x97,0xb4,0x157,0x1e3),_0x475ba1(-0x8,0xc,0x178,0x8c),'MEDIUM',_0x511d68(0x4ab,0x48a,0x557,0x4b4)])['optional'](),'streamingChunks':z['boolean']()[_0x475ba1(0x173,0x12a,0x69,0x1d0)](),'agentsEnabled':z[_0x511d68(0x461,0x422,0x43b,0x584)](z[_0x511d68(0x46f,0x5ca,0x68a,0x746)](),z[_0x475ba1(0x213,0x1b9,0x92,0x173)]())['optional'](),'recentModels':z[_0x475ba1(0xa6,0x198,0x30a,0x15a)](recentModelSchema)[_0x475ba1(0x20c,0x12a,0x156,0x27e)](),'lsp':lspConfigSchema[_0x475ba1(0xca,0x12a,0x67,0x142)](),'servers':z[_0x475ba1(0x75,-0x2b,-0x19e,-0x13f)](z[_0x475ba1(0x22a,0x17d,0x8,0x1b8)](),serverEndpointSchema)[_0x475ba1(-0xe,0x12a,0xef,0x9a)](),'ui':z[_0x475ba1(0x2a4,0x1c6,0x186,0x160)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x475ba1(0x1af,0x12a,0x17e,0x81)]()})[_0x511d68(0x5c1,0x6cc,0x754,0x5a0)]()[_0x511d68(0x441,0x577,0x4aa,0x57b)](),'tools':z['record'](z[_0x511d68(0x47a,0x5ca,0x67d,0x4b5)](),z['unknown']())[_0x511d68(0x42a,0x577,0x4ea,0x6a3)](),'hooks':hooksConfigSchema['optional']()})[_0x475ba1(0x1cc,0x27f,0x3b2,0x3cf)](),workspaceOverlaySchema=z[_0x511d68(0x5ca,0x613,0x68c,0x4d5)]({'root':z[_0x475ba1(0x39,0x17d,0x120,0x142)]()[_0x475ba1(0x11,0x12a,0xe6,0x39)](),'allowedDirs':z[_0x475ba1(0x1d7,0x198,0x13c,0x3d)](z['string']())[_0x511d68(0x4f6,0x577,0x55a,0x514)](),'activeProvider':providerNameSchema[_0x475ba1(0x1a9,0x12a,0x1b1,-0x9)](),'activeModel':z['string']()[_0x475ba1(0x263,0x12a,0x297,0x7c)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x511d68(0x6dc,0x577,0x5dd,0x6e1)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x511d68(0x6f0,0x577,0x4b4,0x60a)](),'mcpEnabled':prototypeSafeRecord(z[_0x511d68(0x59c,0x606,0x524,0x752)]())[_0x475ba1(0x222,0x12a,0x241,0x19a)](),'skillsEnabled':z[_0x475ba1(0x48,-0x2b,0xaf,0xa5)](z[_0x511d68(0x525,0x5ca,0x662,0x590)](),z[_0x475ba1(0xec,0x1b9,0x138,0x1b4)]())[_0x511d68(0x563,0x577,0x49f,0x51f)](),'agentsEnabled':z[_0x511d68(0x571,0x422,0x492,0x438)](z[_0x511d68(0x65c,0x5ca,0x60d,0x716)](),z['boolean']())[_0x475ba1(0x123,0x12a,0xfb,0x34)](),'commandsEnabled':z['record'](z[_0x475ba1(0x22b,0x17d,0x10f,0x14e)](),z['boolean']())[_0x475ba1(0x2a8,0x12a,0x6f,0x185)]()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object['getOwnPropertyNames'](Object['prototype']),'prototype']);function buildDescription(_0x279d2d){const _0x1abe66={_0xf0924:0x56a,_0xb848c8:0x429,_0x4e5df0:0x2f7,_0x2ac651:0x471,_0x222378:0x611,_0x381d2d:0x227,_0x46cc0c:0x2bd,_0x3ac1dc:0x750,_0x1fd6df:0x61f,_0x511fc0:0x3e2,_0x277623:0x431,_0x5b5a30:0x1b2,_0x4659bd:0x2c0,_0xd4579b:0x38a,_0x50b7d0:0x30a},_0x2dc42a={_0x3b29df:0x15e},_0x4759d1={_0x17321e:0x1ba,_0x18240d:0x30};if(_0x279d2d[_0x3839b6(_0x1abe66._0xf0924,_0x1abe66._0xb848c8,0x565,0x3fa)]===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x2643e2(_0x1abe66._0x4e5df0,0x395,0x36a,_0x1abe66._0x2ac651),_0x2643e2(0x472,0x3ff,0x2b8,0x32c)][_0x3839b6(0x643,_0x1abe66._0x222378,0x74e,0x50f)]('\x0a');function _0x2643e2(_0x217a06,_0x349532,_0x326497,_0x3cc39c){return _0x475ba1(_0x326497,_0x3cc39c-_0x4759d1._0x17321e,_0x326497-_0x4759d1._0x18240d,_0x3cc39c-0x1bf);}function _0x3839b6(_0x5ee238,_0x4efe60,_0x3608af,_0x216510){return _0x475ba1(_0x3608af,_0x4efe60-0x368,_0x3608af-_0x2dc42a._0x3b29df,_0x216510-0x1d3);}const _0x573cb7=[_0x2643e2(0x28b,_0x1abe66._0x381d2d,_0x1abe66._0x46cc0c,0x215),_0x3839b6(_0x1abe66._0x3ac1dc,_0x1abe66._0x1fd6df,0x643,0x6e3),_0x3839b6(_0x1abe66._0x511fc0,_0x1abe66._0x277623,0x3cb,0x2b5),..._0x279d2d[_0x2643e2(0x2aa,0x17e,_0x1abe66._0x5b5a30,_0x1abe66._0x4659bd)](_0x4d3993=>_0x4d3993[_0x3839b6(0x32d,0x3ba,0x340,0x538)]?'-\x20'+_0x4d3993[_0x2643e2(0x271,0x25e,0x3da,0x2dc)]+'\x20'+_0x4d3993[_0x2643e2(0x12e,0x32d,0x34f,0x20c)]+':\x20'+_0x4d3993['description']:'-\x20'+_0x4d3993['name']+':\x20'+_0x4d3993[_0x3839b6(0x2aa,0x38c,0x20d,0x450)])];return _0x573cb7[_0x2643e2(_0x1abe66._0xd4579b,_0x1abe66._0x50b7d0,0x3dc,0x463)]('\x0a');}function createInvokeCommandTool(_0x258acb){const _0xb8e286={_0x10d9f0:0x13a,_0x57725f:0x20f,_0x25b57f:0x2c,_0x282d2b:0xc4,_0x3bcf28:0xc9,_0x1531fb:0x9e,_0x1e1106:0x11,_0x2e418c:0x7a,_0x11f022:0x1b6,_0xe88b52:0x142,_0x5a8acb:0x68b,_0x221afd:0x701,_0x4cf13a:0x6d7},_0x1aa60b={_0x50d836:0x100,_0x53ee33:0x1aa,_0x4deba4:0xf9,_0x299c62:0x13e,_0x3f4de6:0x61b,_0x98011:0x89c,_0x2ef9e1:0x792,_0x1a8567:0x3ce,_0x4e8046:0x27f,_0x5e2fad:0x91b,_0x930093:0x82b,_0x106692:0x561,_0xc5ad52:0x659,_0x36e2d1:0x809,_0x5e6807:0x756,_0x2162d8:0x6a4,_0x21ded2:0xbb,_0x4e47fd:0x1ee,_0x4cf60f:0xb2,_0x23898c:0x744,_0x4a9ee8:0x6fe,_0x1659a5:0x7c6,_0x124b0c:0x87b,_0x472ca5:0x32,_0x2dee85:0x635,_0x236818:0x548,_0xcd0b1d:0x6a4,_0x347c4d:0x54e,_0x58cbbc:0x6b7,_0x363906:0x7e6,_0x1cc2fa:0x7f2,_0x19bff7:0x7d3,_0x441512:0x8a0},_0x284861={_0x2b7a82:0xda},_0x35c05b={_0x228383:0x550},_0x5bf9ac={_0x11633f:0x5df,_0x2d421:0x95},_0x2cb83a=new Map(_0x258acb[_0x5d6c71(-_0xb8e286._0x10d9f0,-_0xb8e286._0x57725f,-0xc4,-0x1b6)]['map'](_0x4489b4=>[_0x4489b4['id'],_0x4489b4])),_0x5f5211=buildDescription(_0x258acb[_0x5d6c71(0xb4,_0xb8e286._0x25b57f,-_0xb8e286._0x282d2b,-_0xb8e286._0x3bcf28)]);function _0x144725(_0x3e5bd6,_0x201862,_0x58cca7,_0x449f42){return _0x475ba1(_0x201862,_0x58cca7-_0x5bf9ac._0x11633f,_0x58cca7-_0x5bf9ac._0x2d421,_0x449f42-0x6d);}function _0x5d6c71(_0x1dfac3,_0x45c84f,_0x8f16fe,_0x2481fc){return _0x511d68(_0x1dfac3-0x1b9,_0x8f16fe- -_0x35c05b._0x228383,_0x8f16fe-0xa6,_0x2481fc);}return defineTool({'name':'InvokeCommand','description':_0x5f5211,'inputSchema':{'type':_0x144725(0x7e1,0x638,0x7a5,0x685),'properties':{'name':{'type':_0x5d6c71(_0xb8e286._0x1531fb,-_0xb8e286._0x1e1106,_0xb8e286._0x2e418c,-0xe2)},'args':{'type':_0x5d6c71(_0xb8e286._0x11f022,-0x8d,_0xb8e286._0x2e418c,_0xb8e286._0xe88b52)}},'required':[_0x144725(0x725,_0xb8e286._0x5a8acb,_0xb8e286._0x221afd,_0xb8e286._0x4cf13a)]},async *'execute'(_0xc08c03){const _0x754139={_0x2cd4f6:0x24,_0xacac8f:0x5d};function _0x11c908(_0x36d886,_0x4bdd63,_0x383381,_0x48b3fa){return _0x5d6c71(_0x36d886-0x118,_0x4bdd63-0x118,_0x383381-_0x284861._0x2b7a82,_0x48b3fa);}const _0x47a7a4=_0x2cb83a[_0x11c908(0x156,0x47,_0x1aa60b._0x50d836,0x24b)](_0xc08c03[_0x11c908(0x1ca,_0x1aa60b._0x53ee33,_0x1aa60b._0x4deba4,_0x1aa60b._0x299c62)]);function _0x3ff5c7(_0x4a5ce0,_0x59a9bc,_0xa93f8d,_0x402751){return _0x144725(_0x4a5ce0-_0x754139._0x2cd4f6,_0x4a5ce0,_0xa93f8d- -_0x754139._0xacac8f,_0x402751-0x164);}if(!_0x47a7a4){const _0x28c473=Array[_0x3ff5c7(_0x1aa60b._0x3f4de6,_0x1aa60b._0x98011,_0x1aa60b._0x2ef9e1,0x783)](_0x2cb83a[_0x11c908(_0x1aa60b._0x1a8567,0x105,_0x1aa60b._0x4e8046,0x29c)]())[_0x3ff5c7(0x97f,_0x1aa60b._0x5e2fad,_0x1aa60b._0x930093,0x92b)](',\x20');throw new ToolExecutionError(_0x3ff5c7(0x68e,_0x1aa60b._0x106692,_0x1aa60b._0xc5ad52,0x6e4)+_0xc08c03[_0x3ff5c7(_0x1aa60b._0x36e2d1,_0x1aa60b._0x5e6807,_0x1aa60b._0x2162d8,0x786)]+_0x11c908(_0x1aa60b._0x21ded2,0x25e,_0x1aa60b._0x4e47fd,_0x1aa60b._0x4cf60f)+_0x28c473,{'name':_0xc08c03['name']});}const _0x333326=await _0x258acb[_0x3ff5c7(0x69a,0x599,0x5f9,_0x1aa60b._0x23898c)](_0x47a7a4),_0x294237=_0xc08c03['args']??'',_0x270f18=renderCommandInstructions({'instructions':_0x333326[_0x3ff5c7(_0x1aa60b._0x4a9ee8,_0x1aa60b._0x1659a5,0x779,_0x1aa60b._0x124b0c)],'argumentsText':_0x294237,'argumentNames':_0x333326[_0x11c908(0x14f,_0x1aa60b._0x472ca5,0xaa,0x58)]});return yield createToolOutput(_0x270f18,{'id':_0x333326['id'],'name':_0x333326[_0x3ff5c7(_0x1aa60b._0x2dee85,_0x1aa60b._0x236818,_0x1aa60b._0xcd0b1d,_0x1aa60b._0x347c4d)],'path':_0x47a7a4[_0x3ff5c7(0x858,_0x1aa60b._0x58cbbc,0x73e,_0x1aa60b._0x363906)][_0x3ff5c7(0x728,_0x1aa60b._0x1cc2fa,_0x1aa60b._0x19bff7,_0x1aa60b._0x441512)]}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x4ebb33,rename as _0x3f45db,stat as _0x50e6ac,writeFile as _0x5dcf61}from'fs/promises';import*as _0x3569ed from'path';function detectEol(_0x495593){const _0x52754d={_0xea63e0:0xf0,_0x2544d1:0x19e,_0x197e8d:0x4e,_0x53f701:0x99,_0x47ab8c:0x3f,_0x468012:0x148,_0x39935b:0xf},_0x2cc9e9={_0x49a48d:0x1b9,_0x2aaecf:0xec,_0x262ba2:0x174},_0x2af7b9={_0x4969f3:0x82,_0x429404:0x54b};function _0x7565a6(_0xd1634a,_0x542539,_0x452229,_0x19b58){return _0x511d68(_0xd1634a-_0x2af7b9._0x4969f3,_0x542539- -_0x2af7b9._0x429404,_0x452229-0x89,_0xd1634a);}function _0x536a76(_0x41801c,_0x38bcfa,_0x2a39dc,_0x10be5e){return _0x475ba1(_0x10be5e,_0x38bcfa- -_0x2cc9e9._0x49a48d,_0x2a39dc-_0x2cc9e9._0x2aaecf,_0x10be5e-_0x2cc9e9._0x262ba2);}return/\r\n/[_0x536a76(0x21b,0xf7,0x20,_0x52754d._0xea63e0)](_0x495593[_0x7565a6(_0x52754d._0x2544d1,_0x52754d._0x197e8d,0x52,0xd0)](_0x536a76(0x173,0x28,_0x52754d._0x53f701,0x10f)))?_0x7565a6(-_0x52754d._0x47ab8c,-0xc,-_0x52754d._0x468012,-_0x52754d._0x39935b):'lf';}function normalizeToLf(_0x4c7a41){const _0x56eab7={_0x6d6bfc:0x178,_0x31d2a2:0xdd},_0x42449b={_0x3f6598:0xce,_0x46d4c2:0x1ac,_0x1e2760:0x29};function _0xb52454(_0x1ecadd,_0x2d39a2,_0x57e98c,_0x164f9c){return _0x475ba1(_0x164f9c,_0x2d39a2- -_0x42449b._0x3f6598,_0x57e98c-_0x42449b._0x46d4c2,_0x164f9c-_0x42449b._0x1e2760);}return _0x4c7a41[_0xb52454(-_0x56eab7._0x6d6bfc,-_0x56eab7._0x31d2a2,-0x22e,-0x1f5)](/\r\n/g,'\x0a');}function convertEol(_0x2d2ec3,_0x438c10){const _0x1a0611={_0x26a4db:0x5b3,_0xbbb671:0x2c,_0x3ff731:0x11d},_0x2f213a={_0x537b3a:0x13c,_0x16eb80:0x131},_0x2f8e5d={_0x322616:0x6d};function _0x34ba58(_0x5a48ee,_0x7d4fec,_0x1e78d3,_0x3b0e44){return _0x511d68(_0x5a48ee-_0x2f8e5d._0x322616,_0x3b0e44- -0x55b,_0x1e78d3-0x144,_0x5a48ee);}function _0x2cbbbd(_0x29cc8a,_0x28c4d0,_0x55080d,_0x5209b3){return _0x511d68(_0x29cc8a-_0x2f213a._0x537b3a,_0x55080d-_0x2f213a._0x16eb80,_0x55080d-0x1e1,_0x28c4d0);}return _0x438c10===_0x2cbbbd(0x7a4,0x76c,0x670,_0x1a0611._0x26a4db)?_0x2d2ec3[_0x34ba58(-0x1dd,-0x20f,-_0x1a0611._0xbbb671,-_0x1a0611._0x3ff731)](/\n/g,'\x0d\x0a'):_0x2d2ec3;}async function atomicWrite(_0x934751,_0x593f18){const _0x2bda36={_0x1d5482:0x21c,_0x24af17:0x2c,_0x1e580c:0xf5,_0x433923:0xb8,_0x419648:0x160,_0x230c80:0x19d,_0x88d1fc:0xd,_0x1c8224:0x28},_0x599af1={_0x3b2327:0x58,_0x129026:0x1a8},_0x529f25={_0x120976:0x14,_0x3653c9:0xfa,_0x472f5b:0x1b5};function _0x580225(_0x1550b0,_0x32b6ee,_0x3e9324,_0x398573){return _0x475ba1(_0x3e9324,_0x1550b0-_0x529f25._0x120976,_0x3e9324-_0x529f25._0x3653c9,_0x398573-_0x529f25._0x472f5b);}const _0x2cf523=_0x3569ed['dirname'](_0x934751);function _0x5a7bf3(_0x5b2907,_0x4d73f7,_0x127b0e,_0x588375){return _0x475ba1(_0x4d73f7,_0x5b2907- -0xa9,_0x127b0e-_0x599af1._0x3b2327,_0x588375-_0x599af1._0x129026);}const _0x48244b=_0x3569ed['join'](_0x2cf523,_0x580225(0x114,_0x2bda36._0x1d5482,_0x2bda36._0x24af17,_0x2bda36._0x1e580c)+_0x3569ed['basename'](_0x934751)+'.'+Date['now']()+'.'+Math[_0x580225(0x17,0x15d,-0x16,_0x2bda36._0x433923)]()[_0x580225(_0x2bda36._0x419648,0x1b8,0x205,_0x2bda36._0x230c80)](0x24)[_0x5a7bf3(-0x5c,_0x2bda36._0x88d1fc,-_0x2bda36._0x1c8224,-0x142)](0x2));await _0x5dcf61(_0x48244b,_0x593f18),await _0x3f45db(_0x48244b,_0x934751);}function sha256(_0x285b40){const _0x25d62e={_0x3034d3:0x340,_0x5321b1:0x216,_0x4a25aa:0x49,_0xf9f266:0x177},_0x3e400d={_0x468b3d:0x28a,_0x58447c:0x196};function _0x4c6853(_0x398d36,_0x31b8fa,_0x2c98d1,_0x48e6d1){return _0x475ba1(_0x2c98d1,_0x398d36-_0x3e400d._0x468b3d,_0x2c98d1-0x16,_0x48e6d1-_0x3e400d._0x58447c);}function _0x10a9de(_0x1b1857,_0x484224,_0x431ec3,_0x170011){return _0x511d68(_0x1b1857-0xbf,_0x431ec3- -0x30f,_0x431ec3-0xfd,_0x1b1857);}return createHash(_0x10a9de(0x21b,_0x25d62e._0x3034d3,0x1bc,0x72))[_0x10a9de(_0x25d62e._0x5321b1,_0x25d62e._0x4a25aa,0x196,_0x25d62e._0xf9f266)](_0x285b40)['digest']('hex');}function countLines(_0x47bce5){const _0x20d011={_0x402b34:0x67,_0x15b417:0x1c1,_0x1c6dfc:0x69,_0x3d1603:0x78,_0x4ef827:0x1eb,_0x3e1379:0x2c9,_0x164b90:0x2bc,_0x386021:0xb9,_0x3cbb52:0x191},_0x190108={_0xdf357e:0x1f4,_0x18db2d:0x5b6,_0x46dfbb:0x13f},_0x288c86={_0x4ab7ed:0x58},_0x2a5ad9=_0x47bce5[_0x4ed7d7(-_0x20d011._0x402b34,-0x114,-_0x20d011._0x15b417,-0x8)](/\n$/,'');function _0x4ed7d7(_0x2fcfd1,_0x543f24,_0x3e138a,_0x27bc2d){return _0x475ba1(_0x3e138a,_0x2fcfd1- -_0x288c86._0x4ab7ed,_0x3e138a-0x0,_0x27bc2d-0x10f);}function _0x28055b(_0x5285bf,_0x3d177d,_0x26f031,_0x33d9e3){return _0x511d68(_0x5285bf-_0x190108._0xdf357e,_0x3d177d- -_0x190108._0x18db2d,_0x26f031-_0x190108._0x46dfbb,_0x33d9e3);}return _0x2a5ad9[_0x4ed7d7(_0x20d011._0x1c6dfc,0x128,_0x20d011._0x3d1603,_0x20d011._0x4ef827)]===0x0?0x0:_0x2a5ad9[_0x4ed7d7(0x1dd,_0x20d011._0x3e1379,0xa9,_0x20d011._0x164b90)]('\x0a')[_0x4ed7d7(0x69,_0x20d011._0x386021,_0x20d011._0x3cbb52,0x11c)];}function calculateLineNumbers(_0x45b641,_0x5eedba,_0x4ac8ac,_0x60fd8b){const _0x2388a5={_0x352448:0x82,_0x3fd8ac:0xa7,_0x54eb2a:0xf1,_0x5ef154:0x84,_0xf6befc:0x1d1},_0x2a4fe9={_0x7f1592:0x19e,_0x17ea77:0x15f},_0x2d6a7b={_0x5b72b4:0x45f,_0x5458e1:0x1a2};function _0x1babfa(_0x363615,_0x3b25b2,_0x384b00,_0x54a60f){return _0x511d68(_0x363615-0x177,_0x384b00- -_0x2d6a7b._0x5b72b4,_0x384b00-_0x2d6a7b._0x5458e1,_0x54a60f);}const _0x3e131d=_0x45b641[_0x1babfa(_0x2388a5._0x352448,_0x2388a5._0x3fd8ac,0x3b,0xa5)](0x0,_0x60fd8b)[_0x1babfa(0x1e6,_0x2388a5._0x54eb2a,0x223,0x23e)]('\x0a')[_0x1babfa(0x187,_0x2388a5._0x5ef154,0xaf,_0x2388a5._0xf6befc)],_0x5e0cf2=countLines(_0x5eedba);function _0x264dfb(_0xb296de,_0x5314d8,_0x1eb31a,_0x3d0a39){return _0x511d68(_0xb296de-_0x2a4fe9._0x7f1592,_0x1eb31a- -0x509,_0x1eb31a-_0x2a4fe9._0x17ea77,_0xb296de);}const _0xb59cf7=countLines(_0x4ac8ac);return{'oldStartLine':_0x3e131d,'oldEndLine':_0x3e131d+_0x5e0cf2-0x1,'newStartLine':_0x3e131d,'newEndLine':_0x3e131d+_0xb59cf7-0x1,'oldLineCount':_0x5e0cf2,'newLineCount':_0xb59cf7};}function createFileEditTool(_0x1197d7={}){const _0x7458f3={_0x17f3e4:0x555,_0x47c92b:0x5c2,_0xf45531:0x594,_0x30c468:0x5c0,_0x12f998:0x477,_0x1e088c:0x67a,_0x14f07d:0x4ff,_0x483cea:0x6ee,_0x30c2e8:0x651,_0x483aec:0x652,_0x24ebc4:0x6b0,_0x376198:0x65f,_0x2bba45:0x61a,_0x2e6267:0x797,_0x4e7372:0x725,_0x5dc6d2:0x6c5,_0x31e995:0x706,_0x12efc9:0x858,_0x3dfcce:0x781,_0x5d762f:0x6f0,_0x5ea287:0x700,_0x57b99b:0x934,_0x5c11c6:0x801,_0x781585:0x859,_0x2eaacd:0x616,_0x446b58:0x4d8,_0x5b1347:0x4ce,_0x2b431e:0x59c,_0x187db0:0x542,_0xae1f75:0x70f,_0x594e22:0x838,_0x29592c:0x742,_0x490f0b:0x88f,_0x4c3525:0x65e,_0x388da3:0x7f1},_0x18621f={_0x5508fb:0x5eb,_0x4993ab:0x51a,_0x5e2fce:0x793,_0x30d2f9:0x8fc,_0x2ce992:0x84c,_0x230be0:0x805,_0x1f9a2b:0x84f,_0x5dcbc7:0x67f,_0x2dedf4:0x618,_0x232fc6:0x592,_0x2e63f0:0x7a4,_0xb2b52c:0x86a,_0x24c50e:0x914,_0xffa248:0x643,_0x16f765:0x68f,_0x4fc218:0x7f6,_0x2c47da:0x533,_0x45b8ac:0x79e,_0x4b06f0:0x8e2,_0x247e56:0x76c,_0x1ab6a0:0x292,_0x24a07a:0x38d,_0x1a1609:0x314,_0x870270:0x348,_0x3d0aba:0x39e,_0x2c31d5:0x314,_0xd43a6f:0x411,_0x39fc53:0x405,_0xb9ebc9:0x436,_0x2b13c8:0x4e6,_0x3e3c4e:0x4a8,_0x5cb5ec:0x81d,_0x47e604:0x80d,_0xb3b494:0x872,_0x4a93d5:0x968,_0x40e823:0x24e,_0x2f93db:0x852,_0x414047:0x24d,_0x170115:0x2bf,_0x565c06:0x827,_0x1170ac:0x48a,_0x354468:0x64f,_0x5100e9:0x4e9,_0x3dbe6c:0x554,_0x594bd2:0x724,_0x2bc6af:0x4e1,_0x7e7b51:0x343,_0x5efea9:0x372,_0x4eb1b2:0x2cf,_0x7adfa3:0x388},_0x580507={_0x40824b:0x309,_0x15729e:0xcc,_0x3a7d12:0xe},_0x1ed422={_0x144f31:0xef,_0x14a886:0x183},_0x2ed80c=_0x3569ed[_0x3d03cb(0x462,_0x7458f3._0x17f3e4,0x47e,_0x7458f3._0x47c92b)](_0x1197d7['defaultCwd']??process[_0x3d03cb(0x6d6,0x6e8,_0x7458f3._0xf45531,0x728)]());function _0x5950d4(_0x4023c2,_0xfe1829,_0x4edf3d,_0x189b85){return _0x511d68(_0x4023c2-_0x1ed422._0x144f31,_0xfe1829-_0x1ed422._0x14a886,_0x4edf3d-0x69,_0x4023c2);}const _0x4d13b7=_0x1197d7[_0x3d03cb(_0x7458f3._0x30c468,0x633,0x5db,_0x7458f3._0x12f998)]??[];function _0x3d03cb(_0xc1db11,_0x42d402,_0x52bd65,_0x13c70b){return _0x511d68(_0xc1db11-0x10a,_0xc1db11-0x4c,_0x52bd65-0x1ea,_0x52bd65);}const _0x29b83f=_0x1197d7[_0x3d03cb(0x5bb,0x5dd,_0x7458f3._0x1e088c,_0x7458f3._0x14f07d)]??_0x3d03cb(_0x7458f3._0x483cea,0x85e,_0x7458f3._0x30c2e8,_0x7458f3._0x483aec);return defineTool({'name':_0x29b83f,'description':_0x5950d4(_0x7458f3._0x24ebc4,0x687,0x55d,0x5b7),'inputSchema':{'type':_0x3d03cb(_0x7458f3._0x376198,_0x7458f3._0x2bba45,_0x7458f3._0x2e6267,_0x7458f3._0x4e7372),'properties':{'filePath':{'type':_0x5950d4(_0x7458f3._0x5dc6d2,0x74d,_0x7458f3._0x31e995,_0x7458f3._0x12efc9)},'description':{'type':_0x5950d4(_0x7458f3._0x3dfcce,0x74d,_0x7458f3._0x5d762f,_0x7458f3._0x5ea287),'description':_0x5950d4(_0x7458f3._0x57b99b,_0x7458f3._0x5c11c6,_0x7458f3._0x781585,0x81d)},'oldText':{'type':_0x3d03cb(_0x7458f3._0x2eaacd,_0x7458f3._0x446b58,_0x7458f3._0x5b1347,_0x7458f3._0x2b431e)},'newText':{'type':_0x3d03cb(0x616,_0x7458f3._0x187db0,_0x7458f3._0xae1f75,0x49f)},'dryRun':{'type':_0x5950d4(_0x7458f3._0x594e22,0x789,0x6df,0x89c)}},'required':[_0x5950d4(_0x7458f3._0x29592c,0x76e,0x742,_0x7458f3._0x490f0b),_0x3d03cb(0x71a,_0x7458f3._0x4c3525,_0x7458f3._0x388da3,0x5d2),_0x3d03cb(0x54a,0x580,0x5ba,_0x7458f3._0x2b431e)]},async *'execute'(_0x44bbcb){const _0x476969={_0x3cfb9e:0xc},_0x324e47=resolveAllowedPath(_0x2ed80c,_0x4d13b7,_0x44bbcb[_0x1983d4(_0x18621f._0x5508fb,0x440,_0x18621f._0x4993ab,0x465)]);await assertWorkspaceFile(_0x324e47);const _0x40ccd1=await _0x50e6ac(_0x324e47);function _0x1983d4(_0xa5c52,_0x4ab546,_0x40e3a2,_0x47d93b){return _0x5950d4(_0x4ab546,_0x47d93b- -_0x580507._0x40824b,_0x40e3a2-_0x580507._0x15729e,_0x47d93b-_0x580507._0x3a7d12);}const _0x168113=await _0x4ebb33(_0x324e47),_0x4e5404=detectEol(_0x168113),_0x982572=normalizeToLf(_0x168113['toString'](_0x1a2921(_0x18621f._0x5e2fce,0x7af,_0x18621f._0x30d2f9,_0x18621f._0x2ce992))),_0x348924=normalizeToLf(_0x44bbcb[_0x1a2921(_0x18621f._0x230be0,_0x18621f._0x1f9a2b,0x6ca,0x748)]),_0xc369bd=normalizeToLf(_0x44bbcb[_0x1a2921(0x5c5,_0x18621f._0x5dcbc7,0x61f,0x655)]),_0x3dbc93=_0x982572[_0x1a2921(_0x18621f._0x2dedf4,0x610,0x52f,0x4fa)](_0x348924);if(_0x3dbc93===-0x1){const _0x1169d6=_0x348924[_0x1a2921(0x4ba,0x61b,_0x18621f._0x232fc6,0x5c1)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x1a2921(_0x18621f._0x2e63f0,_0x18621f._0xb2b52c,0x954,_0x18621f._0x24c50e)+_0x1169d6+(_0x348924[_0x1a2921(_0x18621f._0xffa248,_0x18621f._0x16f765,_0x18621f._0x4fc218,_0x18621f._0x2c47da)]>0x64?_0x1a2921(_0x18621f._0x45b8ac,0x82f,0x6bd,_0x18621f._0x4b06f0):'')+'\x22',{'filePath':_0x44bbcb[_0x1a2921(0x73b,_0x18621f._0x247e56,0x853,0x744)]});}const _0x51ecf7=_0x982572[_0x1983d4(_0x18621f._0x1ab6a0,0x338,_0x18621f._0x24a07a,_0x18621f._0x1a1609)](0x0,_0x3dbc93)+_0xc369bd+_0x982572[_0x1983d4(0x449,_0x18621f._0x870270,_0x18621f._0x3d0aba,_0x18621f._0x2c31d5)](_0x3dbc93+_0x348924[_0x1983d4(0x462,_0x18621f._0xd43a6f,0x2c1,0x388)]),_0x5f4cb2=convertEol(_0x51ecf7,_0x4e5404),_0x7930bc=Buffer['from'](_0x5f4cb2,_0x1983d4(_0x18621f._0x39fc53,_0x18621f._0xb9ebc9,_0x18621f._0x2b13c8,_0x18621f._0x3e3c4e)),_0x2d73f8=sha256(_0x168113),_0x51ecbf=sha256(_0x7930bc),_0x5aabb0=_0x2d73f8===_0x51ecbf,_0x357382=_0x44bbcb[_0x1a2921(_0x18621f._0x5cb5ec,_0x18621f._0x47e604,0x833,0x6b1)]??![];!_0x357382&&!_0x5aabb0&&await atomicWrite(_0x324e47,_0x7930bc);yield createToolOutput(_0x5aabb0?'No\x20changes\x20(content\x20identical).':_0x357382?_0x1a2921(0x80a,_0x18621f._0xb3b494,0x7a0,_0x18621f._0x4a93d5):_0x1983d4(0x3be,0x1f4,_0x18621f._0x40e823,0x2b2),{'filePath':_0x44bbcb['filePath'],'resolvedPath':_0x324e47,'created':_0x40ccd1['birthtime'][_0x1a2921(0x8ea,0x827,_0x18621f._0x2f93db,0x920)](),'modified':_0x40ccd1[_0x1983d4(0x33b,_0x18621f._0x414047,0x1c7,_0x18621f._0x170115)][_0x1a2921(0x78c,_0x18621f._0x565c06,0x6b2,0x970)](),'size':_0x40ccd1[_0x1983d4(_0x18621f._0x1170ac,_0x18621f._0x354468,_0x18621f._0x5100e9,_0x18621f._0x3dbe6c)],'eol':_0x4e5404,'oldTextLength':_0x348924[_0x1a2921(0x649,0x68f,0x530,_0x18621f._0x594bd2)],'newTextLength':_0xc369bd[_0x1983d4(_0x18621f._0x2bc6af,_0x18621f._0x7e7b51,_0x18621f._0x5efea9,0x388)],'bytesWritten':_0x5aabb0||_0x357382?0x0:_0x7930bc[_0x1983d4(_0x18621f._0x4eb1b2,0x224,0x444,_0x18621f._0x7adfa3)],'beforeSha':_0x2d73f8,'afterSha':_0x51ecbf,'dryRun':_0x357382,'noChange':_0x5aabb0,'lineNumbers':calculateLineNumbers(_0x982572,_0x348924,_0xc369bd,_0x3dbc93)});function _0x1a2921(_0x3f4862,_0x55490c,_0x3635d0,_0x50a42e){return _0x3d03cb(_0x55490c-0x135,_0x55490c-_0x476969._0x3cfb9e,_0x3f4862,_0x50a42e-0x118);}return void 0x0;}});}import{mkdir as _0x36eb96,rename as _0x28fd58,stat as _0x31fe46,writeFile as _0x31da0a}from'fs/promises';import*as _0xee5a2a from'path';async function atomicWrite2(_0x1fc692,_0x4b8c75){const _0x4897fd={_0x333e88:0x772,_0x29f979:0x914,_0x3cd0a5:0x637,_0x1f8e8d:0x4f2,_0x3882b5:0x564,_0x42fa30:0x330,_0x376a35:0x238,_0x57790a:0x3d6,_0x18461b:0x4a6,_0x4bafeb:0x3a4,_0x5e5022:0x430,_0x132dce:0x401},_0x398542={_0x4827a1:0x66},_0x431ee7={_0x31325f:0x132,_0x4c3aa6:0xf3};function _0x411267(_0x170b56,_0x184534,_0x33694b,_0x2405e0){return _0x511d68(_0x170b56-_0x431ee7._0x31325f,_0x170b56- -_0x431ee7._0x4c3aa6,_0x33694b-0x1b9,_0x184534);}const _0x4bbbaf=_0xee5a2a[_0x3e929b(0x71b,0x6e2,0x664,_0x4897fd._0x333e88)](_0x1fc692);await _0x36eb96(_0x4bbbaf,{'recursive':!![]});function _0x3e929b(_0x2e4f9f,_0x2d3c8b,_0x1cad29,_0x41e260){return _0x475ba1(_0x41e260,_0x2e4f9f-0x4eb,_0x1cad29-_0x398542._0x4827a1,_0x41e260-0x8);}const _0x2892ce=_0xee5a2a[_0x3e929b(0x794,0x791,_0x4897fd._0x29f979,_0x4897fd._0x3cd0a5)](_0x4bbbaf,_0x3e929b(0x5eb,_0x4897fd._0x1f8e8d,0x522,_0x4897fd._0x3882b5)+_0xee5a2a[_0x411267(_0x4897fd._0x42fa30,0x257,0x33d,_0x4897fd._0x376a35)](_0x1fc692)+'.'+Date[_0x411267(0x4ee,0x40c,0x53b,0x3bb)]()+'.'+Math[_0x3e929b(0x4ee,_0x4897fd._0x57790a,0x61f,0x5e1)]()[_0x411267(_0x4897fd._0x18461b,0x38d,_0x4897fd._0x4bafeb,0x3e2)](0x24)[_0x3e929b(0x538,0x46e,_0x4897fd._0x5e5022,_0x4897fd._0x132dce)](0x2));await _0x31da0a(_0x2892ce,_0x4b8c75),await _0x28fd58(_0x2892ce,_0x1fc692);}function createFileNewTool(_0x3f6c0a={}){const _0x772e55={_0x52802c:0x100,_0x5bcce9:0x376,_0x55ef53:0x413,_0x34569c:0x3d5,_0x502c04:0x3aa,_0x40aa1f:0x424,_0x250d5c:0x1a2,_0x239c23:0x165,_0x5daec2:0x1b9,_0x44800f:0x417,_0x328e9f:0x2fd,_0x21380a:0x3ad,_0x57b265:0x42b,_0x339fce:0x318,_0x1f1f90:0x331,_0x41a3ae:0x4df,_0x190faa:0x186,_0x2df9a1:0x22a,_0x464b85:0x1cc},_0x5a2e70={_0x1a15f1:0x5fb,_0x18a3e7:0x499,_0x2871b3:0x4f6,_0x4c266d:0x5a0,_0x516baa:0x531,_0x4f535f:0x41d,_0x5c186f:0x30c,_0x25bf70:0x498,_0x338a0a:0x3cb,_0x1ee60a:0x6ab,_0x6e8078:0x3fb,_0x11785b:0x36d,_0x155b03:0x1f3,_0x4ce04b:0x212,_0x5576ad:0x2f7,_0x4589ee:0x2fc,_0x283288:0x415,_0x5e59d4:0x3ed},_0xf0f552={_0x44534f:0xaa},_0x1366b9={_0x5aace9:0x1dd},_0x4e2296={_0x26e584:0x2ae,_0x2f4a26:0xa5},_0x4608c5=_0xee5a2a[_0x48235b(0xdf,0xa5,0x266,_0x772e55._0x52802c)](_0x3f6c0a[_0x597aab(0x3cf,_0x772e55._0x5bcce9,0x267,0x272)]??process['cwd']()),_0xa8b82d=_0x3f6c0a[_0x597aab(_0x772e55._0x55ef53,0x2f5,_0x772e55._0x34569c,0x41e)]??[];function _0x597aab(_0x12ce11,_0x505652,_0x4ba93e,_0x37f1e4){return _0x475ba1(_0x37f1e4,_0x4ba93e-_0x4e2296._0x26e584,_0x4ba93e-0x38,_0x37f1e4-_0x4e2296._0x2f4a26);}function _0x48235b(_0x4df962,_0x294787,_0xf4d96a,_0x5e82fe){return _0x475ba1(_0x4df962,_0x5e82fe-0x137,_0xf4d96a-0xec,_0x5e82fe-_0x1366b9._0x5aace9);}const _0x1d89da=_0x3f6c0a[_0x597aab(0x401,_0x772e55._0x502c04,0x3d0,_0x772e55._0x40aa1f)]??'FileNew';return defineTool({'name':_0x1d89da,'description':_0x48235b(0xbb,_0x772e55._0x250d5c,0x112,_0x772e55._0x239c23),'inputSchema':{'type':_0x48235b(_0x772e55._0x5daec2,_0x772e55._0x44800f,0x47f,_0x772e55._0x328e9f),'properties':{'filePath':{'type':_0x597aab(0x35f,_0x772e55._0x21380a,_0x772e55._0x57b265,_0x772e55._0x339fce)},'content':{'type':_0x597aab(_0x772e55._0x1f1f90,0x4ea,0x42b,_0x772e55._0x41a3ae)}},'required':['filePath',_0x48235b(_0x772e55._0x190faa,_0x772e55._0x2df9a1,0x4a,_0x772e55._0x464b85)]},async *'execute'(_0x76fc23){const _0x15c43d={_0x548448:0x2a,_0x2e2749:0x23a};function _0x1440a8(_0x39cea2,_0x42d676,_0x261b82,_0x18a332){return _0x597aab(_0x39cea2-_0x15c43d._0x548448,_0x42d676-0x18b,_0x42d676- -_0x15c43d._0x2e2749,_0x39cea2);}const _0x2ebc99=resolveAllowedPath(_0x4608c5,_0xa8b82d,_0x76fc23[_0x50e7ed(0x4d8,_0x5a2e70._0x1a15f1,_0x5a2e70._0x18a3e7,_0x5a2e70._0x2871b3)]);function _0x50e7ed(_0xd13550,_0x123f82,_0x25da2f,_0x22422b){return _0x597aab(_0xd13550-0x8b,_0x123f82-0x90,_0x22422b-_0xf0f552._0x44534f,_0xd13550);}const _0x52d4e1=await _0x31fe46(_0x2ebc99)[_0x50e7ed(_0x5a2e70._0x4c266d,_0x5a2e70._0x516baa,_0x5a2e70._0x4f535f,0x561)](()=>!![])['catch'](()=>![]),_0x2b4d41=Buffer['from'](_0x76fc23[_0x50e7ed(_0x5a2e70._0x5c186f,_0x5a2e70._0x25bf70,_0x5a2e70._0x338a0a,0x3ed)],_0x50e7ed(_0x5a2e70._0x1ee60a,_0x5a2e70._0x6e8078,0x625,0x539));return await atomicWrite2(_0x2ebc99,_0x2b4d41),yield createToolOutput(_0x50e7ed(_0x5a2e70._0x11785b,0x1e5,_0x5a2e70._0x155b03,0x337)+_0x76fc23[_0x50e7ed(0x50e,0x65b,0x48a,_0x5a2e70._0x2871b3)]+'.',{'filePath':_0x76fc23[_0x1440a8(0x195,_0x5a2e70._0x4ce04b,0x165,_0x5a2e70._0x5576ad)],'resolvedPath':_0x2ebc99,'bytes':_0x2b4d41[_0x50e7ed(_0x5a2e70._0x4589ee,_0x5a2e70._0x283288,0x4ca,0x419)],'lines':_0x76fc23[_0x50e7ed(0x4f7,0x4cf,0x4e5,_0x5a2e70._0x5e59d4)]['split'](/\r?\n/)['length'],'created':new Date()['toISOString'](),'overwritten':_0x52d4e1}),void 0x0;}});}import{readFile as _0x48b8aa,stat as _0x4da994}from'fs/promises';import*as _0x1eb065 from'path';function stripUtfBom(_0x12748c){const _0x3af1a9={_0x9263a1:0x268,_0x1345f6:0x96},_0x123362={_0x150e32:0x9d,_0xc03834:0x101,_0x1069d1:0xe1};function _0x23b2d7(_0x4d4ee7,_0x321f43,_0x5ca8bf,_0x31eeff){return _0x475ba1(_0x321f43,_0x31eeff-_0x123362._0x150e32,_0x5ca8bf-_0x123362._0xc03834,_0x31eeff-_0x123362._0x1069d1);}function _0x1eb9ee(_0x184272,_0x93298,_0x504f86,_0x495837){return _0x511d68(_0x184272-0x67,_0x495837- -0x530,_0x504f86-0x182,_0x184272);}return _0x12748c[_0x23b2d7(_0x3af1a9._0x9263a1,0x39f,0x370,0x2d6)](0x0)===0xfeff?_0x12748c[_0x1eb9ee(0x1e,0x88,-0x49,-_0x3af1a9._0x1345f6)](0x1):_0x12748c;}function clampLine(_0xbea7fa,_0x161135){const _0xaadd6b={_0x16e32a:0x567,_0x58fc50:0x562,_0x1639e6:0x3d5,_0xa11568:0x466},_0x468329={_0x23e028:0x6d},_0x40a22e={_0x5d9749:0x1f0,_0x401a9b:0x9b};function _0x197baa(_0x555631,_0x5baa45,_0x15abbf,_0x33f9ff){return _0x511d68(_0x555631-_0x40a22e._0x5d9749,_0x5baa45- -_0x40a22e._0x401a9b,_0x15abbf-0x114,_0x15abbf);}function _0x2c59fa(_0x40691d,_0x45ee39,_0x1937f9,_0x5309f9){return _0x511d68(_0x40691d-_0x468329._0x23e028,_0x5309f9-0x10d,_0x1937f9-0x1c5,_0x40691d);}if(!Number[_0x2c59fa(_0xaadd6b._0x16e32a,_0xaadd6b._0x58fc50,0x5c9,0x591)](_0xbea7fa))return 0x1;return Math['max'](0x1,Math['min'](Math[_0x2c59fa(0x429,_0xaadd6b._0x1639e6,_0xaadd6b._0xa11568,0x53b)](_0xbea7fa),_0x161135));}function createFileReadTool(_0x56eba8={}){const _0x2d207b={_0x547da5:0x29c,_0x4a5f30:0x189,_0x17cfec:0x28a,_0x41b100:0x129,_0x33c90b:0x12,_0x33e9b2:0x1c9,_0x26b1fd:0x1b9,_0x1ae649:0x170,_0x6ea9bf:0x13b,_0x3ccf99:0x105,_0x1c2518:0x227,_0x57bab9:0x25f,_0x199afe:0x30f,_0xa3df44:0xb2,_0xec819a:0x212,_0x1725d9:0x482,_0x1dc2af:0x335,_0x17b966:0x87,_0x55e804:0x110,_0x1b7eaf:0xe4,_0x31e887:0x3ac,_0x4045f0:0x43d,_0x895643:0x3bb},_0x4611de={_0xf4a789:0x4e8,_0x22ed97:0x482,_0x22dd48:0x4e8,_0x381b1c:0x3d8,_0x242b3e:0x54a,_0x4c20b9:0x5a7,_0x3c10c6:0x612,_0x539c00:0x516,_0x40e8a1:0x4cc,_0x492e19:0x5d5,_0x253b2c:0xd5,_0x7f4b9a:0x227,_0x3b34e0:0xcd,_0xd6a30c:0xdd,_0x1d1d33:0x80,_0x28bc6d:0x524,_0x57c538:0x52d,_0x182d97:0x54b,_0x12eeb4:0x18b,_0x2d5885:0x1d7,_0x4b2f21:0xbb,_0x12b13c:0x691,_0x411a3d:0x40f,_0x43f80b:0x1a,_0x52c7ea:0x11f,_0x4dde78:0x358,_0x4b45db:0x24e,_0x5de9ef:0xed,_0x145a11:0x20,_0x3e1537:0x10c,_0x10ca5e:0x58,_0x5b73f3:0x3c6,_0x7ea367:0xf0,_0x1bc6cd:0x344,_0x3c3669:0x4d,_0x414126:0x76,_0x476636:0x2a,_0x49220f:0x4f5,_0x2759b0:0x4fd,_0x1198c4:0x528,_0x1dc579:0x80},_0x575064={_0x58cf1d:0x7b,_0x5c6820:0xdf},_0x146220={_0x5acc52:0x114,_0x13f3d6:0xcb};function _0x5abe3b(_0x5014ae,_0x41e603,_0x32a68a,_0x2a3f2c){return _0x475ba1(_0x32a68a,_0x2a3f2c-0x1b8,_0x32a68a-0x11c,_0x2a3f2c-0x16);}const _0x3b394d=_0x1eb065[_0xbff5f8(-0x14b,-0x2ab,-_0x2d207b._0x547da5,-_0x2d207b._0x4a5f30)](_0x56eba8[_0xbff5f8(-0x15b,-0x282,-0x1c1,-_0x2d207b._0x17cfec)]??process[_0xbff5f8(_0x2d207b._0x41b100,0x1a8,-_0x2d207b._0x33c90b,_0x2d207b._0x33e9b2)]()),_0x422c23=_0x56eba8[_0x5abe3b(_0x2d207b._0x26b1fd,0x2c4,_0x2d207b._0x1ae649,0x2df)]??[],_0x32ec79=_0x56eba8[_0xbff5f8(0xe,0xd6,_0x2d207b._0x6ea9bf,-_0x2d207b._0x3ccf99)]??_0x5abe3b(_0x2d207b._0x1c2518,0x2ee,_0x2d207b._0x57bab9,_0x2d207b._0x199afe);function _0xbff5f8(_0x373cda,_0x13268a,_0x584dfc,_0x34345a){return _0x475ba1(_0x584dfc,_0x373cda- -_0x146220._0x5acc52,_0x584dfc-0x153,_0x34345a-_0x146220._0x13f3d6);}return defineTool({'name':_0x32ec79,'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0xbff5f8(_0x2d207b._0xa3df44,0x1d,_0x2d207b._0xec819a,0x10e),'properties':{'path':{'type':_0x5abe3b(_0x2d207b._0x1725d9,0x42d,0x212,_0x2d207b._0x1dc2af)},'lineStart':{'type':_0xbff5f8(_0x2d207b._0x17b966,_0x2d207b._0x55e804,0x6a,-_0x2d207b._0x1b7eaf),'description':_0x5abe3b(0x4a2,_0x2d207b._0x31e887,_0x2d207b._0x4045f0,_0x2d207b._0x895643)},'lineEnd':{'type':'number','description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(1-based)'}},'required':['path']},async *'execute'(_0x57627b){const _0x27f648={_0x5824e7:0x1e7},_0x516e6f=resolveAllowedPath(_0x3b394d,_0x422c23,_0x57627b[_0x29fcf9(_0x4611de._0xf4a789,0x543,0x452,_0x4611de._0x22ed97)]);await assertWorkspaceFile(_0x516e6f);function _0x29fcf9(_0xfcec27,_0x83cbf1,_0x2f86f1,_0x248502){return _0x5abe3b(_0xfcec27-_0x575064._0x58cf1d,_0x83cbf1-0xab,_0x248502,_0xfcec27-_0x575064._0x5c6820);}const _0xcc55c7=await _0x4da994(_0x516e6f),_0x45e3be=await _0x48b8aa(_0x516e6f);function _0x29209b(_0x1cf18b,_0x4ad1b5,_0x33d59e,_0x556af4){return _0xbff5f8(_0x4ad1b5- -0x68,_0x4ad1b5-_0x27f648._0x5824e7,_0x1cf18b,_0x556af4-0x18d);}if(isProbablyBinary(_0x45e3be))throw new ToolExecutionError('File\x20appears\x20to\x20be\x20binary:\x20'+_0x57627b[_0x29fcf9(_0x4611de._0x22dd48,_0x4611de._0x381b1c,0x44d,_0x4611de._0x242b3e)],{'path':_0x57627b[_0x29fcf9(0x4e8,0x519,0x5e8,0x39b)]});let _0x3acfb8=_0x45e3be['toString'](_0x29fcf9(0x478,0x418,_0x4611de._0x4c20b9,0x323));const _0x4ea145=_0x3acfb8[_0x29fcf9(0x4d0,0x4f5,_0x4611de._0x3c10c6,_0x4611de._0x539c00)](0x0)===0xfeff;_0x3acfb8=stripUtfBom(_0x3acfb8);const _0x5349fc=_0x3acfb8[_0x29fcf9(_0x4611de._0x40e8a1,_0x4611de._0x492e19,0x36d,0x4dc)](/\r?\n/),_0xae29c1={'path':_0x57627b[_0x29209b(0xb4,_0x4611de._0x253b2c,0x145,_0x4611de._0x7f4b9a)],'resolvedPath':_0x516e6f,'created':_0xcc55c7['birthtime'][_0x29209b(_0x4611de._0x3b34e0,_0x4611de._0xd6a30c,_0x4611de._0x1d1d33,0x20c)](),'modified':_0xcc55c7['mtime']['toISOString'](),'size':_0xcc55c7[_0x29fcf9(_0x4611de._0x28bc6d,_0x4611de._0x57c538,0x680,_0x4611de._0x182d97)],'encoding':_0x29209b(_0x4611de._0x12eeb4,0x65,_0x4611de._0x2d5885,-0x87),'bomStripped':_0x4ea145,'truncated':![],'totalLines':_0x5349fc[_0x29209b(0x8d,-_0x4611de._0x4b2f21,-0x41,-0x1f5)]};if(_0x57627b[_0x29fcf9(0x532,_0x4611de._0x12b13c,0x5ad,_0x4611de._0x411a3d)]!==void 0x0||_0x57627b[_0x29209b(-0xee,0x20,0x164,0x186)]!==void 0x0){const _0x4c0e13=clampLine(_0x57627b[_0x29209b(_0x4611de._0x43f80b,_0x4611de._0x52c7ea,0x51,0x27e)]??0x1,_0x5349fc[_0x29fcf9(_0x4611de._0x4dde78,_0x4611de._0x4b45db,0x355,0x1de)]),_0x4175d2=clampLine(_0x57627b[_0x29209b(_0x4611de._0x5de9ef,_0x4611de._0x145a11,_0x4611de._0x3e1537,-0x2e)]??_0x5349fc[_0x29209b(-_0x4611de._0x10ca5e,-0xbb,0x84,0x6f)],_0x5349fc['length']),_0x2157ed=Math[_0x29fcf9(0x3c7,0x49a,0x273,_0x4611de._0x5b73f3)](_0x4c0e13,_0x4175d2),_0x3ea5b5=Math[_0x29209b(-0x102,-_0x4611de._0x7ea367,-0x16,-0x112)](_0x4c0e13,_0x4175d2),_0x5d2bd5=_0x5349fc[_0x29fcf9(0x2e4,0x1c2,_0x4611de._0x1bc6cd,0x2af)](_0x2157ed-0x1,_0x3ea5b5)[_0x29209b(_0x4611de._0x3c3669,-_0x4611de._0x414126,-0x87,-_0x4611de._0x476636)]((_0x47ac43,_0x4de527)=>_0x2157ed+_0x4de527+'|'+_0x47ac43)[_0x29fcf9(0x540,_0x4611de._0x49220f,_0x4611de._0x2759b0,_0x4611de._0x1198c4)]('\x0a');return yield createToolOutput(_0x5d2bd5,{..._0xae29c1,'lineRange':{'lineStart':_0x2157ed,'lineEnd':_0x3ea5b5,'linesTotal':_0x5349fc[_0x29209b(_0x4611de._0x1dc579,-0xbb,0x34,-0x1f8)]}}),void 0x0;}return yield createToolOutput(_0x3acfb8,_0xae29c1),void 0x0;}});}import{stat as _0x2f6682}from'fs/promises';import*as _0x3a2798 from'path';import{execSync,spawn as _0x188f33}from'child_process';import{existsSync}from'fs';import{stat as _0x249f3e}from'fs/promises';import*as _0x2581ef from'os';import*as _0xc571ff from'path';import{rgPath as _0x13a3d9}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x36739b={_0x2368a5:0x5b3,_0x2b4b59:0x5b7,_0x47a905:0x3d3,_0xa11f4e:0x483,_0x162670:0x549,_0x524c6c:0x409,_0x30967c:0x69e,_0x4c1504:0x5bb,_0x166bc7:0x66,_0x3b0ad7:0xf0,_0x21df87:0x248,_0x32f94a:0x381,_0x261f89:0x278,_0x5131cf:0x331,_0xe59cde:0x4c4,_0x26406b:0x527,_0x46dbde:0x5d3,_0xd68266:0x540,_0x49589d:0x3ce,_0x11fd02:0x95,_0x19c543:0x1ce,_0x3908b6:0x237,_0x385443:0x1e5,_0x2b1948:0x69f,_0x39b7d8:0x786,_0x538877:0x70e,_0x27da1a:0x47e,_0x4a1083:0x562,_0x112fbb:0x68d,_0x2e447b:0x5e7,_0x5ce2fc:0x10a,_0x348765:0x2af,_0x12ced6:0x107,_0x52ff0d:0x321,_0x57e423:0x53a,_0xfb353b:0x695,_0x3368cf:0x640,_0x1fd0bb:0x648,_0x32a1b8:0x191,_0x45e874:0xd9,_0x4d9eeb:0x5d7,_0x10c0f9:0x666,_0x34d75b:0x6a0,_0x384834:0x7ac,_0x2fe4cc:0x67b,_0x3a3ea4:0x6d,_0x5c73be:0x102,_0x23ca29:0x5d0,_0x2654f0:0x433,_0x5ea742:0x318},_0x240d08={_0xa69f4:0x3f6,_0x1f96e3:0xd5},_0x1924b1={_0x2f1907:0x8},_0x3481c3=_0x2581ef[_0x111b98(0x481,_0x36739b._0x2368a5,_0x36739b._0x2b4b59,0x2fd)]()===_0x111b98(_0x36739b._0x47a905,0x4bd,_0x36739b._0xa11f4e,_0x36739b._0x162670),_0x428f9f=_0x3481c3?[_0xc571ff['join'](process['env'][_0x111b98(0x548,_0x36739b._0x524c6c,_0x36739b._0x30967c,_0x36739b._0x4c1504)]||'',_0x389ee2(0xe7,0x3,_0x36739b._0x166bc7,_0x36739b._0x3b0ad7),_0x389ee2(0x38c,0x1b9,_0x36739b._0x21df87,0x347),'Packages'),_0xc571ff[_0x389ee2(0x10e,_0x36739b._0x32f94a,_0x36739b._0x261f89,_0x36739b._0x5131cf)](process[_0x111b98(_0x36739b._0xe59cde,0x572,_0x36739b._0x26406b,_0x36739b._0x46dbde)][_0x111b98(0x535,_0x36739b._0xd68266,0x431,_0x36739b._0x49589d)]||'',_0x389ee2(_0x36739b._0x11fd02,0x2e8,_0x36739b._0x19c543,_0x36739b._0x3908b6),_0x389ee2(0x351,0x64,_0x36739b._0x385443,0x1cf)),_0xc571ff[_0x111b98(_0x36739b._0x2b1948,0x53a,_0x36739b._0x39b7d8,_0x36739b._0x538877)](process['env'][_0x111b98(0x5b9,_0x36739b._0x162670,0x4e6,_0x36739b._0x27da1a)]||'','ripgrep','rg.exe')]:[_0x111b98(_0x36739b._0x4a1083,_0x36739b._0x112fbb,_0x36739b._0x2e447b,0x671),_0x389ee2(_0x36739b._0x5ce2fc,_0x36739b._0x348765,0x23d,_0x36739b._0x12ced6),_0x389ee2(0x73,_0x36739b._0x52ff0d,0x1f4,0x28f),_0x111b98(0x6b4,_0x36739b._0x57e423,_0x36739b._0xfb353b,0x5db)];for(const _0x11bbbd of _0x428f9f){if(existsSync(_0x11bbbd))return _0x11bbbd;}try{const _0x3048f4=_0x3481c3?_0x111b98(0x65a,_0x36739b._0x3368cf,_0x36739b._0x1fd0bb,0x691):_0x389ee2(-_0x36739b._0x32a1b8,-0x14,-0x32,-_0x36739b._0x45e874),_0x5d014f=execSync(_0x3048f4,{'encoding':_0x111b98(_0x36739b._0x4d9eeb,_0x36739b._0x10c0f9,_0x36739b._0x34d75b,0x475),'stdio':['pipe',_0x111b98(0x673,0x5ee,_0x36739b._0x384834,_0x36739b._0x2fe4cc),_0x389ee2(0xf5,_0x36739b._0x3a3ea4,-0x64,-_0x36739b._0x5c73be)]})[_0x111b98(0x51c,0x51e,_0x36739b._0x23ca29,_0x36739b._0x2654f0)]()[_0x389ee2(_0x36739b._0x5ea742,0xa6,0x204,0x93)](/\r?\n/)[0x0];if(_0x5d014f&&existsSync(_0x5d014f))return _0x5d014f;}catch{return null;}function _0x389ee2(_0x1b00a8,_0x2d7658,_0x29a00f,_0x10e759){return _0x475ba1(_0x1b00a8,_0x29a00f- -0x31,_0x29a00f-0x151,_0x10e759-_0x1924b1._0x2f1907);}function _0x111b98(_0x407e27,_0x54a198,_0x33593d,_0x5bf812){return _0x475ba1(_0x33593d,_0x407e27-_0x240d08._0xa69f4,_0x33593d-_0x240d08._0x1f96e3,_0x5bf812-0x154);}return null;}async function filepath(){const _0x5c6ff8={_0x4a44b3:0x9c,_0xd45bdc:0x40,_0x51c8dc:0x56,_0x335ad7:0xc6},_0x2786e0={_0x3fd977:0x6,_0x9e6a61:0x129};if(cachedRgPath)return cachedRgPath;function _0x40b67b(_0x2d1f30,_0x15f4c9,_0x1de678,_0x4026f6){return _0x475ba1(_0x2d1f30,_0x4026f6- -_0x2786e0._0x3fd977,_0x1de678-0x172,_0x4026f6-_0x2786e0._0x9e6a61);}if(_0x13a3d9&&existsSync(_0x13a3d9))return cachedRgPath=_0x13a3d9,_0x13a3d9;const _0x5a5b18=findSystemRipgrep();if(!_0x5a5b18)throw new Error(_0x40b67b(-_0x5c6ff8._0x4a44b3,-_0x5c6ff8._0xd45bdc,-_0x5c6ff8._0x51c8dc,_0x5c6ff8._0x335ad7));return cachedRgPath=_0x5a5b18,_0x5a5b18;}async function*files(_0x3b214b){const _0x5271dd={_0x583db1:0x758,_0x28c194:0x707,_0x4d6efa:0x915,_0x364179:0x6a5,_0x41c8b9:0x89f,_0xa5c8ff:0x782,_0x2048ab:0x891,_0x5eab1d:0x745,_0xf45d2a:0x302,_0x1485cf:0xde,_0xe6bca4:0x405,_0xcb5669:0x348,_0x209e10:0x6e0,_0x5e8d4b:0x5ea,_0x26c5dc:0x454,_0x570536:0x378,_0x1c0b65:0x40d,_0x2548d3:0x2e0,_0x196558:0x4e0,_0x37df1e:0x226,_0x2d0104:0x4aa,_0x5d9c52:0x1b9,_0x2b8aeb:0x32f,_0x5366ff:0x3a7,_0x5e131f:0x4a2,_0x44c805:0x418,_0x5c207a:0x3dd,_0x1da1cf:0x2a4,_0x280eae:0x375,_0x971937:0x641,_0x3b2932:0x5da,_0x5a15bb:0x21b,_0x368f27:0x2a4,_0x82470e:0x380},_0x47d77f={_0x2dc51a:0x8d,_0x2849cc:0xce},_0xf8ef4e={_0x2bd1eb:0x4e},_0x220675=await filepath(),_0x4734de=await _0x249f3e(_0x3b214b[_0x455942(0x7d5,_0x5271dd._0x583db1,_0x5271dd._0x28c194,0x805)])['catch'](()=>null);function _0x411467(_0x38a400,_0x3f0f85,_0x21bd28,_0x2550ea){return _0x511d68(_0x38a400-0x97,_0x21bd28- -0x26a,_0x21bd28-_0xf8ef4e._0x2bd1eb,_0x38a400);}if(!_0x4734de?.[_0x455942(0x72e,0x7bb,_0x5271dd._0x4d6efa,_0x5271dd._0x364179)]())throw Object[_0x455942(_0x5271dd._0x41c8b9,_0x5271dd._0xa5c8ff,0x6fb,_0x5271dd._0x2048ab)](new Error(_0x455942(_0x5271dd._0x5eab1d,0x657,0x728,0x58b)+_0x3b214b['cwd']+'\x27'),{'code':_0x411467(0x317,_0x5271dd._0xf45d2a,0x1ab,_0x5271dd._0x1485cf)});const _0x5ad8cf=['--files',_0x411467(0x381,_0x5271dd._0xe6bca4,0x318,_0x5271dd._0xcb5669),_0x455942(0x592,_0x5271dd._0x209e10,_0x5271dd._0x5e8d4b,0x5b8),_0x411467(0x411,_0x5271dd._0x26c5dc,0x496,_0x5271dd._0x570536)];for(const _0x5064bc of _0x3b214b['glob']??[]){_0x5ad8cf['push'](_0x411467(_0x5271dd._0x1c0b65,0x3a2,0x2c0,_0x5271dd._0x2548d3)+_0x5064bc);}const _0x21af56=_0x188f33(_0x220675,_0x5ad8cf,{'cwd':_0x3b214b[_0x411467(_0x5271dd._0x196558,0x577,0x420,0x582)],'stdio':['ignore','pipe','pipe']});let _0x4512bc='';function _0x455942(_0x292aa4,_0x539859,_0x2b7dc1,_0x57cab4){return _0x511d68(_0x292aa4-_0x47d77f._0x2dc51a,_0x539859-_0x47d77f._0x2849cc,_0x2b7dc1-0x3e,_0x292aa4);}for await(const _0x9207c of _0x21af56[_0x411467(0x45d,_0x5271dd._0x37df1e,0x3ac,_0x5271dd._0x2d0104)]??[]){_0x4512bc+=_0x9207c[_0x411467(_0x5271dd._0x5d9c52,0x30b,_0x5271dd._0x2b8aeb,0x3e2)]();const _0x2e981d=_0x4512bc[_0x411467(_0x5271dd._0x5366ff,_0x5271dd._0x5e131f,_0x5271dd._0x44c805,0x4ca)](/\r?\n/);_0x4512bc=_0x2e981d['pop']()??'';for(const _0x4e7139 of _0x2e981d){if(_0x4e7139[_0x411467(_0x5271dd._0x5c207a,0x1ec,_0x5271dd._0x1da1cf,_0x5271dd._0x280eae)]>0x0)yield _0x4e7139;}}_0x4512bc[_0x455942(0x724,_0x5271dd._0x971937,_0x5271dd._0x3b2932,0x75a)]()[_0x411467(_0x5271dd._0x5a15bb,0x169,_0x5271dd._0x368f27,_0x5271dd._0x82470e)]>0x0&&(yield _0x4512bc['trim']());}function parseMatchLine(_0x42a789,_0x45abe0){const _0x5bccaf={_0x58a431:0x5cd,_0x25aacc:0x5a1,_0x1c74d4:0x2fb,_0x81d2ff:0x310,_0x221371:0x4d5,_0x537e78:0x54f,_0x202aa3:0x315,_0x1708b3:0x5bc,_0x2bb9e0:0x448,_0x41fd32:0x7cc,_0x47448e:0x63c,_0x21c173:0x48e,_0x22484b:0x4c4,_0x1826ef:0x219,_0x1a812d:0x351,_0x48ee7d:0x42b,_0x4c75bf:0x212,_0x326e09:0x6b4},_0x30b403={_0x1d8ef1:0x175};function _0x327a07(_0x6bf6b4,_0x47913c,_0x5134b6,_0x48c9f7){return _0x511d68(_0x6bf6b4-_0x30b403._0x1d8ef1,_0x48c9f7- -0x52,_0x5134b6-0x159,_0x47913c);}if(!_0x42a789||_0x42a789==='--')return null;const _0x5244d6=_0x42a789['split']('|');if(_0x45abe0&&_0x5244d6[_0x53f6b1(0x3db,0x342,0x324,0x2ad)]>=0x4&&Number['isFinite'](Number[_0x327a07(_0x5bccaf._0x58a431,_0x5bccaf._0x25aacc,_0x5bccaf._0x1c74d4,0x46a)](_0x5244d6[0x2]??'',0xa))){const _0x35d2e7=Number[_0x327a07(0x56b,_0x5bccaf._0x81d2ff,_0x5bccaf._0x221371,0x46a)](_0x5244d6[0x1]??'',0xa);if(!Number[_0x327a07(_0x5bccaf._0x537e78,0x3f1,0x459,0x432)](_0x35d2e7)||!_0x5244d6[0x0])return null;return{'filePath':_0x5244d6[0x0],'lineNum':_0x35d2e7,'lineText':_0x5244d6[_0x327a07(_0x5bccaf._0x202aa3,_0x5bccaf._0x1708b3,0x36f,_0x5bccaf._0x2bb9e0)](0x3)[_0x327a07(_0x5bccaf._0x41fd32,0x7e4,0x6d1,0x6a4)]('|')};}if(_0x5244d6[_0x327a07(_0x5bccaf._0x47448e,_0x5bccaf._0x21c173,0x5cf,0x4bc)]>=0x3){const _0x4b1287=Number[_0x53f6b1(0x389,0x340,_0x5bccaf._0x22484b,_0x5bccaf._0x1826ef)](_0x5244d6[0x1]??'',0xa);if(!Number[_0x53f6b1(_0x5bccaf._0x1a812d,_0x5bccaf._0x48ee7d,_0x5bccaf._0x4c75bf,0x259)](_0x4b1287)||!_0x5244d6[0x0])return null;return{'filePath':_0x5244d6[0x0],'lineNum':_0x4b1287,'lineText':_0x5244d6[_0x327a07(0x4a9,0x2e5,0x5ac,0x448)](0x2)[_0x327a07(0x613,_0x5bccaf._0x326e09,0x72b,0x6a4)]('|'),..._0x45abe0?{'isContext':!![]}:{}};}function _0x53f6b1(_0x4d6178,_0x3e08f2,_0x31ba1a,_0x79570d){return _0x475ba1(_0x3e08f2,_0x4d6178-0x31a,_0x31ba1a-0xae,_0x79570d-0xf3);}return null;}async function search(_0x18541a){const _0x3f0120={_0xcf1777:0x755,_0x43a234:0x89e,_0x4d542a:0x840,_0x5cb7b4:0x7c0,_0xd3edec:0x7cc,_0x2064da:0x837,_0x4b0b41:0x643,_0x5c8024:0x53a,_0x24e578:0x46d,_0x1b66d4:0x136,_0x5a3e68:0x1c7,_0x4cd7ca:0x688,_0x398e16:0x7fd,_0x18c9ac:0x7ef,_0x1b51a1:0x81f,_0x44a117:0x76c,_0x372735:0x8c3,_0x5f0fb3:0x116,_0x5f172a:0x6c,_0x41beb7:0x260,_0x24f38f:0x6a6,_0x4072ec:0xae,_0x4b37f0:0x2f,_0x41c716:0x151,_0x35a62c:0x2a7,_0x5c2d76:0x5c3,_0x3d5dc5:0x6f1,_0x315f27:0x6b1,_0x4b3226:0x47,_0x17223d:0x178,_0x133fff:0x23,_0x409a24:0x107,_0x1ea16d:0x14e,_0x171a3c:0x126,_0x234395:0x14d,_0x346fd8:0x6cf,_0xf90a41:0x64a,_0x36c59b:0x5ee,_0x3bd149:0x1df,_0x2a7dcc:0x756,_0x3348d4:0x844,_0xc16097:0xd8,_0x1e508f:0x21c,_0x54002b:0xb2,_0x3f9f3c:0xdf,_0x1cbaf4:0x258,_0x1189f4:0x167,_0x542ee2:0x1fe,_0x3954a6:0x13d,_0x5514f6:0x1b1,_0x3e8ed7:0x3a,_0x4e7047:0x69b,_0x4ea83d:0x669,_0xb53d73:0x47c,_0x395edd:0x6b4,_0x5397c5:0x758,_0x5b61b5:0x709},_0x5a8449={_0x2d313d:0x343,_0x3fa951:0x187,_0x5de59d:0xd3,_0x4ce954:0x11f,_0x17641d:0x3a6,_0x2f2cb5:0x388,_0x8fde88:0x3fd,_0x22955c:0x446,_0x467015:0x47f,_0x29f5ca:0x1f4,_0x305b53:0x366,_0x5aebe8:0x1c1,_0x22a325:0x63},_0x169ec1={_0x38a3ec:0x129,_0x1b3fac:0xcf,_0x1625f0:0x5e9,_0x4352d3:0x707,_0x2d4544:0x6be,_0x5eeb58:0x82},_0xb7e441={_0x3986fe:0x125},_0x15a740={_0x3530d4:0x60,_0x1aa0f1:0x16b},_0x4e0ed6=await filepath();function _0x2b45f7(_0x278971,_0xeb2f97,_0x5339b1,_0x4e25c7){return _0x475ba1(_0x4e25c7,_0x278971- -0x107,_0x5339b1-_0x15a740._0x3530d4,_0x4e25c7-_0x15a740._0x1aa0f1);}if(_0x18541a['file']){const _0x5ed4d4=await _0x249f3e(_0x18541a['file'])['catch'](()=>null);if(!_0x5ed4d4?.['isFile']())throw Object[_0x4bfbde(_0x3f0120._0xcf1777,0x7d9,0x7a2,_0x3f0120._0x43a234)](new Error(_0x4bfbde(_0x3f0120._0x4d542a,_0x3f0120._0x5cb7b4,0x64c,0x71a)+_0x18541a[_0x4bfbde(_0x3f0120._0xd3edec,0x758,0x8b7,_0x3f0120._0x2064da)]+'\x27'),{'code':_0x4bfbde(_0x3f0120._0x4b0b41,_0x3f0120._0x5c8024,0x4cb,_0x3f0120._0x24e578)});}else{const _0x479f7b=await _0x249f3e(_0x18541a[_0x2b45f7(_0x3f0120._0x1b66d4,0x21e,-0x1,_0x3f0120._0x5a3e68)])[_0x4bfbde(_0x3f0120._0x4cd7ca,_0x3f0120._0x398e16,0x6b7,0x751)](()=>null);if(!_0x479f7b?.[_0x4bfbde(_0x3f0120._0x18c9ac,0x812,_0x3f0120._0x1b51a1,_0x3f0120._0x44a117)]())throw Object[_0x4bfbde(0x78e,0x7d9,0x698,_0x3f0120._0x372735)](new Error(_0x2b45f7(0x35,-0x14d,_0x3f0120._0x5f0fb3,-_0x3f0120._0x5f172a)+_0x18541a[_0x2b45f7(0x136,_0x3f0120._0x41beb7,0x2a3,0x1f)]+'\x27'),{'code':_0x4bfbde(0x4b1,0x53a,0x62a,_0x3f0120._0x24f38f)});}const _0x10b153=[_0x2b45f7(0x71,_0x3f0120._0x4072ec,-_0x3f0120._0x4b37f0,-0x4),_0x2b45f7(-_0x3f0120._0x41c716,-_0x3f0120._0x35a62c,-0x7f,-0xdb),_0x4bfbde(_0x3f0120._0x5c2d76,0x5eb,_0x3f0120._0x3d5dc5,_0x3f0120._0x315f27),_0x2b45f7(_0x3f0120._0x4b3226,_0x3f0120._0x17223d,0xd6,_0x3f0120._0x133fff),_0x18541a[_0x2b45f7(-0x3a,-_0x3f0120._0x409a24,-_0x3f0120._0x1ea16d,-_0x3f0120._0x171a3c)]],_0x5d6c12=typeof _0x18541a[_0x2b45f7(_0x3f0120._0x234395,0x43,0x249,0x16e)]==='number'&&_0x18541a[_0x4bfbde(0x66f,0x7c6,0x8b6,_0x3f0120._0x346fd8)]>0x0;_0x5d6c12&&_0x10b153[_0x4bfbde(_0x3f0120._0xf90a41,0x53c,_0x3f0120._0x36c59b,0x63b)]('-C',String(_0x18541a[_0x2b45f7(_0x3f0120._0x234395,_0x3f0120._0x3bd149,0x16e,-0x37)]),_0x4bfbde(0x66f,_0x3f0120._0x2a7dcc,_0x3f0120._0x3348d4,0x6a4));_0x18541a[_0x2b45f7(-_0x3f0120._0xc16097,-_0x3f0120._0x1e508f,-_0x3f0120._0x54002b,0x45)]&&!_0x18541a[_0x2b45f7(_0x3f0120._0x3f9f3c,_0x3f0120._0x1cbaf4,_0x3f0120._0x1189f4,_0x3f0120._0x542ee2)]&&_0x10b153[_0x2b45f7(-_0x3f0120._0x3954a6,-0x1cf,-_0x3f0120._0x5514f6,-0x12)]('--glob',_0x18541a[_0x2b45f7(-0xd8,-0x13d,_0x3f0120._0x3e8ed7,-0x151)]);function _0x4bfbde(_0x53ef8b,_0x3a917b,_0x5b3b90,_0x24cbf2){return _0x511d68(_0x53ef8b-0x8e,_0x3a917b-_0xb7e441._0x3986fe,_0x5b3b90-0x115,_0x53ef8b);}return _0x10b153[_0x4bfbde(_0x3f0120._0x4e7047,0x53c,_0x3f0120._0x4ea83d,_0x3f0120._0xb53d73)](_0x18541a[_0x4bfbde(_0x3f0120._0x395edd,_0x3f0120._0x5397c5,_0x3f0120._0x5b61b5,0x5da)]??_0x18541a[_0x2b45f7(_0x3f0120._0x1b66d4,0x155,0x12e,0x133)]),await new Promise((_0x303000,_0x450e05)=>{const _0x17c381={_0x57bd7a:0xb1,_0x43fcc1:0x88},_0x510565={_0x17e92f:0x13},_0x3646c9={_0x47c7c7:0x2c7,_0x1ad853:0x2ef,_0x30d751:0x1a3},_0x523dfb={_0x3cc1a5:0xd3},_0x2da402={_0x5ddb83:0x46c,_0x1f0aa6:0x16},_0x52f214=_0x188f33(_0x4e0ed6,_0x10b153,{'cwd':_0x18541a[_0x2792e6(0x3b7,_0x5a8449._0x2d313d,0x29b,0x309)],'stdio':[_0x2792e6(_0x5a8449._0x3fa951,_0x5a8449._0x5de59d,_0x5a8449._0x4ce954,0x1b2),_0x2792e6(_0x5a8449._0x17641d,0x383,_0x5a8449._0x2f2cb5,_0x5a8449._0x8fde88),_0x2792e6(0x471,0x383,_0x5a8449._0x22955c,_0x5a8449._0x467015)]});function _0x2792e6(_0x4621ca,_0x303bf5,_0x416963,_0x38c323){return _0x4bfbde(_0x416963,_0x303bf5- -_0x2da402._0x5ddb83,_0x416963-_0x2da402._0x1f0aa6,_0x38c323-0x154);}function _0x464a08(_0x5d52c2,_0x24378e,_0xbbc0f3,_0x2508b0){return _0x2b45f7(_0xbbc0f3-0x132,_0x24378e-_0x523dfb._0x3cc1a5,_0xbbc0f3-0x4,_0x5d52c2);}let _0x2239af='',_0x3fcda5='';_0x52f214[_0x464a08(0x278,0x2db,_0x5a8449._0x29f5ca,0x297)]?.['on']('data',_0x1be80e=>{const _0x27d056={_0x5d3601:0x11};function _0x1164b7(_0xef64eb,_0x51fcef,_0x9d27a3,_0x5c2746){return _0x2792e6(_0xef64eb-0xb5,_0x5c2746- -0xdf,_0x9d27a3,_0x5c2746-_0x27d056._0x5d3601);}_0x2239af+=_0x1be80e[_0x1164b7(_0x3646c9._0x47c7c7,_0x3646c9._0x1ad853,_0x3646c9._0x30d751,0x173)]();}),_0x52f214[_0x2792e6(0x2bd,_0x5a8449._0x305b53,0x260,0x263)]?.['on'](_0x2792e6(_0x5a8449._0x5aebe8,0x282,0x1b1,0x23b),_0x2c5e78=>{const _0x487b48={_0x111b45:0x193};function _0x536ed5(_0x241c27,_0x5a90ef,_0x5c00c3,_0xf4af50){return _0x2792e6(_0x241c27-0x11d,_0x241c27- -_0x487b48._0x111b45,_0x5a90ef,_0xf4af50-0x1aa);}_0x3fcda5+=_0x2c5e78[_0x536ed5(0xbf,_0x510565._0x17e92f,0x207,-0x6f)]();}),_0x52f214['on'](_0x464a08(0x6b,-0xc9,_0x5a8449._0x22a325,0x4d),_0xde3e78=>{const _0x1caec4={_0xf955cb:0x383,_0x4f377e:0x46};if(_0xde3e78===0x1&&_0x2239af===''){_0x303000([]);return;}if(_0xde3e78!==0x0&&_0xde3e78!==0x1){_0x450e05(new Error('ripgrep\x20failed:\x20'+_0x3fcda5));return;}function _0x2cb93b(_0xc61d0f,_0x5145fc,_0x53c6a1,_0x50d4a8){return _0x2792e6(_0xc61d0f-0x1c2,_0x50d4a8-_0x1caec4._0xf955cb,_0x53c6a1,_0x50d4a8-_0x1caec4._0x4f377e);}const _0x20f666=_0x18541a[_0x49e970(0x26,-_0x169ec1._0x38a3ec,-0x86,-_0x169ec1._0x1b3fac)]??0x64,_0x140313=[];for(const _0x15986c of _0x2239af[_0x2cb93b(_0x169ec1._0x1625f0,_0x169ec1._0x4352d3,0x7eb,_0x169ec1._0x2d4544)](/\r?\n/)){if(_0x140313['length']>=_0x20f666)break;const _0x15dd90=parseMatchLine(_0x15986c,_0x5d6c12);if(_0x15dd90)_0x140313[_0x49e970(-0xbc,-_0x169ec1._0x5eeb58,_0x169ec1._0x5eeb58,-0xf9)](_0x15dd90);}function _0x49e970(_0x50cd92,_0x1cb5b6,_0x42030a,_0x453a8d){return _0x2792e6(_0x50cd92-_0x17c381._0x57bd7a,_0x453a8d- -0x1c9,_0x42030a,_0x453a8d-_0x17c381._0x43fcc1);}_0x303000(_0x140313);}),_0x52f214['on']('error',_0x450e05);});}function createGlobTool(_0x28634f={}){const _0x50354d={_0x456c10:0x2c7,_0x355112:0x1e3,_0x44d543:0x117,_0x374213:0x478,_0x57005b:0x420,_0x5641b4:0x4b8,_0x36feff:0x316,_0xc4360f:0x301,_0x3804f9:0x12c,_0x12409c:0x2bf,_0x419233:0x1a6,_0x2de217:0x3ec,_0x3a7502:0x1be,_0x56324a:0x31e,_0x15ca22:0x145,_0x1b7927:0xaa},_0xaa15b2={_0x58e8cf:0x53,_0x390753:0x35,_0x36a5f8:0x94,_0x3b838a:0x53f,_0x20a317:0x437,_0x195343:0x18c,_0x38053b:0x63,_0x182a59:0xec,_0x4bebe1:0x14e,_0x1dbd42:0x1ec,_0x3c0b60:0x51,_0x1e1bbd:0x452,_0x553ce1:0x3ad,_0x3ee58f:0x3a7,_0x49d39f:0x357,_0x196c2b:0x472,_0x246290:0x4,_0x3794eb:0xfa,_0x41b9fb:0x390,_0xc39a73:0x2d6,_0x46e682:0x4c9,_0x153b72:0x34b,_0x127ceb:0x621,_0x5a113a:0x71f,_0x22239f:0x6ba,_0x36c9c7:0x4cc,_0x27fdc8:0x39d,_0x289193:0x66f,_0x201f3e:0x5c8,_0x26169e:0x72e,_0x4343c8:0x583,_0x16c094:0x6ed,_0x2ead72:0x5df},_0x30e69b={_0x24ef89:0xa3},_0x5064c4={_0x4ba1b1:0xc3},_0x46c1c6={_0x1fd5b9:0x15e};function _0x42562c(_0x6fa797,_0x4a4ab9,_0x2ac54a,_0x5f5288){return _0x475ba1(_0x2ac54a,_0x6fa797-0x2fe,_0x2ac54a-0x124,_0x5f5288-0x19c);}function _0x30078a(_0x5e1b8e,_0x50906a,_0x2ebf74,_0x436ad9){return _0x475ba1(_0x5e1b8e,_0x436ad9-_0x46c1c6._0x1fd5b9,_0x2ebf74-0x157,_0x436ad9-0x14f);}const _0x376e05=_0x3a2798[_0x42562c(_0x50354d._0x456c10,0x3ca,0x286,0x2e9)](_0x28634f[_0x30078a(0x231,_0x50354d._0x355112,0x98,_0x50354d._0x44d543)]??process[_0x30078a(_0x50354d._0x374213,0x2bb,0x372,0x39b)]()),_0x3d7387=_0x28634f['allowedDirs']??[],_0x21e3d4=_0x28634f['limit']??0x64,_0x420ac7=_0x28634f[_0x42562c(_0x50354d._0x57005b,_0x50354d._0x5641b4,_0x50354d._0x5641b4,0x53e)]??_0x30078a(0x1c1,0x286,_0x50354d._0x36feff,_0x50354d._0xc4360f);return defineTool({'name':_0x420ac7,'description':_0x30078a(0xa6,_0x50354d._0x3804f9,_0x50354d._0x12409c,_0x50354d._0x419233),'inputSchema':{'type':'object','properties':{'pattern':{'type':_0x30078a(_0x50354d._0x2de217,0x3fe,0x3e1,0x2db)},'path':{'type':_0x30078a(_0x50354d._0x3a7502,0x366,_0x50354d._0x56324a,0x2db)},'limit':{'type':'number'}},'required':[_0x30078a(_0x50354d._0x15ca22,_0x50354d._0x1b7927,0x34d,0x22b)]},async *'execute'(_0x571cbd){if(_0x571cbd['pattern'][_0x255f69(0x61,_0xaa15b2._0x58e8cf,0x165,-0x4)]()[_0x255f69(-0x4,-0x15c,_0xaa15b2._0x390753,-_0xaa15b2._0x36a5f8)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x431d5e=resolveAllowedPath(_0x376e05,_0x3d7387,_0x571cbd[_0x255f69(0x18c,0x3e,0x49,0xf1)]??'.');function _0x144189(_0x3fd313,_0x10d948,_0x5cc4ee,_0x116ebb){return _0x42562c(_0x3fd313-0xc8,_0x10d948-0x2,_0x116ebb,_0x116ebb-_0x5064c4._0x4ba1b1);}function _0x255f69(_0x14c390,_0x39b42e,_0xe4de2a,_0xf33304){return _0x30078a(_0xf33304,_0x39b42e-_0x30e69b._0x24ef89,_0xe4de2a-0x14c,_0x14c390- -0x223);}const _0x10d4dd=await _0x2f6682(_0x431d5e)['catch'](()=>null);if(!_0x10d4dd?.['isDirectory']())throw new ToolExecutionError(_0x144189(_0xaa15b2._0x3b838a,0x3eb,0x51d,_0xaa15b2._0x20a317)+(_0x571cbd[_0x255f69(_0xaa15b2._0x195343,_0xaa15b2._0x38053b,_0xaa15b2._0x182a59,_0xaa15b2._0x4bebe1)]??'.'),{'path':_0x571cbd['path']??'.'});const _0x3274da=_0x571cbd[_0x255f69(-0xd1,-_0xaa15b2._0x1dbd42,-_0xaa15b2._0x3c0b60,-0x63)]??_0x21e3d4,_0x51e3a3=Math[_0x144189(_0xaa15b2._0x1e1bbd,0x4ea,0x332,_0xaa15b2._0x553ce1)](0x1,Math[_0x144189(_0xaa15b2._0x3ee58f,0x48e,_0xaa15b2._0x49d39f,0x272)](_0x3274da)),_0x428681=[];let _0x583f2f=![];for await(const _0x274a06 of files({'cwd':_0x431d5e,'glob':[_0x571cbd[_0x144189(0x493,0x578,0x48e,_0xaa15b2._0x196c2b)]]})){if(_0x428681[_0x255f69(-_0xaa15b2._0x246290,0x20,_0xaa15b2._0x3794eb,-0x4)]>=_0x51e3a3){_0x583f2f=!![];break;}const _0xbc0009=await _0x2f6682(_0x3a2798[_0x144189(0x66f,0x697,0x7c9,0x79a)](_0x431d5e,_0x274a06))['catch'](()=>null);_0x428681[_0x144189(_0xaa15b2._0x41b9fb,_0xaa15b2._0xc39a73,_0xaa15b2._0x46e682,_0xaa15b2._0x153b72)]({'path':_0x274a06,'mtime':_0xbc0009?.[_0x144189(0x636,0x4b2,0x64a,_0xaa15b2._0x127ceb)]??0x0});}_0x428681[_0x144189(0x611,_0xaa15b2._0x5a113a,0x4f1,_0xaa15b2._0x22239f)]((_0x270c4e,_0x4f1e94)=>_0x4f1e94[_0x144189(0x3be,0x343,0x3a8,0x3ea)]-_0x270c4e[_0x144189(0x3be,0x335,0x532,0x301)]);const _0x501829=_0x428681[_0x144189(_0xaa15b2._0x36c9c7,0x3cb,0x377,0x43f)](_0x184dfa=>_0x184dfa[_0x144189(0x617,0x588,0x6b8,0x5a9)]),_0x5a0d14=_0x501829['length']===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x571cbd[_0x144189(0x493,_0xaa15b2._0x27fdc8,0x406,0x57a)]:''+_0x501829[_0x144189(_0xaa15b2._0x289193,0x4ed,_0xaa15b2._0x201f3e,0x698)]('\x0a')+(_0x583f2f?_0x144189(0x5ef,_0xaa15b2._0x26169e,_0xaa15b2._0x5a113a,_0xaa15b2._0x4343c8):'');return yield createToolOutput(_0x5a0d14,{'pattern':_0x571cbd['pattern'],'searchPath':_0x3a2798[_0x144189(0x58d,_0xaa15b2._0x16c094,_0xaa15b2._0x2ead72,0x4e4)](_0x376e05,_0x431d5e)||'.','matches':_0x501829,'count':_0x501829[_0x255f69(-0x4,0x70,-0x1c,-0x102)],'truncated':_0x583f2f}),void 0x0;}});}import{stat as _0x1d25c1}from'fs/promises';import*as _0x3e13d6 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x1d357c={}){const _0x23681c={_0x263cd4:0x693,_0x40f1f5:0x4e4,_0x1d705d:0x516,_0xfd4e80:0x2a2,_0x316fc7:0x63b,_0x2c9ec1:0x5b7,_0x53ca40:0x5b1,_0x152ef3:0x3f2,_0x418f8f:0x42e,_0x44c4c5:0x5c4,_0x3f4492:0x4e1,_0x3e8eb2:0x64d,_0x41453e:0x490,_0x24a98c:0x4a8,_0x37b12f:0x8ca,_0x1c1164:0x870,_0x3c59f0:0x75d,_0xcced98:0x860,_0x1fb63d:0x5bb,_0x20a384:0x663,_0x5c0429:0x89c,_0x243540:0x584,_0x381763:0x463,_0x49d96b:0x3e3,_0x52d997:0x3fb},_0x8b2fcd={_0xf90fd0:0x46,_0x40f6a6:0xc,_0x1690f5:0xcc,_0x55e5cd:0x41,_0x130747:0x8e,_0x4fbc24:0x175,_0x36b7d2:0x808,_0x3b75e4:0x6bd,_0x3e2eb2:0x806,_0x1b232e:0x9d9,_0x278b6f:0x7fd,_0x38f411:0x7f7,_0xaffe9:0x747,_0x57d9b8:0x7f,_0x19e789:0x16c,_0x20da86:0x1fa,_0x16a650:0x1f5,_0x3150d2:0xf1,_0x532416:0x1e4,_0x2030d6:0x59,_0x80ca35:0x4a3,_0x389557:0x24f,_0x36d86e:0x1d,_0x9611f6:0x723,_0x31d2d5:0x685,_0x329bd8:0x16f,_0x46e450:0x5e,_0x306cf9:0x105,_0x519d9b:0x7f2,_0xe69705:0x628,_0x3368e4:0x1a6,_0x228f76:0x235,_0x422e69:0x52,_0x1beeb8:0x1b9,_0x1d006c:0xd7,_0x558b12:0x17e,_0x3ecbe:0x82e,_0x2ad96a:0x7a0,_0x17f9b3:0x723,_0x1160d7:0x7cc,_0x42e23a:0x6b7,_0x558f18:0x44,_0x1f13a0:0x54,_0x48416c:0x6d1,_0x343161:0x679,_0x2ffc19:0x76,_0x388a2c:0x16b,_0x378849:0x6d8,_0xa26fdc:0x6c8,_0x363428:0x670,_0x464d6b:0x5d3,_0xda4b0a:0x74d,_0x24576c:0x24,_0x3ea9f6:0x91,_0x33e8a6:0x14c,_0x157d90:0x155,_0x10a17d:0x608,_0x3c3cff:0x509,_0x2cf90e:0x7e7,_0x5c12c1:0x8bf,_0x63031a:0x99,_0x300d94:0x4f,_0x4e907a:0x105,_0x488ea0:0x49,_0x31bb10:0x63,_0x5f2243:0x4dc,_0x18cdf6:0x72b,_0x48b09d:0x718,_0x13c2d0:0x6c2,_0x475657:0x5cd,_0x488cd3:0x6fb,_0x33ff39:0x45d,_0x201f44:0x35,_0x2be329:0x9d,_0x3deb5d:0x152,_0x49f8f3:0x6cc,_0x15d2dd:0x79a,_0x5203ca:0x687,_0x431b53:0x5d2,_0x4c4fd4:0x4a3,_0x56a6a7:0x79b,_0x162163:0x77e,_0x5c0edd:0x7c6,_0x981119:0xc5,_0x1341d3:0x844,_0x5dc46d:0x89b,_0xdce220:0x1,_0x46fa:0x1b,_0x5ecde8:0x5fc,_0x4ec708:0x4ab,_0x30f58c:0x4eb,_0x4a68d1:0x659},_0x159019={_0x1413db:0x112,_0xab1ede:0x9f},_0x17ccc3={_0x4d1443:0x14a,_0x59716e:0x3};function _0x287f45(_0x13785d,_0x3f7d9c,_0x861bb9,_0x3be917){return _0x511d68(_0x13785d-0x166,_0x3be917-_0x17ccc3._0x4d1443,_0x861bb9-_0x17ccc3._0x59716e,_0x861bb9);}const _0x2ee821=_0x3e13d6[_0x287f45(_0x23681c._0x263cd4,_0x23681c._0x40f1f5,_0x23681c._0x1d705d,0x560)](_0x1d357c[_0xf856d(_0x23681c._0xfd4e80,0x3b7,0x25b,0x3f6)]??process[_0xf856d(0x619,_0x23681c._0x316fc7,_0x23681c._0x2c9ec1,_0x23681c._0x53ca40)]()),_0x1588c3=_0x1d357c['allowedDirs']??[];function _0xf856d(_0x13e0ba,_0x57ff32,_0x4b20ea,_0x3448b6){return _0x511d68(_0x13e0ba-_0x159019._0x1413db,_0x57ff32- -0x4f,_0x4b20ea-_0x159019._0xab1ede,_0x13e0ba);}const _0x2a1087=_0x1d357c[_0xf856d(0x387,_0x23681c._0x152ef3,_0x23681c._0x418f8f,0x301)]??0x64,_0x8cb0fb=_0x1d357c[_0xf856d(0x46c,0x520,_0x23681c._0x44c4c5,0x3da)]??_0xf856d(_0x23681c._0x3f4492,_0x23681c._0x3e8eb2,0x50a,0x730);return defineTool({'name':_0x8cb0fb,'description':_0xf856d(0x4dc,_0x23681c._0x41453e,0x36e,_0x23681c._0x24a98c),'inputSchema':{'type':_0x287f45(0x7fe,_0x23681c._0x37b12f,_0x23681c._0x1c1164,_0x23681c._0x3c59f0),'properties':{'pattern':{'type':_0x287f45(_0x23681c._0xcced98,_0x23681c._0x1fb63d,_0x23681c._0x20a384,0x714)},'path':{'type':'string'},'include':{'type':'string'},'limit':{'type':_0x287f45(0x871,0x6a1,_0x23681c._0x5c0429,0x732)},'context':{'type':_0xf856d(_0x23681c._0x243540,0x599,0x595,0x483)}},'required':[_0xf856d(_0x23681c._0x381763,0x4cb,_0x23681c._0x49d96b,_0x23681c._0x52d997)]},async *'execute'(_0x314a0e){const _0x507920={_0x2d4d22:0x1b9,_0x1e99d6:0x39,_0x3135c5:0x5d},_0x46c705={_0x255ca1:0x3a};if(_0x314a0e[_0x241eb5(-0x18,-_0x8b2fcd._0xf90fd0,-_0x8b2fcd._0x40f6a6,_0x8b2fcd._0x1690f5)][_0x241eb5(_0x8b2fcd._0x55e5cd,-_0x8b2fcd._0x130747,0x12a,_0x8b2fcd._0x4fbc24)]()['length']===0x0)throw new ToolExecutionError(_0x241eb5(0x105,0x212,0x16e,0x67),{});const _0x2c911a=resolveAllowedPath(_0x2ee821,_0x1588c3,_0x314a0e[_0x5e80b6(0x696,_0x8b2fcd._0x36b7d2,_0x8b2fcd._0x3b75e4,_0x8b2fcd._0x3e2eb2)]??'.'),_0x923407=await _0x1d25c1(_0x2c911a)['catch'](()=>null),_0xcdacbe=_0x923407?.['isFile']()??![],_0x208298=_0x923407?.[_0x5e80b6(_0x8b2fcd._0x1b232e,0x857,_0x8b2fcd._0x278b6f,0x80b)]()??![];if(!_0xcdacbe&&!_0x208298)throw new ToolExecutionError(_0x5e80b6(0x6d5,_0x8b2fcd._0x38f411,_0x8b2fcd._0xaffe9,0x8ae)+(_0x314a0e[_0x241eb5(0x16c,_0x8b2fcd._0x57d9b8,0xde,0x8e)]??'.'),{'path':_0x314a0e[_0x241eb5(_0x8b2fcd._0x19e789,_0x8b2fcd._0x20da86,_0x8b2fcd._0x16a650,0x239)]??'.'});const _0x1177d6=_0x314a0e[_0x241eb5(-_0x8b2fcd._0x3150d2,-_0x8b2fcd._0x532416,-0x91,-0x100)]??_0x2a1087,_0x233176=Math[_0x241eb5(-_0x8b2fcd._0x2030d6,0x18,-0x4b,0x28)](0x1,Math[_0x5e80b6(0x4c6,0x598,_0x8b2fcd._0x80ca35,0x718)](_0x1177d6)),_0x2161fa=await search({'cwd':_0x208298?_0x2c911a:_0x3e13d6[_0x241eb5(0x14b,0xff,_0x8b2fcd._0x389557,-_0x8b2fcd._0x36d86e)](_0x2c911a),'pattern':_0x314a0e[_0x5e80b6(_0x8b2fcd._0x9611f6,0x684,0x623,0x772)],'glob':_0x208298?_0x314a0e[_0x5e80b6(0x4ef,0x5a7,_0x8b2fcd._0x31d2d5,0x54d)]:void 0x0,'limit':_0x233176,'file':_0xcdacbe?_0x2c911a:void 0x0,'context':_0x314a0e[_0x241eb5(_0x8b2fcd._0x329bd8,_0x8b2fcd._0x46e450,0xf0,_0x8b2fcd._0x306cf9)]}),_0x53b753=new Map();for(const _0x533d06 of _0x2161fa){if(!_0x53b753['has'](_0x533d06[_0x5e80b6(0x605,0x755,_0x8b2fcd._0x519d9b,_0x8b2fcd._0xe69705)])){const _0x1fb654=await _0x1d25c1(_0x533d06['filePath'])[_0x241eb5(_0x8b2fcd._0x3368e4,_0x8b2fcd._0x228f76,_0x8b2fcd._0x422e69,0xdb)](()=>null);_0x53b753[_0x241eb5(_0x8b2fcd._0x1beeb8,_0x8b2fcd._0x1d006c,_0x8b2fcd._0x558b12,0x8f)](_0x533d06[_0x5e80b6(0x8cf,0x755,_0x8b2fcd._0x3ecbe,_0x8b2fcd._0x2ad96a)],{'matches':[],'mtime':_0x1fb654?.[_0x5e80b6(_0x8b2fcd._0x17f9b3,0x827,_0x8b2fcd._0x1160d7,_0x8b2fcd._0x42e23a)]??0x0});}_0x53b753[_0x241eb5(_0x8b2fcd._0x558f18,0x93,-_0x8b2fcd._0x1f13a0,_0x8b2fcd._0x1d006c)](_0x533d06[_0x241eb5(0xb9,0x16,0x14e,-0x53)])?.['matches'][_0x5e80b6(_0x8b2fcd._0x48416c,0x581,_0x8b2fcd._0x343161,0x5e3)](_0x533d06);}const _0x5080b9=[..._0x53b753[_0x241eb5(_0x8b2fcd._0x2ffc19,0x199,_0x8b2fcd._0x388a2c,0x14b)]()][_0x5e80b6(0x765,0x802,_0x8b2fcd._0x378849,_0x8b2fcd._0xa26fdc)]((_0x2a6ad3,_0x375c9f)=>_0x375c9f[0x1][_0x5e80b6(0x6c1,0x5af,0x655,0x434)]-_0x2a6ad3[0x1][_0x5e80b6(0x64f,0x5af,0x6fd,0x46b)]),_0x17a867=_0x2161fa[_0x5e80b6(_0x8b2fcd._0x363428,0x634,_0x8b2fcd._0x464d6b,_0x8b2fcd._0xda4b0a)](_0x186754=>!_0x186754['isContext'])[_0x241eb5(-_0x8b2fcd._0x24576c,-_0x8b2fcd._0x3ea9f6,-_0x8b2fcd._0x33e8a6,_0x8b2fcd._0x157d90)],_0x588c72=_0x2161fa[_0x5e80b6(0x533,0x678,_0x8b2fcd._0x10a17d,_0x8b2fcd._0x3c3cff)]>=_0x233176,_0x28d38b=_0xcdacbe?_0x3e13d6[_0x5e80b6(0x941,_0x8b2fcd._0x2cf90e,_0x8b2fcd._0x5c12c1,0x923)](_0x2c911a):_0x2c911a;let _0x13084b='';function _0x241eb5(_0x2bd1ab,_0x5e1afc,_0x529b77,_0x339c5a){return _0xf856d(_0x339c5a,_0x2bd1ab- -0x4e3,_0x529b77-0x1ac,_0x339c5a-_0x46c705._0x255ca1);}function _0x5e80b6(_0x137640,_0x197801,_0xcff2f8,_0x1dde17){return _0xf856d(_0x137640,_0x197801-_0x507920._0x2d4d22,_0xcff2f8-_0x507920._0x1e99d6,_0x1dde17-_0x507920._0x3135c5);}if(_0x2161fa['length']===0x0)_0x13084b=_0x241eb5(0xa3,0x1a7,_0x8b2fcd._0x63031a,_0x8b2fcd._0x300d94)+_0x314a0e[_0x241eb5(-0x18,0x54,-_0x8b2fcd._0x4e907a,0x13e)];else{_0x13084b=_0x241eb5(0xd0,0x1aa,0x17a,0x95)+_0x17a867+_0x241eb5(-_0x8b2fcd._0x488ea0,-_0x8b2fcd._0x31bb10,-0x194,0x29)+(_0x17a867===0x1?'':'es')+'\x0a';for(const [_0xcec116,_0x5e97fa]of _0x5080b9){const _0x76db75=_0xcdacbe?_0x3e13d6[_0x5e80b6(_0x8b2fcd._0x5f2243,0x58d,0x5cb,0x5fa)](_0xcec116):_0x3e13d6['relative'](_0x28d38b,_0xcec116);_0x13084b+='\x0a'+_0x76db75+':\x0a';for(const _0x5a23ff of _0x5e97fa[_0x5e80b6(_0x8b2fcd._0x18cdf6,_0x8b2fcd._0x48b09d,0x88c,_0x8b2fcd._0x13c2d0)]){const _0x86823=_0x5a23ff[_0x5e80b6(0x6f3,_0x8b2fcd._0x475657,_0x8b2fcd._0x488cd3,_0x8b2fcd._0x33ff39)][_0x241eb5(-0x24,-0x103,-_0x8b2fcd._0x201f44,-0xc4)]>MAX_LINE_LENGTH?_0x5a23ff[_0x5e80b6(0x6a5,0x5cd,0x4fe,0x4cd)][_0x241eb5(-0x98,-_0x8b2fcd._0x2be329,-_0x8b2fcd._0x3deb5d,0xbc)](0x0,MAX_LINE_LENGTH)+'...':_0x5a23ff[_0x5e80b6(_0x8b2fcd._0x49f8f3,0x5cd,0x711,0x460)],_0xf9127b=_0x5a23ff[_0x5e80b6(0x73d,0x835,0x7e7,0x969)]?'\x20\x20':'>\x20';_0x13084b+=_0xf9127b+_0x5e80b6(0x8ec,_0x8b2fcd._0x15d2dd,_0x8b2fcd._0x5203ca,0x72a)+_0x5a23ff[_0x5e80b6(0x702,_0x8b2fcd._0x431b53,0x482,_0x8b2fcd._0x4c4fd4)]+':\x20'+_0x86823+'\x0a';}}_0x588c72&&(_0x13084b+=_0x5e80b6(0x813,0x7e0,0x79b,_0x8b2fcd._0x56a6a7));}const _0x228d5e={'searchPath':_0x3e13d6[_0x5e80b6(0x87b,_0x8b2fcd._0x162163,0x76c,_0x8b2fcd._0x5c0edd)](_0x2ee821,_0x2c911a)||'.','pattern':_0x314a0e[_0x241eb5(-0x18,-_0x8b2fcd._0x31bb10,_0x8b2fcd._0x981119,_0x8b2fcd._0x19e789)],'matchCount':_0x17a867,'fileCount':_0x53b753[_0x5e80b6(0x7c6,_0x8b2fcd._0x1341d3,_0x8b2fcd._0x5dc46d,0x851)],'truncated':_0x588c72};return _0x208298&&_0x314a0e[_0x241eb5(-0xf5,-_0x8b2fcd._0xdce220,_0x8b2fcd._0x46fa,0x8c)]!==void 0x0&&(_0x228d5e[_0x5e80b6(_0x8b2fcd._0x5ecde8,0x5a7,0x691,_0x8b2fcd._0x4ec708)]=_0x314a0e[_0x5e80b6(_0x8b2fcd._0x30f58c,0x5a7,0x568,_0x8b2fcd._0x4a68d1)]),yield createToolOutput(_0x13084b['trim'](),_0x228d5e),void 0x0;}});}function createKillShellTool(_0x31e3af){const _0x337e4d={_0x451456:0x43a,_0x2dfd5e:0x49f,_0x46a6aa:0x3d0,_0x2f824d:0x585,_0x26a386:0x58b,_0x5735b9:0x53c,_0x3182c0:0x457,_0x24b0ec:0x544},_0x9e80da={_0x3d9c71:0x15c,_0x4bdb26:0x3e1,_0x2c2bb4:0x2bf,_0x32549f:0x295,_0xb7f210:0x2dd,_0x6ac9bd:0x1ee,_0x3e8715:0x2a9,_0x535835:0x1d8,_0x5563c5:0x3c1,_0x4cec83:0x346,_0x5dd9d2:0x26a},_0x2218ba={_0x29ee77:0x13d,_0x2ab97c:0x19c},_0x3f941f={_0x5241fd:0xb9,_0xddc4ff:0x76},_0x96f223={_0x89f048:0x8c,_0x302745:0x8e};function _0x2ca46a(_0x14cace,_0x3047c1,_0x2dadba,_0x37e91e){return _0x511d68(_0x14cace-_0x96f223._0x89f048,_0x14cace- -_0x96f223._0x302745,_0x2dadba-0x3e,_0x2dadba);}function _0x18a982(_0x22516c,_0xae0b07,_0x3b8a73,_0x3fd012){return _0x475ba1(_0xae0b07,_0x22516c-_0x3f941f._0x5241fd,_0x3b8a73-_0x3f941f._0xddc4ff,_0x3fd012-0x1c9);}const {registry:_0x33ac49}=_0x31e3af;return defineTool({'name':_0x2ca46a(_0x337e4d._0x451456,_0x337e4d._0x2dfd5e,0x2d5,_0x337e4d._0x46a6aa),'description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x2ca46a(_0x337e4d._0x2f824d,_0x337e4d._0x26a386,0x554,0x4c1),'properties':{'shellId':{'type':_0x2ca46a(_0x337e4d._0x5735b9,0x4fb,_0x337e4d._0x3182c0,0x528)}},'required':[_0x2ca46a(_0x337e4d._0x24b0ec,0x546,0x5db,0x64f)]},async *'execute'(_0x2451c3){const _0x41ccd6={_0x30e282:0x107},_0x18218b=_0x33ac49[_0x47570a(0x1c4,_0x9e80da._0x3d9c71,0xe8,0xbd)](_0x2451c3[_0x47570a(_0x9e80da._0x4bdb26,0x165,0x1c5,0x28d)]);function _0x20d51c(_0x467b25,_0x1fee9c,_0xd6a68a,_0x1b2539){return _0x2ca46a(_0x1b2539- -0x305,_0x1fee9c-0xb4,_0x1fee9c,_0x1b2539-_0x41ccd6._0x30e282);}function _0x47570a(_0x4453a2,_0x5bcfdf,_0x46c99a,_0x4584b5){return _0x18a982(_0x4584b5-0x4f,_0x5bcfdf,_0x46c99a-_0x2218ba._0x29ee77,_0x4584b5-_0x2218ba._0x2ab97c);}return createToolOutput('Killed\x20'+_0x2451c3['shellId']+'\x20(status:\x20'+_0x18218b[_0x47570a(_0x9e80da._0x2c2bb4,_0x9e80da._0x32549f,_0x9e80da._0xb7f210,0x2b9)]+').',{'shellId':_0x2451c3['shellId'],'status':_0x18218b[_0x47570a(_0x9e80da._0x6ac9bd,0x3a5,_0x9e80da._0x3e8715,0x2b9)],'exitCode':_0x18218b[_0x20d51c(_0x9e80da._0x535835,0x109,0xbb,0x80)],'signal':_0x18218b[_0x20d51c(_0x9e80da._0x5563c5,_0x9e80da._0x4cec83,_0x9e80da._0x5dd9d2,0x307)]});}});}import{readdir as _0x1799e2,readFile as _0x4dcd1d,stat as _0x18d03a}from'fs/promises';import*as _0x2c1dc2 from'path';import*as _0x52bee2 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x551ecf,_0x454bd3){const _0x24d091={_0x93ae49:0x3e4,_0x2a1c50:0x66f,_0x5e70a1:0x5a4,_0x5c4bd3:0x65a,_0x1511f7:0x778,_0x4ac840:0x6bc,_0x4635f8:0x4bf,_0x2084f5:0x3f2},_0x1a6c92={_0x39490d:0x55,_0x184939:0x11};if(_0x454bd3>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x20fbed=await _0x4dcd1d(_0x551ecf)[_0x1e400b(0x485,0x485,0x471,_0x24d091._0x93ae49)](()=>null);function _0x1e400b(_0x296cbe,_0x64407e,_0x22496a,_0x2a4c68){return _0x475ba1(_0x22496a,_0x2a4c68-0x159,_0x22496a-0xc1,_0x2a4c68-0x1db);}if(!_0x20fbed||isProbablyBinary(_0x20fbed))return void 0x0;function _0x343635(_0x5148a5,_0x28223c,_0x383963,_0x3ffbff){return _0x511d68(_0x5148a5-0x120,_0x5148a5- -_0x1a6c92._0x39490d,_0x383963-_0x1a6c92._0x184939,_0x383963);}return _0x20fbed[_0x343635(0x544,_0x24d091._0x2a1c50,0x4d9,0x5af)](_0x343635(0x5d9,0x70c,_0x24d091._0x5e70a1,_0x24d091._0x5c4bd3))[_0x343635(0x62d,_0x24d091._0x1511f7,_0x24d091._0x4ac840,_0x24d091._0x4635f8)](/\r?\n/)[_0x343635(0x4b9,_0x24d091._0x2084f5,0x378,0x5a0)];}function createLsTool(_0x1f4dde={}){const _0x1244f2={_0x4d177b:0x1d6,_0x2e1629:0x30e,_0x51132a:0x2a5,_0x1a035d:0x17d,_0x2849f0:0x295,_0x2f5afa:0xd3,_0x164ec6:0x51e,_0x38ae21:0x3ad,_0x425144:0x4e5,_0x1be8ab:0x2d9,_0xb9a53b:0x1a2,_0x19576b:0x34c,_0x5d6116:0x3b8,_0x2da1d7:0xc5,_0x2a23e9:0x24a,_0x350c22:0x3d,_0x3595c3:0xbe,_0x330352:0x4,_0x4f6c25:0xae,_0x895ca3:0x188},_0x49b889={_0x2d1087:0x14e,_0x40fb0c:0x1e1,_0x171675:0x647,_0x55f834:0x5f6,_0x3f3d2b:0x148,_0x27d5e0:0x124,_0x243954:0x1f1,_0x5e3230:0x445,_0x33e576:0x410,_0x593aa3:0x31b,_0x2c9635:0xf7,_0x4d6213:0x35a,_0x25c9a9:0x448,_0x3b5de3:0x5ce,_0x406976:0x3f8,_0x280e83:0x39d,_0x421f4a:0x237,_0x341387:0x316,_0x305fce:0x203,_0x3dd293:0x29a,_0x39e13b:0x3e3,_0x326fb2:0x25a,_0x147401:0x180,_0x3b22e4:0x4e5,_0x5514e0:0x5ee,_0x141681:0x764,_0x3832d4:0x6e4,_0x1896d3:0x7c5,_0x2f2c14:0x8b,_0x4f4ce5:0x716,_0x35a142:0x649,_0x420910:0x62c,_0xaf832c:0x4c9,_0xdc3803:0x5f0,_0x551bef:0x4e,_0x22269a:0x6fb,_0x40854f:0x617,_0x1a9619:0x25c,_0x63fa3a:0x303,_0x3c0e59:0x5ea,_0x4af67c:0x67,_0x3e67ce:0x47d,_0x5df522:0x5f9,_0x2cd2af:0x55f,_0x318fda:0x5fd,_0x19fd58:0x41b,_0x2e2dc4:0x47d,_0x2283c5:0x352,_0x47e95d:0xbb,_0x158350:0xb8},_0x5c543b={_0x211a34:0x5b0};function _0x5d08ac(_0x4b8590,_0x4030d7,_0x50e8de,_0x4c5e25){return _0x475ba1(_0x4030d7,_0x4b8590-0x1c4,_0x50e8de-0x198,_0x4c5e25-0x1be);}function _0x70de78(_0x408ffa,_0x30d665,_0x25d72b,_0x4999a1){return _0x511d68(_0x408ffa-0x65,_0x30d665- -_0x5c543b._0x211a34,_0x25d72b-0x45,_0x4999a1);}const _0x14ac08=_0x2c1dc2[_0x5d08ac(0x18d,_0x1244f2._0x4d177b,_0x1244f2._0x2e1629,_0x1244f2._0x51132a)](_0x1f4dde[_0x5d08ac(_0x1244f2._0x1a035d,_0x1244f2._0x2849f0,_0x1244f2._0x2f5afa,0x247)]??process[_0x5d08ac(0x401,_0x1244f2._0x164ec6,_0x1244f2._0x38ae21,_0x1244f2._0x425144)]()),_0x4c934b=_0x1f4dde[_0x5d08ac(0x2eb,0x207,_0x1244f2._0x1be8ab,0x1b9)]??[],_0x3a5e84=_0x1f4dde[_0x5d08ac(0x2e6,_0x1244f2._0xb9a53b,_0x1244f2._0x19576b,_0x1244f2._0x5d6116)]??'Ls';return defineTool({'name':_0x3a5e84,'description':_0x70de78(0x101,_0x1244f2._0x2da1d7,_0x1244f2._0x2a23e9,0x12),'inputSchema':{'type':_0x70de78(-0x85,0x63,-_0x1244f2._0x350c22,0x1),'properties':{'path':{'type':_0x70de78(_0x1244f2._0x3595c3,0x1a,_0x1244f2._0x330352,_0x1244f2._0x4f6c25)},'limit':{'type':_0x70de78(0xba,0x38,_0x1244f2._0x895ca3,-0x3)}}},async *'execute'(_0x19fd10){const _0x376223={_0x3d3826:0x132,_0x6725ad:0x128},_0x369d4b=_0x19fd10[_0x4ed8c6(0x220,0x264,_0x49b889._0x2d1087,_0x49b889._0x40fb0c)]??'.';function _0x4ed8c6(_0x414da5,_0x101032,_0x375969,_0x52ed0f){return _0x70de78(_0x414da5-0x29,_0x414da5-_0x376223._0x3d3826,_0x375969-_0x376223._0x6725ad,_0x375969);}const _0x4e0bfc=resolveAllowedPath(_0x14ac08,_0x4c934b,_0x369d4b),_0x3b1f53=await _0x18d03a(_0x4e0bfc)[_0x41aa34(0x6a5,_0x49b889._0x171675,0x51e,_0x49b889._0x55f834)](()=>null);if(!_0x3b1f53?.['isDirectory']())throw new ToolExecutionError(_0x4ed8c6(_0x49b889._0x3f3d2b,0x296,_0x49b889._0x27d5e0,_0x49b889._0x243954)+_0x369d4b,{'path':_0x369d4b});const _0x28dae2=_0x19fd10[_0x41aa34(_0x49b889._0x5e3230,0x3b0,_0x49b889._0x33e576,_0x49b889._0x593aa3)]??0x3e8,_0x8b63dd=Math[_0x4ed8c6(0xff,0x6b,0x1a1,_0x49b889._0x2c9635)](Math[_0x41aa34(_0x49b889._0x4d6213,_0x49b889._0x25c9a9,_0x49b889._0x3b5de3,_0x49b889._0x406976)](Math[_0x41aa34(0x33b,_0x49b889._0x280e83,_0x49b889._0x421f4a,0x492)](_0x28dae2),0x1),0x2710),_0x4e4463=await _0x1799e2(_0x4e0bfc),_0x32bd30=[];for(const _0x196444 of _0x4e4463[_0x41aa34(0x2fb,0x409,_0x49b889._0x341387,0x393)](0x0,_0x8b63dd)){const _0x2f774d=_0x2c1dc2[_0x4ed8c6(0x278,_0x49b889._0x305fce,_0x49b889._0x3dd293,_0x49b889._0x39e13b)](_0x4e0bfc,_0x196444),_0x37c58c=await _0x18d03a(_0x2f774d)[_0x4ed8c6(_0x49b889._0x326fb2,0x224,0x2b8,_0x49b889._0x147401)](()=>null);if(!_0x37c58c)continue;let _0x4d3d57='other';if(_0x37c58c[_0x41aa34(_0x49b889._0x3b22e4,_0x49b889._0x5514e0,_0x49b889._0x141681,_0x49b889._0x3832d4)]())_0x4d3d57='file';else{if(_0x37c58c[_0x41aa34(_0x49b889._0x1896d3,0x65c,0x74d,0x523)]())_0x4d3d57='directory';else{if(_0x37c58c[_0x4ed8c6(-0x33,-0x15e,-0x15a,-_0x49b889._0x2f2c14)]())_0x4d3d57=_0x4ed8c6(-0x66,0x112,0xc7,0x82);}}const _0x4cfc40={'name':_0x196444,'type':_0x4d3d57,'size':_0x37c58c[_0x41aa34(_0x49b889._0x4f4ce5,_0x49b889._0x35a142,_0x49b889._0x420910,_0x49b889._0xaf832c)],'mtime':_0x37c58c[_0x41aa34(_0x49b889._0xdc3803,_0x49b889._0x420910,0x733,0x71b)],'mode':_0x37c58c[_0x4ed8c6(_0x49b889._0x551bef,0x193,0x91,-0x103)]},_0x5d7292=_0x4d3d57===_0x41aa34(_0x49b889._0x22269a,0x5a2,0x68b,_0x49b889._0x40854f)?await countTextLines(_0x2f774d,_0x37c58c[_0x4ed8c6(_0x49b889._0x1a9619,0x29c,_0x49b889._0x63fa3a,0x217)]):void 0x0;if(_0x5d7292!==void 0x0)_0x4cfc40[_0x41aa34(0x6d4,0x5b1,_0x49b889._0x3c0e59,0x47d)]=_0x5d7292;_0x32bd30[_0x4ed8c6(-_0x49b889._0x4af67c,-0xf7,-0x35,0xd)](_0x4cfc40);}_0x32bd30['sort']((_0x2692a0,_0x225659)=>_0x2692a0[_0x4ed8c6(0xf1,0x171,0x79,-0x23)][_0x41aa34(0x4b2,0x3ab,0x339,0x28d)](_0x225659['name']));const _0x3abfee={'path':_0x369d4b,'total':_0x32bd30[_0x41aa34(0x565,_0x49b889._0x3e67ce,0x5b0,_0x49b889._0x5df522)],'truncated':_0x4e4463['length']>_0x8b63dd,'entries':_0x32bd30};yield createToolOutput(_0x52bee2[_0x41aa34(_0x49b889._0x2cd2af,0x5d0,_0x49b889._0x318fda,0x69f)](_0x3abfee,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x369d4b,'total':_0x32bd30[_0x41aa34(_0x49b889._0x19fd58,_0x49b889._0x2e2dc4,0x47b,_0x49b889._0x2283c5)],'truncated':_0x4e4463[_0x4ed8c6(0x90,0x1c6,-_0x49b889._0x47e95d,_0x49b889._0x158350)]>_0x8b63dd,'limit':_0x8b63dd,'entries':_0x32bd30});function _0x41aa34(_0x4a110f,_0x4b736e,_0x505640,_0x1a1b98){return _0x5d08ac(_0x4b736e-0x1f8,_0x1a1b98,_0x505640-0x175,_0x1a1b98-0x49);}return void 0x0;}});}import{stat as _0x279d76}from'fs/promises';import _0x42386 from'path';import{fileURLToPath as _0xd46e29}from'url';function severityName(_0x202bbd){const _0x171f73={_0x1ba743:0x2f5,_0x5f22db:0x25b,_0x4968b0:0x49b,_0x536b26:0x475,_0x365bbd:0x365,_0x55d72d:0x4c2,_0x3c9709:0x279,_0x521e91:0x49d,_0x25cdde:0x32b,_0x5b6555:0x23b},_0x52ccdf={_0x58624e:0x191,_0x1de585:0x160},_0x59eb04={_0xdeda5a:0x1e1};function _0x2e35a4(_0x3919b5,_0x22847b,_0x2a9a2d,_0x345ee2){return _0x475ba1(_0x22847b,_0x2a9a2d-_0x59eb04._0xdeda5a,_0x2a9a2d-0x18a,_0x345ee2-0x89);}function _0xdf2398(_0x32dd75,_0x1255ff,_0x1748e5,_0x44c8cb){return _0x475ba1(_0x1255ff,_0x1748e5-_0x52ccdf._0x58624e,_0x1748e5-0x120,_0x44c8cb-_0x52ccdf._0x1de585);}switch(_0x202bbd){case 0x1:return _0xdf2398(0x1c4,_0x171f73._0x1ba743,_0x171f73._0x5f22db,0x25c);case 0x2:return _0xdf2398(0x50d,0x3fb,0x3ac,0x24b);case 0x3:return _0x2e35a4(_0x171f73._0x4968b0,_0x171f73._0x536b26,_0x171f73._0x365bbd,_0x171f73._0x55d72d);case 0x4:return _0xdf2398(0x320,0x287,0x381,_0x171f73._0x3c9709);default:return _0xdf2398(0x441,_0x171f73._0x521e91,_0x171f73._0x25cdde,_0x171f73._0x5b6555);}}function formatSingleHover(_0x418b92){const _0x52b251={_0x429409:0x373,_0xd253b3:0x48c,_0x41da16:0x4c8,_0xadb410:0x3d6,_0x25e004:0x7d6,_0x5e9513:0x743,_0x49b59b:0x3d7,_0x43a379:0x4d8,_0x217775:0x606,_0x502b79:0x758,_0x370cbd:0x755,_0x52bfac:0x8c4,_0x3684a5:0x7d4,_0x538ec3:0x51a,_0x7883bc:0x3bb,_0x2271c3:0x4b1,_0x3449e1:0x62c},_0x234b3c={_0x4c4eac:0x1a1,_0x3f2239:0x8},_0xcb046c={_0x107e5d:0x5dd,_0x57d478:0x1b5};function _0x141320(_0xdd3da4,_0x52318e,_0x4c0683,_0x36dae7){return _0x475ba1(_0x36dae7,_0xdd3da4-_0xcb046c._0x107e5d,_0x4c0683-_0xcb046c._0x57d478,_0x36dae7-0x1b6);}const _0x515752=_0x418b92[_0x5264ef(_0x52b251._0x429409,0x402,0x29d,0x380)];if(typeof _0x515752===_0x5264ef(0x3f1,_0x52b251._0xd253b3,0x3b0,_0x52b251._0x41da16))return _0x515752;if(Array['isArray'](_0x515752))return _0x515752[_0x141320(0x6e3,0x71d,0x766,0x654)](_0x3c106d=>typeof _0x3c106d===_0x141320(0x75a,0x688,0x804,0x67e)?_0x3c106d:_0x3c106d[_0x5264ef(0x3ec,0x3a0,0x5a1,0x4b1)])[_0x5264ef(0x479,_0x52b251._0xadb410,0x53f,0x3c8)](Boolean)[_0x141320(0x886,0x8ea,0x94b,0x80a)]('\x0a\x0a');if(_0x141320(0x809,0x8e5,0x847,_0x52b251._0x25e004)in _0x515752)return _0x515752[_0x141320(_0x52b251._0x5e9513,0x5c2,0x831,0x742)];function _0x5264ef(_0x14785d,_0x27c823,_0x18f03,_0x2303a4){return _0x511d68(_0x14785d-_0x234b3c._0x4c4eac,_0x2303a4- -0x102,_0x18f03-_0x234b3c._0x3f2239,_0x18f03);}return _0x515752[_0x5264ef(0x3e4,_0x52b251._0x49b59b,0x44c,_0x52b251._0x43a379)]?_0x141320(_0x52b251._0x217775,_0x52b251._0x502b79,_0x52b251._0x370cbd,0x73b)+_0x515752[_0x141320(0x76a,_0x52b251._0x52bfac,_0x52b251._0x3684a5,0x740)]+'\x0a'+_0x515752[_0x5264ef(_0x52b251._0x538ec3,0x4ac,_0x52b251._0x7883bc,_0x52b251._0x2271c3)]+_0x5264ef(0x577,0x4c8,_0x52b251._0x3449e1,0x4dc):_0x515752['value'];}function formatHover(_0xdee82d){const _0x43f0fd={_0x56763d:0x8a,_0x5f5b7a:0x2c,_0x20c940:0xb5,_0x2aa13d:0x85,_0x40aa06:0x3a,_0x360289:0x2dd,_0x1c5f3d:0x266,_0x4493a8:0x3d},_0x3ec609={_0x29f4ce:0x3f8};if(_0xdee82d[_0x30f3b1(0x64,-0x100,-0x120,-_0x43f0fd._0x56763d)]===0x0)return _0x30f3b1(-0x2f,-0x192,-_0x43f0fd._0x5f5b7a,-_0x43f0fd._0x20c940);function _0x2fbc20(_0x22ae1a,_0x224c49,_0x4a3017,_0x471d74){return _0x511d68(_0x22ae1a-0x83,_0x4a3017- -_0x3ec609._0x29f4ce,_0x4a3017-0x186,_0x471d74);}function _0x30f3b1(_0xf3f9ae,_0x1e1784,_0x5d6d77,_0x16348d){return _0x475ba1(_0x5d6d77,_0x16348d- -0x14b,_0x5d6d77-0x11c,_0x16348d-0x1ce);}return _0xdee82d[_0x30f3b1(_0x43f0fd._0x2aa13d,-0x1ab,-_0x43f0fd._0x40aa06,-0x45)](formatSingleHover)[_0x30f3b1(_0x43f0fd._0x360289,_0x43f0fd._0x1c5f3d,_0x43f0fd._0x4493a8,0x15e)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x567bb3){const _0x1f9e1c={_0x2f81e5:0x377,_0x17de63:0x202,_0x2cc394:0x2c0,_0x3c0baf:0xd2},_0x14ec19={_0x3152ce:0x1bd};function _0x12718a(_0x3e8b7e,_0x55e046,_0x2a1f3d,_0x205b57){return _0x475ba1(_0x3e8b7e,_0x55e046-_0x14ec19._0x3152ce,_0x2a1f3d-0x73,_0x205b57-0x4a);}if(!_0x567bb3[_0x12718a(_0x1f9e1c._0x2f81e5,_0x1f9e1c._0x17de63,_0x1f9e1c._0x2cc394,_0x1f9e1c._0x3c0baf)]('file://'))return _0x567bb3;return _0xd46e29(_0x567bb3);}function formatLocations(_0x48b89b){const _0x5a8fca={_0x20c649:0x5fe,_0x4677db:0x656,_0x5b93cf:0x498,_0x38bcea:0x32c,_0x1d80d9:0x35e,_0x5894b6:0x618,_0x335d9b:0x4a6,_0x37541c:0x724},_0x5157bf={_0x31989c:0x4f2,_0x2ea156:0x4b7,_0x2e9fb6:0x241,_0x5b5978:0x44c,_0x316c2e:0x517},_0x46fe4e={_0x2f29b9:0x14c,_0x45aaf3:0x13d},_0xaefc1={_0x88e26b:0x9a,_0x4502d0:0x168};if(_0x48b89b[_0x3f75b3(0x55e,_0x5a8fca._0x20c649,0x635,_0x5a8fca._0x4677db)]===0x0)return _0x3f75b3(_0x5a8fca._0x5b93cf,_0x5a8fca._0x38bcea,0x3e6,_0x5a8fca._0x1d80d9);function _0x5d7bbd(_0x2faedc,_0x8a22a7,_0x276159,_0x2b1ba7){return _0x511d68(_0x2faedc-0x5f,_0x276159- -_0xaefc1._0x88e26b,_0x276159-_0xaefc1._0x4502d0,_0x2faedc);}function _0x3f75b3(_0x249f91,_0x31a770,_0x45f47f,_0xf818eb){return _0x511d68(_0x249f91-0x16,_0x249f91-0x50,_0x45f47f-0x2d,_0xf818eb);}return _0x48b89b[_0x5d7bbd(0x420,_0x5a8fca._0x5894b6,0x4b9,_0x5a8fca._0x335d9b)](_0x110108=>{const _0x256488={_0xd3a3a5:0x26a,_0xa92363:0xdc};function _0x1b120d(_0x3ba616,_0x1cde2b,_0x44afa2,_0x4ea50a){return _0x3f75b3(_0x3ba616- -_0x256488._0xd3a3a5,_0x1cde2b-0xe1,_0x44afa2-_0x256488._0xa92363,_0x1cde2b);}function _0x25c0b4(_0x6bdecb,_0x569749,_0x3b476f,_0x4f6814){return _0x5d7bbd(_0x4f6814,_0x569749-_0x46fe4e._0x2f29b9,_0x6bdecb-0xd3,_0x4f6814-_0x46fe4e._0x45aaf3);}const _0x48a728=_0x110108[_0x25c0b4(_0x5157bf._0x31989c,_0x5157bf._0x2ea156,0x3fd,0x58f)][_0x1b120d(0x206,_0x5157bf._0x2e9fb6,0x1c1,0x350)];return locationPath(_0x110108[_0x1b120d(_0x5157bf._0x5b5978,0x409,0x41e,_0x5157bf._0x316c2e)])+':'+(_0x48a728['line']+0x1)+':'+(_0x48a728['character']+0x1);})[_0x3f75b3(0x746,0x5f7,_0x5a8fca._0x37541c,0x779)]('\x0a');}function isDocumentSymbol(_0x16986a){const _0x7596bf={_0x12c85b:0x368},_0x3053af={_0x5a0009:0x2af,_0x402ece:0x175};function _0x49bfa5(_0x277914,_0x5bf05f,_0x996b,_0x54c5dc){return _0x475ba1(_0x54c5dc,_0x277914-_0x3053af._0x5a0009,_0x996b-_0x3053af._0x402ece,_0x54c5dc-0x60);}return _0x49bfa5(0x31b,0x3f7,_0x7596bf._0x12c85b,0x448)in _0x16986a&&'selectionRange'in _0x16986a;}function formatSymbols(_0x12d25e){const _0x494ded={_0x206af4:0x26f,_0x26b834:0x240,_0x338c6e:0xad,_0x2d0f0e:0x24c,_0x529988:0x4c0,_0x48333b:0x4b6,_0xc48ac1:0x373},_0x25c7e9={_0x561d1e:0x5ec,_0x446d3d:0x691,_0x1011c7:0x656,_0x327a85:0x3f5,_0x1aaaff:0x511,_0x5db354:0x6b0,_0x222f0f:0x474,_0x4937e5:0x4b7,_0x3679a2:0x5cb,_0x136625:0x4d1,_0x3f54dd:0x37b,_0x3f44a1:0x50f,_0x5ba194:0x33d,_0x4073b1:0x4bd,_0x1e7307:0x448,_0x9b4c08:0x625,_0x357147:0x4db,_0x1366e0:0x60e,_0x3463af:0x4c4,_0x5d7c58:0x6aa,_0x43b401:0x6b7,_0x341c0e:0x614,_0x44f218:0x4c1,_0x1b7cec:0x41e,_0x139d32:0x45c,_0x49de4c:0x2e2},_0x276732={_0x5ce3ce:0x1e7,_0x3ad7ea:0x383},_0x202345={_0x1eed07:0x461};if(_0x12d25e['length']===0x0)return _0x732561(_0x494ded._0x206af4,_0x494ded._0x26b834,0x2e4,0x359);function _0x51a65d(_0x194eb4,_0x2920c8,_0xd0716b,_0x280f0e){return _0x475ba1(_0x194eb4,_0x280f0e-_0x202345._0x1eed07,_0xd0716b-0x123,_0x280f0e-0x1e7);}function _0x732561(_0x536acb,_0x58e737,_0x23609a,_0x582171){return _0x511d68(_0x536acb-_0x276732._0x5ce3ce,_0x582171- -_0x276732._0x3ad7ea,_0x23609a-0x175,_0x58e737);}return _0x12d25e[_0x732561(_0x494ded._0x338c6e,_0x494ded._0x2d0f0e,0x85,0x1d0)](_0x4b525b=>{const _0x51af2={_0x5122ca:0x68,_0x15f105:0x4},_0x141ef4={_0x22f38a:0x41a};function _0x43bebc(_0x1ad9f3,_0x39efd4,_0x2945a7,_0x106a5d){return _0x732561(_0x1ad9f3-0x186,_0x39efd4,_0x2945a7-0x1ee,_0x106a5d-_0x141ef4._0x22f38a);}if(isDocumentSymbol(_0x4b525b))return _0x4b525b['name']+'\x20('+_0x4b525b[_0x37812e(_0x25c7e9._0x561d1e,_0x25c7e9._0x446d3d,_0x25c7e9._0x1011c7,0x7f9)]+_0x37812e(0x46e,0x53a,0x4d0,0x3ca)+(_0x4b525b[_0x43bebc(_0x25c7e9._0x327a85,_0x25c7e9._0x1aaaff,_0x25c7e9._0x5db354,0x550)][_0x43bebc(0x366,0x529,_0x25c7e9._0x222f0f,_0x25c7e9._0x4937e5)]['line']+0x1)+':'+(_0x4b525b[_0x37812e(_0x25c7e9._0x3679a2,_0x25c7e9._0x136625,0x413,_0x25c7e9._0x3f54dd)][_0x37812e(_0x25c7e9._0x3f44a1,0x438,_0x25c7e9._0x5ba194,0x461)][_0x43bebc(_0x25c7e9._0x4073b1,_0x25c7e9._0x1e7307,_0x25c7e9._0x9b4c08,_0x25c7e9._0x357147)]+0x1)+']';function _0x37812e(_0x1ae083,_0x12828e,_0x1538ea,_0x25737f){return _0x51a65d(_0x1538ea,_0x12828e-_0x51af2._0x5122ca,_0x1538ea-0x179,_0x12828e-_0x51af2._0x15f105);}return _0x4b525b[_0x37812e(_0x25c7e9._0x1366e0,0x587,_0x25c7e9._0x3463af,0x58b)]+'\x20('+_0x4b525b[_0x43bebc(0x855,0x732,_0x25c7e9._0x5d7c58,0x710)]+')\x20'+locationPath(_0x4b525b['location']['uri'])+':'+(_0x4b525b['location']['range']['start']['line']+0x1)+':'+(_0x4b525b[_0x37812e(0x302,0x41d,0x2a7,0x4f3)][_0x43bebc(_0x25c7e9._0x43b401,_0x25c7e9._0x341c0e,_0x25c7e9._0x44f218,0x550)]['start'][_0x37812e(_0x25c7e9._0x1b7cec,_0x25c7e9._0x139d32,_0x25c7e9._0x49de4c,0x307)]+0x1);})[_0x732561(0x1f8,_0x494ded._0x529988,_0x494ded._0x48333b,_0x494ded._0xc48ac1)]('\x0a');}function formatDiagnostics(_0x1450fd){const _0x45d8fe={_0x5bfc08:0x2d2,_0x182d9a:0x57b,_0x22dd8e:0x69d,_0x4b800a:0x41d},_0x1eac64={_0x3b5c20:0x3dd,_0x4586f6:0x2d9,_0x10db99:0xf9,_0xd6b505:0x1c7,_0x1a5891:0x210,_0x42f4f1:0x264,_0x2febb0:0x3e1,_0x107ceb:0x1db,_0x25b44b:0x1b7,_0x30a7cc:0x2f0,_0x192ef4:0x441,_0x2ef955:0x36a},_0x42e130={_0x432e3a:0xe2},_0x51c79c={_0x173613:0x181,_0x3ce64e:0x187},_0x1915dc={_0x4761d0:0xd6};if(_0x1450fd[_0x49a2bb(0x3ea,_0x45d8fe._0x5bfc08,0x38a,0x387)]===0x0)return'No\x20diagnostics';function _0x24d31a(_0x500854,_0x236b8b,_0x22669a,_0xe010b1){return _0x475ba1(_0x500854,_0x236b8b- -0x93,_0x22669a-_0x1915dc._0x4761d0,_0xe010b1-0x43);}function _0x49a2bb(_0xc8b5b7,_0x15a490,_0x45eaa6,_0x57e894){return _0x511d68(_0xc8b5b7-_0x51c79c._0x173613,_0x57e894- -_0x51c79c._0x3ce64e,_0x45eaa6-0x194,_0x45eaa6);}return _0x1450fd['map'](_0x3caf1c=>{const _0x5b5c35={_0x27ecf9:0x154};function _0x31b702(_0x19e1bc,_0x5418d1,_0x131f5c,_0x13fc16){return _0x49a2bb(_0x19e1bc-_0x5b5c35._0x27ecf9,_0x5418d1-0x104,_0x19e1bc,_0x5418d1- -0x59);}const _0x299aeb=_0x3caf1c[_0x31b702(_0x1eac64._0x3b5c20,_0x1eac64._0x4586f6,0x23a,0x351)]['start'];function _0x17727c(_0x2c55fb,_0x30b9fb,_0x534bcf,_0x43a37b){return _0x49a2bb(_0x2c55fb-0xf9,_0x30b9fb-0x1be,_0x2c55fb,_0x30b9fb- -_0x42e130._0x432e3a);}return severityName(_0x3caf1c[_0x17727c(_0x1eac64._0x10db99,_0x1eac64._0xd6b505,_0x1eac64._0x1a5891,0x1af)])+'\x20['+(_0x299aeb[_0x17727c(0x105,_0x1eac64._0x42f4f1,0x290,_0x1eac64._0x2febb0)]+0x1)+':'+(_0x299aeb[_0x17727c(0x1d7,_0x1eac64._0x107ceb,_0x1eac64._0x25b44b,0x15d)]+0x1)+']\x20'+_0x3caf1c[_0x17727c(0x457,_0x1eac64._0x30a7cc,_0x1eac64._0x192ef4,_0x1eac64._0x2ef955)];})[_0x49a2bb(_0x45d8fe._0x182d9a,_0x45d8fe._0x22dd8e,_0x45d8fe._0x4b800a,0x56f)]('\x0a');}function formatIncomingCalls(_0x39b890){const _0x431fce={_0x5de126:0x51f,_0x28a91a:0x587,_0x2aabaf:0x635,_0x1bc576:0x7b2},_0x137ea9={_0x1ac3a2:0x1b},_0x5c1502={_0x46cdfa:0x3d6,_0xd458a8:0x135};function _0xda3653(_0x3c8779,_0x480a5d,_0x56d333,_0x130307){return _0x475ba1(_0x480a5d,_0x56d333-_0x5c1502._0x46cdfa,_0x56d333-0x135,_0x130307-_0x5c1502._0xd458a8);}function _0x1c49b1(_0x3b7cd1,_0x5c96c7,_0x140076,_0x45883a){return _0x511d68(_0x3b7cd1-0x157,_0x140076- -_0x137ea9._0x1ac3a2,_0x140076-0xd0,_0x5c96c7);}if(_0x39b890[_0x1c49b1(_0x431fce._0x5de126,_0x431fce._0x28a91a,0x4f3,0x536)]===0x0)return'No\x20call\x20hierarchy\x20results';return _0x39b890['map'](_0x514072=>_0x514072[_0x1c49b1(0x62b,0x7b1,0x642,0x650)][_0xda3653(0x3fb,0x5f7,0x4f8,0x5a1)])[_0x1c49b1(_0x431fce._0x2aabaf,0x74a,0x6db,_0x431fce._0x1bc576)]('\x0a');}function formatOutgoingCalls(_0x5ed2ae){const _0x1b3233={_0x4eeee0:0x4c2,_0x2670d5:0x33d,_0x5c1db6:0x638,_0x311b2e:0x6e7,_0x5926d0:0x623},_0x2ce34f={_0x3d9181:0x580,_0x52af8e:0x1c5,_0x57d4a8:0x171},_0x1283a1={_0x235201:0xf6,_0x553e6f:0xfc};function _0x52856f(_0x54af74,_0xf60b55,_0x21cd66,_0x1a647a){return _0x475ba1(_0x1a647a,_0x21cd66-0x462,_0x21cd66-_0x1283a1._0x235201,_0x1a647a-_0x1283a1._0x553e6f);}function _0x1ee69e(_0x1ae7f5,_0x352f8d,_0x4f5ebd,_0xc8b146){return _0x475ba1(_0x1ae7f5,_0x352f8d-_0x2ce34f._0x3d9181,_0x4f5ebd-_0x2ce34f._0x52af8e,_0xc8b146-_0x2ce34f._0x57d4a8);}if(_0x5ed2ae['length']===0x0)return _0x52856f(0x3f8,0x412,_0x1b3233._0x4eeee0,_0x1b3233._0x2670d5);return _0x5ed2ae[_0x52856f(_0x1b3233._0x5c1db6,_0x1b3233._0x311b2e,0x568,_0x1b3233._0x5926d0)](_0x421e29=>_0x421e29['to'][_0x1ee69e(0x5d0,0x6a2,0x7fd,0x528)])['join']('\x0a');}function toStructured(_0xcb8032){const _0x656a03={_0x35f0ba:0xc1,_0x188e29:0x2a4,_0x17c4e8:0x190},_0x5ac2b9={_0x21ac4d:0x1cb,_0x8d7844:0x5e},_0x4b904e={_0x16d42e:0x5f};function _0x25c0f3(_0x3c59ea,_0x2b608d,_0x2333b2,_0x4d55ad){return _0x475ba1(_0x4d55ad,_0x3c59ea-0x90,_0x2333b2-_0x4b904e._0x16d42e,_0x4d55ad-0x1bd);}function _0x53ef07(_0x44b441,_0x3519a8,_0x5ee425,_0x2717ba){return _0x475ba1(_0x44b441,_0x2717ba- -_0x5ac2b9._0x21ac4d,_0x5ee425-0x18c,_0x2717ba-_0x5ac2b9._0x8d7844);}return JSON[_0x53ef07(0x114,0x5f,-0x93,_0x656a03._0x35f0ba)](JSON[_0x25c0f3(_0x656a03._0x188e29,0x177,_0x656a03._0x17c4e8,0x3d4)](_0xcb8032));}async function assertFile(_0x16c8d2){const _0x2846a4={_0x4041cd:0x49e,_0x195b48:0x36c,_0x17a5a1:0x296,_0x8881e0:0x42f,_0x785169:0x1a7,_0x5d2ab5:0x1f8},_0x1ff64d={_0x59bb86:0x4e,_0x2e0eda:0x5cc,_0x2de4c7:0x18c},_0x26c16d={_0xc31ced:0x13a,_0x4f2cfe:0x87},_0x5c6cc5=await _0x279d76(_0x16c8d2);function _0x30c8c6(_0x26cd1c,_0x2d1858,_0x340f87,_0x57ac5c){return _0x475ba1(_0x26cd1c,_0x2d1858-_0x26c16d._0xc31ced,_0x340f87-_0x26c16d._0x4f2cfe,_0x57ac5c-0x1cb);}function _0x2c0b56(_0x500bfa,_0x53f4e6,_0x5cddb1,_0x3e2bf0){return _0x511d68(_0x500bfa-_0x1ff64d._0x59bb86,_0x5cddb1- -_0x1ff64d._0x2e0eda,_0x5cddb1-_0x1ff64d._0x2de4c7,_0x500bfa);}if(!_0x5c6cc5[_0x30c8c6(_0x2846a4._0x4041cd,_0x2846a4._0x195b48,_0x2846a4._0x17a5a1,_0x2846a4._0x8881e0)]())throw new ToolExecutionError(_0x30c8c6(0x85,_0x2846a4._0x785169,0x7e,_0x2846a4._0x5d2ab5)+_0x16c8d2,{'path':_0x16c8d2});}function validatePosition(_0x1b6a89,_0x52dda0){const _0x557677={_0x362770:0x801,_0x16a655:0x80c,_0x15ec8a:0x710,_0x40d7a7:0x84b,_0x4ef8d1:0x489,_0x54ae03:0x480,_0x19f8f9:0x4cc},_0x451b38={_0x5d20b3:0x5d8},_0x378151={_0x36ba4c:0xf6,_0x1f5466:0x14};function _0x512525(_0x308c15,_0x2e0097,_0x30a78a,_0x3ad428){return _0x511d68(_0x308c15-0x147,_0x3ad428- -_0x378151._0x36ba4c,_0x30a78a-_0x378151._0x1f5466,_0x308c15);}if(!Number['isInteger'](_0x1b6a89)||_0x1b6a89<0x1)throw new ToolExecutionError(_0x1e6526(_0x557677._0x362770,0x7e4,0x689,_0x557677._0x16a655),{'line':_0x1b6a89});function _0x1e6526(_0x5ce403,_0x19be01,_0x585555,_0x1b4eb9){return _0x475ba1(_0x585555,_0x1b4eb9-_0x451b38._0x5d20b3,_0x585555-0xf2,_0x1b4eb9-0x1e1);}if(!Number[_0x1e6526(0x842,_0x557677._0x15ec8a,_0x557677._0x40d7a7,0x833)](_0x52dda0)||_0x52dda0<0x1)throw new ToolExecutionError(_0x512525(0x61e,_0x557677._0x4ef8d1,_0x557677._0x54ae03,_0x557677._0x19f8f9),{'character':_0x52dda0});}function createLspTool(_0x189b7a={}){const _0x2fc9c3={_0x567eb2:0x3cd,_0xcfe267:0x14b,_0x3c3b20:0x149,_0x4f8217:0x2c4,_0x177fd0:0x9,_0x5e6d2a:0xd1,_0x3627ef:0xa6,_0x37c2dc:0x135,_0x55a09e:0x249,_0x3d91bd:0x50,_0x375cba:0x2,_0xa04886:0x145,_0x31534c:0x26c,_0x5af64a:0x3ff,_0x5b56e4:0x440,_0x9fada7:0x2de,_0x274b42:0x3b8,_0x28edcc:0x2a8,_0xaf72eb:0x192,_0x34f357:0x15d,_0x20c4a7:0x1ba,_0x1971d1:0xbd,_0x18d0ec:0xb,_0x4049d8:0x15,_0x382402:0x41,_0x411d03:0x9b,_0x4a6aa3:0x7c,_0x6a4e75:0x82,_0x1ed23b:0x32,_0x4e2c4e:0x32,_0x213e32:0x161,_0x4585cf:0x146,_0x28e36e:0x50,_0x3a059e:0xcc,_0x4a28f0:0x3c,_0xb3451b:0x3f5,_0x5191f5:0x3fb,_0x5624ba:0x365,_0xec57a0:0x292},_0x2328b9={_0x1d5d93:0x2ba,_0x271299:0x170,_0x495004:0x52,_0x4bf00b:0x28,_0x577bcd:0x5dd,_0x1c1c0f:0x71e,_0x2b058b:0x5cc,_0x3bc57d:0x138,_0xd5bdaa:0x256,_0x4b7424:0x75f,_0x49e223:0x4b6,_0x28afe3:0x6bb,_0x1b8646:0x712,_0x1de9c8:0x6eb,_0x1e9afe:0x5f1,_0x2ec49f:0x1b4,_0x487ae1:0x1ec,_0x1cd5d8:0x7dd,_0x2c3460:0x589,_0xb6a7a5:0x173,_0x526dc4:0x120,_0x7ca52:0x49d,_0x1829bc:0x4d9,_0x5b3734:0x602,_0x53dbf1:0x4cd,_0x2f9886:0x11a,_0x29d7b3:0x26,_0x57ddf6:0x38,_0xb443c1:0x203,_0x2427a2:0x62,_0x1d118f:0x161,_0x53d8e3:0x46f,_0x1068f5:0x7e8,_0x323424:0x156,_0x3a5196:0xa3,_0x18263f:0xbc,_0xb6c681:0x9,_0x20dfd9:0x45f,_0x1440ce:0x4da,_0x3c4209:0x519,_0x2ca663:0x7c6,_0xf2e567:0x514,_0x1d99d5:0x5f8,_0x52a660:0x58f,_0x5bb737:0x5c6,_0x188857:0x5d3,_0x346fa8:0x26,_0x1c558c:0x2,_0x4c708e:0x626,_0x241552:0x1c0,_0x533abd:0x18c,_0xba01e0:0xf,_0x2e7d2b:0x694},_0x1767cc={_0x1eb403:0xc8,_0x319df7:0x146,_0x49c5c0:0x471},_0x2e7d6e={_0x117b11:0x78,_0x3ba2c7:0x200},_0x26817e={_0x49d985:0x29b},_0x3e0bf8={_0x20b8bf:0xee},_0x44befe=_0x42386[_0x2d9822(0x1cb,0x3cb,_0x2fc9c3._0x567eb2,0x264)](_0x189b7a[_0x2d9822(_0x2fc9c3._0xcfe267,_0x2fc9c3._0x3c3b20,_0x2fc9c3._0x4f8217,0x254)]??process[_0x5cb59e(0x70,_0x2fc9c3._0x177fd0,-_0x2fc9c3._0x5e6d2a,-_0x2fc9c3._0x177fd0)]());function _0x5cb59e(_0xe6c3ee,_0xdc1a09,_0x31ae58,_0x485832){return _0x511d68(_0xe6c3ee-0x1e5,_0xe6c3ee- -0x61a,_0x31ae58-_0x3e0bf8._0x20b8bf,_0xdc1a09);}const _0x376f0f=_0x189b7a[_0x5cb59e(-_0x2fc9c3._0x3627ef,-0xf4,-_0x2fc9c3._0x37c2dc,0x70)]??[];function _0x2d9822(_0x1f79ae,_0x22d53c,_0x10c426,_0x6f762f){return _0x475ba1(_0x22d53c,_0x6f762f-_0x26817e._0x49d985,_0x10c426-0x1d6,_0x6f762f-0x1dc);}const _0x5bfa0f=_0x189b7a['name']??'Lsp';return defineTool({'name':_0x5bfa0f,'description':_0x2d9822(0x4e2,0x4f1,_0x2fc9c3._0x55a09e,0x3a6),'inputSchema':{'type':'object','properties':{'operation':{'type':_0x5cb59e(-_0x2fc9c3._0x3d91bd,-0x148,-0x6d,-_0x2fc9c3._0x375cba),'enum':['goToDefinition',_0x5cb59e(-_0x2fc9c3._0xa04886,-0x1a2,-_0x2fc9c3._0x31534c,0x1c),'hover',_0x2d9822(_0x2fc9c3._0x5af64a,_0x2fc9c3._0x5b56e4,_0x2fc9c3._0x9fada7,0x38f),_0x2d9822(_0x2fc9c3._0x274b42,0x565,_0x2fc9c3._0x28edcc,0x3e2),_0x5cb59e(-_0x2fc9c3._0xaf72eb,-_0x2fc9c3._0x34f357,-_0x2fc9c3._0x20c4a7,-_0x2fc9c3._0x1971d1),_0x5cb59e(_0x2fc9c3._0x18d0ec,_0x2fc9c3._0x4049d8,0xc6,_0x2fc9c3._0x382402),_0x5cb59e(-_0x2fc9c3._0x411d03,0xde,_0x2fc9c3._0x4a6aa3,0x2b),'outgoingCalls','diagnostics']},'filePath':{'type':_0x5cb59e(-0x50,0xba,-0x40,_0x2fc9c3._0x6a4e75)},'line':{'type':_0x5cb59e(-_0x2fc9c3._0x1ed23b,-0x152,-0x119,0xb7)},'character':{'type':_0x5cb59e(-_0x2fc9c3._0x4e2c4e,-_0x2fc9c3._0x213e32,-0x1a5,-_0x2fc9c3._0x4585cf)},'query':{'type':_0x5cb59e(-_0x2fc9c3._0x28e36e,0x33,-_0x2fc9c3._0x3a059e,_0x2fc9c3._0x4a28f0)}},'required':[_0x5cb59e(-0x9c,-0x1,-0x96,0xc0),'filePath',_0x2d9822(0x417,_0x2fc9c3._0xb3451b,_0x2fc9c3._0x5191f5,0x31b),_0x2d9822(0x383,_0x2fc9c3._0x5624ba,0x3e2,_0x2fc9c3._0xec57a0)]},async *'execute'(_0x3fc2a0){const _0x187684=_0x189b7a['lspService'];if(!_0x187684)throw new ToolExecutionError(_0x1015d6(-_0x2328b9._0x1d5d93,-_0x2328b9._0x271299,-0x1fc,-0x1a3));if(!_0x187684[_0x1015d6(_0x2328b9._0x495004,0x85,-0x82,_0x2328b9._0x4bf00b)]())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x3f121d=_0x3fc2a0[_0x183dd(0x4d3,_0x2328b9._0x577bcd,_0x2328b9._0x1c1c0f,_0x2328b9._0x2b058b)];validatePosition(_0x3fc2a0[_0x1015d6(-_0x2328b9._0x3bc57d,-0x171,-_0x2328b9._0xd5bdaa,-0x156)],_0x3fc2a0['character']);if(_0x3f121d===_0x183dd(_0x2328b9._0x4b7424,0x6bc,_0x2328b9._0x49e223,0x5e2)){if(!_0x3fc2a0[_0x183dd(_0x2328b9._0x28afe3,_0x2328b9._0x1b8646,0x74b,_0x2328b9._0x1de9c8)]?.[_0x183dd(0x67f,_0x2328b9._0x1e9afe,0x4ac,0x5c1)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x433509=await _0x187684[_0x1015d6(-_0x2328b9._0x2ec49f,0x94,-_0x2328b9._0x487ae1,-0x8f)](_0x3fc2a0[_0x183dd(0x621,0x6d6,_0x2328b9._0x1cd5d8,0x6eb)][_0x183dd(_0x2328b9._0x2c3460,0x5f3,0x69a,0x5c1)]());return yield createToolOutput(formatSymbols(_0x433509),{'operation':_0x3f121d,'query':_0x3fc2a0[_0x1015d6(0x19d,_0x2328b9._0xb6a7a5,0x72,0x7a)],'symbols':_0x433509}),void 0x0;}const _0x245a84=resolveAllowedPath(_0x44befe,_0x376f0f,_0x3fc2a0[_0x1015d6(-_0x2328b9._0x526dc4,0xb5,-0xef,-0x38)]);function _0x183dd(_0x5a53c7,_0xa029f9,_0x164285,_0x2a5632){return _0x2d9822(_0x5a53c7-_0x2e7d6e._0x117b11,_0x164285,_0x164285-0x1bb,_0x2a5632-_0x2e7d6e._0x3ba2c7);}await assertFile(_0x245a84);if(!await _0x187684[_0x183dd(0x73b,_0x2328b9._0x7ca52,_0x2328b9._0x1829bc,_0x2328b9._0x5b3734)](_0x245a84))throw new ToolExecutionError(_0x183dd(0x61d,_0x2328b9._0x53dbf1,0x55a,0x648)+_0x3fc2a0['filePath'],{'filePath':_0x3fc2a0[_0x1015d6(-_0x2328b9._0x2f9886,-0x52,_0x2328b9._0x29d7b3,-_0x2328b9._0x57ddf6)]});function _0x1015d6(_0x41bbc0,_0xdd548c,_0xdce94a,_0x542a49){return _0x2d9822(_0x41bbc0-_0x1767cc._0x1eb403,_0x41bbc0,_0xdce94a-_0x1767cc._0x319df7,_0x542a49- -_0x1767cc._0x49c5c0);}await _0x187684['touchFile'](_0x245a84,!![]);const _0xc12566={'file':_0x245a84,'line':_0x3fc2a0[_0x1015d6(-_0x2328b9._0xb443c1,-0x275,-0x168,-0x156)]-0x1,'character':_0x3fc2a0[_0x1015d6(-0x7c,-0xe1,-_0x2328b9._0x2427a2,-0x1df)]-0x1};switch(_0x3f121d){case'hover':{const _0xebef98=await _0x187684[_0x1015d6(-0x212,-_0x2328b9._0x1d118f,-0x30e,-0x1dd)](_0xc12566);return yield createToolOutput(formatHover(_0xebef98),{'operation':_0x3f121d,'filePath':_0x245a84,'hover':_0xebef98}),void 0x0;}case'diagnostics':{const _0x7f37aa=await _0x187684[_0x183dd(_0x2328b9._0x53d8e3,0x5c7,0x5a9,0x455)](_0x245a84);return yield createToolOutput(formatDiagnostics(_0x7f37aa),{'operation':_0x3f121d,'filePath':_0x245a84,'diagnostics':_0x7f37aa}),void 0x0;}case _0x183dd(0x5bb,_0x2328b9._0x1068f5,0x5cd,0x676):{const _0x5378b2=await _0x187684[_0x1015d6(-_0x2328b9._0x323424,-_0x2328b9._0x3a5196,-_0x2328b9._0x18263f,-_0x2328b9._0xb6c681)](_0xc12566);return yield createToolOutput(formatLocations(_0x5378b2),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x5378b2}),void 0x0;}case _0x183dd(_0x2328b9._0x20dfd9,0x5fe,_0x2328b9._0x1440ce,0x523):{const _0x413071=await _0x187684[_0x183dd(_0x2328b9._0x3c4209,0x5cb,_0x2328b9._0x2ca663,0x64a)](_0xc12566);return yield createToolOutput(formatLocations(_0x413071),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x413071}),void 0x0;}case'goToImplementation':{const _0x4738b9=await _0x187684['implementation'](_0xc12566);return yield createToolOutput(formatLocations(_0x4738b9),{'operation':_0x3f121d,'filePath':_0x245a84,'locations':_0x4738b9}),void 0x0;}case _0x183dd(_0x2328b9._0xf2e567,_0x2328b9._0x1d99d5,0x57d,_0x2328b9._0x52a660):{const _0x16abfd=await _0x187684[_0x183dd(_0x2328b9._0x5bb737,0x5f2,_0x2328b9._0x188857,0x58f)](_0x245a84);return yield createToolOutput(formatSymbols(_0x16abfd),{'operation':_0x3f121d,'filePath':_0x245a84,'symbols':_0x16abfd}),void 0x0;}case _0x1015d6(-0x106,_0x2328b9._0x346fa8,0x14a,0x2):{const _0x2dd3cb=await _0x187684[_0x1015d6(0x14,0x2d,-0x90,_0x2328b9._0x1c558c)](_0xc12566);return yield createToolOutput(formatSymbols(_0x2dd3cb),{'operation':_0x3f121d,'filePath':_0x245a84,'symbols':toStructured(_0x2dd3cb)}),void 0x0;}case _0x183dd(0x647,_0x2328b9._0x4c708e,0x4ad,0x5cd):{const _0x420656=await _0x187684[_0x1015d6(0xb8,-_0x2328b9._0x241552,-0x202,-0xa4)](_0xc12566);return yield createToolOutput(formatIncomingCalls(_0x420656),{'operation':_0x3f121d,'filePath':_0x245a84,'calls':toStructured(_0x420656)}),void 0x0;}case _0x1015d6(-0x10b,_0x2328b9._0x533abd,_0x2328b9._0xba01e0,0x6e):{const _0x16c7ac=await _0x187684[_0x183dd(0x863,_0x2328b9._0x2e7d2b,0x6b2,0x6df)](_0xc12566);return yield createToolOutput(formatOutgoingCalls(_0x16c7ac),{'operation':_0x3f121d,'filePath':_0x245a84,'calls':toStructured(_0x16c7ac)}),void 0x0;}}}});}import{randomUUID as _0x311310}from'crypto';import{mkdir as _0x26bc97,readFile as _0x4d9f92,writeFile as _0x545c63}from'fs/promises';import{join as _0x2e1fbf}from'path';function sanitizeStorageKey(_0x57407a){const _0x1cf4ff={_0x341954:0x574,_0xc9b95c:0x517,_0x1c60d3:0x39e,_0x3581eb:0x35d,_0x269edc:0x408},_0x6dc13c={_0x152153:0xff};function _0x21f88b(_0x243506,_0x40d20f,_0x29facf,_0x3fda61){return _0x511d68(_0x243506-0xc2,_0x29facf- -0x83,_0x29facf-_0x6dc13c._0x152153,_0x40d20f);}function _0x49eff1(_0x1e295a,_0x3680a6,_0x247f8b,_0xb57d15){return _0x475ba1(_0x3680a6,_0x1e295a-0x4ae,_0x247f8b-0x1da,_0xb57d15-0x44);}return _0x57407a[_0x49eff1(0x49f,0x4bd,_0x1cf4ff._0x341954,0x32d)](/[^a-zA-Z0-9_]+/g,'_')[_0x21f88b(0x41d,_0x1cf4ff._0xc9b95c,0x3bb,_0x1cf4ff._0x1c60d3)](/^_+|_+$/g,'')||_0x49eff1(0x4ca,_0x1cf4ff._0x3581eb,0x627,_0x1cf4ff._0x269edc);}function storagePath(_0x415bf9){const _0x4fe508={_0x3fd877:0x231,_0x28a648:0x2f0,_0x5289b9:0x18e,_0x211825:0x3c4,_0xb77bcc:0x111,_0x40804e:0x122,_0x28eb60:0x68,_0x1b63d7:0x312,_0x5dc711:0x352},_0x1a8d0d={_0x409f8b:0xc9},_0x4fdf3c={_0x575eb3:0x4d2,_0x5bf641:0x1bb};function _0x4c9ffe(_0x6c8085,_0x44f70b,_0x21a55a,_0x4382fb){return _0x511d68(_0x6c8085-0x154,_0x4382fb- -_0x4fdf3c._0x575eb3,_0x21a55a-_0x4fdf3c._0x5bf641,_0x6c8085);}function _0x2e8e02(_0x43e617,_0x217590,_0x173b09,_0x10bac9){return _0x475ba1(_0x217590,_0x10bac9-0x197,_0x173b09-0x10a,_0x10bac9-_0x1a8d0d._0x409f8b);}const _0x24edd6=sanitizeStorageKey(_0x415bf9[_0x4c9ffe(0x251,_0x4fe508._0x3fd877,_0x4fe508._0x28a648,_0x4fe508._0x5289b9)][_0x2e8e02(0x48f,0x3b4,0x374,_0x4fe508._0x211825)]?.[_0x4c9ffe(_0x4fe508._0xb77bcc,_0x4fe508._0x40804e,0x91,_0x4fe508._0x28eb60)]??_0x415bf9['serverName']);return _0x2e1fbf(_0x415bf9[_0x2e8e02(0x252,0x1ed,0x2e9,_0x4fe508._0x1b63d7)],_0x24edd6+_0x2e8e02(_0x4fe508._0x5dc711,0x49d,0x514,0x3d3));}async function readStore(_0xc6cabb){const _0x46b7e8={_0x8f851:0x126,_0x5e34aa:0x356,_0x75dfbd:0x50,_0x25da44:0xf,_0x3ca604:0x10e,_0x670133:0x1b2,_0x2e18db:0x2,_0x3e8723:0x74},_0x3a7a0d={_0x4ce584:0x25,_0x17f766:0x3a1},_0x107d67={_0x4377ad:0x81};function _0x47a901(_0x446e1e,_0x39ccdd,_0x547aa7,_0x3a88f6){return _0x475ba1(_0x446e1e,_0x3a88f6- -_0x107d67._0x4377ad,_0x547aa7-0xb7,_0x3a88f6-0x162);}function _0x5a4899(_0x278675,_0xf7b8a4,_0x524c97,_0x3faf4f){return _0x511d68(_0x278675-_0x3a7a0d._0x4ce584,_0x3faf4f- -_0x3a7a0d._0x17f766,_0x524c97-0xb8,_0x278675);}try{return JSON[_0x47a901(0x170,_0x46b7e8._0x8f851,_0x46b7e8._0x5e34aa,0x20b)](await _0x4d9f92(_0xc6cabb,'utf8'));}catch(_0x50ae5a){if(_0x50ae5a instanceof Error&&'code'in _0x50ae5a&&_0x50ae5a[_0x47a901(-_0x46b7e8._0x75dfbd,-_0x46b7e8._0x25da44,-_0x46b7e8._0x3ca604,-0x23)]===_0x5a4899(_0x46b7e8._0x670133,_0x46b7e8._0x2e18db,0x57,_0x46b7e8._0x3e8723))return{};throw _0x50ae5a;}}async function writeStore(_0x58a05c,_0x35b173){const _0x5a1aff={_0x55c91c:0x385};function _0x3f36ba(_0x51ee35,_0x135c0e,_0x1df163,_0x11b5ec){return _0x475ba1(_0x1df163,_0x11b5ec-0x1e8,_0x1df163-0x176,_0x11b5ec-0x1a6);}await _0x26bc97(_0x2e1fbf(_0x58a05c,'..'),{'recursive':!![]}),await _0x545c63(_0x58a05c,JSON['stringify'](_0x35b173,null,0x2),_0x3f36ba(0x248,0x2df,_0x5a1aff._0x55c91c,0x3c9));}async function updateStore(_0x146938,_0x13b6af){const _0x4dbe11=await readStore(_0x146938);_0x13b6af(_0x4dbe11),await writeStore(_0x146938,_0x4dbe11);}function createMcpOAuthProvider(_0x2ab74e){const _0x106b15={_0x1f7a4f:0x30,_0x2588bf:0x114,_0x15ee41:0x31a,_0x952811:0x2bf,_0x38bb59:0x2b4,_0x32bc93:0x19b,_0x3c653f:0x2ab,_0x396c6a:0x20c,_0x455b2e:0x1a3,_0x16b21e:0x1aa,_0x288878:0x5a,_0x21b206:0x1cd,_0x11a5b1:0xd3,_0x439202:0xa1},_0x42a9e4={_0x586c45:0x401},_0x5b3dd4={_0xe593d8:0x437,_0x6eb44e:0x5fa,_0x1301ef:0x6aa,_0x5782c1:0x220,_0x2ee1be:0x112,_0x132e6f:0x170,_0x5ba993:0x14,_0x32e46a:0x2a5,_0x2cbb00:0x1c7,_0x42dbc8:0x1f6,_0x3e5710:0x51,_0x1e0eac:0x48,_0x35f015:0x6c9,_0x12c2ad:0x3ef,_0x31c7e9:0x55a,_0xe542a4:0x2d2,_0x421e3b:0x371,_0x2be9de:0x275},_0x41f4eb={_0x2e24d6:0x1f1,_0x5b5ccf:0x230,_0x385237:0x2c9},_0x2d3293={_0x2c3b98:0x187,_0x2649ef:0x16d,_0x47a4e7:0x267},_0x38e704={_0x482a2b:0x4a9,_0x3879e9:0x501},_0x389fac={_0x20e250:0x5b9,_0x13f9a1:0x538},_0x5ef74a={_0x5a5bad:0x123},_0x41a28a={_0x1df836:0x57c},_0x3be9fd={_0x4cdf83:0x1e2,_0x557531:0x100},_0x39d744={_0xb98dbd:0xae,_0x65104d:0x182},_0xa8b67={_0xab2bce:0x1be},_0x2921f8={_0x22c86c:0x2af,_0x41e5cc:0xf6},_0x51102b={_0x5e1f7b:0x1d9,_0x3933ab:0x22a,_0x3199ef:0x322},_0x2f6204={_0x554b9d:0x54c,_0x2048ce:0x1ab},_0x2a3a2d={_0x51c6ad:0x45,_0x14b9ef:0x360};function _0x1fe42a(_0xec83bd,_0x5926c5,_0x11d83c,_0x527889){return _0x511d68(_0xec83bd-_0x2a3a2d._0x51c6ad,_0xec83bd- -_0x2a3a2d._0x14b9ef,_0x11d83c-0xc0,_0x5926c5);}const _0x5e9762=storagePath(_0x2ab74e),_0x200287=_0x2ab74e[_0x389ed3(0x190,-_0x106b15._0x1f7a4f,0x2e,_0x106b15._0x2588bf)][_0x1fe42a(_0x106b15._0x15ee41,0x49c,_0x106b15._0x952811,_0x106b15._0x38bb59)]?.[_0x1fe42a(_0x106b15._0x32bc93,0xcc,_0x106b15._0x3c653f,0x129)]?.[_0x389ed3(0x21a,_0x106b15._0x396c6a,_0x106b15._0x455b2e,_0x106b15._0x16b21e)]('\x20');function _0x389ed3(_0xe863c,_0x63aeb9,_0x3fda52,_0x27028c){return _0x511d68(_0xe863c-0xe8,_0x27028c- -_0x2f6204._0x554b9d,_0x3fda52-_0x2f6204._0x2048ce,_0x63aeb9);}const _0x5bbfdc={'client_name':'Nuvin','redirect_uris':[_0x2ab74e[_0x389ed3(-0xe0,-0xbf,0x196,_0x106b15._0x288878)]],'grant_types':['authorization_code','refresh_token'],'response_types':[_0x389ed3(-_0x106b15._0x21b206,-_0x106b15._0x11a5b1,-0x133,-_0x106b15._0x439202)],'token_endpoint_auth_method':_0x1fe42a(0x294,0x13b,0x3fd,0x1f2),..._0x200287?{'scope':_0x200287}:{}};return{'clientMetadataUrl':_0x2ab74e['config']['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){return _0x2ab74e['callbackUrl'];},get 'clientMetadata'(){return _0x5bbfdc;},async 'state'(){const _0x42ff76={_0x1faaa4:0xd7,_0x29d0dc:0x84,_0x1bfe27:0x1ed},_0x2c8f2b=await readStore(_0x5e9762);if(_0x2c8f2b['state'])return _0x2c8f2b[_0x5e3216(_0x51102b._0x5e1f7b,_0x51102b._0x3933ab,0x1e1,_0x51102b._0x3199ef)];function _0x5e3216(_0x4bcfee,_0x415d48,_0x3812c8,_0x16f925){return _0x1fe42a(_0x3812c8- -_0x42ff76._0x1faaa4,_0x4bcfee,_0x3812c8-_0x42ff76._0x29d0dc,_0x16f925-_0x42ff76._0x1bfe27);}const _0x3ce0a9=_0x311310();return await updateStore(_0x5e9762,_0x2b3a99=>{_0x2b3a99['state']=_0x3ce0a9;}),_0x3ce0a9;},async 'clientInformation'(){function _0x7166e0(_0x7bfaf6,_0x2774df,_0x34d832,_0x3b8bea){return _0x1fe42a(_0x2774df- -_0x2921f8._0x22c86c,_0x3b8bea,_0x34d832-_0x2921f8._0x41e5cc,_0x3b8bea-0x33);}return(await readStore(_0x5e9762))[_0x7166e0(-_0xa8b67._0xab2bce,-0x4e,0xbd,-0xc2)];},async 'saveClientInformation'(_0x3313fb){await updateStore(_0x5e9762,_0x5a7c03=>{function _0x5e6ef7(_0x6817c4,_0x3503d4,_0x19e179,_0x38a8fd){return _0x4a14(_0x3503d4- -0x2c1,_0x19e179);}_0x5a7c03[_0x5e6ef7(-0x3a,_0x39d744._0xb98dbd,_0x39d744._0x65104d,0x1c9)]=_0x3313fb;});},async 'tokens'(){function _0x30e6f7(_0x9adc2e,_0x51d3b5,_0x59363c,_0x696e2b){return _0x389ed3(_0x9adc2e-_0x3be9fd._0x4cdf83,_0x51d3b5,_0x59363c-_0x3be9fd._0x557531,_0x9adc2e-0x3f6);}return(await readStore(_0x5e9762))[_0x30e6f7(0x48a,0x4e2,0x550,_0x41a28a._0x1df836)];},async 'saveTokens'(_0x29420c){const _0x4800bb={_0x2d3a41:0x8b,_0x104b9c:0x60};await updateStore(_0x5e9762,_0x448585=>{const _0x16bf97={_0x7f7658:0x303};function _0x24d377(_0x3a0ee8,_0x298531,_0x1604b6,_0x25dfe3){return _0x4a14(_0x3a0ee8- -_0x16bf97._0x7f7658,_0x1604b6);}_0x448585[_0x24d377(_0x4800bb._0x2d3a41,0x1a0,-0x6b,_0x4800bb._0x104b9c)]=_0x29420c;});},async 'redirectToAuthorization'(_0x19a081){function _0x35269d(_0x462c90,_0xd72047,_0x53a766,_0x43db63){return _0x389ed3(_0x462c90-0xae,_0x462c90,_0x53a766-_0x5ef74a._0x5a5bad,_0x43db63-0x37c);}await _0x2ab74e[_0x35269d(_0x389fac._0x20e250,0x5a2,0x583,_0x389fac._0x13f9a1)](_0x19a081);},async 'saveCodeVerifier'(_0x345bf5){await updateStore(_0x5e9762,_0x1893a4=>{function _0x49c84e(_0x4bd4ce,_0x4f25e9,_0x1e727e,_0x1a6979){return _0x4a14(_0x1e727e-0x389,_0x1a6979);}_0x1893a4[_0x49c84e(_0x38e704._0x482a2b,_0x38e704._0x3879e9,0x5ed,0x728)]=_0x345bf5;});},async 'codeVerifier'(){const _0x33c0cc={_0x47d328:0x191,_0x45b766:0x287},_0x24c6e6=(await readStore(_0x5e9762))[_0x3085fe(0xe3,_0x41f4eb._0x2e24d6,0x2a7,0x12e)];function _0x16a344(_0x88a4af,_0x268402,_0x4caa4d,_0x4f25d9){return _0x389ed3(_0x88a4af-_0x2d3293._0x2c3b98,_0x88a4af,_0x4caa4d-_0x2d3293._0x2649ef,_0x4f25d9-_0x2d3293._0x47a4e7);}function _0x3085fe(_0x3ea4f9,_0x8ff66,_0x359980,_0x52ebe3){return _0x389ed3(_0x3ea4f9-_0x33c0cc._0x47d328,_0x359980,_0x359980-0x181,_0x8ff66-_0x33c0cc._0x45b766);}if(!_0x24c6e6)throw new Error(_0x3085fe(0x121,_0x41f4eb._0x5b5ccf,_0x41f4eb._0x385237,0x20c));return _0x24c6e6;},async 'invalidateCredentials'(_0x239c4d){await updateStore(_0x5e9762,_0x5c4e7c=>{(_0x239c4d===_0x2092af(0x4c2,0x562,0x55a,_0x5b3dd4._0xe593d8)||_0x239c4d===_0x2092af(_0x5b3dd4._0x6eb44e,0x51e,0x58c,_0x5b3dd4._0x1301ef))&&(_0x5c4e7c[_0x21a6b6(0x1db,0xb6,0x12c,_0x5b3dd4._0x5782c1)]=void 0x0);(_0x239c4d===_0x21a6b6(-_0x5b3dd4._0x2ee1be,_0x5b3dd4._0x132e6f,_0x5b3dd4._0x5ba993,-0xf4)||_0x239c4d===_0x21a6b6(0x1bf,_0x5b3dd4._0x32e46a,0x14b,0x277))&&(_0x5c4e7c['tokens']=void 0x0);function _0x21a6b6(_0x2f4f7b,_0xd00dbb,_0x1a1777,_0x347a7a){return _0x4a14(_0x1a1777- -0x243,_0x2f4f7b);}function _0x2092af(_0x412340,_0x1cab71,_0x4f7a18,_0x53bef4){return _0x4a14(_0x4f7a18-0x303,_0x412340);}(_0x239c4d===_0x2092af(0x594,0x48f,0x55a,0x591)||_0x239c4d===_0x21a6b6(_0x5b3dd4._0x2cbb00,0x12b,_0x5b3dd4._0x42dbc8,0x2f5))&&(_0x5c4e7c[_0x21a6b6(0x92,-_0x5b3dd4._0x3e5710,0x21,-_0x5b3dd4._0x1e0eac)]=void 0x0,_0x5c4e7c[_0x2092af(0x66b,0x7c9,_0x5b3dd4._0x35f015,0x6a8)]=void 0x0),(_0x239c4d===_0x2092af(_0x5b3dd4._0x12c2ad,0x4e5,_0x5b3dd4._0x31c7e9,0x448)||_0x239c4d===_0x21a6b6(_0x5b3dd4._0xe542a4,_0x5b3dd4._0x421e3b,_0x5b3dd4._0x2be9de,0x1a7))&&(_0x5c4e7c[_0x2092af(0x46f,0x41a,0x584,0x52c)]=void 0x0);});},async 'saveDiscoveryState'(_0x32d882){const _0x44a27f={_0x150098:0x17d};await updateStore(_0x5e9762,_0x1ca06e=>{function _0xd72bd8(_0x2f7390,_0x1061c3,_0x76da32,_0x481085){return _0x4a14(_0x1061c3- -0x218,_0x76da32);}_0x1ca06e[_0xd72bd8(0x1ab,0x69,_0x44a27f._0x150098,0x168)]=_0x32d882;});},async 'discoveryState'(){const _0x2ccb6b={_0xa253ea:0xcd};function _0x4f1285(_0x5db514,_0x148a25,_0x462fd8,_0x274311){return _0x389ed3(_0x5db514-_0x2ccb6b._0xa253ea,_0x462fd8,_0x462fd8-0xf9,_0x5db514-0x3d6);}return(await readStore(_0x5e9762))[_0x4f1285(0x35d,_0x42a9e4._0x586c45,0x2dc,0x389)];}};}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(_0x3333e0,_0x15c8b5){const _0x49cdee={_0xfe194f:0x2cb,_0x236bda:0x3a3},_0x5a2baa={_0x5373f4:0x79},_0xd7a735={_0x3d7a8d:0x150,_0x46f408:0x413,_0x46c4f9:0x129};function _0x598803(_0x4a848d,_0x1a22de,_0x3ace9f,_0xbddaaf){return _0x511d68(_0x4a848d-_0xd7a735._0x3d7a8d,_0x4a848d- -_0xd7a735._0x46f408,_0x3ace9f-_0xd7a735._0x46c4f9,_0x1a22de);}const _0x33c91e=_0x1290e1=>_0x1290e1['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x598803(0x2b,-0xe,0x17f,-0x6f)](/^_+|_+$/g,'');function _0x37d8ed(_0x435552,_0x327263,_0x343ab0,_0x30b800){return _0x475ba1(_0x327263,_0x30b800-0x64,_0x343ab0-0xa7,_0x30b800-_0x5a2baa._0x5373f4);}return _0x598803(_0x49cdee._0xfe194f,0x30c,0x32a,_0x49cdee._0x236bda)+_0x33c91e(_0x3333e0)+'_'+_0x33c91e(_0x15c8b5);}function isObject(_0x53e660){const _0x579fd7={_0x380896:0x31,_0x7ad5cf:0x10c,_0x5ec4f9:0x14b},_0x14caf3={_0x2a13ac:0xbb,_0x5044c8:0x155};function _0xb104b1(_0x3cda7c,_0x27ade7,_0x49e4be,_0x117885){return _0x475ba1(_0x49e4be,_0x3cda7c- -_0x14caf3._0x2a13ac,_0x49e4be-_0x14caf3._0x5044c8,_0x117885-0x132);}return typeof _0x53e660==='object'&&_0x53e660!==null&&!Array[_0xb104b1(_0x579fd7._0x380896,_0x579fd7._0x7ad5cf,0x54,-_0x579fd7._0x5ec4f9)](_0x53e660);}function toSupportedSchema(_0x3baa58){const _0x14f99f={_0x4843e2:0x113,_0x575cc0:0x31c,_0x3fb433:0x1f4,_0x5a9c55:0x66e,_0x552c62:0x6be,_0x352f51:0x27f,_0x21d348:0x1b7,_0x4ae9f5:0x207,_0x187989:0x2b9,_0x5a45bd:0x24f,_0x5c2b43:0x4b9,_0x5e35ca:0x426,_0x3cc559:0x3ba,_0x23263b:0x301,_0x2889c4:0x20d,_0x4d3e14:0x3aa,_0x494f7e:0x29d,_0x54dd28:0x3e4,_0x2974ea:0x34b,_0x42c015:0x363,_0x140171:0x145,_0x58f101:0x2b3,_0x87ab8:0x26a,_0x2c0dad:0x489,_0x6abc73:0x5df,_0x449cd3:0x706,_0x291daa:0x3dd,_0x2759db:0x658},_0x1df6e2={_0x9a4dce:0x447,_0x578cdd:0x1bf},_0x1d0f8d={_0x2006cd:0xe4,_0x4119b3:0x112,_0x2885b7:0x1cf};if(!isObject(_0x3baa58))return void 0x0;if(_0x3baa58['type']===_0x555cfb(0x261,_0x14f99f._0x4843e2,_0x14f99f._0x575cc0,_0x14f99f._0x3fb433))return{'type':'string'};if(_0x3baa58[_0xe811cc(0x61c,_0x14f99f._0x5a9c55,_0x14f99f._0x552c62,0x4a4)]===_0x555cfb(_0x14f99f._0x352f51,_0x14f99f._0x21d348,_0x14f99f._0x4ae9f5,0x342)||_0x3baa58[_0x555cfb(_0x14f99f._0x187989,0x1c1,_0x14f99f._0x5a45bd,0x2a5)]===_0xe811cc(_0x14f99f._0x5c2b43,_0x14f99f._0x5e35ca,0x431,_0x14f99f._0x3cc559))return{'type':_0x555cfb(_0x14f99f._0x352f51,_0x14f99f._0x23263b,_0x14f99f._0x2889c4,_0x14f99f._0x4d3e14)};function _0x555cfb(_0x14593b,_0x8cd7eb,_0xc97079,_0x4c9157){return _0x475ba1(_0xc97079,_0x14593b-_0x1d0f8d._0x2006cd,_0xc97079-_0x1d0f8d._0x4119b3,_0x4c9157-_0x1d0f8d._0x2885b7);}if(_0x3baa58['type']===_0x555cfb(_0x14f99f._0x494f7e,_0x14f99f._0x54dd28,_0x14f99f._0x2974ea,_0x14f99f._0x42c015))return{'type':'boolean'};function _0xe811cc(_0x26499e,_0x44349e,_0x2c3f44,_0x1242fd){return _0x475ba1(_0x1242fd,_0x26499e-_0x1df6e2._0x9a4dce,_0x2c3f44-0x2e,_0x1242fd-_0x1df6e2._0x578cdd);}if(_0x3baa58['type']===_0x555cfb(0x27c,_0x14f99f._0x140171,0x24d,0x274))return{'type':'array','items':toSupportedSchema(_0x3baa58[_0x555cfb(_0x14f99f._0x58f101,0x161,0x282,_0x14f99f._0x87ab8)])??{'type':_0xe811cc(0x5c4,_0x14f99f._0x2c0dad,_0x14f99f._0x6abc73,_0x14f99f._0x449cd3)}};if(_0x3baa58[_0x555cfb(0x2b9,0x30b,0x40e,_0x14f99f._0x291daa)]===_0xe811cc(0x60d,_0x14f99f._0x2759db,0x4f1,0x607))return toNuvinToolSchema(_0x3baa58);return void 0x0;}function toNuvinToolSchema(_0x608ab3){const _0x167400={_0x52acfc:0x2cf,_0x702c1c:0x414,_0x3e8259:0x34c,_0x453067:0x405,_0x3b8823:0x590,_0x39fd86:0x4c1,_0x44cb07:0x3d3,_0x307f01:0x482,_0x4bd2e1:0x3e3,_0x1976e6:0x56e,_0x273fb1:0x4b4,_0x410cf6:0x24f,_0x1b8f8b:0x3be,_0x5da62c:0x3d0,_0x26f54b:0x2b8,_0x8fe9e5:0x4d0,_0x540b60:0x36e,_0x1cc877:0x581,_0xba2012:0x51e,_0x25fd87:0x4d5},_0x1e1195={_0x581a71:0x109},_0x24d53c={_0x59604:0x13f};if(!isObject(_0x608ab3)||_0x608ab3[_0x29e97d(_0x167400._0x52acfc,0x3a1,0x2d5,_0x167400._0x702c1c)]!==_0x29e97d(_0x167400._0x3e8259,0x28f,0x55c,_0x167400._0x453067))return{'type':'object','properties':{}};const _0x2b3bbb={},_0x416f91=isObject(_0x608ab3[_0x55a698(_0x167400._0x3b8823,0x6a1,0x552,0x44a)])?_0x608ab3[_0x55a698(0x3d3,_0x167400._0x39fd86,0x552,0x408)]:{};for(const [_0x402be6,_0xfd1d59]of Object[_0x55a698(0x375,0x523,0x46a,_0x167400._0x44cb07)](_0x416f91)){const _0x142a27=toSupportedSchema(_0xfd1d59);if(_0x142a27)_0x2b3bbb[_0x402be6]=_0x142a27;}function _0x55a698(_0x4cc86f,_0x43340c,_0xd75324,_0x256a7a){return _0x475ba1(_0x43340c,_0xd75324-0x30f,_0xd75324-_0x24d53c._0x59604,_0x256a7a-0x19b);}const _0x1992b5=Array['isArray'](_0x608ab3[_0x55a698(0x4af,_0x167400._0x307f01,0x584,0x476)])?_0x608ab3[_0x29e97d(0x455,_0x167400._0x4bd2e1,_0x167400._0x1976e6,_0x167400._0x273fb1)]['filter'](_0xf21b0b=>typeof _0xf21b0b===_0x29e97d(0x47e,0x488,0x3d0,0x3bc)):void 0x0;function _0x29e97d(_0x5023b6,_0x1752ef,_0x272046,_0x3cc6fe){return _0x475ba1(_0x5023b6,_0x3cc6fe-0x23f,_0x272046-0x6,_0x3cc6fe-_0x1e1195._0x581a71);}return _0x1992b5?.[_0x55a698(_0x167400._0x410cf6,_0x167400._0x1b8f8b,_0x167400._0x5da62c,_0x167400._0x26f54b)]?{'type':_0x55a698(_0x167400._0x8fe9e5,_0x167400._0x540b60,0x4d5,0x3a7),'properties':_0x2b3bbb,'required':_0x1992b5}:{'type':_0x55a698(_0x167400._0x1cc877,_0x167400._0xba2012,_0x167400._0x25fd87,0x436),'properties':_0x2b3bbb};}function isJsonObject(_0x215a7e){const _0x1c2e07={_0x1cafde:0x17a},_0x59592f={_0x5e7f5b:0x1b6,_0x40d776:0xf};function _0xd57a43(_0x3bb615,_0x45e586,_0xbf5bd,_0x31d701){return _0x511d68(_0x3bb615-_0x59592f._0x5e7f5b,_0xbf5bd- -0x32c,_0xbf5bd-_0x59592f._0x40d776,_0x31d701);}return typeof _0x215a7e===_0xd57a43(0x1e2,_0x1c2e07._0x1cafde,0x2e7,0x18f)&&_0x215a7e!==null&&!Array['isArray'](_0x215a7e);}function formatMcpContent(_0x4479be){const _0x4f1118={_0x52ccdc:0x2b0,_0x2d72d5:0x83,_0x790d90:0x325,_0x74a9d8:0x15b,_0x185487:0x1ff,_0xb8856b:0x2a0,_0x14ef80:0x2b7,_0x15fa4a:0x362,_0x2d9d1e:0x3fc},_0x2cbf5c={_0x3ba26f:0x2e3,_0x2d0367:0x150},_0x40d620={_0x2c5156:0x32f,_0x59c0fd:0x497,_0x543e72:0x299,_0x146af7:0x14d,_0x1a2a54:0x391,_0x576c7b:0x38b,_0x5272bb:0x2fe,_0x57410e:0x3d7,_0x406721:0x28e,_0x8b1a3f:0x269},_0x1d96d0={_0x3643e3:0xee,_0x2a8919:0xed,_0x168703:0x1b9},_0x4559d1={_0x8b61c9:0x32e},_0x5b878a=Array['isArray'](_0x4479be[_0x1aa696(_0x4f1118._0x52ccdc,0x1ff,_0x4f1118._0x2d72d5,_0x4f1118._0x790d90)])?_0x4479be[_0x1aa696(_0x4f1118._0x74a9d8,_0x4f1118._0x185487,0x1e5,0x18c)]:[];function _0x1897a8(_0x3ddabd,_0x20cd5c,_0x1afc60,_0x500ada){return _0x475ba1(_0x1afc60,_0x3ddabd-_0x4559d1._0x8b61c9,_0x1afc60-0x160,_0x500ada-0xde);}const _0x4e4c23=_0x5b878a['map'](_0x242eb7=>{function _0x36508e(_0x11ce27,_0x19fcc6,_0x3ca501,_0xe2504d){return _0x1aa696(_0x11ce27-0x6f,_0x11ce27- -0xb5,_0x3ca501-0x160,_0x3ca501);}function _0x5356cc(_0x53b185,_0x32b3dc,_0x53f45c,_0x3768dc){return _0x1897a8(_0x32b3dc- -_0x1d96d0._0x3643e3,_0x32b3dc-_0x1d96d0._0x2a8919,_0x53b185,_0x3768dc-_0x1d96d0._0x168703);}if(!isObject(_0x242eb7))return'';if(_0x242eb7[_0x5356cc(_0x40d620._0x2c5156,0x415,_0x40d620._0x59c0fd,_0x40d620._0x543e72)]===_0x5356cc(0x4b3,0x3a5,0x3dc,0x454)&&typeof _0x242eb7[_0x36508e(0x21a,_0x40d620._0x146af7,_0x40d620._0x1a2a54,_0x40d620._0x576c7b)]===_0x36508e(0x232,0x1bc,0x20a,_0x40d620._0x5272bb))return _0x242eb7[_0x5356cc(_0x40d620._0x57410e,0x3a5,0x3bd,_0x40d620._0x406721)];return JSON[_0x36508e(0x2c9,_0x40d620._0x8b1a3f,0x419,0x17c)](_0x242eb7);})['filter'](_0x4b3837=>_0x4b3837[_0x1897a8(0x3ef,0x554,0x281,0x547)]>0x0)[_0x1aa696(0x40d,0x413,_0x4f1118._0xb8856b,_0x4f1118._0x14ef80)]('\x0a');function _0x1aa696(_0x4d733d,_0x56af92,_0x589868,_0x31b166){return _0x511d68(_0x4d733d-0x99,_0x56af92- -_0x2cbf5c._0x3ba26f,_0x589868-_0x2cbf5c._0x2d0367,_0x31b166);}if(_0x4e4c23['length']>0x0)return _0x4e4c23;return JSON[_0x1aa696(_0x4f1118._0x15fa4a,0x37e,0x444,_0x4f1118._0x2d9d1e)](_0x4479be,null,0x2);}function createMcpTool(_0x571a99){const _0x34cbc2={_0x3b2e66:0x526,_0x213768:0x572,_0x14c1d8:0x2f6,_0x4932ca:0x1ac,_0x27d03b:0x2b5,_0x4a54cd:0x3c8,_0x15cf01:0x2ca,_0x44d8ac:0x3b1,_0x4a13ee:0x473,_0x534254:0x649,_0x71d7a3:0x850,_0x1fa03e:0x8e8,_0x387f9d:0x850},_0x64f7e9={_0x4c3e6f:0x1cc,_0x475839:0x108,_0x4c3564:0x543,_0x3a4839:0x3f5,_0x3260c0:0x508,_0x37150f:0x438,_0x2061a3:0x159,_0x5965b7:0xc4,_0x227475:0xcb,_0x55fb97:0x6c,_0x225774:0x1,_0x39729e:0x3da,_0x591072:0x432,_0x1d9fd9:0x2c5,_0x209b7d:0x10b,_0x393cf2:0x452,_0x40d258:0x3e0},_0x1da581={_0x3c6c71:0xb0,_0x2e9d32:0x131,_0x54ae51:0x434},_0x4431c6={_0x294183:0xfa},_0x48f4eb={_0x5a8f59:0xd3};function _0x22433f(_0x19bf82,_0x3ae2a0,_0x2fdd39,_0x3f7b1c){return _0x511d68(_0x19bf82-0x39,_0x2fdd39- -0x1bc,_0x2fdd39-0x1aa,_0x3f7b1c);}const _0x8811b0=createMcpToolName(_0x571a99['serverName'],_0x571a99[_0x22433f(0x3ee,0x47e,_0x34cbc2._0x3b2e66,_0x34cbc2._0x213768)][_0x22433f(0x29d,_0x34cbc2._0x14c1d8,0x3b3,0x4d8)]);function _0x3428ff(_0x426f83,_0x294a5b,_0x45a903,_0xbab510){return _0x475ba1(_0x426f83,_0xbab510-0x5d7,_0x45a903-0xab,_0xbab510-_0x48f4eb._0x5a8f59);}return defineTool({'name':_0x8811b0,'description':_0x571a99['tool'][_0x22433f(0x37e,_0x34cbc2._0x4932ca,_0x34cbc2._0x27d03b,0x1a1)]??_0x22433f(_0x34cbc2._0x4a54cd,_0x34cbc2._0x15cf01,_0x34cbc2._0x44d8ac,0x4c4)+_0x571a99[_0x22433f(_0x34cbc2._0x4a13ee,_0x34cbc2._0x534254,_0x34cbc2._0x3b2e66,0x596)]['name']+'\x20from\x20'+_0x571a99[_0x3428ff(_0x34cbc2._0x71d7a3,0x7da,0x88f,0x831)],'inputSchema':toNuvinToolSchema(_0x571a99[_0x3428ff(_0x34cbc2._0x1fa03e,_0x34cbc2._0x387f9d,0x7de,0x86c)]['inputSchema']),async *'execute'(_0x3433f4){function _0x41d9c3(_0x355320,_0x52611a,_0xc56970,_0x438c8a){return _0x22433f(_0x355320-0x156,_0x52611a-_0x4431c6._0x294183,_0x355320- -0x3e0,_0x438c8a);}const _0x1f5dd2=await _0x571a99[_0x41d9c3(-0xc1,-_0x64f7e9._0x4c3e6f,-_0x64f7e9._0x475839,-0x23d)][_0x47d238(_0x64f7e9._0x4c3564,0x40f,0x388,_0x64f7e9._0x3a4839)]({'name':_0x571a99[_0x47d238(_0x64f7e9._0x3260c0,0x52d,0x3c5,_0x64f7e9._0x37150f)][_0x41d9c3(-0x2d,-_0x64f7e9._0x2061a3,-_0x64f7e9._0x5965b7,-0x104)],'arguments':isJsonObject(_0x3433f4)?_0x3433f4:{}});function _0x47d238(_0x23ccf8,_0x58abe1,_0x448d0e,_0x24e34d){return _0x3428ff(_0x448d0e,_0x58abe1-_0x1da581._0x3c6c71,_0x448d0e-_0x1da581._0x2e9d32,_0x24e34d- -_0x1da581._0x54ae51);}if(_0x1f5dd2[_0x41d9c3(0x75,0x1b5,_0x64f7e9._0x227475,-_0x64f7e9._0x55fb97)])throw new ToolExecutionError(formatMcpContent(_0x1f5dd2),{'serverName':_0x571a99['serverName'],'toolName':_0x571a99[_0x41d9c3(0x146,_0x64f7e9._0x225774,0x15f,0x1fb)][_0x47d238(0x1b1,_0x64f7e9._0x39729e,_0x64f7e9._0x591072,_0x64f7e9._0x1d9fd9)]});return yield createToolOutput(formatMcpContent(_0x1f5dd2),{'serverName':_0x571a99[_0x41d9c3(_0x64f7e9._0x209b7d,0x1ae,0xb8,0xf9)],'toolName':_0x571a99[_0x47d238(_0x64f7e9._0x393cf2,0x2e7,_0x64f7e9._0x40d258,0x438)]['name'],'result':_0x1f5dd2}),void 0x0;}});}function resolvePrefix(_0x1c9c7e,_0x5c4b0a){const _0x566b38={_0x116830:0x3bb,_0x3bcd22:0x27f,_0x5d0d15:0x2bf};function _0x29ead0(_0xd99314,_0x2413b2,_0x3ba01d,_0x4b1716){return _0x475ba1(_0x4b1716,_0x3ba01d-0x232,_0x3ba01d-0x22,_0x4b1716-0xe8);}return _0x5c4b0a[_0x29ead0(_0x566b38._0x116830,_0x566b38._0x3bcd22,_0x566b38._0x5d0d15,0x31b)]??_0x1c9c7e;}function buildMcpHttpHeaders(_0x5935da){const _0x3abef0={_0x43746e:0x3d4,_0x163295:0x618,_0x59899b:0x535,_0x564221:0x64b,_0xf8c006:0x689,_0x3cdbf2:0x416,_0xcf163e:0x565,_0x36b3c1:0x59d,_0x1d4cd4:0x514,_0x30e3b:0x611,_0x5914f6:0x5bb,_0x15d4b5:0x790,_0x25fab6:0x833,_0xda1ca3:0x65f,_0x52d81a:0x64f,_0x2183b9:0x63a,_0x103383:0x64f,_0x15c3a7:0x3f6,_0x110af2:0x57a,_0x3e3764:0x6cb,_0x49efea:0x6de,_0x237d86:0x64d,_0x11c886:0x66f,_0x7745e9:0x6d8},_0x7a2ad={_0x33d4f2:0xec},_0x5afea7={..._0x5935da[_0x39ec77(_0x3abef0._0x43746e,0x54d,_0x3abef0._0x163295,0x699)]??{}};function _0x39ec77(_0x262e2c,_0x143e2f,_0x1c4b41,_0x4cbd19){return _0x511d68(_0x262e2c-_0x7a2ad._0x33d4f2,_0x143e2f-0x45,_0x1c4b41-0x18c,_0x1c4b41);}_0x5935da[_0x5c29ae(0x5c6,_0x3abef0._0x59899b,_0x3abef0._0x564221,_0x3abef0._0xf8c006)]?.['type']===_0x5c29ae(_0x3abef0._0x3cdbf2,_0x3abef0._0xcf163e,_0x3abef0._0x36b3c1,_0x3abef0._0x1d4cd4)&&_0x5935da[_0x39ec77(0x660,_0x3abef0._0x30e3b,_0x3abef0._0x5914f6,_0x3abef0._0x15d4b5)][_0x5c29ae(0x7cb,0x788,_0x3abef0._0x25fab6,0x6d8)]&&_0x5afea7[_0x39ec77(_0x3abef0._0xda1ca3,_0x3abef0._0x52d81a,0x53f,0x758)]===void 0x0&&(_0x5afea7[_0x39ec77(_0x3abef0._0x2183b9,_0x3abef0._0x103383,0x61b,0x797)]=_0x39ec77(_0x3abef0._0x15c3a7,_0x3abef0._0x110af2,0x4de,_0x3abef0._0x3e3764)+_0x5935da[_0x5c29ae(0x6ef,0x510,0x7d7,0x689)][_0x5c29ae(_0x3abef0._0x49efea,_0x3abef0._0x237d86,_0x3abef0._0x11c886,_0x3abef0._0x7745e9)]);function _0x5c29ae(_0x3986f2,_0x395ca4,_0x72b485,_0x42ed23){return _0x475ba1(_0x3986f2,_0x42ed23-0x50a,_0x72b485-0xcf,_0x42ed23-0x140);}return Object['keys'](_0x5afea7)['length']>0x0?_0x5afea7:void 0x0;}function getErrorMessage(_0xf4d637){const _0x6f24e3={_0x5537eb:0x563},_0x3a6475={_0x2a1dc9:0x2e7,_0x3cbe9b:0x152};function _0x37742d(_0x13a91c,_0x52eb05,_0x5b4278,_0x95ec27){return _0x475ba1(_0x5b4278,_0x52eb05-_0x3a6475._0x2a1dc9,_0x5b4278-0x12c,_0x95ec27-_0x3a6475._0x3cbe9b);}return _0xf4d637 instanceof Error?_0xf4d637[_0x37742d(0x349,0x3f3,0x2b9,_0x6f24e3._0x5537eb)]:String(_0xf4d637);}function isUnauthorizedError(_0x2220d3){const _0x3650d5={_0x2d4bc3:0x765,_0x7c9f2c:0x606},_0x73cb65={_0x4fff88:0x51f,_0x3b3ac4:0xb6},_0x2daf8e={_0xfc6b8d:0x5e2,_0x172a1d:0x1ae};function _0xcbca6f(_0x122c7c,_0x18ecdc,_0x295f04,_0x5b982c){return _0x475ba1(_0x18ecdc,_0x295f04-_0x2daf8e._0xfc6b8d,_0x295f04-0x155,_0x5b982c-_0x2daf8e._0x172a1d);}function _0x2e786e(_0x20dc0b,_0x4b2ea4,_0x32565b,_0x449f89){return _0x511d68(_0x20dc0b-0x18b,_0x32565b- -_0x73cb65._0x4fff88,_0x32565b-_0x73cb65._0x3b3ac4,_0x4b2ea4);}return _0x2220d3 instanceof Error&&_0x2220d3['constructor'][_0xcbca6f(0x5bb,0x6d6,0x704,0x6d6)]===_0xcbca6f(0x83b,0x836,_0x3650d5._0x2d4bc3,_0x3650d5._0x7c9f2c);}async function connectMcpServer(_0x3e5a7d,_0x54c4ae,_0x3d52c7){const _0x3712f0={_0x35b608:0x628,_0x23913c:0x677,_0x19115e:0x3f4,_0x25b71:0x472,_0x451099:0x4b8,_0x375c59:0x45d,_0x15be74:0x544,_0xd24def:0x4f7,_0x49d214:0x519,_0x56554c:0x35d,_0x5ae886:0x331,_0x5c6d3c:0x3a5,_0x4fb046:0x4dd,_0x50d3a3:0x6d7,_0x970538:0x61c,_0xdbe929:0x7d8,_0x33def4:0x4ef,_0x1000b7:0x50d,_0x4323fc:0x6c2,_0x115fb3:0x48e,_0x115247:0x716,_0x440174:0x598,_0x18ea3b:0x7aa,_0xb651b0:0x7a1,_0x3747d9:0x4ea,_0xef3962:0x51d,_0xa84a21:0x6fc,_0xe655db:0x600,_0x479332:0x64a,_0xdd61fc:0x615,_0xc8aa2d:0x7aa,_0x510838:0x7c2,_0x57804a:0x52e,_0x4d5148:0x5c5,_0x24b15a:0x6d6,_0x51563b:0x855,_0x3d56bf:0x6d3,_0x5aebbe:0x6f8,_0x985910:0x5e2,_0x47ceae:0x5aa,_0x13e2fd:0x815,_0x3f9d8a:0x407,_0x4f7575:0x5f3,_0x2a909a:0x3bb,_0x36dcc2:0x3fd,_0x4d1160:0x56e,_0x3371e1:0x5d0,_0x8f4cf0:0x44d,_0x233ffa:0x4ca,_0x5ee11a:0x59a,_0x16f42e:0x4b7,_0x2c8bd3:0x64b,_0x2190d3:0x50f,_0x3c81f3:0x589,_0x259b42:0x90e},_0x5c3af4={_0x32ab1f:0x1d6,_0x47b5c7:0x72},_0x33f9f1={_0x142649:0x109},_0x12c495={_0x3b1c6b:0x1bc},_0x3920f0={_0xc51d5f:0x38a,_0x57f9ea:0x1a6},_0x2ac5f4={_0x4ca1d3:0xca},_0x3756a1={_0x3de186:0x45e,_0x5378e4:0x3d2,_0x4610fa:0x484,_0x4b5854:0x3ec,_0x10481e:0x46f,_0x23b37f:0x4eb,_0x284bb4:0x618,_0x1cf1c4:0x621,_0x4568d0:0x37c,_0x4643cc:0x3a2,_0x41210a:0x31e},_0x547c94={_0xf93719:0x1fb,_0x237a48:0x53},_0x338157=new Client({'name':_0x6699e3(_0x3712f0._0x35b608,0x63f,0x72d,_0x3712f0._0x23913c),'version':'0.0.0'});_0x338157[_0x59b57d(_0x3712f0._0x19115e,0x2b8,0x3e1,_0x3712f0._0x25b71)]=_0x12c27d=>{const _0x1090b0={_0x1d2413:0x9e};function _0x4372ca(_0x13b0d2,_0x1248d3,_0x3f8cea,_0x4bb35e){return _0x59b57d(_0x13b0d2-_0x1090b0._0x1d2413,_0x1248d3-0x106,_0x3f8cea- -0x1b1,_0x1248d3);}function _0x2eadfa(_0x2701a8,_0x16665c,_0x214c2e,_0x32fccb){return _0x6699e3(_0x32fccb- -_0x547c94._0xf93719,_0x16665c-0x98,_0x214c2e-_0x547c94._0x237a48,_0x16665c);}console[_0x4372ca(_0x3756a1._0x3de186,_0x3756a1._0x5378e4,0x42e,_0x3756a1._0x4610fa)](_0x2eadfa(_0x3756a1._0x4b5854,0x57d,_0x3756a1._0x10481e,0x535)+_0x3e5a7d+_0x2eadfa(_0x3756a1._0x23b37f,0x79e,_0x3756a1._0x284bb4,_0x3756a1._0x1cf1c4),_0x12c27d[_0x4372ca(_0x3756a1._0x4568d0,_0x3756a1._0x4643cc,_0x3756a1._0x41210a,0x2d7)]);};function _0x6699e3(_0x28eb13,_0x2f1a53,_0x51ce44,_0x5de93f){return _0x511d68(_0x28eb13-0x193,_0x28eb13-0x130,_0x51ce44-0xed,_0x5de93f);}if(_0x54c4ae['transport']===_0x59b57d(0x46c,_0x3712f0._0x451099,_0x3712f0._0x375c59,_0x3712f0._0x15be74)||_0x54c4ae[_0x59b57d(_0x3712f0._0xd24def,0x3d5,0x3a5,_0x3712f0._0x49d214)]){if(!_0x54c4ae[_0x59b57d(_0x3712f0._0x56554c,_0x3712f0._0x5ae886,_0x3712f0._0x5c6d3c,_0x3712f0._0x4fb046)])throw new Error(_0x6699e3(_0x3712f0._0x50d3a3,_0x3712f0._0x970538,_0x3712f0._0xdbe929,0x7d3)+_0x3e5a7d+_0x59b57d(0x3f4,_0x3712f0._0x33def4,0x51b,_0x3712f0._0x1000b7));if(_0x54c4ae[_0x6699e3(0x6fc,_0x3712f0._0x4323fc,0x75b,0x6ce)]?.[_0x59b57d(_0x3712f0._0x115fb3,_0x3712f0._0x115247,_0x3712f0._0x440174,0x6bd)]===_0x6699e3(_0x3712f0._0x18ea3b,0x8af,_0x3712f0._0xb651b0,0x81a)&&!_0x3d52c7?.[_0x59b57d(0x647,0x4c9,0x5f0,0x608)])throw new Error(_0x59b57d(_0x3712f0._0x3747d9,0x579,_0x3712f0._0xef3962,0x3e9)+_0x3e5a7d+'\x20requires\x20OAuth\x20connection\x20options');const _0x50e5e7=buildMcpHttpHeaders(_0x54c4ae),_0x56ccfd=_0x54c4ae[_0x6699e3(_0x3712f0._0xa84a21,0x69d,0x769,0x74a)]?.[_0x6699e3(0x752,_0x3712f0._0xe655db,_0x3712f0._0x479332,_0x3712f0._0xdd61fc)]===_0x6699e3(_0x3712f0._0xc8aa2d,_0x3712f0._0x510838,0x67b,0x880)&&_0x3d52c7?.[_0x59b57d(_0x3712f0._0x57804a,_0x3712f0._0x4d5148,0x5f0,0x5e1)]?createMcpOAuthProvider({'serverName':_0x3e5a7d,'callbackUrl':_0x3d52c7['oauth'][_0x6699e3(_0x3712f0._0x24b15a,0x770,0x737,0x6f1)],'storageDir':_0x3d52c7[_0x6699e3(_0x3712f0._0x18ea3b,_0x3712f0._0x51563b,0x891,_0x3712f0._0x3d56bf)][_0x6699e3(_0x3712f0._0x5aebbe,_0x3712f0._0x985910,0x84f,_0x3712f0._0x47ceae)],'config':_0x54c4ae[_0x6699e3(_0x3712f0._0xa84a21,0x739,_0x3712f0._0x13e2fd,0x5f6)],'onRedirect':_0x5e381d=>_0x3d52c7[_0x59b57d(0x546,0x675,0x5f0,0x51f)]?.[_0x6699e3(0x838,0x9a1,0x736,0x941)](_0x3e5a7d,_0x5e381d)}):void 0x0,_0x59c0ed=new StreamableHTTPClientTransport(new URL(_0x54c4ae[_0x6699e3(0x55f,0x628,_0x3712f0._0x3f9d8a,0x4c2)]),{'authProvider':_0x56ccfd,'requestInit':_0x50e5e7?{'headers':_0x50e5e7}:void 0x0});await _0x338157[_0x59b57d(_0x3712f0._0x4f7575,0x6a2,0x67f,0x76e)](_0x59c0ed);}else{if(!_0x54c4ae[_0x59b57d(_0x3712f0._0x2a909a,0x3fe,0x3fc,_0x3712f0._0x36dcc2)])throw new Error(_0x59b57d(0x50c,_0x3712f0._0x4d1160,_0x3712f0._0xef3962,_0x3712f0._0x3371e1)+_0x3e5a7d+_0x6699e3(0x595,_0x3712f0._0x8f4cf0,0x621,_0x3712f0._0x233ffa));const _0x5b467c=new StdioClientTransport({'command':_0x54c4ae['command'],'args':_0x54c4ae[_0x59b57d(0x571,_0x3712f0._0x5ee11a,0x47d,_0x3712f0._0x16f42e)]??[],'env':_0x54c4ae[_0x6699e3(_0x3712f0._0x2c8bd3,0x70b,_0x3712f0._0x2190d3,_0x3712f0._0x3c81f3)],'stderr':_0x6699e3(0x7fa,0x834,_0x3712f0._0x259b42,0x7f1)});await _0x338157[_0x6699e3(0x839,0x71c,0x7a5,0x7e1)](_0x5b467c);}function _0x59b57d(_0x3bc00b,_0x5c7036,_0x4d1eed,_0x461c8d){return _0x511d68(_0x3bc00b-_0x2ac5f4._0x4ca1d3,_0x4d1eed- -0x8a,_0x4d1eed-0x44,_0x461c8d);}return{async 'listTools'(){const _0x3c5a09={_0x5274b5:0xf7,_0x4c3e81:0xbf};function _0x33b0e8(_0x3997e8,_0x389bfe,_0x2ce420,_0x451b7d){return _0x59b57d(_0x3997e8-0xd5,_0x389bfe-_0x3c5a09._0x5274b5,_0x389bfe- -_0x3c5a09._0x4c3e81,_0x3997e8);}return await _0x338157[_0x33b0e8(0x3c8,0x32b,_0x3920f0._0xc51d5f,_0x3920f0._0x57f9ea)]();},async 'callTool'(_0x3c9f3e){function _0x1161da(_0x3e710c,_0x6c45af,_0xfeedc5,_0xc3615a){return _0x6699e3(_0x6c45af- -0x6e7,_0x6c45af-0x11d,_0xfeedc5-_0x12c495._0x3b1c6b,_0xfeedc5);}return await _0x338157[_0x1161da(0xc6,0x6c,0x1,_0x33f9f1._0x142649)]({'method':'tools/call','params':_0x3c9f3e},CallToolResultSchema);},async 'close'(){const _0x3e8b6b={_0x21bc4d:0x126,_0x25fd80:0x159};function _0x544482(_0x1c2e15,_0x39419d,_0x757fde,_0x43948e){return _0x6699e3(_0x39419d- -0x627,_0x39419d-_0x3e8b6b._0x21bc4d,_0x757fde-_0x3e8b6b._0x25fd80,_0x1c2e15);}await _0x338157[_0x544482(-_0x5c3af4._0x32ab1f,-_0x5c3af4._0x47b5c7,-0x1ef,0xb2)]();}};}async function createMcpToolsFromServers(_0x19a918){const _0x5a536d={_0x9ba87a:0x2fd,_0x28a10d:0x3e3,_0x2dbde7:0x2f5,_0x3b5199:0x321,_0x1db118:0x52,_0x11b420:0x139,_0x19c4a1:0x1ae,_0x4e5d87:0x275,_0x502078:0x3a0,_0x4981f4:0x343,_0x55eab8:0x91,_0x37c33f:0x1ed,_0x1f4713:0x3ec,_0x1d39c:0x19f,_0x474ecb:0x47,_0x40ac32:0xb9,_0x1f6d3d:0x2f5,_0x3ae283:0x75,_0x11297f:0x1ea,_0x23e663:0x1aa,_0x17b1e0:0x3fc,_0x40f032:0x16,_0x3c4b22:0x13b,_0x5df74f:0x23c,_0x546400:0x1db,_0x12243b:0xb5,_0x510d9e:0x49d,_0x2babb4:0x236,_0x425047:0x489,_0x534763:0x6f,_0x2d997c:0x11c,_0x4635c5:0x89,_0xe5682d:0x25f,_0x1b11aa:0x27b,_0x3b094e:0x3e2,_0x1256b2:0x285},_0x1a93d2={_0x3bfb74:0x3e4,_0x44fb87:0x2ec,_0xaad28d:0xa9,_0x3351b8:0x245,_0x322f34:0x212},_0x1531b4={_0x186142:0x107},_0x25e8d8=_0x19a918[_0x27456a(_0x5a536d._0x9ba87a,0x339,0x3e5,0x400)]??connectMcpServer;function _0x27456a(_0x57342d,_0x29ca8c,_0x50515c,_0xa1174f){return _0x475ba1(_0x57342d,_0x29ca8c-0x7d,_0x50515c-0x16a,_0xa1174f-_0x1531b4._0x186142);}const _0x37d8c0=[],_0x2dd449={};function _0x598ae9(_0x2130e7,_0x753b9c,_0x2eef65,_0x25efe6){return _0x475ba1(_0x25efe6,_0x2eef65-0x1c6,_0x2eef65-0x12e,_0x25efe6-0x37);}const _0x57e8a6={},_0x31cbdb=[];for(const [_0x12eba8,_0x2e54ab]of Object[_0x598ae9(_0x5a536d._0x28a10d,_0x5a536d._0x2dbde7,_0x5a536d._0x3b5199,0x3ab)](_0x19a918['servers']??{})){if(_0x2e54ab['enabled']===![]){_0x2dd449[_0x12eba8]={'status':_0x27456a(_0x5a536d._0x1db118,_0x5a536d._0x11b420,0x152,0xdc)};continue;}try{const _0x47a587=await _0x25e8d8(_0x12eba8,_0x2e54ab,_0x19a918[_0x27456a(_0x5a536d._0x19c4a1,_0x5a536d._0x4e5d87,_0x5a536d._0x502078,0x12a)]);_0x37d8c0['push'](_0x47a587);const _0x540607=await _0x47a587[_0x598ae9(_0x5a536d._0x4981f4,_0x5a536d._0x55eab8,_0x5a536d._0x37c33f,0x15b)]();let _0x253ef5=0x0;const _0x2e07ab=[];for(const _0x508df3 of _0x540607[_0x598ae9(_0x5a536d._0x1f4713,0x23f,0x269,0x2cb)]){const _0x21c9f5=_0x19a918['allowedTools']?.[_0x12eba8]?.[_0x508df3[_0x27456a(0xba,_0x5a536d._0x1d39c,0x259,0xc4)]];_0x2e07ab[_0x27456a(0xfc,_0x5a536d._0x474ecb,-0x67,-_0x5a536d._0x40ac32)]({'name':_0x508df3['name'],..._0x508df3['description']!==void 0x0?{'description':_0x508df3[_0x598ae9(_0x5a536d._0x1f6d3d,_0x5a536d._0x3ae283,_0x5a536d._0x11297f,_0x5a536d._0x23e663)]}:{},..._0x508df3[_0x598ae9(_0x5a536d._0x17b1e0,0x30d,0x2d3,0x442)]!==void 0x0?{'inputSchema':_0x508df3[_0x27456a(_0x5a536d._0x3ae283,0x18a,_0x5a536d._0x40f032,_0x5a536d._0x3c4b22)]}:{}});if(_0x21c9f5===![])continue;_0x253ef5+=0x1,_0x31cbdb[_0x598ae9(_0x5a536d._0x5df74f,_0x5a536d._0x546400,0x190,_0x5a536d._0x12243b)](createMcpTool({'serverName':resolvePrefix(_0x12eba8,_0x2e54ab),'tool':_0x508df3,'client':_0x47a587}));}_0x57e8a6[_0x12eba8]=_0x2e07ab,_0x2dd449[_0x12eba8]={'status':_0x598ae9(_0x5a536d._0x510d9e,_0x5a536d._0x2babb4,0x37a,_0x5a536d._0x425047),'toolCount':_0x253ef5};}catch(_0x5b2f07){_0x2dd449[_0x12eba8]=isUnauthorizedError(_0x5b2f07)?{'status':_0x27456a(0x1d,_0x5a536d._0x534763,_0x5a536d._0x2d997c,_0x5a536d._0x4635c5),'message':getErrorMessage(_0x5b2f07)}:{'status':_0x598ae9(_0x5a536d._0xe5682d,_0x5a536d._0x1b11aa,_0x5a536d._0x3b094e,_0x5a536d._0x1256b2),'message':getErrorMessage(_0x5b2f07)};}}return{'tools':_0x31cbdb,'servers':_0x2dd449,'serverTools':_0x57e8a6,async 'close'(){const _0x19f7e2={_0x464279:0x1c1};function _0x4ee3fa(_0x470d94,_0x1c33fc,_0x2e6e29,_0x36ba23){return _0x598ae9(_0x470d94-0x63,_0x1c33fc-0xc2,_0x470d94-0x1c2,_0x2e6e29);}function _0x3281b2(_0x36978b,_0x24ebae,_0x3a069a,_0x30b48e){return _0x598ae9(_0x36978b-0x18,_0x24ebae-_0x19f7e2._0x464279,_0x36978b- -0xe1,_0x3a069a);}await Promise[_0x4ee3fa(_0x1a93d2._0x3bfb74,0x2c6,0x266,_0x1a93d2._0x44fb87)](_0x37d8c0[_0x3281b2(0x1eb,_0x1a93d2._0xaad28d,_0x1a93d2._0x3351b8,_0x1a93d2._0x322f34)](_0xd7b5de=>_0xd7b5de[_0x4ee3fa(0x3c0,0x2e9,0x393,0x4e7)]()));}};}function getCommand(_0x176318){const _0x5624e0={_0x5a5288:0x6a,_0x40742e:0x4f,_0x22ba3d:0x177,_0x39221f:0x26e,_0x69b472:0x239,_0xa1e7b6:0x16a,_0x3afd33:0x17c,_0x465c21:0xea,_0x4b6ae7:0x1c0,_0x213aa5:0x70},_0x542e8a={_0x1cbc7a:0x2cb,_0x4d4101:0x1ac};if(_0x176318&&typeof _0x176318===_0x20569e(_0x5624e0._0x5a5288,0x191,_0x5624e0._0x40742e,_0x5624e0._0x22ba3d)&&!Array[_0x55846c(_0x5624e0._0x39221f,0x3ad,_0x5624e0._0x69b472,_0x5624e0._0xa1e7b6)](_0x176318)&&typeof _0x176318['command']===_0x20569e(0x21,_0x5624e0._0x3afd33,-0x1c,-_0x5624e0._0x465c21))return _0x176318['command'];function _0x55846c(_0x586a45,_0x2dfecd,_0x30e5a0,_0x5d25d8){return _0x511d68(_0x586a45-0x124,_0x586a45- -_0x542e8a._0x1cbc7a,_0x30e5a0-_0x542e8a._0x4d4101,_0x30e5a0);}function _0x20569e(_0x13ef73,_0xc724f3,_0x49005b,_0x50fe9c){return _0x511d68(_0x13ef73-0x194,_0x13ef73- -0x5a9,_0x49005b-0x154,_0x50fe9c);}return _0x55846c(_0x5624e0._0x4b6ae7,0x271,_0x5624e0._0x213aa5,0xdd);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x511d68(0x4af,0x627,0x540,0x659),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x475ba1(0x3d,0x57,0x1ae,-0x6d),_0x475ba1(-0x16,0x5,0x55,-0x47),_0x475ba1(0x3cc,0x2b6,0x1fd,0x393),_0x475ba1(-0x52,0x12d,-0x33,0x1f6),_0x511d68(0x60a,0x528,0x5f2,0x56b),'src/models/mock-model.ts','src/tools/mock-tool-runtime.ts',_0x511d68(0x638,0x511,0x63a,0x647),_0x511d68(0x797,0x692,0x7bc,0x6d6),_0x475ba1(0x286,0x253,0x396,0x1b4),_0x475ba1(0x4,0x143,0x189,-0x3),_0x511d68(0x52f,0x678,0x594,0x563),_0x475ba1(0x122,0xc3,0xba,0x1ac),_0x475ba1(-0x3a,0xf,0xc4,-0xf0)][_0x511d68(0x75a,0x6f6,0x6bf,0x71f)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x511d68(0x5b3,0x6fc,0x809,0x6f8),'description':'Executes\x20a\x20shell\x20command','input_schema':{'type':'object','properties':{'command':{'type':_0x475ba1(0x280,0x17d,0x9a,0x152)}},'required':['command']}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x341704){return{'output':_0x341704,'structured':{'value':_0x341704}};}function createUnknownToolResult(_0x131750){const _0x3eca43={_0x240a42:0x3f3,_0x1d390e:0x540,_0x2cffee:0x4ea,_0x1e43dd:0x46e,_0x39f292:0x306,_0x1d2810:0x120,_0x2c685d:0x1d8},_0x5402ed={_0x14bcc5:0x66,_0x205275:0x7b},_0x2c02e5={_0x36c8ec:0x95};function _0x5ced30(_0x229394,_0x59338d,_0x5a45d1,_0x5c4ab9){return _0x511d68(_0x229394-0x2d,_0x5c4ab9- -_0x2c02e5._0x36c8ec,_0x5a45d1-0x1ca,_0x229394);}function _0x5edc27(_0x36e0fe,_0x426737,_0x15f016,_0x5c78d3){return _0x475ba1(_0x5c78d3,_0x36e0fe-_0x5402ed._0x14bcc5,_0x15f016-_0x5402ed._0x205275,_0x5c78d3-0xdb);}return{'callId':_0x131750['id'],'toolName':_0x131750[_0x5ced30(_0x3eca43._0x240a42,_0x3eca43._0x1d390e,0x52a,0x4da)],'status':_0x5edc27(0x282,0x326,0x38c,0x352),'output':_0x5ced30(0x2f9,0x473,_0x3eca43._0x2cffee,_0x3eca43._0x1e43dd)+_0x131750[_0x5edc27(0x188,_0x3eca43._0x39f292,_0x3eca43._0x1d2810,_0x3eca43._0x2c685d)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x514a34,_0x1ba222){const _0x48a1ba={_0x3e513a:0x147,_0x336d8d:0x319},_0x3baaf9={_0x40e276:0x87,_0x1ef262:0x409,_0x15b532:0x23},_0x3794ad={_0x48d102:0x1a};function _0x3a914f(_0x3d8aa7,_0x56f5b5,_0x1070f8,_0x53caf1){return _0x475ba1(_0x1070f8,_0x53caf1-0x119,_0x1070f8-0x39,_0x53caf1-_0x3794ad._0x48d102);}function _0x1dcd80(_0x10ceed,_0x32584b,_0x5394cf,_0x3804d9){return _0x511d68(_0x10ceed-_0x3baaf9._0x40e276,_0x5394cf- -_0x3baaf9._0x1ef262,_0x5394cf-_0x3baaf9._0x15b532,_0x10ceed);}return{'callId':_0x514a34['id'],'toolName':_0x514a34[_0x1dcd80(0xba,0x62,0x166,_0x48a1ba._0x3e513a)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x514a34[_0x3a914f(0x35e,0x2f6,0x324,_0x48a1ba._0x336d8d)]),'exitCode':0x0},'chunks':[_0x1ba222],'meta':createMeta()};}function createMockToolRuntime(){const _0x24f21a={_0x303392:0x5b,_0x2161a3:0x1d3,_0xa1e0ea:0x2fa,_0x2cee2d:0x1b8,_0x2514a2:0x312,_0x50b6ea:0x3b6,_0x5f26dd:0x262},_0x5a715a={_0x535622:0x9f},_0x5620cd={_0x302b6e:0x4da,_0x59e2cc:0x609},_0x244be9={_0x534b59:0x244},_0x4da553=async(_0x5e8017,_0x4b83ed)=>{if(_0x5e8017[_0x59727d(_0x5620cd._0x302b6e,0x480,_0x5620cd._0x59e2cc,0x561)]!=='Bash')return createUnknownToolResult(_0x5e8017);function _0x59727d(_0x472fcb,_0x2d9703,_0x3105e6,_0x4ab7d7){return _0x4a14(_0x4ab7d7-_0x244be9._0x534b59,_0x3105e6);}const _0x748056=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x5e8017,_0x748056);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x17fad8,_0x4a436e){const _0x50950c={_0x59f597:0x2ea};function _0x1acc48(_0x438b32,_0x2b23d8,_0xe7372b,_0x164096){return _0x4a14(_0x164096- -_0x50950c._0x59f597,_0xe7372b);}function _0x24cfc8(_0x1ab142,_0x86b5dc,_0x491453,_0x55c65b){return _0x4a14(_0x55c65b- -_0x5a715a._0x535622,_0x491453);}return await Promise[_0x24cfc8(_0x24f21a._0x303392,_0x24f21a._0x2161a3,_0x24f21a._0xa1e0ea,_0x24f21a._0x2cee2d)](_0x17fad8[_0x24cfc8(_0x24f21a._0x2514a2,0x331,_0x24f21a._0x50b6ea,_0x24f21a._0x5f26dd)](async _0x505eb5=>{return await _0x4da553(_0x505eb5,_0x4a436e);}));},async 'execute'(_0x3edf59,_0x39b649){return await _0x4da553(_0x3edf59,_0x39b649);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x110251={_0x4a5d75:0x623,_0x5575b5:0x635},_0x3e253b={_0x29a2db:0x7d};delegatedRunCounter+=0x1;function _0x1dbba0(_0x3460fe,_0x45f2b6,_0x44c904,_0x11b0e7){return _0x475ba1(_0x11b0e7,_0x44c904-0x551,_0x44c904-_0x3e253b._0x29a2db,_0x11b0e7-0x12e);}return _0x1dbba0(0x608,0x590,_0x110251._0x4a5d75,_0x110251._0x5575b5)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x310177,_0x4bb98d){return typeof _0x310177==='function'?await _0x310177(_0x4bb98d):_0x310177;}function getDelegatedAgentDefinition(_0x339380,_0x185c29){const _0xc62295={_0xb65ff9:0x39e,_0x59d596:0x2f3},_0x1972a8={_0x190b15:0x251,_0x5855dc:0x13f};function _0x4a0910(_0x224c6d,_0x1ee504,_0x33684b,_0x5033fd){return _0x475ba1(_0x224c6d,_0x5033fd-_0x1972a8._0x190b15,_0x33684b-_0x1972a8._0x5855dc,_0x5033fd-0x31);}return _0x339380[_0x4a0910(_0xc62295._0xb65ff9,0x2e9,0x206,_0xc62295._0x59d596)]?.[_0x185c29];}function createRunSummary(_0x5066b2){const _0x405c4c={_0x1d8a5f:0x3c5,_0x3d17b2:0x1b2,_0x31f7a1:0x336,_0x1e5fb4:0x3ae,_0xbca9be:0x111,_0x241cc4:0x68e,_0x276415:0x5b4,_0xa5b7a2:0x184,_0x5f158f:0x43f,_0x36af52:0x527,_0x12048c:0x497,_0x2cdf3c:0x470},_0x3c8078={_0x473c95:0x1d6,_0x119163:0x1b,_0x8f2847:0x140},_0x1f4f98={_0x5bd71c:0xac,_0x19576c:0x78};function _0xcb08be(_0x4a6a30,_0x1ec3f5,_0x511bdf,_0x52b1f2){return _0x475ba1(_0x52b1f2,_0x4a6a30-0x213,_0x511bdf-_0x1f4f98._0x5bd71c,_0x52b1f2-_0x1f4f98._0x19576c);}function _0x324dad(_0x2d9daa,_0x1964f8,_0x620d2d,_0x3e3cac){return _0x511d68(_0x2d9daa-_0x3c8078._0x473c95,_0x2d9daa- -_0x3c8078._0x119163,_0x620d2d-_0x3c8078._0x8f2847,_0x1964f8);}return{'runId':_0x5066b2[_0x324dad(0x5d8,0x5a3,0x5aa,0x707)],'agentId':_0x5066b2['agentId'],'sessionId':_0x5066b2['sessionId'],'status':_0x5066b2['status'],'parentSessionId':_0x5066b2[_0xcb08be(0x30a,_0x405c4c._0x1d8a5f,0x3c6,0x1ac)],..._0x5066b2[_0xcb08be(0x23f,_0x405c4c._0x3d17b2,_0x405c4c._0x31f7a1,_0x405c4c._0x1e5fb4)]!==void 0x0?{'originToolCallId':_0x5066b2[_0xcb08be(0x23f,0x1a9,0x105,_0x405c4c._0xbca9be)]}:{},..._0x5066b2[_0x324dad(_0x405c4c._0x241cc4,_0x405c4c._0x276415,0x65f,0x7f4)]!==void 0x0?{'errorMessage':_0x5066b2['errorMessage']}:{},..._0x5066b2['result']?.[_0xcb08be(0x278,_0x405c4c._0xa5b7a2,0x277,0x254)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5066b2[_0x324dad(_0x405c4c._0x5f158f,_0x405c4c._0x36af52,0x3cb,0x51b)][_0x324dad(_0x405c4c._0x12048c,0x517,_0x405c4c._0x2cdf3c,0x47b)])}:{}};}function createRunSummaryOutput(_0x33dbae,_0x3f97ed){const _0x2ff908={_0x4c03c9:0x1ac,_0x44ad2f:0xc9,_0x1d3d5a:0xd,_0x346f94:0x24b,_0x54d592:0x268,_0x336e14:0x1b5,_0x112fce:0x1d7};function _0x209016(_0x3902ff,_0x20a162,_0x14dfcd,_0x20a99d){return _0x475ba1(_0x14dfcd,_0x20a99d-0x14d,_0x14dfcd-0xae,_0x20a99d-0x18e);}const _0x58eb02=createRunSummary(_0x33dbae),_0x1a9249=_0x58eb02[_0x42424d(0x50,_0x2ff908._0x4c03c9,_0x2ff908._0x44ad2f,_0x2ff908._0x1d3d5a)];function _0x42424d(_0x34ff6e,_0x41786d,_0x207cb5,_0x1b4e3d){return _0x511d68(_0x34ff6e-0x1ae,_0x207cb5- -0x415,_0x207cb5-0xb7,_0x41786d);}return createToolOutput(typeof _0x1a9249===_0x42424d(_0x2ff908._0x346f94,_0x2ff908._0x54d592,_0x2ff908._0x336e14,0x1df)&&_0x1a9249[_0x42424d(0x153,0x17b,0xf9,_0x2ff908._0x112fce)]>0x0?_0x1a9249:_0x3f97ed,_0x58eb02);}function getRunTerminalErrorMessage(_0x572434){const _0x1eefe5={_0x1a8ac3:0x2a5,_0x2b6fbb:0x1e3,_0x1f08d7:0xb6,_0x163e5f:0xbe,_0x3f7237:0xc6,_0x1e99db:0xb9,_0x41b8aa:0x2a,_0x44dd54:0xba,_0x4161b5:0xc0,_0x4f29c1:0x100,_0x4b2c45:0x112,_0x2db451:0x7f,_0x48cea5:0x5e,_0x365fdf:0x2},_0xadb2ad={_0x20276f:0x103,_0x51427a:0x628,_0x730d9f:0xa6},_0x3fb509={_0x245bb6:0x10b,_0x1bb18e:0x123,_0x4820e2:0x6a},_0x4d256b=_0x572434?.[_0x241aeb(0x2d6,0x211,_0x1eefe5._0x1a8ac3,_0x1eefe5._0x2b6fbb)][_0x5e9d32(-_0x1eefe5._0x1f08d7,_0x1eefe5._0x163e5f,-_0x1eefe5._0x3f7237,-0x5)]['at'](-0x1);function _0x241aeb(_0x5d8cf9,_0x108c62,_0x299d13,_0x4b9a59){return _0x475ba1(_0x108c62,_0x5d8cf9-_0x3fb509._0x245bb6,_0x299d13-_0x3fb509._0x1bb18e,_0x4b9a59-_0x3fb509._0x4820e2);}function _0x5e9d32(_0x1fddf4,_0x4196bd,_0x5d9c59,_0x26fedc){return _0x511d68(_0x1fddf4-_0xadb2ad._0x20276f,_0x5d9c59- -_0xadb2ad._0x51427a,_0x5d9c59-_0xadb2ad._0x730d9f,_0x4196bd);}if(_0x4d256b?.[_0x5e9d32(-0xdc,_0x1eefe5._0x1e99db,-_0x1eefe5._0x41b8aa,_0x1eefe5._0x44dd54)]===_0x5e9d32(0x99,-_0x1eefe5._0x4161b5,0x41,_0x1eefe5._0x4f29c1)&&_0x4d256b[_0x241aeb(0x1c0,_0x1eefe5._0x4b2c45,0x29a,_0x1eefe5._0x2db451)]['trim']()['length']>0x0)return _0x4d256b[_0x5e9d32(_0x1eefe5._0x48cea5,-_0x1eefe5._0x365fdf,-0x126,-0x175)];return void 0x0;}function formatAbortedRunMessage(_0x2a602f,_0x253321){const _0x59acb8={_0x4dd4bd:0xbf,_0x4aa778:0x18,_0x3cec98:0x57,_0x16137e:0x7f,_0x1e758c:0x41,_0x2bcedb:0xa7,_0x388ae1:0x4fd,_0xf78755:0x305},_0x1c6db7={_0x5c951e:0x2ba,_0xcfc08d:0x62,_0x1334ba:0x99};function _0x9f86fb(_0xbf2efd,_0x5953f0,_0x4dae9f,_0x48b70a){return _0x475ba1(_0x5953f0,_0x4dae9f-_0x1c6db7._0x5c951e,_0x4dae9f-_0x1c6db7._0xcfc08d,_0x48b70a-_0x1c6db7._0x1334ba);}const _0xf9554e=_0x9f86fb(0x47a,0x3b4,0x40d,0x428)+_0x2a602f+_0x5b61a9(0x23e,0x187,_0x59acb8._0x4dd4bd,0x12d);function _0x5b61a9(_0x393c39,_0x2464c4,_0x3ce8a4,_0x866944){return _0x475ba1(_0x2464c4,_0x3ce8a4- -0x1a,_0x3ce8a4-0x3e,_0x866944-0x59);}if(!_0x253321||_0x253321[_0x5b61a9(_0x59acb8._0x4aa778,-_0x59acb8._0x3cec98,0x10c,0xe0)]()[_0x5b61a9(-_0x59acb8._0x16137e,_0x59acb8._0x1e758c,_0x59acb8._0x2bcedb,0x136)]===0x0||_0x253321===_0xf9554e)return _0xf9554e;return _0xf9554e+_0x9f86fb(_0x59acb8._0x388ae1,_0x59acb8._0xf78755,0x443,0x537)+_0x253321;}function createAssignTaskTool(_0x49efc3){const _0x1cd458={_0x45852a:0x83,_0x3f3bb0:0x244,_0x415f59:0x29f,_0xfdd649:0x1bb,_0x2cd9e1:0x196,_0x3aa9a2:0x2cd,_0x484f56:0x185,_0x2439e4:0x14f,_0x585656:0x112,_0x39d98a:0x1c,_0x13ce43:0x12a,_0x1032ac:0x80,_0x249e08:0x3},_0x422c2f={_0x3846a4:0x544,_0x7cd472:0x621,_0x375595:0x252,_0x14ad68:0xf7,_0x5d1da5:0x1dd,_0x1cbd07:0x184,_0x3a0106:0x14b,_0x202f0e:0xe9,_0x122abb:0x20,_0x214dc3:0xe1,_0x40cbd3:0x550,_0x9157ac:0x4da,_0x32e3d5:0x634,_0x2ae740:0x63,_0x1939b5:0x55b,_0x565bc1:0x55a,_0x3c03ae:0x535,_0x3f1a9f:0x123,_0x19c8c4:0x289,_0x52821d:0x4f,_0x1e9945:0x122,_0x1a7085:0x58e,_0x3e5afa:0x4c0,_0x1ca276:0x27d,_0x46f627:0x33,_0x135fb3:0x4e5,_0x182d7a:0x354,_0x1e341f:0x10f,_0x6347c3:0x1ab,_0x10f6ec:0x6a,_0x386e30:0x128,_0x4fe9d7:0x162,_0x515997:0x679,_0x12a81b:0x185,_0xb198a2:0x174,_0x3d4888:0x456,_0x31fb37:0x26,_0x2d0d63:0x256,_0x15ecce:0x64d,_0x2c9581:0x5e7,_0x5d74c4:0x25d,_0xf9ef2e:0x4d7,_0x1d2b21:0x62f,_0x4626a9:0x23d,_0xb213ec:0xc2,_0x4ebee9:0x183,_0x130b96:0x11a,_0x9b089d:0x3d,_0x595a33:0xe,_0x1bc0cc:0x429,_0x208d2b:0xd,_0x48a709:0x16a,_0x20dff1:0xc8,_0x36f7df:0x1ba,_0x3e62d9:0x129,_0x2edf5b:0x5b8,_0xb94c9c:0x629,_0x14d141:0x6c2,_0x13870f:0x6c9,_0x25835a:0x5f5,_0x55c1d7:0xc1},_0x4bbdc6={_0x33d13e:0xdb,_0x39e3fa:0xd9},_0x36ad4d={_0xde134:0x1e3,_0x5dec34:0x14a};function _0x12bc70(_0x22a033,_0x5a891b,_0x1f11fc,_0x10af6e){return _0x475ba1(_0x10af6e,_0x1f11fc- -0xd9,_0x1f11fc-_0x36ad4d._0xde134,_0x10af6e-_0x36ad4d._0x5dec34);}function _0x167f69(_0x89c42a,_0x413614,_0x4ea404,_0x375622){return _0x475ba1(_0x375622,_0x4ea404-0x19,_0x4ea404-_0x4bbdc6._0x33d13e,_0x375622-_0x4bbdc6._0x39e3fa);}return defineTool({'name':_0x12bc70(0xf3,-0x3f,0x7b,_0x1cd458._0x45852a),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion','inputSchema':{'type':_0x167f69(_0x1cd458._0x3f3bb0,_0x1cd458._0x415f59,0x1df,_0x1cd458._0xfdd649),'properties':{'agentId':{'type':'string'},'description':{'type':'string'},'nickname':{'type':_0x167f69(0xc0,0x1f8,_0x1cd458._0x2cd9e1,_0x1cd458._0x3aa9a2)},'task':{'type':_0x12bc70(-0xd6,_0x1cd458._0x484f56,0xa4,0x11d)}},'required':[_0x167f69(_0x1cd458._0x2439e4,-_0x1cd458._0x585656,-0xf,-0x190),_0x167f69(-_0x1cd458._0x39d98a,_0x1cd458._0x13ce43,0x3d,-0x129),_0x167f69(-0x14a,-_0x1cd458._0x1032ac,_0x1cd458._0x249e08,-0x158)]},async *'execute'(_0x23c2b0,_0x28b2b4){const _0x4198b2={_0x2acebe:0x12c,_0x532f57:0x108,_0x15ee2b:0xa},_0x56d4b1={_0x23936f:0xf1,_0x11ca35:0x3d,_0x68008c:0x1e,_0x5e814b:0x4c},_0x57a8c2={_0x3f78e8:0x5fa,_0xf66683:0x20},_0x416df2={_0x8874ef:0x1d6},_0x5939db=createDelegatedRunId();function _0x53a867(_0x45b857,_0x3363d6,_0x5669f0,_0x5d978a){return _0x12bc70(_0x45b857-0x16e,_0x3363d6-_0x416df2._0x8874ef,_0x3363d6-0x4eb,_0x45b857);}const _0x37dedc={'agentId':_0x23c2b0['agentId'],'parentSessionId':_0x28b2b4[_0x53a867(_0x422c2f._0x3846a4,0x4da,_0x422c2f._0x7cd472,0x587)],'runId':_0x5939db,..._0x28b2b4['toolCallId']!==void 0x0?{'toolCallId':_0x28b2b4['toolCallId']}:{}},_0x433b58=getDelegatedAgentDefinition(_0x49efc3,_0x23c2b0[_0x26284f(-_0x422c2f._0x375595,0x32,-_0x422c2f._0x14ad68,-_0x422c2f._0x5d1da5)]);if(!_0x433b58)throw new ToolExecutionError('Unknown\x20delegated\x20agent:\x20'+_0x23c2b0['agentId'],{'agentId':_0x23c2b0[_0x26284f(-_0x422c2f._0x1cbd07,-_0x422c2f._0x3a0106,-_0x422c2f._0x14ad68,-_0x422c2f._0x202f0e)]});const _0x4740f7=new Agent(await resolveDelegatedAgentOptions(_0x433b58,_0x37dedc));let _0x26b84d={'runId':_0x5939db,'agentId':_0x23c2b0[_0x26284f(-_0x422c2f._0x122abb,-0x196,-0xf7,-_0x422c2f._0x214dc3)],'sessionId':_0x4740f7[_0x53a867(_0x422c2f._0x40cbd3,_0x422c2f._0x9157ac,_0x422c2f._0x32e3d5,0x4ad)],'status':_0x26284f(-0x159,_0x422c2f._0x2ae740,0x1b,0x36),'parentSessionId':_0x28b2b4['sessionId'],..._0x28b2b4[_0x53a867(_0x422c2f._0x1939b5,_0x422c2f._0x565bc1,0x4af,_0x422c2f._0x3c03ae)]!==void 0x0?{'originToolCallId':_0x28b2b4['toolCallId']}:{}};const _0x28f974=new AbortController(),_0x1cfef1=addAbortListener(_0x28b2b4[_0x26284f(_0x422c2f._0x3f1a9f,_0x422c2f._0x19c8c4,0x17e,0x117)],()=>{function _0xf33e4c(_0xda317,_0x3420c2,_0x5799b9,_0x5075d3){return _0x26284f(_0xda317-0x17a,_0x3420c2,_0xda317- -0x8d,_0x5075d3-0x1ca);}function _0x470120(_0x542509,_0x17ed21,_0xa8ab19,_0x4d1e72){return _0x53a867(_0x4d1e72,_0xa8ab19- -_0x57a8c2._0x3f78e8,_0xa8ab19-_0x57a8c2._0xf66683,_0x4d1e72-0x100);}_0x28f974['abort'](_0x28b2b4[_0xf33e4c(_0x56d4b1._0x23936f,_0x56d4b1._0x11ca35,0x1df,-0x2e)]?.[_0xf33e4c(-0x182,-0x146,-_0x56d4b1._0x68008c,-_0x56d4b1._0x5e814b)]);});function _0x26284f(_0x48abe4,_0x46cdbe,_0x3a4c90,_0x1994b7){return _0x12bc70(_0x48abe4-_0x4198b2._0x2acebe,_0x46cdbe-_0x4198b2._0x532f57,_0x3a4c90-_0x4198b2._0x15ee2b,_0x46cdbe);}yield createToolOutput(_0x26284f(-0x11f,0xc8,-0x8b,-0x1ad)+_0x26b84d[_0x26284f(-_0x422c2f._0x52821d,-0x86,0xd7,_0x422c2f._0x1e9945)]+'.',{'runId':_0x26b84d['runId'],'agentId':_0x26b84d['agentId'],'sessionId':_0x26b84d['sessionId'],'status':_0x26b84d[_0x53a867(0x68f,0x5c3,_0x422c2f._0x1a7085,_0x422c2f._0x3e5afa)]});try{const _0x59961e=await _0x4740f7[_0x26284f(-_0x422c2f._0x1ca276,0x17,-0x114,-_0x422c2f._0x46f627)](_0x23c2b0[_0x53a867(0x484,0x3fc,_0x422c2f._0x135fb3,_0x422c2f._0x182d7a)],{'streaming':!![],'signal':_0x28f974['signal']});_0x26b84d={..._0x26b84d,'status':_0x59961e[_0x26284f(0x35,_0x422c2f._0x1e341f,0xe2,_0x422c2f._0x6347c3)],'result':_0x59961e};if(_0x59961e[_0x26284f(0xc1,_0x422c2f._0x10f6ec,0xe2,0x21e)]!==_0x26284f(0xa4,_0x422c2f._0x386e30,-0x28,-_0x422c2f._0x4fe9d7)){const _0xf55627=getRunTerminalErrorMessage(_0x59961e),_0x46e606=formatAbortedRunMessage(_0x26b84d[_0x53a867(0x601,0x5b8,_0x422c2f._0x515997,0x590)],_0xf55627);throw new ToolExecutionError(_0x46e606,{...createRunSummary(_0x26b84d),'aborted':!![],'errorMessage':_0x46e606});}return createRunSummaryOutput(_0x26b84d,'Agent\x20run\x20'+_0x26b84d[_0x26284f(-0x37,_0x422c2f._0x12a81b,0xd7,_0x422c2f._0xb198a2)]+_0x53a867(_0x422c2f._0x3d4888,0x3d5,0x3fb,0x543));}catch(_0x12af81){if(_0x12af81 instanceof ToolExecutionError)throw _0x12af81;if(isAbortError(_0x12af81)||_0x28f974[_0x26284f(0x1a,_0x422c2f._0x31fb37,0x17e,_0x422c2f._0x2d0d63)][_0x53a867(0x567,0x4d7,_0x422c2f._0x15ecce,_0x422c2f._0x2c9581)]||_0x28b2b4[_0x26284f(0x2b4,0xe8,0x17e,_0x422c2f._0x5d74c4)][_0x53a867(0x3b2,_0x422c2f._0xf9ef2e,_0x422c2f._0x1d2b21,0x454)]){const _0x1a2d93=getRunTerminalErrorMessage(_0x26b84d[_0x26284f(-_0x422c2f._0x4626a9,-0xfe,-_0x422c2f._0xb213ec,-_0x422c2f._0x4ebee9)])??(_0x12af81 instanceof Error?_0x12af81[_0x26284f(_0x422c2f._0x130b96,0x6b,_0x422c2f._0x9b089d,-0x114)]:String(_0x12af81)),_0x118269=formatAbortedRunMessage(_0x26b84d[_0x26284f(_0x422c2f._0x595a33,0x247,0xd7,0x14e)],_0x1a2d93);_0x26b84d={..._0x26b84d,'status':_0x53a867(0x476,_0x422c2f._0xf9ef2e,_0x422c2f._0x1bc0cc,0x572),'errorMessage':_0x118269};throw new ToolExecutionError(_0x118269,{...createRunSummary(_0x26b84d),'aborted':!![],'errorMessage':_0x118269});}const _0x4e248e=getRunTerminalErrorMessage(_0x26b84d['result'])??(_0x12af81 instanceof Error?_0x12af81[_0x26284f(_0x422c2f._0x208d2b,_0x422c2f._0x48a709,0x3d,_0x422c2f._0x20dff1)]:String(_0x12af81))??_0x26284f(0xa1,_0x422c2f._0x36f7df,0x84,_0x422c2f._0x3e62d9)+_0x26b84d[_0x53a867(0x465,_0x422c2f._0x2edf5b,_0x422c2f._0xb94c9c,_0x422c2f._0x14d141)]+_0x53a867(_0x422c2f._0x13870f,0x6b5,_0x422c2f._0x25835a,0x6a7);_0x26b84d={..._0x26b84d,'status':_0x26284f(_0x422c2f._0x55c1d7,0x10,0x64,0x151),'errorMessage':_0x4e248e};throw new ToolExecutionError(_0x4e248e,{...createRunSummary(_0x26b84d),'errorMessage':_0x4e248e});}finally{_0x1cfef1();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x28a544){return[createAssignTaskTool(_0x28a544)];}import*as _0x32699d from'path';function buildDescription2(_0x3cfc01){const _0x39d070={_0x3f36f3:0x474,_0x198964:0x3b6,_0x1f351c:0x244,_0x3e5798:0x2c5,_0x29a2e0:0x43b,_0xd6b21d:0x35d,_0x3f4427:0x356,_0x2ffea9:0x529,_0xafe140:0x508,_0x39496f:0x353},_0x19030e={_0x176b09:0x12e};if(_0x3cfc01['length']===0x0)return _0xc2e364(_0x39d070._0x3f36f3,_0x39d070._0x198964,_0x39d070._0x1f351c,0x4b0);function _0x426b3f(_0x1b3ccf,_0x340d6c,_0x462361,_0x5efc6f){return _0x511d68(_0x1b3ccf-0x113,_0x462361- -_0x19030e._0x176b09,_0x462361-0x71,_0x340d6c);}const _0x548901=[_0x426b3f(0x4c3,_0x39d070._0x3e5798,_0x39d070._0x29a2e0,0x3ac),_0xc2e364(0x446,0x41f,0x49f,0x588),_0xc2e364(0x3b6,_0x39d070._0xd6b21d,0x237,0x41f),_0xc2e364(_0x39d070._0x3f4427,0x40f,_0x39d070._0x2ffea9,_0x39d070._0xafe140),..._0x3cfc01[_0xc2e364(0x2c1,_0x39d070._0x39496f,0x268,0x38d)](_0x1384c8=>'-\x20'+_0x1384c8[_0x426b3f(0x578,0x51e,0x441,0x30c)]+':\x20'+_0x1384c8['description'])];function _0xc2e364(_0x455925,_0x29f1bd,_0x2c476a,_0x18e254){return _0x475ba1(_0x18e254,_0x29f1bd-0x24d,_0x2c476a-0xc6,_0x18e254-0x1b);}return _0x548901['join']('\x0a');}function _0x511d68(_0x4f9ed9,_0x2aaddf,_0x236ce3,_0x17e50e){return _0x4a14(_0x2aaddf-0x252,_0x17e50e);}function createLoadSkillTool(_0x593027){const _0x3d1913={_0x56fe82:0x69c,_0x224e64:0x47d,_0x3f8f62:0x4dd,_0x35799f:0x474,_0x3fb38f:0x68c,_0x116291:0x4ca,_0x52eac5:0x7b1,_0xc7421a:0x6fa,_0x227d3f:0x760,_0x5be4d8:0x6b3},_0x5c5720={_0x1c65a7:0x2a2,_0x397a78:0x32e,_0x10c5a5:0x1ef,_0x137edc:0x26b,_0x300c96:0x211,_0x3c53d3:0x3b5,_0x55f5a5:0x334,_0x22a2cd:0x318,_0x16d010:0x45f,_0xa6d49c:0x475,_0x46ec57:0x489,_0x283492:0x2b7,_0x29f78a:0x4c,_0x198be5:0x297,_0x1efa38:0x22a,_0xbfe2d5:0x304,_0x5dbea5:0x285,_0x1466ab:0x34b,_0x5ec52a:0x23d,_0xd896e3:0x289,_0x37f43c:0x30e,_0x2d042e:0x10d,_0x2a03a8:0xec,_0x5db30e:0x1b1,_0x57d1a6:0x584,_0x3c09b8:0x2cf,_0x12063e:0x3e8,_0xf46bde:0x145,_0x50807d:0x195,_0xd4d31:0x377,_0x1ab070:0x3f3,_0x396bc4:0x464,_0x14e062:0x24f,_0x18dc90:0x2ab,_0x1186f2:0x1ae,_0x195089:0x4b9,_0x543185:0x4bd,_0x21681c:0x3b6,_0x50720f:0x499,_0x23057b:0x431,_0x174e3f:0x2dc,_0x52a1da:0x376,_0x11484c:0x387,_0x8a2dd2:0x2f8,_0x146ace:0x10e,_0x2cbda9:0x35f,_0x2bf0c3:0x1b9,_0x43456c:0x31e,_0x5eca63:0x3a7,_0xe3ff06:0x359},_0x1bdcc8={_0x3f1909:0x17,_0x5705bd:0x1f7},_0x3c3c2f={_0x120dfe:0x128,_0x2386bc:0xd9,_0x251b18:0x4c4},_0x49c995={_0x4bb99f:0xf7,_0x31aa69:0x76},_0x198b8e={_0x3346c2:0x144};function _0x2380f2(_0x1fe43b,_0x4252e3,_0x5a6b53,_0x49664f){return _0x511d68(_0x1fe43b-0x78,_0x5a6b53-_0x198b8e._0x3346c2,_0x5a6b53-0xab,_0x49664f);}const _0x1a03cb=new Map(_0x593027[_0x46cc42(0x530,0x5ff,0x5a1,_0x3d1913._0x56fe82)][_0x46cc42(0x3b6,_0x3d1913._0x224e64,_0x3d1913._0x3f8f62,_0x3d1913._0x35799f)](_0x90bc96=>[_0x90bc96[_0x46cc42(0x3bf,0x4f8,0x4f9,0x525)],_0x90bc96])),_0x2751a5=buildDescription2(_0x593027[_0x2380f2(_0x3d1913._0x3fb38f,0x876,0x75b,0x5f1)]);function _0x46cc42(_0x6af1c4,_0x1a72e1,_0x226cc5,_0x3fe02e){return _0x511d68(_0x6af1c4-_0x49c995._0x4bb99f,_0x226cc5- -_0x49c995._0x31aa69,_0x226cc5-0x1ee,_0x1a72e1);}return defineTool({'name':_0x46cc42(0x625,_0x3d1913._0x116291,0x561,0x524),'description':_0x2751a5,'inputSchema':{'type':_0x2380f2(_0x3d1913._0x52eac5,0x71a,0x757,_0x3d1913._0xc7421a),'properties':{'name':{'type':'string'}},'required':[_0x2380f2(0x80f,_0x3d1913._0x227d3f,_0x3d1913._0x5be4d8,0x71e)]},async *'execute'(_0x1c6a1a){function _0x463232(_0x26c321,_0x236e2d,_0x5cc3e5,_0xa39149){return _0x2380f2(_0x26c321-_0x3c3c2f._0x120dfe,_0x236e2d-_0x3c3c2f._0x2386bc,_0x236e2d- -_0x3c3c2f._0x251b18,_0x26c321);}const _0x18589a=_0x1a03cb[_0x463232(0x2ce,0x1f6,0x24c,_0x5c5720._0x1c65a7)](_0x1c6a1a[_0x463232(_0x5c5720._0x397a78,_0x5c5720._0x10c5a5,0x1d2,0x21c)]);if(!_0x18589a){const _0x488542=Array[_0x463232(_0x5c5720._0x137edc,0x2dd,_0x5c5720._0x300c96,0x43f)](_0x1a03cb[_0x5cc88f(_0x5c5720._0x3c53d3,_0x5c5720._0x55f5a5,_0x5c5720._0x22a2cd,0x488)]())[_0x5cc88f(_0x5c5720._0x16d010,_0x5c5720._0xa6d49c,0x512,_0x5c5720._0x46ec57)](',\x20');throw new ToolExecutionError(_0x463232(_0x5c5720._0x283492,0x194,_0x5c5720._0x29f78a,_0x5c5720._0x198be5)+_0x1c6a1a['name']+_0x5cc88f(0x462,_0x5c5720._0x1efa38,0x3f0,_0x5c5720._0xbfe2d5)+_0x488542,{'name':_0x1c6a1a[_0x463232(0x206,0x1ef,0x31c,_0x5c5720._0x5dbea5)]});}const _0x594a86=await _0x593027[_0x5cc88f(_0x5c5720._0x1466ab,0x1fa,0x2e4,0x2f3)](_0x18589a);function _0x5cc88f(_0x2403f8,_0x35f34d,_0x459f25,_0x41d68c){return _0x46cc42(_0x2403f8-_0x1bdcc8._0x3f1909,_0x2403f8,_0x41d68c- -_0x1bdcc8._0x5705bd,_0x41d68c-0x1ea);}const _0x3c1b38=_0x18589a[_0x463232(_0x5c5720._0x5ec52a,_0x5c5720._0xd896e3,_0x5c5720._0x37f43c,0x3df)][_0x463232(_0x5c5720._0x2d042e,0x259,_0x5c5720._0x2a03a8,_0x5c5720._0x5db30e)]??_0x32699d[_0x5cc88f(_0x5c5720._0x57d1a6,_0x5c5720._0x3c09b8,_0x5c5720._0x12063e,0x410)](_0x18589a[_0x463232(0x254,0x289,_0x5c5720._0xf46bde,_0x5c5720._0x50807d)][_0x463232(_0x5c5720._0xd4d31,0x31e,_0x5c5720._0x1ab070,0x2ce)]),_0x4c84a6=['##\x20Skill:\x20'+_0x594a86[_0x5cc88f(_0x5c5720._0x396bc4,_0x5c5720._0x14e062,0x317,0x302)],'',_0x594a86[_0x463232(0x400,0x2c4,0x3e0,0x356)],'','---',_0x5cc88f(0x1a3,_0x5c5720._0x18dc90,0x227,_0x5c5720._0x1186f2)+_0x18589a[_0x5cc88f(0x4bc,_0x5c5720._0x195089,_0x5c5720._0x543185,0x39c)][_0x5cc88f(_0x5c5720._0x21681c,0x3f3,_0x5c5720._0x50720f,_0x5c5720._0x23057b)],_0x463232(0x1c9,0x2ca,_0x5c5720._0x174e3f,0x17b)+_0x3c1b38][_0x463232(0x482,_0x5c5720._0x52a1da,_0x5c5720._0x11484c,_0x5c5720._0x8a2dd2)]('\x0a');return yield createToolOutput(_0x4c84a6,{'id':_0x594a86['id'],'name':_0x594a86[_0x463232(_0x5c5720._0x146ace,0x1ef,_0x5c5720._0x2cbda9,0xec)],'path':_0x18589a['source'][_0x463232(_0x5c5720._0x2bf0c3,_0x5c5720._0x43456c,_0x5c5720._0x5eca63,_0x5c5720._0xe3ff06)],'baseDirectory':_0x3c1b38}),void 0x0;}});}var TODO_STATUSES=new Set([_0x475ba1(0xb,0x5a,0xa8,0x16b),_0x475ba1(0x15a,0x277,0x1f1,0x376),'completed']),TODO_PRIORITIES=new Set([_0x511d68(0x6c0,0x5ec,0x511,0x595),_0x475ba1(0x37c,0x238,0xff,0x2f8),_0x475ba1(0x17b,0x297,0x35d,0x1b3)]);function isTodoStatus(_0x48ffe3){const _0x163092={_0x3aa6ba:0x134,_0x1850ed:0xb0,_0x1eec32:0x12d},_0x2e180c={_0x231e7d:0x176,_0x5a2b7d:0x1f1},_0x3fcd71={_0x31b9e9:0xb3,_0x355e6e:0xbb};function _0xea8a80(_0x138ef3,_0x2b4e0a,_0x10a0f6,_0xbff18a){return _0x511d68(_0x138ef3-0xbc,_0x2b4e0a- -_0x3fcd71._0x31b9e9,_0x10a0f6-_0x3fcd71._0x355e6e,_0x138ef3);}function _0x4eb041(_0x2fd383,_0x30317c,_0x2ce332,_0x233963){return _0x511d68(_0x2fd383-_0x2e180c._0x231e7d,_0x2fd383- -0x58f,_0x2ce332-_0x2e180c._0x5a2b7d,_0x2ce332);}return typeof _0x48ffe3===_0x4eb041(0x3b,-0x8a,_0x163092._0x3aa6ba,-_0x163092._0x1850ed)&&TODO_STATUSES[_0x4eb041(0x2d,0x19a,_0x163092._0x1eec32,0xd9)](_0x48ffe3);}function isTodoPriority(_0x4be58c){const _0x5ba454={_0x13cc59:0x1b3,_0x5df089:0x135,_0x568edd:0x212},_0x560f33={_0x4da874:0x331},_0x4ce5d3={_0xee2a55:0x454,_0x57c3fa:0x31};function _0x25b707(_0xf9ce76,_0x397d30,_0x260207,_0x173785){return _0x475ba1(_0xf9ce76,_0x173785-_0x4ce5d3._0xee2a55,_0x260207-_0x4ce5d3._0x57c3fa,_0x173785-0x1e1);}function _0x168ec6(_0x3a8dc2,_0x4a155c,_0x1a7f6d,_0x19948){return _0x511d68(_0x3a8dc2-0x97,_0x3a8dc2- -_0x560f33._0x4da874,_0x1a7f6d-0x1e9,_0x1a7f6d);}return typeof _0x4be58c===_0x168ec6(0x299,0x306,_0x5ba454._0x13cc59,_0x5ba454._0x5df089)&&TODO_PRIORITIES[_0x168ec6(0x28b,0x251,0x2dc,_0x5ba454._0x568edd)](_0x4be58c);}var TodoStore=class{[_0x475ba1(0x7f,0x8,-0x10b,0x72)]=new Map();['getTodos'](_0x114ed4){const _0x162c1a={_0x76a1b1:0x1f0,_0x3dd1a5:0xce,_0x473282:0x65,_0x285ef6:0x53,_0x36c840:0x1bd},_0xc1bb5a={_0x98aac1:0xb8},_0x39a9a2={_0xba44bf:0x154,_0x46b8cc:0x11};function _0x1e257d(_0x1e01c6,_0xdbcf6b,_0x43d9a3,_0x3188ef){return _0x511d68(_0x1e01c6-_0x39a9a2._0xba44bf,_0x43d9a3- -0x523,_0x43d9a3-_0x39a9a2._0x46b8cc,_0x1e01c6);}function _0x171e4b(_0x541029,_0x379f9a,_0x553230,_0x5dfcf8){return _0x511d68(_0x541029-0xa2,_0x379f9a- -0x458,_0x553230-_0xc1bb5a._0x98aac1,_0x553230);}return this[_0x1e257d(-_0x162c1a._0x76a1b1,-0x187,-_0x162c1a._0x3dd1a5,-0x143)][_0x1e257d(-_0x162c1a._0x473282,0x69,_0x162c1a._0x285ef6,_0x162c1a._0x36c840)](_0x114ed4)??[];}[_0x511d68(0x481,0x587,0x63e,0x695)](_0x2fa0f4,_0x3eba42){const _0x1c26da={_0xd0a8ff:0x121,_0x3f1dff:0xf6,_0x51b3ff:0x1e6},_0x32450e={_0x4191b3:0xb8,_0x4fcc25:0xf2,_0x304c8c:0x1c3},_0x2b6044={_0x2e2e07:0x171};function _0x29e3cc(_0x30d636,_0x4a4d77,_0x36be18,_0x1c9ee6){return _0x475ba1(_0x1c9ee6,_0x36be18-0x124,_0x36be18-0x7f,_0x1c9ee6-_0x2b6044._0x2e2e07);}function _0x506cb4(_0x8bb190,_0xca0ebe,_0x2d0e8e,_0x3fb8df){return _0x475ba1(_0x8bb190,_0x2d0e8e- -_0x32450e._0x4191b3,_0x2d0e8e-_0x32450e._0x4fcc25,_0x3fb8df-_0x32450e._0x304c8c);}this[_0x29e3cc(_0x1c26da._0xd0a8ff,_0x1c26da._0x3f1dff,0x12c,0x3c)][_0x506cb4(0x174,0x1ce,_0x1c26da._0x51b3ff,0x338)](_0x2fa0f4,_0x3eba42);}[_0x511d68(0x6c0,0x6b7,0x762,0x6af)](_0x4cd2b4){const _0x97b17c={_0x1336bc:0x408,_0x52c231:0x64f,_0x48e06c:0x55a,_0x36eccd:0x4a0,_0x2ca2b8:0x45,_0x400fa8:0x169,_0x502896:0x25,_0xab8c1b:0x97,_0xd92232:0x35,_0x59a7de:0x82,_0x43df28:0x54a,_0x126b33:0x599,_0x5e68e4:0x5d4,_0x227187:0x45d},_0x298832={_0x593912:0x3b,_0x14bd13:0x97},_0x7cbc75={_0x122a40:0x4ee};function _0x3b2d66(_0x5eb9f5,_0x4d256f,_0x1b6a7d,_0x5c24df){return _0x511d68(_0x5eb9f5-0x111,_0x4d256f- -_0x7cbc75._0x122a40,_0x1b6a7d-0x61,_0x1b6a7d);}const _0x310d7f=this[_0x4a24fc(_0x97b17c._0x1336bc,_0x97b17c._0x52c231,0x68d,_0x97b17c._0x48e06c)](_0x4cd2b4),_0x285023={'total':_0x310d7f[_0x4a24fc(0x552,0x5c8,_0x97b17c._0x36eccd,0x477)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x198552 of _0x310d7f){if(_0x198552[_0x3b2d66(0x44,0x110,_0x97b17c._0x2ca2b8,_0x97b17c._0x400fa8)]===_0x3b2d66(-0x65,-0x47,0x92,-_0x97b17c._0x502896))_0x285023['pending']+=0x1;else{if(_0x198552[_0x3b2d66(_0x97b17c._0xab8c1b,0x110,-_0x97b17c._0xd92232,_0x97b17c._0x59a7de)]==='in_progress')_0x285023['inProgress']+=0x1;else _0x285023[_0x4a24fc(_0x97b17c._0x43df28,_0x97b17c._0x126b33,_0x97b17c._0x5e68e4,_0x97b17c._0x227187)]+=0x1;}}function _0x4a24fc(_0x493214,_0x34537a,_0x156d83,_0x420f85){return _0x511d68(_0x493214-_0x298832._0x593912,_0x420f85- -_0x298832._0x14bd13,_0x156d83-0x1f0,_0x34537a);}return _0x285023;}};function validateTodos(_0x7291d5){const _0x38d87c={_0x1e43d6:0x29a,_0x343f8f:0x322,_0x451f1b:0x3a1,_0x5627e2:0x512,_0x26f519:0x4f4,_0x4bab0d:0x5c9,_0x155e13:0x44f,_0x55ba5c:0x292,_0x293f9e:0x12b,_0x460378:0x442,_0xcb471f:0x547,_0x5c3729:0x523,_0x12e8d1:0x261,_0x317150:0x232,_0x4abde5:0x412,_0x4f869c:0x3ac,_0x438912:0x38a,_0x583b48:0x3d8,_0x4848c8:0x397,_0x492ac3:0x21d,_0x4b9a20:0x271,_0x41f379:0x237,_0x483c35:0x2d7,_0x556edd:0x614,_0x2ebb3a:0x398,_0x5df312:0x3fc,_0xe1effe:0x208,_0x16e520:0x25f,_0x384177:0x3e0,_0x3aca27:0x2d9,_0x120597:0x1f1,_0x1e022d:0x266,_0x4afd1b:0x207,_0x5ad685:0x26d,_0x317421:0x254,_0x5f5e0d:0x3ac,_0x3dd81e:0x27f,_0x583c88:0x154,_0x294f13:0x28e,_0x1a1dc4:0x387,_0x23b8dd:0x464,_0x4ea88e:0x342,_0x4ae342:0x388,_0x5ad531:0x32d,_0x43a3af:0x1e8,_0x4dd186:0x81,_0x16fb0d:0x2db,_0x4492ee:0x331,_0x9e0bb2:0x213,_0x1307c3:0x200,_0x18b75a:0x13a,_0x14f3ba:0x1ef,_0x283922:0x33e,_0x52aa80:0x3a3,_0x1f6344:0x4fb,_0x212d8b:0x377,_0x5c707e:0x264,_0x22b5b0:0x474,_0x249b11:0x5d6,_0x420a6d:0x5ff,_0x13c96c:0x4aa,_0x1977a6:0x50c,_0x10b1a1:0x23a,_0x22193f:0x46b,_0x5acf4e:0x29e,_0x23759b:0x1a2,_0x1dbb82:0x293,_0xc04af4:0x2b0},_0x3e8da5={_0x398e38:0x1b4};if(!Array[_0x59814b(_0x38d87c._0x1e43d6,0x3d4,_0x38d87c._0x343f8f,0x36b)](_0x7291d5[_0x2c764b(_0x38d87c._0x451f1b,_0x38d87c._0x5627e2,0x244,_0x38d87c._0x26f519)])||_0x7291d5[_0x59814b(0x57f,0x41a,_0x38d87c._0x4bab0d,_0x38d87c._0x155e13)][_0x2c764b(_0x38d87c._0x55ba5c,_0x38d87c._0x293f9e,0x3e4,0x36d)]===0x0)throw new ToolExecutionError(_0x2c764b(_0x38d87c._0x460378,_0x38d87c._0xcb471f,_0x38d87c._0x5c3729,0x4b0),{'error':_0x59814b(_0x38d87c._0x12e8d1,_0x38d87c._0x317150,_0x38d87c._0x4abde5,0x2a2)});function _0x2c764b(_0x393e37,_0x4715ee,_0xd2a3c9,_0x50811f){return _0x475ba1(_0x50811f,_0x393e37-0x1d1,_0xd2a3c9-_0x3e8da5._0x398e38,_0x50811f-0x9a);}function _0x59814b(_0xa8723b,_0xaa00c4,_0x5d015d,_0x1bd874){return _0x511d68(_0xa8723b-0x11a,_0x1bd874- -0x1ce,_0x5d015d-0x134,_0xa8723b);}for(let _0x4bb368=0x0;_0x4bb368<_0x7291d5['todos'][_0x2c764b(0x292,_0x38d87c._0x4f869c,0x2dc,0x3e3)];_0x4bb368+=0x1){const _0x4bed41=_0x7291d5[_0x59814b(_0x38d87c._0x438912,_0x38d87c._0x583b48,0x5bf,0x44f)][_0x4bb368];if(!_0x4bed41||typeof _0x4bed41!==_0x2c764b(_0x38d87c._0x4848c8,0x4ff,0x2d6,_0x38d87c._0x492ac3))throw new ToolExecutionError(_0x59814b(0x243,0x414,_0x38d87c._0x4b9a20,0x2a0)+(_0x4bb368+0x1)+_0x2c764b(_0x38d87c._0x41f379,0x1cc,0x1ac,_0x38d87c._0x483c35),{'error':_0x59814b(0x368,_0x38d87c._0x556edd,0x3f0,0x4c7)});if(typeof _0x4bed41['id']!==_0x59814b(0x46b,0x325,_0x38d87c._0x2ebb3a,_0x38d87c._0x5df312)||_0x4bed41['id']['trim']()[_0x2c764b(_0x38d87c._0x55ba5c,0x1c5,_0x38d87c._0xe1effe,_0x38d87c._0x16e520)]===0x0)throw new ToolExecutionError(_0x59814b(0x2f9,0x19f,_0x38d87c._0x384177,0x2a0)+(_0x4bb368+0x1)+_0x59814b(0x365,0x2ea,_0x38d87c._0x3aca27,0x32c),{'error':_0x2c764b(0x28a,_0x38d87c._0x120597,0x34d,0x3d1)});if(typeof _0x4bed41[_0x2c764b(_0x38d87c._0x1e022d,0x2f7,0x306,0x236)]!==_0x2c764b(0x34e,0x450,_0x38d87c._0x4afd1b,_0x38d87c._0x5ad685)||_0x4bed41[_0x2c764b(_0x38d87c._0x1e022d,_0x38d87c._0x317421,_0x38d87c._0x5f5e0d,0x320)][_0x59814b(0x507,_0x38d87c._0x3dd81e,0x339,0x3a5)]()['length']===0x0)throw new ToolExecutionError(_0x59814b(_0x38d87c._0x583c88,_0x38d87c._0x294f13,_0x38d87c._0x1a1dc4,0x2a0)+(_0x4bb368+0x1)+_0x2c764b(0x48a,_0x38d87c._0x23b8dd,0x599,_0x38d87c._0x4ea88e),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x4bed41['status']))throw new ToolExecutionError(_0x59814b(_0x38d87c._0x4ae342,_0x38d87c._0x5ad531,0x2b3,0x2a0)+(_0x4bb368+0x1)+':\x20invalid\x20status',{'error':_0x2c764b(_0x38d87c._0x43a3af,_0x38d87c._0x4dd186,_0x38d87c._0x16fb0d,_0x38d87c._0x4492ee)});if(!isTodoPriority(_0x4bed41[_0x2c764b(0x23b,_0x38d87c._0x9e0bb2,_0x38d87c._0x1307c3,0x2e6)]))throw new ToolExecutionError(_0x2c764b(0x1f2,_0x38d87c._0x18b75a,0x1b3,_0x38d87c._0x14f3ba)+(_0x4bb368+0x1)+_0x59814b(_0x38d87c._0x283922,_0x38d87c._0x52aa80,_0x38d87c._0x1f6344,0x43a),{'error':_0x59814b(0x2e0,0x119,_0x38d87c._0x212d8b,_0x38d87c._0x5c707e)});}const _0x5d5d30=_0x7291d5[_0x2c764b(0x3a1,0x338,_0x38d87c._0x22b5b0,0x222)][_0x2c764b(0x2d7,0x23b,0x390,0x44b)](_0x5f2672=>_0x5f2672['id']);if(new Set(_0x5d5d30)[_0x59814b(_0x38d87c._0x249b11,_0x38d87c._0x420a6d,_0x38d87c._0x13c96c,_0x38d87c._0x1977a6)]!==_0x5d5d30['length'])throw new ToolExecutionError(_0x59814b(_0x38d87c._0x10b1a1,_0x38d87c._0x22193f,_0x38d87c._0x5acf4e,0x37c),{'error':_0x2c764b(_0x38d87c._0x23759b,0x27b,_0x38d87c._0x1dbb82,_0x38d87c._0xc04af4)});}function createStatsProgress(_0x2cdb73){const _0x2b5bc0={_0x1c6bf7:0x4a0,_0x30614e:0x12a,_0x476aa4:0x19f,_0x212747:0x213},_0x518b42={_0x1a478d:0xd5},_0x4ae1a8={_0x1f6c66:0x0,_0x4a72a6:0xe1};function _0x4dd548(_0x133139,_0x183626,_0x238134,_0x59f7c2){return _0x475ba1(_0x59f7c2,_0x133139-0x3a5,_0x238134-_0x4ae1a8._0x1f6c66,_0x59f7c2-_0x4ae1a8._0x4a72a6);}function _0x13de53(_0x204f86,_0x4352a7,_0x24ae4b,_0x436fec){return _0x475ba1(_0x4352a7,_0x204f86-_0x518b42._0x1a478d,_0x24ae4b-0xc2,_0x436fec-0x1d);}return _0x2cdb73[_0x4dd548(0x3fa,_0x2b5bc0._0x1c6bf7,0x444,0x3bd)]>0x0?Math['round'](_0x2cdb73['completed']/_0x2cdb73[_0x13de53(_0x2b5bc0._0x30614e,-0x23,_0x2b5bc0._0x476aa4,_0x2b5bc0._0x212747)]*0x64)+'%':'0%';}function createReminderItems(_0x145037){const _0x3ede49={_0x583aa8:0x1a9,_0xb2769e:0xab},_0x510639={_0x3eb85b:0x1d0,_0x19bcb6:0x55e,_0x4dd6a0:0x168},_0x22cf5c={_0x1da133:0x6e,_0x3571c7:0x1c6};function _0x261c64(_0x7f0385,_0x252e82,_0x335fe3,_0x2ed51c){return _0x511d68(_0x7f0385-_0x22cf5c._0x1da133,_0x2ed51c- -0x4a8,_0x335fe3-_0x22cf5c._0x3571c7,_0x252e82);}function _0x52ba2c(_0x281a01,_0x1d5c7a,_0x1a3097,_0x294701){return _0x511d68(_0x281a01-_0x510639._0x3eb85b,_0x294701- -_0x510639._0x19bcb6,_0x1a3097-_0x510639._0x4dd6a0,_0x1a3097);}return _0x145037[_0x261c64(0xcb,_0x3ede49._0x583aa8,0x1e1,_0x3ede49._0xb2769e)](_0x2a0974=>({'content':_0x2a0974['content'],'status':_0x2a0974[_0x52ba2c(0x117,0x1aa,-0x76,0xa0)],'id':_0x2a0974['id']}));}function createStructuredResult(_0x5bdcc4,_0x1b0ac9,_0x5a10e9,_0x1d8f55){const _0x197d75={_0x1304a8:0xa9,_0x22e440:0x2f4,_0x1a3877:0x21c,_0x53bd8a:0x484},_0x390945={_0x1813ef:0xaf};function _0x1c1674(_0xd963c5,_0x2d632f,_0x51ea64,_0x5f20c4){return _0x511d68(_0xd963c5-_0x390945._0x1813ef,_0x51ea64- -0x4c,_0x51ea64-0x102,_0x2d632f);}function _0x74eb3e(_0x510012,_0xaaeb3d,_0x516d52,_0x5a60b6){return _0x475ba1(_0x5a60b6,_0x516d52-0x116,_0x516d52-0xda,_0x5a60b6-0x167);}return{'allCompleted':_0x1d8f55,'items':_0x1b0ac9[_0x74eb3e(_0x197d75._0x1304a8,_0x197d75._0x22e440,_0x197d75._0x1a3877,0x110)](_0x3381c1=>({'id':_0x3381c1['id'],'content':_0x3381c1[_0x74eb3e(0x285,0x14d,0x1ab,0x9e)],'status':_0x3381c1[_0x74eb3e(0x42e,0x25e,0x2c7,0x3d2)],'priority':_0x3381c1[_0x1c1674(0x3e3,0x3cb,0x46b,0x316)],'createdAt':_0x3381c1[_0x1c1674(0x280,0x33d,0x3c1,0x2e1)]})),'progress':createStatsProgress(_0x5a10e9),'recentChanges':!![],'sessionId':_0x5bdcc4,'stats':_0x5a10e9,'todosWritten':_0x1b0ac9[_0x1c1674(0x4da,0x48e,0x4c2,_0x197d75._0x53bd8a)]};}function createOutputText(_0x416626,_0x7dbd7){const _0x2cf482={_0x5b00f1:0x225,_0x284331:0xd7,_0x627096:0xdb,_0x23b500:0x10b,_0x794968:0x11e,_0x3e87b3:0x17,_0x41fe36:0x2e,_0x4011d8:0x124,_0x39986e:0xe2,_0x33f2fa:0x194,_0x3722d7:0x262,_0x3b0c48:0x18d},_0x3315c6={_0x5bc39a:0x193,_0x1be2a0:0x62},_0x37c4b8={_0x2ff80c:0xef,_0x1a3d17:0x10a},_0x4e96cd=JSON[_0xfcdc91(0x125,_0x2cf482._0x5b00f1,0x1b2,_0x2cf482._0x284331)](createReminderItems(_0x416626));function _0xfcdc91(_0xa94d36,_0x3570ee,_0x5841c5,_0x189a5a){return _0x475ba1(_0x5841c5,_0xa94d36- -_0x37c4b8._0x2ff80c,_0x5841c5-0x1af,_0x189a5a-_0x37c4b8._0x1a3d17);}function _0x2dcacb(_0x5e0b3d,_0x2854e6,_0x21d54a,_0x4ee724){return _0x475ba1(_0x5e0b3d,_0x21d54a- -_0x3315c6._0x5bc39a,_0x21d54a-_0x3315c6._0x1be2a0,_0x4ee724-0x1b6);}if(_0x7dbd7)return _0x2dcacb(-_0x2cf482._0x627096,-_0x2cf482._0x23b500,-_0x2cf482._0x794968,-_0x2cf482._0x3e87b3)+_0x416626[_0xfcdc91(-_0x2cf482._0x41fe36,-_0x2cf482._0x4011d8,-_0x2cf482._0x39986e,-_0x2cf482._0x33f2fa)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x4e96cd+_0x2dcacb(-0x14c,-_0x2cf482._0x3722d7,-_0x2cf482._0x3b0c48,-0x2f9);return'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a'+_0x4e96cd+_0x2dcacb(-0x1fa,-0x22b,-0x18d,-0xfb);}function createTodoWriteTool(_0x4ab18e=new TodoStore()){const _0x90b465={_0x49b310:0x67a,_0x27ddcf:0x48b,_0x400907:0x5c8,_0xecba9d:0x1dd,_0x25c61b:0x2e0,_0x15739c:0x314,_0xd85a88:0x3cb,_0x2789bb:0x639,_0x19e7d9:0x742,_0x2ac509:0x479,_0x3f3eab:0x60c,_0x275edf:0x2ad,_0x3c432d:0x360,_0x58713a:0x23e,_0x1c3191:0x5ac,_0x1adf48:0x3a,_0xddf74b:0x16f,_0x4bfe8f:0x156,_0x190f9d:0x1d7,_0x396b1e:0x2f7,_0x46fda6:0x31e},_0x5c8e2c={_0x10778d:0x161,_0x6c2a33:0x175,_0x4566d9:0x2bb,_0x4152ac:0x157,_0x479fea:0x89,_0xd8fd13:0x241,_0x4c77c6:0x3c2,_0x1ca996:0x43c,_0x1cfe32:0x113,_0x122dfd:0xfe,_0x5c5266:0x147,_0x579852:0x79,_0xb41f36:0x100,_0x52a978:0x14c,_0x2c09e0:0x2c5,_0xd55b24:0x3fe,_0x5b2c21:0x2bb},_0x20c5ac={_0x4632ad:0x70},_0x4e35ee={_0x2815f2:0x16c,_0x2ce792:0x24},_0x5579bd={_0x2209d1:0x10e,_0x5c5dc4:0x111};function _0x31f907(_0x30ba1a,_0x1ee6ed,_0x3cf5d7,_0x1d4fc9){return _0x475ba1(_0x1d4fc9,_0x3cf5d7-0x42f,_0x3cf5d7-_0x5579bd._0x2209d1,_0x1d4fc9-_0x5579bd._0x5c5dc4);}function _0x4402bc(_0x375a3f,_0x2a5fd3,_0x37cf27,_0x57d1c7){return _0x511d68(_0x375a3f-_0x4e35ee._0x2815f2,_0x57d1c7- -0x38c,_0x37cf27-_0x4e35ee._0x2ce792,_0x37cf27);}return defineTool({'name':_0x31f907(_0x90b465._0x49b310,_0x90b465._0x27ddcf,_0x90b465._0x400907,0x5c6),'description':_0x4402bc(0x1bf,_0x90b465._0xecba9d,0x1e7,0x132),'inputSchema':{'type':_0x4402bc(_0x90b465._0x25c61b,0x35a,0x283,0x287),'properties':{'todos':{'type':_0x4402bc(0x23c,_0x90b465._0x15739c,_0x90b465._0xd85a88,0x259),'items':{'type':_0x31f907(_0x90b465._0x2789bb,0x545,0x5f5,_0x90b465._0x19e7d9),'properties':{'content':{'type':_0x31f907(0x4e0,_0x90b465._0x2ac509,0x5ac,_0x90b465._0x3f3eab)},'status':{'type':_0x4402bc(_0x90b465._0x275edf,_0x90b465._0x3c432d,0x1ad,_0x90b465._0x58713a)},'priority':{'type':'string'},'id':{'type':'string'},'createdAt':{'type':_0x31f907(0x6de,0x545,_0x90b465._0x1c3191,0x44a)}},'required':[_0x4402bc(_0x90b465._0x1adf48,_0x90b465._0xddf74b,0x2cb,_0x90b465._0x4bfe8f),_0x4402bc(_0x90b465._0x190f9d,_0x90b465._0x396b1e,_0x90b465._0x46fda6,0x272),'priority','id']}}},'required':[_0x31f907(0x693,0x767,0x5ff,0x6d0)]},async *'execute'(_0x19e4c6,_0x4c9a6c){const _0x4f56c5={_0x48346a:0x10d,_0x4aedd8:0x107};function _0x46e2a7(_0x4bcee7,_0x60034e,_0xbcdd58,_0x1bb1d8){return _0x31f907(_0x4bcee7-_0x4f56c5._0x48346a,_0x60034e-_0x4f56c5._0x4aedd8,_0x4bcee7- -0x422,_0x1bb1d8);}const _0x34ed6e=_0x19e4c6;validateTodos(_0x34ed6e);const _0x1ec4eb=_0x4c9a6c[_0x2d9b8f(_0x5c8e2c._0x10778d,_0x5c8e2c._0x6c2a33,_0x5c8e2c._0x4566d9,0x31f)]||_0x46e2a7(_0x5c8e2c._0x4152ac,_0x5c8e2c._0x479fea,0x7c,0x162),_0x55c31b=new Date()[_0x46e2a7(0x266,_0x5c8e2c._0xd8fd13,0x3dc,_0x5c8e2c._0x4c77c6)](),_0x35fe6c=_0x34ed6e[_0x2d9b8f(_0x5c8e2c._0x1ca996,0x4ff,0x3c3,0x50e)][_0x46e2a7(_0x5c8e2c._0x1cfe32,0x244,_0x5c8e2c._0x122dfd,-0x3d)](_0x3a3184=>({'id':_0x3a3184['id'],'content':_0x3a3184['content'],'status':_0x3a3184[_0x46e2a7(0x1be,0x8c,0x2c6,0x1c2)],'priority':_0x3a3184[_0x46e2a7(0x77,0x13e,0x58,0x170)],'sessionId':_0x1ec4eb,'createdAt':_0x3a3184[_0x2d9b8f(0xc7,0xdc,0x1b3,0x8b)]||_0x55c31b,'updatedAt':_0x55c31b}));_0x4ab18e[_0x46e2a7(_0x5c8e2c._0x5c5266,_0x5c8e2c._0x579852,_0x5c8e2c._0xb41f36,0x135)](_0x1ec4eb,_0x35fe6c);function _0x2d9b8f(_0x273e6f,_0x1824f8,_0x1feeab,_0x2a5b60){return _0x4402bc(_0x273e6f-_0x20c5ac._0x4632ad,_0x1824f8-0x14e,_0x273e6f,_0x1feeab-0x132);}const _0x3becf6=_0x4ab18e[_0x46e2a7(0x277,0x318,0x3c7,0x3dd)](_0x1ec4eb),_0xac894c=_0x35fe6c[_0x2d9b8f(_0x5c8e2c._0x52a978,0x149,0x2b4,_0x5c8e2c._0x2c09e0)]>0x0&&_0x35fe6c[_0x2d9b8f(0x31a,0x3a4,_0x5c8e2c._0xd55b24,_0x5c8e2c._0x5b2c21)](_0x37c48c=>_0x37c48c[_0x46e2a7(0x1be,0x32c,0x2ed,0x82)]==='completed');return createToolOutput(createOutputText(_0x35fe6c,_0xac894c),createStructuredResult(_0x1ec4eb,_0x35fe6c,_0x3becf6,_0xac894c));}});}import{mkdir as _0x1121be,writeFile as _0x5dd3d3}from'fs/promises';import*as _0x44b94d from'path';function sanitizeFileName(_0x1dd172){const _0x166c9a={_0x169692:0x30a,_0x3f36d1:0x2d0,_0x4ac691:0x16a},_0x1e4957={_0x50808b:0x36,_0x88e675:0x122};function _0x4562fb(_0x4ab316,_0x1c464a,_0x193a16,_0x153fcb){return _0x511d68(_0x4ab316-_0x1e4957._0x50808b,_0x1c464a- -0x16e,_0x193a16-_0x1e4957._0x88e675,_0x153fcb);}return _0x1dd172[_0x4562fb(_0x166c9a._0x169692,_0x166c9a._0x3f36d1,0x323,_0x166c9a._0x4ac691)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x974b6a,_0x1f757e){const _0x260878={_0x110ecf:0x40f,_0x11b1b5:0x5a2,_0x485517:0x349,_0x301f36:0x446,_0x2b8c04:0x48b,_0x3b37db:0x56b,_0xa34b5f:0x40e,_0x48326a:0x2eb,_0x691e3e:0x108,_0x5b40d6:0x2b8,_0xa34d7c:0x24a,_0x5d6482:0x43d,_0x318b33:0x606,_0x3e7009:0x5fe,_0xa4cae2:0x135,_0x2038e6:0x25f,_0x57901d:0x3a,_0x511b4a:0x183,_0x5418d5:0x1cf,_0x264bb8:0x29e,_0x1c4eb2:0x517,_0x5e6e79:0x4f8,_0x23551a:0x39a,_0x3b4371:0x263,_0x4e3e74:0x37b,_0x385920:0x540,_0x105b43:0x2f2,_0x4a944d:0x2be,_0x103bfb:0x13c,_0x6059d0:0x38a,_0x574ded:0x13b,_0x18a56b:0x3a0,_0x2a0381:0x4aa,_0x19b77c:0x39,_0x33819c:0x135,_0x562833:0x3f,_0x1d2249:0x4ac,_0x46bdfd:0x3f4,_0x51c831:0x1f4,_0x3076bf:0xc7,_0xa1bf3b:0x33c,_0x48a375:0x4b,_0x453414:0x7c,_0x21bf49:0xe7,_0x2f7c99:0xf9,_0x864b0c:0x11d,_0x1ed875:0x4db,_0x419b70:0x298,_0x1f77a3:0x3ee,_0x41b979:0x274,_0x3ae691:0x26e,_0x2ee83c:0x729,_0x5297cc:0x5fe,_0x1be31b:0x219,_0x56698a:0x1ba,_0x435628:0x165,_0x5f296e:0x6a7},_0x1064e6={_0x55c06f:0x12c,_0x55d300:0x45b},_0xe6a7a4={_0x1d8796:0x1};function _0x3a6806(_0x14c4d6,_0x2ee58f,_0x46de39,_0x1d3c5b){return _0x511d68(_0x14c4d6-_0xe6a7a4._0x1d8796,_0x2ee58f- -0xbc,_0x46de39-0x1cc,_0x14c4d6);}const {maxBytes:_0x2521c1,sessionDir:_0x634d37}=_0x1f757e;if(!_0x974b6a[_0x3a6806(_0x260878._0x110ecf,0x446,0x342,_0x260878._0x11b1b5)]||Buffer['byteLength'](_0x974b6a[_0x3a6806(_0x260878._0x485517,_0x260878._0x301f36,_0x260878._0x2b8c04,_0x260878._0x3b37db)],_0x20746c(0x7b,0x7a,0xd5,0x1d3))<=_0x2521c1)return _0x974b6a;const _0x2ca57a=Buffer[_0x3a6806(_0x260878._0xa34b5f,0x4c5,0x3dd,0x442)](_0x974b6a['output'],'utf8');if(!_0x634d37){const _0x39c8f4=_0x974b6a[_0x3a6806(0x5ba,0x446,_0x260878._0x48326a,0x2df)][_0x3a6806(0x342,0x3de,0x414,0x3d3)](0x0,_0x2521c1);return{..._0x974b6a,'output':_0x39c8f4+(_0x20746c(0x2a2,_0x260878._0x691e3e,_0x260878._0x5b40d6,_0x260878._0xa34d7c)+_0x2521c1+'\x20bytes\x20(original:\x20'+_0x2ca57a+_0x3a6806(0x423,_0x260878._0x5d6482,0x332,0x4ce)),'meta':{..._0x974b6a[_0x3a6806(_0x260878._0x318b33,_0x260878._0x3e7009,0x584,0x711)],'truncated':!![],'originalBytes':_0x2ca57a,'transforms':[..._0x974b6a[_0x20746c(0x356,_0x260878._0xa4cae2,0x364,_0x260878._0x2038e6)][_0x20746c(_0x260878._0x57901d,0x82,0x221,0x165)],_0x20746c(_0x260878._0x511b4a,_0x260878._0x5418d5,0x16b,_0x260878._0x264bb8)]}};}const _0x236a09=_0x974b6a[_0x3a6806(0x407,_0x260878._0x1c4eb2,_0x260878._0x5e6e79,0x50c)]+'_'+sanitizeFileName(_0x974b6a[_0x3a6806(0x319,_0x260878._0x23551a,_0x260878._0x3b4371,_0x260878._0x4e3e74)])+_0x3a6806(_0x260878._0x385920,0x407,_0x260878._0x105b43,_0x260878._0x4a944d),_0x2d73ac=_0x44b94d[_0x20746c(_0x260878._0x103bfb,_0x260878._0x6059d0,_0x260878._0x574ded,0x29b)](_0x634d37,_0x236a09);await _0x1121be(_0x634d37,{'recursive':!![]});function _0x20746c(_0x5e0877,_0x236d49,_0x4b5b1d,_0xfa71b8){return _0x511d68(_0x5e0877-_0x1064e6._0x55c06f,_0xfa71b8- -_0x1064e6._0x55d300,_0x4b5b1d-0xea,_0x4b5b1d);}await _0x5dd3d3(_0x2d73ac,_0x974b6a[_0x3a6806(0x308,0x446,_0x260878._0x18a56b,_0x260878._0x2a0381)],'utf8');let _0x2d6b21=_0x974b6a['output'][_0x20746c(_0x260878._0x19b77c,-0x54,-_0x260878._0x33819c,_0x260878._0x562833)](0x0,_0x2521c1);const _0x2d942e=_0x2d6b21[_0x3a6806(0x377,_0x260878._0x1d2249,_0x260878._0x46bdfd,0x4f0)]('\x0a');_0x2d942e>_0x2521c1*0.5&&(_0x2d6b21=_0x2d6b21['slice'](0x0,_0x2d942e));const _0x4d8388=['',_0x20746c(_0x260878._0x51c831,_0x260878._0x3076bf,_0x260878._0xa1bf3b,0x1f8),_0x20746c(_0x260878._0x48a375,-_0x260878._0x453414,_0x260878._0x21bf49,-0x12)+_0x2521c1+_0x20746c(0x25e,_0x260878._0x2f7c99,0x189,_0x260878._0x864b0c)+_0x2ca57a+'\x20bytes).',_0x3a6806(_0x260878._0x1ed875,0x3a6,0x48e,_0x260878._0x419b70)+_0x2d73ac,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x20746c(_0x260878._0x1f77a3,_0x260878._0x41b979,0x324,_0x260878._0x3ae691)]['join']('\x0a');return{..._0x974b6a,'output':_0x2d6b21+_0x4d8388,'meta':{..._0x974b6a[_0x3a6806(_0x260878._0x2ee83c,_0x260878._0x5297cc,0x49d,0x6fe)],'truncated':!![],'originalBytes':_0x2ca57a,'transforms':[..._0x974b6a['meta'][_0x20746c(_0x260878._0x1be31b,_0x260878._0x56698a,0x23b,_0x260878._0x435628)],_0x3a6806(0x5f6,0x63d,0x679,_0x260878._0x5f296e)]}};}function createUpdateTopicTool(){const _0x528720={_0x592f10:0x11,_0x2e434c:0x6b,_0x364d6b:0x164,_0x5a192d:0x219,_0x3523f5:0x1f6,_0x220b20:0x2dd,_0x2d93cf:0x3bb,_0x686e8e:0x570,_0x5069a7:0x31e,_0x37cc54:0x1ae,_0x576d0d:0x195,_0x4cfeac:0x4c0,_0x4f0e23:0x3cd,_0x44a171:0x443},_0x47d556={_0x58870f:0x635,_0x50275d:0x57e,_0x2464e7:0x741,_0x20ca31:0x607,_0x307e86:0x82,_0x1de918:0x26c,_0x64d0df:0x625,_0x25d8ae:0x4d2,_0x3a96fb:0x626,_0x990aea:0x122,_0x76c163:0xdd,_0x26e0cc:0x173,_0x1da339:0x4b},_0x326935={_0x18f41e:0x2e,_0xf861c8:0x118},_0x31b55a={_0x366272:0x46},_0x58055b={_0x476277:0x4f,_0x4af21f:0x72,_0x3e4788:0x61};function _0x3312ef(_0x592f41,_0xd839a7,_0x40fe3e,_0x2951c0){return _0x475ba1(_0x40fe3e,_0x2951c0- -_0x58055b._0x476277,_0x40fe3e-_0x58055b._0x4af21f,_0x2951c0-_0x58055b._0x3e4788);}function _0x57a0a6(_0x554fde,_0x48b0bd,_0x272c95,_0x8f964f){return _0x475ba1(_0x554fde,_0x8f964f-0x2b8,_0x272c95-0x1a9,_0x8f964f-_0x31b55a._0x366272);}return defineTool({'name':_0x3312ef(-_0x528720._0x592f10,_0x528720._0x2e434c,-_0x528720._0x364d6b,-0x2a),'description':_0x57a0a6(_0x528720._0x5a192d,_0x528720._0x3523f5,_0x528720._0x220b20,0x30e),'inputSchema':{'type':_0x57a0a6(_0x528720._0x2d93cf,_0x528720._0x686e8e,_0x528720._0x5069a7,0x47e),'properties':{'topic':{'type':_0x3312ef(0x6b,_0x528720._0x37cc54,_0x528720._0x576d0d,0x12e)}},'required':[_0x57a0a6(_0x528720._0x4cfeac,0x5b7,_0x528720._0x4f0e23,_0x528720._0x44a171)]},async *'execute'(_0x2f5c7f,_0x143c94){const _0x2ce6aa={_0x462305:0x55e};function _0x53bcfd(_0x45c976,_0x3425a9,_0x5daf25,_0x1b347e){return _0x3312ef(_0x45c976-0x1cd,_0x3425a9-0x189,_0x1b347e,_0x45c976-_0x2ce6aa._0x462305);}const {topic:_0x113948}=_0x2f5c7f;if(typeof _0x113948!==_0x2c5471(0x2ef,0x236,0x246,0x1c0)||_0x113948[_0x53bcfd(_0x47d556._0x58870f,_0x47d556._0x50275d,_0x47d556._0x2464e7,_0x47d556._0x20ca31)]()[_0x2c5471(_0x47d556._0x307e86,0x260,0x18a,_0x47d556._0x1de918)]===0x0)throw new ToolExecutionError(_0x53bcfd(_0x47d556._0x64d0df,0x533,_0x47d556._0x25d8ae,0x62f),{'error':'invalid_topic'});const _0x10c3c4=_0x113948['trim']();function _0x2c5471(_0x3cd9cf,_0x3e5f6f,_0x13a9ce,_0x529fb1){return _0x3312ef(_0x3cd9cf-_0x326935._0x18f41e,_0x3e5f6f-0x55,_0x3cd9cf,_0x13a9ce-_0x326935._0xf861c8);}return _0x143c94[_0x53bcfd(_0x47d556._0x3a96fb,0x713,0x4d6,0x720)]?.(_0x10c3c4),yield createToolOutput(_0x2c5471(_0x47d556._0x990aea,_0x47d556._0x76c163,_0x47d556._0x26e0cc,_0x47d556._0x1da339)+_0x10c3c4+'\x22',{'topic':_0x10c3c4}),void 0x0;}});}import{readFile as _0x114984,stat as _0x1be9c6}from'fs/promises';import*as _0x35de26 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0x475ba1(0xa5,0x19f,0x1bb,0x1e2),_0x511d68(0x80d,0x6e4,0x80e,0x833),_0x475ba1(0x2,0x4a,-0x4f,0x74)]),PNG_SIGNATURE=Buffer[_0x475ba1(0x2d7,0x210,0x9e,0xbd)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x2ff3ab,_0x8d6093){const _0x2fb211={_0x5d4714:0x28e,_0x536e22:0x517,_0x4c7d35:0x720,_0x4018e3:0x626,_0xbcd5ba:0x2e2,_0x11e2e3:0x2dd,_0x40e59a:0x1fa,_0x4b88e5:0x1cf,_0x5c257:0x1ef,_0x3d94c6:0x2ae,_0x5e8715:0x476,_0x32f491:0x58a,_0x531d38:0x550,_0x3c103e:0x3fa,_0x1c8ba7:0x1f5,_0x5d50a7:0x2f4,_0x3ac8c2:0x654,_0x23c5bd:0x550,_0x5abd1b:0x1af,_0x2e6a54:0x1cf,_0x2ad567:0x2d9,_0x5d4252:0x3f1,_0x45389e:0x508,_0xa7d285:0x553,_0x19d46a:0x381,_0x52c942:0x223,_0x4ca0f6:0x39b,_0x5a382a:0x24c,_0x3750ee:0x2e1,_0x1ea41:0x45c,_0x318f72:0x465,_0x149584:0x4b6,_0x4d735f:0x5ff,_0x480819:0x4fc,_0x1bc0c4:0x401,_0x446406:0x345,_0x24b32e:0x595},_0x640802={_0x276fdf:0x404,_0x3a6e0c:0x11a};if(_0x2ff3ab['subarray'](0x0,0x8)[_0x256fac(0xb0,0x161,0x19f,_0x2fb211._0x5d4714)](PNG_SIGNATURE))return _0x451ede(_0x2fb211._0x536e22,0x6a9,_0x2fb211._0x4c7d35,_0x2fb211._0x4018e3);if(_0x2ff3ab[0x0]===0xff&&_0x2ff3ab[0x1]===0xd8&&_0x2ff3ab[0x2]===0xff)return _0x256fac(_0x2fb211._0xbcd5ba,0x162,0x1bd,0x2df);const _0x3d458c=_0x2ff3ab[_0x451ede(0x4a6,0x43b,0x3ae,0x41d)](0x0,0x6)[_0x256fac(0x2d6,_0x2fb211._0x11e2e3,0x314,0x433)](_0x256fac(_0x2fb211._0x40e59a,0x13a,_0x2fb211._0x4b88e5,0x188));if(_0x3d458c==='GIF87a'||_0x3d458c===_0x256fac(_0x2fb211._0x5c257,0x2d2,0x2a6,_0x2fb211._0x3d94c6))return _0x256fac(0x31b,0x462,_0x2fb211._0x5e8715,0x4a7);function _0x451ede(_0x5cf38a,_0x209787,_0x43c338,_0x325539){return _0x475ba1(_0x5cf38a,_0x325539-_0x640802._0x276fdf,_0x43c338-0x4f,_0x325539-_0x640802._0x3a6e0c);}if(_0x2ff3ab['subarray'](0x0,0x4)[_0x451ede(0x536,_0x2fb211._0x32f491,0x5db,_0x2fb211._0x531d38)](_0x451ede(_0x2fb211._0x3c103e,0x43e,0x313,0x40b))===_0x256fac(0x31c,_0x2fb211._0x1c8ba7,_0x2fb211._0x5d50a7,0x363)&&_0x2ff3ab['subarray'](0x8,0xc)[_0x451ede(0x68a,0x520,_0x2fb211._0x3ac8c2,_0x2fb211._0x23c5bd)](_0x256fac(_0x2fb211._0x5abd1b,0x122,_0x2fb211._0x2e6a54,_0x2fb211._0x2ad567))===_0x256fac(_0x2fb211._0x5d4252,0x1a8,0x324,0x2ae))return _0x451ede(0x5d2,0x418,_0x2fb211._0x45389e,_0x2fb211._0xa7d285);const _0x15330e=_0x35de26[_0x256fac(_0x2fb211._0x19d46a,_0x2fb211._0x52c942,_0x2fb211._0x4ca0f6,_0x2fb211._0x5a382a)](_0x8d6093)['toLowerCase']();if(_0x15330e===_0x256fac(0x43a,_0x2fb211._0x3750ee,_0x2fb211._0x1ea41,0x3d1))return _0x256fac(0x4f6,0x3c8,0x3ea,_0x2fb211._0x318f72);if(_0x15330e===_0x451ede(_0x2fb211._0x149584,0x534,_0x2fb211._0x4d735f,0x500)||_0x15330e===_0x451ede(_0x2fb211._0x480819,0x482,_0x2fb211._0x1bc0c4,0x467))return _0x451ede(0x43f,0x533,0x4f7,0x3f9);if(_0x15330e==='.gif')return _0x256fac(_0x2fb211._0x446406,_0x2fb211._0x24b32e,0x476,0x5d9);if(_0x15330e==='.webp')return'image/webp';function _0x256fac(_0x2c4ea5,_0x3498a6,_0x1519a9,_0x685e35){return _0x511d68(_0x2c4ea5-0xcd,_0x1519a9- -0x285,_0x1519a9-0xe3,_0x3498a6);}return void 0x0;}function normalizeDetail(_0x85a0f7){const _0x20c42a={_0xf129c7:0x360,_0x5ccf52:0x13f,_0xcdfe47:0x13b,_0x3cf59f:0x16c,_0x501889:0x274,_0x404ef5:0x36d,_0x53eeec:0x198,_0x56ee10:0x273,_0x173da1:0x2f5},_0x232166={_0x3bf614:0x5e},_0x3820cf={_0x43f78a:0x105};if(_0x85a0f7===void 0x0)return void 0x0;const _0x1d54ba=_0x85a0f7[_0x3c3ed5(_0x20c42a._0xf129c7,_0x20c42a._0x5ccf52,0x22b,0x213)]()['toLowerCase']();if(!SUPPORTED_DETAILS[_0x3c3ed5(_0x20c42a._0xcdfe47,_0x20c42a._0x3cf59f,_0x20c42a._0x501889,_0x20c42a._0x404ef5)](_0x1d54ba))throw new ToolExecutionError(_0x3c3ed5(0x1e5,_0x20c42a._0x53eeec,_0x20c42a._0x56ee10,_0x20c42a._0x173da1)+_0x85a0f7,{'detail':_0x85a0f7});function _0x3c3ed5(_0xfd69c0,_0x10aa5c,_0x31efec,_0x13f71d){return _0x475ba1(_0x13f71d,_0x31efec-_0x3820cf._0x43f78a,_0x31efec-0x95,_0x13f71d-0x4f);}function _0x4d973d(_0x1b1629,_0x5d6493,_0x5a0238,_0x49a21d){return _0x475ba1(_0x5d6493,_0x5a0238- -0x19b,_0x5a0238-_0x232166._0x3bf614,_0x49a21d-0xc7);}return _0x1d54ba;}function createViewFileTool(_0x5b5ac3={}){const _0x33fcd9={_0x15e434:0x1e8,_0x23006a:0x85,_0x6c4c10:0x104,_0x105187:0x4f5,_0x26deac:0x388,_0x17360c:0x25e,_0x410b7c:0x289,_0x42290d:0x283,_0x3a09b5:0x29f,_0x46ab4c:0x2fd,_0xe7425c:0x45e,_0x4e2313:0x184},_0x57a580={_0x5249fe:0x576,_0x2e5fae:0x4b6,_0x506d2e:0x419,_0x455492:0x2fd,_0x582486:0x41d,_0x40f912:0x4bb,_0x3f2a9d:0x407,_0x629e67:0x538,_0x3b1467:0x682,_0x27ad34:0x359,_0x1dc571:0x576,_0x360652:0x6dc,_0xb45cfe:0x45f,_0x2b9d23:0x31a,_0x395db7:0x4a4,_0x447a0d:0x3ad,_0x25748f:0x2d6,_0x3bbe59:0x435,_0x4b9549:0x2b0,_0x43907c:0x356,_0x478d96:0x285,_0x5819bf:0x4e0,_0x1c0cfd:0x44a,_0x62518e:0x4a7,_0x5dfba6:0x4ef,_0x125925:0x56a,_0x2bb3c7:0x322,_0x3edd1f:0x537,_0x4702e8:0x323,_0x1ff6cd:0x3e3,_0x54d470:0x444,_0x4de05b:0x2f8,_0x9e3576:0x351,_0x282114:0x3f6,_0x45dc98:0x306,_0x3d6a9f:0x1b6,_0xa8248:0x38a,_0x5e6184:0x47c,_0x845110:0x1af,_0x261793:0x47b,_0x1779f5:0x302,_0x1a1408:0x5bb,_0x4625df:0x64e,_0xbd76b1:0x508,_0xc4cda6:0x49c,_0x32f6db:0x56f,_0x2b5c54:0x42d,_0xdf21e6:0x398,_0x4a7981:0x4c8,_0x5d0237:0x57e,_0x3065b9:0x673,_0x371c53:0x49b,_0x5f250b:0xa0,_0x5d2c22:0x2fc,_0x294df0:0x168,_0x3495ab:0x2d1,_0x12b432:0x44a,_0x4d8a57:0x443,_0xcb1cb3:0x6f2,_0x21dbe1:0x4f9},_0x5b7869={_0x582e39:0x1b},_0x2b55c5={_0x55fce6:0x19b},_0x5ccba8={_0x2a85fe:0xf2};function _0x52178c(_0x46f01e,_0xfac6cb,_0x41374f,_0x2ffc6e){return _0x511d68(_0x46f01e-0x1c3,_0x46f01e- -0x28f,_0x41374f-_0x5ccba8._0x2a85fe,_0xfac6cb);}const _0x1ae245=_0x35de26[_0x12b2d1(0x100,_0x33fcd9._0x15e434,0x16d,0x5e)](_0x5b5ac3[_0x12b2d1(0xf0,-_0x33fcd9._0x23006a,0x1df,_0x33fcd9._0x6c4c10)]??process[_0x52178c(0x3fb,0x29d,_0x33fcd9._0x105187,_0x33fcd9._0x26deac)]()),_0x5e64fb=_0x5b5ac3[_0x12b2d1(_0x33fcd9._0x17360c,_0x33fcd9._0x410b7c,0x2f4,0x320)]??[];function _0x12b2d1(_0x45ec29,_0x458ebc,_0xf8fa34,_0x225cb6){return _0x475ba1(_0xf8fa34,_0x45ec29-0x137,_0xf8fa34-0x1a,_0x225cb6-_0x2b55c5._0x55fce6);}const _0x2565e3=_0x5b5ac3['maxBytes']??DEFAULT_MAX_BYTES,_0x7c1c73=_0x5b5ac3['name']??_0x12b2d1(0x3f6,0x420,_0x33fcd9._0x42290d,0x45d);return defineTool({'name':_0x7c1c73,'description':_0x12b2d1(_0x33fcd9._0x3a09b5,0x37f,0x3bc,0x405),'inputSchema':{'type':_0x12b2d1(_0x33fcd9._0x46ab4c,_0x33fcd9._0xe7425c,_0x33fcd9._0x4e2313,0x1bc),'properties':{'path':{'type':_0x12b2d1(0x2b4,0x1c6,0x2ab,0x402)},'detail':{'type':_0x52178c(0x33b,_0x33fcd9._0xe7425c,0x49d,0x303)}},'required':['path']},async *'execute'(_0x43ebd9){const _0x518630={_0x20f8d8:0x6c},_0x39c3a3=resolveAllowedPath(_0x1ae245,_0x5e64fb,_0x43ebd9[_0x105da7(_0x57a580._0x5249fe,0x4ba,_0x57a580._0x2e5fae,0x60f)]);await assertWorkspaceFile(_0x39c3a3);const _0xa461fd=await _0x1be9c6(_0x39c3a3);if(_0xa461fd['size']>_0x2565e3)throw new ToolExecutionError(_0x47b492(0x2ed,0x234,_0x57a580._0x506d2e,0x370)+_0x43ebd9[_0x47b492(_0x57a580._0x455492,_0x57a580._0x582486,_0x57a580._0x40f912,_0x57a580._0x3f2a9d)],{'path':_0x43ebd9[_0x105da7(_0x57a580._0x5249fe,_0x57a580._0x629e67,_0x57a580._0x3b1467,0x488)],'maxBytes':_0x2565e3,'size':_0xa461fd['size']});const _0x36872b=await _0x114984(_0x39c3a3),_0x5aaa6f=detectImageMediaType(_0x36872b,_0x39c3a3);function _0x105da7(_0xaf6572,_0x4e00d3,_0x397ffd,_0x3431d0){return _0x52178c(_0xaf6572-0x167,_0x3431d0,_0x397ffd-0x3f,_0x3431d0-_0x518630._0x20f8d8);}if(!_0x5aaa6f)throw new ToolExecutionError(_0x105da7(0x2e4,0x2ad,_0x57a580._0x27ad34,0x1ba)+_0x43ebd9['path'],{'path':_0x43ebd9[_0x105da7(_0x57a580._0x1dc571,_0x57a580._0x360652,0x4a5,_0x57a580._0xb45cfe)],'supported':[_0x47b492(0x39f,0x1c5,0x23c,_0x57a580._0x2b9d23),_0x105da7(0x388,_0x57a580._0x395db7,0x401,_0x57a580._0x447a0d),_0x47b492(_0x57a580._0x25748f,0x160,_0x57a580._0x3bbe59,0x2b2),_0x105da7(0x5b9,0x48c,0x577,0x474),'.webp']});const _0x534f3b=normalizeDetail(_0x43ebd9[_0x105da7(0x384,_0x57a580._0x4b9549,0x233,_0x57a580._0x25748f)]),_0x2a0465=[_0x47b492(_0x57a580._0x43907c,_0x57a580._0x478d96,0x267,0x1fc)+_0x43ebd9[_0x105da7(0x576,_0x57a580._0x5819bf,_0x57a580._0x1c0cfd,_0x57a580._0x62518e)],_0x105da7(0x5ca,_0x57a580._0x5dfba6,_0x57a580._0x125925,0x600)+_0x5aaa6f,_0x47b492(0x54a,0x367,0x462,0x3ed)+_0xa461fd[_0x47b492(_0x57a580._0x2bb3c7,0x31d,_0x57a580._0x3edd1f,0x443)]+'\x20bytes'][_0x47b492(_0x57a580._0x4702e8,0x21b,0x332,0x256)](_0x534f3b?[_0x105da7(0x3e4,_0x57a580._0x1ff6cd,_0x57a580._0x54d470,_0x57a580._0x4de05b)+_0x534f3b]:[])[_0x47b492(_0x57a580._0x9e3576,0x395,0x410,0x45f)]('\x0a');function _0x47b492(_0x332979,_0x503003,_0x25f0cd,_0x2dab5e){return _0x52178c(_0x2dab5e- -0x8,_0x332979,_0x25f0cd-_0x5b7869._0x582e39,_0x2dab5e-0xf6);}const _0x36101f=[{'type':_0x47b492(_0x57a580._0x282114,_0x57a580._0x45dc98,_0x57a580._0x3d6a9f,0x2a9),'source':{'type':_0x47b492(_0x57a580._0xa8248,0x3bb,0x37d,0x44c),'media_type':_0x5aaa6f,'data':_0x36872b[_0x47b492(_0x57a580._0x5e6184,_0x57a580._0x845110,_0x57a580._0x261793,_0x57a580._0x1779f5)](_0x105da7(_0x57a580._0x1a1408,_0x57a580._0x4625df,_0x57a580._0xbd76b1,0x51a))}},{'type':_0x105da7(0x48a,_0x57a580._0xc4cda6,0x4d7,_0x57a580._0x32f6db),'text':_0x2a0465}];return yield createToolOutput(_0x2a0465,{'path':_0x43ebd9[_0x47b492(0x53f,_0x57a580._0x2b5c54,_0x57a580._0xdf21e6,0x407)],'resolvedPath':_0x39c3a3,'created':_0xa461fd[_0x105da7(0x54f,0x46b,_0x57a580._0x4a7981,0x59c)][_0x105da7(_0x57a580._0x5d0237,_0x57a580._0x3065b9,_0x57a580._0x371c53,0x66d)](),'modified':_0xa461fd[_0x47b492(_0x57a580._0x5f250b,_0x57a580._0x5d2c22,_0x57a580._0x294df0,0x1ae)][_0x47b492(0x510,_0x57a580._0x3495ab,0x53d,0x40f)](),'size':_0xa461fd[_0x47b492(0x509,_0x57a580._0x12b432,0x599,_0x57a580._0x4d8a57)],'mimeType':_0x5aaa6f,'encoding':_0x105da7(0x5bb,_0x57a580._0xcb1cb3,0x5a9,_0x57a580._0x21dbe1),..._0x534f3b?{'detail':_0x534f3b}:{}},_0x36101f),void 0x0;}});}import _0x4327c5 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x5a3668=>{const _0x1df9c5={_0x175758:0x3ef,_0x49157d:0x3b4},{lookup:_0x722564}=await import(_0x27e53c(_0x1df9c5._0x175758,0x22f,_0x1df9c5._0x49157d,0x2cd));function _0x27e53c(_0xbf3074,_0x3e8f1c,_0x5b922a,_0x1d7d5c){return _0x475ba1(_0xbf3074,_0x5b922a-0x2bf,_0x5b922a-0x12d,_0x1d7d5c-0x59);}return _0x722564(_0x5a3668,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x1a2381){const _0x4a0838={_0x1e4539:0x351,_0x6b8ced:0xb2,_0x2dc213:0x3ee,_0x47e616:0x3ae,_0x2e70f4:0x34e,_0x34d898:0x288},_0x30cf8c={_0xf90840:0xfe,_0x185206:0xd5},_0x48fe7a={_0x3e52cc:0x1a9,_0x2dd933:0x169},_0x1a888e=_0x1a2381[_0x2292af(0x3e1,0x4ba,0x3e0,_0x4a0838._0x1e4539)]('.');if(_0x1a888e[_0x559880(0x46,0x1bf,_0x4a0838._0x6b8ced,0x290)]!==0x4)return null;function _0x2292af(_0x2f927f,_0x4b9fe2,_0x2011c9,_0x38a3da){return _0x475ba1(_0x2f927f,_0x4b9fe2-0x285,_0x2011c9-_0x48fe7a._0x3e52cc,_0x38a3da-_0x48fe7a._0x2dd933);}function _0x559880(_0x1b5af7,_0x286598,_0xb2f672,_0x478dea){return _0x475ba1(_0x1b5af7,_0x286598-_0x30cf8c._0xf90840,_0xb2f672-_0x30cf8c._0x185206,_0x478dea-0x56);}let _0x519d3e=0x0;for(const _0x2b146c of _0x1a888e){if(!/^\d{1,3}$/[_0x559880(_0x4a0838._0x2dc213,_0x4a0838._0x47e616,_0x4a0838._0x2e70f4,_0x4a0838._0x34d898)](_0x2b146c))return null;const _0x5503a9=Number(_0x2b146c);if(_0x5503a9>0xff)return null;_0x519d3e=_0x519d3e*0x100+_0x5503a9;}return _0x519d3e>>>0x0;}function isBlockedIpv4(_0x3d9993){const _0x3be628={_0x1def54:0x2ce,_0x4a55d7:0x3ce,_0x36b730:0x60,_0x385c95:0x1,_0x2db390:0x23e,_0x57301a:0x6f,_0x40bf46:0x3a1,_0xe9c5f6:0x27a,_0x4e5b08:0x141,_0x110a80:0x381,_0x41c938:0x304,_0x28a970:0x299,_0x6f1098:0x34d},_0x4f9e6f={_0x15cb46:0x573,_0x1e5ac2:0x16e},_0x29209e={_0x208f49:0x5e,_0x29ba34:0x2ce,_0x59fb83:0x141},_0x4e48ec=ipv4ToInt(_0x3d9993);function _0x366516(_0x186869,_0x29e577,_0xb6f479,_0x25c042){return _0x511d68(_0x186869-_0x29209e._0x208f49,_0x29e577- -_0x29209e._0x29ba34,_0xb6f479-_0x29209e._0x59fb83,_0xb6f479);}if(_0x4e48ec===null)return!![];function _0x2be8ff(_0x2d3db4,_0x456e94,_0x1ac259,_0x5d35ae){return _0x511d68(_0x2d3db4-0x65,_0x1ac259- -_0x4f9e6f._0x15cb46,_0x1ac259-_0x4f9e6f._0x1e5ac2,_0x2d3db4);}const _0x268802=(_0x915ca4,_0x2ec056)=>{const _0xbfe12a=ipv4ToInt(_0x915ca4);if(_0xbfe12a===null)return![];const _0x201f50=_0x2ec056===0x0?0x0:0xffffffff<<0x20-_0x2ec056>>>0x0;return(_0x4e48ec&_0x201f50)===(_0xbfe12a&_0x201f50);};return _0x268802('0.0.0.0',0x8)||_0x268802(_0x366516(_0x3be628._0x1def54,0x402,0x533,_0x3be628._0x4a55d7),0x8)||_0x268802(_0x2be8ff(0x125,_0x3be628._0x36b730,-_0x3be628._0x385c95,-0x176),0xa)||_0x268802(_0x2be8ff(0x28b,_0x3be628._0x2db390,0x17c,0x19),0x8)||_0x268802(_0x2be8ff(0x7e,0x4b,_0x3be628._0x57301a,-0x51),0x10)||_0x268802('172.16.0.0',0xc)||_0x268802(_0x366516(_0x3be628._0x40bf46,_0x3be628._0xe9c5f6,_0x3be628._0x4e5b08,_0x3be628._0x110a80),0x18)||_0x268802('192.168.0.0',0x10)||_0x268802(_0x366516(0xc2,0x203,0xb2,_0x3be628._0x41c938),0xf)||_0x268802(_0x366516(0x3e1,_0x3be628._0x28a970,0x144,_0x3be628._0x6f1098),0x4)||_0x268802('240.0.0.0',0x4);}function expandIpv6(_0x9b8cd){const _0x3c11c8={_0x33b58e:0x31f,_0x4f0620:0x3ff,_0x9d6243:0x40f,_0x445e0f:0x247,_0x468d0f:0x24a,_0x2e5198:0x507,_0x3bc444:0x641,_0x94067:0x3e3,_0x51ae18:0x2a4,_0x5a99a0:0x4fa,_0x3bb1d1:0x38d,_0x225caa:0x29c,_0x2639f4:0x23a,_0x3a0bde:0x384,_0x48873b:0x2f4,_0x1ffa52:0x393,_0x16047f:0x404,_0x111e0d:0x2c5,_0x1baf49:0x4a1,_0x3fbad4:0x47d,_0x306702:0x2c3,_0x267a7d:0x38d,_0x1b6354:0x3d3},_0x3ce0fa={_0x5eed4a:0x36},_0x174ac9={_0x54c115:0x2d2,_0x3eb6c5:0x4e};let _0x537512=_0x9b8cd,_0x4df873;const _0x48a69a=_0x537512['lastIndexOf'](':');_0x537512[_0x33ad27(_0x3c11c8._0x33b58e,0x35a,0x471,_0x3c11c8._0x4f0620)](_0x48a69a+0x1)[_0x33ad27(0x2fc,_0x3c11c8._0x9d6243,_0x3c11c8._0x445e0f,0x1cf)]('.')&&(_0x4df873=_0x537512[_0x318a00(0x214,0x3ff,_0x3c11c8._0x468d0f,0x319)](_0x48a69a+0x1),_0x537512=_0x537512['slice'](0x0,_0x48a69a+0x1));const _0x561bf5=_0x537512[_0x33ad27(_0x3c11c8._0x2e5198,0x50f,_0x3c11c8._0x3bc444,0x535)]('::');if(_0x561bf5[_0x33ad27(0x393,_0x3c11c8._0x94067,0x4ef,0x450)]>0x2)return null;const _0x1e741d=_0x3fe739=>_0x3fe739['split'](':')[_0x318a00(0x235,0x2dc,0x2e6,0x349)](_0x1c687b=>_0x1c687b['length']>0x0)[_0x318a00(0x374,0x2a4,0x4b1,0x3d2)](_0x568615=>Number[_0x33ad27(0x341,0x438,0x1e7,0x23e)](_0x568615,0x10)),_0x34808c=_0x561bf5[0x0]?_0x1e741d(_0x561bf5[0x0]):[],_0x4ce719=_0x561bf5[_0x318a00(_0x3c11c8._0x51ae18,_0x3c11c8._0x5a99a0,0x443,_0x3c11c8._0x3bb1d1)]===0x2&&_0x561bf5[0x1]?_0x1e741d(_0x561bf5[0x1]):[],_0x31d048=[];if(_0x4df873){const _0x5aa906=ipv4ToInt(_0x4df873);if(_0x5aa906===null)return null;_0x31d048[_0x33ad27(_0x3c11c8._0x225caa,_0x3c11c8._0x2639f4,_0x3c11c8._0x3a0bde,_0x3c11c8._0x48873b)](_0x5aa906>>>0x10&0xffff,_0x5aa906&0xffff);}const _0x6d99b5=[..._0x4ce719,..._0x31d048];function _0x33ad27(_0xd81432,_0x51dc8a,_0xcc2303,_0x25bfea){return _0x475ba1(_0x25bfea,_0xd81432-_0x174ac9._0x54c115,_0xcc2303-_0x174ac9._0x3eb6c5,_0x25bfea-0x169);}function _0x318a00(_0x227994,_0x324d19,_0x1f56b5,_0x57788a){return _0x511d68(_0x227994-_0x3ce0fa._0x5eed4a,_0x57788a- -0x181,_0x1f56b5-0x1ab,_0x1f56b5);}const _0x2f33ca=0x8-_0x34808c['length']-_0x6d99b5['length'];if(_0x561bf5[_0x33ad27(_0x3c11c8._0x1ffa52,0x3a2,_0x3c11c8._0x16047f,_0x3c11c8._0x111e0d)]===0x1)return _0x34808c[_0x33ad27(_0x3c11c8._0x1ffa52,0x36a,_0x3c11c8._0x1baf49,_0x3c11c8._0x3fbad4)]+_0x6d99b5[_0x318a00(0x249,0x512,_0x3c11c8._0x306702,_0x3c11c8._0x267a7d)]===0x8?[..._0x34808c,..._0x6d99b5]:null;if(_0x2f33ca<0x0)return null;return[..._0x34808c,...new Array(_0x2f33ca)[_0x318a00(0x44c,_0x3c11c8._0x1b6354,0x283,0x31b)](0x0),..._0x6d99b5];}function isBlockedIpv6(_0x4d3bf7){const _0x1b8361={_0x5e00bc:0x255,_0x86f881:0x92,_0x1fcbfa:0x362,_0xbc745b:0x339,_0x590a8d:0x227,_0x537a7e:0x178,_0x47d4c5:0x28e,_0x5d9a14:0x2a2},_0x227551={_0x535a75:0x11c,_0xad3cbd:0x408,_0x43fafa:0x1d1},_0x442002=expandIpv6(_0x4d3bf7);if(!_0x442002||_0x442002[_0x47a9be(0x257,0xc7,0x21c,_0x1b8361._0x5e00bc)](_0x37fbb0=>Number[_0x3802e6(-0x65,-0x120,0x16,-0x1f7)](_0x37fbb0)))return!![];const _0x9ef9c3=_0x442002[_0x47a9be(0x1bb,-0x9a,_0x1b8361._0x86f881,0x169)](0x0,0x7)['every'](_0x47e220=>_0x47e220===0x0);if(_0x9ef9c3&&(_0x442002[0x7]===0x0||_0x442002[0x7]===0x1))return!![];if(_0x442002['slice'](0x0,0x5)[_0x47a9be(_0x1b8361._0x1fcbfa,0x2bf,0x250,_0x1b8361._0xbc745b)](_0x15f014=>_0x15f014===0x0)&&(_0x442002[0x5]===0xffff||_0x442002[0x5]===0x0)){const _0x315d6f=(_0x442002[0x6]<<0x10|_0x442002[0x7])>>>0x0,_0x36d386=[_0x315d6f>>>0x18&0xff,_0x315d6f>>>0x10&0xff,_0x315d6f>>>0x8&0xff,_0x315d6f&0xff][_0x3802e6(_0x1b8361._0x590a8d,_0x1b8361._0x537a7e,_0x1b8361._0x47d4c5,_0x1b8361._0x5d9a14)]('.');return isBlockedIpv4(_0x36d386);}function _0x47a9be(_0x362bb0,_0x272f0b,_0x2c3217,_0x4d2f8e){return _0x511d68(_0x362bb0-_0x227551._0x535a75,_0x2c3217- -_0x227551._0xad3cbd,_0x2c3217-_0x227551._0x43fafa,_0x272f0b);}function _0x3802e6(_0x413970,_0x1256f1,_0x2e1ed5,_0x9c8018){return _0x475ba1(_0x413970,_0x1256f1- -0x131,_0x2e1ed5-0x1e1,_0x9c8018-0x1bd);}const _0x592e5e=_0x442002[0x0];if((_0x592e5e&0xff00)===0xfc00||(_0x592e5e&0xfe00)===0xfc00)return!![];if((_0x592e5e&0xffc0)===0xfe80)return!![];if((_0x592e5e&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x72c637){const _0x1c954d=isIP(_0x72c637);if(_0x1c954d===0x4)return isBlockedIpv4(_0x72c637);if(_0x1c954d===0x6)return isBlockedIpv6(_0x72c637);return!![];}async function assertPublicUrl(_0x53ece6,_0x3f4041={}){const _0x2af81c={_0x5e9cb9:0x193,_0x5266ce:0x438,_0x547be1:0x546,_0x53430d:0x438,_0x2b1a15:0x400,_0x4db185:0x431,_0x4204d5:0x3fd,_0x41b262:0x422,_0x5cef86:0x2ef,_0x1a15e8:0x3ee,_0x534d20:0x432,_0x1e7849:0x3a9,_0x2dac21:0x41b,_0x3458bd:0x55d,_0x242b47:0x5fa,_0x114d8d:0x683,_0x12b1e1:0x51a,_0x334db2:0x513,_0x31ba4b:0x4f0,_0x2500ae:0x5ff,_0x5ac3d0:0x4a3,_0x31af63:0x37e,_0x200eaf:0x359,_0x3d672a:0x2cd,_0x2ef8b4:0x306,_0x1cecb8:0x3cf,_0x4977e2:0x43a,_0x588a52:0x3c4,_0x12def3:0x4fc,_0x5d63e7:0x403,_0x30107f:0x392},_0x548a8d={_0x187ae2:0x7c,_0x250d14:0x14e},_0x301dab={_0x265d44:0x30e,_0x27ace1:0x1df};let _0x47d670;try{_0x47d670=new URL(_0x53ece6);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x53ece6});}if(_0x47d670['protocol']!==_0x2a656a(0x30f,_0x2af81c._0x5e9cb9,_0x2af81c._0x5266ce,0x3d8)&&_0x47d670[_0x68810(0x53c,_0x2af81c._0x547be1,_0x2af81c._0x53430d,_0x2af81c._0x2b1a15)]!==_0x2a656a(0x580,_0x2af81c._0x4db185,0x5cc,_0x2af81c._0x4204d5))throw new ToolExecutionError(_0x68810(0x333,0x448,_0x2af81c._0x41b262,_0x2af81c._0x5cef86),{'url':_0x53ece6});if(_0x47d670[_0x68810(_0x2af81c._0x1a15e8,0x1e3,0x32f,_0x2af81c._0x534d20)]||_0x47d670[_0x2a656a(0x35f,0x383,0x2cd,_0x2af81c._0x1e7849)])throw new ToolExecutionError('URLs\x20must\x20not\x20include\x20usernames\x20or\x20passwords',{'url':_0x47d670[_0x68810(0x2ba,_0x2af81c._0x2dac21,0x438,0x3b8)]+'//'+_0x47d670[_0x2a656a(0x4f0,0x4f7,_0x2af81c._0x3458bd,_0x2af81c._0x242b47)]+_0x47d670['pathname']});const _0x1fed1c=_0x47d670[_0x2a656a(0x508,_0x2af81c._0x114d8d,0x47d,0x663)]['replace'](/^\[|\]$/g,'');function _0x2a656a(_0x18269e,_0x2f0f19,_0x3ff3d6,_0x6d7ed1){return _0x475ba1(_0x2f0f19,_0x18269e-_0x301dab._0x265d44,_0x3ff3d6-_0x301dab._0x27ace1,_0x6d7ed1-0x26);}function _0x68810(_0x42f41f,_0xe3180f,_0x143b90,_0x4adde4){return _0x475ba1(_0xe3180f,_0x143b90-0x22c,_0x143b90-_0x548a8d._0x187ae2,_0x4adde4-_0x548a8d._0x250d14);}const _0x4e55da=_0x47d670[_0x2a656a(_0x2af81c._0x12b1e1,0x654,0x409,_0x2af81c._0x334db2)]+'//'+_0x47d670[_0x2a656a(_0x2af81c._0x31ba4b,_0x2af81c._0x2500ae,_0x2af81c._0x5ac3d0,_0x2af81c._0x31af63)]+_0x47d670['pathname'];if(isIP(_0x1fed1c)){if(isBlockedAddress(_0x1fed1c))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20non-public\x20address',{'url':_0x4e55da});return _0x47d670;}const _0x31314b=_0x3f4041['lookup']??defaultLookup;let _0x46d5f5;try{_0x46d5f5=await _0x31314b(_0x1fed1c);}catch{throw new ToolExecutionError(_0x68810(_0x2af81c._0x200eaf,_0x2af81c._0x3d672a,0x41a,_0x2af81c._0x2ef8b4),{'url':_0x4e55da});}if(_0x46d5f5[_0x2a656a(_0x2af81c._0x1cecb8,_0x2af81c._0x4977e2,0x383,_0x2af81c._0x588a52)]===0x0)throw new ToolExecutionError(_0x2a656a(_0x2af81c._0x12def3,0x4c7,0x379,0x490),{'url':_0x4e55da});for(const {address:_0x1adb38}of _0x46d5f5){if(isBlockedAddress(_0x1adb38))throw new ToolExecutionError(_0x68810(_0x2af81c._0x5d63e7,0x387,0x364,_0x2af81c._0x30107f),{'url':_0x4e55da});}return _0x47d670;}async function safeFetch(_0x32ca79,_0x24ca30={},_0x3eb7dc={}){const _0x18852d={_0x2e975f:0x25a,_0x37a23c:0x3de,_0x3599c5:0x349,_0x461a27:0x282,_0x3733a5:0x3c5,_0x30cca0:0x25b,_0x3c299f:0x2b6,_0x3d69ec:0x377,_0xbb776c:0x2ec,_0x53ea86:0x19a,_0xe9fa18:0x1c4,_0x49c01e:0x37a,_0x39a44d:0x24a,_0x5e8e14:0x3b4},_0x1772bb={_0x1f107b:0x2d0,_0x2174d3:0x125};function _0x12e7de(_0x1c5026,_0x176ce4,_0x18780b,_0x349796){return _0x511d68(_0x1c5026-0x1c0,_0x349796- -_0x1772bb._0x1f107b,_0x18780b-_0x1772bb._0x2174d3,_0x176ce4);}const _0x365d35=_0x3eb7dc[_0x250524(0x42c,_0x18852d._0x2e975f,0x3b9,0x366)]??fetch,_0xbc6191=_0x3eb7dc[_0x250524(_0x18852d._0x37a23c,_0x18852d._0x3599c5,_0x18852d._0x461a27,0x1ee)]??DEFAULT_MAX_REDIRECTS;let _0x345a65=_0x32ca79;function _0x250524(_0x210171,_0x1cfac3,_0x36abc0,_0x3bd897){return _0x511d68(_0x210171-0x1b4,_0x36abc0- -0x31b,_0x36abc0-0x7a,_0x3bd897);}for(let _0x223ff0=0x0;;_0x223ff0+=0x1){const _0x294096=await assertPublicUrl(_0x345a65,_0x3eb7dc),_0x18c75a=await _0x365d35(_0x294096['toString'](),{..._0x24ca30,'redirect':'manual'}),_0x2d933e=_0x18c75a['headers'][_0x250524(_0x18852d._0x3733a5,0x1a4,_0x18852d._0x30cca0,0x17d)]('location');if(!REDIRECT_STATUSES[_0x12e7de(0x20e,_0x18852d._0x3c299f,_0x18852d._0x3d69ec,_0x18852d._0xbb776c)](_0x18c75a[_0x250524(_0x18852d._0x53ea86,_0x18852d._0xe9fa18,0x2e3,0x1c1)])||!_0x2d933e)return _0x18c75a;if(_0x223ff0>=_0xbc6191)throw new ToolExecutionError(_0x250524(0x228,_0x18852d._0x49c01e,_0x18852d._0x39a44d,_0x18852d._0x5e8e14),{'url':_0x294096['toString']()});_0x345a65=new URL(_0x2d933e,_0x294096)['toString']();}}var USER_AGENT=_0x511d68(0x6c1,0x6b9,0x707,0x676),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x30eee9,_0x5627ae){const _0x2fda96={_0x14c5b8:0x2d9,_0x249518:0x279,_0x3cde1c:0x3f3,_0xf27cf4:0x33b,_0x393fbc:0x1e3,_0x2f2e56:0x69,_0x4c28e3:0x21c,_0x50d61d:0x3eb,_0x14272e:0x444,_0x1538d9:0xbf,_0x529db7:0xd9},_0xff5891={_0x2c70bd:0x1f,_0x26a189:0x17,_0x5d54ef:0x52,_0x4b5478:0x11e,_0x39bd41:0x4fb,_0x5664cc:0x3ce},_0x1c8dea={_0x4a4033:0xbe,_0x3c0328:0x239},_0x2af84a={_0x40e853:0x46,_0x107a84:0x3a2,_0x498301:0xbc};function _0xe6c055(_0x21a7ab,_0x349523,_0x204a64,_0x3f14d4){return _0x511d68(_0x21a7ab-_0x2af84a._0x40e853,_0x349523- -_0x2af84a._0x107a84,_0x204a64-_0x2af84a._0x498301,_0x204a64);}const _0x1d120a=new AbortController(),_0x3a7799=setTimeout(()=>_0x1d120a[_0x59e247(0x228,0x1dd,0x1ed,0x28c)](new Error(_0xe6c055(-0x2e,0xe7,0xe,0x20e))),_0x5627ae);function _0x59e247(_0x243c04,_0x1b7366,_0x32b16f,_0x2ba50e){return _0x511d68(_0x243c04-_0x1c8dea._0x4a4033,_0x243c04- -_0x1c8dea._0x3c0328,_0x32b16f-0x25,_0x2ba50e);}const _0x21ee30=()=>_0x1d120a['abort'](_0x30eee9[_0xe6c055(0x1c8,0x85,0x5c,0x101)]);return _0x30eee9[_0x59e247(_0x2fda96._0x14c5b8,_0x2fda96._0x249518,_0x2fda96._0x3cde1c,_0x2fda96._0xf27cf4)]?_0x1d120a[_0x59e247(0x228,0xf9,0x214,_0x2fda96._0x393fbc)](_0x30eee9[_0x59e247(0x1ee,_0x2fda96._0x2f2e56,0x193,_0x2fda96._0x4c28e3)]):_0x30eee9[_0xe6c055(_0x2fda96._0x50d61d,0x32d,_0x2fda96._0x14272e,0x3d5)](_0xe6c055(-0x4c,_0x2fda96._0x1538d9,0xd,_0x2fda96._0x529db7),_0x21ee30,{'once':!![]}),{'signal':_0x1d120a['signal'],'cleanup':()=>{const _0x80524f={_0x35d9c4:0x12c,_0x536a4b:0x91},_0x5400b2={_0x55d926:0x180,_0x397f93:0x1e0};clearTimeout(_0x3a7799);function _0x67c93a(_0x3c8bf6,_0x487abc,_0x372176,_0x1327a5){return _0x59e247(_0x372176- -_0x5400b2._0x55d926,_0x487abc-0x153,_0x372176-_0x5400b2._0x397f93,_0x3c8bf6);}function _0x55de9f(_0xafdfda,_0x56b2de,_0xa1694f,_0x13e421){return _0xe6c055(_0xafdfda-_0x80524f._0x35d9c4,_0x56b2de-0x43c,_0xa1694f,_0x13e421-_0x80524f._0x536a4b);}_0x30eee9[_0x67c93a(-_0xff5891._0x2c70bd,-_0xff5891._0x26a189,_0xff5891._0x5d54ef,-_0xff5891._0x4b5478)](_0x55de9f(0x662,_0xff5891._0x39bd41,_0xff5891._0x5664cc,0x45a),_0x21ee30);}};}function _0x551f(){const _0x269a79=['BM9Zy3jPChq','Aw1Hz2uVCg5N','y2XVC2vbBgW','zgvUBY5QC29U','l3vZCI9IAw4VCMC','z2nSAwq','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','yMLYDgH0Aw1L','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','A2LUza','B2f1DgG','zw5NAw5L','C2vUze5VDgLMAwnHDgLVBG','zgLYBMfTzq','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','AxngAwXL','DgL0Bgu','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','C3bSAxq','zgvSAw1PDgvY','u2L6ztOG','BwvKAxvT','y2HHCKnVzgvbDa','Cg5WBs1SB2nRlNLHBwW','icHWAwqG','lMPZB24','y3DK','DMvYAwzPzxi','zhj5uNvU','ugf0AcbUB3qGzM91BMq6ia','yNjVA2vU','zgvSzxrL','ChjVCgvYDgLLCW','B3v0z29PBMDdywXSCW','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','y2fJAgvK','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Aw52ywXPzf90B2rVx2L0zw0','CMvMAw5L','BgfIzwW','C29YDa','C2vHCMnOugfYyw1Z','C2LNBMfS','tM8GC3vJAcbMAwXLoIaN','r3jLCa','CxvLCNK','Cgf0Aa','y2fSBfrVB2W','C3jJl3nOyxjLzc90ExbLCY50CW','y29UDgv4Da','rMLSzuvKAxq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','q29Tu3bLyW','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','Dg9ju09tDhjPBMC','C2vYDMvYtMfTzq','AxnjBNrLz2vY','zxjYB3jnzxnZywDL','tu9ptLnit1rFqvbjx0Tfwq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','C3rKzxjY','lI4U','C3rKAw4','r0Lusfvcx1rps0vo','D2HLCMuGCMC','DMfSDwvZ','l3bPza','yxnZAwDU','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C2HPzNq','z2v0u3rHDhm','o1TE','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','Bwv0yq','l3vZCI9SB2nHBc9IAw4VCMC','BxvSDgLtzwXLy3q','BxrPBwvnCW','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Ahr0Chm6','ignOyxjZigrYB3bWzwrDcG','zM9VDgvY','CMvXDwLYzwq','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','Aw5FChjVz3jLC3m','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','v2LUr2v0','s0Lnsv9bueLFs0vz','zMjJBgLK','pc9ZExn0zw0TCMvTAw5Kzxi+','CgLWzq','AxndB250zxH0','CgfZC3rOCM91z2G','DhvWBgu','B2XKvgv4Da','ywrKrxzLBNrmAxn0zw5LCG','mtaUmc4WlJa','yxbPs2v5','BhnW','C2H1DgrVD25tDgfYDgvK','zMv0y2HjBxbS','zgLZCg9Zzq','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','l2jPBI9IyxnO','y2f0y2G','CgfYC2u','C2L6zq','zgfYAW','tM8GC3LTyM9SCYbMB3vUza','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','BwnWxW','DhjHAwXPBMDdAhvUA3m','ls1WCMvMAxG','lNbUzW','Dg9VBa','yMfZzty0','Bg93','uxvLC3rPB24G','C2vHCMnOrgvWDgG','AMf2yxnJCMLWDa','BgLUzvn0yxj0','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','BM9Kzv9TB2r1BgvZ','C2v0','xsb0CMfUC3bVCNqGzxjYB3i6','AxneAxjLy3rVCNK','zgLHz25VC3rPy3m','mti3lJaUmc4W','igzHAwXLzc4','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tuLnrtOG','Cg9W','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','A2v5CW','AM9PBG','C2vYDMvYswq','CgfJA2fNzxm','Dg9VBc1VDxrWDxqTB2zMBg9Hza','lM1QCW','Aw1Hz2uVz2LM','qMfZAa','DgvZDa','EwfYBI5SB2nR','CgfNzw1HCa','ls1NBg9IpseUz2L0lYO','zMvUy2vK','y2XLyw51Ca','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','C2fMzq','oIbJB250zw50ihjLCxvPCMvK','yxr4','B25szwrPCMvJDa','y29UBMvJDa','zgLZy292zxj5','l2jPBI9YzW','vMLLD0zPBgu','A2LSBa','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Bg9JyxrPB24','zgvMyxvSDen3za','zgLHz25VC3rPy3ngB3jgAwXL','C2vUza','wefjx0fqsv9lrvK','w291Dhb1Dcb0CNvUy2f0zwq6ia','CMvTB3zLrxzLBNrmAxn0zw5LCG','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y3jLyxrLzef0','BgLZDgvU','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','ignVBxbSzxrLzc4','zMXVB3i','CNvUsw5cywnRz3jVDw5K','zxHPDenVzgu','lMnTza','ru5pru5u','CMvZB2X2zq','ChvZAa','C3LTBgLUAW','l2jPBI9ZAa','AwDUB3jL','tg9HzgvKigzYB206ia','cGPbuKDvtuvovfm6ia','lMPZ','zhvWBgLJyxrLx3rVzg9FAwrZ','A2LSBfjLCxvLC3rLza','C3rHCNq','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','CMvJB3jK','yMfZzw5HBwu','zxf1ywXZ','ywDLBNrjza','r0Lusfvcx0fdq0vtu19ut0TftG','CMvHC29U','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','lunVBw1HBMq','D2LUmZi','Dhj1zq','rMLSzsb3CML0DgvUigf0ia','Aw5ZDgfSBa','Dhj1BMm','DxjS','C2v2zxjPDhK','Dhj1zwnVBg9Y','Aw52ywXPzf90B2rVx3bYAw9YAxr5','ChjLChjVy2vZCW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','yMfZAwm','sfruuca','DgfZAW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','mJqYmZu4mJrXv3nSBxq','BMf2','z29Vz2XLlwnZzq','Bg9JywXLq29TCgfYzq','Aw5JBhvKzq','CMvWBgfJzq','yxv0AfjLCxvPCMvK','ls1ZDgrPBW','BgLTAxq','Aw1Hz2uVANbLzW','yMLVBwu','y2HHCMfJDgvY','BxrPBwu','Ag92zxi','v2vIrMv0y2G','tM8GBg9JyxrPB25ZigzVDw5K','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','mJuWnJe2ngHbwNHoBa','AxntEw1IB2XPy0XPBMS','D2HPy2GGCMC','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Ahr0CdO','DgLTzvTKyxrLDgLTzv0','CMfUzg9T','BM9UBMvNyxrPDMu','C3jJl2fNzw50l2fNzw50lNrZ','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','yxnJAwK','Dg9KB3ncEvnLC3nPB24','y2fSBeLK','yMvHCMvY','zxzPy3rjzK5LzwrLza','te9x','CMvZDwX0','v2vIu2vHCMnO','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','Axnoyu4','CMfUAW','qu5usfjpueLdx0fqsv9lrvK','ywjVCNq','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','BgLUzvrLEhq','Aw52ywXPzf90B2rVx3n0yxr1CW','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','C3vIyxjYyxK','lNrZ','BgLUzu51Bq','C2vYDMvY','CxvLC3rPB25Z','B25LCNjVCG','Dg90ywXqCM9KDwnLza','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','vg9KBYa','C2HLBgXqyxrO','Aw52ywXPzf90B2rVCW','zgvZy3jPChrPB24','vxbKyxrLvg9WAwm','CgXHAw4','BgLZDfrVB2XZ','B3bLBMfP','ygbG','Aw5JBhvKzxm','Aw5JBhvKzv9KB21HAw5Z','B3jPz2LUvg9VBenHBgXjza','yxbWzw5K','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','z2XVyG','CMvNzxG','vw50AxrSzwq','CMvJzw5JEurHExm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','yw5ZD2vYCW','y29UDgvUDhm','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','AxngAw5PDgu','y2XVC2u','y29TBwfUza','z3jVAW','z29uB0LTCgXLBwvUDgf0Aw9U','rMv0y2GGDgLTzwqGB3v0','seLhsa','BhmGlwXH','y29TBwfUzhm','C2nYDwjfBNzlzxLZ','yMLVBwuUANnVBMm','Aw5KzxHpzG','Aw5PDgLHBgL6zwq','u3rHCNrLzcbHz2vUDcbYDw4G','C3rHCNrZv2L0Aa','vMLLD2vKigLTywDLigzPBgu6ia','yw5ZAte2','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','nZG4otKWv0Dzs1Lt','B3jPz2LUywW','C3rHCNreAxi','C2H1DgrVD24','C2XPy2u','CgfJA2fNzs1SB2nRlMPZB24','zMLSBa','u2HLBgWGBM90igzVDw5KoIa','CgfZC3DVCMq','yxjNDw1LBNriAw50','ywn0AxzL','AhLKCMf0zu1LDge','Dg90ywW','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CgfJA2fNzs5QC29U','DxbKyxrL','zgf0zvjLC3rYAwn0','CgvUzgLUzW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','ywXS','AgfUzgXL','y29Kzq','zgv0ywLS','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','DhLWzxnJCMLWDhjLywn0','w1bFxL1BxhnCu10QpW','lMPWzwC','yxnRvxnLCG','zMLUywXnzxnZywDL','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','zgvMyxvSDfrPBwvVDxrnCW','CgLK','y29KzvzLCMLMAwvY','ChjPB3jPDhK','qgjPB21LANmVyMLVBwu','CMfUz2u','ugf0AcbPCYbUB3qGysbMAwXLoIa','mtm3mdCXofHJvfDcsa','CgfYC2vjBNq','lcbpChrPB24G','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','Aw50zwDLCG','ANnVBG','lMPZB25J','qwXSia','lMXVzW','Bg9HzenVBw1HBMq','Aw1WBgvTzw50yxrPB24','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','EwvZ','s2LSBfnOzwXS','DhvYBMrVD24','zMLSDgvY','C2HHmJu2','Bw9Kzq','BgLUzq','DgfZA2TPBgW','yMLVBwuUANnVBG','lM10CW','mtK4lJe4lJaUma','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zgLZy292zxj5u3rHDgu','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','zMLUzfjLzMvYzw5Jzxm','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','y2HPBgq','CgXHDgzVCM0','Bwf4','ChjLzML4','y2XPzw50','ChjVDg90ExbL','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','zMLUywXnzxnZywDLvgv4Da','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','zMXHDe1HCa','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','y29UDgvUDa','tM8GAg92zxiGAw5MB3jTyxrPB24','twLJCM9ZB2z0','mZvfEvnHuhy','yNvUlMXVy2TI','Ahr0Ca','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','ig1HDgnO','B3bLBMfPlxjLC3bVBNnLCW','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','BwnFzwLK','y29Uy2f0','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','ywDLBNrZ','Dg9VBhm','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','ygbGANnVBGO','zxHPDgvK','y29TCgXLDgvK','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','DxrTx2nHBxbHAwDU','vg9WAwmGC2v0ihrVici','BNv2Aw4','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','oIbPzcbYzxf1AxjLza','C2nVCgvZ','BM9Uzq','C2vHCMnOvhLWzq','BMv3vgv4Da','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','mJKXnJKZmhDmvuT5ra','t0zg','B3v0Chv0','vw5RBM93BIb0B29SoIa','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','zw51Bq','Aw52ywXPzf90B2rVx2LK','yxjNCW','AgvHzgvYCW','zgLZywjSzwq','y291BNq','C3rKB3v0rgvJB2rLCG','rgv0ywLSoIa','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','BgvUz3rO','AhrTBfnUAxbWzxq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ywjVCNrLza','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','u2TPBgWGjW','C2vZC2LVBKLK','qxzHAwXHyMXLignVBw1HBMrZoG','rxjYB3i','B3v0Chv0uMvNzxG','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','Cgf0DgvYBG','zw52','zg9TywLUCW','yxr0CG','yxnPzgu','zgvSzwDHDgvKlxj1BI0','yxjNDw1LBNrZ','z2L0qNjHBMnO','ksbB','y29UDgvUDc10ExbL','q29TBwfUzcaN','B2XSyw1H','ihDHCYbHyM9YDgvKlG','C2nYAxb0','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','zgvLCgLUzNjH','ls1NBg9Ipq','r0LgodLH','lNrZEa','CxvLC3rPB24','BNbT','BwnFy2LK','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','CgfJA2fNzu5HBwu','AhjLzG','y2XPzw50CW','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','qMvHCMvYia','C3rKAw8','CNvUBMLUzW','CMvTB3zL','AxnbCNjHEq','Dg9Rzw5tDg9YywDLs2v5','ue9tva','tuLosu1bwf9bueLFs0vz','ChjVy2vZC0v4AxrLza','B3bLBG','y3jSzG','Aw1Hz2u','zg9JDw1LBNrtEw1IB2W','zg5Zl3bYB21PC2vZ','CMvHza','CgfYzw50u2vZC2LVBKLK','CMvNAw9U','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','C3r5Bgu','mtKYlJaUmc4W','lMPWzW','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','Dgv4DerVy3vTzw50l2rPzenSB3nL','ANnVBMm','lNrTCc4','DhLWzxnJCMLWDa','DhjHBNnMB3jT','DxnLCM5HBwu','DxrTx2nVBNrLBNq','B3b0Aw9UCW','BwfW','C25PChbLDa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','z2L0AhvI','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','BwvZC2fNzq','Aw5WDxrty2HLBwe','lMPZEa','B25Jzq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','yxjNDw1LBNroyw1LCW','y29UDgv4DeXPBMS','Bg9HzfnRAwXS','y2fWywjPBgL0AwvZ','Dg9VBfjLC3vSDhm','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','C2v0vg9WAwm','vg9Vig1HBNKGCMvKAxjLy3rZ','Dgf2AwX5qxbPs2v5','mJi0lJaUmc4W','BgfZDeLUzgv4t2y','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','y2HHBMDL','zNjVBuvUDhjPzxm','CxvLC3rPB24T','tunqihrVB2WG','uefusa','BMfTzq','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','mtaWlJy0lJaUma','DhjPBq','ywXSB3DLzerPCNm','ywrK','z2v0','B3b0Aw9UywW','igj5DgvZicH0B3rHBdOG','uKLgrG','C3jJl2v4yw1WBgvZl2rLBw8UDhm','Ec1HCgKTA2v5','C2vUzfjLCxvLC3q','BwLU','B3bLCMf0Aw9U','Aw5JB21PBMDdywXSCW','zMfPBgvK','yNL0zuXLBMD0Aa','ls1MB2XSB3C','C3bHD24','AwzYyw1L','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','Dw5RBM93BG','C2v0vg9KB3m','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','BgfUz18','yw50AhjVCgLJlw1LC3nHz2vZ','uhjVz3jHBuzPBgvZ','C3rYAxbbBNnP','D3jPDgu','lu5Vtg9NBW','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','zxHPDa','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','zMLSzvzLCNnPB25Z','D29YA3nWywnLu3LTyM9S','Dg9VBenHBgXjza','BxmU','zgvMyxvSDa','zxHPDcbJB2rLia','Dg9tDhjPBMC','B25oB3rPzMLJyxrPB24','ls1YzwDLEha','Aw1Hz2uVD2vICa','Bwf4uMvKAxjLy3rZ','Bg9VA3vW','te9dquXbufbeqvrb','qwDLBNqGCNvUia','qxnZAwDUvgfZAW','yNvMzMvY','Bw9VBNnOB3q','rMLSzvjLywq','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','y2fSBgjHy2TvCMW','tunqihnLCNzLCIa','zw50CMLLCW','v0vcua','ywXSu2v0DgXLza','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C3rHDhvZvgv4Da','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','Bwf0y2HLCW','Dgv4Dc9ODg1S','yNvUlMXVy2S','lMDPzG','Dgv4Da','DMfSDwu','AgfZq2XPzw50CW','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','yxjNDw1LBNrZvgv4Da','yxv0BW','l29WDc9OB21LyNjLDY9IAw4VCMC','BgL0zxjHBa','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','AgfZ','B2zM','BM90Awz5','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','DhjHBNnMB3jTCW','y2XPzw50sw5MB3jTyxrPB24','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','yM0Ynq','lw5i','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','y2XLyxi','C3rVCMfNzurPCG','zgf0yq','C3rYAw5N','u0Lhs0Lmta','yxv0Aa','Aw5PDgLHBgL6zq','Aw5PDgLHBgL6yxrPB24','BwvTB3j5','vw5HDxrOB3jPEMvKrxjYB3i','sw5MB3jTyxrPB24','C2HLBgXjza','Dg9VBe5HBwu','lM51DMLU','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ienHDxnLoIa','tg9HzfnRAwXS','Dg9WAwm','zgLYzwn0B3j5','BgfUz3vHz2u','z2vUzxjHBa','zw5NAw5LCW','DgLTzw91De1Z','cMbGya','CMvXDwvZDhm','Dg9Rzw5Z','BM93','mty5lJi1nc4WlJa','DhnZzxj2zxiUANm','yMLUyxj5tMfTzq','yxjYyxK','vg9KB1DYAxrL','rgLHz25VC3rPyW','BNvTyMvY','BgLUzuvUza','ie9sia','zMLSzvbHDgG','AgLNAa','AMf2yxnJCMLWDhjLywn0','y2fWq2HHCNm','BgLZDa','r2XVyG','z2v0vg9KB3m','Dg90ywXeCM9WCgvK','CNvUswq','y2XPzw50x3nLy3jLDf9WB3n0','mteZmZK4mxv1Efn3vW','Aw1Hz2vZ','zMLYC3q','DgHPBMTPBMC','BhnWlxbYB3H5','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','zgvUBY5QC29UyW','CMvMzxjLBMnLCW','BgLI','C3rHDhvZ','B3bLBNjVDxrLCG','w01duca','y29UBMvJDgvK','rM91BMqG','Dw5PB24','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','B2zMC2v0','yM9VBgvHBG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','oIbPBNzHBgLKihbYAw9YAxr5','C291CMnL','qxv0Ag9YAxPHDgLVBG','z29Vz2XLq3nLs2v5','xg5DkJ8','DxrTx3rLCM0','Bw9KzwW','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','uhjVz3jHBuzPBgvZkhG4nIK','AxnfCNjVCG','ls1OAwrKzw4','B2jQzwn0','CMvSyxrPDMu','CMvZDwX0CW','C3rKB3v0','C2TPBgXZ','C3rHDgu','sw52ywXPzcbVDxrWDxrszwDLEdOG','zgvMAw5PDgLVBG','Dg9Rzw4','AxrLBxm','Dg9KB3m','Dgf2AwX5','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','zxH0BMfTzq','uhvIBgLZAgvKoIa','DhLWzq','CMvXDwvZDa','C29Tzq','ChjLCgfYzunHBgXiAwvYyxjJAhK','D29YA3nWywnLl3n5BwjVBa','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','z29uB0rLzMLUAxrPB24','CMvHzen1CNnVCG','B3bLBKzPBgvZ','zNvSzMLSBgvK','Dg9mB3DLCKnHC2u','C3bHD25PBMC','DxrMoa','Ag9ZDa','tgLUzsa','ls1JB2X1Bw4','Bwf4q29Uy3vYCMvUDa','zMLSzq','EMfP','ChvIBgLZAgvKqxq','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','Cgf0DgvYBIbPCYbYzxf1AxjLza','CgXHAw50zxH0','qMfZAe91Dhb1Da','A2v5','q291BgqGBM90ihjLC29SDMuGAg9ZDa','y2vPBa','sgLUDa','yw50AhjVCgLJ','D2vI','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','yw5ZAti1nG','BgLUzxm','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','Aw5ZDhj1y3rPB25Z','y29UBMvJDgLVBG','ChjVy2vZCW','Ag9ZDg5HBwu','l3vZCI9IAw4VC2G','mJGXmdm3nMzLwxrbtq','qMfZzsbKAxjLy3rVCNK6ia','AxnfBMfIBgvK','CMLWz3jLCa','Aw5WDxq','BgfUzW','CM9VDa','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','DxrTx21LzgL1Bq','ig1Z','phn5C3rLBs1Yzw1PBMrLCJ4','qvbjx0Tfwq','sw52ywXPzcbYzwDLEdOG','DgHLBG','A2LSBgvK','zxzLCNK','ChjVDg9JB2W','Bwf4rw50CMLLCW','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','Aw52ywXPzf9XDwvZDgLVBNm','zNjVBq','revfueLorLjbx0fqsv9lrvK','zw5K','y29UzMLN','C3rYAw5NAwz5','lu5VuhjVzMLSzq','CMCUzxHL','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','yMfJA2DYB3vUzfjLz2LZDhj5','DxjP','y2HHDgDWDa','v2fYBMLUzW','zxjYB3i','BwfYA2rVD24','yNvMzMvYq2HHCNm','zMLUza','y291BNrLCG'];_0x551f=function(){return _0x269a79;};return _0x551f();}function createWebFetchTool(_0x30c74c={}){const _0x21481b={_0x10c917:0x1d4,_0x407723:0x130,_0x193dc9:0x181,_0x160d21:0x215,_0x4f297d:0x169,_0x1463cb:0x320,_0x310f5b:0x537,_0x1ba307:0x25a,_0x2ef67c:0x4cf,_0x18c556:0x1f1,_0x198dfe:0x159,_0x2b0ebe:0x2da,_0x2de3be:0x156,_0x344017:0x7c,_0x16c3fb:0x1e0,_0x6d625d:0x36,_0x25d864:0x135,_0x31a513:0x24d,_0x5f932d:0x2e8,_0x350c40:0x34a,_0x471778:0x240,_0x1a2662:0x192,_0x58656c:0xf3,_0x2f09cc:0x3db,_0x43cef9:0x6b,_0x41c411:0xe,_0x33e76e:0xc8,_0x192b7:0xbc,_0x190c70:0x241,_0x5b67a6:0x26,_0x5df491:0x3a6,_0x1d5f5c:0x283},_0x5c1350={_0x2e38fb:0x57f,_0x235250:0x43c,_0x3b2328:0x3ec,_0x549284:0x18c,_0x1bc450:0x2b4,_0x316b2a:0x421,_0x406dd6:0x4b5,_0x2e4566:0x43c,_0x1bd3fe:0x33b,_0x41d87f:0x5a5,_0x312171:0x246,_0x46e986:0x1d8,_0x9228e6:0x1ce,_0x1fa0a3:0x17c,_0x2e6a18:0x177,_0x20a480:0x1c6,_0x1b18f3:0x42d,_0x2ad77a:0x45f,_0x460603:0x506,_0x18b3d5:0x36f,_0x7eb1c5:0x245,_0x2c4030:0x426,_0x45f504:0x1c8,_0x2c3a6f:0x1ad,_0xadc734:0x27b,_0x58f8d2:0x395,_0x2f1379:0x1a4,_0x497bca:0x6b,_0x69ef06:0x18d,_0x188fcb:0x54,_0x270735:0x148,_0x231987:0xfd,_0x281df8:0x26b,_0x8dc0b0:0x2fc,_0xabe75d:0x52f,_0x2b1617:0x85,_0x11c411:0xd0,_0x26a3dc:0x91,_0x639f87:0x6c},_0x56a882={_0x2562ec:0x2c,_0x227782:0x89},_0x5071ca={_0x5b6891:0x194,_0x18f63e:0xd9},_0x1032c3={_0x28e006:0x1ab},_0x5cb57d={_0x4c4b6a:0xc3,_0x121129:0xe6};function _0x330f5b(_0x5c29a9,_0x1de7a0,_0xf19f23,_0x4782f1){return _0x475ba1(_0x4782f1,_0x1de7a0- -_0x5cb57d._0x4c4b6a,_0xf19f23-0x1ae,_0x4782f1-_0x5cb57d._0x121129);}const _0x1c2539=_0x30c74c[_0x4f2f13(_0x21481b._0x10c917,_0x21481b._0x407723,0x254,0x228)]??_0x4f2f13(_0x21481b._0x193dc9,_0x21481b._0x160d21,0xb8,0x100),_0x43265b=_0x30c74c['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x39f5f1=_0x30c74c[_0x4f2f13(0xfc,_0x21481b._0x4f297d,_0x21481b._0x1463cb,0x257)],_0x3bfcb5=new _0x4327c5({'headingStyle':_0x4f2f13(_0x21481b._0x310f5b,_0x21481b._0x1ba307,_0x21481b._0x2ef67c,0x3c0),'codeBlockStyle':_0x330f5b(0x203,_0x21481b._0x18c556,_0x21481b._0x198dfe,0x25a),'bulletListMarker':'-'});_0x3bfcb5[_0x4f2f13(_0x21481b._0x2b0ebe,0x85,_0x21481b._0x2de3be,0x1f1)]([_0x4f2f13(0x81,0x110,_0x21481b._0x344017,_0x21481b._0x16c3fb),_0x330f5b(-_0x21481b._0x6d625d,0x37,_0x21481b._0x25d864,-0xda),_0x330f5b(0xd0,0x15e,0x2c5,0x29),_0x4f2f13(_0x21481b._0x31a513,_0x21481b._0x5f932d,_0x21481b._0x350c40,0x23d),_0x4f2f13(-0x5a,_0x21481b._0x471778,_0x21481b._0x1a2662,_0x21481b._0x58656c),_0x4f2f13(_0x21481b._0x2f09cc,0x2fd,0x4ef,0x37a),'header',_0x330f5b(_0x21481b._0x43cef9,_0x21481b._0x41c411,_0x21481b._0x33e76e,0x3c)]);function _0x4f2f13(_0x28e307,_0x17e2fa,_0x57fcc8,_0x3cca6d){return _0x511d68(_0x28e307-0x75,_0x3cca6d- -0x347,_0x57fcc8-_0x1032c3._0x28e006,_0x17e2fa);}return defineTool({'name':_0x1c2539,'description':_0x4f2f13(_0x21481b._0x192b7,0x17c,0x2c3,_0x21481b._0x190c70),'inputSchema':{'type':_0x330f5b(0xe3,0x103,-0x37,-_0x21481b._0x5b67a6),'properties':{'description':{'type':_0x4f2f13(0x28e,0x3e2,_0x21481b._0x5df491,_0x21481b._0x1d5f5c)},'url':{'type':'string'}},'required':['url']},async *'execute'(_0x53b8e,_0x3215ed){const _0x2f9c6d=(await assertPublicUrl(_0x53b8e['url'],{'lookup':_0x39f5f1}))['toString']();if(_0x3215ed[_0x5e44ca(_0x5c1350._0x2e38fb,_0x5c1350._0x235250,_0x5c1350._0x3b2328,0x553)][_0x5e44ca(_0x5c1350._0x549284,_0x5c1350._0x1bc450,0x233,_0x5c1350._0x316b2a)])throw new ToolExecutionError('Fetch\x20aborted\x20by\x20user',{'url':_0x2f9c6d});const _0x4f33b3=createTimeoutSignal(_0x3215ed[_0x5e44ca(_0x5c1350._0x406dd6,_0x5c1350._0x2e4566,_0x5c1350._0x1bd3fe,0x49c)],_0x43265b);let _0x22bd6f='',_0x328548=0x0,_0x3ebfba;try{const _0xf753e6=await safeFetch(_0x2f9c6d,{'headers':{'User-Agent':USER_AGENT},'signal':_0x4f33b3[_0x5e44ca(_0x5c1350._0x41d87f,_0x5c1350._0x235250,0x3ec,0x5ae)]},{'lookup':_0x39f5f1});if(!_0xf753e6['ok'])throw new ToolExecutionError(_0x5e44ca(_0x5c1350._0x312171,_0x5c1350._0x46e986,_0x5c1350._0x9228e6,_0x5c1350._0x1fa0a3)+_0xf753e6[_0x2eca11(_0x5c1350._0x2e6a18,0x21b,0xc2,_0x5c1350._0x20a480)]+'\x20'+_0xf753e6[_0x5e44ca(0x2ff,0x34e,_0x5c1350._0x1b18f3,0x448)],{'url':_0x2f9c6d,'statusCode':_0xf753e6[_0x5e44ca(_0x5c1350._0x2ad77a,0x3a0,_0x5c1350._0x460603,_0x5c1350._0x18b3d5)]});_0x22bd6f=_0xf753e6['headers']['get'](_0x5e44ca(_0x5c1350._0x7eb1c5,0x2c5,_0x5c1350._0x2c4030,0x22b))??'',_0x328548=_0xf753e6['status'],_0x3ebfba=await _0xf753e6[_0x2eca11(0x12b,_0x5c1350._0x45f504,0x162,_0x5c1350._0x2c3a6f)]();}catch(_0x1348f6){if(_0x1348f6 instanceof ToolExecutionError)throw _0x1348f6;const _0x47d324=_0x1348f6 instanceof Error?_0x1348f6['message']:String(_0x1348f6);throw new ToolExecutionError(_0x47d324,{'url':_0x2f9c6d});}finally{_0x4f33b3[_0x2eca11(_0x5c1350._0xadc734,_0x5c1350._0x58f8d2,0x28b,_0x5c1350._0x2f1379)]();}const _0x5611e6=new Date()['toISOString']();let _0x3b7a50,_0x3413da;if(_0x22bd6f['includes']('application/json'))_0x3b7a50=_0x2eca11(_0x5c1350._0x497bca,0x15d,_0x5c1350._0x69ef06,0xf1)+_0x3ebfba+'\x0a```',_0x3413da='json';else _0x22bd6f[_0x5e44ca(0xba,0x219,0x25c,0xea)](_0x2eca11(0x128,-_0x5c1350._0x188fcb,0x13c,_0x5c1350._0x270735))?(_0x3b7a50=_0x3bfcb5[_0x5e44ca(_0x5c1350._0x231987,_0x5c1350._0x281df8,0x2fb,0x36f)](_0x3ebfba),_0x3413da=_0x5e44ca(_0x5c1350._0x8dc0b0,0x40c,_0x5c1350._0xabe75d,0x3b8)):(_0x3b7a50=_0x3ebfba,_0x3413da=_0x2eca11(0x12b,0x1b0,_0x5c1350._0x2b1617,_0x5c1350._0x11c411));function _0x5e44ca(_0x235a6c,_0x476eb6,_0x5f1662,_0x3a0753){return _0x330f5b(_0x235a6c-_0x5071ca._0x5b6891,_0x476eb6-0x2b2,_0x5f1662-_0x5071ca._0x18f63e,_0x5f1662);}function _0x2eca11(_0x4e5202,_0x48364c,_0x26c087,_0x3a5bb2){return _0x330f5b(_0x4e5202-_0x56a882._0x2562ec,_0x4e5202-_0x56a882._0x227782,_0x26c087-0xe0,_0x48364c);}return yield createToolOutput(_0x3b7a50,{'url':_0x2f9c6d,'contentType':_0x22bd6f,'statusCode':_0x328548,'format':_0x3413da,'size':_0x3ebfba[_0x2eca11(0x87,0x1e3,-_0x5c1350._0x26a3dc,_0x5c1350._0x639f87)],'fetchedAt':_0x5611e6}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x511d68(0x6f8,0x6b5,0x81c,0x73b);function normalizeUrl(_0x2c214b){const _0x5b20e5={_0x2a7a8a:0x168,_0xff87ad:0x25,_0x40daa6:0x774,_0x9dffff:0x64c,_0x4e0ea5:0x73b,_0x257ea9:0x197,_0x1af70c:0xd7,_0x22a693:0x2f,_0x32317e:0x4b,_0x5b1df6:0x13b,_0x198a44:0xa0,_0x4bbe61:0x98,_0x35dad4:0x776,_0x176233:0x663,_0x2f87c4:0x5af,_0x20fc61:0x620,_0x51b8df:0x6bb,_0x424779:0x788},_0x5f580c={_0x266fb1:0x8e};function _0x460344(_0x3c096d,_0x50a59f,_0x3899a6,_0x12a310){return _0x511d68(_0x3c096d-0x83,_0x50a59f- -0x628,_0x3899a6-_0x5f580c._0x266fb1,_0x3c096d);}function _0x38d9bb(_0x16824e,_0x5be441,_0x3551fb,_0x5b4435){return _0x475ba1(_0x16824e,_0x5be441-0x581,_0x3551fb-0x161,_0x5b4435-0x137);}try{const _0x367d93=new URL(_0x2c214b);for(const _0x5a5046 of['utm_source',_0x460344(-0x10,0x29,0x178,_0x5b20e5._0x2a7a8a),_0x460344(-0x4c,-0x132,-_0x5b20e5._0xff87ad,-0x13e),_0x38d9bb(_0x5b20e5._0x40daa6,0x741,_0x5b20e5._0x9dffff,_0x5b20e5._0x4e0ea5),_0x460344(-_0x5b20e5._0x257ea9,-_0x5b20e5._0x1af70c,-_0x5b20e5._0x22a693,-0x93),_0x460344(0x3d,_0x5b20e5._0x32317e,0xa3,_0x5b20e5._0x5b1df6),_0x460344(0x9b,_0x5b20e5._0x198a44,_0x5b20e5._0x4bbe61,0x1e3),_0x38d9bb(_0x5b20e5._0x35dad4,_0x5b20e5._0x176233,_0x5b20e5._0x2f87c4,0x6f8),_0x38d9bb(0x701,_0x5b20e5._0x20fc61,_0x5b20e5._0x51b8df,_0x5b20e5._0x424779)]){_0x367d93['searchParams']['delete'](_0x5a5046);}return _0x367d93[_0x460344(-0x186,-0x8f,-0x15f,-0x6b)]();}catch{return _0x2c214b;}}function cseDateRestrict(_0xeaf20c){const _0x26145f={_0x4f5e2a:0x3c8,_0x42ed0e:0x521,_0x402b9d:0x256,_0x5be5a0:0x5f3,_0x160b7c:0x47f},_0x59ec28={_0x486ce4:0x117},_0x1c6f15={_0x482db6:0x49,_0x26a350:0x59};if(_0xeaf20c<=0x0)return void 0x0;if(_0xeaf20c<=0x1e)return'd'+Math['max'](0x1,Math[_0x2bbac2(_0x26145f._0x4f5e2a,0x4ff,_0x26145f._0x42ed0e,_0x26145f._0x402b9d)](_0xeaf20c));if(_0xeaf20c<=0x16d)return'm'+Math[_0x2bbac2(_0x26145f._0x5be5a0,0x5ba,_0x26145f._0x160b7c,0x56f)](_0xeaf20c/0x1e);function _0x2bbac2(_0x1e154d,_0x2afb63,_0xe6d674,_0x597fcb){return _0x511d68(_0x1e154d-0x12,_0x1e154d- -_0x1c6f15._0x482db6,_0xe6d674-_0x1c6f15._0x26a350,_0x2afb63);}function _0x4b202e(_0xd46100,_0x285872,_0x26be07,_0xa831b3){return _0x511d68(_0xd46100-_0x59ec28._0x486ce4,_0xd46100- -0x2b9,_0x26be07-0xce,_0xa831b3);}return'y'+Math['ceil'](_0xeaf20c/0x16d);}function addSiteFilters(_0x7547e5,_0x2938dc){const _0x3c18f9={_0x26c9ef:0x396,_0x28a95a:0x482,_0x22351a:0x32d,_0x2b64dd:0x31d,_0x3e09cf:0x3b5,_0x40dea9:0x367,_0x45e9dd:0x4c7,_0x5d6017:0x4db,_0x49127a:0x380,_0x5c14ba:0x57e,_0x4a9766:0x5a8,_0x593fc8:0x55e,_0xb96ad:0x5d5,_0x2c0dde:0x3d7},_0x34b1f5={_0x55b223:0x8b},_0x31065d={_0xee5a6:0xf4,_0x234969:0x103};if(_0x2938dc[_0x4f7dc0(_0x3c18f9._0x26c9ef,_0x3c18f9._0x28a95a,_0x3c18f9._0x22351a,_0x3c18f9._0x2b64dd)]===0x0)return _0x7547e5[_0xf0b4a9(_0x3c18f9._0x3e09cf,0x397,0x46d,0x241)]();function _0xf0b4a9(_0x5f0eee,_0x217cd5,_0x44f556,_0x43ff4d){return _0x511d68(_0x5f0eee-_0x31065d._0xee5a6,_0x217cd5- -0x1dc,_0x44f556-_0x31065d._0x234969,_0x5f0eee);}function _0x4f7dc0(_0x1252ba,_0x135675,_0x12708f,_0x1e8d99){return _0x511d68(_0x1252ba-_0x34b1f5._0x55b223,_0x135675- -0x8c,_0x12708f-0x1e3,_0x1e8d99);}return(_0x7547e5+'\x20('+_0x2938dc[_0x4f7dc0(_0x3c18f9._0x40dea9,_0x3c18f9._0x45e9dd,_0x3c18f9._0x5d6017,_0x3c18f9._0x49127a)](_0x5d0ddb=>'site:'+_0x5d0ddb)[_0x4f7dc0(0x75a,0x66a,0x535,_0x3c18f9._0x5c14ba)](_0x4f7dc0(_0x3c18f9._0x4a9766,_0x3c18f9._0x593fc8,_0x3c18f9._0xb96ad,0x64f))+')')[_0xf0b4a9(0x24a,0x397,_0x3c18f9._0x2c0dde,0x41f)]();}function normalizeType(_0x1a2ba6){const _0x332053={_0x450c4f:0x780,_0x111772:0x71c,_0x5e5c78:0x762},_0x563b8b={_0x493ac9:0x122,_0x559e6c:0x4d},_0x469df8={_0x44a693:0x1d1};function _0x81736d(_0x351e00,_0x319fa4,_0xc91f26,_0xb6c7bb){return _0x475ba1(_0x351e00,_0x319fa4-0x5d7,_0xc91f26-0xd9,_0xb6c7bb-_0x469df8._0x44a693);}function _0x4709ae(_0x484f55,_0x4c7277,_0x51cfb6,_0x4f355c){return _0x475ba1(_0x484f55,_0x51cfb6-0x33a,_0x51cfb6-_0x563b8b._0x493ac9,_0x4f355c-_0x563b8b._0x559e6c);}return _0x1a2ba6==='images'?_0x81736d(0x7fe,_0x332053._0x450c4f,_0x332053._0x111772,0x6f1):_0x81736d(0x79f,0x7c9,_0x332053._0x5e5c78,0x8a2);}async function fetchJson(_0x49ab1d,_0x2fcc3a,_0x8ffce8){const _0x1a20c7={_0x1efd1a:0x5cc,_0x58de02:0x671,_0x2bcc97:0x680,_0x45a868:0x791,_0x5f009b:0x6f3,_0x397ae5:0x6bc,_0x1c3a17:0x609,_0x421d8c:0x430,_0x907fd3:0x683,_0x36e04b:0x654,_0x15f222:0x7d5,_0x23cb6f:0x89b,_0x3b22b6:0x718,_0x430f53:0x3fd,_0x30292d:0x6da,_0x11ccf1:0x608,_0x1c669e:0x548,_0x7ac3fb:0x507,_0x14898f:0x618,_0x5a6b9f:0x5e7,_0x59d655:0x480,_0x537cbc:0x6bc,_0x32bfcb:0x6ad,_0x10e059:0x7da,_0x16440f:0x6a2,_0x3d8114:0x56f,_0x3b59b4:0x3fa},_0x277209={_0x2c364a:0x2c},_0x14f786={_0x591866:0x89,_0x2fa4f6:0x13f};function _0x123de4(_0x1946c7,_0x375c3e,_0x4d1b6a,_0x18d9ba){return _0x475ba1(_0x1946c7,_0x4d1b6a-0x4fc,_0x4d1b6a-_0x14f786._0x591866,_0x18d9ba-_0x14f786._0x2fa4f6);}const _0x3feb08=await fetch(_0x49ab1d,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x8ffce8?.['headers']},'signal':_0x2fcc3a,..._0x8ffce8});if(!_0x3feb08['ok']){let _0xfd9144,_0x4b06aa;try{_0xfd9144=await _0x3feb08[_0x23b73a(0x680,_0x1a20c7._0x1efd1a,_0x1a20c7._0x58de02,_0x1a20c7._0x2bcc97)]();const _0x39514f=JSON[_0x23b73a(_0x1a20c7._0x45a868,_0x1a20c7._0x5f009b,_0x1a20c7._0x397ae5,0x673)](_0xfd9144),_0x375b24=typeof _0x39514f[_0x23b73a(_0x1a20c7._0x1c3a17,0x4c6,0x3f3,0x46d)]==='object'?_0x39514f[_0x23b73a(0x343,0x4c6,_0x1a20c7._0x421d8c,0x645)][_0x23b73a(0x753,_0x1a20c7._0x907fd3,_0x1a20c7._0x36e04b,_0x1a20c7._0x15f222)]:void 0x0;_0x4b06aa=_0x39514f[_0x123de4(0x877,_0x1a20c7._0x23cb6f,_0x1a20c7._0x3b22b6,0x7b7)]?.[_0x23b73a(_0x1a20c7._0x430f53,0x573,0x550,0x414)]??_0x39514f[_0x123de4(0x734,_0x1a20c7._0x30292d,0x718,_0x1a20c7._0x30292d)]?.['errors']?.[0x0]?.[_0x123de4(0x729,0x499,_0x1a20c7._0x11ccf1,0x66b)]??_0x375b24;}catch{}const _0x1750f8=_0x4b06aa?_0x23b73a(_0x1a20c7._0x1c669e,0x450,_0x1a20c7._0x7ac3fb,0x4aa)+_0x3feb08[_0x23b73a(0x49d,0x618,0x62a,0x6c2)]+':\x20'+_0x4b06aa:'HTTP\x20'+_0x3feb08[_0x23b73a(0x6a6,_0x1a20c7._0x14898f,0x4b2,_0x1a20c7._0x5a6b9f)]+'\x20'+_0x3feb08[_0x23b73a(0x4ab,0x5c6,_0x1a20c7._0x59d655,_0x1a20c7._0x537cbc)];throw new ToolExecutionError(_0x1750f8,{'statusCode':_0x3feb08[_0x123de4(0x819,0x7f0,_0x1a20c7._0x32bfcb,_0x1a20c7._0x10e059)],..._0xfd9144?{'body':_0xfd9144}:{}});}function _0x23b73a(_0x4a7bfe,_0x33fb75,_0xd5c1b0,_0x3d9fee){return _0x475ba1(_0x3d9fee,_0x33fb75-0x467,_0xd5c1b0-0x1f2,_0x3d9fee-_0x277209._0x2c364a);}return await _0x3feb08[_0x123de4(_0x1a20c7._0x16440f,0x5fb,_0x1a20c7._0x3d8114,_0x1a20c7._0x3b59b4)]();}async function hydrateResults(_0x4a1a2f,_0x596db3,_0x202fc4,_0xdd2d13){const _0x5a2213={_0x1a567d:0x63e,_0x410b53:0x7bf,_0x4eb42a:0x5f0,_0x5641db:0x6e8,_0x232317:0x7ef,_0x4e0e1a:0x830,_0x1df520:0x456,_0x22ff02:0x4f3,_0x5705ef:0x78b},_0x42327e={_0x1ce062:0x439,_0x417dfe:0x5ab,_0x5c1c9c:0x9,_0x318672:0x9e,_0x594c74:0x6a5,_0x30ea1d:0x61f,_0x40ea1f:0x65f,_0x67c821:0x18e,_0x36e252:0xd1,_0x4f996e:0x654,_0x24bb11:0x62b,_0x20683c:0x67c,_0x5e983b:0x4e1,_0x1ab8a1:0x5ae,_0x51beab:0x5a7,_0x165e70:0x585,_0x317eb7:0x53d,_0x301c28:0x653,_0x1ef480:0x13e,_0x3b2595:0x82,_0x35df2e:0x7b,_0x158190:0xf9,_0x46e34c:0x40,_0x2fcd57:0x13a,_0x4bea9a:0x47,_0x3a12ad:0x53,_0x233f48:0x5e1,_0x541b64:0x21f,_0x5ed1d2:0x9f,_0x21a5b0:0x193,_0x2301c1:0x150,_0x2c0743:0xc7,_0x2f794d:0x102,_0x5c0961:0x70e,_0x296930:0x5b5,_0x2b5ca0:0x59a,_0xf4146e:0x43a,_0x5ffb2:0x5a5,_0x31128c:0x497,_0x57703a:0x72c,_0x52bd0c:0x601,_0x2bd53a:0x1b},_0x113ab2={_0x3e368c:0xa0,_0x3223d3:0x146,_0x4ff62d:0x104},_0x48f4b8={_0x30487e:0xd3},_0x2f3e5e={_0x2d026a:0x5e2};function _0x61f00b(_0x4efee7,_0x22b363,_0x5c20d0,_0x49f4d0){return _0x475ba1(_0x22b363,_0x4efee7-_0x2f3e5e._0x2d026a,_0x5c20d0-0xb3,_0x49f4d0-0xaf);}function _0x1966f6(_0x56d1b0,_0x1fcf74,_0x126bef,_0x380865){return _0x511d68(_0x56d1b0-_0x48f4b8._0x30487e,_0x56d1b0-0x108,_0x126bef-0x1bc,_0x380865);}const _0x59fd54=await Promise[_0x61f00b(_0x5a2213._0x1a567d,_0x5a2213._0x410b53,_0x5a2213._0x4eb42a,0x713)](_0x4a1a2f['slice'](0x0,0xa)[_0x61f00b(_0x5a2213._0x5641db,_0x5a2213._0x232317,0x776,_0x5a2213._0x4e0e1a)](async _0x2fd717=>{const _0x55fba3={_0x110057:0x5aa};function _0xc31024(_0x2a8b50,_0x21cf1a,_0x48586f,_0x1352eb){return _0x1966f6(_0x1352eb- -_0x113ab2._0x3e368c,_0x21cf1a-_0x113ab2._0x3223d3,_0x48586f-_0x113ab2._0x4ff62d,_0x2a8b50);}function _0x5f4d3f(_0x23ea8f,_0x415cc5,_0x5bc5cc,_0x235139){return _0x1966f6(_0x235139- -_0x55fba3._0x110057,_0x415cc5-0xb6,_0x5bc5cc-0x19c,_0x5bc5cc);}try{const _0x377c52=await safeFetch(_0x2fd717[_0xc31024(_0x42327e._0x1ce062,_0x42327e._0x417dfe,0x38a,0x497)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x596db3,'Accept':'text/html'},'signal':_0x202fc4},{'lookup':_0xdd2d13});if(!_0x377c52['ok'])return _0x2fd717;const _0x7b212e=await _0x377c52['text'](),_0xac55b1=load(_0x7b212e),_0x230c3e=_0xac55b1(_0x5f4d3f(0xa1,-0x8b,-_0x42327e._0x5c1c9c,-_0x42327e._0x318672))['attr'](_0x5f4d3f(0x16b,0x9b,0x19b,0x40))||_0xac55b1('title')[_0xc31024(_0x42327e._0x594c74,_0x42327e._0x30ea1d,0x4fd,_0x42327e._0x40ea1f)]()['text']()[_0x5f4d3f(_0x42327e._0x67c821,0x52,-0xb0,_0x42327e._0x36e252)](),_0x29b692=_0xac55b1(_0xc31024(_0x42327e._0x4f996e,0x510,0x771,_0x42327e._0x24bb11))['attr']('content')||_0xac55b1(_0xc31024(_0x42327e._0x20683c,0x442,_0x42327e._0x5e983b,_0x42327e._0x1ab8a1))[_0xc31024(0x638,_0x42327e._0x51beab,0x438,_0x42327e._0x165e70)]('content')||_0x2fd717[_0xc31024(_0x42327e._0x317eb7,_0x42327e._0x301c28,0x68d,0x5bc)],_0x4737fe=_0xac55b1(_0x5f4d3f(_0x42327e._0x1ef480,-0xd4,-_0x42327e._0x3b2595,0x8e))[_0x5f4d3f(0x107,0x43,0x106,_0x42327e._0x35df2e)](_0x5f4d3f(-_0x42327e._0x158190,-0xc3,0x51,_0x42327e._0x46e34c))||_0xac55b1(_0x5f4d3f(-_0x42327e._0x2fcd57,0x49,-_0x42327e._0x4bea9a,-_0x42327e._0x3a12ad))[_0xc31024(0x4ba,_0x42327e._0x233f48,0x632,0x585)]('datetime')||_0x2fd717[_0x5f4d3f(0x1c5,_0x42327e._0x541b64,_0x42327e._0x5ed1d2,_0x42327e._0x21a5b0)],_0x4a20c0=_0xac55b1(_0x5f4d3f(_0x42327e._0x2301c1,0x174,-0x1d,0x34))[_0x5f4d3f(-0x9f,-_0x42327e._0x2c0743,_0x42327e._0x2f794d,0x7b)](_0xc31024(_0x42327e._0x5c0961,_0x42327e._0x296930,0x50c,_0x42327e._0x2b5ca0));return{..._0x2fd717,'title':_0x230c3e||_0x2fd717['title'],'snippet':_0x29b692,'url':_0x4a20c0?normalizeUrl(new URL(_0x4a20c0,_0x2fd717[_0xc31024(0x54b,_0x42327e._0xf4146e,_0x42327e._0x5ffb2,_0x42327e._0x31128c)])[_0xc31024(_0x42327e._0x57703a,0x492,0x549,_0x42327e._0x52bd0c)]()):_0x2fd717[_0x5f4d3f(-0x10f,_0x42327e._0x2bd53a,0x40,-0x73)],'publishedAt':_0x4737fe};}catch{return _0x2fd717;}})),_0x35151f=new Map(_0x4a1a2f[_0x1966f6(0x5a2,0x64a,0x690,_0x5a2213._0x1df520)](0x0,0xa)[_0x1966f6(0x65b,0x62e,_0x5a2213._0x22ff02,_0x5a2213._0x5705ef)]((_0x1d75fb,_0x9f8c6)=>[_0x1d75fb[_0x1966f6(0x537,0x4ea,0x56f,0x5bd)],_0x59fd54[_0x9f8c6]]));return _0x4a1a2f[_0x1966f6(0x65b,0x778,0x5ff,0x56c)](_0x3ce7d9=>_0x35151f['get'](_0x3ce7d9[_0x61f00b(0x5c4,0x555,0x4fd,0x4c1)])??_0x3ce7d9);}function formatResults(_0x14d29a){const _0x3d2ef5={_0x4e6948:0x51,_0x112a09:0xdc,_0x338e76:0x56,_0x4e6ef7:0x94,_0x5e4329:0xd9,_0x44edfa:0xac,_0x320d4f:0xfd,_0x569a46:0xca},_0x166687={_0x3b7c5b:0x479,_0x4fcd6f:0x1fd,_0x59e09e:0x493,_0x3a188d:0x143,_0x3ffb58:0x508,_0x569e51:0x543,_0x15e7a9:0x5ce,_0x4291c4:0x488,_0x4be885:0x677},_0x3a1fd9={_0x55307c:0x13d,_0x56dd2e:0xec},_0x19f055={_0x231270:0x117,_0x3ac76a:0x1e3,_0x274b6c:0x55},_0x41d040={_0x4e25ba:0x1df};function _0x2811f8(_0x29d695,_0x6f7ca1,_0x38367c,_0x338a80){return _0x475ba1(_0x6f7ca1,_0x38367c- -_0x41d040._0x4e25ba,_0x38367c-0x1cb,_0x338a80-0x17d);}if(_0x14d29a[_0x2211d7(-0x188,_0x3d2ef5._0x4e6948,_0x3d2ef5._0x112a09,-_0x3d2ef5._0x338e76)]===0x0)return'No\x20results\x20found.';function _0x2211d7(_0x535651,_0xede3cf,_0x36c333,_0x4d0f55){return _0x475ba1(_0x36c333,_0x4d0f55- -_0x19f055._0x231270,_0x36c333-_0x19f055._0x3ac76a,_0x4d0f55-_0x19f055._0x274b6c);}return _0x14d29a[_0x2811f8(-_0x3d2ef5._0x4e6ef7,-0x236,-_0x3d2ef5._0x5e4329,_0x3d2ef5._0x44edfa)](_0xe1d34=>{const _0x267379={_0x1baca3:0x1e1},_0x2ae968=[_0xe1d34[_0x5f3cfa(_0x166687._0x3b7c5b,0x546,0x457,0x379)][_0x5f3cfa(0x3d9,0x390,0x2ad,0x313)]+'.\x20'+_0xe1d34['title'],_0xe1d34[_0x5f3cfa(0x2b3,0x125,0x27d,_0x166687._0x4fcd6f)]];function _0x5f3cfa(_0x2aa463,_0x1eb831,_0x41db7e,_0x3cc132){return _0x2211d7(_0x2aa463-_0x3a1fd9._0x55307c,_0x1eb831-_0x3a1fd9._0x56dd2e,_0x2aa463,_0x41db7e-0x3b2);}if(_0xe1d34[_0x418d07(0x508,0x49f,0x4e0,_0x166687._0x59e09e)])_0x2ae968[_0x5f3cfa(0x294,0x136,0x265,_0x166687._0x3a188d)](_0xe1d34[_0x418d07(_0x166687._0x3ffb58,_0x166687._0x569e51,0x466,0x3b9)]);function _0x418d07(_0x439566,_0xfa8949,_0x50f77d,_0x28dcc5){return _0x2811f8(_0x439566-0x20,_0x28dcc5,_0x439566-0x5e0,_0x28dcc5-_0x267379._0x1baca3);}if(_0xe1d34['publishedAt'])_0x2ae968['push'](_0x5f3cfa(_0x166687._0x15e7a9,0x416,0x46f,0x33e)+_0xe1d34[_0x5f3cfa(_0x166687._0x4291c4,0x5db,0x483,0x577)]);return _0x2ae968[_0x5f3cfa(0x3fc,0x5fe,0x544,_0x166687._0x4be885)]('\x0a');})[_0x2811f8(0x1e0,_0x3d2ef5._0x320d4f,_0x3d2ef5._0x569a46,-0x63)]('\x0a\x0a');}async function searchOllama(_0x18be71,_0x495f4d,_0x5f0597){const _0x1c32c6={_0x282aa2:0x30f,_0xbed777:0x1c3,_0x26c8be:0x297,_0x40dab7:0x219,_0x5de390:0x19f,_0x486cec:0x224,_0x43619c:0x396,_0x3aeced:0x443,_0x2654cd:0x2ac,_0x447745:0x306,_0x17b019:0x255,_0x49c2d0:0x21a,_0x358214:0x12d,_0x27ca6e:0x24f,_0x176dfc:0xe4,_0x1d5675:0x2b9,_0x264bb7:0x4a4,_0x5c566b:0x318,_0x4c6135:0x311,_0xa46453:0x115,_0x3188cd:0x27d,_0x691329:0x1df,_0x278ab6:0x3c1,_0x32f6c9:0x2e4,_0x15cd0c:0x413,_0x2919be:0x44c},_0x5e0ff9={_0x467f5b:0x1ac},_0x5d2454={_0x29881c:0x627,_0x492adb:0x61a,_0x1819c9:0x87d,_0x1720f0:0x6ed,_0x35affd:0x5cf,_0x2d4602:0x53b,_0x47b3d6:0x540,_0x49c5e7:0x1fc},_0x26c6f3={_0x346326:0x9,_0x208cb9:0x557},_0x35bb3a={_0x1511c0:0x63,_0x16fcb3:0xef},_0x455510=Math[_0x3864e9(0x24d,0x1f3,_0x1c32c6._0x282aa2,0xff)](0x1,Math[_0x3864e9(_0x1c32c6._0xbed777,_0x1c32c6._0x26c8be,0x219,_0x1c32c6._0x40dab7)](0xa,_0x495f4d[_0x3864e9(_0x1c32c6._0x5de390,_0x1c32c6._0x486cec,_0x1c32c6._0x43619c,0x31e)]));function _0x4ed0a8(_0x243ccf,_0x4eb3e0,_0xd36d5,_0x2f0983){return _0x511d68(_0x243ccf-_0x35bb3a._0x1511c0,_0xd36d5- -0xd9,_0xd36d5-_0x35bb3a._0x16fcb3,_0x243ccf);}const _0x1a8adb=addSiteFilters(_0x495f4d['query'],_0x495f4d[_0x4ed0a8(0x5a4,0x43a,_0x1c32c6._0x3aeced,0x3bf)]),_0x52d598=await fetchJson(_0x3864e9(0x28c,_0x1c32c6._0x2654cd,0x1f2,0x29f),_0x5f0597,{'method':_0x3864e9(_0x1c32c6._0x447745,_0x1c32c6._0x17b019,_0x1c32c6._0x49c2d0,0x3b3),'headers':{'Authorization':_0x3864e9(_0x1c32c6._0x358214,_0x1c32c6._0x27ca6e,_0x1c32c6._0x176dfc,0x22e)+_0x18be71[_0x3864e9(_0x1c32c6._0x1d5675,0x3eb,_0x1c32c6._0x264bb7,0x439)]},'body':JSON[_0x3864e9(_0x1c32c6._0x5c566b,0x37b,_0x1c32c6._0x4c6135,0x392)]({'query':_0x1a8adb,'max_results':_0x455510})}),_0x5e349b=_0x52d598['results']??[],_0x1d6ea1=_0x5e349b[_0x3864e9(_0x1c32c6._0xa46453,0x26d,_0x1c32c6._0x3188cd,_0x1c32c6._0x691329)]((_0x33b91e,_0x4a1c8f)=>{const _0x413a5a={_0x776fad:0x67},_0x1bcb72=_0x33b91e['url']||'';function _0x269b7d(_0x5a1f09,_0x1b56a8,_0x2ef5d9,_0xe5ef7f){return _0x4ed0a8(_0x2ef5d9,_0x1b56a8-_0x413a5a._0x776fad,_0xe5ef7f-0x196,_0xe5ef7f-0x111);}let _0x11821e;try{_0x11821e=new URL(_0x1bcb72)[_0x269b7d(_0x5d2454._0x29881c,0x59c,0x65f,0x6ec)];}catch{_0x11821e=null;}function _0x2303cf(_0x28e433,_0x419222,_0x2b34bf,_0x207f64){return _0x4ed0a8(_0x28e433,_0x419222-_0x26c6f3._0x346326,_0x2b34bf- -_0x26c6f3._0x208cb9,_0x207f64-0xfa);}return{'title':_0x33b91e[_0x269b7d(_0x5d2454._0x492adb,_0x5d2454._0x1819c9,_0x5d2454._0x1720f0,0x73d)]||_0x269b7d(0x62a,_0x5d2454._0x35affd,0x584,_0x5d2454._0x2d4602),'url':normalizeUrl(_0x1bcb72),'snippet':_0x33b91e[_0x269b7d(0x539,0x5d7,_0x5d2454._0x47b3d6,0x59f)]??null,'displayUrl':_0x11821e,'favicon':null,'publishedAt':null,'source':{'engine':_0x2303cf(-_0x5d2454._0x49c5e7,-0x212,-0x10b,-0x39),'rank':_0x4a1c8f+0x1}};});function _0x3864e9(_0x576fb5,_0x14e3aa,_0x569b17,_0x20c15b){return _0x475ba1(_0x569b17,_0x14e3aa-0x167,_0x569b17-_0x5e0ff9._0x467f5b,_0x20c15b-0x198);}return{'items':_0x1d6ea1[_0x4ed0a8(0x2c0,0x45a,_0x1c32c6._0x278ab6,_0x1c32c6._0x32f6c9)](0x0,_0x455510),'engine':_0x4ed0a8(_0x1c32c6._0x15cd0c,0x428,_0x1c32c6._0x2919be,0x5ab)};}async function searchTavily(_0xb41a25,_0x1add7e,_0x47ea41){const _0x3b52cc={_0x41a8c5:0x288,_0x5196ab:0x143,_0x8a9bda:0xa9,_0x582f81:0x94,_0x33e0d4:0x51a,_0x51f7ca:0x57e,_0x232ff3:0x1e4,_0x3a2637:0x142,_0x38d28a:0xca,_0xf3c163:0x15f,_0x4e5547:0x1f1,_0x56f411:0x7a,_0x124bf0:0x166,_0x3bedbd:0xf0,_0x148be7:0x44,_0x484955:0xcf,_0x49ff6d:0x72c,_0x2eab4d:0x69a,_0x3ed61b:0x71a,_0x40dbf1:0x5e5,_0x409c19:0x525,_0x1148dc:0x1a4,_0x59d235:0x181,_0x1410bc:0x53c,_0x3f1e96:0x69a,_0x4b2ae8:0x59c,_0x511bce:0x68f,_0x4dd826:0xe1,_0x5eb3dd:0x58b,_0x269b4d:0x599,_0x19117f:0x194,_0x1bdbad:0xfd,_0x25b5d7:0xf3,_0x2d1099:0x793,_0x3de500:0x892,_0x30a090:0x618,_0x43a50e:0x721},_0x1a3634={_0x5e6fc9:0x2ef},_0x4d529c={_0x12a53c:0x1ec},_0x3e7857={_0x82c7f8:0x1cf,_0x52fac1:0x1a4},_0x1ef792={_0x43b05e:0x17b,_0x2b670f:0xba},_0x493185=Math[_0x3e3986(-0x11d,-_0x3b52cc._0x41a8c5,-_0x3b52cc._0x5196ab,-0x12c)](0x1,Math[_0x3e3986(-_0x3b52cc._0x8a9bda,0xd3,-0x9f,-_0x3b52cc._0x582f81)](0x14,_0x1add7e[_0xfba433(0x7a7,0x688,_0x3b52cc._0x33e0d4,_0x3b52cc._0x51f7ca)])),_0x4811bd={'query':_0x1add7e['query'],'max_results':_0x493185,'search_depth':_0xb41a25[_0x3e3986(_0x3b52cc._0x232ff3,_0x3b52cc._0x3a2637,_0x3b52cc._0x38d28a,_0x3b52cc._0xf3c163)]??_0x3e3986(-_0x3b52cc._0x4e5547,-_0x3b52cc._0x56f411,-0x1e7,-_0x3b52cc._0x124bf0),'topic':_0xb41a25[_0x3e3986(0xb,-_0x3b52cc._0x3bedbd,-_0x3b52cc._0x148be7,_0x3b52cc._0x484955)]??_0xfba433(_0x3b52cc._0x49ff6d,0x759,0x80a,0x865)};if(_0x1add7e[_0xfba433(0x625,_0x3b52cc._0x2eab4d,_0x3b52cc._0x3ed61b,_0x3b52cc._0x40dbf1)][_0xfba433(0x511,0x68c,_0x3b52cc._0x409c19,0x621)]>0x0)_0x4811bd[_0x3e3986(-0x30e,-0xbd,-_0x3b52cc._0x1148dc,-_0x3b52cc._0x59d235)]=_0x1add7e[_0xfba433(_0x3b52cc._0x1410bc,_0x3b52cc._0x3f1e96,_0x3b52cc._0x4b2ae8,_0x3b52cc._0x511bce)];const _0x39adfb=await fetchJson('https://api.tavily.com/search',_0x47ea41,{'method':_0x3e3986(-0x211,0x4,-_0x3b52cc._0x4dd826,-0x23f),'headers':{'Authorization':_0xfba433(_0x3b52cc._0x5eb3dd,0x6b3,0x81f,_0x3b52cc._0x269b4d)+_0xb41a25['tavilyApiKey'],'Content-Type':'application/json'},'body':JSON[_0x3e3986(_0x3b52cc._0x19117f,_0x3b52cc._0x1bdbad,0x45,_0x3b52cc._0x25b5d7)](_0x4811bd)});function _0xfba433(_0x44d36d,_0x46843a,_0x444149,_0x2f8482){return _0x511d68(_0x44d36d-_0x1ef792._0x43b05e,_0x46843a-0x17e,_0x444149-_0x1ef792._0x2b670f,_0x44d36d);}function _0x3e3986(_0x2873fe,_0x3413a4,_0x59f44e,_0x395506){return _0x475ba1(_0x2873fe,_0x59f44e- -_0x3e7857._0x82c7f8,_0x59f44e-_0x3e7857._0x52fac1,_0x395506-0x140);}const _0x290d01=_0x39adfb[_0xfba433(0x84f,_0x3b52cc._0x2d1099,_0x3b52cc._0x3de500,0x72c)]??[],_0x5bfefd=_0x290d01[_0x3e3986(-0x1ac,-0xc0,-0xc9,0x69)]((_0x2c941f,_0x2c5b9a)=>{const _0x2e8ac4={_0x433ea2:0x58};function _0x473f38(_0x3b7181,_0x4a9a43,_0x388b82,_0x4d67a9){return _0x3e3986(_0x388b82,_0x4a9a43-0xe,_0x4a9a43-0x2ed,_0x4d67a9-_0x4d529c._0x12a53c);}const _0x15bd2e=_0x2c941f['url']||'';let _0x423715;function _0x427fba(_0x242ea1,_0x171210,_0x201515,_0x111384){return _0xfba433(_0x171210,_0x111384- -0x6bb,_0x201515-_0x2e8ac4._0x433ea2,_0x111384-0x159);}try{_0x423715=new URL(_0x15bd2e)['host'];}catch{_0x423715=null;}return{'title':_0x2c941f['title']||_0x473f38(0x2d2,0x14f,0x24c,0x1bc),'url':normalizeUrl(_0x15bd2e),'snippet':_0x2c941f['content']??null,'displayUrl':_0x423715,'favicon':null,'publishedAt':null,'source':{'engine':_0x473f38(0x1ec,_0x1a3634._0x5e6fc9,0x220,0x198),'rank':_0x2c5b9a+0x1}};});return{'items':_0x5bfefd[_0xfba433(0x5f5,_0x3b52cc._0x30a090,0x5c1,_0x3b52cc._0x43a50e)](0x0,_0x493185),'engine':'tavily'};}async function searchGoogleCse(_0x5a354e,_0x50d113,_0x588cd8){const _0x39a61b={_0x4e001f:0x12,_0x5d52f4:0x27,_0x1b3fca:0x4fc,_0x8ca894:0x510,_0x4d6ec2:0x1d0,_0x36c1b1:0x7c,_0x2ef4a0:0x58,_0x114e69:0x5d4,_0x178d51:0x5ef,_0x2943f7:0x4cd,_0x117def:0x434,_0x240c4:0x745,_0x2859fd:0x6b2,_0x506e40:0x5f4,_0x3e2bcc:0x5cb,_0x4be6ea:0x4b3,_0x274581:0xf1,_0x27f365:0xfb,_0x2c6d6d:0xa5,_0x540231:0x82d,_0x4885e3:0x688,_0x28d527:0x5f5,_0x5849eb:0x29f,_0xfd43f5:0x1f7,_0x3db22e:0x6e7,_0x2443c2:0x75e,_0x4206c0:0x716,_0x153dab:0x239,_0x5e5cbf:0x163,_0xa0a0a1:0x68,_0x45c28f:0x896,_0x4eb8d4:0x810,_0x3dabe4:0x855,_0x330088:0x7c6,_0x5259ac:0x667,_0xce02e:0x81e,_0x72269c:0x359,_0x30b146:0x193,_0x3b9a58:0xc6,_0x4739e3:0x92,_0x2b9792:0x92,_0x1d489a:0x700,_0x394333:0x682,_0x54db81:0x60a,_0x24f9a0:0x651,_0x2aac0c:0x69c,_0x2d10d9:0x630,_0xeeade2:0x719,_0x210829:0x638,_0x3caefd:0x70d,_0x24d3ae:0x47c,_0x45a4aa:0x5d8,_0x1b8bee:0x721,_0x3f0a8d:0x1de,_0x5e47a6:0x521,_0x145596:0x593,_0xa5c0dc:0x68d,_0x580274:0x637,_0x35c073:0x5a4,_0x15d7cb:0x6dd,_0x357333:0x621,_0x2ce0a5:0x711,_0x4b2b08:0x670,_0xeec4a3:0x66c,_0xcd159d:0x275,_0x4751b0:0x144,_0x5c05d4:0x2bd,_0x431c11:0x1e7,_0x11a3c6:0x2a0,_0x44b993:0x98,_0x4f11ac:0x4b,_0x4e6966:0x8e,_0x1c1a95:0x739,_0xb827f3:0x7c0,_0x328bb2:0x634,_0x400576:0x7e7,_0x220a36:0x55c,_0x118c86:0x564,_0x40619f:0x524,_0x2ed47b:0x58e,_0x5a7247:0x437,_0x2f2072:0x56a,_0x4f970f:0x5ad,_0x400fec:0x10f,_0x157f85:0x1ce,_0x5321ad:0x5b8,_0xca1166:0x83a,_0x4e1ef2:0x6e6,_0x164f87:0x80,_0x205fff:0xf8,_0x3761a1:0x34,_0x19489e:0x602,_0x2c3a8d:0x613,_0x416b0d:0x5a8,_0x51bd66:0x4af,_0x59558f:0x2f6,_0x52d1c9:0x13c,_0x243556:0x24d,_0x10005f:0x51,_0x40f04f:0x6,_0x23722e:0x74,_0x1e3eba:0x9b,_0x53d1bc:0x18b,_0x326312:0x20,_0x24dedb:0x40f,_0x54c426:0x47a,_0x5888db:0x4de,_0x204577:0xce,_0x4e8a8b:0x5c,_0x564ec6:0x428},_0x41f93a={_0x244c3f:0x49b,_0xc84fa2:0x7a},_0x1cba82={_0x481438:0x6},_0x42c0ff=Math[_0x4d8ccf(-_0x39a61b._0x4e001f,-0x14a,0x2c,_0x39a61b._0x5d52f4)](0x1,Math[_0x27432e(_0x39a61b._0x1b3fca,0x5cb,0x6ef,_0x39a61b._0x8ca894)](0x32,_0x50d113[_0x4d8ccf(_0x39a61b._0x4d6ec2,_0x39a61b._0x36c1b1,-0x12c,_0x39a61b._0x2ef4a0)]));if(_0x50d113[_0x27432e(0x4eb,0x653,0x760,0x5bb)]+_0x42c0ff>0x64)throw new ToolExecutionError(_0x27432e(_0x39a61b._0x114e69,0x6e2,_0x39a61b._0x178d51,0x757),{'offset':_0x50d113['offset'],'count':_0x42c0ff,'maxResults':0x64});const _0x3cab75=cseDateRestrict(_0x50d113[_0x27432e(0x34a,_0x39a61b._0x2943f7,0x42e,_0x39a61b._0x117def)]);function _0x4d8ccf(_0x303e95,_0x8756e0,_0x2264af,_0x527d7b){return _0x475ba1(_0x303e95,_0x527d7b- -0x65,_0x2264af-0x15e,_0x527d7b-_0x1cba82._0x481438);}const _0x2898bc=addSiteFilters(_0x50d113[_0x27432e(0x57b,0x6eb,_0x39a61b._0x240c4,0x6b4)],_0x50d113[_0x27432e(_0x39a61b._0x2859fd,0x56a,0x419,0x565)]);let _0x234b18=0x0,_0x5bd7f0=_0x50d113['offset']+0x1;function _0x27432e(_0x4b7e25,_0x3bba7f,_0x4fe338,_0x1eb53c){return _0x475ba1(_0x1eb53c,_0x3bba7f-_0x41f93a._0x244c3f,_0x4fe338-0x1e5,_0x1eb53c-_0x41f93a._0xc84fa2);}const _0x54cf0f=[];while(_0x234b18<_0x42c0ff){const _0x2dd520=Math[_0x27432e(_0x39a61b._0x506e40,_0x39a61b._0x3e2bcc,_0x39a61b._0x4be6ea,0x73f)](0xa,_0x42c0ff-_0x234b18),_0x4e2595=new URL(_0x4d8ccf(_0x39a61b._0x274581,_0x39a61b._0x27f365,0xe4,_0x39a61b._0x2c6d6d));_0x4e2595[_0x4d8ccf(0x75,0x228,0x91,0x1e7)][_0x27432e(0x6d0,0x739,_0x39a61b._0x540231,0x61f)](_0x27432e(0x62d,_0x39a61b._0x4885e3,_0x39a61b._0x28d527,0x565),_0x5a354e[_0x4d8ccf(_0x39a61b._0x5849eb,0x11f,_0x39a61b._0xfd43f5,0x159)]),_0x4e2595[_0x27432e(0x740,_0x39a61b._0x3db22e,_0x39a61b._0x2443c2,_0x39a61b._0x4206c0)][_0x4d8ccf(0x158,0x1cc,0x1e1,_0x39a61b._0x153dab)]('cx',_0x5a354e['googleCseCx']),_0x4e2595[_0x4d8ccf(_0x39a61b._0x5e5cbf,0x9b,_0x39a61b._0xa0a0a1,0x1e7)][_0x27432e(_0x39a61b._0x45c28f,0x739,0x663,_0x39a61b._0x4eb8d4)]('q',_0x2898bc),_0x4e2595[_0x27432e(_0x39a61b._0x3dabe4,0x6e7,_0x39a61b._0x330088,_0x39a61b._0x5259ac)][_0x27432e(0x82d,0x739,_0x39a61b._0xce02e,0x5b6)]('num',String(_0x2dd520)),_0x4e2595[_0x4d8ccf(_0x39a61b._0x72269c,_0x39a61b._0x30b146,0x203,0x1e7)][_0x4d8ccf(0x2ba,0x153,0x2de,0x239)](_0x4d8ccf(_0x39a61b._0x3b9a58,-_0x39a61b._0x4739e3,-0x65,-_0x39a61b._0x2b9792),String(_0x5bd7f0)),_0x4e2595[_0x27432e(_0x39a61b._0x1d489a,_0x39a61b._0x3db22e,0x5c7,_0x39a61b._0x394333)]['set']('safe',_0x50d113['safe']?_0x27432e(_0x39a61b._0x54db81,0x4ee,_0x39a61b._0x24f9a0,0x50f):'off');_0x50d113[_0x27432e(0x6c9,_0x39a61b._0x2aac0c,0x6e7,_0x39a61b._0x2d10d9)]&&(_0x4e2595['searchParams'][_0x4d8ccf(0x150,0x230,0x38a,0x239)]('hl',_0x50d113[_0x27432e(_0x39a61b._0xeeade2,0x69c,_0x39a61b._0x210829,_0x39a61b._0x3caefd)]),_0x4e2595['searchParams']['set']('lr',_0x27432e(_0x39a61b._0x24d3ae,_0x39a61b._0x45a4aa,_0x39a61b._0x1b8bee,0x53a)+_0x50d113[_0x4d8ccf(0x62,_0x39a61b._0x3f0a8d,0x19b,0x19c)]));if(_0x50d113[_0x27432e(_0x39a61b._0x5e47a6,_0x39a61b._0x145596,0x6a4,0x66f)])_0x4e2595[_0x27432e(_0x39a61b._0xa5c0dc,0x6e7,_0x39a61b._0x580274,_0x39a61b._0x35c073)][_0x27432e(0x6be,0x739,0x5d7,0x746)]('gl',_0x50d113[_0x27432e(_0x39a61b._0x15d7cb,_0x39a61b._0x145596,_0x39a61b._0x357333,0x555)]['toUpperCase']());if(_0x50d113[_0x27432e(_0x39a61b._0x2ce0a5,_0x39a61b._0x4b2b08,0x686,_0x39a61b._0xeec4a3)]===_0x4d8ccf(_0x39a61b._0xcd159d,0x63,-0xd,_0x39a61b._0x4751b0))_0x4e2595[_0x4d8ccf(_0x39a61b._0x5c05d4,0x1b3,0x2e0,_0x39a61b._0x431c11)][_0x4d8ccf(0x251,0xd7,_0x39a61b._0x11a3c6,_0x39a61b._0x153dab)](_0x4d8ccf(0x118,-_0x39a61b._0x44b993,0x1a,_0x39a61b._0x4f11ac),_0x4d8ccf(0x112,_0x39a61b._0x2c6d6d,0xfc,_0x39a61b._0x4e6966));if(_0x3cab75)_0x4e2595['searchParams'][_0x27432e(0x71e,_0x39a61b._0x1c1a95,_0x39a61b._0xb827f3,_0x39a61b._0x328bb2)](_0x27432e(0x3e0,0x4f4,0x522,0x5fd),_0x3cab75);const _0x148ffa=await fetchJson(_0x4e2595[_0x27432e(0x5da,0x5e7,0x545,0x46a)](),_0x588cd8),_0x37bffa=_0x148ffa[_0x27432e(0x5fd,0x66a,_0x39a61b._0x400576,0x69d)]??[];if(_0x37bffa[_0x27432e(0x519,_0x39a61b._0x220a36,0x698,0x507)]===0x0)break;const _0x238993=_0x234b18;for(let _0x46312b=0x0;_0x46312b<_0x37bffa[_0x27432e(0x4b1,0x55c,_0x39a61b._0x118c86,_0x39a61b._0x40619f)];_0x46312b++){const _0x2ff98e=_0x37bffa[_0x46312b];if(!_0x2ff98e)continue;const _0x511d19=_0x2ff98e['link']||_0x2ff98e[_0x27432e(0x47c,_0x39a61b._0x2ed47b,_0x39a61b._0x5a7247,0x59e)]?.[_0x27432e(_0x39a61b._0x2f2072,_0x39a61b._0x4f970f,0x6a0,0x568)]||'',_0x422878=_0x2ff98e[_0x4d8ccf(0xe1,0x25a,_0x39a61b._0x400fec,_0x39a61b._0x157f85)]||_0x2ff98e[_0x27432e(0x47f,0x58e,_0x39a61b._0x5321ad,0x45d)]?.[_0x27432e(0x5fc,0x6ce,_0x39a61b._0xca1166,_0x39a61b._0x4e1ef2)]||_0x4d8ccf(-_0x39a61b._0x164f87,-0x133,-_0x39a61b._0x205fff,-_0x39a61b._0x3761a1),_0x3d8201=_0x2ff98e[_0x27432e(0x715,0x5a2,_0x39a61b._0x19489e,_0x39a61b._0x2c3a8d)]||_0x2ff98e[_0x27432e(_0x39a61b._0x416b0d,0x55d,0x4c4,0x6ad)]?.[_0x27432e(0x518,0x48c,0x5e3,_0x39a61b._0x51bd66)](/<[^>]+>/g,''),_0x2160ca=_0x2ff98e[_0x4d8ccf(0x1cb,_0x39a61b._0x59558f,_0x39a61b._0x52d1c9,_0x39a61b._0x243556)]?.['metatags']?.[0x0]??{};let _0x324f39;try{_0x324f39=new URL(_0x511d19)['host'];}catch{_0x324f39=null;}_0x54cf0f[_0x4d8ccf(_0x39a61b._0x10005f,-_0x39a61b._0x40f04f,_0x39a61b._0x23722e,-_0x39a61b._0x1e3eba)]({'title':_0x422878,'url':normalizeUrl(_0x511d19),'snippet':_0x3d8201??null,'displayUrl':_0x324f39,'favicon':null,'publishedAt':_0x2160ca[_0x4d8ccf(_0x39a61b._0x53d1bc,-0x40,-0xed,_0x39a61b._0x326312)]||_0x2160ca['og:updated_time']||null,'source':{'engine':_0x4d8ccf(-0xd4,0x82,-0x6a,-0x77),'rank':_0x238993+_0x46312b+0x1}});}_0x234b18+=_0x37bffa[_0x27432e(_0x39a61b._0x24dedb,0x55c,_0x39a61b._0x54c426,_0x39a61b._0x5888db)],_0x5bd7f0+=_0x37bffa['length'];if(_0x37bffa[_0x4d8ccf(0x101,-_0x39a61b._0x204577,0x7c,_0x39a61b._0x4e8a8b)]<_0x2dd520)break;}return _0x54cf0f[_0x27432e(0x3b2,0x4e8,0x63c,_0x39a61b._0x564ec6)](0x0,_0x42c0ff);}function isGoogleCseEngine(_0x4bddf0){const _0x2580c2={_0x27b022:0x61f},_0x2d97db={_0xe6cc01:0x589,_0x593c5a:0x1db};function _0x28ad63(_0x19a63a,_0xdcca0d,_0x2ce264,_0x2274f0){return _0x475ba1(_0xdcca0d,_0x19a63a-_0x2d97db._0xe6cc01,_0x2ce264-_0x2d97db._0x593c5a,_0x2274f0-0x1d6);}return _0x28ad63(0x747,_0x2580c2._0x27b022,0x665,0x774)in _0x4bddf0;}function isOllamaEngine(_0x39bdba){const _0x47e7e5={_0x554a07:0x246},_0x3f0f78={_0x4137c2:0x1cf};function _0x3954fd(_0x4e4d0f,_0x45bf5f,_0x3d5193,_0x2006c4){return _0x511d68(_0x4e4d0f-0x6b,_0x3d5193- -0x586,_0x3d5193-_0x3f0f78._0x4137c2,_0x4e4d0f);}return _0x3954fd(0x271,_0x47e7e5._0x554a07,0x14b,0x243)in _0x39bdba;}function isTavilyEngine(_0x19cd6e){function _0x2fbd82(_0x1ea0a3,_0x141d42,_0x3af58a,_0x27adf7){return _0x511d68(_0x1ea0a3-0x126,_0x141d42- -0x7c,_0x3af58a-0x1e1,_0x27adf7);}return _0x2fbd82(0x3a2,0x4ea,0x3d8,0x483)in _0x19cd6e;}function createWebSearchTool(_0xc28a09){const _0x15337c={_0x5affee:0x603,_0x32499e:0x73e,_0x1beb38:0x410,_0x2db4bc:0x58d,_0x1e5334:0x4e3,_0x394f53:0x697,_0x2e2f22:0x5c1,_0x146281:0x6a9,_0x1f16a8:0x7c1,_0xc75692:0x3e5,_0x43d213:0x44c,_0x1914f1:0x505,_0x3bdd6c:0x576,_0xa55e10:0x530,_0x1ff21c:0x57b,_0x4ec21d:0x539,_0x43a391:0x7c4,_0x2ee20c:0x73a,_0x199d70:0x6d8,_0xddd87:0x71f,_0x55eb06:0x668,_0x27b2a7:0x81d,_0x3f5bd4:0x4f9,_0x12fc0a:0x732},_0x5e45a7={_0x437ef1:0x15e,_0x2f27f4:0x82,_0x518ad0:0x8f,_0x37aad8:0xf9,_0x987539:0x1c,_0x5c6e45:0x2cc,_0x57ff33:0x3f,_0x5c7ba6:0x1c4,_0x2fdd11:0x21b,_0x5777ca:0xa,_0x41811e:0x34,_0x4a309b:0xe0,_0x584451:0xd1,_0x4ba235:0x12e,_0xe92c50:0x163,_0xc5a203:0x1d3,_0x494518:0x75,_0xab8bb6:0x4f,_0x210c9a:0xe0,_0x4ecc17:0x27,_0x1cc875:0x1e2,_0x31a3a9:0x1c,_0x4f4590:0xc0,_0x58c45c:0x180,_0x3dbd9d:0x1a6,_0x1836e1:0x2e,_0x40adda:0xc9,_0x1eade9:0x54,_0x169599:0x1e3,_0x585abf:0x27,_0x3ffbf2:0x14d,_0x55d362:0xe,_0x37ca1a:0x138,_0x47dbd3:0x15f,_0x25e0ed:0x3d6,_0x239453:0x2a4,_0x3dcbc1:0x2e1,_0x5eba26:0x23e,_0x1ad761:0x1af,_0x132a6b:0x393,_0x1a628e:0x2b9,_0x5a8c98:0xbd,_0x453ad2:0x8f,_0x4fe635:0x14b,_0x58eee1:0x43b,_0x2f6fe4:0x262,_0x3b1916:0x2e1,_0x433f5d:0x1c8,_0x21ab70:0x17b,_0x34710a:0x263,_0x4f99c0:0x274,_0xc383ff:0x2ba,_0x3bb3a8:0x4,_0x103c57:0x11a,_0x19209d:0x223,_0x339541:0x1f2,_0x59279b:0x292,_0x4b2321:0x181,_0x1898cd:0x3c,_0x467742:0x1ba,_0x29ab11:0xe8,_0x349b8e:0x84,_0x56bea3:0xd2,_0x295dda:0xef,_0x115a09:0x13b,_0x339307:0x25d,_0xacc9fa:0x22,_0x3ff835:0x120,_0x1d3000:0xe2,_0x52985c:0x43,_0x169402:0x1ad,_0x2289ba:0x10c,_0x35f4af:0x197,_0x29349e:0x1f9,_0x238498:0xdb,_0x2591e9:0x43,_0x201240:0xa6,_0x5f103b:0x2c,_0x364c16:0x2dd,_0x28d03d:0x15b,_0x58c3ac:0x59,_0x1deebb:0x163,_0x5bae98:0x153,_0x546aee:0xb4,_0x22ee20:0xc6,_0x1573e3:0x3ad,_0x414a5f:0x295,_0x2985b7:0x0,_0x4a531e:0x1ad,_0x3f44da:0x4e,_0x5abd8d:0x22b,_0x5d1286:0xc7,_0x4e240b:0x71,_0x5e0433:0x18c,_0x1e456f:0x70,_0x5042d3:0x1a,_0x5e3d5f:0x8,_0x37b675:0x29f,_0x24cea0:0x155,_0xd0c372:0x16d,_0x16678e:0x1bc,_0x3760f7:0x2e4,_0x2bfe01:0x46e,_0x2138c3:0x487,_0xdd24d4:0x5,_0x1e5c07:0x9e,_0x250dbf:0xe1,_0x4baba9:0x344,_0x3cb4f0:0xeb,_0x36e553:0x24c,_0x43eef5:0x55,_0x3614f6:0x6e,_0x43d3cd:0xae},_0x4a7c26={_0x486ed5:0x116,_0x255522:0x510},_0x499612={_0xaee2be:0x1d7},_0xdfdb3f={_0x38e3dc:0x1ca};if(!_0xc28a09[_0x4365a3(0x58e,0x713,_0x15337c._0x5affee,_0x15337c._0x32499e)]||_0xc28a09[_0x52cd79(0x557,_0x15337c._0x1beb38,_0x15337c._0x2db4bc,_0x15337c._0x1e5334)]['length']===0x0)throw new Error(_0x4365a3(0x977,0x80d,0x968,0x930));function _0x52cd79(_0x30293b,_0x389cb5,_0x9e2e12,_0x468b5f){return _0x475ba1(_0x468b5f,_0x9e2e12-0x3fe,_0x9e2e12-_0xdfdb3f._0x38e3dc,_0x468b5f-0x1ab);}const _0x5da3bc=_0xc28a09['name']??_0x4365a3(_0x15337c._0x394f53,0x592,_0x15337c._0x2e2f22,_0x15337c._0x146281);function _0x4365a3(_0x54e793,_0x2c9979,_0x145122,_0x239805){return _0x475ba1(_0x54e793,_0x2c9979-0x584,_0x145122-0x14b,_0x239805-0x17a);}const _0x45e2c0=_0xc28a09[_0x4365a3(0x5a9,0x6d5,0x77d,_0x15337c._0x1f16a8)];return defineTool({'name':_0x5da3bc,'description':_0x52cd79(0x27c,0x295,_0x15337c._0xc75692,_0x15337c._0x43d213),'inputSchema':{'type':_0x52cd79(_0x15337c._0x1914f1,0x6a5,0x5c4,_0x15337c._0x3bdd6c),'properties':{'description':{'type':_0x52cd79(_0x15337c._0xa55e10,0x5cd,_0x15337c._0x1ff21c,0x411)},'query':{'type':_0x52cd79(_0x15337c._0x4ec21d,0x579,_0x15337c._0x1ff21c,0x6b0)},'count':{'type':_0x4365a3(_0x15337c._0x43a391,0x71f,_0x15337c._0x2ee20c,_0x15337c._0x199d70)},'offset':{'type':_0x4365a3(0x66d,_0x15337c._0xddd87,0x852,_0x15337c._0x55eb06)},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x4365a3(0x6b0,_0x15337c._0xddd87,0x662,_0x15337c._0x27b2a7)},'lang':{'type':'string'},'region':{'type':_0x52cd79(0x429,0x691,0x57b,0x4b5)},'safe':{'type':'boolean'},'type':{'type':'string'},'hydrateMeta':{'type':_0x52cd79(0x70a,_0x15337c._0x3f5bd4,0x5b7,0x564)}},'required':[_0x4365a3(_0x15337c._0x12fc0a,0x7d4,0x7ac,0x7ba)]},async *'execute'(_0x557a94,_0x4de193){const _0x3e26a6={_0x10f906:0x1ce,_0xdf355:0x3b,_0x22fb91:0x89,_0x33727a:0x2da,_0x3008e1:0x286,_0x3fef98:0x2b3,_0x557ae5:0x421,_0x2dafdf:0x486},_0x359e69={_0x32396c:0x1b9,_0x4ad913:0x3},_0x145c79=_0x557a94['query']['trim']();if(!_0x145c79)throw new ToolExecutionError(_0x3e646c(-_0x5e45a7._0x437ef1,-_0x5e45a7._0x2f27f4,_0x5e45a7._0x518ad0,-0x1e5));const _0x5c73d0={'query':_0x145c79,'count':Math[_0x26e014(_0x5e45a7._0x37aad8,0x179,_0x5e45a7._0x987539,0x120)](0x1,Math[_0x26e014(_0x5e45a7._0x5c6e45,0xec,_0x5e45a7._0x57ff33,_0x5e45a7._0x5c7ba6)](0x32,Math[_0x3e646c(-_0x5e45a7._0x2fdd11,-0x131,-0xf5,-_0x5e45a7._0x5777ca)](_0x557a94[_0x3e646c(-_0x5e45a7._0x41811e,-0x55,0xe3,-0xa4)]??0xa))),'offset':Math['max'](0x0,Math[_0x3e646c(0x6,-0x131,-_0x5e45a7._0x4a309b,-_0x5e45a7._0x584451)](_0x557a94['offset']??0x0)),'domains':_0x557a94[_0x26e014(_0x5e45a7._0x5777ca,0x29c,_0x5e45a7._0x4ba235,_0x5e45a7._0xe92c50)]??[],'recencyDays':Math['max'](0x0,Math[_0x26e014(0x80,_0x5e45a7._0xc5a203,0x171,_0x5e45a7._0x494518)](_0x557a94[_0x3e646c(-_0x5e45a7._0xab8bb6,-_0x5e45a7._0x210c9a,-_0x5e45a7._0x4ecc17,-_0x5e45a7._0x1cc875)]??0x0)),'lang':_0x557a94['lang']??'en','region':_0x557a94[_0x3e646c(_0x5e45a7._0x31a3a9,-0x1a,-_0x5e45a7._0x4f4590,-_0x5e45a7._0x58c45c)]??'','safe':_0x557a94[_0x3e646c(0x327,_0x5e45a7._0x3dbd9d,0x9f,0x27c)]??!![],'type':normalizeType(_0x557a94[_0x3e646c(0x125,0xc3,-_0x5e45a7._0x1836e1,_0x5e45a7._0x40adda)]),'hydrateMeta':_0x557a94[_0x26e014(-0x2,-_0x5e45a7._0x1eade9,_0x5e45a7._0x169599,0xe8)]??![]};let _0x1dfe14=[],_0x4de9a5=_0x3e646c(0x17c,_0x5e45a7._0x585abf,-_0x5e45a7._0x3ffbf2,-0x86);for(const _0x2bd1f2 of _0xc28a09[_0x3e646c(-_0x5e45a7._0x55d362,0x7d,_0x5e45a7._0x37ca1a,-0xa8)]){try{if(isGoogleCseEngine(_0x2bd1f2))_0x1dfe14=await searchGoogleCse(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(_0x5e45a7._0x47dbd3,_0x5e45a7._0x25e0ed,_0x5e45a7._0x239453,_0x5e45a7._0x3dcbc1)]),_0x4de9a5=_0x3e646c(-_0x5e45a7._0x5eba26,-0x124,-0x20d,-_0x5e45a7._0x1ad761);else{if(isOllamaEngine(_0x2bd1f2)){const _0x4a4e61=await searchOllama(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(0x35c,_0x5e45a7._0x132a6b,_0x5e45a7._0x1a628e,0x2e1)]);_0x1dfe14=_0x4a4e61[_0x3e646c(0x3c,_0x5e45a7._0x5a8c98,0x70,_0x5e45a7._0x453ad2)],_0x4de9a5=_0x4a4e61[_0x26e014(_0x5e45a7._0x4fe635,0x17a,_0x5e45a7._0x58eee1,0x2c2)];}else{if(isTavilyEngine(_0x2bd1f2)){const _0x397de6=await searchTavily(_0x2bd1f2,_0x5c73d0,_0x4de193[_0x26e014(0x21c,_0x5e45a7._0x2f6fe4,0x234,_0x5e45a7._0x3b1916)]);_0x1dfe14=_0x397de6[_0x26e014(0x2cb,_0x5e45a7._0x433f5d,_0x5e45a7._0x21ab70,_0x5e45a7._0x34710a)],_0x4de9a5=_0x397de6[_0x26e014(_0x5e45a7._0x4f99c0,_0x5e45a7._0xc383ff,0x19e,0x2c2)];}}}if(_0x1dfe14[_0x3e646c(_0x5e45a7._0x3bb3a8,-0x51,_0x5e45a7._0x103c57,0x12d)]>0x0)break;}catch(_0x2d4370){if(_0x2bd1f2===_0xc28a09[_0x26e014(0x188,0x172,0x223,_0x5e45a7._0x19209d)][_0xc28a09[_0x26e014(_0x5e45a7._0x339541,_0x5e45a7._0x59279b,_0x5e45a7._0x4b2321,_0x5e45a7._0x19209d)]['length']-0x1])throw _0x2d4370;}}_0x5c73d0[_0x26e014(-_0x5e45a7._0x1898cd,0x19c,_0x5e45a7._0x467742,_0x5e45a7._0x29ab11)]&&_0x1dfe14[_0x3e646c(-_0x5e45a7._0x349b8e,-0x51,-_0x5e45a7._0x56bea3,0x4)]>0x0&&(_0x1dfe14=await hydrateResults(_0x1dfe14,_0x5c73d0[_0x3e646c(0x79,_0x5e45a7._0x295dda,0x212,-0x59)],_0x4de193[_0x3e646c(0xe7,_0x5e45a7._0x115a09,0x112,_0x5e45a7._0x339307)],_0x45e2c0));const _0x26d84b=new Set();_0x1dfe14=_0x1dfe14[_0x3e646c(-_0x5e45a7._0x2f27f4,-0x95,-0x1ef,_0x5e45a7._0xacc9fa)](_0x3356d6=>{function _0x1b69a5(_0x4a14d5,_0x5c693d,_0x255975,_0x40f960){return _0x3e646c(_0x4a14d5,_0x255975-0x378,_0x255975-0x1b1,_0x40f960-0xcf);}const _0x868b44=_0x3356d6[_0x36a4dc(_0x3e26a6._0x10f906,-_0x3e26a6._0xdf355,_0x3e26a6._0x22fb91,0x7b)][_0x36a4dc(0x245,_0x3e26a6._0x33727a,_0x3e26a6._0x3008e1,0x321)]();if(!_0x868b44||_0x26d84b[_0x1b69a5(0x3dd,_0x3e26a6._0x3fef98,0x3d5,_0x3e26a6._0x557ae5)](_0x868b44))return![];function _0x36a4dc(_0x26d214,_0x2a8956,_0x3044ac,_0x33c767){return _0x3e646c(_0x33c767,_0x3044ac-_0x359e69._0x32396c,_0x3044ac-_0x359e69._0x4ad913,_0x33c767-0xb0);}return _0x26d84b[_0x1b69a5(0x483,_0x3e26a6._0x2dafdf,0x38e,0x24c)](_0x868b44),!![];}),_0x1dfe14=_0x1dfe14[_0x3e646c(_0x5e45a7._0x3ff835,-0xc,-0x15b,_0x5e45a7._0x1d3000)]((_0x49b375,_0x576e2a)=>({..._0x49b375,'source':{..._0x49b375['source'],'rank':_0x576e2a+0x1}}));const _0x740a67={};if(_0x5c73d0[_0x3e646c(-0xd3,-_0x5e45a7._0x52985c,-0x1b4,-_0x5e45a7._0x169402)][_0x26e014(_0x5e45a7._0x2289ba,_0x5e45a7._0x35f4af,_0x5e45a7._0x29349e,0x155)]>0x0)_0x740a67[_0x3e646c(_0x5e45a7._0x238498,-_0x5e45a7._0x2591e9,-_0x5e45a7._0x201240,_0x5e45a7._0x5f103b)]=_0x5c73d0[_0x26e014(_0x5e45a7._0x364c16,_0x5e45a7._0x28d03d,_0x5e45a7._0x58c3ac,_0x5e45a7._0x1deebb)];if(_0x5c73d0['recencyDays']>0x0)_0x740a67[_0x26e014(_0x5e45a7._0x5bae98,0x4,_0x5e45a7._0x546aee,_0x5e45a7._0x22ee20)]=_0x5c73d0['recencyDays'];if(_0x5c73d0[_0x26e014(_0x5e45a7._0x1573e3,0x252,0x331,_0x5e45a7._0x414a5f)]!=='en')_0x740a67[_0x3e646c(-0x2c,_0x5e45a7._0x295dda,_0x5e45a7._0x2985b7,_0x5e45a7._0x4a531e)]=_0x5c73d0[_0x3e646c(_0x5e45a7._0x3f44da,0xef,_0x5e45a7._0x5abd8d,_0x5e45a7._0x5d1286)];function _0x26e014(_0x50abe5,_0x2cff4e,_0x18d0ea,_0xa0e04c){return _0x4365a3(_0x18d0ea,_0xa0e04c- -0x4f0,_0x18d0ea-_0x499612._0xaee2be,_0xa0e04c-0x16e);}if(_0x5c73d0[_0x26e014(_0x5e45a7._0x4e240b,0x184,0x65,0x18c)])_0x740a67[_0x26e014(0x25,0x2d9,_0x5e45a7._0x546aee,_0x5e45a7._0x5e0433)]=_0x5c73d0[_0x3e646c(-_0x5e45a7._0x1e456f,-_0x5e45a7._0x5042d3,-0xe1,0x1c)];yield createToolOutput(formatResults(_0x1dfe14),{'engine':_0x4de9a5,'count':_0x1dfe14[_0x26e014(0x26b,-_0x5e45a7._0x5e3d5f,_0x5e45a7._0x37b675,_0x5e45a7._0x24cea0)],'items':_0x1dfe14,'query':_0x5c73d0[_0x26e014(_0x5e45a7._0xd0c372,_0x5e45a7._0x16678e,0x21d,_0x5e45a7._0x3760f7)],...Object[_0x26e014(_0x5e45a7._0x2bfe01,0x259,_0x5e45a7._0x2138c3,0x33c)](_0x740a67)[_0x3e646c(_0x5e45a7._0xdd24d4,-0x51,_0x5e45a7._0x1e5c07,_0x5e45a7._0x250dbf)]>0x0?{'appliedFilters':_0x740a67}:{},'offset':_0x5c73d0[_0x26e014(_0x5e45a7._0x4baba9,0x2f1,_0x5e45a7._0x3cb4f0,_0x5e45a7._0x36e553)],'totalRequested':_0x5c73d0[_0x3e646c(-0x7a,-_0x5e45a7._0x43eef5,0x8f,-0x1aa)],'hydrated':_0x5c73d0[_0x26e014(-_0x5e45a7._0x3614f6,_0x5e45a7._0x43d3cd,0x11d,0xe8)]});function _0x3e646c(_0x4a16e3,_0x3f9e65,_0x4d8064,_0x3d1880){return _0x52cd79(_0x4a16e3-0x1ea,_0x3f9e65-_0x4a7c26._0x486ed5,_0x3f9e65- -_0x4a7c26._0x255522,_0x4a16e3);}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(_0x63ecbe,_0x2c8a9d){const _0x40ce67={_0x404021:0xa3,_0x41cb79:0x33,_0x400ebb:0x3bf,_0x1fa107:0x453,_0x44e92e:0x4a5,_0x5c53ef:0x649,_0x31370c:0x4dc,_0x3cc951:0x55f,_0xcedca:0x2f8,_0x30e78e:0x491,_0x277a19:0x5ed,_0x231a9a:0x743,_0x51ba58:0x499,_0x120e1c:0x557,_0x2610ef:0x4b2,_0x12bfce:0x402,_0x45c67a:0x32d,_0x489cf3:0x393,_0x4ee1aa:0x2d8,_0x1119fe:0x1ec,_0x246e56:0x203,_0x2a307b:0x116,_0x448767:0x198,_0x5061a3:0x275,_0x5dc5f4:0x3d0,_0x1fe5fb:0x4bc},_0x218e62={_0x4e10c1:0x2ce};function _0x50520b(_0x282f12,_0x382f7b,_0x3b0765,_0x135579){return _0x29c8(_0x3b0765- -0x6e,_0x282f12);}function _0x35db20(_0xdc707b,_0x3894a9,_0x132c3b,_0x7e5bc9){return _0x29c8(_0x132c3b-_0x218e62._0x4e10c1,_0x3894a9);}const _0x7addbc=_0x63ecbe();while(!![]){try{const _0x59f513=parseInt(_0x50520b(_0x40ce67._0x404021,_0x40ce67._0x41cb79,0xc9,0x1f4))/0x1*(-parseInt(_0x35db20(_0x40ce67._0x400ebb,_0x40ce67._0x1fa107,_0x40ce67._0x44e92e,0x541))/0x2)+-parseInt(_0x35db20(0x608,0x535,_0x40ce67._0x5c53ef,_0x40ce67._0x31370c))/0x3+-parseInt(_0x35db20(_0x40ce67._0x3cc951,0x347,0x3d8,_0x40ce67._0xcedca))/0x4+parseInt(_0x35db20(_0x40ce67._0x30e78e,0x6bc,_0x40ce67._0x277a19,_0x40ce67._0x231a9a))/0x5*(parseInt(_0x35db20(_0x40ce67._0x51ba58,_0x40ce67._0x120e1c,_0x40ce67._0x2610ef,0x46a))/0x6)+-parseInt(_0x35db20(_0x40ce67._0x12bfce,0x2de,0x3e6,0x455))/0x7+parseInt(_0x50520b(0x1ca,0x301,_0x40ce67._0x45c67a,_0x40ce67._0x489cf3))/0x8*(parseInt(_0x50520b(_0x40ce67._0x4ee1aa,_0x40ce67._0x1119fe,0x17e,_0x40ce67._0x246e56))/0x9)+parseInt(_0x50520b(-0x1,0x20a,_0x40ce67._0x2a307b,_0x40ce67._0x448767))/0xa*(parseInt(_0x35db20(_0x40ce67._0x5061a3,0x2c9,_0x40ce67._0x5dc5f4,_0x40ce67._0x1fe5fb))/0xb);if(_0x59f513===_0x2c8a9d)break;else _0x7addbc['push'](_0x7addbc['shift']());}catch(_0x1919b9){_0x7addbc['push'](_0x7addbc['shift']());}}}(_0x46e5,0xa6e24));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-WDPOWIJR.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x5e6c0d from'path';var EXTENSION_TO_LANGUAGE={'.ts':'typescript','.tsx':_0x38eb01(0x11a,-0xd,0x142,-0x91),'.js':_0x2cc51b(0x598,0x646,0x680,0x581),'.jsx':'javascriptreact','.mjs':_0x2cc51b(0x567,0x46d,0x4ca,0x581),'.cjs':_0x38eb01(0x10f,0x75,0xc4,-0xf),'.mts':'typescript','.cts':_0x38eb01(-0x10d,-0x5,-0x34,-0x11b),'.json':'json','.jsonc':_0x2cc51b(0x41b,0x4a3,0x38c,0x445)};function getLanguageId(_0x2a5a8a){const _0x3bd9ad={_0x14ad3c:0x234,_0x3f98c1:0x1},_0x37f2c7={_0x369d37:0x158},_0x453dc2={_0x3414f6:0x177,_0x3276f2:0x38,_0xf3c928:0x338};function _0x37444d(_0x3c495f,_0x4abd1e,_0x58fdfd,_0xc61a9d){return _0x2cc51b(_0x58fdfd,_0x4abd1e-_0x453dc2._0x3414f6,_0x58fdfd-_0x453dc2._0x3276f2,_0xc61a9d- -_0x453dc2._0xf3c928);}function _0x511b3e(_0x5e7bdb,_0x2657d1,_0x1a4d0a,_0x2252d3){return _0x38eb01(_0x2252d3,_0x5e7bdb-_0x37f2c7._0x369d37,_0x1a4d0a-0xf2,_0x2252d3-0x1d4);}return EXTENSION_TO_LANGUAGE[_0x5e6c0d[_0x37444d(_0x3bd9ad._0x14ad3c,0xc4,0x14e,0x138)](_0x2a5a8a)[_0x511b3e(0x4d,_0x3bd9ad._0x3f98c1,0x78,-0xf8)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8;function uriForPath(_0x475240){const _0x2e700f={_0x25b3e2:0x556};function _0x166306(_0x1c8990,_0x368896,_0x4df85f,_0x360606){return _0x2cc51b(_0x1c8990,_0x368896-0x8a,_0x4df85f-0x74,_0x360606- -_0x2e700f._0x25b3e2);}return pathToFileURL(_0x475240)[_0x166306(-0x2ce,-0x104,-0xb0,-0x145)]();}function textDocumentPosition(_0x1347af){const _0x56749a={_0x3e04b4:0x60c,_0x5a5447:0x64a,_0x143460:0x5cc,_0x1ecb08:0x1da,_0x5b5d2a:0x414},_0x404c06={_0x29fe26:0x45b,_0x514513:0x1de},_0xe0f5e={_0x1c326:0x1e0};function _0x3e45bc(_0x13a259,_0x50e229,_0x3f2a51,_0x4349c9){return _0x2cc51b(_0x50e229,_0x50e229-0x1ac,_0x3f2a51-_0xe0f5e._0x1c326,_0x4349c9-0x74);}function _0xe365d4(_0x1558ea,_0x5ed90a,_0x342184,_0x12e98b){return _0x38eb01(_0x342184,_0x12e98b-_0x404c06._0x29fe26,_0x342184-_0x404c06._0x514513,_0x12e98b-0x15);}return{'textDocument':{'uri':uriForPath(_0x1347af[_0x3e45bc(_0x56749a._0x3e04b4,_0x56749a._0x5a5447,_0x56749a._0x143460,0x521)])},'position':{'line':_0x1347af['line'],'character':_0x1347af[_0x3e45bc(_0x56749a._0x1ecb08,_0x56749a._0x5b5d2a,0x2f6,0x33d)]}};}function normalizeLocations(_0x477608){const _0x2e8d3f={_0x18f9dc:0x124,_0x483b30:0x9f},_0xf8cc3b={_0x26c030:0x12f,_0x25a815:0x22};function _0x1ccf9c(_0x1c3508,_0xf52c32,_0x47b6fc,_0x29c199){return _0x2cc51b(_0x29c199,_0xf52c32-_0xf8cc3b._0x26c030,_0x47b6fc-_0xf8cc3b._0x25a815,_0x1c3508- -0x51b);}if(!_0x477608)return[];return Array[_0x1ccf9c(-_0x2e8d3f._0x18f9dc,-_0x2e8d3f._0x483b30,-0x147,0x46)](_0x477608)?_0x477608:[_0x477608];}async function createLspClient(_0x268663){const _0x2a03e0={_0x547c89:0x2c7,_0x3a6e55:0x1ff,_0x55b4b3:0x155,_0x5cafc5:0x251,_0x3a332e:0x267,_0x4920ef:0x1cd,_0x96d123:0x26c,_0x2e6446:0x170,_0x3e8871:0x1d8,_0x41061f:0x25a,_0x2dcd7a:0xc1,_0x1f47ca:0x339,_0x56eaa7:0x2f3,_0x58cdce:0x20b,_0x5322c6:0x284,_0x412f43:0x31c,_0x4c1366:0x29f,_0x327220:0x411,_0x5b799a:0x215,_0x203199:0x304,_0x2be58a:0x226,_0x31f5c2:0x198,_0x544c1d:0x1c7,_0x4f785a:0x2c8,_0x8346bc:0x2c5,_0x299840:0x217,_0x5a928e:0x38e,_0x43455c:0x427,_0x2d9f4b:0x303,_0x5d4712:0x1be,_0x456f6f:0x300,_0x4397ec:0x15d,_0x3bd4c4:0x30b,_0x4dac04:0x1af,_0x5063fc:0x455,_0x592d3a:0x309,_0x1dca78:0x244,_0xa855b1:0x1df,_0x3ec136:0x487,_0x653d6c:0x447,_0x28071b:0x24d,_0x1b091c:0xd6,_0x112c50:0x277,_0x3dbe86:0x1b8,_0xbc346c:0x32b},_0x40b055={_0x3f6fa1:0x3d5,_0x78f460:0x618,_0x5b5670:0x563,_0x4965e9:0x64c,_0x247e06:0x303,_0x3679e0:0x355,_0xd0a6f3:0x3dd,_0x1a1522:0x32c,_0x3e964e:0x4ac,_0x428cac:0x3f8,_0x423169:0x409,_0xc98165:0x42a,_0x57b9dd:0x3c3,_0x4f6131:0x433},_0x384ffa={_0x4816e1:0x197,_0x57ed9b:0xea},_0x541616={_0xff2f8:0x41,_0x3ebf81:0x53,_0x471010:0xd8},_0xeb8817={_0x5c5c03:0x20c,_0x8284d8:0x226,_0x43889a:0x54,_0x437c52:0x168},_0x91e91a={_0x3c9531:0x8d,_0x78a75e:0xcc},_0xeb4f56={_0x2be1d2:0x1a7,_0x541ba6:0x90,_0x69900e:0xec},_0x2fcdaf={_0x32769c:0x410,_0x1542a0:0x39b},_0x123707={_0x5ee174:0x228,_0x203d8e:0x4e,_0x44c757:0x45},_0x3f0f81={_0x2b856e:0x2aa,_0x26f865:0x6c,_0x400c63:0x19d},_0x2712d3={_0xada565:0x1ad},_0x692791={_0x475a13:0xd5},_0x47487f={_0x15a94d:0x63,_0x112f79:0x123,_0xcc4d7c:0x1f9,_0x49e132:0x29b,_0x422ca9:0x1e8},_0x423d3e={_0x153603:0x2b8,_0x372d53:0xda},_0x502b35={_0x36698e:0x17a},_0x484d4f={_0x39d724:0x1d6,_0x415c15:0x45},_0x18dbd9={_0x56d70b:0x239},_0x4df739={_0x4c5738:0x5ba,_0x58bdad:0x64e,_0x5028e6:0x6f7,_0x2a9fff:0xe1},_0x4d70c4={_0x5a08e3:0x126,_0x37a82e:0xb6},_0x6caa93={_0x5cbfc6:0x6a8,_0x24e140:0x5de,_0x25c6bf:0x562},_0xd90abe={_0x340d1b:0x21d,_0x1da055:0x258,_0x17c5b3:0x362,_0xf6655b:0x3fd,_0x1fa447:0x29b,_0x5592ff:0x3d2},_0x439621={_0x31cdb9:0x389,_0x1bea80:0x160,_0x3cc428:0x240},_0x462f7c={_0x134fa6:0x1ca},_0x404ea6={_0x2a3ffa:0xe8},_0x30a0e2={_0xbec577:0xdd,_0xa24d13:0x5d,_0x27a098:0xa0,_0x25c4d1:0x2e0,_0x132e6b:0x337,_0x410569:0x36d,_0xf72a8f:0x43d,_0x8eeef5:0x3ac,_0xd13f09:0x5b0,_0x1bd0cd:0x354,_0x4214fa:0x4b1},_0x3b6d46={_0x17ef66:0x155};function _0xa4a5ac(_0x669590,_0x92e9ec,_0x1dc539,_0x2e74e5){return _0x2cc51b(_0x1dc539,_0x92e9ec-0x5e,_0x1dc539-0xde,_0x669590- -_0x3b6d46._0x17ef66);}const _0x2bbf03=_0x268663['handle'][_0x568c5a(0x2a0,_0x2a03e0._0x547c89,_0x2a03e0._0x3a6e55,_0x2a03e0._0x55b4b3)][_0xa4a5ac(_0x2a03e0._0x5cafc5,0x107,0x252,_0x2a03e0._0x3a332e)],_0x2d0350=_0x268663[_0xa4a5ac(0x1be,_0x2a03e0._0x4920ef,0x274,_0x2a03e0._0x96d123)][_0x568c5a(0x2a0,0x3a6,_0x2a03e0._0x2e6446,0x3e0)][_0xa4a5ac(_0x2a03e0._0x3e8871,0x93,_0x2a03e0._0x41061f,_0x2a03e0._0x2dcd7a)];if(!_0x2bbf03||!_0x2d0350)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x323eda=createMessageConnection(new StreamMessageReader(_0x2bbf03),new StreamMessageWriter(_0x2d0350)),_0x1c3052=new Map(),_0x1fc090=new Map();let _0x19122d=![];_0x323eda[_0x568c5a(_0x2a03e0._0x1f47ca,0x1fb,0x22e,0x492)]('textDocument/publishDiagnostics',_0x24b025=>{const _0x373764={_0x1513fe:0x3d3,_0x17bdb4:0x9a,_0x15f3a0:0x17d},_0x26fcc4={_0x32d50c:0x15a};_0x1c3052['set'](_0x24b025[_0x500306(-_0x30a0e2._0xbec577,-0x227,_0x30a0e2._0xa24d13,-_0x30a0e2._0x27a098)],_0x24b025['diagnostics']);const _0xdef83a=_0x1fc090[_0x2cb184(0x508,_0x30a0e2._0x25c4d1,_0x30a0e2._0x132e6b,0x3d2)](_0x24b025[_0x2cb184(_0x30a0e2._0x410569,_0x30a0e2._0xf72a8f,_0x30a0e2._0x8eeef5,0x451)]);function _0x2cb184(_0x3b2e9d,_0x5a4f59,_0x43a599,_0x1d2483){return _0x568c5a(_0x1d2483-0x10d,_0x5a4f59-_0x26fcc4._0x32d50c,_0x43a599-0xc8,_0x43a599);}function _0x500306(_0x13f7ed,_0x40bf23,_0x1b529f,_0x38b1f2){return _0xa4a5ac(_0x13f7ed- -_0x373764._0x1513fe,_0x40bf23-_0x373764._0x17bdb4,_0x40bf23,_0x38b1f2-_0x373764._0x15f3a0);}if(!_0xdef83a)return;_0x1fc090[_0x2cb184(0x484,_0x30a0e2._0xd13f09,_0x30a0e2._0x1bd0cd,_0x30a0e2._0x4214fa)](_0x24b025['uri']);for(const _0x1d1791 of _0xdef83a)_0x1d1791();}),_0x323eda[_0xa4a5ac(_0x2a03e0._0x56eaa7,_0x2a03e0._0x58cdce,_0x2a03e0._0x5322c6,_0x2a03e0._0x412f43)]();function _0x568c5a(_0xeb9fbc,_0x157ec1,_0x157010,_0x13f070){return _0x2cc51b(_0x13f070,_0x157ec1-0x10,_0x157010-0x52,_0xeb9fbc- -0x107);}const _0x253af9=await _0x323eda[_0xa4a5ac(_0x2a03e0._0x4c1366,_0x2a03e0._0x327220,0x1f0,0x3e1)](_0x568c5a(_0x2a03e0._0x5b799a,0x230,_0x2a03e0._0x203199,_0x2a03e0._0x2be58a),{'processId':process[_0x568c5a(_0x2a03e0._0x31f5c2,_0x2a03e0._0x544c1d,0x2ca,_0x2a03e0._0x4f785a)],'rootUri':uriForPath(_0x268663[_0x568c5a(0x307,0x2e3,_0x2a03e0._0x8346bc,0x3fa)]),'workspaceFolders':[{'uri':uriForPath(_0x268663[_0xa4a5ac(0x2b9,0x244,_0x2a03e0._0x299840,0x363)]),'name':_0x268663[_0x568c5a(_0x2a03e0._0x5a928e,0x2c1,_0x2a03e0._0x43455c,_0x2a03e0._0x2d9f4b)]['id']}],'initializationOptions':_0x268663[_0xa4a5ac(_0x2a03e0._0x5d4712,_0x2a03e0._0x456f6f,_0x2a03e0._0x4397ec,0x42)][_0x568c5a(_0x2a03e0._0x3bd4c4,_0x2a03e0._0x4dac04,0x458,_0x2a03e0._0x5063fc)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':['markdown',_0xa4a5ac(_0x2a03e0._0x592d3a,0x1e4,_0x2a03e0._0x1dca78,_0x2a03e0._0xa855b1)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});_0x323eda[_0x568c5a(_0x2a03e0._0x3ec136,_0x2a03e0._0x653d6c,0x359,0x607)](_0x568c5a(_0x2a03e0._0x28071b,_0x2a03e0._0x1b091c,_0x2a03e0._0x112c50,0x2ae),{});const _0x149186={'serverId':_0x268663[_0xa4a5ac(0x340,0x4a7,0x264,_0x2a03e0._0x3dbe86)]['id'],'root':_0x268663['root'],'connection':_0x323eda,'diagnostics':_0x1c3052,'capabilities':_0x253af9[_0x568c5a(0x1a6,0x316,_0x2a03e0._0xbc346c,0x166)]??{},'notify':{async 'open'({path:_0x3ac829}){function _0x47cd09(_0x26f708,_0x5aa694,_0x1c24be,_0x2559fc){return _0x568c5a(_0x1c24be- -0xfe,_0x5aa694-0x14c,_0x1c24be-_0x404ea6._0x2a3ffa,_0x5aa694);}const _0x54eacc=await readFile(_0x3ac829,'utf8');function _0x5f02a4(_0x711ab0,_0x28ae7c,_0x104f8d,_0x8c8683){return _0xa4a5ac(_0x711ab0- -0x367,_0x28ae7c-0x1eb,_0x8c8683,_0x8c8683-_0x462f7c._0x134fa6);}_0x323eda[_0x47cd09(0x338,0x48f,_0x439621._0x31cdb9,0x38e)](_0x5f02a4(-0xf3,-_0x439621._0x1bea80,-0x4f,-_0x439621._0x3cc428),{'textDocument':{'uri':uriForPath(_0x3ac829),'languageId':getLanguageId(_0x3ac829)??'plaintext','version':0x1,'text':_0x54eacc}});},async 'change'({path:_0x4fe8b8,version:_0xbb144c}){function _0x1833ad(_0x276ef1,_0x53faf0,_0x208eb4,_0x5c500b){return _0x568c5a(_0x208eb4- -0x8a,_0x53faf0-0x2d,_0x208eb4-0x10,_0x276ef1);}function _0xbfcff7(_0x5eb8b4,_0x2355a6,_0x4723f5,_0x135a8c){return _0xa4a5ac(_0x5eb8b4-0x23b,_0x2355a6-0x102,_0x4723f5,_0x135a8c-0x166);}const _0x592bf9=await readFile(_0x4fe8b8,_0x1833ad(0xe1,_0xd90abe._0x340d1b,_0xd90abe._0x1da055,0x369));_0x323eda[_0x1833ad(0x321,_0xd90abe._0x17c5b3,_0xd90abe._0xf6655b,0x4e8)](_0x1833ad(_0xd90abe._0x1fa447,0x39b,0x2f3,_0xd90abe._0x5592ff),{'textDocument':{'uri':uriForPath(_0x4fe8b8),'version':_0xbb144c},'contentChanges':[{'text':_0x592bf9}]});},async 'close'({path:_0x3aa58f}){const _0x9625d6={_0x33612c:0x1bb,_0x3e3c06:0x126,_0x5d3650:0x1be};function _0x5cbf1a(_0x9b2356,_0x12210a,_0x273fb1,_0x5535d4){return _0xa4a5ac(_0x5535d4-_0x9625d6._0x33612c,_0x12210a-_0x9625d6._0x3e3c06,_0x9b2356,_0x5535d4-_0x9625d6._0x5d3650);}_0x323eda[_0x5cbf1a(_0x6caa93._0x5cbfc6,_0x6caa93._0x24e140,_0x6caa93._0x25c6bf,0x5f4)]('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x3aa58f)}});}},'request':{async 'definition'(_0x489c2d){return normalizeLocations(await _0x323eda['sendRequest']('textDocument/definition',textDocumentPosition(_0x489c2d)));},async 'references'(_0x35128e){function _0xe6d6d0(_0x21950a,_0x290bd5,_0x5a1093,_0x30a1f1){return _0x568c5a(_0x21950a-0x2cd,_0x290bd5-0x8f,_0x5a1093-0xe1,_0x290bd5);}function _0x52c10a(_0x87a71d,_0x4b3f2a,_0x4c649e,_0x4696ff){return _0xa4a5ac(_0x87a71d- -0x30c,_0x4b3f2a-_0x4d70c4._0x5a08e3,_0x4b3f2a,_0x4696ff-_0x4d70c4._0x37a82e);}return normalizeLocations(await _0x323eda[_0xe6d6d0(_0x4df739._0x4c5738,_0x4df739._0x58bdad,_0x4df739._0x5028e6,0x648)](_0x52c10a(_0x4df739._0x2a9fff,0x1e,0x177,0x251),{...textDocumentPosition(_0x35128e),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x2c7c84){const _0x1945ed={_0x25622e:0x23,_0x579e3b:0x165};function _0x3a16b0(_0x459177,_0x54406b,_0x430f66,_0x1c0782){return _0xa4a5ac(_0x430f66- -0xf5,_0x54406b-_0x1945ed._0x25622e,_0x54406b,_0x1c0782-_0x1945ed._0x579e3b);}return await _0x323eda[_0x3a16b0(_0x18dbd9._0x56d70b,0x1bc,0x1aa,0x124)]('textDocument/hover',textDocumentPosition(_0x2c7c84))??null;},async 'documentSymbol'(_0x4f7f7b){const _0x2b4e26={_0x3c1178:0xc9};function _0x195df2(_0x254df1,_0x443571,_0x216463,_0x832050){return _0xa4a5ac(_0x832050- -_0x2b4e26._0x3c1178,_0x443571-0xb1,_0x254df1,_0x832050-0x124);}function _0x485894(_0x1810a8,_0x4b969f,_0x316e55,_0x27903a){return _0x568c5a(_0x4b969f-0x282,_0x4b969f-0x1ea,_0x316e55-0x69,_0x27903a);}return await _0x323eda[_0x195df2(0x112,0xa9,0x1d5,_0x484d4f._0x39d724)](_0x195df2(0x83,0x197,-_0x484d4f._0x415c15,0x131),{'textDocument':{'uri':uriForPath(_0x4f7f7b)}})??[];},async 'workspaceSymbol'(_0x1c532c){function _0x271517(_0x51744f,_0x20eb1a,_0xa5e2b1,_0x4e8f50){return _0xa4a5ac(_0x51744f- -0x23,_0x20eb1a-0x70,_0xa5e2b1,_0x4e8f50-_0x502b35._0x36698e);}function _0x5b68ac(_0x2fc7d6,_0x69bfd0,_0x1a18ad,_0x36592d){return _0xa4a5ac(_0x69bfd0- -_0x423d3e._0x153603,_0x69bfd0-0x1d3,_0x1a18ad,_0x36592d-_0x423d3e._0x372d53);}return await _0x323eda[_0x5b68ac(_0x47487f._0x15a94d,-0x19,-0x171,0x0)](_0x271517(_0x47487f._0x112f79,_0x47487f._0xcc4d7c,_0x47487f._0x49e132,_0x47487f._0x422ca9),{'query':_0x1c532c})??[];},async 'implementation'(_0x2d12e0){const _0xc1158f={_0x2c8184:0x13a};function _0x2e8d0a(_0x4c313d,_0x5599ab,_0x4d28af,_0x53d471){return _0xa4a5ac(_0x53d471- -0x374,_0x5599ab-0x1dd,_0x5599ab,_0x53d471-_0xc1158f._0x2c8184);}return normalizeLocations(await _0x323eda[_0x2e8d0a(-0xdb,-0x172,-0x1bc,-_0x692791._0x475a13)]('textDocument/implementation',textDocumentPosition(_0x2d12e0)));},async 'prepareCallHierarchy'(_0x3ae3c0){const _0x4c5d7a={_0x283ec4:0x14f,_0x25adbf:0x176};function _0x46687b(_0x81d842,_0x1971eb,_0x485636,_0x59216f){return _0x568c5a(_0x81d842- -_0x4c5d7a._0x283ec4,_0x1971eb-0x54,_0x485636-_0x4c5d7a._0x25adbf,_0x485636);}return await _0x323eda['sendRequest'](_0x46687b(0x147,0x77,_0x2712d3._0xada565,0x2ac),textDocumentPosition(_0x3ae3c0))??[];},async 'incomingCalls'(_0x569acb){function _0x366b7e(_0x312915,_0x275c30,_0x3e4b9f,_0x43931f){return _0x568c5a(_0x312915-_0x3f0f81._0x2b856e,_0x275c30-_0x3f0f81._0x26f865,_0x3e4b9f-_0x3f0f81._0x400c63,_0x43931f);}function _0x5b39be(_0x24ea9b,_0x389698,_0x2c976c,_0x43a561){return _0xa4a5ac(_0x2c976c-_0x123707._0x5ee174,_0x389698-_0x123707._0x203d8e,_0x24ea9b,_0x43a561-_0x123707._0x44c757);}return await _0x323eda[_0x5b39be(0x3ff,0x406,0x4c7,0x58c)](_0x5b39be(0x496,_0x2fcdaf._0x32769c,_0x2fcdaf._0x1542a0,0x43b),{'item':_0x569acb})??[];},async 'outgoingCalls'(_0x326259){const _0xf43f2c={_0x4e8df3:0x38e,_0x2dee3d:0x53};function _0xfcbafa(_0x47b2d1,_0x5235f1,_0x3af2e5,_0xb8ded7){return _0x568c5a(_0x47b2d1- -_0xf43f2c._0x4e8df3,_0x5235f1-0x11a,_0x3af2e5-_0xf43f2c._0x2dee3d,_0x3af2e5);}return await _0x323eda[_0xfcbafa(-0xa1,-_0xeb4f56._0x2be1d2,_0xeb4f56._0x541ba6,-_0xeb4f56._0x69900e)]('callHierarchy/outgoingCalls',{'item':_0x326259})??[];}},'waitForDiagnostics'({path:_0x4f883d,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0xf281da={_0x43b69f:0xc0,_0x31f93b:0x24d,_0x2a16ba:0x1d4},_0xd01d5e={_0x11caca:0x4c1,_0x473403:0x47d,_0x1d40a1:0x4a4,_0x4bbe31:0x405,_0x5639d6:0x4c1,_0x558e83:0x699,_0x27c058:0x75c,_0x32caf1:0x6b3,_0x2f0f1a:0x650},_0x55efa9={_0x332b8d:0x4a};function _0x2fdfe7(_0x4ef42e,_0xd4c5dc,_0x7dc474,_0x1261c7){return _0xa4a5ac(_0x7dc474- -0x29e,_0xd4c5dc-_0x55efa9._0x332b8d,_0xd4c5dc,_0x1261c7-0x1e5);}function _0x351921(_0x3cf958,_0x215e7b,_0x327af4,_0x4ef739){return _0xa4a5ac(_0x3cf958-0x12f,_0x215e7b-_0x91e91a._0x3c9531,_0x215e7b,_0x4ef739-_0x91e91a._0x78a75e);}const _0x234a13=uriForPath(_0x4f883d);if(_0x1c3052[_0x2fdfe7(_0x541616._0xff2f8,0x54,_0x541616._0x3ebf81,0x162)](_0x234a13))return Promise[_0x2fdfe7(-0x181,-_0x541616._0x471010,-0xff,-0x75)]();return new Promise(_0x2a1d2a=>{const _0x181de6={_0x220252:0x8b,_0x1ac4b2:0x79,_0x2e19ee:0x85},_0x183f9d=setTimeout(()=>{const _0x28ce98={_0x125f8f:0x3d9},_0x401c77=_0x1fc090[_0x59a1e4(_0xd01d5e._0x11caca,0x583,_0xd01d5e._0x473403,_0xd01d5e._0x1d40a1)](_0x234a13);_0x401c77?.[_0x59a1e4(_0xd01d5e._0x4bbe31,_0xd01d5e._0x5639d6,0x451,0x583)](_0x9ca55a);function _0x19ff0d(_0x52876b,_0x2cb6d4,_0x32661b,_0x5083b2){return _0x29c8(_0x2cb6d4-_0x28ce98._0x125f8f,_0x32661b);}function _0x59a1e4(_0x2ea46a,_0x40af0b,_0x12a77e,_0x3e35c3){return _0x29c8(_0x3e35c3-0x2a9,_0x2ea46a);}if(_0x401c77?.[_0x19ff0d(0x765,0x636,_0xd01d5e._0x558e83,_0xd01d5e._0x27c058)]===0x0)_0x1fc090[_0x19ff0d(0x586,_0xd01d5e._0x32caf1,0x706,_0xd01d5e._0x2f0f1a)](_0x234a13);_0x2a1d2a();},timeoutMs);function _0xdc4d00(_0x56aa9b,_0x476521,_0x247499,_0x5451b0){return _0x2fdfe7(_0x56aa9b-_0xf281da._0x43b69f,_0x56aa9b,_0x5451b0-_0xf281da._0x31f93b,_0x5451b0-_0xf281da._0x2a16ba);}const _0x9ca55a=()=>{clearTimeout(_0x183f9d),_0x2a1d2a();},_0x71e501=_0x1fc090[_0xdc4d00(0x39c,0x14d,_0xeb8817._0x5c5c03,_0xeb8817._0x8284d8)](_0x234a13)??new Set();_0x71e501[_0x5e8050(-_0xeb8817._0x43889a,-_0xeb8817._0x437c52,-0x4b,0x50)](_0x9ca55a);function _0x5e8050(_0x26d5a7,_0x2a3eaa,_0x1a797b,_0x24df8f){return _0x2fdfe7(_0x26d5a7-_0x181de6._0x220252,_0x24df8f,_0x1a797b- -_0x181de6._0x1ac4b2,_0x24df8f-_0x181de6._0x2e19ee);}_0x1fc090['set'](_0x234a13,_0x71e501);});},async 'shutdown'(){const _0x27d9df={_0x2abd95:0x285,_0x3367d4:0x7a};function _0x51c908(_0xff711d,_0x2efc7e,_0x44f8ef,_0x882244){return _0x568c5a(_0x44f8ef-0x1fd,_0x2efc7e-_0x384ffa._0x4816e1,_0x44f8ef-_0x384ffa._0x57ed9b,_0xff711d);}function _0x15a197(_0x5e2e15,_0x238866,_0x1c0cdc,_0x2f8e18){return _0xa4a5ac(_0x1c0cdc-_0x27d9df._0x2abd95,_0x238866-0x5a,_0x238866,_0x2f8e18-_0x27d9df._0x3367d4);}if(_0x19122d)return;_0x19122d=!![];try{await _0x323eda[_0x51c908(0x543,_0x40b055._0x3f6fa1,0x4ea,_0x40b055._0x78f460)](_0x15a197(0x4f9,_0x40b055._0x5b5670,_0x40b055._0x4965e9,0x7bc),null),_0x323eda['sendNotification'](_0x51c908(_0x40b055._0x247e06,_0x40b055._0x3679e0,_0x40b055._0xd0a6f3,0x464));}catch{}finally{_0x323eda[_0x51c908(_0x40b055._0x1a1522,0x47f,0x45b,_0x40b055._0x3e964e)](),_0x268663[_0x51c908(_0x40b055._0x428cac,0x3bd,_0x40b055._0x423169,0x4d4)]['process'][_0x51c908(_0x40b055._0xc98165,0x41c,_0x40b055._0x57b9dd,_0x40b055._0x4f6131)]();}}};return _0x149186;}import{spawn as _0x2d5f7e}from'child_process';import{access as _0x3aa1fd}from'fs/promises';import _0x40ac33 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x36b8cb from'os';import _0x34a5ed from'path';import _0x46cf98 from'which';var installPromises=new Map();function sanitizePackageName(_0x3da389){const _0x41ff61={_0x231f9e:0x176},_0x704e27={_0x48f043:0xb3};function _0x39d73a(_0x392064,_0x48aaff,_0x5f6a5f,_0x31a003){return _0x38eb01(_0x392064,_0x48aaff-0xd5,_0x5f6a5f-_0x704e27._0x48f043,_0x31a003-0x179);}return _0x3da389[_0x39d73a(-_0x41ff61._0x231f9e,-0x1ab,-0x29b,-0xaf)](/^@/,'')['replace'](/[/]/g,'__');}function binaryNameForPlatform(_0x14f76b){const _0x9c2199={_0xee26cd:0x6f,_0x5fb9e2:0x82,_0x52e66d:0xd5},_0x59a225={_0x3c65eb:0x1c8,_0x4cc75b:0x15b};function _0x5764b9(_0x4fbf8a,_0x5c6e45,_0x31b33e,_0xf16806){return _0x2cc51b(_0xf16806,_0x5c6e45-0xce,_0x31b33e-0x39,_0x31b33e- -0x4bc);}function _0x115518(_0x41f7c2,_0x1cc7a9,_0x483383,_0x3b4f9a){return _0x38eb01(_0x41f7c2,_0x3b4f9a-_0x59a225._0x3c65eb,_0x483383-_0x59a225._0x4cc75b,_0x3b4f9a-0xe5);}return process[_0x5764b9(-0xfa,-_0x9c2199._0xee26cd,-_0x9c2199._0x5fb9e2,_0x9c2199._0x52e66d)]===_0x115518(0x298,0x2b4,0x2e0,0x159)?_0x14f76b+'.cmd':_0x14f76b;}async function exists(_0x5a3763){try{return await access(_0x5a3763),!![];}catch{return![];}}function runNpmInstall(_0x48f642,_0x40d96a,_0xfac47b){const _0x202e44={_0x43abce:0x2c5,_0x3cc575:0x4cb,_0x2e5f2f:0x28a,_0x17db67:0xa0,_0x53f285:0xd5,_0x16b314:0xba,_0x2f57dd:0x13,_0x28fbf2:0x105,_0x2e3668:0x56,_0x103480:0xf,_0x4c70b4:0x31,_0x442d9e:0xc1};return new Promise(_0x3bdfdd=>{const _0x172854={_0x264e96:0x136},_0x17ce53={_0x3548f0:0x18d},_0x215cc9=spawn(_0x5a5301(_0x202e44._0x43abce,_0x202e44._0x3cc575,0x3da,_0x202e44._0x2e5f2f),[_0xaa9cbf(0x1b7,0x9d,0xfc,_0x202e44._0x17db67),_0xaa9cbf(-_0x202e44._0x53f285,-0x36,_0x202e44._0x16b314,-_0x202e44._0x2f57dd),_0x48f642,_0x40d96a],{'env':_0xfac47b,'stdio':_0xaa9cbf(0x175,_0x202e44._0x28fbf2,-_0x202e44._0x2e3668,-_0x202e44._0x103480)});function _0xaa9cbf(_0x369012,_0xb616ef,_0x292b69,_0xd07a8b){return _0x29c8(_0xb616ef- -_0x17ce53._0x3548f0,_0xd07a8b);}_0x215cc9['on']('error',()=>_0x3bdfdd(![]));function _0x5a5301(_0x3c54ae,_0x1ff715,_0x2a1782,_0x446cbb){return _0x29c8(_0x2a1782-_0x172854._0x264e96,_0x3c54ae);}_0x215cc9['on'](_0xaa9cbf(0xff,_0x202e44._0x4c70b4,_0x202e44._0x442d9e,0x6e),_0x5b362a=>_0x3bdfdd(_0x5b362a===0x0));});}function shouldDisableLspDownload(_0x2c5bd8=process[_0x2cc51b(0x595,0x5d5,0x403,0x4bf)]){const _0x258cc7={_0x43596b:0x561,_0x47dafa:0x4fc,_0x27e304:0x671},_0x5b7e67={_0x391bbc:0x81};function _0x86677(_0x317f7d,_0x2fe790,_0x53de43,_0x3b6c86){return _0x2cc51b(_0x3b6c86,_0x2fe790-0x97,_0x53de43-0x148,_0x317f7d-_0x5b7e67._0x391bbc);}const _0x43c3e5=_0x2c5bd8['NUVIN_DISABLE_LSP_DOWNLOAD']?.['toLowerCase']();return _0x43c3e5===_0x86677(_0x258cc7._0x43596b,_0x258cc7._0x47dafa,_0x258cc7._0x27e304,0x67f)||_0x43c3e5==='1'||_0x43c3e5==='yes'||_0x43c3e5==='on';}function getLspPackageDir(_0xb68b6d){const _0x28c941={_0x15982f:0x261,_0x1b8abe:0x6d1,_0x2dc9c2:0x6fd,_0x4d9b67:0x42a,_0x4d6f0d:0x4f5,_0x445fb8:0x475,_0x4eb017:0x320,_0x1588b4:0x42a,_0x57d694:0x206},_0x5d2f3c={_0x43bef0:0xd8},_0xecc7ae={_0x534f7a:0x2b,_0x4916a1:0x15e};function _0x5d5dce(_0x43157d,_0x3e8539,_0xa414d2,_0x5b9eae){return _0x38eb01(_0x5b9eae,_0x43157d-0x695,_0xa414d2-_0xecc7ae._0x534f7a,_0x5b9eae-_0xecc7ae._0x4916a1);}function _0x4526c6(_0x3b4d9e,_0x221474,_0x36f46b,_0x40796a){return _0x2cc51b(_0x3b4d9e,_0x221474-0xc3,_0x36f46b-_0x5d2f3c._0x43bef0,_0x221474- -0x596);}return _0x34a5ed[_0x4526c6(-0x1a6,-_0x28c941._0x15982f,-0x133,-0x3ac)](_0x36b8cb[_0x5d5dce(0x6b9,_0x28c941._0x1b8abe,0x7e5,_0x28c941._0x2dc9c2)](),_0x5d5dce(_0x28c941._0x4d9b67,_0x28c941._0x4d6f0d,0x558,0x464),_0x5d5dce(_0x28c941._0x445fb8,_0x28c941._0x4eb017,0x31a,_0x28c941._0x1588b4),_0x4526c6(-_0x28c941._0x57d694,-0x26a,-0x229,-0x327),sanitizePackageName(_0xb68b6d));}function getLspBinDir(_0xf4af38){const _0x1594cb={_0x3e050c:0x24c,_0x330f89:0x16e,_0x26cb1f:0x3ca,_0x7e117e:0x5,_0x3756ff:0xfd},_0x39f02b={_0x184ffe:0x3},_0x51e897={_0x47fe43:0x1b2,_0x3e9670:0x383};function _0x32aa49(_0x484c75,_0x2b7910,_0x5e6e6c,_0x2e69f5){return _0x2cc51b(_0x2e69f5,_0x2b7910-0x37,_0x5e6e6c-_0x51e897._0x47fe43,_0x484c75- -_0x51e897._0x3e9670);}function _0x845cc6(_0x4595da,_0x415082,_0x3709fe,_0x40c630){return _0x38eb01(_0x40c630,_0x4595da-0x1e6,_0x3709fe-_0x39f02b._0x184ffe,_0x40c630-0x4b);}return _0x34a5ed['join'](getLspPackageDir(_0xf4af38),_0x845cc6(_0x1594cb._0x3e050c,_0x1594cb._0x330f89,0x20d,_0x1594cb._0x26cb1f),_0x32aa49(-_0x1594cb._0x7e117e,-0xfa,-0xfb,_0x1594cb._0x3756ff));}async function findPackageBinary(_0x7ef2fa,_0xf25cf9){const _0x5ef355={_0x40fe15:0x16e,_0x306896:0xbf,_0x2e4aa0:0x123,_0x2f388d:0xe5,_0x1a4df9:0x62d,_0x19cadb:0x6cb,_0x111105:0x118,_0x4d9f13:0x288,_0x3f8ca6:0x12e},_0x17cb3d={_0x162ab5:0x1a0,_0x18b7c0:0x106,_0x5dbde6:0x250},_0x2341a4={_0xd9b144:0x91,_0x1a67f9:0x88};let _0x4b26a9=_0x34a5ed['resolve'](_0xf25cf9);function _0x52c7b9(_0x4a34be,_0x59e63e,_0x49f245,_0x2320d3){return _0x38eb01(_0x49f245,_0x4a34be-0x6d5,_0x49f245-_0x2341a4._0xd9b144,_0x2320d3-_0x2341a4._0x1a67f9);}const _0x3efd8f=binaryNameForPlatform(_0x7ef2fa);function _0x1ab0b9(_0x1cda0c,_0x3cae01,_0x56acf4,_0x276e81){return _0x2cc51b(_0x1cda0c,_0x3cae01-_0x17cb3d._0x162ab5,_0x56acf4-_0x17cb3d._0x18b7c0,_0x276e81- -_0x17cb3d._0x5dbde6);}while(!![]){const _0x17ff4c=_0x34a5ed[_0x1ab0b9(_0x5ef355._0x40fe15,_0x5ef355._0x306896,_0x5ef355._0x2e4aa0,_0x5ef355._0x2f388d)](_0x4b26a9,_0x52c7b9(0x73b,_0x5ef355._0x1a4df9,_0x5ef355._0x19cadb,0x748),_0x1ab0b9(_0x5ef355._0x111105,_0x5ef355._0x4d9f13,0x288,_0x5ef355._0x3f8ca6),_0x3efd8f);if(await exists(_0x17ff4c))return _0x17ff4c;const _0x590a42=_0x34a5ed['dirname'](_0x4b26a9);if(_0x590a42===_0x4b26a9)return void 0x0;_0x4b26a9=_0x590a42;}}async function findPathBinary(_0x1bede5,_0x2cd73c){const _0x1c0235={_0x5bee6f:0x35e,_0xcdc39b:0x368,_0x2ac6e2:0x1ef,_0x2ce5cc:0x2c2,_0x2f59f4:0x2a7,_0x43881e:0x2ba,_0x2552dd:0x228,_0x37bd84:0x1b4,_0x1f387b:0x186,_0x57369b:0x197,_0x27fb1e:0x12c,_0x1d02bd:0x1d6,_0x2bd2e3:0x2cf,_0x19b2e5:0x26b},_0x3ae78f={_0x467dd7:0xff,_0x5c74d1:0x116},_0x5b442c={_0xf48188:0x1dc,_0x1e1e77:0x84,_0x322de3:0x10b};function _0x5d0485(_0x4abe0a,_0x545bd9,_0xb45efe,_0x27233a){return _0x2cc51b(_0x4abe0a,_0x545bd9-_0x5b442c._0xf48188,_0xb45efe-_0x5b442c._0x1e1e77,_0x27233a- -_0x5b442c._0x322de3);}const _0x2f3ac3=getLspBinDir(_0x2cd73c),_0x36ed56=[_0x2f3ac3,process[_0x5d0485(0x296,_0x1c0235._0x5bee6f,0x2f0,0x3b4)][_0x29a7c7(_0x1c0235._0xcdc39b,_0x1c0235._0x2ac6e2,_0x1c0235._0x2ce5cc,_0x1c0235._0x2f59f4)]][_0x29a7c7(_0x1c0235._0x43881e,_0x1c0235._0x2552dd,0x392,_0x1c0235._0x37bd84)](Boolean)[_0x29a7c7(_0x1c0235._0x1f387b,0x6f,_0x1c0235._0x57369b,-0x7c)](_0x34a5ed[_0x5d0485(_0x1c0235._0x27fb1e,_0x1c0235._0x1d02bd,_0x1c0235._0x2bd2e3,_0x1c0235._0x19b2e5)]);function _0x29a7c7(_0x434a2f,_0x4d0b34,_0x538b9d,_0x1c2e83){return _0x38eb01(_0x1c2e83,_0x4d0b34-0x246,_0x538b9d-_0x3ae78f._0x467dd7,_0x1c2e83-_0x3ae78f._0x5c74d1);}try{return await _0x46cf98(_0x1bede5,{'path':_0x36ed56});}catch{return void 0x0;}}function _0x29c8(_0x1af71a,_0x5b0cf0){_0x1af71a=_0x1af71a-0xb5;const _0x46e59e=_0x46e5();let _0x29c8b7=_0x46e59e[_0x1af71a];if(_0x29c8['IttyQv']===undefined){var _0x36fd57=function(_0x5ef056){const _0x5bb1a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e6c0d='',_0x2d5f7e='';for(let _0x3aa1fd=0x0,_0x40ac33,_0x36b8cb,_0x34a5ed=0x0;_0x36b8cb=_0x5ef056['charAt'](_0x34a5ed++);~_0x36b8cb&&(_0x40ac33=_0x3aa1fd%0x4?_0x40ac33*0x40+_0x36b8cb:_0x36b8cb,_0x3aa1fd++%0x4)?_0x5e6c0d+=String['fromCharCode'](0xff&_0x40ac33>>(-0x2*_0x3aa1fd&0x6)):0x0){_0x36b8cb=_0x5bb1a1['indexOf'](_0x36b8cb);}for(let _0x46cf98=0x0,_0x582171=_0x5e6c0d['length'];_0x46cf98<_0x582171;_0x46cf98++){_0x2d5f7e+='%'+('00'+_0x5e6c0d['charCodeAt'](_0x46cf98)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2d5f7e);};_0x29c8['ekVCKZ']=_0x36fd57,_0x29c8['VOocFq']={},_0x29c8['IttyQv']=!![];}const _0x5e6e55=_0x46e59e[0x0],_0x463bd4=_0x1af71a+_0x5e6e55,_0x2b3b59=_0x29c8['VOocFq'][_0x463bd4];return!_0x2b3b59?(_0x29c8b7=_0x29c8['ekVCKZ'](_0x29c8b7),_0x29c8['VOocFq'][_0x463bd4]=_0x29c8b7):_0x29c8b7=_0x2b3b59,_0x29c8b7;}async function resolvePackageBinary(_0x235223){const _0x4aea3e={_0x15dd92:0x553,_0x4302ed:0x6c9,_0x20b064:0x5d5,_0x427f9a:0x328,_0x4eda0a:0x2f5,_0x2f592c:0x1b5,_0x586b99:0x27b,_0x3b99ea:0x1e1,_0x303783:0x29c,_0xa01153:0x25f,_0x53db86:0x2c2,_0x2839a7:0x7b5,_0x2e2fb0:0x5dd},_0x451f1c={_0x4561d0:0x345,_0x4ddf4d:0x253},_0x20be44={_0xf2394d:0x72},_0x1af746={_0x1fdf9a:0x1cc},_0x48a881={_0x237f67:0xd3},_0x663f4c=_0x235223[_0x2ef840(_0x4aea3e._0x15dd92,_0x4aea3e._0x4302ed,_0x4aea3e._0x20b064,0x56f)]??_0x235223[_0x1e048d(_0x4aea3e._0x427f9a,0x258,0x457,_0x4aea3e._0x4eda0a)],_0x1f2eaa=await findPackageBinary(_0x663f4c,_0x235223['startDir']);if(_0x1f2eaa)return _0x1f2eaa;const _0x48a696=await findPathBinary(_0x663f4c,_0x235223[_0x1e048d(0x22f,0x240,_0x4aea3e._0x2f592c,0x2f5)]);if(_0x48a696)return _0x48a696;const _0x488eb0=_0x235223['env']??process['env'];if(shouldDisableLspDownload(_0x488eb0))return void 0x0;const _0x552d89=getLspPackageDir(_0x235223[_0x1e048d(_0x4aea3e._0x586b99,_0x4aea3e._0x3b99ea,_0x4aea3e._0x303783,0x2f5)]);function _0x1e048d(_0x177654,_0x5ae93e,_0xf91559,_0x50164b){return _0x38eb01(_0x177654,_0x50164b-0x41c,_0xf91559-0x6c,_0x50164b-_0x48a881._0x237f67);}const _0x13f690=_0x235223['packageName']+':'+_0x663f4c;function _0x2ef840(_0xddd7ad,_0x4cd2e5,_0xe90cbf,_0x4d17b6){return _0x2cc51b(_0x4cd2e5,_0x4cd2e5-0x1db,_0xe90cbf-0x12c,_0xddd7ad-_0x1af746._0x1fdf9a);}let _0x4cc41b=installPromises['get'](_0x13f690);!_0x4cc41b&&(_0x4cc41b=((async()=>{const _0x37dd67={_0x2bad31:0x1d7,_0x474321:0x175};await mkdir(_0x552d89,{'recursive':!![]});function _0x1f9f3a(_0x4b67f8,_0x3dac76,_0xd6a34f,_0xc67205){return _0x1e048d(_0xc67205,_0x3dac76-_0x37dd67._0x2bad31,_0xd6a34f-_0x37dd67._0x474321,_0x4b67f8-0x50);}const _0x4c43f9=await runNpmInstall(_0x552d89,_0x235223[_0x1f9f3a(_0x451f1c._0x4561d0,_0x451f1c._0x4ddf4d,0x49c,0x366)],_0x488eb0);if(!_0x4c43f9)return void 0x0;function _0x158802(_0x5d89db,_0x581787,_0x4b6974,_0x1552b2){return _0x1e048d(_0x1552b2,_0x581787-_0x20be44._0xf2394d,_0x4b6974-0xb3,_0x4b6974- -0x35);}const _0x353729=_0x34a5ed['join'](getLspBinDir(_0x235223[_0x158802(0x325,0x1d7,0x2c0,0x324)]),binaryNameForPlatform(_0x663f4c));return await exists(_0x353729)?_0x353729:void 0x0;})()),installPromises[_0x1e048d(0x23a,_0x4aea3e._0xa01153,_0x4aea3e._0x53db86,0x374)](_0x13f690,_0x4cc41b));try{return await _0x4cc41b;}catch{return void 0x0;}finally{installPromises[_0x2ef840(0x677,0x738,_0x4aea3e._0x2839a7,_0x4aea3e._0x2e2fb0)](_0x13f690);}}var TYPESCRIPT_EXTENSIONS=[_0x2cc51b(0x467,0x2cd,0x35b,0x455),'.tsx',_0x2cc51b(0x3d8,0x51f,0x47c,0x3d4),_0x38eb01(-0x80,-0x1ee,-0x29e,-0x20d),_0x2cc51b(0x3fe,0x258,0x1de,0x2fa),_0x2cc51b(0x4eb,0x6a0,0x567,0x598),_0x2cc51b(0x46c,0x453,0x1ee,0x35c),'.cts'],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x38eb01(-0x109,-0xd7,-0x1d4,0x68),'.jsonc'],TYPESCRIPT_ROOT_MARKERS=[_0x2cc51b(0x498,0x413,0x52a,0x424),_0x38eb01(-0x32e,-0x236,-0x124,-0x28b),'bun.lock',_0x2cc51b(0x3ce,0x4ce,0x4c0,0x4db),_0x2cc51b(0x4e7,0x4d5,0x3e5,0x3c1),_0x38eb01(0x26,-0x5c,-0x177,-0x1db),_0x2cc51b(0x58f,0x5d3,0x489,0x4c0),_0x38eb01(0xad,0x84,-0xb8,0x190)],BIOME_ROOT_MARKERS=[_0x2cc51b(0x536,0x367,0x277,0x3ea),_0x2cc51b(0x5d4,0x370,0x396,0x4ef),_0x2cc51b(0x3f6,0x49c,0x597,0x424),_0x2cc51b(0x303,0x27a,0x1ee,0x2d6),'bun.lock',_0x38eb01(0x138,-0x31,0xbc,-0xf2),_0x2cc51b(0x402,0x4d5,0x313,0x3c1),'package.json'];async function exists2(_0x54719e){try{return await _0x3aa1fd(_0x54719e),!![];}catch{return![];}}async function findUp(_0x11865f,_0x4bc419){const _0x2a249b={_0x398faf:0x2b2,_0xc25c86:0x439,_0x507606:0x74,_0x510ba4:0x100,_0x3ce829:0x76,_0x4171b2:0x78,_0x10cacc:0xfa},_0x32ddad={_0x17bac3:0x9a,_0x3b024d:0x1d9},_0x56758c={_0x505669:0x0,_0x13f75c:0x1d1};function _0x4fa86d(_0x174b8f,_0x144bf9,_0xba9481,_0x328c27){return _0x38eb01(_0x174b8f,_0xba9481-0x283,_0xba9481-_0x56758c._0x505669,_0x328c27-_0x56758c._0x13f75c);}let _0x4ac927=_0x40ac33[_0x1fe539(-_0x2a249b._0x398faf,-0x37d,-0x39e,-_0x2a249b._0xc25c86)](_0x11865f);const _0x258ab1=_0x40ac33[_0x1fe539(-0x136,-_0x2a249b._0x507606,0x2,-0x2ba)](_0x4ac927);function _0x1fe539(_0x11e344,_0x5d876a,_0xe65b9d,_0x2e73a9){return _0x38eb01(_0x2e73a9,_0x11e344- -_0x32ddad._0x17bac3,_0xe65b9d-0xe4,_0x2e73a9-_0x32ddad._0x3b024d);}if(_0x258ab1)_0x4ac927=_0x40ac33['dirname'](_0x4ac927);while(!![]){for(const _0x2822b9 of _0x4bc419){if(await exists2(_0x40ac33[_0x4fa86d(0x175,_0x2a249b._0x510ba4,0xac,-_0x2a249b._0x3ce829)](_0x4ac927,_0x2822b9)))return _0x4ac927;}const _0x139f5e=_0x40ac33[_0x4fa86d(_0x2a249b._0x4171b2,0xf6,_0x2a249b._0x10cacc,0x32)](_0x4ac927);if(_0x139f5e===_0x4ac927)return void 0x0;_0x4ac927=_0x139f5e;}}async function hasDenoRoot(_0x4c9735){const _0x2b1fe5={_0x5d9f97:0x27,_0x293d54:0x1f1,_0x222ab0:0x370,_0x5c90af:0x35e,_0x3b1ca1:0x4a8},_0x34f34e={_0x9f10a1:0x4e},_0x2482b5={_0x4bb959:0x474,_0xe8d84d:0xe0,_0x7a44e3:0x194};function _0xc4113d(_0x3a4c24,_0x47f42f,_0x89c084,_0x2d4487){return _0x38eb01(_0x2d4487,_0x3a4c24-_0x2482b5._0x4bb959,_0x89c084-_0x2482b5._0xe8d84d,_0x2d4487-_0x2482b5._0x7a44e3);}function _0x1751f6(_0x3478a5,_0x5a2713,_0x66c128,_0x33f911){return _0x38eb01(_0x66c128,_0x3478a5-0x37e,_0x66c128-_0x34f34e._0x9f10a1,_0x33f911-0x1f2);}return await exists2(_0x40ac33[_0x1751f6(0x1a7,_0x2b1fe5._0x5d9f97,_0x2b1fe5._0x293d54,0x2fc)](_0x4c9735,_0xc4113d(_0x2b1fe5._0x222ab0,0x4b6,_0x2b1fe5._0x5c90af,_0x2b1fe5._0x3b1ca1)))||await exists2(_0x40ac33[_0x1751f6(0x1a7,0x225,0xb9,0x133)](_0x4c9735,'deno.jsonc'));}async function resolveTsserverPath(_0x2de8cb){const _0x1d0728={_0x1b56f2:0x2bf,_0x5eedce:0x520,_0x30c702:0x183,_0x41c9f7:0x292,_0x4ef24b:0x444,_0x13841c:0x9d,_0x5c7636:0xb6,_0x2cf319:0xf0,_0x1852e4:0x435,_0x42dcad:0x4ff,_0x3333b5:0x118,_0x72fd0c:0x138,_0x302321:0x140,_0x4591ff:0x624,_0x466394:0xf7,_0x295159:0x24e,_0x12ffbc:0x509,_0x378842:0x4e4},_0x5023e7={_0x344fae:0xb2},_0x166cdc={_0x83d26c:0x3ef};let _0x2c3fb9=_0x40ac33['resolve'](_0x2de8cb);while(!![]){const _0x201086=_0x40ac33[_0x47b165(0x31d,0x3e7,_0x1d0728._0x1b56f2,_0x1d0728._0x5eedce)](_0x2c3fb9,_0x345c1f(_0x1d0728._0x30c702,0x2a1,_0x1d0728._0x41c9f7,0x6b),'typescript',_0x47b165(0x4c9,0x5b7,_0x1d0728._0x4ef24b,0x5fe),_0x345c1f(_0x1d0728._0x13841c,0x146,-_0x1d0728._0x5c7636,_0x1d0728._0x2cf319));if(await exists2(_0x201086))return _0x201086;const _0x206544=_0x40ac33[_0x47b165(0x375,_0x1d0728._0x1852e4,_0x1d0728._0x42dcad,0x3f7)](_0x2c3fb9);if(_0x206544===_0x2c3fb9)break;_0x2c3fb9=_0x206544;}function _0x345c1f(_0x50ff15,_0x3b3fa2,_0x2bfc91,_0x137372){return _0x2cc51b(_0x3b3fa2,_0x3b3fa2-0x1d3,_0x2bfc91-0x157,_0x50ff15- -_0x166cdc._0x83d26c);}function _0x47b165(_0x5d4c6c,_0x53d5b6,_0x1d7b13,_0x53bf79){return _0x2cc51b(_0x53bf79,_0x53d5b6-0x14e,_0x1d7b13-0x145,_0x53d5b6-_0x5023e7._0x344fae);}const _0x178a98=getLspPackageDir(_0x345c1f(_0x1d0728._0x3333b5,-0x66,_0x1d0728._0x72fd0c,0x124)),_0x415876=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x47b165(0x565,0x597,0x491,0x624),'startDir':_0x2de8cb});if(!_0x415876)return void 0x0;const _0x9b65f7=_0x40ac33[_0x345c1f(-0xba,-_0x1d0728._0x302321,-0x22e,0x7f)](_0x178a98,_0x47b165(0x6b9,_0x1d0728._0x4591ff,0x49f,0x76e),'typescript',_0x345c1f(0x116,-0x3e,_0x1d0728._0x466394,_0x1d0728._0x295159),_0x47b165(0x5fb,0x53e,_0x1d0728._0x12ffbc,_0x1d0728._0x378842));return await exists2(_0x9b65f7)?_0x9b65f7:void 0x0;}var TypeScriptServer={'id':_0x2cc51b(0x50c,0x601,0x535,0x507),'name':_0x38eb01(-0x2f0,-0x1a3,-0x154,-0x2e0),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x45b819){const _0x518be8=await findUp(_0x45b819,TYPESCRIPT_ROOT_MARKERS);if(!_0x518be8)return void 0x0;return await hasDenoRoot(_0x518be8)?void 0x0:_0x518be8;},async 'spawn'(_0xefd661){const _0x457b1f={_0x1078d1:0x91,_0x31f933:0x6a,_0x417cc8:0x110,_0x250526:0x11d,_0x1489bd:0x77,_0x2ea433:0x134},_0x2cb7cc={_0x48c378:0x2c7,_0x54a851:0x14c,_0x4316b8:0x1e6},_0x35fb26=await resolveTsserverPath(_0xefd661);if(!_0x35fb26)return void 0x0;function _0x2457f7(_0x43c0cc,_0x55df66,_0x2b3536,_0x48cf8e){return _0x38eb01(_0x48cf8e,_0x43c0cc-_0x2cb7cc._0x48c378,_0x2b3536-_0x2cb7cc._0x54a851,_0x48cf8e-_0x2cb7cc._0x4316b8);}const _0x45ce4d=await resolvePackageBinary({'packageName':_0x2457f7(0x188,0xf5,_0x457b1f._0x1078d1,0x169),'binaryName':_0x3704e5(_0x457b1f._0x31f933,-0xf0,-_0x457b1f._0x417cc8,-0xa5),'startDir':_0xefd661});if(!_0x45ce4d)return void 0x0;function _0x3704e5(_0x32370d,_0x2032e1,_0x46585e,_0x473968){return _0x2cc51b(_0x473968,_0x2032e1-0x117,_0x46585e-0xac,_0x2032e1- -0x4bd);}return{'process':_0x2d5f7e(_0x45ce4d,[_0x3704e5(-0x226,-_0x457b1f._0x250526,-0xd0,0x51)],{'cwd':_0xefd661,'stdio':_0x3704e5(0x24,0xc0,_0x457b1f._0x1489bd,_0x457b1f._0x2ea433)}),'initialization':{'tsserver':{'path':_0x35fb26}}};}},BiomeServer={'id':'biome','name':_0x2cc51b(0x3a5,0x3f9,0x31e,0x4a0),'extensions':BIOME_EXTENSIONS,async 'root'(_0x5328ef){return findUp(_0x5328ef,BIOME_ROOT_MARKERS);},async 'spawn'(_0x3141bd){const _0x10ac64={_0x404c0f:0x1ca,_0x4595af:0xfe,_0x34087a:0xfb,_0x12cbf6:0xe8,_0x40a416:0x25,_0x18f3cf:0x1bf},_0x5a64ac={_0x46b3e5:0xd5,_0x3b5b5d:0x6f,_0x5800f1:0xd},_0x20ad18={_0x4d2a30:0x8,_0xc7d3a9:0x3e8};function _0x509e19(_0x4035da,_0x3b8e37,_0x556e8d,_0xd12a35){return _0x2cc51b(_0x4035da,_0x3b8e37-0x1d0,_0x556e8d-_0x20ad18._0x4d2a30,_0xd12a35- -_0x20ad18._0xc7d3a9);}function _0x1521f8(_0x345312,_0x23e268,_0x522442,_0x12b9ba){return _0x2cc51b(_0x23e268,_0x23e268-_0x5a64ac._0x46b3e5,_0x522442-_0x5a64ac._0x3b5b5d,_0x522442-_0x5a64ac._0x5800f1);}const _0xf745d6=await findPackageBinary('biome',_0x3141bd)??await resolvePackageBinary({'packageName':_0x509e19(-0xc8,-_0x10ac64._0x404c0f,-_0x10ac64._0x4595af,-_0x10ac64._0x34087a),'binaryName':_0x509e19(0xec,-0x63,0x1c9,_0x10ac64._0x12cbf6),'startDir':_0x3141bd});if(!_0xf745d6)return void 0x0;return{'process':_0x2d5f7e(_0xf745d6,[_0x509e19(-0x19e,-_0x10ac64._0x40a416,-_0x10ac64._0x18f3cf,-0xdf),'--stdio'],{'cwd':_0x3141bd,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x2962d2){const _0x363070={_0x21d35b:0x49d,_0x391ced:0x3f7,_0x360c08:0x3d6},_0x5267c8={_0x582177:0x19d,_0x5623e3:0x13c,_0x5f25ee:0x2d},_0x53738d=_0x40ac33[_0x1c7317(0x55d,0x522,_0x363070._0x21d35b,_0x363070._0x391ced)](_0x2962d2)[_0x11c4c7(0x613,0x48e,_0x363070._0x360c08,0x3ee)]();function _0x11c4c7(_0x452d6d,_0x34c91b,_0x18cef0,_0x44303b){return _0x38eb01(_0x44303b,_0x34c91b-0x599,_0x18cef0-0xb1,_0x44303b-0xb4);}function _0x1c7317(_0x12a071,_0x4d4937,_0x18438d,_0x5ba265){return _0x2cc51b(_0x4d4937,_0x4d4937-_0x5267c8._0x582177,_0x18438d-_0x5267c8._0x5623e3,_0x18438d-_0x5267c8._0x5f25ee);}return BUILTIN_LSP_SERVERS[_0x1c7317(0x69c,0x42d,0x51b,0x4a5)](_0x774d08=>_0x774d08['extensions'][_0x1c7317(0x275,0x1b9,0x2d2,0x43c)](_0x53738d));}function stateKey(_0x221305,_0x5ca678){return _0x5ca678+':'+_0x221305['id'];}function diagnosticsKeyToPath(_0x31713b){const _0x1168da={_0x34bd64:0x60a,_0x219e5f:0x6c6,_0x5b6479:0x539,_0x13bd60:0x3c9,_0x1b60e0:0x427},_0xfda5e0={_0x3d5c60:0x494,_0x1d84d1:0x10e},_0x11d3a1={_0x52bbcb:0x6cd,_0x21f164:0xce,_0x88095a:0xe2};function _0x12ab7c(_0x18ac2c,_0x3a67e5,_0xd09755,_0x1cd243){return _0x38eb01(_0x18ac2c,_0x3a67e5-_0x11d3a1._0x52bbcb,_0xd09755-_0x11d3a1._0x21f164,_0x1cd243-_0x11d3a1._0x88095a);}if(!_0x31713b[_0x12ab7c(0x705,_0x1168da._0x34bd64,_0x1168da._0x219e5f,_0x1168da._0x5b6479)](_0x12ab7c(0x578,0x546,_0x1168da._0x13bd60,_0x1168da._0x1b60e0)))return _0x31713b;function _0x26fa35(_0x2e9089,_0x7f7c58,_0x3e13e4,_0x580f6f){return _0x38eb01(_0x3e13e4,_0x7f7c58-_0xfda5e0._0x3d5c60,_0x3e13e4-_0xfda5e0._0x1d84d1,_0x580f6f-0x1a4);}return fileURLToPath(_0x31713b);}function nextFileVersion(_0x2710f2,_0xbc56f){const _0x1e044d={_0x48df70:0x21a,_0x4664f8:0xb2,_0x17c409:0x1cb,_0x29cb86:0x179,_0x4d71e6:0x3cf,_0x3e25d1:0x1de,_0x2e18b4:0x37e,_0x1f9e75:0x286,_0x2cb0e8:0x2cc},_0x17dd51={_0x3c2b5d:0x73},_0x55a9a8={_0x88b293:0x1a4,_0x47c3f9:0x161};function _0x14ddf8(_0x126c6f,_0x796744,_0x5bfe68,_0x4c9088){return _0x2cc51b(_0x796744,_0x796744-_0x55a9a8._0x88b293,_0x5bfe68-_0x55a9a8._0x47c3f9,_0x5bfe68- -0x1de);}const _0x53dca8=(_0x2710f2[_0x46d474(_0x1e044d._0x48df70,_0x1e044d._0x4664f8,_0x1e044d._0x17c409,_0x1e044d._0x29cb86)][_0x46d474(0x351,_0x1e044d._0x4d71e6,0x23a,_0x1e044d._0x3e25d1)](_0xbc56f)??0x1)+0x1;function _0x46d474(_0x13562a,_0x5a2f45,_0x314446,_0x29d253){return _0x38eb01(_0x314446,_0x13562a-0x491,_0x314446-_0x17dd51._0x3c2b5d,_0x29d253-0x1b1);}return _0x2710f2[_0x46d474(0x21a,0x15a,0x103,_0x1e044d._0x2e18b4)][_0x14ddf8(0x387,0x214,_0x1e044d._0x1f9e75,_0x1e044d._0x2cb0e8)](_0xbc56f,_0x53dca8),_0x53dca8;}async function collectClientResults(_0x4256b8){const _0x351ae2={_0x5e9d0f:0x2cc,_0x571310:0x3dc},_0x2b52bc={_0x4a1df5:0x2a,_0x3e8003:0x139},_0x22d03e={_0xa16c07:0x6,_0x40b63b:0x15,_0x523a2c:0x2a};function _0xf76496(_0x137bc2,_0x2302d3,_0x5a2590,_0x959e8){return _0x2cc51b(_0x137bc2,_0x2302d3-_0x22d03e._0xa16c07,_0x5a2590-_0x22d03e._0x40b63b,_0x2302d3- -_0x22d03e._0x523a2c);}const _0x159324=await Promise[_0xf76496(0x33e,0x344,_0x351ae2._0x5e9d0f,_0x351ae2._0x571310)](_0x4256b8);function _0x573086(_0x416c02,_0x51d0f7,_0x34e759,_0x1a96e1){return _0x38eb01(_0x51d0f7,_0x416c02- -_0x2b52bc._0x4a1df5,_0x34e759-0x1cc,_0x1a96e1-_0x2b52bc._0x3e8003);}return _0x159324['flatMap'](_0x471f99=>_0x471f99[_0x573086(-0x11b,-0x186,-0xb7,-0x140)]===_0xf76496(0x5d9,0x54d,0x46c,0x58b)?_0x471f99[_0xf76496(0x412,0x2e7,0x3c2,0x338)]:[]);}function createLspService(_0x1973f0={}){const _0xc5a80d={_0x5d83f6:0x405,_0xe41054:0x352},_0x55823d={_0x4c5946:0x358,_0x3816cd:0x3a2,_0x272758:0x2f7,_0x5d76fe:0x430,_0x30e23b:0x41a,_0x40ea88:0x581,_0x210372:0x331,_0x394c52:0x7ca,_0x36d21a:0x5b7,_0x388df0:0x509,_0x134903:0x1c5,_0x53fbbe:0x3f8,_0x46f09f:0x4a8,_0x78764:0x2bc,_0x3e43aa:0x2f1,_0x5d3ba9:0x5c8,_0x4b97aa:0x5b3,_0x2ca915:0x1e7},_0x60796e={_0x5d3694:0x79,_0x43c8e0:0x217},_0x44489e={_0x74e9ac:0x18d},_0xd32d32={_0x17e46a:0x1d4,_0x59ddda:0x133},_0x4f975a={_0x5817a9:0x18b},_0x5c46c3={_0xc9d545:0xfc,_0x76c8a6:0x59},_0x48a5d4={_0x26d0b5:0x4fc},_0x10a934={_0x455a70:0x21,_0x5a2429:0x129},_0x330f41={_0x960bbd:0x184},_0x3cbbf7={_0x5f0ddd:0x2eb,_0xbf32b4:0x39d,_0x251f23:0x18a},_0x2ade6b={_0x34c77b:0x42c,_0x1ec217:0x6d6,_0x21a698:0x5e5,_0x166f90:0x5df},_0x1ff2a3={_0x27582c:0xf,_0x40b869:0x58},_0x2a205d={_0x44ab4d:0x290,_0x454e6f:0xe0},_0x33f3b5={_0x1124f3:0x6f},_0x353603={_0x128586:0xa6,_0x59aa26:0x14e,_0x44117d:0x14b,_0x297985:0x17b,_0x2f30fe:0xa,_0x8e29dd:0x17d},_0x1378a0={_0x4967ba:0x9b,_0x48b757:0x1d5},_0x45ba56={_0x27ed11:0x541,_0x337745:0x4b1,_0x4c56a9:0x358},_0x5960d1={_0x19e937:0x87},_0x14e5fa={_0xd2b4b2:0xf4,_0x27fff0:0x178,_0x54d7f8:0x1cf,_0x2b29b:0xf5,_0xce7144:0x88},_0x1cf67d={_0x5706a7:0x735},_0x452abb={_0x34a28f:0x189,_0x51e9e7:0x67},_0x232100={_0x826cc8:0x34c,_0x5cf966:0x25b},_0x2d5f3d={_0x2de367:0xe8,_0x133911:0xfe,_0x3ace4b:0x5c,_0x472c5c:0x144,_0x1e1219:0x76,_0x54a4d6:0x202,_0x12e529:0xdc,_0x166b89:0xb2,_0x5268d0:0x29a,_0x416d1c:0x1b3,_0x306967:0x4e,_0x28cfc3:0xc1,_0x3f7a5f:0x242,_0x145f96:0x239,_0x12a2ff:0x76,_0x363423:0xa4,_0x42a126:0x1aa,_0x299a2f:0x14a,_0x5632a8:0xc9,_0x34cc1c:0xdc,_0x5674cc:0x162,_0x103104:0x1ec,_0xbf6129:0x9f,_0x408196:0x47,_0x53b009:0x71,_0x2ea6eb:0x7f},_0x5a4f27={_0x1e35f3:0x5f9,_0x2a48f7:0x4ab,_0x7008a4:0x15,_0x4a2f61:0x50,_0x1bc3c1:0x30,_0x276b1e:0x6ad,_0x197d52:0x446},_0x1c19a6={_0x50574f:0x48,_0x31089c:0x1c3,_0x3f381e:0x32d},_0x119647={_0x20fa09:0xdb,_0x3f93fb:0x105},_0x4a6073={_0x30dca9:0xdd,_0x5b7ff5:0x23,_0x172b6a:0x133,_0x4e720d:0x272,_0x471582:0x56,_0x2dc718:0x77,_0x17f0dd:0x60f,_0x2a700e:0x4bc,_0x32ebed:0x1df,_0x4f0ec4:0x637,_0x1c8dcf:0x3ac,_0x4e472b:0x226,_0x3c083a:0x163},_0xb58186={_0x5ae716:0x19},_0x20455c={_0x2fdec9:0x1c9},_0x4d899d={_0x4b7c34:0x25},_0x25124c={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x4d964a=()=>_0x1973f0[_0x346443(0x1d1,0x1a0,0x384,0x2d6)]!==![];function _0x346443(_0x4c11c3,_0x182367,_0x1630af,_0x530f79){return _0x2cc51b(_0x182367,_0x182367-_0x4d899d._0x4b7c34,_0x1630af-0x197,_0x530f79- -0x251);}async function _0x346a79(_0x172953,_0x2065cf){const _0x4d63e3={_0x3deeb4:0x3e1,_0x305ff1:0x1a4,_0x458afd:0x427,_0x13b003:0x42f,_0x593b4f:0x337,_0x4c57cd:0x268,_0x547d78:0xf8,_0x4ad992:0x289,_0x21f614:0x15d,_0x3a82ec:0x1cc,_0x76dba:0xff,_0x911880:0x1dc,_0x56f811:0x337,_0xb6ecdc:0x18c,_0x1e65c2:0x2e3,_0x334376:0x1f4,_0x5d4f0d:0x222},_0x2f09db={_0x11e27f:0x2d8,_0x565441:0xde},_0xc9b0ac=stateKey(_0x172953,_0x2065cf),_0x47055c=_0x25124c[_0x4c2aa8(0x282,_0x4a6073._0x30dca9,-_0x4a6073._0x5b7ff5,_0x4a6073._0x172b6a)][_0x4c2aa8(_0x4a6073._0x4e720d,_0x4a6073._0x471582,_0x4a6073._0x2dc718,0x1ab)](_0x26848e=>_0x26848e[_0x4c2aa8(-0xa1,0x1fb,0x99,0xcc)]===_0x172953['id']&&_0x26848e[_0x4c2aa8(0x113,0x9d,0x259,0x1d6)]===_0x2065cf);if(_0x47055c)return _0x47055c;function _0x5b5d8b(_0xda077d,_0x4f2da0,_0x2895b7,_0x3acd82){return _0x346443(_0xda077d-0x5c,_0x4f2da0,_0x2895b7-_0x20455c._0x2fdec9,_0xda077d-0x382);}if(_0x25124c[_0x5b5d8b(_0x4a6073._0x17f0dd,0x729,_0x4a6073._0x2a700e,0x5bb)]['has'](_0xc9b0ac))return void 0x0;const _0xe3e6f4=_0x25124c[_0x4c2aa8(_0x4a6073._0x32ebed,0x1ce,0x252,0x270)][_0x5b5d8b(0x4fd,_0x4a6073._0x4f0ec4,0x3a5,_0x4a6073._0x1c8dcf)](_0xc9b0ac);if(_0xe3e6f4)return _0xe3e6f4;function _0x4c2aa8(_0x350758,_0x50694f,_0x520769,_0x56468e){return _0x346443(_0x350758-0x102,_0x520769,_0x520769-0x1a0,_0x56468e-_0xb58186._0x5ae716);}const _0x121bfe=((async()=>{const _0x50ac0e={_0x9a16c5:0x12c,_0x586184:0xb1,_0x98627d:0x4e};function _0x1cd5a6(_0x2cf6a9,_0x303357,_0xed17f9,_0x284850){return _0x4c2aa8(_0x2cf6a9-_0x50ac0e._0x9a16c5,_0x303357-_0x50ac0e._0x586184,_0x2cf6a9,_0xed17f9- -_0x50ac0e._0x98627d);}function _0x5d043c(_0x3fa32b,_0x5bd88e,_0xdcf034,_0x303120){return _0x5b5d8b(_0xdcf034- -_0x2f09db._0x11e27f,_0x3fa32b,_0xdcf034-_0x2f09db._0x565441,_0x303120-0x136);}try{const _0x4dcd00=await _0x172953[_0x1cd5a6(0x330,_0x4d63e3._0x3deeb4,0x2d5,_0x4d63e3._0x305ff1)](_0x2065cf);if(!_0x4dcd00)return _0x25124c[_0x5d043c(_0x4d63e3._0x458afd,_0x4d63e3._0x13b003,_0x4d63e3._0x593b4f,_0x4d63e3._0x4c57cd)][_0x1cd5a6(_0x4d63e3._0x547d78,0x100,0x19b,_0x4d63e3._0x4ad992)](_0xc9b0ac),void 0x0;const _0x3673f9=await createLspClient({'server':_0x172953,'root':_0x2065cf,'handle':_0x4dcd00}),_0x236178=_0x25124c['clients'][_0x1cd5a6(0x18a,0x18c,_0x4d63e3._0x21f614,_0x4d63e3._0x3a82ec)](_0x5b6ae0=>_0x5b6ae0['serverId']===_0x172953['id']&&_0x5b6ae0['root']===_0x2065cf);if(_0x236178)return await _0x3673f9['shutdown'](),_0x236178;return _0x25124c[_0x1cd5a6(0x250,_0x4d63e3._0x76dba,0xe5,_0x4d63e3._0x911880)]['push'](_0x3673f9),_0x3673f9;}catch{return _0x25124c[_0x5d043c(0x1fa,0x1e8,_0x4d63e3._0x56f811,0x1dc)][_0x5d043c(0x165,_0x4d63e3._0xb6ecdc,0x27a,_0x4d63e3._0x1e65c2)](_0xc9b0ac),void 0x0;}finally{_0x25124c[_0x1cd5a6(_0x4d63e3._0x334376,0x1e1,_0x4d63e3._0x5d4f0d,0x227)]['delete'](_0xc9b0ac);}})());return _0x25124c[_0x4c2aa8(_0x4a6073._0x4e472b,0x294,0x15b,0x270)][_0x4c2aa8(0x26f,_0x4a6073._0x3c083a,0x3ac,0x22c)](_0xc9b0ac,_0x121bfe),_0x121bfe;}async function _0x2ceddd(_0x22f557,_0x32535a){function _0x413bb5(_0x2c0e29,_0x25924b,_0x1df651,_0x355226){return _0x346443(_0x2c0e29-0x7c,_0x1df651,_0x1df651-_0x119647._0x20fa09,_0x355226- -_0x119647._0x3f93fb);}function _0x2ef292(_0x172ff0,_0xf582ac,_0x22f803,_0x343ca9){return _0x346443(_0x172ff0-_0x1c19a6._0x50574f,_0x22f803,_0x22f803-_0x1c19a6._0x31089c,_0x172ff0-_0x1c19a6._0x3f381e);}if(!_0x4d964a())return[];const _0x479f8a=[];for(const _0x52f3a7 of getServersForFile(_0x22f557)){const _0x3780df=await _0x52f3a7['root'](_0x22f557);if(!_0x3780df)continue;const _0x735fc0=stateKey(_0x52f3a7,_0x3780df);if(_0x25124c[_0x2ef292(0x5ba,0x628,0x69d,_0x5a4f27._0x1e35f3)][_0x2ef292(0x522,0x3b1,0x3d1,_0x5a4f27._0x2a48f7)](_0x735fc0))continue;const _0x4ee562=_0x25124c[_0x413bb5(0x7b,-0xa3,-0xdb,_0x5a4f27._0x7008a4)]['find'](_0x1b6166=>_0x1b6166[_0x2ef292(0x3e0,0x2d7,0x343,0x28b)]===_0x52f3a7['id']&&_0x1b6166[_0x413bb5(0xc6,0x42,-0x63,0xb8)]===_0x3780df);if(_0x4ee562){_0x479f8a[_0x413bb5(_0x5a4f27._0x4a2f61,0x7f,-_0x5a4f27._0x1bc3c1,0x10f)](_0x4ee562);continue;}if(!_0x32535a)continue;const _0x1b73a0=await _0x346a79(_0x52f3a7,_0x3780df);if(_0x1b73a0)_0x479f8a[_0x2ef292(0x541,0x42e,_0x5a4f27._0x276b1e,_0x5a4f27._0x197d52)](_0x1b73a0);}return _0x479f8a;}async function _0x32d1bc(_0x5cb9c7,_0x4ddec8=![]){const _0x2e80d5=await _0x2ceddd(_0x5cb9c7,!![]);await Promise['all'](_0x2e80d5['map'](async _0x5494f5=>{const _0x1f900e={_0x149bac:0x1a9};!_0x25124c[_0x2abd81(_0x2d5f3d._0x2de367,0xce,_0x2d5f3d._0x133911,-_0x2d5f3d._0x3ace4b)]['has'](_0x5494f5[_0x146945(-_0x2d5f3d._0x472c5c,-_0x2d5f3d._0x1e1219,-0xda,-0x1c5)]+':'+_0x5494f5[_0x2abd81(-0x10,0x5f,0x275,0xf9)]+':'+_0x5cb9c7)&&(await _0x5494f5[_0x146945(_0x2d5f3d._0x54a4d6,_0x2d5f3d._0x12e529,0x76,0x1d5)][_0x2abd81(_0x2d5f3d._0x166b89,_0x2d5f3d._0x5268d0,0x178,_0x2d5f3d._0x416d1c)]({'path':_0x5cb9c7}),_0x25124c[_0x146945(-_0x2d5f3d._0x306967,-_0x2d5f3d._0x28cfc3,-0x133,0x59)][_0x2abd81(_0x2d5f3d._0x3f7a5f,_0x2d5f3d._0x145f96,0x8d,0x10c)](_0x5494f5[_0x146945(-0x53,-_0x2d5f3d._0x12a2ff,-_0x2d5f3d._0x363423,-0xca)]+':'+_0x5494f5[_0x146945(_0x2d5f3d._0x42a126,0x94,0x7,_0x2d5f3d._0x299a2f)]+':'+_0x5cb9c7));function _0x146945(_0x54ed9a,_0x4a605a,_0x1a3ced,_0x39068e){return _0x29c8(_0x4a605a- -_0x1f900e._0x149bac,_0x39068e);}await _0x5494f5[_0x146945(_0x2d5f3d._0x5632a8,_0x2d5f3d._0x34cc1c,_0x2d5f3d._0x5674cc,_0x2d5f3d._0x103104)][_0x2abd81(_0x2d5f3d._0xbf6129,-_0x2d5f3d._0x408196,-0xac,-_0x2d5f3d._0x53b009)]({'path':_0x5cb9c7,'version':nextFileVersion(_0x25124c,_0x5cb9c7)});function _0x2abd81(_0x4d86b4,_0x4f4aeb,_0x5e95f8,_0x38ba6e){return _0x29c8(_0x38ba6e- -0x144,_0x4d86b4);}if(_0x4ddec8)await _0x5494f5[_0x146945(_0x2d5f3d._0x2ea6eb,0x17c,0xe3,0x1d5)]({'path':_0x5cb9c7});}));}async function _0xdaa918(_0x2c246c){function _0x3ee5b7(_0x4a6528,_0x4dcf4e,_0x483761,_0x30837d){return _0x346443(_0x4a6528-0xda,_0x30837d,_0x483761-0x4,_0x4a6528-0xf0);}return await _0x32d1bc(_0x2c246c['file'],![]),_0x2ceddd(_0x2c246c[_0x3ee5b7(_0x232100._0x826cc8,0x3f6,0x211,_0x232100._0x5cf966)],![]);}async function _0x4d765f(_0x3e191f){const _0x4adade={_0x4302b1:0x1c8,_0x3658a0:0x17e,_0x384308:0x3e7};function _0x10cfb(_0x526af5,_0x5cc0e0,_0x48f6a9,_0x205214){return _0x346443(_0x526af5-0x52,_0x5cc0e0,_0x48f6a9-_0x452abb._0x34a28f,_0x48f6a9-_0x452abb._0x51e9e7);}const _0x53cf55=await _0xdaa918(_0x3e191f);function _0x1a8b0a(_0x3d1f92,_0x5492dd,_0x53585d,_0x225fc3){return _0x346443(_0x3d1f92-_0x4adade._0x4302b1,_0x53585d,_0x53585d-_0x4adade._0x3658a0,_0x5492dd-_0x4adade._0x384308);}return collectClientResults(_0x53cf55[_0x1a8b0a(_0x1cf67d._0x5706a7,0x64f,0x6e6,0x4db)](_0x2fb9e8=>_0x2fb9e8[_0x10cfb(0x353,0x1ad,0x280,0x370)][_0x1a8b0a(0x508,0x55e,0x62d,0x6ae)](_0x3e191f)));}return{'isEnabled':_0x4d964a,async 'hasClients'(_0x1f649d){const _0x108e43={_0x5b197c:0xd7,_0x4ca396:0x111,_0x3053bf:0x12c},_0x1fdae4={_0x5dc3b4:0x110};function _0x2bab6c(_0xf5da56,_0x40f507,_0x56e11c,_0x117dab){return _0x346443(_0xf5da56-0x1c0,_0xf5da56,_0x56e11c-0xbd,_0x117dab-_0x1fdae4._0x5dc3b4);}function _0x3fab23(_0x4407d8,_0x528091,_0x1545b4,_0x55674a){return _0x346443(_0x4407d8-_0x108e43._0x5b197c,_0x4407d8,_0x1545b4-_0x108e43._0x4ca396,_0x55674a- -_0x108e43._0x3053bf);}return(await _0x2ceddd(_0x1f649d,![]))[_0x3fab23(_0x14e5fa._0xd2b4b2,_0x14e5fa._0x27fff0,0x5a,0x88)]>0x0||getServersForFile(_0x1f649d)[_0x3fab23(0x143,_0x14e5fa._0x54d7f8,-_0x14e5fa._0x2b29b,_0x14e5fa._0xce7144)]>0x0;},'touchFile':_0x32d1bc,async 'diagnostics'(){const _0x5d74bf={};function _0x25c23f(_0x5658f7,_0x6865f,_0x157c71,_0x239fba){return _0x346443(_0x5658f7-_0x5960d1._0x19e937,_0x6865f,_0x157c71-0x59,_0x157c71-0x2ee);}for(const _0x144255 of _0x25124c['clients']){for(const [_0x215f9f,_0x223966]of _0x144255[_0x25c23f(0x453,_0x45ba56._0x27ed11,_0x45ba56._0x337745,_0x45ba56._0x4c56a9)]){_0x5d74bf[diagnosticsKeyToPath(_0x215f9f)]=_0x223966;}}return _0x5d74bf;},async 'diagnosticsForFile'(_0xb85590){const _0x3b82c9={_0xd4d834:0x11a};await _0x32d1bc(_0xb85590,!![]);const _0x4efafc=[];for(const _0x18c1e1 of await _0x2ceddd(_0xb85590,![])){for(const [_0x12d175,_0x485509]of _0x18c1e1[_0x3a5aaf(0x140,_0x353603._0x128586,_0x353603._0x59aa26,_0x353603._0x44117d)]){if(diagnosticsKeyToPath(_0x12d175)===_0xb85590)_0x4efafc[_0x3a5aaf(_0x353603._0x297985,0xf7,_0x353603._0x2f30fe,_0x353603._0x8e29dd)](..._0x485509);}}function _0x3a5aaf(_0x2045b8,_0x330e6a,_0x2b098f,_0x86b44e){return _0x346443(_0x2045b8-_0x3b82c9._0xd4d834,_0x2045b8,_0x2b098f-0x1a6,_0x330e6a- -0x11d);}function _0x38e32d(_0x2a93c4,_0xb30c98,_0x50fb3f,_0x43ab6f){return _0x346443(_0x2a93c4-_0x1378a0._0x4967ba,_0x43ab6f,_0x50fb3f-_0x1378a0._0x48b757,_0xb30c98-0x1e0);}return _0x4efafc;},async 'definition'(_0x95307a){const _0x16ca0d={_0x2ec9b3:0xbc,_0x3ec7ed:0x183,_0x501d81:0x154};function _0x2e484c(_0x36b8bf,_0x2f811c,_0x1b0912,_0x500531){return _0x346443(_0x36b8bf-_0x16ca0d._0x2ec9b3,_0x2f811c,_0x1b0912-_0x16ca0d._0x3ec7ed,_0x500531-_0x16ca0d._0x501d81);}function _0x55aed3(_0x597d1b,_0x4c506d,_0x32d86b,_0x4d33be){return _0x346443(_0x597d1b-0x155,_0x4c506d,_0x32d86b-_0x33f3b5._0x1124f3,_0x32d86b-0x38d);}return collectClientResults((await _0xdaa918(_0x95307a))['map'](_0x205184=>_0x205184[_0x55aed3(0x4bc,0x6cc,0x5a6,0x550)][_0x55aed3(0x546,0x4ae,0x3f7,0x4b0)](_0x95307a)));},async 'references'(_0x279be5){const _0x4d3a60={_0x2e81a7:0x1d4};function _0x50bcb4(_0xe41c22,_0x412de7,_0x17405b,_0x595b2c){return _0x346443(_0xe41c22-_0x4d3a60._0x2e81a7,_0x412de7,_0x17405b-0xe4,_0x17405b- -0x244);}function _0x417a3b(_0x49b824,_0x507c9f,_0x4229a4,_0x17edb0){return _0x346443(_0x49b824-0x12b,_0x4229a4,_0x4229a4-0x1b2,_0x17edb0- -0xf9);}return collectClientResults((await _0xdaa918(_0x279be5))[_0x417a3b(0x143,_0x2a205d._0x44ab4d,_0x2a205d._0x454e6f,0x16f)](_0x131f74=>_0x131f74[_0x417a3b(0x27,0xe,-0x1,0x120)][_0x50bcb4(-0x14a,-0x1b5,-0xce,-0x2c)](_0x279be5)));},async 'hover'(_0x2847a1){const _0x17894f={_0x5a28a0:0x97},_0xa9b227=await Promise[_0x494d58(_0x2ade6b._0x34c77b,0x49e,0x381,0x4ec)]((await _0xdaa918(_0x2847a1))[_0x318826(_0x2ade6b._0x1ec217,_0x2ade6b._0x21a698,0x539,_0x2ade6b._0x166f90)](_0x51dae8=>_0x51dae8[_0x494d58(0x677,0x59a,0x548,0x549)][_0x318826(0x4ff,0x639,0x59f,0x4f4)](_0x2847a1)));function _0x318826(_0x3c5d0b,_0x5c8ac2,_0xa3703,_0x1da6f7){return _0x346443(_0x3c5d0b-0x13,_0xa3703,_0xa3703-_0x17894f._0x5a28a0,_0x5c8ac2-0x37d);}function _0x494d58(_0x46c28e,_0x220917,_0x5bb4db,_0x529e56){return _0x346443(_0x46c28e-_0x1ff2a3._0x27582c,_0x529e56,_0x5bb4db-_0x1ff2a3._0x40b869,_0x220917-0x381);}return _0xa9b227[_0x494d58(0x433,0x48d,0x615,0x466)](_0x332aea=>_0x332aea[_0x494d58(0x534,0x54b,0x5f9,0x641)]===_0x494d58(0x5c7,0x6a7,0x59b,0x544)&&_0x332aea[_0x494d58(0x369,0x441,0x552,0x306)]?[_0x332aea[_0x494d58(0x590,0x441,0x52f,0x448)]]:[]);},async 'documentSymbol'(_0x2d3d65){const _0x34d7f0={_0x4cf280:0x13b};function _0x211e8d(_0x4695e2,_0x5cd021,_0x411d72,_0x5ab1f0){return _0x346443(_0x4695e2-_0x34d7f0._0x4cf280,_0x4695e2,_0x411d72-0xcc,_0x5cd021-0x83);}return await _0x32d1bc(_0x2d3d65,![]),collectClientResults((await _0x2ceddd(_0x2d3d65,![]))[_0x211e8d(0x3bb,_0x3cbbf7._0x5f0ddd,_0x3cbbf7._0xbf32b4,_0x3cbbf7._0x251f23)](_0x3c3050=>_0x3c3050['request']['documentSymbol'](_0x2d3d65)));},async 'workspaceSymbol'(_0x3327c3){function _0xdaa236(_0x15cfbb,_0x4e4040,_0x5155b0,_0x174a91){return _0x346443(_0x15cfbb-0x124,_0x15cfbb,_0x5155b0-0xfc,_0x174a91- -0x2fe);}function _0x4d41a8(_0x352fbd,_0x4da2e2,_0x4d473a,_0x1b7fe7){return _0x346443(_0x352fbd-0x13f,_0x4da2e2,_0x4d473a-_0x330f41._0x960bbd,_0x4d473a-0x26c);}return collectClientResults(_0x25124c[_0x4d41a8(0x3ff,0x375,0x386,0x3cc)]['map'](_0x3ace62=>_0x3ace62[_0x4d41a8(0x33c,0x3e1,0x485,0x351)][_0xdaa236(0x5c,0x50,-0x119,-0xdd)](_0x3327c3)));},async 'implementation'(_0x4388fe){const _0x5cff7e={_0x1e16b:0x44,_0x3c59c8:0x24};function _0x2f565a(_0x5b7b17,_0x60bd59,_0x32542d,_0x2d7382){return _0x346443(_0x5b7b17-0x11d,_0x5b7b17,_0x32542d-_0x5cff7e._0x1e16b,_0x2d7382- -_0x5cff7e._0x3c59c8);}function _0x86485b(_0x3d8770,_0x5677dd,_0x20fe4d,_0x2c2b7a){return _0x346443(_0x3d8770-_0x10a934._0x455a70,_0x3d8770,_0x20fe4d-0x161,_0x2c2b7a-_0x10a934._0x5a2429);}return collectClientResults((await _0xdaa918(_0x4388fe))[_0x86485b(_0x48a5d4._0x26d0b5,0x36c,0x500,0x391)](_0xaf869e=>_0xaf869e[_0x2f565a(0x253,0x326,0x31e,0x1f5)][_0x2f565a(-0x37,0xcf,0x1d4,0xd2)](_0x4388fe)));},async 'prepareCallHierarchy'(_0x43ed0e){return _0x4d765f(_0x43ed0e);},async 'incomingCalls'(_0x5d06be){const _0x4db96f={_0x318fd6:0x3d},_0x24a2f8={_0xd05a46:0x8d,_0x4f37f1:0xec};function _0x292e1d(_0x511bec,_0x3aaf02,_0x3a57fa,_0x11ee18){return _0x346443(_0x511bec-_0x24a2f8._0xd05a46,_0x11ee18,_0x3a57fa-_0x24a2f8._0x4f37f1,_0x511bec- -0x10);}function _0x40ea61(_0x341653,_0x15ba3a,_0x101985,_0x410fc3){return _0x346443(_0x341653-0x117,_0x101985,_0x101985-0x11c,_0x410fc3- -_0x4db96f._0x318fd6);}const _0x4ff586=await _0x4d765f(_0x5d06be),_0x3fb2c=await _0xdaa918(_0x5d06be);return collectClientResults(_0x3fb2c[_0x292e1d(_0x5c46c3._0xc9d545,_0x5c46c3._0x76c8a6,0x256,-0x7b)](_0x14c028=>_0x4ff586['map'](_0xafc45=>_0x14c028[_0x40ea61(0x282,0x2a6,0x19d,0x1dc)][_0x40ea61(0x222,0x173,0x166,0xee)](_0xafc45))));},async 'outgoingCalls'(_0x4f6e1f){const _0x1facbb=await _0x4d765f(_0x4f6e1f);function _0x1e5eb9(_0x47667b,_0x91b6ef,_0xbc2dcf,_0x270439){return _0x346443(_0x47667b-_0x4f975a._0x5817a9,_0x270439,_0xbc2dcf-0x38,_0x47667b-0x122);}const _0x34e573=await _0xdaa918(_0x4f6e1f);function _0x58f82b(_0x5233fa,_0x128fd4,_0xab7f46,_0x412ec1){return _0x346443(_0x5233fa-_0xd32d32._0x17e46a,_0x128fd4,_0xab7f46-_0xd32d32._0x59ddda,_0x5233fa-0x463);}return collectClientResults(_0x34e573[_0x1e5eb9(0x22e,0x398,0x15f,_0x44489e._0x74e9ac)](_0x1dc397=>_0x1facbb[_0x1e5eb9(0x38a,0x501,0x3cc,0x235)](_0x2e1b79=>_0x1dc397[_0x1e5eb9(0x33b,0x411,0x312,0x3d7)][_0x58f82b(0x61b,0x63d,0x795,0x768)](_0x2e1b79))));},async 'shutdown'(){const _0x4f00ef={_0x4badc7:0x1c1};function _0x27cddc(_0x54c241,_0x9e66d3,_0x29d29b,_0x3eb85d){return _0x346443(_0x54c241-_0x4f00ef._0x4badc7,_0x54c241,_0x29d29b-0x83,_0x3eb85d-0x464);}if(_0x25124c['shutdownStarted'])return;_0x25124c[_0x287b5a(_0x55823d._0x4c5946,0x4d8,_0x55823d._0x3816cd,_0x55823d._0x272758)]=!![],await Promise[_0x27cddc(_0x55823d._0x5d76fe,0x621,_0x55823d._0x30e23b,_0x55823d._0x40ea88)](_0x25124c[_0x287b5a(_0x55823d._0x210372,0x218,0x28a,0x3d5)][_0x27cddc(0x6c3,0x62a,_0x55823d._0x394c52,0x6cc)](_0x1a2ec6=>_0x1a2ec6[_0x27cddc(0x6b1,0x862,0x6b0,0x72f)]())),_0x25124c['clients']=[];function _0x287b5a(_0x509377,_0x433034,_0x250b8c,_0x5c4619){return _0x346443(_0x509377-0x1e8,_0x5c4619,_0x250b8c-_0x60796e._0x5d3694,_0x509377-_0x60796e._0x43c8e0);}_0x25124c[_0x287b5a(0x46e,_0x55823d._0x36d21a,0x4ba,0x440)][_0x27cddc(0x5a2,0x49e,0x5c8,_0x55823d._0x388df0)](),_0x25124c['broken'][_0x287b5a(0x2bc,_0x55823d._0x134903,0x2aa,0x328)](),_0x25124c[_0x27cddc(0x3f5,0x463,_0x55823d._0x53fbbe,_0x55823d._0x46f09f)][_0x287b5a(_0x55823d._0x78764,_0x55823d._0x3e43aa,0x321,0x3e5)](),_0x25124c[_0x27cddc(_0x55823d._0x5d3ba9,_0x55823d._0x4b97aa,0x348,0x4cc)][_0x287b5a(0x2bc,_0x55823d._0x2ca915,0x247,0x1f8)]();},'status'(){const _0x3bb318={_0x2a4b2e:0x9d};function _0x29d62f(_0x4b865f,_0x4370af,_0x1d77aa,_0x597766){return _0x346443(_0x4b865f-_0x3bb318._0x2a4b2e,_0x4370af,_0x1d77aa-0x9,_0x597766-0x11c);}return{'connectedClients':_0x25124c['clients'][_0x29d62f(_0xc5a80d._0x5d83f6,_0xc5a80d._0xe41054,0x2f1,0x2d0)]};}};}function createQuestionId(){const _0x55a167={_0x2327c0:0x342,_0x3c37c2:0x106,_0xdb5d8:0x22a,_0x56bc3f:0x366,_0x1d4d14:0x458,_0x1e3fd9:0xa1,_0xb11f10:0x5c1,_0x148ff0:0x58b,_0x4f45b0:0x4a8};function _0x5f250c(_0x1007a0,_0x4aaf47,_0x41c808,_0x5dd869){return _0x38eb01(_0x1007a0,_0x5dd869-0x33,_0x41c808-0x2b,_0x5dd869-0x14d);}function _0x5b204a(_0x2ac514,_0x4bce4c,_0x31d287,_0x5ae483){return _0x38eb01(_0x5ae483,_0x2ac514-0x55c,_0x31d287-0x96,_0x5ae483-0x177);}return _0x5f250c(-_0x55a167._0x2327c0,-_0x55a167._0x3c37c2,-_0x55a167._0xdb5d8,-0x22e)+Date[_0x5b204a(0x350,_0x55a167._0x56bc3f,0x2cf,_0x55a167._0x1d4d14)]()+'-'+Math['random']()[_0x5f250c(-0xa,-_0x55a167._0x1e3fd9,-0xa,-0xc8)](0x24)[_0x5b204a(_0x55a167._0xb11f10,0x703,_0x55a167._0x148ff0,_0x55a167._0x4f45b0)](0x2,0x9);}function validateInput(_0x146041){const _0x5c6432={_0x3993c3:0x25f,_0x152d03:0x40c,_0x2db74d:0x42b,_0x49e6d0:0x2cd,_0x411b46:0x3c8,_0x575f66:0x3d5,_0x3869f4:0x34a,_0x18cb2a:0x425,_0x2a49ae:0x263,_0x5d1bd3:0x3b1,_0x49f537:0x402,_0x10c291:0x4f5,_0x5611b6:0x528,_0x568f2a:0x38d,_0xd91d49:0x4c0,_0x25aa19:0x400,_0x2c6bbc:0x523,_0x4e899f:0x4e0,_0x58a4dc:0x497,_0x5e65e4:0x56e,_0x431e9d:0x524,_0x59e3ef:0x4c2,_0x397aa6:0x34f,_0x5add48:0x35f,_0x37c005:0x492,_0x1d4087:0x475,_0x3d7feb:0x5d5,_0x5751bb:0x457,_0x1dfcea:0x4cd,_0x45c565:0x2e9,_0x54be9e:0x3d9,_0x344810:0x32a,_0x3b07d2:0x24e,_0x5a2252:0x401,_0x226d2f:0x479,_0x4cbb4c:0x5aa,_0x38a463:0x59f,_0x4cc20e:0x404,_0x4975f5:0x3c8,_0x48b49e:0x2fb,_0x59c789:0x294,_0x34e4f8:0x44e,_0x30c55c:0x3a3,_0xea56c8:0x311,_0x5207fd:0x2cc,_0x228737:0x3fd,_0x474a18:0x3bb,_0x1a8a6b:0x324,_0x368b64:0x403,_0x3ab25f:0x43f,_0x5b9b28:0x57e,_0x286978:0x2f8,_0x4f2130:0x2cc,_0x4d07eb:0x1e7,_0x5c021f:0x3ef,_0x4f67ee:0x182,_0x1dae3c:0x3c9,_0x22ef2f:0x337,_0x2c7620:0x393,_0x35550a:0x415,_0x41e320:0x307,_0x29eebb:0x386,_0x5446e9:0x335,_0x47360c:0x462,_0x17fc18:0x504,_0x42c115:0x117},_0x141b12={_0x2c3f14:0x4cf},_0x43baae={_0x408dc2:0x50a,_0xeee21a:0x1ad};function _0x34c941(_0x579f2e,_0x46e363,_0x3eab64,_0x5d2460){return _0x38eb01(_0x579f2e,_0x3eab64-_0x43baae._0x408dc2,_0x3eab64-0x95,_0x5d2460-_0x43baae._0xeee21a);}function _0x1a4c16(_0x3f758d,_0x5d4177,_0x4ff2e8,_0x221a1c){return _0x38eb01(_0x3f758d,_0x5d4177-_0x141b12._0x2c3f14,_0x4ff2e8-0xfe,_0x221a1c-0xb);}if(!Array['isArray'](_0x146041['questions'])||_0x146041['questions'][_0x1a4c16(_0x5c6432._0x3993c3,0x3c8,_0x5c6432._0x152d03,_0x5c6432._0x2db74d)]<0x1||_0x146041['questions'][_0x1a4c16(_0x5c6432._0x49e6d0,_0x5c6432._0x411b46,_0x5c6432._0x575f66,_0x5c6432._0x3869f4)]>0xa)throw new ToolExecutionError(_0x34c941(_0x5c6432._0x18cb2a,0x2c3,0x361,_0x5c6432._0x2a49ae),{'error':_0x1a4c16(0x2fa,_0x5c6432._0x5d1bd3,0x4e6,0x514)});for(let _0x31ea06=0x0;_0x31ea06<_0x146041[_0x34c941(_0x5c6432._0x49f537,0x625,0x4d1,_0x5c6432._0x10c291)]['length'];_0x31ea06+=0x1){const _0x2c899e=_0x146041[_0x1a4c16(_0x5c6432._0x5611b6,0x496,_0x5c6432._0x568f2a,_0x5c6432._0xd91d49)][_0x31ea06];if(!_0x2c899e[_0x34c941(0x3ac,_0x5c6432._0x25aa19,_0x5c6432._0x2c6bbc,0x3aa)]||typeof _0x2c899e[_0x1a4c16(0x572,0x4e8,_0x5c6432._0x4e899f,_0x5c6432._0x58a4dc)]!==_0x34c941(0x551,0x634,_0x5c6432._0x5e65e4,_0x5c6432._0x431e9d))throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+_0x1a4c16(0x47a,0x364,_0x5c6432._0x59e3ef,_0x5c6432._0x397aa6));if(!_0x2c899e[_0x34c941(_0x5c6432._0x5add48,0x3a2,_0x5c6432._0x37c005,_0x5c6432._0x1d4087)]||typeof _0x2c899e[_0x1a4c16(_0x5c6432._0x3d7feb,_0x5c6432._0x5751bb,0x4d2,0x357)]!=='string')throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x2c899e[_0x1a4c16(_0x5c6432._0x1dfcea,_0x5c6432._0x5751bb,_0x5c6432._0x45c565,_0x5c6432._0x54be9e)][_0x1a4c16(_0x5c6432._0x344810,0x3c8,_0x5c6432._0x3b07d2,0x393)]>0x1e)throw new ToolExecutionError(_0x34c941(0x388,0x237,0x308,_0x5c6432._0x5a2252)+(_0x31ea06+0x1)+_0x34c941(0x385,_0x5c6432._0x226d2f,0x3a7,0x2fb)+_0x2c899e[_0x1a4c16(0x318,0x457,_0x5c6432._0x4cbb4c,_0x5c6432._0x38a463)][_0x1a4c16(_0x5c6432._0x4cc20e,_0x5c6432._0x4975f5,0x400,0x3e9)]);if(!Array[_0x34c941(_0x5c6432._0x48b49e,_0x5c6432._0x59c789,0x3f5,_0x5c6432._0x34e4f8)](_0x2c899e[_0x34c941(_0x5c6432._0x30c55c,_0x5c6432._0xea56c8,_0x5c6432._0x5207fd,0x2bd)])||_0x2c899e['options'][_0x1a4c16(0x328,0x3c8,0x40a,_0x5c6432._0x228737)]<0x2||_0x2c899e[_0x1a4c16(_0x5c6432._0x474a18,0x291,0x1e6,_0x5c6432._0x1a8a6b)][_0x34c941(0x428,0x285,_0x5c6432._0x368b64,0x390)]>0x4)throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+_0x1a4c16(0x57f,_0x5c6432._0x431e9d,_0x5c6432._0x3ab25f,_0x5c6432._0x5b9b28));for(let _0x1ebacd=0x0;_0x1ebacd<_0x2c899e[_0x34c941(0x27e,_0x5c6432._0x286978,_0x5c6432._0x4f2130,_0x5c6432._0x4d07eb)]['length'];_0x1ebacd+=0x1){const _0xffae08=_0x2c899e[_0x34c941(_0x5c6432._0x5c021f,_0x5c6432._0x4f67ee,0x2cc,0x272)][_0x1ebacd];if(!_0xffae08[_0x1a4c16(0x2ee,_0x5c6432._0x1dae3c,0x331,_0x5c6432._0x2db74d)]||!_0xffae08[_0x1a4c16(_0x5c6432._0x22ef2f,_0x5c6432._0x2c7620,_0x5c6432._0x35550a,0x385)])throw new ToolExecutionError('Question\x20'+(_0x31ea06+0x1)+',\x20Option\x20'+(_0x1ebacd+0x1)+_0x1a4c16(0x354,_0x5c6432._0x41e320,_0x5c6432._0x29eebb,_0x5c6432._0x5446e9));}if(typeof _0x2c899e['multiSelect']!==_0x1a4c16(_0x5c6432._0x47360c,_0x5c6432._0x17fc18,0x4a2,0x62c))throw new ToolExecutionError(_0x34c941(0x465,0x438,0x308,0x485)+(_0x31ea06+0x1)+_0x1a4c16(_0x5c6432._0x42c115,0x25c,0x32a,0x232));}}function buildQuestions(_0x5a784c){const _0x358339={_0x269269:0x2d1,_0x1c7630:0x2b7,_0x25abc1:0x1a0,_0x4f739d:0x22f},_0xe529d8={_0xb5cdeb:0x1c7};function _0x2c2c94(_0x31a26a,_0x4f7bd8,_0x398974,_0xb588a6){return _0x2cc51b(_0x4f7bd8,_0x4f7bd8-0x1b,_0x398974-0x92,_0x31a26a- -0x202);}function _0x55f07c(_0x182914,_0x5c49f6,_0x584184,_0x3a3c7a){return _0x38eb01(_0x182914,_0x584184-0x594,_0x584184-_0xe529d8._0xb5cdeb,_0x3a3c7a-0xda);}return _0x5a784c[_0x2c2c94(_0x358339._0x269269,0x369,0x3d5,0x170)][_0x2c2c94(_0x358339._0x1c7630,_0x358339._0x25abc1,_0x358339._0x4f739d,0x3fa)]((_0x165c0a,_0x2727c8)=>({'id':'q'+_0x2727c8,'question':_0x165c0a[_0x55f07c(0x4a4,0x599,0x5ad,0x447)],'topic':_0x165c0a[_0x55f07c(0x687,0x49d,0x51c,0x3eb)],'options':_0x165c0a['options'],'multiSelect':_0x165c0a[_0x55f07c(0x498,0x55d,0x50f,0x616)]}));}function createResult(_0x515190,_0x492817,_0xf9f898){const _0x194bcb={_0x4f30de:0x287,_0x47d301:0x143},_0x2bafe0={_0x401775:0x8c};function _0x25b7ee(_0x2a4764,_0x1965f7,_0x27145d,_0x4c28d2){return _0x2cc51b(_0x1965f7,_0x1965f7-0x1ca,_0x27145d-_0x2bafe0._0x401775,_0x27145d- -0x475);}const _0x47f8f3={'questionId':_0x515190,'questionCount':_0x492817,'answers':_0xf9f898};return createToolOutput(_0x25b7ee(-_0x194bcb._0x4f30de,-0xb5,-_0x194bcb._0x47d301,-0x143)+JSON['stringify'](_0xf9f898,null,0x2),_0x47f8f3);}function createAskUserTool(){const _0x5e5730={_0x491d5e:0x495,_0x34c419:0x10e,_0x3f49a3:0x2b1,_0x221b78:0x1e3,_0x4bd132:0x173,_0x3dc6dd:0x237,_0x456d95:0x21b,_0x1737e6:0x236,_0x2346f:0x4bc,_0x99f153:0x51a,_0x1d8190:0x1c4,_0x5cc50c:0x34c,_0x102db1:0x42a,_0x1f2466:0x391,_0x6eebd6:0x394,_0x1a0888:0x47d},_0x5a4a28={_0x5d9832:0x3db,_0x16ff93:0x6ed,_0x1a5c9e:0x2ab,_0x3e315b:0x479,_0x525262:0x6f8,_0x46efe3:0x575,_0x2dee61:0x717,_0x432078:0x415,_0x305049:0x33e,_0x9b4dbe:0x6eb,_0x18e611:0x482},_0x33b50c={_0x3f6425:0x96,_0xed4ac2:0x125,_0x45cee9:0xca},_0x59109c={_0x2058fd:0x114,_0x4d1326:0x4b},_0xdf42fb={_0x1008e6:0xca};function _0x4440fd(_0x4cf2b4,_0x13f18f,_0x2d4887,_0x1b90d5){return _0x2cc51b(_0x13f18f,_0x13f18f-0x19c,_0x2d4887-_0xdf42fb._0x1008e6,_0x1b90d5- -0x242);}function _0x475e49(_0x2dffe8,_0xcfb7b0,_0x2049da,_0x166f06){return _0x2cc51b(_0x166f06,_0xcfb7b0-_0x59109c._0x2058fd,_0x2049da-_0x59109c._0x4d1326,_0x2049da- -0x56);}return defineTool({'name':_0x475e49(_0x5e5730._0x491d5e,0x489,0x4d6,0x5f6),'permissionClass':_0x4440fd(_0x5e5730._0x34c419,0x2ce,_0x5e5730._0x3f49a3,_0x5e5730._0x221b78),'description':_0x475e49(0x268,_0x5e5730._0x4bd132,_0x5e5730._0x3dc6dd,0xd0),'inputSchema':{'type':_0x4440fd(0x178,_0x5e5730._0x456d95,0x2d0,0x236),'properties':{'questions':{'type':_0x475e49(0x5c2,0x3d0,0x50c,0x66b),'items':{'type':_0x4440fd(0x331,0x303,0x146,_0x5e5730._0x1737e6),'properties':{'question':{'type':'string'},'topic':{'type':_0x4440fd(0x2a5,0x2bf,0x3d0,0x32e)},'options':{'type':'array','items':{'type':'object','properties':{'label':{'type':'string'},'description':{'type':_0x475e49(_0x5e5730._0x2346f,0x630,_0x5e5730._0x99f153,0x443)}},'required':[_0x4440fd(0x303,0xe0,0xbb,_0x5e5730._0x1d8190),_0x475e49(_0x5e5730._0x5cc50c,_0x5e5730._0x102db1,0x37a,0x29f)]}},'multiSelect':{'type':'boolean'}},'required':[_0x4440fd(0x3da,0x377,_0x5e5730._0x1f2466,0x2e3),'topic','options','multiSelect']}},'answers':{'type':_0x475e49(0x3dc,0x53f,0x422,_0x5e5730._0x6eebd6),'properties':{}}},'required':[_0x475e49(0x46f,0x48f,_0x5e5730._0x1a0888,0x38a)]},async *'execute'(_0x557436,_0x19499c){const _0x5789a6={_0x44ea98:0x89,_0xd19f3d:0x1f0},_0x37ad49=_0x557436;validateInput(_0x37ad49);const _0x1d9d71=_0x19499c[_0x578bb6(0x4d9,0x410,_0x5a4a28._0x5d9832,0x46c)]??createQuestionId();if(_0x37ad49[_0x578bb6(_0x5a4a28._0x16ff93,0x6c8,0x634,0x7bf)]&&Object[_0xa41181(0x45d,_0x5a4a28._0x1a5c9e,0x437,0x397)](_0x37ad49[_0xa41181(0x5a2,0x4f2,0x415,0x594)])['length']>0x0)return createResult(_0x1d9d71,_0x37ad49['questions'][_0xa41181(0x395,0x47c,0x5a4,_0x5a4a28._0x3e315b)],_0x37ad49[_0x578bb6(_0x5a4a28._0x16ff93,0x7d9,_0x5a4a28._0x525262,0x579)]);if(!_0x19499c[_0x578bb6(0x608,0x4f3,_0x5a4a28._0x46efe3,_0x5a4a28._0x2dee61)])throw new ToolExecutionError(_0xa41181(_0x5a4a28._0x432078,0x31d,_0x5a4a28._0x305049,0x497));function _0x578bb6(_0x325564,_0x1ec1b3,_0x278f96,_0x1a6557){return _0x475e49(_0x325564-_0x5789a6._0x44ea98,_0x1ec1b3-_0x5789a6._0xd19f3d,_0x325564-0x223,_0x1a6557);}function _0xa41181(_0x2e21ba,_0x3166d7,_0x426920,_0x2876b2){return _0x475e49(_0x2e21ba-_0x33b50c._0x3f6425,_0x3166d7-_0x33b50c._0xed4ac2,_0x2876b2-_0x33b50c._0x45cee9,_0x2e21ba);}const _0x128df4=buildQuestions(_0x37ad49),_0x2625ac=await _0x19499c[_0x578bb6(0x608,_0x5a4a28._0x9b4dbe,0x74a,_0x5a4a28._0x18e611)]({'questionId':_0x1d9d71,'questions':_0x128df4});yield createResult(_0x1d9d71,_0x37ad49['questions']['length'],_0x2625ac);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x582171}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0x222c7b){return _0x222c7b instanceof Error;}function resolveCarriageReturns(_0x3bd66c){const _0x338ef1={_0x1b33a7:0x596,_0x299e59:0x72d,_0x38254a:0x7ac,_0x3c2844:0x4bf,_0xa20b9f:0x2da,_0x3968a4:0x3bf,_0x2c628c:0x1ae},_0x4ded69={_0x1d9f13:0x1a2,_0x2a87c9:0x2f4,_0x15663f:0x3ee,_0x249bfc:0x4cf,_0x558ce9:0x3c0},_0x52c3a6={_0x1b2120:0x155};function _0x8fe913(_0x13a3b3,_0x47687e,_0x2cd35d,_0x483a1c){return _0x2cc51b(_0x483a1c,_0x47687e-0x1ba,_0x2cd35d-0x1f2,_0x13a3b3-_0x52c3a6._0x1b2120);}function _0x3e0938(_0xa8fddd,_0x1558cd,_0x1e6f5b,_0x2ec4fc){return _0x38eb01(_0x1558cd,_0xa8fddd-0x4b1,_0x1e6f5b-0x101,_0x2ec4fc-0x9b);}return _0x3bd66c[_0x8fe913(0x66e,_0x338ef1._0x1b33a7,_0x338ef1._0x299e59,_0x338ef1._0x38254a)]('\x0a')[_0x3e0938(0x45e,_0x338ef1._0x3c2844,0x52a,0x367)](_0x4aa379=>{const _0x560b7e={_0x408d3d:0x125,_0x649be6:0x168},_0xc3d24={_0x2ecb2f:0x41};if(!_0x4aa379[_0x51fb3a(0x1c6,0x1c8,_0x4ded69._0x1d9f13,_0x4ded69._0x2a87c9)]('\x0d'))return _0x4aa379;function _0x51fb3a(_0x276f04,_0x26c22d,_0x565816,_0x5db133){return _0x3e0938(_0x276f04- -0x84,_0x5db133,_0x565816-0x44,_0x5db133-_0xc3d24._0x2ecb2f);}function _0x68003a(_0x3bce29,_0x201bda,_0x203386,_0x1d70a2){return _0x8fe913(_0x3bce29- -_0x560b7e._0x408d3d,_0x201bda-0x19f,_0x203386-_0x560b7e._0x649be6,_0x1d70a2);}const _0x2481ea=_0x4aa379[_0x51fb3a(0x43a,_0x4ded69._0x15663f,0x37d,_0x4ded69._0x249bfc)]('\x0d');return _0x2481ea[_0x2481ea[_0x68003a(0x435,_0x4ded69._0x558ce9,0x2f8,0x428)]-0x1]??'';})[_0x3e0938(_0x338ef1._0xa20b9f,0x421,_0x338ef1._0x3968a4,_0x338ef1._0x2c628c)]('\x0a');}function resolveBackspaces(_0x5ab37d){const _0x2c451d={_0xe6ab78:0xab},_0x5936d0={_0x9cb2ed:0x14b},_0x5dfc7d=[];for(const _0x3e5114 of Array['from'](_0x5ab37d)){_0x3e5114==='\x08'?_0x5dfc7d['pop']():_0x5dfc7d['push'](_0x3e5114);}function _0x474344(_0x268ef6,_0x2b10b5,_0x4d762b,_0x48dc8a){return _0x38eb01(_0x4d762b,_0x48dc8a-0x282,_0x4d762b-_0x5936d0._0x9cb2ed,_0x48dc8a-0x141);}return _0x5dfc7d[_0x474344(0x19a,0xc2,0xf8,_0x2c451d._0xe6ab78)]('');}function stripAnsiAndControls(_0x290244){const _0x539867={_0x132aa1:0x1c2,_0x39c2ee:0xac,_0x51fa10:0x159,_0x346b47:0x211,_0x383bf6:0x3ea,_0x1dfa4a:0x313,_0x4d38e7:0x2db,_0x5b5526:0x71,_0xd232f7:0x2a6,_0x547f00:0x201,_0x2f8a63:0x157,_0x1c705d:0x111,_0xd37cc:0xbe,_0x34f062:0x70,_0x2f9602:0x372,_0x49824a:0x45d,_0x22aab1:0x27d},_0x435e92={_0x4a170f:0x89,_0x94e3a8:0x17c,_0x4b2c3b:0x567},_0x2210f4={_0xcdbb19:0xcb,_0x52d7bd:0x217};_0x290244=resolveCarriageReturns(_0x290244),_0x290244=resolveBackspaces(_0x290244);function _0x15ea5d(_0x96afd2,_0x1a3563,_0x33d104,_0x195cd2){return _0x2cc51b(_0x1a3563,_0x1a3563-_0x2210f4._0xcdbb19,_0x33d104-0xe9,_0x96afd2- -_0x2210f4._0x52d7bd);}_0x290244=stripVTControlCharacters(_0x290244);const _0x31cf6c='\x1b',_0x42d99b='\x07';_0x290244=_0x290244[_0x15ea5d(0x75,-0xf7,_0x539867._0x132aa1,_0x539867._0x39c2ee)](new RegExp(_0x218fe8(-0x176,-_0x539867._0x51fa10,-_0x539867._0x346b47,-0x1ae)+_0x42d99b+'\x5cn]*?'+_0x42d99b,'g'),''),_0x290244=_0x290244[_0x218fe8(-_0x539867._0x383bf6,-0x332,-_0x539867._0x1dfa4a,-_0x539867._0x4d38e7)](new RegExp(_0x218fe8(-_0x539867._0x5b5526,-_0x539867._0xd232f7,-_0x539867._0x547f00,-_0x539867._0x2f8a63)+_0x31cf6c+'\x5c\x5c','g'),''),_0x290244=_0x290244[_0x15ea5d(0x75,-_0x539867._0x1c705d,-0x9,-_0x539867._0xd37cc)](new RegExp(_0x42d99b,'g'),'');function _0x218fe8(_0x5e387f,_0x1861fe,_0x5a6803,_0x20d7b4){return _0x2cc51b(_0x1861fe,_0x1861fe-_0x435e92._0x4a170f,_0x5a6803-_0x435e92._0x94e3a8,_0x20d7b4- -_0x435e92._0x4b2c3b);}return _0x290244=_0x290244['replace'](new RegExp(_0x31cf6c+_0x218fe8(0xc7,-0xfa,-_0x539867._0x34f062,-0x3d)+_0x31cf6c+'\x5c\x5c','g'),''),_0x290244=_0x290244[_0x218fe8(-0x37e,-0x3e1,-0x454,-0x2db)](new RegExp(_0x31cf6c+_0x15ea5d(_0x539867._0x2f9602,_0x539867._0x49824a,0x27d,_0x539867._0x22aab1),'g'),''),_0x290244=_0x290244['replace'](/[\u0080-\u009F]/g,''),_0x290244=_0x290244['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x290244=_0x290244[_0x218fe8(-0x261,-0x1ec,-0x1b4,-0x2db)](/[\u23CE\u2424]/g,''),_0x290244;}function killProcessGroup(_0x116faa,_0x992907,_0x134531='SIGKILL'){const _0x48761b={_0x422d96:0x234,_0x6808bb:0x45,_0xf4d927:0x13c,_0x5916d6:0x109,_0x1c31d8:0x409,_0x3a8de2:0x45d,_0x2a1ebe:0x75,_0x3c4886:0x57e,_0x91cbed:0x48b,_0x4ed7af:0x2a5,_0x30bcc2:0x121},_0x3a49d7={_0x61ad0a:0x1e6,_0x54a483:0x1aa},_0x2dd54e={_0x48106d:0x1be};if(!_0x116faa['pid'])return;function _0x3bf782(_0x4bc126,_0x12a488,_0x231810,_0x343368){return _0x2cc51b(_0x231810,_0x12a488-0x152,_0x231810-0xd0,_0x343368-_0x2dd54e._0x48106d);}if(_0x992907)try{_0x582171(_0xea2688(_0x48761b._0x422d96,_0x48761b._0x6808bb,0x25c,0x11a),[_0xea2688(0x49,-_0x48761b._0xf4d927,-_0x48761b._0x5916d6,-0x40),_0x116faa[_0x3bf782(0x3d4,0x597,_0x48761b._0x1c31d8,_0x48761b._0x3a8de2)][_0xea2688(0x197,0xde,-0xbd,0x23)](),'/T','/F'],{'stdio':_0xea2688(-0x33,-0x6b,-0xe0,_0x48761b._0x2a1ebe)});return;}catch{_0x116faa[_0x3bf782(_0x48761b._0x3c4886,0x3be,0x524,_0x48761b._0x91cbed)](_0x134531);return;}function _0xea2688(_0x866ae1,_0x32dc11,_0x4c7011,_0x566b88){return _0x2cc51b(_0x4c7011,_0x32dc11-_0x3a49d7._0x61ad0a,_0x4c7011-_0x3a49d7._0x54a483,_0x566b88- -0x3ee);}try{process[_0xea2688(-0xcb,-_0x48761b._0x4ed7af,-0xf0,-_0x48761b._0x30bcc2)](-_0x116faa[_0x3bf782(0x50a,0x504,0x560,0x45d)],_0x134531);}catch{_0x116faa['kill'](_0x134531);}}var BackgroundProcessRegistry=class{[_0x2cc51b(0x457,0x486,0x25a,0x373)]=new Map();[_0x38eb01(-0x130,-0x27a,-0x278,-0x1a4)];[_0x38eb01(-0x6c,-0x6b,-0x28,0x118)];[_0x38eb01(-0x300,-0x17e,-0xac,-0x1ee)];['counter']=0x0;constructor(_0x31417f={}){const _0x21d263={_0x15c582:0x6b,_0x41a2c8:0x15c,_0x395618:0x47,_0x276e3f:0x71,_0xb89af1:0x99,_0x1627c5:0xcc},_0x511504={_0x386e5e:0x2c},_0x4a2cfd={_0x92dd23:0x45a};function _0x18288f(_0x15e6c5,_0x3ff7bc,_0xd0f762,_0x363dfe){return _0x2cc51b(_0x15e6c5,_0x3ff7bc-0x157,_0xd0f762-0x133,_0x3ff7bc- -_0x4a2cfd._0x92dd23);}this[_0x355d65(-0x2e,0x1a7,0xd4,_0x21d263._0x15c582)]=_0x31417f['maxConcurrent']??0xa;function _0x355d65(_0x1fddbc,_0x3ea70d,_0x3879d8,_0x346364){return _0x38eb01(_0x3879d8,_0x346364-0x2e5,_0x3879d8-0x1a4,_0x346364-_0x511504._0x386e5e);}this[_0x18288f(_0x21d263._0x41a2c8,_0x21d263._0x395618,-_0x21d263._0x276e3f,0xe2)]=_0x31417f[_0x18288f(-0x15,_0x21d263._0x395618,-_0x21d263._0xb89af1,-0x129)]??0x40,this['capChars']=_0x31417f[_0x18288f(-0x28,-_0x21d263._0x1627c5,-0x4,0x5e)]??0x100000;}[_0x2cc51b(0x598,0x60f,0x532,0x55b)](_0x5e97ee){const _0x2916c0={_0x5a6b3d:0x2a4,_0x2a032e:0x6a1,_0x1114c2:0x33b,_0x419b67:0x44d,_0x2d813e:0x60e,_0x1f0f65:0x2d1,_0x1e24f7:0x408,_0x581edc:0x382,_0x1725b5:0x579,_0x1c7d31:0x4a2,_0x54565d:0x57c,_0x5d5ec0:0x3e5,_0x317484:0x4f6,_0x55b251:0x495,_0x58dbca:0x35f,_0x25f6f5:0x40a,_0xe315ca:0x419,_0x1b106f:0x52a,_0x4bd94a:0x459,_0x208b9c:0x352,_0x528451:0x324,_0x15ae8a:0x54f,_0x30cc52:0x47b,_0x29e5ad:0x3a5,_0x263e9a:0x2d1,_0x5038e8:0x67b,_0x2b53d9:0x757,_0x26dc36:0x5bb,_0x527a52:0x484,_0x53224e:0x258,_0x288bab:0x45e,_0x210106:0x252,_0x5ecf2d:0x47d,_0x9c270:0x4bc,_0x26ddbd:0x519,_0x4b79d4:0x574,_0x283ac6:0x496,_0x53a46b:0x475,_0x2ef34a:0x397,_0x4976f8:0x466,_0x454909:0x41a,_0x20a7e4:0x6c6,_0x254cab:0x653,_0x3015ca:0x4b7,_0x21352e:0x3f2,_0x104a7d:0x3ec,_0x26eba7:0x512,_0x14a82d:0x54d,_0x148c7e:0x33f,_0x4eb632:0x364,_0x494a57:0x428,_0x4808c1:0x51d,_0x16f6d1:0x463,_0x4c5293:0x674,_0xe6cf93:0x4b1},_0xcf741a={_0x1e8388:0x3d,_0x5080c6:0xe3,_0x562e9f:0x78,_0x21b516:0x18,_0x1903e4:0x166,_0x4c4a1e:0x157,_0x317823:0x35,_0x26c414:0x8b,_0xc72007:0x15e,_0xa6cbdd:0x32a,_0x126889:0x302},_0x31cb00={_0x3fc259:0xef,_0x1061f9:0xdc},_0x12cca5={_0x55ba2f:0x190,_0x5d10b0:0xcf},_0x4a38dc={_0x223c5c:0x5fc},_0x392446={_0x1e1ec6:0x18,_0x9232b8:0x57b,_0x3a40f4:0x604,_0x1c55e2:0x61f,_0xad78f8:0x637,_0x238d7b:0x52f,_0x3c1b13:0x73e,_0x49a056:0x453,_0x10fc64:0x574,_0x5546e4:0xbe,_0x294749:0x21,_0x1d9c3a:0x627,_0x5306be:0x767,_0x125e1f:0x3ff,_0x382be0:0x31a},_0x5be578={_0x289d26:0x3f,_0x177d5c:0x11f,_0x39cc56:0x101},_0x1b0900=[...this[_0x431ac8(0x1f0,0x30b,_0x2916c0._0x5a6b3d,0x2fe)][_0x42f89f(_0x2916c0._0x2a032e,0x540,0x466,0x40e)]()][_0x431ac8(0x388,0x47a,0x41f,_0x2916c0._0x1114c2)](_0x29a1cd=>_0x29a1cd[_0x431ac8(0x1e5,0x276,0x34c,0x2e7)]===_0x431ac8(0x223,0x224,0x2bc,0x30f))[_0x42f89f(_0x2916c0._0x419b67,0x4f5,0x559,_0x2916c0._0x2d813e)];if(_0x1b0900>=this[_0x42f89f(0x3d6,0x382,0x37b,_0x2916c0._0x1f0f65)])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x42f89f(_0x2916c0._0x1e24f7,_0x2916c0._0x581edc,0x282,0x388)]+_0x42f89f(_0x2916c0._0x1725b5,_0x2916c0._0x1c7d31,_0x2916c0._0x54565d,0x61b),{'running':this[_0x42f89f(_0x2916c0._0x5d5ec0,0x382,_0x2916c0._0x317484,_0x2916c0._0x55b251)]});const _0x40d73f=_0x431ac8(_0x2916c0._0x58dbca,0x46a,0x49a,_0x2916c0._0x25f6f5)+ ++this[_0x42f89f(0x495,_0x2916c0._0xe315ca,_0x2916c0._0x1b106f,0x420)]+'-'+randomUUID()['slice'](0x0,0x8),_0x3b436c={'shellId':_0x40d73f,'command':_0x5e97ee['command'],'cwd':_0x5e97ee[_0x431ac8(0x4c4,0x24b,0x399,_0x2916c0._0x4bd94a)],'pid':_0x5e97ee['child'][_0x431ac8(0x24c,_0x2916c0._0x208b9c,0x1d0,_0x2916c0._0x528451)],'status':_0x42f89f(_0x2916c0._0x15ae8a,_0x2916c0._0x30cc52,0x569,_0x2916c0._0x29e5ad),'exitCode':null,'signal':null,'startedAt':Date[_0x42f89f(0x4d9,0x3f0,_0x2916c0._0x263e9a,0x3ff)](),'child':_0x5e97ee[_0x42f89f(0x4f2,_0x2916c0._0x5038e8,_0x2916c0._0x2b53d9,_0x2916c0._0x26dc36)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x431ac8(_0x2916c0._0x527a52,_0x2916c0._0x53224e,0x31a,0x378)),'stripAnsi':_0x5e97ee[_0x431ac8(_0x2916c0._0x288bab,0x2ee,0x30b,_0x2916c0._0x210106)],'killRequested':![],'processExited':![]};_0x5e97ee[_0x431ac8(0x549,_0x2916c0._0x5ecf2d,_0x2916c0._0x9c270,0x622)][_0x42f89f(_0x2916c0._0x26ddbd,0x496,0x3db,_0x2916c0._0x4b79d4)]?.['on'](_0x431ac8(_0x2916c0._0x283ac6,_0x2916c0._0x53a46b,_0x2916c0._0x2ef34a,_0x2916c0._0x4976f8),_0x2c2fea=>this[_0x42f89f(0x673,0x62b,0x61d,0x6ad)](_0x3b436c,_0x3b436c['stdoutDecoder'][_0x42f89f(0x581,0x654,0x693,0x58e)](_0x2c2fea))),_0x5e97ee[_0x431ac8(0x399,_0x2916c0._0x454909,_0x2916c0._0x9c270,0x40a)]['stderr']?.['on'](_0x42f89f(_0x2916c0._0x20a7e4,0x556,0x653,_0x2916c0._0x254cab),_0x5cf244=>this[_0x431ac8(0x5af,0x3fb,0x46c,0x5da)](_0x3b436c,_0x3b436c[_0x431ac8(0x324,0x4c7,0x481,0x594)][_0x431ac8(0x51c,0x5db,0x495,0x614)](_0x5cf244))),_0x5e97ee['child'][_0x431ac8(_0x2916c0._0x3015ca,_0x2916c0._0x21352e,0x42d,_0x2916c0._0x104a7d)]('exit',()=>{_0x3b436c['processExited']=!![];}),_0x5e97ee[_0x431ac8(_0x2916c0._0x26eba7,0x339,0x4bc,0x42c)][_0x431ac8(0x321,_0x2916c0._0x14a82d,0x42d,0x3f0)]('close',(_0x3a71c6,_0x5e1b8c)=>{const _0x2d5ea1={_0x27e8a2:0x5fe,_0x3e2feb:0xf9,_0x180771:0x99};this[_0x1b3649(-_0x392446._0x1e1ec6,0x48,-0xbe,0x2d)](_0x3b436c,_0x3b436c[_0x121410(0x507,0x55b,0x52d,0x57b)]['end']()),this[_0x121410(_0x392446._0x9232b8,_0x392446._0x3a40f4,0x66a,_0x392446._0x1c55e2)](_0x3b436c,_0x3b436c[_0x121410(_0x392446._0xad78f8,_0x392446._0x238d7b,0x67f,_0x392446._0x3c1b13)]['end']());function _0x121410(_0xde552e,_0x2fb8e7,_0x45c8d0,_0x46221b){return _0x42f89f(_0x2fb8e7,_0x45c8d0-_0x5be578._0x289d26,_0x45c8d0-_0x5be578._0x177d5c,_0x46221b-_0x5be578._0x39cc56);}_0x3b436c[_0x121410(_0x392446._0x49a056,0x4f1,0x54a,_0x392446._0x10fc64)]=_0x3b436c[_0x1b3649(_0x392446._0x5546e4,-0x123,-_0x392446._0x294749,0x49)]?'killed':_0x121410(0x398,0x57c,0x48d,0x487),_0x3b436c[_0x121410(0x65c,_0x392446._0x1d9c3a,0x5e5,_0x392446._0x5306be)]=_0x3a71c6;function _0x1b3649(_0x2504f3,_0xce731e,_0x23dccb,_0x218a86){return _0x42f89f(_0x23dccb,_0x218a86- -_0x2d5ea1._0x27e8a2,_0x23dccb-_0x2d5ea1._0x3e2feb,_0x218a86-_0x2d5ea1._0x180771);}_0x3b436c[_0x121410(_0x392446._0x125e1f,_0x392446._0x382be0,0x491,0x405)]=_0x5e1b8c,_0x3b436c['child']=null;});function _0x42f89f(_0x4a485b,_0x4c3ed1,_0x441700,_0x3aaea3){return _0x38eb01(_0x4a485b,_0x4c3ed1-_0x4a38dc._0x223c5c,_0x441700-0x14c,_0x3aaea3-0x28);}function _0x431ac8(_0xcabc0a,_0x281977,_0x1898b8,_0x30b54b){return _0x2cc51b(_0x30b54b,_0x281977-_0x12cca5._0x55ba2f,_0x1898b8-0x14c,_0x1898b8- -_0x12cca5._0x5d10b0);}return _0x5e97ee[_0x431ac8(0x5bc,_0x2916c0._0x148c7e,0x4bc,0x34b)]['once'](_0x42f89f(_0x2916c0._0x4eb632,_0x2916c0._0x494a57,_0x2916c0._0x4808c1,0x328),_0x4d73de=>{const _0x5862d2={_0x12d67f:0x1f0};function _0x26b9b9(_0x5917e3,_0xf1dcd1,_0x3afa32,_0x35d32f){return _0x42f89f(_0x3afa32,_0xf1dcd1- -0x2ea,_0x3afa32-_0x31cb00._0x3fc259,_0x35d32f-_0x31cb00._0x1061f9);}_0x3b436c[_0x459034(-_0xcf741a._0x1e8388,_0xcf741a._0x5080c6,_0xcf741a._0x562e9f,0xfb)]=_0x459034(-_0xcf741a._0x21b516,0x13c,_0xcf741a._0x1903e4,0x18);function _0x459034(_0x11f00d,_0x36a77f,_0x1cb4d3,_0x43addc){return _0x431ac8(_0x11f00d-0x23,_0x36a77f-_0x5862d2._0x12d67f,_0x43addc- -0x251,_0x36a77f);}_0x3b436c[_0x459034(-_0xcf741a._0x4c4a1e,-0x172,-_0xcf741a._0x317823,0x18)]=_0x4d73de[_0x459034(0x15f,_0xcf741a._0x26c414,0x2bc,_0xcf741a._0xc72007)],_0x3b436c[_0x459034(_0xcf741a._0xa6cbdd,0x137,_0xcf741a._0x126889,0x26b)]=null;}),this[_0x42f89f(0x547,_0x2916c0._0x16f6d1,0x491,0x483)][_0x42f89f(0x517,0x554,_0x2916c0._0x4c5293,0x481)](_0x40d73f,_0x3b436c),this[_0x42f89f(0x58b,0x5e2,_0x2916c0._0xe6cf93,0x6fc)](),_0x3b436c;}[_0x2cc51b(0x406,0x38f,0x3f4,0x425)](_0x98ae0b,_0x4141c2){const _0x47f5d1={_0x2d7cd3:0x142,_0x293064:0x1ba,_0x253796:0x2d0,_0x34d25e:0x266,_0x2270e5:0x25b,_0xb3e61c:0xa0,_0x364c2e:0x1ab,_0x4321fd:0x1b,_0x28b6d8:0x138,_0x26086a:0x10e,_0x4a4563:0x103,_0x4a2c2f:0x5f,_0x376a09:0xe8,_0x259198:0x11d,_0x5a1765:0x1a4,_0x44846b:0xc8,_0xbdbf36:0x41,_0x3e91cd:0xaa,_0x42859b:0x48,_0xbc2d71:0xcf,_0x46db3c:0x18b,_0x49eb82:0xe5,_0x599a8d:0x245,_0x4bfedd:0xf3,_0x89f2bd:0x8e,_0x564515:0x27c,_0x472861:0x183,_0x3730a8:0x1de,_0x1beb7d:0x125,_0x50d49f:0x126,_0x4d283f:0x1ff,_0xe5f613:0x1c1,_0x533312:0x33a,_0x23f1bb:0x135,_0x46fc98:0x200,_0x3a8247:0x2f2,_0x2c7ea3:0x2b4,_0x384039:0x394,_0x593106:0x86,_0x2e31bd:0x20,_0x374f76:0xfa,_0x21b97e:0x96,_0x412d8e:0x1bd,_0x933038:0x1a0,_0x24a7c2:0x2ca,_0x5ba768:0x3e0,_0x3007d4:0x325,_0x3bb782:0x249,_0x3eb329:0x243,_0x2cabb9:0xae,_0x4e94a4:0x15b,_0x2f2f1d:0x200,_0x417708:0x293,_0x59fb82:0xa5,_0x1af841:0xc},_0x3ccd13={_0x12114c:0x9a},_0x1c92a2={_0xaf026f:0x24f,_0x241c1e:0x57,_0x470b58:0x8f},_0x5df83c=this[_0x17d5b9(0xb6,0x100,0x40,0xdd)][_0x45e37a(0x7,-_0x47f5d1._0x2d7cd3,-_0x47f5d1._0x293064,-0x1e6)](_0x98ae0b);if(!_0x5df83c)throw new ToolExecutionError(_0x17d5b9(_0x47f5d1._0x253796,_0x47f5d1._0x34d25e,0x448,_0x47f5d1._0x2270e5)+_0x98ae0b,{'shellId':_0x98ae0b});const _0x55f397=_0x5df83c['buffer'][_0x45e37a(-0x302,-0x1d9,-_0x47f5d1._0xb3e61c,-_0x47f5d1._0x364c2e)](''),_0x5fb157=Math[_0x45e37a(-0x18e,-_0x47f5d1._0x4321fd,-0x162,-_0x47f5d1._0x28b6d8)](_0x5df83c[_0x45e37a(0x3e,-0x41,-_0x47f5d1._0x26086a,0x41)],_0x5df83c[_0x45e37a(_0x47f5d1._0x4a4563,_0x47f5d1._0x4a2c2f,-_0x47f5d1._0x376a09,_0x47f5d1._0x259198)]),_0x1e500b=Math['max'](0x0,_0x5df83c[_0x17d5b9(0x2b0,_0x47f5d1._0x5a1765,0x3a9,0x14b)]-_0x5df83c[_0x45e37a(-_0x47f5d1._0x44846b,-_0x47f5d1._0xbdbf36,-_0x47f5d1._0x3e91cd,-_0x47f5d1._0x42859b)]),_0x1ec828=_0x55f397[_0x45e37a(-_0x47f5d1._0xbc2d71,0x63,_0x47f5d1._0x46db3c,0xc6)](_0x5fb157-_0x5df83c[_0x45e37a(0x165,_0x47f5d1._0x4a2c2f,_0x47f5d1._0x49eb82,-0xf)]),_0x15c10f=_0x5df83c[_0x45e37a(-_0x47f5d1._0x599a8d,-_0x47f5d1._0x4bfedd,-0x12d,-_0x47f5d1._0x89f2bd)]!==_0x45e37a(-_0x47f5d1._0x564515,-_0x47f5d1._0x472861,-_0x47f5d1._0x3730a8,-_0x47f5d1._0x5a1765);let _0x25cac8;const _0x14a83c=_0x4141c2?.[_0x17d5b9(-0x1f,0x6a,_0x47f5d1._0x1beb7d,_0x47f5d1._0x50d49f)];function _0x17d5b9(_0x1bcc68,_0x2e01fe,_0x4271b8,_0x4564c9){return _0x38eb01(_0x4564c9,_0x1bcc68-_0x1c92a2._0xaf026f,_0x4271b8-_0x1c92a2._0x241c1e,_0x4564c9-_0x1c92a2._0x470b58);}if(!_0x14a83c)_0x25cac8=_0x1ec828,_0x5df83c['readCursor']=_0x5df83c[_0x17d5b9(_0x47f5d1._0x49eb82,0xf3,_0x47f5d1._0x4d283f,0xfa)];else{let _0x303efa;try{_0x303efa=new RegExp(_0x14a83c);}catch(_0x309f92){throw new ToolExecutionError('Invalid\x20regex:\x20'+_0x309f92[_0x17d5b9(_0x47f5d1._0xe5f613,0x1c0,_0x47f5d1._0x533312,_0x47f5d1._0x23f1bb)],{'shellId':_0x98ae0b,'regex':_0x14a83c});}let _0x13245f=_0x1ec828;if(!_0x15c10f){const _0x37f100=_0x1ec828[_0x17d5b9(_0x47f5d1._0x46fc98,0xea,0x207,_0x47f5d1._0x3a8247)]('\x0a');_0x13245f=_0x37f100>=0x0?_0x1ec828[_0x17d5b9(_0x47f5d1._0x2c7ea3,0x1df,0x12c,_0x47f5d1._0x384039)](0x0,_0x37f100+0x1):'';}_0x25cac8=_0x13245f['split']('\x0a')[_0x45e37a(-_0x47f5d1._0x593106,-_0x47f5d1._0x2e31bd,-0x139,-_0x47f5d1._0x374f76)](_0x595955=>_0x303efa[_0x45e37a(-0x229,-0x150,-0xd4,-0x25b)](_0x595955))[_0x17d5b9(0x78,-_0x47f5d1._0x21b97e,_0x47f5d1._0x412d8e,0x117)]('\x0a'),_0x5df83c['readCursor']=_0x5fb157+_0x13245f[_0x17d5b9(0x148,-0xe,_0x47f5d1._0x933038,_0x47f5d1._0x24a7c2)];}const _0x3c9dd5=(_0x1e500b>0x0?_0x17d5b9(_0x47f5d1._0x564515,_0x47f5d1._0x5ba768,0x3c1,_0x47f5d1._0x3007d4)+_0x1e500b+_0x45e37a(-_0x47f5d1._0x3bb782,-0x153,-0xd8,-0x28a):'')+_0x25cac8;function _0x45e37a(_0x8d751c,_0x28d732,_0x1089e2,_0x5cb7dc){return _0x2cc51b(_0x5cb7dc,_0x28d732-0x166,_0x1089e2-_0x3ccd13._0x12114c,_0x28d732- -0x50e);}return{'output':_0x3c9dd5,'status':_0x5df83c[_0x17d5b9(0x15e,_0x47f5d1._0x3eb329,_0x47f5d1._0x2cabb9,_0x47f5d1._0x4e94a4)],'exitCode':_0x5df83c[_0x17d5b9(0x1f9,0x371,_0x47f5d1._0x2f2f1d,_0x47f5d1._0x417708)],'signal':_0x5df83c[_0x17d5b9(_0x47f5d1._0x59fb82,0x1b0,0x1a7,_0x47f5d1._0x1af841)],'truncated':_0x1e500b>0x0};}[_0x2cc51b(0x3f8,0x3f7,0x662,0x535)](){const _0x16b3a1={_0x4c4c45:0x14b};function _0x4361a1(_0x4b6f6f,_0x440903,_0x2824e7,_0x12bd61){return _0x2cc51b(_0x440903,_0x440903-0xa4,_0x2824e7-0x1d2,_0x12bd61- -0x226);}return[...this[_0x4361a1(_0x16b3a1._0x4c4c45,0x18,0x109,0x14d)]['values']()];}['kill'](_0x6a8460){const _0x5d7e34={_0x1d540b:0xfd,_0x586d90:0x274,_0x2c0cea:0x396,_0xab79a3:0x38c,_0x1e6093:0x325,_0x13917d:0x1c9,_0x4acfaf:0x270,_0x1025e1:0x261,_0x2827e3:0x296,_0x28b040:0x413,_0x20abb8:0x344,_0xc6a7d4:0x2dd,_0x467814:0x45d,_0xaed9e4:0x4ce,_0x4508a1:0x30f,_0x1f3b58:0x3c0,_0x5c81a5:0xfe,_0x4c1c5b:0x150,_0x56d21b:0x3b5},_0x148e35={_0xbd3909:0x10b},_0x27eb12={_0x485f4a:0x11a};function _0x362007(_0x294d06,_0x97bede,_0x293a0b,_0x20a323){return _0x38eb01(_0x293a0b,_0x20a323-0x416,_0x293a0b-_0x27eb12._0x485f4a,_0x20a323-0x72);}const _0x5df157=this['entries']['get'](_0x6a8460);if(!_0x5df157)throw new ToolExecutionError(_0x126575(_0x5d7e34._0x1d540b,_0x5d7e34._0x586d90,_0x5d7e34._0x2c0cea,0x375)+_0x6a8460,{'shellId':_0x6a8460});if(_0x5df157[_0x362007(0x26e,_0x5d7e34._0xab79a3,0x1a5,_0x5d7e34._0x1e6093)]==='running'&&_0x5df157['child']&&!_0x5df157[_0x362007(_0x5d7e34._0x13917d,_0x5d7e34._0x4acfaf,0x1c9,_0x5d7e34._0x1025e1)]){_0x5df157['killRequested']=!![];try{killProcessGroup(_0x5df157[_0x126575(0x37f,0x272,_0x5d7e34._0x2827e3,0x395)],process[_0x362007(0x233,_0x5d7e34._0x28b040,0x2f0,_0x5d7e34._0x20abb8)]===_0x362007(_0x5d7e34._0xc6a7d4,0x51b,0x303,0x3a7));}catch{}}function _0x126575(_0x1c6b09,_0x504589,_0x2b8220,_0x3d5349){return _0x2cc51b(_0x3d5349,_0x504589-0xc8,_0x2b8220-_0x148e35._0xbd3909,_0x504589- -0x319);}return{'status':_0x5df157[_0x126575(0x235,0x102,0x13a,-0x40)],'exitCode':_0x5df157[_0x362007(_0x5d7e34._0x467814,_0x5d7e34._0xaed9e4,_0x5d7e34._0x4508a1,_0x5d7e34._0x1f3b58)],'signal':_0x5df157[_0x362007(_0x5d7e34._0x5c81a5,_0x5d7e34._0x4c1c5b,_0x5d7e34._0x56d21b,0x26c)]};}async[_0x2cc51b(0x473,0x309,0x50f,0x43e)](){const _0x16f9d4={_0x4ac172:0x517,_0x19503a:0x5cc,_0x1fe996:0x507,_0x8d92d2:0x56b,_0x4e85ba:0x126,_0x527cb1:0x19e,_0x4a2e7b:0x57,_0x1bf632:0x73d,_0x54f118:0x5bb,_0x76afdf:0x61,_0x192eea:0xc2,_0x49e77c:0xc5,_0x488920:0x261,_0x19e119:0x132,_0x189092:0x1e1,_0x4a6443:0x5de,_0x51d63e:0x5e1,_0x3d10fc:0x746,_0x2ec02c:0x4d2,_0x35e921:0x641,_0x3c87e6:0x66e,_0x80e016:0x6b8,_0x15e943:0x5e6},_0x42916f={_0x4b78ec:0x1e2,_0x53e61d:0x94},_0x4497bf={_0x1646d8:0x6b0,_0x2c9224:0xf2};function _0x2b5338(_0x2a7f4f,_0x438f51,_0x2e0842,_0x535b50){return _0x38eb01(_0x535b50,_0x2a7f4f-_0x4497bf._0x1646d8,_0x2e0842-_0x4497bf._0x2c9224,_0x535b50-0x13b);}function _0x8c014c(_0x1eeac9,_0x2c4cd6,_0x57c58d,_0x1c3f23){return _0x38eb01(_0x57c58d,_0x1eeac9-_0x42916f._0x4b78ec,_0x57c58d-_0x42916f._0x53e61d,_0x1c3f23-0xf3);}for(const _0x1b339b of this[_0x2b5338(_0x16f9d4._0x4ac172,_0x16f9d4._0x19503a,_0x16f9d4._0x1fe996,_0x16f9d4._0x8d92d2)][_0x8c014c(_0x16f9d4._0x4e85ba,0x0,_0x16f9d4._0x527cb1,-_0x16f9d4._0x4a2e7b)]()){if(_0x1b339b[_0x2b5338(0x5bf,_0x16f9d4._0x1bf632,0x451,_0x16f9d4._0x54f118)]===_0x8c014c(_0x16f9d4._0x76afdf,-0xf1,-_0x16f9d4._0x192eea,-_0x16f9d4._0x49e77c)&&_0x1b339b['child']&&!_0x1b339b[_0x8c014c(0x2d,0x46,0x1b3,0x13c)]){_0x1b339b['killRequested']=!![];try{killProcessGroup(_0x1b339b[_0x8c014c(_0x16f9d4._0x488920,_0x16f9d4._0x19e119,_0x16f9d4._0x189092,0x311)],process[_0x2b5338(_0x16f9d4._0x4a6443,_0x16f9d4._0x51d63e,_0x16f9d4._0x3d10fc,_0x16f9d4._0x2ec02c)]===_0x2b5338(_0x16f9d4._0x35e921,_0x16f9d4._0x3c87e6,_0x16f9d4._0x80e016,_0x16f9d4._0x15e943));}catch{}}}}['append'](_0xbdc600,_0x2c75b8){const _0x3f0121={_0x357459:0x15b,_0x388375:0x2d,_0x3753f:0x10a,_0x4f83bc:0x73,_0x3e9197:0x291,_0x1fb91b:0x72,_0x50295b:0x293,_0x44fadf:0x22f,_0x298e00:0x2c8,_0x5168f:0x356,_0x28bf88:0x2d,_0x3cfff2:0x135,_0x4b3805:0x9a,_0x43a624:0x10d,_0xec27b1:0x112,_0x4a95b1:0x104,_0x5acacb:0x4b5,_0x49af2e:0x1c8,_0x588d23:0x1c3,_0xe64458:0x3d4,_0x4dae68:0x56,_0x38ec75:0x15e,_0x77105d:0x212,_0x40b634:0x3e2,_0x365f98:0x181,_0x17b91c:0x2ae,_0x13decd:0x2db,_0x2bdf71:0x33b,_0x4a2202:0x2a8,_0x220038:0xc1,_0xdb12fd:0x1c1,_0x515dc5:0x56a,_0x117c8d:0x427,_0x2da4c2:0x479,_0x567daa:0x10a,_0x49a21d:0x199,_0x1bc938:0x279},_0x39ebec={_0x4ecb56:0xff},_0x13eb0b={_0x1baaac:0x16d,_0x17d1e6:0x3d8},_0x481806=_0xbdc600['stripAnsi']?stripAnsiAndControls(_0x2c75b8):_0x2c75b8;function _0x4157cd(_0x42f057,_0x160ba0,_0x2d32fe,_0x49a9eb){return _0x2cc51b(_0x2d32fe,_0x160ba0-0x8f,_0x2d32fe-_0x13eb0b._0x1baaac,_0x160ba0- -_0x13eb0b._0x17d1e6);}if(_0x481806[_0x4157cd(-_0x3f0121._0x357459,_0x3f0121._0x388375,-_0x3f0121._0x3753f,-_0x3f0121._0x4f83bc)]===0x0)return;_0xbdc600[_0x3351ed(_0x3f0121._0x3e9197,_0x3f0121._0x1fb91b,_0x3f0121._0x50295b,0x1c1)][_0x3351ed(_0x3f0121._0x44fadf,_0x3f0121._0x298e00,0x440,_0x3f0121._0x5168f)](_0x481806),_0xbdc600['bufferChars']+=_0x481806[_0x4157cd(-0x56,_0x3f0121._0x28bf88,-_0x3f0121._0x3cfff2,-_0x3f0121._0x4b3805)];function _0x3351ed(_0x32e3d9,_0x3f56e5,_0x4a674d,_0x347bc5){return _0x38eb01(_0x3f56e5,_0x347bc5-0x3fd,_0x4a674d-_0x39ebec._0x4ecb56,_0x347bc5-0x59);}_0xbdc600[_0x3351ed(_0x3f0121._0x43a624,_0x3f0121._0xec27b1,0x133,0x293)]+=_0x481806[_0x4157cd(-0x65,0x2d,-_0x3f0121._0x4a95b1,-0xa6)];while(_0xbdc600[_0x3351ed(0x5a6,_0x3f0121._0x5acacb,0x4c0,0x427)]>this[_0x3351ed(_0x3f0121._0x49af2e,_0x3f0121._0x588d23,_0x3f0121._0xe64458,0x27f)]){const _0x291f3a=_0xbdc600[_0x4157cd(_0x3f0121._0x4dae68,_0x3f0121._0x38ec75,_0x3f0121._0x77105d,0x58)]-this[_0x3351ed(_0x3f0121._0x40b634,0x107,0x316,0x27f)],_0x2b665c=_0xbdc600['buffer'][0x0];_0x2b665c[_0x3351ed(_0x3f0121._0x365f98,_0x3f0121._0x17b91c,_0x3f0121._0x13decd,0x2f6)]<=_0x291f3a?(_0xbdc600[_0x3351ed(_0x3f0121._0x2bdf71,_0x3f0121._0x4a2202,_0x3f0121._0x220038,_0x3f0121._0xdb12fd)]['shift'](),_0xbdc600[_0x3351ed(_0x3f0121._0x515dc5,0x341,0x4df,_0x3f0121._0x117c8d)]-=_0x2b665c['length'],_0xbdc600[_0x3351ed(0x586,0x409,_0x3f0121._0x2da4c2,0x45e)]+=_0x2b665c['length']):(_0xbdc600[_0x3351ed(0xd5,0x34a,_0x3f0121._0x567daa,_0x3f0121._0xdb12fd)][0x0]=_0x2b665c[_0x4157cd(0x300,_0x3f0121._0x49a21d,_0x3f0121._0x1bc938,0x264)](_0x291f3a),_0xbdc600['bufferChars']-=_0x291f3a,_0xbdc600['totalDropped']+=_0x291f3a);}}['evictIfNeeded'](){const _0x217e52={_0x3cb49e:0x21f,_0x45d724:0x33e,_0x49d6af:0xd9,_0x428d18:0x34,_0x31b28f:0x14c,_0x1b9937:0x15a,_0xa6ade9:0x1ca,_0x55c791:0x221,_0x591392:0x281,_0x4dda26:0x20f,_0x57c666:0x1ad,_0x561492:0x15,_0x1b8299:0x1e,_0x6362dd:0x3e,_0x5dc970:0xe7,_0x29fd15:0x1ee},_0x17ec4c={_0x44006b:0x86,_0x9eac81:0x94},_0x5bb3a2={_0x527583:0x1b7,_0x3faa86:0x10a,_0x157c44:0x1b8};function _0x1a33a6(_0x1b47b8,_0x2797e3,_0x50a9fc,_0x4bd716){return _0x38eb01(_0x2797e3,_0x1b47b8-_0x5bb3a2._0x527583,_0x50a9fc-_0x5bb3a2._0x3faa86,_0x4bd716-_0x5bb3a2._0x157c44);}if(this[_0x1daf89(-_0x217e52._0x3cb49e,-0x23c,-_0x217e52._0x45d724,-0x15f)][_0x1a33a6(_0x217e52._0x49d6af,0x5e,-0x5b,-_0x217e52._0x428d18)]<=this[_0x1a33a6(_0x217e52._0x31b28f,_0x217e52._0x1b9937,_0x217e52._0xa6ade9,_0x217e52._0x55c791)])return;function _0x1daf89(_0x1be847,_0x498821,_0x3980da,_0x264546){return _0x38eb01(_0x498821,_0x1be847- -_0x17ec4c._0x44006b,_0x3980da-0x4e,_0x264546-_0x17ec4c._0x9eac81);}for(const [_0x424d3a,_0x3116c7]of this[_0x1daf89(-0x21f,-0x22d,-_0x217e52._0x591392,-_0x217e52._0x4dda26)]){if(_0x3116c7[_0x1daf89(-0x177,-0x3a,-0xa9,-_0x217e52._0x57c666)]!==_0x1a33a6(0x36,0xb0,0xe6,-_0x217e52._0x561492)){this[_0x1a33a6(_0x217e52._0x1b8299,_0x217e52._0x6362dd,0x157,-0x30)][_0x1daf89(-_0x217e52._0x5dc970,-0x5c,-0x193,-_0x217e52._0x29fd15)](_0x424d3a);return;}}}};function createBashOutputTool(_0x1a2f70){const _0x1c7c7a={_0x5d539d:0xfb,_0x509740:0x1e4,_0xa15a3d:0x2f4},_0x392b82={_0x1f153a:0x597,_0x2f72fc:0x50a,_0x140b08:0x60a,_0x22c468:0x527,_0x68d9ae:0xb0,_0x4104b6:0x36,_0x1b4dc7:0x7fa,_0x3456df:0x6df,_0x5bf971:0x385,_0x3c961d:0x5b9,_0xe1fcec:0x786,_0x976743:0x731,_0x6bc472:0x61d,_0x55971d:0x564,_0x180999:0x4b4,_0x319fb0:0x53e},_0x11e633={_0xbba3a1:0x4e2,_0x28d613:0x1c8,_0x13fc7c:0x55},_0x521de8={_0x2f5561:0x53},_0x42660e={_0x482712:0x2e};function _0x5cc7c1(_0x543543,_0x36b8f3,_0x740e5a,_0x43693e){return _0x2cc51b(_0x43693e,_0x36b8f3-_0x42660e._0x482712,_0x740e5a-0x142,_0x543543- -0x2e0);}const {registry:_0x254bdd}=_0x1a2f70;function _0x58d5cd(_0x2727a7,_0x26ed80,_0x4fcf47,_0x47bb9e){return _0x2cc51b(_0x26ed80,_0x26ed80-0x1d0,_0x4fcf47-_0x521de8._0x2f5561,_0x2727a7-0x34);}return defineTool({'name':_0x5cc7c1(_0x1c7c7a._0x5d539d,0x1c,0x9a,_0x1c7c7a._0x509740),'permissionClass':'always-confirm','description':_0x58d5cd(0x44c,0x352,0x529,0x4af),'inputSchema':{'type':'object','properties':{'shellId':{'type':_0x58d5cd(0x5a4,0x6d6,0x6b0,0x4a5)},'regex':{'type':_0x58d5cd(0x5a4,0x6fd,0x505,0x72b)}},'required':[_0x58d5cd(_0x1c7c7a._0xa15a3d,0x426,0x463,0x33f)]},async *'execute'(_0x32ef62){const _0x40e0c5={_0x422ef3:0x1bd};function _0x5d5e5f(_0x4f1fd6,_0x2a8faf,_0x2b9b37,_0x5d2392){return _0x5cc7c1(_0x2a8faf- -0x6e,_0x2a8faf-0x16a,_0x2b9b37-_0x40e0c5._0x422ef3,_0x2b9b37);}function _0x326a21(_0x5c2740,_0x429fa9,_0x1d0922,_0x130c5b){return _0x5cc7c1(_0x130c5b-_0x11e633._0xbba3a1,_0x429fa9-_0x11e633._0x28d613,_0x1d0922-_0x11e633._0x13fc7c,_0x429fa9);}const _0x15b881=_0x254bdd['read'](_0x32ef62[_0x326a21(_0x392b82._0x1f153a,_0x392b82._0x2f72fc,_0x392b82._0x140b08,0x4c2)],_0x32ef62[_0x326a21(0x45e,0x44d,_0x392b82._0x22c468,0x4a0)]?{'regex':_0x32ef62[_0x5d5e5f(-0x1b,-_0x392b82._0x68d9ae,_0x392b82._0x4104b6,-0x164)]}:void 0x0);return createToolOutput(_0x15b881[_0x326a21(_0x392b82._0x1b4dc7,0x577,0x7b8,_0x392b82._0x3456df)],{'shellId':_0x32ef62[_0x326a21(_0x392b82._0x5bf971,0x53c,0x5a7,0x4c2)],'status':_0x15b881[_0x326a21(_0x392b82._0x3c961d,_0x392b82._0xe1fcec,_0x392b82._0x976743,_0x392b82._0x6bc472)],'exitCode':_0x15b881[_0x5d5e5f(0x17f,0x168,0x276,0x1f6)],'signal':_0x15b881[_0x326a21(0x5ab,0x503,0x40d,_0x392b82._0x55971d)],'truncated':_0x15b881[_0x326a21(_0x392b82._0x180999,0x430,0x4f0,_0x392b82._0x319fb0)]});}});}import{spawn as _0x2c41b2}from'child_process';import{statSync}from'fs';import*as _0x5dad60 from'os';import*as _0x18471d from'path';import{StringDecoder as _0x3c5a53}from'string_decoder';import{stat}from'fs/promises';import*as _0x4dfbe5 from'path';function isPathInside(_0x559a8e,_0x5332bb){const _0x543b7a={_0x132fde:0xfb,_0x58dc11:0x17},_0xa346e9={_0x32f41a:0x1be},_0x5df604={_0x58c0da:0x9d};function _0x136e61(_0x49314e,_0x48db5c,_0x2b3875,_0x24f86a){return _0x38eb01(_0x2b3875,_0x49314e-0x5c0,_0x2b3875-0xc,_0x24f86a-_0x5df604._0x58c0da);}const _0x294915=_0x4dfbe5['resolve'](_0x559a8e),_0x3ceeae=_0x4dfbe5[_0x472fee(-0x2eb,-0x1dc,-0x372,-0x302)](_0x294915,_0x5332bb);function _0x472fee(_0x49f467,_0x3f0df8,_0x2dd6f8,_0x2f2c26){return _0x2cc51b(_0x49f467,_0x3f0df8-0xfe,_0x2dd6f8-_0xa346e9._0x32f41a,_0x2f2c26- -0x58d);}return _0x3ceeae===''||!_0x3ceeae[_0x472fee(-_0x543b7a._0x132fde,-0x263,-_0x543b7a._0x58dc11,-0x144)]('..')&&!_0x4dfbe5['isAbsolute'](_0x3ceeae);}function resolveWorkspacePath(_0x47d636,_0xb01c14){return resolveAllowedPath(_0x47d636,[],_0xb01c14);}function resolveAllowedPath(_0xd7cae,_0x1179e3,_0x1e82c8){const _0x1ebc10={_0x42f9f4:0x3b5,_0x321bb3:0x156,_0x293b08:0x13,_0x52f59d:0x57a,_0x38794b:0x602,_0x36ab4d:0x24d,_0x293af6:0x121},_0x258639={_0x41a198:0xaf,_0x12e793:0xc1},_0x589303={_0x10d08c:0x11f,_0x2bb605:0x31b};function _0x35ba5f(_0x251a03,_0x335cd3,_0x35f4d7,_0x2140b0){return _0x2cc51b(_0x35f4d7,_0x335cd3-0x5d,_0x35f4d7-_0x589303._0x10d08c,_0x251a03- -_0x589303._0x2bb605);}const _0x5281c5=_0x4dfbe5[_0x335d17(_0x1ebc10._0x42f9f4,0x42b,0x4be,0x3fd)](_0xd7cae),_0x1be7d3=_0x4dfbe5[_0x35ba5f(-0x27,-0x10c,-_0x1ebc10._0x321bb3,_0x1ebc10._0x293b08)](_0x5281c5,_0x1e82c8),_0xf3be2d=[_0x5281c5,..._0x1179e3[_0x335d17(_0x1ebc10._0x52f59d,_0x1ebc10._0x38794b,0x4cc,0x6be)](_0x232377=>_0x4dfbe5[_0x35ba5f(-0x27,-0x73,0xfb,0xfd)](_0x232377))];if(_0xf3be2d['some'](_0x3f718b=>isPathInside(_0x3f718b,_0x1be7d3)))return _0x1be7d3;function _0x335d17(_0x3dda1e,_0x1be71,_0x1dc04a,_0x23b223){return _0x2cc51b(_0x1be71,_0x1be71-_0x258639._0x41a198,_0x1dc04a-0xb7,_0x3dda1e-_0x258639._0x12e793);}throw new ToolExecutionError(_0x35ba5f(_0x1ebc10._0x36ab4d,_0x1ebc10._0x293af6,0x327,0x289)+_0x1e82c8,{'path':_0x1e82c8,'rootDir':_0x5281c5,'allowedDirs':_0xf3be2d});}async function assertWorkspaceFile(_0x2886bc){const _0x19251e={_0x1d60e7:0x296,_0x3e34c2:0x39a,_0x3f7ee7:0x3b1,_0x84a458:0x226,_0x552cc7:0xf8},_0x327c17={_0x56c4df:0x9e,_0x385bde:0x1ad},_0x402f5b={_0x52b3c0:0x2e7},_0x21369a=await stat(_0x2886bc);function _0xce5756(_0x5cf64b,_0x64310f,_0x1f7ad3,_0xa274d7){return _0x38eb01(_0x64310f,_0x5cf64b-_0x402f5b._0x52b3c0,_0x1f7ad3-0x1f2,_0xa274d7-0xe6);}function _0x22a779(_0x353a88,_0x2e66b4,_0x3ec30c,_0x50a9ff){return _0x2cc51b(_0x353a88,_0x2e66b4-_0x327c17._0x56c4df,_0x3ec30c-_0x327c17._0x385bde,_0x2e66b4-0x5b);}if(!_0x21369a[_0xce5756(_0x19251e._0x1d60e7,_0x19251e._0x3e34c2,0x243,_0x19251e._0x3f7ee7)]())throw new ToolExecutionError(_0xce5756(0xf5,_0x19251e._0x84a458,0x25c,_0x19251e._0x552cc7)+_0x2886bc,{'path':_0x2886bc});}function isProbablyBinary(_0x3d1bf9){return _0x3d1bf9['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x2cc51b(0x411,0x674,0x5a3,0x588)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x10968b,_0xc3ad11){const _0xe9855f={_0x1720e9:0x2ea,_0xfab644:0x255,_0x1066fa:0x202,_0x3f1fe9:0x28a,_0x1fbab6:0x29e,_0x3412cd:0x1c1,_0x5daf00:0x2ed,_0x367c37:0x550,_0x5ed4a9:0x5b2,_0x1e5763:0x396,_0x50c1c9:0x383,_0x350bb3:0x41c,_0x4e8cb1:0x4b8,_0x2ce581:0x630,_0x330174:0x3de,_0x145a12:0x251},_0x5ecc4e={_0x35aa20:0x605,_0x15e005:0x140,_0x3f28f5:0x1c},_0xf15c2f={_0x5a3662:0x35c,_0x290832:0x150},_0x10cc26={...process['env'],..._0x10968b??{}};function _0x4dfa91(_0x1a90d7,_0x32e94c,_0x596efb,_0x487dad){return _0x38eb01(_0x1a90d7,_0x487dad-_0xf15c2f._0x5a3662,_0x596efb-0x7e,_0x487dad-_0xf15c2f._0x290832);}if(_0xc3ad11[_0x4dfa91(_0xe9855f._0x1720e9,0x1d5,0x1c7,_0xe9855f._0xfab644)]===0x0)return _0x10cc26;if(_0x5dad60[_0x4dfa91(0x372,_0xe9855f._0x1066fa,0x112,_0xe9855f._0x3f1fe9)]()===_0x4dfa91(_0xe9855f._0x1fbab6,0x2dd,_0xe9855f._0x3412cd,_0xe9855f._0x5daf00)){const _0x20c7de=new Set(_0xc3ad11[_0x468dc5(0x615,_0xe9855f._0x367c37,_0xe9855f._0x5ed4a9,0x64c)](_0xa95411=>_0xa95411[_0x4dfa91(0x291,0x2cd,0x39a,0x251)]()));for(const _0x25016f of Object[_0x468dc5(_0xe9855f._0x1e5763,_0xe9855f._0x50c1c9,_0xe9855f._0x350bb3,_0xe9855f._0x4e8cb1)](_0x10cc26)){if(_0x20c7de[_0x468dc5(_0xe9855f._0x2ce581,_0xe9855f._0x330174,0x53f,0x4e8)](_0x25016f[_0x4dfa91(0x204,0x26c,0x254,_0xe9855f._0x145a12)]()))delete _0x10cc26[_0x25016f];}}else{for(const _0x3dd166 of _0xc3ad11)delete _0x10cc26[_0x3dd166];}function _0x468dc5(_0x41d0df,_0x5efa5e,_0x2dbf67,_0x128e96){return _0x38eb01(_0x5efa5e,_0x2dbf67-_0x5ecc4e._0x35aa20,_0x2dbf67-_0x5ecc4e._0x15e005,_0x128e96-_0x5ecc4e._0x3f28f5);}return _0x10cc26;}function mapSpawnError(_0x25ca13,_0x4d149c){const _0x20dcbf={_0x4457f8:0x2f4,_0x54478d:0x3c6,_0x46c26f:0x620,_0x15bdbb:0x555,_0x446078:0x689,_0x137da3:0x14e,_0x390bf3:0x142,_0x369a71:0x72e,_0x376b7c:0x60b,_0x7de67d:0x679,_0x5568b2:0x56b,_0x4b36e4:0x459,_0x1c2e59:0x579},_0x361865={_0x5b16ca:0x607,_0x9f4a66:0xe4,_0x17fd25:0x135},_0xe10294={_0x2a6129:0x63};function _0xce334c(_0x137789,_0x2be8e2,_0x182dc7,_0x1ab771){return _0x2cc51b(_0x182dc7,_0x2be8e2-0x1a8,_0x182dc7-_0xe10294._0x2a6129,_0x2be8e2- -0x51a);}if(isErrnoException(_0x25ca13)&&_0x25ca13[_0x4a9222(0x281,_0x20dcbf._0x4457f8,_0x20dcbf._0x54478d,0x379)]===_0x4a9222(_0x20dcbf._0x46c26f,_0x20dcbf._0x15bdbb,0x62f,_0x20dcbf._0x446078))return new ToolExecutionError(_0xce334c(0xb9,-0x6b,-_0x20dcbf._0x137da3,-_0x20dcbf._0x390bf3)+_0x4d149c[_0x4a9222(_0x20dcbf._0x369a71,_0x20dcbf._0x376b7c,_0x20dcbf._0x7de67d,0x783)],_0x4d149c);function _0x4a9222(_0x91df17,_0x31b9de,_0x5ee93e,_0x1d6fc6){return _0x38eb01(_0x91df17,_0x5ee93e-_0x361865._0x5b16ca,_0x5ee93e-_0x361865._0x9f4a66,_0x1d6fc6-_0x361865._0x17fd25);}return new ToolExecutionError(_0x25ca13 instanceof Error?_0x25ca13[_0x4a9222(_0x20dcbf._0x5568b2,_0x20dcbf._0x4b36e4,_0x20dcbf._0x1c2e59,0x6ed)]:String(_0x25ca13),_0x4d149c);}function shellExists(_0x477929){const _0x26dc2d={_0xc5578c:0x63d,_0x14bb0a:0x1de,_0x436345:0x1b1,_0x51e484:0xf4},_0x30cfe9={_0x43d169:0x129,_0x294b62:0x37};function _0x9a6c71(_0x25ed94,_0x400e45,_0xa8dd9d,_0x3ad96a){return _0x2cc51b(_0xa8dd9d,_0x400e45-_0x30cfe9._0x43d169,_0xa8dd9d-_0x30cfe9._0x294b62,_0x400e45- -0x133);}function _0xbc0966(_0x16f372,_0x24b0c2,_0x548982,_0x4f950c){return _0x38eb01(_0x16f372,_0x4f950c-0x50b,_0x548982-0xf5,_0x4f950c-0xd1);}try{const _0x1a46fe=statSync(_0x477929);return _0x1a46fe[_0xbc0966(_0x26dc2d._0xc5578c,0x5f0,0x625,0x4ba)]()&&(_0x1a46fe[_0x9a6c71(_0x26dc2d._0x14bb0a,_0x26dc2d._0x436345,_0x26dc2d._0x51e484,0x2b)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x3cced8){const _0x39d58d={_0x3ab6d5:0x1c8,_0x13773f:0x27c,_0x49e922:0x3f,_0x4ed898:0xae,_0x208d4f:0x1e2,_0x398081:0xa6,_0x464bd2:0x21,_0x266afc:0x5e,_0x3d8cca:0x166,_0x1ad67f:0x12,_0x278d86:0xbf,_0x487b1d:0x298,_0x3bf60d:0x76,_0x57af9c:0x164,_0x100bfd:0xc4,_0x18da88:0x19},_0x3baa10={_0x411429:0x34e,_0x4254d6:0x6d},_0x3f0541={_0x145a74:0xd5};if(_0x3cced8)return _0x3cced8;if(_0x5dad60[_0x3fa706(0x26e,0x3dd,_0x39d58d._0x3ab6d5,_0x39d58d._0x13773f)]()==='win32')return process[_0x47891f(_0x39d58d._0x49e922,_0x39d58d._0x4ed898,-0xab,-0x3b)][_0x3fa706(_0x39d58d._0x208d4f,0x3c5,0x14d,0x2c3)]||_0x47891f(_0x39d58d._0x398081,_0x39d58d._0x464bd2,-0x6d,_0x39d58d._0x266afc);const _0x19bc98=[_0x3fa706(0x137,_0x39d58d._0x3d8cca,0x3be,0x291),_0x47891f(-0x109,-0x32c,-0xe6,-0x270),_0x3fa706(0x157,0x5b,0x270,0x108),_0x3fa706(0x28d,0x201,0x14c,0x1cc)];for(const _0x3cfca7 of _0x19bc98){if(shellExists(_0x3cfca7))return _0x3cfca7;}const _0x4c9f66=process[_0x47891f(_0x39d58d._0x1ad67f,-0x71,_0x39d58d._0x278d86,-0x3b)][_0x3fa706(_0x39d58d._0x487b1d,_0x39d58d._0x3bf60d,0x256,_0x39d58d._0x57af9c)];function _0x47891f(_0xc4b2e7,_0x4ad497,_0x594f04,_0x227dfc){return _0x2cc51b(_0x594f04,_0x4ad497-_0x3f0541._0x145a74,_0x594f04-0xb6,_0x227dfc- -0x4fa);}function _0x3fa706(_0x45bfb5,_0x3283a4,_0x140ac3,_0x1972d4){return _0x38eb01(_0x3283a4,_0x1972d4-_0x3baa10._0x411429,_0x140ac3-0x4,_0x1972d4-_0x3baa10._0x4254d6);}if(_0x4c9f66&&shellExists(_0x4c9f66))return _0x4c9f66;return _0x47891f(-0x1f,-_0x39d58d._0x100bfd,-_0x39d58d._0x18da88,-0xab);}function buildShellArgs(_0x36c01e,_0x4790b0){const _0x1ef515={_0x2824b1:0x49d,_0x25cb8f:0x269,_0x3a0b4a:0x509,_0x5c5847:0x322,_0x5713bd:0x54a,_0x166ecf:0x379,_0x788528:0x52d,_0x3e205e:0x4c0,_0x13afee:0x4a4,_0x202d43:0x393},_0x11dca7={_0x2d06bb:0x1c2},_0x380374={_0x5416f0:0x1e3};function _0x23463f(_0x593c59,_0x5c971c,_0x11fccb,_0xffc7f){return _0x2cc51b(_0x11fccb,_0x5c971c-_0x380374._0x5416f0,_0x11fccb-0x1d8,_0x593c59- -0x45);}function _0xac1809(_0x309072,_0x239640,_0x4f8347,_0x5e5a1b){return _0x2cc51b(_0x5e5a1b,_0x239640-0x1f0,_0x4f8347-_0x11dca7._0x2d06bb,_0x4f8347- -0x55);}if(_0x5dad60[_0xac1809(_0x1ef515._0x2824b1,_0x1ef515._0x25cb8f,0x3e5,_0x1ef515._0x3a0b4a)]()===_0xac1809(_0x1ef515._0x5c5847,0x508,0x448,_0x1ef515._0x5713bd)){const _0x37eb2a=/cmd(\.exe)?$/i[_0x23463f(_0x1ef515._0x166ecf,0x4c4,0x2b6,0x298)](_0x4790b0);return _0x37eb2a?['/d','/s','/c',_0x36c01e]:['-NoLogo',_0xac1809(0x4cf,0x62a,_0x1ef515._0x788528,_0x1ef515._0x3e205e),_0xac1809(0x2a8,_0x1ef515._0x13afee,_0x1ef515._0x202d43,0x382),_0x36c01e];}return['-c',_0x36c01e];}function resolveWorkingDirectory(_0x5ed270,_0x23910c,_0x5cf1cb){const _0x3df566={_0x25bdc1:0x43,_0x518712:0x16,_0x3163c3:0x45},_0x3ba00e={_0x486973:0x1dd};function _0x164740(_0x1f8f50,_0xff5dcd,_0x5c2b4d,_0x1b55a6){return _0x2cc51b(_0x1b55a6,_0xff5dcd-0x10c,_0x5c2b4d-_0x3ba00e._0x486973,_0xff5dcd- -0x57b);}const _0x512beb=resolveAllowedPath(_0x23910c,_0x5cf1cb,_0x5ed270??'.');function _0x1e1075(_0x2ef059,_0x751ac,_0x52ad50,_0x4ea550){return _0x38eb01(_0x4ea550,_0x52ad50-0x221,_0x52ad50-0x19d,_0x4ea550-0x135);}try{const _0x890ffa=statSync(_0x512beb);if(!_0x890ffa[_0x1e1075(0x10d,0x82,0xba,_0x3df566._0x25bdc1)]())throw new ToolExecutionError(_0x164740(-0x84,-_0x3df566._0x518712,0xca,_0x3df566._0x3163c3)+_0x512beb,{'cwd':_0x512beb});return _0x512beb;}catch(_0x15b8c7){if(_0x15b8c7 instanceof ToolExecutionError)throw _0x15b8c7;throw new ToolExecutionError('Working\x20directory\x20not\x20found:\x20'+_0x512beb,{'cwd':_0x512beb});}}function emitChunk(_0x31760d,_0x1732b5,_0xc56557,_0x9af390){const _0x141d21={_0x2cc8ca:0xe2,_0x48d12f:0x14d,_0x3db486:0x29b,_0x4edf50:0x166},_0x2227ce={_0x4b0db7:0x61},_0x379092={_0xe331fd:0x124};function _0x554759(_0x5e0565,_0x55ad36,_0x2ba4a5,_0x4e42e3){return _0x2cc51b(_0x5e0565,_0x55ad36-0xaf,_0x2ba4a5-_0x379092._0xe331fd,_0x55ad36-0x147);}_0x31760d[_0x21ce3f(_0x141d21._0x2cc8ca,_0x141d21._0x48d12f,_0x141d21._0x3db486,_0x141d21._0x4edf50)](_0xc56557),_0x1732b5[_0x554759(0x57c,0x5ac,0x43a,0x4c9)](_0xc56557);function _0x21ce3f(_0x354e30,_0x12115d,_0x5b314d,_0x4f853f){return _0x38eb01(_0x4f853f,_0x12115d-0x1f4,_0x5b314d-_0x2227ce._0x4b0db7,_0x4f853f-0x13);}_0x9af390();}function appendChunk(_0x5aca96,_0xde9063,_0x28286f,_0x3593ab,_0x5f0d19,_0x230d1e){const _0x401b57={_0x76012e:0x4d9,_0x530739:0x337,_0x51e7f6:0x2f9,_0x4ceaef:0x3cf,_0x23bb2c:0x524,_0x37e444:0x3c2,_0x2cd4f6:0x463,_0x332614:0x44a,_0x2454ad:0x407,_0x4ecc7f:0x31f,_0x1009c1:0x2d5,_0x2acebe:0x300,_0x20c7a7:0x2b0,_0x30bb84:0x158,_0xe59194:0x225,_0x5db7d8:0x32e,_0x523c80:0x4bc,_0x1102a4:0x45b,_0xfc366c:0x544,_0x18f2e5:0x28e,_0x53ea90:0x41c,_0x854ca4:0x45c,_0x13528e:0x357,_0x5ed21f:0x2be},_0x550a31={_0x540d77:0x4c},_0x4b399a={_0x490ad9:0xb4};function _0x524852(_0xd89109,_0x17bcae,_0x4cb5a8,_0x1c6c79){return _0x38eb01(_0xd89109,_0x17bcae-0x3fe,_0x4cb5a8-0x195,_0x1c6c79-_0x4b399a._0x490ad9);}function _0x2ac640(_0x5dcfc0,_0x399251,_0x574593,_0x1c86b2){return _0x2cc51b(_0x1c86b2,_0x399251-_0x550a31._0x540d77,_0x574593-0x24,_0x5dcfc0-0x37);}const _0x4e7af5=_0x3593ab?stripAnsiAndControls(_0x28286f):_0x28286f;if(_0x4e7af5[_0x2ac640(0x43c,_0x401b57._0x76012e,0x560,0x4e3)]===0x0)return;if(!_0x230d1e){emitChunk(_0x5aca96,_0xde9063,_0x4e7af5,_0x5f0d19);return;}let _0x4fe7a5=0x0,_0x441796=_0x4e7af5[_0x2ac640(0x36a,0x49f,_0x401b57._0x530739,0x3ff)]('\x0a');while(_0x441796>=0x0){_0x230d1e[_0x2ac640(0x3e2,_0x401b57._0x51e7f6,_0x401b57._0x4ceaef,0x348)][_0x2ac640(0x49c,0x468,_0x401b57._0x23bb2c,0x500)](_0x4e7af5[_0x524852(_0x401b57._0x37e444,_0x401b57._0x2cd4f6,0x3cd,_0x401b57._0x332614)](_0x4fe7a5,_0x441796));const _0x4f324b=_0x230d1e[_0x2ac640(0x3e2,_0x401b57._0x2454ad,_0x401b57._0x4ecc7f,0x3e0)]['join']('');_0x230d1e['trailingChunks']['length']=0x0,_0x230d1e[_0x2ac640(_0x401b57._0x1009c1,0x235,0x1d5,_0x401b57._0x2acebe)][_0x524852(0x18c,_0x401b57._0x20c7a7,0x22a,_0x401b57._0x30bb84)](_0x4f324b)&&emitChunk(_0x5aca96,_0xde9063,_0x4f324b+'\x0a',_0x5f0d19),_0x4fe7a5=_0x441796+0x1,_0x441796=_0x4e7af5[_0x524852(0x30a,_0x401b57._0xe59194,0x334,_0x401b57._0x5db7d8)]('\x0a',_0x4fe7a5);}_0x4fe7a5<_0x4e7af5[_0x2ac640(0x43c,_0x401b57._0x523c80,_0x401b57._0x1102a4,_0x401b57._0xfc366c)]&&_0x230d1e[_0x524852(0x22d,0x29d,_0x401b57._0x18f2e5,_0x401b57._0x53ea90)][_0x524852(_0x401b57._0x854ca4,_0x401b57._0x13528e,_0x401b57._0x5ed21f,0x273)](_0x4e7af5[_0x524852(0x40a,_0x401b57._0x2cd4f6,0x31c,0x40a)](_0x4fe7a5));}function flushOutputRegex(_0x5c186d,_0x131c74,_0x152ba8,_0x577c11){const _0x107500={_0x493426:0x18f,_0x1b8f20:0x20b,_0x2d5606:0x1a2,_0x3d5fb8:0xb1,_0x2290da:0x9b,_0x3fea45:0x1e2,_0x1d6cae:0x3d8,_0x285cc0:0x408,_0x2ce8b1:0x1be,_0x49014f:0x182,_0x3e9351:0x22},_0x3441d7={_0x46fb8d:0x10,_0x29d227:0x45c},_0x548cff={_0xbf45d2:0x2b,_0x5d39b6:0x4a,_0x4e5c36:0x2d};function _0xd11477(_0xe8dd44,_0x4d484f,_0x361c7d,_0x4d231a){return _0x2cc51b(_0x361c7d,_0x4d484f-_0x548cff._0xbf45d2,_0x361c7d-_0x548cff._0x5d39b6,_0x4d484f- -_0x548cff._0x4e5c36);}function _0x357fb2(_0x3a0049,_0xe7519f,_0x19b4cb,_0x537da0){return _0x2cc51b(_0x19b4cb,_0xe7519f-_0x3441d7._0x46fb8d,_0x19b4cb-0x14e,_0x3a0049- -_0x3441d7._0x29d227);}if(!_0x152ba8||_0x152ba8[_0x357fb2(-0xb1,0x51,-0x1f6,-_0x107500._0x493426)]['length']===0x0)return;const _0x3ea3e8=_0x152ba8[_0x357fb2(-0xb1,-_0x107500._0x1b8f20,-_0x107500._0x2d5606,-0x11c)]['join']('');_0x152ba8[_0x357fb2(-_0x107500._0x3d5fb8,0x9,_0x107500._0x2290da,-_0x107500._0x3fea45)][_0xd11477(0x394,_0x107500._0x1d6cae,0x292,_0x107500._0x285cc0)]=0x0,_0x152ba8[_0x357fb2(-_0x107500._0x2ce8b1,-0x304,-0x1af,-_0x107500._0x49014f)][_0x357fb2(-0x9e,-0x1d0,0x26,_0x107500._0x3e9351)](_0x3ea3e8)&&emitChunk(_0x5c186d,_0x131c74,_0x3ea3e8,_0x577c11);}function createBashTool(_0x405f9d={}){const _0x207eae={_0xea5880:0x53f,_0x564c37:0x446,_0x36421c:0x3cc,_0xa65f40:0x5bc,_0x1cc133:0x2bc,_0x28f11d:0x2ef,_0x17f35b:0x77d,_0x46d493:0x51d,_0x3545ab:0x526,_0xfb5fb2:0x35,_0x3adbf4:0x135,_0x2131bf:0x16c,_0x2dc087:0x275,_0x323bfd:0x51a,_0x1ea13a:0x634,_0x42036a:0x1f8,_0x559360:0x439,_0x49093b:0x2ff,_0x373db0:0x5bd,_0x32f715:0x6ba,_0x46b689:0x361,_0xa76d0b:0x450,_0x2e6b78:0x41d,_0x115e41:0x5cd,_0x1206f3:0x5e4,_0x3daa69:0x68e,_0x3049f7:0x684,_0x111cdc:0x68b,_0x4ae44d:0x48e,_0x3b81a4:0x362,_0x3d13e3:0x4db,_0x46b1bf:0x543,_0x550fbf:0x451,_0x52336d:0x7d7},_0x281681={_0x52d88f:0x18f,_0x3bc6d3:0x228,_0x1f9cca:0xaa,_0xf27b26:0xc8,_0x3ed24e:0x185,_0x36c7f6:0x149,_0x588daa:0x137,_0x365659:0x70,_0x140994:0x35,_0x2f9020:0x58e,_0x1a7c25:0x4e3,_0x1b104a:0x2bf,_0x6baee9:0x22a,_0x2106ec:0x149,_0x10407c:0x7,_0x39f7e7:0x21,_0x3692bf:0x20,_0x2be6fc:0xf1,_0x1916ca:0x654,_0x48da25:0x80,_0x40d4f9:0xe1,_0x33bc4a:0x21,_0xec0576:0x58c,_0x44684f:0x797,_0x18dd1d:0x5af,_0x2be7f2:0x7e6,_0x2f8ae5:0x7cd,_0x387b65:0x5d5,_0x1da45c:0x6b0,_0x542ad4:0xc2,_0x45f09c:0xa8,_0xf69057:0x57e,_0x4d48ae:0x5fb,_0x25d66d:0x14a,_0x134454:0x16,_0x415ac1:0x45,_0x5b60ff:0xe1,_0x3d0498:0x8f,_0x2accc0:0x5b0,_0x3eecba:0x499,_0x1595dd:0x5fd,_0x322b94:0x6a7,_0x361cc3:0x4c7,_0x185dbc:0x26c,_0x41ff9e:0x624,_0x51c2d6:0x6b9,_0x2f4fb5:0xf5,_0x46ffb8:0x2c,_0x4c4781:0xa,_0x11d507:0x4da,_0x10bcb8:0x654,_0x9efaae:0x577,_0xf95ea7:0x538,_0x57cc7f:0x4e0,_0x5bacb2:0xd0,_0x4a630e:0xe1,_0x3d33cb:0x6a,_0x57b4af:0x8d,_0x110113:0x23c,_0x268e16:0x12d,_0x2c4fd0:0x5f8,_0x2b16d8:0x51e,_0x3e6688:0x253,_0x530c04:0x169,_0xd23291:0x712,_0x4b3a91:0x5c7,_0xe49e01:0x60b,_0xe6ac1b:0x57e,_0x34fbee:0xaf,_0x1c3c6a:0xe4,_0x588d5d:0x79,_0x1c962e:0x5bb,_0x3026fb:0x6b1,_0x496cf4:0x6ef,_0x37f38f:0x73a,_0x2a5c82:0x5b4,_0x1461fc:0x655,_0x3133aa:0x59a,_0x44943f:0x580,_0x546be4:0x5f,_0x4db814:0x83,_0x238e1d:0x68,_0x1dad1c:0x460,_0x5d4ef5:0x4d,_0x43b0ce:0xae,_0x2c3e06:0x149,_0x19dfd7:0x178,_0x32c61a:0x1ba,_0x5b4620:0x565,_0x538c62:0x6d4,_0x3a8df8:0x4f7,_0x296bec:0x5f2,_0x41e4e4:0x4c7,_0x5f1633:0x6cd,_0x320e14:0x81d,_0x66972a:0xb7,_0x56ec21:0xbe,_0x3d8441:0x660,_0x54ca51:0x4de,_0x33b6d8:0x650,_0x3dd2e6:0x168,_0x2beb85:0x24,_0xf488c4:0x19b,_0x39cfaa:0x459,_0x488a19:0x571,_0x525fb8:0x4d5,_0x58b6f6:0x46a,_0x41d350:0x1a2,_0x5df660:0xe4,_0x5dccc5:0x25,_0x128c95:0x5c,_0x8ec9a9:0xe3,_0x7ac3cd:0x158,_0x475dd6:0x2f,_0x159514:0x1d1,_0x5250fb:0xef},_0x468c15={_0x57f4bb:0x27,_0xf616d3:0x5,_0x30a746:0x114,_0x2e8051:0x269,_0x458746:0x144,_0x207007:0xd1,_0x65fd9b:0x1e6},_0x24710e={_0x5cd82e:0x4f,_0x6f9c42:0x1b1},_0x35988a={_0x40cbba:0x399,_0x2ef47a:0x22f},_0x3786b2={_0x507dc6:0x1bc,_0xe0e924:0x179},_0xf092ef=_0x18471d[_0x33a7e6(_0x207eae._0xea5880,0x43e,0x2ce,0x55f)](_0x405f9d[_0x33a7e6(0x4b8,_0x207eae._0x564c37,_0x207eae._0x36421c,_0x207eae._0xa65f40)]??process[_0x20b923(0x3c0,0x1f9,_0x207eae._0x1cc133,_0x207eae._0x28f11d)]()),_0x3d0386=_0x405f9d[_0x33a7e6(_0x207eae._0x17f35b,0x655,0x6f1,0x62d)]??[],_0x5da2a7=_0x405f9d[_0x33a7e6(0x3b0,_0x207eae._0x46d493,_0x207eae._0x3545ab,0x569)]??DEFAULT_TIMEOUT_MS,_0x29b831=_0x405f9d['stripAnsi']??!![],_0x1675fa=_0x405f9d[_0x20b923(_0x207eae._0xfb5fb2,0x60,0xc9,_0x207eae._0x3adbf4)]??_0x33a7e6(0x652,0x4fd,0x4e3,0x615);function _0x33a7e6(_0x30628b,_0x188ea3,_0x5814d6,_0x13bdf5){return _0x2cc51b(_0x5814d6,_0x188ea3-0x17c,_0x5814d6-0x4d,_0x188ea3-0x14a);}const _0x5e8fee=_0x405f9d['scrubEnvKeys']??[];function _0x20b923(_0x41a473,_0x11bc5e,_0x427191,_0x29a14b){return _0x2cc51b(_0x11bc5e,_0x11bc5e-_0x3786b2._0x507dc6,_0x427191-0x11d,_0x29a14b- -_0x3786b2._0xe0e924);}const _0x4f642d=_0x405f9d['backgroundRegistry'];return defineTool({'name':_0x1675fa,'permissionClass':_0x20b923(0xfb,_0x207eae._0x2131bf,_0x207eae._0x2dc087,0x236),'description':_0x405f9d[_0x33a7e6(0x528,_0x207eae._0x323bfd,0x3ba,_0x207eae._0x1ea13a)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x20b923(_0x207eae._0x42036a,0x208,_0x207eae._0x559360,_0x207eae._0x49093b),'properties':{'command':{'type':_0x33a7e6(0x75d,0x6ba,0x5d4,_0x207eae._0x373db0)},'description':{'type':_0x33a7e6(0x557,_0x207eae._0x32f715,0x561,0x5df),'description':_0x20b923(0x545,_0x207eae._0x46b689,_0x207eae._0xa76d0b,_0x207eae._0x2e6b78)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x33a7e6(_0x207eae._0x115e41,_0x207eae._0x1206f3,_0x207eae._0x3daa69,_0x207eae._0x115e41)},'ignoreOutput':{'type':_0x33a7e6(_0x207eae._0x3049f7,_0x207eae._0x111cdc,0x61f,0x51c)},'outputRegex':{'type':_0x20b923(0x30a,_0x207eae._0x4ae44d,_0x207eae._0x3b81a4,0x3f7),'description':_0x33a7e6(_0x207eae._0xa76d0b,_0x207eae._0x3d13e3,_0x207eae._0x46b1bf,_0x207eae._0x550fbf)},'runInBackground':{'type':_0x33a7e6(0x733,0x68b,0x6a1,_0x207eae._0x52336d)}},'required':['command','description']},async *'execute'(_0x18f650,_0x2479e3){const _0x3258e9={_0xc27b13:0x51f},_0x1bc431={_0x595521:0x3e3,_0x31c743:0x4e},_0x379dcb={_0x2455c0:0x548},_0x470241={_0x1c5d61:0xf3,_0x3a5aeb:0x30e},_0x132807={_0x1514cd:0x183,_0x35cbb2:0x4cc,_0x1c70e4:0x94};function _0x36e7f8(_0x3aed0d,_0x62f20c,_0x211dd6,_0x115275){return _0x33a7e6(_0x3aed0d-_0x132807._0x1514cd,_0x62f20c- -_0x132807._0x35cbb2,_0x3aed0d,_0x115275-_0x132807._0x1c70e4);}const _0x4d060=_0x18f650[_0x36e7f8(0x275,_0x281681._0x52d88f,_0x281681._0x3bc6d3,0x309)]??_0x5da2a7;if(!Number[_0x36e7f8(0x22e,_0x281681._0x1f9cca,0x14,-_0x281681._0xf27b26)](_0x4d060)||_0x4d060<0x1)throw new ToolExecutionError('Invalid\x20timeoutMs:\x20expected\x20a\x20positive\x20number',{'command':_0x18f650[_0x36e7f8(_0x281681._0x3ed24e,_0x281681._0x36c7f6,_0x281681._0x588daa,0x66)]});throwIfAborted(_0x2479e3[_0x36e7f8(_0x281681._0x365659,-0x20,0x60,-_0x281681._0x140994)]);const _0x5b01e0=resolveWorkingDirectory(_0x18f650['cwd'],_0xf092ef,_0x3d0386),_0x1b423d=_0x18f650[_0x101c19(0x5c2,_0x281681._0x2f9020,_0x281681._0x1a7c25,0x484)]??![],_0x401189=resolveDefaultShell(_0x405f9d['shellPath']);function _0x101c19(_0x5344e1,_0x41f67b,_0x500325,_0x46f42b){return _0x20b923(_0x5344e1-_0x470241._0x1c5d61,_0x41f67b,_0x500325-0x15b,_0x5344e1-_0x470241._0x3a5aeb);}const _0x9605eb=buildShellArgs(_0x18f650[_0x36e7f8(0x1c5,0x149,0x17d,_0x281681._0x1b104a)],_0x401189),_0x49fd66=_0x5dad60['platform']()==='win32';if(_0x18f650['runInBackground']){if(!_0x4f642d)throw new ToolExecutionError('Background\x20execution\x20is\x20not\x20available\x20in\x20this\x20context.',{'command':_0x18f650[_0x36e7f8(_0x281681._0x6baee9,_0x281681._0x2106ec,-_0x281681._0x10407c,0xce)]});throwIfAborted(_0x2479e3[_0x36e7f8(-_0x281681._0x39f7e7,-_0x281681._0x3692bf,0x6c,_0x281681._0x2be6fc)]);let _0x16a89f;try{_0x16a89f=_0x2c41b2(_0x401189,_0x9605eb,{'cwd':_0x5b01e0,'env':buildChildEnv(_0x405f9d[_0x101c19(_0x281681._0x1916ca,0x686,0x71f,0x6f5)],_0x5e8fee),'stdio':[_0x36e7f8(-_0x281681._0x48da25,_0x281681._0x40d4f9,0x14b,_0x281681._0x33bc4a),'pipe','pipe'],'shell':![],'windowsHide':!![],'detached':!_0x49fd66});}catch(_0x265203){throw mapSpawnError(_0x265203,{'command':_0x18f650[_0x101c19(0x660,_0x281681._0xec0576,_0x281681._0x44684f,_0x281681._0x18dd1d)],'cwd':_0x5b01e0,'shellPath':_0x401189});}let _0x24879b;try{_0x24879b=_0x4f642d['spawn']({'child':_0x16a89f,'command':_0x18f650['command'],'cwd':_0x5b01e0,'stripAnsi':_0x29b831});}catch(_0x119966){_0x16a89f[_0x101c19(0x691,_0x281681._0x2be7f2,0x5f4,_0x281681._0x2f8ae5)](_0x101c19(0x4cd,_0x281681._0x387b65,0x3f3,0x4b0),()=>{});try{killProcessGroup(_0x16a89f,_0x49fd66);}catch{}throw _0x119966;}return createToolOutput(_0x101c19(_0x281681._0x1da45c,0x644,0x770,0x785)+_0x24879b[_0x36e7f8(-0x14a,-_0x281681._0x542ad4,_0x281681._0x45f09c,-0x19)]+_0x101c19(0x643,_0x281681._0xf69057,0x6ce,_0x281681._0x4d48ae)+(_0x24879b[_0x36e7f8(-0x10e,-0xe3,-_0x281681._0x25d66d,_0x281681._0x134454)]??'?')+_0x36e7f8(_0x281681._0x415ac1,-0x6a,-_0x281681._0x5b60ff,-_0x281681._0x3d0498),{'shellId':_0x24879b['shellId'],'status':_0x24879b[_0x101c19(_0x281681._0x2accc0,0x5a0,_0x281681._0x3eecba,0x60b)],'command':_0x24879b['command'],'description':_0x18f650['description'],'cwd':_0x24879b[_0x101c19(_0x281681._0x1595dd,_0x281681._0x322b94,_0x281681._0x361cc3,0x4bf)],'pid':_0x24879b[_0x36e7f8(-0x221,-0xe3,-_0x281681._0x185dbc,-0x21c)]??null});}let _0x497ecd,_0xc2b2cd;if(_0x18f650[_0x101c19(_0x281681._0x41ff9e,_0x281681._0x51c2d6,0x4dc,0x55a)]!==void 0x0)try{const _0x40d8a3=new RegExp(_0x18f650['outputRegex']);_0x497ecd={'regex':_0x40d8a3,'trailingChunks':[]},_0xc2b2cd={'regex':_0x40d8a3,'trailingChunks':[]};}catch(_0x433d74){throw new ToolExecutionError(_0x36e7f8(0x72,-0xa8,0x8c,-0x5b)+(_0x433d74 instanceof Error?_0x433d74[_0x36e7f8(_0x281681._0x2f4fb5,0xfc,_0x281681._0x46ffb8,-_0x281681._0x4c4781)]:String(_0x433d74)),{'command':_0x18f650['command'],'outputRegex':_0x18f650[_0x101c19(0x624,0x688,0x608,_0x281681._0x11d507)]});}let _0x184c56;try{_0x184c56=_0x2c41b2(_0x401189,_0x9605eb,{'cwd':_0x5b01e0,'env':buildChildEnv(_0x405f9d[_0x101c19(_0x281681._0x10bcb8,_0x281681._0x9efaae,_0x281681._0xf95ea7,_0x281681._0x57cc7f)],_0x5e8fee),'stdio':_0x1b423d?[_0x36e7f8(_0x281681._0x5bacb2,_0x281681._0x4a630e,0x2f,-_0x281681._0x3d33cb),_0x36e7f8(_0x281681._0x57b4af,0xe1,_0x281681._0x110113,_0x281681._0x268e16),_0x101c19(_0x281681._0x2c4fd0,0x6b0,_0x281681._0x2b16d8,0x6a0)]:[_0x36e7f8(0x132,_0x281681._0x40d4f9,_0x281681._0x3e6688,0x6d),_0x36e7f8(_0x281681._0x530c04,0x1fb,0x381,0x28e),_0x101c19(_0x281681._0xd23291,_0x281681._0x4b3a91,0x6cd,_0x281681._0xe49e01)],'shell':![],'windowsHide':!![],'detached':!_0x49fd66});}catch(_0x40de24){throw mapSpawnError(_0x40de24,{'command':_0x18f650['command'],'cwd':_0x5b01e0,'shellPath':_0x401189});}const _0x50e234=[],_0x4699ff=[],_0xe03f6=new _0x3c5a53('utf8'),_0x376a05=new _0x3c5a53(_0x101c19(_0x281681._0xe6ac1b,0x650,0x6cb,0x449));let _0x372e55,_0x54703b=![],_0x3649a1;const _0x578407=()=>{if(!_0x372e55)return;const _0x19fb85=_0x372e55;_0x372e55=void 0x0,_0x19fb85();},_0x43302f=async()=>{const _0x5f462f={_0x2766eb:0x197,_0x5ca5fb:0x1c3};if(_0x4699ff[_0x138c74(0x30e,0x4b5,_0x35988a._0x40cbba,_0x35988a._0x2ef47a)]>0x0||_0x54703b)return;function _0x138c74(_0x3fb73d,_0x2c322d,_0x549132,_0x39cd16){return _0x36e7f8(_0x39cd16,_0x549132-0x316,_0x549132-_0x5f462f._0x2766eb,_0x39cd16-_0x5f462f._0x5ca5fb);}await new Promise(_0x34a13f=>{_0x372e55=_0x34a13f;});},_0xc380b4=_0x45c594=>{function _0x3e603(_0x5d1f5e,_0x4a0a1b,_0x2f5bb8,_0x155f9a){return _0x101c19(_0x2f5bb8- -_0x379dcb._0x2455c0,_0x5d1f5e,_0x2f5bb8-0x150,_0x155f9a-0x18d);}appendChunk(_0x50e234,_0x4699ff,_0xe03f6[_0x3e603(_0x24710e._0x5cd82e,0xce,_0x24710e._0x6f9c42,0xcb)](_0x45c594),_0x29b831,_0x578407,_0x497ecd);},_0x55b350=_0x7e864=>{appendChunk(_0x50e234,_0x4699ff,_0x376a05['write'](_0x7e864),_0x29b831,_0x578407,_0xc2b2cd);};_0x184c56['stdout']?.['on'](_0x36e7f8(_0x281681._0x34fbee,_0x281681._0x1c3c6a,0x19f,-_0x281681._0x588d5d),_0xc380b4),_0x184c56[_0x101c19(_0x281681._0x1c962e,0x625,0x43c,_0x281681._0x3026fb)]?.['on'](_0x101c19(_0x281681._0x4d48ae,_0x281681._0x496cf4,0x782,_0x281681._0x37f38f),_0x55b350);let _0x138b61=![],_0x56fe09;const _0x477235=addAbortListener(_0x2479e3[_0x101c19(0x4f7,_0x281681._0x2a5c82,_0x281681._0x1461fc,0x37a)],()=>{_0x3649a1=toAbortError(_0x2479e3['signal']['reason']),_0x54703b=!![],_0x578407();try{killProcessGroup(_0x184c56,_0x49fd66);}catch{}});try{const _0x10a2eb=new Promise((_0x898464,_0x19c586)=>{const _0x172f74={_0x47202b:0x27f,_0x742766:0x156,_0x317b10:0x2f7,_0x46520e:0x6,_0x1d3168:0x16e},_0x37421b={_0x590d26:0x71,_0x3f9235:0x1eb,_0x64fd05:0xca},_0x1e490b={_0x1cb404:0x200,_0xd06287:0x2b1,_0x2a6498:0x328,_0x2ff2b3:0x1d8,_0x204903:0x284,_0x28b50f:0x3fc,_0x13f1c6:0xc6},_0x2987ae=()=>{const _0x343bc6={_0x1e39f9:0x197};function _0x17c261(_0x5d7253,_0x291e10,_0x708879,_0x584150){return _0x29c8(_0x584150- -_0x343bc6._0x1e39f9,_0x291e10);}_0x56fe09&&(clearTimeout(_0x56fe09),_0x56fe09=void 0x0);function _0x2c7d18(_0x9f9a44,_0x14689d,_0x275ff6,_0x20598f){return _0x29c8(_0x275ff6-0x11d,_0x14689d);}_0x184c56[_0x2c7d18(_0x1e490b._0x1cb404,_0x1e490b._0xd06287,_0x1e490b._0x2a6498,_0x1e490b._0x2ff2b3)](_0x2c7d18(0x3ce,0x2b9,_0x1e490b._0x204903,_0x1e490b._0x28b50f),_0x2e301d),_0x184c56[_0x17c261(_0x1e490b._0x13f1c6,0xc4,-0x101,0x74)](_0x17c261(0x135,-0xab,0x3e,0x27),_0x44f301);},_0x2e301d=_0x47b128=>{_0x54703b=!![],_0x578407(),_0x2987ae(),_0x19c586(_0x3649a1??_0x47b128);};function _0x5a333d(_0x4ec0f7,_0x203513,_0x22668e,_0x55c3da){return _0x36e7f8(_0x203513,_0x4ec0f7-_0x37421b._0x590d26,_0x22668e-_0x37421b._0x3f9235,_0x55c3da-_0x37421b._0x64fd05);}function _0x1fa3c6(_0x35ecbb,_0x1f5474,_0x48ca39,_0x27f958){return _0x101c19(_0x48ca39- -_0x1bc431._0x595521,_0x27f958,_0x48ca39-0x170,_0x27f958-_0x1bc431._0x31c743);}const _0x44f301=(_0x232385,_0x5a2265)=>{const _0x5bbf0c={_0x12aee3:0x1d5};_0x138b61=!![];function _0x56d11c(_0x3b1150,_0x434b12,_0x25a5da,_0x3b3f1f){return _0x29c8(_0x3b1150- -0xc4,_0x3b3f1f);}appendChunk(_0x50e234,_0x4699ff,_0xe03f6[_0x56d11c(_0x172f74._0x47202b,_0x172f74._0x742766,_0x172f74._0x317b10,0x2f9)](),_0x29b831,_0x578407,_0x497ecd),appendChunk(_0x50e234,_0x4699ff,_0x376a05[_0x1ab949(0x20d,0x129,-_0x172f74._0x46520e,_0x172f74._0x1d3168)](),_0x29b831,_0x578407,_0xc2b2cd),flushOutputRegex(_0x50e234,_0x4699ff,_0x497ecd,_0x578407),flushOutputRegex(_0x50e234,_0x4699ff,_0xc2b2cd,_0x578407),_0x54703b=!![];function _0x1ab949(_0x2781a1,_0x436cb3,_0x533814,_0xff5e86){return _0x29c8(_0xff5e86- -_0x5bbf0c._0x12aee3,_0x533814);}_0x578407(),_0x2987ae();if(_0x3649a1){_0x19c586(_0x3649a1);return;}_0x898464({'code':_0x232385,'signal':_0x5a2265});};_0x56fe09=setTimeout(()=>{function _0x163402(_0x55d70d,_0x5edc41,_0x8e569a,_0x27ab2c){return _0x29c8(_0x55d70d-0x2c5,_0x5edc41);}_0x54703b=!![],_0x578407(),_0x2987ae();try{killProcessGroup(_0x184c56,_0x49fd66);}catch{}_0x19c586(new ToolExecutionError(_0x163402(_0x3258e9._0xc27b13,0x67f,0x49a,0x3f8)+_0x4d060+'\x20ms',{'command':_0x18f650['command'],'cwd':_0x5b01e0,'shellPath':_0x401189,'timeoutMs':_0x4d060,'timedOut':!![]}));},_0x4d060),_0x184c56['once'](_0x5a333d(_0x468c15._0x57f4bb,0xfa,_0x468c15._0xf616d3,-_0x468c15._0x30a746),_0x2e301d),_0x184c56[_0x5a333d(0x1eb,0x2fb,_0x468c15._0x2e8051,_0x468c15._0x458746)](_0x5a333d(0x7e,-_0x468c15._0x207007,_0x468c15._0x65fd9b,0x1b0),_0x44f301);});while(_0x4699ff[_0x101c19(_0x281681._0x3133aa,0x699,_0x281681._0x44943f,0x6e8)]>0x0||!_0x54703b){if(_0x4699ff[_0x36e7f8(-_0x281681._0x546be4,_0x281681._0x4db814,0x87,-_0x281681._0x238e1d)]===0x0){await _0x43302f();continue;}const _0x267ed1=_0x4699ff['shift']();_0x267ed1!==void 0x0&&(yield _0x267ed1);}const _0x485d90=await _0x10a2eb,_0x170110=_0x1b423d?_0x101c19(0x4aa,0x50b,0x499,0x584)+(_0x485d90[_0x101c19(_0x281681._0x1dad1c,0x361,0x5c0,0x303)]??0x0):_0x50e234[_0x36e7f8(-0xc7,-_0x281681._0x5d4ef5,-0x103,0xdf)](''),_0x21966f={'command':_0x18f650[_0x36e7f8(_0x281681._0x43b0ce,_0x281681._0x2c3e06,_0x281681._0x19dfd7,_0x281681._0x32c61a)],'description':_0x18f650[_0x101c19(_0x281681._0x5b4620,0x49d,0x6d6,_0x281681._0x538c62)],'cwd':_0x5b01e0,'exitCode':_0x485d90['code']??0x0,'signal':_0x485d90[_0x101c19(_0x281681._0x3a8df8,0x37f,_0x281681._0x296bec,_0x281681._0x41e4e4)],'ignoreOutput':_0x1b423d,'outputRegex':_0x18f650['outputRegex']??null,'shellPath':_0x401189,'timeoutMs':_0x4d060};if(_0x485d90['code']!==0x0)throw new ToolExecutionError(_0x170110||_0x101c19(_0x281681._0x5f1633,0x6f8,0x807,_0x281681._0x320e14)+(_0x485d90[_0x36e7f8(0x66,-_0x281681._0x66972a,_0x281681._0x56ec21,-0x71)]??0x0),_0x21966f);return createToolOutput(_0x170110,_0x21966f);}catch(_0x4029aa){while(_0x4699ff['length']>0x0){const _0x346623=_0x4699ff['shift']();_0x346623!==void 0x0&&(yield _0x346623);}if(_0x4029aa instanceof ToolExecutionError)throw _0x4029aa;if(_0x3649a1)throw _0x3649a1;throw mapSpawnError(_0x4029aa,{'command':_0x18f650[_0x101c19(_0x281681._0x3d8441,0x560,_0x281681._0x54ca51,_0x281681._0x33b6d8)],'cwd':_0x5b01e0,'shellPath':_0x401189});}finally{_0x56fe09&&clearTimeout(_0x56fe09);_0x477235(),_0x184c56[_0x36e7f8(_0x281681._0x3dd2e6,_0x281681._0x2beb85,-0x133,_0x281681._0x415ac1)]?.[_0x36e7f8(_0x281681._0xf488c4,0x5a,-0x58,-0xc0)]('data',_0xc380b4),_0x184c56[_0x101c19(_0x281681._0x1c962e,0x56e,_0x281681._0x39cfaa,_0x281681._0x488a19)]?.[_0x101c19(_0x281681._0x488a19,0x579,_0x281681._0x525fb8,_0x281681._0x58b6f6)](_0x36e7f8(_0x281681._0x41d350,_0x281681._0x5df660,_0x281681._0x5dccc5,_0x281681._0x128c95),_0x55b350);if(!_0x138b61&&_0x184c56[_0x36e7f8(-0x10f,-_0x281681._0x8ec9a9,-_0x281681._0x7ac3cd,-_0x281681._0x475dd6)]&&!_0x184c56[_0x36e7f8(-_0x281681._0x159514,-_0x281681._0x5250fb,-0x2e,_0x281681._0x140994)])try{killProcessGroup(_0x184c56,_0x49fd66);}catch{}}}});}function createShellExecTool(_0x1e7c5e={}){return createBashTool(_0x1e7c5e);}import{readdir,readFile as _0x183501}from'fs/promises';import{extname,join as _0xf24a70}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0x296cb9,join,relative as _0x382600,resolve as _0x5899b5}from'path';import{readdir as _0x510827,readFile as _0x4a408d}from'fs/promises';import{join as _0x359707,relative as _0x53c117,sep}from'path';import{delimiter}from'path';import{mkdir as _0x13f9cf,rm,stat as _0x3a0874,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x5d78dc}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x5e917b,rename,rm as _0x6e407e,stat as _0x150503,writeFile as _0xeb0fa3}from'fs/promises';import{homedir as _0x3c5c89}from'os';import{dirname as _0x3ffc51,isAbsolute as _0x371452,join as _0x3bec22,resolve as _0x46d9a4}from'path';import{parse as _0xfb9d74,stringify as _0x9846fc}from'yaml';import{cp,mkdir as _0x49621b,readFile as _0x39e1b5,rm as _0x15bddb,writeFile as _0x8c49fb}from'fs/promises';import{homedir}from'os';import{join as _0xd87bcf}from'path';import{parse as _0x55cbb0,stringify as _0x22041a}from'yaml';import{z}from'zod';import{readdir as _0x8530d2,readFile as _0x32244c}from'fs/promises';import{join as _0x10ac77}from'path';import{randomUUID as _0x5568b1}from'crypto';import{mkdir as _0x2b04a8,readdir as _0x5cf573,readFile as _0x183a2d,rename as _0x292856,rm as _0x4269a0,writeFile as _0x2a3dbf}from'fs/promises';import{homedir as _0x1320b4}from'os';import{basename,isAbsolute as _0x5007fc,join as _0x1546be,relative as _0x3e7d53,resolve as _0x1a517f}from'path';import{parse as _0xbb35ce,stringify as _0x33c83a}from'yaml';import{delimiter as _0x383e24,resolve as _0x163c74}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x44e7a0){const _0x569e77={_0x2ede5b:0xd1,_0x2d8a04:0xb4,_0x2c39b0:0x36,_0x19dc53:0x88,_0x548cc9:0xf5,_0x4d9f4f:0x13e,_0x32d898:0x10f,_0x56d556:0xf5,_0x1e0776:0x2a},_0x49ffb1={_0x43638d:0xc9},_0x5ec454={_0x121b1c:0xab,_0x5763e2:0x84};function _0x7013f(_0x8daac0,_0x39b4cc,_0x520131,_0x4aefbc){return _0x38eb01(_0x39b4cc,_0x4aefbc-0xd1,_0x520131-_0x5ec454._0x121b1c,_0x4aefbc-_0x5ec454._0x5763e2);}const _0x359a7f=[];let _0x205dc6='',_0x48432c=0x0;function _0x3d257b(_0x310c59,_0xd29642,_0x190a52,_0xe19c90){return _0x38eb01(_0xd29642,_0x310c59-_0x49ffb1._0x43638d,_0x190a52-0xcd,_0xe19c90-0x181);}while(_0x48432c<_0x44e7a0[_0x7013f(0x55,_0x569e77._0x2ede5b,-0x7e,-0x36)]){const _0x12cfed=_0x44e7a0[_0x48432c];if(_0x12cfed==='\x5c'&&_0x48432c+0x1<_0x44e7a0[_0x7013f(-0x14f,0xd5,_0x569e77._0x2d8a04,-_0x569e77._0x2c39b0)])_0x205dc6+=_0x44e7a0[_0x48432c+0x1],_0x48432c+=0x2;else{if(_0x12cfed==='\x22'||_0x12cfed==='\x27'){const _0x256fcc=_0x12cfed;_0x48432c++;while(_0x48432c<_0x44e7a0[_0x7013f(_0x569e77._0x19dc53,0x19,-0xb4,-0x36)]&&_0x44e7a0[_0x48432c]!==_0x256fcc){_0x44e7a0[_0x48432c]==='\x5c'&&_0x48432c+0x1<_0x44e7a0[_0x3d257b(-0x3e,-0x130,-0x19d,-_0x569e77._0x548cc9)]?(_0x205dc6+=_0x44e7a0[_0x48432c+0x1],_0x48432c+=0x2):(_0x205dc6+=_0x44e7a0[_0x48432c],_0x48432c++);}_0x48432c++;}else _0x12cfed!==void 0x0&&/\s/[_0x7013f(-0x9b,0x22,-_0x569e77._0x4d9f4f,-0x7d)](_0x12cfed)?(_0x205dc6&&(_0x359a7f[_0x7013f(-0x61,0x155,_0x569e77._0x32d898,0x2a)](_0x205dc6),_0x205dc6=''),_0x48432c++):(_0x205dc6+=_0x12cfed,_0x48432c++);}}if(_0x205dc6)_0x359a7f[_0x7013f(_0x569e77._0x56d556,0x12d,0xae,_0x569e77._0x1e0776)](_0x205dc6);return _0x359a7f;}function renderCommandInstructions(_0x27dc37){const _0x3af5a8={_0x10d08d:0x13d,_0x541581:0x2ff,_0xcb8d22:0x2f7,_0x428ba3:0x97,_0x509aa5:0x352,_0x528418:0x1fe,_0x4d9aeb:0x172,_0x19c2a4:0x178,_0x8af7d7:0x1fe,_0x2a5c56:0x227,_0x33ff03:0x1fe,_0x7bc287:0x1fe,_0x272e33:0x34a,_0x51782e:0xa0,_0x2bf218:0x69,_0x4aa742:0x89,_0x28cd77:0xc2},_0x30a103={_0xa18b58:0x5,_0xe6c70:0xfd},_0x57da5d={_0x327c91:0x19},_0x1ee083={_0x4d8674:0x148,_0x814ec8:0x14d};let _0x57659a=_0x27dc37[_0x14eebc(-_0x3af5a8._0x10d08d,-0x204,-0x1b3,-0x248)];function _0x3ea515(_0x1fa303,_0x46d1b1,_0x21eae2,_0x171951){return _0x2cc51b(_0x1fa303,_0x46d1b1-_0x1ee083._0x4d8674,_0x21eae2-_0x1ee083._0x814ec8,_0x21eae2- -0x58b);}let _0x5b0124=![];const _0x4e279a=tokenizeCommandArguments(_0x27dc37['argumentsText']);function _0x14eebc(_0x2d5627,_0x2ac6fe,_0x2f99ba,_0x339bee){return _0x2cc51b(_0x2d5627,_0x2ac6fe-0x9f,_0x2f99ba-0x180,_0x2f99ba- -0x494);}_0x57659a=_0x57659a[_0x3ea515(-0x41c,-0x36a,-_0x3af5a8._0x541581,-_0x3af5a8._0xcb8d22)](/\$ARGUMENTS\[(\d+)\]/g,(_0x4571cc,_0x260edb)=>{return _0x5b0124=!![],_0x4e279a[Number(_0x260edb)]??'';}),_0x57659a=_0x57659a['replace'](/\$ARGUMENTS\b/g,()=>{_0x5b0124=!![];function _0x565606(_0x41d655,_0x1c83d8,_0x554691,_0x1353e1){return _0x14eebc(_0x554691,_0x1c83d8-0xf,_0x1c83d8- -_0x57da5d._0x327c91,_0x1353e1-0x141);}return _0x27dc37[_0x565606(_0x30a103._0xa18b58,0x50,_0x30a103._0xe6c70,-0xd4)];});if(_0x27dc37[_0x3ea515(-_0x3af5a8._0x428ba3,-_0x3af5a8._0x509aa5,-_0x3af5a8._0x528418,-_0x3af5a8._0x4d9aeb)]&&_0x27dc37[_0x3ea515(-0x245,-_0x3af5a8._0x19c2a4,-_0x3af5a8._0x8af7d7,-0x101)]['length']>0x0)for(let _0x13d035=0x0;_0x13d035<_0x27dc37['argumentNames']['length'];_0x13d035++){const _0x74b77d=_0x27dc37[_0x3ea515(-_0x3af5a8._0x2a5c56,-0x123,-_0x3af5a8._0x33ff03,-0x31f)][_0x13d035];if(_0x74b77d){const _0x1b8be9=new RegExp('\x5c$'+_0x74b77d+'\x5cb','g');_0x57659a=_0x57659a['replace'](_0x1b8be9,()=>{return _0x5b0124=!![],_0x4e279a[_0x13d035]??'';});}}return _0x57659a=_0x57659a[_0x14eebc(-_0x3af5a8._0x7bc287,-_0x3af5a8._0x272e33,-0x208,-0x244)](/\$(\d+)\b/g,(_0x307746,_0x2ab249)=>{return _0x5b0124=!![],_0x4e279a[Number(_0x2ab249)]??'';}),!_0x5b0124&&_0x27dc37[_0x14eebc(-_0x3af5a8._0x51782e,0x21,_0x3af5a8._0x2bf218,-0x10)][_0x3ea515(-0xbb,-_0x3af5a8._0x4aa742,-0x6e,-_0x3af5a8._0x28cd77)]()&&(_0x57659a=_0x57659a+'\x0a\x0aARGUMENTS:\x20'+_0x27dc37['argumentsText']),_0x57659a;}var PROVIDER_API_KEY_ENVS=[{'env':_0x38eb01(-0xd7,-0xbe,-0x23c,0x4c),'provider':'openrouter'},{'env':_0x2cc51b(0x39b,0x4eb,0x2fb,0x3f9),'provider':_0x2cc51b(0x3ae,0x3a4,0x20d,0x35b)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0x38eb01(-0x8f,-0x96,0xc9,-0x1ca)},{'env':_0x38eb01(-0x22e,-0x264,-0x287,-0x238),'provider':_0x2cc51b(0x401,0x4b1,0x4db,0x476)},{'env':_0x38eb01(-0x228,-0x1ff,-0x323,-0x288),'provider':_0x2cc51b(0x36d,0x3c7,0x3a0,0x3fd)},{'env':_0x38eb01(-0x35c,-0x26f,-0x2fb,-0x383),'provider':'deepinfra'},{'env':_0x2cc51b(0x4fe,0x30e,0x294,0x3bc),'provider':_0x38eb01(-0x12b,0x33,0x1b1,0x148)},{'env':'MOONSHOT_API_KEY','provider':_0x2cc51b(0x411,0x289,0x519,0x396)},{'env':_0x38eb01(-0x1f0,-0x1c2,-0x340,-0x14e),'provider':_0x2cc51b(0x46b,0x26d,0x324,0x3f3)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x38eb01(-0x27a,-0x12d,-0x2af,-0x226),'provider':'openai'},{'env':_0x2cc51b(0x1ee,0x401,0x346,0x32b),'provider':'deepseek'},{'env':'OPENCODE_API_KEY','provider':_0x2cc51b(0x480,0x513,0x337,0x43c)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x2ee576=>_0x2ee576[_0x38eb01(-0xaa,-0x4d,-0xd5,-0x71)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x38eb01(-0x277,-0x101,-0xa5,-0x14d),_0x38eb01(-0x41,-0xac,-0x100,-0x9),_0x2cc51b(0x2cc,0x232,0x21b,0x294)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x38eb01(0x52,-0xc2,-0x248,-0x1b0)](Object['prototype']),_0x2cc51b(0x36a,0x548,0x440,0x420)]);function prototypeSafeRecord(_0x4a02f9){const _0x5ef0c3={_0x136c54:0x3dc,_0x377dfe:0x1fe,_0x2846cf:0x2e2,_0x8d5340:0x27e,_0x581ef3:0x465,_0x5df2c6:0x3da,_0x2e6429:0x474,_0x2ac7c6:0xff,_0x479256:0x1de},_0x558145={_0xeeaa48:0x382,_0xb1ab22:0x1f4},_0x23233c={_0x53bc4b:0x178,_0x23fba4:0x193,_0x1c8e2a:0x37},_0x3008cc={_0x3991bc:0x1d9,_0x477700:0x192},_0x359e5d={_0x393eb5:0x6c,_0x53988c:0x184,_0x36303d:0x246};function _0x22a8b9(_0x211a6f,_0x2fe93d,_0x4b4f4c,_0x49dc92){return _0x2cc51b(_0x49dc92,_0x2fe93d-_0x359e5d._0x393eb5,_0x4b4f4c-_0x359e5d._0x53988c,_0x4b4f4c- -_0x359e5d._0x36303d);}function _0x27c21a(_0xabe93d,_0x1d0972,_0x593100,_0x1879f1){return _0x38eb01(_0x1879f1,_0xabe93d-0x376,_0x593100-_0x3008cc._0x3991bc,_0x1879f1-_0x3008cc._0x477700);}return z[_0x22a8b9(_0x5ef0c3._0x136c54,0x43c,0x33a,_0x5ef0c3._0x377dfe)](_0x22c877=>{function _0x2f33eb(_0x496c1d,_0x26d3d1,_0xd18397,_0x2a9061){return _0x22a8b9(_0x496c1d-_0x23233c._0x53bc4b,_0x26d3d1-_0x23233c._0x23fba4,_0x2a9061-_0x23233c._0x1c8e2a,_0x26d3d1);}if(_0x22c877===null||typeof _0x22c877!==_0x1d4e21(_0x558145._0xeeaa48,0x275,0x10c,0x1ff)||Array[_0x1d4e21(0x6f,_0x558145._0xb1ab22,0xfc,0x6a)](_0x22c877))return null;function _0x1d4e21(_0xe03ff7,_0x526731,_0xdf9ba7,_0x2045a8){return _0x22a8b9(_0xe03ff7-0x37,_0x526731-0x61,_0x526731-0x43,_0xdf9ba7);}const _0x3c9789=Object['getPrototypeOf'](_0x22c877);if(_0x3c9789!==Object['prototype']&&_0x3c9789!==null)return null;return{'entries':Object['entries'](_0x22c877)};},z[_0x27c21a(_0x5ef0c3._0x2846cf,_0x5ef0c3._0x8d5340,_0x5ef0c3._0x581ef3,0x25f)]({'entries':z['array'](z['tuple']([z[_0x27c21a(_0x5ef0c3._0x5df2c6,0x547,0x4d8,_0x5ef0c3._0x2e6429)](),_0x4a02f9]))}))[_0x22a8b9(0x196,0x20e,_0x5ef0c3._0x2ac7c6,_0x5ef0c3._0x479256)](({entries:_0x2e2379})=>Object['fromEntries'](_0x2e2379));}var chatModelAuthSchemeSchema=z[_0x2cc51b(0x339,0x3dc,0x2a3,0x36a)](['bearer',_0x38eb01(-0xd0,-0x197,-0x157,-0xbd)]),apiKeyAuthSchema=z['object']({'type':z[_0x2cc51b(0x3c0,0x310,0x20d,0x2ba)](_0x38eb01(0xd9,-0x3a,-0x16,-0x11a)),'apiKey':z[_0x2cc51b(0x5a0,0x5af,0x570,0x570)](),'authScheme':chatModelAuthSchemeSchema[_0x2cc51b(0x424,0x180,0x215,0x2d8)]()})[_0x2cc51b(0x601,0x488,0x4d5,0x4e1)](),oauthAuthSchema=z['object']({'type':z[_0x2cc51b(0x3f3,0x359,0x2a7,0x2ba)]('oauth'),'access':z['string'](),'refresh':z[_0x38eb01(0x102,0x64,0xee,-0x123)](),'expires':z[_0x38eb01(-0x84,-0x72,-0xa,-0x13b)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x2cc51b(0x370,0x262,0x45d,0x2d8)]()})[_0x2cc51b(0x63d,0x4f0,0x58a,0x4e1)](),finiteNonNegative=z[_0x38eb01(-0x78,-0x72,-0xc,-0x1d9)]()['finite']()[_0x38eb01(-0x93,-0x30,-0xd1,0x61)](),chatGptAuthSchema=z['object']({'type':z['literal'](_0x2cc51b(0x433,0x6c1,0x577,0x554)),'access':z[_0x38eb01(0x197,0x64,0x3,-0xb1)]()[_0x2cc51b(0x3d2,0x284,0x3d3,0x331)](0x1),'refresh':z[_0x38eb01(0x91,0x64,0x32,0x152)]()[_0x38eb01(-0x1d1,-0x1db,-0xb6,-0x7c)](0x1),'idToken':z[_0x38eb01(-0x66,0x64,0x1d6,0x186)]()['min'](0x1),'accountId':z[_0x2cc51b(0x423,0x4cc,0x60f,0x570)]()[_0x38eb01(-0x1e5,-0x1db,-0x1d9,-0x77)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x38eb01(-0x222,-0x234,-0x26c,-0x30c)]()})['passthrough'](),authMethodSchema=z[_0x38eb01(0x99,0x0,-0x12f,0x85)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),modelDefinitionSchema=z[_0x2cc51b(0x4ea,0x35e,0x3fc,0x478)]({'id':z[_0x2cc51b(0x463,0x49e,0x5ad,0x570)](),'name':z['string']()[_0x2cc51b(0x1b8,0x433,0x39b,0x2d8)]()})['passthrough'](),modelConfigSchema=z['union']([z[_0x38eb01(-0x138,-0x252,-0x295,-0x219)](![]),z[_0x2cc51b(0x22b,0x38c,0x3c9,0x2ba)](!![]),z[_0x2cc51b(0x3f4,0x5f6,0x518,0x570)](),z[_0x2cc51b(0x403,0x502,0x433,0x562)](z[_0x2cc51b(0x5c6,0x59c,0x4e9,0x570)]()),z[_0x38eb01(0x8c,0x56,-0x126,0x14b)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x38eb01(-0x27a,-0x1a2,-0x227,-0x2e3)]([_0x38eb01(-0x47,-0xf9,-0x7d,-0x1b4),_0x38eb01(-0xf0,-0x24e,-0x2c4,-0x20d),_0x38eb01(-0x8b,-0x68,0xce,-0xb6),'openai-responses-ws']),providerConfigSchema=z[_0x2cc51b(0x333,0x32c,0x3fa,0x478)]({'apiKey':z[_0x38eb01(-0xc6,0x64,-0xf,0xb6)]()[_0x2cc51b(0x3d9,0x35f,0x2f3,0x2d8)](),'token':z['string']()['optional'](),'defaultModel':z['string']()['optional'](),'smallModel':z[_0x38eb01(0x4f,0x64,0x33,0xa7)]()['optional'](),'currentAuth':z[_0x2cc51b(0x6a9,0x4b7,0x49f,0x570)]()['optional'](),'auth':z[_0x2cc51b(0x518,0x493,0x5c9,0x562)](authMethodSchema)[_0x38eb01(-0x1e6,-0x234,-0x28a,-0x368)](),'surface':chatModelSurfaceSchema[_0x2cc51b(0x414,0x31f,0x21d,0x2d8)](),'baseUrl':z[_0x2cc51b(0x573,0x5dd,0x669,0x570)]()[_0x38eb01(-0x1ca,-0x234,-0x212,-0x2f1)](),'models':modelConfigSchema[_0x38eb01(-0x1f7,-0x234,-0x39b,-0x316)](),'customHeaders':z[_0x2cc51b(0x41a,0x36d,0x36c,0x4a9)](z[_0x38eb01(0x8f,0x64,0x6a,-0xb8)](),z[_0x2cc51b(0x6e7,0x4ca,0x5a7,0x570)]())['optional']()})[_0x38eb01(-0x144,-0x2b,0x157,-0x153)](),mcpServerConfigSchema=z[_0x38eb01(0x14,-0x94,-0x187,0x60)]({'command':z['string']()[_0x2cc51b(0x201,0x232,0x41f,0x2d8)](),'args':z['array'](z[_0x2cc51b(0x593,0x5d1,0x4ac,0x570)]())['optional'](),'env':z[_0x38eb01(-0x53,-0x63,-0x8d,0xdd)](z[_0x2cc51b(0x5db,0x456,0x4ed,0x570)](),z['string']())['optional'](),'transport':z[_0x38eb01(-0x1bc,-0x1a2,-0xae,-0x27f)]([_0x38eb01(0xf1,-0x3,-0x51,0x136),_0x2cc51b(0x67a,0x4eb,0x41b,0x548)])['optional'](),'url':z[_0x2cc51b(0x4b6,0x581,0x431,0x570)]()[_0x2cc51b(0x200,0x3d2,0x29b,0x2d8)](),'headers':z[_0x38eb01(-0x95,-0x63,-0x8,0x2d)](z[_0x38eb01(0xc5,0x64,0xd8,0x5)](),z['string']())[_0x2cc51b(0x2e1,0x183,0x326,0x2d8)](),'prefix':z[_0x2cc51b(0x4de,0x41c,0x436,0x570)]()[_0x38eb01(-0x319,-0x234,-0x30c,-0x33f)](),'timeoutMs':z[_0x38eb01(-0x1d0,-0x72,-0xe5,-0x1c0)]()[_0x2cc51b(0x319,0x1d0,0x352,0x2d8)](),'enabled':z[_0x38eb01(-0xd4,0x35,-0xde,0x17d)]()[_0x38eb01(-0x252,-0x234,-0xd8,-0x3b5)](),'auth':z['object']({'type':z[_0x38eb01(-0x2db,-0x1a2,-0x176,-0x233)]([_0x38eb01(0x5,-0x155,-0x19b,-0x193),'bearer','oauth']),'token':z[_0x2cc51b(0x440,0x5c4,0x583,0x570)]()[_0x2cc51b(0x249,0x35d,0x2d3,0x2d8)](),'oauth':z[_0x38eb01(-0xa5,-0x94,-0xf1,-0x54)]({'clientId':z['string']()[_0x2cc51b(0x3a8,0x3ce,0x203,0x2d8)](),'clientMetadataUrl':z[_0x2cc51b(0x54a,0x5b4,0x693,0x570)]()['optional'](),'authorizationServer':z[_0x38eb01(-0x1c,0x64,0xe4,-0x115)]()['optional'](),'scopes':z[_0x2cc51b(0x58a,0x5c9,0x45f,0x562)](z[_0x2cc51b(0x6dd,0x4e7,0x535,0x570)]())[_0x2cc51b(0x3f8,0x42b,0x2a5,0x2d8)](),'tokenStorageKey':z['string']()[_0x38eb01(-0x267,-0x234,-0xcd,-0x290)]()})['passthrough']()[_0x2cc51b(0x37b,0x326,0x3e1,0x2d8)]()})['passthrough']()[_0x2cc51b(0x338,0x44d,0x196,0x2d8)]()})[_0x38eb01(0x8,-0x2b,0x14,0xeb)](),mcpToolPermissionClassSchema=z[_0x38eb01(-0x9e,-0x1a2,-0x6a,-0x26c)](['read','write',_0x38eb01(-0x2b1,-0x15d,-0x2c2,-0x29e)]),mcpSettingsSchema=z[_0x38eb01(-0x20e,-0x94,-0x9,-0x8c)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x38eb01(-0x387,-0x234,-0x30a,-0x2eb)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x38eb01(-0xf8,0x35,0xa2,-0x90)]()))[_0x38eb01(-0x1d3,-0x234,-0x2e4,-0x2ff)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x38eb01(-0x246,-0x234,-0x383,-0x18b)](),'defaultTimeoutMs':z[_0x38eb01(0x43,-0x72,-0x1d,-0xad)]()[_0x38eb01(-0x1c0,-0x234,-0x2ae,-0x1bb)]()})[_0x38eb01(0xe9,-0x2b,-0xe4,0x3a)](),skillsSettingsSchema=z[_0x38eb01(-0xf0,-0x94,-0x185,-0xe2)]({'enabled':z[_0x38eb01(0xd7,0x35,-0xc,0x178)]()[_0x2cc51b(0x237,0x19d,0x335,0x2d8)](),'includeDefaults':z[_0x2cc51b(0x435,0x682,0x480,0x541)]()[_0x2cc51b(0x267,0x3c8,0x2fc,0x2d8)](),'directories':z[_0x38eb01(-0x69,0x56,-0xc,0x14d)](z[_0x2cc51b(0x5c7,0x515,0x4a2,0x570)]())[_0x2cc51b(0x3e7,0x3b9,0x1bd,0x2d8)](),'exclude':z['array'](z[_0x2cc51b(0x561,0x610,0x4cc,0x570)]())[_0x38eb01(-0xec,-0x234,-0x366,-0x365)]()})['passthrough'](),commandsSettingsSchema=z[_0x2cc51b(0x31c,0x5d1,0x343,0x478)]({'enabled':z['boolean']()[_0x2cc51b(0x186,0x3b3,0x1ba,0x2d8)](),'directories':z['array'](z[_0x2cc51b(0x6ec,0x456,0x613,0x570)]())[_0x2cc51b(0x29d,0x1be,0x421,0x2d8)]()})[_0x38eb01(-0x1a4,-0x2b,-0x16d,0xb)](),agentsSettingsSchema=z[_0x2cc51b(0x4ae,0x562,0x510,0x478)]({'enabled':z[_0x2cc51b(0x4ae,0x581,0x4ef,0x541)]()[_0x38eb01(-0x1fe,-0x234,-0x21c,-0x1fa)](),'includeDefaults':z[_0x38eb01(0xc7,0x35,-0x35,0x79)]()[_0x2cc51b(0x2e4,0x38c,0x20d,0x2d8)](),'directories':z[_0x38eb01(-0x92,0x56,-0x11a,-0x4a)](z['string']())['optional']()})[_0x38eb01(0x116,-0x2b,0x147,-0x92)](),uiThemeSettingsSchema=z[_0x38eb01(-0x16d,-0x94,-0x66,-0x203)]({'mode':z[_0x38eb01(-0x1e4,-0x1a2,-0x1c3,-0x173)]([_0x2cc51b(0x297,0x419,0x2b5,0x390),_0x38eb01(-0x15b,-0xad,-0x46,-0x78),_0x2cc51b(0x5dc,0x57b,0x34d,0x480)])['optional'](),'colorLevel':z['enum'](['auto','none',_0x38eb01(-0x352,-0x263,-0x24d,-0x3e8),_0x38eb01(0x119,0x4d,0xd7,0x174),_0x38eb01(-0x1ad,-0x188,-0x2ec,-0x117)])[_0x38eb01(-0x24d,-0x234,-0xc1,-0x2c0)](),'backgrounds':z[_0x2cc51b(0x35d,0x2a2,0x21e,0x36a)]([_0x38eb01(-0x1df,-0x17c,-0x13b,-0x1dd),'on','off'])[_0x38eb01(-0x224,-0x234,-0xb6,-0x1e5)](),'messageStyle':z[_0x2cc51b(0x3b7,0x4ee,0x3c7,0x36a)]([_0x38eb01(0x162,0x38,0xba,-0x143),_0x38eb01(-0x2a6,-0x283,-0x1bc,-0x2b8)])[_0x38eb01(-0x299,-0x234,-0x319,-0xc0)]()})[_0x2cc51b(0x543,0x5c2,0x4dd,0x4e1)](),statuslineSegmentSchema=z[_0x2cc51b(0x326,0x2a9,0x1fc,0x36a)]([_0x2cc51b(0x2f3,0x337,0x33c,0x457),_0x2cc51b(0x4a9,0x4e5,0x50c,0x4ca),_0x2cc51b(0x263,0x3cd,0x418,0x349),_0x38eb01(-0x22d,-0x23a,-0x262,-0x2e8),_0x2cc51b(0x2b8,0x412,0x36d,0x296),_0x2cc51b(0x542,0x600,0x48d,0x48b),_0x38eb01(-0x12c,-0x13,-0x37,0xdf),_0x2cc51b(0x3de,0x652,0x3e9,0x55e),_0x38eb01(0x166,-0x15,0xbf,0xb9),_0x2cc51b(0x617,0x424,0x5ae,0x4cc),_0x38eb01(-0x21c,-0x220,-0x10c,-0x266),'gitBranch',_0x38eb01(-0x54,-0x102,-0x1d3,-0x286),'memory','rss']),statuslineItemSchema=z[_0x38eb01(0x15b,0x0,-0x5c,-0x19)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z['array'](statuslineItemSchema),statuslineConfigSchema=z[_0x38eb01(-0x177,-0x94,-0xa2,-0x206)]({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x2cc51b(0x2b6,0x328,0x168,0x2d8)]()})[_0x2cc51b(0x55e,0x428,0x5e2,0x4e1)](),memorySettingsSchema=z['object']({'version':z[_0x38eb01(-0x3a3,-0x252,-0x362,-0x15d)](0x2)['optional'](),'retrieval':z['object']({'engine':z[_0x38eb01(-0x171,-0x252,-0x101,-0x34b)](_0x38eb01(-0xc8,-0x20b,-0x114,-0x223))[_0x38eb01(-0xcd,-0x234,-0x1ed,-0x126)](),'candidateLimit':z[_0x2cc51b(0x54a,0x377,0x4c8,0x49a)]()[_0x38eb01(-0x314,-0x234,-0x390,-0x294)](),'activeCandidateLimit':z['number']()['optional'](),'activeEnabled':z[_0x2cc51b(0x5b4,0x5f4,0x5c5,0x541)]()[_0x38eb01(-0x342,-0x234,-0x248,-0x39e)](),'maxQueriesPerTurn':z[_0x38eb01(-0x52,-0x72,-0x95,0x99)]()[_0x38eb01(-0x2ef,-0x234,-0x22d,-0x1a0)](),'coreInjectTokenBudget':z['number']()[_0x38eb01(-0xd3,-0x234,-0x28c,-0x18c)](),'injectTokenBudget':z['number']()['optional'](),'minScore':z[_0x38eb01(0x86,-0x72,-0x16,-0x20)]()[_0x2cc51b(0x239,0x323,0x1cc,0x2d8)](),'freshnessHalfLifeDays':z[_0x38eb01(0x8f,-0x72,0x8,0x85)]()[_0x2cc51b(0x30c,0x289,0x153,0x2d8)]()})[_0x2cc51b(0x5af,0x5d4,0x499,0x4e1)]()['optional'](),'extraction':z[_0x2cc51b(0x536,0x389,0x465,0x478)]({'enabled':z[_0x38eb01(0x81,0x35,0x146,0x164)]()[_0x38eb01(-0x1de,-0x234,-0x3b1,-0x1e2)](),'provider':z['string']()[_0x2cc51b(0x308,0x1ed,0x460,0x2d8)](),'model':z[_0x38eb01(0xd5,0x64,0x48,-0xe3)]()[_0x38eb01(-0xd1,-0x234,-0x25b,-0x1c9)](),'sensitiveFilter':z[_0x2cc51b(0x59d,0x3e7,0x45c,0x541)]()['optional']()})['passthrough']()[_0x2cc51b(0x37e,0x3fc,0x363,0x2d8)](),'index':z[_0x38eb01(-0xa9,-0x94,-0xf0,0xb4)]({'persisted':z[_0x2cc51b(0x564,0x3c7,0x65c,0x541)]()[_0x38eb01(-0xc1,-0x234,-0xe9,-0xca)](),'flushIntervalMs':z[_0x38eb01(0x73,-0x72,-0xe3,0x64)]()[_0x2cc51b(0x259,0x412,0x15a,0x2d8)]()})[_0x38eb01(-0x1a2,-0x2b,0x6a,0x149)]()[_0x38eb01(-0x2d8,-0x234,-0x2fb,-0x1e1)](),'enabled':z[_0x2cc51b(0x6b3,0x619,0x53b,0x541)]()[_0x2cc51b(0x232,0x255,0x20f,0x2d8)](),'saveTool':z[_0x2cc51b(0x5dc,0x575,0x5e3,0x541)]()[_0x2cc51b(0x434,0x1f0,0x415,0x2d8)](),'model':z['string']()[_0x38eb01(-0x190,-0x234,-0x1d3,-0x106)](),'provider':z['string']()[_0x38eb01(-0x39a,-0x234,-0x279,-0x304)](),'maxInjectionTokens':z[_0x2cc51b(0x4c6,0x335,0x5f0,0x49a)]()[_0x2cc51b(0x251,0x1a3,0x288,0x2d8)](),'backgroundExtraction':z['boolean']()['optional']()})[_0x38eb01(0x133,-0x2b,-0x160,0xb0)](),recentModelSchema=z[_0x2cc51b(0x358,0x3d0,0x521,0x478)]({'provider':z[_0x2cc51b(0x42a,0x583,0x69c,0x570)](),'model':z[_0x2cc51b(0x646,0x6ae,0x4b8,0x570)](),'usedAt':z['number']()})['passthrough'](),lspServerEntrySchema=z[_0x2cc51b(0x3dc,0x42c,0x3fa,0x478)]({'disabled':z[_0x2cc51b(0x55b,0x586,0x4a7,0x541)]()[_0x38eb01(-0x162,-0x234,-0x33f,-0x340)](),'command':z[_0x38eb01(0x178,0x64,0xd9,0x5f)]()[_0x2cc51b(0x36b,0x3f8,0x2c5,0x2d8)](),'args':z['array'](z[_0x38eb01(0x12d,0x64,0x34,-0xc2)]())[_0x2cc51b(0x3a1,0x2fd,0x3bb,0x2d8)](),'rootMarkers':z['array'](z[_0x2cc51b(0x602,0x557,0x4fe,0x570)]())[_0x38eb01(-0x14d,-0x234,-0xcb,-0x392)]()})[_0x2cc51b(0x3b1,0x595,0x40d,0x4e1)](),lspConfigSchema=z[_0x2cc51b(0x39a,0x442,0x58e,0x478)]({'enabled':z['boolean']()['optional'](),'servers':z[_0x2cc51b(0x38f,0x61c,0x600,0x4a9)](z[_0x2cc51b(0x402,0x597,0x59d,0x570)](),lspServerEntrySchema)[_0x2cc51b(0x259,0x230,0x2ed,0x2d8)]()})[_0x2cc51b(0x567,0x5d1,0x533,0x4e1)](),serverEndpointSchema=z[_0x2cc51b(0x563,0x5e1,0x300,0x478)]({'url':z[_0x2cc51b(0x653,0x62a,0x4aa,0x570)](),'token':z[_0x38eb01(0x1c1,0x64,-0x100,-0xd4)]()['optional']()})[_0x38eb01(-0x14f,-0x2b,-0x98,-0x156)](),commandHookConfigSchema=z['object']({'type':z['literal']('command'),'command':z['string'](),'timeout':z[_0x2cc51b(0x3e0,0x608,0x36e,0x49a)]()[_0x2cc51b(0x1a3,0x2de,0x195,0x2d8)]()}),hookMatcherGroupSchema=z[_0x2cc51b(0x30a,0x419,0x3ca,0x478)]({'matcher':z[_0x2cc51b(0x66a,0x565,0x68a,0x570)]()[_0x2cc51b(0x40f,0x36b,0x277,0x2d8)](),'hooks':z[_0x2cc51b(0x403,0x691,0x61d,0x562)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x38eb01(0xef,-0x94,-0xc8,-0xaf)]({'PreToolUse':z[_0x2cc51b(0x5ba,0x546,0x668,0x562)](hookMatcherGroupSchema)[_0x38eb01(-0x37a,-0x234,-0x287,-0x2c8)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x2cc51b(0x414,0x2c8,0x3af,0x2d8)](),'UserPromptSubmit':z[_0x2cc51b(0x69b,0x62a,0x514,0x562)](hookMatcherGroupSchema)[_0x2cc51b(0x1fc,0x421,0x38c,0x2d8)](),'Stop':z[_0x2cc51b(0x4f9,0x421,0x461,0x562)](hookMatcherGroupSchema)[_0x2cc51b(0x1f7,0x24a,0x1d5,0x2d8)](),'Notification':z[_0x2cc51b(0x4e4,0x594,0x421,0x562)](hookMatcherGroupSchema)[_0x2cc51b(0x34f,0x298,0x2d6,0x2d8)](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)[_0x2cc51b(0x422,0x35d,0x300,0x2d8)](),'SessionStart':z[_0x2cc51b(0x435,0x523,0x63b,0x562)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z[_0x2cc51b(0x5fe,0x6c5,0x421,0x562)](hookMatcherGroupSchema)[_0x38eb01(-0x33a,-0x234,-0x15e,-0x1e7)]()}),providerNameSchema=z['string']()[_0x38eb01(-0x134,-0x1db,-0x129,-0xc8)](0x1,'Provider\x20name\x20cannot\x20be\x20empty')[_0x38eb01(-0x14a,-0x24b,-0x2dd,-0x340)](_0x204901=>!_0x204901[_0x38eb01(-0x234,-0x267,-0x291,-0x328)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),cliConfigSchema=z[_0x2cc51b(0x389,0x3f1,0x3ac,0x478)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x38eb01(0x2e,0x64,0xf9,-0x50)]()[_0x2cc51b(0x1fb,0x34d,0x2dd,0x2d8)](),'apiKey':z[_0x38eb01(0x119,0x64,0x132,0x17c)]()[_0x38eb01(-0x39c,-0x234,-0x2a3,-0xac)](),'providers':z['record'](providerNameSchema,providerConfigSchema)[_0x2cc51b(0x3e5,0x28a,0x2f6,0x2d8)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x2cc51b(0x1e0,0x30b,0x166,0x2d8)](),'agents':agentsSettingsSchema[_0x38eb01(-0x1fd,-0x234,-0x19f,-0x208)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x38eb01(0x80,-0x63,0xc7,0xfe)](z[_0x38eb01(0x3,0x64,0x134,-0x80)](),z[_0x2cc51b(0x687,0x3bf,0x44d,0x541)]())[_0x2cc51b(0x435,0x29b,0x20b,0x2d8)](),'allowedDirs':z[_0x2cc51b(0x438,0x632,0x6bb,0x562)](z[_0x38eb01(0xe5,0x64,0x1bc,-0x16)]())[_0x38eb01(-0x1ad,-0x234,-0x114,-0x250)](),'mcpEnabled':prototypeSafeRecord(z[_0x2cc51b(0x3c7,0x613,0x54b,0x541)]())['optional'](),'commandsEnabled':z['record'](z[_0x38eb01(-0x55,0x64,0x28,0xc7)](),z[_0x2cc51b(0x5b6,0x69e,0x4d6,0x541)]())[_0x38eb01(-0x2ff,-0x234,-0x3b3,-0x15c)](),'memory':memorySettingsSchema[_0x2cc51b(0x17a,0x33c,0x2f2,0x2d8)](),'session':z[_0x2cc51b(0x310,0x398,0x5ee,0x478)]({'memPersist':z['boolean']()[_0x38eb01(-0x162,-0x234,-0xd5,-0x349)](),'persistEventLog':z[_0x2cc51b(0x5fd,0x52e,0x662,0x541)]()[_0x2cc51b(0x412,0x1c7,0x37c,0x2d8)](),'persistHttpLog':z['boolean']()[_0x38eb01(-0xac,-0x234,-0xdf,-0x1ff)]()})['passthrough']()['optional'](),'requireToolApproval':z[_0x2cc51b(0x4e9,0x4df,0x555,0x541)]()['optional'](),'thinking':z[_0x2cc51b(0x48c,0x253,0x28a,0x36a)]([_0x38eb01(-0x125,-0x5a,-0x23,-0xd4),_0x38eb01(-0x356,-0x250,-0x281,-0x1b5),'MEDIUM',_0x2cc51b(0x4d2,0x63e,0x667,0x510)])[_0x2cc51b(0x178,0x18a,0x1fb,0x2d8)](),'streamingChunks':z[_0x2cc51b(0x437,0x6a7,0x4b6,0x541)]()[_0x2cc51b(0x28b,0x236,0x27a,0x2d8)](),'agentsEnabled':z[_0x2cc51b(0x495,0x5ad,0x5a5,0x4a9)](z[_0x38eb01(0x14,0x64,-0x53,-0x97)](),z['boolean']())['optional'](),'recentModels':z[_0x2cc51b(0x5b6,0x4b4,0x438,0x562)](recentModelSchema)[_0x2cc51b(0x344,0x433,0x36e,0x2d8)](),'lsp':lspConfigSchema[_0x38eb01(-0x361,-0x234,-0x34e,-0x323)](),'servers':z[_0x2cc51b(0x493,0x361,0x3c8,0x4a9)](z[_0x2cc51b(0x497,0x68a,0x4bb,0x570)](),serverEndpointSchema)['optional'](),'ui':z[_0x38eb01(-0x210,-0x94,-0xfb,-0x1ff)]({'theme':uiThemeSettingsSchema[_0x38eb01(-0x171,-0x234,-0x270,-0x1fa)](),'statusline':statuslineConfigSchema['optional']()})['passthrough']()[_0x2cc51b(0x29c,0x32d,0x240,0x2d8)](),'tools':z[_0x38eb01(-0x1d9,-0x63,0x57,-0xe5)](z['string'](),z[_0x38eb01(-0xa3,-0x16e,-0x2e7,-0x23d)]())['optional'](),'hooks':hooksConfigSchema[_0x38eb01(-0x263,-0x234,-0x104,-0x239)]()})[_0x2cc51b(0x380,0x430,0x4d9,0x4e1)](),workspaceOverlaySchema=z[_0x38eb01(-0x5b,-0x94,-0x6a,0x3d)]({'root':z['string']()[_0x2cc51b(0x3ac,0x314,0x31b,0x2d8)](),'allowedDirs':z[_0x38eb01(0x12f,0x56,0x1cd,0x114)](z[_0x38eb01(0x1ec,0x64,-0x1e,0x22)]())['optional'](),'activeProvider':providerNameSchema[_0x38eb01(-0x11d,-0x234,-0x1e3,-0x2ac)](),'activeModel':z[_0x38eb01(0x1e6,0x64,0x1a8,0x59)]()[_0x38eb01(-0x33e,-0x234,-0x143,-0x2cc)](),'mcp':mcpSettingsSchema[_0x2cc51b(0x1b9,0x344,0x34d,0x2d8)](),'skills':skillsSettingsSchema[_0x2cc51b(0x184,0x1a4,0x348,0x2d8)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x2cc51b(0x2d8,0x255,0x31a,0x2d8)](),'hooks':hooksConfigSchema[_0x2cc51b(0x2b3,0x3c1,0x2bb,0x2d8)](),'memory':memorySettingsSchema[_0x38eb01(-0x195,-0x234,-0x220,-0x1b2)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())['optional'](),'skillsEnabled':z['record'](z['string'](),z['boolean']())[_0x2cc51b(0x410,0x1da,0x1fb,0x2d8)](),'agentsEnabled':z[_0x2cc51b(0x491,0x3cb,0x4ba,0x4a9)](z[_0x38eb01(0x3e,0x64,0x1d9,0x46)](),z['boolean']())[_0x2cc51b(0x2a8,0x23c,0x2dc,0x2d8)](),'commandsEnabled':z[_0x38eb01(-0xf,-0x63,-0x114,-0x7b)](z[_0x2cc51b(0x51b,0x4c6,0x489,0x570)](),z['boolean']())['optional']()})[_0x38eb01(-0x109,-0x2b,0xa7,0x117)](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x2cc51b(0x2cb,0x30f,0x37a,0x44a)](Object[_0x2cc51b(0x477,0x3a5,0x47c,0x420)]),_0x2cc51b(0x370,0x42e,0x3ae,0x420)]);function buildDescription(_0x163efc){const _0x31b460={_0x5ed479:0x3cf,_0x12d094:0x2a2,_0x3514b0:0x425,_0x26e0dd:0x3de,_0x3b8148:0x2dd,_0x42dfc0:0x22d,_0x4d6d79:0x1cb,_0x1588f3:0x3e7,_0x254ca6:0x295,_0x15ddcf:0x425,_0x506804:0x3a3,_0x69fe65:0x382,_0xb42029:0x3be,_0x3b8dc4:0x345,_0x56fce1:0x45c,_0x2c2f2f:0x1e0,_0x44ef26:0x258,_0x55e78e:0x3fa,_0x2f2ea8:0x507,_0x61a1cb:0x3ab,_0x41269e:0x2ff,_0x189376:0x197,_0x66bb1d:0x1a9},_0x55cd02={_0x510228:0xd6,_0x319951:0x36};function _0x67989c(_0x16bc29,_0x327972,_0x4e7eab,_0x24c757){return _0x38eb01(_0x327972,_0x24c757- -0x77,_0x4e7eab-0x2d,_0x24c757-0x58);}if(_0x163efc[_0x2ddaa8(_0x31b460._0x5ed479,_0x31b460._0x12d094,0x29d,0x486)]===0x0)return[_0x2ddaa8(_0x31b460._0x3514b0,_0x31b460._0x26e0dd,_0x31b460._0x3b8148,0x2f3),_0x67989c(-_0x31b460._0x42dfc0,-0xd0,-0x10f,-_0x31b460._0x4d6d79),_0x67989c(-0x3e3,-_0x31b460._0x1588f3,-0x1a9,-_0x31b460._0x254ca6)]['join']('\x0a');function _0x2ddaa8(_0x2bab90,_0x22dd2f,_0x2e0eb0,_0x548b85){return _0x2cc51b(_0x2e0eb0,_0x22dd2f-_0x55cd02._0x510228,_0x2e0eb0-0x15d,_0x2bab90- -_0x55cd02._0x319951);}const _0x4f76f6=[_0x2ddaa8(_0x31b460._0x15ddcf,0x348,0x4b4,_0x31b460._0x506804),_0x2ddaa8(_0x31b460._0x69fe65,0x219,_0x31b460._0xb42029,0x2a7),_0x2ddaa8(_0x31b460._0x3b8dc4,_0x31b460._0x56fce1,_0x31b460._0x2c2f2f,_0x31b460._0x44ef26),..._0x163efc[_0x2ddaa8(0x483,_0x31b460._0x55e78e,_0x31b460._0x2f2ea8,_0x31b460._0x61a1cb)](_0x46b011=>_0x46b011[_0x2ddaa8(0x299,0x3dd,0x230,0x3d6)]?'-\x20'+_0x46b011[_0x67989c(-0x41c,-0x19f,-0x3e4,-0x2d5)]+'\x20'+_0x46b011[_0x2ddaa8(0x299,0x1be,0x218,0x3d4)]+':\x20'+_0x46b011[_0x67989c(-0x170,-0x2e1,-0x76,-0x1b3)]:'-\x20'+_0x46b011[_0x2ddaa8(0x278,0x23e,0x260,0x2fa)]+':\x20'+_0x46b011[_0x2ddaa8(0x39a,0x3ad,0x3ce,0x329)])];return _0x4f76f6[_0x2ddaa8(_0x31b460._0x41269e,0x365,_0x31b460._0x189376,_0x31b460._0x66bb1d)]('\x0a');}function createInvokeCommandTool(_0x1a9fe4){const _0x4b339c={_0x5942ad:0x6d,_0x2da392:0x1d,_0x41a6b6:0x148,_0x2e4f38:0x1a6,_0x68ef84:0x185,_0x231182:0xd0,_0x92a983:0x42,_0x5af9f9:0xa3,_0x33c190:0x4b,_0x34c203:0x176,_0xd63c2a:0x25a,_0x554c19:0x14c,_0x274719:0x24d},_0x3beb01={_0x2215ba:0x521,_0x510590:0x4aa,_0x5b2531:0x5c6,_0x3ad03a:0x4ac,_0x4383d9:0x1dc,_0x32231a:0x6c,_0x2b35b6:0x520,_0x61c2fa:0x57e,_0x238074:0x403,_0x26572f:0xfa,_0x18fbb1:0x41,_0x39fb6b:0x56,_0x27f917:0x69,_0x2e7a98:0x10e,_0x5024d9:0x88,_0x1cbc32:0x2f6,_0x31d819:0x745,_0x456990:0x623,_0x14f39a:0x89,_0x5e79d8:0xea,_0xa61900:0x147,_0x49bc68:0x17e,_0xd8db49:0x7c,_0x585137:0x122},_0x2773bb={_0x2bf656:0x16f,_0x319e60:0x1a2,_0x43f208:0x86},_0x2efa77={_0x37ab42:0xbb},_0x2dd129={_0x194cfe:0x109},_0x5e6aea=new Map(_0x1a9fe4[_0x2bb172(0xf3,_0x4b339c._0x5942ad,_0x4b339c._0x2da392,0xa3)][_0x158a1d(0x196,0x242,0x2df,0x1cc)](_0x37caf5=>[_0x37caf5['id'],_0x37caf5])),_0x38673e=buildDescription(_0x1a9fe4[_0x2bb172(-0x49,_0x4b339c._0x41a6b6,0x1d,_0x4b339c._0x2e4f38)]);function _0x2bb172(_0x24eae5,_0x343079,_0xe6bb51,_0x824420){return _0x2cc51b(_0x343079,_0x343079-_0x2dd129._0x194cfe,_0xe6bb51-0x18f,_0xe6bb51- -0x3fa);}function _0x158a1d(_0x58a9f7,_0x1bc8f7,_0x403653,_0x54b97c){return _0x2cc51b(_0x58a9f7,_0x1bc8f7-_0x2efa77._0x37ab42,_0x403653-0xf5,_0x1bc8f7- -0x277);}return defineTool({'name':_0x2bb172(_0x4b339c._0x68ef84,_0x4b339c._0x231182,0x8,_0x4b339c._0x92a983),'permissionClass':_0x2bb172(-_0x4b339c._0x5af9f9,-0xf9,-_0x4b339c._0x33c190,-0x197),'description':_0x38673e,'inputSchema':{'type':'object','properties':{'name':{'type':_0x2bb172(0x29c,0x1c7,_0x4b339c._0x34c203,0x242)},'args':{'type':_0x158a1d(0x262,0x2f9,0x1f6,_0x4b339c._0xd63c2a)}},'required':[_0x2bb172(-0x125,-0xad,-_0x4b339c._0x554c19,-_0x4b339c._0x274719)]},async *'execute'(_0x58a6d3){const _0x421840={_0x141a93:0x4da,_0x374423:0x90},_0x3a944c=_0x5e6aea[_0xaa0467(_0x3beb01._0x2215ba,_0x3beb01._0x510590,_0x3beb01._0x5b2531,_0x3beb01._0x3ad03a)](_0x58a6d3['name']);if(!_0x3a944c){const _0x52c292=Array[_0x54c03a(_0x3beb01._0x4383d9,_0x3beb01._0x32231a,0xca,0xa8)](_0x5e6aea[_0xaa0467(_0x3beb01._0x2b35b6,0x481,_0x3beb01._0x61c2fa,_0x3beb01._0x238074)]())['join'](',\x20');throw new ToolExecutionError(_0x54c03a(0x125,_0x3beb01._0x26572f,-_0x3beb01._0x18fbb1,0x149)+_0x58a6d3[_0xaa0467(0x30c,0x42b,0x4f0,0x38e)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x52c292,{'name':_0x58a6d3[_0x54c03a(_0x3beb01._0x39fb6b,_0x3beb01._0x27f917,_0x3beb01._0x2e7a98,-_0x3beb01._0x5024d9)]});}const _0x4961c4=await _0x1a9fe4[_0x54c03a(0x26a,_0x3beb01._0x1cbc32,0x37a,0x200)](_0x3a944c);function _0x54c03a(_0x253c35,_0x191621,_0x16bbee,_0x139d69){return _0x2bb172(_0x253c35-_0x2773bb._0x2bf656,_0x16bbee,_0x253c35-_0x2773bb._0x319e60,_0x139d69-_0x2773bb._0x43f208);}function _0xaa0467(_0x3aa1de,_0x1ac804,_0x37e7a3,_0x1469a2){return _0x2bb172(_0x3aa1de-0x143,_0x37e7a3,_0x1469a2-_0x421840._0x141a93,_0x1469a2-_0x421840._0x374423);}const _0x559f2b=_0x58a6d3[_0xaa0467(_0x3beb01._0x31d819,0x4e7,0x735,_0x3beb01._0x456990)]??'',_0x4161dd=renderCommandInstructions({'instructions':_0x4961c4[_0x54c03a(_0x3beb01._0x14f39a,-0x71,-0xd0,-_0x3beb01._0x5e79d8)],'argumentsText':_0x559f2b,'argumentNames':_0x4961c4[_0x54c03a(0x38,_0x3beb01._0xa61900,-0x66,_0x3beb01._0x49bc68)]});return yield createToolOutput(_0x4161dd,{'id':_0x4961c4['id'],'name':_0x4961c4[_0x54c03a(0x56,_0x3beb01._0xd8db49,0x3f,_0x3beb01._0x585137)],'path':_0x3a944c[_0xaa0467(0x5a3,0x46b,0x4c8,0x569)]['path']}),void 0x0;}});}import{createHash}from'crypto';import{readFile as _0x134ef0,rename as _0x761c8c,stat as _0x1c9c2b,writeFile as _0x5b5155}from'fs/promises';import*as _0x1bf948 from'path';function detectEol(_0x42a887){const _0x39924b={_0x2aed1e:0x167,_0x51f983:0x5bc},_0x9f24c={_0xab4290:0x128},_0x3140bd={_0x2fbb57:0x1d3};function _0x1a4c3f(_0x597f61,_0x469197,_0x514a8f,_0x4d5d17){return _0x38eb01(_0x514a8f,_0x469197-0x505,_0x514a8f-0x1d7,_0x4d5d17-_0x3140bd._0x2fbb57);}function _0x47f7e8(_0x3543ed,_0x7a8cb6,_0x2c4e65,_0x48b99d){return _0x2cc51b(_0x3543ed,_0x7a8cb6-0x1db,_0x2c4e65-_0x9f24c._0xab4290,_0x48b99d- -0x1bc);}return/\r\n/['test'](_0x42a887[_0x47f7e8(_0x39924b._0x2aed1e,0x2f2,0x2c9,0x255)](_0x1a4c3f(0x4c0,0x3e2,0x53f,0x35e)))?_0x1a4c3f(_0x39924b._0x51f983,0x43b,0x301,0x4e9):'lf';}function normalizeToLf(_0x32b6cc){const _0x4985bf={_0x352359:0x16f},_0x54d8de={_0x10291e:0x133};function _0x3e1b51(_0x3ffc10,_0x4969e8,_0x4e57f1,_0x5b8ae5){return _0x2cc51b(_0x3ffc10,_0x4969e8-_0x54d8de._0x10291e,_0x4e57f1-0x35,_0x4e57f1- -0x43c);}return _0x32b6cc[_0x3e1b51(-0xc4,-_0x4985bf._0x352359,-0x1b0,-0x1de)](/\r\n/g,'\x0a');}function convertEol(_0x48ee95,_0x246802){return _0x246802==='crlf'?_0x48ee95['replace'](/\n/g,'\x0d\x0a'):_0x48ee95;}async function atomicWrite(_0x4be3b1,_0x137b0b){const _0x52aef4={_0x10a1b4:0x1ba,_0x471112:0xfd,_0x330b31:0x17f,_0x4a82a0:0x52d,_0x5a700c:0x558,_0x27cd7c:0x53a,_0x4b5f3c:0x1b8,_0xde2f75:0x168,_0x4a81c5:0x3c4,_0x9ad6dc:0x3b5,_0x3a7434:0x225,_0x4cffb7:0x3aa,_0xfe31fc:0x30e,_0x489410:0x353},_0x4fa370={_0x105dab:0x19},_0x32cfe4=_0x1bf948[_0x393d49(0x219,_0x52aef4._0x10a1b4,_0x52aef4._0x471112,_0x52aef4._0x330b31)](_0x4be3b1),_0x2f00a6=_0x1bf948['join'](_0x32cfe4,_0x52717f(_0x52aef4._0x4a82a0,0x4fc,_0x52aef4._0x5a700c,_0x52aef4._0x27cd7c)+_0x1bf948[_0x393d49(_0x52aef4._0x4b5f3c,_0x52aef4._0xde2f75,0x28d,0x223)](_0x4be3b1)+'.'+Date[_0x52717f(0x318,_0x52aef4._0x4a81c5,_0x52aef4._0x9ad6dc,0x317)]()+'.'+Math[_0x52717f(_0x52aef4._0x3a7434,0x234,_0x52aef4._0x4cffb7,_0x52aef4._0xfe31fc)]()[_0x52717f(_0x52aef4._0x489410,0x362,0x442,0x428)](0x24)['slice'](0x2));await _0x5b5155(_0x2f00a6,_0x137b0b);function _0x393d49(_0x3ae7ab,_0x5e2479,_0x3e8a5d,_0xd79f32){return _0x38eb01(_0xd79f32,_0x3e8a5d-0x286,_0x3e8a5d-_0x4fa370._0x105dab,_0xd79f32-0x34);}function _0x52717f(_0x363a28,_0x18eccb,_0x8d20d4,_0x536a6f){return _0x38eb01(_0x18eccb,_0x536a6f-0x523,_0x8d20d4-0x8d,_0x536a6f-0x1b);}await _0x761c8c(_0x2f00a6,_0x4be3b1);}function sha256(_0x595a05){const _0x5ae8ec={_0x33d289:0x5bf,_0x2b6d6b:0x3cc,_0x1c75bb:0x382,_0x2f8d49:0x796,_0x3fde4f:0x5c8},_0x47ff80={_0x5720e8:0x1aa,_0x57ddcf:0xd0},_0x4c58a7={_0x52328d:0x146,_0x3d15bd:0x192};function _0x3f63e6(_0x466949,_0x5b837f,_0x2dc563,_0xebf1d5){return _0x2cc51b(_0xebf1d5,_0x5b837f-_0x4c58a7._0x52328d,_0x2dc563-_0x4c58a7._0x3d15bd,_0x2dc563-0x1a3);}function _0x4d67da(_0x3ba8d5,_0x143c07,_0x3f6aff,_0x122b0c){return _0x2cc51b(_0x143c07,_0x143c07-_0x47ff80._0x5720e8,_0x3f6aff-0x7,_0x122b0c-_0x47ff80._0x57ddcf);}return createHash(_0x3f63e6(_0x5ae8ec._0x33d289,0x5ad,0x502,_0x5ae8ec._0x2b6d6b))[_0x4d67da(0x35e,0x44f,0x1fd,_0x5ae8ec._0x1c75bb)](_0x595a05)[_0x3f63e6(0x4d7,0x4db,0x4b3,0x4bf)](_0x3f63e6(0x79b,_0x5ae8ec._0x2f8d49,0x6b2,_0x5ae8ec._0x3fde4f));}function countLines(_0x1c33f7){const _0x2a098d={_0x5223c4:0x17,_0x521fea:0x83,_0x29d767:0xe0,_0x373b00:0x5ee,_0xd272a:0x785,_0x482d0d:0x6d1,_0x42c0eb:0x3e,_0x1b38c9:0x202},_0x367c56={_0x4d1226:0x1e7,_0x6e9068:0x72,_0x150090:0x2e},_0x592899=_0x1c33f7['replace'](/\n$/,'');function _0x505ff5(_0x3a33f8,_0x2acedc,_0x372742,_0x4a8f2d){return _0x38eb01(_0x4a8f2d,_0x372742-_0x367c56._0x4d1226,_0x372742-_0x367c56._0x6e9068,_0x4a8f2d-_0x367c56._0x150090);}function _0x379da8(_0x3c7af9,_0x3a3ee8,_0x241c99,_0x1933c5){return _0x2cc51b(_0x241c99,_0x3a3ee8-0x42,_0x241c99-0x1d7,_0x1933c5-0x1b8);}return _0x592899[_0x505ff5(-_0x2a098d._0x5223c4,-_0x2a098d._0x521fea,_0x2a098d._0x29d767,0x1de)]===0x0?0x0:_0x592899[_0x379da8(_0x2a098d._0x373b00,_0x2a098d._0xd272a,0x824,_0x2a098d._0x482d0d)]('\x0a')[_0x505ff5(0x1aa,_0x2a098d._0x42c0eb,0xe0,_0x2a098d._0x1b38c9)];}function calculateLineNumbers(_0x30d0a6,_0x2fed18,_0x197440,_0x1d9ed0){const _0x3e3bfb={_0x4ed955:0x199,_0x5a172f:0x240,_0x4a9b1b:0x339},_0xe3700c={_0x211360:0x347,_0x6450fc:0x132},_0x52dd6a={_0x590afd:0x599};function _0x151e6c(_0x5061a4,_0x3a49df,_0x269c34,_0x2cc6b1){return _0x2cc51b(_0x5061a4,_0x3a49df-0xae,_0x269c34-0x177,_0x2cc6b1- -_0x52dd6a._0x590afd);}const _0x431575=_0x30d0a6[_0x151e6c(-_0x3e3bfb._0x4ed955,0xc0,-0xbd,-0x28)](0x0,_0x1d9ed0)['split']('\x0a')[_0x50f138(_0x3e3bfb._0x5a172f,_0x3e3bfb._0x4a9b1b,0x172,0x1bf)];function _0x50f138(_0x3e1821,_0x18b01e,_0x52d64c,_0x33cdc2){return _0x38eb01(_0x18b01e,_0x3e1821-_0xe3700c._0x211360,_0x52d64c-0x42,_0x33cdc2-_0xe3700c._0x6450fc);}const _0x9f2dcb=countLines(_0x2fed18),_0x5d906c=countLines(_0x197440);return{'oldStartLine':_0x431575,'oldEndLine':_0x431575+_0x9f2dcb-0x1,'newStartLine':_0x431575,'newEndLine':_0x431575+_0x5d906c-0x1,'oldLineCount':_0x9f2dcb,'newLineCount':_0x5d906c};}function createFileEditTool(_0x43d3a2={}){const _0x4df1af={_0x216323:0x2a6,_0xb724e:0x163,_0x2857be:0x36a,_0x1be62b:0x4cf,_0x9c8065:0x5ae,_0x109678:0x754,_0x2b84cb:0x67b,_0x236146:0x651,_0x26d0a3:0x127,_0x29c919:0x211,_0x2110b7:0x5fe,_0x1b6e47:0x6aa,_0x331003:0x2a7,_0x1f3d51:0x462,_0x399f70:0x458,_0x2904c7:0x2bf,_0x3e8789:0x48a,_0x4e0916:0x5f9,_0x3f67de:0x39c,_0x115609:0x3dd,_0x498e98:0x47b,_0x2fdb4f:0x3d2,_0x40d6eb:0x4e6,_0x3c7f24:0x4d3,_0x4f2c4c:0x3ca,_0x5c9b0d:0x3e6,_0xdfa458:0x4f0,_0x170b2a:0x358,_0x4d3dcc:0x578},_0x15abfd={_0x5da13e:0xaf,_0x562348:0x18a,_0x6949b6:0x1a3,_0x314b44:0x67,_0x34914d:0x45,_0x265dc3:0x210,_0x3f9eac:0x7f,_0x5bed50:0x9b,_0x129f77:0x1b5,_0x4e210e:0x266,_0x3f4b3a:0x395,_0x7dc135:0x2a6,_0x57f515:0xed,_0x5ae988:0xa,_0x3a0a77:0x1af,_0x2dc57f:0xa1,_0x245e04:0x7d,_0x41527f:0x7f,_0x3855b6:0x37,_0x1ffada:0x68,_0x399c36:0x25,_0x3be558:0xd1,_0x3b5507:0x1d1,_0x1464fa:0x54,_0x1bb6e6:0x34,_0x1a150d:0x89,_0x5cac46:0xd7,_0x1bd035:0x103,_0x11fef7:0x19c,_0xcaa46f:0xf3,_0x3312cb:0x317,_0x183c55:0x25f,_0x375737:0x14c,_0x2c41ff:0x14b,_0xfcdaac:0x55,_0x407fcf:0x6f,_0x3afd6b:0x1a,_0x1c6dad:0x3c,_0x348d41:0x5,_0x5792d8:0x73,_0x4b200b:0xad,_0x48a484:0x30,_0x1fd3b0:0x256,_0x2665f9:0x235,_0xfd2830:0x1d4,_0x5aa4fa:0xf1},_0x2d6353={_0x534cc8:0x181,_0x4db591:0x638},_0x4b1c7c={_0x34b3e8:0x1d1,_0x2a8fc0:0x26},_0x392cec={_0xe76ab3:0x46f},_0x9579bb={_0x512886:0x186,_0x2d1d9f:0xb8};function _0x58ff6e(_0x370d19,_0x2560b5,_0x5d28d8,_0xa68895){return _0x38eb01(_0x370d19,_0xa68895-0x652,_0x5d28d8-_0x9579bb._0x512886,_0xa68895-_0x9579bb._0x2d1d9f);}const _0x1c4645=_0x1bf948['resolve'](_0x43d3a2[_0x210055(_0x4df1af._0x216323,_0x4df1af._0xb724e,_0x4df1af._0x2857be,0x25f)]??process[_0x58ff6e(0x4aa,0x436,_0x4df1af._0x1be62b,_0x4df1af._0x9c8065)]()),_0xb9be64=_0x43d3a2[_0x58ff6e(0x6eb,_0x4df1af._0x109678,_0x4df1af._0x2b84cb,_0x4df1af._0x236146)]??[];function _0x210055(_0x4fa898,_0x40067f,_0x5c0a1c,_0xce3333){return _0x38eb01(_0x40067f,_0xce3333-_0x392cec._0xe76ab3,_0x5c0a1c-0xcb,_0xce3333-0x131);}const _0x303cf3=_0x43d3a2[_0x210055(_0x4df1af._0x26d0a3,0x13a,0x18e,_0x4df1af._0x29c919)]??'FileEdit';return defineTool({'name':_0x303cf3,'permissionClass':_0x58ff6e(0x635,_0x4df1af._0x2110b7,0x653,_0x4df1af._0x1b6e47),'description':_0x210055(_0x4df1af._0x331003,0x336,0x2b5,0x381),'inputSchema':{'type':_0x210055(_0x4df1af._0x1f3d51,_0x4df1af._0x399f70,_0x4df1af._0x2904c7,0x3db),'properties':{'filePath':{'type':_0x210055(_0x4df1af._0x3e8789,_0x4df1af._0x4e0916,0x41c,0x4d3)},'description':{'type':_0x210055(_0x4df1af._0x3f67de,0x5f6,_0x4df1af._0x115609,0x4d3),'description':_0x210055(_0x4df1af._0x498e98,_0x4df1af._0x2fdb4f,0x424,0x454)},'oldText':{'type':_0x210055(0x404,_0x4df1af._0x40d6eb,0x3a1,_0x4df1af._0x3c7f24)},'newText':{'type':_0x210055(_0x4df1af._0x4f2c4c,_0x4df1af._0x5c9b0d,0x592,0x4d3)},'dryRun':{'type':'boolean'}},'required':['filePath',_0x210055(0x2bf,_0x4df1af._0xdfa458,0x3cb,0x432),_0x58ff6e(_0x4df1af._0x170b2a,_0x4df1af._0x4d3dcc,0x46a,0x428)]},async *'execute'(_0x1f2d99){const _0xf03c3a=resolveAllowedPath(_0x1c4645,_0xb9be64,_0x1f2d99['filePath']);function _0x1d08ce(_0x2e0f12,_0x38c945,_0x17cae2,_0x3d2b4f){return _0x58ff6e(_0x17cae2,_0x38c945-_0x4b1c7c._0x34b3e8,_0x17cae2-_0x4b1c7c._0x2a8fc0,_0x38c945- -0x64b);}await assertWorkspaceFile(_0xf03c3a);const _0x407f29=await _0x1c9c2b(_0xf03c3a),_0x3c5f6f=await _0x134ef0(_0xf03c3a),_0x258a02=detectEol(_0x3c5f6f);function _0x512147(_0x421be1,_0x54e3d2,_0xea9cb,_0x389c9c){return _0x58ff6e(_0x54e3d2,_0x54e3d2-_0x2d6353._0x534cc8,_0xea9cb-0xe7,_0x421be1- -_0x2d6353._0x4db591);}const _0x7e3bb7=normalizeToLf(_0x3c5f6f[_0x512147(-0xe1,-0x151,-_0x15abfd._0x5da13e,-_0x15abfd._0x562348)](_0x512147(-0x109,-_0x15abfd._0x6949b6,-0x177,-0x179))),_0x4f113f=normalizeToLf(_0x1f2d99[_0x1d08ce(_0x15abfd._0x314b44,-0x36,_0x15abfd._0x34914d,-0x56)]),_0x49f29f=normalizeToLf(_0x1f2d99[_0x512147(-_0x15abfd._0x265dc3,-0x11e,-0x2f5,-0x292)]),_0x39d89d=_0x7e3bb7['indexOf'](_0x4f113f);if(_0x39d89d===-0x1){const _0x283f74=_0x4f113f[_0x512147(_0x15abfd._0x3f9eac,-_0x15abfd._0x5bed50,0x1ca,_0x15abfd._0x129f77)](0x0,0x64)[_0x512147(-_0x15abfd._0x4e210e,-_0x15abfd._0x3f4b3a,-_0x15abfd._0x7dc135,-0x1d8)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x283f74+(_0x4f113f[_0x512147(-_0x15abfd._0x57f515,-0x119,-_0x15abfd._0x5ae988,-0xea)]>0x64?'...':'')+'\x22',{'filePath':_0x1f2d99[_0x1d08ce(-0x16a,-_0x15abfd._0x3a0a77,-0x2fb,-_0x15abfd._0x2dc57f)]});}const _0x312874=_0x7e3bb7[_0x512147(0x7f,0x9e,-_0x15abfd._0x245e04,0x105)](0x0,_0x39d89d)+_0x49f29f+_0x7e3bb7[_0x512147(_0x15abfd._0x41527f,0x90,0x18e,0x14)](_0x39d89d+_0x4f113f[_0x512147(-0xed,0x53,_0x15abfd._0x3855b6,-_0x15abfd._0x1ffada)]),_0x109cc2=convertEol(_0x312874,_0x258a02),_0x4ec193=Buffer[_0x1d08ce(_0x15abfd._0x399c36,-_0x15abfd._0x3be558,-_0x15abfd._0x3b5507,-0x166)](_0x109cc2,'utf8'),_0x3824e5=sha256(_0x3c5f6f),_0x568ff7=sha256(_0x4ec193),_0x5b9d76=_0x3824e5===_0x568ff7,_0xe2fd62=_0x1f2d99['dryRun']??![];return!_0xe2fd62&&!_0x5b9d76&&await atomicWrite(_0xf03c3a,_0x4ec193),yield createToolOutput(_0x5b9d76?_0x1d08ce(_0x15abfd._0x1464fa,-0xe3,-0xef,_0x15abfd._0x1bb6e6):_0xe2fd62?_0x1d08ce(0x19a,0x8d,_0x15abfd._0x1a150d,_0x15abfd._0x5cac46):_0x1d08ce(-0x9c,-0x67,0x9b,-_0x15abfd._0x1bd035),{'filePath':_0x1f2d99[_0x512147(-_0x15abfd._0x11fef7,-_0x15abfd._0xcaa46f,-_0x15abfd._0x3312cb,-0x123)],'resolvedPath':_0xf03c3a,'created':_0x407f29[_0x1d08ce(-0x30c,-_0x15abfd._0x183c55,-_0x15abfd._0x375737,-_0x15abfd._0x2c41ff)][_0x1d08ce(-_0x15abfd._0xfcdaac,-0x73,_0x15abfd._0x407fcf,-0x27)](),'modified':_0x407f29[_0x512147(-_0x15abfd._0x3afd6b,_0x15abfd._0x1c6dad,0x3,0x3e)][_0x1d08ce(_0x15abfd._0x348d41,-_0x15abfd._0x5792d8,_0x15abfd._0x4b200b,_0x15abfd._0x48a484)](),'size':_0x407f29[_0x1d08ce(0x4,-0xd7,0x1a,-0xf9)],'eol':_0x258a02,'oldTextLength':_0x4f113f['length'],'newTextLength':_0x49f29f[_0x512147(-0xed,-_0x15abfd._0x1fd3b0,0x56,-_0x15abfd._0x2665f9)],'bytesWritten':_0x5b9d76||_0xe2fd62?0x0:_0x4ec193[_0x512147(-0xed,-0x154,-_0x15abfd._0xfd2830,-_0x15abfd._0x5aa4fa)],'beforeSha':_0x3824e5,'afterSha':_0x568ff7,'dryRun':_0xe2fd62,'noChange':_0x5b9d76,'lineNumbers':calculateLineNumbers(_0x7e3bb7,_0x4f113f,_0x49f29f,_0x39d89d)}),void 0x0;}});}import{mkdir as _0x294ca6,rename as _0x138e5a,stat as _0x582b3a,writeFile as _0x248af7}from'fs/promises';import*as _0x379f68 from'path';async function atomicWrite2(_0x5206c5,_0x242c31){const _0xbd3f02={_0x2961dc:0x181,_0x48b853:0x13e,_0xce8f43:0x2e9,_0x2918de:0x503,_0x5d0655:0x4fd,_0x5a4935:0x1f9,_0x5d3d71:0x361,_0x21ed86:0x1f0,_0x750f1b:0x15e,_0x4276ff:0x10f,_0xf9d349:0x30a,_0x46ba0b:0x37d,_0xa39759:0x18b},_0x4f3248={_0x3c42f9:0xb5},_0x101919=_0x379f68[_0x3551ad(0x27c,0x287,_0xbd3f02._0x2961dc,_0xbd3f02._0x48b853)](_0x5206c5);await _0x294ca6(_0x101919,{'recursive':!![]});function _0x3551ad(_0x4597d6,_0x471911,_0x142aa4,_0x323bdf){return _0x38eb01(_0x323bdf,_0x4597d6-0x405,_0x142aa4-0x11d,_0x323bdf-0xc0);}function _0xbc68a7(_0x4ebc83,_0x7a1ce0,_0x4b478d,_0xa84f26){return _0x38eb01(_0x4ebc83,_0x4b478d-0x4c0,_0x4b478d-0xfe,_0xa84f26-_0x4f3248._0x3c42f9);}const _0x45d8c4=_0x379f68[_0xbc68a7(0x376,0x3fa,_0xbd3f02._0xce8f43,0x32f)](_0x101919,_0xbc68a7(_0xbd3f02._0x2918de,_0xbd3f02._0x5d0655,0x4d7,0x469)+_0x379f68['basename'](_0x5206c5)+'.'+Date[_0x3551ad(_0xbd3f02._0x5a4935,0x344,_0xbd3f02._0x5d3d71,0x2b7)]()+'.'+Math[_0x3551ad(_0xbd3f02._0x21ed86,_0xbd3f02._0x750f1b,_0xbd3f02._0x4276ff,0x27e)]()[_0x3551ad(_0xbd3f02._0xf9d349,0x465,_0xbd3f02._0x46ba0b,_0xbd3f02._0xa39759)](0x24)['slice'](0x2));await _0x248af7(_0x45d8c4,_0x242c31),await _0x138e5a(_0x45d8c4,_0x5206c5);}function createFileNewTool(_0x114bb3={}){const _0x4e30c1={_0x400b61:0x53,_0x10fb36:0xc3,_0x309506:0x88,_0x28e1aa:0x8a,_0x1edfdb:0x1c7,_0x54d0b6:0x1e4,_0xebe599:0x1aa,_0x56c7da:0x23e,_0x4ae57a:0x134,_0xf6d22f:0x2a,_0x168c7f:0x7d,_0x53f95e:0x110,_0x366658:0xc5,_0xddc9e9:0x3e3,_0x20885a:0x1d7,_0x3a8773:0x1b2,_0x4b312d:0x297,_0x23067e:0x3f6,_0x505ac1:0x278,_0x5e328c:0x3cd,_0x53c1fc:0x246},_0x32301f={_0x4a60a4:0x242,_0x268284:0x2cc,_0x242561:0x22,_0x5efb21:0x164,_0x284065:0x42,_0x260178:0x57b,_0x10ccb3:0x56f,_0x3be9cf:0x3f4,_0x47fd21:0x472,_0x4365b9:0x5cc,_0x20c17d:0xfc,_0x13dcc2:0x8b,_0xd70190:0x1fa,_0x5e6c22:0x141,_0x1999ce:0x8f,_0x47f8b6:0x186,_0xc6e27b:0x174,_0x1beedc:0x193,_0x4d7e16:0x17,_0x5cfbeb:0x624,_0x36d6b1:0x501,_0x3279d4:0x76d,_0x49a778:0x5b1},_0x550227={_0x117cc2:0x19,_0x347e19:0xdd},_0xe9d8ee={_0x530ab8:0x17a},_0x1da1ef={_0x2d8988:0x26b},_0xb55b29=_0x379f68[_0x311e7e(_0x4e30c1._0x400b61,-_0x4e30c1._0x10fb36,_0x4e30c1._0x309506,_0x4e30c1._0x28e1aa)](_0x114bb3['defaultCwd']??process[_0x311e7e(_0x4e30c1._0x1edfdb,_0x4e30c1._0x54d0b6,0x127,0x99)]()),_0x272cf2=_0x114bb3[_0x311e7e(0x26a,_0x4e30c1._0xebe599,0x1a3,_0x4e30c1._0x56c7da)]??[],_0x4ab577=_0x114bb3[_0xbf8327(_0x4e30c1._0x4ae57a,0x26d,_0x4e30c1._0xf6d22f,_0x4e30c1._0x168c7f)]??_0x311e7e(_0x4e30c1._0x53f95e,0x266,0xb6,_0x4e30c1._0x366658);function _0x311e7e(_0x38fe48,_0x314bd3,_0x583693,_0xa86e26){return _0x38eb01(_0x314bd3,_0x38fe48-_0x1da1ef._0x2d8988,_0x583693-0x13e,_0xa86e26-0x147);}function _0xbf8327(_0x58ba6b,_0x1001b5,_0x809c72,_0x36b38c){return _0x2cc51b(_0x1001b5,_0x1001b5-0x13b,_0x809c72-0x39,_0x58ba6b- -_0xe9d8ee._0x530ab8);}return defineTool({'name':_0x4ab577,'permissionClass':'write','description':_0x311e7e(0x25d,0x196,0x1bd,_0x4e30c1._0xddc9e9),'inputSchema':{'type':_0x311e7e(_0x4e30c1._0x20885a,_0x4e30c1._0x3a8773,_0x4e30c1._0x4b312d,0x64),'properties':{'filePath':{'type':'string'},'content':{'type':_0xbf8327(_0x4e30c1._0x23067e,0x38d,0x2aa,0x2d4)}},'required':['filePath',_0xbf8327(_0x4e30c1._0x505ac1,_0x4e30c1._0x5e328c,0x3c5,_0x4e30c1._0x53c1fc)]},async *'execute'(_0x931287){const _0x323e2b={_0x1dbf61:0x433,_0x337a50:0x3d,_0x1d3b28:0x116},_0x1d50c9=resolveAllowedPath(_0xb55b29,_0x272cf2,_0x931287[_0x46d423(-0x2d9,-0x129,-_0x32301f._0x4a60a4,-_0x32301f._0x268284)]);function _0x23e34e(_0x2f15ca,_0x53dc15,_0x4ee164,_0x292668){return _0x311e7e(_0x2f15ca-_0x323e2b._0x1dbf61,_0x53dc15,_0x4ee164-_0x323e2b._0x337a50,_0x292668-_0x323e2b._0x1d3b28);}const _0x2398b0=await _0x582b3a(_0x1d50c9)['then'](()=>!![])['catch'](()=>![]),_0x4a1ee0=Buffer[_0x46d423(-_0x32301f._0x242561,-0x26d,-_0x32301f._0x5efb21,-_0x32301f._0x284065)](_0x931287['content'],_0x23e34e(_0x32301f._0x260178,_0x32301f._0x10ccb3,0x5b5,_0x32301f._0x3be9cf));await atomicWrite2(_0x1d50c9,_0x4a1ee0);function _0x46d423(_0x2e252b,_0x14b17d,_0x2a6d0e,_0x466941){return _0x311e7e(_0x2a6d0e- -0x2f7,_0x466941,_0x2a6d0e-_0x550227._0x117cc2,_0x466941-_0x550227._0x347e19);}return yield createToolOutput(_0x23e34e(0x4dd,0x3fa,0x470,_0x32301f._0x47fd21)+_0x931287['filePath']+'.',{'filePath':_0x931287[_0x23e34e(0x4e8,0x622,_0x32301f._0x4365b9,0x4f5)],'resolvedPath':_0x1d50c9,'bytes':_0x4a1ee0[_0x46d423(-_0x32301f._0x20c17d,-_0x32301f._0x13dcc2,-0x193,-0xef)],'lines':_0x931287[_0x46d423(-_0x32301f._0xd70190,-_0x32301f._0x5e6c22,-0x1a6,-0x2c2)][_0x46d423(-0x43,0x1d,-0x7f,_0x32301f._0x1999ce)](/\r?\n/)[_0x46d423(-_0x32301f._0x47f8b6,-_0x32301f._0xc6e27b,-_0x32301f._0x1beedc,-_0x32301f._0x4d7e16)],'created':new Date()[_0x23e34e(_0x32301f._0x5cfbeb,_0x32301f._0x36d6b1,_0x32301f._0x3279d4,_0x32301f._0x49a778)](),'overwritten':_0x2398b0}),void 0x0;}});}import{readFile as _0x119f1d,stat as _0x5d2be0}from'fs/promises';import*as _0x44be22 from'path';function stripUtfBom(_0x313089){const _0x32a91a={_0x2abc47:0x559,_0x2b2a2c:0x549,_0x14edd6:0x580},_0x4a13b4={_0x34ab19:0xa5,_0x58f39d:0x1be,_0xf4ca5e:0x195};function _0x18d65f(_0x1d8707,_0x44eb52,_0x14ff5e,_0x1dc29a){return _0x2cc51b(_0x44eb52,_0x44eb52-_0x4a13b4._0x34ab19,_0x14ff5e-_0x4a13b4._0x58f39d,_0x14ff5e-_0x4a13b4._0xf4ca5e);}return _0x313089[_0x18d65f(_0x32a91a._0x2abc47,0x694,_0x32a91a._0x2b2a2c,_0x32a91a._0x14edd6)](0x0)===0xfeff?_0x313089['slice'](0x1):_0x313089;}function clampLine(_0x5d0d80,_0xd54470){const _0x2f6775={_0x5dce19:0x277,_0x44f0d9:0x244,_0x1d7c80:0x1c2,_0x3fa877:0x361,_0x2952b9:0x1c5},_0x28cdc9={_0x432df7:0x2a2,_0x57dafc:0x4a};if(!Number[_0x55aac6(_0x2f6775._0x5dce19,_0x2f6775._0x44f0d9,_0x2f6775._0x1d7c80,0x145)](_0x5d0d80))return 0x1;function _0x4f5ed9(_0xbab8aa,_0x1b02e3,_0x470bb5,_0x44a4ad){return _0x2cc51b(_0x470bb5,_0x1b02e3-0x6e,_0x470bb5-0x10d,_0x1b02e3- -0x5ae);}function _0x55aac6(_0x26e608,_0x280bdc,_0xaab4b9,_0x533795){return _0x38eb01(_0x533795,_0xaab4b9-_0x28cdc9._0x432df7,_0xaab4b9-_0x28cdc9._0x57dafc,_0x533795-0xdf);}return Math[_0x55aac6(0x210,_0x2f6775._0x3fa877,0x289,0x37b)](0x1,Math[_0x4f5ed9(-_0x2f6775._0x2952b9,-0x27d,-0x259,-0x18b)](Math[_0x55aac6(0x28e,0x1d0,0x108,-0x2)](_0x5d0d80),_0xd54470));}function createFileReadTool(_0x2b7f98={}){const _0x59d4e9={_0x51dda5:0xd0,_0x3efec3:0x218,_0x350a15:0x332,_0x3f9da7:0x394,_0x5aa4d2:0x210,_0x514a51:0x2f2,_0x23b55d:0x25e,_0x20b573:0x184,_0x5e6f84:0x73,_0x1d020c:0xee,_0x3b6947:0x4a,_0x5e9e0e:0x240,_0xdaaf4:0xd1,_0x41508f:0x94,_0x4886bd:0xa7,_0x50f140:0xa9,_0x705f5:0x11c,_0x49fd7a:0x72,_0x30982c:0x1a1,_0x9831ee:0x1b9,_0x4c104c:0x8b,_0x344b5f:0x163,_0xa6d98a:0x10f,_0x22b258:0x2fb,_0x5e6534:0xd6},_0xb4b2e7={_0x55d983:0x421,_0x26eb22:0x458,_0x2e96b6:0x4a4,_0x43579b:0x2da,_0x41f8dc:0x223,_0x3e7951:0x2f4,_0x5c33a8:0x34d,_0x44f44e:0x396,_0x51939e:0x4c4,_0x463d74:0x45e,_0x4f6cc6:0x3ff,_0x566d31:0x4c6,_0x4f1d62:0x475,_0x3d13c2:0x3c9,_0x36267c:0x4af,_0xbe2a17:0x497,_0x35c09d:0x34d,_0x99315:0x37a,_0x287bef:0x2d0,_0x5d67ae:0x1,_0x54bea2:0x17f,_0x22eeed:0x159,_0x433123:0x1fb,_0x12e614:0x3a8,_0x7a8d0c:0x401,_0x5eed01:0x362,_0x3a129b:0x307,_0x20b5fa:0x3fc,_0x42ea37:0x294,_0x297ad3:0x228,_0xb1e010:0x1b3,_0x3b989e:0x48c,_0x5a2fc1:0x23d,_0xff22ee:0x400,_0x291502:0x4de,_0x3d10e3:0x447,_0x986eb2:0x391,_0x2f8ae9:0x3d4,_0x218411:0x4dc,_0x6b8eda:0x389,_0x2b4af4:0x32c,_0x2c61f7:0x4b4,_0x4c2708:0x32e,_0x38415a:0x2de,_0x541a9c:0x3d4,_0x10b4ce:0x2a8,_0x54806a:0x280,_0x474ad3:0x3f2,_0x5a4dfd:0x248,_0xf9e929:0x51e,_0x47e0a3:0x4f5,_0x5949fe:0x466,_0x5acf73:0x5a9,_0x45c892:0x215,_0x697276:0xed,_0x10a2a2:0x386,_0x3b941c:0x1e8},_0x47e6ef={_0x2d28f2:0x3ec},_0x502f0e={_0x397e95:0x0,_0x1d078a:0x189};function _0x5d7577(_0x1e99ff,_0x40aabe,_0x337146,_0x8b7f93){return _0x38eb01(_0x1e99ff,_0x40aabe-_0x502f0e._0x397e95,_0x337146-0xe2,_0x8b7f93-_0x502f0e._0x1d078a);}function _0x38284b(_0x407c13,_0x8fc002,_0x3ed665,_0xf6e56e){return _0x38eb01(_0x407c13,_0x8fc002- -0x7,_0x3ed665-0x11b,_0xf6e56e-0x3f);}const _0x11d370=_0x44be22[_0x5d7577(-_0x59d4e9._0x51dda5,-_0x59d4e9._0x3efec3,-_0x59d4e9._0x350a15,-0x37d)](_0x2b7f98[_0x5d7577(-_0x59d4e9._0x3f9da7,-_0x59d4e9._0x5aa4d2,-0x2ab,-0x253)]??process['cwd']()),_0x22001f=_0x2b7f98['allowedDirs']??[],_0x2fa5f7=_0x2b7f98[_0x5d7577(-_0x59d4e9._0x514a51,-_0x59d4e9._0x23b55d,-_0x59d4e9._0x20b573,-0x107)]??'FileRead';return defineTool({'name':_0x2fa5f7,'permissionClass':_0x38284b(_0x59d4e9._0x5e6f84,-_0x59d4e9._0x1d020c,_0x59d4e9._0x3b6947,-_0x59d4e9._0x5e9e0e),'description':'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).','inputSchema':{'type':_0x5d7577(_0x59d4e9._0xdaaf4,-_0x59d4e9._0x41508f,-0xc6,_0x59d4e9._0x4886bd),'properties':{'path':{'type':_0x5d7577(-_0x59d4e9._0x50f140,0x64,-_0x59d4e9._0x705f5,0x1b1)},'lineStart':{'type':_0x5d7577(-0x41,-_0x59d4e9._0x49fd7a,0x7,-_0x59d4e9._0x30982c),'description':_0x38284b(-0xd7,-_0x59d4e9._0x9831ee,-_0x59d4e9._0x4c104c,-_0x59d4e9._0x344b5f)},'lineEnd':{'type':_0x38284b(-_0x59d4e9._0xa6d98a,-0x79,0x5f,-0x198),'description':_0x5d7577(-0x241,-0x1cd,-0x11c,-_0x59d4e9._0x22b258)}},'required':[_0x5d7577(-0x1ae,-0x98,-0x112,-_0x59d4e9._0x5e6534)]},async *'execute'(_0xd28bfd){const _0x24ffad={_0xc0c40e:0x85},_0x5f43c8=resolveAllowedPath(_0x11d370,_0x22001f,_0xd28bfd[_0x5a0f8b(_0xb4b2e7._0x55d983,_0xb4b2e7._0x26eb22,_0xb4b2e7._0x2e96b6,0x438)]);await assertWorkspaceFile(_0x5f43c8);const _0x351be4=await _0x5d2be0(_0x5f43c8),_0x5233e6=await _0x119f1d(_0x5f43c8);if(isProbablyBinary(_0x5233e6))throw new ToolExecutionError(_0x5a0f8b(0x313,_0xb4b2e7._0x43579b,_0xb4b2e7._0x41f8dc,0x323)+_0xd28bfd[_0x1f5599(_0xb4b2e7._0x3e7951,_0xb4b2e7._0x5c33a8,0x44e,0x3af)],{'path':_0xd28bfd['path']});function _0x5a0f8b(_0x32d1f9,_0x191efb,_0x10fe62,_0x389780){return _0x38284b(_0x389780,_0x32d1f9-0x4c0,_0x10fe62-_0x24ffad._0xc0c40e,_0x389780-0x115);}let _0x179a38=_0x5233e6['toString'](_0x5a0f8b(_0xb4b2e7._0x44f44e,_0xb4b2e7._0x51939e,_0xb4b2e7._0x463d74,0x3ee));const _0x5ac900=_0x179a38[_0x5a0f8b(0x361,_0xb4b2e7._0x4f6cc6,0x48b,0x41e)](0x0)===0xfeff;function _0x1f5599(_0x20c4a3,_0x3faef3,_0x9b6606,_0x413831){return _0x38284b(_0x20c4a3,_0x3faef3-_0x47e6ef._0x2d28f2,_0x9b6606-0xd8,_0x413831-0x11c);}_0x179a38=stripUtfBom(_0x179a38);const _0x55f259=_0x179a38[_0x5a0f8b(_0xb4b2e7._0x566d31,_0xb4b2e7._0x4f1d62,_0xb4b2e7._0x3d13c2,_0xb4b2e7._0x36267c)](/\r?\n/),_0x25bf83={'path':_0xd28bfd[_0x1f5599(_0xb4b2e7._0xbe2a17,_0xb4b2e7._0x35c09d,_0xb4b2e7._0x99315,_0xb4b2e7._0x287bef)],'resolvedPath':_0x5f43c8,'created':_0x351be4[_0x1f5599(-_0xb4b2e7._0x5d67ae,_0xb4b2e7._0x54bea2,_0xb4b2e7._0x22eeed,_0xb4b2e7._0x433123)]['toISOString'](),'modified':_0x351be4[_0x1f5599(0x233,0x3b1,_0xb4b2e7._0x12e614,0x3fe)][_0x5a0f8b(0x43f,0x51c,_0xb4b2e7._0x7a8d0c,_0xb4b2e7._0x5eed01)](),'size':_0x351be4[_0x1f5599(0x3b9,_0xb4b2e7._0x3a129b,0x18a,_0xb4b2e7._0x20b5fa)],'encoding':_0x1f5599(_0xb4b2e7._0x42ea37,0x2c2,_0xb4b2e7._0x297ad3,_0xb4b2e7._0xb1e010),'bomStripped':_0x5ac900,'truncated':![],'totalLines':_0x55f259[_0x5a0f8b(0x3b2,_0xb4b2e7._0x3b989e,0x3db,_0xb4b2e7._0x5a2fc1)]};if(_0xd28bfd[_0x5a0f8b(_0xb4b2e7._0xff22ee,0x310,_0xb4b2e7._0x291502,_0xb4b2e7._0x3d10e3)]!==void 0x0||_0xd28bfd[_0x1f5599(_0xb4b2e7._0x986eb2,_0xb4b2e7._0x2f8ae9,_0xb4b2e7._0x218411,_0xb4b2e7._0x6b8eda)]!==void 0x0){const _0x103951=clampLine(_0xd28bfd[_0x1f5599(0x2fd,_0xb4b2e7._0x2b4af4,0x209,_0xb4b2e7._0x2c61f7)]??0x1,_0x55f259[_0x1f5599(_0xb4b2e7._0x4c2708,_0xb4b2e7._0x38415a,0x2f7,0x1c2)]),_0x559826=clampLine(_0xd28bfd[_0x1f5599(0x419,_0xb4b2e7._0x541a9c,0x412,0x46a)]??_0x55f259['length'],_0x55f259[_0x1f5599(_0xb4b2e7._0x10b4ce,0x2de,0x260,_0xb4b2e7._0x54806a)]),_0x2c65a4=Math[_0x5a0f8b(0x2de,0x341,_0xb4b2e7._0x474ad3,0x2cb)](_0x103951,_0x559826),_0x26b7ad=Math[_0x1f5599(0x263,0x3cc,_0xb4b2e7._0x5a4dfd,0x522)](_0x103951,_0x559826),_0x16a7cf=_0x55f259[_0x5a0f8b(_0xb4b2e7._0xf9e929,_0xb4b2e7._0x47e0a3,0x413,0x473)](_0x2c65a4-0x1,_0x26b7ad)[_0x5a0f8b(_0xb4b2e7._0x5949fe,0x3d3,0x33c,_0xb4b2e7._0x5acf73)]((_0x5e180f,_0x32d8b7)=>_0x2c65a4+_0x32d8b7+'|'+_0x5e180f)[_0x1f5599(0x188,0x20e,_0xb4b2e7._0x45c892,_0xb4b2e7._0x697276)]('\x0a');return yield createToolOutput(_0x16a7cf,{..._0x25bf83,'lineRange':{'lineStart':_0x2c65a4,'lineEnd':_0x26b7ad,'linesTotal':_0x55f259[_0x1f5599(_0xb4b2e7._0x10a2a2,0x2de,0x35f,_0xb4b2e7._0x3b941c)]}}),void 0x0;}return yield createToolOutput(_0x179a38,_0x25bf83),void 0x0;}});}import{stat as _0x437a30}from'fs/promises';import*as _0x4567bd from'path';import{execSync,spawn as _0x50af7c}from'child_process';import{existsSync}from'fs';import{stat as _0x53cbd0}from'fs/promises';import*as _0x343a7b from'os';import*as _0xf6daf1 from'path';import{rgPath as _0x346aba}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x63c37e={_0x35894e:0x57e,_0x538190:0x519,_0x18c7c0:0x51d,_0x11605b:0x615,_0x452263:0x5ac,_0x250f77:0x6f0,_0x5a6600:0x532,_0x49de3c:0x440,_0x3e51f5:0x432,_0x1524bc:0x403,_0x4388e8:0x483,_0x24582f:0x530,_0x557b5f:0x5c4,_0xf171b0:0x603,_0x1bb6dc:0x4e6,_0x4c5897:0x288,_0x32d94b:0x3ee,_0x27d48b:0x4e5,_0x31e2f2:0x4e8,_0x4562a0:0x507,_0x3b3a7b:0x464,_0x2a66a7:0x467,_0x5c5f64:0x437,_0x50afcd:0x483,_0x52098c:0x622,_0x4e86b0:0x603,_0x1916d8:0x519,_0x2f9523:0x690,_0x13ab7e:0x335,_0x2324b8:0x54d,_0x55248f:0x52f,_0x45a2d8:0x5ef,_0x56d442:0x5e9,_0xe2770:0x517,_0xd3f110:0x316,_0x231d46:0x4ac,_0xb00d75:0x589,_0x2cefdb:0x450,_0x25ae60:0x3e9,_0x6789a4:0x47e,_0x197036:0x4aa,_0x1258da:0x550,_0x46b1cf:0x6ab,_0x4fc9f2:0x6cb,_0x111396:0x59d,_0x581178:0x6ff,_0x5833e1:0x65f,_0x362162:0x779,_0x23d494:0x7ed,_0x2b7c47:0x6c1,_0x2ae84c:0x5f3,_0x534431:0x5a6,_0x4d0428:0x642,_0x49bd5a:0x661},_0xd51700={_0x11a529:0xb4,_0x18b287:0x1c4,_0x108835:0x144},_0x17bd7c={_0x4baf90:0x65a,_0x512f67:0x1f2},_0xefa188=_0x343a7b[_0x33301a(0x61b,0x445,_0x63c37e._0x35894e,_0x63c37e._0x538190)]()===_0x33301a(0x48e,0x5ef,0x5e1,_0x63c37e._0x18c7c0),_0x20440c=_0xefa188?[_0xf6daf1[_0x54a4ee(0x483,0x550,0x380,0x53d)](process['env'][_0x54a4ee(_0x63c37e._0x11605b,0x5cf,_0x63c37e._0x452263,_0x63c37e._0x250f77)]||'',_0x54a4ee(0x6a8,0x52d,_0x63c37e._0x5a6600,0x56b),_0x54a4ee(0x43d,_0x63c37e._0x49de3c,_0x63c37e._0x3e51f5,0x2f0),_0x33301a(0x44b,0x527,_0x63c37e._0x1524bc,0x3c9)),_0xf6daf1[_0x54a4ee(_0x63c37e._0x4388e8,_0x63c37e._0x24582f,_0x63c37e._0x557b5f,0x518)](process[_0x33301a(0x61e,0x593,_0x63c37e._0xf171b0,_0x63c37e._0x1bb6dc)][_0x33301a(0x3b1,_0x63c37e._0x4c5897,_0x63c37e._0x32d94b,_0x63c37e._0x27d48b)]||'',_0x54a4ee(0x467,_0x63c37e._0x31e2f2,_0x63c37e._0x4562a0,_0x63c37e._0x3b3a7b),_0x54a4ee(0x539,_0x63c37e._0x2a66a7,0x62c,_0x63c37e._0x5c5f64)),_0xf6daf1[_0x54a4ee(_0x63c37e._0x50afcd,0x52f,0x3f1,0x46d)](process[_0x33301a(0x53d,_0x63c37e._0x52098c,_0x63c37e._0x4e86b0,0x4e7)][_0x54a4ee(_0x63c37e._0x1916d8,0x5df,_0x63c37e._0x2f9523,0x3c4)]||'',_0x33301a(0x542,0x2eb,0x45d,_0x63c37e._0x13ab7e),_0x33301a(0x52d,_0x63c37e._0x2324b8,_0x63c37e._0x55248f,0x6a7))]:[_0x33301a(0x6f4,_0x63c37e._0x45a2d8,_0x63c37e._0x56d442,0x46b),_0x54a4ee(0x3f0,_0x63c37e._0xe2770,0x472,_0x63c37e._0xd3f110),_0x33301a(_0x63c37e._0x231d46,_0x63c37e._0xb00d75,_0x63c37e._0x31e2f2,_0x63c37e._0x2cefdb),_0x33301a(0x483,_0x63c37e._0x25ae60,_0x63c37e._0x6789a4,0x308)];for(const _0x40309f of _0x20440c){if(existsSync(_0x40309f))return _0x40309f;}function _0x54a4ee(_0x2fad77,_0x456858,_0x308f8f,_0x17e8ef){return _0x38eb01(_0x456858,_0x2fad77-_0x17bd7c._0x4baf90,_0x308f8f-0x14a,_0x17e8ef-_0x17bd7c._0x512f67);}function _0x33301a(_0x418a9c,_0x497225,_0x2cc92c,_0x4c7b02){return _0x2cc51b(_0x497225,_0x497225-_0xd51700._0x11a529,_0x2cc92c-_0xd51700._0x18b287,_0x2cc92c-_0xd51700._0x108835);}try{const _0x59c5a0=_0xefa188?_0x33301a(_0x63c37e._0x197036,0x568,_0x63c37e._0x1258da,_0x63c37e._0x46b1cf):'which\x20rg',_0x30e146=execSync(_0x59c5a0,{'encoding':'utf8','stdio':[_0x54a4ee(_0x63c37e._0x4fc9f2,_0x63c37e._0x111396,_0x63c37e._0x581178,_0x63c37e._0x5833e1),_0x33301a(_0x63c37e._0x362162,_0x63c37e._0x23d494,_0x63c37e._0x2b7c47,0x63b),_0x33301a(_0x63c37e._0x2ae84c,_0x63c37e._0x534431,0x5a7,_0x63c37e._0x4d0428)]})[_0x33301a(0x72d,0x58b,_0x63c37e._0x49bd5a,0x731)]()['split'](/\r?\n/)[0x0];if(_0x30e146&&existsSync(_0x30e146))return _0x30e146;}catch{return null;}return null;}async function filepath(){const _0x4c1fe1={_0x4cedb2:0x260,_0x433508:0x3bd},_0x2fb178={_0xe9e250:0x1a7,_0x3bf9f5:0x97};if(cachedRgPath)return cachedRgPath;function _0x2bb278(_0x1af1e5,_0x3f6893,_0x20a2e5,_0x423a9b){return _0x2cc51b(_0x423a9b,_0x3f6893-0x64,_0x20a2e5-_0x2fb178._0xe9e250,_0x20a2e5- -_0x2fb178._0x3bf9f5);}if(_0x346aba&&existsSync(_0x346aba))return cachedRgPath=_0x346aba,_0x346aba;const _0x1cc9f7=findSystemRipgrep();if(!_0x1cc9f7)throw new Error(_0x2bb278(0x455,_0x4c1fe1._0x4cedb2,_0x4c1fe1._0x433508,0x465));return cachedRgPath=_0x1cc9f7,_0x1cc9f7;}async function*files(_0x2d5caa){const _0x5d525a={_0x4f98ae:0x50b,_0x313ede:0x611,_0x3f9ced:0x4c8,_0x34e271:0x4b6,_0x3db7f4:0x550,_0x3fdf20:0x673,_0x3aca32:0x6c2,_0x4acc76:0x480,_0x22fc56:0x76a,_0x42dff9:0x62f,_0x81a6c5:0x567,_0x2e7889:0x493,_0xa424ca:0x4fc,_0x2eec7d:0x4ba,_0x2aa738:0x505,_0x505a99:0x5be,_0x49ac38:0x69f,_0x104747:0x5ac,_0xdda0f2:0x48b,_0x1b98a0:0x503,_0x3d799b:0x690,_0x19e5ae:0x691,_0x1b407d:0x4a7,_0x5b1001:0x672,_0x259670:0x68d,_0x13941b:0x7dc},_0x58bcbf={_0x5c0b22:0xc0},_0x39521f={_0x3c941d:0x206},_0x393586=await filepath(),_0xc851da=await _0x53cbd0(_0x2d5caa[_0x2441b7(_0x5d525a._0x4f98ae,0x66e,0x56c,0x51b)])['catch'](()=>null);function _0x2441b7(_0x2cc333,_0x2ac98b,_0xcacc5e,_0x3da6fc){return _0x2cc51b(_0x3da6fc,_0x2ac98b-0x75,_0xcacc5e-0x11c,_0x2ac98b-_0x39521f._0x3c941d);}if(!_0xc851da?.['isDirectory']())throw Object['assign'](new Error(_0x411ee9(_0x5d525a._0x313ede,_0x5d525a._0x3f9ced,_0x5d525a._0x34e271,0x513)+_0x2d5caa['cwd']+'\x27'),{'code':_0x411ee9(0x68f,_0x5d525a._0x3db7f4,0x6a4,0x5de)});const _0x4d2a3a=[_0x2441b7(0x52a,_0x5d525a._0x3fdf20,0x51b,_0x5d525a._0x3aca32),'--follow',_0x411ee9(0x5d6,0x39f,0x46e,_0x5d525a._0x4acc76),'--glob=!.git/*'];for(const _0x89834d of _0x2d5caa[_0x2441b7(_0x5d525a._0x22fc56,_0x5d525a._0x42dff9,0x595,0x520)]??[]){_0x4d2a3a[_0x411ee9(0x68c,_0x5d525a._0x81a6c5,0x5d5,_0x5d525a._0x2e7889)](_0x2441b7(_0x5d525a._0xa424ca,_0x5d525a._0x2eec7d,0x509,_0x5d525a._0x2aa738)+_0x89834d);}function _0x411ee9(_0x51ad6e,_0x3681de,_0xcc4b9f,_0x19b1cb){return _0x38eb01(_0x3681de,_0xcc4b9f-0x67c,_0xcc4b9f-_0x58bcbf._0x5c0b22,_0x19b1cb-0x11);}const _0xe5aaf9=_0x50af7c(_0x393586,_0x4d2a3a,{'cwd':_0x2d5caa['cwd'],'stdio':[_0x2441b7(0x757,0x669,0x613,_0x5d525a._0x505a99),_0x2441b7(0x672,0x783,_0x5d525a._0x49ac38,0x7e6),'pipe']});let _0x2b8118='';for await(const _0x1b994f of _0xe5aaf9[_0x2441b7(0x68e,_0x5d525a._0x104747,_0x5d525a._0xdda0f2,_0x5d525a._0x1b98a0)]??[]){_0x2b8118+=_0x1b994f['toString']();const _0x7f9254=_0x2b8118[_0x2441b7(0x7dc,0x71f,0x62c,0x5d1)](/\r?\n/);_0x2b8118=_0x7f9254[_0x2441b7(0x6e2,0x5c5,0x508,_0x5d525a._0x3d799b)]()??'';for(const _0x11dfe3 of _0x7f9254){if(_0x11dfe3['length']>0x0)yield _0x11dfe3;}}_0x2b8118['trim']()[_0x2441b7(_0x5d525a._0x19e5ae,0x60b,0x5bd,_0x5d525a._0x1b407d)]>0x0&&(yield _0x2b8118[_0x411ee9(0x656,_0x5d525a._0x5b1001,_0x5d525a._0x259670,_0x5d525a._0x13941b)]());}function parseMatchLine(_0x303114,_0xddfde8){const _0x182fb7={_0x3ccab4:0x210,_0xf0ea8b:0x2f2,_0x49718a:0x214,_0x326eaa:0x101,_0x5cc990:0x269,_0x2c48af:0xde,_0x358b66:0x250,_0x14ca2e:0x1ec,_0x44c4fd:0x188,_0x5a8a3f:0x53,_0x142625:0x18,_0x2c7234:0x1c0,_0x512a90:0x18d,_0x507f45:0x1c0,_0x20f083:0xcf,_0x385ee7:0x86,_0x466ee3:0x359,_0x53e24f:0x2bd,_0x5e70f7:0x66,_0x111ec8:0x90,_0x22d983:0x11d},_0x3ec59c={_0x272f22:0x77},_0x2eb757={_0x3b097b:0x123,_0x185fc2:0xb8};if(!_0x303114||_0x303114==='--')return null;const _0x43be39=_0x303114['split']('|');function _0x150e53(_0x41e051,_0x1899c4,_0x2c55ed,_0x34062f){return _0x38eb01(_0x2c55ed,_0x1899c4-_0x2eb757._0x3b097b,_0x2c55ed-0x147,_0x34062f-_0x2eb757._0x185fc2);}if(_0xddfde8&&_0x43be39[_0x150e53(0xbd,0x1c,0x191,0x5d)]>=0x4&&Number[_0x331c12(_0x182fb7._0x3ccab4,_0x182fb7._0xf0ea8b,_0x182fb7._0x49718a,_0x182fb7._0x326eaa)](Number[_0x331c12(0x132,0x197,0x219,_0x182fb7._0x5cc990)](_0x43be39[0x2]??'',0xa))){const _0x103bc5=Number[_0x331c12(0x1f1,_0x182fb7._0x2c48af,0x219,_0x182fb7._0x358b66)](_0x43be39[0x1]??'',0xa);if(!Number['isFinite'](_0x103bc5)||!_0x43be39[0x0])return null;return{'filePath':_0x43be39[0x0],'lineNum':_0x103bc5,'lineText':_0x43be39[_0x150e53(_0x182fb7._0x14ca2e,_0x182fb7._0x44c4fd,_0x182fb7._0x5a8a3f,_0x182fb7._0x142625)](0x3)[_0x150e53(-_0x182fb7._0x2c7234,-0xb4,-0x168,-_0x182fb7._0x512a90)]('|')};}function _0x331c12(_0x400fc9,_0x53ffa4,_0x185251,_0x1c4d64){return _0x38eb01(_0x1c4d64,_0x185251-0x2f4,_0x185251-0x8c,_0x1c4d64-_0x3ec59c._0x272f22);}if(_0x43be39[_0x331c12(0x296,_0x182fb7._0x507f45,0x1ed,0xb7)]>=0x3){const _0x3eebaa=Number['parseInt'](_0x43be39[0x1]??'',0xa);if(!Number[_0x150e53(-_0x182fb7._0x20f083,0x43,-_0x182fb7._0x385ee7,0x139)](_0x3eebaa)||!_0x43be39[0x0])return null;return{'filePath':_0x43be39[0x0],'lineNum':_0x3eebaa,'lineText':_0x43be39[_0x331c12(0x2d7,0x2b3,_0x182fb7._0x466ee3,_0x182fb7._0x53e24f)](0x2)[_0x331c12(-_0x182fb7._0x5e70f7,_0x182fb7._0x111ec8,_0x182fb7._0x22d983,0x16d)]('|'),..._0xddfde8?{'isContext':!![]}:{}};}return null;}async function search(_0x2809d2){const _0x42864b={_0x4f1e2a:0x177,_0x34b83:0x247,_0x52353b:0x1ac,_0x21a9fe:0x22b,_0x3c01e7:0x299,_0x121a67:0x1f8,_0x2b3f02:0x273,_0x3f50cd:0xca,_0x1f413f:0x9f,_0x4fdc24:0x121,_0x1514a8:0xc6,_0x39914a:0x3b,_0xee3065:0x137,_0x2a8a7b:0x132,_0x401a7e:0xcf,_0x4ad7dc:0xa6,_0x4b9aba:0x9d,_0x339f21:0x72,_0x26ce26:0x69,_0x21aa9b:0x52,_0x442fdd:0x5c,_0x1a184b:0x40,_0x56957b:0x1e6,_0xea3f2f:0x111,_0x3e90ff:0x22a,_0x2d747a:0x18c,_0x18ba35:0x19c,_0x2592ca:0x78,_0x5504d3:0x13a,_0x251af4:0x12f,_0x45f493:0x28d,_0x2f7ad5:0xd4,_0x352c29:0x74,_0x5f43da:0xd6,_0x406757:0xba,_0x391130:0x177,_0x12b2d9:0x26c,_0x5aea54:0x277,_0x9fff91:0x240,_0x10a8c2:0x304,_0x21e158:0x207,_0xbe4bf7:0x26b,_0x2997d3:0xf3,_0x346583:0x52,_0xf7a167:0x14b,_0x58b2d1:0xe2,_0x509285:0x19a,_0x48cc27:0xad,_0x93d0a5:0x55,_0x57c67b:0x14d},_0x5d93bd={_0x1efdfb:0xf1,_0x3acb78:0x1e3,_0x4f360e:0x246,_0x13d57a:0x134,_0x26d6a1:0xf6,_0x163354:0x104,_0x12b49d:0x12b,_0x37dc8e:0x56c,_0x5a1f5d:0x694,_0x425975:0x2b0,_0x42ba32:0x308,_0x58889d:0x2c7,_0x5c3653:0x34f,_0x1350e7:0x47f,_0x473be6:0x307,_0x25bb62:0x10,_0x3b143a:0x355,_0x387a38:0x425,_0x2dff9a:0x2f2,_0x109e00:0x221},_0x427c9c={_0x9c1afa:0x6e,_0x1ba3b9:0x155,_0x2818b8:0x3,_0x14b810:0x22,_0x146f8a:0x37,_0x2b9591:0x1c2,_0x57cd9e:0x127,_0x1a1d4e:0xa1,_0x2d4975:0x174},_0x44d5fd={_0x53201b:0xfd,_0x2574e3:0x34f,_0x24fd05:0xe4},_0x4e85b6={_0x150b4b:0x413},_0x2da98b=await filepath();if(_0x2809d2[_0x314026(0xa,_0x42864b._0x4f1e2a,_0x42864b._0x34b83,0xd7)]){const _0x144e6a=await _0x53cbd0(_0x2809d2['file'])[_0x314026(0x35,_0x42864b._0x52353b,_0x42864b._0x21a9fe,_0x42864b._0x3c01e7)](()=>null);if(!_0x144e6a?.[_0x314026(_0x42864b._0x121a67,0x185,_0x42864b._0x2b3f02,_0x42864b._0x3f50cd)]())throw Object[_0x538ffa(-_0x42864b._0x1f413f,-0xcb,-0x13d,-0x15f)](new Error(_0x538ffa(-0xd2,0x35,-0x1fc,-0xdc)+_0x2809d2['file']+'\x27'),{'code':_0x538ffa(_0x42864b._0x4fdc24,_0x42864b._0x1514a8,0xb5,-_0x42864b._0x39914a)});}else{const _0x52b28d=await _0x53cbd0(_0x2809d2[_0x314026(_0x42864b._0xee3065,_0x42864b._0x2a8a7b,0x1b,0x33)])[_0x538ffa(_0x42864b._0x401a7e,0xf7,0x1bb,_0x42864b._0x4ad7dc)](()=>null);if(!_0x52b28d?.['isDirectory']())throw Object['assign'](new Error(_0x538ffa(-0xcd,-0x19c,_0x42864b._0x4b9aba,0x7b)+_0x2809d2[_0x538ffa(0x55,-0xc0,-_0x42864b._0x339f21,-0x4f)]+'\x27'),{'code':'ENOENT'});}function _0x538ffa(_0x47295a,_0x5df111,_0x357302,_0x1db1ad){return _0x2cc51b(_0x5df111,_0x5df111-0x141,_0x357302-0x169,_0x47295a- -_0x4e85b6._0x150b4b);}function _0x314026(_0xccf1a2,_0x4a188f,_0x5d66b5,_0x54d2ef){return _0x38eb01(_0x54d2ef,_0x4a188f-0x1d6,_0x5d66b5-0x27,_0x54d2ef-0x1cd);}const _0x8eacea=[_0x314026(0x19a,_0x42864b._0x26ce26,0x2d,_0x42864b._0x21aa9b),_0x538ffa(_0x42864b._0x442fdd,-_0x42864b._0x1a184b,0x174,_0x42864b._0x56957b),_0x314026(_0x42864b._0xea3f2f,_0x42864b._0x3e90ff,0x20f,0xa6),'--regexp',_0x2809d2['pattern']],_0x3cd0af=typeof _0x2809d2[_0x314026(0x142,0x155,0x27,_0x42864b._0x2d747a)]===_0x538ffa(0x87,-0x8d,0x1fc,_0x42864b._0x18ba35)&&_0x2809d2[_0x538ffa(_0x42864b._0x2592ca,0x165,0x1a9,_0x42864b._0x5504d3)]>0x0;return _0x3cd0af&&_0x8eacea[_0x314026(0x24d,_0x42864b._0x251af4,0xa7,_0x42864b._0x45f493)]('-C',String(_0x2809d2[_0x314026(0x297,0x155,0x17e,0x15a)]),_0x314026(-_0x42864b._0x2f7ad5,_0x42864b._0x352c29,_0x42864b._0x5f43da,0x1ea)),_0x2809d2['glob']&&!_0x2809d2[_0x314026(_0x42864b._0x406757,_0x42864b._0x391130,_0x42864b._0x12b2d9,_0x42864b._0x391130)]&&_0x8eacea[_0x314026(0x121,0x12f,_0x42864b._0x5aea54,_0x42864b._0x9fff91)](_0x314026(_0x42864b._0x10a8c2,_0x42864b._0x21e158,_0x42864b._0xbe4bf7,0x38f),_0x2809d2[_0x314026(0x6,_0x42864b._0x2997d3,0x1bd,-0x20)]),_0x8eacea[_0x538ffa(_0x42864b._0x346583,0x77,0xc0,_0x42864b._0xf7a167)](_0x2809d2[_0x538ffa(0x9a,_0x42864b._0x58b2d1,_0x42864b._0x509285,-_0x42864b._0x48cc27)]??_0x2809d2[_0x538ffa(_0x42864b._0x93d0a5,_0x42864b._0x57c67b,0x1a,-0xd0)]),await new Promise((_0x1ac6b4,_0x5a1978)=>{const _0xa9ba1c={_0x57fdaf:0x223,_0x1776cb:0x2f},_0x2bf91d={_0x4f49b2:0xc2,_0x5b5046:0x195},_0xd57e29={_0x38736b:0x180},_0xfe6c07={_0x5e6e4e:0x93,_0x1de52d:0xeb},_0xa79ba6=_0x50af7c(_0x2da98b,_0x8eacea,{'cwd':_0x2809d2[_0x2c42df(-0x204,0x74,-0xa,-_0x5d93bd._0x1efdfb)],'stdio':[_0x2c42df(-_0x5d93bd._0x3acb78,-_0x5d93bd._0x4f360e,-_0x5d93bd._0x13d57a,-_0x5d93bd._0x26d6a1),_0x2c42df(_0x5d93bd._0x163354,-0xaf,_0x5d93bd._0x12b49d,0x24),_0x5d1d3a(_0x5d93bd._0x37dc8e,_0x5d93bd._0x5a1f5d,0x596,0x421)]});let _0x133b06='',_0x1f28ef='';function _0x5d1d3a(_0x3b8bc6,_0x9343ec,_0x53de76,_0x3945eb){return _0x314026(_0x3b8bc6-_0x44d5fd._0x53201b,_0x53de76-_0x44d5fd._0x2574e3,_0x53de76-_0x44d5fd._0x24fd05,_0x3945eb);}_0xa79ba6[_0x5d1d3a(_0x5d93bd._0x425975,_0x5d93bd._0x42ba32,0x3bf,_0x5d93bd._0x58889d)]?.['on'](_0x5d1d3a(0x525,_0x5d93bd._0x5c3653,_0x5d93bd._0x1350e7,_0x5d93bd._0x473be6),_0x5ea48a=>{function _0x55fe01(_0x23e03e,_0x38a8ec,_0x1b7310,_0x536d02){return _0x2c42df(_0x536d02,_0x38a8ec-0x111,_0x1b7310-0x1d1,_0x23e03e-0x1db);}_0x133b06+=_0x5ea48a[_0x55fe01(_0xfe6c07._0x5e6e4e,0x12a,-0x60,-_0xfe6c07._0x1de52d)]();}),_0xa79ba6[_0x2c42df(-0x56,-0xc1,-_0x5d93bd._0x25bb62,-0x133)]?.['on'](_0x5d1d3a(_0x5d93bd._0x3b143a,0x361,0x47f,_0x5d93bd._0x387a38),_0x28704c=>{const _0xe230d6={_0x1a8fb0:0x186,_0x36e0d0:0x12c};function _0x1c48b6(_0x408f62,_0x89690f,_0x2a3853,_0x33a1a5){return _0x2c42df(_0x2a3853,_0x89690f-_0xe230d6._0x1a8fb0,_0x2a3853-_0xe230d6._0x36e0d0,_0x89690f-0x1f3);}_0x1f28ef+=_0x28704c[_0x1c48b6(0x224,0xab,0x70,-0xc9)]();}),_0xa79ba6['on']('close',_0x24ce92=>{if(_0x24ce92===0x1&&_0x133b06===''){_0x1ac6b4([]);return;}if(_0x24ce92!==0x0&&_0x24ce92!==0x1){_0x5a1978(new Error('ripgrep\x20failed:\x20'+_0x1f28ef));return;}function _0x459c35(_0x3cffb1,_0x3ffe01,_0x17f73e,_0x47cf6d){return _0x5d1d3a(_0x3cffb1-_0xd57e29._0x38736b,_0x3ffe01-0x4e,_0x3cffb1-0x11a,_0x47cf6d);}const _0x119046=_0x2809d2['limit']??0x64;function _0x4c0bfe(_0x2ae4e3,_0x21dec0,_0x341d77,_0x42abf2){return _0x2c42df(_0x2ae4e3,_0x21dec0-0xc5,_0x341d77-_0x2bf91d._0x4f49b2,_0x341d77-_0x2bf91d._0x5b5046);}const _0x3bf2eb=[];for(const _0x40c102 of _0x133b06[_0x4c0bfe(_0x427c9c._0x9c1afa,0x207,_0x427c9c._0x1ba3b9,_0x427c9c._0x2818b8)](/\r?\n/)){if(_0x3bf2eb[_0x4c0bfe(-_0x427c9c._0x14b810,0xba,0x41,_0x427c9c._0x146f8a)]>=_0x119046)break;const _0x598ca4=parseMatchLine(_0x40c102,_0x3cd0af);if(_0x598ca4)_0x3bf2eb[_0x4c0bfe(_0x427c9c._0x2b9591,_0x427c9c._0x57cd9e,_0x427c9c._0x1a1d4e,_0x427c9c._0x2d4975)](_0x598ca4);}_0x1ac6b4(_0x3bf2eb);});function _0x2c42df(_0x1a2f79,_0x34a128,_0x43e706,_0x4483c0){return _0x314026(_0x1a2f79-0x14c,_0x4483c0- -_0xa9ba1c._0x57fdaf,_0x43e706-_0xa9ba1c._0x1776cb,_0x1a2f79);}_0xa79ba6['on'](_0x2c42df(-_0x5d93bd._0x2dff9a,-0x2c5,-0x102,-_0x5d93bd._0x109e00),_0x5a1978);});}function createGlobTool(_0x48dc5e={}){const _0x5dbb27={_0x4bd390:0x56a,_0x215794:0x53e,_0x1c1158:0x4be,_0x47c906:0x347,_0x37b4f6:0x4b9,_0x55d7ca:0x35a,_0xb1e77:0x3fc,_0x511987:0x400,_0x36462f:0x53d,_0x1d1e87:0x4b2,_0x568a39:0x4dc,_0x1f247f:0x3a0,_0x2bd77d:0x39a,_0x5a5baa:0x2d1,_0x2eac14:0x3f2,_0x1bb65f:0x50e,_0x16ebc3:0x506,_0x5d54d6:0x63e,_0x134a28:0x44d,_0x2829b8:0x3df,_0x19c1bc:0x512,_0x5ca8b4:0x58b},_0x507873={_0xd25708:0x246,_0x467352:0x350,_0x26b30c:0x298,_0x2a022f:0xaa,_0x1a1e59:0x204,_0x51a6f4:0x1a1,_0x4a474d:0x470,_0x5692be:0x644,_0x3970b1:0x3e5,_0x4a5c52:0x41b,_0x308042:0x309,_0x15c6c7:0x285,_0x12258e:0x4d9,_0x26ae8:0x4ea,_0x42193a:0x4f5,_0x4ad02a:0x514,_0xcbabf1:0x569,_0x2be723:0x185,_0x3e8ab6:0x6c,_0x34bf04:0x616,_0x1405c2:0x58c,_0x543dbb:0x582,_0x3e236d:0x34,_0x3ca484:0x24d,_0x3bc2ac:0x43f,_0x2f01cd:0x558,_0x492dc3:0x20,_0x520e37:0x14c,_0x39e47d:0x424,_0x35553f:0x499,_0x3a88dd:0x47b,_0x1ba85a:0x526,_0x2fa933:0x2ca,_0x19262a:0x2fc,_0x1f3657:0xc8,_0x135f0f:0x1f5,_0x19a452:0x301,_0xedbb62:0x2b1,_0x30fcaa:0x56d,_0x37a325:0x39c},_0x8bc493={_0x44f244:0x130,_0x332f17:0x453,_0x788130:0xa3},_0x512845=_0x4567bd['resolve'](_0x48dc5e['defaultCwd']??process[_0x279487(_0x5dbb27._0x4bd390,0x5a2,_0x5dbb27._0x215794,0x67a)]()),_0x597927=_0x48dc5e[_0x41de3c(_0x5dbb27._0x1c1158,_0x5dbb27._0x47c906,0x56c,0x52e)]??[];function _0x41de3c(_0x2056e6,_0x71682e,_0x3995fd,_0x2812d4){return _0x2cc51b(_0x2812d4,_0x71682e-0xda,_0x3995fd-0x194,_0x2056e6- -0x4d);}const _0x2a6a2f=_0x48dc5e[_0x279487(0x38b,0x4f4,0x64f,0x432)]??0x64;function _0x279487(_0x584fdc,_0x1c1cb9,_0xb57b2a,_0x972fa8){return _0x38eb01(_0xb57b2a,_0x1c1cb9-0x646,_0xb57b2a-0x134,_0x972fa8-0x120);}const _0x39e0d8=_0x48dc5e['name']??_0x41de3c(_0x5dbb27._0x37b4f6,_0x5dbb27._0x55d7ca,_0x5dbb27._0xb1e77,_0x5dbb27._0x511987);return defineTool({'name':_0x39e0d8,'permissionClass':_0x279487(_0x5dbb27._0x36462f,0x55f,_0x5dbb27._0x1d1e87,_0x5dbb27._0x568a39),'description':_0x41de3c(_0x5dbb27._0x1f247f,_0x5dbb27._0x2bd77d,_0x5dbb27._0x5a5baa,0x3b2),'inputSchema':{'type':_0x41de3c(0x42b,_0x5dbb27._0x2eac14,_0x5dbb27._0x1bb65f,0x2f9),'properties':{'pattern':{'type':_0x41de3c(0x523,_0x5dbb27._0x16ebc3,_0x5dbb27._0x5d54d6,0x655)},'path':{'type':'string'},'limit':{'type':_0x41de3c(_0x5dbb27._0x134a28,0x547,0x39f,_0x5dbb27._0x2829b8)}},'required':[_0x41de3c(_0x5dbb27._0x19c1bc,_0x5dbb27._0x5ca8b4,0x618,0x5c0)]},async *'execute'(_0x30fa47){const _0xedfc57={_0x205f83:0x14b,_0x4d065e:0xc4};if(_0x30fa47[_0x34cf9e(0x1ad,0x3a7,_0x507873._0xd25708,_0x507873._0x467352)][_0x34cf9e(_0x507873._0x26b30c,_0x507873._0x2a022f,_0x507873._0x1a1e59,_0x507873._0x51a6f4)]()['length']===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});function _0x49f93b(_0x1f4c28,_0x8be1c1,_0x4d5ae5,_0xdcd09a){return _0x279487(_0x1f4c28-_0xedfc57._0x205f83,_0x8be1c1- -_0xedfc57._0x4d065e,_0x1f4c28,_0xdcd09a-0x1a8);}const _0x46eb79=resolveAllowedPath(_0x512845,_0x597927,_0x30fa47[_0x49f93b(_0x507873._0x4a474d,0x4ea,_0x507873._0x5692be,_0x507873._0x3970b1)]??'.'),_0x4f268b=await _0x437a30(_0x46eb79)['catch'](()=>null);if(!_0x4f268b?.[_0x49f93b(0x445,_0x507873._0x4a5c52,_0x507873._0x308042,0x4e0)]())throw new ToolExecutionError(_0x34cf9e(0xec,0x359,0x206,_0x507873._0x15c6c7)+(_0x30fa47['path']??'.'),{'path':_0x30fa47[_0x49f93b(_0x507873._0x12258e,_0x507873._0x26ae8,_0x507873._0x42193a,_0x507873._0x4ad02a)]??'.'});const _0x23dddc=_0x30fa47['limit']??_0x2a6a2f,_0x58bf96=Math[_0x49f93b(0x62d,0x569,_0x507873._0xcbabf1,0x448)](0x1,Math[_0x34cf9e(_0x507873._0x2be723,-_0x507873._0x3e8ab6,0x59,0x1b3)](_0x23dddc)),_0x217190=[];let _0x4dcc02=![];for await(const _0x34ddd1 of files({'cwd':_0x46eb79,'glob':[_0x30fa47[_0x49f93b(_0x507873._0x34bf04,0x5d5,_0x507873._0x1405c2,_0x507873._0x543dbb)]]})){if(_0x217190[_0x34cf9e(0x1e,-_0x507873._0x3e236d,0xec,_0x507873._0x3ca484)]>=_0x58bf96){_0x4dcc02=!![];break;}const _0x5f103d=await _0x437a30(_0x4567bd[_0x34cf9e(0xfe,0x3c,0x1c,0x3c)](_0x46eb79,_0x34ddd1))[_0x49f93b(_0x507873._0x3bc2ac,_0x507873._0x2f01cd,0x481,0x5b3)](()=>null);_0x217190[_0x34cf9e(-_0x507873._0x492dc3,0x1f4,_0x507873._0x520e37,0x2ab)]({'path':_0x34ddd1,'mtime':_0x5f103d?.['mtimeMs']??0x0});}_0x217190['sort']((_0x46e299,_0x54769d)=>_0x54769d[_0x49f93b(0x3f8,0x54e,0x52c,0x4eb)]-_0x46e299[_0x49f93b(0x481,0x54e,0x6b8,0x4d1)]);const _0xb95979=_0x217190[_0x49f93b(_0x507873._0x39e47d,0x52f,0x4ec,0x5bc)](_0xd72e85=>_0xd72e85['path']),_0x13e330=_0xb95979[_0x49f93b(_0x507873._0x35553f,_0x507873._0x3a88dd,0x432,_0x507873._0x1ba85a)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x30fa47['pattern']:''+_0xb95979[_0x49f93b(_0x507873._0x2fa933,0x3ab,0x3bf,_0x507873._0x19262a)]('\x0a')+(_0x4dcc02?_0x34cf9e(_0x507873._0x1f3657,0x294,_0x507873._0x135f0f,0x9d):'');function _0x34cf9e(_0x207580,_0x5debc8,_0x378d71,_0x44bc69){return _0x279487(_0x207580-_0x8bc493._0x44f244,_0x378d71- -_0x8bc493._0x332f17,_0x207580,_0x44bc69-_0x8bc493._0x788130);}return yield createToolOutput(_0x13e330,{'pattern':_0x30fa47['pattern'],'searchPath':_0x4567bd[_0x49f93b(0x31e,_0x507873._0x19a452,_0x507873._0xedbb62,0x34c)](_0x512845,_0x46eb79)||'.','matches':_0xb95979,'count':_0xb95979[_0x49f93b(_0x507873._0x30fcaa,0x47b,_0x507873._0x37a325,0x5ec)],'truncated':_0x4dcc02}),void 0x0;}});}import{stat as _0x2942dd}from'fs/promises';import*as _0x235570 from'path';var MAX_LINE_LENGTH=0x7d0;function createGrepTool(_0x2c07a6={}){const _0x496b43={_0x118dc7:0x10f,_0x17dd25:0x2a5,_0x54239c:0x1cd,_0x4b39d2:0x1b4,_0x2d825:0x49,_0x3688cb:0x16f,_0x3396cd:0x4ea,_0x38f5f6:0x41a,_0x4308c2:0x4d2,_0xa551f3:0x506,_0x446a9e:0x2d0,_0x597223:0x24e,_0x21ba10:0x62,_0x306638:0x1df,_0x1cb099:0x95,_0xe1db5a:0x6c6,_0x1d8da5:0x6b1},_0x303f3e={_0x4380ef:0x321,_0x24fe7a:0x3da,_0x3573f9:0x2df,_0x56dd41:0x3ee,_0x1a6304:0x2f5,_0x56ca35:0x227,_0x4c8dd6:0xbc,_0x2fc57b:0x4e,_0x499c1b:0x35a,_0x41188d:0x27d,_0x4d6070:0x36e,_0x53db5d:0x288,_0x1a9e35:0x106,_0x30274d:0x167,_0x4cc36c:0x245,_0x4e71b8:0x360,_0x5db48c:0x349,_0x4529ac:0x327,_0xa3c6f7:0x129,_0x1f748b:0x236,_0x3b250e:0xfa,_0x317de1:0x216,_0x148a5f:0x2b5,_0x24586b:0x139,_0x5b96d6:0x93,_0x438f5c:0x16,_0x38373a:0x82,_0x1d6f39:0x11e,_0x5a3bc0:0xc,_0x3e618f:0x15a,_0x1f0faa:0x15,_0x53e5bf:0x41,_0x40518e:0x1a2,_0x3fd0a0:0xaf,_0xebc98a:0x28,_0x1b8823:0x6d,_0xe3e536:0xaf,_0x5724cc:0x1e3,_0x1b50c4:0xb6,_0x41b765:0xb,_0x52812a:0x119,_0x26d67e:0x185,_0x1e5ff9:0x217,_0x181181:0x3c,_0x3791de:0xa2,_0xaa2da1:0x120,_0x1a36e2:0x2a7,_0xd92091:0x60,_0x2a05e9:0x11e,_0x506f61:0x27,_0x25ed51:0x92,_0x5d16fb:0x41,_0x1baede:0x69,_0x5a93b5:0x101,_0xbbb4f7:0xe9,_0x1053c8:0x3e,_0x51d26e:0x1c7,_0x4aa341:0x310,_0x17b129:0x1c7,_0x347de6:0x1e1,_0x22bf82:0x1c7,_0x306361:0x17,_0xf3d0a4:0xfc,_0x1e134f:0x1ae,_0x5c3545:0x1c5,_0x25e278:0x39a,_0x1efdc0:0x165,_0x1f7e58:0x1c8,_0x318bd2:0x10e,_0x41ddc1:0x1c1,_0x2e2475:0xf9,_0x3484c1:0xa7,_0x2a14b7:0xe2,_0x172cfc:0x1d7,_0xa36dd5:0x302,_0x18b918:0x3fa,_0x5b00e6:0x413,_0x4d4da1:0x33b,_0xe9a326:0x2aa,_0x472098:0x1da,_0x5bf099:0x3e2,_0xb6899c:0xe3,_0x31b413:0x9,_0x54a709:0xe1,_0x48deee:0x244,_0x61810f:0xc1,_0x1cf0f9:0x336,_0x552370:0x328,_0x96bf62:0x3f0,_0x1f421c:0x451,_0x351028:0x4d,_0x50e864:0x43,_0x4f38bb:0x72,_0xdb35a6:0x172,_0x50f075:0x7a,_0x4dad54:0x2c0,_0x5c7aa2:0x1d5,_0x295475:0x106,_0x187869:0x59,_0x42a969:0xb5,_0xccac8d:0xee,_0x467955:0x1dc},_0x133379={_0x55faf5:0x109,_0x43a930:0x29,_0x54f425:0x1af},_0x54410b={_0x14313a:0x106};function _0x495191(_0x33c069,_0xa7d296,_0x4568d3,_0x4d7610){return _0x38eb01(_0x33c069,_0x4568d3-0x566,_0x4568d3-0x27,_0x4d7610-_0x54410b._0x14313a);}function _0x50fe37(_0x1955b1,_0x46db52,_0xf2457e,_0x4052d8){return _0x38eb01(_0x46db52,_0xf2457e-_0x133379._0x55faf5,_0xf2457e-_0x133379._0x43a930,_0x4052d8-_0x133379._0x54f425);}const _0x576eb3=_0x235570[_0x50fe37(-0x28e,-0x83,-_0x496b43._0x118dc7,-0x209)](_0x2c07a6[_0x495191(0x3b5,0x42f,0x356,_0x496b43._0x17dd25)]??process['cwd']()),_0x108387=_0x2c07a6['allowedDirs']??[],_0x1d31da=_0x2c07a6[_0x50fe37(-_0x496b43._0x54239c,-_0x496b43._0x4b39d2,-_0x496b43._0x2d825,-_0x496b43._0x3688cb)]??0x64,_0x2c0716=_0x2c07a6['name']??_0x495191(_0x496b43._0x3396cd,0x352,0x4d1,_0x496b43._0x38f5f6);return defineTool({'name':_0x2c0716,'permissionClass':'read','description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x495191(0x547,0x606,_0x496b43._0x4308c2,_0x496b43._0xa551f3),'properties':{'pattern':{'type':_0x50fe37(_0x496b43._0x446a9e,_0x496b43._0x597223,0x16d,0x17b)},'path':{'type':'string'},'include':{'type':_0x50fe37(_0x496b43._0x21ba10,0x171,0x16d,0x200)},'limit':{'type':'number'},'context':{'type':_0x50fe37(_0x496b43._0x306638,0x171,0x97,_0x496b43._0x1cb099)}},'required':[_0x495191(0x6f8,_0x496b43._0xe1db5a,0x5b9,_0x496b43._0x1d8da5)]},async *'execute'(_0x5b8c26){const _0x38f1b2={_0x1cb92a:0x1ab,_0x6626ee:0x19f};if(_0x5b8c26[_0x57bfa4(0x357,0x37a,_0x303f3e._0x4380ef,_0x303f3e._0x24fe7a)][_0x57bfa4(0x433,0x19d,_0x303f3e._0x3573f9,_0x303f3e._0x56dd41)]()[_0x57bfa4(0x17b,0x1a8,0x1c7,_0x303f3e._0x1a6304)]===0x0)throw new ToolExecutionError(_0x36d7ad(_0x303f3e._0x56ca35,_0x303f3e._0x4c8dd6,-_0x303f3e._0x2fc57b,0x10a),{});const _0x32c204=resolveAllowedPath(_0x576eb3,_0x108387,_0x5b8c26['path']??'.'),_0x1fb50d=await _0x2942dd(_0x32c204)[_0x57bfa4(0x253,0x2e9,0x2a4,0x411)](()=>null),_0x3459be=_0x1fb50d?.[_0x57bfa4(0x34c,_0x303f3e._0x499c1b,_0x303f3e._0x41188d,_0x303f3e._0x4d6070)]()??![];function _0x57bfa4(_0x1ea8e1,_0x45bf29,_0x3589fa,_0x496aae){return _0x50fe37(_0x1ea8e1-0x102,_0x496aae,_0x3589fa-0x1c5,_0x496aae-0xfe);}const _0x538e5d=_0x1fb50d?.[_0x57bfa4(_0x303f3e._0x53db5d,_0x303f3e._0x1a9e35,_0x303f3e._0x30274d,_0x303f3e._0x4cc36c)]()??![];if(!_0x3459be&&!_0x538e5d)throw new ToolExecutionError(_0x57bfa4(0x3b1,0x2f8,0x310,_0x303f3e._0x4e71b8)+(_0x5b8c26[_0x57bfa4(_0x303f3e._0x5db48c,_0x303f3e._0x4529ac,0x236,_0x303f3e._0xa3c6f7)]??'.'),{'path':_0x5b8c26[_0x57bfa4(0x156,0x11b,_0x303f3e._0x1f748b,0x313)]??'.'});function _0x36d7ad(_0x12fbbc,_0x590a73,_0x51b3a7,_0x410977){return _0x495191(_0x51b3a7,_0x590a73-_0x38f1b2._0x1cb92a,_0x590a73- -0x45f,_0x410977-_0x38f1b2._0x6626ee);}const _0x325a1f=_0x5b8c26[_0x57bfa4(_0x303f3e._0x3b250e,0x2bb,0x17c,0x70)]??_0x1d31da,_0x179e1d=Math[_0x57bfa4(_0x303f3e._0x317de1,0x3d7,_0x303f3e._0x148a5f,_0x303f3e._0x24586b)](0x1,Math[_0x36d7ad(-0x3e,-_0x303f3e._0x5b96d6,-0x1a9,_0x303f3e._0x438f5c)](_0x325a1f)),_0x5c040=await search({'cwd':_0x538e5d?_0x32c204:_0x235570[_0x36d7ad(0x16,-_0x303f3e._0x38373a,-_0x303f3e._0x1d6f39,-_0x303f3e._0x5a3bc0)](_0x32c204),'pattern':_0x5b8c26[_0x36d7ad(0x20c,_0x303f3e._0x3e618f,0x180,_0x303f3e._0x1f0faa)],'glob':_0x538e5d?_0x5b8c26['include']:void 0x0,'limit':_0x179e1d,'file':_0x3459be?_0x32c204:void 0x0,'context':_0x5b8c26['context']}),_0x48c8f2=new Map();for(const _0xef5882 of _0x5c040){if(!_0x48c8f2[_0x36d7ad(0x147,_0x303f3e._0x53e5bf,0xe1,-0xd8)](_0xef5882[_0x36d7ad(-_0x303f3e._0x40518e,-_0x303f3e._0x3fd0a0,-0xfa,_0x303f3e._0xebc98a)])){const _0x58aad1=await _0x2942dd(_0xef5882[_0x36d7ad(_0x303f3e._0x1b8823,-_0x303f3e._0xe3e536,-_0x303f3e._0x5724cc,-0x1fd)])['catch'](()=>null);_0x48c8f2['set'](_0xef5882[_0x57bfa4(0xe9,_0x303f3e._0x1b50c4,0x118,-_0x303f3e._0x41b765)],{'matches':[],'mtime':_0x58aad1?.[_0x36d7ad(-0x21a,-0x106,-_0x303f3e._0x52812a,-_0x303f3e._0x26d67e)]??0x0});}_0x48c8f2['get'](_0xef5882[_0x36d7ad(-_0x303f3e._0x1e5ff9,-_0x303f3e._0xe3e536,0x6d,-_0x303f3e._0x181181)])?.[_0x36d7ad(-_0x303f3e._0x3791de,-_0x303f3e._0xaa2da1,-_0x303f3e._0x1a36e2,0x3c)][_0x36d7ad(-0x7e,_0x303f3e._0xd92091,_0x303f3e._0x2a05e9,-_0x303f3e._0x506f61)](_0xef5882);}const _0xd8c40e=[..._0x48c8f2[_0x36d7ad(-0x60,-_0x303f3e._0x25ed51,-_0x303f3e._0x5d16fb,0xc5)]()][_0x36d7ad(-0x5c,-_0x303f3e._0x1baede,_0x303f3e._0xd92091,-_0x303f3e._0x5a93b5)]((_0x3c455a,_0x59eced)=>_0x59eced[0x1][_0x36d7ad(0x23f,0xd3,0x21,0x108)]-_0x3c455a[0x1]['mtime']),_0xd5a41c=_0x5c040[_0x36d7ad(0x184,_0x303f3e._0xbbb4f7,-_0x303f3e._0x5b96d6,0x65)](_0x2c8066=>!_0x2c8066[_0x57bfa4(-0x81,0x23e,0xe1,-0x4c)])[_0x57bfa4(_0x303f3e._0x1053c8,0x1f1,_0x303f3e._0x51d26e,0x1fb)],_0x105438=_0x5c040[_0x57bfa4(_0x303f3e._0x4aa341,0x333,_0x303f3e._0x17b129,_0x303f3e._0x347de6)]>=_0x179e1d,_0x291fba=_0x3459be?_0x235570['dirname'](_0x32c204):_0x32c204;let _0x2448fd='';if(_0x5c040[_0x57bfa4(0x1c0,0x2e5,_0x303f3e._0x22bf82,0x51)]===0x0)_0x2448fd=_0x57bfa4(_0x303f3e._0x306361,0xeb,0x11a,_0x303f3e._0xf3d0a4)+_0x5b8c26[_0x57bfa4(_0x303f3e._0x1e134f,_0x303f3e._0x5c3545,0x321,_0x303f3e._0x25e278)];else{_0x2448fd=_0x36d7ad(0x1d,-0xfe,-_0x303f3e._0x1efdc0,-0xc3)+_0xd5a41c+'\x20match'+(_0xd5a41c===0x1?'':'es')+'\x0a';for(const [_0x72d239,_0x557278]of _0xd8c40e){const _0x3c1e10=_0x3459be?_0x235570[_0x36d7ad(_0x303f3e._0x1f7e58,_0x303f3e._0x318bd2,-0x4b,0x31)](_0x72d239):_0x235570[_0x57bfa4(_0x303f3e._0x41ddc1,0x8b,0x4d,-0xe3)](_0x291fba,_0x72d239);_0x2448fd+='\x0a'+_0x3c1e10+':\x0a';for(const _0x303876 of _0x557278[_0x57bfa4(_0x303f3e._0x2e2475,0x176,_0x303f3e._0x3484c1,-_0x303f3e._0x2a14b7)]){const _0x574730=_0x303876[_0x57bfa4(_0x303f3e._0x172cfc,_0x303f3e._0xa36dd5,0x2aa,_0x303f3e._0x18b918)]['length']>MAX_LINE_LENGTH?_0x303876[_0x57bfa4(_0x303f3e._0x5b00e6,_0x303f3e._0x4d4da1,_0x303f3e._0xe9a326,0x1c4)][_0x57bfa4(_0x303f3e._0x472098,_0x303f3e._0x5bf099,0x333,0x349)](0x0,MAX_LINE_LENGTH)+_0x36d7ad(0x133,0x5c,-0x122,0x11a):_0x303876[_0x36d7ad(-0x4a,_0x303f3e._0xb6899c,0x1ed,-_0x303f3e._0x31b413)],_0x1c8e55=_0x303876[_0x57bfa4(-0x3f,0x1e5,_0x303f3e._0x54a709,0xcc)]?'\x20\x20':'>\x20';_0x2448fd+=_0x1c8e55+_0x36d7ad(_0x303f3e._0x48deee,_0x303f3e._0x61810f,0xba,-0x7d)+_0x303876[_0x57bfa4(0x248,0x252,_0x303f3e._0x1cf0f9,0x367)]+':\x20'+_0x574730+'\x0a';}}_0x105438&&(_0x2448fd+=_0x57bfa4(_0x303f3e._0x552370,_0x303f3e._0x96bf62,0x2d0,_0x303f3e._0x1f421c));}const _0x2b80b4={'searchPath':_0x235570[_0x57bfa4(0xed,-0x95,_0x303f3e._0x351028,-0x127)](_0x576eb3,_0x32c204)||'.','pattern':_0x5b8c26[_0x36d7ad(_0x303f3e._0x50e864,0x15a,0x33,0x20e)],'matchCount':_0xd5a41c,'fileCount':_0x48c8f2[_0x57bfa4(0x266,_0x303f3e._0x4f38bb,0x1f0,_0x303f3e._0xdb35a6)],'truncated':_0x105438};return _0x538e5d&&_0x5b8c26[_0x57bfa4(_0x303f3e._0x50f075,_0x303f3e._0x4dad54,0x1d7,0xae)]!==void 0x0&&(_0x2b80b4[_0x57bfa4(0x244,_0x303f3e._0x56ca35,_0x303f3e._0x172cfc,_0x303f3e._0x5c7aa2)]=_0x5b8c26[_0x36d7ad(_0x303f3e._0x295475,0x10,-_0x303f3e._0x187869,-0x136)]),yield createToolOutput(_0x2448fd[_0x36d7ad(_0x303f3e._0x42a969,0x118,_0x303f3e._0xccac8d,_0x303f3e._0x467955)](),_0x2b80b4),void 0x0;}});}function createKillShellTool(_0x2334e5){const _0x4a7161={_0x4e9d8c:0x44b,_0xde76eb:0x4f8,_0x16ffb1:0x320,_0x4e87a5:0x430,_0x289592:0x2e3,_0x5d2a42:0x50b,_0x27326b:0x593,_0x5986db:0x45e},_0x362afa={_0x4f355c:0x42f,_0xa4fab3:0x5d1,_0x97b0de:0x490,_0x48d279:0x12b,_0x5bc845:0x156,_0x4af19d:0x4b,_0x38ab05:0xc9,_0x5d7f72:0x59,_0x7c36be:0xba,_0x3754c0:0x15c,_0x4dff08:0x1e,_0x30fb2a:0x1c2,_0xaa5e6:0x133,_0x3ca5c4:0x121,_0x5507a0:0x19,_0x57b5a4:0x5b7,_0x9effb5:0x6f1,_0x349fc9:0x49a,_0x25faba:0xab,_0x337d1b:0xdd},_0x1aa5d6={_0x5b0c7e:0x9d},_0x4df987={_0x1d5ff8:0xbd,_0xb61600:0x110,_0x38898a:0x81};function _0x3d1c48(_0x2b6a4e,_0x3991a8,_0x578388,_0x3bd0aa){return _0x2cc51b(_0x3991a8,_0x3991a8-_0x4df987._0x1d5ff8,_0x578388-_0x4df987._0xb61600,_0x3bd0aa-_0x4df987._0x38898a);}const {registry:_0x37d5b3}=_0x2334e5;function _0x51e6c0(_0x486b0d,_0x54ba73,_0x1a16b3,_0x1d4d71){return _0x2cc51b(_0x54ba73,_0x54ba73-0x1af,_0x1a16b3-0x15f,_0x1d4d71-_0x1aa5d6._0x5b0c7e);}return defineTool({'name':'KillShell','permissionClass':_0x3d1c48(_0x4a7161._0x4e9d8c,_0x4a7161._0xde76eb,_0x4a7161._0x16ffb1,_0x4a7161._0x4e87a5),'description':_0x51e6c0(_0x4a7161._0x289592,_0x4a7161._0x5d2a42,0x36c,0x3da),'inputSchema':{'type':_0x3d1c48(0x52b,_0x4a7161._0x27326b,0x3f5,0x4f9),'properties':{'shellId':{'type':_0x51e6c0(0x509,0x748,0x70c,0x60d)}},'required':[_0x51e6c0(_0x4a7161._0x5986db,0x399,0x26e,0x35d)]},async *'execute'(_0x15531a){const _0x38c389={_0x2a9ab1:0xd3},_0x398464={_0x570147:0x0};function _0x194ca6(_0x193795,_0x2dbfa4,_0xa59f8c,_0x47cfaa){return _0x51e6c0(_0x193795-0x71,_0x47cfaa,_0xa59f8c-_0x398464._0x570147,_0xa59f8c-0x126);}const _0x5148ca=_0x37d5b3[_0x194ca6(_0x362afa._0x4f355c,_0x362afa._0xa4fab3,_0x362afa._0x97b0de,0x56d)](_0x15531a['shellId']);function _0x472cbd(_0x1315fb,_0x4384f4,_0x13bb1d,_0x149572){return _0x3d1c48(_0x1315fb-_0x38c389._0x2a9ab1,_0x13bb1d,_0x13bb1d-0xbc,_0x149572- -0x43a);}return createToolOutput(_0x472cbd(_0x362afa._0x48d279,-0xc1,_0x362afa._0x5bc845,_0x362afa._0x4af19d)+_0x15531a[_0x472cbd(0x41,-_0x362afa._0x38ab05,-0xbd,-0xf9)]+_0x472cbd(_0x362afa._0x5d7f72,_0x362afa._0x7c36be,_0x362afa._0x3754c0,-_0x362afa._0x4dff08)+_0x5148ca[_0x472cbd(_0x362afa._0x30fb2a,_0x362afa._0xaa5e6,0x18c,0x62)]+').',{'shellId':_0x15531a[_0x472cbd(-0x210,-_0x362afa._0x3ca5c4,-_0x362afa._0x5507a0,-0xf9)],'status':_0x5148ca[_0x194ca6(_0x362afa._0x57b5a4,_0x362afa._0x9effb5,0x5de,_0x362afa._0x349fc9)],'exitCode':_0x5148ca['exitCode'],'signal':_0x5148ca[_0x472cbd(_0x362afa._0x25faba,0x100,-_0x362afa._0x337d1b,-0x57)]});}});}import{readdir as _0x16394a,readFile as _0xcf47cc,stat as _0x5e287e}from'fs/promises';import*as _0x4bb443 from'path';import*as _0x106f65 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x19d41c,_0x1fe6e7){const _0x5fa319={_0x1e0dac:0x69b,_0x4c2455:0x482,_0x1e5bb2:0x6a2,_0x8d54e0:0x6c7,_0x44e81e:0x58e,_0x3c8aba:0x483},_0x167ef5={_0x32782c:0x15e,_0x4bebb7:0x1c1},_0x33d058={_0x7ac629:0x140};function _0x5eb921(_0x42c3db,_0x5a88dc,_0x47faa4,_0x462e97){return _0x2cc51b(_0x47faa4,_0x5a88dc-0x1a2,_0x47faa4-_0x33d058._0x7ac629,_0x5a88dc-0x189);}if(_0x1fe6e7>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2b265c=await _0xcf47cc(_0x19d41c)['catch'](()=>null);function _0x15d608(_0x3852c2,_0x48aba7,_0x18d43c,_0x50bcdb){return _0x38eb01(_0x18d43c,_0x48aba7-0x688,_0x18d43c-_0x167ef5._0x32782c,_0x50bcdb-_0x167ef5._0x4bebb7);}if(!_0x2b265c||isProbablyBinary(_0x2b265c))return void 0x0;return _0x2b265c['toString'](_0x5eb921(_0x5fa319._0x1e0dac,0x572,0x55a,_0x5fa319._0x4c2455))[_0x5eb921(0x775,_0x5fa319._0x1e5bb2,_0x5fa319._0x8d54e0,0x63a)](/\r?\n/)[_0x5eb921(0x4e3,_0x5fa319._0x44e81e,0x49b,_0x5fa319._0x3c8aba)];}function createLsTool(_0x361650={}){const _0x321e0b={_0x2d2ff2:0x1c0,_0x54ec99:0x3,_0x2d9c1e:0x129,_0x51c5dc:0x22e,_0x49d7fc:0xf2,_0x17400f:0x86,_0x4e2d48:0xef,_0x312572:0x8a,_0x20ec25:0x24,_0x23775b:0x1eb,_0x1bc794:0xc,_0x37ad2e:0x33},_0x5f3f28={_0x25737c:0x3bd,_0x3d95c7:0x1e5,_0x14765e:0x3b2,_0x4635b7:0x28c,_0x3b5d70:0x289,_0x5a68fe:0x364,_0x3940b1:0x211,_0x15518c:0x257,_0x591197:0x59b,_0x4354bb:0x315,_0x4ecfd3:0x1bf,_0x18f575:0x8e,_0x56129a:0x23f,_0x3834f3:0x502,_0x66008:0x568,_0x5a08df:0x490,_0x2bb178:0x3d1,_0x20271e:0x201,_0x2bdb4f:0x2b2,_0x33d233:0x251,_0x58bb09:0x148,_0x53531e:0x37e,_0x430f39:0x12b,_0x3b0fd8:0x22d,_0x4b4523:0x30c,_0xf52adc:0x41b,_0x42720e:0x3dc,_0x1c2c8f:0x367,_0x2b9dfe:0x24e,_0x111a65:0x1a4,_0x33916e:0x2fd,_0x3e0b65:0x3ba,_0x5efc12:0x1d5,_0x172def:0x469,_0x49f79f:0x11b,_0xe2c69:0xd8,_0x2caf68:0x298,_0x520814:0xf,_0x169d89:0x1b3,_0xbdc90e:0x337,_0x492af1:0x32e,_0x2ae25a:0x261,_0x4b57e4:0x360,_0x3e490f:0x3a5,_0x16314c:0x427,_0x7c8bf5:0x485,_0x305789:0x2eb,_0x2b774d:0x39e,_0x4183e1:0x14f,_0x9c2930:0x28f,_0x42b348:0x35a,_0x55f530:0x3f2,_0x4c4cda:0x5,_0x4791c3:0x4c2,_0x64c03a:0x357,_0x372ab4:0x24b},_0x589c76={_0x4e46e3:0x86,_0x3f5bb2:0x41b},_0x3f7ac0={_0x37262e:0x34},_0x336755={_0x304061:0x173},_0x26df4a=_0x4bb443[_0x15fe19(0xe0,0xe5,-0x44,-_0x321e0b._0x2d2ff2)](_0x361650['defaultCwd']??process[_0x4ea6ed(-0x1bd,-_0x321e0b._0x54ec99,-_0x321e0b._0x2d9c1e,-_0x321e0b._0x51c5dc)]()),_0x5158e7=_0x361650[_0x4ea6ed(-0x1be,-_0x321e0b._0x49d7fc,-_0x321e0b._0x17400f,-0x1b0)]??[];function _0x15fe19(_0x2fb392,_0x13bfc9,_0x44da11,_0x395184){return _0x2cc51b(_0x13bfc9,_0x13bfc9-0x14b,_0x44da11-_0x336755._0x304061,_0x44da11- -0x338);}function _0x4ea6ed(_0x2423ac,_0x2f0894,_0x2fe433,_0x1d2f69){return _0x38eb01(_0x1d2f69,_0x2fe433- -0x85,_0x2fe433-0x3f,_0x1d2f69-_0x3f7ac0._0x37262e);}const _0x49309f=_0x361650[_0x15fe19(-_0x321e0b._0x4e2d48,0xf7,-_0x321e0b._0x312572,-0x1b)]??'Ls';return defineTool({'name':_0x49309f,'permissionClass':_0x15fe19(-_0x321e0b._0x20ec25,_0x321e0b._0x23775b,0xed,0x1b1),'description':'List\x20files\x20and\x20directories\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x4ea6ed(-0x28a,_0x321e0b._0x1bc794,-0x119,-_0x321e0b._0x37ad2e),'properties':{'path':{'type':'string'},'limit':{'type':'number'}}},async *'execute'(_0x37a124){const _0x4ef5f2={_0x4343a2:0x460},_0x3cf8d4=_0x37a124[_0x17b428(0x343,_0x5f3f28._0x25737c,0x412,0x2ee)]??'.',_0x318bf1=resolveAllowedPath(_0x26df4a,_0x5158e7,_0x3cf8d4),_0x12a81f=await _0x5e287e(_0x318bf1)['catch'](()=>null);function _0x5e025e(_0x4e3dad,_0x1f294e,_0x1ba8b0,_0x116cd6){return _0x4ea6ed(_0x4e3dad-_0x589c76._0x4e46e3,_0x1f294e-0x62,_0x1f294e-_0x589c76._0x3f5bb2,_0x116cd6);}if(!_0x12a81f?.[_0x5e025e(_0x5f3f28._0x3d95c7,0x22f,_0x5f3f28._0x14765e,0x26d)]())throw new ToolExecutionError(_0x5e025e(0x279,0x3a9,_0x5f3f28._0x4635b7,0x4c1)+_0x3cf8d4,{'path':_0x3cf8d4});const _0x6afda6=_0x37a124[_0x17b428(_0x5f3f28._0x3b5d70,0x3fe,0x1e7,0x2bd)]??0x3e8,_0x5c4c0a=Math[_0x17b428(0x200,0x232,0x349,0xd4)](Math[_0x17b428(0x3c2,0x43f,_0x5f3f28._0x5a68fe,0x2c7)](Math[_0x5e025e(0x35d,0x1fc,_0x5f3f28._0x3940b1,_0x5f3f28._0x15518c)](_0x6afda6),0x1),0x2710),_0x23e224=await _0x16394a(_0x318bf1),_0x52ceeb=[];function _0x17b428(_0x3f1bd,_0x4efd07,_0x5f4bbf,_0x5585ea){return _0x4ea6ed(_0x3f1bd-0xae,_0x4efd07-0x5e,_0x3f1bd-_0x4ef5f2._0x4343a2,_0x5f4bbf);}for(const _0x400b67 of _0x23e224[_0x17b428(0x440,0x506,_0x5f3f28._0x591197,0x481)](0x0,_0x5c4c0a)){const _0x283b82=_0x4bb443[_0x5e025e(_0x5f3f28._0x4354bb,_0x5f3f28._0x4ecfd3,_0x5f3f28._0x18f575,_0x5f3f28._0x56129a)](_0x318bf1,_0x400b67),_0xab7efe=await _0x5e287e(_0x283b82)[_0x17b428(0x3b1,0x4f3,_0x5f3f28._0x3834f3,0x342)](()=>null);if(!_0xab7efe)continue;let _0x3ea07f=_0x5e025e(0x49d,0x402,_0x5f3f28._0x66008,0x3d7);if(_0xab7efe[_0x5e025e(_0x5f3f28._0x5a08df,0x345,0x396,_0x5f3f28._0x2bb178)]())_0x3ea07f=_0x5e025e(_0x5f3f28._0x20271e,0x337,0x401,_0x5f3f28._0x2bdb4f);else{if(_0xab7efe[_0x5e025e(_0x5f3f28._0x33d233,0x22f,_0x5f3f28._0x58bb09,0x25e)]())_0x3ea07f=_0x5e025e(_0x5f3f28._0x53531e,0x28d,_0x5f3f28._0x430f39,_0x5f3f28._0x3b0fd8);else{if(_0xab7efe[_0x5e025e(_0x5f3f28._0x4b4523,_0x5f3f28._0xf52adc,_0x5f3f28._0x42720e,0x3b8)]())_0x3ea07f=_0x5e025e(_0x5f3f28._0x1c2c8f,_0x5f3f28._0x2b9dfe,_0x5f3f28._0x111a65,0x273);}}const _0x53fc1d={'name':_0x400b67,'type':_0x3ea07f,'size':_0xab7efe[_0x17b428(_0x5f3f28._0x33916e,_0x5f3f28._0x3e0b65,_0x5f3f28._0x5efc12,_0x5f3f28._0x172def)],'mtime':_0xab7efe[_0x17b428(0x1ce,_0x5f3f28._0x49f79f,_0x5f3f28._0xe2c69,0x2c9)],'mode':_0xab7efe[_0x5e025e(_0x5f3f28._0x2caf68,0x16e,_0x5f3f28._0x520814,_0x5f3f28._0x169d89)]},_0x1ad233=_0x3ea07f===_0x5e025e(0x1b8,_0x5f3f28._0xbdc90e,_0x5f3f28._0x492af1,0x3ec)?await countTextLines(_0x283b82,_0xab7efe[_0x17b428(_0x5f3f28._0x33916e,0x2b6,_0x5f3f28._0x2ae25a,_0x5f3f28._0x4b57e4)]):void 0x0;if(_0x1ad233!==void 0x0)_0x53fc1d[_0x5e025e(_0x5f3f28._0x3e490f,0x3f8,0x38b,_0x5f3f28._0x16314c)]=_0x1ad233;_0x52ceeb[_0x17b428(0x334,_0x5f3f28._0x7c8bf5,_0x5f3f28._0x305789,0x463)](_0x53fc1d);}_0x52ceeb['sort']((_0x4a645a,_0x48edcb)=>_0x4a645a[_0x17b428(0x17d,0x5f,0x94,0x22d)][_0x5e025e(0x46d,0x34d,0x29d,0x3f4)](_0x48edcb[_0x17b428(0x17d,0x259,0x67,0x1c9)]));const _0x304dc1={'path':_0x3cf8d4,'total':_0x52ceeb[_0x5e025e(0x371,0x28f,_0x5f3f28._0x2b774d,0x349)],'truncated':_0x23e224[_0x5e025e(_0x5f3f28._0x4183e1,_0x5f3f28._0x9c2930,_0x5f3f28._0x42b348,_0x5f3f28._0x55f530)]>_0x5c4c0a,'entries':_0x52ceeb};return yield createToolOutput(_0x106f65[_0x5e025e(0x59,0x14f,-_0x5f3f28._0x4c4cda,-0x2d)](_0x304dc1,{'indent':0x2,'lineWidth':0x0})[_0x17b428(0x3bb,_0x5f3f28._0x4791c3,_0x5f3f28._0x64c03a,0x544)](),{'path':_0x3cf8d4,'total':_0x52ceeb[_0x5e025e(0x1ea,0x28f,_0x5f3f28._0x372ab4,0x1dc)],'truncated':_0x23e224['length']>_0x5c4c0a,'limit':_0x5c4c0a,'entries':_0x52ceeb}),void 0x0;}});}import{stat as _0x5dd2ef}from'fs/promises';import _0x18362a from'path';import{fileURLToPath as _0xbf45f6}from'url';function severityName(_0xb283a9){const _0x3a777e={_0x3f7269:0x459,_0x52c4b8:0x5df,_0x3a6a3b:0x521,_0x2aef47:0x64c,_0x1869e8:0x489,_0x32b9ed:0x4b1},_0x2cdd7d={_0x54ea33:0x5df},_0x3f2584={_0x3b8bb4:0x93};function _0x2c8b3c(_0x46d55b,_0x1d8c14,_0x2f700d,_0x881cba){return _0x2cc51b(_0x881cba,_0x1d8c14-_0x3f2584._0x3b8bb4,_0x2f700d-0xad,_0x1d8c14-0xe1);}function _0x37afed(_0x2cbda6,_0xaa6f72,_0x280102,_0x43966c){return _0x38eb01(_0x280102,_0xaa6f72-_0x2cdd7d._0x54ea33,_0x280102-0x1c3,_0x43966c-0x146);}switch(_0xb283a9){case 0x1:return'Error';case 0x2:return _0x2c8b3c(0x593,_0x3a777e._0x3f7269,_0x3a777e._0x52c4b8,0x346);case 0x3:return _0x37afed(_0x3a777e._0x3a6a3b,_0x3a777e._0x2aef47,0x772,0x645);case 0x4:return _0x37afed(_0x3a777e._0x1869e8,_0x3a777e._0x32b9ed,0x5bb,0x481);default:return'Diagnostic';}}function formatSingleHover(_0x51faad){const _0xbfa016={_0x1236b2:0x2b1,_0xd950f4:0x2e4,_0xb104f5:0x36a,_0x5c27a2:0x640,_0x1e384d:0x581,_0x728bae:0x599,_0x54bd9d:0x619,_0x589431:0x750,_0x340fb2:0x2e8,_0x2a66bc:0x4a5,_0x572b4c:0x4d7,_0x52a5ca:0x2a3,_0x4f6bae:0x148,_0x11f529:0x8c,_0x48d232:0x5c,_0x44e7fd:0x1f8,_0x3ce0b2:0x10b,_0x3dd345:0x37e,_0x3b11e9:0x246,_0x3fb0a7:0x175,_0x530759:0xd4,_0x1eb048:0x6f4,_0x58feab:0x51b,_0x73af02:0x5ee,_0x44b0ff:0x634,_0x42614c:0x473,_0x1c53d7:0x4dd,_0xe065fa:0x4c3},_0x3d3cfb={_0x54d78c:0x10a,_0x36fac4:0x1a2},_0x3cf4a5={_0x89aa06:0x206};function _0x11ab6c(_0x175c1,_0xc213e7,_0x5941cb,_0x2e73cf){return _0x2cc51b(_0x5941cb,_0xc213e7-0x109,_0x5941cb-0x115,_0x2e73cf- -_0x3cf4a5._0x89aa06);}const _0x1e6761=_0x51faad[_0x11ab6c(0x20f,0x234,_0xbfa016._0x1236b2,0x213)];function _0x26c2db(_0x53c3e5,_0x308980,_0x3e1144,_0x4a7652){return _0x2cc51b(_0x53c3e5,_0x308980-_0x3d3cfb._0x54d78c,_0x3e1144-0x66,_0x4a7652-_0x3d3cfb._0x36fac4);}if(typeof _0x1e6761===_0x11ab6c(_0xbfa016._0xd950f4,0x3a8,0x268,_0xbfa016._0xb104f5))return _0x1e6761;if(Array[_0x26c2db(0x463,_0xbfa016._0x5c27a2,_0xbfa016._0x1e384d,_0xbfa016._0x728bae)](_0x1e6761))return _0x1e6761[_0x26c2db(0x66d,_0xbfa016._0x54bd9d,_0xbfa016._0x589431,0x65b)](_0x3f3a49=>typeof _0x3f3a49===_0x11ab6c(0x24d,0x306,0x2d9,0x36a)?_0x3f3a49:_0x3f3a49[_0x26c2db(0x3bf,0x615,0x4f2,0x4b3)])[_0x11ab6c(0x3be,0x1a7,0x45b,_0xbfa016._0x340fb2)](Boolean)[_0x26c2db(0x62f,_0xbfa016._0x2a66bc,0x571,_0xbfa016._0x572b4c)]('\x0a\x0a');if(_0x11ab6c(_0xbfa016._0x52a5ca,0x16a,0x111,_0xbfa016._0x4f6bae)in _0x1e6761)return _0x1e6761[_0x11ab6c(_0xbfa016._0x11f529,_0xbfa016._0x48d232,_0xbfa016._0x44e7fd,_0xbfa016._0x3ce0b2)];return _0x1e6761[_0x11ab6c(_0xbfa016._0x3dd345,0x1c4,0x1eb,_0xbfa016._0x3b11e9)]?_0x11ab6c(0x26f,_0xbfa016._0x3fb0a7,_0xbfa016._0x530759,0x17a)+_0x1e6761[_0x26c2db(_0xbfa016._0x1eb048,_0xbfa016._0x58feab,0x4a0,_0xbfa016._0x73af02)]+'\x0a'+_0x1e6761[_0x26c2db(_0xbfa016._0x44b0ff,0x45d,_0xbfa016._0x42614c,0x4b3)]+_0x26c2db(_0xbfa016._0x1c53d7,0x40f,0x52a,_0xbfa016._0xe065fa):_0x1e6761['value'];}function formatHover(_0x3132d5){const _0x2b697a={_0x59d411:0x3c6,_0x4b484a:0x2bf,_0x364541:0x171,_0x1d68f9:0x251,_0x38725a:0x1c5,_0x385d49:0x281},_0x11bbb1={_0x4c3b47:0x5b6},_0x3694b6={_0x18a71b:0xe9};if(_0x3132d5[_0x4aa7d8(0x1d0,0x64,0x41,0x19d)]===0x0)return _0x938e1c(-_0x2b697a._0x59d411,-0x1e5,-0x196,-0x245);function _0x4aa7d8(_0x5246ba,_0x499bde,_0xedb98a,_0x2537d7){return _0x2cc51b(_0x5246ba,_0x499bde-_0x3694b6._0x18a71b,_0xedb98a-0x190,_0x2537d7- -0x268);}function _0x938e1c(_0x5c5b9f,_0x32b1f5,_0xa97e67,_0x3a9fdf){return _0x2cc51b(_0x5c5b9f,_0x32b1f5-0x1b5,_0xa97e67-0x1dd,_0x3a9fdf- -_0x11bbb1._0x4c3b47);}return _0x3132d5[_0x4aa7d8(_0x2b697a._0x4b484a,_0x2b697a._0x364541,0x398,_0x2b697a._0x1d68f9)](formatSingleHover)[_0x938e1c(-0x112,-_0x2b697a._0x38725a,-0x14c,-_0x2b697a._0x385d49)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x3fb392){const _0xd51897={_0xdb55a0:0x1b9,_0x2a2b87:0x302,_0x1cf1ed:0xf5,_0x413345:0x138},_0x16d343={_0x4da322:0xad,_0x34b250:0x183,_0x24a16a:0x3ce},_0x26add5={_0x34f6a5:0x146,_0x48480b:0x290};function _0x5b17d4(_0x56551a,_0x456436,_0x1b1fa7,_0x39d969){return _0x2cc51b(_0x39d969,_0x456436-0x92,_0x1b1fa7-_0x26add5._0x34f6a5,_0x456436- -_0x26add5._0x48480b);}function _0x2b16d4(_0x5cd828,_0x710a4d,_0x2b1e54,_0xf9de54){return _0x2cc51b(_0x5cd828,_0x710a4d-_0x16d343._0x4da322,_0x2b1e54-_0x16d343._0x34b250,_0xf9de54- -_0x16d343._0x24a16a);}if(!_0x3fb392[_0x5b17d4(0x11b,_0xd51897._0xdb55a0,0x130,_0xd51897._0x2a2b87)](_0x5b17d4(-0x7d,_0xd51897._0x1cf1ed,_0xd51897._0x413345,0x265)))return _0x3fb392;return _0xbf45f6(_0x3fb392);}function formatLocations(_0x2f1837){const _0x40b611={_0x3e4c49:0x60e},_0x51a3db={_0x4704c1:0xf9,_0x754efb:0x18c,_0x50c2b3:0x78,_0x518ec9:0x43f,_0x73401b:0x3db,_0x4bdc13:0x44b,_0xa77859:0x189},_0x10f7d1={_0x1f6b19:0x123},_0x16c531={_0x3be500:0x155};if(_0x2f1837['length']===0x0)return'No\x20locations\x20found';function _0x12937b(_0x13e001,_0xcb1437,_0x5fb7a4,_0x45c801){return _0x2cc51b(_0x45c801,_0xcb1437-0xe3,_0x5fb7a4-0xa7,_0xcb1437-_0x16c531._0x3be500);}return _0x2f1837[_0x12937b(0x518,_0x40b611._0x3e4c49,0x744,0x657)](_0x319e47=>{const _0x4a908d={_0x301713:0x169,_0x4b2a40:0x135,_0x187594:0x115};function _0x449cc7(_0xd5b7e1,_0x9db3da,_0x170579,_0x6f26cc){return _0x12937b(_0xd5b7e1-_0x4a908d._0x301713,_0x6f26cc- -_0x4a908d._0x4b2a40,_0x170579-_0x4a908d._0x187594,_0xd5b7e1);}const _0x4791df=_0x319e47[_0x449cc7(0x62b,0x553,0x436,0x55a)][_0x25ae4a(_0x51a3db._0x4704c1,0x185,_0x51a3db._0x754efb,_0x51a3db._0x50c2b3)];function _0x25ae4a(_0x4256bc,_0x10f184,_0x228353,_0x34152e){return _0x12937b(_0x4256bc-_0x10f7d1._0x1f6b19,_0x34152e- -0x5c0,_0x228353-0x17d,_0x10f184);}return locationPath(_0x319e47[_0x25ae4a(-0x52,-0x8a,-0x6b,-0x20)])+':'+(_0x4791df[_0x449cc7(0x298,_0x51a3db._0x518ec9,_0x51a3db._0x73401b,0x410)]+0x1)+':'+(_0x4791df[_0x449cc7(0x394,_0x51a3db._0x4bdc13,_0x51a3db._0xa77859,0x2e9)]+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x1da5b2){const _0x5dbc1e={_0x35b7b8:0x557,_0x2866e0:0x691,_0xfb97dc:0x4df,_0x340724:0x323,_0x1f6999:0x3c4},_0x1289a5={_0x318d29:0x38f,_0x5ce0ef:0x18e,_0x25729f:0x1cb},_0x291483={_0x3a8feb:0x15a};function _0x4e05a1(_0x221dcb,_0x523626,_0x396277,_0x1447b6){return _0x2cc51b(_0x221dcb,_0x523626-_0x291483._0x3a8feb,_0x396277-0x1c5,_0x396277-0x74);}function _0x25bbb2(_0x220d20,_0x5a92db,_0x30b420,_0xc082e2){return _0x38eb01(_0xc082e2,_0x220d20-_0x1289a5._0x318d29,_0x30b420-_0x1289a5._0x5ce0ef,_0xc082e2-_0x1289a5._0x25729f);}return _0x4e05a1(_0x5dbc1e._0x35b7b8,0x583,0x5ae,_0x5dbc1e._0x2866e0)in _0x1da5b2&&_0x4e05a1(_0x5dbc1e._0xfb97dc,_0x5dbc1e._0x340724,_0x5dbc1e._0x1f6999,0x3a6)in _0x1da5b2;}function formatSymbols(_0x497c0e){const _0x485759={_0x141a76:0x51a,_0x286837:0x3ab,_0xa7805e:0x18d,_0x3dec43:0x103,_0x1c8aca:0x14},_0x543023={_0x5bad8d:0x487,_0x12aa2b:0x547,_0x5b20a0:0x53b,_0x45f6e7:0x701,_0xac2177:0x5f4,_0x1f597d:0x733,_0x210cf2:0x75f,_0x44c9a6:0x5e9,_0x4da9df:0x3ea,_0x2a17f2:0x3b4,_0x13a3f2:0x2f4,_0x436fd4:0x372,_0x306b5b:0x393,_0x4f657b:0x344,_0x5339e9:0x3f1,_0x276639:0x31,_0x2cd433:0x13f,_0x533b6d:0x60a,_0x24e817:0x3df,_0x18dc56:0x5c4,_0x14accb:0x688,_0x4269e5:0x689,_0x12f5ea:0x7fb,_0x590521:0x340,_0x4653f5:0x41e,_0x4be5ab:0x327,_0x2f2dd1:0x72e,_0x34fd29:0x7b9,_0x5075bb:0x737,_0x137b07:0x810,_0x152dac:0x633,_0x41d499:0x279,_0x56bd91:0x230,_0x5bf7ea:0x3ea,_0x288cc3:0x40c,_0x1feef1:0x4ec,_0x22f374:0x211},_0x4b1e04={_0xefe7a9:0x1d1,_0x54e0f7:0xdb,_0xe0a803:0x129},_0x42bd01={_0x276938:0x9a,_0x2173c8:0x321},_0xc603f5={_0xe42a0a:0x1c9,_0x5a2f08:0xda,_0x176f79:0x6c};if(_0x497c0e[_0x559cf0(0x502,0x40d,_0x485759._0x141a76,0x471)]===0x0)return _0x559cf0(0x2e6,0x26b,_0x485759._0x286837,0x3a0);function _0x559cf0(_0xc47087,_0x2bd71c,_0x5bf441,_0x4034a5){return _0x2cc51b(_0xc47087,_0x2bd71c-_0xc603f5._0xe42a0a,_0x5bf441-_0xc603f5._0x5a2f08,_0x4034a5-_0xc603f5._0x176f79);}function _0x4cd4c8(_0xc29060,_0x369335,_0x9cf076,_0x555d68){return _0x2cc51b(_0xc29060,_0x369335-0x4b,_0x9cf076-_0x42bd01._0x276938,_0x369335- -_0x42bd01._0x2173c8);}return _0x497c0e[_0x4cd4c8(_0x485759._0xa7805e,0x198,0xe6,_0x485759._0x3dec43)](_0xf90d94=>{const _0x4a4fc3={_0x359d44:0x73,_0x38c809:0x1b0,_0x207c52:0x18d};if(isDocumentSymbol(_0xf90d94))return _0xf90d94['name']+'\x20('+_0xf90d94[_0x5e1de6(0x5af,_0x543023._0x5bad8d,_0x543023._0x12aa2b,_0x543023._0x5b20a0)]+')\x20['+(_0xf90d94[_0x5e1de6(_0x543023._0x45f6e7,_0x543023._0xac2177,_0x543023._0x1f597d,_0x543023._0x210cf2)]['start'][_0x5e1de6(0x5bf,0x4bb,_0x543023._0x44c9a6,0x714)]+0x1)+':'+(_0xf90d94[_0xd4f22(0x2d9,_0x543023._0x4da9df,_0x543023._0x2a17f2,_0x543023._0x13a3f2)][_0xd4f22(_0x543023._0x436fd4,_0x543023._0x306b5b,_0x543023._0x4f657b,_0x543023._0x5339e9)][_0xd4f22(_0x543023._0x276639,0x179,_0x543023._0x2cd433,0x0)]+0x1)+']';function _0x5e1de6(_0xfb0cbc,_0x26de22,_0x37dc7c,_0x434cfb){return _0x559cf0(_0xfb0cbc,_0x26de22-_0x4a4fc3._0x359d44,_0x37dc7c-_0x4a4fc3._0x38c809,_0x37dc7c-_0x4a4fc3._0x207c52);}function _0xd4f22(_0xe31056,_0xfa661a,_0x7a20ca,_0x3110ec){return _0x4cd4c8(_0x7a20ca,_0xfa661a-_0x4b1e04._0xefe7a9,_0x7a20ca-_0x4b1e04._0x54e0f7,_0x3110ec-_0x4b1e04._0xe0a803);}return _0xf90d94[_0x5e1de6(_0x543023._0x533b6d,_0x543023._0x24e817,0x4a7,0x53c)]+'\x20('+_0xf90d94[_0x5e1de6(_0x543023._0x18dc56,0x44f,0x547,_0x543023._0x14accb)]+')\x20'+locationPath(_0xf90d94[_0x5e1de6(0x65b,0x6b1,_0x543023._0x4269e5,_0x543023._0x12f5ea)][_0x5e1de6(0x7b1,0x770,0x644,0x682)])+':'+(_0xf90d94[_0xd4f22(0x3a3,_0x543023._0x590521,_0x543023._0x4653f5,_0x543023._0x4be5ab)][_0x5e1de6(_0x543023._0x2f2dd1,0x5f7,0x733,_0x543023._0x34fd29)][_0x5e1de6(_0x543023._0x5075bb,_0x543023._0x137b07,0x6dc,_0x543023._0x152dac)]['line']+0x1)+':'+(_0xf90d94[_0xd4f22(_0x543023._0x41d499,0x340,_0x543023._0x56bd91,0x29d)][_0xd4f22(0x564,_0x543023._0x5bf7ea,_0x543023._0x288cc3,_0x543023._0x1feef1)][_0xd4f22(0x4b5,0x393,_0x543023._0x22f374,0x2ac)]['character']+0x1);})[_0x4cd4c8(0x129,_0x485759._0x1c8aca,-0x11c,-0xa1)]('\x0a');}function formatDiagnostics(_0x51815a){const _0x43ab88={_0x15bbd3:0x239,_0x5f1fc3:0x20c,_0x52096a:0x368,_0x35af01:0x1a8},_0x79e66d={_0x47beda:0x126,_0xf559dd:0x8e,_0xcba783:0x4eb,_0x275d32:0x16e,_0x518612:0x10,_0x14f187:0xd,_0x2cd4fd:0x146,_0x202647:0x185,_0x2e7cf2:0x2d1,_0x157dd0:0x2be,_0x21dedc:0x464,_0x41b063:0x4b7},_0x2d9ab6={_0x1dfc06:0x76,_0x3e322d:0x38c},_0x87a6eb={_0x57e0dd:0x15,_0x29083e:0x1ea},_0x174ed3={_0x2f53d0:0x534},_0x5e4518={_0x3fd4bc:0x17,_0x4b9d88:0xf4};function _0x132988(_0x154275,_0x198cc7,_0x33c4c3,_0x5a7543){return _0x38eb01(_0x5a7543,_0x198cc7-0x311,_0x33c4c3-_0x5e4518._0x3fd4bc,_0x5a7543-_0x5e4518._0x4b9d88);}if(_0x51815a['length']===0x0)return _0x1ed2a3(-0x168,-_0x43ab88._0x15bbd3,-_0x43ab88._0x5f1fc3,-_0x43ab88._0x52096a);function _0x1ed2a3(_0x4b6814,_0x142f7d,_0x2a8d99,_0x41b767){return _0x2cc51b(_0x4b6814,_0x142f7d-0x10e,_0x2a8d99-0xac,_0x142f7d- -_0x174ed3._0x2f53d0);}return _0x51815a[_0x1ed2a3(-0x33,-0x7b,-0x1ea,0xd)](_0x29605a=>{const _0x28d5d7=_0x29605a[_0xdc65dd(-_0x79e66d._0x47beda,-_0x79e66d._0xf559dd,0xc5,-0x4d)][_0xd913a5(0x372,0x560,0x41c,_0x79e66d._0xcba783)];function _0xd913a5(_0x4670d7,_0x343897,_0x4d286f,_0x5d531e){return _0x1ed2a3(_0x4670d7,_0x4d286f-0x46d,_0x4d286f-_0x87a6eb._0x57e0dd,_0x5d531e-_0x87a6eb._0x29083e);}function _0xdc65dd(_0x5cbfb2,_0x32531c,_0x237547,_0x4a63f8){return _0x132988(_0x5cbfb2-_0x2d9ab6._0x1dfc06,_0x4a63f8- -_0x2d9ab6._0x3e322d,_0x237547-0x12,_0x237547);}return severityName(_0x29605a[_0xdc65dd(-_0x79e66d._0x275d32,-_0x79e66d._0x518612,0x11e,_0x79e66d._0x14f187)])+'\x20['+(_0x28d5d7[_0xdc65dd(-_0x79e66d._0x2cd4fd,-_0x79e66d._0x202647,-_0x79e66d._0x2e7cf2,-0x197)]+0x1)+':'+(_0x28d5d7[_0xdc65dd(-0x212,-0x184,-0x2b8,-_0x79e66d._0x157dd0)]+0x1)+']\x20'+_0x29605a[_0xd913a5(_0x79e66d._0x21dedc,0x37a,0x3b7,_0x79e66d._0x41b063)];})[_0x132988(0x20c,0x13a,0x289,_0x43ab88._0x35af01)]('\x0a');}function formatIncomingCalls(_0x503e08){const _0x3f2cec={_0x487ed9:0x2ac,_0x32dc8b:0x245,_0x1bbf5b:0x1b6,_0x1b89dd:0x321,_0x3c9654:0x3b7,_0x294200:0x284,_0xbfe18b:0x3ae,_0x1b6634:0x284,_0xfcfccc:0x2f1,_0x3e9e36:0x251},_0x21f4e5={_0x3eb63e:0xc6},_0x53a31d={_0x462aab:0x3d2,_0x31c5c4:0x1d6};function _0x2038f3(_0x14e9bd,_0x410f90,_0x382a48,_0x13e4f7){return _0x38eb01(_0x14e9bd,_0x13e4f7-_0x53a31d._0x462aab,_0x382a48-_0x53a31d._0x31c5c4,_0x13e4f7-0x1ea);}if(_0x503e08[_0x4e22cc(_0x3f2cec._0x487ed9,_0x3f2cec._0x32dc8b,_0x3f2cec._0x1bbf5b,_0x3f2cec._0x1b89dd)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x4e22cc(_0x1e546,_0x46d73a,_0x3f0048,_0x27ec00){return _0x38eb01(_0x46d73a,_0x27ec00-0x428,_0x3f0048-_0x21f4e5._0x3eb63e,_0x27ec00-0xad);}return _0x503e08[_0x4e22cc(_0x3f2cec._0x3c9654,_0x3f2cec._0x294200,_0x3f2cec._0xbfe18b,0x3d5)](_0x10563c=>_0x10563c[_0x4e22cc(0x456,0x3b4,0x47b,0x350)][_0x2038f3(0x4d,0x29c,0xd1,0x174)])[_0x4e22cc(0x175,_0x3f2cec._0x1b6634,_0x3f2cec._0xfcfccc,_0x3f2cec._0x3e9e36)]('\x0a');}function formatOutgoingCalls(_0x427db0){const _0x379d03={_0x238c4a:0x646,_0x42e000:0x3f4,_0x40f92e:0x307},_0x1a0838={_0x570c20:0x1e3};function _0x3d26a7(_0x23c38d,_0x41831b,_0x2502fd,_0x10cc8b){return _0x38eb01(_0x23c38d,_0x2502fd-0x5b8,_0x2502fd-_0x1a0838._0x570c20,_0x10cc8b-0x2e);}if(_0x427db0['length']===0x0)return _0x49c665(0x495,0x337,0x550,0x4c4);function _0x49c665(_0x1a5637,_0x209eab,_0x5cc71f,_0x5c7f0){return _0x38eb01(_0x5c7f0,_0x1a5637-0x5de,_0x5cc71f-0x103,_0x5c7f0-0x1cc);}return _0x427db0[_0x3d26a7(0x4f1,0x61d,0x565,_0x379d03._0x238c4a)](_0x55e3d4=>_0x55e3d4['to'][_0x49c665(0x380,0x46d,0x382,0x2cb)])[_0x49c665(0x407,_0x379d03._0x42e000,_0x379d03._0x40f92e,0x28e)]('\x0a');}function toStructured(_0x402e60){const _0x54d210={_0x45f9b7:0x273,_0x2e9007:0x39f,_0x5267a3:0x25f},_0x35aeac={_0x38e79c:0x1c9,_0x3b169b:0x8};function _0x2ee99a(_0x295cb7,_0x4cd9d5,_0x4c8a77,_0x29ead8){return _0x2cc51b(_0x4c8a77,_0x4cd9d5-_0x35aeac._0x38e79c,_0x4c8a77-_0x35aeac._0x3b169b,_0x29ead8- -0x66);}return JSON['parse'](JSON[_0x2ee99a(_0x54d210._0x45f9b7,0x269,_0x54d210._0x2e9007,_0x54d210._0x5267a3)](_0x402e60));}async function assertFile(_0x935d47){const _0x1c314f={_0x59dfe2:0x3e6,_0x5662dc:0x3a8,_0x4f8214:0x31e},_0x394925={_0x31d493:0x510,_0x56b845:0xca};function _0x5b90bd(_0x3a9dbe,_0x56b9a0,_0x1f6927,_0x30a7ef){return _0x38eb01(_0x3a9dbe,_0x30a7ef-_0x394925._0x31d493,_0x1f6927-0x8,_0x30a7ef-_0x394925._0x56b845);}const _0x391ff7=await _0x5dd2ef(_0x935d47);if(!_0x391ff7['isFile']())throw new ToolExecutionError(_0x5b90bd(_0x1c314f._0x59dfe2,0x222,_0x1c314f._0x5662dc,_0x1c314f._0x4f8214)+_0x935d47,{'path':_0x935d47});}function validatePosition(_0x2d06d2,_0x3ff221){const _0x5a00de={_0x303b44:0x43d,_0x21e794:0x641},_0x398fae={_0x4568b4:0x13b};function _0x4de64b(_0x2db17b,_0x4f995b,_0x3eb8c4,_0x480108){return _0x38eb01(_0x3eb8c4,_0x480108-0x721,_0x3eb8c4-_0x398fae._0x4568b4,_0x480108-0x1ea);}if(!Number['isInteger'](_0x2d06d2)||_0x2d06d2<0x1)throw new ToolExecutionError(_0x4de64b(_0x5a00de._0x303b44,0x44f,_0x5a00de._0x21e794,0x567),{'line':_0x2d06d2});if(!Number['isInteger'](_0x3ff221)||_0x3ff221<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x3ff221});}function createLspTool(_0x4de5b3={}){const _0x2ede82={_0x57e498:0x207,_0x45767f:0x301,_0x33601e:0x361,_0x454691:0x309,_0x31e75d:0x424,_0x4175a3:0x46d,_0xa6b645:0x2c,_0x3bc570:0xfd,_0x4d660a:0x231,_0x405d9e:0x172,_0x1d5478:0x3a,_0x52d74b:0x177,_0x68503c:0x7,_0x21593e:0xfa,_0x485dbe:0x65,_0x2d472b:0x4d6,_0x58c45b:0x361,_0x146929:0x4b0,_0x3c7ace:0x491,_0x5822d3:0x59d,_0x16ce94:0x477,_0x332aeb:0x42f,_0x24d52c:0x279,_0x375746:0x3cd,_0x5c1059:0x353,_0x3ab84e:0x163,_0x16c9e8:0x88,_0x14610a:0xd6,_0x578acf:0x198,_0x53168b:0xcb,_0x11dd19:0x90,_0x50a58f:0x45,_0x4478ba:0x43,_0x517330:0x119,_0x232c86:0xcd,_0x5a86ab:0x415,_0xca5976:0x178,_0x3a6db9:0x107,_0x2ba1f4:0x189,_0x2904a0:0x2db,_0x317b32:0x211,_0x2f8df3:0x1c9,_0xad196:0x2ce},_0x2b1bcd={_0x13be7e:0x19,_0x147a3b:0xfa,_0x92d602:0xd2,_0x291c0f:0x122,_0x45c96e:0x259,_0x2a8f65:0x204,_0x47e739:0x7e,_0x51eaeb:0x1d3,_0xdb5f2c:0xed,_0x61126e:0x259,_0x11f8af:0xa9,_0x9f2dd4:0x1dc,_0x144373:0x1e2,_0x4fcc8c:0x81,_0x292626:0xbb,_0x5bb423:0x671,_0x39067a:0x703,_0x10e5f0:0x1d,_0x1269b7:0x26,_0x288a1b:0x20,_0x4f4283:0x716,_0x10d665:0x7ff,_0x3884cd:0x1ba,_0x26a353:0xda,_0x3acc65:0xa,_0x410fb8:0x785,_0x2537d0:0x1c,_0x2d9952:0x593,_0x3987ba:0x4f8,_0x4de3e6:0x5e9,_0x356284:0x5da,_0x20216d:0x5b,_0xefbd4:0x71,_0xb3de4e:0x1c9,_0xdd667:0xb3,_0x2a4259:0x60,_0x49fa7f:0x1a,_0x35d1e0:0x507,_0x3ce1b3:0x3d7,_0xee74a9:0x5fe,_0x17c416:0x592,_0x2c941d:0x1e1,_0x4a9567:0xdb,_0x27c13d:0x120,_0x228b1b:0xd5,_0x469bfa:0xa0,_0x1e4cbb:0x6b7,_0x4c1fe3:0x588,_0x36d14a:0x5d6,_0x51eb13:0x99,_0x568c17:0x6e7,_0x390e04:0x5cb,_0x2e7b6f:0x689,_0x4cf11a:0x6df,_0x2ea8b4:0x48d,_0x18dfc2:0x6cf,_0x5d89c4:0x5bf,_0x25856d:0x4de,_0x3cee1d:0x6db,_0x8c8c68:0x575,_0x1ed880:0x210,_0x4c90b7:0x41,_0x2e3130:0x14f},_0x385500={_0x1d4e2d:0xdc},_0x4b5f67={_0x51019b:0x511,_0x1be470:0x1c9},_0x59030f={_0x257e05:0x145};function _0x112a8d(_0x46a5ef,_0x5b479e,_0x4c73f5,_0x19bf94){return _0x2cc51b(_0x5b479e,_0x5b479e-0x10a,_0x4c73f5-_0x59030f._0x257e05,_0x46a5ef- -0x4df);}const _0x43012b=_0x18362a[_0x112a8d(-0x1eb,-0x2f1,-0x125,-0xbf)](_0x4de5b3[_0x2d5a1b(_0x2ede82._0x57e498,0x328,_0x2ede82._0x45767f,_0x2ede82._0x33601e)]??process[_0x2d5a1b(_0x2ede82._0x454691,_0x2ede82._0x31e75d,_0x2ede82._0x4175a3,0x3be)]()),_0x37ff83=_0x4de5b3[_0x112a8d(_0x2ede82._0xa6b645,-0x47,_0x2ede82._0x3bc570,0xc)]??[];function _0x2d5a1b(_0x20cd47,_0x4a78b2,_0xe2b4b8,_0x58d4ab){return _0x38eb01(_0x20cd47,_0xe2b4b8-_0x4b5f67._0x51019b,_0xe2b4b8-_0x4b5f67._0x1be470,_0x58d4ab-0x143);}const _0x137398=_0x4de5b3[_0x112a8d(-_0x2ede82._0x4d660a,-0x128,-0x128,-_0x2ede82._0x405d9e)]??_0x112a8d(0x5,-_0x2ede82._0x1d5478,-_0x2ede82._0x52d74b,-0x141);return defineTool({'name':_0x137398,'permissionClass':'read','description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x112a8d(-0x67,_0x2ede82._0x68503c,_0x2ede82._0x21593e,_0x2ede82._0x485dbe),'properties':{'operation':{'type':'string','enum':[_0x2d5a1b(_0x2ede82._0x2d472b,_0x2ede82._0x58c45b,0x471,0x318),'findReferences','hover',_0x2d5a1b(_0x2ede82._0x146929,_0x2ede82._0x3c7ace,0x3d7,0x434),_0x2d5a1b(_0x2ede82._0x5822d3,0x492,_0x2ede82._0x16ce94,_0x2ede82._0x332aeb),'goToImplementation',_0x2d5a1b(_0x2ede82._0x24d52c,0x4e4,_0x2ede82._0x375746,_0x2ede82._0x5c1059),_0x112a8d(-_0x2ede82._0x3ab84e,-0x24e,-_0x2ede82._0x16c9e8,-0x111),_0x112a8d(-_0x2ede82._0x14610a,0x35,-0x153,-_0x2ede82._0x578acf),_0x112a8d(-_0x2ede82._0x53168b,0x5,-_0x2ede82._0x11dd19,-0xe0)]},'filePath':{'type':'string'},'line':{'type':_0x112a8d(-_0x2ede82._0x50a58f,-_0x2ede82._0x4478ba,-_0x2ede82._0x517330,-_0x2ede82._0x232c86)},'character':{'type':_0x2d5a1b(0x33c,_0x2ede82._0x5a86ab,0x49f,0x327)},'query':{'type':'string'}},'required':[_0x112a8d(0x3b,_0x2ede82._0xca5976,-_0x2ede82._0x3a6db9,0x13d),_0x112a8d(-_0x2ede82._0x2ba1f4,-0x132,-_0x2ede82._0x2904a0,-0x147),'line',_0x2d5a1b(_0x2ede82._0x317b32,_0x2ede82._0x2f8df3,_0x2ede82._0xad196,0x33e)]},async *'execute'(_0x3148e3){const _0x126534=_0x4de5b3['lspService'];function _0xefb2e4(_0x3f7e75,_0x11cded,_0x49646a,_0x230c24){return _0x112a8d(_0x49646a-0x6d8,_0x230c24,_0x49646a-0xba,_0x230c24-_0x385500._0x1d4e2d);}if(!_0x126534)throw new ToolExecutionError(_0x15bf67(-0x19d,-_0x2b1bcd._0x13be7e,-_0x2b1bcd._0x147a3b,-0x70));if(!_0x126534[_0x15bf67(-_0x2b1bcd._0x92d602,-_0x2b1bcd._0x291c0f,-0x143,-0x109)]())throw new ToolExecutionError(_0x15bf67(-0x1d5,-0x13c,-_0x2b1bcd._0x45c96e,-_0x2b1bcd._0x2a8f65));const _0x46033a=_0x3148e3[_0x15bf67(0x22,_0x2b1bcd._0x47e739,-0xd8,0x1ff)];validatePosition(_0x3148e3['line'],_0x3148e3[_0x15bf67(-0x119,-_0x2b1bcd._0x51eaeb,-_0x2b1bcd._0xdb5f2c,-0x192)]);if(_0x46033a==='workspaceSymbol'){if(!_0x3148e3[_0x15bf67(_0x2b1bcd._0x61126e,0xe0,_0x2b1bcd._0x11f8af,_0x2b1bcd._0x9f2dd4)]?.[_0x15bf67(_0x2b1bcd._0x144373,_0x2b1bcd._0x4fcc8c,_0x2b1bcd._0x292626,0xd8)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x5d2a7f=await _0x126534[_0xefb2e4(_0x2b1bcd._0x5bb423,_0x2b1bcd._0x39067a,0x66b,0x711)](_0x3148e3[_0x15bf67(_0x2b1bcd._0x10e5f0,0xe0,_0x2b1bcd._0x1269b7,_0x2b1bcd._0x288a1b)][_0xefb2e4(0x600,0x6af,_0x2b1bcd._0x4f4283,_0x2b1bcd._0x10d665)]());return yield createToolOutput(formatSymbols(_0x5d2a7f),{'operation':_0x46033a,'query':_0x3148e3['query'],'symbols':_0x5d2a7f}),void 0x0;}const _0x15217b=resolveAllowedPath(_0x43012b,_0x37ff83,_0x3148e3['filePath']);function _0x15bf67(_0x46bbaa,_0xa13035,_0x2a89ca,_0x6c23ea){return _0x112a8d(_0xa13035-0x43,_0x46bbaa,_0x2a89ca-0x8e,_0x6c23ea-0x168);}await assertFile(_0x15217b);if(!await _0x126534[_0x15bf67(_0x2b1bcd._0x3884cd,_0x2b1bcd._0x26a353,0x5f,-_0x2b1bcd._0x3acc65)](_0x15217b))throw new ToolExecutionError(_0xefb2e4(0x8ed,0x7d3,_0x2b1bcd._0x410fb8,0x70b)+_0x3148e3[_0x15bf67(-0x12d,-0x146,-_0x2b1bcd._0x2537d0,-0x1c)],{'filePath':_0x3148e3['filePath']});await _0x126534[_0xefb2e4(0x475,_0x2b1bcd._0x2d9952,0x5b9,_0x2b1bcd._0x3987ba)](_0x15217b,!![]);const _0x21af62={'file':_0x15217b,'line':_0x3148e3[_0xefb2e4(0x61d,0x59b,_0x2b1bcd._0x4de3e6,0x5b0)]-0x1,'character':_0x3148e3[_0xefb2e4(_0x2b1bcd._0x356284,0x3f2,0x4c2,0x450)]-0x1};switch(_0x46033a){case _0x15bf67(_0x2b1bcd._0x20216d,_0x2b1bcd._0xefbd4,0x116,_0x2b1bcd._0xb3de4e):{const _0x3df142=await _0x126534['hover'](_0x21af62);return yield createToolOutput(formatHover(_0x3df142),{'operation':_0x46033a,'filePath':_0x15217b,'hover':_0x3df142}),void 0x0;}case _0x15bf67(_0x2b1bcd._0xdd667,-0x88,-_0x2b1bcd._0x2a4259,_0x2b1bcd._0x49fa7f):{const _0x5ed3a9=await _0x126534[_0xefb2e4(0x4d4,0x67a,_0x2b1bcd._0x35d1e0,_0x2b1bcd._0x3ce1b3)](_0x15217b);return yield createToolOutput(formatDiagnostics(_0x5ed3a9),{'operation':_0x46033a,'filePath':_0x15217b,'diagnostics':_0x5ed3a9}),void 0x0;}case _0xefb2e4(_0x2b1bcd._0xee74a9,_0x2b1bcd._0x17c416,0x665,0x7e7):{const _0x83c70d=await _0x126534[_0x15bf67(-0x238,-_0x2b1bcd._0x2c941d,-0x81,-_0x2b1bcd._0x4a9567)](_0x21af62);return yield createToolOutput(formatLocations(_0x83c70d),{'operation':_0x46033a,'filePath':_0x15217b,'locations':_0x83c70d}),void 0x0;}case _0x15bf67(_0x2b1bcd._0x92d602,-0xf,-0x93,-_0x2b1bcd._0x27c13d):{const _0x3c2da4=await _0x126534[_0x15bf67(0x30,-_0x2b1bcd._0x228b1b,_0x2b1bcd._0x469bfa,0x4b)](_0x21af62);return yield createToolOutput(formatLocations(_0x3c2da4),{'operation':_0x46033a,'filePath':_0x15217b,'locations':_0x3c2da4}),void 0x0;}case _0xefb2e4(_0x2b1bcd._0x1e4cbb,_0x2b1bcd._0x4c1fe3,_0x2b1bcd._0x36d14a,0x666):{const _0x575389=await _0x126534[_0x15bf67(-0x286,-0x155,-0x2db,-_0x2b1bcd._0x51eb13)](_0x21af62);return yield createToolOutput(formatLocations(_0x575389),{'operation':_0x46033a,'filePath':_0x15217b,'locations':_0x575389}),void 0x0;}case _0xefb2e4(0x555,_0x2b1bcd._0x568c17,_0x2b1bcd._0x390e04,_0x2b1bcd._0x2e7b6f):{const _0x5f4cbe=await _0x126534[_0x15bf67(-0x204,-0xca,-0x17,0xa2)](_0x15217b);return yield createToolOutput(formatSymbols(_0x5f4cbe),{'operation':_0x46033a,'filePath':_0x15217b,'symbols':_0x5f4cbe}),void 0x0;}case _0xefb2e4(_0x2b1bcd._0x4cf11a,_0x2b1bcd._0x2ea8b4,0x5c1,_0x2b1bcd._0x18dfc2):{const _0x5382ec=await _0x126534['prepareCallHierarchy'](_0x21af62);return yield createToolOutput(formatSymbols(_0x5382ec),{'operation':_0x46033a,'filePath':_0x15217b,'symbols':toStructured(_0x5382ec)}),void 0x0;}case _0xefb2e4(0x638,_0x2b1bcd._0x5d89c4,0x575,_0x2b1bcd._0x25856d):{const _0x4414da=await _0x126534[_0xefb2e4(_0x2b1bcd._0x3cee1d,0x512,_0x2b1bcd._0x8c8c68,0x494)](_0x21af62);return yield createToolOutput(formatIncomingCalls(_0x4414da),{'operation':_0x46033a,'filePath':_0x15217b,'calls':toStructured(_0x4414da)}),void 0x0;}case _0x15bf67(-_0x2b1bcd._0x1ed880,-0x93,-_0x2b1bcd._0x4c90b7,-_0x2b1bcd._0x2e3130):{const _0x139dc6=await _0x126534['outgoingCalls'](_0x21af62);return yield createToolOutput(formatOutgoingCalls(_0x139dc6),{'operation':_0x46033a,'filePath':_0x15217b,'calls':toStructured(_0x139dc6)}),void 0x0;}}}});}import{randomUUID as _0x209918}from'crypto';import{mkdir as _0x14881c,readFile as _0x14a416,writeFile as _0x2d8983}from'fs/promises';import{join as _0x5c9f43}from'path';function sanitizeStorageKey(_0x1c14f4){const _0xcda9dc={_0x8cf345:0x387,_0x2f0b73:0xb6},_0x514c09={_0x53b346:0x4eb},_0x1be998={_0x7940e0:0x10f,_0x150545:0x14a};function _0x1cdd20(_0x2728cc,_0x20b28a,_0x147198,_0x5350e5){return _0x38eb01(_0x5350e5,_0x147198-_0x1be998._0x7940e0,_0x147198-_0x1be998._0x150545,_0x5350e5-0x50);}function _0x2a659f(_0x202f67,_0x5db8db,_0x4f466e,_0x42cdf9){return _0x38eb01(_0x42cdf9,_0x202f67-_0x514c09._0x53b346,_0x4f466e-0x19b,_0x42cdf9-0x1c7);}return _0x1c14f4[_0x2a659f(0x26b,0x18a,0x21a,_0xcda9dc._0x8cf345)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x1cdd20(0xb3,0x19f,0x98,_0xcda9dc._0x2f0b73);}function storagePath(_0x579455){const _0x3400e1={_0x55cb93:0x3f5,_0x33f126:0x249,_0x54cf14:0x338,_0x222018:0x36c,_0x3ff010:0x310,_0x28826d:0x2d9,_0x229743:0x2b5,_0x433b90:0x1a4,_0x4f3da9:0x295,_0x3fc6bf:0x2ba,_0x277ee4:0x1da,_0x22704d:0x2a2},_0x418def={_0x21f0ed:0x17b},_0x127ac9={_0x3ffbfa:0x10b,_0x9648ee:0x13d,_0x2f640b:0x1a8},_0x44ac81=sanitizeStorageKey(_0x579455[_0xe089e7(_0x3400e1._0x55cb93,0x3cf,0x2b4,_0x3400e1._0x33f126)][_0xe089e7(_0x3400e1._0x54cf14,_0x3400e1._0x222018,_0x3400e1._0x3ff010,0x3df)]?.['tokenStorageKey']??_0x579455[_0x30e8ac(0x25a,0x4f4,0x387,_0x3400e1._0x28826d)]);function _0x30e8ac(_0x3ab8b8,_0x5154c9,_0x1fc780,_0x2f5a1a){return _0x2cc51b(_0x3ab8b8,_0x5154c9-_0x127ac9._0x3ffbfa,_0x1fc780-_0x127ac9._0x9648ee,_0x1fc780- -_0x127ac9._0x2f640b);}function _0xe089e7(_0x2036c1,_0x2bc2f1,_0x56b09b,_0xb09e18){return _0x2cc51b(_0x56b09b,_0x2bc2f1-0x89,_0x56b09b-0x1e6,_0x2bc2f1- -_0x418def._0x21f0ed);}return _0x5c9f43(_0x579455[_0xe089e7(0x1c7,_0x3400e1._0x229743,_0x3400e1._0x433b90,_0x3400e1._0x4f3da9)],_0x44ac81+_0xe089e7(0x36f,_0x3400e1._0x3fc6bf,_0x3400e1._0x277ee4,_0x3400e1._0x22704d));}async function readStore(_0x3f0814){const _0x19d7db={_0x3587b6:0x165,_0x56afa0:0x148,_0x420baa:0x145,_0x2e2bee:0xa4,_0x49741d:0xdc,_0xbc4472:0x131},_0x41595c={_0x34df8e:0x1d9,_0x5e15b6:0x36f},_0x582888={_0x26903c:0x10b,_0x182c57:0x1d3};function _0x148075(_0x180f5d,_0x443220,_0x291ed1,_0x215a91){return _0x2cc51b(_0x291ed1,_0x443220-_0x582888._0x26903c,_0x291ed1-_0x582888._0x182c57,_0x443220- -0x4e0);}function _0x452dad(_0x4ab3b0,_0x17803e,_0x203591,_0x460015){return _0x2cc51b(_0x203591,_0x17803e-0x1f,_0x203591-_0x41595c._0x34df8e,_0x4ab3b0- -_0x41595c._0x5e15b6);}try{return JSON['parse'](await _0x14a416(_0x3f0814,'utf8'));}catch(_0x54a9fe){if(_0x54a9fe instanceof Error&&_0x148075(-_0x19d7db._0x3587b6,-0x215,-_0x19d7db._0x56afa0,-_0x19d7db._0x420baa)in _0x54a9fe&&_0x54a9fe[_0x452dad(-_0x19d7db._0x2e2bee,-0x11,-_0x19d7db._0x49741d,-_0x19d7db._0xbc4472)]==='ENOENT')return{};throw _0x54a9fe;}}async function writeStore(_0x277706,_0x49db78){const _0x54f5a2={_0x1ac070:0x36,_0x58eac1:0x15,_0x2d9fe4:0x35,_0x4741b4:0x123,_0x541899:0xa0,_0x148821:0x47},_0x31f0db={_0x5c46f2:0x19d,_0x3c6974:0x57,_0x2f041d:0x2da},_0xc2db5={_0x405bc1:0x105};function _0x51c372(_0x330077,_0x5ec12a,_0xcd9bed,_0x40e087){return _0x2cc51b(_0x330077,_0x5ec12a-0x30,_0xcd9bed-_0xc2db5._0x405bc1,_0x5ec12a- -0x4d6);}await _0x14881c(_0x5c9f43(_0x277706,'..'),{'recursive':!![]});function _0x2f6424(_0xa94699,_0xa17334,_0x33e61e,_0xeea50d){return _0x2cc51b(_0xa94699,_0xa17334-_0x31f0db._0x5c46f2,_0x33e61e-_0x31f0db._0x3c6974,_0xa17334- -_0x31f0db._0x2f041d);}await _0x2d8983(_0x277706,JSON[_0x2f6424(_0x54f5a2._0x1ac070,-_0x54f5a2._0x58eac1,-0x181,_0x54f5a2._0x2d9fe4)](_0x49db78,null,0x2),_0x51c372(-_0x54f5a2._0x4741b4,-0xed,-_0x54f5a2._0x541899,-_0x54f5a2._0x148821));}async function updateStore(_0x21fab9,_0x1c297a){const _0xb5064=await readStore(_0x21fab9);_0x1c297a(_0xb5064),await writeStore(_0x21fab9,_0xb5064);}function createMcpOAuthProvider(_0xeb39ca){const _0x29a005={_0x54dee0:0x7a,_0x448286:0x128,_0x50ade9:0x58,_0x260610:0x5d,_0x3baedd:0xb,_0x598ab7:0xbb,_0x848eea:0xed,_0x1ab4c1:0x26d,_0x15a001:0x21b,_0xbe139:0x2ce,_0x1a01aa:0x477,_0x1364a1:0x5d5,_0x3541f7:0x4e4,_0x20b636:0x59f,_0x2ea6b3:0x3fd,_0x15e976:0x29e},_0x36b8fc={_0x36a5aa:0x3bd,_0x4dbc47:0x475},_0x567e4f={_0x235359:0x151},_0x4779f5={_0xbfdbf7:0xe9,_0x17ed81:0xfd,_0x134c35:0x177},_0x26e951={_0x17a9c8:0x518,_0x302b17:0x240},_0x183b63={_0x45cf6d:0xbf,_0x1af283:0x6,_0x4c516e:0x191},_0x4f5a00={_0x449944:0x82,_0x54fcbd:0x24f,_0x22b9e0:0xca},_0x91fa6f={_0x480429:0x6f,_0x5e29ac:0x1f,_0x50ea2e:0xc},_0x2c4bea={_0x4b784a:0x529},_0x596ffa={_0x21de26:0x151};function _0x47dd36(_0x2a79b1,_0x398751,_0xe84979,_0x478f6c){return _0x38eb01(_0x2a79b1,_0x478f6c- -0x96,_0xe84979-_0x596ffa._0x21de26,_0x478f6c-0xf);}function _0x1cb06e(_0x4c9902,_0x5403e0,_0x20b4cb,_0xb8264a){return _0x2cc51b(_0x4c9902,_0x5403e0-0x10f,_0x20b4cb-0x17a,_0x20b4cb- -0x32);}const _0x1ec832=storagePath(_0xeb39ca),_0x4d24de=_0xeb39ca[_0x47dd36(0x36,-_0x29a005._0x54dee0,-_0x29a005._0x448286,-_0x29a005._0x50ade9)][_0x47dd36(_0x29a005._0x260610,-0x1ac,-_0x29a005._0x3baedd,-_0x29a005._0x598ab7)]?.['scopes']?.[_0x47dd36(-_0x29a005._0x848eea,-0x270,-0x206,-_0x29a005._0x1ab4c1)]('\x20'),_0x5bd941={'client_name':_0x1cb06e(0x2b7,0x331,0x34f,0x233),'redirect_uris':[_0xeb39ca['callbackUrl']],'grant_types':[_0x47dd36(-_0x29a005._0x15a001,-0x43e,-0x379,-_0x29a005._0xbe139),_0x1cb06e(_0x29a005._0x1a01aa,_0x29a005._0x1364a1,_0x29a005._0x3541f7,_0x29a005._0x20b636)],'response_types':['code'],'token_endpoint_auth_method':_0x1cb06e(_0x29a005._0x2ea6b3,_0x29a005._0x15e976,0x2f2,0x2c1),..._0x4d24de?{'scope':_0x4d24de}:{}};return{'clientMetadataUrl':_0xeb39ca['config']['oauth']?.['clientMetadataUrl'],get 'redirectUrl'(){const _0x124a6d={_0x42b308:0x1a7};function _0x3b2bb6(_0x173ace,_0x534a2c,_0x33752c,_0x40c794){return _0x1cb06e(_0x33752c,_0x534a2c-_0x124a6d._0x42b308,_0x173ace-0x1bb,_0x40c794-0xcd);}return _0xeb39ca[_0x3b2bb6(0x4d6,0x57e,_0x2c4bea._0x4b784a,0x65b)];},get 'clientMetadata'(){return _0x5bd941;},async 'state'(){const _0x1b60a4={_0x2ebacc:0x75,_0x4a90d4:0x5c,_0x185ad8:0xc2},_0x24235f=await readStore(_0x1ec832);if(_0x24235f['state'])return _0x24235f[_0x4445ac(_0x91fa6f._0x480429,_0x91fa6f._0x5e29ac,-_0x91fa6f._0x50ea2e,-0x29)];const _0x57ab75=_0x209918();await updateStore(_0x1ec832,_0x40b421=>{function _0x14eb8d(_0x151271,_0x18eee6,_0x5bfea8,_0x3376e2){return _0x4445ac(_0x151271-0x133,_0x18eee6-0x107,_0x18eee6,_0x3376e2-0xeb);}_0x40b421[_0x14eb8d(_0x1b60a4._0x2ebacc,-_0x1b60a4._0x4a90d4,0x1ce,_0x1b60a4._0x185ad8)]=_0x57ab75;});function _0x4445ac(_0x2e72e6,_0x4d2c73,_0x53031a,_0x23d4a5){return _0x1cb06e(_0x53031a,_0x4d2c73-0x143,_0x23d4a5- -0x50c,_0x23d4a5-0x2b);}return _0x57ab75;},async 'clientInformation'(){return(await readStore(_0x1ec832))['clientInformation'];},async 'saveClientInformation'(_0x34dc74){await updateStore(_0x1ec832,_0x59cadd=>{function _0x15f9c8(_0x1e9e26,_0x1b9654,_0x41f6f1,_0x56a4c1){return _0x29c8(_0x56a4c1-0xc,_0x1b9654);}_0x59cadd[_0x15f9c8(_0x4f5a00._0x449944,_0x4f5a00._0x54fcbd,_0x4f5a00._0x22b9e0,0x1aa)]=_0x34dc74;});},async 'tokens'(){const _0x4bb969={_0x366ab8:0xf4,_0x2b823a:0x144,_0x126eac:0x1c8};function _0x2305c5(_0x1b4a29,_0x197cc8,_0x35aa51,_0x22a67c){return _0x1cb06e(_0x35aa51,_0x197cc8-_0x4bb969._0x366ab8,_0x22a67c- -_0x4bb969._0x2b823a,_0x22a67c-_0x4bb969._0x126eac);}return(await readStore(_0x1ec832))[_0x2305c5(_0x183b63._0x45cf6d,_0x183b63._0x1af283,_0x183b63._0x4c516e,0x120)];},async 'saveTokens'(_0x3d0ab7){await updateStore(_0x1ec832,_0x26aedf=>{function _0x588fad(_0x3314c0,_0x261233,_0x34a86c,_0x19f4a5){return _0x29c8(_0x34a86c-0x2f3,_0x19f4a5);}_0x26aedf[_0x588fad(_0x26e951._0x17a9c8,_0x26e951._0x302b17,0x3b8,0x25f)]=_0x3d0ab7;});},async 'redirectToAuthorization'(_0x2d79b1){function _0x4e5128(_0x4151d9,_0x5e7511,_0x1b0ccc,_0x4675e8){return _0x1cb06e(_0x4675e8,_0x5e7511-_0x4779f5._0xbfdbf7,_0x4151d9-_0x4779f5._0x17ed81,_0x4675e8-_0x4779f5._0x134c35);}await _0xeb39ca[_0x4e5128(0x5bf,0x62f,0x668,0x577)](_0x2d79b1);},async 'saveCodeVerifier'(_0x407ae2){const _0x2027cd={_0x272b1d:0xfa,_0x2d3f71:0x86};await updateStore(_0x1ec832,_0x335525=>{function _0x1ae5a3(_0x52b47a,_0x55ac0e,_0x52a08c,_0x4935bc){return _0x29c8(_0x52b47a- -0x134,_0x4935bc);}_0x335525[_0x1ae5a3(_0x2027cd._0x272b1d,-_0x2027cd._0x2d3f71,0x165,0x106)]=_0x407ae2;});},async 'codeVerifier'(){const _0x25d5cd=(await readStore(_0x1ec832))['codeVerifier'];if(!_0x25d5cd)throw new Error(_0x49d76a(_0x36b8fc._0x36a5aa,_0x36b8fc._0x4dbc47,0x4a6,0x470));function _0x49d76a(_0x16ea83,_0x4ac04e,_0x8c1dbb,_0x44d1c6){return _0x1cb06e(_0x8c1dbb,_0x4ac04e-0x18d,_0x44d1c6- -0x89,_0x44d1c6-_0x567e4f._0x235359);}return _0x25d5cd;},async 'invalidateCredentials'(_0x2e48d2){const _0x2fff52={_0x79b628:0xb,_0x5aad89:0xd0,_0x4df9b0:0x109,_0x39d49a:0x1e9,_0x2eb647:0xdc,_0x2a3372:0x4b,_0x1f9718:0x2cb,_0x4adbfe:0x3f1,_0x957289:0x469,_0x1acd3b:0x121,_0x49f4ed:0x55,_0x1dc508:0x6ec,_0x11ca4a:0x602,_0x47c2ba:0x606,_0x9fb20f:0x544,_0x3feecc:0x542,_0x1025d4:0x685,_0x1d7a93:0x87,_0x4237bf:0x411,_0x75b94e:0x406},_0x374e67={_0x2a40ac:0xc2};await updateStore(_0x1ec832,_0x4d3753=>{(_0x2e48d2==='all'||_0x2e48d2===_0x38f01f(0xfb,-_0x2fff52._0x79b628,-_0x2fff52._0x5aad89,_0x2fff52._0x4df9b0))&&(_0x4d3753[_0x38f01f(_0x2fff52._0x39d49a,_0x2fff52._0x2eb647,0xee,_0x2fff52._0x2a3372)]=void 0x0);(_0x2e48d2===_0x5b037e(_0x2fff52._0x1f9718,_0x2fff52._0x4adbfe,_0x2fff52._0x957289,0x44a)||_0x2e48d2==='tokens')&&(_0x4d3753['tokens']=void 0x0);(_0x2e48d2===_0x38f01f(-_0x2fff52._0x1acd3b,0x24,0x26,_0x2fff52._0x49f4ed)||_0x2e48d2===_0x5b037e(0x495,0x5ee,_0x2fff52._0x1dc508,_0x2fff52._0x11ca4a))&&(_0x4d3753[_0x5b037e(0x544,0x539,_0x2fff52._0x47c2ba,_0x2fff52._0x9fb20f)]=void 0x0,_0x4d3753[_0x5b037e(_0x2fff52._0x3feecc,0x64f,0x564,_0x2fff52._0x1025d4)]=void 0x0);function _0x5b037e(_0x2473ed,_0x3e640e,_0x55f6ef,_0x3a55e9){return _0x29c8(_0x3e640e-0x30b,_0x2473ed);}function _0x38f01f(_0x342369,_0x44e13e,_0x43001e,_0x38374c){return _0x29c8(_0x44e13e- -_0x374e67._0x2a40ac,_0x342369);}(_0x2e48d2===_0x38f01f(-_0x2fff52._0x1d7a93,0x24,0x169,-0x35)||_0x2e48d2===_0x38f01f(0x21b,0x2b6,_0x2fff52._0x4237bf,_0x2fff52._0x75b94e))&&(_0x4d3753['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x149c65){const _0x464cef={_0x56d3a1:0x641,_0x49ed3a:0x667,_0x39a179:0x7d7};await updateStore(_0x1ec832,_0x459218=>{function _0x383f78(_0x338e16,_0x543159,_0x381b6a,_0x1026c1){return _0x29c8(_0x381b6a-0x37c,_0x543159);}_0x459218[_0x383f78(_0x464cef._0x56d3a1,0x7df,_0x464cef._0x49ed3a,_0x464cef._0x39a179)]=_0x149c65;});},async 'discoveryState'(){return(await readStore(_0x1ec832))['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(_0x37aa80,_0x15a66a){const _0x27b6c4={_0x21f2fc:0xb9},_0x23adb2={_0x23864b:0x17e};function _0x57d292(_0x158e1f,_0x2e9130,_0x389e48,_0x299218){return _0x38eb01(_0x389e48,_0x2e9130-0x1f,_0x389e48-0x57,_0x299218-0x7f);}function _0x2f9928(_0x17ba55,_0x1444dc,_0x22e2e5,_0x479462){return _0x2cc51b(_0x479462,_0x1444dc-0x170,_0x22e2e5-0x6c,_0x22e2e5- -_0x23adb2._0x23864b);}const _0x820909=_0x3ca833=>_0x3ca833[_0x2f9928(0x1f1,0xb0,0x10e,0x26)](/[^a-zA-Z0-9_]+/g,'_')[_0x2f9928(0x11d,0xd8,0x10e,0xf2)](/^_+|_+$/g,'');return _0x57d292(_0x27b6c4._0x21f2fc,0x45,-0x5f,0x103)+_0x820909(_0x37aa80)+'_'+_0x820909(_0x15a66a);}function isObject(_0x1d7939){const _0x400262={_0x4024ff:0x1b1,_0x44143b:0x1ba},_0x43c7f4={_0x1ffdab:0x4c};function _0xb53e6e(_0x34bb6b,_0x15c3c1,_0x2ec59a,_0x3cddf8){return _0x38eb01(_0x34bb6b,_0x2ec59a-0x2fe,_0x2ec59a-0xb9,_0x3cddf8-_0x43c7f4._0x1ffdab);}return typeof _0x1d7939==='object'&&_0x1d7939!==null&&!Array[_0xb53e6e(0x9e,_0x400262._0x4024ff,0x1e9,_0x400262._0x44143b)](_0x1d7939);}function toSupportedSchema(_0xe25e66){const _0x5ebc12={_0x2b2c1e:0xf2,_0x4cc82a:0x14c,_0x4e9eb1:0x12d,_0x6eeb36:0x1b,_0x16470c:0x60,_0x47f4c7:0x237,_0x2ed144:0x6f9,_0x410c01:0x4f0,_0x482a5b:0x23e,_0x2aad8f:0x2e1,_0x4d399a:0x122,_0x20ea18:0xe8,_0x5515de:0xf2,_0x3fe81a:0x5f,_0x4f76c2:0x1db,_0xedaf60:0x327,_0x11cf10:0x367,_0x23824c:0x3f6,_0x1bcbb0:0x3be,_0x5e610f:0x28e,_0xddc1c0:0x687,_0x26572d:0xfe,_0x52378a:0x381,_0x1388c7:0x1de,_0x4f7fda:0x578,_0x80b318:0x55c,_0x1da454:0x6b7,_0x43c41a:0x69f,_0x2a60a3:0x53e,_0xf68c67:0x6c7,_0x98e9c7:0x3b5,_0x2505e2:0x206,_0x369cec:0x56e,_0x29aeea:0x35c,_0x521ff2:0x4a4},_0xe52b0d={_0x502d05:0x64},_0x5d628d={_0x55c8ca:0xc9,_0x45e2bf:0x25,_0xc0837b:0x5f};if(!isObject(_0xe25e66))return void 0x0;if(_0xe25e66[_0x555123(-_0x5ebc12._0x2b2c1e,-0x7c,-_0x5ebc12._0x4cc82a,-0x27a)]===_0x555123(_0x5ebc12._0x4e9eb1,-_0x5ebc12._0x6eeb36,_0x5ebc12._0x16470c,_0x5ebc12._0x47f4c7))return{'type':_0x47c5c9(0x586,0x4f6,_0x5ebc12._0x2ed144,_0x5ebc12._0x410c01)};if(_0xe25e66[_0x47c5c9(0x367,0x431,_0x5ebc12._0x482a5b,_0x5ebc12._0x2aad8f)]===_0x555123(0x57,_0x5ebc12._0x4d399a,-_0x5ebc12._0x20ea18,0x153)||_0xe25e66[_0x555123(-_0x5ebc12._0x5515de,-0x240,_0x5ebc12._0x3fe81a,-_0x5ebc12._0x4f76c2)]===_0x47c5c9(0x489,0x473,_0x5ebc12._0xedaf60,0x42c))return{'type':'number'};if(_0xe25e66[_0x47c5c9(_0x5ebc12._0x11cf10,_0x5ebc12._0x23824c,_0x5ebc12._0x1bcbb0,_0x5ebc12._0x5e610f)]===_0x47c5c9(0x557,0x58b,_0x5ebc12._0xddc1c0,0x5da))return{'type':_0x555123(_0x5ebc12._0x26572d,0x26,0x12e,-0x70)};function _0x555123(_0x5db943,_0x560052,_0x30c739,_0x598239){return _0x38eb01(_0x598239,_0x5db943-_0x5d628d._0x55c8ca,_0x30c739-_0x5d628d._0x45e2bf,_0x598239-_0x5d628d._0xc0837b);}function _0x47c5c9(_0x51689f,_0x4c8541,_0x1acf36,_0x337cd2){return _0x2cc51b(_0x1acf36,_0x4c8541-_0xe52b0d._0x502d05,_0x1acf36-0x81,_0x51689f-0x16);}if(_0xe25e66[_0x47c5c9(0x367,_0x5ebc12._0x52378a,0x4ce,_0x5ebc12._0x1388c7)]===_0x47c5c9(_0x5ebc12._0x4f7fda,0x683,0x554,_0x5ebc12._0x80b318))return{'type':_0x47c5c9(_0x5ebc12._0x4f7fda,_0x5ebc12._0x1da454,_0x5ebc12._0x43c41a,0x4ba),'items':toSupportedSchema(_0xe25e66[_0x47c5c9(_0x5ebc12._0x2a60a3,_0x5ebc12._0xf68c67,_0x5ebc12._0x98e9c7,0x63e)])??{'type':'string'}};if(_0xe25e66[_0x555123(-_0x5ebc12._0x2b2c1e,-_0x5ebc12._0x2505e2,-0x1cd,-0xd0)]===_0x47c5c9(0x48e,_0x5ebc12._0x369cec,_0x5ebc12._0x29aeea,_0x5ebc12._0x521ff2))return toNuvinToolSchema(_0xe25e66);return void 0x0;}function toNuvinToolSchema(_0x3a2693){const _0x45147a={_0x318461:0x33a,_0x5e009b:0x426,_0xb8fa14:0x3bf,_0x2a223f:0x461,_0x5bbfc6:0x32b,_0x59312d:0x2b,_0x209705:0x23e,_0x5f02ec:0x208,_0x5f48cc:0x11f,_0x429613:0x1af,_0x17c588:0x407,_0x127ed2:0x35c,_0x39a8b9:0x286,_0x321b3b:0x4ab,_0x30e987:0x3e0,_0x27c41b:0x469,_0x39fe2a:0x454,_0x570fb2:0xb3,_0xededa7:0xb6,_0x5b2a7e:0x2ce,_0x4d35cb:0x14f,_0x247f78:0xd9},_0x5d5a99={_0x132113:0x55},_0x456d8f={_0x4beaa7:0x1c0,_0x237554:0x91,_0x428b10:0x39f};if(!isObject(_0x3a2693)||_0x3a2693[_0x5a0cfd(_0x45147a._0x318461,0x35e,_0x45147a._0x5e009b,_0x45147a._0xb8fa14)]!==_0x5a0cfd(_0x45147a._0x2a223f,0x3a8,_0x45147a._0x5bbfc6,0x557))return{'type':_0x53d866(0x23,_0x45147a._0x59312d,0xd9,_0x45147a._0x209705),'properties':{}};const _0x4cc50f={},_0x5a9b51=isObject(_0x3a2693[_0x53d866(-_0x45147a._0x5f02ec,0x1e,-0xdc,-_0x45147a._0x5f48cc)])?_0x3a2693[_0x5a0cfd(0x2ac,_0x45147a._0x429613,0x282,_0x45147a._0x17c588)]:{};for(const [_0xb8ab5a,_0x914538]of Object[_0x5a0cfd(_0x45147a._0x127ed2,_0x45147a._0x39a8b9,0x46b,_0x45147a._0x321b3b)](_0x5a9b51)){const _0x5c4af6=toSupportedSchema(_0x914538);if(_0x5c4af6)_0x4cc50f[_0xb8ab5a]=_0x5c4af6;}function _0x53d866(_0x4ced04,_0x1dcadf,_0x565180,_0x37ec1b){return _0x2cc51b(_0x4ced04,_0x1dcadf-_0x456d8f._0x4beaa7,_0x565180-_0x456d8f._0x237554,_0x565180- -_0x456d8f._0x428b10);}const _0x3340eb=Array[_0x5a0cfd(_0x45147a._0x30e987,0x4b7,_0x45147a._0x27c41b,0x4f3)](_0x3a2693[_0x5a0cfd(0x3de,0x323,0x2b5,_0x45147a._0x39fe2a)])?_0x3a2693[_0x53d866(_0x45147a._0x570fb2,0xdf,0x56,_0x45147a._0xededa7)][_0x53d866(0x7f,_0x45147a._0x5b2a7e,_0x45147a._0x4d35cb,0x1e9)](_0x4906c4=>typeof _0x4906c4==='string'):void 0x0;function _0x5a0cfd(_0xb07850,_0x428f3e,_0x455f19,_0x3340c5){return _0x2cc51b(_0x428f3e,_0x428f3e-0x3d,_0x455f19-_0x5d5a99._0x132113,_0xb07850- -0x17);}return _0x3340eb?.['length']?{'type':_0x53d866(0x8c,-0x62,_0x45147a._0x247f78,0x1b7),'properties':_0x4cc50f,'required':_0x3340eb}:{'type':_0x5a0cfd(_0x45147a._0x2a223f,0x307,0x45e,0x4ac),'properties':_0x4cc50f};}function isJsonObject(_0x5c3739){const _0x30e076={_0x5cef2e:0x2a0,_0x4e16e6:0xb0,_0x20de9c:0x14c,_0x30a4ff:0x12e},_0x59d487={_0x45bcf1:0x1c2,_0x194df9:0xec};function _0x120328(_0x20612e,_0x48e138,_0x134ec4,_0x2c68c7){return _0x38eb01(_0x20612e,_0x2c68c7-_0x59d487._0x45bcf1,_0x134ec4-_0x59d487._0x194df9,_0x2c68c7-0xd8);}return typeof _0x5c3739===_0x120328(_0x30e076._0x5cef2e,_0x30e076._0x4e16e6,_0x30e076._0x20de9c,_0x30e076._0x30a4ff)&&_0x5c3739!==null&&!Array['isArray'](_0x5c3739);}function formatMcpContent(_0x3b0545){const _0x4dd5e8={_0x102742:0x1e1,_0x26cb33:0x62,_0x5b0773:0xd,_0x441693:0x4b,_0x3a6677:0x28,_0x3b2524:0x175,_0x4a5f53:0x30,_0x173dcf:0x47,_0x3df638:0xc1,_0x477128:0x1c,_0x54d4d5:0x23,_0x1f43c4:0x150},_0x31488b={_0x42257b:0xc0,_0x49d053:0x5f,_0x2bceb7:0x415},_0xba2343={_0x343069:0xb4,_0x1ad587:0x280,_0x303b20:0x313,_0x2a566a:0x3c7,_0x3db6e0:0x478,_0x2e66f8:0x424,_0x56e4fb:0x355,_0x163143:0x456,_0x526e5c:0x42f},_0x2798e3={_0x5cfce0:0x140},_0x137fcb={_0x7578a6:0x46,_0xe2305a:0xc2,_0x3c4649:0x37},_0xb5456e=Array['isArray'](_0x3b0545[_0x410318(-0x212,-0xd4,0x5,-_0x4dd5e8._0x102742)])?_0x3b0545['content']:[];function _0x410318(_0x34247c,_0x2a234d,_0x2b9be5,_0x172790){return _0x38eb01(_0x172790,_0x2a234d-_0x137fcb._0x7578a6,_0x2b9be5-_0x137fcb._0xe2305a,_0x172790-_0x137fcb._0x3c4649);}const _0x1d1758=_0xb5456e[_0x410318(-_0x4dd5e8._0x26cb33,-_0x4dd5e8._0x5b0773,-_0x4dd5e8._0x441693,-0x2e)](_0x442dc0=>{function _0xb585d7(_0x366ee4,_0x34cf03,_0x8f1a9d,_0x125fe0){return _0x1846e5(_0x366ee4-0x125,_0x125fe0,_0x366ee4- -0xfb,_0x125fe0-0x62);}if(!isObject(_0x442dc0))return'';if(_0x442dc0[_0xb585d7(-0x1bf,-_0xba2343._0x343069,-0x13a,-0x164)]===_0x190b89(_0xba2343._0x1ad587,_0xba2343._0x303b20,_0xba2343._0x2a566a,_0xba2343._0x3db6e0)&&typeof _0x442dc0[_0x190b89(_0xba2343._0x2e66f8,_0xba2343._0x56e4fb,_0xba2343._0x2a566a,_0xba2343._0x163143)]==='string')return _0x442dc0[_0x190b89(_0xba2343._0x526e5c,0x4d9,0x3c7,0x494)];function _0x190b89(_0x2c2b72,_0x534f75,_0x2c950f,_0x571885){return _0x1846e5(_0x2c2b72-0x1be,_0x571885,_0x2c950f-0x526,_0x571885-_0x2798e3._0x5cfce0);}return JSON['stringify'](_0x442dc0);})[_0x410318(0x5f,_0x4dd5e8._0x3a6677,0x1f,_0x4dd5e8._0x3b2524)](_0x13dd9f=>_0x13dd9f[_0x1846e5(0x85,-0x76,-0x10,0x13a)]>0x0)[_0x1846e5(_0x4dd5e8._0x4a5f53,-_0x4dd5e8._0x173dcf,-0xe0,-0x102)]('\x0a');if(_0x1d1758[_0x410318(-0x233,-_0x4dd5e8._0x3df638,_0x4dd5e8._0x477128,-_0x4dd5e8._0x54d4d5)]>0x0)return _0x1d1758;function _0x1846e5(_0x45ab1f,_0x5d69c9,_0x44bb76,_0x33210c){return _0x2cc51b(_0x5d69c9,_0x5d69c9-_0x31488b._0x42257b,_0x44bb76-_0x31488b._0x49d053,_0x44bb76- -_0x31488b._0x2bceb7);}return JSON[_0x1846e5(-0x70,-0x218,-_0x4dd5e8._0x1f43c4,-0x1c1)](_0x3b0545,null,0x2);}function createMcpTool(_0xed5b49){const _0x9234b9={_0x3cea8b:0x522,_0xe94868:0x452,_0x2ecf3a:0x45a,_0x2567c1:0x176,_0xa3f02b:0x12c,_0x16f8fa:0x43a,_0x5c9142:0x5ae,_0x3fc0b6:0x3d0,_0x3605ff:0x2fe,_0x1b4542:0x58b,_0x248aea:0x60b},_0x40f08c={_0x5033c8:0xea,_0x227982:0x96,_0x4d7095:0x201,_0x17cd44:0x40,_0x2983b5:0x110,_0x50b9e0:0x3e,_0x4c8768:0x27d,_0x4f00c2:0x26a,_0x20426b:0x168,_0x50f404:0x1f2,_0x3509ac:0x247,_0x532419:0x7a,_0x5a8c7c:0x138,_0x5b60cc:0x25f},_0x3bb6b6={_0x3a9054:0x40e,_0x135c27:0x63},_0x4951f7={_0x533750:0x4ff},_0x4eede1={_0xc7c48d:0x720,_0x477e74:0x87,_0x47a75b:0x9f};function _0xaeeca0(_0x26b61b,_0x32bf45,_0x106043,_0x2aef14){return _0x38eb01(_0x2aef14,_0x32bf45-_0x4eede1._0xc7c48d,_0x106043-_0x4eede1._0x477e74,_0x2aef14-_0x4eede1._0x47a75b);}function _0x40415c(_0x48b835,_0x59d616,_0x6c46ce,_0x2a3009){return _0x38eb01(_0x2a3009,_0x48b835-_0x4951f7._0x533750,_0x6c46ce-0xcf,_0x2a3009-0x8c);}const _0x21f46c=createMcpToolName(_0xed5b49[_0x40415c(_0x9234b9._0x3cea8b,_0x9234b9._0xe94868,_0x9234b9._0x2ecf3a,0x52e)],_0xed5b49[_0x40415c(0x2fe,0x203,0x45e,0x33d)][_0x40415c(0x2a1,_0x9234b9._0x2567c1,_0x9234b9._0xa3f02b,0x303)]);return defineTool({'name':_0x21f46c,'permissionClass':_0xed5b49[_0x40415c(_0x9234b9._0x16f8fa,_0x9234b9._0x5c9142,0x4a8,0x559)],..._0xed5b49['internalLifecycle']!==void 0x0?{'internalLifecycle':_0xed5b49['internalLifecycle']}:{},'description':_0xed5b49[_0x40415c(0x2fe,0x2b9,0x219,0x24b)][_0x40415c(0x3c3,0x50e,_0x9234b9._0x3fc0b6,0x511)]??'MCP\x20tool\x20'+_0xed5b49[_0x40415c(_0x9234b9._0x3605ff,0x319,0x1c5,0x3f1)][_0xaeeca0(0x54b,0x4c2,_0x9234b9._0x1b4542,_0x9234b9._0x248aea)]+'\x20from\x20'+_0xed5b49['serverName'],'inputSchema':toNuvinToolSchema(_0xed5b49['tool']['inputSchema']),async *'execute'(_0x4b2d78){const _0x4bdded={_0x3a8389:0x1cf,_0x348dcd:0x1e3};function _0x36c0c7(_0x541058,_0x3ef860,_0x31e743,_0x1163e9){return _0x40415c(_0x3ef860- -_0x3bb6b6._0x3a9054,_0x3ef860-0xaf,_0x31e743-_0x3bb6b6._0x135c27,_0x541058);}const _0x453021=await _0xed5b49['client'][_0x56e950(_0x40f08c._0x5033c8,_0x40f08c._0x227982,_0x40f08c._0x4d7095,-_0x40f08c._0x17cd44)]({'name':_0xed5b49[_0x36c0c7(-0x12a,-_0x40f08c._0x2983b5,0x39,-_0x40f08c._0x50b9e0)]['name'],'arguments':isJsonObject(_0x4b2d78)?_0x4b2d78:{}});function _0x56e950(_0x5e08a1,_0x13578d,_0xf32557,_0x3f8f0b){return _0xaeeca0(_0x5e08a1-_0x4bdded._0x3a8389,_0x5e08a1- -0x687,_0xf32557-_0x4bdded._0x348dcd,_0xf32557);}if(_0x453021['isError'])throw new ToolExecutionError(formatMcpContent(_0x453021),{'serverName':_0xed5b49[_0x36c0c7(-0x66,0x114,_0x40f08c._0x4c8768,_0x40f08c._0x4f00c2)],'toolName':_0xed5b49[_0x56e950(-_0x40f08c._0x20426b,-_0x40f08c._0x50f404,-0x22c,-0x130)]['name']});return yield createToolOutput(formatMcpContent(_0x453021),{'serverName':_0xed5b49['serverName'],'toolName':_0xed5b49[_0x36c0c7(-_0x40f08c._0x3509ac,-_0x40f08c._0x2983b5,_0x40f08c._0x532419,0x15)][_0x36c0c7(-0x19c,-0x16d,-_0x40f08c._0x5a8c7c,-_0x40f08c._0x5b60cc)],'result':_0x453021}),void 0x0;}});}function resolvePrefix(_0x144f6f,_0x57c31f){return _0x57c31f['prefix']??_0x144f6f;}function isToolPermissionClass(_0x5f446a){const _0x52f1ee={_0x2f401f:0x3e,_0x50458a:0x118,_0xf5e60:0x379,_0x3ff9c7:0x33c,_0x5b18da:0x40a},_0x1e128b={_0x3499f1:0x35,_0xad3652:0x76},_0x2ece7a={_0x486f3a:0x83};function _0x1a61a6(_0xdc4ac3,_0x1005e8,_0x491ecd,_0x12aea6){return _0x38eb01(_0x1005e8,_0xdc4ac3-0x125,_0x491ecd-_0x2ece7a._0x486f3a,_0x12aea6-0xc2);}function _0x3ac228(_0x374d50,_0x4de101,_0x2ff8f9,_0x511969){return _0x2cc51b(_0x511969,_0x4de101-_0x1e128b._0x3499f1,_0x2ff8f9-_0x1e128b._0xad3652,_0x374d50- -0x36);}return _0x5f446a===_0x1a61a6(_0x52f1ee._0x2f401f,-0x10c,_0x52f1ee._0x50458a,-0xf9)||_0x5f446a==='write'||_0x5f446a===_0x3ac228(_0x52f1ee._0xf5e60,0x316,_0x52f1ee._0x3ff9c7,_0x52f1ee._0x5b18da);}function ownValue(_0x2d0cb1,_0xc3abf7){const _0x3cbb4e={_0xbba0f4:0x2f1,_0x5e63d5:0x2e5},_0x54c04c={_0xbcaf44:0x1bd,_0x78f46c:0x2a5};function _0x3441f7(_0x209a0d,_0x4c56a0,_0x1b5b56,_0x1df53f){return _0x2cc51b(_0x209a0d,_0x4c56a0-0xe0,_0x1b5b56-_0x54c04c._0xbcaf44,_0x1b5b56- -_0x54c04c._0x78f46c);}return _0x2d0cb1&&Object[_0x3441f7(_0x3cbb4e._0xbba0f4,0x1e9,_0x3cbb4e._0x5e63d5,0x37c)](_0x2d0cb1,_0xc3abf7)?_0x2d0cb1[_0xc3abf7]:void 0x0;}function suggestedPermissionClass(_0x39bf5d){const _0x506981={_0x2b0deb:0x4,_0x56cb07:0x14a,_0x55c062:0x410,_0x5ededa:0x53f,_0x3cfc7a:0x58},_0x22506a={_0x4d6d4f:0x196},_0x4d03cb={_0x223820:0x1f1,_0x563968:0x90};function _0x4aac8f(_0x5205ef,_0x57bd39,_0x49b2bf,_0x535b45){return _0x2cc51b(_0x5205ef,_0x57bd39-_0x4d03cb._0x223820,_0x49b2bf-_0x4d03cb._0x563968,_0x57bd39- -0x485);}function _0x2011ae(_0x4a0159,_0x20d204,_0x28daec,_0x331128){return _0x38eb01(_0x331128,_0x28daec-0x626,_0x28daec-_0x22506a._0x4d6d4f,_0x331128-0x117);}const _0x1a5e93=_0x39bf5d['annotations']?.[_0x4aac8f(_0x506981._0x2b0deb,-_0x506981._0x56cb07,-0x188,-0x298)];if(_0x1a5e93===!![])return _0x2011ae(_0x506981._0x55c062,0x4bb,_0x506981._0x5ededa,0x5a0);if(_0x1a5e93===![])return _0x4aac8f(-0x93,0xdf,0x260,_0x506981._0x3cfc7a);return void 0x0;}function createMcpBundleLifecycle(_0x3ab166){const _0x4cc71b={_0x1c7618:0x3b,_0x4fbde4:0xba},_0x3f98e2={_0x175af7:0x29b,_0xf0c2c1:0x183,_0x268c8e:0x3df,_0x1ffa64:0x372,_0x42755d:0x36d,_0x3e1764:0x29e,_0x4a7e56:0x2d3,_0xefdc1f:0x319};let _0x333e60=0x0,_0x83ca2b=![],_0x20c7f4=![],_0x34b5e4,_0x3ccc4b,_0x22d814;const _0x4788a3=()=>{if(!_0x83ca2b||_0x333e60!==0x0||_0x20c7f4)return;_0x20c7f4=!![];function _0x30d662(_0x4dcfea,_0x21ac15,_0x459268,_0x271a47){return _0x29c8(_0x4dcfea-0x178,_0x459268);}function _0x26c016(_0x483dbb,_0x3a29fd,_0x337470,_0x562031){return _0x29c8(_0x562031-0x342,_0x337470);}void Promise[_0x30d662(_0x3f98e2._0x175af7,_0x3f98e2._0xf0c2c1,_0x3f98e2._0x268c8e,_0x3f98e2._0x1ffa64)]()[_0x30d662(_0x3f98e2._0x42755d,_0x3f98e2._0x3e1764,_0x3f98e2._0x4a7e56,_0x3f98e2._0xefdc1f)](_0x3ab166)['then'](_0x3ccc4b,_0x22d814);};return{'acquire'(){if(_0x83ca2b)throw new Error(_0x2b6e41(-_0x4cc71b._0x1c7618,_0x4cc71b._0x4fbde4,-0x14,-0x71));_0x333e60+=0x1;function _0x2b6e41(_0x1dfb30,_0x7c871f,_0x2018f8,_0x38ebe4){return _0x29c8(_0x38ebe4- -0x374,_0x7c871f);}let _0x77ac56=![];return()=>{if(_0x77ac56)return;_0x77ac56=!![],_0x333e60-=0x1,_0x4788a3();};},'retire'(){return!_0x34b5e4&&(_0x34b5e4=new Promise((_0x41ee87,_0x3f47bd)=>{_0x3ccc4b=_0x41ee87,_0x22d814=_0x3f47bd;})),_0x83ca2b=!![],_0x4788a3(),_0x34b5e4;}};}function buildMcpHttpHeaders(_0x54e6b7){const _0x10e9a3={_0x394009:0x2df,_0x124f66:0x6a,_0x2bdcd3:0x21b,_0x45760a:0xc4,_0xe30e94:0xd,_0x5e1e5f:0x2a,_0x5a1a6e:0xdb,_0x2c5578:0x338,_0x300ea6:0x262,_0x4a5ddf:0x146,_0xad7c4b:0x88,_0x40ed00:0x479,_0xb274ce:0x358,_0x5221b9:0x3c6,_0x228670:0x42c,_0x9250c3:0x3ec,_0x5746a8:0x2e3,_0x57a267:0xee,_0x527bd2:0xb7,_0x3f6b55:0xa6},_0x9136a4={_0xfdfd9e:0xe3,_0xfe6a82:0x190},_0x50a162={_0x1c0832:0xcd};function _0x1b61db(_0x2b1716,_0x187a17,_0xd79bc4,_0x38518a){return _0x38eb01(_0x2b1716,_0xd79bc4-0x77,_0xd79bc4-_0x50a162._0x1c0832,_0x38518a-0x109);}function _0x3be51a(_0x316371,_0x435c11,_0x41c199,_0x5c7e95){return _0x2cc51b(_0x41c199,_0x435c11-_0x9136a4._0xfdfd9e,_0x41c199-_0x9136a4._0xfe6a82,_0x435c11- -0x1ef);}const _0x3322e6={..._0x54e6b7[_0x3be51a(0x384,0x263,_0x10e9a3._0x394009,0x206)]??{}};return _0x54e6b7[_0x1b61db(_0x10e9a3._0x124f66,-_0x10e9a3._0x2bdcd3,-_0x10e9a3._0x45760a,0xc)]?.[_0x3be51a(_0x10e9a3._0xe30e94,0x162,_0x10e9a3._0x5e1e5f,0xfb)]==='bearer'&&_0x54e6b7[_0x3be51a(0x9e,0x1e2,0xe2,_0x10e9a3._0x5a1a6e)][_0x3be51a(_0x10e9a3._0x2c5578,_0x10e9a3._0x300ea6,0x233,_0x10e9a3._0x4a5ddf)]&&_0x3322e6[_0x1b61db(-0x13,0x97,0xb2,-_0x10e9a3._0xad7c4b)]===void 0x0&&(_0x3322e6[_0x3be51a(_0x10e9a3._0x40ed00,_0x10e9a3._0xb274ce,_0x10e9a3._0x5221b9,_0x10e9a3._0x228670)]=_0x3be51a(_0x10e9a3._0x9250c3,0x3a0,0x257,0x4f7)+_0x54e6b7['auth'][_0x3be51a(_0x10e9a3._0x5746a8,0x262,0x342,_0x10e9a3._0x57a267)]),Object['keys'](_0x3322e6)[_0x1b61db(_0x10e9a3._0x527bd2,-0x79,-0x90,-_0x10e9a3._0x3f6b55)]>0x0?_0x3322e6:void 0x0;}function getErrorMessage(_0x2db275){const _0x5bfff7={_0x2e2b9d:0xfd},_0x405233={_0x4e8ea1:0x6,_0x37bdb8:0x436};function _0x2d1659(_0x45bb7f,_0x5074b1,_0x25498a,_0x59e051){return _0x2cc51b(_0x25498a,_0x5074b1-_0x405233._0x4e8ea1,_0x25498a-0x61,_0x59e051- -_0x405233._0x37bdb8);}return _0x2db275 instanceof Error?_0x2db275[_0x2d1659(0x1b9,-0x10b,_0x5bfff7._0x2e2b9d,0x48)]:String(_0x2db275);}function isUnauthorizedError(_0x53b197){const _0x23777a={_0x235341:0x4c,_0x5d94b9:0x82,_0x1ddc37:0x1ef,_0x569839:0x1bb,_0x443b3e:0x7c,_0x7d2c5e:0x56,_0x589579:0x1be},_0x18c6a8={_0x2afe75:0x1b0,_0x31d681:0xd6,_0x11169f:0x4c1},_0x2eb10d={_0x22a847:0x3c,_0x346ec4:0x193};function _0xa700fb(_0x15424f,_0x5c0b21,_0x57ef87,_0x36d0a0){return _0x38eb01(_0x36d0a0,_0x57ef87-_0x2eb10d._0x22a847,_0x57ef87-0x4e,_0x36d0a0-_0x2eb10d._0x346ec4);}function _0x43786d(_0x516b57,_0x51ac58,_0x22e1d5,_0x909cf9){return _0x2cc51b(_0x516b57,_0x51ac58-_0x18c6a8._0x2afe75,_0x22e1d5-_0x18c6a8._0x31d681,_0x22e1d5- -_0x18c6a8._0x11169f);}return _0x53b197 instanceof Error&&_0x53b197[_0xa700fb(-_0x23777a._0x235341,0xe6,_0x23777a._0x5d94b9,0x18b)][_0x43786d(-0x2aa,-_0x23777a._0x1ddc37,-0x213,-_0x23777a._0x569839)]===_0x43786d(-_0x23777a._0x443b3e,-0x18,_0x23777a._0x7d2c5e,_0x23777a._0x589579);}async function connectMcpServer(_0x223d44,_0x5941b0,_0x3c6619){const _0x683aaf={_0x2ef1df:0x1c8,_0x3e1778:0x2c3,_0x392c42:0x1eb,_0x20ca75:0x1ef,_0x4373fc:0x126,_0x97d545:0x2b3,_0x122442:0x2b5,_0x24caa3:0x33f,_0x2ceff9:0x1b8,_0x35c809:0x19a,_0x68d1f4:0x1eb,_0x28867a:0x262,_0x2d6002:0x296,_0x2f45a7:0x319,_0x4a1f89:0x462,_0x1174c5:0x3b4,_0x3b38b9:0x17d,_0x10e6bb:0x376,_0x298ea7:0x389,_0x1cfc9b:0x133,_0x20bb48:0x247,_0x1d7f7c:0x1c3,_0x5f4320:0x2a6,_0xcdb676:0x1c7,_0x2928c4:0x3b6,_0x118073:0xa5,_0x354e2f:0x22f,_0x254e7e:0x23b,_0x41f970:0x2fc,_0x38587f:0x35d,_0x46377a:0x231,_0x57b2c3:0x302,_0x5ada79:0x3d1,_0x3dd16a:0x3a6,_0x43fe40:0x3da,_0x4f59b5:0x4c8,_0x1b23dc:0x431,_0x2312a1:0x2ea,_0x2065f7:0x3c6,_0x2f679f:0x35d,_0x18a44b:0x1ac,_0x25e2e5:0x372,_0x50c20f:0x21d,_0x397ae9:0x22a,_0x2d5af5:0x77,_0x17c349:0x223,_0x5088af:0x25e,_0x1263d0:0x339,_0x35d1d3:0x1e2,_0x265924:0x2f1,_0x121a22:0x3a2,_0x14832e:0x3f3,_0x1faee9:0x2f,_0x518d35:0x7d,_0x13d681:0x52,_0x5cf08f:0x107},_0x31f39b={_0x28f13e:0x35f,_0x1a36bd:0x3cf,_0x369522:0x45e},_0x278041={_0x52a5d8:0x1d6},_0x33cad8={_0x30834f:0x254,_0x23872c:0x127},_0x434504={_0x48a83b:0x665},_0x537a01={_0x363b15:0x130,_0x2206dc:0x18a},_0x59a61a=new Client({'name':_0x39e17b(_0x683aaf._0x2ef1df,_0x683aaf._0x3e1778,_0x683aaf._0x392c42,0x29b),'version':_0x7b0ee9(_0x683aaf._0x20ca75,0x46,0x82,_0x683aaf._0x4373fc)});function _0x7b0ee9(_0x2e6c60,_0x1be75a,_0x5be21c,_0x457564){return _0x2cc51b(_0x1be75a,_0x1be75a-_0x537a01._0x363b15,_0x5be21c-0x176,_0x457564- -_0x537a01._0x2206dc);}_0x59a61a[_0x7b0ee9(0x449,_0x683aaf._0x97d545,_0x683aaf._0x122442,_0x683aaf._0x24caa3)]=_0x3bbad1=>{const _0x228a9a={_0x43a4ba:0x27c};function _0x504505(_0x22bfed,_0x55817c,_0x257d5b,_0x47511e){return _0x7b0ee9(_0x22bfed-0xf1,_0x47511e,_0x257d5b-0x190,_0x257d5b-_0x228a9a._0x43a4ba);}console['error'](_0x504505(_0x434504._0x48a83b,0x5c2,0x571,0x592)+_0x223d44+']\x20transport\x20error:',_0x3bbad1['message']);};if(_0x5941b0['transport']==='http'||_0x5941b0[_0x39e17b(_0x683aaf._0x2ceff9,_0x683aaf._0x35c809,0x180,_0x683aaf._0x68d1f4)]){if(!_0x5941b0[_0x7b0ee9(_0x683aaf._0x28867a,0x333,_0x683aaf._0x2d6002,_0x683aaf._0x2f45a7)])throw new Error(_0x7b0ee9(0x4e3,0x295,_0x683aaf._0x4a1f89,_0x683aaf._0x1174c5)+_0x223d44+_0x39e17b(0xc3,_0x683aaf._0x3b38b9,-0x6e,0x8a));if(_0x5941b0[_0x7b0ee9(_0x683aaf._0x10e6bb,_0x683aaf._0x298ea7,_0x683aaf._0x1cfc9b,_0x683aaf._0x20bb48)]?.[_0x7b0ee9(_0x683aaf._0x1d7f7c,_0x683aaf._0x5f4320,0xe3,_0x683aaf._0xcdb676)]===_0x39e17b(_0x683aaf._0x2928c4,0x39a,_0x683aaf._0x118073,_0x683aaf._0x354e2f)&&!_0x3c6619?.[_0x7b0ee9(_0x683aaf._0x254e7e,_0x683aaf._0x41f970,0x308,_0x683aaf._0x38587f)])throw new Error(_0x7b0ee9(_0x683aaf._0x46377a,_0x683aaf._0x57b2c3,_0x683aaf._0x5ada79,0x3b4)+_0x223d44+_0x7b0ee9(_0x683aaf._0x3dd16a,_0x683aaf._0x43fe40,_0x683aaf._0x4f59b5,0x3bb));const _0x1882c8=buildMcpHttpHeaders(_0x5941b0),_0x3e0118=_0x5941b0['auth']?.['type']===_0x7b0ee9(_0x683aaf._0x1b23dc,_0x683aaf._0x2312a1,0x2ca,_0x683aaf._0x38587f)&&_0x3c6619?.[_0x7b0ee9(_0x683aaf._0x2065f7,0x4d9,0x4a4,_0x683aaf._0x2f679f)]?createMcpOAuthProvider({'serverName':_0x223d44,'callbackUrl':_0x3c6619['oauth'][_0x7b0ee9(0x24c,0x18b,_0x683aaf._0x18a44b,0x1c3)],'storageDir':_0x3c6619['oauth'][_0x7b0ee9(0x333,0x224,_0x683aaf._0x25e2e5,0x2a6)],'config':_0x5941b0[_0x7b0ee9(0x2a2,0xc8,0x307,0x247)],'onRedirect':_0x589e48=>_0x3c6619[_0x39e17b(0x394,0x3af,0x218,0x22f)]?.[_0x7b0ee9(0x3ed,0x303,0x471,0x36a)](_0x223d44,_0x589e48)}):void 0x0,_0x2739f9=new StreamableHTTPClientTransport(new URL(_0x5941b0['url']),{'authProvider':_0x3e0118,'requestInit':_0x1882c8?{'headers':_0x1882c8}:void 0x0});await _0x59a61a[_0x7b0ee9(_0x683aaf._0x50c20f,_0x683aaf._0x397ae9,-_0x683aaf._0x2d5af5,0x107)](_0x2739f9);}else{if(!_0x5941b0['command'])throw new Error('MCP\x20server\x20'+_0x223d44+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x349cf0=new StdioClientTransport({'command':_0x5941b0[_0x7b0ee9(_0x683aaf._0x17c349,0x342,_0x683aaf._0x5088af,0x341)],'args':_0x5941b0[_0x39e17b(_0x683aaf._0x1263d0,0x14c,_0x683aaf._0x35d1d3,0x28b)]??[],'env':_0x5941b0[_0x39e17b(0x35f,_0x683aaf._0x265924,0x1c8,0x207)],'stderr':_0x7b0ee9(0x3f6,_0x683aaf._0x121a22,0x26a,_0x683aaf._0x14832e)});await _0x59a61a[_0x7b0ee9(-_0x683aaf._0x1faee9,_0x683aaf._0x518d35,_0x683aaf._0x13d681,_0x683aaf._0x5cf08f)](_0x349cf0);}function _0x39e17b(_0x378f6e,_0x2eff41,_0x230ea9,_0x5eaa0e){return _0x38eb01(_0x378f6e,_0x5eaa0e-_0x33cad8._0x30834f,_0x230ea9-0x139,_0x5eaa0e-_0x33cad8._0x23872c);}return{async 'listTools'(){return await _0x59a61a['listTools']();},async 'callTool'(_0x33c589){const _0x57c63b={_0x1cefbd:0x1e0,_0x367de6:0x172};function _0x44048b(_0x30e2af,_0x483a66,_0x5bc2d5,_0x210a62){return _0x7b0ee9(_0x30e2af-0xa9,_0x5bc2d5,_0x5bc2d5-_0x57c63b._0x1cefbd,_0x30e2af-_0x57c63b._0x367de6);}function _0x3cb3b3(_0x494a71,_0x149807,_0x4d2cd4,_0x70ca55){return _0x39e17b(_0x70ca55,_0x149807-_0x278041._0x52a5d8,_0x4d2cd4-0xa6,_0x149807-0x272);}return await _0x59a61a[_0x3cb3b3(_0x31f39b._0x28f13e,0x424,_0x31f39b._0x1a36bd,_0x31f39b._0x369522)]({'method':_0x44048b(0x361,0x2f9,0x4b7,0x2e5),'params':_0x33c589},CallToolResultSchema);},async 'close'(){await _0x59a61a['close']();}};}async function createMcpToolsFromServers(_0x2ec813){const _0x56de26={_0x41cea8:0x1bf,_0x5854df:0x117,_0x5359f2:0x2ee,_0x548dca:0xfd,_0x17e5f0:0xfa,_0x352c1f:0x55,_0x152ae7:0x10,_0x4b749a:0xd5,_0xfe8064:0x3ff,_0xcdca4d:0x2fb,_0x44e8c4:0x2a0,_0x34d229:0x40c,_0x467214:0x8e,_0x5eadc1:0xdc,_0x5c3111:0xb2,_0x2e6a5b:0x8f,_0x46d8b8:0xfa,_0x3a846c:0x25b,_0x12aa61:0x40c,_0x5743eb:0x1c2,_0x3423a4:0x2ce,_0x22f0b2:0x11d,_0x405026:0x15f,_0x3b1f1d:0x14d,_0x2dc120:0x95,_0x2b5c2a:0x63,_0x49caec:0x5e,_0x1080a5:0x14b,_0x35c73b:0x77,_0x48ced2:0x253,_0x3a10bc:0x2cc,_0x2463fd:0x25c,_0x3eb5e6:0x104,_0x4969f2:0xfc,_0x4002db:0x8c,_0x2fc71c:0x179,_0x534ed9:0x215,_0x45c890:0x299,_0x73eb25:0xe8,_0x5a02ee:0x238,_0x5f1d06:0x60,_0x30bef0:0xd,_0x463ff1:0x8a,_0x5d1741:0x115,_0x43ef39:0xed,_0x2128ac:0x217},_0x372344={_0x5b3168:0x25},_0x35de16={_0x5e9032:0x286},_0x4ce2ae={_0x4b2a91:0x70,_0x296ca7:0x4d,_0x396b50:0xf8},_0x2f6415=_0x2ec813['connect']??connectMcpServer;function _0x58ad54(_0x119a97,_0x3bf200,_0x4d8d50,_0x46fdaf){return _0x38eb01(_0x3bf200,_0x4d8d50- -_0x4ce2ae._0x4b2a91,_0x4d8d50-_0x4ce2ae._0x296ca7,_0x46fdaf-_0x4ce2ae._0x396b50);}const _0x214609=[],_0x26af2c=[],_0x3c847a=[],_0x34fde6=[],_0x336c24=createMcpBundleLifecycle(async()=>{const _0x59d533={_0x27c223:0xf7};function _0x1f8a89(_0x40ff12,_0x4f68c3,_0x559324,_0x442ce2){return _0x29c8(_0x4f68c3-0x123,_0x442ce2);}function _0x22d043(_0xf9ff30,_0x39f753,_0x43b26c,_0x82cd75){return _0x29c8(_0xf9ff30-_0x59d533._0x27c223,_0x43b26c);}await Promise[_0x1f8a89(0xe7,0x209,_0x35de16._0x5e9032,0x34b)](_0x214609['map'](_0x157bcb=>_0x157bcb[_0x22d043(0x2b5,0x3e4,0x3bb,0x250)]()));});function _0x39e465(_0xd9e17,_0x515460,_0x383312,_0x26b211){return _0x2cc51b(_0x383312,_0x515460-0x1db,_0x383312-_0x372344._0x5b3168,_0xd9e17- -0x250);}for(const [_0x184212,_0x14a8a7]of Object['entries'](_0x2ec813[_0x39e465(_0x56de26._0x41cea8,_0x56de26._0x5854df,_0x56de26._0x5359f2,_0x56de26._0x548dca)]??{})){if(_0x14a8a7[_0x58ad54(-0xa3,-_0x56de26._0x17e5f0,-_0x56de26._0x352c1f,-_0x56de26._0x152ae7)]===![]){_0x26af2c[_0x58ad54(-_0x56de26._0x4b749a,-0x1cf,-_0x56de26._0x5854df,0x4d)]([_0x184212,{'status':_0x58ad54(-_0x56de26._0xfe8064,-_0x56de26._0xcdca4d,-_0x56de26._0x44e8c4,-_0x56de26._0x34d229)}]);continue;}try{const _0x57ae4c=await _0x2f6415(_0x184212,_0x14a8a7,_0x2ec813[_0x39e465(_0x56de26._0x467214,-0x50,_0x56de26._0x5eadc1,0x33)]);_0x214609['push'](_0x57ae4c);const _0x21312d=await _0x57ae4c['listTools']();let _0x14333f=0x0;const _0x7fb3e2=[],_0x329ce5=ownValue(_0x2ec813[_0x39e465(_0x56de26._0x5c3111,0x31,0x160,0x1e0)],_0x184212),_0x51609c=ownValue(_0x2ec813[_0x58ad54(-_0x56de26._0x2e6a5b,0x31,-_0x56de26._0x46d8b8,0x26)],_0x184212);for(const _0x55a75e of _0x21312d[_0x39e465(0x2a7,_0x56de26._0x3a846c,_0x56de26._0x12aa61,0x24b)]){const _0x55d4fc=ownValue(_0x329ce5,_0x55a75e[_0x58ad54(-0x1bd,-_0x56de26._0x5743eb,-_0x56de26._0x3423a4,-0x3b0)]),_0x242f9a=ownValue(_0x51609c,_0x55a75e[_0x39e465(0x5e,0xa1,-_0x56de26._0x22f0b2,0x95)]),_0x312442=isToolPermissionClass(_0x242f9a)?_0x242f9a:void 0x0,_0x250a7a=_0x312442??_0x39e465(_0x56de26._0x405026,0x16a,_0x56de26._0x3b1f1d,_0x56de26._0x2dc120),_0xb0f8a0=suggestedPermissionClass(_0x55a75e);_0x7fb3e2[_0x58ad54(_0x56de26._0x2b5c2a,-0x204,-0x117,-0x219)]({'name':_0x55a75e[_0x39e465(_0x56de26._0x49caec,_0x56de26._0x1080a5,0x94,-_0x56de26._0x35c73b)],..._0x55a75e[_0x39e465(0x180,0x1a2,_0x56de26._0x48ced2,0x16c)]!==void 0x0?{'description':_0x55a75e['description']}:{},..._0x55a75e[_0x58ad54(-_0x56de26._0x3a10bc,-_0x56de26._0x2463fd,-0x279,-0x3da)]!==void 0x0?{'inputSchema':_0x55a75e['inputSchema']}:{},'permissionClass':_0x250a7a,'permissionConfigured':_0x312442!==void 0x0,..._0xb0f8a0!==void 0x0?{'suggestedPermissionClass':_0xb0f8a0}:{}});if(_0x55d4fc===![])continue;_0x14333f+=0x1,_0x34fde6[_0x58ad54(-0x1dd,-0x28a,-_0x56de26._0x5854df,-_0x56de26._0x3eb5e6)](createMcpTool({'serverName':resolvePrefix(_0x184212,_0x14a8a7),'tool':_0x55a75e,'client':_0x57ae4c,'permissionClass':_0x250a7a,'internalLifecycle':_0x336c24}));}_0x3c847a['push']([_0x184212,_0x7fb3e2]),_0x26af2c['push']([_0x184212,{'status':_0x39e465(_0x56de26._0x4969f2,0x5,-_0x56de26._0x4002db,_0x56de26._0x2fc71c),'toolCount':_0x14333f}]);}catch(_0x58e4cd){_0x26af2c[_0x39e465(_0x56de26._0x534ed9,0x39c,0xf6,0x32c)]([_0x184212,isUnauthorizedError(_0x58e4cd)?{'status':_0x58ad54(-0x2fc,-0x2d3,-_0x56de26._0x45c890,-0x22f),'message':getErrorMessage(_0x58e4cd)}:{'status':_0x39e465(_0x56de26._0x73eb25,_0x56de26._0x5a02ee,-_0x56de26._0x5f1d06,_0x56de26._0x30bef0),'message':getErrorMessage(_0x58e4cd)}]);}}return{'tools':_0x34fde6,'servers':Object[_0x58ad54(-0x7a,-_0x56de26._0x463ff1,-_0x56de26._0x5d1741,-_0x56de26._0x43ef39)](_0x26af2c),'serverTools':Object[_0x39e465(_0x56de26._0x2128ac,0x16d,0x23f,0x151)](_0x3c847a),async 'close'(){await _0x336c24['retire']();}};}function getCommand(_0x458543){const _0xbdbaae={_0x520e13:0x5b8,_0x42faa5:0x44c,_0x2e0000:0x50d,_0x5e4ea4:0x537,_0x2698d1:0x625,_0x19fb7a:0x60b,_0x3cb22f:0x4db},_0x1bdac0={_0x20cb60:0x23c,_0x2de5eb:0x18d,_0x404624:0xa2},_0x612b94={_0x4098a9:0x140};function _0x1a7f38(_0xdfaf6f,_0x23c2ac,_0x369ced,_0x5a66c3){return _0x2cc51b(_0x5a66c3,_0x23c2ac-0x171,_0x369ced-0x8d,_0x23c2ac-_0x612b94._0x4098a9);}if(_0x458543&&typeof _0x458543===_0x1a7f38(0x72d,_0xbdbaae._0x520e13,_0xbdbaae._0x42faa5,_0xbdbaae._0x2e0000)&&!Array[_0x1a7f38(0x680,_0xbdbaae._0x5e4ea4,0x5d0,_0xbdbaae._0x2698d1)](_0x458543)&&typeof _0x458543['command']==='string')return _0x458543[_0x1a7f38(0x788,_0xbdbaae._0x19fb7a,_0xbdbaae._0x3cb22f,0x5bd)];function _0x4f68a8(_0x531a21,_0x4c22df,_0x16d136,_0x461325){return _0x38eb01(_0x16d136,_0x4c22df-_0x1bdac0._0x20cb60,_0x16d136-_0x1bdac0._0x2de5eb,_0x461325-_0x1bdac0._0x404624);}return'ls\x20-la';}var MOCK_WORKSPACE_LISTING=[_0x2cc51b(0x5af,0x602,0x4e4,0x4b8),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x2cc51b(0x432,0x4ce,0x55b,0x3e1),'package.json',_0x2cc51b(0x587,0x33e,0x3f5,0x497),_0x2cc51b(0x2d7,0x356,0x1ef,0x361),'src/examples/demo.ts','src/agent/extension-registry.ts',_0x38eb01(0x5b,-0xa1,0xc3,0x27),_0x38eb01(0xb7,-0x2,-0x16c,-0x139),_0x38eb01(-0x42,0x41,-0x57,-0x21),'src/agent/turn-engine.ts',_0x2cc51b(0x190,0x305,0x286,0x312),_0x2cc51b(0x3f0,0x344,0x455,0x43d),_0x38eb01(0x4f,-0x11d,-0x1ae,-0x2e),_0x38eb01(-0x122,-0xb0,-0xe3,-0x1cd),_0x38eb01(0x7c,-0x3b,0xaf,-0x15d)]['join']('\x0a'),SHELL_EXEC_TOOL={'name':_0x38eb01(0x22,-0x159,-0x242,-0x157),'description':_0x38eb01(0x111,0x3a,-0xcc,0x18),'input_schema':{'type':_0x2cc51b(0x5c8,0x3c0,0x343,0x478),'properties':{'command':{'type':_0x38eb01(0x17f,0x64,0x3e,-0x22)}},'required':[_0x2cc51b(0x5f9,0x40f,0x343,0x4cb)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x12f8db){return{'output':_0x12f8db,'structured':{'value':_0x12f8db}};}function createUnknownToolResult(_0x510f31){const _0x42e147={_0x4e5be3:0x3cf,_0x251669:0x305,_0x4d55e7:0x296,_0x176d69:0x38e,_0x268448:0x439},_0x247df9={_0x260c6b:0x17d,_0x3c4bfe:0x19b};function _0x2c4af6(_0x54ae1a,_0x1f5655,_0x23006c,_0x2b3d0b){return _0x2cc51b(_0x1f5655,_0x1f5655-_0x247df9._0x260c6b,_0x23006c-_0x247df9._0x3c4bfe,_0x2b3d0b- -0x18);}function _0x4912c0(_0x2ada63,_0x1fb760,_0x338df4,_0x4d41fd){return _0x38eb01(_0x2ada63,_0x1fb760-0x183,_0x338df4-0xe9,_0x4d41fd-0x55);}return{'callId':_0x510f31['id'],'toolName':_0x510f31[_0x2c4af6(0x2d0,_0x42e147._0x4e5be3,_0x42e147._0x251669,_0x42e147._0x4d55e7)],'status':'error','output':_0x2c4af6(_0x42e147._0x176d69,0x51c,_0x42e147._0x268448,0x4bd)+_0x510f31[_0x4912c0(-0xaa,-0xdb,-0x143,-0x185)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x452327,_0x3261e7){const _0x5b9841={_0x52929c:0x25c,_0x2c5bc8:0x390,_0x1ece20:0x2b6},_0x544deb={_0xde6c9e:0x4ba},_0x590b66={_0x4e4572:0x141};function _0x14e022(_0x232fe9,_0x50bc3b,_0x59d884,_0xd57cd3){return _0x38eb01(_0x50bc3b,_0xd57cd3-0x26f,_0x59d884-0x160,_0xd57cd3-_0x590b66._0x4e4572);}function _0x27cdff(_0x276b6c,_0x22830b,_0x48ea49,_0x50facc){return _0x38eb01(_0x276b6c,_0x48ea49-_0x544deb._0xde6c9e,_0x48ea49-0x176,_0x50facc-0x1c0);}return{'callId':_0x452327['id'],'toolName':_0x452327[_0x27cdff(0x170,0x28d,_0x5b9841._0x52929c,_0x5b9841._0x2c5bc8)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x452327[_0x27cdff(0x1b8,0x1f6,0x2e4,_0x5b9841._0x1ece20)]),'exitCode':0x0},'chunks':[_0x3261e7],'meta':createMeta()};}function createMockToolRuntime(){const _0x331177={_0x37886f:0x142,_0x554d22:0xb2,_0x190887:0x38a,_0x362ed6:0x344,_0x9f4405:0x35e},_0x10f7dc={_0x192ba9:0x5c},_0x2bf805={_0x2ed466:0x140,_0x3c4917:0x21f,_0x52e589:0x425,_0x3e8715:0x34d,_0x652592:0x4c9},_0x5876bc=async(_0x29a770,_0x96695b)=>{const _0x1ebe32={_0x2b0203:0x2e7};function _0x50b120(_0xa8bd1a,_0x2be850,_0x5c2163,_0x410e0c){return _0x29c8(_0x410e0c-0x171,_0xa8bd1a);}if(_0x29a770[_0x50b120(0x197,_0x2bf805._0x2ed466,_0x2bf805._0x3c4917,0x24e)]!==_0x32e7d7(_0x2bf805._0x52e589,_0x2bf805._0x3e8715,0x601,_0x2bf805._0x652592))return createUnknownToolResult(_0x29a770);const _0x352850=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x32e7d7(_0xe72967,_0x3263b3,_0x177809,_0xd96f8f){return _0x29c8(_0xd96f8f-_0x1ebe32._0x2b0203,_0x3263b3);}return createSuccessToolResult(_0x29a770,_0x352850);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x1fff52,_0x1131c0){const _0x3520a4={_0x287d38:0x22a};function _0x41d974(_0x3ce040,_0x5c051b,_0x457702,_0x388ff8){return _0x29c8(_0x388ff8-_0x3520a4._0x287d38,_0x457702);}function _0x3eb781(_0xf9e6a8,_0x252a83,_0xbc4fcb,_0x547ad4){return _0x29c8(_0x252a83-_0x10f7dc._0x192ba9,_0x547ad4);}return await Promise[_0x3eb781(0x87,_0x331177._0x37886f,_0x331177._0x554d22,0xd)](_0x1fff52[_0x3eb781(_0x331177._0x190887,_0x331177._0x362ed6,_0x331177._0x9f4405,0x29e)](async _0x379078=>{return await _0x5876bc(_0x379078,_0x1131c0);}));},async 'execute'(_0xd8c0c9,_0x43ce99){return await _0x5876bc(_0xd8c0c9,_0x43ce99);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x5180cc={_0x10cf4b:0x251,_0x4ae71d:0x1bc},_0x40a101={_0x32d2ac:0x188,_0x4cbc2a:0x11b};delegatedRunCounter+=0x1;function _0xeaf640(_0x30b3ef,_0x432f72,_0x570709,_0x15b006){return _0x38eb01(_0x432f72,_0x570709- -0x9c,_0x570709-_0x40a101._0x32d2ac,_0x15b006-_0x40a101._0x4cbc2a);}return _0xeaf640(-0x257,-_0x5180cc._0x10cf4b,-0x2c0,-_0x5180cc._0x4ae71d)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x12b182,_0x2c3535){const _0x48fa74={_0x9b6bd6:0x4f6,_0x31d06d:0x625,_0x520eeb:0x4df},_0x55f40c={_0xfc8816:0x1cd,_0x2af3a2:0x103};function _0x26a81c(_0x4ddd33,_0x8fdc6e,_0x8eaaa2,_0x4f5a0b){return _0x2cc51b(_0x8eaaa2,_0x8fdc6e-_0x55f40c._0xfc8816,_0x8eaaa2-_0x55f40c._0x2af3a2,_0x4ddd33-0x3c);}return typeof _0x12b182===_0x26a81c(0x525,_0x48fa74._0x9b6bd6,_0x48fa74._0x31d06d,_0x48fa74._0x520eeb)?await _0x12b182(_0x2c3535):_0x12b182;}function getDelegatedAgentDefinition(_0x329fc1,_0x5ca18e){return _0x329fc1['agents']?.[_0x5ca18e];}function createRunSummary(_0x5443a5){const _0x5c5802={_0x5259cf:0x65e,_0x52753d:0x6ec,_0x136fb4:0x50a,_0xcf01cd:0x598,_0x4f8476:0x758,_0x14eecc:0x58a,_0x36cf4b:0x4ac,_0x1c6601:0x4e3,_0x21f12d:0x3d1,_0x3e0e9f:0x557,_0x1d949a:0x6ba,_0xf56ab2:0x6cc,_0x398b48:0x3ab,_0x18f142:0x2e8,_0x5e546d:0xe1,_0xe60d8d:0x16d,_0x55599a:0x47a,_0x2f280a:0x374,_0x4c5d8d:0x333,_0x2d21ee:0x36c,_0x2facc2:0x1eb,_0x229262:0x59e,_0xee4315:0x4c3,_0x5d4afb:0x50c,_0x35a0c3:0x549,_0x3a8874:0x3bf},_0xe1b22a={_0x3d0eab:0x648,_0x4d903f:0x1a7},_0x431c42={_0x24417b:0x13f};function _0x18821e(_0x18e4d8,_0x54524d,_0x4c4c78,_0x438640){return _0x2cc51b(_0x438640,_0x54524d-0x1d6,_0x4c4c78-0x129,_0x4c4c78- -_0x431c42._0x24417b);}function _0x23f816(_0x37c681,_0x1e8f21,_0x1c1aae,_0x32bf83){return _0x38eb01(_0x32bf83,_0x37c681-_0xe1b22a._0x3d0eab,_0x1c1aae-_0xe1b22a._0x4d903f,_0x32bf83-0x2e);}return{'runId':_0x5443a5[_0x23f816(_0x5c5802._0x5259cf,_0x5c5802._0x52753d,_0x5c5802._0x136fb4,_0x5c5802._0xcf01cd)],'agentId':_0x5443a5[_0x23f816(0x687,_0x5c5802._0x4f8476,0x5e7,_0x5c5802._0x14eecc)],'sessionId':_0x5443a5[_0x23f816(_0x5c5802._0x36cf4b,_0x5c5802._0x1c6601,0x38e,_0x5c5802._0x21f12d)],'status':_0x5443a5[_0x23f816(_0x5c5802._0x3e0e9f,0x56e,_0x5c5802._0x1d949a,_0x5c5802._0xf56ab2)],'parentSessionId':_0x5443a5[_0x18821e(_0x5c5802._0x398b48,0x321,_0x5c5802._0x18f142,0x1ca)],..._0x5443a5[_0x18821e(0x1bf,_0x5c5802._0x5e546d,_0x5c5802._0xe60d8d,0x15)]!==void 0x0?{'originToolCallId':_0x5443a5[_0x23f816(0x3e8,0x34a,_0x5c5802._0x55599a,_0x5c5802._0x2f280a)]}:{},..._0x5443a5[_0x18821e(0x2c5,0x3e,0x1ba,0x2fe)]!==void 0x0?{'errorMessage':_0x5443a5['errorMessage']}:{},..._0x5443a5[_0x18821e(_0x5c5802._0x4c5d8d,0x2df,0x323,0x43a)]?.[_0x18821e(_0x5c5802._0x2d21ee,0x221,0x2ce,_0x5c5802._0x2facc2)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x5443a5[_0x23f816(_0x5c5802._0x229262,_0x5c5802._0xee4315,0x53c,_0x5c5802._0x5d4afb)][_0x23f816(_0x5c5802._0x35a0c3,0x47e,0x50e,_0x5c5802._0x3a8874)])}:{}};}function createRunSummaryOutput(_0x52734f,_0x266e22){const _0x2b6b6a={_0x254623:0x1bc,_0x5dd638:0x29e,_0x3f6b67:0x2a8,_0x51acad:0x321,_0x2933b8:0x38},_0x4df4e3={_0x554eb5:0x107,_0x5cdbc9:0x149},_0x26fcfe={_0x8e22ad:0x23a,_0x5421f8:0x28};function _0x1b47e6(_0x47b75c,_0x244538,_0x55b8ff,_0x242856){return _0x38eb01(_0x55b8ff,_0x47b75c-_0x26fcfe._0x8e22ad,_0x55b8ff-_0x26fcfe._0x5421f8,_0x242856-0x15c);}const _0x2a49e9=createRunSummary(_0x52734f);function _0x599cfd(_0x115c0a,_0xb3f00c,_0x4890ef,_0xa194c0){return _0x2cc51b(_0x115c0a,_0xb3f00c-_0x4df4e3._0x554eb5,_0x4890ef-0x183,_0x4890ef-_0x4df4e3._0x5cdbc9);}const _0x872d71=_0x2a49e9[_0x1b47e6(0x12a,0x16d,0x97,_0x2b6b6a._0x254623)];return createToolOutput(typeof _0x872d71===_0x1b47e6(_0x2b6b6a._0x5dd638,0x298,_0x2b6b6a._0x3f6b67,_0x2b6b6a._0x51acad)&&_0x872d71[_0x1b47e6(0x133,0x183,-0x4e,_0x2b6b6a._0x2933b8)]>0x0?_0x872d71:_0x266e22,_0x2a49e9);}function getRunTerminalErrorMessage(_0x245e92){const _0x43bd4b={_0x14f482:0x1a8,_0x50829d:0x75,_0x1f76e3:0x1a1,_0x5ed13b:0x21a,_0x31d145:0x486,_0x2ebbe5:0x43c,_0x185c5a:0x460,_0x1dbb9d:0x358,_0x2dc6b7:0x2b4,_0x5bc8c7:0x203},_0x364300={_0xb66217:0x68,_0x5bed8c:0x1f6},_0xdbf43f={_0x44067f:0x1c2,_0x583c21:0x5b};function _0x56c2b4(_0x922e07,_0x501c32,_0x2821ef,_0x566301){return _0x2cc51b(_0x566301,_0x501c32-_0xdbf43f._0x44067f,_0x2821ef-0x13b,_0x2821ef-_0xdbf43f._0x583c21);}function _0x242abf(_0x451409,_0x227d70,_0x30cb8d,_0x3e61c6){return _0x2cc51b(_0x30cb8d,_0x227d70-0x10,_0x30cb8d-_0x364300._0xb66217,_0x3e61c6- -_0x364300._0x5bed8c);}const _0x3fd7e9=_0x245e92?.['state']['toolResults']['at'](-0x1);if(_0x3fd7e9?.[_0x242abf(0x371,_0x43bd4b._0x14f482,0xc4,0x225)]===_0x242abf(_0x43bd4b._0x50829d,_0x43bd4b._0x1f76e3,_0x43bd4b._0x5ed13b,0x142)&&_0x3fd7e9['output']['trim']()[_0x56c2b4(_0x43bd4b._0x31d145,_0x43bd4b._0x2ebbe5,_0x43bd4b._0x185c5a,_0x43bd4b._0x1dbb9d)]>0x0)return _0x3fd7e9[_0x242abf(_0x43bd4b._0x2dc6b7,_0x43bd4b._0x5bc8c7,0x2a2,0x2e7)];return void 0x0;}function formatAbortedRunMessage(_0x41ae6e,_0x1adec2){const _0x418262={_0x5dbcad:0x49d,_0x4615e5:0x435,_0x1fb45e:0x526,_0x3d87df:0x1d4,_0x55fedb:0xe4,_0x3e8446:0xb9},_0x1839ea={_0x146d6b:0x15a};function _0x16edff(_0x220105,_0x40383f,_0x133d97,_0x1d7a36){return _0x2cc51b(_0x133d97,_0x40383f-0xca,_0x133d97-_0x1839ea._0x146d6b,_0x1d7a36-0xe5);}function _0x1076f4(_0x15403b,_0x21de49,_0x366df2,_0x41dd30){return _0x38eb01(_0x366df2,_0x21de49-0x20c,_0x366df2-0x13e,_0x41dd30-0x1ea);}const _0x219e3c=_0x16edff(_0x418262._0x5dbcad,_0x418262._0x4615e5,0x63a,_0x418262._0x1fb45e)+_0x41ae6e+_0x1076f4(-0x82,0x82,-0xcb,_0x418262._0x3d87df);if(!_0x1adec2||_0x1adec2['trim']()[_0x1076f4(0x256,0x105,_0x418262._0x55fedb,_0x418262._0x3e8446)]===0x0||_0x1adec2===_0x219e3c)return _0x219e3c;return _0x219e3c+'\x20Cause:\x20'+_0x1adec2;}function createAssignTaskTool(_0x15659){const _0x1a67e8={_0x323a51:0x587,_0x3cc03b:0x640,_0x3cd583:0x608,_0x485416:0x51a,_0x46ea2a:0x687,_0x319cab:0x556,_0x3c2ed5:0x518,_0x33e925:0x563,_0x36a1ce:0x667,_0x1c6e1f:0x7a1,_0x328188:0x6cd,_0xd44d85:0x6db,_0x5473dc:0x648,_0x26f939:0x5dd,_0x5a8f3a:0x376,_0x2b152c:0x43d,_0x145196:0x7ef,_0x1004ea:0x670,_0x2b404c:0x556,_0x16b17e:0x341},_0x5d1ef1={_0x30daae:0x26f,_0x31f215:0x4e3,_0x30dd46:0x650,_0x370cf5:0x8,_0x504b72:0x1ba,_0x431198:0x1db,_0x18c1e3:0xb4,_0xa31d9f:0x670,_0x23d3cf:0x72c,_0x2ce53a:0x540,_0x1d5de6:0x54a,_0x15fc13:0x1a,_0x1ad746:0xbd,_0x50dbb7:0x5ad,_0xb0eb9f:0x52d,_0x448253:0x67c,_0x1f3146:0x722,_0x8acfb3:0x6d4,_0x2ae647:0x739,_0x2f9c1f:0x5b8,_0x197faf:0x547,_0x1d80a5:0x53f,_0x4f3332:0x5a3,_0x2ba35a:0x52b,_0x431965:0x650,_0x59a41f:0x182,_0x53ef41:0x7a,_0x20d31d:0x1c4,_0x320398:0xcc,_0x2700f5:0x539,_0x39e077:0x4a9,_0x38739f:0x62f,_0x1bd5b5:0xac,_0x24727d:0x1ea,_0x11e88d:0x94,_0x243245:0x44,_0x5d6b15:0x190,_0x334279:0x5c2,_0x1eb37d:0x617,_0x58daf9:0x114,_0x5206f1:0x4c,_0xa43b8c:0x6e,_0x33ccb4:0x5af,_0x2d99ba:0x5f2,_0x8ab911:0x486,_0x25aca3:0x599,_0x51fc8f:0x55a,_0x485167:0x636,_0x5922ff:0x12c,_0x249bac:0x41,_0x34fa9a:0x20b,_0x2cd279:0x15,_0x28c6da:0x1f6,_0x266916:0x13,_0x4648fe:0x11b,_0x5d4248:0x151,_0x110ac4:0x6f9,_0xe5f65d:0x6e7,_0x1c7ce6:0x7b7,_0x41e48a:0x4d,_0xb68f70:0xa0,_0x339fdc:0x1,_0x5128df:0x616,_0x1e9a5f:0x746,_0x173ff9:0x5f6,_0x644b53:0x73e,_0x467e3f:0x71a,_0x1b6c88:0x649,_0x113de9:0x12e,_0x5b4ee0:0x94,_0x6f8ccf:0xa5,_0x18c2dc:0x0,_0x4c7cf9:0x10,_0x4c2943:0x16a,_0x26a879:0x618,_0xf62d4f:0x498,_0x4f8e07:0x760,_0x559565:0x7e0,_0x2e7234:0x46f,_0x1bfaaf:0x16f,_0x4ff8ee:0x56},_0x3a6500={_0x3d24b3:0x2df,_0x1bcae8:0x4f,_0x161b86:0x170,_0x36f736:0x2f5,_0x53a707:0x495,_0x1e2f50:0x468},_0x3e9416={_0x19324c:0x99};function _0x5d3261(_0x704762,_0x1af861,_0x34bbd2,_0x3d79c7){return _0x2cc51b(_0x1af861,_0x1af861-_0x3e9416._0x19324c,_0x34bbd2-0xb1,_0x3d79c7-0x15d);}function _0x2b940b(_0x3941f8,_0xa92969,_0x338c3b,_0x545e71){return _0x38eb01(_0x338c3b,_0x3941f8-0x677,_0x338c3b-0x70,_0x545e71-0x1e4);}return defineTool({'name':_0x2b940b(_0x1a67e8._0x323a51,_0x1a67e8._0x3cc03b,0x52f,_0x1a67e8._0x3cd583),'permissionClass':_0x2b940b(_0x1a67e8._0x485416,_0x1a67e8._0x46ea2a,_0x1a67e8._0x319cab,_0x1a67e8._0x3c2ed5),'description':_0x2b940b(_0x1a67e8._0x33e925,_0x1a67e8._0x36a1ce,0x5bc,0x4e7),'inputSchema':{'type':_0x5d3261(0x687,0x66b,0x666,0x5d5),'properties':{'agentId':{'type':_0x5d3261(0x6fd,0x69e,_0x1a67e8._0x1c6e1f,_0x1a67e8._0x328188),'description':'ID\x20of\x20the\x20agent\x20to\x20invoke,\x20chosen\x20from\x20the\x20available\x20specialist\x20agents.'},'description':{'type':_0x2b940b(_0x1a67e8._0xd44d85,0x613,0x57f,0x747),'description':_0x5d3261(0x4fd,0x56e,0x6b6,_0x1a67e8._0x5473dc)},'nickname':{'type':_0x2b940b(0x6db,0x618,_0x1a67e8._0x26f939,0x5ba),'description':_0x2b940b(0x540,0x4fc,0x4e2,0x60b)},'task':{'type':'string','description':_0x5d3261(0x3ea,_0x1a67e8._0x5a8f3a,0x410,_0x1a67e8._0x2b152c)}},'required':[_0x2b940b(0x6b6,0x5ac,_0x1a67e8._0x145196,_0x1a67e8._0x1004ea),'description',_0x2b940b(0x49a,_0x1a67e8._0x2b404c,_0x1a67e8._0x16b17e,0x5f0)]},async *'execute'(_0x173f6d,_0x107726){const _0x5d21a8={_0x32be59:0x1f},_0x3d3998={_0x31d2f8:0x316,_0x36e2b9:0xc},_0x3cc92f={_0x266157:0x626,_0x2de721:0x181},_0x3d6c26={_0x245fa0:0x6e,_0x50f566:0x5eb},_0x53e497=createDelegatedRunId(),_0x41ee92={'agentId':_0x173f6d[_0x262297(0x722,0x673,0x776,0x68a)],'parentSessionId':_0x107726[_0x56ab1a(-0x11e,-_0x5d1ef1._0x30daae,-0x97,-0x3f)],'runId':_0x53e497,..._0x107726[_0x262297(_0x5d1ef1._0x31f215,0x412,_0x5d1ef1._0x30dd46,0x614)]!==void 0x0?{'toolCallId':_0x107726[_0x56ab1a(-0x182,_0x5d1ef1._0x370cf5,-0x1e2,-_0x5d1ef1._0x504b72)]}:{}},_0x2df14c=getDelegatedAgentDefinition(_0x15659,_0x173f6d[_0x56ab1a(0xbd,_0x5d1ef1._0x431198,0x1b8,_0x5d1ef1._0x18c1e3)]);if(!_0x2df14c)throw new ToolExecutionError(_0x262297(_0x5d1ef1._0xa31d9f,_0x5d1ef1._0x23d3cf,_0x5d1ef1._0x2ce53a,_0x5d1ef1._0x1d5de6)+_0x173f6d[_0x56ab1a(0xbd,-_0x5d1ef1._0x15fc13,0x7d,0x19c)],{'agentId':_0x173f6d[_0x56ab1a(_0x5d1ef1._0x1ad746,0x171,0x193,0x124)]});const _0x1c19d9=new Agent(await resolveDelegatedAgentOptions(_0x2df14c,_0x41ee92)),_0x5e9251=_0x15659[_0x262297(0x4f7,_0x5d1ef1._0x50dbb7,_0x5d1ef1._0xb0eb9f,_0x5d1ef1._0x448253)]?.(_0x1c19d9)??(()=>{});let _0x506035={'runId':_0x53e497,'agentId':_0x173f6d[_0x262297(_0x5d1ef1._0x1f3146,_0x5d1ef1._0x8acfb3,_0x5d1ef1._0x2ae647,_0x5d1ef1._0x2f9c1f)],'sessionId':_0x1c19d9[_0x262297(_0x5d1ef1._0x197faf,_0x5d1ef1._0x1d80a5,0x51d,_0x5d1ef1._0x4f3332)],'status':_0x262297(0x562,_0x5d1ef1._0x2ba35a,0x486,_0x5d1ef1._0x431965),'parentSessionId':_0x107726['sessionId'],..._0x107726[_0x56ab1a(-_0x5d1ef1._0x59a41f,-0x254,-0x23,-_0x5d1ef1._0x53ef41)]!==void 0x0?{'originToolCallId':_0x107726[_0x56ab1a(-0x182,-_0x5d1ef1._0x20d31d,-_0x5d1ef1._0x320398,-0x5a)]}:{}};function _0x56ab1a(_0x192095,_0x5553da,_0x43e30f,_0x5ece34){return _0x5d3261(_0x192095-0x47,_0x5ece34,_0x43e30f-_0x3d6c26._0x245fa0,_0x192095- -_0x3d6c26._0x50f566);}const _0x2d35b5=new AbortController(),_0x5bcfb8=addAbortListener(_0x107726[_0x262297(_0x5d1ef1._0x2700f5,_0x5d1ef1._0x39e077,0x41d,_0x5d1ef1._0x38739f)],()=>{function _0x4085d9(_0x156c6b,_0x4e2ed5,_0x14ee6e,_0x4b65db){return _0x262297(_0x156c6b- -_0x3cc92f._0x266157,_0x14ee6e,_0x14ee6e-_0x3cc92f._0x2de721,_0x4b65db-0x31);}function _0x92cfaf(_0x58e7df,_0x59641c,_0x265bd3,_0x2486e2){return _0x262297(_0x2486e2- -_0x3d3998._0x31d2f8,_0x58e7df,_0x265bd3-0x17b,_0x2486e2-_0x3d3998._0x36e2b9);}_0x2d35b5[_0x92cfaf(_0x3a6500._0x3d24b3,_0x3a6500._0x1bcae8,0x1fa,_0x3a6500._0x161b86)](_0x107726[_0x92cfaf(0xa3,_0x3a6500._0x36f736,0x164,0x223)]?.[_0x92cfaf(_0x3a6500._0x53a707,0x3b2,_0x3a6500._0x1e2f50,0x32f)]);});function _0x262297(_0x50ad4f,_0x11ae48,_0x326e6b,_0x272215){return _0x2b940b(_0x50ad4f-0x6c,_0x11ae48-_0x5d21a8._0x32be59,_0x11ae48,_0x272215-0x9a);}try{yield createToolOutput(_0x56ab1a(-_0x5d1ef1._0x1bd5b5,-0x101,0x4b,-_0x5d1ef1._0x24727d)+_0x506035[_0x56ab1a(_0x5d1ef1._0x11e88d,-0xf5,-_0x5d1ef1._0x243245,_0x5d1ef1._0x5d6b15)]+'.',{'runId':_0x506035[_0x262297(0x6f9,_0x5d1ef1._0x334279,_0x5d1ef1._0x1eb37d,0x7a5)],'agentId':_0x506035[_0x56ab1a(_0x5d1ef1._0x1ad746,_0x5d1ef1._0x58daf9,_0x5d1ef1._0x5206f1,-_0x5d1ef1._0xa43b8c)],'sessionId':_0x506035[_0x262297(_0x5d1ef1._0x197faf,0x3d7,0x3fa,_0x5d1ef1._0x33ccb4)],'status':_0x506035[_0x262297(_0x5d1ef1._0x2d99ba,0x5ab,_0x5d1ef1._0x8ab911,0x60a)]});const _0x3c48d1=await _0x1c19d9[_0x262297(0x60e,_0x5d1ef1._0x25aca3,_0x5d1ef1._0x51fc8f,_0x5d1ef1._0x485167)](_0x173f6d['task'],{'streaming':!![],'signal':_0x2d35b5[_0x56ab1a(-_0x5d1ef1._0x5922ff,-_0x5d1ef1._0x249bac,-_0x5d1ef1._0x34fa9a,-_0x5d1ef1._0x2cd279)]});_0x506035={..._0x506035,'status':_0x3c48d1[_0x56ab1a(-0x73,-0x4d,-_0x5d1ef1._0x28c6da,_0x5d1ef1._0x266916)],'result':_0x3c48d1};if(_0x3c48d1[_0x56ab1a(-0x73,0xc9,-_0x5d1ef1._0x4648fe,-_0x5d1ef1._0x5d4248)]!==_0x56ab1a(0xe,-0xe9,-0x13b,0x13a)){const _0x376895=getRunTerminalErrorMessage(_0x3c48d1),_0x1d330c=formatAbortedRunMessage(_0x506035[_0x262297(_0x5d1ef1._0x110ac4,0x75b,_0x5d1ef1._0xe5f65d,_0x5d1ef1._0x1c7ce6)],_0x376895);throw new ToolExecutionError(_0x1d330c,{...createRunSummary(_0x506035),'aborted':!![],'errorMessage':_0x1d330c});}return createRunSummaryOutput(_0x506035,_0x56ab1a(-_0x5d1ef1._0x41e48a,_0x5d1ef1._0xb68f70,-_0x5d1ef1._0x339fdc,-0x103)+_0x506035['runId']+_0x262297(_0x5d1ef1._0x5128df,_0x5d1ef1._0x1e9a5f,_0x5d1ef1._0x173ff9,0x4a8));}catch(_0x4b515f){if(_0x4b515f instanceof ToolExecutionError)throw _0x4b515f;if(isAbortError(_0x4b515f)||_0x2d35b5['signal'][_0x262297(_0x5d1ef1._0x644b53,0x69e,0x7ea,_0x5d1ef1._0x467e3f)]||_0x107726['signal']['aborted']){const _0x7a5495=getRunTerminalErrorMessage(_0x506035[_0x262297(0x639,_0x5d1ef1._0x1b6c88,0x5a4,0x68c)])??(_0x4b515f instanceof Error?_0x4b515f[_0x56ab1a(-0x10,-0x144,-0x124,-_0x5d1ef1._0x113de9)]:String(_0x4b515f)),_0x5b4194=formatAbortedRunMessage(_0x506035[_0x56ab1a(_0x5d1ef1._0x5b4ee0,-_0x5d1ef1._0x5206f1,0x7a,_0x5d1ef1._0x6f8ccf)],_0x7a5495);_0x506035={..._0x506035,'status':_0x56ab1a(0xd9,_0x5d1ef1._0x18c2dc,0x68,-0x8e),'errorMessage':_0x5b4194};throw new ToolExecutionError(_0x5b4194,{...createRunSummary(_0x506035),'aborted':!![],'errorMessage':_0x5b4194});}const _0x4270f4=getRunTerminalErrorMessage(_0x506035['result'])??(_0x4b515f instanceof Error?_0x4b515f[_0x56ab1a(-_0x5d1ef1._0x4c7cf9,-_0x5d1ef1._0x4c2943,-0x159,-0x194)]:String(_0x4b515f))??_0x262297(_0x5d1ef1._0x26a879,0x570,_0x5d1ef1._0xf62d4f,0x4e7)+_0x506035[_0x262297(0x6f9,_0x5d1ef1._0x4f8e07,0x7da,_0x5d1ef1._0x559565)]+_0x262297(_0x5d1ef1._0x2e7234,0x3b3,0x412,0x44b);_0x506035={..._0x506035,'status':_0x56ab1a(0x5f,-0x62,_0x5d1ef1._0x1bfaaf,-_0x5d1ef1._0x4ff8ee),'errorMessage':_0x4270f4};throw new ToolExecutionError(_0x4270f4,{...createRunSummary(_0x506035),'errorMessage':_0x4270f4});}finally{_0x5bcfb8(),_0x5e9251();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5b30e5){return[createAssignTaskTool(_0x5b30e5)];}import*as _0x422353 from'path';function buildDescription2(_0xe261c6){const _0x558dc9={_0x43e83e:0x10d,_0x5d32a3:0x31d,_0xeab1e3:0x23a,_0x16f7e9:0x2ab,_0x32690a:0xff,_0x3e8861:0x340,_0xf7c0fc:0x342,_0x427603:0xd7,_0x34aa07:0x115,_0x47fabd:0x239,_0x5d6129:0x9d,_0x2ae017:0x22e},_0x125049={_0x2ac9db:0x19e,_0x5f205f:0x1fc},_0xa6f472={_0x59825f:0x12a,_0x418dde:0x24};function _0x2085b9(_0x4f6bdf,_0x31fd88,_0x2dfd98,_0x36f63a){return _0x38eb01(_0x2dfd98,_0x4f6bdf-_0xa6f472._0x59825f,_0x2dfd98-_0xa6f472._0x418dde,_0x36f63a-0x1ab);}function _0x19c2f0(_0x159e3d,_0x49f2c9,_0x807d27,_0x128dc5){return _0x2cc51b(_0x128dc5,_0x49f2c9-_0x125049._0x2ac9db,_0x807d27-0x1b8,_0x159e3d- -_0x125049._0x5f205f);}if(_0xe261c6[_0x19c2f0(0x209,_0x558dc9._0x43e83e,0xb1,_0x558dc9._0x5d32a3)]===0x0)return _0x19c2f0(0x35a,0x22c,_0x558dc9._0xeab1e3,0x2ae);const _0x6518f6=[_0x19c2f0(0x15d,_0x558dc9._0x16f7e9,0x1aa,_0x558dc9._0x32690a),_0x19c2f0(_0x558dc9._0x3e8861,0x485,0x1ef,_0x558dc9._0xf7c0fc),'Use\x20this\x20when\x20a\x20task\x20matches\x20an\x20available\x20skill\x20description.',_0x2085b9(0xf5,-0x76,0x173,0x236),..._0xe261c6[_0x2085b9(_0x558dc9._0x427603,0x23b,_0x558dc9._0x34aa07,_0x558dc9._0x47fabd)](_0x16023c=>'-\x20'+_0x16023c['name']+':\x20'+_0x16023c[_0x2085b9(-0x12,0x103,-0x27,-0x11c)])];return _0x6518f6[_0x2085b9(-0xad,0xa2,-_0x558dc9._0x5d6129,-_0x558dc9._0x2ae017)]('\x0a');}function createLoadSkillTool(_0x29f88d){const _0x4a3b3c={_0x1bd0eb:0x41b,_0xf4fa4c:0x56c,_0x37902e:0x449,_0x24db67:0x55d,_0x1b6fee:0x27f,_0xfac358:0x284},_0xa1a157={_0x5c36e8:0xaf,_0xc83142:0x275,_0x2f75a0:0x2f1,_0xeb3c6b:0x14,_0x1dd3dd:0x126,_0x3a335c:0x2f,_0x10b087:0x136,_0x40433f:0x52c,_0x1c253a:0x4cc,_0x1514a4:0x52d,_0x773668:0x4ff,_0x305528:0x1eb,_0xfd8a05:0x8b,_0x314073:0x1ac,_0x274764:0x198,_0x356b90:0x126,_0x3c9e85:0x6,_0x4fd225:0x13f,_0x581afc:0xa6,_0x8275e4:0xd7,_0x723709:0xdd,_0x1a6295:0x12,_0x158b2d:0x160,_0x61ca54:0x32a,_0x4546c2:0x1b6,_0x319694:0x273,_0x1dcb11:0x513,_0x438f28:0x4ce,_0x38c58f:0x340,_0x5328f9:0x542,_0x271605:0x374,_0x33b4b4:0x12c,_0x3c6ce7:0xbe,_0x5cb963:0x2a2},_0x1e5117={_0x532f4e:0x1dc,_0x375b76:0x7d},_0x47ee30={_0x470660:0x2ac,_0x46824b:0x193,_0x1014c3:0x32},_0x47868f={_0x112c14:0x143,_0x2ee194:0x1a0},_0x109865=new Map(_0x29f88d['skills']['map'](_0x5317eb=>[_0x5317eb[_0x553041(0x2d3,0x27f,0x167,0x33b)],_0x5317eb]));function _0x553041(_0x133a04,_0x3bde69,_0x4b50a9,_0x446149){return _0x38eb01(_0x133a04,_0x3bde69-0x4dd,_0x4b50a9-_0x47868f._0x112c14,_0x446149-_0x47868f._0x2ee194);}const _0x5c472e=buildDescription2(_0x29f88d['skills']);function _0x2c3e84(_0x52d101,_0x113bbe,_0x437236,_0xe9e8eb){return _0x38eb01(_0x113bbe,_0xe9e8eb-_0x47ee30._0x470660,_0x437236-_0x47ee30._0x46824b,_0xe9e8eb-_0x47ee30._0x1014c3);}return defineTool({'name':_0x553041(0x504,0x393,_0x4a3b3c._0x1bd0eb,0x4b6),'permissionClass':'read','description':_0x5c472e,'inputSchema':{'type':_0x553041(_0x4a3b3c._0xf4fa4c,_0x4a3b3c._0x37902e,0x51a,_0x4a3b3c._0x24db67),'properties':{'name':{'type':'string'}},'required':[_0x553041(0x343,_0x4a3b3c._0x1b6fee,_0x4a3b3c._0xfac358,0x185)]},async *'execute'(_0x42a50){const _0xd02bf7=_0x109865['get'](_0x42a50['name']);function _0x7ed489(_0x2bb967,_0x44f739,_0x2277a7,_0xfe05ee){return _0x2c3e84(_0x2bb967-0x8c,_0x44f739,_0x2277a7-_0x1e5117._0x532f4e,_0x2277a7- -_0x1e5117._0x375b76);}if(!_0xd02bf7){const _0x20da8a=Array['from'](_0x109865[_0x7ed489(0x2c,-_0xa1a157._0x5c36e8,0x46,0x90)]())['join'](',\x20');throw new ToolExecutionError(_0x45aa44(0x2aa,_0xa1a157._0xc83142,_0xa1a157._0x2f75a0,0x43d)+_0x42a50[_0x7ed489(-_0xa1a157._0xeb3c6b,-_0xa1a157._0x1dd3dd,-_0xa1a157._0x3a335c,_0xa1a157._0x10b087)]+_0x45aa44(_0xa1a157._0x40433f,0x4e6,_0xa1a157._0x1c253a,_0xa1a157._0x1514a4)+_0x20da8a,{'name':_0x42a50['name']});}const _0x2f3119=await _0x29f88d[_0x45aa44(_0xa1a157._0x773668,0x2a1,0x3c6,0x4f0)](_0xd02bf7),_0x936644=_0xd02bf7[_0x7ed489(_0xa1a157._0x305528,_0xa1a157._0xfd8a05,_0xa1a157._0x314073,_0xa1a157._0x274764)][_0x7ed489(0x290,0xd9,_0xa1a157._0x356b90,_0xa1a157._0x3c9e85)]??_0x422353[_0x7ed489(0x83,_0xa1a157._0x4fd225,_0xa1a157._0x581afc,0x1c3)](_0xd02bf7['source'][_0x45aa44(0x5bc,0x38c,0x440,0x589)]),_0x298020=['##\x20Skill:\x20'+_0x2f3119[_0x7ed489(_0xa1a157._0x8275e4,-0x16d,-_0xa1a157._0x3a335c,-0x1a9)],'',_0x2f3119[_0x7ed489(_0xa1a157._0x723709,_0xa1a157._0x1a6295,0x4,-_0xa1a157._0x158b2d)],'',_0x7ed489(0xf0,_0xa1a157._0x61ca54,_0xa1a157._0x4546c2,0x273),_0x45aa44(_0xa1a157._0x319694,_0xa1a157._0x1dcb11,0x3bd,_0xa1a157._0x438f28)+_0xd02bf7['source'][_0x45aa44(_0xa1a157._0x38c58f,0x59c,0x440,_0xa1a157._0x5328f9)],_0x7ed489(0x3f4,_0xa1a157._0x271605,0x2ba,0x3b9)+_0x936644]['join']('\x0a');function _0x45aa44(_0x5f5779,_0x21a502,_0x2c5804,_0x3ad0fb){return _0x2c3e84(_0x5f5779-0x179,_0x21a502,_0x2c5804-0xd,_0x2c5804-0x22c);}return yield createToolOutput(_0x298020,{'id':_0x2f3119['id'],'name':_0x2f3119[_0x7ed489(-0x146,-0x5e,-0x2f,_0xa1a157._0x33b4b4)],'path':_0xd02bf7[_0x7ed489(0x2d,0x9b,_0xa1a157._0x314073,0xaf)][_0x7ed489(_0xa1a157._0x3c6ce7,0x26e,0x197,_0xa1a157._0x5cb963)],'baseDirectory':_0x936644}),void 0x0;}});}var TODO_STATUSES=new Set([_0x2cc51b(0x36d,0x425,0x1c9,0x330),_0x2cc51b(0x392,0x3db,0x592,0x4d6),'completed']),TODO_PRIORITIES=new Set([_0x2cc51b(0x5fd,0x337,0x44c,0x4a7),_0x38eb01(-0x30c,-0x222,-0x12a,-0x2e5),'low']);function isTodoStatus(_0x107f54){const _0x467f4b={_0x4a1c07:0x6a0,_0x83fa60:0x4fa,_0x5d7293:0x3f5},_0x524231={_0xf938d9:0x1a,_0x1a326b:0x121},_0xe3d915={_0x33ecb2:0xdd,_0x2e10b0:0xb4};function _0xe032e8(_0x5dc3c2,_0x120af0,_0x507b26,_0x3ce562){return _0x2cc51b(_0x120af0,_0x120af0-_0xe3d915._0x33ecb2,_0x507b26-0x1af,_0x507b26-_0xe3d915._0x2e10b0);}function _0x31097d(_0x6a457,_0x2af69c,_0x1d6fd5,_0x33b0b4){return _0x38eb01(_0x6a457,_0x1d6fd5-0x5b9,_0x1d6fd5-_0x524231._0xf938d9,_0x33b0b4-_0x524231._0x1a326b);}return typeof _0x107f54===_0xe032e8(0x4a7,_0x467f4b._0x4a1c07,0x624,0x523)&&TODO_STATUSES[_0xe032e8(0x3fc,0x5e8,_0x467f4b._0x83fa60,_0x467f4b._0x5d7293)](_0x107f54);}function isTodoPriority(_0x3ade12){function _0x27257a(_0x53dc36,_0xd4707e,_0x48faa6,_0x247684){return _0x2cc51b(_0x48faa6,_0xd4707e-0xd6,_0x48faa6-0x198,_0xd4707e- -0x161);}return typeof _0x3ade12==='string'&&TODO_PRIORITIES[_0x27257a(0x2f0,0x2e5,0x291,0x2c5)](_0x3ade12);}var TodoStore=class{[_0x2cc51b(0x5f6,0x48b,0x449,0x479)]=new Map();['getTodos'](_0x23225c){const _0x1a452a={_0x176809:0xc0,_0x4c89c7:0x77,_0xa9df47:0x135},_0x469406={_0xf1087:0xe3,_0x37ae87:0x501},_0x3dbb07={_0x1ee1c1:0x33};function _0x27d8a9(_0x1c6934,_0x38b18f,_0x237e4e,_0x10d9eb){return _0x38eb01(_0x10d9eb,_0x38b18f-0x5cd,_0x237e4e-_0x3dbb07._0x1ee1c1,_0x10d9eb-0x176);}function _0x2c3d27(_0x442a34,_0x502ae0,_0x43651e,_0x328896){return _0x2cc51b(_0x502ae0,_0x502ae0-_0x469406._0xf1087,_0x43651e-0x14,_0x328896- -_0x469406._0x37ae87);}return this[_0x2c3d27(-0x14f,-0x29,0x9d,-0x88)][_0x2c3d27(-_0x1a452a._0x176809,-_0x1a452a._0x4c89c7,-0x24c,-_0x1a452a._0xa9df47)](_0x23225c)??[];}[_0x2cc51b(0x291,0x36a,0x2e0,0x316)](_0x331573,_0x3878c9){const _0x377efc={_0x173ae2:0x28a,_0x4c1282:0x39c,_0x4b8159:0x3e8},_0x594d6d={_0x459a48:0x14d};function _0x46d029(_0x331321,_0x33abfd,_0x26ed7f,_0xdee09f){return _0x2cc51b(_0xdee09f,_0x33abfd-0xd4,_0x26ed7f-_0x594d6d._0x459a48,_0x331321- -0x98);}this[_0x46d029(0x3e1,_0x377efc._0x173ae2,_0x377efc._0x4c1282,_0x377efc._0x4b8159)]['set'](_0x331573,_0x3878c9);}[_0x2cc51b(0x622,0x48b,0x53b,0x56b)](_0x11044c){const _0x133504={_0x4d1a7f:0x112,_0x8880b1:0x1b0,_0x5879ed:0x375,_0x483dba:0x3ab,_0x4ac8bd:0x74,_0xfa43cb:0x1d6,_0x2bacf4:0x21f,_0x2982de:0x1ef},_0x5a986c={_0xbe0d88:0x162,_0x3234df:0x13a};function _0x5329db(_0x4fe7ba,_0x5ca74d,_0x3f3040,_0x44c03d){return _0x2cc51b(_0x4fe7ba,_0x5ca74d-_0x5a986c._0xbe0d88,_0x3f3040-_0x5a986c._0x3234df,_0x3f3040- -0x2ad);}const _0x405aca=this[_0x5329db(_0x133504._0x4d1a7f,_0x133504._0x8880b1,0x20a,_0x133504._0x5879ed)](_0x11044c);function _0x1f9b0f(_0x355169,_0x1d0a76,_0x42d642,_0x33189e){return _0x2cc51b(_0x1d0a76,_0x1d0a76-0xab,_0x42d642-0xc8,_0x355169- -0x5a);}const _0x4595cf={'total':_0x405aca[_0x1f9b0f(_0x133504._0x483dba,0x2d3,0x4f0,0x238)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x2ede78 of _0x405aca){if(_0x2ede78['status']==='pending')_0x4595cf[_0x5329db(-_0x133504._0x4ac8bd,0xe4,0x83,0x99)]+=0x1;else{if(_0x2ede78['status']==='in_progress')_0x4595cf['inProgress']+=0x1;else _0x4595cf[_0x5329db(_0x133504._0xfa43cb,_0x133504._0x2bacf4,_0x133504._0x2982de,0xa8)]+=0x1;}}return _0x4595cf;}};function validateTodos(_0x2d86ca){const _0x19796f={_0x54862a:0x64c,_0x3b5003:0x4b9,_0x53004b:0x4da,_0x49d2ad:0x2f,_0x3de1ab:0xf4,_0x2ea149:0x47b,_0x281dd4:0x180,_0x480e12:0x1a3,_0x1f24e9:0x3c2,_0x5db594:0x34f,_0x20ecb3:0x89,_0x107b21:0x190,_0x3541f9:0x4f9,_0x2850db:0x91,_0x456c5e:0xec,_0x1c8d7e:0x406,_0x140983:0x42b,_0x577faa:0x569,_0x1a37c1:0x6a5,_0x562716:0x5ad,_0x4b5785:0x653,_0x5dcee3:0x552,_0xf2b0e6:0x5fc,_0x36c585:0x600,_0x420bbb:0x57a,_0x444ab7:0xcf,_0x49a823:0x7c,_0x3b1306:0xd6,_0x323c39:0x5e,_0x6c7f42:0x23b,_0xf0a800:0x142,_0xc4c60a:0x168,_0x187ae4:0x266,_0x235c40:0x22e,_0x1644af:0x258,_0x5b81aa:0x26d,_0x303611:0xf6,_0xd83ff0:0x1d,_0x57e3c7:0x2,_0x582f37:0x478,_0x25b6ac:0x4dd,_0x4462fe:0x31a,_0x8b70a3:0x128,_0x58b9e3:0x16b,_0x2e868f:0x235,_0x27361e:0x10,_0x28317b:0x18d,_0x369980:0x118,_0x5240b7:0x16c,_0x57eef6:0x154,_0x59d3c9:0x9c,_0x249bca:0xf1,_0x17d36a:0x163},_0x1bfb62={_0x35a964:0xb9},_0x3f42aa={_0x5c46c4:0x16f,_0x21070c:0xe5};if(!Array[_0x4961c2(_0x19796f._0x54862a,_0x19796f._0x3b5003,_0x19796f._0x53004b,0x41a)](_0x2d86ca[_0x173c8c(-_0x19796f._0x49d2ad,_0x19796f._0x3de1ab,0x2f,0xdb)])||_0x2d86ca['todos']['length']===0x0)throw new ToolExecutionError(_0x4961c2(0x592,0x408,_0x19796f._0x2ea149,0x556),{'error':_0x173c8c(0x2fe,_0x19796f._0x281dd4,0x2d3,_0x19796f._0x480e12)});for(let _0x8532ff=0x0;_0x8532ff<_0x2d86ca[_0x4961c2(0x319,0x2a5,_0x19796f._0x1f24e9,_0x19796f._0x5db594)]['length'];_0x8532ff+=0x1){const _0x33b088=_0x2d86ca[_0x173c8c(0xae,_0x19796f._0x20ecb3,_0x19796f._0x49d2ad,_0x19796f._0x107b21)][_0x8532ff];if(!_0x33b088||typeof _0x33b088!==_0x4961c2(0x45f,0x6e3,0x55b,_0x19796f._0x3541f9))throw new ToolExecutionError(_0x173c8c(_0x19796f._0x2850db,0x1,0xd6,_0x19796f._0x456c5e)+(_0x8532ff+0x1)+_0x4961c2(0x4c7,0x3bc,0x396,0x2fd),{'error':_0x4961c2(0x46a,_0x19796f._0x1c8d7e,_0x19796f._0x140983,_0x19796f._0x577faa)});if(typeof _0x33b088['id']!==_0x4961c2(_0x19796f._0x1a37c1,_0x19796f._0x562716,_0x19796f._0x4b5785,0x7bc)||_0x33b088['id'][_0x4961c2(_0x19796f._0x5dcee3,_0x19796f._0xf2b0e6,_0x19796f._0x36c585,_0x19796f._0x420bbb)]()[_0x173c8c(_0x19796f._0x444ab7,0x21d,0x155,0x241)]===0x0)throw new ToolExecutionError(_0x173c8c(-_0x19796f._0x49a823,0x1d2,_0x19796f._0x3b1306,0x1f4)+(_0x8532ff+0x1)+':\x20id\x20required',{'error':_0x173c8c(0x1f7,0x18f,0xea,0x127)});if(typeof _0x33b088[_0x173c8c(_0x19796f._0x323c39,_0x19796f._0x6c7f42,_0x19796f._0xf0a800,_0x19796f._0xc4c60a)]!=='string'||_0x33b088[_0x173c8c(_0x19796f._0x187ae4,0x143,0x142,_0x19796f._0x235c40)][_0x173c8c(_0x19796f._0x1644af,0x2ea,_0x19796f._0x5b81aa,_0x19796f._0x303611)]()[_0x4961c2(0x42a,0x3c9,0x4e8,0x446)]===0x0)throw new ToolExecutionError(_0x173c8c(0x2a,-_0x19796f._0xd83ff0,0xd6,_0x19796f._0x57e3c7)+(_0x8532ff+0x1)+_0x4961c2(_0x19796f._0x582f37,_0x19796f._0x25b6ac,0x44b,_0x19796f._0x4462fe),{'error':_0x173c8c(0xc9,0x1e5,0x248,0xe2)});if(!isTodoStatus(_0x33b088[_0x173c8c(0x229,_0x19796f._0x8b70a3,_0x19796f._0x58b9e3,_0x19796f._0x2e868f)]))throw new ToolExecutionError(_0x173c8c(_0x19796f._0x27361e,_0x19796f._0x28317b,0xd6,_0x19796f._0x369980)+(_0x8532ff+0x1)+':\x20invalid\x20status',{'error':'invalid_todo_status'});if(!isTodoPriority(_0x33b088[_0x173c8c(_0x19796f._0x5240b7,0x1fa,0x90,_0x19796f._0x57eef6)]))throw new ToolExecutionError(_0x4961c2(0x481,0x3e2,0x469,0x39b)+(_0x8532ff+0x1)+':\x20invalid\x20priority',{'error':'invalid_todo_priority'});}function _0x173c8c(_0x43e8e5,_0x348aba,_0x34e2dd,_0x1a9265){return _0x2cc51b(_0x348aba,_0x348aba-_0x3f42aa._0x5c46c4,_0x34e2dd-_0x3f42aa._0x21070c,_0x34e2dd- -0x2b0);}function _0x4961c2(_0x3f0bcb,_0x2ada43,_0x59c0c8,_0x5ab8f7){return _0x2cc51b(_0x5ab8f7,_0x2ada43-_0x1bfb62._0x35a964,_0x59c0c8-0x1a7,_0x59c0c8-0xe3);}const _0x1da673=_0x2d86ca[_0x173c8c(-_0x19796f._0x59d3c9,_0x19796f._0x249bca,_0x19796f._0x49d2ad,_0x19796f._0x17d36a)]['map'](_0x5c88d3=>_0x5c88d3['id']);if(new Set(_0x1da673)['size']!==_0x1da673['length'])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x551c9a){const _0x2cb02f={_0x19aa12:0x1a3,_0x15071c:0x16f,_0x13f62f:0x3e,_0x33ccb7:0x79,_0x23675d:0xce,_0x4467cf:0x20b,_0x3aaa56:0x15b,_0x1c72a1:0x2eb},_0x4de53e={_0x3221dc:0x3e},_0x1b117c={_0x7c7564:0x14d};function _0x874ac4(_0x571776,_0x2ae7ac,_0x38ec9e,_0x1a2bf6){return _0x38eb01(_0x571776,_0x38ec9e-0x4db,_0x38ec9e-0xe6,_0x1a2bf6-_0x1b117c._0x7c7564);}function _0x3d2e7f(_0x534694,_0x254459,_0x2ebd28,_0x29d510){return _0x2cc51b(_0x254459,_0x254459-0x7f,_0x2ebd28-_0x4de53e._0x3221dc,_0x534694- -0x542);}return _0x551c9a[_0x3d2e7f(-0x20b,-_0x2cb02f._0x19aa12,-_0x2cb02f._0x15071c,-0x212)]>0x0?Math[_0x3d2e7f(-_0x2cb02f._0x13f62f,0xcf,_0x2cb02f._0x33ccb7,_0x2cb02f._0x23675d)](_0x551c9a['completed']/_0x551c9a[_0x3d2e7f(-_0x2cb02f._0x4467cf,-_0x2cb02f._0x3aaa56,-0xd3,-_0x2cb02f._0x1c72a1)]*0x64)+'%':'0%';}function createReminderItems(_0x4a99bf){const _0xa1c805={_0xd3c129:0x4fb};function _0x1c58df(_0x20d7cc,_0x5f2cc6,_0x1f37cc,_0x4e03b1){return _0x2cc51b(_0x1f37cc,_0x5f2cc6-0x19f,_0x1f37cc-0x2d,_0x5f2cc6- -_0xa1c805._0xd3c129);}return _0x4a99bf['map'](_0x4c4866=>({'content':_0x4c4866[_0x1c58df(-0x112,-0x109,-0x21c,-0x19d)],'status':_0x4c4866['status'],'id':_0x4c4866['id']}));}function createStructuredResult(_0x5a043b,_0x5b5873,_0x1f2404,_0x3b77c2){const _0xc71578={_0xe3290c:0x5a,_0x346b51:0xb7},_0x414230={_0x3c682b:0x17},_0x1f0b2e={_0x31dcb9:0x48e,_0x2b0cc7:0x44};function _0x4d190c(_0x58e828,_0x4bf3e3,_0xd72856,_0xaa50b4){return _0x38eb01(_0x4bf3e3,_0x58e828-_0x1f0b2e._0x31dcb9,_0xd72856-_0x1f0b2e._0x2b0cc7,_0xaa50b4-0x175);}function _0x28fbb1(_0x4d5cd7,_0x2fd5f8,_0x516ba4,_0x204754){return _0x38eb01(_0x2fd5f8,_0x4d5cd7-_0x414230._0x3c682b,_0x516ba4-0xf,_0x204754-0x1a7);}return{'allCompleted':_0x3b77c2,'items':_0x5b5873[_0x28fbb1(-0x3c,0x59,_0xc71578._0xe3290c,_0xc71578._0x346b51)](_0x52daff=>({'id':_0x52daff['id'],'content':_0x52daff[_0x4d190c(0x374,0x476,0x4c5,0x2ac)],'status':_0x52daff[_0x28fbb1(-0xda,-0x5a,0x7b,-0x101)],'priority':_0x52daff['priority'],'createdAt':_0x52daff[_0x4d190c(0x257,0x20e,0x247,0x2c3)]})),'progress':createStatsProgress(_0x1f2404),'recentChanges':!![],'sessionId':_0x5a043b,'stats':_0x1f2404,'todosWritten':_0x5b5873['length']};}function createOutputText(_0x5141a0,_0x23e39b){const _0x6aa539={_0x4e3c16:0x1b2,_0x3bff8d:0x1e3,_0x3030ff:0x474,_0x17c8b7:0x517,_0xe6042c:0x186,_0x2f782a:0xa9,_0x3b0bd7:0x1d7,_0x5b6624:0x2d0,_0x110229:0x99,_0x5303a8:0xbf,_0x21b631:0x3b7,_0x3af4bc:0x509,_0x16586e:0x24e},_0x47a4c3={_0x56bdd5:0x39,_0x22fdf9:0x4a},_0x11e416={_0x4a8568:0x1f,_0x48bc63:0xb1},_0x5b8658=JSON[_0x40153a(_0x6aa539._0x4e3c16,0x30f,_0x6aa539._0x3bff8d,0x355)](createReminderItems(_0x5141a0));function _0x573ac4(_0x2db16e,_0x47377a,_0x3fa9ee,_0x39f5e3){return _0x38eb01(_0x39f5e3,_0x47377a- -_0x11e416._0x4a8568,_0x3fa9ee-_0x11e416._0x48bc63,_0x39f5e3-0x35);}function _0x40153a(_0x547a02,_0x3914d9,_0x2d61cb,_0x3aa242){return _0x2cc51b(_0x3aa242,_0x3914d9-0x1b6,_0x2d61cb-_0x47a4c3._0x56bdd5,_0x3914d9-_0x47a4c3._0x22fdf9);}if(_0x23e39b)return _0x40153a(0x40f,_0x6aa539._0x3030ff,_0x6aa539._0x17c8b7,0x467)+_0x5141a0[_0x573ac4(-_0x6aa539._0xe6042c,-0x126,-_0x6aa539._0x2f782a,-0x18d)]+_0x573ac4(-0xd1,-0x226,-_0x6aa539._0x3b0bd7,-_0x6aa539._0x5b6624)+_0x5b8658+_0x573ac4(-_0x6aa539._0x110229,-0x31,-_0x6aa539._0x5303a8,-0x14a);return _0x40153a(0x442,_0x6aa539._0x21b631,_0x6aa539._0x3af4bc,_0x6aa539._0x16586e)+_0x5b8658+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x32a0a3=new TodoStore()){const _0x2a9220={_0x5033e1:0x331,_0x505c5a:0x32c,_0x340b4d:0x2be,_0x95ca2a:0x6d1,_0x5c6fc0:0x52b,_0x26ba4d:0x644,_0x5f1831:0x77b,_0x4947f9:0x69e,_0x5f13d9:0x65d,_0x2d44f3:0x56b,_0x3f5072:0x1e3,_0x5f419a:0x366,_0x3b0e94:0x2ca,_0x1751a4:0x123,_0x18c955:0x30e,_0x43d9ec:0x607,_0x46fdb6:0x65f,_0x192ca8:0x220,_0x21b606:0x1cb,_0x17eea0:0x3b,_0x522aaf:0xd5,_0x36df90:0x24},_0x4f5e24={_0x5e2cf3:0x432,_0x2a243f:0x5a4,_0x3c4418:0x350,_0xcd1404:0x2d8,_0xd5094d:0x2b9,_0x1a2040:0x433,_0x36642b:0x27c,_0x379ce0:0x3c6,_0x271861:0x5a2,_0x3d6bfb:0x331,_0x5f2d7b:0x295,_0x11a501:0x671,_0x3a0d7f:0x4e2,_0x47b7f9:0x4e3,_0x3234ad:0x4f4,_0x222db8:0x617,_0x5721cd:0x46d,_0x48fcdb:0x489},_0x2657e2={_0x40313f:0xd,_0x252b20:0xab,_0x1e98cd:0x20a},_0x38aed8={_0x4aeb60:0x63a,_0x10d88a:0x1ec};function _0x293846(_0xb4ab29,_0x552d50,_0x54260d,_0x4e6d5a){return _0x38eb01(_0xb4ab29,_0x552d50-_0x38aed8._0x4aeb60,_0x54260d-0x179,_0x4e6d5a-_0x38aed8._0x10d88a);}function _0x7dede1(_0x15881c,_0x33daaa,_0x40db77,_0x1c2dc4){return _0x2cc51b(_0x1c2dc4,_0x33daaa-_0x2657e2._0x40313f,_0x40db77-_0x2657e2._0x252b20,_0x40db77- -_0x2657e2._0x1e98cd);}return defineTool({'name':'TodoWrite','permissionClass':'read','description':_0x7dede1(_0x2a9220._0x5033e1,0x2f9,0x284,_0x2a9220._0x505c5a),'inputSchema':{'type':_0x7dede1(0x147,_0x2a9220._0x340b4d,0x26e,0x1eb),'properties':{'todos':{'type':_0x293846(_0x2a9220._0x95ca2a,0x690,0x6ac,0x5f9),'items':{'type':_0x293846(_0x2a9220._0x5c6fc0,0x5a6,_0x2a9220._0x26ba4d,0x5c8),'properties':{'content':{'type':'string'},'status':{'type':_0x293846(_0x2a9220._0x5f1831,0x69e,0x60c,0x7bd)},'priority':{'type':_0x293846(0x670,_0x2a9220._0x4947f9,_0x2a9220._0x5f13d9,_0x2a9220._0x2d44f3)},'id':{'type':'string'},'createdAt':{'type':_0x7dede1(_0x2a9220._0x3f5072,0x27f,_0x2a9220._0x5f419a,_0x2a9220._0x3b0e94)}},'required':[_0x7dede1(_0x2a9220._0x1751a4,_0x2a9220._0x18c955,0x1e8,0x244),_0x293846(_0x2a9220._0x43d9ec,0x549,_0x2a9220._0x46fdb6,0x546),_0x7dede1(-0x8,_0x2a9220._0x192ca8,0x136,_0x2a9220._0x21b606),'id']}}},'required':[_0x7dede1(_0x2a9220._0x17eea0,-0x51,_0x2a9220._0x522aaf,-_0x2a9220._0x36df90)]},async *'execute'(_0x1d6b21,_0x4b5160){const _0x4b50a1={_0x1e3b0a:0x51},_0x4a2751={_0x5e1aae:0xc0},_0x3405c4=_0x1d6b21;validateTodos(_0x3405c4);function _0x5a0f26(_0x3091c0,_0x2cbf9a,_0x5aa860,_0x40c744){return _0x293846(_0x5aa860,_0x2cbf9a- -0x113,_0x5aa860-0x42,_0x40c744-_0x4a2751._0x5e1aae);}const _0x781d2d=_0x4b5160[_0x417fde(0x44d,0x48e,_0x4f5e24._0x5e2cf3,_0x4f5e24._0x2a243f)]||_0x5a0f26(_0x4f5e24._0x3c4418,_0x4f5e24._0xcd1404,0x365,0x437),_0x137225=new Date()['toISOString']();function _0x417fde(_0x5c0b53,_0x38e8b9,_0x67ee60,_0x43f211){return _0x293846(_0x67ee60,_0x5c0b53- -0x51,_0x67ee60-0xc7,_0x43f211-_0x4b50a1._0x1e3b0a);}const _0xb23e37=_0x3405c4[_0x5a0f26(_0x4f5e24._0xd5094d,0x2fa,_0x4f5e24._0x1a2040,_0x4f5e24._0x36642b)][_0x5a0f26(_0x4f5e24._0x379ce0,0x4d4,_0x4f5e24._0x271861,0x43f)](_0x5b3212=>({'id':_0x5b3212['id'],'content':_0x5b3212[_0x5a0f26(0x4e0,0x40d,0x4b1,0x2a9)],'status':_0x5b3212[_0x5a0f26(0x31b,0x436,0x498,0x58f)],'priority':_0x5b3212[_0x417fde(0x41d,0x37e,0x39f,0x44d)],'sessionId':_0x781d2d,'createdAt':_0x5b3212[_0x417fde(0x3b2,0x263,0x4ba,0x36c)]||_0x137225,'updatedAt':_0x137225}));_0x32a0a3[_0x5a0f26(0x3b2,_0x4f5e24._0x3d6bfb,0x47f,_0x4f5e24._0x5f2d7b)](_0x781d2d,_0xb23e37);const _0x4fa230=_0x32a0a3[_0x5a0f26(0x43d,0x586,_0x4f5e24._0x11a501,0x4e3)](_0x781d2d),_0x7d6f0e=_0xb23e37[_0x417fde(_0x4f5e24._0x3a0d7f,_0x4f5e24._0x47b7f9,_0x4f5e24._0x3234ad,_0x4f5e24._0x222db8)]>0x0&&_0xb23e37[_0x417fde(0x4a2,_0x4f5e24._0x5721cd,_0x4f5e24._0x48fcdb,_0x4f5e24._0x3a0d7f)](_0x2aa5b9=>_0x2aa5b9[_0x417fde(0x4f8,0x5d1,0x379,0x52c)]===_0x5a0f26(0x43f,0x4b7,0x458,0x348));return createToolOutput(createOutputText(_0xb23e37,_0x7d6f0e),createStructuredResult(_0x781d2d,_0xb23e37,_0x4fa230,_0x7d6f0e));}});}import{mkdir as _0x42ea57,writeFile as _0x29869d}from'fs/promises';import*as _0x2aa88f from'path';function sanitizeFileName(_0x243d8b){const _0xf8cde8={_0x27f0b3:0xe7},_0x136500={_0x1f414d:0x30a,_0x922a36:0x164};function _0x273f32(_0x412f0d,_0x2522c7,_0x558465,_0x5131b3){return _0x38eb01(_0x558465,_0x412f0d-_0x136500._0x1f414d,_0x558465-0x75,_0x5131b3-_0x136500._0x922a36);}return _0x243d8b[_0x273f32(0x8a,-_0xf8cde8._0x27f0b3,0xc8,-0x5a)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x4b1cd7,_0x44258b){const _0x276ff4={_0xb7f2c5:0x5c7,_0x28f859:0x5fc,_0x5147c9:0x572,_0x21c3b5:0x3b3,_0x4d98b4:0x56a,_0x2e21c9:0x4ca,_0x1b1953:0x57d,_0x34c477:0x56b,_0x1e44bd:0x30b,_0x581d31:0x366,_0x2f4da2:0x549,_0x14fe93:0x5d2,_0x4ab8a8:0x32e,_0x3d46d5:0x5aa,_0x511174:0x578,_0x43ba08:0x562,_0x4f74c8:0x47c,_0x1651d8:0x271,_0x2643b8:0x486,_0x3c5cbb:0x314,_0x319e3b:0x4e2,_0x1374fa:0x5da,_0x460735:0x4ba,_0x53d0f6:0x36f,_0x242481:0x3ec,_0x5f1c83:0x553,_0x44cf70:0x53e,_0x28c714:0x360,_0x2d93df:0x316,_0x58f5e5:0x2f3,_0x563039:0x44a,_0x382888:0x4b3,_0x5d476c:0x533,_0x5f0ad5:0x51e,_0x11b509:0x4e3,_0x3966b4:0x40e,_0x361159:0x56d,_0x5c608f:0x2e8,_0x42f251:0x353,_0x40a0ab:0x3da,_0x221867:0x395,_0x2c2322:0x4b8,_0x455380:0x57f,_0x289c91:0x548,_0x39e8c9:0x280,_0x2abad6:0x32a,_0x5e1456:0x408,_0x4b11c0:0x30d,_0x536c64:0x335,_0x3c7533:0x1c6,_0x33b60b:0x47c,_0x6d5fb2:0x48a,_0x47a99d:0x211,_0x1ab020:0x375},_0x2885b8={_0x1c6345:0x56d,_0x37a09b:0x15a},_0xbbed52={_0x53fd57:0x147},{maxBytes:_0x4b22c5,sessionDir:_0xe32927}=_0x44258b;if(!_0x4b1cd7[_0x5d90fa(_0x276ff4._0xb7f2c5,_0x276ff4._0x28f859,0x3b9,0x53e)]||Buffer[_0x5d90fa(_0x276ff4._0x5147c9,_0x276ff4._0x21c3b5,_0x276ff4._0x4d98b4,_0x276ff4._0x2e21c9)](_0x4b1cd7[_0x5d90fa(0x6ac,_0x276ff4._0x1b1953,0x4c3,0x53e)],'utf8')<=_0x4b22c5)return _0x4b1cd7;const _0x2fc872=Buffer[_0x107c36(0x5c6,_0x276ff4._0x34c477,0x469,0x46e)](_0x4b1cd7['output'],_0x5d90fa(0x540,_0x276ff4._0x1e44bd,_0x276ff4._0x581d31,0x44a));if(!_0xe32927){const _0x375c2f=_0x4b1cd7['output'][_0x5d90fa(0x578,_0x276ff4._0x2f4da2,0x472,_0x276ff4._0x14fe93)](0x0,_0x4b22c5);return{..._0x4b1cd7,'output':_0x375c2f+(_0x107c36(0x388,0x321,_0x276ff4._0x4ab8a8,0x48a)+_0x4b22c5+_0x5d90fa(0x300,0x1d0,0x27a,0x2e7)+_0x2fc872+_0x107c36(_0x276ff4._0x3d46d5,_0x276ff4._0x511174,0x4ac,_0x276ff4._0x43ba08)),'meta':{..._0x4b1cd7['meta'],'truncated':!![],'originalBytes':_0x2fc872,'transforms':[..._0x4b1cd7['meta'][_0x107c36(0x300,0x359,_0x276ff4._0x4f74c8,0x399)],_0x107c36(_0x276ff4._0x1651d8,_0x276ff4._0x2643b8,_0x276ff4._0x3c5cbb,0x348)]}};}function _0x107c36(_0x2bcf6e,_0x1c027d,_0x9b18f4,_0xdb0aa){return _0x2cc51b(_0xdb0aa,_0x1c027d-_0xbbed52._0x53fd57,_0x9b18f4-0x1c7,_0x9b18f4-0x0);}const _0x4d24d3=_0x4b1cd7['toolName']+'_'+sanitizeFileName(_0x4b1cd7[_0x5d90fa(0x43e,_0x276ff4._0x319e3b,0x3a9,0x4ba)])+_0x107c36(0x623,_0x276ff4._0x1374fa,_0x276ff4._0x460735,_0x276ff4._0x53d0f6),_0x44dae2=_0x2aa88f['join'](_0xe32927,_0x4d24d3);await _0x42ea57(_0xe32927,{'recursive':!![]}),await _0x29869d(_0x44dae2,_0x4b1cd7[_0x5d90fa(0x6a4,_0x276ff4._0x242481,_0x276ff4._0x5f1c83,_0x276ff4._0x44cf70)],_0x5d90fa(_0x276ff4._0x28c714,_0x276ff4._0x2d93df,_0x276ff4._0x58f5e5,_0x276ff4._0x563039));let _0x10214=_0x4b1cd7['output'][_0x5d90fa(0x6ec,0x4dd,0x48f,0x5d2)](0x0,_0x4b22c5);function _0x5d90fa(_0x39e6f8,_0x4cf406,_0xabcba5,_0x4ed5a1){return _0x38eb01(_0x39e6f8,_0x4ed5a1-_0x2885b8._0x1c6345,_0xabcba5-0x19,_0x4ed5a1-_0x2885b8._0x37a09b);}const _0x44fd43=_0x10214[_0x5d90fa(_0x276ff4._0x382888,_0x276ff4._0x5d476c,0x685,_0x276ff4._0x5f0ad5)]('\x0a');_0x44fd43>_0x4b22c5*0.5&&(_0x10214=_0x10214['slice'](0x0,_0x44fd43));const _0x51167b=['',_0x5d90fa(_0x276ff4._0x11b509,0x2ae,0x473,_0x276ff4._0x3966b4),_0x107c36(0x2bd,_0x276ff4._0x361159,0x428,0x4d6)+_0x4b22c5+_0x5d90fa(0x3ef,0x451,0x201,_0x276ff4._0x5c608f)+_0x2fc872+_0x107c36(_0x276ff4._0x42f251,_0x276ff4._0x40a0ab,_0x276ff4._0x221867,0x2e3),_0x107c36(_0x276ff4._0x2c2322,0x446,_0x276ff4._0x455380,_0x276ff4._0x289c91)+_0x44dae2,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.',_0x107c36(_0x276ff4._0x39e8c9,0x25b,_0x276ff4._0x2abad6,_0x276ff4._0x5e1456)][_0x107c36(_0x276ff4._0x4b11c0,0x2fc,_0x276ff4._0x536c64,_0x276ff4._0x3c7533)]('\x0a');return{..._0x4b1cd7,'output':_0x10214+_0x51167b,'meta':{..._0x4b1cd7['meta'],'truncated':!![],'originalBytes':_0x2fc872,'transforms':[..._0x4b1cd7[_0x107c36(_0x276ff4._0x33b60b,0x377,_0x276ff4._0x6d5fb2,0x4c3)][_0x107c36(0x385,0x3bb,0x47c,0x3d6)],_0x5d90fa(0x266,0x229,_0x276ff4._0x47a99d,_0x276ff4._0x1ab020)]}};}function createUpdateTopicTool(){const _0x27d4e1={_0x5f4c12:0x337,_0x45d245:0x1b6,_0x39e10f:0x355,_0xab9576:0x413,_0x34a03d:0x580,_0x15fc25:0x488,_0x3d1ca2:0x421},_0x509f5b={_0x198d4d:0x24,_0x43b574:0x1cc,_0x2cdef5:0x91,_0x3fff6d:0xc5,_0x553bab:0xf8,_0x17f233:0x49,_0x207ff6:0x98,_0x17341f:0x4c,_0x261e03:0x24a,_0x1df911:0xcd},_0x582b1a={_0x598f7b:0x3bf,_0x559c6c:0x77},_0x132773={_0x121644:0x104};function _0x265c29(_0x2cfd7a,_0x4e82aa,_0x318236,_0x1841a2){return _0x38eb01(_0x318236,_0x2cfd7a-0x51c,_0x318236-_0x132773._0x121644,_0x1841a2-0x1c6);}function _0x31da26(_0x8a6ecb,_0x3780a3,_0x21f16c,_0x375481){return _0x38eb01(_0x21f16c,_0x3780a3-_0x582b1a._0x598f7b,_0x21f16c-_0x582b1a._0x559c6c,_0x375481-0x195);}return defineTool({'name':'UpdateTopic','permissionClass':'read','description':_0x265c29(_0x27d4e1._0x5f4c12,_0x27d4e1._0x45d245,_0x27d4e1._0x39e10f,0x363),'inputSchema':{'type':_0x31da26(_0x27d4e1._0xab9576,0x32b,0x3c6,0x4b0),'properties':{'topic':{'type':_0x265c29(_0x27d4e1._0x34a03d,_0x27d4e1._0x15fc25,0x6b9,_0x27d4e1._0x3d1ca2)}},'required':[_0x31da26(0x338,0x347,0x29d,0x2d4)]},async *'execute'(_0x5722e3,_0x591170){const _0x3d24a5={_0x47101e:0x37,_0xab761b:0x2b,_0x3f698e:0xd9},_0x842b6e={_0x486553:0x4fc,_0x896e3e:0x1e,_0x40625f:0x72};function _0x327f98(_0x597da6,_0x46eaa8,_0x4f27f5,_0x3d46d7){return _0x265c29(_0x4f27f5- -_0x842b6e._0x486553,_0x46eaa8-_0x842b6e._0x896e3e,_0x46eaa8,_0x3d46d7-_0x842b6e._0x40625f);}const {topic:_0xb58eba}=_0x5722e3;if(typeof _0xb58eba!=='string'||_0xb58eba['trim']()[_0x327f98(-_0x509f5b._0x198d4d,-0xa3,-0xe7,-_0x509f5b._0x43b574)]===0x0)throw new ToolExecutionError(_0x327f98(_0x509f5b._0x2cdef5,-_0x509f5b._0x3fff6d,-0xf6,-_0x509f5b._0x553bab),{'error':'invalid_topic'});function _0x20995c(_0x48aa96,_0x542e86,_0x1107ca,_0x460c86){return _0x31da26(_0x48aa96-_0x3d24a5._0x47101e,_0x48aa96-_0x3d24a5._0xab761b,_0x460c86,_0x460c86-_0x3d24a5._0x3f698e);}const _0x5bf6cc=_0xb58eba[_0x20995c(0x3fb,0x443,0x31a,0x527)]();return _0x591170[_0x327f98(-0x2a,_0x509f5b._0x17f233,_0x509f5b._0x207ff6,-_0x509f5b._0x17341f)]?.(_0x5bf6cc),yield createToolOutput(_0x327f98(-0x13a,-_0x509f5b._0x261e03,-_0x509f5b._0x1df911,-0xab)+_0x5bf6cc+'\x22',{'topic':_0x5bf6cc}),void 0x0;}});}import{readFile as _0x17dd6a,stat as _0x98f64a}from'fs/promises';import*as _0x3f2835 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x38eb01(-0x119,-0x17c,-0x1be,-0x18e),'high','low',_0x2cc51b(0x5d2,0x432,0x5f2,0x4c4)]),PNG_SIGNATURE=Buffer[_0x2cc51b(0x48b,0x307,0x3d0,0x434)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x464857,_0x4e8a67){const _0x2d3638={_0x4f7780:0x250,_0x51d343:0x14e,_0x43ea25:0xcf,_0x123b83:0x34,_0x1d8268:0x7d,_0x411cb5:0x8c,_0x4a968c:0x29,_0xb040c8:0xea,_0x28a763:0x242,_0x3e1010:0x2b,_0x2b5402:0x134,_0x2253ab:0x1c,_0x37f7ad:0x1fe,_0x5548fc:0x156,_0x52588a:0x1b2,_0x47fdf8:0x5a,_0x1d54cd:0x2e2,_0x386a56:0x38a,_0x329a43:0x267,_0x56d01a:0x37c,_0x425196:0x27a,_0x43a711:0x102,_0x5c8ef0:0x242,_0x494fa3:0x2a7,_0x2f1301:0x4e,_0x2a3461:0x265,_0x33e02d:0x2ce,_0x433629:0x20e,_0x47c754:0x2db,_0x3c856d:0x1bb,_0x510015:0x233,_0x1baf12:0x224,_0x262c15:0xdf,_0x3fd1c7:0x14e,_0x4f7dab:0x61,_0xdd4ae4:0x75,_0x2d715a:0x2d,_0x10fe8c:0xf7,_0x4cc941:0xf2,_0x3315e4:0x20d,_0x260bdb:0x364,_0x567b59:0x442,_0x24c841:0x23c,_0x46988f:0x2bc,_0x3b980e:0x208,_0x57b095:0x423,_0x2b38f7:0x3c0,_0x33376f:0x2ae,_0x1d0d65:0x15e},_0x4c5b4d={_0x147da9:0x5b,_0x1f7f49:0x22},_0x432fe9={_0x1e8341:0x19b,_0x100be3:0x1cf};if(_0x464857[_0x441c99(_0x2d3638._0x4f7780,_0x2d3638._0x51d343,0xf7,0x20)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x179f03(-0x4f,-0x131,_0x2d3638._0x43ea25,-_0x2d3638._0x123b83);if(_0x464857[0x0]===0xff&&_0x464857[0x1]===0xd8&&_0x464857[0x2]===0xff)return _0x179f03(_0x2d3638._0x1d8268,-_0x2d3638._0x411cb5,-_0x2d3638._0x4a968c,-_0x2d3638._0xb040c8);const _0x1a50bb=_0x464857[_0x441c99(_0x2d3638._0x28a763,0x14e,-_0x2d3638._0x3e1010,0x1)](0x0,0x6)[_0x179f03(-_0x2d3638._0x2b5402,-_0x2d3638._0x2253ab,-_0x2d3638._0x37f7ad,-_0x2d3638._0x5548fc)](_0x179f03(-_0x2d3638._0x52588a,-_0x2d3638._0x47fdf8,0x7d,-0xdf));function _0x441c99(_0x5a79e9,_0x39595d,_0x1ce0d3,_0x14aef8){return _0x2cc51b(_0x5a79e9,_0x39595d-_0x432fe9._0x1e8341,_0x1ce0d3-0xd2,_0x39595d- -_0x432fe9._0x100be3);}if(_0x1a50bb===_0x441c99(0x45f,_0x2d3638._0x1d54cd,_0x2d3638._0x386a56,0x2a2)||_0x1a50bb===_0x441c99(0x123,_0x2d3638._0x329a43,0x39e,_0x2d3638._0x56d01a))return'image/gif';if(_0x464857[_0x179f03(-0x179,-_0x2d3638._0x425196,-_0x2d3638._0x43a711,-0x24a)](0x0,0x4)[_0x441c99(0x2b5,_0x2d3638._0x5c8ef0,_0x2d3638._0x494fa3,0x175)]('ascii')===_0x441c99(0x245,0x195,0x282,_0x2d3638._0x2f1301)&&_0x464857[_0x441c99(_0x2d3638._0x2a3461,0x14e,_0x2d3638._0x33e02d,_0x2d3638._0x433629)](0x8,0xc)[_0x441c99(_0x2d3638._0x47c754,0x242,_0x2d3638._0x3c856d,0xc1)](_0x179f03(-0x194,-_0x2d3638._0x510015,-_0x2d3638._0x1baf12,-_0x2d3638._0x262c15))==='WEBP')return _0x441c99(0x236,0x269,_0x2d3638._0x3fd1c7,0x25b);const _0x5f172a=_0x3f2835[_0x179f03(_0x2d3638._0x4f7dab,_0x2d3638._0xdd4ae4,-_0x2d3638._0x2d715a,-_0x2d3638._0x10fe8c)](_0x4e8a67)['toLowerCase']();if(_0x5f172a===_0x441c99(0x28f,0x21d,0xfc,_0x2d3638._0x4cc941))return _0x441c99(_0x2d3638._0x3315e4,_0x2d3638._0x260bdb,_0x2d3638._0x567b59,_0x2d3638._0x24c841);if(_0x5f172a===_0x441c99(_0x2d3638._0x46988f,_0x2d3638._0x3b980e,0x17b,_0x2d3638._0x4f7780)||_0x5f172a===_0x441c99(_0x2d3638._0x57b095,0x2c9,0x1b2,_0x2d3638._0x2b38f7))return _0x441c99(0x188,_0x2d3638._0x33376f,0x408,0x2a9);function _0x179f03(_0x5471db,_0x2caac6,_0x44c8bb,_0x2ed2d6){return _0x38eb01(_0x2caac6,_0x2ed2d6- -_0x4c5b4d._0x147da9,_0x44c8bb-_0x4c5b4d._0x1f7f49,_0x2ed2d6-0x1a);}if(_0x5f172a===_0x179f03(0x10c,_0x2d3638._0x1d0d65,0x75,-0x27))return'image/gif';if(_0x5f172a==='.webp')return'image/webp';return void 0x0;}function _0x46e5(){const _0x10bfad=['vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','y29TCgXLDgvK','D2LUmZi','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','rgv0ywLSoIa','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','Bwf4rw50CMLLCW','rMv0y2GGywjVCNrLzcbIEsb1C2vY','DxjS','B3bLBMfPlxjLC3bVBNnLCW','l29WDc9OB21LyNjLDY9IAw4VCMC','yxnPzgu','AgLNAa','C3bHD25PBMC','CMvJB3jK','tuLnrtOG','zgvSzxrL','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','zMLSzq','icHWAwqG','u2HLBgWGBM90igzVDw5KoIa','DhnJB25MAwCUANnVBG','r0LgodDH','t0zg','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','DMvYAwzPzxi','uefusa','zxHPDenVzgu','z2v0vg9KB3m','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','BwfW','lMXVzW','AxngAwXL','zgLZy292zxj5u3rHDgu','BgfZDeLUzgv4t2y','CMfUAW','zw52','ANnJB25MAwCUANnVBG','Cgf0DgvYBIbPCYbYzxf1AxjLza','Bg9HzenVBw1HBMq','Bg9JywXLq29TCgfYzq','B3jPz2LUywW','zw5NAw5L','tgLUzsa','te9dquXbufbeqvrb','B3bLBG','B25LCNjVCG','C2vZC2LVBG','y29TBwfUza','y29ZDa','CMvHzen1CNnVCG','ue9tva','B2XKvgv4Da','yMLVBwu','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','yxbPs2v5','CxvLC3rPB25Z','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducb0B29Sigj1BMrSzq','vw5RBM93BIb0B29SoIa','Aw5FChjVz3jLC3m','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','BxrPBwu','Dgf2AwX5','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','Cg5WBs1SB2nRlNLHBwW','BM9UBMvNyxrPDMu','B3v0Chv0','yNjVA2vU','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','Dhj1zq','CgfZC3rOCM91z2G','y2f0y2G','C3rHCNq','thnW','DhnJ','Bwv0yxrHz3m','B2f1DgG','BgLUzvrLEhq','zNvUy3rPB24','DxrTx2nVBNrLBNq','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','DhjPBuvUza','zMfPBgvK','zMLSDgvY','yMLVBwuUANnVBMm','mtbtEgHPq1i','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zxzPy3rjzK5LzwrLza','Bwf4','B25szwrPCMvJDa','y2vPBa','D2fPDezVCKrPywDUB3n0AwnZ','Dg9VBhm','Aw52ywXPzf90B2rVx2nVBNrLBNq','y2fJAgvK','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','BgLUzuvUza','B25Jzq','yxjNDw1LBNrZvgv4Da','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','DhLWzxnJCMLWDhjLywn0','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','zM9VDgvY','u2L6ztOG','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','CM91BMq','BgLI','r2XVyG','DhLWzxnJCMLWDa','DgfZA2TPBgW','C3rKAw8','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','ywXSB3DLzerPCNm','Dw5PB24','Ag92zxi','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','Agv4','seLhsa','DgLTzw91De1Z','Dg9vChbLCKnHC2u','yMfZzw5HBwu','zw5K','C3rHDgu','CMvMCMvZAf90B2TLBG','vw5HDxrOB3jPEMvKrxjYB3i','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','C3bSAxq','B3bLCMf0Aw9U','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C2H1DgrVD24','DhjPBq','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','yw5ZD2vYCW','C3rHDhvZvgv4Da','CNvUswq','lNrTCc4','C2vHCMnOrgvWDgG','CxvLC3rPB24','q291BgqGBM90ihjLC29SDMuGAg9ZDa','zw5HyMXLza','AxrLBxm','ywrKrxzLBNrmAxn0zw5LCG','w1bFxL1BxhnCu10QpW','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','qxnRvxnLCLrVB2W','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','C2vYDMvYtMfTzq','Ag9TzwrPCG','ChvIBgLZAgvKqxq','BwnWxW','Aw1Hz2uVCg5N','ru5pru5u','BgLZDa','yNvMzMvYq2HHCNm','mJqWlJaUmc4W','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','w291Dhb1Dcb0CNvUy2f0zwq6ia','CMfUz2u','yxbWzw5K','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','ls1NBg9I','tunqihnLCNzLCIa','EMfP','lMDPzG','yM9VBgvHBG','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','yxjNCW','CgXHAw4','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','qxv0Ag9YAxPHDgLVBG','Ahr0Ca','zgLZy292zxj5','y29UzMLN','ywDLBNrjza','mZuWnJG0mxrJrvrztW','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','ugf0AcbUB3qGzM91BMq6ia','Cgf0Ag5HBwu','C3rKzxjYrgvJB2rLCG','BgfUz18','y29UC3rYDwn0B3i','BNv2Aw4','y2HHDgDWDa','z29Vz2XLq3nLq3G','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','A2LSBfjLCxvLC3rLza','y21KlMv4zq','yw5ZAti1nG','twLJCM9ZB2z0','C3bHD24','Dgv4Dc9ODg1S','y2fSBfrVB2W','CMvXDwvZDhm','Cgf0DgvYBG','ls1MAwvSzc1JB250zxH0lxnLCgfYyxrVCJ18','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','yxjYyxK','AhjLzG','D3jPDgu','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','z2nSAwq','ywjVCNrLza','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','yMCT','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','z2v0u3rHDhm','ndbnre9LBNC','Dg90ywXeCM9WCgvK','BgLUzxm','sw52ywXPzcbvuKWGCgfYyw1LDgvY','C3rYAw5N','C2XPy2u','BM9Kzv9TB2r1BgvZ','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','BgLUzu51Bq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','AgfZq2XPzw50CW','zNvSzMLSBgvK','B3rOzxi','sw5MB3jTyxrPB24','mtKYlJe2oc4WlJa','yxr4','CxvLCNK','CgLWzq','C2HLBgXqyxrO','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','ChjLChjVy2vZCW','AMf2yxnJCMLWDa','lu5VuhjVzMLSzq','Aw52ywXPzf90B2rVCW','C2v0vg9WAwm','C2vHCMnOugfYyw1Z','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','DxrTx3nVDxjJzq','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','wZ0+nY04kcLD','AgfZt3DU','y2HPBgq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','C2vUze5VDgLMAwnHDgLVBG','qMvHCMvYia','CgfJA2fNzs5QC29U','AxntEw1IB2XPy0XPBMS','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','C2v2zxjPDhK','ygbGANnVBGO','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','qMfZzsbKAxjLy3rVCNK6ia','lMnQCW','igj5DgvZicHVCMLNAw5HBdOG','igj5DgvZicH0B3rHBdOG','y2XPzw50','yM94zwq','l2jPBI9ZAa','CMvSyxrPDMu','CMvWBgfJzq','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','zw5NAw5LCW','zxjYB3jZ','yxjNDw1LBNrZ','y29UBMvJDa','Bwf4q29Uy3vYCMvUDa','A2LSBgvK','r09pr0Xfx0ntrv9dwa','zMLSzvzLCNnPB25Z','Dg9Rzw5Z','uhvIBgLZAgvKoIa','igzHAwXLzc4','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','sfruuca','D29YA3nWywnLl3n5BwjVBa','BgLUAW','revfueLorLjbx0fqsv9lrvK','CMvNzxG','CgLK','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','lM51DMLU','l3vZCI9SB2nHBc9IAw4VCMC','yxbWBgLJyxrPB24VANnVBG','y2HHBMDL','Aw5JBhvKzxm','yMLYDgH0Aw1L','BNvT','r0Lusfvcx1rps0vo','yw5ZAte2','uhjVz3jHBuzPBgvZ','CxvLC3rPB24T','B3jPz2LUvg9VBenHBgXjza','y2fWywjPBgL0AwvZ','BMfTzq','ywjVCNq','mc4WlJa','v2vIrMv0y2G','DxbKyxrL','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','ls1NBg9Ipq','CMvJzw5JEurHExm','Dgv4Da','ywXS','yxr0CG','B3bLBKzPBgvZ','BgL0zxjHBa','zgvMAw5PDgLVBG','te9x','zgvMyxvSDa','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','ugfJA2fNzxm','C2HLBgXjza','CMvMAw5L','DxrTx2nHBxbHAwDU','ChjVCgvYDgLLCW','DhvYBMrVD24','C3rYAw5NAwz5','l3vZCI9IAw4VyMfZAa','DgL0Bgu','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','y2HHCMfJDgvY','zMvUy2vK','y29Kzq','DxrTx3rLCM0','A2LSBa','B3b0Aw9UCW','yxjNDw1LBNriAw50','yNvMzMvY','mtK4lJe4lJaUma','C3vKBW','otLPBfrNq0e','yxv0Ag9YAxPHDgLVBL9JB2rL','y3jLyxrLzef0','yNvUlMXVy2TI','zg9TywLUCW','B3b0Aw9UywW','C29Tzq','sw52ywXPzcbVDxrWDxrszwDLEdOG','mtmYoda0wvr5wLne','zgLZywjSzwq','vMLLD0zPBgu','y29UBMvJDgLVBG','Dg9KB3m','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','Aw5ZDhj1y3rPB25Z','BMv3vgv4Da','yxv0AfjLCxvPCMvK','Bw9Kzq','Bwf0y2HLCW','zMLSBa','zxHPDa','zgvSzwDHDgvKlxj1BI0','otq1odqWC1HrwKLp','BwvKAxvT','lNDLyNa','BhnW','qgjPB21LANmVyMLVBwu','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','v2LUr2v0','mtaUmc4WlJa','Ag9ZDg5HBwu','mc4WlJaUma','CMvTB3zL','CMvZB2X2zq','y29UDgv4DeXPBMS','y2XLyxi','CMfUzg9T','ywn0AxzL','zxjYB3jnzxnZywDL','lM1QCW','tM8GzgLHz25VC3rPy3m','zgvMyxvSDen3za','C2L0ztO','ls1OAwrKzw4','BxrPBwvnCW','BM93','yM0Ynq','ywXSB3DLzfrVB2XZ','Aw5WDxrty2HLBwe','C2vYDMvYswq','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGO','mtaWlJy0lJaUma','rM91BMqG','mtv4tMPgALm','BhnWlxbYB3H5','uxvLC3rPB24G','Dg9VBa','Dg9VBenHBgXjza','wefjx0fqsv9lrvK','zgLHz25VC3rPy3ngB3jgAwXL','Ahr0Chm6','zgLNzxn0','DMfSDwu','C3jJl3nOyxjLzc90ExbLCY50CW','AgfUzgXL','Dg9VBc1VDxrWDxqTB2zMBg9Hza','zxHPDcbJB2rLia','C2v0vg9KB3m','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMLWz3jLCa','ugf0AcbPCYbUB3qGysbMAwXLoIa','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Aw5PDgLHBgL6zq','C3vIyxjYyxK','lMPZEa','AxndB250zxH0','CMvNAxn0zxjby3rPDMvbz2vUDa','cMbGya','u0HfteW','A2v5CW','y2XPzw50x3nLy3jLDf9WB3n0','u2TPBgWGjW','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','ls1WCMvMAxG','y291BNrLCG','pc9ZExn0zw0TCMvTAw5Kzxi+','revfufnfruTFqvbjx0Tfwq','CgfJA2fNzxm','C3rKAw4','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','DgfZAW','CgvUzgLUzW','BwLU','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','Aw5KzxHpzG','tM8GC3LTyM9SCYbMB3vUza','AM9PBG','Aw5WDxq','Dg90ywW','zxjYB3i','Bwf4qNL0zxm','l2jPBI9YzW','CMvHze9UBhLiAw50','Dhj1BMnHDgvK','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','yMfZzty0','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','ChjPB3jPDhK','tM8GC3vJAcbMAwXLoIaN','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','AwzYyw1L','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','DhjHBNnMB3jT','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','Aw1WBgvTzw50yxrPB24','Aw52ywXPzf90B2rVx2L0zw0','DgHPBMTPBMC','tuLosu1bwf9bueLFs0vz','rMLSzsb3CML0DgvUigf0ia','y29UBMvJDgvK','y2fSBgjHy2TvCMW','A2LUza','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C2vSzwn0Aw9UuMfUz2u','DhLWzq','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','Ag9ZDa','Aw5PDgLHBgL6zwq','odm1nZuWte9sDKvP','zMLSzvbHDgG','ChjVy2vZC0v4AxrLza','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','yw50AhjVCgLJ','lM10CW','zMXHDe1HCa','zxHPDgvK','C2HHmJu2','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','C2LNBMfS','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','uKLgrG','zgLZCg9Zzq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','CgfNzw1HCa','oIbJB250zw50ihjLCxvPCMvK','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','zw51Bq','y2XPzw50CW','B2zMC2v0','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ywXSu2v0DgXLza','y2XPzw50sw5MB3jTyxrPB24','C2vZC2LVBKLK','tM8GAg92zxiGAw5MB3jTyxrPB24','Dhj1BMm','zw50CMLLCW','yxnZAwDU','Ec1HCgKTA2v5','zgvSAw1PDgvY','zMjJBgLK','v2fYBMLUzW','Dg9VBhmVy2fSBa','AxnfBMfIBgvK','qxzHAwXHyMXLignVBw1HBMrZoG','Aw5JB21PBMDdywXSCW','q29TBwfUzcaN','lMjPBG','mti3lJaUmc4W','ygbG','tNv2Aw4','ihDHCYbHyM9YDgvKlG','zgLYBMfTzq','Dhj1zwnVBg9Y','zMLSztOVlW','vg9KBYa','yMLUyxj5tMfTzq','AhLKCMf0zu1LDge','CMvNAw9U','l3vZCI9IAw4VC2G','CNvUBMLUzW','ChjVDg9JB2W','yxjNDw1LBNroyw1LCW','y2fWq2HHCNm','y2XVC2u','yxv0BW','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','C2H1DgrVD25tDgfYDgvK','BwnFzwLK','DxrTx21LzgL1Bq','igj5DgvZks4','Bw9VBNnOB3q','mJi0lJaUmc4W','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Bwf4uMvKAxjLy3rZ','Aw52ywXPzf90B2rVx2LK','icHZDgf0Dxm6ia','C29YDa','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','Dw5RBM93BG','lw5i','ls1ZDgrPBW','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Dg90ywXqCM9KDwnLza','Ahr0CdO','l3vZCI9IAw4VCMC','AxneAxjLy3rVCNK','C3rKB3v0','ChjVy2vZCW','nJyWnZHsDvLLve8','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','ls1JB2X1Bw4','DhjHAwXPBMDdAhvUA3m','AgvHzgvY','phn5C3rLBs1Yzw1PBMrLCJ4','l3bPza','ywX3yxLZlwnVBMzPCM0','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','rMLSzu5LDW','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','qMfZAa','y2HHCKnVzgvbDa','mJC5mJuZmKXgz1fZAW','zgf0zxrPBwu','BM9Uzq','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','o1TE','BgLTAxq','ignOyxjZigrYB3bWzwrDcG','wKfjx0fqsv9lrvK','mtuWmdeWmM9bA1n1vq','DgvZDa','Cg9W','Dg91y2HgAwXL','EwfYBI5SB2nR','tg9HzfnRAwXS','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C3LTBgLUAW','zxzLCNK','DgHLBG','CMvMzxjLBMnLCW','ChjLCgfYzunHBgXiAwvYyxjJAhK','Dgv4DerVy3vTzw50l2rPze9Wzw4','y2XLyw51Ca','uhjVz3jHBuzPBgvZkhG4nIK','z2v0','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','DgLTzvTKyxrLDgLTzv0','Dgf2AwX5qxbPs2v5','zgvZy3jPChrPB24','yxv0Aa','zg9JDw1LBNrtEw1IB2W','zgvMyxvSDfrPBwvVDxrnCW','lMPZ','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','Bg9VA3vW','lMPWzW','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','C25PChbLDa','C3rYAxbbBNnP','qMfZAe91Dhb1Da','B2zM','z29uB0LTCgXLBwvUDgf0Aw9U','sgLUDa','t1bftKfjx0fqsv9lrvK','zgf0zvjLC3rYAwn0','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','u3rHCNrLzcbHz2vUDcbYDw4G','zMLUza','z2vUzxjHBa','CgfJA2fNzu5HBwu','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','zMv0y2HjBxbS','lunVBw1HBMq','DxrMoa','yMLVBwuUANnVBG','CMCUzxHL','lNbUzW','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','Aw52ywXPzf9XDwvZDgLVBNm','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','BgLUzq','tg9HzgvKigzYB206ia','y29UDgvUDa','BwLUAw1HEa','C2vUzfjLCxvLC3q','CMvXDwLYzwq','Dg9WAwmGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','AxnbCNjHEq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igfUzcb3ywL0CYbMB3iGy29TCgXLDgLVBI4GygrLC2nYAxb0Aw9UycbPCYbHihnOB3j0ifvjigXHyMvSoYbGDgfZA2aGAxmGDgHLignVBxbSzxrLigLUC3rYDwn0Aw9UihnLBNqGDg8GDgHLigfNzw50lG','qu5usfjpueLdx0fqsv9lrvK','Bg9HzfnRAwXS','Aw5ZDgfSBa','zMLUywXnzxnZywDLvgv4Da','z3jVAW','C3rKB3v0rgvJB2rLCG','y29KzvzLCMLMAwvY','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg9mB3DLCKnHC2u','sw52B2TLq29TBwfUza','zgLYzwn0B3j5','s2LSBgvKia','BgvUz3rO','BgfIzwW','BMf2','zgvUBY5QC29U','B3v0z29PBMDdywXSCW','A2v5yMLUzgLUz3m','qvbjx0Tfwq','D2HLCMuGCMC','zMLUywXnzxnZywDL','CM9VDa','C2vYDMvYCW','o1TExg5DkJ8','Dg9tDhjPBMC','Aw5PDgLHBgL6yxrPB24','yw50AhjVCgLJlw1LC3nHz2vZ','zgLHz25VC3rPy3m','Aw5JBhvKzq','Aw1Hz2u','y29TBwfUzhm','uMvHzcbUzxCGB3v0Chv0igzYB20GysbIywnRz3jVDw5KihbYB2nLC3mGC3rHCNrLzcb3AxrOiejHC2GOCNvUsw5cywnRz3jVDw5KoNrYDwuPlIbszxr1CM5Zig91Dhb1DcbWCM9KDwnLzcbZAw5Jzsb0AguGBgfZDcbYzwfKoYbVChrPB25HBgX5igzPBhrLCIbSAw5LCYbIEsbHihjLz2v4lG','y29UDgvUDhm','yMfZAwm','C3rHDhvZ','qxnZAwDUvgfZAW','Aw5JBhvKzv9KB21HAw5Z','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','vg9WAwmGC2v0ihrVici','ChjVDg90ExbL','ywrK','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','CgfJA2fNzs1SB2nRlMPZB24','CMvHza','C3rKzxjY','CgfYzw50u2vZC2LVBKLK','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','z2XVyG','qwXSia','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','AxngAw5PDgu','AwDUB3jLt3v0Chv0','C2L6zq','BgfUzW','C3rVCMfNzurPCG','CgfYC2vjBNq','zgv0ywLS','C2fMzq','zNjVBq','lMPZB24','r0LgodLH','C2vUza','Aw1Hz2uVD2vICa','mtKYlJaUmc4W','CgXHDgzVCM0','yxnRvxnLCG','B3bLBMnVzguTz28','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','y2XVC2vbBgW','ignVBxbSzxrLzc4','B25oB3rPzMLJyxrPB24','qwDLBNqGCNvUia','y3jSzG','ANnVBG','y291BNq','ANnVBMm','AgfZ','CgvYBwLZC2LVBKnSyxnZ','BgLZDgvU','C3rHCNrZv2L0Aa','z2v0t3DUuhjVCgvYDhLoyw1LCW','DxjP','BgfUz3vHz2u','vw50AxrSzwq','t1bftLjpvvrfuL9bueLFs0vz','l2jPBI9IyxnO','DMfSDwvZ','Dg9Rzw4','AgvHzgvYCW','BgLUzvn0yxj0','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','lNrZ','BM90Awz5','Bw9KzwW','Aw1Hz2vZ','y2fSBeLK','C2vHCMnOvhLWzq','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','DxnLCM5HBwu','CgXHAw50zxH0','zgfYAW','r09pr0Xfx0ntrv9lrvK','lI4U','CMvZDwX0','AwDUB3jL','C2v0','ChvZAa','zgf0yq','zNjVBuvUDhjPzxm','y3DK','yNL0zuXLBMD0Aa','CMvXDwvZDa','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','z29uB0rLzMLUAxrPB24','ls1MAwXLCW','CMvHC29U','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','zxH0BMfTzq','vMLLD2vKigLTywDLigzPBgu6ia','D29YA3nWywnLu3LTyM9S','Aw50zwDLCG','Cgf0Aa','BNbT','z2L0AhvI','r3jLCa','B2jQzwn0','Dg9KB3ncEvnLC3nPB24','A2v5','CMvZDwX0CW','DhjHBNnMB3jTCW','Aw1Hz2uVANbLzW','BwvZC2fNzq','w01duca','BgLNAhq','q29Tu3bLyW','Dg9VBfbLCM1PC3nPB25Z','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','tM8GCMvZDwX0CYbMB3vUzc4','BM9Zy3jPChq','BxvSDgLtzwXLy3q','yxnJAwK','C291CMnL','Bwv0yq','y29UDgv4Da','DhnZzxj2zxiUANm','zMLUzfjLzMvYzw5Jzxm','twfPBNrHAw4GysbJB25JAxnLihrHC2SGBgLZDcb3AgvUihzPC2LIBguGChjVz3jLC3mGDhjHy2TPBMCGywrKCYbJB29YzgLUyxrPB24GDMfSDwuUcGPvC2uGvg9KB1DYAxrLihDOzw4GDgHLihvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYbHihrVzg8Vy2HLy2TSAxn0lcbVCIb3AgvUihDVCMSGAgfZihnLDMvYywWGBwvHBMLUz2z1BcbWAgfZzxmSigrLCgvUzgvUy2LLCYWGB3iGy2HLy2TWB2LUDhmUifnRAxaGAxqGzM9YignVBNzLCNnHDgLVBMfSihf1zxn0Aw9UCYWGysbZAw5NBguGC3rYywLNAhrMB3j3yxjKihrHC2SSig9YigeGC2HVCNqGzMXHDcbZzxf1zw5JzsbVzIb0CML2AwfSigfJDgLVBNmUieXPC3qGBwvHBMLUz2z1BcbVDxrJB21LCYbYyxrOzxiGDgHHBIbPBMrPDMLKDwfSihrVB2WGy2fSBhmUcGPvC2uGC3rHDhvZzxmGCgvUzgLUzYWGAw5FChjVz3jLC3mSigfUzcbJB21WBgv0zwqSihDPDgGGyxqGBw9ZDcbVBMuGAxrLBsbPBL9WCM9NCMvZCY4Gq3jLyxrLihrOzsbSAxn0ig9Uy2uGyMvMB3jLihn0yxj0Aw5NihrYywnRzwqGD29YAY4GvgHLBIb1CgrHDguGAxqGB25SEsbHDcbTzwfUAw5NzNvSig1PBgvZDg9Uzxm6cI0GqMf0y2GGC3rHDhvZignOyw5NzxmGAw4GB25LignHBgW6ig1HCMSGywXSig5LD2X5igzPBMLZAgvKigL0zw1ZignVBxbSzxrLzcbHBMqGC2v0ihrOzsbUzxH0ig1PBgvZDg9UzsbPBL9WCM9NCMvZCYb0B2DLDgHLCI4klsbeBYbUB3qGy2fSBcbuB2rVv3jPDguGywz0zxiGzxzLCNKGDg9VBcbJywXSlcbTAw5VCIbZDwjZDgvWlcbVCIbWCM9NCMvZCYbTzxnZywDLlIbbDM9PzcbIywnRlxrVlwjHy2SGvg9KB1DYAxrLignHBgXZihDPDgHVDxqGC3vIC3rHBNrPDMuGD29YAYbIzxr3zwvUihrOzw0UcI0Gs2vLCcb0AguGy3vYCMvUDcbPDgvTigLUx3bYB2DYzxnZihDOzw4GyMXVy2TLzcWGAw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBcWGB3iGDMvYAwzPy2f0Aw9UigzHAwXZlIbbzgqGB3iGCMv2AxnLigL0zw1Zig9UBhKGD2HLBIb0AguGCgXHBIbTyxrLCMLHBgX5ignOyw5NzxmUcI0GuhjLC2vYDMuGAxrLBsbjrhmGyw5KigLUy2X1zguGDgHLigz1BgWGy3vYCMvUDcbSAxn0igLUigv2zxj5ihvWzgf0zs4klsbbzNrLCIbPBxbSzw1LBNrHDgLVBIbHBMqGDMvYAwzPy2f0Aw9UigzPBMLZAcWGC2vUzcbVBMuGzMLUywWGDxbKyxrLihrOyxqGBwfYA3mGywXSignVBxbSzxrLzcb3B3jRigfJy3vYyxrLBhKU','B3v0Chv0uMvNzxG','Bg9JyxrPB24','AhrTBfnUAxbWzxq','Dg9ju09tDhjPBMC','ls0T','Dg9WAwm','C2vYDMvY','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','C3jJl2fNzw50l2fNzw50lNrZ','lMPWzwC','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','BNvTyMvY'];_0x46e5=function(){return _0x10bfad;};return _0x46e5();}function normalizeDetail(_0x221f5b){const _0xbcdac3={_0x832e7a:0x380,_0x3ff15e:0x4ce,_0x5993f1:0x263,_0x3eade1:0x365,_0x2cdc14:0x41c,_0x103d8c:0x309,_0x354a4e:0x49f,_0x5d4446:0x488},_0x3675ec={_0x4836f1:0x2a},_0x445e7f={_0x361f03:0x19f,_0x4f9f48:0xc};function _0x251771(_0x1800c8,_0x55a4d6,_0x13f662,_0x227e8b){return _0x38eb01(_0x1800c8,_0x13f662-0x4bd,_0x13f662-_0x445e7f._0x361f03,_0x227e8b-_0x445e7f._0x4f9f48);}if(_0x221f5b===void 0x0)return void 0x0;const _0x543c72=_0x221f5b[_0x251771(_0xbcdac3._0x832e7a,0x530,_0xbcdac3._0x3ff15e,0x3d3)]()[_0x251ff9(0x3d7,_0xbcdac3._0x5993f1,0x4fd,_0xbcdac3._0x3eade1)]();if(!SUPPORTED_DETAILS[_0x251ff9(_0xbcdac3._0x2cdc14,0x325,_0xbcdac3._0x103d8c,0x3a5)](_0x543c72))throw new ToolExecutionError(_0x251ff9(0x549,_0xbcdac3._0x354a4e,_0xbcdac3._0x5d4446,0x685)+_0x221f5b,{'detail':_0x221f5b});function _0x251ff9(_0xee1591,_0x5014f6,_0x4b9b3b,_0x1e490f){return _0x2cc51b(_0x4b9b3b,_0x5014f6-0x4b,_0x4b9b3b-0xc5,_0xee1591- -_0x3675ec._0x4836f1);}return _0x543c72;}function createViewFileTool(_0x4d5eeb={}){const _0x4d4ed4={_0x4f3b60:0x231,_0x30753f:0x20a,_0x249228:0x2a8,_0x42cb7e:0x1ed,_0x369353:0x6e,_0x44b8d5:0x71,_0x1d79d1:0x60,_0x290ea4:0x8b,_0x220c77:0xfc,_0x342553:0x27,_0x70bb28:0xcd,_0x201dad:0x24,_0x925e57:0x130,_0x499538:0x43b,_0x19899f:0x3e5,_0x30b780:0x1c6,_0x430fa8:0x137,_0x1ffc3b:0xef,_0x1e88ca:0x6d7},_0x29ce46={_0x5674f0:0x451,_0x2adeda:0x128,_0x9f26fc:0x1e4,_0xeae33f:0x1c2,_0x2db32c:0x3e9,_0x364b8f:0x3b3,_0x18157b:0x46d,_0x1d1ece:0x2e0,_0x21daf6:0x1a2,_0x20cdba:0x2cd,_0x4b30f4:0xac,_0x18cece:0x309,_0x397281:0x30c,_0x4e462e:0x1d9,_0x11453f:0x314,_0x4c508d:0x2c4,_0x1d99a5:0x316,_0x55c41:0x14f,_0x598a2f:0x71,_0x21bc47:0x51d,_0x20fccb:0x486,_0x125711:0x4ee,_0x58736c:0x475,_0x1e1e70:0x510,_0x32024a:0x379,_0x4b4d2e:0x3b4,_0x398621:0x22f,_0x5936d5:0x452,_0x19c348:0x3d0,_0x475dde:0x250,_0x1dcc28:0x2c8,_0x2967dd:0x19f,_0x44e88b:0x98,_0x286b12:0x70,_0x1b80b4:0x117,_0x105db3:0x320,_0x111748:0x4df,_0x3c4ee4:0x5bc,_0xeb006a:0x47c,_0x56a7b2:0x322,_0x527f37:0x63,_0x347f02:0x72,_0x577d82:0x21e,_0x46e13c:0x4b,_0x5641a1:0x302,_0x207855:0x161,_0x4b3a44:0x2fb,_0x5a0344:0x23a,_0x172829:0x1ed,_0x3a8663:0x2c,_0x86cefe:0x5b1,_0x41bae9:0x46f,_0x3d0256:0x3b0,_0x46f408:0x308,_0x56e855:0x535,_0x91b965:0x1c0,_0x10b993:0x256,_0x2df08e:0x391,_0x53aaf6:0x485,_0x2be012:0x31b,_0x18bf77:0x455},_0x10a085={_0x2360fe:0x98,_0x9d603c:0x65},_0x308492={_0x175fbe:0x19b,_0xb304c7:0xbc,_0x253cb4:0x11a},_0x2fab37={_0x4ca808:0x603},_0x32c10b={_0x136659:0x118};function _0x13d37f(_0x3550f5,_0x109b08,_0x3988e6,_0x34937e){return _0x38eb01(_0x3988e6,_0x109b08-0x162,_0x3988e6-0xea,_0x34937e-_0x32c10b._0x136659);}const _0x17a429=_0x3f2835['resolve'](_0x4d5eeb[_0x13d37f(0x95,-0xae,-_0x4d4ed4._0x4f3b60,-_0x4d4ed4._0x30753f)]??process['cwd']()),_0x1de05f=_0x4d5eeb[_0x13d37f(_0x4d4ed4._0x249228,0x161,_0x4d4ed4._0x42cb7e,0x204)]??[];function _0x1b9b91(_0x4d68bb,_0x39f932,_0x5b69ae,_0xda9827){return _0x38eb01(_0x5b69ae,_0xda9827-_0x2fab37._0x4ca808,_0x5b69ae-0x1d5,_0xda9827-0x1);}const _0x4ada41=_0x4d5eeb[_0x13d37f(-_0x4d4ed4._0x369353,-_0x4d4ed4._0x44b8d5,-0x1e2,-_0x4d4ed4._0x1d79d1)]??DEFAULT_MAX_BYTES,_0x298925=_0x4d5eeb[_0x13d37f(-_0x4d4ed4._0x290ea4,-_0x4d4ed4._0x220c77,_0x4d4ed4._0x342553,-0xa7)]??_0x13d37f(-0x103,-_0x4d4ed4._0x70bb28,_0x4d4ed4._0x201dad,-0x1d3);return defineTool({'name':_0x298925,'permissionClass':'read','description':_0x13d37f(-0x3e,_0x4d4ed4._0x925e57,0x1b5,_0x4d4ed4._0x342553),'inputSchema':{'type':_0x1b9b91(_0x4d4ed4._0x499538,_0x4d4ed4._0x19899f,0x662,0x56f),'properties':{'path':{'type':'string'},'detail':{'type':_0x13d37f(0xd2,_0x4d4ed4._0x30b780,_0x4d4ed4._0x430fa8,_0x4d4ed4._0x1ffc3b)}},'required':[_0x1b9b91(0x406,_0x4d4ed4._0x1e88ca,0x5fc,0x56b)]},async *'execute'(_0x14c71d){const _0x3e50f6=resolveAllowedPath(_0x17a429,_0x1de05f,_0x14c71d[_0x37a04a(0x34a,_0x29ce46._0x5674f0,0x2c7,0x534)]);await assertWorkspaceFile(_0x3e50f6);const _0x2de9ea=await _0x98f64a(_0x3e50f6);if(_0x2de9ea[_0x78c742(0x15c,_0x29ce46._0x2adeda,_0x29ce46._0x9f26fc,_0x29ce46._0xeae33f)]>_0x4ada41)throw new ToolExecutionError(_0x78c742(0x298,_0x29ce46._0x2db32c,_0x29ce46._0x364b8f,0x39c)+_0x14c71d[_0x37a04a(0x3b2,0x451,_0x29ce46._0x18157b,_0x29ce46._0x1d1ece)],{'path':_0x14c71d[_0x78c742(_0x29ce46._0x21daf6,_0x29ce46._0x20cdba,0x122,_0x29ce46._0x4b30f4)],'maxBytes':_0x4ada41,'size':_0x2de9ea[_0x37a04a(_0x29ce46._0x18cece,0x40b,0x343,0x41e)]});const _0x471c8a=await _0x17dd6a(_0x3e50f6),_0x1fb921=detectImageMediaType(_0x471c8a,_0x3e50f6);if(!_0x1fb921)throw new ToolExecutionError(_0x78c742(0x1c9,_0x29ce46._0x397281,_0x29ce46._0x4e462e,_0x29ce46._0x11453f)+_0x14c71d[_0x78c742(0x1a2,0x87,0x188,_0x29ce46._0x4c508d)],{'path':_0x14c71d[_0x78c742(0x1a2,_0x29ce46._0x1d99a5,_0x29ce46._0x55c41,_0x29ce46._0x598a2f)],'supported':[_0x37a04a(0x51d,_0x29ce46._0x21bc47,_0x29ce46._0x20fccb,0x492),_0x37a04a(_0x29ce46._0x125711,_0x29ce46._0x58736c,_0x29ce46._0x1e1e70,_0x29ce46._0x32024a),_0x37a04a(0x3aa,_0x29ce46._0x4b4d2e,_0x29ce46._0x398621,_0x29ce46._0x5936d5),_0x37a04a(_0x29ce46._0x19c348,0x3c9,0x325,_0x29ce46._0x475dde),_0x37a04a(0x334,_0x29ce46._0x1dcc28,0x421,0x229)]});const _0x5cf7cd=normalizeDetail(_0x14c71d['detail']),_0x548e0b=[_0x78c742(_0x29ce46._0x2967dd,_0x29ce46._0x44e88b,0x1a,_0x29ce46._0x286b12)+_0x14c71d['path'],_0x78c742(0x1d8,0x2f8,_0x29ce46._0x1b80b4,_0x29ce46._0x105db3)+_0x1fb921,_0x37a04a(0x54b,_0x29ce46._0x111748,0x368,_0x29ce46._0x3c4ee4)+_0x2de9ea['size']+'\x20bytes']['concat'](_0x5cf7cd?[_0x37a04a(0x5fe,_0x29ce46._0xeb006a,_0x29ce46._0x56a7b2,0x478)+_0x5cf7cd]:[])[_0x78c742(_0x29ce46._0x527f37,_0x29ce46._0x347f02,0x48,0x82)]('\x0a'),_0x1f940e=[{'type':'image','source':{'type':_0x37a04a(_0x29ce46._0x577d82,0x31b,_0x29ce46._0x5674f0,0x248),'media_type':_0x1fb921,'data':_0x471c8a[_0x78c742(0x13f,0x134,_0x29ce46._0x46e13c,0x19c)](_0x37a04a(_0x29ce46._0x5641a1,0x31b,0x40f,0x390))}},{'type':_0x37a04a(_0x29ce46._0x207855,0x293,_0x29ce46._0x4b3a44,_0x29ce46._0x5a0344),'text':_0x548e0b}];function _0x37a04a(_0x5cca4a,_0x3723e7,_0x1acc53,_0x245398){return _0x1b9b91(_0x5cca4a-_0x308492._0x175fbe,_0x3723e7-_0x308492._0xb304c7,_0x245398,_0x3723e7- -_0x308492._0x253cb4);}function _0x78c742(_0x225382,_0xe2767c,_0x15fa97,_0x55cf0e){return _0x13d37f(_0x225382-_0x10a085._0x2360fe,_0x225382-0xd8,_0x15fa97,_0x55cf0e-_0x10a085._0x9d603c);}return yield createToolOutput(_0x548e0b,{'path':_0x14c71d[_0x78c742(_0x29ce46._0x21daf6,0x2a6,_0x29ce46._0x172829,0xe0)],'resolvedPath':_0x3e50f6,'created':_0x2de9ea[_0x78c742(-_0x29ce46._0x3a8663,-0x8a,0x3f,0x55)][_0x37a04a(_0x29ce46._0x86cefe,_0x29ce46._0x41bae9,_0x29ce46._0x3d0256,_0x29ce46._0x46f408)](),'modified':_0x2de9ea[_0x37a04a(0x5b3,0x4b5,0x506,_0x29ce46._0x56e855)][_0x78c742(_0x29ce46._0x91b965,_0x29ce46._0x10b993,0x115,0x1da)](),'size':_0x2de9ea[_0x37a04a(_0x29ce46._0x2df08e,0x40b,_0x29ce46._0x53aaf6,0x55a)],'mimeType':_0x1fb921,'encoding':_0x37a04a(0x2ee,_0x29ce46._0x2be012,0x273,_0x29ce46._0x18bf77),..._0x5cf7cd?{'detail':_0x5cf7cd}:{}},_0x1f940e),void 0x0;}});}import _0xff2ce5 from'turndown';import{isIP}from'net';function _0x38eb01(_0x319495,_0x5374d8,_0x411d1f,_0x3d1e8c){const _0x290a56={_0x3a17bb:0x33b};return _0x29c8(_0x5374d8- -_0x290a56._0x3a17bb,_0x319495);}var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x157015=>{const {lookup:_0x20702f}=await import('dns/promises');return _0x20702f(_0x157015,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x39fe40){const _0x1904f1={_0x588b33:0x440,_0x2ad350:0x3d5,_0x56a8c9:0x42c,_0x657599:0x55d,_0x6f551a:0x2a5,_0x673853:0x425,_0x6a57b3:0x25e,_0x25e887:0x2a7,_0x4dd7be:0x371},_0x58afc4={_0x44de1c:0xbd},_0x1ed742={_0x5f45b0:0xc},_0x1537b3=_0x39fe40[_0x242b56(_0x1904f1._0x588b33,_0x1904f1._0x2ad350,_0x1904f1._0x56a8c9,_0x1904f1._0x657599)]('.');if(_0x1537b3[_0x40efdf(_0x1904f1._0x6f551a,0x1ca,0x366,_0x1904f1._0x673853)]!==0x4)return null;let _0x57b24d=0x0;for(const _0x2927a7 of _0x1537b3){if(!/^\d{1,3}$/[_0x40efdf(_0x1904f1._0x6a57b3,0x102,_0x1904f1._0x25e887,_0x1904f1._0x4dd7be)](_0x2927a7))return null;const _0x508f42=Number(_0x2927a7);if(_0x508f42>0xff)return null;_0x57b24d=_0x57b24d*0x100+_0x508f42;}function _0x242b56(_0x28c297,_0x571126,_0x20c083,_0x3f8700){return _0x38eb01(_0x28c297,_0x571126-0x3c8,_0x20c083-0x188,_0x3f8700-_0x1ed742._0x5f45b0);}function _0x40efdf(_0x6f68c9,_0xc6f2f7,_0x44081f,_0x5c7606){return _0x38eb01(_0xc6f2f7,_0x6f68c9-0x3ac,_0x44081f-_0x58afc4._0x44de1c,_0x5c7606-0x1ad);}return _0x57b24d>>>0x0;}function isBlockedIpv4(_0x89d879){const _0x403dbb={_0x39c6d4:0x246,_0x11ad5a:0x282,_0x191d3c:0x34f,_0x3e16ae:0x189,_0x171805:0x191,_0x5170cf:0x35a,_0x78d775:0x37b,_0x52e4fb:0x3a6,_0x177a61:0x200,_0x868aa5:0x27d,_0x3a7155:0x11f,_0x3a3325:0x647,_0x14f174:0x6c1,_0x2b8c90:0x714,_0x223d9f:0x61a,_0x3521cb:0x45a,_0x181fcd:0x437,_0x55a6d0:0x541},_0x344cc2={_0x15cb1c:0xec,_0x3de4d6:0xe2},_0x16ace4={_0x1a0ce2:0x13d,_0x1f01a5:0x96},_0x360669=ipv4ToInt(_0x89d879);function _0x4c4f8e(_0x36eb78,_0x5f27ba,_0x1feeb3,_0x4eb55d){return _0x38eb01(_0x4eb55d,_0x1feeb3-0x5ac,_0x1feeb3-_0x16ace4._0x1a0ce2,_0x4eb55d-_0x16ace4._0x1f01a5);}if(_0x360669===null)return!![];const _0x26d704=(_0x48a998,_0xf630c7)=>{const _0x47fb95=ipv4ToInt(_0x48a998);if(_0x47fb95===null)return![];const _0x27c5ef=_0xf630c7===0x0?0x0:0xffffffff<<0x20-_0xf630c7>>>0x0;return(_0x360669&_0x27c5ef)===(_0x47fb95&_0x27c5ef);};function _0x50e508(_0x941898,_0xfd62b2,_0x11129c,_0x3d9d61){return _0x38eb01(_0xfd62b2,_0x941898- -0x73,_0x11129c-_0x344cc2._0x15cb1c,_0x3d9d61-_0x344cc2._0x3de4d6);}return _0x26d704(_0x50e508(-0x28d,-_0x403dbb._0x39c6d4,-_0x403dbb._0x11ad5a,-_0x403dbb._0x191d3c),0x8)||_0x26d704(_0x50e508(-0x28f,-0x2d2,-_0x403dbb._0x3e16ae,-_0x403dbb._0x171805),0x8)||_0x26d704(_0x4c4f8e(_0x403dbb._0x5170cf,_0x403dbb._0x78d775,_0x403dbb._0x52e4fb,0x45b),0xa)||_0x26d704(_0x50e508(-_0x403dbb._0x177a61,-_0x403dbb._0x868aa5,-0x19a,-_0x403dbb._0x3a7155),0x8)||_0x26d704('169.254.0.0',0x10)||_0x26d704('172.16.0.0',0xc)||_0x26d704(_0x4c4f8e(0x556,_0x403dbb._0x3a3325,0x4d9,0x46d),0x18)||_0x26d704(_0x4c4f8e(_0x403dbb._0x14f174,_0x403dbb._0x2b8c90,_0x403dbb._0x223d9f,0x50b),0x10)||_0x26d704(_0x4c4f8e(0x42d,_0x403dbb._0x3521cb,0x371,0x359),0xf)||_0x26d704(_0x4c4f8e(0x551,0x4f0,_0x403dbb._0x181fcd,0x368),0x4)||_0x26d704(_0x4c4f8e(_0x403dbb._0x55a6d0,0x55c,0x5d7,0x5b1),0x4);}function expandIpv6(_0x7a4bc2){const _0x487c38={_0x579bdd:0x276,_0x2d33ed:0x3c1,_0x297294:0x29c,_0x2afe7c:0x301,_0x55d041:0x35e,_0x35bb06:0x2f2,_0x217a9d:0x15b,_0x49dc70:0x7,_0x49be65:0x9a,_0x3134d7:0x124,_0x2b8ecb:0x72,_0x2431f4:0x283,_0x3b5a0b:0x66,_0x19207a:0x205,_0x10382a:0x266,_0x417bfe:0x122,_0xb3f36:0x252,_0x18eae3:0x1df,_0x354a53:0x2b0,_0x1be98b:0x18e,_0x573fd5:0x1f2,_0x385247:0x118,_0x4ece45:0x62,_0x506729:0x1e1,_0x3b1d93:0x7f,_0x46c02a:0x2b9,_0x588fe5:0x306,_0xcee280:0x10d,_0x5b791e:0xc1,_0x29ccd1:0x196},_0x2b4c69={_0x4614c4:0x213},_0x4aef25={_0x5c6fe7:0x6,_0x37dc41:0xa2};let _0x52e837=_0x7a4bc2,_0x4a71ce;function _0x40a970(_0x312692,_0x1a3f85,_0x5920f5,_0x228d68){return _0x38eb01(_0x1a3f85,_0x312692- -_0x4aef25._0x5c6fe7,_0x5920f5-0x184,_0x228d68-_0x4aef25._0x37dc41);}const _0x2b1c33=_0x52e837[_0x3366d7(_0x487c38._0x579bdd,0x174,_0x487c38._0x2d33ed,0x2aa)](':');_0x52e837[_0x3366d7(_0x487c38._0x297294,0x26d,_0x487c38._0x2afe7c,_0x487c38._0x55d041)](_0x2b1c33+0x1)[_0x40a970(-0x26d,-_0x487c38._0x35bb06,-_0x487c38._0x217a9d,-0x39b)]('.')&&(_0x4a71ce=_0x52e837['slice'](_0x2b1c33+0x1),_0x52e837=_0x52e837['slice'](0x0,_0x2b1c33+0x1));const _0x447073=_0x52e837[_0x40a970(_0x487c38._0x49dc70,0x1f,-_0x487c38._0x49be65,_0x487c38._0x3134d7)]('::');function _0x3366d7(_0x406231,_0x33c1c5,_0x5821a5,_0xde6354){return _0x2cc51b(_0x5821a5,_0x33c1c5-0x6b,_0x5821a5-0x3,_0xde6354- -_0x2b4c69._0x4614c4);}if(_0x447073[_0x40a970(-0x10d,_0x487c38._0x2b8ecb,-_0x487c38._0x2431f4,-_0x487c38._0x3b5a0b)]>0x2)return null;const _0x10dcb7=_0x30f70e=>_0x30f70e[_0x3366d7(0x1bb,0x363,0x30c,0x306)](':')[_0x3366d7(0x3e2,0x264,0x334,0x2db)](_0x3585f2=>_0x3585f2[_0x3366d7(0x1c2,0x354,0x307,0x1f2)]>0x0)[_0x3366d7(0x2f2,0x3d7,0x2b5,0x2a6)](_0x369390=>Number['parseInt'](_0x369390,0x10)),_0x168768=_0x447073[0x0]?_0x10dcb7(_0x447073[0x0]):[],_0x564dce=_0x447073[_0x3366d7(0x2ff,0x337,_0x487c38._0x19207a,0x1f2)]===0x2&&_0x447073[0x1]?_0x10dcb7(_0x447073[0x1]):[],_0x5db352=[];if(_0x4a71ce){const _0x417097=ipv4ToInt(_0x4a71ce);if(_0x417097===null)return null;_0x5db352[_0x3366d7(_0x487c38._0x10382a,0x261,_0x487c38._0x417bfe,_0x487c38._0xb3f36)](_0x417097>>>0x10&0xffff,_0x417097&0xffff);}const _0x36ecee=[..._0x564dce,..._0x5db352],_0x86fe=0x8-_0x168768[_0x3366d7(_0x487c38._0x18eae3,_0x487c38._0x354a53,_0x487c38._0x1be98b,_0x487c38._0x573fd5)]-_0x36ecee[_0x40a970(-0x10d,-0x8,-_0x487c38._0x385247,_0x487c38._0x4ece45)];if(_0x447073[_0x3366d7(0xe5,_0x487c38._0x506729,_0x487c38._0x3b1d93,0x1f2)]===0x1)return _0x168768[_0x3366d7(_0x487c38._0x46c02a,0x2d8,_0x487c38._0x588fe5,0x1f2)]+_0x36ecee[_0x40a970(-_0x487c38._0xcee280,-0x41,-0x39,-_0x487c38._0x5b791e)]===0x8?[..._0x168768,..._0x36ecee]:null;if(_0x86fe<0x0)return null;return[..._0x168768,...new Array(_0x86fe)[_0x40a970(-0x22c,-0x12e,-0x201,-_0x487c38._0x29ccd1)](0x0),..._0x36ecee];}function _0x2cc51b(_0x2d2146,_0x184c04,_0x347a05,_0x4e40ca){const _0x2e867d={_0x106fc3:0x1d1};return _0x29c8(_0x4e40ca-_0x2e867d._0x106fc3,_0x2d2146);}function isBlockedIpv6(_0x5d79d1){const _0x537379={_0x4d91c8:0x1fd,_0x41f88c:0x67a,_0x4bd4b8:0x597,_0x1855ea:0x8de,_0x5e7639:0x6c},_0x2c465f={_0x59de5a:0x6ff,_0x30f3dc:0x1db},_0x4546db=expandIpv6(_0x5d79d1);function _0x5a8bc5(_0x1f6475,_0x2105ed,_0x5226a2,_0xb0c613){return _0x2cc51b(_0x1f6475,_0x2105ed-0xa6,_0x5226a2-0x18f,_0x5226a2- -0x4d6);}if(!_0x4546db||_0x4546db[_0x5a8bc5(-0x248,-0xcd,-_0x537379._0x4d91c8,-0x384)](_0x4c3e6e=>Number['isNaN'](_0x4c3e6e)))return!![];function _0xf717a6(_0x395812,_0x927bb9,_0x54f93f,_0x3cb2e7){return _0x38eb01(_0x395812,_0x54f93f-_0x2c465f._0x59de5a,_0x54f93f-_0x2c465f._0x30f3dc,_0x3cb2e7-0x1ba);}const _0x31564c=_0x4546db['slice'](0x0,0x7)[_0xf717a6(0x59b,_0x537379._0x41f88c,0x5b8,_0x537379._0x4bd4b8)](_0x18133e=>_0x18133e===0x0);if(_0x31564c&&(_0x4546db[0x7]===0x0||_0x4546db[0x7]===0x1))return!![];if(_0x4546db[_0xf717a6(_0x537379._0x1855ea,0x63c,0x764,0x7a0)](0x0,0x5)['every'](_0x280a09=>_0x280a09===0x0)&&(_0x4546db[0x5]===0xffff||_0x4546db[0x5]===0x0)){const _0x46aa8a=(_0x4546db[0x6]<<0x10|_0x4546db[0x7])>>>0x0,_0x10aed5=[_0x46aa8a>>>0x18&0xff,_0x46aa8a>>>0x10&0xff,_0x46aa8a>>>0x8&0xff,_0x46aa8a&0xff][_0x5a8bc5(-_0x537379._0x5e7639,-0x279,-0x1a1,-0x53)]('.');return isBlockedIpv4(_0x10aed5);}const _0x165332=_0x4546db[0x0];if((_0x165332&0xff00)===0xfc00||(_0x165332&0xfe00)===0xfc00)return!![];if((_0x165332&0xffc0)===0xfe80)return!![];if((_0x165332&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x312cc0){const _0x15318d=isIP(_0x312cc0);if(_0x15318d===0x4)return isBlockedIpv4(_0x312cc0);if(_0x15318d===0x6)return isBlockedIpv6(_0x312cc0);return!![];}async function assertPublicUrl(_0x450661,_0x2aaa3e={}){const _0x362cc3={_0x340c1f:0x533,_0x34f633:0x691,_0x32cccd:0x5b6,_0x4ec9ba:0x21b,_0x421b55:0x193,_0x99d023:0x113,_0x246265:0x1bb,_0x1c7985:0x2e5,_0x522256:0x2d0,_0xcc349f:0x20a,_0x581bda:0x147,_0x4d4d78:0x151,_0x121f55:0xc2,_0x521763:0xa3,_0x4de6df:0x82,_0xb6977a:0x271,_0x275687:0x169,_0x5b3aa7:0x25c,_0x574eba:0x273,_0xee7b66:0x27d,_0x472533:0x466,_0x9bf17b:0x57f,_0x2fd410:0x2b8,_0x59fccd:0x32a,_0x1ecc01:0x1e9,_0x4d282a:0x440,_0x4948ec:0x225,_0x558ec1:0x135,_0x5a4861:0x23b,_0x1216bd:0xf9,_0x1ecf84:0x534,_0x66203d:0x646,_0x744c2d:0x19a,_0x5c7c94:0x299,_0x5396b7:0x2d0,_0x3477d7:0x2e7,_0x21669d:0x315,_0x1eefbb:0x432,_0x831333:0x41d,_0x5a0aff:0x13f,_0x46c9c2:0x5c,_0x20a978:0x106,_0x3d1474:0x5a6,_0x551361:0x56d,_0x360072:0x284},_0x3a7f6d={_0x46c5ad:0x10a},_0x377e31={_0x495c3a:0x13};let _0x4c6c76;try{_0x4c6c76=new URL(_0x450661);}catch{throw new ToolExecutionError(_0x11b5b6(_0x362cc3._0x340c1f,_0x362cc3._0x34f633,0x639,_0x362cc3._0x32cccd),{'url':_0x450661});}if(_0x4c6c76[_0xbe4c0a(-_0x362cc3._0x4ec9ba,-0x143,-_0x362cc3._0x421b55,-_0x362cc3._0x99d023)]!==_0xbe4c0a(-0x1dc,-_0x362cc3._0x246265,-0x17c,-_0x362cc3._0x1c7985)&&_0x4c6c76['protocol']!==_0x11b5b6(_0x362cc3._0x522256,0x324,0x338,0x356))throw new ToolExecutionError(_0xbe4c0a(-_0x362cc3._0xcc349f,-0x24e,-_0x362cc3._0x581bda,-_0x362cc3._0x4d4d78),{'url':_0x450661});if(_0x4c6c76[_0xbe4c0a(0x84,-0x33,-_0x362cc3._0x121f55,-_0x362cc3._0x521763)]||_0x4c6c76['password'])throw new ToolExecutionError(_0xbe4c0a(-_0x362cc3._0x4de6df,-_0x362cc3._0xb6977a,-0x1f9,-0x128),{'url':_0x4c6c76[_0xbe4c0a(-0x2c0,-_0x362cc3._0x275687,-0x193,-_0x362cc3._0x5b3aa7)]+'//'+_0x4c6c76[_0x11b5b6(_0x362cc3._0x574eba,_0x362cc3._0xee7b66,0x405,0x39a)]+_0x4c6c76[_0x11b5b6(_0x362cc3._0x472533,0x603,_0x362cc3._0x9bf17b,0x596)]});const _0x501a11=_0x4c6c76[_0x11b5b6(_0x362cc3._0x2fd410,_0x362cc3._0x59fccd,_0x362cc3._0x1ecc01,0x338)][_0x11b5b6(0x2cd,_0x362cc3._0x4d282a,_0x362cc3._0x4948ec,0x2d3)](/^\[|\]$/g,'');function _0xbe4c0a(_0x523628,_0x4f3469,_0x3abf7a,_0x20d863){return _0x38eb01(_0x4f3469,_0x3abf7a- -_0x377e31._0x495c3a,_0x3abf7a-0x29,_0x20d863-0x55);}function _0x11b5b6(_0x557c6e,_0x59a89d,_0x1842fe,_0x2f0067){return _0x38eb01(_0x59a89d,_0x2f0067-0x553,_0x1842fe-0x1cb,_0x2f0067-_0x3a7f6d._0x46c5ad);}const _0x2dc35c=_0x4c6c76[_0xbe4c0a(-_0x362cc3._0x558ec1,-_0x362cc3._0x5a4861,-_0x362cc3._0x421b55,-_0x362cc3._0x1216bd)]+'//'+_0x4c6c76['host']+_0x4c6c76[_0x11b5b6(_0x362cc3._0x1ecf84,0x51b,_0x362cc3._0x66203d,0x596)];if(isIP(_0x501a11)){if(isBlockedAddress(_0x501a11))throw new ToolExecutionError(_0x11b5b6(_0x362cc3._0x744c2d,_0x362cc3._0x5c7c94,_0x362cc3._0x5396b7,_0x362cc3._0x3477d7),{'url':_0x2dc35c});return _0x4c6c76;}const _0x2c3f00=_0x2aaa3e[_0x11b5b6(_0x362cc3._0x21669d,0x3e0,_0x362cc3._0x1eefbb,_0x362cc3._0x831333)]??defaultLookup;let _0x532cb5;try{_0x532cb5=await _0x2c3f00(_0x501a11);}catch{throw new ToolExecutionError(_0xbe4c0a(_0x362cc3._0x5a0aff,-_0x362cc3._0x46c9c2,0x7,-_0x362cc3._0x20a978),{'url':_0x2dc35c});}if(_0x532cb5['length']===0x0)throw new ToolExecutionError(_0x11b5b6(0x465,_0x362cc3._0x3d1474,0x5b3,_0x362cc3._0x551361),{'url':_0x2dc35c});for(const {address:_0x29d3c8}of _0x532cb5){if(isBlockedAddress(_0x29d3c8))throw new ToolExecutionError(_0xbe4c0a(-0x2ea,-0x30,-0x16f,-_0x362cc3._0x360072),{'url':_0x2dc35c});}return _0x4c6c76;}async function safeFetch(_0x414772,_0x1ca03c={},_0x86e90d={}){const _0x36dd87={_0x22fb64:0x5f,_0x16da14:0xbd,_0x4e1cfb:0x12e,_0x4f9b36:0x99,_0x8989b8:0x15,_0x10c800:0x109,_0xcc91a5:0x159,_0x5ccdeb:0xc2,_0x53fa16:0x83,_0x20c31d:0x10b,_0x52b83d:0x80,_0x218235:0x1f3,_0x409db9:0x35,_0x115615:0x7,_0x35924f:0x29,_0x4cc1b0:0xaa,_0x2cca5f:0xff,_0x4af5b6:0xb7,_0x496ee0:0x238,_0x171db9:0xa5,_0x3b1efd:0x58},_0x9d3ee5={_0x4f2fbf:0x102,_0x2a5b3e:0x349},_0x3f26c0={_0x59c52c:0x187,_0x3e654c:0xb7},_0x182131=_0x86e90d[_0x27eceb(-_0x36dd87._0x22fb64,-0x123,0x62,-_0x36dd87._0x16da14)]??fetch;function _0x27eceb(_0x3332af,_0x51efa3,_0x3d5124,_0x1ae247){return _0x38eb01(_0x51efa3,_0x3d5124-_0x3f26c0._0x59c52c,_0x3d5124-_0x3f26c0._0x3e654c,_0x1ae247-0x1cd);}const _0x336115=_0x86e90d[_0x27eceb(-_0x36dd87._0x4e1cfb,_0x36dd87._0x4f9b36,0x14,-0x6e)]??DEFAULT_MAX_REDIRECTS;function _0x12ed2c(_0x12d98a,_0x4a7c36,_0x3cdca2,_0x57eb8d){return _0x2cc51b(_0x4a7c36,_0x4a7c36-_0x9d3ee5._0x4f2fbf,_0x3cdca2-0x149,_0x57eb8d- -_0x9d3ee5._0x2a5b3e);}let _0x2e836a=_0x414772;for(let _0x22f409=0x0;;_0x22f409+=0x1){const _0x49edb3=await assertPublicUrl(_0x2e836a,_0x86e90d),_0x275847=await _0x182131(_0x49edb3[_0x12ed2c(0x104,0x109,0x250,0xc8)](),{..._0x1ca03c,'redirect':'manual'}),_0x3672f4=_0x275847[_0x12ed2c(0x253,_0x36dd87._0x8989b8,0xb,_0x36dd87._0x10c800)][_0x12ed2c(_0x36dd87._0xcc91a5,_0x36dd87._0x5ccdeb,0x189,_0x36dd87._0x53fa16)](_0x27eceb(-0x42,0x25d,_0x36dd87._0x20c31d,_0x36dd87._0x52b83d));if(!REDIRECT_STATUSES[_0x27eceb(_0x36dd87._0x218235,-_0x36dd87._0x409db9,0xc1,_0x36dd87._0x115615)](_0x275847[_0x12ed2c(-0x29,-0x7b,-_0x36dd87._0x35924f,0xd2)])||!_0x3672f4)return _0x275847;if(_0x22f409>=_0x336115)throw new ToolExecutionError(_0x12ed2c(_0x36dd87._0x4cc1b0,_0x36dd87._0x2cca5f,0x1da,_0x36dd87._0x4af5b6),{'url':_0x49edb3[_0x12ed2c(_0x36dd87._0x496ee0,0x19a,0x10,0xc8)]()});_0x2e836a=new URL(_0x3672f4,_0x49edb3)[_0x27eceb(-0x8d,_0x36dd87._0x171db9,0x8c,_0x36dd87._0x3b1efd)]();}}var USER_AGENT=_0x2cc51b(0x41c,0x4e2,0x46e,0x575),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x4b70a6,_0x1a3efe){const _0xbf926b={_0x91e7d8:0x4af,_0x4531c0:0x4d9,_0x58980f:0x529,_0x1941ac:0x3e9,_0x304151:0x344,_0x114ef6:0x49b,_0x3e535e:0x154,_0x599aac:0x3a2,_0x3822e4:0x2d4,_0x58f053:0x24d},_0x58435a={_0x3e86f8:0x8e,_0x1a3072:0xae},_0x4d7b80={_0x17a3e0:0xd0,_0x121e2:0x2af},_0x27fff2={_0x16eba2:0x47e,_0x1e4785:0x154},_0x2fffba={_0x5a6536:0x124};function _0x361c4a(_0x2bf340,_0x32bf67,_0xe413f9,_0x3974db){return _0x2cc51b(_0x3974db,_0x32bf67-0xc9,_0xe413f9-_0x2fffba._0x5a6536,_0x32bf67- -0x4ef);}const _0x583b8c=new AbortController(),_0xef70f7=setTimeout(()=>_0x583b8c[_0x41a471(0x261,0x166,0x221,0x15d)](new Error('Fetch\x20timed\x20out')),_0x1a3efe),_0xe9fa80=()=>_0x583b8c[_0x41a471(0x29a,0x158,0x221,0x308)](_0x4b70a6[_0x361c4a(-0x66,-0x81,-0x183,-0x79)]);function _0x41a471(_0x7b6af5,_0x24951e,_0x1b20ad,_0x40664a){return _0x38eb01(_0x24951e,_0x1b20ad-_0x27fff2._0x16eba2,_0x1b20ad-_0x27fff2._0x1e4785,_0x40664a-0x64);}return _0x4b70a6[_0x41a471(0x5d5,_0xbf926b._0x91e7d8,_0xbf926b._0x4531c0,_0xbf926b._0x58980f)]?_0x583b8c[_0x361c4a(-0x37f,-0x240,-0x2d6,-0x16d)](_0x4b70a6[_0x41a471(0x395,0x270,0x3e0,_0xbf926b._0x1941ac)]):_0x4b70a6[_0x41a471(0x432,_0xbf926b._0x304151,_0xbf926b._0x114ef6,0x415)](_0x41a471(0x343,0x338,0x221,_0xbf926b._0x3e535e),_0xe9fa80,{'once':!![]}),{'signal':_0x583b8c[_0x41a471(_0xbf926b._0x599aac,0x455,_0xbf926b._0x3822e4,_0xbf926b._0x58f053)],'cleanup':()=>{function _0x263028(_0x3f763a,_0x3d2805,_0x585f9b,_0x2e8376){return _0x41a471(_0x3f763a-_0x4d7b80._0x17a3e0,_0x3f763a,_0x585f9b- -_0x4d7b80._0x121e2,_0x2e8376-0xe2);}clearTimeout(_0xef70f7),_0x4b70a6['removeEventListener'](_0x263028(-0x123,-0x9c,-_0x58435a._0x3e86f8,_0x58435a._0x1a3072),_0xe9fa80);}};}function createWebFetchTool(_0x820f97={}){const _0x3f4b7b={_0x210bd1:0x12f,_0x5816fa:0x17b,_0x1192b7:0x209,_0x46ac27:0xc0,_0x42df2f:0x1f5,_0x4fd41e:0x1c8,_0x590765:0x331,_0x109350:0x3b2,_0x2238b1:0x4a7,_0x2265b1:0x368,_0x4e176a:0x2aa,_0x314549:0x3e1,_0x4802e4:0x24f,_0x25f924:0x172,_0x10e057:0x48a,_0x288f6f:0x45c,_0xb8d5dd:0x1c9,_0x341a97:0x241,_0x555d3b:0x1db,_0x1f294b:0x36e,_0x4689f8:0x4dc,_0x163285:0x489,_0x2a9c8a:0x395,_0x3a05e6:0x46a,_0x2a1203:0x287,_0x3b5ca4:0x39f,_0x490e6e:0x416,_0x112257:0x39f,_0x59c105:0x3fe,_0xcff8d7:0x325},_0x3ea1ed={_0x377f2d:0x46d,_0x12b73f:0x5bf,_0x142ad3:0x126,_0x1d82eb:0x10c,_0x34a1e7:0xe5,_0x516b07:0x87,_0x596ba4:0x44,_0x597edf:0xcf,_0x2aacde:0x604,_0x13f265:0x358,_0x371b35:0x1fd,_0x366164:0x32e,_0x70b389:0x258,_0x2cb3bf:0x1fc,_0x46e770:0x1ec,_0x40c08b:0x1b,_0x4fedee:0x242,_0x22e5d9:0x40,_0x54d095:0x17a,_0x56ed8a:0x1ab,_0x22df6a:0x1d5,_0x3d2c2a:0x260,_0x92767:0x174,_0x550edb:0x2a,_0x1251dd:0x7d,_0x3ed3bd:0x158,_0x594f74:0x4f,_0x164e52:0x396,_0x21fdcd:0x32c,_0x3f6b5f:0x479,_0x51b70f:0x13e,_0x2ef105:0x138,_0x5a72ca:0x44,_0x9328cd:0x9f,_0x24031d:0x60,_0x13fe6b:0x13b,_0x1a5f4f:0x5c},_0x3dd7de={_0x217a7:0x44},_0x5e681b={_0x473d78:0x467,_0x43cb1c:0x81};function _0x3ed439(_0x167bf5,_0x4b2feb,_0x271389,_0x234261){return _0x38eb01(_0x4b2feb,_0x271389-_0x5e681b._0x473d78,_0x271389-_0x5e681b._0x43cb1c,_0x234261-0xe3);}const _0x34a615=_0x820f97[_0x3ed439(_0x3f4b7b._0x210bd1,_0x3f4b7b._0x5816fa,_0x3f4b7b._0x1192b7,0x1aa)]??_0x3ed439(_0x3f4b7b._0x46ac27,0xc5,0x20c,_0x3f4b7b._0x42df2f),_0x584960=_0x820f97['timeoutMs']??DEFAULT_TIMEOUT_MS2,_0x22c73c=_0x820f97[_0x3ed439(0x439,_0x3f4b7b._0x4fd41e,_0x3f4b7b._0x590765,_0x3f4b7b._0x109350)];function _0x5aed00(_0x39b817,_0x2334cc,_0x5a0938,_0x2fb997){return _0x2cc51b(_0x39b817,_0x2334cc-0x122,_0x5a0938-0x15,_0x2fb997- -0x1d1);}const _0x1baae3=new _0xff2ce5({'headingStyle':_0x5aed00(_0x3f4b7b._0x2238b1,_0x3f4b7b._0x2265b1,0x51d,0x3aa),'codeBlockStyle':_0x3ed439(0xf9,0x300,0x225,0x242),'bulletListMarker':'-'});return _0x1baae3[_0x5aed00(_0x3f4b7b._0x4e176a,0x8c,0xaf,0x122)](['script','style',_0x3ed439(0x417,0x305,_0x3f4b7b._0x314549,0x4b1),_0x5aed00(0x2f3,_0x3f4b7b._0x4802e4,0x2c3,_0x3f4b7b._0x25f924),_0x3ed439(0x2bd,0x42d,0x362,0x476),_0x3ed439(_0x3f4b7b._0x10e057,0x3fe,_0x3f4b7b._0x288f6f,0x582),_0x5aed00(0x32f,_0x3f4b7b._0xb8d5dd,_0x3f4b7b._0x341a97,_0x3f4b7b._0x555d3b),_0x3ed439(0x383,0x4ab,0x401,_0x3f4b7b._0x1f294b)]),defineTool({'name':_0x34a615,'permissionClass':_0x3ed439(0x2c7,0x30b,0x380,0x209),'description':_0x3ed439(0x4c3,_0x3f4b7b._0x4689f8,_0x3f4b7b._0x163285,_0x3f4b7b._0x2a9c8a),'inputSchema':{'type':_0x3ed439(_0x3f4b7b._0x3a05e6,0x4e5,0x3d3,_0x3f4b7b._0x2a1203),'properties':{'description':{'type':_0x5aed00(0x383,0x383,0x43b,_0x3f4b7b._0x3b5ca4)},'url':{'type':_0x5aed00(_0x3f4b7b._0x490e6e,0x465,0x269,_0x3f4b7b._0x112257)}},'required':[_0x3ed439(0x291,0x2ca,_0x3f4b7b._0x59c105,_0x3f4b7b._0xcff8d7)]},async *'execute'(_0x2f2f85,_0x4198ad){const _0x15d669={_0x30310f:0x1c2,_0xe7a9b1:0x246},_0x6735b0=(await assertPublicUrl(_0x2f2f85['url'],{'lookup':_0x22c73c}))['toString']();if(_0x4198ad[_0x409227(0x4ee,0x3d7,0x2be,_0x3ea1ed._0x377f2d)]['aborted'])throw new ToolExecutionError(_0x409227(0x643,0x517,_0x3ea1ed._0x12b73f,0x431),{'url':_0x6735b0});function _0xdf2262(_0x4b753e,_0x1231b3,_0x2dd5a5,_0x19e7d6){return _0x3ed439(_0x4b753e-0xf3,_0x19e7d6,_0x2dd5a5- -0x1b1,_0x19e7d6-_0x3dd7de._0x217a7);}const _0x3dc76c=createTimeoutSignal(_0x4198ad[_0xdf2262(_0x3ea1ed._0x142ad3,0xde,_0x3ea1ed._0x1d82eb,-0x62)],_0x584960);let _0x529d5c='',_0x245f3c=0x0,_0x260b60;try{const _0x1ed866=await safeFetch(_0x6735b0,{'headers':{'User-Agent':USER_AGENT},'signal':_0x3dc76c[_0xdf2262(_0x3ea1ed._0x34a1e7,_0x3ea1ed._0x516b07,_0x3ea1ed._0x1d82eb,0x13c)]},{'lookup':_0x22c73c});if(!_0x1ed866['ok'])throw new ToolExecutionError(_0xdf2262(-0x8d,-0x69,_0x3ea1ed._0x596ba4,_0x3ea1ed._0x597edf)+_0x1ed866[_0x409227(_0x3ea1ed._0x2aacde,0x490,_0x3ea1ed._0x13f265,0x453)]+'\x20'+_0x1ed866[_0xdf2262(0x228,_0x3ea1ed._0x371b35,0x2cb,0x430)],{'url':_0x6735b0,'statusCode':_0x1ed866[_0xdf2262(0xbe,0x276,0x1c5,0x1ed)]});_0x529d5c=_0x1ed866[_0xdf2262(_0x3ea1ed._0x366164,_0x3ea1ed._0x70b389,_0x3ea1ed._0x2cb3bf,0xb5)][_0xdf2262(_0x3ea1ed._0x46e770,_0x3ea1ed._0x40c08b,0x176,_0x3ea1ed._0x4fedee)]('content-type')??'',_0x245f3c=_0x1ed866['status'],_0x260b60=await _0x1ed866[_0xdf2262(0x172,-0x73,0x60,-_0x3ea1ed._0x22e5d9)]();}catch(_0x53e6c8){if(_0x53e6c8 instanceof ToolExecutionError)throw _0x53e6c8;const _0x538054=_0x53e6c8 instanceof Error?_0x53e6c8[_0xdf2262(_0x3ea1ed._0x54d095,_0x3ea1ed._0x56ed8a,0x228,0x2b3)]:String(_0x53e6c8);throw new ToolExecutionError(_0x538054,{'url':_0x6735b0});}finally{_0x3dc76c[_0xdf2262(_0x3ea1ed._0x22df6a,_0x3ea1ed._0x3d2c2a,_0x3ea1ed._0x92767,_0x3ea1ed._0x550edb)]();}const _0x6159bd=new Date()['toISOString']();let _0x34ea1c,_0x1f9731;function _0x409227(_0x1947ef,_0x7679cc,_0x4630ba,_0x2e06d3){return _0x5aed00(_0x1947ef,_0x7679cc-_0x15d669._0x30310f,_0x4630ba-0x92,_0x7679cc-_0x15d669._0xe7a9b1);}if(_0x529d5c[_0xdf2262(-_0x3ea1ed._0x1251dd,_0x3ea1ed._0x3ed3bd,_0x3ea1ed._0x594f74,0xa3)]('application/json'))_0x34ea1c=_0xdf2262(0x3d0,0x3d4,0x33f,0x376)+_0x260b60+_0x409227(0x46e,_0x3ea1ed._0x164e52,0x3f8,0x359),_0x1f9731='json';else _0x529d5c[_0x409227(0x209,0x31a,0x39d,_0x3ea1ed._0x21fdcd)](_0x409227(0x56e,0x5d1,0x46c,_0x3ea1ed._0x3f6b5f))?(_0x34ea1c=_0x1baae3[_0xdf2262(_0x3ea1ed._0x51b70f,_0x3ea1ed._0x2ef105,0x6e,-_0x3ea1ed._0x5a72ca)](_0x260b60),_0x1f9731='markdown'):(_0x34ea1c=_0x260b60,_0x1f9731=_0xdf2262(0x43,-_0x3ea1ed._0x9328cd,_0x3ea1ed._0x24031d,_0x3ea1ed._0x13fe6b));return yield createToolOutput(_0x34ea1c,{'url':_0x6735b0,'contentType':_0x529d5c,'statusCode':_0x245f3c,'format':_0x1f9731,'size':_0x260b60[_0xdf2262(_0x3ea1ed._0x1a5f4f,0x310,0x1af,0x1f8)],'fetchedAt':_0x6159bd}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x38eb01(-0x15,0x87,0x1a7,0x11);function normalizeUrl(_0x39a719){const _0x5f1613={_0x3ad389:0x231,_0x43e9c2:0x20a,_0x21a62d:0x124,_0x5ec871:0xe3,_0x521dbf:0x83,_0x91a0d1:0x8,_0x2a430c:0xc9,_0x20efb9:0x20d,_0x2ed3f7:0x194,_0x58ca78:0x130,_0x25de37:0x1d,_0x431397:0x15c,_0x3d8297:0xb8,_0x423537:0x1,_0x5778d1:0x14d,_0x45a6b2:0x103,_0x478785:0xbb,_0x597c85:0x96,_0xd6189c:0x19f},_0x315c41={_0x38929b:0x19b},_0x400bb5={_0x27907e:0x178};function _0x2e0df4(_0x3c4eda,_0x3fe4a8,_0xf7235d,_0x60eff8){return _0x38eb01(_0x3c4eda,_0xf7235d-_0x400bb5._0x27907e,_0xf7235d-0xf8,_0x60eff8-0x14f);}function _0x8942bf(_0x957d77,_0x11d37b,_0x115b08,_0x3ddfa9){return _0x2cc51b(_0x115b08,_0x11d37b-_0x315c41._0x38929b,_0x115b08-0xcd,_0x957d77- -0x356);}try{const _0xe6a18a=new URL(_0x39a719);for(const _0x3575b1 of[_0x8942bf(_0x5f1613._0x3ad389,_0x5f1613._0x43e9c2,0x1e8,_0x5f1613._0x21a62d),_0x8942bf(0x3e,0x18a,_0x5f1613._0x5ec871,-0x10e),_0x8942bf(-0x94,-_0x5f1613._0x521dbf,-_0x5f1613._0x91a0d1,-0x150),_0x2e0df4(-0x1f1,-_0x5f1613._0x2a430c,-0xc8,-_0x5f1613._0x20efb9),_0x8942bf(_0x5f1613._0x2ed3f7,0x109,0x9c,0xf8),_0x8942bf(0x210,0x1fd,0xd4,0x197),_0x2e0df4(-0x159,-_0x5f1613._0x58ca78,-_0x5f1613._0x25de37,_0x5f1613._0x431397),'mc_cid',_0x2e0df4(_0x5f1613._0x3d8297,-0x186,-_0x5f1613._0x423537,_0x5f1613._0x5778d1)]){_0xe6a18a['searchParams'][_0x2e0df4(_0x5f1613._0x45a6b2,0x189,0x117,0x96)](_0x3575b1);}return _0xe6a18a[_0x8942bf(_0x5f1613._0x478785,_0x5f1613._0x597c85,_0x5f1613._0xd6189c,0xa4)]();}catch{return _0x39a719;}}function cseDateRestrict(_0x103afb){const _0x48b6c3={_0x9baae:0x460,_0xf1769b:0x1e1},_0x4d7e36={_0xca21f7:0x203,_0x4f88a6:0xab,_0x5b555c:0xa5},_0x2ec0e0={_0x386c42:0x303,_0xdb1f1b:0x1cc};function _0x90235f(_0x44fc16,_0x90f8,_0x397b45,_0x5df8a8){return _0x38eb01(_0x90f8,_0x44fc16-_0x2ec0e0._0x386c42,_0x397b45-_0x2ec0e0._0xdb1f1b,_0x5df8a8-0x19c);}function _0x29af30(_0x1aa2c4,_0x526815,_0x490b0c,_0x5cefa4){return _0x38eb01(_0x1aa2c4,_0x526815-_0x4d7e36._0xca21f7,_0x490b0c-_0x4d7e36._0x4f88a6,_0x5cefa4-_0x4d7e36._0x5b555c);}if(_0x103afb<=0x0)return void 0x0;if(_0x103afb<=0x1e)return'd'+Math[_0x90235f(0x2ea,_0x48b6c3._0x9baae,0x2f5,_0x48b6c3._0xf1769b)](0x1,Math['floor'](_0x103afb));if(_0x103afb<=0x16d)return'm'+Math[_0x29af30(0x276,0x1ec,0x255,0x2ec)](_0x103afb/0x1e);return'y'+Math['ceil'](_0x103afb/0x16d);}function addSiteFilters(_0x37649a,_0x4a38a6){const _0x303f8b={_0x5cee17:0x54f,_0x2506ea:0x3f3,_0x2d45a0:0x6ce,_0x4e0eec:0x77e,_0x4e9e03:0xde,_0x1438a7:0x384,_0x173529:0x439},_0x19ee9e={_0x1420a8:0x1a5,_0x3413a9:0x7},_0x45af7d={_0xa6380:0x656};function _0x2d2c8f(_0x426ad5,_0x9187d6,_0xee6a0b,_0x283f67){return _0x38eb01(_0x426ad5,_0xee6a0b-_0x45af7d._0xa6380,_0xee6a0b-0x1f0,_0x283f67-0x1ab);}if(_0x4a38a6[_0x2d2c8f(0x446,0x408,_0x303f8b._0x5cee17,_0x303f8b._0x2506ea)]===0x0)return _0x37649a['trim']();function _0x546ca6(_0x5f231d,_0x46de86,_0x3e8f44,_0x541eef){return _0x38eb01(_0x46de86,_0x541eef-0x428,_0x3e8f44-_0x19ee9e._0x1420a8,_0x541eef-_0x19ee9e._0x3413a9);}return(_0x37649a+'\x20('+_0x4a38a6[_0x2d2c8f(_0x303f8b._0x2d45a0,_0x303f8b._0x4e0eec,0x603,0x683)](_0x7a3fef=>_0x546ca6(0xf3,0x29b,0x231,0x219)+_0x7a3fef)[_0x546ca6(_0x303f8b._0x4e9e03,_0x303f8b._0x1438a7,0x391,0x251)]('\x20OR\x20')+')')[_0x546ca6(0x5a5,0x336,0x5a2,_0x303f8b._0x173529)]();}function normalizeType(_0x1e9aaa){const _0x105f17={_0x4fcf09:0x144,_0x2f4ee7:0x25,_0x186e5e:0x8f,_0x5881a9:0x12,_0x293cb1:0x24},_0x48047f={_0x5cf3c2:0x1cb},_0x13334b={_0x53f498:0x47d};function _0x15ef1a(_0xccf792,_0x2fd814,_0x2f2f5b,_0x41f111){return _0x2cc51b(_0x2f2f5b,_0x2fd814-0x36,_0x2f2f5b-0x19b,_0x41f111- -_0x13334b._0x53f498);}function _0x429850(_0x399af5,_0x5627df,_0x1f8a69,_0x18471c){return _0x38eb01(_0x399af5,_0x5627df-0x25,_0x1f8a69-0x123,_0x18471c-_0x48047f._0x5cf3c2);}return _0x1e9aaa===_0x15ef1a(0x12a,-0xd9,_0x105f17._0x4fcf09,-_0x105f17._0x2f4ee7)?_0x429850(-0x140,-_0x105f17._0x186e5e,_0x105f17._0x5881a9,_0x105f17._0x293cb1):'web';}async function fetchJson(_0x35759d,_0x29e63f,_0x178f27){const _0x296b08={_0x37f2ca:0x2a3,_0x23fd84:0x1ab,_0x258a10:0x130,_0x5001cc:0x18d,_0xd4ce38:0x25,_0x298013:0x49,_0x2d3142:0x7e,_0x4bb297:0x579,_0x346528:0x2f6,_0x4f99af:0x30e,_0x4fafec:0x465,_0x2caade:0x514,_0x43245d:0x41f,_0xf7f3fd:0x22f,_0x40501c:0x10,_0x40befb:0x3f8,_0x5e7763:0x46b,_0x34e4c9:0x485,_0x21fe72:0x27c,_0x27d9a:0x124,_0xfd8cca:0x23d,_0x134dbb:0x1a5,_0xf7a076:0x35c,_0x1b0f08:0x408,_0x218ef2:0x463,_0x119b7c:0xc1,_0xa95fa0:0x440,_0x39b1ff:0x512,_0x30f34c:0x596,_0x5ccb0c:0x518,_0x50d4a9:0x50e,_0x792053:0x564,_0x1de01f:0x557,_0x529b27:0x143,_0x14ef5d:0x9e},_0x51e188=await fetch(_0x35759d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x10a7e4(-_0x296b08._0x37f2ca,-_0x296b08._0x23fd84,-0x192,-0x19c),..._0x178f27?.[_0x10a7e4(_0x296b08._0x258a10,_0x296b08._0x5001cc,_0x296b08._0xd4ce38,0x13)]},'signal':_0x29e63f,..._0x178f27});if(!_0x51e188['ok']){let _0x26c0a4,_0x53c8a9;try{_0x26c0a4=await _0x51e188[_0x10a7e4(-_0x296b08._0x298013,-_0x296b08._0x2d3142,-0x1eb,-0x189)]();const _0x47dbcc=JSON['parse'](_0x26c0a4),_0x269d2f=typeof _0x47dbcc[_0x457c90(_0x296b08._0x4bb297,_0x296b08._0x346528,0x41f,_0x296b08._0x4f99af)]===_0x457c90(0x30f,0x3f8,_0x296b08._0x4fafec,0x489)?_0x47dbcc[_0x457c90(_0x296b08._0x2caade,0x2ae,_0x296b08._0x43245d,0x32e)][_0x10a7e4(-_0x296b08._0xf7f3fd,_0x296b08._0x40501c,-0x5b,-0x107)]:void 0x0;_0x53c8a9=_0x47dbcc['error']?.[_0x457c90(0x358,_0x296b08._0x40befb,_0x296b08._0x5e7763,_0x296b08._0x34e4c9)]??_0x47dbcc['error']?.[_0x457c90(0x259,0x3e1,_0x296b08._0x21fe72,0x267)]?.[0x0]?.['message']??_0x269d2f;}catch{}const _0x2b6fa0=_0x53c8a9?_0x10a7e4(-_0x296b08._0x27d9a,-_0x296b08._0xfd8cca,-0x1b5,-_0x296b08._0x134dbb)+_0x51e188[_0x457c90(_0x296b08._0xf7a076,0x360,_0x296b08._0x1b0f08,_0x296b08._0x218ef2)]+':\x20'+_0x53c8a9:_0x10a7e4(-0xeb,-_0x296b08._0x119b7c,-0xba,-_0x296b08._0x134dbb)+_0x51e188[_0x457c90(_0x296b08._0xa95fa0,_0x296b08._0x39b1ff,0x408,0x538)]+'\x20'+_0x51e188[_0x457c90(_0x296b08._0x30f34c,_0x296b08._0x5ccb0c,_0x296b08._0x50d4a9,_0x296b08._0x792053)];throw new ToolExecutionError(_0x2b6fa0,{'statusCode':_0x51e188[_0x457c90(0x306,_0x296b08._0x1de01f,0x408,0x4af)],..._0x26c0a4?{'body':_0x26c0a4}:{}});}function _0x457c90(_0x1127d8,_0x4186c9,_0x5b4c95,_0x286592){return _0x2cc51b(_0x4186c9,_0x4186c9-0x9b,_0x5b4c95-0xe4,_0x5b4c95- -0x13);}function _0x10a7e4(_0x2e8b81,_0x14ee21,_0x25a5a1,_0x431ff6){return _0x2cc51b(_0x14ee21,_0x14ee21-0x3d,_0x25a5a1-0x156,_0x431ff6- -0x43f);}return await _0x51e188[_0x10a7e4(-_0x296b08._0x529b27,0xd,-_0x296b08._0x14ef5d,0x4)]();}async function hydrateResults(_0x1e03cb,_0x31afaf,_0x1e83f8,_0x42c97a){const _0x49a5a6={_0x5e02a9:0x67,_0x390e5d:0x63,_0x8ceb73:0x90,_0x36865b:0x11b,_0x582cd0:0x33b,_0x3a9188:0xd1,_0xeb88c:0xbf,_0x5c54a1:0x52},_0x3fbbe2={_0x6b775a:0x112,_0x5e5bc5:0xc3},_0x2a523e={_0x2e1aa2:0xb2,_0x4ef1a1:0x1,_0x5c59fd:0x1a5,_0x182d35:0x74,_0x5119d8:0xe,_0x1434e1:0x26c,_0x146270:0x16e,_0xeacb95:0x1e8,_0x3a8f98:0x72,_0x2dfeb2:0x184,_0x30698c:0x236,_0x5e833c:0x19c,_0x3ee790:0x10b,_0x2fdee2:0xed,_0x3a977a:0xc8,_0x57bfa5:0x98,_0x46f2cc:0xd7,_0xd1de8f:0x205,_0x5605ea:0x106,_0x38b979:0x70,_0x317b44:0x236,_0x27d073:0x334,_0x3ecc00:0x12d,_0x3b17e2:0x91,_0x203a16:0x176,_0x12a58d:0x30,_0x34225c:0xe2,_0x1bbaef:0x56,_0x15330d:0x1b3,_0x44f9ef:0x16c,_0x543449:0x92,_0x331c16:0x196,_0x54f24e:0xbe,_0x4d4549:0x43,_0x48d11f:0x134,_0x2fba25:0x55,_0xd344f5:0x72,_0x31ce99:0x6,_0x12ae35:0x2d0,_0x1fc2d7:0x2,_0x56750a:0x1f6,_0x5068f3:0x390,_0x211f46:0x227,_0x50e075:0x283,_0x43d59e:0x83},_0x448028={_0x10b67e:0x19a,_0x21fe23:0x31a};function _0xb482cb(_0x54ea7a,_0x230e6a,_0x5d8e2a,_0x3df289){return _0x2cc51b(_0x230e6a,_0x230e6a-_0x448028._0x10b67e,_0x5d8e2a-0x8c,_0x5d8e2a- -_0x448028._0x21fe23);}const _0x49cfd9=await Promise[_0xb482cb(-0xe5,_0x49a5a6._0x5e02a9,-_0x49a5a6._0x390e5d,-_0x49a5a6._0x8ceb73)](_0x1e03cb[_0xb482cb(0x233,_0x49a5a6._0x36865b,0x257,_0x49a5a6._0x582cd0)](0x0,0xa)[_0x4aa417(0xbf,_0x49a5a6._0x3a9188,0x59,0x13a)](async _0x302ff4=>{const _0x41ef0a={_0x2acc0c:0x1c0},_0x476150={_0x547507:0xf4,_0xa8cb55:0x161};function _0x58e77a(_0x503bfe,_0x534035,_0x2c2ee1,_0x105a5b){return _0x4aa417(_0x534035- -_0x476150._0x547507,_0x105a5b,_0x2c2ee1-_0x476150._0xa8cb55,_0x105a5b-0x16e);}function _0x1da5f7(_0x1abcc4,_0x1a736,_0x5161f7,_0x13f4da){return _0x4aa417(_0x5161f7- -0x2a,_0x13f4da,_0x5161f7-0xbd,_0x13f4da-_0x41ef0a._0x2acc0c);}try{const _0x3bffa4=await safeFetch(_0x302ff4[_0x58e77a(-0x1b0,-0x4b,_0x2a523e._0x2e1aa2,_0x2a523e._0x4ef1a1)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x31afaf,'Accept':_0x58e77a(_0x2a523e._0x5c59fd,0x6e,-_0x2a523e._0x182d35,-_0x2a523e._0x5119d8)},'signal':_0x1e83f8},{'lookup':_0x42c97a});if(!_0x3bffa4['ok'])return _0x302ff4;const _0xb26590=await _0x3bffa4[_0x1da5f7(-_0x2a523e._0x1434e1,-0x8a,-_0x2a523e._0x146270,-0x63)](),_0x582ec0=load(_0xb26590),_0xe2fe5e=_0x582ec0(_0x1da5f7(_0x2a523e._0xeacb95,0xfb,0x109,_0x2a523e._0x3a8f98))[_0x58e77a(-_0x2a523e._0x2dfeb2,-_0x2a523e._0x30698c,-_0x2a523e._0x5e833c,-_0x2a523e._0x3ee790)](_0x58e77a(-0x1fd,-0xfc,-0xc9,-0x5a))||_0x582ec0(_0x58e77a(-_0x2a523e._0x2fdee2,-0x227,-0x361,-0x120))['first']()['text']()['trim'](),_0x51036=_0x582ec0(_0x58e77a(-_0x2a523e._0x3a977a,_0x2a523e._0x57bfa5,-0xc9,-_0x2a523e._0x46f2cc))[_0x1da5f7(-_0x2a523e._0xd1de8f,-_0x2a523e._0x5605ea,-0x16c,-0xed)](_0x58e77a(-0xa5,-0xfc,_0x2a523e._0x38b979,-0x180))||_0x582ec0('meta[property=\x27og:description\x27]')[_0x58e77a(-0xb9,-_0x2a523e._0x317b44,-0x28a,-_0x2a523e._0x27d073)](_0x1da5f7(-_0x2a523e._0x3ecc00,_0x2a523e._0x3b17e2,-0x32,-0xf1))||_0x302ff4['snippet'],_0x49a125=_0x582ec0('meta[property=\x27article:published_time\x27]')['attr'](_0x58e77a(-_0x2a523e._0x203a16,-0xfc,0x48,_0x2a523e._0x12a58d))||_0x582ec0(_0x1da5f7(_0x2a523e._0x34225c,0x81,-_0x2a523e._0x1bbaef,-_0x2a523e._0x15330d))[_0x1da5f7(-0x2cd,-0x1b9,-_0x2a523e._0x44f9ef,-0x70)](_0x1da5f7(_0x2a523e._0x543449,-0x11f,-0x6e,-_0x2a523e._0x331c16))||_0x302ff4[_0x58e77a(_0x2a523e._0x54f24e,_0x2a523e._0x4d4549,_0x2a523e._0x48d11f,-_0x2a523e._0x2fba25)],_0x3a26ad=_0x582ec0(_0x1da5f7(-0x13,0x120,_0x2a523e._0xd344f5,-_0x2a523e._0x31ce99))[_0x1da5f7(-_0x2a523e._0x12ae35,-_0x2a523e._0x1fc2d7,-_0x2a523e._0x44f9ef,-0x1b8)](_0x58e77a(-0xb7,0x75,_0x2a523e._0x56750a,0x48));return{..._0x302ff4,'title':_0xe2fe5e||_0x302ff4[_0x58e77a(-_0x2a523e._0x5068f3,-_0x2a523e._0x211f46,-_0x2a523e._0x50e075,-0x2a9)],'snippet':_0x51036,'url':_0x3a26ad?normalizeUrl(new URL(_0x3a26ad,_0x302ff4['url'])['toString']()):_0x302ff4[_0x1da5f7(-_0x2a523e._0x43d59e,-0x8f,0x7f,0x1b6)],'publishedAt':_0x49a125};}catch{return _0x302ff4;}}));function _0x4aa417(_0x5c4435,_0x391fdf,_0x4563f6,_0x5a6f79){return _0x38eb01(_0x391fdf,_0x5c4435-_0x3fbbe2._0x6b775a,_0x4563f6-_0x3fbbe2._0x5e5bc5,_0x5a6f79-0x8e);}const _0x13ada8=new Map(_0x1e03cb[_0xb482cb(0x2ff,0x148,0x257,0x1fb)](0x0,0xa)[_0x4aa417(_0x49a5a6._0xeb88c,0x227,0x2,_0x49a5a6._0x5c54a1)]((_0x4a708e,_0x49ded5)=>[_0x4a708e[_0x4aa417(0xa9,0x61,0x22e,0x1ce)],_0x49cfd9[_0x49ded5]]));return _0x1e03cb['map'](_0x52e5ee=>_0x13ada8['get'](_0x52e5ee[_0x4aa417(0xa9,0x152,0x150,0x1cd)])??_0x52e5ee);}function formatResults(_0x156779){const _0x1e03bc={_0x3532a8:0x169,_0x4e2989:0x1fc,_0x4bcff4:0x1d6},_0x269e85={_0x1a7492:0x12d,_0x13fde4:0x157,_0x4f1353:0x11a,_0x3d2ff0:0xdd,_0x575b9e:0x29,_0x3bf604:0x130,_0x2d373f:0x87,_0x1cca39:0xb8,_0x4b4705:0x21,_0x337d22:0x1de,_0x4e7a64:0x15a,_0x3006b6:0x1b6,_0x5e1fdf:0x2c,_0x271763:0x5e,_0xa0db8f:0x1f,_0x1c08b6:0x86,_0xf8cf6d:0x21a},_0x39c6fd={_0x537311:0xb6},_0x1c8e38={_0x3c27d3:0x303,_0x1c4f5c:0x39};function _0x8e0f48(_0x2e0952,_0x3ede55,_0x27d354,_0x1815d0){return _0x38eb01(_0x3ede55,_0x27d354-_0x1c8e38._0x3c27d3,_0x27d354-0xf4,_0x1815d0-_0x1c8e38._0x1c4f5c);}if(_0x156779[_0x8e0f48(0x2be,_0x1e03bc._0x3532a8,_0x1e03bc._0x4e2989,0x81)]===0x0)return _0x1144aa(0x341,_0x1e03bc._0x4bcff4,0x2f4,0x23f);function _0x1144aa(_0x511182,_0x58a65f,_0xbb5dda,_0x2800f2){return _0x38eb01(_0x2800f2,_0x58a65f-0x25d,_0xbb5dda-0x93,_0x2800f2-_0x39c6fd._0x537311);}return _0x156779['map'](_0x572ab4=>{const _0x7981a9=[_0x572ab4[_0x83a88e(_0x269e85._0x1a7492,-0x8,0x5,-_0x269e85._0x13fde4)][_0x2f7016(_0x269e85._0x4f1353,-0x1d,-0x48,0x252)]+'.\x20'+_0x572ab4[_0x2f7016(-_0x269e85._0x3d2ff0,-0x1ff,-0x6f,_0x269e85._0x575b9e)],_0x572ab4[_0x83a88e(-0xce,0x12,_0x269e85._0x3bf604,0x14e)]];function _0x2f7016(_0x308fbb,_0x23bed6,_0x198c1c,_0x3d7eae){return _0x8e0f48(_0x308fbb-0x118,_0x198c1c,_0x308fbb- -0x19b,_0x3d7eae-0x9c);}if(_0x572ab4[_0x83a88e(-_0x269e85._0x2d373f,-_0x269e85._0x1cca39,_0x269e85._0x4b4705,-0x239)])_0x7981a9['push'](_0x572ab4[_0x83a88e(0x91,-_0x269e85._0x1cca39,-0xcf,-_0x269e85._0x337d22)]);function _0x83a88e(_0x4b4db1,_0x4d7204,_0x524a66,_0x433349){return _0x1144aa(_0x4b4db1-0x4c,_0x4d7204- -0x1e2,_0x524a66-0x16e,_0x524a66);}if(_0x572ab4[_0x2f7016(0x18d,_0x269e85._0x4e7a64,0x2de,0x7b)])_0x7981a9[_0x83a88e(-_0x269e85._0x3006b6,-_0x269e85._0x5e1fdf,_0x269e85._0x271763,-_0x269e85._0xa0db8f)](_0x2f7016(-0x10d,-0x22a,-_0x269e85._0x1c08b6,-_0x269e85._0xf8cf6d)+_0x572ab4['publishedAt']);return _0x7981a9['join']('\x0a');})['join']('\x0a\x0a');}async function searchOllama(_0x22d8bc,_0x5ced35,_0x48fe11){const _0x5615e7={_0x2feb07:0x42f,_0x57e2fe:0x5ec,_0x4bf9a0:0x568,_0x5cadaf:0x57e,_0x2c2d34:0x35b,_0x36018f:0x3ac,_0x113b6e:0x4c3,_0x3a4331:0x6bf,_0x24c930:0x5f2,_0x2b69dd:0x4d7,_0x5092c3:0x46e,_0x41da47:0x435,_0x49b7e1:0x756,_0x5f4eb5:0x5e5,_0x43fc55:0x56b,_0x3f1064:0x695,_0xee312b:0x759},_0x5f54c4={_0x8b2949:0x1e2,_0x341726:0x28},_0x2d19bc={_0x11ff53:0x645,_0xd52cd9:0x3c2,_0x35d327:0x4e8,_0x30cee4:0x573,_0x5571e2:0x314,_0x4b57a4:0x5b6,_0x48ac4e:0x443,_0x557efa:0x6ba},_0x12fea2={_0x969a17:0x3e},_0x6c34f1={_0x24b984:0x1f2,_0x891fad:0x1c},_0x4de6c4=Math['max'](0x1,Math[_0x114d0c(0x483,_0x5615e7._0x2feb07,0x315,0x3bb)](0xa,_0x5ced35[_0x4b862b(_0x5615e7._0x57e2fe,_0x5615e7._0x4bf9a0,0x5fa,0x67a)])),_0x225deb=addSiteFilters(_0x5ced35[_0x114d0c(0x693,_0x5615e7._0x5cadaf,0x560,0x4e0)],_0x5ced35[_0x114d0c(_0x5615e7._0x2c2d34,0x35d,0x2bb,_0x5615e7._0x36018f)]);function _0x114d0c(_0x1c1c42,_0x3987df,_0x303b78,_0x2b6e30){return _0x2cc51b(_0x2b6e30,_0x3987df-0x1c1,_0x303b78-_0x6c34f1._0x24b984,_0x303b78- -_0x6c34f1._0x891fad);}const _0x583b25=await fetchJson(_0x114d0c(_0x5615e7._0x2feb07,0x3be,_0x5615e7._0x113b6e,0x5b9),_0x48fe11,{'method':_0x4b862b(_0x5615e7._0x3a4331,_0x5615e7._0x24c930,_0x5615e7._0x2b69dd,0x604),'headers':{'Authorization':'Bearer\x20'+_0x22d8bc['apiKey']},'body':JSON[_0x4b862b(0x2d7,0x3e9,_0x5615e7._0x5092c3,_0x5615e7._0x41da47)]({'query':_0x225deb,'max_results':_0x4de6c4})}),_0x3698a7=_0x583b25['results']??[],_0x14b97f=_0x3698a7[_0x4b862b(0x5a7,0x5dd,_0x5615e7._0x49b7e1,_0x5615e7._0x5f4eb5)]((_0x2ef4c2,_0x331f03)=>{function _0x5b1472(_0x1cdae8,_0x209330,_0x3b6531,_0x3a29f0){return _0x4b862b(_0x1cdae8-0xa8,_0x1cdae8-0x4c,_0x3b6531-0x27,_0x3a29f0);}const _0x98397f=_0x2ef4c2[_0x1bb81a(0x656,0x5f7,0x638,_0x2d19bc._0x11ff53)]||'';let _0x181212;try{_0x181212=new URL(_0x98397f)[_0x1bb81a(0x5b3,_0x2d19bc._0xd52cd9,_0x2d19bc._0x35d327,_0x2d19bc._0x30cee4)];}catch{_0x181212=null;}function _0x1bb81a(_0x275bf6,_0x24cbae,_0x5dca2d,_0x5caef2){return _0x4b862b(_0x275bf6-0x1c6,_0x5dca2d-0x71,_0x5dca2d-_0x12fea2._0x969a17,_0x24cbae);}return{'title':_0x2ef4c2[_0x1bb81a(_0x2d19bc._0x5571e2,0x39e,0x45c,_0x2d19bc._0x4b57a4)]||'Untitled','url':normalizeUrl(_0x98397f),'snippet':_0x2ef4c2[_0x1bb81a(_0x2d19bc._0x48ac4e,0x6f6,0x587,_0x2d19bc._0x557efa)]??null,'displayUrl':_0x181212,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x331f03+0x1}};});function _0x4b862b(_0x5e39f0,_0x4a4e80,_0x2af913,_0xd354e5){return _0x2cc51b(_0xd354e5,_0x4a4e80-_0x5f54c4._0x8b2949,_0x2af913-_0x5f54c4._0x341726,_0x4a4e80-0x124);}return{'items':_0x14b97f[_0x4b862b(_0x5615e7._0x43fc55,_0x5615e7._0x3f1064,_0x5615e7._0xee312b,0x6e1)](0x0,_0x4de6c4),'engine':'ollama'};}async function searchTavily(_0x3364c1,_0x274093,_0x43f0cd){const _0x31418b={_0x55628c:0xd1,_0x4c0397:0xe5,_0x28ee10:0xaa,_0x25a63f:0x199,_0x4115e9:0x381,_0x5f5897:0x8e,_0x348dbe:0xdb,_0x224afd:0x19c,_0x3fe51f:0x1a,_0x395dbe:0x42,_0x3a9585:0x35,_0x5aeecd:0x72,_0x1c7340:0x9d,_0x7b903:0x1f3,_0x404daf:0x2a6,_0x5580b7:0x292,_0x3279d0:0x2bf,_0xc77643:0x28f,_0x66af89:0x2c8,_0x22d3ab:0x168,_0xcadd33:0x17b,_0x228936:0xb4,_0x19f49f:0xc9,_0x356a96:0x81,_0x6f84f9:0x4e,_0x745b42:0x57,_0x1ec2e9:0x7,_0x1d4fae:0xb8,_0x20a69b:0x26,_0x473a7e:0x223,_0x293156:0x2d1,_0x4b8e5b:0x148,_0x3a2929:0x1bd,_0x800c5f:0xdd,_0x340f01:0x11,_0x49c3ed:0x25,_0x275a0d:0xb2,_0x38772e:0xbd},_0x173221={_0x1a8e93:0x68},_0x3902af={_0x5bae05:0x34a,_0x51682e:0x50a,_0x19106a:0x1bc,_0x4218c1:0x38e,_0x4c7976:0x26d,_0x2cb69d:0x3fa,_0x5c2ef6:0x30c,_0x1b0e9d:0x5e2,_0x3cee12:0x3c8},_0x4642ba={_0x268cb0:0x3f},_0x87d5e8={_0x10d2b1:0x76};function _0x43b170(_0x37c69d,_0x358e57,_0x2059b0,_0x22e422){return _0x38eb01(_0x37c69d,_0x2059b0-0x1a3,_0x2059b0-_0x87d5e8._0x10d2b1,_0x22e422-0x15d);}const _0x2e582f=Math[_0x43b170(_0x31418b._0x55628c,_0x31418b._0x4c0397,0x18a,_0x31418b._0x28ee10)](0x1,Math[_0x477d6c(-_0x31418b._0x25a63f,-0x265,-0x21b,-_0x31418b._0x4115e9)](0x14,_0x274093[_0x43b170(-_0x31418b._0x5f5897,0x1f0,_0x31418b._0x348dbe,0x22a)])),_0x346299={'query':_0x274093[_0x477d6c(-_0x31418b._0x224afd,-_0x31418b._0x3fe51f,_0x31418b._0x395dbe,-0x8e)],'max_results':_0x2e582f,'search_depth':_0x3364c1[_0x477d6c(_0x31418b._0x3a9585,-_0x31418b._0x5aeecd,-_0x31418b._0x1c7340,-_0x31418b._0x7b903)]??_0x43b170(0x17d,0x39,0xb1,0x79),'topic':_0x3364c1['topic']??_0x477d6c(-_0x31418b._0x404daf,-0x1b2,-0x74,-0x1b5)};if(_0x274093[_0x477d6c(-_0x31418b._0x5580b7,-_0x31418b._0x3279d0,-_0x31418b._0xc77643,-_0x31418b._0x66af89)]['length']>0x0)_0x346299[_0x43b170(_0x31418b._0x22d3ab,_0x31418b._0xcadd33,_0x31418b._0x228936,_0x31418b._0x19f49f)]=_0x274093['domains'];const _0x54f966=await fetchJson(_0x43b170(0x4f,_0x31418b._0x356a96,-_0x31418b._0x6f84f9,_0x31418b._0x745b42),_0x43f0cd,{'method':'POST','headers':{'Authorization':_0x477d6c(0x102,-_0x31418b._0x1ec2e9,0xaa,-_0x31418b._0x1d4fae)+_0x3364c1[_0x43b170(0x19b,0x7a,0x66,_0x31418b._0x20a69b)],'Content-Type':'application/json'},'body':JSON[_0x477d6c(-_0x31418b._0x473a7e,-_0x31418b._0x293156,-_0x31418b._0x4b8e5b,-0x2a0)](_0x346299)}),_0x3b59a1=_0x54f966[_0x477d6c(-0x291,-0x11b,-_0x31418b._0x3a2929,-0x23)]??[],_0x1b4dba=_0x3b59a1[_0x477d6c(0x93,-_0x31418b._0x800c5f,-0x10f,0x96)]((_0x5eb426,_0x4c2160)=>{const _0x395961={_0x362824:0x283},_0x486fff=_0x5eb426[_0x2db03c(_0x3902af._0x5bae05,0x3dd,_0x3902af._0x51682e,0x3bd)]||'';function _0x2db03c(_0x461a34,_0x4fc71a,_0x5ed3b7,_0xc65ea2){return _0x43b170(_0x4fc71a,_0x4fc71a-0x185,_0xc65ea2-_0x395961._0x362824,_0xc65ea2-0x62);}let _0x5dac92;function _0x17ef12(_0x22c26f,_0x793115,_0x3b36e5,_0x23a6d8){return _0x43b170(_0x3b36e5,_0x793115-_0x4642ba._0x268cb0,_0x23a6d8-0x313,_0x23a6d8-0xdb);}try{_0x5dac92=new URL(_0x486fff)[_0x2db03c(0x1a0,_0x3902af._0x19106a,_0x3902af._0x4218c1,_0x3902af._0x4c7976)];}catch{_0x5dac92=null;}return{'title':_0x5eb426[_0x17ef12(0x340,_0x3902af._0x2cb69d,0x38a,0x271)]||'Untitled','url':normalizeUrl(_0x486fff),'snippet':_0x5eb426[_0x2db03c(0x45f,0x223,0x29f,_0x3902af._0x5c2ef6)]??null,'displayUrl':_0x5dac92,'favicon':null,'publishedAt':null,'source':{'engine':_0x17ef12(0x44a,_0x3902af._0x1b0e9d,_0x3902af._0x3cee12,0x483),'rank':_0x4c2160+0x1}};});function _0x477d6c(_0x4b356a,_0xd3256a,_0x49e4dd,_0x440ce5){return _0x38eb01(_0x440ce5,_0xd3256a- -0x8a,_0x49e4dd-0x21,_0x440ce5-_0x173221._0x1a8e93);}return{'items':_0x1b4dba[_0x477d6c(-_0x31418b._0x340f01,-_0x31418b._0x49c3ed,0xf9,_0x31418b._0x275a0d)](0x0,_0x2e582f),'engine':_0x477d6c(-0xda,-_0x31418b._0x38772e,0x5a,0x33)};}async function searchGoogleCse(_0x150f7c,_0xefa7e7,_0x22bdce){const _0x4ed57b={_0x354f65:0x219,_0x4f76a6:0x299,_0x4c1a08:0x1d2,_0x3b6a99:0xb3,_0x30adcd:0x37,_0xb31561:0x10,_0xf1d9a7:0x56,_0x334d8c:0x18b,_0x227ea6:0x13a,_0x4a217a:0xd5,_0x469e95:0x17,_0x158ed3:0x13c,_0x529901:0x106,_0x460fa2:0x1ef,_0x590b22:0x1e7,_0x3da736:0x1,_0x538f7e:0xc6,_0xc4b334:0xa0,_0x2517b9:0x100,_0x3377dc:0xf5,_0x5cbf9c:0x68,_0x171277:0x366,_0x1b1389:0x234,_0x369611:0x2bc,_0xdbfd75:0x25b,_0x26321c:0x2b,_0x5d552a:0x9a,_0x2cb0ee:0x30,_0x3db310:0x287,_0xd2cc73:0x377,_0xa836cb:0x294,_0x12a606:0x18f,_0x1631c3:0x26f,_0x5f4dff:0x2d2,_0xe39db6:0x20f,_0x3841b7:0x134,_0xc700f7:0x1e3,_0xb76212:0x264,_0x1972f7:0x394,_0x23e4fd:0x2ba,_0x183b0d:0x1cd,_0x321b42:0x216,_0x483652:0x2e6,_0x49e18a:0x206,_0x621482:0x1b2,_0x1e3c2c:0x1d4,_0x34c7d6:0x143,_0x1cac0c:0x1d8,_0x51b730:0x10e,_0x3ac0a6:0x3af,_0x4dd45d:0x291,_0x6a9474:0x18e,_0xf46b77:0xb7,_0x109f9d:0xe,_0x3b3b21:0x54,_0x5c0e8a:0x1ba,_0x6e7c6c:0x246,_0x5396e7:0x12f,_0x33088f:0x2c5,_0x2eec5a:0x1a4,_0x30670a:0x143,_0x44c810:0x182,_0xf21c1e:0x378,_0x2ec84b:0x73,_0xd18996:0x10e,_0x457af9:0x20e,_0x54a5fc:0x1d4,_0x3df404:0x1dd,_0x56b1ed:0x31a,_0x52afb4:0x2b0,_0x307ddc:0xf2,_0x4f1b32:0x12,_0x4bba6c:0x17a,_0x1b78a6:0x37e,_0x313b1f:0x16b,_0x32e042:0x216,_0x36f154:0x118,_0xe7b01b:0x23e,_0x3bb9d1:0x137,_0x361057:0x28b,_0x1b1845:0x3e0,_0x1a6724:0x314,_0x55ad39:0x1cd,_0x173246:0x152,_0x2d6ae6:0x51,_0x4c719f:0x1c3,_0x798c3e:0xa7,_0x28afb9:0x248,_0x49956a:0xc2,_0x71376:0x28f,_0x911b00:0x3c0,_0x517c33:0x42b,_0x39d8fa:0x35c,_0xc595fb:0x2dc,_0x58d6f0:0x1cd,_0x43abfe:0x2c2,_0x3ab6a1:0x1da,_0x1fe078:0xd9,_0x48669f:0x1d3,_0x57b278:0xfe,_0x36c751:0x2a8,_0x2e9ec9:0xc0,_0x41196b:0x207,_0x58ee00:0x37,_0x59be93:0x14a,_0x364892:0x5,_0x52e268:0x7,_0x2ac6ac:0xbd,_0x1731e2:0xd8,_0x456b54:0x116,_0x3d95bf:0xfa,_0x558493:0x268,_0x1cfa87:0x4c,_0x294d12:0x1a5,_0x23ec55:0x57,_0x161b76:0x12a,_0x9bba8d:0x5a,_0x3d9853:0x234,_0x55dfd5:0x9,_0x33dfc2:0x70,_0x3a54ae:0x326,_0x3bebf1:0x1d9,_0x4cd0c2:0xd0,_0x42e888:0x21d,_0x39fb18:0x1c5,_0x365948:0x89,_0x44b522:0x85,_0x537ac8:0x40,_0x13deeb:0x144,_0x1f26c7:0xad,_0x11b2fb:0x194,_0x4a28ac:0x1df,_0x132b16:0x1bc,_0x281278:0x242,_0x2d658e:0x2da,_0x4812b9:0x248},_0x3a39a6={_0x1d4fd7:0x1e7},_0x2510ba={_0x48584c:0xb3},_0x468026=Math[_0x118f18(_0x4ed57b._0x354f65,0x14b,_0x4ed57b._0x4f76a6,_0x4ed57b._0x4c1a08)](0x1,Math[_0x118f18(-_0x4ed57b._0x3b6a99,-_0x4ed57b._0x30adcd,0xdb,_0x4ed57b._0xb31561)](0x32,_0xefa7e7[_0x8011f(_0x4ed57b._0xf1d9a7,0x1ad,0x23e,_0x4ed57b._0x334d8c)]));if(_0xefa7e7[_0x8011f(_0x4ed57b._0x227ea6,_0x4ed57b._0x4a217a,-_0x4ed57b._0x469e95,_0x4ed57b._0x158ed3)]+_0x468026>0x64)throw new ToolExecutionError(_0x118f18(_0x4ed57b._0x529901,_0x4ed57b._0x460fa2,_0x4ed57b._0x590b22,0x192),{'offset':_0xefa7e7[_0x8011f(_0x4ed57b._0x3da736,0xd5,_0x4ed57b._0x538f7e,-_0x4ed57b._0xc4b334)],'count':_0x468026,'maxResults':0x64});const _0x118a2e=cseDateRestrict(_0xefa7e7[_0x8011f(-_0x4ed57b._0x2517b9,0x1e,-_0x4ed57b._0x3377dc,-_0x4ed57b._0x5cbf9c)]);function _0x118f18(_0x760d18,_0x339dc5,_0x4cf2ea,_0x2c9fb9){return _0x2cc51b(_0x339dc5,_0x339dc5-_0x2510ba._0x48584c,_0x4cf2ea-0x5d,_0x2c9fb9- -0x321);}const _0x38c4b4=addSiteFilters(_0xefa7e7[_0x118f18(_0x4ed57b._0x171277,_0x4ed57b._0x1b1389,_0x4ed57b._0x369611,_0x4ed57b._0xdbfd75)],_0xefa7e7['domains']);let _0xa41f49=0x0,_0x4cb0e3=_0xefa7e7[_0x8011f(-_0x4ed57b._0x26321c,0xd5,0x2c,-0x8c)]+0x1;const _0x4de913=[];while(_0xa41f49<_0x468026){const _0xbb7d73=Math[_0x8011f(0x163,_0x4ed57b._0x5d552a,0x14e,_0x4ed57b._0x2cb0ee)](0xa,_0x468026-_0xa41f49),_0x58c8c7=new URL(_0x8011f(0x25e,_0x4ed57b._0x3db310,0x229,_0x4ed57b._0xd2cc73));_0x58c8c7[_0x118f18(_0x4ed57b._0xa836cb,_0x4ed57b._0x12a606,_0x4ed57b._0x1631c3,0x264)][_0x8011f(0x284,0x1cd,_0x4ed57b._0x5f4dff,_0x4ed57b._0xe39db6)](_0x8011f(_0x4ed57b._0x3841b7,_0x4ed57b._0xc700f7,0x2d3,0x104),_0x150f7c['googleCseKey']),_0x58c8c7[_0x118f18(0x280,0x35e,0x24f,_0x4ed57b._0xb76212)]['set']('cx',_0x150f7c[_0x8011f(_0x4ed57b._0x1972f7,0x2be,_0x4ed57b._0x23e4fd,0x2cf)]),_0x58c8c7[_0x118f18(0x1e9,0x2fc,0x290,0x264)][_0x8011f(0x266,_0x4ed57b._0x183b0d,_0x4ed57b._0x321b42,_0x4ed57b._0x483652)]('q',_0x38c4b4),_0x58c8c7[_0x118f18(0x32f,_0x4ed57b._0x49e18a,0x268,_0x4ed57b._0xb76212)][_0x118f18(_0x4ed57b._0x621482,0x1b8,_0x4ed57b._0x1e3c2c,_0x4ed57b._0x34c7d6)](_0x118f18(-_0x4ed57b._0x1cac0c,0x41,_0x4ed57b._0x51b730,-0x7a),String(_0xbb7d73)),_0x58c8c7[_0x118f18(0x2b7,0x3b8,_0x4ed57b._0x3ac0a6,_0x4ed57b._0xb76212)][_0x8011f(_0x4ed57b._0x4dd45d,0x1cd,0x274,0x1a8)](_0x118f18(0x30c,0x249,0x19c,0x1c2),String(_0x4cb0e3)),_0x58c8c7['searchParams'][_0x118f18(0x213,0x1f5,0x236,0x143)](_0x118f18(_0x4ed57b._0x6a9474,_0x4ed57b._0xf46b77,_0x4ed57b._0x109f9d,0x112),_0xefa7e7[_0x8011f(0xed,0x19c,0x3a,_0x4ed57b._0x3b3b21)]?_0x8011f(0xa8,0x61,_0x4ed57b._0x5c0e8a,0x13):'off');_0xefa7e7['lang']&&(_0x58c8c7['searchParams'][_0x118f18(0x1c4,0x2b5,0x287,0x143)]('hl',_0xefa7e7[_0x118f18(0x285,_0x4ed57b._0x6e7c6c,_0x4ed57b._0x5396e7,0x10e)]),_0x58c8c7[_0x118f18(0x249,0x381,_0x4ed57b._0x33088f,0x264)][_0x118f18(0x16b,_0x4ed57b._0x2eec5a,0x262,_0x4ed57b._0x30670a)]('lr',_0x8011f(0x300,0x2ba,_0x4ed57b._0x44c810,_0x4ed57b._0xf21c1e)+_0xefa7e7[_0x118f18(_0x4ed57b._0x2ec84b,-0x5,0x138,_0x4ed57b._0xd18996)]));if(_0xefa7e7['region'])_0x58c8c7[_0x8011f(_0x4ed57b._0x457af9,0x2ee,_0x4ed57b._0x54a5fc,_0x4ed57b._0x3df404)][_0x8011f(0x320,_0x4ed57b._0x183b0d,_0x4ed57b._0x56b1ed,_0x4ed57b._0x52afb4)]('gl',_0xefa7e7[_0x8011f(0x1dc,_0x4ed57b._0x307ddc,-_0x4ed57b._0x4f1b32,-0x44)][_0x8011f(0x141,0x27b,_0x4ed57b._0x4bba6c,_0x4ed57b._0x1b78a6)]());if(_0xefa7e7[_0x8011f(_0x4ed57b._0x313b1f,0xba,_0x4ed57b._0x32e042,_0x4ed57b._0x36f154)]===_0x118f18(_0x4ed57b._0xe7b01b,0x97,0x14e,_0x4ed57b._0x3bb9d1))_0x58c8c7[_0x118f18(_0x4ed57b._0x361057,_0x4ed57b._0x1b1845,_0x4ed57b._0x1a6724,0x264)][_0x8011f(0x26e,_0x4ed57b._0x55ad39,_0x4ed57b._0x173246,_0x4ed57b._0x2d6ae6)](_0x8011f(0x117,_0x4ed57b._0x4c719f,_0x4ed57b._0x798c3e,0xb0),_0x8011f(_0x4ed57b._0x28afb9,0x17f,_0x4ed57b._0x49956a,_0x4ed57b._0x71376));if(_0x118a2e)_0x58c8c7[_0x8011f(_0x4ed57b._0x911b00,0x2ee,_0x4ed57b._0x517c33,_0x4ed57b._0x39d8fa)][_0x8011f(_0x4ed57b._0xc595fb,_0x4ed57b._0x58d6f0,0x34e,_0x4ed57b._0x43abfe)](_0x118f18(0x216,-0x63,_0x4ed57b._0x3ab6a1,0xbf),_0x118a2e);const _0x509f03=await fetchJson(_0x58c8c7[_0x118f18(_0x4ed57b._0x1fe078,0x1e0,_0x4ed57b._0x48669f,0xf0)](),_0x22bdce),_0x11ecae=_0x509f03[_0x118f18(_0x4ed57b._0x57b278,_0x4ed57b._0x36c751,_0x4ed57b._0x2e9ec9,_0x4ed57b._0x41196b)]??[];if(_0x11ecae[_0x8011f(_0x4ed57b._0x54a5fc,0x16e,0x0,_0x4ed57b._0x58ee00)]===0x0)break;const _0x1405e4=_0xa41f49;for(let _0x27bffc=0x0;_0x27bffc<_0x11ecae['length'];_0x27bffc++){const _0x2bb14a=_0x11ecae[_0x27bffc];if(!_0x2bb14a)continue;const _0x16e2f8=_0x2bb14a[_0x8011f(_0x4ed57b._0x59be93,_0x4ed57b._0x364892,-_0x4ed57b._0x52e268,-_0x4ed57b._0x2ac6ac)]||_0x2bb14a[_0x8011f(_0x4ed57b._0x1731e2,0x17f,0xa3,0xf2)]?.[_0x118f18(-_0x4ed57b._0x456b54,-_0x4ed57b._0x3d95bf,0x135,-0x2c)]||'',_0x46dd4c=_0x2bb14a['title']||_0x2bb14a[_0x118f18(_0x4ed57b._0x558493,0x13b,-_0x4ed57b._0x1cfa87,0xf5)]?.[_0x118f18(-_0x4ed57b._0x294d12,-_0x4ed57b._0x23ec55,_0x4ed57b._0x161b76,-_0x4ed57b._0x9bba8d)]||_0x8011f(0x65,0x1b6,0x2aa,0x262),_0x2bbb80=_0x2bb14a[_0x8011f(_0x4ed57b._0x3d9853,0x142,_0x4ed57b._0x55dfd5,_0x4ed57b._0x33dfc2)]||_0x2bb14a[_0x8011f(0x2c9,0x1fa,_0x4ed57b._0x3a54ae,0x11e)]?.['replace'](/<[^>]+>/g,''),_0x47019d=_0x2bb14a[_0x8011f(_0x4ed57b._0x3bebf1,_0x4ed57b._0x4cd0c2,_0x4ed57b._0x42e888,-0xe)]?.[_0x118f18(0x259,0x298,0xa7,_0x4ed57b._0x39fb18)]?.[0x0]??{};let _0x5c1170;try{_0x5c1170=new URL(_0x16e2f8)[_0x8011f(0x57,0xbc,-_0x4ed57b._0x365948,-_0x4ed57b._0x44b522)];}catch{_0x5c1170=null;}_0x4de913[_0x118f18(0x290,_0x4ed57b._0x537ac8,0x4f,_0x4ed57b._0x13deeb)]({'title':_0x46dd4c,'url':normalizeUrl(_0x16e2f8),'snippet':_0x2bbb80??null,'displayUrl':_0x5c1170,'favicon':null,'publishedAt':_0x47019d[_0x118f18(-0x6e,-_0x4ed57b._0x1f26c7,_0x4ed57b._0x11b2fb,0xc5)]||_0x47019d['og:updated_time']||null,'source':{'engine':'google-cse','rank':_0x1405e4+_0x27bffc+0x1}});}_0xa41f49+=_0x11ecae[_0x8011f(0x1e,0x16e,0x185,_0x4ed57b._0x4a28ac)],_0x4cb0e3+=_0x11ecae['length'];if(_0x11ecae[_0x8011f(0x2e5,0x16e,_0x4ed57b._0x132b16,0x18b)]<_0xbb7d73)break;}function _0x8011f(_0x145c36,_0x3b4221,_0x1cad88,_0x3d3eba){return _0x2cc51b(_0x3d3eba,_0x3b4221-_0x3a39a6._0x1d4fd7,_0x1cad88-0xa6,_0x3b4221- -0x297);}return _0x4de913[_0x8011f(_0x4ed57b._0x281278,_0x4ed57b._0x2d658e,_0x4ed57b._0x4812b9,0x209)](0x0,_0x468026);}function isGoogleCseEngine(_0x16b8ed){return'googleCseKey'in _0x16b8ed;}function isOllamaEngine(_0x4cd02b){const _0x1e4b93={_0x10369b:0x289,_0x2675c4:0x3d0,_0x5bbe3a:0x285},_0x4c6fbd={_0x2b0469:0x40a,_0x96c209:0x1e8};function _0x2e1247(_0x5d6d96,_0x51fb6e,_0x2434c3,_0x1efb55){return _0x38eb01(_0x51fb6e,_0x2434c3-_0x4c6fbd._0x2b0469,_0x2434c3-_0x4c6fbd._0x96c209,_0x1efb55-0x1ba);}return _0x2e1247(0x2c8,_0x1e4b93._0x10369b,_0x1e4b93._0x2675c4,_0x1e4b93._0x5bbe3a)in _0x4cd02b;}function isTavilyEngine(_0x5e1190){const _0x3d83df={_0xbc675c:0x50e,_0x4461a2:0x56c,_0x366c1c:0x4fa},_0xb92809={_0x5b3f38:0x64b,_0x5c6417:0xcc};function _0x2a6cb5(_0x51d34f,_0x1431bb,_0x3e7836,_0x35127a){return _0x38eb01(_0x35127a,_0x51d34f-_0xb92809._0x5b3f38,_0x3e7836-0x1c6,_0x35127a-_0xb92809._0x5c6417);}return _0x2a6cb5(_0x3d83df._0xbc675c,0x45f,_0x3d83df._0x4461a2,_0x3d83df._0x366c1c)in _0x5e1190;}function createWebSearchTool(_0x40d6c1){const _0x30c0a1={_0x3afc37:0x372,_0x3a8ec5:0x335,_0x1b187a:0x279,_0x233712:0x194,_0x41589c:0x118,_0x2163a9:0x250,_0x492e4f:0x231,_0x165ccf:0x485,_0x3899a0:0x4ba,_0x40cd85:0x4bd,_0x4c2562:0x2a8,_0x331ef6:0x65b,_0x39aa60:0x78c,_0x32c518:0x47b,_0x332f1a:0x45c,_0x508e91:0x56d,_0x4763a3:0x48a,_0x288513:0x505,_0x3adefa:0x5b8,_0x4773ca:0x5df,_0x519e17:0x654,_0x6ffda7:0x503,_0x45e865:0x625,_0x53af84:0x32d,_0x37aab1:0x3e7,_0x15f159:0x3c1,_0x26e961:0x45b,_0x2b0ffb:0x5b9,_0x14de2d:0x660,_0x427353:0x6c8},_0x25a53d={_0x48e6b9:0x355,_0x46bcf5:0x257,_0x224433:0x3dc,_0x54df43:0x291,_0xdd88fa:0x461,_0x21b193:0x1f9,_0x14f4b4:0x42b,_0x22f8f9:0x357,_0x10477a:0x378,_0x382264:0x313,_0x76a45b:0x353,_0x3f6589:0xe8,_0x1a740d:0x1d2,_0x40fd27:0x105,_0x5e2830:0x67,_0x4604e1:0x105,_0x583d8a:0xa,_0x57a349:0x1c8,_0x37377c:0x264,_0x4e6806:0x36e,_0x273755:0x29d,_0x14852b:0x1e9,_0x21fa2d:0xf4,_0x2d104d:0x28e,_0x54a218:0x359,_0x38773e:0x1e8,_0x1ed355:0x33f,_0x4b760e:0x241,_0x5375f1:0x1fe,_0x25889a:0x305,_0x399175:0xfb,_0x13fe35:0x49,_0x198d30:0x5a,_0x55ae5f:0x274,_0x1cc461:0x44c,_0x2b24cb:0x325,_0x2bac60:0x19e,_0x21364c:0xc5,_0x1da22e:0x27,_0x301020:0x100,_0x12f642:0xaa,_0x5ecc9e:0x265,_0x1cb16d:0x66,_0x35a27e:0x424,_0xf76278:0x109,_0x5872a4:0x248,_0x43d0f5:0x265,_0xad75c9:0x13a,_0x1d8a4a:0xde,_0xa3a14:0x4e,_0x434029:0x1b9,_0x5c8b5d:0xc7,_0x15810b:0x1c8,_0x228429:0xcc,_0x14b750:0x184,_0xbb2a1c:0x330,_0x302ab3:0x28f,_0x394d4b:0x2ab,_0x1cf2d3:0x1f4,_0x31078d:0x5,_0x2c8a26:0x88,_0x1488b6:0x122,_0x32ea4b:0x1fe,_0x37d80d:0x239,_0x11c7f8:0x19e,_0x39fbef:0x30a,_0x3b4034:0x27e,_0x119c4e:0x399,_0x1dbd76:0x183,_0xb58e0a:0x125,_0x34ef45:0x2d0,_0x33d46d:0x1dd,_0x32628e:0x27f,_0x69e69a:0x1c2,_0xdee8c0:0x2e2},_0x35382c={_0x56ba4b:0x284},_0xafe0d0={_0x38e19b:0x9d},_0x3c1988={_0x4d2830:0x31,_0xdef146:0x2};if(!_0x40d6c1[_0x3560e3(0x390,0x273,_0x30c0a1._0x3afc37,_0x30c0a1._0x3a8ec5)]||_0x40d6c1[_0x1574fe(_0x30c0a1._0x1b187a,_0x30c0a1._0x233712,0xf7,0x1a8)]['length']===0x0)throw new Error(_0x1574fe(0x275,_0x30c0a1._0x41589c,_0x30c0a1._0x2163a9,_0x30c0a1._0x492e4f));function _0x3560e3(_0x50c43d,_0x3eb4db,_0x26d8ff,_0x35350e){return _0x38eb01(_0x3eb4db,_0x26d8ff-0x5f0,_0x26d8ff-_0x3c1988._0x4d2830,_0x35350e-_0x3c1988._0xdef146);}const _0x3bf496=_0x40d6c1[_0x1574fe(0x31b,0xfe,0x1b1,0x1c8)]??'WebSearch',_0x4d7cd6=_0x40d6c1[_0x3560e3(_0x30c0a1._0x165ccf,0x418,_0x30c0a1._0x3899a0,_0x30c0a1._0x40cd85)];function _0x1574fe(_0x1257e0,_0x30d892,_0xa6d367,_0x127f9d){return _0x38eb01(_0xa6d367,_0x127f9d-0x426,_0xa6d367-0xa9,_0x127f9d-_0xafe0d0._0x38e19b);}return defineTool({'name':_0x3bf496,'permissionClass':'read','description':_0x1574fe(0x345,0x43b,0x30a,0x41d),'inputSchema':{'type':_0x1574fe(0x50f,_0x30c0a1._0x4c2562,0x249,0x392),'properties':{'description':{'type':_0x3560e3(_0x30c0a1._0x331ef6,0x4f0,0x654,_0x30c0a1._0x39aa60)},'query':{'type':_0x1574fe(_0x30c0a1._0x32c518,_0x30c0a1._0x332f1a,_0x30c0a1._0x508e91,_0x30c0a1._0x4763a3)},'count':{'type':'number'},'offset':{'type':'number'},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x1574fe(_0x30c0a1._0x288513,0x505,_0x30c0a1._0x288513,0x3b4)},'lang':{'type':_0x3560e3(_0x30c0a1._0x3adefa,_0x30c0a1._0x4773ca,_0x30c0a1._0x519e17,0x697)},'region':{'type':'string'},'safe':{'type':_0x3560e3(0x6f5,_0x30c0a1._0x6ffda7,_0x30c0a1._0x45e865,0x655)},'type':{'type':_0x1574fe(_0x30c0a1._0x53af84,0x5d8,_0x30c0a1._0x37aab1,0x48a)},'hydrateMeta':{'type':_0x1574fe(0x3f3,0x4f6,_0x30c0a1._0x15f159,_0x30c0a1._0x26e961)}},'required':[_0x3560e3(_0x30c0a1._0x2b0ffb,0x629,_0x30c0a1._0x14de2d,_0x30c0a1._0x427353)]},async *'execute'(_0x5dc9dd,_0x566fa0){const _0x89262c={_0x5e6d0c:0x80,_0x210602:0x60,_0x1cd2c4:0xd,_0x256b61:0x22a,_0xd167e4:0x102,_0x1401fb:0xfe},_0x9c8ce4={_0x7bc882:0xc9},_0x3dab9a=_0x5dc9dd[_0x350d5c(_0x25a53d._0x48e6b9,_0x25a53d._0x46bcf5,_0x25a53d._0x224433,_0x25a53d._0x54df43)][_0x350d5c(_0x25a53d._0xdd88fa,0x477,0x37d,_0x25a53d._0x21b193)]();if(!_0x3dab9a)throw new ToolExecutionError(_0x350d5c(_0x25a53d._0x14f4b4,_0x25a53d._0x22f8f9,_0x25a53d._0x10477a,0x3f9));const _0x502ec4={'query':_0x3dab9a,'count':Math[_0x350d5c(_0x25a53d._0x382264,0x220,_0x25a53d._0x76a45b,0x231)](0x1,Math[_0x117323(0xca,0x19c,_0x25a53d._0x3f6589,0x91)](0x32,Math[_0x350d5c(0x101,0x1f0,_0x25a53d._0x1a740d,_0x25a53d._0x40fd27)](_0x5dc9dd[_0x350d5c(0x3d2,0x245,0x2a4,0x353)]??0xa))),'offset':Math['max'](0x0,Math[_0x117323(0x10b,0x1e0,_0x25a53d._0x5e2830,0x17b)](_0x5dc9dd[_0x117323(_0x25a53d._0x4604e1,-0xa,0x1f7,0x100)]??0x0)),'domains':_0x5dc9dd[_0x350d5c(_0x25a53d._0x583d8a,0x179,0x137,0xf6)]??[],'recencyDays':Math['max'](0x0,Math['trunc'](_0x5dc9dd['recencyDays']??0x0)),'lang':_0x5dc9dd[_0x117323(_0x25a53d._0x57a349,0x140,_0x25a53d._0x37377c,0xc3)]??'en','region':_0x5dc9dd[_0x350d5c(_0x25a53d._0x4e6806,_0x25a53d._0x273755,_0x25a53d._0x14852b,_0x25a53d._0x21fa2d)]??'','safe':_0x5dc9dd[_0x117323(0x1cc,0x2bf,0x32e,_0x25a53d._0x2d104d)]??!![],'type':normalizeType(_0x5dc9dd['type']),'hydrateMeta':_0x5dc9dd[_0x350d5c(0x164,_0x25a53d._0x54a218,_0x25a53d._0x38773e,0xcc)]??![]};function _0x117323(_0x476e81,_0x175e00,_0x27d238,_0x3bcd47){return _0x3560e3(_0x476e81-0x173,_0x3bcd47,_0x476e81- -0x34b,_0x3bcd47-_0x9c8ce4._0x7bc882);}let _0x2825fd=[],_0x4d0245=_0x350d5c(_0x25a53d._0x1ed355,_0x25a53d._0x4b760e,_0x25a53d._0x5375f1,_0x25a53d._0x25889a);for(const _0x327cc9 of _0x40d6c1['engines']){try{if(isGoogleCseEngine(_0x327cc9))_0x2825fd=await searchGoogleCse(_0x327cc9,_0x502ec4,_0x566fa0['signal']),_0x4d0245='google-cse';else{if(isOllamaEngine(_0x327cc9)){const _0x23c5f5=await searchOllama(_0x327cc9,_0x502ec4,_0x566fa0['signal']);_0x2825fd=_0x23c5f5['items'],_0x4d0245=_0x23c5f5['engine'];}else{if(isTavilyEngine(_0x327cc9)){const _0x218939=await searchTavily(_0x327cc9,_0x502ec4,_0x566fa0[_0x117323(_0x25a53d._0x399175,-_0x25a53d._0x13fe35,0x218,-_0x25a53d._0x198d30)]);_0x2825fd=_0x218939['items'],_0x4d0245=_0x218939[_0x350d5c(_0x25a53d._0x55ae5f,_0x25a53d._0x1cc461,_0x25a53d._0x2b24cb,0x382)];}}}if(_0x2825fd[_0x117323(_0x25a53d._0x2bac60,0x4f,_0x25a53d._0x21364c,0x1d2)]>0x0)break;}catch(_0x5b6fbb){if(_0x327cc9===_0x40d6c1[_0x117323(_0x25a53d._0x1da22e,-0x118,-_0x25a53d._0x301020,-0x14f)][_0x40d6c1[_0x350d5c(_0x25a53d._0x12f642,0x138,0xee,-0xf)][_0x350d5c(0x21e,0x183,_0x25a53d._0x5ecc9e,_0x25a53d._0x382264)]-0x1])throw _0x5b6fbb;}}_0x502ec4['hydrateMeta']&&_0x2825fd['length']>0x0&&(_0x2825fd=await hydrateResults(_0x2825fd,_0x502ec4['lang'],_0x566fa0[_0x117323(0xfb,0x17,0x86,-_0x25a53d._0x1cb16d)],_0x4d7cd6));const _0x2e2542=new Set();_0x2825fd=_0x2825fd['filter'](_0x27b454=>{const _0x5b1ad2={_0x44216b:0x20,_0xc9532d:0x363,_0x27a8c3:0x10c},_0x490e5f={_0xca52be:0x1f9},_0x5d3e80=_0x27b454[_0xa7517d(-0x16b,-0x1c8,-_0x89262c._0x5e6d0c,-_0x89262c._0x210602)][_0xa7517d(-_0x89262c._0x1cd2c4,-0x253,-_0x89262c._0x256b61,-_0x89262c._0xd167e4)]();if(!_0x5d3e80||_0x2e2542['has'](_0x5d3e80))return![];function _0x358ca9(_0x4fd411,_0x44c4f7,_0x1cadd0,_0x3374dd){return _0x350d5c(_0x4fd411-0x114,_0x44c4f7,_0x4fd411- -_0x490e5f._0xca52be,_0x3374dd-0x10d);}_0x2e2542[_0x358ca9(0x88,0xc7,0x1e4,_0x89262c._0x1401fb)](_0x5d3e80);function _0xa7517d(_0x11baed,_0x50297b,_0x17d4bd,_0x43e4df){return _0x350d5c(_0x11baed-_0x5b1ad2._0x44216b,_0x11baed,_0x43e4df- -_0x5b1ad2._0xc9532d,_0x43e4df-_0x5b1ad2._0x27a8c3);}return!![];}),_0x2825fd=_0x2825fd[_0x350d5c(0x232,0x232,0x319,_0x25a53d._0x35a27e)]((_0xd2ce06,_0xa5dad6)=>({..._0xd2ce06,'source':{..._0xd2ce06[_0x117323(0x222,0x17d,0x175,0x175)],'rank':_0xa5dad6+0x1}}));const _0x3b8ed5={};if(_0x502ec4[_0x350d5c(0x23f,0x42,0x137,_0x25a53d._0xf76278)][_0x350d5c(0x390,_0x25a53d._0x5872a4,_0x25a53d._0x43d0f5,0x1c1)]>0x0)_0x3b8ed5['domains']=_0x502ec4[_0x117323(0x70,_0x25a53d._0xad75c9,-_0x25a53d._0x1d8a4a,0x133)];if(_0x502ec4[_0x117323(_0x25a53d._0xa3a14,_0x25a53d._0x434029,0xbe,-_0x25a53d._0x5c8b5d)]>0x0)_0x3b8ed5[_0x117323(0x4e,0xe8,-0x6a,0x51)]=_0x502ec4['recencyDays'];if(_0x502ec4[_0x117323(_0x25a53d._0x15810b,0x281,0x188,_0x25a53d._0x228429)]!=='en')_0x3b8ed5[_0x350d5c(_0x25a53d._0x14b750,_0x25a53d._0xbb2a1c,_0x25a53d._0x302ab3,_0x25a53d._0x394d4b)]=_0x502ec4[_0x117323(_0x25a53d._0x57a349,0x237,_0x25a53d._0x1cf2d3,0x23c)];if(_0x502ec4[_0x117323(0x122,0x1f,-_0x25a53d._0x31078d,_0x25a53d._0x2c8a26)])_0x3b8ed5[_0x117323(_0x25a53d._0x1488b6,0x22e,-0x59,_0x25a53d._0x32ea4b)]=_0x502ec4[_0x350d5c(0x35f,0x347,0x1e9,_0x25a53d._0x37d80d)];yield createToolOutput(formatResults(_0x2825fd),{'engine':_0x4d0245,'count':_0x2825fd[_0x117323(_0x25a53d._0x11c7f8,0x31f,_0x25a53d._0x2b24cb,_0x25a53d._0x39fbef)],'items':_0x2825fd,'query':_0x502ec4[_0x350d5c(0x352,_0x25a53d._0x3b4034,0x3dc,_0x25a53d._0x119c4e)],...Object[_0x350d5c(0x10,0x28,_0x25a53d._0x1dbd76,0x40)](_0x3b8ed5)[_0x117323(_0x25a53d._0x11c7f8,0x14c,_0x25a53d._0xb58e0a,_0x25a53d._0x34ef45)]>0x0?{'appliedFilters':_0x3b8ed5}:{},'offset':_0x502ec4['offset'],'totalRequested':_0x502ec4[_0x117323(_0x25a53d._0x33d46d,0xa4,_0x25a53d._0x32628e,0xf9)],'hydrated':_0x502ec4[_0x350d5c(0x2fd,_0x25a53d._0x69e69a,0x1e8,_0x25a53d._0xdee8c0)]});function _0x350d5c(_0x1b6640,_0x240570,_0x35bfd2,_0x3cdf60){return _0x3560e3(_0x1b6640-0xeb,_0x240570,_0x35bfd2- -_0x35382c._0x56ba4b,_0x3cdf60-0x1a4);}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,resolveToolPermissionClass,resolveWorkspacePath,search,toNuvinToolSchema,truncateToolOutput,validateToolInput};
|