@nuvin/nuvin-core 1.13.3 → 1.13.4

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/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x113cc8,_0x33b5e6){const _0x32ef5e={_0x3b52f5:0x25b,_0x1c06e8:0x17,_0x339cae:0x2a0,_0x465ea1:0x389,_0x540763:0x7b,_0x5d3d3f:0x134,_0x84429f:0x23a,_0x54773a:0x69c,_0x5a8eba:0x5f1,_0x565705:0x196,_0x19fb6b:0x371,_0x52be92:0x1ac,_0x44c982:0x176,_0x34d86e:0x224,_0x1e2299:0x251,_0x1e4c06:0x76f,_0x376e4b:0x0,_0x40b2cb:0x44};function _0x6f4ccc(_0x555b83,_0x39029,_0x108ff8,_0x4a7a94){return _0x13d4(_0x555b83- -0x380,_0x39029);}const _0x2f80a8=_0x113cc8();function _0x1d4a91(_0x5e5832,_0x528b58,_0x14728f,_0x3b4a28){return _0x13d4(_0x5e5832-0xb7,_0x3b4a28);}while(!![]){try{const _0x5526e7=parseInt(_0x1d4a91(0x32f,0x4ab,0x12d,_0x32ef5e._0x3b52f5))/0x1*(-parseInt(_0x6f4ccc(-0x145,-_0x32ef5e._0x1c06e8,-0xd0,-_0x32ef5e._0x339cae))/0x2)+parseInt(_0x6f4ccc(0x169,0x302,_0x32ef5e._0x465ea1,0x3ae))/0x3*(parseInt(_0x6f4ccc(-_0x32ef5e._0x540763,_0x32ef5e._0x5d3d3f,-0x11c,-0xfc))/0x4)+-parseInt(_0x6f4ccc(-0x28,0x196,0x212,-_0x32ef5e._0x84429f))/0x5*(parseInt(_0x1d4a91(0x522,_0x32ef5e._0x54773a,0x457,_0x32ef5e._0x5a8eba))/0x6)+parseInt(_0x1d4a91(0x1e7,_0x32ef5e._0x565705,_0x32ef5e._0x19fb6b,_0x32ef5e._0x52be92))/0x7+-parseInt(_0x6f4ccc(-0x24f,-0x2f1,-_0x32ef5e._0x44c982,-0x220))/0x8*(parseInt(_0x1d4a91(0x2c0,0x467,0x231,0x106))/0x9)+-parseInt(_0x1d4a91(0x2df,0x31e,_0x32ef5e._0x34d86e,_0x32ef5e._0x1e2299))/0xa*(parseInt(_0x1d4a91(0x5f7,0x7df,0x760,_0x32ef5e._0x1e4c06))/0xb)+parseInt(_0x6f4ccc(0x69,_0x32ef5e._0x376e4b,-0x2b,_0x32ef5e._0x40b2cb))/0xc;if(_0x5526e7===_0x33b5e6)break;else _0x2f80a8['push'](_0x2f80a8['shift']());}catch(_0x129469){_0x2f80a8['push'](_0x2f80a8['shift']());}}}(_0x40b2,0xc58d6));var ErrorReason=(_0x44fb85=>{const _0x102a69={_0x57cf96:0x24c,_0x2d7efc:0xc9,_0x5468ca:0x10d,_0x1b5422:0x3a1,_0x7cf883:0x34d,_0x3bed08:0x3a,_0x9c829c:0x1c6,_0x115cc7:0x349,_0x314084:0x2a6,_0x24cb2f:0x376,_0x4d9303:0x206,_0x7f62f6:0x381,_0x185f0f:0x1ac,_0x5f387c:0x1a3,_0x3dd530:0x72,_0x91004:0x158,_0x2ee7bd:0xab,_0x154381:0x1f,_0x3104ed:0x1ad,_0x30ce21:0x3d,_0x3e933e:0x31,_0x5bf496:0x164,_0x47950c:0x36,_0x32c75a:0x12d,_0x14e4fc:0x47,_0x24c989:0x11f,_0x334e6d:0x263,_0xcff69e:0x157,_0x22fcac:0x184,_0x14cba4:0xcc,_0x423de3:0x97,_0x1c96d6:0x200,_0x168209:0x68,_0xcd190e:0x28f,_0x24c7c5:0x1d8,_0x5b887f:0x54e,_0x2f4200:0x165,_0x614f47:0x1d2,_0x1eab71:0x14c,_0xcbd503:0x71,_0x65f905:0x107};_0x44fb85[_0x22ebfa(-_0x102a69._0x57cf96,_0x102a69._0x2d7efc,-0xb8,-0x58)]=_0x31851f(_0x102a69._0x5468ca,_0x102a69._0x1b5422,0x185,_0x102a69._0x7cf883),_0x44fb85[_0x22ebfa(-0x9c,-_0x102a69._0x3bed08,-0x260,-_0x102a69._0x9c829c)]=_0x22ebfa(-0x4b0,-_0x102a69._0x115cc7,-0x52,-_0x102a69._0x314084);function _0x22ebfa(_0x520135,_0x1df100,_0x5c69c3,_0x19b224){return _0x13d4(_0x19b224- -0x37d,_0x1df100);}_0x44fb85[_0x31851f(_0x102a69._0x24cb2f,_0x102a69._0x4d9303,0x1fa,0x15e)]=_0x22ebfa(-0xc5,-_0x102a69._0x7f62f6,-_0x102a69._0x185f0f,-_0x102a69._0x5f387c),_0x44fb85['Timeout']=_0x22ebfa(_0x102a69._0x3dd530,-0x34d,-0x48,-0x13d),_0x44fb85['NotFound']=_0x22ebfa(-_0x102a69._0x91004,-_0x102a69._0x2ee7bd,-0x182,-0x5d),_0x44fb85[_0x31851f(_0x102a69._0x154381,-0x265,0x4b,-0x125)]=_0x22ebfa(-_0x102a69._0x3104ed,_0x102a69._0x30ce21,-_0x102a69._0x3e933e,-_0x102a69._0x5bf496),_0x44fb85[_0x22ebfa(_0x102a69._0x47950c,-_0x102a69._0x32c75a,-_0x102a69._0x14e4fc,-_0x102a69._0x24c989)]=_0x31851f(0x12f,0x316,0x301,0x249);function _0x31851f(_0x21de5e,_0x3045e5,_0x121e76,_0x3792bc){return _0x13d4(_0x3792bc- -0x1ed,_0x3045e5);}return _0x44fb85[_0x22ebfa(-_0x102a69._0x334e6d,_0x102a69._0xcff69e,-_0x102a69._0x22fcac,-_0x102a69._0x14cba4)]='network_error',_0x44fb85['RateLimit']=_0x22ebfa(_0x102a69._0x423de3,_0x102a69._0x1c96d6,0x29e,_0x102a69._0x168209),_0x44fb85[_0x22ebfa(0x18f,0x378,0x1b6,0x175)]=_0x22ebfa(-0x4dd,-_0x102a69._0xcd190e,-_0x102a69._0x24c7c5,-0x2b9),_0x44fb85[_0x31851f(_0x102a69._0x5b887f,0x25f,0x23f,0x352)]=_0x22ebfa(0xa9,-0x1ed,-0x17b,-0xe1),_0x44fb85[_0x22ebfa(-_0x102a69._0x2f4200,-0xa2,-0x248,-_0x102a69._0x614f47)]=_0x22ebfa(-_0x102a69._0x1eab71,_0x102a69._0xcbd503,0x61,-_0x102a69._0x65f905),_0x44fb85;})(ErrorReason||{}),MessageRoles={'System':_0x577062(-0x1c5,-0x141,-0x82,-0x6f),'User':_0x1f0bf6(0x1f4,-0x15,0x242,0x282),'Assistant':_0x577062(0x10,-0x158,-0x16c,-0x1dc),'Tool':_0x577062(-0x20b,-0x364,-0x1bd,-0x2c8)},AgentEventTypes={'MessageStarted':'message_started','ToolCalls':_0x577062(-0x3aa,-0x348,-0x2b5,-0x255),'ToolApprovalRequired':'tool_approval_required','ToolApprovalResponse':_0x1f0bf6(0x4ab,0x552,0x264,0x35a),'ToolResult':_0x577062(-0x32c,-0x1b3,0x13e,-0x10f),'ReasoningChunk':_0x577062(-0x3f7,-0x98,-0x1e1,-0x29d),'AssistantChunk':_0x1f0bf6(0xfe,0xa7,-0x13e,0x9c),'AssistantMessage':'assistant_message','StreamFinish':'stream_finish','Done':_0x1f0bf6(0x273,0x2f8,0x4b7,0x2a7),'Error':_0x577062(0x336,0x1ea,0x2c4,0x17c),'MCPStderr':'mcp_stderr','SubAgentStarted':_0x577062(0x28b,-0x102,0x12d,0x78),'SubAgentToolCall':_0x577062(0xfd,-0x2ff,-0x271,-0xc5),'SubAgentToolResult':_0x1f0bf6(0x110,0x1be,0x37,0x1d2),'SubAgentCompleted':_0x1f0bf6(0x229,0x380,0x432,0x29c),'SubAgentMetrics':'sub_agent_metrics'},createEmptySnapshot=()=>({'totalTokens':0x0,'totalPromptTokens':0x0,'totalCompletionTokens':0x0,'totalCachedTokens':0x0,'totalReasoningTokens':0x0,'requestCount':0x0,'llmCallCount':0x0,'toolCallCount':0x0,'totalTimeMs':0x0,'totalCost':0x0,'currentTokens':0x0,'currentPromptTokens':0x0,'currentCompletionTokens':0x0,'currentCachedTokens':0x0,'currentCost':0x0}),NoopMetricsPort=class{[_0x1f0bf6(0x4c7,0x3f2,0x4ba,0x62f)](_0x1b7665,_0x5f47d0){}[_0x1f0bf6(0x37a,0x373,0x4f6,0x181)](){}[_0x577062(-0x225,-0x169,-0xbf,-0x99)](_0x18741f){}[_0x577062(-0x39e,-0x454,-0x277,-0x2bd)](_0x4dba05,_0x4f99c6){}[_0x577062(-0x83,-0x185,-0x22b,-0xa3)](){}['getSnapshot'](){return createEmptySnapshot();}},InMemoryMetricsPort=class{[_0x1f0bf6(0x51f,0x379,0x551,0x4dd)]=createEmptySnapshot();[_0x577062(-0x138,0x4,0x29f,0x5e)];constructor(_0x227027){const _0xb76b21={_0x4e532f:0x497,_0x3d3594:0x7be,_0x217529:0x4bb},_0x484fc6={_0x20f891:0x23a,_0x2a6df2:0x105};function _0x678a29(_0x307a6b,_0x138118,_0x513067,_0x4f4a89){return _0x1f0bf6(_0x138118-_0x484fc6._0x20f891,_0x307a6b,_0x513067-0xc9,_0x4f4a89-_0x484fc6._0x2a6df2);}this[_0x678a29(_0xb76b21._0x4e532f,0x647,_0xb76b21._0x3d3594,_0xb76b21._0x217529)]=_0x227027;}[_0x577062(-0xd8,0x246,0x2da,0x127)](){const _0xcebe50={_0x4868b4:0x168,_0x325f61:0x55,_0x14f873:0x7},_0x3064e3={_0x4f79ea:0x2};function _0x25beff(_0x244a63,_0x2d3c38,_0x435203,_0x11f92f){return _0x577062(_0x244a63-0x103,_0x2d3c38,_0x435203-_0x3064e3._0x4f79ea,_0x435203-0x40);}this[_0x25beff(_0xcebe50._0x4868b4,-_0xcebe50._0x325f61,0x9e,_0xcebe50._0x14f873)]?.({...this['snapshot']});}[_0x577062(0x268,0x283,-0x93,0x118)](_0x5a6f68,_0x52e8e1){const _0x380d33={_0x430cb0:0x96,_0x52bbf7:0x187,_0x1f730f:0x402,_0x15469a:0x6ae,_0x3d969f:0x136,_0x597825:0x178,_0x338536:0x312,_0x5c2c35:0x2cb,_0x1486f0:0x159,_0x2e1765:0xe6,_0x5a55f7:0x9a,_0x2f37e1:0x87,_0x475a76:0x15d,_0x1caa3d:0x534,_0x56cbe1:0x307,_0x26ef3f:0x48c,_0x4cdb33:0x490,_0x50b8cf:0x551,_0x1c6660:0x24a,_0x59e2c5:0x2a8,_0x301b98:0x54e,_0x127150:0x56b,_0x5ae087:0xa18,_0x5ea246:0x55a,_0x27a516:0x1c4,_0xf76a09:0x222,_0x4652c3:0x204,_0x242f24:0x144,_0x5de7e6:0x1cd,_0x4f85d0:0x24f,_0x35b676:0x335,_0x26cdc0:0x7b7,_0x5c5c93:0x639,_0x30e965:0x2f4,_0x3129f7:0x307,_0x457b7b:0x23c,_0x429d89:0x5da,_0x236844:0x3d9,_0x35aa7d:0x339,_0x50d42c:0x47a,_0x490644:0x417,_0x55dbc5:0x22b,_0x1aa6b6:0x307,_0x11795f:0x1cc,_0x185dcf:0x748,_0x272a7b:0x7ff,_0x4a5f38:0x67d,_0x210eaf:0x246,_0x385224:0x118,_0x136ce8:0x412,_0x4326ff:0x307,_0x402d72:0x20c,_0x4aa31e:0x7c8,_0x4b9114:0x529,_0x23d96e:0x1d0,_0x4a3d03:0x7c8,_0x4a6d70:0x72c,_0x5913f6:0x60c,_0xfda625:0x6c2,_0x1b6c56:0x615},_0x3b3b99={_0x54b681:0x218,_0x153929:0xf6},_0x3c6bb5=_0x5a6f68[_0x5767fe(-0xee,_0x380d33._0x430cb0,0x15b,_0x380d33._0x52bbf7)]??0x0,_0x1d6e09=_0x5a6f68[_0x5259ca(_0x380d33._0x1f730f,0x5da,0x3f5,0x3bd)]??0x0;function _0x5259ca(_0x478a78,_0x556e96,_0x50f3cf,_0x5b9879){return _0x1f0bf6(_0x478a78-0x2e0,_0x5b9879,_0x50f3cf-0xaf,_0x5b9879-0x139);}const _0xa39d7=_0x5a6f68[_0x5259ca(0x603,0x833,0x769,_0x380d33._0x15469a)]??_0x3c6bb5+_0x1d6e09,_0x212ca5=_0x5a6f68[_0x5767fe(0x2b1,_0x380d33._0x3d969f,_0x380d33._0x597825,-0xac)]?.[_0x5767fe(0x29d,0x2f1,_0x380d33._0x338536,_0x380d33._0x5c2c35)]??0x0,_0x2bdc9b=_0x5a6f68[_0x5767fe(0x88,0x1f6,_0x380d33._0x1486f0,0x394)]??_0x5a6f68[_0x5767fe(-_0x380d33._0x2e1765,_0x380d33._0x5a55f7,0x23,_0x380d33._0x2f37e1)]?.[_0x5767fe(_0x380d33._0x475a76,-0x67,_0x380d33._0x1486f0,0x252)]??0x0,_0x3116ef=_0x52e8e1??_0x5a6f68[_0x5259ca(0x705,0x570,_0x380d33._0x1caa3d,0x5da)]??0x0;this[_0x5767fe(0x4d0,0x1be,_0x380d33._0x56cbe1,_0x380d33._0x26ef3f)][_0x5259ca(0x47a,_0x380d33._0x4cdb33,_0x380d33._0x50b8cf,0x266)]+=_0xa39d7;function _0x5767fe(_0x2abece,_0x1397ce,_0x176a89,_0xe80e0){return _0x1f0bf6(_0x176a89- -_0x3b3b99._0x54b681,_0x1397ce,_0x176a89-0xb5,_0xe80e0-_0x3b3b99._0x153929);}this[_0x5767fe(_0x380d33._0x1c6660,0x1d6,_0x380d33._0x56cbe1,_0x380d33._0x59e2c5)][_0x5259ca(_0x380d33._0x301b98,0x47c,0x381,_0x380d33._0x127150)]+=_0x3c6bb5,this[_0x5259ca(0x7ff,_0x380d33._0x5ae087,0x8ce,0x79d)]['totalCompletionTokens']+=_0x1d6e09,this[_0x5767fe(0xf3,0xda,0x307,_0x380d33._0x5ea246)]['totalCachedTokens']+=_0x212ca5,this[_0x5767fe(_0x380d33._0x27a516,0x43a,0x307,0x206)][_0x5767fe(-_0x380d33._0xf76a09,-_0x380d33._0x4652c3,-_0x380d33._0x242f24,-0x18e)]+=_0x2bdc9b,this[_0x5767fe(_0x380d33._0x475a76,_0x380d33._0x5de7e6,0x307,_0x380d33._0x4f85d0)][_0x5767fe(_0x380d33._0x35b676,0x540,0x306,0x439)]+=_0x3116ef,this[_0x5259ca(0x7ff,_0x380d33._0x26cdc0,0x7fd,_0x380d33._0x5c5c93)]['llmCallCount']+=0x1,this['snapshot']['currentTokens']=_0xa39d7,this[_0x5767fe(0x157,_0x380d33._0x30e965,_0x380d33._0x3129f7,0x102)][_0x5259ca(0x3ad,_0x380d33._0x457b7b,_0x380d33._0x429d89,0x2c4)]=_0x3c6bb5,this[_0x5767fe(0x408,0x550,0x307,0x136)][_0x5259ca(_0x380d33._0x236844,_0x380d33._0x35aa7d,_0x380d33._0x50d42c,0x310)]=_0x1d6e09,this[_0x5767fe(_0x380d33._0x490644,_0x380d33._0x55dbc5,_0x380d33._0x1aa6b6,_0x380d33._0x11795f)][_0x5259ca(_0x380d33._0x185dcf,0x6af,0x982,_0x380d33._0x5c5c93)]=_0x212ca5,this[_0x5259ca(_0x380d33._0x272a7b,0x69d,0x9ed,_0x380d33._0x4a5f38)][_0x5767fe(0x1a4,0x3a8,_0x380d33._0x210eaf,0x14c)]=_0x3116ef,this[_0x5767fe(_0x380d33._0x385224,_0x380d33._0x136ce8,_0x380d33._0x4326ff,_0x380d33._0x402d72)][_0x5259ca(_0x380d33._0x4aa31e,0xa18,0x6b4,0x736)]&&_0x3c6bb5>0x0&&(this[_0x5767fe(0x1fe,_0x380d33._0x4b9114,0x307,0x123)]['contextWindowUsage']=_0x3c6bb5/this[_0x5767fe(_0x380d33._0x23d96e,0x18f,0x307,0xb7)][_0x5259ca(_0x380d33._0x4a3d03,0x5f5,0x9f6,_0x380d33._0x4a6d70)]),this[_0x5259ca(0x7b6,_0x380d33._0x5913f6,_0x380d33._0xfda625,_0x380d33._0x1b6c56)]();}[_0x577062(-0x84,0xdd,-0x192,-0x35)](){const _0x4c07a6={_0x32aff9:0x5fe,_0x4307c2:0x4ef,_0x7d1afd:0x131,_0x2dc069:0x2bd,_0x29352a:0x218},_0x27fdda={_0x3b1870:0x51,_0x2e3ef3:0x1a0,_0x5a8013:0x70d},_0x18fc68={_0x268910:0x167,_0x7f1a18:0xf1};function _0x48dcee(_0x4a8514,_0x141aac,_0x38f4f5,_0x1955c7){return _0x577062(_0x4a8514-_0x18fc68._0x268910,_0x141aac,_0x38f4f5-0x119,_0x1955c7-_0x18fc68._0x7f1a18);}function _0x1aad33(_0x12ddf0,_0x50780e,_0x245278,_0x17dc4b){return _0x577062(_0x12ddf0-_0x27fdda._0x3b1870,_0x12ddf0,_0x245278-_0x27fdda._0x2e3ef3,_0x245278-_0x27fdda._0x5a8013);}this['snapshot'][_0x1aad33(_0x4c07a6._0x32aff9,0x665,_0x4c07a6._0x4307c2,0x44e)]+=0x1,this[_0x48dcee(_0x4c07a6._0x7d1afd,_0x4c07a6._0x2dc069,-0x30,_0x4c07a6._0x29352a)]();}[_0x577062(0x163,-0x66,0x47,-0x99)](_0x15423b){const _0x502bf8={_0x3d7196:0x6cf,_0x3e0c4e:0x491,_0x531b13:0x5ed,_0x33e65d:0x26e,_0x47c67c:0xfd,_0x1cb959:0x81d,_0x560cf5:0x5ed,_0x1635c0:0x552,_0x36402f:0x60d,_0x48ed68:0x74b},_0x207877={_0x27222e:0xce,_0x52e4ae:0x30},_0xbeddb0={_0x48aed8:0x137,_0x52e61f:0x1ae};this[_0xefe13d(_0x502bf8._0x3d7196,_0x502bf8._0x3e0c4e,0x422,_0x502bf8._0x531b13)][_0xefe13d(_0x502bf8._0x33e65d,_0x502bf8._0x47c67c,0x36e,0x2d9)]+=0x1;function _0x3c7241(_0x4f1788,_0x7e4aae,_0x106c56,_0x5b8f78){return _0x1f0bf6(_0x7e4aae-_0xbeddb0._0x48aed8,_0x4f1788,_0x106c56-0x10e,_0x5b8f78-_0xbeddb0._0x52e61f);}this[_0xefe13d(0x3a4,_0x502bf8._0x1cb959,0x3f2,_0x502bf8._0x560cf5)][_0xefe13d(0x23b,-0x34,0x39,0x1d5)]+=_0x15423b;function _0xefe13d(_0x2d82c5,_0x586d01,_0x45297c,_0x31ccd8){return _0x1f0bf6(_0x31ccd8-_0x207877._0x27222e,_0x45297c,_0x45297c-0x84,_0x31ccd8-_0x207877._0x52e4ae);}this[_0x3c7241(_0x502bf8._0x1635c0,_0x502bf8._0x36402f,_0x502bf8._0x48ed68,0x5b0)]();}['setContextWindow'](_0x16a887,_0x2e8d4b){const _0x5e82c2={_0x4f1353:0x2b1,_0x5776f0:0x1eb,_0x18201b:0x36e,_0x461de1:0x55f},_0x679a96={_0x292b8a:0xa0},_0x3c14ca={_0x6e1646:0xb9,_0xbcdaf2:0x7b};this[_0x17b918(0x1eb,_0x5e82c2._0x4f1353,0x390,_0x5e82c2._0x5776f0)]['contextWindowLimit']=_0x16a887,this['snapshot'][_0x2ea77f(0x56d,_0x5e82c2._0x18201b,0x1d0,_0x5e82c2._0x461de1)]=_0x2e8d4b;function _0x17b918(_0x137144,_0x2b3fbd,_0x181cb9,_0x400be8){return _0x577062(_0x137144-_0x3c14ca._0x6e1646,_0x400be8,_0x181cb9-0x8d,_0x137144-_0x3c14ca._0xbcdaf2);}function _0x2ea77f(_0x143d86,_0x4fc263,_0x4f05de,_0x19933c){return _0x577062(_0x143d86-_0x679a96._0x292b8a,_0x19933c,_0x4f05de-0x13,_0x4fc263-0x1b0);}this['emit']();}['reset'](){const _0x32b051={_0x3c0c7c:0x3ce},_0x572975={_0x145b3b:0x10e,_0x29ccf6:0x8d};function _0x5d56e3(_0x24fc78,_0x11091a,_0x340c2f,_0x368ecc){return _0x1f0bf6(_0x24fc78- -0x108,_0x340c2f,_0x340c2f-_0x572975._0x145b3b,_0x368ecc-_0x572975._0x29ccf6);}this['snapshot']=createEmptySnapshot(),this[_0x5d56e3(_0x32b051._0x3c0c7c,0x2ee,0x38d,0x4f2)]();}[_0x577062(-0xb6,-0x133,-0x153,0xad)](){const _0x470054={_0x6cd72f:0x712,_0x4f81f4:0x5e3},_0xa84fde={_0x555e99:0x1c7};function _0x5c0cc7(_0x22bdce,_0x38dcd1,_0x16989e,_0x256404){return _0x577062(_0x22bdce-0x169,_0x16989e,_0x16989e-_0xa84fde._0x555e99,_0x22bdce-0x4bb);}return{...this[_0x5c0cc7(0x62b,_0x470054._0x6cd72f,0x44d,_0x470054._0x4f81f4)]};}[_0x1f0bf6(0x45d,0x3ef,0x318,0x2d6)](_0x89f6d2){const _0x3ddad8={_0x185d6c:0x6f7,_0x391a23:0x6e0},_0x3d5d56={_0x504c1d:0x9a,_0x8d5ff5:0x1ef};function _0x1d9e89(_0x1426b2,_0x29e4a0,_0xe9cfc3,_0x2ff946){return _0x1f0bf6(_0x1426b2-0x2ea,_0x2ff946,_0xe9cfc3-_0x3d5d56._0x504c1d,_0x2ff946-_0x3d5d56._0x8d5ff5);}this[_0x1d9e89(_0x3ddad8._0x185d6c,_0x3ddad8._0x391a23,0x70c,0x812)]=_0x89f6d2;}},SystemClock=class{[_0x577062(-0xee,-0x1f6,0x11f,-0x30)](){const _0x207b9f={_0xef3ffa:0x1d0,_0x55707b:0x558,_0x5ee872:0x4d3},_0x1bb64e={_0x2dcde1:0x148};function _0xd3e881(_0x251531,_0xf28bce,_0x3833d1,_0x551c19){return _0x1f0bf6(_0x251531- -0x59,_0x551c19,_0x3833d1-0x110,_0x551c19-_0x1bb64e._0x2dcde1);}return Date[_0xd3e881(0x326,_0x207b9f._0xef3ffa,_0x207b9f._0x55707b,_0x207b9f._0x5ee872)]();}[_0x1f0bf6(0x2b8,0x2b2,0x2fb,0x2e0)](_0x1e284b){const _0x5f4ab6={_0x1c9554:0x1,_0x45645b:0x9},_0xa7d7fd={_0x24d4dc:0x2bc,_0x8b7e57:0xd,_0x5d2f05:0x1c5};function _0x3ad225(_0x26f869,_0x2ca563,_0x15b0a3,_0x4da4db){return _0x1f0bf6(_0x2ca563- -_0xa7d7fd._0x24d4dc,_0x26f869,_0x15b0a3-_0xa7d7fd._0x8b7e57,_0x4da4db-_0xa7d7fd._0x5d2f05);}return new Date(_0x1e284b??Date[_0x3ad225(0x256,0xc3,-_0x5f4ab6._0x1c9554,-_0x5f4ab6._0x45645b)]())['toISOString']();}},SimpleId=class{[_0x1f0bf6(0x2d1,0x45b,0x41a,0xc4)](){const _0x257fa5={_0x3ad795:0xba,_0x3687d3:0x25a},_0x4baebd={_0x193d1c:0x189,_0xebf2c0:0x3d3,_0x57f858:0x42b,_0x31d2b8:0x215,_0x48412a:0x3f8,_0x34680b:0x153,_0x2045d1:0x31e},_0x811076={_0x318495:0x94,_0x64725e:0x17f},_0x3ec5d1={_0x4af29b:0x1e8},_0x45fcca={_0x4cdeb8:0x14b};function _0x1f22d9(_0x419e64,_0x2db0be,_0x529cac,_0xb0db37){return _0x577062(_0x419e64-0x32,_0x419e64,_0x529cac-0x13c,_0xb0db37-_0x45fcca._0x4cdeb8);}function _0x56b860(_0x1c6bfc,_0x3d8b5b,_0x242d8a,_0x10122c){return _0x577062(_0x1c6bfc-0x21,_0x3d8b5b,_0x242d8a-0x1ed,_0x1c6bfc-_0x3ec5d1._0x4af29b);}return _0x56b860(-0x85,-_0x257fa5._0x3ad795,0x1c3,-0x1db)[_0x56b860(0x258,0x452,0x386,_0x257fa5._0x3687d3)](/[xy]/g,_0xff2f29=>{const _0x591c29={_0x3fb8d0:0x78,_0x102a96:0x100,_0x21a76d:0x84},_0x2c4b2a=Math[_0x4aec42(_0x4baebd._0x193d1c,_0x4baebd._0xebf2c0,_0x4baebd._0x57f858,_0x4baebd._0x31d2b8)]()*0x10|0x0,_0x104108=_0xff2f29==='x'?_0x2c4b2a:_0x2c4b2a&0x3|0x8;function _0x4aec42(_0x2f644a,_0x6ba0db,_0x23fe57,_0x4afeb5){return _0x56b860(_0x4afeb5-_0x811076._0x318495,_0x23fe57,_0x23fe57-0x6f,_0x4afeb5-_0x811076._0x64725e);}function _0xfcb51a(_0x5c47c9,_0x4a81cf,_0xcb2ba1,_0x59784f){return _0x1f22d9(_0xcb2ba1,_0x4a81cf-_0x591c29._0x3fb8d0,_0xcb2ba1-_0x591c29._0x102a96,_0x5c47c9-_0x591c29._0x21a76d);}return _0x104108[_0x4aec42(_0x4baebd._0x48412a,_0x4baebd._0x34680b,0x269,_0x4baebd._0x2045d1)](0x10);});}},SimpleCost=class{['estimate'](_0xfe68df,_0x4a32d9){const _0x37ca0f={_0x4a311a:0x21b,_0x174c0d:0x452},_0x1e0801={_0x4b7189:0x198,_0x15569c:0x334};function _0x1da90(_0x3bd6db,_0x649cab,_0x1b15a1,_0x612052){return _0x577062(_0x3bd6db-_0x1e0801._0x4b7189,_0x1b15a1,_0x1b15a1-0x55,_0x612052-_0x1e0801._0x15569c);}return _0x4a32d9?.[_0x1da90(0x574,_0x37ca0f._0x4a311a,_0x37ca0f._0x174c0d,0x3aa)];}},NoopReminders=class{[_0x577062(0x10d,-0x233,-0x1b7,-0x25)](_0x1289dc,_0x51a3f5){return[_0x1289dc];}},toProviderContent=_0x2074e6=>{const _0x5c4d66={_0x3267d1:0x21d,_0x170dba:0x40a,_0x3f1e89:0xf4,_0x3e05d4:0x164,_0x430a8a:0xa0,_0x4d2f8a:0x4e,_0x175155:0x106,_0xed7d47:0x27,_0x34290c:0x219,_0x5a9338:0x135,_0x1a9f85:0x6,_0x3cc495:0x3da,_0x244ba1:0x212,_0x5da566:0x223,_0x45c11b:0xfb,_0x4f9491:0xa7,_0x437196:0x9e,_0x2af807:0x260,_0x51a092:0x318,_0x282a43:0x3f5,_0x36f9fd:0x13a,_0x1f52ef:0x13b,_0x2f2ae5:0xe1,_0x303b39:0x12c,_0x9e47a8:0x12,_0x17443c:0x469,_0x31de72:0xa0,_0x426448:0x2a3,_0x40244b:0x10b,_0x1ab6b8:0x146,_0x427890:0x255,_0x14bae3:0x5b7,_0x40a1e5:0x303,_0x1b7eab:0x36c,_0x41abba:0x3ae},_0x1d4db6={_0x5eeefb:0x1be},_0x714436={_0x3a270a:0x14d,_0x46c7a1:0x12b};if(_0x2074e6===null||_0x2074e6===void 0x0)return'';if(typeof _0x2074e6===_0x2e997f(_0x5c4d66._0x3267d1,_0x5c4d66._0x170dba,0x28e,_0x5c4d66._0x3f1e89))return _0x2074e6;if(_0x2074e6[_0x2e997f(0x2b2,0x373,0xa4,0x83)]===_0x2e997f(-_0x5c4d66._0x3e05d4,-0xe3,_0x5c4d66._0x430a8a,-0x3a3)){const _0x493231=[];for(const _0x5b2319 of _0x2074e6['parts']){if(_0x5b2319['type']===_0x2e997f(0x106,-0x46,-_0x5c4d66._0x4d2f8a,-0x6b)){_0x5b2319[_0x2e997f(_0x5c4d66._0x175155,-_0x5c4d66._0xed7d47,-0x3b,0x1c0)]['length']>0x0&&_0x493231[_0x2e997f(-0x12f,-_0x5c4d66._0x34290c,-_0x5c4d66._0x5a9338,-_0x5c4d66._0x1a9f85)]({'type':_0x269b44(_0x5c4d66._0x3cc495,_0x5c4d66._0x244ba1,0x552,0x34e),'text':_0x5b2319[_0x2e997f(_0x5c4d66._0x175155,_0x5c4d66._0x5da566,-_0x5c4d66._0x45c11b,-_0x5c4d66._0x4f9491)]});continue;}const _0x2cca53=_0x5b2319[_0x2e997f(-0x9f,0xb2,_0x5c4d66._0x437196,-0xb2)]??(_0x5b2319[_0x2e997f(_0x5c4d66._0x2af807,_0x5c4d66._0x51a092,0x7e,_0x5c4d66._0x282a43)]?_0x2e997f(-0x105,-0xc,_0x5c4d66._0x36f9fd,_0x5c4d66._0x1f52ef)+_0x5b2319[_0x269b44(0x574,0x4a4,0x636,0x4a8)]:void 0x0);_0x2cca53&&_0x493231[_0x269b44(-_0x5c4d66._0x2f2ae5,-0x7c,-0x6b,0x119)]({'type':_0x2e997f(0x106,_0x5c4d66._0x303b39,-0x89,0x3c),'text':_0x2cca53});const _0x55fdb3=_0x2e997f(0x236,-0x6,-_0x5c4d66._0x9e47a8,_0x5c4d66._0x17443c)+_0x5b2319[_0x269b44(-_0x5c4d66._0x31de72,_0x5c4d66._0x426448,_0x5c4d66._0x40244b,0x180)]+';base64,'+_0x5b2319['data'];_0x493231['push']({'type':_0x269b44(0xc2,0x3cc,_0x5c4d66._0x1ab6b8,_0x5c4d66._0x427890),'image_url':{'url':_0x55fdb3}});}return _0x493231[_0x269b44(_0x5c4d66._0x14bae3,_0x5c4d66._0x40a1e5,_0x5c4d66._0x1b7eab,_0x5c4d66._0x41abba)]>0x0?_0x493231:[];}function _0x269b44(_0x5a2050,_0x47d3ac,_0x558b02,_0x2b6492){return _0x1f0bf6(_0x2b6492- -0x4,_0x47d3ac,_0x558b02-_0x714436._0x3a270a,_0x2b6492-_0x714436._0x46c7a1);}function _0x2e997f(_0x3f3500,_0x28ecc6,_0x29bde4,_0x4974cc){return _0x1f0bf6(_0x3f3500- -0x24c,_0x4974cc,_0x29bde4-_0x1d4db6._0x5eeefb,_0x4974cc-0x172);}return[];},SimpleContextBuilder=class{[_0x577062(0x145,0x24e,0x2b4,0x95)](_0xfc835f,_0x14759e,_0x295c61){const _0x5a9de0={_0x4163d7:0x394,_0x55fd51:0x301,_0x20ab3c:0x534,_0x1cf501:0x350,_0x184ce6:0x475,_0xb3d0d7:0x3d4,_0x15a538:0x45b,_0x109385:0xed,_0xd9e38f:0x3dc,_0x200b0d:0x436,_0x61071a:0x1e4,_0x6d6c4f:0x1e4,_0x17185d:0x125,_0x395b75:0x2c3,_0x20fac1:0x45d,_0x365320:0x16f,_0x1686a7:0x22b,_0x3dcd50:0x25d,_0xbfcc5d:0x3db,_0x399855:0x98,_0x163bc2:0x1a7,_0x5e72d5:0x177,_0x3ece73:0x301,_0x3e85d8:0x21d,_0x527a5f:0x27c,_0x4d181d:0x377,_0x335cb4:0x6e2,_0x22d93a:0x5b3,_0x167ed8:0x1bb,_0x5ef585:0x4f3,_0x272a49:0x626,_0x5eb36a:0x5d9,_0x36ffe3:0x409,_0x3f011c:0x46e,_0x1d8da1:0x43e,_0x1e04ef:0x322},_0x23cc41={_0xcd1d94:0x14d},_0x28633c=[];function _0xa90148(_0x387045,_0x3164a8,_0x2a4c87,_0x1f5c5b){return _0x1f0bf6(_0x3164a8-0x15c,_0x387045,_0x2a4c87-0xf7,_0x1f5c5b-0xde);}for(const _0xd4adff of _0xfc835f){const _0x3a7660=toProviderContent(_0xd4adff['content']);if(_0xd4adff[_0x7c3539(_0x5a9de0._0x4163d7,0x4ca,0x27c,_0x5a9de0._0x55fd51)]==='user')_0x28633c['push']({'role':_0xa90148(_0x5a9de0._0x20ab3c,_0x5a9de0._0x1cf501,0x22c,0x1f0),'content':_0x3a7660??''});else{if(_0xd4adff[_0x7c3539(_0x5a9de0._0x184ce6,_0x5a9de0._0xb3d0d7,0x27c,_0x5a9de0._0x15a538)]===_0xa90148(0x1c6,0x32f,_0x5a9de0._0x109385,0x292))_0xd4adff[_0x7c3539(_0x5a9de0._0xd9e38f,_0x5a9de0._0x200b0d,_0x5a9de0._0x61071a,0x26)]&&_0xd4adff[_0x7c3539(0x2a4,0x2f0,_0x5a9de0._0x6d6c4f,_0x5a9de0._0x17185d)][_0x7c3539(0x664,_0x5a9de0._0x395b75,0x43c,0x554)]>0x0?_0x28633c[_0xa90148(_0x5a9de0._0x20fac1,0x279,_0x5a9de0._0x365320,0x20e)]({..._0xd4adff,'role':_0x7c3539(0x157,_0x5a9de0._0x1686a7,_0x5a9de0._0x3dcd50,0x191),'content':_0x3a7660??null,'tool_calls':_0xd4adff['tool_calls']}):_0x28633c[_0x7c3539(_0x5a9de0._0xbfcc5d,-_0x5a9de0._0x399855,_0x5a9de0._0x163bc2,0x240)]({..._0xd4adff,'role':_0xa90148(_0x5a9de0._0x5e72d5,0x32f,_0x5a9de0._0x3ece73,0x41e),'content':_0x3a7660??''});else _0xd4adff[_0x7c3539(0x26f,_0x5a9de0._0x3e85d8,_0x5a9de0._0x527a5f,_0x5a9de0._0x4d181d)]==='tool'&&(_0xd4adff[_0x7c3539(_0x5a9de0._0x335cb4,0x36a,_0x5a9de0._0x22d93a,0x703)]&&_0x28633c[_0x7c3539(_0x5a9de0._0x167ed8,_0x5a9de0._0x17185d,0x1a7,0x1d2)]({'role':'tool','content':typeof _0x3a7660===_0x7c3539(0x324,0x4d3,_0x5a9de0._0x5ef585,0x68e)?_0x3a7660:_0x3a7660??'','tool_call_id':_0xd4adff[_0x7c3539(_0x5a9de0._0x272a49,_0x5a9de0._0x5eb36a,0x5b3,0x7d3)],'name':_0xd4adff[_0xa90148(_0x5a9de0._0x36ffe3,0x608,_0x5a9de0._0x3f011c,0x501)]}));}}function _0x7c3539(_0x134e35,_0x2acb18,_0xa71449,_0x154294){return _0x1f0bf6(_0xa71449-0x8a,_0x2acb18,_0xa71449-_0x23cc41._0xcd1d94,_0x154294-0x38);}const _0x11a174=_0x295c61[_0x7c3539(0x3f9,0x3dd,_0x5a9de0._0x1d8da1,_0x5a9de0._0x1e04ef)](_0x2e4cda=>({'role':_0xa90148(0x598,0x350,0x302,0x3ce),'content':toProviderContent(_0x2e4cda)??''}));return[{'role':'system','content':_0x14759e},..._0x28633c,..._0x11a174];}},InMemoryMemory=class{[_0x577062(-0x2e0,-0x2b1,-0x21d,-0x15e)]=new Map();async['get'](_0x311207){return this['store']['get'](_0x311207)??[];}async[_0x1f0bf6(0x1f5,0x20b,0xd8,0x3f3)](_0x2f1d4a,_0x1a50c3){const _0xa2aa2c={_0x3a3278:0x2fa,_0x20c0bf:0x464},_0x18d5c6={_0x11940f:0x26f,_0x52249:0xbd,_0x3a010f:0x69};function _0x4aa5c0(_0x59d7c9,_0x4784ad,_0x5ec13d,_0x36b5ba){return _0x1f0bf6(_0x36b5ba-_0x18d5c6._0x11940f,_0x59d7c9,_0x5ec13d-_0x18d5c6._0x52249,_0x36b5ba-_0x18d5c6._0x3a010f);}this['store'][_0x4aa5c0(_0xa2aa2c._0x3a3278,0x4db,0x4d5,_0xa2aa2c._0x20c0bf)](_0x2f1d4a,[..._0x1a50c3]);}async['append'](_0x308617,_0x2e963f){const _0x72e50a={_0x275d66:0x374,_0x24c1b1:0x207,_0x405907:0x1ff,_0x221e9f:0x440,_0x1cb94f:0xe4,_0x3e3974:0x5f},_0x57da2b={_0x1b1521:0x1d4,_0x7a1330:0x174,_0xf43ec8:0x1},_0x3fd2a4={_0x3c6bea:0x6},_0x1662d3=this[_0xd1234(-_0x72e50a._0x275d66,-0x396,-0x359,-0x15f)][_0xd1234(-0x2cc,-0x117,-0x198,-_0x72e50a._0x24c1b1)](_0x308617)??[];function _0x3f9716(_0x526f58,_0x22d06b,_0x57c3ba,_0x34ca1b){return _0x577062(_0x526f58-_0x3fd2a4._0x3c6bea,_0x57c3ba,_0x57c3ba-0x158,_0x526f58- -0x45);}function _0xd1234(_0x31aefb,_0x3c190d,_0xd0278b,_0x1659a2){return _0x577062(_0x31aefb-_0x57da2b._0x1b1521,_0x31aefb,_0xd0278b-_0x57da2b._0x7a1330,_0x1659a2- -_0x57da2b._0xf43ec8);}this[_0x3f9716(-0x1a3,0x9d,0x40,-0x147)][_0x3f9716(-_0x72e50a._0x405907,-_0x72e50a._0x221e9f,-_0x72e50a._0x1cb94f,-_0x72e50a._0x3e3974)](_0x308617,[..._0x1662d3,..._0x2e963f]);}async[_0x577062(0xee,-0x72,0x19e,0x18d)](_0x480e6b){const _0x54dd15={_0x56cb49:0x18a,_0x25ae14:0x183},_0x72a971={_0x3463a5:0xdd,_0x590e55:0x3};function _0x20bcfd(_0xbc596d,_0x1e454d,_0x1cbabf,_0x7b28a2){return _0x577062(_0xbc596d-0xd5,_0x7b28a2,_0x1cbabf-_0x72a971._0x3463a5,_0xbc596d- -_0x72a971._0x590e55);}this['store'][_0x20bcfd(_0x54dd15._0x56cb49,_0x54dd15._0x25ae14,0x212,0x98)](_0x480e6b);}async[_0x1f0bf6(0x335,0x50d,0x322,0x4da)](){const _0x1085d5={_0x1935d1:0x741,_0x1b6785:0x5b2},_0x1d1cd8={_0x3960a9:0x86,_0x342dc5:0x14f,_0x14485c:0x62c};function _0x172ddc(_0x47b742,_0xe74aa,_0x45c458,_0x2e56ca){return _0x577062(_0x47b742-_0x1d1cd8._0x3960a9,_0x45c458,_0x45c458-_0x1d1cd8._0x342dc5,_0x2e56ca-_0x1d1cd8._0x14485c);}return Array['from'](this['store'][_0x172ddc(0x3ae,_0x1085d5._0x1935d1,0x63c,_0x1085d5._0x1b6785)]());}async[_0x1f0bf6(0x198,0x222,0x30c,0x2a8)](){const _0x468e72={_0x129f10:0xe0,_0x33121a:0x164,_0x5bccc2:0x1c7,_0x394e71:0x21},_0x45aace={_0x4f6312:0x1cd,_0x25fb18:0x6f},_0x8e22cb={_0x37e879:0x1a6,_0x878d0b:0x1f6};function _0x1498e9(_0x407105,_0x52e426,_0x3c1c17,_0x309d74){return _0x577062(_0x407105-_0x8e22cb._0x37e879,_0x52e426,_0x3c1c17-0x8,_0x3c1c17-_0x8e22cb._0x878d0b);}function _0x1fa210(_0x18f474,_0x391019,_0x318c6b,_0x163205){return _0x577062(_0x18f474-_0x45aace._0x4f6312,_0x391019,_0x318c6b-0x91,_0x163205-_0x45aace._0x25fb18);}this[_0x1498e9(-_0x468e72._0x129f10,0x1f9,0x98,0x270)][_0x1498e9(_0x468e72._0x33121a,_0x468e72._0x5bccc2,-_0x468e72._0x394e71,-0x68)]();}async[_0x577062(0x368,0x27c,0x12a,0x187)](){const _0x33eb93={_0x5e937a:0x5f0,_0x156bbe:0x53d,_0x80751a:0x684},_0x512fb0={_0x2e239c:0x1d5,_0xa982ba:0xbd},_0x434559={_0x4509be:0x108},_0x276f47={};function _0x434806(_0x5e1a1e,_0x57399f,_0x566e4b,_0x57cc89){return _0x1f0bf6(_0x566e4b-0x3c5,_0x5e1a1e,_0x566e4b-0x20,_0x57cc89-_0x434559._0x4509be);}function _0x200867(_0x43d800,_0x2e65c2,_0x16f17d,_0x18583d){return _0x1f0bf6(_0x43d800- -0x14c,_0x18583d,_0x16f17d-_0x512fb0._0x2e239c,_0x18583d-_0x512fb0._0xa982ba);}for(const [_0x5b719a,_0xf16e2a]of this[_0x434806(0x693,0x537,0x616,_0x33eb93._0x5e937a)][_0x434806(0x4fc,_0x33eb93._0x156bbe,_0x33eb93._0x80751a,0x480)]())_0x276f47[_0x5b719a]=[..._0xf16e2a];return _0x276f47;}async[_0x1f0bf6(0x270,0x15a,0x126,0x25b)](_0x118f1c){const _0x1c0271={_0xa3bbe6:0x457,_0x33ba31:0x4cb,_0x3e0dbd:0x2ca,_0x3cc88f:0x36b,_0x4839c2:0xc9,_0x4f7793:0x332},_0xa5c8d={_0x33b553:0xa5,_0x543d43:0x9f,_0x47e236:0x428},_0x70110a={_0x509d45:0x2a,_0x41915d:0x1bd,_0xe8a00d:0x34};this[_0x825e31(0x2de,_0x1c0271._0xa3bbe6,_0x1c0271._0x33ba31,_0x1c0271._0x3e0dbd)][_0x5e22a1(_0x1c0271._0x3cc88f,0x128,0x2a0,0x16e)]();function _0x5e22a1(_0x3c396b,_0x3c37fb,_0x22ab2c,_0x58758a){return _0x1f0bf6(_0x58758a- -_0x70110a._0x509d45,_0x3c37fb,_0x22ab2c-_0x70110a._0x41915d,_0x58758a-_0x70110a._0xe8a00d);}function _0x825e31(_0x3d1555,_0x52b6cc,_0x5ee2a7,_0xf98b9){return _0x577062(_0x3d1555-_0xa5c8d._0x33b553,_0x5ee2a7,_0x5ee2a7-_0xa5c8d._0x543d43,_0xf98b9-_0xa5c8d._0x47e236);}for(const [_0x1ba51d,_0x14e445]of Object['entries'](_0x118f1c))this[_0x825e31(_0x1c0271._0x4839c2,0x152,0x473,0x2ca)][_0x825e31(_0x1c0271._0x4f7793,0x89,0x1d3,0x26e)](_0x1ba51d,[..._0x14e445]);}},JsonFileMemoryPersistence=class{constructor(_0xe9301b=_0x577062(-0x329,-0x1a4,-0x3ff,-0x298)){const _0x1b49f1={_0x1843d5:0x36a,_0x378fc2:0x491},_0x117263={_0x4c37a4:0x40};function _0x25f9bd(_0x50c23c,_0x36a0ef,_0x14470b,_0x5b9582){return _0x1f0bf6(_0x36a0ef- -0xd7,_0x5b9582,_0x14470b-_0x117263._0x4c37a4,_0x5b9582-0x17d);}this[_0x25f9bd(0x5a8,_0x1b49f1._0x1843d5,_0x1b49f1._0x378fc2,0x4f6)]=_0xe9301b;}async[_0x1f0bf6(0x47d,0x3c2,0x597,0x6af)](){const _0x437db0={_0x3c90c8:0x73a,_0x19a91b:0x5c1,_0x3154fd:0x79a,_0x101fb9:0x637,_0x287f01:0x765,_0x19bf9a:0x833,_0x258d14:0x6c7,_0x4eae10:0x466,_0x52618a:0x865,_0x3e7025:0x925,_0xc7749e:0x5ee,_0x488e22:0x416},_0x5a5231={_0x4c87f1:0x359,_0x58af14:0x171,_0x293efd:0x14b},_0x35b7ef={_0x1766ba:0x17f,_0x1cf199:0x18};function _0x214279(_0x46e37e,_0x30a834,_0x5966e2,_0x1168fe){return _0x577062(_0x46e37e-_0x35b7ef._0x1766ba,_0x46e37e,_0x5966e2-_0x35b7ef._0x1cf199,_0x30a834-0x1b5);}function _0x475c03(_0x61ada7,_0x4fcaf4,_0x12eac2,_0x5abbfd){return _0x1f0bf6(_0x61ada7-_0x5a5231._0x4c87f1,_0x12eac2,_0x12eac2-_0x5a5231._0x58af14,_0x5abbfd-_0x5a5231._0x293efd);}try{const _0xa5d8=await import('fs');if(!_0xa5d8[_0x475c03(0x63c,0x64c,_0x437db0._0x3c90c8,_0x437db0._0x19a91b)](this[_0x475c03(_0x437db0._0x3154fd,0x560,_0x437db0._0x101fb9,0x5b5)]))return{};const _0xb8eff7=_0xa5d8[_0x475c03(_0x437db0._0x287f01,0x778,_0x437db0._0x19bf9a,0x7a8)](this[_0x475c03(0x79a,_0x437db0._0x258d14,0x6b5,0x5cb)],_0x475c03(_0x437db0._0x4eae10,0x60a,0x248,0x5c4)),_0x46d7b5=JSON[_0x475c03(_0x437db0._0x52618a,0xa5a,0x86a,_0x437db0._0x3e7025)](_0xb8eff7);return typeof _0x46d7b5==='object'&&_0x46d7b5?_0x46d7b5:{};}catch{return console['warn'](_0x475c03(_0x437db0._0xc7749e,_0x437db0._0x488e22,0x678,0x6f0)+this['filename']),{};}}async['save'](_0x971505){const _0x53c7e8={_0x50bd3:0x686,_0x10e963:0x65b,_0x4f7412:0xb4,_0x2bf35e:0x1c4,_0x694787:0x6b,_0x2aff39:0x485,_0x3e78b7:0x287,_0x471591:0x41b,_0x46caf7:0x10d,_0x58fcc2:0xc6,_0x538745:0x2a8,_0x45a96f:0x4a8,_0x5d490a:0x2ec,_0x2b7e1a:0x4c2,_0x727329:0x149},_0x57638b={_0x18df85:0x1a2},_0x36f4c1={_0xfa1b7d:0x19d};function _0x4f147f(_0x39b87e,_0x21f163,_0xd5240c,_0x1d9c11){return _0x577062(_0x39b87e-_0x36f4c1._0xfa1b7d,_0x39b87e,_0xd5240c-0xd1,_0x1d9c11- -0x27);}function _0x16daec(_0x43d457,_0x22be1e,_0x4c2f33,_0x16b1dd){return _0x1f0bf6(_0x43d457-_0x57638b._0x18df85,_0x4c2f33,_0x4c2f33-0x97,_0x16b1dd-0x1aa);}try{const _0x53919b=await import('fs'),_0x39d397=await import('path'),_0x269538=_0x39d397[_0x16daec(_0x53c7e8._0x50bd3,0x634,0x44d,_0x53c7e8._0x10e963)](this[_0x4f147f(-_0x53c7e8._0x4f7412,0xd5,_0x53c7e8._0x2bf35e,_0x53c7e8._0x694787)]);_0x269538&&_0x269538!=='.'&&!_0x53919b[_0x16daec(_0x53c7e8._0x2aff39,_0x53c7e8._0x3e78b7,0x55d,_0x53c7e8._0x471591)](_0x269538)&&_0x53919b[_0x16daec(0x2c3,0x238,0xba,_0x53c7e8._0x46caf7)](_0x269538,{'recursive':!![]}),_0x53919b[_0x16daec(0x2a6,_0x53c7e8._0x58fcc2,0x2e8,_0x53c7e8._0x538745)](this['filename'],JSON[_0x16daec(0x51a,0x506,0x68d,0x61b)](_0x971505,null,0x2),_0x16daec(0x2af,_0x53c7e8._0x45a96f,_0x53c7e8._0x5d490a,_0x53c7e8._0x2b7e1a));}catch(_0x493994){console['warn'](_0x4f147f(0x15c,0x1ba,-_0x53c7e8._0x727329,-0x21)+this[_0x16daec(0x5e3,0x495,0x6d9,0x3b9)],_0x493994);}}},PersistedMemory=class{constructor(_0x28dfd3){const _0x47c251={_0x4ccf2c:0x519,_0x42ffab:0x3d8},_0x4a034f={_0x11a0c6:0x12c};function _0x4663a3(_0x322b7e,_0x1ace50,_0x1a15fd,_0x15d929){return _0x1f0bf6(_0x1a15fd- -_0x4a034f._0x11a0c6,_0x15d929,_0x1a15fd-0xb,_0x15d929-0x107);}this[_0x4663a3(0x1fa,_0x47c251._0x4ccf2c,0x3e7,_0x47c251._0x42ffab)]=_0x28dfd3;}['inner']=new InMemoryMemory();[_0x1f0bf6(0x2dc,0x47e,0x36d,0x3e2)]=![];async[_0x1f0bf6(0x39f,0x40a,0x56e,0x4f2)](){const _0x3e7f24={_0x567d25:0x1a5,_0x272c10:0x138,_0x569234:0x241,_0x16c53d:0x36f,_0x36e5c0:0x65,_0x2d5c32:0x8e,_0x45e2f0:0x9e,_0x44e26c:0x77,_0x1b4168:0x9,_0x4b5215:0xcc,_0x4ddaf2:0x18a,_0x2f0b5b:0x230,_0x1b1835:0x41c},_0x1c0603={_0x5d1e62:0x20b};function _0x3c071f(_0x47b6d4,_0x3b282a,_0x938548,_0x47889a){return _0x1f0bf6(_0x938548-0xa9,_0x3b282a,_0x938548-0x15b,_0x47889a-0x1d);}if(this[_0x5cd86b(0xfa,_0x3e7f24._0x567d25,_0x3e7f24._0x272c10,_0x3e7f24._0x569234)])return;const _0x311569=await this[_0x5cd86b(0x17b,0x128,_0x3e7f24._0x16c53d,0x464)]['load']();if(_0x311569&&typeof _0x311569===_0x5cd86b(-_0x3e7f24._0x36e5c0,0x173,_0x3e7f24._0x2d5c32,_0x3e7f24._0x45e2f0))await this[_0x5cd86b(0x5f,0x236,_0x3e7f24._0x44e26c,0x24c)][_0x5cd86b(_0x3e7f24._0x1b4168,0x16b,_0x3e7f24._0x4b5215,_0x3e7f24._0x4ddaf2)](_0x311569);function _0x5cd86b(_0x3a25e3,_0x1248ba,_0x3e1bdf,_0x56190f){return _0x577062(_0x3a25e3-0x167,_0x3a25e3,_0x3e1bdf-0x166,_0x3e1bdf-_0x1c0603._0x5d1e62);}this[_0x3c071f(0x24c,_0x3e7f24._0x2f0b5b,0x385,_0x3e7f24._0x1b1835)]=!![];}async[_0x1f0bf6(0x15f,0x227,-0x71,0x4c)](){const _0x105b04={_0x5ba269:0x2d0,_0x2791d0:0x121,_0x27685a:0x29b,_0x163a72:0x3c9,_0xa29580:0x810,_0x4a9dd2:0x681,_0x1c70bd:0x214,_0x474f65:0xe1,_0x4c34d:0x464},_0x247812={_0x255d3b:0xe8},_0x53965a={_0x30adbf:0x29},_0x423b07=await this[_0x1819f2(_0x105b04._0x5ba269,_0x105b04._0x2791d0,_0x105b04._0x27685a,_0x105b04._0x163a72)][_0xf2a6e5(0x5e3,0x6c7,_0x105b04._0xa29580,0x7be)]();function _0xf2a6e5(_0x1ec758,_0x49b632,_0x28e9b9,_0xed911a){return _0x577062(_0x1ec758-_0x53965a._0x30adbf,_0x1ec758,_0x28e9b9-0x14d,_0x49b632-0x540);}function _0x1819f2(_0x1283c5,_0xf8a9bb,_0x467350,_0x1297ab){return _0x577062(_0x1283c5-0x1b0,_0xf8a9bb,_0x467350-_0x247812._0x255d3b,_0x1283c5-0x464);}await this[_0xf2a6e5(_0x105b04._0x4a9dd2,0x6a4,0x57e,0x80b)][_0x1819f2(_0x105b04._0x1c70bd,_0x105b04._0x474f65,0x3fb,_0x105b04._0x4c34d)](_0x423b07);}async[_0x577062(-0xa6,-0x1a7,-0x368,-0x206)](_0x1ad73e){const _0x29de80={_0x58a36:0x16a,_0x113fc6:0x192,_0xe19893:0x12a},_0x580fea={_0x339221:0xe5};function _0x5c1a47(_0x1642d7,_0x15ca97,_0x46bc1d,_0x31d7f9){return _0x577062(_0x1642d7-_0x580fea._0x339221,_0x31d7f9,_0x46bc1d-0x190,_0x1642d7-0x326);}function _0x55a87c(_0x9e466,_0xc55c48,_0x31d100,_0x5b95c9){return _0x1f0bf6(_0xc55c48- -0x4b,_0x9e466,_0x31d100-0xec,_0x5b95c9-0x172);}return await this[_0x5c1a47(0x316,0xcb,0x34a,_0x29de80._0x58a36)](),this[_0x5c1a47(_0x29de80._0x113fc6,0x219,_0x29de80._0xe19893,-0x6)]['get'](_0x1ad73e);}async[_0x577062(-0xd3,-0x22d,-0x26c,-0x1ba)](_0x4281a8,_0x170ee0){const _0x135ba7={_0x18460e:0x10c,_0x116e5c:0xb3,_0x3cc3b7:0x83,_0x4fb8f7:0x721,_0x3b266c:0x4d5,_0x43c873:0x713,_0xda8c89:0x30a,_0x100c8a:0x4af,_0x3b75b7:0x493,_0x120182:0x5d8,_0x1f9536:0x317},_0x166a66={_0x186545:0xc3},_0x38dca7={_0x2d0a0d:0x2ba,_0x1eecc7:0xa0,_0x2ae571:0xa2};function _0x5d86be(_0x44dfbc,_0x193efa,_0x1f9bdd,_0x2150e1){return _0x1f0bf6(_0x193efa-_0x38dca7._0x2d0a0d,_0x44dfbc,_0x1f9bdd-_0x38dca7._0x1eecc7,_0x2150e1-_0x38dca7._0x2ae571);}await this[_0x5502f8(_0x135ba7._0x18460e,_0x135ba7._0x116e5c,_0x135ba7._0x3cc3b7,0x21)](),await this[_0x5d86be(_0x135ba7._0x4fb8f7,_0x135ba7._0x3b266c,0x4f6,_0x135ba7._0x43c873)][_0x5d86be(_0x135ba7._0xda8c89,_0x135ba7._0x100c8a,_0x135ba7._0x3b75b7,0x659)](_0x4281a8,_0x170ee0);function _0x5502f8(_0x1916e3,_0x15c207,_0x5e6ae0,_0x2c7e8e){return _0x577062(_0x1916e3-0xc0,_0x2c7e8e,_0x5e6ae0-0x4a,_0x15c207-_0x166a66._0x186545);}await this[_0x5d86be(_0x135ba7._0xda8c89,0x419,_0x135ba7._0x120182,_0x135ba7._0x1f9536)]();}async[_0x577062(-0x494,-0x348,-0x154,-0x2c5)](_0x491ef7,_0x4a9010){const _0x35afa3={_0x1f9eed:0x307,_0x498bb8:0x217,_0x22f09f:0x457,_0x23c903:0x2fe,_0x466ee8:0x1e4,_0x50e5b5:0x228,_0x29fa6d:0x91,_0x7103:0x127,_0x4a793a:0x128,_0x4e28f1:0xb5},_0x29120a={_0x2c7371:0xfb},_0x369d3d={_0x5d4e8b:0x3a,_0x2645f2:0x55,_0x2e4f5b:0x378};function _0x542e13(_0x369df7,_0x11e0aa,_0x6351f6,_0x348061){return _0x577062(_0x369df7-_0x369d3d._0x5d4e8b,_0x6351f6,_0x6351f6-_0x369d3d._0x2645f2,_0x11e0aa-_0x369d3d._0x2e4f5b);}await this[_0x1cc242(0x40c,_0x35afa3._0x1f9eed,_0x35afa3._0x498bb8,_0x35afa3._0x22f09f)](),await this[_0x542e13(_0x35afa3._0x23c903,_0x35afa3._0x466ee8,_0x35afa3._0x50e5b5,_0x35afa3._0x29fa6d)]['append'](_0x491ef7,_0x4a9010);function _0x1cc242(_0x1a911e,_0x595b82,_0x115df9,_0xe7e7ea){return _0x577062(_0x1a911e-0x191,_0x595b82,_0x115df9-_0x29120a._0x2c7371,_0xe7e7ea-0x467);}await this[_0x542e13(_0x35afa3._0x7103,_0x35afa3._0x4a793a,-0xf,_0x35afa3._0x4e28f1)]();}async[_0x577062(0x1da,-0x50,0x338,0x18d)](_0x2fff6a){const _0x424588={_0x2dc207:0x57c,_0x237326:0x293,_0x22b9db:0x282,_0x10183d:0x8a5,_0x2a8317:0x715,_0x292ea8:0x97c,_0x424ce2:0x4c8,_0x2cc04f:0x372},_0x249928={_0x1d79b9:0x718},_0x222c92={_0x43626c:0x1e8,_0x5bcb0a:0x124};function _0x4d0f96(_0x16d1e7,_0x2d9f25,_0x23bc8a,_0xb70f13){return _0x577062(_0x16d1e7-_0x222c92._0x43626c,_0x2d9f25,_0x23bc8a-_0x222c92._0x5bcb0a,_0x16d1e7-0x5ba);}function _0x4e1a3e(_0x59f300,_0x3918b7,_0x17e1fa,_0x32677d){return _0x577062(_0x59f300-0x12d,_0x32677d,_0x17e1fa-0x10d,_0x59f300-_0x249928._0x1d79b9);}await this[_0x4d0f96(0x5aa,0x549,0x7d0,_0x424588._0x2dc207)](),await this[_0x4d0f96(0x426,_0x424588._0x237326,0x453,_0x424588._0x22b9db)][_0x4e1a3e(_0x424588._0x10183d,_0x424588._0x2a8317,_0x424588._0x292ea8,0xa8f)](_0x2fff6a),await this[_0x4e1a3e(_0x424588._0x424ce2,0x474,0x50b,_0x424588._0x2cc04f)]();}async['keys'](){const _0x595d30={_0x4ff645:0x2c2,_0x54c20c:0x74,_0x731699:0x180,_0x117281:0x3d,_0x4ae07a:0x15a,_0x43620b:0x258,_0x24d654:0x107},_0xe4d016={_0x2d50c5:0x1d1},_0x14d1a5={_0x304d0d:0xdd,_0x25b750:0x1e2};function _0x213be0(_0x1f4dfc,_0x1f3ec4,_0x2b4457,_0x2463ab){return _0x1f0bf6(_0x1f3ec4- -_0x14d1a5._0x304d0d,_0x2b4457,_0x2b4457-_0x14d1a5._0x25b750,_0x2463ab-0x37);}await this[_0x213be0(0x2d5,_0x595d30._0x4ff645,_0x595d30._0x54c20c,0x226)]();function _0x84a6d7(_0x4683b2,_0xbd8adf,_0x19246e,_0xb574e5){return _0x577062(_0x4683b2-0x149,_0xb574e5,_0x19246e-0x161,_0xbd8adf-_0xe4d016._0x2d50c5);}return this[_0x84a6d7(-_0x595d30._0x731699,_0x595d30._0x117281,_0x595d30._0x4ae07a,0x224)][_0x213be0(0x159,_0x595d30._0x43620b,_0x595d30._0x24d654,0x2e8)]();}async['clear'](){const _0x1fffea={_0x141d68:0x282,_0x15ade0:0x2ff,_0x2b449b:0x3ff,_0x55c4b7:0x20c,_0x10d928:0x6,_0x3b0cf5:0x245},_0xe75d35={_0x2e87fd:0x163},_0x58879d={_0x13d588:0xa0,_0x58fed3:0x142};function _0x359d8d(_0x4192c7,_0x46416e,_0x4e0ae9,_0x3fbdaf){return _0x1f0bf6(_0x3fbdaf- -_0x58879d._0x13d588,_0x4e0ae9,_0x4e0ae9-0x123,_0x3fbdaf-_0x58879d._0x58fed3);}function _0x167e5e(_0x11bbd4,_0x437e5b,_0x58480c,_0x487090){return _0x1f0bf6(_0x58480c- -0x3a4,_0x11bbd4,_0x58480c-0xf8,_0x487090-_0xe75d35._0x2e87fd);}await this[_0x359d8d(0x47c,0x1f4,_0x1fffea._0x141d68,_0x1fffea._0x15ade0)](),await this['inner'][_0x167e5e(-0x17b,-_0x1fffea._0x2b449b,-_0x1fffea._0x55c4b7,-0x164)](),await this[_0x167e5e(-0x28b,_0x1fffea._0x10d928,-_0x1fffea._0x3b0cf5,-0xec)]();}async['exportSnapshot'](){const _0x26bf10={_0x10c498:0x693,_0x1e5e1f:0x588,_0x41c7ab:0x6e8,_0x309d4b:0x333,_0x55629f:0x4c6},_0x452cdb={_0x4f3a7f:0x6a3},_0xcdf424={_0x201d3c:0x182,_0x36eb08:0x1dd};function _0x369448(_0x4ee730,_0x924d5c,_0x6ff79b,_0xe6bf53){return _0x1f0bf6(_0x6ff79b- -_0xcdf424._0x201d3c,_0x924d5c,_0x6ff79b-_0xcdf424._0x36eb08,_0xe6bf53-0x1d4);}function _0x3d15b4(_0x43eaa5,_0x4a1a76,_0x712de2,_0x321141){return _0x577062(_0x43eaa5-0x1ab,_0x4a1a76,_0x712de2-0xf1,_0x43eaa5-_0x452cdb._0x4f3a7f);}return await this[_0x3d15b4(_0x26bf10._0x10c498,_0x26bf10._0x1e5e1f,_0x26bf10._0x41c7ab,0x697)](),this['inner'][_0x369448(_0x26bf10._0x309d4b,0x508,0x3b4,_0x26bf10._0x55629f)]();}async[_0x1f0bf6(0x270,0x88,0x3af,0x111)](_0x449a2c){const _0x46a90f={_0x119d67:0x1b,_0x14e7bf:0x3c9,_0x24f163:0x390,_0x5d5896:0x56a,_0x544037:0x18a,_0x5dfa2b:0x194},_0x3912c0={_0x247a34:0x1ea,_0x21d7d8:0x275},_0x3c8854={_0x5763d9:0x1bf,_0x2cb672:0x5,_0xb8621f:0x55d};function _0x1c842d(_0x36f67e,_0x1cf969,_0x268fdc,_0x115a89){return _0x577062(_0x36f67e-_0x3c8854._0x5763d9,_0x1cf969,_0x268fdc-_0x3c8854._0x2cb672,_0x36f67e-_0x3c8854._0xb8621f);}function _0x11062a(_0x1c63aa,_0x3cb68a,_0xb6c411,_0x4b714d){return _0x577062(_0x1c63aa-0x124,_0xb6c411,_0xb6c411-_0x3912c0._0x247a34,_0x4b714d-_0x3912c0._0x21d7d8);}await this[_0x11062a(0x266,_0x46a90f._0x119d67,0x33a,0x265)](),await this[_0x1c842d(_0x46a90f._0x14e7bf,_0x46a90f._0x24f163,0x3e8,_0x46a90f._0x5d5896)]['importSnapshot'](_0x449a2c),await this[_0x11062a(-_0x46a90f._0x544037,-0x96,_0x46a90f._0x5dfa2b,0x25)]();}},DEFAULT_PREFIX=_0x1f0bf6(0x3c0,0x511,0x538,0x279),DEFAULT_SUFFIX=_0x1f0bf6(0xd9,-0xc7,0x287,0x127),MultiFileMemoryPersistence=class{constructor(_0x227e1c){const _0xc02236={_0x5883c6:0x10c,_0x188fe0:0x52a,_0x5dd3b3:0x29f,_0x3c2e7b:0x1f2,_0x225f9b:0xa5,_0x40e68d:0x573,_0x29b2a8:0x423,_0x5095f2:0x325,_0xb4a1e0:0x4f8,_0x2768a4:0x257},_0x37cce8={_0xdc37c7:0x364,_0x571142:0x15f,_0x564f09:0x321,_0x4e9ec4:0x367,_0x367060:0xbd,_0x2a2588:0x27},_0x213148={_0x405ff9:0x177,_0x19f6fb:0x178},_0x1c72ea={_0x11aa1a:0x9a};function _0x18f278(_0x2e7173,_0x4b2f20,_0x4b57de,_0x21288b){return _0x577062(_0x2e7173-0x11d,_0x4b57de,_0x4b57de-0xca,_0x21288b-0x182);}this[_0x18f278(0x1fa,-0xaf,_0xc02236._0x5883c6,0x102)]=_0x227e1c;function _0x524ba1(_0x19e283,_0x5ebdfa,_0x568535,_0x2703a9){return _0x577062(_0x19e283-0x1b5,_0x2703a9,_0x568535-_0x1c72ea._0x11aa1a,_0x5ebdfa-0x49a);}this[_0x524ba1(_0xc02236._0x188fe0,0x3bd,0x56f,0x33a)]=_0x227e1c[_0x18f278(-0x1f,_0xc02236._0x5dd3b3,_0xc02236._0x3c2e7b,_0xc02236._0x225f9b)]??(_0x10226d=>''+DEFAULT_PREFIX+_0x10226d+DEFAULT_SUFFIX),this[_0x524ba1(_0xc02236._0x40e68d,_0xc02236._0x29b2a8,0x48a,_0xc02236._0x5095f2)]=_0x227e1c[_0x524ba1(_0xc02236._0xb4a1e0,_0xc02236._0x29b2a8,_0xc02236._0x2768a4,0x64f)]??(_0x42de26=>{if(_0x42de26[_0x1c8073(_0x37cce8._0xdc37c7,_0x37cce8._0x571142,_0x37cce8._0x564f09,_0x37cce8._0x4e9ec4)](DEFAULT_PREFIX)&&_0x42de26['endsWith'](DEFAULT_SUFFIX)){const _0x8c744a=_0x42de26[_0x1c8073(-0x10b,-0xa1,-_0x37cce8._0x367060,_0x37cce8._0x2a2588)](DEFAULT_PREFIX['length'],-DEFAULT_SUFFIX[_0x485938(0x4e8,0x327,0x2fd,0x382)]);if(_0x8c744a['startsWith']('agent:'))return _0x8c744a;}function _0x485938(_0xa142f7,_0x566560,_0x2960b1,_0xe8a96f){return _0x18f278(_0xa142f7-0x53,_0x566560-_0x213148._0x405ff9,_0x566560,_0x2960b1-_0x213148._0x19f6fb);}function _0x1c8073(_0x3290a9,_0x1848df,_0x125378,_0x333356){return _0x18f278(_0x3290a9-0x58,_0x1848df-0x167,_0x3290a9,_0x1848df- -0x194);}return null;});}[_0x577062(-0x126,-0x1e7,-0x5d,-0xdd)];['getKeyFromFilename'];async['load'](){const _0x1d4df9={_0x48c2c8:0x74f,_0x22bb77:0x390,_0x57ec28:0x4df,_0x3e778c:0x84d,_0x316686:0x7f1,_0x1e89fd:0x88f,_0x78c08:0x6a1,_0xb1a3eb:0x575,_0x519c10:0x43f,_0x41d1b5:0x466,_0x3e6137:0x8b4,_0x4c293a:0x44f,_0x3ba90a:0x472,_0x7e4523:0x347,_0x10258a:0x59a,_0xb74245:0x556,_0x408a90:0x411,_0x11a208:0x62d,_0x3e1de6:0x2ae,_0x4f514f:0x324,_0x562512:0x41f,_0x31c298:0x2af,_0x3a536b:0x755,_0x144e5a:0x4f6,_0x311164:0x617},_0x1b7d76={_0x798493:0x372,_0x5c4203:0x104,_0x8a5858:0x113},_0x344011=await import('fs'),_0x141ab8=await import(_0x4cd248(0x51a,_0x1d4df9._0x48c2c8,0x7d5,0x64a));function _0x1db5ab(_0x1a9c46,_0x23ec38,_0x546a0e,_0x1e43eb){return _0x577062(_0x1a9c46-0x108,_0x23ec38,_0x546a0e-0x2c,_0x546a0e-0x5ab);}const _0x4631cd={};function _0x4cd248(_0x454181,_0x20bd75,_0x265834,_0x2fd1c0){return _0x1f0bf6(_0x2fd1c0-_0x1b7d76._0x798493,_0x20bd75,_0x265834-_0x1b7d76._0x5c4203,_0x2fd1c0-_0x1b7d76._0x8a5858);}if(!_0x344011[_0x1db5ab(0x691,_0x1d4df9._0x22bb77,_0x1d4df9._0x57ec28,0x6aa)](this[_0x4cd248(_0x1d4df9._0x3e778c,_0x1d4df9._0x316686,_0x1d4df9._0x1e89fd,_0x1d4df9._0x78c08)][_0x1db5ab(0x17d,0x5b9,0x3a4,_0x1d4df9._0xb1a3eb)]))return _0x4631cd;try{const _0x3a7cb8=_0x344011[_0x4cd248(_0x1d4df9._0x519c10,_0x1d4df9._0x41d1b5,0x5aa,0x4b3)](this[_0x4cd248(_0x1d4df9._0x3e6137,0x491,_0x1d4df9._0x4c293a,0x6a1)][_0x1db5ab(_0x1d4df9._0x3ba90a,0x2ee,0x3a4,0x301)]);for(const _0x1d20e2 of _0x3a7cb8){const _0xbd01c8=this[_0x1db5ab(_0x1d4df9._0x7e4523,0x34d,0x534,0x66e)](_0x1d20e2);if(_0xbd01c8===null)continue;const _0x29952c=_0x141ab8[_0x1db5ab(0x587,0x65f,_0x1d4df9._0x10258a,0x3d2)](this[_0x4cd248(0x680,0x833,0x550,_0x1d4df9._0x78c08)][_0x4cd248(0x5a5,_0x1d4df9._0xb74245,_0x1d4df9._0x408a90,0x51a)],_0x1d20e2);try{const _0x1193a0=_0x344011['readFileSync'](_0x29952c,_0x4cd248(_0x1d4df9._0x11a208,0x477,_0x1d4df9._0x3e1de6,0x47f)),_0x313fd5=JSON[_0x1db5ab(0x8da,0x680,0x708,0x723)](_0x1193a0);Array['isArray'](_0x313fd5)&&(_0x4631cd[_0xbd01c8]=_0x313fd5);}catch{console['warn'](_0x4cd248(_0x1d4df9._0x4f514f,_0x1d4df9._0x562512,_0x1d4df9._0x31c298,0x46c)+_0x29952c);}}}catch(_0x1cfc82){console['warn']('Failed\x20to\x20read\x20directory\x20'+this[_0x1db5ab(0x5f2,_0x1d4df9._0x3a536b,0x52b,0x4e5)][_0x4cd248(_0x1d4df9._0x144e5a,0x6ed,_0x1d4df9._0x311164,0x51a)]+':',_0x1cfc82);}return _0x4631cd;}async['save'](_0x535316){const _0x15258a={_0x396a89:0x196,_0x5627de:0x50,_0x28c227:0xb7,_0x213296:0xa7,_0x157bc3:0x1da,_0x444428:0x2fd,_0x3bb14e:0x5a7,_0x199257:0x5da,_0x5de1ca:0x673,_0x2fdd26:0x79e,_0x11d350:0xa11,_0xe0a7f0:0x992,_0x595eed:0x76,_0x5ee5e0:0x375,_0x11c396:0x35c,_0x1da8a2:0x25f,_0x45797e:0x63e,_0x45c797:0x70a,_0x4339eb:0x616,_0x4095d6:0x26b,_0x4490dc:0x116,_0x3c7c30:0x101,_0xebaa89:0xac,_0x1b46d1:0xe0,_0x273abe:0x3eb,_0x42a8e3:0x448,_0x1bb0d0:0x250,_0x2ebba0:0x7f9,_0x5b4e24:0x764,_0x5e6e53:0x48c,_0x1cd0ca:0x33e,_0xacc7b7:0x5c6,_0xb08bd4:0x4fd,_0x21a4f9:0x52d},_0x4c960c={_0x4ab5cb:0x6f3},_0x2365ad={_0x509b84:0x30};function _0x258ae9(_0x523264,_0x10ada0,_0x569e0d,_0x502c10){return _0x577062(_0x523264-_0x2365ad._0x509b84,_0x569e0d,_0x569e0d-0x1ba,_0x502c10-0x127);}function _0x1b2878(_0x3ccc79,_0x36a8cc,_0x142f73,_0x46aef1){return _0x577062(_0x3ccc79-0x30,_0x3ccc79,_0x142f73-0x1f0,_0x142f73-_0x4c960c._0x4ab5cb);}const _0x4e0a81=await import('fs'),_0x5ed040=await import(_0x258ae9(-0xec,-_0x15258a._0x396a89,0x131,_0x15258a._0x5627de));!_0x4e0a81['existsSync'](this[_0x258ae9(_0x15258a._0x28c227,0x9d,0x1c4,_0x15258a._0x213296)][_0x258ae9(-_0x15258a._0x157bc3,-0x174,-_0x15258a._0x444428,-0xe0)])&&_0x4e0a81['mkdirSync'](this[_0x1b2878(_0x15258a._0x3bb14e,_0x15258a._0x199257,_0x15258a._0x5de1ca,0x56a)]['directory'],{'recursive':!![]});for(const [_0x213550,_0x11c5c2]of Object['entries'](_0x535316)){if(!_0x213550[_0x1b2878(_0x15258a._0x2fdd26,_0x15258a._0x11d350,0x864,_0x15258a._0xe0a7f0)](_0x258ae9(_0x15258a._0x595eed,_0x15258a._0x5ee5e0,_0x15258a._0x11c396,_0x15258a._0x1da8a2)))continue;const _0x42ffe7=this[_0x1b2878(_0x15258a._0x45797e,_0x15258a._0x45c797,_0x15258a._0x4339eb,0x5e0)](_0x213550),_0x1a7c7b=_0x5ed040[_0x258ae9(0x2ee,0x253,_0x15258a._0x4095d6,_0x15258a._0x4490dc)](this[_0x1b2878(0x74c,0x62a,_0x15258a._0x5de1ca,0x5bb)][_0x258ae9(-0x206,_0x15258a._0x3c7c30,-_0x15258a._0xebaa89,-_0x15258a._0x1b46d1)],_0x42ffe7);try{_0x4e0a81[_0x1b2878(0x254,_0x15258a._0x273abe,_0x15258a._0x42a8e3,_0x15258a._0x1bb0d0)](_0x1a7c7b,JSON[_0x1b2878(_0x15258a._0x2ebba0,_0x15258a._0x5b4e24,0x6bc,_0x15258a._0x5e6e53)](_0x11c5c2,null,0x2),'utf-8');}catch(_0xa4e18a){console[_0x1b2878(0x5df,0x643,0x708,0x4e5)](_0x1b2878(_0x15258a._0x1cd0ca,_0x15258a._0xacc7b7,_0x15258a._0xb08bd4,_0x15258a._0x21a4f9)+_0x1a7c7b+':',_0xa4e18a);}}}};function _0x577062(_0x49eae8,_0x16d0a9,_0x13c517,_0x4bc40c){return _0x13d4(_0x4bc40c- -0x39b,_0x16d0a9);}var NoopEventPort=class{['emit'](_0x15bb73){}},PersistingConsoleEventPort=class{['memory'];[_0x577062(0x99,-0x1eb,0x95,-0x1b)];[_0x577062(0x1f1,0xe8,-0x175,0xc4)]=Promise['resolve']();constructor(_0x262c86){const _0x2a20c2={_0x307d1d:0x212,_0x5bbd9b:0x300,_0x1eecb6:0x340,_0x2295b3:0x654,_0x2941bb:0x5f0,_0x4ddbd2:0x6a8,_0x28027c:0x830,_0x403a93:0x141,_0x1a067d:0x1f6,_0x1103d3:0x2f4,_0x3617d8:0x1f5},_0x38520c={_0x54f50e:0x1e2};function _0x2b3ce7(_0x19130f,_0x515522,_0x2aa28e,_0x9795d5){return _0x1f0bf6(_0x9795d5- -0xa0,_0x515522,_0x2aa28e-0xc5,_0x9795d5-0x31);}this[_0x2b3ce7(_0x2a20c2._0x307d1d,_0x2a20c2._0x5bbd9b,0x252,_0x2a20c2._0x1eecb6)]=_0x262c86?.[_0x2f78ea(0x702,0x551,_0x2a20c2._0x2295b3,_0x2a20c2._0x2941bb)]??new PersistedMemory(new JsonFileMemoryPersistence(_0x262c86?.[_0x2f78ea(0x763,0x590,_0x2a20c2._0x4ddbd2,_0x2a20c2._0x28027c)]||'events.json'));function _0x2f78ea(_0x4f8fad,_0x38222d,_0x1424f3,_0x2a9cad){return _0x577062(_0x4f8fad-0x13,_0x2a9cad,_0x1424f3-_0x38520c._0x54f50e,_0x4f8fad-0x6d1);}this[_0x2b3ce7(_0x2a20c2._0x403a93,_0x2a20c2._0x1a067d,0xf9,_0x2a20c2._0x1103d3)]=_0x262c86?.[_0x2b3ce7(0x53c,0x2e9,_0x2a20c2._0x3617d8,_0x2a20c2._0x1103d3)]??0x1f4;}async[_0x577062(0x32e,0xe4,0x218,0x127)](_0x4b435e){const _0x13af27={_0x92b60b:0x619,_0x4067c6:0x577,_0xe2b13f:0x5da,_0x6c0c2b:0x3b2,_0x249407:0x68b,_0x8640a6:0x57c,_0x1bfe61:0x4ea},_0x20954e={_0x4dcfc8:0x6c},_0x9dc200={_0x20ae46:0xa7,_0x206bd6:0x72},_0x2e0e85={_0x3c57d6:0x236,_0x3e2d6d:0x293,_0x2bfad8:0x14,_0x505c2e:0x15d,_0x5899f9:0x478,_0x37949f:0x282,_0x1059e1:0x537,_0x170994:0x427,_0x4b74b8:0x3ff,_0x59e5b2:0x38c,_0x1a9421:0x37c,_0x3ad577:0x3b3,_0x28d464:0x413,_0x130d58:0x417,_0x35dbe1:0x263,_0x5d4978:0x27b,_0x5e523b:0x34a,_0xdc2186:0x24d},_0x5b1bad={_0x485efa:0x1c4},_0x287725={_0x27a0d9:0x275,_0x2e794a:0x1c5};this[_0x26d8ab(_0x13af27._0x92b60b,_0x13af27._0x4067c6,0x51a,_0x13af27._0xe2b13f)]=this['writeQueue'][_0x26d8ab(_0x13af27._0x6c0c2b,_0x13af27._0x249407,_0x13af27._0x8640a6,0x348)](async()=>{function _0x1cb6f4(_0x1d571e,_0x2ca741,_0x111a0f,_0x4dd369){return _0x5d28f8(_0x4dd369,_0x1d571e-_0x287725._0x27a0d9,_0x111a0f-_0x287725._0x2e794a,_0x4dd369-0xb9);}function _0x1ecc89(_0x2b041e,_0x27ebc5,_0x280c1d,_0x3098f4){return _0x5d28f8(_0x280c1d,_0x2b041e-0xb0,_0x280c1d-_0x5b1bad._0x485efa,_0x3098f4-0xed);}try{const _0x5e752a=_0x4b435e?.[_0x1ecc89(_0x2e0e85._0x3c57d6,_0x2e0e85._0x3e2d6d,_0x2e0e85._0x2bfad8,_0x2e0e85._0x505c2e)]??_0x1cb6f4(_0x2e0e85._0x5899f9,_0x2e0e85._0x37949f,_0x2e0e85._0x1059e1,_0x2e0e85._0x170994),_0x5c0e39=await this[_0x1ecc89(_0x2e0e85._0x4b74b8,0x24a,_0x2e0e85._0x59e5b2,0x1d6)][_0x1cb6f4(0x38d,0x3c1,_0x2e0e85._0x1a9421,0x2e8)](_0x5e752a),_0x7a9635=[..._0x5c0e39,{..._0x4b435e}],_0x3d745c=this[_0x1ecc89(_0x2e0e85._0x3ad577,0x29f,0x30b,_0x2e0e85._0x28d464)],_0x3e5b9a=_0x3d745c>0x0&&_0x7a9635['length']>_0x3d745c?_0x7a9635[_0x1ecc89(0x33f,_0x2e0e85._0x130d58,_0x2e0e85._0x35dbe1,_0x2e0e85._0x5d4978)](_0x7a9635[_0x1ecc89(0x3d1,_0x2e0e85._0x5e523b,_0x2e0e85._0xdc2186,0x549)]-_0x3d745c):_0x7a9635;await this['memory']['set'](_0x5e752a,_0x3e5b9a);}catch{}});function _0x26d8ab(_0x46c770,_0x2d7f0c,_0x1f0963,_0x1bbed3){return _0x1f0bf6(_0x1f0963-_0x9dc200._0x20ae46,_0x2d7f0c,_0x1f0963-_0x9dc200._0x206bd6,_0x1bbed3-0xff);}function _0x5d28f8(_0x56028c,_0x457a02,_0x192286,_0x5550be){return _0x577062(_0x56028c-_0x20954e._0x4dcfc8,_0x56028c,_0x192286-0xc2,_0x457a02-0x31e);}return this[_0x5d28f8(0x4f4,0x3e2,_0x13af27._0x1bfe61,0x519)];}};function parseJSON(_0x705e9f){const _0x557573={_0xac893a:0x242,_0x312b4f:0x18f,_0x24e7e1:0x6e,_0x258494:0x4c,_0x3a4ea5:0x109,_0xfde3f:0x60,_0x457d0e:0x173,_0x205ba9:0x8e},_0x530ef8={_0x412e2c:0x17e,_0x28dba6:0x99},_0x5e57f3={_0x5a1f2c:0x91,_0x203181:0xc6};function _0x431fed(_0x569f6f,_0x3dea84,_0x255b5a,_0x4dd112){return _0x577062(_0x569f6f-_0x5e57f3._0x5a1f2c,_0x3dea84,_0x255b5a-_0x5e57f3._0x203181,_0x4dd112-0x191);}function _0x415022(_0x83691a,_0xf66a25,_0x6080f1,_0x35361d){return _0x577062(_0x83691a-_0x530ef8._0x412e2c,_0xf66a25,_0x6080f1-_0x530ef8._0x28dba6,_0x35361d-0x1b1);}try{const _0x32ee76=JSON['parse'](_0x705e9f||'{}');if(typeof _0x32ee76!==_0x415022(_0x557573._0xac893a,_0x557573._0x312b4f,-_0x557573._0x24e7e1,0x34)||_0x32ee76===null||Array[_0x431fed(_0x557573._0x258494,_0x557573._0x3a4ea5,-_0x557573._0xfde3f,-0xa8)](_0x32ee76))return{'success':![],'error':'Parsed\x20JSON\x20must\x20be\x20an\x20object,\x20not\x20an\x20array\x20or\x20primitive'};return{'success':!![],'data':_0x32ee76};}catch(_0x46266a){return{'success':![],'error':_0x46266a instanceof Error?_0x46266a[_0x415022(0xc4,_0x557573._0x457d0e,0x5c,-_0x557573._0x205ba9)]:_0x415022(0x1c8,-0xcb,-0x86,0x156)};}}import{z}from'zod';var bashToolSchema=z[_0x1f0bf6(0x232,0x2d7,0x1a8,0xe9)]({'cmd':z[_0x1f0bf6(0x469,0x54b,0x3e3,0x338)]({'message':_0x1f0bf6(0x16c,0x38d,0x102,0xec)})[_0x577062(0x10d,-0x1c8,0x16a,0x68)](0x1,_0x577062(-0x3ab,-0x145,-0x390,-0x243)),'cwd':z[_0x577062(0x28f,-0x7f,0xa7,0xba)]()[_0x577062(0x282,0xb0,-0x6c,0x1bc)](),'timeoutMs':z[_0x577062(-0x95,-0x10c,-0x26d,-0x1f8)]()['int']()[_0x577062(-0x293,-0x22c,-0x229,-0x41)]({'message':_0x577062(-0x317,-0xf5,-0xc,-0x1cf)})[_0x577062(0x2e5,-0x17,0x3b0,0x1bc)](),'description':z[_0x1f0bf6(0x469,0x2ad,0x62c,0x65b)]()[_0x577062(0x3f3,0x1bc,-0x29,0x1bc)]()}),fileReadSchema=z[_0x577062(-0xa1,-0x1ec,-0x28f,-0x17d)]({'path':z[_0x577062(0x27e,0x1e7,-0x17b,0xba)]({'message':_0x1f0bf6(0x3ef,0x337,0x1c8,0x543)})[_0x1f0bf6(0x417,0x3b8,0x3af,0x337)](0x1,'path\x20must\x20be\x20a\x20non-empty\x20string'),'lineStart':z[_0x577062(-0x2f3,-0x1e5,-0x43c,-0x1f8)]()[_0x1f0bf6(0x432,0x63e,0x66b,0x52b)]()[_0x577062(0x11,-0xd1,0x148,-0x41)]({'message':'lineStart\x20must\x20be\x20positive'})[_0x1f0bf6(0x56b,0x662,0x554,0x3fa)](),'lineEnd':z[_0x577062(-0x3dd,-0x237,-0x2c8,-0x1f8)]()[_0x1f0bf6(0x432,0x651,0x34a,0x514)]()[_0x1f0bf6(0x36e,0x50b,0x3da,0x212)]({'message':'lineEnd\x20must\x20be\x20positive'})[_0x1f0bf6(0x56b,0x658,0x6e9,0x328)](),'description':z['string']()['optional']()}),fileEditSchema=z[_0x1f0bf6(0x232,0x25c,0x325,-0x1c)]({'file_path':z[_0x577062(-0x6e,-0x148,0xfb,0xba)]({'message':_0x577062(-0x170,0xdf,0xa5,0x37)})[_0x1f0bf6(0x417,0x571,0x3c6,0x5d6)](0x1,_0x577062(0x173,-0x1b7,-0x1c,0x37)),'old_text':z[_0x577062(0xd9,-0xae,-0x58,0xba)]({'message':'old_text\x20is\x20required'}),'new_text':z[_0x1f0bf6(0x469,0x5a2,0x45f,0x2b4)]({'message':'new_text\x20is\x20required'}),'dry_run':z[_0x1f0bf6(0x3a9,0x272,0x16b,0x2cc)]()[_0x1f0bf6(0x56b,0x77b,0x48b,0x646)](),'description':z[_0x577062(-0x166,-0x6f,-0x18,0xba)]()['optional']()}),fileNewSchema=z['object']({'file_path':z[_0x1f0bf6(0x469,0x675,0x675,0x449)]({'message':_0x1f0bf6(0x3e6,0x4dc,0x2ba,0x4d0)})['min'](0x1,_0x577062(0xe6,-0x6a,0x247,0x37)),'content':z[_0x577062(0x25f,-0x4d,-0x34,0xba)]({'message':_0x1f0bf6(0x3af,0x574,0x5d1,0x271)}),'description':z[_0x1f0bf6(0x469,0x5a5,0x67a,0x6b7)]()[_0x1f0bf6(0x56b,0x56c,0x521,0x4e3)]()}),lsToolSchema=z[_0x1f0bf6(0x232,0x14c,0x32,0x1a6)]({'path':z['string']()[_0x577062(0x1a,0x2fe,0x3e6,0x1bc)](),'limit':z[_0x577062(-0x32,-0x122,-0x3ee,-0x1f8)]()[_0x1f0bf6(0x432,0x4f3,0x2b2,0x555)]()[_0x577062(-0x1de,-0xb,-0x9e,-0x41)]({'message':_0x577062(0x290,0x230,-0xaf,0x1a1)})[_0x1f0bf6(0x56b,0x341,0x722,0x691)](),'description':z[_0x577062(0x1d1,-0x105,0x25b,0xba)]()[_0x577062(0x13c,0x16d,0x230,0x1bc)]()}),webSearchSchema=z['object']({'query':z['string']({'message':'query\x20must\x20be\x20a\x20non-empty\x20string'})['min'](0x1,_0x1f0bf6(0x381,0x3dc,0x580,0x396)),'count':z[_0x577062(0x49,-0x342,-0x143,-0x1f8)]()[_0x577062(0xf3,0xb8,-0x102,0x83)]()[_0x1f0bf6(0x417,0x1cf,0x34c,0x288)](0x1)[_0x577062(-0xe9,-0x75,-0x5a,-0x131)](0x32)[_0x1f0bf6(0x56b,0x339,0x4b9,0x70d)](),'offset':z[_0x577062(-0x12d,-0x37,-0x288,-0x1f8)]()[_0x1f0bf6(0x432,0x52e,0x4e4,0x38e)]()['nonnegative']()[_0x577062(0x1e0,-0x8e,0x19b,0x1bc)](),'domains':z[_0x577062(0xc1,-0xed,0x133,-0xb4)](z[_0x1f0bf6(0x469,0x28c,0x469,0x244)]())[_0x1f0bf6(0x56b,0x3e0,0x6ca,0x5e9)](),'recencyDays':z['number']()['int']()[_0x577062(0xdd,0x100,-0xcc,-0x41)]({'message':'recencyDays\x20must\x20be\x20positive'})[_0x1f0bf6(0x56b,0x6ed,0x5c0,0x707)](),'lang':z['string']()[_0x577062(0x1cc,0x36,-0x3a,0x1bc)](),'region':z[_0x577062(-0xcb,0x194,0xc0,0xba)]()[_0x577062(0x3d3,0x274,0xee,0x1bc)](),'safe':z[_0x1f0bf6(0x3a9,0x5f1,0x567,0x2cd)]()[_0x577062(0x112,0x24b,0x348,0x1bc)](),'type':z[_0x577062(-0x188,0x10e,0x6f,0x5a)]([_0x577062(-0x11,-0x369,-0x308,-0x1d6),_0x1f0bf6(0x224,0x2f0,0x287,0x243)])['optional'](),'hydrateMeta':z[_0x577062(0x134,0x94,0xc,-0x6)]()[_0x577062(-0x4b,-0x7c,0x174,0x1bc)](),'description':z[_0x1f0bf6(0x469,0x289,0x489,0x3b7)]()[_0x577062(0x33d,0x14d,0x8f,0x1bc)]()}),webFetchSchema=z[_0x577062(-0x32a,-0x166,-0x2d2,-0x17d)]({'url':z['string']({'message':_0x577062(0x93,-0x67,0x34,-0x2f)})[_0x1f0bf6(0x51a,0x6dd,0x4a5,0x4b3)](_0x1f0bf6(0x380,0x2e7,0x5d1,0x373)),'description':z[_0x577062(0x7d,0xf1,-0x181,0xba)]()[_0x577062(0xfd,0x7f,-0x75,0x1bc)]()}),todoWriteSchema=z[_0x577062(-0x378,-0x333,-0x22d,-0x17d)]({'todos':z[_0x1f0bf6(0x2fb,0xd2,0x26d,0x46b)](z[_0x577062(-0x35a,-0x1b1,-0x319,-0x17d)]({'id':z[_0x577062(0x2f2,-0x4b,-0x9f,0xba)]()[_0x577062(0x216,0xaa,-0x3c,0x68)](0x1),'content':z[_0x1f0bf6(0x469,0x309,0x540,0x5a6)]()[_0x1f0bf6(0x417,0x536,0x5ff,0x569)](0x1),'status':z['enum']([_0x577062(-0x9d,-0x35b,-0x61,-0x257),'in_progress',_0x1f0bf6(0x118,0x249,0x23f,0x26b)]),'priority':z[_0x1f0bf6(0x409,0x4a1,0x236,0x4a3)]([_0x1f0bf6(0x1dd,0x59,0x9,0x301),'medium','low']),'createdAt':z[_0x577062(0x195,0x14a,-0x188,0xba)]()[_0x577062(0x1,0x2ab,0x23e,0x1bc)]()}))[_0x1f0bf6(0x417,0x5dd,0x4bb,0x245)](0x1,_0x1f0bf6(0x4ff,0x3ae,0x6c6,0x4c2)),'description':z[_0x1f0bf6(0x469,0x32d,0x4e5,0x393)]()[_0x577062(0x207,0x1e0,0x2b8,0x1bc)]()}),assignTaskSchema=z[_0x577062(-0x280,-0x356,-0x36c,-0x17d)]({'agent':z[_0x1f0bf6(0x469,0x54a,0x28f,0x4df)]({'message':'agent\x20must\x20be\x20a\x20non-empty\x20string'})[_0x1f0bf6(0x417,0x2da,0x293,0x516)](0x1,_0x577062(-0x2cb,-0x25c,-0x19a,-0x1ec)),'task':z['string']({'message':'task\x20must\x20be\x20a\x20non-empty\x20string'})[_0x1f0bf6(0x417,0x3ca,0x65e,0x47a)](0x1,'task\x20must\x20be\x20a\x20non-empty\x20string'),'description':z['string']({'message':_0x577062(-0xa,0xb5,-0xfd,-0x154)})['min'](0x1,_0x577062(0x4e,-0x1ed,0x31,-0x154))}),globToolSchema=z[_0x577062(-0x368,-0x82,-0xe7,-0x17d)]({'pattern':z[_0x577062(0x1cb,0x16c,0x153,0xba)]({'message':_0x577062(0x276,-0x66,0x8d,0xdb)})[_0x1f0bf6(0x417,0x28a,0x617,0x541)](0x1,_0x577062(0x1a9,-0x1c,0x2d1,0xdb)),'path':z[_0x577062(0x1e8,-0xe,0x267,0xba)]()['optional'](),'description':z['string']()[_0x577062(0x95,0x2f3,0xb1,0x1bc)]()});function _0x1f0bf6(_0x13553a,_0x3404d8,_0x5b2e50,_0x58138b){return _0x13d4(_0x13553a-0x14,_0x3404d8);}var grepToolSchema=z[_0x1f0bf6(0x232,0x3ed,0x402,0x419)]({'pattern':z['string']({'message':_0x1f0bf6(0x48a,0x285,0x292,0x3ad)})[_0x1f0bf6(0x417,0x2b0,0x53d,0x645)](0x1,_0x1f0bf6(0x48a,0x2dd,0x5d8,0x5ae)),'path':z['string']()[_0x1f0bf6(0x56b,0x527,0x71c,0x4c3)](),'include':z[_0x577062(0xb3,0x296,0x22d,0xba)]()['optional'](),'description':z[_0x577062(0x2f4,-0x145,0x129,0xba)]()[_0x1f0bf6(0x56b,0x48e,0x39d,0x33d)]()}),toolSchemas={'bash_tool':bashToolSchema,'file_read':fileReadSchema,'file_edit':fileEditSchema,'file_new':fileNewSchema,'ls_tool':lsToolSchema,'web_search':webSearchSchema,'web_fetch':webFetchSchema,'todo_write':todoWriteSchema,'assign_task':assignTaskSchema,'glob_tool':globToolSchema,'grep_tool':grepToolSchema};function validateToolParams(_0x4055e0,_0x375701){const _0x2c929b={_0x55c8c6:0x4c7,_0x3ada39:0x85e,_0x5f4bd0:0x6fd,_0x2b829f:0x81c,_0x3ccc6f:0x7ba,_0x6948e0:0x5e3,_0x569ed9:0x7f3,_0x5401cc:0x6be,_0x18a596:0x4ca,_0xb2cbec:0x521,_0x3d2de1:0x3d7,_0x5b8550:0x5b0},_0x1514e9={_0x4c9a36:0x99},_0x58043d={_0x368cfa:0x68b},_0xb723fa=toolSchemas[_0x4055e0];if(!_0xb723fa)return{'valid':!![],'data':_0x375701};const _0x379241=_0xb723fa[_0xf2dac4(_0x2c929b._0x55c8c6,0x6c4,_0x2c929b._0x3ada39,0x6cd)](_0x375701);function _0xf2dac4(_0xca5e92,_0xb8579c,_0x9fa002,_0x2ee282){return _0x577062(_0xca5e92-0x76,_0xca5e92,_0x9fa002-0x158,_0xb8579c-_0x58043d._0x368cfa);}if(_0x379241['success'])return{'valid':!![],'data':_0x379241[_0xf2dac4(0x4cb,_0x2c929b._0x5f4bd0,_0x2c929b._0x2b829f,_0x2c929b._0x3ccc6f)]};const _0x46e55a=_0x379241[_0x1dfd65(_0x2c929b._0x6948e0,_0x2c929b._0x569ed9,_0x2c929b._0x5401cc,_0x2c929b._0x18a596)][_0xf2dac4(_0x2c929b._0xb2cbec,_0x2c929b._0x3d2de1,0x53a,_0x2c929b._0x5b8550)]['map'](_0x49f1eb=>_0x49f1eb[_0xf2dac4(0x447,0x5b4,0x75f,0x468)][_0xf2dac4(0x498,0x67a,0x7d1,0x518)]('.')+':\x20'+_0x49f1eb[_0xf2dac4(0x5f3,0x44c,0x2f4,0x3b3)]);function _0x1dfd65(_0x1f9226,_0x34dd35,_0x1808ec,_0x40ac4c){return _0x1f0bf6(_0x1f9226-0xb8,_0x40ac4c,_0x1808ec-0xb2,_0x40ac4c-_0x1514e9._0x4c9a36);}return{'valid':![],'errors':_0x46e55a};}var toolValidators={'bash_tool':_0x293e58=>validateToolParams('bash_tool',_0x293e58),'file_read':_0x36710c=>validateToolParams('file_read',_0x36710c),'file_edit':_0x541e80=>validateToolParams(_0x577062(-0x1a,-0xf1,0x159,-0xbb),_0x541e80),'file_new':_0x3b1a21=>validateToolParams(_0x577062(0x68,0x40,0x17d,0xfb),_0x3b1a21),'ls_tool':_0x289861=>validateToolParams(_0x1f0bf6(0x2d4,0x2ea,0x239,0x49c),_0x289861),'web_search':_0x2c16d8=>validateToolParams(_0x1f0bf6(0x35b,0x42f,0x22b,0x58b),_0x2c16d8),'web_fetch':_0x4114ec=>validateToolParams(_0x577062(-0xae,-0x343,-0x478,-0x289),_0x4114ec),'todo_write':_0x306b90=>validateToolParams(_0x577062(0x108,-0x49,0xc3,0xfe),_0x306b90),'assign_task':_0x4a1457=>validateToolParams('assign_task',_0x4a1457),'glob_tool':_0x4bbb30=>validateToolParams(_0x1f0bf6(0x4cb,0x540,0x498,0x2d1),_0x4bbb30),'grep_tool':_0x326497=>validateToolParams(_0x1f0bf6(0x32e,0x427,0x1c1,0x2bc),_0x326497)};function convertToolCall(_0x29513f,_0x34ef03={}){const _0x1321e4={_0x181d7a:0x6b2,_0x29379e:0x4b9,_0x5ed100:0x2f5,_0x5f115a:0x425,_0x583f6a:0x289,_0x4c66c3:0x570,_0x26bf74:0x568,_0xe975ba:0x746,_0x444e86:0x369,_0x4f9de3:0x186,_0x5a48bb:0x313,_0x511918:0x285,_0xcfb4e6:0x5c1,_0x4d16d3:0x624,_0xcc4270:0x42a,_0x1c81c0:0x595,_0x6a0aa4:0x5f6,_0x82832a:0x84a,_0x4fe427:0x525,_0x4abf5f:0x5ba,_0x5aae6f:0x455,_0xa0aace:0x5c8,_0x56bd62:0x778,_0x58eb40:0x35c,_0x137df4:0x6b9,_0x6cc3c6:0x506,_0x3c0a44:0x568,_0x3572b0:0x649,_0x55aa90:0x67b,_0x537b92:0x527,_0x5e6631:0x4dd,_0x3e3c62:0x675,_0x5af672:0x32d,_0x41849f:0x48d,_0x577bfe:0x436,_0x3f9634:0x548,_0x2fdcec:0x2b4,_0x1aa85e:0x550,_0x578396:0x2bd,_0xd118b7:0x399,_0x68086d:0x41f,_0x3cb578:0x445,_0xdc0b09:0x1ed,_0x151e84:0x126,_0x5e569f:0x2c3,_0x1939ec:0x478,_0x4fafca:0x379,_0x381a2b:0x57e,_0x4ef5c5:0x472,_0x4d560f:0x411,_0x4507de:0x580,_0x39cd70:0xd6,_0x11ca73:0x69a,_0x2c03e8:0x56c,_0x2079ba:0x402,_0x6197d2:0x31c},_0x59e234={_0x5360f4:0xf3},_0x287094={_0x229d97:0x1b,_0x3c27a9:0x80,_0x1c5bb4:0x37b},{strict:strict=![],availableTools:_0x391053}=_0x34ef03;if(_0x391053&&!_0x391053[_0x44906a(_0x1321e4._0x181d7a,0x48c,_0x1321e4._0x29379e,0x6b9)](_0x29513f[_0x517bed(_0x1321e4._0x5ed100,_0x1321e4._0x5f115a,0xcf,_0x1321e4._0x583f6a)][_0x44906a(_0x1321e4._0x4c66c3,_0x1321e4._0x26bf74,0x71e,_0x1321e4._0xe975ba)]))return{'valid':![],'error':_0x44906a(_0x1321e4._0x444e86,_0x1321e4._0x4f9de3,_0x1321e4._0x5a48bb,_0x1321e4._0x511918)+_0x29513f[_0x44906a(0x541,0x379,0x15b,0x3ef)]['name']+'\x22\x20is\x20not\x20available.\x20Available\x20tools:\x20'+Array[_0x44906a(0x51f,0x2fe,0x19b,0x50f)](_0x391053)['join'](',\x20'),'errorType':'validation','callId':_0x29513f['id'],'toolName':_0x29513f[_0x44906a(0x57e,0x379,_0x1321e4._0xcfb4e6,0x135)][_0x44906a(_0x1321e4._0x4d16d3,0x568,0x618,_0x1321e4._0xcc4270)]};function _0x517bed(_0x4619c7,_0x2ef470,_0x308a71,_0x499b2b){return _0x577062(_0x4619c7-_0x287094._0x229d97,_0x4619c7,_0x308a71-_0x287094._0x3c27a9,_0x499b2b-_0x287094._0x1c5bb4);}function _0x44906a(_0x2048b7,_0x24bc18,_0x5bace1,_0x559e4a){return _0x1f0bf6(_0x24bc18-0xbc,_0x559e4a,_0x5bace1-_0x59e234._0x5360f4,_0x559e4a-0x13);}const _0x5dc14d=parseJSON(_0x29513f['function'][_0x44906a(_0x1321e4._0x1c81c0,_0x1321e4._0x6a0aa4,0x77c,_0x1321e4._0x82832a)]);if(!_0x5dc14d['success'])return{'valid':![],'error':_0x5dc14d[_0x517bed(_0x1321e4._0x4fe427,0x714,_0x1321e4._0x4abf5f,0x4f7)],'errorType':_0x44906a(_0x1321e4._0x5aae6f,_0x1321e4._0xa0aace,_0x1321e4._0x56bd62,0x601),'callId':_0x29513f['id'],'toolName':_0x29513f[_0x517bed(_0x1321e4._0x58eb40,0x31d,0x2a7,0x289)]['name'],'rawArguments':_0x29513f['function'][_0x517bed(0x62d,0x368,_0x1321e4._0x137df4,_0x1321e4._0x6cc3c6)]};const _0x56433b=_0x29513f['function'][_0x44906a(0x4f6,_0x1321e4._0x3c0a44,_0x1321e4._0x3572b0,_0x1321e4._0x55aa90)],_0x343956=_0x5dc14d[_0x44906a(_0x1321e4._0x537b92,_0x1321e4._0x5e6631,0x704,0x3e1)],_0x6bd7b=toolValidators[_0x56433b];if(_0x6bd7b){const _0x470466=_0x6bd7b(_0x343956);if(!_0x470466[_0x517bed(0x69f,_0x1321e4._0x3e3c62,_0x1321e4._0x5af672,_0x1321e4._0x41849f)]){if(strict)return{'valid':![],'error':_0x44906a(_0x1321e4._0x577bfe,0x51e,0x489,_0x1321e4._0x3f9634)+_0x470466[_0x517bed(0x48a,_0x1321e4._0x2fdcec,_0x1321e4._0x1aa85e,0x426)]['join'](';\x20'),'errorType':_0x44906a(_0x1321e4._0x578396,_0x1321e4._0xd118b7,_0x1321e4._0x68086d,0x1c9),'callId':_0x29513f['id'],'toolName':_0x29513f[_0x517bed(_0x1321e4._0x3cb578,_0x1321e4._0xdc0b09,_0x1321e4._0x151e84,_0x1321e4._0x583f6a)][_0x517bed(0x699,_0x1321e4._0x5e569f,0x3a1,_0x1321e4._0x1939ec)],'rawArguments':_0x29513f[_0x44906a(_0x1321e4._0xa0aace,_0x1321e4._0x4fafca,0x416,0x5c6)]['arguments']};console[_0x44906a(_0x1321e4._0x381a2b,0x480,0x358,_0x1321e4._0x4ef5c5)](_0x517bed(_0x1321e4._0x4d560f,_0x1321e4._0x4507de,0x52c,0x482)+_0x56433b+':',_0x470466['errors']);}}return{'valid':!![],'invocation':{'id':_0x29513f['id'],'name':_0x29513f[_0x517bed(_0x1321e4._0x39cd70,0x2c0,0x43f,0x289)][_0x44906a(_0x1321e4._0x11ca73,0x568,_0x1321e4._0x2c03e8,_0x1321e4._0x2079ba)],'parameters':_0x343956,'editInstruction':_0x29513f[_0x44906a(0x4b9,0x4cc,0x332,_0x1321e4._0x6197d2)]}};}function convertToolCalls(_0x494077,_0x287a4d={}){const _0x5415e9={_0x1c7654:0x620,_0x32d7ba:0x4bb,_0x4b30b9:0x5c8,_0x492191:0x240,_0x33742e:0x75c,_0x3e2268:0x60f,_0x47f2af:0x648,_0x3abfda:0x7b7,_0x4fca59:0x869,_0x3252e5:0x8b7,_0x4116e4:0x3da,_0x1aeb4a:0x4b8,_0x45c652:0x99a,_0x198a4d:0xa7f,_0x3b519d:0x170,_0x268e3f:0x357,_0xb7c27e:0x91e,_0x93a884:0x7c2,_0x4bd88b:0x4b8,_0x471c04:0x309,_0x6be6e2:0x809},_0x5e7776={_0x390994:0x6a},_0x542563={_0x4bcd29:0x39b},{strict:strict=![],throwOnError:throwOnError=!![]}=_0x287a4d;function _0x47dde7(_0xe1517f,_0x531ed6,_0x86c60b,_0x371067){return _0x1f0bf6(_0x86c60b-_0x542563._0x4bcd29,_0x531ed6,_0x86c60b-0x6e,_0x371067-0x173);}const _0x4080ae=[];for(const _0x323d52 of _0x494077){const _0x1f306d=convertToolCall(_0x323d52,{'strict':strict});if(!_0x1f306d['valid']){const _0x1dafa6='Tool\x20call\x20'+_0x1f306d[_0x475caa(0x375,_0x5415e9._0x1c7654,_0x5415e9._0x32d7ba,_0x5415e9._0x4b30b9)]+'\x20('+_0x1f306d['toolName']+_0x475caa(_0x5415e9._0x492191,0x35,0x283,0x226)+_0x1f306d[_0x475caa(0x71a,_0x5415e9._0x33742e,_0x5415e9._0x3e2268,0x5ec)];if(throwOnError)throw new Error(_0x1dafa6);console[_0x475caa(0x408,_0x5415e9._0x47f2af,_0x5415e9._0x3abfda,0x5ec)](_0x47dde7(0x808,_0x5415e9._0x4fca59,0x872,_0x5415e9._0x3252e5)+_0x1dafa6),_0x4080ae[_0x47dde7(0x436,_0x5415e9._0x4116e4,_0x5415e9._0x1aeb4a,0x414)]({'id':_0x1f306d[_0x47dde7(_0x5415e9._0x45c652,_0x5415e9._0x198a4d,0x8a2,0x692)],'name':_0x1f306d[_0x475caa(0x1fa,_0x5415e9._0x3b519d,0x1be,_0x5415e9._0x268e3f)],'parameters':{},'editInstruction':_0x323d52[_0x47dde7(0x958,_0x5415e9._0xb7c27e,0x7ab,_0x5415e9._0x93a884)]});}else _0x4080ae[_0x47dde7(0x70b,0x2a4,_0x5415e9._0x4bd88b,_0x5415e9._0x471c04)](_0x1f306d[_0x475caa(0x871,_0x5415e9._0x6be6e2,0x40c,0x61f)]);}function _0x475caa(_0x289f6a,_0x201589,_0x48eeb9,_0xaac0a6){return _0x1f0bf6(_0xaac0a6-0xc1,_0x201589,_0x48eeb9-0x144,_0xaac0a6-_0x5e7776._0x390994);}return _0x4080ae;}function convertToolCallsWithErrorHandling(_0x1a8cb8,_0x5817ed={}){const _0x116afd={_0x5c4bdb:0x46d,_0x1da92a:0x220,_0x1fa4d7:0x31a,_0x53a079:0x355,_0x556562:0x423,_0x1db163:0x1db,_0x26f934:0x46a,_0x5810d5:0x418,_0x7ab6d:0x35a,_0x9f76f:0x458,_0x5697ab:0x4d9,_0x3791a8:0x295,_0x5373a9:0x64,_0x5a7759:0x3f6,_0x5457b0:0x652,_0x4010fb:0x3a3,_0x394200:0x19a,_0x3399e1:0x1a4,_0x582f43:0x360,_0x36388b:0x638,_0x2694f9:0x55f,_0x2faf9d:0x66b,_0x4e8dc6:0x71c,_0x4cdb11:0x4bf,_0x38e07c:0x6b0},_0x37b597={_0x276dd8:0x10a,_0x2f1768:0x10d,_0x50eca1:0x4bc},{strict:strict=![],availableTools:_0x54c1a1}=_0x5817ed,_0x2a6d52=[],_0x37b1a0=[];function _0x3b73b1(_0x590ca0,_0x41082e,_0x30ce12,_0x229f50){return _0x577062(_0x590ca0-_0x37b597._0x276dd8,_0x30ce12,_0x30ce12-_0x37b597._0x2f1768,_0x590ca0-_0x37b597._0x50eca1);}for(const _0x5bd640 of _0x1a8cb8){const _0x6a6486=convertToolCall(_0x5bd640,{'strict':strict,'availableTools':_0x54c1a1});if(!_0x6a6486[_0x3ab3c7(0x40b,0x2b3,0x22c,_0x116afd._0x5c4bdb)]){const _0x137e4c=_0x6a6486[_0x3ab3c7(0x418,_0x116afd._0x1da92a,0x351,0x270)]==='validation'&&_0x54c1a1&&!_0x54c1a1[_0x3ab3c7(_0x116afd._0x1fa4d7,0x1c0,_0x116afd._0x53a079,0x1d2)](_0x5bd640[_0x3ab3c7(0x207,_0x116afd._0x556562,0x1e2,_0x116afd._0x1db163)][_0x3ab3c7(0x3f6,_0x116afd._0x26f934,0x62b,0x27e)])?'tool_not_found':_0x6a6486[_0x3ab3c7(_0x116afd._0x5810d5,_0x116afd._0x7ab6d,_0x116afd._0x9f76f,_0x116afd._0x5697ab)];_0x37b1a0[_0x3ab3c7(0x67,_0x116afd._0x3791a8,_0x116afd._0x5373a9,-0x8d)]({'id':_0x6a6486[_0x3b73b1(0x614,0x818,_0x116afd._0x5a7759,_0x116afd._0x5457b0)],'name':_0x6a6486[_0x3b73b1(_0x116afd._0x4010fb,_0x116afd._0x394200,_0x116afd._0x3399e1,_0x116afd._0x582f43)],'error':_0x6a6486[_0x3b73b1(_0x116afd._0x36388b,0x427,_0x116afd._0x2694f9,0x6b2)],'errorType':_0x137e4c});}else _0x2a6d52['push'](_0x6a6486[_0x3b73b1(_0x116afd._0x2faf9d,_0x116afd._0x4e8dc6,0x637,0x518)]);}function _0x3ab3c7(_0x27c9b0,_0xfb2fc0,_0x4a8e51,_0x4f6c7b){return _0x577062(_0x27c9b0-0x95,_0x4a8e51,_0x4a8e51-0x43,_0x27c9b0-0x2f9);}return{'success':!![],'invocations':_0x2a6d52,'errors':_0x37b1a0[_0x3b73b1(_0x116afd._0x4cdb11,0x697,_0x116afd._0x38e07c,0x392)]>0x0?_0x37b1a0:void 0x0};}var removeAttachmentTokens=(_0x4fcd1f,_0x20a91a)=>{const _0x4e3f66={_0x137f0b:0x1c9},_0x400cdd={_0xa53efe:0x2cd,_0x5d1142:0x782,_0x2bc152:0x32c,_0x12442d:0x22a,_0x2c7cbc:0x3a8},_0x3b5c28={_0x1358db:0xed};function _0xa05fdf(_0x18f281,_0x5b9583,_0x5d23bb,_0x222e80){return _0x1f0bf6(_0x222e80- -0x1be,_0x5b9583,_0x5d23bb-_0x3b5c28._0x1358db,_0x222e80-0x1c6);}return _0x20a91a[_0xa05fdf(0x6,-0x175,-_0x4e3f66._0x137f0b,0xe)]((_0x11673a,_0x1d1dfe)=>{function _0x4ea370(_0x2f2194,_0x306f99,_0x2edbee,_0xf20a41){return _0xa05fdf(_0x2f2194-0x44,_0x2f2194,_0x2edbee-0x29,_0xf20a41-0x25c);}function _0x108157(_0x267c9c,_0x2f7d34,_0x137939,_0x5ba62b){return _0xa05fdf(_0x267c9c-0xa,_0x267c9c,_0x137939-0x14e,_0x5ba62b-0x47c);}if(!_0x1d1dfe[_0x4ea370(_0x400cdd._0xa53efe,0x1bd,0x3b7,0x3a8)])return _0x11673a;return _0x11673a[_0x4ea370(0x764,_0x400cdd._0x5d1142,0x3eb,0x580)](_0x1d1dfe[_0x4ea370(_0x400cdd._0x2bc152,0x1ec,_0x400cdd._0x12442d,_0x400cdd._0x2c7cbc)])['join']('');},_0x4fcd1f);},makeImagePart=_0x1c94e0=>{const _0x509a0d={_0x1efc6a:0x14d,_0x51758a:0x214,_0x398a29:0x15,_0x3a0db7:0x30a,_0x2c68bc:0x43a,_0x55dfc8:0x2bc,_0x3a694a:0x2ea,_0x25468b:0x42f,_0x54654d:0x361,_0x50cc37:0xab,_0x21a842:0xc5,_0x21b521:0x3e,_0xebaa18:0x1fa,_0x13839a:0x404,_0x268f80:0x5b4,_0x5ba053:0x361,_0xabc143:0x3ba},_0x437441={_0xdedf45:0x1e9},_0x436346={_0x46883e:0x1c};function _0x2e6aae(_0x3d95a9,_0x5d16c1,_0x4f4126,_0x155be4){return _0x1f0bf6(_0x155be4- -0x1c2,_0x5d16c1,_0x4f4126-_0x436346._0x46883e,_0x155be4-0xe);}function _0x546ba4(_0x4a848e,_0x2efb2b,_0xff1795,_0x1c9017){return _0x1f0bf6(_0x2efb2b- -0x14b,_0x4a848e,_0xff1795-0x1a0,_0x1c9017-_0x437441._0xdedf45);}const _0x5c05bb=_0x1c94e0[_0x2e6aae(-0x4a,-_0x509a0d._0x1efc6a,_0x509a0d._0x51758a,-_0x509a0d._0x398a29)]??(_0x1c94e0[_0x2e6aae(_0x509a0d._0x3a0db7,_0x509a0d._0x2c68bc,_0x509a0d._0x55dfc8,_0x509a0d._0x3a694a)]?'Image\x20attachment:\x20'+_0x1c94e0[_0x546ba4(_0x509a0d._0x25468b,_0x509a0d._0x54654d,0x4bb,0x20b)]:void 0x0);return{'type':_0x2e6aae(0xa7,0xb6,-_0x509a0d._0x50cc37,-_0x509a0d._0x21a842),'data':_0x1c94e0['data'],'mimeType':_0x1c94e0[_0x2e6aae(-0x9a,-0xd3,-0x3a,-_0x509a0d._0x21b521)],'altText':_0x5c05bb,'source':_0x1c94e0[_0x546ba4(_0x509a0d._0xebaa18,_0x509a0d._0x13839a,0x31f,0x2ba)],'name':_0x1c94e0[_0x546ba4(_0x509a0d._0x268f80,_0x509a0d._0x5ba053,_0x509a0d._0xabc143,0x47f)]};},buildMessageParts=(_0x51f0f4,_0xe3cead)=>{const _0x198d91={_0x3c8322:0x12e,_0x95d8f:0xe0,_0x459b78:0x36b,_0x56f149:0x31f,_0x190aeb:0x3cd,_0x5a63eb:0x89,_0xba347a:0xfa,_0x2180f1:0x17,_0x2733ee:0x4e,_0x4e756d:0x241,_0x82b6e2:0xe1,_0x24aa05:0x174,_0x4fcac8:0x4c,_0x27e65f:0xea,_0x223013:0x309,_0x64d74c:0x1b5,_0x42ab08:0x2da,_0x3f8980:0x322,_0x2f4d9e:0x259,_0x104df1:0x50,_0xe642f7:0x1d2},_0xa98102={_0xa8415c:0x25,_0x110e57:0xdd},_0x2ac473={_0x54100f:0x33,_0x1cc1ac:0x19b};if(_0xe3cead[_0x4a46f6(-_0x198d91._0x3c8322,0x201,_0x198d91._0x95d8f,0x12)]===0x0)return _0x51f0f4?[{'type':_0x1fe7a5(_0x198d91._0x459b78,0x2bb,_0x198d91._0x56f149,0x241),'text':_0x51f0f4}]:[];let _0x220922=_0x51f0f4;const _0x3ca9cf=[],_0x176512=[];for(const _0x25e32c of _0xe3cead){const _0x372eab=_0x25e32c['token'];if(!_0x372eab){_0x176512[_0x4a46f6(-_0x198d91._0x190aeb,-0xed,-0x1b5,0x1d)](_0x25e32c);continue;}const _0x4ac8ff=_0x220922[_0x4a46f6(_0x198d91._0x5a63eb,-_0x198d91._0xba347a,-0x45,-0x12f)](_0x372eab);if(_0x4ac8ff===-0x1){_0x176512[_0x4a46f6(-0x19a,-0x2b3,-0x1b5,-_0x198d91._0x2180f1)](_0x25e32c);continue;}const _0x1e6202=removeAttachmentTokens(_0x220922[_0x4a46f6(-_0x198d91._0x2733ee,_0x198d91._0x4e756d,0x4e,_0x198d91._0x82b6e2)](0x0,_0x4ac8ff),_0xe3cead);_0x1e6202[_0x4a46f6(-0x170,-_0x198d91._0x24aa05,0xe0,_0x198d91._0x4fcac8)]>0x0&&_0x3ca9cf[_0x1fe7a5(0x257,0x109,_0x198d91._0x27e65f,0x19c)]({'type':_0x1fe7a5(0x413,0x343,_0x198d91._0x56f149,_0x198d91._0x223013),'text':_0x1e6202}),_0x3ca9cf[_0x4a46f6(-0x218,-0x347,-_0x198d91._0x64d74c,-0x359)](makeImagePart(_0x25e32c)),_0x220922=_0x220922[_0x1fe7a5(0x1ca,_0x198d91._0x42ab08,0x2ed,0xbd)](_0x4ac8ff+_0x372eab[_0x1fe7a5(0x487,0x4f3,0x37f,0x3c5)]);}const _0x4bddf2=removeAttachmentTokens(_0x220922,_0xe3cead);function _0x1fe7a5(_0x582fac,_0x1a6605,_0x9ae666,_0xc4a72b){return _0x1f0bf6(_0x9ae666- -_0x2ac473._0x54100f,_0x1a6605,_0x9ae666-_0x2ac473._0x1cc1ac,_0xc4a72b-0x58);}_0x4bddf2[_0x4a46f6(_0x198d91._0x3f8980,-0xbc,_0x198d91._0x95d8f,0x68)]>0x0&&_0x3ca9cf['push']({'type':_0x1fe7a5(_0x198d91._0x2f4d9e,0x4e3,0x31f,0x348),'text':_0x4bddf2});function _0x4a46f6(_0x5f2a66,_0x41f90d,_0x159066,_0x438902){return _0x577062(_0x5f2a66-_0xa98102._0xa8415c,_0x41f90d,_0x159066-0x10f,_0x159066-_0xa98102._0x110e57);}for(const _0x51eb97 of _0x176512){_0x3ca9cf[_0x4a46f6(-0x3dd,_0x198d91._0x104df1,-_0x198d91._0x64d74c,-_0x198d91._0xe642f7)](makeImagePart(_0x51eb97));}return _0x3ca9cf;},resolveDisplayText=(_0xd05891,_0x53e521,_0x477832)=>{const _0x574e7={_0x35bfc2:0x2dd,_0x128801:0xf2,_0x4d13db:0x154},_0x166417={_0x3ca754:0x247,_0x56cfc1:0x1bc,_0x12d826:0x506,_0x559a49:0x36a,_0xaf59b2:0x119,_0x1f5ed4:0x259,_0x21abdf:0x35e,_0x87caa2:0x54b,_0x4b86ef:0x525,_0x5ab1ea:0x3e1,_0x23f523:0x351,_0x52312e:0x126,_0x3ae9db:0xa2,_0x238368:0x57d,_0x2e4b2b:0x4f1,_0x1ac884:0x3ad,_0x402f97:0x252,_0x3a7802:0x3c1},_0x4d85b5={_0x4ab0ed:0x137,_0xa0e336:0x95},_0x2d7078={_0x4152c4:0x289,_0xef200e:0x5f};function _0x39c42c(_0x77e2b6,_0x10bc9f,_0x3d14dc,_0xfcd329){return _0x1f0bf6(_0x10bc9f- -_0x2d7078._0x4152c4,_0xfcd329,_0x3d14dc-0x18,_0xfcd329-_0x2d7078._0xef200e);}if(_0x477832&&_0x477832[_0x39c42c(-_0x574e7._0x35bfc2,-_0x574e7._0x128801,-0xdc,-0x26)]()[_0x33be2a(-_0x574e7._0x4d13db,0x98,0x1fd,0xb4)]>0x0)return _0x477832;let _0x31a751=_0xd05891;function _0x33be2a(_0x46d298,_0x467aaa,_0x5c5290,_0x5a75a6){return _0x577062(_0x46d298-0x1db,_0x46d298,_0x5c5290-_0x4d85b5._0x4ab0ed,_0x467aaa-_0x4d85b5._0xa0e336);}return _0x53e521['forEach']((_0x45d72e,_0x34028b)=>{const _0x3fd7bb={_0x385d48:0x17e,_0x2a52f6:0x298},_0x2df2dc={_0x4f1b85:0xbd,_0x24ff84:0x1f};function _0x42717c(_0x553303,_0x958bb3,_0x2e9b99,_0x373a71){return _0x39c42c(_0x553303-_0x2df2dc._0x4f1b85,_0x2e9b99-0x2ca,_0x2e9b99-_0x2df2dc._0x24ff84,_0x958bb3);}const _0x4d0db9=_0x45d72e['name']??_0x45d72e[_0x20b539(-0x61,0x5c,_0x166417._0x3ca754,_0x166417._0x56cfc1)]??_0x20b539(_0x166417._0x12d826,0x5a7,_0x166417._0x559a49,0x39d)+(_0x34028b+0x1),_0x19fe6d=_0x42717c(_0x166417._0xaf59b2,_0x166417._0x1f5ed4,_0x166417._0x21abdf,_0x166417._0x87caa2)+_0x4d0db9+']';function _0x20b539(_0x55c153,_0x1bdef1,_0x10eb38,_0x1cb7c9){return _0x39c42c(_0x55c153-_0x3fd7bb._0x385d48,_0x1cb7c9-_0x3fd7bb._0x2a52f6,_0x10eb38-0x1d9,_0x55c153);}_0x45d72e[_0x20b539(_0x166417._0x4b86ef,0x2ea,_0x166417._0x5ab1ea,0x319)]&&_0x31a751[_0x42717c(_0x166417._0x23f523,_0x166417._0x52312e,0x2e5,_0x166417._0x3ae9db)](_0x45d72e['token'])?_0x31a751=_0x31a751[_0x20b539(0x595,0x5db,_0x166417._0x238368,0x4f1)](_0x45d72e['token'])[_0x20b539(_0x166417._0x2e4b2b,0x4f2,0x349,_0x166417._0x1ac884)](_0x19fe6d):_0x31a751=_0x31a751[_0x20b539(0x44b,_0x166417._0x402f97,0x17c,_0x166417._0x3a7802)]>0x0?_0x31a751+'\x20'+_0x19fe6d:_0x19fe6d;}),_0x31a751;},AgentOrchestrator=class{constructor(_0x770cf7,_0x503818){const _0x5ddd61={_0x18f8d7:0x621,_0x5ab817:0x7e5,_0x2b528a:0x45b,_0x6879d8:0x5ec,_0x204191:0x43f,_0x14aa9d:0x491,_0x1bcbc8:0x529,_0x46a67f:0x49e,_0x4aeb6c:0x255,_0x5daab2:0x268,_0x29b0d8:0x89a,_0x121715:0x870,_0x960a56:0x52f,_0x1dbac1:0x580,_0x1fe26a:0x290,_0x9d80ff:0x41d,_0x197acb:0x47f,_0x229a0d:0x5c3,_0x1ca94f:0x597,_0x457640:0x44c,_0x3cfd53:0x624,_0x187b5b:0x5d6,_0x4ac88d:0x5bf,_0x25e18a:0x6b6,_0x4ff8de:0x42a,_0x3247a3:0x50d,_0xa3ebd6:0x6ee,_0x5e12fa:0x69e,_0x22baa2:0x43d,_0x1778d1:0x628,_0x39941d:0x85e,_0x1fa4ef:0x5b4,_0xb6e65b:0x6b8,_0x563f42:0x6d6,_0x320588:0x691,_0x288b9d:0x563,_0x2bff6e:0x742,_0x6701b7:0x3ca,_0x5484b6:0x696,_0x5afffe:0x608,_0x576e1d:0x302,_0x4e1d70:0x41f,_0x59bd98:0x3e5,_0x2e9d89:0x302,_0x3d4c45:0x4af,_0x538b45:0x4f2,_0x228a51:0x6bc,_0x18d75a:0x442,_0x40ad01:0x7c4,_0x9c68ce:0x6d3,_0x418066:0x62b},_0x526fc5={_0x3bcd8b:0x11d},_0x345057={_0x410b73:0x128,_0x4b035d:0x144};this[_0x31605e(_0x5ddd61._0x18f8d7,0x6ff,_0x5ddd61._0x5ab817,_0x5ddd61._0x2b528a)]=_0x770cf7,this[_0x533c86(_0x5ddd61._0x6879d8,0x3c2,0x60a,0x3de)]=_0x503818[_0x533c86(0x5ec,_0x5ddd61._0x204191,0x4c1,_0x5ddd61._0x14aa9d)],this[_0x31605e(0x49e,_0x5ddd61._0x1bcbc8,0x496,0x284)]=_0x503818[_0x31605e(_0x5ddd61._0x46a67f,_0x5ddd61._0x4aeb6c,_0x5ddd61._0x5daab2,0x69c)],this['llm']=_0x503818[_0x31605e(0x80d,0x85d,_0x5ddd61._0x29b0d8,_0x5ddd61._0x121715)],this[_0x31605e(_0x5ddd61._0x960a56,0x484,_0x5ddd61._0x1dbac1,0x73e)]=_0x503818[_0x533c86(0x45f,0x315,_0x5ddd61._0x1fe26a,_0x5ddd61._0x9d80ff)]??this[_0x533c86(0x45f,0x43f,_0x5ddd61._0x197acb,_0x5ddd61._0x229a0d)];function _0x31605e(_0x3422e0,_0x184a4a,_0x37f86e,_0x42efc7){return _0x1f0bf6(_0x3422e0-0x2dc,_0x42efc7,_0x37f86e-_0x345057._0x410b73,_0x42efc7-_0x345057._0x4b035d);}this[_0x533c86(0x624,0x5f5,_0x5ddd61._0x1ca94f,_0x5ddd61._0x457640)]=_0x503818[_0x533c86(_0x5ddd61._0x3cfd53,_0x5ddd61._0x187b5b,_0x5ddd61._0x4ac88d,0x84e)]??this[_0x533c86(0x624,_0x5ddd61._0x25e18a,0x777,_0x5ddd61._0x4ff8de)];function _0x533c86(_0x2def6d,_0x11656c,_0x5ccd85,_0x1f23fb){return _0x1f0bf6(_0x2def6d-0x20c,_0x1f23fb,_0x5ccd85-0x5b,_0x1f23fb-_0x526fc5._0x3bcd8b);}this['clock']=_0x503818[_0x31605e(_0x5ddd61._0x3247a3,_0x5ddd61._0xa3ebd6,0x433,_0x5ddd61._0x5e12fa)]??this[_0x533c86(_0x5ddd61._0x22baa2,_0x5ddd61._0x1778d1,0x600,0x239)],this[_0x533c86(0x631,_0x5ddd61._0x39941d,0x69f,_0x5ddd61._0x1fa4ef)]=_0x503818[_0x533c86(0x631,_0x5ddd61._0xb6e65b,_0x5ddd61._0x563f42,_0x5ddd61._0x320588)]??this['cost'],this[_0x31605e(_0x5ddd61._0x288b9d,_0x5ddd61._0x2bff6e,_0x5ddd61._0x6701b7,0x58d)]=_0x503818[_0x31605e(_0x5ddd61._0x288b9d,0x38c,_0x5ddd61._0x5484b6,_0x5ddd61._0x5afffe)]??this['reminders'],this[_0x533c86(_0x5ddd61._0x576e1d,0xb2,_0x5ddd61._0x4e1d70,_0x5ddd61._0x59bd98)]=_0x503818[_0x533c86(_0x5ddd61._0x2e9d89,0x393,0x331,_0x5ddd61._0x3d4c45)]??this[_0x31605e(0x3d2,0x1e6,0x614,0x1b0)],this[_0x533c86(0x59b,_0x5ddd61._0x538b45,0x62f,_0x5ddd61._0x228a51)]=_0x503818[_0x533c86(0x59b,_0x5ddd61._0x18d75a,0x43f,_0x5ddd61._0x40ad01)]??this[_0x533c86(0x59b,_0x5ddd61._0x9c68ce,0x7df,_0x5ddd61._0x418066)];}[_0x1f0bf6(0x1b2,0x351,0x146,0x3a2)]=new Map();['context']=new SimpleContextBuilder();[_0x1f0bf6(0x418,0x48b,0x666,0x51e)]=new SimpleId();[_0x1f0bf6(0x231,0x80,0x87,0x2fe)]=new SystemClock();[_0x1f0bf6(0x425,0x32d,0x396,0x224)]=new SimpleCost();[_0x1f0bf6(0x287,0x3d2,0x24e,0x395)]=new NoopReminders();[_0x577062(-0x261,-0x34e,-0x133,-0x2b9)]=new NoopMetricsPort();[_0x577062(0x15e,0x177,0x1fa,-0x20)]=new NoopEventPort();[_0x1f0bf6(0x531,0x3c4,0x446,0x2df)];[_0x1f0bf6(0x1c2,0x46,0x13a,0x169)];[_0x1f0bf6(0x3e0,0x23d,0x375,0x542)];['updateConfig'](_0xd3000d){const _0x30b0d4={_0x392f73:0x6d7,_0x164c9f:0x7fb,_0x3bdbfc:0x7ac,_0x35ce21:0x6be},_0x56ef65={_0x212b76:0x510};function _0x24a65d(_0x427bbd,_0x57e114,_0xd9e206,_0x3fa5a8){return _0x1f0bf6(_0xd9e206-0x379,_0x3fa5a8,_0xd9e206-0x113,_0x3fa5a8-0xd4);}function _0x3fa96b(_0x13abe7,_0x22c199,_0x212246,_0xf1e42e){return _0x577062(_0x13abe7-0xe6,_0x212246,_0x212246-0x8d,_0xf1e42e-_0x56ef65._0x212b76);}this[_0x3fa96b(0x67d,_0x30b0d4._0x392f73,0x6c9,0x4a6)]={...this[_0x24a65d(_0x30b0d4._0x164c9f,_0x30b0d4._0x3bdbfc,_0x30b0d4._0x35ce21,0x5f4)],..._0xd3000d};}['setLLM'](_0x34ef0a){this['llm']=_0x34ef0a;}[_0x1f0bf6(0x4ba,0x6df,0x34c,0x522)](_0x2aa431){this['tools']=_0x2aa431;}[_0x1f0bf6(0x466,0x66a,0x43b,0x47e)](){const _0x1b2fd8={_0x527bf2:0x118,_0x4d0f81:0x1df,_0x5f19ed:0x124},_0x34c302={_0x4278d6:0x2da,_0xf1bfe6:0xc3};function _0x4293b0(_0x4f97f6,_0x234abc,_0x31597e,_0x8d99de){return _0x1f0bf6(_0x4f97f6- -_0x34c302._0x4278d6,_0x8d99de,_0x31597e-_0x34c302._0xf1bfe6,_0x8d99de-0xd0);}return this[_0x4293b0(-_0x1b2fd8._0x527bf2,-_0x1b2fd8._0x4d0f81,_0x1b2fd8._0x5f19ed,-0x19a)];}[_0x1f0bf6(0x211,0xec,0x2c7,0x311)](){const _0x18b6dd={_0x464fba:0x64e,_0x44eb7b:0x4d8},_0x28257e={_0x5c299d:0x15c,_0x5ed8dd:0x4a5};function _0x3a79a8(_0x15bb6d,_0x5258d8,_0x3a7f98,_0x6fe516){return _0x577062(_0x15bb6d-0x108,_0x3a7f98,_0x3a7f98-_0x28257e._0x5c299d,_0x15bb6d-_0x28257e._0x5ed8dd);}return this[_0x3a79a8(0x627,_0x18b6dd._0x464fba,_0x18b6dd._0x44eb7b,0x822)];}[_0x577062(-0x43,0x281,0x5,0xed)](){return this['cfg'];}[_0x1f0bf6(0x1a7,0x20b,0x2d,0x27a)](_0x5ce3cc){this['memory']=_0x5ce3cc;}[_0x577062(-0x24f,-0x1cf,0xc3,-0x15d)](_0x4aa377){this['events']=_0x4aa377;}[_0x577062(-0x2a4,-0x324,-0xa1,-0x251)](_0x30c286){const _0x3d4a9c={_0x519241:0x84,_0x2f81d8:0x2e},_0x1260c9={_0x1d9d14:0x86};function _0x16931d(_0x4dcf2b,_0x1ff8ac,_0x3b403b,_0x2bda05){return _0x577062(_0x4dcf2b-_0x1260c9._0x1d9d14,_0x4dcf2b,_0x3b403b-0x13f,_0x2bda05-0x2a9);}this[_0x16931d(-_0x3d4a9c._0x519241,0x17e,-_0x3d4a9c._0x2f81d8,-0x10)]=_0x30c286;}[_0x1f0bf6(0x214,0x40d,0xda,0x17c)](){return this['metrics'];}['shouldBypassApproval'](_0x5a07ce){const _0x47acf4={_0x3a8ade:0x751,_0x2fbd12:0x33d,_0x9e56a5:0x2ad,_0xa6e9e4:0x2d3,_0x5e1e32:0x2db,_0x555132:0x801,_0x173978:0x5cc,_0x44841c:0x3f6,_0x64a0b6:0x543},_0x3110b4={_0x2b519e:0x328,_0x4734cf:0x4e,_0x46881f:0x1b1},_0x2cd14d={_0x194e82:0x95},_0x12f4af=[_0x28c94d(0x669,0x531,0x4d4,_0x47acf4._0x3a8ade),'ls_tool','web_search','web_fetch',_0x167f52(_0x47acf4._0x2fbd12,0x1b3,0x261,_0x47acf4._0x9e56a5),'grep_tool'],_0x47e71c=['todo_write',_0x167f52(_0x47acf4._0xa6e9e4,0x434,0x388,_0x47acf4._0x5e1e32)];function _0x167f52(_0x2e7453,_0x3f7bca,_0x443cbe,_0x2ce664){return _0x1f0bf6(_0x2e7453- -0x18e,_0x2ce664,_0x443cbe-0x1b4,_0x2ce664-_0x2cd14d._0x194e82);}function _0x28c94d(_0x5a776e,_0x28ea3d,_0x57caa5,_0x5d4307){return _0x1f0bf6(_0x28ea3d-_0x3110b4._0x2b519e,_0x5a776e,_0x57caa5-_0x3110b4._0x4734cf,_0x5d4307-_0x3110b4._0x46881f);}return _0x12f4af['includes'](_0x5a07ce)||_0x47e71c[_0x28c94d(_0x47acf4._0x555132,_0x47acf4._0x173978,_0x47acf4._0x44841c,_0x47acf4._0x64a0b6)](_0x5a07ce);}async['handleToolDenial'](_0x188440,_0x442981,_0xb23b25,_0x3ec668,_0x48eb80,_0x55fc50,_0x1931bd,_0x5da03b,_0x4ffa0d,_0x5d0e8a){const _0x3af482={_0x4515fb:0x778,_0x3c4a54:0x4d4,_0x54c0c4:0x1e2,_0x17bdc5:0x3e5,_0x4c249c:0x1f1,_0x49f654:0x2e7,_0x28fab5:0x506,_0x4afa5e:0x345,_0x3fdfe1:0x1ac,_0x4100b8:0x5b6,_0x47e1bc:0x2b3,_0x35d0be:0x311,_0x5a4715:0x3dc,_0x3ba756:0x46c,_0xb6e6df:0x1cb,_0x3ed8f4:0x2ee,_0x30a3ee:0x358,_0x92286b:0x1e6,_0xd15372:0x231,_0x59503b:0x10f,_0x1fc5f5:0x1b0,_0x34b38a:0x243,_0x1840d8:0x47e,_0x6d8bc6:0x1f8,_0x16e7f0:0x3d1,_0x1b98e0:0x7aa,_0x1810f1:0x6ba,_0x3b7611:0x3ac,_0x5dda6d:0x1fb,_0x244d64:0xc0,_0x9ea299:0x42f,_0x421b43:0x26e,_0x41969c:0x398,_0x54e583:0x41c,_0x408389:0x2b0,_0x4016ce:0x66e,_0x108712:0x4e7,_0x1eed5d:0x63f,_0x215260:0x460,_0xcba5c4:0x403,_0x299446:0x41b,_0x2088da:0x3b5,_0x2d92ee:0x231,_0x216edb:0x55a,_0x1d14d4:0x4a3,_0x593f5d:0x25b,_0x599c5b:0x9ab,_0x3f30a3:0x6ae,_0x448c9e:0x77c,_0x3c0819:0x20f,_0x5bc771:0x797,_0xef548b:0x730,_0x3f8ff6:0x543,_0x31f056:0x7a3,_0x3a33e3:0x487,_0x4849ab:0x1ff,_0x3b8ff9:0x31a,_0x169a99:0x542,_0xd65df4:0x513,_0x4feb5c:0x7fd,_0x381e3f:0x612,_0x26c40a:0x650,_0x2b1cab:0x4c1,_0x1d6128:0x419,_0xf0b487:0x4d3,_0x55847e:0x3b1,_0x598827:0x224,_0x16c650:0x3e5,_0x31e33e:0x2fa,_0x24bb58:0x760,_0x1e32f2:0x52f,_0xc0498f:0x44d,_0xdc3606:0x488,_0x4885a5:0x65e,_0x2b5140:0x50d,_0x5602e0:0xa28,_0xb03ecd:0x5a6,_0xdad29e:0x631,_0xc63f5c:0x495,_0x32b060:0x683,_0x356bd7:0x718,_0x5ee334:0x323,_0x252e38:0x1fe,_0x22fbe4:0x788,_0x328f2f:0x6e3,_0x14e563:0x5ea},_0xd80f51={_0x55b5ea:0x66},_0x3313c4={_0x38ce4d:0x1},_0x5a070d=[..._0x55fc50,..._0x4ffa0d||[]],_0x192f11={'id':this[_0x12f01a(_0x3af482._0x4515fb,_0x3af482._0x3c4a54,0x52c,0x67b)][_0x12f01a(0x44c,_0x3af482._0x54c0c4,_0x3af482._0x17bdc5,0x43f)](),'role':_0x12f01a(_0x3af482._0x4c249c,0x2dd,_0x3af482._0x49f654,_0x3af482._0x28fab5),'content':_0x1931bd??null,'timestamp':this[_0x12f01a(0x2b7,0x4e8,_0x3af482._0x4afa5e,_0x3af482._0x3fdfe1)][_0x233be6(0x384,_0x3af482._0x4100b8,0x525,0x4c1)](),'tool_calls':_0x5a070d,'usage':_0x5da03b};_0x3ec668[_0x233be6(_0x3af482._0x47e1bc,0x41b,_0x3af482._0x35d0be,_0x3af482._0x5a4715)]({'role':_0x12f01a(_0x3af482._0x3ba756,0x2b0,0x2e7,_0x3af482._0xb6e6df),'content':_0x1931bd??null,'tool_calls':_0x5a070d}),_0x48eb80[_0x12f01a(_0x3af482._0x3ed8f4,0x38a,0x231,_0x3af482._0x30a3ee)](_0x192f11);const _0x49cad5=[];for(const _0x4e59ca of _0x55fc50){const _0x100b13='Tool\x20execution\x20denied\x20by\x20user';_0x3ec668[_0x12f01a(_0x3af482._0x92286b,0x421,_0x3af482._0xd15372,_0x3af482._0x59503b)]({'role':_0x233be6(_0x3af482._0x1fc5f5,_0x3af482._0x17bdc5,_0x3af482._0x34b38a,_0x3af482._0x1840d8),'content':_0x100b13,'tool_call_id':_0x4e59ca['id'],'name':_0x4e59ca[_0x12f01a(0x21c,_0x3af482._0x6d8bc6,_0x3af482._0x16e7f0,0x24d)][_0x233be6(0x6c2,_0x3af482._0x1b98e0,0x958,_0x3af482._0x1810f1)]});const _0x4ef3b3={'id':_0x4e59ca['id'],'role':_0x12f01a(_0x3af482._0x3b7611,0x3ae,_0x3af482._0x5dda6d,_0x3af482._0x244d64),'content':_0x100b13,'timestamp':this[_0x12f01a(_0x3af482._0x9ea299,_0x3af482._0x421b43,_0x3af482._0x4afa5e,_0x3af482._0x41969c)]['iso'](),'tool_call_id':_0x4e59ca['id'],'name':_0x4e59ca[_0x12f01a(_0x3af482._0x54e583,_0x3af482._0x408389,0x3d1,0x3f8)][_0x12f01a(0x4a9,_0x3af482._0x4016ce,0x5c0,0x7dd)],'status':_0x12f01a(_0x3af482._0x108712,0x7ae,_0x3af482._0x1eed5d,_0x3af482._0x215260),'durationMs':0x0,'metadata':{'errorReason':_0x233be6(0x412,0x3e9,_0x3af482._0xcba5c4,0x63e)}};_0x48eb80[_0x233be6(0x23a,_0x3af482._0x299446,0x327,0x617)](_0x4ef3b3),_0x49cad5[_0x12f01a(_0x3af482._0x2088da,0x2ce,_0x3af482._0x2d92ee,0x4)](_0x4ef3b3),await this[_0x12f01a(_0x3af482._0x216edb,0x4eb,_0x3af482._0x1d14d4,_0x3af482._0x593f5d)]?.[_0x233be6(_0x3af482._0x599c5b,0x7d4,_0x3af482._0x3f30a3,_0x3af482._0x448c9e)]({'type':AgentEventTypes['ToolResult'],'conversationId':_0x442981,'messageId':_0xb23b25,'result':{'id':_0x4e59ca['id'],'name':_0x4e59ca[_0x12f01a(0x2ae,0x572,0x3d1,_0x3af482._0x3c0819)][_0x233be6(0x62b,0x7aa,_0x3af482._0x5bc771,0x939)],'status':_0x12f01a(_0x3af482._0xef548b,_0x3af482._0x3f8ff6,0x63f,_0x3af482._0x31f056),'type':_0x233be6(_0x3af482._0x3a33e3,0x650,0x4c3,0x525),'result':_0x100b13,'durationMs':0x0,'metadata':{'errorReason':_0x12f01a(0x2cb,0x8f,_0x3af482._0x4849ab,_0x3af482._0x3b8ff9)}}});}const _0xfdf663=[];if(_0x5d0e8a)for(const _0x288a59 of _0x5d0e8a){let _0x4b115c;if(_0x288a59[_0x12f01a(0x416,0x7a1,0x621,0x55e)]==='error')_0x4b115c=_0x288a59[_0x233be6(0x67e,_0x3af482._0x169a99,0x377,_0x3af482._0xd65df4)];else _0x288a59[_0x12f01a(_0x3af482._0x4feb5c,0x5ee,_0x3af482._0x381e3f,0x662)]===_0x233be6(0x609,_0x3af482._0x26c40a,_0x3af482._0x2b1cab,_0x3af482._0x1d6128)?_0x4b115c=_0x288a59[_0x12f01a(0x2e8,0x447,0x358,0x532)]:_0x4b115c=JSON['stringify'](_0x288a59[_0x233be6(_0x3af482._0xf0b487,_0x3af482._0x169a99,0x746,0x337)],null,0x2);_0xfdf663[_0x233be6(_0x3af482._0x55847e,0x41b,0x3f4,0x3ed)]({'id':_0x288a59['id'],'role':_0x233be6(_0x3af482._0x598827,_0x3af482._0x16c650,_0x3af482._0x31e33e,0x44c),'content':_0x4b115c,'timestamp':this[_0x233be6(_0x3af482._0x24bb58,_0x3af482._0x1e32f2,_0x3af482._0xc0498f,_0x3af482._0xdc3606)][_0x233be6(0x4ee,0x5b6,_0x3af482._0x4885a5,0x4a8)](),'tool_call_id':_0x288a59['id'],'name':_0x288a59[_0x12f01a(0x4b9,_0x3af482._0x2b5140,0x5c0,0x759)],'status':_0x288a59[_0x233be6(_0x3af482._0x5602e0,0x80b,0x9ef,0x8e9)],'durationMs':_0x288a59['durationMs'],'metadata':_0x288a59[_0x233be6(_0x3af482._0xb03ecd,_0x3af482._0xdad29e,_0x3af482._0xc63f5c,_0x3af482._0x32b060)]});}function _0x12f01a(_0x37faec,_0x14c10c,_0x9a1c69,_0x52e36c){return _0x1f0bf6(_0x9a1c69-0x114,_0x14c10c,_0x9a1c69-0x15a,_0x52e36c-_0x3313c4._0x38ce4d);}function _0x233be6(_0x176250,_0x4f513f,_0x5c44d0,_0x48add0){return _0x1f0bf6(_0x4f513f-0x2fe,_0x5c44d0,_0x5c44d0-_0xd80f51._0x55b5ea,_0x48add0-0x91);}await this[_0x233be6(0x7f7,0x6de,_0x3af482._0x356bd7,0x8ee)][_0x12f01a(0x3cb,_0x3af482._0x5ee334,_0x3af482._0x252e38,0x86)](_0x442981,[_0x192f11,..._0x49cad5,..._0xfdf663]),await this['events']?.[_0x12f01a(_0x3af482._0x22fbe4,_0x3af482._0x328f2f,_0x3af482._0x14e563,0x765)]({'type':AgentEventTypes[_0x233be6(0x1c0,0x3e1,0x258,0x5e0)],'conversationId':_0x442981,'messageId':_0xb23b25,'content':_0x188440,'usage':void 0x0});}async['processToolApproval'](_0x2a7859,_0x125263,_0x54fd57,_0x3d99cb,_0x3319d0,_0x174000,_0x4327b5,_0x4ec37f){const _0x234335={_0x46c2ca:0x123,_0x33ba1c:0xa13,_0x2dc609:0x92c,_0x115962:0x583,_0x1e8b1a:0x105,_0x59414a:0x154,_0x5cf81b:0x64,_0xa1ae8f:0x82,_0x6e3411:0x1d9,_0x3971a9:0x5f6,_0x5e8f90:0x192,_0x1988cb:0x37b,_0x28527f:0x2d8,_0xb9d909:0x156,_0x252789:0x59},_0x18fa4e={_0x344856:0x512,_0x32b82f:0x40d,_0x138323:0x4c5,_0x18419e:0x3d7,_0x417e64:0x74d,_0x2e599c:0x5b9,_0x3bc2ba:0xa52,_0x4494e5:0x664,_0x5b3aeb:0x7cb,_0x2fbb3d:0x64e,_0x3fa146:0x68a,_0x348c11:0x413,_0x3b516d:0x59a,_0x2a3d38:0x68c,_0x95bbe4:0x4a4,_0x5cc8c1:0x6d4,_0x369c15:0x622,_0xc1a172:0x386,_0x51fa83:0x5ca,_0x38dd81:0x6f8,_0x3aca06:0x3e6,_0x4efd89:0x57a},_0x540a7d={_0x79363:0x26,_0x4bf7a5:0x45},_0x4df2c9={_0x4b360f:0x360,_0x7e5033:0x18};if(this[_0x575b4a(_0x234335._0x46c2ca,0x250,0x30,-0x118)][_0x4b868a(0x8c0,_0x234335._0x33ba1c,0x985,_0x234335._0x2dc609)]===![])return{'approvedCalls':_0x2a7859,'bypassCalls':[],'bypassResults':[],'wasDenied':![]};const _0x2519cd=_0x2a7859[_0x4b868a(0x687,0x886,_0x234335._0x115962,0x4e1)](_0x4ae0e1=>!this[_0x575b4a(0x2ec,0x32b,0x4c0,0x354)](_0x4ae0e1[_0x4b868a(0x61d,0x58a,0x582,0x418)][_0x4b868a(0x80c,0x892,0xa5f,0x694)]));function _0x4b868a(_0x55bd7a,_0x3a873d,_0x9884ed,_0x2ca691){return _0x1f0bf6(_0x55bd7a-_0x4df2c9._0x4b360f,_0x9884ed,_0x9884ed-0x1d7,_0x2ca691-_0x4df2c9._0x7e5033);}const _0x5596a1=_0x2a7859[_0x575b4a(_0x234335._0x1e8b1a,0x2b9,0x134,_0x234335._0x59414a)](_0x45c83a=>this[_0x575b4a(0x2ec,0x23d,0x9f,0x303)](_0x45c83a[_0x575b4a(0x9b,0x37,0x15f,-0xdf)][_0x575b4a(0x28a,0x1b3,0x20d,0x334)]));function _0x575b4a(_0x54f070,_0x5f3d1e,_0x13b934,_0x266680){return _0x577062(_0x54f070-_0x540a7d._0x79363,_0x13b934,_0x13b934-_0x540a7d._0x4bf7a5,_0x54f070-0x18d);}if(_0x2519cd['length']===0x0)return{'approvedCalls':_0x5596a1,'bypassCalls':[],'bypassResults':[],'wasDenied':![]};const _0xc4799c=async()=>{const _0x5400de={_0xd23e3d:0x1b,_0x1bb5fa:0x1a},_0x50556e={_0x1cd933:0x2c};if(_0x5596a1['length']===0x0)return[];function _0x4c9185(_0x534c3e,_0x2bba46,_0x222d8e,_0x2bcd8e){return _0x575b4a(_0x2bcd8e-0x316,_0x2bba46-0x4e,_0x2bba46,_0x2bcd8e-_0x50556e._0x1cd933);}const _0xcc5a40=this[_0x42723f(_0x18fa4e._0x344856,0x5f2,0x2db,_0x18fa4e._0x32b82f)](),_0xadec68=convertToolCallsWithErrorHandling(_0x5596a1,{'strict':this['cfg'][_0x42723f(0x64b,0x5ba,0x443,_0x18fa4e._0x138323)]??![],'availableTools':_0xcc5a40}),_0xd92956=await this[_0x42723f(_0x18fa4e._0x18419e,_0x18fa4e._0x417e64,_0x18fa4e._0x2e599c,0x507)]['executeToolCalls'](_0xadec68[_0x42723f(0x976,_0x18fa4e._0x3bc2ba,_0x18fa4e._0x4494e5,0x866)],{'conversationId':_0x125263,'agentId':this[_0x42723f(_0x18fa4e._0x5b3aeb,0x5f0,0x76b,0x68a)]['id'],'messageId':_0x54fd57,'eventPort':this['events']},this[_0x42723f(0x697,_0x18fa4e._0x2fbb3d,0x6d8,_0x18fa4e._0x3fa146)][_0x42723f(0x7cd,_0x18fa4e._0x348c11,0x3a1,_0x18fa4e._0x3b516d)]??0x3,_0x4ec37f);function _0x42723f(_0x58f32e,_0x30fea4,_0x14781e,_0x1a2cb2){return _0x4b868a(_0x1a2cb2- -_0x5400de._0xd23e3d,_0x30fea4-_0x5400de._0x1bb5fa,_0x30fea4,_0x1a2cb2-0xf3);}for(const _0x20c67e of _0xd92956){await this[_0x42723f(_0x18fa4e._0x2a3d38,0x4d7,_0x18fa4e._0x95bbe4,_0x18fa4e._0x5cc8c1)]?.[_0x4c9185(_0x18fa4e._0x369c15,0x4d1,_0x18fa4e._0xc1a172,_0x18fa4e._0x51fa83)]({'type':AgentEventTypes[_0x42723f(_0x18fa4e._0x38dd81,0x5ef,_0x18fa4e._0x3aca06,_0x18fa4e._0x4efd89)],'conversationId':_0x125263,'messageId':_0x54fd57,'result':_0x20c67e});}return _0xd92956;};let _0x561f9a=[];_0x5596a1['length']>0x0&&(_0x561f9a=await _0xc4799c());try{const _0x9a7f21=await this[_0x575b4a(-_0x234335._0x5cf81b,-0x4b,_0x234335._0xa1ae8f,0x19f)](_0x2519cd,_0x125263,_0x54fd57);if(_0x575b4a(0x1ee,_0x234335._0x6e3411,0x2a9,0x3da)in _0x9a7f21){const _0x3f1b78=_0x9a7f21[_0x4b868a(0x770,0x94f,_0x234335._0x3971a9,0x99f)],_0x1de0cb=_0x2519cd[_0x575b4a(_0x234335._0x5e8f90,_0x234335._0x1988cb,0x15c,_0x234335._0x28527f)](_0x449d3d=>({..._0x449d3d,'editInstruction':_0x3f1b78}));return{'approvedCalls':_0x1de0cb,'bypassCalls':_0x5596a1,'bypassResults':_0x561f9a,'wasDenied':![]};}return{'approvedCalls':_0x9a7f21,'bypassCalls':_0x5596a1,'bypassResults':_0x561f9a,'wasDenied':![]};}catch(_0x3c31c7){const _0x367809=_0x3c31c7 instanceof Error?_0x3c31c7[_0x4b868a(0x4d0,0x2e8,0x5b9,0x3e5)]:_0x575b4a(-0x139,-0xae,0x3c,-_0x234335._0xb9d909),_0x1f8539='Tool\x20execution\x20was\x20not\x20approved:\x20'+_0x367809;return await this[_0x575b4a(0x1cb,_0x234335._0x252789,0xc3,0x16)](_0x1f8539,_0x125263,_0x54fd57,_0x3d99cb,_0x3319d0,_0x2519cd,_0x174000,_0x4327b5,_0x5596a1,_0x561f9a),{'approvedCalls':[],'bypassCalls':_0x5596a1,'bypassResults':_0x561f9a,'wasDenied':!![],'denialMessage':_0x1f8539};}}async[_0x577062(-0x45b,-0x4c,-0xe4,-0x214)](_0x3ae072,_0x370b6c={}){const _0x1fa267={_0x4222a3:0x138,_0x3cc941:0x2ad,_0x68733d:0x165,_0x4892fd:0x143,_0x39ec82:0xbc,_0x1300e0:0x275,_0x561039:0x1ed,_0x5f0df4:0x131,_0x4e5438:0x29e,_0x413c36:0x3d,_0x29f98c:0x14d,_0x1c1837:0x1b5,_0xf87927:0x43,_0x245299:0x4f,_0x31aa89:0x20b,_0x224cf9:0x485,_0x31fc43:0x4b7,_0x247c6c:0xca,_0x232a8c:0x5f,_0x4a5c27:0x2c6,_0x1f5965:0x45,_0x256972:0xa,_0x5b47f9:0x344,_0xea8ce4:0x222,_0x5ee257:0x32e,_0x57f2fd:0x205,_0x217093:0x257,_0x2381cc:0x26b,_0x311cc9:0x96,_0x21cf25:0x440,_0x3df87f:0x348,_0x452ebd:0x3b0,_0x75117f:0x1c5,_0x33cdee:0x1e1,_0x5c3a91:0x9e,_0x47be80:0x26b,_0x46a09a:0x282,_0x503a13:0x3b7,_0x546840:0x476,_0x1dec9a:0x387,_0x501cbd:0x539,_0x2bce9e:0x401,_0x36545e:0x450,_0x118a8b:0x23f,_0x36ca44:0x44c,_0x39b548:0x5f,_0x1fd472:0x25e,_0x138ad9:0x2bd,_0x199884:0x15b,_0x4efd05:0x1e5,_0x15fd03:0x2fd,_0x448b1e:0xc3,_0x1d12ef:0x4be,_0x5a3805:0x2a,_0x25695d:0x22b,_0x3bf279:0x2f6,_0x418a0a:0xf3,_0x48d31b:0x13d,_0x49805b:0x1d5,_0x566216:0x3e2,_0x42cc60:0x3bc,_0x3ef3cc:0x223,_0x55b3c0:0x1fb,_0x17eed2:0x18a,_0x229582:0xd9,_0x4aaff6:0x1b3,_0x34b218:0xad,_0x1a2d04:0x10e,_0x1bafdf:0x28a,_0x2c37a1:0x86,_0x51c249:0x151,_0x4d748e:0x3bf,_0x417fa0:0x23c,_0x294e60:0x1f2,_0x50b9b1:0x10f,_0x1edd26:0x9c,_0x494394:0x1c2,_0x297f18:0x1a5,_0xc19a62:0x243,_0x11fed7:0x47a,_0x330280:0x5dc,_0x762da:0x26b,_0x38284f:0x30,_0x587d24:0x3f,_0x12ea9d:0x2c2,_0x3c3394:0x1fe,_0x28b0ee:0x19c,_0x2d5a07:0x33d,_0x2a4362:0x11d,_0x28b2eb:0x1fe,_0x52ce7f:0x3f1,_0x3a0b8b:0x48,_0x2e54bb:0x14e,_0x13b388:0x41e,_0x2c70f0:0x3f8,_0x4113be:0x250,_0x26291c:0x127,_0x4f6b9f:0x2e3,_0x5d8a61:0x192,_0x89d4d2:0x3a8,_0x5e52bc:0x32b,_0x1fea2d:0x2bd,_0xd9696a:0xa6,_0x47a5af:0x283,_0x4e7358:0x1aa,_0x5eed2a:0x23,_0x34c03c:0x2e9,_0x4babc1:0x1a2,_0x261feb:0x1c9,_0x1c4b02:0x56,_0x2267a6:0x1e6,_0x2c0f24:0x205,_0x5e6c8e:0x2a6,_0x1c276d:0x4b5,_0x25e230:0x2e9,_0x6d9886:0x2df,_0x197ace:0x4dc,_0x31838b:0x326,_0x4581f8:0x21a,_0x31aa7b:0x264,_0x396598:0x106,_0x1fbcee:0x62f,_0x4bd424:0x419,_0x13a1df:0xe0,_0x987bd3:0x373,_0x392676:0x97,_0x20a5c3:0x2d7,_0x1c349f:0x454,_0x8c83c2:0x564,_0x40b094:0x400,_0x5484d3:0x284,_0x152e98:0x505,_0x209c94:0x19e,_0x4f8794:0x15c,_0x22a96f:0x137,_0x3cc1aa:0x17d,_0x28dd50:0x26,_0x4d68f0:0x2b0,_0x5bedf0:0x63,_0x897ac8:0x17c,_0x591499:0xe1,_0x2a8ebe:0x7,_0x1a47c3:0x152,_0x2d61b0:0x92,_0x573818:0x180,_0x4dc71d:0x33,_0x58aa4f:0x18f,_0x2f9b3e:0x380,_0x25667f:0x264,_0x1464f7:0x372,_0x133950:0x128,_0x2ce04b:0x25a,_0x1846e2:0x306,_0x3288d7:0x384,_0xfdec2a:0x44e,_0x266d9f:0x4ef,_0x5acea8:0x2a2,_0x5dd98a:0x4e0,_0x372d06:0x394,_0x14d613:0x177,_0x281390:0x140,_0x2053ed:0x25c,_0x564d8d:0x492,_0x2f0f91:0x478,_0x102099:0x1a1,_0x12ec76:0x299,_0x5de7b0:0x3ba,_0x20e4f2:0x28e,_0xd2b8a4:0x50,_0x50645c:0x226,_0x41b553:0xea,_0x5d93ee:0x67,_0x746f7d:0x1a3,_0x4ea763:0x166,_0x30dbd9:0x223,_0x559bc3:0x510,_0x2bc14d:0x508,_0x5a6432:0x286,_0x344080:0x32,_0x3ae839:0xfe,_0x2c9021:0x2ad,_0xb931a1:0x2b8,_0x878a42:0x10d,_0x436d73:0x13b,_0x48757f:0x364,_0x25ce6a:0x231,_0x527455:0x64,_0x583a9b:0x1fd,_0x144f96:0x156,_0x4dc142:0x24,_0xd75f95:0x6c5,_0x11629f:0xcb,_0x2497fa:0x2dd,_0x1456e5:0x300,_0x32e035:0x1f0,_0x12c8ab:0x385,_0x36ecd7:0x4ec,_0x3653c9:0xfe,_0x18e4ad:0xc5,_0x5eb0fd:0x195,_0x3bb941:0x46,_0x437f30:0xd3,_0x599f07:0xf4,_0x435551:0x2e0,_0xf45996:0x147,_0x30e1ef:0x3bf,_0x20f1c1:0x1ca,_0x1c7991:0x65,_0x2204bb:0x20a,_0x4c4b2a:0x55,_0x5a4d88:0x17a,_0x9cca3d:0x7b,_0xd27ff2:0x643,_0x2f726e:0x2dc,_0x26a9e3:0x150,_0x4bdfb9:0x29b,_0x239e06:0x254,_0x39fdba:0x31b,_0x58d048:0x1a9,_0x1914a0:0x4de,_0x5592bb:0x3fe,_0xebdec9:0x5d0,_0x3264e9:0x30a,_0xff6be6:0x3fe,_0x168e47:0xc1,_0x20d95c:0x308,_0x113a72:0x49a,_0x276d08:0x5b4,_0x52689e:0x444,_0x1031eb:0x311,_0x4fdb28:0x12f,_0x37ae89:0x4fd,_0x2ea214:0x422,_0x2ff5c2:0x2b7,_0x383601:0x472,_0x120697:0x3a6,_0x43d99c:0x450,_0x5c72ab:0x1e,_0x255fb9:0x80,_0x5d9cf1:0xb8,_0x4452ab:0x4cf,_0x549848:0x4a2,_0x32e5ad:0x2e6,_0x4cc6b7:0x37f,_0x1c169a:0x325,_0xc73418:0x290,_0x45c5ab:0x7b,_0xc61c9f:0x166,_0x2994d3:0x142,_0x49b368:0x29,_0x579a1e:0x248,_0x4ae12d:0x2b,_0x3f75d6:0x1d9,_0x134ba1:0x151,_0x56d981:0x10e,_0x111d08:0x476,_0x1cb5b3:0x37,_0x3ec011:0x2a2,_0x405c21:0x25c,_0x24c222:0x347,_0x245b5b:0x193,_0x3f65bc:0x4fd,_0x47626a:0x390,_0x3725e9:0x4dd,_0xf978a2:0x5d3,_0x40a994:0x2ed,_0x4b2362:0x15,_0x5d8437:0x55,_0x56515b:0xde,_0x424dbb:0xfd,_0x4a5e35:0x5f,_0x3ed7c3:0x17a,_0x249c22:0x84,_0x47deee:0x2f,_0x4fdaa3:0x536,_0x1480a9:0x365,_0xa243e9:0x176,_0x1aaee6:0x315,_0x2332b8:0x581,_0x39a8d0:0x31a,_0x380325:0x199,_0x46cdee:0x185,_0x2da488:0x31e,_0x3033c3:0x211,_0x1c401d:0x4cc,_0x139008:0x333,_0x530328:0x33c,_0x5a5f91:0x430,_0x4b4ab:0x3e7,_0x4c30a6:0x47a,_0x2caedb:0x406,_0x24a101:0xcb,_0x2c22f2:0x5a,_0x2586d8:0x1f1,_0x108fc4:0x5d,_0x300edb:0x22f,_0x33e0bb:0x609,_0x4fe0f8:0x46e,_0x482dd6:0x26c,_0x125aa8:0x1e8,_0x417ccd:0x2c3,_0x53283e:0x49a,_0x57ba4b:0xa8,_0x56a36b:0x1e8,_0x53f65e:0x218,_0x17049a:0x231,_0x1168cb:0x85,_0x2c1b5b:0x207,_0x3b7080:0x19d,_0x324b03:0x60,_0x20eee6:0xbc,_0x7b418b:0x3db,_0x39867d:0x2b6,_0x3bb56e:0x170,_0x48d440:0x86,_0x3c1c8b:0x293,_0x88b6c0:0x323,_0x247317:0x3fb,_0x20de05:0x4c0,_0x5c9d34:0x167,_0x4ad723:0xaf,_0x21e79c:0x1b1,_0x1cfd5c:0x4a6,_0x44952c:0x7f,_0x15770c:0x189,_0x439255:0xb4,_0x45f9e6:0x179,_0x126c00:0x52f,_0x533d5a:0x3c9,_0x49a9a6:0x39c,_0x5775e5:0x3c1,_0x13fddb:0x2fb,_0x43e1e3:0x2e1,_0x5695aa:0x239,_0x3c38b5:0x7,_0xbd337:0x122,_0x207d53:0xf7,_0x25101e:0x43c,_0x32684f:0xf2,_0x20456f:0x18,_0x1e77ea:0x13,_0x151b66:0x6c,_0x19ff1f:0x2a2,_0x29e6f9:0x4f3,_0x3cdf49:0x2ab,_0xce9cb8:0x16,_0xda48eb:0x1d2,_0x1d2819:0x59e,_0x1b574e:0x38d,_0x34abcd:0x30d,_0x3ebeac:0x75,_0x25b615:0x2a5,_0x4f8595:0x3d1,_0x170ca9:0x1d,_0x14187e:0x7,_0xfb5475:0x1f0,_0x4fc963:0x124,_0x54b7c5:0xe6,_0x4afe2d:0x110,_0x4b5c81:0x13,_0x1cde90:0x1af,_0x45ea01:0xb0,_0xa17d6:0x16c,_0x7ccd2e:0x184,_0xd0fd78:0x333,_0x1b76b4:0x47a,_0x2b8a67:0x5dd,_0x1781f6:0x27b,_0xe4c141:0x2d1,_0xd6d50a:0x29d,_0x213d79:0x1d5,_0x5a3135:0x11e,_0x15b133:0x2ba,_0x7dde07:0x28d,_0x5330fd:0x4db,_0x44f058:0x76,_0x575720:0xf9,_0x369ace:0x64,_0xca624e:0xdf,_0x54fcfc:0xad,_0x47b5d6:0x188,_0x3fece9:0x11c,_0x27a05e:0x7,_0x5107c2:0x94,_0x24671d:0x68,_0x5088ac:0xc,_0x9a6b9e:0x102,_0x2ac615:0x3a5,_0x2e3e5f:0x2be,_0x3ab6a0:0x200,_0x9395dd:0x3ca,_0x14975a:0x5c,_0x2f10ea:0x203,_0x556785:0x160,_0x5d12bd:0xd6,_0x29eb5a:0x56,_0x541488:0x1a1,_0x339bfa:0xc6,_0x4cf215:0xd5,_0x915f63:0x7,_0x438400:0x1c2,_0x3d590c:0x5e,_0x17c21c:0x6,_0x3a8b5a:0x163,_0x492fef:0x1b3,_0x321b4b:0xf2,_0x149f3d:0x27b,_0x3a1de5:0x59,_0xb61c1:0x3d5,_0x28846b:0x1c8,_0x4e5cb9:0x7e,_0x386b99:0x16e,_0x2bb780:0x460,_0x8ee26e:0x15b,_0x25287f:0x310,_0x3bbcea:0x29,_0x653b49:0x151,_0x5d3230:0x26b,_0x4d8c01:0x281,_0x24c555:0x3e6,_0x1d874c:0x518},_0x275d19={_0x469c37:0x31c,_0x3ce2fc:0x556,_0x54c544:0x4bd},_0x4bc850={_0x1aad50:0x13,_0x49ed82:0x26d,_0x238c62:0x5d},_0x5468d4={_0x137d0f:0x207,_0x4c48cf:0x404,_0x179ffd:0x15c,_0x3f0a74:0x53b,_0x4de81a:0x155,_0xe0719f:0xef,_0x1bea35:0x10f,_0xf083af:0x30b},_0x58f3ef={_0x19883f:0x1db},_0x4c19f5={_0x438c69:0x3c3,_0x38ef14:0x2a6,_0x16e38d:0x4ec,_0x463f49:0x563,_0x59275f:0x611,_0x41eaa4:0x309},_0x15e42f={_0x2487af:0x17b},_0xb85edc={_0x3226dc:0x93b,_0x113080:0x7b2,_0x59fa4e:0x6f3,_0x2626a3:0x7e2,_0x191cf4:0x81e,_0x4736a4:0x9c1,_0x27ccd2:0x899,_0x376c69:0x869,_0x34ca3a:0x915},_0x16fabd={_0x342c3b:0xc4},_0x5993c3={_0x1c8485:0x11,_0x4623e5:0x91},_0x53a22a={_0x351415:0xdb,_0x4299a6:0x353},_0x39ed84={_0x1d6db9:0x596,_0x22beb1:0x388,_0x5d811a:0x2d5,_0x465a73:0x5dc,_0x264fc0:0x467,_0x1bca4c:0x37d,_0x35ba31:0x4a7,_0x4179a7:0x6c5,_0x1e2fbd:0x54d,_0x5783cd:0x547,_0x347394:0x4e8},_0xb5da04={_0x583968:0x101},_0x50f355={_0x3ee081:0x74d,_0x19df2a:0x70e,_0x246c34:0x497,_0x5bcc9f:0xa14,_0x17f97b:0x75c,_0x56ad12:0x6b5,_0x2c13ad:0x449,_0x238563:0x728,_0x1291c6:0x768},_0x1f4698={_0x295f31:0x356,_0x29618a:0x85},_0x4e9e50={_0xc9ba57:0x117,_0x18d134:0x87},_0x45fdd9={_0x397e6e:0x21f,_0x12ca8f:0x29c,_0x57b228:0x3f6,_0x5c73cb:0x256,_0x2ef9a6:0x23d},_0x525fb4={_0x459fd1:0x5f4,_0x1614da:0x690,_0x1a2334:0x6c0,_0xbfcd6c:0x82a,_0x5b0c6e:0x8ae,_0x141170:0x81e,_0x53967b:0x721},_0x42cdf9={_0x3f6847:0x55,_0x20c271:0x141},_0x2e3b6b={_0x548520:0x147},_0x2db166=_0x370b6c[_0x43efd3(-_0x1fa267._0x4222a3,0xd0,_0x1fa267._0x3cc941,0x315)]??_0x24f13e(0x2e8,0x238,_0x1fa267._0x68733d,0x373),_0xf0d9a7=this[_0x24f13e(_0x1fa267._0x4892fd,0x1d5,0x1bb,0x40a)][_0x43efd3(_0x1fa267._0x39ec82,0x238,0x2ac,-0x7)](),_0x3cfeaa=this['ids'][_0x24f13e(0x389,_0x1fa267._0x1300e0,0x4c5,0x2b2)](),_0x365b20=await this[_0x43efd3(_0x1fa267._0x561039,0x299,_0x1fa267._0x5f0df4,_0x1fa267._0x4e5438)][_0x24f13e(-_0x1fa267._0x413c36,_0x1fa267._0x29f98c,-0x42,0x7e)](_0x2db166);let _0x27988e,_0x25d60f,_0x550699,_0x116643;const _0xe351dc=this[_0x24f13e(0x24d,_0x1fa267._0x1c1837,0x21a,0x203)]();if(!_0xe351dc)throw new Error(_0x24f13e(0x6,0x1ed,0x230,-_0x1fa267._0xf87927));const _0x4a9aef=typeof _0x3ae072==='string'?{'text':_0x3ae072,'displayText':_0x3ae072,'attachments':[]}:{'text':_0x3ae072[_0x43efd3(_0x1fa267._0x245299,_0x1fa267._0x31aa89,0x37c,0x41f)]??'','displayText':_0x3ae072[_0x43efd3(_0x1fa267._0x224cf9,0x360,_0x1fa267._0x31fc43,0x37c)],'attachments':Array[_0x43efd3(-0xac,0x2f,_0x1fa267._0x247c6c,-_0x1fa267._0x232a8c)](_0x3ae072['attachments'])?_0x3ae072['attachments']:[]},_0x35bbbb=_0x4a9aef[_0x24f13e(_0x1fa267._0x4a5c27,0x1de,-_0x1fa267._0x1f5965,-_0x1fa267._0x256972)];_0x116643=this[_0x43efd3(0x79,0x140,0x31d,_0x1fa267._0x5b47f9)][_0x24f13e(_0x1fa267._0xea8ce4,_0x1fa267._0x5ee257,0x326,_0x1fa267._0x57f2fd)](_0x4a9aef['text'],{'conversationId':_0x2db166});const _0x585d7c=_0x116643[_0x43efd3(0x1fd,_0x1fa267._0x217093,0x42d,0x249)]('\x0a'),_0x16f6f0=buildMessageParts(_0x585d7c,_0x35bbbb);let _0x490622;if(_0x35bbbb[_0x43efd3(0x2ef,_0x1fa267._0x2381cc,_0x1fa267._0x311cc9,_0x1fa267._0x21cf25)]>0x0||_0x16f6f0[_0x24f13e(0x103,0x24e,_0x1fa267._0x3df87f,_0x1fa267._0x452ebd)](_0x44bfc5=>_0x44bfc5[_0x24f13e(0x569,0x4a2,0x6cb,0x562)]===_0x24f13e(-0x45,0xa1,-0x100,0xea)))_0x490622={'type':_0x43efd3(0xdd,-_0x1fa267._0x232a8c,_0x1fa267._0x75117f,-_0x1fa267._0x33cdee),'parts':_0x16f6f0};else{if(_0x16f6f0[_0x43efd3(_0x1fa267._0x5c3a91,_0x1fa267._0x47be80,0x31d,_0x1fa267._0x46a09a)]===0x1&&_0x16f6f0[0x0]?.[_0x43efd3(0x337,_0x1fa267._0x503a13,_0x1fa267._0x546840,_0x1fa267._0x1dec9a)]===_0x24f13e(_0x1fa267._0x501cbd,0x2f6,0x2f5,_0x1fa267._0x2bce9e))_0x490622=_0x16f6f0[0x0]['text'];else _0x16f6f0[_0x24f13e(_0x1fa267._0x36545e,0x356,_0x1fa267._0x118a8b,_0x1fa267._0x36ca44)]>0x0?_0x490622={'type':_0x43efd3(-0x27b,-_0x1fa267._0x39b548,-0x1a2,-_0x1fa267._0x1fd472),'parts':_0x16f6f0}:_0x490622=_0x585d7c;}_0x27988e=this[_0x43efd3(0x7f,0x10c,_0x1fa267._0x138ad9,_0x1fa267._0x199884)][_0x43efd3(_0x1fa267._0x4efd05,_0x1fa267._0x15fd03,_0x1fa267._0x448b1e,_0x1fa267._0x1d12ef)](_0x365b20,this['cfg'][_0x24f13e(0x375,0x172,-_0x1fa267._0x5a3805,0x2fc)],[_0x490622]),_0x550699=resolveDisplayText(_0x4a9aef[_0x24f13e(_0x1fa267._0x25695d,_0x1fa267._0x3bf279,0x34c,_0x1fa267._0x418a0a)],_0x35bbbb,_0x4a9aef['displayText']);const _0x2791e5=this[_0x24f13e(_0x1fa267._0x48d31b,_0x1fa267._0x49805b,0xfb,0x3cc)]['iso']();_0x25d60f=[{'id':this[_0x24f13e(_0x1fa267._0x566216,_0x1fa267._0x42cc60,_0x1fa267._0x3ef3cc,0x320)][_0x43efd3(_0x1fa267._0x55b3c0,_0x1fa267._0x17eed2,-0x8,_0x1fa267._0x229582)](),'role':_0x43efd3(_0x1fa267._0x4aaff6,_0x1fa267._0x34b218,0x2a,-0x2f),'content':_0x490622,'timestamp':_0x2791e5}],await this[_0x43efd3(0xbd,0x299,_0x1fa267._0x452ebd,0x1c3)][_0x43efd3(-0x1ee,-0x5d,_0x1fa267._0x68733d,-_0x1fa267._0x1a2d04)](_0x2db166,_0x25d60f);if(_0x370b6c[_0x24f13e(_0x1fa267._0x1bafdf,_0x1fa267._0x2c37a1,-0x11a,_0x1fa267._0x51c249)]?.[_0x43efd3(_0x1fa267._0x15fd03,0x407,0x3c1,_0x1fa267._0x4d748e)])throw new Error(_0x43efd3(_0x1fa267._0x417fa0,_0x1fa267._0x294e60,0x1c2,_0x1fa267._0x50b9b1));const _0x4441f9=this['tools']['getToolDefinitions'](this[_0x24f13e(0x367,0x2e9,0x109,_0x1fa267._0x1edd26)][_0x43efd3(_0x1fa267._0x494394,_0x1fa267._0x297f18,0x357,0x2e)]??[]),_0x25235d=_0x4441f9['map'](_0x33ef61=>_0x33ef61[_0x24f13e(0x33,0x261,0x264,0x169)]['name']);await this[_0x24f13e(_0x1fa267._0xc19a62,0x333,0x437,_0x1fa267._0x11fed7)]?.[_0x24f13e(_0x1fa267._0x330280,0x47a,0x5e7,_0x1fa267._0x762da)]({'type':AgentEventTypes[_0x43efd3(0x1a0,_0x1fa267._0x38284f,0x11f,_0x1fa267._0x587d24)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'userContent':_0x550699,'enhanced':_0x116643,'toolNames':_0x25235d});const _0x528fd0=this[_0x43efd3(_0x1fa267._0x12ea9d,_0x1fa267._0x3c3394,0xe2,0x206)][_0x43efd3(_0x1fa267._0x28b0ee,_0x1fa267._0x5f0df4,_0x1fa267._0x2d5a07,0x28c)]?{'effort':this[_0x43efd3(_0x1fa267._0x2a4362,_0x1fa267._0x28b2eb,0x2c3,_0x1fa267._0x52ce7f)][_0x43efd3(-_0x1fa267._0x3a0b8b,0x131,0x130,0x363)]}:void 0x0,_0x22d5c3={'LOW':0x400,'MEDIUM':0x1000,'HIGH':0x4000};let _0x31d257;function _0x43efd3(_0x573296,_0x54eec3,_0x332c32,_0x4aa7ae){return _0x1f0bf6(_0x54eec3- -_0x2e3b6b._0x548520,_0x332c32,_0x332c32-0xcc,_0x4aa7ae-0x3f);}if(this[_0x43efd3(_0x1fa267._0x2e54bb,_0x1fa267._0x3c3394,0xb4,0x2c8)][_0x24f13e(0x235,_0x1fa267._0x13b388,_0x1fa267._0x2c70f0,0x333)]&&this[_0x24f13e(_0x1fa267._0x4113be,0x2e9,0x2a6,0x108)][_0x43efd3(0x4a3,0x333,0x2a4,_0x1fa267._0x26291c)]!==_0x43efd3(0x10f,0xa6,0x15d,_0x1fa267._0x4f6b9f)){const _0x56e9c0=_0x22d5c3[this[_0x24f13e(0x3c8,0x2e9,0x472,_0x1fa267._0x5d8a61)][_0x43efd3(0x55c,0x333,0x2ed,0x457)]]??0x1000;_0x31d257={'type':'enabled','budget_tokens':_0x56e9c0};}else this['cfg'][_0x43efd3(_0x1fa267._0x89d4d2,0x333,_0x1fa267._0x5e52bc,0x1de)]===_0x43efd3(_0x1fa267._0x1fea2d,_0x1fa267._0xd9696a,_0x1fa267._0x47a5af,_0x1fa267._0x4e7358)&&(_0x31d257={'type':_0x43efd3(0x144,0x1e5,0x1e,_0x1fa267._0x5eed2a)});const _0x4d4271={'messages':_0x27988e,'model':this[_0x24f13e(0x51e,_0x1fa267._0x34c03c,0x3b0,_0x1fa267._0x4babc1)][_0x43efd3(_0x1fa267._0x261feb,_0x1fa267._0x1c4b02,0x1e6,-_0x1fa267._0x2267a6)],'temperature':this['cfg'][_0x24f13e(_0x1fa267._0x2c0f24,_0x1fa267._0x5e6c8e,0x493,_0x1fa267._0x1c276d)],'maxTokens':this[_0x24f13e(0x1ce,_0x1fa267._0x25e230,_0x1fa267._0x6d9886,_0x1fa267._0x197ace)][_0x24f13e(0x151,_0x1fa267._0x31838b,0x346,0x278)],'topP':this[_0x24f13e(_0x1fa267._0x4581f8,0x2e9,_0x1fa267._0x31aa7b,_0x1fa267._0x396598)][_0x24f13e(0x481,0x49f,_0x1fa267._0x1fbcee,_0x1fa267._0x4bd424)],'tools':_0x4441f9[_0x43efd3(0x445,0x26b,0x3b0,0x4f)]?_0x4441f9:void 0x0,'tool_choice':_0x4441f9[_0x43efd3(_0x1fa267._0x13a1df,_0x1fa267._0x47be80,_0x1fa267._0x987bd3,_0x1fa267._0x392676)]?_0x24f13e(_0x1fa267._0x20a5c3,_0x1fa267._0x1c349f,_0x1fa267._0x8c83c2,_0x1fa267._0x40b094):_0x24f13e(_0x1fa267._0x5484d3,_0x1fa267._0x2d5a07,0x1c9,_0x1fa267._0x152e98),'reasoning':_0x528fd0,'thinking':_0x31d257};let _0x3614cb='';const _0x2b7afe=[],_0xdde3e3=[..._0x27988e],_0x2112f7=[];let _0xf58dbd,_0x5bb075=![],_0x2bdaa1='',_0x2db8ce=![];if(_0x370b6c[_0x24f13e(0x1eb,0x19a,_0x1fa267._0x209c94,_0x1fa267._0x4f8794)]&&typeof _0xe351dc['streamCompletion']==='function'){let _0x52001a=!![];_0xf58dbd=await _0xe351dc[_0x24f13e(-0xfc,_0x1fa267._0x22a96f,_0x1fa267._0x3cc1aa,_0x1fa267._0x28dd50)](_0x4d4271,{'onChunk':async(_0x28fd31,_0x4b25af)=>{const _0x25632e={_0xec1d59:0x166,_0x4c1329:0x3b8,_0x3ea662:0x46};_0x3614cb+=_0x28fd31;function _0x16dbb5(_0x3b1801,_0x328c67,_0x3acd20,_0x5ac3a3){return _0x43efd3(_0x3b1801-_0x25632e._0xec1d59,_0x5ac3a3-_0x25632e._0x4c1329,_0x3b1801,_0x5ac3a3-_0x25632e._0x3ea662);}function _0x387eb9(_0x18462c,_0x13d70f,_0x588189,_0x2c6faf){return _0x43efd3(_0x18462c-_0x42cdf9._0x3f6847,_0x13d70f-0x48f,_0x2c6faf,_0x2c6faf-_0x42cdf9._0x20c271);}const _0x528911=_0x52001a?_0x28fd31[_0x16dbb5(_0x525fb4._0x459fd1,0x5ad,0x84f,_0x525fb4._0x1614da)](/^\n+/,''):_0x28fd31;_0x52001a=![];const _0x27dc89={'type':AgentEventTypes[_0x16dbb5(0x7d7,0x7b9,0x73b,_0x525fb4._0x1a2334)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'delta':_0x528911,..._0x4b25af&&{'usage':_0x4b25af}};await this[_0x387eb9(_0x525fb4._0xbfcd6c,0x6d7,_0x525fb4._0x5b0c6e,0x6b5)]?.[_0x387eb9(0x816,_0x525fb4._0x141170,0x78d,_0x525fb4._0x53967b)](_0x27dc89);},'onReasoningChunk':async _0x1c5d45=>{const _0x293889={_0x2b55f2:0xb3},_0x5d1f84={_0x102bae:0x195,_0x4e6231:0x20b};function _0x268fd4(_0x1f70dd,_0x5123a7,_0x3bab1c,_0x3efa2e){return _0x24f13e(_0x1f70dd-_0x5d1f84._0x102bae,_0x3bab1c- -_0x5d1f84._0x4e6231,_0x3bab1c-0x11b,_0x3efa2e);}function _0x2b46f6(_0x2619d4,_0x30bb8a,_0x4798d8,_0x31428f){return _0x24f13e(_0x2619d4-_0x293889._0x2b55f2,_0x4798d8- -0x25b,_0x4798d8-0x1c1,_0x30bb8a);}await this['events']?.[_0x2b46f6(0x305,0x2c,_0x45fdd9._0x397e6e,_0x45fdd9._0x12ca8f)]({'type':AgentEventTypes[_0x268fd4(_0x45fdd9._0x57b228,_0x45fdd9._0x5c73cb,0x251,_0x45fdd9._0x2ef9a6)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'delta':_0x1c5d45});},'onStreamFinish':async(_0x1e11df,_0x5473d4)=>{if(_0x5473d4){const _0x372809=this[_0x3017e5(_0x50f355._0x3ee081,0x828,_0x50f355._0x19df2a,0x6d3)]['estimate'](this['cfg'][_0x4fcda0(0x5d1,0x592,0x419,_0x50f355._0x246c34)],_0x5473d4);this[_0x4fcda0(0x26c,0x640,0x641,0x3f0)]?.[_0x4fcda0(_0x50f355._0x5bcc9f,0x674,_0x50f355._0x17f97b,0x7c1)]?.(_0x5473d4,_0x372809);}function _0x3017e5(_0x5cc124,_0x5f0a74,_0x2c6bf6,_0x2c13a8){return _0x43efd3(_0x5cc124-_0x4e9e50._0xc9ba57,_0x2c6bf6-0x430,_0x5cc124,_0x2c13a8-_0x4e9e50._0x18d134);}const _0xf55fcc={'type':AgentEventTypes[_0x3017e5(0x333,0x669,0x554,_0x50f355._0x56ad12)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,..._0x1e11df&&{'finishReason':_0x1e11df},..._0x5473d4&&{'usage':_0x5473d4}};function _0x4fcda0(_0x536c86,_0x1574f5,_0x538675,_0x2b45ef){return _0x24f13e(_0x536c86-0x86,_0x2b45ef-_0x1f4698._0x295f31,_0x538675-_0x1f4698._0x29618a,_0x1574f5);}await this[_0x3017e5(_0x50f355._0x2c13ad,_0x50f355._0x238563,0x678,_0x50f355._0x1291c6)]?.['emit'](_0xf55fcc);},'onUsage':async _0x5ae906=>{const _0x3fbd9f={_0xac1e84:0x81,_0x551f17:0x1c1};function _0x5a893d(_0x262dea,_0x471604,_0x3e4754,_0xab777a){return _0x43efd3(_0x262dea-_0x3fbd9f._0xac1e84,_0x471604-0x451,_0xab777a,_0xab777a-_0x3fbd9f._0x551f17);}const _0x3d3658=this[_0x29e724(_0x39ed84._0x1d6db9,_0x39ed84._0x22beb1,_0x39ed84._0x5d811a,_0x39ed84._0x465a73)][_0x5a893d(0x5ed,0x3d3,_0x39ed84._0x264fc0,_0x39ed84._0x1bca4c)](this['cfg'][_0x5a893d(0x40e,_0x39ed84._0x35ba31,0x5bf,_0x39ed84._0x4179a7)],_0x5ae906);function _0x29e724(_0x4ba7e,_0x5398fb,_0xc9a432,_0x4026ed){return _0x24f13e(_0x4ba7e-_0xb5da04._0x583968,_0x5398fb- -0x41,_0xc9a432-0x11d,_0xc9a432);}this[_0x5a893d(0x2d7,0x400,_0x39ed84._0x1e2fbd,0x328)]?.[_0x29e724(_0x39ed84._0x5783cd,0x42a,_0x39ed84._0x347394,0x31f)]?.(_0x5ae906,_0x3d3658);}},_0x370b6c['signal']);}else{_0xf58dbd=await _0xe351dc[_0x24f13e(_0x1fa267._0x31aa7b,0x2f2,0x501,_0x1fa267._0x4d68f0)](_0x4d4271,_0x370b6c[_0x24f13e(_0x1fa267._0x5bedf0,0x86,-0xf4,-_0x1fa267._0x897ac8)]);if(_0xf58dbd[_0x43efd3(_0x1fa267._0x591499,_0x1fa267._0x2a8ebe,_0x1fa267._0x1a47c3,_0x1fa267._0x2d61b0)]){const _0x500364=this['cost'][_0x43efd3(-0x1ec,-0x7e,-_0x1fa267._0x573818,-_0x1fa267._0x4dc71d)](this['cfg']['model'],_0xf58dbd[_0x43efd3(-0x33,_0x1fa267._0x2a8ebe,0x10f,0x4)]);this['metrics']?.[_0x43efd3(_0x1fa267._0x58aa4f,_0x1fa267._0x2f9b3e,_0x1fa267._0x25667f,_0x1fa267._0x1464f7)]?.(_0xf58dbd['usage'],_0x500364);}}if(!_0xf58dbd[_0x43efd3(-_0x1fa267._0x133950,0x13,0x105,_0x1fa267._0x2ce04b)]?.[_0x24f13e(0x32d,0x356,_0x1fa267._0x1846e2,0x3d5)]&&_0xf58dbd[_0x24f13e(0x3e2,0x38d,_0x1fa267._0x3288d7,_0x1fa267._0xfdec2a)]&&!_0x2db8ce){const _0x39c86b=_0x370b6c['stream']?_0x3614cb:_0xf58dbd[_0x43efd3(_0x1fa267._0x266d9f,_0x1fa267._0x5acea8,0x175,_0x1fa267._0x5dd98a)],_0x43462c={'id':_0x3cfeaa,'role':_0x24f13e(_0x1fa267._0x372d06,_0x1fa267._0x14d613,_0x1fa267._0x281390,0x2c5),'content':_0x39c86b,'timestamp':this['clock'][_0x24f13e(0x3f3,_0x1fa267._0x2053ed,_0x1fa267._0x564d8d,_0x1fa267._0x2f0f91)](),'usage':_0xf58dbd['usage']};await this[_0x43efd3(_0x1fa267._0x102099,_0x1fa267._0x12ec76,0xa2,_0x1fa267._0x5de7b0)][_0x43efd3(0x1bc,-0x5d,-0xf9,0x68)](_0x2db166,[_0x43462c]),_0x2db8ce=!![];if(_0x39c86b[_0x43efd3(_0x1fa267._0x20e4f2,_0x1fa267._0xd2b8a4,0x15d,0x21f)]()){const _0x5ed5dc={'type':AgentEventTypes[_0x43efd3(-_0x1fa267._0x50645c,-0x64,-_0x1fa267._0x41b553,0x141)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'content':_0x39c86b,..._0xf58dbd[_0x43efd3(-_0x1fa267._0x5d93ee,_0x1fa267._0x2a8ebe,-0x90,-0xef)]&&{'usage':_0xf58dbd[_0x43efd3(_0x1fa267._0x746f7d,_0x1fa267._0x2a8ebe,-_0x1fa267._0x4ea763,_0x1fa267._0x30dbd9)]}};await this[_0x24f13e(0x468,0x333,_0x1fa267._0x559bc3,0x305)]?.[_0x24f13e(_0x1fa267._0x2bc14d,0x47a,_0x1fa267._0x5a6432,0x2a7)](_0x5ed5dc);}}function _0x24f13e(_0x416239,_0x1fbdca,_0x448864,_0x2adf86){return _0x577062(_0x416239-_0x53a22a._0x351415,_0x2adf86,_0x448864-0xeb,_0x1fbdca-_0x53a22a._0x4299a6);}while(_0xf58dbd[_0x24f13e(_0x1fa267._0x344080,_0x1fa267._0x3ae839,0x2bd,_0x1fa267._0x2c9021)]?.['length']){if(_0xf58dbd[_0x43efd3(0x4e1,_0x1fa267._0x5acea8,_0x1fa267._0xb931a1,_0x1fa267._0x17eed2)]?.[_0x24f13e(_0x1fa267._0x878a42,_0x1fa267._0x436d73,0x238,_0x1fa267._0x48757f)]()){const _0x16e8bd={'type':AgentEventTypes[_0x43efd3(-_0x1fa267._0x25ce6a,-_0x1fa267._0x527455,-0x131,0x83)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'content':_0xf58dbd['content'],..._0xf58dbd[_0x43efd3(_0x1fa267._0x583a9b,0x7,_0x1fa267._0x144f96,-_0x1fa267._0x4dc142)]&&{'usage':_0xf58dbd['usage']}};await this['events']?.['emit'](_0x16e8bd);}if(_0x370b6c['signal']?.[_0x24f13e(_0x1fa267._0xfdec2a,0x4f2,0x4b8,_0x1fa267._0xd75f95)])throw new Error(_0x24f13e(_0x1fa267._0x11629f,_0x1fa267._0x2497fa,_0x1fa267._0x1456e5,_0x1fa267._0x32e035));await this[_0x43efd3(0x214,0x248,0xd1,0x3be)]?.[_0x43efd3(0x5a4,0x38f,0x144,_0x1fa267._0x12c8ab)]({'type':AgentEventTypes[_0x24f13e(0x4bf,_0x1fa267._0x36ecd7,0x2f2,0x468)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'toolCalls':_0xf58dbd[_0x24f13e(0x121,_0x1fa267._0x3653c9,_0x1fa267._0x18e4ad,-0x55)],'usage':_0xf58dbd[_0x43efd3(-0xfd,0x7,_0x1fa267._0x5eb0fd,0x10f)]});const _0x1f31ed=await this[_0x24f13e(_0x1fa267._0x3bb941,_0x1fa267._0x437f30,-_0x1fa267._0x599f07,_0x1fa267._0x435551)](_0xf58dbd['tool_calls'],_0x2db166,_0x3cfeaa,_0xdde3e3,_0x2112f7,_0xf58dbd[_0x24f13e(_0x1fa267._0xf45996,0x38d,_0x1fa267._0x30e1ef,_0x1fa267._0x20f1c1)],_0xf58dbd['usage'],_0x370b6c[_0x43efd3(-0x1b5,-_0x1fa267._0x1c7991,-_0x1fa267._0x2204bb,0x2d)]);if(_0x1f31ed[_0x24f13e(_0x1fa267._0x4c4b2a,_0x1fa267._0x5a4d88,_0x1fa267._0x9cca3d,-0xa7)]){_0x2bdaa1=_0x1f31ed[_0x24f13e(0x287,0x403,_0x1fa267._0xd27ff2,0x4fc)]||'',_0x5bb075=!![];break;}const _0x5c5644=_0x1f31ed[_0x43efd3(_0x1fa267._0x2f726e,0xc0,0x2dd,-_0x1fa267._0x26a9e3)],_0x4ae2f1=_0x1f31ed['bypassCalls'],_0x35cdac=_0x1f31ed[_0x43efd3(_0x1fa267._0x4bdfb9,_0x1fa267._0x239e06,0x330,_0x1fa267._0x39fdba)],_0x4075cb=this[_0x43efd3(_0x1fa267._0x58d048,-0x7f,-0x76,0x20)](),_0x10cfa5=convertToolCallsWithErrorHandling(_0x5c5644,{'strict':this['cfg']['strictToolValidation']??![],'availableTools':_0x4075cb}),_0x262865=[],_0x4d4e76=_0x10cfa5[_0x24f13e(0x553,0x4c5,_0x1fa267._0x1914a0,0x556)];if(_0x10cfa5[_0x24f13e(0x51f,_0x1fa267._0x5592bb,_0x1fa267._0xebdec9,0x313)])for(const _0x502f78 of _0x10cfa5[_0x24f13e(_0x1fa267._0x3264e9,_0x1fa267._0xff6be6,0x1f4,0x5c4)]){_0x262865[_0x24f13e(-0x15e,_0x1fa267._0x168e47,_0x1fa267._0x20d95c,0x20f)]({'id':_0x502f78['id'],'name':_0x502f78[_0x43efd3(0x285,0x365,0x374,0x4f9)],'status':_0x24f13e(_0x1fa267._0x113a72,0x4cf,_0x1fa267._0x276d08,_0x1fa267._0x52689e),'type':_0x24f13e(_0x1fa267._0x1031eb,0x2f6,_0x1fa267._0x4fdb28,0x254),'result':_0x24f13e(0x488,_0x1fa267._0x37ae89,_0x1fa267._0x2ea214,0x5c5)+_0x502f78[_0x24f13e(_0x1fa267._0x2ff5c2,_0x1fa267._0x383601,_0x1fa267._0x120697,_0x1fa267._0x43d99c)]+_0x43efd3(-0x9a,_0x1fa267._0x5c72ab,-_0x1fa267._0x255fb9,_0x1fa267._0x5d9cf1)+_0x502f78[_0x24f13e(_0x1fa267._0x4bdfb9,_0x1fa267._0x4452ab,_0x1fa267._0x549848,_0x1fa267._0x1464f7)],'metadata':{'errorReason':_0x24f13e(0x1bf,_0x1fa267._0x239e06,0x14c,_0x1fa267._0x32e5ad)},'durationMs':0x0});}if(_0x370b6c['signal']?.['aborted'])throw new Error(_0x24f13e(_0x1fa267._0x4cc6b7,0x2dd,_0x1fa267._0x1c169a,_0x1fa267._0xc73418));const _0x4cd8a7=await this[_0x24f13e(_0x1fa267._0x45c5ab,_0x1fa267._0xc61c9f,_0x1fa267._0x897ac8,_0x1fa267._0x2994d3)]['executeToolCalls'](_0x4d4e76,{'conversationId':_0x2db166,'agentId':this[_0x43efd3(_0x1fa267._0x49b368,0x1fe,0x2f7,0x134)]['id'],'messageId':_0x3cfeaa,'eventPort':this[_0x43efd3(0x3cc,_0x1fa267._0x579a1e,0x2e8,_0x1fa267._0x4ae12d)]},this[_0x43efd3(0xfd,_0x1fa267._0x28b2eb,0xbb,_0x1fa267._0x3f75d6)][_0x43efd3(_0x1fa267._0x134ba1,_0x1fa267._0x56d981,0x239,0x5e)]??0x3,_0x370b6c[_0x43efd3(-0x1e0,-_0x1fa267._0x1c7991,-0x266,-0x4a)]),_0x60dea0=[..._0x35cdac,..._0x262865,..._0x4cd8a7],_0x398678=[..._0x5c5644,..._0x4ae2f1],_0x4fbe16={'id':this[_0x24f13e(_0x1fa267._0x111d08,0x3bc,0x38c,0x25d)][_0x43efd3(0xc,0x18a,-_0x1fa267._0x1cb5b3,0x3)](),'role':'assistant','content':_0xf58dbd[_0x43efd3(0x374,_0x1fa267._0x3ec011,0xdf,0x3bb)]??null,'timestamp':this['clock'][_0x24f13e(0x82,_0x1fa267._0x405c21,0x317,0xae)](),'tool_calls':_0x398678,'usage':_0xf58dbd[_0x24f13e(-0x5d,0xf2,_0x1fa267._0x24c222,_0x1fa267._0x245b5b)]},_0x1edeac=[];for(const _0x1e4b89 of _0x60dea0){let _0x20d88c;if(_0x1e4b89['status']===_0x24f13e(_0x1fa267._0x3f65bc,_0x1fa267._0x4452ab,_0x1fa267._0x47626a,_0x1fa267._0x3725e9))_0x20d88c=_0x1e4b89['result'];else _0x1e4b89[_0x24f13e(_0x1fa267._0xf978a2,0x4a2,0x55d,0x3d6)]===_0x24f13e(0x218,0x2f6,0x3b2,0x128)?_0x20d88c=_0x1e4b89[_0x43efd3(_0x1fa267._0x40a994,0xfd,0x12c,-0x43)]:_0x20d88c=JSON[_0x43efd3(_0x1fa267._0x4b2362,0x231,0x379,_0x1fa267._0x5d8437)](_0x1e4b89[_0x43efd3(-_0x1fa267._0x56515b,_0x1fa267._0x424dbb,_0x1fa267._0x437f30,_0x1fa267._0x4a5e35)],null,0x2);_0x1edeac[_0x43efd3(-_0x1fa267._0x3ed7c3,-0x2a,0x16f,_0x1fa267._0x573818)]({'id':_0x1e4b89['id'],'role':'tool','content':_0x20d88c,'timestamp':this[_0x24f13e(0xe9,_0x1fa267._0x49805b,0x2b5,_0x1fa267._0x249c22)][_0x24f13e(_0x1fa267._0x47deee,0x25c,0x2a7,0x6b)](),'tool_call_id':_0x1e4b89['id'],'name':_0x1e4b89[_0x43efd3(_0x1fa267._0x4fdaa3,_0x1fa267._0x1480a9,_0x1fa267._0xa243e9,_0x1fa267._0x1aaee6)],'status':_0x1e4b89[_0x43efd3(_0x1fa267._0x2332b8,0x3c6,0x540,_0x1fa267._0x39a8d0)],'durationMs':_0x1e4b89[_0x43efd3(-_0x1fa267._0x380325,-0xb,-0x170,0x102)],'metadata':_0x1e4b89['metadata']}),this[_0x24f13e(-0x185,0x9a,0x41,_0x1fa267._0x46cdee)]?.[_0x24f13e(0x561,_0x1fa267._0x2da488,_0x1fa267._0x3033c3,_0x1fa267._0x1c401d)]?.();const _0x4c5bf1=_0x35cdac['some'](_0x504230=>_0x504230['id']===_0x1e4b89['id']);!_0x4c5bf1&&await this[_0x24f13e(0x434,_0x1fa267._0x139008,_0x1fa267._0x530328,_0x1fa267._0x5a5f91)]?.[_0x24f13e(_0x1fa267._0x4b4ab,_0x1fa267._0x4c30a6,_0x1fa267._0x2caedb,0x686)]({'type':AgentEventTypes[_0x43efd3(_0x1fa267._0x24a101,0xee,_0x1fa267._0x2c22f2,_0x1fa267._0x2586d8)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'result':_0x1e4b89});}await this['memory'][_0x43efd3(0x152,-_0x1fa267._0x108fc4,-0xa1,0x13e)](_0x2db166,[_0x4fbe16,..._0x1edeac]);const {usage:_0x3c8be7,..._0x3a1fdb}=_0xf58dbd;_0xdde3e3[_0x24f13e(0x2f6,0xc1,0x2c4,0x149)]({..._0x3a1fdb,'role':_0x24f13e(0xc0,0x177,_0x1fa267._0x300edb,0x390),'content':_0xf58dbd[_0x24f13e(0x351,0x38d,0x552,0x13e)]??null,'tool_calls':_0x398678});for(const _0x67a6d2 of _0x60dea0){let _0x153b7c;if(_0x67a6d2[_0x24f13e(0x2be,0x4b1,_0x1fa267._0x33e0bb,0x5f6)]===_0x43efd3(0x53b,0x3e4,_0x1fa267._0x4fe0f8,_0x1fa267._0x482dd6))_0x153b7c=_0x67a6d2[_0x24f13e(0x109,_0x1fa267._0x125aa8,0x272,0x1f1)];else _0x67a6d2[_0x43efd3(0x3cb,_0x1fa267._0x503a13,_0x1fa267._0x417ccd,_0x1fa267._0x53283e)]===_0x43efd3(0x123,_0x1fa267._0x31aa89,0x2ce,_0x1fa267._0x57ba4b)?_0x153b7c=_0x67a6d2[_0x24f13e(-0x6d,_0x1fa267._0x56a36b,0x3c7,_0x1fa267._0x46a09a)]:_0x153b7c=JSON[_0x43efd3(_0x1fa267._0x53f65e,_0x1fa267._0x17049a,_0x1fa267._0x417ccd,0x11e)](_0x67a6d2['result'],null,0x2);_0xdde3e3[_0x43efd3(_0x1fa267._0x1168cb,-0x2a,_0x1fa267._0x2c1b5b,0x1e6)]({'role':_0x43efd3(-_0x1fa267._0x3b7080,-_0x1fa267._0x324b03,0xee,-_0x1fa267._0x20eee6),'content':_0x153b7c,'tool_call_id':_0x67a6d2['id'],'name':_0x67a6d2[_0x43efd3(_0x1fa267._0x7b418b,0x365,0x300,_0x1fa267._0x39867d)]});}if(_0x370b6c[_0x24f13e(_0x1fa267._0x3bb56e,_0x1fa267._0x48d440,-0xd5,_0x1fa267._0x3c1c8b)]?.[_0x24f13e(_0x1fa267._0x88b6c0,0x4f2,_0x1fa267._0x247317,0x2b9)])throw new Error(_0x24f13e(0x335,0x2dd,_0x1fa267._0x20de05,0x274));_0x3614cb='';if(_0x370b6c[_0x43efd3(-_0x1fa267._0x5c9d34,_0x1fa267._0x4ad723,-0x18f,0x5b)]&&typeof _0xe351dc['streamCompletion']===_0x24f13e(_0x1fa267._0x21e79c,0x261,_0x1fa267._0x1cfd5c,0xdb)){let _0x4498f4=!![];_0xf58dbd=await _0xe351dc['streamCompletion']({..._0x4d4271,'messages':_0xdde3e3},{'onChunk':async(_0x225b25,_0x36b3f5)=>{function _0xf92e39(_0x478757,_0x370d19,_0x5c015c,_0x24129e){return _0x43efd3(_0x478757-_0x5993c3._0x1c8485,_0x370d19-_0x5993c3._0x4623e5,_0x478757,_0x24129e-0x10d);}_0x3614cb+=_0x225b25;const _0x51677d=_0x4498f4?_0x225b25[_0x1f0ff4(_0xb85edc._0x3226dc,_0xb85edc._0x113080,0x853,_0xb85edc._0x59fa4e)](/^\n+/,''):_0x225b25;function _0x1f0ff4(_0x4c9239,_0x3821cb,_0x23257a,_0x2bed4e){return _0x24f13e(_0x4c9239-_0x16fabd._0x342c3b,_0x3821cb-0x3ef,_0x23257a-0xb2,_0x2bed4e);}_0x4498f4=![];const _0x8c7df4={'type':AgentEventTypes[_0x1f0ff4(0x92d,_0xb85edc._0x2626a3,_0xb85edc._0x191cf4,_0xb85edc._0x4736a4)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'delta':_0x51677d,..._0x36b3f5&&{'usage':_0x36b3f5}};await this[_0x1f0ff4(0x6d0,0x722,0x5ce,_0xb85edc._0x27ccd2)]?.[_0x1f0ff4(0x95e,_0xb85edc._0x376c69,_0xb85edc._0x34ca3a,0x879)](_0x8c7df4);},'onReasoningChunk':async _0x4e0336=>{const _0x2b3d73={_0x4d92a5:0xa5};function _0xde58b6(_0x15121e,_0x1486a8,_0xd461c6,_0x58c522){return _0x43efd3(_0x15121e-0x2f,_0x58c522- -0x5,_0xd461c6,_0x58c522-_0x2b3d73._0x4d92a5);}function _0x569531(_0x471b4f,_0x196a4d,_0xd8d9b0,_0x58f9e6){return _0x43efd3(_0x471b4f-0xb3,_0x471b4f-_0x15e42f._0x2487af,_0x58f9e6,_0x58f9e6-0xb9);}await this[_0x569531(_0x4c19f5._0x438c69,0x5be,0x481,0x3d8)]?.[_0xde58b6(0x45a,_0x4c19f5._0x38ef14,0x4fb,0x38a)]({'type':AgentEventTypes[_0x569531(_0x4c19f5._0x16e38d,_0x4c19f5._0x463f49,_0x4c19f5._0x59275f,_0x4c19f5._0x41eaa4)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'delta':_0x4e0336});},'onStreamFinish':async(_0x36f792,_0x508808)=>{const _0x1b8bf9={_0x11302c:0xdb};function _0x403169(_0x50b802,_0x5bf46c,_0x112774,_0x7d0e4){return _0x43efd3(_0x50b802-0x1a4,_0x50b802-0xc3,_0x112774,_0x7d0e4-_0x58f3ef._0x19883f);}if(_0x508808){const _0x238108=this['cost'][_0x3b4abf(-0x265,-0x4d,-_0x5468d4._0x137d0f,-0xbc)](this[_0x403169(0x2c1,_0x5468d4._0x4c48cf,0x3d9,0x3b0)]['model'],_0x508808);this[_0x3b4abf(-_0x5468d4._0x179ffd,-0x20,0x47,0x17b)]?.[_0x3b4abf(_0x5468d4._0x3f0a74,0x3b1,0x549,0x54a)]?.(_0x508808,_0x238108);}const _0x3d6dfa={'type':AgentEventTypes[_0x3b4abf(0x15b,_0x5468d4._0x4de81a,_0x5468d4._0xe0719f,_0x5468d4._0x1bea35)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,..._0x36f792&&{'finishReason':_0x36f792},..._0x508808&&{'usage':_0x508808}};function _0x3b4abf(_0x14fafb,_0x26b18b,_0x5d0fd0,_0x5676b5){return _0x24f13e(_0x14fafb-_0x1b8bf9._0x11302c,_0x26b18b- -0xba,_0x5d0fd0-0xed,_0x5d0fd0);}await this[_0x403169(_0x5468d4._0xf083af,0x135,0x208,0x4c9)]?.['emit'](_0x3d6dfa);},'onUsage':async _0x12396b=>{const _0x153f02={_0x1b7413:0x58,_0x593b4e:0xd7};function _0x8ad76c(_0x4bb1c8,_0x34c507,_0x270b43,_0x4b9369){return _0x24f13e(_0x4bb1c8-_0x4bc850._0x1aad50,_0x4bb1c8-_0x4bc850._0x49ed82,_0x270b43-_0x4bc850._0x238c62,_0x4b9369);}const _0x562493=this['cost'][_0x3c7783(-0xf9,-0x20c,-_0x275d19._0x469c37,0x29)](this[_0x8ad76c(_0x275d19._0x3ce2fc,_0x275d19._0x54c544,0x406,0x537)]['model'],_0x12396b);function _0x3c7783(_0x4c93a9,_0x204644,_0x5252c4,_0x4c1484){return _0x24f13e(_0x4c93a9-_0x153f02._0x1b7413,_0x4c93a9- -0x166,_0x5252c4-_0x153f02._0x593b4e,_0x204644);}this['metrics']?.['recordLLMCall']?.(_0x12396b,_0x562493);}},_0x370b6c[_0x24f13e(_0x1fa267._0x44952c,_0x1fa267._0x2c37a1,-_0x1fa267._0x15770c,-_0x1fa267._0x439255)]);}else{_0xf58dbd=await _0xe351dc['generateCompletion']({..._0x4d4271,'messages':_0xdde3e3},_0x370b6c['signal']);if(_0xf58dbd[_0x43efd3(0x177,0x7,_0x1fa267._0x45f9e6,_0x1fa267._0x418a0a)]){const _0x155f02=this[_0x24f13e(_0x1fa267._0x126c00,_0x1fa267._0x533d5a,_0x1fa267._0x49a9a6,_0x1fa267._0x5775e5)]['estimate'](this[_0x43efd3(_0x1fa267._0x13fddb,0x1fe,0x31a,_0x1fa267._0x43e1e3)]['model'],_0xf58dbd[_0x43efd3(_0x1fa267._0x5695aa,_0x1fa267._0x3c38b5,-0x14c,-_0x1fa267._0x47deee)]);this[_0x43efd3(-_0x1fa267._0xbd337,-0x51,-0x10a,-_0x1fa267._0x207d53)]?.[_0x43efd3(0x40a,_0x1fa267._0x2f9b3e,0x22f,_0x1fa267._0x25101e)]?.(_0xf58dbd[_0x24f13e(-0x1e,_0x1fa267._0x32684f,0xe4,_0x1fa267._0x2e54bb)],_0x155f02);}}if(!_0xf58dbd[_0x43efd3(-_0x1fa267._0x20456f,_0x1fa267._0x1e77ea,-0xc0,_0x1fa267._0x151b66)]?.['length']&&_0xf58dbd[_0x43efd3(0xff,_0x1fa267._0x19ff1f,_0x1fa267._0x29e6f9,0x4da)]&&!_0x2db8ce){const _0x448883=_0x370b6c[_0x24f13e(_0x1fa267._0x3cdf49,0x19a,_0x1fa267._0xce9cb8,_0x1fa267._0xda48eb)]?_0x3614cb:_0xf58dbd[_0x24f13e(_0x1fa267._0x1d2819,_0x1fa267._0x1b574e,0x46c,_0x1fa267._0x34abcd)],_0x3cc99e={'id':_0x3cfeaa,'role':_0x24f13e(-_0x1fa267._0x3ebeac,0x177,0x3ca,_0x1fa267._0x25667f),'content':_0x448883,'timestamp':this['clock'][_0x24f13e(_0x1fa267._0x25b615,0x25c,0x34c,_0x1fa267._0x4f8595)](),'usage':_0xf58dbd[_0x43efd3(-_0x1fa267._0x170ca9,_0x1fa267._0x14187e,-0x1e2,0x174)]};await this[_0x43efd3(_0x1fa267._0xfb5475,0x299,0x297,0x4db)][_0x43efd3(_0x1fa267._0x4fc963,-_0x1fa267._0x108fc4,_0x1fa267._0x54b7c5,_0x1fa267._0x4afe2d)](_0x2db166,[_0x3cc99e]),_0x2db8ce=!![];if(_0x448883[_0x43efd3(0x80,_0x1fa267._0xd2b8a4,-0xd8,-_0x1fa267._0x4b5c81)]()){const _0x5597bc={'type':AgentEventTypes[_0x43efd3(-0xe3,-0x64,_0x1fa267._0x1cde90,_0x1fa267._0x45ea01)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'content':_0x448883,..._0xf58dbd[_0x43efd3(-0x1f0,0x7,0x1dc,0xf9)]&&{'usage':_0xf58dbd[_0x43efd3(_0x1fa267._0xa17d6,0x7,-0x185,_0x1fa267._0x7ccd2e)]}};await this[_0x24f13e(0xf4,_0x1fa267._0xd0fd78,0x2e1,0x2e2)]?.[_0x24f13e(0x3ec,_0x1fa267._0x1b76b4,_0x1fa267._0x2b8a67,0x603)](_0x5597bc);}}}const _0x1aad9f=this[_0x43efd3(0x2a6,0xea,_0x1fa267._0x1781f6,_0x1fa267._0x58aa4f)][_0x43efd3(0xfb,0x238,_0x1fa267._0xe4c141,0x90)](),_0x14b11d=this[_0x24f13e(_0x1fa267._0xd6d50a,_0x1fa267._0x213d79,_0x1fa267._0x5a3135,0x1e9)]['iso']();this['metrics']?.[_0x24f13e(0x1a9,_0x1fa267._0x15b133,_0x1fa267._0x7dde07,_0x1fa267._0x5330fd)]?.(_0x1aad9f-_0xf0d9a7);const _0x208d65=_0xf58dbd['content']?.[_0x24f13e(_0x1fa267._0x44f058,0x13b,-_0x1fa267._0x575720,0xf4)]()&&!_0x5bb075&&!_0x2db8ce;if(_0x208d65){const _0x35feb2={'type':AgentEventTypes[_0x43efd3(-0x10b,-_0x1fa267._0x369ace,_0x1fa267._0xca624e,-_0x1fa267._0x54fcfc)],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'content':_0xf58dbd['content'],..._0xf58dbd[_0x24f13e(_0x1fa267._0x47b5d6,0xf2,_0x1fa267._0x49b368,0x29a)]&&{'usage':_0xf58dbd[_0x43efd3(_0x1fa267._0x3fece9,_0x1fa267._0x27a05e,-_0x1fa267._0x5107c2,_0x1fa267._0x24671d)]}};await this[_0x43efd3(0x5,_0x1fa267._0x579a1e,_0x1fa267._0x5088ac,_0x1fa267._0x9a6b9e)]?.[_0x24f13e(_0x1fa267._0x2ac615,0x47a,_0x1fa267._0x2e3e5f,0x529)](_0x35feb2);}const _0x3beb0b=_0x5bb075?_0x2bdaa1:_0xf58dbd[_0x24f13e(0x480,_0x1fa267._0x1b574e,_0x1fa267._0x3ab6a0,_0x1fa267._0x9395dd)],_0x357cd9={'id':_0x3cfeaa,'content':_0x3beb0b,'role':MessageRoles[_0x24f13e(0x2be,0xed,_0x1fa267._0x14975a,_0x1fa267._0x2f10ea)],'timestamp':_0x14b11d,'metadata':{'model':this[_0x43efd3(0x406,_0x1fa267._0x3c3394,_0x1fa267._0x556785,_0x1fa267._0x5d12bd)][_0x43efd3(-_0x1fa267._0x448b1e,_0x1fa267._0x29eb5a,0x1ab,0x130)],'provider':_0x43efd3(0x487,0x2c3,_0x1fa267._0x541488,0x4d4),'agentId':this[_0x43efd3(_0x1fa267._0x339bfa,_0x1fa267._0x3c3394,-0x1,_0x1fa267._0x4cf215)]['id'],'responseTime':_0x1aad9f-_0xf0d9a7,'promptTokens':_0xf58dbd[_0x43efd3(-0x1d3,_0x1fa267._0x915f63,_0x1fa267._0x438400,-_0x1fa267._0x245299)]?.['prompt_tokens'],'completionTokens':_0xf58dbd[_0x43efd3(_0x1fa267._0x3d590c,0x7,0x7f,-_0x1fa267._0x17c21c)]?.[_0x24f13e(-_0x1fa267._0x3a8b5a,0xc6,0x221,0x9b)],'totalTokens':_0xf58dbd[_0x24f13e(_0x1fa267._0x492fef,_0x1fa267._0x321b4b,_0x1fa267._0x149f3d,-_0x1fa267._0x3a1de5)]?.[_0x24f13e(_0x1fa267._0xb61c1,0x2c7,0x3d3,0x46b)],'estimatedCost':this[_0x43efd3(0x2de,0x2de,0x357,_0x1fa267._0x5330fd)][_0x43efd3(_0x1fa267._0x28846b,-_0x1fa267._0x4e5cb9,-0xee,-_0x1fa267._0x386b99)](this[_0x24f13e(_0x1fa267._0x2bb780,0x2e9,0x496,_0x1fa267._0x8ee26e)][_0x24f13e(_0x1fa267._0x25287f,0x141,_0x1fa267._0x3bbcea,_0x1fa267._0x653b49)],_0xf58dbd[_0x24f13e(-0x130,0xf2,0x21c,-0xcc)]),'toolCalls':_0x2b7afe[_0x43efd3(0x439,_0x1fa267._0x5d3230,0x2ee,_0x1fa267._0x4d8c01)]}};return await this[_0x24f13e(_0x1fa267._0x24c555,_0x1fa267._0x139008,0xf6,_0x1fa267._0x1d874c)]?.['emit']({'type':AgentEventTypes['Done'],'conversationId':_0x2db166,'messageId':_0x3cfeaa,'responseTimeMs':_0x1aad9f-_0xf0d9a7,'usage':_0xf58dbd['usage']}),_0x357cd9;}async[_0x1f0bf6(0x1be,0x380,-0x41,0x38d)](_0x48ca73,_0x1b54ef,_0x134103){const _0x2240c9={_0x20f69f:0xbe,_0x3156db:0x244,_0x5d999e:0x1a,_0x59808b:0xa0,_0x302e95:0x3f,_0x12a59e:0x68},_0x2106be={_0x3fcaf6:0x43e,_0x138f18:0x586,_0x4bc2e4:0x369,_0x533783:0x5e9,_0xfc6247:0x5cd,_0x388837:0x7a6,_0x4f33d4:0x32b,_0x5defc2:0x6c0,_0x323984:0x560,_0x14dbe0:0x463,_0x20daf9:0x2d2},_0x18d69b={_0x2ffa24:0x125},_0x62afc7={_0x115e34:0x42,_0xb86554:0x9f},_0x37ecaf=this[_0x5e266c(_0x2240c9._0x20f69f,_0x2240c9._0x3156db,_0x2240c9._0x5d999e,_0x2240c9._0x59808b)][_0x21c59c(-_0x2240c9._0x302e95,-0xb4,-0x231,_0x2240c9._0x12a59e)]();function _0x21c59c(_0x2ce830,_0x213ac5,_0x4b627f,_0xe8f284){return _0x577062(_0x2ce830-_0x62afc7._0x115e34,_0xe8f284,_0x4b627f-0x1b5,_0x2ce830-_0x62afc7._0xb86554);}function _0x5e266c(_0x36fb00,_0x31bce7,_0x4977ca,_0x538b9a){return _0x1f0bf6(_0x36fb00- -0x35a,_0x31bce7,_0x4977ca-_0x18d69b._0x2ffa24,_0x538b9a-0x107);}return new Promise((_0x296f4a,_0x15652b)=>{const _0x1b47f2={_0x3821dd:0x54e,_0x2e400a:0xcf},_0x20541d={_0x3a95ed:0x1a0};function _0x511aa4(_0x3cc985,_0x3e3376,_0x1f04d3,_0x2f06dd){return _0x5e266c(_0x2f06dd-0x3e4,_0x3cc985,_0x1f04d3-_0x20541d._0x3a95ed,_0x2f06dd-0x1f1);}this[_0x42af2f(_0x2106be._0x3fcaf6,0x3f0,_0x2106be._0x138f18,_0x2106be._0x4bc2e4)]['set'](_0x37ecaf,{'resolve':_0x296f4a,'reject':_0x15652b});function _0x42af2f(_0x3608cf,_0x18308c,_0x26dcd9,_0x2f8a56){return _0x21c59c(_0x18308c-_0x1b47f2._0x3821dd,_0x18308c-0x122,_0x26dcd9-_0x1b47f2._0x2e400a,_0x2f8a56);}this[_0x42af2f(_0x2106be._0x533783,_0x2106be._0xfc6247,_0x2106be._0x388837,0x463)]?.[_0x511aa4(_0x2106be._0x4f33d4,_0x2106be._0x5defc2,0x4ad,_0x2106be._0x323984)]({'type':AgentEventTypes[_0x511aa4(0x163,0x289,_0x2106be._0x14dbe0,_0x2106be._0x20daf9)],'conversationId':_0x1b54ef,'messageId':_0x134103,'toolCalls':_0x48ca73,'approvalId':_0x37ecaf});});}[_0x1f0bf6(0x240,0x462,0x15c,0x8d)](_0xe4f913,_0x4baf69,_0x606da,_0x487f47){const _0x1edf16={_0x29f224:0x49c,_0x40e61a:0x4c8,_0x33dbab:0x50e,_0x3fdc50:0x695,_0x5a6f4d:0x18,_0x2b7c43:0x407,_0x452830:0x3f3,_0x36a756:0x5b8,_0x39357f:0x3a3,_0x592e4f:0x4d8,_0x24f386:0x582,_0x528a2c:0x628,_0x55133e:0x318,_0x17eb75:0x66f,_0xbb0bc3:0x711,_0x5159c5:0x6b2,_0x55d364:0x647,_0x5ebdbf:0x7ca,_0x192b73:0x508,_0x528e97:0x640,_0x26fd1c:0x142},_0x4d46b0={_0x1ba6a5:0x66,_0x4c8c2f:0x216},_0x4dab40={_0xb914fd:0x2f3},_0x21a2f1=this[_0x49c3f8(0x19,-0x111,0x63,-0x21a)][_0x20c124(_0x1edf16._0x29f224,_0x1edf16._0x40e61a,_0x1edf16._0x33dbab,_0x1edf16._0x3fdc50)](_0xe4f913);if(!_0x21a2f1){console[_0x49c3f8(0x22b,0x152,0x2ea,_0x1edf16._0x5a6f4d)](_0x20c124(0x411,_0x1edf16._0x2b7c43,_0x1edf16._0x452830,0x480)+_0xe4f913);return;}this[_0x20c124(0x4a5,0x5af,_0x1edf16._0x36a756,0x5a4)][_0x49c3f8(_0x1edf16._0x39357f,0x559,0x312,0x5ba)](_0xe4f913);function _0x20c124(_0x510877,_0x16b721,_0x4601cd,_0x32a141){return _0x1f0bf6(_0x510877-_0x4dab40._0xb914fd,_0x16b721,_0x4601cd-0x71,_0x32a141-0x1b7);}function _0x49c3f8(_0x42187d,_0x25cc8e,_0xb5a4ee,_0x527864){return _0x577062(_0x42187d-0x162,_0x527864,_0xb5a4ee-_0x4d46b0._0x1ba6a5,_0x42187d-_0x4d46b0._0x4c8c2f);}if(_0x4baf69===_0x20c124(_0x1edf16._0x592e4f,_0x1edf16._0x24f386,_0x1edf16._0x528a2c,_0x1edf16._0x55133e))_0x21a2f1['reject'](new Error(_0x20c124(0x425,0x4a0,0x5a6,_0x1edf16._0x17eb75)));else{if(_0x4baf69===_0x20c124(_0x1edf16._0xbb0bc3,_0x1edf16._0x5159c5,0x575,_0x1edf16._0x55d364)&&_0x487f47)_0x21a2f1['resolve']({'editInstruction':_0x487f47});else _0x4baf69===_0x20c124(0x6f3,_0x1edf16._0x5ebdbf,0x4c8,0x509)||_0x4baf69==='approve'?_0x21a2f1[_0x20c124(_0x1edf16._0x192b73,0x3b9,0x2cc,0x405)](_0x606da||[]):_0x21a2f1[_0x20c124(0x7a2,_0x1edf16._0x528e97,0x57f,0x9d9)](new Error(_0x49c3f8(0x296,0x316,_0x1edf16._0x26fd1c,0x167)+_0x4baf69));}}[_0x577062(-0x1b0,-0x293,-0x3f5,-0x2e7)](){const _0x33bf69={_0x57b9ae:0xd2,_0x3edbab:0x37,_0x2fc7b2:0x12d,_0x14015a:0x1ae,_0x134ad6:0x1a3,_0x1434ee:0x83,_0x7eeb4f:0x216,_0x4b95b8:0x1bb,_0x3c20d2:0x114,_0x4f7c1c:0xa0},_0x10856a={_0x472086:0x86,_0x489bba:0x11b},_0x840e01={_0x2052b2:0x1e5,_0x4822aa:0x19};function _0xd9bb2(_0x23ce24,_0x1e79c1,_0x476a77,_0x35aef4){return _0x577062(_0x23ce24-_0x840e01._0x2052b2,_0x23ce24,_0x476a77-0x9,_0x476a77- -_0x840e01._0x4822aa);}function _0x457eaf(_0x25b659,_0x4b3fa0,_0x4cc54f,_0x1f131a){return _0x577062(_0x25b659-0xd7,_0x1f131a,_0x4cc54f-_0x10856a._0x472086,_0x25b659-_0x10856a._0x489bba);}const _0x1d805b=this[_0x457eaf(-_0x33bf69._0x57b9ae,-_0x33bf69._0x3edbab,-0xa6,-_0x33bf69._0x2fc7b2)]['getToolDefinitions'](this[_0xd9bb2(-_0x33bf69._0x14015a,-_0x33bf69._0x134ad6,-_0x33bf69._0x1434ee,-0xa1)][_0x457eaf(0x58,_0x33bf69._0x7eeb4f,-_0x33bf69._0x4b95b8,0x13b)]??[]);return new Set(_0x1d805b[_0x457eaf(0x120,_0x33bf69._0x3c20d2,-0xf6,_0x33bf69._0x4f7c1c)](_0x5154ed=>_0x5154ed[_0x457eaf(0x29,0x253,-0xed,-0x2a)][_0xd9bb2(-0x4f,0x1a4,0xe4,-0x8f)]));}};function _0x13d4(_0x2d5477,_0x415114){_0x2d5477=_0x2d5477-0xb4;const _0x40b217=_0x40b2();let _0x13d40c=_0x40b217[_0x2d5477];if(_0x13d4['rkiRba']===undefined){var _0x124cf2=function(_0x28f76e){const _0x1601f7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x408eab='',_0x419c08='';for(let _0x52fb6f=0x0,_0x8ee082,_0x35d4bf,_0x313645=0x0;_0x35d4bf=_0x28f76e['charAt'](_0x313645++);~_0x35d4bf&&(_0x8ee082=_0x52fb6f%0x4?_0x8ee082*0x40+_0x35d4bf:_0x35d4bf,_0x52fb6f++%0x4)?_0x408eab+=String['fromCharCode'](0xff&_0x8ee082>>(-0x2*_0x52fb6f&0x6)):0x0){_0x35d4bf=_0x1601f7['indexOf'](_0x35d4bf);}for(let _0x56f80c=0x0,_0x5aa0e0=_0x408eab['length'];_0x56f80c<_0x5aa0e0;_0x56f80c++){_0x419c08+='%'+('00'+_0x408eab['charCodeAt'](_0x56f80c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x419c08);};_0x13d4['DFleYv']=_0x124cf2,_0x13d4['maLpWy']={},_0x13d4['rkiRba']=!![];}const _0x531107=_0x40b217[0x0],_0x30c4ba=_0x2d5477+_0x531107,_0x15ffd9=_0x13d4['maLpWy'][_0x30c4ba];return!_0x15ffd9?(_0x13d40c=_0x13d4['DFleYv'](_0x13d40c),_0x13d4['maLpWy'][_0x30c4ba]=_0x13d40c):_0x13d40c=_0x15ffd9,_0x13d40c;}import*as _0x408eab from'os';import*as _0x419c08 from'path';import*as _0x52fb6f from'fs';var RuntimeEnv=class{[_0x1f0bf6(0x31b,0x225,0xcd,0x1d6)];[_0x577062(0x15f,-0x97,-0x268,-0x82)]=null;constructor(_0x452239={}){const _0x4f3935={_0x5c0bfb:0x47e,_0x423229:0x535,_0x3aa8cf:0x43a},_0x203f1f={_0xc173d2:0x77e},_0x495729={_0x2fc99f:0xed};function _0x511884(_0x1d23f3,_0x4b7670,_0xb12272,_0x11f4fb){return _0x1f0bf6(_0x4b7670-0x273,_0xb12272,_0xb12272-0x1ed,_0x11f4fb-_0x495729._0x2fc99f);}function _0x354b14(_0x2ea117,_0x4bf84b,_0x17442c,_0x1eb18a){return _0x577062(_0x2ea117-0x6c,_0x1eb18a,_0x17442c-0x1d,_0x17442c-_0x203f1f._0xc173d2);}this[_0x354b14(0x746,0x5e9,0x6ea,0x53a)]=_0x452239['appName']||_0x354b14(_0x4f3935._0x5c0bfb,_0x4f3935._0x423229,0x4f6,_0x4f3935._0x3aa8cf);}get['workspaceDir'](){const _0x104670={_0x4ac4a6:0x4b0,_0x308a86:0x67a,_0x2d8bdb:0x67e,_0x128a96:0x601,_0x348c38:0x19,_0x8c1eef:0x90,_0x29215a:0x141,_0xb5b2e9:0x6b,_0xf9dbe8:0x203},_0x103a36={_0x25fee0:0x83,_0xf8e85e:0x152},_0x154db3={_0x58e863:0xc0,_0x3a55d7:0x4c1};function _0x11e110(_0x5203b5,_0x31e572,_0x25f298,_0x1a942d){return _0x577062(_0x5203b5-_0x154db3._0x58e863,_0x5203b5,_0x25f298-0x15a,_0x31e572-_0x154db3._0x3a55d7);}function _0x62bbaa(_0x4e4897,_0x1e0be8,_0x853eb2,_0x445311){return _0x577062(_0x4e4897-_0x103a36._0x25fee0,_0x853eb2,_0x853eb2-_0x103a36._0xf8e85e,_0x1e0be8-0x17);}if(!this['_workspaceDir']){const _0x5c3bde=_0x419c08[_0x11e110(0x336,_0x104670._0x4ac4a6,_0x104670._0x308a86,0x674)](_0x408eab[_0x11e110(_0x104670._0x2d8bdb,0x599,0x67e,_0x104670._0x128a96)](),this['appName'],String(Date[_0x62bbaa(-0x2c,-_0x104670._0x348c38,_0x104670._0x8c1eef,0x67)]()));try{_0x52fb6f[_0x11e110(0x26c,0x233,0x125,0x3ee)](_0x5c3bde,{'recursive':!![]});}catch{}this[_0x62bbaa(_0x104670._0x29215a,-_0x104670._0xb5b2e9,-_0x104670._0xf9dbe8,-0x1af)]=_0x5c3bde;}return this['_workspaceDir'];}[_0x1f0bf6(0x49d,0x36d,0x57b,0x61a)](_0x1d4063){const _0x578161={_0x1c3d2e:0x28c,_0x45bf97:0xaf,_0x315d5a:0x1c,_0x27dd31:0x2b3,_0x463b80:0x14b,_0x3992c5:0x26a,_0x50d4e5:0x180,_0x3cc4ab:0x61,_0x1fb1dc:0x101,_0x3b1078:0xc1,_0x461efc:0x84},_0x4b9626={_0x4c60a3:0x16c,_0x562877:0x143},_0x3391d6=_0x419c08['join'](_0x408eab[_0x2d262d(0x12a,_0x578161._0x1c3d2e,0x74,0x54)](),this[_0x47b23f(-0x30,_0x578161._0x45bf97,0x172,-_0x578161._0x315d5a)]);try{_0x52fb6f[_0x47b23f(-_0x578161._0x27dd31,-_0x578161._0x463b80,0xca,0x81)](_0x3391d6,{'recursive':!![]});}catch{}const _0x21d858=_0x1d4063?_0x419c08['join'](_0x3391d6,_0x1d4063):_0x419c08[_0x2d262d(0x3f8,0x1a3,_0x578161._0x3992c5,_0x578161._0x50d4e5)](_0x3391d6,String(Date[_0x47b23f(-0xb9,0x113,0x27f,_0x578161._0x3cc4ab)]()));function _0x2d262d(_0x1d3517,_0x16b1e3,_0x560664,_0x571d84){return _0x577062(_0x1d3517-0x1a5,_0x571d84,_0x560664-0xb1,_0x16b1e3-0x1b4);}function _0x47b23f(_0x13db3e,_0x512af7,_0x327417,_0x3d55fc){return _0x577062(_0x13db3e-0x1b0,_0x3d55fc,_0x327417-_0x4b9626._0x4c60a3,_0x512af7-_0x4b9626._0x562877);}try{_0x52fb6f[_0x47b23f(-0x15,-_0x578161._0x463b80,-_0x578161._0x1fb1dc,0x109)](_0x21d858,{'recursive':!![]});}catch{}this[_0x47b23f(-0xf5,_0x578161._0x3b1078,_0x578161._0x461efc,0x6c)]=_0x21d858;}[_0x1f0bf6(0x16a,0x14b,0x1f6,0x24f)](){const _0x1aa20a={_0xfadd43:0x766,_0x35a26c:0x844,_0x2842ee:0x805,_0x57c403:0x6ca,_0x12a8c8:0x755,_0x299732:0x721,_0x48131e:0x1d2},_0x451986={_0x1adec1:0x113,_0x360295:0xbf},_0x4d1094={_0x5ebbb8:0x19f};function _0x556463(_0x38960b,_0x20b15b,_0x131977,_0x497fbc){return _0x577062(_0x38960b-0x109,_0x20b15b,_0x131977-_0x4d1094._0x5ebbb8,_0x497fbc-0x449);}function _0x218d4d(_0x4cc0cc,_0x3c7176,_0x90d015,_0x338052){return _0x577062(_0x4cc0cc-_0x451986._0x1adec1,_0x4cc0cc,_0x90d015-_0x451986._0x360295,_0x90d015-0x6f2);}return{'cwd':safeCwd(),'platform':process[_0x218d4d(_0x1aa20a._0xfadd43,_0x1aa20a._0x35a26c,_0x1aa20a._0x2842ee,_0x1aa20a._0x57c403)],'arch':process['arch'],'today':new Date()[_0x556463(0x3c0,0x352,0x55e,0x4eb)](),'tempDir':_0x408eab[_0x556463(_0x1aa20a._0x12a8c8,_0x1aa20a._0x299732,0x35f,0x521)](),'workspaceDir':this[_0x556463(_0x1aa20a._0x48131e,0x327,0xe0,0x196)]};}[_0x1f0bf6(0x358,0x4a8,0x12d,0x47a)](..._0x3948ee){const _0x5bfff3={_0x552887:0x418,_0x21b0ce:0x412},_0x3da89c={_0xcdb8c:0x1e2};function _0x5793cc(_0xa827df,_0x36b365,_0x33861f,_0x24fd3d){return _0x577062(_0xa827df-_0x3da89c._0xcdb8c,_0x33861f,_0x33861f-0xc4,_0x24fd3d-0x4e8);}return _0x419c08['join'](this[_0x5793cc(_0x5bfff3._0x552887,0x162,_0x5bfff3._0x21b0ce,0x235)],..._0x3948ee);}};function safeCwd(){const _0x443ef0={_0x3060a4:0xbb,_0x42c50e:0x44,_0x5ee545:0x3a},_0x181006={_0x382cb8:0x5};function _0x10b2d9(_0x36b084,_0x457973,_0x69447a,_0x45f799){return _0x577062(_0x36b084-0x124,_0x36b084,_0x69447a-_0x181006._0x382cb8,_0x69447a-0xf2);}try{return process[_0x10b2d9(_0x443ef0._0x3060a4,-_0x443ef0._0x42c50e,0xae,_0x443ef0._0x5ee545)]();}catch{return'';}}function renderTemplate(_0x4ec499,_0x2adc0b){const _0x44678b={_0x365ab5:0x775,_0x18fa66:0x5af};if(!_0x4ec499)return _0x4ec499;function _0x3f1b21(_0x1496d9,_0x498ca2,_0x411ae3,_0x10089b){return _0x577062(_0x1496d9-0x174,_0x411ae3,_0x411ae3-0x1e3,_0x10089b-0x71a);}return _0x4ec499[_0x3f1b21(0x545,_0x44678b._0x365ab5,_0x44678b._0x18fa66,0x78a)](/\{\{\s*([a-zA-Z0-9_]+)\s*\}\}/g,(_0x1200dc,_0x1bbacd)=>{const _0x42c793=_0x2adc0b[_0x1bbacd];return _0x42c793===null||_0x42c793===void 0x0?'':String(_0x42c793);});}function buildInjectedSystem(_0x5087b4,{withSubAgent:_0x3b878e}={'withSubAgent':![]}){const _0x2f4a62={_0x57241f:0x182,_0x2e7547:0x73,_0x45eb48:0x1dc,_0x379a74:0x214,_0x2c3521:0x10a,_0x1ec751:0x101,_0x4b70c6:0x26b,_0x41513c:0x433,_0x69b99d:0x17a,_0x1f5d07:0xe,_0xeed527:0x263,_0x4d5c52:0x26c,_0xa9ee2b:0x43f,_0x363538:0x248,_0x47a00d:0x2d2,_0x384084:0x2e2,_0x546682:0x77,_0x47aa3a:0x1ea,_0x19fcba:0xff,_0x46a65c:0x1de,_0x402fd1:0x30d,_0x3fe34a:0x54,_0x1eb770:0x307,_0x17432f:0x408,_0x361bf5:0xd4,_0x229575:0x2f9,_0x58ce12:0x16d,_0x43544a:0x163,_0x5188a1:0x229,_0xfd5176:0x29c,_0x148825:0x4e8,_0x75131b:0x1e7,_0x4b0d9f:0x8e,_0xfb7871:0x3b6,_0x3555c9:0x8f,_0x352813:0x3ad,_0x7ee727:0xf6,_0xd4e4cf:0x16a,_0x221be4:0x56,_0x4b8975:0x114,_0x4acae1:0x24c,_0x20a5e9:0x13e},_0x362f0e={_0x314c57:0x22f,_0x1a2aec:0x110},_0x5f1986={_0x1dc9a7:0xf4},_0x4b054e=[_0x209c70(-0x106,_0x2f4a62._0x57241f,_0x2f4a62._0x2e7547,0xe9),_0x5882fb(_0x2f4a62._0x45eb48,_0x2f4a62._0x379a74,_0x2f4a62._0x2c3521,_0x2f4a62._0x1ec751)+_0x5087b4[_0x209c70(_0x2f4a62._0x4b70c6,_0x2f4a62._0x41513c,_0x2f4a62._0x69b99d,0x21d)],_0x209c70(0xfd,0x27e,0x1f4,0x30e)+_0x5087b4[_0x5882fb(_0x2f4a62._0x1f5d07,0x238,_0x2f4a62._0xeed527,0x22a)]+'\x20'+_0x5087b4[_0x209c70(_0x2f4a62._0x4d5c52,_0x2f4a62._0xa9ee2b,_0x2f4a62._0x363538,_0x2f4a62._0x47a00d)],_0x5882fb(0x27c,0x201,0x3ec,0x378)+_0x5087b4[_0x209c70(_0x2f4a62._0x384084,_0x2f4a62._0x546682,0x22d,0x263)],_0x5882fb(-_0x2f4a62._0x47aa3a,-_0x2f4a62._0x19fcba,-0x10c,-_0x2f4a62._0x46a65c)+_0x5087b4[_0x209c70(-_0x2f4a62._0x402fd1,-_0x2f4a62._0x3fe34a,0x72,-0x133)]];_0x5087b4[_0x5882fb(0x356,0x29c,_0x2f4a62._0x1eb770,_0x2f4a62._0x17432f)]&&(_0x4b054e[_0x5882fb(-0x1d3,-0x16d,_0x2f4a62._0x361bf5,-0x9c)](''),_0x4b054e[_0x5882fb(-0x308,-0x16d,-0x2b8,-_0x2f4a62._0x229575)]('Folder\x20structure:'),_0x4b054e[_0x5882fb(-0x16d,-_0x2f4a62._0x58ce12,-_0x2f4a62._0x43544a,0x3c)](_0x5087b4[_0x5882fb(_0x2f4a62._0x5188a1,_0x2f4a62._0xfd5176,_0x2f4a62._0x148825,0x13f)]));if(_0x5087b4[_0x209c70(0xc2,_0x2f4a62._0x75131b,-0xa1,0x57)]&&_0x5087b4['availableAgents'][_0x5882fb(-0xc,0x128,-0xa1,-0x106)]>0x0&&_0x3b878e){_0x4b054e[_0x5882fb(-_0x2f4a62._0x4b0d9f,-0x16d,-_0x2f4a62._0xfb7871,_0x2f4a62._0x3555c9)](''),_0x4b054e[_0x5882fb(-0x129,-0x16d,-0xfd,0x44)](_0x5882fb(-_0x2f4a62._0x352813,-0x1b4,-0x1aa,-0xec));for(const _0x4f4aa9 of _0x5087b4[_0x5882fb(-_0x2f4a62._0x7ee727,-0x4,_0x2f4a62._0xd4e4cf,-0x60)]){_0x4b054e['push']('-\x20'+_0x4f4aa9['id']+':\x20'+_0x4f4aa9['description']);}}function _0x5882fb(_0x12db7c,_0x2154a1,_0x4d35c8,_0x2265f9){return _0x1f0bf6(_0x2154a1- -0x28a,_0x4d35c8,_0x4d35c8-_0x5f1986._0x1dc9a7,_0x2265f9-0x1a7);}function _0x209c70(_0x3721eb,_0x3a1015,_0x29e9c9,_0x440ee4){return _0x1f0bf6(_0x440ee4- -_0x362f0e._0x314c57,_0x3a1015,_0x29e9c9-0xed,_0x440ee4-_0x362f0e._0x1a2aec);}return _0x4b054e[_0x5882fb(_0x2f4a62._0x221be4,_0x2f4a62._0x4b8975,_0x2f4a62._0x4acae1,-_0x2f4a62._0x20a5e9)]('\x0a');}var AGENT_CREATOR_SYSTEM_PROMPT=_0x577062(0x159,-0x131,0x8b,-0x12);function buildAgentCreationPrompt(_0x372ea4){return'Create\x20a\x20specialist\x20agent\x20configuration\x20based\x20on\x20this\x20description:\x0a\x0a'+_0x372ea4+'\x0a\x0aGenerate\x20a\x20complete\x20agent\x20configuration\x20following\x20the\x20guidelines.\x20Return\x20ONLY\x20the\x20JSON\x20object.';}import{promises as _0x8ee082}from'fs';import*as _0x35d4bf from'path';var GitIgnoreParser=class{[_0x1f0bf6(0x162,0x339,0x77,0x2ec)]=[];constructor(_0x2a8c79){const _0x2ed9fb={_0x2ea884:0x309,_0x29d076:0x310,_0x396f95:0x2fc,_0x330ab6:0xd5,_0x495947:0x2ff,_0x1298df:0x19a,_0x2cd753:0xf,_0x1b2fad:0x62,_0x2550b2:0xf3,_0x384dd4:0x9f,_0x9d81de:0x110,_0x2c6f08:0x313},_0x995dd8={_0x254cb0:0x11f,_0x127e3d:0x19f};function _0x1bacad(_0x11ee50,_0x375e77,_0x54d6c0,_0x44d621){return _0x577062(_0x11ee50-0xc6,_0x54d6c0,_0x54d6c0-_0x995dd8._0x254cb0,_0x11ee50-_0x995dd8._0x127e3d);}const _0x43ac28=_0x2a8c79[_0x3e153c(0x1d1,0x17c,_0x2ed9fb._0x2ea884,0x31e)]('\x0a');function _0x3e153c(_0x1ad637,_0x2d980c,_0x2290ca,_0x2b24a2){return _0x1f0bf6(_0x2b24a2- -0x1c4,_0x1ad637,_0x2290ca-0x25,_0x2b24a2-0xb0);}for(const _0x3c23cb of _0x43ac28){const _0x17df5b=_0x3c23cb['trim']();if(!_0x17df5b||_0x17df5b[_0x3e153c(0x14b,0x3ba,0x45a,0x35c)]('#'))continue;const _0x213405=_0x17df5b[_0x1bacad(_0x2ed9fb._0x29d076,0x389,0x2fc,_0x2ed9fb._0x396f95)]('!'),_0x208797=_0x213405?_0x17df5b[_0x3e153c(0x3c,0x126,-_0x2ed9fb._0x330ab6,0x15c)](0x1):_0x17df5b,_0xf057c=_0x208797[_0x3e153c(0x255,0x412,0x520,_0x2ed9fb._0x495947)]('/');this[_0x3e153c(-_0x2ed9fb._0x1298df,-0x1c3,_0x2ed9fb._0x2cd753,-_0x2ed9fb._0x1b2fad)][_0x1bacad(-_0x2ed9fb._0x2550b2,0x15a,-_0x2ed9fb._0x384dd4,-0x27f)]({'pattern':_0xf057c?_0x208797[_0x1bacad(_0x2ed9fb._0x9d81de,_0x2ed9fb._0x2c6f08,0x114,0x108)](0x0,-0x1):_0x208797,'isNegation':_0x213405,'isDirectory':_0xf057c});}}[_0x577062(-0x1a4,-0x23a,0x49,0x1a)](_0x3c70d4,_0x418115){const _0x37a531={_0x2d8764:0x1aa,_0x4b846d:0x3fb,_0x30a64d:0x323,_0x4b9357:0x23b,_0x3eecaa:0x2af,_0x16e5f7:0x365,_0x10a840:0x164,_0x5c7dda:0x191,_0x51946e:0x368},_0x4ca3a0={_0x55dc22:0x8e};let _0x1f361f=![];for(const _0x420145 of this[_0x248ee5(-0xaf,-_0x37a531._0x2d8764,-0xdd,-_0x37a531._0x4b846d)]){if(_0x420145[_0x12e117(0x39d,0x313,0x4c3,0x277)]&&!_0x418115)continue;this[_0x12e117(_0x37a531._0x30a64d,_0x37a531._0x4b9357,_0x37a531._0x3eecaa,_0x37a531._0x16e5f7)](_0x3c70d4,_0x420145['pattern'])&&(_0x1f361f=!_0x420145[_0x248ee5(-_0x37a531._0x10a840,-_0x37a531._0x5c7dda,-_0x37a531._0x51946e,-0x80)]);}function _0x248ee5(_0x3eeb91,_0x3ef452,_0x486e51,_0x51d47d){return _0x1f0bf6(_0x3ef452- -0x30c,_0x486e51,_0x486e51-0x1b1,_0x51d47d-0x57);}function _0x12e117(_0x55c1af,_0x479c32,_0x188be5,_0x16c24c){return _0x577062(_0x55c1af-_0x4ca3a0._0x55dc22,_0x188be5,_0x188be5-0x1a7,_0x479c32-0x178);}return _0x1f361f;}[_0x1f0bf6(0x472,0x5c2,0x296,0x5c6)](_0x5c1b74,_0x20cd6b){const _0xe7dabf={_0x543dcb:0x2e5,_0x81fe60:0x3d,_0xfe2e88:0x8b,_0x427fb6:0x280,_0x242508:0x137,_0x4d69b8:0x30,_0x5a535d:0xba,_0x22feda:0x227,_0x2b4c64:0xef,_0x46988e:0x1a2,_0x36ce7a:0x463,_0x488d83:0x2ba},_0x4a5a3f={_0x305785:0x145,_0x4ce95b:0xce},_0x5ded34={_0x134569:0x3ef};function _0xfb705b(_0x53d07b,_0x4d0a90,_0x43df14,_0x515157){return _0x1f0bf6(_0x4d0a90- -_0x5ded34._0x134569,_0x43df14,_0x43df14-0x90,_0x515157-0x18d);}function _0x551417(_0x4464f4,_0x261d88,_0x4e2b50,_0x346865){return _0x577062(_0x4464f4-_0x4a5a3f._0x305785,_0x261d88,_0x4e2b50-0x149,_0x4464f4-_0x4a5a3f._0x4ce95b);}const _0x490541=_0x5c1b74[_0xfb705b(_0xe7dabf._0x543dcb,0xf3,-0x161,-0xc0)]('/');if(_0x20cd6b[_0x551417(-_0xe7dabf._0x81fe60,_0xe7dabf._0xfe2e88,-_0xe7dabf._0x427fb6,-_0xe7dabf._0x242508)]('*')){const _0x4813f8=new RegExp('^'+_0x20cd6b[_0xfb705b(-0x5a,_0xe7dabf._0x4d69b8,0x13a,0x12f)](/\./g,'\x5c.')[_0xfb705b(-_0xe7dabf._0x5a535d,0x30,_0xe7dabf._0x22feda,_0xe7dabf._0x2b4c64)](/\*/g,'.*')[_0xfb705b(-0xbd,0x30,-0x18f,-_0xe7dabf._0x46988e)](/\?/g,'.')+'$');return _0x4813f8['test'](_0x5c1b74)||_0x490541['some'](_0xf17e8d=>_0x4813f8[_0x551417(-0x2c,0x11,-0x1d9,-0xbb)](_0xf17e8d));}return _0x5c1b74===_0x20cd6b||_0x5c1b74[_0x551417(0x23f,_0xe7dabf._0x36ce7a,0x2ac,0x328)](_0x20cd6b+'/')||_0x490541[_0xfb705b(-_0xe7dabf._0x488d83,-0x145,-0x2c3,0x4d)](_0x4ad7f2=>_0x4ad7f2===_0x20cd6b);}};async function loadGitIgnore(_0x4fcb07){const _0x53c3a4={_0x256336:0x9c,_0x31625d:0xae,_0xf9a096:0x225},_0x1f97d8={_0x5c23cb:0x9f,_0x487506:0x110},_0x36eb39={_0x496fa2:0x181},_0x2b5461=_0x35d4bf['join'](_0x4fcb07,_0x108da7(-0x16,-0x24a,-_0x53c3a4._0x256336,-_0x53c3a4._0x31625d));function _0x108da7(_0x2a4ce4,_0x1ffaf1,_0x25f5bf,_0x53763c){return _0x1f0bf6(_0x25f5bf- -0x188,_0x1ffaf1,_0x25f5bf-_0x36eb39._0x496fa2,_0x53763c-0xd5);}function _0x156142(_0x2694d8,_0x226277,_0x39e0c9,_0x54a752){return _0x1f0bf6(_0x2694d8- -0x102,_0x39e0c9,_0x39e0c9-_0x1f97d8._0x5c23cb,_0x54a752-_0x1f97d8._0x487506);}try{const _0xab06b5=await _0x8ee082['readFile'](_0x2b5461,_0x108da7(-0x39,-_0x53c3a4._0xf9a096,-0x7b,-0x13e));return new GitIgnoreParser(_0xab06b5);}catch{return null;}}async function buildTree(_0x504df6,_0x55c072,_0x316991,_0x4b427f,_0x42cfd6,_0x1f1f0b){const _0x39fd3c={_0x9aec3d:0x42c,_0xcf3bf6:0x1da,_0x5261d8:0x20,_0x4c1d14:0x9a5,_0x1bad93:0x9ba,_0x2fa63a:0x879,_0x2a76c4:0x77e,_0x4011cc:0x39,_0x339630:0x3a,_0x50db8d:0x1f4,_0x27d19e:0x336,_0x22f232:0x2af,_0x5dc2cf:0x489,_0x26cdff:0x2a7,_0x3ef160:0x296,_0x5cc277:0x451,_0x37b3f5:0x92c,_0x5b42b8:0x97e,_0x4ab678:0x749,_0x1ad75e:0x971,_0x61939f:0x4fa,_0x3a55ce:0x734,_0x46b8bf:0x94d,_0x3b1482:0x80c,_0x3f47d6:0x109,_0x1bb7bb:0x33f,_0x379634:0x14f,_0x52c4ea:0x1fb,_0x481eec:0x310,_0x3d4e35:0x11d,_0x15ab7f:0x65a,_0x30fb86:0x3c0,_0x540e2c:0x1da,_0x22f279:0x45},_0x27919f={_0x3bd42a:0x471,_0x2a0631:0x2a,_0x15c121:0x23,_0x7c283d:0x539,_0x380e30:0x263,_0x8f9bc6:0x2e5,_0x7d8ab5:0x303,_0x323d3d:0x115},_0x23142b={_0x4123fa:0x171},_0x4f9c78={_0x40c661:0x29d,_0x12ce23:0x1cd},_0x9a221a={_0x2736d4:0x14a,_0x4a4cac:0x74};if(_0x42cfd6>=_0x4b427f[_0x553d5b(_0x39fd3c._0x9aec3d,0x11d,_0x39fd3c._0xcf3bf6,_0x39fd3c._0x5261d8)]||_0x1f1f0b['count']>=_0x4b427f[_0x111ead(_0x39fd3c._0x4c1d14,_0x39fd3c._0x1bad93,_0x39fd3c._0x2fa63a,_0x39fd3c._0x2a76c4)])return[];let _0x1dd3de;function _0x553d5b(_0xda7551,_0xdfdf28,_0x41e976,_0x470668){return _0x577062(_0xda7551-_0x9a221a._0x2736d4,_0xda7551,_0x41e976-_0x9a221a._0x4a4cac,_0x41e976-0x175);}try{_0x1dd3de=await _0x8ee082['readdir'](_0x504df6,{'withFileTypes':!![]});}catch{return[];}const _0x43afde=[];function _0x111ead(_0x377989,_0x831210,_0x3d1449,_0x12c495){return _0x1f0bf6(_0x12c495-_0x4f9c78._0x40c661,_0x3d1449,_0x3d1449-0xdf,_0x12c495-_0x4f9c78._0x12ce23);}const _0x171aea=_0x1dd3de[_0x553d5b(_0x39fd3c._0x4011cc,-0x167,-_0x39fd3c._0x339630,-_0x39fd3c._0x50db8d)]((_0x229eb9,_0x2945d6)=>{const _0x38aafa={_0x122817:0x11c};if(_0x229eb9[_0x2f7646(0x724,0x539,_0x27919f._0x3bd42a,0x37c)]()&&!_0x2945d6['isDirectory']())return-0x1;if(!_0x229eb9[_0x473da3(-0x66,_0x27919f._0x2a0631,_0x27919f._0x15c121,0x1b3)]()&&_0x2945d6[_0x2f7646(0x428,_0x27919f._0x7c283d,0x706,0x408)]())return 0x1;function _0x2f7646(_0x3d6fc0,_0x542c34,_0x40d6d9,_0x4d09a0){return _0x111ead(_0x3d6fc0-0x4c,_0x542c34-_0x23142b._0x4123fa,_0x3d6fc0,_0x542c34- -0x2ae);}function _0x473da3(_0xdcc6b6,_0x3fdfa4,_0x561f44,_0x1b117a){return _0x553d5b(_0xdcc6b6,_0x3fdfa4-0x19d,_0x1b117a- -0x15d,_0x1b117a-_0x38aafa._0x122817);}return _0x229eb9[_0x2f7646(0x52e,0x49b,0x4ed,0x3ad)][_0x2f7646(0x131,_0x27919f._0x380e30,_0x27919f._0x8f9bc6,0x24f)](_0x2945d6[_0x473da3(_0x27919f._0x7d8ab5,0x32f,-0x7,_0x27919f._0x323d3d)]);});for(const _0x1881f6 of _0x171aea){if(_0x1f1f0b[_0x553d5b(0x12,_0x39fd3c._0x27d19e,0x12f,_0x39fd3c._0x22f232)]>=_0x4b427f[_0x553d5b(_0x39fd3c._0x5dc2cf,0x30f,_0x39fd3c._0x26cdff,_0x39fd3c._0x3ef160)])break;if(!_0x4b427f[_0x111ead(0x54e,0x3dd,0x5c9,_0x39fd3c._0x5cc277)]&&_0x1881f6[_0x111ead(0x61f,_0x39fd3c._0x37b3f5,_0x39fd3c._0x5b42b8,_0x39fd3c._0x4ab678)]['startsWith']('.'))continue;if(_0x1881f6[_0x111ead(_0x39fd3c._0x1ad75e,0x52e,_0x39fd3c._0x61939f,0x749)]==='.git')continue;const _0x1c32ee=_0x35d4bf['join'](_0x504df6,_0x1881f6[_0x111ead(0x6aa,0x7b8,0x8bc,0x749)]),_0xaeb321=_0x35d4bf[_0x111ead(_0x39fd3c._0x3a55ce,0x5e8,_0x39fd3c._0x46b8bf,_0x39fd3c._0x3b1482)](_0x55c072,_0x1c32ee);if(_0x316991?.['shouldIgnore'](_0xaeb321,_0x1881f6['isDirectory']()))continue;const _0x11f4a9='\x20\x20'[_0x553d5b(0x439,_0x39fd3c._0x3f47d6,0x2a9,0xea)](_0x42cfd6),_0x3f33b5=_0x1881f6[_0x553d5b(_0x39fd3c._0x1bb7bb,0x1c3,0x310,_0x39fd3c._0x379634)]()?'/':'';_0x43afde[_0x553d5b(-_0x39fd3c._0x52c4ea,-_0x39fd3c._0x481eec,-_0x39fd3c._0x3d4e35,-0x23b)](''+_0x11f4a9+_0x1881f6['name']+_0x3f33b5),_0x1f1f0b[_0x111ead(0x54b,_0x39fd3c._0x15ab7f,0x73c,0x606)]++;if(_0x1881f6[_0x553d5b(0x3b9,0x15e,_0x39fd3c._0x481eec,0x150)]()&&_0x42cfd6+0x1<_0x4b427f[_0x553d5b(_0x39fd3c._0x30fb86,0x2a5,_0x39fd3c._0x540e2c,0x159)]){const _0x5d6232=await buildTree(_0x1c32ee,_0x55c072,_0x316991,_0x4b427f,_0x42cfd6+0x1,_0x1f1f0b);_0x43afde[_0x553d5b(-0x281,-0x22,-0x11d,_0x39fd3c._0x22f279)](..._0x5d6232);}}return _0x43afde;}async function generateFolderTree(_0x1385d9,_0xc9b60b={}){const _0x1e14db={_0x2a669d:0x378,_0x544748:0x3a7,_0x3ad872:0x16a,_0x213406:0x20,_0x2a5107:0x9b,_0xbabeab:0x60,_0x19d714:0x5f,_0x4eb1d3:0x286,_0x584dbb:0x153,_0x2c591f:0x269},_0x632813={_0x207d24:0x135,_0x5325aa:0xbc},_0x57b222={_0x193a91:0x154},_0x2e2042={'maxDepth':_0xc9b60b['maxDepth']??0x5,'maxFiles':_0xc9b60b[_0x428cbc(_0x1e14db._0x2a669d,_0x1e14db._0x544748,0x3ac,0x2e5)]??0x1f4,'includeHidden':_0xc9b60b[_0x428cbc(0x1e9,_0x1e14db._0x3ad872,0x7f,-0x58)]??![]};function _0x182e98(_0x31068d,_0xc2c2a6,_0x4bae20,_0x5f7857){return _0x577062(_0x31068d-0x1c4,_0x5f7857,_0x4bae20-_0x57b222._0x193a91,_0x31068d-0x3bf);}const _0x388659=await loadGitIgnore(_0x1385d9),_0x12101e={'count':0x0},_0x102021=await buildTree(_0x1385d9,_0x1385d9,_0x388659,_0x2e2042,0x0,_0x12101e),_0x3274ff=_0x35d4bf[_0x428cbc(-0xf,_0x1e14db._0x213406,-0xa,_0x1e14db._0x2a5107)](_0x1385d9)+'/';if(_0x102021['length']===0x0)return _0x3274ff+_0x428cbc(-_0x1e14db._0xbabeab,0x20b,0x169,-_0x1e14db._0x19d714);function _0x428cbc(_0x465594,_0x361e61,_0x4e726d,_0x53458c){return _0x1f0bf6(_0x4e726d- -_0x632813._0x207d24,_0x53458c,_0x4e726d-_0x632813._0x5325aa,_0x53458c-0x12);}return[_0x3274ff,..._0x102021][_0x428cbc(_0x1e14db._0x4eb1d3,_0x1e14db._0x584dbb,_0x1e14db._0x2c591f,0x1b2)]('\x0a');}var MemoryPortMetadataAdapter=class{constructor(_0x599334,_0xe12041=_0x577062(-0x13c,-0xd9,0x1b0,0x12)){const _0x21ae91={_0x1cff2a:0x432,_0x5992bd:0x2ae,_0x268fa1:0x1f6,_0x30a3be:0x257,_0x5e6109:0x505},_0x14e3de={_0x18ad88:0x1ec,_0xeb9064:0xc0},_0x5516ec={_0xe097e:0x364,_0x41523f:0xb1,_0x3cf303:0x60};function _0x251713(_0x44aab5,_0x92a775,_0x16b120,_0x9cdcb7){return _0x1f0bf6(_0x9cdcb7-_0x5516ec._0xe097e,_0x16b120,_0x16b120-_0x5516ec._0x41523f,_0x9cdcb7-_0x5516ec._0x3cf303);}this[_0x301f90(_0x21ae91._0x1cff2a,_0x21ae91._0x5992bd,_0x21ae91._0x268fa1,_0x21ae91._0x30a3be)]=_0x599334;function _0x301f90(_0xb28d36,_0x18497e,_0x5a0342,_0x50419a){return _0x577062(_0xb28d36-_0x14e3de._0x18ad88,_0x5a0342,_0x5a0342-_0x14e3de._0xeb9064,_0x50419a-0x226);}this[_0x251713(0x5a6,0x56f,_0x21ae91._0x5e6109,0x4e7)]=_0xe12041;}[_0x1f0bf6(0x2b4,0x3bf,0xba,0xb3)](_0x3e5f3d){const _0x4ebb62={_0x16c0e3:0x5c9,_0x3f73a9:0x5f7};function _0xa994fe(_0x100c0a,_0xcee5b8,_0x1f0377,_0x512d5b){return _0x577062(_0x100c0a-0x90,_0x1f0377,_0x1f0377-0x169,_0xcee5b8-0x6bd);}return''+this[_0xa994fe(_0x4ebb62._0x16c0e3,0x491,_0x4ebb62._0x3f73a9,0x2e7)]+_0x3e5f3d;}async['get'](_0xe7003c){const _0x570403={_0x385618:0x4ec},_0x33c1bb={_0x3c6a75:0x190},_0x461dd6={_0x46cc19:0xf7,_0x552fae:0xa0,_0x1ff000:0x2f};function _0x4627a4(_0x41e4e8,_0x1e7983,_0x4dbc23,_0x4c688c){return _0x1f0bf6(_0x4c688c-_0x461dd6._0x46cc19,_0x41e4e8,_0x4dbc23-_0x461dd6._0x552fae,_0x4c688c-_0x461dd6._0x1ff000);}const _0x2135fd=await this['memory'][_0xf04e90(0x67f,_0x570403._0x385618,0x477,0x577)](this['getKey'](_0xe7003c));function _0xf04e90(_0x47efcc,_0x3f801b,_0x2aedff,_0x42cf19){return _0x577062(_0x47efcc-0x49,_0x47efcc,_0x2aedff-_0x33c1bb._0x3c6a75,_0x3f801b-0x6f2);}return _0x2135fd[_0xf04e90(0x661,0x6f5,0x52c,0x4a2)]>0x0?_0x2135fd[0x0]:null;}async[_0x1f0bf6(0x1f5,0x3fe,0x446,0x1c0)](_0x4b6056,_0x4e85ad){const _0xf7c7ec={_0x5b2630:0x730,_0x5ec8bb:0x448},_0x169a6a={_0x3d8900:0xda},_0x5ddef7={_0x55ee0f:0xd};function _0x2a99fb(_0x1ee97b,_0x154275,_0x5de471,_0xac39f0){return _0x1f0bf6(_0x1ee97b-_0x5ddef7._0x55ee0f,_0xac39f0,_0x5de471-0x177,_0xac39f0-0x107);}function _0x3b9ab0(_0x465876,_0xa4c2ca,_0xeb3169,_0x3f95dd){return _0x577062(_0x465876-_0x169a6a._0x3d8900,_0x465876,_0xeb3169-0x165,_0xeb3169-0x6c2);}await this[_0x3b9ab0(0x65a,0x90c,0x6f3,0x576)]['set'](this[_0x3b9ab0(_0xf7c7ec._0x5b2630,_0xf7c7ec._0x5ec8bb,0x5c7,0x3d1)](_0x4b6056),[_0x4e85ad]);}async[_0x1f0bf6(0x53c,0x364,0x5c9,0x3ab)](_0x32ea8e){const _0x3afbae={_0x4a3224:0x395,_0x191e7e:0x514,_0x58d44b:0x328,_0x4a6a71:0xc,_0x54bb66:0x1fc},_0x469d32={_0x2b45f5:0xf5,_0x40a9dd:0x594},_0x5267bd={_0x5dc5d8:0x1a7,_0x2d02cf:0x46};function _0x12b3e4(_0x499c45,_0x4b5ad9,_0x23b668,_0x45f29e){return _0x1f0bf6(_0x499c45- -_0x5267bd._0x5dc5d8,_0x45f29e,_0x23b668-_0x5267bd._0x2d02cf,_0x45f29e-0x1be);}function _0x4da909(_0x4b24d5,_0x31a8b2,_0x21ec31,_0x5af57d){return _0x577062(_0x4b24d5-_0x469d32._0x2b45f5,_0x21ec31,_0x21ec31-0x23,_0x31a8b2-_0x469d32._0x40a9dd);}await this['memory'][_0x12b3e4(_0x3afbae._0x4a3224,_0x3afbae._0x191e7e,0x357,_0x3afbae._0x58d44b)](this[_0x12b3e4(0x10d,-_0x3afbae._0x4a6a71,0x1f2,_0x3afbae._0x54bb66)](_0x32ea8e));}async['keys'](){const _0x2e6780={_0x2eb569:0x8b1,_0x39d6f8:0x185,_0x156e25:0x71,_0x5432c2:0x262,_0x21892a:0x177,_0x3c5d1b:0x2ce,_0xfcd6f6:0x79,_0x5110fe:0x653,_0x11928f:0x5af},_0x24daba={_0x198ea4:0x28a,_0x439b3b:0x1b1};function _0x32111d(_0x3cbf59,_0x27ad6f,_0xab6929,_0x58ee92){return _0x577062(_0x3cbf59-0x99,_0xab6929,_0xab6929-0x24,_0x3cbf59-0x1ff);}const _0x2604fc=await this[_0x1f3405(0x7be,_0x2e6780._0x2eb569,0x5f4,0x66a)][_0x32111d(_0x2e6780._0x39d6f8,-_0x2e6780._0x156e25,0x12e,_0x2e6780._0x5432c2)]();function _0x1f3405(_0x14207d,_0x1706a9,_0x238788,_0x59feb7){return _0x1f0bf6(_0x59feb7-_0x24daba._0x198ea4,_0x14207d,_0x238788-0x130,_0x59feb7-_0x24daba._0x439b3b);}return _0x2604fc[_0x32111d(_0x2e6780._0x21892a,_0x2e6780._0x3c5d1b,0x2ce,-_0x2e6780._0xfcd6f6)](_0x259485=>_0x259485[_0x32111d(0x370,0x4ff,0x429,0x37e)](this[_0x1f3405(0x42e,0x346,0x1fd,0x40d)]))[_0x1f3405(_0x2e6780._0x5110fe,_0x2e6780._0x11928f,0x594,0x63e)](_0x49e50e=>_0x49e50e[_0x32111d(0x170,0x6c,0x3ab,0x393)](this[_0x1f3405(0x51e,0x4a5,0x505,0x40d)]['length']));}async[_0x577062(-0x452,-0x35f,-0x431,-0x217)](){const _0x46e9c1={_0x557c10:0x16,_0x1f235a:0x18c,_0x4fa348:0x1fd,_0x5d4517:0x4da,_0x1da29c:0x552,_0x3aa0c2:0x6c1,_0x5b53c3:0x410,_0x2dace2:0x2b6,_0x249fe8:0x46d},_0x2bf4f5={_0x19cefd:0xe2},_0x1f9053={_0x15b942:0x5c,_0x45d45a:0x1bf},_0x166886=await this[_0x1d1a4c(-_0x46e9c1._0x557c10,_0x46e9c1._0x1f235a,0x118,-_0x46e9c1._0x4fa348)]();function _0x3c41df(_0x5064b3,_0x16c7b7,_0x350bc7,_0x5ce78c){return _0x1f0bf6(_0x5064b3-_0x1f9053._0x15b942,_0x350bc7,_0x350bc7-_0x1f9053._0x45d45a,_0x5ce78c-0xd8);}function _0x1d1a4c(_0x6982f7,_0x43a845,_0x12874a,_0x344aab){return _0x577062(_0x6982f7-_0x2bf4f5._0x19cefd,_0x43a845,_0x12874a-0x1be,_0x6982f7-0x64);}await Promise[_0x3c41df(_0x46e9c1._0x5d4517,_0x46e9c1._0x1da29c,_0x46e9c1._0x3aa0c2,0x620)](_0x166886[_0x3c41df(_0x46e9c1._0x5b53c3,_0x46e9c1._0x2dace2,_0x46e9c1._0x249fe8,0x5a4)](_0x40ed55=>this['delete'](_0x40ed55)));}async[_0x1f0bf6(0x536,0x5b7,0x6ac,0x375)](){const _0x71e947={_0x417fba:0x2a,_0x5f3106:0x21e,_0x295c9b:0x2be,_0x5513ba:0x65},_0x267048={_0x2f2e06:0x17},_0x3dfca5={_0x4b5244:0x35f},_0x4de0ab=await this[_0x489f0d(-0x1ce,-0xdb,-_0x71e947._0x417fba,-_0x71e947._0x5f3106)](),_0xd5ab04={};for(const _0x30bd6e of _0x4de0ab){const _0x5842c5=await this[_0x48a97c(_0x71e947._0x295c9b,_0x71e947._0x5513ba,0x123,-0x3d)](_0x30bd6e);_0x5842c5!==null&&(_0xd5ab04[_0x30bd6e]=_0x5842c5);}function _0x489f0d(_0x43bbd4,_0x418d7b,_0x101096,_0x5506c0){return _0x1f0bf6(_0x101096- -_0x3dfca5._0x4b5244,_0x5506c0,_0x101096-0xc1,_0x5506c0-0x37);}function _0x48a97c(_0x170677,_0x320b6f,_0x23e314,_0x401526){return _0x577062(_0x170677-_0x267048._0x2f2e06,_0x401526,_0x23e314-0x1e4,_0x23e314-0x329);}return _0xd5ab04;}async[_0x577062(-0x252,-0x2fb,-0xa,-0x13f)](_0x341e4f){const _0x3fdcb0={_0x217cb6:0x317,_0x5ee958:0x3e5,_0x1cc097:0xa5,_0x4af5aa:0x14},_0x17d68f={_0x20609f:0x89,_0x35bfc4:0xb8},_0x5251af={_0x5c3622:0x94};function _0x34c4c8(_0x5e3794,_0x4544fe,_0x2571d9,_0x435b61){return _0x577062(_0x5e3794-0x13d,_0x435b61,_0x2571d9-_0x5251af._0x5c3622,_0x2571d9-0x1ce);}function _0x5d142c(_0x483e13,_0x2c64b8,_0x49c420,_0x46275f){return _0x577062(_0x483e13-_0x17d68f._0x20609f,_0x2c64b8,_0x49c420-_0x17d68f._0x35bfc4,_0x483e13-0x3ab);}for(const [_0x1fe2ef,_0x1ba628]of Object[_0x5d142c(0x2bb,0x3db,_0x3fdcb0._0x217cb6,_0x3fdcb0._0x5ee958)](_0x341e4f)){await this[_0x34c4c8(_0x3fdcb0._0x1cc097,-0x20b,_0x3fdcb0._0x4af5aa,-0x8a)](_0x1fe2ef,_0x1ba628);}}},InMemoryMetadata=class{[_0x1f0bf6(0x251,0x3f0,0x1a0,0x28d)]=new Map();async[_0x1f0bf6(0x1a9,0x1cd,0x355,0x138)](_0x115caa){const _0x52dcda={_0x288e9a:0x154};function _0x244c4b(_0x48ff9b,_0x55c7df,_0x170a69,_0x3e969f){return _0x1f0bf6(_0x170a69-0x49,_0x48ff9b,_0x170a69-0x22,_0x3e969f-0x114);}return this['store'][_0x244c4b(0x30f,_0x52dcda._0x288e9a,0x1f2,0x304)](_0x115caa)??null;}async[_0x577062(-0x396,-0x3b1,-0xd6,-0x1ba)](_0x11d1c3,_0x14b675){const _0x2ef461={_0x1f91c5:0x2d3,_0x954b24:0x132,_0x4f1554:0x307,_0x5c7cfe:0x36},_0x1755a5={_0xd35f1e:0x225,_0xba9f36:0xec};function _0x58bfee(_0x207be4,_0x371924,_0x4885a0,_0x1162d2){return _0x1f0bf6(_0x371924- -_0x1755a5._0xd35f1e,_0x1162d2,_0x4885a0-_0x1755a5._0xba9f36,_0x1162d2-0x16);}function _0x98d90e(_0x2a8e7d,_0x99a825,_0x18b56f,_0x3a3e9c){return _0x1f0bf6(_0x3a3e9c- -0x39,_0x2a8e7d,_0x18b56f-0x15d,_0x3a3e9c-0xa6);}this[_0x98d90e(0x3ad,_0x2ef461._0x1f91c5,_0x2ef461._0x954b24,0x218)][_0x98d90e(_0x2ef461._0x4f1554,_0x2ef461._0x5c7cfe,0x28e,0x1bc)](_0x11d1c3,_0x14b675);}async[_0x1f0bf6(0x53c,0x53d,0x4d8,0x3f2)](_0x297bea){const _0x10a805={_0x1db670:0x54c,_0x10a84a:0x74c,_0x1555c0:0x51b,_0x2fb36d:0x71d,_0x34ca2e:0x806},_0x57f12d={_0x3d3ad8:0x195,_0x1ff12a:0x1ed,_0x5e1abe:0x158},_0x337443={_0x39cd68:0x7};function _0x1462d7(_0x50ce53,_0x42a253,_0x1af38d,_0x557c98){return _0x577062(_0x50ce53-0x145,_0x1af38d,_0x1af38d-_0x337443._0x39cd68,_0x557c98-0x679);}function _0x5eadc1(_0x1b37d1,_0xcee481,_0x30cca7,_0x2bd79f){return _0x577062(_0x1b37d1-_0x57f12d._0x3d3ad8,_0x2bd79f,_0x30cca7-_0x57f12d._0x1ff12a,_0x30cca7-_0x57f12d._0x5e1abe);}this[_0x1462d7(0x6a5,_0x10a805._0x1db670,_0x10a805._0x10a84a,_0x10a805._0x1555c0)][_0x1462d7(0x8be,0x831,_0x10a805._0x2fb36d,_0x10a805._0x34ca2e)](_0x297bea);}async[_0x577062(-0x1c9,-0x17f,0x19,-0x7a)](){const _0x30a38b={_0x484c90:0x189,_0x29c9a9:0x18b,_0x3acc27:0x4d2,_0x4350a5:0x53a,_0xe9ece1:0x6e,_0x430cf2:0xf3,_0x3c3341:0x2ec},_0x1a609b={_0x263743:0x10c,_0x2da7d1:0x160};function _0x342399(_0x4c96e6,_0x1eda8a,_0x4c5459,_0x3265f4){return _0x577062(_0x4c96e6-_0x1a609b._0x263743,_0x4c5459,_0x4c5459-_0x1a609b._0x2da7d1,_0x3265f4-0x698);}function _0xe689af(_0x34aa4b,_0x2a6d3a,_0x41839f,_0x1483e2){return _0x577062(_0x34aa4b-0x5,_0x41839f,_0x41839f-0xa2,_0x2a6d3a-0x206);}return Array[_0xe689af(0x2e9,0x99,-_0x30a38b._0x484c90,-_0x30a38b._0x29c9a9)](this[_0x342399(_0x30a38b._0x3acc27,0x766,0x52d,_0x30a38b._0x4350a5)][_0xe689af(-_0x30a38b._0xe9ece1,0x18c,_0x30a38b._0x430cf2,_0x30a38b._0x3c3341)]());}async[_0x577062(-0x263,-0x39b,-0x2ae,-0x217)](){const _0x3013f9={_0x2b3b10:0xa,_0x3ed5a2:0x157},_0x3a4bb1={_0x261ac0:0x3ca,_0x5a9d54:0xc0,_0x66563a:0x180};function _0x1bd084(_0x5b39ca,_0x2a7819,_0x24c50f,_0x41a90d){return _0x1f0bf6(_0x41a90d-_0x3a4bb1._0x261ac0,_0x2a7819,_0x24c50f-_0x3a4bb1._0x5a9d54,_0x41a90d-_0x3a4bb1._0x66563a);}function _0x32b0b7(_0x48b841,_0x590be8,_0x38190c,_0x217efb){return _0x1f0bf6(_0x590be8- -0x118,_0x38190c,_0x38190c-0x57,_0x217efb-0xeb);}this[_0x1bd084(0x402,0x5f9,0x5a4,0x61b)][_0x32b0b7(-_0x3013f9._0x2b3b10,0x80,-0x19b,-_0x3013f9._0x3ed5a2)]();}async[_0x577062(0x69,0x244,0x64,0x187)](){const _0x490445={_0x375af5:0x12,_0x3118a1:0x25b},_0x4d94ce={_0x3b7ae9:0x1,_0x5e9e17:0x53,_0xf88cf9:0x103},_0x43ee58={_0xb71b81:0x189};function _0x56c5cf(_0x57c5fa,_0x102c8d,_0x4a2483,_0xfb1bd){return _0x1f0bf6(_0x102c8d-0x39e,_0x4a2483,_0x4a2483-0x1bb,_0xfb1bd-_0x43ee58._0xb71b81);}const _0x5e3dbc={};function _0xa7eafb(_0x40afaa,_0x36406d,_0x5de356,_0x25ff26){return _0x577062(_0x40afaa-_0x4d94ce._0x3b7ae9,_0x36406d,_0x5de356-_0x4d94ce._0x5e9e17,_0x5de356-_0x4d94ce._0xf88cf9);}for(const [_0x2dc296,_0x288d87]of this[_0xa7eafb(-0xdd,_0x490445._0x375af5,-0x5b,0x168)][_0xa7eafb(-0x59,0x1b0,0x13,_0x490445._0x3118a1)]()){_0x5e3dbc[_0x2dc296]=_0x288d87;}return _0x5e3dbc;}async['importSnapshot'](_0x5c9edf){const _0x1af58b={_0x41a1f6:0x261,_0x58a311:0x6f,_0x1116bc:0x123,_0x512dbb:0xe8,_0x48da09:0x233,_0x5c2357:0x1dc,_0x340303:0x34,_0x148ff3:0xb5,_0x2c6d1c:0x50,_0x2202a5:0x2c7,_0x458ac9:0x123,_0x5a621c:0x387},_0x5383aa={_0x11b527:0xdb,_0x17c16a:0x3b},_0xf126a0={_0x4b9a42:0x1c1,_0x16357b:0x21};function _0x2cfeb8(_0x24e63b,_0xc4e7e1,_0xdb8f2d,_0x3db5f7){return _0x577062(_0x24e63b-0x1b6,_0xdb8f2d,_0xdb8f2d-_0xf126a0._0x4b9a42,_0x3db5f7-_0xf126a0._0x16357b);}this[_0x57d977(-_0x1af58b._0x41a1f6,-0x12,_0x1af58b._0x58a311,-_0x1af58b._0x1116bc)][_0x57d977(-_0x1af58b._0x512dbb,-_0x1af58b._0x48da09,-0x95,-_0x1af58b._0x5c2357)]();function _0x57d977(_0x514d8f,_0x5777c4,_0x100723,_0x3e0e52){return _0x577062(_0x514d8f-0x3a,_0x100723,_0x100723-_0x5383aa._0x11b527,_0x3e0e52-_0x5383aa._0x17c16a);}for(const [_0x1881af,_0x493bca]of Object[_0x57d977(0x19f,-0x19e,-_0x1af58b._0x340303,-_0x1af58b._0x148ff3)](_0x5c9edf)){this[_0x57d977(-_0x1af58b._0x2c6d1c,0xb0,-_0x1af58b._0x2202a5,-_0x1af58b._0x458ac9)][_0x57d977(0x97,-0x1e9,-_0x1af58b._0x5a621c,-0x17f)](_0x1881af,_0x493bca);}}},ConversationStore=class{constructor(_0x369d2e,_0x559c44){const _0x53e2ab={_0x1de3a6:0x5c4,_0x156441:0x270},_0x5143ba={_0x1690ea:0x38,_0xcd5202:0x1d1};this[_0x15f43e(_0x53e2ab._0x1de3a6,0x3a8,_0x53e2ab._0x156441,0x326)]=_0x369d2e;function _0x15f43e(_0x2fe765,_0x10972e,_0x39384f,_0x53a557){return _0x1f0bf6(_0x10972e- -_0x5143ba._0x1690ea,_0x53a557,_0x39384f-0x2d,_0x53a557-_0x5143ba._0xcd5202);}this['metadataMemory']=_0x559c44??new MemoryPortMetadataAdapter(_0x369d2e);}[_0x577062(-0x25e,-0x2bc,-0x1f1,-0x108)];async['getConversation'](_0x42a735){const _0x339099={_0x4a9261:0x19b,_0x3bd12c:0x8c,_0x16f3ac:0x172,_0x447641:0x225,_0x521c0b:0xd,_0x39d952:0x6,_0x5ac5b9:0xee,_0x277309:0x46,_0x54e7b8:0x142,_0x3c33dd:0x18},_0x4bca28={_0x49474b:0x96,_0x2b2da0:0x1f9};function _0x3446fe(_0x3a5e6b,_0x6ce4b5,_0x5f3fcb,_0x49532c){return _0x1f0bf6(_0x6ce4b5- -0x245,_0x5f3fcb,_0x5f3fcb-0x182,_0x49532c-0x1cc);}const _0x1beba8=await this[_0x3446fe(0x2fd,_0x339099._0x4a9261,_0x339099._0x3bd12c,0x44)][_0x1dbfb0(-_0x339099._0x16f3ac,-_0x339099._0x447641,0x1e8,-_0x339099._0x521c0b)](_0x42a735),_0x3856aa=await this[_0x3446fe(-_0x339099._0x39d952,0x62,0x14e,-_0x339099._0x5ac5b9)][_0x1dbfb0(0xcc,-0x25e,-0x13d,-_0x339099._0x521c0b)](_0x42a735);function _0x1dbfb0(_0x313d9d,_0x2aa4aa,_0x57891e,_0x83912b){return _0x577062(_0x313d9d-_0x4bca28._0x49474b,_0x2aa4aa,_0x57891e-0x63,_0x83912b-_0x4bca28._0x2b2da0);}return{'messages':_0x1beba8,'metadata':_0x3856aa??{'createdAt':_0x1beba8[0x0]?.[_0x3446fe(0x7e,0xb3,-_0x339099._0x277309,-0x1d)],'updatedAt':_0x1beba8[_0x1beba8['length']-0x1]?.[_0x1dbfb0(-0x69,0x1bc,0x9e,_0x339099._0x54e7b8)],'messageCount':_0x1beba8[_0x3446fe(0xea,0x16d,-0x6d,-_0x339099._0x3c33dd)]}};}async[_0x577062(-0x222,-0x310,0x7d,-0xd9)](_0x238759,_0x4cff30){const _0x420fde={_0x4cbf0a:0xa7,_0x8f3cdf:0x1e8,_0x147a20:0x91,_0x396dd4:0xc2,_0x2840c6:0x33c,_0x4b0e5b:0x3fd,_0x24cbe8:0x5c4,_0x12fdcd:0x20f,_0x2ec50c:0x47},_0x1679cb={_0x5c2075:0x24b},_0x36d6c1={_0x47f0ad:0x339};function _0x4aa6ce(_0x46b598,_0xa7746a,_0xab6adb,_0x453cb2){return _0x1f0bf6(_0x453cb2- -_0x36d6c1._0x47f0ad,_0xab6adb,_0xab6adb-0x71,_0x453cb2-0x1c1);}await this[_0x4aa6ce(-0x47,-0xbe,-0xa1,_0x420fde._0x4cbf0a)][_0x54483f(_0x420fde._0x8f3cdf,_0x420fde._0x147a20,0x95,_0x420fde._0x396dd4)](_0x238759,_0x4cff30[_0x54483f(_0x420fde._0x2840c6,_0x420fde._0x4b0e5b,_0x420fde._0x24cbe8,0x4e7)]);function _0x54483f(_0x5b6edb,_0x14e155,_0x5d416f,_0x11d4b4){return _0x577062(_0x5b6edb-0xfd,_0x5b6edb,_0x5d416f-0x7e,_0x14e155-_0x1679cb._0x5c2075);}await this[_0x54483f(0x243,0x143,-0x9b,0x20e)][_0x4aa6ce(-0x56,-_0x420fde._0x12fdcd,-_0x420fde._0x2ec50c,-0x144)](_0x238759,_0x4cff30['metadata']);}async[_0x577062(-0x18a,-0xed,0x18,-0x59)](_0x147ef4,_0x29ff70){const _0x16a481={_0x509213:0x54b,_0x5f18c5:0x16f,_0x1eff12:0x103,_0xcc0b99:0x101,_0x4bbf16:0x788,_0x3d4819:0x386,_0x3c8396:0x35c,_0x24515a:0x1f5,_0x263853:0x269,_0x221b53:0x42a,_0x10c968:0x24d,_0x21bceb:0xe9,_0x349f71:0x1e6,_0x229781:0x834,_0x420011:0x643,_0x2bd246:0x218,_0x368e91:0x21f,_0x4eab52:0xc9,_0x18f2dc:0x166,_0x4cf965:0x111},_0x3468bd={_0x5d2218:0x291};if(_0x29ff70[_0xa4f9d9(0x897,0x6fa,0x643,_0x16a481._0x509213)]===0x0)return;await this[_0x1cb96f(_0x16a481._0x5f18c5,0x351,0x3b2,0x4b6)]['append'](_0x147ef4,_0x29ff70);function _0x1cb96f(_0x42e6f3,_0x3efac2,_0x161dbb,_0x4a05c9){return _0x1f0bf6(_0x3efac2- -0x8f,_0x161dbb,_0x161dbb-0x1be,_0x4a05c9-0xd4);}const _0x4609c9=await this[_0x1cb96f(_0x16a481._0x1eff12,0x351,_0x16a481._0xcc0b99,0x34f)]['get'](_0x147ef4);function _0xa4f9d9(_0x50e9b5,_0x4b1a28,_0x8b10a1,_0x4608b8){return _0x1f0bf6(_0x8b10a1-_0x3468bd._0x5d2218,_0x50e9b5,_0x8b10a1-0x11c,_0x4608b8-0x13b);}const _0x211e09=await this[_0xa4f9d9(0x459,0x6d2,0x538,_0x16a481._0x4bbf16)][_0xa4f9d9(_0x16a481._0x3d4819,_0x16a481._0x3c8396,0x43a,_0x16a481._0x24515a)](_0x147ef4),_0x44640a={..._0x211e09,'updatedAt':_0x29ff70[_0x29ff70['length']-0x1]?.[_0x1cb96f(0x14f,_0x16a481._0x263853,_0x16a481._0x221b53,0x1bd)]??new Date()[_0x1cb96f(_0x16a481._0x10c968,0x297,_0x16a481._0x21bceb,_0x16a481._0x349f71)](),'messageCount':_0x4609c9[_0xa4f9d9(_0x16a481._0x229781,0x83a,_0x16a481._0x420011,0x668)]};await this[_0x1cb96f(0x226,_0x16a481._0x2bd246,0xeb,_0x16a481._0x368e91)][_0x1cb96f(_0x16a481._0x4eab52,_0x16a481._0x18f2dc,_0x16a481._0x4cf965,0x226)](_0x147ef4,_0x44640a);}async[_0x1f0bf6(0x51c,0x399,0x3b4,0x52a)](_0xb9d831,_0x28df52){const _0x1ea7d7={_0x43f26b:0x2c1,_0x122007:0x5e4,_0x5c95f9:0x521,_0x458fe8:0x68d,_0x1c0340:0x2cf},_0x1cb1f8={_0xf5fe2d:0x1a6,_0x390606:0x13b};function _0x2b7df0(_0xd13488,_0x3af02e,_0x27c512,_0x150613){return _0x577062(_0xd13488-0xbd,_0x3af02e,_0x27c512-0x10a,_0xd13488-0x3d7);}const _0x2971b2=await this[_0x2b7df0(0x2cf,0x197,0x347,0x364)][_0x2b7df0(0x1d1,_0x1ea7d7._0x43f26b,0x2f9,0x3da)](_0xb9d831),_0x53408c={..._0x2971b2,..._0x28df52,'updatedAt':new Date()[_0x1c08c5(_0x1ea7d7._0x122007,0x4b8,_0x1ea7d7._0x5c95f9,_0x1ea7d7._0x458fe8)]()};function _0x1c08c5(_0x3bd6f7,_0x8546b,_0x37fadf,_0x370285){return _0x577062(_0x3bd6f7-_0x1cb1f8._0xf5fe2d,_0x3bd6f7,_0x37fadf-_0x1cb1f8._0x390606,_0x37fadf-0x5aa);}await this[_0x2b7df0(_0x1ea7d7._0x1c0340,0x225,0x1fa,0x167)][_0x2b7df0(0x21d,-0x21,0x1fe,0xbd)](_0xb9d831,_0x53408c);}async[_0x1f0bf6(0x4a5,0x607,0x312,0x631)](_0x18b236,_0x3c4357){const _0x5b32ea={_0x469f6b:0x5a,_0x1cba76:0x1ac,_0xc7c0bd:0x244,_0x20c897:0x10c,_0x5cb014:0x18a,_0x22c6af:0x2d4,_0x343ed7:0x2c5,_0x55aa1d:0xee,_0x1493d7:0x10b,_0x5dea91:0x105,_0x4e9ae6:0x1f3,_0x5e3e04:0x18b,_0x6a6b0d:0x205,_0x52b78b:0x17c,_0x37acf5:0x31a,_0xddb2d5:0xfd,_0x1110f6:0xe6,_0x1e5143:0x40,_0x282b73:0x105},_0xa956b5={_0x521884:0x37,_0x3ee216:0x145,_0x19e45e:0x1dc},_0x1844d2={_0x2bdf6a:0xf4,_0x2ba022:0x22},_0x544501=await this['metadataMemory']['get'](_0x18b236);function _0x2ef002(_0x322b5d,_0x220f1c,_0x55d97a,_0xaf541d){return _0x577062(_0x322b5d-_0x1844d2._0x2bdf6a,_0x55d97a,_0x55d97a-0x106,_0x220f1c-_0x1844d2._0x2ba022);}const _0xb5247f={..._0x544501,'promptTokens':(_0x544501?.[_0x27b123(0x196,-0x49,-_0x5b32ea._0x469f6b,_0x5b32ea._0x1cba76)]??0x0)+(_0x3c4357[_0x27b123(-_0x5b32ea._0xc7c0bd,-0x49,-_0x5b32ea._0x20c897,_0x5b32ea._0x5cb014)]??0x0),'completionTokens':(_0x544501?.[_0x27b123(_0x5b32ea._0x22c6af,_0x5b32ea._0x343ed7,0x73,_0x5b32ea._0x55aa1d)]??0x0)+(_0x3c4357[_0x2ef002(0x224,_0x5b32ea._0x1493d7,0x26e,-0xca)]??0x0),'totalTokens':(_0x544501?.[_0x2ef002(-_0x5b32ea._0x5dea91,-_0x5b32ea._0x4e9ae6,-_0x5b32ea._0x5e3e04,-0xdd)]??0x0)+(_0x3c4357[_0x27b123(_0x5b32ea._0x6a6b0d,-0x39,0x74,_0x5b32ea._0x52b78b)]??0x0),'contextWindow':_0x3c4357,'updatedAt':new Date()[_0x27b123(_0x5b32ea._0x37acf5,0x153,_0x5b32ea._0xddb2d5,-0x5f)]()};function _0x27b123(_0x2742cf,_0x41fd22,_0x2e7a8d,_0x3a0be4){return _0x577062(_0x2742cf-_0xa956b5._0x521884,_0x3a0be4,_0x2e7a8d-_0xa956b5._0x3ee216,_0x41fd22-_0xa956b5._0x19e45e);}await this[_0x2ef002(-0xf0,-_0x5b32ea._0x1110f6,-_0x5b32ea._0x1e5143,-_0x5b32ea._0x282b73)]['set'](_0x18b236,_0xb5247f);}async[_0x577062(0x1a5,0x201,0x1b6,0x162)](_0x470221,_0x2b0d41){const _0x3d3b63={_0x34a6b4:0x570,_0x39fc40:0x61e,_0x5dc5e0:0x49c,_0x2c4431:0x39e,_0x5e01a5:0x533,_0x21d8f5:0x68d,_0x269b57:0x6af,_0x4bde30:0x6a0,_0x555e9b:0x543,_0x148e9d:0x593,_0x35e337:0x6a4,_0x397395:0x400,_0x3e2a51:0x386,_0x2947bc:0x56f,_0x48f929:0x3fc,_0x21cb1d:0x4b0,_0x3b4b54:0x6fc,_0x376929:0x60a,_0x1a1167:0x5d4,_0x301882:0x730,_0x56251e:0x656,_0x171547:0x280,_0x5b55ee:0x3ce,_0x5c171a:0x1bc,_0x45e594:0x541,_0x2ca540:0x61a,_0x3d7128:0x841,_0x2d6bd9:0x6fd,_0x32cdbb:0xa27,_0x509a58:0x31c,_0x3bc9d4:0x355,_0x2e1a71:0x13f,_0x500cd5:0x38f,_0x3ecf53:0x6cf,_0x41cd3a:0x673,_0x5dbe50:0x5ad,_0xf58539:0x440,_0x3bd141:0x639,_0x5e64e6:0x2d0},_0x523816={_0x3f806d:0x8d,_0x45e090:0x1d4},_0x4b0d8c={_0x5d01ef:0x17d,_0x131c5e:0x5a4};function _0x21f68f(_0x3a45fc,_0x467de1,_0x237e21,_0x44e816){return _0x577062(_0x3a45fc-_0x4b0d8c._0x5d01ef,_0x237e21,_0x237e21-0x64,_0x44e816-_0x4b0d8c._0x131c5e);}const _0x29c839=await this[_0x21f68f(_0x3d3b63._0x34a6b4,_0x3d3b63._0x39fc40,0x391,_0x3d3b63._0x5dc5e0)][_0x21f68f(0x160,0x4e1,0x346,_0x3d3b63._0x2c4431)](_0x470221),_0x5ca498={..._0x29c839,'promptTokens':(_0x29c839?.[_0x3f811b(_0x3d3b63._0x5e01a5,0x691,0x3a7,0x2f5)]??0x0)+(_0x2b0d41[_0x21f68f(0x32a,0x53a,0x41d,0x37f)]??0x0),'completionTokens':(_0x29c839?.[_0x21f68f(0x803,0x45b,0x565,_0x3d3b63._0x21d8f5)]??0x0)+(_0x2b0d41[_0x21f68f(0x5ae,_0x3d3b63._0x269b57,_0x3d3b63._0x4bde30,0x68d)]??0x0),'totalTokens':(_0x29c839?.[_0x3f811b(_0x3d3b63._0x555e9b,0x5e6,_0x3d3b63._0x148e9d,_0x3d3b63._0x35e337)]??0x0)+(_0x2b0d41['totalTokens']??0x0),'requestCount':(_0x29c839?.[_0x21f68f(0x649,0x5ab,0x60a,_0x3d3b63._0x397395)]??0x0)+0x1,'toolCallCount':(_0x29c839?.[_0x21f68f(0x560,0x468,0x489,_0x3d3b63._0x3e2a51)]??0x0)+(_0x2b0d41[_0x21f68f(_0x3d3b63._0x2947bc,_0x3d3b63._0x48f929,0x46f,0x527)]??0x0),'totalTimeMs':(_0x29c839?.[_0x3f811b(_0x3d3b63._0x21cb1d,_0x3d3b63._0x3b4b54,_0x3d3b63._0x376929,_0x3d3b63._0x1a1167)]??0x0)+(_0x2b0d41[_0x3f811b(_0x3d3b63._0x301882,0x801,_0x3d3b63._0x56251e,0x76f)]??0x0),'totalPrice':(_0x29c839?.[_0x21f68f(_0x3d3b63._0x171547,_0x3d3b63._0x5b55ee,_0x3d3b63._0x5c171a,0x3f4)]??0x0)+(_0x2b0d41[_0x21f68f(_0x3d3b63._0x45e594,0x78d,0x3ce,_0x3d3b63._0x2ca540)]??0x0),'contextWindow':{'promptTokens':_0x2b0d41['promptTokens'],'completionTokens':_0x2b0d41[_0x3f811b(_0x3d3b63._0x3d7128,_0x3d3b63._0x2d6bd9,_0x3d3b63._0x32cdbb,0x65d)],'totalTokens':_0x2b0d41[_0x21f68f(_0x3d3b63._0x509a58,_0x3d3b63._0x3bc9d4,_0x3d3b63._0x2e1a71,_0x3d3b63._0x500cd5)]},'updatedAt':new Date()[_0x3f811b(_0x3d3b63._0x3ecf53,_0x3d3b63._0x41cd3a,0x7fc,0x51e)]()};function _0x3f811b(_0x17b134,_0x54f991,_0xf53965,_0x346957){return _0x1f0bf6(_0x17b134-0x3a9,_0x54f991,_0xf53965-_0x523816._0x3f806d,_0x346957-_0x523816._0x45e090);}return await this[_0x21f68f(0x2ac,0x58a,_0x3d3b63._0x5dbe50,_0x3d3b63._0x5dc5e0)][_0x21f68f(_0x3d3b63._0xf58539,_0x3d3b63._0x3bd141,_0x3d3b63._0x5e64e6,0x3ea)](_0x470221,_0x5ca498),_0x5ca498;}async['updateTopic'](_0x3daaaf,_0x13cc06){const _0x4a39ca={_0x995ed3:0x556,_0x5ce179:0x395,_0x4c9707:0x297,_0x5f55b1:0xf1,_0x477ca4:0x4aa,_0x57b089:0x5de,_0x148d55:0x395},_0x5fc4d0={_0x1c57bd:0x145},_0x335bb6=await this[_0x4bf476(_0x4a39ca._0x995ed3,0x3ab,0x22c,_0x4a39ca._0x5ce179)][_0x4bf476(0x474,0x4ae,0x425,_0x4a39ca._0x4c9707)](_0x3daaaf);function _0xb257e0(_0x3dccc1,_0x1a1e08,_0x163319,_0x3844fc){return _0x577062(_0x3dccc1-0x171,_0x3dccc1,_0x163319-0xef,_0x1a1e08-0x2e4);}const _0x554ee6={..._0x335bb6,'topic':_0x13cc06,'updatedAt':new Date()[_0xb257e0(0x480,0x25b,_0x4a39ca._0x5f55b1,0x27b)]()};function _0x4bf476(_0x1c27dd,_0x13fff3,_0xe79610,_0x1fc367){return _0x1f0bf6(_0x1fc367-0xee,_0x1c27dd,_0xe79610-0x128,_0x1fc367-_0x5fc4d0._0x1c57bd);}await this[_0x4bf476(_0x4a39ca._0x477ca4,_0x4a39ca._0x57b089,_0x4a39ca._0x5ce179,_0x4a39ca._0x148d55)]['set'](_0x3daaaf,_0x554ee6);}async[_0x1f0bf6(0x549,0x6bf,0x571,0x640)](_0x1c7fb9){const _0x1dc32e={_0x4eadf3:0x6cd,_0xe43154:0x79d,_0x566f10:0x6e4,_0x3eb60c:0x12,_0x3a783b:0xbe,_0x51f809:0xcb,_0x42b46f:0x1c5},_0xbe78bd={_0x195ad0:0xaf,_0x3a629e:0xf6},_0x467488={_0x5cb2ef:0x1bd};await this[_0x50c6d8(_0x1dc32e._0x4eadf3,_0x1dc32e._0xe43154,0x88b,_0x1dc32e._0x566f10)]['delete'](_0x1c7fb9);function _0x50c6d8(_0x48de43,_0x23d8ee,_0x3e76e5,_0x3ab503){return _0x1f0bf6(_0x23d8ee-0x3bd,_0x3e76e5,_0x3e76e5-_0x467488._0x5cb2ef,_0x3ab503-0x90);}function _0x26bec9(_0xb0d680,_0x14af6e,_0x529e77,_0x173422){return _0x577062(_0xb0d680-_0xbe78bd._0x195ad0,_0x529e77,_0x529e77-0x9e,_0xb0d680-_0xbe78bd._0x3a629e);}await this[_0x26bec9(-_0x1dc32e._0x3eb60c,_0x1dc32e._0x3a783b,_0x1dc32e._0x51f809,_0x1dc32e._0x42b46f)]['delete'](_0x1c7fb9);}async[_0x577062(-0x120,-0x23d,0xfd,-0x3a)](){const _0xe14375={_0x3d41ba:0x35e,_0x3dde7c:0x43e,_0x18007e:0x54c,_0x355b6e:0x469},_0x477d57={_0x521aac:0x42,_0x8bcb83:0x69b},_0x142501={_0x5011ac:0x4ad,_0x12b742:0xad,_0x2b34f6:0x2d4},_0x684bd2={_0x1e08ac:0xd5},_0x3c732c=await this[_0x5a0b3c(0x751,0x6cc,0x71d,0x5b7)][_0x45da5c(_0xe14375._0x3d41ba,0x358,0x320,_0xe14375._0x3dde7c)](),_0x16214b=_0x3c732c['filter'](_0x361102=>!_0x361102[_0x5a0b3c(0x8bc,0x80c,0x89a,0x823)](_0x45da5c(0x33b,0x4cd,0x3ac,0x1c1)));function _0x45da5c(_0x298615,_0x459de9,_0xb14b70,_0x54a803){return _0x1f0bf6(_0xb14b70- -0x15,_0x54a803,_0xb14b70-0x6e,_0x54a803-_0x684bd2._0x1e08ac);}const _0x54d209=await Promise[_0x45da5c(0x4d3,_0xe14375._0x18007e,_0xe14375._0x355b6e,0x22b)](_0x16214b['map'](async _0x5bcdb8=>{const _0x3adc21={_0x43c73b:0x645,_0x453923:0x129},_0x181510=await this[_0x1a61fa(0x2f0,0xa1,0x348,_0x142501._0x5011ac)][_0x1a61fa(0x1f2,_0x142501._0x12b742,_0x142501._0x2b34f6,0x3ec)](_0x5bcdb8);function _0x1103d0(_0x1fa99e,_0x1ee7b9,_0x25be72,_0x4abe25){return _0x5a0b3c(_0x4abe25,_0x1fa99e- -_0x3adc21._0x43c73b,_0x25be72-0x191,_0x4abe25-_0x3adc21._0x453923);}function _0x1a61fa(_0x2fb358,_0x5b9c77,_0x14f7a9,_0x46a759){return _0x5a0b3c(_0x46a759,_0x2fb358- -0x2a3,_0x14f7a9-0x3f,_0x46a759-0xb6);}return{'id':_0x5bcdb8,'metadata':_0x181510??{}};}));function _0x5a0b3c(_0x25f8e1,_0x30addc,_0x5a8252,_0x3d3721){return _0x577062(_0x25f8e1-_0x477d57._0x521aac,_0x25f8e1,_0x5a8252-0x8d,_0x30addc-_0x477d57._0x8bcb83);}return _0x54d209;}async[_0x1f0bf6(0x536,0x745,0x4fb,0x35e)](){const _0x48cd6d={_0x3321b4:0x2fd,_0x550ee9:0x295,_0x23d23c:0x209},_0x5c7c2e={_0x318ed7:0x1b3},_0x2f5eaa={_0x4e4f23:0x141},_0x88c9c5={},_0x3fef47=await this[_0x19d102(0x296,0x284,0x47c,0x29f)]();for(const {id:_0x9a7f91}of _0x3fef47){const _0x1838f8=await this[_0x19d102(_0x48cd6d._0x3321b4,_0x48cd6d._0x550ee9,_0x48cd6d._0x23d23c,0x2ab)](_0x9a7f91);_0x88c9c5[_0x9a7f91]=_0x1838f8;}function _0x5e313e(_0x185c51,_0x175cd7,_0x374bea,_0x388af8){return _0x577062(_0x185c51-0xd7,_0x374bea,_0x374bea-_0x2f5eaa._0x4e4f23,_0x185c51-0x328);}function _0x19d102(_0x223e9a,_0x4b29b8,_0x25dc28,_0x386204){return _0x577062(_0x223e9a-_0x5c7c2e._0x318ed7,_0x386204,_0x25dc28-0x1ab,_0x25dc28-0x4b6);}return _0x88c9c5;}async[_0x1f0bf6(0x270,0x2b1,0x3c6,0x341)](_0x2b3f40){const _0x1ba640={_0x350109:0x436},_0x44f4b5={_0x37ca64:0x3d,_0x393968:0xf2,_0x587491:0x526};function _0x5a4b1d(_0x135f0f,_0x43e84f,_0x5776dd,_0x3d0382){return _0x577062(_0x135f0f-_0x44f4b5._0x37ca64,_0x5776dd,_0x5776dd-_0x44f4b5._0x393968,_0x43e84f-_0x44f4b5._0x587491);}for(const [_0x509f86,_0x5defcc]of Object[_0x5a4b1d(0x610,_0x1ba640._0x350109,0x24f,0x4bd)](_0x2b3f40)){await this['setConversation'](_0x509f86,_0x5defcc);}}},ConversationContext=class{[_0x1f0bf6(0x408,0x4ea,0x5d5,0x2c8)]='default';[_0x577062(0x116,-0x7c,-0xee,-0xe2)](){const _0x5a24da={_0x2ba4b4:0x22f,_0x1fc5d3:0x20,_0x58b420:0xe2},_0x41e5ec={_0x524251:0x67};function _0x1c838b(_0x53a22e,_0x3814ad,_0x5a3c38,_0x341d00){return _0x577062(_0x53a22e-_0x41e5ec._0x524251,_0x53a22e,_0x5a3c38-0xce,_0x3814ad-0x1d6);}return this[_0x1c838b(0x2cf,_0x5a24da._0x2ba4b4,-_0x5a24da._0x1fc5d3,_0x5a24da._0x58b420)];}['setActiveConversationId'](_0x24d28e){const _0x3d5b0f={_0x13dc92:0x14,_0x168a21:0x17c,_0x35846f:0x4ec,_0x1bdd7a:0xd6,_0x12b48c:0x136,_0x3ec20a:0x560,_0x468364:0x542,_0x1de351:0x14,_0x509f48:0xb4,_0x121fc1:0xc1},_0x306fc4={_0x133823:0x1d6},_0x4ec915={_0x27cde1:0x1ae};function _0x3ce2eb(_0x456644,_0x5d7744,_0x32cc3b,_0x3667c6){return _0x1f0bf6(_0x456644- -0x1ab,_0x32cc3b,_0x32cc3b-0xed,_0x3667c6-_0x4ec915._0x27cde1);}function _0x3fdca5(_0x2a6051,_0x4cd515,_0x594b31,_0x3d8b21){return _0x1f0bf6(_0x594b31-0x13a,_0x2a6051,_0x594b31-0x184,_0x3d8b21-_0x306fc4._0x133823);}if(!_0x24d28e||_0x24d28e[_0x3ce2eb(-_0x3d5b0f._0x13dc92,0x11b,-_0x3d5b0f._0x168a21,0x1b6)]()[_0x3fdca5(0x652,0x391,_0x3d5b0f._0x35846f,0x4b8)]===0x0)throw new Error(_0x3ce2eb(-_0x3d5b0f._0x1bdd7a,0x7,0x10e,-_0x3d5b0f._0x12b48c));this[_0x3fdca5(_0x3d5b0f._0x3ec20a,0x3a6,_0x3d5b0f._0x468364,0x514)]=_0x24d28e[_0x3ce2eb(-_0x3d5b0f._0x1de351,_0x3d5b0f._0x509f48,_0x3d5b0f._0x121fc1,-0x269)]();}[_0x1f0bf6(0x14a,0x2b4,0x24,-0xf7)](_0x1934bc){const _0x7de100={_0x54d18a:0x893},_0x295ef7={_0x14e9a1:0x124,_0x27907e:0x77d},_0x178081=Date['now']();function _0x495ef3(_0x41b32c,_0x4aa596,_0x133c62,_0x436de2){return _0x577062(_0x41b32c-_0x295ef7._0x14e9a1,_0x133c62,_0x133c62-0x143,_0x41b32c-_0x295ef7._0x27907e);}const _0x52b02e=_0x1934bc?this['slugify'](_0x1934bc):_0x495ef3(_0x7de100._0x54d18a,0x81f,0x7c0,0x76c);return _0x52b02e+'-'+_0x178081;}[_0x1f0bf6(0x2a3,0x231,0x153,0x3da)](_0x4be33a){const _0x581594={_0x7d4bc1:0x1de,_0x2c5f99:0x4a5,_0x70d984:0x4a8},_0x579cfe={_0x325404:0x41,_0x3f8c04:0x74d},_0xc760f4={_0x51471e:0x46,_0x2725b9:0xe3};function _0x12fe73(_0x38549f,_0x15e00e,_0x3e5e1a,_0x583778){return _0x1f0bf6(_0x3e5e1a-0xf,_0x583778,_0x3e5e1a-_0xc760f4._0x51471e,_0x583778-_0xc760f4._0x2725b9);}function _0x1c69f4(_0x2e9354,_0x4905ae,_0x2e7fbb,_0x3ed7fb){return _0x577062(_0x2e9354-_0x579cfe._0x325404,_0x4905ae,_0x2e7fbb-0x194,_0x3ed7fb-_0x579cfe._0x3f8c04);}return _0x4be33a[_0x12fe73(0x246,0x22e,_0x581594._0x7d4bc1,0x1f2)]()[_0x1c69f4(0x69c,0x627,0x935,0x7bd)](/[^a-z0-9]+/g,'-')['replace'](/^-|-$/g,'')[_0x12fe73(0x515,0x582,_0x581594._0x2c5f99,_0x581594._0x70d984)](0x0,0x1e);}},TodoStore=class{constructor(_0x3ca5a4){const _0xb6a34c={_0x486377:0x3a2,_0x43a3e4:0x35e,_0x995927:0xbf},_0x171301={_0x17f9a8:0xf8};function _0x2ec5d3(_0x5a2add,_0x94eaf3,_0x1b296c,_0x47ca85){return _0x577062(_0x5a2add-0x17e,_0x94eaf3,_0x1b296c-_0x171301._0x17f9a8,_0x1b296c-0x12c);}this[_0x2ec5d3(_0xb6a34c._0x486377,_0xb6a34c._0x43a3e4,0x15d,-_0xb6a34c._0x995927)]=_0x3ca5a4;}async[_0x1f0bf6(0x455,0x282,0x663,0x310)](_0x2562f5){const _0xf207cc={_0x5b1c62:0x62f,_0x5bbca8:0x63b,_0x349e89:0x837,_0x47a2f3:0x4fa,_0x303c57:0x671,_0x42c431:0x6a6,_0x491632:0x510},_0x270f44={_0x16403f:0x716},_0x194255=_0x2562f5??_0x3ddc74(0x543,_0xf207cc._0x5b1c62,0x62b,_0xf207cc._0x5bbca8);function _0x3a6f51(_0x583e5e,_0x4daeaf,_0xe8aea0,_0x3d3512){return _0x577062(_0x583e5e-0x67,_0x4daeaf,_0xe8aea0-0x150,_0x3d3512-_0x270f44._0x16403f);}function _0x3ddc74(_0x227b3f,_0x718673,_0x33aaee,_0x4cb0dc){return _0x577062(_0x227b3f-0x13d,_0x4cb0dc,_0x33aaee-0x8a,_0x33aaee-0x746);}const _0x27c30d=await this[_0x3a6f51(_0xf207cc._0x349e89,0x846,_0xf207cc._0x47a2f3,0x747)][_0x3a6f51(0x562,_0xf207cc._0x303c57,_0xf207cc._0x42c431,_0xf207cc._0x491632)](_0x194255);return _0x27c30d??[];}async['setTodos'](_0x57c7b3,_0x98af03){const _0x4582f9={_0x409e77:0x4af,_0x494927:0x57e,_0x2e15d8:0x2f,_0x187975:0x252},_0x2a59e9={_0x30df13:0xf7,_0x47db78:0x2d7},_0x5a0438={_0x41c93d:0x1f1,_0x18ae92:0x1b};function _0xdab108(_0x141673,_0x1ce35c,_0x9acee8,_0x2b1f07){return _0x1f0bf6(_0x141673-_0x5a0438._0x41c93d,_0x2b1f07,_0x9acee8-0xd1,_0x2b1f07-_0x5a0438._0x18ae92);}function _0x1b05e6(_0x14450b,_0x46410a,_0x10dc8d,_0x3f13e5){return _0x577062(_0x14450b-_0x2a59e9._0x30df13,_0x10dc8d,_0x10dc8d-0xf5,_0x46410a-_0x2a59e9._0x47db78);}const _0x11beed=_0x98af03??'default';await this[_0xdab108(0x5d1,_0x4582f9._0x409e77,_0x4582f9._0x494927,0x5bb)][_0x1b05e6(_0x4582f9._0x2e15d8,0x11d,-0xa6,_0x4582f9._0x187975)](_0x11beed,_0x57c7b3);}async['getTodoStats'](_0x5c9b45){const _0x33535a={_0x548c48:0x913,_0x2616c1:0x82b,_0x428055:0x5e3,_0x515ee2:0x57b,_0x3e8218:0x6d8,_0x49d3f0:0x5ad,_0x502f68:0x22e,_0x25eba4:0xbb,_0x2085cb:0x321,_0x52edd3:0x3c1,_0x58269d:0x5e3,_0x18d695:0x7ce,_0x181831:0x423,_0x5522f1:0x243,_0x36583f:0x2db,_0x78e6b4:0x7b7,_0x40c21a:0x3c2,_0x5ea5da:0x53c},_0x52bbf1={_0x5795ac:0xd6,_0x569790:0x10c},_0x3b294d={_0x1d509b:0x1f0},_0x1f551a=await this[_0x80bd19(_0x33535a._0x548c48,_0x33535a._0x2616c1,0x5c6,0x6ff)](_0x5c9b45),_0x2087ab={'total':_0x1f551a['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x80bd19(_0x79b5a,_0x330d2f,_0x492452,_0x5a714a){return _0x577062(_0x79b5a-0x49,_0x492452,_0x492452-_0x3b294d._0x1d509b,_0x5a714a-0x659);}function _0x3c0bf3(_0x55e49d,_0x60a564,_0x4b4a86,_0x4f2a6c){return _0x1f0bf6(_0x55e49d-_0x52bbf1._0x5795ac,_0x4f2a6c,_0x4b4a86-_0x52bbf1._0x569790,_0x4f2a6c-0x151);}for(const _0x10f499 of _0x1f551a){if(_0x10f499[_0x3c0bf3(_0x33535a._0x428055,_0x33535a._0x515ee2,_0x33535a._0x3e8218,_0x33535a._0x49d3f0)]===_0x3c0bf3(_0x33535a._0x502f68,0xee,0x1ab,_0x33535a._0x25eba4))_0x2087ab[_0x80bd19(0x52d,_0x33535a._0x2085cb,_0x33535a._0x52edd3,0x402)]++;else{if(_0x10f499[_0x3c0bf3(_0x33535a._0x58269d,_0x33535a._0x18d695,0x60a,0x7a1)]===_0x3c0bf3(0x41c,0x300,0x208,_0x33535a._0x181831))_0x2087ab[_0x3c0bf3(_0x33535a._0x5522f1,0x26b,_0x33535a._0x36583f,0x1e3)]++;else{if(_0x10f499[_0x80bd19(0x562,0x838,0x5c4,_0x33535a._0x78e6b4)]===_0x80bd19(0x53e,0x475,0x229,_0x33535a._0x40c21a))_0x2087ab[_0x80bd19(0x3a3,0x354,_0x33535a._0x5ea5da,0x3c2)]++;}}}return _0x2087ab;}};function okText(_0x28ae5e,_0x1f02ff){const _0x46ab7f={_0xbac06d:0x821,_0x2b5abd:0x870,_0x40f5af:0x301},_0x400903={_0xf6a87a:0x3b3},_0x561397={_0xc4a11c:0xd5};function _0x1a9300(_0x52f223,_0x112532,_0x3ac98c,_0xb89ef3){return _0x1f0bf6(_0x52f223-_0x561397._0xc4a11c,_0x112532,_0x3ac98c-0xd8,_0xb89ef3-0x3e);}function _0x2fc3bd(_0x38f327,_0x22aba9,_0x53a3e5,_0x2b7dbf){return _0x1f0bf6(_0x53a3e5-_0x400903._0xf6a87a,_0x22aba9,_0x53a3e5-0x180,_0x2b7dbf-0x30);}return{'status':_0x2fc3bd(0x997,0x662,_0x46ab7f._0xbac06d,_0x46ab7f._0x2b5abd),'type':_0x1a9300(0x427,_0x46ab7f._0x40f5af,0x55d,0x2ea),'result':_0x28ae5e,'metadata':_0x1f02ff};}function okJson(_0x39b205,_0x2f128c){const _0x5ccf1b={_0x1ff4bc:0x119,_0x5a06a6:0x120,_0x51275a:0x2a7},_0x3a47d9={_0xd6dc53:0x3d9,_0x70ab26:0xca},_0x4ae9d8={_0x3e5bcb:0xf7,_0x5ae9e6:0x51d};function _0x45d7ce(_0x2b5789,_0x292452,_0x4f0a68,_0x51848f){return _0x577062(_0x2b5789-_0x4ae9d8._0x3e5bcb,_0x292452,_0x4f0a68-0xed,_0x4f0a68-_0x4ae9d8._0x5ae9e6);}function _0x1be0c7(_0x2631e7,_0x4eca9e,_0xfef204,_0x6525d){return _0x1f0bf6(_0x4eca9e- -_0x3a47d9._0xd6dc53,_0x6525d,_0xfef204-_0x3a47d9._0x70ab26,_0x6525d-0xbc);}return{'status':_0x1be0c7(0x95,0x95,_0x5ccf1b._0x1ff4bc,0x248),'type':_0x1be0c7(-0x55,_0x5ccf1b._0x5a06a6,-0x1d,_0x5ccf1b._0x51275a),'result':_0x39b205,'metadata':_0x2f128c};}function err(_0x32cbe5,_0x290883,_0x221e35){const _0x4ec3ab={_0x4dae7a:0x56f,_0x13bdcd:0x65e},_0x5ef50a={_0x1d89fb:0xd7};function _0x1b48f7(_0x8f6b6a,_0x40082b,_0x3850c3,_0xed2c86){return _0x577062(_0x8f6b6a-0x15,_0x8f6b6a,_0x3850c3-_0x5ef50a._0x1d89fb,_0x40082b-0x3f3);}const _0x50e93d=_0x221e35?{..._0x290883,'errorReason':_0x221e35}:_0x290883;return{'status':_0x1b48f7(0x5f8,_0x4ec3ab._0x4dae7a,_0x4ec3ab._0x13bdcd,0x48b),'type':'text','result':_0x32cbe5,'metadata':_0x50e93d};}var TodoWriteTool=class{constructor(_0x20494e){const _0x34d843={_0x5175fe:0x427,_0x1271d9:0x407},_0x5c6a2a={_0x47c312:0x565};function _0x1217ae(_0x145ae6,_0x173dae,_0x222d69,_0xb607f7){return _0x577062(_0x145ae6-0x10e,_0x145ae6,_0x222d69-0x1ea,_0xb607f7-_0x5c6a2a._0x47c312);}this[_0x1217ae(_0x34d843._0x5175fe,0x42a,0x5f2,_0x34d843._0x1271d9)]=_0x20494e;}['name']=_0x577062(-0x7f,0x258,-0x20,0xfe);[_0x577062(-0x130,0xb5,0xda,-0x107)]={'type':_0x577062(-0x253,-0x28d,-0x3f,-0x17d),'properties':{'todos':{'type':_0x577062(-0x92,-0xc1,-0x21,-0xb4),'items':{'type':_0x1f0bf6(0x232,0x2,0x3f1,0x37d),'properties':{'content':{'type':_0x577062(0x12a,-0x9a,0x16a,0xba)},'status':{'type':_0x1f0bf6(0x469,0x641,0x652,0x2f0),'enum':[_0x577062(-0x211,-0x29,-0x2c1,-0x257),_0x577062(0x1e7,-0x24,-0x1f7,-0x69),_0x1f0bf6(0x118,0x364,0x2d4,-0x5b)]},'priority':{'type':_0x1f0bf6(0x469,0x24c,0x528,0x562),'enum':[_0x1f0bf6(0x1dd,0x3be,0x373,0x2ed),_0x1f0bf6(0x460,0x4ff,0x4aa,0x411),_0x577062(-0xbe,0x67,-0x155,-0xb2)]},'id':{'type':'string'},'createdAt':{'type':_0x1f0bf6(0x469,0x6b5,0x66c,0x3ff)}},'required':[_0x577062(0x5e,-0xa0,-0x1f7,0x3a),_0x1f0bf6(0x50d,0x4c8,0x4b6,0x63f),_0x577062(-0x313,0x46,-0x131,-0xc7),'id']},'description':'Updated\x20todo\x20list'}},'required':[_0x577062(0x275,-0x28,0x3b1,0x166)]};[_0x1f0bf6(0x23f,0x2c7,0x3f3,0x5f)](){const _0x39d344={_0x4fd760:0x113,_0x218f83:0x1c,_0x3aa5bc:0x2,_0x8cb8c0:0x23,_0x28c6b9:0x119},_0xd75120={_0x366806:0x1dd,_0x5e35e7:0x11d},_0x19fe62={_0x54fa5a:0xd8,_0x3e15ff:0x1a5};function _0x21031b(_0x3a7e5e,_0x17d634,_0x2b457b,_0xdd8646){return _0x577062(_0x3a7e5e-_0x19fe62._0x54fa5a,_0xdd8646,_0x2b457b-_0x19fe62._0x3e15ff,_0x17d634-0x287);}function _0x457f02(_0x336a98,_0x5a4246,_0x36547e,_0x1ca6a8){return _0x1f0bf6(_0x5a4246- -0x399,_0x336a98,_0x36547e-_0xd75120._0x366806,_0x1ca6a8-_0xd75120._0x5e35e7);}return{'name':this[_0x457f02(-0xf3,_0x39d344._0x4fd760,_0x39d344._0x218f83,0xbb)],'description':_0x21031b(-_0x39d344._0x3aa5bc,_0x39d344._0x8cb8c0,-0xba,0xa0),'parameters':this[_0x457f02(-0x300,-0xf1,-0x10a,-_0x39d344._0x28c6b9)]};}async[_0x1f0bf6(0x305,0x21c,0x41d,0x4eb)](_0x3293f1,_0x1cf104){const _0x349067={_0x179d62:0x396,_0xbb5579:0x120,_0x2ddc7c:0x403,_0x416ad5:0x28f,_0x173f1e:0x67b,_0x4ce4bc:0x5ea,_0x3ca2b7:0x79d,_0x4a3010:0x7c2,_0x13f3ed:0x5d5,_0xd0941d:0x5cc,_0x18add9:0x1f0,_0x4636df:0x270,_0x403698:0x319,_0x45f154:0x715,_0x488204:0x646,_0x161d5b:0x544,_0x20de9b:0x4a6,_0x2413bb:0x33b,_0x54b12b:0xfe,_0x42fba4:0x21,_0x2fe2b6:0x18b,_0x319e61:0x2a8,_0x5a8b04:0x44c,_0x30a08c:0x279,_0x2730ce:0xe9,_0x510699:0x1b2,_0x3689ed:0x3bf,_0x20a602:0x3dc,_0x14b74f:0x583,_0x510013:0x421,_0x26f553:0x5db,_0x4c5e02:0x1e1,_0x2c3e6e:0x5f8,_0x5d3679:0x4e0,_0x782b81:0x518,_0x9fb439:0x507,_0x753b49:0x3d1,_0xd39d13:0x3bf,_0x102ad5:0x24a,_0x40bee9:0x176,_0x5adbd5:0x230,_0x2e2d12:0x19a,_0x481bf8:0x2ae,_0x388dc9:0x509,_0x12366d:0x3ef,_0x2f31b4:0x321,_0x47521e:0x2bc,_0x2c91bf:0xf,_0x69c482:0x1aa,_0x5652ea:0x301,_0xeb531f:0x116,_0x55baa4:0x2a3,_0x22b481:0x4b5,_0x5e2979:0x66b,_0x525854:0x16b,_0x3c4ad0:0x38c,_0xb5d050:0x1f9,_0x308344:0x2d4,_0x222c43:0x434,_0x30e484:0x2fa,_0x4cb1f4:0x589,_0x4be99a:0x524,_0x2d0e16:0x725,_0x1cd9e6:0x6bc,_0x25ce53:0x4,_0x3f2c2c:0x96,_0x531851:0x12c,_0x46f36f:0x2c4,_0x380ec8:0x393,_0x4c4005:0x483,_0x3b3b56:0x2a5,_0x403cbe:0x1b7,_0x5bb6f8:0xb7,_0x397c12:0x90,_0x164d61:0x11b,_0x9e6af8:0x474,_0x1472c7:0x4b4,_0x19caa7:0x454,_0x330753:0x493,_0x3d0c05:0x4b3,_0x495ce8:0x619,_0x55318b:0x5be,_0x41c4d4:0x3f4,_0x40200b:0x595,_0x1c4485:0x7aa,_0xf42e56:0x43b,_0x219a8f:0x1fd,_0x49e8b6:0xe8,_0x4b63c2:0x45c,_0x548108:0x23e,_0x11d06e:0x2f9,_0x5b6526:0xe8,_0x31654b:0x61b,_0x3af7dc:0x55f,_0x31dbb0:0x6db},_0x701c15={_0x5e47df:0xc0,_0x57406f:0x14d,_0x4b7fbd:0x592},_0x46b733={_0x5c4d36:0x523,_0x14ae89:0x7e2,_0x2818b4:0x439,_0x117759:0x310,_0x780ca8:0x5be,_0x3d961b:0x5e9,_0x5e02b9:0x723,_0x49e9c6:0x559,_0x593655:0x311},_0xf8c29a={_0xa1f112:0x1a1,_0x342c2f:0xb4,_0x3c65ae:0x25},_0x3ca1b9={_0x46c268:0x18a,_0x45118e:0x1ea},_0x4b9da1={_0x187ddc:0xfe,_0x5f106a:0x11b,_0x34a8a8:0x182,_0x38200b:0x150,_0x174142:0x328,_0x46b869:0x2ca,_0x2bb348:0x31e,_0x30d126:0x81,_0x338bd3:0x87,_0xada5ab:0x279,_0x70f083:0x241,_0x2c530e:0x453,_0xe7bbe4:0x44c,_0x20e27d:0x46d},_0x36ea46={_0x5b608d:0x11d,_0x296713:0x1f4},_0x45b21c=_0x3293f1?.['todos'],_0x9f3347=_0x1cf104;if(!Array['isArray'](_0x45b21c)||_0x45b21c[_0x512a4e(_0x349067._0x179d62,0x18f,0x1f7,_0x349067._0xbb5579)]===0x0)return err('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',void 0x0,_0x512a4e(_0x349067._0x2ddc7c,0x1e7,_0x349067._0x416ad5,0x4c4));for(let _0x13c330=0x0;_0x13c330<_0x45b21c['length'];_0x13c330++){const _0x1f8c6f=_0x45b21c[_0x13c330];if(!_0x1f8c6f)continue;if(!_0x1f8c6f[_0x368622(_0x349067._0x173f1e,0x728,0x5cc,0x80c)]||typeof _0x1f8c6f[_0x368622(_0x349067._0x4ce4bc,_0x349067._0x3ca2b7,0x5cc,0x3e0)]!==_0x512a4e(0x2bb,0x3d7,0x2ae,0x1ab)||!_0x1f8c6f[_0x368622(_0x349067._0x4a3010,_0x349067._0x13f3ed,_0x349067._0xd0941d,0x3c3)][_0x368622(0x456,_0x349067._0x18add9,0x37a,_0x349067._0x4636df)]())return err(_0x368622(_0x349067._0x403698,0x278,0x3bf,0x3ad)+(_0x13c330+0x1)+_0x368622(_0x349067._0x45f154,_0x349067._0x488204,_0x349067._0x161d5b,0x34c),void 0x0,'invalid_input');if(![_0x368622(_0x349067._0x20de9b,0xf9,_0x349067._0x2413bb,_0x349067._0x54b12b),_0x512a4e(-0xad,_0x349067._0x42fba4,_0x349067._0x2fe2b6,_0x349067._0x319e61),_0x368622(_0x349067._0x5a8b04,_0x349067._0x30a08c,0x2fb,0x2e8)][_0x512a4e(-0x134,0x2e7,_0x349067._0x2730ce,0x4a)](String(_0x1f8c6f[_0x512a4e(0x484,_0x349067._0x510699,0x352,0x3b8)])))return err(_0x368622(0x3e9,0x1ea,_0x349067._0x3689ed,_0x349067._0x20a602)+(_0x13c330+0x1)+_0x368622(_0x349067._0x14b74f,_0x349067._0x510013,_0x349067._0x26f553,0x556),void 0x0,'invalid_input');if(![_0x368622(_0x349067._0x4c5e02,0x441,0x3c0,0x495),'medium',_0x368622(0x311,_0x349067._0x2c3e6e,_0x349067._0x5d3679,0x676)][_0x368622(0x643,_0x349067._0x782b81,0x487,0x44d)](String(_0x1f8c6f['priority'])))return err(_0x368622(_0x349067._0x9fb439,_0x349067._0x753b49,_0x349067._0xd39d13,0x470)+(_0x13c330+0x1)+_0x512a4e(0x2c8,_0x349067._0x102ad5,0x32f,_0x349067._0x40bee9),void 0x0,_0x512a4e(_0x349067._0x2730ce,_0x349067._0x5adbd5,0x28f,0xf1));if(!_0x1f8c6f['id']||typeof _0x1f8c6f['id']!==_0x512a4e(0x2ad,_0x349067._0x2e2d12,_0x349067._0x481bf8,0x13c)||!_0x1f8c6f['id']['trim']())return err('Todo\x20'+(_0x13c330+0x1)+_0x368622(_0x349067._0x388dc9,0x617,0x5a5,0x6f1),void 0x0,_0x512a4e(_0x349067._0x12366d,_0x349067._0x2f31b4,0x28f,_0x349067._0x47521e));}const _0x1e769a=_0x45b21c['map'](_0x473740=>_0x473740['id']),_0x2549f5=new Set(_0x1e769a);if(_0x2549f5[_0x512a4e(0x347,_0x349067._0x2c91bf,0x1ea,0x94)]!==_0x1e769a[_0x512a4e(_0x349067._0x69c482,_0x349067._0x5652ea,0x1f7,0x276)])return err('Todo\x20items\x20must\x20have\x20unique\x20IDs',void 0x0,_0x512a4e(_0x349067._0xeb531f,0x106,_0x349067._0x416ad5,_0x349067._0x55baa4));const _0x1b8248=_0x9f3347?.['sessionId']||_0x9f3347?.[_0x368622(0x591,_0x349067._0x22b481,0x3fa,0x22e)]||_0x368622(_0x349067._0x5e2979,0x3a7,0x477,0x4f3);function _0x512a4e(_0x56075f,_0x843f62,_0x514f3f,_0xf30220){return _0x577062(_0x56075f-_0x36ea46._0x5b608d,_0x56075f,_0x514f3f-0x19c,_0x514f3f-_0x36ea46._0x296713);}const _0x2843d6=new Date()[_0x512a4e(0x221,0x34f,_0x349067._0x525854,-0x1a)](),_0x57c5c2=_0x45b21c[_0x512a4e(0x327,_0x349067._0x3c4ad0,_0x349067._0xb5d050,0x345)](_0x2323c7=>({'id':String(_0x2323c7['id']),'content':String(_0x2323c7[_0x512a4e(0x410,-0x1e,0x22e,0x46f)]),'status':_0x2323c7[_0x368622(0x50d,0x730,0x6f0,0x6b5)],'priority':_0x2323c7[_0x368622(0x44e,0x296,0x4cb,0x3ce)],'conversationId':_0x1b8248,'createdAt':_0x2323c7['createdAt']||_0x2843d6,'updatedAt':_0x2843d6}));await this[_0x368622(0x558,_0x349067._0x308344,_0x349067._0x222c43,_0x349067._0x30e484)][_0x368622(_0x349067._0x4cb1f4,_0x349067._0x4be99a,_0x349067._0x2d0e16,_0x349067._0x1cd9e6)](_0x57c5c2,_0x1b8248);const _0xd53036=await this[_0x512a4e(0x82,_0x349067._0x25ce53,_0x349067._0x3f2c2c,_0x349067._0x531851)][_0x368622(0x213,0x293,_0x349067._0x46f36f,_0x349067._0x380ec8)](_0x1b8248),_0x5be19f=_0xd53036['total']>0x0?Math['round'](_0xd53036[_0x368622(_0x349067._0x4c4005,0x1c9,0x2fb,_0x349067._0x3b3b56)]/_0xd53036[_0x512a4e(-_0x349067._0x403cbe,_0x349067._0x5bb6f8,_0x349067._0x397c12,_0x349067._0x164d61)]*0x64):0x0,_0x57e643=_0x57c5c2['map']((_0x316cc5,_0x6fe6e3)=>{const _0x459f74={_0x33b9b3:0x151},_0x220a4d=_0x316cc5[_0x58c284(_0x4b9da1._0x187ddc,_0x4b9da1._0x5f106a,_0x4b9da1._0x34a8a8,0x286)]===_0x58c284(-_0x4b9da1._0x38200b,-0x2da,-0xaf,-_0x4b9da1._0x174142)?'[completed]':_0x316cc5[_0x58c284(0x351,0x11b,0x315,0x113)]==='in_progress'?_0x58c284(-0xc2,-_0x4b9da1._0x46b869,-_0x4b9da1._0x2bb348,-_0x4b9da1._0x30d126):_0x58c284(_0x4b9da1._0x338bd3,0x146,_0x4b9da1._0xada5ab,_0x4b9da1._0x70f083);function _0x58c284(_0x1c5820,_0x1a91b0,_0xab444a,_0x2080fe){return _0x512a4e(_0x1c5820,_0x1a91b0-0xcd,_0x1a91b0- -0x237,_0x2080fe-_0x459f74._0x33b9b3);}function _0x15697b(_0x4fcc6c,_0x124412,_0x59318c,_0x46f76e){return _0x512a4e(_0x124412,_0x124412-0x1e3,_0x59318c-0x41,_0x46f76e-0x1b7);}return _0x6fe6e3+0x1+'.\x20'+_0x220a4d+'\x20'+_0x316cc5[_0x15697b(_0x4b9da1._0x2c530e,_0x4b9da1._0xe7bbe4,0x26f,_0x4b9da1._0x20e27d)];})['join']('\x0a'),_0x5c89fa=_0x57c5c2['length']>0x0&&_0x57c5c2[_0x368622(_0x349067._0x2c3e6e,0x4bb,_0x349067._0x9e6af8,_0x349067._0x1472c7)](_0x1a4b07=>_0x1a4b07[_0x512a4e(0x28b,0x43b,0x352,0x522)]===_0x512a4e(0xb1,-0x18d,-0xa3,-0x25c)),_0x51ae85=_0x57e643['split']('\x0a')['map'](_0x5ad6a7=>{function _0x4ceb59(_0x579cb9,_0x109bd6,_0x59b6f0,_0x1d3387){return _0x512a4e(_0x1d3387,_0x109bd6-_0x3ca1b9._0x46c268,_0x579cb9-_0x3ca1b9._0x45118e,_0x1d3387-0x17c);}const _0x2d3c60=_0x5ad6a7[_0x46b135(_0x46b733._0x5c4d36,_0x46b733._0x14ae89,_0x46b733._0x2818b4,0x648)](/^(\d+)\. \[([^\]]+)\] (.+)$/);if(!_0x2d3c60)return _0x5ad6a7;const [,_0x273a11,_0x5c4679,_0x565c34]=_0x2d3c60,_0x1ebef5=parseInt(_0x273a11??'0')-0x1;function _0x46b135(_0x4ec496,_0x9515c8,_0x583d1b,_0x29117c){return _0x368622(_0x4ec496,_0x9515c8-_0xf8c29a._0xa1f112,_0x29117c-_0xf8c29a._0x342c2f,_0x29117c-_0xf8c29a._0x3c65ae);}return _0x46b135(0x684,_0x46b733._0x117759,_0x46b733._0x780ca8,0x517)+_0x565c34+_0x46b135(0x7ff,_0x46b733._0x3d961b,0x739,_0x46b733._0x5e02b9)+_0x5c4679+_0x4ceb59(0x32d,0x431,_0x46b733._0x49e9c6,_0x46b733._0x593655)+(_0x57c5c2[_0x1ebef5]?.['id']||'')+'\x22}';})[_0x368622(_0x349067._0x19caa7,_0x349067._0x330753,0x581,0x496)](','),_0x2335e0=_0x5c89fa?_0x368622(_0x349067._0x3d0c05,_0x349067._0x495ce8,_0x349067._0x55318b,_0x349067._0x41c4d4)+_0x57c5c2[_0x368622(0x728,0x3d6,_0x349067._0x40200b,_0x349067._0x1c4485)]+_0x368622(0x563,0x4df,0x4c7,_0x349067._0xf42e56)+_0x51ae85+_0x512a4e(0x4d,-_0x349067._0x219a8f,-_0x349067._0x49e8b6,-0xb5):_0x512a4e(_0x349067._0x4b63c2,0xcf,0x216,0x99)+_0x51ae85+_0x512a4e(-_0x349067._0x548108,-_0x349067._0x11d06e,-_0x349067._0x5b6526,-0x2cb);function _0x368622(_0x59014f,_0x3e26f9,_0x25fbce,_0x449a76){return _0x577062(_0x59014f-_0x701c15._0x5e47df,_0x59014f,_0x25fbce-_0x701c15._0x57406f,_0x25fbce-_0x701c15._0x4b7fbd);}return okText(_0x2335e0,{'recentChanges':!![],'stats':_0xd53036,'progress':_0x5be19f+'%','allCompleted':_0x5c89fa,'conversationId':_0x1b8248,'items':_0x57c5c2[_0x368622(0x67f,_0x349067._0x31654b,0x597,_0x349067._0xf42e56)](_0x257dad=>({'id':_0x257dad['id'],'content':_0x257dad['content'],'status':_0x257dad[_0x368622(0x523,0x836,0x6f0,0x76a)],'priority':_0x257dad[_0x512a4e(-0x100,0x16d,0x12d,-0x13)],'createdAt':_0x257dad['createdAt']||_0x2843d6})),'todosWritten':_0x57c5c2[_0x368622(_0x349067._0x3af7dc,0x6e0,0x595,_0x349067._0x31dbb0)]});}},UA=_0x1f0bf6(0x21c,0x336,0xe9,0x321);function withTimeout(_0x27d629,_0x4fa97f=0x3a98,_0x190a26){const _0x2e9c03={_0x155db5:0x5d9,_0x645947:0x438,_0x1e2517:0x365,_0x431821:0x2f6,_0x4cb798:0x310,_0x23f292:0xf9,_0x507ec7:0x37a,_0x3cfffb:0x5c6},_0x38e454={_0x3b49f2:0x645,_0x52d9f6:0x631,_0x560013:0x4e2,_0xcdb23e:0x2b3,_0x4ffdef:0x3e8},_0x5ad231={_0x56b021:0x1c4,_0x321c3c:0xf5},_0x1fd29b={_0x47454a:0x511,_0x55fdbd:0x693,_0x57b586:0xfc,_0x361548:0x219,_0x12697f:0x21a,_0x4cd31f:0x444,_0x180c9e:0x3a1},_0x56edba={_0x4f1073:0xec,_0x3fac94:0x493},_0x4099f7={_0x4a5f06:0x155,_0x5420c6:0x12e,_0x228bde:0x4f6},_0x23a50e={_0x2d4afd:0x38},_0x21493b=new AbortController(),_0x413184=setTimeout(()=>_0x21493b[_0x1e274e(0x21d,0x2f6,0x124,0x3e1)](),_0x4fa97f);function _0x79d2b2(_0x163b82,_0x131c90,_0x3d7003,_0x1d2339){return _0x577062(_0x163b82-0xd3,_0x131c90,_0x3d7003-_0x23a50e._0x2d4afd,_0x1d2339-0x3c);}const _0x3ba050=()=>_0x21493b[_0x79d2b2(-0x3d0,-0x1d3,-0x33f,-0x1c4)]();function _0x1e274e(_0x12a280,_0x330bd1,_0x430efa,_0x3a6a6b){return _0x577062(_0x12a280-_0x4099f7._0x4a5f06,_0x430efa,_0x430efa-_0x4099f7._0x5420c6,_0x330bd1-_0x4099f7._0x228bde);}return _0x190a26?.[_0x1e274e(_0x2e9c03._0x155db5,_0x2e9c03._0x645947,0x49f,_0x2e9c03._0x1e2517)](_0x1e274e(0x323,_0x2e9c03._0x431821,0x1c2,0xa3),_0x3ba050),Promise[_0x79d2b2(0x86,-0x37,-_0x2e9c03._0x4cb798,-_0x2e9c03._0x23f292)]([_0x27d629,new Promise((_0x44f5bb,_0x5eae88)=>_0x21493b[_0x79d2b2(-0x360,-0x79,-0x1cf,-0x291)][_0x1e274e(0x344,0x438,0x429,0x314)]('abort',()=>{const _0x2afc10={_0x1733e7:0x1a,_0x42c673:0x1,_0x4586f3:0xa6};function _0x5cef48(_0x3db303,_0x30e9ba,_0x41eb76,_0x51dad8){return _0x1e274e(_0x3db303-_0x56edba._0x4f1073,_0x30e9ba- -_0x56edba._0x3fac94,_0x51dad8,_0x51dad8-0x21);}function _0x5415a4(_0x29e35b,_0x34ff17,_0x45a7aa,_0x57af22){return _0x1e274e(_0x29e35b-_0x2afc10._0x1733e7,_0x45a7aa-_0x2afc10._0x42c673,_0x57af22,_0x57af22-_0x2afc10._0x4586f3);}const _0x331085=_0x190a26?.[_0x5415a4(0x5f5,_0x1fd29b._0x47454a,0x696,_0x1fd29b._0x55fdbd)];_0x5eae88(new Error(_0x331085?_0x5cef48(_0x1fd29b._0x57b586,0xa7,_0x1fd29b._0x361548,_0x1fd29b._0x12697f):_0x5415a4(_0x1fd29b._0x4cd31f,_0x1fd29b._0x180c9e,0x3b0,0x52f)+_0x4fa97f+'ms'));}))])[_0x1e274e(0x4a5,_0x2e9c03._0x507ec7,_0x2e9c03._0x3cfffb,0x1d1)](()=>{const _0x3e4ff9={_0x2d57f4:0x7d,_0x5eee06:0x6a6};function _0x42ad77(_0x135f44,_0x384b1e,_0x3fe743,_0x66d75a){return _0x1e274e(_0x135f44-_0x5ad231._0x56b021,_0x66d75a-0x26e,_0x135f44,_0x66d75a-_0x5ad231._0x321c3c);}clearTimeout(_0x413184);function _0x26c0c5(_0x487e32,_0x566725,_0x2bd3d1,_0x3ca661){return _0x79d2b2(_0x487e32-0x129,_0x3ca661,_0x2bd3d1-_0x3e4ff9._0x2d57f4,_0x487e32-_0x3e4ff9._0x5eee06);}_0x190a26?.[_0x42ad77(_0x38e454._0x3b49f2,_0x38e454._0x52d9f6,0x776,0x7dd)](_0x26c0c5(_0x38e454._0x560013,0x64d,_0x38e454._0xcdb23e,_0x38e454._0x4ffdef),_0x3ba050);});}async function fetchJSON(_0x227dde,_0x3dde20,_0x5d85a3){const _0x30f189={_0x4663cc:0x36f,_0x27c5e0:0x27c,_0x54eef9:0x34a,_0x48967e:0x32b,_0x1cb981:0x1d7,_0x3de1f3:0x30b,_0x3f19f4:0x428,_0x5ad9f1:0x28d,_0x4cefe7:0x3af,_0x512715:0x4c4,_0x2da2d2:0x27d,_0x294670:0x21a,_0x4ca432:0x347},_0x48d718={_0x216cc8:0x168},_0x3f6b24={_0x4d66d3:0x1fd},_0xe26452=await withTimeout(fetch(_0x227dde,{..._0x3dde20,'signal':_0x5d85a3}),0x3a98,_0x5d85a3);function _0x252f7c(_0x4d30ab,_0x1ef873,_0x42f0f1,_0xd4426){return _0x577062(_0x4d30ab-0xac,_0x4d30ab,_0x42f0f1-0x195,_0x42f0f1-_0x3f6b24._0x4d66d3);}function _0x1599e4(_0x1c0dd3,_0x399311,_0x1db591,_0x406da8){return _0x577062(_0x1c0dd3-_0x48d718._0x216cc8,_0x1db591,_0x1db591-0x139,_0x406da8-0x46c);}if(!_0xe26452['ok']){const _0x2b8264=await _0xe26452[_0x1599e4(_0x30f189._0x4663cc,0x4bf,_0x30f189._0x27c5e0,0x40f)]()[_0x1599e4(0x61a,_0x30f189._0x54eef9,_0x30f189._0x48967e,0x421)](()=>'');throw new Error(_0x252f7c(0x3fc,0x1e2,_0x30f189._0x1cb981,_0x30f189._0x3de1f3)+_0xe26452[_0x252f7c(_0x30f189._0x3f19f4,_0x30f189._0x5ad9f1,0x35b,0x21d)]+'\x20'+_0xe26452[_0x1599e4(_0x30f189._0x4cefe7,_0x30f189._0x512715,0x14d,0x307)]+'\x20—\x20'+_0x2b8264?.[_0x1599e4(_0x30f189._0x2da2d2,0x215,_0x30f189._0x294670,0x3dd)](0x0,0xc8));}return await _0xe26452[_0x252f7c(0x538,0x464,_0x30f189._0x4ca432,0x32c)]();}async function fetchText(_0x720ff8,_0x3f4d35,_0x24c2a5){const _0x131bfa={_0x15a781:0x185,_0x30557c:0x37,_0x3293af:0x4a0,_0x5a8007:0x680,_0x542ed7:0x1a5,_0x5ba7b1:0x161,_0x5f55d0:0x76,_0x13f99d:0x576,_0x51e942:0x62e},_0x47703f={_0x4ef4dd:0x32d,_0x571e5a:0x11c},_0x4c4411={_0x1dc983:0x28,_0x3fb338:0x605};function _0x4439d8(_0x757538,_0x388b1d,_0x1100fb,_0x387016){return _0x577062(_0x757538-_0x4c4411._0x1dc983,_0x1100fb,_0x1100fb-0x85,_0x388b1d-_0x4c4411._0x3fb338);}const _0x363203=await withTimeout(fetch(_0x720ff8,{..._0x3f4d35,'signal':_0x24c2a5}),0x3a98,_0x24c2a5);function _0x8a6bb8(_0x124914,_0x2e0d1c,_0x2208d3,_0x1f0a71){return _0x1f0bf6(_0x124914- -_0x47703f._0x4ef4dd,_0x2e0d1c,_0x2208d3-0x20,_0x1f0a71-_0x47703f._0x571e5a);}if(!_0x363203['ok']){const _0x5b78c8=await _0x363203[_0x8a6bb8(0x25,0xa0,0xcf,_0x131bfa._0x15a781)]()[_0x8a6bb8(_0x131bfa._0x30557c,0x137,-0x4e,0x12e)](()=>'');throw new Error('HTTP\x20'+_0x363203['status']+'\x20'+_0x363203[_0x4439d8(0x481,_0x131bfa._0x3293af,0x6a8,_0x131bfa._0x5a8007)]+_0x8a6bb8(-0xe6,-_0x131bfa._0x542ed7,-_0x131bfa._0x5ba7b1,_0x131bfa._0x5f55d0)+_0x5b78c8?.[_0x4439d8(0x352,_0x131bfa._0x13f99d,_0x131bfa._0x51e942,0x795)](0x0,0xc8));}return await _0x363203['text']();}function addSiteFilters(_0x1eabe8,_0x4687fc){const _0x499916={_0x143329:0x24f},_0x1dfbcb={_0x58717d:0xf},_0xcec926={_0x5ad268:0xe7};if(!_0x4687fc?.[_0x550900(0x11f,-_0x499916._0x143329,0x3,-0xa)])return _0x1eabe8['trim']();function _0x550900(_0x3bb0d0,_0x1ae8b4,_0x40d79b,_0x519ffd){return _0x577062(_0x3bb0d0-0x105,_0x3bb0d0,_0x40d79b-_0xcec926._0x5ad268,_0x40d79b-0x0);}const _0x1d3b5c=_0x4687fc['map'](_0x1a21d6=>_0x261fe2(0x2e1,0x524,0x135,0x143)+_0x1a21d6+')');function _0x261fe2(_0x3848c3,_0xb9766d,_0x5553fa,_0x40da92){return _0x1f0bf6(_0x3848c3-0x28,_0xb9766d,_0x5553fa-0x7a,_0x40da92-_0x1dfbcb._0x58717d);}return(_0x1eabe8+'\x20'+_0x1d3b5c['join']('\x20OR\x20'))['trim']();}function normalizeUrl(_0x2006a2){const _0x233cb4={_0x15544d:0x291,_0x35e924:0x218,_0x34928c:0x2bd,_0x1e353a:0x10,_0x374ff5:0x1fb,_0x30e55e:0x231,_0x607c8c:0x275,_0x4bd28f:0x2ee,_0x1f48d6:0xf2,_0x10969b:0x1b8,_0x154091:0x5d,_0x2e97b1:0xd8,_0x30f910:0x29a,_0x583516:0xfd,_0x3240c0:0x1e},_0xc2d5b7={_0x2c8db0:0x1a8,_0x5453c7:0x17a},_0x4b5edf={_0xccf0a5:0x182,_0x5697be:0x8};function _0x48aef2(_0x77acd8,_0x288929,_0x3b69dd,_0x5d35a8){return _0x577062(_0x77acd8-0x194,_0x288929,_0x3b69dd-_0x4b5edf._0xccf0a5,_0x5d35a8- -_0x4b5edf._0x5697be);}function _0x52073f(_0x2c04c9,_0x2fc312,_0x147821,_0x442195){return _0x577062(_0x2c04c9-_0xc2d5b7._0x2c8db0,_0x147821,_0x147821-0x100,_0x442195-_0xc2d5b7._0x5453c7);}try{const _0xbc1f80=new URL(_0x2006a2);return[_0x52073f(0x333,0x11d,0x4d,0x25c),_0x52073f(_0x233cb4._0x15544d,0xfe,_0x233cb4._0x35e924,_0x233cb4._0x34928c),_0x52073f(_0x233cb4._0x1e353a,0xc,0x12b,-0x104),_0x52073f(_0x233cb4._0x374ff5,_0x233cb4._0x30e55e,_0x233cb4._0x607c8c,0x335),_0x52073f(0x13e,-0x258,-_0x233cb4._0x4bd28f,-_0x233cb4._0x1f48d6),_0x52073f(-0x6b,-_0x233cb4._0x10969b,0x166,-0x1c),_0x52073f(0x1fc,_0x233cb4._0x154091,0x1ef,_0x233cb4._0x2e97b1),'mc_cid','mc_eid'][_0x52073f(0x18,_0x233cb4._0x30f910,-0xa9,0x191)](_0x1bfade=>_0xbc1f80['searchParams']['delete'](_0x1bfade)),_0xbc1f80[_0x48aef2(_0x233cb4._0x583516,-0x59,-_0x233cb4._0x3240c0,0x9a)]();}catch{return _0x2006a2;}}function cseDateRestrict(_0x15ce27){const _0x8a960={_0x40ee6a:0x71c,_0x3a66d9:0x8e7},_0x1dd443={_0x323850:0xdf,_0x5db7ad:0x725};if(!_0x15ce27||_0x15ce27<=0x0)return void 0x0;function _0x4e96fa(_0x490e4a,_0x1a23cc,_0x48afea,_0x53c1cf){return _0x577062(_0x490e4a-0x13b,_0x490e4a,_0x48afea-0x1de,_0x48afea-0x3dd);}if(_0x15ce27<=0x1e)return'd'+Math[_0x4e96fa(0x114,0x1be,0x2ac,0x332)](0x1,Math[_0x3e6f80(0x58e,_0x8a960._0x40ee6a,0x712,_0x8a960._0x3a66d9)](_0x15ce27));if(_0x15ce27<=0x16d)return'm'+Math['ceil'](_0x15ce27/0x1e);function _0x3e6f80(_0x5015be,_0xd13545,_0x478475,_0x53783f){return _0x577062(_0x5015be-_0x1dd443._0x323850,_0x53783f,_0x478475-0x0,_0x478475-_0x1dd443._0x5db7ad);}return'y'+Math['ceil'](_0x15ce27/0x16d);}async function loadCheerio(){try{const {load:_0x57ab1c}=await import('cheerio');return _0x57ab1c;}catch{return null;}}async function hydrate(_0xa0deb5,_0x4436a3,_0x1a64ea){const _0x423dbe={_0x1748b3:0x20},_0x245733={_0x1f5842:0x203},_0x32c86f={_0xa764d:0x7a2,_0x9e151b:0x973,_0x5deba3:0x988,_0x39d677:0x5cd,_0x222c0c:0x7e5,_0x497c36:0x5e8,_0x37bac3:0x889,_0x3b86b5:0x6b6,_0x465446:0x5d5,_0x451e31:0x657,_0x48e8fb:0x57c,_0x34f858:0x716,_0x2a2e61:0x6aa,_0xe20f79:0x635,_0x43a2d4:0x4f3,_0x29bc18:0x50d,_0x529c0f:0x63e,_0x15f646:0x83e,_0x523055:0x48c,_0x272a12:0x546,_0x3b9c11:0x3fa,_0x543bea:0x40a,_0x1aa3ed:0x5ef,_0x206f17:0x866,_0x3e3e87:0x81f,_0x1490a4:0x655,_0x5db7de:0x390,_0xc87f9:0x3c2,_0xd4930d:0x813,_0x5da14f:0x611,_0x31ae1e:0x5fe,_0x300959:0x730,_0x284dec:0x5da,_0x1857aa:0x38b,_0x5a54b8:0x33c,_0x24a1e4:0x38e,_0x3a8e63:0x39b,_0x76179e:0x626,_0x4738ea:0x535,_0xa86354:0x5f1,_0x71221b:0x4ae,_0x2e8470:0x7e9,_0x5ce835:0x74d,_0x160ca0:0x6a9,_0x46f6ad:0x735,_0x32eeaa:0x81a,_0x430ec8:0x667,_0x4dcbd2:0x6da,_0x1ca1e0:0x908,_0x3df5b0:0x990,_0x3586ed:0x6c5,_0x1da299:0x6d9,_0x50120c:0x8fe,_0x886740:0x7a2},_0x42b396={_0x355ee4:0x370},_0x2c3530={_0xfc4b96:0x36b,_0x2f94de:0x12d};function _0x259266(_0x5ea4e4,_0x1e9e98,_0x327e5b,_0xd08f59){return _0x1f0bf6(_0x1e9e98- -_0x2c3530._0xfc4b96,_0x5ea4e4,_0x327e5b-_0x2c3530._0x2f94de,_0xd08f59-0x31);}const _0x336d88=_0xa0deb5['slice'](0x0,0xa),_0x369c14=await Promise['all'](_0x336d88['map'](async _0x4901bd=>{function _0x198f5a(_0x330433,_0x6a3742,_0x3e5ac1,_0x54cb91){return _0x13d4(_0x54cb91-_0x42b396._0x355ee4,_0x6a3742);}function _0x29abc3(_0x48af6d,_0x244d4a,_0x314a18,_0x4ef6b9){return _0x13d4(_0x244d4a-0x29c,_0x48af6d);}try{const _0x23806e=await fetchText(_0x4901bd[_0x29abc3(0x6a7,_0x32c86f._0xa764d,_0x32c86f._0x9e151b,_0x32c86f._0x5deba3)],{'headers':{'User-Agent':UA,'Accept-Language':_0x4436a3||'en','Accept':_0x198f5a(0x66c,0x8ff,_0x32c86f._0x39d677,_0x32c86f._0x222c0c)}},_0x1a64ea),_0x29731c=await loadCheerio();if(!_0x29731c)return _0x4901bd;const _0x191f98=_0x29731c(_0x23806e),_0x2120f6=_0x191f98(_0x29abc3(_0x32c86f._0x497c36,0x7c8,_0x32c86f._0x37bac3,_0x32c86f._0x3b86b5))[_0x29abc3(0x5e7,_0x32c86f._0x465446,0x4df,_0x32c86f._0x451e31)](_0x29abc3(0x510,0x671,0x6f7,0x79e))||_0x191f98(_0x198f5a(0x6a5,0x7fb,_0x32c86f._0x48e8fb,_0x32c86f._0x34f858))['first']()['text']()[_0x198f5a(0x464,_0x32c86f._0x2a2e61,_0x32c86f._0xe20f79,_0x32c86f._0x43a2d4)]()||_0x4901bd[_0x29abc3(_0x32c86f._0x29bc18,0x642,_0x32c86f._0x529c0f,_0x32c86f._0x15f646)],_0x470dfe=_0x191f98(_0x29abc3(_0x32c86f._0x523055,_0x32c86f._0x272a12,0x67b,_0x32c86f._0x3b9c11))[_0x29abc3(_0x32c86f._0x543bea,0x5d5,0x807,0x442)](_0x29abc3(0x602,0x671,0x477,_0x32c86f._0x1aa3ed))||_0x191f98(_0x198f5a(0x950,_0x32c86f._0x206f17,_0x32c86f._0x3e3e87,0x84d))[_0x29abc3(_0x32c86f._0x1490a4,0x5d5,_0x32c86f._0x5db7de,_0x32c86f._0xc87f9)](_0x29abc3(0x509,0x671,_0x32c86f._0xd4930d,0x6d1))||_0x4901bd['snippet'],_0x4b61fd=_0x191f98(_0x29abc3(0x364,0x4ee,_0x32c86f._0x5da14f,_0x32c86f._0x31ae1e))[_0x29abc3(_0x32c86f._0x300959,_0x32c86f._0x465446,_0x32c86f._0x284dec,_0x32c86f._0x1857aa)]('content')||_0x191f98(_0x29abc3(_0x32c86f._0x5a54b8,_0x32c86f._0x24a1e4,0x3b2,0x4d6))['attr'](_0x198f5a(0x421,_0x32c86f._0x3a8e63,0x34b,0x480))||_0x4901bd[_0x29abc3(_0x32c86f._0x76179e,0x5bf,_0x32c86f._0x4738ea,0x6d6)],_0xe6dafc=_0x191f98(_0x29abc3(_0x32c86f._0xa86354,_0x32c86f._0x71221b,0x5e6,0x57b))[_0x198f5a(0x68f,_0x32c86f._0x2e8470,_0x32c86f._0x5ce835,_0x32c86f._0x160ca0)](_0x198f5a(0x8cf,_0x32c86f._0x46f6ad,0x7ef,0x7c3));return{..._0x4901bd,'title':_0x2120f6||_0x4901bd[_0x198f5a(_0x32c86f._0x32eeaa,0x8c8,0x766,0x716)],'snippet':_0x470dfe||_0x4901bd[_0x29abc3(_0x32c86f._0x430ec8,_0x32c86f._0x4dcbd2,0x50b,_0x32c86f._0x1ca1e0)],'url':_0xe6dafc?normalizeUrl(new URL(_0xe6dafc,_0x4901bd[_0x198f5a(_0x32c86f._0x3df5b0,0xab7,0x7f3,0x876)])[_0x29abc3(_0x32c86f._0x3586ed,_0x32c86f._0x1da299,0x8cf,0x894)]()):_0x4901bd[_0x29abc3(_0x32c86f._0x50120c,_0x32c86f._0x886740,0x88a,0x5c6)],'publishedAt':_0x4b61fd||_0x4901bd['publishedAt']};}catch{return _0x4901bd;}}));function _0x53f31a(_0x19fdeb,_0x3d9536,_0x65f083,_0x5d5766){return _0x577062(_0x19fdeb-0x197,_0x3d9536,_0x65f083-0x162,_0x65f083-_0x245733._0x1f5842);}const _0x3a9f87=new Map(_0x369c14['map'](_0x50b2c1=>[_0x50b2c1['url'],_0x50b2c1]));return _0xa0deb5[_0x53f31a(0x79,0x37,0x208,_0x423dbe._0x1748b3)](_0x2cbf53=>_0x3a9f87[_0x53f31a(-0x177,0x1f8,-0x3,-0xc)](_0x2cbf53[_0x259266(0xd6,0x1af,0x2c0,0x128)])||_0x2cbf53);}var GoogleCseProvider=class{['name']=_0x1f0bf6(0xf8,0x158,0x1b0,-0xa);async[_0x577062(-0x354,-0x2eb,-0x1ce,-0x1b5)](_0x7781bf,_0x36c66a){const _0x180bcd={_0x2971cd:0x20c,_0x14af01:0x180,_0x1f5e69:0x16b,_0x595b22:0x97,_0x4e334c:0x1a3,_0x509765:0x2c1,_0x47b3be:0x37,_0x3b86e0:0x167,_0x2341f0:0x6,_0x5d386a:0x25a,_0x250188:0x26b,_0x5b2fb0:0x88,_0x4d6a69:0x278,_0x2edc4f:0x435,_0x4bb7b8:0x3eb,_0x2cb7ef:0x3f0,_0x3eed:0x30a,_0x163527:0x1cb,_0x10e341:0x279,_0xe8f8cf:0x255,_0x264fdb:0x4ce,_0x272e65:0x34d,_0x50b5cb:0x3b2,_0x4c7464:0x184,_0x43a21b:0x57,_0x4657ed:0xd,_0x24dee7:0x9e,_0x7e497f:0xaf,_0xb0a78e:0x12b,_0x214ac2:0x374,_0x2e1838:0x45,_0x155e47:0xf0,_0x58c48e:0x271,_0x1f0bb0:0x28,_0xad7f34:0x347,_0x5ce1f7:0x1a1,_0x18cd3c:0x9a,_0x32ef85:0x77,_0x45a57e:0x7,_0x1ecf96:0xe9,_0x50d172:0x24,_0x1e0add:0x299,_0x176a02:0xed,_0x205f91:0x399,_0x1de112:0x1f2,_0x529404:0x5d5,_0x2ed31d:0x441,_0x249683:0x20,_0x20ef74:0x25,_0x2d8857:0x229,_0xe4388c:0x174,_0x4bf82e:0x200,_0x4658ae:0xb4,_0x84a536:0x2,_0xe30218:0x220,_0xdbba28:0x13b,_0x51c43f:0x1bb,_0x332436:0x36c,_0x4d9ff6:0x360,_0x54b0ec:0x2ed,_0x4f8ac6:0x1e7,_0x387fdd:0x1f0,_0x37a34c:0x17,_0x3017b4:0x7,_0x51d760:0x51,_0x308698:0x306,_0x22fa3f:0x12a,_0x30b457:0x16e,_0x514405:0xa1,_0x1f81b7:0x53,_0x4bb006:0x34b,_0x37ea10:0x25f,_0x3a8212:0x73,_0x22d7b9:0xa1,_0x38071a:0x149,_0x8340d1:0x173,_0x22a7c5:0x2a5,_0x150d6d:0xa2,_0xd11f7e:0x147,_0x3f4081:0x7,_0x53cefd:0x70,_0x296094:0x1c2,_0x880f4:0x214,_0x22d8f2:0x22c,_0x38d5fb:0x353,_0xefb451:0x182,_0x1c8460:0x3b5},_0x16c9d4={_0x486840:0x19e},_0x50b1ca={_0x20b4fb:0x104,_0x499005:0xc,_0x5ab00f:0x90},_0x4d3857={_0x383f6d:0xe6,_0x147dc6:0x6d};if(_0x36c66a?.[_0x1d4173(_0x180bcd._0x2971cd,0x3ae,0x393,0x3e9)])throw new Error(_0x1d4173(0x209,_0x180bcd._0x14af01,_0x180bcd._0x1f5e69,_0x180bcd._0x595b22));function _0x1d4173(_0x3b353a,_0x3b7b05,_0x6a42d6,_0x1566cd){return _0x577062(_0x3b353a-0x11c,_0x3b7b05,_0x6a42d6-_0x4d3857._0x383f6d,_0x3b353a-_0x4d3857._0x147dc6);}const _0x276a84=process['env'][_0x1dbe7f(0x67,_0x180bcd._0x4e334c,_0x180bcd._0x509765,0x348)],_0xdc5930=process[_0x1dbe7f(0x232,0x96,_0x180bcd._0x47b3be,0x40)][_0x1d4173(-_0x180bcd._0x3b86e0,0x71,0x3b,-0x1d4)];if(!_0x276a84||!_0xdc5930)throw new Error('Missing\x20GOOGLE_CSE_KEY\x20and/or\x20GOOGLE_CSE_CX');const _0x4c3aee=Math['max'](0x1,Math['min'](0x32,_0x7781bf['count']));let _0x2c859b=0x0,_0x24b78e=(_0x7781bf[_0x1dbe7f(0x1a2,-0x5e,-_0x180bcd._0x2341f0,-_0x180bcd._0x5d386a)]||0x0)+0x1;const _0x38730a=cseDateRestrict(_0x7781bf[_0x1d4173(0x85,_0x180bcd._0x250188,_0x180bcd._0x5b2fb0,_0x180bcd._0x4d6a69)]),_0x596ba9=addSiteFilters(_0x7781bf[_0x1dbe7f(_0x180bcd._0x2edc4f,0x2dd,0x41a,_0x180bcd._0x4bb7b8)],_0x7781bf[_0x1dbe7f(0x2d5,0x331,_0x180bcd._0x2cb7ef,_0x180bcd._0x3eed)]),_0x4bff46=[];while(_0x2c859b<_0x4c3aee){const _0x236994=Math[_0x1dbe7f(_0x180bcd._0x163527,_0x180bcd._0x10e341,_0x180bcd._0xe8f8cf,_0x180bcd._0x264fdb)](0xa,_0x4c3aee-_0x2c859b),_0x400e6c=new URL(_0x1dbe7f(_0x180bcd._0x272e65,0x33e,_0x180bcd._0x50b5cb,0x457));_0x400e6c[_0x1dbe7f(0x159,0x2cf,_0x180bcd._0x4c7464,0x324)][_0x1dbe7f(-0x138,_0x180bcd._0x43a21b,_0x180bcd._0x4657ed,-0x7a)](_0x1dbe7f(-_0x180bcd._0x24dee7,-_0x180bcd._0x7e497f,-0xfa,-0x57),_0x276a84),_0x400e6c['searchParams'][_0x1dbe7f(0x17a,0x57,0x1f2,-0x19)]('cx',_0xdc5930),_0x400e6c[_0x1d4173(_0x180bcd._0xb0a78e,_0x180bcd._0x214ac2,-_0x180bcd._0x2e1838,0x270)][_0x1d4173(-0x14d,_0x180bcd._0x155e47,-0x2da,-0x18)]('q',_0x596ba9),_0x400e6c[_0x1d4173(0x12b,_0x180bcd._0x58c48e,-0xb3,-_0x180bcd._0x1f0bb0)][_0x1dbe7f(-0xd,0x57,0x48,-0x12d)](_0x1dbe7f(0x40e,_0x180bcd._0xad7f34,_0x180bcd._0x5ce1f7,0x25c),String(_0x236994)),_0x400e6c['searchParams'][_0x1d4173(-0x14d,0x57,_0x180bcd._0x18cd3c,_0x180bcd._0x32ef85)](_0x1dbe7f(-0x239,-0xf,-_0x180bcd._0x45a57e,-_0x180bcd._0x1ecf96),String(_0x24b78e)),_0x400e6c[_0x1dbe7f(0x406,0x2cf,0xe9,0x451)]['set'](_0x1d4173(-_0x180bcd._0x50d172,-0x5e,0x7c,0x5e),_0x7781bf[_0x1dbe7f(_0x180bcd._0x1e0add,_0x180bcd._0x14af01,_0x180bcd._0x176a02,0x391)]?'active':_0x1dbe7f(0x53c,_0x180bcd._0x205f91,_0x180bcd._0x1de112,_0x180bcd._0x529404));_0x7781bf['lang']&&(_0x400e6c[_0x1dbe7f(0x98,0x2cf,0x50d,_0x180bcd._0x2ed31d)]['set']('hl',_0x7781bf['lang']),_0x400e6c['searchParams'][_0x1dbe7f(0xa8,0x57,-0x19,0xc4)]('lr',_0x1d4173(0xa3,_0x180bcd._0x249683,-_0x180bcd._0x20ef74,-0x17f)+_0x7781bf[_0x1dbe7f(_0x180bcd._0x2d8857,_0x180bcd._0xe4388c,_0x180bcd._0x4bf82e,0x66)]));if(_0x7781bf[_0x1d4173(-0x105,0x90,0x5,0x1c)])_0x400e6c[_0x1d4173(0x12b,_0x180bcd._0x4658ae,-0xbb,_0x180bcd._0x84a536)]['set']('gl',_0x7781bf[_0x1d4173(-0x105,-0x1f0,-_0x180bcd._0xe30218,_0x180bcd._0xdbba28)][_0x1dbe7f(_0x180bcd._0x51c43f,_0x180bcd._0x332436,0x1be,0x1b0)]());if(_0x7781bf[_0x1dbe7f(0x10c,_0x180bcd._0x4d9ff6,_0x180bcd._0x54b0ec,0x4a5)]==='images')_0x400e6c['searchParams'][_0x1dbe7f(-0x110,0x57,-0x92,_0x180bcd._0x4f8ac6)](_0x1d4173(-_0x180bcd._0x387fdd,-0x5a,-0x1d9,_0x180bcd._0x37a34c),_0x1dbe7f(0x176,-0xa1,-_0x180bcd._0x3017b4,_0x180bcd._0x51d760));if(_0x38730a)_0x400e6c[_0x1d4173(0x12b,0x322,0x22d,-0x78)]['set']('dateRestrict',_0x38730a);const _0x127b11=await fetchJSON(_0x400e6c['toString'](),{'headers':{'User-Agent':UA,'Accept':'application/json'}},_0x36c66a),_0x4c0201=_0x127b11['items']||[];if(!_0x4c0201['length'])break;const _0x431bc3=_0x2c859b;for(let _0x3fc441=0x0;_0x3fc441<_0x4c0201[_0x1dbe7f(_0x180bcd._0x308698,0x214,0x1c7,0x148)];_0x3fc441++){const _0x5f4c62=_0x4c0201[_0x3fc441],_0x40d128=_0x5f4c62[_0x1d4173(-_0x180bcd._0x22fa3f,-_0x180bcd._0x30b457,-0xa1,0x1b)]||_0x5f4c62[_0x1dbe7f(-0x234,-_0x180bcd._0x514405,0x23,-_0x180bcd._0x1f81b7)]?.[_0x1dbe7f(0x1a5,0x176,_0x180bcd._0x4bb006,_0x180bcd._0x37ea10)]||'',_0x4056b9=_0x5f4c62['title']||_0x5f4c62[_0x1dbe7f(-_0x180bcd._0x3a8212,-_0x180bcd._0x22d7b9,-0xa4,_0x180bcd._0x3a8212)]?.[_0x1dbe7f(-0x5,0x21c,0x3ec,0x3f9)]||'',_0x24c353=_0x5f4c62[_0x1dbe7f(_0x180bcd._0x38071a,0x2b4,_0x180bcd._0x8340d1,0x1f0)]||_0x5f4c62[_0x1dbe7f(0x19a,_0x180bcd._0x22a7c5,_0x180bcd._0x150d6d,0x367)]?.['replace'](/<[^>]+>/g,''),_0x32a344=_0x5f4c62[_0x1d4173(0x20,-_0x180bcd._0xd11f7e,_0x180bcd._0x3f4081,_0x180bcd._0x53cefd)]||{},_0x5b0a37=_0x32a344['metatags']?.[0x0]||{},_0x23803c=_0x5b0a37['article:published_time']||_0x5b0a37['og:updated_time']||void 0x0,_0x806c96=((()=>{const _0x54b55d={_0x2682cd:0x89};function _0x3681ab(_0x45a09b,_0xc12140,_0x371691,_0x429e94){return _0x1dbe7f(_0x45a09b-0x65,_0x45a09b- -_0x54b55d._0x2682cd,_0xc12140,_0x429e94-0x1ad);}try{return new URL(_0x40d128)[_0x3681ab(-0x157,-_0x50b1ca._0x20b4fb,-_0x50b1ca._0x499005,_0x50b1ca._0x5ab00f)];}catch{return void 0x0;}})());_0x4bff46['push']({'title':_0x4056b9,'url':normalizeUrl(_0x40d128),'snippet':_0x24c353,'displayUrl':_0x806c96,'favicon':void 0x0,'publishedAt':_0x23803c,'source':{'engine':this['name'],'rank':_0x431bc3+_0x3fc441+0x1}});}_0x2c859b+=_0x4c0201[_0x1d4173(_0x180bcd._0x53cefd,-0x1cd,0x157,_0x180bcd._0x296094)],_0x24b78e+=_0x4c0201['length'];if(_0x4c0201[_0x1dbe7f(0x11d,_0x180bcd._0x880f4,_0x180bcd._0x22d8f2,_0x180bcd._0x38d5fb)]<_0x236994)break;}function _0x1dbe7f(_0x57d87d,_0x47f424,_0x300b11,_0x36d8a2){return _0x1f0bf6(_0x47f424- -_0x16c9d4._0x486840,_0x300b11,_0x300b11-0x16c,_0x36d8a2-0x185);}return _0x4bff46[_0x1dbe7f(0x353,_0x180bcd._0xefb451,-0x2e,_0x180bcd._0x1c8460)](0x0,_0x4c3aee);}},WebSearchTool=class{[_0x577062(0x51,0x16f,0x294,0xfd)]=_0x1f0bf6(0x35b,0x57a,0x26c,0x4b4);[_0x577062(-0x320,-0x121,-0x10e,-0x107)]={'type':'object','properties':{'description':{'type':_0x1f0bf6(0x469,0x50a,0x287,0x4b9),'description':_0x577062(-0xa5,0xa2,0x131,-0x1)},'query':{'type':_0x1f0bf6(0x469,0x63a,0x597,0x4a3),'description':_0x1f0bf6(0x384,0x42a,0x437,0x5c2)},'count':{'type':_0x1f0bf6(0x1b7,0x148,0x1e5,0x1f0),'description':'Return\x20this\x20many\x20search\x20results\x20(1-50,\x20default\x2010)'},'offset':{'type':_0x577062(-0x180,-0x7b,0x2,-0x1f8),'description':_0x577062(-0x7c,0x21,0x81,-0x8b)},'domains':{'type':_0x1f0bf6(0x2fb,0x447,0x289,0x1a4),'items':{'type':_0x1f0bf6(0x469,0x3c9,0x4a5,0x649)},'description':'Only\x20search\x20within\x20these\x20domains'},'recencyDays':{'type':_0x1f0bf6(0x1b7,0x1e4,0x7e,0x2e),'description':'Only\x20return\x20results\x20from\x20the\x20last\x20N\x20days'},'lang':{'type':_0x1f0bf6(0x469,0x64b,0x26f,0x2f4),'description':_0x1f0bf6(0x1d4,0x372,0x2f7,0x343)},'region':{'type':_0x1f0bf6(0x469,0x41b,0x358,0x551),'description':_0x577062(-0x230,-0x3c,-0x81,0xc)},'safe':{'type':_0x577062(-0x169,-0x133,0xb6,-0x6),'description':'Enable\x20safe\x20search\x20filtering\x20(default\x20true)'},'type':{'type':_0x1f0bf6(0x469,0x5e0,0x352,0x479),'enum':[_0x577062(-0x3d8,-0x407,0x76,-0x1d6),_0x577062(-0x63,-0x23c,-0x8,-0x18b)],'description':_0x577062(-0x3a2,-0xc5,-0x3cc,-0x209)},'hydrateMeta':{'type':'boolean','description':_0x577062(0x90,0x3e,-0x1e9,-0x17)}},'required':[_0x1f0bf6(0x47b,0x682,0x5f2,0x27e)]};['definition'](){const _0x40d2c5={_0x506f17:0x1a};function _0x1889e8(_0x3c8624,_0x485c34,_0x543cea,_0x44825b){return _0x577062(_0x3c8624-0xc5,_0x44825b,_0x543cea-0x8a,_0x543cea-0x2fc);}return{'name':this['name'],'description':'Google\x20Programmable\x20Search\x20Engine\x20only\x20(no\x20scraping).\x20Requires\x20GOOGLE_CSE_KEY\x20and\x20GOOGLE_CSE_CX.','parameters':this[_0x1889e8(0x29f,_0x40d2c5._0x506f17,0x1f5,0x24)]};}[_0x1f0bf6(0xda,-0xb3,-0x39,0x319)]=new GoogleCseProvider();async[_0x1f0bf6(0x305,0x30e,0x134,0x1ac)](_0x5ac178,_0x1c0a73){const _0x462119={_0x2c2636:0x33,_0x547862:0x6da,_0x250ce7:0x435,_0x9d7e82:0x4b8,_0x4658f8:0x3b9,_0x345baf:0x47f,_0x4452c8:0x3e8,_0x104925:0xd,_0x176e5a:0x20a,_0x373cb3:0x26d,_0x745cd6:0x2ff,_0x5e0c5c:0x24a,_0x9b85f1:0x287,_0x44f927:0x42e,_0x29868:0x16a,_0x5634e2:0x226,_0x3959f4:0x169,_0xd6ed34:0x86,_0x3d99e6:0x1eb,_0x2cdfd8:0xdf,_0x16e57c:0x102,_0x9fa9b2:0x562,_0x290d62:0x2a0,_0x1ce3e0:0x2ac,_0x1ef7ed:0x54e,_0x287e33:0xb3,_0x4b4696:0x163,_0x13acd3:0x1aa,_0x5b2118:0xcb,_0x17a8b1:0xbf,_0x157598:0x1f6,_0x58dd95:0x242,_0x514d81:0x86,_0x4bcec0:0x7e,_0x21f22d:0x1dc,_0xae2d3:0x2b,_0x183028:0x95,_0x3b72e8:0x103,_0x391c6e:0x18f,_0x17fb58:0xa8,_0x373cf3:0x15a,_0x1d35ef:0x9d,_0x31ab4d:0x5,_0xb02dd2:0x22,_0x11d469:0x61,_0x594260:0x2e3,_0x2f8a49:0x17d,_0x2a5028:0x14a,_0x20a412:0xca,_0x3602a8:0x40,_0x2668cd:0x153,_0x5d1f5f:0x21b,_0x555341:0x13e,_0x60d058:0x4f,_0x3b888f:0xe,_0x337020:0xc8,_0xf748a9:0x3ba,_0x45f20f:0x3c9,_0x3ed9a3:0x3d7,_0x544dfe:0x3cc,_0x36772b:0x294,_0xfc6904:0xc6,_0x1507e7:0x270,_0x11e6e2:0x2c5,_0x1c45f7:0x384,_0x52a402:0xe1,_0x45a329:0x87,_0x29bb9f:0x168,_0x5ba4ab:0xc3,_0x514abe:0x1c6,_0x3178ad:0x5c,_0x222f4c:0x4e,_0x441752:0x168,_0x41519c:0xb4,_0xf0a836:0x3b3,_0x65f15a:0x27f,_0x4710d4:0x472,_0xb4f2bd:0x1f1,_0x457d57:0x5b,_0x39298e:0x130,_0x3ebc3:0x1df,_0x4c81c4:0x4ce,_0x794020:0x297,_0x124f1e:0x362,_0x28fd35:0x49,_0x4a4ea5:0x98,_0x3a3e1c:0x70,_0x487074:0x185,_0x4ec507:0x3e9,_0x4dd85c:0x24d,_0x5b8f46:0x94,_0x6fd87e:0x195,_0x58225c:0x409,_0x251029:0x1c8,_0x5e12b7:0x21c,_0x1b6650:0x2a2,_0x337aa8:0x1c9,_0x4c238f:0x180,_0x4fbfde:0x15f,_0x4e6740:0x2ba,_0x2955bc:0xdd,_0x1d6d85:0x2ec,_0x47d7f8:0x80,_0x5e8baf:0x28d,_0x38a3e3:0x4b4,_0x1fa7f5:0x26e,_0x1e7cad:0x4ec,_0x4e6762:0x2ef,_0x3f2a43:0x3df},_0x258e8b={_0x251882:0x104,_0x2967ab:0x1ba,_0x3f3c57:0x3c,_0x5333fe:0x1be,_0x20f7ff:0x4,_0xa329b8:0x3e4,_0x30c559:0x77},_0xe5cc41={_0x124eb2:0x93,_0x4980c2:0x1b3},_0x46125d={_0x56fb4e:0x28,_0x2dfda3:0x16b};if(_0x1c0a73?.[_0x1222c2(-_0x462119._0x2c2636,-0x287,-0x263,-0x17d)]?.['aborted'])return err(_0x38e302(_0x462119._0x547862,0x4ff,_0x462119._0x250ce7,_0x462119._0x9d7e82),void 0x0,_0x38e302(0x348,_0x462119._0x4658f8,0x560,0x4bb));const _0x230425=typeof _0x5ac178[_0x38e302(0x1c1,_0x462119._0x345baf,0x411,_0x462119._0x4452c8)]===_0x1222c2(_0x462119._0x104925,0x372,0x71,_0x462119._0x176e5a)?_0x5ac178[_0x38e302(_0x462119._0x373cb3,_0x462119._0x745cd6,_0x462119._0x5e0c5c,0x3e8)]:'';function _0x1222c2(_0x43022a,_0x456689,_0x5b55a6,_0x2cf811){return _0x1f0bf6(_0x2cf811- -0x25f,_0x43022a,_0x5b55a6-_0x46125d._0x56fb4e,_0x2cf811-_0x46125d._0x2dfda3);}if(!_0x230425)return err(_0x1222c2(0x1ee,0x16e,0x1cf,_0x462119._0x9b85f1),void 0x0,_0x38e302(0x4a0,_0x462119._0x44f927,0x5fe,0x3b7));function _0x38e302(_0x25cf42,_0x3042d5,_0x27a099,_0x422955){return _0x1f0bf6(_0x422955- -_0xe5cc41._0x124eb2,_0x3042d5,_0x27a099-_0xe5cc41._0x4980c2,_0x422955-0x178);}const _0x5e8f22={'query':String(_0x5ac178[_0x1222c2(0x23c,_0x462119._0x29868,0x3b0,0x21c)]??'')[_0x38e302(0x330,-0xa3,_0x462119._0x5634e2,0x104)](),'count':Math[_0x38e302(_0x462119._0x3959f4,0x20a,_0x462119._0xd6ed34,_0x462119._0x3d99e6)](0x1,Math['min'](0x32,Number(_0x5ac178[_0x1222c2(0x19e,0x173,_0x462119._0x2cdfd8,0x10a)]??0xa))),'offset':Math[_0x1222c2(-_0x462119._0x16e57c,-0x1,0x17,0x1f)](0x0,Number(_0x5ac178['offset']??0x0)),'domains':_0x5ac178[_0x38e302(_0x462119._0x9fa9b2,_0x462119._0x290d62,_0x462119._0x1ce3e0,0x43c)]||[],'recencyDays':_0x5ac178[_0x38e302(_0x462119._0x1ef7ed,0x3ca,0x3e6,0x334)]??0x0,'lang':_0x5ac178[_0x1222c2(0x170,0x22a,0x147,_0x462119._0x287e33)]||'en','region':_0x5ac178[_0x38e302(_0x462119._0x4b4696,0x32,0x362,_0x462119._0x13acd3)]||'','safe':_0x5ac178[_0x1222c2(0x1fb,_0x462119._0x5b2118,-0x52,_0x462119._0x17a8b1)]??!![],'type':_0x5ac178[_0x1222c2(0x2e2,0x4ac,_0x462119._0x157598,0x29f)]??_0x1222c2(-_0x462119._0x58dd95,-0x21c,0x16,-_0x462119._0x514d81),'hydrateMeta':_0x5ac178[_0x1222c2(-_0x462119._0x4bcec0,-0x21b,-0x1b5,-0x40)]??![]};if(!_0x5e8f22[_0x38e302(0x604,0x405,0x1a4,_0x462119._0x4452c8)])return err('Missing\x20\x27query\x27',void 0x0,'invalid_input');if(!process[_0x1222c2(0x1ab,_0x462119._0x21f22d,0x58,-_0x462119._0xae2d3)][_0x1222c2(-_0x462119._0x183028,0x3d,_0x462119._0x3b72e8,0xe2)]||!process['env']['GOOGLE_CSE_CX'])return err(_0x1222c2(-_0x462119._0x391c6e,0xfb,0x97,_0x462119._0x17fb58),void 0x0,_0x38e302(0x478,0x42c,0x54e,0x3b7));try{let _0x1f1e38=await this[_0x38e302(_0x462119._0x373cf3,-0x17c,0x255,0x47)][_0x1222c2(-_0x462119._0x1d35ef,-_0x462119._0x31ab4d,-_0x462119._0xb02dd2,-0x65)](_0x5e8f22,_0x1c0a73?.[_0x1222c2(_0x462119._0x11d469,-0x9f,-_0x462119._0x594260,-_0x462119._0x2f8a49)]);_0x5e8f22[_0x1222c2(-_0x462119._0x2a5028,0x34,-_0x462119._0x20a412,-_0x462119._0x3602a8)]&&_0x1f1e38[_0x1222c2(-0x9f,0x246,0x30d,_0x462119._0x2668cd)]&&(_0x1f1e38=await hydrate(_0x1f1e38,_0x5e8f22['lang'],_0x1c0a73?.[_0x38e302(_0x462119._0x5d1f5f,-_0x462119._0x555341,0xca,_0x462119._0x60d058)]));const _0x48186d=new Set();_0x1f1e38=_0x1f1e38[_0x1222c2(_0x462119._0x3b888f,-0x11,0x255,_0x462119._0x337020)](_0x1c3573=>{const _0x340fe8={_0x31c9b4:0x11d,_0x2a6fea:0x292};function _0x3fee68(_0x36a62b,_0x128464,_0x512fab,_0x1ccd77){return _0x38e302(_0x36a62b-0x89,_0x512fab,_0x512fab-_0x340fe8._0x31c9b4,_0x36a62b-_0x340fe8._0x2a6fea);}function _0x52d408(_0x357be1,_0x4356b4,_0x385124,_0x36a0f2){return _0x38e302(_0x357be1-0x22,_0x36a0f2,_0x385124-0x9,_0x385124- -0x100);}const _0x12614b=_0x1c3573[_0x3fee68(0x719,0x7a0,0x7b4,0x58f)][_0x52d408(-_0x258e8b._0x251882,-_0x258e8b._0x2967ab,_0x258e8b._0x3f3c57,-_0x258e8b._0x5333fe)]();if(!_0x12614b||_0x48186d[_0x52d408(-_0x258e8b._0x20f7ff,_0x258e8b._0xa329b8,0x23d,_0x258e8b._0x30c559)](_0x12614b))return![];return _0x48186d['add'](_0x12614b),!![];})[_0x38e302(0x473,_0x462119._0xf748a9,_0x462119._0x45f20f,0x28d)](0x0,_0x5e8f22[_0x38e302(0x14b,_0x462119._0x3ed9a3,_0x462119._0x544dfe,0x2d6)]);const _0x128670={};if(_0x5e8f22[_0x1222c2(_0x462119._0x36772b,0x23c,_0x462119._0xfc6904,_0x462119._0x1507e7)]['length']>0x0)_0x128670[_0x38e302(_0x462119._0x11e6e2,0x5d7,_0x462119._0x1c45f7,0x43c)]=_0x5e8f22['domains'];if(_0x5e8f22[_0x1222c2(_0x462119._0x52a402,-_0x462119._0x45a329,0x39,_0x462119._0x29bb9f)]>0x0)_0x128670[_0x1222c2(0x31d,-_0x462119._0x5ba4ab,_0x462119._0x514abe,0x168)]=_0x5e8f22[_0x1222c2(0x35b,_0x462119._0x3178ad,_0x462119._0x222f4c,_0x462119._0x441752)];if(_0x5e8f22[_0x38e302(0x39e,_0x462119._0x41519c,_0x462119._0xf0a836,_0x462119._0x65f15a)]&&_0x5e8f22[_0x38e302(0x343,_0x462119._0x4710d4,_0x462119._0xb4f2bd,0x27f)]!=='en')_0x128670[_0x1222c2(_0x462119._0x457d57,_0x462119._0x39298e,_0x462119._0x3ebc3,0xb3)]=_0x5e8f22[_0x38e302(0x3c0,_0x462119._0x4c81c4,_0x462119._0x794020,0x27f)];if(_0x5e8f22[_0x38e302(_0x462119._0x124f1e,_0x462119._0x28fd35,0x2cb,0x1aa)])_0x128670['region']=_0x5e8f22['region'];return okJson({'engine':this[_0x1222c2(-0x22d,-_0x462119._0x4a4ea5,-_0x462119._0x3a3e1c,-_0x462119._0x487074)][_0x1222c2(0x10f,0x422,_0x462119._0x4ec507,_0x462119._0x4dd85c)],'count':_0x1f1e38[_0x1222c2(_0x462119._0x5b8f46,0x270,_0x462119._0x6fd87e,0x153)],'items':_0x1f1e38,'query':_0x5e8f22[_0x1222c2(_0x462119._0x58225c,0x20f,_0x462119._0x251029,_0x462119._0x5e12b7)],'appliedFilters':Object[_0x38e302(0x3d8,0xfb,0x206,_0x462119._0x1b6650)](_0x128670)['length']>0x0?_0x128670:void 0x0},{'offset':_0x5e8f22[_0x38e302(_0x462119._0x337aa8,0x2b5,-_0x462119._0x4c238f,0xad)],'totalRequested':_0x5e8f22[_0x1222c2(_0x462119._0x4fbfde,-0x69,0x339,0x10a)],'hydrated':_0x5e8f22[_0x38e302(_0x462119._0x4e6740,0x1cd,0x396,0x18c)]});}catch(_0xeef6f5){const _0x1fc32c=_0xeef6f5 instanceof Error?_0xeef6f5[_0x38e302(0x27c,0xb6,0x157,0xdd)]:String(_0xeef6f5),_0x423af9=_0x1fc32c['includes'](_0x1222c2(0x1c6,-0x1d5,_0x462119._0x2955bc,-0x8a));return err(_0x423af9?_0x1222c2(0x2b2,0x16f,0x343,_0x462119._0x1d6d85):_0x1fc32c[_0x38e302(0x183,0x386,_0x462119._0x47d7f8,_0x462119._0x5e8baf)](0x0,0x1f4),void 0x0,_0x423af9?_0x1222c2(_0x462119._0x38a3e3,_0x462119._0x1fa7f5,_0x462119._0x1e7cad,_0x462119._0x4e6762):_0x38e302(0x125,_0x462119._0x3f2a43,_0x462119._0x4452c8,0x1f7));}}};import _0x313645 from'turndown';var WebFetchTool=class{['name']='web_fetch';[_0x1f0bf6(0x2a8,0x237,0x48d,0x230)]={'type':_0x577062(-0x62,0x91,-0x26,-0x17d),'properties':{'description':{'type':'string','description':_0x577062(0xc0,0xc6,-0xe0,-0xd8)},'url':{'type':_0x1f0bf6(0x469,0x27c,0x5b5,0x4f9),'description':_0x577062(-0x125,-0x1c1,-0xe9,-0x158)}},'required':[_0x577062(0xba,0x2a1,0x1d7,0x16b)]};[_0x577062(-0x271,-0x152,-0x2a0,-0x171)];constructor(){const _0x534549={_0x55b521:0x8af,_0x2e9cc3:0x65b,_0x4572ec:0x4b3,_0x11d6da:0x83e,_0x1d86c1:0x7cd,_0x478647:0x948,_0x450350:0x394,_0x223a4c:0x583,_0x4ba2d1:0x78d,_0x19c14b:0x65a,_0x548a1f:0x479,_0x44e8c4:0x82c,_0x270195:0x5de,_0x3b1b4f:0x7e5,_0xa32cfa:0x61e,_0xf50be8:0x713,_0x463479:0x627,_0x509c44:0x552,_0x380466:0x251,_0x6b327a:0x354},_0x562dd1={_0x31f885:0x1e6,_0x4d4b2b:0x122,_0x4f79cf:0x1ca},_0x5af3c5={_0x228f85:0x76};this['turndownService']=new _0x313645({'headingStyle':_0x142ab9(_0x534549._0x55b521,_0x534549._0x2e9cc3,0x6bf,_0x534549._0x4572ec),'codeBlockStyle':_0x121298(0x8a2,_0x534549._0x11d6da,_0x534549._0x1d86c1,_0x534549._0x478647),'bulletListMarker':'-'});function _0x121298(_0x24466b,_0x355a1e,_0x423a37,_0x31e378){return _0x1f0bf6(_0x423a37-0x345,_0x31e378,_0x423a37-_0x5af3c5._0x228f85,_0x31e378-0x14e);}function _0x142ab9(_0x388069,_0x151a0e,_0x46822b,_0x1a1d45){return _0x1f0bf6(_0x151a0e-_0x562dd1._0x31f885,_0x1a1d45,_0x46822b-_0x562dd1._0x4d4b2b,_0x1a1d45-_0x562dd1._0x4f79cf);}this[_0x121298(0x793,_0x534549._0x450350,_0x534549._0x223a4c,_0x534549._0x4ba2d1)][_0x142ab9(_0x534549._0x19c14b,0x5d6,_0x534549._0x548a1f,0x4a9)]([_0x121298(_0x534549._0x44e8c4,_0x534549._0x270195,_0x534549._0x3b1b4f,_0x534549._0xa32cfa),'style',_0x142ab9(0x6b4,_0x534549._0xf50be8,0x75e,_0x534549._0x463479),'iframe','nav',_0x121298(_0x534549._0x509c44,_0x534549._0x380466,0x473,_0x534549._0x6b327a),'header',_0x121298(0x603,0x8f7,0x790,0x8b5)]);}['definition'](){const _0x43ee28={_0x10f29b:0x352,_0xab6045:0x431,_0x45b3b5:0x655,_0x4b6477:0x3a7,_0x3b3cc5:0x4ba,_0x3d63df:0x4cd,_0x2f67c5:0x67f},_0x308034={_0x389923:0x118,_0x3032b1:0x10e},_0x342bc5={_0x1d6d4f:0x74};function _0x3500e8(_0x311e3f,_0x597cca,_0x4257f9,_0x4bfbfb){return _0x1f0bf6(_0x4257f9-0x2c2,_0x597cca,_0x4257f9-0x150,_0x4bfbfb-_0x342bc5._0x1d6d4f);}function _0x34b6b0(_0x5754fb,_0x3d437c,_0xead31a,_0x7df0b4){return _0x577062(_0x5754fb-_0x308034._0x389923,_0xead31a,_0xead31a-_0x308034._0x3032b1,_0x3d437c-0x5c1);}return{'name':this['name'],'description':_0x3500e8(_0x43ee28._0x10f29b,0x3bc,_0x43ee28._0xab6045,_0x43ee28._0x45b3b5),'parameters':this[_0x34b6b0(_0x43ee28._0x4b6477,_0x43ee28._0x3b3cc5,_0x43ee28._0x3d63df,_0x43ee28._0x2f67c5)]};}async['execute'](_0x5c6734,_0x4992dc){const _0x4482ac={_0x14594f:0x555,_0x101af5:0x7b5,_0x56627d:0x168,_0x19bda3:0x96,_0x326b32:0x520,_0xf3183c:0x678,_0x49fbc2:0x55c,_0x225146:0x478,_0x4ae06b:0x724,_0x19a651:0x4b3,_0x435579:0x5c8,_0x16168f:0x422,_0x4d7e7a:0x1d3,_0x128bac:0x3e5,_0x3c75ef:0x482,_0x506ca8:0x524,_0x5ad26d:0x5df,_0x1fe346:0x620,_0x3168f4:0x3d7,_0x4892a0:0x4ad,_0x4e0c85:0x2d3,_0x32d1ef:0x32e,_0x2e751f:0x448,_0x3240fe:0x57b,_0x2af7b9:0x315,_0x53a576:0x40b,_0x3da04f:0x451,_0x1e53dd:0x14,_0x57a0f4:0x62e,_0xc82ebd:0x51f,_0x2ecc70:0x623,_0x171c1e:0x3ce,_0x31bb48:0x5b3,_0x3b5e8c:0x3fb,_0x2817d9:0x103,_0xcf312b:0x56,_0xbb0a7a:0x33d,_0x4af0a1:0x1ba,_0x2aa576:0x6c7,_0x472252:0x4ff,_0x5b1eac:0x47c,_0x59b274:0x3e7,_0x1815e0:0x637,_0x11f41b:0x33b,_0x21c50d:0x136,_0x5485de:0x404,_0x39ed6e:0x29a,_0x21fa5a:0x183,_0x482789:0x22d,_0x2f2978:0x13,_0x430c66:0x807,_0x71803a:0x799,_0x4091e5:0x545,_0x436010:0x4f5,_0x4fc17b:0x2af,_0x4f1e88:0x287,_0x3c566a:0x170,_0x17cf46:0x698,_0x58adb1:0x4d7,_0x1c58c9:0x462,_0x296a05:0x5a6,_0x4ca0b4:0x212,_0x5d4a62:0x478},_0x127dae={_0x9d8d95:0x1a,_0x569e5b:0x338},_0x261f2a={_0x17780d:0xf4},_0x494dba=String(_0x5c6734[_0x456491(0x70b,_0x4482ac._0x14594f,0x644,_0x4482ac._0x101af5)]??'');function _0x456491(_0x544b29,_0x28fc43,_0x15db56,_0x10458a){return _0x577062(_0x544b29-0x149,_0x28fc43,_0x15db56-_0x261f2a._0x17780d,_0x15db56-0x4d9);}if(!_0x494dba)return err(_0x456491(_0x4482ac._0x56627d,0x62,0x221,0x4e),void 0x0,_0x456491(0x4b4,0x4ff,0x574,0x3b3));function _0x53ebf7(_0x3e1892,_0x297895,_0x42d256,_0x228f5c){return _0x577062(_0x3e1892-0x9e,_0x228f5c,_0x42d256-_0x127dae._0x9d8d95,_0x42d256-_0x127dae._0x569e5b);}if(_0x4992dc?.[_0x53ebf7(0x27b,0x26f,0x6b,_0x4482ac._0x19bda3)]?.[_0x456491(0x566,_0x4482ac._0x326b32,_0x4482ac._0xf3183c,_0x4482ac._0x49fbc2)])return err('Fetch\x20aborted\x20by\x20user',void 0x0,_0x456491(_0x4482ac._0x225146,_0x4482ac._0x4ae06b,0x678,0x72f));try{const _0x5f187f=await fetch(_0x494dba,{'headers':{'User-Agent':'Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36'},'signal':_0x4992dc?.['signal']});if(!_0x5f187f['ok'])return err(_0x456491(0x37a,0x286,_0x4482ac._0x19a651,0x2f8)+_0x5f187f[_0x53ebf7(_0x4482ac._0x435579,0x38a,0x496,0x31d)]+'\x20'+_0x5f187f[_0x53ebf7(0x59,_0x4482ac._0x16168f,_0x4482ac._0x4d7e7a,0x371)],{'url':_0x494dba},_0x456491(0x2d1,0x371,_0x4482ac._0x128bac,_0x4482ac._0x3c75ef));const _0x28becf=_0x5f187f[_0x456491(_0x4482ac._0x506ca8,0x495,_0x4482ac._0x5ad26d,_0x4482ac._0x1fe346)][_0x456491(_0x4482ac._0x3168f4,_0x4482ac._0x4892a0,_0x4482ac._0x4e0c85,0x7f)]('content-type')||'',_0x423b6f=await _0x5f187f[_0x456491(_0x4482ac._0x32d1ef,0x398,0x47c,_0x4482ac._0x2e751f)](),_0x42e4ef=new Date()['toISOString']();let _0x45b5ef,_0x586d92;if(_0x28becf[_0x456491(0x4cf,_0x4482ac._0x3240fe,0x3ce,_0x4482ac._0x2af7b9)]('application/json'))_0x45b5ef=_0x53ebf7(_0x4482ac._0x53a576,_0x4482ac._0x3da04f,0x1ff,_0x4482ac._0x1e53dd)+_0x423b6f+'\x0a```',_0x586d92=_0x456491(_0x4482ac._0x57a0f4,_0x4482ac._0xc82ebd,_0x4482ac._0x2ecc70,0x7bc);else _0x28becf[_0x456491(0x524,0x53c,_0x4482ac._0x171c1e,0x1dc)](_0x456491(0x588,0x5fe,_0x4482ac._0x31bb48,_0x4482ac._0x3b5e8c))?(_0x45b5ef=this[_0x53ebf7(_0x4482ac._0x2817d9,0x81,0x1c7,_0x4482ac._0xcf312b)][_0x456491(_0x4482ac._0xbb0a7a,_0x4482ac._0x4af0a1,0x3e0,0x5cd)](_0x423b6f),_0x586d92=_0x456491(_0x4482ac._0x2aa576,0x3bd,0x59b,_0x4482ac._0x472252)):(_0x45b5ef=_0x423b6f,_0x586d92=_0x456491(0x2a9,0x232,_0x4482ac._0x5b1eac,0x69f));return okText(_0x45b5ef,{'url':_0x494dba,'contentType':_0x28becf,'statusCode':_0x5f187f[_0x456491(0x452,_0x4482ac._0x59b274,_0x4482ac._0x1815e0,0x7b8)],'format':_0x586d92,'size':_0x423b6f[_0x53ebf7(0x2d4,0x41e,_0x4482ac._0x11f41b,0x522)],'fetchedAt':_0x42e4ef});}catch(_0x46ed41){const _0x55ec87=_0x46ed41 instanceof Error?_0x46ed41[_0x456491(_0x4482ac._0x21c50d,_0x4482ac._0x5485de,_0x4482ac._0x39ed6e,0x2db)]:String(_0x46ed41),_0x4de8f4=_0x55ec87[_0x53ebf7(_0x4482ac._0x21fa5a,0x43e,_0x4482ac._0x482789,_0x4482ac._0x2f2978)](_0x456491(0x7d8,0x7a6,0x678,0x85e))||_0x46ed41[_0x456491(_0x4482ac._0x430c66,_0x4482ac._0x53a576,0x5d6,0x6c8)]===_0x456491(_0x4482ac._0x71803a,0x47c,_0x4482ac._0x4091e5,_0x4482ac._0x436010);return err(_0x4de8f4?_0x456491(_0x4482ac._0x4fc17b,0x103,_0x4482ac._0x4f1e88,_0x4482ac._0x3c566a):_0x55ec87,{'url':_0x494dba},_0x4de8f4?_0x53ebf7(_0x4482ac._0x17cf46,0x326,_0x4482ac._0x58adb1,_0x4482ac._0x1c58c9):_0x456491(_0x4482ac._0x296a05,_0x4482ac._0x4ca0b4,0x3e5,_0x4482ac._0x5d4a62));}}};import{promises as _0x56f80c}from'fs';import*as _0x5aa0e0 from'path';var FileReadTool=class{['name']=_0x1f0bf6(0x209,0x8e,0x456,0x3ae);['rootDir'];['maxBytesDefault'];[_0x577062(-0x14b,0x229,0x99,0xbb)];[_0x577062(-0x3b5,-0x2c7,-0x15b,-0x233)];constructor(_0x25e3c9={}){const _0x5f38c6={_0xd05e37:0xcc,_0x474dd2:0x14,_0x49d062:0x13d,_0x3d514a:0x7c,_0x2458be:0x2a2,_0x50b507:0x14e,_0x3d4eef:0x3a,_0x3c1496:0xbb,_0x5b0ab6:0x1ba,_0x358d7b:0x83,_0x178580:0x14c},_0x2cb91e={_0x17b767:0xd4,_0x4cdf0b:0x1b8},_0x2a250c={_0x20f7ac:0x22e,_0x35b067:0x19f,_0x1413a9:0x18e};this[_0x5e8927(_0x5f38c6._0xd05e37,_0x5f38c6._0x474dd2,0x19,0x2af)]=_0x5aa0e0['resolve'](_0x25e3c9[_0x5e8927(0xcc,-0x58,0x21f,0x253)]??process[_0x5e8927(_0x5f38c6._0x49d062,0x1ef,-0x65,-_0x5f38c6._0x3d514a)]()),this[_0x113023(-_0x5f38c6._0x2458be,-0xdd,_0x5f38c6._0x50b507,-0x74)]=Math['max'](0x1,_0x25e3c9['maxBytesDefault']??0x100*0x400);function _0x5e8927(_0xe5f4dd,_0x2a3f74,_0x5f6b33,_0x6fe745){return _0x1f0bf6(_0xe5f4dd- -_0x2a250c._0x20f7ac,_0x2a3f74,_0x5f6b33-_0x2a250c._0x35b067,_0x6fe745-_0x2a250c._0x1413a9);}function _0x113023(_0x17cb03,_0x569a1c,_0x4d247f,_0x206513){return _0x577062(_0x17cb03-_0x2cb91e._0x17b767,_0x4d247f,_0x4d247f-_0x2cb91e._0x4cdf0b,_0x569a1c-0x1ec);}this['maxBytesHard']=Math[_0x113023(_0x5f38c6._0x3d4eef,_0x5f38c6._0x3c1496,_0x5f38c6._0x5b0ab6,-0x112)](this['maxBytesDefault'],_0x25e3c9[_0x113023(_0x5f38c6._0x358d7b,0x2a7,0x190,0x374)]??0x400*0x400),this['allowAbsolute']=!!_0x25e3c9[_0x113023(-0x1e6,-0x47,-0x282,_0x5f38c6._0x178580)];}['parameters']={'type':_0x577062(-0x68,-0x274,-0x2f9,-0x17d),'properties':{'description':{'type':_0x1f0bf6(0x469,0x668,0x5f0,0x608),'description':_0x1f0bf6(0x182,0x16b,-0x8b,0x2bb)},'path':{'type':_0x1f0bf6(0x469,0x52f,0x49b,0x457),'description':'Read\x20contents\x20of\x20this\x20file'},'lineStart':{'type':'integer','minimum':0x1,'description':_0x577062(-0x273,-0xad,0x21b,-0x33)},'lineEnd':{'type':_0x1f0bf6(0x100,-0x2b,-0x2e,0x309),'minimum':0x1,'description':_0x1f0bf6(0x10b,0x11a,0xe3,-0xb1)}},'required':[_0x577062(-0x10,0x1f,0xfd,-0xd7)]};['definition'](){const _0xb78fce={_0x4dea6b:0x62e,_0x30a85e:0x619,_0x2975c9:0x51e,_0x6bd5c4:0x6ff,_0x2d006f:0x5ec},_0x3e6df7={_0x3c727a:0x4,_0x51cf97:0x1e3};function _0x16a13b(_0x1dce43,_0x588dd3,_0x3877b8,_0x5eebfe){return _0x1f0bf6(_0x3877b8-0x16d,_0x5eebfe,_0x3877b8-_0x3e6df7._0x3c727a,_0x5eebfe-_0x3e6df7._0x51cf97);}function _0x2c631c(_0x52d64f,_0x497283,_0x363545,_0x2c3c32){return _0x577062(_0x52d64f-0xa5,_0x52d64f,_0x363545-0x18e,_0x363545-0x607);}return{'name':this[_0x16a13b(_0xb78fce._0x4dea6b,0x690,_0xb78fce._0x30a85e,0x749)],'description':_0x16a13b(_0xb78fce._0x2975c9,_0xb78fce._0x6bd5c4,0x563,_0xb78fce._0x2d006f),'parameters':this['parameters']};}async['execute'](_0x40c3cf,_0x3a2e75){const _0x4958a3={_0x4c1b44:0x4f9,_0x93d85f:0x6e4,_0x51af6b:0x75f,_0x12cd21:0x426,_0x271d40:0x5cb,_0x16e9d0:0x3b7,_0x5dcf2b:0x3ed,_0x44120a:0x694,_0x585720:0x622,_0x542c4a:0x6c9,_0xa42986:0x701,_0x2650cd:0x437,_0xadc589:0x6e5,_0x4ce3d8:0x3d1,_0x249d50:0x620,_0x50b163:0x518,_0x38716b:0x61c,_0x1e73ad:0x4b2,_0x55fd4d:0x34e,_0x1a5cb5:0x4e5,_0x4ee26a:0x5ee,_0x29be51:0x6e0,_0x106ace:0x574,_0x3c0dae:0x60f,_0x24e495:0x5a8,_0x444e4f:0x4d0,_0x228386:0x677,_0x4c61cd:0x81a,_0x3f8187:0x693,_0x28a633:0x62e,_0x1dc0dc:0x47e,_0xbd9006:0x31b,_0x55b03d:0x88b,_0x33480:0x87e,_0x38d5d5:0x2ce,_0xbd09a3:0x521,_0x5ba360:0x319,_0x124b43:0x3ac,_0x23576c:0x731,_0x1c20f2:0x735,_0x43ed47:0x5a1,_0x1f1adf:0x400,_0x2ba7da:0x4c0,_0x274281:0x5ea,_0x2e50cb:0x56f,_0x4f19b2:0x62a,_0x42a7c1:0x50b,_0x5b25db:0x4ea,_0x517684:0x37b,_0x421dbe:0x31f,_0x26678c:0x75d,_0x22eeab:0x81f,_0x2ccea2:0x78d,_0x12baed:0x665,_0x5c9dd7:0x5ff,_0x5e6589:0x381,_0x32fa4b:0x644,_0x113501:0x434,_0x28c811:0x3fc,_0x2ab11e:0x1ce,_0x4576f0:0x4da,_0x13aaa1:0x482,_0x4adaef:0x5fd,_0x10b068:0x76b,_0x1e1b40:0x619,_0x54f45c:0x763,_0x30eafc:0x3eb,_0xd908f:0x60d,_0x78b167:0x553,_0x1fec0a:0x567},_0x2a5f8a={_0x3660b7:0x140},_0x49ed75={_0x42399c:0x27b,_0x4b8275:0xea};function _0x45bdcc(_0x5c892e,_0x5b84b0,_0x356302,_0x4d499f){return _0x1f0bf6(_0x5c892e-_0x49ed75._0x42399c,_0x356302,_0x356302-_0x49ed75._0x4b8275,_0x4d499f-0x1e);}function _0x10918d(_0x360a32,_0x188e90,_0x28e4f5,_0x15bbc1){return _0x1f0bf6(_0x188e90-0x249,_0x360a32,_0x28e4f5-_0x2a5f8a._0x3660b7,_0x15bbc1-0x66);}try{if(!_0x40c3cf[_0x45bdcc(0x553,_0x4958a3._0x4c1b44,0x75f,0x75a)]||typeof _0x40c3cf[_0x10918d(0x567,0x521,0x657,0x639)]!==_0x45bdcc(_0x4958a3._0x93d85f,_0x4958a3._0x51af6b,0x577,0x61f))return err(_0x10918d(0x4a9,0x5a9,0x5d0,0x4df),void 0x0,'invalid_input');const _0x16e736=this[_0x45bdcc(0x7a7,0x969,0x8a6,0x86e)](_0x40c3cf[_0x10918d(_0x4958a3._0x12cd21,0x521,_0x4958a3._0x271d40,_0x4958a3._0x16e9d0)],_0x3a2e75),_0x8cc5ce=await _0x56f80c[_0x10918d(0x44e,0x600,0x72d,_0x4958a3._0x5dcf2b)](_0x16e736)[_0x10918d(0x4c4,0x5ad,_0x4958a3._0x44120a,0x5c5)](()=>null);if(!_0x8cc5ce||!_0x8cc5ce[_0x10918d(_0x4958a3._0x585720,0x6d7,_0x4958a3._0x542c4a,0x8e6)]())return err(_0x10918d(_0x4958a3._0xa42986,0x67d,_0x4958a3._0x2650cd,_0x4958a3._0xadc589)+_0x40c3cf['path'],{'path':_0x40c3cf[_0x45bdcc(0x553,0x744,_0x4958a3._0x4ce3d8,0x614)]},'not_found');if(_0x8cc5ce[_0x45bdcc(_0x4958a3._0x249d50,_0x4958a3._0x50b163,_0x4958a3._0x38716b,0x567)]>this[_0x45bdcc(0x6e5,0x618,0x758,_0x4958a3._0x1e73ad)])return err(_0x10918d(_0x4958a3._0x55fd4d,_0x4958a3._0x1a5cb5,0x33c,0x2bf)+_0x8cc5ce[_0x10918d(0x501,_0x4958a3._0x4ee26a,0x51d,0x81f)]+_0x45bdcc(_0x4958a3._0x29be51,_0x4958a3._0x106ace,_0x4958a3._0x3c0dae,0x49f)+this['maxBytesHard']+_0x10918d(_0x4958a3._0x24e495,0x4f4,0x5e3,0x52e),{'path':_0x40c3cf[_0x10918d(_0x4958a3._0x444e4f,0x521,0x608,_0x4958a3._0x228386)]},_0x10918d(_0x4958a3._0x4c61cd,_0x4958a3._0x3f8187,0x693,_0x4958a3._0x28a633));const _0x1176f3=await _0x56f80c[_0x45bdcc(_0x4958a3._0x1dc0dc,0x523,_0x4958a3._0xbd9006,0x67c)](_0x16e736);let _0xc49c2f=_0x1176f3[_0x10918d(0x466,0x69a,_0x4958a3._0x55b03d,_0x4958a3._0x33480)]('utf8');const _0x3b6a2d=_0xc49c2f['charCodeAt'](0x0)===0xfeff;_0xc49c2f=stripUtfBom(_0xc49c2f);const _0x3db0ec={'path':_0x40c3cf[_0x10918d(_0x4958a3._0x38d5d5,_0x4958a3._0xbd09a3,_0x4958a3._0x5ba360,_0x4958a3._0x124b43)],'created':_0x8cc5ce[_0x45bdcc(0x65f,_0x4958a3._0x23576c,0x454,_0x4958a3._0x1c20f2)][_0x45bdcc(_0x4958a3._0x43ed47,_0x4958a3._0x1f1adf,_0x4958a3._0x2ba7da,0x428)](),'modified':_0x8cc5ce[_0x45bdcc(0x648,0x5cd,0x82d,_0x4958a3._0x274281)][_0x10918d(0x4f1,_0x4958a3._0x2e50cb,_0x4958a3._0x4f19b2,_0x4958a3._0x42a7c1)](),'size':_0x8cc5ce['size'],'encoding':_0x10918d(0x3cb,_0x4958a3._0x5b25db,_0x4958a3._0x517684,_0x4958a3._0x421dbe),'bomStripped':_0x3b6a2d};if(_0x40c3cf['lineStart']||_0x40c3cf['lineEnd']){const _0x52c81f=_0xc49c2f[_0x45bdcc(_0x4958a3._0x26678c,_0x4958a3._0x22eeab,0x8e0,_0x4958a3._0x2ccea2)](/\r?\n/),_0x3f4e02=_0x52c81f[_0x10918d(0x480,0x5fb,_0x4958a3._0x12baed,_0x4958a3._0x5c9dd7)],_0x10712e=clamp(_0x40c3cf[_0x10918d(0x595,0x4cd,_0x4958a3._0x5e6589,_0x4958a3._0x32fa4b)]??0x1,0x1,_0x3f4e02),_0x5df7c8=clamp(_0x40c3cf[_0x10918d(_0x4958a3._0x113501,_0x4958a3._0x28c811,0x4ee,_0x4958a3._0x2ab11e)]??_0x3f4e02,0x1,_0x3f4e02),[_0x35ab3b,_0x31ffaa]=_0x10712e<=_0x5df7c8?[_0x10712e,_0x5df7c8]:[_0x5df7c8,_0x10712e],_0x501b36=_0x52c81f[_0x45bdcc(0x59b,0x798,_0x4958a3._0x4576f0,0x7cb)](_0x35ab3b-0x1,_0x31ffaa)[_0x10918d(_0x4958a3._0x13aaa1,_0x4958a3._0x4adaef,_0x4958a3._0x10b068,0x4e0)]((_0x51256d,_0x35c919)=>{const _0x5a4667=_0x35ab3b+_0x35c919;return _0x5a4667+'│'+_0x51256d;}),_0x40dd64=_0x501b36[_0x45bdcc(_0x4958a3._0x1e1b40,0x5b9,0x60a,_0x4958a3._0x54f45c)]('\x0a');return okText(_0x40dd64,{..._0x3db0ec,'lineRange':{'lineStart':_0x35ab3b,'lineEnd':_0x31ffaa,'linesTotal':_0x3f4e02}});}return okText(_0xc49c2f,_0x3db0ec);}catch(_0x3bc5b1){const _0xc19d56=_0x3bc5b1 instanceof Error?_0x3bc5b1[_0x45bdcc(_0x4958a3._0x30eafc,0x383,0x5b5,_0x4958a3._0xd908f)]:String(_0x3bc5b1);return err(_0xc19d56,{'path':_0x40c3cf[_0x45bdcc(_0x4958a3._0x78b167,0x3c2,_0x4958a3._0x1fec0a,0x654)]},'unknown');}}['resolveSafePath'](_0x29ae42,_0xaea937){const _0x16a05f={_0x43f9a2:0x183,_0x11ea69:0xa5,_0x3c8578:0x61,_0xfb260d:0x1df,_0x11de80:0x149,_0xfd9da:0x2c5,_0x31452f:0x2a7,_0x5166cf:0x406,_0x56c34f:0x539,_0x45065d:0x3ba,_0x2cd87c:0x323,_0x34edc2:0x225,_0x1c6f62:0x577,_0x2689c3:0x3a9,_0x3c0530:0x3c9,_0xb3c9b7:0x3a4,_0x27e94d:0x390,_0x3bed30:0x1da,_0x9877fe:0x3b9,_0x5c81fc:0x228},_0x1d5691={_0x49d2b0:0x177,_0x1549ab:0x146},_0x55333c={_0x1acaf2:0x137,_0x186df1:0x379};function _0x18a594(_0x1bc9c5,_0x1dd36e,_0x3ee3d9,_0xe5849b){return _0x577062(_0x1bc9c5-0x1c,_0x3ee3d9,_0x3ee3d9-_0x55333c._0x1acaf2,_0x1dd36e-_0x55333c._0x186df1);}const _0x5f1bbd=_0xaea937?.['workspaceRoot']||_0xaea937?.['cwd']||this[_0x54dc1e(0x153,0x3b7,_0x16a05f._0x43f9a2,_0x16a05f._0x11ea69)];function _0x54dc1e(_0x2d51ff,_0x42f451,_0x5d423e,_0x10f184){return _0x1f0bf6(_0x5d423e- -_0x1d5691._0x49d2b0,_0x2d51ff,_0x5d423e-_0x1d5691._0x1549ab,_0x10f184-0xae);}const _0x5d765a=_0x5aa0e0[_0x18a594(-_0x16a05f._0x3c8578,_0x16a05f._0xfb260d,0x413,_0x16a05f._0x11de80)](String(_0x5f1bbd??this['rootDir'])),_0x4514cd=_0x5aa0e0['resolve'](_0x5d765a,_0x29ae42);if(!this[_0x18a594(0x2e4,0x146,_0x16a05f._0xfd9da,_0x16a05f._0x31452f)]&&_0x5aa0e0['isAbsolute'](_0x29ae42)&&!_0x4514cd[_0x54dc1e(_0x16a05f._0x5166cf,0x1ad,0x3a9,0x251)](_0x5d765a))throw new Error(_0x54dc1e(-0x40,0x19c,0x8a,0x294));if(!this['allowAbsolute']){const _0x146a89=_0x5aa0e0[_0x18a594(0x733,_0x16a05f._0x56c34f,_0x16a05f._0x45065d,_0x16a05f._0x2cd87c)](_0x5d765a,_0x4514cd);if(_0x146a89[_0x54dc1e(_0x16a05f._0x34edc2,_0x16a05f._0x1c6f62,_0x16a05f._0x2689c3,0x3c2)]('..')||_0x5aa0e0[_0x54dc1e(0x56c,_0x16a05f._0x3c0530,_0x16a05f._0xb3c9b7,0x39c)](_0x146a89))throw new Error(_0x18a594(_0x16a05f._0x27e94d,_0x16a05f._0x3bed30,_0x16a05f._0x9877fe,_0x16a05f._0x5c81fc)+_0x29ae42);}return _0x4514cd;}};function clamp(_0x1a445b,_0x50c556,_0x434a94){const _0x3613f7={_0x2f2ca8:0x531,_0x4ef94d:0x870,_0x5b0412:0x6b8,_0x21a2ad:0x652},_0xc08b95={_0x15020c:0x23b,_0xb813b0:0xa8,_0x38e581:0x18b};function _0x9ae39e(_0x427068,_0x1b11e9,_0x3855aa,_0x27aa29){return _0x1f0bf6(_0x27aa29-_0xc08b95._0x15020c,_0x427068,_0x3855aa-_0xc08b95._0xb813b0,_0x27aa29-_0xc08b95._0x38e581);}return Math[_0x9ae39e(_0x3613f7._0x2f2ca8,_0x3613f7._0x4ef94d,_0x3613f7._0x5b0412,_0x3613f7._0x21a2ad)](_0x434a94,Math['max'](_0x50c556,_0x1a445b));}function stripUtfBom(_0x36cc45){const _0x4ceacc={_0x1a1411:0x24,_0x173739:0x20f,_0x4751f6:0x19e,_0x2b0529:0x639,_0x4c27bc:0x769,_0x5b9998:0x641},_0x2ef916={_0x674945:0x319},_0x1c84e1={_0x4a3dfa:0x322,_0x21c47c:0xe7};function _0x500e2e(_0x5946ca,_0x3a9f8c,_0x5d5d4c,_0x192878){return _0x1f0bf6(_0x5d5d4c- -_0x1c84e1._0x4a3dfa,_0x3a9f8c,_0x5d5d4c-_0x1c84e1._0x21c47c,_0x192878-0x1bd);}function _0x5b29f4(_0x798d59,_0x72fbb6,_0x2f57d7,_0x485014){return _0x1f0bf6(_0x798d59-_0x2ef916._0x674945,_0x2f57d7,_0x2f57d7-0x1f4,_0x485014-0x7);}return _0x36cc45[_0x500e2e(-_0x4ceacc._0x1a1411,_0x4ceacc._0x173739,_0x4ceacc._0x4751f6,0x10f)](0x0)===0xfeff?_0x36cc45[_0x5b29f4(_0x4ceacc._0x2b0529,0x813,_0x4ceacc._0x4c27bc,_0x4ceacc._0x5b9998)](0x1):_0x36cc45;}import{promises as _0x1dbf8f}from'fs';import*as _0x5c980f from'path';var FileNewTool=class{[_0x1f0bf6(0x4ac,0x46c,0x6f6,0x63a)]=_0x1f0bf6(0x4aa,0x449,0x43c,0x5b0);['rootDir'];constructor(_0x120c1e={}){const _0x117b6a={_0x26ecc9:0x585,_0x5b8f51:0x4e6,_0x594298:0x372,_0xe9039d:0x4b4},_0x37ee49={_0x59c33a:0x12d};function _0x26f6bc(_0x49ae32,_0x4a5d25,_0x522919,_0x27ab38){return _0x577062(_0x49ae32-0xed,_0x4a5d25,_0x522919-_0x37ee49._0x59c33a,_0x49ae32-0x63a);}this['rootDir']=_0x5c980f['resolve'](_0x120c1e[_0x26f6bc(_0x117b6a._0x26ecc9,_0x117b6a._0x5b8f51,_0x117b6a._0x594298,_0x117b6a._0xe9039d)]??process['cwd']());}[_0x577062(0x61,0x8b,-0x27b,-0x107)]={'type':'object','properties':{'file_path':{'type':_0x577062(-0xaf,0x138,0x73,0xba),'description':_0x577062(0x60,0x1a1,0x19,-0x15)},'content':{'type':_0x577062(0x2bf,-0x6d,-0x120,0xba),'description':_0x577062(0xd8,-0x134,-0xe8,0x7)}},'required':['file_path',_0x1f0bf6(0x3e9,0x3b0,0x480,0x3f0)],'additionalProperties':![]};[_0x577062(-0xdc,0x8c,-0xb7,-0x170)](){const _0x5cf32b={_0x4db3cb:0x7d},_0x5b9727={_0x31bd4e:0x1e,_0x3d2ba2:0x1f4};function _0xba0893(_0x2c944c,_0x325c74,_0x321fb4,_0xafbe6a){return _0x577062(_0x2c944c-_0x5b9727._0x31bd4e,_0x2c944c,_0x321fb4-0x130,_0xafbe6a-_0x5b9727._0x3d2ba2);}return{'name':this['name'],'description':_0xba0893(0x232,-0x15d,-0x5b,_0x5cf32b._0x4db3cb),'parameters':this['parameters']};}async[_0x1f0bf6(0x305,0x4d7,0x2c8,0x501)](_0x3af3b4,_0x3d5b40){const _0x306f87={_0xdb2418:0xc8,_0x315a82:0x3a6,_0x56da09:0x48d,_0x22b603:0x3ce,_0x233125:0x348,_0x3580ac:0x58,_0x14edfc:0x5ee,_0x277193:0x75f,_0x4189ea:0x431,_0x1febed:0x396,_0x41e7aa:0x49f,_0x20ebdd:0xe4,_0x2aaae6:0x26c,_0x31ab36:0x5a7,_0x557405:0x8c2,_0x1ed4b9:0x841,_0x512ec4:0x66e,_0x2879b3:0x61b,_0x753f4e:0x3ed,_0x2c7045:0x1dd,_0x108c55:0x3fb,_0x4d6371:0x43f,_0x30333d:0x542,_0x363e5c:0x405,_0x2df1de:0x684,_0x2fd51f:0x21b,_0x3dc785:0x40f,_0x1609ea:0x69f,_0x4535d8:0x6f1,_0x44bbd1:0x2b0,_0x24feb8:0x39,_0x282451:0x238,_0x1e2627:0x526,_0x3b909f:0x547,_0x2e1fc0:0x4f2,_0x55d788:0x259,_0x58f88e:0x1c7,_0x4a338d:0x59f},_0x4222de={_0x529fd7:0x36,_0x4b0460:0x16,_0x50556c:0x118},_0x41bfb6={_0x15c8be:0x315};function _0x7505fc(_0x1a1ac2,_0x1d477,_0x2195ab,_0xaa375b){return _0x1f0bf6(_0x2195ab-_0x41bfb6._0x15c8be,_0xaa375b,_0x2195ab-0xd7,_0xaa375b-0x47);}function _0x1023b3(_0x4b9538,_0x1a2a5b,_0x58448c,_0x4aa01a){return _0x1f0bf6(_0x4aa01a-_0x4222de._0x529fd7,_0x4b9538,_0x58448c-_0x4222de._0x4b0460,_0x4aa01a-_0x4222de._0x50556c);}try{if(!_0x3af3b4[_0x1023b3(_0x306f87._0xdb2418,_0x306f87._0x315a82,0x508,0x2f7)]?.[_0x7505fc(_0x306f87._0x56da09,_0x306f87._0x22b603,0x4ac,_0x306f87._0x233125)]())return err(_0x1023b3(_0x306f87._0x3580ac,-0x71,0x17b,0x19c),void 0x0,_0x7505fc(0x7a6,_0x306f87._0x14edfc,_0x306f87._0x277193,0x7dc));if(typeof _0x3af3b4[_0x1023b3(_0x306f87._0x4189ea,0x27b,0x55f,0x41f)]!==_0x1023b3(_0x306f87._0x1febed,0x67d,0x443,_0x306f87._0x41e7aa))return err(_0x1023b3(0x318,0x1e8,_0x306f87._0x20ebdd,_0x306f87._0x2aaae6),void 0x0,_0x1023b3(_0x306f87._0x31ab36,0x4bf,0x504,0x480));const _0xcb94f6=this[_0x7505fc(_0x306f87._0x557405,0x68b,_0x306f87._0x1ed4b9,_0x306f87._0x512ec4)](_0x3af3b4['file_path'],_0x3d5b40),_0x59fba0=await _0x1dbf8f[_0x1023b3(_0x306f87._0x2879b3,0x3a7,0x425,_0x306f87._0x753f4e)](_0xcb94f6)['then'](()=>!![])['catch'](()=>![]);await _0x1dbf8f[_0x1023b3(0x1b2,_0x306f87._0x2c7045,0x26a,_0x306f87._0x108c55)](_0x5c980f[_0x1023b3(_0x306f87._0x4d6371,0x31d,_0x306f87._0x30333d,0x51a)](_0xcb94f6),{'recursive':!![]});const _0x5e88fb=Buffer[_0x7505fc(0x3a7,_0x306f87._0x363e5c,0x557,_0x306f87._0x2df1de)](_0x3af3b4[_0x1023b3(0x401,_0x306f87._0x2fd51f,_0x306f87._0x3dc785,0x41f)],'utf8'),_0x3e628d=_0x3af3b4['content'][_0x7505fc(_0x306f87._0x1609ea,_0x306f87._0x4535d8,0x7f7,0x80b)](/\r?\n/)['length'];return await this[_0x1023b3(_0x306f87._0x44bbd1,0x2c5,0x6,0x220)](_0xcb94f6,_0x5e88fb),okText(_0x1023b3(0x1a3,0x264,_0x306f87._0x24feb8,_0x306f87._0x282451)+_0x3af3b4['file_path']+'.',{'file_path':_0x3af3b4[_0x7505fc(0x7c7,_0x306f87._0x1e2627,0x5d6,0x7c2)],'bytes':_0x5e88fb[_0x1023b3(0x470,_0x306f87._0x3b909f,0x309,0x3e8)],'lines':_0x3e628d,'created':new Date()[_0x7505fc(0x846,0x6ed,0x63b,_0x306f87._0x2e1fc0)](),'overwritten':_0x59fba0});}catch(_0xcc90ed){const _0x2e5099=_0xcc90ed instanceof Error?_0xcc90ed[_0x1023b3(0x1e2,_0x306f87._0x55d788,_0x306f87._0x58f88e,0x1a6)]:String(_0xcc90ed);return err(_0x2e5099,void 0x0,_0x7505fc(0x4fe,0x46c,_0x306f87._0x4a338d,0x41a));}}async[_0x577062(-0x3dd,-0x207,-0x35f,-0x1c5)](_0x5d6ab5,_0x598bb3){const _0x635713={_0x2acb9f:0x66d,_0x188ffa:0x266,_0x5c0d48:0x1d9,_0x82e4c5:0x32f,_0x314a06:0x237,_0x34efaf:0x6d3,_0x403e3a:0x80e,_0x518288:0x655,_0x451dc0:0x631,_0x173e6d:0x524,_0x243a7c:0x1de},_0x38c1f3={_0x5da479:0x160},_0x18d086=_0x5c980f[_0x37c13d(0x8c8,_0x635713._0x2acb9f,0x617,0x6e8)](_0x5d6ab5);function _0x1f8e67(_0x417577,_0x215b90,_0x1d82fb,_0x54eba5){return _0x577062(_0x417577-0x5e,_0x215b90,_0x1d82fb-0x112,_0x54eba5-0x323);}function _0x37c13d(_0x4427de,_0x2a3bd7,_0x3c8147,_0x3714c4){return _0x577062(_0x4427de-0x19c,_0x2a3bd7,_0x3c8147-_0x38c1f3._0x5da479,_0x3714c4-0x5b3);}const _0x5b7008=_0x5c980f[_0x1f8e67(0x4ce,_0x635713._0x188ffa,0x34a,0x312)](_0x18d086,'.tmp.'+_0x5c980f[_0x37c13d(_0x635713._0x5c0d48,0x44d,0x215,_0x635713._0x82e4c5)](_0x5d6ab5)+'.'+Math[_0x1f8e67(0xbc,_0x635713._0x314a06,0x491,0x2bc)]()[_0x37c13d(_0x635713._0x34efaf,_0x635713._0x403e3a,0x549,_0x635713._0x518288)](0x24)[_0x37c13d(0x438,0x602,_0x635713._0x451dc0,_0x635713._0x173e6d)](0x2,0x8));await _0x1dbf8f['writeFile'](_0x5b7008,_0x598bb3),await _0x1dbf8f[_0x37c13d(_0x635713._0x243a7c,0x15a,0x19f,0x368)](_0x5b7008,_0x5d6ab5);}[_0x1f0bf6(0x52c,0x3ac,0x475,0x538)](_0x51c7dd,_0x347c45){const _0x2c2990={_0x4da819:0x2ad,_0x2593e9:0x2c8,_0x5200cf:0x19e,_0x8a77cc:0x183,_0x49aa54:0x1ca,_0x3ec5b4:0x18a,_0x4ef42c:0x2ad,_0x527114:0x3ee,_0x47de8d:0x4a9},_0xb9168d={_0x45898a:0x1b8,_0x206019:0x447},_0x45baba=_0x5c980f[_0x3532bd(0x332,_0x2c2990._0x4da819,0x411,0xcc)](String(_0x347c45?.[_0x3d67b6(_0x2c2990._0x2593e9,0xd7,_0x2c2990._0x5200cf,0x1dc)]??_0x347c45?.[_0x3d67b6(-0x17a,0x46,-_0x2c2990._0x8a77cc,-_0x2c2990._0x49aa54)]??this[_0x3d67b6(-0x1ef,-0x2b,-0x20f,0xdd)]));function _0x3532bd(_0x393c91,_0x30b1c9,_0x1e35e6,_0x132a73){return _0x577062(_0x393c91-_0xb9168d._0x45898a,_0x1e35e6,_0x1e35e6-0x11d,_0x30b1c9-_0xb9168d._0x206019);}const _0x5cc708=_0x5c980f[_0x3532bd(_0x2c2990._0x3ec5b4,_0x2c2990._0x4ef42c,_0x2c2990._0x527114,_0x2c2990._0x47de8d)](_0x45baba,_0x51c7dd);function _0x3d67b6(_0x10e170,_0x97ffa0,_0x762aeb,_0x523262){return _0x577062(_0x10e170-0x1cd,_0x523262,_0x762aeb-0xb5,_0x97ffa0-0x8a);}return _0x5cc708;}};import{promises as _0x7ca615}from'fs';import*as _0x5d1b54 from'path';import*as _0x6e1f78 from'os';import*as _0x4087dc from'crypto';var FileEditTool=class{[_0x577062(-0x8e,0x154,0x198,0xfd)]=_0x577062(-0x285,-0x126,-0xe,-0xbb);[_0x1f0bf6(0x2fa,0x37b,0x1b8,0x407)];[_0x1f0bf6(0x3da,0x266,0x365,0x3d3)];constructor(_0xa7d097={}){const _0x224fdd={_0x3200d0:0xc,_0x5b87a1:0xa,_0x2815cb:0xa0,_0x507634:0x17c,_0x198813:0xd5},_0x3bb93c={_0x4adc30:0x69,_0x3306f8:0x1d1},_0x100ec8={_0x42b99a:0xa2};function _0x404014(_0xfe8d3c,_0x25d09d,_0x8848a,_0x6902de){return _0x577062(_0xfe8d3c-0x10c,_0x6902de,_0x8848a-_0x100ec8._0x42b99a,_0x25d09d-0xb2);}function _0x1548c8(_0x1b6c18,_0x342544,_0x1ad206,_0x56f64b){return _0x577062(_0x1b6c18-0xf2,_0x1b6c18,_0x1ad206-_0x3bb93c._0x4adc30,_0x342544-_0x3bb93c._0x3306f8);}this['rootDir']=_0x5d1b54['resolve'](_0xa7d097['rootDir']??process[_0x1548c8(_0x224fdd._0x3200d0,0x18d,_0x224fdd._0x5b87a1,0x39)]()),this['maxBytes']=Math[_0x1548c8(-0x61,_0x224fdd._0x2815cb,0x1d6,0x22f)](0x1,_0xa7d097[_0x404014(_0x224fdd._0x507634,0xdd,-_0x224fdd._0x198813,0x21c)]??0x4*0x400*0x400);}[_0x1f0bf6(0x2a8,0x184,0x275,0x4ef)]={'type':_0x577062(-0x168,-0x311,-0x53,-0x17d),'properties':{'description':{'type':_0x1f0bf6(0x469,0x409,0x37c,0x232),'description':_0x577062(-0x7a,-0x2bc,-0x33d,-0x2c2)},'file_path':{'type':'string','description':'Path\x20to\x20the\x20target\x20file.\x20\x22~\x22\x20expands\x20to\x20the\x20user\x27s\x20home\x20directory.\x20Relative\x20paths\x20are\x20resolved\x20within\x20the\x20workspace\x20root.'},'old_text':{'type':'string','description':_0x577062(0x1b5,0x2c5,-0x162,0x87)},'new_text':{'type':'string','description':_0x1f0bf6(0x1e3,0x1f8,0x1b4,0x31f)},'dry_run':{'type':_0x577062(-0x72,-0x1dc,0x27,-0x6),'default':![],'description':'Validate\x20only;\x20do\x20not\x20write\x20to\x20disk.'}},'required':[_0x577062(-0x43,0x28,-0x2ea,-0xee),_0x577062(0x7,-0x29f,-0xa2,-0xf5),_0x577062(0xa7,-0xc4,-0x66,-0xba)],'additionalProperties':![],'$schema':'http://json-schema.org/draft-07/schema#'};[_0x1f0bf6(0x23f,0x338,0x213,0x16d)](){const _0x5e05dd={_0x4a34ba:0x1a6},_0x3bacf7={_0x52a667:0xca,_0xb5b561:0x117};function _0x1b2944(_0x7f57cb,_0x531c06,_0x4d8267,_0x10a62a){return _0x577062(_0x7f57cb-_0x3bacf7._0x52a667,_0x10a62a,_0x4d8267-_0x3bacf7._0xb5b561,_0x7f57cb- -0x9);}return{'name':this['name'],'description':'\x0a\x20\x20\x20\x20\x20\x20Edits\x20an\x20existing\x20file\x20by\x20replacing\x20exact\x20text\x20matches.\x20The\x20file\x20must\x20already\x20exist.\x0a\x0a\x20\x20\x20\x20\x20\x20-\x20Finds\x20the\x20first\x20occurrence\x20of\x20old_text\x20in\x20the\x20file\x0a\x20\x20\x20\x20\x20\x20-\x20Replaces\x20it\x20with\x20new_text\x0a\x20\x20\x20\x20\x20\x20-\x20Preserves\x20the\x20file\x27s\x20line\x20ending\x20style\x20(LF\x20or\x20CRLF)\x0a\x0a\x20\x20\x20\x20\x20\x20IMPORTANT:\x20old_text\x20must\x20match\x20exactly,\x20including\x20all\x20whitespace,\x20indentation,\x20and\x20line\x20breaks.\x0a\x20\x20\x20\x20\x20\x20To\x20make\x20a\x20unique\x20match,\x20include\x20enough\x20surrounding\x20context.','parameters':this[_0x1b2944(-0x110,-_0x5e05dd._0x4a34ba,-0x116,-0x4f)]};}async[_0x1f0bf6(0x305,0x2b4,0x39e,0x466)](_0x4efd15,_0x286d9a){const _0x51c24d={_0x333fb0:0x26f,_0x46ff22:0x43a,_0x3ea262:0x403,_0x22127d:0x132,_0x2bd29e:0x5b2,_0x2b050f:0x5a9,_0x56d4fc:0x70c,_0x145b01:0x63b,_0x5a031b:0x615,_0x3a742e:0x6ed,_0x496560:0x1ac,_0x1929c3:0x502,_0x58dcac:0x307,_0x29ddb7:0x80a,_0xbd91b1:0x818,_0x534c16:0x727,_0x1eebe9:0x4d2,_0x4138f9:0x91b,_0x587dd3:0x6ed,_0x2b50af:0x8ae,_0x2d957f:0x379,_0xa7342c:0x2c,_0x29bb9d:0x36,_0x3ed345:0x48d,_0x521e90:0x4ff,_0x387cdd:0x742,_0x5be47e:0x49a,_0xa5fc86:0x6f2,_0x2361b7:0x5d7,_0x1624a9:0x385,_0x390473:0x303,_0x2c5a4e:0x43b,_0x3c76a4:0x4e6,_0x4aa8a3:0x6f4,_0xd9f690:0x5e2,_0x7bbd89:0xb7,_0x231b37:0x4e,_0x5476f5:0xbb,_0x262980:0x299,_0x255689:0x27b,_0x21aeaf:0x171,_0x3a5516:0x598,_0x41821f:0x19e,_0x28dedb:0x2d6,_0x598d1b:0x592,_0x5b3be7:0x6cd,_0x4c757b:0x886,_0x19302a:0x41f,_0xa0367a:0x2be,_0x4809ed:0x9f,_0x173eed:0x801,_0x110e3a:0x4a7,_0x254b44:0x3f9,_0x58f074:0x591,_0x4b3ad8:0x5c3,_0x3b361e:0x433,_0xbbb090:0x2cf,_0x3e8f1e:0x129,_0x3a6854:0x1d8,_0x2cede9:0xf9,_0x1c5d60:0x371,_0x59cbc6:0x229,_0x302e71:0x269,_0x3662de:0x647,_0x172771:0x655,_0x1faef:0x84,_0x3f9169:0x291,_0x3de479:0x6ed,_0x25fbec:0x608,_0x2f7a92:0x3c,_0x4a8f37:0x1b8,_0x43dca:0x3e2,_0x40514f:0x44d,_0x2035a6:0x34e,_0x586d79:0x437,_0x173f9f:0x4b4,_0x446a6f:0x297,_0x13c0d8:0x19a,_0x5b970e:0x3cf,_0x22727a:0x302,_0x5bf251:0x284,_0xece696:0x53,_0x3f487a:0x6bb,_0x50daa0:0x82f,_0x17ac45:0x698,_0x5f06b4:0x170,_0x45cfc6:0x449,_0xaf8411:0x269,_0x23a323:0x246,_0x5d25d4:0x69c,_0x3abe31:0x52d},_0x4d7e05={_0x11a197:0x149,_0x453439:0xd,_0x207910:0x1f3},_0x161c60={_0x54f274:0xb8};function _0x5564ba(_0x3d72dd,_0x43db93,_0x933d3,_0x284b1e){return _0x577062(_0x3d72dd-_0x161c60._0x54f274,_0x3d72dd,_0x933d3-0x56,_0x933d3-0x652);}function _0x5bfb7e(_0x558f55,_0x2352bf,_0x3f53ac,_0x27580b){return _0x1f0bf6(_0x27580b- -_0x4d7e05._0x11a197,_0x3f53ac,_0x3f53ac-_0x4d7e05._0x453439,_0x27580b-_0x4d7e05._0x207910);}try{if(!_0x4efd15['file_path']?.[_0x5564ba(0x556,_0x51c24d._0x333fb0,_0x51c24d._0x46ff22,0x533)]())return err('Parameter\x20\x22file_path\x22\x20is\x20required.',void 0x0,'invalid_input');const _0xc30cbd=resolveAbsoluteWithinRoot(_0x4efd15['file_path'],_0x286d9a,this[_0x5bfb7e(_0x51c24d._0x3ea262,_0x51c24d._0x22127d,0x14b,0x1b1)]);if(typeof _0x4efd15['old_text']!==_0x5564ba(_0x51c24d._0x2bd29e,_0x51c24d._0x2b050f,_0x51c24d._0x56d4fc,_0x51c24d._0x145b01))return err('old_text\x20must\x20be\x20a\x20string.',void 0x0,_0x5564ba(_0x51c24d._0x5a031b,0x753,_0x51c24d._0x3a742e,0x8e6));if(typeof _0x4efd15[_0x5bfb7e(0x159,0x23a,-0x81,_0x51c24d._0x496560)]!==_0x5bfb7e(0x537,_0x51c24d._0x1929c3,_0x51c24d._0x58dcac,0x320))return err(_0x5564ba(_0x51c24d._0x29ddb7,_0x51c24d._0xbd91b1,_0x51c24d._0x534c16,_0x51c24d._0x1eebe9),void 0x0,_0x5564ba(_0x51c24d._0x4138f9,0x5de,_0x51c24d._0x587dd3,_0x51c24d._0x2b50af));const _0x30cc5f=await _0x7ca615[_0x5bfb7e(_0x51c24d._0x2d957f,_0x51c24d._0xa7342c,_0x51c24d._0x29bb9d,0x26e)](_0xc30cbd)[_0x5564ba(0x5b8,_0x51c24d._0x3ed345,0x607,0x42c)](()=>null),_0x1b22bc=!!_0x30cc5f&&_0x30cc5f[_0x5564ba(_0x51c24d._0x521e90,0x807,0x731,_0x51c24d._0x387cdd)]();if(!_0x1b22bc||!_0x30cc5f)return err(_0x5bfb7e(0x467,0x272,0x49c,0x420),void 0x0,_0x5564ba(_0x51c24d._0x5be47e,_0x51c24d._0xa5fc86,_0x51c24d._0x2361b7,_0x51c24d._0x1624a9));if(_0x30cc5f[_0x5564ba(0x78f,0x456,0x648,0x809)]>this[_0x5564ba(0x6ff,0x829,0x67d,0x785)])return err('File\x20too\x20large\x20('+_0x30cc5f[_0x5bfb7e(0x394,_0x51c24d._0x390473,0x1d1,0x25c)]+_0x5bfb7e(_0x51c24d._0x2c5a4e,0x307,0x5ea,0x3cf)+this[_0x5564ba(0x457,0x69b,0x67d,0x558)]+'.',void 0x0,'invalid_input');const _0x25e719=await _0x7ca615[_0x5564ba(0x60e,0x668,0x4a6,_0x51c24d._0x3c76a4)](_0xc30cbd),_0x1ff908=detectEol(_0x25e719)??'lf',_0x4a0913=_0x25e719[_0x5564ba(0x653,0x50d,_0x51c24d._0x4aa8a3,_0x51c24d._0xd9f690)](_0x5bfb7e(_0x51c24d._0x7bbd89,_0x51c24d._0x231b37,-_0x51c24d._0x5476f5,0x158)),_0x4d77d1=normalizeToLF(_0x4a0913),_0x391658=normalizeToLF(_0x4efd15[_0x5bfb7e(_0x51c24d._0x262980,0xf0,_0x51c24d._0x255689,_0x51c24d._0x21aeaf)]),_0x3b73cc=normalizeToLF(_0x4efd15[_0x5564ba(0x3ec,0x62f,_0x51c24d._0x3a5516,0x3b6)]),_0x52abe5=_0x4d77d1['indexOf'](_0x391658);if(_0x52abe5===-0x1){const _0x2d4311=_0x391658[_0x5bfb7e(0xc8,0x1ec,0x201,0x1d7)](0x0,0x64)[_0x5bfb7e(0x89,_0x51c24d._0x41821f,0x522,_0x51c24d._0x28dedb)](/\n/g,'\x5cn');return err(_0x5564ba(_0x51c24d._0x598d1b,0x87f,_0x51c24d._0x5b3be7,_0x51c24d._0x4c757b)+_0x2d4311+(_0x391658[_0x5bfb7e(_0x51c24d._0x19302a,0x7a,0x15b,0x269)]>0x64?_0x5bfb7e(_0x51c24d._0xa0367a,0x116,_0x51c24d._0x4809ed,0x25d):'')+'\x22',void 0x0,'not_found');}const _0x1d338a=_0x4d77d1[_0x5564ba(_0x51c24d._0x173eed,0x66e,0x5c3,_0x51c24d._0x110e3a)](0x0,_0x52abe5)+_0x3b73cc+_0x4d77d1[_0x5564ba(_0x51c24d._0x254b44,_0x51c24d._0x58f074,_0x51c24d._0x4b3ad8,_0x51c24d._0x3b361e)](_0x52abe5+_0x391658[_0x5bfb7e(_0x51c24d._0xbbb090,0x216,0x152,0x269)]),_0x26eba1=convertEol(_0x1d338a,_0x1ff908),_0x4c4250=Buffer[_0x5bfb7e(-_0x51c24d._0x3e8f1e,0x13b,_0x51c24d._0x3a6854,_0x51c24d._0x2cede9)](_0x26eba1,'utf8');if(_0x4c4250[_0x5bfb7e(_0x51c24d._0x1c5d60,0x9a,_0x51c24d._0x59cbc6,_0x51c24d._0x302e71)]>this['maxBytes'])return err(_0x5bfb7e(0x403,0x27a,0xf8,0x202)+_0x4c4250[_0x5564ba(0x88f,_0x51c24d._0x3662de,_0x51c24d._0x172771,0x667)]+'\x20bytes).\x20Cap\x20is\x20'+this[_0x5bfb7e(_0x51c24d._0x1faef,0xdb,0x110,_0x51c24d._0x3f9169)]+'.',void 0x0,_0x5564ba(0x6fb,0x92e,_0x51c24d._0x3de479,_0x51c24d._0x25fbec));const _0x5eec12=sha256(_0x25e719),_0x40123d=sha256(_0x4c4250),_0x4ced8a=_0x5eec12===_0x40123d;!_0x4efd15['dry_run']&&!_0x4ced8a&&await atomicWrite(_0xc30cbd,_0x4c4250);const _0x1551ac=this['calculateLineNumbers'](_0x4d77d1,_0x391658,_0x3b73cc,_0x52abe5);return okText(_0x4ced8a?_0x5bfb7e(0x143,-0xd7,0x131,_0x51c24d._0x2f7a92):_0x4efd15[_0x5bfb7e(0x429,_0x51c24d._0x4a8f37,_0x51c24d._0x43dca,0x2fd)]?_0x5564ba(0x3b3,0x5ff,_0x51c24d._0x40514f,_0x51c24d._0x2035a6):'Edit\x20applied\x20successfully.',{'path':showPath(_0xc30cbd,this[_0x5bfb7e(0x1b9,0x120,-0x35,0x1b1)]),'created':_0x30cc5f[_0x5564ba(_0x51c24d._0x586d79,0x7cf,0x687,_0x51c24d._0x173f9f)][_0x5bfb7e(0x254,0x409,_0x51c24d._0x446a6f,0x1dd)](),'modified':_0x30cc5f[_0x5bfb7e(_0x51c24d._0x13c0d8,_0x51c24d._0x5b970e,_0x51c24d._0x22727a,_0x51c24d._0x5bf251)][_0x5bfb7e(0x193,_0x51c24d._0xece696,0x15e,0x1dd)](),'size':_0x30cc5f[_0x5564ba(_0x51c24d._0x3f487a,0x6cf,0x648,0x6c3)],'eol':_0x1ff908,'oldTextLength':_0x391658[_0x5564ba(_0x51c24d._0x50daa0,_0x51c24d._0x17ac45,0x655,0x745)],'newTextLength':_0x3b73cc[_0x5bfb7e(_0x51c24d._0x5f06b4,_0x51c24d._0x45cfc6,0x43,_0x51c24d._0xaf8411)],'bytesWritten':_0x4ced8a?0x0:_0x4c4250[_0x5bfb7e(0x1ea,_0x51c24d._0x23a323,0x4ae,0x269)],'beforeSha':_0x5eec12,'afterSha':_0x40123d,'dryRun':!!_0x4efd15[_0x5bfb7e(0x2e0,_0x51c24d._0x1624a9,0x1f7,0x2fd)],'lineNumbers':_0x1551ac,'noChange':_0x4ced8a});}catch(_0x370a4d){return err(_0x370a4d instanceof Error?_0x370a4d['message']:String(_0x370a4d),void 0x0,_0x5564ba(0x635,_0x51c24d._0x5d25d4,_0x51c24d._0x3abe31,0x733));}}[_0x1f0bf6(0x435,0x5a3,0x67b,0x5a7)](_0x13e330,_0x5234ee,_0x123d38,_0x353679){const _0x39f00b={_0x2fa207:0x801,_0x2d37c6:0x2a0,_0x10668b:0x64a,_0x126a0c:0x426,_0x48486e:0x353,_0x7e805a:0x654,_0x20069f:0x66f,_0x4a4eba:0x784,_0x3d1e2c:0x5c9,_0x5e72c1:0x6fe,_0xa5b62d:0x4b6},_0x26acc6={_0x56f843:0x11e},_0x206003=_0x13e330['slice'](0x0,_0x353679),_0x3d0f71=_0x206003[_0xca9271(0x490,0x600,0x7b8,_0x39f00b._0x2fa207)]('\x0a')[_0xca9271(_0x39f00b._0x2d37c6,0x4d0,_0x39f00b._0x10668b,0x5fc)],_0x10fb5b=_0x5234ee[_0xca9271(_0x39f00b._0x126a0c,0x53d,_0x39f00b._0x48486e,0x535)](/\n$/,'');function _0x2e095c(_0x46ab33,_0x3c7614,_0x17b213,_0x28831b){return _0x1f0bf6(_0x46ab33-0x2a2,_0x3c7614,_0x17b213-0xd7,_0x28831b-0x40);}const _0x58fcce=_0x10fb5b[_0x2e095c(_0x39f00b._0x7e805a,0x845,0x828,0x62c)]===0x0?0x0:_0x10fb5b['split']('\x0a')['length'],_0x200e52=_0x3d0f71+_0x58fcce-0x1;function _0xca9271(_0x4a3e22,_0x33bcc4,_0x11ee4f,_0x3d88fe){return _0x1f0bf6(_0x33bcc4-_0x26acc6._0x56f843,_0x3d88fe,_0x11ee4f-0xe2,_0x3d88fe-0xb9);}const _0x9a3272=_0x123d38[_0x2e095c(0x6c1,0x663,0x6ed,_0x39f00b._0x20069f)](/\n$/,''),_0x99ae2=_0x9a3272['length']===0x0?0x0:_0x9a3272[_0x2e095c(_0x39f00b._0x4a4eba,0x7fe,_0x39f00b._0x3d1e2c,0x993)]('\x0a')[_0xca9271(0x6fd,0x4d0,_0x39f00b._0x5e72c1,_0x39f00b._0xa5b62d)],_0x7ef4c=_0x3d0f71,_0xe5147d=_0x7ef4c+_0x99ae2-0x1;return{'oldStartLine':_0x3d0f71,'oldEndLine':_0x200e52,'newStartLine':_0x7ef4c,'newEndLine':_0xe5147d,'oldLineCount':_0x58fcce,'newLineCount':_0x99ae2};}};function resolveAbsoluteWithinRoot(_0x269947,_0x1a8e3c,_0x361b36){const _0x163524={_0xd8a856:0x3fd,_0x260c31:0x3b8,_0x2df7a0:0x461,_0x2d1f10:0x280,_0x4dcf6a:0x52c,_0x4e5cd1:0x4ad,_0x800544:0x5b9,_0x72f51b:0x5d3,_0xb7bff0:0x75e,_0x25953a:0x3ac,_0x3980c0:0x4e7},_0x955b5f={_0x5d60fc:0x9b,_0x122c68:0x141,_0x3f327a:0x45d},_0x3242fc=_0x5d1b54[_0x10cdf3(0x288,_0x163524._0xd8a856,0x3e2,0x27a)](_0x1a8e3c?.[_0x10cdf3(_0x163524._0x260c31,0x5c5,0x29e,_0x163524._0x2df7a0)]??_0x1a8e3c?.['cwd']??_0x361b36??process['cwd']());function _0x53b9c8(_0xfab486,_0x23bea1,_0x1fd805,_0x567395){return _0x577062(_0xfab486-_0x955b5f._0x5d60fc,_0x23bea1,_0x1fd805-_0x955b5f._0x122c68,_0x567395-_0x955b5f._0x3f327a);}const _0x69393c=expandTilde(_0x269947['trim']());function _0x10cdf3(_0xfa04dc,_0x28051e,_0x89d1d9,_0xb30152){return _0x1f0bf6(_0xb30152-0x65,_0xfa04dc,_0x89d1d9-0xe,_0xb30152-0x1b3);}const _0x3a05c0=_0x5d1b54['isAbsolute'](_0x69393c)?_0x69393c:_0x5d1b54[_0x10cdf3(0x8e,0x18a,_0x163524._0x2d1f10,0x27a)](_0x3242fc,_0x69393c),_0x534fd3=_0x5d1b54[_0x10cdf3(0x4c3,0x661,_0x163524._0x4dcf6a,_0x163524._0x4e5cd1)](_0x3a05c0),_0x451330=_0x5d1b54['resolve'](_0x3242fc),_0xa12fec=_0x5d1b54[_0x10cdf3(_0x163524._0x800544,_0x163524._0x72f51b,0x4fe,0x5d4)](_0x451330,_0x534fd3);if(_0xa12fec[_0x53b9c8(_0x163524._0xb7bff0,_0x163524._0x25953a,_0x163524._0x3980c0,0x5ce)]('..')||_0x5d1b54['isAbsolute'](_0xa12fec))throw new Error('Path\x20outside\x20workspace\x20root:\x20'+_0x269947);return _0x534fd3;}function expandTilde(_0x1d53db){const _0x4c95f2={_0x4f7fcc:0x41d,_0x519d40:0x4f2,_0x4b2d0b:0x175,_0x49b0aa:0xd1,_0x245a67:0x199,_0x2d5bbb:0x1f,_0x52d86f:0x190,_0x4f22cb:0x33a,_0x3b7600:0x258,_0x1d244f:0xf0},_0x27091e={_0x32470d:0xa5},_0x140404={_0x4564d9:0x12d};function _0x837523(_0x536b86,_0x424a70,_0x334511,_0x113ce0){return _0x1f0bf6(_0x334511-0x213,_0x424a70,_0x334511-_0x140404._0x4564d9,_0x113ce0-0x111);}if(_0x1d53db==='~')return _0x6e1f78[_0x837523(0x61c,0x597,_0x4c95f2._0x4f7fcc,_0x4c95f2._0x519d40)]();function _0x2afa0e(_0x1009ea,_0x4c63f4,_0x2ee2fd,_0x65ffeb){return _0x1f0bf6(_0x1009ea- -0x229,_0x2ee2fd,_0x2ee2fd-_0x27091e._0x32470d,_0x65ffeb-0x120);}if(_0x1d53db['startsWith']('~/')||_0x1d53db[_0x837523(0x769,0x747,0x733,0x8e7)]('~\x5c'))return _0x5d1b54[_0x2afa0e(_0x4c95f2._0x4b2d0b,-_0x4c95f2._0x49b0aa,_0x4c95f2._0x245a67,0xe0)](_0x6e1f78[_0x2afa0e(-_0x4c95f2._0x2d5bbb,0x10d,0x104,-_0x4c95f2._0x52d86f)](),_0x1d53db[_0x2afa0e(0xf7,_0x4c95f2._0x4f22cb,_0x4c95f2._0x3b7600,_0x4c95f2._0x1d244f)](0x2));return _0x1d53db;}function showPath(_0x26ccff,_0x235124){const _0x18739a={_0xab99b9:0x622,_0x439613:0x6ab,_0x1e1ec8:0x5d3},_0x5585b8={_0x439d3e:0x140,_0x45d704:0x462},_0x2c369d={_0x8669f1:0x18a,_0x25b28e:0xa2};function _0x332aa2(_0x5a94e3,_0x8391c6,_0x3b1bdc,_0x1cbd25){return _0x1f0bf6(_0x3b1bdc- -0x39,_0x5a94e3,_0x3b1bdc-_0x2c369d._0x8669f1,_0x1cbd25-_0x2c369d._0x25b28e);}function _0x270dd2(_0x3c4164,_0x382dc1,_0x74eb29,_0x33d972){return _0x577062(_0x3c4164-_0x5585b8._0x439d3e,_0x382dc1,_0x74eb29-0x24,_0x74eb29-_0x5585b8._0x45d704);}const _0x5914a4=_0x5d1b54[_0x270dd2(0x4ae,0x855,_0x18739a._0xab99b9,0x6c3)](_0x235124,_0x26ccff);return _0x5914a4&&!_0x5914a4[_0x270dd2(_0x18739a._0x439613,0x48d,_0x18739a._0x1e1ec8,0x74d)]('..')?_0x5914a4:_0x26ccff;}function detectEol(_0x115fda){const _0x18f86a={_0x12b780:0x4e2,_0x554c0e:0x1f1,_0x4ee9fa:0x2ba,_0xe60d46:0x29c},_0x573581={_0x4a918a:0x19f},_0x58c093={_0x2827cb:0x192},_0x3c4823=_0x115fda[_0x5aaad7(0x3d1,_0x18f86a._0x12b780,0x710,0x464)](_0xde6d92(0x112,0x10f,-0x21,_0x18f86a._0x554c0e));function _0xde6d92(_0xc7f107,_0x483265,_0x250eba,_0x4ec947){return _0x1f0bf6(_0x483265- -_0x58c093._0x2827cb,_0x4ec947,_0x250eba-0x14b,_0x4ec947-0x1dc);}if(/\r\n/['test'](_0x3c4823))return _0xde6d92(0x159,-0x8a,-_0x18f86a._0x4ee9fa,-_0x18f86a._0xe60d46);if(/\n/['test'](_0x3c4823))return'lf';function _0x5aaad7(_0x5d78e8,_0x44430e,_0x3b00e1,_0x563487){return _0x577062(_0x5d78e8-0xe2,_0x3b00e1,_0x3b00e1-_0x573581._0x4a918a,_0x44430e-0x440);}return null;}function normalizeToLF(_0xbf6ef2){return _0xbf6ef2['replace'](/\r\n/g,'\x0a');}function convertEol(_0x15f13d,_0x36bc3c){const _0x3f0bbf={_0x3bf471:0x29e,_0x412b82:0x415,_0x1544cd:0x29d,_0x22f867:0x7af,_0x10e9d9:0x47d,_0x83961a:0x5b4},_0x327161={_0x583120:0xed,_0x93a2b1:0x59,_0x2b86cd:0x544},_0x38c740={_0x4261ab:0x58,_0x5eac1f:0x118};function _0x297a08(_0x1a9b04,_0x2315d2,_0x15a730,_0x528479){return _0x1f0bf6(_0x15a730- -0x388,_0x528479,_0x15a730-_0x38c740._0x4261ab,_0x528479-_0x38c740._0x5eac1f);}function _0x179dba(_0x3b66e8,_0x4c2573,_0x4f632e,_0x2fa933){return _0x577062(_0x3b66e8-_0x327161._0x583120,_0x4c2573,_0x4f632e-_0x327161._0x93a2b1,_0x2fa933-_0x327161._0x2b86cd);}return _0x36bc3c===_0x179dba(0x28b,_0x3f0bbf._0x3bf471,_0x3f0bbf._0x412b82,_0x3f0bbf._0x1544cd)?_0x15f13d[_0x179dba(0x667,_0x3f0bbf._0x22f867,_0x3f0bbf._0x10e9d9,_0x3f0bbf._0x83961a)](/\n/g,'\x0d\x0a'):_0x15f13d;}async function atomicWrite(_0x1860eb,_0x3d4d33){const _0x1d93f3={_0x591968:0x61,_0x1f6430:0x1e0,_0x6692fa:0x10f,_0x49af4b:0x227,_0x3ac119:0x3d,_0x1124b0:0x51f,_0x84f91d:0x2d2},_0x494708={_0x11a551:0x30b,_0x4bb0b9:0x141},_0x3711f0={_0x2a22d7:0xe1,_0x4297d2:0x421},_0x28e878=_0x5d1b54['dirname'](_0x1860eb),_0x29ecea=_0x5d1b54['join'](_0x28e878,'.tmp.'+_0x5d1b54[_0x481e5f(-_0x1d93f3._0x591968,-_0x1d93f3._0x1f6430,-0x16b,-_0x1d93f3._0x6692fa)](_0x1860eb)+'.'+Math[_0x481e5f(_0x1d93f3._0x49af4b,_0x1d93f3._0x3ac119,-0x36,0x39)]()['toString'](0x24)[_0x481e5f(0x71,0x15,-_0x1d93f3._0x1f6430,0x197)](0x2,0x8));await _0x7ca615[_0x4bdf74(0x11e,_0x1d93f3._0x1124b0,_0x1d93f3._0x84f91d,0x1d1)](_0x29ecea,_0x3d4d33);function _0x4bdf74(_0x50ac2f,_0x3ffce4,_0x2349e3,_0x1742a1){return _0x577062(_0x50ac2f-_0x3711f0._0x2a22d7,_0x1742a1,_0x2349e3-0x133,_0x2349e3-_0x3711f0._0x4297d2);}function _0x481e5f(_0x2f0585,_0xefa5f5,_0x3f18fb,_0x15f5b3){return _0x1f0bf6(_0xefa5f5- -_0x494708._0x11a551,_0x15f5b3,_0x3f18fb-_0x494708._0x4bb0b9,_0x15f5b3-0x16);}await _0x7ca615['rename'](_0x29ecea,_0x1860eb);}function sha256(_0x247030){const _0x5ab4f9={_0x319ab8:0xd9,_0x278a36:0x19b,_0x2c5dad:0x273,_0x5630a1:0x69,_0x5da2e1:0x244,_0x4b19d6:0x262,_0x336d2a:0x36,_0x5e935e:0x26,_0x389118:0x203,_0x56eac5:0x307},_0x1b930c={_0x373232:0x128},_0x2512e6={_0x5a19ab:0x35f};function _0x7c0e9a(_0x2f800a,_0x863efa,_0x39426d,_0x158a5c){return _0x1f0bf6(_0x2f800a- -_0x2512e6._0x5a19ab,_0x863efa,_0x39426d-0xdd,_0x158a5c-0xf0);}function _0x23e53f(_0xb3d546,_0x23ec53,_0x4ea604,_0x5de465){return _0x1f0bf6(_0x5de465- -0x374,_0xb3d546,_0x4ea604-_0x1b930c._0x373232,_0x5de465-0xfb);}return _0x4087dc[_0x23e53f(-0x3aa,-_0x5ab4f9._0x319ab8,-_0x5ab4f9._0x278a36,-_0x5ab4f9._0x2c5dad)](_0x23e53f(_0x5ab4f9._0x5630a1,_0x5ab4f9._0x5da2e1,_0x5ab4f9._0x4b19d6,_0x5ab4f9._0x336d2a))[_0x23e53f(-0x88,-_0x5ab4f9._0x5e935e,-0x19,-0x20d)](_0x247030)[_0x7c0e9a(-_0x5ab4f9._0x389118,-0x10d,-0x2d1,-_0x5ab4f9._0x56eac5)]('hex');}import{spawn}from'child_process';import*as _0x1fdf27 from'os';import*as _0x17b873 from'fs';import{stripVTControlCharacters}from'util';function normalizeNewlines(_0x5731b6){return _0x5731b6['replace'](/\r\n?/g,'\x0a');}function resolveCarriageReturns(_0x3e8c02){const _0x1cd042={_0x13559d:0x224,_0xf88c88:0x24e,_0x262ce4:0x109},_0x431f1d={_0xb7c7da:0xf9,_0x4859a5:0x490,_0x169d38:0x4c2,_0x3aedea:0x2b8,_0x2697dd:0x10e},_0x2b7f31={_0x2fe010:0x3ed,_0x429a62:0x188},_0x13d9c8={_0x20cffd:0x2e0};function _0x243b6f(_0x82345e,_0x63d9c7,_0x40f831,_0x1ab6f3){return _0x1f0bf6(_0x82345e- -_0x13d9c8._0x20cffd,_0x1ab6f3,_0x40f831-0x13c,_0x1ab6f3-0x91);}function _0x1789d9(_0x487b57,_0x5bb7ad,_0x176da2,_0xfdc61f){return _0x1f0bf6(_0x176da2- -_0x2b7f31._0x2fe010,_0xfdc61f,_0x176da2-0xd0,_0xfdc61f-_0x2b7f31._0x429a62);}return _0x3e8c02[_0x1789d9(_0x1cd042._0x13559d,0x26e,0xf5,_0x1cd042._0xf88c88)]('\x0a')[_0x243b6f(0xd4,-0x11c,_0x1cd042._0x262ce4,0x2c0)](_0x222565=>{const _0x241fb7={_0x57f48f:0x185,_0x4b76e0:0x195},_0x2dd591={_0x55b6bb:0x28e};if(_0x222565[_0xbbf61d(-_0x431f1d._0xb7c7da,0x11b,-0x298,-0xae)]('\x0d')){const _0x818529=_0x222565[_0x1e534b(0x2d0,_0x431f1d._0x4859a5,_0x431f1d._0x169d38,_0x431f1d._0x3aedea)]('\x0d');return _0x818529[_0x818529[_0xbbf61d(0x81,-0x3c,_0x431f1d._0x2697dd,0x60)]-0x1];}function _0x1e534b(_0x1ac694,_0xef2761,_0x3f5b9f,_0x11577c){return _0x243b6f(_0xef2761-_0x2dd591._0x55b6bb,_0xef2761-0x1d7,_0x3f5b9f-0x17e,_0x3f5b9f);}function _0xbbf61d(_0x338c8b,_0x18e24b,_0x342143,_0x4943e6){return _0x243b6f(_0x4943e6- -0x72,_0x18e24b-_0x241fb7._0x57f48f,_0x342143-_0x241fb7._0x4b76e0,_0x338c8b);}return _0x222565;})[_0x243b6f(0xbe,-0xc4,0x2e6,0x11)]('\x0a');}function resolveBackspaces(_0x100719){const _0x3becbf={_0x5662d5:0x1db,_0x199b48:0x20a,_0x162866:0x1cf,_0x388397:0x62a,_0x275577:0x2bf,_0x3726d5:0x3dd,_0x1e224a:0x58,_0x2d4fd3:0x3c3},_0x25412d={_0x5a2028:0x22},_0x3f2701=Array[_0x164f55(0x10,0x127,_0x3becbf._0x5662d5,_0x3becbf._0x199b48)](_0x100719);function _0x164f55(_0x5e65c8,_0x50a55a,_0x594a5a,_0x2f7cdb){return _0x1f0bf6(_0x594a5a- -0x67,_0x2f7cdb,_0x594a5a-_0x25412d._0x5a2028,_0x2f7cdb-0x1cf);}const _0x355b5f=[];function _0x317e7b(_0x53aba0,_0x543a50,_0x2ad62c,_0x53c4c1){return _0x577062(_0x53aba0-0xab,_0x2ad62c,_0x2ad62c-0x23,_0x53c4c1-0x534);}for(const _0x5dd010 of _0x3f2701){_0x5dd010==='\x08'?_0x355b5f[_0x317e7b(_0x3becbf._0x162866,_0x3becbf._0x388397,_0x3becbf._0x275577,_0x3becbf._0x3726d5)]():_0x355b5f[_0x317e7b(_0x3becbf._0x1e224a,_0x3becbf._0x2d4fd3,0xad,0x2a2)](_0x5dd010);}return _0x355b5f['join']('');}function stripAnsiAndControls(_0x402749){const _0x538e9f={_0x3cb25b:0x333,_0x4b3db7:0x23,_0x2b9cdd:0x2cc,_0x1104ce:0x4c,_0x375a30:0x8e,_0x504dfb:0x10f,_0x24d138:0x24,_0x41fad:0x472,_0x173ce8:0x1f1,_0x90612:0x1c9,_0x1b49f4:0x301,_0x19c800:0x129,_0x5cf061:0x1e9,_0x5a467d:0x301,_0x4c1de3:0x13a},_0x1cf9af={_0x4ff69a:0x1d7,_0x279ce9:0x116,_0x215699:0x28f};_0x402749=stripVTControlCharacters(_0x402749);const _0x2d7ec2='\x1b';function _0x24a249(_0x3b020f,_0x431be3,_0xf79b81,_0x50ef81){return _0x577062(_0x3b020f-_0x1cf9af._0x4ff69a,_0xf79b81,_0xf79b81-_0x1cf9af._0x279ce9,_0x431be3-_0x1cf9af._0x215699);}_0x402749=_0x402749['replace'](/;[^\u0007\n]*?\u0007/g,'');function _0x3155b2(_0x583809,_0x2289bf,_0x2a489d,_0xd5485a){return _0x577062(_0x583809-0x94,_0x583809,_0x2a489d-0x199,_0x2a489d-0x291);}return _0x402749=_0x402749['replace'](new RegExp(_0x24a249(-0x217,0x26,0xce,-0xd6)+_0x2d7ec2+'\x5c\x5c','g'),''),_0x402749=_0x402749['replace'](/\u0007/g,''),_0x402749=_0x402749['replace'](new RegExp(_0x2d7ec2+_0x24a249(_0x538e9f._0x3cb25b,0x18c,-_0x538e9f._0x4b3db7,_0x538e9f._0x2b9cdd)+_0x2d7ec2+'\x5c\x5c','g'),''),_0x402749=_0x402749['replace'](new RegExp(_0x2d7ec2+_0x24a249(-_0x538e9f._0x1104ce,_0x538e9f._0x375a30,-_0x538e9f._0x504dfb,_0x538e9f._0x24d138),'g'),''),_0x402749=_0x402749[_0x24a249(_0x538e9f._0x41fad,0x2ff,_0x538e9f._0x173ce8,0x2cd)](/[\u0080-\u009F]/g,''),_0x402749=_0x402749[_0x3155b2(_0x538e9f._0x90612,0x146,_0x538e9f._0x1b49f4,_0x538e9f._0x19c800)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x402749=_0x402749[_0x3155b2(_0x538e9f._0x5cf061,0xd8,_0x538e9f._0x5a467d,_0x538e9f._0x4c1de3)](/[\u23CE\u2424]/g,''),_0x402749;}function canonicalizeTerminalPaste(_0x49cfa7){let _0x2a1ea8=normalizeNewlines(_0x49cfa7);return _0x2a1ea8=resolveCarriageReturns(_0x2a1ea8),_0x2a1ea8=resolveBackspaces(_0x2a1ea8),_0x2a1ea8;}var DEFAULTS={'maxOutputBytes':0x1*0x400*0x400,'timeoutMs':0x7530,'stripAnsi':!![]},BashTool=class{[_0x577062(0x1d8,0x2ed,0x321,0xfd)]='bash_tool';[_0x577062(-0x2ff,-0x2f3,-0x8c,-0x107)]={'type':_0x1f0bf6(0x232,0x2bd,0x1a3,0x369),'properties':{'description':{'type':_0x1f0bf6(0x469,0x652,0x43b,0x3af),'description':_0x1f0bf6(0x4f3,0x6c3,0x386,0x66e)},'cmd':{'type':_0x1f0bf6(0x469,0x3f5,0x33a,0x250),'description':'Shell\x20command\x20to\x20run.'},'cwd':{'type':_0x577062(0x1dc,0x75,0x213,0xba),'description':'Working\x20directory.'},'timeoutMs':{'type':'integer','minimum':0x1,'description':_0x577062(0xff,0x216,0x21a,0x153)}},'required':[_0x577062(0x1a8,0x2ed,0x319,0x195)]};[_0x1f0bf6(0x23f,0x3d0,0x2c6,0x2f9)](){const _0x1b40cd={_0x47c944:0x5fc,_0x3de895:0x775,_0x435253:0x348,_0x3058e6:0x58f,_0x449d6a:0x649,_0x2a49fe:0x3e9,_0x5a38b9:0x36e},_0xe33859={_0x2281d1:0x33,_0x5d2859:0x1bd,_0x41ff6b:0x745},_0xc02836={_0x5f18aa:0x1c6,_0x2a2658:0x1e7,_0x37f7f7:0x475};function _0x5843cd(_0x4270bb,_0x11f066,_0x3776f4,_0x5ba300){return _0x577062(_0x4270bb-_0xc02836._0x5f18aa,_0x4270bb,_0x3776f4-_0xc02836._0x2a2658,_0x11f066-_0xc02836._0x37f7f7);}function _0x41cc31(_0x3d0581,_0x53f17a,_0x22707b,_0x4d0e15){return _0x577062(_0x3d0581-_0xe33859._0x2281d1,_0x53f17a,_0x22707b-_0xe33859._0x5d2859,_0x22707b-_0xe33859._0x41ff6b);}return{'name':this[_0x5843cd(_0x1b40cd._0x47c944,0x572,_0x1b40cd._0x3de895,0x789)],'description':_0x5843cd(_0x1b40cd._0x435253,_0x1b40cd._0x3058e6,_0x1b40cd._0x449d6a,_0x1b40cd._0x2a49fe),'parameters':this[_0x5843cd(0x15c,_0x1b40cd._0x5a38b9,0x444,0x527)]};}async[_0x577062(-0x49,-0xc5,0x13f,-0xaa)](_0x310a0c,_0x22e9c0){const _0x2bd139={_0x438a48:0x21b,_0xf9fbdb:0x2c3,_0x432923:0x3ff,_0x178792:0x282,_0x55dd4e:0x261,_0xb09553:0x2e,_0x29e44c:0x283,_0x133006:0x147},_0x4b7f69={_0x2b1936:0x3d1,_0x47bcfa:0x115,_0x46f27a:0x1d1},_0x5eaf83={_0x438d64:0x2d};function _0x1225c7(_0x1d5522,_0x2cd948,_0x294b5d,_0x25f57a){return _0x1f0bf6(_0x294b5d- -0x10c,_0x2cd948,_0x294b5d-0x1b2,_0x25f57a-_0x5eaf83._0x438d64);}function _0x56f9f7(_0xe112ba,_0x30f02d,_0x1b8e8e,_0x4db158){return _0x1f0bf6(_0x1b8e8e- -_0x4b7f69._0x2b1936,_0x30f02d,_0x1b8e8e-_0x4b7f69._0x47bcfa,_0x4db158-_0x4b7f69._0x46f27a);}try{return await this[_0x56f9f7(-0x14d,-_0x2bd139._0x438a48,-_0x2bd139._0xf9fbdb,-0x450)](_0x310a0c,_0x22e9c0?.['signal']);}catch(_0x4c371a){if(_0x4c371a instanceof Error&&_0x4c371a[_0x1225c7(0x5d4,0x179,0x3a0,_0x2bd139._0x432923)]==='AbortError')return err(_0x56f9f7(-0xce,0xa3,0x5a,-0x181),void 0x0,'aborted');const _0x29f085=_0x4c371a instanceof Error?_0x4c371a[_0x56f9f7(-0x34c,-_0x2bd139._0x178792,-_0x2bd139._0x55dd4e,-_0x2bd139._0xb09553)]:String(_0x4c371a);return err(_0x29f085,void 0x0,_0x56f9f7(-_0x2bd139._0x29e44c,-0x393,-_0x2bd139._0x133006,-0x367));}}async[_0x577062(-0x100,-0x28d,-0x2cc,-0x2a1)](_0x5c705c,_0x91871b){const _0x1cdb19={_0x4e95bc:0x5b0,_0x1920b6:0x392,_0x5ab44c:0x6a1,_0x233c5d:0x79e,_0x43137b:0x138,_0x450468:0x24f,_0x2487ff:0x40f,_0x4169b8:0x79,_0x255df7:0x3c4,_0x462b95:0x21c,_0x372154:0x28a,_0x4f0ca1:0x1ae,_0x5ca877:0x33b,_0x34e45a:0x467,_0x4d221f:0xc,_0x504aed:0xe9,_0x291cb0:0xdd,_0x434351:0x36e,_0xea9053:0x48e,_0x1fe935:0x2de,_0x12c801:0xe6,_0x2a9624:0x13e,_0x31acc2:0x287,_0x4b6795:0x88,_0x3aa076:0x39b,_0x198a6f:0x38a,_0x87d2b6:0x29b,_0x315cfc:0x363,_0x4c87d1:0x581,_0x4b260f:0x1d8,_0x3d01f8:0x229,_0x4511fc:0x4f,_0xf74638:0x3cc,_0xb756f9:0x48f,_0x1d3bf0:0xf9,_0x51c007:0xb3,_0x44ade8:0xdd,_0x19dc5a:0x627,_0x1d31db:0x45b,_0x218057:0x22f,_0x311794:0xf9,_0x5b106f:0x15e,_0xbd60f2:0x4a7,_0xa00bd9:0x1f2,_0x24d893:0x48,_0x56bb02:0x200,_0xa208d5:0x129,_0x514fe4:0x250,_0x5d89f6:0x1ea,_0x354495:0x2f7,_0x5b2ad3:0x6f3,_0x48e33f:0x55f,_0x1b1ae0:0x5a4,_0x4f7026:0x304,_0x2aafb8:0x97,_0x47cd89:0x1e6,_0x38e6d3:0x40c,_0x2bbd55:0x108,_0x52d6a8:0xf8,_0x573a71:0x27,_0x56f5b5:0x20c,_0x59247e:0x209,_0x3d4cc8:0x1e4,_0xe6640b:0x309,_0x513596:0x5e5,_0x3e6d6c:0x42b,_0xcadf70:0x1bc,_0x28c3b0:0x1a7,_0x94a3ce:0x4e,_0x4641c2:0xb9,_0x5e255a:0x8e,_0x59c18e:0x301,_0x6021e2:0x2c6,_0x29752b:0x84,_0x117190:0x1c,_0x4ccbc1:0xca,_0x1ca5da:0x159,_0xae4ae4:0x341,_0x37c88a:0x1b9,_0x571264:0x488,_0x2d2571:0x4d,_0x33bddd:0xdc,_0xc2fb21:0x48,_0x15c35c:0x16a,_0x467c33:0x417,_0xff5852:0x271,_0xd87bdb:0x285,_0x20e7b8:0x29d,_0x4eda4e:0x131,_0x587793:0x4a8,_0x4d612e:0x6a0,_0x61085b:0x306,_0x2b1f3e:0xd4,_0x5106d0:0x45c,_0x2c2f80:0x437},_0xf0b19f={_0x32907e:0x2f6},_0x52e12e={_0x2b2aa8:0x1e1},_0x555e0b={_0x3f111b:0x438,_0x4b8772:0x707,_0xea284d:0x4f6,_0x4622d7:0x4e0,_0xbc5fcf:0x3d5,_0x31d5b7:0x36c,_0x45fd72:0x643,_0x55380f:0x59c,_0x413141:0x4ca,_0x1e4e22:0x5f1,_0x376487:0x7aa,_0x2c52a6:0x581,_0x3744ee:0x675,_0x49eba0:0x4bf,_0x4e0219:0x42f,_0x1cb683:0x5b4,_0x318623:0x733,_0xf153b:0x792,_0x1ce099:0x6dd,_0xfb5c80:0x3bb,_0x453c6e:0x2bc,_0x220f82:0x21b},_0x7c5da4={_0x310e34:0x144,_0x46a02a:0x10a},_0x32472d={_0x41a58e:0x56,_0x1518bb:0x1a7},_0xe2f956={_0x422003:0x29,_0x2a171d:0x204,_0x283a92:0x371,_0x4f9bc6:0x3a6,_0x5d7af5:0x341,_0x3ef790:0x2b8,_0x136ca1:0x163,_0x68f191:0x273,_0x1389a4:0x39c,_0x4b6b9a:0x361},_0x49da8c={_0x380c56:0x4b,_0xb228d7:0x189},_0x2c6392={_0x5a7021:0x116,_0x160ef9:0x80,_0x8e48e2:0x1c5,_0x3340c3:0x14a,_0x104bd9:0x323,_0x51b615:0x425,_0x1026ef:0x39c,_0x4be2c6:0x487,_0x4b7832:0x1b,_0x31192a:0x24d,_0x5b9a22:0x3c,_0x7b6050:0x114},_0x1401a1={_0x2146c7:0x328,_0x3a1cfc:0x1c2},_0x96c63c={_0x2432f5:0x1b7,_0x36c3ce:0x30d,_0x2c8402:0x383},_0x147859={_0x495efa:0x28e,_0x29dd67:0x5d,_0x525834:0x160},_0x244964={_0x40f07d:0x322,_0x3c2f64:0x6a8,_0x42e9c5:0x594,_0x157639:0x3f4,_0x74242a:0x622,_0x41e930:0x493,_0x19c164:0x40c,_0xea44fd:0x2a0},_0x3579d3={_0x5c1e0e:0x129,_0x5138d0:0x9e},_0x36191f={_0x37a669:0x4c1,_0x59488d:0xb0};if(_0x91871b?.[_0x49c2fb(_0x1cdb19._0x4e95bc,_0x1cdb19._0x1920b6,0x5a4,0x4a5)])return err('Command\x20execution\x20aborted\x20by\x20user',void 0x0,_0x49c2fb(_0x1cdb19._0x5ab44c,_0x1cdb19._0x233c5d,0x5a4,0x3ea));const {cmd:_0x13ded6,cwd:cwd=process[_0x1041a4(0x22c,_0x1cdb19._0x43137b,0x43,0x108)](),timeoutMs:timeoutMs=DEFAULTS[_0x1041a4(-0x2b3,-0x31c,-0x215,-_0x1cdb19._0x450468)]}=_0x5c705c,_0x36079f=DEFAULTS['maxOutputBytes'],_0x1516cd=DEFAULTS['stripAnsi'],_0x30bd7b=this[_0x49c2fb(0x4ad,_0x1cdb19._0x2487ff,0x344,0x3bd)](),_0x1a7172=this[_0x1041a4(0x287,_0x1cdb19._0x4169b8,0x1c4,0x231)](_0x13ded6,_0x30bd7b);let _0x3ef639;const _0x51c4fb=_0x1fdf27[_0x1041a4(0x2e0,_0x1cdb19._0x255df7,0x19a,0x2e1)]()==='win32';try{_0x3ef639=spawn(_0x30bd7b,_0x1a7172,{'cwd':cwd,'env':process[_0x49c2fb(0x4c7,_0x1cdb19._0x462b95,_0x1cdb19._0x372154,0x37e)],'stdio':[_0x1041a4(-0x2aa,0xa2,-_0x1cdb19._0x4f0ca1,-0x396),_0x49c2fb(0x550,_0x1cdb19._0x5ca877,_0x1cdb19._0x34e45a,0x57d),_0x1041a4(_0x1cdb19._0x4d221f,-0x8f,_0x1cdb19._0x504aed,_0x1cdb19._0x291cb0)],'shell':![],'windowsHide':!![],'detached':!_0x51c4fb});}catch(_0x2ed352){if(_0x2ed352 instanceof Error&&_0x49c2fb(_0x1cdb19._0x434351,_0x1cdb19._0xea9053,_0x1cdb19._0x1fe935,0xc9)in _0x2ed352&&_0x2ed352['code']===_0x1041a4(-_0x1cdb19._0x12c801,-0x129,0x116,-_0x1cdb19._0x2a9624))return err(_0x1041a4(_0x1cdb19._0x31acc2,0x35,_0x1cdb19._0x4b6795,0x91)+_0x30bd7b,void 0x0,_0x49c2fb(_0x1cdb19._0x3aa076,0x4cb,_0x1cdb19._0x198a6f,_0x1cdb19._0x87d2b6));throw _0x2ed352;}_0x3ef639['once'](_0x49c2fb(0x615,_0x1cdb19._0x315cfc,_0x1cdb19._0x4c87d1,0x5e5),_0x4937a8=>{function _0x3c8f25(_0x298963,_0x8be2df,_0x3ee2f0,_0x407b30){return _0x1041a4(_0x298963-0x179,_0x298963,_0x3ee2f0-_0x36191f._0x37a669,_0x407b30-_0x36191f._0x59488d);}function _0x55f326(_0x26e096,_0x55ce5f,_0x219e74,_0x301198){return _0x1041a4(_0x26e096-_0x3579d3._0x5c1e0e,_0x301198,_0x219e74-0x3c2,_0x301198-_0x3579d3._0x5138d0);}'code'in _0x4937a8&&_0x4937a8[_0x55f326(0x489,0x3c0,_0x244964._0x40f07d,0x4a1)]==='ENOENT'&&(!_0x3ef639[_0x55f326(_0x244964._0x3c2f64,0x50d,_0x244964._0x42e9c5,_0x244964._0x157639)]&&_0x3ef639['emit'](_0x55f326(_0x244964._0x74242a,_0x244964._0x41e930,_0x244964._0x19c164,_0x244964._0xea44fd),-0x1,null));});let _0x2d5ad9=null,_0x245675=null,_0x6f2dc9=null,_0x12310f=![],_0x4c4920=![];const _0x19f5ff=new Promise((_0x29dcaf,_0x14a404)=>{const _0x17582a={_0x126f3d:0x740,_0x3f93dc:0x789,_0x1992fb:0x5bf,_0x49ab16:0x438,_0x51d429:0x5cf};_0x2d5ad9=setTimeout(()=>{_0x12310f=!![];function _0x7f132b(_0xec24b3,_0x3a0991,_0x174a4c,_0x51e3cb){return _0x13d4(_0x51e3cb-0x268,_0x174a4c);}function _0x27fb38(_0x520889,_0x5265c2,_0x58847b,_0x27b02a){return _0x13d4(_0x5265c2-0x34d,_0x58847b);}try{this['killProcessGroup'](_0x3ef639,_0x51c4fb);}catch{}_0x14a404(new Error(_0x7f132b(0x7d5,_0x17582a._0x126f3d,0x615,_0x17582a._0x3f93dc)+timeoutMs+_0x7f132b(_0x17582a._0x1992fb,0x5b3,_0x17582a._0x49ab16,_0x17582a._0x51d429)));},timeoutMs);}),_0x34b768=new Promise((_0x2ea41c,_0x13b03f)=>{const _0x245171={_0x522746:0x68,_0x1c11e6:0xd3,_0x1df103:0xbe},_0x394143={_0x4c0f6a:0xf4,_0x57ba4f:0x15d,_0x266c1b:0xc0};function _0x6e435c(_0x587f7f,_0x105a84,_0x1fa430,_0x4a3f9d){return _0x1041a4(_0x587f7f-_0x394143._0x4c0f6a,_0x587f7f,_0x105a84-_0x394143._0x57ba4f,_0x4a3f9d-_0x394143._0x266c1b);}function _0x2ec674(_0x11acff,_0x5750f2,_0x1053f9,_0x5f3e3e){return _0x1041a4(_0x11acff-0xed,_0x5f3e3e,_0x5750f2-0x1ee,_0x5f3e3e-0x94);}_0x91871b&&(_0x6f2dc9=()=>{const _0x382110={_0x27d527:0x5,_0x3aeb20:0x111,_0x49b05e:0x28};_0x2d5ad9&&(clearTimeout(_0x2d5ad9),_0x2d5ad9=null);try{this[_0x4a6e7d(-0x1aa,-0x1bf,-_0x147859._0x495efa,-_0x147859._0x29dd67)](_0x3ef639,_0x51c4fb,'SIGTERM'),_0x245675=setTimeout(()=>{function _0x1b39e1(_0x48e7bb,_0x2da3a5,_0x36a7f5,_0x385954){return _0x4a6e7d(_0x48e7bb-_0x382110._0x27d527,_0x36a7f5,_0x36a7f5-_0x382110._0x3aeb20,_0x385954- -_0x382110._0x49b05e);}_0x3ef639&&!_0x3ef639['killed']&&this[_0x1b39e1(_0x245171._0x522746,-_0x245171._0x1c11e6,_0x245171._0x1df103,-0x85)](_0x3ef639,_0x51c4fb);},0x3e8);}catch{}function _0x4a6e7d(_0x5d8231,_0x32c92e,_0x233f6b,_0x2fdc13){return _0x13d4(_0x2fdc13- -0x34a,_0x32c92e);}function _0x566f2d(_0xef59d0,_0x376e80,_0xf8fc27,_0x568d4f){return _0x13d4(_0xf8fc27-0x33f,_0xef59d0);}_0x13b03f(new Error(_0x4a6e7d(-0xd6,0x1a8,0x29c,_0x147859._0x525834)));},_0x91871b[_0x2ec674(0xe8,_0x96c63c._0x2432f5,_0x96c63c._0x36c3ce,0x37c)]('abort',_0x6f2dc9),_0x91871b[_0x6e435c(0x309,_0x96c63c._0x2c8402,0x143,0x431)]&&_0x6f2dc9());}),_0x3b472a=[],_0x322f6a=[];let _0x1f22a4=0x0;function _0x1041a4(_0x960c62,_0x32f6f8,_0x452a50,_0x1fbc97){return _0x1f0bf6(_0x452a50- -_0x1401a1._0x2146c7,_0x32f6f8,_0x452a50-_0x1401a1._0x3a1cfc,_0x1fbc97-0x93);}const _0x20cf58=_0x5274a7=>{const _0x256c74={_0x505265:0x545};if(_0x4c4920)return;_0x1f22a4+=_0x5274a7[_0x3b6154(_0x2c6392._0x5a7021,_0x2c6392._0x160ef9,0x1c5,_0x2c6392._0x8e48e2)];function _0x3b6154(_0x2ee279,_0x5d9d74,_0x94c752,_0x5b4991){return _0x49c2fb(_0x2ee279-0x1ae,_0x5d9d74-0xf7,_0x5b4991- -0x243,_0x2ee279);}if(_0x1f22a4>_0x36079f){_0x4c4920=!![],_0x3b472a[_0x3b6154(-0xc2,-0x167,-_0x2c6392._0x3340c3,-0xd0)](Buffer['from'](_0x441b2a(_0x2c6392._0x104bd9,_0x2c6392._0x51b615,_0x2c6392._0x1026ef,_0x2c6392._0x4be2c6)+_0x36079f+_0x3b6154(_0x2c6392._0x4b7832,-_0x2c6392._0x31192a,-0x220,-_0x2c6392._0x5b9a22))),this[_0x3b6154(0x305,-0xdb,0x250,_0x2c6392._0x7b6050)](_0x3ef639,_0x51c4fb);return;}function _0x441b2a(_0x202176,_0x3d0aff,_0xf6052a,_0x27a0b7){return _0x1041a4(_0x202176-0x36,_0xf6052a,_0x27a0b7-_0x256c74._0x505265,_0x27a0b7-0x11c);}_0x3b472a['push'](_0x5274a7);},_0x4e70cc=_0x3b0528=>{const _0x10aa34={_0x58241b:0x106,_0x133ccc:0x172,_0x22cb47:0x1fb};function _0x53b725(_0x254682,_0x379fa6,_0x50d607,_0x2b5c55){return _0x49c2fb(_0x254682-_0x10aa34._0x58241b,_0x379fa6-_0x10aa34._0x133ccc,_0x379fa6-_0x10aa34._0x22cb47,_0x2b5c55);}if(_0x4c4920)return;_0x1f22a4+=_0x3b0528['length'];if(_0x1f22a4>_0x36079f){_0x4c4920=!![],_0x322f6a[_0x1a5078(0x224,_0xe2f956._0x422003,_0xe2f956._0x2a171d,0x19d)](Buffer['from'](_0x1a5078(_0xe2f956._0x283a92,0x202,_0xe2f956._0x4f9bc6,_0xe2f956._0x5d7af5)+_0x36079f+_0x1a5078(_0xe2f956._0x3ef790,_0xe2f956._0x136ca1,0x508,0x1c1))),this['killProcessGroup'](_0x3ef639,_0x51c4fb);return;}function _0x1a5078(_0x56e334,_0x17f109,_0x52de32,_0x2cd7b2){return _0x49c2fb(_0x56e334-_0x49da8c._0x380c56,_0x17f109-_0x49da8c._0xb228d7,_0x56e334-0xb1,_0x2cd7b2);}_0x322f6a[_0x1a5078(0x224,_0xe2f956._0x68f191,_0xe2f956._0x1389a4,_0xe2f956._0x4b6b9a)](_0x3b0528);};function _0x49c2fb(_0xc1b076,_0x200496,_0xfe0cc7,_0x2c88ed){return _0x1f0bf6(_0xfe0cc7-_0x32472d._0x41a58e,_0x2c88ed,_0xfe0cc7-0x184,_0x2c88ed-_0x32472d._0x1518bb);}_0x3ef639[_0x1041a4(_0x1cdb19._0x4b260f,_0x1cdb19._0x3d01f8,0x114,-_0x1cdb19._0x4511fc)]&&_0x3ef639[_0x49c2fb(_0x1cdb19._0xf74638,_0x1cdb19._0xb756f9,0x492,0x5c9)]['on'](_0x1041a4(0x2f0,0x28,_0x1cdb19._0x1d3bf0,-_0x1cdb19._0x51c007),_0x20cf58);_0x3ef639[_0x1041a4(0x28b,0x9b,_0x1cdb19._0x44ade8,-_0x1cdb19._0x51c007)]&&_0x3ef639[_0x49c2fb(0x225,_0x1cdb19._0x19dc5a,_0x1cdb19._0x1d31db,0x5be)]['on'](_0x1041a4(_0x1cdb19._0x218057,0xfa,_0x1cdb19._0x311794,_0x1cdb19._0x5b106f),_0x4e70cc);const _0x5a767f=()=>{const _0xa80612={_0x556114:0x7f,_0x50a95a:0x17};_0x2d5ad9&&(clearTimeout(_0x2d5ad9),_0x2d5ad9=null);_0x245675&&(clearTimeout(_0x245675),_0x245675=null);_0x91871b&&_0x6f2dc9&&(_0x91871b[_0x2ddf3b(0x4e2,_0x555e0b._0x3f111b,_0x555e0b._0x4b8772,0x308)](_0x2ddf3b(0x269,0x86,0xed,0x30b),_0x6f2dc9),_0x6f2dc9=null);function _0x2ddf3b(_0x74a197,_0x577caa,_0x3dc0ea,_0x19334b){return _0x49c2fb(_0x74a197-_0xa80612._0x556114,_0x577caa-_0xa80612._0x50a95a,_0x74a197-0x64,_0x19334b);}_0x3ef639[_0x2ddf3b(_0x555e0b._0xea284d,_0x555e0b._0x4622d7,_0x555e0b._0xbc5fcf,_0x555e0b._0x31d5b7)]&&_0x3ef639[_0xf0f272(_0x555e0b._0x45fd72,0x585,_0x555e0b._0x55380f,_0x555e0b._0x413141)][_0x2ddf3b(_0x555e0b._0x1e4e22,0x7dd,_0x555e0b._0x376487,0x48b)](_0xf0f272(0x36a,0x4a9,_0x555e0b._0x2c52a6,_0x555e0b._0x3744ee),_0x20cf58);_0x3ef639['stderr']&&_0x3ef639['stderr'][_0x2ddf3b(0x5f1,0x6db,_0x555e0b._0x49eba0,0x5f1)]('data',_0x4e70cc);function _0xf0f272(_0x2497dc,_0x5ad7d1,_0x5d7518,_0x3510bf){return _0x49c2fb(_0x2497dc-0x170,_0x5ad7d1-_0x7c5da4._0x310e34,_0x5d7518-_0x7c5da4._0x46a02a,_0x3510bf);}if(_0x3ef639&&_0x3ef639[_0xf0f272(0x469,0x158,0x2d2,_0x555e0b._0x4e0219)]&&!_0x3ef639[_0x2ddf3b(_0x555e0b._0x1cb683,_0x555e0b._0x318623,_0x555e0b._0xf153b,_0x555e0b._0x1ce099)])try{this[_0x2ddf3b(_0x555e0b._0xfb5c80,_0x555e0b._0x453c6e,_0x555e0b._0x220f82,0x3fe)](_0x3ef639,_0x51c4fb);}catch{}},_0xfeb2d7=new Promise(_0x19d1a9=>{function _0x37a9a4(_0x3c425b,_0x596064,_0x30b2e0,_0x2fdbca){return _0x1041a4(_0x3c425b-0x1d2,_0x2fdbca,_0x3c425b-0x1ac,_0x2fdbca-_0x52e12e._0x2b2aa8);}_0x3ef639['on'](_0x37a9a4(0x1f6,0x439,_0xf0b19f._0x32907e,0x22),(_0x3df72e,_0x82b77f)=>_0x19d1a9({'code':_0x3df72e,'signal':_0x82b77f}));});try{const {code:_0x36c061,signal:_0x474529}=await Promise['race']([_0xfeb2d7,_0x19f5ff,_0x34b768]),_0x55e0ce=Buffer[_0x49c2fb(0x21c,0x1e6,0x336,0x526)](_0x3b472a)[_0x49c2fb(0x646,0x2ec,_0x1cdb19._0xbd60f2,0x6b7)]('utf8'),_0x4a9279=Buffer[_0x1041a4(-_0x1cdb19._0xa00bd9,-0x194,-_0x1cdb19._0x24d893,_0x1cdb19._0x56bb02)](_0x322f6a)[_0x1041a4(-_0x1cdb19._0x4169b8,0x2ff,_0x1cdb19._0xa208d5,_0x1cdb19._0x514fe4)](_0x49c2fb(_0x1cdb19._0x5d89f6,0x338,_0x1cdb19._0x354495,0xc5)),_0x4f847c=_0x1516cd?stripAnsiAndControls(_0x55e0ce+_0x4a9279):_0x55e0ce+_0x4a9279;if(_0x91871b?.[_0x49c2fb(_0x1cdb19._0x5b2ad3,_0x1cdb19._0x48e33f,_0x1cdb19._0x1b1ae0,0x61d)]){const _0xc43622=_0x4f847c?_0x49c2fb(_0x1cdb19._0x4f7026,_0x1cdb19._0x2aafb8,_0x1cdb19._0x47cd89,_0x1cdb19._0x38e6d3)+_0x4f847c:'';return err(_0x1041a4(0x312,_0x1cdb19._0x2bbd55,0x103,-_0x1cdb19._0x52d6a8)+_0xc43622,{'cwd':cwd},_0x1041a4(0x282,-_0x1cdb19._0x573a71,0x226,_0x1cdb19._0x56f5b5));}if(_0x36c061!==0x0){const _0x51c73c={'code':_0x36c061,'signal':_0x474529,'cwd':cwd};if(_0x4f847c[_0x49c2fb(_0x1cdb19._0x59247e,_0x1cdb19._0x3d4cc8,0x225,_0x1cdb19._0xe6640b)]()['includes'](_0x49c2fb(_0x1cdb19._0x513596,0x28c,_0x1cdb19._0x3e6d6c,0x629)))return err(_0x4f847c,{..._0x51c73c,'errorReason':_0x1041a4(-_0x1cdb19._0xcadf70,-_0x1cdb19._0x28c3b0,-0xfb,_0x1cdb19._0x94a3ce)});if(_0x4f847c[_0x49c2fb(_0x1cdb19._0x4641c2,_0x1cdb19._0x5e255a,0x225,_0x1cdb19._0x59c18e)]()[_0x1041a4(-_0x1cdb19._0x6021e2,-0x65,-_0x1cdb19._0x29752b,_0x1cdb19._0x117190)]('command\x20not\x20found')||_0x4f847c[_0x1041a4(-_0x1cdb19._0x4ccbc1,0xcc,-_0x1cdb19._0x1ca5da,-_0x1cdb19._0xae4ae4)]()[_0x49c2fb(0x224,0x158,0x2fa,0x15a)](_0x1041a4(_0x1cdb19._0x37c88a,-0xec,-0x62,-0x212)))return err(_0x4f847c,{..._0x51c73c,'errorReason':'not_found'});return err(_0x4f847c,_0x51c73c);}return okText(_0x4f847c,{'code':_0x36c061,'signal':_0x474529,'cwd':cwd,'stripped':_0x1516cd});}catch(_0x32ea39){const _0x59f432=_0x32ea39 instanceof Error?_0x32ea39['message']:String(_0x32ea39);if(_0x59f432===_0x1041a4(0x142,0x23c,0x196,0x273)||_0x91871b?.[_0x49c2fb(0x38f,_0x1cdb19._0x571264,0x5a4,0x5e0)]){const _0xa460a2=Buffer[_0x1041a4(-_0x1cdb19._0x2d2571,_0x1cdb19._0x33bddd,-_0x1cdb19._0xc2fb21,-_0x1cdb19._0x15c35c)](_0x3b472a)['toString']('utf8'),_0x3a3404=Buffer['concat'](_0x322f6a)[_0x49c2fb(0x4f2,_0x1cdb19._0x467c33,0x4a7,_0x1cdb19._0xff5852)](_0x1041a4(-_0x1cdb19._0xd87bdb,0x13e,-0x87,-_0x1cdb19._0x20e7b8)),_0xad6df9=_0x1516cd?stripAnsiAndControls(_0xa460a2+_0x3a3404):_0xa460a2+_0x3a3404,_0x4f5225=_0xad6df9?_0x49c2fb(0x41e,_0x1cdb19._0x4eda4e,_0x1cdb19._0x47cd89,0x267)+_0xad6df9:'';return err('Command\x20execution\x20aborted\x20by\x20user'+_0x4f5225,{'cwd':cwd},_0x49c2fb(_0x1cdb19._0x587793,0x441,_0x1cdb19._0x1b1ae0,_0x1cdb19._0x4d612e));}if(_0x12310f)return err(_0x59f432,{'cwd':cwd},_0x1041a4(-0x1f2,-_0x1cdb19._0x61085b,-_0x1cdb19._0x2b1f3e,0x172));return err(_0x59f432,{'cwd':cwd},_0x49c2fb(_0x1cdb19._0x5106d0,0x452,0x2e0,_0x1cdb19._0x2c2f80));}finally{_0x5a767f();}}['killProcessGroup'](_0x4209f7,_0x4dd7bb,_0x1e5a36='SIGKILL'){const _0x42da17={_0x2ae7a9:0x950,_0x1535cc:0x9c5,_0x20eb32:0x9aa,_0x585727:0x826,_0x541eba:0x2e,_0x1b71d7:0x138,_0x1ad9a9:0x5df,_0x595c5d:0x724,_0x1527df:0x483,_0xf536be:0x62},_0x5a6cf4={_0x1685c5:0x138,_0x40c977:0xaa,_0x525140:0x688},_0x930c34={_0x53560c:0x221};if(!_0x4209f7['pid'])return;function _0x18dc6c(_0x2e3989,_0x21b061,_0x427347,_0x27622d){return _0x1f0bf6(_0x21b061- -_0x930c34._0x53560c,_0x27622d,_0x427347-0x159,_0x27622d-0x1b8);}function _0x1def99(_0x30c305,_0x349960,_0x4e31ec,_0x5c95eb){return _0x577062(_0x30c305-_0x5a6cf4._0x1685c5,_0x349960,_0x4e31ec-_0x5a6cf4._0x40c977,_0x5c95eb-_0x5a6cf4._0x525140);}if(_0x4dd7bb)try{spawn(_0x1def99(_0x42da17._0x2ae7a9,_0x42da17._0x1535cc,_0x42da17._0x20eb32,_0x42da17._0x585727),[_0x18dc6c(-_0x42da17._0x541eba,-0xf8,0x59,-_0x42da17._0x1b71d7),_0x4209f7['pid']['toString'](),'/T','/F'],{'stdio':'ignore'});}catch{_0x4209f7[_0x1def99(_0x42da17._0x1ad9a9,_0x42da17._0x595c5d,_0x42da17._0x1527df,0x5fe)](_0x1e5a36);}else try{process[_0x18dc6c(-_0x42da17._0xf536be,0x104,0x264,-0xef)](-_0x4209f7['pid'],_0x1e5a36);}catch{_0x4209f7['kill'](_0x1e5a36);}}[_0x1f0bf6(0x2ee,0x4e9,0x221,0x34e)](){const _0x56a9fe={_0x5f4aab:0x450,_0x4c4e69:0x4cb,_0x3c2a7a:0x309,_0x5b0847:0x757,_0x2c6b74:0x374,_0x9a4f2d:0x490,_0x5098be:0x332,_0x20f45a:0x44c,_0x43071e:0x5bb,_0x5af7b6:0x50b,_0x58dd5f:0x36e,_0x36f573:0x292,_0x236ef7:0x530,_0x4be8ee:0x64b,_0x29302a:0x5e9,_0x470fea:0x6fc},_0x1e93ff={_0xfe4eee:0x9},_0x40bbb4={_0x164255:0x156};if(_0x1fdf27[_0x315bbb(0x382,_0x56a9fe._0x5f4aab,_0x56a9fe._0x4c4e69,_0x56a9fe._0x3c2a7a)]()===_0x1ded6c(0x8b2,_0x56a9fe._0x5b0847,0x650,0x756))return process[_0x315bbb(0x164,_0x56a9fe._0x2c6b74,0x23d,_0x56a9fe._0x9a4f2d)][_0x315bbb(0x11f,0xf3,_0x56a9fe._0x5098be,_0x56a9fe._0x20f45a)]||'cmd.exe';function _0x1ded6c(_0x3fc37b,_0x421a5b,_0x576ec2,_0xd69c42){return _0x577062(_0x3fc37b-0x3e,_0x421a5b,_0x576ec2-_0x40bbb4._0x164255,_0xd69c42-0x746);}const _0x291617=process['env']['SHELL'];if(_0x291617&&this['shellExists'](_0x291617))return _0x291617;const _0x4db892=[_0x315bbb(_0x56a9fe._0x43071e,_0x56a9fe._0x5af7b6,_0x56a9fe._0x58dd5f,0x400),_0x1ded6c(0x8d7,0x4ef,0x897,0x72e),_0x1ded6c(0x711,_0x56a9fe._0x36f573,0x5fc,0x4e3),'/usr/bin/sh'];for(const _0x51137b of _0x4db892){if(this[_0x315bbb(_0x56a9fe._0x236ef7,_0x56a9fe._0x4be8ee,0x4f7,_0x56a9fe._0x29302a)](_0x51137b))return _0x51137b;}function _0x315bbb(_0x48f10f,_0x4a319e,_0xe3c7cd,_0x567d87){return _0x1f0bf6(_0xe3c7cd-_0x1e93ff._0xfe4eee,_0x48f10f,_0xe3c7cd-0x122,_0x567d87-0x4);}return _0x1ded6c(0x7fa,0x7be,_0x56a9fe._0x470fea,0x6fc);}[_0x577062(-0xb5,0x23a,-0x76,0x13f)](_0x77e3d7){const _0x2b8208={_0x5b6473:0x53a,_0x408edf:0x563,_0x2b0711:0x773,_0x2096d9:0x545,_0x48d251:0x5b5,_0x31e324:0x289,_0x51e5dd:0x1f6,_0x510d11:0x3fd,_0x48b408:0x21f},_0x53644c={_0x110efc:0x5d,_0x168e7a:0x4c};function _0xe834f4(_0x318391,_0x5e7810,_0x4d1e22,_0x5b8d78){return _0x1f0bf6(_0x4d1e22- -0x224,_0x5e7810,_0x4d1e22-0xd1,_0x5b8d78-0xb3);}function _0x14109d(_0x200622,_0x39048e,_0x40cb0f,_0x3a2e2e){return _0x577062(_0x200622-_0x53644c._0x110efc,_0x3a2e2e,_0x40cb0f-_0x53644c._0x168e7a,_0x200622-0x694);}try{const _0x2a3577=_0x17b873[_0x14109d(0x727,_0x2b8208._0x5b6473,_0x2b8208._0x408edf,0x6aa)](_0x77e3d7);return _0x2a3577[_0x14109d(_0x2b8208._0x2b0711,_0x2b8208._0x2096d9,_0x2b8208._0x48d251,0x88f)]()&&(_0x2a3577[_0x14109d(0x489,0x390,0x24b,0x3dc)]&_0x17b873[_0xe834f4(0xa6,0x2d9,0x2c9,_0x2b8208._0x31e324)][_0xe834f4(_0x2b8208._0x51e5dd,_0x2b8208._0x510d11,0x28e,_0x2b8208._0x48b408)]||_0x2a3577['mode']&0x49)!==0x0;}catch{return![];}}[_0x577062(0x21c,-0x41,-0xad,0x13d)](_0x1c6192,_0x22d375){const _0x51991e={_0x3063c4:0x4f5,_0x3dbd1a:0x315,_0x5ee063:0x6a7,_0xbef66f:0x7c6,_0x4915a6:0x24b,_0x5f4590:0x495,_0x15f6d5:0x1ba,_0x2a67b4:0x182,_0x21773d:0x323,_0x48cab2:0x61d,_0x331fb2:0x3da},_0x54ed06={_0x25ae91:0x56},_0x132ec7={_0x1e0ecf:0x17d,_0x1be291:0x145};if(_0x1fdf27[_0x14a7c3(0x518,_0x51991e._0x3063c4,_0x51991e._0x3dbd1a,_0x51991e._0x5ee063)]()===_0x2b5e4f(0x6af,_0x51991e._0xbef66f,0x8f6,0x6ce)){const _0x3534ef=/cmd(\.exe)?$/i['test'](_0x22d375);return _0x3534ef?['/d','/s','/c',_0x1c6192]:[_0x14a7c3(0x32b,0x356,_0x51991e._0x4915a6,_0x51991e._0x5f4590),'-NoProfile',_0x14a7c3(0x1a6,_0x51991e._0x15f6d5,_0x51991e._0x2a67b4,0x3fa),_0x1c6192];}function _0x2b5e4f(_0x8d5356,_0x6b2b92,_0x3ad617,_0xeba790){return _0x577062(_0x8d5356-_0x132ec7._0x1e0ecf,_0x3ad617,_0x3ad617-_0x132ec7._0x1be291,_0xeba790-0x6be);}function _0x14a7c3(_0x25114b,_0x4b0bf6,_0xb76e87,_0x22b379){return _0x1f0bf6(_0x25114b-_0x54ed06._0x25ae91,_0xb76e87,_0xb76e87-0x1e,_0x22b379-0x199);}return[_0x2b5e4f(_0x51991e._0x21773d,_0x51991e._0x48cab2,0x470,_0x51991e._0x331fb2),_0x1c6192];}};import{promises as _0x36eea0}from'fs';import*as _0x345305 from'path';import*as _0x31f674 from'yaml';var LsTool=class{[_0x1f0bf6(0x4ac,0x582,0x33a,0x279)]='ls_tool';[_0x1f0bf6(0x2fa,0x47f,0x13d,0xf8)];[_0x577062(-0x3e7,-0x1c2,-0x278,-0x233)];constructor(_0x263175={}){const _0x4e4900={_0x1a4df1:0x29a,_0x1db2a1:0x2ea,_0x126dcd:0x1b5,_0x4816b6:0x11c,_0x10eaec:0xa9,_0x133c0e:0x310,_0x1d9f8a:0x11c},_0x120044={_0x139bbf:0x14f},_0x3b78b9={_0x1f906e:0x116,_0x4bf0a9:0x4a};function _0x55ab9(_0x285432,_0x380d9a,_0x50fa86,_0x42ab51){return _0x577062(_0x285432-_0x3b78b9._0x1f906e,_0x285432,_0x50fa86-_0x3b78b9._0x4bf0a9,_0x50fa86-0x34f);}function _0x369aba(_0x2735a9,_0x193e65,_0xd63628,_0x18ae5f){return _0x1f0bf6(_0x18ae5f-0xfe,_0x2735a9,_0xd63628-_0x120044._0x139bbf,_0x18ae5f-0x195);}this[_0x55ab9(0x488,0x45,_0x4e4900._0x1a4df1,0x404)]=_0x345305[_0x55ab9(_0x4e4900._0x1db2a1,0x2b7,_0x4e4900._0x126dcd,0x19b)](_0x263175['rootDir']??process['cwd']()),this[_0x55ab9(0x132,0x1a4,_0x4e4900._0x4816b6,_0x4e4900._0x10eaec)]=!!_0x263175[_0x55ab9(_0x4e4900._0x133c0e,0x7a,_0x4e4900._0x1d9f8a,0x1a3)];}[_0x577062(-0x296,0x75,-0xe8,-0x107)]={'type':'object','properties':{'path':{'type':_0x577062(-0xf0,0x273,0x188,0xba),'description':'List\x20contents\x20of\x20this\x20directory\x20path'},'limit':{'type':_0x577062(-0x14e,-0x2b1,-0x2a7,-0x2af),'minimum':0x1,'description':_0x1f0bf6(0xff,0x1f9,0x1a5,-0x66)}}};[_0x577062(-0x143,0xa0,-0x168,-0x170)](){const _0x4ff459={_0x15c085:0x61e,_0x4a67a3:0x439,_0x28cff9:0x415,_0x5f5744:0x435,_0x54f205:0x33c,_0x4bd2d5:0x213,_0x3c1747:0x301,_0x45d003:0x682,_0x5462b6:0x71b,_0x1a6577:0x434,_0x228243:0x72b,_0x3544fc:0x671,_0x30c3e8:0x7a5,_0x205e7f:0x551,_0x462540:0x63d,_0x2ac6c8:0x3fd,_0x469fe8:0x5be,_0x348759:0x2b1,_0x264432:0x57b,_0x215ab2:0x475},_0x3c2e55={_0x39a5d9:0x57c},_0x557c20={_0x1d54c3:0x521};function _0x2f060f(_0x3acdac,_0x36fc4d,_0x42e3e0,_0xcfe080){return _0x577062(_0x3acdac-0xf0,_0x36fc4d,_0x42e3e0-0xe5,_0x3acdac-_0x557c20._0x1d54c3);}function _0x730278(_0xf65764,_0x36cf6c,_0x346f54,_0x56fc72){return _0x577062(_0xf65764-0x43,_0xf65764,_0x346f54-0xdf,_0x56fc72-_0x3c2e55._0x39a5d9);}return{'name':this[_0x2f060f(_0x4ff459._0x15c085,_0x4ff459._0x4a67a3,_0x4ff459._0x28cff9,_0x4ff459._0x5f5744)],'description':[_0x2f060f(0x306,0x3f1,_0x4ff459._0x54f205,_0x4ff459._0x4bd2d5),'Returns\x20entries\x20sorted\x20alphabetically\x20by\x20name\x20as\x20structured\x20JSON.','',_0x730278(_0x4ff459._0x3c1747,0x610,0x216,0x3da),_0x2f060f(0x6d8,0x6c5,0x5a9,0x51d),_0x2f060f(_0x4ff459._0x45d003,_0x4ff459._0x5462b6,_0x4ff459._0x1a6577,_0x4ff459._0x228243),_0x730278(_0x4ff459._0x3544fc,_0x4ff459._0x30c3e8,_0x4ff459._0x205e7f,_0x4ff459._0x462540)][_0x2f060f(0x510,_0x4ff459._0x2ac6c8,_0x4ff459._0x469fe8,0x3d7)]('\x0a'),'parameters':this[_0x730278(0x412,_0x4ff459._0x348759,_0x4ff459._0x264432,_0x4ff459._0x215ab2)]};}async[_0x1f0bf6(0x1d8,-0x7b,-0x42,0xc7)](_0x3f44e9){const _0x552bde={_0x3bc980:0x187,_0x44c377:0x78,_0x285de1:0x246,_0x1108b0:0x1e,_0x3b713c:0x512,_0xf5f553:0x476,_0xa81e50:0x3b7},_0x5d98ac={_0x9c124e:0x186},_0x211004={_0x578686:0x8,_0x591a71:0x196};function _0x4704d7(_0x3b62a5,_0x9f35bf,_0x30176a,_0x41f121){return _0x1f0bf6(_0x3b62a5-_0x211004._0x578686,_0x41f121,_0x30176a-0xd6,_0x41f121-_0x211004._0x591a71);}function _0x69771f(_0x1a8d43,_0x585705,_0x38d237,_0x4a05d8){return _0x1f0bf6(_0x1a8d43- -0x199,_0x38d237,_0x38d237-0x78,_0x4a05d8-_0x5d98ac._0x9c124e);}try{const _0xa0256e=await _0x36eea0['readFile'](_0x3f44e9,{'encoding':null}),_0x187998=_0xa0256e[_0x69771f(_0x552bde._0x3bc980,-_0x552bde._0x44c377,_0x552bde._0x285de1,-_0x552bde._0x1108b0)](0x0,Math[_0x4704d7(0x41f,0x217,0x28c,0x386)](0x400,_0xa0256e[_0x4704d7(0x3ba,0x174,0x40c,0x29b)]));for(let _0x1db2f9=0x0;_0x1db2f9<_0x187998[_0x4704d7(0x3ba,_0x552bde._0x3b713c,_0x552bde._0xf5f553,_0x552bde._0xa81e50)];_0x1db2f9++){if(_0x187998[_0x1db2f9]===0x0)return![];}return!![];}catch{return![];}}async['countLines'](_0x2bc5b6){const _0x3bbf1f={_0x4245a2:0xc5,_0x13bec5:0x9f,_0x17f45c:0x30,_0x250249:0x341,_0x143afa:0x39e,_0x5e129f:0x63e,_0x3cdba3:0x474,_0x5d0aab:0x5b7,_0x257a29:0x4af},_0x574545={_0xe9ae9d:0x1e4,_0x167fb0:0xb5},_0x228dab={_0x24830b:0xfd,_0x399074:0xd5};function _0xa5a4c1(_0xf873d4,_0xde1642,_0x19f65e,_0x110328){return _0x1f0bf6(_0x110328-_0x228dab._0x24830b,_0xf873d4,_0x19f65e-0x148,_0x110328-_0x228dab._0x399074);}function _0x53a9bd(_0x585e0e,_0x43546d,_0x252a85,_0xd6ce62){return _0x1f0bf6(_0x585e0e- -0x13e,_0x43546d,_0x252a85-_0x574545._0xe9ae9d,_0xd6ce62-_0x574545._0x167fb0);}try{const _0xbaefd5=await _0x36eea0[_0x53a9bd(_0x3bbf1f._0x4245a2,_0x3bbf1f._0x13bec5,0x124,_0x3bbf1f._0x17f45c)](_0x2bc5b6,_0xa5a4c1(0x4c4,_0x3bbf1f._0x250249,0x1ab,_0x3bbf1f._0x143afa));return _0xbaefd5[_0xa5a4c1(_0x3bbf1f._0x5e129f,_0x3bbf1f._0x3cdba3,_0x3bbf1f._0x5d0aab,0x5df)]('\x0a')[_0xa5a4c1(0x30f,0x6ee,0x4dc,_0x3bbf1f._0x257a29)];}catch{return 0x0;}}async[_0x577062(-0x1bf,0x1a7,-0x20c,-0xaa)](_0x5a28b8,_0x208cd7){const _0x1f940c={_0x44207f:0x18,_0x5c21de:0x9f,_0x235204:0x28,_0x321f70:0x20d,_0x2c8316:0xa0,_0x24263b:0x10f,_0x22348d:0xc6,_0x1b10ae:0x2c3,_0x4eea7d:0x129,_0x1d9051:0x1ab,_0x3c800b:0xa6,_0x5e8c6e:0x1b5,_0x22a017:0x182,_0x722c00:0x15,_0x296a5d:0x360,_0x4043ec:0x41e,_0x44dd5f:0x22f,_0x499303:0x8,_0x4efe08:0x13,_0x4e7be3:0x8f,_0x18cb69:0xa1,_0x42923a:0x4b9,_0x39636c:0x437,_0x2d6124:0x8,_0x464c1d:0x2a,_0x45f781:0x2d1,_0x39cc5c:0xd3,_0x14f2dd:0x427,_0x53fb81:0x398,_0x1c716c:0x432,_0x45e2eb:0x43,_0x2844b2:0x22a,_0xca1cfe:0x62,_0x1b1fa7:0x109,_0x2bddbf:0x1e6,_0x4214d2:0x1f,_0x1c398f:0x1dd,_0x493007:0x4a7,_0x3a8c5f:0x306,_0x3813d1:0x1d3,_0x4cfd05:0x1d7,_0x36e490:0x35,_0x37e18a:0x2cd,_0x2b4748:0x14a,_0x1ad654:0x2e,_0x22248e:0xd,_0x276598:0x15a,_0x2a189d:0x21d,_0x4a3d56:0xc,_0x500961:0x196,_0x318450:0x1d3,_0x1ea2a8:0x1c8,_0x57932a:0xc8,_0x47853d:0x26d,_0x342215:0x146,_0x46f5b3:0x2cb,_0x2a9172:0xe7,_0x587c9f:0x25a,_0x2e63a1:0x2ab,_0x19ddfb:0x5a,_0x11a442:0x18,_0x353ae0:0xab,_0x51b5e8:0x2de,_0x3c346f:0x168,_0x1f4795:0x22c,_0x3aba95:0x301,_0x1d2423:0x317,_0x4eb3fe:0x32a},_0x2177bb={_0x4d5c4f:0x879,_0x2cc272:0x90d,_0xb7cf88:0x8c7,_0x3a01e8:0x461,_0x3c7634:0x363,_0x533c49:0x26c,_0xf1660f:0x641,_0x143d5e:0x208,_0x4ce602:0x47c,_0x326a20:0x103,_0x329719:0x21c,_0x3594d8:0x7a7,_0x2d5a45:0x62e,_0x5d1f6e:0x61f,_0x3dc70f:0x74f,_0x57a929:0x7e0,_0x1eaf65:0x586,_0x536fda:0x4e1,_0xf8571f:0x5c9,_0x11c2a0:0x45a,_0x3ad505:0x538},_0x3818ab={_0x34ba40:0x38},_0x583153={_0x5b5f27:0x1a1,_0x1fdbe9:0x227};function _0x5b735e(_0x75c01d,_0x57f644,_0x501663,_0x1cf41b){return _0x577062(_0x75c01d-_0x583153._0x5b5f27,_0x57f644,_0x501663-0x105,_0x1cf41b-_0x583153._0x1fdbe9);}function _0x1c47a4(_0x3d12eb,_0x1379df,_0x4fa98c,_0x27f276){return _0x577062(_0x3d12eb-0x17a,_0x27f276,_0x4fa98c-0xd6,_0x1379df-_0x3818ab._0x34ba40);}try{const _0x5f4372=_0x5a28b8[_0x1c47a4(-_0x1f940c._0x44207f,-_0x1f940c._0x5c21de,_0x1f940c._0x235204,-_0x1f940c._0x321f70)]??'.',_0x220eec=!![],_0x3d6ca8=Math[_0x1c47a4(0x14a,_0x1f940c._0x2c8316,-_0x1f940c._0x24263b,_0x1f940c._0x22348d)](_0x5a28b8[_0x1c47a4(-_0x1f940c._0x1b10ae,-_0x1f940c._0x4eea7d,-_0x1f940c._0x1d9051,_0x1f940c._0x3c800b)]??0x3e8,0x2710),_0x22be48=this[_0x1c47a4(0x3d3,_0x1f940c._0x5e8c6e,_0x1f940c._0x22a017,_0x1f940c._0x722c00)](_0x5f4372,_0x208cd7),_0x42870b=await _0x36eea0[_0x5b735e(0x31c,_0x1f940c._0x296a5d,_0x1f940c._0x4043ec,_0x1f940c._0x44dd5f)](_0x22be48)[_0x1c47a4(_0x1f940c._0x499303,-_0x1f940c._0x4efe08,_0x1f940c._0x4e7be3,-_0x1f940c._0x18cb69)](()=>null);if(!_0x42870b)return err('Directory\x20not\x20found:\x20'+_0x5f4372,void 0x0,'not_found');if(!_0x42870b[_0x5b735e(_0x1f940c._0x42923a,0x409,_0x1f940c._0x39636c,0x3c2)]())return err(_0x1c47a4(_0x1f940c._0x2d6124,_0x1f940c._0x464c1d,-0x15b,-0x130)+_0x5f4372,void 0x0,_0x1c47a4(_0x1f940c._0x45f781,_0x1f940c._0x39cc5c,0x1cf,-0x4b));const _0x560f46=await _0x36eea0['readdir'](_0x22be48),_0x35d9d1=[];for(const _0x88e8aa of _0x560f46){if(!_0x220eec&&_0x88e8aa[_0x5b735e(0x3b5,0x495,_0x1f940c._0x14f2dd,_0x1f940c._0x53fb81)]('.'))continue;if(_0x35d9d1[_0x5b735e(_0x1f940c._0x1c716c,0x288,_0x1f940c._0x45e2eb,_0x1f940c._0x2844b2)]>=_0x3d6ca8)break;const _0x308c0f=_0x345305['join'](_0x22be48,_0x88e8aa);let _0xa7ec24=null;try{_0xa7ec24=await _0x36eea0[_0x1c47a4(-_0x1f940c._0xca1cfe,0x40,-0x54,-_0x1f940c._0x1b1fa7)](_0x308c0f);}catch{continue;}let _0x4123e2=_0x1c47a4(_0x1f940c._0x2bddbf,0x0,-_0x1f940c._0x4214d2,_0x1f940c._0x1c398f);if(_0xa7ec24[_0x5b735e(_0x1f940c._0x493007,0x43d,0x3fd,_0x1f940c._0x3a8c5f)]())_0x4123e2='file';else{if(_0xa7ec24[_0x1c47a4(-0x82,_0x1f940c._0x3813d1,_0x1f940c._0x4cfd05,0xad)]())_0x4123e2=_0x1c47a4(-0xce,-0x1cf,-_0x1f940c._0x36e490,-_0x1f940c._0x37e18a);else{if(_0xa7ec24['isSymbolicLink']())_0x4123e2='symlink';}}const _0xde480a={'name':_0x88e8aa,'type':_0x4123e2};_0xa7ec24&&(_0xde480a[_0x1c47a4(-_0x1f940c._0x2b4748,_0x1f940c._0x1ad654,0x31,-_0x1f940c._0x22248e)]=_0xa7ec24[_0x5b735e(0x3b8,0x3a4,_0x1f940c._0x276598,_0x1f940c._0x2a189d)],_0xde480a[_0x1c47a4(_0x1f940c._0x4a3d56,0x56,0x2,-_0x1f940c._0x5e8c6e)]=_0xa7ec24['mtimeMs'],_0xde480a[_0x1c47a4(-_0x1f940c._0x500961,-_0x1f940c._0x318450,-0x3b8,-_0x1f940c._0x1ea2a8)]=_0xa7ec24['mode'],_0x4123e2===_0x1c47a4(0xcd,0x15b,-_0x1f940c._0x57932a,-0x42)&&await this['isTextFile'](_0x308c0f)&&(_0xde480a[_0x5b735e(_0x1f940c._0x47853d,-_0x1f940c._0x342215,_0x1f940c._0x46f5b3,_0x1f940c._0x2a9172)]=await this['countLines'](_0x308c0f))),_0x35d9d1[_0x1c47a4(-0x314,-_0x1f940c._0x587c9f,-_0x1f940c._0x2e63a1,-0x3d1)](_0xde480a);}_0x35d9d1[_0x5b735e(_0x1f940c._0x19ddfb,-_0x1f940c._0x11a442,0x11f,0x78)]((_0x4ecc92,_0x1dd1aa)=>_0x4ecc92[_0x5b735e(0x394,0x521,0x432,0x324)][_0x1c47a4(-0x22b,-0x103,-0x276,-0xdd)](_0x1dd1aa[_0x1c47a4(0x41,0x135,0x274,0x5d)]));const _0x323bd0={'path':_0x5f4372,'total':_0x35d9d1[_0x5b735e(_0x1f940c._0x353ae0,0xa6,_0x1f940c._0x51b5e8,0x22a)],'truncated':_0x560f46['length']>_0x3d6ca8,'entries':_0x35d9d1[_0x5b735e(0xaa,0x9b,_0x1f940c._0x3c346f,_0x1f940c._0x1f4795)](_0x3fd454=>{const _0x213c11={_0x3de104:0xc6},_0x531600={_0x2b2582:0x18e,_0xef1b87:0x503},_0xc3f65={'name':_0x3fd454['name'],'type':_0x3fd454[_0x50a2a0(0x9f5,0xaa2,0x874,_0x2177bb._0x4d5c4f)]};function _0x50a2a0(_0x15cdc0,_0x4eb861,_0x2ae042,_0xafc876){return _0x5b735e(_0x15cdc0-0x190,_0x2ae042,_0x2ae042-_0x531600._0x2b2582,_0xafc876-_0x531600._0xef1b87);}function _0x242921(_0x4637a0,_0x30f027,_0x417e2e,_0x437f7b){return _0x5b735e(_0x4637a0-0xce,_0x437f7b,_0x417e2e-_0x213c11._0x3de104,_0x417e2e-0x28f);}if(_0x3fd454['size']!==void 0x0)_0xc3f65[_0x50a2a0(_0x2177bb._0x2cc272,_0x2177bb._0xb7cf88,0x5f9,0x720)]=_0x3fd454[_0x242921(_0x2177bb._0x3a01e8,_0x2177bb._0x3c7634,0x4ac,_0x2177bb._0x533c49)];if(_0x3fd454[_0x50a2a0(_0x2177bb._0xf1660f,0x648,0x315,0x51f)]!==void 0x0)_0xc3f65[_0x242921(_0x2177bb._0x143d5e,0x1d1,0x2ab,0x274)]=_0x3fd454[_0x242921(_0x2177bb._0x4ce602,_0x2177bb._0x326a20,0x2ab,_0x2177bb._0x329719)];if(_0x3fd454[_0x50a2a0(_0x2177bb._0x3594d8,_0x2177bb._0x2d5a45,0x835,0x748)]!==void 0x0)_0xc3f65[_0x50a2a0(0x800,_0x2177bb._0x5d1f6e,0x59f,0x748)]=_0x3fd454[_0x50a2a0(0x6c4,_0x2177bb._0x3dc70f,_0x2177bb._0x57a929,0x748)];if(_0x3fd454[_0x50a2a0(0x71e,0x3f1,0x526,0x5ea)]!==void 0x0)_0xc3f65[_0x242921(_0x2177bb._0x1eaf65,_0x2177bb._0x536fda,0x5da,_0x2177bb._0xf8571f)]=_0x3fd454[_0x50a2a0(_0x2177bb._0x11c2a0,0x458,_0x2177bb._0x3ad505,0x5ea)];return _0xc3f65;})},_0x3b02ab=okText(_0x31f674[_0x5b735e(_0x1f940c._0x3aba95,_0x1f940c._0x1d2423,0xbd,0x1f0)](_0x323bd0,{'indent':0x2,'lineWidth':0x0}),{'limit':_0x3d6ca8,'includeHidden':_0x220eec});return _0x3b02ab;}catch(_0x517cbf){const _0x4f8c04=_0x517cbf instanceof Error?_0x517cbf['message']:String(_0x517cbf);return err(_0x4f8c04,void 0x0,_0x5b735e(_0x1f940c._0x4eb3fe,0x1d2,0x4c,0x102));}}[_0x577062(0x3be,0x2d5,0x379,0x17d)](_0x4f74f5,_0x1bf1c5){const _0x301ec7={_0x3a4108:0x179,_0x5ca363:0x201,_0x7e50a7:0x7d,_0x54489a:0x170,_0x29d88e:0x48,_0x4fb0c0:0xaa,_0x4ea982:0xff,_0x54d1db:0x4d9,_0x2a587d:0xe5,_0x23ce5a:0x1a,_0x418823:0x7f,_0x466b7e:0x1d3,_0x1dd7a9:0x325,_0x124223:0x15b,_0x82dd13:0x6,_0x4b71f5:0x7f,_0x5ca62c:0xfe,_0x66e447:0x656,_0x287a5d:0x8d7,_0xed6ed6:0x89e,_0x586448:0xa37,_0x10a15d:0x938,_0x46f667:0x199,_0x1e3419:0x15,_0x3b440f:0x1e5},_0x1d1817={_0x3ab573:0x37e,_0xb9ad4f:0xb8};function _0xbb0539(_0x422de5,_0xe687b9,_0x56e64b,_0x2eb5fa){return _0x1f0bf6(_0x56e64b-_0x1d1817._0x3ab573,_0x422de5,_0x56e64b-_0x1d1817._0xb9ad4f,_0x2eb5fa-0x1a4);}const _0x5d05bf=_0x1bf1c5?.[_0x114efa(_0x301ec7._0x3a4108,0x32e,_0x301ec7._0x5ca363,0xfd)]||_0x1bf1c5?.[_0x114efa(-0x2c,_0x301ec7._0x7e50a7,_0x301ec7._0x54489a,0xf0)]||this[_0x114efa(-_0x301ec7._0x29d88e,-_0x301ec7._0x4fb0c0,_0x301ec7._0x4ea982,0x1a)];function _0x114efa(_0x5190c2,_0x20aa80,_0x410998,_0xc2f8f1){return _0x1f0bf6(_0x410998- -0x1fb,_0x5190c2,_0x410998-0x8,_0xc2f8f1-0xb0);}const _0x52d42b=_0x345305['resolve'](String(_0x5d05bf??this[_0xbb0539(0x504,0x86d,0x678,_0x301ec7._0x54d1db)])),_0x4ffb84=_0x345305[_0x114efa(0x1be,_0x301ec7._0x2a587d,_0x301ec7._0x23ce5a,0x183)](_0x52d42b,_0x4f74f5);if(!this[_0x114efa(-0x6c,-0x209,-_0x301ec7._0x418823,-0x22f)]&&_0x345305['isAbsolute'](_0x4f74f5)&&!_0x4ffb84[_0x114efa(_0x301ec7._0x466b7e,0x514,_0x301ec7._0x1dd7a9,0x18c)](_0x52d42b))throw new Error(_0x114efa(0x1b1,_0x301ec7._0x124223,_0x301ec7._0x82dd13,0x1b));if(!this[_0x114efa(0x133,0x32,-_0x301ec7._0x4b71f5,_0x301ec7._0x5ca62c)]){const _0x21393f=_0x345305['relative'](_0x52d42b,_0x4ffb84);if(_0x21393f[_0xbb0539(_0x301ec7._0x66e447,_0x301ec7._0x287a5d,_0x301ec7._0xed6ed6,_0x301ec7._0x586448)]('..')||_0x345305[_0xbb0539(0x883,_0x301ec7._0x10a15d,0x899,0xa31)](_0x21393f))throw new Error(_0x114efa(-_0x301ec7._0x46f667,0x1f8,_0x301ec7._0x1e3419,_0x301ec7._0x3b440f)+_0x4f74f5);}return _0x4ffb84;}};import*as _0x274c24 from'path';import{stat}from'fs/promises';import{spawn as _0x5cda48,execSync}from'child_process';import{existsSync,mkdirSync as _0x2fc22e,createWriteStream,chmodSync}from'fs';import*as _0x3443cd from'path';import*as _0x4f6228 from'os';import*as _0x4559ec from'https';var RIPGREP_VERSION='14.1.1',PLATFORM_MAP={'arm64-darwin':{'platform':_0x1f0bf6(0x303,0x536,0x1a7,0x2c9),'extension':'tar.gz'},'arm64-linux':{'platform':_0x1f0bf6(0x404,0x3a7,0x26e,0x44d),'extension':_0x577062(-0x18e,-0x184,0xd7,-0xb3)},'x64-darwin':{'platform':_0x1f0bf6(0x48f,0x2aa,0x25b,0x417),'extension':'tar.gz'},'x64-linux':{'platform':_0x1f0bf6(0x353,0x2ea,0x546,0x455),'extension':_0x577062(-0x2d0,-0x2cc,-0x116,-0xb3)},'x64-win32':{'platform':_0x1f0bf6(0x416,0x613,0x3ed,0x28e),'extension':_0x1f0bf6(0x512,0x501,0x3da,0x5af)}},cachedRgPath=null;function findSystemRipgrep(){const _0x7db4e3={_0xef2a3a:0x2cc,_0x189525:0x195,_0x5c36e2:0x914,_0x17ebce:0x855,_0x1b4fd1:0x972,_0x257ca5:0x17b,_0x14ce78:0x2bd,_0x411049:0x54,_0x12b03f:0xc2,_0x373f12:0x1bd,_0x239e20:0x1af,_0xa31e21:0x1a3,_0x1529d:0x1f9,_0x41d96e:0xf3,_0xf5352a:0x206,_0x474e7e:0x89,_0x48863d:0x6c7,_0x13b3a0:0x78f,_0x3f70df:0x1ef,_0x35b71a:0x267,_0x2d81d2:0x317,_0x2057ad:0x2f,_0x329ad3:0x6d,_0x32bfb4:0x68,_0x2f0453:0x27,_0x48271e:0x2,_0x252ebf:0x27b,_0x345672:0x10,_0x4d0861:0x768,_0x3577a7:0x488,_0x5e0692:0x770,_0x582f56:0x714,_0x16b067:0x53c,_0xdcc888:0x64b,_0x5cd569:0x28,_0x1999aa:0x1d8,_0x5086a1:0x74,_0x114736:0x151,_0x1272fa:0x17f,_0x127a4b:0x339,_0x1246bb:0x6f4,_0x335f71:0x714,_0x5f26a1:0x6a3,_0x224364:0x54a,_0x20c458:0x2a8,_0x165b8e:0x89a,_0x221657:0x85e,_0x2f419c:0x90a,_0x454038:0x941,_0x3d85bd:0x8f2,_0x47989a:0x7d8,_0x158ab9:0x61a,_0x40e7de:0x13e,_0x3894e5:0x63,_0x26545c:0x92,_0x201f99:0x4d1,_0x5a01d5:0x431,_0x3ea670:0x712,_0x5e3e76:0x6fb,_0x4a6db9:0x54f,_0x2730e1:0x3bb},_0x13336e={_0x23b7b2:0x14a},_0x3b9a3e={_0x3fb546:0xf,_0x2bbc0d:0x0},_0x4257d2=_0x4f6228[_0x553354(0x113,_0x7db4e3._0xef2a3a,_0x7db4e3._0x189525,-0x124)]()===_0xa8d2b8(_0x7db4e3._0x5c36e2,0x777,0x73b,0x8fa);function _0x553354(_0xb5e3d9,_0x1ceb44,_0x3b6ea8,_0x344d4a){return _0x577062(_0xb5e3d9-_0x3b9a3e._0x3fb546,_0x344d4a,_0x3b6ea8-0x66,_0xb5e3d9-_0x3b9a3e._0x2bbc0d);}if(_0x4257d2){const _0x4dedbf=[_0x3443cd[_0xa8d2b8(_0x7db4e3._0x17ebce,0x756,_0x7db4e3._0x1b4fd1,0x7d9)](process[_0x553354(-_0x7db4e3._0x257ca5,-0x3c5,-_0x7db4e3._0x14ce78,-0x290)][_0x553354(_0x7db4e3._0x411049,_0x7db4e3._0x12b03f,_0x7db4e3._0x373f12,-0x12f)]||'',_0x553354(0x2f,_0x7db4e3._0x239e20,_0x7db4e3._0xa31e21,0x1a6),_0x553354(-0x74,-0x2c0,-_0x7db4e3._0x1529d,-0x2c6),_0x553354(-_0x7db4e3._0x41d96e,-_0x7db4e3._0xf5352a,-0x126,_0x7db4e3._0x474e7e),_0xa8d2b8(_0x7db4e3._0x48863d,0x79a,_0x7db4e3._0x13b3a0,0x9e8),_0x553354(-_0x7db4e3._0x3f70df,-0x389,-_0x7db4e3._0x35b71a,-_0x7db4e3._0x2d81d2),_0x553354(-0x53,0x181,-0x16e,-_0x7db4e3._0x2057ad)),_0x3443cd[_0x553354(-0x11,0x14e,-_0x7db4e3._0x329ad3,-0x14a)](process[_0x553354(-0x17b,0xae,-_0x7db4e3._0x32bfb4,-0x133)][_0x553354(_0x7db4e3._0x2f0453,-_0x7db4e3._0x48271e,_0x7db4e3._0x252ebf,_0x7db4e3._0x345672)]||'',_0xa8d2b8(_0x7db4e3._0x4d0861,0x5e8,_0x7db4e3._0x3577a7,0x50e),_0xa8d2b8(_0x7db4e3._0x5e0692,_0x7db4e3._0x582f56,0x88d,0x6de)),_0x3443cd[_0xa8d2b8(_0x7db4e3._0x16b067,0x756,_0x7db4e3._0xdcc888,0x837)](process[_0x553354(-_0x7db4e3._0x257ca5,_0x7db4e3._0x5cd569,-_0x7db4e3._0x1999aa,-0x2ff)][_0x553354(0x3d,-0x18,-_0x7db4e3._0x5086a1,-_0x7db4e3._0x114736)]||'',_0x553354(-_0x7db4e3._0x1272fa,-0x1fb,-0xc7,-_0x7db4e3._0x127a4b),_0xa8d2b8(_0x7db4e3._0x1246bb,_0x7db4e3._0x335f71,_0x7db4e3._0x5f26a1,_0x7db4e3._0x224364))];for(const _0xb1ff5b of _0x4dedbf){if(existsSync(_0xb1ff5b))return _0xb1ff5b;}try{const _0x26a66d=execSync('where\x20rg',{'encoding':'utf8','stdio':['pipe',_0x553354(0x62,0x293,_0x7db4e3._0x20c458,-0x66),'ignore']})['trim']()[_0xa8d2b8(0x97e,_0x7db4e3._0x165b8e,0x6cc,_0x7db4e3._0x221657)]('\x0a')[0x0];if(_0x26a66d&&existsSync(_0x26a66d))return _0x26a66d;}catch{}}else{const _0x16c32b=['/opt/homebrew/bin/rg',_0xa8d2b8(0x911,_0x7db4e3._0x2f419c,_0x7db4e3._0x454038,_0x7db4e3._0x3d85bd),_0xa8d2b8(0x67a,_0x7db4e3._0x47989a,_0x7db4e3._0x158ab9,0x836),_0x553354(-_0x7db4e3._0x40e7de,-_0x7db4e3._0x3894e5,-0x7f,0xa5)];for(const _0x21ec69 of _0x16c32b){if(existsSync(_0x21ec69))return _0x21ec69;}try{const _0x5569dc=execSync(_0x553354(0x155,_0x7db4e3._0x26545c,0x271,0x32e),{'encoding':_0xa8d2b8(_0x7db4e3._0x201f99,0x659,_0x7db4e3._0x5a01d5,_0x7db4e3._0x3ea670),'stdio':[_0xa8d2b8(0x659,0x7c9,0xa1b,_0x7db4e3._0x5e3e76),'pipe','ignore']})[_0xa8d2b8(0x657,_0x7db4e3._0x4a6db9,0x560,_0x7db4e3._0x2730e1)]();if(_0x5569dc&&existsSync(_0x5569dc))return _0x5569dc;}catch{}}function _0xa8d2b8(_0x2408c5,_0x3d31f1,_0x1b5615,_0x4c69be){return _0x1f0bf6(_0x3d31f1-0x3b8,_0x2408c5,_0x1b5615-_0x13336e._0x23b7b2,_0x4c69be-0x18);}return null;}function getCacheDir(){const _0x1d6808={_0x1b1ac0:0x7ad,_0x2b5053:0x77d,_0x26f3a9:0x20c,_0x3346b0:0x195,_0x4dfbc6:0x77,_0x479e26:0x102},_0x43bc9e={_0x3edf53:0x98};function _0x4ee063(_0x35fcd2,_0x39b10e,_0x3b7d09,_0x4067b0){return _0x577062(_0x35fcd2-0x150,_0x39b10e,_0x3b7d09-0x1f2,_0x4067b0-0x625);}const _0x2e0795=_0x3443cd[_0x4ee063(_0x1d6808._0x1b1ac0,_0x1d6808._0x2b5053,0x847,0x614)](_0x4f6228[_0x57cd77(_0x1d6808._0x26f3a9,-_0x1d6808._0x3346b0,_0x1d6808._0x4dfbc6,-_0x1d6808._0x479e26)](),'.nuvin','bin');function _0x57cd77(_0x1efafe,_0x255843,_0x49292a,_0x3fd92b){return _0x577062(_0x1efafe-_0x43bc9e._0x3edf53,_0x255843,_0x49292a-0x195,_0x49292a-0x21c);}return!existsSync(_0x2e0795)&&_0x2fc22e(_0x2e0795,{'recursive':!![]}),_0x2e0795;}function getCachedRgPath(){const _0x477d94={_0x3615b0:0x77b,_0x5066e3:0x57d,_0x11803c:0x694,_0xe1e444:0x542,_0x3b0a14:0x4f3,_0x5a22a3:0x5ba,_0x32d451:0x3f2,_0x40266c:0x43f,_0x1e92e9:0x822,_0x12f56a:0x5d4,_0x33a780:0x350},_0x14e150={_0x24849a:0x1c5},_0x30d1b6={_0x55e0cd:0x12,_0xd10327:0x42f};function _0x5e9fb9(_0x19acde,_0xdf3f5f,_0x3a71fc,_0x533c34){return _0x577062(_0x19acde-0x122,_0x3a71fc,_0x3a71fc-_0x30d1b6._0x55e0cd,_0x533c34-_0x30d1b6._0xd10327);}const _0x18ddea=getCacheDir();function _0x459fce(_0x3e793c,_0x5d67fd,_0x236480,_0x23c78e){return _0x577062(_0x3e793c-0xcb,_0x3e793c,_0x236480-_0x14e150._0x24849a,_0x23c78e-0x5e5);}const _0x3aaf10=_0x4f6228[_0x5e9fb9(_0x477d94._0x3615b0,_0x477d94._0x5066e3,_0x477d94._0x11803c,_0x477d94._0xe1e444)]()===_0x5e9fb9(_0x477d94._0x3b0a14,_0x477d94._0x5a22a3,_0x477d94._0x32d451,_0x477d94._0x40266c);return _0x3443cd[_0x459fce(0x7e0,0x391,_0x477d94._0x1e92e9,_0x477d94._0x12f56a)](_0x18ddea,_0x3aaf10?_0x459fce(0x3e5,0x709,_0x477d94._0x33a780,0x592):'rg');}async function downloadFile(_0x31a219,_0x2c08cf){const _0x310f77={_0x268417:0x28,_0x2dc365:0x11c,_0x2cab42:0x238,_0x389fd4:0x3a5,_0x12ec66:0x47e};return new Promise((_0x1f28f3,_0x188fba)=>{const _0x52f0ff={_0x5940c0:0x24a,_0x99385:0xbd,_0x49359c:0x2bf,_0x524a6b:0xb9,_0x5c1341:0x1f2,_0xe52e4a:0x1f6,_0x102a25:0x270,_0xb4d819:0x2ec,_0x39c27a:0x15a,_0x21f89b:0xb4,_0x5911f9:0xaf,_0x2a7b39:0x16f,_0x251d3f:0x264,_0x4003b7:0x2f8,_0x27448a:0x2b},_0x378361={_0x4297c8:0x99},_0x7861aa=(_0x3ddabe,_0x1602a7=0x0)=>{const _0x6d5875={_0x312345:0x176},_0x380e32={_0x21fe30:0xf3,_0x513c1a:0x2a1},_0x44f272={_0x74d17b:0x14,_0x6cf2d:0x27,_0x119547:0x62},_0x10db98={_0x2112c9:0x2ed};if(_0x1602a7>0x5){_0x188fba(new Error(_0xef2b60(-0x2e,0x201,_0x310f77._0x268417,0x14c)));return;}function _0x28f458(_0x24a435,_0xbf0b0f,_0x26a500,_0x12f34c){return _0x13d4(_0xbf0b0f- -_0x10db98._0x2112c9,_0x26a500);}function _0xef2b60(_0x5872b4,_0x3d432c,_0xb09904,_0x31e16e){return _0x13d4(_0x31e16e- -_0x378361._0x4297c8,_0xb09904);}_0x4559ec[_0x28f458(-_0x310f77._0x2dc365,-0x158,-0x32f,-0x21f)](_0x3ddabe,_0x281594=>{const _0x5ccb5f={_0x55269a:0x56},_0x461f5f={_0x3fc164:0x43e,_0x3a38e4:0x687,_0x6aa4da:0x64d};if(_0x281594[_0x58829e(-_0x52f0ff._0x5940c0,0x7d,-0xb9,-_0x52f0ff._0x99385)]===0x12d||_0x281594[_0x58829e(-_0x52f0ff._0x49359c,-0x203,-_0x52f0ff._0x524a6b,-_0x52f0ff._0x5c1341)]===0x12e){const _0x598cbc=_0x281594[_0x58829e(_0x52f0ff._0xe52e4a,_0x52f0ff._0x102a25,0x1db,_0x52f0ff._0xb4d819)][_0x58829e(_0x52f0ff._0x39c27a,_0x52f0ff._0x21f89b,-0x41,-_0x52f0ff._0x5911f9)];if(_0x598cbc){_0x7861aa(_0x598cbc,_0x1602a7+0x1);return;}}if(_0x281594['statusCode']!==0xc8){_0x188fba(new Error(_0x58829e(0x3c6,0x153,0x272,_0x52f0ff._0x2a7b39)+_0x281594['statusCode']));return;}const _0x149996=createWriteStream(_0x2c08cf);_0x281594[_0x12a804(_0x52f0ff._0x251d3f,0x216,0x2d5,0x3b1)](_0x149996),_0x149996['on'](_0x58829e(-_0x52f0ff._0x4003b7,_0x52f0ff._0x27448a,-0x1b0,-0x29c),()=>{_0x149996[_0x2cfe62(_0x461f5f._0x3fc164,_0x461f5f._0x3a38e4,0x69c,_0x461f5f._0x6aa4da)]();function _0x2cfe62(_0x3987fb,_0x564cd8,_0xa0c5f6,_0x5ae185){return _0x58829e(_0x3987fb-0x118,_0x564cd8-0x1e9,_0x5ae185-0x5b5,_0x564cd8);}_0x1f28f3();});function _0x58829e(_0x2236f4,_0x5f5b21,_0x12046c,_0x16dc1a){return _0x28f458(_0x2236f4-_0x44f272._0x74d17b,_0x12046c-_0x44f272._0x6cf2d,_0x16dc1a,_0x16dc1a-_0x44f272._0x119547);}function _0x12a804(_0x10996a,_0x226350,_0x32d00b,_0x1203bf){return _0x28f458(_0x10996a-_0x380e32._0x21fe30,_0x1203bf-_0x380e32._0x513c1a,_0x226350,_0x1203bf-0x92);}_0x149996['on']('error',_0x34efb1=>{function _0x4cdda7(_0xd77f58,_0x1aab81,_0x506a22,_0x10aaa9){return _0x58829e(_0xd77f58-_0x5ccb5f._0x55269a,_0x1aab81-0x24,_0x10aaa9- -0x97,_0x1aab81);}_0x149996[_0x4cdda7(0x158,-0x125,_0x6d5875._0x312345,0x1)](),_0x188fba(_0x34efb1);});})['on'](_0xef2b60(0x294,_0x310f77._0x2cab42,_0x310f77._0x389fd4,_0x310f77._0x12ec66),_0x188fba);};_0x7861aa(_0x31a219);});}async function extractTarGz(_0x2d155b,_0x26c216,_0x455a37){const _0x5536b9={_0x2ba3d7:0x474,_0x4319df:0x2bd,_0x134bb5:0x375,_0x978f81:0x2da,_0x4f9e8c:0x475,_0x1d828d:0x127,_0x1130cf:0x457,_0x4dbe58:0x3da,_0x474613:0x21d,_0x5afc8b:0x4a,_0x394c8f:0x138,_0x1085db:0x1bb,_0xf5a900:0x4f4,_0x270742:0x469,_0x558697:0x3ad,_0x1b2e71:0x254,_0x5d2981:0x1ae,_0x2ce226:0x319,_0x26a2fa:0x63,_0x5e3f62:0x367,_0x205e99:0x5a2};return new Promise((_0x37ec8b,_0xc52615)=>{const _0x487ea1={_0x934936:0x173,_0x419f9d:0x1c1,_0x3528b3:0x203,_0x388a8b:0x112,_0x48d361:0xce,_0x4fe456:0x2a},_0x2f1f0c={_0x41eb4a:0x18c,_0x14b8c1:0x14f,_0x4af097:0x1f3,_0x21c1f4:0x488,_0x395273:0x563,_0x331913:0x24c,_0x3126e4:0x49e,_0x508c23:0x175},_0x3fca74={_0x1edb5c:0x7aa,_0x4ff5af:0x49a,_0x4627d0:0x6db},_0x59d2ad={_0x42577e:0xd6},_0x3b7325=_0x3443cd[_0x3be58f(0x4f7,_0x5536b9._0x2ba3d7,0x320,0x2b4)](_0x4f6228[_0x3be58f(_0x5536b9._0x4319df,0x5c5,_0x5536b9._0x134bb5,0x39d)](),'ripgrep-extract-'+Date[_0x3be58f(_0x5536b9._0x978f81,_0x5536b9._0x4f9e8c,_0x5536b9._0x1d828d,0x295)]());function _0x52a70b(_0x127de8,_0x46e4cd,_0x1797de,_0xc7aaa){return _0x13d4(_0x127de8- -0x1b0,_0x1797de);}_0x2fc22e(_0x3b7325,{'recursive':!![]});function _0x3be58f(_0x5a5e51,_0x324ea0,_0x14ef1f,_0x512160){return _0x13d4(_0x512160- -_0x59d2ad._0x42577e,_0x14ef1f);}const _0x5a5c81=_0x5cda48(_0x3be58f(0x1f2,_0x5536b9._0x1130cf,0x50c,_0x5536b9._0x4dbe58),[_0x52a70b(_0x5536b9._0x474613,0xcb,0x235,0x1de),_0x2d155b,'-C',_0x3b7325],{'stdio':[_0x52a70b(-_0x5536b9._0x5afc8b,_0x5536b9._0x394c8f,-_0x5536b9._0x1085db,0x16b),'pipe',_0x3be58f(_0x5536b9._0xf5a900,_0x5536b9._0x270742,0x17f,0x327)]});let _0x56781b='';_0x5a5c81[_0x52a70b(0x241,_0x5536b9._0x558697,_0x5536b9._0x1b2e71,0x364)]?.['on']('data',_0x384f0b=>{function _0x5a3edc(_0x5e792d,_0xe9a5bc,_0x29c09c,_0x55b7fc){return _0x52a70b(_0x55b7fc-0x44e,_0xe9a5bc-0x1b,_0x5e792d,_0x55b7fc-0x156);}_0x56781b+=_0x384f0b[_0x5a3edc(_0x3fca74._0x1edb5c,0x6e3,_0x3fca74._0x4ff5af,_0x3fca74._0x4627d0)]();}),_0x5a5c81['on'](_0x52a70b(_0x5536b9._0x5d2981,_0x5536b9._0x2ce226,_0x5536b9._0x26a2fa,0x311),async _0x41fcb4=>{const _0x12a00a={_0x57ee4f:0x16b},_0x5a1387={_0x1fdc96:0x1a3,_0x314273:0x28a},_0x16dc77={_0x695f71:0x84,_0x2ce095:0xe9,_0x3272c8:0xdc};function _0x34b439(_0xf750e2,_0x5711cb,_0x2f7791,_0x381264){return _0x3be58f(_0xf750e2-_0x16dc77._0x695f71,_0x5711cb-_0x16dc77._0x2ce095,_0xf750e2,_0x5711cb-_0x16dc77._0x3272c8);}function _0x58cb67(_0x54a2b7,_0x2463e2,_0x29608,_0x146009){return _0x3be58f(_0x54a2b7-0x4f,_0x2463e2-_0x5a1387._0x1fdc96,_0x54a2b7,_0x29608- -_0x5a1387._0x314273);}if(_0x41fcb4!==0x0){_0xc52615(new Error(_0x34b439(_0x487ea1._0x934936,0x322,0x297,_0x487ea1._0x419f9d)+_0x56781b));return;}try{const {readdirSync:_0x1f2610,copyFileSync:_0x1641c5,rmSync:_0x5195f2}=await import('fs'),_0x206784=_0x5e7c77=>{const _0x39324d={_0x1df3da:0x1b8};function _0x464fce(_0x4b27f5,_0x4d16c8,_0x4aad82,_0x49ec74){return _0x34b439(_0x49ec74,_0x4b27f5- -0x13a,_0x4aad82-_0x39324d._0x1df3da,_0x49ec74-0x107);}function _0x2e2e64(_0x3d0e7d,_0x2459f7,_0x103b5c,_0x431215){return _0x34b439(_0x3d0e7d,_0x431215- -0x109,_0x103b5c-0x1f0,_0x431215-_0x12a00a._0x57ee4f);}const _0xf63692=_0x1f2610(_0x5e7c77,{'withFileTypes':!![]});for(const _0x3b7d26 of _0xf63692){const _0x1f8c40=_0x3443cd[_0x464fce(0x256,_0x2f1f0c._0x41eb4a,_0x2f1f0c._0x14b8c1,_0x2f1f0c._0x4af097)](_0x5e7c77,_0x3b7d26['name']);if(_0x3b7d26[_0x2e2e64(_0x2f1f0c._0x21c1f4,_0x2f1f0c._0x395273,_0x2f1f0c._0x331913,0x377)]()&&_0x3b7d26[_0x2e2e64(0x23a,_0x2f1f0c._0x3126e4,_0x2f1f0c._0x508c23,0x395)]===_0x455a37)return _0x1f8c40;if(_0x3b7d26['isDirectory']()){const _0x2cec8d=_0x206784(_0x1f8c40);if(_0x2cec8d)return _0x2cec8d;}}return null;},_0x2612a9=_0x206784(_0x3b7325);if(!_0x2612a9){_0xc52615(new Error(_0x455a37+_0x58cb67(0x139,-_0x487ea1._0x3528b3,-_0x487ea1._0x388a8b,-0x205)));return;}const _0x20c849=_0x3443cd[_0x58cb67(-_0x487ea1._0x48d361,-0x1cf,_0x487ea1._0x4fe456,0xe8)](_0x26c216,_0x455a37);_0x1641c5(_0x2612a9,_0x20c849),chmodSync(_0x20c849,0x1ed),_0x5195f2(_0x3b7325,{'recursive':!![],'force':!![]}),_0x37ec8b(_0x20c849);}catch(_0x5cddf6){_0xc52615(_0x5cddf6);}}),_0x5a5c81['on'](_0x52a70b(_0x5536b9._0x5e3f62,_0x5536b9._0x134bb5,0x32c,_0x5536b9._0x205e99),_0xc52615);});}async function extractZip(_0x536371,_0x4a38f5,_0x4bb276){const _0x369105={_0x12a9a6:0x177,_0x41fb7e:0x1b1,_0x9d64fc:0x254,_0x4fca13:0x603,_0xc6838b:0x705,_0x3118a0:0x830,_0x5d4277:0x427,_0x413acf:0x1d7,_0x35f801:0x64c,_0x187f4c:0x5e2,_0x4b0830:0x5f5,_0x4722d8:0x535,_0x245c11:0x638,_0x3b6889:0xe6,_0x12552c:0xa2,_0x4bd2f8:0xc5,_0x4cc2c0:0x80d,_0x2d7604:0x77a,_0x529a80:0x524,_0x2e531a:0x886,_0x1f9c79:0x5f6,_0x39cb79:0x726,_0x5b8344:0x687,_0x11b177:0x19a,_0x233102:0x245,_0x2e6b96:0x84},_0x528633={_0x4dad36:0xbb,_0x3f4600:0x228,_0x3bae7f:0x81,_0x445898:0x19d,_0x5d5726:0xa3};return new Promise((_0x87cb5,_0xe86ad1)=>{const _0x20be5e={_0x95b28a:0x275},_0x4f40ad={_0x560323:0x48d,_0x7edbcf:0x6a,_0x27bb02:0x9c},_0x15d3e0={_0x230300:0x338},_0x459e89={_0x321c7d:0x298},_0x25524a=_0x3443cd[_0x45df64(-_0x369105._0x12a9a6,-0x1d7,0x1d,0x52)](_0x4f6228['tmpdir'](),_0x45df64(-_0x369105._0x41fb7e,0x13f,-_0x369105._0x9d64fc,-0x21)+Date[_0x8b8589(_0x369105._0x4fca13,_0x369105._0xc6838b,_0x369105._0x3118a0,_0x369105._0x5d4277)]());_0x2fc22e(_0x25524a,{'recursive':!![]});const _0x418cbc=_0x5cda48('powershell',[_0x45df64(_0x369105._0x413acf,-0xe0,0x142,-0x32),'-Command','Expand-Archive\x20-Path\x20\x22'+_0x536371+_0x8b8589(_0x369105._0x35f801,_0x369105._0x187f4c,0x443,_0x369105._0x4b0830)+_0x25524a+_0x8b8589(_0x369105._0x4722d8,_0x369105._0x245c11,0x2ed,0x33d)],{'stdio':['ignore',_0x45df64(0x281,_0x369105._0x3b6889,-_0x369105._0x12552c,_0x369105._0x4bd2f8),'pipe']});function _0x8b8589(_0x2590bd,_0x488f04,_0x28672c,_0x47ee5e){return _0x13d4(_0x2590bd-_0x459e89._0x321c7d,_0x488f04);}function _0x45df64(_0x53250c,_0x452824,_0x2bfb87,_0x5d0daf){return _0x13d4(_0x5d0daf- -_0x15d3e0._0x230300,_0x452824);}let _0x5defb3='';_0x418cbc[_0x8b8589(0x689,_0x369105._0x4cc2c0,_0x369105._0x2d7604,_0x369105._0x529a80)]?.['on'](_0x8b8589(0x6a5,_0x369105._0x2e531a,0x5e6,0x4a6),_0x3bad4d=>{_0x5defb3+=_0x3bad4d['toString']();}),_0x418cbc['on'](_0x8b8589(_0x369105._0x1f9c79,_0x369105._0x39cb79,0x807,_0x369105._0x5b8344),async _0x4f5771=>{const _0x52b10f={_0x3e9232:0x3b1,_0x2e45c8:0x56f,_0x250795:0x639,_0x42ff0a:0x1b9,_0x483bc4:0x43,_0x1440dd:0x75,_0x254430:0x35e,_0x1ca409:0x1b9,_0x5ad6dc:0x3aa},_0x6e4c87={_0xb0eea3:0x3da};if(_0x4f5771!==0x0){_0xe86ad1(new Error(_0x2cd24a(0x3e8,_0x528633._0x4dad36,_0x528633._0x3f4600,0x2bc)+_0x5defb3));return;}function _0x2cd24a(_0x1bfccc,_0x4ab2a4,_0x57b726,_0xed7b07){return _0x8b8589(_0x57b726- -_0x4f40ad._0x560323,_0x1bfccc,_0x57b726-_0x4f40ad._0x7edbcf,_0xed7b07-_0x4f40ad._0x27bb02);}function _0x2c589d(_0x2d47b7,_0x565ea7,_0x2bd016,_0x294a89){return _0x45df64(_0x2d47b7-0x48,_0x294a89,_0x2bd016-0x67,_0x565ea7-_0x20be5e._0x95b28a);}try{const {readdirSync:_0x2a1eed,copyFileSync:_0x4321e0,rmSync:_0x40961d}=await import('fs'),_0x44de16=_0x5729b4=>{const _0x5bb465={_0x1d3ee2:0xea},_0x58e00a=_0x2a1eed(_0x5729b4,{'withFileTypes':!![]});for(const _0x4e4818 of _0x58e00a){const _0x102610=_0x3443cd[_0x4802ed(_0x52b10f._0x3e9232,_0x52b10f._0x2e45c8,_0x52b10f._0x250795,0x6d2)](_0x5729b4,_0x4e4818[_0x29f71d(_0x52b10f._0x42ff0a,-_0x52b10f._0x483bc4,-_0x52b10f._0x1440dd,0x23f)]);if(_0x4e4818[_0x29f71d(0x19b,0x3cd,0x82,_0x52b10f._0x254430)]()&&_0x4e4818[_0x29f71d(_0x52b10f._0x1ca409,_0x52b10f._0x5ad6dc,0x2a,0x22b)]===_0x4bb276)return _0x102610;if(_0x4e4818['isDirectory']()){const _0x3a8059=_0x44de16(_0x102610);if(_0x3a8059)return _0x3a8059;}}function _0x29f71d(_0x9f6c5e,_0x19b2f5,_0x3096d2,_0x56e5c9){return _0x2cd24a(_0x56e5c9,_0x19b2f5-0xd9,_0x9f6c5e- -_0x5bb465._0x1d3ee2,_0x56e5c9-0x87);}function _0x4802ed(_0x496255,_0x102704,_0x5466e4,_0x59c338){return _0x2cd24a(_0x5466e4,_0x102704-0x17,_0x102704-_0x6e4c87._0xb0eea3,_0x59c338-0xf);}return null;},_0x28d6ea=_0x44de16(_0x25524a);if(!_0x28d6ea){_0xe86ad1(new Error(_0x4bb276+_0x2cd24a(0x143,0x15c,0x59,-_0x528633._0x3bae7f)));return;}const _0x4b4d3c=_0x3443cd[_0x2cd24a(_0x528633._0x445898,_0x528633._0x5d5726,0x195,0x190)](_0x4a38f5,_0x4bb276);_0x4321e0(_0x28d6ea,_0x4b4d3c),_0x40961d(_0x25524a,{'recursive':!![],'force':!![]}),_0x87cb5(_0x4b4d3c);}catch(_0x486d70){_0xe86ad1(_0x486d70);}}),_0x418cbc['on'](_0x45df64(_0x369105._0x11b177,_0x369105._0x233102,_0x369105._0x2e6b96,0x1df),_0xe86ad1);});}async function downloadRipgrep(){const _0x292ee0={_0x385949:0x23c,_0x5cb6ef:0x4fa,_0x540cfa:0x15f,_0x4dc6e4:0x9,_0x4037d7:0x65,_0x10a968:0x220,_0x3c2dc6:0x366,_0x4339f4:0x4cb,_0x4e6839:0x4f8,_0x35a89d:0x1eb,_0x394a7f:0x93,_0x39f79e:0x2ce,_0xabffdf:0x17c,_0x27c46c:0x378,_0x2537f9:0x27d,_0x13096:0x1aa,_0x179fb3:0x39,_0x4bf0b8:0xb9,_0x59dc32:0x293,_0x34c559:0x1ec,_0x4573f6:0x17b,_0x18b7e9:0x18b,_0x33e768:0x6f,_0x122030:0x16e,_0x50cfc9:0x220,_0xc50631:0x41c,_0x216867:0x13f,_0x16b8a1:0x363,_0x1644ed:0x40d},_0x375799={_0x25cad4:0x1f4,_0x33fdfc:0x99},_0x2ac4ba={_0x504c33:0x11e,_0x1275ea:0x231},_0x426f31=_0x4f6228[_0x161dde(_0x292ee0._0x385949,0x27d,_0x292ee0._0x5cb6ef,0x383)]()+'-'+_0x4f6228['platform'](),_0xd78915=PLATFORM_MAP[_0x426f31];function _0x161dde(_0x1d5318,_0x263435,_0x47fe65,_0x2dbb7b){return _0x577062(_0x1d5318-0x27,_0x47fe65,_0x47fe65-_0x2ac4ba._0x504c33,_0x2dbb7b-_0x2ac4ba._0x1275ea);}if(!_0xd78915)throw new Error(_0x161dde(-0x75,-_0x292ee0._0x540cfa,-_0x292ee0._0x4dc6e4,-_0x292ee0._0x4037d7)+_0x426f31+_0x1b361b(_0x292ee0._0x10a968,_0x292ee0._0x3c2dc6,_0x292ee0._0x4339f4,_0x292ee0._0x4e6839));const _0x199d91=getCachedRgPath();if(existsSync(_0x199d91))return _0x199d91;const _0xe1a759=_0x161dde(_0x292ee0._0x35a89d,-_0x292ee0._0x394a7f,0x1e3,0x139)+RIPGREP_VERSION+'-'+_0xd78915[_0x1b361b(0x1a8,_0x292ee0._0x39f79e,0x304,_0x292ee0._0xabffdf)]+'.'+_0xd78915['extension'];function _0x1b361b(_0x1992ad,_0x452e09,_0x1a513c,_0x562286){return _0x1f0bf6(_0x452e09- -_0x375799._0x25cad4,_0x562286,_0x1a513c-_0x375799._0x33fdfc,_0x562286-0x105);}const _0x23b728=_0x161dde(0x21e,0x4de,0x343,_0x292ee0._0x27c46c)+RIPGREP_VERSION+'/'+_0xe1a759,_0x1fa903=_0x3443cd[_0x1b361b(_0x292ee0._0x2537f9,_0x292ee0._0x13096,_0x292ee0._0x179fb3,_0x292ee0._0x4bf0b8)](_0x4f6228[_0x1b361b(0x1a5,_0x292ee0._0x59dc32,_0x292ee0._0x34c559,0x3d6)](),'ripgrep-download-'+Date[_0x1b361b(_0x292ee0._0x4573f6,_0x292ee0._0x18b7e9,-_0x292ee0._0x33e768,0x60)]());_0x2fc22e(_0x1fa903,{'recursive':!![]});const _0x5cf6ec=_0x3443cd[_0x161dde(0x326,_0x292ee0._0x122030,0x259,_0x292ee0._0x50cfc9)](_0x1fa903,_0xe1a759);try{await downloadFile(_0x23b728,_0x5cf6ec);const _0xb92c8c=getCacheDir(),_0x399228=_0x4f6228[_0x161dde(0x355,0x144,_0x292ee0._0xc50631,0x344)]()===_0x1b361b(_0x292ee0._0x216867,0x1cb,0x122,0x259),_0x29b104=_0x399228?'rg.exe':'rg';return _0xd78915[_0x1b361b(_0x292ee0._0x16b8a1,0x2a7,_0x292ee0._0x1644ed,0x4f9)]==='tar.gz'?await extractTarGz(_0x5cf6ec,_0xb92c8c,_0x29b104):await extractZip(_0x5cf6ec,_0xb92c8c,_0x29b104),_0x199d91;}finally{try{const {rmSync:_0x465177}=await import('fs');_0x465177(_0x1fa903,{'recursive':!![],'force':!![]});}catch{}}}async function filepath(){if(cachedRgPath)return cachedRgPath;const _0x301ccf=findSystemRipgrep();if(_0x301ccf)return cachedRgPath=_0x301ccf,_0x301ccf;const _0x3e2b2f=await downloadRipgrep();return cachedRgPath=_0x3e2b2f,_0x3e2b2f;}async function*files(_0x539e11){const _0x1e8909={_0x51817b:0x36e,_0x507ab8:0xb2,_0x93f872:0x6c7,_0x49b10b:0x48d,_0x99be9:0x61,_0x1041bc:0x1b,_0x46e383:0x25,_0x143838:0x3a7,_0x18e243:0x10c,_0x495a5d:0x32d,_0x2a8d3f:0x255,_0x3cc2fa:0x641,_0xbd31b2:0x60d,_0x3e84c5:0x19c,_0x26ec5f:0x43e,_0x42d66b:0x6c8,_0x613bc:0x560,_0x238f03:0xeb,_0x53b99b:0x151,_0x5956f3:0x2e2,_0x21923f:0x484,_0x227e6f:0x376,_0x1ecad9:0x4fa,_0xa3e938:0x5ee,_0x335551:0x680,_0x83daeb:0x211,_0x1a85d7:0x17f,_0x594e78:0x2bb,_0x37d82b:0xb8,_0x48ce9b:0xf,_0x2ccb04:0x29,_0x2aeb4f:0x23f,_0x4887d7:0x1df,_0x26da09:0x153,_0x4ae715:0x29c,_0x42ef82:0x10e,_0x4e59ad:0xc8,_0x3aa2cb:0x1b,_0x4565b0:0x10e,_0x6b1cec:0x119,_0x14a351:0x342,_0x855bfb:0x5f0,_0x192017:0x3f9,_0x263d67:0x573,_0x515658:0x84b,_0x267025:0x6fc,_0x1515ad:0x6e9,_0x4b815b:0x93,_0x127aee:0x16c,_0x57009b:0x157,_0x590ddf:0xad,_0x2bff6:0xe0,_0x44a992:0x2ad},_0x5b4dde={_0x2e35c5:0x55};function _0x2d454a(_0x3f4d18,_0x751ad5,_0x397eba,_0xaecec3){return _0x1f0bf6(_0xaecec3-0x122,_0x751ad5,_0x397eba-0xaa,_0xaecec3-0x71);}const _0x33f226=await filepath(),{stat:_0x520790}=await import(_0x3f65a0(0x126,0x1df,_0x1e8909._0x51817b,-_0x1e8909._0x507ab8)),_0x30adf5=await _0x520790(_0x539e11[_0x2d454a(0x3e0,0x48b,_0x1e8909._0x93f872,_0x1e8909._0x49b10b)])[_0x3f65a0(_0x1e8909._0x99be9,_0x1e8909._0x1041bc,0x18c,-_0x1e8909._0x46e383)](()=>null);if(!_0x30adf5?.[_0x3f65a0(0x247,_0x1e8909._0x143838,0x252,_0x1e8909._0x18e243)]())throw Object[_0x2d454a(_0x1e8909._0x495a5d,0x365,0x101,_0x1e8909._0x2a8d3f)](new Error(_0x2d454a(_0x1e8909._0x3cc2fa,0x3e3,_0x1e8909._0xbd31b2,0x3f5)+_0x539e11[_0x3f65a0(0x68,0x56,-0x51,_0x1e8909._0x3e84c5)]+'\x27'),{'code':_0x2d454a(0x674,_0x1e8909._0x26ec5f,_0x1e8909._0x42d66b,_0x1e8909._0x613bc)});function _0x3f65a0(_0x1121c0,_0xe300b7,_0x5ce0cf,_0x58703f){return _0x577062(_0x1121c0-0x142,_0x5ce0cf,_0x5ce0cf-_0x5b4dde._0x2e35c5,_0x1121c0-0xac);}const _0x4d3c6f=[_0x3f65a0(_0x1e8909._0x238f03,_0x1e8909._0x53b99b,0x219,_0x1e8909._0x5956f3),'--follow',_0x2d454a(0x35e,_0x1e8909._0x21923f,_0x1e8909._0x227e6f,_0x1e8909._0x1ecad9),_0x2d454a(0x589,_0x1e8909._0xa3e938,_0x1e8909._0x335551,0x517)];if(_0x539e11[_0x2d454a(0x2e2,_0x1e8909._0x83daeb,_0x1e8909._0x1a85d7,_0x1e8909._0x594e78)])for(const _0x34ca70 of _0x539e11[_0x3f65a0(-0x16a,_0x1e8909._0x37d82b,0xbb,_0x1e8909._0x48ce9b)]){_0x4d3c6f['push'](_0x3f65a0(-_0x1e8909._0x2ccb04,-_0x1e8909._0x2aeb4f,-0x116,-0x10d)+_0x34ca70);}const _0x511eb9=_0x5cda48(_0x33f226,_0x4d3c6f,{'cwd':_0x539e11['cwd'],'stdio':[_0x2d454a(_0x1e8909._0x4887d7,0x1d3,_0x1e8909._0x26da09,_0x1e8909._0x4ae715),_0x3f65a0(_0x1e8909._0x42ef82,-0x131,-_0x1e8909._0x4e59ad,-_0x1e8909._0x3aa2cb),_0x3f65a0(_0x1e8909._0x4565b0,-_0x1e8909._0x6b1cec,-0xfd,_0x1e8909._0x14a351)]});let _0x2873e2='';for await(const _0x260559 of _0x511eb9['stdout']){_0x2873e2+=_0x260559[_0x2d454a(_0x1e8909._0x855bfb,0x775,_0x1e8909._0x192017,_0x1e8909._0x263d67)]();const _0x193988=_0x2873e2[_0x2d454a(_0x1e8909._0x515658,_0x1e8909._0x267025,_0x1e8909._0x1515ad,0x604)](/\r?\n/);_0x2873e2=_0x193988[_0x3f65a0(-0xab,-0x18c,-0x115,-_0x1e8909._0x4b815b)]()||'';for(const _0x590da2 of _0x193988){if(_0x590da2)yield _0x590da2;}}_0x2873e2[_0x3f65a0(-_0x1e8909._0x127aee,-_0x1e8909._0x57009b,_0x1e8909._0x590ddf,0xdb)]()&&(yield _0x2873e2[_0x3f65a0(-0x16c,-0x265,-_0x1e8909._0x2bff6,-_0x1e8909._0x44a992)]());}async function search(_0x439480){const _0x5093bb={_0x2603eb:0x60a,_0x55cbd5:0x745,_0x19ee9c:0x903,_0x520d2a:0x8ad,_0x1f1704:0x90a,_0xe069b8:0x8ca,_0x329628:0x648,_0x6b929f:0x1e6,_0x1b9283:0xa6,_0x536252:0x38d,_0x4018e9:0x285,_0x81ca9c:0x13c,_0x2da93a:0x6c0,_0x4156c3:0x7b7,_0x233679:0x2c9,_0x35bdf6:0x51b,_0x328b03:0x6a7,_0x156257:0x623,_0x4da489:0x409,_0x39930c:0x520,_0x4a8621:0x2e7,_0x144e66:0x686,_0x4e94b5:0x5a,_0x442fbb:0x1ff,_0x3c0643:0x64d},_0x34df40={_0x52a304:0x33b,_0x10abb2:0x2df,_0x32cb45:0x47d,_0x44390f:0x77b,_0x24f790:0x52e,_0x364346:0x4bb,_0x257d76:0x6df,_0x57762b:0x764,_0x71f99b:0x56e,_0x3ba4f7:0x638},_0x70b987={_0x39a7dc:0x7e,_0x5de138:0x266},_0x1fdc34={_0x5172e8:0x398,_0xa0a16b:0x3c},_0x415b2c={_0x1a9740:0x101,_0x30037b:0xe8},_0x203398=await filepath(),{stat:_0x1c8af3}=await import('fs/promises'),_0x358317=await _0x1c8af3(_0x439480[_0x25d866(_0x5093bb._0x2603eb,0x6ce,_0x5093bb._0x55cbd5,_0x5093bb._0x19ee9c)])['catch'](()=>null);function _0x25d866(_0x430d41,_0x254169,_0x4b45b0,_0x28e187){return _0x1f0bf6(_0x254169-0x363,_0x28e187,_0x4b45b0-_0x415b2c._0x1a9740,_0x28e187-_0x415b2c._0x30037b);}if(!_0x358317?.[_0x25d866(0x898,_0x5093bb._0x520d2a,_0x5093bb._0x1f1704,0x951)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x439480[_0x25d866(_0x5093bb._0xe069b8,0x6ce,_0x5093bb._0x329628,0x828)]+'\x27'),{'code':_0x5b2b58(_0x5093bb._0x6b929f,0xdb,-0x1b,_0x5093bb._0x1b9283)});const _0x4f5e32=[_0x5b2b58(_0x5093bb._0x536252,0x332,_0x5093bb._0x4018e9,_0x5093bb._0x81ca9c),_0x25d866(_0x5093bb._0x2da93a,_0x5093bb._0x4156c3,0x8fc,0x7c8),_0x25d866(_0x5093bb._0x233679,_0x5093bb._0x35bdf6,_0x5093bb._0x328b03,0x3a9),_0x439480[_0x25d866(0x66d,0x796,_0x5093bb._0x156257,0x720)]];_0x439480[_0x25d866(_0x5093bb._0x4da489,0x4fc,0x442,0x305)]&&_0x4f5e32['push'](_0x25d866(0x5ff,_0x5093bb._0x39930c,_0x5093bb._0x4a8621,_0x5093bb._0x144e66),_0x439480[_0x5b2b58(-0x303,0x3b,-_0x5093bb._0x4e94b5,-_0x5093bb._0x442fbb)]);function _0x5b2b58(_0x24d953,_0x32eea0,_0x541cea,_0x1d88df){return _0x1f0bf6(_0x1d88df- -_0x1fdc34._0x5172e8,_0x541cea,_0x541cea-0x12a,_0x1d88df-_0x1fdc34._0xa0a16b);}return _0x4f5e32['push'](_0x439480[_0x25d866(_0x5093bb._0x3c0643,0x6ce,0x567,0x7cc)]),new Promise((_0xb3bfce,_0x37f5dc)=>{const _0x350554={_0x55f00f:0x3b2,_0x41dff6:0x5b5,_0x12652c:0x460,_0xc924d5:0x61d,_0x3bbad5:0x193,_0x28b958:0x295,_0x5dff37:0x130,_0x2a40f5:0x34a,_0x828a5a:0xee,_0x201559:0x123,_0x32bc7c:0xe6},_0x94f59e={_0x15337b:0xe2},_0x16b559={_0x56fba9:0x410,_0x5124f4:0x731},_0x4d79ae={_0x54373d:0xd1,_0x13e464:0x4a5},_0x3d9ac4=_0x5cda48(_0x203398,_0x4f5e32,{'stdio':[_0x3d6c5a(0x21a,_0x34df40._0x52a304,_0x34df40._0x10abb2,0x287),'pipe',_0x504979(0x2df,0x158,0x3f6,0x19c)]});let _0x52de75='';function _0x3d6c5a(_0x4b8f6e,_0x4eaf10,_0x191136,_0x3c406c){return _0x5b2b58(_0x4b8f6e-0xa0,_0x4eaf10-_0x4d79ae._0x54373d,_0x191136,_0x3c406c-_0x4d79ae._0x13e464);}let _0x4d2a3c='';_0x3d9ac4[_0x504979(0x30a,_0x34df40._0x32cb45,0x282,0x4fd)]?.['on'](_0x3d6c5a(0x750,_0x34df40._0x44390f,0x774,_0x34df40._0x24f790),_0x13c42e=>{_0x52de75+=_0x13c42e['toString']();}),_0x3d9ac4[_0x3d6c5a(_0x34df40._0x364346,_0x34df40._0x257d76,_0x34df40._0x57762b,0x512)]?.['on']('data',_0x58362b=>{const _0x1aa6f3={_0x361197:0x50};function _0x5ab3dc(_0x463c83,_0x181721,_0xe49412,_0x5b3825){return _0x3d6c5a(_0x463c83-_0x1aa6f3._0x361197,_0x181721-0x6a,_0xe49412,_0x5b3825-0x7);}_0x4d2a3c+=_0x58362b[_0x5ab3dc(_0x16b559._0x56fba9,_0x16b559._0x5124f4,0x62a,0x565)]();});function _0x504979(_0x51e939,_0x14dd77,_0x2dc320,_0x5b6f69){return _0x5b2b58(_0x51e939-_0x70b987._0x39a7dc,_0x14dd77-0x92,_0x2dc320,_0x51e939-_0x70b987._0x5de138);}_0x3d9ac4['on']('close',_0xdbe591=>{const _0xd7985f={_0x4bc042:0x181,_0x3068c2:0xc9};function _0x5f13c3(_0x28f29c,_0x41545,_0x584fa7,_0x230b09){return _0x3d6c5a(_0x28f29c-_0xd7985f._0x4bc042,_0x41545-_0xd7985f._0x3068c2,_0x230b09,_0x28f29c- -0x318);}if(_0xdbe591===0x1&&_0x52de75===''){_0xb3bfce([]);return;}function _0x1c3ffc(_0x5b10ca,_0x2db86d,_0x2a14d7,_0x5ecc82){return _0x504979(_0x2db86d-0x1e0,_0x2db86d-0x19e,_0x5ecc82,_0x5ecc82-_0x94f59e._0x15337b);}if(_0xdbe591!==0x0&&_0xdbe591!==0x1){_0x37f5dc(new Error('ripgrep\x20failed:\x20'+_0x4d2a3c));return;}const _0x4156cc=[],_0x29a45a=_0x439480['limit']??0x64,_0x5915ee=_0x52de75[_0x5f13c3(0x2d7,0x41b,_0x350554._0x55f00f,0xa1)](/\r?\n/);for(const _0x2cce4a of _0x5915ee){if(!_0x2cce4a)continue;if(_0x4156cc[_0x1c3ffc(_0x350554._0x41dff6,_0x350554._0x12652c,0x351,0x427)]>=_0x29a45a)break;const [_0xc67619,_0x220f9b,..._0x46f665]=_0x2cce4a[_0x1c3ffc(0x59b,0x590,_0x350554._0xc924d5,0x466)]('|'),_0x15ab41=parseInt(_0x220f9b,0xa),_0x2c201d=_0x46f665[_0x5f13c3(_0x350554._0x3bbad5,_0x350554._0x28b958,_0x350554._0x5dff37,_0x350554._0x2a40f5)]('|');_0xc67619&&!isNaN(_0x15ab41)&&_0x4156cc[_0x5f13c3(-_0x350554._0x828a5a,_0x350554._0x201559,_0x350554._0x32bc7c,0x154)]({'filePath':_0xc67619,'lineNum':_0x15ab41,'lineText':_0x2c201d});}_0xb3bfce(_0x4156cc);}),_0x3d9ac4['on'](_0x3d6c5a(0x43b,_0x34df40._0x71f99b,0x70f,_0x34df40._0x3ba4f7),_0x37f5dc);});}var GlobTool=class{['name']=_0x1f0bf6(0x4cb,0x481,0x64d,0x5ff);[_0x577062(-0x81,-0x16b,0x17d,-0xb5)];[_0x1f0bf6(0x17c,-0xaa,0xa6,0x26c)];constructor(_0x378002={}){const _0x1155af={_0x5b87ac:0x4f,_0x50c09f:0x31,_0x559638:0x1b,_0x40fee2:0x1bb,_0x59b7e9:0xa2,_0x464665:0xbf,_0x352441:0xbd},_0x5a30bb={_0x29d467:0x3d,_0x565ed8:0x26,_0x51fdb6:0x79},_0x169f4f={_0x129c8a:0x24};this[_0x18e0ac(0x8c,_0x1155af._0x5b87ac,_0x1155af._0x50c09f,-0x17a)]=_0x274c24['resolve'](_0x378002[_0x18e0ac(0x59,0x282,0x31,-_0x1155af._0x559638)]??process[_0x18e0ac(-0xb0,_0x1155af._0x40fee2,_0x1155af._0x59b7e9,_0x1155af._0x464665)]());function _0x18e0ac(_0x6624fb,_0x366cc9,_0x22cd1c,_0x43dc93){return _0x577062(_0x6624fb-0x50,_0x6624fb,_0x22cd1c-_0x169f4f._0x129c8a,_0x22cd1c-0xe6);}function _0x1df35e(_0x4cab98,_0xc79350,_0x38178b,_0x4a55cb){return _0x1f0bf6(_0xc79350-_0x5a30bb._0x29d467,_0x38178b,_0x38178b-_0x5a30bb._0x565ed8,_0x4a55cb-_0x5a30bb._0x51fdb6);}this[_0x18e0ac(-0x2fd,-_0x1155af._0x352441,-0x14d,-0x255)]=!!_0x378002['allowAbsolute'];}[_0x1f0bf6(0x2a8,0x4dd,0x16f,0x90)]={'type':_0x577062(-0x334,0x12,-0x2bf,-0x17d),'properties':{'pattern':{'type':_0x1f0bf6(0x469,0x2a0,0x6b7,0x44f),'description':_0x1f0bf6(0x42c,0x65c,0x241,0x262)},'path':{'type':_0x577062(0x302,0x74,0x2f8,0xba),'description':'Directory\x20to\x20search\x20in.\x20Defaults\x20to\x20current\x20working\x20directory.'}},'required':['pattern']};['definition'](){const _0xe52ed4={_0x287d65:0x9df,_0x17616b:0x74a,_0x145c40:0x421,_0x354c6d:0x289,_0x5bcc90:0x2a5,_0x450752:0x430,_0x10976e:0x727,_0x3293b8:0x6bf,_0x2d2bbd:0x29a,_0x1aef08:0x26,_0x1ce1ad:0x4c,_0x1505c5:0x153,_0x4005d9:0x7ee,_0x1bcb0e:0x694,_0x11e9e8:0x868,_0x4bbc3f:0x68a,_0x1c03e1:0x6f,_0x5a9c42:0x8d,_0x51089e:0x156,_0x480a0d:0x90,_0x347806:0x2b4,_0x28066c:0x4fe,_0x51ea7c:0x4c9,_0x4861ab:0x1be,_0x8a87ec:0x3c4,_0x410d24:0x391},_0x574516={_0x4bff12:0x8b,_0x1cfef4:0xe0,_0x169421:0x2c5},_0x3e63bb={_0x5a5a28:0x32d,_0x34cd49:0x148};function _0x434fbf(_0x369155,_0x26ca24,_0x298d73,_0x478f22){return _0x1f0bf6(_0x298d73-_0x3e63bb._0x5a5a28,_0x478f22,_0x298d73-0x118,_0x478f22-_0x3e63bb._0x34cd49);}function _0x1129cd(_0x5260c4,_0x8838af,_0x606d79,_0x341a56){return _0x577062(_0x5260c4-_0x574516._0x4bff12,_0x8838af,_0x606d79-_0x574516._0x1cfef4,_0x5260c4-_0x574516._0x169421);}return{'name':this[_0x434fbf(_0xe52ed4._0x287d65,0x9c0,0x7d9,_0xe52ed4._0x17616b)],'description':[_0x1129cd(_0xe52ed4._0x145c40,_0xe52ed4._0x354c6d,_0xe52ed4._0x5bcc90,_0xe52ed4._0x450752),_0x434fbf(0x491,_0xe52ed4._0x10976e,_0xe52ed4._0x3293b8,0x588),'Returns\x20up\x20to\x20100\x20files\x20sorted\x20by\x20modification\x20time\x20(most\x20recent\x20first).','',_0x1129cd(0xf5,0x24c,_0xe52ed4._0x2d2bbd,-_0xe52ed4._0x1aef08),_0x1129cd(-0x1e,_0xe52ed4._0x1ce1ad,-_0xe52ed4._0x1505c5,0x21e),_0x434fbf(_0xe52ed4._0x4005d9,_0xe52ed4._0x1bcb0e,_0xe52ed4._0x11e9e8,_0xe52ed4._0x4bbc3f),_0x1129cd(_0xe52ed4._0x1c03e1,-_0xe52ed4._0x5a9c42,-_0xe52ed4._0x51089e,-_0xe52ed4._0x480a0d)][_0x1129cd(_0xe52ed4._0x347806,_0xe52ed4._0x28066c,0x426,_0xe52ed4._0x51ea7c)]('\x0a'),'parameters':this[_0x1129cd(_0xe52ed4._0x4861ab,_0xe52ed4._0x8a87ec,0x3c3,_0xe52ed4._0x410d24)]};}async[_0x1f0bf6(0x305,0x26c,0x1af,0x435)](_0x56b205,_0x5abb77){const _0x1b50bd={_0x4264cd:0x1d9,_0xc11db7:0x23b,_0x2b1ba9:0x161,_0x2c94b3:0x43,_0x4a6ddb:0x223,_0x48be16:0x7e,_0x54726d:0x1a0,_0x698cc0:0x4e,_0x2b20d3:0x33a,_0x2ee45a:0x7e,_0x182a9d:0x20,_0x56dad:0xd9,_0x519efe:0x3e7,_0x59279d:0x25e,_0x4f1523:0x7d,_0x3e18c8:0x369,_0x71f465:0x638,_0x21f3e4:0xa0,_0x32cb24:0x1ef,_0xbe7642:0x3b2,_0x2311a8:0x463,_0x48ba00:0x3df,_0x384226:0x170,_0x42e3de:0x147,_0x15656a:0x1e1,_0x773109:0x306,_0x5a2af3:0x466,_0x29be00:0x3c0,_0x2e5fa9:0x565,_0x38f600:0x599,_0x3ab0aa:0xdb,_0x50e2bf:0xa2,_0x2514e8:0x1da,_0x3148ca:0x3b2,_0x414d7a:0x1e7,_0x2280f8:0x304,_0x2524f1:0x127,_0x34a70b:0x9a,_0x5a1cb2:0x4be,_0x2f3336:0x39d,_0x4eeb7b:0x4c2},_0x354af1={_0x2e11fa:0x1dd,_0x46fca0:0xa2},_0xbbc394={_0x12b28c:0x10,_0x4a01f6:0x149};function _0x1bd3da(_0x2af9a8,_0xe41481,_0x3aa1fe,_0x25cb88){return _0x1f0bf6(_0xe41481- -0xa1,_0x3aa1fe,_0x3aa1fe-_0xbbc394._0x12b28c,_0x25cb88-_0xbbc394._0x4a01f6);}function _0x163687(_0x243400,_0x5308fc,_0x1ce916,_0x52603b){return _0x577062(_0x243400-_0x354af1._0x2e11fa,_0x52603b,_0x1ce916-_0x354af1._0x46fca0,_0x243400-0x155);}try{if(!_0x56b205[_0x163687(_0x1b50bd._0x4264cd,_0x1b50bd._0xc11db7,0xc9,_0x1b50bd._0x2b1ba9)])return err(_0x163687(0x272,0x3e,0xc6,0x296),void 0x0,_0x163687(0x1f0,0x1e4,-_0x1b50bd._0x2c94b3,_0x1b50bd._0x4a6ddb));const _0xd69f3e=this['resolveSafePath'](_0x56b205[_0x163687(_0x1b50bd._0x48be16,-_0x1b50bd._0x54726d,0x263,-0xa3)]??'.',_0x5abb77),_0x41f439=await stat(_0xd69f3e)[_0x163687(0x10a,-0xf6,0x1c9,_0x1b50bd._0x698cc0)](()=>null);if(!_0x41f439?.[_0x163687(0x2f0,_0x1b50bd._0x2b20d3,0x2af,0x20e)]())return err(_0x1bd3da(-0xbd,0x17d,0xdf,0x17a)+(_0x56b205[_0x163687(_0x1b50bd._0x2ee45a,-0xf2,_0x1b50bd._0x182a9d,0x1af)]??'.'),void 0x0,_0x163687(0xda,0x14c,-_0x1b50bd._0x56dad,-0x5d));const _0xf2ee3e=0x64,_0x36a11c=[];let _0x523254=![];for await(const _0x11e86d of files({'cwd':_0xd69f3e,'glob':[_0x56b205[_0x163687(0x1d9,0x3de,0x8a,_0x1b50bd._0x519efe)]]})){if(_0x36a11c['length']>=_0xf2ee3e){_0x523254=!![];break;}const _0x58695a=_0x274c24[_0x163687(0x144,-0x5c,-0xb3,-0x7b)](_0xd69f3e,_0x11e86d),_0x2b422f=await stat(_0x58695a)[_0x1bd3da(0x3b1,0x2c3,0x238,0x440)](()=>null),_0x50629c=_0x2b422f?.[_0x163687(0x2d8,0x517,0x2b5,0x4cf)]??0x0;_0x36a11c[_0x163687(-0x13d,-_0x1b50bd._0x59279d,0xf4,_0x1b50bd._0x4f1523)]({'path':_0x11e86d,'mtime':_0x50629c});}_0x36a11c['sort']((_0x4a13a0,_0x50cbe2)=>_0x50cbe2[_0x1bd3da(0x3d1,0x32c,0xe8,0x1f3)]-_0x4a13a0[_0x1bd3da(0x328,0x32c,0x576,0x412)]);const _0x1de872=_0x274c24[_0x1bd3da(_0x1b50bd._0x3e18c8,0x4ce,0x69b,_0x1b50bd._0x71f465)](this[_0x163687(_0x1b50bd._0x21f3e4,0x164,_0x1b50bd._0x32cb24,-0x1a5)],_0xd69f3e)||'.';let _0x3a173b=_0x36a11c[_0x1bd3da(0x318,0x313,0xd2,_0x1b50bd._0xbe7642)](_0x10d89e=>_0x10d89e[_0x163687(0x7e,-0x4,0x2a8,-0xa3)])[_0x1bd3da(_0x1b50bd._0x2311a8,0x2fd,_0x1b50bd._0x48ba00,0x193)]('\x0a');_0x523254&&(_0x3a173b+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');_0x36a11c['length']===0x0&&(_0x3a173b=_0x163687(_0x1b50bd._0x384226,_0x1b50bd._0x42e3de,_0x1b50bd._0x15656a,_0x1b50bd._0x773109)+_0x56b205[_0x1bd3da(_0x1b50bd._0x5a2af3,0x392,0x4b1,_0x1b50bd._0x29be00)]);const _0x207506=okText(_0x3a173b,{'searchPath':_0x1de872,'pattern':_0x56b205[_0x1bd3da(0x4c5,0x392,_0x1b50bd._0x2e5fa9,_0x1b50bd._0x38f600)],'count':_0x36a11c[_0x163687(0x158,0xf2,_0x1b50bd._0x3ab0aa,0x5d)],'truncated':_0x523254});return _0x207506;}catch(_0x55a047){const _0x56eef5=_0x55a047 instanceof Error?_0x55a047['message']:String(_0x55a047);if(_0x55a047&&typeof _0x55a047===_0x1bd3da(0x214,0x191,_0x1b50bd._0x50e2bf,_0x1b50bd._0x2514e8)&&_0x1bd3da(_0x1b50bd._0x3148ca,_0x1b50bd._0x414d7a,0x415,_0x1b50bd._0x2280f8)in _0x55a047&&_0x55a047[_0x1bd3da(_0x1b50bd._0x2524f1,_0x1b50bd._0x414d7a,_0x1b50bd._0x34a70b,-0x13)]===_0x1bd3da(_0x1b50bd._0x5a1cb2,_0x1b50bd._0x2f3336,0x3e4,_0x1b50bd._0x4eeb7b))return err(_0x56eef5,void 0x0,_0x163687(0xda,-0x2f,0x250,-0xd5));return err(_0x56eef5,void 0x0,'unknown');}}[_0x577062(0x229,0x121,-0xbd,0x17d)](_0x494c7a,_0x35970d){const _0x376c5a={_0x48070f:0x8df,_0x42d0b2:0x58b,_0x38ba08:0x61f,_0x2ace36:0x80b,_0x16967f:0x32f,_0x3b0d3e:0xaa,_0xfc6c96:0x2ad,_0x5114a9:0x53a,_0x2ebc2b:0x341,_0x46405c:0x4a1,_0x33fb80:0x4de,_0x4639e0:0x596,_0x58182f:0x726,_0x3a2337:0x526,_0x50d7f3:0x798,_0x445ac4:0x6f9,_0x51f7a5:0x83c,_0x277c82:0x607,_0x1fab1a:0x63a,_0x3437ef:0x389},_0x4cdfa0={_0x64fa54:0x447},_0x9b665d={_0x13ba9d:0xf4,_0x4b619a:0x6d4};function _0x259d63(_0x373cb4,_0x385397,_0x3816c9,_0x2142bd){return _0x577062(_0x373cb4-_0x9b665d._0x13ba9d,_0x373cb4,_0x3816c9-0xed,_0x385397-_0x9b665d._0x4b619a);}const _0x54fe34=_0x35970d?.[_0x259d63(0x72b,0x721,_0x376c5a._0x48070f,_0x376c5a._0x42d0b2)]||_0x35970d?.['cwd']||this[_0x259d63(0x5a3,_0x376c5a._0x38ba08,0x439,_0x376c5a._0x2ace36)],_0x471314=_0x274c24[_0x2fd000(0x28a,_0x376c5a._0x16967f,_0x376c5a._0x3b0d3e,_0x376c5a._0xfc6c96)](String(_0x54fe34??this['rootDir']));function _0x2fd000(_0x1065ac,_0x2ef5ea,_0x23ae52,_0x45de58){return _0x577062(_0x1065ac-0x7b,_0x1065ac,_0x23ae52-0xab,_0x45de58-_0x4cdfa0._0x64fa54);}const _0x44c94c=_0x274c24[_0x259d63(0x373,_0x376c5a._0x5114a9,0x700,0x6d0)](_0x471314,_0x494c7a);if(!this[_0x259d63(_0x376c5a._0x2ebc2b,_0x376c5a._0x46405c,_0x376c5a._0x33fb80,_0x376c5a._0x4639e0)]&&_0x274c24['isAbsolute'](_0x494c7a)&&!_0x44c94c[_0x259d63(0x882,0x845,_0x376c5a._0x58182f,0x9dc)](_0x471314))throw new Error(_0x259d63(0x35c,0x526,0x3c2,_0x376c5a._0x3a2337));if(!this[_0x259d63(0x25a,0x4a1,0x42e,0x3c1)]){const _0x84d1a=_0x274c24[_0x2fd000(_0x376c5a._0x50d7f3,_0x376c5a._0x445ac4,_0x376c5a._0x51f7a5,_0x376c5a._0x277c82)](_0x471314,_0x44c94c);if(_0x84d1a['startsWith']('..')||_0x274c24[_0x259d63(0xa54,0x840,0x867,_0x376c5a._0x1fab1a)](_0x84d1a))throw new Error(_0x259d63(_0x376c5a._0x3437ef,0x535,0x697,0x506)+_0x494c7a);}return _0x44c94c;}};import*as _0xe46c9d from'path';import{stat as _0x597bfc}from'fs/promises';var MAX_LINE_LENGTH=0x7d0,GrepTool=class{[_0x577062(0x7f,-0x14e,-0x58,0xfd)]='grep_tool';[_0x577062(-0x18b,-0x180,-0x14c,-0xb5)];[_0x577062(-0x21f,-0x3f2,-0x2f,-0x233)];constructor(_0x25f9d={}){const _0x2a5d51={_0x46d2cd:0x49a,_0x4a190a:0x376,_0xd83f8d:0x3ea,_0x259289:0x298,_0x3b8b10:0x2fa,_0x11ca8c:0x11a,_0x15573e:0x31f,_0x259998:0x4bc},_0xca0c92={_0x1db520:0x30},_0x92976a={_0x28ff27:0xca,_0x1a205b:0x34d};this[_0x34839f(0x298,0x4f,_0x2a5d51._0x46d2cd,_0x2a5d51._0x4a190a)]=_0xe46c9d[_0x34839f(0x1b3,0x41,_0x2a5d51._0xd83f8d,0x346)](_0x25f9d[_0x34839f(_0x2a5d51._0x259289,_0x2a5d51._0x3b8b10,_0x2a5d51._0x11ca8c,_0x2a5d51._0x15573e)]??process[_0x26072d(0x30b,0x6e1,0x4da,0x623)]());function _0x34839f(_0x5153a0,_0x1ccde1,_0x52c950,_0x33fb7e){return _0x577062(_0x5153a0-0xb6,_0x52c950,_0x52c950-_0x92976a._0x28ff27,_0x5153a0-_0x92976a._0x1a205b);}function _0x26072d(_0x410362,_0x4dcc13,_0xded85b,_0x3d560a){return _0x577062(_0x410362-0x1c0,_0x3d560a,_0xded85b-_0xca0c92._0x1db520,_0xded85b-0x51e);}this[_0x34839f(0x11a,-0x108,0x15b,0x295)]=!!_0x25f9d[_0x26072d(0x4db,0x26f,0x2eb,_0x2a5d51._0x259998)];}[_0x1f0bf6(0x2a8,0x1ff,0xd7,0xd1)]={'type':_0x1f0bf6(0x232,0x1e5,0x126,0x1a1),'properties':{'pattern':{'type':_0x577062(-0x101,-0x130,0xa9,0xba),'description':'Regular\x20expression\x20pattern\x20to\x20search\x20for\x20in\x20file\x20contents'},'path':{'type':'string','description':_0x1f0bf6(0x29a,0x4c9,0x4ba,0x1d3)},'include':{'type':'string','description':_0x577062(-0x300,-0x72,-0x1f9,-0x219)}},'required':['pattern']};[_0x1f0bf6(0x23f,0xa7,0x2a7,0x1c8)](){const _0x26d46c={_0x167663:0x493,_0x60453f:0x4dc,_0x2fcd79:0x169,_0x3f73c1:0x1dc,_0x375ed4:0x6ec,_0x527c55:0x4f6,_0x24f197:0x623,_0x29cc57:0x54,_0x638023:0x87,_0x16f3a3:0x2b,_0x31e776:0x18f,_0x4e399c:0x43e,_0x3734be:0x553},_0x173a33={_0x49449f:0x30,_0x789f73:0xdb,_0x556a8a:0x11e},_0x438d25={_0x2ad361:0x146,_0x2a5924:0x8b};function _0x16634b(_0x46e195,_0x189c48,_0x43185d,_0x193600){return _0x577062(_0x46e195-0x44,_0x46e195,_0x43185d-_0x438d25._0x2ad361,_0x193600-_0x438d25._0x2a5924);}function _0x38133c(_0x5d21a8,_0x31d4b4,_0x5d663f,_0x1d8307){return _0x1f0bf6(_0x5d663f-_0x173a33._0x49449f,_0x31d4b4,_0x5d663f-_0x173a33._0x789f73,_0x1d8307-_0x173a33._0x556a8a);}return{'name':this[_0x38133c(_0x26d46c._0x167663,0x5e8,_0x26d46c._0x60453f,0x649)],'description':[_0x16634b(-0x1ca,0x14,-_0x26d46c._0x2fcd79,-_0x26d46c._0x3f73c1),_0x38133c(_0x26d46c._0x375ed4,0x663,_0x26d46c._0x527c55,_0x26d46c._0x24f197),_0x16634b(0x184,0x1c6,-_0x26d46c._0x29cc57,0xcd),'',_0x38133c(0x1ba,_0x26d46c._0x638023,0x20f,_0x26d46c._0x16f3a3),_0x16634b(-_0x26d46c._0x31e776,-0x246,0x17d,-0xbf),'-\x20pattern:\x20\x22TODO|FIXME\x22,\x20include:\x20\x22*.ts\x22\x20-\x20Find\x20todos\x20in\x20TypeScript\x20files','-\x20pattern:\x20\x22import.*react\x22,\x20path:\x20\x22src\x22\x20-\x20Find\x20React\x20imports\x20in\x20src/'][_0x38133c(_0x26d46c._0x4e399c,_0x26d46c._0x3734be,0x3ce,0x3a0)]('\x0a'),'parameters':this['parameters']};}async[_0x1f0bf6(0x305,0x312,0x21e,0x30e)](_0xa0df22,_0x4ba2ca){const _0x52fef8={_0x432860:0x63d,_0x47be34:0x8bd,_0x2d57eb:0x84e,_0x28d56c:0x7fc,_0x2d956b:0x880,_0x13f838:0x671,_0x12d702:0x75e,_0x410c25:0x7f1,_0x3ab5c7:0x614,_0x59416f:0x70e,_0x380db7:0x44d,_0x4ac305:0x76f,_0x429e81:0x5ec,_0x3dca10:0x7db,_0x4b95d5:0x688,_0x52b835:0x6dd,_0x1ee98a:0x6e4,_0x259fcf:0x871,_0x3b7548:0x869,_0x345fea:0x6fa,_0x31c1f0:0x678,_0x5707ea:0x386,_0x64ae5b:0x43c,_0x4d7565:0x714,_0x3e4b79:0x5b8,_0x2e86f2:0x471,_0x431654:0x467,_0x12a0d5:0x598,_0x15f813:0x50a,_0x5d163e:0x596,_0x5419c4:0x61e,_0x28cd55:0x75b,_0x2af9d7:0x4b6,_0x1c7ab0:0x61c,_0x3dff9b:0x554,_0xe895c0:0x78c,_0x12f381:0x52d,_0xa600b5:0x726,_0x2913f0:0x60c,_0x42af10:0xa00,_0xbd9ee7:0x883,_0x4e7df4:0x72d,_0x320afa:0x5a6,_0x8d330f:0x93b,_0x417fef:0x67b,_0x20574f:0x706,_0x5f2a2d:0x5e1,_0xc28236:0xa49,_0x35e9d5:0x9b2,_0x2e90e7:0x68a,_0x41fb2f:0x6c6,_0x465ce5:0x6ae,_0x3ddecf:0x613,_0x12acbc:0x981,_0x4bade8:0x8e1,_0x29bc79:0x653,_0x3c0513:0x50f,_0x4000a8:0x7b0,_0xba2a75:0x63a,_0x358207:0x912,_0x25a76d:0x63c,_0x32254a:0x551,_0xb8c07:0x77f,_0x410e7e:0x7cd,_0x4167d6:0x63b,_0x133e15:0x56b,_0x5a5fff:0x691,_0x4aeb9b:0x550,_0x2dc06d:0x682,_0x1e57a8:0x6f9,_0xc23e54:0x8e3,_0x342c57:0x50b,_0x1cb5d5:0x484,_0x4869cf:0x86b,_0x138f1e:0x799},_0x206534={_0x276a73:0x703},_0x4bc6e7={_0x142cf0:0x314,_0x28373c:0xf};function _0x28eb21(_0x25cd76,_0x459101,_0x41ba7b,_0x5cbaa1){return _0x1f0bf6(_0x5cbaa1-_0x4bc6e7._0x142cf0,_0x41ba7b,_0x41ba7b-0x1bd,_0x5cbaa1-_0x4bc6e7._0x28373c);}function _0x8dfdb1(_0x264938,_0x216d3f,_0x504fc2,_0x42d6ba){return _0x577062(_0x264938-0x16,_0x264938,_0x504fc2-0x5d,_0x216d3f-_0x206534._0x276a73);}try{if(!_0xa0df22[_0x28eb21(_0x52fef8._0x432860,_0x52fef8._0x47be34,0x6c6,0x747)])return err(_0x28eb21(_0x52fef8._0x2d57eb,0x9d5,0x63b,0x7e0),void 0x0,'invalid_input');const _0x3cede8=this[_0x8dfdb1(_0x52fef8._0x28d56c,_0x52fef8._0x2d956b,_0x52fef8._0x13f838,0x9a3)](_0xa0df22['path']??'.',_0x4ba2ca),_0x3eda2d=await _0x597bfc(_0x3cede8)[_0x8dfdb1(_0x52fef8._0x12d702,0x6b8,0x47a,_0x52fef8._0x410c25)](()=>null);if(!_0x3eda2d?.[_0x28eb21(_0x52fef8._0x3ab5c7,0xa5a,_0x52fef8._0x59416f,0x85e)]())return err(_0x8dfdb1(0x40d,0x572,_0x52fef8._0x380db7,0x5c2)+(_0xa0df22[_0x28eb21(_0x52fef8._0x4ac305,0x57c,0x699,_0x52fef8._0x429e81)]??'.'),void 0x0,_0x8dfdb1(_0x52fef8._0x3dca10,_0x52fef8._0x4b95d5,0x489,0x8ac));const _0x1bf4c1=0x64,_0x2d276c=await search({'cwd':_0x3cede8,'pattern':_0xa0df22[_0x28eb21(0x6ca,0x51f,0x827,0x747)],'glob':_0xa0df22['include'],'limit':_0x1bf4c1}),_0x2ce92c=new Map();for(const _0x5a7425 of _0x2d276c){const _0x5632a7=_0x5a7425['filePath'];if(!_0x2ce92c[_0x28eb21(0x6b5,_0x52fef8._0x52b835,0x686,_0x52fef8._0x1ee98a)](_0x5632a7)){const _0x1f3bc8=await _0x597bfc(_0x5632a7)[_0x28eb21(_0x52fef8._0x259fcf,_0x52fef8._0x3b7548,_0x52fef8._0x345fea,_0x52fef8._0x31c1f0)](()=>null);_0x2ce92c[_0x28eb21(0x57f,_0x52fef8._0x5707ea,_0x52fef8._0x64ae5b,0x509)](_0x5632a7,{'mtime':_0x1f3bc8?.['mtimeMs']??0x0,'matches':[]});}_0x2ce92c['get'](_0x5632a7)[_0x8dfdb1(0x3ba,0x57b,_0x52fef8._0x4d7565,0x6af)][_0x8dfdb1(_0x52fef8._0x3e4b79,_0x52fef8._0x2e86f2,_0x52fef8._0x431654,_0x52fef8._0x12a0d5)](_0x5a7425);}const _0x54cb46=Array[_0x8dfdb1(_0x52fef8._0x15f813,_0x52fef8._0x5d163e,0x5b3,_0x52fef8._0x5419c4)](_0x2ce92c[_0x8dfdb1(0x750,0x613,_0x52fef8._0x28cd55,_0x52fef8._0x2af9d7)]())[_0x8dfdb1(_0x52fef8._0x1c7ab0,_0x52fef8._0x3dff9b,_0x52fef8._0xe895c0,_0x52fef8._0x12f381)]((_0x2c5418,_0x378ba6)=>_0x378ba6[0x1]['mtime']-_0x2c5418[0x1][_0x28eb21(0x6eb,0x8fc,0x880,0x6e1)]),_0x40670c=_0x2d276c[_0x8dfdb1(_0x52fef8._0xa600b5,0x706,0x81a,_0x52fef8._0x2913f0)]>=_0x1bf4c1,_0x4d8290=_0xe46c9d[_0x28eb21(_0x52fef8._0x42af10,0x6ea,0x7c3,_0x52fef8._0xbd9ee7)](this['rootDir'],_0x3cede8)||'.';let _0x4cce50='';if(_0x2d276c['length']===0x0)_0x4cce50='No\x20matches\x20found\x20for\x20pattern:\x20'+_0xa0df22[_0x8dfdb1(0x65d,0x787,_0x52fef8._0x4e7df4,0x8a4)];else{_0x4cce50=_0x8dfdb1(_0x52fef8._0x320afa,0x53b,0x5f5,0x30e)+_0x2d276c[_0x8dfdb1(0x5bd,0x706,0x63e,0x70b)]+_0x28eb21(0x86b,0x761,_0x52fef8._0x8d330f,0x7f2)+(_0x2d276c[_0x8dfdb1(_0x52fef8._0x417fef,_0x52fef8._0x20574f,_0x52fef8._0x5f2a2d,0x61b)]===0x1?'':'es')+'\x0a';for(const [_0x18ea22,_0x141a8e]of _0x54cb46){const _0x2673f2=_0xe46c9d[_0x8dfdb1(0x66e,0x8c3,_0x52fef8._0xc28236,_0x52fef8._0x35e9d5)](_0x3cede8,_0x18ea22);_0x4cce50+='\x0a'+_0x2673f2+':\x0a';for(const _0x16781c of _0x141a8e['matches']){const _0x2a4f25=_0x16781c[_0x28eb21(0x619,0x5d0,_0x52fef8._0x2e90e7,0x613)][_0x28eb21(0x6fb,0x87e,0x75f,_0x52fef8._0x41fb2f)]>MAX_LINE_LENGTH?_0x16781c[_0x28eb21(0x7d6,0x3dd,_0x52fef8._0x465ce5,_0x52fef8._0x3ddecf)][_0x8dfdb1(0x831,0x7ea,_0x52fef8._0x12acbc,_0x52fef8._0x4bade8)](0x0,MAX_LINE_LENGTH)+_0x8dfdb1(0x8eb,0x6fa,0x7c2,0x5e7):_0x16781c[_0x8dfdb1(0x873,_0x52fef8._0x29bc79,_0x52fef8._0x3c0513,0x4e1)];_0x4cce50+=_0x8dfdb1(_0x52fef8._0x4000a8,_0x52fef8._0xba2a75,0x641,0x88b)+_0x16781c[_0x28eb21(_0x52fef8._0x358207,_0x52fef8._0x25a76d,_0x52fef8._0x32254a,_0x52fef8._0xb8c07)]+':\x20'+_0x2a4f25+'\x0a';}}_0x40670c&&(_0x4cce50+=_0x8dfdb1(0x7ff,_0x52fef8._0x410e7e,0x95a,0x802));}const _0x464159=okText(_0x4cce50['trim'](),{'searchPath':_0x4d8290,'pattern':_0xa0df22[_0x8dfdb1(0x53f,0x787,_0x52fef8._0x4167d6,_0x52fef8._0x133e15)],'include':_0xa0df22[_0x8dfdb1(0x823,0x746,0x733,0x766)],'matchCount':_0x2d276c[_0x28eb21(_0x52fef8._0x5a5fff,_0x52fef8._0x4aeb9b,_0x52fef8._0x2dc06d,0x6c6)],'fileCount':_0x2ce92c[_0x8dfdb1(0x817,_0x52fef8._0x1e57a8,0x53e,_0x52fef8._0xc23e54)],'truncated':_0x40670c});return _0x464159;}catch(_0x31c7de){const _0x2971a8=_0x31c7de instanceof Error?_0x31c7de[_0x28eb21(0x442,0x63a,_0x52fef8._0x342c57,_0x52fef8._0x1cb5d5)]:String(_0x31c7de);if(_0x31c7de&&typeof _0x31c7de==='object'&&'code'in _0x31c7de&&_0x31c7de['code']==='ENOENT')return err(_0x2971a8,void 0x0,_0x8dfdb1(0x7c8,_0x52fef8._0x4b95d5,0x4c5,_0x52fef8._0x4869cf));return err(_0x2971a8,void 0x0,_0x8dfdb1(0x42d,0x5de,_0x52fef8._0x138f1e,0x429));}}['resolveSafePath'](_0xef05ed,_0x3dfefc){const _0x523531={_0x998911:0x503,_0xef556e:0x1e1,_0x2ec3c8:0x328,_0x45b955:0x595,_0x280270:0x4bd,_0x27248b:0x73f,_0xa5ab65:0x524,_0x306702:0x3df,_0x336903:0x438,_0x376d27:0x43f,_0x3e5fb4:0x598,_0x13b7d5:0x63f,_0x3a4e98:0x447,_0x19a6c7:0x5bc,_0x331c48:0x42b,_0xe02391:0x444,_0x2ee4cd:0x6e1,_0x5cb281:0x29d,_0x3306ef:0x44c,_0x3138d2:0x380,_0xacc697:0x469,_0xa3a4a5:0x52a},_0x4ace4b={_0x543c87:0x6,_0x5bcf5d:0x2db},_0x1da9ef={_0x104186:0xe0},_0x480cbe=_0x3dfefc?.[_0x5da136(_0x523531._0x998911,_0x523531._0xef556e,0x4bc,_0x523531._0x2ec3c8)]||_0x3dfefc?.[_0x3d17a2(0x43f,_0x523531._0x45b955,_0x523531._0x280270,0x727)]||this[_0x3d17a2(_0x523531._0x27248b,_0x523531._0xa5ab65,_0x523531._0x306702,_0x523531._0x336903)],_0x40475c=_0xe46c9d[_0x3d17a2(0x57f,_0x523531._0x376d27,0x389,0x333)](String(_0x480cbe??this['rootDir'])),_0x2d336c=_0xe46c9d[_0x3d17a2(_0x523531._0x3e5fb4,_0x523531._0x376d27,0x2d0,0x343)](_0x40475c,_0xef05ed);function _0x3d17a2(_0x805374,_0x51bb85,_0x3ee3ff,_0x936c8e){return _0x577062(_0x805374-0xf6,_0x936c8e,_0x3ee3ff-_0x1da9ef._0x104186,_0x51bb85-0x5d9);}if(!this['allowAbsolute']&&_0xe46c9d[_0x5da136(0x31e,_0x523531._0x13b7d5,0x304,_0x523531._0x3a4e98)](_0xef05ed)&&!_0x2d336c[_0x5da136(0x251,_0x523531._0x19a6c7,0x594,0x44c)](_0x40475c))throw new Error(_0x3d17a2(0x34e,_0x523531._0x331c48,0x500,0x236));if(!this['allowAbsolute']){const _0xc4a554=_0xe46c9d[_0x5da136(_0x523531._0xe02391,0x2f8,_0x523531._0x2ee4cd,0x49b)](_0x40475c,_0x2d336c);if(_0xc4a554[_0x5da136(0x5de,0x34a,_0x523531._0x5cb281,_0x523531._0x3306ef)]('..')||_0xe46c9d[_0x5da136(_0x523531._0x3138d2,_0x523531._0xacc697,_0x523531._0xa3a4a5,_0x523531._0x3a4e98)](_0xc4a554))throw new Error('Path\x20escapes\x20workspace\x20root:\x20'+_0xef05ed);}function _0x5da136(_0x59351e,_0x573543,_0x142a73,_0x8704ec){return _0x577062(_0x59351e-0x4e,_0x59351e,_0x142a73-_0x4ace4b._0x543c87,_0x8704ec-_0x4ace4b._0x5bcf5d);}return _0x2d336c;}},defaultAgents=[];function generateIdFromName(_0x55b902){const _0x2efb5c={_0xccb70f:0x85,_0x5b7d53:0x146,_0x310b73:0x332,_0x2c1671:0x17},_0x297914={_0x3cea2:0x289},_0x3c2b5d={_0x212e76:0x131};function _0x34f089(_0x1ebb0a,_0x18027f,_0x4f0ab2,_0x4bd057){return _0x1f0bf6(_0x4f0ab2-_0x3c2b5d._0x212e76,_0x1ebb0a,_0x4f0ab2-0x1bb,_0x4bd057-0x119);}if(!_0x55b902)return null;function _0x2f5faf(_0x4f09e9,_0xc434e8,_0xfd3162,_0x347c73){return _0x1f0bf6(_0x4f09e9- -_0x297914._0x3cea2,_0xfd3162,_0xfd3162-0x100,_0x347c73-0x1a3);}return _0x55b902['toLowerCase']()[_0x2f5faf(0x196,-_0x2efb5c._0xccb70f,0x3d2,_0x2efb5c._0x5b7d53)](/[^a-z0-9]+/g,'-')[_0x2f5faf(0x196,0xe8,_0x2efb5c._0x310b73,_0x2efb5c._0x2c1671)](/^-|-$/g,'');}var AgentRegistry=class{[_0x577062(0x388,0x187,0x3a5,0x1a2)]=new Map();[_0x577062(-0x1a2,-0x22c,-0x391,-0x276)]=new Set();['persistence'];[_0x1f0bf6(0x3d4,0x583,0x3d9,0x1e0)];['loadingPromise'];constructor(_0x2d27b8){const _0x39b355={_0x24eefd:0x895,_0x306473:0x179,_0x1c69ff:0x12f,_0x55d249:0xfc,_0x52763e:0x6d9,_0x577627:0x5a7,_0x14d188:0x4bf,_0x30666c:0x3ab,_0x342f71:0x18e,_0x1f2b33:0x2e3,_0x3f55b5:0x30e,_0x3acccc:0x2d,_0x20fa05:0xc4,_0x339a34:0x163},_0x421a71={_0x20f099:0x295,_0x28e736:0x1c8,_0x29e013:0x9a},_0x5a2b28={_0x3cc790:0x8,_0x5218e8:0x761};this['persistence']=_0x2d27b8?.[_0x3bb916(0x756,0x6cf,0x8c5,_0x39b355._0x24eefd)];function _0x3bb916(_0x188fc8,_0x552de3,_0x1176c2,_0xf6e87e){return _0x577062(_0x188fc8-0x1e5,_0x552de3,_0x1176c2-_0x5a2b28._0x3cc790,_0x1176c2-_0x5a2b28._0x5218e8);}this[_0x3bb916(0x9a8,0x907,0x786,0x98e)]=_0x2d27b8?.['filePersistence'];function _0x1dc25b(_0x1fac80,_0x2d3cec,_0x28f73a,_0x3bf167){return _0x1f0bf6(_0x1fac80- -_0x421a71._0x20f099,_0x3bf167,_0x28f73a-_0x421a71._0x28e736,_0x3bf167-_0x421a71._0x29e013);}for(const _0x3b21f5 of defaultAgents){const _0x4546b1=this[_0x1dc25b(-_0x39b355._0x306473,-_0x39b355._0x1c69ff,-_0x39b355._0x55d249,-0x1cf)](_0x3b21f5);_0x4546b1['id']&&(this['agents'][_0x3bb916(0x3bf,_0x39b355._0x52763e,_0x39b355._0x577627,_0x39b355._0x14d188)](_0x4546b1['id'],_0x4546b1),this['defaultAgentIds'][_0x1dc25b(-0x168,0x11,-0x2c8,-_0x39b355._0x30666c)](_0x4546b1['id']));}this[_0x1dc25b(_0x39b355._0x342f71,_0x39b355._0x1f2b33,_0x39b355._0x3f55b5,0x2ec)]=this[_0x1dc25b(_0x39b355._0x3acccc,-_0x39b355._0x20fa05,-_0x39b355._0x339a34,0x136)]();}async[_0x1f0bf6(0x2c2,0x1c9,0x151,0x400)](){const _0x2a05eb={_0x383b74:0x9ab,_0x25598a:0x895,_0x3148c9:0x740,_0xe93f1c:0x51,_0x359f3c:0x27,_0x252c43:0x71,_0x2ddda7:0xf8,_0x5ad5e3:0x646,_0x24e0ca:0x889,_0x2acde2:0x7cd,_0x562c1e:0x70c,_0x45886f:0x215,_0x62415d:0x246,_0x538c78:0x37e,_0x2742dc:0x6ce,_0x52a77c:0x331,_0x3f9c15:0x490,_0x263ba1:0x3b9,_0x3b9f62:0x2a8},_0x5bfe67={_0x461ccb:0x18e},_0x11c685={_0x4861ba:0x36c,_0x4277fe:0x192},_0x55269b=[];this[_0x12aa4a(_0x2a05eb._0x383b74,0x87f,_0x2a05eb._0x25598a,_0x2a05eb._0x3148c9)]&&_0x55269b[_0x1157b1(-_0x2a05eb._0xe93f1c,-_0x2a05eb._0x359f3c,-_0x2a05eb._0x252c43,-_0x2a05eb._0x2ddda7)](this[_0x12aa4a(_0x2a05eb._0x5ad5e3,_0x2a05eb._0x24e0ca,_0x2a05eb._0x2acde2,_0x2a05eb._0x562c1e)]());this[_0x1157b1(0x13,_0x2a05eb._0x45886f,_0x2a05eb._0x62415d,_0x2a05eb._0x538c78)]&&_0x55269b[_0x12aa4a(0x27f,0x489,_0x2a05eb._0x2742dc,_0x2a05eb._0x52a77c)](this[_0x1157b1(_0x2a05eb._0x3f9c15,0x556,_0x2a05eb._0x263ba1,_0x2a05eb._0x3b9f62)]());function _0x12aa4a(_0x23cc2d,_0x23fff2,_0x1ef284,_0x51adf1){return _0x1f0bf6(_0x23fff2-_0x11c685._0x4861ba,_0x51adf1,_0x1ef284-0x137,_0x51adf1-_0x11c685._0x4277fe);}function _0x1157b1(_0x19e6ec,_0x31e44a,_0x415aa6,_0x541839){return _0x1f0bf6(_0x415aa6- -_0x5bfe67._0x461ccb,_0x19e6ec,_0x415aa6-0xb,_0x541839-0x137);}await Promise['all'](_0x55269b);}async[_0x577062(0x73,-0x368,-0x13f,-0x126)](){await this['loadingPromise'];}[_0x1f0bf6(0x11c,-0xe1,-0x26,0x237)](_0x32ea98){const _0x2fbbda={_0x9194a2:0x48c,_0x31e0b3:0x25b,_0x31c77a:0x406,_0x2eebb0:0x42b,_0x5d8c37:0x429,_0x39e9d6:0x241,_0x10aaaf:0x14d,_0xde38:0x13,_0x3427c6:0x8a,_0x14253d:0x33,_0x379469:0x3a0,_0x48b294:0x2e8,_0x1cce80:0x2f3,_0x5633c5:0x34c,_0xeb9845:0x578,_0x1b91bc:0x292,_0x33561e:0x9c,_0x35f13d:0x96,_0x57cd47:0x24d,_0x36c763:0x4ba},_0x32366d={_0x2a9d56:0x1af,_0x2b82ee:0x1d7},_0x190f26=_0x32ea98['id']||generateIdFromName(_0x32ea98[_0x51982c(0x500,_0x2fbbda._0x9194a2,0x5d1,0x425)])||'agent-'+Date[_0x51982c(0x266,_0x2fbbda._0x31e0b3,0x4a4,0x2fd)](),_0x52e97c=_0x32ea98['name']||_0x51982c(_0x2fbbda._0x31c77a,_0x2fbbda._0x2eebb0,_0x2fbbda._0x5d8c37,_0x2fbbda._0x39e9d6);function _0x145298(_0x5b8f8c,_0x27a8a3,_0x3ab6e7,_0x3e8ca2){return _0x1f0bf6(_0x5b8f8c- -_0x32366d._0x2a9d56,_0x3ab6e7,_0x3ab6e7-_0x32366d._0x2b82ee,_0x3e8ca2-0x188);}const _0x3ba98a=_0x32ea98['description']||_0x145298(0xab,0x122,_0x2fbbda._0x10aaaf,-0x19d);function _0x51982c(_0x3d716b,_0x1b0165,_0x44b63d,_0x235d5d){return _0x1f0bf6(_0x44b63d-0x125,_0x235d5d,_0x44b63d-0x1de,_0x235d5d-0x5);}const _0x43216e=_0x32ea98[_0x145298(_0x2fbbda._0xde38,-_0x2fbbda._0x3427c6,0x1a6,_0x2fbbda._0x14253d)]||['file_read','web_search'];return{'id':_0x190f26,'name':_0x52e97c,'description':_0x3ba98a,'systemPrompt':_0x32ea98[_0x51982c(_0x2fbbda._0x379469,_0x2fbbda._0x48b294,_0x2fbbda._0x1cce80,0x489)],'tools':_0x43216e,'temperature':_0x32ea98['temperature']??0.7,'maxTokens':_0x32ea98['maxTokens']??0xfa00,'provider':_0x32ea98['provider'],'model':_0x32ea98['model'],'topP':_0x32ea98[_0x145298(_0x2fbbda._0x5633c5,_0x2fbbda._0xeb9845,0x500,_0x2fbbda._0x1b91bc)],'timeoutMs':_0x32ea98[_0x145298(-_0x2fbbda._0x33561e,0x13c,_0x2fbbda._0x35f13d,-_0x2fbbda._0x57cd47)],'shareContext':_0x32ea98[_0x51982c(0x405,_0x2fbbda._0x36c763,0x410,0x5f4)],'metadata':_0x32ea98['metadata']};}async[_0x1f0bf6(0x51d,0x3f6,0x350,0x64d)](){const _0x5945f6={_0x23d805:0x1f8,_0x19b9a4:0x417,_0x36712a:0x17e,_0x583d97:0x29,_0x1acd89:0x12b,_0x2407c3:0x281,_0xace958:0x1fd,_0x384cb2:0x104,_0x1ef0f3:0x19c,_0x229bbe:0x1c0,_0xb2e1e7:0x525,_0x489bf7:0x353,_0x4025f3:0x14c,_0x1012ea:0xe2,_0x5438da:0x49,_0x2cc15a:0x2a4,_0x1effc6:0xa9,_0x347ae4:0x158,_0x1b1b98:0x1b3,_0x4423f4:0x1ae,_0x3ef6f6:0x385,_0x336bb5:0x236,_0x42d217:0x201,_0x1c809d:0x1bd,_0x69674:0x262,_0x4e60f2:0x197,_0x1829a7:0x12a,_0x3972d5:0x147},_0x1aa048={_0x2d83ca:0x13},_0x3751e4={_0x340b10:0x31b};function _0x6f35e1(_0x3dd7e4,_0x33094c,_0x2cacc2,_0x27cd8c){return _0x1f0bf6(_0x33094c- -_0x3751e4._0x340b10,_0x27cd8c,_0x2cacc2-0x5,_0x27cd8c-0x91);}if(!this[_0x6f35e1(0x334,_0x5945f6._0x23d805,_0x5945f6._0x19b9a4,_0x5945f6._0x36712a)])return;function _0x59981a(_0x1001a6,_0x190cc3,_0x50d1f4,_0x4bcb12){return _0x1f0bf6(_0x50d1f4-0x14a,_0x4bcb12,_0x50d1f4-_0x1aa048._0x2d83ca,_0x4bcb12-0x51);}try{const _0x36debc=await this[_0x6f35e1(_0x5945f6._0x583d97,0x1f8,_0x5945f6._0x1acd89,_0x5945f6._0x2407c3)][_0x6f35e1(-_0x5945f6._0xace958,0x1a,_0x5945f6._0x384cb2,-0x21c)]();for(const _0x21cc1b of _0x36debc){const _0x345b30=await this[_0x6f35e1(_0x5945f6._0x1ef0f3,0x1f8,0x11d,_0x5945f6._0x229bbe)][_0x59981a(0x4c2,_0x5945f6._0xb2e1e7,0x2f3,_0x5945f6._0x489bf7)](_0x21cc1b);for(const _0x473268 of _0x345b30){if(this[_0x6f35e1(_0x5945f6._0x4025f3,-_0x5945f6._0x1012ea,-_0x5945f6._0x5438da,-_0x5945f6._0x2cc15a)](_0x473268)){const _0x4b7e16=this['applyDefaults'](_0x473268);if(!_0x4b7e16['id']){console[_0x6f35e1(0x208,_0x5945f6._0x1effc6,0x2a,-_0x5945f6._0x347ae4)](_0x6f35e1(-0x3db,-_0x5945f6._0x1b1b98,-_0x5945f6._0x4423f4,-_0x5945f6._0x3ef6f6));continue;}this[_0x6f35e1(0x20e,_0x5945f6._0x336bb5,_0x5945f6._0x42d217,0x224)]['set'](_0x4b7e16['id'],_0x4b7e16);}}}}catch(_0x38fd12){console[_0x6f35e1(_0x5945f6._0x1c809d,0xa9,0x146,_0x5945f6._0x69674)](_0x6f35e1(_0x5945f6._0x4e60f2,_0x5945f6._0x1829a7,_0x5945f6._0x3972d5,0x2db),_0x38fd12);}}async[_0x1f0bf6(0x547,0x479,0x560,0x6ea)](){const _0x1f6ed7={_0x50bf0d:0x5f4,_0x4bfcb4:0x3a3,_0x62420f:0x754,_0x81ab96:0x849,_0x35c544:0x768,_0x234ba4:0x318,_0x2fb715:0x63c,_0x430ea8:0x33c,_0x5c23d4:0x4ee,_0x3bce1d:0x292,_0x3c6eea:0x359,_0x4c515c:0x2be,_0x2e46f6:0x5f0,_0x2e706b:0x3ab,_0x1e719f:0x553,_0x40331b:0x415,_0x32edcc:0x370,_0x40cb7c:0x4},_0x16d3e9={_0x1acbfd:0x220,_0x6820b5:0xc5},_0x58084a={_0x4a880a:0x1b6};function _0x595196(_0x325e1d,_0x4833cb,_0x3c7fbd,_0x65d621){return _0x577062(_0x325e1d-_0x58084a._0x4a880a,_0x65d621,_0x3c7fbd-0x1de,_0x325e1d- -0x35);}if(!this['filePersistence'])return;function _0x538be3(_0x3530c8,_0x437ef8,_0x25dfc7,_0x3d6d77){return _0x1f0bf6(_0x3530c8-_0x16d3e9._0x1acbfd,_0x25dfc7,_0x25dfc7-_0x16d3e9._0x6820b5,_0x3d6d77-0x1e8);}try{const _0x11e3bc=await this[_0x538be3(_0x1f6ed7._0x50bf0d,0x83a,0x718,_0x1f6ed7._0x4bfcb4)][_0x538be3(_0x1f6ed7._0x62420f,_0x1f6ed7._0x81ab96,_0x1f6ed7._0x35c544,0x523)]();for(const _0xa5b3f9 of _0x11e3bc){if(this[_0x538be3(0x459,_0x1f6ed7._0x234ba4,0x670,_0x1f6ed7._0x2fb715)](_0xa5b3f9)){const _0xa98ccd=this[_0x538be3(_0x1f6ed7._0x430ea8,_0x1f6ed7._0x5c23d4,_0x1f6ed7._0x3bce1d,0x2fa)](_0xa5b3f9);_0xa98ccd['id']&&!this[_0x538be3(_0x1f6ed7._0x3c6eea,0x3ad,_0x1f6ed7._0x4c515c,0x348)][_0x538be3(_0x1f6ed7._0x2e46f6,_0x1f6ed7._0x2e706b,0x50b,0x707)](_0xa98ccd['id'])&&this[_0x538be3(0x771,0x6f6,0x9c5,_0x1f6ed7._0x1e719f)][_0x538be3(_0x1f6ed7._0x40331b,_0x1f6ed7._0x32edcc,0x37d,0x40c)](_0xa98ccd['id'],_0xa98ccd);}}}catch(_0x5f2cfc){console[_0x595196(-0x20,0x114,-0x228,0x9b)](_0x595196(0x13e,-_0x1f6ed7._0x40cb7c,-0x76,-0x77),_0x5f2cfc);}}async[_0x1f0bf6(0x1f7,0x270,0x7,0x2be)](){const _0x568b62={_0x5b39a3:0x5a8,_0x2f5336:0x7c4,_0x1b7221:0x58c,_0x14f706:0x4e4,_0x26f283:0x680,_0x929309:0x566,_0x5db865:0x3ed,_0x180ac7:0x4b2,_0xbc94be:0x601,_0xb9d893:0x792,_0x15354f:0x3dc,_0x3878a1:0x288,_0x59e04a:0x2b5,_0x5cdadb:0x440,_0x4d5567:0x243,_0x434a61:0x3d0,_0x3569e0:0x1f8,_0x5bd7eb:0x152,_0x3bdeb9:0xa9,_0x3d3478:0xb8},_0x1923a9={_0xffcf44:0x12,_0x512b30:0x428},_0x45f3d9={_0x376fc1:0x185,_0x4f0b79:0xa1};function _0xb042b(_0x3d7ef8,_0x251586,_0x369709,_0x211566){return _0x577062(_0x3d7ef8-_0x45f3d9._0x376fc1,_0x3d7ef8,_0x369709-0x1c3,_0x369709-_0x45f3d9._0x4f0b79);}function _0x23bd4c(_0x5a7818,_0x28ff3c,_0x1139dc,_0x47855e){return _0x577062(_0x5a7818-_0x1923a9._0xffcf44,_0x28ff3c,_0x1139dc-0x4f,_0x47855e-_0x1923a9._0x512b30);}if(!this[_0x23bd4c(0x58a,_0x568b62._0x5b39a3,_0x568b62._0x2f5336,_0x568b62._0x1b7221)])return;try{const _0x568093=Array[_0x23bd4c(0x35f,_0x568b62._0x14f706,0x3bf,0x2bb)](this['agents'][_0x23bd4c(_0x568b62._0x26f283,_0x568b62._0x929309,_0x568b62._0x5db865,_0x568b62._0x180ac7)]());await this[_0x23bd4c(_0x568b62._0xbc94be,_0x568b62._0xb9d893,_0x568b62._0x15354f,0x58c)][_0xb042b(0xdc,-_0x568b62._0x3878a1,-0x119,-_0x568b62._0x59e04a)](_0xb042b(0xd0,_0x568b62._0x5cdadb,_0x568b62._0x4d5567,_0x568b62._0x434a61),_0x568093);}catch(_0x5bbd92){console[_0xb042b(0x48,_0x568b62._0x3569e0,0xb6,_0x568b62._0x5bd7eb)](_0xb042b(_0x568b62._0x3bdeb9,-_0x568b62._0x3d3478,0x34,0x184),_0x5bbd92);}}[_0x1f0bf6(0x239,0x4,0x179,0x39e)](_0x2712f3){const _0x2755d3={_0x55477f:0x5a,_0x4c2acf:0x53a,_0x127a33:0x23f,_0x245154:0x190},_0x4b0c51={_0x4a8cc0:0x113},_0x59b004={_0x3a4050:0x4ce};function _0x47c512(_0xb6af29,_0x35bf0b,_0x43e03e,_0x54ee1c){return _0x577062(_0xb6af29-0xa5,_0x43e03e,_0x43e03e-0x1c2,_0x35bf0b-_0x59b004._0x3a4050);}function _0x2127f4(_0x4f6fa2,_0x25399a,_0x6f74d5,_0x516333){return _0x1f0bf6(_0x4f6fa2- -0x124,_0x6f74d5,_0x6f74d5-_0x4b0c51._0x4a8cc0,_0x516333-0xfd);}if(!_0x2712f3[_0x2127f4(0xaa,0x1e5,0x8f,_0x2755d3._0x55477f)]||typeof _0x2712f3[_0x47c512(0x18c,0x2ed,_0x2755d3._0x4c2acf,_0x2755d3._0x127a33)]!==_0x2127f4(0x345,0x371,_0x2755d3._0x245154,0x3ac))return![];return!![];}[_0x1f0bf6(0x3fb,0x255,0x326,0x24e)](_0x2cd635){const _0x3dfc13={_0x55a14:0x188,_0x192fea:0x2e0,_0x2d94db:0x6b,_0x411bf4:0xa1,_0x1439dd:0x94,_0x32daae:0x129,_0x2b66e4:0x2c6,_0x3c0c41:0x1c3,_0x3b7d52:0x24d,_0x2d17b0:0x197,_0x3237cb:0xbe},_0xbd8334={_0x53c063:0xb1,_0x489ad5:0x1ec,_0x196a18:0x10b},_0x53c299={_0x5eb276:0x38e,_0x50ad48:0x169};function _0x25175b(_0x153232,_0x1f7a96,_0x329aa5,_0x1adc81){return _0x1f0bf6(_0x153232- -_0x53c299._0x5eb276,_0x329aa5,_0x329aa5-_0x53c299._0x50ad48,_0x1adc81-0x7f);}function _0x3d0d62(_0x585c84,_0x19435b,_0x329051,_0x2e488c){return _0x1f0bf6(_0x585c84- -_0xbd8334._0x53c063,_0x2e488c,_0x329051-_0xbd8334._0x489ad5,_0x2e488c-_0xbd8334._0x196a18);}if(!this[_0x3d0d62(_0x3dfc13._0x55a14,_0x3dfc13._0x192fea,0x12c,0x39c)](_0x2cd635))throw new Error('Invalid\x20agent\x20template:\x20missing\x20systemPrompt');const _0x5c4a5c=this[_0x3d0d62(_0x3dfc13._0x2d94db,0x10d,-_0x3dfc13._0x411bf4,0x26b)](_0x2cd635);if(!_0x5c4a5c['id'])throw new Error(_0x25175b(_0x3dfc13._0x1439dd,_0x3dfc13._0x32daae,0x88,_0x3dfc13._0x2b66e4));this[_0x25175b(_0x3dfc13._0x3c0c41,0xb7,0x2fe,_0x3dfc13._0x3b7d52)]['set'](_0x5c4a5c['id'],_0x5c4a5c),void this[_0x25175b(-_0x3dfc13._0x2d17b0,-_0x3dfc13._0x3237cb,-0x24,-0x222)]();}async[_0x577062(-0x111,-0x285,-0x294,-0x2e1)](_0x5621b8){const _0x3e3090={_0x183e5:0x5fa,_0x2db2cb:0x61c,_0x2b862b:0x437,_0x458516:0x58f,_0x3ef606:0x3c2,_0x3ec82c:0x40c,_0x5454c1:0x91c,_0x1ddd08:0x52d,_0x57118d:0x6e4,_0x914a7:0x702,_0x51bfa0:0x565,_0x2c3b10:0x4e1,_0x423f6c:0x50c,_0x59720f:0x3f9,_0x5aef04:0x4f4,_0x56ab4e:0x6a0},_0x27dd55={_0x38d02b:0x248,_0x123ace:0x36},_0x4fffaf={_0x54ebeb:0x314,_0x202b32:0x108};if(!this[_0x3adbf1(_0x3e3090._0x183e5,_0x3e3090._0x2db2cb,_0x3e3090._0x2b862b,0x83e)])throw new Error('File\x20persistence\x20not\x20configured');function _0x35f3f6(_0x394bd9,_0x5ddd86,_0x1d3102,_0x49270f){return _0x1f0bf6(_0x1d3102-_0x4fffaf._0x54ebeb,_0x394bd9,_0x1d3102-_0x4fffaf._0x202b32,_0x49270f-0x1f);}function _0x3adbf1(_0x51ffea,_0x1b3e92,_0x923a94,_0x5d7e70){return _0x1f0bf6(_0x1b3e92-_0x27dd55._0x38d02b,_0x51ffea,_0x923a94-0x140,_0x5d7e70-_0x27dd55._0x123ace);}if(this[_0x35f3f6(_0x3e3090._0x458516,_0x3e3090._0x3ef606,0x44d,_0x3e3090._0x3ec82c)][_0x35f3f6(_0x3e3090._0x5454c1,_0x3e3090._0x1ddd08,_0x3e3090._0x57118d,_0x3e3090._0x914a7)](_0x5621b8['id']))throw new Error(_0x3adbf1(0x341,0x50b,_0x3e3090._0x51bfa0,_0x3e3090._0x2c3b10)+_0x5621b8['id']+_0x35f3f6(0x426,_0x3e3090._0x423f6c,_0x3e3090._0x59720f,0x233));await this[_0x3adbf1(0x58d,0x61c,0x73d,_0x3e3090._0x5aef04)][_0x35f3f6(0x483,0x257,0x473,_0x3e3090._0x56ab4e)](_0x5621b8);}async[_0x577062(-0x269,-0x45b,-0x25d,-0x241)](_0x25ebe7){const _0x3ed694={_0x1fee5b:0x1dd,_0x36805e:0x78,_0x595dfc:0x236,_0x40d836:0x113,_0x5cdb15:0x454,_0x292e20:0xd2,_0x32374d:0x304,_0x1c0bef:0x509,_0xd5694c:0x69c,_0x3b22bb:0x4c5,_0x4cd203:0x3b9,_0x59a718:0x3da,_0x589b39:0x579},_0x2eb72c={_0x424201:0x103,_0x46b22d:0x12},_0xacb132={_0x4ffcf6:0x183,_0xee9d93:0x13d};if(!this[_0x2e7c50(0x6b,0x251,_0x3ed694._0x1fee5b,_0x3ed694._0x36805e)])throw new Error(_0x2a0ddc(_0x3ed694._0x595dfc,0x45a,0x301,_0x3ed694._0x40d836));function _0x2e7c50(_0x5cf083,_0x153523,_0x411f0b,_0x32226e){return _0x1f0bf6(_0x153523- -_0xacb132._0x4ffcf6,_0x411f0b,_0x411f0b-_0xacb132._0xee9d93,_0x32226e-0xdd);}function _0x2a0ddc(_0x506ab1,_0x5c6439,_0x310227,_0x590023){return _0x1f0bf6(_0x310227-0x1cb,_0x506ab1,_0x310227-_0x2eb72c._0x424201,_0x590023-_0x2eb72c._0x46b22d);}if(this[_0x2a0ddc(_0x3ed694._0x5cdb15,_0x3ed694._0x292e20,_0x3ed694._0x32374d,0x352)]['has'](_0x25ebe7))throw new Error(_0x2a0ddc(_0x3ed694._0x1c0bef,_0x3ed694._0xd5694c,0x66a,0x449)+_0x25ebe7+'\x22');await this['filePersistence'][_0x2e7c50(_0x3ed694._0x3b22bb,_0x3ed694._0x4cd203,_0x3ed694._0x59a718,_0x3ed694._0x589b39)](_0x25ebe7);}['isDefault'](_0x225883){const _0x7b720e={_0x3de909:0x2cb,_0x5ea504:0x234,_0x33b577:0xaa},_0x1a011a={_0x52edc2:0x2bd};function _0x589723(_0xf7142e,_0x4924cf,_0x4d7b0c,_0x59f795){return _0x1f0bf6(_0x59f795- -_0x1a011a._0x52edc2,_0xf7142e,_0x4d7b0c-0x76,_0x59f795-0x10f);}return this[_0x589723(-_0x7b720e._0x3de909,-_0x7b720e._0x5ea504,_0x7b720e._0x33b577,-0x184)]['has'](_0x225883);}[_0x577062(-0x46,-0x3f,-0x329,-0x1cd)](_0x1ad148){const _0x297fff={_0x470db2:0x10f,_0x5cd071:0x629,_0x50bbf4:0x4d3,_0x1db49e:0x583,_0x46e2e7:0x49a},_0x565cbe={_0x3ff728:0x3e,_0x575a84:0x1ba};function _0x2330db(_0x88393a,_0x43f5c9,_0x2a2e9b,_0x1ce814){return _0x577062(_0x88393a-_0x565cbe._0x3ff728,_0x1ce814,_0x2a2e9b-0x174,_0x2a2e9b-_0x565cbe._0x575a84);}function _0x281b53(_0xc7f385,_0x4cdac1,_0x16993c,_0x57b77b){return _0x1f0bf6(_0x16993c-0x150,_0x57b77b,_0x16993c-0xb6,_0x57b77b-0x6);}if(this[_0x281b53(0x2ac,_0x297fff._0x470db2,0x289,0x58)]['has'](_0x1ad148))throw new Error(_0x281b53(_0x297fff._0x5cd071,_0x297fff._0x50bbf4,0x4dd,0x32e)+_0x1ad148+'\x22');this[_0x2330db(_0x297fff._0x1db49e,_0x297fff._0x46e2e7,0x35c,0x423)]['delete'](_0x1ad148),void this['saveToPersistence']();}[_0x1f0bf6(0x1a9,0x1a5,0x2eb,0xa6)](_0x5566bb){const _0x23fcca={_0x4e73b0:0x521,_0x12d2fd:0x10,_0x301c5d:0x2aa,_0x377053:0xd6,_0x387b45:0x2e1},_0x2b64fc={_0x5816ac:0x27f,_0x20fc55:0x27,_0x3010c5:0x16b},_0x347916={_0x5cfe5c:0x2c4,_0x221a2e:0xd5,_0x302ed9:0x180};function _0x22778b(_0x4a5471,_0x11baa5,_0x2975a4,_0x1e8f84){return _0x1f0bf6(_0x4a5471- -_0x347916._0x5cfe5c,_0x1e8f84,_0x2975a4-_0x347916._0x221a2e,_0x1e8f84-_0x347916._0x302ed9);}function _0x18f787(_0x5c3104,_0x289323,_0x4237f0,_0x5e7099){return _0x1f0bf6(_0x4237f0- -_0x2b64fc._0x5816ac,_0x5e7099,_0x4237f0-_0x2b64fc._0x20fc55,_0x5e7099-_0x2b64fc._0x3010c5);}return this[_0x18f787(_0x23fcca._0x4e73b0,0x2b6,0x2d2,0x294)][_0x18f787(-_0x23fcca._0x12d2fd,-_0x23fcca._0x301c5d,-_0x23fcca._0x377053,-_0x23fcca._0x387b45)](_0x5566bb);}['list'](){const _0x6332a9={_0x56ff96:0x76c,_0x11a46f:0xb02,_0x444fbd:0xa62,_0x405318:0xa53,_0x40bc3a:0x804},_0x4fc4f4={_0x16087b:0x3cb,_0x35983c:0xd1},_0x22e0c3={_0x1f2943:0x1ab};function _0x231adb(_0x31f3e3,_0xfdf26f,_0x5e2148,_0x182f1b){return _0x1f0bf6(_0xfdf26f- -0x1f1,_0x5e2148,_0x5e2148-0x5f,_0x182f1b-_0x22e0c3._0x1f2943);}function _0xd21dcb(_0x182578,_0xb8ad32,_0x54e3b0,_0x1447ab){return _0x1f0bf6(_0xb8ad32-_0x4fc4f4._0x16087b,_0x1447ab,_0x54e3b0-_0x4fc4f4._0x35983c,_0x1447ab-0xb0);}return Array[_0xd21dcb(0x5ab,0x60d,0x7a9,_0x6332a9._0x56ff96)](this[_0xd21dcb(_0x6332a9._0x11a46f,0x91c,0xaa8,_0x6332a9._0x444fbd)][_0xd21dcb(_0x6332a9._0x405318,_0x6332a9._0x40bc3a,0x80b,0x8ff)]());}[_0x1f0bf6(0x317,0x471,0x1aa,0xd2)](_0x131d32){const _0x18143a={_0x4d8f6c:0x824,_0x363ee7:0x803,_0x1cb5df:0x8d,_0x3af86e:0xfb},_0xcba204={_0x31f457:0x11d},_0xca165c={_0x5a17d5:0xa3};function _0x4a4822(_0x205166,_0x2acbfc,_0x58133a,_0x209035){return _0x577062(_0x205166-0xa4,_0x58133a,_0x58133a-_0xca165c._0x5a17d5,_0x209035-0x32);}function _0x4f1956(_0x2186e7,_0x10661e,_0x15ea1e,_0x23c37c){return _0x1f0bf6(_0x2186e7-0x16e,_0x10661e,_0x15ea1e-_0xcba204._0x31f457,_0x23c37c-0x9c);}return this[_0x4f1956(0x6bf,_0x18143a._0x4d8f6c,_0x18143a._0x363ee7,0x4cb)][_0x4a4822(_0x18143a._0x1cb5df,0x154,_0x18143a._0x3af86e,0x53)](_0x131d32);}},DESCRIPTION_TEMPLATE=_0x1f0bf6(0x570,0x381,0x7c2,0x5ed),AssignTool=class{constructor(_0x44f9a3){function _0x1dea86(_0x1e68a6,_0x588eb9,_0x3d4362,_0x19632a){return _0x1f0bf6(_0x19632a- -0x3f1,_0x3d4362,_0x3d4362-0xe4,_0x19632a-0x11e);}this[_0x1dea86(-0x74,0xe2,0x34,-0x163)]=_0x44f9a3;}[_0x577062(0x115,0x6f,0x217,0xfd)]=_0x577062(-0x350,-0xda,-0x1bc,-0x12d);[_0x1f0bf6(0x2a8,0x3cf,0x38c,0x283)]={'type':'object','properties':{'description':{'type':'string','description':'A\x20summary\x20of\x20the\x20task\x20to\x20be\x20performed\x20by\x20the\x20delegated\x20agent.\x20Be\x20specific\x20about\x20the\x20desired\x20outcome.\x20From\x205-10\x20words.'},'agent':{'type':_0x1f0bf6(0x469,0x4d8,0x51c,0x522),'description':_0x1f0bf6(0x1eb,0x28a,0x3e,0x24f)},'task':{'type':'string','description':'Detailed\x20description\x20of\x20the\x20task\x20to\x20be\x20performed\x20by\x20the\x20agent.'},'resume':{'type':_0x1f0bf6(0x469,0x613,0x431,0x492),'description':_0x1f0bf6(0x40b,0x39d,0x3cd,0x5c8)}},'required':[_0x577062(0x156,0xc4,0x1dc,0x130),'task',_0x1f0bf6(0x3a3,0x4a3,0x34b,0x495)]};[_0x1f0bf6(0x2e1,0x368,0x32c,0x471)](_0x820af2){const _0x28980b={_0x1fa73a:0x22b,_0x4f61e7:0x66,_0x451e1e:0x7d,_0x28f927:0x14d,_0x1892d5:0x116,_0x13bbe9:0x252},_0x277012={_0x12c419:0x18b,_0x58a66a:0xa4},_0x1cda1c={_0x358bd5:0x601};function _0x4e146a(_0x4b5b82,_0xe2c17f,_0x4c7511,_0x2adbb2){return _0x577062(_0x4b5b82-0x94,_0x4b5b82,_0x4c7511-0xc6,_0x2adbb2-_0x1cda1c._0x358bd5);}function _0xf490a0(_0x3f1903,_0x4ed10d,_0x2bf4d7,_0x5e908d){return _0x577062(_0x3f1903-0xe0,_0x4ed10d,_0x2bf4d7-_0x277012._0x12c419,_0x2bf4d7-_0x277012._0x58a66a);}this[_0xf490a0(-_0x28980b._0x1fa73a,_0x28980b._0x4f61e7,-_0x28980b._0x451e1e,-0x260)][_0xf490a0(-_0x28980b._0x28f927,_0x28980b._0x1892d5,-0x2a,-_0x28980b._0x13bbe9)](_0x820af2);}[_0x577062(0x10,-0x341,-0x30e,-0x170)](){const _0x28353c={_0x1907a7:0x113,_0x2bf476:0x10c,_0x21b4d7:0x4a1,_0x1ebab9:0x412,_0x598662:0x329,_0x22155a:0x12a,_0x57a1e0:0xbd,_0x225669:0x1ba,_0x681b6f:0xca,_0x3d21f8:0x299,_0x224345:0x1f1,_0x2bfaf2:0x1fe,_0x3eda2e:0x2bf,_0x38dfdc:0x237,_0x5b1250:0x2c2,_0x4d4ccb:0x2eb},_0x2377b={_0x5634e9:0x249,_0x13ece6:0x139,_0x451c2f:0x198,_0x1e597f:0x10a,_0x3a2dd0:0x329,_0x59f52b:0x521,_0x47d215:0x27d,_0x536d4b:0x14,_0x226f43:0x7a,_0x8cc277:0x145,_0x13f5a0:0x1e,_0x374d86:0xb4,_0x93a893:0x198,_0x2c0aa9:0x3bb,_0x2b85f4:0x231,_0x3f6248:0x315},_0x38649b={_0x36a4c7:0x1b4},_0x495fd3={_0x185700:0x1be},_0x4346ae={_0x979d28:0x74,_0x5b388a:0x27};function _0x3acf10(_0x495ffe,_0x580e39,_0x3f87f2,_0x3cd20a){return _0x577062(_0x495ffe-0xeb,_0x580e39,_0x3f87f2-_0x4346ae._0x979d28,_0x3cd20a-_0x4346ae._0x5b388a);}const _0x3ceb63=this[_0x3acf10(-0x184,-_0x28353c._0x1907a7,_0x28353c._0x2bf476,-0xfa)][_0x30b0fb(_0x28353c._0x21b4d7,0x3c0,0x185,0x556)]();function _0x30b0fb(_0x40419b,_0x489804,_0x50d5d2,_0x5b2687){return _0x577062(_0x40419b-0x91,_0x5b2687,_0x50d5d2-0xcf,_0x489804-0x229);}const _0x36fea6=_0x3ceb63[_0x30b0fb(_0x28353c._0x1ebab9,0x22e,_0x28353c._0x598662,_0x28353c._0x22155a)](_0x31346e=>{function _0x4b4694(_0x2e9508,_0x19435e,_0x2b8d06,_0xeb8df3){return _0x30b0fb(_0x2e9508-0x110,_0x19435e-0xfd,_0x2b8d06-_0x495fd3._0x185700,_0x2b8d06);}const _0x45c121=_0x31346e[_0x4b4694(_0x2377b._0x5634e9,_0x2377b._0x13ece6,0x1ae,_0x2377b._0x451c2f)]?.[_0x4b4694(_0x2377b._0x1e597f,_0x2377b._0x3a2dd0,_0x2377b._0x59f52b,_0x2377b._0x47d215)]?_0x403427(0x208,0x58,_0x2377b._0x536d4b,_0x2377b._0x226f43)+this[_0x403427(_0x2377b._0x8cc277,-0x10d,0x27f,0x302)](_0x31346e[_0x403427(_0x2377b._0x13f5a0,-0x222,-_0x2377b._0x374d86,-0x34)])+')':'';function _0x403427(_0x5090ae,_0x3ad8c7,_0x38757f,_0x17f2a9){return _0x30b0fb(_0x5090ae-_0x38649b._0x36a4c7,_0x5090ae- -0x1e,_0x38757f-0xde,_0x3ad8c7);}return'-\x20'+_0x31346e['id']+':\x20'+(_0x31346e['description']??_0x403427(_0x2377b._0x93a893,_0x2377b._0x2c0aa9,_0x2377b._0x2b85f4,_0x2377b._0x3f6248))+_0x45c121;})[_0x3acf10(-_0x28353c._0x57a1e0,_0x28353c._0x225669,-_0x28353c._0x681b6f,0x16)]('\x0a'),_0x4e723c=DESCRIPTION_TEMPLATE[_0x30b0fb(0x49b,_0x28353c._0x3d21f8,_0x28353c._0x224345,_0x28353c._0x2bfaf2)](_0x30b0fb(_0x28353c._0x3eda2e,0xdb,_0x28353c._0x38dfdc,0x165),_0x36fea6);return{'name':this[_0x3acf10(0x14b,_0x28353c._0x5b1250,_0x28353c._0x4d4ccb,0x124)],'description':_0x4e723c,'parameters':this[_0x30b0fb(-0xe6,0x122,0x314,0x199)]};}['formatTools'](_0x26b65f){const _0x56d0e4={_0x45bdfc:0x663,_0x5ddf7d:0x790,_0x4805e9:0x6c0,_0x41f890:0x2e2,_0x527092:0x149,_0x584d8f:0xf,_0x2317d2:0x69,_0x1397fc:0x529,_0x5230dd:0x751,_0x39da6c:0x4e,_0x5f1f64:0x8f,_0x4882bc:0x42},_0x1b1586={_0x29e68d:0x8e},_0x48be00={_0x49e8a3:0x20a,_0x4b745c:0x8a,_0x398037:0xda},_0x5dd057={'file_read':_0x20795b(0x57e,0x6a4,0x8b7,0x67c),'file_edit':_0x167672(-0x1c2,-0xc2,-0x1a1,-0x36b),'file_new':_0x20795b(0x67c,_0x56d0e4._0x45bdfc,_0x56d0e4._0x5ddf7d,_0x56d0e4._0x4805e9),'grep_tool':_0x167672(-0x11a,-0x108,-0xf9,-_0x56d0e4._0x41f890),'glob_tool':_0x167672(-_0x56d0e4._0x527092,-_0x56d0e4._0x584d8f,-_0x56d0e4._0x2317d2,0x8e),'ls_tool':'LS','bash_tool':_0x20795b(0x641,0x57e,_0x56d0e4._0x1397fc,_0x56d0e4._0x5230dd),'web_search':_0x167672(-_0x56d0e4._0x39da6c,0x11c,_0x56d0e4._0x5f1f64,0x29a),'web_fetch':'WebFetch','todo_write':'Todo'};function _0x20795b(_0x5f2ca0,_0x57ad3d,_0x2702ef,_0x54990f){return _0x1f0bf6(_0x57ad3d-_0x48be00._0x49e8a3,_0x54990f,_0x2702ef-_0x48be00._0x4b745c,_0x54990f-_0x48be00._0x398037);}function _0x167672(_0x20b3ae,_0x2f1a73,_0x4d8b50,_0x3b4ebd){return _0x1f0bf6(_0x4d8b50- -0x35c,_0x2f1a73,_0x4d8b50-_0x1b1586._0x29e68d,_0x3b4ebd-0xfc);}return _0x26b65f['map'](_0x270bed=>_0x5dd057[_0x270bed]??_0x270bed)['slice'](0x0,0x8)[_0x167672(-0x1f9,0x257,_0x56d0e4._0x4882bc,-0xd3)](',\x20')+(_0x26b65f['length']>0x8?_0x167672(-0x69,-0xb3,-0x1df,-0x22a):'');}async['execute'](_0x54e97e,_0x167f44){const _0x289ac6={_0x1c76c2:0x32f,_0x60e0ec:0x272,_0x3fc116:0x5cc,_0x3d6c0c:0x607,_0x4cb58:0x5fc,_0x348abf:0x434,_0x540384:0x301,_0x5c65f1:0x445,_0x98a3f6:0x127,_0x19c86e:0x17c,_0x335fc2:0x1dd,_0x19c0a5:0x240,_0x5aee5:0x2c5,_0x1e5e68:0x3f1,_0x2cd90a:0x7c8,_0x4bbfb6:0x833,_0x186381:0x667,_0x18d81e:0x46,_0x4635ab:0x9f,_0x6c8484:0x284,_0x4023d5:0x3d,_0x3ac701:0x108,_0x34fdb8:0x2c7,_0x46ab71:0x387,_0x161794:0x462,_0xc5ff8d:0x540,_0x54fbb0:0x199,_0x3a87fa:0xfe,_0x11f92b:0xa4,_0x2b9e6c:0x21f,_0x42324c:0x7b,_0x4f3048:0x42,_0x1e6be3:0x29e,_0xb01d02:0x291,_0x5df581:0x410,_0x1bca05:0x345,_0x532099:0x33e,_0x476cdc:0x7c6,_0x3c4790:0x659,_0x121aef:0x6cc,_0x291523:0xe4,_0x3fb974:0x5af,_0x269fb3:0x26,_0x5ec9a3:0x18f,_0x4199e3:0x59,_0x1bb431:0x5f9,_0x5bfefe:0x665,_0x5a3ba9:0x346,_0x11d387:0x160,_0x4388ad:0xb4,_0x254ccd:0x621},_0x47ce39={_0x4707e9:0x6d4},_0x3755ca={_0xd90589:0x1a4,_0x505831:0x119};if(!_0x54e97e[_0x1c1a38(_0x289ac6._0x1c76c2,_0x289ac6._0x60e0ec,0x33b,0x37e)]||typeof _0x54e97e['agent']!=='string')return err(_0x479a7d(_0x289ac6._0x3fc116,0x43d,0x667,_0x289ac6._0x3d6c0c),void 0x0,_0x1c1a38(0x2ce,0x3a5,0x2a6,0x25e));if(!_0x54e97e[_0x479a7d(_0x289ac6._0x4cb58,_0x289ac6._0x348abf,_0x289ac6._0x540384,_0x289ac6._0x5c65f1)]||typeof _0x54e97e[_0x1c1a38(-_0x289ac6._0x98a3f6,_0x289ac6._0x19c86e,-0x84,-_0x289ac6._0x335fc2)]!==_0x1c1a38(_0x289ac6._0x19c0a5,0x1d3,_0x289ac6._0x5aee5,_0x289ac6._0x1e5e68))return err(_0x479a7d(_0x289ac6._0x2cd90a,0x65e,_0x289ac6._0x4bbfb6,0x61e),void 0x0,_0x479a7d(_0x289ac6._0x186381,0x815,0x8ce,0x76f));function _0x1c1a38(_0x5a16e6,_0x437058,_0x503960,_0x29f5e4){return _0x1f0bf6(_0x503960- -_0x3755ca._0xd90589,_0x437058,_0x503960-0xac,_0x29f5e4-_0x3755ca._0x505831);}const _0x2cd953=await this[_0x1c1a38(_0x289ac6._0x18d81e,-_0x289ac6._0x4635ab,0xea,0x261)]['delegate'](_0x54e97e,_0x167f44);function _0x479a7d(_0x30fd0e,_0x5d007d,_0x58d756,_0x195dc6){return _0x577062(_0x30fd0e-0x85,_0x58d756,_0x58d756-0x4b,_0x195dc6-_0x47ce39._0x4707e9);}if(!_0x2cd953[_0x479a7d(0x838,0x7b2,0x70d,0x793)]||!_0x2cd953[_0x1c1a38(0x5b,_0x289ac6._0x6c8484,_0x289ac6._0x4023d5,_0x289ac6._0x3ac701)]){const _0x38ee86=_0x2cd953[_0x1c1a38(_0x289ac6._0x34fdb8,0x367,_0x289ac6._0x46ab71,_0x289ac6._0x161794)]?.[_0x479a7d(0x5d4,0x3f0,_0x289ac6._0xc5ff8d,0x5c9)](_0x1c1a38(_0x289ac6._0x54fbb0,0x1b8,0x122,_0x289ac6._0x3a87fa)),_0x6f3c78=_0x2cd953[_0x1c1a38(0x473,0x1bf,_0x289ac6._0x46ab71,0x316)]?.[_0x1c1a38(0xef,0x1c5,0x100,-_0x289ac6._0x11f92b)](_0x1c1a38(_0x289ac6._0x2b9e6c,_0x289ac6._0x42324c,_0x289ac6._0x4f3048,-0xd4))||_0x2cd953['error']?.[_0x479a7d(0x48a,0x4e6,0x515,0x5c9)](_0x479a7d(0x1d3,_0x289ac6._0x1e6be3,_0x289ac6._0xb01d02,_0x289ac6._0x5df581));return err(_0x2cd953[_0x1c1a38(0x54a,_0x289ac6._0x1bca05,_0x289ac6._0x46ab71,_0x289ac6._0x532099)]??_0x479a7d(0x4d3,_0x289ac6._0x476cdc,_0x289ac6._0x3c4790,_0x289ac6._0x121aef),{'agentId':_0x54e97e['agent'],'agentNotFound':_0x38ee86,'policyDenied':_0x6f3c78,'delegationDepth':_0x167f44?.[_0x1c1a38(0x5f,_0x289ac6._0x291523,0x3a,0x1a1)]},_0x479a7d(0x38d,0x556,0x50c,_0x289ac6._0x3fb974));}const _0x358f04=_0x2cd953[_0x1c1a38(0x47,_0x289ac6._0x269fb3,_0x289ac6._0x5ec9a3,_0x289ac6._0x4199e3)],_0x45e4f9=_0x358f04[_0x479a7d(0x529,_0x289ac6._0x1bb431,_0x289ac6._0x5bfefe,0x765)]?'\x0a\x0a<system-reminder>\x0aAgent\x20session\x20ID:\x20\x22'+_0x358f04[_0x1c1a38(0x1f7,0x183,0x29c,0xd4)]+_0x1c1a38(_0x289ac6._0x5a3ba9,0x3e5,0x358,0x177):'';return okText(_0x2cd953[_0x1c1a38(_0x289ac6._0x11d387,0x265,0x3d,-_0x289ac6._0x4388ad)]+_0x45e4f9,{..._0x358f04,'taskDescription':_0x54e97e[_0x479a7d(_0x289ac6._0x254ccd,0x215,0x2b1,_0x289ac6._0x5c65f1)],'delegationDepth':(_0x167f44?.[_0x479a7d(0x49b,0x6bd,0x3d5,0x503)]??0x0)+0x1});}};import*as _0x18cf46 from'os';var defaultSystemContext=()=>({'timeISO':new Date()[_0x577062(-0x2e1,-0x235,-0xa9,-0x290)](),'platform':process[_0x577062(-0x113,-0x11e,-0x52,0x113)],'arch':process[_0x577062(-0x70,0x203,0x2b4,0x152)],'tempDir':_0x18cf46[_0x1f0bf6(0x487,0x30a,0x676,0x3f7)]?.()??'','workspaceDir':process['cwd']()}),defaultIdGenerator=_0xb7235a=>{const _0x15e3db={_0x1f68c2:0x308,_0x29ae6c:0x8,_0x21abe1:0x1c5,_0x2f4673:0x398,_0x20c9ad:0x1e7,_0x1373db:0x220},_0x3e7dbc={_0x161255:0x183,_0xd1e217:0xd6},_0x31f8f5={_0x46cdf8:0x63};function _0xae8304(_0x2b3fff,_0x2dafe1,_0x53930f,_0x3dce06){return _0x1f0bf6(_0x2dafe1- -0x3d3,_0x2b3fff,_0x53930f-0x166,_0x3dce06-_0x31f8f5._0x46cdf8);}const _0x23ab71=Date[_0x33ee9b(_0x15e3db._0x1f68c2,-0x27,0x1fc,0x17b)](),_0x46b57d=Math[_0x33ee9b(_0x15e3db._0x29ae6c,0x319,_0x15e3db._0x21abe1,_0x15e3db._0x2f4673)]()[_0xae8304(0x20a,0x7e,-0x7a,_0x15e3db._0x20c9ad)](0x24)[_0x33ee9b(0x3cf,0x2d8,0x313,_0x15e3db._0x1373db)](0x2,0x8);function _0x33ee9b(_0xc69853,_0x4ad0f4,_0x1e9fe0,_0x37d2e6){return _0x1f0bf6(_0x1e9fe0- -_0x3e7dbc._0x161255,_0xc69853,_0x1e9fe0-0x59,_0x37d2e6-_0x3e7dbc._0xd1e217);}return _0xb7235a+'-'+_0x23ab71+'-'+_0x46b57d;},DefaultSpecialistAgentFactory=class{constructor(_0x18abf5){const _0x2c98c7={_0x5d4116:0x84b,_0x2eba91:0x6d1,_0x320d03:0x4f9},_0x4a918f={_0x1fe7f8:0x3a2,_0x467f96:0x1e9};function _0x5f4f8b(_0xf3c6f1,_0xb46362,_0x21d859,_0x3bc5d5){return _0x1f0bf6(_0x21d859-_0x4a918f._0x1fe7f8,_0x3bc5d5,_0x21d859-_0x4a918f._0x467f96,_0x3bc5d5-0x130);}this[_0x5f4f8b(0x575,_0x2c98c7._0x5d4116,_0x2c98c7._0x2eba91,_0x2c98c7._0x320d03)]=_0x18abf5;}async[_0x1f0bf6(0x35e,0x1fa,0x1cf,0x58a)](_0x4b1f81){const _0x954956={_0xee3e57:0x3fb,_0x3acd30:0x36a,_0x1b19bb:0x3d4,_0x3a14a0:0x4e5,_0x51d367:0x2da,_0x23cc7d:0x223,_0x3beb14:0x473,_0x3f98e7:0x5c7,_0x241d45:0x462,_0x7f01ee:0x398,_0x151d4a:0x335,_0x29d9d1:0x227,_0x1e3228:0x238,_0x1b8c2c:0x2d0,_0x3f0b19:0x5b7,_0x48a678:0x47e,_0x45b550:0x7e6,_0x1ff090:0x3c8,_0x4a5ac6:0x518,_0x95e6a:0x6e1,_0x1a073f:0x1db,_0x5b0dd6:0x240,_0x15ed5b:0x2c3,_0x552d68:0x5ea,_0x4ecc96:0x408,_0x311041:0x333,_0x1b7e07:0x372,_0x51c9bf:0x203,_0x399b71:0x36d,_0x597d79:0x2e6,_0x154738:0x473,_0x41786f:0x3eb,_0x443bd6:0x414,_0x5c4fb3:0x323,_0x33c4df:0x16b,_0x49640a:0x474,_0x457e00:0x27b,_0x3061c5:0x29e,_0x4c6c16:0xa1,_0x43acca:0x391,_0x5addec:0x2fb,_0x54443b:0x323,_0x25bc02:0x2aa,_0x546b5e:0x286,_0x3407c4:0x23a,_0x26499c:0x473,_0x4d6cac:0x2d0,_0x3705eb:0x25f,_0x1d27c7:0xc7,_0x26ca0a:0x210,_0x5a3b96:0x30e,_0x1b2d95:0x18a,_0x355ddd:0x4f2,_0x258c7f:0x5d4,_0x2ca265:0x69b,_0x14283f:0x817,_0x4a526d:0x215,_0x3d03d3:0x23a,_0x2307ea:0x313,_0x4d7cc5:0x2,_0x696ee4:0x300,_0x133047:0x88,_0x4cb86b:0x36e,_0x32656c:0x524,_0x535687:0x31a,_0x4e8b01:0x629,_0x56371c:0x28b,_0x9dfe12:0x27f,_0x1987cc:0x41f,_0x4fe206:0x4d6,_0x2d8fa0:0x85d,_0xdbb2fe:0x13,_0x1e931d:0x149,_0x5d00d3:0x3bd,_0x428754:0x34c,_0x2d2dc5:0x1be,_0x15b3d3:0x4e7,_0x1a9345:0x84,_0x147288:0x63a,_0x500728:0x49b,_0x5825fe:0x77a,_0x3ba9b5:0x588,_0x4c6f19:0x55e,_0x218265:0x756,_0x1bd7c0:0x3fc,_0x3f7f92:0x55a,_0x39ec28:0x42f,_0x10e8c4:0x4d4,_0x5905d1:0x372},_0x44b77d={_0x1d96a2:0xf5,_0x1e3348:0xa6},_0x1dc6e3={_0x47b02f:0x144},_0x2a2921=_0x4b1f81['template'],_0x224807=_0x4b1f81[_0x20190d(_0x954956._0xee3e57,_0x954956._0x3acd30,0x298,_0x954956._0x1b19bb)];function _0x20190d(_0x45c772,_0x30cf12,_0x297820,_0x57f06a){return _0x1f0bf6(_0x297820-_0x1dc6e3._0x47b02f,_0x57f06a,_0x297820-0xad,_0x57f06a-0x1c3);}const _0x1b1d91=_0x4b1f81[_0x20190d(_0x954956._0x3a14a0,0x206,0x397,0x1eb)],_0xdf65f7=this[_0x20190d(_0x954956._0x51d367,_0x954956._0x23cc7d,_0x954956._0x3beb14,0x318)]?.[_0x2a8f32(0x5cf,_0x954956._0x3f98e7,_0x954956._0x241d45,0x652)]?.()??defaultSystemContext(),_0x428b2b=this['options']?.[_0x20190d(0x1f6,_0x954956._0x7f01ee,_0x954956._0x151d4a,_0x954956._0x29d9d1)]?.()??[],_0x59c94c=buildInjectedSystem({'today':_0xdf65f7[_0x20190d(_0x954956._0x1e3228,0x310,_0x954956._0x1b8c2c,0x2ec)],'platform':_0xdf65f7[_0x2a8f32(_0x954956._0x3f0b19,0x3f2,0x4b0,0x419)],'arch':_0xdf65f7[_0x2a8f32(0x5f6,0x5c7,_0x954956._0x48a678,_0x954956._0x45b550)],'tempDir':_0xdf65f7[_0x20190d(_0x954956._0x1ff090,_0x954956._0x4a5ac6,0x5d6,_0x954956._0x95e6a)],'workspaceDir':_0xdf65f7[_0x20190d(0xca,_0x954956._0x1a073f,_0x954956._0x5b0dd6,0x2cf)],'availableAgents':_0x428b2b},{'withSubAgent':![]}),_0x429ecf=renderTemplate(_0x2a2921[_0x2a8f32(_0x954956._0x15ed5b,0x245,0x167,0x1e7)]+_0x20190d(_0x954956._0x552d68,0x55d,_0x954956._0x4ecc96,0x61a),{'injectedSystem':_0x59c94c}),_0x7aaec0=_0x2a2921['id']??_0x224807[_0x20190d(0x7b1,0x431,0x623,0x52b)],_0x47fdca=_0x7aaec0;let _0x288a89,_0x1fcdb5;if(_0x224807[_0x20190d(0x563,_0x954956._0x311041,_0x954956._0x1b7e07,_0x954956._0x51c9bf)]&&this[_0x20190d(_0x954956._0x399b71,_0x954956._0x597d79,_0x954956._0x154738,_0x954956._0x41786f)]?.[_0x20190d(0x521,0x378,_0x954956._0x443bd6,0x1d4)]){const _0x10080b=_0x224807[_0x2a8f32(_0x954956._0x5c4fb3,_0x954956._0x33c4df,0x491,0x545)],_0x2d4f18=this['options'][_0x20190d(0x393,_0x954956._0x49640a,0x414,_0x954956._0x457e00)](_0x10080b),_0x171dd6=await _0x2d4f18[_0x2a8f32(_0x954956._0x3061c5,_0x954956._0x4c6c16,_0x954956._0x43acca,_0x954956._0x5addec)](_0x2a8f32(0x389,0x3c9,0x38d,0x4cd));_0x171dd6[_0x2a8f32(0x4a7,0x532,0x464,0x6d2)]>0x0?(_0x288a89=_0x224807[_0x2a8f32(_0x954956._0x54443b,_0x954956._0x25bc02,0x1ca,_0x954956._0x546b5e)],_0x1fcdb5=_0x171dd6):_0x288a89=this[_0x20190d(0x605,_0x954956._0x3407c4,_0x954956._0x26499c,0x316)]?.[_0x20190d(_0x954956._0x4d6cac,0x1eb,_0x954956._0x3705eb,_0x954956._0x1d27c7)]?.(_0x47fdca)??defaultIdGenerator(_0x47fdca);}else _0x288a89=this[_0x2a8f32(0x424,0x3f4,0x562,0x298)]?.[_0x2a8f32(_0x954956._0x26ca0a,_0x954956._0x5a3b96,_0x954956._0x1b2d95,0x356)]?.(_0x47fdca)??defaultIdGenerator(_0x47fdca);function _0x2a8f32(_0x23fa02,_0xf1c1ec,_0x587c46,_0x4dfc94){return _0x1f0bf6(_0x23fa02-_0x44b77d._0x1d96a2,_0xf1c1ec,_0x587c46-_0x44b77d._0x1e3348,_0x4dfc94-0x85);}return{'agentId':_0x288a89,'agentName':_0x2a2921[_0x20190d(0x6dd,0x76f,0x5f0,_0x954956._0x355ddd)]??_0x224807[_0x2a8f32(_0x954956._0x258c7f,_0x954956._0x2ca265,0x81b,_0x954956._0x14283f)],'agentType':_0x7aaec0,'taskDescription':_0x224807[_0x2a8f32(_0x954956._0x4a526d,_0x954956._0x3d03d3,_0x954956._0x2307ea,-_0x954956._0x4d7cc5)],'systemPrompt':_0x429ecf,'tools':_0x2a2921['tools']??[],'provider':_0x2a2921[_0x2a8f32(0x1cf,_0x954956._0x696ee4,0x2a1,_0x954956._0x133047)],'model':_0x2a2921[_0x2a8f32(0x292,0xd5,0x44,0x492)],'temperature':_0x2a2921[_0x2a8f32(0x3f7,_0x954956._0x4cb86b,_0x954956._0x32656c,_0x954956._0x535687)],'maxTokens':_0x2a2921[_0x20190d(_0x954956._0x4e8b01,_0x954956._0x56371c,0x4c6,_0x954956._0x9dfe12)],'topP':_0x2a2921[_0x20190d(_0x954956._0x1987cc,_0x954956._0x4fe206,0x63f,_0x954956._0x2d8fa0)],'timeoutMs':_0x2a2921[_0x20190d(_0x954956._0xdbb2fe,_0x954956._0x1e931d,0x257,_0x954956._0x5d00d3)],'shareContext':_0x2a2921['shareContext']??![],'stream':_0x2a2921[_0x20190d(_0x954956._0x428754,_0x954956._0x2d2dc5,0x33a,_0x954956._0x15b3d3)]??!![],'delegatingMemory':void 0x0,'delegationDepth':_0x4b1f81[_0x2a8f32(0x255,0x463,_0x954956._0x1a9345,0x3ee)]+0x1,'conversationId':_0x1b1d91?.['conversationId'],'messageId':_0x1b1d91?.['messageId'],'toolCallId':typeof _0x1b1d91?.[_0x2a8f32(_0x954956._0x147288,_0x954956._0x500728,_0x954956._0x5825fe,_0x954956._0x3ba9b5)]===_0x2a8f32(_0x954956._0x4c6f19,_0x954956._0x218265,0x4ff,_0x954956._0x1bd7c0)?_0x1b1d91[_0x2a8f32(0x63a,0x6be,0x7a9,_0x954956._0x3f7f92)]:void 0x0,'resumeSessionId':_0x224807[_0x20190d(_0x954956._0x39ec28,_0x954956._0x10e8c4,_0x954956._0x5905d1,0x357)],'previousMessages':_0x1fcdb5};}},LLMResolver=class{constructor(_0x42a4a4){const _0x45cd82={_0x1ee922:0x10e,_0x3d8107:0x144,_0x2cf685:0x284},_0x3a8fe5={_0x9f08e4:0x145,_0xbf3eda:0x1a};function _0x54f5b3(_0x261d64,_0x3bd91c,_0x41a957,_0x23f21a){return _0x577062(_0x261d64-_0x3a8fe5._0x9f08e4,_0x3bd91c,_0x41a957-_0x3a8fe5._0xbf3eda,_0x261d64- -0x2c);}this[_0x54f5b3(_0x45cd82._0x1ee922,_0x45cd82._0x3d8107,0xa8,_0x45cd82._0x2cf685)]=_0x42a4a4;}[_0x1f0bf6(0x215,0x13e,0x3f2,0x436)](_0x5ad632){const _0x3d8702={_0x54a7df:0x73a,_0x539d87:0x765,_0x48a275:0x6a5,_0x3974c0:0x3b1,_0x5d22a5:0x315,_0x571864:0x3bb,_0x564c50:0x24f,_0x566240:0x1d1},_0x18b1b3={_0x5c9dd4:0x34,_0x4a5239:0x1d6},_0x2c7ecc={_0x328481:0x27c};function _0x3c93f3(_0x45aa4c,_0x51a383,_0x38cdcd,_0x4d582b){return _0x1f0bf6(_0x51a383-_0x2c7ecc._0x328481,_0x4d582b,_0x38cdcd-0x150,_0x4d582b-0x95);}function _0xca3fb4(_0x49ac82,_0x3bb94b,_0x3afde9,_0x2cb3c5){return _0x1f0bf6(_0x2cb3c5-_0x18b1b3._0x5c9dd4,_0x3bb94b,_0x3afde9-_0x18b1b3._0x4a5239,_0x2cb3c5-0x1d8);}return this[_0x3c93f3(_0x3d8702._0x54a7df,_0x3d8702._0x539d87,0x52c,_0x3d8702._0x48a275)][_0xca3fb4(_0x3d8702._0x3974c0,_0x3d8702._0x5d22a5,0x1a0,0x32b)]({'provider':_0x5ad632['provider'],'model':_0x5ad632[_0xca3fb4(_0x3d8702._0x571864,0x278,_0x3d8702._0x564c50,_0x3d8702._0x566240)]});}},DefaultAgentStateManager=class{[_0x1f0bf6(0x52f,0x537,0x3b1,0x550)]=new Map();[_0x577062(-0x244,-0x1cd,-0x352,-0x294)]=new SimpleId();[_0x577062(-0x1ba,0xe3,0x1b4,-0x51)](_0x19ff32,_0xcb0e24,_0x4462cf){const _0x320b99={_0x49947a:0x365,_0x30475b:0x374,_0x32d9a6:0x23d,_0x4c9916:0x2a4,_0x1c8aa0:0x32b,_0x45b0f7:0x40d,_0x1e5fe6:0x559,_0x48ccdd:0x293,_0x2c72bf:0x3c2,_0x5c14b2:0x344,_0x644e4c:0x4bb,_0x3f7b6a:0x6b7,_0x4979a2:0x331},_0x5a9e33={_0x55e863:0x10e,_0x35c149:0xd4,_0x5633a4:0x4eb},_0x39a612={_0x4870c2:0x148,_0x39b98f:0x4d1};function _0x3bed98(_0x4b632d,_0x69b160,_0x20e09c,_0x5cad05){return _0x577062(_0x4b632d-0xeb,_0x4b632d,_0x20e09c-_0x39a612._0x4870c2,_0x20e09c-_0x39a612._0x39b98f);}const _0x34bf42=this[_0x3bed98(_0x320b99._0x49947a,_0x320b99._0x30475b,_0x320b99._0x32d9a6,0x123)][_0x34e1e2(_0x320b99._0x4c9916,_0x320b99._0x1c8aa0,_0x320b99._0x45b0f7,_0x320b99._0x1e5fe6)]();function _0x34e1e2(_0x187102,_0xe0d340,_0x4bc1ef,_0xb5fa5){return _0x577062(_0x187102-_0x5a9e33._0x55e863,_0xb5fa5,_0x4bc1ef-_0x5a9e33._0x35c149,_0x4bc1ef-_0x5a9e33._0x5633a4);}const _0x12047d={'id':_0x34bf42,'agentType':_0x19ff32,'parentConversationId':_0xcb0e24,'state':_0x34e1e2(_0x320b99._0x48ccdd,0x35b,0x294,_0x320b99._0x2c72bf),'taskDescription':_0x4462cf,'startTime':Date[_0x34e1e2(_0x320b99._0x5c14b2,0x5cd,_0x320b99._0x644e4c,0x31a)]()};return this[_0x3bed98(_0x320b99._0x3f7b6a,0x575,0x651,0x7ce)][_0x34e1e2(0x422,0x4c5,_0x320b99._0x4979a2,0x561)](_0x34bf42,_0x12047d),_0x34bf42;}[_0x1f0bf6(0x1a9,0xb7,0x296,0x18a)](_0x57c88e){const _0x32da78={_0x265808:0x3bb,_0x4b88a8:0x2fc,_0x2856ce:0x11d,_0x3db1c3:0x138,_0xb70c8d:0xb7,_0xa88c27:0x4f},_0x369580={_0x31ea86:0x2da,_0x500730:0x107},_0x27d04f={_0x29972c:0x95,_0x4776b0:0xc1};function _0xa321a6(_0x2fa54f,_0x26ebd9,_0x2bd5a6,_0x332766){return _0x577062(_0x2fa54f-_0x27d04f._0x29972c,_0x2bd5a6,_0x2bd5a6-_0x27d04f._0x4776b0,_0x26ebd9-0xce);}function _0x250e70(_0x5319d8,_0x30e288,_0x3413e9,_0x4014f3){return _0x1f0bf6(_0x4014f3-_0x369580._0x31ea86,_0x30e288,_0x3413e9-0x12,_0x4014f3-_0x369580._0x500730);}return this[_0xa321a6(_0x32da78._0x265808,0x24e,_0x32da78._0x4b88a8,_0x32da78._0x2856ce)][_0xa321a6(-0xb3,-_0x32da78._0x3db1c3,-_0x32da78._0xb70c8d,_0x32da78._0xa88c27)](_0x57c88e);}[_0x577062(-0x129,-0x25c,-0xc8,-0x248)](_0xb1d59c,_0xe3de64){const _0x53c56a={_0x4c1723:0x3bd},_0x52d9f3={_0x30d470:0x1a6,_0xb675aa:0xa,_0x4e5693:0x1b7};function _0x49e50b(_0xb1cde9,_0x524823,_0x48d790,_0x2517f0){return _0x577062(_0xb1cde9-_0x52d9f3._0x30d470,_0xb1cde9,_0x48d790-_0x52d9f3._0xb675aa,_0x2517f0-_0x52d9f3._0x4e5693);}const _0x3ed6ac=this[_0x49e50b(0x512,0x410,_0x53c56a._0x4c1723,0x337)]['get'](_0xb1d59c);_0x3ed6ac&&Object['assign'](_0x3ed6ac,_0xe3de64);}['getRunning'](){const _0x4143f7={_0x4c9de9:0x4a8,_0x2dc03e:0x6b2,_0x52508a:0x5de,_0x3c98d4:0x795,_0xa0cb73:0x827,_0x180aff:0x8d8,_0x2458e7:0x2e8},_0x288d4b={_0x50a729:0x11d,_0x2e012e:0x17c},_0x41902c={_0x5e4a77:0x7b,_0x47a56b:0x615};function _0x1842b1(_0x59e5ce,_0x4ede6d,_0x5a813f,_0x4e4168){return _0x577062(_0x59e5ce-_0x41902c._0x5e4a77,_0x4e4168,_0x5a813f-0x1d3,_0x59e5ce-_0x41902c._0x47a56b);}function _0x793645(_0x349aac,_0x43aee5,_0x574b9d,_0x57fd4c){return _0x577062(_0x349aac-_0x288d4b._0x50a729,_0x43aee5,_0x574b9d-_0x288d4b._0x2e012e,_0x574b9d-0x370);}return Array[_0x1842b1(_0x4143f7._0x4c9de9,_0x4143f7._0x2dc03e,0x687,_0x4143f7._0x52508a)](this[_0x1842b1(_0x4143f7._0x3c98d4,0x9a2,_0x4143f7._0xa0cb73,_0x4143f7._0x180aff)]['values']())[_0x793645(0x1e4,0x3f4,_0x4143f7._0x2458e7,0x40a)](_0x30fa59=>_0x30fa59[_0x1842b1(0x6e2,0x624,0x8df,0x6ec)]===_0x1842b1(0x70c,0x76e,0x931,0x562));}[_0x1f0bf6(0x10a,0x249,-0x3,0xd6)](_0x203f4b){const _0x57cd46={_0x536cb5:0x5d,_0x23f19e:0x31e,_0x4df5ec:0xa5},_0x3761fe={_0xfc7503:0x3f,_0x46c94f:0x17f,_0x124a2b:0x1d};function _0x332299(_0x76afe,_0xd41c82,_0x15db53,_0x1756c6){return _0x577062(_0x76afe-_0x3761fe._0xfc7503,_0xd41c82,_0x15db53-_0x3761fe._0x46c94f,_0x76afe- -_0x3761fe._0x124a2b);}function _0x19d720(_0x122483,_0x292a5d,_0xca5e46,_0x285a94){return _0x1f0bf6(_0x285a94- -0x1a5,_0xca5e46,_0xca5e46-0xbd,_0x285a94-0x121);}return Array[_0x19d720(-_0x57cd46._0x536cb5,0x2c6,0xa0,0x9d)](this['sessions'][_0x19d720(0x347,0x170,_0x57cd46._0x23f19e,0x294)]())[_0x332299(-_0x57cd46._0x4df5ec,-0xa9,-0xf1,-0x2b)](_0x57b6e7=>_0x57b6e7[_0x19d720(0x152,-0x2f,0xc5,-0xb7)]===_0x203f4b);}['getAllSessions'](){const _0x1fd89c={_0x528ee:0x36,_0xed3d77:0x150,_0x48e0ec:0x4d0,_0x5d2831:0x126},_0x12d53c={_0x20cdcf:0x44,_0x1e072c:0x19b,_0x156178:0x7d},_0x362457={_0x11d094:0x313,_0x3a2513:0x1e7};function _0x3e6a49(_0x3d7c04,_0x1e6d47,_0x368208,_0x1bfedd){return _0x1f0bf6(_0x1bfedd- -_0x362457._0x11d094,_0x1e6d47,_0x368208-0x5e,_0x1bfedd-_0x362457._0x3a2513);}function _0x515630(_0x2b9a70,_0x2438ae,_0x5cba7b,_0x535e0a){return _0x1f0bf6(_0x2438ae- -_0x12d53c._0x20cdcf,_0x535e0a,_0x5cba7b-_0x12d53c._0x1e072c,_0x535e0a-_0x12d53c._0x156178);}return Array[_0x3e6a49(_0x1fd89c._0x528ee,-0x3e,_0x1fd89c._0xed3d77,-0xd1)](this[_0x515630(_0x1fd89c._0x48e0ec,0x4eb,0x373,0x590)][_0x3e6a49(0x1f6,-0x4c,0x311,_0x1fd89c._0x5d2831)]());}['cleanup'](_0x23b38a){const _0x1440a1={_0x2570b2:0x1cd,_0x32dce7:0xbc,_0x251026:0x2c0,_0x41cad2:0x13},_0x2ab928={_0x4b8d9c:0x24,_0x475a8b:0x16e},_0x46a3bd={_0x56aa8a:0x3a6},_0x5c2582=Date[_0x3ef4e5(0xe0,-0x27,-_0x1440a1._0x2570b2,0x4e)]();function _0x3ef4e5(_0x214b91,_0x5955d3,_0x11cf04,_0x13a37b){return _0x1f0bf6(_0x5955d3- -_0x46a3bd._0x56aa8a,_0x11cf04,_0x11cf04-0xa3,_0x13a37b-0x8e);}function _0x124238(_0x17e1cf,_0xbaeb05,_0x68b184,_0x327531){return _0x577062(_0x17e1cf-_0x2ab928._0x4b8d9c,_0x327531,_0x68b184-_0x2ab928._0x475a8b,_0x68b184-0x27d);}let _0x5d8d35=0x0;for(const [_0x1a2226,_0x2f3d25]of this['sessions']){_0x2f3d25[_0x3ef4e5(0x1b8,0xd6,_0x1440a1._0x32dce7,_0x1440a1._0x251026)]!=='running'&&_0x5c2582-_0x2f3d25['startTime']>_0x23b38a&&(this['sessions'][_0x3ef4e5(-_0x1440a1._0x41cad2,0x196,0x234,0x3cd)](_0x1a2226),_0x5d8d35++);}return _0x5d8d35;}},DEFAULT_TIMEOUT_MS=0x2dc6c0,MAX_DELEGATION_DEPTH=0x3,AgentManager=class{constructor(_0x5f1f90,_0x4a930c,_0x277f5e,_0x760ceb,_0x18c7b9,_0x2e125d,_0x5ad25c){const _0x35fd2c={_0x8d2a14:0x29f,_0x3dd68f:0x4e,_0x31588d:0x417,_0x54518a:0x503,_0x3c088e:0x43a,_0x2bae9b:0x80c,_0x3178ba:0x6a0,_0x100aeb:0x89e,_0x9cd50e:0x849,_0x37233e:0x4c1,_0x51259e:0x49d,_0x4a05dc:0x476,_0x403881:0x4aa,_0x13c9e1:0x4dd,_0x18f27a:0x2fa,_0x48df85:0x11f,_0x126726:0x262},_0x5c4643={_0x363410:0xe,_0x53b4fa:0xbc,_0x3fa35f:0x57f};function _0x146f66(_0x328df2,_0xc22c73,_0x1412d7,_0x2fde8b){return _0x577062(_0x328df2-_0x5c4643._0x363410,_0x2fde8b,_0x1412d7-_0x5c4643._0x53b4fa,_0x1412d7-_0x5c4643._0x3fa35f);}this[_0x372636(_0x35fd2c._0x8d2a14,_0x35fd2c._0x3dd68f,0x17d,0x3c2)]=_0x5f1f90,this[_0x372636(0x33b,0x2e1,_0x35fd2c._0x31588d,_0x35fd2c._0x54518a)]=_0x4a930c,this['llmFactory']=_0x277f5e,this[_0x146f66(0xbb,_0x35fd2c._0x3c088e,0x2b0,0x26b)]=_0x760ceb,this[_0x146f66(_0x35fd2c._0x2bae9b,0x519,_0x35fd2c._0x3178ba,0x7c5)]=_0x18c7b9,this[_0x146f66(0x7d7,_0x35fd2c._0x100aeb,0x73c,0x758)]=_0x5ad25c;this[_0x146f66(_0x35fd2c._0x9cd50e,_0x35fd2c._0x37233e,0x6fe,0x6d2)]&&(this[_0x146f66(_0x35fd2c._0x51259e,0x578,_0x35fd2c._0x4a05dc,_0x35fd2c._0x403881)]=new LLMResolver(this[_0x372636(0x558,0x659,_0x35fd2c._0x13c9e1,0x60b)]));this['stateManager']=new DefaultAgentStateManager();function _0x372636(_0x2f8d65,_0x254b9d,_0x4b14b7,_0x156adf){return _0x1f0bf6(_0x2f8d65-0x2a,_0x4b14b7,_0x4b14b7-0x170,_0x156adf-0xc4);}this[_0x372636(_0x35fd2c._0x18f27a,_0x35fd2c._0x48df85,0x35f,_0x35fd2c._0x126726)]=_0x2e125d;}[_0x1f0bf6(0x2a6,0x2c4,0x154,0x1d0)]=null;[_0x1f0bf6(0x4a4,0x41d,0x3e6,0x632)]=new Map();[_0x1f0bf6(0x173,0xaa,0x28b,0x1e)]=new Map();[_0x577062(-0xd5,-0x24d,0xb5,-0x114)];[_0x1f0bf6(0x2d0,0x2e1,0x329,0xc8)];async[_0x1f0bf6(0x297,0x7a,0x1af,0x168)](_0x2afc3b,_0x240a27){const _0x2e277c={_0x2bcb52:0x695,_0x2ffc13:0x6ff,_0x487e21:0x80a,_0x5046de:0x616,_0xf88d42:0x5b8,_0x20c886:0x96f,_0x4a7686:0xbf,_0x17a084:0x30c,_0x258dcf:0x255,_0x1cbcdb:0x29f,_0x1b7600:0x427,_0x34c5d0:0x45c,_0x34a968:0x47d,_0x228165:0x35a,_0x555ebc:0x11d,_0x42b3d3:0x16a,_0x54c9ed:0x484,_0x412777:0x66f,_0x5d2cb3:0x3cf,_0x5ade5a:0x188,_0x7b4b7f:0x2d3,_0x4d200d:0x6fd,_0x43f04e:0x22e,_0x5a293a:0x62a,_0x478135:0x567,_0x392472:0x648,_0x32b8da:0x458,_0x1da859:0x5ec,_0x5a4176:0x422,_0x2af7b8:0x35b,_0x583224:0x579,_0x520cb2:0x4af,_0x3ab9bd:0x2af,_0x52ff96:0x191,_0x21a910:0x3df,_0x52c8d2:0x3ed,_0x284db1:0x78f,_0x5bef90:0x60e,_0x132e77:0x356,_0x760846:0x224,_0x436bbe:0x49d,_0x183138:0x648,_0x5d4557:0x39c,_0x1cccb4:0x624,_0x101864:0x52f,_0x55df5d:0x3d8,_0x3d9315:0x644,_0x3b6574:0x3f7,_0x1edd1d:0x79a,_0x136604:0x519,_0x164d13:0x936,_0x3a81f3:0x199,_0x332a1e:0x4d5,_0x5e6aba:0x7cb,_0x1f7d53:0x92a,_0xc75c:0x745,_0x1940c9:0x61d,_0x31a2d2:0x94d,_0x4e53e5:0x47d,_0x3bf190:0x525,_0x119c48:0x3c9,_0xcf1a88:0x4d5,_0x1cc15f:0x350,_0x1369c6:0x4b1,_0x4a8663:0x2ac,_0x455ccd:0x601,_0x375891:0x596,_0xbf2cd0:0x4c9,_0x381181:0x5e0,_0x9f585e:0x6b9,_0x39f850:0x684,_0x2615ec:0x7d6,_0x114128:0x2b3,_0x4dc4bf:0x305,_0x4dce52:0x51c,_0x4f72b9:0x341,_0x4f099f:0x5f7,_0x457235:0x79b,_0xe0153f:0x651,_0x4fb36e:0x638,_0x4692bf:0x4f3,_0x5df51e:0x512,_0x313d49:0x440,_0x3f57e9:0x77f,_0x2342b9:0x571,_0x507628:0x368,_0x2a22b1:0x826,_0x37b4c0:0x8d5,_0x4814c7:0x56f,_0x8afd88:0x57f,_0xc53c55:0x148,_0x2f0f5b:0x339,_0x395045:0x8d7,_0x3e52a9:0x7b5,_0x5dd5f0:0x592,_0x54f2b6:0x3d7,_0x327c63:0x47b,_0x4b291e:0x63d,_0x14cd25:0x3fb,_0x4e2636:0x454,_0x4b24c8:0x23a,_0x3d877a:0x439,_0x39898f:0x523,_0x159df4:0x446,_0x352fe1:0x588,_0x5d4756:0x858,_0x22c2da:0x66b,_0x253407:0x21b,_0x5971ad:0x781,_0x1d9f4a:0x7cb,_0x54ceb6:0x812,_0x4ec68f:0x95d,_0x1ed3b4:0x423,_0x143279:0x3f4,_0x1c1216:0x3d8,_0x967516:0x411,_0x1fe72c:0x3eb,_0x39441b:0x387,_0x9d7bc9:0x3b9,_0x498bb1:0x37c,_0x12c93f:0x3c6,_0x87397b:0x4e6,_0x2b5f75:0x40a,_0x295180:0x707,_0x2761e6:0x510,_0x2b77c5:0x3b5,_0x4a0aa7:0x306,_0x7133e1:0x304,_0x27baa4:0x4fe,_0x1a3c5c:0x5f1,_0x4a6ea8:0x4d2,_0x4c19d9:0x4c6,_0xe7f475:0x3fe,_0x40f27e:0x184,_0x4f9939:0x3bc,_0xfb52b:0x494,_0x55202f:0x611,_0x164998:0x60a,_0x3db929:0x605,_0x17248d:0x296,_0x490364:0x429,_0x3c0233:0x257,_0x2b0430:0x659,_0x1dd4e0:0x830,_0x4ea789:0x41d,_0x390fcf:0x265,_0xbf114:0x4f4,_0xf9049f:0x3d8,_0x3721fc:0x1f0,_0x194c69:0x33a,_0x1f2612:0x2a7,_0x5e1356:0x675,_0x450905:0x60f,_0x162542:0x512,_0x12d37e:0x378,_0x4b9a34:0x4ea,_0x38390a:0x688,_0x14a0d9:0x28d,_0x170f00:0x46b,_0x4dfd07:0x3d4,_0x2ea93a:0x520,_0x35f7f0:0x4e1,_0x4a3928:0x5ab,_0x22837c:0x74b,_0x5b24bf:0x616,_0x39d131:0x635,_0xbeae25:0x3e6,_0x113ae2:0x1dc,_0x46234a:0x2a,_0x3cad4f:0x493,_0x5c0216:0x4dc,_0x53ed30:0x42b,_0x4e5810:0x4c2,_0x381bac:0x37d,_0x173e2c:0x18b,_0x1db777:0x2b1,_0x31a48d:0x36f,_0xf51c52:0x589,_0x42b7ae:0x4fb,_0x5c40d2:0x442,_0x171881:0x476,_0x2d9dd2:0x31d,_0x154941:0x41a,_0xe20997:0x6d2,_0x3edd7e:0x20c,_0x4fb899:0x5da,_0x790861:0x724,_0x35ea6e:0x609,_0x55fa3a:0x745,_0x22866b:0x420,_0x4deac8:0x356,_0x272f7:0x7b7,_0x262a04:0x667,_0x4d7bd5:0x253,_0x3e5d67:0x24c,_0x3ae07d:0x431,_0x151c0c:0x513,_0x31e683:0x60e,_0x12bcd:0x25c,_0x11fc43:0x552,_0x41f699:0x5a0,_0x25c2d9:0x455,_0x3781f3:0x44c,_0x29c214:0x546,_0x3d0fe7:0x6ca,_0x47eec6:0x6a9,_0x4a5ab3:0x678,_0x29c067:0x477,_0x178397:0x278,_0x58b54b:0x77a,_0x1faa22:0x641,_0xd2cc38:0x378,_0x342243:0x5ed,_0x5b6d05:0x4d4,_0x44a44b:0x1ea,_0x56d98d:0x5da,_0x1afbb0:0x3e8,_0x1b8b45:0x3e8,_0x3cf06f:0x398,_0x3cebd8:0x412,_0x3cb93f:0x63,_0x59d021:0x2b4,_0x34f755:0x3bb,_0x1516bb:0x3e8,_0x3f8f85:0x809,_0x2fc440:0x583,_0x5cb0d7:0x5f0,_0x4b052a:0x533,_0x4efec1:0x55f,_0x2d24a0:0x70c,_0xf2f372:0x352,_0x925804:0x3dc,_0x1a5419:0x2ab,_0x299468:0x662,_0x33235d:0x6d4,_0x53a2d9:0x366,_0x1d7c84:0x1b9,_0x18bbf6:0x4fd,_0x301ddd:0x4d9,_0x5e9979:0x5af,_0x5da0ef:0x3f7,_0x47e985:0x1f5,_0x4600d9:0x3d8,_0x2ba079:0x504,_0x40e079:0x6d7,_0x36f2ce:0x5a9,_0x2b24b9:0x5fc,_0x4bbe29:0x663,_0x1a9686:0x61a,_0x1ae410:0x587,_0x38c2b5:0x3b2,_0x36d3bd:0x401,_0x5baab9:0x5e8,_0xf85b19:0x680,_0x340f5e:0x294,_0x28217f:0x2e3,_0x47908a:0x2b7},_0x4250aa={_0x4c60c2:0x9d,_0x8325fe:0x25e,_0x222353:0x251,_0x51026f:0x3a2,_0x2a3247:0xa,_0x2f440:0x29,_0x22e431:0xf0,_0x353a3a:0x1c7},_0x32a9ab={_0xc93a08:0x1f9,_0x52827e:0x36,_0x54da6f:0x30b,_0x32fd39:0x1cf,_0x494d90:0x38,_0x350a22:0x13e,_0x530041:0x47,_0x114fc0:0x18d,_0x3d21f7:0x4,_0x359efc:0x121,_0x1be196:0x1ce,_0x1ddeda:0x4a,_0x23de49:0x168,_0x3b02f0:0x3c,_0x3f4d3a:0xfb,_0x246e22:0x2cb,_0x252deb:0x8d,_0x36519b:0x6e,_0x40c2ce:0x15b,_0x5e8670:0x67,_0xd00050:0x1ec,_0x83d3bd:0x4a5,_0x455d4f:0x256,_0x24490d:0x1b3,_0x2076ef:0x304,_0xb01b45:0x26b,_0x14a0dc:0x3d2,_0x48c05f:0x185,_0x2aecc4:0xa9,_0x1c08f9:0x6e,_0x4ac312:0x21,_0x5a796c:0x156,_0x546b8c:0x8e,_0x56cdeb:0x1b5,_0x210540:0x111,_0x1200fd:0xe5,_0x1e7713:0x25a,_0x24354a:0x45,_0xa1de38:0x6b,_0x2828d6:0x19d,_0x4cc901:0x159,_0x4a3e27:0x51,_0x3143e7:0x135,_0x2b0de6:0x2d5,_0x23a788:0x76,_0x553bda:0x391,_0x1ab9f1:0xe6,_0x1b4d64:0x3a9,_0x3f259f:0x59,_0x28efb7:0x1a3,_0x45ef44:0x2ca,_0x977326:0x3b2,_0x4b301d:0x194,_0x26fa50:0x294},_0x5c2469={_0x27ba36:0x9b},_0x4f1530={_0x495ca3:0x1e};function _0x43ebbf(_0x1c8076,_0x42664e,_0x572dd1,_0x4fd40b){return _0x577062(_0x1c8076-0x1eb,_0x572dd1,_0x572dd1-0x152,_0x4fd40b-0x4f3);}const _0x4fd2d3=Date[_0x3c4807(0x605,0x5b2,_0x2e277c._0x2bcb52,0x5cb)]();function _0x3c4807(_0x10d17c,_0x45a642,_0x2a21bf,_0x5b0a10){return _0x577062(_0x10d17c-0x1db,_0x5b0a10,_0x2a21bf-_0x4f1530._0x495ca3,_0x10d17c-0x635);}const _0x49c5b0=_0x2afc3b[_0x43ebbf(_0x2e277c._0x2ffc13,_0x2e277c._0x487e21,_0x2e277c._0x5046de,_0x2e277c._0xf88d42)];if(_0x240a27?.[_0x3c4807(0x7d4,_0x2e277c._0x20c886,0x8af,0x87d)])return{'status':'error','result':_0x43ebbf(_0x2e277c._0x4a7686,0x3ea,0x2eb,_0x2e277c._0x17a084),'metadata':{'agentId':_0x49c5b0,'agentName':_0x2afc3b[_0x43ebbf(_0x2e277c._0x258dcf,0x14c,_0x2e277c._0x1cbcdb,0x36f)],'toolCallsExecuted':0x0,'executionTimeMs':0x0,'errorMessage':_0x3c4807(_0x2e277c._0x1b7600,_0x2e277c._0x34c5d0,_0x2e277c._0x34a968,0x575)}};const _0x11aefa=_0x2afc3b[_0x43ebbf(_0x2e277c._0x228165,_0x2e277c._0x555ebc,_0x2e277c._0x42b3d3,0x322)]??0x0;if(_0x11aefa>=MAX_DELEGATION_DEPTH)return{'status':_0x43ebbf(_0x2e277c._0x54c9ed,0x6dc,0x82f,_0x2e277c._0x412777),'result':_0x3c4807(0x3db,_0x2e277c._0x5d2cb3,_0x2e277c._0x5ade5a,_0x2e277c._0x7b4b7f)+MAX_DELEGATION_DEPTH+_0x3c4807(0x4fd,_0x2e277c._0x4d200d,0x3ef,0x6a1),'metadata':{'agentId':_0x49c5b0,'agentName':_0x2afc3b[_0x43ebbf(0x351,_0x2e277c._0x43f04e,0x1a1,0x36f)],'toolCallsExecuted':0x0,'executionTimeMs':Date['now']()-_0x4fd2d3,'errorMessage':_0x3c4807(_0x2e277c._0x5a293a,_0x2e277c._0x478135,0x63d,_0x2e277c._0x392472)}};const _0x57523f=_0x2afc3b[_0x3c4807(_0x2e277c._0x32b8da,0x31d,_0x2e277c._0x1da859,0x252)]??'unknown';this['stateManager'][_0x3c4807(0x5e4,0x509,0x71e,_0x2e277c._0x5a4176)](_0x57523f,_0x2afc3b[_0x43ebbf(0x15c,0x2af,0x549,_0x2e277c._0x2af7b8)]??_0x43ebbf(_0x2e277c._0x583224,_0x2e277c._0x520cb2,_0x2e277c._0x3ab9bd,0x3d8),_0x2afc3b['taskDescription']),this[_0x43ebbf(_0x2e277c._0x52ff96,0x3fc,0x1d1,_0x2e277c._0x21a910)][_0x3c4807(_0x2e277c._0x52c8d2,0x1dd,0x3d4,0x1d4)](_0x49c5b0,{'state':_0x3c4807(0x72c,0x5f2,_0x2e277c._0x284db1,_0x2e277c._0x5bef90)}),await this[_0x43ebbf(-0x30,_0x2e277c._0x132e77,0x52,_0x2e277c._0x760846)]?.({'type':AgentEventTypes['SubAgentStarted'],'conversationId':_0x2afc3b[_0x3c4807(_0x2e277c._0x436bbe,_0x2e277c._0x183138,_0x2e277c._0x5d4557,_0x2e277c._0x1cccb4)]??_0x43ebbf(0x2cc,0x2e1,_0x2e277c._0x101864,_0x2e277c._0x55df5d),'messageId':_0x2afc3b[_0x3c4807(_0x2e277c._0x3d9315,0x6dd,_0x2e277c._0x3b6574,_0x2e277c._0x1edd1d)]??'','agentId':_0x2afc3b[_0x3c4807(0x6fa,_0x2e277c._0x136604,_0x2e277c._0x164d13,0x890)],'agentName':_0x2afc3b[_0x43ebbf(0x26b,_0x2e277c._0x3a81f3,_0x2e277c._0x332a1e,0x36f)],'toolCallId':_0x2afc3b[_0x3c4807(_0x2e277c._0x5e6aba,_0x2e277c._0x1f7d53,_0x2e277c._0xc75c,0x629)]??''});const _0xdcb7a=_0x3c4807(0x76d,_0x2e277c._0x1940c9,_0x2e277c._0x31a2d2,0x9a5)+_0x57523f+':'+_0x49c5b0,_0x519aa3=this[_0x43ebbf(_0x2e277c._0x4e53e5,0x53a,_0x2e277c._0x3bf190,0x414)]?this[_0x43ebbf(0x21d,0x56c,0x20d,0x414)](_0xdcb7a):new InMemoryMemory(),_0xbda8ae=new ConversationStore(_0x519aa3),_0x2ea3dd={'createdAt':new Date()[_0x3c4807(0x5ac,0x54b,_0x2e277c._0x119c48,_0x2e277c._0xcf1a88)](),'updatedAt':new Date()[_0x43ebbf(0x562,0x435,_0x2e277c._0x1cc15f,0x46a)](),'messageCount':0x0,'topic':_0x2afc3b[_0x3c4807(_0x2e277c._0x1369c6,_0x2e277c._0x4a8663,_0x2e277c._0x455ccd,_0x2e277c._0x375891)]+':\x20'+_0x2afc3b[_0x3c4807(_0x2e277c._0xbf2cd0,_0x2e277c._0x381181,0x3e4,_0x2e277c._0x9f585e)]['substring'](0x0,0x32)+_0x3c4807(0x62c,_0x2e277c._0x39f850,0x407,_0x2e277c._0x2615ec)};await _0xbda8ae['updateMetadata'](_0x43ebbf(_0x2e277c._0x114128,0x476,0x406,0x3d8),_0x2ea3dd);if(_0x2afc3b[_0x43ebbf(_0x2e277c._0x4dc4bf,_0x2e277c._0x4dce52,_0x2e277c._0x4f72b9,0x542)]&&_0x2afc3b[_0x3c4807(_0x2e277c._0x39f850,_0x2e277c._0x4f099f,_0x2e277c._0x457235,_0x2e277c._0xe0153f)][_0x3c4807(_0x2e277c._0x4fb36e,0x6e1,_0x2e277c._0x4692bf,_0x2e277c._0x5df51e)]>0x0)await _0x519aa3['set'](_0x43ebbf(0x398,0x265,_0x2e277c._0x313d49,0x3d8),_0x2afc3b[_0x43ebbf(0x54e,_0x2e277c._0x3f57e9,0x6fe,0x542)]);else _0x2afc3b[_0x3c4807(_0x2e277c._0x2342b9,_0x2e277c._0x507628,0x759,0x628)]&&_0x2afc3b[_0x3c4807(0x6e9,_0x2e277c._0x2a22b1,0x52f,_0x2e277c._0x37b4c0)]&&_0x2afc3b[_0x3c4807(0x6e9,0x8ca,_0x2e277c._0x4814c7,_0x2e277c._0x8afd88)][_0x43ebbf(0x3c6,0x467,0x410,0x4f6)]>0x0&&await _0x519aa3[_0x43ebbf(0x57b,0x43a,_0x2e277c._0xc53c55,_0x2e277c._0x2f0f5b)]('default',_0x2afc3b[_0x3c4807(0x6e9,_0x2e277c._0x395045,0x6dc,_0x2e277c._0x3e52a9)]);const _0x5d339c=[];this[_0x3c4807(0x3f9,0x30b,_0x2e277c._0x5dd5f0,_0x2e277c._0x54f2b6)][_0x3c4807(_0x2e277c._0x327c63,_0x2e277c._0x4b291e,_0x2e277c._0x14cd25,0x512)](_0x49c5b0,_0x5d339c);const _0x33e8d9={'emit':async _0xe4215d=>{const _0x17cbf1={_0x50c9f4:0x1af};function _0x28dd58(_0xa962f0,_0x55ba05,_0x37bb07,_0x2f4a0b){return _0x43ebbf(_0xa962f0-0x14,_0x55ba05-_0x17cbf1._0x50c9f4,_0xa962f0,_0x2f4a0b- -0x39a);}_0x5d339c[_0x28dd58(-0x301,-_0x32a9ab._0xc93a08,_0x32a9ab._0x52827e,-0x139)](_0xe4215d);function _0x12c5d8(_0x11f307,_0x34c703,_0x2bf28e,_0x46b0c1){return _0x43ebbf(_0x11f307-0xc9,_0x34c703-_0x5c2469._0x27ba36,_0x2bf28e,_0x34c703- -0x4bd);}if(_0xe4215d['type']===AgentEventTypes[_0x12c5d8(_0x32a9ab._0x54da6f,_0x32a9ab._0x32fd39,_0x32a9ab._0x494d90,_0x32a9ab._0x350a22)])for(const _0x1a21ad of _0xe4215d[_0x12c5d8(0xaa,-_0x32a9ab._0x530041,-0xf5,-0x161)]){await this['eventCallback']?.({'type':AgentEventTypes[_0x12c5d8(-_0x32a9ab._0x114fc0,_0x32a9ab._0x3d21f7,-_0x32a9ab._0x359efc,0x24d)],'conversationId':_0x2afc3b['conversationId']??'default','messageId':_0x2afc3b[_0x28dd58(_0x32a9ab._0x1be196,0x30,-_0x32a9ab._0x1ddeda,_0x32a9ab._0x23de49)]??'','agentId':_0x2afc3b[_0x12c5d8(_0x32a9ab._0x3b02f0,_0x32a9ab._0x3f4d3a,_0x32a9ab._0x246e22,-_0x32a9ab._0x252deb)],'toolCallId':_0x1a21ad['id'],'toolName':_0x1a21ad[_0x28dd58(-_0x32a9ab._0x36519b,-_0x32a9ab._0x40c2ce,-0x172,_0x32a9ab._0x5e8670)][_0x28dd58(_0x32a9ab._0xd00050,0x2b2,_0x32a9ab._0x83d3bd,_0x32a9ab._0x455d4f)],'toolArguments':_0x1a21ad[_0x28dd58(0x90,_0x32a9ab._0x24490d,-0x1a,0x67)][_0x12c5d8(_0x32a9ab._0x2076ef,0x1c1,_0x32a9ab._0xb01b45,_0x32a9ab._0x14a0dc)]});}else _0xe4215d[_0x12c5d8(0x27d,_0x32a9ab._0x48c05f,0x26a,0x12c)]===AgentEventTypes[_0x28dd58(_0x32a9ab._0x2aecc4,0x1a7,_0x32a9ab._0x1c08f9,-_0x32a9ab._0x4ac312)]&&await this[_0x12c5d8(-0xc0,-0x299,-0x21d,-0x231)]?.({'type':AgentEventTypes[_0x28dd58(_0x32a9ab._0x5a796c,_0x32a9ab._0x546b8c,_0x32a9ab._0x56cdeb,0xba)],'conversationId':_0x2afc3b['conversationId']??_0x12c5d8(_0x32a9ab._0x210540,-_0x32a9ab._0x1200fd,-_0x32a9ab._0x1e7713,-0x4),'messageId':_0x2afc3b[_0x12c5d8(0x0,_0x32a9ab._0x24354a,_0x32a9ab._0xa1de38,-_0x32a9ab._0x2828d6)]??'','agentId':_0x2afc3b[_0x12c5d8(0x242,0xfb,-_0x32a9ab._0x4cc901,_0x32a9ab._0x4a3e27)],'toolCallId':_0xe4215d[_0x12c5d8(-0x2d2,-_0x32a9ab._0x3143e7,-_0x32a9ab._0x2b0de6,_0x32a9ab._0x23a788)]['id'],'toolName':_0xe4215d[_0x12c5d8(0xbc,-_0x32a9ab._0x3143e7,-0x20e,0x110)][_0x28dd58(_0x32a9ab._0x553bda,_0x32a9ab._0x1ab9f1,_0x32a9ab._0x1b4d64,0x256)],'durationMs':_0xe4215d['result'][_0x28dd58(-_0x32a9ab._0x3f259f,-0xb6,-_0x32a9ab._0x28efb7,-0x11a)]??0x0,'status':_0xe4215d[_0x12c5d8(-0x2c9,-0x135,-_0x32a9ab._0x45ef44,-0x330)][_0x12c5d8(_0x32a9ab._0x977326,_0x32a9ab._0x4b301d,0x135,_0x32a9ab._0x26fa50)]});}},_0x2a6316=this['configResolver']?.()??{},_0x54768e={'id':_0x49c5b0,'systemPrompt':_0x2afc3b[_0x3c4807(_0x2e277c._0x4e2636,0x399,_0x2e277c._0x4b24c8,0x32f)],'temperature':_0x2afc3b[_0x43ebbf(0x36d,_0x2e277c._0x3d877a,_0x2e277c._0x39898f,_0x2e277c._0x159df4)]??this['delegatingConfig'][_0x3c4807(_0x2e277c._0x352fe1,0x425,0x780,0x4f7)],'topP':_0x2afc3b[_0x43ebbf(_0x2e277c._0x5d4756,0x61d,_0x2e277c._0x22c2da,0x63f)]??this[_0x43ebbf(0x303,_0x2e277c._0x253407,0x319,0x3b9)][_0x3c4807(_0x2e277c._0x5971ad,_0x2e277c._0x1d9f4a,_0x2e277c._0x54ceb6,_0x2e277c._0x4ec68f)],'model':_0x2afc3b[_0x3c4807(_0x2e277c._0x1ed3b4,_0x2e277c._0x143279,_0x2e277c._0x1c1216,_0x2e277c._0x967516)]??_0x2a6316['model']??this[_0x43ebbf(_0x2e277c._0x1fe72c,_0x2e277c._0x39441b,0x31b,_0x2e277c._0x9d7bc9)][_0x3c4807(0x423,_0x2e277c._0x498bb1,0x242,0x32a)],'maxTokens':_0x2afc3b['maxTokens']??this[_0x43ebbf(0x3b7,_0x2e277c._0x12c93f,0x5ec,0x3b9)][_0x43ebbf(_0x2e277c._0x87397b,_0x2e277c._0x2b5f75,_0x2e277c._0x295180,0x4c6)],'enabledTools':_0x2afc3b[_0x43ebbf(_0x2e277c._0x2761e6,_0x2e277c._0x2b77c5,0x435,_0x2e277c._0x4a0aa7)],'maxToolConcurrency':this['delegatingConfig'][_0x3c4807(0x4db,0x3e4,0x2ca,_0x2e277c._0x7133e1)],'requireToolApproval':![],'reasoningEffort':_0x2a6316[_0x3c4807(_0x2e277c._0x27baa4,0x567,_0x2e277c._0x1a3c5c,_0x2e277c._0x4a6ea8)]??this[_0x43ebbf(0x32f,_0x2e277c._0x4c19d9,_0x2e277c._0xe7f475,_0x2e277c._0x9d7bc9)][_0x43ebbf(0x451,0x27d,_0x2e277c._0x40f27e,_0x2e277c._0x4f9939)],'thinking':_0x2a6316['thinking']??this[_0x3c4807(0x4fb,_0x2e277c._0xfb52b,0x3ed,_0x2e277c._0x55202f)]['thinking']},_0x1b0608=this['metricsPort']??new InMemoryMetricsPort(_0x2abee9=>{const _0x565b67={_0x1b6b49:0x146},_0x3235c4={_0x158bf1:0x119,_0x1ef5a8:0x187};function _0x52a0a9(_0x5786db,_0x326088,_0x22eb7e,_0x5cbee8){return _0x43ebbf(_0x5786db-0x9e,_0x326088-_0x3235c4._0x158bf1,_0x22eb7e,_0x5786db- -_0x3235c4._0x1ef5a8);}function _0x275752(_0x56fda1,_0x49aafd,_0x5bf5cd,_0x5a35b4){return _0x3c4807(_0x56fda1- -0x63a,_0x49aafd-_0x565b67._0x1b6b49,_0x5bf5cd-0x87,_0x5bf5cd);}this[_0x52a0a9(_0x4250aa._0x4c60c2,0x16,_0x4250aa._0x8325fe,0x282)]?.({'type':AgentEventTypes['SubAgentMetrics'],'conversationId':_0x2afc3b['conversationId']??_0x52a0a9(_0x4250aa._0x222353,0x2f4,_0x4250aa._0x51026f,0x456),'messageId':_0x2afc3b[_0x275752(_0x4250aa._0x2a3247,-_0x4250aa._0x2f440,-_0x4250aa._0x22e431,0xc8)]??'','agentId':_0x2afc3b['agentId'],'toolCallId':_0x2afc3b[_0x275752(0x191,_0x4250aa._0x353a3a,0x7b,0x255)]??'','metrics':_0x2abee9});}),_0x4a9b82=this['resolveLLM'](_0x2afc3b),_0x43142e=new AgentOrchestrator(_0x54768e,{'memory':_0x519aa3,'llm':_0x4a9b82,'tools':this[_0x3c4807(0x597,0x688,_0x2e277c._0x164998,_0x2e277c._0x3db929)],'context':new SimpleContextBuilder(),'ids':new SimpleId(),'clock':new SystemClock(),'cost':new SimpleCost(),'reminders':new NoopReminders(),'events':_0x33e8d9,'metrics':_0x1b0608});this['activeAgents'][_0x43ebbf(0x33d,_0x2e277c._0x17248d,_0x2e277c._0x228165,0x339)](_0x49c5b0,_0x43142e);try{const _0x5485a3=_0x2afc3b[_0x43ebbf(0x214,_0x2e277c._0x490364,0x1cf,_0x2e277c._0x3c0233)]??DEFAULT_TIMEOUT_MS,_0x30b299=await this[_0x3c4807(_0x2e277c._0x2b0430,_0x2e277c._0x1dd4e0,0x495,_0x2e277c._0x4ea789)](_0x43142e,_0x2afc3b['taskDescription'],_0x43ebbf(0x4d1,_0x2e277c._0x390fcf,_0x2e277c._0xbf114,_0x2e277c._0xf9049f),_0x5485a3,_0x240a27,_0x2afc3b[_0x43ebbf(0x380,_0x2e277c._0x3721fc,0x477,_0x2e277c._0x194c69)]),_0x5558f4=Date[_0x43ebbf(_0x2e277c._0x1f2612,_0x2e277c._0x5e1356,0x431,0x4c3)]()-_0x4fd2d3,_0xbeaa13=await _0x519aa3[_0x3c4807(0x42f,0x57e,_0x2e277c._0x450905,0x3df)](_0x43ebbf(_0x2e277c._0x162542,_0x2e277c._0x12d37e,_0x2e277c._0x4b9a34,_0x2e277c._0x55df5d)),_0x3faf7a=_0x5d339c[_0x43ebbf(_0x2e277c._0x38390a,0x53c,_0x2e277c._0x14a0d9,_0x2e277c._0x170f00)](_0x3a4375=>_0x3a4375['type']===_0x43ebbf(0x4db,0x252,0x4b1,0x29e))['length'];let _0x5f326a=0x0;for(const _0x5acab7 of _0x5d339c){_0x5acab7['type']==='done'&&_0x5acab7[_0x3c4807(_0x2e277c._0x4dfd07,_0x2e277c._0x2ea93a,_0x2e277c._0x35f7f0,0x39a)]?.[_0x3c4807(0x5a9,_0x2e277c._0x4a3928,_0x2e277c._0x22837c,0x3de)]&&(_0x5f326a+=_0x5acab7['usage'][_0x3c4807(0x5a9,_0x2e277c._0x5b24bf,0x6af,_0x2e277c._0x39d131)]);}const _0x4b1200=_0x1b0608['getSnapshot']();return await this[_0x3c4807(0x366,0x441,_0x2e277c._0xbeae25,_0x2e277c._0x113ae2)]?.({'type':AgentEventTypes[_0x43ebbf(0x1c0,_0x2e277c._0x46234a,0x2c2,0x221)],'conversationId':_0x2afc3b[_0x3c4807(0x49d,_0x2e277c._0x3cad4f,0x65a,0x6cd)]??_0x3c4807(0x51a,0x665,_0x2e277c._0x5c0216,0x424),'messageId':_0x2afc3b[_0x3c4807(0x644,_0x2e277c._0x53ed30,_0x2e277c._0x4e5810,0x5d9)]??'','agentId':_0x2afc3b[_0x43ebbf(_0x2e277c._0x381bac,0x683,0x726,_0x2e277c._0xf88d42)],'agentName':_0x2afc3b[_0x43ebbf(0x2fa,_0x2e277c._0x173e2c,_0x2e277c._0x1db777,_0x2e277c._0x31a48d)],'status':_0x43ebbf(_0x2e277c._0xf51c52,_0x2e277c._0x42b7ae,_0x2e277c._0x5c40d2,0x5b2),'resultMessage':_0x30b299[_0x43ebbf(_0x2e277c._0x171881,_0x2e277c._0x2d9dd2,_0x2e277c._0x154941,0x52d)]||'','totalDurationMs':_0x5558f4}),await _0xbda8ae[_0x43ebbf(_0x2e277c._0xe20997,0x536,0x62f,0x660)](_0x43ebbf(_0x2e277c._0x3edd7e,_0x2e277c._0x4fb899,0x5ce,_0x2e277c._0x55df5d),{'updatedAt':new Date()['toISOString'](),'messageCount':_0xbeaa13[_0x3c4807(0x638,_0x2e277c._0x790861,_0x2e277c._0x35ea6e,_0x2e277c._0x55fa3a)],'totalTokens':_0x5f326a||_0x30b299['metadata']?.[_0x3c4807(_0x2e277c._0x22866b,_0x2e277c._0x4deac8,0x2c0,0x4a5)],'promptTokens':_0x30b299[_0x3c4807(0x5b9,_0x2e277c._0x272f7,_0x2e277c._0x262a04,0x766)]?.[_0x3c4807(0x410,_0x2e277c._0x4d7bd5,_0x2e277c._0x3e5d67,0x1f4)],'completionTokens':_0x30b299[_0x43ebbf(_0x2e277c._0x3ae07d,_0x2e277c._0x151c0c,_0x2e277c._0x31e683,0x477)]?.['completionTokens'],'toolCallCount':_0x3faf7a,'totalTimeMs':_0x5558f4}),this['stateManager']['update'](_0x49c5b0,{'state':_0x43ebbf(0x44,0x30a,0x44f,_0x2e277c._0x12bcd),'endTime':Date[_0x3c4807(0x605,0x7fc,_0x2e277c._0x11fc43,0x70f)](),'result':_0x30b299[_0x3c4807(_0x2e277c._0x412777,_0x2e277c._0x41f699,0x616,_0x2e277c._0x25c2d9)]||'','metrics':{'tokensUsed':_0x5f326a||_0x30b299['metadata']?.['totalTokens'],'toolCallsExecuted':_0x3faf7a,'executionTimeMs':_0x5558f4}}),{'status':'success','result':_0x30b299[_0x3c4807(0x66f,_0x2e277c._0x3781f3,0x4df,_0x2e277c._0x29c214)]||'','metadata':{'agentId':_0x49c5b0,'agentName':_0x2afc3b[_0x43ebbf(0x4c0,0x5b9,0x5be,0x36f)],'tokensUsed':_0x5f326a||_0x30b299[_0x43ebbf(_0x2e277c._0x3d0fe7,_0x2e277c._0x47eec6,_0x2e277c._0x4a5ab3,_0x2e277c._0x29c067)]?.[_0x43ebbf(0x118,_0x2e277c._0x178397,0x19c,0x2de)],'toolCallsExecuted':_0x3faf7a,'executionTimeMs':_0x5558f4,'conversationHistory':_0xbeaa13,'events':_0x5d339c,'metrics':_0x4b1200,'sessionId':_0x49c5b0}};}catch(_0x32b89f){const _0x3cbc43=Date[_0x3c4807(0x605,_0x2e277c._0x58b54b,0x6d2,_0x2e277c._0x1faa22)]()-_0x4fd2d3,_0x44d373=_0x32b89f instanceof Error?_0x32b89f[_0x3c4807(0x3f6,_0x2e277c._0xd2cc38,_0x2e277c._0x342243,_0x2e277c._0x5b6d05)]:String(_0x32b89f),_0x4aa0fc=_0x32b89f instanceof Error&&_0x32b89f['message'][_0x43ebbf(_0x2e277c._0x44a44b,_0x2e277c._0x56d98d,0x2a6,_0x2e277c._0x1afbb0)](_0x43ebbf(_0x2e277c._0x1b8b45,0x494,0x2b5,_0x2e277c._0x3cf06f)),_0xb5760e=_0x32b89f instanceof Error&&(_0x32b89f[_0x43ebbf(0x2ed,_0x2e277c._0x3cebd8,_0x2e277c._0x3cb93f,_0x2e277c._0x59d021)][_0x43ebbf(_0x2e277c._0x34f755,0x1a7,0x633,_0x2e277c._0x1516bb)](_0x3c4807(0x7d4,0x74c,0x8cf,_0x2e277c._0x3f8f85))||_0x32b89f[_0x43ebbf(0x6f5,0x47e,_0x2e277c._0x2fc440,_0x2e277c._0x5cb0d7)]===_0x43ebbf(0x5b5,0x754,_0x2e277c._0x4b052a,_0x2e277c._0x4efec1)),_0x478f2f=_0x4aa0fc?'timeout':_0xb5760e?_0x43ebbf(0x724,_0x2e277c._0x2d24a0,0x5fc,0x66f):'error';return this[_0x3c4807(0x521,_0x2e277c._0xf2f372,0x4e0,0x4a4)][_0x43ebbf(0x9a,0x4c0,_0x2e277c._0x925804,_0x2e277c._0x1a5419)](_0x49c5b0,{'state':_0x3c4807(_0x2e277c._0x299468,0x645,0x862,_0x2e277c._0x33235d),'endTime':Date['now'](),'error':_0x44d373}),await this[_0x3c4807(_0x2e277c._0x53a2d9,_0x2e277c._0x1d7c84,_0x2e277c._0x18bbf6,_0x2e277c._0x301ddd)]?.({'type':AgentEventTypes['SubAgentCompleted'],'conversationId':_0x2afc3b['conversationId']??_0x43ebbf(_0x2e277c._0x5e9979,_0x2e277c._0x5da0ef,_0x2e277c._0x47e985,_0x2e277c._0x4600d9),'messageId':_0x2afc3b[_0x43ebbf(_0x2e277c._0x2ba079,_0x2e277c._0x40e079,0x711,0x502)]??'','agentId':_0x2afc3b[_0x43ebbf(_0x2e277c._0x36f2ce,0x5b5,0x433,_0x2e277c._0xf88d42)],'agentName':_0x2afc3b[_0x3c4807(0x4b1,0x4fd,0x605,_0x2e277c._0x2b24b9)],'status':_0x478f2f,'resultMessage':_0x44d373,'totalDurationMs':_0x3cbc43}),{'status':_0x478f2f,'result':_0x44d373,'metadata':{'agentId':_0x49c5b0,'agentName':_0x2afc3b['agentName'],'toolCallsExecuted':_0x5d339c[_0x3c4807(0x5ad,0x595,_0x2e277c._0x4bbe29,_0x2e277c._0x1a9686)](_0x12f54c=>_0x12f54c['type']===_0x3c4807(0x3e0,0x438,0x587,0x1dc))[_0x3c4807(0x638,0x644,_0x2e277c._0x1ae410,0x52e)],'executionTimeMs':_0x3cbc43,'errorMessage':_0x44d373,'events':_0x5d339c,'sessionId':_0x49c5b0}};}finally{this[_0x43ebbf(_0x2e277c._0x38c2b5,_0x2e277c._0x36d3bd,0x65c,_0x2e277c._0x5baab9)][_0x43ebbf(0x619,0x4ce,0x60a,_0x2e277c._0xf85b19)](_0x49c5b0),this[_0x43ebbf(_0x2e277c._0x340f5e,_0x2e277c._0x28217f,0x35b,_0x2e277c._0x47908a)]['delete'](_0x49c5b0);}}[_0x577062(0x1cc,0x2b1,0x193,0x178)](_0x2a8372){const _0x13f300={_0x44ef5f:0x2cf,_0x51f862:0x131,_0x391ebf:0x457,_0x223fdf:0x411,_0x3df0bf:0x23e,_0x39d8c4:0x3e7},_0x4a3cda={_0x41a307:0x99};function _0x5cb3fa(_0x582175,_0x450f9c,_0x113719,_0x3d3d4b){return _0x1f0bf6(_0x3d3d4b-0x1f3,_0x113719,_0x113719-0x15d,_0x3d3d4b-_0x4a3cda._0x41a307);}if(!this['llmResolver'])throw new Error('AgentManager\x20requires\x20LLMFactory\x20to\x20create\x20sub-agents.\x20Please\x20provide\x20llmFactory\x20in\x20constructor.');function _0x257751(_0x1c64e5,_0x44ad9f,_0x38ea58,_0x36b2ae){return _0x1f0bf6(_0x1c64e5-0x29,_0x44ad9f,_0x38ea58-0x155,_0x36b2ae-0x114);}return this[_0x257751(_0x13f300._0x44ef5f,_0x13f300._0x51f862,_0x13f300._0x391ebf,_0x13f300._0x223fdf)][_0x257751(_0x13f300._0x3df0bf,0x1f7,0x1f3,_0x13f300._0x39d8c4)](_0x2a8372);}async[_0x1f0bf6(0x3d3,0x5ac,0x1a9,0x576)](_0x404579,_0x7be0c9,_0xe8e188,_0x31f34b,_0x40f687,_0x1a289a){const _0x30834e={_0x71ed17:0x90e,_0x510b62:0xa9a,_0x2c33b5:0x44,_0x3be12e:0x269,_0x3f596a:0x178},_0x4c0865={_0x53fdb3:0x567,_0x4c7409:0x387,_0x4bd6b4:0x1e1,_0x209262:0x373,_0x20ad0e:0x30a,_0x55b5a4:0x2a9,_0x330dcc:0xc4,_0x55c840:0x1c8},_0x41c543={_0x318057:0x52,_0x62b934:0x328},_0x5f5823={_0x46ce9f:0x175,_0x49cd34:0x1bf,_0x1ac7f9:0xfd},_0xcda917={_0x1cf07c:0x1ac,_0x255776:0x486},_0x5cb284={_0x36922b:0x87,_0x145fc8:0xfb};function _0x175ef5(_0x2f1fa0,_0x3aea00,_0x487cab,_0x10949a){return _0x577062(_0x2f1fa0-_0x5cb284._0x36922b,_0x10949a,_0x487cab-_0x5cb284._0x145fc8,_0x487cab-0x6f0);}const _0x60a090=new AbortController(),_0x258ae5=_0x40f687?AbortSignal[_0x175ef5(_0x30834e._0x71ed17,_0x30834e._0x510b62,0x849,0xa1a)]([_0x40f687,_0x60a090[_0x57db33(-_0x30834e._0x2c33b5,0x3c,0x1b9,_0x30834e._0x3be12e)]]):_0x60a090['signal'];let _0x3dcd18;function _0x57db33(_0x440cc4,_0x2f0a55,_0x41bfa8,_0x291be0){return _0x577062(_0x440cc4-_0xcda917._0x1cf07c,_0x440cc4,_0x41bfa8-0xaa,_0x41bfa8-_0xcda917._0x255776);}try{return await Promise[_0x57db33(0x221,0x459,0x351,0x418)]([_0x404579[_0x57db33(0x249,0x20f,0x272,_0x30834e._0x3f596a)](_0x7be0c9,{'conversationId':_0xe8e188,'signal':_0x258ae5,'stream':_0x1a289a}),new Promise((_0x238ef5,_0x53cb79)=>{if(_0x40f687?.[_0x1fb9cb(0x4c4,0x336,_0x4c0865._0x53fdb3,0x623)]){_0x53cb79(new Error(_0x1fb9cb(_0x4c0865._0x4c7409,0x389,_0x4c0865._0x4bd6b4,0x337)));return;}function _0x15f940(_0x3745e3,_0x4f9f83,_0x360bb0,_0x34a652){return _0x57db33(_0x4f9f83,_0x4f9f83-_0x5f5823._0x46ce9f,_0x3745e3-_0x5f5823._0x49cd34,_0x34a652-_0x5f5823._0x1ac7f9);}function _0x1fb9cb(_0x3c6373,_0x8e7e55,_0xab388a,_0x349bab){return _0x175ef5(_0x3c6373-_0x41c543._0x318057,_0x8e7e55-0xdf,_0xab388a- -_0x41c543._0x62b934,_0x349bab);}_0x40f687?.[_0x1fb9cb(_0x4c0865._0x209262,0x500,_0x4c0865._0x20ad0e,_0x4c0865._0x55b5a4)](_0x1fb9cb(_0x4c0865._0x330dcc,0x32b,_0x4c0865._0x55c840,-0xf),()=>_0x53cb79(new Error(_0x1fb9cb(0x2e6,-0x6e,0x1e1,0x365))),{'once':!![]});}),new Promise((_0x6cdd6c,_0x44a0e7)=>{const _0x15eab4={_0x1af09f:0x286,_0x467b88:0x91};_0x3dcd18=setTimeout(()=>{function _0x1b013b(_0xdbbf55,_0x2a6449,_0x8a61ea,_0x2c4de6){return _0x13d4(_0x8a61ea- -0xec,_0x2c4de6);}_0x60a090['abort'](),_0x44a0e7(new Error(_0x1b013b(0x3a3,0x129,_0x15eab4._0x1af09f,_0x15eab4._0x467b88)+_0x31f34b+'ms'));},_0x31f34b);})]);}finally{if(_0x3dcd18)clearTimeout(_0x3dcd18);}}[_0x577062(0x1a2,-0x1b4,-0x88,-0x40)](){const _0x384e9e={_0x3d7a40:0x2b6,_0x1dc4fa:0x248,_0x4ecce0:0x35c,_0x7e1376:0x712,_0x2d4677:0x7cf,_0x247c8d:0x6a2},_0x4b731b={_0x5b01c0:0x15},_0x485f40={_0x29705c:0x3aa};function _0x22fcde(_0xeb088f,_0x1c65e9,_0x3fb609,_0x382a8e){return _0x1f0bf6(_0x1c65e9-_0x485f40._0x29705c,_0x382a8e,_0x3fb609-0xac,_0x382a8e-0xde);}function _0x459f77(_0x35de56,_0x544573,_0x5c5a53,_0x5cf810){return _0x1f0bf6(_0x5cf810- -0x148,_0x5c5a53,_0x5c5a53-_0x4b731b._0x5b01c0,_0x5cf810-0xe7);}return this[_0x459f77(_0x384e9e._0x3d7a40,0x147,_0x384e9e._0x1dc4fa,_0x384e9e._0x4ecce0)][_0x22fcde(_0x384e9e._0x7e1376,0x74f,_0x384e9e._0x2d4677,_0x384e9e._0x247c8d)];}[_0x577062(-0x31c,-0x7e,-0x297,-0x227)](_0x4d711c){const _0x2ebc42={_0x19e389:0x4af,_0x1f218d:0x52a},_0x57b34b={_0xc7992e:0xe3};function _0xbba4a1(_0x54dfe1,_0x5804ff,_0x1061a1,_0x11d222){return _0x1f0bf6(_0x5804ff-0x259,_0x11d222,_0x1061a1-_0x57b34b._0xc7992e,_0x11d222-0x10f);}return this['eventCollectors'][_0xbba4a1(_0x2ebc42._0x19e389,0x402,_0x2ebc42._0x1f218d,0x42e)](_0x4d711c);}[_0x1f0bf6(0x179,0x139,0xf,0x133)](){const _0x39d275={_0x5e6d98:0x3ae,_0x328c31:0x411,_0x893667:0x20c,_0x482241:0x55f,_0x549cad:0x696,_0x54d38f:0x450,_0x12b454:0xb2,_0x1862ef:0xf5,_0x3c627f:0xe0,_0x4ecc90:0x17},_0xb36f83={_0x5b8da0:0xad,_0x1cbbb5:0xd0},_0x25c97c={_0x819407:0xc8};function _0x1ef0ae(_0xe6ee46,_0x2434e7,_0x5105bf,_0x4dd92a){return _0x1f0bf6(_0x5105bf- -0x93,_0xe6ee46,_0x5105bf-0x49,_0x4dd92a-_0x25c97c._0x819407);}function _0x4fc8c3(_0x3aecf0,_0x54f78b,_0x300de5,_0x24853a){return _0x1f0bf6(_0x3aecf0-0x3c7,_0x300de5,_0x300de5-_0xb36f83._0x5b8da0,_0x24853a-_0xb36f83._0x1cbbb5);}this[_0x1ef0ae(_0x39d275._0x5e6d98,0x372,_0x39d275._0x328c31,_0x39d275._0x893667)][_0x4fc8c3(_0x39d275._0x482241,_0x39d275._0x549cad,_0x39d275._0x54d38f,0x4b2)](),this[_0x1ef0ae(_0x39d275._0x12b454,-_0x39d275._0x1862ef,_0x39d275._0x3c627f,-_0x39d275._0x4ecc90)]['clear']();}[_0x577062(0xd7,-0x9b,-0x2d9,-0xa4)](){const _0x15b34a={_0x462bc2:0x3,_0x99243a:0x215},_0x2b8048={_0x3a8a31:0x86};function _0x41d254(_0x4f0edf,_0x4f1c4f,_0x68628b,_0x26232a){return _0x1f0bf6(_0x4f1c4f- -_0x2b8048._0x3a8a31,_0x4f0edf,_0x68628b-0x1e4,_0x26232a-0x49);}return this[_0x41d254(-_0x15b34a._0x462bc2,_0x15b34a._0x99243a,0x5a,0x376)];}},AgentManagerCommandRunner=class{constructor(_0x438f7b,_0x5a1173,_0xd2fed0,_0x18227b,_0x525e97,_0xfbdad){const _0x3ce798={_0x9f9caa:0xc3,_0x33eb62:0x2bc,_0x53c4e9:0x2f1,_0x5e7a0d:0x246,_0x32af4f:0x2b2,_0x5806b3:0x1ea,_0x20cbc0:0x254,_0x46e4b8:0x42},_0xd71d7d={_0x467e46:0x74},_0x5cbb34={_0x3972a3:0x29,_0x210340:0x95};this['delegatingConfig']=_0x438f7b,this[_0xb5035b(-_0x3ce798._0x9f9caa,0xf9,_0x3ce798._0x33eb62,0x95)]=_0x5a1173,this[_0xb5035b(0xfe,_0x3ce798._0x53c4e9,_0x3ce798._0x5e7a0d,_0x3ce798._0x32af4f)]=_0xd2fed0,this[_0xb5035b(0x40c,_0x3ce798._0x5806b3,0x19,_0x3ce798._0x20cbc0)]=_0x18227b;function _0x313d57(_0x172543,_0x24b38a,_0x4a9c05,_0xe633cb){return _0x1f0bf6(_0xe633cb- -0x173,_0x4a9c05,_0x4a9c05-_0x5cbb34._0x3972a3,_0xe633cb-_0x5cbb34._0x210340);}function _0xb5035b(_0x1f893c,_0x40ba76,_0x51deae,_0x3dde01){return _0x577062(_0x1f893c-_0xd71d7d._0x467e46,_0x40ba76,_0x51deae-0x1ba,_0x3dde01-0x133);}this[_0x313d57(_0x3ce798._0x46e4b8,0x1ba,0x1a5,0x15d)]=_0x525e97,this['metricsPort']=_0xfbdad;}async[_0x577062(-0xaa,0x167,-0xde,0x9)](_0x568263,_0x3ad579){const _0x5b668e={_0x5d5769:0xf8,_0x54e846:0x2c0,_0x527a17:0x142,_0x229817:0xf,_0x1ffe2e:0x4c6,_0x42db97:0xa7,_0x596c33:0x1ef,_0x2582f0:0x2a0,_0x4beeae:0x11,_0x931b2e:0x4a,_0x42576a:0x26,_0x4da5e7:0x1e7},_0x5b1d92={_0x5bd65b:0x1a1,_0xfb1e4e:0xaf},_0x544af0={_0x4c9062:0x49,_0xba78e8:0x122},_0x4e9b01=_0x3ad579?.['eventPort'],_0x288798=_0x3ad579?.[_0x58fe6d(-_0x5b668e._0x5d5769,-0x1a9,-_0x5b668e._0x54e846,_0x5b668e._0x527a17)];function _0xfbf35a(_0xb2b65d,_0x51f969,_0x2fb5c1,_0x2f22a8){return _0x1f0bf6(_0x51f969- -0x2e1,_0x2fb5c1,_0x2fb5c1-_0x544af0._0x4c9062,_0x2f22a8-_0x544af0._0xba78e8);}const _0x71bbe2=new AgentManager(this['delegatingConfig'],this[_0xfbf35a(-_0x5b668e._0x229817,0x30,-0x14c,0xd5)],this[_0x58fe6d(0x354,_0x5b668e._0x1ffe2e,0x2f9,0x47a)],_0x4e9b01?_0x519af2=>_0x4e9b01[_0xfbf35a(0xd2,0x1f5,0x43e,0x371)](_0x519af2):void 0x0,this[_0xfbf35a(_0x5b668e._0x42db97,_0x5b668e._0x596c33,0x3b2,_0x5b668e._0x2582f0)],this[_0xfbf35a(0x21d,-_0x5b668e._0x4beeae,-_0x5b668e._0x931b2e,-_0x5b668e._0x42576a)],this['metricsPort']);function _0x58fe6d(_0x229389,_0x223e55,_0x26f8cd,_0x3467fc){return _0x577062(_0x229389-_0x5b1d92._0x5bd65b,_0x26f8cd,_0x26f8cd-_0x5b1d92._0xfb1e4e,_0x229389-0x1d5);}return _0x71bbe2[_0xfbf35a(-_0x5b668e._0x4da5e7,-0x4a,-0x15c,-0x147)](_0x568263,_0x288798);}},DEFAULT_DELEGATION_DEPTH=0x0;function evaluatePolicy(_0x599137,_0x49491c){const _0x109509={_0x546cc8:0x620,_0x49f9ff:0x284,_0x1d95a3:0x2d8,_0x2b30dc:0x2f5,_0x51f867:0x341,_0x5f5d6a:0x24d},_0x1aa99c={_0x3b1f9b:0x32},_0x4de799={_0x4478a5:0x582},_0x443144=_0x599137['id'];function _0x1fd7d0(_0x5826d9,_0x59d1f1,_0x1eb5f9,_0x22367d){return _0x577062(_0x5826d9-0xf8,_0x22367d,_0x1eb5f9-0xbf,_0x1eb5f9-_0x4de799._0x4478a5);}if(!_0x443144)return{'allowed':![],'reason':_0x193879(0x871,0x571,_0x109509._0x546cc8,0x4a1)};function _0x193879(_0x3a76d2,_0x495888,_0x393589,_0x25ce8c){return _0x577062(_0x3a76d2-0x1d0,_0x495888,_0x393589-_0x1aa99c._0x3b1f9b,_0x393589-0x57f);}const _0x18c7d2=_0x49491c[_0x443144];if(_0x18c7d2===![])return{'allowed':![],'reason':_0x193879(_0x109509._0x49f9ff,_0x109509._0x1d95a3,_0x109509._0x2b30dc,_0x109509._0x51f867)+_0x443144+_0x1fd7d0(0x668,_0x109509._0x5f5d6a,0x44e,0x606)};return{'allowed':!![]};}function formatSuccess(_0x1364e7,_0x31f61f){const _0x1ec61e={_0x431034:0x20b,_0xa6162a:0x39f,_0x532d2f:0x82,_0x2a9ae9:0x2a4,_0x1fb4eb:0x581,_0x256507:0x6e5,_0x56ab38:0x49d,_0x23bc82:0x766,_0x2f23ca:0xa4f,_0x29b454:0x819,_0x5e00a7:0x489,_0x2c4798:0x37a,_0x5df3fb:0x1b9,_0x2d3d20:0x6cf,_0x119a7a:0x737,_0x4db114:0x80e,_0x2d0309:0x325,_0x41f612:0x144,_0x46e478:0xc1,_0x121c59:0x68c,_0x2518ad:0x231,_0x247b0c:0x51b,_0x42d70c:0x3f5},_0x5edd47={_0x165586:0x39c,_0x2f1e1f:0x2b,_0x487a34:0x80},_0x4940c1={_0x18b220:0x93};function _0x279f4a(_0x5d778d,_0x5b70a6,_0x2a401b,_0x4b40f6){return _0x577062(_0x5d778d-0x1d8,_0x4b40f6,_0x2a401b-_0x4940c1._0x18b220,_0x5b70a6-0x3f6);}function _0x19dee4(_0x5a82e9,_0x290e6d,_0x218390,_0x15a062){return _0x1f0bf6(_0x5a82e9-_0x5edd47._0x165586,_0x290e6d,_0x218390-_0x5edd47._0x2f1e1f,_0x15a062-_0x5edd47._0x487a34);}return{'summary':_0x31f61f[_0x279f4a(_0x1ec61e._0x431034,0x28b,_0x1ec61e._0xa6162a,_0x1ec61e._0x532d2f)],'metadata':{'agentId':_0x1364e7,'agentName':_0x31f61f[_0x279f4a(_0x1ec61e._0x2a9ae9,0x37a,0x289,_0x1ec61e._0x1fb4eb)][_0x19dee4(0x5c7,_0x1ec61e._0x256507,_0x1ec61e._0x56ab38,_0x1ec61e._0x23bc82)],'status':_0x31f61f[_0x19dee4(0x8a9,_0x1ec61e._0x2f23ca,_0x1ec61e._0x29b454,0x9ec)],'executionTimeMs':_0x31f61f[_0x279f4a(_0x1ec61e._0x5e00a7,_0x1ec61e._0x2c4798,0x25f,_0x1ec61e._0x5df3fb)][_0x279f4a(0x2a7,0x2e6,0x1a3,0x336)],'toolCallsExecuted':_0x31f61f[_0x19dee4(_0x1ec61e._0x2d3d20,0x8db,_0x1ec61e._0x119a7a,_0x1ec61e._0x4db114)][_0x279f4a(_0x1ec61e._0x2d0309,0x25d,_0x1ec61e._0x41f612,_0x1ec61e._0x46e478)],'tokensUsed':_0x31f61f[_0x19dee4(0x6cf,0x72e,_0x1ec61e._0x121c59,0x63d)]['tokensUsed'],'metrics':_0x31f61f[_0x279f4a(0x390,0x37a,0x5c0,_0x1ec61e._0x2518ad)][_0x19dee4(0x492,_0x1ec61e._0x247b0c,_0x1ec61e._0x42d70c,0x422)]}};}function formatError(_0x4729f5){const _0x4e9777={_0x2a43b2:0x230},_0x49985a={_0x52ccd8:0x119};if(_0x4729f5 instanceof Error)return _0x4729f5[_0x9abcb(0x522,_0x4e9777._0x2a43b2,0x40d,0x30e)];function _0x9abcb(_0x1c02ad,_0x3a0ab9,_0x1fa752,_0x3e90ac){return _0x1f0bf6(_0x1fa752-0x29d,_0x1c02ad,_0x1fa752-0x76,_0x3e90ac-_0x49985a._0x52ccd8);}return String(_0x4729f5);}var DefaultDelegationService=class{constructor(_0x2ad9c0,_0xed4043,_0x25397e){const _0x24c512={_0x4a6cda:0x260,_0x3ff06f:0x3db,_0x5c3964:0x33c,_0x2d8f80:0x25},_0xa64b3={_0x4af74a:0x10e,_0x572a1a:0x27},_0x170c85={_0x1ec1fc:0x101,_0x3ae04d:0x81,_0x382ce8:0x6ae};function _0xafa1e4(_0x1a6742,_0x2e4fda,_0x2a4bdf,_0x28f5f2){return _0x577062(_0x1a6742-_0x170c85._0x1ec1fc,_0x28f5f2,_0x2a4bdf-_0x170c85._0x3ae04d,_0x2a4bdf-_0x170c85._0x382ce8);}this['catalog']=_0x2ad9c0,this[_0x4e7445(_0x24c512._0x4a6cda,0x557,_0x24c512._0x3ff06f,_0x24c512._0x5c3964)]=_0xed4043;function _0x4e7445(_0x250c22,_0x1f9904,_0x2a3ed9,_0x516767){return _0x1f0bf6(_0x2a3ed9- -_0xa64b3._0x4af74a,_0x1f9904,_0x2a3ed9-_0xa64b3._0x572a1a,_0x516767-0x110);}this[_0x4e7445(0x260,0xa0,0x114,-_0x24c512._0x2d8f80)]=_0x25397e;}['enabledAgents']={};[_0x1f0bf6(0x3d2,0x2d2,0x369,0x450)]=new Map();['setEnabledAgents'](_0x3f5fba){this['enabledAgents']=_0x3f5fba;}[_0x577062(0x3ac,0x3bf,0x3e1,0x197)](){const _0x2b7eb1={_0x5a8011:0x2a2,_0x174767:0x86e,_0x2362e8:0x577,_0xdfb701:0x578,_0x3568c0:0x81f,_0x43d76a:0x80e},_0x4e8bb0={_0x9fc8c6:0x145},_0x686b95={_0x530b80:0x1e6};function _0x48ea56(_0x597312,_0x433083,_0x419dd1,_0x5e16c5){return _0x577062(_0x597312-_0x686b95._0x530b80,_0x5e16c5,_0x419dd1-0xaa,_0x433083-0x65b);}function _0x212915(_0x55573f,_0x4e4568,_0x56209a,_0x2e836a){return _0x1f0bf6(_0x2e836a- -0xcf,_0x56209a,_0x56209a-0x139,_0x2e836a-_0x4e8bb0._0x9fc8c6);}return this[_0x212915(0x390,_0x2b7eb1._0x5a8011,0x3b4,0x2f4)][_0x48ea56(_0x2b7eb1._0x174767,0x787,_0x2b7eb1._0x2362e8,_0x2b7eb1._0xdfb701)]()[_0x48ea56(_0x2b7eb1._0x3568c0,0x5d3,_0x2b7eb1._0x43d76a,0x416)](_0x5354bf=>!_0x5354bf['id']||this[_0x48ea56(0x624,0x42a,0x40f,0x532)][_0x5354bf['id']]!==![]);}async[_0x1f0bf6(0x349,0x2ea,0x2f7,0x4fe)](_0x441b89,_0x4d9332){const _0x15e8b9={_0xd3a52e:0x1d9,_0x47889f:0x454,_0x40d8b0:0x2cf,_0x4edbbf:0x2b3,_0x438065:0xc4,_0x186d85:0x126,_0xa6cdf:0x21a,_0x2ad5b2:0x3f7,_0x1e9ee3:0x31e,_0x898def:0x1b7,_0x142c80:0x172,_0x302e44:0x41c,_0x49828b:0x2b9,_0x36a1ff:0x43f,_0x38ca86:0x264,_0x3a22c1:0x40,_0x4f0934:0x2e1,_0x1c5b05:0x3fa,_0x21611a:0x277,_0x512af0:0xd7,_0x3634a6:0x2b,_0x2fad26:0x264,_0x266295:0x20a,_0x4c7817:0x10,_0x5ec0ce:0x428,_0x191a6f:0x1cd,_0x5340e1:0x184,_0x47272a:0x1a4,_0x314357:0x10b,_0x37face:0xf9,_0x1546de:0xd9,_0x236dae:0xe,_0x5e242b:0xe2,_0x4b9592:0x319,_0x35fbac:0x46c,_0x3830dc:0x29e,_0x43f738:0xc5,_0x3a9125:0x79,_0x33617f:0x12c,_0x303c12:0x2a1,_0x221cc0:0x2d3,_0x4cb8f0:0x364,_0x34fa6f:0x284,_0x9b8b17:0x5c5,_0x48797f:0x382,_0x565fc6:0x208,_0x56eae3:0x428,_0x4f6750:0x2ed,_0xe00804:0x91,_0x5a5702:0xab,_0x23f73a:0x22a,_0x866cf6:0xc6,_0x590ee0:0x7b,_0x2a3aba:0x10e},_0x2b25dd={_0x191594:0xf6,_0x364708:0x153},_0x1c49e3={_0x5f2550:0x111};function _0x5386e1(_0x3fbbf5,_0x39d99f,_0x54e536,_0x2827a4){return _0x1f0bf6(_0x54e536- -0x1a9,_0x39d99f,_0x54e536-_0x1c49e3._0x5f2550,_0x2827a4-0x19b);}const _0x2e2582=this[_0x3324c9(_0x15e8b9._0xd3a52e,0x2a3,0x2de,_0x15e8b9._0x47889f)][_0x3324c9(_0x15e8b9._0x40d8b0,_0x15e8b9._0x4edbbf,_0x15e8b9._0x438065,-0xe4)](_0x441b89['agent']);function _0x3324c9(_0x44e6d2,_0x419b3e,_0x22834d,_0x4eabb7){return _0x577062(_0x44e6d2-_0x2b25dd._0x191594,_0x4eabb7,_0x22834d-_0x2b25dd._0x364708,_0x22834d-0x2ca);}if(!_0x2e2582){const _0x2421fd=this[_0x5386e1(0x266,_0x15e8b9._0x186d85,_0x15e8b9._0xa6cdf,0x3ac)][_0x3324c9(_0x15e8b9._0x2ad5b2,_0x15e8b9._0x1e9ee3,0x3f6,0x46f)]()[_0x5386e1(0x93,_0x15e8b9._0x898def,0x20b,0x2ac)](_0xb79c40=>_0xb79c40['id'])['filter'](Boolean)[_0x3324c9(_0x15e8b9._0x142c80,_0x15e8b9._0x302e44,_0x15e8b9._0x49828b,_0x15e8b9._0x36a1ff)](',\x20');return{'success':![],'error':_0x3324c9(_0x15e8b9._0x38ca86,-0x1a2,_0x15e8b9._0x3a22c1,0xb1)+_0x441b89[_0x3324c9(_0x15e8b9._0x4f0934,0x4b6,_0x15e8b9._0x1c5b05,0x2c8)]+'\x22\x20not\x20found\x20in\x20registry.\x20Available\x20agents:\x20'+_0x2421fd};}const _0x240b41=evaluatePolicy(_0x2e2582,this[_0x5386e1(-_0x15e8b9._0x21611a,_0x15e8b9._0x512af0,-_0x15e8b9._0x3634a6,-_0x15e8b9._0x2fad26)]);if(!_0x240b41['allowed'])return{'success':![],'error':_0x240b41[_0x3324c9(_0x15e8b9._0x266295,-_0x15e8b9._0x4c7817,0x21b,_0x15e8b9._0x5ec0ce)]??_0x3324c9(_0x15e8b9._0x191a6f,0xac,_0x15e8b9._0x5340e1,0x27d)};const _0x13998d=typeof _0x4d9332?.[_0x3324c9(_0x15e8b9._0x47272a,_0x15e8b9._0x314357,_0x15e8b9._0x37face,-_0x15e8b9._0x1546de)]===_0x5386e1(-0xca,-0x13f,_0x15e8b9._0x236dae,-_0x15e8b9._0x5e242b)?_0x4d9332['delegationDepth']:DEFAULT_DELEGATION_DEPTH,_0x218dbf=await this[_0x3324c9(_0x15e8b9._0x4b9592,_0x15e8b9._0x35fbac,0x404,0x3ff)]['create']({'template':_0x2e2582,'params':_0x441b89,'context':_0x4d9332,'currentDepth':_0x13998d});try{const _0x5922fa=await this[_0x5386e1(_0x15e8b9._0x3830dc,_0x15e8b9._0x43f738,_0x15e8b9._0x3a9125,_0x15e8b9._0x33617f)][_0x3324c9(0x4a6,_0x15e8b9._0x303c12,_0x15e8b9._0x221cc0,0x51c)](_0x218dbf,_0x4d9332);if(_0x5922fa[_0x5386e1(0x59e,0x240,_0x15e8b9._0x4cb8f0,0x25a)]===_0x5386e1(_0x15e8b9._0x34fa6f,_0x15e8b9._0x9b8b17,_0x15e8b9._0x48797f,0x401)||_0x5922fa[_0x3324c9(_0x15e8b9._0x565fc6,0x475,_0x15e8b9._0x56eae3,_0x15e8b9._0x4f6750)]===_0x5386e1(-_0x15e8b9._0xe00804,0x1f6,_0x15e8b9._0x5a5702,_0x15e8b9._0x23f73a))return{'success':![],'error':_0x5922fa[_0x5386e1(0x21a,-0x18,0x9b,-0x1a2)]};const {summary:_0x43aa6c,metadata:_0x4e19d6}=formatSuccess(_0x441b89['agent'],_0x5922fa);return{'success':!![],'summary':_0x43aa6c,'metadata':{..._0x4e19d6,'sessionId':_0x5922fa[_0x5386e1(0x24b,0x36c,0x18a,0x55)]['sessionId']}};}catch(_0x5c0eb8){return{'success':![],'error':_0x3324c9(_0x15e8b9._0x866cf6,_0x15e8b9._0x590ee0,0x26b,_0x15e8b9._0x2a3aba)+formatError(_0x5c0eb8)};}}async[_0x577062(-0x2cd,-0xa7,-0x34c,-0x1a0)](_0x26256f,_0x70eb45){const _0x3f59be={_0x16b3e3:0x16c,_0x54d6ed:0x1ae,_0x516f61:0x87,_0x2aa932:0xc5,_0x4c6eeb:0x97,_0x242e9f:0x312,_0x3274d1:0x345,_0x1c5dfd:0x412,_0xae0c07:0x257,_0x3319a9:0xf2,_0x9b6245:0x1db,_0x4ef16c:0x25,_0x57a5a8:0x2ff,_0x4a6bb1:0x5c,_0x1f3e41:0xfa,_0x29e9ea:0xbc,_0x4918e7:0x265,_0x1b6ad0:0x95,_0x40739d:0x1a3,_0x1cb3dc:0xbf,_0xb023e0:0x74,_0x288257:0x23c,_0x3e6fa0:0x21d,_0x4b9ada:0x352,_0x4c8e12:0x503,_0x5b58ee:0x122,_0x3e9103:0x100,_0x5231b8:0x223,_0x5869a6:0x12,_0x4fb417:0x296,_0x4db2c2:0xde,_0x1592fd:0x1cd,_0x919211:0x2b0,_0x4326e4:0x2b7,_0x326abb:0xde,_0x5bc995:0x300,_0x1d1920:0xd3,_0x3a1a79:0x62},_0xcaba20={_0x5d3aa1:0x1d5,_0x3f06c3:0x28d},_0x4fbd56={_0x31f253:0x8ce,_0xa07598:0xa96,_0x2453c8:0x7b8,_0x47ea7d:0x8e7,_0x5d32f2:0xa20,_0xd4b824:0x76b,_0x4a3c8f:0x9cf,_0x595574:0x562,_0x3da567:0x5bc,_0x5d733c:0x5df,_0x42c320:0x975,_0x41f076:0x87a,_0x46bf6c:0x800,_0x1b63ea:0x502,_0x1aa97e:0x60d,_0x323b29:0x7db,_0x47b84b:0x6bd},_0x510269={_0x15e546:0x4de,_0x29b60f:0x161},_0x5f7b39={_0x53bbc1:0x215},_0x33ebc5=this[_0x4a6bcb(_0x3f59be._0x16b3e3,0x229,0x2fc,_0x3f59be._0x54d6ed)][_0x5d4812(_0x3f59be._0x516f61,-_0x3f59be._0x2aa932,0x164,_0x3f59be._0x4c6eeb)](_0x26256f[_0x4a6bcb(_0x3f59be._0x242e9f,_0x3f59be._0x3274d1,_0x3f59be._0x1c5dfd,0x1db)]);if(!_0x33ebc5)return{'success':![],'error':_0x4a6bcb(-_0x3f59be._0xae0c07,-0x75,-_0x3f59be._0x3319a9,-_0x3f59be._0x9b6245)+_0x26256f['agent']+_0x5d4812(0x11f,0x66,-_0x3f59be._0x4ef16c,_0x3f59be._0x57a5a8)};const _0x4f663a=evaluatePolicy(_0x33ebc5,this[_0x5d4812(_0x3f59be._0x4a6bb1,_0x3f59be._0x1f3e41,-0x5f,-0xd7)]);if(!_0x4f663a[_0x4a6bcb(0x27e,0x3d4,0x2eb,0x5ca)])return{'success':![],'error':_0x4f663a[_0x5d4812(0x1de,0x24e,0x4d,0x2ba)]??_0x4a6bcb(-0x118,0xcf,-0xfc,0x255)};const _0x40c70a=typeof _0x70eb45?.[_0x5d4812(_0x3f59be._0x29e9ea,0x2e9,0x2d1,_0x3f59be._0x4918e7)]===_0x5d4812(_0x3f59be._0x1b6ad0,_0x3f59be._0x40739d,0x13f,-0x13)?_0x70eb45[_0x5d4812(_0x3f59be._0x29e9ea,-_0x3f59be._0x1cb3dc,0x1fe,_0x3f59be._0xb023e0)]:DEFAULT_DELEGATION_DEPTH,_0x23cc61=await this['factory'][_0x5d4812(_0x3f59be._0x288257,0xdb,0x483,_0x3f59be._0x3e6fa0)]({'template':_0x33ebc5,'params':_0x26256f,'context':_0x70eb45,'currentDepth':_0x40c70a});function _0x4a6bcb(_0xfbd239,_0x2322f3,_0x4ca23b,_0x275a55){return _0x577062(_0xfbd239-0x18e,_0x4ca23b,_0x4ca23b-0x1e6,_0x2322f3-_0x5f7b39._0x53bbc1);}const _0x21533e=_0x23cc61[_0x5d4812(_0x3f59be._0x4b9ada,_0x3f59be._0x4c8e12,0x2a2,_0x3f59be._0x5b58ee)],_0x4868ad=this[_0x5d4812(_0x3f59be._0x3e9103,_0x3f59be._0x5231b8,-_0x3f59be._0x5869a6,0x166)][_0x5d4812(_0x3f59be._0x4fb417,0x23b,_0x3f59be._0x4db2c2,0x116)](_0x23cc61,_0x70eb45)['then'](_0x2ffbc1=>{const _0x9ee748={_0xd6abb9:0x17c};if(_0x2ffbc1[_0x2ddccb(_0x4fbd56._0x31f253,_0x4fbd56._0xa07598,0x8a8,0xa09)]===_0x2d6f96(_0x4fbd56._0x2453c8,0x8d4,_0x4fbd56._0x47ea7d,_0x4fbd56._0x5d32f2)||_0x2ffbc1[_0x2ddccb(_0x4fbd56._0xd4b824,_0x4fbd56._0x4a3c8f,0x8a8,0x6b3)]===_0x2ddccb(0x670,0x50c,0x5ef,_0x4fbd56._0x595574))return{'success':![],'error':_0x2ffbc1[_0x2ddccb(0x3fd,_0x4fbd56._0x3da567,_0x4fbd56._0x5d733c,0x615)]};const {summary:_0x4e0903,metadata:_0x9e5abd}=formatSuccess(_0x26256f[_0x2ddccb(0x869,_0x4fbd56._0x42c320,_0x4fbd56._0x41f076,_0x4fbd56._0x46bf6c)],_0x2ffbc1);function _0x2d6f96(_0x41950d,_0x15ee5f,_0x8e936,_0x5b31f7){return _0x5d4812(_0x8e936-_0x510269._0x15e546,_0x5b31f7,_0x8e936-_0x510269._0x29b60f,_0x5b31f7-0xde);}function _0x2ddccb(_0x3840d2,_0x47a808,_0x1956bb,_0x573b45){return _0x5d4812(_0x1956bb-0x4bd,_0x3840d2,_0x1956bb-_0x9ee748._0xd6abb9,_0x573b45-0x84);}return{'success':!![],'summary':_0x4e0903,'metadata':{..._0x9e5abd,'sessionId':_0x2ffbc1[_0x2ddccb(0x7b4,0x8aa,0x6ce,_0x4fbd56._0x1b63ea)][_0x2ddccb(_0x4fbd56._0x1aa97e,0x717,_0x4fbd56._0x323b29,_0x4fbd56._0x47b84b)]}};})[_0x4a6bcb(_0x3f59be._0x1592fd,0x1ca,0x2b7,0x10a)](_0x41d089=>{return{'success':![],'error':'Failed\x20to\x20execute\x20specialist\x20agent:\x20'+formatError(_0x41d089)};});function _0x5d4812(_0x1bd9d8,_0x5e98f0,_0x396ae2,_0x584d71){return _0x577062(_0x1bd9d8-0xb6,_0x5e98f0,_0x396ae2-_0xcaba20._0x5d3aa1,_0x1bd9d8-_0xcaba20._0x3f06c3);}return this[_0x5d4812(_0x3f59be._0x919211,_0x3f59be._0x4326e4,_0x3f59be._0x326abb,_0x3f59be._0x5bc995)][_0x5d4812(_0x3f59be._0x1d1920,-0x112,-_0x3f59be._0x3a1a79,-0x19)](_0x21533e,_0x4868ad),{'success':!![],'sessionId':_0x21533e};}async[_0x577062(-0x30e,0xf,-0x1b6,-0x152)](_0x3aef6c,_0x3e9597=![]){const _0x4b65f5={_0x3e957c:0x69,_0x1f98bc:0x14,_0x146d35:0x490,_0x4e786d:0x23d,_0x493319:0x1c5,_0x117e8b:0x758,_0x591513:0x552,_0x4ab8cf:0x3a,_0x530a83:0x1a2},_0x2be734={_0x2a108f:0x769};function _0x20334e(_0x23d926,_0x150aab,_0x4ef5ff,_0x42946d){return _0x1f0bf6(_0x42946d- -0x3e6,_0x150aab,_0x4ef5ff-0x6e,_0x42946d-0x149);}const _0x3e941f=this[_0x20334e(-_0x4b65f5._0x3e957c,0x65,0x3,-_0x4b65f5._0x1f98bc)][_0x20334e(-0xec,-_0x4b65f5._0x146d35,-0x14e,-_0x4b65f5._0x4e786d)](_0x3aef6c);if(!_0x3e941f)return null;if(_0x3e9597){const _0x29f5ce=await _0x3e941f;return this[_0x20334e(-_0x4b65f5._0x493319,-0x152,0x98,-0x14)][_0x2b9551(0x88e,0x7ab,0x8f6,_0x4b65f5._0x117e8b)](_0x3aef6c),_0x29f5ce;}function _0x2b9551(_0x4a05fa,_0x43b4e5,_0x9bf11b,_0x15f954){return _0x577062(_0x4a05fa-0x15b,_0x15f954,_0x9bf11b-0x88,_0x9bf11b-_0x2be734._0x2a108f);}const _0x5c116f=await Promise['race']([_0x3e941f['then'](_0x174069=>({'resolved':!![],'result':_0x174069})),Promise[_0x2b9551(0x7fd,0x510,0x5cf,0x653)]({'resolved':![]})]);if(_0x5c116f['resolved'])return this[_0x2b9551(0x911,_0x4b65f5._0x591513,0x78c,0x63d)]['delete'](_0x3aef6c),_0x5c116f[_0x20334e(0x1d,-0x182,-_0x4b65f5._0x4ab8cf,-_0x4b65f5._0x530a83)];return null;}[_0x1f0bf6(0xf5,0xb2,0x236,-0x148)](_0x146451){const _0x381e22={_0x21fae7:0x42b},_0x170b98={_0x456b73:0x1eb,_0x15d584:0x1b7};function _0x56d9a9(_0x5dc795,_0x24ee64,_0x4b94ae,_0x5e5d2f){return _0x577062(_0x5dc795-0x4,_0x24ee64,_0x4b94ae-0x47,_0x5e5d2f-0x408);}function _0x148de2(_0x1413de,_0x9613c7,_0x2ef655,_0x4fc679){return _0x1f0bf6(_0x1413de-0x42,_0x9613c7,_0x2ef655-_0x170b98._0x456b73,_0x4fc679-_0x170b98._0x15d584);}return this[_0x56d9a9(0x530,0x3eb,0x492,_0x381e22._0x21fae7)][_0x148de2(0x412,0x348,0x3ee,0x242)](_0x146451);}},DelegationServiceFactory=class{[_0x577062(-0x7,-0x227,-0x3,-0x51)](_0x15c88b){const _0x468fde={_0x407e28:0x1f1,_0x4a7874:0xfc,_0x2f15e0:0x2,_0x5a3141:0xc3,_0x54e21d:0x148},_0x4f253b={_0x55e5b0:0x243,_0x4e4d67:0x12d,_0x33487e:0x11f},_0x1627b4={_0xe8199c:0x1b6,_0x3395d2:0x1ec,_0x372371:0x2};function _0x4098eb(_0x22011b,_0x309761,_0x326055,_0x391669){return _0x1f0bf6(_0x326055- -_0x1627b4._0xe8199c,_0x22011b,_0x326055-_0x1627b4._0x3395d2,_0x391669-_0x1627b4._0x372371);}function _0x2da2e1(_0xb6ec7f,_0x38aa16,_0x1d2bf8,_0x4f5a0d){return _0x1f0bf6(_0x1d2bf8- -_0x4f253b._0x55e5b0,_0x4f5a0d,_0x1d2bf8-_0x4f253b._0x4e4d67,_0x4f5a0d-_0x4f253b._0x33487e);}const _0x3262cb=new DefaultSpecialistAgentFactory({'agentListProvider':_0x15c88b[_0x4098eb(0x1a0,_0x468fde._0x407e28,0x3b,-0x1ec)],'createMemoryForAgent':_0x15c88b['createMemoryForAgent']});return new DefaultDelegationService(_0x15c88b[_0x4098eb(0x23f,0x2be,_0x468fde._0x4a7874,0x179)],_0x3262cb,_0x15c88b[_0x4098eb(-0x27c,_0x468fde._0x2f15e0,-_0x468fde._0x5a3141,_0x468fde._0x54e21d)]);}},ToolRegistry=class{[_0x577062(-0x2e4,-0x18,0x4,-0x1ed)]=new Map();[_0x1f0bf6(0x4a2,0x3d0,0x2b9,0x451)];[_0x577062(-0x134,-0x1f0,-0x11d,-0xfd)];[_0x577062(-0xdc,-0xf3,0xb6,0xa)];[_0x577062(-0x36a,-0x23c,-0x1ac,-0x27a)];[_0x1f0bf6(0x562,0x44d,0x6f6,0x487)]={};[_0x577062(-0x156,-0xe0,-0x3c2,-0x272)];[_0x577062(-0xed,-0x2e8,-0x361,-0x28c)];[_0x577062(-0x31e,-0x2c1,-0x443,-0x2d1)];['orchestratorConfigResolver'];constructor(_0x158e2e){const _0x5b08bc={_0x515abf:0x26c,_0x241269:0x21a,_0x39c060:0x4f4,_0x39343f:0x395,_0x2ba24a:0x45,_0x4414d4:0x131,_0x1e2a80:0x2fd,_0x82bcd1:0x231,_0x48a30d:0x2a8,_0x5595df:0x377,_0x1d1540:0x2c3,_0x2abf83:0x2d5,_0x11487d:0x93,_0x408aaf:0x1ee},_0x6ef362={_0x45adcc:0x64},_0x2869be={_0x41a25d:0xef};function _0x52f43b(_0x1719fe,_0x52b40b,_0x449dae,_0x8e2d0a){return _0x577062(_0x1719fe-_0x2869be._0x41a25d,_0x1719fe,_0x449dae-0x4c,_0x8e2d0a-0x127);}this[_0x52f43b(_0x5b08bc._0x515abf,0x29c,0x29e,_0x5b08bc._0x241269)]=_0x158e2e?.[_0xb3def0(0x66a,0x585,0x5fd,_0x5b08bc._0x39c060)]||new InMemoryMemory();function _0xb3def0(_0x14c681,_0x13f108,_0x102b44,_0x2745c5){return _0x1f0bf6(_0x13f108-0xe3,_0x14c681,_0x102b44-_0x6ef362._0x45adcc,_0x2745c5-0x32);}this[_0xb3def0(0x39f,_0x5b08bc._0x39343f,0x2a7,0x3be)]=_0x158e2e?.['agentRegistry']||new AgentRegistry(),this[_0x52f43b(-0x42,-_0x5b08bc._0x2ba24a,0x1d8,_0x5b08bc._0x4414d4)]=_0x158e2e?.[_0xb3def0(0x6a6,0x49c,0x51f,0x27b)];const _0x2b0f94=new TodoStore(_0x158e2e?.[_0x52f43b(_0x5b08bc._0x1e2a80,0x213,_0x5b08bc._0x82bcd1,_0x5b08bc._0x48a30d)]||new InMemoryMemory()),_0x6301e3=[new TodoWriteTool(_0x2b0f94),new WebSearchTool(),new WebFetchTool(),new FileReadTool({'allowAbsolute':!![]}),new FileNewTool(),new FileEditTool(),new BashTool(),new LsTool({'allowAbsolute':!![]}),new GlobTool({'allowAbsolute':!![]}),new GrepTool({'allowAbsolute':!![]})];for(const _0x3d223d of _0x6301e3){this[_0xb3def0(0x1d4,0x2a5,_0x5b08bc._0x5595df,_0x5b08bc._0x1d1540)][_0x52f43b(-0x250,-0x111,-_0x5b08bc._0x2abf83,-_0x5b08bc._0x11487d)](_0x3d223d[_0xb3def0(0x59e,0x58f,0x59a,0x76e)],_0x3d223d);}void this[_0x52f43b(0x32f,0x8,0xc9,_0x5b08bc._0x408aaf)]();}async[_0x577062(0x22e,0x70,0x57,0xc7)](){const _0x529715={_0x17b39b:0x37d,_0x5f3fd9:0x18c,_0x286654:0x333,_0x2117b3:0x6f8,_0x35fa6b:0x3ac,_0x5d8a5c:0x4b6,_0x430d32:0x4ce,_0x1cec2a:0x54a,_0x4ff9d8:0x584,_0x543748:0x245,_0x17e550:0x3c8},_0x5932fe={_0x1c586c:0x1c0,_0x331a52:0x7f},_0x3bf7db={_0x42de7e:0x1f8,_0x18dcc8:0x129,_0x5b1eb0:0x1e1};function _0x415b65(_0xd34a44,_0x6c37a1,_0x3efdf4,_0x4bcc20){return _0x1f0bf6(_0x6c37a1-_0x3bf7db._0x42de7e,_0x3efdf4,_0x3efdf4-_0x3bf7db._0x18dcc8,_0x4bcc20-_0x3bf7db._0x5b1eb0);}function _0x45de3c(_0x53b507,_0x1e6568,_0x2c247f,_0x573962){return _0x1f0bf6(_0x573962-_0x5932fe._0x1c586c,_0x2c247f,_0x2c247f-0x146,_0x573962-_0x5932fe._0x331a52);}try{const _0x5b1307=Array[_0x45de3c(0x3a0,_0x529715._0x17b39b,0x5f8,0x402)](this[_0x45de3c(_0x529715._0x5f3fd9,0x26d,_0x529715._0x286654,0x382)][_0x45de3c(0x464,0x71e,0x3c1,0x4f5)]());await this[_0x415b65(0x56d,0x69a,_0x529715._0x2117b3,0x5d9)]?.[_0x415b65(0x4bc,0x3ed,0x500,_0x529715._0x35fa6b)](_0x415b65(0x205,0x353,0x342,_0x529715._0x5d8a5c),_0x5b1307);}catch{console[_0x45de3c(0x799,_0x529715._0x430d32,_0x529715._0x1cec2a,_0x529715._0x4ff9d8)](_0x45de3c(0x431,_0x529715._0x543748,0x552,_0x529715._0x17e550));}}async[_0x1f0bf6(0x34c,0x2a8,0x1f4,0xff)](){const _0x4cc060={_0x55e0c9:0xfe,_0x3554e1:0x12c},_0x4cc20d={_0x4546b8:0x1dc,_0x4cf187:0xef};function _0xe2b3db(_0x4a40ba,_0x4f8d18,_0x3838ab,_0x4a0525){return _0x577062(_0x4a40ba-_0x4cc20d._0x4546b8,_0x4a0525,_0x3838ab-0x4d,_0x4a40ba-_0x4cc20d._0x4cf187);}return Array['from'](this[_0xe2b3db(-_0x4cc060._0x55e0c9,-0x131,-0x179,_0x4cc060._0x3554e1)]['keys']());}['getToolDefinitions'](_0x48edd0){const _0x41fa0c={_0x184be8:0x24e,_0x11b520:0x8f,_0x33a033:0xd8,_0x32d2f5:0xf4,_0x5c40a5:0x6d,_0x459105:0x6a},_0x386da9={_0x5bc1ae:0x9c,_0x2fab76:0x151,_0x2ce44f:0x365};function _0x1a394f(_0x362106,_0xc64913,_0x5d0e58,_0x121b54){return _0x577062(_0x362106-_0x386da9._0x5bc1ae,_0xc64913,_0x5d0e58-_0x386da9._0x2fab76,_0x121b54-_0x386da9._0x2ce44f);}const _0x623b42=[];function _0x2032ec(_0x153ded,_0x37b17e,_0x304d0a,_0x114dec){return _0x1f0bf6(_0x114dec- -0x1d5,_0x304d0a,_0x304d0a-0xee,_0x114dec-0x1f0);}for(const _0x3e6fb1 of _0x48edd0){const _0x1b4384=this['tools'][_0x1a394f(0x2d8,_0x41fa0c._0x184be8,_0x41fa0c._0x11b520,0x15f)](_0x3e6fb1);if(_0x1b4384)_0x623b42[_0x2032ec(0xda,0x22,-_0x41fa0c._0x33a033,-0xb8)]({'type':'function','function':_0x1b4384[_0x2032ec(-0x57,_0x41fa0c._0x32d2f5,-_0x41fa0c._0x5c40a5,_0x41fa0c._0x459105)]()});}return _0x623b42;}[_0x577062(0x1db,0x32c,0x17,0x160)](_0x28f14d,_0x2785a9,_0x42d50c,_0x52906e,_0x5b3247){const _0x1ae38a={_0x4e44c4:0x2ba,_0x5bc6e0:0x1a0,_0x2f5243:0x3d4,_0x2f1b5d:0x3bd,_0x249ca2:0x279,_0x1e85d0:0x7a0,_0x455404:0x653,_0x2b5b41:0x35f,_0x3944c3:0x7ce,_0x34456d:0x960,_0x5dae21:0x5b0,_0x490dd0:0x638,_0x2af299:0x7fc,_0x2d3477:0x38f,_0xcf25af:0x3cf,_0x4802a1:0x573,_0x58b6c2:0x2a2,_0x5e562e:0x61d,_0x451f9e:0x8c5,_0xd75317:0x7f9},_0x52397e={_0x3cc2ac:0xb2,_0x3a1cca:0x185,_0x1bb7ba:0x649},_0x13201b={_0x45de5b:0xad};this[_0x2efc1d(_0x1ae38a._0x4e44c4,_0x1ae38a._0x5bc6e0,_0x1ae38a._0x2f5243,0x3d7)]=_0x28f14d,this[_0x2efc1d(0x425,0x2c8,0x410,_0x1ae38a._0x2f1b5d)]=_0x2785a9,this['orchestratorLLMFactory']=_0x42d50c,this[_0x2efc1d(0x671,_0x1ae38a._0x249ca2,0x450,0x4c4)]=_0x52906e;const _0x364b87=new AgentManagerCommandRunner(_0x28f14d,_0x2785a9,_0x42d50c,_0x52906e,_0x5b3247),_0x1adce4=this[_0x2efc1d(0x441,_0x1ae38a._0x1e85d0,0x808,_0x1ae38a._0x455404)]??new DelegationServiceFactory(),_0x1aa8ca=_0x1adce4[_0x3a718e(0x40b,0x3ef,0x283,0x374)]({'agentRegistry':this[_0x3a718e(_0x1ae38a._0x2b5b41,0x56b,0x42e,0x350)],'commandRunner':_0x364b87,'agentListProvider':()=>this[_0x2efc1d(0x698,0x4f9,0x518,0x54c)]['list']()[_0x2efc1d(0x724,0x686,0x49c,0x64e)](_0x22e68a=>({'id':_0x22e68a['id'],'name':_0x22e68a[_0x2efc1d(0x83a,0x762,0x96d,0x746)],'description':_0x22e68a['description']})),'createMemoryForAgent':_0x5b3247});function _0x3a718e(_0x2c014b,_0x18c953,_0x14c398,_0x43bbb7){return _0x1f0bf6(_0x2c014b-_0x13201b._0x45de5b,_0x14c398,_0x14c398-0x66,_0x43bbb7-0x173);}_0x1aa8ca[_0x2efc1d(_0x1ae38a._0x3944c3,0x401,0x5d5,0x57b)](this[_0x2efc1d(_0x1ae38a._0x34456d,_0x1ae38a._0x5dae21,_0x1ae38a._0x490dd0,_0x1ae38a._0x2af299)]),this[_0x2efc1d(_0x1ae38a._0x2d3477,0x535,0x1a6,_0x1ae38a._0xcf25af)]=new AssignTool(_0x1aa8ca),this[_0x2efc1d(0x2ac,0x599,_0x1ae38a._0x4802a1,0x45c)][_0x3a718e(_0x1ae38a._0x58b6c2,0x156,0xf1,0x156)](_0x2efc1d(0x40c,_0x1ae38a._0x5e562e,0x4c4,0x51c),this[_0x2efc1d(0x206,0x38e,0x3c2,0x3cf)]);function _0x2efc1d(_0x2c8796,_0x4469ba,_0x25b7da,_0x8a0f6b){return _0x577062(_0x2c8796-_0x52397e._0x3cc2ac,_0x25b7da,_0x25b7da-_0x52397e._0x3a1cca,_0x8a0f6b-_0x52397e._0x1bb7ba);}void this[_0x2efc1d(0x5dd,_0x1ae38a._0x451f9e,_0x1ae38a._0xd75317,0x710)]();}[_0x577062(-0x37f,-0x2c7,-0x63,-0x222)](_0x203c2c){const _0x518177={_0x2c1301:0xc4,_0x32bb38:0x5d,_0x587a35:0x54,_0x31e1d2:0x69e,_0x1d7a5b:0x3a9,_0x16644a:0x4b0,_0x352907:0xc3,_0xf12c08:0x319},_0x5bae59={_0x1f889e:0x147,_0x2c6d19:0x199},_0x40568e={_0xbafd62:0x31d};function _0x469ae0(_0x433d76,_0x448f71,_0xfaa950,_0x15ba55){return _0x1f0bf6(_0x433d76- -_0x40568e._0xbafd62,_0x448f71,_0xfaa950-0x89,_0x15ba55-0xd5);}if(!this['orchestratorConfig']||!this[_0x401d93(_0x518177._0x2c1301,0x1ee,_0x518177._0x32bb38,_0x518177._0x587a35)])return;function _0x401d93(_0x1b413a,_0x16a406,_0x5ad659,_0x224a3c){return _0x577062(_0x1b413a-_0x5bae59._0x1f889e,_0x16a406,_0x5ad659-_0x5bae59._0x2c6d19,_0x1b413a-0x350);}this[_0x401d93(0x4b0,_0x518177._0x31e1d2,_0x518177._0x1d7a5b,_0x518177._0x16644a)](this['orchestratorConfig'],this['orchestratorTools'],this[_0x469ae0(-0x23f,-0x2cc,-0x12,-0x3a6)],this[_0x401d93(0x1cb,_0x518177._0x352907,0x392,_0x518177._0xf12c08)],_0x203c2c);}[_0x1f0bf6(0x1c5,0xa1,0x2ca,0x1e0)](){const _0x2ecf39={_0x4e7c5f:0x5cd},_0x3a9203={_0x2a0831:0x1bd};function _0x306c4d(_0x7b4d45,_0x45847f,_0x201d32,_0x3641b5){return _0x1f0bf6(_0x3641b5-0x1dc,_0x45847f,_0x201d32-_0x3a9203._0x2a0831,_0x3641b5-0x1bd);}return this[_0x306c4d(0x29f,_0x2ecf39._0x4e7c5f,0x2a3,0x48e)];}[_0x577062(0x11,0x64,-0x16a,-0xce)](_0x4c7d62){const _0x519616={_0x2df7e1:0x11,_0x41393c:0x22c,_0x3080a4:0x6d6},_0x4f0c7c={_0x4bfc6f:0x276},_0x265e91={_0x409828:0x178};function _0x10eacc(_0x1a72ca,_0x2602f0,_0x5b0e5b,_0x49478c){return _0x577062(_0x1a72ca-_0x265e91._0x409828,_0x5b0e5b,_0x5b0e5b-0x2d,_0x1a72ca-0x59c);}this['enabledAgentsConfig']=_0x4c7d62;function _0x4ba173(_0x35cb9b,_0xab29f4,_0x46a23f,_0x5dbd25){return _0x1f0bf6(_0x46a23f- -_0x4f0c7c._0x4bfc6f,_0xab29f4,_0x46a23f-0x1b,_0x5dbd25-0x19);}this[_0x4ba173(-_0x519616._0x2df7e1,-0xf,-0x141,-_0x519616._0x41393c)]?.[_0x10eacc(0x4ce,0x602,_0x519616._0x3080a4,0x580)](_0x4c7d62);}async[_0x1f0bf6(0x519,0x44e,0x6a6,0x64b)](_0x1df7b1,_0x1bdb91,_0x56d982=0x3,_0x120eac){const _0x344764={_0x59cda3:0x177,_0x156400:0x2c8,_0x3d7d01:0x183,_0x44af3f:0x54,_0x3464fd:0x1c2,_0x4ef71b:0x257,_0x58e065:0x3aa,_0x468b4c:0x425,_0x4f269e:0x108,_0x486607:0x24,_0x38d2e0:0x39c,_0x1c3f3d:0x1b7,_0x28c0bc:0x2cc,_0x3872e8:0x214,_0x2daf0a:0x182,_0x8b6a0b:0x175,_0x47c300:0x5,_0x32ad02:0xb1,_0x7f3b54:0x15f,_0x4ae6fd:0x40,_0x4c093a:0x97},_0x1c3061={_0x2f16f3:0x2de,_0x459bcf:0x4cf,_0x46fc76:0x30d,_0x3ab847:0x2d9,_0x567fde:0x175,_0x1454f1:0xe5,_0x44ab16:0x40f,_0x131b7b:0x2b5,_0x4fd4bc:0x29d,_0x27b661:0x153,_0x4b4668:0x9c,_0x2d2df9:0x20,_0x56eaa5:0x1ac,_0x460f95:0x1ea,_0xcd64a2:0x242,_0x335c15:0xe8,_0x4cfbea:0xc,_0x90c058:0x78,_0x347093:0x18,_0x4e7b80:0x23,_0x473179:0x1b1,_0x37e47b:0x1de,_0x1c4c71:0x135,_0x36429b:0xf7,_0x1ba010:0x1db,_0x2397c3:0x2eb,_0x2118d3:0x32e,_0x2f9dbe:0x2bd,_0x401eb2:0x27d,_0x3914fb:0x20b,_0x23e01d:0x1c2,_0x38fd94:0x37e,_0x2699d8:0x508},_0x3c4012={_0xaef5e5:0x42,_0x4f2da8:0x1a6},_0x208b55={_0x2df31f:0x2d7},_0x3fc47c={_0x9d448b:0x59,_0x1b17f9:0x19a},_0x3711fb={_0x4f034b:0xa1};function _0x5a8440(_0x507633,_0x57ccaf,_0x425b9f,_0x28d1fb){return _0x1f0bf6(_0x57ccaf- -0x374,_0x425b9f,_0x425b9f-0x132,_0x28d1fb-_0x3711fb._0x4f034b);}function _0xa2be54(_0x4612ab,_0x4a9968,_0x1525b8,_0x21c04d){return _0x1f0bf6(_0x4612ab- -0x3f0,_0x4a9968,_0x1525b8-_0x3fc47c._0x9d448b,_0x21c04d-_0x3fc47c._0x1b17f9);}const _0x47e222=[];for(let _0x33b6e6=0x0;_0x33b6e6<_0x1df7b1[_0x5a8440(0x4e,0x3e,-_0x344764._0x59cda3,0x18f)];_0x33b6e6+=_0x56d982){if(_0x120eac?.[_0xa2be54(0x15e,-0x6b,0x301,_0x344764._0x156400)]){const _0x5b0dde=_0x1df7b1[_0x5a8440(-_0x344764._0x3d7d01,-_0x344764._0x44af3f,_0x344764._0x3464fd,0xb3)](_0x33b6e6);for(const _0x425c41 of _0x5b0dde){_0x47e222[_0x5a8440(-0x299,-_0x344764._0x4ef71b,-_0x344764._0x58e065,-_0x344764._0x468b4c)]({'id':_0x425c41['id'],'name':_0x425c41[_0xa2be54(0xbc,-_0x344764._0x4f269e,-0xa8,-_0x344764._0x486607)],'status':_0x5a8440(_0x344764._0x38d2e0,_0x344764._0x1c3f3d,0xf2,_0x344764._0x28c0bc),'type':'text','result':_0xa2be54(-0xad,-_0x344764._0x3872e8,0x20,_0x344764._0x2daf0a),'metadata':{'errorReason':_0xa2be54(0x15e,-0xaa,-0xd5,0x214)},'durationMs':0x0});}break;}const _0xd5bee7=_0x1df7b1['slice'](_0x33b6e6,_0x33b6e6+_0x56d982),_0x63852b=await Promise[_0xa2be54(0x8e,-_0x344764._0x8b6a0b,-_0x344764._0x47c300,_0x344764._0x32ad02)](_0xd5bee7[_0x5a8440(_0x344764._0x7f3b54,_0x344764._0x4ae6fd,_0x344764._0x4c093a,-0x15e)](async _0x347306=>{function _0x5a2633(_0x1512f7,_0x46a00e,_0x3ac63a,_0x15df70){return _0x5a8440(_0x1512f7-0xe2,_0x46a00e-_0x208b55._0x2df31f,_0x15df70,_0x15df70-0x1e8);}if(_0x120eac?.['aborted'])return{'id':_0x347306['id'],'name':_0x347306[_0x37c645(0x184,0x2ec,_0x1c3061._0x2f16f3,_0x1c3061._0x459bcf)],'status':_0x5a2633(_0x1c3061._0x46fc76,0x48e,0x5a2,_0x1c3061._0x3ab847),'type':'text','result':_0x37c645(0x20b,0x337,_0x1c3061._0x567fde,0x2ab),'metadata':{'errorReason':_0x5a2633(0x290,0x4b1,0x56c,0x522)},'durationMs':0x0};if(_0x347306['editInstruction']){const _0x48ae4a=_0x347306['editInstruction']+_0x37c645(0x20f,0x30e,_0x1c3061._0x1454f1,0x2e4);return{'id':_0x347306['id'],'name':_0x347306[_0x5a2633(0x35a,_0x1c3061._0x44ab16,0x393,0x373)],'status':'error','type':_0x5a2633(0x49f,_0x1c3061._0x131b7b,_0x1c3061._0x4fd4bc,_0x1c3061._0x27b661),'result':_0x48ae4a,'metadata':{'errorReason':_0x37c645(_0x1c3061._0x4b4668,0x24,_0x1c3061._0x2d2df9,_0x1c3061._0x56eaa5),'editInstruction':_0x347306[_0x37c645(0x37,_0x1c3061._0x460f95,_0x1c3061._0xcd64a2,0x15f)]},'durationMs':0x0};}const _0x276dce=performance['now']();function _0x37c645(_0x53d861,_0x23a4f2,_0x5d5265,_0x3190e7){return _0x5a8440(_0x53d861-_0x3c4012._0xaef5e5,_0x5d5265-_0x3c4012._0x4f2da8,_0x53d861,_0x3190e7-0x11a);}const _0x1fcdd0=this[_0x37c645(0x63,-_0x1c3061._0x335c15,-_0x1c3061._0x4cfbea,-0xc4)]['get'](_0x347306['name']);if(!_0x1fcdd0){const _0x4b495e=Math[_0x37c645(_0x1c3061._0x90c058,-_0x1c3061._0x347093,_0x1c3061._0x27b661,0x36a)](performance[_0x37c645(_0x1c3061._0x4e7b80,0x3a,_0x1c3061._0x473179,_0x1c3061._0x37e47b)]()-_0x276dce);return{'id':_0x347306['id'],'name':_0x347306['name'],'status':_0x5a2633(0x2c2,0x48e,0x5e1,0x64c),'type':'text','result':_0x37c645(-0xe8,-_0x1c3061._0x1c4c71,-_0x1c3061._0x36429b,-0x310)+_0x347306[_0x5a2633(0x2c2,_0x1c3061._0x44ab16,0x498,_0x1c3061._0x1ba010)]+_0x5a2633(_0x1c3061._0x2397c3,_0x1c3061._0x2118d3,0x169,_0x1c3061._0x2f9dbe),'metadata':{'errorReason':_0x5a2633(-0x1fa,0x3b,_0x1c3061._0x401eb2,0x13f)},'durationMs':_0x4b495e};}const _0x65d64c=await _0x1fcdd0['execute'](_0x347306[_0x5a2633(0x338,_0x1c3061._0x3914fb,_0x1c3061._0x23e01d,_0x1c3061._0x38fd94)]||{},{..._0x1bdb91,'toolCallId':_0x347306['id'],'signal':_0x120eac}),_0x12d6b9=Math['round'](performance['now']()-_0x276dce);return{..._0x65d64c,'id':_0x347306['id'],'name':_0x347306[_0x37c645(_0x1c3061._0x2699d8,0x2d4,0x2de,0x214)],'durationMs':_0x12d6b9};}));_0x47e222['push'](..._0x63852b);}return _0x47e222;}},CompositeToolPort=class{constructor(_0x3cee5a){const _0x5ee5d1={_0x24c6c2:0xad},_0x13463d={_0x3ed8a4:0x13a};function _0x1b4b97(_0x36e8b4,_0x2df67c,_0x34988e,_0x841a63){return _0x577062(_0x36e8b4-_0x13463d._0x3ed8a4,_0x2df67c,_0x34988e-0xf5,_0x36e8b4- -0x1b);}this[_0x1b4b97(-0x267,-_0x5ee5d1._0x24c6c2,-0xc0,-0x2cf)]=_0x3cee5a;}[_0x1f0bf6(0x1e4,0x42e,0x66,0x1c9)](_0x2d84ef){const _0x14a96c={_0x4733f6:0x20d,_0x4afc5d:0x390,_0x4ad1e7:0x144,_0x57135e:0x36c,_0x1a9df7:0x1,_0x161fa0:0xe4,_0x155731:0x7a,_0x2d4f95:0xc3},_0x50b617={_0x33da7a:0x108},_0x199883=[];function _0x512b56(_0x281024,_0x20ea06,_0xbaddbb,_0x48b455){return _0x577062(_0x281024-0x12e,_0xbaddbb,_0xbaddbb-0x3d,_0x48b455-_0x50b617._0x33da7a);}function _0xc79233(_0x199685,_0xf09843,_0x1dd5da,_0x35ebb8){return _0x577062(_0x199685-0xa8,_0x1dd5da,_0x1dd5da-0xa6,_0x199685-0x290);}for(const _0x598db9 of this[_0x512b56(-_0x14a96c._0x4733f6,0xc9,-_0x14a96c._0x4afc5d,-_0x14a96c._0x4ad1e7)]){try{_0x199883[_0x512b56(-_0x14a96c._0x57135e,-_0x14a96c._0x1a9df7,-_0x14a96c._0x161fa0,-0x18a)](..._0x598db9[_0x512b56(_0x14a96c._0x155731,-0x87,0xed,-_0x14a96c._0x2d4f95)](_0x2d84ef));}catch{}}return _0x199883;}async[_0x1f0bf6(0x519,0x5e9,0x300,0x4f1)](_0x2e14c3,_0x4feda0,_0x2ff5f0=0x3,_0x13bf0b){const _0x4ad77d={_0x3d36ce:0x459,_0x49add2:0x468,_0x3919b4:0x21f,_0x5ebe04:0x365,_0x1fe9f6:0x6a8,_0x4da165:0x424,_0x4c3295:0x546,_0x31aaff:0x3f7,_0x46711f:0x426,_0x4597c4:0x674,_0x282d6a:0x4d3,_0x5256b5:0x1c2,_0x20c87f:0x2de,_0x3a7587:0x5f,_0x36844f:0xde,_0x1877ce:0x18c,_0xc2a428:0x3df,_0x52d59c:0xd7,_0x4d88b0:0x2ea,_0x24019a:0x4d7,_0x1c161b:0x29e,_0x4530a3:0x630,_0x57456c:0x5be,_0x5b1bd2:0x805,_0x51f111:0x444,_0x3f3ba4:0x1c2,_0xf4ab42:0x52,_0x598c7a:0x1cb,_0x4c57ea:0x5d0,_0x3c635d:0x71b,_0x4a7f6c:0x462,_0x212f96:0x3d8},_0x538a5b={_0x177cee:0x27},_0x280f62={_0x103711:0xed};if(_0x13bf0b?.[_0x10bf92(0x5f3,0x4ea,0x52e,0x5ac)])return _0x2e14c3['map'](_0x27098d=>({'id':_0x27098d['id'],'name':_0x27098d[_0x48695f(0x477,0x488,0x4d3,0x49b)],'status':_0x48695f(0x748,0x70a,0x552,0x4a5),'type':_0x10bf92(0x3f7,0x1df,0x5c2,0x1d5),'result':_0x10bf92(0x3e8,0x387,0x3ca,0x1c8),'durationMs':0x0}));const _0x2ca0fc=this['ports'][_0x10bf92(_0x4ad77d._0x3d36ce,_0x4ad77d._0x49add2,_0x4ad77d._0x3919b4,0x5cf)](_0x3d5384=>new Set(_0x3d5384['getToolDefinitions'](_0x2e14c3[_0x10bf92(0x459,0x3fa,0x2bc,0x64d)](_0x252393=>_0x252393[_0x10bf92(0x551,0x610,0x5fa,0x61e)]))[_0x48695f(0x291,0x314,0x3db,0x60a)](_0x56baf2=>_0x56baf2['function']['name']))),_0x4ed8d3=this['ports'][_0x10bf92(0x459,0x4fd,_0x4ad77d._0x5ebe04,_0x4ad77d._0x1fe9f6)](()=>[]),_0xf210ea=[];for(const _0x5d4395 of _0x2e14c3){let _0x46dc0f=![];for(let _0x54f71b=0x0;_0x54f71b<_0x2ca0fc[_0x10bf92(0x457,_0x4ad77d._0x4da165,0x5da,_0x4ad77d._0x4c3295)];_0x54f71b++){if(_0x2ca0fc[_0x54f71b]?.[_0x48695f(0x1b7,0x5c5,_0x4ad77d._0x31aaff,_0x4ad77d._0x46711f)](_0x5d4395[_0x48695f(_0x4ad77d._0x4597c4,0x3ea,_0x4ad77d._0x282d6a,0x3f2)])){_0x4ed8d3[_0x54f71b]?.[_0x10bf92(_0x4ad77d._0x5256b5,_0x4ad77d._0x20c87f,0x1bf,_0x4ad77d._0x3a7587)](_0x5d4395),_0x46dc0f=!![];break;}}if(!_0x46dc0f)_0xf210ea[_0x48695f(-_0x4ad77d._0x36844f,0x2c0,0x144,_0x4ad77d._0x1877ce)](_0x5d4395);}const _0x3b4899=[];function _0x10bf92(_0x3488f2,_0x5d30aa,_0x433411,_0x53a89e){return _0x577062(_0x3488f2-0x151,_0x433411,_0x433411-_0x280f62._0x103711,_0x3488f2-0x454);}for(let _0x15446e=0x0;_0x15446e<this[_0x10bf92(0x208,_0x4ad77d._0xc2a428,_0x4ad77d._0x52d59c,0x3a0)][_0x48695f(_0x4ad77d._0x4d88b0,_0x4ad77d._0x24019a,0x3d9,_0x4ad77d._0x1c161b)];_0x15446e++){const _0x734fb7=_0x4ed8d3[_0x15446e],_0x2279b4=this['ports'][_0x15446e];if(!_0x734fb7||_0x734fb7[_0x10bf92(0x457,0x671,0x59a,_0x4ad77d._0x4530a3)]===0x0||!_0x2279b4)continue;const _0x19b8c0=await _0x2279b4[_0x10bf92(_0x4ad77d._0x57456c,_0x4ad77d._0x5b1bd2,_0x4ad77d._0x51f111,0x3b8)](_0x734fb7,_0x4feda0,_0x2ff5f0,_0x13bf0b);if(_0x19b8c0)_0x3b4899[_0x10bf92(_0x4ad77d._0x3f3ba4,_0x4ad77d._0xf4ab42,_0x4ad77d._0x598c7a,0x2e0)](..._0x19b8c0);}for(const _0xc3c186 of _0xf210ea){_0x3b4899[_0x10bf92(0x1c2,0x13b,-0x7f,0x144)]({'id':_0xc3c186['id'],'name':_0xc3c186['name'],'status':_0x10bf92(_0x4ad77d._0x4c57ea,_0x4ad77d._0x3c635d,0x53e,0x455),'type':_0x48695f(0x501,0x403,0x379,0x150),'result':_0x48695f(0x365,0x3b2,_0x4ad77d._0x4a7f6c,_0x4ad77d._0x212f96)+_0xc3c186['name']});}function _0x48695f(_0x570f40,_0x840731,_0x4551a2,_0x442e4c){return _0x1f0bf6(_0x4551a2-_0x538a5b._0x177cee,_0x442e4c,_0x4551a2-0xf9,_0x442e4c-0xfa);}return _0x3b4899;}[_0x1f0bf6(0x2e1,0x19b,0x22e,0x44d)](_0x5b9957){const _0x41c2f8={_0x49b8c9:0x2a7,_0x525c4b:0x3bc,_0x2ad725:0x43a,_0x17d015:0x53a,_0x548f9c:0xeb,_0x3a2ad6:0x245},_0x3e8aee={_0x2ddb90:0x17d,_0x18d3bc:0x12a,_0x570c94:0x608},_0x27f434={_0xdfc4c6:0xf2,_0x4c8496:0x1bd};function _0x916370(_0x3417d5,_0x1e557f,_0x5314f6,_0x11ba6b){return _0x1f0bf6(_0x3417d5- -0x3de,_0x5314f6,_0x5314f6-_0x27f434._0xdfc4c6,_0x11ba6b-_0x27f434._0x4c8496);}function _0x13c210(_0x7491be,_0x445619,_0x594574,_0x71e241){return _0x577062(_0x7491be-_0x3e8aee._0x2ddb90,_0x7491be,_0x594574-_0x3e8aee._0x18d3bc,_0x71e241-_0x3e8aee._0x570c94);}for(const _0x128ee3 of this[_0x13c210(0x58b,_0x41c2f8._0x49b8c9,0x5f7,_0x41c2f8._0x525c4b)]){const _0x3adba8=_0x128ee3[_0x13c210(0x3b6,_0x41c2f8._0x2ad725,0x641,_0x41c2f8._0x17d015)];typeof _0x3adba8==='function'&&_0x3adba8[_0x916370(-0x153,_0x41c2f8._0x548f9c,-_0x41c2f8._0x3a2ad6,-0x73)](_0x128ee3,_0x5b9957);}}['getAgentRegistry'](){const _0x80b67e={_0x21826b:0x254,_0x323c60:0x1a,_0x5039d1:0x214,_0x46f4ee:0x23a,_0x59bc6d:0x1a6,_0x42c5a2:0x27,_0x238f74:0x13d,_0x2c093f:0x1a4,_0x33b656:0x159},_0x1bf353={_0x2ed2e1:0x2d},_0x30d738={_0x14d7d7:0x25};for(const _0x21012e of this[_0x22c9bb(-0x265,-0x33a,-_0x80b67e._0x21826b,-_0x80b67e._0x323c60)]){const _0x3fb715=_0x21012e[_0x5abe55(-_0x80b67e._0x5039d1,-_0x80b67e._0x46f4ee,-0xf7,-0x10a)];if(typeof _0x3fb715===_0x22c9bb(-0x10b,-_0x80b67e._0x59bc6d,-0x2c4,_0x80b67e._0x42c5a2)){const _0x8bd479=_0x3fb715[_0x22c9bb(-_0x80b67e._0x238f74,-_0x80b67e._0x2c093f,0xa0,-_0x80b67e._0x33b656)](_0x21012e);if(_0x8bd479)return _0x8bd479;}}function _0x5abe55(_0x2503d8,_0x25a6a7,_0xe9bbe2,_0x1b9734){return _0x1f0bf6(_0xe9bbe2- -0x2bc,_0x25a6a7,_0xe9bbe2-0x96,_0x1b9734-_0x30d738._0x14d7d7);}function _0x22c9bb(_0x58263c,_0x305e87,_0x7babeb,_0x36c62b){return _0x1f0bf6(_0x58263c- -0x3c8,_0x36c62b,_0x7babeb-_0x1bf353._0x2ed2e1,_0x36c62b-0x85);}return void 0x0;}async[_0x577062(0x12b,-0x4e,0x1d2,-0x63)](){const _0x490028={_0x1d5a7d:0x380,_0x33205f:0x2aa,_0x4e5ea7:0x4a8,_0x3db2cc:0x34a,_0x5dbe01:0x108,_0x11cb38:0x49,_0xb32c4f:0xa7,_0x3280e4:0xf5},_0x2749b7={_0x309f59:0x18f,_0x5e12e2:0x5cc},_0x4e6ebc={_0x2bc224:0xe1};function _0x3e1ad9(_0x3f699a,_0x374c5c,_0x5dc8d1,_0x28d021){return _0x577062(_0x3f699a-_0x4e6ebc._0x2bc224,_0x374c5c,_0x5dc8d1-0x6b,_0x28d021-0x78);}const _0x77ff23=new Set();function _0x23c5b9(_0x4c0859,_0x497cab,_0x5e9dd2,_0x217eab){return _0x577062(_0x4c0859-_0x2749b7._0x309f59,_0x5e9dd2,_0x5e9dd2-0x106,_0x4c0859-_0x2749b7._0x5e12e2);}for(const _0x39f24a of this[_0x23c5b9(_0x490028._0x1d5a7d,0x312,_0x490028._0x33205f,_0x490028._0x4e5ea7)]){const _0x4e86bd=_0x39f24a['listRegisteredTools'];if(typeof _0x4e86bd==='function')try{const _0x49fe5=await _0x4e86bd['call'](_0x39f24a);for(const _0x4c5363 of _0x49fe5){_0x77ff23[_0x23c5b9(_0x490028._0x3db2cc,0x21c,_0x490028._0x5dbe01,0x538)](_0x4c5363);}}catch(_0x3dba9a){console['warn'](_0x3e1ad9(0xea,-_0x490028._0x11cb38,-_0x490028._0xb32c4f,-0x114),_0x3dba9a);}}return Array[_0x3e1ad9(-0xfb,0x111,0x1b,-_0x490028._0x3280e4)](_0x77ff23);}};function parseToolArguments(_0x24b959){if(typeof _0x24b959==='string')try{return JSON['parse'](_0x24b959);}catch{return{};}return _0x24b959;}function isBashToolArgs(_0x1a5c18){const _0xe31cff={_0x35df4f:0x9b4,_0x1c7f0c:0x587,_0xf2db03:0x737,_0x4eae4a:0x58f},_0x21bb9f={_0x4300e3:0x274,_0x20b6c3:0x1a8,_0x18ed1e:0x122};function _0x9f880(_0x2292a5,_0x5327e1,_0x37eb43,_0x1bcb8f){return _0x1f0bf6(_0x1bcb8f-_0x21bb9f._0x4300e3,_0x37eb43,_0x37eb43-_0x21bb9f._0x20b6c3,_0x1bcb8f-_0x21bb9f._0x18ed1e);}function _0x143558(_0x3ca167,_0xcdd922,_0x23d96f,_0x5284e9){return _0x577062(_0x3ca167-0x1a8,_0xcdd922,_0x23d96f-0x1cd,_0x3ca167-0x76d);}return _0x9f880(_0xe31cff._0x35df4f,0x63f,_0xe31cff._0x1c7f0c,0x7b8)in _0x1a5c18&&typeof _0x1a5c18[_0x143558(0x902,0x955,_0xe31cff._0xf2db03,0x847)]===_0x9f880(_0xe31cff._0x4eae4a,0x5e7,0x635,0x6dd);}function isFileReadArgs(_0x573024){const _0x20d7f8={_0x10a9d9:0x41b,_0x2e890a:0x6d6,_0x131cf0:0x3e1},_0x2cd2fd={_0xb885c9:0x3b,_0x5ef77e:0x111},_0x3caa59={_0x3ab875:0x20d};function _0x5a1e37(_0x4d90a5,_0x202f5c,_0x5b3a0c,_0x4f876d){return _0x1f0bf6(_0x5b3a0c-_0x3caa59._0x3ab875,_0x4d90a5,_0x5b3a0c-0x196,_0x4f876d-0x12c);}function _0x2a5376(_0x13fa89,_0x57a6f5,_0x5cb10c,_0x4e29da){return _0x1f0bf6(_0x4e29da-0x299,_0x13fa89,_0x5cb10c-_0x2cd2fd._0xb885c9,_0x4e29da-_0x2cd2fd._0x5ef77e);}return _0x2a5376(0x436,0x4db,_0x20d7f8._0x10a9d9,0x571)in _0x573024&&typeof _0x573024[_0x2a5376(_0x20d7f8._0x2e890a,0x782,_0x20d7f8._0x131cf0,0x571)]==='string';}function isFileEditArgs(_0x5ee121){const _0x436495={_0x457d6a:0x137,_0x51532f:0xc,_0x43c628:0x1ed,_0x1a86ca:0x25e},_0x8718f1={_0x22f513:0x25},_0x4f84d5={_0x2679d5:0xc5};function _0x41db44(_0x45febe,_0x2e465e,_0x5f4d44,_0x301ef6){return _0x1f0bf6(_0x45febe- -0x2e9,_0x2e465e,_0x5f4d44-_0x4f84d5._0x2679d5,_0x301ef6-0x118);}function _0x2bab87(_0x2edb65,_0x52d600,_0x5a08e0,_0x4bc645){return _0x1f0bf6(_0x5a08e0- -0x361,_0x2edb65,_0x5a08e0-0x96,_0x4bc645-_0x8718f1._0x22f513);}return _0x41db44(-0x28,0xa,-_0x436495._0x457d6a,0xac)in _0x5ee121&&_0x2bab87(-0x2a3,0x27,-0xa7,0x6f)in _0x5ee121&&_0x41db44(_0x436495._0x51532f,_0x436495._0x43c628,0x145,_0x436495._0x1a86ca)in _0x5ee121;}function isFileNewArgs(_0x41002c){const _0x52e17a={_0x14cd39:0xde,_0x152b73:0x5f,_0x590481:0x98,_0x28d4e7:0x3f},_0x185083={_0x3b70cb:0x10},_0x135662={_0xd76c4:0xc,_0x515416:0x5e};function _0x345f59(_0x1b11d2,_0x2d3019,_0x1a6f09,_0x242093){return _0x577062(_0x1b11d2-0x1e0,_0x1b11d2,_0x1a6f09-_0x135662._0xd76c4,_0x1a6f09-_0x135662._0x515416);}function _0x2f176d(_0x1d6efd,_0x5297a2,_0x524f7d,_0xcd865a){return _0x577062(_0x1d6efd-0x13b,_0xcd865a,_0x524f7d-0x3d,_0x1d6efd-_0x185083._0x3b70cb);}return _0x2f176d(-_0x52e17a._0x14cd39,-_0x52e17a._0x152b73,-0x17b,0xa3)in _0x41002c&&_0x345f59(0x2b2,-0x131,_0x52e17a._0x590481,_0x52e17a._0x28d4e7)in _0x41002c;}function isTodoWriteArgs(_0x455f8d){const _0x257e87={_0x9662d2:0x15a,_0x3abdbc:0x360,_0x8b19d:0x33b},_0x33d8e0={_0xf5ea88:0xfa,_0x169c67:0x57,_0x299f94:0x447},_0x4d35d3={_0x19e334:0x54,_0x58dd69:0x393};function _0x5dc9e8(_0x141685,_0x21f8fb,_0xa09d8b,_0x5df72a){return _0x577062(_0x141685-_0x4d35d3._0x19e334,_0x21f8fb,_0xa09d8b-0x1e3,_0xa09d8b-_0x4d35d3._0x58dd69);}function _0x86f3c6(_0x3df7a1,_0x2ae661,_0x473a14,_0x5b6771){return _0x577062(_0x3df7a1-_0x33d8e0._0xf5ea88,_0x5b6771,_0x473a14-_0x33d8e0._0x169c67,_0x473a14-_0x33d8e0._0x299f94);}return'todos'in _0x455f8d&&Array[_0x5dc9e8(0x26,0x383,_0x257e87._0x9662d2,-0x2)](_0x455f8d[_0x5dc9e8(0x4fb,_0x257e87._0x3abdbc,0x4f9,_0x257e87._0x8b19d)]);}function isAssignTaskArgs(_0x3317dd){const _0x229950={_0x4c18c3:0x1d,_0xc695a3:0x21},_0x3a63f5={_0x29e0ad:0x3e2,_0xf8d96c:0x70};function _0xa1de77(_0x24e5c9,_0x5f45eb,_0xbf419e,_0x26e892){return _0x1f0bf6(_0x24e5c9- -_0x3a63f5._0x29e0ad,_0x26e892,_0xbf419e-0x158,_0x26e892-_0x3a63f5._0xf8d96c);}return _0xa1de77(0xfd,-_0x229950._0x4c18c3,0x295,_0x229950._0xc695a3)in _0x3317dd&&'task'in _0x3317dd&&'description'in _0x3317dd;}function isWebSearchArgs(_0xd95d41){const _0x329e89={_0x5ce4c7:0x37b,_0x823ea9:0x348},_0x33e0dc={_0x197232:0x133,_0x697f26:0x188};function _0x45e0e6(_0x48a16e,_0x28e4e8,_0x102b24,_0x26df36){return _0x1f0bf6(_0x26df36- -_0x33e0dc._0x197232,_0x28e4e8,_0x102b24-_0x33e0dc._0x697f26,_0x26df36-0x167);}return'query'in _0xd95d41&&typeof _0xd95d41[_0x45e0e6(0x57a,0x130,_0x329e89._0x5ce4c7,_0x329e89._0x823ea9)]==='string';}function isWebFetchArgs(_0x2dd5c6){const _0x2b6e5e={_0x34e744:0x996,_0x2e5149:0x85d,_0xc7ba34:0x85e,_0x4bcf55:0xa3,_0x352478:0x18b},_0x3f5034={_0xcede63:0x1be};function _0x47e213(_0x502231,_0x57db70,_0x42aa35,_0x196bb6){return _0x1f0bf6(_0x196bb6- -0x2a8,_0x57db70,_0x42aa35-0xbd,_0x196bb6-0x122);}function _0x232ed8(_0x6919e5,_0xab048d,_0x27f224,_0x441fda){return _0x1f0bf6(_0xab048d-0x343,_0x27f224,_0x27f224-_0x3f5034._0xcede63,_0x441fda-0x75);}return _0x232ed8(0x9af,0x85d,0xa91,0x9cf)in _0x2dd5c6&&typeof _0x2dd5c6[_0x232ed8(_0x2b6e5e._0x34e744,_0x2b6e5e._0x2e5149,0x943,_0x2b6e5e._0xc7ba34)]===_0x47e213(_0x2b6e5e._0x4bcf55,0x137,_0x2b6e5e._0x352478,0x1c1);}function isGlobArgs(_0xa40f22){const _0x2f9364={_0x121265:0x7aa,_0x38070f:0x930,_0x134084:0x8b9,_0x3b72c4:0x7aa,_0x5d34cc:0x1e0,_0x5d0e12:0x182,_0x3b26ab:0xc8},_0x196308={_0x5e37f4:0x3a1,_0x2769a0:0x168},_0x590736={_0x3c9061:0x1dc};function _0x588e1d(_0x3a89a3,_0x4276d3,_0x4501b5,_0x3f7c4e){return _0x1f0bf6(_0x3f7c4e-0x377,_0x4501b5,_0x4501b5-_0x590736._0x3c9061,_0x3f7c4e-0x21);}function _0x1d2ada(_0x3fb727,_0xb575b,_0x16713c,_0x22ed12){return _0x1f0bf6(_0x22ed12- -_0x196308._0x5e37f4,_0xb575b,_0x16713c-0xb7,_0x22ed12-_0x196308._0x2769a0);}return _0x588e1d(0x778,0x90a,0x83c,_0x2f9364._0x121265)in _0xa40f22&&typeof _0xa40f22[_0x588e1d(_0x2f9364._0x38070f,0x5da,_0x2f9364._0x134084,_0x2f9364._0x3b72c4)]===_0x1d2ada(0xe5,_0x2f9364._0x5d34cc,-_0x2f9364._0x5d0e12,_0x2f9364._0x3b26ab)&&!('include'in _0xa40f22);}function isGrepArgs(_0x513462){const _0x3ebaa8={_0xc1c181:0xd1,_0x54eb27:0x15c,_0x3df662:0x76,_0x215a42:0x1ba,_0xaf18eb:0x1ae,_0x2e3db3:0x187,_0x1b2971:0xcb},_0x2d08e7={_0x4afb3b:0x3bd,_0x13c1fe:0x19a};function _0x1f9a0e(_0x5e3e82,_0x10acab,_0x4ffdf2,_0x473b36){return _0x577062(_0x5e3e82-0x17f,_0x10acab,_0x4ffdf2-0x1a9,_0x5e3e82-0x617);}function _0x22339a(_0x4a4d5d,_0x59b19,_0x18e357,_0x5b1270){return _0x1f0bf6(_0x5b1270- -_0x2d08e7._0x4afb3b,_0x18e357,_0x18e357-0x1d8,_0x5b1270-_0x2d08e7._0x13c1fe);}return _0x22339a(-0x2f,_0x3ebaa8._0xc1c181,_0x3ebaa8._0x54eb27,_0x3ebaa8._0x3df662)in _0x513462&&typeof _0x513462[_0x22339a(_0x3ebaa8._0x215a42,-_0x3ebaa8._0xaf18eb,-0x169,0x76)]==='string'&&('include'in _0x513462||!('path'in _0x513462&&!_0x513462[_0x22339a(-_0x3ebaa8._0x2e3db3,_0x3ebaa8._0x1b2971,0x35,-0xe5)]));}function isLsArgs(_0x430eb9){const _0x26543b={_0x322598:0x51f,_0x2bc7cd:0x4a8,_0x32cd5b:0x341,_0x5aeb21:0x1e3,_0x61201f:0x2ca,_0x36c58b:0x26c,_0xfb90fa:0x144,_0x2c07f6:0x76,_0xa16691:0x2dd,_0x471040:0x21f,_0x3f340e:0x1a8,_0x506b31:0x12,_0x3f5a93:0x2b6,_0x222e91:0x157,_0x33dd21:0x26,_0x2e3598:0x1b4},_0x56a883={_0x5d7320:0x74,_0x2303dd:0x132},_0x4ced8d={_0x3e9fe4:0x191};function _0x26f229(_0x754c2e,_0x452997,_0x27051c,_0xe5f501){return _0x577062(_0x754c2e-_0x4ced8d._0x3e9fe4,_0x27051c,_0x27051c-0x177,_0x754c2e-0x194);}function _0x262d4b(_0x1a83ba,_0x3035ca,_0x2b3f4c,_0x14ffd2){return _0x577062(_0x1a83ba-_0x56a883._0x5d7320,_0x14ffd2,_0x2b3f4c-_0x56a883._0x2303dd,_0x2b3f4c-0x78);}return!(_0x26f229(0x329,0x266,_0x26543b._0x322598,_0x26543b._0x2bc7cd)in _0x430eb9)&&!(_0x262d4b(-0x19,_0x26543b._0x32cd5b,_0x26543b._0x5aeb21,_0x26543b._0x61201f)in _0x430eb9)&&!(_0x262d4b(_0x26543b._0x36c58b,0x34c,_0x26543b._0xfb90fa,0x342)in _0x430eb9)&&!(_0x262d4b(0x3a4,_0x26543b._0x2c07f6,0x1de,-0xd)in _0x430eb9)&&!(_0x262d4b(_0x26543b._0xa16691,_0x26543b._0x471040,_0x26543b._0x3f340e,_0x26543b._0x506b31)in _0x430eb9)&&!(_0x262d4b(-_0x26543b._0x3f5a93,_0x26543b._0x222e91,-_0x26543b._0x2c07f6,0xbd)in _0x430eb9)&&!(_0x26f229(0x1ce,_0x26543b._0x33dd21,_0x26543b._0x2e3598,0x2cb)in _0x430eb9);}function isSuccess(_0x2fabc6){const _0x3db4d2={_0x58b106:0x726},_0x1d4096={_0x393be6:0x15b,_0x289505:0x1f1,_0x199ae9:0x644};function _0x59e321(_0x514221,_0x20b0eb,_0x6d4429,_0x323f85){return _0x577062(_0x514221-_0x1d4096._0x393be6,_0x323f85,_0x6d4429-_0x1d4096._0x289505,_0x514221-_0x1d4096._0x199ae9);}return _0x2fabc6[_0x59e321(0x7a2,0x5c2,_0x3db4d2._0x58b106,0x909)]==='success';}function isError(_0x2c2e0a){const _0x56fbfb={_0x330d2d:0x32a},_0x29efb9={_0x5e9d32:0x76,_0x37c47d:0x4d};function _0x5c9351(_0x3e7b88,_0x4268c2,_0x5e844c,_0xe5cd37){return _0x577062(_0x3e7b88-_0x29efb9._0x5e9d32,_0xe5cd37,_0x5e844c-0x71,_0x5e844c- -_0x29efb9._0x37c47d);}return _0x2c2e0a[_0x5c9351(0x1c3,0xa1,0x111,_0x56fbfb._0x330d2d)]==='error';}function isTextResult(_0x493aa9){const _0x1df765={_0x12c552:0x1ba,_0x1f821f:0x32c},_0x5891da={_0x7428a2:0xae},_0x5b2d4b={_0x1af101:0x78};function _0x412ff0(_0x333320,_0x42e790,_0x1e969a,_0x1f84ee){return _0x577062(_0x333320-_0x5b2d4b._0x1af101,_0x1e969a,_0x1e969a-0x145,_0x42e790-0x2a7);}function _0x1e6349(_0x4147e6,_0x2fcf48,_0x429b16,_0x49e478){return _0x577062(_0x4147e6-_0x5891da._0x7428a2,_0x429b16,_0x429b16-0x13,_0x2fcf48-0xcc);}return _0x493aa9[_0x412ff0(0x59c,0x3f6,0x4ec,_0x1df765._0x12c552)]===_0x412ff0(0x1b4,0x24a,_0x1df765._0x1f821f,0x416);}function isJsonResult(_0x5d3a89){const _0x15380a={_0x45b46e:0x92d,_0x6c98b1:0x71b,_0x5957d3:0x716,_0x281e45:0x502},_0x51608c={_0x5bc394:0x744};function _0xf19511(_0x581aeb,_0x28fcbd,_0x297cfe,_0x5490be){return _0x577062(_0x581aeb-0x23,_0x5490be,_0x297cfe-0x170,_0x297cfe-_0x51608c._0x5bc394);}function _0x34a7b6(_0x56d046,_0x1109d6,_0x43c4da,_0x14742c){return _0x577062(_0x56d046-0x147,_0x56d046,_0x43c4da-0x19f,_0x43c4da-0x5cc);}return _0x5d3a89[_0xf19511(_0x15380a._0x45b46e,_0x15380a._0x6c98b1,0x893,0x852)]===_0x34a7b6(0x8e6,0x70c,_0x15380a._0x5957d3,_0x15380a._0x281e45);}function isSuccessText(_0x1a656c){const _0x1ba06a={_0x26718b:0x1ef,_0x1b39df:0x315,_0x5595c7:0x42e};function _0x3371ea(_0x478353,_0x2c4162,_0x48d4e4,_0x404bda){return _0x577062(_0x478353-0x112,_0x478353,_0x48d4e4-0x3b,_0x48d4e4-0x4fa);}function _0x59fcf2(_0xdadb02,_0x53d663,_0xc01779,_0x38d1cc){return _0x1f0bf6(_0xdadb02- -0x1ab,_0x38d1cc,_0xc01779-0x19c,_0x38d1cc-0x1a9);}return _0x1a656c[_0x59fcf2(0x362,_0x1ba06a._0x26718b,_0x1ba06a._0x1b39df,0x4a1)]===_0x59fcf2(0x2c3,0x12c,0xf1,_0x1ba06a._0x5595c7)&&_0x1a656c['type']==='text';}function isSuccessJson(_0x1368f2){const _0x28cc67={_0x2e44bc:0x16e,_0x25a864:0x35f,_0x5d8df8:0x399,_0x45609a:0x23d,_0x2642a5:0x304,_0x2a47b6:0x14,_0x5e46bf:0x371},_0x414e05={_0x28de4b:0x120},_0x296385={_0xf2176a:0x3a7,_0x243017:0x1f1};function _0x3777ad(_0x153377,_0x3bd857,_0xa0370d,_0x282d46){return _0x1f0bf6(_0x153377- -_0x296385._0xf2176a,_0xa0370d,_0xa0370d-0x31,_0x282d46-_0x296385._0x243017);}function _0x1ca528(_0x34c12b,_0x24bf22,_0x438d7e,_0x2027ed){return _0x577062(_0x34c12b-_0x414e05._0x28de4b,_0x24bf22,_0x438d7e-0xcf,_0x438d7e-0x20d);}return _0x1368f2[_0x1ca528(0x59b,_0x28cc67._0x2e44bc,0x36b,0x495)]===_0x1ca528(_0x28cc67._0x25a864,_0x28cc67._0x5d8df8,0x2cc,_0x28cc67._0x45609a)&&_0x1368f2[_0x3777ad(0x157,_0x28cc67._0x2642a5,0x22a,_0x28cc67._0x2a47b6)]===_0x1ca528(0x155,0x40a,0x357,_0x28cc67._0x5e46bf);}function isBashResult(_0x460d07){return _0x460d07['name']==='bash_tool';}function isBashSuccess(_0x40520f){const _0x4ac112={_0x41fade:0x44b,_0x37035a:0x441,_0xb0d97a:0x3ff,_0x1cee20:0x1d4,_0x525182:0x4f3,_0x5195bc:0x506,_0x45a2a7:0x49b,_0x346c9d:0x677,_0xd3c7c1:0x61a,_0x4d82cd:0x639,_0x594b0c:0x480,_0x108d56:0x750,_0x2fd937:0x56d,_0x24434d:0x488,_0x4f3072:0x51b,_0x24e829:0x364},_0x47f81b={_0x48203a:0x12,_0x327955:0xc2},_0x4d1776={_0x5d65cb:0x19b};function _0x5e1b68(_0x4f3fc4,_0x1257cb,_0x3f5cd8,_0x44facc){return _0x1f0bf6(_0x4f3fc4- -0x7,_0x1257cb,_0x3f5cd8-0xf1,_0x44facc-_0x4d1776._0x5d65cb);}function _0x294f9b(_0x3b7df2,_0x1d0c5b,_0x381f1b,_0x1c2ec2){return _0x1f0bf6(_0x1c2ec2-_0x47f81b._0x48203a,_0x3b7df2,_0x381f1b-0x1d2,_0x1c2ec2-_0x47f81b._0x327955);}return _0x40520f[_0x5e1b68(0x4a5,0x4d0,_0x4ac112._0x41fade,_0x4ac112._0x37035a)]===_0x5e1b68(_0x4ac112._0xb0d97a,_0x4ac112._0x1cee20,0x56d,_0x4ac112._0x525182)&&_0x40520f[_0x5e1b68(_0x4ac112._0x5195bc,_0x4ac112._0x45a2a7,_0x4ac112._0x346c9d,0x715)]===_0x294f9b(_0x4ac112._0xd3c7c1,_0x4ac112._0x4d82cd,0x630,_0x4ac112._0x594b0c)&&_0x40520f[_0x294f9b(_0x4ac112._0x108d56,_0x4ac112._0x2fd937,0x355,0x510)]===_0x294f9b(_0x4ac112._0x24434d,_0x4ac112._0x4f3072,0x294,_0x4ac112._0x24e829);}function isFileReadResult(_0x133ec3){const _0x5f0f3a={_0x5b87ad:0x73f,_0x253d61:0x427,_0x51788f:0x66a,_0x3bb4c3:0x247,_0xbca578:0x472},_0x34e6b3={_0x245e86:0x27d,_0x32c073:0x39,_0x3f572b:0xc4},_0x3bfc7e={_0x518231:0x21e,_0xb58a9e:0xe9};function _0x28d959(_0x1c3a25,_0x4dc8ae,_0x36e5b4,_0x4f893e){return _0x1f0bf6(_0x1c3a25-_0x3bfc7e._0x518231,_0x4f893e,_0x36e5b4-0x180,_0x4f893e-_0x3bfc7e._0xb58a9e);}function _0x22f686(_0x586a71,_0x20f439,_0x1ad38f,_0x2cca26){return _0x1f0bf6(_0x2cca26-_0x34e6b3._0x245e86,_0x586a71,_0x1ad38f-_0x34e6b3._0x32c073,_0x2cca26-_0x34e6b3._0x3f572b);}return _0x133ec3[_0x28d959(0x6ca,0x7e6,0x82e,_0x5f0f3a._0x5b87ad)]===_0x28d959(_0x5f0f3a._0x253d61,_0x5f0f3a._0x51788f,_0x5f0f3a._0x3bb4c3,_0x5f0f3a._0xbca578);}function isFileReadSuccess(_0x2e9c83){const _0x431b0b={_0x4b3988:0x85a,_0x3e4fd6:0x5b7,_0x215747:0x67b,_0x37db1d:0x8a9,_0x4fd062:0x74e,_0x2842e9:0x759,_0x3a055a:0x80a,_0x5492c9:0x6fa,_0x22c9dc:0x8c7,_0x2f28d0:0x878,_0x1c8d81:0x720,_0x4d2fb3:0x700,_0x433c12:0x4b2},_0x59c37e={_0x197e08:0x3ae,_0x50a21f:0x5c,_0x3373f7:0x34},_0x2a1c96={_0x4f9ad5:0x39c,_0x9acd69:0xf4,_0x53fba6:0xcd};function _0x2c5103(_0x336eb1,_0x3a3e05,_0x3464b4,_0x3d24dc){return _0x1f0bf6(_0x3a3e05-_0x2a1c96._0x4f9ad5,_0x3464b4,_0x3464b4-_0x2a1c96._0x9acd69,_0x3d24dc-_0x2a1c96._0x53fba6);}function _0x14fc23(_0x41a914,_0x2c7d7a,_0x5acce8,_0x5e928b){return _0x1f0bf6(_0x41a914-_0x59c37e._0x197e08,_0x5e928b,_0x5acce8-_0x59c37e._0x50a21f,_0x5e928b-_0x59c37e._0x3373f7);}return _0x2e9c83[_0x14fc23(_0x431b0b._0x4b3988,0x6d8,0x7c7,0x631)]===_0x14fc23(_0x431b0b._0x3e4fd6,0x714,_0x431b0b._0x215747,0x5c7)&&_0x2e9c83[_0x2c5103(0x93d,_0x431b0b._0x37db1d,_0x431b0b._0x4fd062,0xa53)]===_0x2c5103(_0x431b0b._0x2842e9,_0x431b0b._0x3a055a,_0x431b0b._0x5492c9,_0x431b0b._0x22c9dc)&&_0x2e9c83[_0x2c5103(_0x431b0b._0x2f28d0,0x89a,_0x431b0b._0x1c8d81,0x6a0)]===_0x14fc23(_0x431b0b._0x4d2fb3,_0x431b0b._0x433c12,0x5d3,0x7d2);}function isFileEditResult(_0x54e63a){const _0x1faa32={_0x547826:0x994,_0x1413db:0x76e},_0x1000d1={_0x11cc7a:0x118};function _0x2c53fc(_0x50a076,_0xc0d32e,_0x11910c,_0x21eb66){return _0x577062(_0x50a076-0xf,_0x21eb66,_0x11910c-_0x1000d1._0x11cc7a,_0x50a076-0x697);}return _0x54e63a[_0x2c53fc(0x794,0x9bc,_0x1faa32._0x547826,_0x1faa32._0x1413db)]==='file_edit';}function isFileEditSuccess(_0x36287b){const _0x3f0a24={_0x1e0be6:0x26d,_0x15d4d7:0x486,_0x3aa48b:0x367,_0x2233b5:0x568,_0x319ce3:0x40d},_0x3046ee={_0x4bd9ea:0x15b,_0x3f763f:0x188},_0x51f7f3={_0xfec041:0xc6};function _0x4483eb(_0x5d3d97,_0xce6351,_0x4efcbb,_0x39b521){return _0x1f0bf6(_0x4efcbb- -0x87,_0x5d3d97,_0x4efcbb-0x50,_0x39b521-_0x51f7f3._0xfec041);}function _0xeaece0(_0x49f6df,_0x4c67c0,_0x41245e,_0x565f59){return _0x577062(_0x49f6df-_0x3046ee._0x4bd9ea,_0x4c67c0,_0x41245e-_0x3046ee._0x3f763f,_0x49f6df-0x5ab);}return _0x36287b['name']===_0x4483eb(0xd6,0x24e,_0x3f0a24._0x1e0be6,0x4a3)&&_0x36287b[_0x4483eb(0x361,0x3b1,_0x3f0a24._0x15d4d7,_0x3f0a24._0x3aa48b)]===_0xeaece0(0x66a,0x4d3,0x69d,0x7d2)&&_0x36287b[_0x4483eb(0x4a1,_0x3f0a24._0x2233b5,0x477,_0x3f0a24._0x319ce3)]===_0x4483eb(0x134,0x43b,0x2cb,0x510);}function isFileNewResult(_0x1a409f){const _0x4a9724={_0x57a67e:0x45a,_0x1730f7:0x6d9,_0x5d3665:0x4f5,_0x5c84be:0x4ed},_0x2c9b81={_0x17fcbd:0x12d,_0x14a4b0:0x407};function _0x15e0f2(_0x363c2b,_0x3726f8,_0x22c7da,_0x1d67e3){return _0x1f0bf6(_0x363c2b- -0x52,_0x22c7da,_0x22c7da-0xae,_0x1d67e3-0x3f);}function _0x3b1b99(_0x4e177a,_0x2e5834,_0x16b532,_0x228b69){return _0x577062(_0x4e177a-0x31,_0x228b69,_0x16b532-_0x2c9b81._0x17fcbd,_0x4e177a-_0x2c9b81._0x14a4b0);}return _0x1a409f[_0x15e0f2(_0x4a9724._0x57a67e,0x4da,0x3fc,0x357)]===_0x3b1b99(0x502,_0x4a9724._0x1730f7,_0x4a9724._0x5d3665,_0x4a9724._0x5c84be);}function isFileNewSuccess(_0x307a17){const _0x2f28aa={_0x1e500b:0x83b,_0x235714:0x886,_0x108024:0x7fd,_0x5a2b9b:0x34c,_0x5d0a61:0x335,_0x57ff9c:0x4a6,_0x20e63b:0x289,_0x39fd6f:0x88d,_0x5f0b38:0xa06,_0x1f8473:0xa05,_0x40408a:0x6e1,_0x1ed3a8:0x6e7,_0x5248ee:0x4da},_0x10a513={_0x2a746c:0x91};function _0x331563(_0x1682d8,_0x237d04,_0x4fb195,_0xdb88ac){return _0x1f0bf6(_0x237d04-0x38,_0x1682d8,_0x4fb195-0x196,_0xdb88ac-_0x10a513._0x2a746c);}function _0x4c9e6c(_0x3d7de3,_0x24b3f8,_0x10d7f3,_0x1243ae){return _0x577062(_0x3d7de3-0x1de,_0x10d7f3,_0x10d7f3-0xbe,_0x3d7de3-0x73e);}return _0x307a17[_0x4c9e6c(_0x2f28aa._0x1e500b,_0x2f28aa._0x235714,_0x2f28aa._0x108024,0x738)]==='file_new'&&_0x307a17[_0x331563(0x799,0x545,0x5d8,_0x2f28aa._0x5a2b9b)]===_0x331563(_0x2f28aa._0x5d0a61,_0x2f28aa._0x57ff9c,0x519,_0x2f28aa._0x20e63b)&&_0x307a17[_0x4c9e6c(_0x2f28aa._0x39fd6f,_0x2f28aa._0x5f0b38,_0x2f28aa._0x1f8473,0x657)]===_0x4c9e6c(_0x2f28aa._0x40408a,_0x2f28aa._0x1ed3a8,_0x2f28aa._0x5248ee,0x631);}function isLsToolResult(_0x2f1976){const _0xf0fce3={_0x4b98a7:0x505,_0xda1139:0x52b,_0x22b684:0x38c,_0x42a566:0x455},_0x4a05db={_0x524d5c:0x1cf,_0x5b1c9a:0x606},_0x188508={_0xaaafce:0x3e};function _0x5a6c7b(_0x31e2d1,_0x16c9ed,_0x5a6f33,_0x3cf3ff){return _0x577062(_0x31e2d1-0x72,_0x5a6f33,_0x5a6f33-_0x188508._0xaaafce,_0x16c9ed-0x4f8);}function _0x253b6a(_0x14bd08,_0x3f0e9b,_0xa72218,_0x510205){return _0x577062(_0x14bd08-0x16a,_0xa72218,_0xa72218-_0x4a05db._0x524d5c,_0x14bd08-_0x4a05db._0x5b1c9a);}return _0x2f1976[_0x5a6c7b(0x578,0x5f5,0x6d5,_0xf0fce3._0x4b98a7)]===_0x253b6a(_0xf0fce3._0xda1139,_0xf0fce3._0x22b684,_0xf0fce3._0x42a566,0x44e);}function isLsToolSuccess(_0x51beb5){const _0x565604={_0x4cb02c:0x6df,_0x3bbd9e:0x8f2,_0x512253:0x712,_0x10d692:0x356,_0x1de5ac:0x4e0,_0x5dfd21:0x977,_0x2c2638:0x78e,_0x1e9976:0x226,_0x4655a2:0x2c6,_0x13ff70:0x5d1,_0x76ed11:0x5b8},_0x442d6b={_0x1376a7:0x207};function _0x442095(_0x355719,_0x2641db,_0xba06cd,_0x46ec50){return _0x1f0bf6(_0x46ec50-0x266,_0x2641db,_0xba06cd-0x72,_0x46ec50-0x15d);}function _0x336cec(_0x5f1239,_0x55e5dd,_0x48cfd2,_0xe62ff1){return _0x577062(_0x5f1239-0x12d,_0xe62ff1,_0x48cfd2-0x17a,_0x48cfd2-_0x442d6b._0x1376a7);}return _0x51beb5[_0x442095(0x57e,_0x565604._0x4cb02c,_0x565604._0x3bbd9e,_0x565604._0x512253)]===_0x442095(_0x565604._0x10d692,0x74f,_0x565604._0x1de5ac,0x53a)&&_0x51beb5[_0x442095(_0x565604._0x5dfd21,_0x565604._0x2c2638,0x69d,0x773)]===_0x336cec(0x2ec,_0x565604._0x1e9976,_0x565604._0x4655a2,0x27c)&&_0x51beb5['type']===_0x442095(0x3ef,0x37e,_0x565604._0x13ff70,_0x565604._0x76ed11);}function isGlobResult(_0x11df66){const _0x5037d2={_0xccefc1:0xbe,_0x2dee58:0x15e,_0x3a50e5:0xc,_0x370e09:0xdd,_0x32fc3f:0x298,_0xbe5f2a:0x41},_0x4a8326={_0x5d4d49:0xf7,_0x566112:0x76e},_0x5eded5={_0x4f89ac:0xe0,_0x3b45c4:0xa8,_0x18d131:0x3f};function _0x4f6fb5(_0x1e2436,_0x269b00,_0x336175,_0x2934ab){return _0x577062(_0x1e2436-_0x5eded5._0x4f89ac,_0x269b00,_0x336175-_0x5eded5._0x3b45c4,_0x1e2436- -_0x5eded5._0x18d131);}function _0x5ab500(_0x2d8574,_0x223940,_0x42de98,_0x33cd07){return _0x577062(_0x2d8574-0x167,_0x42de98,_0x42de98-_0x4a8326._0x5d4d49,_0x2d8574-_0x4a8326._0x566112);}return _0x11df66[_0x4f6fb5(_0x5037d2._0xccefc1,_0x5037d2._0x2dee58,_0x5037d2._0x3a50e5,0x1d6)]===_0x4f6fb5(_0x5037d2._0x370e09,_0x5037d2._0x32fc3f,0x28f,_0x5037d2._0xbe5f2a);}function isGlobSuccess(_0x21dea0){const _0xdafe55={_0x4e3036:0xe4,_0x1cfe58:0x493,_0x281a9b:0x2f2,_0x4bd8f6:0x106,_0x107680:0x270,_0x281c37:0xcd,_0x325b00:0x295},_0x10582f={_0x50208b:0x2e,_0x280a7b:0x1e6},_0x506cda={_0x4d3cd4:0x1d6};function _0xb40588(_0x35fb2a,_0x315542,_0x177985,_0x1971c0){return _0x577062(_0x35fb2a-0x6,_0x1971c0,_0x177985-0xf3,_0x177985-_0x506cda._0x4d3cd4);}function _0x37398a(_0x405a3c,_0x489fc4,_0x33723c,_0x30a09e){return _0x577062(_0x405a3c-_0x10582f._0x50208b,_0x405a3c,_0x33723c-_0x10582f._0x280a7b,_0x33723c-0x608);}return _0x21dea0['name']===_0xb40588(_0xdafe55._0x4e3036,_0xdafe55._0x1cfe58,_0xdafe55._0x281a9b,0x25b)&&_0x21dea0[_0xb40588(0x514,_0xdafe55._0x4bd8f6,0x334,0x3f3)]===_0xb40588(_0xdafe55._0x107680,_0xdafe55._0x281c37,_0xdafe55._0x325b00,0x4e6)&&_0x21dea0[_0xb40588(0x42d,0x447,0x325,0x2e4)]==='text';}function isGrepResult(_0x15971a){const _0x206dea={_0x1e3961:0x75c,_0xe3884:0x84c,_0x569942:0x6cd,_0x45b459:0x5e5},_0x1a129f={_0x55d062:0x2fd,_0x56db17:0x113,_0x4b83c7:0x98},_0x5a39f0={_0x4711e3:0x12a};function _0x58f392(_0x56349f,_0x2d6f91,_0x59fcde,_0x410d8b){return _0x1f0bf6(_0x59fcde-0x39f,_0x410d8b,_0x59fcde-0x55,_0x410d8b-_0x5a39f0._0x4711e3);}function _0x543f67(_0x1f9a89,_0x9c1109,_0x2e0efe,_0x17765c){return _0x1f0bf6(_0x9c1109-_0x1a129f._0x55d062,_0x1f9a89,_0x2e0efe-_0x1a129f._0x56db17,_0x17765c-_0x1a129f._0x4b83c7);}return _0x15971a[_0x58f392(_0x206dea._0x1e3961,0x60f,0x84b,0x68a)]===_0x58f392(0x597,_0x206dea._0xe3884,_0x206dea._0x569942,_0x206dea._0x45b459);}function isGrepSuccess(_0x410087){const _0x4af4fc={_0x42bb9b:0x95,_0x2071a0:0x4cc,_0xd89ce7:0x36},_0x2028f9={_0x209480:0x1df},_0x340a79={_0x14a21a:0x8f,_0x3e26bc:0xc1,_0x453b27:0x63};function _0x3247cd(_0x18c79e,_0x87a31d,_0xdc0d42,_0x4594ad){return _0x577062(_0x18c79e-_0x340a79._0x14a21a,_0xdc0d42,_0xdc0d42-_0x340a79._0x3e26bc,_0x87a31d-_0x340a79._0x453b27);}function _0x5b1b0e(_0x613d39,_0x3c4402,_0x49e10e,_0x561802){return _0x1f0bf6(_0x49e10e- -0x1b9,_0x613d39,_0x49e10e-_0x2028f9._0x209480,_0x561802-0x1c6);}return _0x410087['name']===_0x5b1b0e(0xa4,-_0x4af4fc._0x42bb9b,0x175,0x10d)&&_0x410087['status']==='success'&&_0x410087[_0x5b1b0e(0x58c,_0x4af4fc._0x2071a0,0x345,0xfb)]===_0x5b1b0e(0x40,-_0x4af4fc._0xd89ce7,0x199,0x8f);}function isWebSearchResult(_0x3a4155){const _0x3e95c0={_0x30a317:0x507,_0x3d27e4:0x386,_0x29ca7a:0x4cb,_0x9b1852:0x438},_0x5eb5e3={_0x2ec081:0x17f,_0x4539b5:0x16b,_0x572fbb:0x3da},_0x508b36={_0x5f1b00:0x103,_0x12f962:0x108,_0x5bff01:0xe9};function _0x551a2f(_0x19520f,_0x2fcc0b,_0x56a600,_0x424bf7){return _0x577062(_0x19520f-_0x508b36._0x5f1b00,_0x2fcc0b,_0x56a600-_0x508b36._0x12f962,_0x56a600-_0x508b36._0x5bff01);}function _0x1cb816(_0x1572f4,_0x5e6252,_0x29b350,_0x5d5f10){return _0x577062(_0x1572f4-_0x5eb5e3._0x2ec081,_0x29b350,_0x29b350-_0x5eb5e3._0x4539b5,_0x1572f4-_0x5eb5e3._0x572fbb);}return _0x3a4155[_0x1cb816(0x4d7,0x552,0x3c3,_0x3e95c0._0x30a317)]===_0x1cb816(_0x3e95c0._0x3d27e4,_0x3e95c0._0x29ca7a,_0x3e95c0._0x9b1852,0x4af);}function isWebSearchSuccess(_0xa985d1){const _0x3c535c={_0x48f72:0x507,_0x3c7a5a:0x69d,_0x27c2b9:0x781,_0x2c60a8:0x489,_0x1a9087:0x63b,_0x3fcfd3:0x406,_0xaedae9:0x34e,_0x433279:0x754,_0x3c38b6:0x70b,_0x53ed35:0x890},_0x70622={_0x3b6b56:0x40},_0x222a4f={_0x505a4a:0x6a};function _0x378efa(_0x338aa0,_0x33c783,_0x350678,_0x274696){return _0x1f0bf6(_0x33c783-0x397,_0x350678,_0x350678-0x16,_0x274696-_0x222a4f._0x505a4a);}function _0x13aade(_0x5ccb7b,_0x4a3567,_0x4ef20c,_0x33a77b){return _0x1f0bf6(_0x4a3567-0x12e,_0x4ef20c,_0x4ef20c-_0x70622._0x3b6b56,_0x33a77b-0xb);}return _0xa985d1[_0x13aade(_0x3c535c._0x48f72,0x5da,_0x3c535c._0x3c7a5a,_0x3c535c._0x27c2b9)]===_0x13aade(0x235,_0x3c535c._0x2c60a8,0x319,0x248)&&_0xa985d1[_0x13aade(0x80f,_0x3c535c._0x1a9087,0x6e9,_0x3c535c._0x3fcfd3)]===_0x13aade(_0x3c535c._0xaedae9,0x59c,_0x3c535c._0x433279,0x3cb)&&_0xa985d1[_0x13aade(0x732,0x62c,0x597,0x867)]===_0x378efa(_0x3c535c._0x3c38b6,_0x3c535c._0x53ed35,0x67b,0x839);}function isWebFetchResult(_0x210903){const _0x432561={_0x4bad60:0x1ec,_0x6284b7:0x266,_0x6fd703:0x1ee};function _0x2ff777(_0xe00aaa,_0x207ebb,_0x2055d2,_0x338e77){return _0x577062(_0xe00aaa-0x59,_0xe00aaa,_0x2055d2-0x13e,_0x2055d2-0x23);}return _0x210903['name']===_0x2ff777(-_0x432561._0x4bad60,-0x315,-_0x432561._0x6284b7,-_0x432561._0x6fd703);}function isWebFetchSuccess(_0x3a7a08){const _0x5f42dd={_0x3e4d0d:0x830,_0x1a9054:0x778,_0xd254e2:0x797,_0x129b3a:0x3f2,_0x210de6:0x41a,_0x565c5d:0xeb,_0x69aba1:0x8c6,_0x260a70:0x1fc},_0x1eb427={_0x3b7d59:0x4c,_0x2ba07e:0x67b};function _0x1178a1(_0x35a675,_0x1b3b85,_0x25fdaa,_0x5b6474){return _0x577062(_0x35a675-_0x1eb427._0x3b7d59,_0x5b6474,_0x25fdaa-0xea,_0x25fdaa-_0x1eb427._0x2ba07e);}function _0x1144d2(_0x9e04ff,_0x1de8df,_0x55e5bc,_0xc7b6ea){return _0x577062(_0x9e04ff-0x168,_0x55e5bc,_0x55e5bc-0x142,_0x1de8df-0xc);}return _0x3a7a08[_0x1178a1(0x579,_0x5f42dd._0x3e4d0d,_0x5f42dd._0x1a9054,_0x5f42dd._0xd254e2)]===_0x1178a1(0x485,0x46b,_0x5f42dd._0x129b3a,_0x5f42dd._0x210de6)&&_0x3a7a08[_0x1144d2(-0x9f,0x16a,_0x5f42dd._0x565c5d,0xb)]===_0x1178a1(0x704,0x847,0x73a,_0x5f42dd._0x69aba1)&&_0x3a7a08[_0x1144d2(0x1df,0x15b,-0xe6,_0x5f42dd._0x260a70)]==='text';}function isTodoWriteResult(_0x38dd79){const _0x170faa={_0x80bc93:0x21a,_0x3e847f:0x3df},_0x43ddfb={_0x39df4b:0x11c};function _0x41edf1(_0xd3f7b,_0x39f280,_0x460bf9,_0x39832b){return _0x577062(_0xd3f7b-0x110,_0x39f280,_0x460bf9-0x1c8,_0xd3f7b-_0x43ddfb._0x39df4b);}return _0x38dd79['name']===_0x41edf1(_0x170faa._0x80bc93,0x49,_0x170faa._0x3e847f,0x7f);}function isTodoWriteSuccess(_0x215cbd){const _0x47cb1f={_0x4df0d2:0x7f2,_0xa7f89c:0x679,_0x2394ec:0x94c,_0xfa1a99:0x809,_0x1da985:0x85a,_0x58c77e:0x939,_0x8951e9:0x6ae},_0x269bf2={_0x42660c:0x35c},_0x17c602={_0x3d3d04:0x3ba,_0x232c87:0x1d3,_0x42c5e1:0x17};function _0x579392(_0x24e884,_0xf4e47c,_0x232e0d,_0x3b478d){return _0x1f0bf6(_0xf4e47c-_0x17c602._0x3d3d04,_0x24e884,_0x232e0d-_0x17c602._0x232c87,_0x3b478d-_0x17c602._0x42c5e1);}function _0x56f6d(_0x584228,_0x20e186,_0x30230d,_0x5c5c92){return _0x1f0bf6(_0x30230d-_0x269bf2._0x42660c,_0x584228,_0x30230d-0x158,_0x5c5c92-0x1b);}return _0x215cbd[_0x56f6d(0x772,_0x47cb1f._0x4df0d2,0x808,0x834)]===_0x56f6d(_0x47cb1f._0xa7f89c,_0x47cb1f._0x2394ec,_0x47cb1f._0xfa1a99,0x6f5)&&_0x215cbd['status']==='success'&&_0x215cbd[_0x56f6d(0x7a6,0x9bb,_0x47cb1f._0x1da985,_0x47cb1f._0x58c77e)]===_0x56f6d(0x8b9,0x475,_0x47cb1f._0x8951e9,0x4a5);}function isAssignResult(_0x13853d){const _0x14a35c={_0x270d82:0x50,_0x341b2b:0xc1},_0x3cc5db={_0x4ddd4e:0x1c5,_0x5f0d8e:0x6da},_0x3596ec={_0x3ece84:0xdf,_0x3f9c87:0x124,_0x33802a:0x5b};function _0x3e774b(_0x535d12,_0x3291c8,_0x59fc90,_0x57a210){return _0x577062(_0x535d12-_0x3596ec._0x3ece84,_0x535d12,_0x59fc90-_0x3596ec._0x3f9c87,_0x57a210-_0x3596ec._0x33802a);}function _0x3b311(_0x29db15,_0x3d546c,_0xfbbbb2,_0x55dd46){return _0x577062(_0x29db15-_0x3cc5db._0x4ddd4e,_0x29db15,_0xfbbbb2-0xa5,_0xfbbbb2-_0x3cc5db._0x5f0d8e);}return _0x13853d[_0x3e774b(-0xc4,0x151,-_0x14a35c._0x270d82,0x158)]===_0x3e774b(_0x14a35c._0x341b2b,-0x2cf,-0xd1,-0xd2);}function isAssignSuccess(_0x502f29){const _0x28dbb9={_0x5c44f5:0x243,_0x7f88f5:0x41c,_0x5d45f7:0x32e,_0xdb6dd0:0x288,_0x3108eb:0x16c,_0x34bedd:0xa2,_0x437d05:0x18e,_0x57f980:0x6b,_0x836225:0x5df,_0x87105d:0x54a,_0x59dd18:0x61b,_0x1f5c18:0x124,_0x3e0bf3:0x72,_0x135ce8:0x13d},_0x4fd0b4={_0x2cf436:0x146,_0x1a6aa1:0x19e},_0x2f7bef={_0xebd170:0x1c6,_0x4a16c6:0xcf};function _0x4cd1b3(_0x4876cd,_0x4c873d,_0x5cd0a2,_0x168e46){return _0x577062(_0x4876cd-0x169,_0x5cd0a2,_0x5cd0a2-_0x2f7bef._0xebd170,_0x4c873d-_0x2f7bef._0x4a16c6);}function _0x2aa6fd(_0x4516c8,_0x20a120,_0x263924,_0x4a91be){return _0x1f0bf6(_0x4a91be-0x98,_0x263924,_0x263924-_0x4fd0b4._0x2cf436,_0x4a91be-_0x4fd0b4._0x1a6aa1);}return _0x502f29[_0x4cd1b3(0x1e8,0x1cc,_0x28dbb9._0x5c44f5,_0x28dbb9._0x7f88f5)]===_0x2aa6fd(_0x28dbb9._0x5d45f7,_0x28dbb9._0xdb6dd0,_0x28dbb9._0x3108eb,0x31a)&&_0x502f29['status']===_0x4cd1b3(-_0x28dbb9._0x34bedd,_0x28dbb9._0x437d05,-0xb6,-_0x28dbb9._0x57f980)&&_0x502f29[_0x2aa6fd(_0x28dbb9._0x836225,_0x28dbb9._0x87105d,_0x28dbb9._0x59dd18,0x596)]===_0x4cd1b3(_0x28dbb9._0x1f5c18,_0x28dbb9._0x3e0bf3,0x1ea,-_0x28dbb9._0x135ce8);}import*as _0x2e1ca1 from'fs';import*as _0x561a04 from'path';import{parse,stringify as _0x381cf7}from'yaml';var AgentFilePersistence=class{[_0x577062(-0x4b9,-0x1aa,-0x7f,-0x27f)];constructor(_0xe8d80){const _0x100336={_0x4f5000:0x40f,_0x1ff896:0x493,_0x3d7737:0xf6,_0xd3fd63:0x181},_0x2a315b={_0x4c164c:0x17},_0x29e1da={_0x2ac45e:0x15c,_0x402086:0x1b3};function _0x1a1b1a(_0x1899b9,_0x5b3023,_0x3a3dc2,_0x1bc9d6){return _0x1f0bf6(_0x1899b9- -0x3a,_0x5b3023,_0x3a3dc2-_0x29e1da._0x2ac45e,_0x1bc9d6-_0x29e1da._0x402086);}function _0x17e545(_0x210374,_0x5e0a31,_0x40f099,_0x3acdfd){return _0x577062(_0x210374-_0x2a315b._0x4c164c,_0x5e0a31,_0x40f099-0x53,_0x40f099-0x712);}this[_0x17e545(_0x100336._0x4f5000,0x24d,_0x100336._0x1ff896,0x66f)]=_0xe8d80[_0x1a1b1a(_0x100336._0x3d7737,-0x20,_0x100336._0xd3fd63,-0xe8)];}[_0x1f0bf6(0x3a2,0x4c1,0x5ec,0x285)](){const _0x185b14={_0x2976e6:0x36b,_0x17aa04:0x22e},_0x5a1d39={_0x1dc4f6:0x18,_0x2c5377:0x51};function _0x5c3768(_0x5244ac,_0x3b50fd,_0x2275b1,_0x4807bb){return _0x577062(_0x5244ac-0x120,_0x4807bb,_0x2275b1-_0x5a1d39._0x1dc4f6,_0x2275b1-_0x5a1d39._0x2c5377);}!_0x2e1ca1['existsSync'](this[_0x5c3768(-0x37f,-_0x185b14._0x2976e6,-_0x185b14._0x17aa04,-0x9f)])&&_0x2e1ca1['mkdirSync'](this['agentsDir'],{'recursive':!![]});}async[_0x577062(0x296,0x1d0,0x3cb,0x185)](){const _0x35e1f8={_0x506309:0x700,_0x2868d2:0x141,_0x2c334e:0xbe,_0x5690d9:0x3ae,_0x58e732:0x6cf,_0x40a42f:0x4f6,_0x22e26b:0x2e1,_0x18f6bd:0x154,_0x223780:0x317,_0x410ee2:0x560,_0x2a75e0:0x4f6,_0x313e4d:0x4ab,_0x2dbbcf:0x19},_0x57b0d8={_0x27247a:0x3c6},_0x3d59e2={_0x11ac31:0x225},_0x1a1e4b=[];try{this[_0x527b92(0x987,0x933,0x768,_0x35e1f8._0x506309)]();if(!_0x2e1ca1[_0x3f010d(_0x35e1f8._0x2868d2,0x13f,0x26f,_0x35e1f8._0x2c334e)](this[_0x527b92(_0x35e1f8._0x5690d9,_0x35e1f8._0x58e732,_0x35e1f8._0x40a42f,_0x35e1f8._0x22e26b)]))return _0x1a1e4b;const _0x5e35e8=_0x2e1ca1[_0x3f010d(0xea,-_0x35e1f8._0x18f6bd,-0xe6,-0xe4)](this[_0x527b92(_0x35e1f8._0x223780,_0x35e1f8._0x410ee2,_0x35e1f8._0x2a75e0,_0x35e1f8._0x313e4d)]),_0x314793=_0x5e35e8['filter'](_0x6e4ce9=>_0x6e4ce9[_0x3f010d(0x41f,0x4e6,0x3ba,0x29e)](_0x3f010d(0x2ec,0x267,0x17d,0x142))||_0x6e4ce9[_0x3f010d(0xd1,0x444,0x4da,0x29e)](_0x3f010d(0x4a8,0x2b1,0x12a,0x2de)));for(const _0x2e97f5 of _0x314793){try{const _0x3bc605=await this['load'](_0x2e97f5);_0x3bc605&&_0x1a1e4b['push'](_0x3bc605);}catch(_0x159aaa){console[_0x3f010d(0x341,0x2d8,_0x35e1f8._0x2dbbcf,0x19f)]('Failed\x20to\x20load\x20agent\x20from\x20'+_0x2e97f5+':',_0x159aaa);}}}catch(_0x18a503){}function _0x3f010d(_0xa2ce23,_0x3bf0b1,_0x206bd5,_0x303502){return _0x1f0bf6(_0x303502- -_0x3d59e2._0x11ac31,_0x206bd5,_0x206bd5-0x38,_0x303502-0x1da);}function _0x527b92(_0xf24569,_0x2a8deb,_0x5d619d,_0x217bc9){return _0x1f0bf6(_0x5d619d-_0x57b0d8._0x27247a,_0x217bc9,_0x5d619d-0x100,_0x217bc9-0x19);}return _0x1a1e4b;}async[_0x577062(0x2b5,0x2de,0x2a9,0xce)](_0x157260){const _0x57d8af={_0x4113b2:0x6e4,_0x684d8:0x528,_0x24b745:0x5f4,_0x304c84:0x30a,_0x2d24d9:0x509,_0x47545f:0x50a,_0x7b48aa:0x386,_0xbdae9f:0x3f0,_0x359ab2:0x365,_0x5c6714:0x4cb,_0x526182:0x290,_0xff2c0a:0x488,_0x3f111e:0x2e3,_0xe586a9:0x49d,_0x45d58f:0x584,_0x2a18bd:0x424,_0x5e5468:0x82e,_0x369903:0x903,_0x16084a:0x6bf,_0x6d1057:0x678,_0x516c9a:0x763,_0x36d655:0x3ce,_0x36e50f:0x419,_0xb149ee:0x1e3,_0x482237:0x47e,_0x28346c:0x524,_0x23c75e:0x26f,_0xa382eb:0x1dd,_0x239392:0x394,_0x1a5c3e:0x1c3,_0x56ae4b:0x29d,_0x5ea06a:0x453,_0x41a774:0x3ab,_0x1090e1:0x418,_0x2bdc4b:0x80b,_0x1c6d7e:0x790,_0x4df16d:0x814,_0x115b82:0x795,_0x3300cc:0x379,_0x6ca732:0x24b,_0x36c374:0x7cf,_0x156804:0x61a,_0xdf2908:0x394},_0x2ba80c={_0x2c6503:0x256},_0xb96e49={_0x2cbef:0x151,_0x3aa255:0x6e};function _0x328208(_0x464225,_0x54e551,_0x33dad2,_0x5b6f52){return _0x577062(_0x464225-_0xb96e49._0x2cbef,_0x33dad2,_0x33dad2-_0xb96e49._0x3aa255,_0x54e551-0x3fc);}function _0x1ed5f4(_0x5f3104,_0x2cc5e4,_0x423864,_0x3d139c){return _0x1f0bf6(_0x3d139c-_0x2ba80c._0x2c6503,_0x5f3104,_0x423864-0xd0,_0x3d139c-0x3f);}try{const _0x2f3166=_0x561a04[_0x1ed5f4(_0x57d8af._0x4113b2,0x642,_0x57d8af._0x684d8,_0x57d8af._0x24b745)](this[_0x1ed5f4(_0x57d8af._0x304c84,_0x57d8af._0x2d24d9,_0x57d8af._0x47545f,_0x57d8af._0x7b48aa)],_0x157260),_0x54d236=_0x2e1ca1['readFileSync'](_0x2f3166,_0x328208(0x44f,0x2ee,_0x57d8af._0xbdae9f,_0x57d8af._0x359ab2)),_0xfdddf9=parse(_0x54d236);if(!_0xfdddf9||typeof _0xfdddf9!==_0x1ed5f4(0x27b,_0x57d8af._0x5c6714,_0x57d8af._0x526182,_0x57d8af._0xff2c0a)||typeof _0xfdddf9[_0x1ed5f4(_0x57d8af._0x3f111e,_0x57d8af._0xe586a9,_0x57d8af._0x45d58f,_0x57d8af._0x2a18bd)]!==_0x1ed5f4(_0x57d8af._0x5e5468,0x692,_0x57d8af._0x369903,_0x57d8af._0x16084a))return console[_0x1ed5f4(0x5f2,_0x57d8af._0x6d1057,_0x57d8af._0x516c9a,0x61a)](_0x328208(_0x57d8af._0x36d655,_0x57d8af._0x36e50f,_0x57d8af._0xb149ee,_0x57d8af._0x482237)+_0x157260+_0x1ed5f4(_0x57d8af._0x28346c,_0x57d8af._0x23c75e,_0x57d8af._0xa382eb,_0x57d8af._0x239392)),null;const _0x453c33=_0xfdddf9;if(_0x453c33['tools']!==void 0x0&&!Array[_0x328208(0x3c,_0x57d8af._0x1a5c3e,_0x57d8af._0x56ae4b,0xee)](_0x453c33[_0x1ed5f4(0x355,_0x57d8af._0x5ea06a,_0x57d8af._0x41a774,_0x57d8af._0x1090e1)]))return console[_0x1ed5f4(_0x57d8af._0x2bdc4b,_0x57d8af._0x1c6d7e,_0x57d8af._0x4df16d,0x61a)](_0x1ed5f4(0x6d8,0x666,_0x57d8af._0x115b82,0x622)+_0x157260+_0x328208(_0x57d8af._0x3300cc,_0x57d8af._0x6ca732,0x10,0x115)),null;return _0xfdddf9;}catch(_0x535b25){return console[_0x1ed5f4(0x51d,0x760,_0x57d8af._0x36c374,_0x57d8af._0x156804)](_0x328208(0x55e,0x563,_0x57d8af._0xdf2908,0x789)+_0x157260+':',_0x535b25),null;}}async['save'](_0x34f3a5){const _0x1658fe={_0x37debb:0x73c,_0x963ff8:0x5dc,_0x3d0b08:0x8f6,_0x43dcfe:0x67a,_0xa7e90f:0x7c5,_0x2fb6b3:0x2bb,_0x18c490:0x69a,_0x36c585:0x945,_0x481de6:0x3f8,_0x358cc3:0x599,_0x4e3384:0x619,_0x1a6cb2:0x1a,_0x29c831:0x1b5,_0x1fde7c:0x2fe,_0x7530a:0x196,_0x21ba65:0x347},_0xd41a0c={_0x9ddec1:0xb8},_0x143481={_0x5099c3:0x47,_0x5f46fa:0xae};this[_0x2f102a(0x676,0x57d,_0x1658fe._0x37debb,0x71a)]();if(!_0x34f3a5['systemPrompt'])throw new Error('Cannot\x20save\x20agent:\x20systemPrompt\x20is\x20required');const _0x2ad7dc=_0x34f3a5['id']||_0x2f102a(_0x1658fe._0x963ff8,_0x1658fe._0x3d0b08,_0x1658fe._0x43dcfe,_0x1658fe._0xa7e90f)+Date['now']();function _0x2f102a(_0x1e33bf,_0x379ea8,_0x185d4b,_0x279bcb){return _0x1f0bf6(_0x279bcb-0x378,_0x1e33bf,_0x185d4b-_0x143481._0x5099c3,_0x279bcb-_0x143481._0x5f46fa);}const _0x4c88d8=this[_0x2f102a(0x2a0,_0x1658fe._0x2fb6b3,0x3d6,0x48c)](_0x2ad7dc)+'.yaml';function _0x5a1cf7(_0xb8f28e,_0x3fdad4,_0x1b8bb5,_0x200a47){return _0x1f0bf6(_0x3fdad4- -0x306,_0x200a47,_0x1b8bb5-0x16b,_0x200a47-_0xd41a0c._0x9ddec1);}const _0x50b012=_0x561a04[_0x2f102a(_0x1658fe._0x18c490,_0x1658fe._0x36c585,0x672,0x716)](this[_0x2f102a(0x389,0x531,0x658,0x4a8)],_0x4c88d8);try{const _0x51c293=_0x381cf7(_0x34f3a5,{'lineWidth':0x0,'indent':0x2});_0x2e1ca1[_0x5a1cf7(-0x3f7,-0x202,-0x22f,-0x11c)](_0x50b012,_0x51c293,_0x2f102a(_0x1658fe._0x481de6,_0x1658fe._0x358cc3,0x5d8,_0x1658fe._0x4e3384));}catch(_0x8a876f){throw new Error(_0x5a1cf7(_0x1658fe._0x1a6cb2,-_0x1658fe._0x29c831,-0x2e0,-0xa0)+_0x4c88d8+':\x20'+(_0x8a876f instanceof Error?_0x8a876f[_0x5a1cf7(-_0x1658fe._0x1fde7c,-_0x1658fe._0x7530a,-_0x1658fe._0x21ba65,-0x49)]:String(_0x8a876f)));}}async['delete'](_0x27afb6){const _0x11bc11={_0x252fd1:0x31,_0x1c3885:0x111,_0x5f0e9c:0x33,_0x3f0f9b:0x200,_0x46f561:0x23e,_0x97bac4:0x431,_0x55292e:0x2ac,_0x15e9ad:0x275,_0x5eb873:0x1b5,_0x597676:0xe,_0x32900a:0x3b,_0x41d829:0x407,_0x52451d:0xb,_0x1ff04c:0x370,_0x5e68bd:0x4c6,_0x371cdf:0x47,_0x365edf:0x142},_0x1d473e={_0x1fb0e5:0xb6,_0x2bdabf:0x154},_0x4d1498={_0x2af80f:0xc9,_0x11c2fd:0x180};function _0x28e529(_0x1501ee,_0x589868,_0x4d6adc,_0x477049){return _0x1f0bf6(_0x1501ee- -0xe3,_0x4d6adc,_0x4d6adc-_0x4d1498._0x2af80f,_0x477049-_0x4d1498._0x11c2fd);}const _0x223352=this[_0x28e529(_0x11bc11._0x252fd1,_0x11bc11._0x1c3885,-_0x11bc11._0x5f0e9c,_0x11bc11._0x3f0f9b)](_0x27afb6)+_0x526fed(0x312,0x1ac,_0x11bc11._0x46f561,_0x11bc11._0x97bac4),_0xe3bd67=_0x561a04[_0x526fed(_0x11bc11._0x55292e,0x49b,_0x11bc11._0x15e9ad,_0x11bc11._0x5eb873)](this[_0x526fed(0x141,_0x11bc11._0x597676,0x7,-_0x11bc11._0x32900a)],_0x223352);function _0x526fed(_0x491502,_0x473a5c,_0xf20e18,_0x22f736){return _0x1f0bf6(_0xf20e18- -0x129,_0x491502,_0xf20e18-_0x1d473e._0x1fb0e5,_0x22f736-_0x1d473e._0x2bdabf);}try{_0x2e1ca1[_0x28e529(0x200,_0x11bc11._0x41d829,0x1ab,-_0x11bc11._0x52451d)](_0xe3bd67)&&_0x2e1ca1['unlinkSync'](_0xe3bd67);}catch(_0x3a7e99){throw new Error(_0x28e529(_0x11bc11._0x1ff04c,0x377,0x25d,_0x11bc11._0x5e68bd)+_0x27afb6+':\x20'+(_0x3a7e99 instanceof Error?_0x3a7e99[_0x526fed(0x225,-0xe9,_0x11bc11._0x371cdf,_0x11bc11._0x365edf)]:String(_0x3a7e99)));}}[_0x1f0bf6(0x317,0x379,0x391,0x383)](_0x2c1617){const _0x50e479={_0x23d5fe:0x3ae,_0x4d306d:0x20f,_0x40dccb:0x4e3,_0x1b9d8f:0x520,_0x38348e:0x30c,_0x46ab70:0x432,_0x25b085:0x3ca,_0x5756db:0x287},_0x2fc9d7={_0x49323a:0xca,_0x55533c:0x649},_0x2f1f93={_0x4b1259:0x94,_0x319449:0x1c1};function _0x32e568(_0x36188c,_0x2473e1,_0xfe01db,_0x329321){return _0x1f0bf6(_0x2473e1-_0x2f1f93._0x4b1259,_0xfe01db,_0xfe01db-_0x2f1f93._0x319449,_0x329321-0xab);}const _0xab0968=this[_0x5101aa(_0x50e479._0x23d5fe,_0x50e479._0x4d306d,0x4f5,0x2e9)](_0x2c1617)+_0x32e568(_0x50e479._0x40dccb,0x3fb,_0x50e479._0x1b9d8f,0x272),_0x56cdf0=_0x561a04[_0x32e568(_0x50e479._0x38348e,_0x50e479._0x46ab70,0x586,0x369)](this[_0x5101aa(_0x50e479._0x25b085,_0x50e479._0x5756db,0x223,0x525)],_0xab0968);function _0x5101aa(_0x427cd8,_0x4de5b5,_0x4c819b,_0x444690){return _0x577062(_0x427cd8-_0x2fc9d7._0x49323a,_0x444690,_0x4c819b-0x19f,_0x427cd8-_0x2fc9d7._0x55533c);}return _0x2e1ca1['existsSync'](_0x56cdf0);}[_0x1f0bf6(0x114,0x29b,0x1e8,0xe7)](_0x1bb5d3){const _0x2aee8b={_0x16d677:0x105,_0xbe5010:0x2b9,_0x3f14e4:0x495,_0x114574:0xf0,_0x59fdd5:0x321,_0xc70e40:0x57},_0x23a1e4={_0xbaa042:0xc3,_0x4eb45b:0x149},_0x5373fb={_0x15c3c2:0x249};function _0x10ab01(_0x470a5d,_0x5c9336,_0x24f11f,_0x2c9d46){return _0x577062(_0x470a5d-0x2e,_0x470a5d,_0x24f11f-0x169,_0x24f11f-_0x5373fb._0x15c3c2);}function _0x52c9cb(_0x38194e,_0x37f71b,_0x2425af,_0x2e7bbe){return _0x1f0bf6(_0x2e7bbe- -0x181,_0x37f71b,_0x2425af-_0x23a1e4._0xbaa042,_0x2e7bbe-_0x23a1e4._0x4eb45b);}return _0x1bb5d3['toLowerCase']()[_0x10ab01(0x346,_0x2aee8b._0x16d677,_0x2aee8b._0xbe5010,_0x2aee8b._0x3f14e4)](/[^a-z0-9-]/g,'-')[_0x52c9cb(_0x2aee8b._0x114574,_0x2aee8b._0x59fdd5,_0x2aee8b._0xc70e40,0x29e)](/-+/g,'-')['replace'](/^-|-$/g,'');}['getAgentsDir'](){const _0xc5f14b={_0x3876ae:0x15c},_0x291a0b={_0x25e377:0x163};function _0x3c3fd8(_0x244d7f,_0x2bf14d,_0x379f8d,_0x326000){return _0x1f0bf6(_0x244d7f- -0x129,_0x379f8d,_0x379f8d-_0x291a0b._0x25e377,_0x326000-0x129);}return this[_0x3c3fd8(0x7,_0xc5f14b._0x3876ae,-0xbf,-0x1a1)];}};import*as _0xcde2dc from'fs';import*as _0x3a171e from'path';function _0x40b2(){const _0x10a545=['y2HHCKnVzgvbDa','DMfSAwq','CgXHDgzVCM0','zw5KC1DPDgG','DgfY','y29UDMvYC2f0Aw9U','vxnLCYbYAxbNCMvWigzVCIbMyxn0ignVBNrLBNqGC2vHCMnOlG','CMvJB3jKteXnq2fSBa','Bg9JywW','rxHLy3v0zsbZAgvSBcbJB21Tyw5KCYb3AxrOihrPBwvVDxqGChjVDgvJDgLVBI4Gq2fWDhvYzxmGC3rKB3v0l3n0zgvYCI4Grg9LCYbUB3qGC3vWCg9YDcbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1DcaOzs5NlIWGBNbTigLUAxqSihbUCg0Gy2HHBMDLC2v0lcbPBNrLCMfJDgL2zsbPBNn0ywXSzxjZlcbNAxqGywrKic1Wlcb2Aw0Sig5HBM8PlG','zwnVBM5YzxnLDa','z2XVyL90B29S','Cgf0DgvYBIbPCYbYzxf1AxjLza','oIbTAxnZAw5NigrLC2nYAxb0Aw9U','zxjYB3juExbL','zg9TywLUCW','y29UzMLNuMvZB2X2zxi','ChjVDMLKzxjZ','zMLSzq','BgLUzxm','lw5i','DgHLBG','zw1PDa','w1rVB2XdywXSq29UDMvYDgvYxsa','DNnJB2rLlZeUmta0lJi','AxnszxrYEwfIBgu','C3LZDgvTq29UDgv4DfbYB3zPzgvY','BgLZDa','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','wc1jBML0Awf0B3i','ig1HDgnO','ywDLBNq','DxnLCI1Hz2vUDa','Bwf4rMLSzxm','C3bSAxq','CMvWzwf0','zgLYBMfTzq','BNvT','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','ywDLBNq6','y29UDgv4DfDPBMrVD0XPBwL0','zMfJDg9YEq','oIbPBNzHBgLKihbYAw9YAxr5','y3jLyxrLvhjHBNnWB3j0','C2HLBgXbCMDZ','y29UC3rHBNrZ','C2HLBgXfEgLZDhm','zw5XDwv1zq','yNvPBgrnyxjRzg93BG','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','DxrTx21LzgL1Bq','rxHWBgfUyxrPB24GB2yGD2HHDcb0AgLZignVBw1HBMqGD2LSBcbKBYaOzs5NlIWGiKDLDcbNAxqGy29TBwL0igXVzYiP','tunqihrVB2XZigXPC3qGCMvXDwvZDcb0Aw1LzcbVDxqGywz0zxiG','AxndB25Uzwn0zwq','Ahr0Chm6lY9NAxrODwiUy29Tl0j1CM50u3vZAgKVCMLWz3jLCc9YzwXLyxnLCY9KB3DUBg9Hzc8','zw5HyMXLza','CMvHC29UAw5Nx2nVBNrLBNq','ANnVBG','A2LSBgvK','Dg9Wua','iGPuAgLZihnLC3nPB24Gy2fUigjLihjLC3vTzwqGDxnPBMCGDgHLihjLC3vTzsbWyxjHBwv0zxiGAw4GyxnZAwDUx3rHC2SGAwyGDgHLihvZzxiGAgfZigzVBgXVDY11CcbXDwvZDgLVBNmGywjVDxqGDgHPCYb0B3bPyY4kpc9ZExn0zw0TCMvTAw5Kzxi+','mZnuBe51Axu','DhLWzq','Dg9KB3mGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','Bg9Nvg9dB25ZB2XL','yxjJAa','vgLTzw91DcbPBIbTCY4GrgvMyxvSDdOGmZaWmdaU','lNLTBa','D2HPy2GGCMC','qxv0AgvUDgLJyxrPB24GzMfPBgvKlIbqBgvHC2uGy2HLy2SGEw91CIbbueKGA2v5lG','vg9VBe5VDezVDw5K','y2fSBeLK','yw55','qxv0Ag9YAxPHDgLVBG','Dg9vChbLCKnHC2u','u2vHCMnOigzVCIbMAwXLCYbTyxrJAgLUzYbHigDSB2iGCgf0DgvYBI4','CgfYC2u','C3rHDhvZ','C2HVDwXKqNLWyxnZqxbWCM92ywW','C2v0t3jJAgvZDhjHDg9Y','mIKGtgLZDcbVBMX5igrPCMvJDg9YAwvZihDPDgGGBwv0ywrHDge','CMvJB3jKuMvXDwvZDe1LDhjPy3m','EMLW','CgvYC2LZDgvUy2u','Bwf4uMv0CMLLCW','Dg9KB3m','rMfPBgvKihrVigXVywqGywDLBNqGzNjVBsa','zw5HyMXLuhjVBxb0q2fJAgLUzW','igj5DgvZks4Gq2fWigLZia','zxHLy3v0zvrVB2XdywXSCW','DxjS','AxnbyNnVBhv0zq','DxbKyxrLtwv0ywrHDge','Bg9HzezYB21qzxjZAxn0zw5Jzq','Dg90ywXdB3n0','C25HChnOB3q','C3rHCNrZv2L0Aa','Aw52B2nHDgLVBNm','rMfPBgvKihrVigXVywqGywDLBNrZigzYB20GzMLSzxm6','Ahr0Chm6lY9HCgKUEI5HAs9HCgKVy29KAw5Nl3bHyxmVDJq','DhjPBvn0yxj0','y29TBwfUza','zM9SzgvYvhjLzq','CMvZB2X2zuXmtq','w0rptKvD','Dg9VBf9JywXSx2LK','y2fJAgvKx3rVA2vUCW','zxjYB3i','CMvZB2X2zvnHzMvqyxrO','BM9Zy3jPChq','BgXTrMfJDg9YEq','C2vZC2LVBNm','Dg9KB01LBw9YEq','BgXT','BxrPBwvnCW','wc1szxf1zxn0luLK','Bg9HzefSBa','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','zxHWB3j0u25HChnOB3q','B2zM','w3bLBMrPBMDD','tunqignSAwvUDcbUB3qGy29UBMvJDgvK','yxjNDw1LBNrZ','lsaIC3jJlYOQlYOUANmIic0GqwXSiePtigzPBgvZihvUzgvYihnYyY8','zgvSzxrL','lsbqBgf0zM9YBtOG','Dgv4Dc9LDMvUDc1ZDhjLyw0','Aw5WDxrFDg9Rzw5Z','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','y29UDgvUDf9IBg9JAW','C2v0vg9KB3m','zMLUza','y21K','Dg9VBenHBgXjza','BgLZDevUywjSzwrbz2vUDhm','Bg9HzezYB21gAwXLCW','vg9VBenHBgXZ','zgvSzxrLq29UDMvYC2f0Aw9U','AxneAxjLy3rVCNK','u2vHCMnOigfIB3j0zwqGyNKGDxnLCG','rMfPBgvKihrVigrVD25SB2fKoIbivfrqia','DgfZA2TPBgW','ywjVCNrLza','C291CMnL','BgLTAxqGBxvZDcbIzsbWB3nPDgL2zq','ywDLBNrZ','l3vZCI9SB2nHBc9IAw4VCMC','vMfSAwrHDgLVBKzHAwXLza','mJjRBgLiDhG','DNnJB2rLlZeUmta2lJe','ywnJzxnZ','Awq6ia','BgfIzwW','vg9VBcbJywXSihzHBgLKyxrPB24GzMfPBgvKicG','lIbqBgvHC2uGAw5ZDgfSBcbYAxbNCMvWig1HBNvHBgX5lG','B3v0Chv0x3rVA2vUCW','yMfZzurLBgf5txm','B25tDhjLyw1gAw5PC2G','Aw52B2nHDgLVBG','DxbKyxrLq3jLzgvUDgLHBhm','CMvXDwLYzvrVB2XbChbYB3zHBa','BwvZC2fNzxm','zw5HyMXLzefNzw50C0nVBMzPzW','Aw52ywXPza','yMfZzvvYBa','zxHJAgfUz2vuB2TLBG','msKGtgLZDcbHBgWGzMLSzxmGAw4Gy3vYCMvUDcbKAxjLy3rVCNK','y3jLyxrLrMv0y2HgDw5JDgLVBG','y2fJAgvFy29UDhjVBa','rMLSzsbKB2vZig5VDcbLEgLZDc4GvxnLigeGzMLSzsbJCMvHDgLVBIb0B29SihrVignYzwf0zsbUzxCGzMLSzxmU','DxrTx3rLCM0','B3b0Aw9UywW','Bwv0CMLJC1bVCNq','y29UDgv4DfDPBMrVD1vZywDL','ywXSB3DLza','CMvSyxrPDMu','rgvSzwDHDguGysb0yxnRihrVigeGC3bLy2LHBgLZDcbHz2vUDcbMB3iGzM9JDxnLzcWGAw5KzxbLBMrLBNqGzxHLy3v0Aw9UlGOkvgHLigfZC2LNBL90yxnRihrVB2WGBgf1BMnOzxmGC3bLy2LHBgL6zwqGywDLBNrZihrOyxqGyxv0B25VBw91C2X5igHHBMrSzsbJB21WBgv4lcbTDwX0As1ZDgvWihrHC2TZlIbfywnOigfNzw50igHHCYbZCgvJAwzPyYbJyxbHyMLSAxrPzxmGyw5KihrVB2XZigf2ywLSywjSzsb0BYbPDc4kcKf2ywLSywjSzsbHz2vUDhm6cNTbr0vovf9msvnuFqOkv2HLBIbot1qGDg8GDxnLihrOAxmGDg9VBdOklsbuBYbYzwfKigeGC3bLy2LMAwmGzMLSzsbWyxrOic0GDxnLigzPBgvFCMvHzcbPBNn0zwfKicHMyxn0zxiPcI0Gvg8GC2vHCMnOigzVCIbHignSyxnZigXPA2uGiMnSyxnZiezVBYiGlsb1C2uGz3jLCf90B29SigLUC3rLywqGkgzHC3rLCIKklsbuBYbZzwfYy2GGD2L0AgLUidiTmYbZCgvJAwzPyYbMAwXLCYaTihvZzsbMAwXLx3jLywqGAw5ZDgvHzcaOzMfZDgvYkqOTiezVCIbZAw1WBguSihnPBMDSzs1ZDgvWihrHC2TZihrOyxqGzg9Uj3qGBMvLzcbZCgvJAwfSAxn0igTUB3DSzwrNzqOkvxnHz2uGBM90zxm6cI0GqwX3yxLZigLUy2X1zguGysbZAg9YDcbKzxnJCMLWDgLVBIaOns0Xmcb3B3jKCYKGC3vTBwfYAxPPBMCGD2HHDcb0AguGywDLBNqGD2LSBcbKBWOTieXHDw5JAcbTDwX0AxbSzsbHz2vUDhmGy29Uy3vYCMvUDgX5igj5ig1HA2LUzYbTDxrPCgXLigfZC2LNBL90yxnRignHBgXZigLUigeGC2LUz2XLig1LC3nHz2uklsbvC2uGCMvZDw1LihbHCMfTzxrLCIb3AxrOigeGC2vZC2LVBIbjrcb0BYbJB250Aw51zsbHihbYzxzPB3vZigfNzw50ihnLC3nPB24GD2L0AcbMDwXSignVBNrLEhqGChjLC2vYDMvKcI0Gu2vZC2LVBIbjrhmGyxjLihjLDhvYBMvKigLUig1LDgfKyxrHlNnLC3nPB25jzcbHzNrLCIbLywnOigLUDM9JyxrPB24klsbxAgvUihrOzsbHz2vUDcbJB21WBgv0zxmSigL0ihjLDhvYBNmGysbYzxn1BhqGDg8GEw91icHUB3qGDMLZAwjSzsb0BYb1C2vYksaTihn1Bw1HCML6zsbPDcbMB3iGDgHLihvZzxiklsbqCM92AwrLignSzwfYlcbKzxrHAwXLzcb0yxnRigrLC2nYAxb0Aw9UCYbZBYbHz2vUDhmGy2fUihDVCMSGyxv0B25VBw91C2X5cI0Gq2XLyxjSEsbZCgvJAwz5ihDOzxrOzxiGEw91igv4CgvJDcbJB2rLihDYAxrPBMCGB3iGANvZDcbYzxnLyxjJAcaOC2vHCMnOlcbYzwfKCYWGD2vIigzLDgnOzxmPcI0GqwDLBNqGB3v0Chv0CYbZAg91BgqGz2vUzxjHBgX5igjLihrYDxn0zwqkcLnLC3nPB24GCMvZDw1WDgLVBJOklsbqyxnZihnLC3nPB25FAwqGzNjVBsbWCMv2Aw91CYbPBNzVy2f0Aw9UihrVihjLC3vTzsbWyxjHBwv0zxiklsbbz2vUDcbJB250Aw51zxmGD2L0AcbMDwXSignVBNzLCNnHDgLVBIbOAxn0B3j5ihbYzxnLCNzLzaOTifvZzwz1BcbMB3iGzM9SBg93lxvWihf1zxn0Aw9UCYbVCIbJB250Aw51Aw5NigLUDgvYCNvWDgvKihDVCMSkcKv4yw1WBgvZig9MihDOzw4Gyw5KigHVDYb0BYb1C2uGyxnZAwDUx3rHC2S6cGO8zxHHBxbSzt4kvxnLCJOGiKKGBMvLzcb0BYbJCMvHDguGysbYzxvZywjSzsbKyxrHihrHyMXLignVBxbVBMvUDcb3AxrOihnVCNrPBMCSigzPBhrLCMLUzYWGyw5KihbHz2LUyxrPB24UiGPbC3nPC3rHBNq6icjjj2XSihvZzsb0AguGy29Kzs1PBNzLC3rPz2f0B3iGywDLBNqGDg8Gyw5HBhL6zsbLEgLZDgLUzYbWyxr0zxjUCYbHBMqGzgvZAwDUigeGy29TChjLAgvUC2L2zsbKyxrHihrHyMXLignVBxbVBMvUDc4IcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiKfUywX5EMuGy29KzwjHC2uGzM9YihrHyMXLignVBxbVBMvUDcbWyxr0zxjUCYbHBMqGzgvZAwDUigeGCMv1C2fIBguGzgf0ysb0ywjSzsb3AxrOihnVCNrPBMCSigzPBhrLCMLUzYWGCgfNAw5HDgLVBIiSigrLC2nYAxb0Aw9UoIaIrgvZAwDUigrHDgeGDgfIBguGy29TCg9Uzw50iIb9kqO8l2v4yw1WBgu+cGO8zxHHBxbSzt4kvxnLCJOGiK15igfWCcbPCYbYzs1Yzw5KzxjPBMCGDg9VigzYzxf1zw50BhKUienHBIb5B3uGAgvSCcbVChrPBwL6zsbPDd8IcKfZC2LZDgfUDdOGiKKNBgWGzgvSzwDHDguGDgHPCYb0BYb0AguGy29Kzs1PBNzLC3rPz2f0B3iGywDLBNqGDg8GDhjHy2uGDgHLihjLBMrLCMLUzYbIzwHHDMLVCIbHBMqGAwrLBNrPzNKGB3b0Aw1PEMf0Aw9Uig9WCg9YDhvUAxrPzxmUiGPJywXSigfZC2LNBL90yxnRkhSGywDLBNq6icjJB2rLlwLUDMvZDgLNyxrVCIiSihrHC2S6icjuCMfJzsbJB21WB25LBNqGCMvUzgvYign5y2XLCYWGAwrLBNrPzNKGDw5UzwnLC3nHCNKGCMuTCMvUzgvYCYWGyw5Kihn1z2DLC3qGBwvTB2L6yxrPB24GC3rYyxrLz2LLCYiSigrLC2nYAxb0Aw9UoIaIqw5HBhL6zsbszwfJDcbYzw5KzxiGCgvYzM9YBwfUy2uIih0PcJWVzxHHBxbSzt4kcJXLEgfTCgXLpGPvC2vYoIaIssbQDxn0igzPBMLZAgvKihDYAxrPBMCGDgHLigXVz2LUigf1DgHLBNrPy2f0Aw9Uigz1BMn0Aw9UlIbdyw4GEw91ihrHA2uGysbSB29RpYikqxnZAxn0yw50oIaIssDSBcb1C2uGDgHLignVzguTC2vJDxjPDhKTyxvKAxrVCIbHz2vUDcb0BYbYzxzPzxCGEw91CIbHDxrOzw50AwnHDgLVBIbJB2rLigzVCIbZzwn1CML0EsbPC3n1zxmGyw5KigjLC3qGChjHy3rPy2vZlIiky2fSBcbHC3nPz25FDgfZAYH7igfNzw50oIaIy29Kzs1Zzwn1CML0Es1HDwrPDg9YiIWGDgfZAZOGiLjLDMLLDYb0AguGyxv0AgvUDgLJyxrPB24GzNvUy3rPB24GzM9YihnLy3vYAxr5ihz1Bg5LCMfIAwXPDgLLCYWGAw5WDxqGDMfSAwrHDgLVBIWGyw5KihnLy3vYzsbJB2rPBMCGChjHy3rPy2vZiIWGzgvZy3jPChrPB246icjtzwn1CML0EsbYzxzPzxCGB2yGyxv0AcbMDw5JDgLVBIiGFsKkpc9LEgfTCgXLpGOkpgv4yw1WBgu+cLvZzxi6icjjj3zLigzPBMLZAgvKigLTCgXLBwvUDgLUzYb0AguGCgf5BwvUDcbWCM9JzxnZAw5NigzLyxr1CMuUiGPbC3nPC3rHBNq6icjmzxqGBwuGAgf2zsb0AguGy29Kzs1Zzwn1CML0Es1HDwrPDg9YihjLDMLLDYb0AgLZigzVCIbZzwn1CML0Esb2DwXUzxjHyMLSAxrPzxmGyMvMB3jLihDLihbYB2nLzwqUiGPJywXSigfZC2LNBL90yxnRkhSGywDLBNq6icjJB2rLlxnLy3vYAxr5lwf1zgL0B3iIlcb0yxnRoIaIqxvKAxqGCgf5BwvUDcbWCM9JzxnZAw5NignVzguGzM9YihnLy3vYAxr5igzSyxDZlcbqq0KGy29TCgXPyw5JzsbPC3n1zxmSigfUzcbLCNjVCIbOyw5KBgLUzYiSigrLC2nYAxb0Aw9UoIaIu2vJDxjPDhKGyxvKAxqGB2yGCgf5BwvUDcbJB2rLiIb9kqO8l2v4yw1WBgu+cGO8zxHHBxbSzt4kvxnLCJOGiKHVDYbKB2vZihrOzsbKyxrHigzSB3CGzNjVBsbbueKGDg8Gzgf0ywjHC2uGAw4GDgHPCYbJB2rLyMfZzt8IcKfZC2LZDgfUDdOGiKKNBgWGBgf1BMnOihrOzsbJB2rLlwLUDMvZDgLNyxrVCIbHz2vUDcb0BYb0CMfJzsb0AguGzgf0ysbMBg93igfYy2HPDgvJDhvYzs4IcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiLrYywnLigrHDgeGzMXVDYbMCM9TiefqssbLBMrWB2LUDhmGDgHYB3vNAcbZzxj2AwnLigXHEwvYCYb0BYbKyxrHyMfZzsWGzg9JDw1LBNqGDgHLigfYy2HPDgvJDhvYzsiSigrLC2nYAxb0Aw9UoIaItwfWiefqssb0BYbKyxrHyMfZzsbMBg93iIb9kqO8l2v4yw1WBgu+cGOkpgv4yw1WBgu+cLvZzxi6icjszxzPzxCGBxKGBMv3igzLyxr1CMuGlsbJAgvJAYbIB3rOihrOzsbJB2rLihf1ywXPDhKGyw5KihnLy3vYAxr5lIikqxnZAxn0yw50oIaIssDSBcbSyxvUy2GGyM90AcbHz2vUDhmGAw4GCgfYywXSzwWGDg8GCMv2Awv3ihLVDxiGy29Kzs4IcKfZC2LZDgfUDdOGw211BhrPCgXLihrVB2WGy2fSBhmGAw4GC2LUz2XLig1LC3nHz2vDcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiLjLDMLLDYbJB2rLihn0CNvJDhvYzsWGCgf0DgvYBNmSigfUzcbIzxn0ihbYywn0AwnLCYbPBIb0AguGBMv3igzLyxr1CMuIlcbKzxnJCMLWDgLVBJOGiKnVzguGCxvHBgL0EsbYzxzPzxCIih0PcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTC2vJDxjPDhKTyxvKAxrVCIiSihrHC2S6icjbDwrPDcb0AguGBMv3igzLyxr1CMuGzM9YihnLy3vYAxr5ihz1Bg5LCMfIAwXPDgLLCYbHBMqGAw5WDxqGDMfSAwrHDgLVBIiSigrLC2nYAxb0Aw9UoIaIu2vJDxjPDhKGyxvKAxqIih0PcKfZC2LZDgfUDdOGqM90AcbYzxn1BhrZihjLDhvYBIb0B2DLDgHLCIWGDgHLBIbZDw1TyxjPEMuGzMLUzgLUz3mGDg8GDxnLCGO8l2v4yw1WBgu+cGO8zxHHBxbSzt4kw1r1CM4Gmv0kvxnLCJOGiKfUywX5EMuGDgHLigf1DgHLBNrPy2f0Aw9UigLTCgXLBwvUDgf0Aw9UiGPbC3nPC3rHBNq6icjjj2XSigHHDMuGDgHLignVzguTAw52zxn0AwDHDg9YihjLDMLLDYb0AguGyxv0AgvUDgLJyxrPB24Gy29Kzs4IcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiKfUywX5EMuGyxv0AgvUDgLJyxrPB24GAw1WBgvTzw50yxrPB24SignOzwnRihbHDhrLCM5ZigfUzcbZzwn1CML0EsiSigrLC2nYAxb0Aw9UoIaIqxv0AcbJB2rLihjLDMLLDYiGFsKkqwDLBNqGCMv0DxjUCZOGEYbZDgf0Dxm6icjZDwnJzxnZiIWGCMvZDwX0oIaIlI4UiIWGBwv0ywrHDge6ihSGC2vZC2LVBKLKoIaIy29Kzs1PBNzLC3rPz2f0B3i6ywjJmtiZiIWGlI4Uih0GFqPbC3nPC3rHBNq6ifTtDw1TyxjPEMvZigzPBMrPBMDZihrVihvZzxiSihjLBwvTyMvYCYbZzxnZAw9UswqGzNjVBsbTzxrHzgf0yv0kcLTuDxjUidiGlsbvC2vYigzVBgXVDY11Cf0kvxnLCJOGiKfYzsb0AgvYzsbHBNKGq1nsrIb2DwXUzxjHyMLSAxrPzxmGAw4GDgHHDcbHDxrOignVzgu/iGPbC3nPC3rHBNq6icjmzxqGBwuGy29UDgLUDwuGDgHLigLUDMvZDgLNyxrPB24GD2L0Acb0AguGC2fTzsbJB250zxH0lIiky2fSBcbHC3nPz25FDgfZAYH7igfNzw50oIaIy29Kzs1PBNzLC3rPz2f0B3iIlcbYzxn1Bwu6icjJB2rLlwLUDMvZDgLNyxrVCJPHyMmXmJmIlcb0yxnRoIaIq2HLy2SGC3bLy2LMAwnHBgX5igzVCIbdu1jgihz1Bg5LCMfIAwXPDgLLCYbPBIb0AguGyxv0AgvUDgLJyxrPB24Gy29KzsiSigrLC2nYAxb0Aw9UoIaIq1nsrIbZzwn1CML0EsbJAgvJAYiGFsKkqwDLBNqGy29UDgLUDwvZihDPDgGGzNvSBcbWCMv2Aw91CYbJB250zxH0igfIB3v0ihrOzsbHDxrOigLTCgXLBwvUDgf0Aw9UcJWVzxHHBxbSzt4','z2v0qxzHAwXHyMXLvg9VBe5HBwvZ','zxn0Aw1HDgu','vg9VBcaI','lwXJ','lsaIkI50CYiGlsbbBgWGvhLWzvnJCMLWDcbMAwXLCYbPBIbJDxjYzw50igrPCMvJDg9YEq','y3vYCMvUDfbYB21WDfrVA2vUCW','C2f2zvrVrMLSzq','BM90ihn1ChbVCNrLza','Ag9ZDa','tunqigfSCMvHzhKGAw5PDgLHBgL6zwq','zMvHDhvYzxm','xs4kpc9ZExn0zw0TCMvTAw5Kzxi+','Dg90ywXszwfZB25PBMDuB2TLBNm','q29UDMvYC2f0Aw9UieLeignHBM5VDcbIzsbLBxb0Eq','qxzHAwXHyMXLihnWzwnPywXPC3qGywDLBNrZicH1C2uGyxnZAwDUx3rHC2SGDg9VBcb0BYbKzwXLz2f0zsK6','vg9VBcaN','Dg9VBf9UB3rFzM91BMq','lMPZB24','ChjVDMLKzxi','y2fWDhvYzvjLC3bVBNnLqM9KEq','ugvYBwLZC2LVBKrLBMLLza','u3vIqwDLBNrdB21WBgv0zwq','B3jJAgvZDhjHDg9YteXnrMfJDg9YEq','qvbjignHBgWGzMfPBgvK','zxzLBNrdywXSyMfJAW','z2v0vg9KB1n0yxrZ','C2LNBMfS','qxnZAxn0yw50twvZC2fNzq','z2v0tw9KzwW','iIb0BYbMAwXL','Bwf4qNL0zxnezwzHDwX0','Dg9VBa','CgfYDhm','vg9VBcbHChbYB3zHBcbMywLSzwq','yxbWzw5K','zgvUAwvK','lMDPDgLNBM9Yzq','rxHWBgfUyxrPB24GB2yGD2HHDcbJAgfUz2vZigfYzsbIzwLUzYbTywrLigfUzcb3AhKGkguUzY4SicjvCgrHDguGAw1WB3j0ihbHDgGGDg8GDxnLig5LDYbTB2r1BguGC3rYDwn0DxjLiIK','CgfYzw50q29UDMvYC2f0Aw9Uswq','A2v5','y29WAwXVDc1JAgf0lZaUmZeUmW','C29JA2v0igHHBMCGDxa','C2v0q29UDgv4DfDPBMrVDW','y29TBwfUzfj1BM5LCG','y2fJAgvszwfKsw5WDxruB2TLBNm','AxncywnRz3jVDw5KqwDLBNrsDw5UAw5N','Bwv0CMLJCW','vvjmihbHCMfTzxrLCIbPCYbYzxf1AxjLza','z29Vz2XLlwnZzq','y3vYCMvUDenVBxbSzxrPB25uB2TLBNm','rMfPBgvKihrVigXVywqGywDLBNqGBwvTB3j5igzYB20G','AxnZDwvZ','D29YA3nWywnLrgLY','Aw1Hz2u','yxnZAxn0yw50x2nODw5R','twf4Aw11BsbUDw1IzxiGB2yGzgLYzwn0B3j5igvUDhjPzxmGDg8GCMv0DxjU','Aw50zwDLCG','y3jLyxrLsgfZAa','z2v0q29UDMvYC2f0Aw9U','BNv2Aw4Ty2XPlW','D3jPDgvgAwXLu3LUyW','BwvZC2fNzv9KzwX0yq','DgLTzvTKyxrLDgLTzv0','Dg90ywXuAw1Ltxm','y3jSzG','mJaYns0Xmc0Wmq','z2v0qNLqyxjLBNq','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkgLUy2X1C2L2zsK','C2STyw50lw9HDxrOlxbSywnLAg9SzgvY','DxrMltG','zxHLy09Uy2u','AgfZvMLZAw9Uugf5Bg9Hza','C3vIx2fNzw50x3rVB2XFCMvZDwX0','sw52ywXPzcbJB21Tyw5KihrLBxbSyxrLigLUia','CMvHC29UAw5Nx2nODw5R','DgLTzw91De1Z','C2fUAxrPEMvgAwXLBMfTzq','yxv0AgvUDgLJyxrPB24','z2XTltqUnq','AgLZDg9YEs5QC29U','y29TCgXLDgvK','vw5ZDxbWB3j0zwqGCgXHDgzVCM06ia','vgHLig1VzgvSicC','Awrhzw5LCMf0B3i','yxbWBhLezwzHDwX0CW','ChvZAa','w09Yy2HLC3rYyxrVCL0GuMvJzwL2zwqGyxbWCM92ywWGzM9YihvUA25VD24GB3iGywXYzwfKEsbWCM9JzxnZzwqGsuq6ia','Dg9mB2nHBgvtDhjPBMC','DgfZAW','BwTKAxjtEw5J','y29TCgXLDgLVBL90B2TLBNm','B3jJAgvZDhjHDg9Yvg9VBhm','zgf0zxrPBwu','qwDLBNqGiG','D2vIx2zLDgnO','BNv2Aw4','w2LUx3bYB2DYzxnZxq','l3bPza','zMLUAxnO','yMfZzw5HBwu','DhjHBNnMB3jTvxnHz2u','ywrK','zM9VDgvY','ChjVy2vZC1rVB2XbChbYB3zHBa','ywDLBNrZrgLY','DxrTx2nHBxbHAwDU','vg9VBcbLEgvJDxrPB24GzgvUAwvKigj5ihvZzxi','yxnZAwDU','yxjNCW','yxnZAwDUvg9VBa','rMLSzsbWzxjZAxn0zw5JzsbUB3qGy29UzMLNDxjLza','Cg9ZDa','y29UDgvUDf9IBg9JA19KzwX0yq','zgvMyxvSDefNzw50swrZ','z2v0uMvHzgvY','ls0TcG','zhvYyxrPB25nCW','B3jJAgvZDhjHDg9Yq29UzMLN','oIbTAxnZAw5Nig9YigLUDMfSAwqGC3LZDgvTuhjVBxb0','Ahr0Ca','B2zMC2v0','CMvHzgrPCLn5BMm','EhH4EhH4EhGTEhH4Ec00EhH4lxL4EhGTEhH4EhH4EhH4EhH4','DxrTx2nVBNrLBNq','mZCZodi3m251DMf1uW','ntm2r0rTqvHV','o1TExg5DkJ8','sw1Hz2uGyxr0ywnOBwvUDdOG','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GzMLSzsbJB250zw50CY4','qxnZAxn0yw50','y3jLyxrLq29UDMvYC2f0Aw9Uswq','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cIaGic0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqkicaGlsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKkicaGlsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOGicaTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSkicaGlsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcIaGic0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcIaGic0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9UzxmkicaGlsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOGicaTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cIaGic0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcIaGic0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqkicaGlsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cIaGicaGlsbuzxn0CYbHCMuGzMfPBgLUzWOGicaGic0Gsw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBaOGicaGic0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcIaGicaGlsbzB3uGy291BgrUj3qGzMLUzcbUzwnLC3nHCNKGzMLSzxmGB3iGzgvWzw5Kzw5JAwvZcGO0lIaQkLrHC2SGqNjLywTKB3DUkIO6cIaGic0Gq3jLyxrLihnWzwnPzMLJlcbHy3rPB25HyMXLigL0zw1ZcIaGic0GqNjLywSGy29TCgXLEcb0yxnRCYbPBNrVihnTywXSzxiSig1HBMfNzwfIBguGC3rLChmkicaGlsbvC2uGy2XLyxiSigrLC2nYAxb0AxzLihrHC2SGBMfTzxmkcLDOzw4GAw4Gzg91yNqSihvZzsb0AgLZihrVB2WUiejLAw5NihbYB2fJDgL2zsb3AxrOihrHC2SGBwfUywDLBwvUDcbKzw1VBNn0CMf0zxmGyxr0zw50AxzLBMvZCYbHBMqGzw5ZDxjLCYb5B3uGy29TCgXLDguGywXSihjLCxvPCMvTzw50CYbZDwnJzxnZzNvSBhKU','l3vZCI9IAw4VyMfZAa','zwrPDg9YlxzLCNnPB24','DxnHz2u','y2fSBfrVB2W','lunVBw1HBMq','rMfPBgvKihrVihnHDMuGywDLBNqGDg8G','C2vHCMnOvhLWzq','y29UDgv4Df9Szw5NDgG','CgfYyw1Z','twf4Aw11BsbKzwXLz2f0Aw9UigrLChrOicG','Bwf4x2nVBxbSzxrPB25FDg9Rzw5Z','yxbWBgLJyxrPB24VANnVBG','CgvUzgLUzW','lsaIkIOVkI50zxn0lNrZiIaTiefSBcb0zxn0igzPBgvZihjLy3vYC2L2zwX5','Dg9VBf9JywXSCW','Dg9VBf9Uyw1LCW','zgLNzxn0','rMv0y2GGywjVCNrLzcbIEsb1C2vY','C2v0twv0CMLJCW','C2f2zq','y3vYCMvUDerLChrO','y29UBMvJDgLVBIb0Aw1LzcbVDxq','CNvSzxm','Cg9YDhm','CMvUyw1L','ktOG','ugfYyw1LDgvYicjMAwXLx3bHDgGIigLZihjLCxvPCMvKlG','DxbKyxrL','qwDLBNqGBg9HzgvKigzYB20GCgvYC2LZDgvUy2uGAgfZig5VieLelcbZA2LWCgLUzW','y2XVBMu','Aw5MBW','zMv0y2GGzMfPBgvK','y21Kig11C3qGyMuGysbUB24Tzw1WDhKGC3rYAw5N','Aw5qCM9NCMvZCW','zgvSzxrLrNjVBuzPBgu','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','BwvZC2fNzq','B3b0CW','CgLK','zxzLBNrdB2XSzwn0B3jZ','zxHWAxjLC19PBG','AxnszxrYEwfIBgvszxnWB25Zzq','AxnbCNjHEq','twvZC2fNzvn0yxj0zwq','yMfZzty0','y2XLyw51Ca','AwDUB3jL','AxnozwDHDgLVBG','ywXSB3DbyNnVBhv0zq','lcaUlI4','zw5HyMXLzefNzw50CW','EMfP','C3rYAwn0vg9VBfzHBgLKyxrPB24','AxnjBNn0yw5Jzq','rxHWBgfUyxrPB24GB2yGD2HHDcbMAwXLigLZigjLAw5NihjLywqGyw5KihDOEsaOzs5NlIWGiLjLywqGCgfJA2fNzs5QC29UihrVignOzwnRigrLCgvUzgvUy2LLCYiP','ChjLzML4','BwLTzvr5Cgu','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','Bg9NuMvXDwvZDa','CMvMCMvZAfrVB2XZ','z2v0qwDLBNrfDMvUDhm','CMvHza','ChjVBxb0vg9Rzw5Z','lsbxB3jRAw5NigrPCMvJDg9YEtOG','DgLTzuLttW','C2v0u2HHCMvKtwvTB3j5','y2fJAgvFCMvHzf9PBNb1Df90B2TLBNm','C3rHCNq','cK91Dhb1DcbIzwzVCMuGywjVCNq6cG','Dg9VBenHBgXdB3vUDa','DMfSDwu','C3rYzwfTq29TCgXLDgLVBG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GysbZCgvJAwzPzwqGzgLYzwn0B3j5lG','Aw5WDxq','rMLSzsbWyxr0zxjUigzPBhrLCIaOzs5NlIWGiIOUANmIlcaIkI57DhmSDhn4FsiP','DhjPBq','y2XLyxi','z2XVyG','Dg90ywXuB2TLBNm','C2vUza','y29UDgvUDf9IBg9JA19ZDgfYDa','Bw9KzwW','Aw52ywXPzf9HCgLFA2v5','DhjHBNnMB3jTvg9VBenOB2LJzq','Aw5JBhvKzvvZywDL','qwjVCNrLzcbIzwzVCMuGzxHLy3v0Aw9U','lM1K','Aw5ZDwzMAwnPzw50x3f1B3rH','Bw9Kzq','l2nOyxqVy29TCgXLDgLVBNm','u2vHCMnOigzVCIb3zwiGCgfNzxmGB3iGAw1Hz2vZicHKzwzHDwX0ihDLyIK','C2v0twvTB3j5','zgLYzwn0B3j5','z2v0','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','y29UzMLN','yxbWzw5Kvg9mB2DgAwXL','ywX0vgv4Da','wZ0+nY04kcLD','ywjVCNq','z2v0rgLY','igj5DgvZxqO','CgvUzgLUz0fWChjVDMfSCW','BgLUzuvUza','Aw5JBhvKzuHPzgrLBG','uhjVDMLKzxiGzg9LCYbUB3qGC3vWCg9YDcbNzxrnB2rLBhm','Dg9VBf91C2u','BNvTyMvY','ls1YzwDLEha','rMfPBgvKihrVihnHDMuGywDLBNqGBwvTB3j5ihrVia','zxbPCgu','rwrPDa','CMfUzg9Tvvvjra','ls1NBg9I','D2fPDezVCLrVB2XbChbYB3zHBa','vw5RBM93BG','CMLWz3jLCc0Xnc4XlJeTEdG2xZy0lxbJlxDPBMrVD3mTBxn2yW','B3bLBMfPlwnVBxbHDa','Dg9VBhm','ywDLBNqGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','uMf0zsbSAw1PDcbLEgnLzwrLzc4GugXLyxnLihrYEsbHz2fPBIbSyxrLCI4','z2v0qwDLBNrszwDPC3rYEq','qvbjieTLEq','CMvHC29UAw5Nx3rLEhq','u3vIlwfNzw50igv4zwn1DgLVBIbHyM9YDgvKigj5ihvZzxi','zw5ZDxjLrgLY','t3bLCMf0Aw9UigfIB3j0zwqGzhvYAw5NihjLDhj5igrLBgf5','rgvUAwvK','CMvKDwnL','Ahr0Chm6lY9HCgKUz2L0AhvIlMnVBs9JB3bPBg90x2LUDgvYBMfSl3yYl3rVA2vU','C3LZDgvTuhjVBxb0','Dg9mB3DLCKnHC2u','DhjHBNnWB3j0','zxzLBNq','ywDLBNruExbL','yxnZAxn0yw50','uMv0DxjUihjLC3vSDhmGAw4GDgHPCYbSyw5NDwfNzsWGzs5NlIaNzw4NlcaNDMKN','ywjVCNrLzcbIEsb1C2vY','D2fZrgvUAwvK','ChjVzMLSzq','AxnuzxH0rMLSzq','D2vI','ms4WlJa','r09pr0Xfx0ntrv9dwa','vg9KBYa','AgLNAa','zgvSzwDHDgLVBKrLChrO','rxHHBxbSzxm6','DgLTzw91De1Zig11C3qGyMuGCg9ZAxrPDMu','C3vTBwfYEq','Dw5YzwDPC3rLCG','vgHLihrLEhqGDg8GCMvWBgfJzsbPDcb3AxrOlIbdyw4GyMuGzw1WDhKGC3rYAw5NihrVigrLBgv0zsb0AguGB2XKx3rLEhqU','z2v0vg9VBerLzMLUAxrPB25Z','zgvUEq','Cg9SAwn5','rM91BMqG','BwnWxW','B25fEgHHDxn0zwq','D3jPDgvbDg9TAwm','qwDLBNqGsuqGzNjVBsbYzwDPC3rYEsaOzs5NlIWGiMnVzguTCMv2Awv3zxiIlcaICMvZzwfYy2HLCIiP','z2v0tw9KzwXZ','t0zg','zwrPDgvK','sw52ywXPzcbYzxf1zxn0oIa','ywnJzxnZvg9Rzw4','ywDLBNrmAxn0uhjVDMLKzxi','CM9Szq','z2v0uhjVDMLKzxi','DxnLCG','C2v0','C3rYzwfT','C2f2zvrVugvYC2LZDgvUy2u','Ahr0Chm6lY9VCgvUCM91DgvYlMfPl2fWAs92mq','vg9Vig1HBNKGCMvKAxjLy3rZ','C2vHCMnO','qw50AhjVCgLJiefqssbLCNjVCIa','CMv0CNLdB25MAwC','Bg9JywXeAxi','oIb0B29SCYbTDxn0igjLigfUigfYCMf5','Dg90ywXqCMLJzq','C29YDa','qwjZB2X1DguGCgf0AhmGyxjLig5VDcbHBgXVD2vKlIbqCM92AwrLigeGCgf0AcbYzwXHDgL2zsb0BYb0AguGD29YA3nWywnLihjVB3qU','rMLSzsb3CML0DgvUigf0ia','CMvHzezPBgu','DhjHBNnMB3jTuMvZCg9UC2u','t3bLCMf0Aw9UigfIB3j0zwq','w01dufrVB2XqB3j0xsbgywLSzwqGDg8Gy29UDMvYDcbZy2HLBweGzM9Yia','yxbWCM92zwrdywXSCW','rMfPBgvKihrVihbLCNnPC3qGDg9VBcbUyw1LCYb0BYbTzw1VCNK','zMLSzv9YzwfK','Ag9TzwrPCG','CMvXDwvZDenVDw50','B25uB2TLBLvWzgf0zq','vhLWAwnHBcb1C2vZoG','zNjVBuvUDhjPzxm','zgvSzwDHDgvcywnRz3jVDw5K','ugf0AcbLC2nHCgvZihDVCMTZCgfJzsbYB290oIa','z2v0teXn','yw50AhjVCgLJlwnVBxbHDa','Bwf4rgvSyxLnCW','z2v0twv0CMLJCW','CMvZB2X2zq','Dg9VBenHBgXZrxHLy3v0zwq','y29UDMvYC2f0Aw9Uswq','BgLUAW','z2nSAwq','qMvHCMvYia','Aw5Uzxi','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZeYmY4WlJaUmcbtywzHCMKVntm3lJm2ie51DMLUqM90lZeUma','otiXnJLUwfH2uKu','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','AhLKCMf0zu1LDge','ywKTC2rRl2fUDgHYB3bPyY8YlJaUmZaGywKTC2rRl3bYB3zPzgvYlxv0AwXZlZmUmc4XmG','C3rHDhvZq29Kzq','CNvUBMvY','rMfPBgvKihrVigXPC3qGDg9VBhmGzNjVBsbWB3j0oG','Aw1Hz2vZ','Bw9VBNnOB3q','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','Bwf0y2HLCW','CgfYC2vgCM9UDg1HDhrLCG','C3vIx2fNzw50x2nVBxbSzxrLza','B3jJAgvZDhjHDg9Yq29UzMLNuMvZB2X2zxi','ywDLBNroyw1L','CMv0CNK6ia','CgvYBwLZC2LVBL9Kzw5Pzwq','CMvZDw1L','DgHPBMTPBMDFzgvSDge','CMLWz3jLCa','y2XVy2S','B2jQzwn0','zMLUywXSEq','zw52','vg9VBfjLC3vSDa','iMnVBNrLBNqIig11C3qGyMuGysbZDhjPBMCU','Aw5KzxG','q3jLyxrLigeGBMv3igzPBguGD2L0Acb0zxH0ignVBNrLBNqUieLnue9svefovdOGvgHLigzPBgvFCgf0AcbTDxn0igjLigfIC29SDxrLlcbUB3qGCMvSyxrPDMu','DMfSAwrHDgvuzw1WBgf0zq','yxr0ywnOBwvUDhm','y29TCgXLDgLVBL90B2TLBNnFzgv0ywLSCW','ntCZmZi5mg1LzM1cuG','CMvNAw9U','DhvYBMrVD25tzxj2AwnL','zgvMAw5PDgLVBG','AgfUzgXLvg9VBefWChjVDMfS','iIbUB3qGzM91BMqGAw4GCMvNAxn0CNKU','zNjVBq','DgfZA0rLC2nYAxb0Aw9U','CMvZDwX0','zw5ZDxjLvMfSAwruB2TLBG','B2f1DgGTmJaYns0Wnc0YmcXJBgf1zguTy29Kzs0Ymdi1mdiXosXPBNrLCMXLyxzLzc10AgLUA2LUzY0Ymdi1lta1lte0lgzPBMuTz3jHAw5Lzc10B29Slxn0CMvHBwLUzY0Ymdi1lta1lte0','iokaLca','vg9VBefWChjVDMfSuMvXDwLYzwq','teXnihbYB3zPzgvYig5VDcbZzxq','C3rHDhvZvgv4Da','Dg90ywW','C3bSAwnL','y29ZDf9KzxrHAwXZ','BgLTAxq','mteZnZC0DgjergLv','BwfRzuf1DgHizwfKzxjZ','C3rVCMu','C2v0rxzLBNrZ','y29UDgv4Da','DgLTzw91Da','Bwf4vg9VBenVBMn1CNjLBMn5','BMv0D29YAYbYzxf1zxn0igzHAwXLza','rMv0y2GGyw5KignVBNzLCNqGDgHPCYb3zwiGCgfNzsbvuKWGDg8GtwfYA2rVD24','Cg9W','Aw1Hz2vFDxjS','q3vZDg9TihnWzwnPywXPC3qGywDLBNq','zgvZy3jPChrPB24GBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','z2v0qMfZzvvYBa','z2v0qMfJA2DYB3vUzfjLC3vSDa','y3jLyxrLuMv0CNLuCMfUC3bVCNq','Ahr0Chm6lY9HCgKUA2LTAs5JB20Vy29KAw5Nl3yX','D3jPDgvgAwXL','E0fhru5ux0Xju1r9','ig5VDcbMB3vUzcbPBIbLEhrYywn0zwqGyxjJAgL2zq','r3jLCa','y2fWDhvYzvn0ywnRvhjHy2u','lsbWyxr0zxjUoIaIzNvUy3rPB24UkMv4Cg9YDciGlsbgAw5Kigv4Cg9YDgvKigz1BMn0Aw9UCW','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','Ahr0Chm6lY9HCgKUEI5HAs9HCgKVyw50AhjVCgLJl3yX','uMvXDwvZDcb0Aw1LB3v0igfMDgvYia','qwDLBNqGzgvSzwDHDgLVBIbPCYbUB3qGywXSB3DLzc4','cLT0CNvUy2f0zwqGyxqG','u3rYzwfTrMLUAxnO','z2v0t0f1DgG','DhjHBNnMB3jTvg9VBhm','Dg90ywXqCM9TChruB2TLBNm','BgLUzunVDw50','Aw1WB3j0u25HChnOB3q','l2jPBI9YzW','sw52ywXPzeLUChv0','zg9Uzq','Bg9JywXLq29TCgfYzq','zgvSzwDHDgLUz0nVBMzPzW','ygbGANnVBGO','ksbLEgnLzwrLza','CMvHC29UAw5NrwzMB3j0','u2vYDMLJzsb0zw1WB3jHCMLSEsb1BMf2ywLSywjSzs4GugXLyxnLihrYEsbHz2fPBIbSyxrLCI4','CMfJzq','iIbPCYbJDxjYzw50BhKGzgLZywjSzwqUifbSzwfZzsbLBMfIBguGAxqGAw4GDgHLigfNzw50ignVBMzPz3vYyxrPB24U','y29UDgvUDc1Szw5NDgG','tunqigrPC2nVBM5Ly3qGzxjYB3i6','Bwf4','Bwf4t3v0Chv0','EYjJB250zw50iJOI','r2L0shvIq29WAwXVDenOyxqVmc4ZmY4X','yxnZAwDUx3rHC2S','CMvMCMvZAfbYB21PC2u','BgLUzvn0yxj0','zgLZCgXHEv9Uyw1L','yxzHAwXHyMXLqwDLBNrZ','CMvTAw5KzxjZ','y29Kzq','D2fPDezVCKXVywq','Dw5RBM93BG','y2fSBa','nLjxy3rkCW','Aw5KzxHpzG','zgvSzwDHDgLVBLnLCNzPy2u','zxHLy3v0zvDPDgHszxrYEq','DhjHBNnMB3jTtwvZC2fNzxm','zxzLCNK','z2v0vhjHBNnWB3j0','DgHYB3DszxnWB25ZzuvYCM9Y','zgvMyxvSDa','rMfPBgvKihrVigXVywqGBwvTB3j5igzYB20G','Dg9VBe5HBwu','zxHLy3v0zvrHC2S','Bg9Nz2vY','Bg9JyxrPB24','rgLYzwn0B3j5ihrVihnLyxjJAcbPBI4GrgvMyxvSDhmGDg8Gy3vYCMvUDcb3B3jRAw5NigrPCMvJDg9YEs4','C3rHDgvnyw5Hz2vY','rMLSzsb0B28GBgfYz2uGka','zxn0Aw1HDgvKx2nVC3q','cIHLBxb0EsbVCIbHBgWGzMLSzxmGAwDUB3jLzcK','zxHLy3v0Aw9UvgLTzu1Z','Dg9VBf9Yzxn1Bhq','DxrMoa','B25dAhvUAW','C2X1z2LMEq','Aw5JBhvKzxm','CgfYC2vtu0vtDhjLyw1xAxrOtg9Nz2LUzW','BgXTuMvZB2X2zxi','Bwv0ywrHDgfnzw1VCNK','CgfYyw1LDgvYCW','zMLUAxnOx3jLyxnVBG','C29Tzq','igj5DgvZlG','w1bFxL1BxhnCu10QpW','B25uB29Sq2fSBerLBhrH','tM8GqvbjigTLEsbVCIbpqxv0AcbJCMvKzw50AwfSCYbWCM92AwrLza','vw5RBM93BIbnq1aGDg9VBdOG','DMfSAwrHDgLVBL9MywLSzwq','iIaTrM9Yy2u','ywDLBNrszwDPC3rYEq','cJXZExn0zw0TCMvTAw5Kzxi+cLrOAxmGAxmGBM90igeGCMvZDwX0igzYB20GDgHLihrVB2WGy2fSBc4GvgHLihvZzxiGD2fUDhmGC29TzxrOAw5NigvSC2uUifbSzwfZzsbMB2XSB3CGDgHLihvZzxiNCYbPBNn0CNvJDgLVBI4kre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlGO8l3n5C3rLBs1Yzw1PBMrLCJ4','z2v0s2v5','DgvZDa','DhvYBMrVD24','CMLWz3jLCc0','AxnV','khnPDgu6','B2XKx3rLEhq','BMv0D29YA19LCNjVCG','ugfJA2fNzxm','zNvUy3rPB24','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','zw50CMLLCW','zgvLCgLUzNjH','zMLSzv9WyxrO','Bg9HzefNzw50CW','q2fUBM90ihnHDMuGzgvMyxvSDcbHz2vUDcaI','cJXLBNy+cNT7Aw5Qzwn0zwrtExn0zw19FqO8l2vUDJ4','tMv0D29YA0vYCM9Y','BM90igzVDw5K','cI0TlqOk','CMvMCMvZAa','Dgv4Dfn0CMvHBq','z2vUzxjHDgvszxf1zxn0swq','t3bLCMf0Aw9UigfIB3j0zwqGyMvMB3jLigv4zwn1DgLVBG','y2HVAwnLCW','z2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','CM90yxrLtg9NrMLSzq','y29UBMvJDgLVBIbYzwz1C2vK','y3jLyxrLtwvTB3j5rM9YqwDLBNq','DxvPza','z2v0rMLSzw5HBwu','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','BhnFDg9VBa','lu5Vtg9NBW','C2v0q29UDMvYC2f0Aw9U','rxHWBgfUyxrPB24GB2yGD2HHDcb3zwiGCgfNzsbPCYbIzwLUzYbMzxrJAgvKigfUzcb3AhKGkguUzY4SicjgzxrJAcbKB2n1BwvUDgf0Aw9UihbHz2uGzM9Yiefqssb1C2fNzsbLEgfTCgXLCYiP','Cgf0Aa','ChjVBxb0','ls1NBg9Ipq','C3rVCf9YzwfZB24','Aw5PDgLHBgL6zwq','DMfSAwrHDgLVBG','B3v0Chv0vg9Rzw5Z','y3jLyxrLu3rYzwfTvgfWCgvY','y29Uy2f0','C2v0rw5HyMXLzefNzw50CW','ugfYyw1LDgvYicjHz2vUDciGAxmGCMvXDwLYzwqGyw5Kig11C3qGyMuGysbZDhjPBMC','zxHPC3rZu3LUyW','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGPB','yxv0AfrYyw5ZCg9YDa','icbmAw5Lia','yxbPvxjS','ChjPB3jPDhK','zM9YBwf0vg9VBhm','C3vIx2fNzw50x3rVB2XFy2fSBa','C2HHCMvdB250zxH0','zw5HyMXLzfrVB2XZ','EMfPlwfUDgHYB3bPyW','zgvMyxvSDfnOzwXS','Dg9VBfnJAgvTyxm','jYbPCYbUB3qGC3vWCg9YDgvKigzVCIbJAgf0ignVBxbSzxrPB25ZlIbqBgvHC2uGC2vSzwn0igeGzgLMzMvYzw50ig1VzgvSihvZAw5NicCVBw9KzwWNlG','ywrKrxzLBNrmAxn0zw5LCG','y2XPzw50','r2XVyG','zMLSzv9LzgL0','BMv3x3rLEhq','CMvMCMvZAefJy2vZC1rVA2vU','y3jLyxrLteXn','DgLTzxn0yw1W','ugfYyw1LDgvYicj0yxnRiIbPCYbYzxf1AxjLzcbHBMqGBxvZDcbIzsbHihn0CMLUzW','CM9VDerPCG','yxjYyxK','DgfYlMD6','Bg93','iIWIAwqIoIi','BgLUzvrLEhq','CMvHC29U','A2LSBfbYB2nLC3nhCM91Ca','DgvTCgvYyxr1CMu','ywfYy2G2nc1HChbSzs1Kyxj3Aw4','q3vZDg9TiefNzw50','zxHLy3v0zq','BgLTAxrZ','r09pr0Xfx0ntrv9lrvKGyw5KieDpt0Dmrv9du0vFq1GGyxjLihjLCxvPCMvKigzVCIb0AgLZihrVB2WGkeDVB2DSzsbdu0uGB25SEsKU','zwrPDg9YlxbSDwDPBI12zxjZAw9U','z2v0rxHWB3nLzfrVB2Xoyw1LCW','Dg9Rzw4','z2v0u3rHDgvnyw5Hz2vY','CMvZzxq','zMjJBgLK','sfruucbLCNjVCIa','zM9YyMLKzgvU','u3vIqwDLBNruB29SuMvZDwX0','zgvSzwDHDgLUz1rVB2XZ','BgfUzW','tMv0D29YAYbLCNjVCIbVy2n1CNjLzc4GugXLyxnLihrYEsbHz2fPBI4','y29UDgv4DeXPBMS','AML0DgvYrMfJDg9Y','CMvJB3jKuMvXDwvZDenVBxbSzxrL','zxHPC3rZ','u3LZDgvTigLUzM86','mZC1mZi0tK9rq2XV','lu5VuhjVzMLSzq','yxbWtMfTzq','yMfZzvvsta','w2LTywDLoG','C2fMzq','zxzLBNq6ia','C2XPy2u','CM91BMq','zM9YBwf0tg9Nrw50CNK','Dg90ywXFDg9Rzw5Z','u2TPCcb0AgLZig1HBNKGCMvZDwX0CYbIzwzVCMuGCMv0DxjUAw5NicHWywDPBMf0Aw9Ukq','A2LSBa','Dg9ju09tDhjPBMC','zMLSDgvY','ChjVzMLSzurPCG','q29Tu3bLyW','yxbPs2v5','CMLWz3jLCc1LEhrYywn0lq','zgLZywjSzwq','x3DVCMTZCgfJzurPCG','z3jLCf90B29S','B3b0Aw9UCW','DgfYigv4DhjHy3rPB24GzMfPBgvKoIa','uMvXDwvZDcb3yxmGy2fUy2vSBgvK','Dg9VBenHBgXZ','Bwv0ywrHDge','BM90x2zVDw5K','A2v5CW','yM9KEq','ChvIBgLZAgvKqxq','z2v0s2v5rNjVBuzPBgvUyw1L','qwjVCNrLza','rMfPBgvKihrVigzLDgnOig1VzgvSCW','v2LUr2v0','tM8GzgvZy3jPChrPB24GChjVDMLKzwq','AgvHzgvYC1rVuMvJB3jK','Ahr0Chm6lY9HCgKUBw9VBNnOB3qUywKVDJe','z2XTltqUnG','C3LZDgvT','r09pr0Xfx0ntrv9lrvK','rMfPBgvKihrVihnHDMuGywDLBNrZihrVihbLCNnPC3rLBMnLoG','vg9VBcbLEgvJDxrPB24GywjVCNrLzcbIEsb1C2vY','y29UBMvJDgLVBIbYzxnLDa','y2zN','Aw5FChjVz3jLC3m','y29UBMvJDgvK','CMfUzg9T','zgvSzwDHDgu','z2v0qxv0AfrYyw5ZCg9YDa','uMvZDwX0Aw5NigzPBguGDg9VigXHCMDLicG','BgLZDfjLz2LZDgvYzwruB29SCW','yxr0CG','z2vUzxjHDgvdB21WBgv0Aw9U','zhLUyw1Py0fWAvvYBa','rMfPBgvKihrVigv4zwn1DguGC3bLy2LHBgLZDcbHz2vUDdOG','l21LC3nHz2vZ','Dgv4Da','EdG2xZy0lxvUA25VD24TBgLUDxGTBxvZBa','sw52ywXPzcbku09oihn5BNrHEa','z2v0rgvSyxLgB3jszxnWB25Zzq','yxbWzw5KtwvZC2fNzxm','su5gtW','CMvZB2X2zuLUv29YA3nWywnL','y2fJAgvFy3jLyxrPB25FAw5WDxrFDg9Rzw5Z','twLUAu1HEc1nmI4X','D2vIx3nLyxjJAa','CMCUzxHL','z2XVyMfS','y3jLyxrL','rwrPDgvK','ugfYyw1LDgvYicjWyxrOiIbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','oIbJB250zw50ihjLCxvPCMvK','CgfNzw1HCa','Dg9VBhmVy2fSBa','y2f0y2G','l2jPBI9IyxnO','Bwv0Ag9K','lNLHBwW','vg9Rzw4GCMvMCMvZAcbMywLSzwq','y291BNq','yw50AhjVCgLJ','y3DK','mta4nxfpCLPUuG','Ahr0Chm6lY9HCgKUAw5KAxzPzhvHBc5NAxrODwjJB3bPBg90lMnVBq','Cg9ZAxrPDMu','z2v0qwn0AxzLqwDLBNrdB3vUDa','yxbP','CMvHC29UAw5Nx3rVA2vUCW','y2XVC2u','ChjVBxb0x3rVA2vUCW','qMfZAa','BgLZDenVBNzLCNnHDgLVBNm','vw5RBM93BIbmte0GChjVDMLKzxi6ia','B3rOzxi','C3rYAw5NAwz5','twLUAu1HEcbnmI4X','CMvJB3jKvg9VBenHBgW','ig1Z','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','u3vIqwDLBNruB29Sq2fSBa','z2v0uMvZCg9UC2vtAxPL','BM93','DxjSig11C3qGyMuGysb2ywXPzcbvuKW','CxvLCNKGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Bwf4vg9Rzw5Z','EM9Ku2nOzw1HCW','u2vHCMnOihrOzsb3zwiGzM9YihrOAxmGCxvLCNK','CMf0zsbSAw1PDa','vgfZAYbLEgvJDxrPB24GDgLTzw91DcbHzNrLCIa','CMvZCg9UC2vuAw1Ltxm','y29UDgv4DfDPBMrVDW','sfruuca','zw5Oyw5Jzq','yxbPigTLEq','zgvSDge','q2fUBM90ihvUCMvNAxn0zxiGzgvMyxvSDcbHz2vUDcaI','Aw1Hz2uT','zxzLBNrZ','ChjVBxb0x3rVA2vUC19KzxrHAwXZ','yMfJA29MzK11BhrPCgXPzxi','vxnLCYbYAxbNCMvWigzVCIbMyxn0igzPBguGzgLZy292zxj5lG','y2fJAgvKsw5WDxruB2TLBNm','Bwf4ugvYq29UDMvYC2f0Aw9U','z2v0rgvMyxvSDejHC2vvCMW','teXnrxjYB3i','l2jPBI9ZAa','rMv0y2GGywrKAxrPB25HBcbTzxrHzgf0ysbMCM9TihjLC3vSDcbWywDLCYaOC2XVD2vYkq','BM9Uzq','ugf0Acb3AgvYzsb0AguGBMv3igzPBguGD2LSBcbIzsbJCMvHDgvK','yNLWyxnZuMvZDwX0CW','zMXVB3i','ww91igfYzsbHBIbLBgL0zsbbssbHz2vUDcbHCMnOAxrLy3qUifLVDxiGAM9IigLZihrVihrYyw5ZBgf0zsb1C2vYihjLCxvPCMvTzw50CYbPBNrVigeGChjLy2LZzsWGCMvSAwfIBguGywDLBNqGC3bLy2LMAwnHDgLVBIbHBMqGzMLUywWGC3LZDgvTihbYB21WDcb0Agf0igrVD25ZDhjLyw0GC3LZDgvTCYbJyw4GDxnLigrPCMvJDgX5lGOkiYmJienVBNrLEhqGEw91ig1HEsbYzwnLAxzLcI0GuhjVAMvJDcbTyxrLCMLHBhmGkguUzY4Sienmqvvers5TzcKSignVzgLUzYbZDgfUzgfYzhmSihbYB2PLy3qGC3rYDwn0DxjLlcbHBMqGy3vZDg9TihjLCxvPCMvTzw50CY4Gsw5OzxjPDcb0AgvZzsbWyxr0zxjUCYbLEhbSAwnPDgX5igLUihLVDxiGzgvZAwDUlGOkiYmJifLVDxiGAgLNAc1SzxzLBcbVyMPLy3rPDMuklsbqCM9KDwnLigeGy29TCgXLDguSihnLBgyTC3vMzMLJAwvUDcbHz2vUDcbZCgvJihrOyxqGAw5JBhvKzxm6igeGy29Uy2LZzsbPzgvUDgLMAwvYlcbHignSzwfYicj3AgvUihrVihvZzsiGzgvZy3jPChrPB24GD2L0AcbLEgfTCgXLCYWGyw5KigeGCM9IDxn0ihn5C3rLBsbWCM9TChqGDgHHDcbNB3zLCM5ZigjLAgf2Aw9YlGOkiYmJie9WzxjHDgLUzYbWCMLUy2LWBgvZicHMB2XSB3CGAw4GB3jKzxiPcJePicOQrxH0CMfJDcbdB3jLieLUDgvUDcOQcIaGic0GswrLBNrPzNKGChvYCg9ZzsWGC2nVCguSihvZzxjZlcbPBNb1DhmSig91Dhb1DhmSihn1y2nLC3mGy3jPDgvYAweSignVBNn0CMfPBNrZlcbHBMqGyw55igLTCgXPy2L0ig5LzwrZlGOGicaTieLMignVzguTCMv2Awv3igLZihjLCxvLC3rLzcWGzgvMyxvSDcbZy29Wzsb0BYaQCMvJzw50BhKGD3jPDhrLBIbVCIbJAgfUz2vKignVzguQihvUBgvZCYb0AguGDxnLCIbLEhbSAwnPDgX5ihjLCxvLC3rZigeGzNvSBc1YzxbVihjLDMLLDY4kmIKGkIPezxnPz24GrxHWzxj0ifbLCNnVBMeQkGOGicaTierLzMLUzsbHigrVBwfPBI1ZCgvJAwzPyYbYB2XLicHLlMCUlcbZzw5PB3iGy29KzsbYzxzPzxDLCIWGqvbjigrVy3mGD3jPDgvYksWGzgvJAxnPB24GC3r5BguSigfUzcbKB21HAw4GAgv1CMLZDgLJCY4kicaGlsbbC3n1BwuGDgHLihjVBguGB2yGysbYzwnVz25PEMvKigrVBwfPBIbLEhbLCNqGD2L0AcbKzwvWig1HC3rLCNKGB2yGCMvSzxzHBNqGy29Uy2vWDhmSig1LDgHVzg9SB2DPzxmSigfUzcbIzxn0ihbYywn0AwnLCY4kmYKGkIPezwnVBxbVC2uGDgHLifrHC2SQkGOGicaTieXHEsbVDxqGysbZAg9YDcbWAxbLBgLUzsaOueXbtIdIHPiGrvHfq1vursdIHPiGvKvssuzziokgKIbpvvrqvvqPlIblzwvWihn0zxbZignVBMnYzxrLigfUzcbJAgvJA2XPC3qTzhjPDMvUlGO0ksaQkLnWzwnPzNKGsw5WDxrZlcbuB29SCYWGyw5KiejVDw5KyxjPzxmQkGOGicaTie5HBwuGCMvXDwLYzwqGAw5WDxrZoYbZDgf0zsbHC3n1Bxb0Aw9UCYbPzIbTAxnZAw5NlGOGicaTieXPC3qGywXSB3DLzcb0B29SCYbHBMqGAg93ihrVigLUDM9Rzsb0AgvToYbKzwzPBMuGzMfSBgjHy2SGyMvOyxzPB3iGAwyGDg9VBhmGzMfPBc4kicaGlsbjBMnSDwrLihn0B3aGy29UzgL0Aw9UCYbHBMqGzxnJywXHDgLVBIbYDwXLCYaOD2HLBIb0BYbHC2SGDgHLihvZzxiGzM9YignSyxjPzMLJyxrPB24SihDOzw4GDg8GCMv0DxjUihbHCNrPywWGCMvZDwX0CYKUcJuPicOQuxvHBgL0EsaMifjLBgLHyMLSAxr5kIOkicaGlsbcDwLSzcbPBIbZzwXMlwnOzwnRCZOGCMvXDwLYzw1LBNqGy292zxjHz2uSignVBNn0CMfPBNqGywrOzxjLBMnLlcbMB3jTyxr0Aw5NihzHBgLKyxrPB24UcIaGic0Gv2HLCMuGyxbWBgLJywjSzsWGAw5ZDhj1y3qGDgHLigfNzw50ihrVigDLBMvYyxrLigfUzcb2zxjPzNKGCMvHC29UAw5NigLUDgvYBMfSBhKSihrOzw4GChjLC2vUDcbVBMX5ihrOzsbMAw5HBcWGy29Uy2LZzsbYzxn1BhqUcJyPicOQt3v0Chv0ienVBNrYywn0kIOkicaGlsbezwzPBMuGzxHHy3qGB3v0Chv0igzVCM1HDhmGkhnJAgvTyxmSihnLy3rPB25ZlcbVCIbIDwXSzxqGy2HLy2TSAxn0CYKGC28Gzg93BNn0CMvHBsbJB25ZDw1LCNmGyxjLigrLDgvYBwLUAxn0AwmUcGOJiYmGu3LZDgvTlxbYB21WDcbZDhj1y3r1CMuGEw91ig11C3qGz2vUzxjHDgukcImGuM9SzqPzB3uGyxjLidXLEhbLCNqTCgvYC29Uyt4UifLVDsbVChrPBwL6zsbMB3iGy29YCMvJDg5LC3mSignSyxjPDhKSigfUzcbHzgHLCMvUy2uGDg8GChjVAMvJDcbZDgfUzgfYzhmUcGOJieDVywXZcI0Gpgj1BgXLDcbSAxn0ig9MignVBMnYzxrLigDVywXZpGOkiYbjBNb1Dhmklsa8CMvXDwLYzwqGAw5WDxrZpGOTiefZC3vTChrPB25ZigLMig1PC3nPBMC6idXYDwXLCYb0BYbPBMzLCIbVCIbYzxf1zxn0pGOkiYbqCM9JzxnZcI0GueXbtJOGpgjYAwvMignOzwnRBgLZDd4klsbfwevdvvrfoIa8Bwv0Ag9KCYWGzNjHBwv3B3jRCYWGAgv1CMLZDgLJCZ4klsbwrvjjrLK6idXZzwXMlwnOzwnRCYWGCMvXDwLYzw1LBNqGy292zxjHz2uSignVBNn0CMfPBNqGyxvKAxq+cI0Gt1vuufvuoIa8zxHHy3qGC2vJDgLVBNmGlYbZy2HLBwe+cGOJifbVBgLJAwvZicyGqM91BMrHCMLLCWOTiezVBgXVDYbWCM9Qzwn0ignVzgLUzYbZDgfUzgfYzhmGzNjVBsbdtefvreuUBwqGAwyGChjVDMLKzwqUcI0GuMv2Awv3ig9UBhKGCMvJzw50ignOyw5NzxmGDw5SzxnZihrVBgqGB3rOzxj3AxnLlGOTieLMigLUzM9YBwf0Aw9UigLZigLUC3vMzMLJAwvUDcWGyxnRihbYzwnPC2vSEsb0yxjNzxrLzcbXDwvZDgLVBNmGkg1HEcaZksbIzwzVCMuGChjVy2vLzgLUzZSGB3rOzxj3AxnLihbYB2nLzwqGD2L0AcbJBgvHCMX5ihn0yxrLzcbHC3n1Bxb0Aw9UCY4klsbtDg9WigfUzcbLC2nHBgf0zsbPzIbZywzLDhKSigXLz2fSlcbVCIbKyxrHlwDVDMvYBMfUy2uGCMLZA3mGyxjLigrLDgvJDgvKlGOkiYbrDwfSAxr5iejHCGOTievUC3vYztOGy29YCMvJDg5LC3mGpIbJB21WBgv0zw5LC3mGpIbZCgvLzc4klsbsDw4GysbMAw5HBcaIu3bLyYbrqsiGy2HLy2TSAxn0igjLzM9YzsbYzxnWB25KAw5NoGOGidePiefSBcb1C2vYihjLCxvPCMvTzw50CYbTyxbWzwqGDg8GC2vJDgLVBNm/cIaGmIKGt3v0Chv0igzVCM1HDcbTyxrJAgvZihrOzsbJB250CMfJDcbLEgfJDgX5pWOGidmPievKz2uGy2fZzxmGywrKCMvZC2vKpWOGidqPiev4yw1WBgvZigLUy2X1zgvKihDOzw4GAgvSCgz1Bd8kcImJiYbxAgf0ihrVihjLDhvYBGPszxr1CM4GysaQkKPtt04GB2jQzwn0kIOGD2L0AcbLEgfJDgX5ihrOzxnLigzPzwXKCZOklsaQkNn5C3rLBvbYB21WDcOQicHsrvfvsvjfrcK6ifrOzsbMAw5HBcbZzwnVBMqTCgvYC29Uihn5C3rLBsbWCM9TChqGyNvPBhqGzNjVBsb0AguGDgvTCgXHDguGywjVDMuUcI0GkIPPzcOQicHVChrPB25HBcK6ieeGA2vIywiTy2fZzsbPzgvUDgLMAwvYicHLlMCUlcaIC2vJDxjPDhKTyxvKAxrVCIiSicjKyxrHlwfUywX5EMvYiIKUieLMig9TAxr0zwqSig9Uzsb3AwXSigjLigf1Dg8Tz2vUzxjHDgvKlGOTicOQBMfTzsOQicHVChrPB25HBcK6ieeGAhvTyw4TCMvHzgfIBguGBMfTzsaOzs5NlIWGiLnLy3vYAxr5ief1zgL0B3iIlcaIrgf0ysbbBMfSExPLCIiPlIbezwzHDwX0CYb0BYaIq3vZDg9TiefNzw50iI4klsaQkMrLC2nYAxb0Aw9UkIOGkg9WDgLVBMfSktOGu3rHCNrZihDPDgGGiLvZzsb0AgLZigfNzw50ihDOzw4UlI4IihDPDgGGmISGy29Uy3jLDguGzxHHBxbSzxmGC2HVD2LUzYb0B29SigLUDM9JyxrPB24UierLzMf1BhrZihrVigDLBMvYAwmGzgvZy3jPChrPB24UcI0GkIP0B29SCYOQicHVChrPB25HBcK6iefYCMf5ig9MihrVB2WGBMfTzxmGDgHLigfNzw50ihnOB3vSzcb1C2uUierLzMf1BhrZihrVifSIzMLSzv9YzwfKiIWGiNDLyL9ZzwfYy2GIxs4klsaQkNrLBxbLCMf0DxjLkIOGkg9WDgLVBMfSktOGtNvTyMvYigjLDhDLzw4Gmc0XigzVCIbZyw1WBgLUzY4Gtg93zxiGDMfSDwvZid0GBw9YzsbKzxrLCM1PBMLZDgLJlIbszwnVBw1LBMrLzdOGmc4ZltaUns4klsaQkM1VzgvSkIOGkg9WDgLVBMfSktOGu3bLy2LMAwmGBw9KzwWGDg8GDxnLicHLlMCUlcaIz3b0ltqIlcaIy2XHDwrLltmTC29UBMv0iIKUieLMig9TAxr0zwqSigLUAgvYAxrZigzYB20GCgfYzw50lGOTicOQChjVDMLKzxiQkIaOB3b0Aw9UywWPoIbmte0GChjVDMLKzxiGkguUzY4SicjVCgvUCM91DgvYiIWGiMDPDgH1yIiSicjHBNrOCM9WAwmIks4klsaQkNrVCfaQkIaOB3b0Aw9UywWPoIbuB3aTCcbZyw1WBgLUzYbWyxjHBwv0zxiUifjLy29TBwvUzgvKoIaXlGOTicOQBwf4vg9Rzw5ZkIOGkg9WDgLVBMfSktOGtwf4Aw11Bsb0B2TLBNmGzM9YihjLC3bVBNnLlIbszwnVBw1LBMrLzdOGnJqWmdaGB3iGB21PDhrLzc4klsaQkNrPBwvVDxrnCYOQicHVChrPB25HBcK6ifrPBwvVDxqGAw4GBwLSBgLZzwnVBMrZlIbezwzHDwX0oIaZmdaWmdaGkduGBwLUDxrLCYKUcGOJiYmGrxHHBxbSzxmkcKv4yw1WBguGmtOkEWOGicjPzci6icjZzwn1CML0Es1HDwrPDg9YiIWkicaIBMfTzsi6icjtzwn1CML0EsbbDwrPDg9YiIWkicaIzgvZy3jPChrPB24IoIaIvxnLihrOAxmGywDLBNqGD2HLBIb5B3uGBMvLzcb0BYbWzxjMB3jTigeGC2vJDxjPDhKGyxvKAxqGB24GysbJB2rLyMfZzsbVCIbHChbSAwnHDgLVBI4GrM9Yigv4yw1WBguSihLVDsbTAwDODcbPBNzVA2uGDgHPCYbHz2vUDcb3AgvUihLVDsb3yw50ihrVignOzwnRigzVCIb2DwXUzxjHyMLSAxrPzxmGAw4Gysb3zwiGyxbWBgLJyxrPB24GB3iGD2HLBIb5B3uGBMvLzcb0BYbLBNn1CMuGy29TCgXPyw5Jzsb3AxrOihnLy3vYAxr5igjLC3qGChjHy3rPy2vZlIiScIaGiNn5C3rLBvbYB21WDci6icjzB3uGyxjLigeGC2vJDxjPDhKGyxvKAxrPBMCGC3bLy2LHBgLZDc4Gww91CIbYB2XLigLZihrVigfUywX5EMuGy29KzsbMB3iGC2vJDxjPDhKGDNvSBMvYywjPBgL0AwvZlcbPBMnSDwrPBMCGu1fmigLUAMvJDgLVBIWGwfntlcbdu1jglcbHDxrOzw50AwnHDgLVBIbPC3n1zxmSigfUzcbPBNnLy3vYzsbKzxbLBMrLBMnPzxmUiefWChjVywnOoIaXlIbMAwXLx3jLywqGyw5KigfUywX5EMuGDgHLignVzgvIyxnLihn5C3rLBwf0AwnHBgX5lIaYlIbdAgvJAYbMB3iGy29TBw9Uihz1Bg5LCMfIAwXPDhKGCgf0DgvYBNmUidmUifjLDMLLDYbKzxbLBMrLBMnPzxmGzM9YigTUB3DUienwrxmUidqUifbYB3zPzguGC3bLy2LMAwmSigfJDgLVBMfIBguGCMvTzwrPyxrPB24GC3rLChmUiefSD2f5CYbWCMLVCML0AxPLignYAxrPy2fSihnLy3vYAxr5igLZC3vLCYbHBMqGzxHWBgfPBIb0AguGCg90zw50AwfSigLTCgfJDc4IlaOGicj0B29SCYi6ifSIzMLSzv9YzwfKiIWGiNDLyL9ZzwfYy2GIlcaIyMfZAf90B29SiIWGiMDYzxbFDg9VBcjDlaOGicj0zw1WzxjHDhvYzsi6idaUmWP9cGPfEgfTCgXLidiGkg1PBMLTywWPoGP7cIaGiNn5C3rLBvbYB21WDci6icjzB3uGyxjLigeGAgvSCgz1BcbZCgvJAwfSAxn0igfNzw50ihrOyxqGyxnZAxn0CYb3AxrOigDLBMvYywWGChjVz3jHBw1PBMCGDgfZA3mUifLVDsbJyw4GCMvHzcbMAwXLCYWGC2vHCMnOigzVCIbPBMzVCM1HDgLVBIWGyw5KihbYB3zPzguGy2XLyxiGzxHWBgfUyxrPB25ZlIiScIaGiNrVB2XZiJOGwYjMAwXLx3jLywqIlcaID2vIx3nLyxjJAcjDcN0kcImJiYbjBxbVCNrHBNqGz3vPzgvSAw5LCWOTifvZzsbLEhbSAwnPDcbPBNn0CNvJDgLVBNmGB3zLCIbWCM9OAwjPDgLVBNm7ihnHEsb3Agf0ihrVigrVlGOTifvZzsbMzxCTC2HVDcbLEgfTCgXLCYb3AgvUihrOzxKGy2XHCMLMEsbIzwHHDMLVCI4klsbczsbJB25JAxnLigj1DcbJB21WBgv0zEkaLgv2zxj5igXPBMuGC2HVDwXKigfKzcbLEgvJDxrPB24GDMfSDwuUcI0GswyGy29UC3rYywLUDhmGy29UzMXPy3qSihn0yxrLihrOzsb0CMfKzs1VzMyGyw5KihLVDxiGCMvZB2X1DgLVBI4klsbjBMnSDwrLihnWzwnPzMLJihrVB2WGBMfTzxmGzNjVBsb0AguGyxzHAwXHyMXLihrVB2XZigXPC3qUcI0Gtg93zxiGDgvTCgvYyxr1CMuGkdaUmYKGChjVzhvJzxmGBw9YzsbJB25ZAxn0zw50ihjLC3vSDhmUcGOQkLjLBwvTyMvYoIbszxr1CM4Gt05mwsb0AguGsLnptIbVyMPLy3qGyxmGEw91CIbYzxnWB25Zzs4Grg8GtK9uigLUy2X1zguGyw55igfKzgL0Aw9UywWGDgv4DcbVCIbLEhbSyw5HDgLVBI4QkG','AM9PBG','zw5ZDxjLsw5PDgLHBgL6zwq','Ahr0Chm6lY9HCgKUzgvLCgLUzNjHlMnVBs92ms9VCgvUywK','ugf0AcbPCYbUB3qGysbKAxjLy3rVCNK6ia','zw5ZDxjLqwDLBNrZrgLY','zgvZy3jPChrPB24','twf4igrLBgvNyxrPB24GzgvWDgGGzxHJzwvKzwq','C2L6zq','lI4U','rMfPBgvKihrVigrLBgvNyxrLihrHC2SU','y29UBMvJDa','yM9VBgvHBG','C2HHmJu2','Dhj1zq','icHuB29SCZOG','zgLZy29UBMvJDa','rxHWBgfUyxrPB24GB2yGD2HHDcbPCYbIzwLUzYbZzwfYy2HLzcbMB3iGyw5KihDOEsaOzs5NlIWGiLnLyxjJAcbMB3iGuMvHy3qGAg9VA3mGyMvZDcbWCMfJDgLJzxmIkq','y29UDgvUDcbPCYbYzxf1AxjLza','u2HLBgWGBM90igzVDw5KoIa','Bwf0y2G','BgvUz3rO','Axnoyu4','BwfW','rMfPBgvKihrVihnHDMuGBwvTB3j5ihrVia','vgv4DcbJB250zw50ihrVihDYAxrLihrVihrOzsbUzxCGzMLSzq','C3rHDa','CNvU','zgvSzwDHDgLVBLnLCNzPy2vgywn0B3j5','DgL0Bgu','uMv0DxjUihjLC3vSDhmGzNjVBsb0AgLZihjLz2LVBIWGzs5NlIaNvvmNlcaNvK4N','BwvZC2fNzv9ZDg9W','A2LTAq','BwvZC2fNzuLK','D2LUmZi','AgLZDg9YEs4','x19TzxrHzgf0yv9F','oIbPzcbYzxf1AxjLza','y2f0ywXVzW','D2fYBG','BwTKAxi','zM9YrwfJAa','CMvJzw5JEurHExm','iIaTrgvZDgLUyxrPB25qyxrOici','C2HVDwXKswDUB3jL','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','jYbUB3qGzM91BMq','sw52ywXPzcbHz2vUDcb0zw1WBgf0zsbPBIa','BxrPBwu','vw5RBM93BIbLCNjVCG','qw4GDw5RBM93BIbLCNjVCIbVy2n1CNjLza','AgfZ','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cLS','yMfJA2DYB3vUzefNzw50CW','zxHLy3v0zvDPDgHuAw1LB3v0','zMLSzvbLCNnPC3rLBMnL','CgvYBwLZC2LVBIbKzw5Pzwq','uhjVz3jHBuzPBgvZ','zxHWAxjLCW','ls1OAwrKzw4','mJaYmY0WnI0Wmq','Bwf4qNL0zxm','qwXSia','zMfPBgvK','tunqihrVB2WGy2fSBcb0Aw1LzcbVDxqGywz0zxiG','twLJCM9ZB2z0','AgfUzgXLrxjYB3i','BwvTB3j5','lxH6zG','qNvYBNrtDxnOAs5YAxbNCMvWlK1tvKnFtwLJCM9ZB2z0lLDPBMDLDc5tB3vYy2vFohDLA3LIm2q4yMj3zq','CMvMCMvZAf90B2TLBG','yMLYDgH0Aw1L','BgfUz18','zMLSzv9WyxrOig11C3qGyMuGysbUB24Tzw1WDhKGC3rYAw5N','DgvYBwLUyxrLza','C2fMzvbHCNnL','y29UDgvUDa','zgvMyxvSDe1VzgvSCW','v2vIu2vHCMnO','uhjVz3jHBuzPBgvZkhG4nIK','AgfUzgXLvg9VBerLBMLHBa','ls1MAwXLCW','Cgf0AcbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','CMvTB3zL','uMv0DxjUCYb1Ccb0BYaXmdaGBwf0y2HLCYbZB3j0zwqGyNKGzMLSzsbTB2rPzMLJyxrPB24GDgLTzsaOBw9ZDcbYzwnLBNqGzMLYC3qPlG','Aw5JBhvKzq','uMvXDwvZDcbHyM9YDgvKigj5ihvZzxi','zw5VDgzVDw5K','ls1NBg9IpseUz2L0lYO','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','z2XVyMfSrgLY','oIbPBNzHBgLKihn0yxr1CW','CMf0zv9SAw1PDa','zgvMyxvSDfvYBa','CMvNAxn0zxi','D29YA3nWywnLuM9VDa','mtC0nZe1nJHhCu1eCM0','ChjLDMLVDxnnzxnZywDLCW','vxnLCI1bz2vUDa','yxbWCM92zv9HBgW','B3bLBNjVDxrLCG','CMv0CNKTywz0zxi','te9dquXbufbeqvrb','ywfYy2G2nc11BMTUB3DUlwXPBNv4lwDUDq','C3rKzxjY','yMfZAf90B29S','Bw9KzwXdB25MAwC','ywn0AxzLq29UDMvYC2f0Aw9Uswq','zw51Bq','zwnOBW','u2vZC2LVBIbjrcbMCM9TigeGChjLDMLVDxmGywDLBNqGAw52B2nHDgLVBIb0BYbYzxn1BwuUifrOzsbHz2vUDcb3AwXSignVBNrPBNvLihDPDgGGAxrZigz1BgWGChjLDMLVDxmGy29UDgv4DcbWCMvZzxj2zwqU','CMvHzezPBgvtEw5J','B25dAgfUz2u','B25szwfZB25PBMDdAhvUAW','Dg9Wx3bYB3zPzgvY','zwrPDeLUC3rYDwn0Aw9U','CgLWzq','CMv0CNLHyMXLu3rHDhvZq29Kzxm','tunqoIa','Bwf4rgvWDgG','A2LTAs1SyxrLC3q','EdG2xZy0lxbJlxDPBMrVD3mTBxn2yW','BwLU','AwrZ','Aw5WDxrty2HLBwe','l21VzgvSCW','qwjVCNrfCNjVCG','ywnJzxnZx3rVA2vU','yxbWBhLdywnOzunVBNrYB2W','zwrPDa','CMvWBgfJzq','l3vZCI9IAw4VCMC','zgf0yq','rMfPBgvKihrVigDLBMvYyxrLigfNzw50ieLe','Bg9HzgLUz1bYB21PC2u','CgvYBwLZC2LVBG','y29ZDa','rMfPBgvKihrVigXVywqGy29TBwfUzcbMCM9Tia','C3vIx2fNzw50x3n0yxj0zwq','CMvTB3zLrxzLBNrmAxn0zw5LCG','zNmVChjVBwLZzxm','B2XKx3rLEhqGBM90igzVDw5KigLUigzPBguUie1HA2uGC3vYzsbPDcbTyxrJAgvZigv4ywn0BhKGAw5JBhvKAw5NihDOAxrLC3bHy2uUcLnLyxjJAgLUzYbMB3i6ici','q29TBwfUzcbLEgvJDxrPB24GywjVCNrLzcbIEsb1C2vY','r2XVyIbWyxr0zxjUihrVig1HDgnOigzPBgvZicHLlMCUlcaIkI50CYiSicjZCMmVkIOVkI5QCYiSiciQkI8QlNrLC3qUDhmIkq','zgv0zxjTAw5Lsw5PDgLHDg9Y','CMv0CNK','sw52ywXPzcbHChbYB3zHBcbKzwnPC2LVBJOG','Bg9NrM9YBwf0','EMLWigv4DhjHy3rPB24GzMfPBgvKoIa','Aw50','Cgf0DgvYBG','rMLSzsbUB3qGzM91BMq6ia','y2fSy3vSyxrLtgLUzu51BwjLCNm','vgHLigv4ywn0ihrLEhqGDg8GzMLUzcbPBIb0AguGzMLSzs4GtxvZDcbTyxrJAcbWCMvJAxnLBhKGAw5JBhvKAw5NihDOAxrLC3bHy2uGyw5KigXPBMuGyNjLywTZlG','y3vZDg9TsgvHzgvYCW','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms03meiTsw5ZDhj1y3q','DMfSDwvZ','BxmG','tM8GDg9VBcbMB3vUzcbMB3iG','C3rKB3v0','zMLUAxnOuMvHC29U','ru5pru5u','CMvHC29UAw5N','C2vZC2LVBKLK','zMLSzw5HBwu','C3rHDfn5BMm','AhrTBfnUAxbWzxq','Dg9qCM92AwrLCK1LC3nHz2vZ','rMfPBgvKihrVigXVywqGywDLBNrZigzYB20GCgvYC2LZDgvUy2u6','zhj5x3j1BG','Dg9VBf9JAg9Py2u','BM9YBwfSAxPL','zgvJB2rL','Aw52ywXPzf9PBNb1Da','yxnPzgu','Dg9KyxK','ywDLBNqT','yxv0Ag9YAxPHDgLVBG','qxnZAxn0yw50q2H1BMS','qwDLBNqGAxmGBwLZC2LUzYbPzgvUDgLMAwvYlG','Dg9tDhjPBMC','C25PChbLDa','rMfPBgvKihrVigrLBgv0zsbHz2vUDca','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','z2v0vg9KB3m','zxbOzw1LCMfS','Dg9VBhmVBgLZDa','CgvYC2LZDezPBgu','v3jPDgu','zxjYB3jZ','Bwf4rMLSzvnPEMu','z2v0u25HChnOB3q','C2v0t25dAgfUz2u','y3vYCMvUDenVC3q','zgvUAwfStwvZC2fNzq','BwvKAxvT','Dg9KB19YzwfK','vMfSAwrHDgLVBIbMywLSzwq6ia','zgvSzwDHDgLUz01LBw9YEq','r0vu','igj5DgvZks4GsgfYzcbJyxaGAxmG','z2v0vg9VBhm','AhjLzG','y3vYCMvUDenHy2HLzfrVA2vUCW','C3rYAw5N','Bwf4qNL0zxniyxjK','BgLUzu51Bq','DMvYC2LVBG','C2vHCMnOugfYyw1Z','C3vJy2vZCW','Ec1HCgKTA2v5','mYKGtgLZDcbMAwXLCYbPBMnSDwrPBMCGAgLKzgvUig9Uzxm','BwfYA2rVD24','Bwf0y2Hqyxr0zxjU','D3jPDgvrDwv1zq','ywDLBNrjza','yxr4','CgvYC2LZDfrVB2Xoyw1LCW','s2LTAsbMB3iGq29KAw5N','ue9tva','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','DgHPBMTPBMC','CxvLCNK','C3rHDgu','Bg9Hza','ywXS','mta3ne1MwvjKtG','yNvKz2v0x3rVA2vUCW','Ahr0Chm6lY9HCgKUBwLUAw1HEc5PBY9HBNrOCM9WAwmVDJe','zgf0ytO','Ahr0CeXVz0zPBgu','BMv3x3rLEhqGBxvZDcbIzsbHihn0CMLUzY4','zw5KCg9PBNrZ','ywjVCNrLzcbKDwuGDg8Gy29UBMvJDgLVBIbJBg9ZDxjL','Dg1WzgLY','zMvUy2vK','Dgv4Dc9ODg1S','Cgf0DgvYBIbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','lsbuzw1WoIa','iIWIC3rHDhvZiJOI','Bwf4x3rVA2vUCW','AxngAwXL','EdG2xZy0lwfWCgXLlwrHCNDPBG','B2f1DgGTmJaYns0Wnc0YmcXMAw5LlwDYywLUzwqTDg9VBc1ZDhjLyw1PBMCTmJaYns0Wns0Xna','DxrTx3nVDxjJzq','DgvTCerPCG','CMvXDwvZDa','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VDJeVB2f1DgGVDg9Rzw4','DgHYB3Dmte1fCNjVCG','C3vIC3rYAw5N','CgfYDgLHBf9QC29U','y29TCgXLDgLVBLrVA2vUCW','Bw9KzwXZ','uMvHza','zxH0zw5ZAw9U','z2v0q29UzMLN','Aw5PDa','lsbuB2rHEsDZigrHDgu6ia','q2fUBM90igrLBgv0zsbKzwzHDwX0igfNzw50ici','C2nYAxb0','A2LTAs1RmI10AgLUA2LUzW','Dg9VBhnnzw1VCNK','zw5HyMXLq29UC29SzuXVzW','ywn0AxzLqwDLBNrZ','Aw5JCMvTzw50vg9Rzw5Z','CNvUBMLUzW','zgLZCgXHEvrLEhq','yNvPBgrgDwXSvxjS','rMfPBgvKihrVihDYAxrLihrVigXVzYbMAwXLoG','zMLSzv9UzxC','Dg9VBf9HChbYB3zHBf9YzxnWB25Zzq','BMfTzq','Dg9KB193CML0zq','icHZDhjLyw0P','CMvQzwn0','yxv0BW','Dw5ZDxbWB3j0zwrFyxbPx2zVCL9TB2rLBa','wf9psW','z2XTltqUnW','zgf0ytOG','AgvHzgvYCW','w1rVB2XdywXSq29UDMvYDgvYxsbwywXPzgf0Aw9UihDHCM5PBMDZigzVCIa','Dw5HDxrOB3jPEMvK','uMvHC29UAw5Nq2H1BMS','ChjVDMLKzxjoyw1L','C2v0vg9VBhm','z2L0AhvI','ChjVBxb0q2fJAgLUzW','B2f1DgG','qujpuLrfra','Aw5WDxruB2TLBNm'];_0x40b2=function(){return _0x10a545;};return _0x40b2();}import{parse as _0x587920,stringify as _0x3f231c}from'yaml';function isValidCommandId(_0x20ea21){const _0x287227={_0x207780:0x380},_0x2855e5={_0x8b6ae0:0x2a5};function _0x3bb034(_0x3904dc,_0x319acd,_0x260043,_0x92061f){return _0x577062(_0x3904dc-0x166,_0x319acd,_0x260043-0xf0,_0x260043-_0x2855e5._0x8b6ae0);}return/^[a-z][a-z0-9-]*$/[_0x3bb034(0x27b,0x49,0x1ab,_0x287227._0x207780)](_0x20ea21);}function sanitizeCommandId(_0x13e119){const _0x4e88eb={_0x5c1b80:0x693,_0x3168b7:0x69d,_0x5186d2:0x7a4,_0x4c5b4c:0x79e,_0xabf58a:0x6ea},_0x36a08e={_0x373c44:0x25f,_0x31e0ca:0x1c0},_0x23a8b0={_0x32d9ca:0x6b7};function _0x631df4(_0x479b2c,_0x337953,_0x5927d9,_0x27bed5){return _0x577062(_0x479b2c-0xd1,_0x479b2c,_0x5927d9-0x1cb,_0x27bed5-_0x23a8b0._0x32d9ca);}function _0x564673(_0x4f8258,_0x5a7c2c,_0x1b8e35,_0x3c27b5){return _0x1f0bf6(_0x4f8258-_0x36a08e._0x373c44,_0x1b8e35,_0x1b8e35-_0x36a08e._0x31e0ca,_0x3c27b5-0x47);}return _0x13e119['toLowerCase']()[_0x564673(0x67e,_0x4e88eb._0x5c1b80,_0x4e88eb._0x3168b7,_0x4e88eb._0x5186d2)](/[^a-z0-9-]/g,'-')[_0x631df4(_0x4e88eb._0x4c5b4c,0x77a,0x7d6,0x727)](/-+/g,'-')[_0x631df4(0x6c7,_0x4e88eb._0xabf58a,0x5c9,0x727)](/^-|-$/g,'');}var CommandFilePersistence=class{[_0x577062(0xe4,-0x125,0x178,0x48)];[_0x1f0bf6(0x328,0x529,0x560,0x477)];[_0x1f0bf6(0x1fd,0x294,0x53,0x277)];constructor(_0x4a0a8d){const _0x3edb4b={_0x4bcb54:0x34b,_0x5d2c30:0x3f,_0x5dcf93:0x18a,_0x5a9dc2:0x180,_0x4bcf3d:0xf0,_0xcc8fe8:0x224,_0xa1104a:0xcc,_0x10730d:0xb6,_0x12b9cf:0xf9},_0x3fe2e6={_0xea05fa:0x44,_0x18d3c4:0x2ab},_0x5ab01b={_0x154173:0xb2,_0x1c69f8:0x1e1,_0x5b51d5:0x199};function _0x5cd63d(_0x26063a,_0x5a6f5c,_0xb6c2b6,_0x34cd27){return _0x577062(_0x26063a-_0x5ab01b._0x154173,_0x5a6f5c,_0xb6c2b6-_0x5ab01b._0x1c69f8,_0x34cd27-_0x5ab01b._0x5b51d5);}this[_0x5cd63d(_0x3edb4b._0x4bcb54,_0x3edb4b._0x5d2c30,0x2,0x1e1)]=_0x4a0a8d[_0x5cd63d(_0x3edb4b._0x5dcf93,_0x3edb4b._0x5a9dc2,0x148,0x1e1)];function _0xad9eb0(_0x183e91,_0x43c806,_0x1a44f3,_0x46f26e){return _0x577062(_0x183e91-0x61,_0x183e91,_0x1a44f3-_0x3fe2e6._0xea05fa,_0x1a44f3-_0x3fe2e6._0x18d3c4);}this[_0xad9eb0(_0x3edb4b._0x4bcf3d,0x471,_0x3edb4b._0xcc8fe8,_0x3edb4b._0xa1104a)]=_0x4a0a8d['profileDir'],this[_0xad9eb0(0x27c,_0x3edb4b._0x10730d,_0x3edb4b._0x12b9cf,0x145)]=_0x4a0a8d['localDir'];}['setProfileDir'](_0x5115bf){const _0x4c10cd={_0x13718c:0x51},_0x564152={_0x20197f:0x1bf,_0x491dba:0x185};function _0x1b6a46(_0x315491,_0x5bf1d7,_0x57ea34,_0x1c9cc2){return _0x577062(_0x315491-0x17d,_0x1c9cc2,_0x57ea34-_0x564152._0x20197f,_0x315491-_0x564152._0x491dba);}this[_0x1b6a46(0xfe,-_0x4c10cd._0x13718c,0x1f4,0x151)]=_0x5115bf;}[_0x577062(-0x39,-0xc4,-0x2b5,-0x1ff)](_0x4f8993){const _0x31b515={_0x18fae3:0x1c3,_0x21e6f9:0x401,_0x43173a:0x205,_0x28ee8d:0x53f,_0x4dfd1e:0x735,_0x280462:0x169,_0x119afd:0x136,_0x12c252:0xe9,_0x2f5c3d:0x6fe,_0x4e5318:0x8bc,_0x3cba13:0x680,_0x3e47e1:0x3b7,_0x45ddf8:0x4f5},_0xe676cc={_0x164ab0:0x3a,_0x225bcf:0x1bd},_0x5b42b3={_0x4814a9:0x2f8,_0x881f60:0xb5};function _0x443aa7(_0x343b5d,_0x27114c,_0x252009,_0x4ba5cb){return _0x1f0bf6(_0x252009-_0x5b42b3._0x4814a9,_0x4ba5cb,_0x252009-_0x5b42b3._0x881f60,_0x4ba5cb-0x144);}function _0x458232(_0x3db005,_0xaef08e,_0x265274,_0x41782d){return _0x577062(_0x3db005-_0xe676cc._0x164ab0,_0x3db005,_0x265274-0x172,_0x265274-_0xe676cc._0x225bcf);}switch(_0x4f8993){case _0x458232(-0xc2,0x1f1,0x16b,_0x31b515._0x18fae3):return this[_0x458232(0x1c5,_0x31b515._0x21e6f9,_0x31b515._0x43173a,0x2d9)];case'profile':if(!this[_0x443aa7(_0x31b515._0x28ee8d,_0x31b515._0x4dfd1e,0x620,0x765)])throw new Error('Profile\x20directory\x20not\x20set');return this[_0x458232(-0xc8,_0x31b515._0x280462,_0x31b515._0x119afd,_0x31b515._0x12c252)];case _0x443aa7(0x730,_0x31b515._0x2f5c3d,0x7c0,_0x31b515._0x4e5318):return this[_0x443aa7(_0x31b515._0x3cba13,_0x31b515._0x3e47e1,_0x31b515._0x45ddf8,0x2a2)];}}[_0x577062(0x6f,-0xd7,-0x14e,-0x1e6)](_0x5182a8){!_0xcde2dc['existsSync'](_0x5182a8)&&_0xcde2dc['mkdirSync'](_0x5182a8,{'recursive':!![]});}async['loadAll'](){const _0x59bfcf={_0x1dee58:0x100,_0x5e3eb0:0x12a,_0x4cc08d:0x3d0,_0x2c3e72:0x525,_0x15b777:0x309,_0x3cf589:0x394,_0x4c0084:0x1a,_0x171fdd:0x3cd,_0x4e0881:0x1fe,_0x4f924c:0x9a,_0x390a75:0x5b,_0x3d3eb3:0x99,_0x17212c:0x17e,_0x5dbcb8:0xa3,_0x279262:0x60,_0x757e1d:0x1fc,_0x3592f3:0xe6,_0x520dc6:0x133},_0xdc5b3d={_0x4fb3ec:0x4b},_0x26a5f3={_0x271bec:0x74,_0x5927ab:0x27b};function _0x309785(_0xf4c482,_0xccc692,_0x13b2b0,_0x13fa48){return _0x577062(_0xf4c482-0x101,_0xccc692,_0x13b2b0-_0x26a5f3._0x271bec,_0x13fa48-_0x26a5f3._0x5927ab);}const _0x5e6b2b=[],_0x24b43d=[_0x309785(_0x59bfcf._0x1dee58,_0x59bfcf._0x5e3eb0,_0x59bfcf._0x4cc08d,0x229),_0x309785(0x15c,_0x59bfcf._0x2c3e72,_0x59bfcf._0x15b777,_0x59bfcf._0x3cf589)];this[_0x309785(_0x59bfcf._0x4c0084,_0x59bfcf._0x171fdd,0x70,0x1f4)]&&_0x24b43d[_0x3c1292(-_0x59bfcf._0x4e0881,-0x160,-_0x59bfcf._0x4f924c,-_0x59bfcf._0x390a75)](0x1,0x0,_0x309785(_0x59bfcf._0x3d3eb3,0x1fe,_0x59bfcf._0x17212c,_0x59bfcf._0x5dbcb8));for(const _0xba4293 of _0x24b43d){try{const _0x45299c=this[_0x3c1292(-_0x59bfcf._0x279262,-_0x59bfcf._0x757e1d,-_0x59bfcf._0x3592f3,0x2f)](_0xba4293),_0x5dcba6=await this['loadFromDir'](_0x45299c,_0xba4293);_0x5e6b2b[_0x309785(0x215,_0x59bfcf._0x520dc6,0x22f,-0x17)](..._0x5dcba6);}catch{}}function _0x3c1292(_0xbb8a60,_0x19fcb6,_0x317bf6,_0xd7b4ce){return _0x1f0bf6(_0x19fcb6- -0x3ac,_0xbb8a60,_0x317bf6-_0xdc5b3d._0x4fb3ec,_0xd7b4ce-0xf4);}return _0x5e6b2b;}async['loadFromDir'](_0x20db01,_0x8470ca){const _0x26addf={_0x1fec26:0x1e6,_0x1ae5a6:0x42f,_0x4bcbf4:0x747,_0x1d746c:0x76a,_0x4968dd:0x7c2,_0x212b3b:0x2c2,_0xe1fcdc:0x42c,_0x33b063:0x518,_0x4a367d:0x677},_0x1d634e={_0x352a22:0x249},_0x4082a6={_0x1d258b:0x183,_0x14d9ec:0xb0};function _0x53bf1f(_0x43797b,_0x373cd2,_0x5b6131,_0x1949d){return _0x577062(_0x43797b-_0x4082a6._0x1d258b,_0x43797b,_0x5b6131-_0x4082a6._0x14d9ec,_0x1949d-0x4b7);}const _0x49a2cf=[];if(!_0xcde2dc[_0x53bf1f(0x47f,0x4f3,_0x26addf._0x1fec26,0x3eb)](_0x20db01))return _0x49a2cf;const _0x56cdff=_0xcde2dc['readdirSync'](_0x20db01),_0x902eee=_0x56cdff[_0x53bf1f(0x598,0x2fe,0x219,_0x26addf._0x1ae5a6)](_0x19d946=>_0x19d946[_0x314213(0x660,0x70c,0x4dc,0x4d4)](_0x53bf1f(0x209,0x49e,0x35e,0x2aa)));for(const _0x4f1431 of _0x902eee){try{const _0x151d65=await this[_0x314213(_0x26addf._0x4bcbf4,0x6c6,_0x26addf._0x1d746c,_0x26addf._0x4968dd)](_0x4f1431,_0x8470ca);_0x151d65&&_0x49a2cf[_0x53bf1f(_0x26addf._0x212b3b,0x3d2,_0x26addf._0xe1fcdc,0x225)](_0x151d65);}catch(_0x4dfc37){console[_0x53bf1f(_0x26addf._0x33b063,0x3d0,_0x26addf._0x4a367d,0x4cc)]('Failed\x20to\x20load\x20command\x20from\x20'+_0x4f1431+':',_0x4dfc37);}}function _0x314213(_0x2de4d3,_0x3161ff,_0x2bd30f,_0x8f62c2){return _0x1f0bf6(_0x3161ff-_0x1d634e._0x352a22,_0x2de4d3,_0x2bd30f-0xfa,_0x8f62c2-0x147);}return _0x49a2cf;}async[_0x577062(0xf,0xb,0x226,0xce)](_0x447422,_0x73eaf1){const _0x3299fa={_0x2b4fe4:0x1a6,_0x324c89:0x5ac,_0x1aae25:0x714,_0x583bc3:0x385,_0x2e9ba9:0x61b,_0x19df92:0x500,_0xfd3f9b:0x259,_0x4df441:0x450,_0x128b28:0x35b,_0x3fae26:0x48d,_0x4625a0:0x552,_0x3032f7:0x5b9,_0x558756:0x264,_0x3249ab:0x3ee,_0x277b63:0xec,_0x27f21d:0x2c0,_0x462841:0x819,_0x55b525:0x644,_0xb2205d:0x1de,_0x39499b:0x146,_0x4a7787:0x4f5,_0x10de0b:0x18a,_0x4edd10:0x415,_0x41ab5c:0x24a,_0x28da12:0x4f5,_0x17e7b5:0x67a,_0x3cdf23:0x6b1,_0x279949:0x3ad},_0x312388={_0x2c6d79:0x462},_0x2987b9={_0x391199:0x158};function _0x5cd1eb(_0x4dc633,_0x5321e1,_0x581606,_0x4121b7){return _0x577062(_0x4dc633-_0x2987b9._0x391199,_0x4dc633,_0x581606-0x1d7,_0x4121b7-0x55e);}function _0x4b5cb7(_0xdb681b,_0x3215de,_0x40a5da,_0x24c204){return _0x577062(_0xdb681b-0x17d,_0x40a5da,_0x40a5da-0x1e1,_0x3215de-_0x312388._0x2c6d79);}try{const _0x24a40d=this[_0x4b5cb7(_0x3299fa._0x2b4fe4,0x263,0x321,0x344)](_0x73eaf1),_0x4f7087=_0x3a171e[_0x5cd1eb(_0x3299fa._0x324c89,0x739,_0x3299fa._0x1aae25,0x54d)](_0x24a40d,_0x447422),_0x4c2721=_0xcde2dc[_0x5cd1eb(_0x3299fa._0x583bc3,0x6d9,_0x3299fa._0x2e9ba9,0x5bb)](_0x4f7087,_0x5cd1eb(0x2f1,_0x3299fa._0x19df92,_0x3299fa._0xfd3f9b,_0x3299fa._0x4df441)),{frontmatter:_0x5d420c,body:_0x58591e}=this['parseFrontmatter'](_0x4c2721);if(!_0x5d420c[_0x5cd1eb(0x4c5,_0x3299fa._0x128b28,_0x3299fa._0x3fae26,_0x3299fa._0x4625a0)])return console[_0x4b5cb7(_0x3299fa._0x3032f7,0x477,_0x3299fa._0x558756,0x52e)](_0x5cd1eb(_0x3299fa._0x3249ab,_0x3299fa._0x277b63,0xe5,_0x3299fa._0x27f21d)+_0x447422+_0x5cd1eb(_0x3299fa._0x462841,_0x3299fa._0x55b525,0x714,0x67c)),null;const _0xad859b=_0x3a171e[_0x4b5cb7(0x38b,_0x3299fa._0xb2205d,_0x3299fa._0x39499b,0x375)](_0x447422,_0x5cd1eb(0x110,_0x3299fa._0x4a7787,_0x3299fa._0x10de0b,0x351));return{'id':_0xad859b,'description':_0x5d420c[_0x5cd1eb(_0x3299fa._0x4edd10,0x585,0x58d,0x552)],'prompt':_0x58591e[_0x4b5cb7(0x2d1,_0x3299fa._0x41ab5c,0x14b,0x8f)](),'enabled':_0x5d420c[_0x5cd1eb(0x82b,0x766,0x50e,0x6a6)]??!![],'source':_0x73eaf1,'filePath':_0x4f7087};}catch(_0x3feed0){return console[_0x5cd1eb(0x671,_0x3299fa._0x28da12,_0x3299fa._0x17e7b5,0x573)](_0x4b5cb7(_0x3299fa._0x3cdf23,0x4d9,0x6c9,_0x3299fa._0x279949)+_0x447422+':',_0x3feed0),null;}}async['save'](_0x43ab9d){const _0x34ec68={_0x5bc618:0x56b,_0x5b7c59:0x481,_0x5f3e15:0x90a,_0x482110:0x73d,_0x16bc27:0x47,_0x469b8e:0xa,_0x1bf5da:0x162,_0x57ccea:0x4fc,_0xe47c8b:0x44e,_0x520443:0x922,_0x52c097:0x64e,_0x384253:0x8b2,_0x2dc253:0x987,_0x29f7b1:0x949,_0x2f37b1:0x4b9,_0x3d7c8c:0x299,_0x2bb65c:0x46,_0x26867f:0x288,_0xde04a3:0x1aa},_0x45f3bd={_0x47c744:0x55},_0x5d07de={_0x4fba8d:0x1b4},_0xbd6061=this[_0x3f3ec3(0x341,_0x34ec68._0x5bc618,0x5cb,_0x34ec68._0x5b7c59)](_0x43ab9d[_0x3f3ec3(0x756,_0x34ec68._0x5f3e15,_0x34ec68._0x482110,0x827)]);this[_0x1f9d10(0x2ab,_0x34ec68._0x16bc27,0x294,0x189)](_0xbd6061);const _0xe05acd=sanitizeCommandId(_0x43ab9d['id']);function _0x3f3ec3(_0x3acbf7,_0x4808d1,_0x20a1c7,_0x137cf9){return _0x1f0bf6(_0x4808d1-0x3bb,_0x3acbf7,_0x20a1c7-0x1bc,_0x137cf9-_0x5d07de._0x4fba8d);}const _0x2c142a=_0xe05acd+_0x1f9d10(0x76,-_0x34ec68._0x469b8e,0x1df,_0x34ec68._0x1bf5da),_0x302e85=_0x3a171e[_0x1f9d10(0x4a3,_0x34ec68._0x57ccea,_0x34ec68._0xe47c8b,0x35e)](_0xbd6061,_0x2c142a),_0xd8a366={'description':_0x43ab9d[_0x3f3ec3(_0x34ec68._0x520443,0x75e,0x5c0,_0x34ec68._0x52c097)]};_0x43ab9d['enabled']===![]&&(_0xd8a366[_0x3f3ec3(0xa8e,_0x34ec68._0x384253,0xacb,0x718)]=![]);function _0x1f9d10(_0x483f98,_0x2ec7ca,_0x14e613,_0x2bc957){return _0x577062(_0x483f98-0xde,_0x483f98,_0x14e613-_0x45f3bd._0x47c744,_0x2bc957-0x36f);}const _0x4b982b=this[_0x3f3ec3(0x941,0x8ab,_0x34ec68._0x2dc253,_0x34ec68._0x29f7b1)](_0xd8a366,_0x43ab9d[_0x1f9d10(0x2eb,_0x34ec68._0x2f37b1,0x39a,_0x34ec68._0x3d7c8c)]);_0xcde2dc[_0x1f9d10(-_0x34ec68._0x2bb65c,_0x34ec68._0x26867f,-0x55,0xc4)](_0x302e85,_0x4b982b,_0x1f9d10(_0x34ec68._0xde04a3,0x15,0x25b,0x261));}async['delete'](_0x9646b4,_0x5df356){const _0x551428={_0x393240:0x3c,_0x304314:0x17a},_0x54ede8={_0x532d86:0x59,_0x4aa577:0x11f},_0x5b48a6={_0x287ad6:0x124};function _0x15fe4(_0x179a0f,_0x3e5010,_0x2c47c1,_0x1186b0){return _0x1f0bf6(_0x3e5010- -0x262,_0x2c47c1,_0x2c47c1-0xe3,_0x1186b0-_0x5b48a6._0x287ad6);}const _0x3a20fd=this[_0x326609(-0x131,-0x287,-0xe0,-0x24e)](_0x5df356);function _0x326609(_0x134918,_0x7efc2e,_0x123a60,_0x9ad610){return _0x577062(_0x134918-_0x54ede8._0x532d86,_0x9ad610,_0x123a60-0x196,_0x123a60-_0x54ede8._0x4aa577);}const _0x5b83dd=sanitizeCommandId(_0x9646b4)+'.md',_0x3f6da7=_0x3a171e['join'](_0x3a20fd,_0x5b83dd);_0xcde2dc[_0x15fe4(_0x551428._0x393240,0x81,_0x551428._0x304314,0x13b)](_0x3f6da7)&&_0xcde2dc['unlinkSync'](_0x3f6da7);}[_0x1f0bf6(0x317,0x44e,0x34b,0x29e)](_0x1807c3,_0xfeee91){const _0x2d9bdc={_0x4c524c:0xf5,_0x596825:0x263,_0x4ced2e:0x5b,_0xbb48fa:0x13b,_0x425017:0x1ba,_0x253e4a:0x99},_0x31b1d6={_0x14e599:0x33e,_0x3587c2:0x32},_0xd46c94={_0x2ab524:0x83};function _0x5a9925(_0x3f728e,_0x32b7b3,_0x179a15,_0x1bf6e9){return _0x1f0bf6(_0x3f728e-0xbf,_0x179a15,_0x179a15-0x1c9,_0x1bf6e9-_0xd46c94._0x2ab524);}function _0x4f6450(_0x2895f2,_0x1e2728,_0x32e664,_0x477936){return _0x1f0bf6(_0x2895f2- -_0x31b1d6._0x14e599,_0x1e2728,_0x32e664-_0x31b1d6._0x3587c2,_0x477936-0x18b);}try{const _0x56481e=this['getDir'](_0xfeee91),_0x51479c=sanitizeCommandId(_0x1807c3)+'.md',_0x245bd6=_0x3a171e[_0x4f6450(0x60,-_0x2d9bdc._0x4c524c,_0x2d9bdc._0x596825,-0x1c6)](_0x56481e,_0x51479c);return _0xcde2dc[_0x4f6450(-_0x2d9bdc._0x4ced2e,_0x2d9bdc._0xbb48fa,_0x2d9bdc._0x425017,_0x2d9bdc._0x253e4a)](_0x245bd6);}catch{return![];}}[_0x1f0bf6(0x228,0x464,0x422,0x2f0)](_0x266dcb){const _0x30b4b6={_0x1f3dcd:0x1b5},_0x5ca6df={_0x658e01:0x1fc};function _0x506e77(_0x1dd3db,_0x5396bb,_0x7a7b83,_0x394ef8){return _0x1f0bf6(_0x7a7b83- -_0x5ca6df._0x658e01,_0x5396bb,_0x7a7b83-0x172,_0x394ef8-0x138);}const _0x58bc01=/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/,_0x3330c5=_0x266dcb[_0x506e77(0xf3,0x20a,_0x30b4b6._0x1f3dcd,0x3bf)](_0x58bc01);if(!_0x3330c5)return{'frontmatter':{},'body':_0x266dcb};try{const _0x4e44a1=_0x587920(_0x3330c5[0x1]||'');return{'frontmatter':_0x4e44a1||{},'body':_0x3330c5[0x2]||''};}catch{return{'frontmatter':{},'body':_0x266dcb};}}[_0x577062(0x7b,-0x5f,-0xd3,0x141)](_0x405126,_0x25fe2a){const _0x460123={_0x166bb1:0x145,_0x2a4785:0x21b,_0x142cd8:0x2db},_0x5e3429={_0xdd45de:0x90,_0x4922c8:0x2d6},_0x4ffaa4={_0x18f9ed:0x170,_0x4db5c9:0x73d},_0x29b007=_0x3f231c(_0x405126,{'lineWidth':0x0})['trim']();function _0x41d088(_0x28c93a,_0x7cb633,_0x3ce5e3,_0x472346){return _0x577062(_0x28c93a-_0x4ffaa4._0x18f9ed,_0x472346,_0x3ce5e3-0x105,_0x28c93a-_0x4ffaa4._0x4db5c9);}function _0x55a95a(_0x34f6c5,_0x50e967,_0x36dd57,_0x34a0d2){return _0x577062(_0x34f6c5-_0x5e3429._0xdd45de,_0x34a0d2,_0x36dd57-0x1bc,_0x34f6c5-_0x5e3429._0x4922c8);}return _0x55a95a(0x62,_0x460123._0x166bb1,_0x460123._0x2a4785,0x202)+_0x29b007+_0x55a95a(0x1ee,0xb,0xf7,_0x460123._0x142cd8)+_0x25fe2a+'\x0a';}};function parseSubAgentToolCallArguments(_0x294e61){const _0x4c2ecf={_0x24fab1:0x3d3,_0x2d9068:0x23a},_0x151c93={_0x4e5cdc:0xa4,_0x2fcc81:0xa7,_0x372311:0x276};function _0x4d13c9(_0x1d55e2,_0x51278c,_0x13a9a6,_0x8a6bbb){return _0x577062(_0x1d55e2-_0x151c93._0x4e5cdc,_0x8a6bbb,_0x13a9a6-_0x151c93._0x2fcc81,_0x1d55e2-_0x151c93._0x372311);}if(!_0x294e61)return{};try{return JSON[_0x4d13c9(_0x4c2ecf._0x24fab1,_0x4c2ecf._0x2d9068,0x19c,0x3b5)](_0x294e61);}catch{return{};}}var NetworkLogger=class{constructor(_0x1222a8={}){const _0x3c0010={_0x168f0b:0x242,_0x469ea5:0x5b,_0x327977:0x83},_0x51cd4f={_0x313ae7:0x131};function _0x3e99d1(_0x360f65,_0x29f840,_0x537e59,_0x3818da){return _0x1f0bf6(_0x29f840- -0x3b3,_0x3818da,_0x537e59-0x1d1,_0x3818da-_0x51cd4f._0x313ae7);}this[_0x3e99d1(-0x194,-_0x3c0010._0x168f0b,-_0x3c0010._0x469ea5,-_0x3c0010._0x327977)]=_0x1222a8;}[_0x1f0bf6(0x2ca,0x169,0x48c,0x135)](){const _0x5d3f4a={_0xdcbc8a:0x426,_0x53d19a:0xa3,_0x1d3398:0x293,_0x26a3b6:0x22e},_0xf9c8d1={_0x1842e9:0xb5},_0x5464d8={_0x3b6224:0x1d4};function _0x3511c2(_0x4672dc,_0x2cb625,_0x2214ae,_0x34ab96){return _0x1f0bf6(_0x2214ae- -0x10d,_0x4672dc,_0x2214ae-0x10e,_0x34ab96-_0x5464d8._0x3b6224);}function _0xe53db1(_0x367f38,_0x245a3a,_0x34793e,_0x23704c){return _0x1f0bf6(_0x34793e- -_0xf9c8d1._0x1842e9,_0x23704c,_0x34793e-0x10a,_0x23704c-0x6a);}return'req_'+Date[_0x3511c2(0x79,0x2ea,0x272,_0x5d3f4a._0xdcbc8a)]()+'_'+Math[_0xe53db1(_0x5d3f4a._0x53d19a,0x95,_0x5d3f4a._0x1d3398,_0x5d3f4a._0x26a3b6)]()['toString'](0x24)['substr'](0x2,0x9);}async[_0x577062(0x1b,-0x1fe,-0x1ea,-0x203)](_0x485417){const _0xe86ca3={_0xe733ac:0x425,_0x45fd5c:0x472,_0x2c9b16:0x677,_0x2c8c60:0x664,_0xa23c9b:0x397,_0x22ce72:0x39d,_0x30a4db:0x61b,_0x39ec1b:0x684,_0x3a8e13:0x6d6,_0x36b1b4:0x638,_0xd8b603:0x54e,_0x2b0448:0x695,_0x4fe815:0x364,_0x37e81c:0x31a,_0x36de7a:0x32c,_0x266d4f:0x57f,_0x4b7dcc:0x14f,_0x6c138d:0x662,_0x3893e1:0x45a,_0x10bb34:0x5ac,_0x1a2978:0x344,_0x20f5f1:0x5aa,_0x65da87:0x384,_0x2c3c07:0x390,_0x450351:0x345,_0x2ad709:0x2c8,_0x3c833b:0x4fc,_0xbfad57:0x581,_0x82b104:0x5f0,_0x200d95:0x76d,_0x182ae2:0x66b},_0x458749={_0x4aac37:0x8},_0x311a7e={_0x2085ac:0x38,_0x16d094:0x13f,_0x562a89:0x5db};function _0x143d45(_0xf4770d,_0x3ad2a5,_0x52226d,_0x5669bb){return _0x577062(_0xf4770d-_0x311a7e._0x2085ac,_0xf4770d,_0x52226d-_0x311a7e._0x16d094,_0x3ad2a5-_0x311a7e._0x562a89);}if(!this[_0x371e55(0x4ce,0x390,0x31c,_0xe86ca3._0xe733ac)][_0x371e55(_0xe86ca3._0x45fd5c,_0xe86ca3._0x2c9b16,0x7eb,0x7d3)])return;function _0x371e55(_0x233f59,_0x42786e,_0x2d793b,_0x13285a){return _0x577062(_0x233f59-_0x458749._0x4aac37,_0x13285a,_0x2d793b-0xbf,_0x42786e-0x5ce);}try{const _0x1c6f82=await import(_0x143d45(0x660,0x655,0x6d4,0x7ab)),_0x4065bc=await import(_0x143d45(0x38a,0x504,_0xe86ca3._0x2c8c60,_0xe86ca3._0xa23c9b)),_0x4f8aaa=this[_0x143d45(0x51a,_0xe86ca3._0x22ce72,0x369,0x3d9)][_0x143d45(_0xe86ca3._0x30a4db,_0xe86ca3._0x39ec1b,0x7ae,_0xe86ca3._0x3a8e13)],_0x4a7d62=_0x4065bc[_0x371e55(0x732,0x703,0x84b,_0xe86ca3._0x36b1b4)](_0x4f8aaa);if(_0x4a7d62&&_0x4a7d62!=='.')try{await _0x1c6f82['mkdir'](_0x4a7d62,{'recursive':!![]});}catch{}const _0x4af8dd=this[_0x143d45(0x3ce,_0xe86ca3._0xd8b603,_0xe86ca3._0x2b0448,_0xe86ca3._0x4fe815)](_0x485417);await _0x1c6f82['appendFile'](_0x4f8aaa,_0x4af8dd+'\x0a',_0x371e55(_0xe86ca3._0x37e81c,_0xe86ca3._0x36de7a,0x1dc,_0xe86ca3._0x266d4f));if(this[_0x143d45(0x32a,_0xe86ca3._0x22ce72,_0xe86ca3._0x4b7dcc,0x55a)][_0x143d45(_0xe86ca3._0x6c138d,0x687,0x84f,0x614)]){const _0x1d4724=await _0x1c6f82[_0x371e55(0x534,0x5d6,0x461,0x562)](_0x4f8aaa);_0x1d4724[_0x143d45(0x388,0x5d1,0x552,0x597)]>this[_0x143d45(0x4a1,0x39d,0x5d5,_0xe86ca3._0x3893e1)][_0x143d45(0x85d,0x687,0x631,_0xe86ca3._0x10bb34)]&&await this[_0x371e55(0x656,0x4ed,_0xe86ca3._0x1a2978,_0xe86ca3._0x20f5f1)](_0x4f8aaa);}}catch(_0x5a30ec){this[_0x371e55(_0xe86ca3._0x65da87,_0xe86ca3._0x2c3c07,_0xe86ca3._0x450351,_0xe86ca3._0x2ad709)][_0x143d45(0x577,0x6cf,_0xe86ca3._0x3c833b,_0xe86ca3._0xbfad57)]&&console[_0x143d45(0x482,_0xe86ca3._0x82b104,0x68d,_0xe86ca3._0x200d95)](_0x143d45(_0xe86ca3._0x182ae2,0x6d5,0x4e1,0x6f8),_0x5a30ec);}}[_0x577062(-0x1f0,-0x2ca,0x1c3,-0x8d)](_0x21255f){const _0x4d19ce={_0x59f697:0x30c,_0x46d4f9:0x3f7,_0x5af8e8:0x358,_0x410f6f:0x506,_0x4bc51b:0x4a8,_0x5cd75c:0x20e,_0x378189:0x330},_0x48c4a1={_0x12257c:0x1d},_0x5690e5={_0x422a22:0xfe};if(this[_0x38853a(_0x4d19ce._0x59f697,0x23d,0x2f8,_0x4d19ce._0x46d4f9)][_0x22b096(0x58f,0x523,0x462,_0x4d19ce._0x5af8e8)]==='structured'){const {timestamp:_0x321f38,method:_0x3086ef,url:_0x15b057,responseStatus:_0x446f43,duration:_0x52eaf2,stream:_0x198ad3}=_0x21255f;return'['+_0x321f38+']\x20'+_0x3086ef+'\x20'+_0x15b057+'\x20'+_0x446f43+'\x20'+(_0x52eaf2||'?')+_0x38853a(0x4e0,_0x4d19ce._0x410f6f,0x337,_0x4d19ce._0x4bc51b)+(_0x198ad3?'(stream)':'');}function _0x22b096(_0x8e0dd3,_0x4bd14f,_0x12779c,_0x18915f){return _0x1f0bf6(_0x4bd14f-0xf3,_0x18915f,_0x12779c-_0x5690e5._0x422a22,_0x18915f-0x37);}function _0x38853a(_0x3aecaf,_0x4c2ea5,_0x4a0fd4,_0x2eaa4d){return _0x577062(_0x3aecaf-0x135,_0x3aecaf,_0x4a0fd4-_0x48c4a1._0x12257c,_0x4c2ea5-0x47b);}return JSON[_0x38853a(0x298,0x444,_0x4d19ce._0x5cd75c,_0x4d19ce._0x378189)](_0x21255f);}async[_0x577062(-0x150,0x59,0xc4,-0xe1)](_0xaaab29){const _0x5352dc={_0x30fbaa:0x4cb,_0x7c110a:0x46e,_0x373526:0x533},_0xa027d3={_0xb1bd79:0xe,_0x1c725e:0x54,_0x4f7877:0x98},_0x1cb7d2={_0xb8b90e:0x5,_0x31f52b:0x82,_0x595566:0x39};function _0x34aa3f(_0x258f43,_0x2969d1,_0x465b85,_0x48303c){return _0x577062(_0x258f43-_0x1cb7d2._0xb8b90e,_0x2969d1,_0x465b85-_0x1cb7d2._0x31f52b,_0x48303c-_0x1cb7d2._0x595566);}function _0x192f99(_0x14b2f9,_0x1242ea,_0x411d8d,_0x21c1f2){return _0x1f0bf6(_0x411d8d- -_0xa027d3._0xb1bd79,_0x1242ea,_0x411d8d-_0xa027d3._0x1c725e,_0x21c1f2-_0xa027d3._0x4f7877);}try{const _0x3f996c=await import('fs/promises'),_0x4b7f26=_0xaaab29+'.'+Date[_0x192f99(_0x5352dc._0x30fbaa,_0x5352dc._0x7c110a,0x371,_0x5352dc._0x373526)]();await _0x3f996c[_0x192f99(0x22b,0x206,0x156,0x2ca)](_0xaaab29,_0x4b7f26);}catch{}}['logToConsole'](_0x1c015c){const _0x2b4067={_0x45ebbe:0xee,_0x832795:0xc9,_0x5c27be:0x775,_0x237fe0:0x7a3,_0x429616:0xa9,_0x5a06d2:0x82,_0x4d499d:0x151,_0x21c219:0x1b8,_0xa29d27:0x33,_0x32aecf:0x2c,_0x5daf08:0x614,_0x26fa74:0x75b,_0x3a988d:0x4ad,_0x45f382:0x501},_0x5100ff={_0x51042b:0x2a},_0x3a5377={_0x53c29a:0xdb,_0x1c4cff:0x2b};function _0x3c8d06(_0x300130,_0x13a7a7,_0x536581,_0x16ae27){return _0x577062(_0x300130-_0x3a5377._0x53c29a,_0x300130,_0x536581-0x103,_0x16ae27- -_0x3a5377._0x1c4cff);}if(!this['opts'][_0x3c8d06(-_0x2b4067._0x45ebbe,0x62,0x1d9,_0x2b4067._0x832795)])return;const {method:_0x26635a,url:_0x1dccd3,responseStatus:_0x2567aa,duration:_0x300e07,stream:_0x38ca34}=_0x1c015c,_0x5ec2df=_0x26635a+'\x20'+_0x1dccd3+'\x20'+_0x2567aa+'\x20'+(_0x300e07||'?')+'ms'+(_0x38ca34?_0x5a5c37(0x621,_0x2b4067._0x5c27be,0x845,_0x2b4067._0x237fe0):'');function _0x5a5c37(_0x10444c,_0x3560a0,_0x1e191e,_0x914725){return _0x577062(_0x10444c-_0x5100ff._0x51042b,_0x3560a0,_0x1e191e-0xcd,_0x1e191e-0x746);}if(_0x1c015c['error'])console[_0x3c8d06(-_0x2b4067._0x429616,-_0x2b4067._0x5a06d2,0x15a,_0x2b4067._0x4d499d)](_0x5ec2df,_0x1c015c[_0x3c8d06(_0x2b4067._0x21c219,-_0x2b4067._0xa29d27,-_0x2b4067._0x32aecf,0x151)]);else _0x2567aa>=0x190?console[_0x5a5c37(_0x2b4067._0x5daf08,0x888,_0x2b4067._0x26fa74,0x600)](_0x5ec2df):console[_0x5a5c37(0x49e,_0x2b4067._0x3a988d,_0x2b4067._0x45f382,0x3cc)](_0x5ec2df);}async[_0x1f0bf6(0x186,0xec,0x59,0x98)](_0x3a8c68){const _0x3fe186={_0xf2a889:0x43,_0x3bfc6f:0xed,_0x3a2b7d:0x8d4,_0x2a9fdc:0x1e0,_0x1a55f4:0x2e,_0x4a8cb5:0x17d},_0x4209b7={_0x1c5e12:0x17d,_0x26f8ed:0xd8},_0x315b49={_0x378c0f:0x1aa},_0x4a2abb={'id':this['generateRequestId'](),'timestamp':new Date()[_0x4513fd(-_0x3fe186._0xf2a889,0xac,0x4f,_0x3fe186._0x3bfc6f)](),..._0x3a8c68};function _0x12fe6b(_0x136209,_0x1a80b9,_0x2e7edf,_0x495a96){return _0x1f0bf6(_0x2e7edf-0x3d4,_0x136209,_0x2e7edf-_0x315b49._0x378c0f,_0x495a96-0xe1);}this[_0x12fe6b(0x837,0xa0e,_0x3fe186._0x3a2b7d,0x6ef)](_0x4a2abb);function _0x4513fd(_0x4eb740,_0x25212a,_0x4863d0,_0x1cfdfe){return _0x577062(_0x4eb740-_0x4209b7._0x1c5e12,_0x25212a,_0x4863d0-0x14,_0x4863d0-_0x4209b7._0x26f8ed);}await this[_0x4513fd(-_0x3fe186._0x2a9fdc,-_0x3fe186._0x1a55f4,-0x12b,-_0x3fe186._0x4a8cb5)](_0x4a2abb);}[_0x577062(-0x1d8,-0x165,-0x2f4,-0xd0)](_0xb05c05,_0x362ee6){const _0x1db646={_0x3fe550:0x36b,_0xcbd292:0x166,_0x194fdb:0x86,_0xa4c678:0x1d8,_0x1782ff:0x4b8,_0x4a4bf3:0x458,_0x5ab78e:0xf5,_0x3802da:0xa,_0x26ca30:0x166,_0x4f8560:0xef,_0x153b02:0x4c9,_0x69d596:0x242,_0xd6dcc1:0x288,_0x2ef7c5:0x33d,_0x222b38:0x3ac,_0x498d96:0x195,_0x2fddde:0xb1,_0x2c2d32:0x39f,_0x5e82ea:0x358,_0x59b406:0x24d},_0x321c8c={_0x512e6e:0x150,_0x20dde2:0x1df},_0x3f6a6e={_0x48831a:0x347,_0x2ac587:0x186};function _0x340d4d(_0x582f7b,_0x38ae9d,_0x8a4141,_0x439995){return _0x1f0bf6(_0x38ae9d-_0x3f6a6e._0x48831a,_0x8a4141,_0x8a4141-_0x3f6a6e._0x2ac587,_0x439995-0x1df);}if(!_0xb05c05[_0x92a833(_0x1db646._0x3fe550,_0x1db646._0xcbd292,_0x1db646._0x194fdb,_0x1db646._0xa4c678)]||!this[_0x340d4d(0x581,_0x1db646._0x1782ff,0x4e7,_0x1db646._0x4a4bf3)][_0x92a833(-0x228,-_0x1db646._0x5ab78e,-_0x1db646._0x3802da,0x27)])return _0xb05c05;const _0x1fa47f=_0xb05c05[_0x92a833(0x387,_0x1db646._0x26ca30,0x34d,_0x1db646._0x4f8560)][_0x340d4d(0x5ea,0x481,_0x1db646._0x153b02,_0x1db646._0x69d596)]();function _0x92a833(_0x1495a3,_0x52e949,_0x26bc3b,_0x3b6daa){return _0x577062(_0x1495a3-0xa,_0x26bc3b,_0x26bc3b-_0x321c8c._0x512e6e,_0x52e949-_0x321c8c._0x20dde2);}const _0xe44bc7=this['parseSSEStreamWithLogging'](_0x1fa47f,_0x362ee6);return new Response(_0xe44bc7,{'status':_0xb05c05[_0x92a833(_0x1db646._0xd6dcc1,_0x1db646._0x2ef7c5,0x296,_0x1db646._0x222b38)],'statusText':_0xb05c05[_0x92a833(-_0x1db646._0x498d96,0x7a,_0x1db646._0x2fddde,0x264)],'headers':_0xb05c05[_0x92a833(_0x1db646._0x2c2d32,0x2e5,_0x1db646._0x5e82ea,_0x1db646._0x59b406)]});}[_0x1f0bf6(0x2a5,0x204,0x1ed,0x3fc)](_0xac8865,_0x17df9b){const _0x3bbcf5={_0x42d3ca:0x3e6,_0x2bcc11:0x1d1,_0x390bc5:0x416,_0x52b947:0x3d9,_0x5508f9:0x2f5,_0x4ed9c1:0x21,_0x26b6dd:0x18c,_0x49fe2e:0x144,_0x55a23b:0x28a,_0x30784d:0x51,_0x94b359:0x37,_0x4f20a6:0x1d0,_0x1b0a9b:0x2bb,_0x16e1b9:0x1fd,_0x2d9dd7:0x106,_0x5a0066:0x4b5,_0x18952f:0x254,_0x5b341a:0x469,_0x2c4370:0x1dd,_0x137188:0x224,_0x21d4a4:0x449,_0x2b896c:0x454,_0x4d3afa:0x238,_0xfc7d2:0x251,_0x228b2a:0x4da,_0x3c03c6:0x330,_0x17d4fc:0xd7,_0x4016f7:0x541,_0x3833c0:0x160,_0xa417bb:0x1ae,_0x2a9d06:0x1b3,_0x387d0d:0x38b,_0x279d30:0x52b,_0x1f707c:0x46a,_0x3566af:0x464,_0x22eda2:0x35,_0x42246e:0x2e6,_0x4c849c:0x13d,_0x5c67f9:0x105,_0x2296c5:0x208,_0x2e7b04:0x272},_0x353738=[];let _0x2b732a='';const _0x1e7a53=this;return new ReadableStream({async 'start'(_0x51591a){function _0x566e06(_0x3bd80f,_0x35303e,_0x4a88dd,_0x3659cb){return _0x13d4(_0x35303e- -0xb8,_0x3bd80f);}function _0x3df4ef(_0x5a2834,_0x41b004,_0x4f5e40,_0x25219c){return _0x13d4(_0x5a2834- -0x57,_0x4f5e40);}try{while(!![]){const {done:_0xe20f3c,value:_0x1b6d9f}=await _0xac8865['read']();if(_0xe20f3c)break;_0x51591a[_0x566e06(_0x3bbcf5._0x42d3ca,0x423,0x574,0x53f)](_0x1b6d9f);const _0x22dd84=new TextDecoder()['decode'](_0x1b6d9f);_0x2b732a+=_0x22dd84;const _0x3da871=_0x2b732a[_0x566e06(_0x3bbcf5._0x2bcc11,_0x3bbcf5._0x390bc5,_0x3bbcf5._0x52b947,_0x3bbcf5._0x5508f9)]('\x0a');_0x2b732a=_0x3da871[_0x566e06(-_0x3bbcf5._0x4ed9c1,_0x3bbcf5._0x26b6dd,0x284,_0x3bbcf5._0x49fe2e)]()||'';let _0x4b119e={};for(const _0x479901 of _0x3da871){if(_0x479901['trim']()==='')_0x4b119e[_0x3df4ef(0x3b6,_0x3bbcf5._0x55a23b,0x469,0x381)]!==void 0x0&&_0x353738[_0x566e06(0x1e6,_0x3bbcf5._0x30784d,-_0x3bbcf5._0x94b359,-_0x3bbcf5._0x4f20a6)]({'timestamp':new Date()[_0x3df4ef(_0x3bbcf5._0x1b0a9b,_0x3bbcf5._0x16e1b9,0x2de,_0x3bbcf5._0x2d9dd7)](),..._0x4b119e}),_0x4b119e={};else{if(_0x479901[_0x3df4ef(_0x3bbcf5._0x5a0066,0x303,0x64b,0x2fe)](_0x3df4ef(0x449,0x56b,0x580,0x62d))){const _0x3760dd=_0x479901[_0x566e06(0x46b,_0x3bbcf5._0x18952f,0x142,_0x3bbcf5._0x5b341a)](0x6);_0x4b119e[_0x3df4ef(0x3b6,0x2fd,0x356,_0x3bbcf5._0x2c4370)]=_0x4b119e[_0x566e06(_0x3bbcf5._0x137188,0x355,0x2e3,0x49a)]?_0x4b119e[_0x3df4ef(0x3b6,_0x3bbcf5._0x21d4a4,0x3f9,0x260)]+'\x0a'+_0x3760dd:_0x3760dd;}else{if(_0x479901[_0x566e06(0x362,_0x3bbcf5._0x2b896c,_0x3bbcf5._0x4d3afa,_0x3bbcf5._0xfc7d2)](_0x3df4ef(0x2b4,0x319,_0x3bbcf5._0x228b2a,_0x3bbcf5._0x3c03c6)))_0x4b119e[_0x566e06(-_0x3bbcf5._0x17d4fc,0x105,0x69,0x33d)]=_0x479901['slice'](0x7);else{if(_0x479901['startsWith'](_0x566e06(0x60b,0x48b,0x6b8,_0x3bbcf5._0x4016f7)))_0x4b119e['id']=_0x479901['slice'](0x4);else _0x479901['startsWith'](_0x566e06(0x103,_0x3bbcf5._0x3833c0,_0x3bbcf5._0xa417bb,_0x3bbcf5._0x2a9d06))&&(_0x4b119e[_0x3df4ef(0x3c3,_0x3bbcf5._0x387d0d,0x503,_0x3bbcf5._0x279d30)]=parseInt(_0x479901[_0x566e06(_0x3bbcf5._0x1f707c,0x254,_0x3bbcf5._0x3566af,_0x3bbcf5._0x22eda2)](0x7),0xa));}}}}}_0x353738[_0x566e06(0x13e,_0x3bbcf5._0x42246e,_0x3bbcf5._0x4c849c,0x33b)]>0x0&&await _0x1e7a53[_0x3df4ef(0x11b,0x84,-_0x3bbcf5._0x5c67f9,_0x3bbcf5._0x2296c5)]({..._0x17df9b,'sseEvents':_0x353738});}catch(_0x3ac609){_0x51591a[_0x566e06(_0x3bbcf5._0x2e7b04,0x45f,0x47b,0x4e7)](_0x3ac609);}finally{_0x51591a['close'](),_0xac8865['releaseLock']();}}});}},FetchTransport=class{constructor(_0x438e60={}){const _0x4b1140={_0x4210ae:0x746,_0x4daf24:0x454,_0x4912da:0x526},_0x4d4eff={_0x2238b6:0xb,_0x460e12:0x1d7},_0x594c99={_0x56a4da:0x89};function _0x5e71c4(_0x542558,_0x3a8798,_0x3199b4,_0x37a91e){return _0x577062(_0x542558-0x194,_0x542558,_0x3199b4-_0x594c99._0x56a4da,_0x37a91e-0x764);}this[_0x5e71c4(0x566,0x5ae,_0x4b1140._0x4210ae,0x526)]=_0x438e60;function _0x4a665f(_0x5abc97,_0x422e93,_0x6fbccc,_0x532865){return _0x1f0bf6(_0x5abc97- -_0x4d4eff._0x2238b6,_0x6fbccc,_0x6fbccc-_0x4d4eff._0x460e12,_0x532865-0x195);}this[_0x4a665f(0x28d,0x428,_0x4b1140._0x4daf24,0x12c)]=new NetworkLogger(this[_0x5e71c4(0x3b1,0x50c,0x612,_0x4b1140._0x4912da)]);}[_0x1f0bf6(0x298,0x157,0xb8,0x101)];[_0x577062(0x13b,-0x137,0x1c8,-0x31)](_0x28f738){const _0x2c2cbe={_0x3ad62a:0xf2,_0x1d1154:0x23a},_0x4e9948={_0x3e66a2:0x335,_0x4899b9:0x3e,_0x3e6afe:0xe};function _0x5cfb8c(_0x346d7f,_0x20235a,_0x27aa86,_0x30212d){return _0x1f0bf6(_0x30212d- -_0x4e9948._0x3e66a2,_0x20235a,_0x27aa86-_0x4e9948._0x4899b9,_0x30212d-_0x4e9948._0x3e6afe);}const _0x16cad7=_0x28f738['get'](_0x5cfb8c(_0x2c2cbe._0x3ad62a,-0x70,-_0x2c2cbe._0x1d1154,-0xb9));return _0x16cad7?parseInt(_0x16cad7,0xa):0x0;}[_0x1f0bf6(0x33d,0x195,0x4c8,0x25b)](_0xb7e17){const _0x4d2f25={_0x2125a0:0x1d0,_0x9600f1:0x70,_0x19f80f:0x7},_0x26df3f={_0x50ed00:0x9f,_0x4d7f66:0xd8,_0x47d012:0x1e};function _0x17c7ad(_0x3c5103,_0x4c79e0,_0x493c69,_0x52e0a6){return _0x577062(_0x3c5103-_0x26df3f._0x50ed00,_0x4c79e0,_0x493c69-_0x26df3f._0x4d7f66,_0x52e0a6- -_0x26df3f._0x47d012);}const _0x5be5a9={};return _0xb7e17[_0x17c7ad(-_0x4d2f25._0x2125a0,-0xcd,-_0x4d2f25._0x9600f1,-_0x4d2f25._0x19f80f)]((_0x17dfab,_0x3d9f1f)=>{_0x5be5a9[_0x3d9f1f]=_0x17dfab;}),_0x5be5a9;}async[_0x1f0bf6(0x137,0x361,0x18,-0x1b)](_0x2a850f,_0x440c1f,_0x1e21d5,_0x5d1d2b){const _0x455514={_0x253030:0x825,_0x5a65b2:0x4f3,_0x32882d:0x4f0,_0x194d52:0x208,_0x2ebe48:0x39b,_0x46baa4:0x3a4,_0x43d3b1:0x550},_0x319944={_0x2e8156:0x14c},_0x47929e={_0xfaa5ea:0xa5,_0x345c9f:0x614};function _0x51a9b9(_0x5674e2,_0x30d2c3,_0x43b101,_0x5356d9){return _0x577062(_0x5674e2-0x70,_0x43b101,_0x43b101-_0x47929e._0xfaa5ea,_0x5674e2-_0x47929e._0x345c9f);}function _0x227cbe(_0x57e7e1,_0x32d02d,_0x3257f3,_0x2583ba){return _0x577062(_0x57e7e1-0x94,_0x57e7e1,_0x3257f3-_0x319944._0x2e8156,_0x32d02d-0x57f);}if(typeof fetch!==_0x51a9b9(0x522,0x5ff,0x5c2,0x5f0))throw new Error('Global\x20fetch\x20is\x20not\x20available.\x20Use\x20Node\x2018+\x20or\x20a\x20compatible\x20runtime.');return fetch(_0x2a850f,{'method':_0x227cbe(_0x455514._0x253030,0x648,_0x455514._0x5a65b2,0x551),'headers':{'Content-Type':_0x227cbe(_0x455514._0x32882d,0x327,_0x455514._0x194d52,0x130),..._0x1e21d5||{}},'body':JSON[_0x51a9b9(0x5dd,_0x455514._0x2ebe48,_0x455514._0x46baa4,_0x455514._0x43d3b1)](_0x440c1f??{}),'signal':_0x5d1d2b});}async[_0x1f0bf6(0x1a9,0x7b,0x131,0x1be)](_0x5a8e40,_0x584dff,_0x54ef99){const _0xa2d33d={_0x12e6c8:0x75,_0x46ecc7:0x1ce,_0xaa61a7:0x283,_0x31f87e:0x214,_0x6719f0:0x24c,_0x39c912:0x166,_0x248fac:0x46,_0x247f95:0x9d,_0x5b6389:0x83,_0xcc6244:0x35,_0x189759:0x10,_0x4c509c:0x1c3,_0x10b8a9:0xd8,_0x2d2f25:0x287,_0x3178b5:0x21b,_0x89514f:0x16b,_0x81ebe7:0xa5,_0x3f7aeb:0x1d9,_0xd24c15:0x280,_0x5d60d9:0x3b2,_0x5883be:0x4c,_0x5a547d:0x12a,_0x227c6c:0x37,_0x26bae2:0x190,_0x29bc52:0x2ef},_0x4ba538={_0x233310:0x2cf,_0x199224:0xab,_0x5a866b:0xd5},_0x29fb9a={_0x55eb5d:0x159};function _0x31e0d6(_0x4e4451,_0xb69fd8,_0x4cd932,_0x3d02b9){return _0x1f0bf6(_0xb69fd8- -0x34a,_0x4cd932,_0x4cd932-_0x29fb9a._0x55eb5d,_0x3d02b9-0x54);}function _0x3243e9(_0xa731d8,_0x1fb267,_0x36d32d,_0x11444d){return _0x1f0bf6(_0x1fb267- -_0x4ba538._0x233310,_0xa731d8,_0x36d32d-_0x4ba538._0x199224,_0x11444d-_0x4ba538._0x5a866b);}if(typeof fetch!==_0x3243e9(_0xa2d33d._0x12e6c8,-0x12,0x1e5,-_0xa2d33d._0x46ecc7))throw new Error('Global\x20fetch\x20is\x20not\x20available.\x20Use\x20Node\x2018+\x20or\x20a\x20compatible\x20runtime.');const _0x58efdc=performance[_0x3243e9(_0xa2d33d._0xaa61a7,0xb0,_0xa2d33d._0x31f87e,-0x59)]();try{const _0xa9b83a=await fetch(_0x5a8e40,{'method':'GET','headers':{..._0x584dff||{}},'signal':_0x54ef99}),_0xebe250=performance[_0x3243e9(-0xc,0xb0,0x1bd,0x105)]()-_0x58efdc;try{const _0x3d2a99=_0xa9b83a[_0x3243e9(-_0xa2d33d._0x6719f0,-_0xa2d33d._0x39c912,-_0xa2d33d._0x248fac,_0xa2d33d._0x247f95)](),_0x33c739=await _0x3d2a99[_0x3243e9(0x25d,_0xa2d33d._0x5b6389,-0x144,0x27)]();let _0x4ab027;try{_0x4ab027=JSON['parse'](_0x33c739);}catch{_0x4ab027=_0x33c739;}const _0x26c72d=performance[_0x31e0d6(0x22d,_0xa2d33d._0xcc6244,-0x47,-0x1ea)]()-_0x58efdc;await this['logger']['logRequest']({'url':_0x5a8e40,'method':'GET','headers':{..._0x584dff||{}},'responseStatus':_0xa9b83a[_0x31e0d6(_0xa2d33d._0x189759,_0xa2d33d._0x4c509c,_0xa2d33d._0x10b8a9,0x267)],'responseHeaders':this[_0x3243e9(0x178,0x6e,0x14d,_0xa2d33d._0x2d2f25)](_0xa9b83a[_0x31e0d6(_0xa2d33d._0x3178b5,_0xa2d33d._0x89514f,-_0xa2d33d._0x81ebe7,0x26)]),'ok':_0xa9b83a['ok'],'stream':![],'startTime':_0x58efdc,'duration':_0x26c72d,'ttfb':_0xebe250,'requestSize':0x0,'responseSize':this[_0x31e0d6(0x1cd,0x34,-_0xa2d33d._0x3f7aeb,_0xa2d33d._0xd24c15)](_0xa9b83a[_0x31e0d6(_0xa2d33d._0x5d60d9,0x16b,_0xa2d33d._0x5883be,_0xa2d33d._0x5a547d)]),'response':_0x4ab027});}catch{}return _0xa9b83a;}catch(_0x20a1cd){const _0x4e8faf=performance['now']()-_0x58efdc;await this[_0x3243e9(-0x201,-_0xa2d33d._0x227c6c,-0x1b3,_0xa2d33d._0x26bae2)]['logRequest']({'url':_0x5a8e40,'method':'GET','headers':{..._0x584dff||{}},'responseStatus':0x0,'ok':![],'stream':![],'startTime':_0x58efdc,'duration':_0x4e8faf,'requestSize':0x0,'error':_0x20a1cd instanceof Error?_0x20a1cd[_0x3243e9(0xb5,-0x15f,-_0xa2d33d._0x29bc52,-0x15)]:String(_0x20a1cd)});throw _0x20a1cd;}}};import*as _0x3dd8f5 from'crypto';var isVisionMessage=_0x138775=>{const _0x4bc809={_0x4bdbdd:0x143,_0x5169c3:0x351,_0x5ddedc:0x287,_0x31800b:0x1d0,_0x56ee97:0x12a},_0x2a1a6f={_0x3d9567:0x13c,_0x5ba5b7:0x199},_0x245903={_0x1a85d2:0x2a0,_0x2e96df:0x17c};if(!_0x138775)return![];const _0x520d2c=_0x138775[_0x586e85(_0x4bc809._0x4bdbdd,_0x4bc809._0x5169c3,0x149,0x346)];function _0x586e85(_0x13cd26,_0xeca6dd,_0x10ded2,_0xa026f3){return _0x1f0bf6(_0x10ded2- -_0x245903._0x1a85d2,_0xa026f3,_0x10ded2-_0x245903._0x2e96df,_0xa026f3-0xb1);}function _0x2c955f(_0x18dddb,_0x9492d5,_0xdc0ea0,_0x5c6072){return _0x1f0bf6(_0xdc0ea0-_0x2a1a6f._0x3d9567,_0x5c6072,_0xdc0ea0-_0x2a1a6f._0x5ba5b7,_0x5c6072-0xc7);}if(!_0x520d2c)return![];if(Array[_0x586e85(-_0x4bc809._0x5ddedc,-_0x4bc809._0x31800b,-_0x4bc809._0x56ee97,0x99)](_0x520d2c))return _0x520d2c[_0x2c955f(0x540,0x407,0x3e6,0x21c)](_0x46f188=>typeof _0x46f188===_0x586e85(0x191,-0x1fe,-0x6e,-0x268)&&_0x46f188?.[_0x586e85(0x227,0x140,0x25e,0x45)]===_0x586e85(-0x14f,0x192,-0x47,-0x1f));return![];},GithubAuthTransport=class{[_0x1f0bf6(0x32a,0x4f9,0x4f8,0xdc)];[_0x577062(-0x294,-0x14e,-0x5d,-0x1bf)];[_0x577062(-0xc5,-0x29d,0x1a5,-0x60)];['baseUrl'];[_0x577062(-0x28f,0x7b,-0x3d9,-0x194)];constructor(_0x23796a,_0x1a6b57){const _0x53231c={_0x4acaef:0x2c5,_0x43018e:0x238,_0x27ff1c:0x3e7,_0xb2d7e4:0x427,_0x1e3dbd:0x4a0,_0x15a6e9:0x836,_0x4ff2f2:0x679,_0x55d442:0x1d2,_0x28c4ac:0x3bc,_0x506086:0x5af,_0x16eb33:0x76a,_0x4ceb65:0x74a,_0x4dae47:0x8b3,_0x3db11e:0x7c3,_0x49e860:0x4b1,_0x145a1e:0x539},_0x2b9b71={_0xa654c8:0x57b},_0x4e5a6a={_0x1836d4:0x6fe};this[_0x5ddb2b(_0x53231c._0x4acaef,_0x53231c._0x43018e,0x5d2,_0x53231c._0x27ff1c)]=_0x23796a,this[_0x5ddb2b(_0x53231c._0xb2d7e4,_0x53231c._0x1e3dbd,0x525,0x4f6)]=_0x1a6b57[_0x330144(_0x53231c._0x15a6e9,0x837,_0x53231c._0x4ff2f2,0x509)];function _0x330144(_0x6ab750,_0x237ee1,_0x3b04fa,_0x4e2797){return _0x577062(_0x6ab750-0x82,_0x237ee1,_0x3b04fa-0x14b,_0x3b04fa-_0x4e5a6a._0x1836d4);}function _0x5ddb2b(_0x33f9fe,_0x2a1faf,_0x93c8cc,_0x5eaa59){return _0x577062(_0x33f9fe-0x1b2,_0x33f9fe,_0x93c8cc-0x87,_0x5eaa59-_0x2b9b71._0xa654c8);}this['accessToken']=_0x1a6b57[_0x5ddb2b(0x34a,0x392,_0x53231c._0x55d442,_0x53231c._0x28c4ac)],this[_0x5ddb2b(_0x53231c._0x506086,_0x53231c._0x16eb33,0x7ec,0x730)]=_0x1a6b57[_0x330144(_0x53231c._0x4ceb65,0x9ec,_0x53231c._0x4dae47,_0x53231c._0x3db11e)]??_0x5ddb2b(0x499,0x6ad,_0x53231c._0x49e860,_0x53231c._0x145a1e);}async['exchangeToken'](_0x207192){const _0x561112={_0x488def:0x14b,_0x155efd:0x1e4,_0x1f9111:0x35,_0x3b8c8e:0x26f,_0x32c5ed:0x407,_0x29f8e6:0x77c,_0x37805f:0x5e0,_0x30072a:0x121,_0x11c833:0x806,_0x5d6cf1:0xa47,_0x14b11c:0x6a8,_0x1b7591:0x547,_0x5ef190:0x3ec,_0x9bbcd2:0x2e,_0x128636:0x1da,_0x50b62e:0x605,_0x3b97fb:0x278,_0x32410a:0x58,_0x53fcff:0x38,_0x110f6f:0x250,_0x54b975:0x78,_0x54107b:0x18,_0x16ddb7:0x2e7,_0x2414b5:0x736,_0x242fc4:0x741,_0x4e6c38:0x754,_0x54fe01:0x5fa,_0x279db5:0x3e2,_0x5e6426:0x7a6,_0x46f089:0x577};if(!this['accessToken'])return;if(typeof fetch!==_0x4aa972(-_0x561112._0x488def,-_0x561112._0x155efd,-0x3d,-_0x561112._0x1f9111))throw new Error('Global\x20fetch\x20not\x20available\x20for\x20token\x20exchange');const _0x367de0=await fetch(_0x389fcc(0x47e,_0x561112._0x3b8c8e,_0x561112._0x32c5ed,0x3f7),{'method':_0x389fcc(0x715,_0x561112._0x29f8e6,0x53a,_0x561112._0x37805f),'headers':{'Authorization':_0x4aa972(-0x1f9,-0x2bb,-_0x561112._0x30072a,-0xd8)+this['accessToken'],'user-agent':_0x4aa972(-0x126,-0x22d,0x73,-0x71),'editor-version':_0x389fcc(_0x561112._0x11c833,_0x561112._0x5d6cf1,_0x561112._0x14b11c,0x64c),'x-github-api-version':_0x389fcc(0x3ba,0x1ab,_0x561112._0x1b7591,0x32f),'accept':_0x4aa972(-_0x561112._0x5ef190,-0x3c5,_0x561112._0x9bbcd2,-0x19b)},'signal':_0x207192});function _0x389fcc(_0x274628,_0x374a87,_0x28553c,_0x1163c6){return _0x1f0bf6(_0x274628-0x2b1,_0x28553c,_0x28553c-0x58,_0x1163c6-0xf7);}if(!_0x367de0['ok']){this[_0x4aa972(-_0x561112._0x128636,-0x164,-0x107,0x38)]=this[_0x389fcc(0x4a1,0x615,_0x561112._0x50b62e,_0x561112._0x3b97fb)];return;}const _0x5698b5=await _0x367de0['json']();function _0x4aa972(_0x1f6882,_0xf7ab07,_0x4727af,_0x51b72e){return _0x577062(_0x1f6882-0xd1,_0x4727af,_0x4727af-0xce,_0x51b72e-0xbd);}this[_0x4aa972(0x89,_0x561112._0x32410a,0x195,_0x561112._0x53fcff)]=_0x5698b5?.[_0x4aa972(-0x73,_0x561112._0x110f6f,-_0x561112._0x54b975,_0x561112._0x54107b)]||this[_0x4aa972(0x151,-_0x561112._0x16ddb7,-0x1ec,-0x102)],_0x5698b5?.[_0x389fcc(_0x561112._0x2414b5,_0x561112._0x242fc4,_0x561112._0x4e6c38,_0x561112._0x54fe01)]?.[_0x389fcc(0x621,0x820,_0x561112._0x279db5,_0x561112._0x5e6426)]&&(this['dynamicApiUrl']=_0x5698b5[_0x389fcc(0x736,0x7e9,0x6c6,_0x561112._0x46f089)]['api']);}[_0x1f0bf6(0x4a8,0x59a,0x4c7,0x37a)](_0x30df22){const _0x1aecb2={_0x5863b8:0x444,_0x4592f0:0x115,_0x4059de:0x3a8,_0xfb616b:0x31b,_0x476a36:0x41f,_0x2f9bb6:0x65b,_0xc7e2ef:0x5e4},_0x493d62={_0x1632a8:0x205},_0x2b5bbb={_0x4ccafb:0x6d};if(_0x30df22[_0x5099f1(_0x1aecb2._0x5863b8,_0x1aecb2._0x4592f0,_0x1aecb2._0x4059de,_0x1aecb2._0xfb616b)]('/')){const _0x4af7aa=this[_0xb95581(0x471,_0x1aecb2._0x476a36,_0x1aecb2._0x2f9bb6,_0x1aecb2._0xc7e2ef)]??this['baseUrl'];return''+_0x4af7aa+_0x30df22;}function _0xb95581(_0x9140bf,_0x3de6b0,_0x9c6af1,_0x56db49){return _0x1f0bf6(_0x56db49-0x295,_0x9140bf,_0x9c6af1-0x67,_0x56db49-_0x2b5bbb._0x4ccafb);}function _0x5099f1(_0xcdd47b,_0x375214,_0x2ce08f,_0x417695){return _0x1f0bf6(_0x417695- -_0x493d62._0x1632a8,_0x375214,_0x2ce08f-0x1e,_0x417695-0x5a);}return _0x30df22;}['hasVisionPayload'](_0x531050){const _0x26818a={_0x5b90cf:0x1f5,_0x4952c0:0x1c,_0x575fe6:0x256,_0x4fff30:0x447,_0x170bd3:0x397,_0x306008:0x195,_0x39172d:0x244,_0x53330b:0x3bd,_0x59cc91:0x2a0,_0x3d56e4:0x333,_0x5ac278:0x214,_0x5ab13a:0x1e9},_0x4139e3={_0x1a23c3:0x179},_0x2e937d={_0x2bac55:0x123};if(!_0x531050||typeof _0x531050!==_0x1897e0(-0xd9,-_0x26818a._0x5b90cf,_0x26818a._0x4952c0,-0x5a))return![];function _0x98ce38(_0xe5f5f8,_0x6491a8,_0x51c2a6,_0x3f1936){return _0x1f0bf6(_0x3f1936- -0x335,_0x51c2a6,_0x51c2a6-0x106,_0x3f1936-_0x2e937d._0x2bac55);}function _0x1897e0(_0x1044f3,_0x175c9a,_0x559cfe,_0x1be5ac){return _0x1f0bf6(_0x1044f3- -0x30b,_0x1be5ac,_0x559cfe-0x125,_0x1be5ac-_0x4139e3._0x1a23c3);}if(!(_0x1897e0(_0x26818a._0x575fe6,_0x26818a._0x4fff30,_0x26818a._0x170bd3,0x469)in _0x531050))return![];const _0x23cd26=_0x531050;if(!Array[_0x1897e0(-_0x26818a._0x306008,-0x22e,-0x153,-_0x26818a._0x39172d)](_0x23cd26[_0x98ce38(_0x26818a._0x53330b,0x184,0x18a,0x22c)]))return![];return _0x23cd26[_0x98ce38(_0x26818a._0x59cc91,_0x26818a._0x3d56e4,_0x26818a._0x5ac278,0x22c)][_0x1897e0(-0x61,0xf0,-_0x26818a._0x5ab13a,-0x129)](_0x330407=>isVisionMessage(_0x330407));}['makeAuthHeaders'](_0x4ddcfd,_0x2bf7cf){const _0x52cfac={_0x14f216:0x83c,_0x94914:0x800,_0x5ea38b:0x729,_0x36abb3:0x115,_0x4b83e0:0x16d,_0x10154b:0xa4,_0x188119:0x5b5,_0x459e4a:0x54a,_0x42867f:0x5ef,_0x30dc5d:0x2ba,_0xb11b88:0x2d8,_0x5da0d4:0x29f,_0x34520f:0x151,_0x281d73:0x7a,_0x1ba59e:0x7f,_0x2bfbef:0x292,_0x1b6730:0x297,_0x248587:0x3e8,_0x1ad658:0x7dc,_0x10c066:0x923,_0x1b24e6:0x5de,_0x2bde41:0x804,_0x59ca1b:0x753,_0x22540e:0x3f6,_0x32f99a:0x485,_0x44f754:0x4ea,_0x175672:0x652,_0x43c71a:0x5cb,_0x5e09ad:0x53b},_0x59c3ca={_0x16bf10:0x38,_0x20f56f:0x155},_0x2411a4=_0x4ddcfd?{..._0x4ddcfd}:{};if(this['apiKey'])_0x2411a4[_0x4257f1(_0x52cfac._0x14f216,_0x52cfac._0x94914,_0x52cfac._0x5ea38b,0x750)]=_0x5a4bd6(-_0x52cfac._0x36abb3,-0x2c6,-_0x52cfac._0x4b83e0,-_0x52cfac._0x10154b)+this[_0x4257f1(_0x52cfac._0x188119,0x6c9,_0x52cfac._0x459e4a,_0x52cfac._0x42867f)];_0x2411a4['editor-version']=_0x2411a4[_0x5a4bd6(-0x1cb,-0x47,-0x23a,-_0x52cfac._0x30dc5d)]||_0x5a4bd6(_0x52cfac._0xb11b88,_0x52cfac._0x5da0d4,_0x52cfac._0x34520f,0x200),_0x2411a4['editor-plugin-version']=_0x2411a4[_0x5a4bd6(_0x52cfac._0x281d73,-0x125,-_0x52cfac._0x1ba59e,-0x22a)]||_0x5a4bd6(-0x33f,-_0x52cfac._0x2bfbef,-_0x52cfac._0x1b6730,-_0x52cfac._0x248587);const _0x3e6070=this['determineInitiator'](_0x2bf7cf);_0x2411a4[_0x4257f1(_0x52cfac._0x1ad658,_0x52cfac._0x10c066,0x6fd,_0x52cfac._0x1b24e6)]=_0x3e6070,_0x2411a4[_0x4257f1(_0x52cfac._0x2bde41,0x5e1,_0x52cfac._0x59ca1b,0x7d2)]=this[_0x4257f1(_0x52cfac._0x22540e,_0x52cfac._0x32f99a,_0x52cfac._0x44f754,0x3b4)]();this[_0x5a4bd6(-0x1fd,-0x1ac,-0x278,-0x408)](_0x2bf7cf)&&(_0x2411a4['Copilot-Vision-Request']=_0x4257f1(0x4ee,_0x52cfac._0x175672,_0x52cfac._0x43c71a,_0x52cfac._0x5e09ad));function _0x5a4bd6(_0x237079,_0xa473bf,_0x4232ca,_0xee3fce){return _0x577062(_0x237079-0x1a4,_0xa473bf,_0x4232ca-0x1b8,_0x4232ca-0x28);}function _0x4257f1(_0x1959cf,_0x4c9e30,_0x482758,_0x3d1b1a){return _0x1f0bf6(_0x482758-0x220,_0x3d1b1a,_0x482758-_0x59c3ca._0x16bf10,_0x3d1b1a-_0x59c3ca._0x20f56f);}return _0x2411a4;}[_0x1f0bf6(0x42d,0x206,0x352,0x3c0)](_0x346cbf){const _0x2df6be={_0xeaae12:0x55,_0x186c06:0x2da,_0x4f443:0x1ca,_0x5974d2:0x1f6,_0x5759f5:0x226,_0x54db20:0x21b,_0x4e0b40:0x94,_0x4d6bbf:0xaa,_0x17f4fb:0x27e,_0xce7ce1:0x198,_0x1b8192:0x46,_0x3983d2:0x1f3,_0x283d04:0x70,_0x430689:0x21b,_0x155e53:0x2a1,_0xad2bf0:0x2ea,_0x35913e:0x250,_0x5088b7:0x173,_0x37fb9f:0xa9,_0x35cbfa:0x299},_0x435d59={_0x4d5707:0x61,_0x152c80:0x120,_0x4a8f5c:0x69},_0x461c4f={_0xf5e6ef:0x126,_0x226897:0xa3};function _0x485e59(_0x491498,_0x465c9b,_0x13c620,_0x7fc478){return _0x577062(_0x491498-_0x461c4f._0xf5e6ef,_0x491498,_0x13c620-_0x461c4f._0x226897,_0x13c620-0x43);}if(_0x346cbf&&typeof _0x346cbf===_0x1a1f14(-0x2e3,-0x114,-0x326,-0x21e)&&_0x1a1f14(_0x2df6be._0xeaae12,0x21b,0x1d8,0x30d)in _0x346cbf){const _0x3b7b3a=_0x346cbf;if(Array[_0x485e59(-_0x2df6be._0x186c06,-_0x2df6be._0x4f443,-_0x2df6be._0x5974d2,-_0x2df6be._0x5759f5)](_0x3b7b3a[_0x1a1f14(0xd5,_0x2df6be._0x54db20,0x3a9,0x87)])&&_0x3b7b3a[_0x1a1f14(_0x2df6be._0x4e0b40,0x21b,0x97,_0x2df6be._0x4d6bbf)][_0x485e59(_0x2df6be._0x17f4fb,_0x2df6be._0xce7ce1,_0x2df6be._0x1b8192,-_0x2df6be._0x3983d2)]>0x0){const _0x2be2bf=_0x3b7b3a[_0x485e59(_0x2df6be._0x283d04,0xd5,0x1f5,0x3cf)][_0x3b7b3a[_0x1a1f14(0x3b5,_0x2df6be._0x430689,_0x2df6be._0x155e53,0x25f)]['length']-0x1];return _0x2be2bf?.[_0x485e59(-_0x2df6be._0xad2bf0,-0x124,-0x17a,-_0x2df6be._0x35913e)]==='user'?'user':_0x485e59(0x275,0xce,_0x2df6be._0x5088b7,-_0x2df6be._0x37fb9f);}}function _0x1a1f14(_0x118d99,_0x1249de,_0x571fec,_0x1fc5d9){return _0x577062(_0x118d99-_0x435d59._0x4d5707,_0x571fec,_0x571fec-_0x435d59._0x152c80,_0x1249de-_0x435d59._0x4a8f5c);}return _0x1a1f14(0x271,0x199,_0x2df6be._0x35cbfa,0x24c);}[_0x577062(0x30,-0x11d,-0x1a5,-0xe5)](){const _0x25160a={_0x1690a7:0x7,_0x2442f3:0x168,_0x4b4c2c:0xcf,_0x2e5d5f:0x3fe,_0x51ed77:0x162,_0x539cf8:0x2c5},_0x56f4a1={_0x16f0ae:0x210,_0x460272:0x2b5,_0x4b9cc5:0x43f},_0x2ac71c={_0x466230:0x1ec};function _0xf30f1d(_0x5ef67b,_0x56cf93,_0x26f74d,_0xd0db3){return _0x1f0bf6(_0xd0db3-0x2dd,_0x26f74d,_0x26f74d-0xd0,_0xd0db3-0xda);}function _0x3a8d01(_0x167c1b,_0x126fa5,_0x14eb8e,_0x4468c5){return _0x1f0bf6(_0x167c1b- -_0x2ac71c._0x466230,_0x14eb8e,_0x14eb8e-0x18,_0x4468c5-0x9f);}if(_0x3dd8f5?.['randomUUID'])return _0x3dd8f5[_0x3a8d01(-0x30,_0x25160a._0x1690a7,-_0x25160a._0x2442f3,-0xd4)]();return _0x3a8d01(-0xaa,-0x237,-_0x25160a._0x4b4c2c,-0x6)[_0x3a8d01(0x233,_0x25160a._0x2e5d5f,_0x25160a._0x51ed77,_0x25160a._0x539cf8)](/[xy]/g,_0x149b99=>{const _0x12bb0a={_0x3ee71e:0x159,_0x2ca207:0x178};function _0x755457(_0x53f8b6,_0x43fc0c,_0x992ced,_0x44fbf9){return _0x3a8d01(_0x992ced-_0x12bb0a._0x3ee71e,_0x43fc0c-0x92,_0x44fbf9,_0x44fbf9-_0x12bb0a._0x2ca207);}const _0x2222c9=Math[_0x755457(_0x56f4a1._0x16f0ae,0xc4,_0x56f4a1._0x460272,0xef)]()*0x10|0x0,_0x15814e=_0x149b99==='x'?_0x2222c9:_0x2222c9&0x3|0x8;function _0x30b5de(_0x240a05,_0x411db5,_0x521f57,_0xc5bb2d){return _0x3a8d01(_0x411db5-0x1da,_0x411db5-0xc9,_0xc5bb2d,_0xc5bb2d-0x1ce);}return _0x15814e[_0x30b5de(0x45f,_0x56f4a1._0x4b9cc5,0x394,0x2f0)](0x10);});}async['post'](_0x31b245,_0x4edef8,_0x1ad07b,_0x84a816){const _0x5f2417={_0x4cdec8:0x177,_0x875552:0x197,_0x4591ac:0x130,_0x2f391d:0x14f,_0x3315e5:0x2a5,_0x5005e6:0xea,_0x1a1f06:0x3a2,_0x2e07ef:0x1d8,_0xa4ab94:0x19b,_0x980401:0xbf,_0x345e1c:0x1a7,_0x54b74a:0x1a4,_0x41c433:0x46,_0x3da8d0:0x17f,_0x50a3bb:0x233,_0x3b3821:0x5d,_0x2169fd:0xb8,_0x5368be:0x16a,_0x139071:0x28b,_0x60ced5:0x4d7,_0x5b8192:0x52b,_0x4fb6ff:0x255},_0x398032={_0x241bc5:0x22};!this[_0x2a9348(_0x5f2417._0x4cdec8,_0x5f2417._0x875552,0x31e,_0x5f2417._0x4591ac)]&&this[_0x4a1882(_0x5f2417._0x2f391d,0x5f,-_0x5f2417._0x3315e5,-_0x5f2417._0x5005e6)]&&await this[_0x4a1882(_0x5f2417._0x1a1f06,0x116,_0x5f2417._0x2e07ef,0x28b)](_0x84a816);const _0xe59412=this['buildFullUrl'](_0x31b245);function _0x4a1882(_0x26bcb4,_0x479f2b,_0x594bea,_0x2e8405){return _0x1f0bf6(_0x2e8405- -0x2da,_0x26bcb4,_0x594bea-_0x398032._0x241bc5,_0x2e8405-0x177);}let _0x1348e3=await this[_0x4a1882(-0x2fe,-_0x5f2417._0xa4ab94,-0x178,-_0x5f2417._0x980401)]['post'](_0xe59412,_0x4edef8,this[_0x4a1882(0x57,-0x144,_0x5f2417._0x345e1c,-0x8a)](_0x1ad07b,_0x4edef8),_0x84a816);function _0x2a9348(_0x1b089,_0x540e62,_0x5c1811,_0x261a0f){return _0x577062(_0x1b089-0x13d,_0x261a0f,_0x5c1811-0x17c,_0x540e62-0x21c);}if(_0x1348e3[_0x4a1882(_0x5f2417._0x54b74a,_0x5f2417._0x41c433,_0x5f2417._0x3da8d0,_0x5f2417._0x50a3bb)]===0x191&&this[_0x2a9348(-0x91,_0x5f2417._0x3b3821,-_0x5f2417._0x2169fd,0x1cf)]){await this[_0x4a1882(_0x5f2417._0x5368be,0x389,0xbb,_0x5f2417._0x139071)](_0x84a816);const _0x37cff3=this[_0x2a9348(0x52a,0x315,_0x5f2417._0x60ced5,_0x5f2417._0x5b8192)](_0x31b245);_0x1348e3=await this['inner'][_0x2a9348(-_0x5f2417._0x4fb6ff,-0x5c,0x17a,0x1b3)](_0x37cff3,_0x4edef8,this['makeAuthHeaders'](_0x1ad07b,_0x4edef8),_0x84a816);}return _0x1348e3;}async[_0x577062(-0x264,-0x87,-0x3c,-0x206)](_0x36d6a7,_0x58493d,_0x5a7995){const _0x40d2f3={_0x304eda:0x3e6,_0x96ba75:0x717,_0x324648:0x4c2,_0x46def8:0x484,_0x590b0e:0x315,_0x2518ba:0x2ef,_0x291b98:0x56b,_0x441f21:0x7ea,_0x239e23:0x46b,_0x5e2419:0x5c5,_0x285ceb:0x6ee,_0x33eeae:0x4f7,_0x10f831:0x4a8,_0x1acee1:0x659,_0x1d1067:0x59e},_0x12fad4={_0x4ce90e:0x176},_0x3f776a={_0x43dbcc:0x34e,_0x280219:0xd8,_0x1540c6:0x12d};function _0x4de719(_0x43bfb7,_0x2e7a62,_0x1fd1df,_0x33b6aa){return _0x1f0bf6(_0x43bfb7-_0x3f776a._0x43dbcc,_0x1fd1df,_0x1fd1df-_0x3f776a._0x280219,_0x33b6aa-_0x3f776a._0x1540c6);}!this[_0x24b9f7(_0x40d2f3._0x304eda,0x400,0x3e8,0x429)]&&this['accessToken']&&await this['exchangeToken'](_0x5a7995);const _0x1c37ec=this['buildFullUrl'](_0x36d6a7);let _0x3c3eef=await this['inner']['get'](_0x1c37ec,this['makeAuthHeaders'](_0x58493d),_0x5a7995);if(_0x3c3eef[_0x4de719(0x85b,0xaaa,_0x40d2f3._0x96ba75,0x83d)]===0x191&&this[_0x24b9f7(_0x40d2f3._0x324648,_0x40d2f3._0x46def8,_0x40d2f3._0x590b0e,_0x40d2f3._0x2518ba)]){await this['exchangeToken'](_0x5a7995);const _0x57c285=this[_0x24b9f7(_0x40d2f3._0x291b98,0x494,_0x40d2f3._0x441f21,0x5a7)](_0x36d6a7);_0x3c3eef=await this[_0x4de719(0x569,_0x40d2f3._0x239e23,_0x40d2f3._0x5e2419,_0x40d2f3._0x285ceb)][_0x4de719(_0x40d2f3._0x33eeae,_0x40d2f3._0x10f831,0x2b6,_0x40d2f3._0x1acee1)](_0x57c285,this[_0x4de719(_0x40d2f3._0x1d1067,0x7c9,0x3d9,0x351)](_0x58493d),_0x5a7995);}function _0x24b9f7(_0x4c6de2,_0x5b68b9,_0x26e3f2,_0x29ccb1){return _0x1f0bf6(_0x29ccb1-0xff,_0x4c6de2,_0x26e3f2-_0x12fad4._0x4ce90e,_0x29ccb1-0x14d);}return _0x3c3eef;}};function calculateBackoff(_0x4e214b,_0x59a22f,_0x103486,_0x1d3788,_0x22cec4){const _0x10ba14={_0xee1874:0x49b,_0x66ecc2:0x450,_0x4384a1:0x3fe,_0x52aa5f:0x3e1,_0x48610a:0x628,_0x27feda:0x491,_0x3412ce:0x484},_0x28608c={_0x10e80e:0x8a,_0x3d8238:0x145,_0x2fe3b8:0x512},_0x99ba2e={_0x34dd10:0x156,_0x27675a:0x433},_0x3fa19f=_0x59a22f*_0x1d3788**_0x4e214b;function _0x2dd3ba(_0x407a66,_0x34f746,_0x17f8c4,_0x259ed6){return _0x577062(_0x407a66-_0x99ba2e._0x34dd10,_0x34f746,_0x17f8c4-0x149,_0x407a66-_0x99ba2e._0x27675a);}const _0x1e0563=Math[_0x2dd3ba(_0x10ba14._0xee1874,_0x10ba14._0x66ecc2,0x449,0x433)](_0x3fa19f,_0x103486);function _0x3a62e6(_0x3f67ad,_0xc293e5,_0x4be43b,_0xe8d50e){return _0x577062(_0x3f67ad-_0x28608c._0x10e80e,_0x4be43b,_0x4be43b-_0x28608c._0x3d8238,_0xc293e5-_0x28608c._0x2fe3b8);}const _0x2d3707=_0x1e0563*_0x22cec4,_0x4fa0e9=_0x2d3707*(Math[_0x2dd3ba(0x3cc,0x567,0x250,_0x10ba14._0x4384a1)]()*0x2-0x1);return Math[_0x3a62e6(0x210,_0x10ba14._0x52aa5f,_0x10ba14._0x48610a,0x3c0)](0x0,Math[_0x3a62e6(_0x10ba14._0x27feda,_0x10ba14._0x3412ce,0x522,0x313)](_0x1e0563+_0x4fa0e9));}function parseRetryAfterHeader(_0x32caa4){const _0x1031cb={_0x73677f:0x2c5,_0x38a827:0x501,_0x4d21c1:0x7b,_0x5a882a:0x24,_0xcc2902:0x170,_0x1c2f80:0x138,_0x1fe3ac:0x35},_0x304727={_0x54c7f3:0x247,_0x1786f1:0x15f,_0x3dd17e:0x54},_0x591fd2={_0x4b744b:0x159,_0xf0634c:0x3fc};if(!_0x32caa4)return null;function _0x3a3076(_0x516d91,_0x41a504,_0x21bf6b,_0x2bbb1b){return _0x577062(_0x516d91-0x19b,_0x41a504,_0x21bf6b-_0x591fd2._0x4b744b,_0x2bbb1b-_0x591fd2._0xf0634c);}const _0x286821=parseInt(_0x32caa4,0xa);if(!Number['isNaN'](_0x286821)&&_0x286821>=0x0)return _0x286821*0x3e8;const _0x304c5e=Date[_0x306b31(0x2d8,_0x1031cb._0x73677f,0x3d6,_0x1031cb._0x38a827)](_0x32caa4);if(!Number[_0x306b31(-_0x1031cb._0x4d21c1,0x16c,_0x1031cb._0x5a882a,_0x1031cb._0xcc2902)](_0x304c5e)){const _0x3f452f=_0x304c5e-Date[_0x306b31(-0x4e,_0x1031cb._0x1c2f80,-_0x1031cb._0x1fe3ac,0x336)]();return _0x3f452f>0x0?_0x3f452f:null;}function _0x306b31(_0x4fe430,_0x4ad72b,_0x5d9b60,_0x597fbf){return _0x1f0bf6(_0x4ad72b- -_0x304727._0x54c7f3,_0x4fe430,_0x5d9b60-_0x304727._0x1786f1,_0x597fbf-_0x304727._0x3dd17e);}return null;}var DEFAULT_RETRYABLE_STATUS_CODES=[0x198,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8,0x208,0x209,0x20a,0x20b,0x20c],RETRYABLE_NETWORK_ERRORS=['econnrefused',_0x1f0bf6(0x3f4,0x285,0x4d0,0x476),'etimedout',_0x1f0bf6(0x4ca,0x3db,0x47a,0x33a),_0x1f0bf6(0x1ba,0x1c5,0x168,0x267),'network',_0x577062(-0x4d,-0x7d,-0x304,-0x244),_0x577062(-0x423,-0x27c,-0x319,-0x2be),_0x1f0bf6(0x3e7,0x2f2,0x459,0x5f9),_0x577062(0x1d6,-0x153,0x14f,-0x6b),_0x577062(-0x1d6,0x148,-0x20c,-0xe0),_0x577062(-0x195,-0x3e0,-0x1ee,-0x24e),_0x1f0bf6(0x256,0x39d,0x100,0x426),_0x1f0bf6(0x486,0x35a,0x4b7,0x299)],NON_RETRYABLE_PATTERNS=[_0x1f0bf6(0x563,0x358,0x63f,0x5de),_0x1f0bf6(0x4b7,0x2f8,0x469,0x66d),_0x1f0bf6(0x30f,0x51c,0xe0,0x385),_0x1f0bf6(0x2c6,0x3db,0xcb,0x121),'bad\x20request',_0x577062(-0x8,-0x1c2,0x1b2,-0x24),_0x577062(-0x3a0,-0x34f,-0x286,-0x29a),_0x577062(0x174,0x273,0x19b,0x75),_0x1f0bf6(0x19e,0x290,0x3ec,-0x9),_0x577062(-0x32d,-0x2f7,-0x27e,-0x20c)];function isRetryableStatusCode(_0x1be35d,_0x340728=DEFAULT_RETRYABLE_STATUS_CODES){return _0x340728['includes'](_0x1be35d);}function isRetryableError(_0xee8677,_0x2ea927=DEFAULT_RETRYABLE_STATUS_CODES){const _0x3fc045={_0x295acd:0x2b0,_0x147210:0x4df,_0x195025:0x22,_0x372a65:0x18c,_0x8ad0fe:0x113,_0xfa56cf:0x6be,_0x2395f9:0x8ae,_0x37cd83:0x640,_0x648d5c:0x22b,_0x3c3cb6:0x18a,_0x48392c:0x171,_0x4a511c:0x381,_0x3ab9f4:0x466,_0xec457:0x27e,_0x2a24d5:0x455,_0x42f98c:0x3d9,_0x482800:0x567,_0x262e55:0x6a4,_0x5b7aad:0x144,_0x96e943:0x7d,_0x2ff642:0x7d,_0x21791f:0x50c,_0x4b6702:0x22f},_0x5c6bf9={_0x4724be:0x1b1,_0x14ec31:0x1d8,_0x55791c:0xe5},_0x3257bb={_0x34c5ee:0x78,_0x361834:0x57};if(!_0xee8677)return![];function _0x367a01(_0x2e957b,_0xb6df9d,_0x51d539,_0x4aea38){return _0x577062(_0x2e957b-_0x3257bb._0x34c5ee,_0x2e957b,_0x51d539-_0x3257bb._0x361834,_0x4aea38-0x188);}if(_0xee8677 instanceof Error&&_0xee8677['name']==='AbortError')return![];if(_0xee8677 instanceof LLMError){if(_0xee8677[_0x43271e(0x3d2,0x322,0x615,0x4a7)])return isRetryableStatusCode(_0xee8677[_0x367a01(0x12d,0x1ea,0xdd,-0x6)],_0x2ea927);return _0xee8677[_0x367a01(_0x3fc045._0x295acd,_0x3fc045._0x147210,0x469,0x2b2)];}const _0x989215=_0xee8677,_0x15fdbe=_0x989215[_0x367a01(_0x3fc045._0x195025,_0x3fc045._0x372a65,-_0x3fc045._0x8ad0fe,-0x6)]??_0x989215[_0x43271e(_0x3fc045._0xfa56cf,_0x3fc045._0x2395f9,0x76c,_0x3fc045._0x37cd83)];function _0x43271e(_0x4ae1a5,_0x1d5097,_0x97a71,_0x1b279b){return _0x1f0bf6(_0x4ae1a5-_0x5c6bf9._0x4724be,_0x1b279b,_0x97a71-_0x5c6bf9._0x14ec31,_0x1b279b-_0x5c6bf9._0x55791c);}if(_0x15fdbe)return isRetryableStatusCode(_0x15fdbe,_0x2ea927);const _0xfe81db=_0x989215[_0x367a01(-_0x3fc045._0x648d5c,_0x3fc045._0x3c3cb6,_0x3fc045._0x48392c,-0xb7)]?.['toLowerCase']()||'',_0x3e41c3=_0x989215[_0x43271e(0x439,_0x3fc045._0x4a511c,0x5bf,_0x3fc045._0x3ab9f4)]?.[_0x43271e(0x380,_0x3fc045._0xec457,0x4b1,0x1e1)]()||'';for(const _0x24f7bc of NON_RETRYABLE_PATTERNS){if(_0xfe81db[_0x43271e(_0x3fc045._0x2a24d5,_0x3fc045._0x42f98c,_0x3fc045._0x482800,_0x3fc045._0x262e55)](_0x24f7bc)||_0x3e41c3[_0x367a01(0x11d,-0xd,_0x3fc045._0x5b7aad,_0x3fc045._0x96e943)](_0x24f7bc))return![];}for(const _0x5ec6cd of RETRYABLE_NETWORK_ERRORS){if(_0xfe81db[_0x367a01(0x43,-0x39,-0x1b,_0x3fc045._0x2ff642)](_0x5ec6cd)||_0x3e41c3[_0x43271e(0x455,_0x3fc045._0x21791f,_0x3fc045._0x4b6702,0x28a)](_0x5ec6cd))return!![];}return![];}var DEFAULT_RETRY_CONFIG={'maxRetries':0x3,'baseDelayMs':0x3e8,'maxDelayMs':0x186a0,'backoffMultiplier':0x2,'jitterFactor':0.2,'retryableStatusCodes':DEFAULT_RETRYABLE_STATUS_CODES},AbortError=class _AbortError extends Error{constructor(_0x5f4eee=_0x577062(0x9c,0x2b,-0x3b8,-0x1aa)){const _0x259bb0={_0x5e8eeb:0x566,_0x674b36:0x379,_0x81cbfc:0xf,_0x2a9c37:0x2a,_0x27d2ff:0x1c2,_0x34814e:0x1d8,_0x541552:0x1bc},_0x474737={_0x3660b4:0x14b,_0x4c81e1:0x31},_0xd94a53={_0x578c31:0x1d9};super(_0x5f4eee);function _0x1f7bd4(_0x1b87b3,_0x59f893,_0x2a2b55,_0xd5b2a1){return _0x577062(_0x1b87b3-_0xd94a53._0x578c31,_0x2a2b55,_0x2a2b55-0xcd,_0x1b87b3-0x13c);}this[_0x369cdb(0x500,0x5f7,0x428,0x7f8)]=_0x369cdb(0x4e4,_0x259bb0._0x5e8eeb,_0x259bb0._0x674b36,0x3a2);function _0x369cdb(_0x484188,_0x12ca5f,_0x31248c,_0x19cdbd){return _0x1f0bf6(_0x12ca5f-_0x474737._0x3660b4,_0x31248c,_0x31248c-_0x474737._0x4c81e1,_0x19cdbd-0xd7);}Error[_0x1f7bd4(-_0x259bb0._0x81cbfc,-0x5d,-_0x259bb0._0x2a9c37,-_0x259bb0._0x27d2ff)]&&Error[_0x1f7bd4(-_0x259bb0._0x81cbfc,-_0x259bb0._0x34814e,_0x259bb0._0x541552,-0x165)](this,_AbortError);}},sleep=(_0xc1f44a,_0x3da513)=>{const _0x242ef1={_0x2ca476:0x828,_0x592bb1:0x54a,_0x8f4a70:0x320,_0x42d108:0x3d8,_0x40efdf:0x5cb},_0x97c1e4={_0x53f046:0x166,_0x1378e7:0x46};return new Promise((_0x1c8f8e,_0x176812)=>{function _0x16d3b3(_0x45983b,_0x5711e5,_0xcfdb9f,_0x4c1a06){return _0x13d4(_0x45983b-0x2ee,_0x5711e5);}if(_0x3da513?.[_0x16d3b3(_0x242ef1._0x2ca476,0x6fe,0x5f1,0x8d3)]){_0x176812(new AbortError(_0x16d3b3(0x4df,_0x242ef1._0x592bb1,_0x242ef1._0x8f4a70,_0x242ef1._0x42d108)));return;}const _0x1601ed=setTimeout(_0x1c8f8e,_0xc1f44a);function _0x4a6649(_0x235298,_0x297371,_0x3429dc,_0x5affb0){return _0x13d4(_0x297371- -0x2d,_0x5affb0);}_0x3da513?.[_0x16d3b3(_0x242ef1._0x40efdf,0x4b8,0x665,0x5d4)]('abort',()=>{const _0x1ae8f9={_0x211925:0x2ef,_0x33aa66:0x1f0};clearTimeout(_0x1601ed);function _0xab1e3e(_0x51dc4f,_0x5eeadf,_0x341ad1,_0x31e379){return _0x4a6649(_0x51dc4f-0x1f4,_0x5eeadf- -_0x1ae8f9._0x211925,_0x341ad1-_0x1ae8f9._0x33aa66,_0x31e379);}_0x176812(new AbortError(_0xab1e3e(0x30,-_0x97c1e4._0x53f046,-_0x97c1e4._0x1378e7,-0xcd)));},{'once':!![]});});},RetryTransport=class{constructor(_0x1dc94b,_0x370d87={}){const _0x565dc5={_0x356ead:0x7,_0x37a418:0x228,_0xd014c1:0x98,_0x3ecff8:0x33,_0x2faca6:0x2b},_0x266794={_0x8000d4:0xf3,_0x5b687c:0x237},_0x92273a={_0xd839f2:0x341,_0x404334:0xa3};function _0x1bd831(_0x3b28db,_0x68cbb7,_0x4e59b9,_0x365818){return _0x1f0bf6(_0x3b28db-_0x92273a._0xd839f2,_0x68cbb7,_0x4e59b9-_0x92273a._0x404334,_0x365818-0x1bb);}function _0x92898d(_0x419f01,_0x40b153,_0x1bb9ee,_0x3b6ea0){return _0x577062(_0x419f01-_0x266794._0x8000d4,_0x1bb9ee,_0x1bb9ee-0x15a,_0x3b6ea0-_0x266794._0x5b687c);}this[_0x92898d(_0x565dc5._0x356ead,0xa3,_0x565dc5._0x37a418,0xa3)]=_0x1dc94b,this[_0x92898d(-_0x565dc5._0xd014c1,-_0x565dc5._0x3ecff8,_0x565dc5._0x2faca6,0x33)]={...DEFAULT_RETRY_CONFIG,..._0x370d87};}[_0x1f0bf6(0x1ab,0x154,0x116,0xc0)];async[_0x1f0bf6(0x1a9,0x50,0xa9,0x67)](_0x4bce53,_0xc03eda,_0x40badd){const _0x11d2ec={_0x14b88d:0x1a4,_0x2e9221:0x12a},_0x192118={_0x531b0a:0x14d,_0x381ecc:0x1a8};function _0x36f553(_0x30cafe,_0x17ad6a,_0xc0ef08,_0x1a99a1){return _0x1f0bf6(_0x17ad6a-_0x192118._0x531b0a,_0x1a99a1,_0xc0ef08-_0x192118._0x381ecc,_0x1a99a1-0x187);}function _0x132641(_0x31b371,_0x27ea21,_0x119f28,_0xf0b760){return _0x1f0bf6(_0x27ea21- -_0x11d2ec._0x14b88d,_0x31b371,_0x119f28-0x2,_0xf0b760-_0x11d2ec._0x2e9221);}return this['executeWithRetry'](()=>this[_0x132641(0x44,0x77,0x70,-0x18f)][_0x36f553(0x39b,0x2f6,0x18a,0x522)](_0x4bce53,_0xc03eda,_0x40badd),_0x40badd);}async[_0x577062(-0x21d,-0x136,-0x48,-0x278)](_0x14e8a1,_0x24f709,_0x5663a2,_0x475c44){const _0x18ddff={_0x3bf791:0xa1,_0x4189c1:0x194,_0x3d53e0:0xe5,_0xc6aed3:0x344},_0x192be6={_0x2434dd:0xcf,_0x28a1b7:0x1cd,_0x4e006c:0x18b},_0x19187d={_0x1210d9:0x6c,_0x37dccf:0xe6,_0x1dc042:0x2b4};function _0x3d2aec(_0x8367c,_0x207e71,_0x260f80,_0x15e853){return _0x577062(_0x8367c-_0x19187d._0x1210d9,_0x15e853,_0x260f80-_0x19187d._0x37dccf,_0x207e71-_0x19187d._0x1dc042);}function _0x2f8c59(_0x5e1cf0,_0x7b7997,_0x56d249,_0x323649){return _0x1f0bf6(_0x5e1cf0- -_0x192be6._0x2434dd,_0x323649,_0x56d249-_0x192be6._0x28a1b7,_0x323649-_0x192be6._0x4e006c);}return this[_0x3d2aec(-_0x18ddff._0x3bf791,_0x18ddff._0x4189c1,_0x18ddff._0x3d53e0,_0x18ddff._0xc6aed3)](()=>this[_0x3d2aec(0x23f,0x120,0x23f,0x2ea)][_0x2f8c59(0x68,0x1f2,-0x7d,0xba)](_0x14e8a1,_0x24f709,_0x5663a2,_0x475c44),_0x475c44);}async[_0x1f0bf6(0x28f,0x444,0x485,0x436)](_0x282ecc,_0x2cbb50){const _0x43de05={_0x43f9fa:0x1d8,_0x2af0b3:0x181,_0x3ed89c:0x3b1,_0x5527d5:0x28f,_0x2cc41a:0x160,_0x1872cc:0xb8,_0x1d58e1:0x2a7,_0x2ddd52:0x62d,_0x2e871d:0x4d1,_0x231d0a:0x37a,_0x1e4efc:0x2e7,_0x5d5c8c:0xca,_0x541213:0x58,_0x4b9a58:0x6,_0x21ebfd:0x89a,_0x3ea5a9:0x70f,_0x497ba0:0x528,_0x50b90b:0x713,_0x7bf54b:0x6a4,_0x4ba977:0x51d,_0x185030:0x468,_0x1ae002:0x5f2,_0x4fa045:0x93c,_0x26fa55:0x71a,_0x411617:0x240,_0x1800d3:0x156,_0x136df0:0x660,_0x53d30f:0x667,_0x27b815:0x194,_0x4b4917:0x114,_0xb4007:0x1b0,_0x478fce:0x10e,_0x3c4c3f:0x114,_0x12e461:0x63,_0x410cc2:0x1da,_0x15186e:0x97,_0x355a2b:0x29d,_0x5b7f22:0x117,_0x33d97d:0x310,_0x5cf114:0x44b,_0x1b0640:0x3b1,_0x1ec0bf:0x109,_0x57e793:0x137,_0x4ece88:0x163,_0x2c74df:0x23b,_0x26722c:0xd2,_0x86acd7:0xd4,_0x124891:0x3b1,_0x1414c6:0x430,_0x379b5b:0x24a,_0x126686:0x3b1,_0x4d8cb2:0x229,_0x52952c:0x58c,_0x491cf0:0x3ef},_0x4a8004={_0x1765af:0x137,_0x352eff:0xf0},_0x1e5535={_0x33ef44:0x1ec,_0x2a434b:0x1bd};let _0x401850,_0xe8743e=0x0;while(_0xe8743e<=this[_0x24dd0d(_0x43de05._0x43f9fa,_0x43de05._0x2af0b3,0x305,_0x43de05._0x3ed89c)]['maxRetries']){if(_0x2cbb50?.[_0x597a2a(0x4c5,_0x43de05._0x5527d5,_0x43de05._0x2cc41a,_0x43de05._0x1872cc)])throw new AbortError(_0x24dd0d(0x3ef,_0x43de05._0x1d58e1,_0x43de05._0x2ddd52,_0x43de05._0x2e871d));try{const _0x5e7cbe=await _0x282ecc();if(this[_0x597a2a(-_0x43de05._0x231d0a,-0x14a,-0x1dc,-_0x43de05._0x1e4efc)](_0x5e7cbe)){const _0x5518cc=new Error(_0x597a2a(0x177,_0x43de05._0x5d5c8c,-_0x43de05._0x541213,-_0x43de05._0x4b9a58)+_0x5e7cbe['status']);_0x5518cc[_0x24dd0d(_0x43de05._0x21ebfd,_0x43de05._0x3ea5a9,_0x43de05._0x497ba0,_0x43de05._0x50b90b)]=_0x5e7cbe[_0x24dd0d(_0x43de05._0x7bf54b,0x8be,_0x43de05._0x4ba977,0x713)];if(_0xe8743e<this[_0x24dd0d(_0x43de05._0x185030,0x4d6,0x52d,0x3b1)][_0x24dd0d(0x6f8,_0x43de05._0x1ae002,_0x43de05._0x4fa045,_0x43de05._0x26fa55)]){const _0x252bc9=this[_0x597a2a(-0xdd,0x96,_0x43de05._0x411617,-_0x43de05._0x1800d3)](_0x5e7cbe,_0xe8743e);this['config']['onRetry']?.(_0xe8743e+0x1,_0x5518cc,_0x252bc9),await sleep(_0x252bc9,_0x2cbb50),_0xe8743e++;continue;}_0x401850=_0x5518cc;break;}return _0x5e7cbe;}catch(_0x5e1061){if(_0x5e1061 instanceof AbortError||_0x5e1061 instanceof Error&&_0x5e1061['name']==='AbortError')throw _0x5e1061;_0x401850=_0x5e1061 instanceof Error?_0x5e1061:new Error(String(_0x5e1061));if(!isRetryableError(_0x401850,this['config'][_0x24dd0d(0x43f,_0x43de05._0x136df0,_0x43de05._0x53d30f,0x618)]))throw _0x401850;if(_0xe8743e<this[_0x597a2a(-_0x43de05._0x27b815,-_0x43de05._0x4b4917,-_0x43de05._0xb4007,-0x24)]['maxRetries']){const _0x2a8c62=calculateBackoff(_0xe8743e,this[_0x597a2a(_0x43de05._0x478fce,-_0x43de05._0x3c4c3f,_0x43de05._0x12e461,-_0x43de05._0x410cc2)][_0x597a2a(_0x43de05._0x15186e,_0x43de05._0x355a2b,0x328,_0x43de05._0x5b7f22)],this[_0x24dd0d(0x179,_0x43de05._0x33d97d,_0x43de05._0x5cf114,_0x43de05._0x1b0640)][_0x597a2a(0x76,-0xac,-0xac,_0x43de05._0x1ec0bf)],this[_0x597a2a(-_0x43de05._0x57e793,-0x114,-_0x43de05._0x4ece88,-_0x43de05._0x2c74df)][_0x597a2a(-0xd3,_0x43de05._0x26722c,0x166,-_0x43de05._0x86acd7)],this[_0x24dd0d(0x1f6,0x5b6,0x412,_0x43de05._0x124891)][_0x24dd0d(0x2ca,_0x43de05._0x2e871d,0x6b5,0x51b)]);this['config']['onRetry']?.(_0xe8743e+0x1,_0x401850,_0x2a8c62),await sleep(_0x2a8c62,_0x2cbb50),_0xe8743e++;}else break;}}function _0x24dd0d(_0x2e77ba,_0x199abe,_0x426ce4,_0x4cfa2d){return _0x1f0bf6(_0x4cfa2d-0x206,_0x199abe,_0x426ce4-_0x1e5535._0x33ef44,_0x4cfa2d-_0x1e5535._0x2a434b);}function _0x597a2a(_0x44ec83,_0x314809,_0x16e948,_0x3c6c59){return _0x577062(_0x44ec83-_0x4a8004._0x1765af,_0x3c6c59,_0x16e948-0x100,_0x314809-_0x4a8004._0x352eff);}if(_0x401850){this[_0x24dd0d(_0x43de05._0x1414c6,_0x43de05._0x379b5b,0x535,_0x43de05._0x126686)][_0x24dd0d(_0x43de05._0x4d8cb2,_0x43de05._0x52952c,0x369,_0x43de05._0x491cf0)]?.(_0x401850,_0xe8743e+0x1);throw _0x401850;}throw new Error('Retry\x20exhausted\x20without\x20error');}[_0x1f0bf6(0x175,0x73,0x1ac,0x34)](_0x4ff611){const _0x4d9028={_0x5415aa:0x404,_0x345479:0x4,_0x3e2cd4:0x344,_0x4de530:0x247},_0x5b055d={_0x1efdbe:0x37,_0x148a93:0x1dd},_0x3bb7e3={_0x35a985:0x324};function _0x2e08fd(_0x367602,_0x1db4d9,_0x2ee417,_0x137ea9){return _0x577062(_0x367602-0x97,_0x1db4d9,_0x2ee417-0x63,_0x367602-_0x3bb7e3._0x35a985);}function _0x16dfb9(_0x502d23,_0xae0ae5,_0xa26f9,_0x6c823b){return _0x577062(_0x502d23-_0x5b055d._0x1efdbe,_0x502d23,_0xa26f9-_0x5b055d._0x148a93,_0xa26f9-0x1e0);}return isRetryableStatusCode(_0x4ff611[_0x2e08fd(0x482,0x2a7,_0x4d9028._0x5415aa,0x306)],this[_0x2e08fd(0x120,_0x4d9028._0x345479,0x189,0x291)][_0x2e08fd(0x387,0x2d3,_0x4d9028._0x3e2cd4,_0x4d9028._0x4de530)]);}[_0x1f0bf6(0x355,0x14e,0x556,0x392)](_0x211a66,_0x431d04){const _0x3b34ef={_0x4ece4f:0x3b4,_0x3321e3:0x315,_0x5a1c67:0x272,_0xea188c:0x336,_0x2c82f3:0x5a3,_0x55ff9a:0x387,_0x1500d2:0x17e,_0x43be5b:0x1,_0x2fc717:0x203,_0x42bc74:0x3d7,_0x5913ad:0x5d3,_0x3e247f:0x44c,_0x1bbd60:0x5d,_0x244535:0x1aa,_0x53c131:0x186,_0x562afc:0x248,_0x44b7db:0xd5,_0x47b439:0x276,_0x16185d:0x180,_0x34aa58:0xce,_0x1b8a2b:0x64,_0xcca7ee:0x1e0,_0x5debf1:0x28,_0x12be2d:0x3c,_0x1f15e7:0x180,_0x129e85:0x7,_0x29d8a9:0x38a,_0x11e27a:0x19d,_0x356acb:0x531,_0x5ef82c:0x3c6,_0x1aa3c8:0x355,_0x21e8ed:0x3c0,_0x23fafc:0x374},_0x19e9f7={_0x516301:0x56,_0x13f56b:0x384},_0x2c5b03={_0x2cf8d0:0x5a},_0x5f4419=_0x472f9f(_0x3b34ef._0x4ece4f,0x666,_0x3b34ef._0x3321e3,0x4ea)in _0x211a66&&_0x211a66[_0x35f7ac(0x4e4,_0x3b34ef._0x5a1c67,0x48a,_0x3b34ef._0xea188c)]instanceof Headers?_0x211a66[_0x472f9f(_0x3b34ef._0x2c82f3,0x55f,0x484,0x4ea)]:null,_0x5d77c4=_0x5f4419?.[_0x35f7ac(_0x3b34ef._0x55ff9a,0xee,_0x3b34ef._0x1500d2,-_0x3b34ef._0x43be5b)](_0x35f7ac(0x32a,_0x3b34ef._0x2fc717,_0x3b34ef._0x42bc74,0x5f3))??null;function _0x472f9f(_0x85072b,_0x7bcbce,_0x3b3e89,_0x596523){return _0x577062(_0x85072b-0x13f,_0x3b3e89,_0x3b3e89-_0x2c5b03._0x2cf8d0,_0x596523-0x3e4);}const _0x108d1e=parseRetryAfterHeader(_0x5d77c4);if(_0x108d1e!==null)return Math[_0x472f9f(_0x3b34ef._0x5913ad,0x290,0x3cb,_0x3b34ef._0x3e247f)](_0x108d1e,this[_0x35f7ac(0x2b0,0x1d9,0x180,-_0x3b34ef._0x1bbd60)][_0x472f9f(_0x3b34ef._0x244535,_0x3b34ef._0x53c131,0x271,_0x3b34ef._0x562afc)]);function _0x35f7ac(_0x39f8f9,_0x30ec57,_0x4e3805,_0x390bec){return _0x577062(_0x39f8f9-0x154,_0x39f8f9,_0x4e3805-_0x19e9f7._0x516301,_0x4e3805-_0x19e9f7._0x13f56b);}return calculateBackoff(_0x431d04,this[_0x35f7ac(_0x3b34ef._0x44b7db,_0x3b34ef._0x47b439,_0x3b34ef._0x16185d,_0x3b34ef._0x34aa58)][_0x35f7ac(0x358,0x2f5,0x531,0x5b1)],this[_0x472f9f(-0xf,-_0x3b34ef._0x1b8a2b,0x3d,_0x3b34ef._0xcca7ee)][_0x472f9f(_0x3b34ef._0x5debf1,0x278,0xde,0x248)],this[_0x35f7ac(-_0x3b34ef._0x12be2d,0x348,_0x3b34ef._0x1f15e7,-_0x3b34ef._0x129e85)][_0x472f9f(_0x3b34ef._0x29d8a9,_0x3b34ef._0x11e27a,_0x3b34ef._0x356acb,_0x3b34ef._0x5ef82c)],this[_0x472f9f(_0x3b34ef._0x1aa3c8,_0x3b34ef._0x21e8ed,_0x3b34ef._0x23fafc,_0x3b34ef._0xcca7ee)]['jitterFactor']);}},CLIENT_ID='9d1c250a-e61b-44d9-88ed-5944d1962f5e',DEFAULT_BASE_URL='https://api.anthropic.com/v1',AnthropicAuthTransport=class{[_0x577062(-0x4c,-0x149,-0x1a9,-0x194)];[_0x1f0bf6(0x564,0x79f,0x3c6,0x3ac)];[_0x1f0bf6(0x1fc,0x132,0x213,0x61)];[_0x577062(0x18f,0x1b,-0x68,-0x85)];['oauth'];[_0x1f0bf6(0x20c,0xe5,0x3b6,0x142)];[_0x1f0bf6(0x283,0x2b3,0x2d8,0x2bf)]=null;constructor(_0xee5bff,_0x2fc80b){const _0x2fcaee={_0x7a0b6d:0x2ee,_0x11b729:0x2bd,_0x3b2067:0x40f,_0x473a04:0x6a0,_0x5027ed:0x4a0,_0x69abe2:0x56a,_0x482c05:0x3d4,_0x4d68e0:0x29a,_0x453a2f:0x9f,_0x3f66fe:0xda,_0x284422:0x2ea,_0x476ecf:0x183},_0x4ccacb={_0x3b039f:0x1d},_0x21af1b={_0x225456:0x351,_0xd6950a:0x6};function _0x17f601(_0x21f673,_0x40b3a5,_0x4e836,_0x5a22fa){return _0x1f0bf6(_0x40b3a5- -_0x21af1b._0x225456,_0x5a22fa,_0x4e836-_0x21af1b._0xd6950a,_0x5a22fa-0x40);}this[_0x17f601(-_0x2fcaee._0x7a0b6d,-0x136,-_0x2fcaee._0x11b729,-0x2a1)]=_0xee5bff,this['apiKey']=_0x2fc80b['apiKey'],this[_0x458f4a(_0x2fcaee._0x3b2067,0x4a0,0x4e9,_0x2fcaee._0x473a04)]=_0x2fc80b[_0x458f4a(0x403,_0x2fcaee._0x5027ed,_0x2fcaee._0x69abe2,_0x2fcaee._0x482c05)],this['baseUrl']=_0x2fc80b[_0x17f601(0x196,0x213,0x378,_0x2fcaee._0x4d68e0)]??DEFAULT_BASE_URL;function _0x458f4a(_0x80dbcd,_0x2c790b,_0x26286c,_0x47c722){return _0x1f0bf6(_0x2c790b- -_0x4ccacb._0x3b039f,_0x80dbcd,_0x26286c-0x16f,_0x47c722-0x120);}this[_0x458f4a(0x1b6,0x1ef,_0x2fcaee._0x453a2f,_0x2fcaee._0x3f66fe)]=_0x2fc80b['onTokenUpdate'],this[_0x458f4a(0x151,0x1df,_0x2fcaee._0x284422,0x348)]=_0x2fc80b[_0x17f601(-0xb2,0xdd,_0x2fcaee._0x476ecf,-0x21)];}async[_0x577062(-0x213,0x193,-0x19d,-0xb9)](){const _0x56f454={_0xf6ccab:0xb1,_0x5cb415:0x26d,_0x2c8f47:0x143,_0x4b358f:0x7b6,_0x38eea2:0x5e7,_0x48ae67:0x18,_0x327a86:0x435,_0x46a3d5:0x60,_0x54db49:0x209,_0x1e5dca:0x8,_0x4a5fd9:0x881,_0x4813a5:0xa1e,_0x1de2f6:0x7c9,_0x12553e:0x1b4,_0x52953e:0x193,_0x258885:0x159,_0x2231bf:0x26d,_0x2af34b:0x352,_0x366fdc:0x4da,_0x122dba:0x37d,_0x3d5b80:0x440,_0x4642f6:0x2ff,_0x18cce6:0x1d5,_0x175a64:0x20f,_0x1db352:0x2ad,_0x151eed:0x42c,_0x25076e:0x210,_0x136337:0x226,_0x210102:0xda,_0x29b383:0x26d},_0x50c0d2={_0x2ca78e:0x77,_0x220a71:0x108},_0x12fe38={_0x18ce1e:0x66,_0x5c7803:0xb5};function _0x5d7a55(_0x83ce7,_0xd8d0c4,_0x1a1c6b,_0x1919ca){return _0x1f0bf6(_0x83ce7-0x322,_0x1919ca,_0x1a1c6b-_0x12fe38._0x18ce1e,_0x1919ca-_0x12fe38._0x5c7803);}if(!this['oauth'])return{'type':_0x43a983(0x147,_0x56f454._0xf6ccab,_0x56f454._0x5cb415,_0x56f454._0x2c8f47)};function _0x43a983(_0x14afd9,_0x27df1b,_0x51cee9,_0x57d01f){return _0x1f0bf6(_0x51cee9- -0x16f,_0x14afd9,_0x51cee9-_0x50c0d2._0x2ca78e,_0x57d01f-_0x50c0d2._0x220a71);}try{const _0x3af625=await fetch(_0x5d7a55(_0x56f454._0x4b358f,0x658,_0x56f454._0x38eea2,0x964),{'method':'POST','headers':{'Content-Type':_0x43a983(0xff,-0xf6,-_0x56f454._0x48ae67,0x176)},'body':JSON[_0x43a983(_0x56f454._0x327a86,_0x56f454._0x46a3d5,_0x56f454._0x54db49,_0x56f454._0x1e5dca)]({'grant_type':_0x5d7a55(0x705,_0x56f454._0x4a5fd9,0x4c8,0x857),'refresh_token':this[_0x5d7a55(0x7df,0x763,_0x56f454._0x4813a5,_0x56f454._0x1de2f6)][_0x43a983(_0x56f454._0x12553e,_0x56f454._0x52953e,_0x56f454._0x258885,-0x78)],'client_id':CLIENT_ID})});if(!_0x3af625['ok'])return{'type':_0x43a983(0xca,0x4b1,_0x56f454._0x2231bf,_0x56f454._0x2af34b)};const _0x5e3105=await _0x3af625[_0x43a983(_0x56f454._0x366fdc,0x59f,0x38a,_0x56f454._0x122dba)]();return{'type':_0x43a983(0x329,_0x56f454._0x3d5b80,_0x56f454._0x4642f6,_0x56f454._0x18cce6),'access':_0x5e3105[_0x43a983(_0x56f454._0x175a64,0x1eb,_0x56f454._0x1db352,0x238)],'refresh':_0x5e3105[_0x43a983(0x28c,0x217,0x274,0x22a)],'expires':Date[_0x43a983(0x25d,_0x56f454._0x151eed,_0x56f454._0x25076e,_0x56f454._0x136337)]()+_0x5e3105[_0x43a983(-0x13,0x46,0x5,-_0x56f454._0x210102)]*0x3e8};}catch{return{'type':_0x43a983(0xd2,0x486,_0x56f454._0x29b383,0x274)};}}['updateCredentials'](_0x3c449c){const _0x4826ae={_0x4d20f6:0x58e,_0x593468:0x54b,_0x585f8a:0x1c8,_0x2d91f5:0x519,_0x293cd7:0x702,_0x5c6a67:0x5ff,_0x1fc1ff:0x80a,_0x4ddf2f:0x5d6,_0x55da1f:0x544,_0x64277d:0x32e,_0x1b5447:0x4a2,_0x15780c:0x6d1,_0x133d9d:0x852,_0x588dcd:0x1fb,_0x105456:0x620,_0x44c54a:0x581,_0x5baa04:0x2f5,_0x1da097:0x295,_0x27e63b:0x3f8,_0x3cd846:0x545,_0x1aade2:0x590,_0x18286f:0x71f},_0x1ad7af={_0x32fd37:0x1a9,_0x163e39:0x187},_0x2aa627={_0x245769:0x179,_0x347be9:0x193};function _0x300b94(_0x15f40d,_0x203b7b,_0x3e9680,_0x5850db){return _0x1f0bf6(_0x15f40d-0x142,_0x5850db,_0x3e9680-_0x2aa627._0x245769,_0x5850db-_0x2aa627._0x347be9);}function _0x3bbe57(_0x51d9a2,_0x5e727e,_0x42d11f,_0x28df30){return _0x577062(_0x51d9a2-_0x1ad7af._0x32fd37,_0x5e727e,_0x42d11f-0x8b,_0x28df30-_0x1ad7af._0x163e39);}_0x3c449c['type']===_0x300b94(0x5b0,0x68f,_0x4826ae._0x4d20f6,_0x4826ae._0x593468)&&_0x3c449c['access']&&_0x3c449c[_0x300b94(0x40a,0x241,0x1fc,_0x4826ae._0x585f8a)]&&_0x3c449c[_0x300b94(_0x4826ae._0x2d91f5,_0x4826ae._0x293cd7,0x3e2,0x51b)]&&(this[_0x300b94(_0x4826ae._0x5c6a67,_0x4826ae._0x1fc1ff,_0x4826ae._0x4ddf2f,0x836)]&&(this['oauth'][_0x3bbe57(_0x4826ae._0x55da1f,0x2c1,0x2ef,_0x4826ae._0x64277d)]=_0x3c449c[_0x300b94(0x698,_0x4826ae._0x1b5447,_0x4826ae._0x15780c,_0x4826ae._0x133d9d)],this['oauth'][_0x300b94(0x40a,_0x4826ae._0x588dcd,0x59b,_0x4826ae._0x105456)]=_0x3c449c[_0x300b94(0x40a,_0x4826ae._0x44c54a,0x2f6,_0x4826ae._0x5baa04)],this[_0x3bbe57(0x134,0x1f2,0x354,_0x4826ae._0x1da097)][_0x300b94(0x519,0x624,0x6c9,_0x4826ae._0x27e63b)]=_0x3c449c[_0x300b94(_0x4826ae._0x2d91f5,0x6d7,_0x4826ae._0x3cd846,_0x4826ae._0x1aade2)]),this['onTokenUpdate']?.({'access':_0x3c449c['access'],'refresh':_0x3c449c['refresh'],'expires':_0x3c449c[_0x300b94(0x519,0x4cd,0x59e,_0x4826ae._0x18286f)]}));}async[_0x577062(-0x2,0x92,-0x355,-0x16a)](){const _0x3a39dc={_0x1b80a6:0x5b6,_0x372ffd:0x8c6,_0x57665d:0x4d1,_0x707e87:0x1ff,_0x130a45:0xc0,_0x19b87a:0x305,_0x20a322:0x12,_0x55dfa7:0x69,_0x31f320:0x146,_0xe26934:0x1b0,_0xccc914:0x7c,_0x4c310e:0x296,_0x2c24fd:0x21d,_0x2d37a5:0xf3,_0x117e74:0xd7,_0x43454f:0x16f,_0x3f427f:0xd2,_0x12d5cf:0x87,_0xd84ad9:0x862,_0x311a93:0x2b9,_0x2c8e22:0x7c,_0x2bd6d1:0xcd},_0xe7e365={_0x25b174:0x303,_0x49cfec:0xd2},_0x4e66ed={_0x1d3f21:0xb0};function _0x442eeb(_0x5ea78c,_0x540aca,_0x3a774d,_0xa9e1cc){return _0x577062(_0x5ea78c-0x149,_0xa9e1cc,_0x3a774d-0x43,_0x5ea78c-_0x4e66ed._0x1d3f21);}if(!this[_0x2a8e97(_0x3a39dc._0x1b80a6,0x929,_0x3a39dc._0x372ffd,0x7c0)])return;if(this[_0x2a8e97(0x7a7,_0x3a39dc._0x57665d,0x4b6,0x586)]){const _0x2480a1=await this[_0x442eeb(-0x7c,-0x13,0x166,-0x1c7)];if(_0x2480a1[_0x442eeb(_0x3a39dc._0x707e87,0xc,_0x3a39dc._0x130a45,0x395)]===_0x442eeb(0xdd,0x2dc,_0x3a39dc._0x19b87a,-_0x3a39dc._0x20a322))throw new Error(_0x442eeb(_0x3a39dc._0x55dfa7,_0x3a39dc._0x31f320,-_0x3a39dc._0xe26934,0x2a1));return;}this[_0x442eeb(-_0x3a39dc._0xccc914,-_0x3a39dc._0x4c310e,-_0x3a39dc._0x2c24fd,-_0x3a39dc._0x2d37a5)]=this[_0x442eeb(-0x9,0x1db,0x15f,_0x3a39dc._0x117e74)]();function _0x2a8e97(_0x7cbf87,_0x3f8219,_0x1ba6b6,_0x3087b8){return _0x1f0bf6(_0x3087b8-_0xe7e365._0x25b174,_0x1ba6b6,_0x1ba6b6-0x1cf,_0x3087b8-_0xe7e365._0x49cfec);}try{const _0x212501=await this['refreshPromise'];if(_0x212501['type']===_0x442eeb(_0x3a39dc._0x43454f,_0x3a39dc._0x3f427f,0x16,-_0x3a39dc._0x12d5cf))this[_0x2a8e97(0x90e,0x9e9,0x8b3,_0x3a39dc._0xd84ad9)](_0x212501);else throw new Error(_0x442eeb(_0x3a39dc._0x55dfa7,-0x18c,0x201,_0x3a39dc._0x311a93));}finally{this[_0x442eeb(-_0x3a39dc._0x2c8e22,-_0x3a39dc._0x2bd6d1,0xf1,0x125)]=null;}}['buildFullUrl'](_0x57146b){const _0x416870={_0x442b6:0x6f2,_0xb72f33:0x65b,_0x3e7f1c:0x576},_0x3e0077={_0x57f363:0x9c};if(_0x57146b['startsWith']('/'))return''+this[_0x224fc8(_0x416870._0x442b6,0x600,_0x416870._0xb72f33,_0x416870._0x3e7f1c)]+_0x57146b;function _0x224fc8(_0x1cdbab,_0x23d5ab,_0x1aca40,_0x1398b1){return _0x1f0bf6(_0x23d5ab-_0x3e0077._0x57f363,_0x1cdbab,_0x1aca40-0x1f,_0x1398b1-0x162);}return _0x57146b;}['makeAuthHeaders'](_0x4812a8){const _0x2d4b8d={_0x51f31a:0x348,_0x1d0a9b:0x36d,_0x1dffd6:0x1de,_0x306dc5:0x5a4,_0x1edec5:0x740,_0x37ddcf:0x89a,_0x49bd99:0x76d,_0x4695b1:0x6d5},_0x5ac903={_0x1269f2:0x67e},_0x46a98c={_0x17a1ad:0x1a8},_0x180627={'anthropic-version':'2023-06-01','anthropic-beta':_0x5f1c76(0x1ac,_0x2d4b8d._0x51f31a,_0x2d4b8d._0x1d0a9b,0x433),..._0x4812a8||{}};function _0x5f1c76(_0x4a76f7,_0x276fd3,_0x1a28a3,_0x5f34fb){return _0x577062(_0x4a76f7-_0x46a98c._0x17a1ad,_0x276fd3,_0x1a28a3-0x1c0,_0x1a28a3-0x28c);}if(this[_0x5f1c76(_0x2d4b8d._0x1dffd6,0x312,0x39a,_0x2d4b8d._0x306dc5)])_0x180627['authorization']='Bearer\x20'+this['oauth']['access'];else this[_0x7e4a8e(0x5f9,_0x2d4b8d._0x1edec5,0x771,0x46a)]&&(_0x180627[_0x7e4a8e(0x73e,0x6c2,_0x2d4b8d._0x37ddcf,0x8b2)]=this[_0x7e4a8e(0x5f9,_0x2d4b8d._0x49bd99,0x5ad,_0x2d4b8d._0x4695b1)]);function _0x7e4a8e(_0x1a156b,_0x2b31ea,_0x3aea8f,_0x13a66a){return _0x577062(_0x1a156b-0x1cf,_0x3aea8f,_0x3aea8f-0x1c6,_0x1a156b-_0x5ac903._0x1269f2);}return _0x180627;}async[_0x1f0bf6(0x1a9,-0x24,0x3d6,0x4e)](_0x57ec9b,_0x101153,_0x36f4a4){const _0x2fed84={_0x44cc13:0x374,_0x1afa5c:0x228,_0x1540b5:0x49b,_0xde1743:0xe7,_0x678d62:0x322,_0x58cedb:0x152,_0x1ba7ca:0x122,_0x30176e:0x11c,_0x4d5b42:0x21,_0x3150ab:0x1df,_0x3129ca:0x662,_0x2a0889:0x430,_0x23bc43:0x2bd,_0x29f18a:0x4fc,_0x240396:0x4f2,_0x941804:0x141,_0x25dd1d:0x234,_0xd88104:0x32,_0x17358d:0x13e},_0x1b0eb5={_0x13f2e2:0x11,_0x2ea1af:0x9e,_0xd8e197:0x184},_0x5a56c3=this[_0x219f23(_0x2fed84._0x44cc13,_0x2fed84._0x1afa5c,_0x2fed84._0x1540b5,0x428)](_0x57ec9b);function _0x219f23(_0x54fbde,_0x2f2ea7,_0x40412d,_0x5b7cf3){return _0x1f0bf6(_0x54fbde- -0x134,_0x2f2ea7,_0x40412d-0xd5,_0x5b7cf3-0x16e);}let _0x774537=await this[_0x219f23(_0x2fed84._0xde1743,0x16c,_0x2fed84._0x678d62,-0x10)][_0x219f23(0x75,-_0x2fed84._0x58cedb,0x18c,-_0x2fed84._0x1ba7ca)](_0x5a56c3,this[_0x219f23(_0x2fed84._0x30176e,-_0x2fed84._0x4d5b42,_0x2fed84._0x3150ab,-0xfd)](_0x101153),_0x36f4a4);(_0x774537[_0xc1b3ff(_0x2fed84._0x3129ca,_0x2fed84._0x2a0889,0x559,0x4fc)]===0x191||_0x774537[_0xc1b3ff(0x643,_0x2fed84._0x23bc43,0x48c,_0x2fed84._0x29f18a)]===0x193)&&this[_0x219f23(0x389,0x515,0x17d,_0x2fed84._0x240396)]&&(await this[_0xc1b3ff(_0x2fed84._0x941804,0x3fd,0x257,_0x2fed84._0x25dd1d)](),_0x774537=await this[_0xc1b3ff(_0x2fed84._0xd88104,_0x2fed84._0x17358d,0xa9,0x20a)]['get'](_0x5a56c3,this['makeAuthHeaders'](_0x101153),_0x36f4a4));function _0xc1b3ff(_0x32df12,_0x5e653a,_0xcfc35e,_0x318b59){return _0x1f0bf6(_0x318b59- -_0x1b0eb5._0x13f2e2,_0x32df12,_0xcfc35e-_0x1b0eb5._0x2ea1af,_0x318b59-_0x1b0eb5._0xd8e197);}return _0x774537;}async[_0x1f0bf6(0x137,0x31f,-0x5e,0x31d)](_0x4c2955,_0x2a707b,_0x371b2f,_0x5d0308){const _0x2dcfec={_0xa8a0a7:0x4e5,_0x36a948:0x4eb,_0x4885b4:0x2e6,_0x4d9314:0x307,_0x482f33:0x1d,_0x2e7f9b:0x38e,_0x2d3363:0x708,_0x2d3630:0x1cf,_0xc9db85:0x3f9,_0x2ad1d2:0x12c,_0x3af315:0x310,_0x14d3c5:0x24d,_0x32f1d1:0xed,_0x4bf521:0x3d},_0x2f3ce7={_0x337e2e:0x250},_0x13d477={_0x1543eb:0xcb},_0x1a6b24=this['buildFullUrl'](_0x4c2955);let _0x128c0d=await this[_0x391efd(_0x2dcfec._0xa8a0a7,_0x2dcfec._0x36a948,_0x2dcfec._0x4885b4,_0x2dcfec._0x4d9314)][_0x391efd(0x35b,-_0x2dcfec._0x482f33,0x202,_0x2dcfec._0x2e7f9b)](_0x1a6b24,_0x2a707b,this[_0x3e6e63(-0x13a,-0x140,0x0,-0xb4)](_0x371b2f),_0x5d0308);function _0x391efd(_0x12fc8f,_0x57f1c5,_0x13551e,_0x374e4d){return _0x1f0bf6(_0x13551e-_0x13d477._0x1543eb,_0x57f1c5,_0x13551e-0x183,_0x374e4d-0xf2);}(_0x128c0d['status']===0x191||_0x128c0d[_0x391efd(_0x2dcfec._0x2d3363,0x5e6,0x5d8,0x55d)]===0x193)&&this[_0x3e6e63(_0x2dcfec._0x2d3630,0x32d,0x26d,_0x2dcfec._0xc9db85)]&&(await this[_0x391efd(_0x2dcfec._0x2ad1d2,0x355,_0x2dcfec._0x3af315,0x1c0)](),_0x128c0d=await this[_0x391efd(0x3b6,0x270,_0x2dcfec._0x4885b4,0x32f)][_0x3e6e63(-0x193,-_0x2dcfec._0x14d3c5,-0x119,-_0x2dcfec._0x32f1d1)](_0x1a6b24,_0x2a707b,this[_0x3e6e63(0x12b,-_0x2dcfec._0x4bf521,0x0,-0x50)](_0x371b2f),_0x5d0308));function _0x3e6e63(_0x2494ab,_0x35e261,_0xd20b97,_0x243d95){return _0x1f0bf6(_0xd20b97- -_0x2f3ce7._0x337e2e,_0x243d95,_0xd20b97-0x9c,_0x243d95-0x1a4);}return _0x128c0d;}[_0x1f0bf6(0x25e,0x46b,0x36b,0x43c)](){const _0xcd4879={_0x1e80d0:0x9f},_0x510c67={_0x35fcc3:0x14c,_0x4ec314:0xf1};function _0x523701(_0x317906,_0xe047e7,_0x5c7170,_0x3fe410){return _0x1f0bf6(_0xe047e7- -0x29b,_0x5c7170,_0x5c7170-_0x510c67._0x35fcc3,_0x3fe410-_0x510c67._0x4ec314);}return new RetryTransport(this,this[_0x523701(0x16b,-_0xcd4879._0x1e80d0,-0x2de,0x180)]);}[_0x577062(0x39f,0x14d,0xb7,0x1b8)](){const _0x274857={_0x4d3d82:0x28c,_0x2c2dca:0x493,_0x3a5928:0x376,_0x31684e:0x71},_0x1117cf={_0x3bca96:0x279,_0x479069:0x22d,_0x1dcc29:0x334,_0x24f1e2:0x447,_0x4c1f87:0x36a,_0x53a29c:0xc7,_0x21ff3d:0xcc,_0x1295d7:0x55,_0x39ec3b:0x230,_0x5a4caa:0xf0,_0x507692:0x1e,_0x484673:0x304,_0xfad8bf:0x218,_0x429598:0x422,_0x22e222:0x188,_0x46ace4:0x1a,_0x148b9c:0x2b2,_0x1c648a:0x194,_0x114b5c:0x41,_0x5968e4:0x5a,_0x490014:0x29a},_0x50f885={_0x810ac6:0x32a,_0x27c5f3:0x17d},_0x1a9a08={_0x5e0b26:0x5dd},_0x193fe3={_0x122849:0x90},_0x3fd1db={_0x5bda72:0x25,_0x2fbcff:0x74,_0xe2e51d:0x11c,_0x5f11bb:0x1a3,_0x191bc6:0x149,_0x228c5a:0x1c,_0xc2ced:0x1b0,_0x369098:0x9b,_0x81add5:0x2b8,_0x378cb1:0x124,_0x5715f6:0x31c,_0x84d761:0xf2,_0x3a32dc:0x360,_0x552559:0x1d6,_0x1b112c:0x5a,_0x325ff9:0x174,_0x11141a:0x210,_0x4c9b0c:0x7f,_0x16f8ec:0x1f4,_0x1036c3:0x2a2,_0x549b47:0x302,_0x2e205f:0x17e,_0x39c019:0x1a4,_0x1f0737:0x55,_0x52e0e4:0x170,_0x6cc511:0x5c,_0x5a3ebe:0x186,_0x9b87a0:0x167,_0x77a6ed:0x7f,_0x2e9978:0x31,_0x36c42b:0x108},_0x184637=async(_0xc525e1,_0x30c7cd)=>{let _0x23bbe2=_0x30c7cd;if(this[_0x1fadfe(_0x3fd1db._0x5bda72,_0x3fd1db._0x2fbcff,0x124,-0x13)]){const _0xae01f6=new Headers(_0x23bbe2?.[_0x1fadfe(0x85,0x4,_0x3fd1db._0xe2e51d,-0x5e)]);_0xae01f6[_0x1fadfe(0x2f4,0x18a,_0x3fd1db._0x5f11bb,_0x3fd1db._0x191bc6)]('x-api-key'),_0xae01f6[_0x4ac0ea(-0x138,-_0x3fd1db._0x228c5a,_0x3fd1db._0xc2ced,0x89)](_0x4ac0ea(0x28d,0x23d,0x88,_0x3fd1db._0x369098),'Bearer\x20'+this[_0x1fadfe(_0x3fd1db._0x81add5,0x269,_0x3fd1db._0x378cb1,0x31d)][_0x4ac0ea(_0x3fd1db._0x5715f6,0x345,0x51d,0x309)]),_0xae01f6[_0x1fadfe(-0x35,-0xd8,-0x1a4,-0x1c3)](_0x1fadfe(_0x3fd1db._0x84d761,-_0x3fd1db._0x84d761,0x147,_0x3fd1db._0x3a32dc),_0x1fadfe(-0x41,-_0x3fd1db._0x552559,-0x179,-0x126)),_0x23bbe2={..._0x23bbe2,'headers':_0xae01f6};}function _0x4ac0ea(_0x21d644,_0xc0c4d6,_0x4a7c48,_0x3687c6){return _0x13d4(_0xc0c4d6- -0x1fd,_0x21d644);}const _0x1401c9=await fetch(_0xc525e1,_0x23bbe2);function _0x1fadfe(_0x24766b,_0x1a7fb0,_0x5970a9,_0x2723a2){return _0x13d4(_0x5970a9- -0x385,_0x1a7fb0);}if((_0x1401c9['status']===0x191||_0x1401c9[_0x1fadfe(-_0x3fd1db._0x1b112c,0x2c3,_0x3fd1db._0x325ff9,_0x3fd1db._0x11141a)]===0x193)&&this[_0x1fadfe(_0x3fd1db._0x4c9b0c,0x17a,_0x3fd1db._0x378cb1,0x283)]){await this[_0x1fadfe(-_0x3fd1db._0x16f8ec,-_0x3fd1db._0x1036c3,-0x154,-0x2f6)]();const _0x5a9fef=new Headers(_0x23bbe2?.[_0x1fadfe(_0x3fd1db._0x549b47,0x25,0x11c,_0x3fd1db._0x2e205f)]);return _0x5a9fef[_0x1fadfe(-0x31,-0x1da,-_0x3fd1db._0x39c019,_0x3fd1db._0x1f0737)](_0x4ac0ea(_0x3fd1db._0x52e0e4,0x23d,_0x3fd1db._0x6cc511,0x147),_0x4ac0ea(-0x132,0x9,_0x3fd1db._0x5a3ebe,_0x3fd1db._0x9b87a0)+this['oauth'][_0x1fadfe(-_0x3fd1db._0x77a6ed,_0x3fd1db._0x2e9978,0x1bd,_0x3fd1db._0x36c42b)]),_0x23bbe2={..._0x23bbe2,'headers':_0x5a9fef},fetch(_0xc525e1,_0x23bbe2);}return _0x1401c9;};function _0x226752(_0x30f5d2,_0x838b61,_0x35a827,_0x1e1e0e){return _0x1f0bf6(_0x30f5d2-_0x193fe3._0x122849,_0x1e1e0e,_0x35a827-0x1a5,_0x1e1e0e-0x29);}const _0x3566cb=new RetryTransport({'get':async(_0x24b401,_0x276446,_0x4a1ad6)=>{function _0x1e42ad(_0x1df9f7,_0x1a39e5,_0x4d2f56,_0x25292b){return _0x13d4(_0x1a39e5-0x1bb,_0x1df9f7);}return _0x184637(_0x24b401,{'method':_0x1e42ad(0x417,0x60b,_0x1a9a08._0x5e0b26,0x658),'headers':_0x276446,'signal':_0x4a1ad6});},'post':async(_0x4354a9,_0x5197ab,_0x213906,_0xf1ad50)=>{return _0x184637(_0x4354a9,{'method':'POST','headers':_0x213906,'body':typeof _0x5197ab==='string'?_0x5197ab:JSON['stringify'](_0x5197ab),'signal':_0xf1ad50});}},this[_0x226752(_0x274857._0x4d3d82,_0x274857._0x2c2dca,_0x274857._0x3a5928,_0x274857._0x31684e)]);return async(_0x11f69b,_0x3ab6e2)=>{const _0x4c6f5b={_0x161877:0x86};function _0x388554(_0x4ee3ac,_0x2b7478,_0x37cdda,_0x4db786){return _0x226752(_0x2b7478- -_0x50f885._0x810ac6,_0x2b7478-0x97,_0x37cdda-_0x50f885._0x27c5f3,_0x37cdda);}const _0x5cfac8=typeof _0x11f69b==='string'?_0x11f69b:_0x11f69b instanceof URL?_0x11f69b[_0x5a087b(_0x1117cf._0x3bca96,0x175,_0x1117cf._0x479069,_0x1117cf._0x1dcc29)]():_0x11f69b[_0x388554(0x8b,0x280,_0x1117cf._0x24f1e2,_0x1117cf._0x4c1f87)],_0x214ad5=_0x3ab6e2?.[_0x388554(-_0x1117cf._0x53a29c,_0x1117cf._0x21ff3d,-_0x1117cf._0x1295d7,0x27a)]?.[_0x5a087b(_0x1117cf._0x39ec3b,0x22e,_0x1117cf._0x5a4caa,0x298)]()??_0x5a087b(_0x1117cf._0x507692,0x188,_0x1117cf._0x484673,_0x1117cf._0xfad8bf);function _0x5a087b(_0x63348e,_0x3b033b,_0x12e0b9,_0x548719){return _0x226752(_0x3b033b- -0x36c,_0x3b033b-0xc7,_0x12e0b9-_0x4c6f5b._0x161877,_0x63348e);}const _0x12795d=_0x3ab6e2?.['headers']?Object[_0x388554(-0x2c7,-0x8c,0x159,-0xe4)](new Headers(_0x3ab6e2[_0x5a087b(0x28a,0x1d9,0x403,_0x1117cf._0x429598)])['entries']()):void 0x0;if(_0x214ad5===_0x5a087b(0x4,_0x1117cf._0x22e222,0x2ca,_0x1117cf._0x46ace4))return _0x3566cb[_0x5a087b(-_0x1117cf._0x148b9c,-0x133,-_0x1117cf._0x1c648a,_0x1117cf._0x114b5c)](_0x5cfac8,_0x12795d,_0x3ab6e2?.['signal']??void 0x0);return _0x3566cb['post'](_0x5cfac8,_0x3ab6e2?.[_0x5a087b(0xe7,_0x1117cf._0x5968e4,0x96,_0x1117cf._0x490014)],_0x12795d,_0x3ab6e2?.[_0x388554(-0x375,-0x1b8,-0x64,-0x1a3)]??void 0x0);};}[_0x577062(-0x243,-0x18e,-0x207,-0x153)](){const _0x163754={_0x2c961d:0x74a,_0x1723c5:0x871},_0x49e83e={_0x20ff18:0xba};function _0x4fd115(_0x3be2c3,_0x3648d6,_0x3e8041,_0x5aaf87){return _0x577062(_0x3be2c3-0xa1,_0x5aaf87,_0x3e8041-_0x49e83e._0x20ff18,_0x3648d6-0x487);}return this[_0x4fd115(0x63d,0x63c,_0x163754._0x2c961d,_0x163754._0x1723c5)];}[_0x577062(0xae,-0xa2,-0xf2,-0x143)](){const _0xa3d6b9={_0x173db2:0x9a4,_0x3490a7:0x685},_0x56a1de={_0x3ee32d:0x312,_0x13c4f1:0x121};function _0xcf01ae(_0x28562d,_0xe2df1d,_0x3ba7d9,_0x552bbf){return _0x1f0bf6(_0x28562d-_0x56a1de._0x3ee32d,_0x552bbf,_0x3ba7d9-0x13a,_0x552bbf-_0x56a1de._0x13c4f1);}return this[_0xcf01ae(0x7cf,_0xa3d6b9._0x173db2,_0xa3d6b9._0x3490a7,0x952)];}['getApiKey'](){const _0x28b7cd={_0x3684b5:0x270};function _0x3073c5(_0x1586b7,_0x138e3c,_0x16cd3c,_0xda5809){return _0x577062(_0x1586b7-0x115,_0x138e3c,_0x16cd3c-0x152,_0xda5809-_0x28b7cd._0x3684b5);}return this[_0x3073c5(0x27a,0x47,0x365,0x1eb)];}},BaseBearerAuthTransport=class{['inner'];[_0x577062(-0x219,-0x22,0xb0,-0x85)];['baseUrl'];[_0x1f0bf6(0x46c,0x50a,0x25a,0x314)];[_0x577062(-0x1ad,-0xe5,-0xb6,0x88)];constructor(_0x1caa70,_0x3df75a,_0x5bf4b4,_0x2a9b2b,_0x35ac03){const _0xa30ab5={_0x4d7191:0x6f,_0x38537f:0x115,_0x456057:0x300,_0x187649:0x194,_0x7debff:0xa,_0x41a8c2:0x250,_0x1c40c1:0x39e,_0x255101:0x5ec,_0x6d292a:0x5db,_0x35f469:0x562,_0xd69341:0x38a},_0x49e748={_0x8ae19a:0x2bb,_0x4d7193:0xc3,_0x2ba8b4:0x8d},_0x1cc79e={_0x4cf376:0x15b,_0x1fee92:0xc2};this[_0x41d076(0x32d,0x2dc,0x346,0x129)]=_0x1caa70,this[_0x231783(0x1d,_0xa30ab5._0x4d7191,_0xa30ab5._0x38537f,-0x11d)]=_0x3df75a,this[_0x231783(0x3cc,0x2a9,_0xa30ab5._0x456057,0x137)]=_0x5bf4b4??this[_0x231783(_0xa30ab5._0x187649,0xda,-_0xa30ab5._0x7debff,_0xa30ab5._0x41a8c2)](),this[_0x41d076(0x36a,_0xa30ab5._0x1c40c1,0x597,_0xa30ab5._0x255101)]=_0x2a9b2b;function _0x41d076(_0x108660,_0x37921d,_0x1511a1,_0x58f4b4){return _0x1f0bf6(_0x1511a1-0x12b,_0x37921d,_0x1511a1-_0x1cc79e._0x4cf376,_0x58f4b4-_0x1cc79e._0x1fee92);}function _0x231783(_0x294025,_0x29b356,_0x1e701d,_0x49d015){return _0x1f0bf6(_0x29b356- -_0x49e748._0x8ae19a,_0x294025,_0x1e701d-_0x49e748._0x4d7193,_0x49d015-_0x49e748._0x2ba8b4);}this[_0x41d076(0x485,_0xa30ab5._0x6d292a,_0xa30ab5._0x35f469,_0xa30ab5._0xd69341)]=_0x35ac03;}[_0x577062(0x340,-0x13d,-0xa8,0xf9)](_0x2d68c9){if(_0x2d68c9['startsWith']('/'))return''+this['baseUrl']+_0x2d68c9;return _0x2d68c9;}['makeAuthHeaders'](_0x11c73f){const _0x449305={_0x292809:0x787,_0x2c832c:0x7af,_0x5e7d71:0x748,_0x1efb6f:0x742,_0x405b3f:0x640,_0xaa5e5b:0x4df,_0x429049:0x1af,_0x42677f:0x3e2,_0x384aab:0x423,_0x472347:0x2a0,_0x532b93:0x6aa,_0x29aabb:0x4da,_0x963fab:0x77a,_0x56ff4e:0x289,_0x157cde:0x190,_0x41de9c:0x989,_0x4a9ce5:0x59e,_0x2a0f36:0x703,_0x2a89ff:0x180,_0x361fb6:0xa9,_0x2902bf:0x8a8,_0x4c95ec:0x77a},_0x5c11c4={_0x243faf:0x58,_0x572509:0x325},_0x21abd9={_0x17cd80:0xd3};function _0x2da184(_0x4ebb0a,_0x556003,_0x3697cc,_0x12691d){return _0x577062(_0x4ebb0a-0x9f,_0x556003,_0x3697cc-_0x21abd9._0x17cd80,_0x3697cc-0x6f2);}const _0x220e45=_0x11c73f?{..._0x11c73f}:{};!_0x220e45[_0x2da184(0x50a,_0x449305._0x292809,0x742,0x62a)]&&this[_0x2da184(0x9b9,0x78e,_0x449305._0x2c832c,0x616)]&&(_0x220e45[_0x2da184(0x5bc,_0x449305._0x5e7d71,_0x449305._0x1efb6f,0x5c7)]=_0x2da184(_0x449305._0x405b3f,0x394,0x446,0x270)+this[_0x4a07a1(_0x449305._0xaa5e5b,_0x449305._0x429049,_0x449305._0x42677f,0x507)]);this[_0x4a07a1(0x30c,_0x449305._0x384aab,_0x449305._0x472347,0x2a9)]&&this['apiKey'][_0x2da184(0x686,_0x449305._0x532b93,_0x449305._0x29aabb,0x5e0)]()!==''&&!this[_0x2da184(0x7c2,0x78d,_0x449305._0x963fab,0x8af)]?.['Authorization']&&(_0x220e45[_0x4a07a1(0x24e,0x6a8,0x47f,0x5b2)]=_0x4a07a1(_0x449305._0x56ff4e,-0x4f,_0x449305._0x157cde,0x28b)+this['apiKey']);function _0x4a07a1(_0x35b2ac,_0x521fc5,_0x396637,_0x7334d9){return _0x577062(_0x35b2ac-_0x5c11c4._0x243faf,_0x35b2ac,_0x396637-0x10f,_0x396637-_0x5c11c4._0x572509);}return this[_0x2da184(_0x449305._0x41de9c,_0x449305._0x4a9ce5,0x77a,_0x449305._0x2a0f36)]&&Object[_0x4a07a1(-_0x449305._0x2a89ff,0x3e,_0x449305._0x361fb6,-0x2d)](_0x220e45,this[_0x2da184(_0x449305._0x2902bf,0x886,_0x449305._0x4c95ec,0x9a7)]),_0x220e45;}async[_0x1f0bf6(0x1a9,0x312,0x32a,0x352)](_0x1af74b,_0x1d17fb,_0x524942){const _0x349e0b={_0x152fc3:0x66,_0x17ff5e:0x1c},_0x4fe3a8={_0x195742:0x20f,_0x3db17e:0xa},_0x2d8822=this['buildFullUrl'](_0x1af74b);function _0x29602c(_0x45da3e,_0x1162ad,_0x2fdd15,_0x14f43f){return _0x1f0bf6(_0x45da3e- -_0x4fe3a8._0x195742,_0x14f43f,_0x2fdd15-_0x4fe3a8._0x3db17e,_0x14f43f-0xc3);}return this['inner'][_0x29602c(-_0x349e0b._0x152fc3,-0x232,-0xd,_0x349e0b._0x17ff5e)](_0x2d8822,this['makeAuthHeaders'](_0x1d17fb),_0x524942);}async[_0x577062(-0x30a,-0x14c,-0x98,-0x278)](_0x34d8ea,_0xef26c1,_0x5cb8b9,_0x34ecb9){const _0x24fb15={_0x407746:0x5f0,_0x1717d3:0x6b5,_0x107953:0x449,_0x14e399:0x2c0,_0x1abdee:0x5a1,_0x4480a9:0x59b,_0x1a6cc4:0x1c0},_0x2e9849={_0x5708ee:0x102,_0x4051b5:0x5dd},_0x4c0bf2={_0x41132c:0x31f},_0x3c69b0=this[_0x7cb629(_0x24fb15._0x407746,0x6d6,0x7ff,_0x24fb15._0x1717d3)](_0x34d8ea);function _0x46eec9(_0x1c629b,_0x481bf5,_0x406f06,_0x2de049){return _0x577062(_0x1c629b-0x97,_0x1c629b,_0x406f06-0xa6,_0x481bf5-_0x4c0bf2._0x41132c);}function _0x7cb629(_0x55c942,_0x2d1be7,_0x17a7cf,_0x24edca){return _0x577062(_0x55c942-0x1ef,_0x55c942,_0x17a7cf-_0x2e9849._0x5708ee,_0x2d1be7-_0x2e9849._0x4051b5);}return this[_0x7cb629(0x4ba,_0x24fb15._0x107953,0x626,_0x24fb15._0x14e399)][_0x7cb629(_0x24fb15._0x1abdee,0x365,0x545,_0x24fb15._0x4480a9)](_0x3c69b0,_0xef26c1,this[_0x46eec9(-0x5d,_0x24fb15._0x1a6cc4,0x227,0x162)](_0x5cb8b9),_0x34ecb9);}},SimpleBearerAuthTransport=class extends BaseBearerAuthTransport{[_0x1f0bf6(0x3fa,0x26c,0x5af,0x59c)];constructor(_0x5361b4,_0xc3fd37,_0x190235,_0x2d227e,_0x3649c4,_0x2ff09e){const _0x5067f2={_0x587c5e:0x3b7,_0x41f02b:0x3ef,_0x934658:0x367,_0x3ab0fe:0x27c},_0x5593b3={_0x479d28:0x93,_0x2061fb:0x22};function _0x15b513(_0x1c7823,_0x1b0dba,_0x2f677c,_0x70bc81){return _0x1f0bf6(_0x2f677c- -_0x5593b3._0x479d28,_0x70bc81,_0x2f677c-_0x5593b3._0x2061fb,_0x70bc81-0x9c);}super(_0x5361b4,_0x190235,_0x2d227e??_0xc3fd37,_0x3649c4,_0x2ff09e),this[_0x15b513(_0x5067f2._0x587c5e,_0x5067f2._0x41f02b,_0x5067f2._0x934658,_0x5067f2._0x3ab0fe)]=_0xc3fd37;}[_0x1f0bf6(0x395,0x2b9,0x3f2,0x4da)](){const _0x3df8bd={_0x17ad4f:0x4e4},_0x5171b2={_0x66dfdc:0xea};function _0x525e9c(_0x42fd6f,_0x30a942,_0x2e4a45,_0x25738d){return _0x1f0bf6(_0x25738d-_0x5171b2._0x66dfdc,_0x2e4a45,_0x2e4a45-0x3,_0x25738d-0xdc);}return this[_0x525e9c(0x560,0x6ea,0x36b,_0x3df8bd._0x17ad4f)];}};function createTransport(_0x4a3c68,_0x34abac,_0x4db7a1,_0x20e527,_0x5b797e,_0x57befe){return new SimpleBearerAuthTransport(_0x4a3c68,_0x34abac,_0x4db7a1,_0x20e527,_0x5b797e,_0x57befe);}var LLMErrorTransport=class{constructor(_0x39b54d){const _0x9b17b2={_0x38582e:0x7,_0x405e48:0x97},_0x3c83ce={_0x916fd0:0x53};function _0x5e7bc1(_0x11d065,_0xc2a5b5,_0x3585fb,_0x289052){return _0x1f0bf6(_0xc2a5b5- -0x241,_0x11d065,_0x3585fb-_0x3c83ce._0x916fd0,_0x289052-0x9a);}this[_0x5e7bc1(-_0x9b17b2._0x38582e,-0x26,-0x252,_0x9b17b2._0x405e48)]=_0x39b54d;}async[_0x1f0bf6(0x1a9,0x3db,0x32f,0x245)](_0x1a034a,_0x58a2d0,_0x1e6651){const _0x2fd1c5={_0x4ce654:0x321,_0x5e0098:0x1e1,_0x37cbb9:0x1f2,_0x52076d:0xc0,_0x434ac2:0x361},_0x1ef5c4={_0x46cbef:0x132,_0x345f05:0x123},_0x2707ef={_0xb0289b:0x1e1};function _0x50cb84(_0xf1baf,_0x1e899e,_0x301a14,_0x2ea0f1){return _0x1f0bf6(_0x301a14-0x49,_0x2ea0f1,_0x301a14-_0x2707ef._0xb0289b,_0x2ea0f1-0x52);}function _0x27f484(_0x459a82,_0x334668,_0x13c701,_0x314919){return _0x577062(_0x459a82-_0x1ef5c4._0x46cbef,_0x334668,_0x13c701-_0x1ef5c4._0x345f05,_0x314919-0x399);}try{const _0x436fb5=await this[_0x27f484(_0x2fd1c5._0x4ce654,0x3fd,0x15a,0x205)][_0x50cb84(_0x2fd1c5._0x5e0098,0x328,_0x2fd1c5._0x37cbb9,_0x2fd1c5._0x52076d)](_0x1a034a,_0x58a2d0,_0x1e6651);if(!_0x436fb5['ok']){const _0x187ba0=await _0x436fb5[_0x50cb84(0x556,0x4d1,0x39b,0x4e1)]();this['throwLLMError'](_0x436fb5[_0x50cb84(_0x2fd1c5._0x434ac2,0x3a1,0x556,0x6c8)],_0x187ba0);}return _0x436fb5;}catch(_0x2f284a){this['handleError'](_0x2f284a);}}async[_0x577062(-0x10e,-0x409,-0x44c,-0x278)](_0xfe9663,_0x5b6ade,_0x333384,_0x49eee8){const _0x8d07aa={_0x36ae7b:0x495,_0x30af7e:0x429,_0x205caf:0x1e0,_0x6c36e2:0x1f6,_0x11a1a2:0x3d8,_0x47ba65:0x534,_0x516e9f:0x71b,_0x3ea39b:0x66b},_0x33d6a6={_0x392ca4:0x164},_0x2029dc={_0x5dc87f:0x1b,_0x36ac3e:0x111};function _0xd1bae0(_0x21b6b8,_0x48e49a,_0x579e95,_0x799b2e){return _0x1f0bf6(_0x579e95-0x20e,_0x799b2e,_0x579e95-_0x2029dc._0x5dc87f,_0x799b2e-_0x2029dc._0x36ac3e);}function _0x471074(_0x556551,_0x351034,_0x363136,_0x49887d){return _0x1f0bf6(_0x556551- -0x145,_0x363136,_0x363136-_0x33d6a6._0x392ca4,_0x49887d-0xf8);}try{const _0x1da146=await this[_0xd1bae0(_0x8d07aa._0x36ae7b,0x32a,_0x8d07aa._0x30af7e,0x4b9)][_0xd1bae0(_0x8d07aa._0x205caf,_0x8d07aa._0x6c36e2,0x345,0x20d)](_0xfe9663,_0x5b6ade,_0x333384,_0x49eee8);if(!_0x1da146['ok']){const _0x17f298=await _0x1da146[_0xd1bae0(0x793,_0x8d07aa._0x11a1a2,0x560,0x530)]();this[_0x471074(0x350,_0x8d07aa._0x30af7e,_0x8d07aa._0x47ba65,0x409)](_0x1da146[_0xd1bae0(0x603,0x8c8,_0x8d07aa._0x516e9f,_0x8d07aa._0x3ea39b)],_0x17f298);}return _0x1da146;}catch(_0x7e513d){this['handleError'](_0x7e513d);}}[_0x1f0bf6(0x495,0x3fd,0x607,0x369)](_0x5ea51b,_0x62e7fe){const _0x44062b={_0x46da05:0x492,_0x1af32a:0x28d,_0x517ba8:0x44c,_0x33a1ff:0x58c,_0x10aaf7:0x8cd,_0x2ffc0d:0x790,_0xf3462c:0x5b7,_0x281aec:0x401},_0x58d8fe={_0x34a9e4:0x184,_0x58b7e4:0x26},_0x110e80={_0x511df9:0x3c8,_0x38986f:0x5d,_0x5c5b26:0x79},_0x1d95fe=_0x62e7fe||_0x1d5c55(_0x44062b._0x46da05,_0x44062b._0x1af32a,0x63c,_0x44062b._0x517ba8)+_0x5ea51b;if(_0x5ea51b===0x1ad||_0x5ea51b===0x198)throw new LLMError(_0x3b031e(_0x44062b._0x33a1ff,0x478,0x3f1,0x37c),_0x5ea51b,!![]);else{if(_0x5ea51b===0x191||_0x5ea51b===0x193)throw new LLMError(_0x3b031e(_0x44062b._0x10aaf7,0x8b9,0x8b3,_0x44062b._0x2ffc0d),_0x5ea51b,![]);else{if(_0x5ea51b===0x190)throw new LLMError(_0x3b031e(_0x44062b._0xf3462c,0x652,0x7f0,0x791)+_0x1d95fe,_0x5ea51b,![]);else{if(isRetryableStatusCode(_0x5ea51b,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x1d5c55(0x3fd,0x4bc,_0x44062b._0x281aec,0x3df),_0x5ea51b,!![]);}}}function _0x3b031e(_0x3cfb62,_0x510fbf,_0x33ba54,_0x3dc77f){return _0x1f0bf6(_0x3cfb62-_0x110e80._0x511df9,_0x510fbf,_0x33ba54-_0x110e80._0x38986f,_0x3dc77f-_0x110e80._0x5c5b26);}function _0x1d5c55(_0x159ec7,_0xa08932,_0x5376ea,_0x539d4e){return _0x1f0bf6(_0x159ec7-_0x58d8fe._0x34a9e4,_0xa08932,_0x5376ea-_0x58d8fe._0x58b7e4,_0x539d4e-0x86);}throw new LLMError(_0x1d95fe,_0x5ea51b,![]);}['handleError'](_0x3184f8){const _0x268161={_0x15d1ee:0xa63,_0xab7682:0x649,_0x4ab61c:0x58c,_0x91cdde:0x705,_0x44d879:0x6d4,_0x1989f2:0x511,_0x325e90:0x5ff,_0x790ee6:0x531,_0x55fded:0x31e,_0x33eb28:0x2e7,_0x2b7531:0x239,_0x360a8f:0x25d,_0x24414a:0x30f,_0x3029d3:0x46c,_0x3a21b9:0x4d4,_0x3f1a54:0x356,_0x38f6da:0x439,_0x875a22:0x24,_0x394c59:0x335,_0x28bf5f:0x643,_0x5a5455:0x5b6,_0x5b84d1:0x2b3},_0x1d3ffc={_0x37aca1:0x43,_0x5db00f:0x1e1},_0x1a8797={_0x45bec4:0x770};if(_0x3184f8 instanceof LLMError)throw _0x3184f8;if(_0x3184f8 instanceof Error&&_0x3184f8[_0x16d0da(_0x268161._0x15d1ee,0x84b,0x86d,0x91c)]===_0x16d0da(0x9bb,_0x268161._0xab7682,0x7dc,_0x268161._0x4ab61c))throw new LLMError(_0x16d0da(_0x268161._0x91cdde,0x5c7,0x6f2,_0x268161._0x44d879),void 0x0,![],_0x3184f8);function _0x16d0da(_0x2ab4b1,_0x22d5cb,_0x2781cc,_0x281b45){return _0x577062(_0x2ab4b1-0x40,_0x22d5cb,_0x2781cc-0x119,_0x2781cc-_0x1a8797._0x45bec4);}if(_0x3184f8 instanceof Error){if(_0x3184f8[_0x16d0da(_0x268161._0x1989f2,_0x268161._0x325e90,_0x268161._0x790ee6,0x590)][_0x42dc3e(_0x268161._0x55fded,_0x268161._0x33eb28,0xcb,0x36d)](_0x42dc3e(_0x268161._0x2b7531,0x3c8,_0x268161._0x360a8f,_0x268161._0x24414a)))throw new LLMError(_0x16d0da(0x54e,_0x268161._0x3029d3,0x585,0x6ea),0x1ad,!![],_0x3184f8);const _0xd4960b=isRetryableError(_0x3184f8,DEFAULT_RETRYABLE_STATUS_CODES);if(_0xd4960b)throw new LLMError(_0x42dc3e(_0x268161._0x3a21b9,_0x268161._0x3f1a54,_0x268161._0x38f6da,0x260),void 0x0,!![],_0x3184f8);throw new LLMError(_0x3184f8[_0x42dc3e(0x1c5,0x1b3,_0x268161._0x875a22,_0x268161._0x394c59)],void 0x0,![],_0x3184f8);}function _0x42dc3e(_0x40f159,_0x2f8296,_0x2403eb,_0x26f5de){return _0x1f0bf6(_0x2f8296-_0x1d3ffc._0x37aca1,_0x40f159,_0x2403eb-0xb7,_0x26f5de-_0x1d3ffc._0x5db00f);}throw new LLMError(_0x42dc3e(_0x268161._0x28bf5f,0x412,_0x268161._0x5a5455,_0x268161._0x5b84d1),void 0x0,![],_0x3184f8);}};function mergeChoices(_0x316f1b){const _0x546966={_0x3b1eb7:0xae,_0x420e78:0x254,_0x48146e:0x18e,_0xbede6b:0x650,_0x55203a:0x5aa,_0x1f1f67:0x23b,_0x13676b:0x3e8,_0x15f17e:0x1a0,_0x1eeea6:0x2e9,_0x33e0cf:0x21f,_0x12e06f:0x169,_0x2c9f72:0x1c1,_0xabe6fc:0x55c,_0x26e657:0x612,_0x5d1990:0x35e,_0x14b8b6:0x21f,_0x371142:0x3b7,_0x294e67:0xbf,_0x36b4ec:0x3e2,_0x1f216f:0x5e2,_0x5449b8:0x369,_0x3860d3:0x2e4,_0x5f254b:0x3ed,_0x5ef410:0x3f4},_0x3f2553={_0x5c268c:0x173,_0xd2fb7d:0x5a},_0x3ccfa8={_0x42a81b:0x645,_0x550b09:0x82c,_0x288bea:0x4c4,_0x2a41e8:0x517,_0x2dd8db:0x4da,_0x9a8b7a:0x866,_0x3303d8:0x87e,_0x3a4791:0x8d5,_0x2e6011:0x6fa,_0x1016a1:0x683,_0x3f5c17:0x29a,_0x457416:0x5ab},_0x3a6506={_0x9a1930:0x1f0},_0x2ae262={_0x3c3b6a:0x474},_0x482e53=[],_0x381ab2=[];function _0x30d3d6(_0x1e7895,_0x238277,_0x37b04f,_0x28b7b7){return _0x577062(_0x1e7895-0xb5,_0x37b04f,_0x37b04f-0x1b6,_0x238277-_0x2ae262._0x3c3b6a);}const _0x3ba1ce={},_0x5e5b1d=_0x4746c5=>{function _0x1c823c(_0x37ad10,_0x136ae2,_0x615c5e,_0x508492){return _0x13d4(_0x136ae2-_0x3a6506._0x9a1930,_0x37ad10);}if(typeof _0x4746c5===_0x1c823c(0x7fc,_0x3ccfa8._0x42a81b,0x64d,_0x3ccfa8._0x550b09)){const _0x3ffc5c=_0x4746c5[_0x1cbce7(_0x3ccfa8._0x288bea,_0x3ccfa8._0x2a41e8,0x69f,0x3c2)]();if(_0x3ffc5c)_0x482e53['push'](_0x3ffc5c);return;}function _0x1cbce7(_0x5e34cf,_0x2a2b01,_0x28cbd7,_0xacc5b7){return _0x13d4(_0x2a2b01-0x394,_0xacc5b7);}if(Array[_0x1cbce7(0x488,0x4f6,_0x3ccfa8._0x2dd8db,0x3d9)](_0x4746c5))for(const _0x21917f of _0x4746c5){if(_0x21917f?.[_0x1cbce7(_0x3ccfa8._0x9a8b7a,_0x3ccfa8._0x3303d8,_0x3ccfa8._0x3a4791,0x80b)]===_0x1cbce7(0x548,0x6d2,_0x3ccfa8._0x2e6011,0x47e)){const _0x3a6ee0=_0x21917f[_0x1c823c(0x5e1,0x52e,0x532,_0x3ccfa8._0x1016a1)][_0x1c823c(0x52b,0x373,0x5b7,0x402)]();if(_0x3a6ee0)_0x482e53[_0x1cbce7(0x6a7,0x49d,_0x3ccfa8._0x3f5c17,_0x3ccfa8._0x457416)](_0x3a6ee0);}}};for(const _0x42aa84 of _0x316f1b||[]){const _0xec1bab=_0x42aa84?.[_0x30d3d6(_0x546966._0x3b1eb7,0x235,_0x546966._0x420e78,_0x546966._0x48146e)];if(!_0xec1bab)continue;_0x5e5b1d(_0xec1bab[_0x868ca3(0x682,_0x546966._0xbede6b,0x55c,_0x546966._0x55203a)]);if(Array[_0x30d3d6(0xe0,_0x546966._0x1f1f67,_0x546966._0x3b1eb7,0x2da)](_0xec1bab['tool_calls']))_0x381ab2[_0x868ca3(_0x546966._0x13676b,_0x546966._0x15f17e,0x290,0x419)](..._0xec1bab[_0x30d3d6(_0x546966._0x1eeea6,_0x546966._0x33e0cf,_0x546966._0x12e06f,_0x546966._0x2c9f72)]);const _0x2b0abf=[_0x868ca3(0x591,0x743,_0x546966._0xabe6fc,_0x546966._0x26e657),_0x30d3d6(_0x546966._0x5d1990,_0x546966._0x14b8b6,_0x546966._0x371142,_0x546966._0x294e67),_0x868ca3(0x4d3,0x384,0x365,_0x546966._0x36b4ec)];for(const _0x460a6a of Object[_0x868ca3(_0x546966._0x1f216f,0x625,0x4a8,0x2d2)](_0xec1bab)){!_0x2b0abf[_0x30d3d6(0x3ae,_0x546966._0x5449b8,0x183,_0x546966._0x3860d3)](_0x460a6a)&&(_0x3ba1ce[_0x460a6a]=_0xec1bab[_0x460a6a]);}}const _0x5d4422=_0x482e53[_0x868ca3(_0x546966._0x5f254b,0x3e2,0x511,_0x546966._0x5ef410)]('\x0a\x0a'),_0x136445=_0x381ab2['length']?_0x381ab2:void 0x0;function _0x868ca3(_0x4be1d4,_0x587427,_0xec0a22,_0x455deb){return _0x1f0bf6(_0xec0a22-_0x3f2553._0x5c268c,_0x455deb,_0xec0a22-_0x3f2553._0x5c268c,_0x455deb-_0x3f2553._0xd2fb7d);}return{'content':_0x5d4422,..._0x136445?{'tool_calls':_0x136445}:{},..._0x3ba1ce};}var LLMError=class _LLMError extends Error{constructor(_0x437307,_0x5eb326,_0x3de0a9=![],_0x47b237){const _0x42088e={_0x21e262:0x637,_0x11da61:0x4cc,_0x5605ab:0x40a,_0x4bf97d:0x434,_0x4b5c0d:0x5c2,_0x2c8654:0x209,_0x4b5bb9:0x266,_0x3c032f:0x3ef,_0x27a300:0x4a2,_0x4c2f08:0x1ef},_0x3f8be2={_0xee07e4:0x18b},_0x558433={_0x29138b:0xfc};super(_0x437307,_0x47b237?{'cause':_0x47b237}:void 0x0);function _0x1f1834(_0x269afe,_0x5b0b2e,_0x1cd22a,_0x233fbc){return _0x577062(_0x269afe-0x150,_0x233fbc,_0x1cd22a-_0x558433._0x29138b,_0x269afe-0x4d2);}this['statusCode']=_0x5eb326;function _0x2cc55c(_0x919d8f,_0x499ff6,_0xb64e51,_0x1ab77d){return _0x1f0bf6(_0x919d8f-_0x3f8be2._0xee07e4,_0x499ff6,_0xb64e51-0x23,_0x1ab77d-0x31);}this[_0x2cc55c(0x664,0x83d,0x431,0x4a7)]=_0x3de0a9,this[_0x2cc55c(_0x42088e._0x21e262,_0x42088e._0x11da61,_0x42088e._0x5605ab,_0x42088e._0x4bf97d)]=_0x1f1834(0x4b9,0x5af,_0x42088e._0x4b5c0d,0x6f1),Error[_0x2cc55c(0x3ef,_0x42088e._0x2c8654,_0x42088e._0x4b5bb9,0x3d6)]&&Error[_0x2cc55c(_0x42088e._0x3c032f,0x458,_0x42088e._0x27a300,_0x42088e._0x4c2f08)](this,_LLMError);}},BaseLLM=class{['transport']=null;[_0x577062(-0x202,-0x232,-0x2e3,-0xc8)];[_0x1f0bf6(0x517,0x671,0x5ef,0x482)]=![];[_0x577062(0xc,-0x274,-0x2b9,-0x1b3)];constructor(_0x287f60,_0x318328){const _0xcb4cbb={_0x5d997d:0x76d,_0x298052:0x64c,_0x3cef48:0x5bc,_0x29e229:0x30a,_0x4bdad0:0x270},_0x4e1f8c={_0x2694a3:0x3b1,_0x8a8286:0xb2},_0x47033c={_0x5b26ff:0x158,_0x2be658:0x1cf,_0x337687:0x4bd};this[_0x27327c(0x4c7,_0xcb4cbb._0x5d997d,0x698,0x8d9)]=_0x287f60;function _0x312bbf(_0x3b1762,_0x4ed1fd,_0x3618a6,_0x2ae07d){return _0x577062(_0x3b1762-_0x47033c._0x5b26ff,_0x3618a6,_0x3618a6-_0x47033c._0x2be658,_0x3b1762-_0x47033c._0x337687);}this[_0x312bbf(0x625,_0xcb4cbb._0x298052,0x737,_0xcb4cbb._0x3cef48)]=_0x318328?.['enablePromptCaching']??![];function _0x27327c(_0x41dfee,_0x231665,_0x3c9764,_0x89185b){return _0x1f0bf6(_0x3c9764-_0x4e1f8c._0x2694a3,_0x89185b,_0x3c9764-_0x4e1f8c._0x8a8286,_0x89185b-0x2c);}this[_0x312bbf(_0xcb4cbb._0x29e229,_0xcb4cbb._0x4bdad0,0x324,0x324)]=_0x318328?.['retry'];}['transformUsage'](_0x54449b){const _0x162918={_0x474654:0x56d,_0x5649fd:0x4c6,_0x55a48b:0x593,_0x50b596:0x47a,_0x360222:0xa9,_0x50bdd8:0x25b,_0x172916:0x660,_0x264d92:0x755,_0x57cf4d:0x2e4,_0x3c6cb8:0x224,_0x39adad:0x403,_0x101cb3:0x69,_0x2ff071:0x498,_0x3dd70a:0x1eb,_0x3787ff:0x317,_0x52bfa0:0x290,_0x3db360:0x201,_0x1f2754:0x45,_0x557ab7:0x3a1,_0x469e1c:0x1d4,_0xbc1c4:0x2c3,_0x3912dd:0x3ce,_0x489ce3:0x31f,_0x450303:0x2a7,_0x53a512:0x115,_0x2cf04b:0x77,_0x5dffa1:0x137},_0x1714e7={_0x56700e:0x3a,_0x316e5d:0x0,_0x30f7fe:0x98},_0x21d633={_0x13f716:0x55};function _0x9715a3(_0x341279,_0x368dd7,_0x17f371,_0x1c57e0){return _0x577062(_0x341279-_0x21d633._0x13f716,_0x341279,_0x17f371-0x53,_0x368dd7-0x336);}if(!_0x54449b)return void 0x0;const _0x58f74f=_0x54449b;function _0x1260d7(_0x4cf88d,_0xa4d489,_0xd1b8ae,_0x4c2e7b){return _0x1f0bf6(_0x4c2e7b- -_0x1714e7._0x56700e,_0xd1b8ae,_0xd1b8ae-_0x1714e7._0x316e5d,_0x4c2e7b-_0x1714e7._0x30f7fe);}const _0x2daae7=_0x58f74f['prompt_tokens']??_0x58f74f[_0x9715a3(_0x162918._0x474654,_0x162918._0x5649fd,_0x162918._0x55a48b,_0x162918._0x50b596)],_0x5f490a=_0x58f74f[_0x9715a3(-0xf8,_0x162918._0x360222,_0x162918._0x50bdd8,0x14)]??_0x58f74f[_0x1260d7(0x738,_0x162918._0x172916,_0x162918._0x264d92,0x521)],_0xc73f4b=_0x58f74f['total_tokens']??(_0x2daae7!=null&&_0x5f490a!=null?_0x2daae7+_0x5f490a:void 0x0),_0x5f0293=_0x58f74f[_0x9715a3(0x2b0,0x3ac,0x321,0x575)]??_0x58f74f[_0x9715a3(_0x162918._0x57cf4d,_0x162918._0x3c6cb8,_0x162918._0x39adad,_0x162918._0x101cb3)];return{'prompt_tokens':_0x2daae7,'completion_tokens':_0x5f490a,'total_tokens':_0xc73f4b,..._0x58f74f['reasoning_tokens']!==void 0x0&&{'reasoning_tokens':_0x58f74f[_0x1260d7(_0x162918._0x2ff071,_0x162918._0x3dd70a,0x463,0x337)]},..._0x58f74f[_0x9715a3(0x3e4,_0x162918._0x3787ff,0x48b,0x21d)]&&{'prompt_tokens_details':_0x58f74f[_0x9715a3(0x214,0x317,0x52d,_0x162918._0x52bfa0)]},..._0x58f74f['completion_tokens_details']&&{'completion_tokens_details':_0x58f74f[_0x1260d7(0x33,0x3fc,0x296,_0x162918._0x3db360)]},..._0x5f0293!==void 0x0&&{'cost':_0x5f0293},..._0x58f74f[_0x1260d7(_0x162918._0x1f2754,0x431,0x7b,0x213)]&&{'cost_details':_0x58f74f[_0x9715a3(_0x162918._0x557ab7,_0x162918._0x469e1c,_0x162918._0xbc1c4,0x221)]},..._0x58f74f[_0x1260d7(_0x162918._0x3912dd,0x393,0x18e,_0x162918._0x489ce3)]!==void 0x0&&{'cache_creation_input_tokens':_0x58f74f['cache_creation_input_tokens']},..._0x58f74f[_0x9715a3(_0x162918._0x450303,_0x162918._0x53a512,_0x162918._0x3787ff,-0x119)]!==void 0x0&&{'cache_read_input_tokens':_0x58f74f[_0x9715a3(-0x93,_0x162918._0x53a512,-_0x162918._0x2cf04b,_0x162918._0x5dffa1)]}};}['getTransport'](){const _0x5a90de={_0x3ade08:0x8b,_0x44fb60:0x180,_0x5cfa7b:0x1d4,_0x40a99b:0x983,_0x53a176:0x133},_0x36a1b4={_0x210272:0x153,_0x357d03:0x1aa},_0x1af0f0={_0x566e92:0x50,_0x1e14a1:0x9b};if(!this['transport'])this[_0x5eedd9(_0x5a90de._0x3ade08,_0x5a90de._0x44fb60,_0x5a90de._0x5cfa7b,0x108)]=this[_0x9e0d08(0x93e,0x6a1,0x7df,_0x5a90de._0x40a99b)]();function _0x5eedd9(_0x32159a,_0xc01072,_0x58ac05,_0x483098){return _0x1f0bf6(_0xc01072- -_0x1af0f0._0x566e92,_0x58ac05,_0x58ac05-0x187,_0x483098-_0x1af0f0._0x1e14a1);}function _0x9e0d08(_0x2e6c7e,_0x93596,_0x2a4a0a,_0x6059b2){return _0x1f0bf6(_0x2a4a0a-0x2f4,_0x2e6c7e,_0x2a4a0a-_0x36a1b4._0x210272,_0x6059b2-_0x36a1b4._0x357d03);}return this[_0x5eedd9(_0x5a90de._0x53a176,0x180,0x101,-0x20)];}[_0x1f0bf6(0x293,0x2f6,0x4a3,0x4e8)](_0x4c1584,_0x132dd5){const _0x1eaad3={_0x57d175:0x969,_0x1da9b9:0x598,_0x27f182:0x7a9},_0x4813b7={_0x4ae8b1:0x44,_0x433c6a:0x5,_0x575f3d:0xd7},_0x414f9a={_0x3e7396:0x31f,_0x194251:0x1a6};function _0x1f65f0(_0x41e195,_0x15feb4,_0x2e1e30,_0x5e7cd4){return _0x1f0bf6(_0x15feb4-_0x414f9a._0x3e7396,_0x2e1e30,_0x2e1e30-_0x414f9a._0x194251,_0x5e7cd4-0x106);}function _0x41be25(_0x11038a,_0x2702c2,_0x49a75e,_0x3523b6){return _0x577062(_0x11038a-_0x4813b7._0x4ae8b1,_0x3523b6,_0x49a75e-_0x4813b7._0x433c6a,_0x49a75e-_0x4813b7._0x575f3d);}if(_0x4c1584===0x1ad||_0x4c1584===0x198)throw new LLMError(_0x1f65f0(0x475,0x4e3,0x40f,0x54d),_0x4c1584,!![]);else{if(_0x4c1584===0x191||_0x4c1584===0x193)throw new LLMError(_0x1f65f0(0x7f8,0x824,0x631,_0x1eaad3._0x57d175),_0x4c1584,![]);else{if(_0x4c1584===0x190)throw new LLMError('Invalid\x20request:\x20'+_0x132dd5,_0x4c1584,![]);else{if(isRetryableStatusCode(_0x4c1584,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x1f65f0(0x65c,_0x1eaad3._0x1da9b9,0x3cf,_0x1eaad3._0x27f182),_0x4c1584,!![]);}}}throw new LLMError(_0x132dd5,_0x4c1584,![]);}[_0x577062(0x16,0x42,-0x121,0x6e)](_0x142e36){const _0x19d1c3={_0x1d19c4:0x84f,_0x21139a:0x861,_0x35684a:0x6d3,_0x39001d:0x731,_0x350da1:0x711,_0x35d180:0x845,_0x5bd708:0x8f2,_0x3ce4cf:0x684,_0x2f66ad:0x5f0,_0xaffcb5:0x70f,_0x275997:0x8b8,_0x1a4314:0x23a,_0x599c30:0x21f,_0x38bc03:0x9,_0xb747a1:0x70f,_0x36749d:0x673,_0x34bf2d:0x893,_0x347350:0x20c,_0x352560:0x746,_0x44209c:0x590,_0x36c283:0x6af,_0x5f45ae:0x60e,_0x1b1cc5:0x8aa,_0x116d0b:0x421,_0x1bfda1:0x3e,_0x53afc6:0x627,_0x19538d:0x812,_0x23d829:0x69d,_0x4cd599:0x865,_0x2768c8:0x908,_0x4517fb:0x90a,_0x2af944:0x946,_0x55c9b2:0x321,_0x4932f8:0x20e,_0x29955c:0x7b3,_0x19a3bb:0x62f,_0x2e683d:0x59,_0x4f66bb:0x30f,_0x4f0925:0x25f,_0x2b6c11:0x70f,_0x527b21:0x865,_0xacaad3:0x5b9,_0x512f7a:0x564,_0x19fbd4:0x7f4,_0x77f07:0x5c1,_0x27e5cf:0x1a2,_0x2a914b:0x5ea,_0x45eb68:0xc0,_0x387a0a:0x18b,_0x154ffd:0x3,_0x3917a8:0x338,_0x45c521:0x1d6,_0x61bf30:0x2d9,_0x5c868f:0xf6,_0x10fa6f:0x44b,_0x1069b3:0xc3,_0x260375:0x746,_0x528821:0x641,_0x4d55e1:0x7de,_0x1b12e0:0x4f3,_0x16cec7:0x4eb,_0x2566b5:0x7a2,_0x274887:0x6,_0x5759f9:0x168,_0x5f116f:0x997,_0x407a7e:0xec,_0x1eab82:0x8c5,_0x390328:0x7b3,_0x4f805f:0x939,_0x29bce5:0x932},_0x209b5f={_0x1bea0c:0x35d,_0x188d0f:0x1b3},_0x163d30={_0x143a30:0x5a9,_0x9d3176:0x785,_0x49c35d:0x7dd,_0x2891a0:0x750,_0x3b0112:0x580},_0x24fa3b={_0x2fbb45:0x171};if(!this[_0xa6fc7d(0x874,_0x19d1c3._0x1d19c4,_0x19d1c3._0x21139a,_0x19d1c3._0x35684a)])return _0x142e36;const _0x3c1970=_0x142e36[_0xa6fc7d(0x8be,_0x19d1c3._0x39001d,0x7c8,0x7dc)][_0xa6fc7d(_0x19d1c3._0x350da1,_0x19d1c3._0x35d180,_0x19d1c3._0x5bd708,0x68c)](_0x3458df=>{function _0x2abf5d(_0x398d17,_0x4bea86,_0x1892a5,_0x1945db){return _0xa6fc7d(_0x4bea86-0x3f,_0x4bea86-0x11d,_0x1892a5-0x53,_0x398d17);}function _0x2f2b99(_0x2846e8,_0x5f4777,_0x3c6451,_0x413a50){return _0x1b77a5(_0x5f4777- -0x3e,_0x5f4777-0x1a2,_0x413a50,_0x413a50-_0x24fa3b._0x2fbb45);}if(typeof _0x3458df['content']==='string'||_0x3458df[_0x2abf5d(_0x163d30._0x143a30,_0x163d30._0x9d3176,0x755,0x9b3)]===null)return _0x3458df;return{..._0x3458df,'content':_0x3458df[_0x2abf5d(0x581,0x785,_0x163d30._0x49c35d,0x611)][_0x2abf5d(0x96d,_0x163d30._0x2891a0,0x73e,_0x163d30._0x3b0112)](_0x27a3fb=>({..._0x27a3fb}))};}),_0x2d23e1=_0x3c1970[_0xa6fc7d(_0x19d1c3._0x3ce4cf,0x6c3,_0x19d1c3._0x2f66ad,0x4f2)](_0xbbde90=>_0xbbde90[_0xa6fc7d(0x54f,0x49f,0x6c8,0x38d)]===_0xa6fc7d(0x69d,0x570,0x742,0x4b2));if(_0x2d23e1[_0xa6fc7d(_0x19d1c3._0xaffcb5,_0x19d1c3._0x275997,0x8f2,0x614)]>0x0)for(let _0xbddf27=0x0;_0xbddf27<Math[_0x1b77a5(_0x19d1c3._0x1a4314,_0x19d1c3._0x599c30,-0x1a,_0x19d1c3._0x38bc03)](0x2,_0x2d23e1[_0xa6fc7d(_0x19d1c3._0xb747a1,0x923,_0x19d1c3._0x36749d,_0x19d1c3._0x34bf2d)]);_0xbddf27++){const _0x36027b=_0x2d23e1[_0xbddf27];if(_0x36027b&&typeof _0x36027b[_0x1b77a5(_0x19d1c3._0x347350,0xa2,0x2d0,0x68)]===_0x1b77a5(0x28c,0x445,0xe3,0x2b6)&&_0x36027b['content'])_0x36027b[_0xa6fc7d(_0x19d1c3._0x352560,0x73e,_0x19d1c3._0x44209c,0x7bd)]=[{'type':_0xa6fc7d(_0x19d1c3._0x36c283,_0x19d1c3._0x5f45ae,_0x19d1c3._0x1b1cc5,0x465),'text':_0x36027b[_0x1b77a5(0x20c,0x2f9,0x22a,_0x19d1c3._0x116d0b)],'cache_control':{'type':'ephemeral'}}];else{if(_0x36027b&&Array['isArray'](_0x36027b[_0x1b77a5(0x20c,_0x19d1c3._0x1bfda1,0x2c0,0x2a3)])){const _0x50988f=_0x36027b[_0xa6fc7d(0x746,0x578,_0x19d1c3._0x53afc6,_0x19d1c3._0x19538d)][_0x36027b[_0xa6fc7d(0x746,_0x19d1c3._0x23d829,_0x19d1c3._0x4cd599,0x87c)][_0xa6fc7d(0x70f,_0x19d1c3._0x2768c8,_0x19d1c3._0x4517fb,_0x19d1c3._0x2af944)]-0x1];_0x50988f?.[_0x1b77a5(_0x19d1c3._0x55c9b2,0x143,0x215,_0x19d1c3._0x4932f8)]==='text'&&(_0x50988f['cache_control']={'type':_0xa6fc7d(_0x19d1c3._0x29955c,0x9bf,0x776,_0x19d1c3._0x19a3bb)});}}}function _0xa6fc7d(_0x2af921,_0x145126,_0x1a9348,_0x42d6f6){return _0x1f0bf6(_0x2af921-_0x209b5f._0x1bea0c,_0x42d6f6,_0x1a9348-0x1cd,_0x42d6f6-_0x209b5f._0x188d0f);}const _0x27ee24=_0x3c1970[_0x1b77a5(0x14a,-_0x19d1c3._0x2e683d,_0x19d1c3._0x4f66bb,_0x19d1c3._0x4f0925)](_0x36dcc3=>_0x36dcc3['role']==='user'||_0x36dcc3['role']===_0xa6fc7d(0x530,0x76a,0x388,0x3c5)),_0x44f0ec=[];if(_0x27ee24[_0xa6fc7d(_0x19d1c3._0x2b6c11,_0x19d1c3._0x527b21,_0x19d1c3._0xacaad3,_0x19d1c3._0x512f7a)]>=0x2)for(let _0x5804f2=_0x27ee24[_0xa6fc7d(0x70f,0x8af,0x6e8,0x70a)]-0x2;_0x5804f2<_0x27ee24[_0xa6fc7d(_0x19d1c3._0xaffcb5,_0x19d1c3._0x19fbd4,0x744,0x757)];_0x5804f2++){const _0x311e54=_0x27ee24[_0x5804f2];if(_0x311e54){const _0xebba8c=_0x3c1970[_0xa6fc7d(0x5ea,_0x19d1c3._0x77f07,0x63b,0x818)](_0x311e54);if(_0xebba8c!==-0x1)_0x44f0ec['push'](_0xebba8c);}}else{if(_0x27ee24[_0x1b77a5(0x1d5,0xa7,_0x19d1c3._0x27e5cf,0x37d)]===0x1){const _0x1ef17e=_0x27ee24[0x0];if(_0x1ef17e){const _0x32cd4f=_0x3c1970[_0xa6fc7d(_0x19d1c3._0x2a914b,0x3ea,0x721,0x418)](_0x1ef17e);if(_0x32cd4f!==-0x1)_0x44f0ec[_0x1b77a5(-_0x19d1c3._0x45eb68,-_0x19d1c3._0x387a0a,-_0x19d1c3._0x154ffd,-0xfb)](_0x32cd4f);}}}for(const _0x57934c of _0x44f0ec){const _0x3d761a=_0x3c1970[_0x57934c];if(_0x3d761a&&typeof _0x3d761a[_0x1b77a5(_0x19d1c3._0x347350,_0x19d1c3._0x3917a8,_0x19d1c3._0x45c521,_0x19d1c3._0x61bf30)]===_0x1b77a5(0x28c,_0x19d1c3._0x5c868f,_0x19d1c3._0x10fa6f,_0x19d1c3._0x1069b3)&&_0x3d761a[_0xa6fc7d(_0x19d1c3._0x260375,0x981,0x665,_0x19d1c3._0x528821)])_0x3d761a[_0xa6fc7d(0x746,_0x19d1c3._0x4d55e1,_0x19d1c3._0x1b12e0,0x793)]=[{'type':_0xa6fc7d(0x6af,0x819,_0x19d1c3._0x16cec7,0x84a),'text':_0x3d761a[_0xa6fc7d(_0x19d1c3._0x352560,0x868,_0x19d1c3._0x2566b5,0x70e)],'cache_control':{'type':'ephemeral'}}];else{if(_0x3d761a&&Array[_0x1b77a5(-0x67,-_0x19d1c3._0x274887,0xa6,_0x19d1c3._0x5759f9)](_0x3d761a[_0xa6fc7d(_0x19d1c3._0x260375,_0x19d1c3._0x5f116f,0x787,0x7a1)])){const _0x3057=_0x3d761a['content'][_0x3d761a['content']['length']-0x1];_0x3057?.[_0x1b77a5(0x321,0x25e,_0x19d1c3._0x407a7e,0x38c)]==='text'&&(_0x3057[_0xa6fc7d(_0x19d1c3._0x1eab82,0xa09,0x889,0x9e7)]={'type':_0xa6fc7d(_0x19d1c3._0x390328,0x90e,_0x19d1c3._0x4f805f,_0x19d1c3._0x29bce5)});}}}function _0x1b77a5(_0xfd1c28,_0x462706,_0x229520,_0x243334){return _0x577062(_0xfd1c28-0xfe,_0x229520,_0x229520-0x116,_0xfd1c28-0x1d2);}return{..._0x142e36,'messages':_0x3c1970};}async[_0x577062(-0x1eb,-0xb,-0x13d,-0x61)](_0x14fdca,_0x43c4c0){const _0x43c89c={_0x2a0a5b:0x4ee,_0x94edff:0x4e2,_0x3c02c3:0x31f,_0xc4aa9e:0x370,_0x59e2f0:0x248,_0x5c9657:0x207,_0x34a01c:0x13d,_0x553786:0x5bf,_0x3baffe:0x54d,_0x34adb5:0x3b3,_0x5353bb:0x5c1,_0x2c0818:0x531,_0x4acbe9:0x228,_0x49be05:0x1df,_0x1be40f:0x377,_0x557c06:0x2d0,_0x46aaaa:0x131,_0x2ebe9e:0x53,_0x54a41e:0x17a,_0x3026a0:0x25a,_0x8d7401:0x4b8,_0x4b8418:0x578,_0x1cce59:0x696,_0x4a8e68:0x506,_0x76ea59:0x651,_0x2f8c57:0x373,_0x277a5a:0x508,_0x260b1d:0x39f,_0x5b1964:0x344,_0x179f1c:0x3e5,_0x1dc421:0x4ff,_0x3de013:0x3e8,_0x20e0ad:0x33e,_0x176769:0x3ae,_0x13cad5:0x5c9,_0x413a4f:0x337,_0x3f9e9b:0x197,_0x201da7:0xad,_0xa1279c:0x134,_0x489b3a:0x467,_0x3003aa:0x3e9,_0x323329:0x26f,_0x2fc168:0x3a4,_0x85c062:0xb,_0x5a7c1c:0x3ab,_0x2b2c97:0x412,_0x1e1140:0x804,_0x340c53:0x5fb,_0x21cd60:0x67b,_0xfb491c:0x592,_0x3d71e1:0x48e,_0x21055b:0x44e,_0x2f217a:0x1ae,_0x3f668e:0x4d,_0xb9afcf:0x31,_0x571716:0x1eb},_0x5214a2={_0x2dc7b9:0x5c,_0x158d7f:0x2b4},_0x37b813={_0x5f0a16:0x179},_0x14b764=this['applyCacheControl'](_0x14fdca),_0x4e1a18={'model':_0x14b764[_0x57dde9(0x3d7,_0x43c89c._0x2a0a5b,_0x43c89c._0x94edff,_0x43c89c._0x3c02c3)],'messages':_0x14b764[_0x3f64c8(0x561,0x538,0x466,_0x43c89c._0xc4aa9e)],'temperature':_0x14b764[_0x3f64c8(_0x43c89c._0x59e2f0,-0x1c,_0x43c89c._0x5c9657,_0x43c89c._0x34a01c)],'top_p':_0x14b764['topP'],'stream':![],..._0x14b764['maxTokens']!==void 0x0&&{'max_tokens':_0x14b764[_0x57dde9(0x66f,_0x43c89c._0x553786,0x42e,0x504)]},..._0x14b764[_0x57dde9(_0x43c89c._0x3baffe,0x48e,_0x43c89c._0x34adb5,_0x43c89c._0x5353bb)]&&{'reasoning':_0x14b764[_0x3f64c8(_0x43c89c._0x2c0818,0x171,0x344,_0x43c89c._0x4acbe9)]},..._0x14b764[_0x57dde9(0x27a,_0x43c89c._0x49be05,_0x43c89c._0x1be40f,_0x43c89c._0x557c06)]&&{'usage':_0x14b764[_0x3f64c8(_0x43c89c._0x46aaaa,-0x1b8,_0x43c89c._0x2ebe9e,_0x43c89c._0x54a41e)]}};if(_0x14b764[_0x57dde9(0x2b5,_0x43c89c._0x3026a0,_0x43c89c._0x8d7401,0x344)]&&_0x14b764[_0x57dde9(_0x43c89c._0x4b8418,0x248,0x26d,0x344)][_0x3f64c8(0x37d,0x4a9,0x2b7,0x215)]>0x0)_0x4e1a18['tools']=_0x14b764['tools'];if(_0x14b764[_0x57dde9(_0x43c89c._0x1cce59,_0x43c89c._0x4a8e68,_0x43c89c._0x76ea59,0x5c9)]&&_0x14b764[_0x57dde9(_0x43c89c._0x2f8c57,_0x43c89c._0x277a5a,_0x43c89c._0x260b1d,_0x43c89c._0x5b1964)]&&_0x14b764['tools'][_0x57dde9(_0x43c89c._0x179f1c,0x36b,_0x43c89c._0x1dc421,0x534)]>0x0)_0x4e1a18[_0x3f64c8(_0x43c89c._0x3de013,_0x43c89c._0x20e0ad,0x34c,0x25e)]=_0x14b764[_0x57dde9(_0x43c89c._0x176769,0x473,0x780,_0x43c89c._0x13cad5)];function _0x57dde9(_0x283d22,_0x31c456,_0x4365ed,_0x42eac8){return _0x1f0bf6(_0x42eac8-0x182,_0x4365ed,_0x4365ed-_0x37b813._0x5f0a16,_0x42eac8-0xf7);}const _0x558194=await this[_0x3f64c8(0x2e2,_0x43c89c._0x413a4f,_0x43c89c._0x3f9e9b,_0x43c89c._0x201da7)]()[_0x57dde9(_0x43c89c._0xa1279c,0x4b3,_0x43c89c._0x489b3a,0x2b9)]('/chat/completions',_0x4e1a18,void 0x0,_0x43c4c0);if(!_0x558194['ok']){const _0x136279=await _0x558194[_0x3f64c8(_0x43c89c._0x3003aa,_0x43c89c._0x323329,0x257,_0x43c89c._0x2fc168)]();this[_0x3f64c8(0x21d,-_0x43c89c._0x85c062,0x198,_0x43c89c._0x5a7c1c)](_0x558194['status'],_0x136279||'LLM\x20error\x20'+_0x558194[_0x3f64c8(0x313,0x48d,_0x43c89c._0x2b2c97,0x65a)]);}const _0x419335=await _0x558194[_0x57dde9(0x4be,_0x43c89c._0x1e1140,_0x43c89c._0x340c53,_0x43c89c._0x21cd60)](),_0x22a6c4=mergeChoices(_0x419335[_0x57dde9(_0x43c89c._0xfb491c,0x288,_0x43c89c._0x3d71e1,_0x43c89c._0x21055b)]),_0x5cf57e=this[_0x3f64c8(_0x43c89c._0x2f217a,-_0x43c89c._0x3f668e,_0x43c89c._0xb9afcf,-_0x43c89c._0x571716)](_0x419335['usage']);function _0x3f64c8(_0x23d674,_0x2c14d0,_0x58ae49,_0x56ea0b){return _0x577062(_0x23d674-_0x5214a2._0x2dc7b9,_0x56ea0b,_0x58ae49-0x115,_0x58ae49-_0x5214a2._0x158d7f);}return{..._0x22a6c4,..._0x5cf57e?{'usage':_0x5cf57e}:{}};}async[_0x577062(-0x2bf,-0xca,-0x3e,-0x21c)](_0x121b30,_0x2f2a0d={},_0xfc6230){const _0x56f726={_0x51c472:0x30e,_0x53e7b7:0x5c8,_0x578897:0x574,_0x2aca55:0x8c0,_0x2ce559:0x54e,_0x42c682:0x765,_0x55d7af:0x348,_0x4efc0c:0x61d,_0x3b4b37:0x6a7,_0x4729f2:0x798,_0x124475:0x586,_0x4a0fca:0x71d,_0x5117aa:0x745,_0x57b457:0x6c5,_0x5ce87b:0x4b3,_0x2165fd:0x643,_0x1ed2cb:0x498,_0x8b3f91:0x490,_0x261034:0x352,_0x22d1bc:0x374,_0x5256c2:0x3f4,_0x2eab38:0x1a8,_0x1e0f2:0x5f9,_0x5b357b:0x44a,_0x3dcf61:0x265,_0x4e2f75:0x1be,_0x3cefed:0x736,_0x5902a7:0x7a8,_0x5875c9:0x5bb,_0x538e60:0x45b,_0x3126b2:0x64b,_0x154e36:0x3a5,_0x37924a:0x40f,_0x8d7f45:0x29e,_0xa31e19:0x870,_0x449a90:0x5ec,_0x287db8:0x496,_0x4596b6:0x36e,_0x20910d:0x388,_0x1a106a:0x6fc,_0x446ef1:0x56b,_0x1239c4:0x476,_0x22e5c6:0x685,_0x1f6d79:0x27c,_0x25db17:0x8a8,_0x43861f:0x6eb,_0x448b35:0x6a1,_0x256afb:0x50a,_0x188a0f:0x31d,_0x9d96b2:0x2cd,_0x2106c9:0x4ec,_0x31077a:0x64d,_0x2b0f48:0x473,_0x294bd9:0x241,_0x3d797d:0x6cd,_0x3c1b14:0x598,_0x626563:0x4d5,_0x490626:0x665,_0x566446:0x82a,_0x74183a:0x501,_0x7e15b9:0x763,_0x1531f5:0x6a6,_0x4ec6a1:0x43b,_0x504a44:0x418,_0x463f2f:0x3de,_0xd03797:0x5c9,_0xc135e2:0x7a4,_0x32f301:0x5b6},_0xb57e2b={_0x5aed7b:0x3e9,_0x448df3:0x4b8,_0x166411:0x79b,_0x261b2f:0x2b6,_0x2d4e24:0x473,_0x724e65:0x30f,_0x5be223:0x45e,_0x383385:0x585,_0x3f1a28:0x866,_0x497f9e:0x662,_0x42f2a4:0x4c7,_0x583843:0x46c,_0x1c6c84:0x4f0,_0x2490f9:0x320,_0x31cfd7:0x68a,_0x1803ba:0x7ec,_0x51ac5b:0x7c3,_0xd541b6:0x64a,_0x42c763:0x310,_0xe4ffe7:0xaa,_0x189b6b:0x19f,_0x327cd6:0x24e,_0x260b58:0x48b,_0x2a52a4:0x60a,_0x373f8f:0x3e7,_0x34b81a:0x1b6,_0x3fcc92:0x4b5,_0x30a907:0x130,_0x24b602:0xae,_0x3e792e:0x8e,_0x593cd7:0x69b,_0x172a39:0x506,_0x536b72:0x4fb,_0x33a9fd:0x856,_0x7548c5:0xcf,_0x3b0f65:0x4d7,_0x5e2c9a:0x142,_0x29677c:0x2ae,_0x5a1301:0x1f6,_0xf12cb1:0x36b,_0x427a27:0x404,_0x198bee:0x261,_0x903c4e:0x5b5,_0x5b2dee:0x508,_0x5b68d9:0x3c1,_0x35a89e:0x5fe,_0x48d455:0x362,_0x5c9f35:0x11a,_0x1dd078:0x149,_0x388d74:0xfe,_0x17602e:0x554,_0x4ad897:0x5f9,_0xb35fdd:0x211,_0x2fdd54:0x334,_0x3aba00:0x50d,_0x47ff19:0x581,_0x221add:0x50a,_0xf62548:0x3a1,_0x4d80f9:0x506,_0x5b566f:0x212,_0x22d2eb:0x224,_0x4d4090:0x2c5,_0x31c96b:0x4c2,_0x216374:0x2e5,_0x4937e4:0x1dd,_0x2f004f:0x674,_0x66ddf9:0x636,_0x381bfe:0x1c3,_0x3ebb2d:0x2b7,_0x4e242e:0x118,_0x5319c0:0x126,_0x64f368:0x5ab,_0x54806c:0x681,_0x44d59b:0x23f,_0x2b81ba:0x210,_0x4e100b:0x323,_0x5b6656:0x2c3,_0x3b6b4a:0x542,_0x3d9c46:0x1af,_0x393139:0x1e4,_0x2d4455:0x359,_0x319866:0x36e,_0xc923a4:0x192,_0x38d734:0x9f,_0x261e15:0xfd,_0x44920f:0x33,_0x4bf26c:0x6e7,_0x49fb2d:0x7e4,_0xf70c62:0x5f8,_0x4c9312:0x5ea,_0x2e26d5:0x823,_0x3019e9:0x687,_0x5ce29a:0x23f,_0x4a8bc6:0xe7,_0x2fb42e:0x827,_0x5a727c:0x5ea,_0x280ba7:0x30d,_0x2b3bec:0x391,_0x3fb75e:0x3fb,_0x28035f:0x58e,_0x202bb5:0x43e,_0x5ec90d:0x1b2,_0x3e8363:0x510,_0x403d2a:0x24b,_0x436305:0x3fb,_0x21aa89:0x871,_0x24f681:0x7a3,_0x2c23e1:0x1d0,_0x1b3056:0x23f,_0x59eeab:0x296,_0x3e16d9:0x5e9,_0x151615:0x664,_0xcda0ae:0x4af,_0x1dc697:0x43d,_0x32f876:0x382},_0x37152c={_0x74bb35:0x16f,_0x3fb7ef:0xb3,_0x1b801e:0xc6},_0x18ed22={_0x182255:0x5b3},_0x3ddb29={_0x37b7b8:0x1e8},_0x13ec65=this[_0x248ae8(0x703,0x600,0x5d1,0x82d)](_0x121b30),_0x244e7a={'model':_0x13ec65[_0x248ae8(_0x56f726._0x51c472,0x380,_0x56f726._0x53e7b7,_0x56f726._0x578897)],'messages':_0x13ec65[_0x4e6c7b(_0x56f726._0x2aca55,0x891,_0x56f726._0x2ce559,_0x56f726._0x42c682)],'temperature':_0x13ec65[_0x4e6c7b(_0x56f726._0x55d7af,0x326,_0x56f726._0x4efc0c,0x506)],'top_p':_0x13ec65['topP'],'stream':!![],..._0x13ec65['maxTokens']!==void 0x0&&{'max_tokens':_0x13ec65[_0x4e6c7b(_0x56f726._0x3b4b37,0x506,_0x56f726._0x4729f2,_0x56f726._0x124475)]},..._0x13ec65[_0x4e6c7b(0x850,_0x56f726._0x4a0fca,_0x56f726._0x5117aa,0x643)]&&{'reasoning':_0x13ec65[_0x4e6c7b(_0x56f726._0x57b457,0x541,_0x56f726._0x5ce87b,_0x56f726._0x2165fd)]},..._0x13ec65[_0x4e6c7b(_0x56f726._0x1ed2cb,_0x56f726._0x8b3f91,0x3c4,_0x56f726._0x261034)]&&{'usage':_0x13ec65[_0x4e6c7b(0x192,_0x56f726._0x22d1bc,_0x56f726._0x5256c2,0x352)]}};if(_0x13ec65[_0x4e6c7b(_0x56f726._0x2eab38,0x366,_0x56f726._0x1e0f2,0x3c6)]&&_0x13ec65[_0x4e6c7b(_0x56f726._0x5b357b,_0x56f726._0x3dcf61,_0x56f726._0x4e2f75,0x3c6)][_0x248ae8(_0x56f726._0x3cefed,0x595,_0x56f726._0x5902a7,0x62f)]>0x0)_0x244e7a[_0x248ae8(0x531,0x3a5,0x16a,_0x56f726._0x5875c9)]=_0x13ec65['tools'];if(_0x13ec65[_0x4e6c7b(_0x56f726._0x538e60,0x563,0x4d1,_0x56f726._0x3126b2)]&&_0x13ec65['tools']&&_0x13ec65[_0x248ae8(0x5f4,_0x56f726._0x154e36,_0x56f726._0x37924a,_0x56f726._0x8d7f45)]['length']>0x0)_0x244e7a[_0x248ae8(_0x56f726._0xa31e19,0x62a,0x879,0x644)]=_0x13ec65['tool_choice'];function _0x248ae8(_0x5f3152,_0x31cb1c,_0x1e5d6d,_0x593705){return _0x577062(_0x5f3152-0x9e,_0x593705,_0x1e5d6d-_0x3ddb29._0x37b7b8,_0x31cb1c-0x592);}const _0x20c3da=await this[_0x4e6c7b(0x500,0x2e2,_0x56f726._0x449a90,_0x56f726._0x287db8)]()['post'](_0x248ae8(_0x56f726._0x4596b6,_0x56f726._0x20910d,0x268,0x2c4),_0x244e7a,{'Accept':_0x4e6c7b(0x4fc,_0x56f726._0x1a106a,_0x56f726._0x446ef1,0x742)},_0xfc6230);function _0x4e6c7b(_0xf4cf77,_0x1cfa45,_0x23cdc8,_0x30d3e8){return _0x577062(_0xf4cf77-0x133,_0x23cdc8,_0x23cdc8-0x140,_0x30d3e8-_0x18ed22._0x182255);}if(!_0x20c3da['ok']){const _0x43944a=await _0x20c3da['text']();this[_0x248ae8(0x443,_0x56f726._0x1239c4,_0x56f726._0x22e5c6,_0x56f726._0x1f6d79)](_0x20c3da[_0x4e6c7b(0x67f,_0x56f726._0x25db17,_0x56f726._0x43861f,0x711)],_0x43944a||'LLM\x20error\x20'+_0x20c3da[_0x4e6c7b(0x75b,0x76b,0x7e9,0x711)]);}const _0x23d373=_0x20c3da[_0x4e6c7b(0x361,_0x56f726._0x448b35,0x367,0x53a)]?.[_0x248ae8(_0x56f726._0x256afb,_0x56f726._0x188a0f,0x3d7,0x135)]();if(!_0x23d373)return{'content':''};const _0x49d53d=new TextDecoder('utf-8');let _0x5e20fb='',_0x87fb1c='',_0x364640='';const _0x4daa04=[];let _0x42dccc,_0xc2a80b;const _0x51d8d6={},_0xeb8274=_0xa90afd=>{const _0xac4062={_0x3ac53d:0x129,_0x9771ac:0x261},_0x5af060=_0xa90afd[_0xf5ccc9(0x632,_0xb57e2b._0x5aed7b,0x491,0x620)]('\x0a');function _0x2bde7c(_0x134efa,_0x59d27a,_0x512f5b,_0x15f07a){return _0x248ae8(_0x134efa-_0xac4062._0x3ac53d,_0x512f5b- -_0xac4062._0x9771ac,_0x512f5b-0x117,_0x15f07a);}const _0x4ec8eb=[];function _0xf5ccc9(_0x27b3c7,_0xff0a35,_0x22a899,_0xaf6da7){return _0x4e6c7b(_0x27b3c7-_0x37152c._0x74bb35,_0xff0a35-_0x37152c._0x3fb7ef,_0x22a899,_0xaf6da7- -_0x37152c._0x1b801e);}for(const _0x22f1fc of _0x5af060){if(_0x22f1fc['startsWith'](_0xf5ccc9(_0xb57e2b._0x448df3,0x7d3,_0xb57e2b._0x166411,0x5c0)))_0x4ec8eb[_0xf5ccc9(0x407,_0xb57e2b._0x261b2f,_0xb57e2b._0x2d4e24,0x25b)](_0x22f1fc[_0xf5ccc9(0x2e2,0x525,_0xb57e2b._0x724e65,_0xb57e2b._0x5be223)](0x5)[_0xf5ccc9(_0xb57e2b._0x383385,0x6a1,_0xb57e2b._0x3f1a28,_0xb57e2b._0x497f9e)]());}if(_0x4ec8eb[_0xf5ccc9(_0xb57e2b._0x42f2a4,_0xb57e2b._0x583843,0x517,_0xb57e2b._0x1c6c84)]===0x0)return;const _0x4eb357=_0x4ec8eb[_0x2bde7c(0x370,0x38b,_0xb57e2b._0x2490f9,0x498)]('\x0a')[_0xf5ccc9(0x393,0x13c,0x1ca,0x2d5)]();if(!_0x4eb357||_0x4eb357===_0xf5ccc9(0x4e4,0x5bb,_0xb57e2b._0x31cfd7,0x666))return;try{const _0x5d3419=JSON[_0xf5ccc9(0x7f2,_0xb57e2b._0x1803ba,_0xb57e2b._0x51ac5b,_0xb57e2b._0xd541b6)](_0x4eb357),_0x4bd95f=Array[_0xf5ccc9(_0xb57e2b._0x42c763,0x2cd,_0xb57e2b._0xe4ffe7,0x2b4)](_0x5d3419[_0x2bde7c(_0xb57e2b._0x189b6b,0x2a0,_0xb57e2b._0x327cd6,0x101)])?_0x5d3419['choices']:[],_0x1a3ee3=_0x4bd95f['find'](_0x176a37=>_0x176a37['finish_reason']&&_0x176a37[_0xf5ccc9(0x5f2,0x479,0x2b6,0x3e7)]!==null)?.[_0xf5ccc9(_0xb57e2b._0x260b58,_0xb57e2b._0x2a52a4,0x43c,_0xb57e2b._0x373f8f)];_0x1a3ee3&&(_0xc2a80b=_0x1a3ee3);const _0x4a67c0=_0x5d3419[_0xf5ccc9(_0xb57e2b._0x34b81a,_0xb57e2b._0x3fcc92,0x350,0x28c)]||_0x4bd95f[0x0]?.['usage'];_0x4a67c0&&(_0x42dccc=this[_0x2bde7c(-0xe4,_0xb57e2b._0x30a907,_0xb57e2b._0x24b602,-_0xb57e2b._0x3e792e)](_0x4a67c0),_0x42dccc&&(_0xc2a80b&&_0x2f2a0d[_0xf5ccc9(0x54b,0x5c9,0x6b6,_0xb57e2b._0x593cd7)]?_0x2f2a0d[_0xf5ccc9(_0xb57e2b._0x172a39,_0xb57e2b._0x536b72,_0xb57e2b._0x33a9fd,0x69b)](_0xc2a80b,_0x42dccc):_0x2f2a0d['onUsage']?.(_0x42dccc)));for(const _0x7fb08d of _0x4bd95f){const _0x51662d=_0x7fb08d[_0x2bde7c(_0xb57e2b._0x7548c5,_0xb57e2b._0x3b0f65,0x30e,0x157)]??_0x7fb08d[_0xf5ccc9(0x1ea,0x435,_0xb57e2b._0x5e2c9a,_0xb57e2b._0x29677c)]??{},_0x46409f=_0x51662d[_0x2bde7c(0x20d,_0xb57e2b._0x5a1301,_0xb57e2b._0xf12cb1,_0xb57e2b._0x427a27)]??void 0x0,_0x150ae7=_0x51662d[_0x2bde7c(0x302,_0xb57e2b._0x198bee,0x47a,_0xb57e2b._0x903c4e)]??_0x51662d[_0x2bde7c(0x4d9,_0xb57e2b._0x5b2dee,_0xb57e2b._0x5b68d9,_0xb57e2b._0x35a89e)]??_0x51662d[_0x2bde7c(_0xb57e2b._0x48d455,_0xb57e2b._0x5c9f35,_0xb57e2b._0x1dd078,_0xb57e2b._0x388d74)]??void 0x0;typeof _0x150ae7===_0xf5ccc9(_0xb57e2b._0x17602e,_0xb57e2b._0x4ad897,0x5ce,0x5a7)&&_0x150ae7[_0x2bde7c(_0xb57e2b._0xb35fdd,0x56b,_0xb57e2b._0x2fdd54,_0xb57e2b._0x3aba00)]>0x0&&(_0x364640+=_0x150ae7,_0x2f2a0d[_0x2bde7c(0x5d4,_0xb57e2b._0x47ff19,0x390,0x3cd)]?.(_0x150ae7));if(typeof _0x46409f===_0x2bde7c(0x5c9,0x27f,0x3eb,0x2d7)&&_0x46409f[_0xf5ccc9(0x462,0x5ec,0x398,0x4f0)]>0x0){if(_0x87fb1c===''){const _0x1f7325=_0x46409f[_0x2bde7c(0x3de,_0xb57e2b._0x221add,_0xb57e2b._0xf62548,0x3cf)](/^\n+/,'');_0x1f7325&&(_0x87fb1c+=_0x1f7325,_0x2f2a0d[_0xf5ccc9(_0xb57e2b._0x4d80f9,_0xb57e2b._0x5b566f,0x536,0x3e0)]?.(_0x1f7325));}else _0x87fb1c+=_0x46409f,_0x2f2a0d[_0x2bde7c(0x14c,0x1,_0xb57e2b._0x22d2eb,_0xb57e2b._0x4d4090)]?.(_0x46409f);}const _0x34c059=['role',_0xf5ccc9(_0xb57e2b._0x31c96b,0x405,_0xb57e2b._0x216374,0x527),_0x2bde7c(-0x24,0x1fc,0xdc,0x128),_0x2bde7c(_0xb57e2b._0x4937e4,0x229,0x3c1,0x2ab),_0xf5ccc9(0x783,0x840,_0xb57e2b._0x2f004f,_0xb57e2b._0x66ddf9),'reasoning_text'];for(const _0x414c4c of Object[_0x2bde7c(_0xb57e2b._0x381bfe,0x311,_0xb57e2b._0x3ebb2d,0x2b2)](_0x51662d)){if(_0x34c059['includes'](_0x414c4c))continue;const _0x5581c9=_0x51662d[_0x414c4c];if(typeof _0x5581c9===_0x2bde7c(0x48f,0x380,0x3eb,0x5ef))_0x51d8d6[_0x414c4c]=(_0x51d8d6[_0x414c4c]||'')+_0x5581c9;else _0x5581c9!==void 0x0&&_0x5581c9!==null&&(_0x51d8d6[_0x414c4c]=_0x5581c9);}const _0x521bfe=Array['isArray'](_0x51662d[_0x2bde7c(-0x6,_0xb57e2b._0x4e242e,0xdc,-0x4c)])?_0x51662d[_0xf5ccc9(_0xb57e2b._0x5319c0,0xf0,0x3cb,0x298)]:[];for(const _0x10961c of _0x521bfe){let _0x44de33;if(_0x10961c['id'])_0x44de33=_0x4daa04[_0xf5ccc9(_0xb57e2b._0x64f368,0x724,0x59d,_0xb57e2b._0x54806c)](_0x43255c=>_0x43255c['id']===_0x10961c['id']),!_0x44de33&&(_0x44de33={..._0x10961c,'id':_0x10961c['id'],'type':_0x2bde7c(0x135,0xec,_0xb57e2b._0x44d59b,_0xb57e2b._0x2b81ba),'function':{'name':_0x10961c[_0x2bde7c(0x12c,_0xb57e2b._0x4e100b,0x23f,0x25c)]?.['name']??'','arguments':''}},_0x4daa04[_0xf5ccc9(0x495,0x485,_0xb57e2b._0x5b6656,0x25b)](_0x44de33));else{if(_0x4daa04['length']>0x0)_0x44de33=_0x4daa04[_0x4daa04[_0x2bde7c(0x12c,_0xb57e2b._0x3b6b4a,_0xb57e2b._0x2fdd54,0x37d)]-0x1];else{const _0x4f206c=_0x10961c[_0x2bde7c(_0xb57e2b._0x3d9c46,0x1eb,0x1b9,0x1d5)]??0x0;_0x44de33={'id':String(_0x4f206c),'type':_0x2bde7c(_0xb57e2b._0x393139,_0xb57e2b._0x2d4455,0x23f,0x2f2),'function':{'name':_0x10961c[_0xf5ccc9(_0xb57e2b._0x319866,0x3ac,0x203,0x3fb)]?.['name']??'','arguments':''}},_0x4daa04[_0x2bde7c(_0xb57e2b._0xc923a4,-0xd8,_0xb57e2b._0x38d734,0x98)](_0x44de33);}}typeof _0x10961c[_0x2bde7c(_0xb57e2b._0x261e15,0x149,0x23f,_0xb57e2b._0x44920f)]?.['name']===_0xf5ccc9(_0xb57e2b._0x4bf26c,_0xb57e2b._0x49fb2d,0x45e,0x5a7)&&_0x10961c['function'][_0xf5ccc9(0x834,_0xb57e2b._0xf70c62,0x524,_0xb57e2b._0x4c9312)]&&(_0x44de33[_0xf5ccc9(0x428,0x5d9,0x316,0x3fb)][_0xf5ccc9(_0xb57e2b._0x2e26d5,0x6be,_0xb57e2b._0x3019e9,0x5ea)]=_0x10961c[_0x2bde7c(0x178,0x2b1,_0xb57e2b._0x5ce29a,_0xb57e2b._0x4a8bc6)][_0xf5ccc9(_0xb57e2b._0x2fb42e,0x7a4,0x4bd,_0xb57e2b._0x5a727c)]);typeof _0x10961c[_0xf5ccc9(_0xb57e2b._0x280ba7,0x49d,_0xb57e2b._0x2b3bec,_0xb57e2b._0x3fb75e)]?.[_0xf5ccc9(_0xb57e2b._0x28035f,_0xb57e2b._0x202bb5,0x6f1,0x678)]===_0xf5ccc9(0x5e3,0x435,0x641,0x5a7)&&_0x10961c[_0xf5ccc9(_0xb57e2b._0x5ec90d,_0xb57e2b._0x3e8363,0x529,0x3fb)]['arguments']&&(_0x44de33[_0xf5ccc9(0x5ad,_0xb57e2b._0x403d2a,0x5cc,_0xb57e2b._0x436305)][_0xf5ccc9(_0xb57e2b._0x21aa89,_0xb57e2b._0x24f681,0x700,0x678)]+=_0x10961c[_0x2bde7c(_0xb57e2b._0x2c23e1,0xf6,_0xb57e2b._0x1b3056,_0xb57e2b._0x59eeab)][_0x2bde7c(_0xb57e2b._0x3e16d9,_0xb57e2b._0x151615,0x4bc,_0xb57e2b._0xcda0ae)]);if(_0x2f2a0d[_0x2bde7c(0x249,0x403,0x22f,0x19d)])_0x2f2a0d[_0x2bde7c(_0xb57e2b._0x1dc697,0x198,0x22f,_0xb57e2b._0x32f876)](_0x44de33);}}}catch{}};while(!![]){const {value:_0xe184ac,done:_0x2138a3}=await _0x23d373[_0x4e6c7b(_0x56f726._0x9d96b2,0x29f,0x5da,0x38d)]();if(_0x2138a3)break;const _0x57b643=_0x49d53d[_0x4e6c7b(_0x56f726._0x2106c9,0x40a,0x757,_0x56f726._0x31077a)](_0xe184ac,{'stream':!![]});_0x5e20fb&&_0x57b643[_0x248ae8(_0x56f726._0x2b0f48,0x37a,_0x56f726._0x294bd9,0x1a4)]()[_0x4e6c7b(0x859,_0x56f726._0x3d797d,_0x56f726._0x3c1b14,0x724)](_0x248ae8(_0x56f726._0x626563,_0x56f726._0x490626,0x7fa,0x88e))&&!_0x5e20fb[_0x248ae8(0x5df,0x6a6,_0x56f726._0x566446,_0x56f726._0x74183a)]('\x0a\x0a')&&!_0x5e20fb[_0x248ae8(_0x56f726._0x7e15b9,_0x56f726._0x1531f5,0x6d8,0x7b3)]('\x0a')&&(_0x5e20fb+='\x0a\x0a');_0x5e20fb+=_0x57b643;const _0x43bf59=_0x5e20fb['split']('\x0a\x0a');_0x5e20fb=_0x43bf59[_0x248ae8(0x645,_0x56f726._0x4ec6a1,_0x56f726._0x504a44,0x499)]()??'';for(const _0x2a79b3 of _0x43bf59)_0xeb8274(_0x2a79b3);}if(_0x5e20fb[_0x4e6c7b(0x5c7,_0x56f726._0x463f2f,0x34c,0x39b)]())_0xeb8274(_0x5e20fb);_0x87fb1c=_0x87fb1c['replace'](/^\n+/,'');const _0x27f04a=_0x4daa04[_0x4e6c7b(0x442,_0x56f726._0xd03797,_0x56f726._0xc135e2,_0x56f726._0x32f301)]?_0x4daa04:void 0x0;return{'content':_0x87fb1c,..._0x27f04a?{'tool_calls':_0x27f04a}:{},..._0x42dccc?{'usage':_0x42dccc}:{},..._0x364640&&{'reasoning':_0x364640},..._0x51d8d6};}};function normalizeModelLimits(_0x27100e,_0x69d18a){const _0x151f26={_0x53291d:0x588,_0x82da37:0x21f,_0x1fbfb1:0x75e,_0xc190db:0x547,_0x3b10aa:0x816,_0x5e9040:0x498,_0x211d92:0x60d,_0x4db39a:0x499,_0x58307a:0x691,_0x32b9a5:0x39b,_0x2c3aa2:0x4d0,_0x363d95:0x5ee,_0x7c3bed:0x30d,_0x2387b0:0x730,_0x5831ab:0x96d,_0x2ec1d8:0x185,_0x998e61:0x3b8,_0x96c50d:0x2b6,_0x579d96:0x2e6,_0x23db1f:0x662,_0x17a786:0x65a,_0x4aa648:0x33e,_0x4da7dc:0x2e6,_0x1330bd:0x58d,_0x339391:0x316,_0x5eba90:0x488,_0x4a1ffd:0x58c,_0x8f54e7:0x428,_0x5b9ae0:0x29e,_0x4fd3ea:0x3f1},_0x5e7c0e={_0x13750b:0x193},_0x197129={_0x100901:0x652};function _0x4c5a12(_0x2bf681,_0x32e261,_0xa8264f,_0x426a8c){return _0x577062(_0x2bf681-0x123,_0x426a8c,_0xa8264f-0x29,_0x2bf681-_0x197129._0x100901);}function _0x2ddad1(_0x3a29f8,_0x2f039d,_0x19e664,_0x4b9642){return _0x1f0bf6(_0x2f039d-_0x5e7c0e._0x13750b,_0x4b9642,_0x19e664-0x186,_0x4b9642-0x8d);}switch(_0x27100e[_0x2ddad1(_0x151f26._0x53291d,0x362,_0x151f26._0x82da37,0x204)]()){case _0x4c5a12(_0x151f26._0x1fbfb1,_0x151f26._0xc190db,0x85e,_0x151f26._0x3b10aa):{const _0x51688c=_0x69d18a['capabilities'],_0x52d536=_0x51688c?.[_0x2ddad1(0x3ef,0x499,0x506,0x46d)],_0x57c526=_0x52d536?.['max_context_window_tokens'];if(!_0x57c526)return null;return{'contextWindow':_0x57c526,'maxOutput':_0x52d536?.['max_output_tokens']};}case _0x4c5a12(0x60d,_0x151f26._0x5e9040,0x5ab,0x4e1):{return getFallbackLimits(_0x4c5a12(_0x151f26._0x211d92,_0x151f26._0x4db39a,0x488,0x85e),_0x69d18a['id']);}case _0x2ddad1(_0x151f26._0x58307a,0x453,0x49d,_0x151f26._0x32b9a5):{const _0x9d7d27=_0x69d18a[_0x2ddad1(_0x151f26._0x2c3aa2,0x4c6,_0x151f26._0x363d95,_0x151f26._0x7c3bed)],_0x393fbe=_0x9d7d27?.['context_length'];if(!_0x393fbe)return null;return{'contextWindow':_0x393fbe,'maxOutput':_0x9d7d27?.[_0x4c5a12(_0x151f26._0x2387b0,_0x151f26._0x5831ab,0x5df,0x6b3)]};}case _0x2ddad1(_0x151f26._0x2ec1d8,_0x151f26._0x998e61,0x3b3,0x35b):{const _0x20303d=_0x69d18a[_0x2ddad1(_0x151f26._0x96c50d,_0x151f26._0x579d96,0xff,0x299)];if(!_0x20303d)return null;return{'contextWindow':_0x20303d};}case _0x4c5a12(0x6a4,_0x151f26._0x23db1f,0x86d,0x567):{const _0x1d4edf=_0x69d18a[_0x4c5a12(0x6b2,0x714,_0x151f26._0x17a786,0x4f0)],_0x522f2f=_0x69d18a[_0x2ddad1(_0x151f26._0x4aa648,_0x151f26._0x4da7dc,0x3f8,0xc9)]??_0x1d4edf?.[_0x4c5a12(0x3f6,_0x151f26._0x1330bd,_0x151f26._0x339391,0x550)];if(!_0x522f2f)return null;return{'contextWindow':_0x522f2f,'maxOutput':_0x1d4edf?.[_0x4c5a12(0x3f9,0x5ee,_0x151f26._0x5eba90,_0x151f26._0x4a1ffd)]};}default:{const _0x1d07d3=_0x69d18a[_0x2ddad1(_0x151f26._0x8f54e7,_0x151f26._0x4da7dc,_0x151f26._0x5b9ae0,_0x151f26._0x4fd3ea)];if(!_0x1d07d3)return null;return{'contextWindow':_0x1d07d3};}}}var FALLBACK_LIMITS={'zai':{'glm-4.7':{'contextWindow':0x30d40,'maxOutput':0x1f400},'glm-4.6':{'contextWindow':0x30d40,'maxOutput':0x1f400}},'openrouter':{'anthropic/claude-sonnet-4':{'contextWindow':0x30d40,'maxOutput':0x3e80},'anthropic/claude-3.5-sonnet':{'contextWindow':0x30d40,'maxOutput':0x2000},'openai/gpt-4o':{'contextWindow':0x1f400,'maxOutput':0x4000},'openai/gpt-4.1':{'contextWindow':0x1f400,'maxOutput':0x8000},'openai/gpt-4o-mini':{'contextWindow':0x1f400,'maxOutput':0x4000},'google/gemini-pro-1.5':{'contextWindow':0x200000,'maxOutput':0x2000},'meta-llama/llama-3.1-70b-instruct':{'contextWindow':0x20000,'maxOutput':0x20000}},'github':{'gpt-4.1':{'contextWindow':0x1f400,'maxOutput':0x4000},'gpt-4o':{'contextWindow':0x1f400,'maxOutput':0x4000},'gpt-4o-mini':{'contextWindow':0x1f400,'maxOutput':0x4000},'claude-sonnet-4':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-3.5-sonnet':{'contextWindow':0x30d40,'maxOutput':0x2000},'o1':{'contextWindow':0x30d40,'maxOutput':0x186a0},'o1-mini':{'contextWindow':0x1f400,'maxOutput':0x10000}},'deepinfra':{'meta-llama/Meta-Llama-3.1-70B-Instruct':{'contextWindow':0x20000,'maxOutput':0x20000},'meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo':{'contextWindow':0x20000,'maxOutput':0x20000},'Qwen/Qwen2.5-72B-Instruct':{'contextWindow':0x20000,'maxOutput':0x20000}},'moonshot':{'moonshot-v1-8k':{'contextWindow':0x2000},'moonshot-v1-32k':{'contextWindow':0x8000},'moonshot-v1-128k':{'contextWindow':0x20000},'kimi-k2-turbo-preview':{'contextWindow':0x40000}},'anthropic':{'claude-opus-4-5-20251101':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-haiku-4-5-20251001':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-sonnet-4-5-20250929':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-opus-4-1-20250805':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-opus-4-20250514':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-sonnet-4-20250514':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-3-7-sonnet-20250219':{'contextWindow':0x30d40,'maxOutput':0x2000},'claude-3-5-haiku-20241022':{'contextWindow':0x30d40,'maxOutput':0x2000},'claude-3-haiku-20240307':{'contextWindow':0x30d40,'maxOutput':0x1000},'claude-3-opus-20240229':{'contextWindow':0x30d40,'maxOutput':0x1000},'claude-sonnet-4-5':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-3-5-sonnet-20241022':{'contextWindow':0x30d40,'maxOutput':0x2000}}};function getFallbackLimits(_0x5bc241,_0x579de1){const _0x40bc4a={_0x4bd1fc:0x138,_0x1dc50a:0xc2},_0x2e19c2={_0x2873ea:0x23c,_0x529af7:0xf8,_0x7da339:0x126},_0x317db9=FALLBACK_LIMITS[_0x5bc241[_0x13c024(_0x40bc4a._0x4bd1fc,_0x40bc4a._0x1dc50a,-0x6d,0x64)]()];if(!_0x317db9)return null;function _0x13c024(_0x45d929,_0xc40303,_0x43404b,_0xa55c5a){return _0x1f0bf6(_0x43404b- -_0x2e19c2._0x2873ea,_0xa55c5a,_0x43404b-_0x2e19c2._0x529af7,_0xa55c5a-_0x2e19c2._0x7da339);}return _0x317db9[_0x579de1]??null;}function normalizeModelInfo(_0x236866,_0x57257e){const _0x3959d3={_0x15b745:0x566,_0x5c25f7:0x3d9,_0x5186a5:0x126,_0x551243:0x16d,_0x309754:0x352,_0x364677:0x1fd,_0x58930a:0x108,_0xb3558a:0x173,_0x524558:0x39b,_0x559867:0x223,_0x65be70:0x3e6,_0x277f75:0x2b7,_0x10733e:0x3c0,_0x4c9b24:0x2be,_0x31ee2c:0x42c,_0x200206:0x49f,_0x364ff6:0x445,_0x2161ee:0x404,_0x449540:0x36,_0x4b0444:0x1d0,_0x4e1e88:0x27d,_0x195274:0x476,_0x1e7bbc:0x4d6,_0x25e516:0x326,_0x3d15df:0x103,_0xef144b:0x157,_0x31c0ac:0x412,_0x256958:0x326,_0x1c0a95:0x4e,_0x2c6dcf:0x21d,_0x25b0c6:0x339,_0x1cb889:0x465},_0x556602={_0xe9f15:0x14,_0x2cb048:0x186},_0x3c8127={_0x145289:0xe4,_0x5d0342:0x1a4},_0xd6ea2a=_0x57257e['id'];function _0x45fc16(_0x228640,_0x21f5d4,_0x5618e1,_0x5640c4){return _0x577062(_0x228640-_0x3c8127._0x145289,_0x5640c4,_0x5618e1-_0x3c8127._0x5d0342,_0x5618e1-0x34d);}let _0x2ea834=_0x57257e[_0x5f4143(0x508,_0x3959d3._0x15b745,_0x3959d3._0x5c25f7,0x760)]??_0xd6ea2a;_0x236866[_0x45fc16(0x177,_0x3959d3._0x5186a5,_0x3959d3._0x551243,_0x3959d3._0x309754)]()===_0x45fc16(_0x3959d3._0x364677,_0x3959d3._0x58930a,0x308,0x53c)&&_0x57257e[_0x45fc16(_0x3959d3._0xb3558a,_0x3959d3._0x524558,_0x3959d3._0x559867,_0x3959d3._0x65be70)]&&(_0x2ea834=_0x57257e[_0x45fc16(0x13f,0x1c1,0x223,_0x3959d3._0x277f75)]);let _0x37d421=null;function _0x5f4143(_0xb19c7,_0x237486,_0xab0201,_0x56c118){return _0x1f0bf6(_0x237486-0xba,_0xb19c7,_0xab0201-_0x556602._0xe9f15,_0x56c118-_0x556602._0x2cb048);}if(_0x57257e[_0x5f4143(0x419,_0x3959d3._0x10733e,0x410,_0x3959d3._0x4c9b24)]&&typeof _0x57257e[_0x45fc16(_0x3959d3._0x31ee2c,_0x3959d3._0x200206,0x2a4,_0x3959d3._0x364ff6)]===_0x45fc16(_0x3959d3._0x2161ee,-_0x3959d3._0x449540,_0x3959d3._0x4b0444,_0x3959d3._0x4e1e88)){const _0x346e22=_0x57257e[_0x45fc16(0x3f6,0x9b,0x2a4,_0x3959d3._0x195274)];_0x346e22[_0x45fc16(0x4bf,_0x3959d3._0x1e7bbc,_0x3959d3._0x25e516,_0x3959d3._0x3d15df)]&&typeof _0x346e22[_0x45fc16(_0x3959d3._0xef144b,0x1c1,_0x3959d3._0x25e516,0x2a4)]===_0x5f4143(0x2d3,0x271,0x4b1,0x38b)&&(_0x37d421={'contextWindow':_0x346e22[_0x45fc16(_0x3959d3._0x31c0ac,0x1cd,_0x3959d3._0x256958,0x22c)],...typeof _0x346e22[_0x45fc16(0x2cd,_0x3959d3._0x1c0a95,_0x3959d3._0x2c6dcf,0x27a)]===_0x45fc16(0x19e,0x24e,0x155,0x127)&&{'maxOutput':_0x346e22[_0x5f4143(0x34a,_0x3959d3._0x25b0c6,_0x3959d3._0x1cb889,0x42a)]}});}return!_0x37d421&&(_0x37d421=normalizeModelLimits(_0x236866,_0x57257e)),{'id':_0xd6ea2a,'name':_0x2ea834,..._0x37d421?{'limits':_0x37d421}:{}};}function deduplicateModels(_0x564d21){const _0x380d6b={_0x1cceb1:0xcb,_0x5ea305:0x45,_0x1dbef1:0x8b,_0x5289f4:0x362,_0x3ee957:0xf0,_0x47b86b:0x269},_0x41622a={_0x5de278:0xc5};function _0x91ab46(_0x2489b0,_0x2c95e6,_0x1feb96,_0x8b9672){return _0x1f0bf6(_0x8b9672-0x211,_0x1feb96,_0x1feb96-0x193,_0x8b9672-0xa9);}const _0x1dea59=new Map();for(const _0x4bcdd6 of _0x564d21){!_0x1dea59[_0x19bd81(0x9e,-_0x380d6b._0x1cceb1,_0x380d6b._0x5ea305,_0x380d6b._0x1dbef1)](_0x4bcdd6['id'])&&_0x1dea59[_0x19bd81(-0x13d,-_0x380d6b._0x5289f4,0x7c,-0x380)](_0x4bcdd6['id'],_0x4bcdd6);}function _0x19bd81(_0xfd4f48,_0x29e441,_0x15a3d8,_0x4c820d){return _0x577062(_0xfd4f48-_0x41622a._0x5de278,_0x15a3d8,_0x15a3d8-0x103,_0xfd4f48-0x7d);}return Array[_0x19bd81(-_0x380d6b._0x3ee957,-_0x380d6b._0x47b86b,0x115,-0x23c)](_0x1dea59['values']());}var GithubLLM=class extends BaseLLM{[_0x577062(-0x3e1,-0x46e,-0x222,-0x23e)];constructor(_0x29f631={}){const _0x4289ef={_0x582715:0x64,_0xc77156:0x22a,_0x591d4b:0xe3,_0x1ea654:0x249,_0x4a6d17:0x157,_0x49c774:0x1da,_0x4957ae:0xf1},_0x4a1e23={_0xf7bea7:0xb1,_0x210cfd:0xea},_0x11177f={_0x380a91:0xb2};super(_0x29f631[_0x6cbadd(0x142,-_0x4289ef._0x582715,-0x26f,0x161)]??'https://api.individual.githubcopilot.com',{'retry':_0x29f631[_0x6cbadd(_0x4289ef._0xc77156,_0x4289ef._0x591d4b,_0x4289ef._0x1ea654,-0xd8)]});function _0x6cbadd(_0x3eab93,_0x3fe028,_0x1c9fc7,_0x4df32a){return _0x577062(_0x3eab93-_0x11177f._0x380a91,_0x1c9fc7,_0x1c9fc7-0x17d,_0x3fe028-0x64);}function _0x3ac7b2(_0x100645,_0x205b2e,_0x69492a,_0x99b55a){return _0x577062(_0x100645-_0x4a1e23._0xf7bea7,_0x100645,_0x69492a-_0x4a1e23._0x210cfd,_0x99b55a-0x25e);}this[_0x6cbadd(-_0x4289ef._0x4a6d17,-_0x4289ef._0x49c774,-0x3c8,-_0x4289ef._0x4957ae)]=_0x29f631;}[_0x1f0bf6(0x4eb,0x687,0x6bf,0x33a)](){const _0x33c627={_0x38f173:0x3d7,_0x2d7a7e:0x10a,_0x40e5df:0x520,_0x356645:0x42b,_0x4fdafc:0x639,_0x34beb6:0x2d6,_0x42ec9b:0x4f2,_0x135755:0x382,_0x58d95f:0x5c1,_0x8ff6cd:0x12e,_0x351810:0x4c8,_0x1f98b1:0x2c4,_0x403c31:0x12f,_0x478346:0x2d0,_0x3dfbea:0x464,_0x44edcb:0x3e8},_0x236b11={_0xd34240:0xd4,_0xfe9a8:0x11f,_0x1b7654:0x150},_0x2e5fd9={_0x41f300:0x18d};function _0x3dc0f7(_0x115e75,_0x4e80c1,_0x4a4da1,_0x187894){return _0x577062(_0x115e75-_0x2e5fd9._0x41f300,_0x4a4da1,_0x4a4da1-0x51,_0x187894-0x5c0);}const _0x568830=new FetchTransport({'persistFile':this[_0x299b21(0x245,_0x33c627._0x38f173,_0x33c627._0x2d7a7e,0x354)][_0x299b21(0x557,_0x33c627._0x40e5df,0x641,0x4c6)],'logLevel':_0x299b21(_0x33c627._0x356645,_0x33c627._0x4fdafc,_0x33c627._0x34beb6,0x679),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]}),_0x50e5a3=new GithubAuthTransport(_0x568830,{'baseUrl':this[_0x3dc0f7(0x1cb,_0x33c627._0x42ec9b,0x2cd,_0x33c627._0x135755)][_0x299b21(0x3bb,0x35d,0x3ac,_0x33c627._0x58d95f)],'apiKey':this[_0x3dc0f7(0x3da,0x2e8,_0x33c627._0x8ff6cd,0x382)][_0x3dc0f7(0x6f0,0x337,_0x33c627._0x351810,0x53b)],'accessToken':this['opts'][_0x299b21(_0x33c627._0x1f98b1,_0x33c627._0x403c31,0x478,0x11b)]});function _0x299b21(_0x34bf19,_0x41e25b,_0x187586,_0x3e2d01){return _0x1f0bf6(_0x34bf19-_0x236b11._0xd34240,_0x3e2d01,_0x187586-_0x236b11._0xfe9a8,_0x3e2d01-_0x236b11._0x1b7654);}const _0x544d0d=this[_0x299b21(_0x33c627._0x478346,_0x33c627._0x3dfbea,0x3e2,_0x33c627._0x44edcb)]?new RetryTransport(_0x50e5a3,this['retryConfig']):_0x50e5a3;return new LLMErrorTransport(_0x544d0d);}[_0x577062(-0x29a,-0x99,-0x2e7,-0x283)](_0x2bf365){const _0x443002={_0x263441:0x50e,_0x51b600:0x5ee,_0x450a2e:0x380,_0x31bf6c:0x2bd,_0x58ac43:0x127,_0x44e50:0x355,_0x2ebc07:0x19,_0x211c19:0xe3,_0xc35e32:0x7b,_0x127b21:0x1b0},_0x4e58ff={_0x226903:0xe0,_0x3b29d1:0x1af};function _0x2bb247(_0x3926fa,_0x2aa686,_0x45ce24,_0x13c14f){return _0x1f0bf6(_0x45ce24-0x19b,_0x2aa686,_0x45ce24-_0x4e58ff._0x226903,_0x13c14f-_0x4e58ff._0x3b29d1);}function _0x2fe4c8(_0x4176ec,_0x4c4f04,_0x23aeee,_0x5b14a7){return _0x1f0bf6(_0x4176ec- -0x3ab,_0x5b14a7,_0x23aeee-0xc0,_0x5b14a7-0x16e);}if(!_0x2bf365)return void 0x0;const _0x16e166=_0x2bf365;return{'prompt_tokens':_0x16e166[_0x2bb247(0x2ea,0x4d5,_0x443002._0x263441,_0x443002._0x51b600)],'completion_tokens':_0x16e166[_0x2bb247(0x3dd,_0x443002._0x450a2e,_0x443002._0x31bf6c,_0x443002._0x58ac43)],'total_tokens':_0x16e166[_0x2bb247(0x693,0x5a7,0x4be,_0x443002._0x44e50)],'prompt_tokens_details':_0x16e166[_0x2fe4c8(-0x1b,-0x1fe,_0x443002._0x2ebc07,-_0x443002._0x211c19)],'completion_tokens_details':_0x16e166[_0x2fe4c8(-0x170,_0x443002._0xc35e32,-_0x443002._0x127b21,-0x317)]};}async[_0x1f0bf6(0x1ec,0x14e,0x1a7,0x32c)](_0x1ab4b3){const _0x386ea5={_0x4e94c1:0x50,_0x289429:0x1c3,_0x451340:0x2ab,_0x48e976:0x300},_0x44be2e={_0x4fda0c:0x1f9,_0x5381d7:0x152},_0x25b592={_0x5d26fd:0x27e,_0x3f4d20:0x16b,_0x25f549:0x195},_0x9706b4=await this[_0x20e4a4(0x279,-0xce,0x99,0x1dc)]()[_0x20e4a4(-0x17d,-0x16f,-_0x386ea5._0x4e94c1,-_0x386ea5._0x289429)]('/models',void 0x0,_0x1ab4b3),_0x40c171=await _0x9706b4[_0x20e4a4(0x53e,_0x386ea5._0x451340,_0x386ea5._0x48e976,0x3b3)]();function _0x4593c8(_0x41f5d7,_0x10948a,_0x299854,_0xe8eb66){return _0x1f0bf6(_0x41f5d7-_0x25b592._0x5d26fd,_0xe8eb66,_0x299854-_0x25b592._0x3f4d20,_0xe8eb66-_0x25b592._0x25f549);}function _0x20e4a4(_0x528eeb,_0x2f3d5a,_0x51b2b0,_0x9ee01e){return _0x1f0bf6(_0x51b2b0- -_0x44be2e._0x4fda0c,_0x9ee01e,_0x51b2b0-_0x44be2e._0x5381d7,_0x9ee01e-0x8d);}const _0x35f767=_0x40c171['data']['map'](_0x1d5db3=>normalizeModelInfo(_0x20e4a4(0xb9,0x1ef,0x2c2,0x23d),_0x1d5db3));return deduplicateModels(_0x35f767);}['handleError'](_0x387656,_0x58b3b6){const _0x371b16={_0x537109:0x205,_0x335d7c:0xda,_0x229376:0x248,_0x19f477:0x439,_0x1ee3ba:0x334,_0x12eb29:0x4a1,_0x46589b:0x55,_0x9ec748:0x94,_0x4a365c:0x216,_0x1d9492:0xb3,_0x1260fc:0x311,_0x52cc3f:0x110,_0x3eb30c:0x1af,_0x607070:0x11,_0x1c0b4e:0x56a,_0xe24627:0x385,_0x41db62:0x445,_0x446eae:0x460,_0xc88bd:0x3f5,_0x23b23e:0xd4,_0x3e286b:0x162,_0xe8051e:0x209},_0x2dcc45={_0x38b3e9:0x1b0,_0x1783a0:0x444},_0x17261f={_0x1394c7:0x2d8,_0x1bf85b:0x63};function _0x1c30a6(_0x5cbeec,_0x247343,_0x422bd3,_0x4157bb){return _0x1f0bf6(_0x247343- -_0x17261f._0x1394c7,_0x5cbeec,_0x422bd3-0x1bc,_0x4157bb-_0x17261f._0x1bf85b);}function _0x4ff939(_0x49d0bb,_0x3c04fd,_0x27a16c,_0x2008e0){return _0x577062(_0x49d0bb-0x3f,_0x2008e0,_0x27a16c-_0x2dcc45._0x38b3e9,_0x3c04fd-_0x2dcc45._0x1783a0);}if(_0x387656 instanceof LLMError)try{let _0x242e5c=_0x387656[_0x4ff939(0x1b1,_0x371b16._0x537109,0x225,0x2a7)];_0x242e5c[_0x1c30a6(_0x371b16._0x335d7c,_0x371b16._0x229376,0x1eb,_0x371b16._0x19f477)](_0x1c30a6(-0xde,-0xe9,-0xbb,-_0x371b16._0x1ee3ba))&&(_0x242e5c=_0x242e5c['slice'](_0x4ff939(0x16f,0x284,_0x371b16._0x12eb29,0x132)[_0x1c30a6(-_0x371b16._0x46589b,_0x371b16._0x335d7c,-0xf2,_0x371b16._0x9ec748)]));const _0x44d4c6=JSON['parse'](_0x242e5c);if(_0x44d4c6?.['error']?.[_0x1c30a6(-_0x371b16._0x4a365c,-0x50,-0x241,0x0)]===_0x1c30a6(_0x371b16._0x1d9492,0x1d9,_0x371b16._0x1260fc,0x1bd))throw new LLMError(_0x4ff939(_0x371b16._0x52cc3f,_0x371b16._0x3eb30c,-_0x371b16._0x607070,0x15b)+_0x58b3b6+_0x4ff939(_0x371b16._0x1c0b4e,_0x371b16._0xe24627,_0x371b16._0x41db62,_0x371b16._0x446eae),_0x387656[_0x4ff939(0x1d9,0x2b6,_0x371b16._0xc88bd,_0x371b16._0x23b23e)],![]);}catch(_0x8bddef){if(_0x8bddef instanceof LLMError&&_0x8bddef[_0x4ff939(0x454,_0x371b16._0x537109,0x26b,0x455)][_0x4ff939(_0x371b16._0x3e286b,0x339,0x228,0x2ae)](_0x1c30a6(-_0x371b16._0xe8051e,-0x209,-0x13c,-0x3d6)))throw _0x8bddef;}throw _0x387656;}async[_0x577062(-0x102,0x29,-0x9c,-0x61)](_0x31bff6,_0x416814){const _0x27576e={_0x29ec17:0x6fb,_0x30c1b1:0x52,_0x286e9d:0xa9,_0x47192b:0xe1,_0x354128:0x398,_0x316178:0x33b,_0x417a18:0x266,_0x54b4ce:0x4c6},_0x3a983b={_0x978dd9:0x1f},_0x147ecd={_0x34d581:0x19c};function _0x5570f8(_0x148081,_0x1d0e9e,_0x41bad8,_0x550aad){return _0x577062(_0x148081-_0x147ecd._0x34d581,_0x1d0e9e,_0x41bad8-0x75,_0x148081-0x5aa);}function _0x11434d(_0x25bcb0,_0x3313fb,_0x1a367f,_0x5ea283){return _0x1f0bf6(_0x1a367f- -0x252,_0x5ea283,_0x1a367f-0xf1,_0x5ea283-_0x3a983b._0x978dd9);}try{return await super[_0x5570f8(0x549,0x4a3,_0x27576e._0x29ec17,0x5c0)](_0x31bff6,_0x416814);}catch(_0x25e26b){this[_0x11434d(_0x27576e._0x30c1b1,_0x27576e._0x286e9d,0x18d,_0x27576e._0x47192b)](_0x25e26b,_0x31bff6[_0x5570f8(_0x27576e._0x354128,_0x27576e._0x316178,_0x27576e._0x417a18,_0x27576e._0x54b4ce)]);}}async[_0x1f0bf6(0x193,0x132,0x348,0x372)](_0x1d8613,_0x1d26ff,_0xf58677){const _0x33a418={_0x30e887:0x1dd,_0xf9c5f3:0x29b,_0x2d4419:0x46b,_0x4e3fb4:0x53d,_0x2bcdc6:0x3bd,_0x4fc13b:0x2fb},_0xc0f12a={_0x1c2750:0xac,_0x262d2d:0x7a},_0x29ec07={_0x2ed0da:0x126,_0x2c4379:0x1ac};function _0x59a0dd(_0x31d93a,_0x3d6ef1,_0x135471,_0xa27dd6){return _0x577062(_0x31d93a-_0x29ec07._0x2ed0da,_0x3d6ef1,_0x135471-_0x29ec07._0x2c4379,_0xa27dd6-0x50d);}function _0x2412a4(_0x38ea73,_0x132ba3,_0x3fb26c,_0x2886ab){return _0x577062(_0x38ea73-_0xc0f12a._0x1c2750,_0x3fb26c,_0x3fb26c-_0xc0f12a._0x262d2d,_0x38ea73-0x220);}try{return await super[_0x59a0dd(_0x33a418._0x30e887,0x37c,_0x33a418._0xf9c5f3,0x2f1)](_0x1d8613,_0x1d26ff,_0xf58677);}catch(_0x9b7390){this[_0x59a0dd(_0x33a418._0x2d4419,0x608,0x769,_0x33a418._0x4e3fb4)](_0x9b7390,_0x1d8613[_0x59a0dd(_0x33a418._0x2bcdc6,0x54c,0x4ba,_0x33a418._0x4fc13b)]);}}};import{createAnthropic}from'@ai-sdk/anthropic';import{streamText,generateText,jsonSchema,APICallError}from'ai';var AnthropicAISDKLLM=class{[_0x577062(-0x454,-0x40f,-0x38f,-0x23e)];['provider'];['transport'];[_0x1f0bf6(0x2e5,0x397,0x4cb,0xb7)];constructor(_0x4bd417={}){const _0x551d5c={_0x433f3b:0x42b,_0x4077dc:0x290,_0x42cbd4:0x2ae},_0x568b90={_0x5c629e:0xc9};function _0x3885a9(_0x52a2b5,_0x18da7f,_0x1c478f,_0xab4310){return _0x577062(_0x52a2b5-0x155,_0x52a2b5,_0x1c478f-_0x568b90._0x5c629e,_0x1c478f-0x4ce);}this[_0x3885a9(_0x551d5c._0x433f3b,0x443,_0x551d5c._0x4077dc,_0x551d5c._0x42cbd4)]=_0x4bd417;}[_0x577062(-0x173,-0xfb,0x17e,-0x65)](){const _0x596899={_0x4a29f7:0x1f1,_0x509ab0:0x2a5,_0x4f631f:0x430,_0x46b59c:0xbf,_0x5be77:0x1f1,_0x331ddf:0xc6,_0x52db04:0x240,_0x4eaac7:0x393,_0x9a031b:0x26a,_0x23d09a:0x624,_0x5b76f8:0x820,_0x2d6310:0x5b2,_0x13bfb3:0x24d,_0x1b5aed:0x15b,_0xe1539e:0x27b,_0x4c9616:0x173,_0x4fb162:0x98,_0x93bb7a:0x95,_0x33d1c5:0x2c4,_0x38899c:0x343,_0x3b20ea:0x474,_0x5f4a8f:0x278,_0x51c0bb:0x348,_0xb6f914:0x71,_0x445f1b:0x18,_0x296b97:0x2e0,_0x33a393:0x2c4,_0x5ef370:0x46,_0x5054c6:0x1bc,_0x2bd263:0x123,_0x11baea:0x5f5,_0x16e5ab:0x43a,_0x1fb5d6:0x5b6,_0x2e5f80:0x36b,_0xe85f04:0x761,_0xb79f33:0x42c,_0x2152af:0x256,_0x5abe44:0xbd,_0x2664b8:0x242,_0x461a44:0x1ab},_0x43d398={_0x4f5eb0:0xda},_0x20d9ee={_0x283ab2:0x502};function _0x5a261d(_0x1e9dd8,_0x56ee8c,_0x3038b7,_0x22033a){return _0x577062(_0x1e9dd8-0x117,_0x3038b7,_0x3038b7-0x103,_0x56ee8c-_0x20d9ee._0x283ab2);}function _0x935673(_0x27cfc0,_0x12ef2b,_0x4e1c07,_0x5b8d74){return _0x577062(_0x27cfc0-0xfe,_0x5b8d74,_0x4e1c07-_0x43d398._0x4f5eb0,_0x27cfc0-0x4d);}if(!this['authTransport']){const _0x3f2741=new FetchTransport({'persistFile':this[_0x935673(-_0x596899._0x4a29f7,-_0x596899._0x509ab0,-_0x596899._0x4f631f,-0x41b)]['httpLogFile'],'logLevel':'INFO','enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]});this[_0x935673(-0x7d,-0x278,0x53,_0x596899._0x46b59c)]=new AnthropicAuthTransport(_0x3f2741,{'apiKey':this[_0x935673(-_0x596899._0x5be77,-_0x596899._0x331ddf,-0x56,-0x3ec)][_0x5a261d(0x38f,0x47d,0x450,0x4fb)],'oauth':this[_0x935673(-0x1f1,-_0x596899._0x52db04,-_0x596899._0x4eaac7,-_0x596899._0x9a031b)][_0x5a261d(_0x596899._0x23d09a,0x610,_0x596899._0x5b76f8,_0x596899._0x2d6310)]?{'access':this[_0x935673(-_0x596899._0x4a29f7,-_0x596899._0x13bfb3,-0x3cf,-0xfc)][_0x935673(_0x596899._0x1b5aed,_0x596899._0xe1539e,_0x596899._0x4c9616,-_0x596899._0x4fb162)][_0x935673(0x1f4,-0xe,0x43b,_0x596899._0x93bb7a)],'refresh':this[_0x5a261d(0x264,_0x596899._0x33d1c5,0x3d9,0x358)]['oauth'][_0x5a261d(_0x596899._0x38899c,0x41b,_0x596899._0x3b20ea,_0x596899._0x5f4a8f)],'expires':this[_0x935673(-0x1f1,0x39,-0x3ae,-0x1a4)][_0x935673(0x15b,_0x596899._0x51c0bb,_0x596899._0xb6f914,_0x596899._0x445f1b)][_0x5a261d(0x354,0x52a,_0x596899._0x296b97,0x5e6)]}:void 0x0,'baseUrl':this[_0x5a261d(0x463,_0x596899._0x33a393,0x2aa,0x179)][_0x935673(-_0x596899._0x5ef370,-_0x596899._0x5054c6,-_0x596899._0x2bd263,0xff)]||this['opts'][_0x5a261d(_0x596899._0x11baea,_0x596899._0x16e5ab,_0x596899._0x1fb5d6,0x22a)],'retry':this['opts'][_0x5a261d(_0x596899._0x2e5f80,0x581,0x50c,_0x596899._0xe85f04)],'onTokenUpdate':this[_0x935673(-0x1f1,-0x2ec,-_0x596899._0xb79f33,-0xb2)][_0x935673(-0x156,-_0x596899._0x2152af,_0x596899._0x5abe44,-_0x596899._0x2664b8)]});}return this[_0x935673(-0x7d,-0x120,-_0x596899._0x461a44,0x156)];}['getTransport'](){const _0x562abc={_0x2d1d10:0xc4,_0x385abd:0x13d,_0x1f96c5:0x139,_0x3f390c:0x34,_0x1a856d:0x1db},_0x102baf={_0x202609:0x1b5,_0x300726:0x19e,_0x1c894a:0x51},_0x51b63d={_0x5e3c2f:0x47,_0x582b70:0x633};function _0x4d2949(_0x1c24b1,_0x2a22a0,_0x4e6ae7,_0x56a030){return _0x577062(_0x1c24b1-_0x51b63d._0x5e3c2f,_0x4e6ae7,_0x4e6ae7-0x1cd,_0x1c24b1-_0x51b63d._0x582b70);}function _0x2f6564(_0x5d82f0,_0x5d3133,_0x31c1df,_0x480bf0){return _0x1f0bf6(_0x5d3133- -_0x102baf._0x202609,_0x5d82f0,_0x31c1df-_0x102baf._0x300726,_0x480bf0-_0x102baf._0x1c894a);}return!this['transport']&&(this[_0x2f6564(-_0x562abc._0x2d1d10,0x1b,-_0x562abc._0x385abd,0x9c)]=new LLMErrorTransport(this['getAuthTransport']()[_0x2f6564(-0x96,0xa9,-_0x562abc._0x1f96c5,_0x562abc._0x3f390c)]())),this[_0x2f6564(-0x158,0x1b,0x19c,-_0x562abc._0x1a856d)];}[_0x577062(-0x199,-0x394,-0x2fe,-0x1bc)](){const _0x21c83f={_0x5f2f34:0x6b,_0x5be7c3:0xae,_0x330427:0x425,_0x50a38e:0x5c8,_0x4c795f:0x378,_0x4865:0x5e8,_0x77e98b:0x40f,_0x285da3:0x35,_0x1b450f:0x109,_0x45b2f6:0x7c,_0x1fc018:0xd4,_0x18c8c8:0x15c,_0x79eec8:0x1e6,_0x534f3b:0x17,_0xc03716:0x7e,_0x5ba5c8:0x8d8,_0x5f0730:0x839,_0x204ed0:0x68a,_0x5784f1:0x3ce,_0x33477d:0x54,_0x1fcafb:0x3e6,_0xf250c7:0x1ac,_0x3c001b:0xe0,_0x4cbc34:0x5,_0x163e7d:0x1a2,_0x42d8a9:0x16,_0xd609d2:0x3df,_0x3624e1:0x2b2},_0x1a35ae={_0x474824:0x1b5},_0x181586={_0x53fe1c:0x15,_0x4fe03f:0x16e};if(this[_0x256ce5(-_0x21c83f._0x5f2f34,-0x2b7,-_0x21c83f._0x5be7c3,-0x282)])return this[_0x1ca9ce(_0x21c83f._0x330427,_0x21c83f._0x50a38e,0x4e0,_0x21c83f._0x4c795f)];const _0x33dd4f=this[_0x1ca9ce(0x791,0x833,0x4ce,_0x21c83f._0x4865)]();this[_0x1ca9ce(0x452,0x21c,0x216,_0x21c83f._0x77e98b)]['oauth']?this['provider']=createAnthropic({'apiKey':_0x256ce5(-_0x21c83f._0x285da3,_0x21c83f._0x1b450f,-_0x21c83f._0x45b2f6,0x14b),'baseURL':_0x33dd4f[_0x256ce5(0xab,0x137,_0x21c83f._0x1fc018,-_0x21c83f._0x18c8c8)](),'headers':{'authorization':_0x1ca9ce(0x59d,0x5b4,0x476,0x4b8)+this[_0x256ce5(-_0x21c83f._0x79eec8,-0xea,-_0x21c83f._0x534f3b,_0x21c83f._0xc03716)][_0x1ca9ce(_0x21c83f._0x5ba5c8,_0x21c83f._0x5f0730,_0x21c83f._0x204ed0,0x75b)][_0x256ce5(0x5c0,0x53c,_0x21c83f._0x5784f1,0x260)],'anthropic-beta':_0x256ce5(0x1e1,-0x5f,0xbe,_0x21c83f._0x33477d)},'fetch':_0x33dd4f[_0x256ce5(_0x21c83f._0x1fcafb,0x51f,0x3df,0x416)]()}):this[_0x256ce5(-_0x21c83f._0xf250c7,-0x28b,-0xae,-0x302)]=createAnthropic({'apiKey':this[_0x256ce5(-0x21a,_0x21c83f._0x1b450f,-_0x21c83f._0x534f3b,_0x21c83f._0x3c001b)][_0x256ce5(0x1f7,_0x21c83f._0x4cbc34,_0x21c83f._0x163e7d,_0x21c83f._0x42d8a9)],'baseURL':_0x33dd4f['getBaseUrl'](),'fetch':_0x33dd4f[_0x256ce5(0x381,0x190,_0x21c83f._0xd609d2,_0x21c83f._0x3624e1)]()});function _0x256ce5(_0xe36e3a,_0x1cff10,_0x7408d2,_0x4b14cf){return _0x577062(_0xe36e3a-_0x181586._0x53fe1c,_0x4b14cf,_0x7408d2-_0x181586._0x4fe03f,_0x7408d2-0x227);}function _0x1ca9ce(_0x300bb5,_0x2bdf24,_0x2be757,_0x4964d7){return _0x577062(_0x300bb5-0x44,_0x300bb5,_0x2be757-_0x1a35ae._0x474824,_0x4964d7-0x64d);}return this['provider'];}[_0x1f0bf6(0xe4,0x278,-0x109,0x1ce)](_0xc1a273){const _0x356dea={_0x3ce9e0:0x26b,_0x2e216:0x3e5},_0x1bf9fb={_0x2c02c8:0x148,_0x5c5605:0x140,_0x4feea4:0x391};function _0x10d23e(_0x10dd68,_0x1a75e6,_0x319923,_0x2a53c6){return _0x577062(_0x10dd68-_0x1bf9fb._0x2c02c8,_0x319923,_0x319923-_0x1bf9fb._0x5c5605,_0x2a53c6-_0x1bf9fb._0x4feea4);}const _0x4a20d0=this[_0x10d23e(_0x356dea._0x3ce9e0,0x168,_0x356dea._0x2e216,0x1d5)]();return _0x4a20d0(_0xc1a273);}[_0x1f0bf6(0x290,0x363,0x29f,0x169)](_0x24559a){const _0x3e8ae2={_0x47c558:0x5c,_0x58268c:0x132,_0x186e3b:0xfe,_0x2a16d4:0x1fc,_0x2a5c37:0x2f,_0x4c69ea:0x1f4,_0x45c378:0x266,_0x1c63b6:0x681,_0x5679fe:0x1ff,_0x3f3d9a:0x548,_0x25c198:0x4dd,_0x3f9475:0x315,_0x3a5728:0xf6,_0x533b4c:0x134,_0xc220a7:0x66,_0x1de341:0x71a,_0x3c1044:0x5b8,_0xcbfac2:0x20f,_0x57848b:0x35a,_0x2bb23a:0x3,_0x210b10:0x2ac,_0x28ff06:0x570,_0x1ca34c:0x538,_0x229a9b:0x4a9,_0x3b49e7:0x2e4,_0x10a331:0x1d4,_0x2c6929:0x15b,_0x312793:0x444,_0x394307:0x623,_0x213df0:0x4bb,_0x128bb4:0x4e6,_0x489630:0x4b6,_0xffd5b7:0x54f,_0x57c411:0x140,_0x137b1c:0x1fa,_0xc38739:0x14c,_0x256170:0x1a8,_0x2cee85:0x158,_0x4dd449:0x1f1,_0x3cb9ce:0x24,_0x5359a5:0x2ec,_0x22e988:0xf6,_0x1d3bad:0xac,_0x191faf:0x1ea,_0x232824:0xc8,_0x499024:0x313,_0x11f949:0x628,_0x15e5f1:0x69a,_0x458fff:0x352,_0x59192f:0x312},_0x3592af={_0x52e14b:0xa3},_0x50b759={_0x1e1727:0x181,_0x34b762:0x2c},_0x493f3f={_0x2e0b95:0x3ea,_0x1418c0:0x20d,_0x425c8b:0x12d,_0x3bfcfb:0x5f,_0x5da86a:0xa2,_0x2f7107:0x2a9},_0x3f5a30={_0x423fab:0x209,_0x23646a:0x9d,_0x516fac:0xc8},_0x1fd60a={_0x5f3285:0x155,_0x2efd9f:0x6d0},_0x2afc43={_0x2bded9:0x258,_0x261805:0x17d,_0x582283:0x21d,_0x5f34e4:0x205,_0x291c93:0x14d,_0x46730e:0x2d,_0x6115e2:0x20,_0x5acd07:0x519,_0x12177b:0x389,_0x334ec5:0x348,_0x1895ce:0x4cf,_0x50c112:0x421,_0x1ebd6f:0x4fc,_0xf7648a:0x565,_0x1fc342:0x44f,_0x3c9f38:0x396,_0x120e96:0x4f8,_0x912f5e:0x24b,_0x32a7e2:0x309,_0x3e4928:0x3b3,_0x58e496:0x33c,_0x36acb8:0x18e,_0x119a37:0x183,_0x47b044:0x7a,_0x3d7042:0x4de,_0x4e28b6:0xb0,_0x375cdc:0x218,_0x5e7daf:0x148,_0x2b087d:0xae,_0x23d4a9:0x376,_0x29b1f7:0x33a,_0x47e67d:0x4b9,_0x530e55:0xa7,_0x118017:0x5ae,_0x4eceff:0x2c1,_0x2e7d7a:0x29c,_0x1f3b8d:0x384,_0x35efe6:0x3cb,_0x564f36:0x396,_0x2b15c5:0x5d8,_0x5b3403:0x180,_0x3a449d:0x39b,_0x3fac1a:0x2e3,_0x190024:0xd3,_0x1ea78d:0x1c7,_0x9c77e3:0x149,_0x35d46a:0x18a,_0xddbf20:0x156,_0x33943e:0x231,_0x27be90:0x185,_0xd656be:0x621,_0x33695a:0x5a0,_0x39a618:0x540,_0x3070e4:0x375,_0x4dbde2:0x607,_0x3db69b:0x4f3,_0x45113d:0x530,_0x110143:0x1b4,_0x3e2f7a:0x431,_0xd0c85f:0x19d,_0x4a47d7:0x3fa,_0x5af922:0x17e,_0x5de334:0x51d,_0x564fb7:0x353,_0x5c7ee8:0x237,_0x24ff06:0x37a,_0x3b705b:0x9c,_0x200560:0x107,_0x531f74:0x44f,_0x16d1b4:0x3cb,_0x1fd3e3:0x279,_0x3b8f4b:0x4bb,_0x14f649:0x366,_0x15cc8d:0x48f,_0x45f2b2:0x271,_0x228ca8:0x29a,_0x10e864:0x12a,_0x3a6d50:0x2e3,_0x38b88c:0x2b5,_0x1f7fc3:0x5b6,_0x1a55ae:0x1f3,_0x4c8694:0x2bf,_0x38e945:0x31d,_0x27844c:0x4ab,_0x1582cc:0x7c,_0x48d903:0x184,_0x31a103:0x282,_0x294287:0x1ab,_0x336ed2:0x44f,_0x300b7e:0x161},_0x37c2c1={_0x31b717:0x1d9,_0x510005:0x3e9},_0x51ba90=[],_0x4adde4=_0x24559a[_0x2f1b65(0x8f,0x6d,-_0x3e8ae2._0x47c558,_0x3e8ae2._0x58268c)](_0x4fe1a1=>_0x4fe1a1[_0x492eb4(0x2e4,0xef,0x458,0xf5)]===_0x2f1b65(0xe9,0x174,-0x43,0x6a));if(_0x4adde4[_0x2f1b65(_0x3e8ae2._0x186e3b,_0x3e8ae2._0x2a16d4,_0x3e8ae2._0x2a5c37,0x1e)]>0x0){_0x51ba90[_0x2f1b65(-0x37d,-_0x3e8ae2._0x4c69ea,-_0x3e8ae2._0x45c378,-0x204)]({'role':_0x492eb4(0x432,_0x3e8ae2._0x1c63b6,_0x3e8ae2._0x5679fe,0x2ce),'content':'You\x20are\x20Claude\x20Code,\x20Anthropic\x27s\x20official\x20CLI\x20for\x20Claude.','providerOptions':{'anthropic':{'cacheControl':{'type':_0x492eb4(_0x3e8ae2._0x3f3d9a,_0x3e8ae2._0x25c198,0x3f7,_0x3e8ae2._0x3f9475)}}}});let _0x2f763c=0x0;for(const _0x3d1f7e of _0x4adde4){const _0x49e4ed=_0x2f763c<0x2;if(typeof _0x3d1f7e[_0x2f1b65(_0x3e8ae2._0x3a5728,-_0x3e8ae2._0x533b4c,_0x3e8ae2._0xc220a7,0xa4)]===_0x492eb4(0x55b,0x4cd,_0x3e8ae2._0x1de341,_0x3e8ae2._0x3c1044))_0x51ba90[_0x492eb4(_0x3e8ae2._0xcbfac2,-0x9,_0x3e8ae2._0x57848b,-_0x3e8ae2._0x2bb23a)]({'role':'system','content':_0x3d1f7e[_0x492eb4(0x4db,0x4af,_0x3e8ae2._0x210b10,0x3e3)],..._0x49e4ed&&{'providerOptions':{'anthropic':{'cacheControl':{'type':_0x492eb4(_0x3e8ae2._0x3f3d9a,_0x3e8ae2._0x28ff06,_0x3e8ae2._0x1ca34c,0x5c1)}}}}});else{if(Array[_0x492eb4(0x268,0x26b,_0x3e8ae2._0x229a9b,0xa7)](_0x3d1f7e['content']))for(const _0xebd57d of _0x3d1f7e[_0x492eb4(0x4db,_0x3e8ae2._0x3b49e7,0x2fd,0x702)]){_0xebd57d[_0x2f1b65(_0x3e8ae2._0x10a331,0x1aa,0x17b,_0x3e8ae2._0x2c6929)]===_0x492eb4(_0x3e8ae2._0x312793,_0x3e8ae2._0x394307,_0x3e8ae2._0x213df0,_0x3e8ae2._0x128bb4)&&_0x51ba90['push']({'role':_0x492eb4(0x432,0x2c0,_0x3e8ae2._0x489630,_0x3e8ae2._0xffd5b7),'content':_0xebd57d[_0x492eb4(0x444,0x4bc,0x3bf,0x600)],..._0x49e4ed&&{'providerOptions':{'anthropic':{'cacheControl':{'type':'ephemeral'}}}}});}}_0x2f763c++;}}const _0xe918a3=_0x24559a['filter'](_0x2eebee=>_0x2eebee['role']!==_0x492eb4(0x432,0x2d3,0x489,0x202))[_0x2f1b65(-_0x3e8ae2._0x57c411,_0x3e8ae2._0x137b1c,0x31,-0x106)](_0x55a278=>{const _0x145c1f={_0x511c8c:0xf6,_0x5a0160:0x191};function _0x2f88d2(_0x455d89,_0x4df703,_0x450e14,_0x2e285b){return _0x2f1b65(_0x455d89-_0x37c2c1._0x31b717,_0x4df703-0x11f,_0x455d89-_0x37c2c1._0x510005,_0x450e14);}if(_0x55a278[_0x2f88d2(_0x2afc43._0x2bded9,_0x2afc43._0x261805,_0x2afc43._0x582283,_0x2afc43._0x5f34e4)]===_0x2f88d2(_0x2afc43._0x291c93,-0xcb,_0x2afc43._0x46730e,-_0x2afc43._0x6115e2))return{'role':'tool','content':[{'type':'tool-result','toolCallId':_0x55a278['tool_call_id']||'','toolName':_0x55a278[_0x35d217(0x4e1,0x61f,_0x2afc43._0x5acd07,0x43d)]||'','output':{'type':_0x35d217(_0x2afc43._0x12177b,_0x2afc43._0x334ec5,0x34e,0x2e3),'value':typeof _0x55a278['content']===_0x2f88d2(_0x2afc43._0x1895ce,_0x2afc43._0x50c112,_0x2afc43._0x1ebd6f,_0x2afc43._0xf7648a)?_0x55a278[_0x2f88d2(_0x2afc43._0x1fc342,0x372,0x68d,_0x2afc43._0x3c9f38)]:JSON[_0x35d217(_0x2afc43._0x120e96,_0x2afc43._0x912f5e,0x487,_0x2afc43._0x32a7e2)](_0x55a278['content'])}}]};function _0x35d217(_0x22affa,_0x2d9114,_0x28cbaf,_0x19e479){return _0x2f1b65(_0x22affa-_0x145c1f._0x511c8c,_0x2d9114-_0x145c1f._0x5a0160,_0x19e479-0x314,_0x22affa);}if(_0x55a278[_0x35d217(_0x2afc43._0x3e4928,_0x2afc43._0x58e496,_0x2afc43._0x36acb8,_0x2afc43._0x119a37)]===_0x35d217(0x3ab,-_0x2afc43._0x47b044,0x230,0x164)){const _0x172ecf=[];if(typeof _0x55a278['content']===_0x35d217(0x400,_0x2afc43._0x3d7042,0x45e,0x3fa)&&_0x55a278['content'])_0x172ecf[_0x35d217(-_0x2afc43._0x4e28b6,_0x2afc43._0x375cdc,_0x2afc43._0x5e7daf,_0x2afc43._0x2b087d)]({'type':_0x35d217(0x37e,_0x2afc43._0x23d4a9,_0x2afc43._0x29b1f7,0x2e3),'text':_0x55a278[_0x2f88d2(0x44f,0x3f2,_0x2afc43._0x47e67d,0x3a2)]});else{if(Array[_0x35d217(-0xd1,-0xfd,_0x2afc43._0x530e55,0x107)](_0x55a278[_0x2f88d2(_0x2afc43._0x1fc342,0x451,_0x2afc43._0x118017,_0x2afc43._0x4eceff)]))for(const _0x5312bb of _0x55a278[_0x2f88d2(0x44f,0x3d8,_0x2afc43._0x2e7d7a,_0x2afc43._0x1f3b8d)]){_0x5312bb[_0x2f88d2(0x564,_0x2afc43._0x35efe6,0x76c,0x6ed)]==='text'&&_0x172ecf['push']({'type':_0x2f88d2(0x3b8,0x18c,_0x2afc43._0x564f36,_0x2afc43._0x2b15c5),'text':_0x5312bb[_0x35d217(_0x2afc43._0x5b3403,_0x2afc43._0x3a449d,0x3f0,_0x2afc43._0x3fac1a)]});}}if(_0x55a278[_0x35d217(-0x117,-_0x2afc43._0x190024,_0x2afc43._0x1ea78d,0xeb)])for(const _0x1f2324 of _0x55a278[_0x35d217(-0x8c,-0x4b,-_0x2afc43._0x9c77e3,0xeb)]){_0x172ecf[_0x35d217(-_0x2afc43._0x35d46a,_0x2afc43._0xddbf20,-0xda,_0x2afc43._0x2b087d)]({'type':'tool-call','toolCallId':_0x1f2324['id'],'toolName':_0x1f2324[_0x2f88d2(0x323,0x301,_0x2afc43._0x33943e,_0x2afc43._0x27be90)][_0x35d217(0x1fb,0x620,_0x2afc43._0xd656be,0x43d)],'input':JSON['parse'](_0x1f2324['function'][_0x2f88d2(_0x2afc43._0x33695a,0x44f,0x742,_0x2afc43._0x39a618)]||'{}')});}return{'role':_0x35d217(_0x2afc43._0x3070e4,0x160,-0xa3,0x164),'content':_0x172ecf};}else{const _0x54c5ec=[];if(typeof _0x55a278[_0x2f88d2(0x44f,0x68c,_0x2afc43._0x4dbde2,0x5a3)]===_0x2f88d2(_0x2afc43._0x1895ce,0x3c0,0x4e4,_0x2afc43._0x3db69b)&&_0x55a278[_0x35d217(_0x2afc43._0x45113d,_0x2afc43._0x110143,_0x2afc43._0x3e2f7a,0x37a)])_0x54c5ec[_0x2f88d2(_0x2afc43._0x119a37,0x1c0,_0x2afc43._0xd0c85f,0x30a)]({'type':_0x35d217(0x4fa,_0x2afc43._0x4a47d7,_0x2afc43._0x5af922,_0x2afc43._0x3fac1a),'text':_0x55a278[_0x35d217(_0x2afc43._0x5de334,_0x2afc43._0x564fb7,_0x2afc43._0x5c7ee8,_0x2afc43._0x24ff06)]});else{if(Array[_0x35d217(_0x2afc43._0x3b705b,0x359,0x11f,_0x2afc43._0x200560)](_0x55a278[_0x2f88d2(_0x2afc43._0x531f74,0x5b3,_0x2afc43._0x16d1b4,0x2d2)]))for(const _0x543328 of _0x55a278[_0x35d217(_0x2afc43._0x1fd3e3,_0x2afc43._0x3b8f4b,_0x2afc43._0x14f649,_0x2afc43._0x24ff06)]){if(_0x543328[_0x35d217(0x65a,0x45d,0x243,_0x2afc43._0x15cc8d)]===_0x35d217(_0x2afc43._0x45f2b2,_0x2afc43._0x228ca8,_0x2afc43._0x10e864,_0x2afc43._0x3a6d50))_0x54c5ec[_0x35d217(-0x83,_0x2afc43._0x38b88c,0x1a1,0xae)]({'type':_0x2f88d2(0x3b8,_0x2afc43._0x1f7fc3,0x3b7,0x446),'text':_0x543328[_0x35d217(0x147,_0x2afc43._0x1a55ae,0x2db,0x2e3)]});else _0x543328[_0x35d217(0x676,0x634,0x2f0,0x48f)]===_0x2f88d2(_0x2afc43._0x4c8694,_0x2afc43._0x38e945,0x2f7,_0x2afc43._0x27844c)&&_0x54c5ec[_0x2f88d2(0x183,-_0x2afc43._0x1582cc,_0x2afc43._0x48d903,_0x2afc43._0x31a103)]({'type':_0x35d217(-_0x2afc43._0x294287,0xec,-0xfd,0x8e),'image':_0x543328[_0x2f88d2(_0x2afc43._0x4c8694,_0x2afc43._0x336ed2,0xab,_0x2afc43._0x300b7e)][_0x35d217(0x3c5,_0x2afc43._0x2b15c5,0x37f,0x4ab)]});}}return{'role':'user','content':_0x54c5ec};}});let _0x241cb6=[..._0x51ba90,..._0xe918a3];_0x241cb6=_0x241cb6['filter']((_0x3f206b,_0x431b33)=>{const _0x1bcf87=_0x431b33===_0x241cb6[_0x54fa3b(0xb6,_0x493f3f._0x2e0b95,0x29b,_0x493f3f._0x1418c0)]-0x1,_0x12b634=_0x3f206b[_0x54fa3b(-0x7,0x1a,0xdb,0x51)]==='assistant';function _0x22e1a8(_0x1f4cd2,_0x1bde38,_0x5f2502,_0x324dfb){return _0x2f1b65(_0x1f4cd2-_0x1fd60a._0x5f3285,_0x1bde38-0x1e4,_0x5f2502-_0x1fd60a._0x2efd9f,_0x1f4cd2);}function _0x54fa3b(_0xc61068,_0x5191f2,_0x55e85f,_0x427f39){return _0x492eb4(_0x55e85f- -_0x3f5a30._0x423fab,_0x5191f2-_0x3f5a30._0x23646a,_0x5191f2,_0x427f39-_0x3f5a30._0x516fac);}const _0x4bb45d=!_0x3f206b['content']||Array[_0x54fa3b(0x2ad,_0x493f3f._0x425c8b,_0x493f3f._0x3bfcfb,-_0x493f3f._0x5da86a)](_0x3f206b[_0x54fa3b(0x2c9,_0x493f3f._0x425c8b,0x2d2,0x232)])&&_0x3f206b[_0x54fa3b(_0x493f3f._0x2f7107,0x221,0x2d2,0x306)]['length']===0x0;return!_0x4bb45d||_0x1bcf87&&_0x12b634;});const _0x1eced1=_0x241cb6[_0x2f1b65(_0x3e8ae2._0xc38739,-_0x3e8ae2._0x256170,-0x5c,-_0x3e8ae2._0x2cee85)](_0x515cd8=>_0x515cd8[_0x492eb4(0x2e4,0x4dc,0x347,0xbe)]===_0x492eb4(0x2e6,0x514,0x295,0x18f)||_0x515cd8[_0x492eb4(0x2e4,0x4b6,0x48a,0x158)]===_0x2f1b65(-0x1df,-0x1d4,-0x1b0,-0x25d)),_0xd1f63=[];function _0x2f1b65(_0x3d5fe7,_0x36a79a,_0x32f83b,_0x4c1640){return _0x577062(_0x3d5fe7-_0x50b759._0x1e1727,_0x4c1640,_0x32f83b-0x1e6,_0x32f83b-_0x50b759._0x34b762);}if(_0x1eced1['length']>=0x2){const _0x246376=_0x1eced1[_0x1eced1[_0x2f1b65(0x10e,-0x7d,0x2f,_0x3e8ae2._0x4dd449)]-0x1],_0x19c094=_0x1eced1[_0x1eced1[_0x2f1b65(-_0x3e8ae2._0x3cb9ce,0x8c,0x2f,-0x161)]-0x2];if(_0x246376){const _0x5472ef=_0x241cb6[_0x2f1b65(-_0x3e8ae2._0x5359a5,-0x2f8,-_0x3e8ae2._0x22e988,0x4f)](_0x246376);if(_0x5472ef!==-0x1)_0xd1f63[_0x2f1b65(-_0x3e8ae2._0x1d3bad,-_0x3e8ae2._0x191faf,-0x266,-0x471)](_0x5472ef);}if(_0x19c094){const _0x4aaf8d=_0x241cb6[_0x2f1b65(-0x270,_0x3e8ae2._0x232824,-0xf6,-0x64)](_0x19c094);if(_0x4aaf8d!==-0x1)_0xd1f63[_0x492eb4(0x20f,0x8f,0x82,_0x3e8ae2._0x499024)](_0x4aaf8d);}}else{if(_0x1eced1[_0x492eb4(0x4a4,_0x3e8ae2._0x11f949,_0x3e8ae2._0x15e5f1,_0x3e8ae2._0x458fff)]===0x1){const _0x16ddcf=_0x1eced1[0x0];if(_0x16ddcf){const _0x2d9a35=_0x241cb6['indexOf'](_0x16ddcf);if(_0x2d9a35!==-0x1)_0xd1f63['push'](_0x2d9a35);}}}for(const _0x5b7596 of _0xd1f63){_0x241cb6[_0x5b7596]={..._0x241cb6[_0x5b7596],'providerOptions':{'anthropic':{'cacheControl':{'type':_0x2f1b65(0xbb,_0x3e8ae2._0x59192f,0xd3,-0xe3)}}}};}function _0x492eb4(_0x5bcfe4,_0x291571,_0x132923,_0x5f2e59){return _0x577062(_0x5bcfe4-0x13,_0x132923,_0x132923-_0x3592af._0x52e14b,_0x5bcfe4-0x4a1);}return _0x241cb6;}[_0x1f0bf6(0x26d,0x427,0x443,0x116)](_0x1959b0){const _0x1d8d99={_0xa3fd3c:0x7e1,_0x2d2820:0x53b,_0x1dc0ee:0x6ac,_0x587854:0x484,_0x3cb842:0x597,_0x3949ec:0x42d,_0x46081e:0x4a2,_0x74c1fa:0x246},_0x4bcbc7={_0x2a775e:0x15a};if(!_0x1959b0||_0x1959b0['length']===0x0)return void 0x0;const _0x168722={};function _0x26de13(_0xb83e6e,_0x2b91d2,_0xffd877,_0x1cd7bd){return _0x1f0bf6(_0xffd877-0x200,_0x1cd7bd,_0xffd877-0x75,_0x1cd7bd-_0x4bcbc7._0x2a775e);}for(const _0x3d3860 of _0x1959b0){_0x168722[_0x3d3860['function'][_0x26de13(_0x1d8d99._0xa3fd3c,_0x1d8d99._0x2d2820,_0x1d8d99._0x1dc0ee,_0x1d8d99._0x587854)]]={'description':_0x3d3860['function']['description'],'inputSchema':jsonSchema(_0x3d3860[_0x399674(0x535,0x3e3,_0x1d8d99._0x3cb842,_0x1d8d99._0x3949ec)][_0x399674(0x1b5,0x3ce,_0x1d8d99._0x46081e,_0x1d8d99._0x74c1fa)])};}function _0x399674(_0xab3bf5,_0x449253,_0x4e071e,_0x45d9e2){return _0x577062(_0xab3bf5-0x5d,_0xab3bf5,_0x4e071e-0x6d,_0x449253-0x4d5);}return _0x168722;}['transformToolChoice'](_0x3f830d){const _0x11cb7a={_0x3a22ef:0x397,_0x1c1c4a:0x4cf,_0x1ef53f:0x15f,_0x1dbf79:0x146,_0x57c23c:0x320,_0x22707d:0x193,_0x5c7eed:0x16e,_0x4640bd:0x226,_0x44a7da:0x29c,_0x28a7e9:0x5e2,_0x5e8912:0x7f9,_0x47e934:0x769},_0x35f98c={_0x4ee54a:0x40,_0x15d46c:0x336};function _0x54c9b9(_0x290ed2,_0x3faab6,_0x5e4b5f,_0xe97cb9){return _0x577062(_0x290ed2-0x21,_0x3faab6,_0x5e4b5f-0x19,_0x5e4b5f-0x61e);}if(!_0x3f830d||_0x3f830d==='auto')return'auto';function _0x23ed4f(_0x160ed2,_0x17edf6,_0x1bf49b,_0x377a81){return _0x577062(_0x160ed2-0x72,_0x17edf6,_0x1bf49b-_0x35f98c._0x4ee54a,_0x377a81-_0x35f98c._0x15d46c);}if(_0x3f830d===_0x23ed4f(0x46b,_0x11cb7a._0x3a22ef,_0x11cb7a._0x1c1c4a,0x320))return _0x23ed4f(_0x11cb7a._0x1ef53f,0x13b,_0x11cb7a._0x1dbf79,_0x11cb7a._0x57c23c);if(typeof _0x3f830d==='object'&&_0x3f830d[_0x54c9b9(0x922,0x618,0x76d,0x736)]===_0x23ed4f(_0x11cb7a._0x22707d,_0x11cb7a._0x5c7eed,_0x11cb7a._0x4640bd,0x244))return{'type':_0x23ed4f(_0x11cb7a._0x44a7da,-0xba,0x9f,0x6e),'toolName':_0x3f830d['function'][_0x54c9b9(_0x11cb7a._0x28a7e9,_0x11cb7a._0x5e8912,0x71b,_0x11cb7a._0x47e934)]};return'auto';}['transformUsage'](_0x321e95){const _0x140986={_0xaa1c78:0x1a3,_0x317e8a:0x18e,_0x15974e:0x100,_0x2d7603:0x12c,_0x49085d:0x1c,_0x1042b9:0x870,_0x60f403:0x6cb,_0xf5021f:0x92c,_0x7e7a69:0x3d,_0x5943fc:0x5e7,_0x349c61:0x3f5,_0x4c6808:0x42e,_0x3785b4:0x4a3,_0x5d1e0e:0x3ad,_0x19ca56:0x1c2,_0x271b95:0xcb},_0x455442={_0x1d6364:0x31c,_0x22150b:0x8d},_0x302e0d={_0x5c5d4d:0x315,_0x2553cb:0x166,_0x27acba:0x12e};if(!_0x321e95)return{'prompt_tokens':0x0,'completion_tokens':0x0,'total_tokens':0x0};function _0x111bd1(_0x25ea6b,_0x9e3ac,_0x30b6a2,_0x9a7423){return _0x1f0bf6(_0x25ea6b-_0x302e0d._0x5c5d4d,_0x9a7423,_0x30b6a2-_0x302e0d._0x2553cb,_0x9a7423-_0x302e0d._0x27acba);}const _0x503520=_0x321e95[_0x1b080d(_0x140986._0xaa1c78,_0x140986._0x317e8a,_0x140986._0x15974e,_0x140986._0x2d7603)]??_0x321e95['input_tokens']??0x0,_0x2eeb59=_0x321e95[_0x1b080d(-0x3e,-0x1c4,0x1a1,_0x140986._0x49085d)]??_0x321e95[_0x111bd1(_0x140986._0x1042b9,_0x140986._0x60f403,_0x140986._0xf5021f,0x7fa)]??0x0,_0x38125f=_0x321e95['cacheCreationInputTokens']??_0x321e95[_0x1b080d(_0x140986._0x7e7a69,0x63,-0x163,0xfd)]??0x0;function _0x1b080d(_0x1d6fe9,_0x4a2236,_0x1845b6,_0x18dfd2){return _0x1f0bf6(_0x1d6fe9- -_0x455442._0x1d6364,_0x1845b6,_0x1845b6-0x1db,_0x18dfd2-_0x455442._0x22150b);}const _0x307f4a=_0x321e95[_0x111bd1(0x409,_0x140986._0x5943fc,_0x140986._0x349c61,_0x140986._0x4c6808)]??_0x321e95[_0x111bd1(_0x140986._0x3785b4,0x3e3,0x648,_0x140986._0x5d1e0e)]??0x0,_0x5a2413=_0x321e95[_0x1b080d(0x77,-0x1d9,_0x140986._0x19ca56,-_0x140986._0x271b95)]??_0x38125f+_0x307f4a,_0x573437=_0x503520+_0x5a2413,_0x1ebc2e=_0x573437+_0x2eeb59;return{'prompt_tokens':_0x573437,'completion_tokens':_0x2eeb59,'total_tokens':_0x1ebc2e,'prompt_tokens_details':{'cached_tokens':_0x5a2413},..._0x38125f>0x0&&{'cache_creation_input_tokens':_0x38125f},..._0x307f4a>0x0&&{'cache_read_input_tokens':_0x307f4a}};}['handleError'](_0x44b7c7){const _0x1d4765={_0x21385b:0x11c,_0x12c5ab:0x2a,_0x30bba9:0x166,_0x269668:0x4a1,_0x556b7b:0x407,_0x59d779:0x4f5,_0x35f7a3:0x394,_0x3acc4d:0x516,_0xa46b8:0x3e6,_0x5f3b1d:0x5f8,_0x6f0ee0:0x2e,_0x23c04c:0xac,_0x366fff:0x108,_0x54c30e:0x4e7,_0x1c0986:0x5ca,_0x4ccc1b:0x5d3,_0xc72126:0x345,_0x3508de:0x4b0,_0x31ab1b:0x45f,_0x22cc4b:0x28f,_0x1be578:0x2d0,_0x3862aa:0xca,_0x306523:0x178,_0x40b92c:0x63f,_0x9a600a:0x3e1,_0x37b257:0x425,_0x26eb34:0x49d,_0x10a46c:0x51a,_0x8e0c38:0x6c7,_0x534c4a:0x508,_0x444699:0x7ba,_0xb16eae:0x72a,_0x472965:0x9a2,_0x17a7c8:0x3dd,_0x44fca0:0x5ba,_0x226d58:0x4eb,_0x393bab:0x761,_0x4e1b0c:0x72f,_0x2835d9:0x8a,_0x185acc:0x1de,_0x3b2bf5:0x82,_0x2c65e5:0x41f,_0x81fccd:0x14d,_0x42b7ac:0x6f5,_0x1da8cc:0x479,_0x1a1d1b:0x4ab,_0x1db303:0x1ae,_0x472e73:0x20,_0xff1b7c:0x54},_0x22db67={_0x29e603:0x96},_0x89a9eb={_0x1c1e0d:0x157,_0x4c85a4:0x19e,_0x5d39b5:0x1af};if(_0x44b7c7 instanceof LLMError)throw _0x44b7c7;if(APICallError[_0x3d2226(-_0x1d4765._0x21385b,0x10f,_0x1d4765._0x12c5ab,_0x1d4765._0x30bba9)](_0x44b7c7)){const _0x2247b5=_0x44b7c7[_0x539cd7(0x4d6,0x302,0x38c,_0x1d4765._0x269668)],_0x25d8b5=_0x44b7c7[_0x539cd7(0x425,0x4f2,_0x1d4765._0x556b7b,_0x1d4765._0x59d779)]||_0x539cd7(_0x1d4765._0x35f7a3,0x383,_0x1d4765._0x3acc4d,0x358);if(_0x2247b5===0x1ad||_0x2247b5===0x198)throw new LLMError(_0x539cd7(0x479,0x2e5,_0x1d4765._0xa46b8,_0x1d4765._0x5f3b1d),_0x2247b5,!![],_0x44b7c7);else{if(_0x2247b5===0x191||_0x2247b5===0x193)throw new LLMError('Authentication\x20failed.\x20Please\x20check\x20your\x20API\x20key.',_0x2247b5,![],_0x44b7c7);else{if(_0x2247b5===0x190)throw new LLMError(_0x3d2226(_0x1d4765._0x6f0ee0,_0x1d4765._0x23c04c,0x98,_0x1d4765._0x366fff)+_0x25d8b5,_0x2247b5,![],_0x44b7c7);else{if(_0x2247b5&&isRetryableStatusCode(_0x2247b5,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError('Service\x20temporarily\x20unavailable.\x20Please\x20try\x20again\x20later.',_0x2247b5,!![],_0x44b7c7);}}}throw new LLMError(_0x25d8b5,_0x2247b5,_0x44b7c7['isRetryable']??isRetryableError(_0x44b7c7,DEFAULT_RETRYABLE_STATUS_CODES),_0x44b7c7);}function _0x3d2226(_0xf11f01,_0x1171ee,_0x529aab,_0x382bd4){return _0x1f0bf6(_0x529aab- -_0x89a9eb._0x1c1e0d,_0xf11f01,_0x529aab-_0x89a9eb._0x4c85a4,_0x382bd4-_0x89a9eb._0x5d39b5);}function _0x539cd7(_0x21e168,_0x445b3e,_0x1154a3,_0x3d9be4){return _0x1f0bf6(_0x21e168-0x2b5,_0x445b3e,_0x1154a3-_0x22db67._0x29e603,_0x3d9be4-0xa);}if(_0x44b7c7&&typeof _0x44b7c7===_0x539cd7(_0x1d4765._0x54c30e,_0x1d4765._0x1c0986,_0x1d4765._0x4ccc1b,_0x1d4765._0xc72126)&&'statusCode'in _0x44b7c7&&_0x539cd7(0x425,_0x1d4765._0x3508de,_0x1d4765._0x31ab1b,_0x1d4765._0x22cc4b)in _0x44b7c7){const _0x2611c1=typeof _0x44b7c7[_0x3d2226(_0x1d4765._0x1be578,0x29b,_0x1d4765._0x3862aa,-0x101)]==='number'?_0x44b7c7[_0x3d2226(_0x1d4765._0x306523,0x2bc,0xca,0x2dc)]:void 0x0,_0x5ed76b=typeof _0x44b7c7[_0x539cd7(0x425,0x1e6,_0x1d4765._0x40b92c,0x525)]===_0x3d2226(0x55e,_0x1d4765._0x9a600a,0x312,0x4d1)?_0x44b7c7[_0x539cd7(_0x1d4765._0x37b257,0x47d,_0x1d4765._0x26eb34,0x41a)]:_0x539cd7(0x683,_0x1d4765._0x10a46c,_0x1d4765._0x8e0c38,_0x1d4765._0x534c4a);if(_0x2611c1===0x1ad||_0x2611c1===0x198)throw new LLMError('Rate\x20limit\x20exceeded.\x20Please\x20try\x20again\x20later.',_0x2611c1,!![],_0x44b7c7);else{if(_0x2611c1===0x191||_0x2611c1===0x193)throw new LLMError(_0x539cd7(_0x1d4765._0x444699,_0x1d4765._0xb16eae,_0x1d4765._0x472965,0x57c),_0x2611c1,![],_0x44b7c7);else{if(_0x2611c1===0x190)throw new LLMError(_0x539cd7(0x4a4,_0x1d4765._0x17a7c8,_0x1d4765._0x44fca0,0x397)+_0x5ed76b,_0x2611c1,![],_0x44b7c7);else{if(_0x2611c1&&isRetryableStatusCode(_0x2611c1,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x539cd7(0x52e,0x683,0x624,_0x1d4765._0x226d58),_0x2611c1,!![],_0x44b7c7);}}}throw new LLMError(_0x5ed76b,_0x2611c1,isRetryableError(_0x44b7c7,DEFAULT_RETRYABLE_STATUS_CODES),_0x44b7c7);}if(_0x44b7c7 instanceof Error){if(_0x44b7c7[_0x539cd7(_0x1d4765._0x393bab,_0x1d4765._0x4e1b0c,0x730,0x70d)]===_0x3d2226(_0x1d4765._0x2835d9,0x1ff,0x2c4,_0x1d4765._0x185acc))throw new LLMError(_0x3d2226(_0x1d4765._0x3b2bf5,_0x1d4765._0x2c65e5,0x1da,_0x1d4765._0x556b7b),void 0x0,![],_0x44b7c7);if(_0x44b7c7['message'][_0x3d2226(0x78,0x117,_0x1d4765._0x81fccd,0x37a)](_0x539cd7(0x63a,0x4ac,0x4e0,_0x1d4765._0x42b7ac)))throw new LLMError(_0x539cd7(_0x1d4765._0x1da8cc,0x305,_0x1d4765._0x1a1d1b,0x57f),0x1ad,!![],_0x44b7c7);const _0x29b2da=isRetryableError(_0x44b7c7,DEFAULT_RETRYABLE_STATUS_CODES);if(_0x29b2da)throw new LLMError('Network\x20error\x20occurred.\x20Please\x20try\x20again.',void 0x0,!![],_0x44b7c7);throw new LLMError(_0x44b7c7[_0x3d2226(_0x1d4765._0x1db303,-_0x1d4765._0x472e73,0x19,-_0x1d4765._0xff1b7c)],void 0x0,![],_0x44b7c7);}throw new LLMError(_0x539cd7(0x684,0x7ef,0x6f3,0x52e),void 0x0,![],_0x44b7c7);}async[_0x1f0bf6(0x34e,0x244,0x405,0x1e8)](_0x4340d9,_0x2646eb){const _0x2ca836={_0x1c39d1:0x2ef,_0x11265d:0x21d,_0x29bd41:0x1cb,_0x35f7b9:0xbf,_0x3a74ed:0x173,_0x380c53:0x138,_0x11a360:0xda,_0x18a1fc:0x107,_0x488031:0x278,_0xb448ca:0x363,_0x589b5d:0x154,_0x3e707e:0x31f,_0x494227:0x3ee,_0x5eaf14:0x3ea,_0xe1929d:0x559,_0x37786c:0x345,_0x455aeb:0x377,_0x86c26c:0x3b5,_0x5d7d65:0x349,_0x20bbc0:0x54a,_0x332a4c:0x30f,_0x1848e9:0x349,_0x3bc04d:0x28d,_0x489d26:0x453,_0x19c6e3:0x35c,_0x122d77:0x3da,_0x46029f:0x2e4,_0x204cb7:0x5c4,_0xaf138b:0x5c9,_0x3f5957:0x3bb,_0x1e2c1e:0x4a3,_0x4bc334:0x27d,_0x251778:0x46a,_0x4e251f:0x408,_0x5c0526:0xc3,_0xc02e03:0x204,_0x13cb3b:0x44f,_0x2a1ed4:0x184,_0x267cbc:0x363,_0x4a6a32:0x86,_0x1c8b21:0x225,_0x323906:0x175,_0xa69e6f:0x89,_0x3ff5ba:0x99,_0x40248a:0x67,_0x58f5e2:0x2d3},_0x2c925a={_0x1f74e8:0x128,_0x1b3049:0x2ea};function _0x31a9f8(_0x6cf98e,_0x4fbde2,_0x47d435,_0x4fe12b){return _0x1f0bf6(_0x6cf98e- -0x1ae,_0x47d435,_0x47d435-0xf9,_0x4fe12b-0x31);}function _0x108521(_0x36fda9,_0x1207c5,_0x348523,_0x3528bd){return _0x577062(_0x36fda9-_0x2c925a._0x1f74e8,_0x36fda9,_0x348523-0x112,_0x3528bd-_0x2c925a._0x1b3049);}try{const _0x45fa25=this['getModel'](_0x4340d9['model']),_0x3efc36=this[_0x108521(0x72,_0x2ca836._0x1c39d1,_0x2ca836._0x11265d,_0x2ca836._0x29bd41)](_0x4340d9['messages']),_0x224d48=this[_0x31a9f8(_0x2ca836._0x35f7b9,-_0x2ca836._0x3a74ed,-_0x2ca836._0x380c53,0x3a)](_0x4340d9['tools']),_0x474562=_0x224d48?this[_0x108521(0x236,0x322,0x254,_0x2ca836._0x11a360)](_0x4340d9[_0x31a9f8(0x299,0x2d8,_0x2ca836._0x18a1fc,0x169)]):void 0x0,_0x54fbaf=await generateText({'model':_0x45fa25,'messages':_0x3efc36,'tools':_0x224d48,'toolChoice':_0x474562,'maxOutputTokens':_0x4340d9[_0x31a9f8(0x1d4,_0x2ca836._0x488031,0x97,_0x2ca836._0xb448ca)]??0x2800,'temperature':_0x4340d9[_0x31a9f8(_0x2ca836._0x589b5d,_0x2ca836._0x3e707e,-0x94,0x22e)],'abortSignal':_0x2646eb,..._0x4340d9[_0x108521(_0x2ca836._0x494227,_0x2ca836._0x5eaf14,_0x2ca836._0xe1929d,0x3b5)]&&{'thinking':_0x4340d9[_0x108521(0x4e6,_0x2ca836._0x37786c,_0x2ca836._0x455aeb,_0x2ca836._0x86c26c)][_0x31a9f8(0x350,0x4b8,0x2fe,0x351)]===_0x31a9f8(_0x2ca836._0x5d7d65,0x37b,_0x2ca836._0x20bbc0,_0x2ca836._0x332a4c)?{'type':_0x31a9f8(_0x2ca836._0x1848e9,_0x2ca836._0x3bc04d,_0x2ca836._0x489d26,_0x2ca836._0x19c6e3),'budgetTokens':_0x4340d9[_0x31a9f8(0x2cc,_0x2ca836._0x122d77,0x44e,_0x2ca836._0x46029f)][_0x108521(_0x2ca836._0x204cb7,_0x2ca836._0xaf138b,0x543,_0x2ca836._0x3f5957)]}:{'type':_0x108521(_0x2ca836._0x1e2c1e,_0x2ca836._0x4bc334,_0x2ca836._0x251778,0x267)}}}),_0x4af777=_0x54fbaf['toolCalls']&&_0x54fbaf[_0x108521(0x320,_0x2ca836._0x4e251f,_0x2ca836._0x5c0526,0x26d)][_0x31a9f8(_0x2ca836._0xc02e03,_0x2ca836._0x13cb3b,0x1d8,0x4a)]>0x0?_0x54fbaf[_0x31a9f8(_0x2ca836._0x2a1ed4,_0x2ca836._0x267cbc,0x22d,-_0x2ca836._0x4a6a32)][_0x108521(0x368,0x48e,_0x2ca836._0x1c8b21,0x2ef)](_0x36ec9f=>({'id':_0x36ec9f[_0x108521(0x461,0x397,0x326,0x480)],'type':'function','function':{'name':_0x36ec9f[_0x108521(0x110,0x47,0x12a,0x1d1)],'arguments':JSON['stringify'](_0x36ec9f['input'])}})):void 0x0,_0x350501=_0x54fbaf[_0x108521(-_0x2ca836._0x323906,-0x66,-0xdd,_0x2ca836._0xa69e6f)],_0x14ef54=this[_0x108521(0x113,-_0x2ca836._0x3ff5ba,0x174,_0x2ca836._0x40248a)](_0x350501);return{'content':_0x54fbaf[_0x31a9f8(0x1a4,0x282,_0x2ca836._0x58f5e2,-0x42)],..._0x4af777&&{'tool_calls':_0x4af777},'usage':_0x14ef54};}catch(_0x26af7e){this['handleError'](_0x26af7e);}}async[_0x1f0bf6(0x193,0x1e,-0xa6,0x268)](_0x9cff25,_0x3ab1f3={},_0x707125){const _0x3ebb18={_0x39ca49:0x200,_0x1c67c2:0x2d9,_0xc48802:0x60,_0x3110e2:0x7d,_0x38aad8:0x81,_0x34a93b:0xad,_0xab2740:0xf3,_0x4a6a83:0x64,_0x37fd3b:0xc8,_0x2d37e6:0x25,_0x4bfc88:0x110,_0xff297a:0xbc,_0x8c58c8:0x1de,_0x3c9628:0x2aa,_0x46cf62:0x236,_0x2acc45:0x264,_0x176c10:0x79,_0x2853eb:0x145,_0x46987d:0x5f,_0x5dd922:0x33,_0x2dd55a:0x333,_0x45a02e:0x30b,_0x2ad787:0x1ab,_0x5d803c:0x51,_0x402c38:0x100,_0x173b4f:0x22f,_0x279c8f:0x1bc,_0x1ff092:0x2dd,_0x566590:0x4b,_0x12d6f5:0x19c,_0x86c34:0x1b1,_0x44dbe3:0x69,_0x1a6d5e:0x3f,_0x42b3e6:0x5d,_0x463778:0x3d,_0x5dbca0:0x221,_0x546d54:0x215,_0x3aa875:0x262,_0x7039e0:0x2d,_0x22635b:0x58,_0xf50500:0x157,_0x30dcc1:0x1cf,_0x5e3aa9:0x63,_0x244a72:0x195,_0x46db37:0x282,_0x469401:0x113,_0x53db66:0x131,_0x553b9a:0x260,_0x4cdff4:0x11c,_0x21f683:0x11f,_0x3dff02:0x181,_0x419310:0x55,_0x8cc302:0x1c3,_0x5b18ce:0x3ab,_0x2f4e54:0x18c,_0x3a1ffe:0x9b,_0x55ace7:0x44b,_0x1a10ae:0x47f,_0x197cfd:0x28e,_0x2b78a8:0x1eb},_0x41f98f={_0x2685ca:0x27c},_0x8bc8b5={_0x573419:0x28},_0x9adef7={_0x566789:0x390,_0x101a15:0x404,_0x5deb98:0x4ce},_0x40d512={_0x55d384:0x1a3},_0x5c5a91={_0x2c550a:0x14f};function _0x4e0723(_0x1006cf,_0x5b0e37,_0x46b2fc,_0x1ee957){return _0x577062(_0x1006cf-_0x5c5a91._0x2c550a,_0x1006cf,_0x46b2fc-0x129,_0x1ee957-0xe0);}let _0x559350=null;function _0x230379(_0x22b625,_0x384b64,_0x14844a,_0x401513){return _0x577062(_0x22b625-0x1e7,_0x14844a,_0x14844a-_0x40d512._0x55d384,_0x22b625-0x212);}const _0x55d09b=this[_0x230379(-0xb9,-_0x3ebb18._0x39ca49,-_0x3ebb18._0x1c67c2,-_0x3ebb18._0xc48802)](_0x9cff25[_0x230379(0x0,-_0x3ebb18._0x3110e2,_0x3ebb18._0x38aad8,_0x3ebb18._0x34a93b)]),_0x192982=this[_0x230379(_0x3ebb18._0xab2740,0x2b0,_0x3ebb18._0x4a6a83,_0x3ebb18._0x37fd3b)](_0x9cff25[_0x4e0723(0x38f,0x367,0x41b,0x292)]),_0x4ea93e=this['transformTools'](_0x9cff25[_0x230379(_0x3ebb18._0x2d37e6,_0x3ebb18._0x4bfc88,_0x3ebb18._0xff297a,_0x3ebb18._0x8c58c8)]),_0x18a80a=_0x4ea93e?this['transformToolChoice'](_0x9cff25[_0x230379(_0x3ebb18._0x3c9628,0x26a,_0x3ebb18._0x46cf62,_0x3ebb18._0x2acc45)]):void 0x0,_0x133c51=streamText({'model':_0x55d09b,'messages':_0x192982,'tools':_0x4ea93e,'toolChoice':_0x18a80a,'maxOutputTokens':_0x9cff25['maxTokens'],'temperature':_0x9cff25[_0x4e0723(_0x3ebb18._0x176c10,-_0x3ebb18._0x2853eb,-_0x3ebb18._0x46987d,_0x3ebb18._0x5dd922)],'abortSignal':_0x707125,'maxRetries':0xa,..._0x9cff25[_0x4e0723(0x83,_0x3ebb18._0x2dd55a,_0x3ebb18._0x45a02e,_0x3ebb18._0x2ad787)]&&{'thinking':_0x9cff25['thinking'][_0x4e0723(_0x3ebb18._0x5d803c,_0x3ebb18._0x402c38,0x2a0,_0x3ebb18._0x173b4f)]===_0x4e0723(_0x3ebb18._0x279c8f,0x2c3,0x33b,0x228)?{'type':'enabled','budgetTokens':_0x9cff25[_0x230379(_0x3ebb18._0x1ff092,0x313,0x41a,0x3a0)][_0x4e0723(0x1b2,-_0x3ebb18._0x566590,_0x3ebb18._0x12d6f5,_0x3ebb18._0x86c34)]}:{'type':_0x4e0723(-_0x3ebb18._0x44dbe3,-_0x3ebb18._0x1a6d5e,-0x1a0,_0x3ebb18._0x42b3e6)}},'onError':_0x1fdbe4=>{function _0x33fafc(_0x2eced0,_0x56e816,_0x3c4d5b,_0x2a314b){return _0x230379(_0x56e816-0x8c,_0x56e816-0x1c9,_0x2eced0,_0x2a314b-0x1a9);}_0x559350=_0x1fdbe4[_0x33fafc(_0x9adef7._0x566789,0x41a,_0x9adef7._0x101a15,_0x9adef7._0x5deb98)];},'onAbort':()=>{function _0x5223ec(_0x33537b,_0x1e3eb7,_0x5cfddf,_0x51155f){return _0x230379(_0x51155f-0xe8,_0x1e3eb7-0x88,_0x33537b,_0x51155f-_0x8bc8b5._0x573419);}_0x559350=new LLMError(_0x5223ec(0xff,0x1cb,0x466,_0x41f98f._0x2685ca),void 0x0,![]);}});try{let _0x465c0a='';for await(const _0x447e76 of _0x133c51[_0x4e0723(_0x3ebb18._0x463778,0x241,0x196,-0x6)]){_0x465c0a+=_0x447e76,_0x3ab1f3[_0x4e0723(-_0x3ebb18._0x5dbca0,_0x3ebb18._0x546d54,-_0x3ebb18._0x3aa875,-_0x3ebb18._0x7039e0)]?.(_0x447e76);}if(_0x559350)throw _0x559350;const _0x1119e8=_0x133c51['toolCalls']&&(await _0x133c51[_0x4e0723(-_0x3ebb18._0x22635b,-_0x3ebb18._0xf50500,_0x3ebb18._0x30dcc1,_0x3ebb18._0x5e3aa9)])['length']>0x0?(await _0x133c51[_0x230379(_0x3ebb18._0x244a72,_0x3ebb18._0x46db37,_0x3ebb18._0x469401,_0x3ebb18._0x53db66)])['map'](_0x465163=>({'id':_0x465163[_0x4e0723(0x2c8,0x122,0x1bd,0x276)],'type':_0x4e0723(-0x189,0x33,0xa2,-0x12),'function':{'name':_0x465163[_0x4e0723(0x152,-0xf3,-0x1eb,-0x39)],'arguments':JSON['stringify'](_0x465163['input'])}})):void 0x0,_0x25f048=await _0x133c51[_0x4e0723(-_0x3ebb18._0x553b9a,-_0x3ebb18._0x4cdff4,-_0x3ebb18._0x21f683,-_0x3ebb18._0x3dff02)],_0x294275=this[_0x230379(-0x71,-_0x3ebb18._0x419310,-_0x3ebb18._0x8cc302,0x1d2)](_0x25f048),_0x50e8d4=await _0x133c51[_0x230379(0x2a0,_0x3ebb18._0x5b18ce,_0x3ebb18._0x2f4e54,_0x3ebb18._0x3a1ffe)];return await _0x3ab1f3[_0x4e0723(0x313,_0x3ebb18._0x55ace7,_0x3ebb18._0x1a10ae,_0x3ebb18._0x197cfd)]?.(_0x50e8d4,_0x294275),{'content':_0x465c0a,..._0x1119e8&&{'tool_calls':_0x1119e8},'usage':_0x294275};}catch(_0x2c3362){this[_0x230379(0x242,0x281,0x226,_0x3ebb18._0x2b78a8)](_0x2c3362);}}async['getModels'](_0x17f64e){const _0x40b5f8={_0x3667f7:0x18b,_0x53d223:0xf0,_0xe7bc24:0x36,_0x9575a:0x565,_0x5c6c08:0x785,_0x279ec1:0x243,_0x3b3657:0x82,_0x9598ac:0x40d,_0x55719:0x4af,_0x55d469:0x6a7,_0x3caf90:0x11a,_0x2f31fe:0x21d,_0x197fa4:0x63d,_0x53b019:0x6ba,_0x447569:0x7df,_0x189d0c:0x5dd},_0x1f4d9c={_0x2ffe1e:0x9b},_0x2f756f={_0x56fe8c:0x6b5},_0x3192eb=this[_0x4ac493(_0x40b5f8._0x3667f7,0x12,_0x40b5f8._0x53d223,_0x40b5f8._0xe7bc24)]();if(!_0x3192eb['getApiKey']()&&!_0x3192eb['getOAuth']())throw new LLMError(_0x119d5e(_0x40b5f8._0x9575a,0x5b4,0x4fe,_0x40b5f8._0x5c6c08),0x191,![]);function _0x119d5e(_0x306483,_0x1d50fa,_0x3214be,_0x815170){return _0x577062(_0x306483-0xc0,_0x306483,_0x3214be-0xd9,_0x1d50fa-_0x2f756f._0x56fe8c);}const _0x157b17=await this[_0x4ac493(-0x170,-_0x40b5f8._0x279ec1,-0x1f6,-_0x40b5f8._0x3b3657)]()[_0x119d5e(_0x40b5f8._0x9598ac,_0x40b5f8._0x55719,_0x40b5f8._0x55d469,0x32e)]('/models',void 0x0,_0x17f64e);function _0x4ac493(_0x5ec4ae,_0x30c5db,_0x496589,_0x1bfab0){return _0x577062(_0x5ec4ae-0xe8,_0x30c5db,_0x496589-0x36,_0x1bfab0-_0x1f4d9c._0x2ffe1e);}const _0x826595=await _0x157b17[_0x4ac493(_0x40b5f8._0x3caf90,_0x40b5f8._0x2f31fe,0x150,0x1e5)](),_0x339637=_0x826595['data'][_0x119d5e(_0x40b5f8._0x197fa4,_0x40b5f8._0x53b019,_0x40b5f8._0x447569,_0x40b5f8._0x189d0c)](_0x1d233f=>normalizeModelInfo(_0x119d5e(0x612,0x670,0x5b6,0x715),_0x1d233f));return deduplicateModels(_0x339637);}},GenericAnthropicLLM=class{['opts'];[_0x1f0bf6(0x2e7,0xbe,0x253,0x2ca)];[_0x1f0bf6(0x517,0x479,0x54e,0x3df)];[_0x1f0bf6(0x4b9,0x541,0x4ff,0x3d2)];[_0x1f0bf6(0x407,0x46d,0x59e,0x5d5)];[_0x1f0bf6(0x1d0,0x306,0x25c,0x3a3)]=null;constructor(_0x4724a8,_0x2018bd={}){const _0x218fb3={_0x2403ac:0x32e,_0x3567d5:0x1e9,_0xb229fe:0x37e,_0x5e0751:0x34a,_0x39ef64:0x360,_0x16e001:0x50e,_0xc16d31:0x63e,_0x4853a8:0x500,_0x31a095:0x34c,_0x4a740f:0x500,_0xb7875e:0x641,_0x138af1:0x2cd,_0x588bbe:0x44e,_0x10e81b:0x2d9,_0x5a138d:0x0,_0xa7832:0x334,_0x56f6e8:0x56},_0x249388={_0x95c264:0x179};function _0x400b9b(_0x42c868,_0x49e87a,_0x3c8564,_0x2377e3){return _0x1f0bf6(_0x42c868-0x47,_0x3c8564,_0x3c8564-_0x249388._0x95c264,_0x2377e3-0x5b);}this[_0x400b9b(_0x218fb3._0x2403ac,_0x218fb3._0x3567d5,0x508,0x4ab)]=_0x2018bd[_0xcd11a9(0x2a3,_0x218fb3._0xb229fe,0x2de,_0x218fb3._0x5e0751)]||_0x4724a8,this[_0xcd11a9(_0x218fb3._0x39ef64,0x447,_0x218fb3._0x16e001,_0x218fb3._0xc16d31)]=_0x2018bd[_0x400b9b(0x55e,0x616,0x604,0x6fd)]??![],this[_0x400b9b(_0x218fb3._0x4853a8,0x53f,0x58d,_0x218fb3._0x31a095)]=_0x2018bd[_0x400b9b(_0x218fb3._0x4a740f,_0x218fb3._0xb7875e,0x38d,_0x218fb3._0x138af1)]??_0x400b9b(0x259,0x2c3,0x215,0x141);function _0xcd11a9(_0x4d1bc5,_0xbbc8df,_0xf3b389,_0x27e4ff){return _0x577062(_0x4d1bc5-0x54,_0x4d1bc5,_0xf3b389-0xb0,_0xf3b389-0x3a6);}this[_0x400b9b(_0x218fb3._0x588bbe,_0x218fb3._0x10e81b,0x3c9,0x3d8)]=_0x2018bd['modelConfig']??!![],this[_0x400b9b(0x1b8,_0x218fb3._0x5a138d,_0x218fb3._0xa7832,-_0x218fb3._0x56f6e8)]=_0x2018bd;}[_0x577062(0x4c,0x1b6,0x23b,0x13c)](){const _0x3e59bc={_0x384b52:0x1ce,_0xaea14d:0x679,_0x5c6984:0x2e3,_0x189e5e:0xa2,_0x2189a1:0x18b,_0x3cc17c:0x1a6,_0x15817f:0x68,_0x8c1e03:0x39d,_0x49e8e8:0x29f,_0x430652:0x3bc,_0x58d192:0x24a,_0x5df2b1:0x458,_0x3fbfdc:0x35,_0x4538e4:0x7,_0x4df824:0x56b,_0x63eed7:0x1eb,_0x2b91e9:0x686,_0x470869:0x3c7},_0x162cf6={_0x425f9b:0x7c,_0x3741db:0x1e3},_0x2dfab4=new FetchTransport({'persistFile':this[_0x416aca(0x54,-_0x3e59bc._0x384b52,-0x5b,0x64)][_0x1c2f72(_0x3e59bc._0xaea14d,0x4fd,0x436,_0x3e59bc._0x5c6984)],'logLevel':_0x416aca(_0x3e59bc._0x189e5e,0x20f,_0x3e59bc._0x2189a1,0x1aa),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]});function _0x1c2f72(_0x46d6c7,_0x34eeee,_0x591bfb,_0x1733c2){return _0x1f0bf6(_0x34eeee-0x7a,_0x591bfb,_0x591bfb-0x44,_0x1733c2-0x102);}function _0x416aca(_0x103d12,_0x575f07,_0x1ca136,_0x3bf1b9){return _0x577062(_0x103d12-_0x162cf6._0x425f9b,_0x3bf1b9,_0x1ca136-0x18c,_0x1ca136-_0x162cf6._0x3741db);}const _0x4ef4ba={'anthropic-version':_0x416aca(0xd3,0x1a6,0x20d,_0x3e59bc._0x3cc17c),'x-api-key':this[_0x416aca(-0x38,0x12e,-0x5b,0xf1)][_0x416aca(0x157,0x219,0x15e,_0x3e59bc._0x15817f)]||'',...this[_0x1c2f72(0x3e6,0x1eb,_0x3e59bc._0x8c1e03,_0x3e59bc._0x49e8e8)][_0x1c2f72(_0x3e59bc._0x430652,0x4b1,0x3db,0x403)]},_0x37a2b6=createTransport(_0x2dfab4,this[_0x1c2f72(_0x3e59bc._0x58d192,0x361,_0x3e59bc._0x5df2b1,0x534)],void 0x0,void 0x0,void 0x0,_0x4ef4ba),_0x259a76=this[_0x416aca(_0x3e59bc._0x3fbfdc,0xed,-0x5b,_0x3e59bc._0x4538e4)][_0x1c2f72(0x5b6,0x4a8,0x453,_0x3e59bc._0x4df824)]?new RetryTransport(_0x37a2b6,this[_0x1c2f72(0x3d1,_0x3e59bc._0x63eed7,0x236,-0x32)][_0x1c2f72(_0x3e59bc._0x2b91e9,0x4a8,_0x3e59bc._0x470869,0x52b)]):_0x37a2b6;return new LLMErrorTransport(_0x259a76);}[_0x577062(-0x209,-0x241,-0x1b1,-0x11d)](){const _0x3bca23={_0x33df3c:0x3c3,_0x6cab88:0x726,_0x1bf840:0x53e,_0x1f182e:0x223,_0x59ad17:0x25d},_0x41a205={_0x2db2b5:0x53},_0x212725={_0x521315:0xc5};function _0x3c4bf2(_0x336612,_0x2ab196,_0x4bb837,_0x54ad7b){return _0x577062(_0x336612-_0x212725._0x521315,_0x336612,_0x4bb837-0xb1,_0x2ab196-0x5a2);}!this[_0x3c4bf2(0x4a5,_0x3bca23._0x33df3c,0x1a3,0x370)]&&(this['transport']=this[_0x3023dd(_0x3bca23._0x6cab88,_0x3bca23._0x1bf840,0x318,0x3f5)]());function _0x3023dd(_0x3bf07d,_0x2de0ee,_0x2e2fcf,_0x6a68a8){return _0x1f0bf6(_0x2de0ee-_0x41a205._0x2db2b5,_0x6a68a8,_0x2e2fcf-0xb5,_0x6a68a8-0x4b);}return this[_0x3023dd(0x3df,_0x3bca23._0x1f182e,0x5,_0x3bca23._0x59ad17)];}['transformMessages'](_0xb8c562){const _0x39ce6c={_0x5ccecd:0xa2,_0x34e53e:0x45,_0x392a7b:0x2ae,_0x10204c:0x4cd,_0x1df841:0x54e,_0x43734e:0x439,_0xb93983:0x12f,_0x797a0c:0xb,_0x1ab46e:0x15,_0x424918:0x1a4,_0xab03c4:0x128,_0x4a54c5:0x310,_0x2acc8f:0x36f,_0x104972:0x1c5,_0x31d12c:0x3d1,_0x2c9379:0x432,_0xe1abec:0x560,_0x597028:0x52f,_0x5f7c8c:0x24,_0x5ad848:0x168,_0x42bed5:0xd4,_0x49eb76:0x327,_0x239c15:0x1d3,_0x263cb9:0x2f3,_0x276610:0x8c,_0x4d938a:0x16f,_0x1bc911:0x126,_0x278c17:0xef,_0x47099e:0x39e,_0x592f3f:0x1fc,_0x1302e0:0xa5,_0x5add65:0x29a,_0xac7008:0x457,_0x5dab1e:0x17e,_0x1c6a71:0x119,_0x28783b:0x672,_0x2ad3ba:0x4ee,_0x2d8a7e:0x164,_0x34ade6:0x98,_0x35c951:0x214,_0xd1f3dd:0x2e0,_0x56b5f4:0x252,_0x1b8b5f:0x141,_0x3653:0xa,_0x284704:0x1b4,_0x41c6d7:0x2d5,_0x483b20:0x41d,_0x11790b:0x74,_0x16a916:0x376,_0x2255e5:0x740,_0xa811eb:0x71a,_0x4bf4d2:0x680,_0x3fc7b6:0x527,_0x4f8ec2:0x571,_0x300442:0x31d,_0x55601d:0x566,_0x308d47:0x477,_0x2a1ae9:0x3ce,_0x4f0e8a:0x34c,_0x136c91:0x350,_0x78278e:0x81b,_0x12b847:0x3e3,_0x5d8926:0x1ba,_0x37ad6d:0x287,_0x4e048e:0xcd,_0x19935b:0x645,_0x835715:0x360,_0x50577f:0x814,_0x28471f:0x7a7,_0x141de9:0x60f,_0x2d7c88:0x67b,_0x4384fb:0x47b,_0x12a743:0x4cf,_0x3b00eb:0x2ca,_0x185540:0x39d,_0x23b5d2:0x630,_0x4916c3:0x48b,_0xc4f9f8:0x51a,_0x58223c:0x2f9,_0x51fd72:0x2d7,_0x3c8b02:0x122,_0x3d425d:0x38,_0xea9135:0x839,_0x1d87f9:0x79c,_0x2193c9:0x82b,_0x321b1b:0xb2,_0x531103:0x140,_0x454168:0x243,_0x2c5d29:0x420,_0xb8d853:0x388,_0xed9b43:0x93,_0x5a29af:0xcc,_0xac0f26:0x356,_0x3b5587:0x611,_0x273573:0x1e4,_0x3b3e5d:0x32b,_0xa4cefb:0x32,_0x248a78:0x51,_0x5ed90a:0x254,_0x5ab698:0x733,_0x1336f0:0x566,_0x919770:0x208,_0x339adc:0x40,_0x2dd96d:0x353,_0x5443a2:0x574,_0x58265a:0x727,_0x104c66:0x3c0,_0x3a6bfb:0x4cf,_0x588b9c:0x54c,_0x29fca3:0x3b4,_0x3ddd7b:0x4cf,_0x4c84cc:0x559,_0x493fc3:0x2a8,_0x16bbfb:0x3f9,_0x409ae6:0x200,_0x4ab61a:0x3d6,_0x1c1ecc:0x372,_0x2daf63:0x366,_0x4d94b5:0x5c1,_0x521e70:0x69d,_0x80c938:0x2d0,_0x42c318:0x48,_0x3bc216:0x188,_0x3b4c35:0x0,_0x3b230e:0x19d,_0x3f7100:0x135,_0x497183:0x2f5,_0x5ab356:0x3d3,_0x26435b:0xac,_0x2a0d59:0x1c3,_0x5a9735:0x12d,_0x481493:0x1ae,_0x44f553:0x292,_0x194611:0x301,_0x43f3f2:0x444,_0x2f47ab:0x6ba,_0x316ea2:0x12d,_0x860e95:0xe2,_0x4fcce7:0x2a2,_0x5794f5:0x37a,_0x5c4cca:0x6c5,_0xf97873:0x359,_0xc688ca:0xf8,_0x3bcc9a:0x6c0,_0x4cfec4:0x3ed,_0x3bb91b:0x49b,_0x3e18df:0x368,_0x260d56:0x5bc,_0x2f7723:0x52f,_0xdad52f:0x25,_0x46e767:0x44d,_0x38e537:0x55,_0x508342:0x165,_0x3dd95c:0x262,_0x4c1211:0x1c3,_0x24db4f:0x419,_0x2b0ce6:0x5f1},_0xf97bb4={_0x40cf72:0xf1},_0x44166f={_0x14cb46:0x79},_0x59dc11=_0xb8c562[_0x5d5345(_0x39ce6c._0x5ccecd,0x2c2,-_0x39ce6c._0x34e53e,_0x39ce6c._0x392a7b)](_0x3bdcae=>_0x3bdcae[_0x2794c0(0x556,0x568,0x1ac,0x36f)]===_0x5d5345(0xbb,0x1f3,0xb1,0x11d)),_0x164d39=_0xb8c562[_0x2794c0(_0x39ce6c._0x10204c,_0x39ce6c._0x1df841,0x6c9,0x4a4)](_0x101dbb=>_0x101dbb[_0x5d5345(-0x93,-0x14b,-0x1e1,-0x230)]!==_0x2794c0(0x502,0x31a,0x277,0x4bd));function _0x2794c0(_0x458aa4,_0x39e79d,_0x37bd30,_0xedcfcd){return _0x577062(_0x458aa4-_0x44166f._0x14cb46,_0x39e79d,_0x37bd30-0x143,_0xedcfcd-0x52c);}function _0x5d5345(_0x2ae66b,_0x3e8aae,_0x4a6871,_0x169658){return _0x1f0bf6(_0x2ae66b- -0x285,_0x4a6871,_0x4a6871-0x127,_0x169658-_0xf97bb4._0x40cf72);}let _0x4bdfe9;_0x59dc11[_0x2794c0(_0x39ce6c._0x43734e,0x5de,0x46d,0x52f)]>0x0&&(this['enablePromptCaching']?_0x4bdfe9=_0x59dc11[_0x5d5345(_0x39ce6c._0xb93983,0x36e,-_0x39ce6c._0x797a0c,-_0x39ce6c._0x1ab46e)]((_0x1ea065,_0x205ab2)=>({'type':_0x5d5345(0xcd,0xa2,0x93,-0x5a),'text':typeof _0x1ea065[_0x2794c0(0x699,0x45e,0x47f,0x566)]===_0x5d5345(0x1e4,0x346,0x38d,0x3e1)?_0x1ea065[_0x2794c0(0x364,0x508,0x4a2,0x566)]:JSON[_0x2794c0(0x629,0x659,0x602,0x4f5)](_0x1ea065[_0x2794c0(0x5fd,0x62c,0x372,0x566)]),..._0x205ab2<0x2&&{'cache_control':{'type':_0x2794c0(0x5d1,0x63e,0x460,0x5d3)}}})):_0x4bdfe9=_0x59dc11['map'](_0x42da52=>typeof _0x42da52['content']===_0x2794c0(0x3f3,0x4b2,0x3d0,0x5e6)?_0x42da52['content']:JSON[_0x5d5345(0xf3,0x161,0x124,-0x90)](_0x42da52[_0x2794c0(0x435,0x6e7,0x532,0x566)]))[_0x5d5345(0x119,0x2cb,0x256,_0x39ce6c._0x424918)]('\x0a\x0a'));const _0x1dab00=[];for(const _0x435e13 of _0x164d39){if(_0x435e13[_0x2794c0(0x235,_0x39ce6c._0xab03c4,_0x39ce6c._0x4a54c5,_0x39ce6c._0x2acc8f)]===_0x2794c0(_0x39ce6c._0x104972,_0x39ce6c._0x31d12c,0x374,0x264)){const _0x115168=_0x1dab00[_0x1dab00[_0x2794c0(_0x39ce6c._0x2c9379,_0x39ce6c._0xe1abec,0x4ee,_0x39ce6c._0x597028)]-0x1];_0x115168&&_0x115168[_0x5d5345(-0x93,_0x39ce6c._0x5f7c8c,-0x5,-_0x39ce6c._0x5ad848)]===_0x2794c0(0x396,0x333,0x4bf,0x371)&&Array[_0x2794c0(_0x39ce6c._0x42bed5,_0x39ce6c._0x49eb76,_0x39ce6c._0x239c15,_0x39ce6c._0x263cb9)](_0x115168[_0x5d5345(0x164,-_0x39ce6c._0x276610,_0x39ce6c._0x4d938a,_0x39ce6c._0x1bc911)])?_0x115168[_0x5d5345(0x164,0x12,-_0x39ce6c._0x278c17,-0x3)][_0x2794c0(_0x39ce6c._0x47099e,_0x39ce6c._0x592f3f,_0x39ce6c._0x1302e0,_0x39ce6c._0x5add65)]({'type':'tool_result','tool_use_id':_0x435e13[_0x5d5345(0x2a4,0x3dd,0x2f7,_0x39ce6c._0xac7008)]||'','content':typeof _0x435e13['content']===_0x5d5345(0x1e4,_0x39ce6c._0x5dab1e,0x316,_0x39ce6c._0x1c6a71)?_0x435e13[_0x5d5345(0x164,0x17b,0x1d2,-0x18)]:JSON[_0x2794c0(0x6c0,_0x39ce6c._0x28783b,_0x39ce6c._0x2ad3ba,0x4f5)](_0x435e13[_0x5d5345(_0x39ce6c._0x2d8a7e,0x122,_0x39ce6c._0x34ade6,-0x7b)])}):_0x1dab00[_0x5d5345(-_0x39ce6c._0x5ad848,-_0x39ce6c._0x35c951,-_0x39ce6c._0xd1f3dd,-_0x39ce6c._0x56b5f4)]({'role':_0x5d5345(-0x91,_0x39ce6c._0x1b8b5f,-_0x39ce6c._0x3653,-_0x39ce6c._0x284704),'content':[{'type':_0x2794c0(_0x39ce6c._0x41c6d7,0x3af,0x1c8,_0x39ce6c._0x483b20),'tool_use_id':_0x435e13['tool_call_id']||'','content':typeof _0x435e13[_0x5d5345(_0x39ce6c._0x2d8a7e,-_0x39ce6c._0x11790b,0x87,_0x39ce6c._0x16a916)]===_0x2794c0(_0x39ce6c._0x2255e5,_0x39ce6c._0xa811eb,0x797,0x5e6)?_0x435e13['content']:JSON[_0x2794c0(0x39c,_0x39ce6c._0x4bf4d2,_0x39ce6c._0x3fc7b6,0x4f5)](_0x435e13[_0x2794c0(_0x39ce6c._0x4f8ec2,_0x39ce6c._0x300442,0x716,_0x39ce6c._0x55601d)])}]});continue;}if(_0x435e13['role']===_0x2794c0(_0x39ce6c._0x308d47,_0x39ce6c._0x2a1ae9,_0x39ce6c._0x4f0e8a,_0x39ce6c._0x136c91)){const _0x51d415=[];if(typeof _0x435e13['content']===_0x2794c0(_0x39ce6c._0xe1abec,_0x39ce6c._0x78278e,_0x39ce6c._0x12b847,0x5e6)&&_0x435e13[_0x5d5345(_0x39ce6c._0x2d8a7e,_0x39ce6c._0x5d8926,_0x39ce6c._0x37ad6d,0x22)])_0x51d415[_0x2794c0(0x234,0x279,0x4d4,_0x39ce6c._0x5add65)]({'type':_0x5d5345(_0x39ce6c._0x4e048e,-0x35,0x204,-_0x39ce6c._0x5ad848),'text':_0x435e13['content']});else{if(Array['isArray'](_0x435e13[_0x2794c0(_0x39ce6c._0x19935b,0x39b,_0x39ce6c._0x835715,_0x39ce6c._0x55601d)]))for(const _0x14978e of _0x435e13['content']){_0x14978e[_0x2794c0(_0x39ce6c._0x50577f,_0x39ce6c._0x28471f,_0x39ce6c._0x141de9,_0x39ce6c._0x2d7c88)]===_0x2794c0(0x596,0x517,_0x39ce6c._0x4384fb,_0x39ce6c._0x12a743)&&_0x51d415[_0x5d5345(-0x168,-0xb5,-_0x39ce6c._0x3b00eb,-_0x39ce6c._0x185540)]({'type':_0x2794c0(0x66c,0x536,0x6f2,0x4cf),'text':_0x14978e[_0x2794c0(_0x39ce6c._0x23b5d2,_0x39ce6c._0x4916c3,0x334,0x4cf)]});}}if(_0x435e13[_0x2794c0(_0x39ce6c._0xc4f9f8,_0x39ce6c._0x58223c,0x116,_0x39ce6c._0x51fd72)])for(const _0x2704d4 of _0x435e13['tool_calls']){_0x51d415[_0x5d5345(-0x168,-0x30d,-0x212,0x84)]({'type':_0x2794c0(0x292,0xfd,_0x39ce6c._0x3c8b02,0x333),'id':_0x2704d4['id'],'name':_0x2704d4[_0x5d5345(_0x39ce6c._0x3d425d,0x96,0x194,-0x16a)]['name'],'input':JSON[_0x2794c0(_0x39ce6c._0xea9135,0x7e8,_0x39ce6c._0x1d87f9,0x689)](_0x2704d4['function'][_0x2794c0(0x4b7,_0x39ce6c._0x2193c9,0x7b5,0x6b7)]||'{}')});}_0x1dab00[_0x2794c0(0x48,0x4e0,0x89,0x29a)]({'role':_0x5d5345(-_0x39ce6c._0x321b1b,_0x39ce6c._0x531103,-0x56,-_0x39ce6c._0x454168),'content':_0x51d415[_0x2794c0(0x543,_0x39ce6c._0x2c5d29,_0x39ce6c._0xb8d853,0x52f)]>0x0?_0x51d415:''});continue;}if(_0x435e13[_0x5d5345(-_0x39ce6c._0xed9b43,-_0x39ce6c._0x5a29af,0x19a,-0xd7)]===_0x2794c0(0x221,0x484,_0x39ce6c._0xac0f26,0x371)){const _0x8891c4=[];if(typeof _0x435e13[_0x2794c0(0x3ef,0x699,_0x39ce6c._0x3b5587,0x566)]===_0x5d5345(_0x39ce6c._0x273573,0x247,0x284,_0x39ce6c._0x3b3e5d)&&_0x435e13['content'])_0x8891c4[_0x5d5345(-0x168,-0x199,-_0x39ce6c._0xa4cefb,-0x288)]({'type':_0x5d5345(0xcd,0x1f7,-_0x39ce6c._0x248a78,_0x39ce6c._0x5ed90a),'text':_0x435e13[_0x2794c0(0x3f7,0x4ec,_0x39ce6c._0x5ab698,_0x39ce6c._0x1336f0)]});else{if(Array[_0x2794c0(0x345,0x2d6,_0x39ce6c._0x919770,0x2f3)](_0x435e13[_0x2794c0(0x3ae,0x65f,0x4fb,_0x39ce6c._0x1336f0)]))for(const _0x4abd28 of _0x435e13[_0x5d5345(0x164,0x13c,-_0x39ce6c._0x339adc,_0x39ce6c._0x2dd96d)]){if(_0x4abd28[_0x2794c0(0x6c4,_0x39ce6c._0x5443a2,_0x39ce6c._0x58265a,_0x39ce6c._0x2d7c88)]===_0x5d5345(_0x39ce6c._0x4e048e,-_0x39ce6c._0x34e53e,0x15a,0x5e))_0x8891c4['push']({'type':_0x2794c0(_0x39ce6c._0x28783b,_0x39ce6c._0x104c66,0x2eb,_0x39ce6c._0x3a6bfb),'text':_0x4abd28[_0x2794c0(0x591,_0x39ce6c._0x588b9c,_0x39ce6c._0x29fca3,_0x39ce6c._0x3ddd7b)]});else{if(_0x4abd28[_0x2794c0(0x4d6,_0x39ce6c._0x4c84cc,0x4f4,0x67b)]===_0x2794c0(_0x39ce6c._0x493fc3,_0x39ce6c._0x16bbfb,_0x39ce6c._0x409ae6,_0x39ce6c._0x4ab61a)){const _0x2d9d7d=_0x4abd28[_0x2794c0(_0x39ce6c._0x1c1ecc,_0x39ce6c._0x2daf63,0x5a6,0x3d6)]['url'];if(_0x2d9d7d[_0x2794c0(0x744,_0x39ce6c._0x4d94b5,0x59b,_0x39ce6c._0x521e70)]('data:')){const _0x5b54da=_0x2d9d7d[_0x5d5345(0x12c,_0x39ce6c._0x80c938,0x1e6,_0x39ce6c._0x42c318)](/^data:([^;]+);base64,(.+)$/);_0x5b54da&&_0x8891c4['push']({'type':_0x5d5345(-_0x39ce6c._0x3bc216,0x28,-0x11b,_0x39ce6c._0x3b4c35),'source':{'type':_0x2794c0(_0x39ce6c._0x3b230e,0x378,_0x39ce6c._0x3f7100,_0x39ce6c._0x497183),'media_type':_0x5b54da[0x1],'data':_0x5b54da[0x2]}});}}}}}_0x1dab00[_0x2794c0(0x40e,_0x39ce6c._0x5ab356,0x126,_0x39ce6c._0x5add65)]({'role':_0x5d5345(-0x91,-_0x39ce6c._0x26435b,-0x1e3,-_0x39ce6c._0x2a0d59),'content':_0x8891c4[_0x5d5345(_0x39ce6c._0x5a9735,-0x2b,_0x39ce6c._0x481493,0x5c)]>0x0?_0x8891c4:''});}}if(this[_0x5d5345(_0x39ce6c._0x44f553,_0x39ce6c._0x194611,0x46d,0x40e)]&&_0x1dab00['length']>0x0){const _0x206426=_0x1dab00[_0x2794c0(_0x39ce6c._0x43f3f2,0x5e9,0x70a,0x52f)]>=0x2?[_0x1dab00[_0x2794c0(0x6d1,_0x39ce6c._0x2f47ab,0x610,_0x39ce6c._0x597028)]-0x2,_0x1dab00['length']-0x1]:[_0x1dab00[_0x5d5345(_0x39ce6c._0x316ea2,-_0x39ce6c._0x860e95,_0x39ce6c._0x4fcce7,_0x39ce6c._0x5794f5)]-0x1];for(const _0x1ca2f6 of _0x206426){const _0x462142=_0x1dab00[_0x1ca2f6];if(_0x462142&&Array['isArray'](_0x462142[_0x2794c0(0x5b3,_0x39ce6c._0x5c4cca,0x422,0x566)])&&_0x462142[_0x2794c0(0x510,0x4a1,_0x39ce6c._0xf97873,0x566)][_0x5d5345(_0x39ce6c._0x5a9735,0x248,0xa2,-_0x39ce6c._0xc688ca)]>0x0){const _0x390509=_0x462142[_0x2794c0(_0x39ce6c._0x3bcc9a,_0x39ce6c._0x4cfec4,0x5cf,_0x39ce6c._0x1336f0)][_0x462142[_0x2794c0(_0x39ce6c._0x3bb91b,_0x39ce6c._0x3e18df,0x335,0x566)][_0x2794c0(_0x39ce6c._0x260d56,_0x39ce6c._0x260d56,0x70f,_0x39ce6c._0x2f7723)]-0x1];_0x390509&&_0x390509[_0x5d5345(0x279,_0x39ce6c._0xdad52f,_0x39ce6c._0x46e767,0x3af)]===_0x5d5345(_0x39ce6c._0x4e048e,-0x26,-_0x39ce6c._0x38e537,-_0x39ce6c._0x508342)&&(_0x390509[_0x5d5345(0x2e3,_0x39ce6c._0x3dd95c,_0x39ce6c._0x4c1211,_0x39ce6c._0x24db4f)]={'type':_0x2794c0(0x672,_0x39ce6c._0x2b0ce6,0x380,0x5d3)});}}}return{'system':_0x4bdfe9,'messages':_0x1dab00};}['transformTools'](_0x443f22){const _0x4ec72e={_0xd43828:0x365,_0x5eec5a:0x207},_0xbeeede={_0x1e41df:0x8d,_0x4f3dc2:0x106};if(!_0x443f22||_0x443f22[_0x411eb6(0x13d,_0x4ec72e._0xd43828,0x308,_0x4ec72e._0x5eec5a)]===0x0)return void 0x0;function _0x411eb6(_0xb267fd,_0x10f242,_0x46d33d,_0x26ee58){return _0x577062(_0xb267fd-0xf1,_0x26ee58,_0x46d33d-0x3f,_0x46d33d-0x305);}function _0x13b089(_0x544a3b,_0x3d41a3,_0x5c3d9f,_0x1b9142){return _0x1f0bf6(_0x544a3b-0x1c7,_0x3d41a3,_0x5c3d9f-_0xbeeede._0x1e41df,_0x1b9142-_0xbeeede._0x4f3dc2);}return _0x443f22['map']((_0x176b8b,_0x385e9e)=>({'name':_0x176b8b['function'][_0x411eb6(0x48b,0x510,0x402,0x349)],'description':_0x176b8b['function'][_0x13b089(0x56a,0x48f,0x589,0x3a8)],'input_schema':_0x176b8b[_0x411eb6(-0x37,0x4f,0x213,0x385)][_0x411eb6(0x2a5,0x38b,0x1fe,0x48)],...this[_0x13b089(0x6de,0x78e,0x902,0x88d)]&&_0x385e9e<0x2&&{'cache_control':{'type':_0x13b089(0x61d,0x5c2,0x699,0x584)}}}));}[_0x577062(-0x9a,-0x228,-0x14,-0x210)](_0x5a21cc){const _0x4b03bc={_0x40926a:0x59e,_0xaefb95:0x75c,_0x11c23f:0x2e9,_0x26c206:0x437,_0x23a30b:0x574,_0x4a0bae:0x4c2,_0x251024:0x648,_0x56bec2:0x1fd,_0x1becc1:0x6b1,_0x14729c:0x69d,_0x5c5740:0x886,_0x2a1462:0x1f7,_0x305278:0x18},_0x2e5d8a={_0x217506:0xf9},_0x5b72e5={_0x260ea3:0x18a,_0x4e73e6:0xf8,_0x3cc85a:0xf6};function _0x139229(_0x5f1b6d,_0x3e7119,_0x492c80,_0x5551c5){return _0x577062(_0x5f1b6d-_0x5b72e5._0x260ea3,_0x3e7119,_0x492c80-_0x5b72e5._0x4e73e6,_0x5f1b6d-_0x5b72e5._0x3cc85a);}if(!_0x5a21cc||_0x5a21cc===_0x1e4398(0x632,0x6b5,0x567,0x7f0))return{'type':'auto'};if(_0x5a21cc===_0x1e4398(0x4f4,_0x4b03bc._0x40926a,0x3f0,_0x4b03bc._0xaefb95))return void 0x0;function _0x1e4398(_0x5d6698,_0x4dd35f,_0x2f6360,_0x19f1b0){return _0x1f0bf6(_0x4dd35f-0x205,_0x2f6360,_0x2f6360-_0x2e5d8a._0x217506,_0x19f1b0-0x25);}if(typeof _0x5a21cc===_0x1e4398(_0x4b03bc._0x11c23f,_0x4b03bc._0x26c206,0x3a2,0x5b8)&&_0x5a21cc[_0x1e4398(_0x4b03bc._0x23a30b,0x703,0x4cd,0x8e2)]===_0x1e4398(0x3ef,_0x4b03bc._0x4a0bae,_0x4b03bc._0x251024,0x6dc))return{'type':'tool','name':_0x5a21cc[_0x139229(0x4,-_0x4b03bc._0x56bec2,0xab,-0x91)][_0x1e4398(0x76a,_0x4b03bc._0x1becc1,_0x4b03bc._0x14729c,_0x4b03bc._0x5c5740)]};return{'type':_0x139229(_0x4b03bc._0x2a1462,-0x38,_0x4b03bc._0x305278,0x2fd)};}['transformUsage'](_0x5513b1){const _0x47d2d4={_0x21191e:0x358,_0x379e50:0x350,_0x1ac52a:0x9b},_0x576afe={_0x19d558:0xc3,_0x1d5e6b:0x1e9},_0x5939ea={_0x383345:0x160,_0x47d900:0x19a,_0x5aefc9:0x31},_0xab6e3e=_0x5513b1['input_tokens']??0x0;function _0x49a319(_0x2044ab,_0x210eb0,_0x32b952,_0x285517){return _0x1f0bf6(_0x210eb0-_0x5939ea._0x383345,_0x2044ab,_0x32b952-_0x5939ea._0x47d900,_0x285517-_0x5939ea._0x5aefc9);}function _0x556faa(_0x242b35,_0x598737,_0x4cb026,_0x701726){return _0x1f0bf6(_0x701726-_0x576afe._0x19d558,_0x598737,_0x4cb026-_0x576afe._0x1d5e6b,_0x701726-0x8);}const _0x2b854a=_0x5513b1['output_tokens']??0x0,_0x47c32b=_0x5513b1[_0x49a319(_0x47d2d4._0x21191e,0x4b9,0x405,_0x47d2d4._0x379e50)]??0x0,_0x371401=_0x5513b1[_0x49a319(0x36a,0x2ee,_0x47d2d4._0x1ac52a,0x453)]??0x0,_0x24f43a=_0x47c32b+_0x371401;return{'prompt_tokens':_0xab6e3e,'completion_tokens':_0x2b854a,'total_tokens':_0xab6e3e+_0x2b854a,..._0x24f43a>0x0&&{'prompt_tokens_details':{'cached_tokens':_0x24f43a}},..._0x47c32b>0x0&&{'cache_creation_input_tokens':_0x47c32b},..._0x371401>0x0&&{'cache_read_input_tokens':_0x371401}};}[_0x1f0bf6(0x204,-0x4b,0x34c,-0x42)](_0x11216f){const _0x1d1fc6={_0x24f29d:0x920,_0x22f6be:0x5b0,_0x7864b9:0x40,_0x48815d:0x21c,_0xdc8ee7:0xc1,_0x2ed65e:0x80c,_0x349e4e:0x2cf,_0x51d8e2:0xcd,_0x1d3036:0x3fd,_0xe307a4:0x2c7,_0x2a9294:0x206,_0x283fa8:0x175,_0x555ab4:0x1a1,_0x188f7c:0x130,_0x3dbe3b:0x6c,_0x446951:0x827,_0x183166:0x423},_0x1e0d5a={_0xbcfd2e:0x251},_0x51f923={_0x402cc5:0x1c6,_0x47e7f6:0x6ec};let _0x315911='';function _0x49e970(_0x1a70ce,_0x2093f9,_0x834573,_0x80b075){return _0x577062(_0x1a70ce-_0x51f923._0x402cc5,_0x80b075,_0x834573-0x23,_0x1a70ce-_0x51f923._0x47e7f6);}let _0x14b0cf='';const _0x59a001=[];function _0x5bdf1f(_0x39162f,_0x25f8bf,_0x59ce64,_0x17319a){return _0x1f0bf6(_0x59ce64- -_0x1e0d5a._0xbcfd2e,_0x39162f,_0x59ce64-0x1bb,_0x17319a-0x1f2);}for(const _0x11ea0b of _0x11216f['content']){if(_0x11ea0b[_0x49e970(0x83b,0x71d,_0x1d1fc6._0x24f29d,0xa31)]===_0x49e970(0x68f,0x4f1,_0x1d1fc6._0x22f6be,0x78a))_0x315911+=_0x11ea0b[_0x5bdf1f(_0x1d1fc6._0x7864b9,_0x1d1fc6._0x48815d,0x101,_0x1d1fc6._0xdc8ee7)];else{if(_0x11ea0b[_0x49e970(0x83b,0x69d,_0x1d1fc6._0x2ed65e,0x749)]===_0x5bdf1f(-0x5,_0x1d1fc6._0x349e4e,0x229,_0x1d1fc6._0x51d8e2))_0x14b0cf+=_0x11ea0b['thinking'];else _0x11ea0b[_0x5bdf1f(0x472,_0x1d1fc6._0x1d3036,0x2ad,_0x1d1fc6._0xe307a4)]===_0x5bdf1f(-_0x1d1fc6._0x2a9294,_0x1d1fc6._0x283fa8,-0x9b,-_0x1d1fc6._0x555ab4)&&_0x59a001['push']({'id':_0x11ea0b['id'],'type':_0x5bdf1f(-_0x1d1fc6._0x188f7c,-0x6f,_0x1d1fc6._0x3dbe3b,-0x1a),'function':{'name':_0x11ea0b[_0x49e970(0x7e9,0x804,0x899,0x6e5)],'arguments':JSON[_0x49e970(0x6b5,0x5e2,_0x1d1fc6._0x446951,0x72a)](_0x11ea0b[_0x49e970(0x4d2,0x401,0x491,_0x1d1fc6._0x183166)])}});}}return{'content':_0x315911,..._0x14b0cf&&{'reasoning':_0x14b0cf},..._0x59a001[_0x5bdf1f(0x1bf,0x16d,0x161,-0x31)]>0x0&&{'tool_calls':_0x59a001},'usage':this['transformUsage'](_0x11216f['usage'])};}[_0x577062(-0x1c7,-0x122,-0x106,-0x11c)](_0x500e9d,_0x4f1545){const _0x400528={_0x3b69bb:0x98,_0x3aa0a9:0x9f,_0x12d915:0x61a,_0x1d0e60:0x563,_0x333f1d:0x7da,_0x4f3c0c:0x41b},_0x4a40b3={_0x23f061:0x136};function _0x1c705f(_0x5c3fbb,_0x4b63dc,_0x2c232a,_0x4ff021){return _0x1f0bf6(_0x5c3fbb-0x115,_0x4ff021,_0x2c232a-0x13f,_0x4ff021-0x17f);}if(_0x500e9d===0x1ad||_0x500e9d===0x198)throw new LLMError(_0x5d5b82(-0x225,-0x41d,-_0x400528._0x3b69bb,-_0x400528._0x3aa0a9),_0x500e9d,!![]);else{if(_0x500e9d===0x191||_0x500e9d===0x193)throw new LLMError(_0x1c705f(_0x400528._0x12d915,_0x400528._0x1d0e60,_0x400528._0x333f1d,_0x400528._0x4f3c0c),_0x500e9d,![]);else{if(_0x500e9d===0x190)throw new LLMError(_0x5d5b82(-0x1fa,-0x3f4,-0xa9,-0x1a6)+_0x4f1545,_0x500e9d,![]);else{if(isRetryableStatusCode(_0x500e9d,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError('Service\x20temporarily\x20unavailable.\x20Please\x20try\x20again\x20later.',_0x500e9d,!![]);}}}function _0x5d5b82(_0x169c2e,_0x40335f,_0x5df73c,_0x311a64){return _0x1f0bf6(_0x169c2e- -0x3e9,_0x5df73c,_0x5df73c-0x80,_0x311a64-_0x4a40b3._0x23f061);}throw new LLMError(_0x4f1545,_0x500e9d,![]);}async[_0x577062(-0x213,-0xe5,-0x78,-0x61)](_0x593408,_0x4840f){const _0x44a91b={_0x26d7cd:0x3fc,_0x5ac0a0:0x346,_0x465dee:0x581,_0x49d6e0:0x6af,_0x3a6112:0x28d,_0x18e8ed:0x254,_0x22e3e4:0x28a,_0x480d60:0x404,_0x387914:0x5bd,_0x5e78d6:0x3a2,_0x1fbab8:0x51c,_0x5837c8:0x2e4,_0x1209ac:0xb0,_0x4608fa:0x1e2,_0x1db7c0:0x628,_0x1aca96:0x5b3,_0x2abda1:0x3af,_0x1d3e7f:0x300,_0x2a7bb1:0x46e,_0x12a194:0x30c,_0x106c51:0x4b0,_0xd3f5a0:0x507,_0x3b3731:0x583,_0x23e682:0x35a,_0x59a9a3:0x533,_0x5a1589:0x810,_0x273430:0x72b,_0x35ddbf:0x570,_0x21b80f:0x30e,_0x5f4295:0x3d2,_0x143566:0x452,_0x3905ad:0x6b8,_0x15d7f2:0x56a,_0x128619:0x342,_0x416c7b:0x4be,_0xe097f0:0x388,_0x3cf333:0x573,_0xc0be6a:0x3ff,_0x20b7bf:0x239,_0x2eaf30:0x4ad,_0x3e3e82:0x336,_0x452512:0x380,_0x2a34e0:0x21b,_0x17ff14:0x260,_0x3ad302:0x3ab,_0x128943:0x596,_0x2a3639:0x510,_0x2314d9:0x433,_0x4df7fd:0x370,_0x47a2d8:0x306},_0x758555={_0x229b18:0x142,_0x35150b:0x18b},_0x6b3aa6={_0x9477b9:0x1ad},{system:_0x423e95,messages:_0x5bfcf1}=this[_0x15f055(0x5a5,_0x44a91b._0x26d7cd,0x303,0x2e8)](_0x593408[_0x307462(_0x44a91b._0x5ac0a0,_0x44a91b._0x465dee,0x66d,_0x44a91b._0x49d6e0)]),_0x47c97b=this[_0x307462(0x9b,_0x44a91b._0x3a6112,_0x44a91b._0x18e8ed,_0x44a91b._0x22e3e4)](_0x593408[_0x15f055(0x395,0x32e,_0x44a91b._0x480d60,0x1f7)]);function _0x15f055(_0x26aa03,_0x1e1f66,_0x5cca94,_0x18a6c1){return _0x577062(_0x26aa03-_0x6b3aa6._0x9477b9,_0x26aa03,_0x5cca94-0xe3,_0x1e1f66-0x51b);}const _0x130f89={'model':_0x593408['model'],'max_tokens':_0x593408[_0x307462(_0x44a91b._0x387914,_0x44a91b._0x5e78d6,_0x44a91b._0x1fbab8,0x48f)]??0x7d00,'messages':_0x5bfcf1,..._0x423e95&&{'system':_0x423e95},..._0x47c97b&&{'tools':_0x47c97b},..._0x47c97b&&{'tool_choice':this[_0x307462(_0x44a91b._0x5837c8,0x1bf,_0x44a91b._0x1209ac,_0x44a91b._0x4608fa)](_0x593408[_0x15f055(_0x44a91b._0x1db7c0,_0x44a91b._0x1aca96,0x36c,_0x44a91b._0x2abda1)])},..._0x593408[_0x15f055(_0x44a91b._0x1d3e7f,_0x44a91b._0x2a7bb1,0x525,0x538)]!==void 0x0&&{'temperature':_0x593408[_0x15f055(_0x44a91b._0x12a194,_0x44a91b._0x2a7bb1,0x312,_0x44a91b._0x106c51)]},..._0x593408[_0x307462(0x2fe,0x51b,_0x44a91b._0xd3f5a0,_0x44a91b._0x3b3731)]!==void 0x0&&{'top_p':_0x593408[_0x307462(0x2db,0x51b,_0x44a91b._0x23e682,0x395)]},..._0x593408['thinking']&&{'thinking':_0x593408[_0x15f055(_0x44a91b._0x59a9a3,0x5e6,_0x44a91b._0x5a1589,_0x44a91b._0x273430)][_0x307462(_0x44a91b._0x35ddbf,0x51e,_0x44a91b._0x21b80f,0x4e6)]==='enabled'?{'type':_0x307462(_0x44a91b._0x5f4295,0x517,0x2d4,_0x44a91b._0x143566),'budget_tokens':_0x593408[_0x15f055(0x656,0x5e6,_0x44a91b._0x3905ad,0x593)][_0x307462(_0x44a91b._0x15d7f2,0x4a0,0x28e,_0x44a91b._0x128619)]}:{'type':'disabled'}}},_0xff7f54=await this['getTransport']()['post']('/messages',_0x130f89,void 0x0,_0x4840f);if(!_0xff7f54['ok']){const _0x3d80f3=await _0xff7f54[_0x15f055(0x6d5,_0x44a91b._0x416c7b,_0x44a91b._0xe097f0,_0x44a91b._0x3cf333)]();this[_0x15f055(0x2aa,_0x44a91b._0xc0be6a,0x638,_0x44a91b._0x20b7bf)](_0xff7f54[_0x307462(_0x44a91b._0x2eaf30,0x52d,0x531,_0x44a91b._0x3e3e82)],_0x3d80f3||_0x307462(_0x44a91b._0x452512,_0x44a91b._0x2a34e0,_0x44a91b._0x17ff14,_0x44a91b._0x3ad302)+_0xff7f54['status']);}const _0x9ea75a=await _0xff7f54[_0x307462(_0x44a91b._0x128943,0x519,_0x44a91b._0x2a3639,0x60d)]();function _0x307462(_0x241353,_0x3539e3,_0x16c25d,_0x35ff6d){return _0x577062(_0x241353-_0x758555._0x229b18,_0x35ff6d,_0x16c25d-_0x758555._0x35150b,_0x3539e3-0x3cf);}return this[_0x15f055(_0x44a91b._0x2314d9,_0x44a91b._0x4df7fd,_0x44a91b._0x47a2d8,0x554)](_0x9ea75a);}async['streamCompletion'](_0xf6eb86,_0x223653={},_0x5bb6de){const _0x14b396={_0x206cd9:0x37d,_0x2bcb7d:0x17f,_0x1141d9:0x1e8,_0x31859c:0x175,_0x410db4:0x8e,_0x27858e:0xce,_0x53ea37:0xb1,_0x2dd6be:0xcd,_0x2c05d2:0x8e,_0x2adfa6:0x81,_0x1948c0:0x128,_0x315bb8:0x140,_0x481da8:0x77,_0x1e29ce:0xf1,_0x1637a8:0x73,_0x8997db:0x55b,_0x325485:0x3ea,_0x23525c:0x30c,_0x14d9ce:0x369,_0x239227:0x32e,_0x1eb6e0:0x1bc,_0xe7547:0x2a0,_0x383175:0x3ed,_0x33e268:0x17e,_0x57e6f3:0x2f,_0x1936b0:0x3d,_0x3a130f:0x3e6,_0x4b662d:0x2f9,_0x280404:0x30e,_0x267414:0x34b,_0x376fa3:0x21b,_0x342b4b:0x2ba,_0x5f4e61:0xaa,_0xa7faf:0x138,_0x3b81f5:0x26,_0x1cd6f3:0x139,_0x35f4f5:0xe,_0x135432:0x240,_0x53500c:0x1f6,_0x4e877f:0x27,_0x1aee37:0x1a4,_0x1879e8:0xe6,_0x1131eb:0x1e,_0xae906:0x23f,_0x4f977e:0x194,_0x5b6ce9:0x6,_0x54b42b:0x58b,_0x31248a:0x273,_0x443ed1:0x3fc,_0x4563ce:0x170,_0x1e729e:0x1bf,_0x110ae2:0x153,_0x9bc7d4:0x169,_0x4c1bf5:0x272,_0x1ca84a:0x121,_0xb5fa06:0x2ec,_0x5b020c:0x1e2,_0x274e07:0x260,_0x37e8f6:0x1e2,_0x46d23b:0x39,_0x2fbb74:0x1d1},_0x5b3dc3={_0x551ddd:0x80,_0x2f256e:0x1b8},_0x14442c={_0x42a7c7:0x7cd,_0x45b9a1:0x913,_0x11e60a:0x72a,_0x40cbf8:0x7ee,_0x1fbe69:0x768,_0x3fb244:0x12b,_0x12a21a:0x8,_0x411d9f:0x277,_0x5ea8ab:0x4f5,_0x4b830c:0x568,_0x4a161c:0x79a,_0x56e558:0x2a1,_0x201e9c:0x3df,_0x4c6286:0x706,_0x28139e:0x770,_0xd063ef:0x669,_0x3c5740:0x7bf,_0x544b0d:0x871,_0x4ce2ed:0x754,_0x57d328:0x5e2,_0x432a86:0x1aa,_0xd85efb:0x3b8,_0x56e72b:0x2f3,_0x20431f:0xd,_0x480fd8:0x50b,_0x10a797:0x238,_0x5ec6e2:0x374,_0x25dfa4:0x3b8,_0x57f694:0x544,_0x5079f3:0x3db,_0x2891af:0x23b,_0x1b3125:0x132,_0x115105:0x10f,_0x5bc9e9:0x989,_0x2232db:0x7da,_0x34ee07:0x7cb,_0x3d9403:0xf5,_0xff60e8:0x18c,_0x526d95:0x1a8,_0x4a96b2:0x6ea,_0x34625d:0x169,_0x10cd41:0x1cb,_0x3d5a98:0xf3,_0x1be193:0x67c,_0xae2ab9:0x47f,_0x5652b9:0x330,_0x1da763:0x40,_0x2d9b5c:0x5f,_0x5d98df:0x427,_0x2f143c:0x380,_0x33c639:0x18c,_0x75740b:0x1c7,_0x4c9e3a:0xa4,_0x261ce0:0xa9,_0x4b76e4:0x198,_0x2ac524:0x216,_0x4bb1f1:0x193,_0x5e45bc:0x13b,_0x387d7a:0x728,_0x10fbbb:0x36a,_0x58ee22:0x59a,_0x524460:0x7bb,_0x41e864:0x93,_0x57b010:0x124,_0x29b8f8:0x478,_0x532cc5:0x700,_0x616c7e:0x4bb,_0x4c1f55:0x850,_0x4fcc95:0x658,_0x341eed:0x29a,_0x17daff:0x350,_0x1d6ac8:0x276,_0x31a531:0x4c,_0x50218f:0x192,_0x2b0ff9:0x7,_0x36746f:0x129,_0x15fc0c:0x865,_0x376a18:0x6c2,_0x23aa2a:0x13f,_0x3cacef:0xa4,_0x134f43:0xd5,_0x35eba9:0xb1,_0x35eb28:0x791,_0x9cd9a3:0x5fa,_0x40042f:0x4bd,_0x1f6d7c:0x505,_0x499be6:0x414,_0x14cd58:0xc1,_0x41296e:0x252,_0xff5288:0xb1,_0x22b079:0x1e3,_0x390a6a:0x72,_0x462a4d:0x5ca,_0x1aafa8:0x4d5,_0x481331:0x716,_0x3bdf2f:0x7a3,_0x18ea39:0x95b,_0xab3445:0x350,_0x4093c4:0x258,_0xe3e71d:0x3b,_0x2a5a8b:0x210,_0x413d5e:0x131,_0x2729b5:0x2d,_0x156010:0x1c6,_0x100220:0x6e,_0x3ca026:0x35,_0x106014:0x8d9,_0x95ff57:0x903,_0x459cfc:0x86c,_0x1e9b33:0x301,_0x663dc0:0x23d,_0x1f7d47:0x243,_0x24de34:0x26c},_0x582c2d={_0x3fe075:0x62,_0x1fe4bf:0x1e8,_0x466848:0x29e},{system:_0xb36d95,messages:_0x284945}=this[_0x487bbe(_0x14b396._0x206cd9,0x2ae,-0x5e,_0x14b396._0x2bcb7d)](_0xf6eb86[_0x483c1b(_0x14b396._0x1141d9,_0x14b396._0x31859c,0x31d,0x2f2)]);function _0x487bbe(_0x892281,_0x46de4c,_0x55a120,_0x55cd03){return _0x577062(_0x892281-_0x582c2d._0x3fe075,_0x55a120,_0x55a120-_0x582c2d._0x1fe4bf,_0x55cd03-_0x582c2d._0x466848);}const _0x5c9dfb=this['transformTools'](_0xf6eb86[_0x487bbe(0x11e,_0x14b396._0x410db4,_0x14b396._0x27858e,_0x14b396._0x53ea37)]),_0x478ce2={'model':_0xf6eb86['model'],'max_tokens':_0xf6eb86['maxTokens']??0x7d00,'messages':_0x284945,'stream':!![],..._0xb36d95&&{'system':_0xb36d95},..._0x5c9dfb&&{'tools':_0x5c9dfb},..._0x5c9dfb&&{'tool_choice':this[_0x487bbe(0x1cc,0x16f,-_0x14b396._0x2dd6be,_0x14b396._0x2c05d2)](_0xf6eb86[_0x483c1b(_0x14b396._0x27858e,-0xb9,0x25a,_0x14b396._0x2adfa6)])},..._0xf6eb86[_0x483c1b(-0x77,_0x14b396._0x1948c0,0x21,-_0x14b396._0x315bb8)]!==void 0x0&&{'temperature':_0xf6eb86[_0x483c1b(-_0x14b396._0x481da8,-_0x14b396._0x1e29ce,0x18f,0x178)]},..._0xf6eb86[_0x483c1b(0x182,0x110,-_0x14b396._0x1637a8,-0xc4)]!==void 0x0&&{'top_p':_0xf6eb86[_0x487bbe(0x432,_0x14b396._0x8997db,0x1af,_0x14b396._0x325485)]},..._0xf6eb86[_0x487bbe(0x2cd,_0x14b396._0x23525c,0x3c6,_0x14b396._0x14d9ce)]&&{'thinking':_0xf6eb86[_0x487bbe(0x330,_0x14b396._0x239227,0x554,0x369)][_0x487bbe(_0x14b396._0x1eb6e0,_0x14b396._0xe7547,0x3a3,_0x14b396._0x383175)]===_0x483c1b(_0x14b396._0x33e268,-_0x14b396._0x57e6f3,-0xc,_0x14b396._0x1936b0)?{'type':_0x487bbe(0x3c3,0x2e5,0x5b6,_0x14b396._0x3a130f),'budget_tokens':_0xf6eb86[_0x487bbe(_0x14b396._0x4b662d,_0x14b396._0x280404,_0x14b396._0x267414,0x369)]['budget_tokens']}:{'type':_0x487bbe(0x14e,0x2d5,-0x5,_0x14b396._0x376fa3)}}},_0x12e783=await this[_0x487bbe(_0x14b396._0x342b4b,0x150,_0x14b396._0x5f4e61,0x181)]()[_0x487bbe(-0x35,-_0x14b396._0xa7faf,-0xc7,_0x14b396._0x3b81f5)](_0x487bbe(_0x14b396._0x1cd6f3,0x43e,_0x14b396._0x35f4f5,_0x14b396._0x135432),_0x478ce2,{'Accept':_0x487bbe(0x445,_0x14b396._0x53500c,0x57a,0x42d)},_0x5bb6de);if(!_0x12e783['ok']){const _0x3d2b84=await _0x12e783[_0x483c1b(-_0x14b396._0x4e877f,-0x87,_0x14b396._0x1aee37,-0x47)]();this[_0x483c1b(-_0x14b396._0x1879e8,_0x14b396._0x1131eb,-_0x14b396._0xae906,0x4d)](_0x12e783[_0x483c1b(_0x14b396._0x4f977e,0x233,0x189,_0x14b396._0x5b6ce9)],_0x3d2b84||'Anthropic\x20API\x20error\x20'+_0x12e783[_0x487bbe(0x26e,_0x14b396._0x54b42b,_0x14b396._0x31248a,_0x14b396._0x443ed1)]);}const _0x3c9c23=_0x12e783['body']?.[_0x487bbe(_0x14b396._0x4563ce,0x253,-_0x14b396._0x1e729e,0x29)]();if(!_0x3c9c23)return{'content':''};const _0x5f39a2=new TextDecoder(_0x487bbe(0x65,0x198,-_0x14b396._0x110ae2,-0x4));let _0x4fd9c9='',_0x315a54='',_0x43e062='';const _0x1ba09b=[],_0x51810a=new Map();let _0x577baa,_0x4cad69;const _0x38b07b=_0x5e6aa3=>{const _0x27dd4a={_0x2c2348:0x1ab,_0x518cfb:0x1d7},_0x67a500={_0x44e874:0xed},_0x820e4f=_0x5e6aa3[_0x358f69(_0x14442c._0x42a7c7,_0x14442c._0x45b9a1,_0x14442c._0x11e60a,0x73c)]('\x0a');let _0x5026ac='';function _0x358f69(_0x3d9f03,_0x26f52e,_0x421cc4,_0xfa6a45){return _0x487bbe(_0x3d9f03-_0x67a500._0x44e874,_0x26f52e-0xb3,_0x26f52e,_0x421cc4-0x359);}for(const _0x4154bd of _0x820e4f){_0x4154bd[_0x358f69(0x541,_0x14442c._0x40cbf8,_0x14442c._0x1fbe69,0x8c7)](_0x594878(_0x14442c._0x3fb244,_0x14442c._0x12a21a,0x19a,_0x14442c._0x411d9f))&&(_0x5026ac=_0x4154bd[_0x358f69(0x445,_0x14442c._0x5ea8ab,_0x14442c._0x4b830c,_0x14442c._0x4a161c)](0x5)[_0x358f69(0x20a,_0x14442c._0x56e558,_0x14442c._0x201e9c,0x5ca)]());}function _0x594878(_0x566e34,_0x53742d,_0x35dbd4,_0x164e4b){return _0x487bbe(_0x566e34-0xcd,_0x53742d-_0x27dd4a._0x2c2348,_0x566e34,_0x35dbd4- -_0x27dd4a._0x518cfb);}if(!_0x5026ac||_0x5026ac===_0x358f69(_0x14442c._0x4c6286,0x847,_0x14442c._0x28139e,_0x14442c._0xd063ef))return;try{const _0x40d09f=JSON[_0x358f69(_0x14442c._0x3c5740,_0x14442c._0x544b0d,_0x14442c._0x4ce2ed,0x5e8)](_0x5026ac);switch(_0x40d09f['type']){case'message_start':_0x40d09f[_0x358f69(_0x14442c._0x57d328,_0x14442c._0x432a86,_0x14442c._0xd85efb,0x4ea)]?.[_0x594878(-_0x14442c._0x56e72b,0x7d,-0x19a,-_0x14442c._0x20431f)]&&(_0x577baa=this[_0x358f69(_0x14442c._0x480fd8,_0x14442c._0x10a797,_0x14442c._0x5ec6e2,0x41d)](_0x40d09f[_0x358f69(0x199,0x413,_0x14442c._0x25dfa4,_0x14442c._0x57f694)]['usage']));break;case _0x358f69(0x5e4,_0x14442c._0x5079f3,0x3e4,0x5b2):if(_0x40d09f['content_block']['type']===_0x594878(-0x131,-_0x14442c._0x2891af,-_0x14442c._0x1b3125,_0x14442c._0x115105)){const _0x25dc5d={'id':_0x40d09f[_0x358f69(_0x14442c._0x5bc9e9,_0x14442c._0x2232db,0x789,_0x14442c._0x34ee07)]['id'],'type':_0x594878(-_0x14442c._0x3d9403,-_0x14442c._0xff60e8,-0x2b,-_0x14442c._0x526d95),'function':{'name':_0x40d09f[_0x358f69(0x7bb,_0x14442c._0x4a96b2,0x789,0x71c)]['name'],'arguments':''}};_0x1ba09b[_0x594878(-_0x14442c._0x34625d,-0x365,-_0x14442c._0x10cd41,-0x44)](_0x25dc5d),_0x51810a[_0x594878(0x112,-0x120,-_0x14442c._0x3d5a98,-0x18c)](_0x40d09f[_0x358f69(_0x14442c._0x1be193,0x65b,_0x14442c._0xae2ab9,_0x14442c._0x5652b9)],''),_0x223653[_0x594878(-0xdd,_0x14442c._0x1da763,-0x3b,-_0x14442c._0x2d9b5c)]?.(_0x25dc5d);}break;case _0x358f69(_0x14442c._0x5d98df,0x563,_0x14442c._0x2f143c,0x42a):if(_0x40d09f[_0x594878(_0x14442c._0x33c639,_0x14442c._0x75740b,_0x14442c._0x4c9e3a,_0x14442c._0x261ce0)][_0x594878(_0x14442c._0x4b76e4,0x217,_0x14442c._0x2ac524,_0x14442c._0x4bb1f1)]==='text_delta')_0x315a54+=_0x40d09f[_0x594878(0x2aa,-_0x14442c._0x5e45bc,0xa4,-0xc4)][_0x358f69(_0x14442c._0x387d7a,_0x14442c._0x10fbbb,_0x14442c._0x58ee22,_0x14442c._0x524460)],_0x223653[_0x594878(0x196,-_0x14442c._0x41e864,-0x46,-_0x14442c._0x57b010)]?.(_0x40d09f[_0x358f69(_0x14442c._0x29b8f8,_0x14442c._0x532cc5,0x5d4,_0x14442c._0x616c7e)]['text']);else{if(_0x40d09f['delta'][_0x358f69(0x6ea,_0x14442c._0x4c1f55,0x746,_0x14442c._0x4fcc95)]===_0x358f69(0x59d,_0x14442c._0x341eed,0x477,_0x14442c._0x17daff))_0x43e062+=_0x40d09f['delta'][_0x594878(_0x14442c._0x1d6ac8,_0x14442c._0x31a531,_0x14442c._0x50218f,_0x14442c._0x2b0ff9)],_0x223653['onReasoningChunk']?.(_0x40d09f[_0x594878(0xe1,0xd,_0x14442c._0x4c9e3a,_0x14442c._0x36746f)][_0x358f69(0x80e,_0x14442c._0x15fc0c,_0x14442c._0x376a18,0x6b8)]);else{if(_0x40d09f['delta']['type']==='input_json_delta'){const _0x8c30ed=_0x51810a[_0x594878(-0x62,-0x10,-_0x14442c._0x23aa2a,-0x1ae)](_0x40d09f[_0x358f69(0x3a0,0x463,_0x14442c._0xae2ab9,0x59b)])??'',_0x3d480a=_0x8c30ed+_0x40d09f[_0x594878(0x1d2,-0x10d,_0x14442c._0x3cacef,-0xc8)][_0x594878(0x28f,0x301,0x1af,0x132)];_0x51810a['set'](_0x40d09f[_0x594878(-0xe6,-_0x14442c._0x134f43,-_0x14442c._0x35eba9,-0xa1)],_0x3d480a);const _0x404d74=_0x1ba09b[_0x358f69(_0x14442c._0x35eb28,0x435,_0x14442c._0x9cd9a3,0x6e7)]-0x1;_0x404d74>=0x0&&_0x1ba09b[_0x404d74]&&(_0x1ba09b[_0x404d74][_0x358f69(_0x14442c._0x40042f,0x309,_0x14442c._0x1f6d7c,_0x14442c._0x499be6)][_0x594878(_0x14442c._0x14cd58,0x153,_0x14442c._0x41296e,0x1f4)]=_0x3d480a,_0x223653['onToolCallDelta']?.(_0x1ba09b[_0x404d74]));}}}break;case _0x594878(-0x8e,-_0x14442c._0xff5288,-_0x14442c._0x22b079,-0x48):_0x40d09f['delta'][_0x594878(-0x18a,-_0x14442c._0x390a6a,-0xd,-0x42)]&&(_0x4cad69=_0x40d09f[_0x358f69(_0x14442c._0x462a4d,_0x14442c._0x1aafa8,0x5d4,_0x14442c._0x481331)][_0x594878(-0x11b,-0x15b,-_0x14442c._0x20431f,-0x212)]);if(_0x40d09f['usage']){const _0xee5a58=_0x40d09f[_0x358f69(0x2b4,0x46f,0x396,0x2b1)];_0x577baa&&(_0x577baa['completion_tokens']=_0xee5a58[_0x358f69(0x5da,0x80e,_0x14442c._0x3bdf2f,_0x14442c._0x18ea39)]??_0x577baa[_0x358f69(0x355,0x206,0x36a,_0x14442c._0xab3445)],_0x577baa[_0x594878(_0x14442c._0x4093c4,0x178,_0x14442c._0xe3e71d,_0x14442c._0x2a5a8b)]=(_0x577baa[_0x594878(-_0x14442c._0x413d5e,0x5a,0x8b,0x2db)]??0x0)+(_0x577baa[_0x594878(-0x3eb,_0x14442c._0x2729b5,-_0x14442c._0x156010,-0xa5)]??0x0));}break;case _0x594878(-_0x14442c._0x100220,-_0x14442c._0x3ca026,0xd4,-0x13e):_0x223653[_0x358f69(_0x14442c._0x106014,_0x14442c._0x95ff57,0x7a5,_0x14442c._0x459cfc)]?.(_0x4cad69,_0x577baa);break;case _0x594878(_0x14442c._0x1e9b33,0x342,0x243,_0x14442c._0x663dc0):throw new LLMError(_0x40d09f[_0x594878(0xc4,0x486,_0x14442c._0x1f7d47,_0x14442c._0x24de34)][_0x594878(-0xba,-0x38f,-0x178,-0x24c)],void 0x0,![]);}}catch(_0x5f56c5){if(_0x5f56c5 instanceof LLMError)throw _0x5f56c5;}};function _0x483c1b(_0x369015,_0x1a7af5,_0x3366c7,_0x3f626f){return _0x577062(_0x369015-_0x5b3dc3._0x551ddd,_0x3f626f,_0x3366c7-_0x5b3dc3._0x2f256e,_0x369015-0x36);}while(!![]){const {value:_0x145c08,done:_0x51b106}=await _0x3c9c23['read']();if(_0x51b106)break;_0x4fd9c9+=_0x5f39a2['decode'](_0x145c08,{'stream':!![]});const _0x2c660c=_0x4fd9c9[_0x483c1b(_0x14b396._0x9bc7d4,-0xd4,0x1c4,_0x14b396._0x4c1bf5)]('\x0a\x0a');_0x4fd9c9=_0x2c660c[_0x483c1b(-_0x14b396._0x1ca84a,-_0x14b396._0xb5fa06,0x62,0x27)]()??'';for(const _0x13b379 of _0x2c660c){if(_0x13b379[_0x483c1b(-_0x14b396._0x5b020c,-_0x14b396._0x274e07,-0xe9,-0x193)]())_0x38b07b(_0x13b379);}}if(_0x4fd9c9[_0x483c1b(-_0x14b396._0x37e8f6,-0x365,0x12,-0x1c6)]())_0x38b07b(_0x4fd9c9);return{'content':_0x315a54,..._0x43e062&&{'reasoning':_0x43e062},..._0x1ba09b[_0x483c1b(_0x14b396._0x46d23b,-0x7d,-0x17e,_0x14b396._0x2fbb74)]>0x0&&{'tool_calls':_0x1ba09b},..._0x577baa&&{'usage':_0x577baa}};}async[_0x1f0bf6(0x1ec,0x6a,0x437,0xe6)](_0xcf6f6){const _0x52768f={_0x227626:0x9f,_0x186bd4:0x248,_0xc9c84b:0x733,_0x8bb94c:0x315,_0x8ba42c:0x314,_0x43f2b6:0x1ef,_0x205b0e:0x1e9,_0x450849:0x7ac,_0x48abf8:0xa2b,_0x7667c1:0x838,_0x3e6571:0x316,_0x5eea0c:0x196,_0x5aa0f0:0xcd,_0x3ca4ef:0x102,_0x3202ee:0x111,_0xe521b0:0xda,_0x482d3a:0x1c,_0xaa2aec:0x5a8,_0x15b262:0x7d6,_0x2e8a15:0x8e8,_0xa52b41:0x7d4,_0x438c64:0x721,_0x31a3ca:0x662,_0x574814:0x855,_0x53142e:0x6a5,_0x497be0:0x734,_0x240d78:0x661,_0x18d8e2:0x1a3,_0xbfbf40:0x1c3,_0x249f3b:0x6e1,_0x23a4c2:0x907,_0x470393:0x9b,_0xbf2f44:0x74,_0x45262e:0xce,_0x51bdc9:0x31a,_0x3c54be:0xb0b,_0x1d6a3d:0x923,_0x5b2bfe:0x7af,_0x514e21:0x1,_0x312bce:0x175,_0x5e3517:0x79,_0x3e3916:0x4a2,_0x39428e:0x8ec,_0x1732a4:0x94d},_0x50eb82={_0x1eaf78:0x50e},_0x1e7787={_0x4b2cb8:0x188,_0x1b2d57:0x77e},_0xf46440={_0x3da6d2:0x124,_0x25627f:0x1ea};if(this['modelConfig']===![])throw new Error(_0x2d163f(_0x52768f._0x227626,-_0x52768f._0x186bd4,-0x10,-0x92));function _0x2d163f(_0x3ffb36,_0x1c71ea,_0x2d8dad,_0x363347){return _0x577062(_0x3ffb36-_0xf46440._0x3da6d2,_0x3ffb36,_0x2d8dad-0x142,_0x2d8dad-_0xf46440._0x25627f);}function _0x417a8b(_0x5bb91c,_0x27cfdf,_0x147fa1,_0x2f63bd){return _0x577062(_0x5bb91c-0x120,_0x27cfdf,_0x147fa1-_0x1e7787._0x4b2cb8,_0x2f63bd-_0x1e7787._0x1b2d57);}if(Array[_0x417a8b(_0x52768f._0xc9c84b,_0x52768f._0x8bb94c,0x69e,0x545)](this[_0x2d163f(0x294,0xf3,0x242,_0x52768f._0x8ba42c)])){const _0x3dfc2c=this['modelConfig'][_0x2d163f(0x1a0,0xcf,_0x52768f._0x43f2b6,_0x52768f._0x205b0e)](_0x4640ef=>{const _0x5b8ebb={_0x5e529a:0x181,_0x50cbd4:0x47d},_0x5a470b={_0x194b98:0x1ca},_0x598a8a=typeof _0x4640ef===_0x9f6212(0x485,0x31c,0x4c5,0x3bb)?{'id':_0x4640ef}:_0x4640ef;function _0x3bfab5(_0x5d8edc,_0x2a48cc,_0x3d4371,_0x456805){return _0x2d163f(_0x5d8edc,_0x2a48cc-_0x5a470b._0x194b98,_0x456805- -0x1e9,_0x456805-0x16c);}function _0x9f6212(_0x4407fa,_0x18991b,_0x1bb2c7,_0x12c21a){return _0x417a8b(_0x4407fa-0x181,_0x1bb2c7,_0x1bb2c7-_0x5b8ebb._0x5e529a,_0x12c21a- -_0x5b8ebb._0x50cbd4);}return normalizeModelInfo(this[_0x9f6212(0x22c,_0x50eb82._0x1eaf78,0x2e1,0x40b)],_0x598a8a);});return deduplicateModels(_0x3dfc2c);}if(typeof this['modelConfig']===_0x417a8b(_0x52768f._0x450849,_0x52768f._0x48abf8,0x942,_0x52768f._0x7667c1)){const _0x310480=await this[_0x2d163f(_0x52768f._0x3e6571,_0x52768f._0x5eea0c,_0x52768f._0x5aa0f0,_0x52768f._0x3ca4ef)]()[_0x2d163f(_0x52768f._0x3202ee,_0x52768f._0xe521b0,-_0x52768f._0x482d3a,0x136)](this[_0x417a8b(0x758,0x634,_0x52768f._0xaa2aec,_0x52768f._0x15b262)],void 0x0,_0xcf6f6);if(!_0x310480['ok']){const _0x4aceb5=await _0x310480[_0x417a8b(0x55a,_0x52768f._0x2e8a15,_0x52768f._0xa52b41,_0x52768f._0x438c64)]();this[_0x417a8b(0x876,0x54e,0x67a,_0x52768f._0x31a3ca)](_0x310480[_0x417a8b(0xaec,0x9ef,_0x52768f._0x574814,0x8dc)],_0x4aceb5||'Failed\x20to\x20fetch\x20models');}const _0x54c64b=await _0x310480['json'](),_0x35eab9=_0x54c64b['data'][_0x417a8b(0x69e,_0x52768f._0x53142e,0x588,0x783)](_0x265b0c=>normalizeModelInfo(this[_0x417a8b(0x689,0x9d0,0x8a1,0x888)],_0x265b0c));return deduplicateModels(_0x35eab9);}const _0x4b8c3a=await this[_0x417a8b(0x65b,0x533,_0x52768f._0x497be0,_0x52768f._0x240d78)]()[_0x2d163f(-0x205,0x71,-0x1c,-_0x52768f._0x18d8e2)](_0x2d163f(0x11c,0x371,0x255,_0x52768f._0xbfbf40),void 0x0,_0xcf6f6);if(!_0x4b8c3a['ok']){const _0x2bbddd=await _0x4b8c3a[_0x417a8b(0x4ef,_0x52768f._0x249f3b,_0x52768f._0x23a4c2,_0x52768f._0x438c64)]();this[_0x2d163f(-_0x52768f._0x470393,-_0x52768f._0xbf2f44,_0x52768f._0x45262e,_0x52768f._0x51bdc9)](_0x4b8c3a[_0x417a8b(_0x52768f._0x3c54be,_0x52768f._0x1d6a3d,_0x52768f._0x5b2bfe,0x8dc)],_0x2bbddd||_0x2d163f(0x10e,_0x52768f._0x514e21,_0x52768f._0x312bce,-_0x52768f._0x5e3517));}const _0x373dd8=await _0x4b8c3a['json'](),_0x5b1a20=_0x373dd8[_0x2d163f(0xcb,_0x52768f._0x3e3916,0x25c,0x39)][_0x417a8b(0x715,_0x52768f._0x39428e,_0x52768f._0x1732a4,0x783)](_0x498e4c=>normalizeModelInfo(this[_0x2d163f(0x35a,0x206,0x2f4,0x398)],_0x498e4c));return deduplicateModels(_0x5b1a20);}},llm_provider_config_default={'providers':[{'key':_0x577062(-0x208,0x2b,0xc4,-0xef),'type':_0x1f0bf6(0x1c1,-0x80,0x75,0xa2),'baseUrl':_0x1f0bf6(0x3a0,0x157,0x16d,0x3bd),'defaultModels':[_0x577062(0x39,0x2cd,0x2a1,0x89),'meta-llama/Meta-Llama-3.1-8B-Instruct'],'features':{'promptCaching':![],'getModels':!![]}},{'key':_0x1f0bf6(0x401,0x21e,0x216,0x218),'type':_0x1f0bf6(0x1c1,0x292,0x3fe,0x38b),'baseUrl':_0x577062(-0x3c6,-0xde,-0x19f,-0x1b7),'defaultModels':['openai/gpt-4o','openai/gpt-4o-mini'],'features':{'promptCaching':!![],'getModels':!![],'includeUsage':!![]}},{'key':_0x577062(-0xa9,-0x33b,-0x3f,-0x230),'type':_0x1f0bf6(0x1c1,0xf7,0x3e8,0x3df),'baseUrl':_0x1f0bf6(0x523,0x46f,0x59c,0x58b),'defaultModels':[_0x1f0bf6(0x4b3,0x443,0x5d9,0x45e),_0x577062(-0x9f,-0x123,-0x9,-0x70),_0x1f0bf6(0x116,0x2c5,-0x39,0x1d0)],'features':{'promptCaching':![],'getModels':![]}},{'key':_0x1f0bf6(0x2ed,0x1d2,0x1fe,0x158),'type':'anthropic-compat','baseUrl':_0x1f0bf6(0x267,0x1cf,0x486,0x101),'defaultModels':[_0x1f0bf6(0x4b3,0x3ab,0x481,0x4d0),'glm-4.6',_0x1f0bf6(0x116,-0x5a,0x1dd,0x17c)],'features':{'promptCaching':![],'getModels':![]}},{'key':_0x577062(-0x1ec,-0x3d0,-0x259,-0x18a),'type':_0x577062(-0x1ff,-0x3e8,-0x3c6,-0x1ee),'baseUrl':_0x1f0bf6(0x33e,0x1ff,0x3d6,0x54a),'defaultModels':[_0x577062(-0x111,0xe1,-0x9,0x66),_0x1f0bf6(0x4a1,0x52d,0x277,0x324)],'features':{'promptCaching':![],'getModels':!![]}},{'key':_0x1f0bf6(0x3bd,0x5bf,0x191,0x56e),'label':_0x577062(0x11a,-0xa1,0x25f,0xc8),'type':'openai-compat','baseUrl':_0x577062(-0xb9,-0x131,-0x54,-0x150),'features':{'promptCaching':!![],'getModels':!![],'includeUsage':!![]},'customHeaders':{'User-Agent':'KimiCLI/0.59'}},{'key':'minimax','label':'MiniMax\x20Coding\x20Plan','type':_0x577062(0x91,-0x37e,-0x280,-0x19d),'baseUrl':_0x577062(0x29f,0xc,-0x10b,0xd2),'models':[{'id':'MiniMax-M2.1','name':_0x577062(0x1ae,0x205,-0xd9,-0x36),'limits':{'contextWindow':0x30d40,'maxOutput':0x3e80}}],'defaultModels':[_0x1f0bf6(0x35a,0x4b2,0x3bf,0x3d7)],'features':{'promptCaching':![],'getModels':!![],'includeUsage':![]}}]},providers=llm_provider_config_default[_0x1f0bf6(0x4d1,0x6af,0x51c,0x443)],GenericLLM=class extends BaseLLM{[_0x1f0bf6(0x171,0x1c1,0x1a6,0x246)];['includeUsage'];[_0x577062(-0x7d,0xa0,0x192,0x58)];[_0x577062(0x1e2,-0x10a,0x252,0x10a)];['customHeaders'];constructor(_0x5b7f2a,_0x1f5c64,_0x24e522={},_0x30028d){const _0x562c9e={_0x3422a4:0xe7,_0x5686b8:0x8a,_0x54f55e:0x1d1,_0x5161ba:0x312,_0x2035d1:0x585,_0x436aae:0x617,_0x352290:0x338,_0x2dc8f0:0x2d8,_0x42e163:0x377,_0xe0a29:0x637},_0x5545cd={_0x42b5c9:0x15e,_0x2ad131:0xf4,_0x27b6f8:0x82},_0x2cd2f1={_0x225bf3:0x8c,_0x27215a:0x13,_0x171129:0x3e},{enablePromptCaching:enablePromptCaching=![],includeUsage:includeUsage=![],providerName:providerName=_0x269bea(-_0x562c9e._0x3422a4,-0x17a,-0x326,_0x562c9e._0x5686b8),retry:_0x1c256b,..._0x51bf0d}=_0x24e522;super(_0x24e522['apiUrl']||_0x5b7f2a,{'enablePromptCaching':enablePromptCaching,'retry':_0x1c256b}),this[_0x269bea(-_0x562c9e._0x54f55e,-_0x562c9e._0x5161ba,-0x2cc,-0x21b)]=includeUsage,this[_0x269bea(0x96,0x278,0xcb,0x136)]=_0x1f5c64;function _0x269bea(_0x5708d6,_0x55b6c9,_0x112386,_0x66e7ca){return _0x577062(_0x5708d6-_0x2cd2f1._0x225bf3,_0x55b6c9,_0x112386-_0x2cd2f1._0x27215a,_0x5708d6-_0x2cd2f1._0x171129);}function _0x1cec96(_0x5f1a1c,_0x457a2d,_0xfac511,_0x2329cf){return _0x1f0bf6(_0x2329cf-_0x5545cd._0x42b5c9,_0xfac511,_0xfac511-_0x5545cd._0x2ad131,_0x2329cf-_0x5545cd._0x27b6f8);}this[_0x1cec96(0x5e4,_0x562c9e._0x2035d1,0x529,_0x562c9e._0x436aae)]=providerName,this[_0x1cec96(_0x562c9e._0x352290,_0x562c9e._0x2dc8f0,_0x562c9e._0x42e163,0x2cf)]=_0x51bf0d,this[_0x1cec96(0x69b,0x4c0,_0x562c9e._0xe0a29,0x595)]=_0x30028d;}[_0x1f0bf6(0x4eb,0x647,0x56a,0x668)](){const _0x2b1777={_0x59b440:0x289,_0x17d63d:0x2de,_0x1cdc10:0x2ac,_0x2fad82:0x3f1,_0x1b237d:0x3f,_0x8dd35d:0x18f,_0x316b6c:0x12b,_0x28dcdc:0x2f4,_0x14b61b:0x2e3,_0xbfa8de:0x3e,_0x292d86:0x259,_0x10e0c7:0x3f,_0x31e421:0x92,_0x366748:0x1ce},_0x2cebd2={_0x425f1c:0x33},_0x15b1e9={_0xf3555f:0x70,_0x7e282b:0x200},_0x20bc49=new FetchTransport({'persistFile':this[_0xfb0ded(-0x3e,0x4e,0x134,-_0x2b1777._0x59b440)][_0x5e43e2(0x2b7,0x2aa,_0x2b1777._0x17d63d,_0x2b1777._0x1cdc10)],'logLevel':_0xfb0ded(0x1a8,_0x2b1777._0x2fad82,-_0x2b1777._0x1b237d,_0x2b1777._0x8dd35d),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]});function _0xfb0ded(_0x584f60,_0x332cc3,_0x2da146,_0x2c2eb8){return _0x577062(_0x584f60-0x11b,_0x2da146,_0x2da146-_0x15b1e9._0xf3555f,_0x584f60-_0x15b1e9._0x7e282b);}const _0x271d7f=createTransport(_0x20bc49,this[_0x5e43e2(-_0x2b1777._0x316b6c,0x10e,_0x2b1777._0x28dcdc,_0x2b1777._0x14b61b)],this[_0xfb0ded(-_0x2b1777._0xbfa8de,0x11,-0x252,-_0x2b1777._0x292d86)]['apiKey'],this['opts'][_0xfb0ded(0x138,_0x2b1777._0x10e0c7,_0x2b1777._0x31e421,0x16d)],this[_0x5e43e2(0x71,-0x68,-0xc0,_0x2b1777._0x366748)][_0xfb0ded(0x2bd,0x485,0x23d,0x1b5)],this[_0xfb0ded(0x288,0xab,0x290,0x3cc)]),_0x3e62a4=this[_0xfb0ded(0x4d,0x9d,0x274,0x81)]?new RetryTransport(_0x271d7f,this['retryConfig']):_0x271d7f;function _0x5e43e2(_0x5cca6a,_0x30f0f9,_0x24e0c4,_0x1b3177){return _0x577062(_0x5cca6a-0x156,_0x5cca6a,_0x24e0c4-_0x2cebd2._0x425f1c,_0x30f0f9-0x1d6);}return new LLMErrorTransport(_0x3e62a4);}async['getModels'](_0x19415b){const _0xae4a3b={_0x49ef0c:0xf0,_0x3baba4:0x175,_0x348563:0x2da,_0xfc16d7:0x178,_0x1eca3e:0x254,_0x36aafa:0x1ac,_0x2c20c2:0x66,_0x549031:0x25c,_0x35df90:0x1f,_0x139d1b:0xcd,_0x11c981:0x303,_0x9ad25d:0x26a,_0x29dcf3:0x13c,_0x42808d:0x11c,_0x583000:0x350,_0x55c509:0x13d,_0x5c0de9:0xaf,_0x68b365:0x18e,_0x32227d:0x4a,_0x94cd50:0x8c,_0x898d80:0xdc,_0x4363bb:0x336,_0x49a6c5:0x11,_0x494edb:0x26a,_0x31c46c:0x219},_0x4f7c5e={_0x243baf:0x1c1,_0x17b64e:0x83},_0x4c282d={_0x41980d:0x639,_0x5898f2:0x617,_0x24e35d:0x7f7,_0x1a9675:0x9f2},_0x38e2e5={_0x483afe:0x305,_0xff5c27:0x1a7,_0xaee2f9:0x124};if(this['modelConfig']===![])throw new Error(_0x1ddc29(-0xda,-_0xae4a3b._0x49ef0c,_0xae4a3b._0x3baba4,-0xa0));function _0x375591(_0xc63a95,_0x5ed036,_0x356d70,_0x5d6a46){return _0x1f0bf6(_0x5ed036- -_0x38e2e5._0x483afe,_0x5d6a46,_0x356d70-_0x38e2e5._0xff5c27,_0x5d6a46-_0x38e2e5._0xaee2f9);}if(Array[_0x375591(-0x34c,-0x18f,-0x222,-_0xae4a3b._0x348563)](this[_0x1ddc29(_0xae4a3b._0xfc16d7,_0xae4a3b._0x1eca3e,0x1bd,0x1f2)])){const _0x1f2593=this['modelConfig'][_0x375591(-0xc8,0xaf,-0x10b,_0xae4a3b._0x36aafa)](_0x3e54e7=>{const _0x49e4db={_0x490088:0x4d5,_0x5459fd:0x83},_0x40b182={_0x2f553d:0x5cd,_0x8511c0:0x1d3,_0x3deb4a:0x14e},_0x1efbac=typeof _0x3e54e7===_0x30340c(_0x4c282d._0x41980d,_0x4c282d._0x5898f2,0x82d,0x47d)?{'id':_0x3e54e7}:_0x3e54e7;function _0x26c506(_0x47314d,_0x2829f6,_0xb67cef,_0x5d22f8){return _0x1ddc29(_0x47314d-_0x40b182._0x2f553d,_0x5d22f8,_0xb67cef-_0x40b182._0x8511c0,_0x5d22f8-_0x40b182._0x3deb4a);}function _0x30340c(_0x4bd2e9,_0x839547,_0x386710,_0x57a8da){return _0x375591(_0x4bd2e9-0x197,_0x4bd2e9-_0x49e4db._0x490088,_0x386710-_0x49e4db._0x5459fd,_0x57a8da);}return normalizeModelInfo(this[_0x26c506(_0x4c282d._0x24e35d,0x855,_0x4c282d._0x1a9675,0x9fa)],_0x1efbac);});return deduplicateModels(_0x1f2593);}if(typeof this['modelConfig']===_0x375591(-_0xae4a3b._0x2c20c2,0x164,0x33b,0x2c5)){const _0xf755d9=this[_0x1ddc29(_0xae4a3b._0x549031,0x483,_0xae4a3b._0x35df90,0x17c)](),_0x45b1a7=await _0xf755d9['get'](this[_0x375591(_0xae4a3b._0x139d1b,0x102,0x33,_0xae4a3b._0x11c981)],void 0x0,_0x19415b),_0x429029=await _0x45b1a7[_0x1ddc29(_0xae4a3b._0x9ad25d,_0xae4a3b._0x29dcf3,0x44c,0x2dc)](),_0x115891=_0x429029[_0x375591(-0xdc,_0xae4a3b._0x42808d,0x36e,_0xae4a3b._0x583000)][_0x375591(-_0xae4a3b._0x55c509,_0xae4a3b._0x5c0de9,-_0xae4a3b._0x68b365,_0xae4a3b._0x32227d)](_0x16c893=>normalizeModelInfo(this[_0x1ddc29(0x22a,0x389,0x1bb,0x1de)],_0x16c893));return deduplicateModels(_0x115891);}const _0x563be2=this[_0x1ddc29(_0xae4a3b._0x549031,_0xae4a3b._0x94cd50,_0xae4a3b._0x898d80,0x23f)]();function _0x1ddc29(_0x29b1c6,_0x13fa41,_0x42d74d,_0x5bf48b){return _0x1f0bf6(_0x29b1c6- -0x28f,_0x13fa41,_0x42d74d-_0x4f7c5e._0x243baf,_0x5bf48b-_0x4f7c5e._0x17b64e);}const _0x53618d=await _0x563be2[_0x1ddc29(-0xe6,0xff,-0x1f0,-0x17c)](_0x1ddc29(0x18b,_0xae4a3b._0x4363bb,-0x82,-_0xae4a3b._0x49a6c5),void 0x0,_0x19415b),_0x42bc09=await _0x53618d[_0x1ddc29(_0xae4a3b._0x494edb,_0xae4a3b._0x31c46c,0x4ac,0x483)](),_0x5549f6=_0x42bc09['data']['map'](_0x15a7ff=>normalizeModelInfo(this[_0x375591(0x3de,0x1b4,0x23f,0x3a5)],_0x15a7ff));return deduplicateModels(_0x5549f6);}async['generateCompletion'](_0x143870,_0x4b3652){const _0x10b081={_0x316c6e:0x5de,_0x5dabe3:0x6bc,_0x5f2c95:0x2af,_0xe09dcf:0x656},_0x5b8c46={_0xc160cb:0xbc},_0x2ebbb7={_0x13cb1b:0xdc,_0x469002:0x1d7};function _0x5b1db9(_0x4b85e1,_0x244853,_0x532e2f,_0x3362e3){return _0x1f0bf6(_0x3362e3-_0x2ebbb7._0x13cb1b,_0x532e2f,_0x532e2f-0x16d,_0x3362e3-_0x2ebbb7._0x469002);}let _0x433c37=_0x143870;function _0x34f831(_0x1ce7e1,_0x4e65f1,_0x1d9025,_0x1177b4){return _0x577062(_0x1ce7e1-0xc0,_0x4e65f1,_0x1d9025-_0x5b8c46._0xc160cb,_0x1177b4-0x6d6);}return this[_0x34f831(_0x10b081._0x316c6e,0x5ae,_0x10b081._0x5dabe3,0x4c7)]&&!_0x433c37[_0x34f831(_0x10b081._0x5f2c95,_0x10b081._0xe09dcf,0x5ea,0x475)]&&(_0x433c37={..._0x433c37,'usage':{'include':!![]}}),super['generateCompletion'](_0x433c37,_0x4b3652);}async[_0x1f0bf6(0x193,0x252,0x328,0x3a9)](_0x42f68c,_0x182d5e,_0x1a03b7){const _0x4816e7={_0x10b4d0:0x32c,_0xb06286:0x13e,_0x23e79f:0x1e7,_0x2ca7a3:0x203},_0x115e56={_0x328498:0x50},_0xd90505={_0x21e7e6:0x113,_0x55eec2:0xe6,_0x2892cd:0x1ae};let _0x47e6bd=_0x42f68c;this[_0x5535a7(-_0x4816e7._0x10b4d0,-0x2a7,-0xf0,-0x273)]&&!_0x47e6bd[_0xd1de7f(-_0x4816e7._0xb06286,0x3b,_0x4816e7._0x23e79f,-_0x4816e7._0x2ca7a3)]&&(_0x47e6bd={..._0x47e6bd,'usage':{'include':!![]}});function _0xd1de7f(_0x39379e,_0x1c98d5,_0xad4897,_0x5b0ffa){return _0x1f0bf6(_0x1c98d5- -_0xd90505._0x21e7e6,_0x5b0ffa,_0xad4897-_0xd90505._0x55eec2,_0x5b0ffa-_0xd90505._0x2892cd);}function _0x5535a7(_0xc6cbec,_0x469dfa,_0x532928,_0x3ec635){return _0x1f0bf6(_0x532928- -0x290,_0xc6cbec,_0x532928-_0x115e56._0x328498,_0x3ec635-0x1c9);}return super['streamCompletion'](_0x47e6bd,_0x182d5e,_0x1a03b7);}};function normalizeModelConfig(_0x6ed2c9){const _0x184946={_0x296b3b:0x4f4,_0x1a0a45:0x6df,_0x59ff3c:0x79f,_0x1f2fd2:0x82f,_0x2c2284:0x219,_0x260fde:0x241,_0x3f35ad:0x3e,_0x4a9f87:0xa3,_0x5a05f9:0x94,_0x32a50e:0xf4},_0x1b36fd={_0x169d5e:0x280,_0x4b57a2:0x4},_0x2149a5={_0x178957:0x246,_0x2575b5:0x8f};if(_0x6ed2c9[_0x228e31(_0x184946._0x296b3b,_0x184946._0x1a0a45,_0x184946._0x59ff3c,_0x184946._0x1f2fd2)]!==void 0x0)return _0x6ed2c9[_0x117fce(0x7b,-0xe,_0x184946._0x2c2284,0xec)];function _0x228e31(_0x44d941,_0x8491e4,_0x11d7c0,_0x3a69c1){return _0x1f0bf6(_0x8491e4-_0x2149a5._0x178957,_0x44d941,_0x11d7c0-_0x2149a5._0x2575b5,_0x3a69c1-0x1a4);}function _0x117fce(_0x4ad506,_0x10ccf5,_0x3e19d1,_0x11b881){return _0x1f0bf6(_0x3e19d1- -_0x1b36fd._0x169d5e,_0x10ccf5,_0x3e19d1-0xe3,_0x11b881-_0x1b36fd._0x4b57a2);}return _0x6ed2c9[_0x228e31(0xc3,0x318,0x153,_0x184946._0x260fde)][_0x117fce(_0x184946._0x3f35ad,-_0x184946._0x4a9f87,-_0x184946._0x5a05f9,-_0x184946._0x32a50e)]??![];}function mergeProviders(_0x2d6889){const _0x2660e0={_0x579f2f:0x9f,_0x2f9382:0x98,_0x325bff:0x184,_0x4c9e36:0x254,_0x371c66:0x220,_0x28ce38:0x3b6,_0x24542b:0x428,_0x49bf55:0x256,_0x27ecc1:0x35f,_0x165261:0x5e3,_0x4b94f6:0x4b7,_0x3cd5ef:0x52e,_0x1575f7:0x14c,_0xade7aa:0x15a,_0x39c136:0x14,_0x13e714:0x4d,_0x2381d7:0x135,_0x434375:0x3e1,_0x2cbc70:0x292,_0x4b4bb7:0x3d4},_0x3c5383={_0xf0ac4:0x16e,_0x597d6f:0x444},_0x42e2b3={_0x2269bf:0x207,_0x34289a:0x1de,_0x3993fe:0x16a};function _0x52fe31(_0x8e65b2,_0x38d89d,_0x25fe52,_0x202556){return _0x1f0bf6(_0x25fe52- -_0x42e2b3._0x2269bf,_0x8e65b2,_0x25fe52-_0x42e2b3._0x34289a,_0x202556-_0x42e2b3._0x3993fe);}const _0x29f4ec=new Map();for(const _0x52da9f of providers){_0x29f4ec['set'](_0x52da9f[_0x1417c8(0x2d0,-_0x2660e0._0x579f2f,_0x2660e0._0x2f9382,_0x2660e0._0x325bff)][_0x1417c8(0x23b,0x301,_0x2660e0._0x4c9e36,0x264)](),_0x52da9f);}function _0x1417c8(_0x5a2b77,_0x459170,_0x5e361b,_0x27c566){return _0x577062(_0x5a2b77-_0x3c5383._0xf0ac4,_0x5a2b77,_0x5e361b-0x11c,_0x27c566-_0x3c5383._0x597d6f);}if(_0x2d6889)for(const [_0x35c179,_0x4af0d9]of Object['entries'](_0x2d6889)){if(!_0x4af0d9[_0x1417c8(0x534,0x3e4,0x617,0x5f9)])continue;const _0x59a028=_0x29f4ec['get'](_0x35c179['toLowerCase']()),_0x5cf1a9={'key':_0x35c179,'type':_0x4af0d9['type']??_0x1417c8(_0x2660e0._0x371c66,_0x2660e0._0x28ce38,_0x2660e0._0x24542b,_0x2660e0._0x49bf55),'baseUrl':_0x4af0d9[_0x52fe31(_0x2660e0._0x27ecc1,0x25a,0x35d,0x3c0)],'models':_0x4af0d9[_0x1417c8(0x60e,_0x2660e0._0x165261,_0x2660e0._0x4b94f6,_0x2660e0._0x3cd5ef)]??![],'customHeaders':_0x4af0d9[_0x52fe31(_0x2660e0._0x1575f7,_0x2660e0._0xade7aa,0x230,0x2bf)],'features':_0x59a028?.[_0x52fe31(-_0x2660e0._0x39c136,-_0x2660e0._0x13e714,-_0x2660e0._0x2381d7,0x64)]??{'promptCaching':![],'getModels':_0x4af0d9[_0x52fe31(0x429,_0x2660e0._0x434375,_0x2660e0._0x2cbc70,0x252)]!==![],'includeUsage':![]}};_0x29f4ec['set'](_0x35c179['toLowerCase'](),_0x5cf1a9);}return Array[_0x1417c8(0x485,_0x2660e0._0x4b4bb7,0x155,0x2d7)](_0x29f4ec['values']());}function createLLM(_0x3ca68e,_0x671915={},_0x1a39de){const _0x2b8653={_0x296deb:0x5ba,_0x7123e5:0x3a8,_0x41f783:0x287,_0x39bf3d:0x42b,_0x7167f:0x54c,_0x412443:0x736,_0x184e9f:0x282,_0x3026eb:0x2fe,_0x423e23:0x5f2,_0xf27fa5:0x3de,_0x4a8eb0:0x558,_0x1e2dd3:0xef,_0x42a091:0x223,_0x11a0fe:0x6e5,_0x5aef51:0x444,_0x5a29ee:0x50b,_0x2c9520:0x288,_0x138d54:0x1e9,_0x1e8838:0xc6,_0x406f43:0x3d3,_0x2b4d5e:0x4ac,_0x325b32:0x510,_0x2efd70:0x464,_0x101919:0x3c7,_0x378127:0x389,_0x166270:0x50b,_0x3e87c9:0x1a7,_0x41e601:0x1c9,_0x1e99ea:0x1db,_0x5dec48:0x5c1,_0x107d9c:0x366,_0x59827f:0x46c,_0x5e60d7:0x4b0,_0x15d9b4:0x38,_0x4e22f3:0x1d3,_0x3bc328:0x210},_0x4c505f={_0x5db200:0x15f,_0x3af364:0x1b0,_0x1754e5:0x3a3},_0x53e42f={_0x327f7c:0xec};function _0x229b77(_0x334f2e,_0x4a24bc,_0x13348d,_0x1ce119){return _0x1f0bf6(_0x334f2e-0x70,_0x1ce119,_0x13348d-_0x53e42f._0x327f7c,_0x1ce119-0x59);}function _0x5594d8(_0xc94644,_0x5e32b9,_0x25314b,_0x82a9e0){return _0x577062(_0xc94644-_0x4c505f._0x5db200,_0x25314b,_0x25314b-_0x4c505f._0x3af364,_0x82a9e0-_0x4c505f._0x1754e5);}const _0x56f6f0=mergeProviders(_0x1a39de),_0x4cf3ec=_0x56f6f0['find'](_0x145b48=>_0x145b48[_0x5594d8(-0x9b,0x2be,0x148,0xe3)][_0x5594d8(-0x4,0xa5,0x172,0x1c3)]()===_0x3ca68e[_0x229b77(0x23f,0x2ae,0x230,0x172)]());if(!_0x4cf3ec)throw new Error(_0x5594d8(_0x2b8653._0x296deb,0x1c8,0x11f,0x36a)+_0x3ca68e+'.\x20Available:\x20'+_0x56f6f0[_0x5594d8(0x22a,0x171,0x2db,_0x2b8653._0x7123e5)](_0x1f885f=>_0x1f885f[_0x229b77(0x15f,-0xb8,0x2ab,0x287)])[_0x229b77(0x40e,_0x2b8653._0x41f783,0x32c,_0x2b8653._0x39bf3d)](',\x20'));const _0x340afa=normalizeModelConfig(_0x4cf3ec);if(_0x4cf3ec[_0x5594d8(0x52f,_0x2b8653._0x7167f,_0x2b8653._0x412443,0x4f2)]===_0x229b77(_0x2b8653._0x184e9f,0x44b,0x379,_0x2b8653._0x3026eb))return new GenericAnthropicLLM(_0x4cf3ec[_0x5594d8(_0x2b8653._0x423e23,0x65d,_0x2b8653._0xf27fa5,_0x2b8653._0x4a8eb0)],{..._0x671915,'providerName':_0x4cf3ec[_0x229b77(0x15f,0x37c,-_0x2b8653._0x1e2dd3,_0x2b8653._0x42a091)],'enablePromptCaching':_0x671915[_0x5594d8(0x5fe,_0x2b8653._0x11a0fe,_0x2b8653._0x5aef51,_0x2b8653._0x5a29ee)]??_0x4cf3ec[_0x5594d8(_0x2b8653._0x2c9520,0x2e4,_0x2b8653._0x138d54,_0x2b8653._0x1e8838)][_0x5594d8(_0x2b8653._0x406f43,_0x2b8653._0x2b4d5e,0x41c,0x4b0)],'customHeaders':_0x4cf3ec[_0x5594d8(_0x2b8653._0x325b32,0x539,0x28a,0x42b)],'modelConfig':_0x340afa});return new GenericLLM(_0x4cf3ec[_0x229b77(0x5d4,0x4fe,_0x2b8653._0x2efd70,_0x2b8653._0x101919)],_0x340afa,{..._0x671915,'providerName':_0x4cf3ec['key'],'enablePromptCaching':_0x671915[_0x5594d8(0x395,_0x2b8653._0x378127,0x45d,_0x2b8653._0x166270)]??_0x4cf3ec[_0x229b77(0x142,_0x2b8653._0x3e87c9,_0x2b8653._0x41e601,_0x2b8653._0x1e99ea)][_0x5594d8(_0x2b8653._0x5dec48,_0x2b8653._0x107d9c,_0x2b8653._0x59827f,_0x2b8653._0x5e60d7)],'includeUsage':_0x671915[_0x229b77(0x210,_0x2b8653._0x15d9b4,0x1d8,0x29f)]??_0x4cf3ec[_0x229b77(0x142,_0x2b8653._0x4e22f3,0x203,0xae)][_0x229b77(_0x2b8653._0x3bc328,0x44b,-0x36,0x86)]},_0x4cf3ec[_0x229b77(0x4a7,0x459,0x304,0x281)]);}function getAvailableProviders(_0x3a54a0){const _0x5286cb={_0x50f8eb:0x8d8,_0x4e2192:0x77b},_0x4fb82d={_0x4757ae:0x111,_0x5d5388:0x43,_0x45e066:0x89},_0x5616cc={_0x2aefb2:0x3c7};function _0x3d6f6a(_0x4b785e,_0x13f23e,_0x1933f6,_0x4e6fea){return _0x1f0bf6(_0x4e6fea-_0x5616cc._0x2aefb2,_0x1933f6,_0x1933f6-0xda,_0x4e6fea-0xe7);}const _0x6ddce7=mergeProviders(_0x3a54a0);function _0x1b7fa0(_0x2f3c87,_0x3953a4,_0x509749,_0x5c29e7){return _0x1f0bf6(_0x3953a4- -_0x4fb82d._0x4757ae,_0x2f3c87,_0x509749-_0x4fb82d._0x5d5388,_0x5c29e7-_0x4fb82d._0x45e066);}return _0x6ddce7[_0x3d6f6a(0x777,0x950,_0x5286cb._0x50f8eb,_0x5286cb._0x4e2192)](_0x3f65b9=>_0x3f65b9[_0x3d6f6a(0x277,0x4e8,0x394,0x4b6)]);}function supportsGetModels(_0x3ab615,_0x5e3ff0){const _0x1369eb={_0x42c8eb:0x16c,_0x3d3edd:0x25c},_0x52cd41=mergeProviders(_0x5e3ff0),_0x4b499f=_0x52cd41['find'](_0x3aca96=>_0x3aca96[_0x5d5a19(-0x215,-0xf1,-0x64,0xda)][_0x25274d(0x41b,0x33c,0x4d9,0x543)]()===_0x3ab615[_0x25274d(0x41b,0x409,0x28d,0x3ee)]());if(!_0x4b499f)return![];function _0x5d5a19(_0x3b66c4,_0x32eee4,_0x970bd5,_0x1c24df){return _0x577062(_0x3b66c4-0x28,_0x32eee4,_0x970bd5-_0x1369eb._0x42c8eb,_0x970bd5-_0x1369eb._0x3d3edd);}const _0x4d135a=normalizeModelConfig(_0x4b499f);function _0x25274d(_0x5ebb61,_0x2b9d39,_0x4f4b4e,_0x1a13df){return _0x577062(_0x5ebb61-0x1d9,_0x1a13df,_0x4f4b4e-0x28,_0x5ebb61-0x5fb);}return _0x4d135a!==![];}function getProviderLabel(_0x5b57d0,_0x2206ce){const _0xe3ddd3={_0x50bfe8:0x8fd,_0x321fdc:0xae5,_0x5f1215:0x6f5},_0x43c57c={_0x544225:0x16e},_0x3c54b6={_0x472b2c:0x48};function _0x33b774(_0x7ff49e,_0x4df8cc,_0x34df0f,_0x5b6a8f){return _0x1f0bf6(_0x4df8cc- -_0x3c54b6._0x472b2c,_0x7ff49e,_0x34df0f-0x13d,_0x5b6a8f-0x73);}const _0x37139a=mergeProviders(_0x2206ce),_0x28403=_0x37139a['find'](_0x16865e=>_0x16865e[_0x220379(0x494,0x556,0x278,0x346)][_0x220379(0x574,0x6ef,0x7a5,0x395)]()===_0x5b57d0[_0x33b774(0x8f,0x187,0x2f6,0x361)]());function _0x220379(_0x493206,_0x2fa03b,_0x20c23a,_0x10d6d0){return _0x1f0bf6(_0x493206-0x3a5,_0x20c23a,_0x20c23a-0x1b6,_0x10d6d0-_0x43c57c._0x544225);}return _0x28403?.[_0x220379(_0xe3ddd3._0x50bfe8,0x7f1,_0xe3ddd3._0x321fdc,_0xe3ddd3._0x5f1215)];}function getProviderAuthMethods(_0xd45648,_0x2d7791){const _0x4a66c1={_0x5c6563:0x2da,_0x169f7a:0x4cb,_0x186ffe:0x6b,_0x321465:0x105},_0x14303b={_0x599c4f:0x98,_0x105a69:0xfe},_0x4ee29f={_0x5504ab:0x198,_0x37a05e:0x26},_0x32314e=mergeProviders(_0x2d7791),_0x83e1ad=_0x32314e['find'](_0x51f033=>_0x51f033['key'][_0x41068b(-0x1ef,-0x3cb,0x7d,-0x1bc)]()===_0xd45648[_0x41068b(-0x84,-0x398,-0x12d,-0x1bc)]());function _0x459288(_0x316d1b,_0x4887c6,_0x424da7,_0x26d178){return _0x577062(_0x316d1b-_0x4ee29f._0x5504ab,_0x316d1b,_0x424da7-_0x4ee29f._0x37a05e,_0x4887c6-0x4c3);}function _0x41068b(_0x42cf9d,_0x22f6b0,_0x3b3a44,_0x24fbbe){return _0x1f0bf6(_0x24fbbe- -0x38b,_0x22f6b0,_0x3b3a44-_0x14303b._0x599c4f,_0x24fbbe-_0x14303b._0x105a69);}return _0x83e1ad?.['authMethods']??[{'label':_0x459288(0x45e,_0x4a66c1._0x5c6563,_0x4a66c1._0x169f7a,0x389),'value':_0x41068b(_0x4a66c1._0x186ffe,0x12d,-_0x4a66c1._0x321465,-0x81)}];}function getProviderDefaultModels(_0x3468ad,_0x425125){const _0x3638b8={_0xcccf9a:0x205,_0x41243a:0x21f,_0x286323:0xb4},_0x232d43={_0x59b159:0x21,_0x2639a7:0x60},_0xf2d348={_0x13ad67:0x10a,_0x591d2d:0x1e4},_0x256cb6=mergeProviders(_0x425125),_0x51bf0f=_0x256cb6[_0x145844(0x396,0x135,0x378,0x24f)](_0x3185d1=>_0x3185d1[_0x5a3f40(0x315,0x259,0x110,-0x109)][_0x145844(0xd4,-0x248,0x4,0x36)]()===_0x3468ad[_0x145844(0x2b,-0x7,0x4,0x40)]());function _0x145844(_0x337a30,_0x93371,_0x3d286c,_0x221326){return _0x577062(_0x337a30-0x1aa,_0x93371,_0x3d286c-_0xf2d348._0x13ad67,_0x3d286c-_0xf2d348._0x591d2d);}function _0x5a3f40(_0x22c925,_0x2e09a2,_0x61f95b,_0x31c0ce){return _0x1f0bf6(_0x61f95b-_0x232d43._0x59b159,_0x22c925,_0x61f95b-_0x232d43._0x2639a7,_0x31c0ce-0x72);}return _0x51bf0f?.[_0x145844(0x30f,_0x3638b8._0xcccf9a,_0x3638b8._0x41243a,_0x3638b8._0x286323)]??[];}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{ListToolsResultSchema,CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';var CoreMCPClient=class{constructor(_0x19d163,_0x4778a5=0x7530){const _0x33116e={_0x5e276f:0x195,_0x2dbc3c:0x1bf,_0x57181b:0x9,_0xa1dac8:0x146},_0x503dc2={_0x318d6a:0x1a3,_0x3b2907:0x5};this[_0x42fca0(-0x1a,0x67,-_0x33116e._0x5e276f,-_0x33116e._0x2dbc3c)]=_0x19d163;function _0x42fca0(_0x6cbf3,_0x21f50a,_0x2709a1,_0x187b1c){return _0x577062(_0x6cbf3-0x13e,_0x2709a1,_0x2709a1-0x1eb,_0x21f50a-0x2a5);}function _0xe72152(_0x3bc01f,_0xc9b80c,_0x1da7c7,_0x27a4dd){return _0x1f0bf6(_0x3bc01f- -_0x503dc2._0x318d6a,_0xc9b80c,_0x1da7c7-0x2a,_0x27a4dd-_0x503dc2._0x3b2907);}this[_0x42fca0(0x13b,_0x33116e._0x57181b,-0x23e,-_0x33116e._0xa1dac8)]=_0x4778a5;}[_0x577062(0x12,-0x2a1,0x99,-0xbd)]=null;[_0x1f0bf6(0x1d0,0x38c,0x3b1,0x16)]=null;[_0x1f0bf6(0x347,0x42b,0x43f,0x3f1)]=![];[_0x577062(-0x124,0x52,-0x174,-0x1ed)]=[];async[_0x577062(0x74,-0x1c0,0x13a,-0x7)](){const _0x48037f={_0x1622b2:0x561,_0x47a02e:0x802,_0x455ff5:0x62f,_0x1e5b9a:0x4c7,_0x2ce6d8:0x501,_0x2b3499:0x473,_0x2bcf2c:0x5fd,_0x1ea67b:0x64a,_0x37bee7:0x6a4,_0x47bfdb:0x7a5,_0x5646d7:0x59a,_0x1c5496:0x5f7,_0x2fc268:0x669,_0x3880b4:0x78f,_0x1ca403:0x414,_0x4b2d3d:0x537,_0x108f21:0x4ec,_0x1a0202:0x34b,_0x45088f:0x3ea,_0x20364d:0x600,_0x2e67f5:0x7d1,_0x4a67ec:0x907,_0x50161f:0x37e,_0x4ea21d:0x3cb,_0x3027f2:0x522,_0x58020d:0x31b,_0x5b0cbc:0x56f,_0x41b521:0x5e9,_0xb9f394:0x5be,_0x52da01:0x48d,_0x3b9a7e:0x7df,_0x373127:0x721,_0x433297:0x74e,_0x594eb5:0x5b3,_0x3bf40c:0x5a0,_0x22501d:0x463,_0x4e4334:0x7a1,_0x372be6:0x74e,_0x46042d:0x539,_0x41b33d:0x742,_0xac93df:0x84b,_0x289432:0x66d,_0x5590a9:0x4ae,_0x2d8174:0x37f,_0x413cc9:0x652,_0x41f8af:0x816,_0x28849c:0x5dc,_0xdf93e8:0x5c5,_0x3248d9:0x5bb,_0x3cd83c:0x6f4,_0xffa726:0x71f,_0x2b9248:0x898,_0x3de9ff:0x3e0,_0x44aa55:0x385,_0x26319b:0x5d8,_0x211ff0:0x72d,_0x2046f8:0x70a,_0x26a03c:0x696,_0x3e5aa5:0x5d9,_0x2ac52e:0x765,_0x584a34:0x738,_0x47297b:0x439,_0x307cef:0x774,_0x1458cf:0x70c,_0x5ca7cf:0x4f6,_0x47083d:0x76a,_0x3f2b08:0x7b7,_0x5e65a5:0x8f3,_0x297fc1:0x6c4,_0x270676:0x534,_0x55d9dc:0x65d,_0x3b063b:0x40d,_0x476f12:0x842,_0x22cbe0:0x88b,_0x5d70df:0x4fd,_0x4ed7de:0x658,_0x1de634:0x4a3},_0x2b92b7={_0x572bb0:0x33d,_0x1b6160:0x18f},_0x2d322c={_0x271216:0x31c,_0x2301c9:0xa6};if(this[_0x5674da(0x593,0x684,_0x48037f._0x1622b2,_0x48037f._0x47a02e)])return;if(this[_0x5674da(0x6ec,_0x48037f._0x455ff5,0x3f6,0x7d9)]||this[_0x5674da(0x573,0x50d,_0x48037f._0x1e5b9a,_0x48037f._0x2ce6d8)])throw new Error(_0x5674da(0x270,0x40e,0x4ff,_0x48037f._0x2b3499));if(this[_0xbc1158(_0x48037f._0x2bcf2c,_0x48037f._0x1ea67b,0x48d,0x5a1)][_0xbc1158(0x75e,_0x48037f._0x37bee7,0x81a,_0x48037f._0x47bfdb)]===_0x5674da(_0x48037f._0x5646d7,0x47c,_0x48037f._0x1c5496,0x5a3)){const _0x214d8a=new URL(this['opts'][_0x5674da(_0x48037f._0x2fc268,0x857,_0x48037f._0x3880b4,0xa57)]);this[_0xbc1158(_0x48037f._0x1ca403,_0x48037f._0x4b2d3d,_0x48037f._0x108f21,_0x48037f._0x1a0202)]=new StreamableHTTPClientTransport(_0x214d8a,{'requestInit':{'headers':this[_0xbc1158(_0x48037f._0x45088f,0x4ae,0x48d,0x260)][_0xbc1158(0x6a5,_0x48037f._0x20364d,_0x48037f._0x2e67f5,_0x48037f._0x4a67ec)]??{}}});}else{const _0x37df11=this[_0xbc1158(0x373,0x5d0,0x48d,_0x48037f._0x50161f)]['stderr']&&typeof this[_0x5674da(_0x48037f._0x4ea21d,0x4ae,0x471,_0x48037f._0x3027f2)]['stderr']===_0x5674da(_0x48037f._0x58020d,_0x48037f._0x5b0cbc,0x4c3,_0x48037f._0x41b521)&&typeof this[_0xbc1158(0x594,_0x48037f._0xb9f394,_0x48037f._0x52da01,0x5e2)][_0xbc1158(0x580,_0x48037f._0x3b9a7e,_0x48037f._0x373127,0x893)][_0x5674da(0x562,_0x48037f._0x433297,0x753,_0x48037f._0x594eb5)]===_0xbc1158(_0x48037f._0x3bf40c,_0x48037f._0x22501d,0x5d9,0x3e0),_0x5b21a6=_0x37df11?_0x5674da(_0x48037f._0x4e4334,_0x48037f._0x372be6,0x6d5,0x956):this[_0xbc1158(0x53e,0x46d,_0x48037f._0x52da01,_0x48037f._0x46042d)][_0x5674da(0x6cb,_0x48037f._0x41b33d,_0x48037f._0xac93df,0x59e)]??'inherit';this[_0x5674da(0x73f,0x50d,0x48b,_0x48037f._0x289432)]=new StdioClientTransport({'command':this[_0x5674da(0x2c5,_0x48037f._0x5590a9,0x3dd,_0x48037f._0x2d8174)][_0x5674da(0x9a7,0x862,_0x48037f._0x413cc9,_0x48037f._0x41f8af)],'args':this['opts'][_0x5674da(_0x48037f._0x28849c,0x471,_0x48037f._0xdf93e8,_0x48037f._0x3248d9)]??[],'env':this[_0x5674da(_0x48037f._0x3cd83c,0x4ae,0x580,_0x48037f._0x455ff5)][_0xbc1158(0x6aa,0x63b,0x550,0x337)]??{},'stderr':_0x5b21a6,'cwd':this['opts'][_0xbc1158(0x6ec,_0x48037f._0xffa726,0x687,_0x48037f._0x2b9248)]});if(_0x37df11&&this['transport']instanceof StdioClientTransport){const _0x1bb308=this[_0x5674da(0x5de,0x50d,0x560,0x2cb)][_0xbc1158(0x5f8,0x52b,_0x48037f._0x373127,0x861)],_0x2ef818=this[_0x5674da(_0x48037f._0x3de9ff,0x4ae,0x2ec,_0x48037f._0x44aa55)][_0x5674da(0x5c8,0x742,0x757,0x6a7)];_0x1bb308&&_0x2ef818&&typeof _0x1bb308[_0xbc1158(_0x48037f._0x26319b,0x882,_0x48037f._0x211ff0,_0x48037f._0x2046f8)]===_0xbc1158(0x43c,_0x48037f._0x26a03c,_0x48037f._0x3e5aa5,_0x48037f._0x2ac52e)&&_0x1bb308[_0xbc1158(0x640,0x6c9,0x72d,_0x48037f._0x584a34)](_0x2ef818);}}this[_0x5674da(0x7f5,0x62f,_0x48037f._0x47297b,_0x48037f._0x307cef)]=new Client({'name':'nuvin-core-cli','version':_0xbc1158(0x4f1,_0x48037f._0x1458cf,_0x48037f._0x5ca7cf,0x5d0)},{'capabilities':{'roots':{'listChanged':!![]}}}),await this[_0x5674da(0x520,0x62f,_0x48037f._0x47083d,0x3e6)][_0xbc1158(_0x48037f._0x3f2b08,_0x48037f._0x5e65a5,_0x48037f._0x297fc1,_0x48037f._0x270676)](this[_0x5674da(_0x48037f._0x55d9dc,0x50d,_0x48037f._0x3b063b,0x744)]);function _0xbc1158(_0x3bced2,_0x5c122f,_0x2bfb82,_0x420e20){return _0x1f0bf6(_0x2bfb82-_0x2d322c._0x271216,_0x5c122f,_0x2bfb82-_0x2d322c._0x2301c9,_0x420e20-0x1c8);}this[_0x5674da(_0x48037f._0x476f12,0x684,_0x48037f._0x22cbe0,_0x48037f._0x5d70df)]=!![];function _0x5674da(_0x1ca4e0,_0xf9a98e,_0x4d4b96,_0x56b7d7){return _0x1f0bf6(_0xf9a98e-_0x2b92b7._0x572bb0,_0x4d4b96,_0x4d4b96-0x11d,_0x56b7d7-_0x2b92b7._0x1b6160);}await this[_0xbc1158(_0x48037f._0x4ed7de,0x281,_0x48037f._0x1de634,0x576)]();}[_0x1f0bf6(0x4f5,0x609,0x3ae,0x5a7)](){const _0x3f59bc={_0x5d47b9:0x496};function _0x39ac66(_0x5d728f,_0x59152e,_0x4e0e25,_0x3d49e1){return _0x577062(_0x5d728f-0xb3,_0x4e0e25,_0x4e0e25-0x141,_0x5d728f-0x433);}return this['connected']&&this[_0x39ac66(0x376,_0x3f59bc._0x5d47b9,0x227,0x276)]!==null;}async[_0x1f0bf6(0x3ad,0x555,0x2a3,0x531)](){const _0x3497c8={_0x75106:0x3ba,_0x44527e:0x24b,_0xec9ec0:0x91,_0x5900ca:0x271,_0x357bcd:0x4e3,_0x46078:0x201,_0x204bcb:0x76,_0x4830df:0x2ae,_0x55d6c9:0x1e8,_0x17400d:0x1cb,_0x3b0aa7:0x1b6,_0x337ddf:0xce,_0x19debe:0x242,_0x7c07d:0x1b9,_0x473ac4:0x7d,_0x27e12c:0xc4,_0x2ea277:0x1d9,_0x540a9d:0x1b6},_0x4ac04a={_0x5056ae:0xc4},_0x95dba8={_0x27dbcb:0x14};function _0x62525a(_0x17aaea,_0x3a1570,_0x252432,_0x53592c){return _0x1f0bf6(_0x53592c- -0x15a,_0x17aaea,_0x252432-0x145,_0x53592c-_0x95dba8._0x27dbcb);}function _0x1b6ba0(_0x15c9e7,_0x977bd9,_0x80eee9,_0x50960d){return _0x1f0bf6(_0x977bd9- -_0x4ac04a._0x5056ae,_0x80eee9,_0x80eee9-0xed,_0x50960d-0x14f);}try{const _0x539a40=Promise[_0x1b6ba0(0x2a7,_0x3497c8._0x75106,_0x3497c8._0x44527e,0x374)]([this[_0x1b6ba0(_0x3497c8._0xec9ec0,0x22e,0x16a,_0x3497c8._0x5900ca)]?.[_0x1b6ba0(_0x3497c8._0x357bcd,0x2ae,0x25b,0x209)](),this[_0x62525a(_0x3497c8._0x46078,0x76,0x1cb,_0x3497c8._0x204bcb)]?.[_0x1b6ba0(0x9b,_0x3497c8._0x4830df,_0x3497c8._0x55d6c9,_0x3497c8._0x17400d)]?.()]),_0x4c13e8=new Promise((_0x4005b5,_0x1dca35)=>{setTimeout(()=>_0x1dca35(new Error('MCP\x20disconnect\x20timed\x20out\x20after\x205000ms')),0x1388);});await Promise[_0x1b6ba0(-0x76,_0x3497c8._0x3b0aa7,_0x3497c8._0x337ddf,_0x3497c8._0x19debe)]([_0x539a40,_0x4c13e8]);}catch(_0x20d5e6){console['warn'](_0x1b6ba0(0x3e8,_0x3497c8._0x7c07d,0x9a,0x1c9),_0x20d5e6);}finally{this[_0x62525a(0x2d,0x2d1,0x16c,0x1ed)]=![],this[_0x1b6ba0(0xd9,0x22e,0x275,0x414)]=null,this[_0x62525a(0x71,0xbf,_0x3497c8._0x473ac4,0x76)]=null,this[_0x62525a(_0x3497c8._0x27e12c,-_0x3497c8._0x2ea277,_0x3497c8._0x540a9d,0x68)]=[];}}async['refreshTools'](){const _0x3566e8={_0x46a589:0x5c,_0x5e2b38:0x2e,_0x474148:0x6a4,_0x614958:0x9e4,_0x3c725d:0x521,_0x2f444a:0x6bd,_0x3ccafe:0x55e,_0x40c8b2:0x651,_0x4e227e:0x7ae,_0x1f2d89:0x86b,_0x3107d5:0x713,_0x227a6f:0x6fc},_0x35fc20={_0x1d1c95:0x1e4},_0x216878={_0x1cae69:0x35f,_0x240199:0x70,_0x501666:0x189};if(!this[_0x393a7b(-_0x3566e8._0x46a589,0x81,_0x3566e8._0x5e2b38,-0x100)])throw new Error(_0x229e8e(_0x3566e8._0x474148,0x909,_0x3566e8._0x614958,0x898));function _0x229e8e(_0x34409b,_0x3df3f4,_0x5266d6,_0x586fd3){return _0x1f0bf6(_0x586fd3-_0x216878._0x1cae69,_0x3df3f4,_0x5266d6-_0x216878._0x240199,_0x586fd3-_0x216878._0x501666);}const _0x5615a1={'method':_0x393a7b(0x3d3,0xc7,0x193,0x29e),'params':{}},_0x333f2a=this[_0x229e8e(_0x3566e8._0x3c725d,_0x3566e8._0x2f444a,_0x3566e8._0x3ccafe,_0x3566e8._0x40c8b2)]['request'](_0x5615a1,ListToolsResultSchema),_0x1ac043=new Promise((_0x403b81,_0x5c71e0)=>{const _0xbd6cbb={_0x24543f:0xd0};function _0x409883(_0x2cae0a,_0x4622bc,_0x1044f0,_0x5a7b63){return _0x393a7b(_0x2cae0a,_0x4622bc-0x1ea,_0x1044f0-_0xbd6cbb._0x24543f,_0x5a7b63-0x19a);}setTimeout(()=>_0x5c71e0(new Error(_0x409883(0x408,0x2ae,0x300,0x443)+this['timeoutMs']+'ms')),this['timeoutMs']);});function _0x393a7b(_0x375759,_0x3cdb90,_0x2cce1d,_0x5b187c){return _0x577062(_0x375759-0xcc,_0x375759,_0x2cce1d-_0x35fc20._0x1d1c95,_0x2cce1d-0xeb);}const _0xca67ce=await Promise[_0x229e8e(0x4e0,0x406,0x5cd,0x5d9)]([_0x333f2a,_0x1ac043]),_0x11f4ef=(_0xca67ce['tools']??[])[_0x229e8e(_0x3566e8._0x4e227e,0x5be,_0x3566e8._0x1f2d89,_0x3566e8._0x3107d5)](_0x5eb623=>({'name':String(_0x5eb623[_0x229e8e(0x737,0x9ea,0x91a,0x80b)]),'description':_0x5eb623[_0x229e8e(0x6e3,0x57b,0x5ff,0x702)],'inputSchema':_0x5eb623[_0x393a7b(0x25d,-0xd9,0x155,0x33e)]??{'type':_0x229e8e(0x41f,0x4ca,0x6e8,0x591),'properties':{},'required':[]}}));return this[_0x229e8e(0x6e3,_0x3566e8._0x227a6f,0x49e,_0x3566e8._0x3c725d)]=_0x11f4ef,_0x11f4ef;}['getTools'](){const _0x5189e9={_0x18514e:0xf8,_0xdc0024:0x13},_0x13e6c2={_0x5ecdf0:0x30d,_0x37687d:0x17f},_0x1ddba0={_0x40db4f:0x33e};function _0xabca1c(_0x450708,_0x22269a,_0x5117c4,_0x3afed6){return _0x577062(_0x450708-0x14f,_0x22269a,_0x5117c4-0x124,_0x450708-_0x1ddba0._0x40db4f);}function _0x4fb92d(_0x5e076e,_0x218d80,_0x1acedb,_0xa4b99d){return _0x1f0bf6(_0x1acedb- -_0x13e6c2._0x5ecdf0,_0x218d80,_0x1acedb-_0x13e6c2._0x37687d,_0xa4b99d-0xb8);}return this[_0xabca1c(0x151,0x5d,-0x7b,0x326)][_0x4fb92d(-_0x5189e9._0x18514e,0x1fd,_0x5189e9._0xdc0024,0x155)]();}async[_0x577062(-0x11e,-0x42e,-0xc,-0x260)](_0x5d86c0){const _0x295328={_0x2f32b7:0x206,_0x27bf4f:0x24,_0x5dcf28:0x10a,_0x185d09:0x212,_0x14cc22:0x2e,_0x1a862c:0x11b,_0x12ef2a:0x329},_0x374cc7={_0x4cb265:0xdd,_0x4b0c60:0x15f},_0x57f613={_0x472c05:0x1f},_0x2304dd={_0x2b9f64:0xcc,_0x447509:0x18f};if(!this[_0x27c9b8(0x1ac,-0x1f,0x1e6,_0x295328._0x2f32b7)])throw new Error('MCP\x20client\x20not\x20connected');function _0x27c9b8(_0x51a638,_0x59bb29,_0x2363cd,_0xec6dc8){return _0x577062(_0x51a638-_0x2304dd._0x2b9f64,_0x59bb29,_0x2363cd-_0x2304dd._0x447509,_0x2363cd-0x2a3);}const _0x436e07={'method':_0x290525(-_0x295328._0x27bf4f,_0x295328._0x5dcf28,-_0x295328._0x185d09,-_0x295328._0x14cc22),'params':{'name':_0x5d86c0[_0x290525(0x70,0x2e1,0x53,_0x295328._0x1a862c)],'arguments':_0x5d86c0[_0x27c9b8(0x276,0x58d,0x42e,_0x295328._0x12ef2a)]??{}}},_0xc7cfd6=this['client'][_0x290525(0x355,0x1d3,-0x11f,0x102)](_0x436e07,CallToolResultSchema);function _0x290525(_0x59b451,_0x3a3077,_0x30ae91,_0xb906e2){return _0x1f0bf6(_0xb906e2- -0x391,_0x59b451,_0x30ae91-0x178,_0xb906e2-0x146);}const _0x1967a8=new Promise((_0x1b5e88,_0x446e3c)=>{const _0x8933ac={_0x11cebd:0xc6};function _0x56f39b(_0x187667,_0x3a80d9,_0x2b06df,_0x297bde){return _0x27c9b8(_0x187667-_0x8933ac._0x11cebd,_0x2b06df,_0x187667-0x12d,_0x297bde-0x19);}function _0x43de31(_0x45f690,_0x39a70a,_0x5dcd2f,_0x29e834){return _0x27c9b8(_0x45f690-0xe9,_0x45f690,_0x39a70a- -0x62,_0x29e834-_0x57f613._0x472c05);}setTimeout(()=>_0x446e3c(new Error(_0x56f39b(0x3fe,0x5f0,0x637,0x3fc)+this[_0x43de31(-0x278,-0x5b,-0x14d,-0xb)]+'ms')),this[_0x43de31(-_0x374cc7._0x4cb265,-0x5b,_0x374cc7._0x4b0c60,0x1d6)]);});return await Promise['race']([_0xc7cfd6,_0x1967a8]);}};import{jsonSchemaToZod}from'json-zodify';function sanitizeName(_0x40d999){const _0x5a9d6e={_0x5e9f26:0x288,_0x2f6ead:0x150,_0x3f7a7d:0x302,_0x12191a:0x237,_0x58b240:0x989,_0x21e13f:0x5ea},_0x2073a9={_0x5185d4:0x3d0,_0x5e0d97:0xfc,_0x449bef:0x1e5},_0x519b46={_0x21280e:0x1ec,_0x5757e0:0x151,_0x2388a7:0xe0};function _0x5225cf(_0x3a6b5f,_0x3792c2,_0x5a6e53,_0x52d867){return _0x577062(_0x3a6b5f-_0x519b46._0x21280e,_0x52d867,_0x5a6e53-_0x519b46._0x5757e0,_0x3792c2-_0x519b46._0x2388a7);}function _0x18f46e(_0x31dfba,_0x3b28d9,_0x4bd979,_0x10faec){return _0x1f0bf6(_0x10faec-_0x2073a9._0x5185d4,_0x4bd979,_0x4bd979-_0x2073a9._0x5e0d97,_0x10faec-_0x2073a9._0x449bef);}return _0x40d999[_0x5225cf(0x2cd,0x150,_0x5a9d6e._0x5e9f26,0x36a)](/[^a-zA-Z0-9_]+/g,'_')[_0x5225cf(-0x3c,_0x5a9d6e._0x2f6ead,_0x5a9d6e._0x3f7a7d,_0x5a9d6e._0x12191a)](/^_+|_+$/g,'')[_0x18f46e(_0x5a9d6e._0x58b240,0x64a,_0x5a9d6e._0x21e13f,0x7ef)](/_{2,}/g,'_');}function toExposedName(_0x1158e8,_0x4911e5=_0x1f0bf6(0x1e8,-0x53,0x8b,0x2f2)){const _0x2ffb37=sanitizeName(_0x1158e8);return''+_0x4911e5+_0x2ffb37;}function flattenMcpContent(_0x174a78){const _0x28fe2a={_0x2de06d:0x38b,_0x23fa13:0x25,_0x673ab7:0x2bc,_0x10f4b2:0x193,_0x297e4c:0x241,_0x2f5d77:0x2a6},_0xde4594={_0x2db267:0x9c,_0x9a78df:0x1a3},_0x5f3dd1={_0x4a193b:0x116,_0x18cdf0:0x1e2};if(!_0x174a78||_0x174a78[_0x457bb5(_0x28fe2a._0x2de06d,_0x28fe2a._0x23fa13,0x1e5,_0x28fe2a._0x673ab7)]===0x0)return{'type':_0x1e1022(_0x28fe2a._0x10f4b2,0x4df,0x35c,0x562),'value':''};const _0x128a88=_0x174a78['every'](_0x366dd4=>_0x366dd4&&_0x366dd4[_0x457bb5(0x1a0,0x2e1,0x331,0x2e7)]===_0x1e1022(0x4e5,0x46c,0x35c,0x32b)&&typeof _0x366dd4['text']===_0x457bb5(0x48,0xfe,0x29c,0x3a7));function _0x457bb5(_0x4da695,_0x1a8e51,_0x1e9774,_0x172cd1){return _0x577062(_0x4da695-0x6a,_0x172cd1,_0x1e9774-_0x5f3dd1._0x4a193b,_0x1e9774-_0x5f3dd1._0x18cdf0);}if(_0x128a88)return{'type':'text','value':_0x174a78[_0x1e1022(_0x28fe2a._0x297e4c,_0x28fe2a._0x2f5d77,0x3be,0x2e4)](_0x452f00=>_0x452f00['text'])['join']('\x0a')};function _0x1e1022(_0x5a5ab4,_0x274b6d,_0xaee04,_0x2933e1){return _0x577062(_0x5a5ab4-_0xde4594._0x2db267,_0x2933e1,_0xaee04-_0xde4594._0x9a78df,_0xaee04-0x3b9);}return{'type':'json','value':_0x174a78};}var MCPToolPort=class{constructor(_0x5b77f5,_0x2cabb0){const _0x1684f1={_0x3e6d82:0x14,_0x505a0b:0x2f,_0x2de75b:0x501,_0x500f0a:0x69b,_0x3e4400:0x94},_0x19192f={_0x2b4431:0x91,_0x134afb:0x6d,_0x3b505e:0x25b},_0x101f1f={_0x382a61:0x1a1,_0x284b37:0x72d};function _0x4647d3(_0x59a0cc,_0x4cfb2f,_0x271408,_0x2b3834){return _0x577062(_0x59a0cc-0x154,_0x271408,_0x271408-_0x101f1f._0x382a61,_0x59a0cc-_0x101f1f._0x284b37);}function _0x3678d1(_0x10b721,_0x570300,_0x3686f3,_0x1a60de){return _0x577062(_0x10b721-_0x19192f._0x2b4431,_0x10b721,_0x3686f3-_0x19192f._0x134afb,_0x1a60de-_0x19192f._0x3b505e);}this['client']=_0x5b77f5,this[_0x3678d1(0x23,_0x1684f1._0x3e6d82,0x27a,_0x1684f1._0x505a0b)]=_0x2cabb0?.[_0x4647d3(_0x1684f1._0x2de75b,_0x1684f1._0x500f0a,0x2b1,0x355)]??_0x3678d1(-0x80,0x14e,-0x95,_0x1684f1._0x3e4400);}[_0x577062(0x21b,0x1cb,0x51,0x5)]=new Map();[_0x577062(0x11f,-0x1e9,-0x20a,-0xc0)]=new Map();[_0x577062(-0xea,0x1fe,0x16e,-0x2c)]=new Map();[_0x1f0bf6(0x183,0x197,0x30f,-0x9f)];async[_0x577062(0x4,0xb0,0x19a,0xee)](){const _0x22f8e2={_0x410617:0x3d3,_0x35bb07:0x4fd,_0x1ae3ba:0x4e6,_0x563719:0x563,_0x33b14c:0x3b2,_0x2610f1:0x2e2,_0x269fd9:0x257,_0x554004:0x2bc,_0x30d6f9:0x489,_0x5a814b:0x265,_0x5eddc7:0x18c,_0x3e9ac9:0x1af,_0x1ae123:0x30e,_0x34ce44:0xd8,_0x106689:0x499,_0x43d1aa:0x738,_0x12a89d:0x5bf,_0x5c8ce8:0x5cf,_0x6ddf3:0x3a3,_0x17cba7:0x266,_0x202c2e:0x180,_0x38a543:0x15b,_0x4c6936:0x55,_0x3fab97:0x6c,_0x56cd46:0x788,_0x1ab488:0x400,_0x41fa2a:0x72e,_0x299672:0x362,_0x513557:0x6b7,_0x34e027:0x7ba,_0x503244:0x90,_0x414151:0xb2,_0x50f3d8:0x143,_0x1967f5:0x8ba,_0x5171ef:0x8ab,_0x2b3870:0x369,_0x1fa307:0x2db,_0x1eae00:0x624,_0x4c8e68:0x6b9,_0x33877e:0x297,_0x3bcdba:0x5df,_0xf09206:0x7af,_0x5e00d4:0xc3,_0x3e5c56:0x2b0,_0x470e65:0x15d,_0x2c258c:0x369,_0x1e811e:0x3cc},_0x1301bc={_0x414ef5:0x20b,_0x4e09dd:0x13d,_0x1fe824:0x6},_0x5e983f={_0x2d78be:0x13a,_0x38cfd3:0x88};function _0x1d706f(_0xe60aa3,_0x3a0e44,_0x386052,_0x5dfe24){return _0x577062(_0xe60aa3-_0x5e983f._0x2d78be,_0xe60aa3,_0x386052-_0x5e983f._0x38cfd3,_0x3a0e44-0x26c);}if(!this[_0x671fb2(_0x22f8e2._0x410617,_0x22f8e2._0x35bb07,0x36d,_0x22f8e2._0x1ae3ba)][_0x1d706f(_0x22f8e2._0x563719,_0x22f8e2._0x33b14c,0x4ab,_0x22f8e2._0x2610f1)]())await this[_0x1d706f(_0x22f8e2._0x269fd9,0x1af,0x256,_0x22f8e2._0x554004)][_0x1d706f(_0x22f8e2._0x30d6f9,_0x22f8e2._0x5a814b,_0x22f8e2._0x5eddc7,0x3bb)]();const _0x3e232a=this[_0x1d706f(0x2ad,_0x22f8e2._0x3e9ac9,0x2b8,_0x22f8e2._0x1ae123)][_0x1d706f(0x147,0x323,_0x22f8e2._0x34ce44,_0x22f8e2._0x106689)]();this[_0x671fb2(_0x22f8e2._0x43d1aa,_0x22f8e2._0x12a89d,0x5e4,0x780)][_0x671fb2(_0x22f8e2._0x5c8ce8,_0x22f8e2._0x6ddf3,0x288,_0x22f8e2._0x17cba7)](),this[_0x1d706f(_0x22f8e2._0x202c2e,0x1ac,0xff,0x366)][_0x1d706f(_0x22f8e2._0x38a543,_0x22f8e2._0x4c6936,0x11,_0x22f8e2._0x3fab97)]();function _0x671fb2(_0x13322c,_0x3a77d,_0x4b19f3,_0xaf2f22){return _0x1f0bf6(_0x3a77d-_0x1301bc._0x414ef5,_0xaf2f22,_0x4b19f3-_0x1301bc._0x4e09dd,_0xaf2f22-_0x1301bc._0x1fe824);}this[_0x671fb2(_0x22f8e2._0x56cd46,0x58e,_0x22f8e2._0x1ab488,_0x22f8e2._0x41fa2a)][_0x671fb2(0x3ab,_0x22f8e2._0x6ddf3,0x273,_0x22f8e2._0x299672)]();for(const _0x36ba02 of _0x3e232a){const _0x353361=toExposedName(_0x36ba02[_0x671fb2(0x5cf,_0x22f8e2._0x513557,_0x22f8e2._0x34e027,0x8c0)],this['prefix']);this['map'][_0x1d706f(-_0x22f8e2._0x503244,_0x22f8e2._0x414151,_0x22f8e2._0x50f3d8,-0x15c)](_0x353361,_0x36ba02[_0x671fb2(_0x22f8e2._0x1967f5,_0x22f8e2._0x513557,_0x22f8e2._0x5171ef,0x86b)]),this['toolSchemas']['set'](_0x36ba02[_0x1d706f(0x363,_0x22f8e2._0x2b3870,0x2e2,_0x22f8e2._0x1fa307)],_0x36ba02);if(_0x36ba02[_0x671fb2(0x6c0,_0x22f8e2._0x1eae00,_0x22f8e2._0x4c8e68,0x5ae)])try{const _0x22fcbf=jsonSchemaToZod(_0x36ba02[_0x1d706f(_0x22f8e2._0x33877e,0x2d6,0x3e0,0x17f)]);this['zodSchemas'][_0x671fb2(0x2d7,_0x22f8e2._0x1ab488,0x4c6,_0x22f8e2._0x3bcdba)](_0x353361,_0x22fcbf);}catch(_0x26c826){console[_0x671fb2(0x4e4,0x5cf,0x4fd,_0x22f8e2._0xf09206)](_0x1d706f(0x1d5,_0x22f8e2._0x5e00d4,0x237,_0x22f8e2._0x3e5c56)+_0x36ba02[_0x1d706f(_0x22f8e2._0x470e65,_0x22f8e2._0x2c258c,_0x22f8e2._0x1e811e,0x5b1)]+':',_0x26c826);}}}[_0x577062(-0x1c6,0xf,-0x1b0,-0xa6)](){const _0xa8a6b0={_0x2fcd39:0x394,_0x4892a4:0x4f6,_0x4416af:0x588,_0x368878:0x9a},_0x5f4c04={_0x71a9d7:0x8d},_0x259c78={_0x8032a0:0x21,_0x468472:0x49};function _0x1e8fa9(_0x538205,_0x108870,_0x2207cb,_0x386071){return _0x577062(_0x538205-_0x259c78._0x8032a0,_0x386071,_0x2207cb-_0x259c78._0x468472,_0x108870-0x4f1);}function _0x2d9578(_0x1167d,_0x1ec35c,_0x43f008,_0x7353af){return _0x577062(_0x1167d-_0x5f4c04._0x71a9d7,_0x43f008,_0x43f008-0x34,_0x1167d-0x121);}return Array['from'](this[_0x1e8fa9(_0xa8a6b0._0x2fcd39,_0xa8a6b0._0x4892a4,_0xa8a6b0._0x4416af,0x2b9)][_0x2d9578(0xa7,0x78,0x1c4,-_0xa8a6b0._0x368878)]());}[_0x1f0bf6(0x1e4,0x16,0xdf,0x2dc)](_0x28a4e0){const _0x1fcd04={_0x5c1cee:0x17e,_0x16a3eb:0x2ca,_0x5053fd:0x3b,_0x223a84:0x173,_0x303663:0xbf,_0x5c8c94:0x6b,_0x12df42:0x10e,_0x31caf4:0x8d,_0x5a036f:0x137,_0x54d6e7:0x39,_0x122ca4:0x9e,_0x241db5:0x71,_0x3fca59:0x4,_0x2d2f84:0x113},_0xe97db1={_0x23c1b8:0x236,_0x1bfafe:0x101},_0x1766f5={_0xd0fa6c:0x12b},_0xda8421=new Set(_0x28a4e0);function _0x26d40b(_0x5e5755,_0x5d9bf7,_0x30742f,_0x31b4fa){return _0x577062(_0x5e5755-0x92,_0x31b4fa,_0x30742f-0x11f,_0x5d9bf7-_0x1766f5._0xd0fa6c);}const _0x104d6a=[];function _0xfce35b(_0x35de63,_0x2c08b7,_0x424fcf,_0x2c4af1){return _0x1f0bf6(_0x424fcf- -_0xe97db1._0x23c1b8,_0x2c08b7,_0x424fcf-0x100,_0x2c4af1-_0xe97db1._0x1bfafe);}for(const [_0x15d1c0,_0x7bafb0]of this[_0xfce35b(0x352,0x193,_0x1fcd04._0x5c1cee,_0x1fcd04._0x16a3eb)][_0x26d40b(0x286,_0x1fcd04._0x5053fd,-0x55,_0x1fcd04._0x223a84)]()){if(!_0xda8421['has'](_0x15d1c0))continue;const _0x22ff5c=this[_0x26d40b(_0x1fcd04._0x303663,_0x1fcd04._0x5c8c94,-0xca,0x100)][_0xfce35b(-_0x1fcd04._0x223a84,_0x1fcd04._0x12df42,-_0x1fcd04._0x31caf4,_0x1fcd04._0x5a036f)](_0x7bafb0);if(!_0x22ff5c)continue;_0x104d6a['push']({'type':_0x26d40b(0x24d,_0x1fcd04._0x54d6e7,-0x1a2,-0x14a),'function':{'name':_0x15d1c0,'description':_0x26d40b(0xc6,0x18f,-0x74,_0x1fcd04._0x122ca4)+(_0x22ff5c['description']||_0x7bafb0),'parameters':_0x22ff5c['inputSchema']??{'type':_0xfce35b(0x208,-_0x1fcd04._0x241db5,-_0x1fcd04._0x3fca59,-_0x1fcd04._0x2d2f84),'properties':{},'required':[]}}});}return _0x104d6a;}async[_0x577062(0x1d1,0x3bc,0x7e,0x16a)](_0x27a5ea,_0x1c79ce,_0xb137ce=0x3,_0x103c3f){const _0x3e5b0c={_0x3f41c3:0x26e,_0x5c6860:0x16a,_0x112232:0x803,_0x457109:0x228,_0x58f803:0x7f,_0x366810:0x2f7,_0x305c0c:0x2c7,_0x58a1d5:0x24c,_0x52fee6:0x738,_0x2a7af9:0x6c,_0x9b61d9:0x350},_0x4c5c5f={_0xd05cfd:0x752,_0x2bcbfc:0x758,_0x20a141:0x56e,_0x20d22b:0x398,_0x17fcd5:0x36b,_0x2b2a1d:0x614,_0x4bf5ce:0x798,_0x52687e:0x7ea,_0x5dc4d9:0x766,_0x305f82:0x673,_0xffd526:0x568,_0x3793ae:0x485,_0x37568c:0x3c8,_0x51f4b9:0x755,_0x2d4c75:0x937,_0x2292f8:0x4c5,_0x2c0f48:0x3f4,_0x731565:0x5bc,_0x9b89ec:0x207,_0x5b0568:0x389,_0x1b8dcd:0x509,_0x527467:0x429,_0x2ea8fa:0x21d,_0x344827:0x2bc,_0x5228c4:0x20b,_0x446710:0x853,_0x351e31:0x902,_0x377e54:0x36b,_0x122202:0x441,_0x2e25b5:0x1d3,_0x2171b6:0x251,_0x5cee19:0x78a,_0x4a4140:0x768,_0x354f53:0x321,_0x39f42d:0x1c2,_0x375428:0x5a0,_0xc001bb:0x330,_0x101c75:0x496,_0x357972:0x5b1,_0x3ef1b1:0x72f,_0x20d253:0x9d,_0x397a8a:0x114,_0x990d7b:0x37,_0x401e3b:0x5b8,_0x5000d6:0x553,_0x4b7193:0x590,_0x5b6807:0x572,_0x5d8715:0x556,_0x1035c2:0x38f,_0x52d73b:0x5e3,_0x87e492:0x4e6,_0x34c25f:0x5a2,_0x41bbfc:0x389,_0x8ffb4:0x5e2,_0x9c99e5:0x168,_0x287263:0x132,_0x4c9fb0:0x2c1,_0x3a171a:0x4fa,_0x531d4c:0x5ed,_0x1dbe5c:0x5d4,_0x2a37f3:0x354,_0x3cee9b:0x6f5,_0x578bd3:0x4c5,_0x505f44:0x444,_0x3bf598:0x286,_0x55ff20:0x123,_0x108dc7:0x2af,_0x256da1:0x534,_0x5e8a35:0x613,_0x461caf:0x8c0,_0x30f21b:0x58a,_0x2ff9b8:0x2c2,_0x38be1a:0x35f,_0x197104:0x326,_0x214232:0x6d1,_0x4002af:0x5cb,_0x2d5009:0x544,_0x396e53:0x602,_0x4ce14d:0x3cb},_0x2cf4c9={_0x1088b5:0xe6},_0x13b3e5={_0x2df681:0xa9,_0x22e6b9:0x1f8},_0x3a8a6a=[];function _0x5c96f0(_0x2c68ac,_0x18a59b,_0x5b7d9f,_0x5e7bbb){return _0x577062(_0x2c68ac-0x16c,_0x2c68ac,_0x5b7d9f-_0x13b3e5._0x2df681,_0x18a59b-_0x13b3e5._0x22e6b9);}const _0x5e340b=[];function _0x1e0e1e(_0x11f24c,_0x2304d2,_0x116a40,_0x3fb12a){return _0x577062(_0x11f24c-0x37,_0x2304d2,_0x116a40-_0x2cf4c9._0x1088b5,_0x11f24c-0x500);}for(let _0x1474d8=0x0;_0x1474d8<_0x27a5ea['length'];_0x1474d8+=_0xb137ce)_0x5e340b[_0x1e0e1e(_0x3e5b0c._0x3f41c3,_0x3e5b0c._0x5c6860,0x1f1,0x3f1)](_0x27a5ea['slice'](_0x1474d8,_0x1474d8+_0xb137ce));for(const _0x58b63d of _0x5e340b){if(_0x103c3f?.['aborted']){for(const _0x33a22b of _0x58b63d){_0x3a8a6a[_0x1e0e1e(0x26e,0xee,0x236,0x318)]({'id':_0x33a22b['id'],'name':_0x33a22b[_0x1e0e1e(0x5fd,0x750,_0x3e5b0c._0x112232,0x70f)],'status':'error','type':'text','result':_0x5c96f0(_0x3e5b0c._0x457109,0x18c,0x88,_0x3e5b0c._0x58f803)});}continue;}const _0xf0f911=await Promise[_0x5c96f0(_0x3e5b0c._0x366810,_0x3e5b0c._0x305c0c,0x32a,_0x3e5b0c._0x58a1d5)](_0x58b63d[_0x1e0e1e(0x505,0x6f2,0x63a,_0x3e5b0c._0x52fee6)](async _0x198bcf=>{const _0x2016b7={_0x2b2038:0x98},_0x189199={_0x16b964:0xf2};function _0x1b86f8(_0x1d325f,_0xe1596d,_0x434be0,_0x1c536d){return _0x1e0e1e(_0xe1596d- -0x138,_0x1c536d,_0x434be0-0x127,_0x1c536d-_0x189199._0x16b964);}function _0x23694f(_0x1bcf8a,_0x4f4546,_0xbf6d4a,_0x5a3064){return _0x1e0e1e(_0x1bcf8a-0xb3,_0x4f4546,_0xbf6d4a-0x105,_0x5a3064-_0x2016b7._0x2b2038);}if(_0x103c3f?.[_0x23694f(_0x4c5c5f._0xd05cfd,_0x4c5c5f._0x2bcbfc,0x536,0x57d)])return{'id':_0x198bcf['id'],'name':_0x198bcf[_0x23694f(0x6b0,0x60b,0x7cf,_0x4c5c5f._0x20a141)],'status':_0x1b86f8(0x36e,0x544,0x6ed,_0x4c5c5f._0x20d22b),'type':_0x1b86f8(0x417,_0x4c5c5f._0x17fcd5,0x4e5,0x213),'result':'Tool\x20execution\x20aborted\x20by\x20user'};if(_0x198bcf[_0x23694f(_0x4c5c5f._0x2b2a1d,_0x4c5c5f._0x4bf5ce,_0x4c5c5f._0x52687e,0x5da)]){const _0x7f0916=_0x198bcf[_0x23694f(0x614,_0x4c5c5f._0x5dc4d9,0x681,_0x4c5c5f._0x305f82)]+_0x23694f(0x4b7,0x613,_0x4c5c5f._0xffd526,0x653);return{'id':_0x198bcf['id'],'name':_0x198bcf[_0x1b86f8(0x717,0x4c5,_0x4c5c5f._0x3793ae,_0x4c5c5f._0x37568c)],'status':_0x23694f(0x72f,_0x4c5c5f._0x51f4b9,_0x4c5c5f._0x2d4c75,0x4fa),'type':_0x1b86f8(_0x4c5c5f._0x2292f8,0x36b,_0x4c5c5f._0x2c0f48,_0x4c5c5f._0x731565),'result':_0x7f0916,'metadata':{'errorReason':_0x1b86f8(0x101,_0x4c5c5f._0x9b89ec,0x206,_0x4c5c5f._0x5b0568),'editInstruction':_0x198bcf[_0x1b86f8(_0x4c5c5f._0x1b8dcd,_0x4c5c5f._0x527467,_0x4c5c5f._0x2ea8fa,_0x4c5c5f._0x344827)]},'durationMs':0x0};}const _0x27281f=this[_0x1b86f8(0x481,0x3cd,0x479,_0x4c5c5f._0x5228c4)]['get'](_0x198bcf[_0x23694f(0x6b0,0x699,_0x4c5c5f._0x446710,_0x4c5c5f._0x351e31)]);if(!_0x27281f)return{'id':_0x198bcf['id'],'name':_0x198bcf['name'],'status':'error','type':_0x1b86f8(0x3dc,_0x4c5c5f._0x377e54,0x299,_0x4c5c5f._0x122202),'result':_0x1b86f8(0x4e4,0x2c8,_0x4c5c5f._0x2e25b5,_0x4c5c5f._0x2171b6)+_0x198bcf[_0x23694f(0x6b0,0x67a,0x69a,0x54c)]};const _0xcb8a62=this[_0x23694f(0x587,_0x4c5c5f._0x5cee19,_0x4c5c5f._0x4a4140,0x78d)][_0x1b86f8(_0x4c5c5f._0x354f53,_0x4c5c5f._0x39f42d,0x105,0x412)](_0x198bcf[_0x1b86f8(0x3fc,_0x4c5c5f._0x2292f8,0x5d4,_0x4c5c5f._0x375428)]);if(_0xcb8a62){const _0x43c87f=_0xcb8a62,_0x5c0f2e=_0x43c87f[_0x23694f(0x5ec,0x60f,0x5a4,0x81a)](_0x198bcf[_0x1b86f8(0x8e,0x2c1,_0x4c5c5f._0xc001bb,_0x4c5c5f._0x101c75)]||{});if(!_0x5c0f2e[_0x23694f(0x672,0x63d,_0x4c5c5f._0x357972,0x4bb)]){const _0x2fb3c2=_0x5c0f2e[_0x23694f(_0x4c5c5f._0x3ef1b1,0x81e,0x54b,0x56c)][_0x1b86f8(_0x4c5c5f._0x20d253,_0x4c5c5f._0x397a8a,_0x4c5c5f._0x990d7b,0x1ab)][_0x23694f(_0x4c5c5f._0x401e3b,0x512,0x5d3,_0x4c5c5f._0x5000d6)](_0xc9eebd=>_0xc9eebd['path'][_0x1b86f8(0x4ea,0x3b7,0x3f0,0x4cc)]('.')+':\x20'+_0xc9eebd[_0x1b86f8(0xdb,0x189,0x370,-0x2e)]);return{'id':_0x198bcf['id'],'name':_0x198bcf[_0x23694f(0x6b0,0x891,_0x4c5c5f._0x4b7193,_0x4c5c5f._0x5b6807)],'status':'error','type':_0x23694f(_0x4c5c5f._0x5d8715,_0x4c5c5f._0x1035c2,_0x4c5c5f._0x52d73b,_0x4c5c5f._0x87e492),'result':'Parameter\x20validation\x20failed:\x20'+_0x2fb3c2[_0x23694f(_0x4c5c5f._0x34c25f,_0x4c5c5f._0x41bbfc,0x479,_0x4c5c5f._0x8ffb4)](';\x20'),'metadata':{'errorReason':_0x23694f(0x4b4,0x57f,0x6b3,0x2e0)},'durationMs':0x0};}}try{const _0x5b3d6c=await this['client'][_0x1b86f8(-0x63,_0x4c5c5f._0x9c99e5,_0x4c5c5f._0x287263,0xcc)]({'name':_0x27281f,'arguments':_0x198bcf[_0x1b86f8(0x492,_0x4c5c5f._0x4c9fb0,_0x4c5c5f._0x3a171a,0x4ef)]||{}}),_0x2dd7d7=flattenMcpContent(_0x5b3d6c[_0x23694f(_0x4c5c5f._0x531d4c,0x3b8,_0x4c5c5f._0x1dbe5c,0x747)]);return _0x2dd7d7[_0x23694f(0x702,0x89a,0x77b,0x725)]===_0x1b86f8(0x1c2,_0x4c5c5f._0x377e54,0x30b,_0x4c5c5f._0x2a37f3)?{'id':_0x198bcf['id'],'name':_0x198bcf[_0x1b86f8(_0x4c5c5f._0x3cee9b,_0x4c5c5f._0x578bd3,_0x4c5c5f._0x505f44,_0x4c5c5f._0x3bf598)],'status':'success','type':_0x1b86f8(_0x4c5c5f._0x55ff20,0x36b,0x241,_0x4c5c5f._0x108dc7),'result':_0x2dd7d7[_0x23694f(0x396,0x2c0,0x1fb,_0x4c5c5f._0x256da1)]}:{'id':_0x198bcf['id'],'name':_0x198bcf['name'],'status':_0x23694f(0x672,0x77d,_0x4c5c5f._0x5e8a35,_0x4c5c5f._0x461caf),'type':'json','result':_0x2dd7d7[_0x23694f(0x396,_0x4c5c5f._0x30f21b,_0x4c5c5f._0x2ff9b8,0x466)]};}catch(_0x1e80ca){const _0x4e31f6=_0x1e80ca instanceof Error?_0x1e80ca[_0x1b86f8(0x2ca,0x189,_0x4c5c5f._0x38be1a,_0x4c5c5f._0x197104)]:String(_0x1e80ca);return{'id':_0x198bcf['id'],'name':_0x198bcf[_0x23694f(0x6b0,0x6a4,_0x4c5c5f._0x214232,_0x4c5c5f._0x4002af)],'status':_0x1b86f8(0x42c,_0x4c5c5f._0x2d5009,_0x4c5c5f._0x396e53,_0x4c5c5f._0x4ce14d),'type':'text','result':_0x4e31f6};}}));_0x3a8a6a[_0x1e0e1e(0x26e,0x2e,_0x3e5b0c._0x2a7af9,_0x3e5b0c._0x9b61d9)](..._0xf0f911);}return _0x3a8a6a;}};export{AGENT_CREATOR_SYSTEM_PROMPT,AbortError,AgentEventTypes,AgentFilePersistence,AgentManager,AgentManagerCommandRunner,AgentOrchestrator,AgentRegistry,AnthropicAISDKLLM,BashTool,CommandFilePersistence,CompositeToolPort,ConversationContext,ConversationStore,CoreMCPClient,DEFAULT_RETRY_CONFIG,DefaultAgentStateManager,DefaultDelegationService,DefaultSpecialistAgentFactory,DelegationServiceFactory,ErrorReason,GithubLLM,InMemoryMemory,InMemoryMetadata,InMemoryMetricsPort,JsonFileMemoryPersistence,LLMError,LLMResolver,MCPToolPort,MemoryPortMetadataAdapter,MultiFileMemoryPersistence,NoopMetricsPort,NoopReminders,PersistedMemory,PersistingConsoleEventPort,RetryTransport,RuntimeEnv,SimpleContextBuilder,SimpleCost,SimpleId,SystemClock,ToolRegistry,assignTaskSchema,bashToolSchema,buildAgentCreationPrompt,buildInjectedSystem,canonicalizeTerminalPaste,convertToolCall,convertToolCalls,convertToolCallsWithErrorHandling,createEmptySnapshot,createLLM,deduplicateModels,err,fileEditSchema,fileNewSchema,fileReadSchema,generateFolderTree,getAvailableProviders,getFallbackLimits,getProviderAuthMethods,getProviderDefaultModels,getProviderLabel,globToolSchema,grepToolSchema,isAssignResult,isAssignSuccess,isAssignTaskArgs,isBashResult,isBashSuccess,isBashToolArgs,isError,isFileEditArgs,isFileEditResult,isFileEditSuccess,isFileNewArgs,isFileNewResult,isFileNewSuccess,isFileReadArgs,isFileReadResult,isFileReadSuccess,isGlobArgs,isGlobResult,isGlobSuccess,isGrepArgs,isGrepResult,isGrepSuccess,isJsonResult,isLsArgs,isLsToolResult,isLsToolSuccess,isRetryableError,isRetryableStatusCode,isSuccess,isSuccessJson,isSuccessText,isTextResult,isTodoWriteArgs,isTodoWriteResult,isTodoWriteSuccess,isValidCommandId,isWebFetchArgs,isWebFetchResult,isWebFetchSuccess,isWebSearchArgs,isWebSearchResult,isWebSearchSuccess,lsToolSchema,normalizeModelInfo,normalizeModelLimits,normalizeNewlines,okJson,okText,parseJSON,parseSubAgentToolCallArguments,parseToolArguments,renderTemplate,resolveBackspaces,resolveCarriageReturns,sanitizeCommandId,stripAnsiAndControls,supportsGetModels,todoWriteSchema,toolSchemas,toolValidators,validateToolParams,webFetchSchema,webSearchSchema};
1
+ (function(_0x45cc24,_0x1d9657){const _0x2f6178={_0x55ebd3:0x3bd,_0xa85aae:0x5ce,_0x3168f7:0x309,_0x5bc021:0x2f,_0x4e5e81:0x7ae,_0x2813a7:0x74c,_0x5904c5:0x835,_0x4ec531:0x474,_0x4be3cb:0x2e9,_0x1f19d4:0x610,_0x4380c8:0x212,_0x25a002:0x215,_0xc12e01:0x384,_0x41deb1:0x16d,_0x2b5c3b:0x40d,_0x4f9c40:0x2b6,_0x43e42c:0x500,_0x101f19:0x705,_0x189c84:0x632};function _0x5c77d6(_0x3a340b,_0x1d19d7,_0x4a56b8,_0x1438f6){return _0xb207(_0x1d19d7-0x1b,_0x3a340b);}const _0x3ee23b=_0x45cc24();function _0xaac044(_0x3ee38a,_0x55779c,_0x265d28,_0x5ed295){return _0xb207(_0x265d28-0x32b,_0x3ee38a);}while(!![]){try{const _0x5db694=parseInt(_0x5c77d6(_0x2f6178._0x55ebd3,0x1ba,0x361,0x257))/0x1+-parseInt(_0xaac044(_0x2f6178._0xa85aae,0x57f,0x4be,_0x2f6178._0x3168f7))/0x2*(parseInt(_0x5c77d6(-0x141,0xf2,-_0x2f6178._0x5bc021,0x2fe))/0x3)+parseInt(_0xaac044(_0x2f6178._0x4e5e81,_0x2f6178._0x2813a7,_0x2f6178._0x5904c5,0x5ec))/0x4*(parseInt(_0xaac044(0x358,0x27a,_0x2f6178._0x4ec531,0x428))/0x5)+parseInt(_0x5c77d6(0xce,0x17f,0x384,0x22e))/0x6+parseInt(_0x5c77d6(0x286,0x4bf,_0x2f6178._0x4be3cb,0x293))/0x7*(-parseInt(_0x5c77d6(0x57a,0x4be,0x571,_0x2f6178._0x1f19d4))/0x8)+-parseInt(_0x5c77d6(0x299,_0x2f6178._0x4380c8,0x73,_0x2f6178._0x25a002))/0x9*(-parseInt(_0x5c77d6(0x366,_0x2f6178._0xc12e01,_0x2f6178._0x41deb1,_0x2f6178._0x2b5c3b))/0xa)+-parseInt(_0x5c77d6(_0x2f6178._0x4f9c40,_0x2f6178._0x43e42c,_0x2f6178._0x101f19,_0x2f6178._0x189c84))/0xb;if(_0x5db694===_0x1d9657)break;else _0x3ee23b['push'](_0x3ee23b['shift']());}catch(_0x2ff26e){_0x3ee23b['push'](_0x3ee23b['shift']());}}}(_0x2797,0xe42f6));var ErrorReason=(_0x1c13d0=>{const _0x408e52={_0x4c7c0e:0x4f9,_0x2cdab6:0x238,_0x260c5d:0x50c,_0x1d50c0:0x390,_0xd33761:0x3b7,_0x582025:0x323,_0x2ee400:0x247,_0x31bf33:0x475,_0x4b02dc:0x5c4,_0xb4d587:0x64b,_0x3a89e9:0x6cf,_0xb90c2c:0x75e,_0x3eee90:0x983,_0x52b8e1:0x77f,_0x11f001:0x3f9,_0x4cfaa8:0x424,_0x54a9fb:0x2b8,_0x398122:0x33a,_0x2d2719:0x181,_0x515f0f:0x118,_0x599248:0x4be,_0x2edbd8:0x276,_0x7721ab:0x407,_0x3331e7:0x5a2,_0x32975b:0x704,_0x28fc33:0x661,_0xfa468d:0x5cb,_0x1f3363:0x435,_0x30685e:0x666,_0x459d64:0x339,_0x4e371a:0x330,_0x351ecd:0x51b,_0x3ae9a4:0x22b,_0x22a29e:0x3aa,_0x5e022b:0x244,_0x2022ec:0x5e1,_0x1c6270:0x750,_0x48f638:0x5f3},_0x12cf5a={_0x7b85c6:0x336};_0x1c13d0[_0x14b91f(0x598,0x2f3,_0x408e52._0x4c7c0e,0x51c)]=_0x535149(_0x408e52._0x2cdab6,0x305,_0x408e52._0x260c5d,_0x408e52._0x1d50c0),_0x1c13d0['Denied']=_0x535149(0x31c,0x408,_0x408e52._0xd33761,0x4ae),_0x1c13d0[_0x535149(_0x408e52._0x582025,_0x408e52._0x2ee400,_0x408e52._0x31bf33,0x15a)]='edited',_0x1c13d0[_0x14b91f(_0x408e52._0x4b02dc,_0x408e52._0xb4d587,_0x408e52._0x3a89e9,_0x408e52._0xb90c2c)]=_0x14b91f(_0x408e52._0x3eee90,0x69a,_0x408e52._0x52b8e1,0x794),_0x1c13d0[_0x14b91f(0x4ad,0x5b3,0x6fb,0x89a)]='not_found',_0x1c13d0[_0x535149(0x28b,_0x408e52._0x11f001,_0x408e52._0x4cfaa8,_0x408e52._0x54a9fb)]=_0x535149(0x4e3,_0x408e52._0x398122,_0x408e52._0x2d2719,_0x408e52._0x515f0f),_0x1c13d0['InvalidInput']='invalid_input',_0x1c13d0[_0x14b91f(_0x408e52._0x599248,_0x408e52._0x2edbd8,_0x408e52._0x7721ab,0x50b)]=_0x14b91f(_0x408e52._0x3331e7,0x75d,_0x408e52._0x32975b,_0x408e52._0x28fc33);function _0x535149(_0x4ddaed,_0x3ccc7f,_0x506d2b,_0x2a2b87){return _0xb207(_0x3ccc7f-0xb0,_0x2a2b87);}_0x1c13d0['RateLimit']=_0x14b91f(0x244,_0x408e52._0xfa468d,_0x408e52._0x1f3363,_0x408e52._0x30685e);function _0x14b91f(_0x11622f,_0x140722,_0x343559,_0x2f35e0){return _0xb207(_0x343559-_0x12cf5a._0x7b85c6,_0x140722);}return _0x1c13d0[_0x535149(_0x408e52._0x459d64,_0x408e52._0x4e371a,_0x408e52._0x351ecd,_0x408e52._0x3ae9a4)]='tool_not_found',_0x1c13d0[_0x535149(0x5e8,_0x408e52._0x22a29e,_0x408e52._0x5e022b,_0x408e52._0x2022ec)]=_0x14b91f(0x56f,0x90c,_0x408e52._0x1c6270,0x74d),_0x1c13d0['Unknown']=_0x535149(0x4b6,_0x408e52._0x48f638,0x41a,0x40a),_0x1c13d0;})(ErrorReason||{}),MessageRoles={'System':'system','User':'user','Assistant':_0x3a64dd(0x823,0x45c,0x5fb,0x4a1),'Tool':_0x55e1bc(0x742,0x95d,0x6a7,0x795)},AgentEventTypes={'MessageStarted':_0x55e1bc(0x785,0x85e,0x6eb,0x88f),'ToolCalls':_0x55e1bc(0x620,0x78c,0x624,0x77f),'ToolApprovalRequired':_0x55e1bc(0x8b7,0x641,0x7cc,0x7b8),'ToolApprovalResponse':'tool_approval_response','ToolResult':_0x3a64dd(0x656,0x6c9,0x6bf,0x4c4),'ReasoningChunk':_0x3a64dd(0x6b9,0x791,0x572,0x3c0),'AssistantChunk':'assistant_chunk','AssistantMessage':_0x3a64dd(0x441,0x40c,0x50a,0x468),'StreamFinish':_0x3a64dd(0x77f,0x531,0x58b,0x642),'Done':'done','Error':_0x3a64dd(0x79b,0x466,0x5d6,0x689),'MCPStderr':'mcp_stderr','SubAgentStarted':_0x3a64dd(0x78f,0x70e,0x721,0x8ce),'SubAgentToolCall':'sub_agent_tool_call','SubAgentToolResult':'sub_agent_tool_result','SubAgentCompleted':_0x3a64dd(0x348,0x773,0x547,0x57c),'SubAgentMetrics':_0x55e1bc(0x5a0,0x66c,0x7af,0x77a)},createEmptySnapshot=()=>({'totalTokens':0x0,'totalPromptTokens':0x0,'totalCompletionTokens':0x0,'totalCachedTokens':0x0,'totalReasoningTokens':0x0,'requestCount':0x0,'llmCallCount':0x0,'toolCallCount':0x0,'totalTimeMs':0x0,'totalCost':0x0,'currentTokens':0x0,'currentPromptTokens':0x0,'currentCompletionTokens':0x0,'currentCachedTokens':0x0,'currentCost':0x0}),NoopMetricsPort=class{[_0x3a64dd(0x3d5,0x192,0x3ba,0x491)](_0x2e523f,_0x318e3c){}[_0x3a64dd(0x2bf,0x4c1,0x44b,0x61f)](){}[_0x55e1bc(0x60c,0x522,0x3a3,0x55d)](_0x4a19a0){}['setContextWindow'](_0x25a9c5,_0x55acfe){}[_0x55e1bc(0x591,0x7ec,0x53b,0x736)](){}[_0x3a64dd(0x57b,0x471,0x498,0x308)](){return createEmptySnapshot();}},InMemoryMetricsPort=class{[_0x3a64dd(0x2c8,0x43b,0x48c,0x623)]=createEmptySnapshot();[_0x3a64dd(0x60f,0x559,0x7a6,0x7cc)];constructor(_0xec8e92){this['onChange']=_0xec8e92;}[_0x55e1bc(0x761,0x4df,0x3c5,0x545)](){const _0x32f7d2={_0x4a32d5:0x29b},_0x10ecc4={_0x4804d8:0x119,_0xb9aef8:0xb2,_0x15639c:0x4bb};function _0x51f441(_0x34bdd6,_0x5ecc2d,_0x3f12d8,_0x3c7d09){return _0x55e1bc(_0x34bdd6,_0x5ecc2d-_0x10ecc4._0x4804d8,_0x3f12d8-_0x10ecc4._0xb9aef8,_0x3f12d8- -_0x10ecc4._0x15639c);}this['onChange']?.({...this[_0x51f441(_0x32f7d2._0x4a32d5,0x121,0x10d,0x2b5)]});}['recordLLMCall'](_0x1d2a45,_0x4ab768){const _0x284e61={_0x564d69:0x64d,_0x1ee945:0x670,_0x477c75:0xb8,_0x593209:0x29c,_0x1b68a8:0xb9,_0x3a9756:0x7be,_0x4b976f:0x7fb,_0x5f2958:0x812,_0x2c545b:0x380,_0x292011:0x5bf,_0x27d4ec:0x1dd,_0x1bd854:0x1fe,_0x4354c1:0xc0,_0x3edd4f:0x462,_0x1d3b1d:0x355,_0xa46529:0x206,_0x329cf4:0x3a8,_0x151b2a:0x27c,_0x2a4841:0x79a,_0x1b3204:0x73a,_0x1dea83:0x6ef,_0x121ea5:0xc4,_0x355985:0x55d,_0x1eefe9:0x79c,_0x4f2907:0x3a2,_0x4adc21:0x4b1,_0x4ddbf8:0x4a1,_0xb48ded:0x3c4,_0x25631f:0x3a1,_0x3a9a22:0x18,_0x10c900:0x5bf,_0x302fa0:0x4fd,_0x478a5b:0x31c,_0x36d50f:0x648,_0x192f2c:0x57e,_0x5d1a8c:0x135,_0x164266:0x103,_0x70a521:0x124,_0x2cea29:0x2d5,_0x9be660:0x63f,_0x213d52:0x33c,_0x1e808f:0x21,_0x5cf357:0x28f,_0x1c6bd8:0x1c4,_0x41924d:0x64,_0x396cdf:0x54,_0x303174:0x146,_0x126a77:0x8eb,_0x53eaa9:0x1d5,_0x1c49f6:0x1c4,_0x513105:0x55c,_0xbe97ab:0x382,_0xd4e953:0x3d9,_0x398f53:0x3f,_0x29422f:0x1c4,_0x29303c:0x243,_0x3a3763:0x425,_0x495e4:0x4b1,_0x1fb220:0x4c2,_0x37cfbb:0x119,_0x1a934a:0x89},_0x172d06={_0x38aac5:0x11e,_0x3f183a:0x25,_0x1f67b0:0xfe},_0x33d450={_0x39fa6c:0x1da},_0x4c2cc5=_0x1d2a45[_0x4424d9(_0x284e61._0x564d69,_0x284e61._0x1ee945,0x745,0x51d)]??0x0,_0x12fb3d=_0x1d2a45[_0x226f91(_0x284e61._0x477c75,0x2b0,0x84,_0x284e61._0x593209)]??0x0,_0x8c5c6a=_0x1d2a45[_0x226f91(-0x100,_0x284e61._0x1b68a8,0x88,-0xe3)]??_0x4c2cc5+_0x12fb3d,_0x2c51d4=_0x1d2a45[_0x4424d9(_0x284e61._0x3a9756,_0x284e61._0x4b976f,_0x284e61._0x5f2958,0x988)]?.[_0x4424d9(_0x284e61._0x2c545b,_0x284e61._0x292011,0x153,_0x284e61._0x27d4ec)]??0x0,_0x14da9f=_0x1d2a45[_0x226f91(0x19c,_0x284e61._0x1bd854,0xbb,-_0x284e61._0x4354c1)]??_0x1d2a45[_0x226f91(_0x284e61._0x3edd4f,0x1fc,_0x284e61._0x1d3b1d,_0x284e61._0xa46529)]?.[_0x4424d9(_0x284e61._0x329cf4,0x29e,0x57d,_0x284e61._0x151b2a)]??0x0;function _0x226f91(_0x1650ca,_0x297b3f,_0x180ead,_0xb5b521){return _0x55e1bc(_0x297b3f,_0x297b3f-0x1a9,_0x180ead-_0x33d450._0x39fa6c,_0x180ead- -0x404);}const _0x534e35=_0x4ab768??_0x1d2a45[_0x4424d9(0x5f1,_0x284e61._0x2a4841,_0x284e61._0x1b3204,_0x284e61._0x1dea83)]??0x0;function _0x4424d9(_0x40ae90,_0x459740,_0x255452,_0x4ec584){return _0x3a64dd(_0x40ae90-_0x172d06._0x38aac5,_0x4ec584,_0x40ae90-_0x172d06._0x3f183a,_0x4ec584-_0x172d06._0x1f67b0);}this[_0x226f91(0x1d1,0x340,0x1c4,_0x284e61._0x121ea5)][_0x4424d9(_0x284e61._0x355985,0x747,0x5bc,_0x284e61._0x1eefe9)]+=_0x8c5c6a,this['snapshot'][_0x226f91(0x3e1,_0x284e61._0x4f2907,0x3af,0x3cc)]+=_0x4c2cc5,this[_0x4424d9(_0x284e61._0x4adc21,_0x284e61._0x4ddbf8,_0x284e61._0xb48ded,0x6b9)]['totalCompletionTokens']+=_0x12fb3d,this[_0x226f91(_0x284e61._0x25631f,-_0x284e61._0x3a9a22,0x1c4,0x7e)][_0x4424d9(0x602,0x4ea,0x530,0x587)]+=_0x2c51d4,this[_0x4424d9(0x4b1,0x66b,_0x284e61._0x10c900,_0x284e61._0x302fa0)][_0x226f91(0x376,0x590,0x4c4,_0x284e61._0x478a5b)]+=_0x14da9f,this[_0x4424d9(0x4b1,0x61e,0x283,0x32f)]['totalCost']+=_0x534e35,this[_0x4424d9(0x4b1,0x507,_0x284e61._0x36d50f,_0x284e61._0x192f2c)][_0x226f91(0x17,_0x284e61._0x5d1a8c,_0x284e61._0x164266,_0x284e61._0x70a521)]+=0x1,this[_0x4424d9(0x4b1,_0x284e61._0x2cea29,_0x284e61._0x9be660,0x5f7)][_0x226f91(_0x284e61._0x213d52,0x201,0x18c,_0x284e61._0x1e808f)]=_0x8c5c6a,this['snapshot']['currentPromptTokens']=_0x4c2cc5,this[_0x226f91(_0x284e61._0x5cf357,-0x25,_0x284e61._0x1c6bd8,_0x284e61._0x41924d)]['currentCompletionTokens']=_0x12fb3d,this[_0x226f91(0x139,_0x284e61._0x396cdf,0x1c4,_0x284e61._0x303174)][_0x4424d9(0x7b5,0x9b7,0x6cd,_0x284e61._0x126a77)]=_0x2c51d4,this['snapshot']['currentCost']=_0x534e35,this[_0x226f91(_0x284e61._0x53eaa9,0x161,_0x284e61._0x1c49f6,-0x8c)][_0x226f91(_0x284e61._0x513105,0x547,_0x284e61._0xbe97ab,_0x284e61._0xd4e953)]&&_0x4c2cc5>0x0&&(this[_0x226f91(0x0,-_0x284e61._0x398f53,_0x284e61._0x29422f,_0x284e61._0x29303c)][_0x226f91(0x3a2,0x3e5,_0x284e61._0x3a3763,0x2bd)]=_0x4c2cc5/this[_0x4424d9(_0x284e61._0x495e4,0x3d1,0x293,_0x284e61._0x1fb220)][_0x4424d9(0x66f,0x88c,0x73b,0x66c)]),this[_0x226f91(_0x284e61._0x37cfbb,-_0x284e61._0x1a934a,0x141,0x4f)]();}[_0x55e1bc(0x39c,0x3a1,0x4bc,0x587)](){const _0x12756f={_0x2b56e8:0x6e,_0x1ed77f:0x1f4,_0x6ae9ca:0x177,_0x2143aa:0x7e},_0x3f602b={_0x388bfc:0x75};function _0x500e69(_0x110dad,_0x48fc52,_0x5c4a0a,_0x2bd12d){return _0x3a64dd(_0x110dad-_0x3f602b._0x388bfc,_0x110dad,_0x5c4a0a- -0x267,_0x2bd12d-0x191);}this['snapshot'][_0x500e69(_0x12756f._0x2b56e8,_0x12756f._0x1ed77f,_0x12756f._0x6ae9ca,-_0x12756f._0x2143aa)]+=0x1,this['emit']();}[_0x3a64dd(0x5dd,0x28d,0x421,0x1f6)](_0x5b7518){const _0xe3c7bf={_0x43abfe:0x76e,_0x1c7cd7:0x530,_0x5e6f52:0x7e7,_0xcc9512:0x5f5,_0x5a3f5c:0x1c4,_0x5f5236:0x2ae,_0x2308b4:0x939,_0x41e4b4:0x35,_0x22ee12:0x8f},_0xc00227={_0xd9392f:0x148,_0x189e82:0x2e},_0x569aa4={_0x17706f:0x15e,_0x28d7b1:0x404};function _0x25836f(_0x57dc18,_0x24a62e,_0x9d85a,_0x2d0dbd){return _0x55e1bc(_0x9d85a,_0x24a62e-0x25,_0x9d85a-_0x569aa4._0x17706f,_0x24a62e- -_0x569aa4._0x28d7b1);}this[_0x25836f(0x97,0x1c4,0x0,0x2c2)][_0x65cd86(_0xe3c7bf._0x43abfe,_0xe3c7bf._0x1c7cd7,_0xe3c7bf._0x5e6f52,_0xe3c7bf._0xcc9512)]+=0x1,this[_0x25836f(0x84,_0xe3c7bf._0x5a3f5c,0x244,_0xe3c7bf._0x5f5236)][_0x65cd86(0x714,0x5ce,_0xe3c7bf._0x2308b4,0x5ac)]+=_0x5b7518;function _0x65cd86(_0x4e454f,_0x5f1919,_0x53422a,_0x494c45){return _0x55e1bc(_0x53422a,_0x5f1919-_0xc00227._0xd9392f,_0x53422a-0x1eb,_0x4e454f- -_0xc00227._0x189e82);}this[_0x25836f(_0xe3c7bf._0x41e4b4,0x141,-_0xe3c7bf._0x22ee12,0xd1)]();}['setContextWindow'](_0x1ed8ac,_0xda1f28){const _0x32d8af={_0x2861eb:0x2b9,_0x103264:0x2d1,_0x3e9fc9:0x26,_0x85b7f3:0x29e,_0x33f52f:0x1c1,_0x1b5127:0x4a5},_0x163723={_0x2769ae:0x185},_0x179c16={_0x586b7c:0x5a,_0x4a57bb:0x1a6};this['snapshot'][_0x1b56d6(0x1ab,0x1b7,_0x32d8af._0x2861eb,_0x32d8af._0x103264)]=_0x1ed8ac;function _0x1b56d6(_0x52e93b,_0x4bd1a2,_0x37f686,_0x121f02){return _0x3a64dd(_0x52e93b-_0x179c16._0x586b7c,_0x52e93b,_0x37f686- -0x391,_0x121f02-_0x179c16._0x4a57bb);}this[_0x1b56d6(_0x32d8af._0x3e9fc9,_0x32d8af._0x85b7f3,0xfb,0x1f2)][_0x1b56d6(_0x32d8af._0x33f52f,_0x32d8af._0x1b5127,0x35c,0x5a1)]=_0xda1f28;function _0x2c059c(_0x3816c2,_0x33c4d0,_0x3470e1,_0x2344dd){return _0x55e1bc(_0x3816c2,_0x33c4d0-_0x163723._0x2769ae,_0x3470e1-0x1c5,_0x3470e1- -0x68);}this[_0x1b56d6(-0x181,0x71,0x78,-0x185)]();}[_0x55e1bc(0x7ba,0x908,0x907,0x736)](){const _0x2c4458={_0xae42fb:0x1d2,_0x21802f:0x207,_0x5a93c9:0x364},_0x51a148={_0x1d4c2e:0xb},_0x3a83c6={_0x47caa5:0x2ba,_0x2295ea:0x1e1};function _0x3b9edc(_0x18b5a6,_0x4d57a3,_0xa27a82,_0x2f67d2){return _0x3a64dd(_0x18b5a6-0x177,_0x2f67d2,_0x18b5a6- -_0x3a83c6._0x47caa5,_0x2f67d2-_0x3a83c6._0x2295ea);}function _0x5cf15d(_0x25eb61,_0x45d27d,_0x3c6c65,_0x31d69d){return _0x55e1bc(_0x31d69d,_0x45d27d-0x121,_0x3c6c65-_0x51a148._0x1d4c2e,_0x3c6c65- -0x58);}this[_0x3b9edc(_0x2c4458._0xae42fb,0x8c,_0x2c4458._0x21802f,0x16c)]=createEmptySnapshot(),this[_0x5cf15d(0x328,0x459,0x4ed,_0x2c4458._0x5a93c9)]();}[_0x55e1bc(0x3b8,0x718,0x67b,0x5d4)](){const _0x52eff2={_0x120ac2:0x395,_0x416d29:0x1d7,_0x1a5bd7:0x170},_0x54e120={_0x4e4c55:0x738};function _0x211abc(_0x22a5cf,_0x1d15de,_0x3c1ebc,_0x23137c){return _0x55e1bc(_0x3c1ebc,_0x1d15de-0x58,_0x3c1ebc-0x15b,_0x23137c- -_0x54e120._0x4e4c55);}return{...this[_0x211abc(0x7c,-_0x52eff2._0x120ac2,-_0x52eff2._0x416d29,-_0x52eff2._0x1a5bd7)]};}[_0x3a64dd(0x8c2,0x6dc,0x745,0x62a)](_0xc57f75){const _0x183a67={_0x4402de:0x59e,_0x23a652:0x414,_0x1bd08b:0x50c},_0x1aac18={_0x1cdcb2:0x13c,_0x19f056:0x344};function _0x483f31(_0x631811,_0x2b2493,_0x108897,_0x21f592){return _0x55e1bc(_0x2b2493,_0x2b2493-_0x1aac18._0x1cdcb2,_0x108897-0x1d1,_0x631811- -_0x1aac18._0x19f056);}this[_0x483f31(_0x183a67._0x4402de,_0x183a67._0x23a652,_0x183a67._0x1bd08b,0x57d)]=_0xc57f75;}},SystemClock=class{[_0x3a64dd(0x4cd,0x719,0x707,0x87e)](){return Date['now']();}['iso'](_0x4fecb3){const _0x4ec1d2={_0x2f34a2:0x6ce,_0x2937f5:0x734,_0x180ff4:0x677,_0x5613d6:0x49b,_0x187f4e:0x591},_0x53fc22={_0x3d720f:0x32},_0x69271e={_0x2afb92:0x1a,_0x2cfd25:0x199};function _0x2b419a(_0x741275,_0x34acae,_0x2d34e9,_0x470a4b){return _0x55e1bc(_0x741275,_0x34acae-0x1bf,_0x2d34e9-_0x69271e._0x2afb92,_0x2d34e9- -_0x69271e._0x2cfd25);}function _0x1be738(_0x50c4fd,_0x3b09a7,_0x5a663b,_0x303e07){return _0x55e1bc(_0x5a663b,_0x3b09a7-_0x53fc22._0x3d720f,_0x5a663b-0x71,_0x303e07- -0x5be);}return new Date(_0x4fecb3??Date[_0x2b419a(_0x4ec1d2._0x2f34a2,_0x4ec1d2._0x2937f5,0x6aa,_0x4ec1d2._0x180ff4)]())[_0x2b419a(_0x4ec1d2._0x5613d6,_0x4ec1d2._0x187f4e,0x472,0x643)]();}},SimpleId=class{[_0x55e1bc(0x74f,0x4d5,0x61f,0x5d7)](){const _0x5818c2={_0x362efe:0x504,_0x46e622:0x4d9,_0x3c9ce1:0x2d3,_0x23c5b5:0x2f1},_0x4bcc0e={_0x592ff4:0x109,_0x39d692:0x283,_0x5cd5cd:0x45,_0x4b7192:0x14a,_0x54b9aa:0x249,_0x457948:0x65},_0xb5d6aa={_0x4dad84:0x199,_0x394a40:0xa2,_0x4e4fbf:0xe2},_0x4916d4={_0x53ec9f:0xc7,_0x364046:0xd7};function _0x513de0(_0x5ea3ab,_0x311754,_0x5e5c3f,_0x55eeb8){return _0x55e1bc(_0x311754,_0x311754-_0x4916d4._0x53ec9f,_0x5e5c3f-_0x4916d4._0x364046,_0x55eeb8- -0x329);}function _0xa43e63(_0x43b8bc,_0x2f5e74,_0x5f2dd7,_0x4044b8){return _0x55e1bc(_0x5f2dd7,_0x2f5e74-_0xb5d6aa._0x4dad84,_0x5f2dd7-_0xb5d6aa._0x394a40,_0x43b8bc- -_0xb5d6aa._0x4e4fbf);}return _0xa43e63(0x503,_0x5818c2._0x362efe,0x2e6,_0x5818c2._0x46e622)[_0xa43e63(0x49f,_0x5818c2._0x3c9ce1,_0x5818c2._0x23c5b5,0x348)](/[xy]/g,_0x5e2717=>{const _0x1c8da3={_0x1713f6:0x8b},_0x3ad4c1={_0x576c95:0x9};function _0xbe91ad(_0x5b5e09,_0x5a782d,_0x3be620,_0x7b1dfc){return _0xa43e63(_0x5a782d- -0x4ec,_0x5a782d-_0x3ad4c1._0x576c95,_0x3be620,_0x7b1dfc-0x7f);}function _0x35bf7b(_0x1f361b,_0x52312e,_0x160c7c,_0x2b3185){return _0xa43e63(_0x160c7c- -0x56e,_0x52312e-0xed,_0x52312e,_0x2b3185-_0x1c8da3._0x1713f6);}const _0x2de95b=Math[_0x35bf7b(-_0x4bcc0e._0x592ff4,-_0x4bcc0e._0x39d692,-0x145,-0x7d)]()*0x10|0x0,_0x258392=_0x5e2717==='x'?_0x2de95b:_0x2de95b&0x3|0x8;return _0x258392[_0xbe91ad(_0x4bcc0e._0x5cd5cd,-_0x4bcc0e._0x4b7192,-_0x4bcc0e._0x54b9aa,_0x4bcc0e._0x457948)](0x10);});}},SimpleCost=class{[_0x3a64dd(0x60f,0x207,0x3f0,0x5a6)](_0x243313,_0x546005){const _0x27f51c={_0x6c47dc:0x5bb},_0x5c83db={_0x3d29ad:0x16e,_0x4f08d0:0xdf};function _0x5cfd80(_0x20c597,_0x551078,_0x5409af,_0x258044){return _0x55e1bc(_0x5409af,_0x551078-_0x5c83db._0x3d29ad,_0x5409af-_0x5c83db._0x4f08d0,_0x258044- -0x30a);}return _0x546005?.[_0x5cfd80(0x571,0x478,_0x27f51c._0x6c47dc,0x3fe)];}},NoopReminders=class{[_0x3a64dd(0x783,0x47e,0x62a,0x6ce)](_0x7e23fb,_0x1bd705){return[_0x7e23fb];}},toProviderContent=_0x2a676c=>{const _0x29b618={_0x1d4901:0xc5,_0x5a1ac8:0x1d9,_0x4863c4:0xf9,_0x1da492:0x29d,_0x1c5866:0xf8,_0x3a1670:0xc6,_0x18ae61:0x200,_0x27f2dc:0x374,_0x2964ab:0x1b3,_0xa6fde8:0x17,_0x1ede9c:0x302,_0x213cef:0xbd,_0xe32bae:0x397,_0x2bc763:0x4e1,_0x86e002:0x1c3,_0x4de391:0x37b,_0x1cc24f:0x236,_0x47ab07:0x0,_0x3dcfc5:0x95,_0x5f0fcc:0x262,_0x3ee134:0x85,_0x1077f0:0x4d8,_0x793c73:0x5a4,_0x1041e4:0x5a,_0x512afd:0x27c,_0xb93128:0x193,_0x27a54a:0x20,_0x22dd78:0x477,_0x1b32c5:0x27c,_0x23698d:0x118,_0x3cf57a:0x1ad,_0x18729d:0xbd,_0x23d87e:0xb4,_0x288f23:0x88,_0x4e12bb:0x247,_0x192a9e:0x3eb,_0x2e6eb7:0x5c2,_0x4daba2:0x50c},_0x4125ec={_0x52b09e:0xbd};if(_0x2a676c===null||_0x2a676c===void 0x0)return'';if(typeof _0x2a676c===_0x222ef5(_0x29b618._0x1d4901,-_0x29b618._0x5a1ac8,-0x74,0x19))return _0x2a676c;function _0x222ef5(_0x92a203,_0x1b202b,_0x3550ab,_0x16b219){return _0x55e1bc(_0x3550ab,_0x1b202b-0x1bf,_0x3550ab-0x91,_0x16b219- -0x54d);}if(_0x2a676c[_0x222ef5(_0x29b618._0x4863c4,_0x29b618._0x1da492,0x3d7,0x1b3)]===_0x403e8e(0x28d,0x334,0x209,0x240)){const _0x534ca7=[];for(const _0x233c70 of _0x2a676c[_0x222ef5(_0x29b618._0x1c5866,_0x29b618._0x3a1670,-0x23,-0x64)]){if(_0x233c70[_0x222ef5(_0x29b618._0x18ae61,0xcf,_0x29b618._0x27f2dc,_0x29b618._0x2964ab)]===_0x222ef5(-_0x29b618._0xa6fde8,_0x29b618._0x1ede9c,0x2db,_0x29b618._0x213cef)){_0x233c70[_0x403e8e(_0x29b618._0xe32bae,_0x29b618._0x2bc763,0x32a,_0x29b618._0x86e002)]['length']>0x0&&_0x534ca7[_0x403e8e(_0x29b618._0x4de391,0x2a2,_0x29b618._0x1cc24f,_0x29b618._0x47ab07)]({'type':_0x222ef5(-_0x29b618._0x3dcfc5,_0x29b618._0x5f0fcc,-_0x29b618._0x3ee134,0xbd),'text':_0x233c70['text']});continue;}const _0x1f6303=_0x233c70[_0x222ef5(0x360,_0x29b618._0x1077f0,_0x29b618._0x793c73,0x3a0)]??(_0x233c70[_0x403e8e(_0x29b618._0x1041e4,0xc7,_0x29b618._0x512afd,0x88)]?_0x222ef5(0x17b,0xef,-_0x29b618._0xb93128,_0x29b618._0x27a54a)+_0x233c70[_0x403e8e(_0x29b618._0x22dd78,0x341,_0x29b618._0x1b32c5,0x4af)]:void 0x0);_0x1f6303&&_0x534ca7[_0x222ef5(-_0x29b618._0x23698d,_0x29b618._0x3cf57a,-0x2d,-0x37)]({'type':_0x222ef5(-0x56,0x155,0x253,_0x29b618._0x18729d),'text':_0x1f6303});const _0x465da0=_0x222ef5(0x7d,_0x29b618._0x23d87e,_0x29b618._0x288f23,_0x29b618._0x4e12bb)+_0x233c70['mimeType']+_0x222ef5(0x23e,-0xb3,0x139,0x36)+_0x233c70['data'];_0x534ca7['push']({'type':_0x403e8e(_0x29b618._0x192a9e,0x6c7,_0x29b618._0x2e6eb7,_0x29b618._0x4daba2),'image_url':{'url':_0x465da0}});}return _0x534ca7['length']>0x0?_0x534ca7:[];}function _0x403e8e(_0x38b4cd,_0xcfdb51,_0x55c01a,_0x2691c7){return _0x55e1bc(_0xcfdb51,_0xcfdb51-_0x4125ec._0x52b09e,_0x55c01a-0x4e,_0x55c01a- -0x2e0);}return[];},SimpleContextBuilder=class{[_0x55e1bc(0x558,0x327,0x6de,0x4e4)](_0x60e5fe,_0xf99323,_0x30a44e){const _0x2045c6={_0x535370:0x7ea,_0x695514:0x70d,_0x47cfd9:0x43a,_0x368f8d:0x4b9,_0x409873:0x5e7,_0x9f7e06:0x488,_0x3b6e9a:0x3ff,_0x17f57d:0x59d,_0x48a7fc:0x7f6,_0x1f9fa1:0x99c,_0x39990c:0x75b,_0x5ed468:0x287,_0x46d35e:0x5e3,_0x10f0aa:0x8bc,_0x1faf03:0x713,_0x3cb741:0x74a,_0x529ac3:0x6cb,_0x5e5d4c:0x771,_0x22e151:0x710,_0x2eeecc:0x41e,_0x2dc1ba:0x645,_0x5b9e34:0x716,_0x2342bf:0x3ce,_0x35ee51:0x53d,_0x116302:0x1a4,_0x2f9434:0x483,_0x409df8:0x30e,_0xb063cb:0x265,_0x3a2d73:0x24a},_0x29479c={_0x4ad6f8:0x16d,_0x339008:0xb5};function _0x291bf7(_0xb73861,_0x45819a,_0x440b92,_0x28c674){return _0x55e1bc(_0x440b92,_0x45819a-0x86,_0x440b92-0x1,_0x28c674- -0x24);}function _0x19dfd6(_0x18f29d,_0x501f13,_0x4fd737,_0x5318f3){return _0x55e1bc(_0x4fd737,_0x501f13-_0x29479c._0x4ad6f8,_0x4fd737-_0x29479c._0x339008,_0x501f13- -0x2f7);}const _0x531bac=[];for(const _0x5e7bb7 of _0x60e5fe){const _0x27cb09=toProviderContent(_0x5e7bb7['content']);if(_0x5e7bb7['role']===_0x291bf7(0x5f5,_0x2045c6._0x535370,0x7f8,_0x2045c6._0x695514))_0x531bac['push']({'role':_0x19dfd6(0x36b,_0x2045c6._0x47cfd9,0x503,_0x2045c6._0x368f8d),'content':_0x27cb09??''});else{if(_0x5e7bb7[_0x19dfd6(0x487,_0x2045c6._0x409873,0x7a3,0x658)]==='assistant')_0x5e7bb7[_0x19dfd6(0x260,_0x2045c6._0x9f7e06,_0x2045c6._0x3b6e9a,_0x2045c6._0x17f57d)]&&_0x5e7bb7[_0x291bf7(0x617,_0x2045c6._0x48a7fc,_0x2045c6._0x1f9fa1,_0x2045c6._0x39990c)]['length']>0x0?_0x531bac['push']({..._0x5e7bb7,'role':'assistant','content':_0x27cb09??null,'tool_calls':_0x5e7bb7[_0x19dfd6(_0x2045c6._0x5ed468,0x488,0x55c,0x261)]}):_0x531bac['push']({..._0x5e7bb7,'role':_0x291bf7(0x780,_0x2045c6._0x46d35e,_0x2045c6._0x10f0aa,_0x2045c6._0x1faf03),'content':_0x27cb09??''});else _0x5e7bb7[_0x291bf7(0x66e,_0x2045c6._0x3cb741,0x843,0x8ba)]===_0x291bf7(_0x2045c6._0x529ac3,0x6cb,0x8ee,_0x2045c6._0x5e5d4c)&&(_0x5e7bb7[_0x291bf7(0x5bc,_0x2045c6._0x22e151,_0x2045c6._0x2eeecc,_0x2045c6._0x2dc1ba)]&&_0x531bac['push']({'role':_0x291bf7(0x97e,_0x2045c6._0x5b9e34,0x9be,0x771),'content':typeof _0x27cb09===_0x291bf7(_0x2045c6._0x2342bf,0x700,0x74d,0x542)?_0x27cb09:_0x27cb09??'','tool_call_id':_0x5e7bb7[_0x19dfd6(_0x2045c6._0x35ee51,0x372,_0x2045c6._0x116302,_0x2045c6._0x2f9434)],'name':_0x5e7bb7[_0x19dfd6(_0x2045c6._0x409df8,_0x2045c6._0xb063cb,_0x2045c6._0x3a2d73,0x121)]}));}}const _0x4d4540=_0x30a44e['map'](_0xf66889=>({'role':_0x19dfd6(0x2cd,0x43a,0x4cb,0x569),'content':toProviderContent(_0xf66889)??''}));return[{'role':_0x291bf7(0x630,0x5b8,0x5f7,0x4a3),'content':_0xf99323},..._0x531bac,..._0x4d4540];}},InMemoryMemory=class{[_0x3a64dd(0x501,0x517,0x4b4,0x4d8)]=new Map();async[_0x3a64dd(0x58c,0x858,0x767,0x743)](_0x218b5a){const _0x45742c={_0x4d2ce6:0x637},_0x4292f0={_0x76b102:0x92,_0x4c2c06:0xf8},_0x10052b={_0x15367f:0x161,_0x5a2e83:0x427};function _0x55c3a8(_0x20fbfc,_0x3baba5,_0x3df6ed,_0x5db8c3){return _0x55e1bc(_0x20fbfc,_0x3baba5-0xc6,_0x3df6ed-_0x10052b._0x15367f,_0x3df6ed- -_0x10052b._0x5a2e83);}function _0x16f11a(_0x4586c1,_0x3ea369,_0x29557c,_0x1e93a1){return _0x3a64dd(_0x4586c1-_0x4292f0._0x76b102,_0x1e93a1,_0x3ea369-0x9d,_0x1e93a1-_0x4292f0._0x4c2c06);}return this[_0x16f11a(0x6d0,0x551,_0x45742c._0x4d2ce6,0x4d2)][_0x55c3a8(0x32a,0x642,0x47c,0x303)](_0x218b5a)??[];}async[_0x55e1bc(0x660,0x7a2,0xa4c,0x84c)](_0x2f8e81,_0x287609){const _0x55ec30={_0x3be898:0x89,_0x376567:0x2f,_0xc90072:0x17d},_0x4a3012={_0x43f09f:0x17},_0x53ed1c={_0x1e3627:0x337,_0x48d64b:0x1ed};function _0x5a1b16(_0x3c1e7,_0x55d0ba,_0x1e8b19,_0xab4428){return _0x3a64dd(_0x3c1e7-0x16f,_0x55d0ba,_0x1e8b19- -_0x53ed1c._0x1e3627,_0xab4428-_0x53ed1c._0x48d64b);}function _0x2ae3be(_0x2a34c1,_0x16f38c,_0x1abb90,_0x4055a9){return _0x55e1bc(_0x1abb90,_0x16f38c-0x11f,_0x1abb90-_0x4a3012._0x43f09f,_0x4055a9- -0x4b4);}this[_0x5a1b16(-_0x55ec30._0x3be898,_0x55ec30._0x376567,_0x55ec30._0xc90072,0x2c6)][_0x5a1b16(0x45a,0x622,0x3d9,0x5d5)](_0x2f8e81,[..._0x287609]);}async[_0x3a64dd(0x619,0x706,0x558,0x620)](_0x275c4c,_0x4c3c3c){const _0x4eb924={_0x16b79f:0x534},_0x1d8a16={_0x1be94c:0xca,_0x3a02e3:0x1b4};function _0x58b498(_0x1de995,_0x1ad59f,_0x1381ac,_0x4689f1){return _0x3a64dd(_0x1de995-_0x1d8a16._0x1be94c,_0x4689f1,_0x1381ac-0x80,_0x4689f1-_0x1d8a16._0x3a02e3);}const _0x221bdb=this[_0x58b498(0x771,0x482,_0x4eb924._0x16b79f,0x4e2)]['get'](_0x275c4c)??[];this['store']['set'](_0x275c4c,[..._0x221bdb,..._0x4c3c3c]);}async[_0x3a64dd(0x94d,0x749,0x773,0x8ae)](_0x18a1ab){const _0x159793={_0x801e47:0x50b,_0x5cb0d9:0x633,_0x245ee9:0x80c},_0x3906fd={_0x177b5e:0xf1,_0x1dea3b:0xb4};function _0x5cb98d(_0x53bc0c,_0x2f0752,_0x4bbdaf,_0x5d0b12){return _0x55e1bc(_0x53bc0c,_0x2f0752-_0x3906fd._0x177b5e,_0x4bbdaf-_0x3906fd._0x1dea3b,_0x4bbdaf- -0x174);}this['store'][_0x5cb98d(_0x159793._0x801e47,_0x159793._0x5cb0d9,0x73b,_0x159793._0x245ee9)](_0x18a1ab);}async[_0x55e1bc(0x70a,0x7ef,0x765,0x65a)](){const _0x2025af={_0x22afd8:0x652,_0x31dea8:0x229,_0x5588ce:0xcd,_0x29f485:0x3e7},_0x5b1749={_0x260ba4:0x14e,_0x24656b:0xb9,_0x34d480:0x6c5},_0x4f223e={_0x4a5945:0x5d,_0xd70a87:0x7d,_0x4ba641:0x61};function _0x310f9f(_0x21ed4e,_0x48d8c9,_0xdd0ffb,_0x463723){return _0x3a64dd(_0x21ed4e-_0x4f223e._0x4a5945,_0x48d8c9,_0x21ed4e- -_0x4f223e._0xd70a87,_0x463723-_0x4f223e._0x4ba641);}function _0x249b22(_0x278b15,_0x3c9aee,_0x4e135b,_0x30d4bf){return _0x55e1bc(_0x278b15,_0x3c9aee-_0x5b1749._0x260ba4,_0x4e135b-_0x5b1749._0x24656b,_0x30d4bf- -_0x5b1749._0x34d480);}return Array[_0x310f9f(_0x2025af._0x22afd8,0x863,0x852,0x514)](this[_0x249b22(-0x2c2,-_0x2025af._0x31dea8,-_0x2025af._0x5588ce,-0xd5)][_0x310f9f(0x4a1,0x49e,_0x2025af._0x29f485,0x693)]());}async[_0x3a64dd(0x695,0x65c,0x76e,0x94b)](){const _0x3adefa={_0x1e64cd:0x399,_0x2ca83d:0x25a,_0x5cc5e1:0x6b0,_0x3cc067:0x685},_0x1add6b={_0x54c454:0x4b,_0xcfe6ce:0x4f},_0x1b45d8={_0x27b38e:0xb0};function _0x37a7ec(_0x13dade,_0x23581b,_0x14511f,_0x49963d){return _0x55e1bc(_0x14511f,_0x23581b-0xd8,_0x14511f-_0x1b45d8._0x27b38e,_0x13dade- -0x22c);}function _0x461141(_0x5a55df,_0x21df2a,_0x1d4e8d,_0x1ff1ad){return _0x3a64dd(_0x5a55df-_0x1add6b._0x54c454,_0x5a55df,_0x21df2a- -0x2c0,_0x1ff1ad-_0x1add6b._0xcfe6ce);}this[_0x37a7ec(0x3c4,_0x3adefa._0x1e64cd,0x19c,_0x3adefa._0x2ca83d)][_0x461141(_0x3adefa._0x5cc5e1,0x4ae,0x5d9,_0x3adefa._0x3cc067)]();}async[_0x55e1bc(0x767,0x7b5,0x99a,0x7ed)](){const _0x4a07df={};for(const [_0xde6a6d,_0x127990]of this['store']['entries']())_0x4a07df[_0xde6a6d]=[..._0x127990];return _0x4a07df;}async['importSnapshot'](_0x1de69f){const _0x2485f6={_0x956821:0x6d,_0x5898ed:0x22b,_0x50aef1:0x62,_0x487867:0x22f,_0x54029d:0x467,_0x3470e2:0x25b},_0x4826b={_0x4cf62a:0x1ee},_0x1dad09={_0x5469f8:0x1de,_0x10859b:0x7d};function _0x146a53(_0x1c71d3,_0x29deb3,_0x3b9179,_0x128c5c){return _0x3a64dd(_0x1c71d3-_0x1dad09._0x5469f8,_0x29deb3,_0x1c71d3- -0x58a,_0x128c5c-_0x1dad09._0x10859b);}this[_0x146a53(-0xd6,-0x93,-_0x2485f6._0x956821,-0x234)]['clear']();function _0x50f332(_0x5c8f72,_0x3fea79,_0x4054aa,_0xb9848e){return _0x55e1bc(_0x4054aa,_0x3fea79-_0x4826b._0x4cf62a,_0x4054aa-0x34,_0xb9848e- -0x2b2);}for(const [_0x5aadb1,_0x3bf02b]of Object[_0x146a53(-_0x2485f6._0x5898ed,-0x380,-_0x2485f6._0x50aef1,-_0x2485f6._0x487867)](_0x1de69f))this[_0x50f332(_0x2485f6._0x54029d,0x451,_0x2485f6._0x3470e2,0x33e)][_0x50f332(0x736,0x34b,0x358,0x59a)](_0x5aadb1,[..._0x3bf02b]);}},JsonFileMemoryPersistence=class{constructor(_0x2c11a7=_0x3a64dd(0x783,0x917,0x6ff,0x5d3)){this['filename']=_0x2c11a7;}async[_0x3a64dd(0x562,0x3e3,0x5e4,0x4b3)](){const _0x262e4f={_0x2c6382:0x3e6,_0x5276a9:0x5a8,_0x54815a:0x978,_0xe60027:0x936,_0x35bf49:0x556,_0x48e7c8:0x5bf,_0x4a29e8:0x5d6,_0x118fa1:0x57d},_0x3e1c92={_0x268449:0xaa,_0x2cbce1:0xa8,_0x38ba79:0x25};function _0x2f49c3(_0x1d9593,_0x39ef19,_0x2c218e,_0x4f789){return _0x55e1bc(_0x4f789,_0x39ef19-_0x3e1c92._0x268449,_0x2c218e-_0x3e1c92._0x2cbce1,_0x2c218e- -_0x3e1c92._0x38ba79);}function _0x37fdeb(_0x1a90a7,_0x33cd5b,_0x3da8a3,_0x35c21b){return _0x55e1bc(_0x3da8a3,_0x33cd5b-0x11a,_0x3da8a3-0xf8,_0x35c21b- -0x380);}try{const _0x4460f1=await import('fs');if(!_0x4460f1[_0x37fdeb(0x478,0x4c1,_0x262e4f._0x2c6382,0x4d1)](this[_0x2f49c3(0x8c2,0x6ab,0x7b0,_0x262e4f._0x5276a9)]))return{};const _0x23c5e6=_0x4460f1['readFileSync'](this[_0x2f49c3(0x6ff,_0x262e4f._0x54815a,0x7b0,_0x262e4f._0xe60027)],_0x2f49c3(_0x262e4f._0x35bf49,0x3a3,_0x262e4f._0x48e7c8,0x52e)),_0x4a0551=JSON['parse'](_0x23c5e6);return typeof _0x4a0551===_0x2f49c3(0x447,0x700,_0x262e4f._0x4a29e8,0x4b9)&&_0x4a0551?_0x4a0551:{};}catch{return console[_0x37fdeb(_0x262e4f._0x118fa1,0x3c2,0x118,0x33b)]('Failed\x20to\x20load\x20memory\x20from\x20'+this['filename']),{};}}async['save'](_0x3c504d){const _0x9de68b={_0x5cfa7a:0x802,_0x1ac196:0x73c,_0x4250d7:0x6c4,_0x55c4e0:0x65b,_0x4b9dd0:0x655,_0x4f2d03:0x42b,_0x328e59:0x5c3,_0x36383f:0x2c3,_0x46d80f:0x5c8,_0x58fe91:0x58c,_0x5937cf:0x40b,_0x350996:0x320,_0x25d0b3:0x2eb,_0xee26db:0x6d5,_0x17e127:0x3f6,_0x4f15ab:0x299,_0x11b2e6:0x248,_0x24b4ce:0x25d,_0xfe5d2b:0x421,_0x29f735:0x7a3,_0x5cabb5:0x581,_0x4e3029:0x5c3},_0x4aa0b0={_0x171f88:0x106,_0x58086f:0xd6,_0x7b7425:0x10f},_0x237afa={_0x578ebe:0xa,_0x1924b2:0x322};function _0x2e2d1b(_0x301f93,_0x178b6b,_0xb564a5,_0x1cbfc0){return _0x3a64dd(_0x301f93-_0x237afa._0x578ebe,_0xb564a5,_0x178b6b- -_0x237afa._0x1924b2,_0x1cbfc0-0x1b3);}function _0x2e6cac(_0x56714e,_0x3d22db,_0x496a9c,_0x127018){return _0x3a64dd(_0x56714e-_0x4aa0b0._0x171f88,_0x496a9c,_0x127018- -_0x4aa0b0._0x58086f,_0x127018-_0x4aa0b0._0x7b7425);}try{const _0x59c7ac=await import('fs'),_0x55a582=await import(_0x2e6cac(_0x9de68b._0x5cfa7a,_0x9de68b._0x1ac196,0x68c,_0x9de68b._0x4250d7)),_0x3edfd9=_0x55a582['dirname'](this[_0x2e6cac(_0x9de68b._0x55c4e0,_0x9de68b._0x4b9dd0,_0x9de68b._0x4f2d03,_0x9de68b._0x328e59)]);_0x3edfd9&&_0x3edfd9!=='.'&&!_0x59c7ac[_0x2e2d1b(_0x9de68b._0x36383f,0x3f3,0x4b5,_0x9de68b._0x46d80f)](_0x3edfd9)&&_0x59c7ac[_0x2e2d1b(_0x9de68b._0x58fe91,_0x9de68b._0x5937cf,_0x9de68b._0x350996,0x4b5)](_0x3edfd9,{'recursive':!![]}),_0x59c7ac[_0x2e2d1b(0x3df,_0x9de68b._0x25d0b3,0x423,0x3e7)](this[_0x2e6cac(_0x9de68b._0xee26db,_0x9de68b._0x17e127,0x38d,0x5c3)],JSON[_0x2e2d1b(_0x9de68b._0x4f15ab,0x449,0x3c3,0x698)](_0x3c504d,null,0x2),_0x2e2d1b(-0x13,0x186,-0x87,-0x6d));}catch(_0x326057){console[_0x2e2d1b(_0x9de68b._0x11b2e6,_0x9de68b._0x24b4ce,0x135,0x354)]('Failed\x20to\x20save\x20memory\x20to\x20'+this[_0x2e6cac(_0x9de68b._0xfe5d2b,_0x9de68b._0x29f735,_0x9de68b._0x5cabb5,_0x9de68b._0x4e3029)],_0x326057);}}},PersistedMemory=class{constructor(_0x22d52d){const _0x20f6e3={_0x23e496:0x459,_0x3c1bb4:0x710,_0x3593b0:0x451},_0x25fbce={_0x12f19d:0xe0,_0x1f09cd:0x3b};function _0x210780(_0x586f00,_0x184007,_0x4d5243,_0xd6555a){return _0x55e1bc(_0x586f00,_0x184007-_0x25fbce._0x12f19d,_0x4d5243-_0x25fbce._0x1f09cd,_0x4d5243- -0x108);}this[_0x210780(_0x20f6e3._0x23e496,_0x20f6e3._0x3c1bb4,0x4c9,_0x20f6e3._0x3593b0)]=_0x22d52d;}[_0x55e1bc(0x41a,0x3dc,0x2fb,0x4b8)]=new InMemoryMemory();[_0x55e1bc(0x8fa,0xa29,0x850,0x7f0)]=![];async[_0x55e1bc(0x6f6,0x35a,0x54e,0x58d)](){const _0x25a9e4={_0x1c5071:0x1b9,_0x23d53f:0x1a,_0x1911a7:0x5c9,_0x3f0b2e:0xf3,_0x508a5c:0x17,_0x5a6476:0x32f,_0x2e52ab:0x47c,_0x7e8af7:0xf9},_0x3ad366={_0x3afbf3:0x1b2,_0x3095fc:0x93,_0x43641e:0x55},_0x41a65c={_0x31ef32:0x47b,_0x45fed1:0x177};if(this['initialized'])return;function _0x1e86e6(_0x221e0b,_0x36c961,_0x2af833,_0x40ce8c){return _0x3a64dd(_0x221e0b-0x190,_0x40ce8c,_0x36c961- -_0x41a65c._0x31ef32,_0x40ce8c-_0x41a65c._0x45fed1);}const _0x38aa90=await this[_0x1e86e6(-_0x25a9e4._0x1c5071,_0x25a9e4._0x23d53f,0x1f4,0x83)][_0x553598(_0x25a9e4._0x1911a7,0x6f8,0x568,0x677)]();function _0x553598(_0xa02dab,_0x29ef60,_0x37c9b7,_0x1f38bb){return _0x3a64dd(_0xa02dab-_0x3ad366._0x3afbf3,_0x37c9b7,_0x1f38bb-_0x3ad366._0x3095fc,_0x1f38bb-_0x3ad366._0x43641e);}if(_0x38aa90&&typeof _0x38aa90===_0x1e86e6(-0xe8,0x44,-0x1de,_0x25a9e4._0x3f0b2e))await this[_0x1e86e6(-_0x25a9e4._0x508a5c,-0xff,0x65,-_0x25a9e4._0x5a6476)]['importSnapshot'](_0x38aa90);this[_0x1e86e6(0x370,0x239,_0x25a9e4._0x2e52ab,_0x25a9e4._0x7e8af7)]=!![];}async[_0x3a64dd(0x6cf,0x638,0x65b,0x528)](){const _0x186a4f={_0x403297:0x1f4,_0x5ca56b:0x59f,_0xb98a80:0x44,_0xcaebe7:0x1fe,_0x113bb0:0xdb,_0x25576d:0xe9},_0x31d177={_0x26390b:0xe6,_0x3c78c8:0x33b,_0x234c42:0x9d};function _0x40a1cf(_0x46449d,_0x252c40,_0xf3c961,_0x597934){return _0x3a64dd(_0x46449d-0x139,_0x597934,_0xf3c961- -0x570,_0x597934-0x86);}const _0x20d63d=await this[_0x40a1cf(-0x405,-0x3f8,-_0x186a4f._0x403297,-0xba)][_0x1afe6b(_0x186a4f._0x5ca56b,0x376,0x448,0x434)]();function _0x1afe6b(_0x4bf7b3,_0x276a46,_0x3cf4cb,_0x1f644a){return _0x3a64dd(_0x4bf7b3-_0x31d177._0x26390b,_0x4bf7b3,_0x276a46- -_0x31d177._0x3c78c8,_0x1f644a-_0x31d177._0x234c42);}await this[_0x40a1cf(_0x186a4f._0xb98a80,-_0x186a4f._0xcaebe7,-_0x186a4f._0x113bb0,-0x2d1)][_0x40a1cf(0xc8,_0x186a4f._0x25576d,0xeb,0x25c)](_0x20d63d);}async['get'](_0x3624e3){const _0x4722fc={_0x3c9e33:0x535},_0x390db0={_0x56bd83:0x1a4,_0x3bd9b0:0xe4,_0x2cf56d:0x35};await this[_0x2b5f33(0x599,0x3d1,0x529,_0x4722fc._0x3c9e33)]();function _0x2b5f33(_0x170282,_0x17729b,_0x398ce4,_0x473dbb){return _0x3a64dd(_0x170282-_0x390db0._0x56bd83,_0x398ce4,_0x473dbb-_0x390db0._0x3bd9b0,_0x473dbb-_0x390db0._0x2cf56d);}return this['inner']['get'](_0x3624e3);}async[_0x3a64dd(0x633,0x865,0x710,0x784)](_0x5946cc,_0x42f18f){const _0x2e6979={_0x3b2872:0x3fc,_0x5e7145:0x521,_0x56dfe5:0x284,_0x6035c3:0x91e,_0x1a545a:0x70a,_0x7ed08a:0x6ab},_0xcd00aa={_0x485b3:0xe5};await this[_0x262c32(0x50f,_0x2e6979._0x3b2872,_0x2e6979._0x5e7145,0x2e0)]();function _0x262c32(_0x343379,_0x11b6da,_0x40736b,_0xd9657e){return _0x3a64dd(_0x343379-_0xcd00aa._0x485b3,_0x343379,_0x11b6da- -0x55,_0xd9657e-0x139);}function _0x4b522c(_0x2280bb,_0x4350ab,_0x2241df,_0x1d5be2){return _0x3a64dd(_0x2280bb-0x15b,_0x1d5be2,_0x4350ab- -0x6,_0x1d5be2-0x19e);}await this[_0x262c32(_0x2e6979._0x56dfe5,0x327,0x422,0x17a)][_0x4b522c(_0x2e6979._0x6035c3,_0x2e6979._0x1a545a,0x68e,_0x2e6979._0x7ed08a)](_0x5946cc,_0x42f18f),await this['save']();}async[_0x55e1bc(0x5fd,0x783,0x5b8,0x694)](_0x699b02,_0x40a8f6){await this['ensureInitialized'](),await this['inner']['append'](_0x699b02,_0x40a8f6),await this['save']();}async[_0x3a64dd(0x862,0x561,0x773,0x781)](_0x4ecb2e){const _0x4ef78a={_0x3c5a9c:0x204,_0x23b412:0x1e7,_0x225eb6:0x24a,_0xfef4dd:0x152,_0xaeae44:0x446,_0x3a3aca:0x58a,_0x534094:0x509,_0x6fbf80:0x4f9},_0x49ab48={_0x2a2919:0x1d9},_0x53e9e7={_0x23bd66:0x12b,_0x5301cc:0x3a6};await this[_0x5f1249(_0x4ef78a._0x3c5a9c,0x1f0,_0x4ef78a._0x23b412,0x9f)]();function _0x5f1249(_0xa89c76,_0x40f912,_0x5309ff,_0x46d58a){return _0x55e1bc(_0x40f912,_0x40f912-_0x53e9e7._0x23bd66,_0x5309ff-0x9f,_0x5309ff- -_0x53e9e7._0x5301cc);}await this[_0x4b4324(-_0x4ef78a._0x225eb6,-0xe,-0x1f8,-_0x4ef78a._0xfef4dd)][_0x5f1249(_0x4ef78a._0xaeae44,_0x4ef78a._0x3a3aca,_0x4ef78a._0x534094,_0x4ef78a._0x6fbf80)](_0x4ecb2e);function _0x4b4324(_0xb0e3fb,_0x4e41f6,_0x5d6b4f,_0x4c3143){return _0x3a64dd(_0xb0e3fb-0xfc,_0x4e41f6,_0x5d6b4f- -0x574,_0x4c3143-_0x49ab48._0x2a2919);}await this['save']();}async['keys'](){const _0x1258a5={_0x22ff87:0x173,_0x232825:0x309,_0x199e98:0x1d,_0x2a9df2:0x2d4,_0x4b1205:0x21b,_0x21356f:0x17f},_0x371490={_0x3a8bc7:0x185,_0x575da7:0x254},_0x1fdfda={_0x16e9fc:0x1d4,_0x4c8193:0x110};function _0x41c868(_0x359004,_0x22386a,_0xdd2c5,_0x469f10){return _0x3a64dd(_0x359004-_0x1fdfda._0x16e9fc,_0x22386a,_0x359004- -0x5c4,_0x469f10-_0x1fdfda._0x4c8193);}await this[_0x41c868(-_0x1258a5._0x22ff87,-_0x1258a5._0x232825,-_0x1258a5._0x199e98,-0x2a2)]();function _0x449de3(_0x9987d4,_0x4307ce,_0x51dd99,_0x3a193c){return _0x55e1bc(_0x51dd99,_0x4307ce-0x7b,_0x51dd99-_0x371490._0x3a8bc7,_0x3a193c- -_0x371490._0x575da7);}return this[_0x41c868(-0x248,-_0x1258a5._0x2a9df2,-_0x1258a5._0x4b1205,-0x218)][_0x41c868(-0xa6,0x7a,-_0x1258a5._0x21356f,_0x1258a5._0x21356f)]();}async[_0x3a64dd(0x710,0x52a,0x76e,0x579)](){const _0x343eb0={_0x5f5af0:0x2cd,_0x2bb1c3:0x2dd,_0x56af67:0x109,_0x585504:0x139,_0x3ac693:0xbd,_0x1035a7:0x13d,_0x207381:0x5ed,_0x250c6c:0x398},_0x5e2cf5={_0x5864bf:0x14d},_0x14dfc9={_0x4c509d:0x1a5,_0x3a121c:0xd3};function _0x3ec4b5(_0x27b220,_0x5abfa6,_0x138fb5,_0x17042c){return _0x55e1bc(_0x138fb5,_0x5abfa6-_0x14dfc9._0x4c509d,_0x138fb5-_0x14dfc9._0x3a121c,_0x27b220- -0x1b7);}function _0x40719f(_0x348585,_0x44587a,_0x3bfede,_0x5eafa2){return _0x55e1bc(_0x348585,_0x44587a-0x199,_0x3bfede-_0x5e2cf5._0x5864bf,_0x5eafa2- -0x37b);}await this[_0x40719f(_0x343eb0._0x5f5af0,_0x343eb0._0x2bb1c3,_0x343eb0._0x56af67,0x212)](),await this[_0x40719f(_0x343eb0._0x585504,_0x343eb0._0x3ac693,0x151,_0x343eb0._0x1035a7)][_0x40719f(_0x343eb0._0x207381,0x4b0,_0x343eb0._0x250c6c,0x52f)](),await this['save']();}async[_0x55e1bc(0x749,0x6ff,0x890,0x7ed)](){const _0x307990={_0x10f8a5:0x42,_0x92512b:0x57,_0x1126e6:0x182,_0x59a9e2:0x4aa,_0x4a3ff9:0x38d},_0x3279fe={_0x9e43e2:0x127,_0x10bbd7:0x7b},_0x5eb5b0={_0x44c480:0x1bc,_0x5a3441:0x324};await this[_0x52a016(0x11d,-_0x307990._0x10f8a5,-_0x307990._0x92512b,0x164)]();function _0x50568a(_0x46484c,_0x30d8ad,_0x1cd938,_0x36dff1){return _0x3a64dd(_0x46484c-_0x5eb5b0._0x44c480,_0x46484c,_0x36dff1- -_0x5eb5b0._0x5a3441,_0x36dff1-0x1ac);}function _0x52a016(_0x16728a,_0x281fb0,_0x33cc9,_0x187bd1){return _0x3a64dd(_0x16728a-_0x3279fe._0x9e43e2,_0x281fb0,_0x187bd1- -0x2ed,_0x187bd1-_0x3279fe._0x10bbd7);}return this['inner'][_0x50568a(_0x307990._0x1126e6,0x270,_0x307990._0x59a9e2,_0x307990._0x4a3ff9)]();}async[_0x55e1bc(0x582,0x7aa,0x62f,0x619)](_0xd1522a){const _0xca5d99={_0x1f58ec:0x4a8,_0x21af3e:0x557,_0x343dc2:0x6b3,_0x25732d:0x27b,_0x553415:0x3cc,_0x21cc1e:0x732,_0x9d7191:0x52d},_0x11fd01={_0x5cb7eb:0x1af},_0x44e3b2={_0x572f58:0xf0,_0x3fce3c:0xeb};await this[_0x2ec983(_0xca5d99._0x1f58ec,_0xca5d99._0x21af3e,0x581,_0xca5d99._0x343dc2)]();function _0x2ec983(_0xfb6eda,_0x4fd4bd,_0x5e932b,_0x2dec5d){return _0x3a64dd(_0xfb6eda-_0x44e3b2._0x572f58,_0xfb6eda,_0x5e932b-0x130,_0x2dec5d-_0x44e3b2._0x3fce3c);}await this[_0x43d4c0(0x549,_0xca5d99._0x25732d,0x505,_0xca5d99._0x553415)][_0x43d4c0(0x3fc,0x4e5,_0xca5d99._0x21cc1e,_0xca5d99._0x9d7191)](_0xd1522a);function _0x43d4c0(_0x5bee51,_0x59605,_0x9a8c63,_0x185763){return _0x3a64dd(_0x5bee51-0xd9,_0x59605,_0x185763-0x50,_0x185763-_0x11fd01._0x5cb7eb);}await this['save']();}},DEFAULT_PREFIX=_0x3a64dd(0x685,0x7a7,0x602,0x567),DEFAULT_SUFFIX=_0x3a64dd(0x6ad,0x60c,0x47e,0x65a),MultiFileMemoryPersistence=class{constructor(_0x3facca){const _0x593b7c={_0x8080fe:0x429,_0x43f5ce:0x2fe,_0x1f0741:0x27d,_0x52e6c3:0x1b9,_0x5d25a4:0x8,_0x8362f7:0x151,_0x585b06:0x92,_0xdfa7c9:0x183,_0x4ea428:0x344,_0x4f8ff1:0x273,_0x1e8eb1:0x12d},_0x29fe8f={_0x5514b3:0x621,_0x145a86:0x796,_0x45531b:0x69e,_0x4bfc48:0x5fd,_0x215e2b:0x584,_0x169a0a:0x523,_0x57f741:0x532},_0x335375={_0x2ca663:0x580},_0x4a1bb2={_0x13f54c:0x16d,_0x1bac94:0x41f,_0x5277b3:0x1ca},_0x4dede0={_0x29b348:0xd2,_0xf0686f:0xf6};function _0x2097f1(_0x1f8f85,_0x131f47,_0x12e20e,_0x16bb1c){return _0x3a64dd(_0x1f8f85-0x163,_0x1f8f85,_0x12e20e- -0x54c,_0x16bb1c-0x1a8);}function _0x4c496a(_0x26f8c3,_0x772a88,_0x585403,_0x272e56){return _0x3a64dd(_0x26f8c3-_0x4dede0._0x29b348,_0x585403,_0x272e56- -_0x4dede0._0xf0686f,_0x272e56-0x1d5);}this[_0x4c496a(_0x593b7c._0x8080fe,0x2c7,_0x593b7c._0x43f5ce,0x366)]=_0x3facca,this[_0x2097f1(-_0x593b7c._0x1f0741,-0x2d5,-_0x593b7c._0x52e6c3,-_0x593b7c._0x5d25a4)]=_0x3facca[_0x2097f1(-_0x593b7c._0x8362f7,-0x7e,-0x1b9,_0x593b7c._0x585b06)]??(_0x98ef66=>''+DEFAULT_PREFIX+_0x98ef66+DEFAULT_SUFFIX),this[_0x4c496a(0x1f6,_0x593b7c._0xdfa7c9,0x4a5,_0x593b7c._0x4ea428)]=_0x3facca[_0x4c496a(_0x593b7c._0x4f8ff1,0x461,_0x593b7c._0x1e8eb1,0x344)]??(_0x1a565c=>{function _0x45c91b(_0x279bfe,_0x3b90e9,_0x229fa9,_0x320be7){return _0x2097f1(_0x320be7,_0x3b90e9-_0x4a1bb2._0x13f54c,_0x229fa9-_0x4a1bb2._0x1bac94,_0x320be7-_0x4a1bb2._0x5277b3);}function _0x253380(_0x20d11f,_0x5254be,_0x36efe7,_0x1a3061){return _0x2097f1(_0x5254be,_0x5254be-0x104,_0x20d11f-_0x335375._0x2ca663,_0x1a3061-0x19);}if(_0x1a565c['startsWith'](DEFAULT_PREFIX)&&_0x1a565c[_0x253380(0x7a0,_0x29fe8f._0x5514b3,_0x29fe8f._0x145a86,0x634)](DEFAULT_SUFFIX)){const _0x227837=_0x1a565c[_0x253380(_0x29fe8f._0x45531b,0x69d,_0x29fe8f._0x4bfc48,0x674)](DEFAULT_PREFIX[_0x253380(_0x29fe8f._0x215e2b,_0x29fe8f._0x169a0a,_0x29fe8f._0x57f741,0x5d3)],-DEFAULT_SUFFIX['length']);if(_0x227837[_0x253380(0x692,0x7e0,0x764,0x71c)](_0x45c91b(0x75c,0x501,0x5cd,0x7f4)))return _0x227837;}return null;});}['getFilename'];[_0x55e1bc(0x4de,0x43d,0x570,0x576)];async[_0x3a64dd(0x496,0x3d0,0x5e4,0x4aa)](){const _0x1389d7={_0x93b121:0x9f,_0x7bbded:0xaf,_0x388274:0x7d,_0x538452:0x1f9,_0x46ad83:0x24b,_0x72320a:0x220,_0x184128:0x2e6,_0x7b05da:0x497,_0x42d071:0x314,_0x2b3962:0x111,_0x4c1d6b:0x12e,_0x16091d:0xd2,_0x2d585c:0x112,_0x255451:0x20d,_0x2f59ce:0x1b7,_0x3c23c7:0x702,_0x34a825:0x4e3,_0x21a44a:0x54d},_0x59bb7b={_0x49f7af:0x4fb},_0x4a557f={_0x11eab6:0x2e,_0x2fcb80:0x211,_0x429b89:0xa5},_0x255f85=await import('fs');function _0x2cbc03(_0x1288ad,_0x40d13c,_0x50fb52,_0x2ab7b5){return _0x3a64dd(_0x1288ad-_0x4a557f._0x11eab6,_0x1288ad,_0x50fb52- -_0x4a557f._0x2fcb80,_0x2ab7b5-_0x4a557f._0x429b89);}function _0x5edf7b(_0x3beff2,_0x20fdd0,_0x5ba1ca,_0x37914e){return _0x3a64dd(_0x3beff2-0x124,_0x37914e,_0x3beff2- -_0x59bb7b._0x49f7af,_0x37914e-0x102);}const _0x5d32fb=await import('path'),_0x1d74a1={};if(!_0x255f85['existsSync'](this['options']['directory']))return _0x1d74a1;try{const _0x1cc83e=_0x255f85['readdirSync'](this[_0x5edf7b(-_0x1389d7._0x93b121,-_0x1389d7._0x7bbded,-_0x1389d7._0x388274,0xc)][_0x5edf7b(_0x1389d7._0x538452,0x2d9,0x111,0x9a)]);for(const _0x241c87 of _0x1cc83e){const _0x1dbb43=this[_0x2cbc03(0x3c4,0x3c2,0x229,0x9d)](_0x241c87);if(_0x1dbb43===null)continue;const _0x5c56ac=_0x5d32fb['join'](this[_0x2cbc03(_0x1389d7._0x46ad83,_0x1389d7._0x72320a,_0x1389d7._0x46ad83,0x285)][_0x5edf7b(0x1f9,0x156,_0x1389d7._0x184128,0x41e)],_0x241c87);try{const _0x55aac0=_0x255f85[_0x2cbc03(0x25d,_0x1389d7._0x7b05da,0x2f6,_0x1389d7._0x42d071)](_0x5c56ac,_0x5edf7b(-0x53,-0x21a,-0x14c,-_0x1389d7._0x2b3962)),_0x1d7bec=JSON[_0x5edf7b(-0x1c1,-0x320,-_0x1389d7._0x4c1d6b,-0x12f)](_0x55aac0);Array[_0x2cbc03(0x71a,0x4be,0x4eb,0x5fe)](_0x1d7bec)&&(_0x1d74a1[_0x1dbb43]=_0x1d7bec);}catch{console['warn'](_0x5edf7b(_0x1389d7._0x16091d,-_0x1389d7._0x2d585c,-0x14c,0x216)+_0x5c56ac);}}}catch(_0xea6b8b){console['warn'](_0x5edf7b(_0x1389d7._0x255451,0x1c0,_0x1389d7._0x2f59ce,0x171)+this['options'][_0x2cbc03(0x6a5,_0x1389d7._0x3c23c7,_0x1389d7._0x34a825,_0x1389d7._0x21a44a)]+':',_0xea6b8b);}return _0x1d74a1;}async[_0x55e1bc(0x87c,0x966,0x919,0x797)](_0x3d640e){const _0x3db591={_0x23f9c7:0x730,_0x185613:0x501,_0x385ebc:0x652,_0x49583a:0x6bd,_0x18e7c1:0x3ba,_0xdf9550:0x413,_0x1d5ece:0x5a1,_0x464b90:0x15a,_0x5d5fb9:0x54,_0xfc6c6a:0x3d3,_0x18aef3:0x35c,_0x36369e:0x32e,_0x386569:0x486,_0x4ab7a5:0x3be,_0x3efa07:0x3f8,_0x1deb8a:0x35b,_0x35b727:0x129,_0x213531:0x314,_0x2921b0:0x2e9,_0x36bb69:0x30b,_0x4f3b4f:0xe2,_0x412958:0x7ac,_0xbdde6:0x7ae},_0x5a1a96={_0xece961:0x3b,_0x30a5bd:0x1d2},_0x2b2624={_0x48e80e:0x0,_0x334f68:0x26,_0x15ef43:0x43e};function _0x5dd740(_0x55e57c,_0x2d0c76,_0x227a6b,_0x224146){return _0x55e1bc(_0x224146,_0x2d0c76-_0x2b2624._0x48e80e,_0x227a6b-_0x2b2624._0x334f68,_0x2d0c76- -_0x2b2624._0x15ef43);}const _0x425621=await import('fs'),_0x5cbca3=await import(_0xb2ca62(_0x3db591._0x23f9c7,_0x3db591._0x185613,_0x3db591._0x385ebc,_0x3db591._0x49583a));!_0x425621[_0x5dd740(_0x3db591._0x18e7c1,_0x3db591._0xdf9550,0x625,0x392)](this['options'][_0xb2ca62(0x56e,0x690,0x5ac,_0x3db591._0x1d5ece)])&&_0x425621['mkdirSync'](this[_0x5dd740(0x104,_0x3db591._0x464b90,-0xd4,0x295)]['directory'],{'recursive':!![]});function _0xb2ca62(_0x567dae,_0x4402cf,_0x4556c8,_0x21d588){return _0x3a64dd(_0x567dae-_0x5a1a96._0xece961,_0x4402cf,_0x4556c8- -0x148,_0x21d588-_0x5a1a96._0x30a5bd);}for(const [_0x3b529f,_0x44e293]of Object[_0xb2ca62(0x8b,_0x3db591._0x5d5fb9,0x217,0x102)](_0x3d640e)){if(!_0x3b529f[_0x5dd740(_0x3db591._0xfc6c6a,_0x3db591._0x18aef3,_0x3db591._0x36369e,_0x3db591._0x386569)](_0x5dd740(_0x3db591._0x4ab7a5,_0x3db591._0x3efa07,0x204,0x35b)))continue;const _0x39352e=this['getFilename'](_0x3b529f),_0x15b574=_0x5cbca3[_0xb2ca62(_0x3db591._0x1deb8a,0x2b0,0x286,0x6c)](this[_0xb2ca62(0x350,_0x3db591._0x35b727,_0x3db591._0x213531,_0x3db591._0x2921b0)]['directory'],_0x39352e);try{_0x425621[_0x5dd740(0x32d,_0x3db591._0x36bb69,0x3dd,_0x3db591._0x4f3b4f)](_0x15b574,JSON[_0xb2ca62(_0x3db591._0x412958,0x5ba,0x623,_0x3db591._0xbdde6)](_0x44e293,null,0x2),_0xb2ca62(0x1b1,0x1f6,0x360,0x316));}catch(_0x30f393){console['warn']('Failed\x20to\x20save\x20agent\x20memory\x20to\x20'+_0x15b574+':',_0x30f393);}}}},NoopEventPort=class{[_0x55e1bc(0x30d,0x3d0,0x333,0x545)](_0x298a3d){}},PersistingConsoleEventPort=class{['memory'];[_0x55e1bc(0x66b,0x7bb,0x4e2,0x5af)];[_0x3a64dd(0x7e4,0x85a,0x70f,0x4d8)]=Promise[_0x55e1bc(0x541,0x72f,0x7f6,0x785)]();constructor(_0x58e759){const _0x5e178b={_0x258bf3:0x4a2,_0x20d9ae:0x5eb,_0x268216:0x4bc,_0x225923:0x5fc,_0x4e7706:0x24b,_0x20cb69:0x3fe,_0x397b69:0x4a5,_0x388f5a:0xd9,_0x414192:0x25,_0x106ae2:0x138},_0x2207e5={_0x2006ce:0x147,_0x4c35dc:0x3f},_0x55d1ac={_0x28615c:0x44e};this[_0x138f77(_0x5e178b._0x258bf3,_0x5e178b._0x20d9ae,_0x5e178b._0x268216,_0x5e178b._0x225923)]=_0x58e759?.['memory']??new PersistedMemory(new JsonFileMemoryPersistence(_0x58e759?.[_0xe42b7b(0x319,0xde,_0x5e178b._0x4e7706,_0x5e178b._0x20cb69)]||'events.json'));function _0xe42b7b(_0x385fb0,_0x5e11a9,_0x31ea1d,_0x101f85){return _0x3a64dd(_0x385fb0-0xcd,_0x5e11a9,_0x31ea1d- -_0x55d1ac._0x28615c,_0x101f85-0x75);}function _0x138f77(_0x184b23,_0x10e3b4,_0x1619b8,_0x51bfca){return _0x3a64dd(_0x184b23-0x101,_0x1619b8,_0x10e3b4- -_0x2207e5._0x2006ce,_0x51bfca-_0x2207e5._0x4c35dc);}this[_0x138f77(0x114,0x32c,_0x5e178b._0x397b69,0x403)]=_0x58e759?.[_0xe42b7b(-0x59,-_0x5e178b._0x388f5a,_0x5e178b._0x414192,-_0x5e178b._0x106ae2)]??0x1f4;}async[_0x3a64dd(0x2e3,0x55e,0x409,0x443)](_0x3c976f){const _0x729ab3={_0x545589:0x29b,_0x1be6c2:0x5f1,_0x24c6fd:0x4ae,_0x1310f8:0x215,_0x42fea2:0x581},_0x2571f6={_0x14f67c:0x3b},_0x17c673={_0x14f3ac:0x365,_0x1000cf:0x284,_0x4c4ae8:0x16c,_0x1cc63e:0x2b9,_0x254dea:0x65e,_0x2b5d03:0x44e,_0x56c096:0x5c5,_0x51b0d8:0x663,_0x5cf257:0x429,_0xb7a9f2:0x2e7,_0x514dbd:0x1c5,_0x59c99d:0x13e,_0x1eea16:0xa2,_0xf6b743:0x98,_0xa29755:0x22c,_0x569c6f:0x29f,_0x77fcc6:0x2d5,_0xe14f48:0x1c5},_0x2356f4={_0x1725e5:0x24d},_0x2256d3={_0x23d376:0x6f,_0x595058:0x23c},_0x107291={_0xb770d9:0xb0};function _0x480938(_0x30f51d,_0x3ff39a,_0x1a29a8,_0x4a8601){return _0x3a64dd(_0x30f51d-_0x107291._0xb770d9,_0x3ff39a,_0x4a8601- -0x261,_0x4a8601-0x161);}this[_0x480938(_0x729ab3._0x545589,0x565,_0x729ab3._0x1be6c2,_0x729ab3._0x24c6fd)]=this['writeQueue'][_0x480938(0x291,0x365,0x8f,_0x729ab3._0x1310f8)](async()=>{function _0x5df4d0(_0x1644c6,_0x4472f4,_0x880dc,_0x15f9a0){return _0x480938(_0x1644c6-0x1dc,_0x15f9a0,_0x880dc-_0x2256d3._0x23d376,_0x4472f4-_0x2256d3._0x595058);}function _0x2a35ad(_0x742ee,_0x21dd01,_0x46fddb,_0x57080d){return _0x480938(_0x742ee-0x5f,_0x21dd01,_0x46fddb-0x6e,_0x46fddb- -_0x2356f4._0x1725e5);}try{const _0x232d57=_0x3c976f?.['conversationId']??_0x2a35ad(0x269,0x134,0x2ed,0x24e),_0x2e8029=await this[_0x2a35ad(0x294,_0x17c673._0x14f3ac,_0x17c673._0x1000cf,0x4be)][_0x2a35ad(_0x17c673._0x4c4ae8,0x262,_0x17c673._0x1cc63e,0x428)](_0x232d57),_0x3366e8=[..._0x2e8029,{..._0x3c976f}],_0x32f46f=this[_0x5df4d0(_0x17c673._0x254dea,_0x17c673._0x2b5d03,0x2da,_0x17c673._0x56c096)],_0x213de3=_0x32f46f>0x0&&_0x3366e8[_0x5df4d0(_0x17c673._0x51b0d8,0x52b,0x756,_0x17c673._0x5cf257)]>_0x32f46f?_0x3366e8[_0x2a35ad(-0x1d,0x271,0x1bc,_0x17c673._0xb7a9f2)](_0x3366e8[_0x2a35ad(_0x17c673._0x514dbd,_0x17c673._0x59c99d,_0x17c673._0x1eea16,-_0x17c673._0xf6b743)]-_0x32f46f):_0x3366e8;await this[_0x2a35ad(0xc5,_0x17c673._0xa29755,0x284,_0x17c673._0x569c6f)][_0x2a35ad(_0x17c673._0x77fcc6,_0x17c673._0xe14f48,0x262,0x29a)](_0x232d57,_0x213de3);}catch{}});function _0x386f82(_0x1c079a,_0x15d65c,_0xe9c20,_0x49b558){return _0x3a64dd(_0x1c079a-0x172,_0x15d65c,_0x49b558- -0x18e,_0x49b558-_0x2571f6._0x14f67c);}return this[_0x386f82(0x628,0x6cd,0x4df,_0x729ab3._0x42fea2)];}};function parseJSON(_0x4d673c){const _0xf5c3b5={_0x2d17f7:0xd5,_0x3d8c95:0x11e,_0x499890:0x368,_0x4b1eb7:0x347,_0xecf70d:0x1d0,_0x1e8f64:0x516,_0x10c9d8:0x4e0,_0x5d5f30:0x78,_0x3ac569:0xf,_0x4fdc4c:0x198,_0x2740e1:0x374,_0x383b1c:0x56e,_0x5ab831:0x40e},_0x4112d7={_0x5f0816:0x5e,_0x5af43a:0x441},_0x450409={_0x5b54e0:0x194,_0x3ec102:0x13a};function _0x550bb6(_0x321cbb,_0x23dd01,_0x23d35d,_0x3aeb77){return _0x55e1bc(_0x23dd01,_0x23dd01-_0x450409._0x5b54e0,_0x23d35d-_0x450409._0x3ec102,_0x23d35d- -0x358);}function _0x4d3245(_0x6aea3b,_0x41cccf,_0x209d66,_0x1e39ab){return _0x3a64dd(_0x6aea3b-_0x4112d7._0x5f0816,_0x1e39ab,_0x41cccf- -_0x4112d7._0x5af43a,_0x1e39ab-0x6d);}try{const _0x1caf2e=JSON[_0x550bb6(_0xf5c3b5._0x2d17f7,-0xa7,_0xf5c3b5._0x3d8c95,0x2dc)](_0x4d673c||'{}');if(typeof _0x1caf2e!==_0x550bb6(_0xf5c3b5._0x499890,_0xf5c3b5._0x4b1eb7,0x2a3,_0xf5c3b5._0xecf70d)||_0x1caf2e===null||Array[_0x550bb6(_0xf5c3b5._0x1e8f64,0x4a3,_0xf5c3b5._0x10c9d8,0x4eb)](_0x1caf2e))return{'success':![],'error':_0x550bb6(-_0xf5c3b5._0x5d5f30,-_0xf5c3b5._0x3ac569,0x17d,_0xf5c3b5._0x4fdc4c)};return{'success':!![],'data':_0x1caf2e};}catch(_0x10e815){return{'success':![],'error':_0x10e815 instanceof Error?_0x10e815[_0x4d3245(0x518,_0xf5c3b5._0x2740e1,_0xf5c3b5._0x383b1c,_0xf5c3b5._0x5ab831)]:'Invalid\x20JSON\x20syntax'};}}import{z}from'zod';var bashToolSchema=z[_0x55e1bc(0x81a,0x6cf,0x588,0x5fb)]({'cmd':z[_0x3a64dd(0x523,0x263,0x42a,0x666)]({'message':_0x55e1bc(0x8a0,0x947,0x82b,0x8dd)})[_0x3a64dd(0x4a6,0x518,0x5c2,0x5e1)](0x1,_0x3a64dd(0x91f,0x613,0x7a1,0x9ea)),'cwd':z[_0x3a64dd(0x35d,0x448,0x42a,0x613)]()[_0x55e1bc(0x5b4,0x81f,0x76c,0x627)](),'timeoutMs':z[_0x55e1bc(0x29f,0x691,0x5c6,0x474)]()[_0x55e1bc(0x59f,0x520,0x50e,0x6c9)]()['positive']({'message':_0x3a64dd(0x579,0x5a0,0x357,0x59f)})[_0x55e1bc(0x56e,0x66b,0x64f,0x627)](),'description':z['string']()[_0x55e1bc(0x604,0x406,0x4eb,0x627)]()}),fileReadSchema=z['object']({'path':z[_0x3a64dd(0x34c,0x5f6,0x42a,0x5cd)]({'message':_0x3a64dd(0x7e7,0x552,0x795,0x571)})[_0x3a64dd(0x537,0x603,0x5c2,0x68e)](0x1,_0x55e1bc(0xb00,0x963,0xb00,0x8d1)),'lineStart':z[_0x3a64dd(0x4eb,0x3b3,0x338,0x236)]()[_0x3a64dd(0x768,0x5d0,0x58d,0x473)]()[_0x3a64dd(0x607,0x4aa,0x3e0,0x362)]({'message':_0x55e1bc(0x761,0x7e7,0x3bf,0x5da)})['optional'](),'lineEnd':z[_0x3a64dd(0x224,0x3e1,0x338,0x167)]()[_0x55e1bc(0x880,0x70b,0x724,0x6c9)]()[_0x55e1bc(0x48f,0x703,0x61d,0x51c)]({'message':_0x3a64dd(0x6ff,0x7c3,0x702,0x640)})['optional'](),'description':z[_0x55e1bc(0x6bd,0x442,0x4c0,0x566)]()[_0x3a64dd(0x318,0x68b,0x4eb,0x64e)]()}),fileEditSchema=z[_0x3a64dd(0x6b5,0x440,0x4bf,0x3e5)]({'file_path':z[_0x55e1bc(0x3dd,0x367,0x3f9,0x566)]({'message':_0x3a64dd(0x25b,0x401,0x404,0x2a3)})[_0x55e1bc(0x8f0,0x912,0x7f8,0x6fe)](0x1,'file_path\x20must\x20be\x20a\x20non-empty\x20string'),'old_text':z[_0x3a64dd(0x450,0x1df,0x42a,0x25d)]({'message':'old_text\x20is\x20required'}),'new_text':z[_0x55e1bc(0x657,0x664,0x5ff,0x566)]({'message':_0x55e1bc(0x6bc,0xa8d,0xa0f,0x8c3)}),'dry_run':z[_0x55e1bc(0x64e,0x95b,0x7f0,0x809)]()[_0x3a64dd(0x32e,0x5fa,0x4eb,0x360)](),'description':z[_0x55e1bc(0x5c4,0x60c,0x752,0x566)]()['optional']()}),fileNewSchema=z[_0x55e1bc(0x45c,0x4b7,0x3af,0x5fb)]({'file_path':z[_0x55e1bc(0x535,0x67b,0x6e5,0x566)]({'message':'file_path\x20must\x20be\x20a\x20non-empty\x20string'})['min'](0x1,_0x3a64dd(0x203,0x522,0x404,0x3cd)),'content':z['string']({'message':_0x3a64dd(0x204,0x2d3,0x325,0x388)}),'description':z[_0x3a64dd(0x4ac,0x574,0x42a,0x63e)]()[_0x3a64dd(0x70a,0x2d7,0x4eb,0x64f)]()}),lsToolSchema=z[_0x3a64dd(0x2a7,0x549,0x4bf,0x3e3)]({'path':z[_0x55e1bc(0x549,0x513,0x6d3,0x566)]()[_0x55e1bc(0x524,0x85f,0x80b,0x627)](),'limit':z[_0x55e1bc(0x2c3,0x2ca,0x616,0x474)]()[_0x55e1bc(0x862,0x8a2,0x605,0x6c9)]()[_0x55e1bc(0x360,0x5e9,0x5dc,0x51c)]({'message':_0x3a64dd(0x6ca,0x303,0x54e,0x3e4)})[_0x3a64dd(0x413,0x5f9,0x4eb,0x543)](),'description':z[_0x55e1bc(0x6e1,0x4c3,0x31c,0x566)]()[_0x55e1bc(0x5ba,0x49f,0x4a3,0x627)]()}),webSearchSchema=z[_0x55e1bc(0x4f4,0x479,0x535,0x5fb)]({'query':z[_0x55e1bc(0x581,0x3a3,0x474,0x566)]({'message':_0x3a64dd(0x6c8,0x6aa,0x55d,0x3cb)})[_0x55e1bc(0x6e2,0x7a8,0x5db,0x6fe)](0x1,_0x55e1bc(0x47b,0x570,0x57f,0x699)),'count':z[_0x3a64dd(0x126,0x430,0x338,0x35f)]()[_0x3a64dd(0x59b,0x750,0x58d,0x670)]()['min'](0x1)[_0x3a64dd(0x753,0x75e,0x678,0x792)](0x32)['optional'](),'offset':z['number']()[_0x3a64dd(0x3cd,0x4a0,0x58d,0x420)]()[_0x3a64dd(0x45a,0x635,0x5e5,0x62d)]()['optional'](),'domains':z[_0x55e1bc(0x6dd,0x4f1,0x6cf,0x55f)](z[_0x55e1bc(0x359,0x5d6,0x4fa,0x566)]())['optional'](),'recencyDays':z[_0x3a64dd(0x444,0x287,0x338,0x3ef)]()[_0x55e1bc(0x79d,0x480,0x55e,0x6c9)]()['positive']({'message':_0x55e1bc(0xac8,0x7b1,0x908,0x896)})[_0x55e1bc(0x67f,0x837,0x579,0x627)](),'lang':z[_0x3a64dd(0x371,0x569,0x42a,0x25c)]()[_0x3a64dd(0x724,0x549,0x4eb,0x325)](),'region':z[_0x55e1bc(0x38f,0x3bd,0x782,0x566)]()[_0x3a64dd(0x466,0x360,0x4eb,0x4d5)](),'safe':z[_0x3a64dd(0x6b7,0x4d9,0x6cd,0x59a)]()[_0x55e1bc(0x415,0x42e,0x800,0x627)](),'type':z['enum']([_0x3a64dd(0x58a,0x3f7,0x599,0x78f),'images'])[_0x55e1bc(0x57a,0x701,0x684,0x627)](),'hydrateMeta':z[_0x55e1bc(0x74c,0x6db,0x73d,0x809)]()[_0x55e1bc(0x562,0x64c,0x46f,0x627)](),'description':z[_0x55e1bc(0x460,0x61e,0x72e,0x566)]()[_0x3a64dd(0x5d6,0x702,0x4eb,0x445)]()}),webFetchSchema=z['object']({'url':z['string']({'message':_0x55e1bc(0x76c,0x4a8,0x411,0x612)})[_0x3a64dd(0x674,0x326,0x45e,0x62b)](_0x3a64dd(0x523,0x45b,0x4d6,0x384)),'description':z[_0x55e1bc(0x4e4,0x66f,0x616,0x566)]()[_0x3a64dd(0x4d3,0x3d2,0x4eb,0x3a5)]()}),todoWriteSchema=z[_0x55e1bc(0x79c,0x7ef,0x735,0x5fb)]({'todos':z[_0x55e1bc(0x5a3,0x541,0x43d,0x55f)](z[_0x3a64dd(0x33d,0x313,0x4bf,0x6f4)]({'id':z['string']()[_0x55e1bc(0x7dc,0x5ce,0x93d,0x6fe)](0x1),'content':z[_0x3a64dd(0x5a0,0x672,0x42a,0x369)]()[_0x3a64dd(0x604,0x546,0x5c2,0x62e)](0x1),'status':z[_0x55e1bc(0x460,0x3a4,0x830,0x5eb)]([_0x3a64dd(0x51f,0x2d0,0x3c1,0x54e),_0x3a64dd(0x615,0x50e,0x521,0x535),_0x55e1bc(0x8f9,0x6f3,0xa69,0x889)]),'priority':z[_0x3a64dd(0x3b9,0x2a0,0x4af,0x49f)](['high',_0x3a64dd(0x834,0x878,0x6fb,0x6fc),_0x55e1bc(0x719,0x56a,0x487,0x4cc)]),'createdAt':z[_0x55e1bc(0x3af,0x4a5,0x525,0x566)]()[_0x55e1bc(0x710,0x62c,0x540,0x627)]()}))[_0x55e1bc(0x623,0x585,0x7b2,0x6fe)](0x1,_0x55e1bc(0x6b2,0x3e1,0x5b1,0x4a2)),'description':z[_0x55e1bc(0x568,0x66d,0x6dc,0x566)]()['optional']()}),assignTaskSchema=z['object']({'agent':z[_0x3a64dd(0x471,0x553,0x42a,0x5a5)]({'message':_0x55e1bc(0x737,0x74c,0x672,0x73f)})[_0x3a64dd(0x46d,0x658,0x5c2,0x62c)](0x1,'agent\x20must\x20be\x20a\x20non-empty\x20string'),'task':z['string']({'message':_0x3a64dd(0x97a,0x934,0x75f,0x8d5)})['min'](0x1,_0x3a64dd(0x984,0x559,0x75f,0x555)),'description':z[_0x3a64dd(0x39c,0x60a,0x42a,0x239)]({'message':_0x55e1bc(0x654,0x7ec,0x790,0x5f1)})['min'](0x1,_0x55e1bc(0x79b,0x6dc,0x3de,0x5f1))}),globToolSchema=z[_0x55e1bc(0x79b,0x4a4,0x727,0x5fb)]({'pattern':z['string']({'message':_0x55e1bc(0x777,0x4ec,0x565,0x6dd)})[_0x3a64dd(0x7bf,0x394,0x5c2,0x5e8)](0x1,_0x3a64dd(0x68b,0x6a4,0x5a1,0x6cf)),'path':z[_0x3a64dd(0x562,0x552,0x42a,0x4d1)]()['optional'](),'description':z[_0x55e1bc(0x6fa,0x4fb,0x627,0x566)]()[_0x55e1bc(0x6f8,0x460,0x468,0x627)]()}),grepToolSchema=z['object']({'pattern':z[_0x3a64dd(0x381,0x346,0x42a,0x5da)]({'message':_0x3a64dd(0x516,0x6f1,0x5a1,0x5b2)})[_0x3a64dd(0x697,0x7cd,0x5c2,0x3a6)](0x1,'pattern\x20must\x20be\x20a\x20non-empty\x20string'),'path':z['string']()[_0x3a64dd(0x61b,0x324,0x4eb,0x2ff)](),'include':z[_0x3a64dd(0x4bd,0x5a7,0x42a,0x316)]()['optional'](),'description':z[_0x3a64dd(0x378,0x31d,0x42a,0x40c)]()[_0x55e1bc(0x82c,0x519,0x451,0x627)]()}),toolSchemas={'bash_tool':bashToolSchema,'file_read':fileReadSchema,'file_edit':fileEditSchema,'file_new':fileNewSchema,'ls_tool':lsToolSchema,'web_search':webSearchSchema,'web_fetch':webFetchSchema,'todo_write':todoWriteSchema,'assign_task':assignTaskSchema,'glob_tool':globToolSchema,'grep_tool':grepToolSchema};function validateToolParams(_0x24bacb,_0x14ba5e){const _0x134c47={_0x44a731:0x135,_0x4dac53:0x155,_0x4a0510:0x740,_0x38db18:0x611,_0x2df519:0x646,_0x2bf067:0x2bf,_0x1977b4:0x1a4,_0x3f4494:0xef,_0x37ef43:0x76},_0x244f61={_0x57191e:0x2d,_0x2101aa:0x1ed},_0x423fec={_0x898988:0x11c,_0x4ec0c2:0x1d8},_0x10f065=toolSchemas[_0x24bacb];if(!_0x10f065)return{'valid':!![],'data':_0x14ba5e};const _0x5c5a3b=_0x10f065[_0x4d8bf4(-0xb4,-_0x134c47._0x44a731,_0x134c47._0x4dac53,-0x48)](_0x14ba5e);if(_0x5c5a3b[_0x488274(_0x134c47._0x4a0510,_0x134c47._0x38db18,_0x134c47._0x2df519,0x59a)])return{'valid':!![],'data':_0x5c5a3b[_0x488274(0x3cf,0x500,_0x134c47._0x2bf067,0x3f9)]};function _0x488274(_0x42d57d,_0x4205d9,_0x520fa8,_0x50e588){return _0x3a64dd(_0x42d57d-_0x423fec._0x898988,_0x50e588,_0x520fa8- -0x103,_0x50e588-_0x423fec._0x4ec0c2);}function _0x4d8bf4(_0x1d11c9,_0x133c3f,_0x4cca07,_0x1683c4){return _0x3a64dd(_0x1d11c9-_0x244f61._0x57191e,_0x133c3f,_0x1d11c9- -0x5d9,_0x1683c4-_0x244f61._0x2101aa);}const _0xe89904=_0x5c5a3b[_0x4d8bf4(-0x3,-0xa,-_0x134c47._0x1977b4,_0x134c47._0x3f4494)]['issues'][_0x4d8bf4(-0x1d1,-0x41a,-0x54,_0x134c47._0x37ef43)](_0xc9c124=>_0xc9c124[_0x488274(0x893,0x7c1,0x697,0x7ec)][_0x488274(0x508,0x33b,0x2cb,0x2ca)]('.')+':\x20'+_0xc9c124[_0x488274(0x793,0x657,0x6b2,0x901)]);return{'valid':![],'errors':_0xe89904};}var toolValidators={'bash_tool':_0x32fa74=>validateToolParams('bash_tool',_0x32fa74),'file_read':_0x8189e0=>validateToolParams(_0x3a64dd(0x1ee,0x2ac,0x3fc,0x1d3),_0x8189e0),'file_edit':_0x860876=>validateToolParams(_0x3a64dd(0x7d7,0x71b,0x64e,0x510),_0x860876),'file_new':_0x1c39b0=>validateToolParams(_0x55e1bc(0x882,0x7d8,0x93c,0x7de),_0x1c39b0),'ls_tool':_0x41fd2a=>validateToolParams(_0x55e1bc(0x55b,0x866,0x520,0x740),_0x41fd2a),'web_search':_0x44680e=>validateToolParams(_0x55e1bc(0x5a0,0x589,0x624,0x7c7),_0x44680e),'web_fetch':_0x347719=>validateToolParams(_0x3a64dd(0x54f,0x806,0x647,0x781),_0x347719),'todo_write':_0x5cf39b=>validateToolParams(_0x3a64dd(0x3f0,0x2f1,0x484,0x66a),_0x5cf39b),'assign_task':_0x183f60=>validateToolParams(_0x55e1bc(0x8fc,0x655,0x597,0x6c8),_0x183f60),'glob_tool':_0x18e512=>validateToolParams(_0x3a64dd(0x912,0x958,0x765,0x5e8),_0x18e512),'grep_tool':_0x322d89=>validateToolParams(_0x3a64dd(0x1af,0x2ef,0x317,0x208),_0x322d89)};function convertToolCall(_0x1860ad,_0x35784e={}){const _0x1b224a={_0xb2d4eb:0x56d,_0x936a9d:0x714,_0x24c4db:0x822,_0xb67240:0x656,_0x4b4248:0x505,_0x419390:0x272,_0x401038:0x65c,_0x5da515:0x425,_0x5711f8:0x431,_0x249a7b:0x14d,_0x2c910b:0x5d8,_0x2b749b:0x8b1,_0x253500:0x19f,_0x44580d:0x4f,_0xb06e04:0x20a,_0x207ce7:0x1f0,_0x4e1848:0x11e,_0x43ba6f:0x14d,_0x116ab6:0x78e,_0x113df0:0x92e,_0x17bbfe:0x4a4,_0x2a373b:0x446,_0x23ba91:0x786,_0x3b911d:0x6d7,_0x2af1fe:0x8aa,_0x3d9db4:0x69,_0x226679:0x21e,_0x2bd99b:0x233,_0x378192:0xaf,_0x2a7ad1:0x1a3,_0x58bd65:0x17,_0x35cd1e:0xc1,_0x36cb17:0x28f,_0x48713d:0x106,_0x11f867:0x8d,_0x36b0c3:0x1e4,_0xab5e7b:0x72,_0x1984c0:0x1b6,_0x54a32c:0x45d,_0x4849ff:0x284,_0x4ce325:0x1cf,_0x247316:0x3e8,_0x26f446:0x7ca,_0x26fa61:0x143,_0x5dcf83:0x19a,_0x51f998:0x5d,_0x55d60f:0x85,_0xc8651e:0xd4,_0x5844c5:0x635,_0x5d02b7:0x858,_0x5afd6a:0x1c9,_0x21eb44:0x30,_0x7b970:0x356,_0x3cc5a8:0x41b,_0x46b2e:0x9c,_0x57062d:0x1a5,_0x5d55fd:0xe9,_0x4cbeee:0x7d2,_0x42a305:0x79c,_0x2d335d:0x1ed,_0x149887:0x3dd,_0x320bdf:0x250},_0x45f65d={_0x395457:0xd9,_0xf81f05:0xff},{strict:strict=![],availableTools:_0x3e3598}=_0x35784e;function _0x1cd56d(_0x4a1ab4,_0xe87632,_0x286eb7,_0x447fe6){return _0x55e1bc(_0x286eb7,_0xe87632-0x1c7,_0x286eb7-_0x45f65d._0x395457,_0xe87632- -_0x45f65d._0xf81f05);}if(_0x3e3598&&!_0x3e3598[_0x1cd56d(_0x1b224a._0xb2d4eb,0x75f,0x556,_0x1b224a._0x936a9d)](_0x1860ad[_0x1cd56d(_0x1b224a._0x24c4db,0x78e,_0x1b224a._0xb67240,0x790)][_0x1cd56d(_0x1b224a._0x4b4248,0x45d,_0x1b224a._0x419390,_0x1b224a._0x401038)]))return{'valid':![],'error':_0x1cd56d(0x417,0x386,0x533,_0x1b224a._0x5da515)+_0x1860ad[_0x332fed(0x1e4,_0x1b224a._0x5711f8,0x3c7,0x16d)][_0x332fed(-_0x1b224a._0x249a7b,-0x12c,-0xb4,-0xf8)]+_0x1cd56d(_0x1b224a._0x2c910b,0x7c1,0x6e0,_0x1b224a._0x2b749b)+Array['from'](_0x3e3598)[_0x332fed(-_0x1b224a._0x253500,-0xec,-_0x1b224a._0x44580d,0x5f)](',\x20'),'errorType':_0x332fed(_0x1b224a._0xb06e04,0x107,0xb,0x86),'callId':_0x1860ad['id'],'toolName':_0x1860ad[_0x332fed(0x1e4,_0x1b224a._0x207ce7,0x29,_0x1b224a._0x4e1848)][_0x332fed(-_0x1b224a._0x43ba6f,-0x38b,-0x235,-0x35c)]};function _0x332fed(_0xecd249,_0x1f0d76,_0x32f772,_0x57b239){return _0x3a64dd(_0xecd249-0xd3,_0x32f772,_0xecd249- -0x56d,_0x57b239-0xc7);}const _0x139940=parseJSON(_0x1860ad[_0x1cd56d(0x779,_0x1b224a._0x116ab6,_0x1b224a._0x113df0,0x700)][_0x1cd56d(0x3f3,_0x1b224a._0x17bbfe,0x54b,_0x1b224a._0x2a373b)]);if(!_0x139940[_0x1cd56d(0x736,_0x1b224a._0x23ba91,_0x1b224a._0x3b911d,_0x1b224a._0x2af1fe)])return{'valid':![],'error':_0x139940[_0x332fed(_0x1b224a._0x3d9db4,_0x1b224a._0x226679,-0x152,0x27a)],'errorType':_0x332fed(-_0x1b224a._0x2bd99b,-_0x1b224a._0x378192,-_0x1b224a._0x2a7ad1,-0x303),'callId':_0x1860ad['id'],'toolName':_0x1860ad['function'][_0x332fed(-0x14d,_0x1b224a._0x58bd65,-_0x1b224a._0x35cd1e,-_0x1b224a._0x36cb17)],'rawArguments':_0x1860ad['function'][_0x332fed(-_0x1b224a._0x48713d,0x23,-0x253,-_0x1b224a._0x11f867)]};const _0x4bf1b1=_0x1860ad[_0x332fed(_0x1b224a._0x36b0c3,0x13a,_0x1b224a._0xab5e7b,_0x1b224a._0x1984c0)][_0x1cd56d(0x61f,_0x1b224a._0x54a32c,0x44c,0x2fc)],_0x244f82=_0x139940[_0x1cd56d(_0x1b224a._0x4849ff,0x3ff,_0x1b224a._0x4ce325,0x551)],_0x54a941=toolValidators[_0x4bf1b1];if(_0x54a941){const _0x36febd=_0x54a941(_0x244f82);if(!_0x36febd['valid']){if(strict)return{'valid':![],'error':_0x1cd56d(_0x1b224a._0x247316,0x5a6,_0x1b224a._0x26f446,0x413)+_0x36febd[_0x332fed(_0x1b224a._0x26fa61,0xca,_0x1b224a._0x5dcf83,_0x1b224a._0x51f998)][_0x332fed(-0x19f,_0x1b224a._0x55d60f,-_0x1b224a._0xc8651e,-0x2eb)](';\x20'),'errorType':'validation','callId':_0x1860ad['id'],'toolName':_0x1860ad[_0x1cd56d(0x868,0x78e,_0x1b224a._0x5844c5,_0x1b224a._0x5d02b7)][_0x332fed(-0x14d,-_0x1b224a._0x5afd6a,_0x1b224a._0x21eb44,-_0x1b224a._0x7b970)],'rawArguments':_0x1860ad['function'][_0x1cd56d(0x2e6,0x4a4,_0x1b224a._0x3cc5a8,0x682)]};console[_0x332fed(0x12,0x4b,-0x3d,_0x1b224a._0x46b2e)](_0x332fed(-_0x1b224a._0x57062d,-0x8c,-0x3ee,-_0x1b224a._0x5d55fd)+_0x4bf1b1+':',_0x36febd[_0x1cd56d(_0x1b224a._0x4cbeee,0x6ed,_0x1b224a._0x42a305,0x6f3)]);}}return{'valid':!![],'invocation':{'id':_0x1860ad['id'],'name':_0x1860ad[_0x332fed(_0x1b224a._0x36b0c3,0x128,_0x1b224a._0x2d335d,_0x1b224a._0x149887)][_0x1cd56d(0x35f,0x45d,0x644,0x4d9)],'parameters':_0x244f82,'editInstruction':_0x1860ad[_0x332fed(0x127,_0x1b224a._0x320bdf,0x23f,0x143)]}};}function convertToolCalls(_0x1bb56a,_0x5a97f3={}){const _0x34fda1={_0x3ade40:0x85b,_0x46ccb8:0x8ce,_0x27b6e6:0x67f,_0x94fd12:0x622,_0x2b3f6e:0x491,_0x7e35c7:0x4b5,_0x3a1a8a:0x497,_0x228c30:0x7e8,_0x188ab0:0x579,_0xe617db:0x440,_0x1169f9:0x510,_0x52f37f:0x769,_0x5455da:0x6f7,_0x5ac120:0x585,_0x2b099b:0x8cc,_0x38a2ac:0x6e0,_0x3418aa:0x1ee,_0x2c66ee:0x406},_0x56cf8f={_0x4c61c7:0x48e};function _0x3d5dd5(_0x2a6854,_0x309cda,_0x58333f,_0x47c504){return _0x3a64dd(_0x2a6854-0x78,_0x309cda,_0x47c504-0x4c,_0x47c504-0x1c);}function _0x3a268e(_0xa90388,_0x86fa6,_0x3fc13b,_0x2c0e3f){return _0x55e1bc(_0x3fc13b,_0x86fa6-0x1f2,_0x3fc13b-0x14f,_0xa90388- -_0x56cf8f._0x4c61c7);}const {strict:strict=![],throwOnError:throwOnError=!![]}=_0x5a97f3,_0x106450=[];for(const _0x1ba1c of _0x1bb56a){const _0x17ce55=convertToolCall(_0x1ba1c,{'strict':strict});if(!_0x17ce55['valid']){const _0x237286=_0x3d5dd5(0x4aa,_0x34fda1._0x3ade40,_0x34fda1._0x46ccb8,_0x34fda1._0x27b6e6)+_0x17ce55['callId']+'\x20('+_0x17ce55['toolName']+'):\x20'+_0x17ce55[_0x3d5dd5(0x3d9,_0x34fda1._0x27b6e6,0x46c,_0x34fda1._0x94fd12)];if(throwOnError)throw new Error(_0x237286);console[_0x3d5dd5(_0x34fda1._0x2b3f6e,_0x34fda1._0x7e35c7,0x51d,0x622)](_0x3d5dd5(_0x34fda1._0x3a1a8a,_0x34fda1._0x228c30,_0x34fda1._0x188ab0,0x637)+_0x237286),_0x106450['push']({'id':_0x17ce55[_0x3d5dd5(_0x34fda1._0xe617db,0x5e7,0x2de,_0x34fda1._0x1169f9)],'name':_0x17ce55[_0x3d5dd5(0x4cb,_0x34fda1._0x52f37f,0x718,0x565)],'parameters':{},'editInstruction':_0x1ba1c[_0x3d5dd5(_0x34fda1._0x5455da,_0x34fda1._0x5ac120,_0x34fda1._0x2b099b,_0x34fda1._0x38a2ac)]});}else _0x106450['push'](_0x17ce55[_0x3a268e(_0x34fda1._0x3418aa,_0x34fda1._0x2c66ee,0x145,0x2ac)]);}return _0x106450;}function convertToolCallsWithErrorHandling(_0x12c8c3,_0x2f0fa0={}){const _0x59ff23={_0x5db3e3:0x88d,_0x16999b:0x7b3,_0x10018c:0x883,_0x212e28:0x8cc,_0x4f9b5b:0x35a,_0x2b84ea:0x9ef,_0x37d321:0x83c,_0x4348be:0x385,_0x255d3c:0x50b,_0x5612eb:0x4b0,_0x5e7ad0:0x27e,_0x17f895:0x304,_0x51ed8e:0x46d,_0x1ee797:0x74d,_0x2bb059:0x6ea,_0xfeb6f1:0x676,_0x1fdce5:0x7e2,_0x10351b:0x563,_0x4d7b77:0x486,_0x399e8e:0x402,_0x442f8f:0x642,_0x5aab1f:0x654},_0x508b60={_0x1df360:0x41},_0x129cc9={_0x373a49:0x1},{strict:strict=![],availableTools:_0x2a3358}=_0x2f0fa0,_0x30730c=[];function _0x3cace6(_0xebfb0d,_0x49038e,_0x5454f7,_0x8625cd){return _0x55e1bc(_0xebfb0d,_0x49038e-0xe1,_0x5454f7-_0x129cc9._0x373a49,_0x49038e- -0x28);}function _0x573b2f(_0x405e7c,_0x42894d,_0x99378a,_0x396846){return _0x3a64dd(_0x405e7c-0x191,_0x99378a,_0x396846-0xeb,_0x396846-_0x508b60._0x1df360);}const _0x65aad9=[];for(const _0x2af90a of _0x12c8c3){const _0x41cc6f=convertToolCall(_0x2af90a,{'strict':strict,'availableTools':_0x2a3358});if(!_0x41cc6f[_0x3cace6(_0x59ff23._0x5db3e3,_0x59ff23._0x16999b,_0x59ff23._0x10018c,_0x59ff23._0x212e28)]){const _0x2ded9f=_0x41cc6f[_0x573b2f(0x561,_0x59ff23._0x4f9b5b,0x581,0x46d)]===_0x3cace6(0x77a,0x88b,0x64a,0x669)&&_0x2a3358&&!_0x2a3358['has'](_0x2af90a[_0x573b2f(0x624,0x757,_0x59ff23._0x2b84ea,_0x59ff23._0x37d321)][_0x573b2f(_0x59ff23._0x4348be,0x51b,0x3cf,_0x59ff23._0x255d3c)])?'tool_not_found':_0x41cc6f[_0x573b2f(_0x59ff23._0x5612eb,_0x59ff23._0x5e7ad0,_0x59ff23._0x17f895,_0x59ff23._0x51ed8e)];_0x65aad9['push']({'id':_0x41cc6f['callId'],'name':_0x41cc6f[_0x3cace6(_0x59ff23._0x1ee797,0x62d,0x64b,0x507)],'error':_0x41cc6f[_0x3cace6(0x7f3,_0x59ff23._0x2bb059,_0x59ff23._0xfeb6f1,_0x59ff23._0x1fdce5)],'errorType':_0x2ded9f});}else _0x30730c[_0x3cace6(_0x59ff23._0x10351b,0x4ee,_0x59ff23._0x4d7b77,_0x59ff23._0x399e8e)](_0x41cc6f[_0x3cace6(_0x59ff23._0x442f8f,_0x59ff23._0x5aab1f,0x55e,0x569)]);}return{'success':!![],'invocations':_0x30730c,'errors':_0x65aad9['length']>0x0?_0x65aad9:void 0x0};}var removeAttachmentTokens=(_0x4d14e8,_0x4d1f8f)=>{const _0x166a94={_0x3945f9:0x1ff,_0x2e4cae:0x1de,_0x346afb:0x9a,_0x572993:0x2df,_0x2a1fde:0x226,_0x563666:0x9c,_0x101860:0xf9,_0x42c29a:0x1e4,_0x5306a6:0xf2,_0x566977:0x157},_0x239f46={_0xb17ed1:0xc3};return _0x4d1f8f['reduce']((_0x51fd25,_0x45708f)=>{function _0x19c6cc(_0x1e0acb,_0x418d36,_0x17c1df,_0x5f3c43){return _0xb207(_0x418d36- -_0x239f46._0xb17ed1,_0x17c1df);}function _0x5eab00(_0x461615,_0x514dfc,_0x2747c3,_0x49e4d7){return _0xb207(_0x514dfc- -0x3bb,_0x461615);}if(!_0x45708f[_0x19c6cc(0x1f0,_0x166a94._0x3945f9,_0x166a94._0x2e4cae,_0x166a94._0x346afb)])return _0x51fd25;return _0x51fd25[_0x5eab00(-0x26e,-0x1d7,-_0x166a94._0x572993,-_0x166a94._0x2a1fde)](_0x45708f[_0x5eab00(-_0x166a94._0x563666,-_0x166a94._0x101860,-_0x166a94._0x42c29a,-0x1c)])[_0x19c6cc(0x22c,0x98,_0x166a94._0x5306a6,-_0x166a94._0x566977)]('');},_0x4d14e8);},makeImagePart=_0x4acc6c=>{const _0x369a83={_0x5d8fc7:0x30f,_0x3182ba:0x17c,_0x2db192:0x9c,_0x53048f:0x17b,_0x6f8873:0x28f,_0x380438:0x8b,_0x556e82:0x17c,_0x1c378f:0x61,_0x130f29:0x76,_0x41ba37:0x9c,_0xf3ed68:0x2b4,_0xb99fd6:0x2f5,_0x5d1cd3:0x159,_0x350711:0xc1,_0x54691a:0x62,_0x5afe8f:0xf1,_0x51dc13:0x2a1,_0x13a545:0x482,_0x5a432b:0x344,_0x5701fa:0x470,_0x23a743:0xbe,_0x4143d8:0x2d6},_0x37ac8c={_0x2d699c:0x5f8};function _0x470d95(_0x4bcbc3,_0x149c84,_0xb401f0,_0x4e33e3){return _0x55e1bc(_0x4e33e3,_0x149c84-0x1a6,_0xb401f0-0xfb,_0x149c84- -_0x37ac8c._0x2d699c);}const _0x109bc8=_0x4acc6c[_0x470d95(0x2c0,0x2f5,0x3a7,_0x369a83._0x5d8fc7)]??(_0x4acc6c[_0x470d95(_0x369a83._0x3182ba,-_0x369a83._0x2db192,-0x6e,-_0x369a83._0x53048f)]?_0x470d95(-_0x369a83._0x6f8873,-_0x369a83._0x380438,-_0x369a83._0x556e82,_0x369a83._0x1c378f)+_0x4acc6c[_0x470d95(_0x369a83._0x130f29,-_0x369a83._0x41ba37,-_0x369a83._0xf3ed68,-0x205)]:void 0x0);function _0x1435d7(_0x2df37c,_0x100cc2,_0x495c4f,_0x582db0){return _0x55e1bc(_0x582db0,_0x100cc2-0x1ac,_0x495c4f-0x19f,_0x2df37c- -0x5bf);}return{'type':_0x1435d7(_0x369a83._0xb99fd6,0x3f1,_0x369a83._0x5d1cd3,0x24e),'data':_0x4acc6c[_0x1435d7(-_0x369a83._0x350711,-_0x369a83._0x54691a,-0x1ab,-_0x369a83._0x5afe8f)],'mimeType':_0x4acc6c[_0x1435d7(_0x369a83._0x51dc13,_0x369a83._0x13a545,_0x369a83._0x5a432b,_0x369a83._0x5701fa)],'altText':_0x109bc8,'source':_0x4acc6c[_0x470d95(0xe3,_0x369a83._0x23a743,0x2cc,_0x369a83._0x4143d8)],'name':_0x4acc6c['name']};},buildMessageParts=(_0xc743ed,_0x14d598)=>{const _0xdbb4f1={_0x449b91:0x2b3,_0x2a5c2b:0xff,_0x4e36a7:0x320,_0x409417:0x1e8,_0x4f526f:0x42,_0x295dae:0xd1,_0x1fe95c:0xe4,_0x5d33e5:0x42,_0x5186d4:0x77,_0x536f05:0xc4,_0x16ad4a:0x15d,_0x15758b:0x87,_0x52e9cd:0x10b,_0x3deb5d:0x5a,_0x2dbf60:0x1c3,_0x2bf511:0x140,_0x583511:0x9,_0xe0ab48:0xfb,_0x166fcd:0x1c9,_0x3c09f3:0x225},_0x511c13={_0x3db33c:0x126};if(_0x14d598[_0x40a991(_0xdbb4f1._0x449b91,_0xdbb4f1._0x2a5c2b,_0xdbb4f1._0x4e36a7,-0xe5)]===0x0)return _0xc743ed?[{'type':_0x37829a(0x231,_0xdbb4f1._0x409417,-0x9,_0xdbb4f1._0x4f526f),'text':_0xc743ed}]:[];let _0x3179a7=_0xc743ed;const _0x548a36=[];function _0x40a991(_0x295fe0,_0x36c793,_0x99e888,_0x5f52cc){return _0x55e1bc(_0x5f52cc,_0x36c793-0x12a,_0x99e888-0xb4,_0x36c793- -0x58d);}const _0x27faea=[];for(const _0xa4beb8 of _0x14d598){const _0x523505=_0xa4beb8[_0x40a991(-_0xdbb4f1._0x295dae,_0xdbb4f1._0x1fe95c,-0x98,0x24b)];if(!_0x523505){_0x27faea[_0x40a991(-_0xdbb4f1._0x5d33e5,-_0xdbb4f1._0x5186d4,_0xdbb4f1._0x536f05,-0xbf)](_0xa4beb8);continue;}const _0x4e1e84=_0x3179a7[_0x40a991(0x129,0x9e,0x96,-_0xdbb4f1._0x16ad4a)](_0x523505);if(_0x4e1e84===-0x1){_0x27faea[_0x37829a(0x102,-0x113,-0xfd,-0xe9)](_0xa4beb8);continue;}const _0x25c04c=removeAttachmentTokens(_0x3179a7['slice'](0x0,_0x4e1e84),_0x14d598);_0x25c04c[_0x37829a(-_0xdbb4f1._0x15758b,0x1bb,0x79,_0xdbb4f1._0x52e9cd)]>0x0&&_0x548a36[_0x40a991(-0x2b0,-0x77,-_0xdbb4f1._0x3deb5d,0x43)]({'type':_0x37829a(-_0xdbb4f1._0x2dbf60,_0xdbb4f1._0x2bf511,-_0xdbb4f1._0x583511,-0x23d),'text':_0x25c04c}),_0x548a36['push'](makeImagePart(_0xa4beb8)),_0x3179a7=_0x3179a7['slice'](_0x4e1e84+_0x523505['length']);}const _0x55e5e3=removeAttachmentTokens(_0x3179a7,_0x14d598);_0x55e5e3['length']>0x0&&_0x548a36[_0x40a991(0x14d,-_0xdbb4f1._0x5186d4,-0x9f,_0xdbb4f1._0xe0ab48)]({'type':_0x40a991(-_0xdbb4f1._0x166fcd,0x7d,-0x83,0x28b),'text':_0x55e5e3});for(const _0x242bed of _0x27faea){_0x548a36[_0x37829a(-0x46,-0x29a,-0xfd,-_0xdbb4f1._0x3c09f3)](makeImagePart(_0x242bed));}function _0x37829a(_0xa809b3,_0x4be4aa,_0x408139,_0x4fc45f){return _0x55e1bc(_0x4fc45f,_0x4be4aa-0x1a8,_0x408139-_0x511c13._0x3db33c,_0x408139- -0x613);}return _0x548a36;},resolveDisplayText=(_0x107c13,_0x2a5cc0,_0x17313d)=>{const _0x913e40={_0x5cc705:0x8dc,_0xb2ffd7:0x56e,_0x2d80da:0x679,_0x524e83:0x350,_0x3750b8:0x5c9,_0x1bba8b:0x609,_0x1b64c7:0x5c2},_0x5b0ab2={_0x3c90e5:0x1b1,_0x395e67:0x3e9,_0x319b8c:0x17a,_0x1b722d:0x15f,_0xafb273:0xb9,_0x10e7e7:0xc0},_0x485a72={_0x19b089:0x28},_0x4d4cf7={_0x139324:0x103,_0x520262:0x29},_0x35b10c={_0x41ff72:0xe2,_0x42150b:0x35};if(_0x17313d&&_0x17313d[_0x1307c7(0x84c,_0x913e40._0x5cc705,0x709,_0x913e40._0xb2ffd7)]()[_0x1307c7(_0x913e40._0x2d80da,0x755,0x579,_0x913e40._0x524e83)]>0x0)return _0x17313d;function _0x10eb94(_0x349c12,_0x118070,_0x49e713,_0x42a7c1){return _0x3a64dd(_0x349c12-_0x35b10c._0x41ff72,_0x118070,_0x42a7c1- -0x5b8,_0x42a7c1-_0x35b10c._0x42150b);}let _0x4d892b=_0x107c13;function _0x1307c7(_0x302854,_0x3d2bf0,_0x586cb3,_0x25b111){return _0x3a64dd(_0x302854-_0x4d4cf7._0x139324,_0x3d2bf0,_0x586cb3-_0x4d4cf7._0x520262,_0x25b111-0x45);}return _0x2a5cc0[_0x1307c7(_0x913e40._0x3750b8,_0x913e40._0x1bba8b,0x59a,_0x913e40._0x1b64c7)]((_0x57f660,_0x578397)=>{const _0x4ed772={_0xa318f3:0xf1,_0x30ef5c:0xff};function _0x83a58b(_0x22e9ff,_0x5e7d89,_0x57a3ee,_0x501ddf){return _0x1307c7(_0x22e9ff-_0x485a72._0x19b089,_0x57a3ee,_0x22e9ff- -0x5fa,_0x501ddf-0x32);}function _0x519186(_0x2d752f,_0x165bba,_0xaf4dd1,_0x5cb66e){return _0x1307c7(_0x2d752f-_0x4ed772._0xa318f3,_0xaf4dd1,_0x5cb66e- -_0x4ed772._0x30ef5c,_0x5cb66e-0x96);}const _0xdaad2b=_0x57f660[_0x83a58b(-_0x5b0ab2._0x3c90e5,-0x137,-0x3e6,-0x177)]??_0x57f660[_0x83a58b(0x1e0,0x350,_0x5b0ab2._0x395e67,0x33b)]??'image-'+(_0x578397+0x1),_0x8d9be9='[image:'+_0xdaad2b+']';_0x57f660[_0x83a58b(-0x9c,-0xad,-0x20,-0x13d)]&&_0x4d892b[_0x519186(0x413,0x679,0x26e,0x48d)](_0x57f660[_0x83a58b(-0x9c,0x174,-0x19e,-0x1ec)])?_0x4d892b=_0x4d892b[_0x83a58b(-_0x5b0ab2._0x319b8c,0x2,-_0x5b0ab2._0x1b722d,-0x113)](_0x57f660[_0x83a58b(-0x9c,-0x292,0xab,_0x5b0ab2._0xafb273)])[_0x519186(0x1de,_0x5b0ab2._0x10e7e7,0x4dd,0x2f8)](_0x8d9be9):_0x4d892b=_0x4d892b[_0x519186(0x69a,0x699,0x690,0x47a)]>0x0?_0x4d892b+'\x20'+_0x8d9be9:_0x8d9be9;}),_0x4d892b;},AgentOrchestrator=class{constructor(_0x3d3460,_0x21b3d1){const _0x9dc8c5={_0x1691b0:0x13d,_0x520bd0:0x1fc,_0x90927e:0x51,_0x45f492:0x1,_0xc43b2e:0x210,_0x282eab:0x3a6,_0x12f2b6:0x3b,_0x4b55c5:0xc9,_0x35a49f:0x134,_0x427ec3:0x47,_0x2dd7c2:0x63,_0x173c7c:0x152,_0x40b247:0x92,_0x11f5da:0x1c7,_0x31aa57:0x1ee,_0x5d821f:0xe8,_0x565257:0x13f,_0x30e854:0x229,_0x55bb5c:0x93,_0x39f31a:0x5,_0x373835:0x148,_0x545b43:0x1dc,_0x3e82b0:0x75,_0x2d67c2:0x242,_0x168297:0x1dc,_0x1ed085:0x29a,_0xd0d29c:0x1d0,_0x27834c:0x372,_0x43ba21:0x398,_0x2941ff:0x325,_0x2badb4:0x3b7,_0x2a7bd9:0x424,_0x188fa1:0x362,_0x17078b:0x259,_0x435f41:0x34e},_0x25d178={_0x21f6f1:0x52c},_0x298f0b={_0x22c472:0x581};this[_0x553ba0(_0x9dc8c5._0x1691b0,-0xa9,-_0x9dc8c5._0x520bd0,-0xce)]=_0x3d3460,this[_0x553ba0(0x2b5,0x2ed,0x37b,0x1f3)]=_0x21b3d1['memory'],this[_0x5b02df(_0x9dc8c5._0x90927e,-_0x9dc8c5._0x45f492,-0x17e,0x1f9)]=_0x21b3d1['tools'],this[_0x553ba0(0x143,0x337,0x3ad,0x35f)]=_0x21b3d1[_0x5b02df(_0x9dc8c5._0xc43b2e,0x38c,_0x9dc8c5._0x282eab,0x1bf)];function _0x553ba0(_0xc56782,_0x2b502c,_0x3d4e8e,_0x5bac4a){return _0x55e1bc(_0xc56782,_0x2b502c-0x36,_0x3d4e8e-0xc,_0x2b502c- -_0x298f0b._0x22c472);}this[_0x5b02df(-_0x9dc8c5._0x12f2b6,-_0x9dc8c5._0x4b55c5,_0x9dc8c5._0x35a49f,-0x1d3)]=_0x21b3d1['context']??this[_0x5b02df(-0x28f,-0xc9,-_0x9dc8c5._0x427ec3,_0x9dc8c5._0x2dd7c2)],this[_0x553ba0(-0xe2,_0x9dc8c5._0x173c7c,-_0x9dc8c5._0x40b247,0x81)]=_0x21b3d1['ids']??this[_0x5b02df(0x1e2,0x1a7,0x256,_0x9dc8c5._0x11f5da)];function _0x5b02df(_0x1e4236,_0xc7d0ac,_0x18b016,_0x1983e1){return _0x55e1bc(_0x1e4236,_0xc7d0ac-0xc8,_0x18b016-0x65,_0xc7d0ac- -_0x25d178._0x21f6f1);}this[_0x553ba0(-_0x9dc8c5._0x31aa57,-_0x9dc8c5._0x5d821f,-0xa4,-0x7)]=_0x21b3d1[_0x553ba0(-_0x9dc8c5._0x565257,-0xe8,-0xd4,-0xe7)]??this[_0x5b02df(-_0x9dc8c5._0x30e854,-_0x9dc8c5._0x55bb5c,-_0x9dc8c5._0x39f31a,-_0x9dc8c5._0x373835)],this[_0x5b02df(0x184,_0x9dc8c5._0x545b43,0x255,0x3dd)]=_0x21b3d1[_0x553ba0(-0xc0,0x187,0x0,-_0x9dc8c5._0x3e82b0)]??this[_0x5b02df(_0x9dc8c5._0x2d67c2,_0x9dc8c5._0x168297,0x168,_0x9dc8c5._0x1ed085)],this[_0x5b02df(_0x9dc8c5._0xd0d29c,0x372,0x4f6,0x123)]=_0x21b3d1['reminders']??this[_0x5b02df(0x579,_0x9dc8c5._0x27834c,0x226,_0x9dc8c5._0x43ba21)],this[_0x5b02df(0x4d3,0x3b7,_0x9dc8c5._0x2941ff,0x2a5)]=_0x21b3d1[_0x5b02df(0x57f,_0x9dc8c5._0x2badb4,0x23f,0x222)]??this[_0x553ba0(_0x9dc8c5._0x2a7bd9,_0x9dc8c5._0x188fa1,_0x9dc8c5._0x17078b,_0x9dc8c5._0x435f41)],this['events']=_0x21b3d1['events']??this['events'];}[_0x3a64dd(0x3ca,0x269,0x418,0x266)]=new Map();[_0x55e1bc(0x562,0x5fd,0x247,0x463)]=new SimpleContextBuilder();['ids']=new SimpleId();['clock']=new SystemClock();[_0x55e1bc(0x6cd,0x7e1,0x91f,0x708)]=new SimpleCost();[_0x3a64dd(0x75b,0x94d,0x762,0x515)]=new NoopReminders();[_0x3a64dd(0x6c7,0x875,0x7a7,0x710)]=new NoopMetricsPort();['events']=new NoopEventPort();[_0x55e1bc(0x983,0x98b,0xaf3,0x8b8)];[_0x3a64dd(0x41c,0x2c1,0x3ef,0x5ab)];[_0x3a64dd(0x76a,0x93d,0x732,0x6b8)];['updateConfig'](_0x538ebc){const _0x5b396c={_0x411617:0x27b,_0x571dbd:0x3dd,_0x93bee9:0x5f7};function _0x5514c3(_0x4cf8dc,_0x35ab41,_0x2af1a0,_0x501839){return _0x55e1bc(_0x501839,_0x35ab41-0x8b,_0x2af1a0-0x191,_0x35ab41- -0xfb);}this['cfg']={...this[_0x5514c3(_0x5b396c._0x411617,_0x5b396c._0x571dbd,0x1c0,_0x5b396c._0x93bee9)],..._0x538ebc};}['setLLM'](_0x502a9e){const _0x43c233={_0x29350c:0x327},_0x1544d6={_0x4bffbe:0x8};function _0x559528(_0x36c9ec,_0x2b2681,_0x37a322,_0xcafab8){return _0x55e1bc(_0x37a322,_0x2b2681-0x64,_0x37a322-_0x1544d6._0x4bffbe,_0x36c9ec- -0x53a);}this[_0x559528(0x37e,0x494,_0x43c233._0x29350c,0x410)]=_0x502a9e;}['setTools'](_0x3b3544){const _0x3c73c8={_0x191a25:0x119};function _0x1b55a6(_0x4f9f4a,_0x15a93a,_0x4b3572,_0x824d44){return _0x3a64dd(_0x4f9f4a-0x18f,_0x4b3572,_0x4f9f4a- -0x2d6,_0x824d44-0x26);}this[_0x1b55a6(_0x3c73c8._0x191a25,0x100,0xe1,0x214)]=_0x3b3544;}[_0x55e1bc(0x547,0x870,0x4ed,0x733)](){const _0x16c3d9={_0xbd0eaa:0x1b4},_0x247e72={_0x1668a6:0x121,_0x32a671:0x561};function _0x3badf1(_0x2d70ef,_0x345e4d,_0x1817e1,_0xff16e8){return _0x55e1bc(_0x2d70ef,_0x345e4d-0xd7,_0x1817e1-_0x247e72._0x1668a6,_0xff16e8- -_0x247e72._0x32a671);}return this[_0x3badf1(-0x1ed,_0x16c3d9._0xbd0eaa,0x20a,-0x36)];}[_0x55e1bc(0x4c9,0x3e8,0x56b,0x5b4)](){const _0x3f6d98={_0x39e256:0x2fa,_0x4f0773:0x284,_0x59d843:0x12},_0x808ae4={_0x3633e6:0x193,_0x168c0a:0x6f2};function _0x1054b0(_0xa98308,_0x17d264,_0x247602,_0x221bb0){return _0x55e1bc(_0xa98308,_0x17d264-_0x808ae4._0x3633e6,_0x247602-0xb5,_0x17d264- -_0x808ae4._0x168c0a);}return this[_0x1054b0(_0x3f6d98._0x39e256,0x1c6,_0x3f6d98._0x4f0773,_0x3f6d98._0x59d843)];}[_0x3a64dd(0x402,0x355,0x4ff,0x502)](){const _0x2d90dd={_0x444caf:0x367,_0x151a54:0x194},_0x144cbd={_0x3c677e:0x1da};function _0x5b5797(_0x413cce,_0x1f103d,_0x2abd75,_0xfacfbb){return _0x55e1bc(_0x1f103d,_0x1f103d-_0x144cbd._0x3c677e,_0x2abd75-0x18a,_0x413cce- -0x171);}return this[_0x5b5797(_0x2d90dd._0x444caf,0x407,0x2b2,_0x2d90dd._0x151a54)];}[_0x3a64dd(0x526,0x37d,0x36b,0x11d)](_0x510e81){const _0x123e6f={_0x1523a7:0x57a,_0x3d3ec9:0x571,_0x3eb877:0x7bc},_0x42fbe6={_0x168327:0x49,_0x441165:0x2f4};function _0x55792a(_0x4da9f9,_0x566627,_0x17f3b1,_0x51701e){return _0x55e1bc(_0x17f3b1,_0x566627-_0x42fbe6._0x168327,_0x17f3b1-0x12d,_0x4da9f9- -_0x42fbe6._0x441165);}this[_0x55792a(_0x123e6f._0x1523a7,0x528,_0x123e6f._0x3d3ec9,_0x123e6f._0x3eb877)]=_0x510e81;}[_0x3a64dd(0x475,0x4da,0x359,0x4fb)](_0x5c88d0){const _0x4be950={_0x5ce7a2:0x144,_0x2dd290:0x18f,_0x59010b:0x31c};function _0x4d6f07(_0x1c484a,_0x2b848a,_0x4c1d36,_0x5a230c){return _0x3a64dd(_0x1c484a-0x17c,_0x2b848a,_0x1c484a- -0x31e,_0x5a230c-0xf8);}this[_0x4d6f07(_0x4be950._0x5ce7a2,0x3c,_0x4be950._0x2dd290,_0x4be950._0x59010b)]=_0x5c88d0;}[_0x3a64dd(0x49a,0x2e8,0x4e5,0x4b1)](_0x210e65){const _0x4aed34={_0x11b998:0x74b,_0x35a2ac:0x524},_0x513adc={_0x12a80b:0x186};function _0x12f3df(_0x17a581,_0x7fc3dd,_0x3f0772,_0x311f06){return _0x55e1bc(_0x311f06,_0x7fc3dd-_0x513adc._0x12a80b,_0x3f0772-0xa5,_0x7fc3dd- -0x3bf);}this[_0x12f3df(_0x4aed34._0x11b998,_0x4aed34._0x35a2ac,0x4dd,0x59c)]=_0x210e65;}[_0x55e1bc(0x251,0x50d,0x648,0x467)](){return this['metrics'];}[_0x3a64dd(0x445,0x42b,0x3cd,0x2ca)](_0x437bc6){const _0x5451a8={_0x452436:0x61,_0x5a3450:0xa6,_0x4cf917:0x120,_0x2f1a38:0x269,_0x14f642:0xc0,_0x483551:0x19d,_0x4e2817:0xbf,_0x59244e:0xf0,_0x34e4e0:0x2ab,_0x5a174c:0x2b4,_0x12ac44:0x20,_0x32ea03:0x55,_0x1cfa55:0x91,_0x14648d:0x184,_0x5851e8:0x24d,_0x47bfb2:0x10c,_0x5cb473:0x68,_0x474055:0x16b,_0x3b2e1f:0x134},_0xbae234={_0x398d21:0xc5},_0x2fcaaf={_0x2778c7:0x1db},_0x3a97b4=['file_read',_0x5d0291(0x23a,-_0x5451a8._0x452436,-_0x5451a8._0x5a3450,0x39),_0x5d0291(_0x5451a8._0x4cf917,-0xc5,_0x5451a8._0x2f1a38,_0x5451a8._0x14f642),_0x5d0291(_0x5451a8._0x483551,-_0x5451a8._0x4e2817,_0x5451a8._0x59244e,0x7c),'glob_tool',_0x5d0291(-0x226,-0x236,-_0x5451a8._0x34e4e0,-_0x5451a8._0x5a174c)];function _0x2eab1d(_0x2905eb,_0x51c2b0,_0x1f86f9,_0xf571f5){return _0x55e1bc(_0xf571f5,_0x51c2b0-_0x2fcaaf._0x2778c7,_0x1f86f9-0x15c,_0x51c2b0- -0x56b);}function _0x5d0291(_0xb68627,_0x1c46ce,_0x485899,_0x1a024e){return _0x55e1bc(_0xb68627,_0x1c46ce-0x15d,_0x485899-_0xbae234._0x398d21,_0x1a024e- -0x707);}const _0xc74756=[_0x2eab1d(_0x5451a8._0x12ac44,_0x5451a8._0x32ea03,_0x5451a8._0x1cfa55,0x242),_0x2eab1d(-_0x5451a8._0x14648d,-0xc7,0x181,-_0x5451a8._0x5851e8)];return _0x3a97b4[_0x5d0291(_0x5451a8._0x47bfb2,0x16,-0x7b,-_0x5451a8._0x5cb473)](_0x437bc6)||_0xc74756[_0x2eab1d(_0x5451a8._0x474055,_0x5451a8._0x3b2e1f,0x126,-0xe5)](_0x437bc6);}async[_0x3a64dd(0x6d0,0x4ff,0x624,0x67d)](_0x3e66b0,_0x5c60c8,_0x5d0780,_0x1750ea,_0x28ffdd,_0x2774f0,_0x3f1d89,_0xca3517,_0xcdd5a8,_0x2476ee){const _0x245c08={_0x4bbd4c:0x7d9,_0xd472d:0x42c,_0x18bcc9:0x211,_0x527228:0x2be,_0xe4717a:0x52b,_0x1e7392:0x6fe,_0x2437f9:0x514,_0x4a3100:0x729,_0xcbea82:0x5a9,_0x2e4685:0x2c0,_0x489a13:0x47b,_0x45568c:0x628,_0x1ed5af:0x32e,_0x495aea:0x508,_0x2b3486:0x4b1,_0x490be6:0x786,_0x2560de:0x87f,_0xa22187:0x48d,_0x3b8eb9:0x54e,_0x10b403:0x42e,_0xc24291:0x7d3,_0x1a6255:0x787,_0xc63bda:0x679,_0x325c8f:0x2c1,_0x25f4ea:0x68d,_0x616256:0x549,_0x5f1eca:0x56e,_0x5eaf5b:0x3e8,_0x3912de:0x54e,_0x3bd3b9:0x365,_0x1d9b9e:0x477,_0x12aec8:0x51c,_0x331260:0x6bc,_0x43f489:0x34d,_0x10ca1a:0x76e,_0x47ddd1:0x60f,_0x4cb5ca:0x771,_0x2bd513:0x133,_0x296bfa:0x46f,_0x354805:0x447,_0x8f8eed:0x42f,_0x47056d:0x50e,_0x54976f:0x5d3,_0x5ea873:0x9ba,_0x4ed98f:0x51a,_0x3df7e6:0x86b,_0x5d74ef:0x4ae,_0x42de32:0x525,_0x3df4da:0x61d,_0x2b2a21:0x922,_0x555d92:0x583,_0x4b5053:0x884,_0x4a9c6b:0x6a4,_0x1c2290:0x40e,_0x41798e:0x49c,_0x12ff7a:0x4b0,_0x1dc88a:0x728,_0x28d350:0x48d,_0x4a85c6:0x84b,_0xd2bc34:0x693,_0x347aa3:0x3ea,_0x2358ff:0x578,_0x31efab:0x465,_0x732c35:0x537,_0x5ee090:0x618,_0x6126dd:0x680,_0x528c1d:0x801},_0x17c886=[..._0x2774f0,..._0xcdd5a8||[]],_0x28f4f8={'id':this[_0x37f8b1(0x7f6,0x5b3,0x6c5,_0x245c08._0x4bbd4c)][_0x37f8b1(_0x245c08._0xd472d,0x43d,0x5c9,0x56c)](),'role':'assistant','content':_0x3f1d89??null,'timestamp':this[_0x1c7acb(0x1d9,_0x245c08._0x18bcc9,_0x245c08._0x527228,0x29f)][_0x37f8b1(_0x245c08._0xe4717a,0x78c,_0x245c08._0x1e7392,_0x245c08._0x2437f9)](),'tool_calls':_0x17c886,'usage':_0xca3517};_0x1750ea['push']({'role':'assistant','content':_0x3f1d89??null,'tool_calls':_0x17c886});function _0x1c7acb(_0x1da2ed,_0x2a60aa,_0x316b5,_0xab7bf7){return _0x55e1bc(_0x1da2ed,_0x2a60aa-0x70,_0x316b5-0xd,_0x316b5- -0x1db);}_0x28ffdd[_0x37f8b1(0x2f9,_0x245c08._0x4a3100,0x508,_0x245c08._0xcbea82)](_0x28f4f8);const _0x38f94f=[];for(const _0x17b663 of _0x2774f0){const _0x70ed53=_0x37f8b1(0x5a2,_0x245c08._0x2e4685,_0x245c08._0x489a13,_0x245c08._0x45568c);_0x1750ea[_0x37f8b1(0x598,_0x245c08._0x1ed5af,_0x245c08._0x495aea,_0x245c08._0x2b3486)]({'role':'tool','content':_0x70ed53,'tool_call_id':_0x17b663['id'],'name':_0x17b663[_0x37f8b1(_0x245c08._0x490be6,0xa6c,_0x245c08._0x2560de,0xa1d)][_0x37f8b1(_0x245c08._0xa22187,0x76f,_0x245c08._0x3b8eb9,_0x245c08._0x10b403)]});const _0x48a890={'id':_0x17b663['id'],'role':_0x37f8b1(_0x245c08._0xc24291,0x82c,_0x245c08._0x1a6255,_0x245c08._0xc63bda),'content':_0x70ed53,'timestamp':this[_0x37f8b1(0x57e,_0x245c08._0x325c8f,0x48b,0x5d4)]['iso'](),'tool_call_id':_0x17b663['id'],'name':_0x17b663[_0x1c7acb(_0x245c08._0x25f4ea,_0x245c08._0x616256,0x6b2,0x486)][_0x37f8b1(_0x245c08._0x5f1eca,_0x245c08._0x5eaf5b,_0x245c08._0x3912de,_0x245c08._0x3bd3b9)],'status':_0x1c7acb(_0x245c08._0x1d9b9e,_0x245c08._0x12aec8,0x537,_0x245c08._0x331260),'durationMs':0x0,'metadata':{'errorReason':'denied'}};_0x28ffdd[_0x1c7acb(0x3e4,_0x245c08._0x43f489,0x33b,0x579)](_0x48a890),_0x38f94f[_0x1c7acb(0x30e,0x299,0x33b,0x215)](_0x48a890),await this[_0x37f8b1(0x581,0x557,0x590,0x6f9)]?.[_0x37f8b1(_0x245c08._0x10ca1a,0x668,0x537,_0x245c08._0x47ddd1)]({'type':AgentEventTypes[_0x37f8b1(0x901,_0x245c08._0x4cb5ca,0x8c6,0x81a)],'conversationId':_0x5c60c8,'messageId':_0x5d0780,'result':{'id':_0x17b663['id'],'name':_0x17b663['function'][_0x1c7acb(0x2f9,_0x245c08._0x2bd513,0x381,_0x245c08._0x296bfa)],'status':_0x1c7acb(0x5d1,0x66f,0x537,0x313),'type':_0x1c7acb(_0x245c08._0x354805,0x4ec,_0x245c08._0x8f8eed,0x658),'result':_0x70ed53,'durationMs':0x0,'metadata':{'errorReason':_0x1c7acb(0x6ca,_0x245c08._0x47056d,0x52c,_0x245c08._0x54976f)}}});}const _0x1854fb=[];function _0x37f8b1(_0x7f13e1,_0x152a55,_0x1a7bfe,_0x1087ee){return _0x3a64dd(_0x7f13e1-0x13a,_0x152a55,_0x1a7bfe-0x12e,_0x1087ee-0x1b8);}if(_0x2476ee)for(const _0x1e6ddd of _0x2476ee){let _0x18d15b;if(_0x1e6ddd[_0x37f8b1(0x68c,_0x245c08._0x5ea873,0x774,0x5d5)]===_0x37f8b1(0x57d,_0x245c08._0x4ed98f,0x704,_0x245c08._0x3df7e6))_0x18d15b=_0x1e6ddd['result'];else _0x1e6ddd[_0x1c7acb(_0x245c08._0x5d74ef,0x490,_0x245c08._0x42de32,0x357)]===_0x37f8b1(_0x245c08._0x3df4da,0x558,0x5fc,0x6e8)?_0x18d15b=_0x1e6ddd['result']:_0x18d15b=JSON[_0x37f8b1(0x96c,_0x245c08._0x2b2a21,0x899,0x69a)](_0x1e6ddd[_0x1c7acb(0x2f4,0x718,0x50b,0x4cd)],null,0x2);_0x1854fb[_0x37f8b1(_0x245c08._0x555d92,0x311,0x508,0x642)]({'id':_0x1e6ddd['id'],'role':_0x37f8b1(0x9bb,0x5b4,_0x245c08._0x1a6255,_0x245c08._0x4b5053),'content':_0x18d15b,'timestamp':this[_0x37f8b1(_0x245c08._0x4a9c6b,_0x245c08._0x1c2290,0x48b,_0x245c08._0x41798e)][_0x1c7acb(_0x245c08._0x12ff7a,0x765,0x531,_0x245c08._0x1dc88a)](),'tool_call_id':_0x1e6ddd['id'],'name':_0x1e6ddd[_0x37f8b1(0x30a,0x608,0x54e,0x39d)],'status':_0x1e6ddd[_0x37f8b1(0x5f9,0x79d,0x774,0x7a9)],'durationMs':_0x1e6ddd[_0x37f8b1(0xa13,0x5bf,0x805,0x7fc)],'metadata':_0x1e6ddd[_0x1c7acb(_0x245c08._0x28d350,0x5c0,0x68d,0x82e)]});}await this[_0x1c7acb(0x4ab,_0x245c08._0x4a85c6,_0x245c08._0xd2bc34,0x44e)][_0x1c7acb(_0x245c08._0x347aa3,0x2f5,0x4b9,_0x245c08._0x2358ff)](_0x5c60c8,[_0x28f4f8,..._0x38f94f,..._0x1854fb]),await this['events']?.[_0x37f8b1(0x55a,_0x245c08._0x31efab,_0x245c08._0x732c35,0x3c3)]({'type':AgentEventTypes[_0x37f8b1(_0x245c08._0x5ee090,_0x245c08._0x6126dd,_0x245c08._0x528c1d,0x78e)],'conversationId':_0x5c60c8,'messageId':_0x5d0780,'content':_0x3e66b0,'usage':void 0x0});}async[_0x3a64dd(0x799,0x453,0x54a,0x47b)](_0x18069c,_0x35120b,_0x3032dd,_0x16dd73,_0x4932ae,_0x2e1efe,_0x5e56d9,_0x1d7358){const _0x435e59={_0x42a0cd:0x459,_0xb58fa8:0x41c,_0x1f1ea8:0x23d,_0x364665:0x678,_0x25046e:0x5d9,_0x1dba26:0x736,_0x499ccb:0x69b,_0x49375d:0x833,_0x406ad1:0x7e4,_0x574278:0x76a,_0x208d0f:0x386,_0x23b628:0x42f,_0x76a074:0x627,_0x6e734d:0x951,_0x14e548:0x714,_0x58c1df:0x8ec,_0x47183a:0x923,_0x5d30ba:0x78d,_0x235236:0x60f,_0x5454a9:0x6f1,_0x43fe6f:0x799,_0x5de255:0x685,_0x27a8e:0x699},_0x2cf5ad={_0xa5975f:0x244,_0x465ebb:0x81,_0xb4ae66:0x3ba,_0x18cd50:0x6,_0x20a36d:0xd4,_0x391cfd:0x2e,_0x4c7034:0x34c,_0x373305:0x3ad,_0x5a89cf:0x124,_0x57c3e6:0xe7,_0x5e074e:0x7e,_0x2e1e63:0x557,_0x1ba542:0x2bc,_0xbf9871:0x8c,_0x56c6e8:0x144},_0x228db1={_0x2ffa09:0xe7,_0x10bffc:0x39b},_0x5d9d7b={_0xaad0ce:0xd2};if(this[_0x359022(_0x435e59._0x42a0cd,0x3c7,_0x435e59._0xb58fa8,_0x435e59._0x1f1ea8)][_0x359022(0x935,0x919,0x710,_0x435e59._0x364665)]===![])return{'approvedCalls':_0x18069c,'bypassCalls':[],'bypassResults':[],'wasDenied':![]};function _0x359022(_0xc76947,_0x603754,_0x139e7e,_0x548376){return _0x3a64dd(_0xc76947-0x70,_0x603754,_0x139e7e-0x80,_0x548376-0xf6);}const _0x29442e=_0x18069c['filter'](_0x17a82d=>!this[_0x299ee3(0x3a3,0x5be,0x442,0x432)](_0x17a82d[_0x359022(0x68f,0x5ce,0x7d1,0x706)][_0x299ee3(0x44d,0x3e1,0x495,0x2ca)])),_0x5ed23e=_0x18069c[_0x299ee3(_0x435e59._0x25046e,_0x435e59._0x1dba26,_0x435e59._0x499ccb,_0x435e59._0x49375d)](_0x8b4756=>this[_0x359022(0x40b,0x2fc,0x44d,0x353)](_0x8b4756[_0x359022(0x5b1,0x881,0x7d1,0x5a1)][_0x299ee3(0x245,0x5e3,0x495,0x44f)]));function _0x299ee3(_0x3a0dd7,_0x3f5fa6,_0x4a8acb,_0x257b6c){return _0x55e1bc(_0x257b6c,_0x3f5fa6-0x190,_0x4a8acb-0x1c1,_0x4a8acb- -0xc7);}if(_0x29442e[_0x359022(_0x435e59._0x406ad1,0x80e,0x5d0,0x51f)]===0x0)return{'approvedCalls':_0x5ed23e,'bypassCalls':[],'bypassResults':[],'wasDenied':![]};const _0x59fa37=async()=>{function _0x86abf7(_0x1a1665,_0x5a57cc,_0x2a00bd,_0x39ed89){return _0x359022(_0x1a1665-_0x5d9d7b._0xaad0ce,_0x2a00bd,_0x39ed89- -0x39e,_0x39ed89-0x132);}if(_0x5ed23e[_0x3a990c(0x422,0x1,0x235,_0x2cf5ad._0xa5975f)]===0x0)return[];const _0xdff4d5=this['getAvailableToolNames'](),_0x54f11e=convertToolCallsWithErrorHandling(_0x5ed23e,{'strict':this[_0x3a990c(0x2ab,0x2ac,_0x2cf5ad._0x465ebb,0x94)][_0x3a990c(_0x2cf5ad._0xb4ae66,0x2c7,0x1b9,_0x2cf5ad._0x18cd50)]??![],'availableTools':_0xdff4d5}),_0x39676d=await this[_0x3a990c(-0x122,-0x115,_0x2cf5ad._0x20a36d,-_0x2cf5ad._0x391cfd)]['executeToolCalls'](_0x54f11e[_0x86abf7(_0x2cf5ad._0x4c7034,_0x2cf5ad._0x373305,0x1d3,0x386)],{'conversationId':_0x35120b,'agentId':this[_0x86abf7(-0x197,-_0x2cf5ad._0x5a89cf,_0x2cf5ad._0x57c3e6,_0x2cf5ad._0x5e074e)]['id'],'messageId':_0x3032dd,'eventPort':this['events']},this['cfg'][_0x3a990c(_0x2cf5ad._0x2e1e63,0x1e0,0x3b7,0x2fa)]??0x3,_0x1d7358);function _0x3a990c(_0x16b923,_0x15e900,_0x5e0307,_0x296fa6){return _0x359022(_0x16b923-_0x228db1._0x2ffa09,_0x15e900,_0x5e0307- -_0x228db1._0x10bffc,_0x296fa6-0x1f2);}for(const _0x40445c of _0x39676d){await this[_0x86abf7(_0x2cf5ad._0x1ba542,-_0x2cf5ad._0xbf9871,-0xa9,_0x2cf5ad._0x56c6e8)]?.['emit']({'type':AgentEventTypes[_0x86abf7(0x362,0x612,0x66e,0x47a)],'conversationId':_0x35120b,'messageId':_0x3032dd,'result':_0x40445c});}return _0x39676d;};let _0x3388ad=[];_0x5ed23e[_0x299ee3(_0x435e59._0x574278,_0x435e59._0x208d0f,0x5c5,0x7eb)]>0x0&&(_0x3388ad=await _0x59fa37());try{const _0x3f2893=await this[_0x299ee3(0x5b8,_0x435e59._0x23b628,0x413,_0x435e59._0x76a074)](_0x29442e,_0x35120b,_0x3032dd);if(_0x359022(0x6bd,_0x435e59._0x6e734d,_0x435e59._0x14e548,_0x435e59._0x58c1df)in _0x3f2893){const _0x279aef=_0x3f2893['editInstruction'],_0x16d25=_0x29442e['map'](_0x13c46c=>({..._0x13c46c,'editInstruction':_0x279aef}));return{'approvedCalls':_0x16d25,'bypassCalls':_0x5ed23e,'bypassResults':_0x3388ad,'wasDenied':![]};}return{'approvedCalls':_0x3f2893,'bypassCalls':_0x5ed23e,'bypassResults':_0x3388ad,'wasDenied':![]};}catch(_0x1d1f4c){const _0x2029ac=_0x1d1f4c instanceof Error?_0x1d1f4c[_0x359022(_0x435e59._0x47183a,_0x435e59._0x5d30ba,0x835,0x8a9)]:_0x359022(_0x435e59._0x235236,_0x435e59._0x5454a9,_0x435e59._0x43fe6f,0x86f),_0x503ccd=_0x299ee3(0x5c7,0x608,0x6f0,0x8d1)+_0x2029ac;return await this[_0x299ee3(0x880,_0x435e59._0x5de255,_0x435e59._0x27a8e,0x899)](_0x503ccd,_0x35120b,_0x3032dd,_0x16dd73,_0x4932ae,_0x29442e,_0x2e1efe,_0x5e56d9,_0x5ed23e,_0x3388ad),{'approvedCalls':[],'bypassCalls':_0x5ed23e,'bypassResults':_0x3388ad,'wasDenied':!![],'denialMessage':_0x503ccd};}}async[_0x3a64dd(0x425,0x75e,0x5c7,0x4d2)](_0x3e1c02,_0x2ce99b={}){const _0x18435e={_0x4705a1:0x410,_0x3c79aa:0x1bb,_0x392c31:0x254,_0x134c4c:0x8b,_0x5bebd5:0x4a1,_0x23ca2e:0x722,_0x4523fb:0x62e,_0x30e587:0x29d,_0x508e75:0x5e1,_0x1c6a3b:0x7d8,_0x564071:0x519,_0x556cce:0x3af,_0x13c85c:0x34e,_0x7bddb7:0x2f8,_0x5486a3:0x705,_0x3a298c:0x72f,_0x5ae6f7:0x33b,_0x22c29f:0x488,_0x375e52:0x74f,_0x59e936:0x75e,_0x5c88c1:0x358,_0x5e7508:0x453,_0x19477a:0x2d8,_0x14da60:0x2b0,_0xc93d04:0x353,_0x2c0a2b:0x12e,_0x252b3f:0xdb,_0x789d31:0x49b,_0x34360f:0x456,_0x520f22:0x27e,_0x1409e5:0x549,_0x5d1e2d:0x719,_0x537168:0x67a,_0x49ff1a:0x4b8,_0x41fbb0:0x6db,_0x5b6340:0x5e,_0x1309d6:0x175,_0x4e7428:0x158,_0x36034f:0x316,_0x4c7455:0xd6,_0x4cff1b:0x2a6,_0x16b27e:0x1ff,_0x392b48:0x41e,_0x2be04f:0x45c,_0x53f1a8:0x24b,_0x3a5dab:0x411,_0x1fd887:0x2f9,_0x52c09f:0x67f,_0x4eac79:0x3cb,_0x3de1ef:0x5f1,_0x50b0b2:0xa7,_0x4da080:0x143,_0x2202f8:0x30e,_0x34a5b8:0x44d,_0x37046e:0x22c,_0x3fc204:0x5f8,_0x45f2b0:0x2e0,_0x545641:0xda,_0x30e48e:0x164,_0x2eb7ea:0x6dc,_0x2b9a64:0x666,_0x435471:0x594,_0x709c0f:0x1a8,_0x433c6a:0x381,_0x5d38af:0x38,_0xff2430:0x136,_0x207d7a:0x3ed,_0x14eb43:0x5ba,_0x258c54:0x38e,_0x2a8e96:0x4e0,_0x2f7a12:0x443,_0x1e257c:0x35e,_0x16d41a:0x18d,_0x1d85c3:0x182,_0x2ff5da:0x321,_0x12ee44:0x23f,_0x3aad8d:0x410,_0x3281c5:0x36,_0x26d032:0xe6,_0x1837fa:0x482,_0x8f8baa:0x1cb,_0x8b2c76:0x367,_0x467892:0x42,_0x24a731:0x1e6,_0x50c445:0x101,_0x468a4b:0x204,_0x36cd8b:0x3b5,_0x1fff45:0x2f3,_0x3ab87d:0x1d8,_0x2ee693:0x3ab,_0x4997a2:0x2b9,_0x4ee656:0x383,_0x381654:0x288,_0x35a321:0x50,_0x3806c1:0x183,_0x2da933:0x92,_0x59cdac:0x527,_0x3a93cd:0x4f2,_0x21a87a:0x12f,_0x1b8151:0x129,_0x5016bd:0x176,_0x392a56:0x4d5,_0x45406a:0x2e1,_0x5beb1c:0x1c7,_0x83317b:0x2ca,_0xb8208:0x34f,_0x1f3eed:0x4a4,_0x3b7fa8:0x609,_0x3f4f12:0x534,_0x385c6b:0x6d6,_0x293adf:0x4a4,_0x4d6486:0x4c8,_0x22e366:0x258,_0x485318:0x26c,_0x531f0a:0x42a,_0x5a277a:0x5fd,_0x406d63:0x44c,_0x38003f:0x2bb,_0xa234ea:0x36e,_0x2b8403:0x2b8,_0x19ffd9:0x551,_0x20fb91:0x457,_0x3d4474:0x5b7,_0x4e72ff:0x6c,_0x2d876b:0x11e,_0x1b7f36:0x1,_0x4c872f:0x15e,_0x5ae974:0xca,_0x4cc178:0x2c1,_0x292d04:0x72c,_0x28b41e:0x2fc,_0x2a402e:0x1d8,_0x44b34d:0x604,_0x148aea:0x3db,_0x540b5e:0x719,_0x20355c:0x480,_0x301300:0x4cf,_0x384dba:0x6b2,_0x4a10ab:0x25c,_0x5d1d8e:0x34f,_0x57eca6:0x219,_0x35aaca:0x3e4,_0x13855d:0x580,_0xc51fb0:0x498,_0xed39e2:0xf2,_0x262946:0x432,_0x4e0d23:0x463,_0x4a92fd:0x539,_0x227c65:0x306,_0x4eb099:0x2fe,_0x57106a:0x3bc,_0x21ea1d:0x460,_0x57da2c:0x4dd,_0x458b30:0x670,_0x53fc26:0x63a,_0x5167c3:0x658,_0x39f1f6:0x424,_0x3ba011:0x174,_0x408f18:0x20,_0x27ea56:0x25b,_0x3a4529:0x4b1,_0xc1b2cd:0x344,_0x5268fc:0x302,_0xf0c80d:0x7d,_0x2dc505:0xbd,_0x16237a:0x96,_0x39385e:0x137,_0x1a9cc8:0x17c,_0xcc5c19:0x70,_0x37b095:0x43b,_0x26129b:0x401,_0x2d1570:0x35e,_0x3c79c8:0x5b,_0x237e45:0xc2,_0x18687e:0x4e,_0x5d31eb:0x64,_0x1585eb:0x312,_0x22d207:0x132,_0xddf1a0:0x1d3,_0x1cf8f2:0x156,_0x387b0f:0x183,_0x49f8d0:0x355,_0x3ab3ca:0x62,_0x53a3b2:0x275,_0x5a2177:0xf3,_0x3dfd49:0x47e,_0x40f4ae:0x1c0,_0x446e7e:0x32f,_0xcf24a4:0x371,_0x367f1f:0x552,_0x3abda5:0x15,_0xd0277c:0x64f,_0x40eefe:0x3c3,_0x56189b:0x2c2,_0x5b69a7:0x61,_0x44cae4:0xd1,_0x17e592:0x363,_0x3cb1c4:0x2cb,_0x584080:0x181,_0x52a591:0xf3,_0x26ed96:0x11d,_0x10a918:0x202,_0x40a6b9:0x3d2,_0x503939:0x7dd,_0x27b77a:0x6fc,_0x338cb9:0x2aa,_0x4eb726:0x3de,_0x5daaa1:0xa7,_0x14201c:0x50,_0x4d6401:0x2ef,_0x53611f:0x1fc,_0x528dbb:0x6db,_0xbea4c2:0x199,_0x2abbcf:0x119,_0x2b8a13:0xbe,_0x3ad40d:0xb0,_0x47205a:0xd,_0x3faed5:0x68,_0x15c76a:0x777,_0x1cfaba:0x647,_0x5f1c0b:0x78c,_0x2280fd:0x42a,_0x158ea7:0x555,_0x586360:0x11d,_0x553068:0x274,_0x5a671c:0x1b7,_0x49e462:0x4b0,_0x7fb380:0x515,_0x201197:0x3dc,_0x3852d8:0x105,_0x528e33:0x5d9,_0x5533dd:0x439,_0xcbe701:0x400,_0x440069:0x4ef,_0x18a19e:0x2cf,_0x4c25cd:0x8b,_0x300c49:0x151,_0x515755:0x64,_0x32a0eb:0x59b,_0x3eead2:0x352,_0x196730:0x372,_0x32af00:0x18c,_0x1bd0a3:0x194,_0x4ee0bf:0x2d8,_0x1f882c:0x2cd,_0x3bc5aa:0x5b8,_0x216e41:0x52f,_0x5db0c9:0x48d,_0x35b07c:0x6e,_0x1dba88:0x240,_0x1784f9:0x279,_0x5106b9:0x323,_0x12c3ae:0x387,_0x4cbb45:0x25c,_0x1934fe:0x533,_0x42c871:0x56f,_0x23925f:0x374,_0x484297:0x309,_0x31de1c:0x431,_0x20d51c:0x40e,_0x41320f:0x14a,_0x4de3de:0xbb,_0x3c9cb7:0x13b,_0x33ae52:0x2a9,_0x561cd8:0x56b,_0xfb9f5:0x834,_0x163cad:0x6b7,_0x488605:0x78f,_0x35c21d:0x108,_0x5786cd:0x1f3,_0x452d8c:0x130,_0x1b133f:0x59d,_0x25a3e9:0x799,_0x1aefd1:0x1c5,_0x45fe8c:0x3e0,_0x112776:0x549,_0x3074c9:0x387,_0x49308c:0x3bd,_0x4b848b:0x269,_0x34b41b:0x807,_0xdea258:0xfb,_0x86c15d:0x67,_0x1b336d:0x460,_0x299f8d:0x5de,_0x17c4ee:0x409,_0x3030b0:0x2d1,_0x2ec3b4:0x3a5,_0xf3b615:0x46b,_0x3b8439:0x50b,_0x218504:0x44d,_0x4718b9:0x460,_0xc11e84:0x31b,_0x281224:0x372,_0x242277:0x48a,_0x4b97a9:0x2a0,_0x2994e4:0x396,_0x3b2673:0x45e,_0x10348e:0x517,_0x109bb4:0x22a,_0x4b199a:0x37d,_0x179f42:0xaf,_0x24a58f:0x32b,_0x9d4020:0xec,_0x456bcf:0x367,_0x1fc6fe:0xd8,_0xdef0f:0x330,_0x4e63a:0xe8,_0x5b2261:0x112,_0x59e8be:0x104,_0x3ba3dd:0x1b4,_0x327674:0x202,_0x3bf071:0x1c2,_0x4b0adc:0x370,_0x18fd1c:0x283,_0x475234:0x25c,_0x21bc2e:0x344,_0xd5a130:0xf8,_0x2196e0:0x484,_0x316067:0x428,_0x276af5:0x329,_0x2017e0:0x4c3,_0x459009:0xa0,_0x22f08b:0xc6,_0xba9c58:0x44f,_0x39a00c:0x53d,_0x8e7d55:0x460,_0xfee339:0x474,_0x29dc36:0x327,_0x279417:0x556,_0x1e168b:0x5e2,_0x29e1e4:0x484,_0x2f820e:0x1ae,_0x3b1ad5:0x46f,_0xff2057:0x3e7,_0x8ae58d:0x60c,_0x228060:0x2bf,_0x11cab2:0x15a,_0x59fd66:0x200,_0x1b9aaa:0x3b,_0x56f9f2:0x90,_0x10af07:0x483,_0x40020a:0x682,_0x448408:0x3a6,_0x361e1f:0x4b3,_0x5ea07f:0x665,_0x3075f0:0x6a7,_0x1b264b:0x658,_0x56e54b:0x5ff,_0x36e2c2:0x207,_0xbf9822:0x4b3,_0x35e0c5:0x4be,_0x59c3c0:0x2e4,_0x55fc39:0x74,_0x159037:0x2c2,_0x5a2460:0x236,_0xdb0eab:0x81,_0x24a200:0x92,_0xe784d4:0x6b9,_0x19b39a:0x642,_0x2e3f40:0x818,_0x5aef77:0x2bb,_0x5d14a0:0x1ed,_0x50351a:0x3e0,_0x800334:0x1a5,_0x12d531:0x245,_0x403cfd:0x16,_0x210147:0x2ab,_0x1dd06b:0x2d5,_0x3ccf47:0xb6,_0x70d250:0x1b2,_0x3b6979:0x92,_0x5f39fc:0x2e2,_0x3157d3:0x5c7,_0x11c706:0x6d1,_0x2e2f32:0x632,_0x494169:0x251,_0x1ed5ea:0x317,_0x244a46:0x496,_0x2084ad:0x310,_0x10415e:0x388,_0x598440:0x4d7,_0x5a8d32:0x1a4},_0x336395={_0x11f587:0x439,_0x31d0c8:0x50f,_0x13a4d2:0x3ab,_0x4318f9:0x37e,_0x2ef93a:0x25d,_0x1da28c:0x3a5,_0x59f14b:0x274,_0x2129d1:0x61,_0x36bb6b:0x209,_0x112d23:0x3cb,_0xbdc0cc:0x122},_0x342bc8={_0x1df682:0x29},_0x447bf7={_0x36ce26:0x46,_0x197caf:0x3e1,_0x48fd60:0x222,_0x1e3f79:0x276,_0x426c6d:0x126,_0x2ef736:0xff,_0x466611:0x2ae,_0x22bc6d:0xce,_0x4ba59f:0x314,_0x22fd90:0x1a2,_0x305da9:0x6e5,_0x39f555:0x482,_0x39cfc2:0x5b7,_0x58a763:0x209},_0x4f55f4={_0x35bc98:0x6f0,_0x3814bb:0x599},_0xa1b16b={_0x4affb6:0x12a,_0x11be20:0x1c3,_0x384ecc:0x7f,_0x82e397:0x9f},_0x9ba5d4={_0x4e069c:0x172},_0x4479d6={_0x229fc:0x19d},_0x373ebb={_0x584db1:0x4ec,_0x5d8160:0x896,_0x30ce0c:0x120,_0x26d99b:0x205},_0x1eec96={_0x28a83c:0x145},_0x30cd06={_0x12db80:0xf4,_0xb246a5:0x441},_0x2ad7a9={_0x247288:0x339,_0x45afc:0x3d7,_0xb4abf5:0x2fb,_0x208742:0x50a,_0x444d4d:0x4ad,_0x572e50:0x2a7,_0x345cad:0xeb,_0x11bc24:0x594,_0xc958e:0x60c,_0x49f818:0x5af,_0x5d7a64:0x1fc,_0x425b4e:0x32a},_0x5e0a86={_0x514766:0x29a,_0x380781:0xa,_0x381bf7:0x19a,_0x236feb:0x63,_0x5d8c34:0x4f,_0x100f69:0x10,_0x43fe40:0x18d},_0x5adf2a={_0x5e8ac5:0x3a3,_0x346583:0x3c6,_0x3aad0c:0x3cb},_0x536e06={_0x4d990d:0x40e},_0x250615=_0x2ce99b[_0x1cd6ff(_0x18435e._0x4705a1,0x5ca,0x57b,0x41d)]??'default',_0x18b8c1=this[_0x1cd6ff(-0xc3,_0x18435e._0x3c79aa,_0x18435e._0x392c31,_0x18435e._0x134c4c)]['now'](),_0x140b4e=this[_0x4c1a40(0x2ed,0x51c,_0x18435e._0x5bebd5,0x2d0)][_0x4c1a40(0x3e5,0x420,0x30b,0x5e5)](),_0x29467f=await this[_0x4c1a40(_0x18435e._0x23ca2e,0x6b7,_0x18435e._0x4523fb,0x5d8)]['get'](_0x250615);let _0x11fdf1;function _0x1cd6ff(_0x365e83,_0x392b21,_0x5dbed5,_0x36fb40){return _0x55e1bc(_0x5dbed5,_0x392b21-0x1c6,_0x5dbed5-0xd6,_0x36fb40- -_0x536e06._0x4d990d);}let _0x328fe6,_0x5abe80,_0x43a8c5;const _0x215b06=this[_0x1cd6ff(0x28d,_0x18435e._0x30e587,0x6e,0x1a6)]();if(!_0x215b06)throw new Error(_0x4c1a40(0x719,_0x18435e._0x508e75,_0x18435e._0x1c6a3b,_0x18435e._0x564071));const _0x4afcb7=typeof _0x3e1c02===_0x4c1a40(0x212,_0x18435e._0x556cce,0x5bb,0x3cc)?{'text':_0x3e1c02,'displayText':_0x3e1c02,'attachments':[]}:{'text':_0x3e1c02[_0x4c1a40(0x62b,0x453,0x2fd,0x2f2)]??'','displayText':_0x3e1c02['displayText'],'attachments':Array[_0x1cd6ff(_0x18435e._0x13c85c,0x517,_0x18435e._0x7bddb7,0x42a)](_0x3e1c02[_0x4c1a40(_0x18435e._0x5486a3,0x50f,_0x18435e._0x3a298c,_0x18435e._0x5ae6f7)])?_0x3e1c02[_0x4c1a40(_0x18435e._0x22c29f,0x50f,_0x18435e._0x375e52,_0x18435e._0x59e936)]:[]};function _0x4c1a40(_0x18cce1,_0x20ae51,_0x55da0b,_0x43a06f){return _0x3a64dd(_0x18cce1-0x3b,_0x43a06f,_0x20ae51- -0x7b,_0x43a06f-0x1ee);}const _0x414216=_0x4afcb7['attachments'];_0x43a8c5=this['reminders'][_0x1cd6ff(0x4eb,0x18e,0x2b5,_0x18435e._0x5c88c1)](_0x4afcb7[_0x4c1a40(0x28b,_0x18435e._0x5e7508,0x516,_0x18435e._0x19477a)],{'conversationId':_0x250615});const _0x3dfa78=_0x43a8c5[_0x4c1a40(_0x18435e._0x14da60,_0x18435e._0xc93d04,0x429,_0x18435e._0x2c0a2b)]('\x0a'),_0x4f39a2=buildMessageParts(_0x3dfa78,_0x414216);let _0x2880b3;if(_0x414216['length']>0x0||_0x4f39a2['some'](_0x4a6a43=>_0x4a6a43[_0x1cd6ff(0x19c,0x1fa,0x124,0x2f2)]===_0x1cd6ff(0x38f,0x447,0x630,0x4a6)))_0x2880b3={'type':_0x1cd6ff(0x28d,0xe6,0xc8,_0x18435e._0x252b3f),'parts':_0x4f39a2};else{if(_0x4f39a2[_0x1cd6ff(_0x18435e._0x789d31,_0x18435e._0x34360f,0x427,_0x18435e._0x520f22)]===0x1&&_0x4f39a2[0x0]?.[_0x4c1a40(0x388,_0x18435e._0x1409e5,_0x18435e._0x5d1e2d,_0x18435e._0x537168)]===_0x4c1a40(0x322,0x453,0x252,0x2d1))_0x2880b3=_0x4f39a2[0x0][_0x4c1a40(_0x18435e._0x49ff1a,0x453,0x29e,0x55b)];else _0x4f39a2[_0x4c1a40(0x3b4,0x4d5,0x539,_0x18435e._0x41fbb0)]>0x0?_0x2880b3={'type':_0x1cd6ff(_0x18435e._0x5b6340,-_0x18435e._0x1309d6,-0x10,0xdb),'parts':_0x4f39a2}:_0x2880b3=_0x3dfa78;}_0x11fdf1=this[_0x1cd6ff(-0x13f,-0x5d,_0x18435e._0x4e7428,0x55)][_0x1cd6ff(0x2d5,0x52,_0x18435e._0x36034f,_0x18435e._0x4c7455)](_0x29467f,this[_0x4c1a40(0x1c5,0x321,_0x18435e._0x4cff1b,_0x18435e._0x16b27e)]['systemPrompt'],[_0x2880b3]),_0x5abe80=resolveDisplayText(_0x4afcb7[_0x4c1a40(0x356,0x453,0x412,0x2e4)],_0x414216,_0x4afcb7[_0x1cd6ff(0x4ea,_0x18435e._0x392b48,_0x18435e._0x2be04f,0x395)]);const _0x83ea13=this[_0x4c1a40(0x226,0x2e2,0x4b7,_0x18435e._0x53f1a8)]['iso']();_0x328fe6=[{'id':this['ids'][_0x1cd6ff(_0x18435e._0x3a5dab,0x206,_0x18435e._0x1fd887,0x1c9)](),'role':_0x4c1a40(_0x18435e._0x52c09f,0x57a,0x78e,_0x18435e._0x4eac79),'content':_0x2880b3,'timestamp':_0x83ea13}],await this[_0x4c1a40(_0x18435e._0x3de1ef,0x6b7,0x852,0x50b)]['append'](_0x250615,_0x328fe6);if(_0x2ce99b[_0x1cd6ff(_0x18435e._0x50b0b2,_0x18435e._0x4da080,_0x18435e._0x2202f8,0x1d3)]?.[_0x4c1a40(0x231,_0x18435e._0x34a5b8,_0x18435e._0x37046e,_0x18435e._0x3fc204)])throw new Error(_0x1cd6ff(_0x18435e._0x45f2b0,-_0x18435e._0x545641,0xdd,_0x18435e._0x30e48e));const _0x919e8=this['tools'][_0x4c1a40(0x7cd,_0x18435e._0x2eb7ea,_0x18435e._0x2b9a64,0x561)](this['cfg'][_0x1cd6ff(_0x18435e._0x435471,0x58c,_0x18435e._0x709c0f,_0x18435e._0x433c6a)]??[]),_0x50bd2f=_0x919e8[_0x1cd6ff(_0x18435e._0x5d38af,0xb,0x30b,_0x18435e._0xff2430)](_0x3a592f=>_0x3a592f[_0x1cd6ff(0x67f,0x2ed,0x3cb,0x47f)][_0x4c1a40(0x5cb,0x3a5,0x259,0x3c3)]);await this[_0x4c1a40(0x4c1,0x3e7,_0x18435e._0x207d7a,0x198)]?.[_0x4c1a40(_0x18435e._0x14eb43,_0x18435e._0x258c54,0x34b,0x2f5)]({'type':AgentEventTypes[_0x1cd6ff(0x229,_0x18435e._0x2a8e96,_0x18435e._0x2f7a12,0x309)],'conversationId':_0x250615,'messageId':_0x140b4e,'userContent':_0x5abe80,'enhanced':_0x43a8c5,'toolNames':_0x50bd2f});const _0x21bfb5=this['cfg']['reasoningEffort']?{'effort':this['cfg'][_0x1cd6ff(0x23b,_0x18435e._0x1e257c,0x2f9,_0x18435e._0x16d41a)]}:void 0x0,_0xf1f579={'LOW':0x400,'MEDIUM':0x1000,'HIGH':0x4000};let _0x2094e3;if(this[_0x4c1a40(_0x18435e._0x1d85c3,_0x18435e._0x2ff5da,_0x18435e._0x12ee44,_0x18435e._0x3aad8d)]['thinking']&&this[_0x1cd6ff(-0xc7,_0x18435e._0x3281c5,_0x18435e._0x26d032,0xca)]['thinking']!==_0x1cd6ff(0x309,0x5f9,0x5a3,_0x18435e._0x1837fa)){const _0x551c95=_0xf1f579[this[_0x1cd6ff(0x11a,-0x3a,-0x3a,0xca)]['thinking']]??0x1000;_0x2094e3={'type':_0x4c1a40(_0x18435e._0x8f8baa,_0x18435e._0x8b2c76,0x493,0x245),'budget_tokens':_0x551c95};}else this[_0x1cd6ff(-_0x18435e._0x467892,_0x18435e._0x24a731,_0x18435e._0x50c445,0xca)][_0x1cd6ff(_0x18435e._0x468a4b,_0x18435e._0x36cd8b,_0x18435e._0x1fff45,_0x18435e._0x3ab87d)]===_0x1cd6ff(_0x18435e._0x2ee693,0x569,0x4fc,0x482)&&(_0x2094e3={'type':_0x4c1a40(_0x18435e._0x4997a2,_0x18435e._0x4ee656,0x2e2,0x35f)});const _0x1730a4={'messages':_0x11fdf1,'model':this[_0x1cd6ff(_0x18435e._0x381654,0x30e,_0x18435e._0x35a321,0xca)][_0x1cd6ff(0x296,-_0x18435e._0x3806c1,0x3b,_0x18435e._0x2da933)],'temperature':this['cfg']['temperature'],'maxTokens':this['cfg'][_0x4c1a40(0x5d5,_0x18435e._0x59cdac,0x6d4,0x3d8)],'topP':this[_0x4c1a40(_0x18435e._0x30e48e,_0x18435e._0x2ff5da,_0x18435e._0x3a93cd,0x371)][_0x1cd6ff(_0x18435e._0x21a87a,0x13f,_0x18435e._0x1b8151,_0x18435e._0x5016bd)],'tools':_0x919e8[_0x4c1a40(0x65f,_0x18435e._0x392a56,0x506,_0x18435e._0x45406a)]?_0x919e8:void 0x0,'tool_choice':_0x919e8[_0x1cd6ff(0x129,_0x18435e._0x5beb1c,_0x18435e._0x83317b,_0x18435e._0x520f22)]?'auto':'none','reasoning':_0x21bfb5,'thinking':_0x2094e3};let _0x459cc0='';const _0x2d9ed2=[],_0x3503e6=[..._0x11fdf1],_0x2f89f6=[];let _0x208bb6,_0xef38b4=![],_0x191e34='',_0x4c27e6=![];if(_0x2ce99b[_0x4c1a40(0x28a,_0x18435e._0xb8208,0x2d1,0x220)]&&typeof _0x215b06[_0x4c1a40(0x676,_0x18435e._0x1f3eed,_0x18435e._0x3b7fa8,_0x18435e._0x3f4f12)]===_0x4c1a40(0x62f,_0x18435e._0x385c6b,0x552,0x80a)){let _0x2eb7cb=!![];_0x208bb6=await _0x215b06[_0x4c1a40(0x601,_0x18435e._0x293adf,_0x18435e._0x4d6486,_0x18435e._0x22e366)](_0x1730a4,{'onChunk':async(_0x2b8f4b,_0x52f24a)=>{const _0x19592e={_0x14a66:0x1aa},_0x49634f={_0x298a73:0xff,_0x51dcf2:0x4,_0x4cb829:0x3e};_0x459cc0+=_0x2b8f4b;const _0x3fc97f=_0x2eb7cb?_0x2b8f4b[_0x3d27a2(_0x5adf2a._0x5e8ac5,0x228,0x17c,_0x5adf2a._0x346583)](/^\n+/,''):_0x2b8f4b;_0x2eb7cb=![];function _0x3d27a2(_0xd66e17,_0x61d297,_0x37e3fc,_0xa54e7c){return _0x4c1a40(_0xd66e17-_0x49634f._0x298a73,_0xa54e7c- -_0x49634f._0x51dcf2,_0x37e3fc-_0x49634f._0x4cb829,_0xd66e17);}const _0x3438a3={'type':AgentEventTypes['AssistantChunk'],'conversationId':_0x250615,'messageId':_0x140b4e,'delta':_0x3fc97f,..._0x52f24a&&{'usage':_0x52f24a}};function _0x9ad0d0(_0x5c9c7f,_0x5f1a40,_0x4fdb31,_0xfa22d7){return _0x1cd6ff(_0x5c9c7f-_0x19592e._0x14a66,_0x5f1a40-0x146,_0x5c9c7f,_0xfa22d7-0x29c);}await this['events']?.[_0x3d27a2(0x292,_0x5adf2a._0x3aad0c,0x369,0x38a)](_0x3438a3);},'onReasoningChunk':async _0x3cb11a=>{const _0x44040c={_0x3d4148:0x513},_0xd830da={_0x1056fa:0x581};function _0x5e5189(_0x545752,_0x2bee22,_0x5bcb28,_0x566858){return _0x4c1a40(_0x545752-0x16b,_0x5bcb28- -_0xd830da._0x1056fa,_0x5bcb28-0xd4,_0x545752);}function _0x3b2e5e(_0x3bbe4d,_0x1ef8fa,_0x4c0b51,_0x3b206e){return _0x4c1a40(_0x3bbe4d-0xde,_0x4c0b51- -_0x44040c._0x3d4148,_0x4c0b51-0x1b1,_0x3b206e);}await this[_0x5e5189(-_0x5e0a86._0x514766,_0x5e0a86._0x380781,-_0x5e0a86._0x381bf7,-0x330)]?.[_0x3b2e5e(-0xa4,_0x5e0a86._0x236feb,-0x185,_0x5e0a86._0x5d8c34)]({'type':AgentEventTypes[_0x5e5189(_0x5e0a86._0x100f69,0xa6,_0x5e0a86._0x43fe40,0x38b)],'conversationId':_0x250615,'messageId':_0x140b4e,'delta':_0x3cb11a});},'onStreamFinish':async(_0x6718a,_0x1bbc31)=>{const _0x230c3c={_0x5e5c48:0x17d,_0x10064c:0x1e2};function _0x2f0f35(_0x260ae3,_0x4731d5,_0x3818c3,_0x1d2330){return _0x1cd6ff(_0x260ae3-0x190,_0x4731d5-0xb9,_0x3818c3,_0x260ae3-0x1dd);}function _0x2d0670(_0x1d7250,_0x4fb97f,_0x229c59,_0x1c2013){return _0x4c1a40(_0x1d7250-0xb2,_0x1c2013- -_0x230c3c._0x5e5c48,_0x229c59-_0x230c3c._0x10064c,_0x4fb97f);}if(_0x1bbc31){const _0x39b99a=this[_0x2f0f35(0x4d7,_0x2ad7a9._0x247288,0x5b7,_0x2ad7a9._0x45afc)][_0x2f0f35(_0x2ad7a9._0xb4abf5,0x234,_0x2ad7a9._0x208742,_0x2ad7a9._0x444d4d)](this[_0x2f0f35(_0x2ad7a9._0x572e50,0x4ac,_0x2ad7a9._0x345cad,0x471)]['model'],_0x1bbc31);this[_0x2d0670(0x521,_0x2ad7a9._0x11bc24,_0x2ad7a9._0xc958e,_0x2ad7a9._0x49f818)]?.['recordLLMCall']?.(_0x1bbc31,_0x39b99a);}const _0x11ca71={'type':AgentEventTypes['StreamFinish'],'conversationId':_0x250615,'messageId':_0x140b4e,..._0x6718a&&{'finishReason':_0x6718a},..._0x1bbc31&&{'usage':_0x1bbc31}};await this[_0x2d0670(0x3a0,_0x2ad7a9._0x5d7a64,0x342,0x26a)]?.[_0x2f0f35(0x314,0x16a,0xeb,_0x2ad7a9._0x425b4e)](_0x11ca71);},'onUsage':async _0x5e9b8b=>{function _0x1add3f(_0x5d6607,_0x5424f9,_0x2c9227,_0x1c4260){return _0x4c1a40(_0x5d6607-_0x30cd06._0x12db80,_0x5424f9- -_0x30cd06._0xb246a5,_0x2c9227-0x172,_0x5d6607);}const _0x4c3fda=this[_0x352f54(0x696,_0x373ebb._0x584db1,_0x373ebb._0x5d8160,0x523)]['estimate'](this[_0x1add3f(-0x2aa,-_0x373ebb._0x30ce0c,-_0x373ebb._0x26d99b,0x124)]['model'],_0x5e9b8b);function _0x352f54(_0x1076c3,_0x2c80d2,_0x3802f3,_0x2e5906){return _0x4c1a40(_0x1076c3-0xc4,_0x1076c3-_0x1eec96._0x28a83c,_0x3802f3-0x1aa,_0x3802f3);}this['metrics']?.[_0x1add3f(-0x2c3,-0x102,-0x122,-0x1b6)]?.(_0x5e9b8b,_0x4c3fda);}},_0x2ce99b[_0x4c1a40(_0x18435e._0x485318,_0x18435e._0x531f0a,0x376,0x42d)]);}else{_0x208bb6=await _0x215b06['generateCompletion'](_0x1730a4,_0x2ce99b[_0x4c1a40(_0x18435e._0x5a277a,0x42a,_0x18435e._0x406d63,0x2ba)]);if(_0x208bb6[_0x4c1a40(0x451,_0x18435e._0x38003f,_0x18435e._0xa234ea,_0x18435e._0x2b8403)]){const _0x237f23=this[_0x4c1a40(0x6bd,_0x18435e._0x19ffd9,_0x18435e._0x20fb91,_0x18435e._0x3d4474)][_0x1cd6ff(_0x18435e._0x4e72ff,_0x18435e._0x19477a,0x4f,_0x18435e._0x2d876b)](this[_0x1cd6ff(_0x18435e._0x1b7f36,0x167,_0x18435e._0x4c872f,_0x18435e._0x5ae974)][_0x4c1a40(0x1d1,0x2e9,0x348,_0x18435e._0x4cc178)],_0x208bb6['usage']);this[_0x4c1a40(0x6b1,_0x18435e._0x292d04,0x964,0x832)]?.[_0x4c1a40(_0x18435e._0x28b41e,0x33f,_0x18435e._0x2a402e,0x2ee)]?.(_0x208bb6[_0x1cd6ff(0x272,0x197,0x22b,0x64)],_0x237f23);}}if(!_0x208bb6[_0x4c1a40(_0x18435e._0x44b34d,0x5c8,_0x18435e._0x148aea,_0x18435e._0x540b5e)]?.[_0x4c1a40(_0x18435e._0x20355c,_0x18435e._0x392a56,_0x18435e._0x301300,_0x18435e._0x384dba)]&&_0x208bb6[_0x1cd6ff(0x17c,0x430,0x289,_0x18435e._0x4a10ab)]&&!_0x4c27e6){const _0x2d7bf0=_0x2ce99b[_0x4c1a40(0x1b8,_0x18435e._0x5d1d8e,_0x18435e._0x57eca6,_0x18435e._0x35aaca)]?_0x459cc0:_0x208bb6['content'],_0x271234={'id':_0x140b4e,'role':_0x4c1a40(0x46e,_0x18435e._0x13855d,_0x18435e._0xc51fb0,0x53d),'content':_0x2d7bf0,'timestamp':this[_0x4c1a40(_0x18435e._0xed39e2,0x2e2,0x52c,_0x18435e._0x262946)][_0x1cd6ff(_0x18435e._0x4e0d23,_0x18435e._0x4a92fd,_0x18435e._0x227c65,_0x18435e._0x4eb099)](),'usage':_0x208bb6[_0x4c1a40(_0x18435e._0x57106a,0x2bb,0x2ca,0x236)]};await this[_0x1cd6ff(0x29a,0x479,0x40d,_0x18435e._0x21ea1d)][_0x4c1a40(0x667,_0x18435e._0x57da2c,0x65a,_0x18435e._0x458b30)](_0x250615,[_0x271234]),_0x4c27e6=!![];if(_0x2d7bf0['trim']()){const _0x316d34={'type':AgentEventTypes[_0x4c1a40(_0x18435e._0x53fc26,_0x18435e._0x5167c3,_0x18435e._0x39f1f6,0x5df)],'conversationId':_0x250615,'messageId':_0x140b4e,'content':_0x2d7bf0,..._0x208bb6[_0x1cd6ff(_0x18435e._0x3ba011,_0x18435e._0x408f18,_0x18435e._0x27ea56,0x64)]&&{'usage':_0x208bb6[_0x4c1a40(_0x18435e._0x3a4529,0x2bb,0x9e,_0x18435e._0xc1b2cd)]}};await this[_0x1cd6ff(0x123,_0x18435e._0x5268fc,-_0x18435e._0xf0c80d,0x190)]?.[_0x1cd6ff(-_0x18435e._0x2dc505,_0x18435e._0x16237a,-0xb6,_0x18435e._0x39385e)](_0x316d34);}}while(_0x208bb6['tool_calls']?.[_0x1cd6ff(0x3a3,_0x18435e._0x1a9cc8,_0x18435e._0xcc5c19,0x27e)]){if(_0x208bb6[_0x1cd6ff(_0x18435e._0x37b095,_0x18435e._0xed39e2,0x1c7,0x25c)]?.[_0x1cd6ff(0x47a,0x248,0x51e,0x40e)]()){const _0x653416={'type':AgentEventTypes[_0x1cd6ff(0x49e,0x385,0x1cf,_0x18435e._0x26129b)],'conversationId':_0x250615,'messageId':_0x140b4e,'content':_0x208bb6[_0x1cd6ff(_0x18435e._0x2d1570,_0x18435e._0x3c79c8,_0x18435e._0x4da080,0x25c)],..._0x208bb6['usage']&&{'usage':_0x208bb6[_0x1cd6ff(_0x18435e._0x237e45,0x1bd,_0x18435e._0x18687e,_0x18435e._0x5d31eb)]}};await this[_0x4c1a40(0x1a0,0x3e7,0x4fb,0x1a0)]?.[_0x1cd6ff(0x231,0x2a8,-0x69,0x137)](_0x653416);}if(_0x2ce99b[_0x1cd6ff(_0x18435e._0x1585eb,_0x18435e._0x22d207,0x172,_0x18435e._0xddf1a0)]?.[_0x1cd6ff(0x3ed,0x54,_0x18435e._0x1cf8f2,0x1f6)])throw new Error(_0x1cd6ff(0x2c5,0x109,_0x18435e._0x387b0f,_0x18435e._0x30e48e));await this[_0x1cd6ff(0x3ce,0xac,0x322,0x190)]?.[_0x4c1a40(0x188,0x38e,0x217,_0x18435e._0x49f8d0)]({'type':AgentEventTypes[_0x1cd6ff(_0x18435e._0x3ab3ca,_0x18435e._0x53a3b2,0x32f,_0x18435e._0x5a2177)],'conversationId':_0x250615,'messageId':_0x140b4e,'toolCalls':_0x208bb6[_0x1cd6ff(_0x18435e._0x3dfd49,_0x18435e._0x40f4ae,_0x18435e._0x446e7e,_0x18435e._0xcf24a4)],'usage':_0x208bb6['usage']});const _0x149a48=await this[_0x4c1a40(0x2d0,0x4cf,_0x18435e._0x367f1f,0x67a)](_0x208bb6[_0x1cd6ff(0x3f0,0x416,0x34b,_0x18435e._0xcf24a4)],_0x250615,_0x140b4e,_0x3503e6,_0x2f89f6,_0x208bb6['content'],_0x208bb6[_0x4c1a40(0x285,_0x18435e._0x38003f,0x2d3,0x9c)],_0x2ce99b[_0x1cd6ff(0xd7,-_0x18435e._0x3abda5,0x1d9,0x1d3)]);if(_0x149a48[_0x4c1a40(_0x18435e._0xd0277c,_0x18435e._0x392b48,_0x18435e._0x40eefe,0x1d5)]){_0x191e34=_0x149a48['denialMessage']||'',_0xef38b4=!![];break;}const _0x3bc774=_0x149a48['approvedCalls'],_0x3414ac=_0x149a48[_0x1cd6ff(_0x18435e._0x56189b,_0x18435e._0x5b69a7,-0x11e,_0x18435e._0x44cae4)],_0x18c0e3=_0x149a48[_0x4c1a40(_0x18435e._0x17e592,_0x18435e._0x3cb1c4,_0x18435e._0x584080,0x4c3)],_0x18effc=this['getAvailableToolNames'](),_0x137c84=convertToolCallsWithErrorHandling(_0x3bc774,{'strict':this[_0x1cd6ff(_0x18435e._0x52a591,0x5f,-0xfa,0xca)][_0x1cd6ff(0x36f,0xff,_0x18435e._0x26ed96,_0x18435e._0x10a918)]??![],'availableTools':_0x18effc}),_0x2d593a=[],_0x3cee21=_0x137c84[_0x1cd6ff(0x254,_0x18435e._0x14da60,0x208,_0x18435e._0x40a6b9)];if(_0x137c84[_0x4c1a40(0x6fe,0x635,_0x18435e._0x503939,_0x18435e._0x27b77a)])for(const _0x1366c2 of _0x137c84[_0x1cd6ff(0x22e,0x1e0,_0x18435e._0x338cb9,_0x18435e._0x4eb726)]){_0x2d593a['push']({'id':_0x1366c2['id'],'name':_0x1366c2['name'],'status':'error','type':_0x1cd6ff(_0x18435e._0x5daaa1,-_0x18435e._0x14201c,_0x18435e._0x4d6401,_0x18435e._0x53611f),'result':_0x4c1a40(0x830,_0x18435e._0x528dbb,0x6ba,0x8be)+_0x1366c2[_0x1cd6ff(_0x18435e._0xbea4c2,_0x18435e._0x2abbcf,_0x18435e._0x2b8a13,_0x18435e._0x3ad40d)]+_0x1cd6ff(-0x1f,_0x18435e._0x47205a,_0x18435e._0x3faed5,0x211)+_0x1366c2[_0x4c1a40(_0x18435e._0x15c76a,0x55b,0x599,0x790)],'metadata':{'errorReason':_0x4c1a40(_0x18435e._0x1cfaba,0x612,_0x18435e._0x5f1c0b,0x412)},'durationMs':0x0});}if(_0x2ce99b[_0x4c1a40(0x46a,_0x18435e._0x2280fd,0x27c,_0x18435e._0x158ea7)]?.['aborted'])throw new Error('Aborted');const _0x3a45e9=await this[_0x1cd6ff(0x234,_0x18435e._0x21a87a,0x164,_0x18435e._0x586360)][_0x1cd6ff(_0x18435e._0x26ed96,_0x18435e._0x553068,0x4d,_0x18435e._0x5a671c)](_0x3cee21,{'conversationId':_0x250615,'agentId':this[_0x4c1a40(0x520,0x321,_0x18435e._0x49e462,_0x18435e._0x7fb380)]['id'],'messageId':_0x140b4e,'eventPort':this[_0x1cd6ff(0xe7,_0x18435e._0x201197,_0x18435e._0x3852d8,0x190)]},this['cfg'][_0x1cd6ff(_0x18435e._0x528e33,0x61f,_0x18435e._0x5533dd,_0x18435e._0xcbe701)]??0x3,_0x2ce99b[_0x4c1a40(_0x18435e._0x4eb099,0x42a,0x22b,_0x18435e._0x440069)]),_0x3d7dcc=[..._0x18c0e3,..._0x2d593a,..._0x3a45e9],_0x11f1d7=[..._0x3bc774,..._0x3414ac],_0x376907={'id':this[_0x4c1a40(_0x18435e._0x18a19e,0x51c,0x734,0x4ab)]['uuid'](),'role':_0x4c1a40(0x49c,0x580,0x695,0x4c8),'content':_0x208bb6['content']??null,'timestamp':this[_0x1cd6ff(0x195,-0xd4,0x9a,_0x18435e._0x4c25cd)]['iso'](),'tool_calls':_0x11f1d7,'usage':_0x208bb6[_0x1cd6ff(0x146,_0x18435e._0x300c49,0x1c4,_0x18435e._0x515755)]},_0x38d32a=[];for(const _0x45ef11 of _0x3d7dcc){let _0x3714dc;if(_0x45ef11['status']===_0x4c1a40(_0x18435e._0x32a0eb,0x55b,0x4d8,_0x18435e._0x3eead2))_0x3714dc=_0x45ef11[_0x4c1a40(0x555,0x52f,0x6c0,_0x18435e._0x196730)];else _0x45ef11[_0x1cd6ff(0x145,0x4cf,_0x18435e._0x32af00,0x2f2)]===_0x1cd6ff(0x2ca,0x160,0x363,_0x18435e._0x53611f)?_0x3714dc=_0x45ef11[_0x1cd6ff(_0x18435e._0x1bd0a3,0x34c,0xf0,_0x18435e._0x4ee0bf)]:_0x3714dc=JSON[_0x1cd6ff(0x522,_0x18435e._0x1f882c,0x615,0x499)](_0x45ef11[_0x4c1a40(_0x18435e._0x3bc5aa,_0x18435e._0x216e41,0x2eb,_0x18435e._0x5db0c9)],null,0x2);_0x38d32a[_0x1cd6ff(-_0x18435e._0x35b07c,_0x18435e._0x1dba88,_0x18435e._0x1784f9,0x108)]({'id':_0x45ef11['id'],'role':_0x1cd6ff(0x563,0x45c,_0x18435e._0x5106b9,_0x18435e._0x12c3ae),'content':_0x3714dc,'timestamp':this[_0x4c1a40(0x431,0x2e2,0x3d8,0x4bd)][_0x1cd6ff(0x4ce,0x25d,_0x18435e._0x4cbb45,0x2fe)](),'tool_call_id':_0x45ef11['id'],'name':_0x45ef11['name'],'status':_0x45ef11[_0x1cd6ff(_0x18435e._0x1934fe,_0x18435e._0x42c871,0x528,_0x18435e._0x23925f)],'durationMs':_0x45ef11[_0x1cd6ff(0x3d5,_0x18435e._0x484297,_0x18435e._0x31de1c,0x405)],'metadata':_0x45ef11['metadata']}),this[_0x1cd6ff(0x316,_0x18435e._0x20d51c,0x5fd,_0x18435e._0x392a56)]?.[_0x1cd6ff(_0x18435e._0x41320f,-_0x18435e._0x4de3de,_0x18435e._0x3c9cb7,0x179)]?.();const _0x4dce0c=_0x18c0e3[_0x4c1a40(0x563,0x3a1,_0x18435e._0x33ae52,0x3c1)](_0x4cfd31=>_0x4cfd31['id']===_0x45ef11['id']);!_0x4dce0c&&await this[_0x4c1a40(0x2df,0x3e7,_0x18435e._0x561cd8,0x37b)]?.[_0x1cd6ff(0x332,0x19f,-0xe5,0x137)]({'type':AgentEventTypes['ToolResult'],'conversationId':_0x250615,'messageId':_0x140b4e,'result':_0x45ef11});}await this[_0x4c1a40(_0x18435e._0xfb9f5,_0x18435e._0x163cad,_0x18435e._0x488605,0x6e8)][_0x4c1a40(0x47b,0x4dd,0x5e8,0x2e3)](_0x250615,[_0x376907,..._0x38d32a]);const {usage:_0xe3a780,..._0x2fe12d}=_0x208bb6;_0x3503e6[_0x1cd6ff(0xe1,-0x2c,_0x18435e._0x1a9cc8,_0x18435e._0x35c21d)]({..._0x2fe12d,'role':'assistant','content':_0x208bb6[_0x1cd6ff(0x45c,_0x18435e._0x5786cd,_0x18435e._0x452d8c,0x25c)]??null,'tool_calls':_0x11f1d7});for(const _0x40e41d of _0x3d7dcc){let _0x274305;if(_0x40e41d[_0x4c1a40(0x51a,0x5cb,_0x18435e._0x1b133f,_0x18435e._0x25a3e9)]==='error')_0x274305=_0x40e41d[_0x1cd6ff(0x378,_0x18435e._0x1aefd1,0x231,0x2d8)];else _0x40e41d[_0x4c1a40(_0x18435e._0x45fe8c,_0x18435e._0x112776,_0x18435e._0x3074c9,_0x18435e._0x49308c)]===_0x4c1a40(_0x18435e._0x4b848b,0x453,0x3ad,0x407)?_0x274305=_0x40e41d['result']:_0x274305=JSON[_0x4c1a40(0x6f3,0x6f0,0x7fb,_0x18435e._0x34b41b)](_0x40e41d['result'],null,0x2);_0x3503e6[_0x1cd6ff(0x6a,_0x18435e._0xdea258,_0x18435e._0x86c15d,_0x18435e._0x35c21d)]({'role':_0x4c1a40(_0x18435e._0x1b336d,_0x18435e._0x299f8d,0x75a,_0x18435e._0x17c4ee),'content':_0x274305,'tool_call_id':_0x40e41d['id'],'name':_0x40e41d[_0x4c1a40(_0x18435e._0x3030b0,_0x18435e._0x2ec3b4,_0x18435e._0xf3b615,0x392)]});}if(_0x2ce99b[_0x4c1a40(0x312,0x42a,0x60c,0x565)]?.[_0x4c1a40(_0x18435e._0x3b8439,_0x18435e._0x218504,0x414,_0x18435e._0x4718b9)])throw new Error('Aborted');_0x459cc0='';if(_0x2ce99b[_0x4c1a40(0x57a,0x34f,0x43a,_0x18435e._0xc11e84)]&&typeof _0x215b06[_0x1cd6ff(0x6c,_0x18435e._0x281224,0x2a4,0x24d)]==='function'){let _0x102ba4=!![];_0x208bb6=await _0x215b06['streamCompletion']({..._0x1730a4,'messages':_0x3503e6},{'onChunk':async(_0x4044c5,_0x3e1381)=>{_0x459cc0+=_0x4044c5;const _0x280356=_0x102ba4?_0x4044c5['replace'](/^\n+/,''):_0x4044c5;function _0x20ea80(_0x6c4345,_0x299355,_0x4bef02,_0x52dddf){return _0x4c1a40(_0x6c4345-0x17a,_0x4bef02- -0x466,_0x4bef02-_0x4479d6._0x229fc,_0x299355);}function _0x19d58a(_0x4aa30f,_0x3e5ebf,_0x334ad2,_0x438a4d){return _0x4c1a40(_0x4aa30f-0xc5,_0x3e5ebf- -0x1be,_0x334ad2-_0x9ba5d4._0x4e069c,_0x438a4d);}_0x102ba4=![];const _0x7f6028={'type':AgentEventTypes['AssistantChunk'],'conversationId':_0x250615,'messageId':_0x140b4e,'delta':_0x280356,..._0x3e1381&&{'usage':_0x3e1381}};await this[_0x20ea80(-_0xa1b16b._0x4affb6,-_0xa1b16b._0x11be20,-_0xa1b16b._0x384ecc,-_0xa1b16b._0x82e397)]?.[_0x20ea80(0x13b,0x3c,-0xd8,0xa6)](_0x7f6028);},'onReasoningChunk':async _0x1b77c9=>{const _0x1af628={_0x5860cb:0x1b2,_0x1136ac:0xd};function _0x1265ac(_0x8ae469,_0x1a1e7e,_0x2facf9,_0x32117d){return _0x4c1a40(_0x8ae469-0x93,_0x32117d-_0x1af628._0x5860cb,_0x2facf9-_0x1af628._0x1136ac,_0x2facf9);}await this[_0x1265ac(0x54d,_0x4f55f4._0x35bc98,0x3ac,_0x4f55f4._0x3814bb)]?.['emit']({'type':AgentEventTypes['ReasoningChunk'],'conversationId':_0x250615,'messageId':_0x140b4e,'delta':_0x1b77c9});},'onStreamFinish':async(_0x45630e,_0x560317)=>{const _0x1bc1ba={_0x2c6281:0x1d5,_0x21a1ae:0x340},_0x45ace4={_0xc5160c:0xfd,_0x588695:0x23};function _0x2b409f(_0x3ded7e,_0x471c66,_0x404269,_0x59c6b8){return _0x4c1a40(_0x3ded7e-_0x45ace4._0xc5160c,_0x404269-0x17f,_0x404269-_0x45ace4._0x588695,_0x59c6b8);}function _0x384bee(_0xf70b8f,_0x256485,_0x3d3c6e,_0xe77674){return _0x1cd6ff(_0xf70b8f-_0x1bc1ba._0x2c6281,_0x256485-0xa1,_0x3d3c6e,_0x256485- -_0x1bc1ba._0x21a1ae);}if(_0x560317){const _0x2ff02b=this[_0x384bee(-0x80,-_0x447bf7._0x36ce26,-0x62,0x1e9)][_0x384bee(-_0x447bf7._0x197caf,-_0x447bf7._0x48fd60,-0x126,-0x2e0)](this[_0x384bee(-0xdf,-_0x447bf7._0x1e3f79,-_0x447bf7._0x426c6d,-_0x447bf7._0x2ef736)][_0x384bee(-0x265,-_0x447bf7._0x466611,-0x244,-_0x447bf7._0x22bc6d)],_0x560317);this['metrics']?.[_0x384bee(-_0x447bf7._0x4ba59f,-0x258,-0x18e,-_0x447bf7._0x22fd90)]?.(_0x560317,_0x2ff02b);}const _0x51edd2={'type':AgentEventTypes[_0x2b409f(_0x447bf7._0x305da9,_0x447bf7._0x39f555,_0x447bf7._0x39cfc2,0x418)],'conversationId':_0x250615,'messageId':_0x140b4e,..._0x45630e&&{'finishReason':_0x45630e},..._0x560317&&{'usage':_0x560317}};await this['events']?.[_0x384bee(-0x349,-_0x447bf7._0x58a763,-0x2a7,-0x126)](_0x51edd2);},'onUsage':async _0x5ad802=>{const _0x5a833c={_0x14b138:0x139,_0x210637:0x120};function _0x1f81f4(_0x2b3703,_0x1f538b,_0x46e1f9,_0x389ffc){return _0x1cd6ff(_0x2b3703-_0x342bc8._0x1df682,_0x1f538b-0xa6,_0x2b3703,_0x46e1f9-0x13f);}const _0x59dcd9=this[_0x1f81f4(0x668,0x307,_0x336395._0x11f587,_0x336395._0x31d0c8)][_0x1f81f4(_0x336395._0x13a4d2,_0x336395._0x4318f9,_0x336395._0x2ef93a,_0x336395._0x1da28c)](this[_0x1f81f4(_0x336395._0x59f14b,_0x336395._0x2129d1,_0x336395._0x36bb6b,_0x336395._0x112d23)]['model'],_0x5ad802);function _0x574b2c(_0x25d647,_0x17cbdd,_0x584803,_0x1d7ecd){return _0x1cd6ff(_0x25d647-_0x5a833c._0x14b138,_0x17cbdd-_0x5a833c._0x210637,_0x584803,_0x1d7ecd-0x1d1);}this['metrics']?.[_0x1f81f4(_0x336395._0xbdc0cc,0x1e4,0x227,0x3b5)]?.(_0x5ad802,_0x59dcd9);}},_0x2ce99b[_0x4c1a40(0x4b4,0x42a,0x4cf,0x5f0)]);}else{_0x208bb6=await _0x215b06['generateCompletion']({..._0x1730a4,'messages':_0x3503e6},_0x2ce99b[_0x4c1a40(_0x18435e._0x242277,0x42a,0x2ea,0x471)]);if(_0x208bb6[_0x4c1a40(0x3d1,0x2bb,0x2c6,_0x18435e._0x3eead2)]){const _0x52daf8=this[_0x1cd6ff(_0x18435e._0x4b97a9,_0x18435e._0x3ad40d,_0x18435e._0x2994e4,0x2fa)][_0x4c1a40(0x4b6,0x375,0x5c4,_0x18435e._0x3b2673)](this[_0x4c1a40(_0x18435e._0x10348e,0x321,0x467,_0x18435e._0x109bb4)][_0x4c1a40(_0x18435e._0x4b199a,0x2e9,_0x18435e._0x179f42,0x305)],_0x208bb6[_0x4c1a40(_0x18435e._0x24a58f,_0x18435e._0x38003f,_0x18435e._0x9d4020,0x1e9)]);this[_0x1cd6ff(0x322,0x4a2,_0x18435e._0x456bcf,0x4d5)]?.[_0x1cd6ff(0x327,-_0x18435e._0x1fc6fe,_0x18435e._0xdef0f,_0x18435e._0x4e63a)]?.(_0x208bb6[_0x4c1a40(_0x18435e._0x5b2261,0x2bb,_0x18435e._0x59e8be,0x338)],_0x52daf8);}}if(!_0x208bb6[_0x1cd6ff(_0x18435e._0x3ba3dd,_0x18435e._0x327674,0x519,0x371)]?.[_0x1cd6ff(0x9d,_0x18435e._0x3bf071,0xf8,0x27e)]&&_0x208bb6[_0x1cd6ff(0x1e2,_0x18435e._0x4b0adc,_0x18435e._0x18fd1c,_0x18435e._0x475234)]&&!_0x4c27e6){const _0x5724c2=_0x2ce99b[_0x1cd6ff(_0x18435e._0x21bc2e,0x1f1,0x192,_0x18435e._0xd5a130)]?_0x459cc0:_0x208bb6['content'],_0x3afc72={'id':_0x140b4e,'role':_0x1cd6ff(_0x18435e._0x2196e0,0x31c,_0x18435e._0x316067,_0x18435e._0x276af5),'content':_0x5724c2,'timestamp':this[_0x4c1a40(0x4b9,0x2e2,_0x18435e._0x2017e0,_0x18435e._0x459009)][_0x1cd6ff(0x247,0x53a,_0x18435e._0x22f08b,_0x18435e._0x4eb099)](),'usage':_0x208bb6['usage']};await this[_0x1cd6ff(_0x18435e._0xba9c58,0x310,_0x18435e._0x39a00c,_0x18435e._0x8e7d55)][_0x4c1a40(_0x18435e._0xfee339,_0x18435e._0x57da2c,0x6fd,_0x18435e._0x29dc36)](_0x250615,[_0x3afc72]),_0x4c27e6=!![];if(_0x5724c2[_0x1cd6ff(_0x18435e._0x279417,_0x18435e._0x1e168b,0x217,0x40e)]()){const _0x29ef08={'type':AgentEventTypes[_0x4c1a40(_0x18435e._0x29e1e4,_0x18435e._0x5167c3,0x84c,0x674)],'conversationId':_0x250615,'messageId':_0x140b4e,'content':_0x5724c2,..._0x208bb6[_0x1cd6ff(0xba,_0x18435e._0x5b6340,_0x18435e._0x2f820e,0x64)]&&{'usage':_0x208bb6['usage']}};await this[_0x4c1a40(_0x18435e._0x3b1ad5,_0x18435e._0xff2057,_0x18435e._0x8ae58d,_0x18435e._0x228060)]?.[_0x1cd6ff(_0x18435e._0x11cab2,_0x18435e._0x59fd66,-_0x18435e._0x1b9aaa,0x137)](_0x29ef08);}}}const _0x141269=this['clock'][_0x1cd6ff(0x5a4,0x569,0x43d,0x435)](),_0xc4533=this[_0x1cd6ff(_0x18435e._0x56f9f2,-0x8f,-0x23,0x8b)]['iso']();this[_0x1cd6ff(0x371,_0x18435e._0x10af07,_0x18435e._0x40020a,_0x18435e._0x392a56)]?.[_0x4c1a40(0x260,_0x18435e._0x448408,0x239,0x3ae)]?.(_0x141269-_0x18b8c1);const _0x3e01e1=_0x208bb6[_0x4c1a40(0x666,_0x18435e._0x361e1f,0x368,0x4e9)]?.[_0x4c1a40(0x519,_0x18435e._0x5ea07f,0x575,_0x18435e._0x3075f0)]()&&!_0xef38b4&&!_0x4c27e6;if(_0x3e01e1){const _0x502570={'type':AgentEventTypes[_0x4c1a40(0x469,_0x18435e._0x1b264b,_0x18435e._0x56e54b,_0x18435e._0x3a298c)],'conversationId':_0x250615,'messageId':_0x140b4e,'content':_0x208bb6[_0x4c1a40(_0x18435e._0x553068,0x4b3,0x26b,0x32f)],..._0x208bb6[_0x1cd6ff(0x145,-0x3e,_0x18435e._0x36e2c2,0x64)]&&{'usage':_0x208bb6['usage']}};await this['events']?.[_0x1cd6ff(0x1b4,0xdd,0x2e9,0x137)](_0x502570);}const _0x5722f1=_0xef38b4?_0x191e34:_0x208bb6[_0x4c1a40(0x4b3,_0x18435e._0xbf9822,_0x18435e._0x35e0c5,0x3aa)],_0x514453={'id':_0x140b4e,'content':_0x5722f1,'role':MessageRoles[_0x1cd6ff(_0x18435e._0x59c3c0,_0x18435e._0x55fc39,0x4f8,_0x18435e._0x159037)],'timestamp':_0xc4533,'metadata':{'model':this['cfg'][_0x1cd6ff(0x197,_0x18435e._0x5a2460,_0x18435e._0xdb0eab,_0x18435e._0x24a200)],'provider':_0x4c1a40(0x5a0,_0x18435e._0xe784d4,_0x18435e._0x19b39a,_0x18435e._0x2e3f40),'agentId':this[_0x1cd6ff(0x3d,-0x93,-0xac,0xca)]['id'],'responseTime':_0x141269-_0x18b8c1,'promptTokens':_0x208bb6[_0x4c1a40(0x19f,_0x18435e._0x5aef77,0xfc,_0x18435e._0x5d14a0)]?.['prompt_tokens'],'completionTokens':_0x208bb6['usage']?.[_0x4c1a40(0x3b8,_0x18435e._0x3030b0,0x150,_0x18435e._0x50351a)],'totalTokens':_0x208bb6[_0x1cd6ff(-_0x18435e._0x800334,_0x18435e._0x12d531,-_0x18435e._0x403cfd,_0x18435e._0x515755)]?.[_0x4c1a40(_0x18435e._0x210147,_0x18435e._0x1dd06b,0x88,0x4f7)],'estimatedCost':this['cost'][_0x4c1a40(_0x18435e._0x1b336d,0x375,0x407,0x47e)](this[_0x1cd6ff(-_0x18435e._0x3ccf47,-0x82,0x1b5,_0x18435e._0x5ae974)][_0x1cd6ff(-0xb6,-_0x18435e._0x86c15d,-_0x18435e._0x70d250,_0x18435e._0x3b6979)],_0x208bb6[_0x4c1a40(_0x18435e._0x5f39fc,_0x18435e._0x5aef77,_0x18435e._0x459009,0x13d)]),'toolCalls':_0x2d9ed2[_0x4c1a40(_0x18435e._0x3157d3,0x4d5,0x35a,_0x18435e._0x11c706)]}};return await this[_0x4c1a40(_0x18435e._0x2e2f32,0x3e7,_0x18435e._0x494169,_0x18435e._0x1ed5ea)]?.[_0x4c1a40(_0x18435e._0x244a46,_0x18435e._0x258c54,0x4a4,0x378)]({'type':AgentEventTypes[_0x4c1a40(_0x18435e._0x2084ad,_0x18435e._0x10415e,_0x18435e._0x598440,0x4a9)],'conversationId':_0x250615,'messageId':_0x140b4e,'responseTimeMs':_0x141269-_0x18b8c1,'usage':_0x208bb6[_0x1cd6ff(-_0x18435e._0x5a8d32,-0xc1,0x223,0x64)]}),_0x514453;}async[_0x3a64dd(0x383,0x543,0x39e,0x343)](_0x26adc7,_0x41b9d5,_0x44554b){const _0x33a8d9={_0x4adfe6:0x3f,_0x2d1016:0xd3,_0x2ab91e:0x96},_0xc1e72e={_0x231b4f:0x170,_0x196026:0x54e,_0x3e4516:0x4a4,_0x251a3f:0x410,_0x32f870:0x3f9,_0x3edf7c:0x5be},_0x11a4d5={_0x4fc30d:0x4c4},_0x546555={_0x523181:0x76,_0x2f7665:0x22},_0x4218f0=this[_0x5da90c(-_0x33a8d9._0x4adfe6,_0x33a8d9._0x2d1016,-0x63,0x173)][_0x5da90c(0x155,-0x29,-_0x33a8d9._0x2ab91e,-_0x33a8d9._0x2d1016)]();function _0x4fbac4(_0x4834e8,_0x2cd7c7,_0x446e32,_0x2a9e4c){return _0x55e1bc(_0x2a9e4c,_0x2cd7c7-0x153,_0x446e32-_0x546555._0x523181,_0x446e32- -_0x546555._0x2f7665);}function _0x5da90c(_0x5b1224,_0x446fe7,_0x241e47,_0xf72f1e){return _0x3a64dd(_0x5b1224-0x186,_0x5b1224,_0x446fe7- -_0x11a4d5._0x4fc30d,_0xf72f1e-0x12c);}return new Promise((_0x3316ef,_0x474fff)=>{const _0x371c99={_0xb0ee94:0x5c6,_0x1c1fb9:0xa1},_0x3bb745={_0x4b5521:0x15};function _0x1ac265(_0x348e3e,_0x290069,_0x123c2a,_0x3a1b6d){return _0x4fbac4(_0x348e3e-_0x3bb745._0x4b5521,_0x290069-0xfd,_0x3a1b6d- -0x386,_0x123c2a);}function _0x4fb260(_0x516938,_0x22a158,_0x94b587,_0x2fb8ff){return _0x5da90c(_0x22a158,_0x94b587-_0x371c99._0xb0ee94,_0x94b587-_0x371c99._0x1c1fb9,_0x2fb8ff-0xad);}this[_0x1ac265(_0xc1e72e._0x231b4f,0x2e2,0x3c,0x1ac)][_0x1ac265(_0xc1e72e._0x196026,0x583,0x37f,_0xc1e72e._0x3e4516)](_0x4218f0,{'resolve':_0x3316ef,'reject':_0x474fff}),this[_0x4fb260(0x4ff,_0xc1e72e._0x251a3f,0x564,0x3fd)]?.['emit']({'type':AgentEventTypes[_0x4fb260(0x5ee,_0xc1e72e._0x32f870,_0xc1e72e._0x3edf7c,0x3ab)],'conversationId':_0x41b9d5,'messageId':_0x44554b,'toolCalls':_0x26adc7,'approvalId':_0x4218f0});});}['handleToolApproval'](_0xe932b,_0x1c34f5,_0x46d6a0,_0x3a7c8c){const _0x17bbb1={_0x7a6c4d:0x411,_0x4d0eab:0x4fd,_0x58af11:0x735,_0x23eaba:0x91e,_0x320c81:0x7b0,_0x5e14fd:0x797,_0x200c36:0xd0,_0x4a2a79:0x2ef,_0x55488a:0x406,_0x1c5b74:0x229,_0x4ba3bd:0x471,_0x2afa1a:0x3a4,_0x29c1a7:0x312,_0x137b18:0x1cd,_0xa4a9bf:0x388,_0x20a18b:0x239,_0x364d07:0x316,_0x2dde29:0x7,_0x478496:0x1b5,_0x247717:0x617,_0x3e696e:0x109,_0x14e110:0x723,_0x396c8e:0x1b0,_0x1e2a9b:0x2b5},_0x1651f8={_0x25fb4e:0x1c6,_0x154511:0x32,_0x5ee3a5:0x24},_0x334e09=this[_0x21eb51(0x3e6,_0x17bbb1._0x7a6c4d,_0x17bbb1._0x4d0eab,0x1dd)][_0x21eb51(_0x17bbb1._0x58af11,_0x17bbb1._0x23eaba,0x582,_0x17bbb1._0x320c81)](_0xe932b);function _0xd1b524(_0x20c41b,_0x19603c,_0x586445,_0x53237f){return _0x55e1bc(_0x19603c,_0x19603c-0x1cc,_0x586445-0x48,_0x20c41b- -0x6c2);}if(!_0x334e09){console[_0x21eb51(0x54d,0x5ad,_0x17bbb1._0x5e14fd,0x461)]('[Orchestrator]\x20Received\x20approval\x20for\x20unknown\x20or\x20already\x20processed\x20ID:\x20'+_0xe932b);return;}this['pendingApprovals'][_0xd1b524(0x1ed,_0x17bbb1._0x200c36,_0x17bbb1._0x4a2a79,0xa2)](_0xe932b);function _0x21eb51(_0x3507e3,_0x28213f,_0x1c4acc,_0x5baa51){return _0x3a64dd(_0x3507e3-_0x1651f8._0x25fb4e,_0x28213f,_0x3507e3- -_0x1651f8._0x154511,_0x5baa51-_0x1651f8._0x5ee3a5);}if(_0x1c34f5===_0x21eb51(_0x17bbb1._0x55488a,0x5ad,_0x17bbb1._0x1c5b74,_0x17bbb1._0x4ba3bd))_0x334e09[_0x21eb51(_0x17bbb1._0x2afa1a,_0x17bbb1._0x29c1a7,_0x17bbb1._0x137b18,_0x17bbb1._0xa4a9bf)](new Error(_0xd1b524(-_0x17bbb1._0x20a18b,-_0x17bbb1._0x364d07,_0x17bbb1._0x2dde29,-_0x17bbb1._0x478496)));else{if(_0x1c34f5==='edit'&&_0x3a7c8c)_0x334e09[_0x21eb51(_0x17bbb1._0x247717,0x6e8,0x3e7,0x800)]({'editInstruction':_0x3a7c8c});else _0x1c34f5===_0x21eb51(0x324,_0x17bbb1._0x3e696e,0x238,0x2d9)||_0x1c34f5===_0x21eb51(_0x17bbb1._0x14e110,0x4f8,0x63c,0x72d)?_0x334e09['resolve'](_0x46d6a0||[]):_0x334e09[_0xd1b524(-_0x17bbb1._0x396c8e,-0x174,-0x380,-_0x17bbb1._0x1e2a9b)](new Error('Invalid\x20approval\x20decision:\x20'+_0x1c34f5));}}['getAvailableToolNames'](){const _0x5af3da={_0x2f5fd2:0x584,_0x43e8e6:0x2b,_0x209c0d:0x135,_0x19742a:0x46b,_0x582bc0:0x235},_0x4ee26c={_0x137e16:0x273},_0x3156ce={_0x1a8ea0:0x65};function _0x577945(_0xcead14,_0x105b48,_0x334268,_0x4f12f8){return _0x55e1bc(_0xcead14,_0x105b48-0x1db,_0x334268-_0x3156ce._0x1a8ea0,_0x4f12f8- -0x30f);}const _0x16803e=this['tools'][_0x577945(0x3e9,0x4e7,0x507,_0x5af3da._0x2f5fd2)](this[_0x577945(-_0x5af3da._0x43e8e6,0x134,0x1ed,0x1c9)]['enabledTools']??[]);function _0x2f98af(_0x2cbada,_0x2fc5e2,_0x2f170e,_0x185cab){return _0x3a64dd(_0x2cbada-0x64,_0x2f170e,_0x185cab- -_0x4ee26c._0x137e16,_0x185cab-0x1aa);}return new Set(_0x16803e[_0x577945(_0x5af3da._0x209c0d,_0x5af3da._0x19742a,0x60,_0x5af3da._0x582bc0)](_0x372e1e=>_0x372e1e['function']['name']));}};import*as _0x41fbb5 from'os';import*as _0x5826a9 from'path';import*as _0x2bb541 from'fs';var RuntimeEnv=class{[_0x3a64dd(0x2af,0x691,0x4f2,0x2c0)];[_0x3a64dd(0x54b,0x5b0,0x429,0x3a2)]=null;constructor(_0x2ffaff={}){const _0x1b0428={_0x4f11d6:0x3cf,_0x469a24:0x506,_0x486e6d:0x615,_0x44ff71:0x5fc,_0x34a396:0x84a,_0xdcd092:0x68d},_0x290092={_0x16ada8:0x186,_0x3fe6f7:0x19},_0x3fa41f={_0x432aa4:0x173};function _0x254cd1(_0x143cc9,_0x5a7d1f,_0x5140ec,_0x27bf95){return _0x55e1bc(_0x5140ec,_0x5a7d1f-_0x3fa41f._0x432aa4,_0x5140ec-0x63,_0x27bf95- -0x1d);}function _0x1560c5(_0x13db51,_0x4c66fb,_0x5b0b7c,_0x165a0b){return _0x55e1bc(_0x5b0b7c,_0x4c66fb-_0x290092._0x16ada8,_0x5b0b7c-0x17b,_0x4c66fb- -_0x290092._0x3fe6f7);}this[_0x254cd1(_0x1b0428._0x4f11d6,_0x1b0428._0x469a24,0x5d3,0x611)]=_0x2ffaff[_0x1560c5(0x79d,_0x1b0428._0x486e6d,_0x1b0428._0x44ff71,_0x1b0428._0x34a396)]||_0x1560c5(0x624,_0x1b0428._0xdcd092,0x897,0x4d5);}get[_0x55e1bc(0xa51,0x85d,0x984,0x88e)](){const _0x4383ef={_0x41b9c3:0x42b,_0x55e020:0x42f,_0x3bdc74:0x362,_0x40352c:0x254,_0x1591a5:0x29b,_0x41726f:0x305,_0x1d26e6:0x214,_0x13bd0e:0x1e8},_0x4af8be={_0x10c256:0x67};if(!this[_0x2d8ef0(0x2d3,0x27e,_0x4383ef._0x41b9c3,0x22a)]){const _0x138543=_0x5826a9['join'](_0x41fbb5[_0x382f80(_0x4383ef._0x55e020,_0x4383ef._0x3bdc74,0x3b9,_0x4383ef._0x40352c)](),this[_0x2d8ef0(0x350,0x1c9,0x29f,0x2f3)],String(Date[_0x382f80(_0x4383ef._0x1591a5,_0x4383ef._0x41726f,_0x4383ef._0x1d26e6,_0x4383ef._0x13bd0e)]()));try{_0x2bb541['mkdirSync'](_0x138543,{'recursive':!![]});}catch{}this['_workspaceDir']=_0x138543;}function _0x382f80(_0x519bf1,_0x2c2607,_0x3e67e7,_0x54d48a){return _0x3a64dd(_0x519bf1-0xf8,_0x519bf1,_0x2c2607- -0x402,_0x54d48a-_0x4af8be._0x10c256);}function _0x2d8ef0(_0x5b8429,_0x531194,_0x589388,_0x5ca9a7){return _0x3a64dd(_0x5b8429-0x1b5,_0x5b8429,_0x5ca9a7- -0x1ff,_0x5ca9a7-0x1b4);}return this['_workspaceDir'];}[_0x55e1bc(0x665,0x91f,0x6df,0x6f9)](_0xf19b6f){const _0x582671={_0x2c01a0:0x1ad,_0x409f9c:0x594,_0x1047ae:0x4dc,_0x4d05c4:0x6d6,_0x52433d:0x55d,_0x59a874:0x379,_0x4f3ca8:0x19f,_0x46d34f:0x2d8,_0x1000d2:0x9,_0x572e6b:0x90,_0x570388:0x741,_0x22518a:0x449,_0x4275a7:0x1d,_0x13d8be:0x110,_0x1c424d:0xce},_0x126fea={_0x57d414:0x1d0,_0x6ba4f5:0xd6},_0x2dad2f=_0x5826a9[_0x5cad37(_0x582671._0x2c01a0,0x4b5,0x28d,0x2d8)](_0x41fbb5[_0x2f1c11(0x3af,_0x582671._0x409f9c,_0x582671._0x1047ae,0x63f)](),this['appName']);try{_0x2bb541[_0x2f1c11(_0x582671._0x4d05c4,_0x582671._0x52433d,0x3b5,0x401)](_0x2dad2f,{'recursive':!![]});}catch{}function _0x2f1c11(_0x57366f,_0x111e29,_0x1a6e6b,_0x503030){return _0x3a64dd(_0x57366f-0x152,_0x57366f,_0x111e29- -_0x126fea._0x57d414,_0x503030-_0x126fea._0x6ba4f5);}const _0x317b8c=_0xf19b6f?_0x5826a9[_0x5cad37(_0x582671._0x59a874,0x1a4,_0x582671._0x4f3ca8,_0x582671._0x46d34f)](_0x2dad2f,_0xf19b6f):_0x5826a9[_0x2f1c11(0x20e,0x1fe,_0x582671._0x1000d2,_0x582671._0x572e6b)](_0x2dad2f,String(Date['now']()));function _0x5cad37(_0x3d42cf,_0x48e52b,_0x158eeb,_0x2788c2){return _0x3a64dd(_0x3d42cf-0xd9,_0x3d42cf,_0x2788c2- -0xf6,_0x2788c2-0x112);}try{_0x2bb541[_0x2f1c11(_0x582671._0x570388,0x55d,_0x582671._0x22518a,0x76b)](_0x317b8c,{'recursive':!![]});}catch{}this[_0x2f1c11(_0x582671._0x4275a7,0x259,_0x582671._0x13d8be,_0x582671._0x1c424d)]=_0x317b8c;}['info'](){const _0x3f7e2d={_0x3873f0:0x969,_0x440481:0x7e9,_0x188b8e:0x37d,_0x389152:0x2a7,_0x2a3e60:0x99f,_0x564aa1:0x787,_0x403e97:0x90c},_0x40d005={_0x59dc0e:0x37},_0x389fe6={_0x5ee382:0x58,_0x161176:0x107};function _0x1bce80(_0x58ad14,_0x17308d,_0xf4ecb9,_0x2f3aa6){return _0x55e1bc(_0x2f3aa6,_0x17308d-0x6f,_0xf4ecb9-_0x389fe6._0x5ee382,_0xf4ecb9- -_0x389fe6._0x161176);}function _0x20b111(_0x2b2276,_0x3dd80c,_0x30cf10,_0xf667b3){return _0x3a64dd(_0x2b2276-0x83,_0x2b2276,_0xf667b3-_0x40d005._0x59dc0e,_0xf667b3-0x1b1);}return{'cwd':safeCwd(),'platform':process['platform'],'arch':process[_0x20b111(0x842,0x5a7,_0x3f7e2d._0x3873f0,_0x3f7e2d._0x440481)],'today':new Date()[_0x1bce80(0x4be,0x19d,_0x3f7e2d._0x188b8e,_0x3f7e2d._0x389152)](),'tempDir':_0x41fbb5['tmpdir'](),'workspaceDir':this[_0x1bce80(0x7da,_0x3f7e2d._0x2a3e60,_0x3f7e2d._0x564aa1,_0x3f7e2d._0x403e97)]};}[_0x55e1bc(0x53f,0x70e,0x52d,0x5b6)](..._0x332a3a){const _0x159c28={_0x1485b0:0x103},_0xb0080a={_0x5ad0b9:0x562};function _0x332cc6(_0xb0f3a9,_0x4e27b2,_0x45a7fb,_0x23677d){return _0x3a64dd(_0xb0f3a9-0x156,_0x45a7fb,_0xb0f3a9- -_0xb0080a._0x5ad0b9,_0x23677d-0x142);}return _0x5826a9[_0x332cc6(-0x194,-_0x159c28._0x1485b0,-0x21d,-0x24)](this['workspaceDir'],..._0x332a3a);}};function safeCwd(){const _0x200a4f={_0x51c6ca:0x11f,_0x1b82ad:0x38f,_0x186f79:0x2ec},_0x5f1323={_0x5e6109:0x3e,_0x300a35:0x49f};function _0x34ca45(_0x3035d8,_0x2582ff,_0x5d75db,_0x1dd361){return _0x3a64dd(_0x3035d8-_0x5f1323._0x5e6109,_0x3035d8,_0x1dd361- -_0x5f1323._0x300a35,_0x1dd361-0xb0);}try{return process[_0x34ca45(_0x200a4f._0x51c6ca,0x20b,_0x200a4f._0x1b82ad,_0x200a4f._0x186f79)]();}catch{return'';}}function renderTemplate(_0x2803c4,_0x4a7094){const _0x24d61d={_0x2a8458:0x57c,_0x4bc41e:0x4fc},_0x174acb={_0x58316b:0x13a};function _0x5ac16f(_0x4e00b5,_0x4c002b,_0x1fbcb2,_0x494d3d){return _0x55e1bc(_0x494d3d,_0x4c002b-0xca,_0x1fbcb2-_0x174acb._0x58316b,_0x4e00b5- -0x5);}if(!_0x2803c4)return _0x2803c4;return _0x2803c4[_0x5ac16f(_0x24d61d._0x2a8458,0x63c,0x52d,_0x24d61d._0x4bc41e)](/\{\{\s*([a-zA-Z0-9_]+)\s*\}\}/g,(_0x10dd91,_0x32334d)=>{const _0x45aeec=_0x4a7094[_0x32334d];return _0x45aeec===null||_0x45aeec===void 0x0?'':String(_0x45aeec);});}function buildInjectedSystem(_0xe8fdfe,{withSubAgent:_0x3be27c}={'withSubAgent':![]}){const _0x13afc3={_0x303f66:0x9c,_0x3f41c1:0xc4,_0x20f066:0x59,_0x14e954:0x156,_0xfaf185:0x3dc,_0x445d1f:0x3ec,_0x3069ff:0x739,_0x2c88c9:0x47a,_0x139aa3:0x1d4,_0x14db97:0xcc,_0x53bdd5:0x95a,_0x112f77:0x8de,_0x241b3b:0x202,_0x5679ab:0x4ac,_0x3c0d21:0x2aa,_0x3547fb:0x1d2,_0x5670da:0xc1,_0x32d133:0x259,_0x51974f:0x9e,_0x1ff236:0x3f3,_0x662a9b:0x36d,_0x1951f4:0x333,_0x4f98f8:0x6a,_0x44a200:0x12e,_0x319419:0x6a5,_0x17abe6:0x4f5,_0x4fec57:0x364,_0x12200a:0x54e,_0x551ff1:0x3e1,_0x1bc8f6:0x134,_0x3a79fb:0x1eb,_0x4e6337:0x48,_0x3082b8:0x9a,_0x2536ae:0x7,_0x463b69:0x61a,_0x414e9c:0x529,_0x1540e0:0x48e,_0x273fba:0x289,_0x2e4441:0x521,_0x37e360:0x1db,_0x4d3462:0x5ce,_0x5a2a79:0x3f3,_0x6237c7:0x41c,_0x317e8a:0x642,_0x3754c7:0x607,_0x134948:0x559,_0x17bc3c:0x3e7},_0xec2346={_0x1cdefc:0x36,_0x37342e:0x48},_0x5b6674={_0x50331f:0xbe,_0x2ad780:0x508},_0x2d8703=[_0x2f794e(_0x13afc3._0x303f66,_0x13afc3._0x3f41c1,-_0x13afc3._0x20f066,-_0x13afc3._0x14e954),_0x58eec3(_0x13afc3._0xfaf185,_0x13afc3._0x445d1f,0x5d0,_0x13afc3._0x3069ff)+_0xe8fdfe[_0x2f794e(_0x13afc3._0x2c88c9,0x2d1,0x2a4,0x268)],_0x2f794e(_0x13afc3._0x139aa3,0xef,0x12,_0x13afc3._0x14db97)+_0xe8fdfe[_0x58eec3(_0x13afc3._0x53bdd5,0x83b,0x7a3,_0x13afc3._0x112f77)]+'\x20'+_0xe8fdfe[_0x2f794e(0x2c5,_0x13afc3._0x241b3b,_0x13afc3._0x5679ab,_0x13afc3._0x3c0d21)],'-\x20Temp:\x20'+_0xe8fdfe[_0x2f794e(-0x133,_0x13afc3._0x3547fb,0x262,0xad)],_0x2f794e(-_0x13afc3._0x5670da,_0x13afc3._0x32d133,_0x13afc3._0x51974f,0x107)+_0xe8fdfe['workspaceDir']];function _0x2f794e(_0x496e2b,_0x37bad2,_0x252af1,_0x5783f4){return _0x3a64dd(_0x496e2b-_0x5b6674._0x50331f,_0x37bad2,_0x5783f4- -_0x5b6674._0x2ad780,_0x5783f4-0x130);}function _0x58eec3(_0x511fe9,_0x1f36f1,_0xbb41c8,_0x19ecac){return _0x55e1bc(_0x511fe9,_0x1f36f1-_0xec2346._0x1cdefc,_0xbb41c8-_0xec2346._0x37342e,_0xbb41c8- -0x123);}_0xe8fdfe['folderTree']&&(_0x2d8703[_0x58eec3(0x1ee,0x31d,_0x13afc3._0x1ff236,_0x13afc3._0x662a9b)](''),_0x2d8703[_0x2f794e(-_0x13afc3._0x1951f4,_0x13afc3._0x4f98f8,-0x19c,-_0x13afc3._0x44a200)](_0x58eec3(0x4c7,_0x13afc3._0x319419,_0x13afc3._0x17abe6,_0x13afc3._0x4fec57)),_0x2d8703[_0x58eec3(_0x13afc3._0x12200a,0x326,0x3f3,_0x13afc3._0x551ff1)](_0xe8fdfe['folderTree']));if(_0xe8fdfe['availableAgents']&&_0xe8fdfe['availableAgents'][_0x2f794e(_0x13afc3._0x1bc8f6,_0x13afc3._0x3a79fb,-0xa8,_0x13afc3._0x4e6337)]>0x0&&_0x3be27c){_0x2d8703[_0x2f794e(0x2d,-_0x13afc3._0x3082b8,_0x13afc3._0x2536ae,-0x12e)](''),_0x2d8703['push'](_0x58eec3(0x70d,0x5e0,_0x13afc3._0x463b69,_0x13afc3._0x414e9c));for(const _0x2e6b77 of _0xe8fdfe[_0x58eec3(_0x13afc3._0x1540e0,_0x13afc3._0x273fba,_0x13afc3._0x445d1f,_0x13afc3._0x2e4441)]){_0x2d8703[_0x58eec3(_0x13afc3._0x37e360,_0x13afc3._0x4d3462,_0x13afc3._0x5a2a79,0x21a)]('-\x20'+_0x2e6b77['id']+':\x20'+_0x2e6b77[_0x58eec3(_0x13afc3._0x6237c7,0x48d,_0x13afc3._0x317e8a,_0x13afc3._0x3754c7)]);}}return _0x2d8703[_0x58eec3(_0x13afc3._0x134948,0x2e1,_0x13afc3._0x17bc3c,0x62e)]('\x0a');}var AGENT_CREATOR_SYSTEM_PROMPT=_0x3a64dd(0x524,0x578,0x556,0x698);function buildAgentCreationPrompt(_0x5b0d6f){const _0x5841c8={_0x32c660:0x63f,_0x22d2b1:0x4fb},_0x316cb6={_0xe26ba1:0xf3,_0x5ae1b7:0x12a};function _0x23e0b1(_0x366f4f,_0xe0e1d8,_0x56921f,_0x2909e5){return _0x3a64dd(_0x366f4f-0x115,_0x2909e5,_0xe0e1d8- -_0x316cb6._0xe26ba1,_0x2909e5-_0x316cb6._0x5ae1b7);}return _0x23e0b1(0x6d2,0x552,_0x5841c8._0x32c660,_0x5841c8._0x22d2b1)+_0x5b0d6f+'\x0a\x0aGenerate\x20a\x20complete\x20agent\x20configuration\x20following\x20the\x20guidelines.\x20Return\x20ONLY\x20the\x20JSON\x20object.';}import{promises as _0x59badc}from'fs';import*as _0xff349e from'path';function _0xb207(_0x24792f,_0x6c2e55){_0x24792f=_0x24792f-0xa4;const _0x27975c=_0x2797();let _0xb207eb=_0x27975c[_0x24792f];if(_0xb207['kZogkS']===undefined){var _0x4bdd89=function(_0x594b03){const _0xd7cc5a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x41fbb5='',_0x5826a9='';for(let _0x2bb541=0x0,_0x59badc,_0xff349e,_0x58f982=0x0;_0xff349e=_0x594b03['charAt'](_0x58f982++);~_0xff349e&&(_0x59badc=_0x2bb541%0x4?_0x59badc*0x40+_0xff349e:_0xff349e,_0x2bb541++%0x4)?_0x41fbb5+=String['fromCharCode'](0xff&_0x59badc>>(-0x2*_0x2bb541&0x6)):0x0){_0xff349e=_0xd7cc5a['indexOf'](_0xff349e);}for(let _0x14b2a0=0x0,_0x439549=_0x41fbb5['length'];_0x14b2a0<_0x439549;_0x14b2a0++){_0x5826a9+='%'+('00'+_0x41fbb5['charCodeAt'](_0x14b2a0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5826a9);};_0xb207['vQYsba']=_0x4bdd89,_0xb207['ZPeMKN']={},_0xb207['kZogkS']=!![];}const _0x18d67b=_0x27975c[0x0],_0x1c92ad=_0x24792f+_0x18d67b,_0x44f8b6=_0xb207['ZPeMKN'][_0x1c92ad];return!_0x44f8b6?(_0xb207eb=_0xb207['vQYsba'](_0xb207eb),_0xb207['ZPeMKN'][_0x1c92ad]=_0xb207eb):_0xb207eb=_0x44f8b6,_0xb207eb;}var GitIgnoreParser=class{[_0x3a64dd(0x361,0x362,0x59b,0x493)]=[];constructor(_0x2b690f){const _0x4f7bbd={_0x16916e:0x324,_0x4eb569:0x316,_0x30e316:0x2bb,_0x2795e5:0x1cd,_0x16c5b3:0x26e,_0x7236d:0x5a,_0x4d7ab7:0xc8,_0x3d5321:0x125,_0x55b3b5:0x20e,_0x50e38d:0x457},_0x59ff53={_0xcb2999:0x2d},_0xf0f1ad=_0x2b690f['split']('\x0a');function _0x47f46b(_0x1500b9,_0x39cedc,_0x3ab371,_0x4f375b){return _0x55e1bc(_0x1500b9,_0x39cedc-0x12,_0x3ab371-_0x59ff53._0xcb2999,_0x3ab371- -0x538);}function _0x71eef4(_0x43869e,_0x214e76,_0x1f6376,_0x5f4682){return _0x3a64dd(_0x43869e-0xf5,_0x43869e,_0x1f6376- -0x1cc,_0x5f4682-0x145);}for(const _0x4dce71 of _0xf0f1ad){const _0x3dac29=_0x4dce71['trim']();if(!_0x3dac29||_0x3dac29[_0x47f46b(0x294,_0x4f7bbd._0x16916e,0x262,_0x4f7bbd._0x4eb569)]('#'))continue;const _0x5bc5c0=_0x3dac29['startsWith']('!'),_0x301cbd=_0x5bc5c0?_0x3dac29[_0x47f46b(_0x4f7bbd._0x30e316,_0x4f7bbd._0x2795e5,_0x4f7bbd._0x16c5b3,_0x4f7bbd._0x7236d)](0x1):_0x3dac29,_0x2629bb=_0x301cbd['endsWith']('/');this[_0x47f46b(_0x4f7bbd._0x4d7ab7,-0xb,0x19f,0x2a5)][_0x71eef4(_0x4f7bbd._0x3d5321,0x33,_0x4f7bbd._0x55b3b5,_0x4f7bbd._0x50e38d)]({'pattern':_0x2629bb?_0x301cbd['slice'](0x0,-0x1):_0x301cbd,'isNegation':_0x5bc5c0,'isDirectory':_0x2629bb});}}['shouldIgnore'](_0x575430,_0x7871c9){const _0x457926={_0x2695ae:0x130,_0xe42e6f:0x58,_0x273a3a:0x100,_0x20c722:0xc5,_0x924ae8:0x5f},_0x4616b7={_0x50ce3c:0x1b4,_0x12acd8:0x6d3},_0x12bda0={_0x3c1bb5:0x5f3,_0x4e9d11:0x1df};let _0x3e2cb4=![];function _0x140da7(_0x4b92d8,_0x3fb17f,_0x40323f,_0x23e127){return _0x3a64dd(_0x4b92d8-0x1d5,_0x40323f,_0x23e127- -_0x12bda0._0x3c1bb5,_0x23e127-_0x12bda0._0x4e9d11);}function _0x256217(_0x32cd8d,_0x41963b,_0x54beef,_0x7eb9ed){return _0x55e1bc(_0x54beef,_0x41963b-_0x4616b7._0x50ce3c,_0x54beef-0x1d0,_0x41963b- -_0x4616b7._0x12acd8);}for(const _0x207b2e of this[_0x140da7(_0x457926._0x2695ae,-0x46,-0x1ea,-_0x457926._0xe42e6f)]){if(_0x207b2e['isDirectory']&&!_0x7871c9)continue;this[_0x140da7(-_0x457926._0x273a3a,0x2ff,-0x15d,_0x457926._0x20c722)](_0x575430,_0x207b2e['pattern'])&&(_0x3e2cb4=!_0x207b2e[_0x256217(0x3c,0x1aa,0x187,-_0x457926._0x924ae8)]);}return _0x3e2cb4;}['matchPattern'](_0x55f572,_0x1de382){const _0x1b599f={_0x2395c6:0x552,_0x1ecd50:0x6d2,_0x2ccdcc:0x41e,_0x771a6c:0x540,_0x88709b:0x3c9,_0x4e0fb6:0x3e4,_0x6accbe:0x533,_0x3e2561:0x96d,_0x3e66d5:0x335,_0x22427d:0xf5,_0x43cb0b:0x33b},_0x545766={_0xfe0bd8:0x112,_0x457120:0x41},_0x5f4847=_0x55f572[_0x395192(0x64e,0x58e,_0x1b599f._0x2395c6,_0x1b599f._0x1ecd50)]('/');if(_0x1de382['includes']('*')){const _0x18f71a=new RegExp('^'+_0x1de382[_0x395192(0x51a,_0x1b599f._0x2ccdcc,_0x1b599f._0x771a6c,_0x1b599f._0x88709b)](/\./g,'\x5c.')['replace'](/\*/g,'.*')['replace'](/\?/g,'.')+'$');return _0x18f71a[_0xfd8c08(0x3d2,0x1de,_0x1b599f._0x4e0fb6,_0x1b599f._0x6accbe)](_0x55f572)||_0x5f4847[_0x395192(0x758,0x469,0x517,0x743)](_0x126abe=>_0x18f71a[_0xfd8c08(0x3f4,0x276,0x3e4,0x3bb)](_0x126abe));}function _0xfd8c08(_0x431d93,_0x1fe94c,_0x357f76,_0x43892a){return _0x3a64dd(_0x431d93-0x41,_0x1fe94c,_0x357f76- -0x327,_0x43892a-0x38);}function _0x395192(_0x19cbdd,_0x3f1b09,_0x35ccba,_0x45ef77){return _0x55e1bc(_0x3f1b09,_0x3f1b09-_0x545766._0xfe0bd8,_0x35ccba-0x1d7,_0x35ccba- -_0x545766._0x457120);}return _0x55f572===_0x1de382||_0x55f572[_0x395192(0x929,_0x1b599f._0x3e2561,0x759,0x74a)](_0x1de382+'/')||_0x5f4847[_0xfd8c08(-0x11a,_0x1b599f._0x3e66d5,_0x1b599f._0x22427d,_0x1b599f._0x43cb0b)](_0x3958c0=>_0x3958c0===_0x1de382);}};async function loadGitIgnore(_0x2f811c){const _0x55a757={_0x586152:0x16c,_0x429c16:0x69,_0x23f6f8:0x4d,_0x1ddab1:0x739,_0x3a3ae7:0x8c2,_0x38740c:0x8b2,_0x170a8c:0x340,_0x95f61:0x375,_0xff1dde:0x5d8},_0x34b4af={_0x412280:0x7e},_0x2c544b={_0xae9274:0x160,_0x22d8ce:0x159,_0x14213d:0x18a};function _0x261638(_0x480e04,_0x2e35ce,_0x22760a,_0x473674){return _0x3a64dd(_0x480e04-_0x2c544b._0xae9274,_0x2e35ce,_0x480e04-_0x2c544b._0x22d8ce,_0x473674-_0x2c544b._0x14213d);}function _0x1bdb46(_0x352698,_0x3dec90,_0x3d9c9a,_0x2d20bc){return _0x55e1bc(_0x3d9c9a,_0x3dec90-_0x34b4af._0x412280,_0x3d9c9a-0x184,_0x3dec90- -0x39e);}const _0x4aecfd=_0xff349e[_0x1bdb46(0x8a,_0x55a757._0x586152,-_0x55a757._0x429c16,-_0x55a757._0x23f6f8)](_0x2f811c,_0x261638(_0x55a757._0x1ddab1,_0x55a757._0x3a3ae7,_0x55a757._0x38740c,0x946));try{const _0x4d1441=await _0x59badc[_0x261638(0x574,0x738,_0x55a757._0x170a8c,_0x55a757._0x95f61)](_0x4aecfd,_0x261638(0x601,0x5a8,0x75e,_0x55a757._0xff1dde));return new GitIgnoreParser(_0x4d1441);}catch{return null;}}async function buildTree(_0x4bdb61,_0x2d0576,_0x3e0910,_0x467111,_0x376e6a,_0x44ab96){const _0x1b78da={_0x34943e:0x3a7,_0x29aec4:0x1a9,_0x2c1033:0x2b6,_0x17ad3b:0x1e4,_0x22d2e6:0x488,_0x2bca09:0x254,_0x47cc12:0x718,_0x2d2e0b:0x4cf,_0x58b11c:0x6c7,_0x50f3ff:0x4ba,_0x57acd2:0x5ae,_0x521de4:0x49e,_0x498672:0x3a4,_0x59c8c6:0x33d,_0x25b04c:0x4d1,_0x3d9daa:0x2ab,_0x1dfd22:0x386,_0x516416:0x144,_0x5b5f96:0x41c,_0x27ee58:0x180,_0x1afbaa:0x202,_0x1b9eb2:0x99,_0x329b30:0x2a0,_0x48626a:0x60,_0x2a09c3:0xbc,_0x26f9f5:0x593,_0x39cf79:0x60f,_0x72cfc3:0x253,_0x4ae47b:0xd1,_0x22d17d:0x2c,_0x21d4e5:0x692,_0x1dd417:0x467,_0x38c496:0x15,_0x12c5c2:0x211,_0x4d65f5:0x249,_0x376dbb:0x16c,_0x4fb33b:0x32f,_0x2b4940:0x1ac,_0x37e55c:0x71,_0x4dbcf9:0x6f,_0x127a6f:0x225,_0x16ee50:0x17d,_0x3c68b3:0xfe,_0x4eac68:0x25f},_0x4e4740={_0x465b36:0x9d,_0x2be4a7:0x6b,_0x4027bd:0xbb,_0x1d392d:0x5,_0x1c4154:0x78,_0x3e6a3a:0x1c1,_0x5c7566:0xbd,_0x2ca448:0x1c1,_0xd462a5:0xae,_0x1a210b:0xc3,_0x595fb0:0x76,_0x33dad0:0xb9,_0x2ab90a:0x243,_0x4270c8:0x150,_0x7c5827:0x1c4,_0x2dfcc5:0x303},_0x373f8e={_0xcd5d79:0x26e,_0x22a87e:0x93};if(_0x376e6a>=_0x467111[_0x247c37(_0x1b78da._0x34943e,_0x1b78da._0x29aec4,0x293,_0x1b78da._0x2c1033)]||_0x44ab96[_0x105ab4(_0x1b78da._0x17ad3b,_0x1b78da._0x22d2e6,_0x1b78da._0x2bca09,0xfd)]>=_0x467111['maxFiles'])return[];let _0x2a0fc2;function _0x247c37(_0x374acf,_0x40122e,_0x3ecabf,_0xed2b2c){return _0x3a64dd(_0x374acf-0x1ba,_0xed2b2c,_0x3ecabf- -_0x373f8e._0xcd5d79,_0xed2b2c-_0x373f8e._0x22a87e);}try{_0x2a0fc2=await _0x59badc[_0x247c37(_0x1b78da._0x47cc12,0x6f4,_0x1b78da._0x2d2e0b,0x5e2)](_0x4bdb61,{'withFileTypes':!![]});}catch{return[];}const _0x1236a6=[];function _0x105ab4(_0x38bebe,_0x12626e,_0x556889,_0x471df6){return _0x3a64dd(_0x38bebe-0xdc,_0x38bebe,_0x556889- -0x2dc,_0x471df6-0xa);}const _0x1ea857=_0x2a0fc2[_0x247c37(_0x1b78da._0x58b11c,0x5e5,_0x1b78da._0x50f3ff,_0x1b78da._0x57acd2)]((_0x4a56af,_0x925cb3)=>{const _0x11db79={_0x4680d3:0x1b1},_0x2f2214={_0x2e2397:0x168};function _0xc10b1(_0x173c49,_0x479f0d,_0x58b8c7,_0x45fa98){return _0x105ab4(_0x45fa98,_0x479f0d-_0x2f2214._0x2e2397,_0x173c49- -0x81,_0x45fa98-0x93);}function _0x363d5c(_0x203925,_0x4a7c21,_0x14d166,_0x1f4c36){return _0x247c37(_0x203925-0x11f,_0x4a7c21-0x112,_0x1f4c36- -_0x11db79._0x4680d3,_0x4a7c21);}if(_0x4a56af[_0xc10b1(0xbd,_0x4e4740._0x465b36,-_0x4e4740._0x2be4a7,0x308)]()&&!_0x925cb3[_0x363d5c(-_0x4e4740._0x4027bd,0x219,-0x1b0,-_0x4e4740._0x1d392d)]())return-0x1;if(!_0x4a56af[_0x363d5c(-0x3f,-_0x4e4740._0x1c4154,_0x4e4740._0x3e6a3a,-0x5)]()&&_0x925cb3[_0xc10b1(_0x4e4740._0x5c7566,_0x4e4740._0x2ca448,-_0x4e4740._0xd462a5,-0x8a)]())return 0x1;return _0x4a56af[_0xc10b1(_0x4e4740._0x1a210b,_0x4e4740._0x595fb0,-_0x4e4740._0x33dad0,0xd4)][_0xc10b1(_0x4e4740._0x2ab90a,_0x4e4740._0x4270c8,0x226,_0x4e4740._0x7c5827)](_0x925cb3[_0xc10b1(0xc3,-0x6d,0x1cd,_0x4e4740._0x2dfcc5)]);});for(const _0x4a8102 of _0x1ea857){if(_0x44ab96[_0x247c37(_0x1b78da._0x521de4,_0x1b78da._0x498672,0x2c2,_0x1b78da._0x59c8c6)]>=_0x467111['maxFiles'])break;if(!_0x467111[_0x105ab4(_0x1b78da._0x25b04c,0x37a,_0x1b78da._0x3d9daa,0x3d2)]&&_0x4a8102[_0x105ab4(_0x1b78da._0x1dfd22,0xaa,_0x1b78da._0x516416,0x222)][_0x105ab4(_0x1b78da._0x5b5f96,0x31f,0x382,_0x1b78da._0x27ee58)]('.'))continue;if(_0x4a8102[_0x105ab4(_0x1b78da._0x1afbaa,0x185,0x144,-_0x1b78da._0x1b9eb2)]===_0x105ab4(-0x6f,_0x1b78da._0x329b30,0x9e,0x9b))continue;const _0x25f6f1=_0xff349e[_0x247c37(-_0x1b78da._0x48626a,0x303,0x160,-0x91)](_0x4bdb61,_0x4a8102[_0x105ab4(0x1d2,0x205,0x144,-_0x1b78da._0x2a09c3)]),_0x3de06e=_0xff349e[_0x247c37(0x190,-0xdd,0x14d,0x308)](_0x2d0576,_0x25f6f1);if(_0x3e0910?.[_0x105ab4(_0x1b78da._0x26f9f5,0x2bb,0x463,_0x1b78da._0x39cf79)](_0x3de06e,_0x4a8102[_0x105ab4(_0x1b78da._0x72cfc3,-_0x1b78da._0x4ae47b,0x13e,_0x1b78da._0x22d17d)]()))continue;const _0x207ca6='\x20\x20'[_0x105ab4(0x3d1,_0x1b78da._0x21d4e5,_0x1b78da._0x1dd417,0x68e)](_0x376e6a),_0x5bd4c9=_0x4a8102[_0x105ab4(_0x1b78da._0x38c496,_0x1b78da._0x12c5c2,0x13e,0x136)]()?'/':'';_0x1236a6[_0x247c37(_0x1b78da._0x4d65f5,0x95,_0x1b78da._0x376dbb,0x281)](''+_0x207ca6+_0x4a8102['name']+_0x5bd4c9),_0x44ab96['count']++;if(_0x4a8102[_0x247c37(_0x1b78da._0x4fb33b,-0x64,_0x1b78da._0x2b4940,_0x1b78da._0x37e55c)]()&&_0x376e6a+0x1<_0x467111[_0x105ab4(_0x1b78da._0x4dbcf9,0x278,_0x1b78da._0x127a6f,0x20f)]){const _0x265005=await buildTree(_0x25f6f1,_0x2d0576,_0x3e0910,_0x467111,_0x376e6a+0x1,_0x44ab96);_0x1236a6[_0x105ab4(0x2d1,_0x1b78da._0x16ee50,_0x1b78da._0x3c68b3,_0x1b78da._0x4eac68)](..._0x265005);}}return _0x1236a6;}async function generateFolderTree(_0x2794fe,_0x8cffbd={}){const _0xc41118={_0x4f56ee:0x870,_0x55daab:0x115,_0x54c4f1:0x103,_0x248c60:0x18,_0x3fd0cf:0x74d,_0x172208:0x59c,_0x497e22:0x401,_0x173fbe:0x64d},_0x5f0e83={_0x437a6c:0x128,_0x4d0b03:0x3f};function _0x399c7b(_0x1c68d5,_0xcf7d9c,_0x5cad4c,_0x365bbb){return _0x55e1bc(_0x1c68d5,_0xcf7d9c-_0x5f0e83._0x437a6c,_0x5cad4c-0x25,_0x365bbb- -_0x5f0e83._0x4d0b03);}const _0x230721={'maxDepth':_0x8cffbd['maxDepth']??0x5,'maxFiles':_0x8cffbd[_0x399c7b(0x6ff,0x715,_0xc41118._0x4f56ee,0x761)]??0x1f4,'includeHidden':_0x8cffbd[_0x242608(_0xc41118._0x55daab,0x11e,0x255,-_0xc41118._0x54c4f1)]??![]},_0xfeac0c=await loadGitIgnore(_0x2794fe),_0x42467e={'count':0x0};function _0x242608(_0x4492fd,_0x50ec87,_0x53ca15,_0x2dbf75){return _0x55e1bc(_0x50ec87,_0x50ec87-0x159,_0x53ca15-0x179,_0x4492fd- -0x5ae);}const _0x463dcb=await buildTree(_0x2794fe,_0x2794fe,_0xfeac0c,_0x230721,0x0,_0x42467e),_0x12db1f=_0xff349e[_0x242608(0x1f0,-_0xc41118._0x248c60,0x2c2,0x276)](_0x2794fe)+'/';if(_0x463dcb[_0x399c7b(_0xc41118._0x3fd0cf,_0xc41118._0x172208,_0xc41118._0x497e22,_0xc41118._0x173fbe)]===0x0)return _0x12db1f+'\x0a(empty\x20or\x20all\x20files\x20ignored)';return[_0x12db1f,..._0x463dcb]['join']('\x0a');}var MemoryPortMetadataAdapter=class{constructor(_0x463ad5,_0x1eafe5=_0x55e1bc(0x400,0x63b,0x624,0x623)){const _0x5ae2e7={_0x28c146:0x3d3,_0x376d1b:0x4b2,_0x597570:0x36e,_0x377f41:0x35a,_0x419e58:0x1e1},_0x52106a={_0x4915ae:0x35f},_0x5dd362={_0x1c16e3:0x23,_0xe5d20e:0x137,_0x581214:0x49};function _0x1cf6d7(_0x529d67,_0x5def9d,_0x5e3abf,_0x2d57bd){return _0x55e1bc(_0x529d67,_0x5def9d-_0x5dd362._0x1c16e3,_0x5e3abf-_0x5dd362._0xe5d20e,_0x2d57bd- -_0x5dd362._0x581214);}this[_0x4f8659(_0x5ae2e7._0x28c146,_0x5ae2e7._0x376d1b,0x61d,_0x5ae2e7._0x597570)]=_0x463ad5;function _0x4f8659(_0x53230e,_0x3acbb1,_0x576123,_0x435add){return _0x3a64dd(_0x53230e-0x19d,_0x3acbb1,_0x53230e- -_0x52106a._0x4915ae,_0x435add-0xd5);}this[_0x1cf6d7(_0x5ae2e7._0x377f41,_0x5ae2e7._0x419e58,0x431,0x412)]=_0x1eafe5;}[_0x55e1bc(0x910,0x90b,0x8ea,0x86f)](_0x5204dc){const _0x28caa1={_0x449636:0x12a};function _0x597b95(_0x32012f,_0x3e2dcc,_0x1d4df7,_0x408550){return _0x3a64dd(_0x32012f-_0x28caa1._0x449636,_0x32012f,_0x3e2dcc- -0xc4,_0x408550-0x12b);}return''+this[_0x597b95(0xac,0x25b,0x26,0x377)]+_0x5204dc;}async[_0x55e1bc(0x925,0x8a3,0x99f,0x8a3)](_0x427520){const _0x2cc2ee={_0x20c022:0x2f4,_0x555d12:0x129,_0x3fcdbf:0x32},_0x51c58f={_0x105ccb:0x16a,_0x2b31e7:0x18b},_0xb0736c={_0x2871c0:0x152};function _0x2686bb(_0x358d97,_0x30ed27,_0x380343,_0x44d2c4){return _0x3a64dd(_0x358d97-0x2,_0x380343,_0x30ed27- -0x427,_0x44d2c4-_0xb0736c._0x2871c0);}function _0x33d74f(_0x4b7bc7,_0xd6933,_0x1739c9,_0x43090c){return _0x3a64dd(_0x4b7bc7-0x199,_0x43090c,_0xd6933-_0x51c58f._0x105ccb,_0x43090c-_0x51c58f._0x2b31e7);}const _0xa23ca7=await this['memory']['get'](this[_0x33d74f(0x84f,0x89d,0x7ac,0xa1b)](_0x427520));return _0xa23ca7[_0x2686bb(_0x2cc2ee._0x20c022,_0x2cc2ee._0x555d12,_0x2cc2ee._0x3fcdbf,0x210)]>0x0?_0xa23ca7[0x0]:null;}async['set'](_0x365e47,_0x951d02){const _0x139fa9={_0x4756d8:0x376,_0x80d16c:0x17c,_0x3ab2b6:0x62,_0x55d2e9:0x15a,_0x529436:0x1fe},_0x198aa3={_0x578853:0x89},_0x363063={_0x48c33b:0x6f2};function _0x56b0ad(_0x313a6f,_0x3284ee,_0x331331,_0xc1b2e8){return _0x55e1bc(_0x313a6f,_0x3284ee-0x134,_0x331331-0x43,_0x331331- -_0x363063._0x48c33b);}function _0x1d7f3b(_0x53d361,_0x39f946,_0x5ab5cb,_0x313c47){return _0x3a64dd(_0x53d361-0x1a2,_0x39f946,_0x313c47-_0x198aa3._0x578853,_0x313c47-0x2c);}await this[_0x56b0ad(_0x139fa9._0x4756d8,0x37d,_0x139fa9._0x80d16c,0x4d)][_0x56b0ad(-_0x139fa9._0x3ab2b6,0x2bc,_0x139fa9._0x55d2e9,_0x139fa9._0x529436)](this['getKey'](_0x365e47),[_0x951d02]);}async[_0x55e1bc(0xa05,0x755,0x7b0,0x8af)](_0x159ef7){const _0x2de5f0={_0x35c626:0x48d,_0x5843c2:0x785,_0x5d6fef:0x689},_0x2f212c={_0x6b63a6:0xa0};function _0x49f1f9(_0x5282c1,_0x2d7e07,_0x2807d7,_0x27e762){return _0x55e1bc(_0x2807d7,_0x2d7e07-0x84,_0x2807d7-0x152,_0x5282c1- -0x32c);}function _0x2bf539(_0x39b159,_0x208573,_0xba6188,_0x362174){return _0x3a64dd(_0x39b159-0x161,_0x362174,_0x39b159-0x73,_0x362174-_0x2f212c._0x6b63a6);}await this[_0x49f1f9(0x542,0x3f4,_0x2de5f0._0x35c626,0x5d2)][_0x2bf539(0x7e6,_0x2de5f0._0x5843c2,_0x2de5f0._0x5d6fef,0x815)](this[_0x2bf539(0x7a6,0x6e6,0x877,0x6c1)](_0x159ef7));}async[_0x55e1bc(0x627,0x47a,0x56d,0x65a)](){const _0x38cd89={_0x21134c:0x119,_0x2cbb98:0x7d,_0x292790:0xa1,_0x57ce43:0x61,_0x22f557:0x106,_0xe2fa8c:0x1db},_0x173137={_0x59cdf9:0x119},_0x8e54a2={_0x9275d6:0x637,_0x461d78:0xd6};function _0xe63c7b(_0x25cb15,_0x6f29e,_0x2c58aa,_0x534417){return _0x3a64dd(_0x25cb15-0x76,_0x534417,_0x25cb15- -_0x8e54a2._0x9275d6,_0x534417-_0x8e54a2._0x461d78);}function _0x3dd343(_0x500d59,_0x2b7c08,_0x222b62,_0x19536f){return _0x55e1bc(_0x222b62,_0x2b7c08-0xb7,_0x222b62-_0x173137._0x59cdf9,_0x2b7c08- -0x65c);}const _0x5972e7=await this['memory'][_0xe63c7b(-_0x38cd89._0x21134c,-_0x38cd89._0x2cbb98,_0x38cd89._0x292790,-_0x38cd89._0x57ce43)]();return _0x5972e7[_0x3dd343(-0xcc,_0x38cd89._0x22f557,_0x38cd89._0xe2fa8c,0xcb)](_0x532f52=>_0x532f52[_0xe63c7b(0x27,0x1b,-0x9d,-0x17)](this['prefix']))[_0x3dd343(0x5b,-0x118,-0x29a,-0x60)](_0x2a4cb1=>_0x2a4cb1[_0x3dd343(0x12e,0x14a,0x271,0x11f)](this[_0x3dd343(-0x3bf,-0x201,-0x133,-0x3fd)][_0xe63c7b(-0xe7,0x91,-0x13d,-0xd3)]));}async[_0x55e1bc(0x65b,0xaee,0x7f0,0x8aa)](){const _0x15a28e={_0x2d2ffa:0x65,_0x26fd59:0x4fc},_0x2073c9={_0xb81ffc:0x124},_0x399752={_0x2d8856:0x1c1};function _0x1110b9(_0xfdaff2,_0x40318e,_0x252fd2,_0x10efa4){return _0x55e1bc(_0x10efa4,_0x40318e-0x1a,_0x252fd2-_0x399752._0x2d8856,_0x40318e- -0xc1);}function _0x398a63(_0x326883,_0x1652c2,_0x20bb19,_0x2ad17b){return _0x55e1bc(_0x1652c2,_0x1652c2-_0x2073c9._0xb81ffc,_0x20bb19-0x122,_0x2ad17b- -0x5f5);}const _0x11dd5a=await this[_0x398a63(-0x165,-0x1c5,0x1b0,_0x15a28e._0x2d2ffa)]();await Promise[_0x1110b9(0x3ae,_0x15a28e._0x26fd59,0x56c,0x584)](_0x11dd5a['map'](_0x363260=>this['delete'](_0x363260)));}async[_0x55e1bc(0x754,0x6bb,0x5fc,0x7ed)](){const _0x5f4e5e={_0x1e309d:0x33f,_0x50f856:0xc9},_0x58a257={_0x261f48:0x19c,_0x511189:0x31};function _0x217ee7(_0xaa00b8,_0x43e317,_0x448492,_0x414faa){return _0x55e1bc(_0xaa00b8,_0x43e317-_0x58a257._0x261f48,_0x448492-_0x58a257._0x511189,_0x448492- -0x366);}const _0x334a9f=await this[_0x217ee7(_0x5f4e5e._0x1e309d,_0x5f4e5e._0x50f856,0x2f4,0x267)](),_0x34d4d9={};for(const _0x281d2f of _0x334a9f){const _0x33fe46=await this['get'](_0x281d2f);_0x33fe46!==null&&(_0x34d4d9[_0x281d2f]=_0x33fe46);}return _0x34d4d9;}async[_0x55e1bc(0x633,0x6d4,0x809,0x619)](_0x5287f0){const _0x2a6dfd={_0x1fb89b:0x529,_0x5b7d92:0x5cc},_0x21176c={_0x3001f3:0x5e};function _0x37b6b9(_0x1ee0fa,_0x833a28,_0x55c7d7,_0x33a00d){return _0x3a64dd(_0x1ee0fa-_0x21176c._0x3001f3,_0x33a00d,_0x1ee0fa- -0x1e7,_0x33a00d-0x53);}for(const [_0x1f949a,_0x12095f]of Object['entries'](_0x5287f0)){await this[_0x37b6b9(_0x2a6dfd._0x1fb89b,0x753,_0x2a6dfd._0x5b7d92,0x42d)](_0x1f949a,_0x12095f);}}},InMemoryMetadata=class{[_0x3a64dd(0x704,0x335,0x4b4,0x66e)]=new Map();async[_0x3a64dd(0x718,0x658,0x767,0x537)](_0x5ce905){const _0xd166e6={_0x1e651e:0x124,_0x24f507:0x2c6,_0x5dde97:0x455,_0x4802a3:0x43b,_0x196020:0x320},_0x1e7687={_0x5dc6e4:0x17d};function _0x2c3e74(_0x1848c0,_0x4016a7,_0x56b05c,_0x46f930){return _0x3a64dd(_0x1848c0-0x1a1,_0x1848c0,_0x4016a7- -0x1ee,_0x46f930-_0x1e7687._0x5dc6e4);}function _0x378160(_0x42bce9,_0xa54927,_0x24dc29,_0x1acda8){return _0x3a64dd(_0x42bce9-0xe4,_0x24dc29,_0x1acda8- -0x447,_0x1acda8-0x175);}return this[_0x2c3e74(_0xd166e6._0x1e651e,_0xd166e6._0x24f507,0x412,0x25a)][_0x378160(0x25b,_0xd166e6._0x5dde97,_0xd166e6._0x4802a3,_0xd166e6._0x196020)](_0x5ce905)??null;}async[_0x3a64dd(0x5f5,0x687,0x710,0x594)](_0x52e680,_0x255131){const _0xced53a={_0x1f5e72:0x39},_0x43c604={_0x15dd3b:0x3cf,_0x3f81c1:0x62};function _0x23cfff(_0xee7393,_0x2b2607,_0x310d7a,_0x2dc501){return _0x3a64dd(_0xee7393-0x1c8,_0x2b2607,_0x2dc501- -_0x43c604._0x15dd3b,_0x2dc501-_0x43c604._0x3f81c1);}this[_0x23cfff(0x301,0x20a,-_0xced53a._0x1f5e72,0xe5)]['set'](_0x52e680,_0x255131);}async[_0x55e1bc(0x956,0x8cb,0x699,0x8af)](_0x301a58){const _0x4c85bf={_0x8ba9da:0x88b,_0x5ea1d7:0xa21,_0x3d7fc4:0x604},_0x3d11d1={_0x55b40d:0x127,_0x382030:0x65,_0x27e20b:0x188};function _0x13e19b(_0x5c702c,_0x3a062a,_0x5a8d0d,_0x4da3b3){return _0x3a64dd(_0x5c702c-_0x3d11d1._0x55b40d,_0x5a8d0d,_0x5c702c-_0x3d11d1._0x382030,_0x4da3b3-_0x3d11d1._0x27e20b);}this['store'][_0x13e19b(0x7d8,_0x4c85bf._0x8ba9da,_0x4c85bf._0x5ea1d7,_0x4c85bf._0x3d7fc4)](_0x301a58);}async[_0x55e1bc(0x7c2,0x757,0x6c5,0x65a)](){const _0x2aa827={_0x233d8b:0x782,_0x608fa2:0xe7,_0x1aa433:0xd4},_0x1a0958={_0x31060e:0x13b};function _0x577ec4(_0x43cfa2,_0x10d7d0,_0x14158f,_0x385fa1){return _0x3a64dd(_0x43cfa2-0x1a2,_0x10d7d0,_0x14158f- -0x5fe,_0x385fa1-0x36);}function _0x4f744f(_0x207cac,_0x27535e,_0x153745,_0x1e4fab){return _0x55e1bc(_0x207cac,_0x27535e-0xa4,_0x153745-_0x1a0958._0x31060e,_0x153745- -0x48);}return Array[_0x4f744f(0x5b2,_0x2aa827._0x233d8b,0x7c3,0x6ba)](this['store'][_0x577ec4(-_0x2aa827._0x608fa2,-0x325,-0xe0,_0x2aa827._0x1aa433)]());}async['clear'](){const _0x324844={_0x3ba4f9:0x376,_0x540e61:0x361,_0x367fe4:0x31c,_0x276a53:0x1c2},_0xe46975={_0x31b33d:0x5e},_0x43cc51={_0x59d065:0x13d,_0x46997f:0x1d3};function _0x231b2c(_0x4a437d,_0x400bef,_0x15a524,_0x4a0796){return _0x3a64dd(_0x4a437d-_0x43cc51._0x59d065,_0x4a437d,_0x15a524- -0x153,_0x4a0796-_0x43cc51._0x46997f);}function _0x1343b4(_0x379dd6,_0x99e60a,_0x22d732,_0x580a20){return _0x55e1bc(_0x379dd6,_0x99e60a-_0xe46975._0x31b33d,_0x22d732-0x7b,_0x580a20- -0x620);}this[_0x231b2c(_0x324844._0x3ba4f9,0x437,_0x324844._0x540e61,_0x324844._0x367fe4)][_0x1343b4(0x4aa,_0x324844._0x276a53,0xce,0x28a)]();}async[_0x3a64dd(0x901,0x6f1,0x6b1,0x828)](){const _0x354378={_0x3dd823:0x1fa,_0x3627ed:0x192,_0x17af10:0x38,_0x4dff23:0x1be,_0x4bd259:0x16f,_0x3bba0c:0x187},_0x2d1d3b={_0x2d7906:0xdd,_0x193a8f:0x460},_0x5aac0b={_0x28208d:0x1dc};function _0x30186c(_0x10e419,_0x3fa94c,_0x43fcb7,_0x32447c){return _0x3a64dd(_0x10e419-0xe9,_0x3fa94c,_0x32447c- -0x2f6,_0x32447c-_0x5aac0b._0x28208d);}function _0x974a1a(_0x1ee281,_0x405294,_0x44a180,_0x3a67c1){return _0x55e1bc(_0x44a180,_0x405294-0x1e9,_0x44a180-_0x2d1d3b._0x2d7906,_0x1ee281- -_0x2d1d3b._0x193a8f);}const _0x19fc9c={};for(const [_0x4988e3,_0x3595e5]of this[_0x30186c(_0x354378._0x3dd823,_0x354378._0x3627ed,_0x354378._0x17af10,_0x354378._0x4dff23)][_0x30186c(-_0x354378._0x4bd259,0xdc,-_0x354378._0x3bba0c,0x69)]()){_0x19fc9c[_0x4988e3]=_0x3595e5;}return _0x19fc9c;}async['importSnapshot'](_0x7f7b1c){const _0x211f54={_0x5970b0:0x1a,_0x1d2f54:0x22e,_0x4601bf:0x3b4,_0x327104:0x4f2},_0x396869={_0x3bc997:0xd9};function _0x51eb38(_0x18a5f7,_0x8b105f,_0x29428f,_0x5b2c23){return _0x3a64dd(_0x18a5f7-0x1c2,_0x8b105f,_0x29428f- -0x286,_0x5b2c23-_0x396869._0x3bc997);}this[_0x51eb38(0x151,-_0x211f54._0x5970b0,_0x211f54._0x1d2f54,0x3b8)][_0x51eb38(_0x211f54._0x4601bf,0x459,0x4e8,0x49e)]();function _0x48523a(_0x13233d,_0x40bb7f,_0x195987,_0x2e8a2d){return _0x55e1bc(_0x13233d,_0x40bb7f-0x19f,_0x195987-0x98,_0x40bb7f- -0x22d);}for(const [_0x696843,_0x19c6a5]of Object[_0x48523a(0x307,0x26e,0x364,0x298)](_0x7f7b1c)){this['store'][_0x48523a(0x684,0x61f,0x3f7,_0x211f54._0x327104)](_0x696843,_0x19c6a5);}}},ConversationStore=class{constructor(_0x11b671,_0x2740d3){const _0x5350c3={_0x23a2b6:0x302},_0x5e0e4f={_0xaa2c41:0x237,_0x18042a:0x38};this['memory']=_0x11b671;function _0x21e417(_0x51fff1,_0x5afc0b,_0x5adf7e,_0x597be9){return _0x3a64dd(_0x51fff1-0xcb,_0x597be9,_0x5afc0b- -_0x5e0e4f._0xaa2c41,_0x597be9-_0x5e0e4f._0x18042a);}this[_0x21e417(0x48b,0x3d9,_0x5350c3._0x23a2b6,0x1b6)]=_0x2740d3??new MemoryPortMetadataAdapter(_0x11b671);}[_0x55e1bc(0x5c3,0x60d,0x932,0x74c)];async['getConversation'](_0x380c6c){const _0x5d2367={_0x1cf222:0x40e,_0x42b4f9:0x2c2,_0x515c74:0x502,_0x215835:0x45e,_0x1971b1:0x413,_0x53f962:0x4e4,_0x59c404:0x5fa,_0x3c8bc8:0x605,_0x19c5c6:0x568,_0x24c356:0x5d9},_0x550232={_0xa2a949:0x17},_0x43977e={_0x4a1d66:0x190,_0x42738c:0x1bf},_0x28a3bd=await this['memory']['get'](_0x380c6c);function _0x4b1298(_0x2d9121,_0x358336,_0x1f66f0,_0x45cdf3){return _0x55e1bc(_0x45cdf3,_0x358336-0x89,_0x1f66f0-_0x43977e._0x4a1d66,_0x358336- -_0x43977e._0x42738c);}const _0x5e9ce1=await this[_0x212caa(0x628,_0x5d2367._0x1cf222,0x70d,0x67b)]['get'](_0x380c6c);function _0x212caa(_0x5bfdf7,_0x314500,_0x550f9b,_0x37e1c1){return _0x55e1bc(_0x37e1c1,_0x314500-_0x550232._0xa2a949,_0x550f9b-0x150,_0x5bfdf7- -0x124);}return{'messages':_0x28a3bd,'metadata':_0x5e9ce1??{'createdAt':_0x28a3bd[0x0]?.[_0x4b1298(_0x5d2367._0x42b4f9,_0x5d2367._0x515c74,_0x5d2367._0x215835,0x2e0)],'updatedAt':_0x28a3bd[_0x28a3bd[_0x4b1298(0x657,0x4cd,_0x5d2367._0x1971b1,_0x5d2367._0x53f962)]-0x1]?.[_0x212caa(0x59d,_0x5d2367._0x59c404,0x3a1,_0x5d2367._0x3c8bc8)],'messageCount':_0x28a3bd[_0x212caa(_0x5d2367._0x19c5c6,_0x5d2367._0x24c356,0x5ca,0x4a5)]}};}async['setConversation'](_0x963109,_0x465c5c){const _0x28e0fd={_0x3c7128:0x263,_0x4f040d:0x28e,_0x3eea19:0x324,_0x3a0844:0x267,_0x34f280:0x61f,_0x6f801b:0x3bd,_0x351553:0x295,_0x3108ec:0xb7,_0x57fb2e:0x184,_0x4c15a8:0xbb},_0x3bf975={_0x9278be:0x5ce,_0x4534e7:0xfa};function _0x3508a3(_0x2d99ad,_0x590c40,_0x19788e,_0x36e6b3){return _0x3a64dd(_0x2d99ad-0xf3,_0x2d99ad,_0x590c40- -_0x3bf975._0x9278be,_0x36e6b3-_0x3bf975._0x4534e7);}function _0x3f1fd3(_0x4f4e5d,_0x52dc35,_0x320e39,_0x4ec360){return _0x3a64dd(_0x4f4e5d-0xa7,_0x320e39,_0x52dc35- -0x3ba,_0x4ec360-0x142);}await this[_0x3f1fd3(0x533,0x378,_0x28e0fd._0x3c7128,_0x28e0fd._0x4f040d)][_0x3508a3(_0x28e0fd._0x3eea19,0x142,_0x28e0fd._0x3a0844,0x37f)](_0x963109,_0x465c5c[_0x3f1fd3(_0x28e0fd._0x34f280,0x3d5,_0x28e0fd._0x6f801b,_0x28e0fd._0x351553)]),await this[_0x3508a3(_0x28e0fd._0x3108ec,0x42,-_0x28e0fd._0x57fb2e,_0x28e0fd._0x4c15a8)][_0x3508a3(0x238,0x142,0x17,-0x20)](_0x963109,_0x465c5c['metadata']);}async[_0x55e1bc(0x363,0x410,0x385,0x4dd)](_0x155eb8,_0x8fa976){const _0x11aaa0={_0x81512a:0x427,_0x5efee3:0x241,_0x655434:0x284,_0x54fb3d:0x1ac,_0x6ae2e4:0x317,_0x1a3b13:0x178,_0x3ab112:0xec,_0x200ea4:0x121,_0x3785e6:0x2f2,_0x317111:0x203,_0x35e104:0x255,_0x1b14ef:0x2e2},_0x163524={_0x3c193f:0xde,_0x3bb502:0x2cc,_0x906df:0xc5},_0x2f1387={_0x18b7b6:0x3b};function _0x30da35(_0x3c90ab,_0x5a4db1,_0x52e2dc,_0x313d5c){return _0x3a64dd(_0x3c90ab-_0x2f1387._0x18b7b6,_0x3c90ab,_0x5a4db1- -0x464,_0x313d5c-0xc4);}if(_0x8fa976[_0x486029(_0x11aaa0._0x81512a,0xc4,_0x11aaa0._0x5efee3,_0x11aaa0._0x655434)]===0x0)return;await this[_0x30da35(0x404,0x2ce,0x37a,0x169)]['append'](_0x155eb8,_0x8fa976);const _0x321bfa=await this['memory']['get'](_0x155eb8);function _0x486029(_0x78e5cc,_0x363cb9,_0x3030c7,_0x24bd4e){return _0x3a64dd(_0x78e5cc-_0x163524._0x3c193f,_0x363cb9,_0x24bd4e- -_0x163524._0x3bb502,_0x24bd4e-_0x163524._0x906df);}const _0x429929=await this[_0x30da35(0x57,_0x11aaa0._0x54fb3d,0x264,_0x11aaa0._0x6ae2e4)]['get'](_0x155eb8),_0x5bf743={..._0x429929,'updatedAt':_0x8fa976[_0x8fa976[_0x30da35(_0x11aaa0._0x1a3b13,_0x11aaa0._0x3ab112,0x22f,0x261)]-0x1]?.[_0x30da35(0x2c8,_0x11aaa0._0x200ea4,_0x11aaa0._0x3785e6,0x2a6)]??new Date()[_0x486029(0xc,0x1c0,0x266,_0x11aaa0._0x317111)](),'messageCount':_0x321bfa[_0x486029(_0x11aaa0._0x35e104,0x31a,0x2cc,0x284)]};await this['metadataMemory'][_0x486029(0x205,_0x11aaa0._0x1b14ef,0x34a,0x444)](_0x155eb8,_0x5bf743);}async['updateMetadata'](_0x1fccff,_0x2a2f36){const _0x370564={_0x46f172:0x131,_0x4f35b6:0x199,_0x5270a5:0x162,_0x20c32b:0x27f,_0x2750a2:0x2c4,_0x6fdb6:0x1ec,_0x2d6470:0x136,_0xb8a406:0x2d},_0x24c095={_0x1ce8ca:0xdf,_0x341696:0x60b},_0x11dd3c={_0x16a133:0xdd},_0x1a45d1=await this[_0x269662(0xa5,_0x370564._0x46f172,-0x1d8,0xb)][_0x269662(0x1cf,0x293,_0x370564._0x4f35b6,_0x370564._0x5270a5)](_0x1fccff);function _0x269662(_0xc1deea,_0x5ba8ca,_0x24a286,_0x3c0b19){return _0x55e1bc(_0xc1deea,_0x5ba8ca-_0x11dd3c._0x16a133,_0x24a286-0x117,_0x3c0b19- -0x741);}function _0x4a791b(_0x42dfd0,_0x15f06a,_0x1b0f33,_0x121f59){return _0x3a64dd(_0x42dfd0-_0x24c095._0x1ce8ca,_0x42dfd0,_0x15f06a- -_0x24c095._0x341696,_0x121f59-0x145);}const _0x162f74={..._0x1a45d1,..._0x2a2f36,'updatedAt':new Date()[_0x269662(-_0x370564._0x20c32b,-_0x370564._0x2750a2,-_0x370564._0x6fdb6,-_0x370564._0x2d6470)]()};await this[_0x269662(-0x1a8,0x1f4,-_0x370564._0xb8a406,0xb)]['set'](_0x1fccff,_0x162f74);}async[_0x55e1bc(0x7af,0x9f8,0x9d2,0x7f5)](_0x50646a,_0x241e8a){const _0x4ef41b={_0x1b61b2:0x425,_0x2931de:0x393,_0x462510:0x315,_0x251d24:0x34b,_0x57082b:0xe3,_0x4cadff:0x2c8,_0x1eb872:0x351,_0x18e055:0x1c1,_0x1dce43:0x26e,_0xcd879f:0x240,_0x5559ef:0x146,_0x457894:0xd6,_0x50df75:0x17d,_0x1c54da:0x9c,_0x50a541:0x2c9},_0x4435a0={_0x4f01c6:0xc8},_0x391e11={_0x295016:0x192,_0x58f095:0x1d5};function _0x179f77(_0x1a7dc5,_0x6be90d,_0x525aac,_0x2302a1){return _0x3a64dd(_0x1a7dc5-_0x391e11._0x295016,_0x525aac,_0x6be90d- -0x377,_0x2302a1-_0x391e11._0x58f095);}const _0x559241=await this[_0x179f77(_0x4ef41b._0x1b61b2,0x299,0x31b,0x431)][_0x179f77(0x496,0x3f0,_0x4ef41b._0x2931de,_0x4ef41b._0x462510)](_0x50646a);function _0x55435b(_0x1a78ee,_0x41b3d8,_0x2c40d5,_0x64a82e){return _0x3a64dd(_0x1a78ee-_0x4435a0._0x4f01c6,_0x2c40d5,_0x1a78ee- -0x593,_0x64a82e-0xb7);}const _0x125aac={..._0x559241,'promptTokens':(_0x559241?.[_0x55435b(-0x27a,-0xd6,-0xfa,-_0x4ef41b._0x251d24)]??0x0)+(_0x241e8a[_0x179f77(_0x4ef41b._0x57082b,-0x5e,-0x3c,0xdd)]??0x0),'completionTokens':(_0x559241?.[_0x55435b(0x21b,0x132,_0x4ef41b._0x4cadff,_0x4ef41b._0x1eb872)]??0x0)+(_0x241e8a['completionTokens']??0x0),'totalTokens':(_0x559241?.['totalTokens']??0x0)+(_0x241e8a[_0x179f77(0x3ac,_0x4ef41b._0x18e055,_0x4ef41b._0x1dce43,0x156)]??0x0),'contextWindow':_0x241e8a,'updatedAt':new Date()[_0x179f77(0x2b7,0x158,_0x4ef41b._0xcd879f,_0x4ef41b._0x5559ef)]()};await this[_0x55435b(0x7d,0x21,-0x64,_0x4ef41b._0x457894)][_0x55435b(_0x4ef41b._0x50df75,-0x90,-_0x4ef41b._0x1c54da,_0x4ef41b._0x50a541)](_0x50646a,_0x125aac);}async[_0x55e1bc(0x676,0x50c,0x66b,0x46a)](_0x526c8d,_0x464090){const _0x3d98b5={_0x2d8d4a:0xde,_0x42b376:0xb1,_0x319be6:0x2fe,_0x17a2a7:0x246,_0x4f306d:0xc7,_0x527ab1:0x32c,_0x5f23e0:0x105,_0x95ba27:0x246,_0x32c826:0x3ff,_0x282ead:0x24f,_0x5e1ad7:0x351,_0x307875:0x213,_0x108a61:0x451,_0x5df522:0x2ae,_0x802bab:0x424,_0xf3d416:0x2d3,_0x2fc4e3:0x382,_0x4c4306:0x4bb,_0x59efb9:0x48c,_0x3fdc58:0x509,_0x2db8ad:0x612,_0x537480:0x234,_0x47299b:0x342,_0x3a572:0x3b1,_0x433ebc:0xea,_0x132d11:0xfe,_0x54fe67:0x1b1,_0x2c570e:0x842,_0x29e056:0x656,_0x5cae1e:0x360,_0x5bc44a:0xf9},_0x5d7e63=await this[_0x82c40b(-_0x3d98b5._0x2d8d4a,0xf4,_0x3d98b5._0x42b376,0x256)]['get'](_0x526c8d),_0x1c23db={..._0x5d7e63,'promptTokens':(_0x5d7e63?.[_0x82c40b(-_0x3d98b5._0x319be6,-0x37,-_0x3d98b5._0x17a2a7,-_0x3d98b5._0x4f306d)]??0x0)+(_0x464090[_0x82c40b(-_0x3d98b5._0x527ab1,-_0x3d98b5._0x5f23e0,-_0x3d98b5._0x95ba27,-_0x3d98b5._0x32c826)]??0x0),'completionTokens':(_0x5d7e63?.[_0x472f5e(0x7c4,0x840,0x92e,0x7f4)]??0x0)+(_0x464090[_0x82c40b(0x18,0x29d,_0x3d98b5._0x282ead,_0x3d98b5._0x5e1ad7)]??0x0),'totalTokens':(_0x5d7e63?.[_0x82c40b(0x123,-_0x3d98b5._0x307875,-0x27,0x209)]??0x0)+(_0x464090['totalTokens']??0x0),'requestCount':(_0x5d7e63?.['requestCount']??0x0)+0x1,'toolCallCount':(_0x5d7e63?.[_0x472f5e(0x371,_0x3d98b5._0x108a61,_0x3d98b5._0x5df522,_0x3d98b5._0x802bab)]??0x0)+(_0x464090[_0x472f5e(_0x3d98b5._0xf3d416,_0x3d98b5._0x2fc4e3,_0x3d98b5._0x4c4306,_0x3d98b5._0x59efb9)]??0x0),'totalTimeMs':(_0x5d7e63?.['totalTimeMs']??0x0)+(_0x464090['responseTimeMs']??0x0),'totalPrice':(_0x5d7e63?.['totalPrice']??0x0)+(_0x464090[_0x472f5e(_0x3d98b5._0x3fdc58,0x46e,0x621,_0x3d98b5._0x2db8ad)]??0x0),'contextWindow':{'promptTokens':_0x464090[_0x82c40b(-_0x3d98b5._0x537480,-_0x3d98b5._0x47299b,-_0x3d98b5._0x17a2a7,-_0x3d98b5._0x3a572)],'completionTokens':_0x464090[_0x82c40b(_0x3d98b5._0x433ebc,0xe1,_0x3d98b5._0x282ead,0x38f)],'totalTokens':_0x464090['totalTokens']},'updatedAt':new Date()[_0x82c40b(-0x1c5,-_0x3d98b5._0x132d11,-0x90,_0x3d98b5._0x54fe67)]()};function _0x82c40b(_0x3637e0,_0x1c3199,_0x1e498f,_0x350338){return _0x3a64dd(_0x3637e0-0x1dc,_0x1c3199,_0x1e498f- -0x55f,_0x350338-0x0);}await this[_0x472f5e(0x49e,0x4d4,_0x3d98b5._0x2c570e,_0x3d98b5._0x29e056)][_0x82c40b(-0x93,_0x3d98b5._0x5cae1e,_0x3d98b5._0x54fe67,_0x3d98b5._0x5bc44a)](_0x526c8d,_0x1c23db);function _0x472f5e(_0x3643c3,_0x536d0a,_0x3e99db,_0x56606b){return _0x55e1bc(_0x536d0a,_0x536d0a-0x191,_0x3e99db-0xa5,_0x56606b- -0xf6);}return _0x1c23db;}async[_0x55e1bc(0x884,0x7ee,0x6d3,0x75b)](_0x2c3fe9,_0x21c9a5){const _0xf82a7={_0xa122a0:0x311,_0x289b79:0x249,_0x53a253:0x320,_0xcf0b1:0x51c},_0x184194={_0x467dc1:0x176,_0x5bc219:0x57f};function _0xe17a9a(_0x568ba2,_0x3db936,_0x2e443d,_0x43ac44){return _0x3a64dd(_0x568ba2-_0x184194._0x467dc1,_0x2e443d,_0x568ba2- -_0x184194._0x5bc219,_0x43ac44-0x105);}const _0x1c8cd9=await this['metadataMemory']['get'](_0x2c3fe9);function _0x4cf216(_0x461a27,_0x4901e8,_0x8e6903,_0x5aadf2){return _0x55e1bc(_0x8e6903,_0x4901e8-0x109,_0x8e6903-0x1c3,_0x5aadf2- -0x2fa);}const _0x5de563={..._0x1c8cd9,'topic':_0x21c9a5,'updatedAt':new Date()[_0x4cf216(0x4fb,0x1b7,0x464,_0xf82a7._0xa122a0)]()};await this[_0x4cf216(0x366,_0xf82a7._0x289b79,_0xf82a7._0x53a253,0x452)][_0x4cf216(0x423,_0xf82a7._0xcf0b1,0x568,0x552)](_0x2c3fe9,_0x5de563);}async[_0x3a64dd(0x370,0x64b,0x56c,0x5b9)](_0x16ea0c){const _0x178e6b={_0x2d7f09:0x33c,_0x3b298f:0x384,_0xc2af0e:0x137,_0x56748d:0x18d,_0x2547f4:0xee,_0x423aed:0x41a,_0x1b82ec:0x3c5,_0x39f644:0x4ce},_0x3c85ae={_0x5133be:0x4ea},_0x4eabf0={_0x5e4f26:0x1a0};function _0xcebbdc(_0x21f203,_0x5768ba,_0x3a73ab,_0x5b9d21){return _0x55e1bc(_0x3a73ab,_0x5768ba-0xcc,_0x3a73ab-_0x4eabf0._0x5e4f26,_0x5768ba- -0x681);}await this[_0x3942ed(_0x178e6b._0x2d7f09,_0x178e6b._0x3b298f,_0x178e6b._0xc2af0e,_0x178e6b._0x56748d)]['delete'](_0x16ea0c);function _0x3942ed(_0x510b77,_0x5e9aa7,_0x399924,_0x53a725){return _0x55e1bc(_0x510b77,_0x5e9aa7-0x3b,_0x399924-0x175,_0x5e9aa7- -_0x3c85ae._0x5133be);}await this[_0xcebbdc(0x3d,0xcb,0x5b,_0x178e6b._0x2547f4)][_0x3942ed(_0x178e6b._0x423aed,_0x178e6b._0x1b82ec,0x379,_0x178e6b._0x39f644)](_0x16ea0c);}async[_0x3a64dd(0x99e,0x626,0x7a9,0x7ca)](){const _0x78e55a={_0x49acdc:0x376,_0x33c57a:0x35,_0x563116:0x66,_0x466984:0x1ef},_0x4fa0be={_0x42593a:0x1b9,_0x58953e:0x183},_0x568d5d={_0x33fbc6:0x4ec,_0xa3fb3b:0x1a0,_0x4311cf:0x353},_0x5c4cc9={_0x2e3ed5:0x5e};function _0x192cc7(_0x4576e9,_0x144f5f,_0x30526b,_0x291e62){return _0x55e1bc(_0x291e62,_0x144f5f-0x50,_0x30526b-_0x5c4cc9._0x2e3ed5,_0x4576e9- -0xba);}const _0x470466=await this['memory'][_0x491a60(0x3e,0x155,_0x78e55a._0x49acdc,_0x78e55a._0x33c57a)](),_0x19cc79=_0x470466[_0x491a60(0x1de,0x25d,0x146,0x107)](_0x5052b9=>!_0x5052b9[_0x192cc7(0x6e0,0x496,0x6db,0x8ab)](_0x491a60(0x1bf,0x11e,0x10e,-0x91))),_0x4ec046=await Promise['all'](_0x19cc79[_0x491a60(_0x78e55a._0x563116,0x3f,_0x78e55a._0x466984,-0x191)](async _0x521355=>{const _0x797e61=await this[_0x54104a(_0x568d5d._0x33fbc6,_0x568d5d._0xa3fb3b,_0x568d5d._0x4311cf,0x2ea)]['get'](_0x521355);function _0x54104a(_0x39e2bb,_0x1acf55,_0x5d5d0d,_0x43f838){return _0x491a60(_0x43f838,_0x5d5d0d-0x10c,_0x5d5d0d-0x14d,_0x43f838-0xfb);}return{'id':_0x521355,'metadata':_0x797e61??{}};}));function _0x491a60(_0x4f2bd1,_0xf041bf,_0x3fffe7,_0x1faafb){return _0x3a64dd(_0x4f2bd1-_0x4fa0be._0x42593a,_0x4f2bd1,_0xf041bf- -0x3c9,_0x1faafb-_0x4fa0be._0x58953e);}return _0x4ec046;}async['exportSnapshot'](){const _0x4c6554={_0x167700:0x21e,_0x1865ea:0x3f3,_0x45cd4d:0x26},_0x5e19cf={_0x10fb73:0x55,_0x99953b:0x67},_0x566157={_0x3316ad:0x80,_0x437e63:0x4db,_0x369fa7:0x62},_0x1a698b={};function _0x43d42f(_0x2bdf74,_0x3d9656,_0x2cfa90,_0x2d2bb7){return _0x3a64dd(_0x2bdf74-_0x566157._0x3316ad,_0x2d2bb7,_0x3d9656- -_0x566157._0x437e63,_0x2d2bb7-_0x566157._0x369fa7);}const _0x57f77d=await this[_0x540aa2(_0x4c6554._0x167700,0x403,_0x4c6554._0x1865ea,0x340)]();function _0x540aa2(_0x1e3138,_0x27b7c9,_0x4a3845,_0x47ea40){return _0x55e1bc(_0x1e3138,_0x27b7c9-_0x5e19cf._0x10fb73,_0x4a3845-_0x5e19cf._0x99953b,_0x47ea40- -0x5a5);}for(const {id:_0x59f4c7}of _0x57f77d){const _0x1a1f71=await this[_0x540aa2(0x3c,_0x4c6554._0x45cd4d,-0x12e,0xd2)](_0x59f4c7);_0x1a698b[_0x59f4c7]=_0x1a1f71;}return _0x1a698b;}async[_0x55e1bc(0x442,0x4f6,0x524,0x619)](_0x392d4b){const _0x50cdf9={_0xd1a0d3:0x463,_0x1f773f:0x46c,_0x2f6132:0x420,_0x4a32f8:0x713,_0x2fc49d:0x58f,_0x443f63:0x71a},_0x1bf6a0={_0x5bd542:0x12f,_0x1aebce:0x20},_0x29e617={_0x2947a8:0x569,_0x39eb71:0x11b};function _0x5abae3(_0x2e9d8b,_0x22c266,_0xbb52d6,_0xb930e2){return _0x3a64dd(_0x2e9d8b-0x125,_0x22c266,_0xbb52d6- -_0x29e617._0x2947a8,_0xb930e2-_0x29e617._0x39eb71);}function _0x145578(_0x2f5c56,_0x1bbfb3,_0x3bd2e4,_0x414b5f){return _0x55e1bc(_0x3bd2e4,_0x1bbfb3-_0x1bf6a0._0x5bd542,_0x3bd2e4-_0x1bf6a0._0x1aebce,_0x2f5c56- -0x38);}for(const [_0x4ec6a1,_0x13442a]of Object[_0x145578(_0x50cdf9._0xd1a0d3,_0x50cdf9._0x1f773f,_0x50cdf9._0x2f6132,0x29f)](_0x392d4b)){await this[_0x145578(0x606,_0x50cdf9._0x4a32f8,_0x50cdf9._0x2fc49d,_0x50cdf9._0x443f63)](_0x4ec6a1,_0x13442a);}}},ConversationContext=class{['activeConversationId']=_0x55e1bc(0x8a9,0xa36,0x8a2,0x8d7);[_0x55e1bc(0x6ba,0xad5,0xa8d,0x8ef)](){return this['activeConversationId'];}[_0x55e1bc(0x463,0x7bb,0x3f9,0x5a1)](_0x3fc2a2){const _0x1c1f95={_0x3785af:0x574,_0x2f09b5:0x4ff,_0x5f4175:0x579,_0x465da2:0x4cb,_0x4f37b4:0x4a0,_0x4c5d33:0x670,_0x583ab8:0x6be,_0x1b6119:0xf5,_0x148972:0x3e1,_0x56f77c:0x2d7},_0x14a1b8={_0x17a932:0x79,_0x49e7e5:0x14f};if(!_0x3fc2a2||_0x3fc2a2[_0x14b001(_0x1c1f95._0x3785af,0x2fc,0x328,_0x1c1f95._0x2f09b5)]()[_0x20b9c8(0x6f3,0x600,_0x1c1f95._0x5f4175,_0x1c1f95._0x465da2)]===0x0)throw new Error(_0x14b001(_0x1c1f95._0x4f37b4,_0x1c1f95._0x4c5d33,_0x1c1f95._0x583ab8,0x4a2));function _0x14b001(_0x24459d,_0x15302b,_0x541c34,_0x2a9fbf){return _0x55e1bc(_0x541c34,_0x15302b-0x17a,_0x541c34-0x19c,_0x2a9fbf- -0x31d);}function _0x20b9c8(_0x3da8d3,_0x327065,_0x37eaff,_0x206267){return _0x55e1bc(_0x37eaff,_0x327065-_0x14a1b8._0x17a932,_0x37eaff-_0x14a1b8._0x49e7e5,_0x206267- -0x1c1);}this[_0x14b001(0x2c4,_0x1c1f95._0x1b6119,_0x1c1f95._0x148972,_0x1c1f95._0x56f77c)]=_0x3fc2a2['trim']();}[_0x3a64dd(0x8a8,0x53a,0x77f,0x645)](_0x1ec302){const _0xc300b3={_0x2b2128:0x8ae,_0x3f6b5b:0x2fc,_0x1ef80e:0x2a9},_0x456a5f={_0x284b24:0x104},_0xf7a44d={_0x1ed03a:0x14e,_0x23faa9:0x156,_0x2326d0:0x9f},_0x29aeb3=Date['now']();function _0x4885ae(_0x2af2b6,_0x8980c0,_0x307ab9,_0x1a2407){return _0x3a64dd(_0x2af2b6-_0xf7a44d._0x1ed03a,_0x1a2407,_0x307ab9- -_0xf7a44d._0x23faa9,_0x1a2407-_0xf7a44d._0x2326d0);}const _0x3518e6=_0x1ec302?this[_0x1a5d0b(0x823,_0xc300b3._0x2b2128,0x846,0x6a6)](_0x1ec302):_0x4885ae(_0xc300b3._0x3f6b5b,0x125,_0xc300b3._0x1ef80e,0x280);function _0x1a5d0b(_0x5e73ab,_0x22a8af,_0x2fabc5,_0x4c907f){return _0x55e1bc(_0x2fabc5,_0x22a8af-0x2,_0x2fabc5-_0x456a5f._0x284b24,_0x5e73ab- -0x49);}return _0x3518e6+'-'+_0x29aeb3;}['slugify'](_0x1cbbff){const _0x378e87={_0x1035a3:0x5f3,_0x507638:0x4c0,_0x1843a0:0x40f,_0x1c6bb3:0x200,_0x373121:0x10,_0x1ec041:0x225,_0x14575e:0x1b8,_0x1d3043:0x504,_0x5d231b:0x2be},_0x2b86af={_0x4d4f1a:0x11,_0x10f2c3:0x362},_0x3fbaec={_0x2e18ed:0x4ed};function _0x39743f(_0x51cb88,_0x30ee94,_0x3746ed,_0xa7608b){return _0x3a64dd(_0x51cb88-0x23,_0x3746ed,_0x51cb88- -_0x3fbaec._0x2e18ed,_0xa7608b-0x19a);}function _0x45882d(_0x557fd5,_0x22ddae,_0x2c584c,_0xe98663){return _0x55e1bc(_0x22ddae,_0x22ddae-_0x2b86af._0x4d4f1a,_0x2c584c-0x11d,_0x2c584c- -_0x2b86af._0x10f2c3);}return _0x1cbbff[_0x45882d(_0x378e87._0x1035a3,_0x378e87._0x507638,_0x378e87._0x1843a0,0x406)]()[_0x45882d(0x300,0x39f,0x21f,_0x378e87._0x1c6bb3)](/[^a-z0-9]+/g,'-')[_0x39743f(-0xa8,_0x378e87._0x373121,-0x26,-_0x378e87._0x1ec041)](/^-|-$/g,'')[_0x45882d(_0x378e87._0x14575e,_0x378e87._0x1d3043,_0x378e87._0x5d231b,0x114)](0x0,0x1e);}},TodoStore=class{constructor(_0xb9a74){const _0x4d2d03={_0x382265:0x6f7,_0x12adbb:0x7fa};function _0x510892(_0x59d4b4,_0x329a07,_0x59462b,_0x4e60df){return _0x55e1bc(_0x59462b,_0x329a07-0x18f,_0x59462b-0x65,_0x4e60df- -0x74);}this[_0x510892(_0x4d2d03._0x382265,0x6a3,0x69d,_0x4d2d03._0x12adbb)]=_0xb9a74;}async['getTodos'](_0x41c42f){const _0xd42ca3={_0x71f634:0x7e8,_0x42ea13:0x6ca,_0x5b3f21:0x798,_0x47e090:0x972,_0x1f9192:0x7e3,_0x2a0f67:0x765,_0x275615:0x695,_0x24bc30:0x84b},_0x186080={_0x4b9c22:0x3},_0x4a9a90={_0x31c803:0x117,_0x457eb3:0x100};function _0x4ef635(_0x13dd08,_0x2d7ead,_0x5a016a,_0x37f347){return _0x3a64dd(_0x13dd08-_0x4a9a90._0x31c803,_0x37f347,_0x2d7ead-0xb1,_0x37f347-_0x4a9a90._0x457eb3);}function _0x23f380(_0x3d774d,_0x5b2530,_0x5bf988,_0x371268){return _0x3a64dd(_0x3d774d-0x18b,_0x3d774d,_0x371268- -_0x186080._0x4b9c22,_0x371268-0x46);}const _0x12d632=_0x41c42f??_0x23f380(_0xd42ca3._0x71f634,0x872,_0xd42ca3._0x42ea13,_0xd42ca3._0x5b3f21),_0x32fb9c=await this[_0x4ef635(_0xd42ca3._0x47e090,_0xd42ca3._0x1f9192,0x99a,_0xd42ca3._0x2a0f67)][_0x4ef635(_0xd42ca3._0x275615,0x818,0x67b,_0xd42ca3._0x24bc30)](_0x12d632);return _0x32fb9c??[];}async[_0x55e1bc(0x734,0x61e,0x528,0x4f1)](_0xa38ab7,_0x314fa3){const _0x351a8d={_0x123569:0x2b5,_0x3018ac:0x1c0,_0x304df7:0xe6,_0x98fe4f:0x377,_0x348d76:0x16a,_0x1d2115:0x135},_0x34959a={_0x21856b:0x1d7};function _0x1e2636(_0x3bec1e,_0x272303,_0x45fd80,_0x5ce204){return _0x55e1bc(_0x5ce204,_0x272303-0x197,_0x45fd80-0x153,_0x45fd80- -0x717);}const _0x43ccb5=_0x314fa3??_0x1e2636(_0x351a8d._0x123569,0x308,_0x351a8d._0x3018ac,0x23);function _0x2e9ee0(_0x1ab8e0,_0x423f4d,_0x3fd7a5,_0x5157b9){return _0x3a64dd(_0x1ab8e0-_0x34959a._0x21856b,_0x5157b9,_0x3fd7a5- -0x582,_0x5157b9-0x1e2);}await this[_0x1e2636(-0x34,0xd9,0x157,_0x351a8d._0x304df7)][_0x1e2636(_0x351a8d._0x98fe4f,_0x351a8d._0x348d76,_0x351a8d._0x1d2115,0xce)](_0x43ccb5,_0xa38ab7);}async[_0x55e1bc(0x6d5,0x2f2,0x501,0x500)](_0x49bb72){const _0x15a4e9={_0x46403:0x50e,_0x270ad6:0x4fa,_0x4c8406:0x6bd,_0x3d6c97:0x1f9,_0x4be6af:0x12e,_0x1bbad4:0x155,_0x501700:0x575,_0x18b278:0x455,_0x5a9472:0x65c,_0x28ee11:0x725,_0x479903:0x486,_0x25f113:0x53d,_0x19138f:0x6f7,_0x4fa1da:0x701,_0x51a30b:0x6cf},_0x378c81={_0x408528:0xc4},_0x362d0c={_0x48f9e4:0x56},_0x3d2341=await this[_0x59ed8d(0x574,0x688,_0x15a4e9._0x46403,0x505)](_0x49bb72),_0x2e29e6={'total':_0x3d2341[_0x59ed8d(_0x15a4e9._0x270ad6,_0x15a4e9._0x4c8406,0x305,0x64d)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x59ed8d(_0x513eb9,_0x2d9c6f,_0x536725,_0x50593c){return _0x3a64dd(_0x513eb9-0x168,_0x2d9c6f,_0x513eb9- -_0x362d0c._0x48f9e4,_0x50593c-0x18d);}function _0x2e3930(_0x312807,_0x1b1ad8,_0x2a5610,_0x40a14d){return _0x3a64dd(_0x312807-_0x378c81._0x408528,_0x1b1ad8,_0x312807- -0x57d,_0x40a14d-0xe);}for(const _0x437086 of _0x3d2341){if(_0x437086[_0x2e3930(0xc9,_0x15a4e9._0x3d6c97,_0x15a4e9._0x4be6af,0x206)]===_0x2e3930(-0x1bc,-0x1fb,-0x2f,-_0x15a4e9._0x1bbad4))_0x2e29e6[_0x59ed8d(0x36b,_0x15a4e9._0x501700,0x2b8,_0x15a4e9._0x18b278)]++;else{if(_0x437086['status']===_0x59ed8d(0x4cb,0x4d9,0x404,0x3fc))_0x2e29e6[_0x59ed8d(_0x15a4e9._0x5a9472,0x570,_0x15a4e9._0x28ee11,0x69c)]++;else{if(_0x437086[_0x59ed8d(0x5f0,0x433,_0x15a4e9._0x479903,_0x15a4e9._0x25f113)]===_0x59ed8d(_0x15a4e9._0x19138f,0x5ad,_0x15a4e9._0x4fa1da,0x7a1))_0x2e29e6[_0x59ed8d(0x6f7,0x5d7,_0x15a4e9._0x51a30b,0x71e)]++;}}}return _0x2e29e6;}};function okText(_0x3b6505,_0x13cfad){const _0x4fdfd0={_0x4b307a:0x393,_0x203b34:0x6d1},_0x261fd0={_0x3a46da:0xcf};function _0x4b1e9c(_0x174ee3,_0x5985f5,_0x5ce17e,_0x2396e5){return _0x55e1bc(_0x174ee3,_0x5985f5-0x1e5,_0x5ce17e-_0x261fd0._0x3a46da,_0x5985f5- -0x2bb);}return{'status':_0x4b1e9c(0x3f6,0x5ca,_0x4fdfd0._0x4b307a,_0x4fdfd0._0x203b34),'type':'text','result':_0x3b6505,'metadata':_0x13cfad};}function okJson(_0x46af1f,_0x14148e){const _0x22e692={_0x1b29fa:0x427,_0x36e7bb:0x1d2,_0x26408f:0x4be,_0x4e27ff:0x35d,_0xd533e5:0x2a4,_0x3ee143:0x31a},_0x1dd889={_0x155e07:0x16,_0x572680:0x1a1},_0x3f6a44={_0x301b21:0x1c4};function _0x33cfa9(_0x39a150,_0x176bfe,_0x37bb99,_0x34220b){return _0x3a64dd(_0x39a150-0x67,_0x34220b,_0x39a150- -0x536,_0x34220b-_0x3f6a44._0x301b21);}function _0xb231cd(_0x3a4fdf,_0x36978f,_0x1971fc,_0x1217f5){return _0x3a64dd(_0x3a4fdf-_0x1dd889._0x155e07,_0x36978f,_0x3a4fdf- -_0x1dd889._0x572680,_0x1217f5-0x74);}return{'status':_0x33cfa9(0x213,_0x22e692._0x1b29fa,_0x22e692._0x36e7bb,0xea),'type':_0xb231cd(_0x22e692._0x26408f,_0x22e692._0x4e27ff,_0x22e692._0xd533e5,_0x22e692._0x3ee143),'result':_0x46af1f,'metadata':_0x14148e};}function err(_0x1517f3,_0x16bf7a,_0x501fd5){const _0x20d29f={_0x1ffd18:0x4f,_0x2616e4:0x284,_0x4b2028:0x114},_0xf90aa7={_0x3a2ea7:0xc8},_0x12358d={_0x2abea5:0x5};function _0x37b6b7(_0x546470,_0x4b8b2e,_0x4975d5,_0x385492){return _0x55e1bc(_0x546470,_0x4b8b2e-_0x12358d._0x2abea5,_0x4975d5-0x19,_0x4975d5- -0x4f6);}const _0x49e777=_0x501fd5?{..._0x16bf7a,'errorReason':_0x501fd5}:_0x16bf7a;function _0x5dc9f5(_0x19be2a,_0x475931,_0xf02a,_0x2c9e3f){return _0x3a64dd(_0x19be2a-0x129,_0x19be2a,_0x2c9e3f- -0x574,_0x2c9e3f-_0xf90aa7._0x3a2ea7);}return{'status':_0x5dc9f5(-_0x20d29f._0x1ffd18,0x1bb,0x242,0x62),'type':_0x37b6b7(_0x20d29f._0x2616e4,0x2b5,_0x20d29f._0x4b2028,0xb0),'result':_0x1517f3,'metadata':_0x49e777};}var TodoWriteTool=class{constructor(_0x13ebb8){this['store']=_0x13ebb8;}[_0x3a64dd(0x654,0x501,0x420,0x4c2)]='todo_write';[_0x55e1bc(0x6de,0x605,0x9fc,0x834)]={'type':_0x55e1bc(0x5ee,0x7ce,0x4d0,0x5fb),'properties':{'todos':{'type':_0x55e1bc(0x37d,0x690,0x66a,0x55f),'items':{'type':_0x55e1bc(0x513,0x45a,0x7fa,0x5fb),'properties':{'content':{'type':_0x3a64dd(0x505,0x237,0x42a,0x28e)},'status':{'type':_0x3a64dd(0x5fd,0x60d,0x42a,0x624),'enum':[_0x3a64dd(0x426,0x24e,0x3c1,0x4dd),_0x3a64dd(0x4aa,0x420,0x521,0x76c),'completed']},'priority':{'type':'string','enum':['high',_0x55e1bc(0x5ec,0x9ca,0x82c,0x837),_0x3a64dd(0x189,0x575,0x390,0x2d7)]},'id':{'type':'string'},'createdAt':{'type':_0x55e1bc(0x5d5,0x3f1,0x64e,0x566)}},'required':['content',_0x3a64dd(0x487,0x543,0x646,0x634),_0x55e1bc(0x2c0,0x2a7,0x476,0x49e),'id']},'description':_0x3a64dd(0x210,0x52a,0x45b,0x2b2)}},'required':[_0x3a64dd(0x2a3,0x1fe,0x44d,0x2f7)]};[_0x55e1bc(0x4e4,0x4e8,0x44e,0x4de)](){const _0x481829={_0x39801d:0x5a7,_0x489e04:0x3bf,_0x1d7414:0x38e,_0x2ac687:0x3d2,_0x5d6724:0x5dd,_0x37fcc8:0x28c},_0x1edf7a={_0x32fc75:0x18d,_0x44e0fd:0xfe,_0x34efbf:0x3ac},_0x3b8e38={_0x2c6580:0xae,_0x1dfcd1:0x326,_0x5e66fa:0x6};function _0x1f6a23(_0x33aa52,_0x133fc0,_0x4489b8,_0x30e284){return _0x3a64dd(_0x33aa52-_0x3b8e38._0x2c6580,_0x30e284,_0x133fc0- -_0x3b8e38._0x1dfcd1,_0x30e284-_0x3b8e38._0x5e66fa);}function _0x4b24e7(_0x40d0bf,_0x589727,_0xa7c0d6,_0x5ee33d){return _0x55e1bc(_0x589727,_0x589727-_0x1edf7a._0x32fc75,_0xa7c0d6-_0x1edf7a._0x44e0fd,_0xa7c0d6- -_0x1edf7a._0x34efbf);}return{'name':this['name'],'description':_0x1f6a23(_0x481829._0x39801d,_0x481829._0x489e04,0x4ba,0x291),'parameters':this[_0x1f6a23(_0x481829._0x1d7414,_0x481829._0x2ac687,_0x481829._0x5d6724,_0x481829._0x37fcc8)]};}async[_0x55e1bc(0x66c,0x813,0x692,0x7b6)](_0xc0f078,_0x122b9c){const _0x2d23eb={_0x5a6627:0x4ba,_0x25bd29:0x451,_0x1fd52d:0xb7,_0x2eef07:0x4ac,_0x1dede4:0x5f0,_0xf7e165:0x7ca,_0x105835:0x64f,_0x5595af:0x2d7,_0x2b297a:0x51a,_0x5460e3:0x649,_0x53c0b7:0x720,_0x33fcc0:0x20e,_0x3c88b8:0x3d3,_0x904634:0x29a,_0x3b328d:0x718,_0x1ae977:0x9c0,_0x230e57:0x24a,_0x3c448c:0x16b,_0x25088e:0x491,_0x5c5aa9:0x335,_0x2f1541:0x1de,_0x3e5a77:0x6e1,_0x4f098c:0x63d,_0x41881d:0x20d,_0x4abae4:0x322,_0x8d2aef:0xcf,_0x19d302:0x647,_0x69500c:0x4d2,_0x40789a:0x36e,_0x4d35be:0x6fa,_0x302aff:0x6a5,_0x2e78c3:0x648,_0x5daad6:0x5f5,_0x21d5ee:0x412,_0x48c08e:0x4a4,_0x48c959:0x282,_0x1c4177:0x2a6,_0x4729c5:0x84e,_0x42b14c:0x7ec,_0x38d41f:0x83a,_0x1ebde8:0xc,_0x1430c1:0x2fa,_0x313790:0x2e2,_0x25468a:0x897,_0x236a13:0x822,_0x577612:0x526,_0x2493cd:0x63d,_0x589c51:0x41d,_0x27b90c:0x3d,_0xcb4376:0x27f,_0x28bf2a:0x72c,_0x52c646:0x9ff,_0x387b40:0xa64,_0x32535a:0x2b3,_0x109ed6:0x646,_0x15d14f:0x41a,_0x546edb:0x2b1,_0x2d1e96:0x4a2,_0xf46134:0x3e3,_0x26a0d3:0x6a4,_0x19a5b3:0x9f3,_0x34ee5e:0x8dd,_0x414b05:0xb29,_0x515014:0x72f,_0x41f0e0:0x5f6,_0x3d022d:0x4c7,_0xa37a5c:0x9f,_0x571154:0x67,_0x212c0b:0x466,_0x1b357b:0x4b0,_0x54c12d:0x260,_0x593da0:0x4d4,_0x5a286f:0x669,_0x5e71ed:0x391,_0x543ff7:0x28a,_0x25d87a:0x199,_0x176a98:0x18f,_0x265cb8:0x39,_0x52456f:0x247,_0x30aabf:0x534,_0x4e872c:0x6da,_0x310d42:0x510,_0xa35035:0x8c0,_0xe9120d:0x561,_0x2079d9:0x7c1,_0x4f1dc2:0x760,_0x225c13:0xa0,_0x292055:0x2ca,_0x4dae85:0x510,_0x28eb45:0x2fb,_0x56f802:0x733,_0x90b804:0x755,_0x320601:0x5ba,_0x219836:0x388,_0x8ac197:0x18f,_0x1275ee:0x2ce,_0x2b80ad:0x1af,_0x2ecb13:0x2d7,_0x2ccb85:0x4bd},_0x36787f={_0x3ddc6b:0x49f,_0x168358:0x3cc,_0x26e179:0x135,_0x5b82bf:0x197},_0x5a8d70={_0x3341c8:0x127,_0x254fb3:0x279,_0x59125e:0xaf},_0x300ec0={_0x1c8f69:0x908,_0x290a8e:0x98b,_0x579958:0x52f,_0xa7800a:0x384,_0xd30818:0x571,_0x1721ea:0x6eb,_0x3a510b:0x428,_0xb5f848:0x280,_0x5a7643:0x587,_0x54c6f7:0x663,_0xe40167:0x462,_0x280a12:0x5bb,_0x53cce0:0x63a,_0x5dd6d7:0x5a2},_0x3e58b2={_0x25ce4e:0x100},_0x4197f8={_0x327b49:0x174,_0x24aed0:0x6},_0x60f018=_0xc0f078?.[_0x57f6c5(0x358,_0x2d23eb._0x5a6627,0x58f,_0x2d23eb._0x25bd29)],_0x14e627=_0x122b9c;if(!Array['isArray'](_0x60f018)||_0x60f018[_0x4fe0db(_0x2d23eb._0x1fd52d,0x2d7,0x267,0x2ad)]===0x0)return err(_0x57f6c5(_0x2d23eb._0x2eef07,0x7bf,_0x2d23eb._0x1dede4,0x524),void 0x0,_0x57f6c5(0x7cb,_0x2d23eb._0xf7e165,_0x2d23eb._0x105835,0x618));for(let _0x1d891a=0x0;_0x1d891a<_0x60f018[_0x4fe0db(0x40d,_0x2d23eb._0x5595af,0x377,_0x2d23eb._0x2b297a)];_0x1d891a++){const _0x39ef0b=_0x60f018[_0x1d891a];if(!_0x39ef0b)continue;if(!_0x39ef0b['content']||typeof _0x39ef0b['content']!==_0x57f6c5(_0x2d23eb._0x5460e3,_0x2d23eb._0x53c0b7,0x56c,0x593)||!_0x39ef0b[_0x4fe0db(_0x2d23eb._0x33fcc0,0x2b5,_0x2d23eb._0x3c88b8,_0x2d23eb._0x904634)][_0x57f6c5(0x8c9,_0x2d23eb._0x3b328d,0x822,_0x2d23eb._0x1ae977)]())return err(_0x4fe0db(_0x2d23eb._0x230e57,0x282,_0x2d23eb._0x3c448c,_0x2d23eb._0x25088e)+(_0x1d891a+0x1)+_0x4fe0db(_0x2d23eb._0x5c5aa9,0x1bc,0x3bb,0x1db),void 0x0,'invalid_input');if(![_0x4fe0db(_0x2d23eb._0x2f1541,0x148,0x8e,0x20a),'in_progress','completed'][_0x57f6c5(0x5c9,0x4d9,0x6a5,0x646)](String(_0x39ef0b[_0x57f6c5(_0x2d23eb._0x3e5a77,0x776,0x788,0x5ff)])))return err(_0x57f6c5(0x6fb,0x588,_0x2d23eb._0x4f098c,0x795)+(_0x1d891a+0x1)+_0x57f6c5(0x84f,0x475,0x65a,0x8a7),void 0x0,'invalid_input');if(![_0x4fe0db(0x39e,_0x2d23eb._0x41881d,_0x2d23eb._0x4abae4,_0x2d23eb._0x8d2aef),'medium',_0x57f6c5(_0x2d23eb._0x19d302,0x711,_0x2d23eb._0x69500c,_0x2d23eb._0x40789a)][_0x57f6c5(0x68e,_0x2d23eb._0x4d35be,_0x2d23eb._0x302aff,_0x2d23eb._0x2e78c3)](String(_0x39ef0b[_0x57f6c5(_0x2d23eb._0x5daad6,_0x2d23eb._0x21d5ee,_0x2d23eb._0x48c08e,0x6e1)])))return err(_0x4fe0db(0x34c,_0x2d23eb._0x48c959,0x2ad,_0x2d23eb._0x1c4177)+(_0x1d891a+0x1)+':\x20invalid\x20priority',void 0x0,_0x57f6c5(_0x2d23eb._0x4729c5,_0x2d23eb._0x42b14c,0x64f,_0x2d23eb._0x38d41f));if(!_0x39ef0b['id']||typeof _0x39ef0b['id']!==_0x4fe0db(-_0x2d23eb._0x1ebde8,0x1b1,_0x2d23eb._0x1430c1,_0x2d23eb._0x313790)||!_0x39ef0b['id'][_0x57f6c5(_0x2d23eb._0x25468a,0x823,_0x2d23eb._0x236a13,0x714)]())return err(_0x57f6c5(_0x2d23eb._0x577612,0x403,_0x2d23eb._0x2493cd,_0x2d23eb._0x589c51)+(_0x1d891a+0x1)+_0x4fe0db(_0x2d23eb._0x27b90c,_0x2d23eb._0xcb4376,0x19f,0x3f6),void 0x0,'invalid_input');}const _0x4afa5a=_0x60f018['map'](_0x51dd74=>_0x51dd74['id']),_0x101708=new Set(_0x4afa5a);if(_0x101708[_0x57f6c5(_0x2d23eb._0x28bf2a,_0x2d23eb._0x52c646,0x8d5,_0x2d23eb._0x387b40)]!==_0x4afa5a[_0x4fe0db(0x223,0x2d7,_0x2d23eb._0x32535a,0x332)])return err(_0x4fe0db(_0x2d23eb._0x109ed6,_0x2d23eb._0x15d14f,0x3e1,_0x2d23eb._0x546edb),void 0x0,'invalid_input');const _0x4ab164=_0x14e627?.['sessionId']||_0x14e627?.[_0x4fe0db(0x32b,0x476,_0x2d23eb._0x2d1e96,_0x2d23eb._0xf46134)]||_0x57f6c5(_0x2d23eb._0x26a0d3,_0x2d23eb._0x19a5b3,_0x2d23eb._0x34ee5e,_0x2d23eb._0x414b05),_0x1d6d60=new Date()['toISOString'](),_0x52532d=_0x60f018['map'](_0x2b81d2=>({'id':String(_0x2b81d2['id']),'content':String(_0x2b81d2[_0x57f6c5(0x7e4,0x487,0x670,0x49e)]),'status':_0x2b81d2[_0x4fe0db(0x4b4,0x3cd,0x292,0x426)],'priority':_0x2b81d2[_0x4fe0db(0x124,0xe9,-0x12,-0x7e)],'conversationId':_0x4ab164,'createdAt':_0x2b81d2[_0x57f6c5(0x555,0x7ee,0x67c,0x7d9)]||_0x1d6d60,'updatedAt':_0x1d6d60}));await this[_0x57f6c5(_0x2d23eb._0x515014,0x49a,_0x2d23eb._0x41f0e0,_0x2d23eb._0x3d022d)][_0x4fe0db(0x358,0x13c,-0x2d,_0x2d23eb._0xa37a5c)](_0x52532d,_0x4ab164);const _0x4481a5=await this[_0x4fe0db(0x39b,0x23b,0x43d,_0x2d23eb._0x571154)]['getTodoStats'](_0x4ab164),_0x11abd6=_0x4481a5[_0x57f6c5(0x57e,0x2b0,_0x2d23eb._0x212c0b,0x3c6)]>0x0?Math[_0x4fe0db(_0x2d23eb._0x1b357b,_0x2d23eb._0x54c12d,0x3ef,0x49e)](_0x4481a5[_0x4fe0db(0x649,_0x2d23eb._0x593da0,_0x2d23eb._0x5a286f,0x564)]/_0x4481a5[_0x57f6c5(_0x2d23eb._0x5e71ed,_0x2d23eb._0x543ff7,0x466,0x401)]*0x64):0x0;function _0x57f6c5(_0x1bcc7f,_0x72a6b5,_0x1a8406,_0x1e5476){return _0x55e1bc(_0x1e5476,_0x72a6b5-0x15b,_0x1a8406-_0x4197f8._0x327b49,_0x1a8406-_0x4197f8._0x24aed0);}const _0x36c62f=_0x52532d[_0x4fe0db(_0x2d23eb._0x25d87a,_0x2d23eb._0x176a98,-_0x2d23eb._0x265cb8,_0x2d23eb._0x52456f)]((_0x2b0ba8,_0x5b5405)=>{const _0x120e5f={_0x563b2e:0x6b,_0x17419e:0x189,_0x405d55:0x6};function _0x4fdaed(_0x5ed5c4,_0x1eb2dd,_0x48362c,_0x14f9c2){return _0x4fe0db(_0x5ed5c4-0xe,_0x5ed5c4-0x5b,_0x14f9c2,_0x14f9c2-_0x3e58b2._0x25ce4e);}function _0x194288(_0x1be89b,_0x491671,_0x3e766c,_0xdcf9c6){return _0x57f6c5(_0x1be89b-_0x120e5f._0x563b2e,_0x491671-_0x120e5f._0x17419e,_0xdcf9c6-_0x120e5f._0x405d55,_0x3e766c);}const _0x41ccba=_0x2b0ba8[_0x194288(_0x300ec0._0x1c8f69,_0x300ec0._0x290a8e,0x749,0x78e)]===_0x4fdaed(_0x300ec0._0x579958,_0x300ec0._0xa7800a,_0x300ec0._0xd30818,0x511)?_0x4fdaed(0x4eb,_0x300ec0._0x1721ea,0x580,0x605):_0x2b0ba8[_0x4fdaed(_0x300ec0._0x3a510b,0x56e,_0x300ec0._0xb5f848,_0x300ec0._0x5a7643)]===_0x194288(_0x300ec0._0x54c6f7,0x6f2,0x50b,0x669)?_0x4fdaed(_0x300ec0._0xe40167,_0x300ec0._0x280a12,0x5bf,0x453):_0x194288(0x827,_0x300ec0._0x53cce0,_0x300ec0._0x5dd6d7,0x7e3);return _0x5b5405+0x1+'.\x20'+_0x41ccba+'\x20'+_0x2b0ba8['content'];})[_0x57f6c5(_0x2d23eb._0x30aabf,_0x2d23eb._0x4e872c,_0x2d23eb._0x310d42,0x4c6)]('\x0a');function _0x4fe0db(_0x104682,_0x854648,_0x19b24e,_0xfbe412){return _0x3a64dd(_0x104682-_0x5a8d70._0x3341c8,_0x19b24e,_0x854648- -_0x5a8d70._0x254fb3,_0xfbe412-_0x5a8d70._0x59125e);}const _0x43f828=_0x52532d[_0x57f6c5(_0x2d23eb._0xa35035,_0x2d23eb._0xe9120d,0x692,0x5bf)]>0x0&&_0x52532d[_0x57f6c5(0x6c8,0x6e3,_0x2d23eb._0x2079d9,_0x2d23eb._0x4f1dc2)](_0x249387=>_0x249387[_0x4fe0db(0x19a,0x3cd,0x599,0x44a)]==='completed'),_0x2c5cbb=_0x36c62f['split']('\x0a')[_0x4fe0db(-_0x2d23eb._0x225c13,0x18f,-0x80,_0x2d23eb._0x292055)](_0x28c2bb=>{const _0x1bb6ef={_0x571155:0x1c1,_0x5e1f61:0x27},_0x5050b5={_0x4a609d:0x24},_0x5ea519=_0x28c2bb['match'](/^(\d+)\. \[([^\]]+)\] (.+)$/);if(!_0x5ea519)return _0x28c2bb;function _0x5a5f59(_0x1b6c2a,_0x4c4b88,_0x5e6c80,_0x578859){return _0x57f6c5(_0x1b6c2a-_0x5050b5._0x4a609d,_0x4c4b88-0x7c,_0x4c4b88- -0x5b,_0x5e6c80);}const [,_0x3adc08,_0x2cfd50,_0x10903f]=_0x5ea519;function _0x2a9756(_0x1e62ae,_0x345192,_0x4f5691,_0x5598cd){return _0x4fe0db(_0x1e62ae-_0x1bb6ef._0x571155,_0x345192- -0x3db,_0x4f5691,_0x5598cd-_0x1bb6ef._0x5e1f61);}const _0x3d0e55=parseInt(_0x3adc08??'0')-0x1;return _0x5a5f59(0x532,_0x36787f._0x3ddc6b,_0x36787f._0x168358,0x642)+_0x10903f+_0x2a9756(-_0x36787f._0x26e179,-_0x36787f._0x5b82bf,-0x36d,-0x54)+_0x2cfd50+'\x22,\x22id\x22:\x22'+(_0x52532d[_0x3d0e55]?.['id']||'')+'\x22}';})[_0x57f6c5(0x445,0x4f8,_0x2d23eb._0x4dae85,_0x2d23eb._0x28eb45)](','),_0x13f02f=_0x43f828?_0x57f6c5(_0x2d23eb._0x56f802,0x62c,_0x2d23eb._0x90b804,0x80c)+_0x52532d[_0x57f6c5(0x873,0x72d,0x692,_0x2d23eb._0x320601)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a['+_0x2c5cbb+_0x57f6c5(0x782,_0x2d23eb._0x3b328d,0x7de,0x5a7):_0x4fe0db(0x3a9,0x373,0x3fa,_0x2d23eb._0x219836)+_0x2c5cbb+_0x4fe0db(0x307,0x423,0x3e9,0x229);return okText(_0x13f02f,{'recentChanges':!![],'stats':_0x4481a5,'progress':_0x11abd6+'%','allCompleted':_0x43f828,'conversationId':_0x4ab164,'items':_0x52532d[_0x4fe0db(0x26d,_0x2d23eb._0x8ac197,0x1f8,_0x2d23eb._0x1275ee)](_0x3fd914=>({'id':_0x3fd914['id'],'content':_0x3fd914['content'],'status':_0x3fd914[_0x57f6c5(0x90c,0x56a,0x788,0x80a)],'priority':_0x3fd914[_0x4fe0db(-0x17,0xe9,0x105,-0xea)],'createdAt':_0x3fd914[_0x57f6c5(0x8a8,0x558,0x67c,0x638)]||_0x1d6d60})),'todosWritten':_0x52532d[_0x4fe0db(_0x2d23eb._0x2b80ad,_0x2d23eb._0x2ecb13,0x10b,_0x2d23eb._0x2ccb85)]});}},UA='Mozilla/5.0\x20(Windows\x20NT\x2010.0;\x20Win64;\x20x64)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/123.0.0.0\x20Safari/537.36\x20NuvinBot/1.0';function withTimeout(_0x365bd0,_0x2c6072=0x3a98,_0x43a9c4){const _0x2c0a37={_0x226d87:0x22d,_0x42fde9:0x348,_0x140656:0x58,_0x2b59b9:0x28c,_0x4924ff:0x12c,_0x76ae49:0x55a,_0x534af6:0x354},_0x58b042={_0x10d5fb:0x451,_0x1e5d42:0x5f3,_0x20e5f5:0x50b,_0x5bf6c4:0x7dc},_0x294edf={_0x366dc4:0x16c,_0x2bd12e:0x53f},_0x29e670={_0xfb2144:0x7f},_0x5916fe={_0x28dfde:0x11f},_0x5cff0e={_0x5384e5:0x3e7,_0x48de27:0x2},_0x33b958=new AbortController();function _0x470bed(_0xe4d3ab,_0x4a56ed,_0x53a634,_0x2f9e53){return _0x3a64dd(_0xe4d3ab-0x13,_0x53a634,_0x4a56ed- -_0x5cff0e._0x5384e5,_0x2f9e53-_0x5cff0e._0x48de27);}const _0x3a4a4d=setTimeout(()=>_0x33b958[_0x5f1dbe(0x3a3,0x21c,0x1ca,0x418)](),_0x2c6072),_0x5816d3=()=>_0x33b958[_0x5f1dbe(0x3a3,0x477,0x15c,0x414)]();_0x43a9c4?.[_0x5f1dbe(_0x2c0a37._0x226d87,_0x2c0a37._0x42fde9,_0x2c0a37._0x140656,0x1c)](_0x470bed(-0x9a,0x110,_0x2c0a37._0x2b59b9,-_0x2c0a37._0x4924ff),_0x5816d3);function _0x5f1dbe(_0x5d2883,_0x15af42,_0x3253a0,_0x1855f4){return _0x3a64dd(_0x5d2883-_0x5916fe._0x28dfde,_0x1855f4,_0x5d2883- -0x154,_0x1855f4-0x38);}return Promise[_0x5f1dbe(0x400,_0x2c0a37._0x76ae49,_0x2c0a37._0x534af6,0x487)]([_0x365bd0,new Promise((_0x371d45,_0x2f1a6f)=>_0x33b958[_0x470bed(-0x18e,0xbe,-0x127,-0x164)]['addEventListener'](_0x5f1dbe(0x3a3,0x2cf,0x46b,0x4aa),()=>{const _0x523385=_0x43a9c4?.[_0x9b68f0(0x1a2,_0x29e670._0xfb2144,0x414,0x288)];function _0x9b68f0(_0x5c027e,_0x47aeab,_0x450446,_0x189dca){return _0x470bed(_0x5c027e-0x189,_0x189dca-0x1a7,_0x450446,_0x189dca-0xf);}_0x2f1a6f(new Error(_0x523385?'Request\x20aborted\x20by\x20user':'Request\x20timeout\x20after\x20'+_0x2c6072+'ms'));}))])['finally'](()=>{const _0x369bc9={_0x1f46a3:0x3f6,_0x57e3cf:0x55};function _0x31144b(_0x2976a0,_0x31a411,_0x225e5a,_0xf1c123){return _0x5f1dbe(_0x2976a0- -_0x369bc9._0x1f46a3,_0x31a411-_0x369bc9._0x57e3cf,_0x225e5a-0x120,_0x31a411);}clearTimeout(_0x3a4a4d);function _0x4a3cea(_0x4d60ef,_0x10f5b2,_0x386cac,_0x5dcec5){return _0x470bed(_0x4d60ef-_0x294edf._0x366dc4,_0x5dcec5-_0x294edf._0x2bd12e,_0x4d60ef,_0x5dcec5-0x72);}_0x43a9c4?.[_0x4a3cea(_0x58b042._0x10d5fb,_0x58b042._0x1e5d42,0x393,_0x58b042._0x20e5f5)](_0x4a3cea(0x63b,_0x58b042._0x5bf6c4,0x813,0x64f),_0x5816d3);});}async function fetchJSON(_0x4a4fba,_0x378f66,_0xc2f9e8){const _0x246389={_0x232d91:0x50d,_0x20a835:0x4bb,_0x863fab:0x643,_0x1432b3:0x3a0,_0x4f7698:0x4cc,_0x41c442:0x4ea,_0x32d8bd:0x3a5,_0x54f6f1:0x27b,_0x2b8aa8:0x4a8},_0x5dc9e3={_0x2a46b3:0x17a,_0x34407a:0x124},_0x18c6ea={_0xd54613:0x15b,_0x372073:0x16b};function _0x8c9779(_0x2123f4,_0xcf2cfd,_0x19d8ef,_0x2bb1c4){return _0x55e1bc(_0x2bb1c4,_0xcf2cfd-_0x18c6ea._0xd54613,_0x19d8ef-_0x18c6ea._0x372073,_0xcf2cfd- -0x2f3);}const _0x15824b=await withTimeout(fetch(_0x4a4fba,{..._0x378f66,'signal':_0xc2f9e8}),0x3a98,_0xc2f9e8);if(!_0x15824b['ok']){const _0x248515=await _0x15824b['text']()[_0x31a7dd(_0x246389._0x232d91,_0x246389._0x20a835,_0x246389._0x863fab,0x412)](()=>'');throw new Error(_0x8c9779(_0x246389._0x1432b3,0x5b1,_0x246389._0x4f7698,0x411)+_0x15824b[_0x31a7dd(0x2a3,_0x246389._0x41c442,0x546,_0x246389._0x32d8bd)]+'\x20'+_0x15824b['statusText']+'\x20—\x20'+_0x248515?.['slice'](0x0,0xc8));}function _0x31a7dd(_0x438ebc,_0x8225f5,_0x3830ea,_0x3b4134){return _0x55e1bc(_0x438ebc,_0x8225f5-_0x5dc9e3._0x2a46b3,_0x3830ea-_0x5dc9e3._0x34407a,_0x8225f5- -0x298);}return await _0x15824b[_0x8c9779(_0x246389._0x54f6f1,_0x246389._0x2b8aa8,0x3c4,0x65c)]();}async function fetchText(_0x46c3f0,_0x3428f1,_0x15f4ea){const _0x2a9375={_0xa60aa7:0x76,_0x227129:0x5a8,_0x11175c:0x53e,_0x5da7a2:0x5a3,_0x470a9e:0x71e,_0x503282:0x80b,_0x287dc6:0x913,_0x49c91d:0x7b3,_0x390d7a:0xeb,_0x2cddcd:0x2e8,_0x1b1027:0x126,_0x34bd02:0x17,_0x27d852:0x163,_0x288cbd:0x76,_0x121e79:0x1bb,_0x100788:0x1ce},_0xad4d42={_0x22d0ba:0x680},_0x8ae3cb={_0x5849f0:0x69,_0x10d742:0x31};function _0x46ed89(_0x2e9dbb,_0x4655a3,_0x258f45,_0x26cd0f){return _0x55e1bc(_0x4655a3,_0x4655a3-_0x8ae3cb._0x5849f0,_0x258f45-0x105,_0x26cd0f-_0x8ae3cb._0x10d742);}function _0x19eb2e(_0x186621,_0x324f9c,_0x3e2364,_0x3b7ded){return _0x55e1bc(_0x324f9c,_0x324f9c-0x162,_0x3e2364-0x130,_0x186621- -_0xad4d42._0x22d0ba);}const _0x986bc9=await withTimeout(fetch(_0x46c3f0,{..._0x3428f1,'signal':_0x15f4ea}),0x3a98,_0x15f4ea);if(!_0x986bc9['ok']){const _0x17ff56=await _0x986bc9[_0x19eb2e(-_0x2a9375._0xa60aa7,0xe0,-0x9f,0x183)]()[_0x46ed89(_0x2a9375._0x227129,_0x2a9375._0x11175c,_0x2a9375._0x5da7a2,0x784)](()=>'');throw new Error(_0x46ed89(0xa2d,0xaf1,_0x2a9375._0x470a9e,0x8d5)+_0x986bc9[_0x46ed89(_0x2a9375._0x503282,0x73a,_0x2a9375._0x287dc6,_0x2a9375._0x49c91d)]+'\x20'+_0x986bc9[_0x19eb2e(-_0x2a9375._0x390d7a,0x1e,-_0x2a9375._0x2cddcd,-0x151)]+_0x19eb2e(-0x79,0x172,0x1c4,-0xec)+_0x17ff56?.[_0x19eb2e(_0x2a9375._0x1b1027,0x1bc,-_0x2a9375._0x34bd02,_0x2a9375._0x27d852)](0x0,0xc8));}return await _0x986bc9[_0x19eb2e(-_0x2a9375._0x288cbd,-_0x2a9375._0x121e79,-0x57,-_0x2a9375._0x100788)]();}function addSiteFilters(_0x2522d2,_0x9a773c){const _0x22b3e8={_0x4bfee2:0x207,_0x39a631:0x174,_0x52f943:0x4c5,_0x52bf04:0x31a,_0x5d94e0:0xd5,_0x238eff:0x413,_0x1fbd5c:0x2e0,_0x144d80:0x1eb,_0x4e8852:0x4e,_0x5a68d1:0xad,_0x3efda3:0xbd,_0x2a4daa:0x141},_0xf3133f={_0x22cc9d:0xee},_0x4e931a={_0x3a17e7:0x85,_0x1561f4:0x1f0};if(!_0x9a773c?.['length'])return _0x2522d2[_0x557919(_0x22b3e8._0x4bfee2,-0x83,0xbd,-0x73)]();function _0x557919(_0x268d0f,_0x4d8004,_0x3b1ac6,_0x5b367b){return _0x55e1bc(_0x268d0f,_0x4d8004-_0x4e931a._0x3a17e7,_0x3b1ac6-_0x4e931a._0x1561f4,_0x3b1ac6- -0x75f);}function _0x46082a(_0x26bcfd,_0x51ee62,_0x499577,_0x3f44a1){return _0x3a64dd(_0x26bcfd-0x50,_0x26bcfd,_0x499577- -_0xf3133f._0x22cc9d,_0x3f44a1-0x0);}const _0x5d2789=_0x9a773c[_0x46082a(_0x22b3e8._0x39a631,_0x22b3e8._0x52f943,_0x22b3e8._0x52bf04,0x397)](_0x1fa49c=>_0x46082a(0x58b,0x66b,0x6b5,0x70d)+_0x1fa49c+')');return(_0x2522d2+'\x20'+_0x5d2789[_0x46082a(_0x22b3e8._0x5d94e0,_0x22b3e8._0x238eff,_0x22b3e8._0x1fbd5c,_0x22b3e8._0x144d80)](_0x557919(-0x27b,-_0x22b3e8._0x4e8852,-0x24b,-0x23c)))[_0x557919(-_0x22b3e8._0x5a68d1,-0xd7,_0x22b3e8._0x3efda3,-_0x22b3e8._0x2a4daa)]();}function _0x3a64dd(_0x342722,_0x3076e2,_0x4c28a7,_0x58216e){const _0x17d079={_0x2fc920:0x273};return _0xb207(_0x4c28a7-_0x17d079._0x2fc920,_0x3076e2);}function _0x55e1bc(_0x4c91c5,_0x4dacf8,_0x22356d,_0x494e42){return _0xb207(_0x494e42-0x3af,_0x4c91c5);}function normalizeUrl(_0x21559b){const _0x30ad8b={_0x5e661a:0x3ab,_0x3a9e9c:0x3e6,_0x3edbbc:0x2fe,_0x5e3848:0x22d,_0x581248:0x73,_0x1990b5:0x65,_0x3c62df:0x8a,_0x40c7e3:0x145,_0x3a5923:0xc,_0x6d4c2b:0x481,_0x401dcc:0x27e,_0x2e22a7:0x2d3,_0x190dc9:0x15e,_0x139619:0x4c8,_0x2235d9:0x25e,_0x40d995:0x382,_0x4158d2:0x4ba,_0x21bb42:0x1de,_0x22f8ed:0x37a,_0x5a10b2:0xf1},_0x13b1f4={_0x101286:0x12c},_0x1900e3={_0x1e1edd:0x85};function _0x24862d(_0x5bda72,_0x1ea0e0,_0x43cbd0,_0x602b45){return _0x55e1bc(_0x5bda72,_0x1ea0e0-_0x1900e3._0x1e1edd,_0x43cbd0-0x94,_0x43cbd0- -0x393);}function _0x6229a(_0x2711f7,_0x39cab3,_0x42b5bb,_0x8398c7){return _0x3a64dd(_0x2711f7-_0x13b1f4._0x101286,_0x8398c7,_0x39cab3- -0x624,_0x8398c7-0x52);}try{const _0x592617=new URL(_0x21559b);return[_0x24862d(_0x30ad8b._0x5e661a,_0x30ad8b._0x3a9e9c,0x1a9,_0x30ad8b._0x3edbbc),_0x6229a(_0x30ad8b._0x5e3848,_0x30ad8b._0x581248,_0x30ad8b._0x1990b5,-_0x30ad8b._0x3c62df),'utm_campaign',_0x6229a(_0x30ad8b._0x40c7e3,-_0x30ad8b._0x3a5923,0x13e,0xcb),_0x24862d(_0x30ad8b._0x6d4c2b,_0x30ad8b._0x401dcc,_0x30ad8b._0x2e22a7,0x3ef),_0x6229a(0x83,0xa6,0x228,-_0x30ad8b._0x190dc9),_0x24862d(0x588,_0x30ad8b._0x139619,0x4c3,0x3b5),_0x24862d(_0x30ad8b._0x2235d9,_0x30ad8b._0x40d995,0x359,_0x30ad8b._0x4158d2),_0x24862d(0x4c7,_0x30ad8b._0x21bb42,_0x30ad8b._0x22f8ed,0x51d)]['forEach'](_0x353544=>_0x592617['searchParams'][_0x24862d(0x667,0x4c2,0x51c,0x68e)](_0x353544)),_0x592617[_0x24862d(0x18,0x21b,_0x30ad8b._0x5a10b2,0xa1)]();}catch{return _0x21559b;}}function cseDateRestrict(_0x109bae){const _0x529ee8={_0x485ab1:0x291,_0x45101d:0x35d,_0x3d6719:0x89,_0x31aced:0x1c2,_0x690f55:0x280},_0x1f1ab3={_0x33ebca:0x172},_0x431809={_0xb58cb6:0x54};if(!_0x109bae||_0x109bae<=0x0)return void 0x0;function _0xbb1094(_0xc6322b,_0x38d090,_0x26152b,_0x23f1ae){return _0x3a64dd(_0xc6322b-0x134,_0x26152b,_0x23f1ae- -0x1c1,_0x23f1ae-_0x431809._0xb58cb6);}function _0x36a4f(_0x34ee28,_0x1cf306,_0x1fde96,_0x21b4a6){return _0x55e1bc(_0x21b4a6,_0x1cf306-_0x1f1ab3._0x33ebca,_0x1fde96-0xd,_0x1fde96- -0x6a8);}if(_0x109bae<=0x1e)return'd'+Math['max'](0x1,Math[_0xbb1094(_0x529ee8._0x485ab1,_0x529ee8._0x45101d,0x33b,0x26b)](_0x109bae));if(_0x109bae<=0x16d)return'm'+Math[_0xbb1094(0x104,_0x529ee8._0x3d6719,_0x529ee8._0x31aced,_0x529ee8._0x690f55)](_0x109bae/0x1e);return'y'+Math['ceil'](_0x109bae/0x16d);}async function loadCheerio(){try{const {load:_0x329e8b}=await import('cheerio');return _0x329e8b;}catch{return null;}}async function hydrate(_0x3cb8d7,_0x3a750d,_0x1dbdf6){const _0x4b9c1d={_0x2840cb:0x400,_0x2cf1ee:0x210,_0x5099db:0x24a,_0x2751aa:0x351,_0x23914c:0x292,_0x17d416:0x78},_0x27918a={_0x37da3a:0x271},_0x1c9a5e={_0x25fd70:0x18,_0x21252f:0x3d6,_0x36b6dd:0x375,_0x36af0c:0x221,_0xdc12e5:0x29e,_0x21fd74:0x19e,_0x467e55:0x139,_0x3b1217:0x7d,_0x1fd72d:0x8c,_0x1344ef:0xf3,_0x1fd0af:0x19b,_0x544259:0x195,_0x2cc88f:0x4e,_0x31b7d7:0xe3,_0x27550e:0x239,_0x5923b9:0x10f,_0x5be280:0x3d,_0x4d03bd:0xfd,_0x26ae56:0x269,_0xaaa6e6:0x337,_0x3d023e:0x225,_0x3c2968:0x144,_0x89a23b:0x85,_0x5ea369:0x9f,_0x2f4b1b:0xd4,_0xf60ddf:0xb6,_0x2f45ff:0x115,_0x13e8bd:0x309,_0x4c3cd6:0x1fb,_0x16bf85:0x246,_0x9dfd5b:0x285,_0x17e3ff:0x48,_0x2bd50d:0x150,_0xfdcd32:0x24d,_0xcacbbf:0x65,_0x8bba41:0x17,_0x1db0c1:0x190,_0x31100b:0x7f,_0x1e8925:0x50,_0x1040b8:0x82},_0x3048cf={_0x287bd2:0x114,_0x51abd2:0x26f},_0x48417a=_0x3cb8d7['slice'](0x0,0xa),_0x304a17=await Promise[_0xdefb11(0xcc,_0x4b9c1d._0x2840cb,0x1cf,_0x4b9c1d._0x2cf1ee)](_0x48417a[_0x2224d6(-0x30d,-_0x4b9c1d._0x5099db,-_0x4b9c1d._0x2751aa,-_0x4b9c1d._0x23914c)](async _0x3ca57c=>{const _0x246a24={_0x39e75f:0x4f,_0x2e3a90:0x201};function _0x3172cd(_0xec1d56,_0x1651a8,_0x536d3a,_0x14d20c){return _0x2224d6(_0xec1d56-_0x246a24._0x39e75f,_0x1651a8-_0x246a24._0x2e3a90,_0xec1d56,_0x14d20c-0xb2);}function _0x1cc676(_0x535654,_0x4d3f2c,_0x2d3740,_0x30a476){return _0xdefb11(_0x535654-0x11e,_0x2d3740,_0x2d3740-_0x3048cf._0x287bd2,_0x30a476- -_0x3048cf._0x51abd2);}try{const _0xeb34f4=await fetchText(_0x3ca57c['url'],{'headers':{'User-Agent':UA,'Accept-Language':_0x3a750d||'en','Accept':_0x1cc676(_0x1c9a5e._0x25fd70,0x145,_0x1c9a5e._0x21252f,0x1ec)}},_0x1dbdf6),_0x54b36c=await loadCheerio();if(!_0x54b36c)return _0x3ca57c;const _0x54759a=_0x54b36c(_0xeb34f4),_0x3490db=_0x54759a(_0x3172cd(_0x1c9a5e._0x36b6dd,_0x1c9a5e._0x36af0c,0x2f3,_0x1c9a5e._0xdc12e5))['attr']('content')||_0x54759a('title')[_0x3172cd(-_0x1c9a5e._0x21fd74,-0xdd,-_0x1c9a5e._0x467e55,0x172)]()[_0x3172cd(0x21c,_0x1c9a5e._0x3b1217,_0x1c9a5e._0x1fd72d,-0x11c)]()[_0x3172cd(_0x1c9a5e._0x1344ef,0x28f,0x113,0x1ca)]()||_0x3ca57c['title'],_0x994041=_0x54759a('meta[name=\x27description\x27]')['attr'](_0x1cc676(-_0x1c9a5e._0x1fd0af,_0x1c9a5e._0x544259,0x26f,_0x1c9a5e._0x2cc88f))||_0x54759a(_0x3172cd(0x15e,0x197,_0x1c9a5e._0x31b7d7,0xd6))[_0x3172cd(_0x1c9a5e._0x27550e,_0x1c9a5e._0x5923b9,0x300,0xff)](_0x3172cd(-0x5f,0xdd,_0x1c9a5e._0x5be280,_0x1c9a5e._0x4d03bd))||_0x3ca57c[_0x3172cd(0x3d0,_0x1c9a5e._0x26ae56,0x1d5,_0x1c9a5e._0xaaa6e6)],_0x90d924=_0x54759a('meta[property=\x27article:published_time\x27]')[_0x1cc676(-0xd3,_0x1c9a5e._0x3d023e,_0x1c9a5e._0x3c2968,0x80)](_0x3172cd(-0x3d,0xdd,_0x1c9a5e._0x89a23b,-_0x1c9a5e._0x5ea369))||_0x54759a(_0x3172cd(-0x2a1,-_0x1c9a5e._0x2f4b1b,_0x1c9a5e._0xf60ddf,_0x1c9a5e._0x2f45ff))['attr']('datetime')||_0x3ca57c[_0x1cc676(0x370,_0x1c9a5e._0x13e8bd,_0x1c9a5e._0x4c3cd6,_0x1c9a5e._0x16bf85)],_0x1a81ec=_0x54759a('link[rel=\x27canonical\x27]')[_0x3172cd(_0x1c9a5e._0x9dfd5b,0x10f,_0x1c9a5e._0x17e3ff,0x1da)](_0x3172cd(_0x1c9a5e._0x2bd50d,_0x1c9a5e._0xfdcd32,0x2ca,0xc2));return{..._0x3ca57c,'title':_0x3490db||_0x3ca57c[_0x1cc676(_0x1c9a5e._0xcacbbf,0x36,-_0x1c9a5e._0x8bba41,0x7a)],'snippet':_0x994041||_0x3ca57c[_0x3172cd(_0x1c9a5e._0x1db0c1,0x269,_0x1c9a5e._0x31100b,0x4b8)],'url':_0x1a81ec?normalizeUrl(new URL(_0x1a81ec,_0x3ca57c[_0x1cc676(-_0x1c9a5e._0x8bba41,-0xe9,_0x1c9a5e._0x1e8925,-_0x1c9a5e._0x1040b8)])['toString']()):_0x3ca57c['url'],'publishedAt':_0x90d924||_0x3ca57c['publishedAt']};}catch{return _0x3ca57c;}}));function _0x2224d6(_0xa6036b,_0x404146,_0x35b8a7,_0x45b6ff){return _0x55e1bc(_0x35b8a7,_0x404146-0xc6,_0x35b8a7-0x194,_0x404146- -0x78e);}function _0xdefb11(_0x48de96,_0x47748b,_0xaed62a,_0x558a38){return _0x3a64dd(_0x48de96-0x183,_0x47748b,_0x558a38- -_0x27918a._0x37da3a,_0x558a38-0x91);}const _0x4fcc93=new Map(_0x304a17[_0x2224d6(-_0x4b9c1d._0x17d416,-0x24a,-0x26c,-0x2d)](_0x3c4d61=>[_0x3c4d61[_0x2224d6(-0x231,-0x1f4,-0x22a,-0x167)],_0x3c4d61]));return _0x3cb8d7['map'](_0x15ed69=>_0x4fcc93['get'](_0x15ed69['url'])||_0x15ed69);}var GoogleCseProvider=class{['name']=_0x3a64dd(0x152,0x304,0x378,0x492);async[_0x3a64dd(0x654,0x465,0x686,0x56c)](_0x5307b9,_0x53e5ad){const _0x4e50b3={_0x4368f0:0x551,_0x212da4:0x6a4,_0x570ad2:0x57e,_0x122cdb:0x397,_0x23704d:0x646,_0xb3267e:0x417,_0x3ecca5:0x1e7,_0x58a23b:0x362,_0x212bae:0x1ff,_0x1813aa:0x3d2,_0x30903a:0x49c,_0x202596:0x6aa,_0x5067f2:0x4f6,_0x873e7b:0x8a9,_0x57de24:0x72e,_0xc044b7:0x686,_0x345442:0x617,_0x554a28:0x602,_0x508a7b:0x581,_0x11f5e5:0x3ef,_0x2ce760:0x33c,_0x1bbbe6:0x2b7,_0x91f304:0x705,_0x44a359:0x85a,_0x528368:0x54b,_0x27fd04:0x703,_0x527056:0x856,_0x188588:0x85a,_0x258c58:0x789,_0x4b58e3:0x53d,_0x4465e5:0x50b,_0x1d8db2:0x8d3,_0x2960bf:0x85a,_0x402bf8:0x89d,_0x46f3de:0x917,_0x76a00f:0x7c6,_0x5cf1e2:0x4e2,_0x37fbaf:0x47b,_0x536f26:0x67f,_0x493c43:0x4f6,_0x2a3643:0x3ad,_0x2f5a97:0x2f9,_0x15fd51:0x53d,_0xcfca7d:0x614,_0x4148d8:0x3b3,_0x1db87d:0x67c,_0x2295dc:0x841,_0x1d98db:0x9e6,_0x26acd0:0x7ed,_0x4689dc:0x70b,_0x3f4102:0x46,_0x3ff95f:0x3e0,_0x4a3505:0x1fe,_0x48cdd0:0x167,_0x181a23:0x218,_0x238a82:0x1d2,_0x1960e9:0x503,_0x4ff278:0x5b3,_0x4da84d:0x854,_0x451b91:0x7ae,_0x577333:0x76c,_0x185fd4:0x53d,_0x1ad0c6:0x6ce,_0x5ce472:0x33f,_0x361a6d:0x4f5,_0x687783:0x31e,_0x2e3110:0x5d1,_0x585c2d:0x27b,_0x1ce752:0x3f1,_0x4becec:0x7c3,_0x4438b9:0x83e,_0x38a61f:0x6b4,_0x4c7fd8:0x90d,_0x46f1d1:0x628,_0x146305:0x267,_0x395b96:0x16b,_0x5cd107:0x29f,_0x2f0ffe:0x73b,_0xb533a6:0x529,_0x45b4d1:0x7ce,_0x3f48f0:0x745,_0x20a89a:0xf5,_0x36c342:0x38,_0x1bd3d9:0x168,_0x10f600:0x373,_0x1356e5:0x582,_0x383e88:0x682,_0x4cb4ea:0x42d,_0x4a3c74:0x658,_0x2d9686:0x521,_0x54e541:0x59b,_0x1a4576:0x37d,_0x290ace:0x422,_0x4bd06f:0x2a6,_0x57bc1a:0x296,_0x3a6e31:0x15a,_0x4b5c42:0xa7a,_0x2bd9e2:0x82e,_0x45a1f2:0xa3f,_0x432a05:0x425,_0x507a0b:0x4b9,_0x248492:0x5b5,_0x5477a6:0x4f4,_0x20ba87:0x519,_0x18cd7d:0x385,_0xd465be:0x732,_0x34cda3:0x6c0,_0x36a600:0x641,_0x4796ae:0x330,_0x555b7e:0x34d,_0x9fd06c:0x207,_0x78a728:0x24d,_0x236bdd:0x447,_0x1142b5:0x606,_0x52a0a5:0x544,_0x55f1d2:0x318,_0x53fe0a:0x1e8,_0x244a88:0x297,_0x4c3f37:0x497,_0x3c1b4c:0x3ee},_0x4ceca3={_0xb8b411:0x197},_0x57e579={_0x19e927:0x36b,_0x3205d9:0x4fe,_0x3dfcb2:0x25f},_0xa7ea4e={_0x283e45:0x16e},_0x3a5dec={_0x328769:0x86};if(_0x53e5ad?.[_0x5215f0(_0x4e50b3._0x4368f0,_0x4e50b3._0x212da4,_0x4e50b3._0x570ad2,0x435)])throw new Error(_0x5215f0(_0x4e50b3._0x122cdb,_0x4e50b3._0x23704d,_0x4e50b3._0xb3267e,0x4dd));function _0x5215f0(_0x58ea60,_0x94e4bd,_0x500fd2,_0x4aabe3){return _0x55e1bc(_0x58ea60,_0x94e4bd-0x5e,_0x500fd2-0xf0,_0x500fd2- -_0x3a5dec._0x328769);}const _0x5c47f9=process[_0x1989de(0x3c5,_0x4e50b3._0x3ecca5,0x421,_0x4e50b3._0x58a23b)][_0x5215f0(0x1e7,_0x4e50b3._0x212bae,_0x4e50b3._0x1813aa,0x356)],_0x332764=process[_0x5215f0(0x586,_0x4e50b3._0x30903a,_0x4e50b3._0x202596,0x7b3)]['GOOGLE_CSE_CX'];if(!_0x5c47f9||!_0x332764)throw new Error(_0x5215f0(0x41a,0x658,0x4f9,0x4ff));const _0x5e7353=Math[_0x5215f0(_0x4e50b3._0x5067f2,_0x4e50b3._0x873e7b,_0x4e50b3._0x57de24,0x627)](0x1,Math[_0x1989de(0x207,0x220,0x3ef,0x219)](0x32,_0x5307b9[_0x5215f0(0x820,0x624,0x5e6,0x4a0)]));let _0x327176=0x0,_0x417e63=(_0x5307b9[_0x1989de(0x3ec,_0x4e50b3._0xc044b7,0x550,0x60a)]||0x0)+0x1;const _0xbad5b6=cseDateRestrict(_0x5307b9['recencyDays']),_0x41b50b=addSiteFilters(_0x5307b9['query'],_0x5307b9[_0x5215f0(_0x4e50b3._0x345442,0x64a,_0x4e50b3._0x554a28,0x587)]),_0x3613d8=[];while(_0x327176<_0x5e7353){const _0x1770f4=Math[_0x1989de(0x609,_0x4e50b3._0x508a7b,_0x4e50b3._0x11f5e5,_0x4e50b3._0x2ce760)](0xa,_0x5e7353-_0x327176),_0x9dee00=new URL(_0x1989de(0x53f,0x2ed,0x336,_0x4e50b3._0x1bbbe6));_0x9dee00[_0x5215f0(_0x4e50b3._0x91f304,0x8dd,_0x4e50b3._0x44a359,0xa05)]['set']('key',_0x5c47f9),_0x9dee00['searchParams'][_0x1989de(0x42c,_0x4e50b3._0x528368,0x53d,0x612)]('cx',_0x332764),_0x9dee00[_0x5215f0(_0x4e50b3._0x27fd04,_0x4e50b3._0x527056,_0x4e50b3._0x188588,0x85b)][_0x1989de(_0x4e50b3._0x258c58,0x4a8,_0x4e50b3._0x4b58e3,_0x4e50b3._0x4465e5)]('q',_0x41b50b),_0x9dee00[_0x5215f0(_0x4e50b3._0x1d8db2,0x86b,_0x4e50b3._0x2960bf,_0x4e50b3._0x402bf8)][_0x5215f0(0x60b,_0x4e50b3._0x46f3de,_0x4e50b3._0x76a00f,0x95d)](_0x1989de(0x363,0x2af,_0x4e50b3._0x5cf1e2,0x2f3),String(_0x1770f4)),_0x9dee00[_0x1989de(_0x4e50b3._0x37fbaf,_0x4e50b3._0x536f26,0x5d1,_0x4e50b3._0x493c43)][_0x1989de(_0x4e50b3._0x2a3643,_0x4e50b3._0x2f5a97,_0x4e50b3._0x15fd51,_0x4e50b3._0xcfca7d)](_0x1989de(_0x4e50b3._0x4148d8,_0x4e50b3._0x1db87d,0x556,0x71f),String(_0x417e63)),_0x9dee00[_0x5215f0(_0x4e50b3._0x2295dc,_0x4e50b3._0x1d98db,0x85a,_0x4e50b3._0x26acd0)][_0x5215f0(0x70b,0x733,_0x4e50b3._0x76a00f,_0x4e50b3._0x4689dc)](_0x1989de(_0x4e50b3._0x3f4102,_0x4e50b3._0x3ff95f,_0x4e50b3._0x4a3505,0x2f4),_0x5307b9['safe']?_0x1989de(_0x4e50b3._0x48cdd0,_0x4e50b3._0x181a23,_0x4e50b3._0x238a82,0x24):_0x5215f0(_0x4e50b3._0x1960e9,0x196,0x3d3,0x53b));_0x5307b9[_0x5215f0(_0x4e50b3._0x4ff278,0x440,0x4a1,0x39e)]&&(_0x9dee00[_0x5215f0(_0x4e50b3._0x4da84d,_0x4e50b3._0x451b91,_0x4e50b3._0x188588,0xa56)][_0x5215f0(0x821,0x9c4,0x7c6,0x699)]('hl',_0x5307b9['lang']),_0x9dee00['searchParams'][_0x1989de(_0x4e50b3._0x577333,0x366,_0x4e50b3._0x185fd4,_0x4e50b3._0x1ad0c6)]('lr',_0x1989de(0x31e,-0xca,0x170,0x222)+_0x5307b9['lang']));if(_0x5307b9[_0x5215f0(_0x4e50b3._0x5ce472,_0x4e50b3._0x361a6d,0x45a,_0x4e50b3._0x687783)])_0x9dee00[_0x1989de(0x645,0x5db,_0x4e50b3._0x2e3110,0x774)]['set']('gl',_0x5307b9['region']['toUpperCase']());if(_0x5307b9[_0x1989de(_0x4e50b3._0x585c2d,0x56d,_0x4e50b3._0x1ce752,0x5dd)]===_0x5215f0(_0x4e50b3._0x4becec,0x70f,_0x4e50b3._0x4438b9,_0x4e50b3._0x38a61f))_0x9dee00['searchParams'][_0x5215f0(0x5fd,_0x4e50b3._0x4c7fd8,0x7c6,_0x4e50b3._0x46f1d1)](_0x1989de(_0x4e50b3._0x146305,_0x4e50b3._0x395b96,_0x4e50b3._0x5cd107,0x12d),_0x1989de(0x680,0x562,0x5a5,_0x4e50b3._0x2f0ffe));if(_0xbad5b6)_0x9dee00['searchParams']['set'](_0x5215f0(_0x4e50b3._0xb533a6,_0x4e50b3._0x45b4d1,_0x4e50b3._0x3f48f0,0x676),_0xbad5b6);const _0x207d70=await fetchJSON(_0x9dee00[_0x1989de(_0x4e50b3._0x20a89a,-_0x4e50b3._0x36c342,0x175,_0x4e50b3._0x1bd3d9)](),{'headers':{'User-Agent':UA,'Accept':_0x5215f0(_0x4e50b3._0x10f600,_0x4e50b3._0x1db87d,_0x4e50b3._0x1356e5,_0x4e50b3._0x383e88)}},_0x53e5ad),_0x5e2a49=_0x207d70[_0x5215f0(_0x4e50b3._0x4cb4ea,_0x4e50b3._0x4a3c74,_0x4e50b3._0x2d9686,0x43e)]||[];if(!_0x5e2a49['length'])break;const _0x11f3a5=_0x327176;for(let _0x171e66=0x0;_0x171e66<_0x5e2a49[_0x1989de(0x300,_0x4e50b3._0x54e541,_0x4e50b3._0x1a4576,_0x4e50b3._0x290ace)];_0x171e66++){const _0x4d85fe=_0x5e2a49[_0x171e66],_0x4d9ce9=_0x4d85fe[_0x1989de(_0x4e50b3._0x4bd06f,_0x4e50b3._0x57bc1a,_0x4e50b3._0x3a6e31,0x2f9)]||_0x4d85fe[_0x5215f0(0x6df,_0x4e50b3._0x4b5c42,_0x4e50b3._0x2bd9e2,_0x4e50b3._0x45a1f2)]?.[_0x1989de(0x28b,_0x4e50b3._0x432a05,_0x4e50b3._0x507a0b,0x682)]||'',_0x41c4a=_0x4d85fe[_0x1989de(_0x4e50b3._0x248492,_0x4e50b3._0x5477a6,0x387,_0x4e50b3._0x20ba87)]||_0x4d85fe[_0x5215f0(0x796,0x85a,0x82e,0xa33)]?.['title']||'',_0x51da9a=_0x4d85fe[_0x1989de(_0x4e50b3._0x18cd7d,_0x4e50b3._0xd465be,0x4e7,0x57d)]||_0x4d85fe['htmlSnippet']?.['replace'](/<[^>]+>/g,''),_0x3b1117=_0x4d85fe[_0x5215f0(0x76a,0x84b,_0x4e50b3._0x34cda3,0x781)]||{},_0x52ccb2=_0x3b1117['metatags']?.[0x0]||{},_0x3a636a=_0x52ccb2['article:published_time']||_0x52ccb2[_0x5215f0(0x61b,0x416,0x40e,_0x4e50b3._0x36a600)]||void 0x0,_0x33e2ce=((()=>{function _0x310503(_0x316777,_0x54f3dd,_0x4bd80f,_0x3b25b0){return _0x5215f0(_0x4bd80f,_0x54f3dd-_0xa7ea4e._0x283e45,_0x54f3dd- -0x244,_0x3b25b0-0x1ac);}try{return new URL(_0x4d9ce9)[_0x310503(_0x57e579._0x19e927,0x35b,_0x57e579._0x3205d9,_0x57e579._0x3dfcb2)];}catch{return void 0x0;}})());_0x3613d8[_0x1989de(_0x4e50b3._0x4796ae,_0x4e50b3._0x555b7e,_0x4e50b3._0x9fd06c,-0x42)]({'title':_0x41c4a,'url':normalizeUrl(_0x4d9ce9),'snippet':_0x51da9a,'displayUrl':_0x33e2ce,'favicon':void 0x0,'publishedAt':_0x3a636a,'source':{'engine':this[_0x1989de(0x253,0x221,_0x4e50b3._0x78a728,0x485)],'rank':_0x11f3a5+_0x171e66+0x1}});}_0x327176+=_0x5e2a49[_0x5215f0(0x751,_0x4e50b3._0x236bdd,_0x4e50b3._0x1142b5,_0x4e50b3._0x52a0a5)],_0x417e63+=_0x5e2a49[_0x1989de(0x418,_0x4e50b3._0x55f1d2,0x37d,_0x4e50b3._0x53fe0a)];if(_0x5e2a49['length']<_0x1770f4)break;}function _0x1989de(_0xb05c2b,_0x4b55f3,_0x152bc6,_0x18c781){return _0x55e1bc(_0xb05c2b,_0x4b55f3-0x191,_0x152bc6-_0x4ceca3._0xb8b411,_0x152bc6- -0x30f);}return _0x3613d8[_0x1989de(0x5b8,_0x4e50b3._0x244a88,_0x4e50b3._0x4c3f37,_0x4e50b3._0x3c1b4c)](0x0,_0x5e7353);}},WebSearchTool=class{['name']=_0x3a64dd(0x6b2,0x5b3,0x68b,0x7ae);[_0x55e1bc(0x6ed,0x5ff,0x93b,0x834)]={'type':_0x3a64dd(0x5f7,0x645,0x4bf,0x4aa),'properties':{'description':{'type':_0x3a64dd(0x23c,0x1f3,0x42a,0x20b),'description':'Explanation\x20of\x20what\x20is\x20being\x20searched\x20for\x20and\x20why\x20(e.g.,\x20\x22Search\x20for\x20React\x20hooks\x20best\x20practices\x22)'},'query':{'type':_0x55e1bc(0x421,0x717,0x604,0x566),'description':_0x3a64dd(0x2bb,0x44f,0x4a0,0x4cb)},'count':{'type':_0x3a64dd(0x278,0x533,0x338,0x383),'description':_0x3a64dd(0x831,0x6be,0x760,0x994)},'offset':{'type':_0x3a64dd(0x463,0x357,0x338,0x42b),'description':'Skip\x20this\x20many\x20results\x20before\x20returning\x20(pagination)'},'domains':{'type':_0x3a64dd(0x276,0x2fd,0x423,0x255),'items':{'type':'string'},'description':_0x55e1bc(0x5ca,0x709,0x7d9,0x7e4)},'recencyDays':{'type':_0x3a64dd(0x42f,0x1c1,0x338,0x120),'description':_0x3a64dd(0x7ad,0x80e,0x6d6,0x72a)},'lang':{'type':'string','description':_0x55e1bc(0x479,0x6f1,0x56f,0x4d9)},'region':{'type':'string','description':_0x3a64dd(0x34c,0x2a9,0x3db,0x311)},'safe':{'type':_0x55e1bc(0x5c4,0x676,0xa3f,0x809),'description':_0x3a64dd(0x549,0x6ae,0x4db,0x3e0)},'type':{'type':_0x55e1bc(0x716,0x77f,0x36c,0x566),'enum':[_0x55e1bc(0x5d0,0x4c4,0x921,0x6d5),'images'],'description':_0x3a64dd(0x2f1,0x66c,0x46f,0x5fb)},'hydrateMeta':{'type':_0x3a64dd(0x6bd,0x686,0x6cd,0x8e6),'description':_0x3a64dd(0x7d1,0x4aa,0x59d,0x4a0)}},'required':[_0x3a64dd(0x79e,0x6d8,0x674,0x624)]};['definition'](){const _0x18b87a={_0xd34451:0x432,_0x37cd93:0x52f,_0x1f5688:0x1d5,_0x4be7d1:0x1a2,_0x4307d5:0x125},_0xda5e6a={_0x4be46d:0x225},_0x3298b4={_0x314c55:0x1f2,_0x1e6ecf:0x5e2};function _0x19cb72(_0x5f5d43,_0x4a4cc3,_0x2e51fb,_0x2231a0){return _0x55e1bc(_0x2e51fb,_0x4a4cc3-0x15f,_0x2e51fb-_0x3298b4._0x314c55,_0x4a4cc3- -_0x3298b4._0x1e6ecf);}function _0x51abb4(_0xe58e87,_0x497421,_0x5ac141,_0x27a823){return _0x55e1bc(_0x497421,_0x497421-0x56,_0x5ac141-0x16,_0x5ac141- -_0xda5e6a._0x4be46d);}return{'name':this[_0x51abb4(_0x18b87a._0xd34451,_0x18b87a._0x37cd93,0x337,_0x18b87a._0x1f5688)],'description':_0x51abb4(0x73a,0x4e9,0x5c0,0x4f9),'parameters':this[_0x19cb72(0x226,0x252,_0x18b87a._0x4be7d1,_0x18b87a._0x4307d5)]};}['provider']=new GoogleCseProvider();async[_0x55e1bc(0x8c7,0x85e,0x8ec,0x7b6)](_0x8daf1d,_0x11f79e){const _0x32a304={_0x866b1f:0x5f,_0x4e1e14:0x9a,_0xafc853:0x24c,_0x34c69c:0xaf,_0x538ec6:0x151,_0xf4daa1:0x19d,_0x121a0a:0x1f5,_0x5e29f5:0x2fd,_0x4ff911:0x1fc,_0x24de48:0x4f8,_0x522e88:0x36,_0x119d6c:0xda,_0x405d52:0x59,_0x1f546a:0x4a3,_0x43462c:0x2df,_0x387ad8:0x49f,_0x194aba:0x3a0,_0x3721fa:0xab,_0x1123ea:0x32c,_0xf4e431:0x1be,_0xc48e95:0x2a3,_0x2cc6c4:0x166,_0x27952d:0x17a,_0x402c71:0x5a,_0x358a47:0x160,_0x240172:0xb0,_0x26f8b7:0x306,_0x57a7df:0x24b,_0x3051fe:0x224,_0x31ccbb:0xfe,_0x4ae69f:0x222,_0x5dc796:0x384,_0x144f01:0xc5,_0x436169:0x26,_0x1cf5d7:0xde,_0x295136:0x160,_0x50e4a2:0x128,_0x3c8f87:0x216,_0x5b99ba:0x79,_0x17bf91:0x12e,_0xd57b62:0x423,_0x3b7230:0x1e8,_0xf6b291:0xa1,_0x2356b5:0x40a,_0x5df3a7:0x3a9,_0x432611:0x16f,_0x3a790c:0x52,_0x33e263:0x323,_0x20360e:0x196,_0x345ba8:0x3ab,_0xc08e3f:0xe8,_0x49bf26:0x80,_0x4c0fd1:0x226,_0x3ec567:0x47,_0x33f6ed:0xa0,_0x4467e9:0x1f9,_0x2f0af8:0x360,_0x227fa1:0x35,_0x24f5ec:0x220,_0x18a917:0x207,_0x1c42d7:0x4c,_0x2e4d8d:0x29c,_0x42483a:0x24a,_0x2b4966:0x12,_0x56e594:0x123,_0x50abe8:0x2c,_0x3a2c87:0x1d6,_0x53b590:0x100,_0x129d2f:0x4ae,_0x496e97:0x79,_0x319515:0x202,_0x3bd6c9:0x74,_0x36de05:0x259,_0x1f59b6:0x1e4,_0xedb0a6:0xfa,_0x599989:0x8e,_0x436cb7:0xd0,_0xec9dd5:0x247,_0x2339ed:0x29f,_0xd435a6:0x4e,_0x4e356:0xa9,_0x3c3cea:0x191,_0x784121:0x19c,_0x16d770:0x26b,_0x51688a:0x30,_0x91f283:0x1a,_0x39c525:0x118,_0x301f7c:0x4c,_0xe96a1e:0x28f,_0x53a856:0x3ac,_0x13e9ab:0x536,_0x4b333a:0x2b1,_0x1c018e:0x1b9,_0x353b17:0x452,_0x27d631:0x2f5,_0x3d8249:0x1b3,_0x2972d2:0x2f6},_0x4613ae={_0x2eb499:0x28a,_0x1d45ae:0x236,_0x5b457f:0x198,_0x12e540:0x393,_0x1823ea:0x4cd,_0x37527c:0x407,_0x4a299b:0x54e,_0x5f4457:0x542,_0x3aee41:0x4c7,_0x1cd524:0x556,_0x573a20:0x6a7},_0x167835={_0x260e55:0x1e4},_0x595668={_0x17793b:0x6f,_0x50d961:0xf2,_0x35f626:0x4b3},_0x542a33={_0x359a30:0x640};if(_0x11f79e?.[_0x5ed037(-0xe2,-_0x32a304._0x866b1f,-0x4b,-_0x32a304._0x4e1e14)]?.[_0x22ecc1(0x151,0x93,0xf0,_0x32a304._0xafc853)])return err(_0x22ecc1(-0x16,-_0x32a304._0x34c69c,-0x1ee,0x17),void 0x0,_0x22ecc1(_0x32a304._0x538ec6,0xc4,_0x32a304._0xf4daa1,_0x32a304._0x121a0a));const _0x153f60=typeof _0x8daf1d[_0x22ecc1(_0x32a304._0x5e29f5,0x3e3,0x264,_0x32a304._0x4ff911)]===_0x22ecc1(0xb3,-0x2,-0x105,0x187)?_0x8daf1d[_0x22ecc1(0x2fd,0x178,_0x32a304._0x24de48,0x2ed)]:'';if(!_0x153f60)return err(_0x22ecc1(-_0x32a304._0x522e88,0x187,_0x32a304._0x119d6c,-_0x32a304._0x405d52),void 0x0,'invalid_input');function _0x5ed037(_0x13c914,_0x5c92eb,_0x4aa7d4,_0x1a65f2){return _0x55e1bc(_0x1a65f2,_0x5c92eb-0x82,_0x4aa7d4-0xa9,_0x5c92eb- -_0x542a33._0x359a30);}const _0x5733c3={'query':String(_0x8daf1d[_0x22ecc1(_0x32a304._0x5e29f5,0x109,_0x32a304._0x1f546a,_0x32a304._0x43462c)]??'')[_0x22ecc1(0x369,0x5ae,_0x32a304._0x387ad8,_0x32a304._0x194aba)](),'count':Math['max'](0x1,Math['min'](0x32,Number(_0x8daf1d['count']??0xa))),'offset':Math['max'](0x0,Number(_0x8daf1d['offset']??0x0)),'domains':_0x8daf1d[_0x5ed037(0x34,0x48,-_0x32a304._0x3721fa,0xfa)]||[],'recencyDays':_0x8daf1d[_0x5ed037(_0x32a304._0x1123ea,_0x32a304._0xf4e431,_0x32a304._0xc48e95,_0x32a304._0x2cc6c4)]??0x0,'lang':_0x8daf1d[_0x22ecc1(0x74,0x274,_0x32a304._0x27952d,0x192)]||'en','region':_0x8daf1d[_0x5ed037(-_0x32a304._0x402c71,-_0x32a304._0x358a47,-_0x32a304._0x240172,-_0x32a304._0x26f8b7)]||'','safe':_0x8daf1d[_0x22ecc1(0x5a,_0x32a304._0x57a7df,_0x32a304._0x3051fe,_0x32a304._0x31ccbb)]??!![],'type':_0x8daf1d['type']??_0x22ecc1(_0x32a304._0x4ae69f,0x235,0x2e0,_0x32a304._0x5dc796),'hydrateMeta':_0x8daf1d[_0x5ed037(_0x32a304._0x144f01,-_0x32a304._0x436169,-0x15f,_0x32a304._0x1cf5d7)]??![]};if(!_0x5733c3[_0x22ecc1(_0x32a304._0x5e29f5,_0x32a304._0x295136,0x2c7,0x13b)])return err(_0x22ecc1(_0x32a304._0x50e4a2,_0x32a304._0x3c8f87,_0x32a304._0x5b99ba,0x1c),void 0x0,_0x22ecc1(0x196,_0x32a304._0x17bf91,0x368,0x2a7));function _0x22ecc1(_0x6856d3,_0x4a7922,_0x20e074,_0x4188eb){return _0x55e1bc(_0x4188eb,_0x4a7922-_0x595668._0x17793b,_0x20e074-_0x595668._0x50d961,_0x6856d3- -_0x595668._0x35f626);}if(!process['env'][_0x5ed037(-_0x32a304._0xd57b62,-_0x32a304._0x3b7230,-0x1b,-_0x32a304._0xf6b291)]||!process[_0x22ecc1(0x27d,_0x32a304._0x2356b5,0x43a,_0x32a304._0x5df3a7)][_0x5ed037(-0xd,_0x32a304._0x432611,-_0x32a304._0x3a790c,_0x32a304._0x33e263)])return err('GOOGLE_CSE_KEY\x20and\x20GOOGLE_CSE_CX\x20are\x20required\x20for\x20this\x20tool\x20(Google\x20CSE\x20only).',void 0x0,_0x22ecc1(_0x32a304._0x20360e,_0x32a304._0x345ba8,_0x32a304._0xc08e3f,-_0x32a304._0x49bf26));try{let _0x23b8cb=await this['provider'][_0x5ed037(0xf5,0x182,_0x32a304._0x4c0fd1,-_0x32a304._0x3ec567)](_0x5733c3,_0x11f79e?.[_0x22ecc1(_0x32a304._0x17bf91,_0x32a304._0x33f6ed,_0x32a304._0x4467e9,_0x32a304._0x2f0af8)]);_0x5733c3[_0x5ed037(-_0x32a304._0x227fa1,-0x26,-_0x32a304._0x24f5ec,-_0x32a304._0x18a917)]&&_0x23b8cb[_0x5ed037(-0x3a,_0x32a304._0x1c42d7,0x292,_0x32a304._0x2e4d8d)]&&(_0x23b8cb=await hydrate(_0x23b8cb,_0x5733c3['lang'],_0x11f79e?.[_0x22ecc1(0x12e,0x282,_0x32a304._0x42483a,-_0x32a304._0x2b4966)]));const _0x167908=new Set();_0x23b8cb=_0x23b8cb[_0x22ecc1(0x2af,0x34a,0xdd,0x3c9)](_0x134f5c=>{const _0x3c81aa={_0x374868:0x130,_0x2addde:0x330};function _0x2de5cb(_0x16c384,_0x425275,_0xa838d4,_0x37dd98){return _0x5ed037(_0x16c384-0x18c,_0xa838d4-0x34d,_0xa838d4-_0x167835._0x260e55,_0x425275);}function _0x4b331c(_0x17ed20,_0x4a45b1,_0x2c502e,_0x8ab23e){return _0x5ed037(_0x17ed20-_0x3c81aa._0x374868,_0x17ed20-_0x3c81aa._0x2addde,_0x2c502e-0x18c,_0x8ab23e);}const _0x16c7f5=_0x134f5c[_0x4b331c(_0x4613ae._0x2eb499,_0x4613ae._0x1d45ae,_0x4613ae._0x5b457f,0x9b)][_0x2de5cb(_0x4613ae._0x12e540,_0x4613ae._0x1823ea,0x47e,_0x4613ae._0x37527c)]();if(!_0x16c7f5||_0x167908[_0x4b331c(_0x4613ae._0x4a299b,0x5e6,_0x4613ae._0x5f4457,0x43d)](_0x16c7f5))return![];return _0x167908[_0x2de5cb(0x496,_0x4613ae._0x3aee41,_0x4613ae._0x1cd524,_0x4613ae._0x573a20)](_0x16c7f5),!![];})['slice'](0x0,_0x5733c3[_0x5ed037(_0x32a304._0x56e594,_0x32a304._0x50abe8,-_0x32a304._0x3a2c87,0x262)]);const _0x3d96d4={};if(_0x5733c3[_0x5ed037(_0x32a304._0x53b590,0x48,-0xc6,-0x1b2)]['length']>0x0)_0x3d96d4['domains']=_0x5733c3['domains'];if(_0x5733c3[_0x22ecc1(0x34b,_0x32a304._0x129d2f,0x1ef,0x2f8)]>0x0)_0x3d96d4[_0x5ed037(_0x32a304._0x496e97,0x1be,_0x32a304._0x3051fe,_0x32a304._0x319515)]=_0x5733c3['recencyDays'];if(_0x5733c3['lang']&&_0x5733c3[_0x22ecc1(_0x32a304._0x3bd6c9,-0x67,_0x32a304._0x36de05,0x255)]!=='en')_0x3d96d4[_0x22ecc1(0x74,_0x32a304._0x1f59b6,_0x32a304._0x3a2c87,0x7)]=_0x5733c3[_0x22ecc1(0x74,-0x19d,-_0x32a304._0xedb0a6,_0x32a304._0x599989)];if(_0x5733c3[_0x22ecc1(0x2d,-0x1d6,-0x4e,0x265)])_0x3d96d4[_0x22ecc1(0x2d,0x83,_0x32a304._0x436cb7,-0x21b)]=_0x5733c3[_0x5ed037(-_0x32a304._0xec9dd5,-_0x32a304._0x358a47,-0x219,-_0x32a304._0x53b590)];return okJson({'engine':this[_0x5ed037(_0x32a304._0x24f5ec,_0x32a304._0x538ec6,_0x32a304._0x2339ed,_0x32a304._0xd435a6)][_0x22ecc1(_0x32a304._0x4e356,_0x32a304._0x3c3cea,-_0x32a304._0x784121,-0x64)],'count':_0x23b8cb[_0x22ecc1(0x1d9,_0x32a304._0x16d770,0x3ac,-_0x32a304._0x51688a)],'items':_0x23b8cb,'query':_0x5733c3[_0x5ed037(_0x32a304._0x51688a,0x170,0x24,0x133)],'appliedFilters':Object[_0x5ed037(0x12b,_0x32a304._0x91f283,-0x1f3,0x241)](_0x3d96d4)[_0x5ed037(-_0x32a304._0x39c525,_0x32a304._0x301f7c,_0x32a304._0xe96a1e,-0x153)]>0x0?_0x3d96d4:void 0x0},{'offset':_0x5733c3[_0x22ecc1(_0x32a304._0x53a856,_0x32a304._0x13e9ab,0x162,_0x32a304._0x4b333a)],'totalRequested':_0x5733c3[_0x22ecc1(_0x32a304._0x1c018e,-0x4a,-0x1d,0x1a6)],'hydrated':_0x5733c3[_0x22ecc1(0x167,0x350,-0x42,-0xa3)]});}catch(_0x5e6f43){const _0x3818ee=_0x5e6f43 instanceof Error?_0x5e6f43[_0x22ecc1(0x43e,0x67b,_0x32a304._0x353b17,_0x32a304._0x27d631)]:String(_0x5e6f43),_0x27ed6b=_0x3818ee['includes'](_0x5ed037(-0x3f3,-_0x32a304._0x3d8249,-0x127,-0x24d));return err(_0x27ed6b?'Search\x20aborted\x20by\x20user':_0x3818ee['slice'](0x0,0x1f4),void 0x0,_0x27ed6b?'aborted':_0x5ed037(_0x32a304._0x2972d2,0x2b2,0xbc,0x359));}}};import _0x58f982 from'turndown';var WebFetchTool=class{['name']='web_fetch';[_0x55e1bc(0x73c,0x6ef,0xa68,0x834)]={'type':'object','properties':{'description':{'type':'string','description':_0x3a64dd(0x3d2,0x14d,0x36c,0x3e5)},'url':{'type':'string','description':_0x55e1bc(0x4f8,0x3ea,0x6f4,0x4ca)}},'required':[_0x3a64dd(0x57a,0x442,0x45e,0x384)]};['turndownService'];constructor(){const _0x20b3c8={_0x58b1af:0x4b5,_0x4a5b99:0x1c6,_0x597847:0x130,_0x531fdf:0x1d4,_0x32a934:0x5e8,_0x400a7e:0x4ab,_0x2c8019:0xb4,_0x3dba9a:0x273,_0x22a93e:0x47b,_0x1795d3:0x22e,_0x2db223:0xdf,_0x73c1e4:0x42,_0xeae200:0x445,_0x2fa8e9:0xaf,_0x472b58:0xee,_0x55ca17:0x112,_0x2daab0:0x17d,_0x3ee989:0x2e,_0x1a2eb1:0x1c8,_0x4a2407:0x19c,_0x585615:0x51,_0x388f70:0xaa7,_0x168abe:0x605,_0x384467:0x750,_0xaee745:0x67e,_0x3015a0:0x37d},_0x3e3c16={_0x43aa99:0x1ac,_0x5ad527:0xc},_0xbd9205={_0x16b880:0x734};this[_0x32775c(0x4d7,0x36d,_0x20b3c8._0x58b1af,0x393)]=new _0x58f982({'headingStyle':_0x413efc(-_0x20b3c8._0x4a5b99,-_0x20b3c8._0x597847,-_0x20b3c8._0x531fdf,-0x1cd),'codeBlockStyle':_0x32775c(_0x20b3c8._0x32a934,0x54a,_0x20b3c8._0x400a7e,0x31c),'bulletListMarker':'-'});function _0x413efc(_0x2eda46,_0x414e06,_0xbe2cb3,_0x154b01){return _0x55e1bc(_0x414e06,_0x414e06-0x14a,_0xbe2cb3-0xb4,_0x154b01- -_0xbd9205._0x16b880);}function _0x32775c(_0x3ebde0,_0x5e6991,_0x4707c1,_0x5dd5ab){return _0x55e1bc(_0x5dd5ab,_0x5e6991-0x1bc,_0x4707c1-_0x3e3c16._0x43aa99,_0x4707c1- -_0x3e3c16._0x5ad527);}this[_0x413efc(-0x1cc,-_0x20b3c8._0x2c8019,-0x52,-_0x20b3c8._0x3dba9a)][_0x32775c(0x356,0x268,_0x20b3c8._0x22a93e,_0x20b3c8._0x1795d3)]([_0x413efc(-0x264,-_0x20b3c8._0x2db223,-_0x20b3c8._0x73c1e4,-0xb4),_0x413efc(-0x238,-0x4c,-_0x20b3c8._0xeae200,-0x223),_0x413efc(_0x20b3c8._0x2fa8e9,-_0x20b3c8._0x472b58,0x246,_0x20b3c8._0x55ca17),_0x413efc(0x242,_0x20b3c8._0x2daab0,_0x20b3c8._0x3ee989,0x146),_0x413efc(0x186,_0x20b3c8._0x1a2eb1,_0x20b3c8._0x4a2407,-_0x20b3c8._0x585615),_0x32775c(0x6e0,_0x20b3c8._0x388f70,0x8dc,0x8db),_0x32775c(_0x20b3c8._0x168abe,_0x20b3c8._0x384467,0x5a7,0x628),_0x32775c(_0x20b3c8._0xaee745,0x56d,0x461,_0x20b3c8._0x3015a0)]);}[_0x3a64dd(0x342,0x4e7,0x3a2,0x49a)](){const _0x40485f={_0x2fa365:0x169};function _0x40c653(_0x2e4885,_0x1da200,_0x585414,_0x200199){return _0x3a64dd(_0x2e4885-0x70,_0x200199,_0x1da200- -0x5ec,_0x200199-0x1a8);}return{'name':this['name'],'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','parameters':this[_0x40c653(0x25e,0x10c,_0x40485f._0x2fa365,0x35)]};}async[_0x55e1bc(0x68b,0x8ab,0x987,0x7b6)](_0x1c12b2,_0x3983d1){const _0x24b73b={_0x76b1a6:0x4e4,_0x366997:0x483,_0x39154b:0x3bd,_0x7e8d16:0x324,_0x37a10a:0x2fa,_0x512a40:0x26f,_0x126cb0:0x300,_0x2ec4ef:0x428,_0x5ee194:0x488,_0x284ad7:0x300,_0x4e5178:0x672,_0x4f2b75:0x780,_0xddae64:0x41c,_0x3e5b81:0x607,_0x14e2a4:0x474,_0x4e7ee9:0x45d,_0xab522:0x53b,_0x23b780:0x270,_0x24f65e:0x429,_0x1392dc:0x49c,_0x11c72c:0x46a,_0x43386c:0x3e0,_0x7f9f0f:0x47f,_0x23011a:0x558,_0x109542:0x57e,_0x4348e1:0x6e9,_0xb7719a:0x2d4,_0x1a1cf4:0x447,_0x54a374:0x204,_0x21af5f:0x32b,_0x4563f0:0x399,_0x129770:0x3e1,_0x792aa0:0x425,_0x3535cb:0x62b,_0x26d9ff:0x624,_0x210e50:0x517,_0x91c329:0x6a5,_0xa9501a:0x3b0,_0x3c6d68:0x34d,_0x531259:0x5f6,_0x5cb424:0x4e3,_0x4b8afb:0x80,_0x415ec6:0x2ff,_0x2249a5:0x49a,_0x419208:0x4a7,_0x35fa2c:0x3da,_0x384327:0x2e5,_0x1f80a6:0x4a0,_0x50ebba:0x42b,_0x34e0ac:0x367,_0x5ef916:0x134,_0x56e156:0x212,_0x7d77db:0xa1,_0x49109c:0x237,_0x5282d2:0x4df,_0x35f16e:0x517,_0x281ff4:0x458,_0x24cc06:0x5c3},_0x458929={_0x28f665:0xd9,_0x3a61d5:0x1e9},_0x4490e6=String(_0x1c12b2[_0x589232(_0x24b73b._0x76b1a6,_0x24b73b._0x366997,0x432,0x2b9)]??'');function _0x589232(_0x5ec662,_0x37eaa8,_0x312b25,_0x509934){return _0x3a64dd(_0x5ec662-0x129,_0x37eaa8,_0x509934- -0x1a5,_0x509934-0x1da);}function _0x1f85d0(_0x1855c6,_0x516f50,_0x4cf44d,_0x1849fe){return _0x3a64dd(_0x1855c6-_0x458929._0x28f665,_0x1849fe,_0x4cf44d- -_0x458929._0x3a61d5,_0x1849fe-0xf3);}if(!_0x4490e6)return err(_0x1f85d0(0x244,_0x24b73b._0x39154b,0x34b,0x28e),void 0x0,_0x1f85d0(0x522,0x45b,_0x24b73b._0x7e8d16,_0x24b73b._0x37a10a));if(_0x3983d1?.[_0x589232(0x18f,_0x24b73b._0x512a40,0x2ec,_0x24b73b._0x126cb0)]?.['aborted'])return err('Fetch\x20aborted\x20by\x20user',void 0x0,'aborted');try{const _0x4573e4=await fetch(_0x4490e6,{'headers':{'User-Agent':_0x589232(0x479,_0x24b73b._0x2ec4ef,0x5eb,0x3ce)},'signal':_0x3983d1?.[_0x589232(0x1a3,_0x24b73b._0x5ee194,0x4ef,_0x24b73b._0x284ad7)]});if(!_0x4573e4['ok'])return err(_0x589232(_0x24b73b._0x4e5178,_0x24b73b._0x4f2b75,_0x24b73b._0xddae64,0x5c3)+_0x4573e4[_0x1f85d0(_0x24b73b._0x3e5b81,_0x24b73b._0x14e2a4,_0x24b73b._0x4e7ee9,_0x24b73b._0xab522)]+'\x20'+_0x4573e4[_0x1f85d0(0x22c,0xf6,_0x24b73b._0x23b780,0x497)],{'url':_0x4490e6},_0x589232(0x263,_0x24b73b._0x24f65e,0x4ae,_0x24b73b._0x1392dc));const _0x153a30=_0x4573e4[_0x589232(_0x24b73b._0x11c72c,0x6b6,_0x24b73b._0x43386c,0x4e9)][_0x1f85d0(_0x24b73b._0x7f9f0f,_0x24b73b._0x23011a,_0x24b73b._0x109542,_0x24b73b._0x4348e1)](_0x1f85d0(0x82,_0x24b73b._0xb7719a,0x26a,0x11e))||'',_0x4ecd97=await _0x4573e4[_0x1f85d0(_0x24b73b._0x1a1cf4,0x50e,0x2e5,_0x24b73b._0x54a374)](),_0x1edf2f=new Date()[_0x589232(0x477,0x31e,_0x24b73b._0x21af5f,0x32a)]();let _0x44444e,_0x4e61ea;if(_0x153a30[_0x589232(_0x24b73b._0x4563f0,0x2e8,0x367,0x3be)](_0x589232(_0x24b73b._0x129770,0x347,0x107,0x327)))_0x44444e=_0x1f85d0(0x2e2,0x32d,_0x24b73b._0x792aa0,_0x24b73b._0x3535cb)+_0x4ecd97+_0x1f85d0(_0x24b73b._0xb7719a,_0x24b73b._0x26d9ff,_0x24b73b._0x210e50,_0x24b73b._0x91c329),_0x4e61ea='json';else _0x153a30[_0x589232(_0x24b73b._0xa9501a,0x47c,_0x24b73b._0x3c6d68,0x3be)](_0x1f85d0(0x537,_0x24b73b._0x531259,_0x24b73b._0x5cb424,0x4a8))?(_0x44444e=this[_0x1f85d0(0x23a,_0x24b73b._0x4b8afb,0x19c,_0x24b73b._0x415ec6)][_0x1f85d0(0x226,0x276,0x450,0x42d)](_0x4ecd97),_0x4e61ea=_0x589232(0x663,0x41d,_0x24b73b._0x2249a5,_0x24b73b._0x419208)):(_0x44444e=_0x4ecd97,_0x4e61ea=_0x1f85d0(_0x24b73b._0x35fa2c,0xb3,_0x24b73b._0x384327,_0x24b73b._0x1f80a6));return okText(_0x44444e,{'url':_0x4490e6,'contentType':_0x153a30,'statusCode':_0x4573e4[_0x1f85d0(0x43f,0x57c,0x45d,0x234)],'format':_0x4e61ea,'size':_0x4ecd97[_0x1f85d0(0x39b,_0x24b73b._0x50ebba,_0x24b73b._0x34e0ac,0x314)],'fetchedAt':_0x1edf2f});}catch(_0x10d615){const _0x43376c=_0x10d615 instanceof Error?_0x10d615['message']:String(_0x10d615),_0x31b487=_0x43376c[_0x1f85d0(0x340,_0x24b73b._0x5ef916,0x37a,_0x24b73b._0x56e156)]('aborted')||_0x10d615[_0x1f85d0(0xfa,_0x24b73b._0x7d77db,_0x24b73b._0x49109c,0x10a)]===_0x1f85d0(0x349,0x46b,0x26c,0x70);return err(_0x31b487?_0x589232(0x577,_0x24b73b._0x5282d2,0x406,0x37e):_0x43376c,{'url':_0x4490e6},_0x31b487?_0x1f85d0(0xd7,0x125,0x2df,0x1fa):_0x1f85d0(_0x24b73b._0x35f16e,0x400,_0x24b73b._0x281ff4,_0x24b73b._0x24cc06));}}};import{promises as _0x14b2a0}from'fs';import*as _0x439549 from'path';var FileReadTool=class{['name']=_0x3a64dd(0x5f3,0x620,0x3fc,0x4dd);[_0x3a64dd(0x59f,0x727,0x5d9,0x56f)];[_0x3a64dd(0x734,0x496,0x5e7,0x3d2)];[_0x55e1bc(0xa6c,0xa2a,0x8c2,0x81e)];[_0x55e1bc(0x704,0x7ea,0x8df,0x751)];constructor(_0x4c7c58={}){const _0x59555b={_0x58d318:0x57a,_0x349df8:0x5e9,_0x4a573c:0x5b5,_0x219167:0x5c3,_0x1afaaf:0x354,_0x1342f5:0x51c,_0x4e0d3e:0x48b,_0x1238cb:0x556,_0x257025:0x7af,_0x5e88a4:0x1b1,_0x41ddae:0x4d4,_0xbcfa94:0x29d,_0x5242d1:0x55,_0xa65022:0xcf,_0x5f0824:0x2f9},_0xfec153={_0x1580f0:0x2d,_0x342e8b:0x15c,_0x4ab914:0x118},_0x27c38b={_0x584a09:0x3db,_0x3ca9a2:0x46};this[_0x5bf8c9(_0x59555b._0x58d318,_0x59555b._0x349df8,0x512,0x47d)]=_0x439549['resolve'](_0x4c7c58[_0x5bf8c9(0x320,0x51f,_0x59555b._0x4a573c,0x47d)]??process[_0x8ba791(0x3fc,0x546,0x434,0x3b0)]()),this['maxBytesDefault']=Math[_0x5bf8c9(0x610,_0x59555b._0x219167,_0x59555b._0x1afaaf,_0x59555b._0x1342f5)](0x1,_0x4c7c58[_0x5bf8c9(0x33a,0x4bb,0x6bb,_0x59555b._0x4e0d3e)]??0x100*0x400),this[_0x5bf8c9(0x68b,_0x59555b._0x1238cb,_0x59555b._0x257025,0x586)]=Math[_0x8ba791(0x3c3,_0x59555b._0x5e88a4,_0x59555b._0x41ddae,_0x59555b._0xbcfa94)](this['maxBytesDefault'],_0x4c7c58['maxBytesHard']??0x400*0x400);function _0x8ba791(_0xc50f53,_0x3f3251,_0x15f286,_0x113e91){return _0x3a64dd(_0xc50f53-0x19,_0xc50f53,_0x113e91- -_0x27c38b._0x584a09,_0x113e91-_0x27c38b._0x3ca9a2);}function _0x5bf8c9(_0x42b4dc,_0x1733de,_0x313cea,_0x17f9ed){return _0x3a64dd(_0x42b4dc-_0xfec153._0x1580f0,_0x1733de,_0x17f9ed- -_0xfec153._0x342e8b,_0x17f9ed-_0xfec153._0x4ab914);}this['allowAbsolute']=!!_0x4c7c58[_0x8ba791(_0x59555b._0x5242d1,_0x59555b._0xa65022,_0x59555b._0x5f0824,0x23a)];}[_0x3a64dd(0x4f1,0x4fb,0x6f8,0x875)]={'type':_0x55e1bc(0x549,0x5fc,0x6e5,0x5fb),'properties':{'description':{'type':_0x3a64dd(0x5e9,0x5ff,0x42a,0x583),'description':_0x55e1bc(0x890,0x87d,0x732,0x69d)},'path':{'type':_0x55e1bc(0x644,0x3ce,0x625,0x566),'description':_0x55e1bc(0x353,0x35d,0x67f,0x52f)},'lineStart':{'type':_0x55e1bc(0x491,0x53c,0x733,0x6a4),'minimum':0x1,'description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':_0x55e1bc(0x72e,0x820,0x841,0x6a4),'minimum':0x1,'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(inclusive)'}},'required':[_0x55e1bc(0x92a,0xa42,0x69f,0x8d6)]};['definition'](){const _0x5fca6b={_0x2c13ff:0x1f5,_0x30e111:0x52,_0x46cc78:0x37e,_0x446bf8:0x3d0,_0x1ed0d8:0x533},_0x32fd19={_0x16f2d7:0x1b2,_0x4911a0:0x1b4,_0x1321db:0x57e},_0x4c4cbb={_0x2c057a:0x172};function _0x385a0b(_0x5684d8,_0x5b6f3d,_0x8a0686,_0x148b74){return _0x3a64dd(_0x5684d8-_0x4c4cbb._0x2c057a,_0x5b6f3d,_0x8a0686- -0x1c5,_0x148b74-0xd4);}function _0x12a1bf(_0x421d67,_0xa303bb,_0x221fc9,_0x30c364){return _0x55e1bc(_0x421d67,_0xa303bb-_0x32fd19._0x16f2d7,_0x221fc9-_0x32fd19._0x4911a0,_0xa303bb- -_0x32fd19._0x1321db);}return{'name':this[_0x12a1bf(_0x5fca6b._0x2c13ff,-0x22,-0x23,-0x19)],'description':_0x385a0b(_0x5fca6b._0x30e111,0x2fe,0x1a2,_0x5fca6b._0x46cc78),'parameters':this[_0x385a0b(0x5f3,_0x5fca6b._0x446bf8,_0x5fca6b._0x1ed0d8,0x4f0)]};}async['execute'](_0xe6e494,_0x76bb8f){const _0x2958bb={_0x1fa77c:0x312,_0x2a9c38:0x2eb,_0x241e58:0x179,_0x932aba:0xed,_0x11e528:0x1f4,_0x447ed4:0x1f,_0x8c2321:0x48,_0x14e6ec:0x153,_0x156a13:0x331,_0x4d72bc:0x168,_0x3c0e27:0xd9,_0x57f530:0x2fa,_0x5aa593:0x11b,_0x3b29af:0xfd,_0x591f98:0x45,_0x1dcdc2:0x65,_0xaf185a:0x437,_0x74e181:0x2eb,_0x2329c7:0x2f1,_0x1c1496:0x88,_0x1b422c:0x292,_0x4cb13f:0x295,_0x50cd0a:0x176,_0x12c953:0xdf,_0x3f5dcb:0x2,_0x31e317:0xf,_0x15f16e:0x214,_0x27a9b4:0x381,_0x4629ff:0x29b,_0x3f0b03:0x15c,_0x1c45f5:0x307,_0x16202a:0x277,_0x304f8c:0x1f7,_0x456286:0x5e,_0x3480e9:0x73,_0x411f29:0x99,_0x65aff7:0x2bb,_0xa4801b:0x310,_0x3126ae:0x2f,_0x3a0f45:0x170,_0x3417fb:0x187,_0x3c5877:0x36d,_0x27451f:0x158,_0x1aab68:0x197,_0x53ef01:0x1ff,_0x2e5da3:0x117,_0x5d6b78:0x1a,_0x416c1d:0x306,_0x1ed37a:0x77,_0x11b792:0x20,_0x4fb881:0x100,_0x148d14:0x518,_0xd164fd:0x7f,_0x3f6350:0x16b,_0x357f43:0x1c,_0x410546:0x217,_0x4df730:0x267,_0x5cce7a:0x119,_0x4d2581:0x46,_0x411836:0x119,_0x484c01:0x2ba,_0x17fc4d:0xd7,_0x26f5d2:0xc0,_0x52cf8a:0x4c,_0x4332cc:0xdf,_0x21cb78:0x138,_0x556b57:0x1bb,_0x2fae5a:0x107,_0x421236:0xa7,_0x35864b:0x227,_0x55937e:0xf1,_0x5d6999:0xbf,_0x183a0f:0xb1,_0x2ee108:0x3c7,_0x261e6d:0x3f1,_0x2bc1ec:0x411},_0x46875a={_0x546428:0x4af,_0x1a061c:0x1d3},_0x41f80e={_0x56663f:0x50,_0x2cc8fe:0x603};function _0x168284(_0x22692b,_0x57511f,_0x3041ee,_0x2a2619){return _0x3a64dd(_0x22692b-_0x41f80e._0x56663f,_0x2a2619,_0x3041ee- -_0x41f80e._0x2cc8fe,_0x2a2619-0x37);}function _0x2abf59(_0x3490c1,_0x2508fa,_0x345593,_0x5a4470){return _0x3a64dd(_0x3490c1-0x106,_0x3490c1,_0x5a4470- -_0x46875a._0x546428,_0x5a4470-_0x46875a._0x1a061c);}try{if(!_0xe6e494['path']||typeof _0xe6e494[_0x2abf59(0x2ff,_0x2958bb._0x1fa77c,0xa0,_0x2958bb._0x2a9c38)]!=='string')return err(_0x168284(0xcf,0xe,0xe1,_0x2958bb._0x241e58),void 0x0,'invalid_input');const _0x3ce314=this[_0x168284(_0x2958bb._0x932aba,-_0x2958bb._0x11e528,_0x2958bb._0x447ed4,_0x2958bb._0x8c2321)](_0xe6e494[_0x2abf59(_0x2958bb._0x14e6ec,_0x2958bb._0x156a13,0x154,_0x2958bb._0x2a9c38)],_0x76bb8f),_0x3c5238=await _0x14b2a0['stat'](_0x3ce314)[_0x2abf59(0xdc,0x299,0x10d,_0x2958bb._0x4d72bc)](()=>null);if(!_0x3c5238||!_0x3c5238[_0x2abf59(-_0x2958bb._0x3c0e27,_0x2958bb._0x57f530,-_0x2958bb._0x5aa593,_0x2958bb._0x3b29af)]())return err(_0x2abf59(0x194,-0x4b,-_0x2958bb._0x591f98,_0x2958bb._0x1dcdc2)+_0xe6e494[_0x2abf59(0x21c,0x489,_0x2958bb._0xaf185a,_0x2958bb._0x74e181)],{'path':_0xe6e494[_0x168284(_0x2958bb._0x2329c7,-_0x2958bb._0x1c1496,0x197,0x211)]},_0x2abf59(0x323,0x14c,_0x2958bb._0x1b422c,_0x2958bb._0x4cb13f));if(_0x3c5238['size']>this[_0x168284(0x237,_0x2958bb._0x50cd0a,_0x2958bb._0x12c953,-0xb)])return err(_0x2abf59(-_0x2958bb._0x3f5dcb,0x62,-_0x2958bb._0x31e317,-0x2c)+_0x3c5238[_0x2abf59(_0x2958bb._0x15f16e,_0x2958bb._0x27a9b4,0xd6,0x2e4)]+'\x20bytes).\x20Hard\x20cap\x20is\x20'+this['maxBytesHard']+_0x168284(-_0x2958bb._0x4629ff,-0x14b,-0x65,-_0x2958bb._0x3f0b03),{'path':_0xe6e494[_0x2abf59(_0x2958bb._0x1c45f5,0x20a,_0x2958bb._0x16202a,0x2eb)]},_0x2abf59(0x46,_0x2958bb._0x1dcdc2,_0x2958bb._0x304f8c,_0x2958bb._0x456286));const _0x5a90bb=await _0x14b2a0[_0x2abf59(0x15e,_0x2958bb._0x3480e9,-_0x2958bb._0x411f29,-0x94)](_0x3ce314);let _0x5ee614=_0x5a90bb[_0x168284(-0xa0,-0x29b,-_0x2958bb._0x65aff7,-_0x2958bb._0xa4801b)](_0x168284(-_0x2958bb._0x3126ae,-0x1ab,-_0x2958bb._0x3a0f45,-0xb3));const _0x17380a=_0x5ee614[_0x168284(_0x2958bb._0x3417fb,_0x2958bb._0x3c5877,_0x2958bb._0x27451f,0x96)](0x0)===0xfeff;_0x5ee614=stripUtfBom(_0x5ee614);const _0x5eb0eb={'path':_0xe6e494[_0x168284(0x3a0,0x282,_0x2958bb._0x1aab68,_0x2958bb._0x53ef01)],'created':_0x3c5238[_0x2abf59(-0xdc,-_0x2958bb._0x2e5da3,0x264,0xa6)]['toISOString'](),'modified':_0x3c5238[_0x168284(_0x2958bb._0x5d6b78,0x21e,0xce,_0x2958bb._0x416c1d)][_0x2abf59(_0x2958bb._0x1ed37a,0x26d,-0x9f,_0x2958bb._0x11b792)](),'size':_0x3c5238[_0x2abf59(_0x2958bb._0x4fb881,0x3ce,_0x2958bb._0x148d14,0x2e4)],'encoding':_0x2abf59(_0x2958bb._0xd164fd,_0x2958bb._0x3f6350,-0xfe,-_0x2958bb._0x357f43),'bomStripped':_0x17380a};if(_0xe6e494['lineStart']||_0xe6e494[_0x168284(-0x15a,-_0x2958bb._0x410546,-0x1a0,-0x1a7)]){const _0x12a002=_0x5ee614[_0x2abf59(-_0x2958bb._0x4df730,-0x1db,0x46,-0x58)](/\r?\n/),_0x434102=_0x12a002[_0x2abf59(0x266,0x285,-0x117,0xa1)],_0x1672fe=clamp(_0xe6e494[_0x168284(_0x2958bb._0x5cce7a,_0x2958bb._0x4d2581,_0x2958bb._0x411836,_0x2958bb._0x484c01)]??0x1,0x1,_0x434102),_0x3c385e=clamp(_0xe6e494[_0x2abf59(-_0x2958bb._0x17fc4d,-0xb1,-_0x2958bb._0x26f5d2,-_0x2958bb._0x52cf8a)]??_0x434102,0x1,_0x434102),[_0x5094df,_0x23f1e9]=_0x1672fe<=_0x3c385e?[_0x1672fe,_0x3c385e]:[_0x3c385e,_0x1672fe],_0x63b5be=_0x12a002[_0x2abf59(_0x2958bb._0x4332cc,0x23a,_0x2958bb._0x21cb78,_0x2958bb._0x556b57)](_0x5094df-0x1,_0x23f1e9)[_0x2abf59(-0x25f,0x196,_0x2958bb._0x2fae5a,-_0x2958bb._0x421236)]((_0x569376,_0x2e66a0)=>{const _0x3457f3=_0x5094df+_0x2e66a0;return _0x3457f3+'│'+_0x569376;}),_0x3ec60c=_0x63b5be[_0x168284(-_0x2958bb._0x35864b,-_0x2958bb._0x55937e,-0x235,-_0x2958bb._0x5d6999)]('\x0a');return okText(_0x3ec60c,{..._0x5eb0eb,'lineRange':{'lineStart':_0x5094df,'lineEnd':_0x23f1e9,'linesTotal':_0x434102}});}return okText(_0x5ee614,_0x5eb0eb);}catch(_0x43de4c){const _0x1aa082=_0x43de4c instanceof Error?_0x43de4c[_0x2abf59(0x3dc,0x329,0x2a7,0x306)]:String(_0x43de4c);return err(_0x1aa082,{'path':_0xe6e494[_0x168284(_0x2958bb._0x183a0f,-0xb3,0x197,_0x2958bb._0x2ee108)]},_0x2abf59(_0x2958bb._0x261e6d,0x432,_0x2958bb._0x2bc1ec,0x307));}}[_0x55e1bc(0x95d,0x5af,0x620,0x75e)](_0x27996b,_0x547dc3){const _0x342041={_0x1bbdcd:0x1d1,_0x311dad:0x6,_0x2009a1:0x28c,_0x496fd6:0x3d,_0x47f77a:0x1e1,_0x256829:0x28c,_0xb7c90b:0xf9,_0x226c06:0x49,_0x10d5e0:0x5b,_0xb853d6:0x2a7,_0x1ca18d:0x180,_0x35e0a0:0x36,_0x3bf8df:0x282,_0xaf566e:0x248,_0x39c55b:0x311,_0x9277d1:0x205,_0x4d1986:0x484,_0x5effda:0x2c8,_0x5c06ef:0x4ea,_0x521197:0x3ac,_0x2b1acd:0x27a,_0x52955d:0x285},_0x30f008={_0x13a2b9:0x47,_0x201361:0x6f6},_0x1b19b2=_0x547dc3?.['workspaceRoot']||_0x547dc3?.[_0x5b8ef3(0x1ca,_0x342041._0x1bbdcd,-_0x342041._0x311dad,0x3fc)]||this[_0x402014(0x181,_0x342041._0x2009a1,_0x342041._0x496fd6,_0x342041._0x47f77a)],_0x21ef72=_0x439549['resolve'](String(_0x1b19b2??this[_0x402014(0x2a1,_0x342041._0x256829,0x297,0xed)])),_0x3e5eb2=_0x439549[_0x402014(0xe3,0x2fc,0x1ae,_0x342041._0xb7c90b)](_0x21ef72,_0x27996b);function _0x5b8ef3(_0x84ec30,_0x15a2b6,_0x24cfe0,_0x550afb){return _0x55e1bc(_0x84ec30,_0x15a2b6-0x59,_0x24cfe0-_0x30f008._0x13a2b9,_0x15a2b6- -_0x30f008._0x201361);}if(!this[_0x5b8ef3(_0x342041._0x226c06,_0x342041._0x10d5e0,_0x342041._0xb853d6,-0xb3)]&&_0x439549[_0x5b8ef3(-0xc2,_0x342041._0x1ca18d,-_0x342041._0x35e0a0,_0x342041._0x3bf8df)](_0x27996b)&&!_0x3e5eb2[_0x402014(_0x342041._0xaf566e,_0x342041._0x39c55b,0x196,0x3f1)](_0x21ef72))throw new Error(_0x402014(0x247,_0x342041._0x9277d1,0xbe,0x273));if(!this[_0x402014(_0x342041._0x4d1986,_0x342041._0x5effda,0x408,_0x342041._0x5c06ef)]){const _0x534949=_0x439549['relative'](_0x21ef72,_0x3e5eb2);if(_0x534949['startsWith']('..')||_0x439549[_0x5b8ef3(_0x342041._0x521197,_0x342041._0x1ca18d,0x3b9,_0x342041._0x2b1acd)](_0x534949))throw new Error(_0x5b8ef3(-0x17a,-_0x342041._0x52955d,-0x174,-0x242)+_0x27996b);}function _0x402014(_0x238f9d,_0xfe3c5,_0x292310,_0x4ea772){return _0x3a64dd(_0x238f9d-0x34,_0x238f9d,_0xfe3c5- -0x34d,_0x4ea772-0x167);}return _0x3e5eb2;}};function clamp(_0x2edef1,_0x89e50c,_0x3c0876){const _0x4c1880={_0x3da6a2:0x1f5,_0x360524:0xf},_0x38811d={_0x2fae81:0x1a,_0x4be1b5:0x14b};function _0x3acb57(_0x4b27f7,_0x35d9f8,_0x10ff91,_0x377697){return _0x3a64dd(_0x4b27f7-_0x38811d._0x2fae81,_0x377697,_0x35d9f8- -0x3cd,_0x377697-_0x38811d._0x4be1b5);}return Math[_0x3acb57(0x12d,_0x4c1880._0x3da6a2,-_0x4c1880._0x360524,0x24e)](_0x3c0876,Math['max'](_0x89e50c,_0x2edef1));}function stripUtfBom(_0x52cb80){const _0x36d9e7={_0x50f11f:0x7c3,_0x27c2c8:0x6ed,_0x4e6c33:0x5bf,_0x1439e9:0x690,_0x1c7265:0x4ae,_0x5082ba:0x818},_0x273288={_0xc2e539:0xb2},_0x39aa02={_0x37a33a:0x7d,_0x2768ee:0x1dc};function _0xbfc1e2(_0x3bc014,_0x1d5166,_0x1a0d2a,_0x439a6b){return _0x55e1bc(_0x3bc014,_0x1d5166-_0x39aa02._0x37a33a,_0x1a0d2a-_0x39aa02._0x2768ee,_0x1d5166- -0x116);}function _0x438f77(_0x6e1fc5,_0x4d28c0,_0x50da6b,_0x1a3ce2){return _0x3a64dd(_0x6e1fc5-_0x273288._0xc2e539,_0x6e1fc5,_0x50da6b- -0x6e,_0x1a3ce2-0xbb);}return _0x52cb80[_0x438f77(0x7ca,_0x36d9e7._0x50f11f,_0x36d9e7._0x27c2c8,_0x36d9e7._0x4e6c33)](0x0)===0xfeff?_0x52cb80[_0xbfc1e2(0x701,_0x36d9e7._0x1439e9,_0x36d9e7._0x1c7265,_0x36d9e7._0x5082ba)](0x1):_0x52cb80;}import{promises as _0x5301da}from'fs';import*as _0x51b9cc from'path';var FileNewTool=class{['name']='file_new';[_0x3a64dd(0x53b,0x7e3,0x5d9,0x657)];constructor(_0x2b3bba={}){const _0x9d1a0a={_0x598027:0x4b2,_0x76a8cc:0x467,_0x68b6be:0x41c,_0x3e071c:0x3b1,_0x2ddf84:0x4d7,_0xa07879:0x4d0,_0x4c3b30:0x467,_0x12090a:0x534,_0xd08926:0x830},_0x1012f7={_0x4e49a5:0x1d6,_0x484c29:0x112,_0x5b5922:0x2ae},_0x5b4659={_0x17eb8e:0xd0,_0xa2e8c9:0x4e8};function _0x5901fe(_0x39b4c5,_0x3d73ec,_0x55575d,_0x41b79d){return _0x55e1bc(_0x39b4c5,_0x3d73ec-_0x5b4659._0x17eb8e,_0x55575d-0xf2,_0x3d73ec- -_0x5b4659._0xa2e8c9);}function _0x4e3c8b(_0x1c0524,_0xfaad2a,_0x47a703,_0x561bd8){return _0x55e1bc(_0x1c0524,_0xfaad2a-_0x1012f7._0x4e49a5,_0x47a703-_0x1012f7._0x484c29,_0xfaad2a- -_0x1012f7._0x5b5922);}this[_0x4e3c8b(_0x9d1a0a._0x598027,_0x9d1a0a._0x76a8cc,0x25e,_0x9d1a0a._0x68b6be)]=_0x51b9cc[_0x4e3c8b(_0x9d1a0a._0x3e071c,_0x9d1a0a._0x2ddf84,0x685,0x453)](_0x2b3bba[_0x4e3c8b(_0x9d1a0a._0xa07879,_0x9d1a0a._0x4c3b30,0x3f2,_0x9d1a0a._0x12090a)]??process[_0x4e3c8b(0x5bf,0x619,0x812,_0x9d1a0a._0xd08926)]());}['parameters']={'type':'object','properties':{'file_path':{'type':'string','description':_0x3a64dd(0x70f,0x64f,0x4fa,0x6ea)},'content':{'type':_0x55e1bc(0x685,0x5cf,0x6fc,0x566),'description':'Text\x20content\x20to\x20write\x20to\x20the\x20new\x20file'}},'required':[_0x3a64dd(0x4ad,0x1cb,0x391,0x453),_0x3a64dd(0x501,0x591,0x52e,0x6be)],'additionalProperties':![]};[_0x55e1bc(0x3bd,0x3a0,0x652,0x4de)](){const _0xc89c9={_0x17f6e4:0x43b,_0x45305a:0x528,_0x38d261:0x320,_0x8014b1:0x5d0,_0x3b2822:0x618},_0x19b0d3={_0x5898dc:0x13f},_0x68e09e={_0x589e79:0x43a};function _0x5225fb(_0x9dd561,_0x371d4d,_0x49e1f9,_0x425305){return _0x55e1bc(_0x425305,_0x371d4d-0x1ce,_0x49e1f9-0x4,_0x9dd561- -_0x68e09e._0x589e79);}function _0x5a3e28(_0x1adc06,_0xc4a542,_0x3683d3,_0x575ddc){return _0x3a64dd(_0x1adc06-0xec,_0x575ddc,_0x3683d3-_0x19b0d3._0x5898dc,_0x575ddc-0xe3);}return{'name':this['name'],'description':_0x5a3e28(0x578,_0xc89c9._0x17f6e4,_0xc89c9._0x45305a,_0xc89c9._0x38d261),'parameters':this[_0x5225fb(0x3fa,_0xc89c9._0x8014b1,0x254,_0xc89c9._0x3b2822)]};}async[_0x55e1bc(0x649,0x9c1,0x929,0x7b6)](_0x3bdfca,_0x29f265){const _0xd8cefd={_0x4c9f72:0x3c9,_0x40ff46:0x205,_0x25fe44:0x5fc,_0x26318f:0x888,_0xbb3e4f:0x6e1,_0x561289:0x3eb,_0xa59f45:0x535,_0x4cbb71:0x517,_0x131416:0x71f,_0x357f0c:0x569,_0x1691d8:0x611,_0x29b6bd:0x459,_0x2ff7ab:0x5d2,_0x74de8f:0x437,_0x201244:0x38d,_0x1171e5:0x43e,_0x521f66:0x77,_0x5b3615:0x22a,_0x1485d9:0x1ad,_0x22713d:0x441,_0x598dd3:0x4ea,_0x44b1ce:0x345,_0x45efd0:0x433,_0x39eecd:0x491,_0x5a13ac:0x42d,_0x36ccc7:0x395,_0x570c8d:0x947,_0x5b8d46:0x707,_0x394710:0x497,_0x3a706f:0x1e3,_0x1af77e:0x4a4,_0x49dc6f:0x55b,_0x4e53c2:0x5fe,_0x138002:0x4fe,_0x4e9952:0x182,_0x39bdef:0x36e,_0x4e689c:0x36c,_0x4d04d6:0x627,_0x5e3c61:0x64c,_0x5703a0:0x595,_0x5c283f:0x3ad,_0x2ffe0f:0x12,_0x1e0fe7:0x1b,_0x50e71f:0x1ad,_0x153ada:0x2fd,_0x58f29d:0x495,_0xdf0e1a:0x477,_0x2055ae:0x7ac,_0x4c5081:0x5d2},_0x5c9a39={_0x1c3db3:0x1ab};function _0x1cff21(_0x3e19aa,_0x410323,_0x3a342a,_0x1416e8){return _0x3a64dd(_0x3e19aa-0xfa,_0x3a342a,_0x1416e8- -0x1e4,_0x1416e8-_0x5c9a39._0x1c3db3);}function _0x24a773(_0x3500ec,_0x414308,_0x436192,_0x18109f){return _0x3a64dd(_0x3500ec-0x49,_0x18109f,_0x414308-0x104,_0x18109f-0x1eb);}try{if(!_0x3bdfca[_0x1cff21(_0xd8cefd._0x4c9f72,_0xd8cefd._0x40ff46,0x3e0,0x1ad)]?.[_0x1cff21(0x69a,0x5bf,_0xd8cefd._0x25fe44,0x4fc)]())return err(_0x24a773(0x691,0x7de,_0xd8cefd._0x26318f,_0xd8cefd._0xbb3e4f),void 0x0,_0x1cff21(_0xd8cefd._0x561289,_0xd8cefd._0xa59f45,_0xd8cefd._0x4cbb71,0x329));if(typeof _0x3bdfca['content']!=='string')return err(_0x24a773(0x4ea,_0xd8cefd._0x131416,0x8bf,_0xd8cefd._0x357f0c),void 0x0,_0x24a773(0x75b,_0xd8cefd._0x1691d8,_0xd8cefd._0x29b6bd,_0xd8cefd._0x2ff7ab));const _0x53e24c=this[_0x1cff21(_0xd8cefd._0x74de8f,0x427,_0xd8cefd._0x201244,_0xd8cefd._0x1171e5)](_0x3bdfca[_0x1cff21(-0x3b,-_0xd8cefd._0x521f66,_0xd8cefd._0x5b3615,_0xd8cefd._0x1485d9)],_0x29f265),_0x16636c=await _0x5301da[_0x24a773(0x75b,0x649,_0xd8cefd._0x22713d,_0xd8cefd._0x598dd3)](_0x53e24c)['then'](()=>!![])[_0x1cff21(_0xd8cefd._0x44b1ce,0x485,0x453,_0xd8cefd._0x45efd0)](()=>![]);await _0x5301da[_0x1cff21(_0xd8cefd._0x39eecd,_0xd8cefd._0x5a13ac,0x194,_0xd8cefd._0x36ccc7)](_0x51b9cc['dirname'](_0x53e24c),{'recursive':!![]});const _0x2a863e=Buffer[_0x24a773(_0xd8cefd._0x570c8d,0x7d3,0x7af,_0xd8cefd._0x5b8d46)](_0x3bdfca['content'],'utf8'),_0x225bd1=_0x3bdfca[_0x1cff21(_0xd8cefd._0x394710,_0xd8cefd._0x3a706f,0x56f,0x34a)][_0x24a773(_0xd8cefd._0x1af77e,_0xd8cefd._0x49dc6f,0x4a2,_0xd8cefd._0x4e53c2)](/\r?\n/)[_0x1cff21(_0xd8cefd._0x138002,_0xd8cefd._0x4e9952,_0xd8cefd._0x39bdef,_0xd8cefd._0x4e689c)];return await this[_0x24a773(0x44d,0x48d,_0xd8cefd._0x4d04d6,_0xd8cefd._0x5e3c61)](_0x53e24c,_0x2a863e),okText(_0x24a773(_0xd8cefd._0x5703a0,0x4f5,0x2e4,_0xd8cefd._0x5c283f)+_0x3bdfca[_0x1cff21(_0xd8cefd._0x2ffe0f,0x100,-_0xd8cefd._0x1e0fe7,_0xd8cefd._0x50e71f)]+'.',{'file_path':_0x3bdfca[_0x24a773(_0xd8cefd._0x153ada,_0xd8cefd._0x58f29d,0x669,_0xd8cefd._0xdf0e1a)],'bytes':_0x2a863e['length'],'lines':_0x225bd1,'created':new Date()[_0x24a773(0x637,0x5d3,0x528,0x501)](),'overwritten':_0x16636c});}catch(_0x43920e){const _0x38d3fd=_0x43920e instanceof Error?_0x43920e['message']:String(_0x43920e);return err(_0x38d3fd,void 0x0,_0x1cff21(_0xd8cefd._0x2055ae,0x483,0x453,_0xd8cefd._0x4c5081));}}async[_0x3a64dd(0x209,0x40d,0x389,0x3e9)](_0x2703b0,_0xe97c2c){const _0x5823c1={_0x2832a9:0x27e,_0x1f0c98:0x1f8,_0x521334:0x158,_0x4e72cf:0x275,_0x527596:0x1e,_0x291c62:0xb6,_0x1c8a2:0x11a,_0x121158:0x22e,_0x2419cd:0x10a,_0x143783:0x280,_0x1a472a:0x318,_0x55b495:0xf9,_0x1b2b29:0x261,_0x4b17a6:0x240,_0x44edd7:0x70},_0x26f1c4={_0x22e393:0x401};function _0x2a62f3(_0x584566,_0x184e00,_0x1dd341,_0x574e0e){return _0x55e1bc(_0x184e00,_0x184e00-0x132,_0x1dd341-0x1df,_0x574e0e- -_0x26f1c4._0x22e393);}const _0x12ba39=_0x51b9cc[_0x2a62f3(_0x5823c1._0x2832a9,0x382,_0x5823c1._0x1f0c98,_0x5823c1._0x521334)](_0x2703b0),_0x43a5f2=_0x51b9cc['join'](_0x12ba39,_0x38a060(_0x5823c1._0x4e72cf,-0x7d,_0x5823c1._0x527596,_0x5823c1._0x291c62)+_0x51b9cc[_0x38a060(_0x5823c1._0x1c8a2,0x1da,0x23f,0x298)](_0x2703b0)+'.'+Math[_0x2a62f3(0x1d1,0x9c,_0x5823c1._0x121158,_0x5823c1._0x2419cd)]()[_0x38a060(-0xfa,-_0x5823c1._0x143783,0x138,-0x82)](0x24)[_0x2a62f3(0x579,0x4c9,_0x5823c1._0x1a472a,0x3a5)](0x2,0x8));await _0x5301da[_0x2a62f3(0x252,0x80,0x1d,_0x5823c1._0x55b495)](_0x43a5f2,_0xe97c2c);function _0x38a060(_0x67f0f0,_0x1bf94d,_0x592514,_0x3ccf9b){return _0x55e1bc(_0x1bf94d,_0x1bf94d-0xce,_0x592514-0x14d,_0x3ccf9b- -0x506);}await _0x5301da[_0x38a060(-_0x5823c1._0x1b2b29,-0x199,-_0x5823c1._0x4b17a6,-_0x5823c1._0x44edd7)](_0x43a5f2,_0x2703b0);}['resolveSafePath'](_0x1d013,_0xaaa7c2){const _0x39acac={_0x108049:0x5f1,_0xefbfc:0x4e5,_0x30284b:0x35f,_0x28fe2d:0x34c,_0x539612:0x415,_0x5850be:0x431},_0x59fbf8={_0x111014:0x108,_0x1439c1:0x189},_0x57bdc0={_0x2296fd:0x33d},_0x19af1a=_0x51b9cc[_0x2f6e2f(0x569,_0x39acac._0x108049,_0x39acac._0xefbfc,0x5fc)](String(_0xaaa7c2?.['workspaceRoot']??_0xaaa7c2?.['cwd']??this[_0xc9f98a(0x4a8,0x29c,0x4cc,_0x39acac._0x30284b)]));function _0xc9f98a(_0x5084cb,_0x1db9a2,_0x1b497b,_0x1ae812){return _0x3a64dd(_0x5084cb-0x13f,_0x5084cb,_0x1db9a2- -_0x57bdc0._0x2296fd,_0x1ae812-0x17b);}function _0x2f6e2f(_0x350518,_0x375675,_0x200182,_0x3ff584){return _0x55e1bc(_0x350518,_0x375675-_0x59fbf8._0x111014,_0x200182-0xa2,_0x3ff584- -_0x59fbf8._0x1439c1);}const _0x296cec=_0x51b9cc[_0xc9f98a(_0x39acac._0x28fe2d,0x30c,_0x39acac._0x539612,_0x39acac._0x5850be)](_0x19af1a,_0x1d013);return _0x296cec;}};import{promises as _0x37d5b7}from'fs';import*as _0x8e1bca from'path';import*as _0x438f4d from'os';import*as _0x38d1b3 from'crypto';var FileEditTool=class{[_0x3a64dd(0x262,0x2fa,0x420,0x4de)]=_0x3a64dd(0x7cf,0x41a,0x64e,0x83f);[_0x3a64dd(0x735,0x658,0x5d9,0x6d4)];[_0x3a64dd(0x872,0x473,0x6a1,0x8d7)];constructor(_0x245e8f={}){const _0x2b3cc0={_0xc770e5:0x174,_0x3c4eb7:0x39f,_0x2ae296:0x43b,_0x32120c:0x67b,_0x44d13c:0x5a5,_0x1c4e3a:0x70c,_0x5d38da:0xd1},_0xc327e1={_0x62393b:0x54,_0x5931a4:0x1a0};function _0x482608(_0x404bff,_0x5ad653,_0x288270,_0x473cfd){return _0x3a64dd(_0x404bff-_0xc327e1._0x62393b,_0x288270,_0x5ad653- -0x1e6,_0x473cfd-_0xc327e1._0x5931a4);}function _0x24e41a(_0x55bcf8,_0x5ae72f,_0x1126f9,_0x21d597){return _0x55e1bc(_0x1126f9,_0x5ae72f-0x175,_0x1126f9-0x78,_0x55bcf8- -0x5a1);}this[_0x24e41a(_0x2b3cc0._0xc770e5,0x30,-0xd6,_0x2b3cc0._0x3c4eb7)]=_0x8e1bca[_0x482608(_0x2b3cc0._0x2ae296,0x463,0x3f0,0x593)](_0x245e8f['rootDir']??process[_0x482608(_0x2b3cc0._0x32120c,_0x2b3cc0._0x44d13c,0x4c6,_0x2b3cc0._0x1c4e3a)]()),this['maxBytes']=Math['max'](0x1,_0x245e8f[_0x24e41a(0x23c,0x5f,0x105,_0x2b3cc0._0x5d38da)]??0x4*0x400*0x400);}[_0x3a64dd(0x842,0x640,0x6f8,0x53e)]={'type':_0x3a64dd(0x66c,0x352,0x4bf,0x5a9),'properties':{'description':{'type':_0x3a64dd(0x538,0x394,0x42a,0x260),'description':_0x3a64dd(0x29f,0x160,0x354,0x3bf)},'file_path':{'type':_0x3a64dd(0x3e7,0x568,0x42a,0x2b2),'description':_0x3a64dd(0x51d,0x502,0x3e3,0x3d7)},'old_text':{'type':_0x55e1bc(0x4b3,0x6cf,0x5db,0x566),'description':'The\x20exact\x20text\x20to\x20find\x20in\x20the\x20file.\x20Must\x20match\x20precisely\x20including\x20whitespace\x20and\x20line\x20breaks.'},'new_text':{'type':_0x3a64dd(0x66f,0x354,0x42a,0x4ac),'description':_0x55e1bc(0x628,0x521,0x534,0x468)},'dry_run':{'type':_0x3a64dd(0x74e,0x613,0x6cd,0x645),'default':![],'description':'Validate\x20only;\x20do\x20not\x20write\x20to\x20disk.'}},'required':[_0x55e1bc(0x49d,0x50d,0x292,0x4cd),'old_text',_0x3a64dd(0x962,0x758,0x747,0x59a)],'additionalProperties':![],'$schema':'http://json-schema.org/draft-07/schema#'};['definition'](){const _0x2fd6d9={_0x24e2db:0x39f,_0x5a6492:0x40b,_0x3d132e:0x248,_0x400b68:0x7ae,_0x4779e9:0x391},_0xa357e={_0x1e9493:0x4a},_0x3c9e72={_0x376c6b:0xb6,_0x37ca22:0x1d8,_0x1abfe1:0x1e5};function _0x26f5fa(_0x1e2ec7,_0x2ad7d6,_0x51459d,_0x585808){return _0x3a64dd(_0x1e2ec7-_0x3c9e72._0x376c6b,_0x1e2ec7,_0x585808- -_0x3c9e72._0x37ca22,_0x585808-_0x3c9e72._0x1abfe1);}function _0x290d31(_0x4fc041,_0xb0cfd,_0x2e20f9,_0x2113c0){return _0x3a64dd(_0x4fc041-0x6f,_0x2113c0,_0x4fc041-0x2e,_0x2113c0-_0xa357e._0x1e9493);}return{'name':this[_0x26f5fa(_0x2fd6d9._0x24e2db,0x5d,_0x2fd6d9._0x5a6492,_0x2fd6d9._0x3d132e)],'description':_0x290d31(_0x2fd6d9._0x400b68,0x97b,0x605,0x57b),'parameters':this[_0x26f5fa(0x3c2,_0x2fd6d9._0x4779e9,0x5bc,0x520)]};}async[_0x55e1bc(0x697,0x65f,0x7fb,0x7b6)](_0x239cdb,_0x48167c){const _0x3ab7ca={_0x40e194:0x591,_0x206c78:0x496,_0x389ca3:0x684,_0x4646c7:0x854,_0x3a4d08:0x5f6,_0x1a0043:0x53d,_0x4ad6e9:0x44e,_0x3c0fcd:0x6d0,_0x32246c:0x4ad,_0x4fe679:0x679,_0x21ddfc:0x2db,_0x2b3235:0x710,_0x4792ab:0x691,_0x1dcf17:0x9d7,_0xfdf8a0:0x7f1,_0xdebb23:0x48e,_0x227383:0x3be,_0x16f4d2:0x25e,_0x2b44be:0x30b,_0x57fe70:0x3b5,_0x5520f0:0x41f,_0x54693f:0x2bf,_0x137975:0x37e,_0x5977e5:0x4ab,_0x5cbbe3:0x243,_0x390f62:0x30a,_0x30eb9:0x727,_0x24ff17:0x661,_0x2b79a4:0x860,_0x516569:0x644,_0x3e1b8d:0x60b,_0x3b1958:0x630,_0x306ff1:0x6b8,_0x3cd1a0:0x71f,_0x82ca6c:0x3a8,_0x12e21d:0x48b,_0x4ce0c7:0x7bd,_0x568618:0x120,_0x5dd090:0x2cc,_0x52a420:0x4c8,_0x122de8:0x206,_0x4ab33b:0x3f4,_0x28f185:0x55d,_0x580fdf:0x464,_0x23e49e:0x344,_0x464e2e:0x314,_0x2929a1:0x248,_0x16a298:0xc9,_0x66e59f:0x68b,_0x56bea5:0x796,_0xea3822:0x863,_0x209e15:0x348,_0x56eb63:0x786,_0x477a8d:0x762,_0x7228a0:0x57a,_0x416b2b:0x561,_0x21d978:0x551,_0x11d4e2:0x59d,_0x474613:0x809,_0x2d1a94:0x1db,_0x2b9ec2:0x5e8,_0x3cd4d7:0x43d,_0x31680d:0x487,_0x2cc859:0x5af,_0x4d4797:0x53b,_0x3751c0:0x7a5,_0x407e8e:0x635,_0x2d1c62:0x401,_0x635003:0x66d,_0x200e91:0x629,_0x4843c7:0x717,_0x2856e8:0x509,_0xe187f2:0x89a,_0x17c648:0x70e,_0x3b6944:0x630,_0x2a2fd3:0x335,_0x127b19:0x25c,_0x2358d4:0x160,_0x204a6f:0x366,_0x3173c6:0x5fa,_0x592b85:0x52a,_0x2386b7:0x1fc,_0xfb7974:0x406,_0x390bbc:0x309,_0x160f7b:0x78b,_0x4e0f5c:0x4ec,_0x51850e:0x4c3,_0x339961:0x66c,_0x5d8103:0x72f,_0x2448b8:0x792,_0x41ee5f:0x666},_0x2f55f7={_0x403307:0x186},_0x1cf1a9={_0x578d07:0x11c};function _0x5b69e4(_0x50efca,_0x36dd81,_0x1232db,_0x5efc58){return _0x3a64dd(_0x50efca-0xbf,_0x50efca,_0x5efc58-_0x1cf1a9._0x578d07,_0x5efc58-0x184);}function _0x340657(_0x50ff9d,_0x2b3c75,_0x3a6d8e,_0x3126c3){return _0x3a64dd(_0x50ff9d-_0x2f55f7._0x403307,_0x50ff9d,_0x2b3c75- -0x14f,_0x3126c3-0x1ba);}try{if(!_0x239cdb[_0x5b69e4(0x2d1,0x589,0x61f,0x4ad)]?.[_0x340657(0x4f6,_0x3ab7ca._0x40e194,0x5e0,_0x3ab7ca._0x206c78)]())return err(_0x5b69e4(0x874,_0x3ab7ca._0x389ca3,_0x3ab7ca._0x4646c7,0x7f6),void 0x0,_0x340657(_0x3ab7ca._0x3a4d08,0x3be,_0x3ab7ca._0x1a0043,0x46b));const _0x3d46ac=resolveAbsoluteWithinRoot(_0x239cdb[_0x5b69e4(_0x3ab7ca._0x4ad6e9,_0x3ab7ca._0x3c0fcd,0x641,_0x3ab7ca._0x32246c)],_0x48167c,this[_0x5b69e4(0x518,_0x3ab7ca._0x4fe679,0x79f,0x6f5)]);if(typeof _0x239cdb[_0x5b69e4(0x3a5,0x3c3,0x546,0x565)]!==_0x340657(0x216,_0x3ab7ca._0x21ddfc,0x48b,0x2dc))return err(_0x5b69e4(_0x3ab7ca._0x2b3235,_0x3ab7ca._0x4792ab,_0x3ab7ca._0x1dcf17,_0x3ab7ca._0xfdf8a0),void 0x0,_0x340657(_0x3ab7ca._0xdebb23,_0x3ab7ca._0x227383,_0x3ab7ca._0x16f4d2,_0x3ab7ca._0x2b44be));if(typeof _0x239cdb['new_text']!==_0x5b69e4(_0x3ab7ca._0x57fe70,0x4b6,_0x3ab7ca._0x5520f0,0x546))return err(_0x340657(_0x3ab7ca._0x54693f,_0x3ab7ca._0x137975,0x4b7,_0x3ab7ca._0x5977e5),void 0x0,_0x340657(_0x3ab7ca._0x5cbbe3,_0x3ab7ca._0x227383,0x26a,_0x3ab7ca._0x390f62));const _0x44f636=await _0x37d5b7[_0x5b69e4(0x49c,0x6c6,_0x3ab7ca._0x30eb9,_0x3ab7ca._0x24ff17)](_0x3d46ac)['catch'](()=>null),_0xd79661=!!_0x44f636&&_0x44f636['isFile']();if(!_0xd79661||!_0x44f636)return err('File\x20does\x20not\x20exist.\x20Use\x20a\x20file\x20creation\x20tool\x20to\x20create\x20new\x20files.',void 0x0,_0x5b69e4(0xa14,0xa22,0x99d,_0x3ab7ca._0x2b79a4));if(_0x44f636[_0x340657(0x817,_0x3ab7ca._0x516569,0x474,_0x3ab7ca._0x3e1b8d)]>this[_0x340657(_0x3ab7ca._0x3b1958,0x552,_0x3ab7ca._0x306ff1,_0x3ab7ca._0x3cd1a0)])return err(_0x340657(0x4ad,0x334,_0x3ab7ca._0x82ca6c,_0x3ab7ca._0x12e21d)+_0x44f636['size']+'\x20bytes).\x20Cap\x20is\x20'+this[_0x5b69e4(0x7a0,0x62e,0x6af,_0x3ab7ca._0x4ce0c7)]+'.',void 0x0,'invalid_input');const _0x3ae2b3=await _0x37d5b7[_0x340657(_0x3ab7ca._0x568618,_0x3ab7ca._0x5dd090,_0x3ab7ca._0x52a420,_0x3ab7ca._0x122de8)](_0x3d46ac),_0x10c0d2=detectEol(_0x3ae2b3)??'lf',_0x1dc891=_0x3ae2b3[_0x5b69e4(_0x3ab7ca._0x4ab33b,_0x3ab7ca._0x28f185,0x46e,_0x3ab7ca._0x580fdf)](_0x340657(_0x3ab7ca._0x568618,_0x3ab7ca._0x23e49e,0x3d6,_0x3ab7ca._0x464e2e)),_0x472a45=normalizeToLF(_0x1dc891),_0x431fea=normalizeToLF(_0x239cdb[_0x340657(_0x3ab7ca._0x2929a1,0x2fa,_0x3ab7ca._0x5cbbe3,_0x3ab7ca._0x16a298)]),_0x47908f=normalizeToLF(_0x239cdb[_0x5b69e4(_0x3ab7ca._0x66e59f,0x6f5,_0x3ab7ca._0x56bea5,_0x3ab7ca._0xea3822)]),_0xc177ac=_0x472a45[_0x340657(0x556,0x3a0,_0x3ab7ca._0x209e15,0x2de)](_0x431fea);if(_0xc177ac===-0x1){const _0x28f2f1=_0x431fea[_0x5b69e4(0x8f1,0x53b,0x936,_0x3ab7ca._0x56eb63)](0x0,0x64)[_0x5b69e4(_0x3ab7ca._0x477a8d,0x484,_0x3ab7ca._0x7228a0,_0x3ab7ca._0x416b2b)](/\n/g,'\x5cn');return err(_0x5b69e4(_0x3ab7ca._0x21d978,0x545,_0x3ab7ca._0x11d4e2,0x70c)+_0x28f2f1+(_0x431fea[_0x5b69e4(0x589,0x491,_0x3ab7ca._0x474613,0x66c)]>0x64?'...':'')+'\x22',void 0x0,'not_found');}const _0xd77cc8=_0x472a45['slice'](0x0,_0xc177ac)+_0x47908f+_0x472a45['slice'](_0xc177ac+_0x431fea[_0x340657(_0x3ab7ca._0x2d1a94,0x401,0x4cb,_0x3ab7ca._0x2b9ec2)]),_0x13ccfc=convertEol(_0xd77cc8,_0x10c0d2),_0x216ea8=Buffer['from'](_0x13ccfc,_0x5b69e4(0x49c,_0x3ab7ca._0x3cd4d7,_0x3ab7ca._0x31680d,_0x3ab7ca._0x2cc859));if(_0x216ea8[_0x5b69e4(0x6d1,_0x3ab7ca._0x4d4797,_0x3ab7ca._0x3751c0,0x66c)]>this[_0x5b69e4(_0x3ab7ca._0x407e8e,0x7f7,0x822,0x7bd)])return err(_0x340657(0x592,0x5c3,0x5b9,0x650)+_0x216ea8[_0x340657(0x1ee,_0x3ab7ca._0x2d1c62,0x4a9,0x31b)]+_0x5b69e4(0x8dc,0x880,0x918,0x843)+this['maxBytes']+'.',void 0x0,_0x5b69e4(0x63f,0x7ef,_0x3ab7ca._0x635003,_0x3ab7ca._0x200e91));const _0x4b2613=sha256(_0x3ae2b3),_0x15ebc3=sha256(_0x216ea8),_0x494f7d=_0x4b2613===_0x15ebc3;!_0x239cdb[_0x5b69e4(_0x3ab7ca._0x4843c7,_0x3ab7ca._0x2856e8,_0x3ab7ca._0xe187f2,_0x3ab7ca._0x17c648)]&&!_0x494f7d&&await atomicWrite(_0x3d46ac,_0x216ea8);const _0x426ff3=this[_0x340657(_0x3ab7ca._0x3b6944,0x5aa,0x60e,0x531)](_0x472a45,_0x431fea,_0x47908f,_0xc177ac);return okText(_0x494f7d?'No\x20changes\x20(content\x20identical).':_0x239cdb['dry_run']?_0x340657(_0x3ab7ca._0x2a2fd3,_0x3ab7ca._0x127b19,_0x3ab7ca._0x2358d4,_0x3ab7ca._0x204a6f):_0x340657(0x546,0x3e8,_0x3ab7ca._0x3173c6,_0x3ab7ca._0x592b85),{'path':showPath(_0x3d46ac,this['rootDir']),'created':_0x44f636[_0x340657(_0x3ab7ca._0x2386b7,_0x3ab7ca._0xfb7974,0x5fb,_0x3ab7ca._0x390bbc)]['toISOString'](),'modified':_0x44f636['mtime']['toISOString'](),'size':_0x44f636[_0x340657(_0x3ab7ca._0x160f7b,_0x3ab7ca._0x516569,0x4d8,0x4a4)],'eol':_0x10c0d2,'oldTextLength':_0x431fea['length'],'newTextLength':_0x47908f[_0x5b69e4(0x5d2,_0x3ab7ca._0x4e0f5c,_0x3ab7ca._0x51850e,_0x3ab7ca._0x339961)],'bytesWritten':_0x494f7d?0x0:_0x216ea8[_0x5b69e4(_0x3ab7ca._0x5d8103,_0x3ab7ca._0x2448b8,0x63f,0x66c)],'beforeSha':_0x4b2613,'afterSha':_0x15ebc3,'dryRun':!!_0x239cdb['dry_run'],'lineNumbers':_0x426ff3,'noChange':_0x494f7d});}catch(_0xe4af35){return err(_0xe4af35 instanceof Error?_0xe4af35[_0x340657(0x4c9,_0x3ab7ca._0x41ee5f,0x633,0x599)]:String(_0xe4af35),void 0x0,'unknown');}}[_0x3a64dd(0x7ca,0x932,0x6f9,0x6c0)](_0x27fcd4,_0x5091f1,_0x14d667,_0x1e4277){const _0x248ff0={_0x3325bc:0x7e0,_0x433590:0x339,_0x1474e0:0x357,_0x3788f5:0x11,_0x63b5ee:0xa9,_0x486a38:0x62,_0x4ef3c5:0x1b6,_0x332b1b:0x23a,_0x12efde:0x97,_0x547d68:0x37f,_0x181cf0:0x254,_0xe77b05:0x739,_0x5c4d2:0x4f5},_0x4d436d={_0x347f63:0x1f3,_0x27bb60:0x1e},_0x407145={_0x1be26e:0x160};function _0x57e2d2(_0x454d3c,_0x214081,_0x3e9d4d,_0x2c9107){return _0x3a64dd(_0x454d3c-0x1dd,_0x214081,_0x2c9107- -0x5b,_0x2c9107-_0x407145._0x1be26e);}const _0x3c815a=_0x27fcd4[_0x57e2d2(_0x248ff0._0x3325bc,0x56a,0x41f,0x60f)](0x0,_0x1e4277),_0x37f243=_0x3c815a[_0x57e2d2(0x4b9,_0x248ff0._0x433590,0x563,0x3fc)]('\x0a')[_0x57e2d2(0x3cb,_0x248ff0._0x1474e0,0x694,0x4f5)],_0x33c2ff=_0x5091f1[_0x462f8c(-0x22,_0x248ff0._0x3788f5,-_0x248ff0._0x63b5ee,0x19)](/\n$/,''),_0x59c9eb=_0x33c2ff[_0x462f8c(-0x4a,0xf,_0x248ff0._0x486a38,_0x248ff0._0x4ef3c5)]===0x0?0x0:_0x33c2ff[_0x462f8c(-_0x248ff0._0x332b1b,-0x183,-_0x248ff0._0x12efde,-0xa4)]('\x0a')[_0x57e2d2(0x2b4,_0x248ff0._0x547d68,0x5e4,0x4f5)],_0x1958e8=_0x37f243+_0x59c9eb-0x1,_0x41acef=_0x14d667[_0x462f8c(-0x129,-_0x248ff0._0x181cf0,-_0x248ff0._0x63b5ee,0x12e)](/\n$/,''),_0x2613e0=_0x41acef[_0x57e2d2(0x652,0x5af,0x538,0x4f5)]===0x0?0x0:_0x41acef['split']('\x0a')[_0x57e2d2(0x6a5,0x2c9,_0x248ff0._0xe77b05,_0x248ff0._0x5c4d2)],_0xac3a28=_0x37f243;function _0x462f8c(_0x24f85a,_0x408706,_0x173324,_0x33843a){return _0x3a64dd(_0x24f85a-_0x4d436d._0x347f63,_0x33843a,_0x173324- -0x4ee,_0x33843a-_0x4d436d._0x27bb60);}const _0x378f18=_0xac3a28+_0x2613e0-0x1;return{'oldStartLine':_0x37f243,'oldEndLine':_0x1958e8,'newStartLine':_0xac3a28,'newEndLine':_0x378f18,'oldLineCount':_0x59c9eb,'newLineCount':_0x2613e0};}};function resolveAbsoluteWithinRoot(_0x2b4511,_0x5c7bec,_0x17d6f4){const _0x3aab8b={_0x2d4b40:0x141,_0x52fa5e:0x89,_0x321ee4:0x20a,_0x497516:0x1f5,_0x51fd27:0xc7,_0x577aa3:0x57d,_0x42aa76:0x26a,_0x5bb8ac:0x4cf,_0x47ac56:0x18d,_0x41109d:0x191,_0x17b8d2:0x1db,_0x483a7f:0x38,_0x31a558:0xc8,_0x7703b1:0xc0,_0x15e21c:0x1c6,_0x15796f:0x5dc,_0x1c4f87:0x441,_0x2c6c6b:0x2ee,_0x4853c1:0x4a7,_0x86a80:0x118,_0x2c40a6:0x14d,_0x21347b:0x140},_0x1da38a={_0x102852:0x6d},_0x521819={_0x16f233:0x4f},_0x3ce9f9=_0x8e1bca['resolve'](_0x5c7bec?.['workspaceRoot']??_0x5c7bec?.[_0xc89c0b(_0x3aab8b._0x2d4b40,0x1ef,_0x3aab8b._0x52fa5e,_0x3aab8b._0x321ee4)]??_0x17d6f4??process['cwd']());function _0xc89c0b(_0x3461fc,_0x1386a1,_0x4fbe80,_0x284943){return _0x3a64dd(_0x3461fc-0x1a2,_0x3461fc,_0x284943- -0x581,_0x284943-_0x521819._0x16f233);}const _0x106fae=expandTilde(_0x2b4511[_0xc89c0b(_0x3aab8b._0x497516,-_0x3aab8b._0x51fd27,0x2d7,0x15f)]()),_0x4bee04=_0x8e1bca[_0x32c7f2(_0x3aab8b._0x577aa3,_0x3aab8b._0x42aa76,0x4a7,_0x3aab8b._0x5bb8ac)](_0x106fae)?_0x106fae:_0x8e1bca['resolve'](_0x3ce9f9,_0x106fae),_0x1a8804=_0x8e1bca[_0xc89c0b(-0x45,-_0x3aab8b._0x47ac56,-_0x3aab8b._0x41109d,-_0x3aab8b._0x17b8d2)](_0x4bee04),_0x473cd3=_0x8e1bca[_0xc89c0b(-_0x3aab8b._0x483a7f,0x8f,-0xc9,_0x3aab8b._0x31a558)](_0x3ce9f9),_0xb88077=_0x8e1bca[_0xc89c0b(-_0x3aab8b._0x7703b1,-0x32e,-0x1d8,-_0x3aab8b._0x15e21c)](_0x473cd3,_0x1a8804);function _0x32c7f2(_0x40292b,_0x19b816,_0x386259,_0x28f482){return _0x55e1bc(_0x28f482,_0x19b816-0x8a,_0x386259-_0x1da38a._0x102852,_0x386259- -0x3cf);}if(_0xb88077[_0x32c7f2(_0x3aab8b._0x15796f,_0x3aab8b._0x1c4f87,0x3cb,_0x3aab8b._0x2c6c6b)]('..')||_0x8e1bca[_0x32c7f2(0x6d4,0x2ef,_0x3aab8b._0x4853c1,0x6eb)](_0xb88077))throw new Error(_0xc89c0b(_0x3aab8b._0x86a80,_0x3aab8b._0x2c40a6,-_0x3aab8b._0x21347b,0xd5)+_0x2b4511);return _0x1a8804;}function expandTilde(_0x4f27ef){const _0x5c41d2={_0x119a79:0x7f3,_0x5ed1ce:0x5e9,_0x235dda:0x6a2,_0x3bb91f:0x481,_0x18e6d0:0x509,_0x1e21bc:0x612,_0x486509:0x794,_0x548b96:0x96f},_0x255383={_0x39c2ec:0x131},_0x4f39e9={_0x9d8694:0x122};function _0x56777e(_0x4c93ce,_0x5322be,_0x13db73,_0x4e8e7a){return _0x55e1bc(_0x4c93ce,_0x5322be-0x8c,_0x13db73-_0x4f39e9._0x9d8694,_0x5322be- -0x12);}if(_0x4f27ef==='~')return _0x438f4d[_0x56777e(0x934,_0x5c41d2._0x119a79,0x979,0xa0b)]();function _0x256591(_0x1d7137,_0x2f21c5,_0x11cf46,_0x541efa){return _0x55e1bc(_0x1d7137,_0x2f21c5-_0x255383._0x39c2ec,_0x11cf46-0xcb,_0x2f21c5- -0x1b1);}if(_0x4f27ef[_0x256591(0x816,_0x5c41d2._0x5ed1ce,0x4a3,_0x5c41d2._0x235dda)]('~/')||_0x4f27ef['startsWith']('~\x5c'))return _0x8e1bca[_0x56777e(_0x5c41d2._0x3bb91f,0x4f8,_0x5c41d2._0x18e6d0,0x6ca)](_0x438f4d[_0x256591(0x828,0x654,0x6a6,0x5e1)](),_0x4f27ef[_0x56777e(_0x5c41d2._0x1e21bc,_0x5c41d2._0x486509,0x9d0,_0x5c41d2._0x548b96)](0x2));return _0x4f27ef;}function showPath(_0x267168,_0x509242){const _0x4e3ff6=_0x8e1bca['relative'](_0x509242,_0x267168);return _0x4e3ff6&&!_0x4e3ff6['startsWith']('..')?_0x4e3ff6:_0x267168;}function detectEol(_0x18745d){const _0x268d8d={_0x32b5ed:0x1dc,_0x44118c:0x162,_0x107a37:0x2e0,_0x48a14b:0x6a,_0x2af290:0x173,_0x10bf5f:0x21f,_0x34fd95:0x742,_0x3dd2c6:0x24f,_0x51db2b:0x1ad},_0x47a64f={_0x199d88:0xf9,_0x4afa50:0x1bd},_0x661f43={_0x49d2e6:0x1b6},_0x319d98=_0x18745d[_0x14143b(_0x268d8d._0x32b5ed,_0x268d8d._0x44118c,0x485,_0x268d8d._0x107a37)](_0x1b067c(-_0x268d8d._0x48a14b,-_0x268d8d._0x2af290,-0xfe,-_0x268d8d._0x10bf5f));function _0x1b067c(_0x462c8c,_0x57e0e7,_0x20bec7,_0x2c6547){return _0x3a64dd(_0x462c8c-0x134,_0x57e0e7,_0x20bec7- -0x591,_0x2c6547-_0x661f43._0x49d2e6);}if(/\r\n/[_0x14143b(0x630,0x876,_0x268d8d._0x34fd95,0x6a3)](_0x319d98))return _0x1b067c(-0x20f,-0x1da,-_0x268d8d._0x3dd2c6,-_0x268d8d._0x51db2b);function _0x14143b(_0x329390,_0xa6055c,_0x456e46,_0x2814c2){return _0x55e1bc(_0x456e46,_0xa6055c-_0x47a64f._0x199d88,_0x456e46-_0x47a64f._0x4afa50,_0x2814c2- -0x1a4);}if(/\n/['test'](_0x319d98))return'lf';return null;}function normalizeToLF(_0x15c4c8){const _0x83cb2={_0x57417e:0x435,_0x162369:0x54b,_0x374005:0x244},_0x4c6524={_0x5e7fc8:0x186};function _0x1b5d9d(_0x31474f,_0x1352f5,_0x2ae5ca,_0x48208d){return _0x55e1bc(_0x1352f5,_0x1352f5-0x108,_0x2ae5ca-_0x4c6524._0x5e7fc8,_0x31474f- -0x14c);}return _0x15c4c8[_0x1b5d9d(_0x83cb2._0x57417e,0x5f4,_0x83cb2._0x162369,_0x83cb2._0x374005)](/\r\n/g,'\x0a');}function convertEol(_0x491bad,_0x129ead){const _0x39d45b={_0x5eac41:0x49d,_0x387c4e:0x3f6},_0x1c0ead={_0x479d7a:0x39};function _0x2520a8(_0x561144,_0x1bb3b3,_0x283d9b,_0x51b2d2){return _0x55e1bc(_0x283d9b,_0x1bb3b3-_0x1c0ead._0x479d7a,_0x283d9b-0x19,_0x1bb3b3- -0x1ab);}return _0x129ead===_0x2520a8(_0x39d45b._0x5eac41,0x2d3,0x360,_0x39d45b._0x387c4e)?_0x491bad['replace'](/\n/g,'\x0d\x0a'):_0x491bad;}async function atomicWrite(_0x384da0,_0x4e82f3){const _0x3a3bd6={_0x5c144e:0x4a,_0x13719d:0x67,_0x595844:0x156,_0x4ef8d7:0x1b3,_0x3c9d00:0xa5,_0x4ca91a:0xc2,_0x44c2c7:0x2c9,_0x5c7416:0x340,_0x355507:0x94,_0x445756:0x95,_0x31d320:0xa,_0x3f454f:0x30,_0x4e57a2:0x1d0},_0xdd3b35={_0x4ec490:0xd2,_0x363c9b:0xf8},_0x3a0520={_0x54073a:0x4f6,_0x2def8e:0xf9},_0x429124=_0x8e1bca[_0x4b6438(-0x160,-_0x3a3bd6._0x5c144e,-_0x3a3bd6._0x13719d,-0xd9)](_0x384da0),_0x20ad70=_0x8e1bca['join'](_0x429124,_0x1cd970(_0x3a3bd6._0x595844,_0x3a3bd6._0x4ef8d7,0x325,0x88)+_0x8e1bca[_0x1cd970(0x338,0x3c5,0x483,0x4ee)](_0x384da0)+'.'+Math[_0x1cd970(_0x3a3bd6._0x3c9d00,-0x163,0x2d0,_0x3a3bd6._0x4ca91a)]()['toString'](0x24)[_0x4b6438(_0x3a3bd6._0x44c2c7,0x1ef,_0x3a3bd6._0x5c7416,0x174)](0x2,0x8));function _0x4b6438(_0x2ff897,_0x2ae3d3,_0x3e4e13,_0x4cfe44){return _0x3a64dd(_0x2ff897-0xb,_0x2ae3d3,_0x4cfe44- -_0x3a0520._0x54073a,_0x4cfe44-_0x3a0520._0x2def8e);}function _0x1cd970(_0x1dfba3,_0x5bd235,_0x1a8ed0,_0x4428f0){return _0x3a64dd(_0x1dfba3-_0xdd3b35._0x4ec490,_0x1a8ed0,_0x1dfba3- -0x32a,_0x4428f0-_0xdd3b35._0x363c9b);}await _0x37d5b7[_0x1cd970(_0x3a3bd6._0x355507,0x158,-_0x3a3bd6._0x445756,_0x3a3bd6._0x31d320)](_0x20ad70,_0x4e82f3),await _0x37d5b7[_0x1cd970(_0x3a3bd6._0x3f454f,0x58,_0x3a3bd6._0x4e57a2,0x203)](_0x20ad70,_0x384da0);}function sha256(_0x4e144d){const _0x3d8c10={_0x65a6f:0x1c9,_0x2c3282:0xd2,_0x29d353:0x2b,_0x3afbbc:0x260,_0xce25d2:0x8e,_0x5241ef:0x272,_0x337797:0x2a8,_0x7534ac:0x392,_0x4c2545:0x5d8,_0x1c2e88:0x3af},_0x4b1e78={_0x2c0cdc:0x20},_0x2bf222={_0xd9cc4:0xac,_0x2357da:0x4fc};function _0x116ac4(_0x348ce1,_0xde953e,_0x47b58f,_0xcfe2c4){return _0x55e1bc(_0xde953e,_0xde953e-0xf2,_0x47b58f-_0x2bf222._0xd9cc4,_0x47b58f- -_0x2bf222._0x2357da);}function _0x34ffdd(_0x4f9893,_0x2d4a8a,_0x2f6ee9,_0x19fe6c){return _0x55e1bc(_0x2f6ee9,_0x2d4a8a-0xdc,_0x2f6ee9-_0x4b1e78._0x2c0cdc,_0x4f9893- -0x323);}return _0x38d1b3[_0x116ac4(0x64,_0x3d8c10._0x65a6f,_0x3d8c10._0x2c3282,-_0x3d8c10._0x29d353)](_0x116ac4(0x114,0x464,_0x3d8c10._0x3afbbc,_0x3d8c10._0xce25d2))['update'](_0x4e144d)[_0x116ac4(_0x3d8c10._0x5241ef,0x176,_0x3d8c10._0x337797,0x486)](_0x116ac4(_0x3d8c10._0x7534ac,_0x3d8c10._0x4c2545,_0x3d8c10._0x1c2e88,0x1d1));}import{spawn}from'child_process';import*as _0x407a3b from'os';import*as _0x5e125d from'fs';import{stripVTControlCharacters}from'util';function normalizeNewlines(_0x39f9f2){const _0x5825aa={_0x42d2b3:0x4a0,_0x4468e4:0x63a,_0x324d87:0x5d1},_0x1389f1={_0x2cf585:0x153,_0x499753:0x10f,_0x2e4059:0xe1};function _0x1734a2(_0x152ec9,_0x5e77db,_0x79e2aa,_0x87aa3b){return _0x55e1bc(_0x79e2aa,_0x5e77db-_0x1389f1._0x2cf585,_0x79e2aa-_0x1389f1._0x499753,_0x152ec9- -_0x1389f1._0x2e4059);}return _0x39f9f2[_0x1734a2(_0x5825aa._0x42d2b3,0x6ac,_0x5825aa._0x4468e4,_0x5825aa._0x324d87)](/\r\n?/g,'\x0a');}function resolveCarriageReturns(_0x5950e0){const _0x5d74c1={_0x159072:0x1f,_0x49b1b5:0x1f5,_0x4e4215:0x2ea,_0xdf770d:0x80,_0x1a6e4e:0x1d2},_0x12a75d={_0x354232:0x1c,_0x413db0:0x3,_0x4cc801:0x4f2,_0x33e194:0x361,_0x38d964:0x370,_0x174229:0xf4,_0x4667c8:0x1a5,_0x49e13c:0x235,_0x26d3b3:0xd1},_0x5b3596={_0x2e8178:0x1eb,_0x1c8082:0x16d},_0x2fc397={_0x5c124f:0xcd,_0x3ba413:0x5a0};function _0x5ca1ab(_0x28ad32,_0x4d251f,_0x4845c9,_0x374c0e){return _0x3a64dd(_0x28ad32-_0x2fc397._0x5c124f,_0x374c0e,_0x4d251f- -_0x2fc397._0x3ba413,_0x374c0e-0x162);}function _0xdabf95(_0x129da1,_0x4a4f60,_0x1d7da9,_0x456078){return _0x3a64dd(_0x129da1-_0x5b3596._0x2e8178,_0x4a4f60,_0x456078- -0x438,_0x456078-_0x5b3596._0x1c8082);}return _0x5950e0[_0xdabf95(-0x1ab,-0xf0,0x1d2,_0x5d74c1._0x159072)]('\x0a')[_0x5ca1ab(-_0x5d74c1._0x49b1b5,-0x198,-_0x5d74c1._0x4e4215,-_0x5d74c1._0xdf770d)](_0x339612=>{const _0x2b5386={_0x4c5ef5:0x121};function _0x554269(_0x360e60,_0x3c1c90,_0x467ca1,_0x5ca5d4){return _0xdabf95(_0x360e60-0x6c,_0x360e60,_0x467ca1-0x60,_0x5ca5d4-0x351);}function _0x44b520(_0x12d379,_0x12bc8d,_0x4d99b9,_0x5c8169){return _0x5ca1ab(_0x12d379-0x1f3,_0x5c8169-_0x2b5386._0x4c5ef5,_0x4d99b9-0xb0,_0x12d379);}if(_0x339612[_0x44b520(0x23f,-_0x12a75d._0x354232,-_0x12a75d._0x413db0,0xe4)]('\x0d')){const _0x3bf095=_0x339612[_0x554269(_0x12a75d._0x4cc801,0x2c7,_0x12a75d._0x33e194,_0x12a75d._0x38d964)]('\x0d');return _0x3bf095[_0x3bf095[_0x44b520(_0x12a75d._0x174229,_0x12a75d._0x4667c8,_0x12a75d._0x49e13c,_0x12a75d._0x26d3b3)]-0x1];}return _0x339612;})[_0x5ca1ab(-0x324,-_0x5d74c1._0x1a6e4e,-0x139,-0x3c4)]('\x0a');}function resolveBackspaces(_0x44daa5){const _0x4be309={_0x57135f:0x1b,_0x11a242:0x3c0},_0x36dd11={_0x1a8727:0xd6},_0x8d56b6={_0x3175a5:0x19b,_0xb3c413:0x419},_0x12321f=Array['from'](_0x44daa5),_0x7f976d=[];function _0x3a7914(_0x53c7b8,_0x501017,_0x1b0ea1,_0x57811d){return _0x55e1bc(_0x53c7b8,_0x501017-0xe8,_0x1b0ea1-_0x8d56b6._0x3175a5,_0x1b0ea1- -_0x8d56b6._0xb3c413);}function _0x57664f(_0x2c58fa,_0x2c20ee,_0x63403f,_0x5ebdbb){return _0x3a64dd(_0x2c58fa-_0x36dd11._0x1a8727,_0x63403f,_0x2c58fa- -0x40,_0x5ebdbb-0x23);}for(const _0x1ff78d of _0x12321f){_0x1ff78d==='\x08'?_0x7f976d[_0x3a7914(0x5,_0x4be309._0x57135f,0x1dc,0x82)]():_0x7f976d[_0x57664f(0x39a,0x294,0x230,_0x4be309._0x11a242)](_0x1ff78d);}return _0x7f976d[_0x3a7914(0x108,0x4,0xf1,0x2f1)]('');}function stripAnsiAndControls(_0x534d8d){const _0x48c4bc={_0x5d6302:0x78f,_0x288675:0x58d,_0x155240:0x63b,_0x1cd03b:0x479,_0x599f4a:0x18f,_0x53cae5:0x201,_0x2902e5:0x159,_0x17a5b2:0x6e,_0x55f850:0x121,_0x21f256:0x5ac,_0x5e0cd5:0x58e,_0x31bab0:0xac,_0x17306c:0x58d,_0x371951:0x39c,_0x4419c9:0x7a5,_0x1a41f3:0x605,_0x2be898:0x66,_0x12d209:0x2c,_0x4071b5:0x1b2},_0xe138a7={_0x3209e9:0x121,_0x3a0db1:0xc},_0x5eb2cf={_0x3e8ee2:0x1e5,_0x47a814:0x428};_0x534d8d=stripVTControlCharacters(_0x534d8d);const _0x5a1977='\x1b';_0x534d8d=_0x534d8d[_0x3db08a(_0x48c4bc._0x5d6302,_0x48c4bc._0x288675,_0x48c4bc._0x155240,_0x48c4bc._0x1cd03b)](/;[^\u0007\n]*?\u0007/g,''),_0x534d8d=_0x534d8d[_0x7e71d1(_0x48c4bc._0x599f4a,-0xaa,_0x48c4bc._0x53cae5,_0x48c4bc._0x2902e5)](new RegExp(_0x7e71d1(-_0x48c4bc._0x17a5b2,-_0x48c4bc._0x55f850,0x3,0xc8)+_0x5a1977+'\x5c\x5c','g'),''),_0x534d8d=_0x534d8d['replace'](/\u0007/g,''),_0x534d8d=_0x534d8d['replace'](new RegExp(_0x5a1977+_0x3db08a(0x6df,_0x48c4bc._0x21f256,0x380,_0x48c4bc._0x5e0cd5)+_0x5a1977+'\x5c\x5c','g'),''),_0x534d8d=_0x534d8d['replace'](new RegExp(_0x5a1977+_0x7e71d1(-0xbc,0x16e,-0x167,_0x48c4bc._0x31bab0),'g'),'');function _0x7e71d1(_0x5e20a8,_0x454d1f,_0x10290b,_0x3ca6bd){return _0x55e1bc(_0x10290b,_0x454d1f-0xc2,_0x10290b-_0x5eb2cf._0x3e8ee2,_0x3ca6bd- -_0x5eb2cf._0x47a814);}_0x534d8d=_0x534d8d[_0x3db08a(0x552,_0x48c4bc._0x17306c,_0x48c4bc._0x371951,_0x48c4bc._0x4419c9)](/[\u0080-\u009F]/g,''),_0x534d8d=_0x534d8d[_0x3db08a(0x69f,_0x48c4bc._0x288675,0x366,_0x48c4bc._0x1a41f3)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0x3db08a(_0xdce390,_0x57c0b3,_0x327e0e,_0x5e356c){return _0x55e1bc(_0x327e0e,_0x57c0b3-0xe3,_0x327e0e-_0xe138a7._0x3209e9,_0x57c0b3-_0xe138a7._0x3a0db1);}return _0x534d8d=_0x534d8d[_0x7e71d1(-_0x48c4bc._0x2be898,_0x48c4bc._0x12d209,_0x48c4bc._0x4071b5,0x159)](/[\u23CE\u2424]/g,''),_0x534d8d;}function canonicalizeTerminalPaste(_0x1a1335){let _0x28be88=normalizeNewlines(_0x1a1335);return _0x28be88=resolveCarriageReturns(_0x28be88),_0x28be88=resolveBackspaces(_0x28be88),_0x28be88;}var DEFAULTS={'maxOutputBytes':0x1*0x400*0x400,'timeoutMs':0x7530,'stripAnsi':!![]},BashTool=class{[_0x3a64dd(0x411,0x303,0x420,0x265)]=_0x55e1bc(0x752,0x6de,0x35c,0x57a);[_0x55e1bc(0x7ef,0x6f7,0x786,0x834)]={'type':_0x55e1bc(0x74a,0x790,0x5c1,0x5fb),'properties':{'description':{'type':_0x55e1bc(0x703,0x54b,0x3ea,0x566),'description':_0x3a64dd(0x25b,0x367,0x360,0x379)},'cmd':{'type':'string','description':_0x55e1bc(0x72c,0x9e0,0x855,0x8e1)},'cwd':{'type':'string','description':_0x3a64dd(0x821,0x652,0x6c4,0x53d)},'timeoutMs':{'type':_0x3a64dd(0x6c8,0x6f8,0x568,0x62c),'minimum':0x1,'description':_0x3a64dd(0x6bf,0x4b0,0x6e1,0x91b)}},'required':[_0x3a64dd(0x3b4,0x514,0x41e,0x48c)]};['definition'](){const _0x1de4bf={_0xcaf632:0x5c1,_0x1ab98e:0x71c,_0x3ed661:0x4f5,_0x47cde6:0x5fc,_0x10ef3f:0x432},_0x2527db={_0x59f695:0x4},_0x2fc12d={_0x5a6f22:0xfc,_0x1b2d81:0x9};function _0x92e498(_0x3c3ddf,_0x562213,_0x6df5d9,_0x5f57bf){return _0x3a64dd(_0x3c3ddf-0xfe,_0x5f57bf,_0x6df5d9- -_0x2fc12d._0x5a6f22,_0x5f57bf-_0x2fc12d._0x1b2d81);}function _0x1c0209(_0x643db9,_0x41ecc3,_0x2816eb,_0x1c2cfb){return _0x55e1bc(_0x2816eb,_0x41ecc3-_0x2527db._0x59f695,_0x2816eb-0xa0,_0x41ecc3- -0x23c);}return{'name':this[_0x92e498(0x285,0xe6,0x324,0x169)],'description':_0x1c0209(0x386,_0x1de4bf._0xcaf632,0x64a,_0x1de4bf._0x1ab98e),'parameters':this[_0x92e498(0x56f,_0x1de4bf._0x3ed661,_0x1de4bf._0x47cde6,_0x1de4bf._0x10ef3f)]};}async[_0x3a64dd(0x733,0x50b,0x67a,0x5d2)](_0x39b513,_0x2d13c1){const _0x3ac59c={_0x1d784e:0x320,_0x43c038:0x25b,_0x10e716:0x19e,_0x13adf2:0x133,_0x40db56:0x33c,_0x23b713:0x108,_0x127448:0x169,_0x90c610:0x1ca,_0x5dffac:0x3ab,_0x198d0a:0x385},_0x11a3fc={_0x104794:0x3c0,_0x3e56dc:0x87},_0x22961b={_0x4590c4:0x56,_0x228e4d:0x1ae};function _0x558a8b(_0x59a289,_0x54a03d,_0x1a7729,_0x670177){return _0x3a64dd(_0x59a289-_0x22961b._0x4590c4,_0x1a7729,_0x59a289- -0x3de,_0x670177-_0x22961b._0x228e4d);}function _0xe35da8(_0xf5ae95,_0x3a3ed7,_0x135e2f,_0x32f45c){return _0x3a64dd(_0xf5ae95-0x2,_0xf5ae95,_0x135e2f- -_0x11a3fc._0x104794,_0x32f45c-_0x11a3fc._0x3e56dc);}try{return await this[_0x558a8b(0x118,0x18d,_0x3ac59c._0x1d784e,_0x3ac59c._0x43c038)](_0x39b513,_0x2d13c1?.['signal']);}catch(_0x5e2731){if(_0x5e2731 instanceof Error&&_0x5e2731[_0x558a8b(0x42,-0x9b,0x79,-_0x3ac59c._0x10e716)]==='AbortError')return err('Command\x20execution\x20aborted\x20by\x20user',void 0x0,_0xe35da8(-_0x3ac59c._0x13adf2,_0x3ac59c._0x40db56,_0x3ac59c._0x23b713,_0x3ac59c._0x127448));const _0x40b9be=_0x5e2731 instanceof Error?_0x5e2731[_0xe35da8(0x4b1,_0x3ac59c._0x90c610,0x3f5,0x2db)]:String(_0x5e2731);return err(_0x40b9be,void 0x0,_0x558a8b(0x3d8,_0x3ac59c._0x5dffac,0x25c,_0x3ac59c._0x198d0a));}}async[_0x3a64dd(0x71f,0x6dc,0x4f6,0x5dc)](_0x158ea2,_0x104be6){const _0xc6b3cb={_0x5a75d8:0x479,_0x9cd605:0x294,_0x2ccb4a:0x31f,_0x3603d5:0x143,_0x471b84:0x720,_0x593099:0x64b,_0x29de10:0x6a8,_0x1d2909:0x1fb,_0x3404ec:0x2b1,_0x1f7602:0x24f,_0x2f1ed9:0x380,_0x52ef3b:0x460,_0x4bcb28:0x30a,_0x376ce4:0x461,_0x5a47b9:0x583,_0x2af6d5:0x664,_0x4f0c65:0x64a,_0x5ee297:0x864,_0x321601:0x3c7,_0x14267d:0x1b0,_0x4f8fcc:0x53d,_0x55597b:0x37f,_0x472280:0x2a7,_0x5460ba:0x675,_0x114dee:0x4d7,_0x50a6b1:0x2b2,_0x2f49f2:0x1d8,_0x315b43:0x87,_0x42c524:0x67e,_0x2eb7a4:0x4db,_0x156f69:0x6a9,_0xadfc5f:0x76b,_0x51f1c3:0x3a9,_0x33ad0e:0x196,_0x365d74:0x2ea,_0x4010a9:0x5a2,_0x517d81:0x559,_0x55915b:0x81b,_0x45d0b5:0x2c8,_0x763840:0x294,_0x51a65d:0x3e,_0x80bcab:0x131,_0x5386a5:0x26,_0xd557aa:0x247,_0x1ba829:0x39e,_0x463edd:0x3dc,_0x42b04e:0x28d,_0x4719eb:0x27,_0x534875:0x38,_0x2553eb:0x5aa,_0xfe20a6:0x6b4,_0x30880a:0x590,_0x5962b8:0x251,_0x3c4f89:0x25c,_0x5be2f7:0x5b,_0x1f0511:0x2c4,_0x1fa4f8:0x292,_0x4b6228:0x2b6,_0x436b42:0x98,_0x2b425a:0x3c4,_0x373af9:0x237,_0x36bf10:0x628,_0x4a19c8:0x3f1,_0x46d4ae:0x1de,_0x5128ab:0x13b,_0x5841f5:0x159,_0x471bd4:0x571,_0x1c4326:0x4f5,_0x332521:0x2b0,_0x1c7312:0x423,_0x52837:0x388,_0x595721:0x3bf,_0x5dd84c:0x394,_0x4e9b1a:0x419,_0x1e2db7:0x388,_0x30ebb8:0x5ac,_0x79a44f:0x10e,_0x4f1030:0x297,_0x369859:0x2a,_0x51fc67:0x34b,_0x58b7ce:0x14c,_0x59bf50:0x1d5,_0x138791:0x2f0,_0xdbfa1a:0x2f8,_0x4ddbec:0x4d9,_0x4bd928:0x321,_0x3b030d:0x431,_0x3c47bc:0x4f7},_0x5941ad={_0x405ae9:0x1b},_0x1db318={_0x1af784:0x193,_0x1b51f8:0x55,_0x4f6412:0x218,_0x1befad:0x2b,_0x499340:0x65,_0x148456:0x190,_0x129a54:0xaf,_0x3fee06:0x17b,_0x49ec71:0x41,_0x139106:0x23a,_0x15bf35:0x4e,_0x3baff5:0x1cd,_0x246f03:0x64,_0x3e82ef:0x9d,_0x53add7:0x2c2,_0x283577:0x92,_0x1d4d1f:0x12c,_0xeece65:0x43,_0x152ac8:0x22f,_0x5e5b58:0x46,_0x48e443:0xfe,_0x2ae302:0x1c0,_0x3e624c:0x1e,_0x2b1cb8:0xc},_0x3283a1={_0x47ca49:0x112},_0x1af6e7={_0x20a232:0x12d,_0x1259cc:0x9b,_0x2f19b7:0x19b,_0x5e5eea:0xf9,_0x35a1ad:0xd1,_0x38f85d:0x5e1,_0x5d3a1d:0x5dc,_0x543299:0x470,_0x17a001:0x534,_0x20c7a1:0x31a,_0x2ba22c:0x333,_0x5512bf:0x412},_0x2f27dc={_0x338b84:0x462,_0xacde7c:0x427,_0x30fd11:0x529,_0x4bb7ae:0x127,_0x13e76d:0x1d0,_0x1930ab:0x610,_0x4e683c:0x4c5,_0x27ad30:0x5a6,_0x4e4e46:0x16c,_0x4f13ed:0x43,_0x196f72:0x1f6,_0x16faa2:0x40f,_0x331109:0x20b,_0x1e0310:0x389},_0x529855={_0x243f60:0xa6,_0x5e8ae6:0x25e,_0x4435f8:0x62,_0x386d57:0xc6},_0x2a366d={_0x431f57:0x7c2,_0xa8263e:0x4c5,_0x375224:0x474,_0x57d569:0x69e},_0x219701={_0x120652:0x209,_0x339183:0x15d,_0x9ab54a:0x1d9},_0x381cd9={_0x3599bc:0x52},_0x31093c={_0x5984b3:0x8e,_0x11fa9d:0x2d2,_0x3120c4:0x256,_0x2e6321:0x33,_0x566291:0x28d,_0x44032d:0x5f,_0x16860c:0x3b6,_0x554d0f:0x368,_0x4eb521:0x26a},_0x798c82={_0x3554ec:0x179},_0x47d3e2={_0x155ba6:0x153,_0x365b01:0x11,_0x5d9ea9:0x38},_0x25f71e={_0x3e1296:0x3f,_0x190d9d:0x385},_0x42d2d1={_0x1e9954:0x161,_0x45f344:0x198,_0x266b30:0x27c};if(_0x104be6?.[_0xeeb0ed(_0xc6b3cb._0x5a75d8,0x52a,0x388,0x3e7)])return err(_0x4972e1(_0xc6b3cb._0x9cd605,0x241,0x10c,_0xc6b3cb._0x2ccb4a),void 0x0,_0x4972e1(_0xc6b3cb._0x3603d5,0xb8,0x311,0x36b));const {cmd:_0x5df237,cwd:cwd=process[_0xeeb0ed(0x5e4,_0xc6b3cb._0x471b84,_0xc6b3cb._0x593099,_0xc6b3cb._0x29de10)](),timeoutMs:timeoutMs=DEFAULTS[_0x4972e1(_0xc6b3cb._0x1d2909,_0xc6b3cb._0x3404ec,-0x24,_0xc6b3cb._0x1f7602)]}=_0x158ea2,_0x22409a=DEFAULTS['maxOutputBytes'],_0x5ce532=DEFAULTS[_0xeeb0ed(_0xc6b3cb._0x2f1ed9,_0xc6b3cb._0x52ef3b,_0xc6b3cb._0x4bcb28,0x459)],_0x3dac4c=this[_0xeeb0ed(_0xc6b3cb._0x376ce4,0x766,_0xc6b3cb._0x5a47b9,0x608)]();function _0xeeb0ed(_0x4b215a,_0x3acf4f,_0x147c4b,_0x4e590f){return _0x55e1bc(_0x3acf4f,_0x3acf4f-_0x42d2d1._0x1e9954,_0x147c4b-_0x42d2d1._0x45f344,_0x147c4b- -_0x42d2d1._0x266b30);}const _0x1a6b44=this['shellArgs'](_0x5df237,_0x3dac4c);function _0x4972e1(_0x3199e0,_0x2885f6,_0xb2f272,_0x49e27f){return _0x3a64dd(_0x3199e0-_0x25f71e._0x3e1296,_0x49e27f,_0x3199e0- -_0x25f71e._0x190d9d,_0x49e27f-0xb7);}let _0x59ac05;const _0x519b62=_0x407a3b[_0xeeb0ed(_0xc6b3cb._0x2af6d5,0x72d,_0xc6b3cb._0x4f0c65,_0xc6b3cb._0x5ee297)]()===_0x4972e1(_0xc6b3cb._0x321601,_0xc6b3cb._0x14267d,0x5dd,_0xc6b3cb._0x4f8fcc);try{_0x59ac05=spawn(_0x3dac4c,_0x1a6b44,{'cwd':cwd,'env':process[_0xeeb0ed(0x63d,0x514,0x4b4,_0xc6b3cb._0x55597b)],'stdio':[_0xeeb0ed(0x3f6,0x395,0x1e6,_0xc6b3cb._0x472280),_0xeeb0ed(0x2c9,_0xc6b3cb._0x5460ba,0x4f7,_0xc6b3cb._0x114dee),_0x4972e1(_0xc6b3cb._0x50a6b1,_0xc6b3cb._0x2f49f2,0xe7,_0xc6b3cb._0x315b43)],'shell':![],'windowsHide':!![],'detached':!_0x519b62});}catch(_0x404fba){if(_0x404fba instanceof Error&&_0xeeb0ed(0x791,_0xc6b3cb._0x42c524,0x66a,_0xc6b3cb._0x2eb7a4)in _0x404fba&&_0x404fba[_0xeeb0ed(_0xc6b3cb._0x156f69,_0xc6b3cb._0xadfc5f,0x66a,0x70f)]===_0x4972e1(_0xc6b3cb._0x51f1c3,_0xc6b3cb._0x33ad0e,0x234,_0xc6b3cb._0x365d74))return err('Shell\x20not\x20found:\x20'+_0x3dac4c,void 0x0,'not_found');throw _0x404fba;}_0x59ac05[_0xeeb0ed(_0xc6b3cb._0x4010a9,_0xc6b3cb._0x517d81,0x60a,_0xc6b3cb._0x55915b)](_0xeeb0ed(_0xc6b3cb._0x45d0b5,0x284,0x496,_0xc6b3cb._0x763840),_0xb0eb2=>{function _0x966be9(_0x10099f,_0x2940b9,_0x1e2291,_0x2410c2){return _0x4972e1(_0x2940b9- -_0x47d3e2._0x155ba6,_0x2940b9-_0x47d3e2._0x365b01,_0x1e2291-_0x47d3e2._0x5d9ea9,_0x2410c2);}function _0x210770(_0x5acaf0,_0x43c192,_0x273a93,_0x4231fc){return _0xeeb0ed(_0x5acaf0-0x5a,_0x5acaf0,_0x273a93-_0x798c82._0x3554ec,_0x4231fc-0x195);}_0x210770(0xa2b,0x5ce,0x7e3,0x8b9)in _0xb0eb2&&_0xb0eb2[_0x966be9(_0x31093c._0x5984b3,_0x31093c._0x11fa9d,0x330,0xff)]===_0x966be9(0x311,_0x31093c._0x3120c4,0x23e,_0x31093c._0x2e6321)&&(!_0x59ac05[_0x966be9(-0x31d,-0x198,0x89,-_0x31093c._0x566291)]&&_0x59ac05[_0x966be9(0xb0,-0xcf,-0x2ac,-_0x31093c._0x44032d)](_0x210770(_0x31093c._0x16860c,0x3ff,_0x31093c._0x554d0f,_0x31093c._0x4eb521),-0x1,null));});let _0x42330b=null,_0x4aacd8=null,_0x1f6309=null,_0x7f83a2=![],_0x421f8f=![];const _0x24c579=new Promise((_0x3ae961,_0x47783d)=>{const _0xde29ab={_0x4f398a:0x8bf,_0x4812c3:0x872,_0x55bb26:0x952,_0x216e93:0x877};_0x42330b=setTimeout(()=>{function _0x15384d(_0x37fa08,_0x50e5b4,_0x1480c1,_0x51bd4e){return _0xb207(_0x37fa08- -0x2ec,_0x50e5b4);}function _0x41578f(_0x2325eb,_0xc5c03,_0x4d14ca,_0x14a62c){return _0xb207(_0xc5c03-0x39d,_0x4d14ca);}_0x7f83a2=!![];try{this['killProcessGroup'](_0x59ac05,_0x519b62);}catch{}_0x47783d(new Error(_0x41578f(_0xde29ab._0x4f398a,_0xde29ab._0x4812c3,0xaa4,_0xde29ab._0x55bb26)+timeoutMs+_0x41578f(0x7ea,0x84f,_0xde29ab._0x216e93,0x8c0)));},timeoutMs);}),_0x544123=new Promise((_0x592331,_0x18eb7f)=>{const _0x346e8e={_0x583561:0x3b1,_0x3e2dc0:0x396,_0xb2ee67:0x3db,_0x1dabe5:0x57c};function _0x29bd05(_0x47c3f9,_0x557344,_0x4ac00f,_0x51dec7){return _0xeeb0ed(_0x47c3f9-0x1b1,_0x51dec7,_0x557344- -0x3ea,_0x51dec7-_0x381cd9._0x3599bc);}function _0x5188f4(_0x2fbdcd,_0x2ef0d1,_0x5636e5,_0x2a84c6){return _0x4972e1(_0x2a84c6-_0x219701._0x120652,_0x2ef0d1-_0x219701._0x339183,_0x5636e5-_0x219701._0x9ab54a,_0x2ef0d1);}_0x104be6&&(_0x1f6309=()=>{const _0x57d2d7={_0x537142:0x2cb};function _0x205ba9(_0x452cc3,_0x317753,_0x50a0cc,_0x2dc21d){return _0xb207(_0x317753-0x2e5,_0x50a0cc);}function _0x21e015(_0x294f1e,_0x10146d,_0x315262,_0x23cfbf){return _0xb207(_0x315262-_0x57d2d7._0x537142,_0x10146d);}_0x42330b&&(clearTimeout(_0x42330b),_0x42330b=null);try{this['killProcessGroup'](_0x59ac05,_0x519b62,_0x21e015(_0x2a366d._0x431f57,_0x2a366d._0xa8263e,0x5d6,_0x2a366d._0x375224)),_0x4aacd8=setTimeout(()=>{const _0x31c5da={_0xfacab5:0x65,_0x50c902:0x19,_0x39cd47:0x19e};function _0x48da48(_0x48c121,_0x3c7174,_0x2838d7,_0x4fa2ee){return _0x21e015(_0x48c121-_0x31c5da._0xfacab5,_0x3c7174,_0x48c121-_0x31c5da._0x50c902,_0x4fa2ee-_0x31c5da._0x39cd47);}_0x59ac05&&!_0x59ac05[_0x48da48(_0x346e8e._0x583561,_0x346e8e._0x3e2dc0,_0x346e8e._0xb2ee67,_0x346e8e._0x1dabe5)]&&this['killProcessGroup'](_0x59ac05,_0x519b62);},0x3e8);}catch{}_0x18eb7f(new Error(_0x205ba9(0x98e,0x7ab,_0x2a366d._0x57d569,0x6be)));},_0x104be6[_0x29bd05(-0x18e,-0x1a9,-0x28,-_0x529855._0x243f60)]('abort',_0x1f6309),_0x104be6[_0x29bd05(-_0x529855._0x5e8ae6,-_0x529855._0x4435f8,0x67,-_0x529855._0x386d57)]&&_0x1f6309());}),_0x54a5d0=[],_0x2225e7=[];let _0xb37d99=0x0;const _0x305ea5=_0x1180aa=>{const _0x599910={_0x4df48c:0x17,_0x422f85:0xb2};if(_0x421f8f)return;function _0x324e13(_0x270c43,_0x186415,_0x4a334f,_0x317433){return _0xeeb0ed(_0x270c43-0x19c,_0x317433,_0x4a334f-_0x599910._0x4df48c,_0x317433-_0x599910._0x422f85);}function _0x4dab41(_0x39ff9a,_0x32fa95,_0x4ef566,_0x2f9e46){return _0xeeb0ed(_0x39ff9a-0x100,_0x39ff9a,_0x4ef566- -0x20a,_0x2f9e46-0xfb);}_0xb37d99+=_0x1180aa[_0x324e13(0x3d7,_0x2f27dc._0x338b84,_0x2f27dc._0xacde7c,_0x2f27dc._0x30fd11)];if(_0xb37d99>_0x22409a){_0x421f8f=!![],_0x54a5d0[_0x4dab41(_0x2f27dc._0x4bb7ae,_0x2f27dc._0x13e76d,0x90,0x278)](Buffer[_0x324e13(_0x2f27dc._0x1930ab,_0x2f27dc._0x4e683c,_0x2f27dc._0x27ad30,0x50d)](_0x4dab41(-0x53,-_0x2f27dc._0x4e4e46,_0x2f27dc._0x4f13ed,-_0x2f27dc._0x196f72)+_0x22409a+_0x4dab41(0x543,0x356,_0x2f27dc._0x16faa2,0x5d9))),this['killProcessGroup'](_0x59ac05,_0x519b62);return;}_0x54a5d0[_0x324e13(_0x2f27dc._0x331109,0x11a,0x2b1,_0x2f27dc._0x1e0310)](_0x1180aa);},_0x19bdb3=_0x10a748=>{const _0x447c98={_0x13f8ff:0xdf},_0x597de2={_0x1b46a3:0x4ab};function _0x48e587(_0x5e8e66,_0x5e2797,_0x338393,_0xb48623){return _0xeeb0ed(_0x5e8e66-0x19e,_0x338393,_0x5e2797- -_0x597de2._0x1b46a3,_0xb48623-0x162);}if(_0x421f8f)return;_0xb37d99+=_0x10a748[_0x48e587(-_0x1af6e7._0x20a232,-_0x1af6e7._0x1259cc,-_0x1af6e7._0x2f19b7,_0x1af6e7._0x5e5eea)];function _0x45d71f(_0x5c28a4,_0xcaeba7,_0x4f51fe,_0x2d6e2c){return _0x4972e1(_0xcaeba7-0x9c,_0xcaeba7-_0x447c98._0x13f8ff,_0x4f51fe-0x186,_0x5c28a4);}if(_0xb37d99>_0x22409a){_0x421f8f=!![],_0x2225e7[_0x48e587(-_0x1af6e7._0x35a1ad,-0x211,-0xff,-0xb0)](Buffer[_0x45d71f(0x2ff,0x3e6,_0x1af6e7._0x38f85d,0x42f)]('\x0a[truncated\x20at\x20'+_0x22409a+_0x45d71f(_0x1af6e7._0x5d3a1d,_0x1af6e7._0x543299,0x321,_0x1af6e7._0x17a001))),this[_0x45d71f(_0x1af6e7._0x20c7a1,_0x1af6e7._0x2ba22c,_0x1af6e7._0x5512bf,0x2c5)](_0x59ac05,_0x519b62);return;}_0x2225e7['push'](_0x10a748);};_0x59ac05['stdout']&&_0x59ac05[_0x4972e1(_0xc6b3cb._0x51a65d,0x143,-_0xc6b3cb._0x80bcab,-_0xc6b3cb._0x5386a5)]['on']('data',_0x305ea5);_0x59ac05['stderr']&&_0x59ac05['stderr']['on'](_0xeeb0ed(_0xc6b3cb._0xd557aa,_0xc6b3cb._0x1ba829,0x282,_0xc6b3cb._0x463edd),_0x19bdb3);const _0xc47c54=()=>{const _0xf91dcc={_0x3c907a:0x1a1,_0x13d684:0x118};_0x42330b&&(clearTimeout(_0x42330b),_0x42330b=null);function _0x32b927(_0xf41f16,_0x9d5939,_0x30c42c,_0x1c800b){return _0x4972e1(_0x1c800b- -_0xf91dcc._0x3c907a,_0x9d5939-0xbc,_0x30c42c-_0xf91dcc._0x13d684,_0x9d5939);}function _0x27195c(_0x59c92e,_0x39b0b4,_0x503fff,_0x59e57d){return _0x4972e1(_0x39b0b4-0x27,_0x39b0b4-_0x3283a1._0x47ca49,_0x503fff-0x41,_0x59e57d);}_0x4aacd8&&(clearTimeout(_0x4aacd8),_0x4aacd8=null);_0x104be6&&_0x1f6309&&(_0x104be6[_0x27195c(-_0x1db318._0x1af784,_0x1db318._0x1b51f8,-0x2f,0x13b)](_0x32b927(_0x1db318._0x4f6412,0x98,0x1e1,-0x2f),_0x1f6309),_0x1f6309=null);_0x59ac05[_0x27195c(-_0x1db318._0x1befad,_0x1db318._0x499340,0x12a,-_0x1db318._0x148456)]&&_0x59ac05[_0x32b927(-0x2dc,-_0x1db318._0x129a54,-0x217,-0x163)][_0x27195c(_0x1db318._0x3fee06,-_0x1db318._0x49ec71,-_0x1db318._0x139106,-_0x1db318._0x15bf35)](_0x27195c(-_0x1db318._0x3baff5,_0x1db318._0x246f03,0x2a5,0xe6),_0x305ea5);_0x59ac05[_0x27195c(-0x15d,_0x1db318._0x3e82ef,-0x17,0x50)]&&_0x59ac05[_0x27195c(_0x1db318._0x53add7,0x9d,_0x1db318._0x283577,-_0x1db318._0x1d4d1f)][_0x27195c(0x45,-0x41,_0x1db318._0xeece65,-_0x1db318._0x152ac8)](_0x32b927(-_0x1db318._0x5e5b58,-_0x1db318._0x48e443,-0x1aa,-0x164),_0x19bdb3);if(_0x59ac05&&_0x59ac05[_0x27195c(0x2d0,0x394,_0x1db318._0x2ae302,0x209)]&&!_0x59ac05[_0x27195c(-0x75,-_0x1db318._0x3e624c,0x13f,_0x1db318._0x2b1cb8)])try{this['killProcessGroup'](_0x59ac05,_0x519b62);}catch{}},_0x562ee0=new Promise(_0x52ad8d=>{const _0x4dda27={_0x3a68cd:0x1ac,_0x3eef77:0x10c};function _0x208efe(_0x4966fc,_0x2ed776,_0x59139c,_0x26afcf){return _0xeeb0ed(_0x4966fc-_0x4dda27._0x3a68cd,_0x59139c,_0x2ed776- -0x1d0,_0x26afcf-_0x4dda27._0x3eef77);}_0x59ac05['on'](_0x208efe(_0x5941ad._0x405ae9,0x1f,0x123,-0x80),(_0x30b623,_0x36343)=>_0x52ad8d({'code':_0x30b623,'signal':_0x36343}));});try{const {code:_0x1ce01c,signal:_0x53df8f}=await Promise[_0xeeb0ed(0x5e8,_0xc6b3cb._0x42b04e,0x414,0x63d)]([_0x562ee0,_0x24c579,_0x544123]),_0x551bc4=Buffer['concat'](_0x54a5d0)[_0x4972e1(-0x3d,-_0xc6b3cb._0x4719eb,_0xc6b3cb._0x534875,0x90)]('utf8'),_0xff91b1=Buffer[_0xeeb0ed(_0xc6b3cb._0x2553eb,_0xc6b3cb._0xfe20a6,_0xc6b3cb._0x30880a,0x7a9)](_0x2225e7)[_0xeeb0ed(_0xc6b3cb._0x5962b8,0x201,0x208,0x43c)](_0xeeb0ed(0x4d2,0x443,0x353,_0xc6b3cb._0x3c4f89)),_0x30342b=_0x5ce532?stripAnsiAndControls(_0x551bc4+_0xff91b1):_0x551bc4+_0xff91b1;if(_0x104be6?.['aborted']){const _0xd67331=_0x30342b?_0x4972e1(0x1ff,_0xc6b3cb._0x5be2f7,0x28e,0x22)+_0x30342b:'';return err(_0x4972e1(0x294,_0xc6b3cb._0x1f0511,_0xc6b3cb._0x1fa4f8,0x484)+_0xd67331,{'cwd':cwd},'aborted');}if(_0x1ce01c!==0x0){const _0x59905d={'code':_0x1ce01c,'signal':_0x53df8f,'cwd':cwd};if(_0x30342b['toLowerCase']()[_0xeeb0ed(0x1ff,0x373,0x423,0x458)](_0x4972e1(_0xc6b3cb._0x4b6228,0xff,0xa4,0x3ab)))return err(_0x30342b,{..._0x59905d,'errorReason':_0x4972e1(0x178,_0xc6b3cb._0x436b42,_0xc6b3cb._0x2b425a,_0xc6b3cb._0x373af9)});if(_0x30342b[_0xeeb0ed(_0xc6b3cb._0x36bf10,0x508,0x4f5,_0xc6b3cb._0x4a19c8)]()[_0x4972e1(_0xc6b3cb._0x46d4ae,_0xc6b3cb._0x5128ab,0x3c5,0x1b7)](_0x4972e1(0x2ff,0x444,_0xc6b3cb._0x321601,_0xc6b3cb._0x5841f5))||_0x30342b[_0xeeb0ed(0x2f3,_0xc6b3cb._0x471bd4,_0xc6b3cb._0x1c4326,0x42a)]()[_0xeeb0ed(_0xc6b3cb._0x332521,0x2e4,_0xc6b3cb._0x1c7312,_0xc6b3cb._0x52837)](_0x4972e1(0xa3,0xb1,_0xc6b3cb._0x3404ec,0x2d3)))return err(_0x30342b,{..._0x59905d,'errorReason':_0x4972e1(_0xc6b3cb._0x595721,_0xc6b3cb._0x5dd84c,0x60c,0x3be)});return err(_0x30342b,_0x59905d);}return okText(_0x30342b,{'code':_0x1ce01c,'signal':_0x53df8f,'cwd':cwd,'stripped':_0x5ce532});}catch(_0x44191d){const _0x6a4259=_0x44191d instanceof Error?_0x44191d['message']:String(_0x44191d);if(_0x6a4259===_0xeeb0ed(0x5a5,0x5a2,0x5f9,_0xc6b3cb._0x4e9b1a)||_0x104be6?.[_0xeeb0ed(0x3dd,0x5c4,_0xc6b3cb._0x1e2db7,_0xc6b3cb._0x30ebb8)]){const _0x29cac3=Buffer['concat'](_0x54a5d0)['toString'](_0x4972e1(_0xc6b3cb._0x79a44f,_0xc6b3cb._0x4f1030,-_0xc6b3cb._0x369859,0x359)),_0x11d80b=Buffer[_0x4972e1(_0xc6b3cb._0x51fc67,0xfe,_0xc6b3cb._0x58b7ce,_0xc6b3cb._0x59bf50)](_0x2225e7)[_0xeeb0ed(0x7e,_0xc6b3cb._0x138791,0x208,0x347)]('utf8'),_0x2767a4=_0x5ce532?stripAnsiAndControls(_0x29cac3+_0x11d80b):_0x29cac3+_0x11d80b,_0xb48854=_0x2767a4?'\x0aOutput\x20before\x20abort:\x0a'+_0x2767a4:'';return err(_0xeeb0ed(_0xc6b3cb._0xdbfa1a,0x2ab,_0xc6b3cb._0x4ddbec,_0xc6b3cb._0x4bd928)+_0xb48854,{'cwd':cwd},'aborted');}if(_0x7f83a2)return err(_0x6a4259,{'cwd':cwd},_0x4972e1(0x337,0x1f9,0x562,0x158));return err(_0x6a4259,{'cwd':cwd},_0x4972e1(_0xc6b3cb._0x3b030d,_0xc6b3cb._0x3c47bc,0x336,0x25d));}finally{_0xc47c54();}}['killProcessGroup'](_0x52291e,_0x574832,_0x29780f=_0x55e1bc(0x6cc,0x74c,0x816,0x5e9)){const _0x343292={_0x59d7de:0x8da,_0x46234f:0x6f1,_0x29f16f:0x98,_0x4cafe1:0x31,_0x5d0e90:0x20c,_0x18763d:0x26c,_0x36300e:0x277,_0x5ed545:0xee},_0x282db9={_0x5382d0:0x198,_0x557223:0x1dc,_0x132d14:0x13d},_0x224460={_0x475684:0x8d,_0x562b5c:0x554,_0x574a84:0x1b2};function _0x5e2f0a(_0x54319f,_0x2f19bc,_0x3e3553,_0xbae706){return _0x3a64dd(_0x54319f-_0x224460._0x475684,_0x54319f,_0xbae706- -_0x224460._0x562b5c,_0xbae706-_0x224460._0x574a84);}function _0x265df5(_0x35848d,_0x5f1020,_0x492cb0,_0x3b896a){return _0x55e1bc(_0x5f1020,_0x5f1020-_0x282db9._0x5382d0,_0x492cb0-_0x282db9._0x557223,_0x3b896a- -_0x282db9._0x132d14);}if(!_0x52291e[_0x265df5(_0x343292._0x59d7de,0x4e6,0x862,_0x343292._0x46234f)])return;if(_0x574832)try{spawn('taskkill',[_0x5e2f0a(0x57,0xad,_0x343292._0x29f16f,0x28),_0x52291e['pid'][_0x5e2f0a(-0xfd,-0x304,-_0x343292._0x4cafe1,-_0x343292._0x5d0e90)](),'/T','/F'],{'stdio':_0x5e2f0a(-0x2ad,-_0x343292._0x18763d,-_0x343292._0x36300e,-0x22e)});}catch{_0x52291e[_0x5e2f0a(0xff,-0x2e8,-0x7b,-_0x343292._0x5ed545)](_0x29780f);}else try{process['kill'](-_0x52291e['pid'],_0x29780f);}catch{_0x52291e['kill'](_0x29780f);}}[_0x55e1bc(0x854,0x823,0x873,0x7ff)](){const _0x1a6c7a={_0x27f267:0x8e0,_0xb1ba37:0xa15,_0x2af8e1:0x3ba,_0x37a432:0x457,_0x5d92bd:0x4b8,_0x4ddde2:0x256,_0x59fb3f:0x581,_0x1b79ae:0x842,_0x443e49:0x65c,_0x2f7d8f:0x391,_0x50d4d4:0x4bb,_0x1f1fc7:0x3ce,_0x229ef3:0x615,_0x33b337:0x2e2,_0x191501:0x463,_0x131b64:0x21a,_0x55e6ee:0x102,_0x735341:0x58,_0x3527b0:0x92,_0xe27b39:0x24,_0x222fe9:0x1d9},_0x3937dd={_0x160922:0x17c,_0x55a156:0x1db};if(_0x407a3b[_0x21f3ca(0x662,_0x1a6c7a._0x27f267,0x87f,_0x1a6c7a._0xb1ba37)]()===_0x138134(_0x1a6c7a._0x2af8e1,_0x1a6c7a._0x37a432,0x4ff,_0x1a6c7a._0x5d92bd))return process[_0x138134(0x262,_0x1a6c7a._0x4ddde2,0x4a2,0x200)][_0x21f3ca(_0x1a6c7a._0x59fb3f,_0x1a6c7a._0x1b79ae,_0x1a6c7a._0x443e49,0x5a3)]||'cmd.exe';const _0x540a27=process['env'][_0x21f3ca(_0x1a6c7a._0x2f7d8f,0x4aa,_0x1a6c7a._0x50d4d4,_0x1a6c7a._0x1f1fc7)];if(_0x540a27&&this[_0x21f3ca(0x69d,0x4d6,_0x1a6c7a._0x229ef3,0x6a9)](_0x540a27))return _0x540a27;const _0x17229f=[_0x21f3ca(_0x1a6c7a._0x33b337,0x389,_0x1a6c7a._0x191501,0x279),'/bin/sh',_0x138134(0x1eb,0x30e,0x365,_0x1a6c7a._0x131b64),_0x138134(_0x1a6c7a._0x55e6ee,_0x1a6c7a._0x735341,_0x1a6c7a._0x3527b0,-0x9e)];function _0x138134(_0x5507bd,_0x1e0bde,_0x1179fa,_0x3795ca){return _0x3a64dd(_0x5507bd-0x8a,_0x3795ca,_0x5507bd- -0x392,_0x3795ca-0x75);}for(const _0x3a7c56 of _0x17229f){if(this['shellExists'](_0x3a7c56))return _0x3a7c56;}function _0x21f3ca(_0x3b18d7,_0x1ff525,_0x36f835,_0x221346){return _0x3a64dd(_0x3b18d7-_0x3937dd._0x160922,_0x1ff525,_0x36f835-0xf5,_0x221346-_0x3937dd._0x55a156);}return _0x138134(-_0x1a6c7a._0xe27b39,-_0x1a6c7a._0x222fe9,-0x246,0x19e);}['shellExists'](_0x3e295f){const _0x31d461={_0x3ef63e:0x460,_0x3cf316:0x293,_0x16639a:0xbd,_0x319361:0x8b,_0x86fdff:0x987,_0x2117a9:0x50c,_0x3a65aa:0x745,_0x8a26f:0x6b1,_0xa023e6:0x739,_0x481a90:0x13,_0x44b24a:0xca,_0x1a7a1d:0x40},_0x3c9b21={_0x2bb62d:0x2d},_0x2fea5a={_0x1adfbf:0x138};function _0x1babe0(_0x15ccaf,_0xe54887,_0x1811a5,_0x53d952){return _0x3a64dd(_0x15ccaf-0x1da,_0x1811a5,_0xe54887-0x60,_0x53d952-_0x2fea5a._0x1adfbf);}function _0x245a56(_0x272a31,_0x58192d,_0x54c9db,_0xf3c5cf){return _0x3a64dd(_0x272a31-_0x3c9b21._0x2bb62d,_0x58192d,_0x54c9db- -0x4ef,_0xf3c5cf-0x78);}try{const _0x4c4518=_0x5e125d[_0x1babe0(_0x31d461._0x3ef63e,0x3ea,0x589,_0x31d461._0x3cf316)](_0x3e295f);return _0x4c4518[_0x245a56(-0x25,0x1c7,_0x31d461._0x16639a,-_0x31d461._0x319361)]()&&(_0x4c4518[_0x1babe0(0x855,0x74b,0x8f4,_0x31d461._0x86fdff)]&_0x5e125d[_0x1babe0(0x361,_0x31d461._0x2117a9,_0x31d461._0x3a65aa,0x43e)][_0x1babe0(_0x31d461._0x8a26f,_0x31d461._0xa023e6,0x7fb,0x59c)]||_0x4c4518[_0x245a56(-_0x31d461._0x481a90,_0x31d461._0x44b24a,0x1fc,-_0x31d461._0x1a7a1d)]&0x49)!==0x0;}catch{return![];}}[_0x3a64dd(0x4d9,0x5a0,0x3df,0x333)](_0x218112,_0x143f76){const _0x17d233={_0x557519:0x4d8,_0x162c7b:0x4a9,_0x4591b7:0x505,_0x25efb1:0x40c,_0x24a728:0x3c7,_0x295543:0x3cb,_0x40a5e3:0x4b6,_0x15eeae:0x211,_0x19db75:0x3a,_0x58821f:0x355,_0x8803bf:0x2c5,_0x27133b:0x4f1},_0x4e7872={_0xdfe2cf:0x47c},_0x42ffc7={_0x27b548:0xc5,_0x437c61:0x2e1,_0xc33224:0x6a};function _0xb0c5c(_0x274c36,_0x38807e,_0x14a2c5,_0x120433){return _0x3a64dd(_0x274c36-_0x42ffc7._0x27b548,_0x38807e,_0x14a2c5- -_0x42ffc7._0x437c61,_0x120433-_0x42ffc7._0xc33224);}function _0x36cae7(_0x380ea6,_0x8243a1,_0x7b0639,_0x27afa3){return _0x55e1bc(_0x27afa3,_0x8243a1-0x34,_0x7b0639-0x1ba,_0x7b0639- -_0x4e7872._0xdfe2cf);}if(_0x407a3b[_0xb0c5c(0x30b,_0x17d233._0x557519,_0x17d233._0x162c7b,0x43b)]()===_0x36cae7(0x38f,_0x17d233._0x4591b7,_0x17d233._0x25efb1,0x1d8)){const _0x3e1a12=/cmd(\.exe)?$/i[_0x36cae7(_0x17d233._0x24a728,0x2c8,_0x17d233._0x295543,_0x17d233._0x40a5e3)](_0x143f76);return _0x3e1a12?['/d','/s','/c',_0x218112]:[_0x36cae7(0x28e,0x24,_0x17d233._0x15eeae,0x198),_0x36cae7(-_0x17d233._0x19db75,0x156,0x1f9,_0x17d233._0x58821f),_0x36cae7(0x173,_0x17d233._0x8803bf,0x341,_0x17d233._0x27133b),_0x218112];}return['-lc',_0x218112];}};import{promises as _0x2c860e}from'fs';import*as _0x5db7b8 from'path';import*as _0x114545 from'yaml';var LsTool=class{[_0x55e1bc(0x63a,0x3e8,0x4d6,0x55c)]=_0x3a64dd(0x763,0x7f0,0x604,0x77a);[_0x55e1bc(0x51b,0x854,0x54b,0x715)];[_0x3a64dd(0x44c,0x4ce,0x615,0x741)];constructor(_0xa011a0={}){const _0x3f77a2={_0xa98565:0x206,_0x1c0712:0xb6,_0x3c603c:0x153,_0x5f4c65:0x186,_0x13427e:0x224,_0x219d6f:0x116,_0x1fcf31:0x27a,_0x38571f:0x3b8,_0x30f326:0x604,_0x598afc:0x66,_0x2e5dec:0x392,_0x24bbf9:0x152,_0x18bc10:0x389},_0x3787a7={_0x169af7:0xe0,_0x45399a:0x5ff},_0x7e7ace={_0x2e4be0:0x58,_0x48dabd:0x1e,_0x460f23:0x50f};function _0x56c9a9(_0x6ad77e,_0x2b5fd8,_0x1304e9,_0x136e8f){return _0x55e1bc(_0x6ad77e,_0x2b5fd8-_0x7e7ace._0x2e4be0,_0x1304e9-_0x7e7ace._0x48dabd,_0x1304e9- -_0x7e7ace._0x460f23);}this[_0x56c9a9(0x305,0xcc,_0x3f77a2._0xa98565,_0x3f77a2._0x1c0712)]=_0x5db7b8[_0x425f37(0x316,_0x3f77a2._0x3c603c,_0x3f77a2._0x5f4c65,0x1a7)](_0xa011a0[_0x425f37(_0x3f77a2._0x13427e,0x244,_0x3f77a2._0x219d6f,_0x3f77a2._0x1fcf31)]??process[_0x56c9a9(0x218,0x1e8,_0x3f77a2._0x38571f,_0x3f77a2._0x30f326)]());function _0x425f37(_0x5ca471,_0x2f7efe,_0x528eda,_0x5945a2){return _0x55e1bc(_0x5945a2,_0x2f7efe-_0x3787a7._0x169af7,_0x528eda-0x1a4,_0x528eda- -_0x3787a7._0x45399a);}this[_0x425f37(-_0x3f77a2._0x598afc,_0x3f77a2._0x2e5dec,_0x3f77a2._0x24bbf9,_0x3f77a2._0x18bc10)]=!!_0xa011a0['allowAbsolute'];}[_0x55e1bc(0x854,0x7e9,0x6f9,0x834)]={'type':_0x3a64dd(0x703,0x66a,0x4bf,0x605),'properties':{'path':{'type':_0x55e1bc(0x518,0x762,0x4f3,0x566),'description':'List\x20contents\x20of\x20this\x20directory\x20path'},'limit':{'type':'integer','minimum':0x1,'description':_0x3a64dd(0x5ed,0x3f6,0x42e,0x5ee)}}};['definition'](){const _0x55164e={_0x4b19d3:0x1cd,_0x2f3e1b:0x271,_0x1109a8:0x193,_0xf604fe:0x4d2,_0x4929ef:0x334,_0x2144c9:0x92,_0x2b755d:0x178,_0x370c68:0x48a,_0x306d39:0x58e,_0x5e98eb:0x262,_0x1a8a31:0x7b4,_0x1175e3:0x770,_0x5a4621:0x7f1,_0x31d0bc:0x5a0},_0x11a4f0={_0x272bf3:0x63,_0x4ec95f:0x132,_0x52d8aa:0x469},_0x6befe6={_0x117a25:0x152,_0x26b4d8:0x1b0,_0x119911:0x80};function _0x643256(_0x3df297,_0x13c173,_0x1ed265,_0x5926d7){return _0x55e1bc(_0x1ed265,_0x13c173-_0x6befe6._0x117a25,_0x1ed265-_0x6befe6._0x26b4d8,_0x3df297- -_0x6befe6._0x119911);}function _0x2e64b9(_0xc00158,_0x29f8e2,_0x5c10c6,_0x4ecf96){return _0x55e1bc(_0x29f8e2,_0x29f8e2-_0x11a4f0._0x272bf3,_0x5c10c6-_0x11a4f0._0x4ec95f,_0x5c10c6- -_0x11a4f0._0x52d8aa);}return{'name':this[_0x643256(0x4dc,0x3c2,0x5ca,0x397)],'description':[_0x643256(0x6cd,0x871,0x4c6,0x81d),_0x2e64b9(-_0x55164e._0x4b19d3,-0x1d0,0x53,-0x61),'','Typical\x20uses:',_0x2e64b9(_0x55164e._0x2f3e1b,0xb9,_0x55164e._0x1109a8,0xfc),_0x643256(0x4d3,_0x55164e._0xf604fe,0x3b4,_0x55164e._0x4929ef),_0x2e64b9(0x2e0,-_0x55164e._0x2144c9,0xbf,-_0x55164e._0x2b755d)][_0x643256(_0x55164e._0x370c68,_0x55164e._0x306d39,0x4aa,_0x55164e._0x5e98eb)]('\x0a'),'parameters':this[_0x643256(_0x55164e._0x1a8a31,_0x55164e._0x1175e3,_0x55164e._0x5a4621,_0x55164e._0x31d0bc)]};}async['isTextFile'](_0x2c54ab){const _0x1e8929={_0x5c4497:0x349,_0x4c86e2:0x1ef,_0x353dec:0x34c,_0x3fdb9c:0x513,_0x7fec86:0x553,_0xdbd301:0x538,_0x17ce97:0x41e,_0x1883f2:0x324},_0x4ee43e={_0x37fe4e:0x172},_0xc1681b={_0x5efffb:0x49,_0x4cabc2:0x368};function _0x339e86(_0x3ebca4,_0x4c8482,_0x232e41,_0x2adbe8){return _0x55e1bc(_0x4c8482,_0x4c8482-_0xc1681b._0x5efffb,_0x232e41-0x160,_0x232e41- -_0xc1681b._0x4cabc2);}function _0x439a3(_0x297d10,_0x3b205f,_0xe2a59a,_0x4df54d){return _0x55e1bc(_0xe2a59a,_0x3b205f-_0x4ee43e._0x37fe4e,_0xe2a59a-0xa9,_0x4df54d- -0x4d4);}try{const _0x161846=await _0x2c860e[_0x339e86(0x402,_0x1e8929._0x5c4497,_0x1e8929._0x4c86e2,_0x1e8929._0x353dec)](_0x2c54ab,{'encoding':null}),_0x48e5b2=_0x161846[_0x439a3(0x239,0x314,_0x1e8929._0x3fdb9c,0x2d2)](0x0,Math['min'](0x400,_0x161846[_0x339e86(0x3ab,_0x1e8929._0x7fec86,0x324,_0x1e8929._0xdbd301)]));for(let _0x5ca25a=0x0;_0x5ca25a<_0x48e5b2[_0x339e86(_0x1e8929._0x17ce97,0x2ed,_0x1e8929._0x1883f2,0x14f)];_0x5ca25a++){if(_0x48e5b2[_0x5ca25a]===0x0)return![];}return!![];}catch{return![];}}async[_0x55e1bc(0x6e1,0x58f,0x40f,0x521)](_0x32d1dc){const _0x4cf236={_0x460a36:0x148,_0x41ecfa:0x81},_0x5c1258={_0x3aa0d0:0x13a,_0x145684:0x62e},_0x3d5681={_0x2f3875:0x498};function _0x14629f(_0x4ad584,_0x3b8f80,_0x5a3c92,_0x5d9a2a){return _0x55e1bc(_0x3b8f80,_0x3b8f80-0x99,_0x5a3c92-0xbb,_0x4ad584- -_0x3d5681._0x2f3875);}function _0x1ff021(_0x3770e8,_0x502bf9,_0x2e079b,_0x376358){return _0x55e1bc(_0x376358,_0x502bf9-0x193,_0x2e079b-_0x5c1258._0x3aa0d0,_0x3770e8- -_0x5c1258._0x145684);}try{const _0x485e06=await _0x2c860e['readFile'](_0x32d1dc,_0x1ff021(-0x5f,_0x4cf236._0x460a36,0x125,-0xb));return _0x485e06[_0x14629f(0xfb,0x257,_0x4cf236._0x41ecfa,0x2c3)]('\x0a')['length'];}catch{return 0x0;}}async[_0x55e1bc(0x842,0x6a2,0x5fd,0x7b6)](_0x2179ea,_0x3cffe2){const _0x4e1598={_0x318886:0x5bc,_0x54fa1e:0x416,_0x19926d:0x573,_0x31ad78:0x50a,_0x4c1704:0x774,_0x102670:0x537,_0x2a6c4c:0x23c,_0x51438d:0xd,_0x26c844:0x2ca,_0x53b6e5:0x20c,_0x5c7c67:0x1c6,_0xbe9d44:0x362,_0x25b117:0x21,_0x4628c2:0x282,_0x1a0b8e:0x119,_0xe1698d:0x2ac,_0x1b9746:0x61,_0x5d0ed7:0x117,_0x3b92d7:0x31f,_0x167e6b:0x77a,_0x535405:0x535,_0x481590:0x396,_0x47fd4b:0x446,_0x51264d:0x4a1,_0x37c860:0x23f,_0x386c0d:0x138,_0x29e835:0x7a,_0xc7c584:0x9d,_0x3ee16e:0x48d,_0x3371e2:0x30b,_0x574346:0x503,_0x520ba6:0x2a9,_0x2a63a2:0x301,_0x3459c9:0x598,_0x2b107c:0x223,_0x49b737:0x2ef,_0x1f3083:0x1b6,_0x113c6c:0x2b7,_0x310910:0x193,_0x2bc269:0x495,_0x145bc6:0x525,_0x33aeb2:0x30c,_0x50c999:0x84a,_0x47c8ef:0x2b1,_0x58d685:0x30b,_0x31f0c1:0x367,_0x2130c5:0x58,_0x5ba949:0x8e,_0x185953:0xd6,_0x5c3909:0xee,_0x10b16a:0x2e2,_0xa3b615:0xd6,_0x4644d1:0x13f,_0x3dcce6:0x3cd,_0x521c98:0x164,_0x15671e:0x448,_0x18e8ff:0x359,_0x3a040a:0x353,_0x37164f:0x8a4,_0x132209:0x707},_0x25664d={_0xe4bc82:0x225,_0x60821d:0x2ea,_0x30ad54:0x2e7,_0xc89116:0x4ca,_0x4314d6:0x5ae,_0x40ee6e:0x5e0,_0x3c4b3a:0x472,_0x459954:0x65a,_0x2ac27c:0x52f,_0x599504:0x3fd,_0x39db59:0x3e7,_0x55c194:0x38f,_0x3c3d46:0x6b4,_0x219837:0x423,_0x43d41a:0xcb,_0xba4e24:0x208,_0x46fd41:0x1ca,_0x40ba8c:0x2b8,_0x2735f5:0x139,_0x3a6cc6:0x1a,_0x31ad6b:0x208},_0x1c329e={_0x2c886a:0xea,_0x6788c6:0x404},_0xe2b99a={_0x7c1bda:0x5},_0x3bedaf={_0x1e945f:0x7e,_0x65b5ec:0x1eb};function _0x2016bf(_0x1c53a2,_0x2cec30,_0x392ee6,_0x2b5e17){return _0x55e1bc(_0x392ee6,_0x2cec30-_0x3bedaf._0x1e945f,_0x392ee6-0x188,_0x2b5e17- -_0x3bedaf._0x65b5ec);}function _0x24903e(_0x39649f,_0x35ff3b,_0x577d57,_0x7b85b7){return _0x55e1bc(_0x39649f,_0x35ff3b-_0xe2b99a._0x7c1bda,_0x577d57-0x85,_0x577d57- -0x762);}try{const _0x60d7cf=_0x2179ea[_0x2016bf(0x6b5,0x507,_0x4e1598._0x318886,0x6eb)]??'.',_0x23ff03=!![],_0x47a072=Math['min'](_0x2179ea[_0x24903e(0x1e4,0x1ee,0x105,0x2b6)]??0x3e8,0x2710),_0x56f755=this[_0x2016bf(_0x4e1598._0x54fa1e,0x446,0x4a3,_0x4e1598._0x19926d)](_0x60d7cf,_0x3cffe2),_0x45c846=await _0x2c860e[_0x2016bf(_0x4e1598._0x31ad78,0x472,0x393,0x496)](_0x56f755)['catch'](()=>null);if(!_0x45c846)return err(_0x2016bf(0x4f4,_0x4e1598._0x4c1704,0x53f,_0x4e1598._0x102670)+_0x60d7cf,void 0x0,_0x24903e(0x206,_0x4e1598._0x2a6c4c,0x11e,_0x4e1598._0x51438d));if(!_0x45c846[_0x24903e(-0x2c,-_0x4e1598._0x26c844,-_0x4e1598._0x53b6e5,-0x108)]())return err(_0x24903e(-0x2e6,-_0x4e1598._0x5c7c67,-0x2fc,-_0x4e1598._0xbe9d44)+_0x60d7cf,void 0x0,_0x24903e(_0x4e1598._0x25b117,-_0x4e1598._0x4628c2,-_0x4e1598._0x1a0b8e,-_0x4e1598._0xe1698d));const _0x1dd53c=await _0x2c860e[_0x24903e(0x20b,-_0x4e1598._0x1b9746,_0x4e1598._0x5d0ed7,_0x4e1598._0x3b92d7)](_0x56f755),_0x234c06=[];for(const _0x573c05 of _0x1dd53c){if(!_0x23ff03&&_0x573c05[_0x2016bf(_0x4e1598._0x167e6b,0x5d7,_0x4e1598._0x535405,0x5af)]('.'))continue;if(_0x234c06[_0x2016bf(_0x4e1598._0x481590,0x366,_0x4e1598._0x47fd4b,_0x4e1598._0x51264d)]>=_0x47a072)break;const _0x4c1350=_0x5db7b8[_0x24903e(-0x46e,-0xe1,-0x258,-_0x4e1598._0x37c860)](_0x56f755,_0x573c05);let _0x1b8f93=null;try{_0x1b8f93=await _0x2c860e['stat'](_0x4c1350);}catch{continue;}let _0x55159c=_0x24903e(0x1,_0x4e1598._0x386c0d,-0x81,-0x254);if(_0x1b8f93[_0x24903e(-0x4f,-0xd9,-_0x4e1598._0x29e835,_0x4e1598._0xc7c584)]())_0x55159c=_0x24903e(-0x1b7,-_0x4e1598._0x3ee16e,-_0x4e1598._0x3371e2,-_0x4e1598._0x574346);else{if(_0x1b8f93[_0x2016bf(_0x4e1598._0x520ba6,_0x4e1598._0x2a63a2,_0x4e1598._0x3459c9,0x36b)]())_0x55159c='directory';else{if(_0x1b8f93[_0x24903e(-_0x4e1598._0x2b107c,-_0x4e1598._0x49b737,-_0x4e1598._0x1f3083,-0xa7)]())_0x55159c=_0x24903e(-0x3c0,-0x1c2,-_0x4e1598._0x113c6c,-_0x4e1598._0x310910);}}const _0x5da906={'name':_0x573c05,'type':_0x55159c};_0x1b8f93&&(_0x5da906['size']=_0x1b8f93['size'],_0x5da906['mtime']=_0x1b8f93[_0x2016bf(0x301,_0x4e1598._0x2bc269,_0x4e1598._0x145bc6,0x4b7)],_0x5da906[_0x24903e(0x14d,_0x4e1598._0x33aeb2,0xc5,0xfc)]=_0x1b8f93[_0x2016bf(_0x4e1598._0x50c999,0x602,0x6b2,0x63c)],_0x55159c===_0x24903e(-0x17a,-_0x4e1598._0x47c8ef,-_0x4e1598._0x58d685,-0x553)&&await this['isTextFile'](_0x4c1350)&&(_0x5da906['lineCount']=await this[_0x2016bf(_0x4e1598._0x31f0c1,0x489,0x130,0x336)](_0x4c1350))),_0x234c06[_0x24903e(-0x2ad,-_0x4e1598._0x2130c5,-0x24c,-0x354)](_0x5da906);}_0x234c06[_0x2016bf(0x6d8,0x64a,0x643,0x679)]((_0xc62f95,_0x4fb51a)=>_0xc62f95[_0x2016bf(0x5b6,0x2d7,0x5a7,0x371)]['localeCompare'](_0x4fb51a['name']));const _0x3f92f9={'path':_0x60d7cf,'total':_0x234c06[_0x24903e(-0xe3,-_0x4e1598._0x5ba949,-_0x4e1598._0x185953,_0x4e1598._0x5c3909)],'truncated':_0x1dd53c[_0x24903e(-_0x4e1598._0x10b16a,-0x1c1,-_0x4e1598._0xa3b615,-_0x4e1598._0x4644d1)]>_0x47a072,'entries':_0x234c06[_0x2016bf(_0x4e1598._0x3dcce6,_0x4e1598._0x521c98,_0x4e1598._0x15671e,_0x4e1598._0x18e8ff)](_0x32e157=>{const _0x4fa8db={_0x178fec:0x4ed,_0x12d729:0x143},_0x53d6cf={'name':_0x32e157[_0x18b6d6(0x3f8,_0x25664d._0xe4bc82,_0x25664d._0x60821d,_0x25664d._0x30ad54)],'type':_0x32e157[_0x18b6d6(_0x25664d._0xc89116,0x525,_0x25664d._0x4314d6,0x48b)]};if(_0x32e157['size']!==void 0x0)_0x53d6cf[_0x18b6d6(0x6ff,0x421,_0x25664d._0x40ee6e,0x65a)]=_0x32e157[_0x18b6d6(0x587,_0x25664d._0x3c4b3a,0x534,_0x25664d._0x459954)];function _0x5e9122(_0x5e3a81,_0x5b61d9,_0x41e25c,_0x404370){return _0x2016bf(_0x5e3a81-0x1,_0x5b61d9-_0x1c329e._0x2c886a,_0x5b61d9,_0x41e25c- -_0x1c329e._0x6788c6);}if(_0x32e157[_0x5e9122(0x12b,0x1c1,0x238,0x2f4)]!==void 0x0)_0x53d6cf[_0x18b6d6(0x46e,_0x25664d._0x2ac27c,_0x25664d._0x599504,0x5b2)]=_0x32e157[_0x18b6d6(_0x25664d._0x39db59,0x4d9,_0x25664d._0x55c194,0x5b2)];if(_0x32e157[_0x18b6d6(0x5bf,0x765,_0x25664d._0x3c3d46,0x598)]!==void 0x0)_0x53d6cf['mtime']=_0x32e157[_0x5e9122(_0x25664d._0x219837,_0x25664d._0x43d41a,0x21e,0xad)];if(_0x32e157[_0x5e9122(-0x2b,0xa8,_0x25664d._0xba4e24,0x404)]!==void 0x0)_0x53d6cf[_0x5e9122(0x2a2,0x16,_0x25664d._0x46fd41,_0x25664d._0x40ba8c)]=_0x32e157[_0x5e9122(_0x25664d._0x2735f5,-_0x25664d._0x3a6cc6,_0x25664d._0x31ad6b,0x405)];function _0x18b6d6(_0x3e0ba4,_0x4fdbbe,_0x428b85,_0x17d8df){return _0x24903e(_0x428b85,_0x4fdbbe-0x1e9,_0x17d8df-_0x4fa8db._0x178fec,_0x17d8df-_0x4fa8db._0x12d729);}return _0x53d6cf;})},_0x679d05=okText(_0x114545[_0x24903e(0x384,_0x4e1598._0x3a040a,0x145,0x1c2)](_0x3f92f9,{'indent':0x2,'lineWidth':0x0}),{'limit':_0x47a072,'includeHidden':_0x23ff03});return _0x679d05;}catch(_0x5c3d46){const _0x227768=_0x5c3d46 instanceof Error?_0x5c3d46[_0x24903e(0x10b,0x37f,0x18f,0x1ba)]:String(_0x5c3d46);return err(_0x227768,void 0x0,_0x2016bf(_0x4e1598._0x37164f,0x519,0x843,_0x4e1598._0x132209));}}[_0x55e1bc(0x6fa,0x60e,0x8bd,0x75e)](_0x36adcc,_0x1d97f0){const _0x3cac70={_0x19e6be:0x15c,_0x2e473f:0x6bd,_0x1ed35b:0x646,_0x4ee3fc:0x4ce,_0x44f8d3:0x3e6,_0x4b6a23:0x4bd,_0xc4a253:0x5f3,_0x3ef48a:0x6cd,_0x1d3511:0x364,_0x4633e1:0x38f,_0x538994:0x3a6,_0x3450fa:0x1af,_0x16abef:0x274,_0x16febb:0x337,_0x1dbd3c:0x422,_0x96ed58:0x383,_0x19db1a:0x369,_0x257352:0x1cd,_0x17d706:0x238,_0xe6a661:0x1fc},_0x5a3719={_0x3eb7e9:0x56d,_0x42b2b7:0xfb},_0x4110b4={_0x2d50fb:0xce},_0x974084=_0x1d97f0?.[_0x2f5a1f(0x1a9,0x230,0x16f,_0x3cac70._0x19e6be)]||_0x1d97f0?.[_0x2f5a1f(0x3d8,0x21e,0x466,0x3f5)]||this[_0x12e607(0x4e6,0x492,0x6ce,0x5b6)];function _0x12e607(_0x321b1a,_0x42408c,_0x17063a,_0x282b4e){return _0x55e1bc(_0x282b4e,_0x42408c-_0x4110b4._0x2d50fb,_0x17063a-0x84,_0x42408c- -0x283);}const _0x4af2d8=_0x5db7b8['resolve'](String(_0x974084??this[_0x12e607(_0x3cac70._0x2e473f,0x492,0x30a,0x3c6)])),_0x277e1b=_0x5db7b8['resolve'](_0x4af2d8,_0x36adcc);function _0x2f5a1f(_0x2a18f9,_0x4eb743,_0x33e1cb,_0x2b70db){return _0x3a64dd(_0x2a18f9-0xe,_0x2a18f9,_0x4eb743- -_0x5a3719._0x3eb7e9,_0x2b70db-_0x5a3719._0x42b2b7);}if(!this[_0x12e607(_0x3cac70._0x1ed35b,_0x3cac70._0x4ee3fc,_0x3cac70._0x44f8d3,0x4d2)]&&_0x5db7b8[_0x12e607(_0x3cac70._0x4b6a23,_0x3cac70._0xc4a253,0x490,_0x3cac70._0x3ef48a)](_0x36adcc)&&!_0x277e1b[_0x12e607(0x5d5,0x517,_0x3cac70._0x1d3511,0x649)](_0x4af2d8))throw new Error(_0x12e607(_0x3cac70._0x4633e1,0x40b,0x3d5,0x39e));if(!this[_0x12e607(0x6f1,_0x3cac70._0x4ee3fc,_0x3cac70._0x538994,0x614)]){const _0x44b2cb=_0x5db7b8[_0x12e607(_0x3cac70._0x3450fa,_0x3cac70._0x16abef,_0x3cac70._0x16febb,0x2e2)](_0x4af2d8,_0x277e1b);if(_0x44b2cb[_0x12e607(0x3b8,0x517,_0x3cac70._0x1dbd3c,_0x3cac70._0x96ed58)]('..')||_0x5db7b8[_0x2f5a1f(_0x3cac70._0x19db1a,_0x3cac70._0x257352,0xce,0x1a0)](_0x44b2cb))throw new Error(_0x2f5a1f(-0x333,-_0x3cac70._0x17d706,-_0x3cac70._0xe6a661,-0x97)+_0x36adcc);}return _0x277e1b;}};import*as _0x288958 from'path';import{stat}from'fs/promises';import{spawn as _0x524406,execSync}from'child_process';import{existsSync,mkdirSync as _0x3616b5,createWriteStream,chmodSync}from'fs';import*as _0x37e164 from'path';import*as _0x88c31b from'os';import*as _0x914da8 from'https';var RIPGREP_VERSION='14.1.1',PLATFORM_MAP={'arm64-darwin':{'platform':_0x55e1bc(0x662,0x2d3,0x585,0x49f),'extension':_0x55e1bc(0x5e4,0x569,0x5e4,0x56e)},'arm64-linux':{'platform':_0x55e1bc(0x59c,0x86e,0x40d,0x64a),'extension':_0x3a64dd(0x47a,0x28b,0x432,0x38c)},'x64-darwin':{'platform':_0x55e1bc(0x494,0x303,0x4ff,0x475),'extension':_0x3a64dd(0x5c0,0x385,0x432,0x5df)},'x64-linux':{'platform':_0x55e1bc(0x8c8,0x876,0x701,0x799),'extension':_0x3a64dd(0x58e,0x59e,0x432,0x329)},'x64-win32':{'platform':'x86_64-pc-windows-msvc','extension':'zip'}},cachedRgPath=null;function findSystemRipgrep(){const _0x10a6b8={_0x2e5355:0x1d2,_0x222c13:0x2ca,_0x4eaa09:0x448,_0x1af31c:0x19a,_0x46dae5:0x2f7,_0x3f3c91:0x3bb,_0x57d101:0xad,_0x61d04e:0x320,_0x80574a:0x401,_0x287038:0x22a,_0x45891f:0x2af,_0x4bcb64:0x18b,_0x4d0488:0x3d7,_0x114eca:0xaf,_0x3a1bc5:0x4b2,_0xaf5e3c:0x6,_0x1a3a53:0xf2,_0x298398:0x362,_0x1b1a7f:0x3ed,_0x4fa9aa:0x266,_0x9b18eb:0x18f,_0x563e11:0x64,_0x24004b:0x474,_0x5f3ee7:0x52d,_0x572082:0x258,_0x1d9cd6:0x3b7,_0x265397:0x48,_0x2b452d:0x47e,_0x15c556:0x243,_0x383f85:0x407,_0x465399:0x24d,_0x230f34:0x5f,_0x50f605:0x38,_0x280bbf:0x19,_0x3a7954:0x1d,_0x2ab643:0x19d,_0x2e62e9:0x10a,_0xcaeda:0x370,_0x2bb2cc:0x177,_0x4c7505:0xae,_0x15a73b:0x5,_0x1b3b33:0x2ae,_0x52b62c:0x2a3,_0x5b6b52:0xfe,_0x3db0bb:0x161,_0x1e0106:0x63,_0x3d349b:0x457,_0x3b20be:0x459,_0x44fab7:0x5a,_0x376902:0x224,_0x10171a:0x129,_0x1c9277:0x120,_0xd8fd76:0x167,_0x5a1d46:0x2cc,_0x3cd7ec:0xe3,_0x5a5d5c:0xab,_0x332185:0x299,_0x16bebe:0x2cf,_0x1519cd:0x26d,_0x4e84e8:0xdb,_0x326a74:0x3a3,_0x2db457:0x1fa,_0x54c5d9:0x2ae,_0x1d21c2:0x1e4},_0x39c81f={_0x3f5f84:0x5e,_0x5c9824:0x4c5};function _0x55ae38(_0x1d6ecf,_0x15d20f,_0x1ad455,_0x2f11ed){return _0x55e1bc(_0x1ad455,_0x15d20f-0x183,_0x1ad455-_0x39c81f._0x3f5f84,_0x2f11ed- -_0x39c81f._0x5c9824);}const _0x51354b=_0x88c31b[_0x5a5f81(_0x10a6b8._0x2e5355,_0x10a6b8._0x222c13,_0x10a6b8._0x4eaa09,0x287)]()==='win32';if(_0x51354b){const _0x1b53bb=[_0x37e164[_0x5a5f81(-_0x10a6b8._0x1af31c,-0xf2,-0x45,-_0x10a6b8._0x46dae5)](process[_0x55ae38(_0x10a6b8._0x3f3c91,0x475,0x23d,0x26b)][_0x5a5f81(-0x207,-_0x10a6b8._0x57d101,0x129,0x6a)]||'','Microsoft',_0x55ae38(0x15c,_0x10a6b8._0x61d04e,_0x10a6b8._0x80574a,_0x10a6b8._0x287038),'Packages',_0x5a5f81(_0x10a6b8._0x45891f,_0x10a6b8._0x4bcb64,_0x10a6b8._0x4d0488,-0x3a),_0x5a5f81(0x20,-0x74,-0x141,_0x10a6b8._0x114eca),_0x55ae38(_0x10a6b8._0x3a1bc5,0x2b0,0x42b,0x3b3)),_0x37e164[_0x5a5f81(_0x10a6b8._0xaf5e3c,-_0x10a6b8._0x1a3a53,-0x1b8,-0xef)](process[_0x55ae38(_0x10a6b8._0x298398,0x70,_0x10a6b8._0x1b1a7f,0x26b)][_0x55ae38(_0x10a6b8._0x4fa9aa,-_0x10a6b8._0x9b18eb,-0x184,_0x10a6b8._0x563e11)]||'',_0x5a5f81(0x27f,0x2bb,0x437,0x185),_0x55ae38(_0x10a6b8._0x24004b,0x1a2,_0x10a6b8._0x5f3ee7,0x3b3)),_0x37e164[_0x55ae38(0x159,-0x13f,0xe1,0x45)](process['env'][_0x5a5f81(0x315,_0x10a6b8._0x572082,_0x10a6b8._0x1d9cd6,_0x10a6b8._0x265397)]||'',_0x55ae38(_0x10a6b8._0x2b452d,0x56e,_0x10a6b8._0x15c556,0x3f2),_0x5a5f81(0x9b,0x27c,_0x10a6b8._0x383f85,_0x10a6b8._0x465399))];for(const _0x158c2d of _0x1b53bb){if(existsSync(_0x158c2d))return _0x158c2d;}try{const _0x33c37c=execSync(_0x5a5f81(_0x10a6b8._0x230f34,-_0x10a6b8._0x50f605,-0x1b9,_0x10a6b8._0x280bbf),{'encoding':_0x55ae38(0x302,-_0x10a6b8._0x3a7954,_0x10a6b8._0x2ab643,_0x10a6b8._0x2e62e9),'stdio':[_0x5a5f81(_0x10a6b8._0xcaeda,_0x10a6b8._0x2bb2cc,_0x10a6b8._0x4c7505,-_0x10a6b8._0x15a73b),_0x55ae38(0x1b2,0x138,0x319,_0x10a6b8._0x1b3b33),_0x55ae38(-_0x10a6b8._0x52b62c,-_0x10a6b8._0x5b6b52,-_0x10a6b8._0x3db0bb,-_0x10a6b8._0x1e0106)]})[_0x5a5f81(_0x10a6b8._0x3d349b,0x220,_0x10a6b8._0x3b20be,0x1ff)]()[_0x55ae38(_0x10a6b8._0x44fab7,-0x5e,_0x10a6b8._0x376902,0xce)]('\x0a')[0x0];if(_0x33c37c&&existsSync(_0x33c37c))return _0x33c37c;}catch{}}else{const _0x1123aa=[_0x55ae38(-0x70,0x14e,0x82,_0x10a6b8._0x10171a),_0x55ae38(_0x10a6b8._0x1c9277,_0x10a6b8._0xd8fd76,-0x76,0x151),_0x55ae38(0x9c,_0x10a6b8._0x5a1d46,0x171,_0x10a6b8._0x3cd7ec),_0x5a5f81(-0x10,-_0x10a6b8._0x5a5d5c,-0x237,-_0x10a6b8._0x332185)];for(const _0x27e162 of _0x1123aa){if(existsSync(_0x27e162))return _0x27e162;}try{const _0x395553=execSync(_0x55ae38(0x1e,_0x10a6b8._0x16bebe,0x58,_0x10a6b8._0x1519cd),{'encoding':'utf8','stdio':[_0x5a5f81(0x2de,0x177,_0x10a6b8._0x4e84e8,0x28d),_0x55ae38(_0x10a6b8._0x326a74,0x83,_0x10a6b8._0x2db457,_0x10a6b8._0x54c5d9),'ignore']})[_0x55ae38(_0x10a6b8._0x1d21c2,0x288,0x4af,0x357)]();if(_0x395553&&existsSync(_0x395553))return _0x395553;}catch{}}function _0x5a5f81(_0x3307bb,_0x2f7fe8,_0x249128,_0x9f3e6d){return _0x55e1bc(_0x249128,_0x2f7fe8-0xea,_0x249128-0x3e,_0x2f7fe8- -0x5fc);}return null;}function getCacheDir(){const _0x8f496a={_0x340e18:0xcf,_0x2f665e:0x478,_0x57a8db:0x683,_0x5f2a9e:0x80d,_0xde5e33:0x416,_0x47f013:0x3b3},_0x3f568e={_0x4f5f03:0xfa,_0x6bc9d:0xd2,_0x5eb550:0x3ab},_0x1a93de={_0x5e896e:0x141};function _0x158771(_0xb27827,_0x31d1f3,_0x58cde8,_0x467c45){return _0x55e1bc(_0xb27827,_0x31d1f3-_0x1a93de._0x5e896e,_0x58cde8-0xc4,_0x31d1f3- -0x182);}const _0x49bf3c=_0x37e164[_0x3545bd(0x2d8,_0x8f496a._0x340e18,0x15f,0x54)](_0x88c31b[_0x158771(_0x8f496a._0x2f665e,_0x8f496a._0x57a8db,0x435,_0x8f496a._0x5f2a9e)](),'.nuvin',_0x158771(_0x8f496a._0xde5e33,_0x8f496a._0x47f013,0x1dd,0x532));!existsSync(_0x49bf3c)&&_0x3616b5(_0x49bf3c,{'recursive':!![]});function _0x3545bd(_0x3da8aa,_0x879c76,_0x3337ee,_0x429cce){return _0x55e1bc(_0x3da8aa,_0x879c76-_0x3f568e._0x4f5f03,_0x3337ee-_0x3f568e._0x6bc9d,_0x3337ee- -_0x3f568e._0x5eb550);}return _0x49bf3c;}function getCachedRgPath(){const _0x50bb3b={_0x4581af:0x142,_0x334607:0x46b,_0x432836:0x4a7,_0x5a99be:0x5e,_0x1f6b1e:0x73,_0x2dbdd7:0x20a,_0x18b720:0x150,_0x346ce6:0x223},_0x3ed4d5={_0x52c8df:0x125},_0x5be484={_0x4db1bc:0x126,_0x265ad9:0x4cf};function _0x45ae27(_0x469d62,_0xaa73cb,_0x38d779,_0x1c6063){return _0x3a64dd(_0x469d62-_0x5be484._0x4db1bc,_0xaa73cb,_0x1c6063- -_0x5be484._0x265ad9,_0x1c6063-0x7f);}const _0x103186=getCacheDir();function _0x450ea9(_0x31f898,_0x56d88e,_0x287999,_0x395e3d){return _0x3a64dd(_0x31f898-_0x3ed4d5._0x52c8df,_0x395e3d,_0x31f898- -0x5d8,_0x395e3d-0x102);}const _0x1540cf=_0x88c31b[_0x45ae27(_0x50bb3b._0x4581af,_0x50bb3b._0x334607,_0x50bb3b._0x432836,0x2bb)]()===_0x450ea9(0x174,-_0x50bb3b._0x5a99be,0x39f,-_0x50bb3b._0x1f6b1e);return _0x37e164[_0x450ea9(-_0x50bb3b._0x2dbdd7,-0x2bc,-0xe8,-0x204)](_0x103186,_0x1540cf?_0x450ea9(0x164,0x285,_0x50bb3b._0x18b720,_0x50bb3b._0x346ce6):'rg');}async function downloadFile(_0x14997c,_0x2a0744){const _0x1209d7={_0x182bec:0x5b7,_0x31ced4:0x5ca,_0x349a1e:0x4cf,_0x569313:0x20b,_0x5a0a39:0x228};return new Promise((_0x76fe8f,_0x59501a)=>{const _0x46ea0e={_0x36b3b9:0xbe,_0x228f4f:0xda,_0x4f69a9:0x25c,_0x13d54f:0x74,_0x1bcb19:0x84,_0x2fe28a:0x190,_0x42149d:0x2bb,_0x2f1c87:0x29e,_0x19e41b:0x4b,_0xdca408:0x1c5,_0x240fee:0xc0,_0x1c0e62:0x8e,_0x10f9ff:0x24f,_0x1d7dbc:0xbe,_0x1fecd0:0x266,_0xaef5bc:0x35,_0x48ffeb:0x254,_0x3f3376:0x3b2,_0x5c7f22:0x23,_0x30b1ca:0x2c6,_0x5369b3:0x10,_0x4c4d21:0x3be,_0x136b2f:0x3c2},_0x4bcbe1=(_0x5c8def,_0x5dfa61=0x0)=>{const _0x1a232b={_0x4d39e1:0x479},_0x6599a={_0x2f253c:0xf},_0x408bc4={_0x1ae4c0:0xad};function _0x4375cc(_0x1f8044,_0x3e87b1,_0x35d8de,_0x41aa72){return _0xb207(_0x3e87b1- -0x86,_0x35d8de);}if(_0x5dfa61>0x5){_0x59501a(new Error(_0x425e90(0x502,0x157,_0x1209d7._0x182bec,0x382)));return;}function _0x425e90(_0x57fdb5,_0x207f21,_0x3851f8,_0x272909){return _0xb207(_0x272909- -0x25,_0x57fdb5);}_0x914da8[_0x425e90(0x444,_0x1209d7._0x31ced4,0x517,_0x1209d7._0x349a1e)](_0x5c8def,_0x288e8d=>{const _0x391654={_0x4f4aff:0x52d,_0x3a4631:0x5f,_0x5f3118:0x1e};if(_0x288e8d[_0x6f3b55(_0x46ea0e._0x36b3b9,_0x46ea0e._0x228f4f,_0x46ea0e._0x4f69a9,_0x46ea0e._0x13d54f)]===0x12d||_0x288e8d[_0x320f2e(-0x45,-0x5d,-0xbc,-_0x46ea0e._0x1bcb19)]===0x12e){const _0x262f2e=_0x288e8d[_0x320f2e(0x2e6,_0x46ea0e._0x2fe28a,_0x46ea0e._0x42149d,_0x46ea0e._0x2f1c87)][_0x320f2e(0x181,_0x46ea0e._0x19e41b,-_0x46ea0e._0xdca408,_0x46ea0e._0x240fee)];if(_0x262f2e){_0x4bcbe1(_0x262f2e,_0x5dfa61+0x1);return;}}if(_0x288e8d[_0x6f3b55(0xbe,_0x46ea0e._0x1c0e62,-0x174,_0x46ea0e._0x10f9ff)]!==0xc8){_0x59501a(new Error('Failed\x20to\x20download:\x20HTTP\x20'+_0x288e8d[_0x6f3b55(_0x46ea0e._0x1d7dbc,0x2dc,_0x46ea0e._0x1fecd0,-_0x46ea0e._0xaef5bc)]));return;}const _0x492978=createWriteStream(_0x2a0744);function _0x6f3b55(_0x97f3f6,_0x2b047e,_0x1135a6,_0x1b58d6){return _0x425e90(_0x1b58d6,_0x2b047e-0x1a8,_0x1135a6-_0x408bc4._0x1ae4c0,_0x97f3f6- -0x14b);}_0x288e8d[_0x6f3b55(_0x46ea0e._0x48ffeb,0x148,_0x46ea0e._0x3f3376,0x2a8)](_0x492978),_0x492978['on'](_0x320f2e(_0x46ea0e._0x5c7f22,0x238,0x30d,_0x46ea0e._0x30b1ca),()=>{_0x492978['close'](),_0x76fe8f();});function _0x320f2e(_0x10f178,_0x3361cd,_0x530dcf,_0x219be1){return _0x425e90(_0x219be1,_0x3361cd-_0x6599a._0x2f253c,_0x530dcf-0x13c,_0x3361cd- -0x266);}_0x492978['on'](_0x6f3b55(0x1f3,_0x46ea0e._0x5369b3,_0x46ea0e._0x4c4d21,_0x46ea0e._0x136b2f),_0xf3942d=>{function _0x859a27(_0x22f7d9,_0x593217,_0x15ef4c,_0x270c03){return _0x6f3b55(_0x22f7d9-_0x391654._0x4f4aff,_0x593217-_0x391654._0x3a4631,_0x15ef4c-_0x391654._0x5f3118,_0x593217);}_0x492978[_0x859a27(_0x1a232b._0x4d39e1,0x298,0x6a0,0x460)](),_0x59501a(_0xf3942d);});})['on'](_0x425e90(0x28e,_0x1209d7._0x569313,_0x1209d7._0x5a0a39,0x33e),_0x59501a);};_0x4bcbe1(_0x14997c);});}async function extractTarGz(_0x46029f,_0x2ea846,_0x57be76){const _0x18eeb6={_0x1958b9:0x5cc,_0x322fd:0x465,_0x4dbf9:0x3ea,_0x28a0e1:0x562,_0x24c22b:0x3cb,_0x2d3d06:0x3cb,_0x3b8b0d:0x5e1,_0x3e6bd4:0x753,_0x241b78:0x445,_0x1bb8d2:0x86,_0x3f6eb0:0xc3,_0xe1f01c:0xae},_0x23785a={_0x533b35:0x24f,_0xfa0aa2:0x343,_0x52aeea:0x2c5,_0x47bf1f:0x293,_0x5c9903:0x1ed};return new Promise((_0x50b3f5,_0x2a3873)=>{const _0x4e8921={_0x622e80:0x43a,_0x41b723:0x28f,_0x539d48:0x4cd,_0x420e36:0x373,_0xc6c23a:0x304,_0x2e8e31:0x90,_0x48a392:0x33a},_0x2abb65={_0x25fe67:0x328},_0x319aeb={_0x5398d2:0x2aa,_0x54685b:0xcc},_0x47a443=_0x37e164[_0x26743d(_0x18eeb6._0x1958b9,_0x18eeb6._0x322fd,0x243,_0x18eeb6._0x4dbf9)](_0x88c31b[_0x325de0(_0x18eeb6._0x28a0e1,0x42c,0x1e2,_0x18eeb6._0x24c22b)](),'ripgrep-extract-'+Date[_0x325de0(0x5c1,0x3cf,0x254,_0x18eeb6._0x2d3d06)]());_0x3616b5(_0x47a443,{'recursive':!![]});const _0x448bc8=_0x524406(_0x26743d(_0x18eeb6._0x3b8b0d,0x703,0x858,_0x18eeb6._0x3e6bd4),['-xzf',_0x46029f,'-C',_0x47a443],{'stdio':['ignore','pipe',_0x26743d(0x816,_0x18eeb6._0x241b78,0x627,0x653)]});function _0x325de0(_0x427221,_0x3134a8,_0xf40b41,_0x3571c1){return _0xb207(_0x3134a8- -0xc5,_0x427221);}let _0x38a02a='';_0x448bc8[_0x325de0(_0x18eeb6._0x1bb8d2,_0x18eeb6._0x3f6eb0,-_0x18eeb6._0xe1f01c,-0x2e)]?.['on']('data',_0x1842bf=>{const _0x350e14={_0x251dfb:0x12c,_0x37e1ee:0x415};function _0x3664f8(_0x51eaba,_0x507e67,_0x2fee60,_0x3c65d3){return _0x26743d(_0x507e67,_0x507e67-_0x350e14._0x251dfb,_0x2fee60-0x1d4,_0x51eaba- -_0x350e14._0x37e1ee);}_0x38a02a+=_0x1842bf[_0x3664f8(-0xb1,-_0x319aeb._0x5398d2,0x9,-_0x319aeb._0x54685b)]();});function _0x26743d(_0x6640e7,_0x365e09,_0x4ef3e1,_0x4cbb87){return _0xb207(_0x4cbb87-0x28f,_0x6640e7);}_0x448bc8['on']('close',async _0xcc11ae=>{const _0x4aaf96={_0x2a6472:0x158,_0x2747f6:0x113},_0x2054b1={_0x5ffcd7:0x6b};function _0x3e178d(_0xee4f15,_0x451e22,_0x4f5679,_0x26158f){return _0x325de0(_0x451e22,_0xee4f15-_0x2abb65._0x25fe67,_0x4f5679-0x1cd,_0x26158f-0x19e);}function _0x9ca722(_0x30ce85,_0x2863ee,_0x5a04c5,_0x549ddf){return _0x26743d(_0x5a04c5,_0x2863ee-_0x2054b1._0x5ffcd7,_0x5a04c5-0x13e,_0x2863ee- -0x157);}if(_0xcc11ae!==0x0){_0x2a3873(new Error(_0x3e178d(0x360,0x510,0x395,_0x23785a._0x533b35)+_0x38a02a));return;}try{const {readdirSync:_0x5550bc,copyFileSync:_0x557041,rmSync:_0x24d76f}=await import('fs'),_0x22c92d=_0x10fdd3=>{const _0xf88c04=_0x5550bc(_0x10fdd3,{'withFileTypes':!![]});function _0x58d66a(_0x35fb68,_0x57237d,_0x132c9f,_0xd236b8){return _0x3e178d(_0x132c9f- -0x12f,_0xd236b8,_0x132c9f-0xbd,_0xd236b8-0x153);}for(const _0x2c25ed of _0xf88c04){const _0x2c8388=_0x37e164[_0x58d66a(_0x4e8921._0x622e80,0x210,_0x4e8921._0x41b723,0x283)](_0x10fdd3,_0x2c25ed['name']);if(_0x2c25ed[_0x31e0d2(0x37a,0x574,_0x4e8921._0x539d48,0x444)]()&&_0x2c25ed[_0x58d66a(_0x4e8921._0x420e36,0x234,0x2e1,_0x4e8921._0xc6c23a)]===_0x57be76)return _0x2c8388;if(_0x2c25ed[_0x31e0d2(_0x4e8921._0x2e8e31,_0x4e8921._0x48a392,0x384,0x2b2)]()){const _0x273ec1=_0x22c92d(_0x2c8388);if(_0x273ec1)return _0x273ec1;}}function _0x31e0d2(_0x38190c,_0x59bf92,_0x46f557,_0x3a85d3){return _0x3e178d(_0x3a85d3- -_0x4aaf96._0x2a6472,_0x46f557,_0x46f557-0xa4,_0x3a85d3-_0x4aaf96._0x2747f6);}return null;},_0x2cae7d=_0x22c92d(_0x47a443);if(!_0x2cae7d){_0x2a3873(new Error(_0x57be76+_0x3e178d(_0x23785a._0xfa0aa2,0x4bd,0x2c1,_0x23785a._0x52aeea)));return;}const _0x4309be=_0x37e164[_0x9ca722(0x468,_0x23785a._0x47bf1f,_0x23785a._0x5c9903,0x326)](_0x2ea846,_0x57be76);_0x557041(_0x2cae7d,_0x4309be),chmodSync(_0x4309be,0x1ed),_0x24d76f(_0x47a443,{'recursive':!![],'force':!![]}),_0x50b3f5(_0x4309be);}catch(_0x156baa){_0x2a3873(_0x156baa);}}),_0x448bc8['on'](_0x325de0(0x100,0x29e,0x40d,0x3cc),_0x2a3873);});}async function extractZip(_0x3b2e2b,_0x400596,_0x10cd06){const _0x31e029={_0xccf504:0x11,_0x865f8a:0x40e,_0x493935:0x28b,_0x3e98a:0x4a7,_0x556f16:0x817,_0x1a7bcd:0x32b,_0x2d336a:0x727,_0x195f44:0x256,_0x2d1365:0x63b,_0x4bf263:0x381,_0x473ee9:0x431,_0x148b79:0x63f,_0x124380:0x2e1,_0x327e83:0x4d5,_0x530df2:0x5a6,_0x3ac7c2:0x47f,_0x112ef2:0x19d,_0x4aca40:0x8cf,_0x29f093:0x6e1,_0x1ace46:0x921},_0x508436={_0x5efdfd:0x2c3,_0x146e52:0x49a,_0x10f3ae:0x52d};return new Promise((_0x2510ee,_0x428a47)=>{const _0x106ab9={_0x5bf304:0x232,_0x249a49:0x1b0,_0x2b119e:0x41},_0x140a82={_0x336e30:0x10c,_0x139d83:0x3d0,_0x4467a5:0x5af,_0x4f8489:0x164,_0x539dde:0x440,_0x27d86d:0x409},_0x637be3={_0x15387a:0x99},_0x4c5e7e={_0x41bac4:0x37e},_0x338984={_0x2a805f:0x11},_0x3783d2=_0x37e164[_0xfb57e4(0x78,_0x31e029._0xccf504,0x201,0x11a)](_0x88c31b[_0xfb57e4(_0x31e029._0x865f8a,_0x31e029._0x493935,_0x31e029._0x3e98a,0x250)](),'ripgrep-extract-'+Date['now']());_0x3616b5(_0x3783d2,{'recursive':!![]});function _0xfb57e4(_0x5b6457,_0x5231af,_0xa17061,_0x422e1b){return _0xb207(_0x5b6457- -0xe3,_0x5231af);}const _0x13bd5a=_0x524406('powershell',[_0x367244(0x4d0,0x793,0x644,_0x31e029._0x556f16),_0xfb57e4(_0x31e029._0x1a7bcd,0x424,0x35a,0x127),'Expand-Archive\x20-Path\x20\x22'+_0x3b2e2b+_0x367244(_0x31e029._0x2d336a,0x9c1,0x859,0x802)+_0x3783d2+_0xfb57e4(0x386,0x46f,0x2f0,_0x31e029._0x195f44)],{'stdio':[_0x367244(_0x31e029._0x2d1365,_0x31e029._0x4bf263,_0x31e029._0x473ee9,_0x31e029._0x148b79),_0xfb57e4(_0x31e029._0x124380,0x2cb,0x2e9,0x1fe),_0xfb57e4(_0x31e029._0x124380,_0x31e029._0x327e83,0x393,0xb6)]});let _0x5ee3df='';_0x13bd5a['stderr']?.['on'](_0x367244(_0x31e029._0x530df2,_0x31e029._0x3ac7c2,0x4cd,0x6cf),_0x158950=>{function _0x5584a2(_0x23aba7,_0x16d4f5,_0x1aab52,_0x577dca){return _0x367244(_0x23aba7-_0x338984._0x2a805f,_0x16d4f5-0x59,_0x16d4f5-0x47,_0x23aba7);}_0x5ee3df+=_0x158950[_0x5584a2(_0x508436._0x5efdfd,_0x508436._0x146e52,_0x508436._0x10f3ae,0x2bc)]();});function _0x367244(_0x1afe5f,_0x5eb0bb,_0x32e321,_0x3cb94f){return _0xb207(_0x32e321-_0x4c5e7e._0x41bac4,_0x3cb94f);}_0x13bd5a['on'](_0xfb57e4(-0x27,0x9a,-0x130,_0x31e029._0x112ef2),async _0xbeaccc=>{const _0x27367b={_0x100207:0x7b,_0x3f5e1f:0x525},_0x1cce85={_0x165108:0x1d9,_0x55613b:0x641};function _0x361dd1(_0x240998,_0x17e58f,_0x84e8b,_0x31ecae){return _0x367244(_0x240998-0x15b,_0x17e58f-_0x1cce85._0x165108,_0x31ecae- -_0x1cce85._0x55613b,_0x84e8b);}function _0xeaf519(_0x8763d6,_0x1fc1ca,_0x4779d1,_0x121d58){return _0x367244(_0x8763d6-0x11c,_0x1fc1ca-_0x637be3._0x15387a,_0x1fc1ca- -0x59b,_0x4779d1);}if(_0xbeaccc!==0x0){_0x428a47(new Error(_0x361dd1(-0x141,-_0x106ab9._0x5bf304,-0x87,-0x17d)+_0x5ee3df));return;}try{const {readdirSync:_0x40c995,copyFileSync:_0x35491d,rmSync:_0x2d27b3}=await import('fs'),_0x345281=_0x32bde4=>{const _0x34c200={_0x3447d2:0x1af},_0x68ec4b=_0x40c995(_0x32bde4,{'withFileTypes':!![]});function _0x14215d(_0x745976,_0x248c0e,_0x4ee708,_0x4c047c){return _0x361dd1(_0x745976-_0x27367b._0x100207,_0x248c0e-0x21,_0x4c047c,_0x248c0e-_0x27367b._0x3f5e1f);}for(const _0x3689bc of _0x68ec4b){const _0x172bb8=_0x37e164[_0x61bcf1(-0x194,-_0x140a82._0x336e30,-_0x140a82._0x139d83,0x30)](_0x32bde4,_0x3689bc[_0x14215d(_0x140a82._0x4467a5,0x40f,0x659,0x1ff)]);if(_0x3689bc[_0x61bcf1(0x4a,-0x200,-0x1fd,_0x140a82._0x4f8489)]()&&_0x3689bc['name']===_0x10cd06)return _0x172bb8;if(_0x3689bc[_0x14215d(_0x140a82._0x539dde,_0x140a82._0x27d86d,0x3c4,0x449)]()){const _0x5da86e=_0x345281(_0x172bb8);if(_0x5da86e)return _0x5da86e;}}function _0x61bcf1(_0x319c0c,_0x21a18c,_0x21b166,_0x29f60c){return _0x361dd1(_0x319c0c-_0x34c200._0x3447d2,_0x21a18c-0x1c1,_0x21b166,_0x319c0c- -0x2c);}return null;},_0x1def0c=_0x345281(_0x3783d2);if(!_0x1def0c){_0x428a47(new Error(_0x10cd06+_0x361dd1(0x24,-0x129,-_0x106ab9._0x249a49,-0x1e3)));return;}const _0x556322=_0x37e164[_0xeaf519(_0x106ab9._0x2b119e,-0xc2,-0x27b,0x18e)](_0x400596,_0x10cd06);_0x35491d(_0x1def0c,_0x556322),_0x2d27b3(_0x3783d2,{'recursive':!![],'force':!![]}),_0x2510ee(_0x556322);}catch(_0x17ffe2){_0x428a47(_0x17ffe2);}}),_0x13bd5a['on'](_0x367244(_0x31e029._0x4aca40,0x5d7,_0x31e029._0x29f093,_0x31e029._0x1ace46),_0x428a47);});}async function downloadRipgrep(){const _0x391c2c={_0x145192:0x2a2,_0x54e104:0x7d,_0x485033:0x267,_0x4d54f0:0x49d,_0x2b60e1:0x3c,_0x3afc71:0x107,_0x2f0ac5:0x72,_0x4029af:0x593,_0x5d40fe:0x472,_0x1e7d4b:0x17d,_0x17043e:0x60a,_0x39ca2c:0x2c1,_0x54c636:0x39c,_0x521d23:0x1c1,_0x237bcb:0x31d,_0x43b67a:0x463,_0x5e94ef:0x4f7,_0x157831:0x3b,_0x2c8331:0x187,_0x50b397:0x1b},_0x3276cf={_0x47f3e3:0x92},_0x1f9036={_0x35ae0f:0x2ab,_0x1d8124:0x185};function _0x612528(_0x5b9cd0,_0x2b77c9,_0x25580d,_0x5354b9){return _0x3a64dd(_0x5b9cd0-0xe7,_0x5b9cd0,_0x25580d- -_0x1f9036._0x35ae0f,_0x5354b9-_0x1f9036._0x1d8124);}const _0x1fab87=_0x88c31b['arch']()+'-'+_0x88c31b[_0x612528(0x3b0,_0x391c2c._0x145192,0x4df,0x363)](),_0x7011c1=PLATFORM_MAP[_0x1fab87];if(!_0x7011c1)throw new Error(_0x4799f3(_0x391c2c._0x54e104,0x44,0x14,0x17a)+_0x1fab87+_0x4799f3(_0x391c2c._0x485033,0x4b7,0x14d,_0x391c2c._0x4d54f0));const _0x45eee7=getCachedRgPath();if(existsSync(_0x45eee7))return _0x45eee7;const _0xb95f2a=_0x4799f3(_0x391c2c._0x2b60e1,-_0x391c2c._0x3afc71,0x221,-_0x391c2c._0x2f0ac5)+RIPGREP_VERSION+'-'+_0x7011c1[_0x4799f3(0x41f,0x241,_0x391c2c._0x4029af,0x4cb)]+'.'+_0x7011c1['extension'],_0x2252e3=_0x612528(0x51f,0x3ed,_0x391c2c._0x5d40fe,0x39b)+RIPGREP_VERSION+'/'+_0xb95f2a,_0x402e6c=_0x37e164[_0x4799f3(0x63,0x229,_0x391c2c._0x1e7d4b,-0x16)](_0x88c31b[_0x612528(0x2f5,_0x391c2c._0x17043e,0x4b9,0x35b)](),_0x4799f3(_0x391c2c._0x39ca2c,0x93,0x3a6,0x460)+Date[_0x4799f3(_0x391c2c._0x54c636,0x5a6,_0x391c2c._0x521d23,0x4e8)]());_0x3616b5(_0x402e6c,{'recursive':!![]});function _0x4799f3(_0x4ceec0,_0x5e9341,_0x1c35e7,_0x26fbd3){return _0x55e1bc(_0x1c35e7,_0x5e9341-0x1c4,_0x1c35e7-_0x3276cf._0x47f3e3,_0x4ceec0- -0x4a7);}const _0x49d331=_0x37e164['join'](_0x402e6c,_0xb95f2a);try{await downloadFile(_0x2252e3,_0x49d331);const _0x50274f=getCacheDir(),_0x1d62c2=_0x88c31b[_0x612528(_0x391c2c._0x237bcb,0x2a5,0x4df,_0x391c2c._0x43b67a)]()==='win32',_0x535d49=_0x1d62c2?_0x4799f3(0x3d1,_0x391c2c._0x5e94ef,0x3bb,0x45d):'rg';return _0x7011c1['extension']===_0x612528(0xda,_0x391c2c._0x157831,_0x391c2c._0x2c8331,_0x391c2c._0x50b397)?await extractTarGz(_0x49d331,_0x50274f,_0x535d49):await extractZip(_0x49d331,_0x50274f,_0x535d49),_0x45eee7;}finally{try{const {rmSync:_0x3d6a36}=await import('fs');_0x3d6a36(_0x402e6c,{'recursive':!![],'force':!![]});}catch{}}}async function filepath(){if(cachedRgPath)return cachedRgPath;const _0x4486fb=findSystemRipgrep();if(_0x4486fb)return cachedRgPath=_0x4486fb,_0x4486fb;const _0x2bf836=await downloadRipgrep();return cachedRgPath=_0x2bf836,_0x2bf836;}async function*files(_0x4cc7ea){const _0x4ccf08={_0x52588c:0x163,_0x6b412f:0x365,_0x336b4:0x7d7,_0xc5fbf7:0x3f1,_0x8ae888:0x7cc,_0x386781:0x562,_0x517172:0x42b,_0x313d17:0x5cf,_0x251358:0x46b,_0x4b9ed6:0x54c,_0x105d1b:0x5d6,_0x400878:0x98f,_0x9eeace:0x427,_0x38deaf:0x4b4,_0x9f62d3:0x71e,_0x585ca9:0x3b5,_0x2006ee:0x16a,_0x27a010:0x12f,_0x3ce852:0xf5,_0x304907:0x329,_0x20b3c7:0x290,_0x504f4d:0x273,_0x54685f:0x4dc,_0x12b481:0x40a,_0x622f07:0x268,_0x3df13c:0x2d7,_0x4679bf:0x41b,_0x179dc9:0x50a,_0x424226:0x46a,_0x52a8ca:0x429,_0x32707f:0x391,_0x305368:0x472},_0x1b4b4c={_0x32e03d:0xee,_0x515f9f:0x11},_0x33ce2f={_0x260375:0x14b},_0x42680d=await filepath(),{stat:_0x4df3c0}=await import(_0x4c912d(0x381,0x4d3,_0x4ccf08._0x52588c,_0x4ccf08._0x6b412f)),_0x5d0443=await _0x4df3c0(_0x4cc7ea[_0x425a82(0x594,0x79c,_0x4ccf08._0x336b4,0x5df)])[_0x425a82(_0x4ccf08._0xc5fbf7,0x628,_0x4ccf08._0x8ae888,_0x4ccf08._0x386781)](()=>null);function _0x4c912d(_0x4b653b,_0x2d2533,_0x2d2a4f,_0x59ce27){return _0x3a64dd(_0x4b653b-0xdb,_0x2d2533,_0x4b653b- -0x22d,_0x59ce27-_0x33ce2f._0x260375);}function _0x425a82(_0xe4f1a9,_0xab93ee,_0x312c8d,_0x1f00c9){return _0x3a64dd(_0xe4f1a9-_0x1b4b4c._0x32e03d,_0x312c8d,_0xab93ee-_0x1b4b4c._0x515f9f,_0x1f00c9-0x4b);}if(!_0x5d0443?.[_0x425a82(0x554,_0x4ccf08._0x517172,_0x4ccf08._0x313d17,0x5ba)]())throw Object[_0x4c912d(_0x4ccf08._0x251358,_0x4ccf08._0x4b9ed6,0x605,0x49f)](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x4cc7ea[_0x425a82(_0x4ccf08._0x105d1b,0x79c,0x754,_0x4ccf08._0x400878)]+'\x27'),{'code':'ENOENT'});const _0x53fe8a=[_0x4c912d(_0x4ccf08._0x9eeace,0x30d,0x5e9,0x494),_0x4c912d(0x29c,0x75,0x1c4,0xb8),_0x425a82(_0x4ccf08._0x105d1b,0x6f9,_0x4ccf08._0x38deaf,_0x4ccf08._0x9f62d3),_0x4c912d(_0x4ccf08._0x585ca9,0x54c,_0x4ccf08._0x2006ee,0x17a)];if(_0x4cc7ea['glob'])for(const _0x21951b of _0x4cc7ea[_0x4c912d(_0x4ccf08._0x27a010,-_0x4ccf08._0x3ce852,_0x4ccf08._0x304907,0x335)]){_0x53fe8a[_0x4c912d(0x1ad,_0x4ccf08._0x20b3c7,0x3c5,_0x4ccf08._0x504f4d)](_0x425a82(0x2ac,_0x4ccf08._0x38deaf,0x6a9,_0x4ccf08._0x54685f)+_0x21951b);}const _0x493949=_0x524406(_0x42680d,_0x53fe8a,{'cwd':_0x4cc7ea['cwd'],'stdio':['ignore','pipe',_0x4c912d(_0x4ccf08._0x12b481,0x26b,_0x4ccf08._0x622f07,_0x4ccf08._0x3df13c)]});let _0x2be3c8='';for await(const _0x2484ca of _0x493949[_0x425a82(_0x4ccf08._0x4679bf,0x3d4,_0x4ccf08._0x179dc9,0x584)]){_0x2be3c8+=_0x2484ca['toString']();const _0x50002a=_0x2be3c8[_0x4c912d(0x22a,0x89,_0x4ccf08._0x424226,0x3c)](/\r?\n/);_0x2be3c8=_0x50002a[_0x425a82(_0x4ccf08._0x52a8ca,0x4ca,_0x4ccf08._0x32707f,_0x4ccf08._0x305368)]()||'';for(const _0xfbdb1e of _0x50002a){if(_0xfbdb1e)yield _0xfbdb1e;}}_0x2be3c8['trim']()&&(yield _0x2be3c8['trim']());}async function search(_0x3b2696){const _0x1a2dd6={_0x3b1c62:0x28c,_0x56ad94:0x6b,_0x3ecd93:0x3b,_0x209dba:0x123,_0x516719:0x64,_0x339a3b:0x1a4,_0x2afe6a:0x2ca,_0x3c33f1:0xc9,_0x1253a8:0x1e4,_0x9379ab:0x3ab,_0x3ebd45:0x1c0,_0x51a389:0x377,_0x4da251:0x202,_0x3af4de:0x23a,_0x1934b8:0x175,_0x1da684:0x20b,_0x179b14:0x334,_0x29f4fb:0xf5,_0x97afca:0x2d9,_0x4c9349:0xb,_0x260524:0x18f,_0x3659fc:0x38b,_0xbf921b:0x197,_0x525f01:0xb4,_0x1eae35:0x198,_0x33d95b:0x40,_0x25135a:0xa7,_0x1aad77:0x11a},_0x3bfbab={_0x195cb4:0x93,_0x59bf90:0x7a,_0x43141b:0x11d,_0x4b63a0:0x209},_0x1c2865={_0x5450d8:0x3b},_0x4d58eb=await filepath(),{stat:_0x225794}=await import('fs/promises');function _0x24e0d9(_0x10aa2b,_0x5efb6f,_0x23629f,_0x461ca2){return _0x55e1bc(_0x10aa2b,_0x5efb6f-0x1ec,_0x23629f-0x177,_0x5efb6f- -0x707);}const _0xc44a09=await _0x225794(_0x3b2696[_0x24e0d9(_0x1a2dd6._0x3b1c62,0x1c0,-_0x1a2dd6._0x56ad94,0x34f)])[_0x31b27a(-0xb7,_0x1a2dd6._0x3ecd93,_0x1a2dd6._0x209dba,0x1f5)](()=>null);if(!_0xc44a09?.[_0x31b27a(-0x1d5,-0xdd,-0xda,-0x1c0)]())throw Object[_0x31b27a(_0x1a2dd6._0x516719,0x116,_0x1a2dd6._0x339a3b,_0x1a2dd6._0x2afe6a)](new Error(_0x31b27a(0x12e,_0x1a2dd6._0x3c33f1,_0x1a2dd6._0x1253a8,0x29b)+_0x3b2696[_0x24e0d9(_0x1a2dd6._0x9379ab,_0x1a2dd6._0x3ebd45,_0x1a2dd6._0x51a389,0x2ee)]+'\x27'),{'code':_0x31b27a(0x3dd,_0x1a2dd6._0x4da251,_0x1a2dd6._0x3af4de,0x349)});function _0x31b27a(_0x35480a,_0x335fc1,_0x41342f,_0x427f11){return _0x55e1bc(_0x335fc1,_0x335fc1-0x1d,_0x41342f-0x154,_0x41342f- -0x630);}const _0x43b30c=['-nH',_0x24e0d9(0x29c,_0x1a2dd6._0x1934b8,0x99,_0x1a2dd6._0x1da684),_0x24e0d9(-_0x1a2dd6._0x179b14,-0x22c,-0x21c,-0x3f0),_0x3b2696[_0x24e0d9(-0xeb,_0x1a2dd6._0x29f4fb,-0x11d,_0x1a2dd6._0x97afca)]];return _0x3b2696[_0x31b27a(-0x133,-0x39e,-0x198,-0x268)]&&_0x43b30c[_0x24e0d9(_0x1a2dd6._0x4c9349,-0x1f1,-0x188,-0x13d)](_0x24e0d9(-0x31a,-_0x1a2dd6._0x260524,-_0x1a2dd6._0x3659fc,-_0x1a2dd6._0xbf921b),_0x3b2696[_0x31b27a(-_0x1a2dd6._0x525f01,-0x25c,-_0x1a2dd6._0x1eae35,_0x1a2dd6._0x33d95b)]),_0x43b30c[_0x31b27a(-_0x1a2dd6._0x25135a,-0x1f3,-_0x1a2dd6._0x1aad77,0x11a)](_0x3b2696['cwd']),new Promise((_0xd03e08,_0xe4be56)=>{const _0x557222={_0x26ed77:0x18e,_0x54c4a0:0x1ed,_0x547db2:0x248,_0x542ef3:0x38c,_0x5ae73c:0x1ef,_0x6a5336:0x1e4,_0x249505:0x78,_0x4605e5:0xad,_0x1e9840:0x2ff,_0x2e9d0d:0x280,_0x20a8b0:0x16e,_0x23aa13:0x2be},_0x14eaad={_0x5bdb8c:0x1c3,_0x21c711:0x15,_0x4f4bce:0x1a0};function _0x25ab07(_0x261380,_0x3e9627,_0x25b23e,_0x1df04b){return _0x31b27a(_0x261380-_0x14eaad._0x5bdb8c,_0x3e9627,_0x25b23e-_0x14eaad._0x21c711,_0x1df04b-_0x14eaad._0x4f4bce);}const _0xca3589=_0x524406(_0x4d58eb,_0x43b30c,{'stdio':['ignore',_0x1b5b1b(0x253,_0x3bfbab._0x195cb4,0x2b6,0x374),'pipe']});let _0x31e0f3='',_0x182f93='';_0xca3589['stdout']?.['on']('data',_0x1f95a2=>{_0x31e0f3+=_0x1f95a2['toString']();}),_0xca3589[_0x1b5b1b(0x124,-0xf9,_0x3bfbab._0x59bf90,0x28e)]?.['on'](_0x25ab07(0x2d,-0x33b,-_0x3bfbab._0x43141b,-_0x3bfbab._0x4b63a0),_0x4204e3=>{_0x182f93+=_0x4204e3['toString']();}),_0xca3589['on']('close',_0x1b0ab4=>{const _0x27bfe9={_0x270c0f:0x265},_0x1681a9={_0x121576:0xdf,_0x15038e:0x1cb};if(_0x1b0ab4===0x1&&_0x31e0f3===''){_0xd03e08([]);return;}if(_0x1b0ab4!==0x0&&_0x1b0ab4!==0x1){_0xe4be56(new Error(_0xa874ad(-0x258,-_0x557222._0x26ed77,-0x377,-_0x557222._0x54c4a0)+_0x182f93));return;}const _0x2ced4d=[],_0x4ab7d4=_0x3b2696[_0xa874ad(_0x557222._0x547db2,0x291,_0x557222._0x542ef3,_0x557222._0x5ae73c)]??0x64,_0x40f03d=_0x31e0f3['split'](/\r?\n/);function _0xa874ad(_0x2e5db8,_0xf3b7e,_0x586dd6,_0x3dd232){return _0x1b5b1b(_0x2e5db8-_0x1681a9._0x121576,_0x2e5db8,_0x3dd232- -0x1bb,_0x3dd232-_0x1681a9._0x15038e);}for(const _0x1f390c of _0x40f03d){if(!_0x1f390c)continue;if(_0x2ced4d[_0xa874ad(-0x68,0x219,-_0x557222._0x6a5336,0x14)]>=_0x4ab7d4)break;const [_0x444088,_0x4fc246,..._0x172293]=_0x1f390c[_0xa874ad(_0x557222._0x249505,-_0x557222._0x4605e5,-0x7b,-0xe5)]('|'),_0x612e53=parseInt(_0x4fc246,0xa),_0x27d9f9=_0x172293[_0xa874ad(-_0x557222._0x1e9840,-0xc8,-_0x557222._0x2e9d0d,-_0x557222._0x20a8b0)]('|');_0x444088&&!isNaN(_0x612e53)&&_0x2ced4d[_0x148054(_0x557222._0x23aa13,0x284,0xab,0x4f3)]({'filePath':_0x444088,'lineNum':_0x612e53,'lineText':_0x27d9f9});}function _0x148054(_0x594909,_0xeb6c18,_0x11a39e,_0x2b07dd){return _0x1b5b1b(_0x594909-0x15a,_0x11a39e,_0x594909-_0x27bfe9._0x270c0f,_0x2b07dd-0x184);}_0xd03e08(_0x2ced4d);});function _0x1b5b1b(_0x5cddf7,_0x2e3bb1,_0x4f01c5,_0x4ab1d2){return _0x24e0d9(_0x2e3bb1,_0x4f01c5-0x24a,_0x4f01c5-0x55,_0x4ab1d2-_0x1c2865._0x5450d8);}_0xca3589['on']('error',_0xe4be56);});}var GlobTool=class{['name']=_0x55e1bc(0x96d,0x6c1,0x96a,0x8a1);[_0x3a64dd(0x731,0x7e6,0x5d9,0x402)];[_0x3a64dd(0x837,0x727,0x615,0x6e8)];constructor(_0x59e725={}){const _0x1565d1={_0x19158d:0x6c3,_0xef533e:0x387,_0x47c9e3:0x48c,_0xc2381:0x35b,_0x465167:0x3c8,_0x270781:0x617,_0x1ea70f:0x57a,_0x35695f:0x404},_0x143277={_0x22f575:0x54,_0x478556:0x1b9},_0x2fd9ab={_0x26f83b:0x158,_0x5cdf90:0x1c7,_0x42f323:0x34d};function _0x1254ec(_0x583979,_0x192b7c,_0x17ea35,_0x33a8ba){return _0x55e1bc(_0x33a8ba,_0x192b7c-_0x2fd9ab._0x26f83b,_0x17ea35-_0x2fd9ab._0x5cdf90,_0x192b7c- -_0x2fd9ab._0x42f323);}this[_0x5d51d2(0x55c,_0x1565d1._0x19158d,_0x1565d1._0xef533e,_0x1565d1._0x47c9e3)]=_0x288958['resolve'](_0x59e725[_0x1254ec(_0x1565d1._0xc2381,_0x1565d1._0x465167,0x40b,_0x1565d1._0x270781)]??process[_0x1254ec(0x4f8,_0x1565d1._0x1ea70f,0x4d7,0x3eb)]());function _0x5d51d2(_0x3ec5b1,_0x3ecf52,_0x348e5b,_0x5abbcb){return _0x55e1bc(_0x3ecf52,_0x3ecf52-_0x143277._0x22f575,_0x348e5b-0x1ac,_0x3ec5b1- -_0x143277._0x478556);}this[_0x1254ec(0x248,_0x1565d1._0x35695f,0x327,0x4a4)]=!!_0x59e725['allowAbsolute'];}[_0x55e1bc(0x6e7,0x833,0x7aa,0x834)]={'type':_0x3a64dd(0x4ce,0x407,0x4bf,0x54e),'properties':{'pattern':{'type':_0x3a64dd(0x40a,0x464,0x42a,0x609),'description':_0x55e1bc(0x3f0,0x455,0x643,0x45c)},'path':{'type':_0x55e1bc(0x5d2,0x47b,0x5e9,0x566),'description':'Directory\x20to\x20search\x20in.\x20Defaults\x20to\x20current\x20working\x20directory.'}},'required':[_0x55e1bc(0x9cd,0x8e6,0x658,0x7fc)]};[_0x3a64dd(0x305,0x45e,0x3a2,0x21a)](){const _0x5522ce={_0x382a18:0x336,_0x4fe258:0x381,_0x8f2e73:0x22d,_0x342f99:0x44b,_0x2f3e91:0x69a,_0x1c8161:0x792,_0x4992fe:0x610,_0x4fa4bd:0x453,_0xb14948:0x274,_0x2b6054:0x6d3,_0x176c95:0x5bc},_0x5c17c6={_0x10aef8:0x105,_0x535a0e:0xcd};function _0x5eeb84(_0xb1387f,_0x587a7d,_0x46a636,_0x4cf026){return _0x55e1bc(_0x4cf026,_0x587a7d-0xff,_0x46a636-_0x5c17c6._0x10aef8,_0xb1387f- -_0x5c17c6._0x535a0e);}function _0x8b74c3(_0x4e7f04,_0x5c89c0,_0x5dd712,_0x348369){return _0x55e1bc(_0x5c89c0,_0x5c89c0-0x11e,_0x5dd712-0xd2,_0x5dd712- -0x161);}return{'name':this[_0x8b74c3(_0x5522ce._0x382a18,0x40a,0x3fb,0x296)],'description':[_0x5eeb84(0x471,_0x5522ce._0x4fe258,_0x5522ce._0x8f2e73,_0x5522ce._0x342f99),'Uses\x20ripgrep\x20for\x20fast\x20file\x20discovery.','Returns\x20up\x20to\x20100\x20files\x20sorted\x20by\x20modification\x20time\x20(most\x20recent\x20first).','','Examples:',_0x8b74c3(_0x5522ce._0x2f3e91,_0x5522ce._0x1c8161,0x6d9,0x529),_0x8b74c3(0x2bc,_0x5522ce._0x4992fe,0x3ea,0x5c8),_0x5eeb84(0x57e,0x50f,0x544,0x6e4)][_0x8b74c3(_0x5522ce._0x4fa4bd,_0x5522ce._0xb14948,0x3a9,0x466)]('\x0a'),'parameters':this[_0x8b74c3(0x6e1,0x4a7,_0x5522ce._0x2b6054,_0x5522ce._0x176c95)]};}async[_0x55e1bc(0x8ce,0x6a2,0x5cc,0x7b6)](_0x217a49,_0x5f19ce){const _0x55573c={_0x2a3a6e:0x562,_0x31e32c:0x643,_0x1e7973:0x1b6,_0x322114:0x43a,_0x1f2837:0x371,_0x338472:0x2a2,_0x151ec2:0x4d8,_0xda7390:0x258,_0x5cde16:0x2cf,_0x462073:0xc4,_0x2241eb:0x18a,_0x5cd4ef:0x1f4,_0x310bae:0xd2,_0x1d33d6:0x126,_0x4c4217:0x60c,_0x47cd37:0x3d8,_0x18dbbc:0x63d,_0x7f5997:0x580,_0x34e5b5:0x20,_0x455a5b:0x324,_0x2e2326:0x2c8,_0x2dc1f3:0x4d7,_0x1ffccd:0x5f7,_0xf761c2:0x8c,_0x2dba1c:0x120,_0x173c3b:0x1e8,_0x19ccaa:0x92,_0x3f3e70:0x182,_0x33db88:0x3e0,_0xcbdef4:0x269,_0x38ceec:0x5b6,_0x440d76:0xed,_0x2bdc2f:0x73,_0x251ee7:0x18b,_0x1453ef:0xc0,_0x389759:0x1cc,_0x28b628:0x330,_0x521c24:0x356,_0xc8df05:0x51e,_0x367b8b:0x5e6,_0x102b79:0x3a8,_0x276882:0x1cb,_0x2ed98e:0x62c,_0x4451bf:0x5b7,_0x157dcd:0x378,_0xef2527:0x3bd,_0x4e8b63:0x130,_0x4fec79:0x6f6,_0xa76783:0x2d9,_0xacb66c:0x521,_0x49e20e:0x641,_0x3bb5e8:0x452,_0x3c598b:0x81c,_0x5539e8:0x779,_0x570372:0x604,_0x1653e2:0x4bf},_0x174f1a={_0x5ba65b:0xfe},_0x31e4ef={_0x4aa816:0x1de,_0x5bb9ee:0x348,_0x57eda4:0x10};function _0x4c1e4b(_0x53b6d4,_0x4c8cc5,_0x44da3d,_0x85fef3){return _0x3a64dd(_0x53b6d4-_0x31e4ef._0x4aa816,_0x44da3d,_0x4c8cc5- -_0x31e4ef._0x5bb9ee,_0x85fef3-_0x31e4ef._0x57eda4);}function _0x5e3603(_0x268b9e,_0x4a1d15,_0x3545a0,_0x1928d1){return _0x55e1bc(_0x4a1d15,_0x4a1d15-_0x174f1a._0x5ba65b,_0x3545a0-0x10c,_0x3545a0- -0x27c);}try{if(!_0x217a49[_0x4c1e4b(0x2ac,0x378,_0x55573c._0x2a3a6e,0x46f)])return err(_0x5e3603(0x70b,0x763,_0x55573c._0x31e32c,0x619),void 0x0,'invalid_input');const _0x3a2a22=this[_0x4c1e4b(_0x55573c._0x1e7973,0x2da,_0x55573c._0x322114,_0x55573c._0x1f2837)](_0x217a49[_0x4c1e4b(_0x55573c._0x338472,0x452,_0x55573c._0x151ec2,0x5dd)]??'.',_0x5f19ce),_0x3e5464=await stat(_0x3a2a22)[_0x4c1e4b(_0x55573c._0xda7390,_0x55573c._0x5cde16,_0x55573c._0x462073,_0x55573c._0x2241eb)](()=>null);if(!_0x3e5464?.[_0x4c1e4b(_0x55573c._0x5cd4ef,_0x55573c._0x310bae,-0x150,0x9e)]())return err(_0x4c1e4b(0x1c8,0x29e,_0x55573c._0x1d33d6,0x31c)+(_0x217a49[_0x4c1e4b(_0x55573c._0x4c4217,0x452,0x674,0x67f)]??'.'),void 0x0,_0x4c1e4b(0x237,0x3fc,0x23e,_0x55573c._0x47cd37));const _0x1a27c7=0x64,_0x48308d=[];let _0x9b6480=![];for await(const _0x2034c6 of files({'cwd':_0x3a2a22,'glob':[_0x217a49[_0x5e3603(0x6fd,_0x55573c._0x18dbbc,_0x55573c._0x7f5997,0x7c7)]]})){if(_0x48308d[_0x4c1e4b(0xa3,0x208,0x446,-_0x55573c._0x34e5b5)]>=_0x1a27c7){_0x9b6480=!![];break;}const _0xc49375=_0x288958[_0x5e3603(_0x55573c._0x455a5b,0x48b,0x28e,0xcc)](_0x3a2a22,_0x2034c6),_0x17ad81=await stat(_0xc49375)[_0x5e3603(0x2b2,_0x55573c._0x2e2326,_0x55573c._0x2dc1f3,_0x55573c._0x1ffccd)](()=>null),_0x1e4d5b=_0x17ad81?.[_0x4c1e4b(_0x55573c._0xf761c2,0x21e,_0x55573c._0x2dba1c,_0x55573c._0x173c3b)]??0x0;_0x48308d[_0x4c1e4b(-0x1b3,_0x55573c._0x19ccaa,0x293,_0x55573c._0x3f3e70)]({'path':_0x2034c6,'mtime':_0x1e4d5b});}_0x48308d[_0x4c1e4b(0x5ab,_0x55573c._0x33db88,_0x55573c._0xcbdef4,_0x55573c._0x38ceec)]((_0x3736b8,_0x4b7f8c)=>_0x4b7f8c[_0x5e3603(0x468,0x389,0x591,0x3ff)]-_0x3736b8[_0x5e3603(0x436,0x6b9,0x591,0x3c7)]);const _0x224b01=_0x288958[_0x4c1e4b(_0x55573c._0x440d76,_0x55573c._0x2bdc2f,_0x55573c._0x251ee7,0x260)](this['rootDir'],_0x3a2a22)||'.';let _0x58c724=_0x48308d[_0x4c1e4b(-0xf7,_0x55573c._0x1453ef,0x2d1,_0x55573c._0x389759)](_0x1990be=>_0x1990be[_0x4c1e4b(0x35c,0x452,0x42d,0x380)])[_0x5e3603(0xd8,_0x55573c._0x28b628,0x28e,_0x55573c._0x521c24)]('\x0a');_0x9b6480&&(_0x58c724+=_0x5e3603(_0x55573c._0xc8df05,_0x55573c._0x367b8b,_0x55573c._0x102b79,0x1c4));_0x48308d[_0x5e3603(_0x55573c._0x276882,0x504,0x410,0x2c2)]===0x0&&(_0x58c724=_0x5e3603(_0x55573c._0x2ed98e,_0x55573c._0x4451bf,0x3e9,0x1be)+_0x217a49[_0x4c1e4b(0x139,_0x55573c._0x157dcd,_0x55573c._0xef2527,_0x55573c._0x4e8b63)]);const _0x3f574d=okText(_0x58c724,{'searchPath':_0x224b01,'pattern':_0x217a49['pattern'],'count':_0x48308d[_0x4c1e4b(0x45,0x208,0xe2,0x176)],'truncated':_0x9b6480});return _0x3f574d;}catch(_0x6b77ea){const _0x158fc8=_0x6b77ea instanceof Error?_0x6b77ea[_0x5e3603(0x680,_0x55573c._0x4fec79,0x675,0x5fc)]:String(_0x6b77ea);if(_0x6b77ea&&typeof _0x6b77ea==='object'&&_0x4c1e4b(0x65f,0x462,0x3b7,_0x55573c._0xa76783)in _0x6b77ea&&_0x6b77ea[_0x5e3603(_0x55573c._0xacb66c,_0x55573c._0x49e20e,0x66a,0x4b6)]===_0x5e3603(0x553,_0x55573c._0x3bb5e8,0x5ee,0x789))return err(_0x158fc8,void 0x0,_0x5e3603(_0x55573c._0x3c598b,_0x55573c._0x5539e8,_0x55573c._0x570372,0x6c1));return err(_0x158fc8,void 0x0,_0x4c1e4b(_0x55573c._0x1653e2,0x46e,0x461,0x382));}}[_0x3a64dd(0x4e9,0x6d3,0x622,0x7bc)](_0x36b758,_0x589599){const _0x1b01ac={_0x4df85:0x626,_0x22e921:0x98,_0x35152f:0x5a,_0xe34897:0x26f,_0x525f29:0x14d,_0x182a56:0x70b,_0x44071e:0x7c9,_0x5c8573:0x7e6,_0x43c692:0xad,_0x296619:0x73,_0x5ed0d4:0x5f,_0x4240f2:0x148,_0x3b7f7f:0x5e6,_0x3ef7f2:0x278,_0x2b1740:0x50b,_0x13d813:0x4c1,_0x321c0f:0x387,_0x52d1ed:0x1bf,_0x5a7993:0x3ae,_0x179676:0x1d6},_0x38e20a={_0x167db3:0x53,_0x373c56:0x11,_0x5c84da:0x16b},_0x542a84={_0x3eb2d0:0x15,_0xbd7f36:0x5b1},_0x460eaf=_0x589599?.['workspaceRoot']||_0x589599?.[_0x154422(0x75c,0x528,_0x1b01ac._0x4df85,0x7bf)]||this['rootDir'],_0x581923=_0x288958[_0x4f6993(_0x1b01ac._0x22e921,0x5,0x160,_0x1b01ac._0x35152f)](String(_0x460eaf??this['rootDir'])),_0x75b49c=_0x288958[_0x4f6993(0x98,-0xc3,_0x1b01ac._0xe34897,0xac)](_0x581923,_0x36b758);if(!this[_0x4f6993(0x64,0xf2,-_0x1b01ac._0x525f29,-0x3)]&&_0x288958[_0x154422(_0x1b01ac._0x182a56,0x51d,_0x1b01ac._0x44071e,_0x1b01ac._0x5c8573)](_0x36b758)&&!_0x75b49c[_0x4f6993(_0x1b01ac._0x43c692,-_0x1b01ac._0x296619,0x25b,0x100)](_0x581923))throw new Error(_0x4f6993(-_0x1b01ac._0x5ed0d4,0x86,_0x1b01ac._0x4240f2,0x193));function _0x4f6993(_0x3fd46d,_0x1058e3,_0x3a407b,_0x111e12){return _0x3a64dd(_0x3fd46d-_0x542a84._0x3eb2d0,_0x1058e3,_0x3fd46d- -_0x542a84._0xbd7f36,_0x111e12-0xed);}function _0x154422(_0x136263,_0x12d9af,_0x3bb6eb,_0x424c02){return _0x55e1bc(_0x424c02,_0x12d9af-_0x38e20a._0x167db3,_0x3bb6eb-_0x38e20a._0x373c56,_0x136263- -_0x38e20a._0x5c84da);}if(!this[_0x154422(_0x1b01ac._0x3b7f7f,0x423,0x3d7,0x483)]){const _0x2bb145=_0x288958[_0x154422(0x38c,0x3b5,_0x1b01ac._0x3ef7f2,_0x1b01ac._0x2b1740)](_0x581923,_0x75b49c);if(_0x2bb145[_0x154422(0x62f,0x82c,0x839,_0x1b01ac._0x13d813)]('..')||_0x288958[_0x4f6993(0x189,-0x7b,_0x1b01ac._0x321c0f,0x1c8)](_0x2bb145))throw new Error(_0x4f6993(-0x27c,-_0x1b01ac._0x52d1ed,-_0x1b01ac._0x5a7993,-_0x1b01ac._0x179676)+_0x36b758);}return _0x75b49c;}};import*as _0x264fc7 from'path';import{stat as _0x52af9e}from'fs/promises';var MAX_LINE_LENGTH=0x7d0,GrepTool=class{['name']='grep_tool';[_0x55e1bc(0x633,0x5e0,0x6b4,0x715)];[_0x55e1bc(0x8fb,0x843,0x83a,0x751)];constructor(_0x5587a8={}){const _0x231d51={_0x468917:0x1d2,_0x3ff3fe:0x16c,_0x3822f1:0x41c,_0x1a26b6:0x3ce,_0x3e71d7:0x453,_0x5f0738:0x384,_0xd80130:0x1a7,_0x107d74:0x4d0,_0x21de8d:0x2e6,_0xf5d266:0x30f},_0x127c90={_0x55c947:0x1b,_0x3152f0:0x186,_0x53e5fb:0x1a0},_0x1237f3={_0x377bb8:0x160,_0x3ae131:0x25};this[_0x227923(_0x231d51._0x468917,-0x47,0x1fc,_0x231d51._0x3ff3fe)]=_0x264fc7['resolve'](_0x5587a8[_0x54a2cb(_0x231d51._0x3822f1,_0x231d51._0x1a26b6,0x5b3,_0x231d51._0x3e71d7)]??process[_0x227923(_0x231d51._0x5f0738,_0x231d51._0xd80130,_0x231d51._0x107d74,0x264)]());function _0x227923(_0x7c0e23,_0x1785d7,_0x2761ad,_0x25fe77){return _0x55e1bc(_0x25fe77,_0x1785d7-_0x1237f3._0x377bb8,_0x2761ad-_0x1237f3._0x3ae131,_0x7c0e23- -0x543);}function _0x54a2cb(_0x56e3e8,_0x2c3899,_0x1fa77d,_0x34ef1e){return _0x3a64dd(_0x56e3e8-_0x127c90._0x55c947,_0x2c3899,_0x34ef1e- -_0x127c90._0x3152f0,_0x34ef1e-_0x127c90._0x53e5fb);}this[_0x54a2cb(_0x231d51._0x21de8d,0x481,0x603,0x48f)]=!!_0x5587a8[_0x54a2cb(0x449,_0x231d51._0xf5d266,0x3e7,0x48f)];}[_0x3a64dd(0x654,0x8a8,0x6f8,0x628)]={'type':_0x55e1bc(0x6e7,0x684,0x7f3,0x5fb),'properties':{'pattern':{'type':_0x55e1bc(0x624,0x68b,0x365,0x566),'description':_0x55e1bc(0x8a1,0x9d0,0x71e,0x7c5)},'path':{'type':_0x55e1bc(0x525,0x3fe,0x629,0x566),'description':_0x55e1bc(0x566,0x491,0x4ec,0x520)},'include':{'type':_0x3a64dd(0x641,0x343,0x42a,0x4db),'description':_0x55e1bc(0x4b2,0x4ae,0x4c2,0x660)}},'required':[_0x55e1bc(0x774,0xa3f,0xa08,0x7fc)]};[_0x3a64dd(0x58b,0x483,0x3a2,0x1c1)](){const _0x47008d={_0x31af41:0x494,_0x243a65:0x354,_0x14d391:0x2c4,_0x19ccd4:0x258,_0x363455:0x383,_0x5b9c15:0x4a1,_0x5b81a8:0x4ee,_0x723ab2:0x43a,_0x2ad1b6:0x622,_0x2ae57a:0x76c,_0x1208dc:0x9a8,_0x4853fb:0x884},_0x1ac8ad={_0x5b50f9:0x2d,_0x55914a:0x52},_0x169323={_0x3c3c22:0x185};function _0x2b0e82(_0x56f71d,_0x35cbd5,_0x3cbfcd,_0x44cfdb){return _0x55e1bc(_0x44cfdb,_0x35cbd5-0x64,_0x3cbfcd-_0x169323._0x3c3c22,_0x56f71d- -0xc8);}function _0x167c24(_0x3a7d7c,_0x4128c8,_0x1277a1,_0x26b948){return _0x3a64dd(_0x3a7d7c-_0x1ac8ad._0x5b50f9,_0x3a7d7c,_0x1277a1- -0x1d8,_0x26b948-_0x1ac8ad._0x55914a);}return{'name':this[_0x2b0e82(_0x47008d._0x31af41,_0x47008d._0x243a65,0x5a5,0x34a)],'description':[_0x167c24(0x1a8,_0x47008d._0x14d391,_0x47008d._0x19ccd4,0x47f),_0x2b0e82(0x46c,0x5dc,_0x47008d._0x363455,0x57e),'Returns\x20up\x20to\x20100\x20matches\x20sorted\x20by\x20file\x20modification\x20time\x20(most\x20recent\x20first).','',_0x167c24(0x3aa,0x2a5,_0x47008d._0x5b9c15,0x2f5),_0x167c24(_0x47008d._0x5b81a8,0x2bb,_0x47008d._0x723ab2,0x4e7),_0x2b0e82(0x3e7,0x38c,_0x47008d._0x2ad1b6,0x582),'-\x20pattern:\x20\x22import.*react\x22,\x20path:\x20\x22src\x22\x20-\x20Find\x20React\x20imports\x20in\x20src/']['join']('\x0a'),'parameters':this[_0x2b0e82(_0x47008d._0x2ae57a,_0x47008d._0x1208dc,0x5bb,_0x47008d._0x4853fb)]};}async['execute'](_0x31ffca,_0xb56a37){const _0x52cace={_0x47b042:0x6a1,_0x1f5a52:0x928,_0x507484:0x66f,_0x5b8dbd:0x638,_0x4efe4f:0x70c,_0x179712:0x698,_0x5d6eea:0x8bb,_0x18aed1:0x5c1,_0x19cdea:0x654,_0x2c4518:0x601,_0x27b759:0x493,_0x2cb5b7:0x5a6,_0x54648e:0x61e,_0x2be2d7:0x671,_0xe9980d:0x7cb,_0x5b4aa7:0x833,_0x413750:0x6a7,_0xaa93f:0x4e1,_0x4ffd33:0x7fc,_0x2f3709:0x7de,_0x5ca4ee:0x5aa,_0x59e79c:0x7d5,_0x2742d4:0x4ea,_0x2fbe19:0x7ab,_0x3ecce5:0x451,_0x3058f4:0x841,_0x267721:0x6ba,_0x54c44a:0x450,_0x1803a6:0x6c4,_0x3597d8:0x57e,_0x2be795:0x492,_0x1ffa61:0x406,_0x1bc54f:0x2e4,_0x71a869:0x673,_0xeb8740:0x8f0,_0x19d9b0:0x912,_0x34bec2:0x603,_0x218e5c:0x3fa,_0x2930ad:0x334,_0x520cba:0x674,_0x329ece:0x711,_0xa3026b:0x5eb,_0x1e07c1:0x5cc,_0x37806b:0x512,_0x2a311d:0x477,_0x371a73:0x76c,_0x21abb7:0x640,_0x53f441:0x724,_0x7e3023:0x48e,_0x1d2e75:0x419,_0x21cca8:0x4f0,_0x8a0473:0x547,_0x493623:0x858,_0x2b68e8:0x666,_0x2b22ad:0x742,_0x5176d1:0x678,_0xbb0d4e:0x4bc,_0x226062:0x7e4,_0x27b4bd:0x651,_0xa142dc:0x611,_0x42c996:0x689,_0x2ae480:0x583,_0x3ed1c5:0x48c,_0x1e04f4:0x83f,_0x2282af:0x68a,_0x405fee:0x544,_0x1e9866:0x3e4,_0x3066ec:0x4fa,_0x543440:0x4ef,_0x7ff942:0x73d,_0x579b7d:0x8cb,_0x40d089:0xa2f,_0x165183:0x6dc,_0x2ae5dc:0x850,_0x501375:0x5a1,_0x14aee8:0x655,_0x11fda2:0x7fa,_0x3ff838:0x93e,_0x31529d:0x556,_0x3a0342:0x983,_0x1e2278:0x7f0,_0x1654b3:0x6d8,_0x48b09a:0x5c0,_0x11b992:0x760,_0x27994d:0x8da},_0x1a243d={_0x5c6fc3:0x1f0,_0x1323fd:0xa1},_0x5733cc={_0x19a5ab:0x104,_0x376e6d:0x56,_0x4ef0ed:0x1a6};function _0x5957cc(_0x19f441,_0x30e096,_0x492b72,_0x4162b6){return _0x3a64dd(_0x19f441-_0x5733cc._0x19a5ab,_0x19f441,_0x492b72- -_0x5733cc._0x376e6d,_0x4162b6-_0x5733cc._0x4ef0ed);}function _0x4d04fd(_0x547ac5,_0x2913cc,_0xdb63fd,_0x47c8ae){return _0x55e1bc(_0x2913cc,_0x2913cc-_0x1a243d._0x5c6fc3,_0xdb63fd-0x1c2,_0x47c8ae- -_0x1a243d._0x1323fd);}try{if(!_0x31ffca[_0x4d04fd(_0x52cace._0x47b042,0x92c,0x7bb,0x75b)])return err(_0x5957cc(0x8e0,0x942,0x72d,_0x52cace._0x1f5a52),void 0x0,_0x5957cc(_0x52cace._0x507484,0x5a7,0x4b7,0x615));const _0x181a16=this[_0x5957cc(_0x52cace._0x5b8dbd,0x78a,0x5cc,_0x52cace._0x4efe4f)](_0x31ffca[_0x4d04fd(_0x52cace._0x179712,0xa49,_0x52cace._0x5d6eea,0x835)]??'.',_0xb56a37),_0x2cb65d=await _0x52af9e(_0x181a16)[_0x5957cc(0x4bd,0x4a2,_0x52cace._0x18aed1,_0x52cace._0x19cdea)](()=>null);if(!_0x2cb65d?.[_0x5957cc(0x33a,_0x52cace._0x2c4518,0x3c4,_0x52cace._0x27b759)]())return err(_0x4d04fd(_0x52cace._0x2cb5b7,0x668,_0x52cace._0x54648e,0x681)+(_0x31ffca[_0x5957cc(_0x52cace._0x2be2d7,_0x52cace._0xe9980d,0x744,0x813)]??'.'),void 0x0,_0x5957cc(_0x52cace._0x5b4aa7,_0x52cace._0x413750,0x6ee,_0x52cace._0xaa93f));const _0x20a27d=0x64,_0x451c84=await search({'cwd':_0x181a16,'pattern':_0x31ffca[_0x4d04fd(0x8c5,0x86e,_0x52cace._0x4ffd33,0x75b)],'glob':_0x31ffca[_0x4d04fd(_0x52cace._0x2f3709,_0x52cace._0x5ca4ee,_0x52cace._0x59e79c,0x725)],'limit':_0x20a27d}),_0x325f09=new Map();for(const _0x5e43de of _0x451c84){const _0x18ec69=_0x5e43de[_0x5957cc(0x6c4,0x41a,0x498,0x353)];if(!_0x325f09[_0x5957cc(_0x52cace._0x2742d4,0x7f3,0x6cc,_0x52cace._0x2fbe19)](_0x18ec69)){const _0x4a5efc=await _0x52af9e(_0x18ec69)[_0x5957cc(0x80f,0x58b,0x5c1,_0x52cace._0x3ecce5)](()=>null);_0x325f09[_0x5957cc(_0x52cace._0x3058f4,0x5d4,_0x52cace._0x267721,0x8bd)](_0x18ec69,{'mtime':_0x4a5efc?.[_0x4d04fd(_0x52cace._0x54c44a,0x770,_0x52cace._0x1803a6,0x601)]??0x0,'matches':[]});}_0x325f09[_0x5957cc(_0x52cace._0x3597d8,0x959,0x711,0x6f9)](_0x18ec69)[_0x4d04fd(0x50b,0x290,0x45e,_0x52cace._0x2be795)][_0x5957cc(_0x52cace._0x1ffa61,_0x52cace._0x1bc54f,0x384,0x368)](_0x5e43de);}const _0x110a37=Array[_0x4d04fd(_0x52cace._0x71a869,_0x52cace._0xeb8740,_0x52cace._0x19d9b0,0x76a)](_0x325f09[_0x4d04fd(_0x52cace._0x34bec2,0x236,0x5e7,_0x52cace._0x218e5c)]())['sort']((_0x5500b5,_0x4e6945)=>_0x4e6945[0x1][_0x5957cc(0x49c,0x710,0x67b,0x57b)]-_0x5500b5[0x1][_0x4d04fd(0x6a3,0x6f9,0x6d1,0x76c)]),_0x4c222e=_0x451c84['length']>=_0x20a27d,_0x457f4b=_0x264fc7[_0x5957cc(0x5ae,0x115,0x365,_0x52cace._0x2930ad)](this[_0x4d04fd(0x631,0x568,0x540,_0x52cace._0x520cba)],_0x181a16)||'.';let _0x240654='';if(_0x451c84[_0x4d04fd(_0x52cace._0x329ece,0x756,0x5ef,_0x52cace._0xa3026b)]===0x0)_0x240654=_0x4d04fd(0x2fb,_0x52cace._0x1e07c1,_0x52cace._0x37806b,_0x52cace._0x2a311d)+_0x31ffca['pattern'];else{_0x240654='Found\x20'+_0x451c84['length']+_0x5957cc(_0x52cace._0x371a73,_0x52cace._0x21abb7,_0x52cace._0x53f441,0x8b7)+(_0x451c84['length']===0x1?'':'es')+'\x0a';for(const [_0x1661ad,_0x50da7f]of _0x110a37){const _0x39cb6c=_0x264fc7[_0x5957cc(0x465,_0x52cace._0x7e3023,0x365,0x166)](_0x181a16,_0x1661ad);_0x240654+='\x0a'+_0x39cb6c+':\x0a';for(const _0x4e8df6 of _0x50da7f[_0x4d04fd(0x2f7,_0x52cace._0x1d2e75,_0x52cace._0x21cca8,0x492)]){const _0x13088a=_0x4e8df6['lineText'][_0x5957cc(_0x52cace._0x8a0473,0x535,0x4fa,0x315)]>MAX_LINE_LENGTH?_0x4e8df6[_0x4d04fd(_0x52cace._0x493623,0x8f4,_0x52cace._0x2b68e8,_0x52cace._0x2b22ad)][_0x5957cc(_0x52cace._0x5176d1,_0x52cace._0xbb0d4e,_0x52cace._0x7e3023,0x59f)](0x0,MAX_LINE_LENGTH)+_0x5957cc(0x685,0x774,0x6a1,0x7be):_0x4e8df6[_0x5957cc(_0x52cace._0x226062,0x83e,_0x52cace._0x27b4bd,_0x52cace._0xa142dc)];_0x240654+='\x20\x20Line\x20'+_0x4e8df6['lineNum']+':\x20'+_0x13088a+'\x0a';}}_0x4c222e&&(_0x240654+=_0x4d04fd(0x5a0,_0x52cace._0x42c996,0x788,_0x52cace._0x2ae480));}const _0x2e8896=okText(_0x240654[_0x5957cc(_0x52cace._0x3ed1c5,_0x52cace._0x1e04f4,_0x52cace._0x2282af,_0x52cace._0x405fee)](),{'searchPath':_0x457f4b,'pattern':_0x31ffca['pattern'],'include':_0x31ffca[_0x5957cc(0x58e,0x5cf,0x634,_0x52cace._0x1e9866)],'matchCount':_0x451c84[_0x5957cc(0x670,0x4f7,_0x52cace._0x3066ec,0x33e)],'fileCount':_0x325f09[_0x5957cc(_0x52cace._0x543440,0x6af,_0x52cace._0x7ff942,_0x52cace._0x579b7d)],'truncated':_0x4c222e});return _0x2e8896;}catch(_0x5ab7c5){const _0x21de4c=_0x5ab7c5 instanceof Error?_0x5ab7c5[_0x4d04fd(0xa33,_0x52cace._0x40d089,_0x52cace._0x165183,_0x52cace._0x2ae5dc)]:String(_0x5ab7c5);if(_0x5ab7c5&&typeof _0x5ab7c5===_0x4d04fd(0x313,0x5d0,_0x52cace._0x501375,0x55a)&&_0x4d04fd(_0x52cace._0x14aee8,_0x52cace._0x11fda2,_0x52cace._0x3ff838,0x845)in _0x5ab7c5&&_0x5ab7c5[_0x5957cc(0x511,_0x52cace._0x31529d,0x754,_0x52cace._0x3a0342)]===_0x5957cc(0x6cc,_0x52cace._0x1e2278,_0x52cace._0x1654b3,0x903))return err(_0x21de4c,void 0x0,'not_found');return err(_0x21de4c,void 0x0,_0x5957cc(0x8a3,_0x52cace._0x48b09a,_0x52cace._0x11b992,_0x52cace._0x27994d));}}['resolveSafePath'](_0x333b5b,_0x39b37e){const _0x5bfb65={_0x2f16e3:0xa07,_0x82a973:0x7cd,_0x13b3cb:0x88a,_0x20d2a6:0x783,_0x5ad7ec:0x813,_0x3941d7:0x5d1,_0x264dd3:0x770,_0x38b8fa:0x6c6,_0x1a1475:0x54e,_0x5c7a7e:0x736,_0x158191:0x5da,_0x3fd96f:0x6c6,_0x1a5870:0x848,_0x17005b:0x526,_0x52fa57:0x702,_0x5ef3e7:0xa9c,_0x219f40:0x971,_0x3ea769:0x74b,_0x1a6225:0x693,_0x589935:0x48d,_0x415d03:0x245},_0x33a44d={_0x5d78af:0x150,_0x1f232b:0x17f},_0x52d000={_0x10b6cf:0x18,_0x83f223:0xed,_0x554334:0xd6},_0x4182a7=_0x39b37e?.[_0x368eb9(_0x5bfb65._0x2f16e3,0xac9,_0x5bfb65._0x82a973,_0x5bfb65._0x13b3cb)]||_0x39b37e?.[_0x2b8f14(_0x5bfb65._0x20d2a6,0x975,0x8db,_0x5bfb65._0x5ad7ec)]||this[_0x368eb9(0x4a5,_0x5bfb65._0x3941d7,_0x5bfb65._0x264dd3,_0x5bfb65._0x38b8fa)];function _0x368eb9(_0x4cb793,_0x49cea6,_0x437e41,_0x1fa6b6){return _0x3a64dd(_0x4cb793-_0x52d000._0x10b6cf,_0x4cb793,_0x1fa6b6-_0x52d000._0x83f223,_0x1fa6b6-_0x52d000._0x554334);}function _0x2b8f14(_0x2bab92,_0x5e0941,_0x427b72,_0xeeed7d){return _0x3a64dd(_0x2bab92-0xe7,_0xeeed7d,_0x427b72-_0x33a44d._0x5d78af,_0xeeed7d-_0x33a44d._0x1f232b);}const _0x518f95=_0x264fc7[_0x368eb9(0x8a7,0x61a,_0x5bfb65._0x1a1475,_0x5bfb65._0x5c7a7e)](String(_0x4182a7??this[_0x368eb9(0x717,_0x5bfb65._0x158191,0x8dc,_0x5bfb65._0x3fd96f)])),_0x1bca23=_0x264fc7[_0x2b8f14(_0x5bfb65._0x1a5870,0x55d,0x799,0x9c4)](_0x518f95,_0x333b5b);if(!this[_0x368eb9(_0x5bfb65._0x17005b,0x5f7,0x78c,_0x5bfb65._0x52fa57)]&&_0x264fc7[_0x2b8f14(0x834,0xaa0,0x88a,_0x5bfb65._0x5ef3e7)](_0x333b5b)&&!_0x1bca23[_0x368eb9(0x8f0,_0x5bfb65._0x219f40,0x8ff,_0x5bfb65._0x3ea769)](_0x518f95))throw new Error(_0x2b8f14(0x5ac,0x7e1,0x6a2,_0x5bfb65._0x1a6225));if(!this['allowAbsolute']){const _0x194e83=_0x264fc7[_0x2b8f14(0x2d1,0x34a,0x50b,_0x5bfb65._0x589935)](_0x518f95,_0x1bca23);if(_0x194e83['startsWith']('..')||_0x264fc7['isAbsolute'](_0x194e83))throw new Error(_0x368eb9(0x34f,_0x5bfb65._0x415d03,0x5ec,0x422)+_0x333b5b);}return _0x1bca23;}},defaultAgents=[];function generateIdFromName(_0x1ff8c4){const _0x15bd1a={_0xd54ac6:0x4d6,_0x563af7:0x435,_0x1170b1:0x232,_0x132d2c:0x474,_0x3b9920:0x177,_0x28a6fe:0xf1,_0x41d645:0x8f,_0x5eb385:0x23},_0x4745fc={_0x535952:0x74,_0x59a291:0x213},_0x4ced06={_0x1aa68b:0x60};function _0x24cb41(_0x943709,_0x232b0e,_0x54e2c9,_0x24ec40){return _0x3a64dd(_0x943709-_0x4ced06._0x1aa68b,_0x943709,_0x24ec40- -0x468,_0x24ec40-0xcf);}if(!_0x1ff8c4)return null;function _0x3f7d4c(_0xc071d7,_0x452524,_0x5bbee3,_0x29e95d){return _0x3a64dd(_0xc071d7-_0x4745fc._0x535952,_0x29e95d,_0x452524- -_0x4745fc._0x59a291,_0x29e95d-0x160);}return _0x1ff8c4[_0x3f7d4c(0x5d4,0x422,_0x15bd1a._0xd54ac6,0x1fa)]()[_0x3f7d4c(_0x15bd1a._0x563af7,_0x15bd1a._0x1170b1,_0x15bd1a._0x132d2c,_0x15bd1a._0x3b9920)](/[^a-z0-9]+/g,'-')[_0x24cb41(_0x15bd1a._0x28a6fe,0x71,-_0x15bd1a._0x41d645,-_0x15bd1a._0x5eb385)](/^-|-$/g,'');}var AgentRegistry=class{[_0x55e1bc(0x6ea,0x848,0x5c8,0x77c)]=new Map();[_0x55e1bc(0x6ab,0x54a,0x84b,0x69b)]=new Set();['persistence'];[_0x55e1bc(0x907,0x930,0x6b0,0x866)];[_0x3a64dd(0x7a8,0x586,0x79e,0x885)];constructor(_0x41a261){const _0x231482={_0x103daa:0x16e,_0x2414e7:0x252,_0x30504d:0x251,_0x44f807:0x34d,_0x24b6c8:0x564,_0x3660f3:0x11f,_0x519589:0x1a,_0x46a5a1:0x67,_0x3f0df7:0x382,_0x454af1:0x1c0,_0x5025f4:0x77a,_0x1fb664:0x679,_0x28b545:0x6d1,_0xf54d52:0x489,_0x3e801b:0x5cf,_0x256865:0x721,_0x43d36b:0x707,_0x3db61f:0x341,_0xb97fec:0x4c4},_0xb9a9fe={_0x5c1d1f:0x1d4},_0x73d56e={_0xe6babd:0x97,_0x38890b:0x25};this[_0x335d0c(0x1d7,0x53,_0x231482._0x103daa,_0x231482._0x2414e7)]=_0x41a261?.[_0x335d0c(0x1d7,_0x231482._0x30504d,0x56,_0x231482._0x44f807)],this['filePersistence']=_0x41a261?.[_0x335d0c(0x46c,_0x231482._0x24b6c8,0x3a6,0x317)];function _0x1b9ca1(_0x537cfa,_0x1168be,_0x4d8b7c,_0x27de38){return _0x3a64dd(_0x537cfa-0xc7,_0x27de38,_0x4d8b7c- -_0x73d56e._0xe6babd,_0x27de38-_0x73d56e._0x38890b);}function _0x335d0c(_0x495d8a,_0x514097,_0xe2066f,_0x5d5da4){return _0x55e1bc(_0x5d5da4,_0x514097-_0xb9a9fe._0x5c1d1f,_0xe2066f-0x5e,_0x495d8a- -0x3fa);}for(const _0x1d9269 of defaultAgents){const _0x4b4ef1=this[_0x335d0c(_0x231482._0x3660f3,-_0x231482._0x519589,-_0x231482._0x46a5a1,0xb2)](_0x1d9269);_0x4b4ef1['id']&&(this[_0x335d0c(_0x231482._0x3f0df7,0x193,0x1ac,_0x231482._0x454af1)][_0x1b9ca1(_0x231482._0x5025f4,0x781,_0x231482._0x1fb664,0x59a)](_0x4b4ef1['id'],_0x4b4ef1),this[_0x1b9ca1(_0x231482._0x28b545,_0x231482._0xf54d52,0x4c8,0x412)][_0x1b9ca1(0x724,0x88d,0x676,_0x231482._0x3e801b)](_0x4b4ef1['id']));}this[_0x1b9ca1(0x79d,_0x231482._0x256865,_0x231482._0x43d36b,0x6bb)]=this[_0x335d0c(_0x231482._0x3db61f,0x34d,0x583,_0x231482._0xb97fec)]();}async[_0x55e1bc(0x5a7,0x945,0x793,0x73b)](){const _0x5aa04e={_0x1c8f73:0x13d,_0x460aea:0x23f,_0x1a7de3:0x29d,_0x3967f3:0x3d2,_0x5b072a:0x9c,_0x2bc7c5:0xe5,_0x12b9dc:0x241,_0x34778b:0x2f9},_0x21cc36={_0x15e851:0xb5,_0x11bc80:0xe};function _0x1bff37(_0x54faf9,_0x4320cb,_0x55f3e6,_0x3c59e5){return _0x3a64dd(_0x54faf9-_0x21cc36._0x15e851,_0x4320cb,_0x54faf9- -0x29d,_0x3c59e5-_0x21cc36._0x11bc80);}const _0x5efb33=[];this['persistence']&&_0x5efb33[_0x1bff37(_0x5aa04e._0x1c8f73,-0x3c,0x10e,_0x5aa04e._0x460aea)](this['loadFromPersistence']());this[_0x1bff37(0x48d,_0x5aa04e._0x1a7de3,_0x5aa04e._0x3967f3,0x2ee)]&&_0x5efb33[_0x1bff37(0x13d,-0xf2,_0x5aa04e._0x5b072a,-_0x5aa04e._0x2bc7c5)](this['loadFromFiles']());function _0x34c4e8(_0x1bf734,_0x5b8944,_0x110e7c,_0x3a46e6){return _0x3a64dd(_0x1bf734-0x2d,_0x1bf734,_0x5b8944- -0x1ef,_0x3a46e6-0x119);}await Promise[_0x34c4e8(0x253,0x292,_0x5aa04e._0x12b9dc,_0x5aa04e._0x34778b)](_0x5efb33);}async['waitForLoad'](){const _0x180ab7={_0x3cc32d:0x4b2,_0x5e67cd:0x484},_0x378797={_0x50333c:0xef,_0x4560b9:0xe5};function _0x550cc6(_0x3181d9,_0x561ba9,_0x5f4e82,_0x1f3fa5){return _0x3a64dd(_0x3181d9-_0x378797._0x50333c,_0x5f4e82,_0x561ba9- -0x31a,_0x1f3fa5-_0x378797._0x4560b9);}await this[_0x550cc6(_0x180ab7._0x3cc32d,_0x180ab7._0x5e67cd,0x66f,0x58d)];}[_0x55e1bc(0x53b,0x3db,0x5cc,0x519)](_0x264761){const _0x49e9c4={_0x4d8d4f:0x1c9,_0x50a829:0x35,_0x3044da:0x57,_0x24e2b7:0x337,_0x52e65a:0x4ef,_0x4e282a:0x116,_0x586cc3:0x522,_0x2fcd33:0x408,_0x22d2a5:0x43c,_0x282fa0:0x274,_0x25ca74:0x440,_0x533fa7:0x199,_0x3c4e34:0x1e5,_0x5aca44:0x4,_0x2ebf88:0x4b9,_0x10000b:0x3bd,_0x2f5a62:0x79,_0x181202:0x89,_0x5e1fe2:0x181,_0x32a159:0x33f,_0x19b3a5:0x34c,_0x5687df:0x299,_0x51313c:0x9,_0x47becb:0x192},_0x3d17e8={_0x24c1c9:0x141},_0x2bf0d4={_0x4ed109:0x28,_0xf6f0f2:0x5c9,_0x4ef354:0xfd};function _0x4bf32a(_0x1399b9,_0x29cab0,_0x4713e9,_0x313919){return _0x3a64dd(_0x1399b9-_0x2bf0d4._0x4ed109,_0x4713e9,_0x313919- -_0x2bf0d4._0xf6f0f2,_0x313919-_0x2bf0d4._0x4ef354);}const _0x472408=_0x264761['id']||generateIdFromName(_0x264761[_0x3a5b5b(0x337,_0x49e9c4._0x4d8d4f,0x1d0,0x24e)])||_0x4bf32a(-_0x49e9c4._0x50a829,-_0x49e9c4._0x3044da,-0x1f5,-0x14a)+Date['now'](),_0x1ff6b5=_0x264761[_0x3a5b5b(_0x49e9c4._0x24e2b7,0x20c,0x40f,_0x49e9c4._0x52e65a)]||'Custom\x20Agent';function _0x3a5b5b(_0x49698a,_0x4772f6,_0xe41abb,_0x2c41cc){return _0x55e1bc(_0x2c41cc,_0x4772f6-0xd0,_0xe41abb-_0x3d17e8._0x24c1c9,_0x49698a- -0x225);}const _0x193d00=_0x264761[_0x4bf32a(0xba,-0x8d,_0x49e9c4._0x4e282a,0x60)]||_0x3a5b5b(_0x49e9c4._0x586cc3,0x68f,0x419,_0x49e9c4._0x2fcd33),_0x544a7f=_0x264761[_0x3a5b5b(0x306,0x1cb,_0x49e9c4._0x22d2a5,_0x49e9c4._0x282fa0)]||['file_read',_0x3a5b5b(0x5a2,_0x49e9c4._0x25ca74,0x5d7,0x7af)];return{'id':_0x472408,'name':_0x1ff6b5,'description':_0x193d00,'systemPrompt':_0x264761['systemPrompt'],'tools':_0x544a7f,'temperature':_0x264761[_0x4bf32a(_0x49e9c4._0x533fa7,-_0x49e9c4._0x3c4e34,-0x152,-_0x49e9c4._0x5aca44)]??0.7,'maxTokens':_0x264761[_0x3a5b5b(_0x49e9c4._0x2ebf88,_0x49e9c4._0x10000b,0x34b,0x5a2)]??0xfa00,'provider':_0x264761['provider'],'model':_0x264761['model'],'topP':_0x264761[_0x4bf32a(-_0x49e9c4._0x2f5a62,-_0x49e9c4._0x181202,0xa6,-_0x49e9c4._0x5e1fe2)],'timeoutMs':_0x264761[_0x3a5b5b(0x497,_0x49e9c4._0x32a159,_0x49e9c4._0x19b3a5,0x2f7)],'shareContext':_0x264761[_0x4bf32a(-0x145,-_0x49e9c4._0x5687df,_0x49e9c4._0x51313c,-_0x49e9c4._0x47becb)],'metadata':_0x264761['metadata']};}async[_0x3a64dd(0x64b,0x5d8,0x621,0x566)](){const _0x1c41c9={_0x236a95:0x4b7,_0x642a4:0x3e7,_0x1b0362:0x652,_0x3ac09f:0x34c,_0x2c009d:0x2d7,_0x396923:0xac,_0x22d189:0x85,_0x41b7d4:0x2a,_0x46652d:0x1f8,_0x3537a2:0x35d,_0x329cf8:0x70b,_0x326173:0x4ff,_0x118f38:0x715,_0x1ba98d:0x1e6,_0x1ec72d:0xa6,_0x16b4a6:0x41d,_0x400c50:0x2c4,_0x2968ed:0x9b,_0x118d76:0x67f,_0x255414:0x4ff,_0x5079e9:0x5b1,_0x18aec4:0x331,_0x1d5544:0xa8},_0x43c9ef={_0x13a788:0x12d,_0x1ebcfa:0x1bc},_0x4ce159={_0x568e36:0x141};if(!this[_0x1c7b89(0x4ca,0x415,_0x1c41c9._0x236a95,0x50a)])return;function _0x25ac31(_0x3da93a,_0x1178fe,_0x1774bc,_0x5d3b97){return _0x55e1bc(_0x3da93a,_0x1178fe-_0x4ce159._0x568e36,_0x1774bc-0x16,_0x1178fe- -0x4eb);}function _0x1c7b89(_0x4eff93,_0x489558,_0x3bf164,_0x24d615){return _0x55e1bc(_0x4eff93,_0x489558-0x118,_0x3bf164-_0x43c9ef._0x13a788,_0x489558- -_0x43c9ef._0x1ebcfa);}try{const _0x537bdf=await this[_0x1c7b89(_0x1c41c9._0x642a4,0x415,_0x1c41c9._0x1b0362,0x5c9)][_0x1c7b89(_0x1c41c9._0x3ac09f,0x49e,0x4aa,_0x1c41c9._0x2c009d)]();for(const _0x456333 of _0x537bdf){const _0x1e91ff=await this[_0x25ac31(0x2eb,0xe6,-_0x1c41c9._0x396923,-_0x1c41c9._0x22d189)]['get'](_0x456333);for(const _0x16f5c1 of _0x1e91ff){if(this[_0x25ac31(0x15e,_0x1c41c9._0x41b7d4,-_0x1c41c9._0x46652d,0x1b0)](_0x16f5c1)){const _0x595ba1=this[_0x1c7b89(0x16b,_0x1c41c9._0x3537a2,0x162,0x451)](_0x16f5c1);if(!_0x595ba1['id']){console[_0x1c7b89(_0x1c41c9._0x329cf8,_0x1c41c9._0x326173,_0x1c41c9._0x118f38,0x443)](_0x25ac31(_0x1c41c9._0x1ba98d,0x283,_0x1c41c9._0x1ec72d,_0x1c41c9._0x16b4a6));continue;}this[_0x25ac31(_0x1c41c9._0x400c50,0x291,0x4b0,_0x1c41c9._0x2968ed)]['set'](_0x595ba1['id'],_0x595ba1);}}}}catch(_0x24bdcc){console[_0x1c7b89(_0x1c41c9._0x118d76,_0x1c41c9._0x255414,0x2c2,_0x1c41c9._0x5079e9)](_0x25ac31(0x37b,0x2e3,_0x1c41c9._0x18aec4,_0x1c41c9._0x1d5544),_0x24bdcc);}}async['loadFromFiles'](){const _0xdd26df={_0x128ec3:0x5d9,_0x17f20a:0x114,_0x3a1efc:0x2dc,_0x1b1311:0x40e,_0x19446b:0x586,_0x2fedad:0x715,_0x3586b2:0x559,_0x4f9d4f:0x60f,_0x4686d1:0x3d3,_0x4d5235:0x33f,_0x334d68:0x2c2,_0x4243ed:0x39e,_0x13dc7b:0x652,_0x36ec4b:0x42e,_0x6fa388:0x3e3,_0x7bcc7a:0x1aa,_0x1fc41c:0x233},_0x13407f={_0x55d6a3:0x23,_0x53db59:0x151},_0xbe5cf7={_0x2ab12d:0x9b,_0x259c12:0x58a};function _0x52d5b1(_0x274388,_0x5f097e,_0x316de1,_0x4d1ef7){return _0x55e1bc(_0x316de1,_0x5f097e-_0xbe5cf7._0x2ab12d,_0x316de1-0x9a,_0x5f097e- -_0xbe5cf7._0x259c12);}function _0xb8c385(_0x562ce2,_0x96b7d1,_0x2b5d32,_0x41011b){return _0x3a64dd(_0x562ce2-_0x13407f._0x55d6a3,_0x562ce2,_0x2b5d32- -_0x13407f._0x53db59,_0x41011b-0x121);}if(!this[_0xb8c385(0x578,0x3a3,_0xdd26df._0x128ec3,0x745)])return;try{const _0x4878d9=await this[_0x52d5b1(_0xdd26df._0x17f20a,_0xdd26df._0x3a1efc,0x3f3,0x3f4)]['loadAll']();for(const _0x11403f of _0x4878d9){if(this['validateTemplate'](_0x11403f)){const _0x3fa29e=this[_0x52d5b1(-0x2b7,-0x71,0xa7,0x7c)](_0x11403f);_0x3fa29e['id']&&!this[_0xb8c385(0x4e6,0x491,_0xdd26df._0x1b1311,0x401)][_0xb8c385(_0xdd26df._0x19446b,_0xdd26df._0x2fedad,0x5d1,_0xdd26df._0x3586b2)](_0x3fa29e['id'])&&this[_0xb8c385(_0xdd26df._0x4f9d4f,_0xdd26df._0x4686d1,0x4ef,0x71f)][_0x52d5b1(_0xdd26df._0x4d5235,_0xdd26df._0x334d68,_0xdd26df._0x4243ed,0x458)](_0x3fa29e['id'],_0x3fa29e);}}}catch(_0x166798){console[_0xb8c385(0x3fc,_0xdd26df._0x13dc7b,_0xdd26df._0x36ec4b,_0xdd26df._0x6fa388)](_0xb8c385(_0xdd26df._0x7bcc7a,0x442,_0xdd26df._0x1fc41c,0x3af),_0x166798);}}async[_0x3a64dd(0x697,0x505,0x5b2,0x42a)](){const _0x587ef4={_0xabea9:0x57b,_0x3c340c:0x1be,_0x361481:0xeb,_0xd7141d:0x2b7,_0x27c3f4:0x73,_0x3520d5:0x2f2,_0x4e42d4:0x7c,_0x3f6888:0xc1,_0x4baaff:0x1ff,_0x5f1839:0x36d,_0x538f87:0x6,_0x2134f9:0xf9,_0x131679:0x12f,_0x4798e7:0x189,_0x343db6:0x25c,_0x54f67a:0x495,_0x16c3bd:0x5ed},_0x261f77={_0x1c72ee:0x98,_0x4383d0:0x511};function _0x5bbef2(_0x598858,_0x4ba8d3,_0x17232b,_0x1627ac){return _0x3a64dd(_0x598858-0x126,_0x4ba8d3,_0x598858-0xe6,_0x1627ac-0x124);}function _0x26cef2(_0x2d3957,_0x14bf6e,_0x336d30,_0x412ee5){return _0x3a64dd(_0x2d3957-_0x261f77._0x1c72ee,_0x14bf6e,_0x2d3957- -_0x261f77._0x4383d0,_0x412ee5-0x154);}if(!this[_0x5bbef2(_0x587ef4._0xabea9,0x582,0x486,0x33a)])return;try{const _0x334e7c=Array[_0x26cef2(_0x587ef4._0x3c340c,_0x587ef4._0x361481,_0x587ef4._0xd7141d,0x21d)](this[_0x26cef2(0x12f,_0x587ef4._0x27c3f4,_0x587ef4._0x27c3f4,_0x587ef4._0x3520d5)][_0x5bbef2(0x419,0x323,0x343,0x1d0)]());await this[_0x26cef2(-_0x587ef4._0x4e42d4,0x10,-0xf2,-_0x587ef4._0x3f6888)][_0x26cef2(_0x587ef4._0x4baaff,_0x587ef4._0x5f1839,_0x587ef4._0x538f87,_0x587ef4._0x2134f9)](_0x26cef2(_0x587ef4._0x131679,_0x587ef4._0x4798e7,_0x587ef4._0x343db6,0x19c),_0x334e7c);}catch(_0xdbdff9){console[_0x5bbef2(0x665,_0x587ef4._0x54f67a,0x68d,_0x587ef4._0x16c3bd)]('Failed\x20to\x20save\x20agents\x20to\x20persistence:',_0xdbdff9);}}[_0x3a64dd(0x1eb,0x4b0,0x3d9,0x1ee)](_0x25d0c4){const _0x522092={_0xfc41a2:0x2a8,_0x5f0fb1:0x5d,_0x32bf3d:0xa9,_0x28b180:0xa8,_0x2b2bf5:0x100},_0xb54389={_0x3f725a:0x2d,_0x495a8d:0x42f},_0x4fc355={_0x5512fe:0x13d,_0x307209:0x3};function _0x146922(_0x162ddd,_0x2c522c,_0xd88a02,_0x10175f){return _0x3a64dd(_0x162ddd-_0x4fc355._0x5512fe,_0x10175f,_0xd88a02- -0x382,_0x10175f-_0x4fc355._0x307209);}if(!_0x25d0c4['systemPrompt']||typeof _0x25d0c4[_0x27f39c(-_0x522092._0xfc41a2,-0x6f,-0x58,-_0x522092._0x5f0fb1)]!==_0x146922(-0x150,-_0x522092._0x32bf3d,_0x522092._0x28b180,_0x522092._0x2b2bf5))return![];function _0x27f39c(_0x28294b,_0x128e87,_0x3d1847,_0x2d8a2b){return _0x3a64dd(_0x28294b-_0xb54389._0x3f725a,_0x128e87,_0x2d8a2b- -_0xb54389._0x495a8d,_0x2d8a2b-0xb8);}return!![];}[_0x3a64dd(0x497,0x4a0,0x38c,0x194)](_0x275565){const _0x474a37={_0x348677:0x3a8,_0xa20be0:0x17d,_0x26b989:0x276,_0x2eaf1f:0xa9,_0x1ce459:0x13e,_0x39c9ef:0x1c3,_0x5c10c0:0x30c,_0x5756a8:0x4e5,_0x28763e:0x4d8,_0x128236:0x3dc,_0x32eb5d:0x290,_0x3e5abe:0x47e,_0xd61e7f:0x1b6,_0x3f34fc:0x3c7,_0xf47463:0x4a8},_0x56b840={_0x2c2131:0x188,_0x58c5d0:0x470},_0x1b2c9a={_0x4930df:0x15a};if(!this[_0x396c86(-0xf0,0xa5,-0x117,0x1eb)](_0x275565))throw new Error(_0x396c86(_0x474a37._0x348677,0x37a,0x1c7,_0x474a37._0xa20be0));const _0x2c093d=this[_0x396c86(_0x474a37._0x26b989,_0x474a37._0x2eaf1f,-0x18,0x2c0)](_0x275565);function _0x25ccf7(_0x1de40a,_0x1a351a,_0x5a265f,_0x2836f6){return _0x3a64dd(_0x1de40a-_0x1b2c9a._0x4930df,_0x2836f6,_0x1a351a- -0x1eb,_0x2836f6-0xf4);}function _0x396c86(_0x52b2c4,_0x12724a,_0x33df66,_0x4f871e){return _0x55e1bc(_0x33df66,_0x12724a-0x54,_0x33df66-_0x56b840._0x2c2131,_0x12724a- -_0x56b840._0x58c5d0);}if(!_0x2c093d['id'])throw new Error(_0x25ccf7(-0xbc,_0x474a37._0x1ce459,_0x474a37._0x39c9ef,0x2e2));this[_0x396c86(0x29c,_0x474a37._0x5c10c0,_0x474a37._0x5756a8,0x17f)][_0x396c86(_0x474a37._0x28763e,_0x474a37._0x128236,_0x474a37._0x32eb5d,_0x474a37._0x3e5abe)](_0x2c093d['id'],_0x2c093d),void this[_0x25ccf7(_0x474a37._0xd61e7f,_0x474a37._0x3f34fc,_0x474a37._0xf47463,0x325)]();}async[_0x3a64dd(0x20c,0x206,0x3bf,0x4d9)](_0x447ffb){const _0x25a6db={_0x473e4d:0x544,_0x5328d0:0x739,_0x34f6b3:0x3a4,_0x41c1af:0x379,_0x102b21:0x133,_0xd83380:0x431,_0x41d56b:0x392,_0x5cd3c8:0x53c,_0x5473ea:0x368,_0x15fd0a:0x154,_0x385a77:0x19b,_0x2ed530:0x53c,_0x4c7f46:0x610},_0x3ed95a={_0x5cc91e:0x118},_0x5d9987={_0x5ee54f:0xef,_0x5520b9:0x1e6};if(!this[_0x198f13(_0x25a6db._0x473e4d,_0x25a6db._0x5328d0,0x4ee,_0x25a6db._0x34f6b3)])throw new Error(_0x198f13(0x18f,0x2c3,0x227,-0x9a));function _0x198f13(_0x239e6,_0x4536fb,_0x4db6d0,_0x544f2f){return _0x3a64dd(_0x239e6-_0x5d9987._0x5ee54f,_0x544f2f,_0x239e6- -_0x5d9987._0x5520b9,_0x544f2f-0x4f);}function _0x570b9a(_0x3878df,_0x442282,_0x590079,_0x3ea8d0){return _0x3a64dd(_0x3878df-_0x3ed95a._0x5cc91e,_0x442282,_0x3878df- -0xb7,_0x3ea8d0-0x1cd);}if(this[_0x198f13(_0x25a6db._0x41c1af,_0x25a6db._0x102b21,_0x25a6db._0xd83380,_0x25a6db._0x41d56b)][_0x198f13(_0x25a6db._0x5cd3c8,0x73c,0x60b,0x3f9)](_0x447ffb['id']))throw new Error('Cannot\x20save\x20default\x20agent\x20\x22'+_0x447ffb['id']+_0x198f13(0x2a9,_0x25a6db._0x5473ea,_0x25a6db._0x15fd0a,_0x25a6db._0x385a77));await this[_0x570b9a(0x673,_0x25a6db._0x2ed530,0x54f,_0x25a6db._0x4c7f46)]['save'](_0x447ffb);}async['deleteFromFile'](_0x42952b){const _0x2f29d0={_0x4fee77:0x433,_0x587e91:0x4d2,_0x13dd3c:0x331,_0x300ebe:0x513,_0x50bbb7:0x3bc,_0x837ddf:0xdf,_0x571b54:0x5f9,_0x57af8f:0x254,_0x4c53cb:0x369,_0x4bdabd:0x47b,_0x30afac:0x708},_0x4cd6c7={_0x28f8ac:0x258},_0x340f29={_0x9c798d:0x286};function _0xa20f2(_0x3bb3c8,_0x587d13,_0x49aa24,_0x54dcaa){return _0x3a64dd(_0x3bb3c8-0x175,_0x54dcaa,_0x3bb3c8- -_0x340f29._0x9c798d,_0x54dcaa-0x1e6);}if(!this[_0x18fa6a(_0x2f29d0._0x4fee77,_0x2f29d0._0x587e91,_0x2f29d0._0x13dd3c,_0x2f29d0._0x300ebe)])throw new Error(_0x18fa6a(0x258,0x11d,0x91,0x25b));if(this[_0x18fa6a(0x3f0,0x307,_0x2f29d0._0x50bbb7,_0x2f29d0._0x837ddf)][_0xa20f2(0x49c,_0x2f29d0._0x571b54,0x5ee,_0x2f29d0._0x57af8f)](_0x42952b))throw new Error('Cannot\x20delete\x20default\x20agent\x20\x22'+_0x42952b+'\x22');function _0x18fa6a(_0x4d767c,_0x2167c6,_0xc7df43,_0x9c38be){return _0x3a64dd(_0x4d767c-0x107,_0x4d767c,_0x2167c6- -_0x4cd6c7._0x28f8ac,_0x9c38be-0xb2);}await this['filePersistence'][_0xa20f2(0x4ed,_0x2f29d0._0x4c53cb,_0x2f29d0._0x4bdabd,_0x2f29d0._0x30afac)](_0x42952b);}[_0x55e1bc(0x707,0x6c7,0x78d,0x729)](_0x44f94d){const _0x4ad727={_0x7e670b:0x607,_0x137c1c:0x3ed,_0x29f473:0x71b,_0x141487:0x86e,_0x57d1b9:0x607,_0x47ac58:0x584},_0x2f59e9={_0x484182:0x1bb,_0x4eab61:0x2ae},_0x96eb7a={_0x5a8694:0xc6,_0x2bd70d:0x143};function _0x2401df(_0x2d1364,_0x2e0be2,_0xbf4061,_0x5ddb0b){return _0x55e1bc(_0x2e0be2,_0x2e0be2-_0x96eb7a._0x5a8694,_0xbf4061-0x74,_0x2d1364- -_0x96eb7a._0x2bd70d);}function _0x5a6945(_0x5a91ec,_0x53b676,_0x24ba3b,_0xda1a2c){return _0x55e1bc(_0x53b676,_0x53b676-_0x2f59e9._0x484182,_0x24ba3b-0xf4,_0xda1a2c- -_0x2f59e9._0x4eab61);}return this[_0x5a6945(0x58a,_0x4ad727._0x7e670b,0x463,_0x4ad727._0x137c1c)][_0x2401df(_0x4ad727._0x29f473,_0x4ad727._0x141487,_0x4ad727._0x57d1b9,_0x4ad727._0x47ac58)](_0x44f94d);}[_0x55e1bc(0x90f,0xa8b,0xa09,0x877)](_0x9013f){const _0x39b7cb={_0x3718c6:0x239,_0x499298:0x2e,_0x47c1b0:0xb6,_0x22c384:0x148,_0x3c6c02:0x980,_0x49fda8:0x588,_0x4da69f:0x21b,_0x439d25:0x81,_0xdacd8b:0x6b1,_0x57a3f7:0x730,_0x1a6253:0x65a},_0x75a3dc={_0x3f049b:0x71},_0x275e83={_0x2d4f46:0x417};if(this[_0x3fc5d4(_0x39b7cb._0x3718c6,_0x39b7cb._0x499298,_0x39b7cb._0x47c1b0,_0x39b7cb._0x22c384)][_0x9441de(0x793,_0x39b7cb._0x3c6c02,0x557,_0x39b7cb._0x49fda8)](_0x9013f))throw new Error(_0x3fc5d4(0x3a6,_0x39b7cb._0x4da69f,_0x39b7cb._0x439d25,0x296)+_0x9013f+'\x22');function _0x3fc5d4(_0x115b7f,_0x3e436b,_0x59d39b,_0x32d887){return _0x3a64dd(_0x115b7f-0x173,_0x3e436b,_0x32d887- -_0x275e83._0x2d4f46,_0x32d887-0x162);}function _0x9441de(_0x5be8a1,_0x3332b0,_0x4d0bd3,_0x5bf2fc){return _0x3a64dd(_0x5be8a1-0x3d,_0x4d0bd3,_0x5be8a1-_0x75a3dc._0x3f049b,_0x5bf2fc-0x1e5);}this[_0x9441de(_0x39b7cb._0xdacd8b,0x614,_0x39b7cb._0x57a3f7,_0x39b7cb._0x1a6253)][_0x3fc5d4(0x163,0x518,0x19d,0x35c)](_0x9013f),void this['saveToPersistence']();}[_0x55e1bc(0xa1b,0xa4f,0x828,0x8a3)](_0xece019){const _0x4e622c={_0xdec3db:0x26d,_0x5db7af:0x4fa,_0x10cb5c:0x3b9},_0x58baed={_0x2e4b18:0x4ea};function _0x248aa0(_0x165c32,_0x3b3f7f,_0x2355e0,_0x9b904e){return _0x55e1bc(_0x9b904e,_0x3b3f7f-0x1bc,_0x2355e0-0x80,_0x2355e0- -_0x58baed._0x2e4b18);}return this['agents'][_0x248aa0(_0x4e622c._0xdec3db,_0x4e622c._0x5db7af,_0x4e622c._0x10cb5c,0x238)](_0xece019);}[_0x3a64dd(0x511,0x520,0x714,0x50c)](){const _0x51704f={_0x10f442:0x4f9,_0x289f9d:0x47d,_0x759230:0x688,_0x178f2e:0x14f,_0x20977b:0xf,_0x44f73e:0x6b},_0x588756={_0x4b0658:0x1f2},_0x16be47={_0x2f96f7:0x10e,_0x5038aa:0x141,_0x125f0b:0x320};function _0x135195(_0x12895e,_0xaaf17,_0x4f3ad5,_0x247959){return _0x55e1bc(_0x12895e,_0xaaf17-_0x16be47._0x2f96f7,_0x4f3ad5-_0x16be47._0x5038aa,_0xaaf17- -_0x16be47._0x125f0b);}function _0x260d4c(_0x18a94f,_0x141c45,_0x3f7432,_0x5b6dcb){return _0x3a64dd(_0x18a94f-_0x588756._0x4b0658,_0x141c45,_0x18a94f- -0x2b0,_0x5b6dcb-0x109);}return Array['from'](this[_0x135195(_0x51704f._0x10f442,0x45c,_0x51704f._0x289f9d,_0x51704f._0x759230)][_0x135195(0x1fd,_0x51704f._0x178f2e,-_0x51704f._0x20977b,_0x51704f._0x44f73e)]());}[_0x55e1bc(0x8ef,0xa2a,0x804,0x898)](_0x3cf026){const _0x5bc6ba={_0x3d9062:0x36c,_0xf74ee0:0x191,_0x23c8a3:0x4e},_0x4361c6={_0x2d92bf:0x18e,_0x28289c:0x591,_0x3a0d60:0x1a2};function _0x322f6e(_0x202e58,_0x2f3cea,_0x4b3d4f,_0x3eaaef){return _0x3a64dd(_0x202e58-_0x4361c6._0x2d92bf,_0x202e58,_0x4b3d4f- -_0x4361c6._0x28289c,_0x3eaaef-_0x4361c6._0x3a0d60);}return this['agents'][_0x322f6e(_0x5bc6ba._0x3d9062,0x141,_0x5bc6ba._0xf74ee0,_0x5bc6ba._0x23c8a3)](_0x3cf026);}},DESCRIPTION_TEMPLATE=_0x3a64dd(0x82e,0x905,0x78e,0x5d5),AssignTool=class{constructor(_0x176198){const _0xbef695={_0x265f34:0xa6,_0x24cd67:0x6f,_0x346514:0xa9,_0x512722:0x36},_0x40dee3={_0x27ef4a:0x1d9,_0x410ae3:0xbc,_0x428011:0x740};function _0x1abc28(_0x45009c,_0x36bf62,_0x158db3,_0x50bf99){return _0x55e1bc(_0x50bf99,_0x36bf62-_0x40dee3._0x27ef4a,_0x158db3-_0x40dee3._0x410ae3,_0x36bf62- -_0x40dee3._0x428011);}this[_0x1abc28(-_0xbef695._0x265f34,-_0xbef695._0x24cd67,_0xbef695._0x346514,_0xbef695._0x512722)]=_0x176198;}[_0x55e1bc(0x538,0x3c8,0x687,0x55c)]='assign_task';[_0x3a64dd(0x933,0x614,0x6f8,0x4e0)]={'type':_0x55e1bc(0x5c6,0x72b,0x494,0x5fb),'properties':{'description':{'type':'string','description':'A\x20summary\x20of\x20the\x20task\x20to\x20be\x20performed\x20by\x20the\x20delegated\x20agent.\x20Be\x20specific\x20about\x20the\x20desired\x20outcome.\x20From\x205-10\x20words.'},'agent':{'type':_0x3a64dd(0x415,0x4ca,0x42a,0x36c),'description':'Agent\x20ID\x20from\x20registry\x20(e.g.,\x20\x22code-reviewer\x22,\x20\x22researcher\x22)'},'task':{'type':_0x3a64dd(0x3e4,0x451,0x42a,0x634),'description':_0x55e1bc(0x9c6,0x7b5,0x8b7,0x7b2)},'resume':{'type':_0x3a64dd(0x3a6,0x4d9,0x42a,0x539),'description':_0x55e1bc(0x92d,0x845,0x534,0x713)}},'required':[_0x55e1bc(0x5a6,0x83f,0x652,0x763),'task',_0x3a64dd(0x546,0x792,0x629,0x72a)]};['setEnabledAgents'](_0x4a5203){this['delegationService']['setEnabledAgents'](_0x4a5203);}[_0x55e1bc(0x51d,0x5d5,0x5e3,0x4de)](){const _0x2a4eae={_0x4b2aef:0x10b,_0x2774e7:0x69,_0x238aed:0x3c2,_0x106d13:0x1d7,_0x2310fd:0x131,_0x2bcbae:0x124,_0x789775:0x28d,_0x24833a:0x402,_0x16f55f:0x14f,_0x24e1c6:0x176,_0x47b099:0x7a,_0x533e63:0xcf,_0x5b2a09:0x10c},_0x4276ba={_0x23e797:0x3ac,_0x2e07cc:0x350,_0x523df9:0x113,_0x316b52:0x50c,_0x1f7171:0x4b1,_0x486960:0x370,_0x179dba:0xf5,_0x6eae0d:0x276,_0x4e7e01:0x5c7,_0x2d60eb:0x283},_0x2348ba={_0x40b26e:0x15b,_0x1c28c8:0x48d},_0x5413ce={_0x2b5cf7:0x28f,_0x2c225b:0x6a},_0x4ed909={_0x4063ff:0x1b8,_0x12357a:0x668};function _0x255104(_0x327fc7,_0x7930e,_0xa7d6eb,_0x407343){return _0x55e1bc(_0x327fc7,_0x7930e-_0x4ed909._0x4063ff,_0xa7d6eb-0x1ba,_0xa7d6eb- -_0x4ed909._0x12357a);}function _0x2aca5d(_0x2639ad,_0x4ca9c4,_0x8689ac,_0x4d11cc){return _0x3a64dd(_0x2639ad-0x9f,_0x8689ac,_0x4ca9c4- -_0x5413ce._0x2b5cf7,_0x4d11cc-_0x5413ce._0x2c225b);}const _0x4c0d7e=this[_0x255104(0x183,_0x2a4eae._0x4b2aef,_0x2a4eae._0x2774e7,0x1db)][_0x2aca5d(0x497,_0x2a4eae._0x238aed,0x39e,_0x2a4eae._0x106d13)](),_0x423deb=_0x4c0d7e[_0x255104(-0x141,-_0x2a4eae._0x2310fd,-_0x2a4eae._0x2bcbae,-_0x2a4eae._0x789775)](_0x20219f=>{const _0x1d8f93={_0x2a84af:0x3};function _0x3f72c3(_0x5ab9a3,_0x31e232,_0x43ecfb,_0x32df){return _0x2aca5d(_0x5ab9a3-_0x1d8f93._0x2a84af,_0x32df-0xc5,_0x31e232,_0x32df-0x1c);}const _0x21e612=_0x20219f[_0x157dd5(0x187,_0x4276ba._0x23e797,_0x4276ba._0x2e07cc,_0x4276ba._0x523df9)]?.[_0x157dd5(0x3cd,_0x4276ba._0x316b52,_0x4276ba._0x1f7171,0x451)]?_0x3f72c3(_0x4276ba._0x486960,_0x4276ba._0x179dba,_0x4276ba._0x6eae0d,0x286)+this[_0x3f72c3(0x545,0x4c4,0x55a,_0x4276ba._0x4e7e01)](_0x20219f[_0x3f72c3(0x43,0x19a,_0x4276ba._0x2d60eb,0x225)])+')':'';function _0x157dd5(_0x4e66f0,_0x14e1cc,_0x11376d,_0x165c59){return _0x255104(_0x4e66f0,_0x14e1cc-_0x2348ba._0x40b26e,_0x11376d-_0x2348ba._0x1c28c8,_0x165c59-0x7b);}return'-\x20'+_0x20219f['id']+':\x20'+(_0x20219f['description']??'No\x20description\x20provided')+_0x21e612;})['join']('\x0a'),_0x1d1804=DESCRIPTION_TEMPLATE[_0x2aca5d(0x3d7,0x1b6,_0x2a4eae._0x24833a,-0x95)](_0x255104(-_0x2a4eae._0x16f55f,_0x2a4eae._0x24e1c6,0x101,0x30e),_0x423deb);return{'name':this[_0x255104(-_0x2a4eae._0x47b099,-_0x2a4eae._0x533e63,-_0x2a4eae._0x5b2a09,-0x8d)],'description':_0x1d1804,'parameters':this['parameters']};}['formatTools'](_0x38d03d){const _0x2b595d={_0x5d8a3d:0x54c,_0x5ea197:0x578,_0x7c13c9:0x77d,_0x5ce200:0x609,_0x35f286:0x5fa,_0x1ac598:0x68b,_0x182573:0x132,_0xc6a4bf:0x643,_0x47c0c1:0x4e9,_0x4ad365:0x2d4,_0x47fc60:0x607,_0x4600e7:0x2ed,_0x3947e4:0x1ca,_0xc961fc:0x42a,_0x2490bc:0x2cd,_0x1b464b:0x1f3,_0x4d62e7:0x3c1},_0x1161a0={_0x305143:0x1b5};function _0x4dc6f1(_0x34d178,_0x224e14,_0xb54865,_0x48808a){return _0x3a64dd(_0x34d178-0x1b2,_0x48808a,_0x224e14- -0x18b,_0x48808a-0xc1);}function _0x28c7fe(_0x1a199c,_0x116e93,_0x2f5ba1,_0x34dbe0){return _0x55e1bc(_0x34dbe0,_0x116e93-_0x1161a0._0x305143,_0x2f5ba1-0x176,_0x116e93- -0x270);}const _0xc73857={'file_read':'Read','file_edit':_0x4dc6f1(0x1d4,0x263,0x394,0x36b),'file_new':_0x4dc6f1(_0x2b595d._0x5d8a3d,_0x2b595d._0x5ea197,0x5d7,_0x2b595d._0x7c13c9),'grep_tool':_0x4dc6f1(_0x2b595d._0x5ce200,_0x2b595d._0x35f286,0x4bd,_0x2b595d._0x1ac598),'glob_tool':'Glob','ls_tool':'LS','bash_tool':_0x4dc6f1(0x428,0x28e,_0x2b595d._0x182573,0xf0),'web_search':'WebSearch','web_fetch':_0x28c7fe(0x682,0x617,0x3df,0x40a),'todo_write':_0x4dc6f1(_0x2b595d._0xc6a4bf,0x4ea,_0x2b595d._0x47c0c1,0x5ad)};return _0x38d03d[_0x28c7fe(0x454,_0x2b595d._0x4ad365,0x128,0x120)](_0x5a5757=>_0xc73857[_0x5a5757]??_0x5a5757)[_0x4dc6f1(_0x2b595d._0x47fc60,0x4df,_0x2b595d._0x4600e7,0x533)](0x0,0x8)[_0x4dc6f1(0x371,0x243,_0x2b595d._0x3947e4,_0x2b595d._0xc961fc)](',\x20')+(_0x38d03d[_0x28c7fe(_0x2b595d._0x2490bc,0x41c,0x4ee,0x630)]>0x8?_0x4dc6f1(0x27c,_0x2b595d._0x1b464b,0x215,_0x2b595d._0x4d62e7):'');}async[_0x3a64dd(0x6ef,0x44b,0x67a,0x42b)](_0xf8d4f8,_0x4e52ec){const _0x505911={_0x40c0f7:0x47,_0x431622:0x5,_0x582666:0x693,_0x16ba66:0x521,_0x5af8fb:0x881,_0x57b40b:0x759,_0x531329:0x697,_0x5a0e40:0x175,_0x442e53:0x65,_0x37460c:0x42,_0x3a8fc4:0xf9,_0x1922d0:0x408,_0x389713:0x78e,_0x1d8362:0x3b3,_0x342fb1:0x139,_0x6215a0:0x9a,_0x469111:0x54,_0x39d9e4:0xd3,_0x558a61:0x19c,_0x4953fe:0x848,_0xba2eb4:0x83e,_0x3c1227:0x857,_0x34719c:0x570,_0x4acc26:0xac,_0x11d708:0x71f,_0x143a4f:0x71e,_0x135568:0xd4,_0x5d2f46:0x203,_0x568cf2:0x7d,_0x265924:0x50f,_0x3e35e7:0x50,_0x3597cf:0x1e0,_0x2ca820:0x21b,_0x5835e7:0xfb,_0x1777fa:0xaf,_0x2e3fe3:0x1f2,_0x2dbca6:0x2d4,_0x142c97:0x820,_0x351c89:0x955,_0x3a7b18:0x8fe,_0x38d7f6:0x70,_0x4a0602:0x91e,_0x4201fd:0x745,_0x3cb5f0:0x8fc,_0x7cb098:0x7ba,_0x1f84bd:0x91e,_0xb5ddf:0x96d,_0x51c7a9:0x9a1,_0x116112:0x5af,_0x42c401:0x60d,_0x565cea:0x847,_0x40b13e:0x5ae,_0x41e867:0x1bf,_0x3b27ca:0x198},_0x4ac967={_0x4a6f00:0x148},_0x3f38bc={_0x165d10:0x191};function _0x10d2e5(_0x440810,_0x1b9eaa,_0x16bc2b,_0x2e2597){return _0x55e1bc(_0x1b9eaa,_0x1b9eaa-_0x3f38bc._0x165d10,_0x16bc2b-0x10c,_0x2e2597- -0x742);}if(!_0xf8d4f8[_0x10d2e5(0x250,-_0x505911._0x40c0f7,-_0x505911._0x431622,0x21)]||typeof _0xf8d4f8[_0x2b46e4(_0x505911._0x582666,_0x505911._0x16ba66,0x76f,_0x505911._0x5af8fb)]!==_0x2b46e4(0x562,_0x505911._0x57b40b,0x572,_0x505911._0x531329))return err(_0x10d2e5(_0x505911._0x5a0e40,-0x66,0x1a,-0x75),void 0x0,_0x10d2e5(-0x205,-_0x505911._0x442e53,_0x505911._0x37460c,-_0x505911._0x3a8fc4));if(!_0xf8d4f8[_0x2b46e4(0x766,_0x505911._0x1922d0,0x5b6,_0x505911._0x389713)]||typeof _0xf8d4f8['task']!==_0x10d2e5(-0x361,-_0x505911._0x1d8362,-_0x505911._0x342fb1,-0x1dc))return err(_0x10d2e5(_0x505911._0x6215a0,0x156,-0xc7,0x13c),void 0x0,'invalid_input');const _0x4c1adf=await this[_0x10d2e5(-_0x505911._0x469111,-_0x505911._0x39d9e4,_0x505911._0x558a61,-0x71)][_0x2b46e4(_0x505911._0x4953fe,0x6df,_0x505911._0xba2eb4,0x60b)](_0xf8d4f8,_0x4e52ec);function _0x2b46e4(_0x49c595,_0x4c3d31,_0x4a749c,_0x48d2de){return _0x3a64dd(_0x49c595-0x155,_0x48d2de,_0x4a749c-_0x4ac967._0x4a6f00,_0x48d2de-0x12f);}if(!_0x4c1adf['success']||!_0x4c1adf['summary']){const _0x37daf3=_0x4c1adf['error']?.[_0x2b46e4(_0x505911._0x3c1227,0x5e0,0x6ab,_0x505911._0x34719c)](_0x10d2e5(-0x35b,-_0x505911._0x4acc26,-0x1b8,-0x1de)),_0x1bc0ce=_0x4c1adf[_0x2b46e4(_0x505911._0x11d708,0x502,_0x505911._0x143a4f,0x547)]?.[_0x10d2e5(_0x505911._0x135568,-_0x505911._0x5d2f46,_0x505911._0x568cf2,-0xa3)]('policy')||_0x4c1adf[_0x2b46e4(0x741,0x965,0x71e,_0x505911._0x265924)]?.[_0x10d2e5(_0x505911._0x3e35e7,-_0x505911._0x3597cf,-_0x505911._0x2ca820,-0xa3)](_0x10d2e5(0xc5,-_0x505911._0x5835e7,0x8,-0x3b));return err(_0x4c1adf['error']??_0x10d2e5(-0x113,-_0x505911._0x1777fa,-0x2b8,-0xe9),{'agentId':_0xf8d4f8['agent'],'agentNotFound':_0x37daf3,'policyDenied':_0x1bc0ce,'delegationDepth':_0x4e52ec?.[_0x10d2e5(-_0x505911._0x2e3fe3,-0x2ee,-0x4a3,-_0x505911._0x2dbca6)]},_0x2b46e4(_0x505911._0x142c97,_0x505911._0x351c89,_0x505911._0x3a7b18,0x8d7));}const _0x1aff94=_0x4c1adf[_0x10d2e5(0xc3,_0x505911._0x38d7f6,0x36e,0x126)],_0x52f924=_0x1aff94[_0x2b46e4(_0x505911._0x4a0602,_0x505911._0x4201fd,_0x505911._0x3cb5f0,0x856)]?_0x2b46e4(0x819,0x5bd,0x5ef,_0x505911._0x7cb098)+_0x1aff94[_0x2b46e4(_0x505911._0x1f84bd,_0x505911._0xb5ddf,0x8fc,_0x505911._0x51c7a9)]+_0x2b46e4(0x854,_0x505911._0x116112,_0x505911._0x42c401,0x645):'';return okText(_0x4c1adf[_0x2b46e4(0x8b5,_0x505911._0x565cea,0x748,_0x505911._0x40b13e)]+_0x52f924,{..._0x1aff94,'taskDescription':_0xf8d4f8[_0x10d2e5(0x89,-0x111,-_0x505911._0x41e867,-_0x505911._0x3b27ca)],'delegationDepth':(_0x4e52ec?.['delegationDepth']??0x0)+0x1});}};import*as _0x4eb813 from'os';var defaultSystemContext=()=>({'timeISO':new Date()[_0x55e1bc(0x6d4,0x660,0x6c3,0x4a6)](),'platform':process[_0x3a64dd(0x968,0x648,0x78a,0x781)],'arch':process['arch'],'tempDir':_0x4eb813[_0x55e1bc(0x75a,0xa7a,0x7f8,0x8a0)]?.()??'','workspaceDir':process[_0x3a64dd(0x5fa,0x6b3,0x78b,0x5ce)]()}),defaultIdGenerator=_0x1952ca=>{const _0x4e4d26={_0x2e62a6:0x93,_0x3508d9:0xb0},_0x1406c9={_0x267453:0x90,_0x2f08f4:0xdc},_0x3afdc2=Date[_0x26d915(0x797,0x89e,0x956,0x5a2)]();function _0x4ac0e2(_0x1eaec6,_0x202320,_0x2670db,_0x2cd426){return _0x3a64dd(_0x1eaec6-0x1a2,_0x1eaec6,_0x2cd426- -0x4a3,_0x2cd426-0x19d);}function _0x26d915(_0x49b5fd,_0x5dc49b,_0x59a0f7,_0x511b5d){return _0x3a64dd(_0x49b5fd-0x1df,_0x5dc49b,_0x49b5fd-_0x1406c9._0x267453,_0x511b5d-_0x1406c9._0x2f08f4);}const _0x4fe7a7=Math[_0x4ac0e2(-0xbc,_0x4e4d26._0x2e62a6,0x24,-0xd4)]()['toString'](0x24)[_0x4ac0e2(0x7d,-_0x4e4d26._0x3508d9,0xec,0x41)](0x2,0x8);return _0x1952ca+'-'+_0x3afdc2+'-'+_0x4fe7a7;},DefaultSpecialistAgentFactory=class{constructor(_0x58572f){const _0x15f03b={_0x1af0bc:0xe0,_0x2ffd75:0x268,_0x4b1530:0x79,_0x47aa54:0x425},_0x25cf40={_0x161a6a:0x15c,_0x342790:0x1f4,_0x56be00:0xae};function _0x3e705d(_0x27403d,_0x4b09c0,_0xcdf660,_0x563b6d){return _0x3a64dd(_0x27403d-_0x25cf40._0x161a6a,_0x563b6d,_0x4b09c0- -_0x25cf40._0x342790,_0x563b6d-_0x25cf40._0x56be00);}this[_0x3e705d(_0x15f03b._0x1af0bc,_0x15f03b._0x2ffd75,_0x15f03b._0x4b1530,_0x15f03b._0x47aa54)]=_0x58572f;}async[_0x55e1bc(0x6ac,0x885,0x59b,0x76c)](_0x4010c0){const _0x3c5e54={_0x5aa007:0x22,_0xbf2960:0x299,_0x15e6b8:0x107,_0x33e518:0x123,_0x50d14c:0x18b,_0x122025:0x2a,_0x5a6b4b:0xd7,_0x3848f9:0x2ce,_0x1043d6:0xb9,_0xe49f18:0x4f,_0x5f5c3f:0xc0,_0x5068d8:0x92,_0x2620b3:0x195,_0x447437:0x211,_0x24555f:0x2ed,_0x706a9b:0x6be,_0x1cc0dc:0x6e,_0x45747e:0x209,_0xc0b186:0x595,_0x21115c:0x25,_0x4cb7b6:0x20,_0x9db73:0x119,_0x49c694:0x19c,_0x2bb15d:0x3e1,_0x22a0fa:0x12f,_0x2a32ff:0x194,_0x6ca718:0x1cd,_0x933cd0:0xbe,_0x33f169:0x21e,_0xb944cc:0x236,_0x287ee8:0x51,_0x216e35:0x21b,_0x3331bb:0x31c,_0x5b197c:0x4e2,_0x5484e8:0x17c,_0x6ae5be:0x2c1,_0x19cecd:0x562,_0x5d8b5e:0x299,_0xf3520:0xed,_0x1a51ea:0x2d6,_0x36d691:0x218,_0x261522:0x444,_0x1c5d23:0x229,_0x8606e4:0xb1,_0xd7d7e0:0xe6,_0x5e1cfc:0xf,_0x2da4b6:0x197,_0x371c88:0x549,_0x2bf01b:0x2e9,_0x56cfde:0x423,_0x581f12:0x3c5,_0x44877f:0x300,_0x4dc1a3:0x2c8,_0x303626:0x7e,_0xba38e0:0xe6,_0x4b43c6:0x3e,_0x2a989d:0x73,_0x144c6d:0x171,_0x44c886:0xc0,_0x1d56c0:0x2d9},_0x2c453a={_0x44b1b0:0x7d,_0x1cc524:0x3f5},_0x286378={_0x99b79d:0x17a,_0x231acc:0x3fe,_0x1a4f51:0x138},_0x630b42=_0x4010c0[_0x43adf7(0xd7,-_0x3c5e54._0x5aa007,_0x3c5e54._0xbf2960,_0x3c5e54._0x15e6b8)],_0x496845=_0x4010c0[_0x4a0633(0x174,_0x3c5e54._0x33e518,0x2f4,_0x3c5e54._0x50d14c)];function _0x43adf7(_0x489305,_0x29cc9f,_0x22f89d,_0x3545d4){return _0x3a64dd(_0x489305-_0x286378._0x99b79d,_0x22f89d,_0x3545d4- -_0x286378._0x231acc,_0x3545d4-_0x286378._0x1a4f51);}const _0x401b6a=_0x4010c0[_0x43adf7(-0x1bc,-0x2e2,_0x3c5e54._0x122025,-_0x3c5e54._0x5a6b4b)],_0xde2a85=this['options']?.[_0x43adf7(_0x3c5e54._0x3848f9,_0x3c5e54._0x1043d6,_0x3c5e54._0xe49f18,0x1c3)]?.()??defaultSystemContext(),_0x114da9=this[_0x43adf7(-0x5a,0x163,_0x3c5e54._0x5f5c3f,0x5e)]?.['agentListProvider']?.()??[];function _0x4a0633(_0x4e2b6c,_0x1d9750,_0x354410,_0x5dbb75){return _0x55e1bc(_0x354410,_0x1d9750-_0x2c453a._0x44b1b0,_0x354410-0x175,_0x5dbb75- -_0x2c453a._0x1cc524);}const _0x50b874=buildInjectedSystem({'today':_0xde2a85[_0x4a0633(0x1ed,_0x3c5e54._0x5068d8,_0x3c5e54._0x2620b3,_0x3c5e54._0x447437)],'platform':_0xde2a85['platform'],'arch':_0xde2a85[_0x4a0633(_0x3c5e54._0x24555f,0x747,_0x3c5e54._0x706a9b,0x4f9)],'tempDir':_0xde2a85[_0x43adf7(_0x3c5e54._0x1cc0dc,0x2f0,-0x72,0x1b7)],'workspaceDir':_0xde2a85[_0x43adf7(0x1da,_0x3c5e54._0x45747e,_0x3c5e54._0xc0b186,0x354)],'availableAgents':_0x114da9},{'withSubAgent':![]}),_0x194160=renderTemplate(_0x630b42[_0x4a0633(0x2fe,-_0x3c5e54._0x21115c,-_0x3c5e54._0x4cb7b6,_0x3c5e54._0x9db73)]+'\x0a<env>\x0a{{injectedSystem}}\x0a</env>',{'injectedSystem':_0x50b874}),_0x169e1f=_0x630b42['id']??_0x496845[_0x4a0633(_0x3c5e54._0x49c694,0x255,0x1b2,0x36e)],_0x3552a1=_0x169e1f;let _0x4bb3b8,_0x3494fa;if(_0x496845[_0x43adf7(_0x3c5e54._0x2bb15d,_0x3c5e54._0x22a0fa,0x2d6,_0x3c5e54._0x2a32ff)]&&this[_0x43adf7(-0x1ab,-_0x3c5e54._0x6ca718,-0x98,0x5e)]?.[_0x4a0633(0xce,0xa,_0x3c5e54._0x933cd0,0x217)]){const _0x5d2bb1=_0x496845[_0x4a0633(0x368,0x47f,0x446,0x2d9)],_0x4e745a=this[_0x43adf7(_0x3c5e54._0x33f169,_0x3c5e54._0xb944cc,_0x3c5e54._0x287ee8,0x5e)][_0x4a0633(_0x3c5e54._0x216e35,-0x36,0x2ca,0x217)](_0x5d2bb1),_0x2a245d=await _0x4e745a['get'](_0x4a0633(_0x3c5e54._0x3331bb,0x3ba,0x4af,_0x3c5e54._0x5b197c));_0x2a245d[_0x43adf7(0x2e0,_0x3c5e54._0x5484e8,_0x3c5e54._0x287ee8,0x152)]>0x0?(_0x4bb3b8=_0x496845[_0x43adf7(-0x9,0x2f4,_0x3c5e54._0x6ae5be,0x194)],_0x3494fa=_0x2a245d):_0x4bb3b8=this['options']?.['idGenerator']?.(_0x3552a1)??defaultIdGenerator(_0x3552a1);}else _0x4bb3b8=this['options']?.[_0x4a0633(0x2f8,_0x3c5e54._0x19cecd,_0x3c5e54._0x5d8b5e,0x4db)]?.(_0x3552a1)??defaultIdGenerator(_0x3552a1);return{'agentId':_0x4bb3b8,'agentName':_0x630b42[_0x43adf7(-_0x3c5e54._0xf3520,-0x199,0x268,0x22)]??_0x496845[_0x43adf7(_0x3c5e54._0x1a51ea,_0x3c5e54._0x36d691,_0x3c5e54._0x261522,_0x3c5e54._0x1c5d23)],'agentType':_0x169e1f,'taskDescription':_0x496845['task'],'systemPrompt':_0x194160,'tools':_0x630b42[_0x43adf7(0x11c,-_0x3c5e54._0x8606e4,_0x3c5e54._0xd7d7e0,-_0x3c5e54._0x5e1cfc)]??[],'provider':_0x630b42[_0x43adf7(0x181,0x1f6,_0x3c5e54._0x2da4b6,0x257)],'model':_0x630b42['model'],'temperature':_0x630b42[_0x4a0633(0x13e,_0x3c5e54._0x371c88,0x530,0x30c)],'maxTokens':_0x630b42[_0x4a0633(0x10f,0x115,0x125,_0x3c5e54._0x2bf01b)],'topP':_0x630b42['topP'],'timeoutMs':_0x630b42[_0x4a0633(_0x3c5e54._0x56cfde,0x499,0xda,0x2c7)],'shareContext':_0x630b42['shareContext']??![],'stream':_0x630b42['stream']??!![],'delegatingMemory':void 0x0,'delegationDepth':_0x4010c0[_0x4a0633(0x2b2,0x39f,_0x3c5e54._0x581f12,_0x3c5e54._0x44877f)]+0x1,'conversationId':_0x401b6a?.['conversationId'],'messageId':_0x401b6a?.[_0x43adf7(_0x3c5e54._0x4dc1a3,0xcf,0x20f,_0x3c5e54._0x303626)],'toolCallId':typeof _0x401b6a?.[_0x43adf7(-_0x3c5e54._0xba38e0,-_0x3c5e54._0x4b43c6,0x76,_0x3c5e54._0x2a989d)]===_0x4a0633(-0xbe,-0xbe,0x33a,_0x3c5e54._0x144c6d)?_0x401b6a[_0x43adf7(_0x3c5e54._0x5aa007,-0x16,-_0x3c5e54._0x44c886,_0x3c5e54._0x2a989d)]:void 0x0,'resumeSessionId':_0x496845[_0x4a0633(0x252,0x158,0xb3,_0x3c5e54._0x1d56c0)],'previousMessages':_0x3494fa};}},LLMResolver=class{constructor(_0x567403){this['factory']=_0x567403;}[_0x3a64dd(0x561,0x71b,0x649,0x6a1)](_0x494e4a){const _0x5c9c87={_0x48b731:0xd,_0x1a6bbf:0x167,_0x24e9dd:0x169,_0x1dbfa9:0x1ea,_0x1b7585:0x2e9,_0xd46cb0:0x1c0,_0x3c30dd:0xc8,_0x36703e:0x92},_0x568296={_0xa0a602:0x172,_0x191a00:0x49},_0x47fcff={_0x37ef4a:0x106};function _0x4e72a5(_0x4346fb,_0x38e415,_0x431f82,_0x5d5368){return _0x55e1bc(_0x431f82,_0x38e415-0x195,_0x431f82-_0x47fcff._0x37ef4a,_0x38e415- -0x568);}function _0x1fd09c(_0x8b8db7,_0x3a8631,_0x574e7,_0x51ae6a){return _0x55e1bc(_0x8b8db7,_0x3a8631-_0x568296._0xa0a602,_0x574e7-_0x568296._0x191a00,_0x3a8631- -0x4a8);}return this[_0x4e72a5(0xd4,-_0x5c9c87._0x48b731,_0x5c9c87._0x1a6bbf,_0x5c9c87._0x24e9dd)][_0x4e72a5(0x1aa,_0x5c9c87._0x1dbfa9,0x3b9,-0x57)]({'provider':_0x494e4a[_0x1fd09c(0x360,_0x5c9c87._0x1b7585,0x3fa,0x531)],'model':_0x494e4a[_0x4e72a5(-_0x5c9c87._0xd46cb0,-_0x5c9c87._0x3c30dd,_0x5c9c87._0x36703e,-0x218)]});}},DefaultAgentStateManager=class{['sessions']=new Map();[_0x55e1bc(0x96b,0x756,0xa94,0x8d0)]=new SimpleId();[_0x3a64dd(0x815,0x59e,0x630,0x753)](_0xa56b8d,_0x5e54f3,_0x35ecfe){const _0x4da1b3={_0x481fe0:0x4fb,_0x225c07:0x35b,_0x9a7ac5:0x2d1,_0x74411d:0x420},_0x4f8875={_0x566bf7:0xbe,_0x15e13a:0x4e8},_0x5dd1ed=this['idGenerator']['uuid'](),_0x1dea25={'id':_0x5dd1ed,'agentType':_0xa56b8d,'parentConversationId':_0x5e54f3,'state':_0xd7e54d(0x5ca,_0x4da1b3._0x481fe0,0x4b5,0x438),'taskDescription':_0x35ecfe,'startTime':Date[_0x31c358(_0x4da1b3._0x225c07,0x53f,0x30a,0x595)]()};function _0xd7e54d(_0x271df0,_0x244027,_0x3097f1,_0x4faeb1){return _0x3a64dd(_0x271df0-0x16c,_0x3097f1,_0x4faeb1-0x77,_0x4faeb1-0x1a1);}function _0x31c358(_0x38afd3,_0x58d182,_0x48ed8b,_0x5f489e){return _0x55e1bc(_0x58d182,_0x58d182-_0x4f8875._0x566bf7,_0x48ed8b-0x15f,_0x38afd3- -_0x4f8875._0x15e13a);}return this[_0xd7e54d(_0x4da1b3._0x9a7ac5,_0x4da1b3._0x74411d,0x577,0x411)]['set'](_0x5dd1ed,_0x1dea25),_0x5dd1ed;}['get'](_0x1e6373){const _0x1c62b2={_0x46e657:0x15e,_0x38ba44:0x226,_0x2997ff:0x1e1,_0x7e6f4:0x293},_0x1bcb56={_0x50fb14:0x16e,_0x32887b:0x645},_0x506545={_0x290fb2:0xa4,_0x3cf260:0x8d,_0x581b5d:0xf};function _0xe199fc(_0x50e8cd,_0x11d491,_0x3e553b,_0x4d6af6){return _0x3a64dd(_0x50e8cd-_0x506545._0x290fb2,_0x11d491,_0x3e553b- -_0x506545._0x3cf260,_0x4d6af6-_0x506545._0x581b5d);}function _0x7ebade(_0x4587c2,_0x36bed5,_0x4d5637,_0x3a62ee){return _0x55e1bc(_0x36bed5,_0x36bed5-0x79,_0x4d5637-_0x1bcb56._0x50fb14,_0x4587c2- -_0x1bcb56._0x32887b);}return this[_0x7ebade(-0x16f,-_0x1c62b2._0x46e657,-0x113,-0x1f4)][_0x7ebade(0x25e,_0x1c62b2._0x38ba44,_0x1c62b2._0x2997ff,_0x1c62b2._0x7e6f4)](_0x1e6373);}[_0x55e1bc(0x59f,0x6b2,0x3d6,0x596)](_0x5d0c2f,_0x26dc8c){const _0x3dad13={_0x3eef4c:0x5c5,_0x44b1c4:0x497,_0x41996d:0x283,_0x406fe7:0x275,_0x3adce0:0x71f,_0xa2a2ef:0x7e1},_0x289dd3={_0x3806fd:0x5},_0x2a202c={_0x468987:0x18c};function _0x5abcd8(_0xf7f661,_0x3e015f,_0x2232fc,_0x71345){return _0x3a64dd(_0xf7f661-0x79,_0x71345,_0x2232fc- -0x4e4,_0x71345-_0x2a202c._0x468987);}function _0x311a79(_0x237566,_0xe3ad2c,_0x4231d4,_0x451632){return _0x3a64dd(_0x237566-_0x289dd3._0x3806fd,_0x4231d4,_0x451632-0x149,_0x451632-0x158);}const _0x1bf790=this[_0x311a79(0x2c8,0x437,_0x3dad13._0x3eef4c,0x4e3)][_0x5abcd8(_0x3dad13._0x44b1c4,0xfc,_0x3dad13._0x41996d,_0x3dad13._0x406fe7)](_0x5d0c2f);_0x1bf790&&Object[_0x311a79(0xa2a,_0x3dad13._0x3adce0,0x853,_0x3dad13._0xa2a2ef)](_0x1bf790,_0x26dc8c);}['getRunning'](){const _0x42846c={_0x45d7d9:0x71d,_0x556759:0x75b,_0xa0396b:0x329,_0x1deb75:0x458,_0x1e1d9c:0x5d7},_0x492108={_0x258d45:0x1d5,_0x1eef70:0x4f};function _0x53765b(_0xf4b57e,_0x10d030,_0x425c8f,_0x3d60ef){return _0x55e1bc(_0x10d030,_0x10d030-0x6,_0x425c8f-0x91,_0x425c8f- -0x15f);}function _0x1cb50a(_0x19386d,_0x5ac4d9,_0x16bc6a,_0x33a47b){return _0x3a64dd(_0x19386d-_0x492108._0x258d45,_0x5ac4d9,_0x33a47b- -_0x492108._0x1eef70,_0x33a47b-0x46);}return Array[_0x53765b(0x7ec,_0x42846c._0x45d7d9,0x6ac,_0x42846c._0x556759)](this[_0x53765b(_0x42846c._0xa0396b,0x3d2,0x377,_0x42846c._0x1deb75)]['values']())[_0x1cb50a(0x7f8,0x727,0x69a,_0x42846c._0x1e1d9c)](_0x47a2cd=>_0x47a2cd[_0x1cb50a(0x30d,0x20e,0x228,0x3f3)]===_0x53765b(0x3de,0x25d,0x435,0x4ff));}[_0x3a64dd(0x53c,0x63e,0x5ce,0x3c7)](_0x14473f){const _0x5f15a8={_0x14b16b:0x37,_0x2b3ea2:0x22a,_0x4caead:0x175,_0xbabf47:0x1b,_0x7a5adb:0x4c,_0x4a27f7:0x10b,_0x667b38:0x257,_0x56b57c:0x1bc,_0x22b5a7:0x172,_0x23afdb:0x1fb,_0x7eb6ba:0x114,_0x11912:0xde},_0x3b2f53={_0x457c63:0x7a,_0x42398f:0xc7,_0x4d8ac4:0x682},_0x5e1260={_0x162a63:0x1cb,_0x5038c9:0x5e1};function _0x3258d9(_0x2c54f0,_0x32c6f7,_0x3c5aa6,_0x17b508){return _0x55e1bc(_0x3c5aa6,_0x32c6f7-_0x5e1260._0x162a63,_0x3c5aa6-0x108,_0x32c6f7- -_0x5e1260._0x5038c9);}function _0x41813a(_0x58dc6d,_0x5c5c47,_0x5f25f5,_0x424dfd){return _0x55e1bc(_0x5c5c47,_0x5c5c47-_0x3b2f53._0x457c63,_0x5f25f5-_0x3b2f53._0x42398f,_0x58dc6d- -_0x3b2f53._0x4d8ac4);}return Array[_0x3258d9(_0x5f15a8._0x14b16b,_0x5f15a8._0x2b3ea2,_0x5f15a8._0x4caead,-_0x5f15a8._0xbabf47)](this[_0x3258d9(-_0x5f15a8._0x7a5adb,-_0x5f15a8._0x4a27f7,-_0x5f15a8._0x667b38,-0x300)][_0x3258d9(-_0x5f15a8._0x56b57c,-_0x5f15a8._0x22b5a7,0x1a,-_0x5f15a8._0x23afdb)]())[_0x41813a(0xe0,-_0x5f15a8._0x7eb6ba,_0x5f15a8._0x11912,0x1cd)](_0x54ba5d=>_0x54ba5d['parentConversationId']===_0x14473f);}['getAllSessions'](){const _0x19e97e={_0x54549b:0x324,_0x2eec16:0x404,_0x5af502:0x3d9,_0x5615fe:0x226},_0x1fba3a={_0x1a2d9a:0x1a9,_0x2ef54f:0x1d4,_0x3edd64:0xf8},_0x273180={_0x237839:0x1bd};function _0xbbf2d0(_0x2e6fd3,_0x4021a1,_0x17a38d,_0x226a80){return _0x3a64dd(_0x2e6fd3-_0x273180._0x237839,_0x226a80,_0x2e6fd3- -0x3ab,_0x226a80-0x51);}function _0x594a95(_0xb934bc,_0x282508,_0x15f3e5,_0x21a547){return _0x55e1bc(_0x282508,_0x282508-_0x1fba3a._0x1a2d9a,_0x15f3e5-_0x1fba3a._0x2ef54f,_0xb934bc- -_0x1fba3a._0x3edd64);}return Array[_0xbbf2d0(_0x19e97e._0x54549b,0x145,_0x19e97e._0x2eec16,0x31c)](this[_0x594a95(0x3de,_0x19e97e._0x5af502,0x440,_0x19e97e._0x5615fe)][_0x594a95(0x377,0x54f,0x300,0x137)]());}[_0x55e1bc(0x629,0x56e,0x619,0x631)](_0xbe4579){const _0x43102b={_0x140947:0x16d,_0x3679a0:0x385,_0x45a863:0x3ea,_0x195d16:0x14d,_0x323af8:0xd1,_0x2e5191:0x5c1,_0xfb41e7:0x1b7,_0x303a27:0x2ca},_0x596384={_0x278068:0xf6,_0x4880ed:0x57,_0x3e640b:0x6e1},_0x48f815={_0x3a99a0:0xd0,_0x58b64c:0x5a};function _0x27985b(_0x572673,_0x42493d,_0x2c3a5e,_0x209737){return _0x3a64dd(_0x572673-0xfd,_0x209737,_0x2c3a5e- -_0x48f815._0x3a99a0,_0x209737-_0x48f815._0x58b64c);}function _0x5214da(_0x4c6b5f,_0x2a7cac,_0xc0bbc0,_0x277f41){return _0x55e1bc(_0x277f41,_0x2a7cac-_0x596384._0x278068,_0xc0bbc0-_0x596384._0x4880ed,_0x2a7cac- -_0x596384._0x3e640b);}const _0x115bb3=Date['now']();let _0x4f75a1=0x0;for(const [_0x835f80,_0x49f30b]of this['sessions']){_0x49f30b[_0x27985b(_0x43102b._0x140947,_0x43102b._0x3679a0,0x372,_0x43102b._0x45a863)]!==_0x5214da(0x6,-_0x43102b._0x195d16,0x103,_0x43102b._0x323af8)&&_0x115bb3-_0x49f30b[_0x27985b(_0x43102b._0x2e5191,0x467,0x4b1,0x289)]>_0xbe4579&&(this[_0x27985b(_0x43102b._0xfb41e7,0x176,_0x43102b._0x303a27,0x3b7)]['delete'](_0x835f80),_0x4f75a1++);}return _0x4f75a1;}},DEFAULT_TIMEOUT_MS=0x2dc6c0,MAX_DELEGATION_DEPTH=0x3,AgentManager=class{constructor(_0x297d35,_0x416825,_0x2aa300,_0xfc54ae,_0x1718eb,_0x3871d8,_0x585844){const _0x2a0428={_0x123871:0x155,_0x10e416:0x103,_0xd1dba6:0x165,_0x176ee3:0xda,_0xbedf9a:0x10a,_0xee9bc:0x358,_0x35b3b4:0x190,_0x16094d:0xdd,_0x466ec0:0x12f,_0x3c030a:0x303,_0x5b73ea:0x49d,_0x15895f:0x49b,_0x5bbbd5:0x4e9,_0x49a37e:0x258,_0x56dd48:0x92,_0x5e95c0:0x19a,_0x1ca69a:0xa2,_0x2e6b64:0x34,_0x5801cd:0xab,_0x4c0c05:0x104,_0x2c8e5b:0xa5},_0x44b2fd={_0x50c5d0:0x182,_0x3f8211:0x1ee},_0x475d43={_0x2fdc22:0xfa,_0x4a6096:0x6c,_0x25385d:0x6b7};this['delegatingConfig']=_0x297d35;function _0x46c9d9(_0x63a7dd,_0x54127e,_0x3e549e,_0x361b4e){return _0x55e1bc(_0x54127e,_0x54127e-_0x475d43._0x2fdc22,_0x3e549e-_0x475d43._0x4a6096,_0x63a7dd- -_0x475d43._0x25385d);}this[_0x46c9d9(-_0x2a0428._0x123871,-0x2b3,-0x8d,-_0x2a0428._0x10e416)]=_0x416825;function _0x4ca5f5(_0x3b78bd,_0x114130,_0x37c143,_0x59215a){return _0x55e1bc(_0x114130,_0x114130-_0x44b2fd._0x50c5d0,_0x37c143-_0x44b2fd._0x3f8211,_0x3b78bd- -0x373);}this['llmFactory']=_0x2aa300,this[_0x46c9d9(-_0x2a0428._0xd1dba6,_0x2a0428._0x176ee3,-_0x2a0428._0xbedf9a,-_0x2a0428._0xee9bc)]=_0xfc54ae,this[_0x4ca5f5(_0x2a0428._0x35b3b4,_0x2a0428._0x16094d,0x162,0x392)]=_0x1718eb,this[_0x46c9d9(_0x2a0428._0x466ec0,0x1b,_0x2a0428._0x3c030a,0x2dd)]=_0x585844,this[_0x4ca5f5(_0x2a0428._0x5b73ea,_0x2a0428._0x15895f,_0x2a0428._0x5bbbd5,_0x2a0428._0x49a37e)]&&(this[_0x46c9d9(-0x112,_0x2a0428._0x56dd48,-0x277,-0x67)]=new LLMResolver(this[_0x4ca5f5(0x49d,0x449,0x4fd,0x622)])),this[_0x46c9d9(-_0x2a0428._0x5e95c0,-0x116,-_0x2a0428._0x1ca69a,_0x2a0428._0x2e6b64)]=new DefaultAgentStateManager(),this[_0x46c9d9(-_0x2a0428._0x5801cd,-_0x2a0428._0x4c0c05,_0x2a0428._0x2c8e5b,-0x2a6)]=_0x3871d8;}['llmResolver']=null;[_0x3a64dd(0x462,0x54e,0x516,0x6d1)]=new Map();['eventCollectors']=new Map();[_0x3a64dd(0x19f,0x43b,0x3e1,0x3c0)];[_0x3a64dd(0x61c,0x2a2,0x4d0,0x39d)];async[_0x3a64dd(0x4e3,0x45b,0x517,0x697)](_0x1cb008,_0x146bff){const _0x271d2a={_0x25b762:0x3f3,_0x29c5ed:0x5e9,_0x44db8c:0x229,_0x8bded5:0x437,_0x426025:0x6f,_0x1dfe0d:0x2ba,_0x2cb02a:0x1ca,_0x86c565:0x2c2,_0x282d06:0x37d,_0x4eb6b8:0xd4,_0x2e6ced:0x81,_0x49d6ab:0x18c,_0x46d6f5:0x273,_0x118ff3:0x473,_0x3558c4:0x217,_0x4ef44d:0x1f1,_0x39af99:0xe2,_0x395f95:0xbc,_0x40d9c6:0xb9,_0x1876eb:0x269,_0x4a6a3d:0x447,_0x34bc3a:0x2af,_0xbffce2:0x20a,_0x387556:0x5ea,_0x5de53d:0x353,_0x14f051:0x40e,_0xe4effa:0x585,_0x46b61d:0x176,_0x380d82:0x40,_0x310389:0xd1,_0x51ccb7:0x20,_0x51ddbd:0x3bf,_0x59be3a:0x3db,_0x767218:0x44a,_0x9cbb7c:0x487,_0x33cefe:0x2b8,_0xa85915:0x279,_0x114437:0x324,_0x19eb6c:0x146,_0x3ae2bc:0x35b,_0xcc14b8:0x27d,_0x2e330a:0x1c0,_0x263774:0x2bf,_0x1392a1:0x2f3,_0x4d2168:0x165,_0x4747b7:0xe1,_0x280296:0x331,_0x520731:0x27,_0x2bf548:0x88,_0x2f1b1a:0xfb,_0x2c68c6:0x4fc,_0x19ae38:0x4e9,_0x34695e:0x48b,_0x5c2ea6:0x168,_0x4d42ca:0x390,_0x2abcbc:0x2af,_0x3eb3fe:0x209,_0x182d2c:0x161,_0x518c21:0x2e7,_0x714d1:0xff,_0x5c752c:0x1bf,_0x191294:0x1bb,_0x5f15ec:0x25e,_0x2ec816:0x4ba,_0xe17bdf:0x320,_0x1eff85:0x4b4,_0x29bd47:0x183,_0x7f5465:0x1d4,_0x19789e:0x2d4,_0x2d167e:0x4f5,_0x5f19a7:0x666,_0x45c779:0x484,_0x12b474:0x486,_0x2086fe:0x58a,_0xaea1:0x64a,_0x30f3b5:0x24a,_0x153933:0x495,_0x386221:0x400,_0x150a06:0x21b,_0x5ddabd:0x6c,_0x31c458:0x1ed,_0x5ecc02:0x208,_0x2f6bd8:0x23c,_0x1c4a3c:0x2f,_0x204d08:0x433,_0x4416cb:0x4ad,_0x5a0773:0x2f1,_0x418993:0x251,_0x3de15b:0x2fc,_0x18ad98:0x3fc,_0x66597d:0x5b1,_0xac0b90:0x29f,_0x4a7deb:0x17c,_0x48bbca:0x101,_0x4ab2cf:0xb7,_0x4d63bd:0x1b6,_0x389382:0x74,_0x4fe609:0xd8,_0x5f2fa9:0x134,_0x58c1bd:0xfa,_0x4b92da:0x278,_0x2fea4e:0x138,_0x46b804:0x54,_0x444c84:0x13a,_0x3a1f11:0xa6,_0x676b93:0x4ee,_0x1fd61d:0xbe,_0x3700ce:0x178,_0x127b2e:0x482,_0x372a85:0x2dc,_0xfc97d6:0x2c3,_0x1c4ef7:0x2d7,_0x1ec193:0x117,_0x147297:0x4ab,_0x3062ed:0xb0,_0x534f9d:0xbd,_0xf2dcf2:0x11e,_0x3fdcc4:0x8d,_0x4ae821:0x3be,_0x3bd16a:0x14f,_0x35dab0:0x42c,_0x821d24:0x2c3,_0x2f0017:0x242,_0x3ed05d:0xb1,_0x420d82:0x268,_0x49a42f:0x2d7,_0x5cb539:0x2c3,_0x3cc2a1:0x427,_0x24e403:0x30c,_0x4d7c47:0x3ed,_0x5d1548:0x252,_0x19f6cd:0x2fd,_0x119285:0x124,_0x42fa28:0x116,_0x9e7468:0xaf,_0x7066e9:0x202,_0x5b8c7a:0x381,_0x22fdb6:0x129,_0x2da0dd:0x59,_0x162d25:0x72,_0x4d85ef:0x169,_0xf6be4d:0xbf,_0x3f2e9c:0x53f,_0x321aa7:0x47d,_0x38ee2d:0x338,_0xb1138a:0x453,_0x4cf764:0x48b,_0x3919ca:0x4a7,_0x578f94:0x359,_0x584dce:0x316,_0x24ce4b:0x121,_0x36f027:0x26e,_0x5203b4:0x2b0,_0x20bb34:0xd6,_0x2080f9:0x4bf,_0x56dadc:0x3c,_0x17d44e:0x111,_0x356463:0x187,_0x447951:0x22,_0x55237f:0x179,_0x1e2eda:0x3c,_0x23e559:0x11,_0x2d78b9:0x102,_0x2fcb82:0x4d5,_0x3afa24:0x24d,_0x55d678:0x502,_0x2118cc:0x49e,_0x12b497:0xa6,_0x52a235:0x43a,_0x6110bd:0x22d,_0x557d06:0x41b,_0x4fbb78:0x150,_0x463b87:0x4f6,_0x18d605:0x5d9,_0x1e05e4:0x638,_0x2b752c:0xa1,_0x350a0d:0x1e9,_0x5a501c:0x21e,_0x1309d9:0x482,_0x4006c3:0x5dc,_0x3fac0f:0x58d,_0x3854b5:0x630,_0x3ef311:0x487,_0x40b2bf:0x288,_0x593e48:0x474,_0x45f7f4:0x4e,_0x25a700:0x55,_0x2418de:0x240,_0x23f0e5:0x428,_0x201a7e:0x2b1,_0x3c5637:0x3dc,_0x47a5f5:0xb6,_0x5b4749:0x228,_0x409fcf:0x22f,_0x5388d5:0x3d6,_0x3d400d:0x272,_0x4abeeb:0x360,_0xe7ad9e:0x41c,_0x34bb35:0x27c,_0x485371:0x50a,_0x2192c8:0x4db,_0x46811c:0xcd,_0x2174d5:0x2b,_0x570a71:0x46b,_0x36695a:0x606,_0x32b338:0x1b3,_0x2e3aca:0x215,_0x41cd5c:0x21e,_0x3785c6:0x41c,_0x29e503:0x29a,_0x66cb4f:0x672,_0x17c00c:0x57e,_0x10e7cf:0x50,_0x1d9f69:0x418,_0x35e539:0x224,_0x45e385:0x111,_0x34c79f:0x4a5,_0x288e06:0x4a1,_0x5ccdc6:0x2b9,_0x2535cc:0x3a9,_0x64415f:0xe,_0x5b7a7f:0x1b8,_0x35907f:0x125,_0x6fa994:0x99,_0x4f61ed:0x318,_0x5e0eab:0xa3,_0x50bd22:0x145,_0x51dfd1:0x1a7,_0x5a71e5:0x3a8,_0xa00f93:0x291,_0x185a3b:0x2c2,_0x5ba969:0x4a3,_0x2cffcf:0xcd,_0x52fed9:0x1d6,_0x4b4bc8:0x6d,_0x1f35ff:0x1f4,_0x497d5b:0x29c,_0x563cea:0x32e,_0x236e8b:0x2b3,_0x443266:0x275,_0x2c44c2:0x48b,_0x11525b:0x2d3,_0x850f72:0x108,_0x596b7b:0x316,_0x72e002:0x21a,_0x4f3ad4:0x45f},_0x2fb005={_0x5f1d7f:0x76,_0xdd7906:0xd3,_0x685f64:0x52,_0x4b24c9:0x102,_0x5ebafa:0x44c,_0x2e4248:0x37b,_0xc61ff:0x548,_0x55bbaf:0x7e8,_0x345a72:0x8a6,_0x401c37:0x11a,_0x33f422:0x139,_0x1dd6d7:0x253,_0x32f03a:0x636,_0x467c63:0x6f7},_0x4ef07f={_0x2bbf19:0x33},_0x4e73be={_0x426391:0x4fd,_0x25880a:0x308,_0x4d65ab:0x3e2,_0x418c8c:0x196,_0x470e19:0x1eb,_0x2e57a1:0x3cd,_0x4148fb:0xa6,_0x12f664:0x42d,_0x16a137:0x2e5,_0x1a73dd:0x448,_0x2aecdb:0x3cc,_0x15b4d6:0x2c9,_0x35efac:0x53e,_0x5263f7:0x4f4,_0xa6f39d:0x428,_0x4ba3ce:0x40c,_0xa505b5:0x63c,_0xc3a656:0x4f2,_0x19b300:0x5cc,_0x1c48e1:0x42b,_0x4acbbb:0x6f7,_0x12040b:0x366,_0x3b39fc:0x6cb,_0x268a7b:0x545,_0x4b00c7:0x395,_0x1d19f7:0x598},_0x329828={_0x2e264c:0x19b,_0x24f75f:0x318},_0x14203e={_0x4f0019:0x163,_0x2309a5:0x166},_0x5ab84f=Date[_0x1e39da(_0x271d2a._0x25b762,0x5d4,0x5d1,_0x271d2a._0x29c5ed)](),_0x37a2c3=_0x1cb008[_0x1e39da(_0x271d2a._0x44db8c,_0x271d2a._0x8bded5,_0x271d2a._0x426025,_0x271d2a._0x1dfe0d)];function _0x95f368(_0x515e96,_0x116158,_0x2950b6,_0x5b2a45){return _0x3a64dd(_0x515e96-_0x14203e._0x4f0019,_0x5b2a45,_0x2950b6- -0x310,_0x5b2a45-_0x14203e._0x2309a5);}if(_0x146bff?.[_0x1e39da(0x1b4,_0x271d2a._0x2cb02a,0x1ef,0xbe)])return{'status':_0x1e39da(_0x271d2a._0x86c565,_0x271d2a._0x282d06,_0x271d2a._0x4eb6b8,0x32d),'result':_0x1e39da(_0x271d2a._0x2e6ced,_0x271d2a._0x49d6ab,_0x271d2a._0x46d6f5,-0x109),'metadata':{'agentId':_0x37a2c3,'agentName':_0x1cb008['agentName'],'toolCallsExecuted':0x0,'executionTimeMs':0x0,'errorMessage':_0x1e39da(0x392,_0x271d2a._0x118ff3,0x4d0,0x496)}};const _0x31474a=_0x1cb008['delegationDepth']??0x0;if(_0x31474a>=MAX_DELEGATION_DEPTH)return{'status':_0x1e39da(_0x271d2a._0x86c565,_0x271d2a._0x3558c4,_0x271d2a._0x4ef44d,0x388),'result':_0x1e39da(0x2c4,0x2ea,_0x271d2a._0x39af99,0x125)+MAX_DELEGATION_DEPTH+_0x1e39da(_0x271d2a._0x395f95,_0x271d2a._0x40d9c6,0x1d5,_0x271d2a._0x1876eb),'metadata':{'agentId':_0x37a2c3,'agentName':_0x1cb008[_0x95f368(_0x271d2a._0x4a6a3d,0x3a1,_0x271d2a._0x34bc3a,_0x271d2a._0xbffce2)],'toolCallsExecuted':0x0,'executionTimeMs':Date['now']()-_0x5ab84f,'errorMessage':_0x95f368(_0x271d2a._0x387556,_0x271d2a._0x5de53d,_0x271d2a._0x14f051,_0x271d2a._0xe4effa)}};function _0x1e39da(_0x373f96,_0x2632f2,_0x2d8934,_0x4054b7){return _0x3a64dd(_0x373f96-0x182,_0x2632f2,_0x373f96- -0x314,_0x4054b7-0x67);}const _0x3daa11=_0x1cb008[_0x1e39da(0x2aa,0x3cb,0x414,0x277)]??'unknown';this[_0x95f368(_0x271d2a._0x46b61d,_0x271d2a._0x380d82,_0x271d2a._0x310389,-_0x271d2a._0x51ccb7)][_0x1e39da(0x31c,_0x271d2a._0x51ddbd,0x26e,_0x271d2a._0x46d6f5)](_0x3daa11,_0x1cb008[_0x1e39da(_0x271d2a._0x59be3a,0x5f6,_0x271d2a._0x767218,0x2c0)]??_0x1e39da(_0x271d2a._0x9cbb7c,0x3d7,_0x271d2a._0x33cefe,_0x271d2a._0xa85915),_0x1cb008[_0x95f368(0x38c,0x1e9,_0x271d2a._0x114437,0x4de)]),this['stateManager'][_0x1e39da(_0x271d2a._0x19eb6c,0x206,_0x271d2a._0x3ae2bc,_0x271d2a._0xcc14b8)](_0x37a2c3,{'state':_0x1e39da(0x144,_0x271d2a._0x2e330a,_0x271d2a._0x263774,_0x271d2a._0x1392a1)}),await this[_0x1e39da(0x102,_0x271d2a._0x4d2168,_0x271d2a._0x4747b7,_0x271d2a._0x280296)]?.({'type':AgentEventTypes[_0x95f368(-_0x271d2a._0x520731,_0x271d2a._0x2bf548,_0x271d2a._0x2f1b1a,-0x5)],'conversationId':_0x1cb008['conversationId']??_0x95f368(_0x271d2a._0x2c68c6,_0x271d2a._0x19ae38,_0x271d2a._0x34695e,0x412),'messageId':_0x1cb008[_0x1e39da(_0x271d2a._0x5c2ea6,_0x271d2a._0x310389,_0x271d2a._0x4d42ca,0x34a)]??'','agentId':_0x1cb008['agentId'],'agentName':_0x1cb008[_0x95f368(0x487,0x482,_0x271d2a._0x2abcbc,_0x271d2a._0x3eb3fe)],'toolCallId':_0x1cb008[_0x95f368(-0xcb,0x97,_0x271d2a._0x182d2c,0x2f8)]??''});const _0x31ec51='agent:'+_0x3daa11+':'+_0x37a2c3,_0x19a1bc=this['createMemoryForAgent']?this[_0x1e39da(0x1bc,0x1b9,_0x271d2a._0x518c21,_0x271d2a._0x714d1)](_0x31ec51):new InMemoryMemory(),_0x4d24b4=new ConversationStore(_0x19a1bc),_0x30974b={'createdAt':new Date()[_0x95f368(0x39c,-0x77,_0x271d2a._0x5c752c,0x210)](),'updatedAt':new Date()[_0x1e39da(_0x271d2a._0x191294,-0x3a,_0x271d2a._0x5f15ec,0x56)](),'messageCount':0x0,'topic':_0x1cb008[_0x95f368(_0x271d2a._0x2ec816,0xa8,_0x271d2a._0x2abcbc,0x4e9)]+':\x20'+_0x1cb008[_0x1e39da(_0x271d2a._0xe17bdf,_0x271d2a._0x1eff85,0x3c4,_0x271d2a._0x29bd47)][_0x95f368(0x1f,-0x7b,_0x271d2a._0x7f5465,0xc7)](0x0,0x32)+_0x1e39da(0x3e3,_0x271d2a._0x19789e,_0x271d2a._0x2d167e,0x2b2)};await _0x4d24b4[_0x95f368(_0x271d2a._0x5f19a7,_0x271d2a._0x45c779,_0x271d2a._0x12b474,_0x271d2a._0x2086fe)](_0x95f368(_0x271d2a._0xaea1,0x40b,0x48b,0x637),_0x30974b);if(_0x1cb008[_0x1e39da(0x2b2,_0x271d2a._0x40d9c6,0x454,0x496)]&&_0x1cb008[_0x1e39da(0x2b2,_0x271d2a._0x30f3b5,0x28a,0x1d5)]['length']>0x0)await _0x19a1bc[_0x95f368(_0x271d2a._0x153933,0x45c,_0x271d2a._0x386221,_0x271d2a._0x150a06)]('default',_0x1cb008['previousMessages']);else _0x1cb008[_0x95f368(-_0x271d2a._0x5ddabd,_0x271d2a._0x114437,0x127,_0x271d2a._0x31c458)]&&_0x1cb008['delegatingMemory']&&_0x1cb008[_0x1e39da(0x274,0x1ad,_0x271d2a._0x5ecc02,0x33)][_0x1e39da(_0x271d2a._0x2f6bd8,_0x271d2a._0x1c4a3c,0x2fc,0x1a7)]>0x0&&await _0x19a1bc[_0x1e39da(0x3fc,_0x271d2a._0x204d08,_0x271d2a._0x4416cb,0x283)](_0x95f368(_0x271d2a._0x5a0773,0x478,_0x271d2a._0x34695e,_0x271d2a._0x418993),_0x1cb008[_0x95f368(0x384,0x3d3,0x278,_0x271d2a._0x3de15b)]);const _0x41c890=[];this['eventCollectors'][_0x1e39da(_0x271d2a._0x18ad98,_0x271d2a._0x66597d,_0x271d2a._0xac0b90,0x372)](_0x37a2c3,_0x41c890);const _0x3d2332={'emit':async _0xf2ff61=>{const _0x1c30ce={_0x480b79:0xb1};_0x41c890[_0x2adbbd(_0x4e73be._0x426391,_0x4e73be._0x25880a,_0x4e73be._0x4d65ab,_0x4e73be._0x418c8c)](_0xf2ff61);function _0x2adbbd(_0x4ecc85,_0x45f7a9,_0xe79523,_0x3dd4c6){return _0x95f368(_0x4ecc85-0xcd,_0x45f7a9-_0x329828._0x2e264c,_0xe79523-_0x329828._0x24f75f,_0x4ecc85);}function _0x3ff0ef(_0x3b5683,_0x1f794f,_0x5d20c4,_0xe85c73){return _0x95f368(_0x3b5683-0x8c,_0x1f794f-0x47,_0xe85c73-_0x1c30ce._0x480b79,_0x5d20c4);}if(_0xf2ff61['type']===AgentEventTypes[_0x2adbbd(_0x4e73be._0x470e19,0x2c2,_0x4e73be._0x2e57a1,0x1d7)])for(const _0x22fbf5 of _0xf2ff61[_0x3ff0ef(0x2f5,_0x4e73be._0x4148fb,-0x9,0x1e7)]){await this[_0x2adbbd(0x523,0x5e5,0x41e,0x2a5)]?.({'type':AgentEventTypes[_0x3ff0ef(_0x4e73be._0x12f664,_0x4e73be._0x16a137,_0x4e73be._0x1a73dd,_0x4e73be._0x2aecdb)],'conversationId':_0x1cb008[_0x3ff0ef(_0x4e73be._0x15b4d6,0x60c,0x437,0x490)]??'default','messageId':_0x1cb008['messageId']??'','agentId':_0x1cb008[_0x2adbbd(0x634,0x77f,0x545,0x3f8)],'toolCallId':_0x22fbf5['id'],'toolName':_0x22fbf5['function'][_0x2adbbd(_0x4e73be._0x35efac,_0x4e73be._0x5263f7,_0x4e73be._0xa6f39d,0x632)],'toolArguments':_0x22fbf5[_0x3ff0ef(_0x4e73be._0x4ba3ce,_0x4e73be._0xa505b5,0x359,_0x4e73be._0xc3a656)]['arguments']});}else _0xf2ff61[_0x2adbbd(0x5de,0x59f,_0x4e73be._0x19b300,_0x4e73be._0x1c48e1)]===AgentEventTypes['ToolResult']&&await this['eventCallback']?.({'type':AgentEventTypes['SubAgentToolResult'],'conversationId':_0x1cb008[_0x2adbbd(0x6f5,0x922,_0x4e73be._0x4acbbb,0x839)]??'default','messageId':_0x1cb008[_0x2adbbd(_0x4e73be._0x12040b,0x446,0x484,0x625)]??'','agentId':_0x1cb008[_0x2adbbd(0x567,_0x4e73be._0x3b39fc,_0x4e73be._0x268a7b,0x683)],'toolCallId':_0xf2ff61['result']['id'],'toolName':_0xf2ff61['result']['name'],'durationMs':_0xf2ff61[_0x3ff0ef(_0x4e73be._0x4b00c7,_0x4e73be._0x2aecdb,0x134,0x34b)]['durationMs']??0x0,'status':_0xf2ff61['result'][_0x2adbbd(_0x4e73be._0x1d19f7,_0x4e73be._0x5263f7,0x64e,0x6bc)]});}},_0x360ea5=this[_0x95f368(_0x271d2a._0x4a7deb,-_0x271d2a._0x48bbca,_0x271d2a._0x4ab2cf,_0x271d2a._0x4d63bd)]?.()??{},_0x2041dc={'id':_0x37a2c3,'systemPrompt':_0x1cb008['systemPrompt'],'temperature':_0x1cb008[_0x1e39da(0x2b1,0x269,_0x271d2a._0x389382,_0x271d2a._0x4fe609)]??this[_0x1e39da(0x2bf,0x4ec,0x373,0xfb)]['temperature'],'topP':_0x1cb008[_0x1e39da(_0x271d2a._0x5f2fa9,0x2e3,0x76,-_0x271d2a._0x58c1bd)]??this[_0x1e39da(_0x271d2a._0x263774,0x4ed,0x244,_0x271d2a._0x4b92da)][_0x95f368(0x207,0x94,_0x271d2a._0x2fea4e,0x243)],'model':_0x1cb008[_0x95f368(-0x1db,-0x12e,_0x271d2a._0x46b804,-_0x271d2a._0x444c84)]??_0x360ea5[_0x95f368(0x1c5,-0x62,_0x271d2a._0x46b804,_0x271d2a._0x3a1f11)]??this[_0x95f368(0x496,_0x271d2a._0x676b93,0x2c3,0x286)][_0x95f368(-0x113,_0x271d2a._0x1fd61d,0x54,_0x271d2a._0x3700ce)],'maxTokens':_0x1cb008[_0x1e39da(0x28e,0x4cf,_0x271d2a._0x127b2e,_0x271d2a._0x372a85)]??this[_0x95f368(0x1a3,0x1ab,_0x271d2a._0xfc97d6,_0x271d2a._0x518c21)][_0x95f368(_0x271d2a._0x1c4ef7,_0x271d2a._0x1ec193,0x292,_0x271d2a._0x147297)],'enabledTools':_0x1cb008[_0x1e39da(0xdb,_0x271d2a._0x3062ed,_0x271d2a._0x534f9d,-0x4e)],'maxToolConcurrency':this[_0x1e39da(_0x271d2a._0x263774,0x400,_0x271d2a._0xf2dcf2,_0x271d2a._0x3fdcc4)][_0x1e39da(_0x271d2a._0x4ae821,0x608,0x2de,_0x271d2a._0x1876eb)],'requireToolApproval':![],'reasoningEffort':_0x360ea5[_0x95f368(0x2fa,0x2ab,_0x271d2a._0x3bd16a,0x2bd)]??this[_0x95f368(0x507,_0x271d2a._0x35dab0,_0x271d2a._0x821d24,_0x271d2a._0x48bbca)][_0x95f368(-0xef,_0x271d2a._0x2f0017,_0x271d2a._0x3bd16a,-_0x271d2a._0x3ed05d)],'thinking':_0x360ea5[_0x1e39da(0x196,_0x271d2a._0x420d82,_0x271d2a._0x49a42f,0x3ab)]??this[_0x95f368(0x120,0x47d,_0x271d2a._0x5cb539,_0x271d2a._0x3cc2a1)][_0x1e39da(0x196,0x2b5,_0x271d2a._0x24e403,0x1dc)]},_0x477322=this[_0x95f368(0x36b,_0x271d2a._0x1876eb,0x39a,0x534)]??new InMemoryMetricsPort(_0x513240=>{const _0xc4002a={_0x458729:0x6e};function _0x2f51aa(_0x208ec2,_0x3143d9,_0x395e2d,_0x57650d){return _0x1e39da(_0x3143d9-0x40d,_0x395e2d,_0x395e2d-0x90,_0x57650d-_0xc4002a._0x458729);}function _0x59641e(_0x23f33d,_0x77f1b2,_0x25aa43,_0x5d3b3d){return _0x95f368(_0x23f33d-0x4d,_0x77f1b2-0x1dd,_0x77f1b2- -_0x4ef07f._0x2bbf19,_0x23f33d);}this[_0x59641e(_0x2fb005._0x5f1d7f,_0x2fb005._0xdd7906,-_0x2fb005._0x685f64,-_0x2fb005._0x4b24c9)]?.({'type':AgentEventTypes[_0x59641e(_0x2fb005._0x5ebafa,_0x2fb005._0x2e4248,_0x2fb005._0xc61ff,0x2c6)],'conversationId':_0x1cb008[_0x2f51aa(0x6a0,_0x2fb005._0x55bbaf,0x6f6,_0x2fb005._0x345a72)]??'default','messageId':_0x1cb008[_0x59641e(_0x2fb005._0x401c37,_0x2fb005._0x33f422,_0x2fb005._0x1dd6d7,0x2f2)]??'','agentId':_0x1cb008[_0x2f51aa(0x401,_0x2fb005._0x32f03a,0x6ab,_0x2fb005._0x467c63)],'toolCallId':_0x1cb008['toolCallId']??'','metrics':_0x513240});}),_0x446828=this[_0x95f368(0x29f,0x2a7,_0x271d2a._0x4d7c47,_0x271d2a._0x5d1548)](_0x1cb008),_0x41b506=new AgentOrchestrator(_0x2041dc,{'memory':_0x19a1bc,'llm':_0x446828,'tools':this[_0x95f368(_0x271d2a._0x19f6cd,_0x271d2a._0x119285,_0x271d2a._0x42fa28,-_0x271d2a._0x9e7468)],'context':new SimpleContextBuilder(),'ids':new SimpleId(),'clock':new SystemClock(),'cost':new SimpleCost(),'reminders':new NoopReminders(),'events':_0x3d2332,'metrics':_0x477322});this[_0x1e39da(_0x271d2a._0x7066e9,_0x271d2a._0x5b8c7a,_0x271d2a._0x22fdb6,0x1b2)][_0x95f368(0x444,0x3ed,_0x271d2a._0x386221,0x4fb)](_0x37a2c3,_0x41b506);try{const _0x59fe0a=_0x1cb008[_0x1e39da(0x26c,0x3a5,0x2f5,_0x271d2a._0x2da0dd)]??DEFAULT_TIMEOUT_MS,_0x1124d2=await this[_0x1e39da(_0x271d2a._0x162d25,0x8d,-_0x271d2a._0x4d85ef,-_0x271d2a._0xf6be4d)](_0x41b506,_0x1cb008[_0x1e39da(_0x271d2a._0xe17bdf,0x385,0x4c8,_0x271d2a._0x3f2e9c)],_0x95f368(_0x271d2a._0x321aa7,_0x271d2a._0x38ee2d,0x48b,0x4e6),_0x59fe0a,_0x146bff,_0x1cb008['stream']),_0x3d2b0b=Date['now']()-_0x5ab84f,_0x221e63=await _0x19a1bc[_0x1e39da(_0x271d2a._0xb1138a,0x439,0x3fc,0x289)](_0x95f368(0x5ec,0x291,_0x271d2a._0x4cf764,_0x271d2a._0x3919ca)),_0x4e28c5=_0x41c890[_0x95f368(0x325,_0x271d2a._0x578f94,_0x271d2a._0x584dce,_0x271d2a._0x127b2e)](_0x3870cd=>_0x3870cd['type']===_0x1e39da(0x32f,0x3de,0x12e,0x3b0))[_0x95f368(_0x271d2a._0x24ce4b,0x33f,0x240,_0x271d2a._0x36f027)];let _0x321e77=0x0;for(const _0x4905d1 of _0x41c890){_0x4905d1[_0x1e39da(_0x271d2a._0x5203b4,_0x271d2a._0x20bb34,_0x271d2a._0x2080f9,0x80)]==='done'&&_0x4905d1['usage']?.[_0x1e39da(_0x271d2a._0x56dadc,-_0x271d2a._0x17d44e,_0x271d2a._0x356463,0x6f)]&&(_0x321e77+=_0x4905d1[_0x1e39da(_0x271d2a._0x447951,-_0x271d2a._0x55237f,-0x8a,-0x15c)][_0x1e39da(_0x271d2a._0x1e2eda,0xe3,-_0x271d2a._0x23e559,0x155)]);}const _0x34f764=_0x477322['getSnapshot']();return await this[_0x1e39da(_0x271d2a._0x2d78b9,0x9f,0x2e8,0x18a)]?.({'type':AgentEventTypes[_0x95f368(_0x271d2a._0x2fcb82,0x61d,0x44e,_0x271d2a._0x3afa24)],'conversationId':_0x1cb008[_0x95f368(_0x271d2a._0x55d678,_0x271d2a._0x2118cc,0x3df,0x4d2)]??_0x1e39da(0x487,0x503,0x4ab,0x603),'messageId':_0x1cb008[_0x95f368(0x393,_0x271d2a._0x12b497,0x16c,0x1d6)]??'','agentId':_0x1cb008[_0x95f368(0x3b5,_0x271d2a._0x52a235,_0x271d2a._0x6110bd,_0x271d2a._0x557d06)],'agentName':_0x1cb008[_0x95f368(_0x271d2a._0x25b762,0x2ae,0x2af,_0x271d2a._0x4fbb78)],'status':_0x95f368(_0x271d2a._0x463b87,_0x271d2a._0x18d605,0x439,_0x271d2a._0x1e05e4),'resultMessage':_0x1124d2[_0x95f368(_0x271d2a._0x2b752c,_0x271d2a._0x350a0d,_0x271d2a._0x5a501c,0xda)]||'','totalDurationMs':_0x3d2b0b}),await _0x4d24b4[_0x1e39da(_0x271d2a._0x1309d9,_0x271d2a._0x4006c3,_0x271d2a._0x3fac0f,_0x271d2a._0x3854b5)](_0x1e39da(_0x271d2a._0x3ef311,_0x271d2a._0x40b2bf,_0x271d2a._0x593e48,0x550),{'updatedAt':new Date()[_0x95f368(0x381,-_0x271d2a._0x45f7f4,0x1bf,0xb7)](),'messageCount':_0x221e63[_0x95f368(_0x271d2a._0x25a700,0xed,_0x271d2a._0x2418de,0x1a5)],'totalTokens':_0x321e77||_0x1124d2[_0x95f368(_0x271d2a._0x23f0e5,_0x271d2a._0x201a7e,0x41c,_0x271d2a._0x3c5637)]?.[_0x95f368(0x41c,_0x271d2a._0x47a5f5,_0x271d2a._0x5b4749,_0x271d2a._0x409fcf)],'promptTokens':_0x1124d2[_0x95f368(_0x271d2a._0x5388d5,0x3d2,0x41c,0x2b6)]?.[_0x95f368(0x8d,0x55,0x9,0x227)],'completionTokens':_0x1124d2[_0x95f368(_0x271d2a._0x3d400d,_0x271d2a._0x4abeeb,_0x271d2a._0xe7ad9e,_0x271d2a._0x34bb35)]?.[_0x1e39da(0x49a,0x497,_0x271d2a._0x485371,_0x271d2a._0x2192c8)],'toolCallCount':_0x4e28c5,'totalTimeMs':_0x3d2b0b}),this[_0x1e39da(_0x271d2a._0x46811c,_0x271d2a._0x2174d5,0xd2,0x165)]['update'](_0x37a2c3,{'state':_0x95f368(0x550,_0x271d2a._0x570a71,0x43d,0x355),'endTime':Date[_0x1e39da(0x3f3,0x20b,_0x271d2a._0x36695a,_0x271d2a._0x32b338)](),'result':_0x1124d2[_0x95f368(_0x271d2a._0x4b92da,0x117,_0x271d2a._0x5a501c,_0x271d2a._0x2e3aca)]||'','metrics':{'tokensUsed':_0x321e77||_0x1124d2[_0x95f368(0x218,_0x271d2a._0x41cd5c,_0x271d2a._0x3785c6,0x60c)]?.[_0x1e39da(0x224,0x19b,0x373,_0x271d2a._0x29e503)],'toolCallsExecuted':_0x4e28c5,'executionTimeMs':_0x3d2b0b}}),{'status':_0x1e39da(0x435,_0x271d2a._0x66cb4f,0x30d,_0x271d2a._0x17c00c),'result':_0x1124d2[_0x95f368(_0x271d2a._0x3eb3fe,_0x271d2a._0x10e7cf,0x21e,0x389)]||'','metadata':{'agentId':_0x37a2c3,'agentName':_0x1cb008['agentName'],'tokensUsed':_0x321e77||_0x1124d2[_0x1e39da(_0x271d2a._0x1d9f69,0x1ed,0x314,0x538)]?.[_0x1e39da(_0x271d2a._0x35e539,0x46b,_0x271d2a._0x2418de,_0x271d2a._0x45e385)],'toolCallsExecuted':_0x4e28c5,'executionTimeMs':_0x3d2b0b,'conversationHistory':_0x221e63,'events':_0x41c890,'metrics':_0x34f764,'sessionId':_0x37a2c3}};}catch(_0x494466){const _0x391585=Date['now']()-_0x5ab84f,_0x4016bd=_0x494466 instanceof Error?_0x494466['message']:String(_0x494466),_0x1afb2d=_0x494466 instanceof Error&&_0x494466[_0x95f368(_0x271d2a._0xe4effa,0x65c,_0x271d2a._0x34c79f,0x5af)]['includes']('timeout'),_0x3b7c17=_0x494466 instanceof Error&&(_0x494466[_0x1e39da(_0x271d2a._0x288e06,0x2bd,_0x271d2a._0x5ccdc6,_0x271d2a._0x2535cc)]['includes'](_0x95f368(-_0x271d2a._0x64415f,0xf8,_0x271d2a._0x5b7a7f,0x299))||_0x494466[_0x95f368(-_0x271d2a._0x35907f,-_0x271d2a._0x6fa994,0x110,_0x271d2a._0x4f61ed)]===_0x95f368(-_0x271d2a._0x5e0eab,0x1ba,_0x271d2a._0x50bd22,_0x271d2a._0x51dfd1)),_0x2ca6e8=_0x1afb2d?_0x1e39da(_0x271d2a._0x5a71e5,0x5bc,_0x271d2a._0xa00f93,0x46d):_0x3b7c17?'error':_0x1e39da(_0x271d2a._0x185a3b,_0x271d2a._0x5ba969,0xbf,0x3c9);return this[_0x1e39da(_0x271d2a._0x2cffcf,-0x4b,-0x4,_0x271d2a._0x52fed9)][_0x1e39da(0x146,0xc,-_0x271d2a._0x4b4bc8,_0x271d2a._0x1f35ff)](_0x37a2c3,{'state':_0x1e39da(0x2cd,0x123,_0x271d2a._0x12b497,0x360),'endTime':Date[_0x1e39da(_0x271d2a._0x25b762,0x204,0x4f7,_0x271d2a._0x497d5b)](),'error':_0x4016bd}),await this['eventCallback']?.({'type':AgentEventTypes[_0x1e39da(_0x271d2a._0x767218,0x53b,_0x271d2a._0x563cea,0x4fd)],'conversationId':_0x1cb008[_0x95f368(0x324,_0x271d2a._0x236e8b,0x3df,0x2a3)]??_0x95f368(0x341,_0x271d2a._0x443266,_0x271d2a._0x2c44c2,0x4d7),'messageId':_0x1cb008[_0x95f368(0x339,0xaa,0x16c,0x14e)]??'','agentId':_0x1cb008['agentId'],'agentName':_0x1cb008[_0x95f368(0x150,0x3d4,0x2af,0x4ac)],'status':_0x2ca6e8,'resultMessage':_0x4016bd,'totalDurationMs':_0x391585}),{'status':_0x2ca6e8,'result':_0x4016bd,'metadata':{'agentId':_0x37a2c3,'agentName':_0x1cb008['agentName'],'toolCallsExecuted':_0x41c890[_0x95f368(_0x271d2a._0x11525b,_0x271d2a._0x850f72,_0x271d2a._0x596b7b,_0x271d2a._0x72e002)](_0x13577f=>_0x13577f[_0x1e39da(0x2b0,0x30a,0xe7,0x141)]===_0x1e39da(0x32f,0x325,0x485,0x193))[_0x95f368(_0x271d2a._0x520731,0x2f8,0x240,0x219)],'executionTimeMs':_0x391585,'errorMessage':_0x4016bd,'events':_0x41c890,'sessionId':_0x37a2c3}};}finally{this['activeAgents'][_0x1e39da(_0x271d2a._0x4f3ad4,0x3ae,0x685,0x382)](_0x37a2c3),this[_0x95f368(0x270,0x21b,_0x271d2a._0x5ccdc6,0x303)]['delete'](_0x37a2c3);}}['resolveLLM'](_0x4fb470){const _0x3c259f={_0x1fbd35:0x3ce,_0x2eaaa9:0x4a7,_0x3b3e4c:0x392,_0x27b86b:0x5d0,_0x256eb0:0x43a,_0x328d3b:0x67f},_0x4db4e4={_0x30f496:0xec,_0x21fc7f:0x92},_0x193cb1={_0x1ff614:0x166,_0x3c92c4:0x3e};function _0x148c1b(_0x482cc3,_0x2b0af7,_0x23a3d8,_0x3b1ded){return _0x3a64dd(_0x482cc3-_0x193cb1._0x1ff614,_0x3b1ded,_0x482cc3-_0x193cb1._0x3c92c4,_0x3b1ded-0x187);}if(!this['llmResolver'])throw new Error(_0x148c1b(0x433,0x5cc,0x43d,_0x3c259f._0x1fbd35));function _0x140100(_0x466a71,_0x40add0,_0x23fc5f,_0x50a441){return _0x3a64dd(_0x466a71-_0x4db4e4._0x30f496,_0x50a441,_0x40add0- -0x79,_0x50a441-_0x4db4e4._0x21fc7f);}return this[_0x148c1b(_0x3c259f._0x2eaaa9,0x2be,0x5ab,_0x3c259f._0x3b3e4c)][_0x140100(0x4f7,_0x3c259f._0x27b86b,_0x3c259f._0x256eb0,_0x3c259f._0x328d3b)](_0x4fb470);}async['executeWithTimeout'](_0x2069ea,_0x6f4c89,_0x152e67,_0x55df0a,_0x13c1e3,_0x5e9207){const _0x54196f={_0x351485:0x641,_0x2cf83a:0x4d7,_0x3dbf87:0x3a7,_0x495935:0xd4,_0x2af02a:0x23f,_0x1d9108:0x1a5,_0x52a353:0x32},_0x407326={_0xc4f760:0x426,_0x1f1d4d:0x3ef,_0x4ee1fa:0x281,_0x3da6c4:0x3b4,_0x28603c:0x26d,_0x304501:0x351,_0x11724f:0x3e3,_0x14281d:0x4d6,_0x596e34:0x343},_0x4cbaaf={_0x32532e:0xf5},_0x2564ff={_0x110297:0xa7},_0x324504={_0x46cca6:0xe8,_0x20cf33:0x586},_0x1048d9={_0x471511:0x14b};function _0x35f29c(_0x313188,_0x865f02,_0x19d424,_0x61cbfa){return _0x3a64dd(_0x313188-0x1e0,_0x865f02,_0x313188- -_0x1048d9._0x471511,_0x61cbfa-0x129);}function _0xfe1145(_0x30a626,_0x276eea,_0x27c1d6,_0x3b9ac3){return _0x3a64dd(_0x30a626-_0x324504._0x46cca6,_0x276eea,_0x27c1d6- -_0x324504._0x20cf33,_0x3b9ac3-0x130);}const _0x529beb=new AbortController(),_0x31a221=_0x13c1e3?AbortSignal[_0x35f29c(0x4a4,0x585,_0x54196f._0x351485,0x4d6)]([_0x13c1e3,_0x529beb[_0x35f29c(0x35a,_0x54196f._0x2cf83a,_0x54196f._0x3dbf87,0x230)]]):_0x529beb[_0xfe1145(-_0x54196f._0x495935,-_0x54196f._0x2af02a,-0xe1,-_0x54196f._0x1d9108)];let _0x143e5a;try{return await Promise[_0xfe1145(-0x1ed,0x7c,-_0x54196f._0x52a353,0x1d0)]([_0x2069ea['send'](_0x6f4c89,{'conversationId':_0x152e67,'signal':_0x31a221,'stream':_0x5e9207}),new Promise((_0x1a1bba,_0x1cb965)=>{if(_0x13c1e3?.[_0x1af7f3(_0x407326._0xc4f760,0x3b4,_0x407326._0x1f1d4d,0x383)]){_0x1cb965(new Error(_0x1af7f3(0x499,_0x407326._0x4ee1fa,_0x407326._0x3da6c4,0x1ae)));return;}function _0x1af7f3(_0x5254ca,_0x2b2bfb,_0x2d53de,_0xf079b9){return _0x35f29c(_0x2b2bfb-0x37,_0xf079b9,_0x2d53de-_0x2564ff._0x110297,_0xf079b9-0x113);}function _0x5c96ed(_0x14367a,_0x209179,_0x2fbeee,_0x48acdb){return _0x35f29c(_0x48acdb-0x1be,_0x14367a,_0x2fbeee-_0x4cbaaf._0x32532e,_0x48acdb-0x44);}_0x13c1e3?.[_0x1af7f3(0x2da,_0x407326._0x28603c,_0x407326._0x304501,0x2d7)](_0x1af7f3(0x5f6,_0x407326._0x11724f,_0x407326._0x14281d,_0x407326._0x596e34),()=>_0x1cb965(new Error(_0x5c96ed(0x4d0,0x2fe,0x236,0x408))),{'once':!![]});}),new Promise((_0x58918d,_0x33913b)=>{const _0x3ade58={_0x24c982:0x1cb};_0x143e5a=setTimeout(()=>{function _0x1d2768(_0x2b9e42,_0x42b227,_0x1db508,_0x5709c7){return _0xb207(_0x1db508- -0x174,_0x42b227);}_0x529beb[_0x1d2768(-0xbe,0x1ef,0x110,_0x3ade58._0x24c982)](),_0x33913b(new Error('Task\x20execution\x20timeout\x20after\x20'+_0x55df0a+'ms'));},_0x55df0a);})]);}finally{if(_0x143e5a)clearTimeout(_0x143e5a);}}[_0x3a64dd(0x3ef,0x6f9,0x56b,0x42d)](){return this['activeAgents']['size'];}['getAgentEvents'](_0x1367c3){const _0x99ad={_0x290967:0x34e,_0x44feba:0x343,_0x4e670c:0x113},_0x1a3adc={_0x5baeb7:0x27b,_0x326362:0xf2},_0x71a729={_0x5eaff3:0x5,_0x396a36:0x664};function _0x4b0f77(_0x57f5ae,_0x42768e,_0x3a7c5d,_0x3ef627){return _0x55e1bc(_0x3ef627,_0x42768e-_0x71a729._0x5eaff3,_0x3a7c5d-0x84,_0x57f5ae- -_0x71a729._0x396a36);}function _0x543b6b(_0x5c0d14,_0x6aa9c,_0x3a79f2,_0x11b6cf){return _0x3a64dd(_0x5c0d14-0x158,_0x3a79f2,_0x11b6cf- -_0x1a3adc._0x5baeb7,_0x11b6cf-_0x1a3adc._0x326362);}return this[_0x543b6b(0x239,0x114,0x2b8,_0x99ad._0x290967)][_0x4b0f77(0x23f,0x2f6,_0x99ad._0x44feba,_0x99ad._0x4e670c)](_0x1367c3);}['cleanup'](){const _0x16c726={_0x3df7d2:0xc3,_0x5e8d15:0x137,_0x35288c:0x9c,_0x7e706e:0x29e,_0x5e0e4b:0x195,_0x38e3af:0x1be,_0x5edeba:0x429,_0x2de507:0x27e,_0x1f705e:0x2fc,_0x4ce402:0x290,_0x4095b2:0x4a1,_0x93473f:0x423,_0x2a819c:0x49b},_0x176362={_0xbadadb:0x6d,_0x41cff0:0x487},_0xd2b50b={_0x49bc5e:0x5d9,_0x3ec3eb:0x1d5};function _0x4ed92f(_0x163c9f,_0x231909,_0x203b52,_0xc88348){return _0x3a64dd(_0x163c9f-0x1e2,_0x203b52,_0x163c9f- -_0xd2b50b._0x49bc5e,_0xc88348-_0xd2b50b._0x3ec3eb);}function _0x442810(_0x147c96,_0x5e4c00,_0x39865d,_0x431cfc){return _0x55e1bc(_0x431cfc,_0x5e4c00-0x1bd,_0x39865d-_0x176362._0xbadadb,_0x39865d- -_0x176362._0x41cff0);}this[_0x4ed92f(-_0x16c726._0x3df7d2,-_0x16c726._0x5e8d15,-_0x16c726._0x35288c,-_0x16c726._0x7e706e)][_0x4ed92f(_0x16c726._0x5e0e4b,0x1af,0x14f,0x3e5)](),this[_0x442810(_0x16c726._0x38e3af,_0x16c726._0x5edeba,_0x16c726._0x2de507,_0x16c726._0x1f705e)][_0x442810(_0x16c726._0x4ce402,_0x16c726._0x4095b2,_0x16c726._0x93473f,_0x16c726._0x2a819c)]();}[_0x3a64dd(0x254,0x2a6,0x3b6,0x1b4)](){const _0x4e0857={_0x5cce7f:0x460,_0x54fa4c:0x680,_0x26c354:0x521},_0x28b2c9={_0x21b3c0:0x1aa};function _0x136d9d(_0x24e0f2,_0x14de69,_0x4ff86f,_0x3cad77){return _0x3a64dd(_0x24e0f2-_0x28b2c9._0x21b3c0,_0x4ff86f,_0x24e0f2-0x7f,_0x3cad77-0xab);}return this[_0x136d9d(_0x4e0857._0x5cce7f,_0x4e0857._0x54fa4c,_0x4e0857._0x26c354,0x64f)];}},AgentManagerCommandRunner=class{constructor(_0x19691c,_0x2192e2,_0x51a0a5,_0x1957a7,_0x3a5d9c,_0x2de03b){const _0x39e446={_0x500e7b:0x160,_0x584584:0x1a5,_0x5519e3:0x282,_0xb0a29d:0x3e1,_0xd88c2a:0x4dd,_0x230e37:0x574,_0x27a49:0x1b3,_0x586a8:0x267,_0x1a7284:0x442,_0x5859bb:0x15d,_0x1e00df:0x237,_0x1517ce:0x9e},_0x240d27={_0xa7adaa:0x100},_0x5bf055={_0x17a43c:0x58};this[_0x56ab82(0x37,_0x39e446._0x500e7b,_0x39e446._0x584584,_0x39e446._0x5519e3)]=_0x19691c,this['delegatingTools']=_0x2192e2,this[_0x43d5f6(_0x39e446._0xb0a29d,_0x39e446._0xd88c2a,0x5c2,_0x39e446._0x230e37)]=_0x51a0a5,this[_0x43d5f6(_0x39e446._0x27a49,0x3fd,0x35,_0x39e446._0x586a8)]=_0x1957a7,this[_0x43d5f6(0x1b0,0x4d9,_0x39e446._0x1a7284,0x370)]=_0x3a5d9c;function _0x43d5f6(_0x38c2ae,_0x5e0393,_0x1f9f56,_0x3ff55d){return _0x3a64dd(_0x38c2ae-0x42,_0x38c2ae,_0x3ff55d- -0x160,_0x3ff55d-_0x5bf055._0x17a43c);}function _0x56ab82(_0x409979,_0xea9162,_0x25bc37,_0x5ec760){return _0x3a64dd(_0x409979-_0x240d27._0xa7adaa,_0x25bc37,_0xea9162- -0x473,_0x5ec760-0x16d);}this[_0x56ab82(_0x39e446._0x5859bb,_0x39e446._0x1e00df,_0x39e446._0x1517ce,0x9a)]=_0x2de03b;}async[_0x55e1bc(0x523,0x5ef,0x79c,0x5b5)](_0x345c29,_0x4686d4){const _0x424204={_0x21395f:0x59e,_0x22e9a2:0x2f2,_0x4febcb:0x29b,_0x225c98:0x3f,_0x40bd3f:0x1bb,_0x6aa52e:0x458,_0x15be11:0xb5,_0x5b2053:0x15c,_0x4c4c10:0x132,_0x5d4e72:0x347,_0x29e43a:0x26c,_0x386689:0x14,_0xdab92c:0x530,_0x3c1ef2:0xe4,_0x442e5d:0x140,_0x230507:0x2ac},_0x16965b={_0x51b1b5:0x19a,_0x1f031e:0x48};function _0x2aefe3(_0x524bfe,_0x3be948,_0x27c561,_0x968e32){return _0x3a64dd(_0x524bfe-0xf3,_0x524bfe,_0x968e32- -0x26b,_0x968e32-0x1e1);}const _0x2de00d=_0x4686d4?.[_0x2aefe3(_0x424204._0x21395f,0x5cc,0x2fd,0x3c3)],_0x26ccbc=_0x4686d4?.[_0x10fd7e(0x107,_0x424204._0x22e9a2,0x282,0xa5)];function _0x10fd7e(_0x20274c,_0xd0719c,_0x81d702,_0x460b7f){return _0x3a64dd(_0x20274c-_0x16965b._0x51b1b5,_0xd0719c,_0x20274c- -0x39e,_0x460b7f-_0x16965b._0x1f031e);}const _0x276976=new AgentManager(this[_0x10fd7e(0x235,_0x424204._0x4febcb,0x34a,0x32a)],this[_0x2aefe3(-_0x424204._0x225c98,0xb4,-0x89,_0x424204._0x40bd3f)],this[_0x2aefe3(0x468,_0x424204._0x6aa52e,0x304,0x469)],_0x2de00d?_0x67bcf1=>_0x2de00d[_0x2aefe3(0x33e,0x285,0x277,0x19e)](_0x67bcf1):void 0x0,this[_0x2aefe3(0x6,_0x424204._0x15be11,0x24b,_0x424204._0x5b2053)],this[_0x10fd7e(_0x424204._0x4c4c10,_0x424204._0x5d4e72,_0x424204._0x29e43a,-_0x424204._0x386689)],this[_0x10fd7e(0x30c,0x3e3,_0x424204._0xdab92c,0x430)]);return _0x276976[_0x2aefe3(_0x424204._0x3c1ef2,_0x424204._0x442e5d,0xb8,_0x424204._0x230507)](_0x345c29,_0x26ccbc);}},DEFAULT_DELEGATION_DEPTH=0x0;function evaluatePolicy(_0x1feb2d,_0xd2132d){const _0x947ff1={_0x28e1e5:0x175,_0x4a3209:0x1b,_0xcc7fd:0x11d,_0x202ba2:0x10e,_0x3a322b:0x323,_0x509bc8:0x2dd},_0x424b9d={_0x55c409:0x767},_0x363f3a=_0x1feb2d['id'];function _0x4146a0(_0x5f31fa,_0x748610,_0x2b936c,_0x1c063d){return _0x55e1bc(_0x748610,_0x748610-0x3,_0x2b936c-0x1c8,_0x2b936c- -_0x424b9d._0x55c409);}function _0x2b1282(_0x5bce08,_0x34848f,_0x51acbd,_0x2d6cd3){return _0x3a64dd(_0x5bce08-0x16b,_0x51acbd,_0x5bce08- -0x634,_0x2d6cd3-0xe6);}if(!_0x363f3a)return{'allowed':![],'reason':_0x2b1282(-0xc0,0xcc,-_0x947ff1._0x28e1e5,-0x306)};const _0x1e3188=_0xd2132d[_0x363f3a];if(_0x1e3188===![])return{'allowed':![],'reason':_0x2b1282(_0x947ff1._0x4a3209,-_0x947ff1._0xcc7fd,-_0x947ff1._0x202ba2,-0x124)+_0x363f3a+_0x4146a0(-_0x947ff1._0x3a322b,-0x1d4,-0x100,-_0x947ff1._0x509bc8)};return{'allowed':!![]};}function formatSuccess(_0x45d1da,_0x3e089b){const _0x136c5d={_0x259e32:0x65d,_0x2b0e1c:0x740,_0x17403a:0x70d,_0x394423:0x323,_0x3c7c70:0x306,_0x5bbac3:0x1af,_0x48f26e:0x132,_0x17377e:0xcd,_0x147f80:0x2e6,_0x5bba9c:0xbc,_0x48972d:0x11c,_0x299667:0xee,_0x368ec0:0x8ea},_0x405414={_0x3673fa:0x1eb};function _0x11e7b5(_0x3f0751,_0x3049d0,_0x45a54a,_0x499586){return _0x55e1bc(_0x499586,_0x3049d0-0x14a,_0x45a54a-0x129,_0x3049d0- -0x20b);}function _0x5ac797(_0x128a26,_0xd2c474,_0x24985d,_0x2e2b5e){return _0x3a64dd(_0x128a26-_0x405414._0x3673fa,_0xd2c474,_0x2e2b5e- -0x5fa,_0x2e2b5e-0x2);}return{'summary':_0x3e089b['result'],'metadata':{'agentId':_0x45d1da,'agentName':_0x3e089b[_0x11e7b5(0x69c,_0x136c5d._0x259e32,_0x136c5d._0x2b0e1c,_0x136c5d._0x17403a)]['agentName'],'status':_0x3e089b['status'],'executionTimeMs':_0x3e089b['metadata']['executionTimeMs'],'toolCallsExecuted':_0x3e089b[_0x5ac797(_0x136c5d._0x394423,_0x136c5d._0x3c7c70,_0x136c5d._0x5bbac3,_0x136c5d._0x48f26e)][_0x5ac797(0x9f,-_0x136c5d._0x17377e,_0x136c5d._0x147f80,_0x136c5d._0x5bba9c)],'tokensUsed':_0x3e089b[_0x11e7b5(0x70e,0x65d,0x682,0x5f7)][_0x5ac797(-0x2b4,-_0x136c5d._0x48972d,0x3b,-_0x136c5d._0x299667)],'metrics':_0x3e089b['metadata'][_0x11e7b5(0x70b,0x6d8,0x803,_0x136c5d._0x368ec0)]}};}function formatError(_0x40df11){const _0x5cdb99={_0x2b83e4:0x43e,_0x179ad9:0x325,_0x7958b7:0x5ad},_0xa518fd={_0x1e466e:0x1ca,_0x543259:0x3a5,_0x530e44:0x1cf};if(_0x40df11 instanceof Error)return _0x40df11[_0x352cb3(0x410,_0x5cdb99._0x2b83e4,_0x5cdb99._0x179ad9,_0x5cdb99._0x7958b7)];function _0x352cb3(_0x43ccca,_0x281e08,_0x35dac0,_0x11369b){return _0x3a64dd(_0x43ccca-_0xa518fd._0x1e466e,_0x11369b,_0x43ccca- -_0xa518fd._0x543259,_0x11369b-_0xa518fd._0x530e44);}return String(_0x40df11);}var DefaultDelegationService=class{constructor(_0x26f841,_0x4aa41d,_0x4761ba){const _0x53674a={_0x478c54:0x1e4},_0x3ab2a4={_0x1e96c0:0x1e4,_0x2d08b5:0x191},_0x4b0107={_0x56e2fd:0xf,_0x4a9bcb:0x603};this['catalog']=_0x26f841,this[_0x2dbf37(-0x2f4,-_0x53674a._0x478c54,0x46,0x28)]=_0x4aa41d;function _0x2dbf37(_0x514b53,_0x188852,_0x15a136,_0x75df37){return _0x3a64dd(_0x514b53-_0x4b0107._0x56e2fd,_0x514b53,_0x188852- -_0x4b0107._0x4a9bcb,_0x75df37-0x1cb);}function _0x3aa022(_0x2fc505,_0x48ac99,_0x3de090,_0x35171d){return _0x55e1bc(_0x2fc505,_0x48ac99-_0x3ab2a4._0x1e96c0,_0x3de090-_0x3ab2a4._0x2d08b5,_0x35171d- -0x5fc);}this[_0x3aa022(-0x77,0xa1,-0x1a5,-0xf)]=_0x4761ba;}[_0x55e1bc(0x64e,0x5c0,0x7d8,0x638)]={};[_0x3a64dd(0x30e,0x6fc,0x548,0x53c)]=new Map();[_0x55e1bc(0x4c4,0x752,0x892,0x642)](_0x22579e){const _0x2a0598={_0x18ece8:0x18e,_0x5942c2:0x12f},_0x5ec1ee={_0x33487f:0x36e};function _0x2ba06c(_0x146dd5,_0x43f071,_0x19e517,_0x482368){return _0x3a64dd(_0x146dd5-0x1df,_0x482368,_0x43f071- -_0x5ec1ee._0x33487f,_0x482368-0x1de);}this[_0x2ba06c(0x3a8,_0x2a0598._0x18ece8,-0x18,_0x2a0598._0x5942c2)]=_0x22579e;}[_0x3a64dd(0x664,0x7f1,0x651,0x6f6)](){const _0x4d7458={_0x40e48d:0x411,_0x341515:0x699,_0x45085d:0x801,_0xe606a:0x6b8,_0x1db808:0x688},_0x246548={_0x31d4e6:0x1ee},_0x135f1b={_0x42f89a:0x192,_0x116e9b:0xed,_0x3cf2a7:0x5c};function _0x5c29b6(_0x211a00,_0x307b59,_0x393f60,_0x486bde){return _0x3a64dd(_0x211a00-_0x135f1b._0x42f89a,_0x486bde,_0x393f60-_0x135f1b._0x116e9b,_0x486bde-_0x135f1b._0x3cf2a7);}function _0x16357f(_0x2e2a95,_0x278873,_0x4f0d98,_0x505f23){return _0x55e1bc(_0x505f23,_0x278873-0x1b6,_0x4f0d98-_0x246548._0x31d4e6,_0x278873- -0x487);}return this[_0x5c29b6(_0x4d7458._0x40e48d,0x5f4,0x59d,0x390)][_0x5c29b6(_0x4d7458._0x341515,0x65a,_0x4d7458._0x45085d,0x714)]()[_0x5c29b6(0x89e,_0x4d7458._0xe606a,0x713,_0x4d7458._0x1db808)](_0x5236c7=>!_0x5236c7['id']||this[_0x16357f(0x247,0x1b1,-0x44,0x286)][_0x5236c7['id']]!==![]);}async[_0x55e1bc(0x871,0x834,0x9be,0x832)](_0x35ea2b,_0x4ad082){const _0x8bf20a={_0x506215:0x1bc,_0x383078:0x2ca,_0xdcf357:0x9f,_0x188e36:0x22b,_0x5efb4e:0x20b,_0x4c15bf:0x515,_0x16f7a7:0x105,_0x5c1ca3:0x180,_0x324d74:0xa2,_0x4aa9b1:0x8d,_0x27967f:0x139,_0x4ebed1:0x2a1,_0x98546a:0x1f,_0x4ebee1:0x4f,_0x3b5953:0x1f0,_0x30c389:0x26f,_0x4744e0:0x1c8,_0x252e4e:0x263,_0x48196f:0x46,_0x274522:0x268,_0x9c3ba1:0x215,_0x421b45:0xe6,_0xd051cd:0x2af,_0x1ff3dc:0x44d,_0xc29fb5:0x539,_0x538e28:0x55f,_0x7296bc:0x153,_0x5c34c2:0x1bf,_0xd27f70:0xe4,_0x2288d9:0x4e,_0x1e6d2d:0xbf,_0x4d3f6c:0x1b,_0x54e3bc:0xbe,_0x1e38e3:0x708,_0xaa0659:0x2,_0x5e0bd0:0x75e,_0x12d606:0x102,_0x296904:0xb0},_0x367e97={_0x2077c9:0x9f},_0x37a012={_0x19d163:0x1cb},_0x525ddf=this[_0x1d80b5(-0x9b,-0xe0,-_0x8bf20a._0x506215,-0xd8)]['get'](_0x35ea2b[_0x1d80b5(0x219,_0x8bf20a._0x383078,-0x8b,_0x8bf20a._0xdcf357)]);if(!_0x525ddf){const _0x103909=this[_0x15f8af(_0x8bf20a._0x188e36,0x340,_0x8bf20a._0x5efb4e,_0x8bf20a._0x4c15bf)]['list']()[_0x1d80b5(-_0x8bf20a._0x16f7a7,-0xcd,-0x2c6,-_0x8bf20a._0x5c1ca3)](_0x42c9e8=>_0x42c9e8['id'])[_0x1d80b5(_0x8bf20a._0x324d74,-_0x8bf20a._0x4aa9b1,_0x8bf20a._0x27967f,0x9e)](Boolean)['join'](',\x20');return{'success':![],'error':_0x15f8af(0x4d7,0x4df,0x5cb,_0x8bf20a._0x4ebed1)+_0x35ea2b['agent']+_0x1d80b5(-_0x8bf20a._0x98546a,-0x1bf,-0xfb,0x61)+_0x103909};}const _0x3a1681=evaluatePolicy(_0x525ddf,this['enabledAgents']);function _0x1d80b5(_0xa5b77f,_0x48bed5,_0x92323d,_0x373218){return _0x3a64dd(_0xa5b77f-0x1bc,_0x48bed5,_0x373218- -0x588,_0x373218-_0x37a012._0x19d163);}if(!_0x3a1681['allowed'])return{'success':![],'error':_0x3a1681['reason']??_0x1d80b5(_0x8bf20a._0x4ebee1,_0x8bf20a._0x3b5953,_0x8bf20a._0x30c389,0x20f)};const _0x98b489=typeof _0x4ad082?.[_0x15f8af(0x2c9,0x1c2,0x383,-0x40)]===_0x15f8af(0x327,_0x8bf20a._0x4744e0,_0x8bf20a._0x252e4e,-_0x8bf20a._0x48196f)?_0x4ad082[_0x1d80b5(-_0x8bf20a._0x274522,-0x30e,-_0x8bf20a._0x9c3ba1,-0x256)]:DEFAULT_DELEGATION_DEPTH;function _0x15f8af(_0x3e4834,_0x310055,_0x3627d2,_0x165ea6){return _0x3a64dd(_0x3e4834-_0x367e97._0x2077c9,_0x3e4834,_0x310055- -0x170,_0x165ea6-0x174);}const _0x4e124a=await this[_0x15f8af(_0x8bf20a._0x421b45,_0x8bf20a._0xd051cd,0x431,_0x8bf20a._0x1ff3dc)][_0x15f8af(_0x8bf20a._0xc29fb5,0x4c0,_0x8bf20a._0x538e28,0x6f6)]({'template':_0x525ddf,'params':_0x35ea2b,'context':_0x4ad082,'currentDepth':_0x98b489});try{const _0x28aed1=await this[_0x1d80b5(-0x20f,_0x8bf20a._0x7296bc,-0x227,-0xd7)]['run'](_0x4e124a,_0x4ad082);if(_0x28aed1['status']===_0x1d80b5(-_0x8bf20a._0x5c34c2,_0x8bf20a._0xd27f70,0xc4,_0x8bf20a._0x2288d9)||_0x28aed1[_0x1d80b5(_0x8bf20a._0x1e6d2d,0x143,_0x8bf20a._0x4d3f6c,_0x8bf20a._0x54e3bc)]===_0x15f8af(_0x8bf20a._0x1e38e3,0x54c,0x489,0x66e))return{'success':![],'error':_0x28aed1['result']};const {summary:_0x1e95b6,metadata:_0x3db9f6}=formatSuccess(_0x35ea2b['agent'],_0x28aed1);return{'success':!![],'summary':_0x1e95b6,'metadata':{..._0x3db9f6,'sessionId':_0x28aed1[_0x1d80b5(0x229,_0x8bf20a._0xaa0659,0x3a1,0x1a4)][_0x15f8af(0x47a,0x644,_0x8bf20a._0x5e0bd0,0x3f8)]}};}catch(_0xfcbd60){return{'success':![],'error':_0x1d80b5(0xcf,-_0x8bf20a._0x12d606,_0x8bf20a._0x296904,-0x2f)+formatError(_0xfcbd60)};}}async[_0x3a64dd(0x55f,0x8c9,0x771,0x56c)](_0x1fa704,_0x18f7ec){const _0x27f2c3={_0x387310:0x135,_0x598b21:0x3d6,_0xcab700:0x25f,_0x1b420f:0x22c,_0x492acc:0x56d,_0x30e575:0x531,_0x10670b:0x45b,_0x27d35c:0x2b7,_0x169b9b:0x1f6,_0x1f7d19:0x7a,_0x507ea1:0x9a,_0x24c9e6:0x101,_0xaa3315:0x5b7,_0x386bff:0x2ca,_0x1ece88:0x519,_0x75cb5c:0x7bf,_0x3e0948:0x5cb,_0x55596e:0xa1,_0x1fc015:0x285,_0x625e6c:0x235,_0x56b707:0x2f1,_0x30a0f3:0x142,_0x44d255:0x21b,_0x375b05:0x2e5,_0x177bb9:0x3af,_0x37963d:0x156,_0x130aff:0x1a6,_0x2aaf84:0x317,_0x59d362:0x2aa,_0x174e14:0x3a0,_0x4b957d:0x5d8,_0x5cf118:0x532,_0x1f532e:0x44b,_0x41e161:0x644,_0x213bf3:0x41d,_0x4c6412:0x183,_0x3ca30e:0x315},_0x227b1a={_0x466d7c:0x371},_0x38705c={_0xe7e5d6:0x1e9,_0x4727b9:0x210,_0x3642a8:0x4e,_0x11491:0x1ce,_0x5b6070:0x1e9,_0x42d2de:0x3a1,_0x4a735f:0x34b,_0x596b7e:0x102,_0x54c7bc:0x13c,_0x10bd05:0xd9,_0x45c036:0x11e,_0x444107:0x201,_0x24dbee:0x1ca,_0x4ef760:0x8b,_0x4b896b:0x2cf},_0x54ef0b={_0x35dc7c:0x25},_0x40a860={_0x166c82:0x62,_0xf78ecf:0x34},_0xed8e21={_0x161b7f:0x99},_0x54e88d={_0x36f8eb:0x18f,_0x4eb3fa:0x3fb,_0x4c9cc4:0x183},_0x32f7c0=this[_0x2f648c(0x3bd,_0x27f2c3._0x387310,0x2e4,_0x27f2c3._0x598b21)]['get'](_0x1fa704[_0x3899f3(0x289,_0x27f2c3._0xcab700,_0x27f2c3._0x1b420f,0x13e)]);if(!_0x32f7c0)return{'success':![],'error':_0x3899f3(0x230,0x47e,0x254,0xec)+_0x1fa704[_0x2f648c(_0x27f2c3._0x492acc,_0x27f2c3._0x30e575,_0x27f2c3._0x10670b,_0x27f2c3._0x27d35c)]+_0x2f648c(0x451,0x1e5,0x314,_0x27f2c3._0x169b9b)};const _0x374769=evaluatePolicy(_0x32f7c0,this[_0x3899f3(-_0x27f2c3._0x1f7d19,-_0x27f2c3._0x507ea1,_0x27f2c3._0x24c9e6,0x1bb)]);if(!_0x374769[_0x2f648c(_0x27f2c3._0xaa3315,_0x27f2c3._0x386bff,0x4fc,0x5b6)])return{'success':![],'error':_0x374769['reason']??_0x2f648c(_0x27f2c3._0x1ece88,_0x27f2c3._0x75cb5c,_0x27f2c3._0x3e0948,0x7a2)};const _0x92f5b0=typeof _0x18f7ec?.[_0x3899f3(-_0x27f2c3._0x55596e,-0xc4,-0xc9,-_0x27f2c3._0x1fc015)]==='number'?_0x18f7ec[_0x2f648c(0x229,0x27e,0x166,0x397)]:DEFAULT_DELEGATION_DEPTH,_0x5e2d15=await this['factory'][_0x3899f3(0x30c,0x1fd,_0x27f2c3._0x625e6c,0x420)]({'template':_0x32f7c0,'params':_0x1fa704,'context':_0x18f7ec,'currentDepth':_0x92f5b0}),_0x3d89f2=_0x5e2d15[_0x3899f3(-0xe9,_0x27f2c3._0x56b707,_0x27f2c3._0x30a0f3,_0x27f2c3._0x44d255)];function _0x3899f3(_0x16c5d8,_0x3592ae,_0x11d5bc,_0x32a0d2){return _0x3a64dd(_0x16c5d8-_0x54e88d._0x36f8eb,_0x16c5d8,_0x11d5bc- -_0x54e88d._0x4eb3fa,_0x32a0d2-_0x54e88d._0x4c9cc4);}function _0x2f648c(_0x36e0c2,_0x218ebb,_0x203cfb,_0x384f3b){return _0x55e1bc(_0x218ebb,_0x218ebb-0xf0,_0x203cfb-_0xed8e21._0x161b7f,_0x203cfb- -0x308);}const _0x17ee3a=this[_0x2f648c(0x35d,0x23c,_0x27f2c3._0x375b05,_0x27f2c3._0x177bb9)][_0x3899f3(-_0x27f2c3._0x37963d,-0x13c,0x7e,_0x27f2c3._0x130aff)](_0x5e2d15,_0x18f7ec)[_0x2f648c(0x2b7,_0x27f2c3._0x2aaf84,_0x27f2c3._0x59d362,_0x27f2c3._0x174e14)](_0x161c4d=>{if(_0x161c4d[_0x443bfb(0x3d,_0x38705c._0xe7e5d6,_0x38705c._0x4727b9,0x2df)]===_0x3d1f4e(0x1c,0x10f,-_0x38705c._0x3642a8,-_0x38705c._0x11491)||_0x161c4d[_0x443bfb(0x29d,_0x38705c._0x5b6070,_0x38705c._0x42d2de,_0x38705c._0x4a735f)]===_0x3d1f4e(_0x38705c._0x596b7e,_0x38705c._0x54c7bc,_0x38705c._0x10bd05,-_0x38705c._0x45c036))return{'success':![],'error':_0x161c4d[_0x3d1f4e(-0x10,0x13d,0x5b,-_0x38705c._0x444107)]};function _0x443bfb(_0xcda144,_0x1344a2,_0x1c8416,_0x443383){return _0x3899f3(_0xcda144,_0x1344a2-0x7a,_0x1344a2- -_0x40a860._0x166c82,_0x443383-_0x40a860._0xf78ecf);}function _0x3d1f4e(_0x47029c,_0x3867d3,_0x5a9911,_0xeaf3c6){return _0x3899f3(_0x5a9911,_0x3867d3-_0x54ef0b._0x35dc7c,_0x47029c- -0x1bf,_0xeaf3c6-0x3b);}const {summary:_0x3426dc,metadata:_0x4dfb4e}=formatSuccess(_0x1fa704[_0x443bfb(0x318,_0x38705c._0x24dbee,0x48,-0x7)],_0x161c4d);return{'success':!![],'summary':_0x3426dc,'metadata':{..._0x4dfb4e,'sessionId':_0x161c4d[_0x3d1f4e(0x172,_0x38705c._0x4ef760,-0x12,_0x38705c._0x4b896b)]['sessionId']}};})[_0x2f648c(_0x27f2c3._0x4b957d,_0x27f2c3._0x5cf118,_0x27f2c3._0x1f532e,_0x27f2c3._0x41e161)](_0x568389=>{function _0x39f60d(_0x40f47c,_0x29eaf4,_0x49328d,_0x56f26c){return _0x3899f3(_0x49328d,_0x29eaf4-0x9d,_0x29eaf4-0x38f,_0x56f26c-0x93);}return{'success':![],'error':_0x39f60d(0x59c,0x4ed,0x4b8,_0x227b1a._0x466d7c)+formatError(_0x568389)};});return this[_0x3899f3(-0x67,0x4b,0x14d,0x12e)][_0x3899f3(_0x27f2c3._0x213bf3,_0x27f2c3._0x4c6412,_0x27f2c3._0x3ca30e,0x551)](_0x3d89f2,_0x17ee3a),{'success':!![],'sessionId':_0x3d89f2};}async[_0x3a64dd(0x746,0x327,0x565,0x5a7)](_0x5f5663,_0x8279dd=![]){const _0x58643c={_0x37aa9f:0x1db,_0x3bdba9:0xa6,_0x59dc96:0x73d,_0x16f03e:0x74a,_0xe38d11:0xf,_0x5ba3a3:0x2ad,_0x22acd9:0x406,_0x2e7aab:0x109,_0x3a08db:0x3a,_0x540a1f:0x622,_0x365a41:0x62c,_0x79c678:0x30a,_0x832ba3:0x52a},_0x2837df={_0x320f37:0x1ca},_0x2aa7c5={_0x33e71b:0x129},_0x2f4577=this[_0x2290ed(0x141,0x41a,_0x58643c._0x37aa9f,_0x58643c._0x3bdba9)][_0x4522ba(0x534,0x710,_0x58643c._0x59dc96,_0x58643c._0x16f03e)](_0x5f5663);if(!_0x2f4577)return null;if(_0x8279dd){const _0x3d0d49=await _0x2f4577;return this[_0x2290ed(0x19e,0x13e,0x1db,-_0x58643c._0xe38d11)][_0x2290ed(_0x58643c._0x5ba3a3,0x4fb,_0x58643c._0x22acd9,0x4e4)](_0x5f5663),_0x3d0d49;}function _0x2290ed(_0x424188,_0x5b66ce,_0x1fda35,_0x597ec8){return _0x55e1bc(_0x5b66ce,_0x5b66ce-_0x2aa7c5._0x33e71b,_0x1fda35-0x12b,_0x1fda35- -0x4a9);}const _0x26cbca=await Promise[_0x4522ba(0x6e4,0x66f,0x3c7,0x537)]([_0x2f4577[_0x2290ed(-0xe8,-0x8e,_0x58643c._0x2e7aab,_0x58643c._0x3a08db)](_0x670720=>({'resolved':!![],'result':_0x670720})),Promise[_0x4522ba(0x3e9,_0x58643c._0x540a1f,0x7bf,_0x58643c._0x365a41)]({'resolved':![]})]);function _0x4522ba(_0x4c5678,_0x269f44,_0x1de708,_0x3a4de1){return _0x3a64dd(_0x4c5678-0x4b,_0x4c5678,_0x3a4de1- -0x1d,_0x3a4de1-_0x2837df._0x320f37);}if(_0x26cbca[_0x4522ba(0x449,0x5c6,0x6d5,0x5e0)])return this['backgroundAgents'][_0x2290ed(_0x58643c._0x79c678,0x352,_0x58643c._0x22acd9,_0x58643c._0x832ba3)](_0x5f5663),_0x26cbca['result'];return null;}['isBackgroundAgentRunning'](_0x32f492){const _0x157196={_0x190dd5:0x6e,_0x3584d0:0x1cf,_0x1e64f7:0x24e,_0x40d15b:0x3a9,_0x2a50cb:0x5db,_0xf5a9ad:0x434},_0x421d9b={_0x3abd79:0x132,_0x27b48d:0x4b5},_0x3288a3={_0x731afd:0x43,_0x1aa635:0x1a0};function _0x266f34(_0x56a6d6,_0x46d49b,_0x3b8b28,_0x3744ee){return _0x3a64dd(_0x56a6d6-0x9a,_0x56a6d6,_0x46d49b-_0x3288a3._0x731afd,_0x3744ee-_0x3288a3._0x1aa635);}function _0x473ca5(_0x19fadc,_0x1c2a41,_0x427fc9,_0x122c3b){return _0x55e1bc(_0x19fadc,_0x1c2a41-_0x421d9b._0x3abd79,_0x427fc9-0xf1,_0x1c2a41- -_0x421d9b._0x27b48d);}return this[_0x473ca5(_0x157196._0x190dd5,_0x157196._0x3584d0,0x69,0x232)][_0x473ca5(_0x157196._0x1e64f7,_0x157196._0x40d15b,_0x157196._0x2a50cb,_0x157196._0xf5a9ad)](_0x32f492);}},DelegationServiceFactory=class{[_0x3a64dd(0x7a1,0x7c2,0x630,0x511)](_0x2e2f05){const _0x58a36e={_0x54bd2f:0x26f},_0x14bee7={_0x1e645a:0xe0},_0x1f5597={_0x12b4ff:0x15e},_0x32d0f7=new DefaultSpecialistAgentFactory({'agentListProvider':_0x2e2f05['agentListProvider'],'createMemoryForAgent':_0x2e2f05[_0x63dad8(0x126,0x374,_0x58a36e._0x54bd2f,0x20f)]});function _0x63dad8(_0xb54b10,_0x5d18f7,_0x275cae,_0x3eb474){return _0x55e1bc(_0xb54b10,_0x5d18f7-0x1a9,_0x275cae-_0x1f5597._0x12b4ff,_0x5d18f7- -0x298);}function _0x3ecc05(_0x43852a,_0x16c0c5,_0x32372c,_0x152910){return _0x55e1bc(_0x32372c,_0x16c0c5-0x1c2,_0x32372c-_0x14bee7._0x1e645a,_0x152910- -0x3e6);}return new DefaultDelegationService(_0x2e2f05[_0x3ecc05(0x354,0x4e9,0x3dc,0x2a9)],_0x32d0f7,_0x2e2f05['commandRunner']);}},ToolRegistry=class{['tools']=new Map();['toolsMemory'];[_0x55e1bc(0x5d7,0x718,0x707,0x68f)];['delegationServiceFactory'];[_0x55e1bc(0x78a,0x3d2,0x749,0x61b)];[_0x55e1bc(0x6c0,0x66f,0x7e8,0x6e4)]={};['orchestratorConfig'];[_0x3a64dd(0x6f5,0x65a,0x5fe,0x543)];[_0x3a64dd(0x6bd,0x874,0x750,0x65f)];[_0x55e1bc(0x5f2,0x5ed,0x529,0x66b)];constructor(_0x15fab4){const _0x16a232={_0x19bdde:0x39f,_0x49bf5f:0x499,_0x3978e2:0x4a3,_0x2843c4:0x588,_0x18ba4c:0x5ba,_0x5eba3f:0x1db,_0x16ac71:0x1ab,_0xdd1dda:0x29,_0x98c28b:0x12b,_0x5632cc:0x9d,_0x26f0d6:0x200,_0x5375b0:0x634,_0xe20274:0x5b8,_0x1896f2:0x44d},_0x314cc7={_0x46368f:0x10e,_0x178783:0x378},_0x34c3b9={_0x1832c7:0x116,_0x18d8e0:0x1b9,_0x53f5f8:0x10f};this[_0x43fb3c(0x251,_0x16a232._0x19bdde,0x115,0x1e3)]=_0x15fab4?.[_0x4e3af5(_0x16a232._0x49bf5f,_0x16a232._0x3978e2,_0x16a232._0x2843c4,_0x16a232._0x18ba4c)]||new InMemoryMemory(),this[_0x43fb3c(0x12a,0x132,0x143,_0x16a232._0x5eba3f)]=_0x15fab4?.[_0x43fb3c(0x1cb,_0x16a232._0x16ac71,0x1b5,0x1db)]||new AgentRegistry(),this['delegationServiceFactory']=_0x15fab4?.[_0x43fb3c(-_0x16a232._0xdd1dda,0x28f,_0x16a232._0x98c28b,0x15b)];function _0x4e3af5(_0x5ddc01,_0x5674a5,_0x2ad9c1,_0x16beac){return _0x55e1bc(_0x16beac,_0x5674a5-_0x34c3b9._0x1832c7,_0x2ad9c1-_0x34c3b9._0x18d8e0,_0x2ad9c1- -_0x34c3b9._0x53f5f8);}function _0x43fb3c(_0x2c5d90,_0xeadf3b,_0x1f14b9,_0x431958){return _0x3a64dd(_0x2c5d90-_0x314cc7._0x46368f,_0x1f14b9,_0x431958- -_0x314cc7._0x178783,_0x431958-0x1ba);}const _0x9fab6e=new TodoStore(_0x15fab4?.['todoMemory']||new InMemoryMemory()),_0x629777=[new TodoWriteTool(_0x9fab6e),new WebSearchTool(),new WebFetchTool(),new FileReadTool({'allowAbsolute':!![]}),new FileNewTool(),new FileEditTool(),new BashTool(),new LsTool({'allowAbsolute':!![]}),new GlobTool({'allowAbsolute':!![]}),new GrepTool({'allowAbsolute':!![]})];for(const _0x3755e7 of _0x629777){this[_0x43fb3c(-_0x16a232._0x5632cc,0x77,_0x16a232._0x26f0d6,0x77)][_0x4e3af5(0x54e,_0x16a232._0x5375b0,0x73d,0x8a1)](_0x3755e7[_0x4e3af5(0x215,_0x16a232._0xe20274,_0x16a232._0x1896f2,0x520)],_0x3755e7);}void this['persistToolNames']();}async[_0x55e1bc(0x799,0x5cd,0x837,0x67f)](){const _0x37b652={_0x4a8a0f:0x22b,_0x1b9f9b:0x2bd,_0x93165f:0x1e5,_0x428459:0x3a1,_0xc0890b:0x203,_0x437b2f:0x630,_0x180eb7:0x47f,_0x2233a1:0x641,_0x36b7b9:0x449,_0xbdd2e5:0x31d},_0x246fe0={_0x3f5823:0x6c,_0x2d8d6c:0x130},_0x44ca77={_0x3a23ae:0x36};function _0x238a48(_0x40d465,_0x185213,_0x52200c,_0x104ec3){return _0x3a64dd(_0x40d465-0x1d0,_0x40d465,_0x104ec3- -0x339,_0x104ec3-_0x44ca77._0x3a23ae);}function _0x48bf28(_0x4c445c,_0x56245c,_0x562ac0,_0x2190f2){return _0x3a64dd(_0x4c445c-_0x246fe0._0x3f5823,_0x2190f2,_0x562ac0- -_0x246fe0._0x2d8d6c,_0x2190f2-0x179);}try{const _0x305574=Array['from'](this[_0x48bf28(_0x37b652._0x4a8a0f,0xeb,0x2bf,0x153)][_0x238a48(0x32f,_0x37b652._0x1b9f9b,0x364,_0x37b652._0x93165f)]());await this[_0x238a48(_0x37b652._0x428459,0x3fb,_0x37b652._0xc0890b,0x222)]?.['set'](_0x48bf28(_0x37b652._0x437b2f,0x7ee,0x642,_0x37b652._0x180eb7),_0x305574);}catch{console[_0x48bf28(0x33f,_0x37b652._0x2233a1,0x44f,_0x37b652._0x36b7b9)](_0x48bf28(0x48f,0x3ba,0x2dc,_0x37b652._0xbdd2e5));}}async[_0x55e1bc(0x5d6,0x55f,0x544,0x523)](){const _0x12f30a={_0x487f5c:0x464,_0x27128a:0x31c,_0x10fbdf:0x41b,_0x3c44a7:0x49f},_0x4959a1={_0x1f4bf2:0x1d8},_0x47fd35={_0x429767:0xb0,_0x2dda5e:0x24};function _0x2e8464(_0x2bb624,_0x1e3d11,_0x21488f,_0x293571){return _0x3a64dd(_0x2bb624-0x13e,_0x1e3d11,_0x293571-_0x47fd35._0x429767,_0x293571-_0x47fd35._0x2dda5e);}function _0x19ebac(_0x1c29af,_0x1f5391,_0x807456,_0x2a4945){return _0x3a64dd(_0x1c29af-_0x4959a1._0x1f4bf2,_0x807456,_0x1c29af- -0x3d4,_0x2a4945-0x4e);}return Array[_0x19ebac(0x2fb,0x46e,_0x12f30a._0x487f5c,_0x12f30a._0x27128a)](this[_0x2e8464(0x262,0x61d,_0x12f30a._0x10fbdf,_0x12f30a._0x3c44a7)]['keys']());}['getToolDefinitions'](_0x45d198){const _0x4e09d9={_0x202adb:0x461,_0x24a0d1:0x5a3,_0x44441d:0x42b,_0x34fb08:0x2a0,_0x5bfa9a:0x279,_0x134649:0x37f,_0x4ebe17:0x580,_0x2d0fc7:0x4e2,_0x14582c:0x538},_0x570765={_0x2c78f6:0x1bc,_0x193a90:0x192},_0x3f6fd7={_0x20fac9:0x107};function _0x51dddf(_0x1989ec,_0x5b4761,_0x3f6638,_0xe3af36){return _0x3a64dd(_0x1989ec-_0x3f6fd7._0x20fac9,_0xe3af36,_0x3f6638- -0x33c,_0xe3af36-0x12b);}const _0x1ca4fd=[];function _0x3e0807(_0x370a87,_0x5dee30,_0x5d6ac1,_0x39b272){return _0x55e1bc(_0x370a87,_0x5dee30-_0x570765._0x2c78f6,_0x5d6ac1-_0x570765._0x193a90,_0x5d6ac1-0x4);}for(const _0x1cffdc of _0x45d198){const _0x307997=this[_0x3e0807(0x44c,_0x4e09d9._0x202adb,0x52f,_0x4e09d9._0x24a0d1)][_0x51dddf(0x493,0x3c7,_0x4e09d9._0x44441d,0x360)](_0x1cffdc);if(_0x307997)_0x1ca4fd[_0x51dddf(_0x4e09d9._0x34fb08,0x249,0x9e,-0x178)]({'type':_0x51dddf(_0x4e09d9._0x5bfa9a,_0x4e09d9._0x134649,0x415,_0x4e09d9._0x4ebe17),'function':_0x307997[_0x3e0807(0x5d3,0x4d5,_0x4e09d9._0x2d0fc7,_0x4e09d9._0x14582c)]()});}return _0x1ca4fd;}[_0x55e1bc(0x875,0x60f,0x9bf,0x77e)](_0x527bd5,_0x29f851,_0x2d34ce,_0x13ee27,_0x8677e4){const _0x3208f9={_0x3254e5:0x39,_0x544c81:0x1e9,_0x3ca38a:0x20d,_0x2ac286:0xe6,_0x2ca14a:0x290,_0x18519c:0x21,_0x2645c1:0x3b8,_0x3d2371:0x2,_0x15defa:0x237,_0x35d3e3:0x1c3,_0x21467d:0xe7,_0x1f7bd4:0x167,_0x32f241:0x8a,_0x548268:0x2e0,_0x3984ed:0x23d,_0x3777df:0x1d,_0x5b5376:0x135,_0x99ece3:0x22,_0x2ceaeb:0x197,_0x17a8dd:0x359,_0x1a8d56:0x24e,_0x1b521d:0x111,_0x4aa590:0x79,_0x447680:0xca,_0x5021e2:0x29,_0x1e3334:0x1de,_0x577d13:0x76,_0x4622ec:0x12,_0x260213:0x12c,_0x2bab38:0x8a},_0x3ae396={_0x398b79:0x72},_0x310b95={_0x59b097:0x4c2,_0xcfd13d:0x9f};this[_0x39e211(_0x3208f9._0x3254e5,0x32f,_0x3208f9._0x544c81,_0x3208f9._0x3ca38a)]=_0x527bd5,this[_0x2f597b(0xcd,_0x3208f9._0x2ac286,0x252,_0x3208f9._0x2ca14a)]=_0x29f851;function _0x39e211(_0x5cad03,_0x1131ae,_0x5519ff,_0x4b2ac4){return _0x3a64dd(_0x5cad03-0xae,_0x5cad03,_0x5519ff- -_0x310b95._0x59b097,_0x4b2ac4-_0x310b95._0xcfd13d);}this[_0x2f597b(0x21f,-_0x3208f9._0x18519c,0x388,_0x3208f9._0x2645c1)]=_0x2d34ce,this[_0x2f597b(-_0x3208f9._0x3d2371,-0x20c,0x18f,-_0x3208f9._0x15defa)]=_0x13ee27;const _0x2a9fee=new AgentManagerCommandRunner(_0x527bd5,_0x29f851,_0x2d34ce,_0x13ee27,_0x8677e4),_0x3f17d2=this[_0x39e211(-0x19d,-_0x3208f9._0x35d3e3,0x11,-_0x3208f9._0x21467d)]??new DelegationServiceFactory(),_0x26e15c=_0x3f17d2[_0x2f597b(0xff,_0x3208f9._0x1f7bd4,-0x93,0x2cd)]({'agentRegistry':this[_0x39e211(-0x14e,-0x51,0x91,-_0x3208f9._0x32f241)],'commandRunner':_0x2a9fee,'agentListProvider':()=>this[_0x2f597b(0x22,-0xcc,0x233,-0x179)]['list']()[_0x39e211(-0x227,0xc6,-0xba,0x100)](_0x37244f=>({'id':_0x37244f['id'],'name':_0x37244f[_0x2f597b(-0x111,0x82,-0x23b,0xbb)],'description':_0x37244f[_0x39e211(0x395,0x345,0x167,-0xf)]})),'createMemoryForAgent':_0x8677e4});_0x26e15c['setEnabledAgents'](this[_0x39e211(_0x3208f9._0x548268,0x5f,_0x3208f9._0x2ac286,0x7f)]),this[_0x39e211(0x1c9,_0x3208f9._0x3984ed,_0x3208f9._0x3777df,-0x3e)]=new AssignTool(_0x26e15c);function _0x2f597b(_0x3129d6,_0x59fab4,_0x35dca4,_0x24b21a){return _0x55e1bc(_0x59fab4,_0x59fab4-_0x3ae396._0x398b79,_0x35dca4-0x171,_0x3129d6- -0x66d);}this[_0x39e211(-_0x3208f9._0x5b5376,-_0x3208f9._0x99ece3,-0xd3,-0x10d)][_0x39e211(_0x3208f9._0x2ceaeb,_0x3208f9._0x17a8dd,_0x3208f9._0x1a8d56,_0x3208f9._0x1b521d)](_0x39e211(-_0x3208f9._0x4aa590,0x26,_0x3208f9._0x447680,-_0x3208f9._0x5021e2),this[_0x39e211(-_0x3208f9._0x1e3334,0x1ec,0x1d,-_0x3208f9._0x577d13)]),void this[_0x2f597b(_0x3208f9._0x4622ec,-_0x3208f9._0x260213,-0x114,_0x3208f9._0x2bab38)]();}[_0x55e1bc(0x8fc,0x82b,0x932,0x7a2)](_0x2dbdeb){const _0x2d6a13={_0x3e0d92:0x1a6,_0x4888d8:0x18f,_0x5a452d:0x14b,_0x872789:0xcb,_0x33264d:0x40,_0x59ae3e:0x28c,_0xe70d20:0xa3,_0x1ac9fc:0xcb,_0x9f329c:0x10c,_0xb390f5:0x4,_0x43c99f:0x1e5},_0x5c247b={_0x18ad5e:0xe,_0x578344:0x533,_0x401976:0xb4};function _0x1a8f6f(_0x156133,_0x183e20,_0x3db893,_0x46d938){return _0x3a64dd(_0x156133-_0x5c247b._0x18ad5e,_0x3db893,_0x183e20- -_0x5c247b._0x578344,_0x46d938-_0x5c247b._0x401976);}if(!this[_0x41bec0(_0x2d6a13._0x3e0d92,0x388,0x2d8,_0x2d6a13._0x4888d8)]||!this[_0x1a8f6f(_0x2d6a13._0x5a452d,_0x2d6a13._0x872789,-0x163,_0x2d6a13._0x33264d)])return;function _0x41bec0(_0x594987,_0x27c279,_0x564d24,_0xf22d6a){return _0x3a64dd(_0x594987-0x13e,_0x564d24,_0x594987- -0x505,_0xf22d6a-0x6c);}this[_0x41bec0(0x13d,_0x2d6a13._0x59ae3e,-0x34,-_0x2d6a13._0xe70d20)](this[_0x41bec0(0x1a6,0x3c,0x25a,0x2cc)],this[_0x1a8f6f(0x280,_0x2d6a13._0x1ac9fc,_0x2d6a13._0x9f329c,0x214)],this['orchestratorLLMFactory'],this[_0x1a8f6f(0x23e,-_0x2d6a13._0xb390f5,0x64,-_0x2d6a13._0x43c99f)],_0x2dbdeb);}[_0x55e1bc(0x66a,0x7f6,0x93e,0x89d)](){const _0xb5fcf={_0x501526:0xa5},_0xc1304e={_0x262d98:0x734};function _0x5370c3(_0x5d1a4e,_0x2748b9,_0x586e87,_0x2a5b34){return _0x55e1bc(_0x2748b9,_0x2748b9-0xc5,_0x586e87-0x41,_0x2a5b34- -_0xc1304e._0x262d98);}return this[_0x5370c3(-0x1aa,-0xe7,-0x19c,-_0xb5fcf._0x501526)];}['setEnabledAgents'](_0x5133a1){const _0x2e3b9c={_0x1325f1:0x62f,_0x3f1e80:0x198},_0x41f23b={_0x4d6db6:0xf1,_0x35cef0:0x99};function _0xf17e85(_0x40e70f,_0x544b54,_0x21f912,_0x22f785){return _0x55e1bc(_0x544b54,_0x544b54-_0x41f23b._0x4d6db6,_0x21f912-_0x41f23b._0x35cef0,_0x40e70f- -0x645);}function _0x565b87(_0x2e8e54,_0x52685f,_0x1b8aeb,_0x4fb83d){return _0x55e1bc(_0x2e8e54,_0x52685f-0x135,_0x1b8aeb-0x161,_0x4fb83d- -0x8e);}this[_0x565b87(_0x2e3b9c._0x1325f1,0x449,0x737,0x656)]=_0x5133a1,this['assignTool']?.[_0xf17e85(-0x3,0xe,-0x118,_0x2e3b9c._0x3f1e80)](_0x5133a1);}async['executeToolCalls'](_0x296471,_0x3f1375,_0x1d3645=0x3,_0x2bd1dc){const _0x54c33c={_0x526388:0x472,_0x59bf9a:0x2da,_0x44acff:0xb1,_0x483ef9:0x245,_0x56d3c6:0x252,_0x3cb359:0x494,_0x490c26:0x1c4,_0x5f5491:0x28,_0x22b061:0x5e2,_0x5efb06:0x667,_0x38e5ec:0x71d,_0x4d31bf:0x1cf,_0x396403:0x10c,_0x2f001e:0x12a,_0x3fef36:0x2a,_0x406176:0x337,_0x34e01c:0x2ca,_0x20b4ff:0x385,_0x24f917:0x414,_0x3107d7:0x536,_0x55ee15:0x2df,_0x5320b8:0x251},_0x98460f={_0x2db6bd:0xc},_0x47c2d4={_0x98d309:0x57f,_0x237441:0x691,_0x41f18a:0x342,_0x228273:0x42a,_0x162a27:0x4dc,_0x7b28e9:0x221,_0x32044f:0x243,_0x4fe46a:0x2,_0x12c5e0:0x627,_0x20be4c:0x719,_0x244115:0x421,_0x3bf72e:0x4fc,_0x3a9558:0x8b4,_0x9f0a5a:0x9f9,_0x424a6c:0x6e2,_0x449d25:0x6e7,_0x57e5cb:0x5ec,_0x49cb1b:0x4f1,_0x162e6c:0x57f,_0x21eae5:0x38b,_0x178742:0x523,_0x381e58:0x735,_0x2ebd2a:0x920,_0x12ce61:0x4fb,_0x35aced:0x7ee,_0x2a4f1d:0x70c,_0x2c76bf:0x430,_0x1f1c7d:0x365,_0x4c7cfd:0x14e,_0x28978b:0x4d,_0x9e0ce:0x406,_0x438fdc:0x514,_0x1c9f0c:0x607,_0x443e3e:0x68c,_0x311c5c:0x672,_0x12323c:0x64c,_0x1d8895:0x86,_0x3c5ef0:0x920,_0x34955f:0x950,_0x2628b8:0x57f,_0x5c8920:0x72c,_0x50fe45:0x8fb,_0x52876a:0x6b0,_0x4f4e37:0x345,_0x3133bf:0x2d8,_0x1a8088:0x30b,_0x4cca50:0x310,_0x40df5a:0x356,_0x3d8ddf:0x638,_0x51b506:0x779,_0x1e5d82:0x69e,_0x21aca4:0x273,_0x4b53d0:0x452},_0x375264={_0xa4ff26:0xa9},_0x5c4aa9={_0x1ed7ee:0x3ae},_0x2093e7={_0xf0daaf:0x47,_0x13902c:0x3b2},_0xd52d8e=[];function _0x4e2c6d(_0x98ff61,_0x22d7b0,_0x208ee1,_0x3d3577){return _0x55e1bc(_0x22d7b0,_0x22d7b0-_0x2093e7._0xf0daaf,_0x208ee1-0x1bf,_0x208ee1- -_0x2093e7._0x13902c);}for(let _0x32e462=0x0;_0x32e462<_0x296471[_0x4e2c6d(_0x54c33c._0x526388,0x234,_0x54c33c._0x59bf9a,0x3a8)];_0x32e462+=_0x1d3645){if(_0x2bd1dc?.[_0x4e2c6d(_0x54c33c._0x44acff,_0x54c33c._0x483ef9,_0x54c33c._0x56d3c6,0x30d)]){const _0x36150d=_0x296471[_0x4e2c6d(0x4ee,_0x54c33c._0x3cb359,0x3f4,_0x54c33c._0x490c26)](_0x32e462);for(const _0x1c2e63 of _0x36150d){_0xd52d8e['push']({'id':_0x1c2e63['id'],'name':_0x1c2e63[_0x4e2c6d(0x258,_0x54c33c._0x5f5491,0x1aa,0x3e)],'status':_0x1365f7(_0x54c33c._0x22b061,0x7d8,_0x54c33c._0x5efb06,_0x54c33c._0x38e5ec),'type':'text','result':_0x4e2c6d(_0x54c33c._0x4d31bf,-_0x54c33c._0x396403,_0x54c33c._0x2f001e,_0x54c33c._0x3fef36),'metadata':{'errorReason':'aborted'},'durationMs':0x0});}break;}const _0x199a0a=_0x296471['slice'](_0x32e462,_0x32e462+_0x1d3645),_0x1820e6=await Promise[_0x4e2c6d(_0x54c33c._0x406176,_0x54c33c._0x34e01c,0x20b,_0x54c33c._0x20b4ff)](_0x199a0a[_0x1365f7(_0x54c33c._0x24f917,0x446,_0x54c33c._0x3107d7,_0x54c33c._0x55ee15)](async _0x3a3c06=>{if(_0x2bd1dc?.['aborted'])return{'id':_0x3a3c06['id'],'name':_0x3a3c06[_0x13de38(_0x47c2d4._0x98d309,0x4de,_0x47c2d4._0x237441,_0x47c2d4._0x41f18a)],'status':_0x572e4f(0x3ff,0x3cf,0x2b6,0x234),'type':_0x13de38(0x62d,0x486,_0x47c2d4._0x228273,_0x47c2d4._0x162a27),'result':_0x572e4f(-0x20,_0x47c2d4._0x7b28e9,-_0x47c2d4._0x32044f,-_0x47c2d4._0x4fe46a),'metadata':{'errorReason':_0x13de38(_0x47c2d4._0x12c5e0,_0x47c2d4._0x20be4c,_0x47c2d4._0x244115,_0x47c2d4._0x3bf72e)},'durationMs':0x0};if(_0x3a3c06[_0x13de38(0x7f3,0x88c,_0x47c2d4._0x3a9558,0x8ea)]){const _0x222c84=_0x3a3c06[_0x13de38(0x7f3,_0x47c2d4._0x9f0a5a,0xa14,_0x47c2d4._0x424a6c)]+_0x13de38(0x631,_0x47c2d4._0x449d25,_0x47c2d4._0x57e5cb,_0x47c2d4._0x49cb1b);return{'id':_0x3a3c06['id'],'name':_0x3a3c06[_0x13de38(_0x47c2d4._0x162e6c,_0x47c2d4._0x21eae5,0x70a,_0x47c2d4._0x178742)],'status':_0x13de38(_0x47c2d4._0x381e58,0x55a,_0x47c2d4._0x2ebd2a,_0x47c2d4._0x12ce61),'type':'text','result':_0x222c84,'metadata':{'errorReason':'edited','editInstruction':_0x3a3c06[_0x13de38(0x7f3,_0x47c2d4._0x35aced,_0x47c2d4._0x2a4f1d,0x878)]},'durationMs':0x0};}const _0xb71598=performance[_0x572e4f(0x38d,_0x47c2d4._0x2c76bf,0x400,_0x47c2d4._0x1f1c7d)](),_0x102f6b=this[_0x572e4f(0x80,-0x152,_0x47c2d4._0x4c7cfd,_0x47c2d4._0x28978b)]['get'](_0x3a3c06[_0x13de38(_0x47c2d4._0x98d309,_0x47c2d4._0x9e0ce,_0x47c2d4._0x438fdc,_0x47c2d4._0x1c9f0c)]);if(!_0x102f6b){const _0x1ed4b8=Math[_0x13de38(0x638,_0x47c2d4._0x443e3e,_0x47c2d4._0x311c5c,_0x47c2d4._0x12323c)](performance['now']()-_0xb71598);return{'id':_0x3a3c06['id'],'name':_0x3a3c06['name'],'status':_0x13de38(0x735,0x8ab,0x5e5,0x597),'type':_0x572e4f(0x373,0x9c,-_0x47c2d4._0x1d8895,0x12c),'result':_0x13de38(0x74d,_0x47c2d4._0x3c5ef0,0x7cf,_0x47c2d4._0x34955f)+_0x3a3c06[_0x13de38(_0x47c2d4._0x2628b8,0x3e0,0x694,_0x47c2d4._0x5c8920)]+_0x13de38(0x872,_0x47c2d4._0x50fe45,0x623,_0x47c2d4._0x52876a),'metadata':{'errorReason':'tool_not_found'},'durationMs':_0x1ed4b8};}const _0x7895d6=await _0x102f6b[_0x572e4f(0x108,_0x47c2d4._0x4f4e37,0x16a,_0x47c2d4._0x3133bf)](_0x3a3c06[_0x572e4f(_0x47c2d4._0x1a8088,_0x47c2d4._0x4cca50,0x547,_0x47c2d4._0x40df5a)]||{},{..._0x3f1375,'toolCallId':_0x3a3c06['id'],'signal':_0x2bd1dc}),_0x3ecc4b=Math[_0x13de38(_0x47c2d4._0x3d8ddf,_0x47c2d4._0x51b506,_0x47c2d4._0x1e5d82,0x698)](performance[_0x572e4f(0x36a,0x491,_0x47c2d4._0x21aca4,0x365)]()-_0xb71598);function _0x572e4f(_0x1e0ced,_0x1217cf,_0x440588,_0x33e1e0){return _0x1365f7(_0x33e1e0- -_0x5c4aa9._0x1ed7ee,_0x1e0ced,_0x440588-0x7c,_0x33e1e0-0xbd);}function _0x13de38(_0x1829b1,_0x2101f7,_0x38bd43,_0x5a5492){return _0x1365f7(_0x1829b1-0x153,_0x5a5492,_0x38bd43-_0x375264._0xa4ff26,_0x5a5492-0x45);}return{..._0x7895d6,'id':_0x3a3c06['id'],'name':_0x3a3c06[_0x13de38(0x57f,0x4e7,_0x47c2d4._0x4b53d0,0x474)],'durationMs':_0x3ecc4b};}));_0xd52d8e[_0x4e2c6d(_0x54c33c._0x5320b8,0xbf,0x164,0x2c4)](..._0x1820e6);}function _0x1365f7(_0x444b07,_0x280509,_0xf5b423,_0x3973dd){return _0x3a64dd(_0x444b07-0x15a,_0x280509,_0x444b07-_0x98460f._0x2db6bd,_0x3973dd-0x111);}return _0xd52d8e;}},CompositeToolPort=class{constructor(_0x394116){this['ports']=_0x394116;}[_0x55e1bc(0x854,0x84e,0x862,0x893)](_0x2aed6a){const _0xa48cee={_0x3ac541:0x4c7,_0x1d212d:0x55f,_0x486f87:0x357},_0x3ff46a={_0x24ecc6:0x400};function _0x2fa983(_0xb8eba0,_0x4b279d,_0x1e4ca9,_0x47deef){return _0x3a64dd(_0xb8eba0-0x13b,_0x1e4ca9,_0x47deef- -_0x3ff46a._0x24ecc6,_0x47deef-0xa8);}const _0x39ed68=[];for(const _0x5a2e98 of this['ports']){try{_0x39ed68['push'](..._0x5a2e98[_0x2fa983(_0xa48cee._0x3ac541,0x1cc,_0xa48cee._0x1d212d,_0xa48cee._0x486f87)](_0x2aed6a));}catch{}}return _0x39ed68;}async[_0x55e1bc(0x657,0x7de,0x5a7,0x5c5)](_0x52c6cd,_0x5b2a4a,_0x3c64d2=0x3,_0x510f18){const _0x5187be={_0x2af620:0x88,_0xedb36c:0x72,_0x40ac52:0x325,_0x36018c:0x303,_0x316ba6:0x4a,_0x4da46d:0x365,_0x3f6aaf:0x16f,_0x1d9f5c:0x3ae,_0x540def:0x312,_0x4ff3ab:0x489,_0x1040e3:0x98,_0x7e65a7:0x41,_0x124fe4:0x344,_0x2b17da:0x359,_0x569bbf:0x3a6,_0x550745:0x506,_0x14a31e:0x3d6,_0x1f8b21:0x50d,_0x5d8f49:0x288,_0x3d08d2:0x417,_0x33fb29:0x11f,_0x30dd75:0x305,_0x402186:0x141,_0x1b7b84:0x118,_0x25bd72:0x66f,_0x107bca:0x540,_0x22ad77:0x367,_0xa32df5:0x390},_0x193a2e={_0x3bca17:0x1a7},_0x1ff45f={_0x4802ef:0x34,_0xa620cd:0x3d5};if(_0x510f18?.[_0x27f694(_0x5187be._0x2af620,0x31c,_0x5187be._0xedb36c,0x22f)])return _0x52c6cd['map'](_0x1c2c02=>({'id':_0x1c2c02['id'],'name':_0x1c2c02[_0x4173ef(0x550,0x4a4,0x38a,0x324)],'status':_0x27f694(0x110,0x1b9,0x1c4,0x33d),'type':_0x27f694(0x7b,0x6d,0x34,0x235),'result':_0x27f694(0x2f8,0x19,0x118,0x107),'durationMs':0x0}));const _0x1faf81=this[_0x27f694(0x235,_0x5187be._0x40ac52,0x4c2,_0x5187be._0x36018c)][_0x27f694(0x33a,-_0x5187be._0x316ba6,_0x5187be._0x4da46d,_0x5187be._0x3f6aaf)](_0x5ea978=>new Set(_0x5ea978[_0x27f694(0x38d,0x54f,0x43f,0x4be)](_0x52c6cd[_0x4173ef(0x194,0x56b,0x372,0x2ac)](_0x2b6893=>_0x2b6893[_0x27f694(0x258,0xb5,0x1b5,0x187)]))[_0x4173ef(0x59c,0x45b,0x372,0x1a5)](_0x53f08b=>_0x53f08b[_0x4173ef(0x634,0x5aa,0x6bb,0x7f7)]['name']))),_0x100861=this[_0x27f694(0x1ec,0x1df,_0x5187be._0x1d9f5c,_0x5187be._0x36018c)]['map'](()=>[]);function _0x27f694(_0x315ba8,_0x1a5253,_0x1fb30c,_0x2232b1){return _0x55e1bc(_0x1a5253,_0x1a5253-_0x1ff45f._0x4802ef,_0x1fb30c-0x17d,_0x2232b1- -_0x1ff45f._0xa620cd);}const _0x1c2cb8=[];for(const _0x8747c0 of _0x52c6cd){let _0x27643f=![];for(let _0x43adbb=0x0;_0x43adbb<_0x1faf81['length'];_0x43adbb++){if(_0x1faf81[_0x43adbb]?.[_0x27f694(_0x5187be._0x540def,0x512,0x5fa,_0x5187be._0x4ff3ab)](_0x8747c0[_0x27f694(0x139,_0x5187be._0x1040e3,_0x5187be._0x7e65a7,0x187)])){_0x100861[_0x43adbb]?.['push'](_0x8747c0),_0x27643f=!![];break;}}if(!_0x27643f)_0x1c2cb8[_0x4173ef(0x149,0x164,_0x5187be._0x124fe4,_0x5187be._0x2b17da)](_0x8747c0);}function _0x4173ef(_0x25df87,_0x5ef74d,_0x2bcad0,_0x194978){return _0x3a64dd(_0x25df87-_0x193a2e._0x3bca17,_0x25df87,_0x2bcad0- -0x96,_0x194978-0x17b);}const _0x2f3eee=[];for(let _0x2e89d0=0x0;_0x2e89d0<this[_0x4173ef(_0x5187be._0x569bbf,0x2cc,_0x5187be._0x550745,_0x5187be._0x14a31e)]['length'];_0x2e89d0++){const _0x18bf4a=_0x100861[_0x2e89d0],_0x416e48=this[_0x27f694(0x205,0x359,_0x5187be._0x1f8b21,0x303)][_0x2e89d0];if(!_0x18bf4a||_0x18bf4a[_0x27f694(_0x5187be._0x5d8f49,0x3ff,0x308,0x2b7)]===0x0||!_0x416e48)continue;const _0x1682db=await _0x416e48['executeToolCalls'](_0x18bf4a,_0x5b2a4a,_0x3c64d2,_0x510f18);if(_0x1682db)_0x2f3eee[_0x4173ef(0x344,_0x5187be._0x3d08d2,0x344,_0x5187be._0x33fb29)](..._0x1682db);}for(const _0x1b9c9b of _0x1c2cb8){_0x2f3eee[_0x27f694(0x2d3,0x1c2,_0x5187be._0x30dd75,_0x5187be._0x402186)]({'id':_0x1b9c9b['id'],'name':_0x1b9c9b[_0x27f694(0x69,_0x5187be._0x1b7b84,0xb2,0x187)],'status':_0x4173ef(_0x5187be._0x25bd72,0x54e,_0x5187be._0x107bca,_0x5187be._0x22ad77),'type':'text','result':'No\x20tool\x20found\x20for\x20'+_0x1b9c9b[_0x27f694(0x2ad,_0x5187be._0xa32df5,0x2e9,0x187)]});}return _0x2f3eee;}[_0x3a64dd(0x732,0x526,0x506,0x725)](_0x5d7dc6){const _0x13c3d6={_0x3ce4f9:0x5f6,_0x494cfe:0x35c,_0x1549b6:0x30d,_0x541976:0x2ce,_0x51cc5e:0x22e,_0x2aaed0:0x4ca,_0x2eed21:0x3f4,_0x15c2a6:0x719,_0x4ef080:0x639},_0x1fc588={_0x176e3d:0x106},_0x88ba1f={_0x47f8df:0x1f2};function _0x5194fc(_0x5e0d3f,_0x80d576,_0x27a20f,_0x5f38cb){return _0x55e1bc(_0x5f38cb,_0x80d576-0x42,_0x27a20f-_0x88ba1f._0x47f8df,_0x27a20f- -0x116);}function _0x578af6(_0x31bfc9,_0xd7daa0,_0x500423,_0x2e0e17){return _0x55e1bc(_0x500423,_0xd7daa0-_0x1fc588._0x176e3d,_0x500423-0x15,_0x2e0e17- -0x499);}for(const _0x5b2ab9 of this[_0x5194fc(0x5f2,0x700,0x5c2,_0x13c3d6._0x3ce4f9)]){const _0x2cd248=_0x5b2ab9[_0x578af6(_0x13c3d6._0x494cfe,_0x13c3d6._0x1549b6,_0x13c3d6._0x541976,0x1a9)];typeof _0x2cd248===_0x578af6(0x534,_0x13c3d6._0x51cc5e,_0x13c3d6._0x2aaed0,_0x13c3d6._0x2eed21)&&_0x2cd248[_0x5194fc(0x673,0x730,_0x13c3d6._0x15c2a6,_0x13c3d6._0x4ef080)](_0x5b2ab9,_0x5d7dc6);}}[_0x3a64dd(0x947,0x537,0x761,0x837)](){const _0x2acedb={_0x384b0e:0x4ce};function _0x26763a(_0x198423,_0x4c1bef,_0x492f1d,_0x2b57fd){return _0x55e1bc(_0x198423,_0x4c1bef-0x77,_0x492f1d-0xe,_0x492f1d- -0x1e9);}for(const _0x309a40 of this[_0x26763a(0x49b,_0x2acedb._0x384b0e,0x4ef,0x3bf)]){const _0x3c7940=_0x309a40['getAgentRegistry'];if(typeof _0x3c7940==='function'){const _0x391931=_0x3c7940['call'](_0x309a40);if(_0x391931)return _0x391931;}}return void 0x0;}async['listRegisteredTools'](){const _0xf0df78={_0x2f6a12:0x636,_0x39c44d:0x69e,_0x3990df:0x7e4,_0x503376:0x4ce,_0x3c2af8:0x497,_0x3931ce:0x3a9,_0x5979f3:0x6c4,_0x8d7f7e:0x7bd,_0x29b6a6:0x6d1,_0x55d713:0x599,_0x17ae56:0x745},_0x3ca7a5={_0x27c41a:0xca,_0x5db5fc:0x9a};function _0x243119(_0x5e9835,_0x5ee786,_0x3099ae,_0xbb84f1){return _0x3a64dd(_0x5e9835-_0x3ca7a5._0x27c41a,_0x3099ae,_0x5e9835-_0x3ca7a5._0x5db5fc,_0xbb84f1-0xc4);}const _0x582c7b=new Set();for(const _0x3321bb of this[_0x243119(_0xf0df78._0x2f6a12,_0xf0df78._0x39c44d,_0xf0df78._0x3990df,0x4d4)]){const _0x3cb200=_0x3321bb[_0x556266(_0xf0df78._0x503376,_0xf0df78._0x3c2af8,0x558,_0xf0df78._0x3931ce)];if(typeof _0x3cb200==='function')try{const _0x3b1963=await _0x3cb200['call'](_0x3321bb);for(const _0x360449 of _0x3b1963){_0x582c7b[_0x556266(_0xf0df78._0x5979f3,_0xf0df78._0x8d7f7e,0x973,_0xf0df78._0x29b6a6)](_0x360449);}}catch(_0xae543f){console['warn'](_0x556266(0x67a,0x60c,0x648,0x3e2),_0xae543f);}}function _0x556266(_0x14d11f,_0x5c0b5a,_0x3dc25a,_0x526309){return _0x3a64dd(_0x14d11f-0x18f,_0x3dc25a,_0x5c0b5a-0xb0,_0x526309-0x1a9);}return Array[_0x243119(0x769,_0xf0df78._0x55d713,0x82d,_0xf0df78._0x17ae56)](_0x582c7b);}};function parseToolArguments(_0x49bb8e){const _0x530200={_0x4b348b:0x40f,_0x133ba7:0x21a},_0x5cf5e8={_0x3362da:0x65};function _0x4795f2(_0x50332a,_0x3ef8a9,_0x32fa4a,_0x5777c2){return _0x3a64dd(_0x50332a-0x189,_0x32fa4a,_0x3ef8a9- -0x644,_0x5777c2-_0x5cf5e8._0x3362da);}if(typeof _0x49bb8e===_0x4795f2(-_0x530200._0x4b348b,-_0x530200._0x133ba7,-0x361,-0x151))try{return JSON['parse'](_0x49bb8e);}catch{return{};}return _0x49bb8e;}function isBashToolArgs(_0x3f2cc6){const _0x42a2d9={_0x21fbf3:0x9f,_0x3609a8:0x85,_0x45004c:0x36,_0x241191:0x446,_0x1ed18d:0x397,_0x3a51ce:0x2a3},_0x4be7f8={_0x5b84cf:0xf9,_0x398c38:0x17b},_0x7a0c07={_0x251595:0xf2,_0x58cd11:0x4e1};function _0x391123(_0x27d212,_0x3a56a8,_0x4bed16,_0x20bc7b){return _0x55e1bc(_0x27d212,_0x3a56a8-0x1ee,_0x4bed16-_0x7a0c07._0x251595,_0x4bed16- -_0x7a0c07._0x58cd11);}function _0x201b40(_0x326245,_0x293dff,_0x2f65ee,_0x1a05a9){return _0x3a64dd(_0x326245-_0x4be7f8._0x5b84cf,_0x2f65ee,_0x1a05a9- -_0x4be7f8._0x398c38,_0x1a05a9-0xed);}return _0x391123(_0x42a2d9._0x21fbf3,_0x42a2d9._0x3609a8,0x79,-_0x42a2d9._0x45004c)in _0x3f2cc6&&typeof _0x3f2cc6[_0x201b40(_0x42a2d9._0x241191,0x237,_0x42a2d9._0x1ed18d,_0x42a2d9._0x3a51ce)]==='string';}function isFileReadArgs(_0x494c74){const _0x5549f3={_0x6e9457:0x9da,_0x47e35b:0x892,_0x7e4506:0x891,_0x528f93:0xa4d,_0x57ce95:0x298,_0x255f96:0x267},_0xec2769={_0x2a095b:0x143},_0x24e3ab={_0x1e7a7f:0x1c2,_0x30374b:0x56};function _0x4c505a(_0x393b29,_0x3bda32,_0x1d3047,_0x235073){return _0x55e1bc(_0x393b29,_0x3bda32-_0x24e3ab._0x1e7a7f,_0x1d3047-_0x24e3ab._0x30374b,_0x1d3047- -0x2ce);}function _0x5c85da(_0x3bdc52,_0x3178e9,_0x435db6,_0x26e71d){return _0x55e1bc(_0x3bdc52,_0x3178e9-_0xec2769._0x2a095b,_0x435db6-0xb2,_0x3178e9- -0x44);}return _0x5c85da(_0x5549f3._0x6e9457,_0x5549f3._0x47e35b,0xa43,_0x5549f3._0x7e4506)in _0x494c74&&typeof _0x494c74[_0x5c85da(0x856,_0x5549f3._0x47e35b,0xa6a,_0x5549f3._0x528f93)]===_0x4c505a(0x405,0x4dd,_0x5549f3._0x57ce95,_0x5549f3._0x255f96);}function isFileEditArgs(_0x5aae95){const _0x51f78e={_0x43338d:0x3c6,_0x52ae00:0x182,_0x460f1c:0x547,_0x48bf6d:0x796},_0x51e177={_0x5663ea:0x64f};function _0x424aea(_0x3bea72,_0x509d32,_0xf3bb0,_0x48b159){return _0x3a64dd(_0x3bea72-0x169,_0x509d32,_0x3bea72- -0x200,_0x48b159-0x123);}function _0x4b46a9(_0x1a4d39,_0x11a583,_0xb11545,_0x32bc32){return _0x55e1bc(_0x32bc32,_0x11a583-0x49,_0xb11545-0x12e,_0x11a583- -_0x51e177._0x5663ea);}return _0x4b46a9(-_0x51f78e._0x43338d,-_0x51f78e._0x52ae00,-0x31f,-0x2bb)in _0x5aae95&&'old_text'in _0x5aae95&&_0x424aea(_0x51f78e._0x460f1c,0x730,_0x51f78e._0x48bf6d,0x4b9)in _0x5aae95;}function isFileNewArgs(_0x341b7c){const _0x1a5500={_0x503ccb:0x10f,_0x50543b:0x1ee,_0x2ee35b:0x7d,_0x5cf229:0x34},_0x215e80={_0x350503:0x32b},_0x527632={_0x31b795:0x45e};function _0x1f410d(_0x14b51d,_0x26d9e7,_0x352424,_0x2b0dc7){return _0x3a64dd(_0x14b51d-0x192,_0x26d9e7,_0x2b0dc7- -_0x527632._0x31b795,_0x2b0dc7-0x1a2);}function _0x3a8858(_0x408ae1,_0x184979,_0x5cf181,_0xc13ad9){return _0x3a64dd(_0x408ae1-0xea,_0x184979,_0x408ae1- -_0x215e80._0x350503,_0xc13ad9-0x102);}return _0x1f410d(-0x3,-0x30b,_0x1a5500._0x503ccb,-0xcd)in _0x341b7c&&_0x1f410d(_0x1a5500._0x50543b,_0x1a5500._0x2ee35b,_0x1a5500._0x5cf229,0xd0)in _0x341b7c;}function isTodoWriteArgs(_0x4b1c0f){const _0x549a85={_0xa11a08:0x2cd,_0x523e40:0x4f0,_0x29e11e:0x8b,_0x34cc8c:0x10,_0x369815:0xe7,_0x11b09c:0x13e},_0x30e804={_0x2c8c51:0xbe,_0x2c7d6b:0x43d,_0x5bda2b:0xb6};function _0x10ff7d(_0x5db620,_0x591945,_0x537be4,_0x45e4bd){return _0x3a64dd(_0x5db620-_0x30e804._0x2c8c51,_0x5db620,_0x591945- -_0x30e804._0x2c7d6b,_0x45e4bd-_0x30e804._0x5bda2b);}function _0x11b881(_0x48d5f3,_0x2a2ccb,_0x69d264,_0x100fac){return _0x55e1bc(_0x100fac,_0x2a2ccb-0x14a,_0x69d264-0xf,_0x48d5f3- -0x56b);}return'todos'in _0x4b1c0f&&Array[_0x11b881(_0x549a85._0xa11a08,0x264,_0x549a85._0x523e40,_0x549a85._0x29e11e)](_0x4b1c0f[_0x10ff7d(0x154,_0x549a85._0x34cc8c,_0x549a85._0x369815,_0x549a85._0x11b09c)]);}function isAssignTaskArgs(_0x5ca949){const _0x9b7657={_0x74b8f6:0xb6,_0x39f890:0x528,_0x200de5:0x742},_0x1e3ed7={_0x3ae66e:0x146,_0x332c04:0x82},_0x174488={_0x38851a:0x1af,_0x4ef6ec:0xc7};function _0x2c709d(_0x58818a,_0x2da91b,_0x2d13c2,_0x2c40c1){return _0x3a64dd(_0x58818a-_0x174488._0x38851a,_0x2d13c2,_0x58818a- -0x571,_0x2c40c1-_0x174488._0x4ef6ec);}function _0x3a4c7f(_0x180333,_0x40ecba,_0x21308d,_0x170867){return _0x55e1bc(_0x170867,_0x40ecba-0xed,_0x21308d-_0x1e3ed7._0x3ae66e,_0x40ecba- -_0x1e3ed7._0x332c04);}return _0x2c709d(_0x9b7657._0x74b8f6,0x98,0x234,0x212)in _0x5ca949&&_0x3a4c7f(0x762,_0x9b7657._0x39f890,_0x9b7657._0x200de5,0x698)in _0x5ca949&&'description'in _0x5ca949;}function isWebSearchArgs(_0x4f4c0e){const _0x50a537={_0x421829:0x2b6,_0x4fd31b:0xe9,_0x30f776:0x49b},_0x4a1446={_0x44b2cf:0x264},_0x23b185={_0x5b2779:0x1b3};function _0xc5e105(_0x3dd05d,_0x226c4c,_0x1b8ace,_0x5524cc){return _0x55e1bc(_0x3dd05d,_0x226c4c-0xcf,_0x1b8ace-_0x23b185._0x5b2779,_0x1b8ace- -0x6c7);}function _0x447ee5(_0x5df204,_0x34e7ee,_0x501a5e,_0x2845c8){return _0x55e1bc(_0x2845c8,_0x34e7ee-0xa9,_0x501a5e-0x9c,_0x5df204- -_0x4a1446._0x44b2cf);}return _0xc5e105(_0x50a537._0x421829,0x11a,_0x50a537._0x4fd31b,0x2f9)in _0x4f4c0e&&typeof _0x4f4c0e[_0xc5e105(0x231,-0x71,0xe9,-0x59)]===_0x447ee5(0x302,0x505,_0x50a537._0x30f776,0x46e);}function isWebFetchArgs(_0x244e32){const _0x478306={_0x2dfd30:0x285,_0x14d319:0x110,_0x439d88:0xa9,_0x28e3ca:0x163,_0x5b948e:0x266,_0x1f88da:0x23e,_0x436e21:0xab,_0x507e9a:0x125},_0xa50891={_0x530548:0x6};function _0x1d65ba(_0x14910d,_0x18ec3a,_0x4b149a,_0x109002){return _0x55e1bc(_0x14910d,_0x18ec3a-0x25,_0x4b149a-0x31,_0x18ec3a- -0x48a);}function _0x3ee00d(_0x32b64e,_0xcaa3c9,_0x2b2556,_0x5ed988){return _0x3a64dd(_0x32b64e-_0xa50891._0x530548,_0xcaa3c9,_0x5ed988- -0x54f,_0x5ed988-0x71);}return _0x1d65ba(_0x478306._0x2dfd30,_0x478306._0x14d319,-_0x478306._0x439d88,_0x478306._0x28e3ca)in _0x244e32&&typeof _0x244e32[_0x1d65ba(_0x478306._0x5b948e,0x110,_0x478306._0x1f88da,0x62)]===_0x3ee00d(-0x9f,_0x478306._0x436e21,0x84,-_0x478306._0x507e9a);}function isGlobArgs(_0x8f3949){const _0x4f451a={_0x5b1179:0x168,_0x170862:0x1b,_0x328a50:0x13f},_0x4752f0={_0x441ef9:0x592};function _0x1a71f2(_0x471701,_0xc407c5,_0x1ef26f,_0x12400b){return _0x3a64dd(_0x471701-0x1a7,_0xc407c5,_0x471701- -_0x4752f0._0x441ef9,_0x12400b-0x17e);}return'pattern'in _0x8f3949&&typeof _0x8f3949['pattern']===_0x1a71f2(-_0x4f451a._0x5b1179,_0x4f451a._0x170862,-_0x4f451a._0x328a50,-0x23e)&&!('include'in _0x8f3949);}function isGrepArgs(_0x276980){const _0x31e218={_0x1fc9b6:0x76d,_0x6dc16f:0x701,_0x2fe763:0x6fc,_0x16e7dd:0x380,_0x38c627:0x6d5,_0x2e7007:0x688,_0x3e1487:0x847},_0x2efeb4={_0x276c81:0x1a5},_0x313f8b={_0x2e9f42:0xad};function _0x643d61(_0x1bfe42,_0x365ec1,_0x335712,_0x2a7546){return _0x3a64dd(_0x1bfe42-0xd2,_0x335712,_0x2a7546-_0x313f8b._0x2e9f42,_0x2a7546-0x1e4);}function _0x3a489f(_0x518696,_0x4370ce,_0x11f864,_0x4acc6f){return _0x3a64dd(_0x518696-_0x2efeb4._0x276c81,_0x4370ce,_0x11f864- -0x5ec,_0x4acc6f-0xa8);}return _0x643d61(0x792,0x90b,0x89b,_0x31e218._0x1fc9b6)in _0x276980&&typeof _0x276980[_0x643d61(0x679,0x5d0,_0x31e218._0x6dc16f,0x76d)]===_0x643d61(_0x31e218._0x2fe763,0x3ff,_0x31e218._0x16e7dd,0x4d7)&&('include'in _0x276980||!(_0x643d61(_0x31e218._0x38c627,0x72d,_0x31e218._0x2e7007,_0x31e218._0x3e1487)in _0x276980&&!_0x276980['path']));}function isLsArgs(_0x5a3dcf){const _0x3362e6={_0x179290:0x703,_0x17beb1:0x37f,_0x4b3d4:0x4f5,_0x5e8744:0x66b,_0x1915eb:0x20},_0x565954={_0x2d9011:0x4d};function _0x367227(_0x7e795c,_0x1a7471,_0x261a22,_0x23f4eb){return _0x55e1bc(_0x23f4eb,_0x1a7471-0x197,_0x261a22-0x19b,_0x261a22- -0x94);}function _0x4b941d(_0x10c5a7,_0x5561db,_0xe12c30,_0x577c3a){return _0x3a64dd(_0x10c5a7-0x1da,_0x10c5a7,_0x5561db- -0x54e,_0x577c3a-_0x565954._0x2d9011);}return!(_0x4b941d(-0x310,-0x130,0xaa,-0x307)in _0x5a3dcf)&&!(_0x367227(0x4bd,0x380,0x506,_0x3362e6._0x179290)in _0x5a3dcf)&&!('query'in _0x5a3dcf)&&!(_0x367227(_0x3362e6._0x17beb1,0x43f,_0x3362e6._0x4b3d4,_0x3362e6._0x5e8744)in _0x5a3dcf)&&!('agent'in _0x5a3dcf)&&!('file_path'in _0x5a3dcf)&&!(_0x4b941d(-0xec,-_0x3362e6._0x1915eb,0x140,-0x71)in _0x5a3dcf);}function isSuccess(_0x5734db){const _0x2129fa={_0x24c73e:0x500,_0x1ecd05:0x2cf,_0x3b31ae:0x1d0,_0x75314f:0x3d2},_0x3fda12={_0x1b8d1e:0x5eb,_0x48dfd3:0xc6};function _0x215797(_0x5e3520,_0x537e09,_0x56adbb,_0x5a0c9c){return _0x55e1bc(_0x56adbb,_0x537e09-0x23,_0x56adbb-0xd4,_0x5a0c9c- -0x4b3);}function _0x5e4107(_0x3f8a57,_0x1ae05b,_0x29f7a5,_0x5444f2){return _0x3a64dd(_0x3f8a57-0x16b,_0x3f8a57,_0x1ae05b- -_0x3fda12._0x1b8d1e,_0x5444f2-_0x3fda12._0x48dfd3);}return _0x5734db[_0x215797(_0x2129fa._0x24c73e,0xa3,0x23c,_0x2129fa._0x1ecd05)]===_0x215797(_0x2129fa._0x3b31ae,0x2fb,0x4ff,_0x2129fa._0x75314f);}function isError(_0x42467b){const _0x2a39c0={_0x3a6cf2:0x429,_0xb58c1a:0x54b,_0x59cb1e:0x3dd,_0x57cb4a:0x780,_0x3a3679:0x600,_0xcc30e5:0x68a},_0x130dcf={_0x51b49b:0xfb},_0x1693fb={_0x41133d:0x18c,_0x5e57c9:0x1a0};function _0x5e7e16(_0x45448d,_0x1b15c2,_0x49f086,_0x4c26f8){return _0x3a64dd(_0x45448d-_0x1693fb._0x41133d,_0x4c26f8,_0x45448d-0x5,_0x4c26f8-_0x1693fb._0x5e57c9);}function _0x507081(_0x4976f4,_0x1e142e,_0x175b4b,_0x1fbe99){return _0x3a64dd(_0x4976f4-0x1a1,_0x4976f4,_0x1e142e- -_0x130dcf._0x51b49b,_0x1fbe99-0x4a);}return _0x42467b[_0x507081(_0x2a39c0._0x3a6cf2,_0x2a39c0._0xb58c1a,0x657,_0x2a39c0._0x59cb1e)]===_0x5e7e16(0x5db,_0x2a39c0._0x57cb4a,_0x2a39c0._0x3a3679,_0x2a39c0._0xcc30e5);}function isTextResult(_0x4fef95){const _0x2c4d84={_0x23802:0x55a,_0xaf5291:0x3e7,_0x5afecc:0x247,_0x4bec8b:0x2b5},_0x1fd87d={_0x2ab283:0x118},_0x3e6db5={_0x212d9e:0x1f,_0x219266:0x6a};function _0x19dd99(_0x3e64f1,_0x21fa8e,_0x2da903,_0x3a345a){return _0x3a64dd(_0x3e64f1-_0x3e6db5._0x212d9e,_0x21fa8e,_0x3e64f1- -_0x3e6db5._0x219266,_0x3a345a-0x41);}function _0x24bfc7(_0x1c7f7a,_0x5b3fcf,_0x53db84,_0x1c1e90){return _0x55e1bc(_0x1c7f7a,_0x5b3fcf-_0x1fd87d._0x2ab283,_0x53db84-0x83,_0x5b3fcf- -0x593);}return _0x4fef95[_0x19dd99(_0x2c4d84._0x23802,0x5b3,0x57f,_0x2c4d84._0xaf5291)]===_0x19dd99(0x464,_0x2c4d84._0x5afecc,_0x2c4d84._0x4bec8b,0x629);}function isJsonResult(_0x2e7e63){const _0x2b1c2b={_0x49a050:0x89,_0x542114:0xf5,_0x11a860:0x234,_0x1ef750:0x25c},_0x36292b={_0x4c2bbf:0x5d0},_0x3c7422={_0x2142aa:0x1d1,_0x2254d5:0xcf};function _0x1481a7(_0x242bf1,_0x7bdf12,_0x92fb20,_0x4cc516){return _0x3a64dd(_0x242bf1-_0x3c7422._0x2142aa,_0x7bdf12,_0x242bf1- -0x56a,_0x4cc516-_0x3c7422._0x2254d5);}function _0x239cd1(_0x2117e2,_0x3c95d6,_0x295066,_0x9b6d59){return _0x3a64dd(_0x2117e2-0xa4,_0x2117e2,_0x3c95d6- -_0x36292b._0x4c2bbf,_0x9b6d59-0x8);}return _0x2e7e63[_0x239cd1(-_0x2b1c2b._0x49a050,-0xc,0x12f,-0xc8)]===_0x1481a7(_0x2b1c2b._0x542114,_0x2b1c2b._0x11a860,_0x2b1c2b._0x1ef750,0x1fc);}function isSuccessText(_0x51bc70){const _0x596d19={_0x53d905:0x4bd,_0x55af07:0x424,_0xc13959:0x3d3,_0x3bf9a8:0x338,_0x1ba221:0x557,_0x380855:0x2f9,_0x200df9:0x242,_0x412cb0:0x3c8,_0x3e28b0:0x102},_0x25943f={_0xa1046a:0x5f,_0x5e09e3:0xcd},_0x4081ba={_0x59e759:0x6c2};function _0x58ee16(_0x30f8cd,_0x59a8cc,_0x1c2fe0,_0x391ec7){return _0x55e1bc(_0x59a8cc,_0x59a8cc-0xd3,_0x1c2fe0-0x20,_0x30f8cd- -_0x4081ba._0x59e759);}function _0x5c0f4f(_0x2fb766,_0x193258,_0x78748e,_0x133820){return _0x55e1bc(_0x78748e,_0x193258-_0x25943f._0xa1046a,_0x78748e-_0x25943f._0x5e09e3,_0x193258- -0x3c8);}return _0x51bc70['status']===_0x5c0f4f(0x567,_0x596d19._0x53d905,_0x596d19._0x55af07,_0x596d19._0xc13959)&&_0x51bc70[_0x5c0f4f(0x487,_0x596d19._0x3bf9a8,_0x596d19._0x1ba221,_0x596d19._0x380855)]===_0x5c0f4f(0x33a,_0x596d19._0x200df9,_0x596d19._0x412cb0,_0x596d19._0x3e28b0);}function isSuccessJson(_0x141f20){const _0x4f23d4={_0x296a62:0x567,_0x29bdff:0x688,_0x150f2f:0x4cf,_0x472f9f:0x720,_0x5cbf39:0x679,_0x2aa88b:0x429},_0x512a1a={_0x339018:0xed,_0x38ec64:0x1c9,_0x252a84:0x88};function _0x5527ca(_0x1be61e,_0x5bb2b5,_0x580fb1,_0x1487a0){return _0x55e1bc(_0x1487a0,_0x5bb2b5-0x1d1,_0x580fb1-0x19e,_0x5bb2b5- -0xfa);}function _0x464bba(_0x336ef6,_0x1113bb,_0x96a925,_0x3b7ee3){return _0x55e1bc(_0x3b7ee3,_0x1113bb-_0x512a1a._0x339018,_0x96a925-_0x512a1a._0x38ec64,_0x96a925- -_0x512a1a._0x252a84);}return _0x141f20[_0x5527ca(_0x4f23d4._0x296a62,_0x4f23d4._0x29bdff,0x6b9,_0x4f23d4._0x150f2f)]===_0x5527ca(_0x4f23d4._0x472f9f,0x78b,_0x4f23d4._0x5cbf39,0x593)&&_0x141f20[_0x464bba(_0x4f23d4._0x2aa88b,0x64a,0x678,0x697)]==='json';}function isBashResult(_0x310327){const _0x24f876={_0x1900aa:0x51};function _0x160aff(_0x5e8598,_0x18f0ae,_0x26a808,_0x5ec437){return _0x3a64dd(_0x5e8598-_0x24f876._0x1900aa,_0x5ec437,_0x18f0ae- -0x369,_0x5ec437-0x197);}return _0x310327['name']===_0x160aff(0x145,0xd5,0x2f1,0x5a);}function isBashSuccess(_0x5048dc){const _0x1855e7={_0x4558b6:0x6e,_0x453104:0x80,_0x3ad81e:0x1a7,_0x180799:0x7c,_0x2fce81:0x298,_0x27accd:0x1aa,_0x50629c:0x219,_0x586458:0x4f4,_0x1c7bcf:0x3a9,_0x5eb24d:0x44e,_0x976aab:0x224},_0x3ff01a={_0xfccac9:0xa6};function _0x582317(_0x30ef92,_0x3ad4c8,_0x2cf3eb,_0xf34fd4){return _0x55e1bc(_0x2cf3eb,_0x3ad4c8-0x1d0,_0x2cf3eb-0x63,_0x3ad4c8- -0x352);}function _0x1d3c50(_0xa64970,_0x1a2df1,_0xd827b3,_0x4c9f3a){return _0x55e1bc(_0xd827b3,_0x1a2df1-_0x3ff01a._0xfccac9,_0xd827b3-0x129,_0x1a2df1- -0x4dc);}return _0x5048dc[_0x1d3c50(_0x1855e7._0x4558b6,_0x1855e7._0x453104,-_0x1855e7._0x3ad81e,-_0x1855e7._0x180799)]===_0x1d3c50(-0x17e,0x9e,0x198,_0x1855e7._0x2fce81)&&_0x5048dc[_0x1d3c50(_0x1855e7._0x27accd,0x2a6,_0x1855e7._0x50629c,0x383)]===_0x1d3c50(_0x1855e7._0x586458,_0x1855e7._0x1c7bcf,0x486,_0x1855e7._0x5eb24d)&&_0x5048dc[_0x1d3c50(0x1b3,_0x1855e7._0x976aab,0x47,0x21a)]==='text';}function isFileReadResult(_0x437a5b){const _0x5722dc={_0x1914e7:0x2d1,_0x1f3440:0x87,_0x596c1a:0x1a9,_0x2b26eb:0x84},_0x36f4ef={_0x3434f2:0x192,_0x3e04fd:0x116},_0xb5811d={_0x3071ce:0x1e9,_0x2918a0:0x348};function _0xacb188(_0x38afe9,_0x6ee8,_0x6e3cd3,_0x2c2e2c){return _0x55e1bc(_0x6ee8,_0x6ee8-_0xb5811d._0x3071ce,_0x6e3cd3-0x116,_0x6e3cd3- -_0xb5811d._0x2918a0);}function _0x524a14(_0x31f1c0,_0x3c5f9b,_0x48ea3a,_0x4ff1d9){return _0x55e1bc(_0x3c5f9b,_0x3c5f9b-_0x36f4ef._0x3434f2,_0x48ea3a-_0x36f4ef._0x3e04fd,_0x31f1c0- -0x6c3);}return _0x437a5b[_0x524a14(-0x167,-0x3a,-0x23e,-_0x5722dc._0x1914e7)]===_0x524a14(-0x18b,-_0x5722dc._0x1f3440,-_0x5722dc._0x596c1a,_0x5722dc._0x2b26eb);}function isFileReadSuccess(_0x293aa4){const _0xd5aa34={_0x58e124:0x19a,_0x260ce1:0x1f,_0x17849d:0x1ad,_0x316f7b:0x2d4,_0x164dcd:0x2f4,_0x452525:0x4ea,_0x270bba:0xcd},_0x4411c2={_0x2f6e2c:0xfb,_0x5e92b6:0x475};function _0x3e2b1e(_0x560a2c,_0x50b7fc,_0x4fbe12,_0x1ca4ea){return _0x55e1bc(_0x4fbe12,_0x50b7fc-0xdb,_0x4fbe12-0x35,_0x50b7fc- -0x316);}function _0x56d43b(_0x322dce,_0x261bf6,_0x299c2d,_0x32895f){return _0x3a64dd(_0x322dce-_0x4411c2._0x2f6e2c,_0x322dce,_0x32895f- -_0x4411c2._0x5e92b6,_0x32895f-0xd2);}return _0x293aa4['name']===_0x56d43b(_0xd5aa34._0x58e124,-_0xd5aa34._0x260ce1,_0xd5aa34._0x17849d,-0x79)&&_0x293aa4['status']===_0x56d43b(0xc1,0x1a7,0x3aa,_0xd5aa34._0x316f7b)&&_0x293aa4[_0x56d43b(0x123,-0x7f,-0xcb,0x14f)]===_0x3e2b1e(0x1fc,_0xd5aa34._0x164dcd,_0xd5aa34._0x452525,_0xd5aa34._0x270bba);}function isFileEditResult(_0x491e14){const _0x41c9f5={_0x53a3ca:0xc6,_0xc0af97:0x134,_0x414941:0x2fb,_0x34b629:0x89},_0x22933a={_0x3d7a96:0xb2,_0x11bf56:0x428};function _0x276fe6(_0x2714ea,_0x37ec5e,_0xcccbb3,_0x355766){return _0x55e1bc(_0xcccbb3,_0x37ec5e-_0x22933a._0x3d7a96,_0xcccbb3-0x16,_0x37ec5e- -_0x22933a._0x11bf56);}return _0x491e14[_0x276fe6(-_0x41c9f5._0x53a3ca,_0x41c9f5._0xc0af97,_0x41c9f5._0x414941,_0x41c9f5._0x34b629)]==='file_edit';}function isFileEditSuccess(_0x241ab4){const _0x3e361b={_0x1bc6b7:0x602,_0x5e0e44:0x4ea,_0x4b118f:0x382,_0x265f01:0x4e1,_0x2bf2c8:0x1b0,_0xebfbe5:0x18e,_0x1b8da3:0xa29,_0x91f23c:0x8ed,_0x1929af:0x5d6,_0x17887b:0x477,_0x101538:0x79c},_0x153af5={_0x51bf05:0x155,_0x4ac159:0x496,_0x5185fd:0x1c5},_0x17ca33={_0x914047:0x21,_0x161f22:0xc1,_0x4816ab:0x16b};function _0x5c8a1b(_0xf8c019,_0x37fd5e,_0x5102bf,_0x25efd4){return _0x3a64dd(_0xf8c019-_0x17ca33._0x914047,_0xf8c019,_0x25efd4-_0x17ca33._0x161f22,_0x25efd4-_0x17ca33._0x4816ab);}function _0x2f1104(_0x341c75,_0x3e4010,_0xd4f832,_0x175a4d){return _0x3a64dd(_0x341c75-_0x153af5._0x51bf05,_0xd4f832,_0x341c75- -_0x153af5._0x4ac159,_0x175a4d-_0x153af5._0x5185fd);}return _0x241ab4[_0x5c8a1b(_0x3e361b._0x1bc6b7,_0x3e361b._0x5e0e44,_0x3e361b._0x4b118f,_0x3e361b._0x265f01)]==='file_edit'&&_0x241ab4[_0x2f1104(_0x3e361b._0x2bf2c8,0x205,_0x3e361b._0xebfbe5,0x383)]===_0x5c8a1b(_0x3e361b._0x1b8da3,_0x3e361b._0x91f23c,_0x3e361b._0x1929af,0x80a)&&_0x241ab4[_0x5c8a1b(_0x3e361b._0x17887b,0x61e,_0x3e361b._0x101538,0x685)]==='text';}function isFileNewResult(_0x548e13){const _0x5998c6={_0x1ff4af:0xd8},_0x589d5d={_0x263830:0xe3,_0x28afd6:0x540};function _0x41b171(_0x1141b3,_0x2d965f,_0x3423ea,_0x34248e){return _0x3a64dd(_0x1141b3-_0x589d5d._0x263830,_0x34248e,_0x3423ea- -_0x589d5d._0x28afd6,_0x34248e-0xbb);}return _0x548e13[_0x41b171(-0x124,_0x5998c6._0x1ff4af,-0x120,-0x297)]==='file_new';}function isFileNewSuccess(_0x57c86c){const _0xb92f01={_0x4f369d:0x56e,_0x58ad7d:0x4e7,_0x1e69fe:0x48c,_0x356467:0x484,_0xa01fca:0x657,_0x2078b5:0x649,_0x18c927:0x566,_0x5a5747:0x3c5,_0x2b5008:0x534,_0x15dab4:0x20c,_0x5572be:0x39f,_0x10e371:0x240,_0x3ef46a:0x663},_0x47f812={_0x94eb65:0xaa,_0x3ec26c:0x384},_0x5ea63f={_0x9ff979:0x13f};function _0x530616(_0x1b3617,_0x26d159,_0x13634b,_0x19166a){return _0x55e1bc(_0x26d159,_0x26d159-_0x5ea63f._0x9ff979,_0x13634b-0xdd,_0x19166a- -0x75);}function _0x18831a(_0x10b139,_0x23e862,_0x2076bc,_0x17fd69){return _0x3a64dd(_0x10b139-_0x47f812._0x94eb65,_0x10b139,_0x23e862- -_0x47f812._0x3ec26c,_0x17fd69-0x182);}return _0x57c86c[_0x530616(0x5bf,_0xb92f01._0x4f369d,0x306,_0xb92f01._0x58ad7d)]===_0x18831a(0x339,0x31e,_0xb92f01._0x1e69fe,_0xb92f01._0x356467)&&_0x57c86c[_0x530616(_0xb92f01._0xa01fca,0x6ad,_0xb92f01._0x2078b5,0x70d)]===_0x18831a(_0xb92f01._0x18c927,_0xb92f01._0x5a5747,_0xb92f01._0x2b5008,_0xb92f01._0x15dab4)&&_0x57c86c[_0x18831a(_0xb92f01._0x5572be,_0xb92f01._0x10e371,_0xb92f01._0x15dab4,0x105)]===_0x530616(0x408,_0xb92f01._0x3ef46a,0x46f,0x595);}function isLsToolResult(_0x5f3d70){const _0x45a89b={_0x51acc1:0x2e7,_0x22e20e:0x141,_0x14cc4f:0x53f},_0x430deb={_0x7d7acd:0x190,_0x477112:0x555},_0x52c287={_0x2a8222:0x41b};function _0x57601b(_0x4d4e87,_0x129bec,_0x23a869,_0x2b998d){return _0x55e1bc(_0x4d4e87,_0x129bec-0x125,_0x23a869-0x181,_0x2b998d- -_0x52c287._0x2a8222);}function _0x186704(_0x47acde,_0x4cc50b,_0x48191f,_0x507a46){return _0x3a64dd(_0x47acde-_0x430deb._0x7d7acd,_0x4cc50b,_0x48191f- -_0x430deb._0x477112,_0x507a46-0xdf);}return _0x5f3d70[_0x57601b(_0x45a89b._0x51acc1,0x25d,0x36a,_0x45a89b._0x22e20e)]===_0x57601b(0x105,0x25f,_0x45a89b._0x14cc4f,0x325);}function isLsToolSuccess(_0x4fc520){const _0x4ec284={_0x3275be:0x3a1,_0x5acd1e:0x2f3,_0x47f721:0x469,_0x595767:0x4a1,_0x21e9e6:0x5f4,_0x12cc0e:0x5f2,_0x1bdf90:0x683,_0x27fa32:0x4b7,_0x400e77:0x5ae,_0x26fada:0x445,_0x5d7b57:0x407,_0x54c200:0x52f,_0x467574:0x46b,_0x5c5f6a:0x134,_0x4b65e7:0x479},_0x432994={_0xcaf54b:0x6b},_0x4a4413={_0x454349:0x173};function _0x2524eb(_0x12bfb4,_0x5e4d25,_0x758074,_0x2337be){return _0x3a64dd(_0x12bfb4-_0x4a4413._0x454349,_0x2337be,_0x5e4d25- -0x19b,_0x2337be-0x156);}function _0xfd9274(_0x22f1c9,_0x1ef08e,_0x4088c0,_0x1a313f){return _0x3a64dd(_0x22f1c9-0x1ef,_0x1a313f,_0x4088c0- -0x1d0,_0x1a313f-_0x432994._0xcaf54b);}return _0x4fc520[_0xfd9274(_0x4ec284._0x3275be,0x45,0x250,0x34f)]===_0x2524eb(_0x4ec284._0x5acd1e,_0x4ec284._0x47f721,_0x4ec284._0x595767,_0x4ec284._0x21e9e6)&&_0x4fc520[_0x2524eb(_0x4ec284._0x12cc0e,0x4ab,_0x4ec284._0x1bdf90,0x29d)]===_0x2524eb(_0x4ec284._0x27fa32,_0x4ec284._0x400e77,0x76e,_0x4ec284._0x26fada)&&_0x4fc520[_0xfd9274(_0x4ec284._0x5d7b57,_0x4ec284._0x54c200,0x3f4,_0x4ec284._0x467574)]===_0xfd9274(_0x4ec284._0x5c5f6a,_0x4ec284._0x4b65e7,0x2fe,0x15b);}function isGlobResult(_0x2b0e90){function _0x1decbd(_0x3fcb84,_0xe79a13,_0x353009,_0x13c977){return _0x3a64dd(_0x3fcb84-0xc6,_0xe79a13,_0x13c977- -0x490,_0x13c977-0x18b);}return _0x2b0e90['name']===_0x1decbd(0x35a,0x3dc,0x10c,0x2d5);}function isGlobSuccess(_0x418609){const _0x245b9d={_0x1f2c77:0x202,_0x7194fd:0x66,_0x2c072a:0x514,_0x5a2592:0xe7,_0x2aecc2:0xb9,_0x4fc316:0x2e2,_0x44be0c:0x128,_0x33155b:0x5e,_0x586e3e:0x15,_0x37fdb2:0x154,_0x5d8fd1:0x308,_0x5dc8ff:0x1d1,_0x39ffab:0xae},_0x19a346={_0x555189:0x622,_0x2e2a26:0x55},_0x11de29={_0x18db51:0x109};function _0x5f500a(_0xde4f78,_0x30376f,_0x3e116d,_0x386e83){return _0x55e1bc(_0x30376f,_0x30376f-0x1d9,_0x3e116d-_0x11de29._0x18db51,_0xde4f78- -0x1da);}function _0xeac703(_0x4e6283,_0x2d18c,_0x21865c,_0x5053c6){return _0x3a64dd(_0x4e6283-0xaa,_0x21865c,_0x4e6283- -_0x19a346._0x555189,_0x5053c6-_0x19a346._0x2e2a26);}return _0x418609[_0xeac703(-_0x245b9d._0x1f2c77,-0xa3,-0x134,-_0x245b9d._0x7194fd)]===_0x5f500a(0x6c7,0x769,_0x245b9d._0x2c072a,0x685)&&_0x418609[_0xeac703(0x24,_0x245b9d._0x5a2592,_0x245b9d._0x2aecc2,0x195)]===_0xeac703(0x127,_0x245b9d._0x4fc316,_0x245b9d._0x44be0c,-0x1)&&_0x418609[_0xeac703(-_0x245b9d._0x33155b,-_0x245b9d._0x586e3e,-0x30,-0x273)]===_0xeac703(-_0x245b9d._0x37fdb2,-_0x245b9d._0x5d8fd1,-_0x245b9d._0x5dc8ff,_0x245b9d._0x39ffab);}function isGrepResult(_0x1466b2){const _0x4cbfa3={_0x41b380:0x269,_0x246b5f:0xfb,_0x55cabd:0x4d},_0x4bd34e={_0x4e7542:0xae};function _0x4d9dc7(_0x5ed6a5,_0x368bc3,_0x29b824,_0x235cf8){return _0x3a64dd(_0x5ed6a5-0x14d,_0x29b824,_0x5ed6a5- -_0x4bd34e._0x4e7542,_0x235cf8-0x86);}return _0x1466b2['name']===_0x4d9dc7(_0x4cbfa3._0x41b380,0x1bc,_0x4cbfa3._0x246b5f,_0x4cbfa3._0x55cabd);}function isGrepSuccess(_0x3dce3d){const _0x41db20={_0x20fb0c:0x2e9,_0x1fc219:0x8a5,_0x3ee878:0x8ad,_0xfea1cb:0xf0},_0x1ad65b={_0x26e07c:0x1d4,_0x515237:0x105,_0x19f32d:0x20},_0x1e6001={_0x108cff:0x1e4};function _0x46d4ce(_0xb8536b,_0x13e260,_0x4b795b,_0x257ab9){return _0x55e1bc(_0x4b795b,_0x13e260-_0x1e6001._0x108cff,_0x4b795b-0xda,_0x13e260- -0x499);}function _0x20e6c4(_0x54dc70,_0x5d5102,_0x5f0e3d,_0x3f2cfe){return _0x55e1bc(_0x54dc70,_0x5d5102-_0x1ad65b._0x26e07c,_0x5f0e3d-_0x1ad65b._0x515237,_0x5f0e3d-_0x1ad65b._0x19f32d);}return _0x3dce3d['name']==='grep_tool'&&_0x3dce3d[_0x46d4ce(0x1cf,_0x41db20._0x20fb0c,0x45c,0x343)]===_0x20e6c4(0x933,0x917,_0x41db20._0x1fc219,_0x41db20._0x3ee878)&&_0x3dce3d[_0x46d4ce(0x3ac,0x267,_0x41db20._0xfea1cb,0x1fe)]==='text';}function isWebSearchResult(_0x35dd0b){const _0x2a036e={_0x353ff0:0x741,_0x23d158:0x5c1,_0x2023b3:0x8c7},_0x12c1a4={_0x298cad:0x7d,_0x18011a:0x1};function _0x1215fe(_0x13d752,_0x90f9b4,_0x20776b,_0xf51ae0){return _0x3a64dd(_0x13d752-_0x12c1a4._0x298cad,_0x13d752,_0x20776b- -_0x12c1a4._0x18011a,_0xf51ae0-0x1e7);}return _0x35dd0b['name']===_0x1215fe(_0x2a036e._0x353ff0,_0x2a036e._0x23d158,0x68a,_0x2a036e._0x2023b3);}function isWebSearchSuccess(_0x2009f2){const _0x1ca5c0={_0x1610ff:0x3e4,_0x4b0a60:0x303,_0x5b812e:0x3e9,_0x4a3ec0:0x878,_0x111467:0x816,_0x4341d7:0x37d,_0xc58641:0x68d,_0x39e21b:0x623,_0x9ee714:0x744},_0x384dd3={_0x4eca06:0x114,_0x2c3bd9:0x1ed,_0x48d92e:0x705},_0x4955a9={_0x217c64:0x3c,_0x3547c7:0x7};function _0x1bcd59(_0x279908,_0x34181b,_0x5ccc64,_0x2465e7){return _0x3a64dd(_0x279908-0xa9,_0x5ccc64,_0x279908- -_0x4955a9._0x217c64,_0x2465e7-_0x4955a9._0x3547c7);}function _0x3afd77(_0x367231,_0x4d78a9,_0x2b34c3,_0x1b4ec0){return _0x55e1bc(_0x1b4ec0,_0x4d78a9-_0x384dd3._0x4eca06,_0x2b34c3-_0x384dd3._0x2c3bd9,_0x2b34c3- -_0x384dd3._0x48d92e);}return _0x2009f2[_0x1bcd59(_0x1ca5c0._0x1610ff,0x29a,_0x1ca5c0._0x4b0a60,_0x1ca5c0._0x5b812e)]==='web_search'&&_0x2009f2['status']===_0x1bcd59(0x70d,0x587,_0x1ca5c0._0x4a3ec0,_0x1ca5c0._0x111467)&&_0x2009f2[_0x1bcd59(0x588,_0x1ca5c0._0x4341d7,_0x1ca5c0._0xc58641,0x4ae)]===_0x1bcd59(_0x1ca5c0._0x39e21b,_0x1ca5c0._0x9ee714,0x4c8,0x71b);}function isWebFetchResult(_0x8902ee){const _0x496fd9={_0x517a8d:0x24f,_0x25acb2:0x41f,_0x460daf:0x4a5,_0x3baedb:0x669,_0x5f45c7:0x646},_0x1b9028={_0x2e15d2:0x68,_0xd02d94:0x1,_0x477d71:0x137},_0x245f71={_0x3be622:0x12c};function _0x569175(_0x56eb02,_0x2887ec,_0x2afd5a,_0x1dfbba){return _0x3a64dd(_0x56eb02-_0x245f71._0x3be622,_0x1dfbba,_0x56eb02- -0x1c6,_0x1dfbba-0x102);}function _0x44833a(_0x125756,_0x2de797,_0x448949,_0x231733){return _0x3a64dd(_0x125756-_0x1b9028._0x2e15d2,_0x231733,_0x448949- -_0x1b9028._0xd02d94,_0x231733-_0x1b9028._0x477d71);}return _0x8902ee[_0x44833a(_0x496fd9._0x517a8d,0x2c6,_0x496fd9._0x25acb2,0x44a)]===_0x44833a(_0x496fd9._0x460daf,_0x496fd9._0x3baedb,_0x496fd9._0x5f45c7,0x691);}function isWebFetchSuccess(_0x525ca8){const _0x39e124={_0x5a45b0:0x54c,_0x3dcc2f:0x77a,_0x5b0f38:0x790,_0x3c2a18:0x3fd,_0x5b60ce:0x337},_0x38f642={_0xc4a762:0x27},_0x411407={_0x887769:0xfa,_0x113dee:0x1ce,_0x394c83:0x1a6};function _0x19dd48(_0x174333,_0x1d8f99,_0x2f5021,_0x37a88e){return _0x3a64dd(_0x174333-_0x411407._0x887769,_0x2f5021,_0x174333- -_0x411407._0x113dee,_0x37a88e-_0x411407._0x394c83);}function _0x4d6552(_0x310e88,_0x2102fb,_0x52bd94,_0x319142){return _0x55e1bc(_0x319142,_0x2102fb-0x1ce,_0x52bd94-0x96,_0x2102fb- -_0x38f642._0xc4a762);}return _0x525ca8[_0x4d6552(_0x39e124._0x5a45b0,0x535,_0x39e124._0x3dcc2f,0x47e)]===_0x19dd48(0x479,0x65d,0x6bd,0x6c1)&&_0x525ca8[_0x4d6552(0x815,0x75b,0x6c3,0x8bb)]===_0x19dd48(0x57b,0x709,_0x39e124._0x5b0f38,0x3af)&&_0x525ca8['type']===_0x19dd48(0x300,0xfe,_0x39e124._0x3c2a18,_0x39e124._0x5b60ce);}function isTodoWriteResult(_0x4230f1){const _0x15f954={_0x2a1e8a:0x3c8,_0x497107:0x2b4,_0x146bf0:0x11a},_0x4ac2b5={_0x4168a9:0x265};function _0x29a46b(_0x26f17e,_0x2b71c1,_0x3b038a,_0x4b90bb){return _0x55e1bc(_0x3b038a,_0x2b71c1-0x1d1,_0x3b038a-0xb0,_0x26f17e- -0x781);}function _0xce21c0(_0x1eb5d9,_0x5005c0,_0x2d461f,_0x385ce0){return _0x3a64dd(_0x1eb5d9-0x100,_0x385ce0,_0x2d461f- -_0x4ac2b5._0x4168a9,_0x385ce0-0x141);}return _0x4230f1[_0x29a46b(-0x225,-0x2a1,0x28,-0x2c5)]===_0xce21c0(_0x15f954._0x2a1e8a,_0x15f954._0x497107,0x21f,_0x15f954._0x146bf0);}function isTodoWriteSuccess(_0x2b2cf3){const _0xcfb9ea={_0x5ed447:0x5f8,_0x325ef3:0xd5,_0x43d9d9:0x1c1,_0x327ecd:0x45f,_0x4587fe:0x418,_0x614023:0x36f,_0x3636a0:0x417,_0x447e80:0x72e},_0xe742a3={_0x5adf77:0x1d2,_0x43178f:0x1d},_0xd61f0d={_0x14c828:0x127,_0x4c6189:0x6a};function _0x4bf086(_0x494ec6,_0x44d04d,_0x39d15f,_0x185d4b){return _0x3a64dd(_0x494ec6-_0xd61f0d._0x14c828,_0x185d4b,_0x44d04d- -0x38,_0x185d4b-_0xd61f0d._0x4c6189);}function _0x1870a3(_0x5ed9d7,_0x14fae7,_0x3d4a34,_0x1171d0){return _0x55e1bc(_0x3d4a34,_0x14fae7-_0xe742a3._0x5adf77,_0x3d4a34-_0xe742a3._0x43178f,_0x1171d0- -0x46e);}return _0x2b2cf3[_0x4bf086(0x235,0x3e8,_0xcfb9ea._0x5ed447,0x1be)]===_0x1870a3(_0xcfb9ea._0x325ef3,0x30a,_0xcfb9ea._0x43d9d9,0x152)&&_0x2b2cf3['status']===_0x1870a3(_0xcfb9ea._0x327ecd,_0xcfb9ea._0x4587fe,_0xcfb9ea._0x614023,_0xcfb9ea._0x3636a0)&&_0x2b2cf3[_0x4bf086(_0xcfb9ea._0x447e80,0x58c,0x4cc,0x5de)]==='text';}function isAssignResult(_0x385b0f){const _0x40bf6c={_0x336323:0x15e,_0x462fb7:0x3d2,_0x1d1d36:0x39a};function _0x454468(_0x2bb7e7,_0x4abd10,_0x5d983f,_0x3d63ca){return _0x3a64dd(_0x2bb7e7-0xff,_0x4abd10,_0x2bb7e7- -0x171,_0x3d63ca-0x14d);}function _0x12ce0c(_0x5e8588,_0x4ca57e,_0x7b9087,_0x193c91){return _0x55e1bc(_0x4ca57e,_0x4ca57e-0xc9,_0x7b9087-0xd2,_0x7b9087- -0x3fe);}return _0x385b0f[_0x12ce0c(0x3aa,0x365,_0x40bf6c._0x336323,0x246)]===_0x454468(0x41b,_0x40bf6c._0x462fb7,0x34b,_0x40bf6c._0x1d1d36);}function isAssignSuccess(_0x41054d){const _0x5405ce={_0x10b78e:0x450,_0x3aaf2c:0x486,_0x2bd288:0x242,_0xd1e4a0:0x4bd,_0x30d92e:0x5bc,_0x32dd53:0x73e,_0x4de714:0x5ac,_0x5ccb3c:0x4f5,_0x1d8a96:0x3c2},_0x573fe2={_0x2f1099:0x71},_0x4815e6={_0x2219f8:0x7c,_0x2c35e4:0x30,_0x50c86a:0x20b};function _0x35bfde(_0x372e3f,_0x12573,_0x3d97d0,_0xd7c3f7){return _0x55e1bc(_0x3d97d0,_0x12573-_0x4815e6._0x2219f8,_0x3d97d0-_0x4815e6._0x2c35e4,_0x372e3f- -_0x4815e6._0x50c86a);}function _0x19adc0(_0x2602e5,_0x28259e,_0x38bd50,_0x150d17){return _0x3a64dd(_0x2602e5-_0x573fe2._0x2f1099,_0x150d17,_0x28259e-0x30,_0x150d17-0xb4);}return _0x41054d[_0x19adc0(0x3c3,_0x5405ce._0x10b78e,_0x5405ce._0x3aaf2c,_0x5405ce._0x2bd288)]===_0x19adc0(_0x5405ce._0xd1e4a0,_0x5405ce._0x30d92e,_0x5405ce._0x32dd53,_0x5405ce._0x4de714)&&_0x41054d['status']==='success'&&_0x41054d[_0x35bfde(_0x5405ce._0x5ccb3c,_0x5405ce._0x1d8a96,0x5dc,0x718)]===_0x19adc0(0x4ce,0x4fe,0x3c3,0x33d);}import*as _0x953045 from'fs';import*as _0x2d1e6c from'path';import{parse,stringify as _0x803953}from'yaml';var AgentFilePersistence=class{[_0x3a64dd(0x3c0,0x4e0,0x605,0x4ac)];constructor(_0x44cc22){const _0x335d60={_0x173d80:0x5ba,_0x720310:0x79d,_0x2c1e8a:0x544,_0x4dde2c:0x3b5},_0x2adc58={_0x1be498:0x10e,_0x31bbf1:0x4b};function _0x1217a0(_0x151e83,_0x12d55c,_0x375cef,_0x26afc0){return _0x3a64dd(_0x151e83-0xc0,_0x375cef,_0x26afc0- -0x395,_0x26afc0-0x150);}function _0x1cb98d(_0x560086,_0x44acfe,_0x14087e,_0x4f3f53){return _0x3a64dd(_0x560086-_0x2adc58._0x1be498,_0x44acfe,_0x560086- -_0x2adc58._0x31bbf1,_0x4f3f53-0x13c);}this[_0x1217a0(0x16a,0x45b,0x35d,0x270)]=_0x44cc22[_0x1cb98d(_0x335d60._0x173d80,_0x335d60._0x720310,_0x335d60._0x2c1e8a,_0x335d60._0x4dde2c)];}[_0x3a64dd(0x5e6,0x4c8,0x6e7,0x872)](){const _0x366fc8={_0xf367d1:0x6e4,_0x13b935:0x877,_0x1be162:0x6f9,_0xd74656:0x73d,_0x37cd80:0x77d,_0xc51e5c:0x6fe,_0x2d9a2d:0x68c,_0x267df2:0x5c1,_0x2dd67e:0x5d4,_0x2164ca:0x4e8,_0x44bc1a:0x6a5},_0x46e11c={_0x2630a1:0x26},_0x5debd5={_0x42910:0xe4};function _0x21b125(_0x27519e,_0x5ce749,_0x3c4378,_0x2d46b1){return _0x55e1bc(_0x3c4378,_0x5ce749-0xdc,_0x3c4378-_0x5debd5._0x42910,_0x27519e- -0x16d);}function _0x220a4e(_0x11f822,_0x1aa82b,_0x5cb25e,_0xf11e7){return _0x55e1bc(_0x11f822,_0x1aa82b-_0x46e11c._0x2630a1,_0x5cb25e-0x1e0,_0x1aa82b- -0x16b);}!_0x953045[_0x21b125(_0x366fc8._0xf367d1,_0x366fc8._0x13b935,_0x366fc8._0x1be162,0x614)](this[_0x220a4e(0x4be,0x5d6,0x408,_0x366fc8._0xd74656)])&&_0x953045[_0x220a4e(_0x366fc8._0x37cd80,_0x366fc8._0xc51e5c,_0x366fc8._0x2d9a2d,_0x366fc8._0x267df2)](this[_0x21b125(_0x366fc8._0x2dd67e,_0x366fc8._0x2164ca,0x5d7,_0x366fc8._0x44bc1a)],{'recursive':!![]});}async[_0x55e1bc(0x65e,0x60d,0x4d0,0x57b)](){const _0x10d434={_0x30ea5f:0x3ee,_0x5b2ff0:0xb0,_0x596607:0x8e,_0x27d8b0:0x25c,_0x49ed6b:0xcb,_0x467876:0x13f,_0x4ff925:0x40,_0x3a6c65:0x1e3,_0x3aee45:0x1d2,_0x27a9ad:0x117,_0x3d3aa7:0x111,_0x558faf:0xc6},_0x7e5c4b={_0x2d9dc2:0x609},_0x1fac02={_0x5b37e2:0x12f},_0x43bf47=[];try{this[_0x58d1ff(_0x10d434._0x30ea5f,_0x10d434._0x5b2ff0,0x21a,_0x10d434._0x596607)]();if(!_0x953045['existsSync'](this[_0x30518c(0x19b,0x1cb,0x196,-0x40)]))return _0x43bf47;const _0x3aa180=_0x953045[_0x58d1ff(_0x10d434._0x27d8b0,-0xb5,0x16d,0x114)](this[_0x30518c(-_0x10d434._0x49ed6b,-0x40,_0x10d434._0x467876,-_0x10d434._0x4ff925)]),_0x3b7cd6=_0x3aa180[_0x30518c(_0x10d434._0x3a6c65,-_0x10d434._0x3aee45,0xa,-0x1f)](_0x3a7b29=>_0x3a7b29['endsWith'](_0x58d1ff(-0x77,0x83,0x31,-0xd7))||_0x3a7b29[_0x30518c(0x36f,0x2ff,-0xb5,0x127)](_0x58d1ff(0xc9,-0x28f,-0xbc,-0x12f)));for(const _0x104d35 of _0x3b7cd6){try{const _0x287a63=await this[_0x58d1ff(0xc4,0x225,_0x10d434._0x27a9ad,0x1be)](_0x104d35);_0x287a63&&_0x43bf47['push'](_0x287a63);}catch(_0x4d18a2){console[_0x30518c(0x13,_0x10d434._0x3d3aa7,-0x206,-_0x10d434._0x558faf)]('Failed\x20to\x20load\x20agent\x20from\x20'+_0x104d35+':',_0x4d18a2);}}}catch(_0x28b2eb){}function _0x30518c(_0x3fa2ba,_0x2ab697,_0x256786,_0x2ed82d){return _0x55e1bc(_0x2ab697,_0x2ab697-0x118,_0x256786-_0x1fac02._0x5b37e2,_0x2ed82d- -0x781);}function _0x58d1ff(_0x544f7e,_0x51aebe,_0x233f6a,_0x1cfc48){return _0x55e1bc(_0x51aebe,_0x51aebe-0xea,_0x233f6a-0x1da,_0x233f6a- -_0x7e5c4b._0x2d9dc2);}return _0x43bf47;}async['load'](_0x3286a4){const _0x287c45={_0x2aef77:0x127,_0x3cfc6e:0x377,_0x45e4ed:0x35e,_0x5d875a:0x30e,_0x4a04b4:0x5,_0x591d77:0x22b,_0x13a4a3:0x1ec,_0x17714b:0x1f0,_0x553a70:0x31d,_0x127883:0x22,_0x3c240f:0x1b2,_0xa05437:0x2dd,_0x237bea:0x12b,_0x4ab811:0x144,_0x55e8dd:0x97,_0x395577:0x11d,_0x16f278:0x627,_0xdf6e4b:0x5c0,_0x1012fc:0x626,_0x3da8ec:0x585,_0x580a2f:0x527,_0x26ffcf:0x4db,_0x4179bd:0x418,_0xc6ca3f:0x1c6,_0x5a87b2:0x2ec,_0x650063:0x1b},_0x3caf95={_0x53037b:0x2a7},_0x67e93c={_0xbcd20c:0x449};function _0x459b24(_0x1cb956,_0x255842,_0x57f6b5,_0x3f3a15){return _0x55e1bc(_0x255842,_0x255842-0x5f,_0x57f6b5-0x57,_0x3f3a15- -_0x67e93c._0xbcd20c);}function _0x16b799(_0x5b803f,_0x685131,_0x6c89bc,_0x2916cf){return _0x3a64dd(_0x5b803f-0x1d2,_0x5b803f,_0x685131- -_0x3caf95._0x53037b,_0x2916cf-0x1a6);}try{const _0x2bdcde=_0x2d1e6c[_0x16b799(0x1b3,_0x287c45._0x2aef77,_0x287c45._0x3cfc6e,0x10f)](this[_0x16b799(0x46d,_0x287c45._0x45e4ed,_0x287c45._0x5d875a,0x3dd)],_0x3286a4),_0x3589c1=_0x953045[_0x459b24(0x226,-_0x287c45._0x4a04b4,0x2d9,0x1fa)](_0x2bdcde,_0x16b799(_0x287c45._0x591d77,_0x287c45._0x13a4a3,_0x287c45._0x17714b,_0x287c45._0x553a70)),_0x6179ca=parse(_0x3589c1);if(!_0x6179ca||typeof _0x6179ca!==_0x459b24(-_0x287c45._0x127883,0x1ae,-0xd,_0x287c45._0x3c240f)||typeof _0x6179ca[_0x16b799(_0x287c45._0xa05437,_0x287c45._0x237bea,0x108,_0x287c45._0x4ab811)]!==_0x459b24(-_0x287c45._0x55e8dd,0x337,0x1d9,_0x287c45._0x395577))return console['warn'](_0x459b24(_0x287c45._0x16f278,_0x287c45._0xdf6e4b,_0x287c45._0x1012fc,0x475)+_0x3286a4+_0x16b799(0x587,0x509,0x63d,_0x287c45._0x3da8ec)),null;const _0x28e1e6=_0x6179ca;if(_0x28e1e6['tools']!==void 0x0&&!Array['isArray'](_0x28e1e6['tools']))return console['warn'](_0x16b799(_0x287c45._0x580a2f,_0x287c45._0x26ffcf,0x324,_0x287c45._0x4179bd)+_0x3286a4+_0x16b799(0x118,_0x287c45._0xc6ca3f,_0x287c45._0x5a87b2,-_0x287c45._0x650063)),null;return _0x6179ca;}catch(_0x40200b){return console[_0x459b24(0x46,0x19f,0xd9,0x272)]('Failed\x20to\x20load\x20agent\x20from\x20'+_0x3286a4+':',_0x40200b),null;}}async[_0x3a64dd(0x46a,0x89c,0x65b,0x80c)](_0x25440a){const _0x52ac74={_0x59ddbc:0x5bc,_0xba406a:0x22d,_0x4e4106:0x320,_0x42598b:0x790,_0x1dbafc:0x786,_0x1d4ee5:0x6bc,_0x2afc70:0x12b,_0x2e64db:0x3f2,_0x151a37:0x444,_0x102d18:0x61c,_0x69ea19:0x39c,_0x521872:0x4f9,_0x3a552e:0x2c4,_0x269761:0x30c,_0x121117:0x368,_0x560cdb:0x196,_0x411a4b:0x539,_0x1c9dd0:0x42d,_0x181910:0x50a,_0x1f18b1:0x6a9,_0x3e2010:0x6a4,_0x505473:0x59c},_0x200a8d={_0x3d5a6b:0x10c,_0x5c6657:0x45};function _0xa5749d(_0x2a9611,_0x46aa22,_0x4e36ad,_0x27f2c7){return _0x3a64dd(_0x2a9611-0x107,_0x46aa22,_0x2a9611- -_0x200a8d._0x3d5a6b,_0x27f2c7-_0x200a8d._0x5c6657);}this[_0x3aaf37(0x376,_0x52ac74._0x59ddbc,0x7e5,0x46b)]();if(!_0x25440a[_0xa5749d(0x2c6,0x353,_0x52ac74._0xba406a,_0x52ac74._0x4e4106)])throw new Error(_0x3aaf37(_0x52ac74._0x42598b,0x55a,_0x52ac74._0x1dbafc,_0x52ac74._0x1d4ee5));const _0x198045=_0x25440a['id']||_0x3aaf37(_0x52ac74._0x2afc70,0x354,0x156,0x567)+Date['now']();function _0x3aaf37(_0x2b07bd,_0x4f59a9,_0x16d153,_0x5198a2){return _0x55e1bc(_0x5198a2,_0x4f59a9-0x1da,_0x16d153-0xbd,_0x4f59a9- -0x267);}const _0x543c27=this['sanitizeFilename'](_0x198045)+_0xa5749d(_0x52ac74._0x2e64db,_0x52ac74._0x151a37,_0x52ac74._0x102d18,0x48c),_0x126557=_0x2d1e6c[_0xa5749d(0x2c2,0x1c3,0x4ce,_0x52ac74._0x69ea19)](this[_0xa5749d(_0x52ac74._0x521872,0x5b4,_0x52ac74._0x3a552e,_0x52ac74._0x269761)],_0x543c27);try{const _0x51122c=_0x803953(_0x25440a,{'lineWidth':0x0,'indent':0x2});_0x953045['writeFileSync'](_0x126557,_0x51122c,_0x3aaf37(0x22f,_0x52ac74._0x121117,_0x52ac74._0x560cdb,0x4d5));}catch(_0x3f868d){throw new Error(_0x3aaf37(_0x52ac74._0x411a4b,0x3e5,_0x52ac74._0x1c9dd0,_0x52ac74._0x181910)+_0x543c27+':\x20'+(_0x3f868d instanceof Error?_0x3f868d[_0xa5749d(_0x52ac74._0x1f18b1,_0x52ac74._0x3e2010,0x87b,_0x52ac74._0x505473)]:String(_0x3f868d)));}}async[_0x3a64dd(0x892,0x85e,0x773,0x901)](_0x1ec3b3){const _0x13bf0f={_0x2dedd9:0x62a,_0x5178d9:0x7a7,_0x354d76:0x81d,_0x55634e:0x6ad,_0x3b8244:0x745,_0x5dc5af:0x5a3,_0x179ddb:0x8e4,_0xdabf6f:0x8b4,_0x154aa4:0xa53,_0x402ceb:0x526,_0x3e2f8a:0x323},_0x58dcea={_0x2dd339:0xc7};function _0x3f26aa(_0x3dbed7,_0x474777,_0x4458d0,_0x5fdc7b){return _0x3a64dd(_0x3dbed7-0xf6,_0x4458d0,_0x3dbed7- -0x4c8,_0x5fdc7b-0x1c8);}const _0x2c2fd5=this[_0x1ec7e6(_0x13bf0f._0x2dedd9,0x720,0x85b,_0x13bf0f._0x5178d9)](_0x1ec3b3)+'.yaml',_0x4e0a96=_0x2d1e6c['join'](this[_0x1ec7e6(_0x13bf0f._0x354d76,_0x13bf0f._0x55634e,_0x13bf0f._0x3b8244,_0x13bf0f._0x5dc5af)],_0x2c2fd5);function _0x1ec7e6(_0x85e634,_0x19c6a9,_0x369ba6,_0xfc56a9){return _0x3a64dd(_0x85e634-_0x58dcea._0x2dd339,_0x19c6a9,_0x369ba6-0x140,_0xfc56a9-0xcc);}try{_0x953045['existsSync'](_0x4e0a96)&&_0x953045['unlinkSync'](_0x4e0a96);}catch(_0x45b7a2){throw new Error(_0x1ec7e6(0xb04,_0x13bf0f._0x179ddb,_0x13bf0f._0xdabf6f,_0x13bf0f._0x154aa4)+_0x1ec3b3+':\x20'+(_0x45b7a2 instanceof Error?_0x45b7a2[_0x3f26aa(0x2ed,0x374,_0x13bf0f._0x402ceb,_0x13bf0f._0x3e2f8a)]:String(_0x45b7a2)));}}[_0x3a64dd(0x538,0x676,0x75c,0x583)](_0x26329a){const _0x23b9a7={_0x3bf759:0x65e,_0x33d95c:0x441,_0x51e2c9:0x329,_0x493a03:0x165,_0x231ab8:0x548,_0x5280e5:0x4eb,_0x40e315:0x7f0},_0x5ef89c={_0x50b3b2:0xbd,_0x3b0435:0xbe},_0x4c2dfb={_0x274e0e:0x186},_0x5b2a40=this[_0x290ee8(0x4a4,_0x23b9a7._0x3bf759,0x4a7,0x4c4)](_0x26329a)+_0x290ee8(0x2e8,_0x23b9a7._0x33d95c,0x525,_0x23b9a7._0x51e2c9),_0x253d6f=_0x2d1e6c[_0x290ee8(0x179,0x311,0xe2,_0x23b9a7._0x493a03)](this[_0x290ee8(0x4bd,_0x23b9a7._0x231ab8,0x5ec,_0x23b9a7._0x5280e5)],_0x5b2a40);function _0xddaffd(_0x2de94d,_0x1fde34,_0x5330c9,_0x510bf6){return _0x55e1bc(_0x510bf6,_0x1fde34-_0x4c2dfb._0x274e0e,_0x5330c9-0xd3,_0x1fde34- -0x789);}function _0x290ee8(_0x109d7b,_0x374072,_0x3ce6bd,_0x13a1e2){return _0x3a64dd(_0x109d7b-0x124,_0x13a1e2,_0x374072- -_0x5ef89c._0x50b3b2,_0x13a1e2-_0x5ef89c._0x3b0435);}return _0x953045[_0x290ee8(_0x23b9a7._0x40e315,0x658,0x460,0x827)](_0x253d6f);}['sanitizeFilename'](_0x4cf8fd){const _0x558f63={_0x16e513:0x2c8,_0x42a281:0x11c,_0x518de5:0x236,_0x4580d8:0x84,_0x1727b2:0x105,_0x451197:0x137,_0x219433:0x140},_0x4245da={_0x6af320:0x653,_0x16f2b3:0x184},_0x1513ce={_0x2a565b:0x13};function _0x2b933c(_0x33e743,_0x2433b7,_0x112834,_0x5e3880){return _0x55e1bc(_0x33e743,_0x2433b7-_0x1513ce._0x2a565b,_0x112834-0x16d,_0x2433b7- -0x686);}function _0x6e99bb(_0x4a9b10,_0x738a9e,_0x2e5556,_0x9b3919){return _0x3a64dd(_0x4a9b10-0x56,_0x2e5556,_0x4a9b10- -_0x4245da._0x6af320,_0x9b3919-_0x4245da._0x16f2b3);}return _0x4cf8fd[_0x2b933c(_0x558f63._0x16e513,0xeb,0x2e6,-_0x558f63._0x42a281)]()[_0x6e99bb(-0x20e,-0x32,-0x2a2,-_0x558f63._0x518de5)](/[^a-z0-9-]/g,'-')[_0x2b933c(-_0x558f63._0x4580d8,-_0x558f63._0x1727b2,-0x243,-_0x558f63._0x451197)](/-+/g,'-')[_0x6e99bb(-0x20e,-_0x558f63._0x219433,-0x365,0x1f)](/^-|-$/g,'');}[_0x55e1bc(0x9b1,0x862,0x74f,0x84a)](){const _0x2f8224={_0x4c8ef5:0x1be,_0x3165ec:0x9c,_0xb2948a:0x223},_0x402f24={_0x4fc4c7:0x76};function _0x25c19c(_0x45aaff,_0x232b5d,_0x5a0b57,_0x43196a){return _0x3a64dd(_0x45aaff-_0x402f24._0x4fc4c7,_0x232b5d,_0x5a0b57- -0x569,_0x43196a-0x1e4);}return this[_0x25c19c(0x51,_0x2f8224._0x4c8ef5,_0x2f8224._0x3165ec,_0x2f8224._0xb2948a)];}};import*as _0x5c1ad5 from'fs';import*as _0xe3a5b9 from'path';import{parse as _0xc54b81,stringify as _0x3775a6}from'yaml';function isValidCommandId(_0xfd521f){const _0x5af1a1={_0x3ca169:0x8fe};function _0x7757f5(_0x5c274d,_0x363ee8,_0x4ccd1e,_0x4cc64e){return _0x3a64dd(_0x5c274d-0xa0,_0x4cc64e,_0x5c274d-0x15e,_0x4cc64e-0x1df);}return/^[a-z][a-z0-9-]*$/[_0x7757f5(0x869,_0x5af1a1._0x3ca169,0x68a,0x9ec)](_0xfd521f);}function sanitizeCommandId(_0x3104b5){const _0x539b7c={_0x1b8c44:0x764,_0x1b473c:0x6a0,_0x1f2b94:0x44e,_0x3bbe94:0x515,_0xbf77ad:0x5c1,_0x3cac59:0x410},_0x146c7b={_0x3116cc:0xb5},_0x47c04a={_0x4f95bb:0x1b5,_0x566839:0x2e};function _0x3b6e83(_0x2de254,_0x25c229,_0x182b70,_0x2988b8){return _0x55e1bc(_0x2988b8,_0x25c229-_0x47c04a._0x4f95bb,_0x182b70-_0x47c04a._0x566839,_0x182b70- -0xd1);}function _0x32f002(_0xfe54d5,_0x3efc3a,_0x3bd8e4,_0x4a2721){return _0x55e1bc(_0xfe54d5,_0x3efc3a-_0x146c7b._0x3116cc,_0x3bd8e4-0x18e,_0x4a2721- -0x6c);}return _0x3104b5[_0x3b6e83(0x810,_0x539b7c._0x1b8c44,_0x539b7c._0x1b473c,0x76c)]()[_0x3b6e83(0x5be,0x68e,0x4b0,0x64f)](/[^a-z0-9-]/g,'-')[_0x32f002(_0x539b7c._0x1f2b94,0x5d2,0x72b,_0x539b7c._0x3bbe94)](/-+/g,'-')[_0x3b6e83(0x369,_0x539b7c._0xbf77ad,0x4b0,_0x539b7c._0x3cac59)](/^-|-$/g,'');}var CommandFilePersistence=class{['globalDir'];['profileDir'];[_0x3a64dd(0x53d,0x43f,0x4f1,0x6fb)];constructor(_0x5da041){const _0x2a7ef5={_0x8d533a:0x826,_0x46a420:0x762,_0x65b120:0x6df,_0x448c61:0x59d,_0x5b862b:0x685,_0x31028a:0x491,_0x127966:0x135},_0x140872={_0x2ebc57:0x10e,_0x41b72a:0x2b4},_0x3d4de9={_0x5a7270:0x76,_0x1611c4:0x1d2};function _0x64f295(_0xdaa0dc,_0x2d0805,_0x3e0c4e,_0x1e6a49){return _0x55e1bc(_0x1e6a49,_0x2d0805-_0x3d4de9._0x5a7270,_0x3e0c4e-_0x3d4de9._0x1611c4,_0x2d0805- -0xd7);}this[_0x214880(_0x2a7ef5._0x8d533a,0x825,0x5f1,0x7fb)]=_0x5da041[_0x64f295(_0x2a7ef5._0x46a420,0x7ce,_0x2a7ef5._0x65b120,_0x2a7ef5._0x448c61)];function _0x214880(_0x441844,_0x1903bb,_0x27b56e,_0x30abf2){return _0x55e1bc(_0x441844,_0x1903bb-0x177,_0x27b56e-_0x140872._0x2ebc57,_0x27b56e- -_0x140872._0x41b72a);}this[_0x64f295(0x46c,0x661,0x86e,_0x2a7ef5._0x5b862b)]=_0x5da041[_0x64f295(0x43d,0x661,_0x2a7ef5._0x31028a,0x5a9)],this['localDir']=_0x5da041[_0x214880(_0x2a7ef5._0x127966,0x252,0x379,0x33c)];}[_0x55e1bc(0x6d1,0x6b4,0x729,0x570)](_0x79d39a){const _0x487eb3={_0x5d3e08:0x8c0,_0xc56836:0x518,_0x11416b:0x869},_0x5d9a92={_0x2fb41b:0x87};function _0x4244f3(_0x112493,_0x5e398d,_0x462f15,_0x32b14a){return _0x55e1bc(_0x32b14a,_0x5e398d-_0x5d9a92._0x2fb41b,_0x462f15-0x1b6,_0x112493- -0x39);}this[_0x4244f3(0x6ff,_0x487eb3._0x5d3e08,_0x487eb3._0xc56836,_0x487eb3._0x11416b)]=_0x79d39a;}[_0x55e1bc(0x628,0x45d,0x47a,0x687)](_0x5d9451){const _0x4ea9ed={_0xd9d181:0xb2,_0x2db66b:0x19a,_0x5cfd71:0xea,_0x472fd5:0x473,_0x3b4dc6:0x1d0,_0x239ded:0x414,_0x10f8fa:0x8f,_0x3d3009:0x1c3,_0x349170:0x19b,_0x3524e0:0x6f,_0x58df81:0xf0,_0xbe87ec:0x2e0,_0x3865d5:0x19e,_0x84c453:0x9d},_0x37866e={_0x1a507f:0xad},_0x1dcaba={_0x3de39e:0x129,_0x48672d:0x191,_0x38fa5d:0x63a};function _0x3d59c0(_0x4fcb8a,_0x473c69,_0x5ac4c2,_0xe1dc6e){return _0x55e1bc(_0x5ac4c2,_0x473c69-_0x1dcaba._0x3de39e,_0x5ac4c2-_0x1dcaba._0x48672d,_0x4fcb8a- -_0x1dcaba._0x38fa5d);}function _0x23b88f(_0xab91f9,_0x66e86b,_0x88f04c,_0x15f145){return _0x55e1bc(_0x88f04c,_0x66e86b-0x154,_0x88f04c-_0x37866e._0x1a507f,_0x66e86b- -0x5b6);}switch(_0x5d9451){case _0x23b88f(0x20f,_0x4ea9ed._0xd9d181,-_0x4ea9ed._0x2db66b,-_0x4ea9ed._0x5cfd71):return this[_0x23b88f(_0x4ea9ed._0x472fd5,0x2ef,0x4fc,0x27d)];case _0x3d59c0(_0x4ea9ed._0x3b4dc6,-0x36,-0x16,_0x4ea9ed._0x239ded):if(!this[_0x23b88f(0x27c,0x182,-_0x4ea9ed._0x10f8fa,0x2e8)])throw new Error(_0x23b88f(_0x4ea9ed._0x3d3009,0x313,0x3a5,_0x4ea9ed._0x349170));return this[_0x3d59c0(0xfe,0x18c,_0x4ea9ed._0x3524e0,0x1b2)];case _0x3d59c0(-_0x4ea9ed._0x58df81,-_0x4ea9ed._0xbe87ec,-_0x4ea9ed._0x3865d5,-_0x4ea9ed._0x84c453):return this[_0x3d59c0(-0xd,0x15f,-_0x4ea9ed._0x84c453,-0x23)];}}[_0x3a64dd(0x442,0x23a,0x3c0,0x58b)](_0x36639b){const _0x2cf5ea={_0x44d73d:0x3aa,_0x3e1719:0x377,_0x3573f9:0x2dd,_0x202ebb:0x6ef,_0x131111:0x7f8},_0x549cad={_0x1423a8:0x117,_0x4c2b6d:0x19e};function _0x176917(_0x4c505b,_0x523527,_0x3c0cc4,_0x593aeb){return _0x3a64dd(_0x4c505b-_0x549cad._0x1423a8,_0x4c505b,_0x3c0cc4- -0x3e,_0x593aeb-_0x549cad._0x4c2b6d);}function _0x5f2e22(_0x49cf7a,_0x1e2576,_0x46dfcd,_0x1af857){return _0x55e1bc(_0x1e2576,_0x1e2576-0x133,_0x46dfcd-0x81,_0x1af857- -0x574);}!_0x5c1ad5[_0x5f2e22(_0x2cf5ea._0x44d73d,_0x2cf5ea._0x3e1719,0x317,_0x2cf5ea._0x3573f9)](_0x36639b)&&_0x5c1ad5[_0x176917(0x523,0x896,_0x2cf5ea._0x202ebb,_0x2cf5ea._0x131111)](_0x36639b,{'recursive':!![]});}async[_0x55e1bc(0x4c8,0x576,0x389,0x57b)](){const _0x409a2e={_0x24ef01:0x58,_0x250a1d:0x24f,_0x522823:0x33a,_0x39e44a:0x69a,_0x345134:0x602,_0x9719f5:0x3f0,_0x59e975:0x43d,_0xa38ad6:0x598,_0xd25460:0x51e,_0x5ef549:0x2f7,_0x554116:0x398,_0x101eba:0x5ab,_0x26d3bf:0x4a4,_0x250bed:0x3b9,_0x7212b4:0x387,_0x165fc3:0x1fb,_0x4e357d:0x31b},_0x39ca36={_0x45973f:0x63,_0x12e250:0x2ec},_0x417f22={_0x1a17e9:0xaa,_0x4b4ba3:0x1df},_0x5127a6=[],_0x32cda1=['global',_0x45ab97(0x25e,0x491,_0x409a2e._0x24ef01,_0x409a2e._0x250a1d)];function _0xac7a9a(_0x2a678c,_0x4cd217,_0x15f71e,_0x30e226){return _0x3a64dd(_0x2a678c-_0x417f22._0x1a17e9,_0x30e226,_0x4cd217- -_0x417f22._0x4b4ba3,_0x30e226-0x1b5);}this[_0x45ab97(0x44c,_0x409a2e._0x522823,_0x409a2e._0x39e44a,_0x409a2e._0x345134)]&&_0x32cda1[_0xac7a9a(0x364,_0x409a2e._0x9719f5,_0x409a2e._0x59e975,_0x409a2e._0xa38ad6)](0x1,0x0,_0x45ab97(_0x409a2e._0xd25460,_0x409a2e._0x5ef549,_0x409a2e._0x554116,_0x409a2e._0x101eba));function _0x45ab97(_0x4c9347,_0x1507d6,_0x5a968f,_0x3a89d2){return _0x55e1bc(_0x5a968f,_0x1507d6-_0x39ca36._0x45973f,_0x5a968f-0x24,_0x4c9347- -_0x39ca36._0x12e250);}for(const _0x3c6fe0 of _0x32cda1){try{const _0x2d1bdc=this[_0x45ab97(0x39b,0x37f,_0x409a2e._0x26d3bf,0x354)](_0x3c6fe0),_0x22a6b0=await this[_0xac7a9a(0x39d,_0x409a2e._0x250bed,0x454,0x579)](_0x2d1bdc,_0x3c6fe0);_0x5127a6[_0xac7a9a(_0x409a2e._0x7212b4,_0x409a2e._0x165fc3,0x440,_0x409a2e._0x4e357d)](..._0x22a6b0);}catch{}}return _0x5127a6;}async[_0x3a64dd(0x7cb,0x509,0x598,0x454)](_0x106e79,_0xeb8111){const _0x4de4e4={_0x59de60:0x46f,_0x544d71:0x33e,_0x443a63:0x6c9,_0x30aaee:0x67b,_0x58fd9c:0x687,_0x39f1d4:0x813,_0x5d5c4b:0x78e,_0x43b718:0x562,_0x3f0175:0x5e},_0x18bf27={_0x4fc7dc:0x103,_0x1584f4:0x14a,_0x1b99df:0x4f3},_0x132adb={_0x54b77f:0x7e,_0x3d8c6e:0x163,_0x4896e2:0x99},_0x40581f=[];if(!_0x5c1ad5[_0x211beb(0x2a1,_0x4de4e4._0x59de60,_0x4de4e4._0x544d71,0x35e)](_0x106e79))return _0x40581f;const _0x545b20=_0x5c1ad5['readdirSync'](_0x106e79);function _0x37cae2(_0x11d44e,_0x47ed2c,_0x32145d,_0x5edce8){return _0x55e1bc(_0x5edce8,_0x47ed2c-_0x132adb._0x54b77f,_0x32145d-_0x132adb._0x3d8c6e,_0x11d44e- -_0x132adb._0x4896e2);}const _0x50e3e6=_0x545b20[_0x37cae2(_0x4de4e4._0x443a63,_0x4de4e4._0x30aaee,0x4ad,0x4bf)](_0x140010=>_0x140010[_0x37cae2(0x80f,0x768,0x9ef,0x642)](_0x211beb(0x237,0x6,-0xb2,-0x6)));for(const _0x2d2078 of _0x50e3e6){try{const _0x5dc42c=await this[_0x37cae2(_0x4de4e4._0x58fd9c,_0x4de4e4._0x39f1d4,0x7e4,_0x4de4e4._0x5d5c4b)](_0x2d2078,_0xeb8111);_0x5dc42c&&_0x40581f['push'](_0x5dc42c);}catch(_0x226ddc){console[_0x37cae2(0x622,0x665,_0x4de4e4._0x43b718,0x410)](_0x211beb(-0xc,_0x4de4e4._0x3f0175,0xc4,-0x7a)+_0x2d2078+':',_0x226ddc);}}function _0x211beb(_0x1e0054,_0x4926bc,_0x4b25e9,_0x35376c){return _0x55e1bc(_0x4b25e9,_0x4926bc-_0x18bf27._0x4fc7dc,_0x4b25e9-_0x18bf27._0x1584f4,_0x35376c- -_0x18bf27._0x1b99df);}return _0x40581f;}async[_0x3a64dd(0x558,0x48a,0x5e4,0x3e0)](_0x164ed0,_0x5f0893){const _0x5a2ede={_0x587fc5:0x1d1,_0x38f32c:0x1e,_0xea9cd4:0xfd,_0x31fc9f:0x222,_0x519386:0x54,_0x360104:0x89,_0x5ddc89:0x3c,_0x25a650:0x20b,_0x422662:0x2ea,_0x313ea9:0x205,_0x23aad4:0x3,_0x2add0a:0x149,_0x224cb7:0xdb,_0x3ec90e:0x91,_0x137db1:0x19a,_0x209122:0x2e8,_0x1c9c46:0x289,_0x1bcd73:0xa0,_0x4981e1:0x95,_0x483880:0x68},_0x4efaa4={_0x34de3f:0xcf};function _0x1e6e30(_0xfafbf2,_0x474606,_0xc05a65,_0x21a877){return _0x55e1bc(_0xc05a65,_0x474606-0x16e,_0xc05a65-_0x4efaa4._0x34de3f,_0x474606- -0x593);}function _0x178622(_0x575b33,_0x86b33d,_0xacd8a1,_0x4bc526){return _0x3a64dd(_0x575b33-0x1c5,_0x86b33d,_0xacd8a1- -0x37a,_0x4bc526-0x23);}try{const _0x5492f1=this[_0x178622(0x330,0x2cb,_0x5a2ede._0x587fc5,_0x5a2ede._0x38f32c)](_0x5f0893),_0x15ed41=_0xe3a5b9[_0x178622(_0x5a2ede._0xea9cd4,_0x5a2ede._0x31fc9f,_0x5a2ede._0x519386,_0x5a2ede._0x360104)](_0x5492f1,_0x164ed0),_0x1660f0=_0x5c1ad5['readFileSync'](_0x15ed41,_0x1e6e30(-0x160,_0x5a2ede._0x5ddc89,_0x5a2ede._0x25a650,0xab)),{frontmatter:_0x3fbb38,body:_0x405fd4}=this['parseFrontmatter'](_0x1660f0);if(!_0x3fbb38['description'])return console[_0x178622(0x23a,_0x5a2ede._0x422662,_0x5a2ede._0x313ea9,0x439)](_0x178622(0x7c,_0x5a2ede._0x23aad4,_0x5a2ede._0x2add0a,0xa3)+_0x164ed0+_0x1e6e30(0x78,_0x5a2ede._0x224cb7,-_0x5a2ede._0x3ec90e,_0x5a2ede._0x137db1)),null;const _0x492bd0=_0xe3a5b9[_0x178622(0x536,0x40a,_0x5a2ede._0x209122,0x417)](_0x164ed0,'.md');return{'id':_0x492bd0,'description':_0x3fbb38['description'],'prompt':_0x405fd4[_0x1e6e30(0x2ea,_0x5a2ede._0x1c9c46,_0x5a2ede._0x1bcd73,0x2be)](),'enabled':_0x3fbb38[_0x178622(-_0x5a2ede._0x4981e1,0xad,_0x5a2ede._0x483880,-0x6b)]??!![],'source':_0x5f0893,'filePath':_0x15ed41};}catch(_0x8edc13){return console['warn']('Failed\x20to\x20load\x20command\x20from\x20'+_0x164ed0+':',_0x8edc13),null;}}async[_0x55e1bc(0x916,0x79f,0x5a5,0x797)](_0xbf116c){const _0x4dc38d={_0x433668:0x1b2,_0x3c3c0f:0x283,_0x30c72c:0x2b2,_0x369f4e:0x118,_0xf13182:0x174,_0x2163ae:0xe1,_0x7c9814:0x2b4,_0x2f96b5:0x361,_0x55fbcd:0x12d,_0x49d262:0x11a,_0x28ec0c:0x70,_0x42a8a6:0x2cb,_0x1f295f:0x1ba,_0x3320ef:0x24e,_0x4210fd:0x1cb},_0x395cae={_0x551376:0x1cd,_0x3e4f17:0x1c9},_0x20fc2c=this[_0x3e8dbd(_0x4dc38d._0x433668,_0x4dc38d._0x3c3c0f,0x2cd,0x471)](_0xbf116c[_0x3e8dbd(0x25f,_0x4dc38d._0x30c72c,0x412,0x33a)]);this[_0x3e8dbd(-_0x4dc38d._0x369f4e,0xf8,_0x4dc38d._0xf13182,0x24e)](_0x20fc2c);const _0x123a68=sanitizeCommandId(_0xbf116c['id']),_0xde6104=_0x123a68+_0x3e8dbd(-_0x4dc38d._0x2163ae,0xe9,0x4b,_0x4dc38d._0x7c9814);function _0x3e8dbd(_0x16db90,_0x4805c8,_0xd572b,_0x1e0d2c){return _0x3a64dd(_0x16db90-0x35,_0x1e0d2c,_0x4805c8- -0x2c8,_0x1e0d2c-0x1ec);}const _0x591518=_0xe3a5b9['join'](_0x20fc2c,_0xde6104),_0x199992={'description':_0xbf116c[_0x3e8dbd(0x31f,_0x4dc38d._0x2f96b5,0x3cd,0x40a)]};function _0x41fc7f(_0x4a8282,_0x3f83dc,_0x4df181,_0x6fb1c){return _0x3a64dd(_0x4a8282-_0x395cae._0x551376,_0x4df181,_0x3f83dc- -0x544,_0x6fb1c-_0x395cae._0x3e4f17);}_0xbf116c[_0x3e8dbd(-_0x4dc38d._0x55fbcd,_0x4dc38d._0x49d262,-0x17,0x210)]===![]&&(_0x199992[_0x41fc7f(-_0x4dc38d._0x28ec0c,-0x162,0x36,0x47)]=![]);const _0x7ebafe=this['buildMarkdown'](_0x199992,_0xbf116c[_0x3e8dbd(0x2d3,_0x4dc38d._0x42a8a6,_0x4dc38d._0x1f295f,0x2f7)]);_0x5c1ad5['writeFileSync'](_0x591518,_0x7ebafe,_0x3e8dbd(_0x4dc38d._0x3320ef,_0x4dc38d._0x4210fd,0x1f1,0x1e9));}async[_0x3a64dd(0x64b,0x702,0x773,0x8fe)](_0x4222ca,_0x5f43d2){const _0x40f5e7={_0x4c7500:0x12f,_0x632aae:0x7a,_0x7284a:0x158,_0x52fa7b:0x2e4,_0x36f71c:0x20e,_0x56b49c:0x320,_0x2876ee:0xc4,_0x25b0d0:0x416},_0x17aca5={_0x4a5b00:0x192,_0x435238:0x54},_0x23adb6={_0x326096:0x123,_0x5e3652:0x473};function _0x263b51(_0x4b7d99,_0x5bd00d,_0x4e5658,_0x498f0c){return _0x55e1bc(_0x5bd00d,_0x5bd00d-_0x23adb6._0x326096,_0x4e5658-0x159,_0x498f0c- -_0x23adb6._0x5e3652);}function _0x524ed4(_0x1db423,_0xd44bec,_0xaed237,_0x4381ac){return _0x55e1bc(_0xd44bec,_0xd44bec-_0x17aca5._0x4a5b00,_0xaed237-_0x17aca5._0x435238,_0x1db423- -0x662);}const _0x36212e=this['getDir'](_0x5f43d2),_0xb25dc4=sanitizeCommandId(_0x4222ca)+_0x263b51(-_0x40f5e7._0x4c7500,-0xd4,0x7,_0x40f5e7._0x632aae),_0x3d4555=_0xe3a5b9[_0x524ed4(-_0x40f5e7._0x7284a,-0xb4,0x8,-_0x40f5e7._0x52fa7b)](_0x36212e,_0xb25dc4);_0x5c1ad5['existsSync'](_0x3d4555)&&_0x5c1ad5[_0x524ed4(-_0x40f5e7._0x36f71c,-_0x40f5e7._0x56b49c,-_0x40f5e7._0x2876ee,-_0x40f5e7._0x25b0d0)](_0x3d4555);}[_0x3a64dd(0x6ef,0x66e,0x75c,0x91f)](_0x362da6,_0x1fbf8e){const _0x5dcf1d={_0x533d35:0x18f,_0x5a61da:0x181,_0x3c6b4b:0x12d,_0x3a7527:0xc5,_0x17c069:0x22b,_0xc108f6:0x8b5},_0x2e1827={_0x3a7fe5:0x15,_0x2718a0:0xa1},_0x5ed670={_0x3a3a1b:0x567};function _0x2efda1(_0x4013e2,_0x4aa5bb,_0x398c6b,_0x10c327){return _0x3a64dd(_0x4013e2-0x14a,_0x10c327,_0x398c6b- -_0x5ed670._0x3a3a1b,_0x10c327-0xa9);}function _0xc2a4eb(_0x148abc,_0x56cd4f,_0x562451,_0x33acde){return _0x3a64dd(_0x148abc-0xb,_0x33acde,_0x56cd4f- -_0x2e1827._0x3a7fe5,_0x33acde-_0x2e1827._0x2718a0);}try{const _0x58dd12=this[_0x2efda1(-0x4,-_0x5dcf1d._0x533d35,-0x1c,-_0x5dcf1d._0x5a61da)](_0x1fbf8e),_0x335776=sanitizeCommandId(_0x362da6)+_0x2efda1(-_0x5dcf1d._0x3c6b4b,0xa,-0x1b6,-_0x5dcf1d._0x3a7527),_0x2ff785=_0xe3a5b9[_0xc2a4eb(_0x5dcf1d._0x17c069,0x3b9,0x330,0x52b)](_0x58dd12,_0x335776);return _0x5c1ad5[_0xc2a4eb(0x90c,0x700,_0x5dcf1d._0xc108f6,0x743)](_0x2ff785);}catch{return![];}}['parseFrontmatter'](_0x48b254){const _0x4d2b61={_0x4fbe47:0x20a},_0x1c3b5e={_0x140521:0x10f,_0x2789fa:0x42b},_0x46f01b=/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/,_0x4793e5=_0x48b254[_0x550c0e(_0x4d2b61._0x4fbe47,0x82,0x37e,0x250)](_0x46f01b);function _0x550c0e(_0x4ddce3,_0x459654,_0x27b219,_0x16e850){return _0x55e1bc(_0x459654,_0x459654-0x19a,_0x27b219-_0x1c3b5e._0x140521,_0x16e850- -_0x1c3b5e._0x2789fa);}if(!_0x4793e5)return{'frontmatter':{},'body':_0x48b254};try{const _0x48ab06=_0xc54b81(_0x4793e5[0x1]||'');return{'frontmatter':_0x48ab06||{},'body':_0x4793e5[0x2]||''};}catch{return{'frontmatter':{},'body':_0x48b254};}}[_0x55e1bc(0x259,0x6ce,0x6d8,0x491)](_0x44b180,_0x1d4ef7){const _0x21f70e={_0x4d9344:0x1cf,_0x208a57:0x591,_0x1b8b6b:0x322,_0x4a3892:0x506},_0x541b9e={_0x293aaa:0x150,_0x4c6f1c:0x1d2},_0x7dc27d={_0x5e6238:0xe4},_0x3c3b5b=_0x3775a6(_0x44b180,{'lineWidth':0x0})['trim']();function _0x2891d2(_0xad1610,_0x47fed0,_0x3c7178,_0x5df5a0){return _0x3a64dd(_0xad1610-0x133,_0x3c7178,_0x5df5a0-0xf2,_0x5df5a0-_0x7dc27d._0x5e6238);}function _0x51c1be(_0x5cbb8c,_0x2bca8b,_0x2f7b23,_0x51eb27){return _0x3a64dd(_0x5cbb8c-_0x541b9e._0x293aaa,_0x5cbb8c,_0x51eb27- -0x4ed,_0x51eb27-_0x541b9e._0x4c6f1c);}return _0x51c1be(-0x16,0x141,_0x21f70e._0x4d9344,-0x66)+_0x3c3b5b+_0x2891d2(_0x21f70e._0x208a57,_0x21f70e._0x1b8b6b,0x2fd,_0x21f70e._0x4a3892)+_0x1d4ef7+'\x0a';}};function parseSubAgentToolCallArguments(_0x110b72){const _0x583172={_0x4e20ca:0x375},_0x58cb5e={_0x3901a5:0x1a2,_0x39d9e3:0x695};if(!_0x110b72)return{};function _0x43568b(_0x4ef8a3,_0x3d3284,_0x4fd917,_0x43fbb7){return _0x55e1bc(_0x3d3284,_0x3d3284-0x21,_0x4fd917-_0x58cb5e._0x3901a5,_0x43fbb7- -_0x58cb5e._0x39d9e3);}try{return JSON[_0x43568b(-0xa5,-_0x583172._0x4e20ca,-0x302,-0x21f)](_0x110b72);}catch{return{};}}var NetworkLogger=class{constructor(_0x554bb9={}){const _0x51e82f={_0x4fcbd8:0xa9c,_0x55f011:0x85b},_0x538adc={_0x58c243:0x16a};function _0xb4cc9c(_0x470086,_0x1668b3,_0x5ec3bc,_0x5189d1){return _0x3a64dd(_0x470086-0x2f,_0x1668b3,_0x5ec3bc-_0x538adc._0x58c243,_0x5189d1-0x190);}this[_0xb4cc9c(_0x51e82f._0x4fcbd8,0x6e6,_0x51e82f._0x55f011,0x6ca)]=_0x554bb9;}['generateRequestId'](){const _0x299b5d={_0x4a4dff:0x7e,_0x2c132f:0xaa,_0xd0727e:0x197,_0x3993a2:0xfc,_0x4a2774:0x2d3,_0x35b021:0x63,_0xe037a4:0x55,_0x31475c:0x143,_0x1a2fd2:0x21},_0x361d3f={_0x3f039f:0x33},_0x50d716={_0x5765f3:0x39,_0x5db47e:0x4e};function _0x467b7e(_0x1fcb43,_0x558869,_0x149318,_0x4fa7c8){return _0x55e1bc(_0x558869,_0x558869-_0x50d716._0x5765f3,_0x149318-_0x50d716._0x5db47e,_0x1fcb43- -0x577);}function _0x449b06(_0x1281a2,_0x13a7a3,_0x5512d4,_0x47ea4d){return _0x55e1bc(_0x5512d4,_0x13a7a3-0x123,_0x5512d4-0x4d,_0x13a7a3- -_0x361d3f._0x3f039f);}return _0x467b7e(-_0x299b5d._0x4a4dff,_0x299b5d._0x2c132f,-0x23d,_0x299b5d._0xd0727e)+Date['now']()+'_'+Math['random']()[_0x467b7e(-0xf3,_0x299b5d._0x3993a2,-_0x299b5d._0x4a2774,_0x299b5d._0x35b021)](0x24)[_0x467b7e(_0x299b5d._0xe037a4,_0x299b5d._0x31475c,0x1ad,_0x299b5d._0x1a2fd2)](0x2,0x9);}async[_0x3a64dd(0x891,0x8fc,0x6f0,0x7fc)](_0x22a85a){const _0x33b0f8={_0x2c1996:0xf6,_0x3a8273:0x16c,_0x48d2f4:0x114,_0x683add:0xc3,_0x2e8ce0:0xbd,_0x47d7ee:0x1d5,_0x5bf83a:0x211,_0x4c15dd:0x1c1,_0x1833d2:0x2f,_0x12a1cd:0x210,_0x11a00c:0x17f,_0x4dbf50:0x400,_0x413de3:0x1c3,_0x2e684c:0x4b6,_0x2d4fee:0x204,_0x2dfd78:0x289,_0x2fa8a5:0x98,_0xd3559c:0xe1,_0x213889:0x23a,_0x1ae928:0x86,_0x22b3c3:0x439,_0x45d224:0x385,_0x50e735:0x388,_0x18362c:0x176},_0x275d32={_0x4510e1:0x2c},_0x5e5cb3={_0x205cd4:0xd,_0x4c6eb4:0x1b7};function _0x4afcd0(_0x2949c6,_0x4f5414,_0x187445,_0x2224bc){return _0x55e1bc(_0x187445,_0x4f5414-_0x5e5cb3._0x205cd4,_0x187445-_0x5e5cb3._0x4c6eb4,_0x2224bc- -0x4a5);}function _0x10674d(_0x2284b9,_0x407d21,_0x5979ca,_0x55d304){return _0x3a64dd(_0x2284b9-_0x275d32._0x4510e1,_0x5979ca,_0x2284b9- -0x62e,_0x55d304-0xe);}if(!this['opts']['persistFile'])return;try{const _0x4fac3f=await import(_0x10674d(-0x80,_0x33b0f8._0x2c1996,-0x1ea,-0x25a)),_0x3e90c4=await import(_0x10674d(_0x33b0f8._0x3a8273,0x118,_0x33b0f8._0x48d2f4,-0xe4)),_0x2555c9=this[_0x10674d(_0x33b0f8._0x683add,0x2af,0x14,_0x33b0f8._0x2e8ce0)][_0x4afcd0(0x25e,0x343,0x2b4,_0x33b0f8._0x47d7ee)],_0x25babc=_0x3e90c4[_0x10674d(-_0x33b0f8._0x5bf83a,-_0x33b0f8._0x4c15dd,-_0x33b0f8._0x1833d2,-0x293)](_0x2555c9);if(_0x25babc&&_0x25babc!=='.')try{await _0x4fac3f[_0x4afcd0(0x197,0x17d,0xeb,_0x33b0f8._0x12a1cd)](_0x25babc,{'recursive':!![]});}catch{}const _0x4782bb=this[_0x10674d(-0x14d,-_0x33b0f8._0x11a00c,-0x161,0x3e)](_0x22a85a);await _0x4fac3f[_0x4afcd0(_0x33b0f8._0x4dbf50,0x1ec,_0x33b0f8._0x413de3,0x23a)](_0x2555c9,_0x4782bb+'\x0a','utf-8');if(this[_0x4afcd0(_0x33b0f8._0x2e684c,_0x33b0f8._0x2d4fee,0x182,0x388)][_0x4afcd0(0x186,_0x33b0f8._0x2dfd78,-0xa1,_0x33b0f8._0x2fa8a5)]){const _0x4d9826=await _0x4fac3f[_0x10674d(-0xe9,_0x33b0f8._0xd3559c,-0xa1,-_0x33b0f8._0x213889)](_0x2555c9);_0x4d9826[_0x10674d(0x165,_0x33b0f8._0x1ae928,0xd,0x2fc)]>this[_0x10674d(_0x33b0f8._0x683add,0x308,-0xfb,-0xcf)][_0x10674d(-0x22d,-_0x33b0f8._0x22b3c3,-0x11e,-0x1b7)]&&await this[_0x4afcd0(0x659,_0x33b0f8._0x45d224,0x3bc,0x444)](_0x2555c9);}}catch(_0x2a7956){this[_0x4afcd0(0x3a4,0x597,0x186,_0x33b0f8._0x50e735)][_0x4afcd0(0x2ac,_0x33b0f8._0x18362c,0x225,0x207)]&&console['warn']('Failed\x20to\x20write\x20to\x20log\x20file:',_0x2a7956);}}[_0x3a64dd(0x6e3,0x627,0x4e1,0x69d)](_0x403e99){const _0x4ace87={_0x4b00d1:0x718,_0x6cbadc:0x354,_0x1b6234:0x352,_0x18233d:0x238,_0xb30baa:0x568,_0x13e6af:0x628,_0x6b135e:0x651,_0x48cac3:0x869,_0x5717ab:0x75f},_0x2467b3={_0x2ce70d:0xd3,_0x127f71:0x152};function _0x1b17ab(_0x23e212,_0x2aeb4a,_0x1bf51a,_0x4ff87d){return _0x3a64dd(_0x23e212-_0x2467b3._0x2ce70d,_0x23e212,_0x4ff87d- -0x3d,_0x4ff87d-_0x2467b3._0x127f71);}function _0x2bbca9(_0x25fe94,_0x39b637,_0x263db6,_0x510430){return _0x55e1bc(_0x510430,_0x39b637-0x199,_0x263db6-0x8f,_0x263db6- -0x3fe);}if(this[_0x1b17ab(0x644,_0x4ace87._0x4b00d1,0x487,0x6b4)]['logFormat']===_0x2bbca9(0x5a2,_0x4ace87._0x6cbadc,_0x4ace87._0x1b6234,_0x4ace87._0x18233d)){const {timestamp:_0x9d84bf,method:_0x1250cd,url:_0x5c01da,responseStatus:_0x1d9ee0,duration:_0x391427,stream:_0xc96adc}=_0x403e99;return'['+_0x9d84bf+']\x20'+_0x1250cd+'\x20'+_0x5c01da+'\x20'+_0x1d9ee0+'\x20'+(_0x391427||'?')+_0x1b17ab(0x855,0x5d3,_0x4ace87._0xb30baa,_0x4ace87._0x13e6af)+(_0xc96adc?_0x1b17ab(0x4df,0x718,_0x4ace87._0x6b135e,0x57d):'');}return JSON[_0x1b17ab(0x82e,_0x4ace87._0x48cac3,_0x4ace87._0x5717ab,0x72e)](_0x403e99);}async[_0x3a64dd(0x728,0x66c,0x7ad,0x619)](_0x243576){const _0xe2f3ed={_0xfe202e:0x100,_0xd6189c:0x1aa,_0x374158:0x16d,_0x3c5b3f:0xe6,_0x5b2607:0x83},_0x34bca5={_0x5deaba:0xae},_0x18b96c={_0x301851:0x122,_0x5423f7:0x621};function _0xd13a3(_0x5bf64a,_0x318148,_0x4ccae2,_0x3cb03e){return _0x3a64dd(_0x5bf64a-_0x18b96c._0x301851,_0x318148,_0x3cb03e- -_0x18b96c._0x5423f7,_0x3cb03e-0x1c6);}function _0x9e6ee0(_0x418faa,_0x42899f,_0x512607,_0x4e5327){return _0x55e1bc(_0x512607,_0x42899f-_0x34bca5._0x5deaba,_0x512607-0x172,_0x4e5327-0x32);}try{const _0x1a7d38=await import(_0xd13a3(_0xe2f3ed._0xfe202e,-0x3,-_0xe2f3ed._0xd6189c,-0x73)),_0x15004f=_0x243576+'.'+Date[_0xd13a3(_0xe2f3ed._0x374158,0xc8,0x2af,_0xe2f3ed._0x3c5b3f)]();await _0x1a7d38[_0xd13a3(-0x1aa,-_0xe2f3ed._0x5b2607,-0x44c,-0x2c7)](_0x243576,_0x15004f);}catch{}}['logToConsole'](_0x5e3d3e){const _0x5b4907={_0x43e5bf:0xc3,_0x4cf539:0x2fe,_0x2ee4d4:0x17d,_0x3261db:0x2f,_0xaf7ac1:0x47,_0x22c883:0x128,_0xcd71c8:0x519,_0x3dc131:0x809,_0x50a8e7:0x5e4,_0x39555b:0x52d,_0x94eae:0x5e4,_0x259fff:0x58d},_0x3d8a34={_0x38b310:0x1d6};if(!this[_0x160b93(_0x5b4907._0x43e5bf,_0x5b4907._0x4cf539,0x440,0x293)][_0x160b93(0x10f,_0x5b4907._0x2ee4d4,-0xc6,_0x5b4907._0x3261db)])return;function _0x160b93(_0x1fafcf,_0x2262a0,_0x610539,_0xc4383b){return _0x3a64dd(_0x1fafcf-_0x3d8a34._0x38b310,_0x1fafcf,_0x2262a0- -0x3f3,_0xc4383b-0xbb);}const {method:_0x2e61ff,url:_0x3a7b1f,responseStatus:_0x7e7bbe,duration:_0x54775f,stream:_0x52344e}=_0x5e3d3e;function _0x5489fa(_0x50b765,_0x5b890c,_0x311a25,_0x468bdd){return _0x3a64dd(_0x50b765-0xc6,_0x311a25,_0x468bdd-0xe,_0x468bdd-0x1f2);}const _0x2ef1c0=_0x2e61ff+'\x20'+_0x3a7b1f+'\x20'+_0x7e7bbe+'\x20'+(_0x54775f||'?')+'ms'+(_0x52344e?_0x160b93(0x107,-_0x5b4907._0xaf7ac1,-0xea,_0x5b4907._0x22c883):'');if(_0x5e3d3e[_0x5489fa(_0x5b4907._0xcd71c8,_0x5b4907._0x3dc131,0x4cc,_0x5b4907._0x50a8e7)])console[_0x160b93(0x173,0x1e3,0xfb,0x376)](_0x2ef1c0,_0x5e3d3e[_0x5489fa(_0x5b4907._0x39555b,0x396,0x7ed,_0x5b4907._0x94eae)]);else _0x7e7bbe>=0x190?console[_0x5489fa(0x54b,0x661,0x473,_0x5b4907._0x259fff)](_0x2ef1c0):console['info'](_0x2ef1c0);}async[_0x3a64dd(0x44f,0x2a6,0x475,0x37a)](_0x315bc3){const _0x1ccc66={_0x19e771:0x193,_0x48fbab:0xd4},_0x542426={'id':this['generateRequestId'](),'timestamp':new Date()['toISOString'](),..._0x315bc3};this[_0x4e75bd(0x1d1,0x301,0x46,0x3d8)](_0x542426);function _0x4e75bd(_0x4e9fae,_0x3676d4,_0x25c495,_0x4f5519){return _0x3a64dd(_0x4e9fae-_0x1ccc66._0x19e771,_0x25c495,_0x4e9fae- -0x151,_0x4f5519-_0x1ccc66._0x48fbab);}await this['appendToLogFile'](_0x542426);}['createStreamTapper'](_0x3cc3f6,_0x192553){const _0x3e6098={_0x544751:0x4d7,_0x41f77a:0x965,_0x58e2b1:0x734},_0xf77991={_0x592293:0x11f},_0x10107b={_0x14d694:0x14a,_0x4f1dd4:0x13a};if(!_0x3cc3f6[_0x254ee7(0x6d7,0x8d8,_0x3e6098._0x544751,0x846)]||!this[_0x48aa1a(0x802,0x797,0x5d9,0x774)]['captureResponseBody'])return _0x3cc3f6;const _0xb49bac=_0x3cc3f6['body']['getReader'](),_0x3f8fa5=this['parseSSEStreamWithLogging'](_0xb49bac,_0x192553);function _0x254ee7(_0x370596,_0x33614a,_0x484196,_0x5b420d){return _0x55e1bc(_0x484196,_0x33614a-_0x10107b._0x14d694,_0x484196-_0x10107b._0x4f1dd4,_0x370596- -0x114);}function _0x48aa1a(_0x58de6c,_0x44ecd2,_0x368447,_0x375dc0){return _0x55e1bc(_0x58de6c,_0x44ecd2-0x146,_0x368447-_0xf77991._0x592293,_0x44ecd2- -0x96);}return new Response(_0x3f8fa5,{'status':_0x3cc3f6['status'],'statusText':_0x3cc3f6[_0x254ee7(0x481,0x661,0x6a6,0x243)],'headers':_0x3cc3f6[_0x48aa1a(_0x3e6098._0x41f77a,_0x3e6098._0x58e2b1,0x5ab,0x51e)]});}['parseSSEStreamWithLogging'](_0x1be9cf,_0x572a76){const _0x499c7a={_0x19fa68:0x251,_0x57179c:0x457,_0x58bfc4:0x258,_0x2d9e7d:0x94,_0x13a80f:0x1e6,_0x326225:0x1a4,_0x296d6c:0x6ee,_0x49647a:0x6ef,_0x44af07:0x567,_0x2c7040:0x479,_0x46756d:0x2e5,_0x2f3832:0x810,_0x1205ad:0x485,_0x45ec03:0x601,_0x312211:0x35a,_0x2e51d0:0x2d4,_0x2dd9d7:0x479,_0x511ca2:0x2d6,_0xca6bfb:0x3e4,_0x5e757d:0x667,_0x1c82bf:0x48e,_0x415a37:0x479,_0x435b9d:0x3c9,_0x32e0f5:0x607,_0x4d0324:0x2e6,_0x1802ed:0x496,_0x18e917:0x4fd,_0x1c04eb:0x2ee,_0x35d7dd:0x400,_0x9d9f13:0x36b,_0x37e981:0x50a,_0x4b6f8f:0x369,_0xf75c4c:0x56e,_0x1c6252:0x59b,_0x4f1ab1:0x33b,_0x3a051a:0x14a,_0x237404:0x49f,_0x7f4942:0x330},_0x211df9=[];let _0x315c5b='';const _0x20c113=this;return new ReadableStream({async 'start'(_0x2de204){function _0x2328b8(_0x1e0e12,_0x3471a4,_0xa280c6,_0x574e86){return _0xb207(_0x3471a4-0x20b,_0x574e86);}function _0x35f20d(_0x32ca26,_0x577248,_0x17fbec,_0x134870){return _0xb207(_0x577248-0x8e,_0x134870);}try{while(!![]){const {done:_0x170a9b,value:_0x19a933}=await _0x1be9cf[_0x2328b8(0x51d,0x532,0x6c7,0x46e)]();if(_0x170a9b)break;_0x2de204[_0x35f20d(_0x499c7a._0x19fa68,_0x499c7a._0x57179c,0x3d1,_0x499c7a._0x58bfc4)](_0x19a933);const _0xfb763f=new TextDecoder()[_0x35f20d(0x193,0x27b,_0x499c7a._0x2d9e7d,0xe3)](_0x19a933);_0x315c5b+=_0xfb763f;const _0x40764b=_0x315c5b[_0x35f20d(_0x499c7a._0x13a80f,0x272,_0x499c7a._0x326225,0x3f4)]('\x0a');_0x315c5b=_0x40764b['pop']()||'';let _0xea96b4={};for(const _0x5f1275 of _0x40764b){if(_0x5f1275[_0x2328b8(0x845,0x678,_0x499c7a._0x296d6c,_0x499c7a._0x49647a)]()==='')_0xea96b4['data']!==void 0x0&&_0x211df9[_0x35f20d(0xae,0x1f5,0x15a,0x15a)]({'timestamp':new Date()['toISOString'](),..._0xea96b4}),_0xea96b4={};else{if(_0x5f1275[_0x35f20d(_0x499c7a._0x44af07,_0x499c7a._0x2c7040,_0x499c7a._0x46756d,0x421)](_0x2328b8(_0x499c7a._0x2f3832,0x69e,0x456,0x86a))){const _0x2f735d=_0x5f1275[_0x35f20d(0x55d,_0x499c7a._0x1205ad,0x6bc,_0x499c7a._0x45ec03)](0x6);_0xea96b4['data']=_0xea96b4[_0x2328b8(0x287,_0x499c7a._0x312211,0x45a,0x464)]?_0xea96b4['data']+'\x0a'+_0x2f735d:_0x2f735d;}else{if(_0x5f1275[_0x35f20d(_0x499c7a._0x2e51d0,_0x499c7a._0x2dd9d7,0x5b3,_0x499c7a._0x511ca2)]('event:\x20'))_0xea96b4['event']=_0x5f1275[_0x35f20d(0x2b4,0x485,_0x499c7a._0xca6bfb,_0x499c7a._0x5e757d)](0x7);else{if(_0x5f1275[_0x35f20d(_0x499c7a._0x1c82bf,_0x499c7a._0x415a37,0x4bf,0x517)]('id:\x20'))_0xea96b4['id']=_0x5f1275[_0x2328b8(0x5c8,0x602,0x792,0x4aa)](0x4);else _0x5f1275[_0x2328b8(0x465,0x5f6,_0x499c7a._0x435b9d,_0x499c7a._0x32e0f5)](_0x2328b8(0x3c2,_0x499c7a._0x4d0324,_0x499c7a._0x1802ed,0xf8))&&(_0xea96b4['retry']=parseInt(_0x5f1275[_0x35f20d(0x60f,0x485,_0x499c7a._0x18e917,_0x499c7a._0x1c04eb)](0x7),0xa));}}}}}_0x211df9[_0x35f20d(_0x499c7a._0x35d7dd,_0x499c7a._0x9d9f13,_0x499c7a._0x37e981,0x513)]>0x0&&await _0x20c113[_0x2328b8(0x1eb,0x40d,0x433,0x395)]({..._0x572a76,'sseEvents':_0x211df9});}catch(_0x59982c){_0x2de204[_0x2328b8(_0x499c7a._0x4b6f8f,_0x499c7a._0xf75c4c,_0x499c7a._0x1c6252,0x43d)](_0x59982c);}finally{_0x2de204[_0x35f20d(_0x499c7a._0x4f1ab1,_0x499c7a._0x3a051a,0xc,0x2f2)](),_0x1be9cf[_0x35f20d(_0x499c7a._0x237404,0x484,_0x499c7a._0x7f4942,0x584)]();}}});}},FetchTransport=class{constructor(_0x359ffd={}){const _0x211707={_0x1eb649:0x576,_0x5925a0:0x6cf},_0x5cdf89={_0x3d994:0x48,_0x4aa3bc:0x1d4};this[_0x22dbde(0x7af,_0x211707._0x1eb649,0x738,_0x211707._0x5925a0)]=_0x359ffd;function _0x22dbde(_0x576586,_0xb5345c,_0x455a8b,_0xd10175){return _0x55e1bc(_0xd10175,_0xb5345c-_0x5cdf89._0x3d994,_0x455a8b-_0x5cdf89._0x4aa3bc,_0xb5345c- -0x2b7);}this['logger']=new NetworkLogger(this['opts']);}[_0x55e1bc(0x527,0x7a3,0x607,0x5f3)];[_0x3a64dd(0x6b7,0x521,0x49a,0x68f)](_0x51009c){const _0x9664ff={_0x300e31:0x88b,_0x200e90:0x915,_0x3eaccd:0xa36},_0x565bcc={_0x131e84:0x6a,_0x48fe6b:0x35},_0x467af5=_0x51009c[_0x4c1010(0x86e,_0x9664ff._0x300e31,_0x9664ff._0x200e90,_0x9664ff._0x3eaccd)]('content-length');function _0x4c1010(_0x18dae3,_0x355887,_0x56fd9c,_0x1d7470){return _0x55e1bc(_0x355887,_0x355887-_0x565bcc._0x131e84,_0x56fd9c-0xbc,_0x18dae3- -_0x565bcc._0x48fe6b);}return _0x467af5?parseInt(_0x467af5,0xa):0x0;}[_0x55e1bc(0x7fa,0x8cc,0x8d2,0x6b3)](_0x522b33){const _0x314c06={_0x42dc61:0x7d,_0x1bb817:0xb,_0x516759:0x159},_0x49ca09={_0x165c69:0x1cf},_0x31f832={};_0x522b33[_0x4099e0(_0x314c06._0x42dc61,-_0x314c06._0x1bb817,0x36,-_0x314c06._0x516759)]((_0xac93c5,_0xa091fc)=>{_0x31f832[_0xa091fc]=_0xac93c5;});function _0x4099e0(_0x54c68a,_0x330b5b,_0x1f325f,_0x57422c){return _0x55e1bc(_0x54c68a,_0x330b5b-0x5a,_0x1f325f-_0x49ca09._0x165c69,_0x330b5b- -0x6b8);}return _0x31f832;}async[_0x3a64dd(0x314,0x542,0x407,0x33b)](_0x186c0c,_0x1203db,_0x57f4ed,_0x548052){const _0x11f8b8={_0x1b7ab5:0x338,_0x4cd039:0x224,_0x8bb466:0x3c2,_0x14c901:0x2e8,_0xf80f99:0xc3,_0x3a6058:0x329,_0x208589:0x583,_0x1b8952:0x4e8,_0x5f11de:0x362},_0x2dd700={_0x268ae6:0x1b3,_0x37f0cd:0x4f},_0x1d56fd={_0x3c90c1:0x83};function _0x475cbb(_0x1a0662,_0x26eefc,_0x5d9fac,_0x4a13f5){return _0x55e1bc(_0x26eefc,_0x26eefc-_0x1d56fd._0x3c90c1,_0x5d9fac-0x1bc,_0x1a0662- -0x555);}if(typeof fetch!==_0x475cbb(_0x11f8b8._0x1b7ab5,_0x11f8b8._0x4cd039,_0x11f8b8._0x8bb466,0x559))throw new Error('Global\x20fetch\x20is\x20not\x20available.\x20Use\x20Node\x2018+\x20or\x20a\x20compatible\x20runtime.');function _0x15c237(_0x326213,_0x1b5fca,_0x441ed4,_0x12b754){return _0x55e1bc(_0x441ed4,_0x1b5fca-_0x2dd700._0x268ae6,_0x441ed4-_0x2dd700._0x37f0cd,_0x12b754- -0x545);}return fetch(_0x186c0c,{'method':'POST','headers':{'Content-Type':_0x15c237(0x2d3,0x3b,_0x11f8b8._0x14c901,_0x11f8b8._0xf80f99),..._0x57f4ed||{}},'body':JSON[_0x15c237(_0x11f8b8._0x3a6058,_0x11f8b8._0x208589,_0x11f8b8._0x1b8952,_0x11f8b8._0x5f11de)](_0x1203db??{}),'signal':_0x548052});}async[_0x3a64dd(0x84b,0x6ee,0x767,0x56a)](_0x3ce2ea,_0x5ded0c,_0x2b4194){const _0x5ce33b={_0x2989b5:0x738,_0x189a3a:0x121,_0x49a5e6:0x9b,_0x53ca17:0x23e,_0x2850dc:0x2de,_0x3ca9af:0x412,_0x448802:0x1e,_0x1f491d:0x21d,_0xc92572:0x83,_0x223b3a:0x163,_0x4f6294:0x2f2,_0x5160e1:0x5,_0x5a8c97:0x53,_0x1259b3:0x1cd,_0xc21969:0x447,_0x3c7ac1:0x250,_0x5e7ead:0x2a4,_0x1f6685:0x5fd,_0x538d83:0x54,_0x70729e:0x58,_0x42b448:0x29f,_0x54c74b:0x62,_0x88e472:0x2a3,_0x59b7fd:0x491,_0x29e976:0x2b1,_0x5de8a5:0x3b0,_0x7b1050:0x670,_0x33e1ae:0x3cd,_0x54989b:0x45c,_0x245054:0x1b0,_0x527a5c:0x58f,_0x381f61:0x5dc,_0x1932f2:0x6cb,_0x25ddd1:0x5cc},_0x442025={_0x360b2c:0x605},_0x486baa={_0x4d7fcb:0xd7,_0x2d3fbd:0x10d};if(typeof fetch!==_0x2f95bc(0x288,0x128,0x4b,0xed))throw new Error('Global\x20fetch\x20is\x20not\x20available.\x20Use\x20Node\x2018+\x20or\x20a\x20compatible\x20runtime.');function _0xf974f(_0x27ad81,_0x23f05d,_0x8b2eb1,_0x11b77a){return _0x55e1bc(_0x27ad81,_0x23f05d-_0x486baa._0x4d7fcb,_0x8b2eb1-_0x486baa._0x2d3fbd,_0x8b2eb1- -0x226);}function _0x2f95bc(_0x46d760,_0x55fd91,_0x27593a,_0x3ecda5){return _0x55e1bc(_0x55fd91,_0x55fd91-0xeb,_0x27593a-0x92,_0x46d760- -_0x442025._0x360b2c);}const _0x5cd3e2=performance[_0xf974f(0x843,_0x5ce33b._0x2989b5,0x61d,0x55a)]();try{const _0x15e542=await fetch(_0x3ce2ea,{'method':_0x2f95bc(_0x5ce33b._0x189a3a,0x1c7,_0x5ce33b._0x49a5e6,-0x5b),'headers':{..._0x5ded0c||{}},'signal':_0x2b4194}),_0x543b9f=performance[_0x2f95bc(_0x5ce33b._0x53ca17,_0x5ce33b._0x2850dc,_0x5ce33b._0x3ca9af,_0x5ce33b._0x448802)]()-_0x5cd3e2;try{const _0x3d4561=_0x15e542[_0x2f95bc(_0x5ce33b._0x1f491d,_0x5ce33b._0xc92572,_0x5ce33b._0x223b3a,_0x5ce33b._0x4f6294)](),_0x194c7b=await _0x3d4561[_0x2f95bc(_0x5ce33b._0x5160e1,0x1cf,-_0x5ce33b._0x5a8c97,-0x214)]();let _0x5c18a2;try{_0x5c18a2=JSON[_0xf974f(_0x5ce33b._0x1259b3,_0x5ce33b._0xc21969,_0x5ce33b._0x3c7ac1,_0x5ce33b._0x5e7ead)](_0x194c7b);}catch{_0x5c18a2=_0x194c7b;}const _0x829acb=performance[_0xf974f(_0x5ce33b._0x1f6685,0x6a2,0x61d,0x3f7)]()-_0x5cd3e2;await this['logger'][_0x2f95bc(-_0x5ce33b._0x538d83,_0x5ce33b._0x70729e,-_0x5ce33b._0x42b448,0x99)]({'url':_0x3ce2ea,'method':'GET','headers':{..._0x5ded0c||{}},'responseStatus':_0x15e542[_0xf974f(0x487,0x75d,0x55c,0x59f)],'responseHeaders':this[_0x2f95bc(0xae,-_0x5ce33b._0x54c74b,0xde,_0x5ce33b._0x88e472)](_0x15e542[_0x2f95bc(0x1c5,0x21a,0x302,0x258)]),'ok':_0x15e542['ok'],'stream':![],'startTime':_0x5cd3e2,'duration':_0x829acb,'ttfb':_0x543b9f,'requestSize':0x0,'responseSize':this[_0xf974f(_0x5ce33b._0x59b7fd,_0x5ce33b._0x29e976,_0x5ce33b._0x5de8a5,0x4d3)](_0x15e542['headers']),'response':_0x5c18a2});}catch{}return _0x15e542;}catch(_0x3b9f88){const _0x152fbf=performance[_0xf974f(0x42e,_0x5ce33b._0x7b1050,0x61d,0x5f6)]()-_0x5cd3e2;await this[_0xf974f(0x2ca,0x401,_0x5ce33b._0x33e1ae,_0x5ce33b._0x54989b)][_0x2f95bc(-0x54,_0x5ce33b._0x245054,-0x195,0x1c2)]({'url':_0x3ce2ea,'method':_0xf974f(0x3cd,0x71e,0x500,_0x5ce33b._0x527a5c),'headers':{..._0x5ded0c||{}},'responseStatus':0x0,'ok':![],'stream':![],'startTime':_0x5cd3e2,'duration':_0x152fbf,'requestSize':0x0,'error':_0x3b9f88 instanceof Error?_0x3b9f88[_0xf974f(_0x5ce33b._0x381f61,0x74f,_0x5ce33b._0x1932f2,_0x5ce33b._0x25ddd1)]:String(_0x3b9f88)});throw _0x3b9f88;}}};import*as _0x43d0b2 from'crypto';var isVisionMessage=_0x1085e4=>{const _0xf03efa={_0x11c572:0x4a3,_0x404b10:0x602,_0x3646b0:0x266,_0x97d1e0:0x2bd,_0xfb14e0:0x233},_0x3c5e8d={_0x2941e1:0x36},_0x17a4d4={_0x13c496:0xd4,_0x4e39c6:0x1b0};function _0x5b3e06(_0x5852d7,_0x14dd04,_0x162323,_0x5601d3){return _0x3a64dd(_0x5852d7-0x1ee,_0x5852d7,_0x14dd04-_0x17a4d4._0x13c496,_0x5601d3-_0x17a4d4._0x4e39c6);}if(!_0x1085e4)return![];const _0x418692=_0x1085e4[_0x5b3e06(_0xf03efa._0x11c572,_0xf03efa._0x404b10,0x63e,0x7e4)];if(!_0x418692)return![];function _0xef9e08(_0x246edc,_0x14388a,_0x3c9716,_0x107a72){return _0x3a64dd(_0x246edc-0x1ad,_0x246edc,_0x14388a- -0x1b6,_0x107a72-_0x3c5e8d._0x2941e1);}if(Array['isArray'](_0x418692))return _0x418692[_0xef9e08(0x329,_0xf03efa._0x3646b0,_0xf03efa._0x97d1e0,_0xf03efa._0xfb14e0)](_0x4691c8=>typeof _0x4691c8==='object'&&_0x4691c8?.[_0x5b3e06(0x747,0x698,0x632,0x589)]==='image_url');return![];},GithubAuthTransport=class{[_0x3a64dd(0x32f,0x6aa,0x527,0x36e)];['accessToken'];['dynamicApiUrl'];[_0x3a64dd(0x5fe,0x5b7,0x533,0x4f9)];[_0x3a64dd(0x4d4,0x207,0x37c,0x496)];constructor(_0xde7908,_0xabe50a){const _0x15cbf3={_0x30af7b:0x577,_0x354a6c:0x46a,_0x5ef766:0x4e6,_0x3d3e5f:0x469},_0x1d5f3f={_0x311563:0xbd,_0x3ab2c1:0x1ad};function _0x2c8ebe(_0x2558d8,_0x8d7f75,_0x2ccfae,_0x57ffd3){return _0x3a64dd(_0x2558d8-0x73,_0x2558d8,_0x57ffd3- -_0x1d5f3f._0x311563,_0x57ffd3-_0x1d5f3f._0x3ab2c1);}this['inner']=_0xde7908,this[_0x2c8ebe(0x230,0x627,_0x15cbf3._0x30af7b,_0x15cbf3._0x354a6c)]=_0xabe50a['apiKey'];function _0x5ff254(_0x18682d,_0xeb1301,_0xb1d700,_0x328e35){return _0x3a64dd(_0x18682d-0x1c5,_0x328e35,_0xeb1301- -0x166,_0x328e35-0x1b0);}this['accessToken']=_0xabe50a[_0x2c8ebe(0x580,0x5bf,_0x15cbf3._0x5ef766,0x414)],this['baseUrl']=_0xabe50a['baseUrl']??_0x2c8ebe(0x2c7,0x6b5,0x410,_0x15cbf3._0x3d3e5f);}async[_0x55e1bc(0x80d,0x420,0x471,0x64e)](_0x34e63c){const _0x581367={_0x33efef:0x573,_0x303271:0x486,_0x465ab6:0x69e,_0x45ee63:0x46e,_0x4198c4:0x658,_0x9d2f6:0x753,_0x277385:0x926,_0x5f3be9:0x765,_0x2a6877:0xd5,_0x2f4b5b:0x175,_0x376f37:0x625,_0x166f2e:0x483,_0x369d9d:0x27,_0x21842c:0x3a6,_0x2210ef:0x418,_0x4d0875:0x2a5,_0x38189f:0x7a0,_0x1bd939:0x480,_0x54ae30:0x65d,_0x21c7f3:0x58b,_0x2d1f2d:0x485,_0x49689f:0x394,_0xb8edc:0x173,_0x56ff27:0x34c,_0x5a579b:0x151,_0x18e553:0x1b,_0x4d2369:0x49a,_0x1ec0e2:0x6b2,_0x569b3b:0x2ba,_0x9c3abc:0x539,_0x223675:0x6d9,_0x22f019:0x3cb,_0x303946:0x3d5},_0x47de69={_0x1e7ef3:0x65};if(!this[_0x215451(0x485,_0x581367._0x33efef,0x6c1,0x429)])return;function _0x2c2b72(_0x38531c,_0x506dc2,_0x3f3356,_0x5ae8c0){return _0x3a64dd(_0x38531c-0xa8,_0x5ae8c0,_0x38531c- -0x2cb,_0x5ae8c0-0xc5);}if(typeof fetch!==_0x2c2b72(_0x581367._0x303271,_0x581367._0x465ab6,0x3d1,0x2c0))throw new Error(_0x215451(_0x581367._0x45ee63,_0x581367._0x4198c4,0x37a,0x25e));function _0x215451(_0x111fce,_0x4fb32b,_0x25fd7f,_0x3e171e){return _0x55e1bc(_0x4fb32b,_0x4fb32b-_0x47de69._0x1e7ef3,_0x25fd7f-0xc8,_0x111fce- -0x188);}const _0x51d693=await fetch(_0x215451(_0x581367._0x9d2f6,_0x581367._0x277385,0x781,_0x581367._0x5f3be9),{'method':_0x2c2b72(0x31f,_0x581367._0x2a6877,0x54e,_0x581367._0x2f4b5b),'headers':{'Authorization':_0x215451(0x632,_0x581367._0x376f37,0x631,_0x581367._0x166f2e)+this[_0x2c2b72(0x206,-0x21,_0x581367._0x369d9d,0x250)],'user-agent':_0x215451(_0x581367._0x21842c,_0x581367._0x2210ef,0x307,_0x581367._0x4d0875),'editor-version':'vscode/1.106.1','x-github-api-version':_0x215451(0x750,0x671,_0x581367._0x38189f,0x5de),'accept':_0x215451(_0x581367._0x1bd939,0x2ff,_0x581367._0x54ae30,_0x581367._0x21c7f3)},'signal':_0x34e63c});if(!_0x51d693['ok']){this['apiKey']=this[_0x215451(_0x581367._0x2d1f2d,0x4e7,0x6b3,0x4fb)];return;}const _0x1d83c0=await _0x51d693[_0x2c2b72(_0x581367._0x49689f,_0x581367._0xb8edc,_0x581367._0x56ff27,0x477)]();this['apiKey']=_0x1d83c0?.[_0x2c2b72(0x26a,_0x581367._0x5a579b,0x4f,0x1a6)]||this[_0x2c2b72(0x206,0x1a5,-_0x581367._0x18e553,0x7)],_0x1d83c0?.[_0x215451(_0x581367._0x4d2369,_0x581367._0x1ec0e2,_0x581367._0x569b3b,_0x581367._0x9c3abc)]?.['api']&&(this[_0x215451(0x4bc,0x615,_0x581367._0x223675,_0x581367._0x22f019)]=_0x1d83c0[_0x215451(0x49a,0x613,_0x581367._0x303946,0x6d1)]['api']);}[_0x3a64dd(0x616,0x58c,0x608,0x7bb)](_0xb75063){const _0x2909d8={_0x3b5995:0x208,_0x2abcf8:0x2a6,_0xa0ebfd:0x205,_0x2763af:0x2aa,_0x45f88b:0xe2,_0x1532fc:0x11e,_0xe97304:0x1f9,_0x3cb38c:0x1ec},_0x42f4a9={_0x123c8f:0x10e,_0xa9f99d:0x459},_0x5a32e9={_0x1d98f7:0x4d6};function _0x4ac556(_0x1f866a,_0x495247,_0x2868b8,_0x3ad9a0){return _0x3a64dd(_0x1f866a-0x172,_0x2868b8,_0x1f866a- -_0x5a32e9._0x1d98f7,_0x3ad9a0-0x1a6);}if(_0xb75063[_0x3a464f(_0x2909d8._0x3b5995,_0x2909d8._0x2abcf8,_0x2909d8._0xa0ebfd,_0x2909d8._0x2763af)]('/')){const _0x25e0c3=this[_0x3a464f(-0xc5,-0x12f,0xaf,-_0x2909d8._0x45f88b)]??this[_0x4ac556(0x5d,-_0x2909d8._0x1532fc,_0x2909d8._0xe97304,_0x2909d8._0x3cb38c)];return''+_0x25e0c3+_0xb75063;}function _0x3a464f(_0x4549ec,_0x38c57c,_0x3cb06d,_0xef932e){return _0x3a64dd(_0x4549ec-_0x42f4a9._0x123c8f,_0x38c57c,_0x3cb06d- -_0x42f4a9._0xa9f99d,_0xef932e-0x1a2);}return _0xb75063;}['hasVisionPayload'](_0x1cad72){const _0x41de3f={_0x59b0b5:0x838,_0x2e5702:0x68d,_0x1ffb3c:0x642,_0x9fb4ab:0x558},_0x42363e={_0x3957b1:0x13c,_0x2db862:0x79},_0x783686={_0xd8a994:0x93,_0x202e7f:0x591,_0x2aa648:0x19b};function _0x42ab8b(_0x2f0421,_0x4ca0ba,_0x10a8d0,_0x5a4956){return _0x3a64dd(_0x2f0421-_0x783686._0xd8a994,_0x5a4956,_0x4ca0ba- -_0x783686._0x202e7f,_0x5a4956-_0x783686._0x2aa648);}if(!_0x1cad72||typeof _0x1cad72!=='object')return![];function _0x59d00f(_0x359e59,_0x383595,_0x130159,_0x67b5fc){return _0x3a64dd(_0x359e59-0x1b3,_0x359e59,_0x130159-_0x42363e._0x3957b1,_0x67b5fc-_0x42363e._0x2db862);}if(!('messages'in _0x1cad72))return![];const _0x2202a7=_0x1cad72;if(!Array[_0x59d00f(0xa71,0x9c6,_0x41de3f._0x59b0b5,0x76d)](_0x2202a7['messages']))return![];return _0x2202a7['messages'][_0x59d00f(_0x41de3f._0x2e5702,_0x41de3f._0x1ffb3c,_0x41de3f._0x9fb4ab,0x3c6)](_0x59490e=>isVisionMessage(_0x59490e));}[_0x55e1bc(0x985,0x805,0x741,0x8e4)](_0x256ff5,_0x50d6fd){const _0x41b47c={_0x5ca903:0x1a3,_0x352ba5:0x123,_0x394397:0xec,_0x23c0a6:0x2a6,_0x1299fc:0x2a5,_0x4702da:0x35f,_0x1caf85:0x33c,_0x448783:0x588,_0x231d30:0x25d,_0x47e3dd:0x1f7,_0xb09faa:0x1f1,_0x2539cb:0x3f4,_0x599622:0x27d,_0xde657f:0x228,_0x3defa4:0x1aa,_0xc91e89:0x3d3,_0xdcc90b:0x532,_0x34b2db:0x4ae,_0x495c2e:0x423,_0x725f72:0x350,_0x5ddf4b:0x4f1,_0x4d79e9:0x3c0,_0x14cb7e:0x521,_0x502a19:0x4c3,_0x2cb251:0x3fa,_0x3b3585:0x3d,_0x2f619a:0x115,_0x18da73:0x152,_0xedddba:0x249,_0x1d23ad:0x26c,_0x2a3821:0x295},_0x39fefa={_0x568f8d:0xe5},_0x46d231={_0x1a6ac6:0x185,_0x282b85:0x384},_0x2f6588=_0x256ff5?{..._0x256ff5}:{};if(this[_0xd58037(_0x41b47c._0x5ca903,_0x41b47c._0x352ba5,_0x41b47c._0x394397,0x277)])_0x2f6588['Authorization']=_0x457b05(0x445,_0x41b47c._0x23c0a6,_0x41b47c._0x1299fc,_0x41b47c._0x4702da)+this['apiKey'];_0x2f6588[_0x457b05(_0x41b47c._0x1caf85,_0x41b47c._0x448783,_0x41b47c._0x231d30,_0x41b47c._0x47e3dd)]=_0x2f6588[_0xd58037(_0x41b47c._0xb09faa,0x3c4,_0x41b47c._0x2539cb,_0x41b47c._0x599622)]||'vscode/1.104.2',_0x2f6588[_0x457b05(_0x41b47c._0xde657f,0x1b5,_0x41b47c._0x3defa4,0x1ca)]=_0x2f6588[_0x457b05(0x228,0x43e,0x245,_0x41b47c._0xc91e89)]||'copilot-chat/0.31.3';function _0xd58037(_0x5dfabe,_0x231ead,_0x4734f9,_0x374654){return _0x3a64dd(_0x5dfabe-_0x46d231._0x1a6ac6,_0x4734f9,_0x5dfabe- -_0x46d231._0x282b85,_0x374654-0x1f4);}const _0x21d0d5=this[_0xd58037(0x339,0x541,_0x41b47c._0xdcc90b,_0x41b47c._0x34b2db)](_0x50d6fd);_0x2f6588[_0xd58037(0x234,_0x41b47c._0x495c2e,0x47b,0x13e)]=_0x21d0d5,_0x2f6588['X-Request-Id']=this[_0x457b05(_0x41b47c._0x725f72,0x36f,_0x41b47c._0x5ddf4b,0x311)]();function _0x457b05(_0x3d90b5,_0xaf03c,_0x2d0c28,_0x22f676){return _0x3a64dd(_0x3d90b5-0x8f,_0x22f676,_0x3d90b5- -0x239,_0x22f676-_0x39fefa._0x568f8d);}return this[_0x457b05(_0x41b47c._0x4d79e9,_0x41b47c._0x14cb7e,_0x41b47c._0x502a19,_0x41b47c._0x2cb251)](_0x50d6fd)&&(_0x2f6588[_0xd58037(-_0x41b47c._0x3b3585,-0x26c,-_0x41b47c._0x2f619a,-_0x41b47c._0x18da73)]=_0x457b05(_0x41b47c._0xedddba,_0x41b47c._0x1d23ad,_0x41b47c._0x2a3821,_0x41b47c._0x1d23ad)),_0x2f6588;}['determineInitiator'](_0x236d04){const _0x551173={_0x565f37:0x57e,_0x169277:0x489,_0x235d22:0x7d5,_0x2d17e0:0x5b0,_0x5d73f9:0x6ae,_0x7d6878:0x7bb,_0x280ce6:0x976,_0x348b7e:0x6b8,_0xc7a15f:0x9ef,_0x4b6832:0x8fd,_0x12e922:0x828,_0x4f91d6:0x416,_0x3e8e64:0x320,_0x4fcdda:0x6e6},_0x58956b={_0x57e0b7:0x7d};function _0x180048(_0x1a0380,_0x308147,_0x3ff7a1,_0x377014){return _0x55e1bc(_0x1a0380,_0x308147-0x14b,_0x3ff7a1-0xc8,_0x3ff7a1- -_0x58956b._0x57e0b7);}function _0x5314e1(_0x20a0ec,_0x588170,_0x397616,_0x7dbdfc){return _0x3a64dd(_0x20a0ec-0xfc,_0x397616,_0x7dbdfc- -0x1df,_0x7dbdfc-0x84);}if(_0x236d04&&typeof _0x236d04===_0x180048(0x684,0x60c,_0x551173._0x565f37,_0x551173._0x169277)&&_0x5314e1(0x7c3,0x758,_0x551173._0x235d22,_0x551173._0x2d17e0)in _0x236d04){const _0x372648=_0x236d04;if(Array[_0x180048(0x85c,_0x551173._0x5d73f9,_0x551173._0x7d6878,_0x551173._0x280ce6)](_0x372648['messages'])&&_0x372648[_0x5314e1(0x700,_0x551173._0x348b7e,0x773,0x5b0)]['length']>0x0){const _0x123aaf=_0x372648[_0x180048(0x965,_0x551173._0xc7a15f,0x84e,0x7b5)][_0x372648[_0x180048(_0x551173._0x4b6832,0x70f,0x84e,_0x551173._0x12e922)]['length']-0x1];return _0x123aaf?.[_0x5314e1(0x538,0x521,0x3f0,0x5c3)]===_0x5314e1(0x5d4,0x623,0x291,_0x551173._0x4f91d6)?_0x5314e1(0x4cd,0x52a,_0x551173._0x3e8e64,0x416):'agent';}}return _0x180048(0x877,0x771,_0x551173._0x4fcdda,0x8be);}[_0x3a64dd(0x5b3,0x68d,0x589,0x4f1)](){const _0x47b585={_0x3e871a:0x6bd,_0x3cf4d7:0x4b7,_0x24a970:0x62b,_0x44d3ce:0x50b},_0x56cc47={_0x1218b2:0x131},_0x1256da={_0x3f997c:0xb8};if(_0x43d0b2?.[_0x25de92(_0x47b585._0x3e871a,_0x47b585._0x3cf4d7,_0x47b585._0x24a970,0x498)])return _0x43d0b2['randomUUID']();function _0x25de92(_0x29052a,_0x29707d,_0x3af48a,_0x4edc28){return _0x55e1bc(_0x29052a,_0x29707d-0x148,_0x3af48a-_0x1256da._0x3f997c,_0x4edc28- -0x4e);}function _0x248877(_0x27c98a,_0x35d3c6,_0x8eb1bc,_0x3ad68e){return _0x55e1bc(_0x8eb1bc,_0x35d3c6-_0x56cc47._0x1218b2,_0x8eb1bc-0xb5,_0x27c98a- -0x465);}return _0x25de92(0x5e3,0x548,_0x47b585._0x44d3ce,0x597)['replace'](/[xy]/g,_0x32a606=>{const _0x48a53d=Math['random']()*0x10|0x0,_0x2581da=_0x32a606==='x'?_0x48a53d:_0x48a53d&0x3|0x8;return _0x2581da['toString'](0x10);});}async['post'](_0x3ca681,_0x2ba748,_0x49d4be,_0xa63d24){const _0x1cb6dd={_0x5d603d:0x292,_0x533de6:0xdd,_0x455a9f:0xb,_0x3a3831:0x261,_0x2d5c2f:0x87,_0x214e37:0x1c4,_0x3ebabd:0xc,_0x85c5c4:0x1be,_0x1ac672:0x3c7,_0x18b56c:0xe3,_0xecbb0c:0x56d,_0x462a60:0x264,_0x48a56e:0x35e,_0x82f439:0x13c,_0x149994:0x602,_0xaa6680:0x7ac,_0x5e60b6:0x156,_0x497bff:0x127,_0x188879:0xc8,_0x5811e9:0x1ae,_0x3719ac:0x165,_0x3622e2:0xabf,_0x4a4f7b:0x8b4},_0x3048b2={_0x34bf18:0xf},_0x12cb28={_0x229798:0x1a9,_0x258aa6:0x116};!this[_0x189bc1(_0x1cb6dd._0x5d603d,_0x1cb6dd._0x533de6,-_0x1cb6dd._0x455a9f,-0x11e)]&&this[_0x189bc1(_0x1cb6dd._0x3a3831,_0x1cb6dd._0x2d5c2f,-_0x1cb6dd._0x214e37,-_0x1cb6dd._0x3ebabd)]&&await this['exchangeToken'](_0xa63d24);const _0x468bf1=this[_0x189bc1(0x364,_0x1cb6dd._0x85c5c4,0x313,_0x1cb6dd._0x1ac672)](_0x3ca681);function _0x189bc1(_0x34d03a,_0x4a79ff,_0x39e218,_0x1dc915){return _0x3a64dd(_0x34d03a-_0x12cb28._0x229798,_0x39e218,_0x4a79ff- -0x44a,_0x1dc915-_0x12cb28._0x258aa6);}function _0x18aa44(_0x21b6f0,_0x569293,_0x27475d,_0x41e9e1){return _0x3a64dd(_0x21b6f0-_0x3048b2._0x34bf18,_0x27475d,_0x41e9e1-0x166,_0x41e9e1-0x5a);}let _0x48c0ed=await this[_0x189bc1(-0x2f1,-0xce,-0x2f5,-_0x1cb6dd._0x18b56c)][_0x18aa44(0x35a,0x792,0x3e8,_0x1cb6dd._0xecbb0c)](_0x468bf1,_0x2ba748,this[_0x189bc1(_0x1cb6dd._0x462a60,_0x1cb6dd._0x48a56e,0x56f,_0x1cb6dd._0x82f439)](_0x49d4be,_0x2ba748),_0xa63d24);if(_0x48c0ed[_0x18aa44(_0x1cb6dd._0x149994,0x8b9,0x5c6,_0x1cb6dd._0xaa6680)]===0x191&&this[_0x189bc1(0x1c4,0x87,-_0x1cb6dd._0x5e60b6,_0x1cb6dd._0x497bff)]){await this[_0x189bc1(0x283,_0x1cb6dd._0x188879,_0x1cb6dd._0x5811e9,-0xcd)](_0xa63d24);const _0x52f39d=this['buildFullUrl'](_0x3ca681);_0x48c0ed=await this[_0x189bc1(0x6d,-0xce,0x103,-_0x1cb6dd._0x5811e9)][_0x189bc1(0x192,-0x43,_0x1cb6dd._0x3719ac,-0x23e)](_0x52f39d,_0x2ba748,this[_0x18aa44(_0x1cb6dd._0x3622e2,_0x1cb6dd._0x4a4f7b,0x9bc,0x90e)](_0x49d4be,_0x2ba748),_0xa63d24);}return _0x48c0ed;}async[_0x3a64dd(0x93e,0x674,0x767,0x744)](_0x1d2ba9,_0x474839,_0x3b3f75){const _0x4552b8={_0x16b8cd:0x517,_0x373824:0x7e9,_0x16a19f:0x4bc,_0x17d8d2:0x599,_0x124691:0x448,_0x10bb98:0x6b7,_0x305e62:0x68f,_0x6da3fe:0x8db,_0x3dd02f:0x219,_0x33c55e:0x2a8,_0x930aba:0x66c,_0x2d491a:0x6cf,_0x9aded0:0x61f,_0x34441b:0x5e0,_0x28956c:0x83b,_0x58f2c9:0x422,_0x38a38b:0x6ef,_0x64ffb2:0x373,_0xcef786:0x7ee,_0x1e0f9e:0x8b8,_0x4e59da:0x950};!this[_0x4a28e4(_0x4552b8._0x16b8cd,0x5ae,0x3c4,_0x4552b8._0x373824)]&&this[_0x3cf29c(0x36e,0x472,_0x4552b8._0x16a19f,0x2d1)]&&await this[_0x4a28e4(0x6c7,_0x4552b8._0x17d8d2,_0x4552b8._0x124691,0x5b3)](_0x3b3f75);function _0x4a28e4(_0x5e42de,_0x50d42c,_0x33b345,_0x4d7144){return _0x3a64dd(_0x5e42de-0x11e,_0x33b345,_0x50d42c-0x87,_0x4d7144-0x1a9);}const _0x8e1f5f=this[_0x4a28e4(_0x4552b8._0x10bb98,_0x4552b8._0x305e62,_0x4552b8._0x6da3fe,0x656)](_0x1d2ba9);function _0x3cf29c(_0x40182e,_0x48dd33,_0x210aa2,_0x515968){return _0x55e1bc(_0x48dd33,_0x48dd33-0xb1,_0x210aa2-0x3c,_0x40182e- -0x29f);}let _0x19f37d=await this[_0x3cf29c(_0x4552b8._0x3dd02f,0x2f3,_0x4552b8._0x33c55e,0x14e)][_0x4a28e4(0xa17,0x7ee,_0x4552b8._0x930aba,_0x4552b8._0x2d491a)](_0x8e1f5f,this[_0x3cf29c(0x645,_0x4552b8._0x9aded0,_0x4552b8._0x34441b,_0x4552b8._0x28956c)](_0x474839),_0x3b3f75);if(_0x19f37d['status']===0x191&&this[_0x4a28e4(0x3a7,0x558,_0x4552b8._0x58f2c9,0x6f2)]){await this['exchangeToken'](_0x3b3f75);const _0x3ddf08=this[_0x3cf29c(0x4a5,_0x4552b8._0x38a38b,0x68f,_0x4552b8._0x64ffb2)](_0x1d2ba9);_0x19f37d=await this['inner'][_0x4a28e4(0x932,_0x4552b8._0xcef786,_0x4552b8._0x1e0f9e,_0x4552b8._0x4e59da)](_0x3ddf08,this['makeAuthHeaders'](_0x474839),_0x3b3f75);}return _0x19f37d;}};function calculateBackoff(_0x24eeab,_0x371f22,_0x2ee843,_0x36e438,_0x2806cc){const _0x58f1bb={_0x2543a4:0x259,_0x17f4a6:0x1ba,_0xe26b8e:0x92,_0x3d8d4a:0x236,_0x33a185:0x1e5,_0x1757ec:0x1f4,_0x56d778:0x1c7,_0x568b9d:0x36,_0x17a397:0x2b,_0x34c092:0x44},_0xda6226={_0x283e4e:0x2d},_0x54ef98=_0x371f22*_0x36e438**_0x24eeab;function _0x1f8ca6(_0x59ecd1,_0x523e64,_0x374041,_0x2a5201){return _0x55e1bc(_0x2a5201,_0x523e64-0x194,_0x374041-0xa1,_0x374041- -0x66c);}const _0x228f2d=Math[_0x1f8ca6(_0x58f1bb._0x2543a4,-_0x58f1bb._0x17f4a6,_0x58f1bb._0xe26b8e,0x26b)](_0x54ef98,_0x2ee843),_0x48c421=_0x228f2d*_0x2806cc;function _0x3400b5(_0x3ef21e,_0x2bc154,_0x20bf94,_0x589693){return _0x3a64dd(_0x3ef21e-0x14d,_0x2bc154,_0x3ef21e- -0x50f,_0x589693-_0xda6226._0x283e4e);}const _0x21c314=_0x48c421*(Math[_0x3400b5(-0x140,-0x249,-_0x58f1bb._0x3d8d4a,-_0x58f1bb._0x33a185)]()*0x2-0x1);return Math[_0x1f8ca6(_0x58f1bb._0x1757ec,-0x39,0x148,_0x58f1bb._0x56d778)](0x0,Math[_0x3400b5(-_0x58f1bb._0x568b9d,_0x58f1bb._0x17a397,_0x58f1bb._0x34c092,-0x6a)](_0x228f2d+_0x21c314));}function parseRetryAfterHeader(_0x226b50){const _0x4a3c2a={_0x5b356d:0x3ce,_0x2a2145:0x4e5,_0x15a243:0x25a,_0x438e2a:0x2a9,_0x3eec39:0x175,_0x262aad:0x10b,_0x2c7604:0xd2},_0x597acd={_0x13becf:0x1e7,_0xae68cd:0x107,_0x2af0bd:0x1eb},_0x5a472e={_0x5646e4:0x12d,_0x26731b:0x738};if(!_0x226b50)return null;const _0x2c8d2c=parseInt(_0x226b50,0xa);if(!Number['isNaN'](_0x2c8d2c)&&_0x2c8d2c>=0x0)return _0x2c8d2c*0x3e8;function _0x17400c(_0x5a6837,_0x31a055,_0x150c6b,_0x5a97d3){return _0x55e1bc(_0x5a97d3,_0x31a055-_0x5a472e._0x5646e4,_0x150c6b-0x137,_0x31a055- -_0x5a472e._0x26731b);}const _0xd82215=Date[_0x17400c(-_0x4a3c2a._0x5b356d,-0x2c2,-0x2ea,-_0x4a3c2a._0x2a2145)](_0x226b50);function _0x57673f(_0x50e337,_0x27423d,_0x465cac,_0x1d65fa){return _0x3a64dd(_0x50e337-_0x597acd._0x13becf,_0x1d65fa,_0x27423d- -_0x597acd._0xae68cd,_0x1d65fa-_0x597acd._0x2af0bd);}if(!Number[_0x17400c(_0x4a3c2a._0x15a243,0x139,_0x4a3c2a._0x438e2a,_0x4a3c2a._0x3eec39)](_0xd82215)){const _0x41d873=_0xd82215-Date[_0x17400c(0x1fd,_0x4a3c2a._0x262aad,-0x144,_0x4a3c2a._0x2c7604)]();return _0x41d873>0x0?_0x41d873:null;}return null;}var DEFAULT_RETRYABLE_STATUS_CODES=[0x198,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8,0x208,0x209,0x20a,0x20b,0x20c],RETRYABLE_NETWORK_ERRORS=[_0x55e1bc(0x52b,0x627,0x557,0x505),_0x55e1bc(0x492,0x546,0x2e8,0x48e),'etimedout',_0x55e1bc(0x7ee,0x6da,0x6d3,0x6e9),'epipe',_0x55e1bc(0x3e8,0x7d9,0x47f,0x603),'fetch\x20failed','socket\x20hang\x20up',_0x55e1bc(0x4cc,0x573,0x35f,0x58b),'connection\x20reset',_0x55e1bc(0x772,0x6be,0x618,0x5e0),_0x3a64dd(0x665,0x32c,0x531,0x492),_0x3a64dd(0x3a2,0x411,0x586,0x50a),_0x55e1bc(0x3d0,0x65e,0x44c,0x5fd)],NON_RETRYABLE_PATTERNS=['invalid','unauthorized',_0x55e1bc(0x728,0x6ba,0x399,0x5ca),'not\x20found',_0x3a64dd(0x492,0x441,0x63d,0x609),'api\x20key',_0x55e1bc(0x3a9,0x4b3,0x258,0x4a5),_0x3a64dd(0x551,0x74f,0x503,0x505),_0x55e1bc(0x566,0x7f2,0x8c1,0x75f),_0x55e1bc(0x731,0x5d6,0x695,0x6db)];function isRetryableStatusCode(_0x3df83c,_0x28bb2b=DEFAULT_RETRYABLE_STATUS_CODES){const _0x26e63a={_0x2b8736:0x270,_0x2a407c:0x35d},_0xd810c9={_0x5f5216:0x1a8,_0x299a01:0x45};function _0x22af39(_0x19151f,_0x34904e,_0x538b9a,_0x475c44){return _0x55e1bc(_0x34904e,_0x34904e-_0xd810c9._0x5f5216,_0x538b9a-_0xd810c9._0x299a01,_0x475c44- -0x342);}return _0x28bb2b[_0x22af39(_0x26e63a._0x2b8736,0x355,0x4ac,_0x26e63a._0x2a407c)](_0x3df83c);}function isRetryableError(_0x338171,_0x581a10=DEFAULT_RETRYABLE_STATUS_CODES){const _0xd472ac={_0x754ccd:0x70,_0x3c83ce:0x296,_0x559a03:0x153,_0x4d5b15:0x94,_0x58e9dc:0x46,_0x39775d:0x10,_0xced546:0x2af,_0x24f450:0x32,_0x31abcc:0x15,_0x187a87:0x1d4,_0x30e15f:0x42,_0x11e0aa:0x30e,_0x27807f:0x28a,_0x2dae55:0x141,_0xea2ef7:0x547,_0x5a2dd6:0xf5,_0x40a47b:0x5a,_0x5b3f56:0xab,_0x14913c:0x624,_0x5ae6df:0x687,_0x57b0a0:0x5a7,_0x11035b:0x21c,_0x14d9ea:0x3a8,_0x52e198:0x368,_0x232a1f:0x38c,_0x2db6f1:0x4e3,_0x33a765:0x27,_0x5a1970:0x18d,_0x35c0b5:0x187,_0x2a4817:0x1c8,_0x4f4e2f:0xba,_0xa5f958:0x296},_0x2bfc12={_0x4c58d2:0x84,_0x3f0c88:0x52},_0x167fb0={_0x2cf50a:0x1b5,_0x3186c6:0x1a,_0x28fbe1:0x6c6};function _0x370cc3(_0x2c1ab8,_0x523c68,_0x3a3762,_0x2db294){return _0x55e1bc(_0x3a3762,_0x523c68-_0x167fb0._0x2cf50a,_0x3a3762-_0x167fb0._0x3186c6,_0x2db294- -_0x167fb0._0x28fbe1);}if(!_0x338171)return![];if(_0x338171 instanceof Error&&_0x338171[_0x5452a5(-0xad,-_0xd472ac._0x754ccd,_0xd472ac._0x3c83ce,_0xd472ac._0x559a03)]==='AbortError')return![];if(_0x338171 instanceof LLMError){if(_0x338171[_0x370cc3(-_0xd472ac._0x4d5b15,-_0xd472ac._0x58e9dc,-_0xd472ac._0x39775d,-0xe9)])return isRetryableStatusCode(_0x338171[_0x5452a5(_0xd472ac._0xced546,-_0xd472ac._0x24f450,_0xd472ac._0x31abcc,_0xd472ac._0x187a87)],_0x581a10);return _0x338171[_0x5452a5(0x40a,_0xd472ac._0x30e15f,_0xd472ac._0x11e0aa,_0xd472ac._0x27807f)];}const _0x4d6e43=_0x338171,_0x5b440a=_0x4d6e43['statusCode']??_0x4d6e43[_0x5452a5(_0xd472ac._0x2dae55,0x1c9,_0xd472ac._0xea2ef7,0x379)];if(_0x5b440a)return isRetryableStatusCode(_0x5b440a,_0x581a10);const _0x148b3f=_0x4d6e43['message']?.[_0x370cc3(_0xd472ac._0x5a2dd6,_0xd472ac._0x40a47b,0x277,_0xd472ac._0x5b3f56)]()||'',_0x56dc0b=_0x4d6e43[_0x5452a5(0x392,_0xd472ac._0x14913c,_0xd472ac._0x5ae6df,0x4dd)]?.[_0x5452a5(_0xd472ac._0x57b0a0,_0xd472ac._0x11035b,_0xd472ac._0x14d9ea,_0xd472ac._0x52e198)]()||'';for(const _0x100635 of NON_RETRYABLE_PATTERNS){if(_0x148b3f[_0x5452a5(_0xd472ac._0x232a1f,0xec,_0xd472ac._0x2db6f1,0x296)](_0x100635)||_0x56dc0b[_0x370cc3(0xc2,-0x1ba,-0x1b5,-_0xd472ac._0x33a765)](_0x100635))return![];}function _0x5452a5(_0x5725e8,_0x2e1b18,_0x1e7e3d,_0x379396){return _0x3a64dd(_0x5725e8-_0x2bfc12._0x4c58d2,_0x5725e8,_0x379396- -0x2cd,_0x379396-_0x2bfc12._0x3f0c88);}for(const _0x949951 of RETRYABLE_NETWORK_ERRORS){if(_0x148b3f[_0x370cc3(_0xd472ac._0x5a1970,-_0xd472ac._0x35c0b5,-0x169,-0x27)](_0x949951)||_0x56dc0b[_0x5452a5(0x82,_0xd472ac._0x2a4817,_0xd472ac._0x4f4e2f,_0xd472ac._0xa5f958)](_0x949951))return!![];}return![];}var DEFAULT_RETRY_CONFIG={'maxRetries':0x3,'baseDelayMs':0x3e8,'maxDelayMs':0x186a0,'backoffMultiplier':0x2,'jitterFactor':0.2,'retryableStatusCodes':DEFAULT_RETRYABLE_STATUS_CODES},AbortError=class _AbortError extends Error{constructor(_0x56c6d0=_0x55e1bc(0x7ba,0x555,0x3f3,0x602)){const _0x283fa4={_0x7a10b8:0x364,_0x22af95:0x47c,_0xd35be7:0x24a,_0x2b6f4a:0x37b,_0x484aeb:0x182,_0x338b4e:0x1d7},_0x44540b={_0x2c972b:0x6f,_0x3809a9:0x161},_0x2f417e={_0x4b0294:0x105,_0x18de42:0x5d};super(_0x56c6d0);function _0x3097ee(_0x10f716,_0x2498ec,_0x3c46cf,_0x21819a){return _0x55e1bc(_0x2498ec,_0x2498ec-_0x2f417e._0x4b0294,_0x3c46cf-_0x2f417e._0x18de42,_0x21819a- -0x54a);}function _0x2c6b99(_0xb84fba,_0x8ad170,_0x1b0a03,_0xbb0f88){return _0x55e1bc(_0xb84fba,_0x8ad170-_0x44540b._0x2c972b,_0x1b0a03-_0x44540b._0x3809a9,_0x8ad170- -0x2dd);}this['name']=_0x2c6b99(_0x283fa4._0x7a10b8,0x2b4,0x210,_0x283fa4._0x22af95),Error[_0x3097ee(-_0x283fa4._0xd35be7,-0x67,-0x15a,-0xeb)]&&Error[_0x2c6b99(_0x283fa4._0x2b6f4a,_0x283fa4._0x484aeb,0xb8,_0x283fa4._0x338b4e)](this,_AbortError);}},sleep=(_0x1a6ebb,_0x48a7f1)=>{const _0x5a9645={_0x4eded8:0x248,_0x205ebf:0x389},_0x93aa33={_0x2857d6:0x2f};return new Promise((_0x3e42ac,_0x1457fa)=>{const _0x4530e6={_0x12b0ff:0x2de};if(_0x48a7f1?.['aborted']){_0x1457fa(new AbortError('Operation\x20aborted'));return;}function _0x4e557d(_0x56e099,_0x1c85c1,_0x1554b8,_0x4a83b5){return _0xb207(_0x4a83b5- -_0x4530e6._0x12b0ff,_0x56e099);}const _0x4d1cb6=setTimeout(_0x3e42ac,_0x1a6ebb);_0x48a7f1?.[_0x4e557d(-_0x5a9645._0x4eded8,-_0x5a9645._0x205ebf,-0x131,-0x1d0)]('abort',()=>{const _0xf98f0d={_0x1f972:0x1ab,_0xbb1208:0x182,_0x1da409:0x10};function _0x2b1231(_0x41a613,_0x5c1df4,_0x1c19bb,_0x1a8587){return _0x4e557d(_0x41a613,_0x5c1df4-_0xf98f0d._0x1f972,_0x1c19bb-_0xf98f0d._0xbb1208,_0x1a8587- -_0xf98f0d._0x1da409);}clearTimeout(_0x4d1cb6),_0x1457fa(new AbortError(_0x2b1231(0x1d3,-0xbe,-_0x93aa33._0x2857d6,0x130)));},{'once':!![]});});},RetryTransport=class{constructor(_0xaa99ce,_0x5d68c8={}){const _0x597b9a={_0x5568e7:0x2c9,_0x3b4e3a:0x1d5,_0x1e2b42:0x397},_0x285c42={_0x3d09be:0xd5},_0x7c10ae={_0x2a569a:0x134,_0x51e626:0x140};this[_0x371427(-0x2df,-_0x597b9a._0x5568e7,-_0x597b9a._0x3b4e3a,-_0x597b9a._0x1e2b42)]=_0xaa99ce;function _0x45de8a(_0x267559,_0x2d4653,_0x24e028,_0x4a20d0){return _0x3a64dd(_0x267559-0xe9,_0x24e028,_0x4a20d0-_0x7c10ae._0x2a569a,_0x4a20d0-_0x7c10ae._0x51e626);}function _0x371427(_0x5294aa,_0x1b1d55,_0x4f4c7b,_0x105aca){return _0x55e1bc(_0x1b1d55,_0x1b1d55-0x89,_0x4f4c7b-_0x285c42._0x3d09be,_0x4f4c7b- -0x68d);}this[_0x45de8a(0x4c9,0x3ab,0x3d2,0x455)]={...DEFAULT_RETRY_CONFIG,..._0x5d68c8};}['config'];async[_0x3a64dd(0x938,0x738,0x767,0x750)](_0x19c53d,_0x5c151f,_0x58bc16){const _0x2bf73e={_0x2c7841:0xf9,_0x2015d8:0x2d,_0x258e40:0x238},_0x145f4a={_0x113010:0xa5,_0x23e0a8:0xc3};function _0x3a5277(_0x499336,_0x28c1d4,_0x44159d,_0x3fcc31){return _0x55e1bc(_0x28c1d4,_0x28c1d4-_0x145f4a._0x113010,_0x44159d-_0x145f4a._0x23e0a8,_0x499336- -0x190);}function _0x484878(_0x2f7b29,_0x587fd0,_0x1bca1a,_0x155e9f){return _0x55e1bc(_0x2f7b29,_0x587fd0-_0x2bf73e._0x2c7841,_0x1bca1a-_0x2bf73e._0x2015d8,_0x587fd0- -_0x2bf73e._0x258e40);}return this['executeWithRetry'](()=>this[_0x3a5277(0x328,0x45d,0x12a,0x2d1)][_0x484878(0x6e6,0x66b,0x8b5,0x727)](_0x19c53d,_0x5c151f,_0x58bc16),_0x58bc16);}async['post'](_0x3533ba,_0x10d1d7,_0x13ab0d,_0x510992){const _0xdce0cd={_0x40163d:0x2da},_0x5414b5={_0x56a8bd:0x78},_0x22ff50={_0x3d756b:0x1cd,_0x27a49d:0x1ae};function _0x3240b7(_0x2fc66f,_0x3a0504,_0x34bfaa,_0x3885fb){return _0x3a64dd(_0x2fc66f-_0x22ff50._0x3d756b,_0x2fc66f,_0x3a0504-0x7d,_0x3885fb-_0x22ff50._0x27a49d);}function _0x570481(_0x285243,_0x48d1b3,_0x221437,_0x13d8c4){return _0x3a64dd(_0x285243-0xf,_0x48d1b3,_0x221437-0x123,_0x13d8c4-_0x5414b5._0x56a8bd);}return this[_0x3240b7(0x2e4,0x3b4,0x1d4,_0xdce0cd._0x40163d)](()=>this['inner'][_0x3240b7(0x6cd,0x484,0x292,0x369)](_0x3533ba,_0x10d1d7,_0x13ab0d,_0x510992),_0x510992);}async[_0x55e1bc(0x2ea,0x2a0,0x3bd,0x473)](_0x2c4498,_0x4693bd){const _0x31fcfd={_0x4cfc06:0x3c1,_0xf50a30:0xc,_0x12f830:0x2f3,_0x23f051:0x359,_0x499fe0:0x233,_0x29b976:0x214,_0x4a0e35:0x22b,_0x23784e:0x22,_0xa719a:0x338,_0x69610:0xfe,_0x50ef18:0xb8,_0x44306d:0xf7,_0x3fcc13:0x12,_0x388916:0x26b,_0x5eab98:0x387,_0x1cf91b:0xd3,_0x30e59a:0xb7,_0x33fde8:0x261,_0x20ec79:0x212,_0x329d93:0x1c4,_0x17b54a:0x19a,_0x2fc7cc:0x2f8,_0x39ee50:0x55d,_0x2261d1:0x449,_0x5c33ba:0x372,_0x25819c:0x174,_0x2fc0f4:0x2a9,_0x5067c0:0x18b,_0x350b22:0x1c0,_0x201f77:0x126,_0x1c5265:0xe3,_0x8b5b09:0x93,_0x3ea8e4:0xfe,_0x30c679:0x8c,_0x12c890:0x1d2,_0x5b7be2:0x212,_0x272d7c:0x222,_0x4e276e:0x31c,_0x2537a1:0x1eb,_0x1c0ba6:0x258,_0x248376:0x3a5,_0x51e5ad:0x436,_0x6f40e2:0x32f,_0x96d216:0x2bd,_0x52126d:0x2d6,_0x56dccd:0x1d8,_0x205aed:0x3da,_0x3d7ad0:0x2d5},_0x35a4c9={_0xdafb7f:0x1ed},_0x486f93={_0x538fe7:0xa9};function _0x4ce863(_0x18c9df,_0x546fc3,_0x55733f,_0x5dca38){return _0x3a64dd(_0x18c9df-0xf,_0x55733f,_0x18c9df- -0x548,_0x5dca38-_0x486f93._0x538fe7);}function _0x3b677b(_0x1db7ba,_0x196798,_0x41ff9e,_0x246674){return _0x55e1bc(_0x1db7ba,_0x196798-_0x35a4c9._0xdafb7f,_0x41ff9e-0x110,_0x246674- -0x3d1);}let _0x45eba2,_0xd3b05e=0x0;while(_0xd3b05e<=this[_0x4ce863(-0x227,-_0x31fcfd._0x4cfc06,-_0x31fcfd._0xf50a30,-0x2b8)]['maxRetries']){if(_0x4693bd?.[_0x3b677b(0x1c0,_0x31fcfd._0x12f830,_0x31fcfd._0x23f051,_0x31fcfd._0x499fe0)])throw new AbortError(_0x4ce863(-_0x31fcfd._0x29b976,-_0x31fcfd._0x4a0e35,-_0x31fcfd._0x23784e,-_0x31fcfd._0xa719a));try{const _0x405806=await _0x2c4498();if(this[_0x3b677b(0x232,0x5e,0x2f0,0x1f5)](_0x405806)){const _0x2c6684=new Error('HTTP\x20'+_0x405806['status']);_0x2c6684[_0x4ce863(_0x31fcfd._0x69610,0x15b,_0x31fcfd._0x50ef18,-0xf2)]=_0x405806[_0x4ce863(0xfe,_0x31fcfd._0x44306d,-_0x31fcfd._0x3fcc13,_0x31fcfd._0x388916)];if(_0xd3b05e<this[_0x4ce863(-0x227,-0x183,-_0x31fcfd._0x5eab98,-0xb6)][_0x4ce863(-0x12,-_0x31fcfd._0x1cf91b,_0x31fcfd._0x30e59a,-_0x31fcfd._0x33fde8)]){const _0x5a95c8=this[_0x4ce863(0x1bc,_0x31fcfd._0x20ec79,0x32e,_0x31fcfd._0x329d93)](_0x405806,_0xd3b05e);this[_0x4ce863(-0x227,-_0x31fcfd._0x17b54a,-0x36f,-0x16)][_0x3b677b(_0x31fcfd._0x2fc7cc,_0x31fcfd._0x39ee50,_0x31fcfd._0x2261d1,_0x31fcfd._0x5c33ba)]?.(_0xd3b05e+0x1,_0x2c6684,_0x5a95c8),await sleep(_0x5a95c8,_0x4693bd),_0xd3b05e++;continue;}_0x45eba2=_0x2c6684;break;}return _0x405806;}catch(_0x7deb4a){if(_0x7deb4a instanceof AbortError||_0x7deb4a instanceof Error&&_0x7deb4a[_0x3b677b(_0x31fcfd._0x25819c,_0x31fcfd._0x2fc0f4,0x12d,_0x31fcfd._0x5067c0)]===_0x3b677b(0x81,0x38c,0x3e1,_0x31fcfd._0x350b22))throw _0x7deb4a;_0x45eba2=_0x7deb4a instanceof Error?_0x7deb4a:new Error(String(_0x7deb4a));if(!isRetryableError(_0x45eba2,this['config'][_0x4ce863(-_0x31fcfd._0x201f77,-_0x31fcfd._0x1c5265,_0x31fcfd._0x8b5b09,-0x6a)]))throw _0x45eba2;if(_0xd3b05e<this['config'][_0x3b677b(0x1d8,0xc7,_0x31fcfd._0x3ea8e4,0x2a1)]){const _0x1146be=calculateBackoff(_0xd3b05e,this[_0x3b677b(0x81,_0x31fcfd._0x50ef18,-0xef,_0x31fcfd._0x30c679)][_0x4ce863(-_0x31fcfd._0x12c890,-0x15b,-0x140,-_0x31fcfd._0x5b7be2)],this['config'][_0x4ce863(_0x31fcfd._0x272d7c,0x1a2,0x33b,0x83)],this[_0x3b677b(0x42,0x46,_0x31fcfd._0x272d7c,0x8c)][_0x4ce863(0x10a,_0x31fcfd._0x4e276e,_0x31fcfd._0x2537a1,-0xd2)],this['config'][_0x4ce863(_0x31fcfd._0x1c0ba6,_0x31fcfd._0x248376,0x3d9,_0x31fcfd._0x51e5ad)]);this[_0x4ce863(-0x227,-0x176,-0x1a3,-_0x31fcfd._0x6f40e2)][_0x4ce863(0xbf,0x1dc,_0x31fcfd._0x96d216,_0x31fcfd._0x52126d)]?.(_0xd3b05e+0x1,_0x45eba2,_0x1146be),await sleep(_0x1146be,_0x4693bd),_0xd3b05e++;}else break;}}if(_0x45eba2){this['config'][_0x4ce863(_0x31fcfd._0x56dccd,_0x31fcfd._0x205aed,0x43,0x2e4)]?.(_0x45eba2,_0xd3b05e+0x1);throw _0x45eba2;}throw new Error(_0x4ce863(-0x17c,-0x370,-_0x31fcfd._0x3d7ad0,-0x1a7));}[_0x55e1bc(0x63f,0x555,0x520,0x5c6)](_0x50c959){return isRetryableStatusCode(_0x50c959['status'],this['config']['retryableStatusCodes']);}[_0x3a64dd(0x909,0x5a0,0x704,0x613)](_0x427653,_0x239901){const _0x1fae1f={_0x7c3f4f:0x6bd,_0x4f1c71:0x85e,_0x19712c:0x623,_0x2db425:0x626,_0x270dbe:0x5b3,_0xb97a33:0x75b,_0x2ccc73:0x7ea,_0x1b1730:0x875,_0x22be5d:0x66f,_0x2b9b87:0x50e,_0x5675f8:0x5b6,_0x27b338:0x6f7,_0x48b230:0x3af,_0x341b34:0x3b8,_0x24cd89:0x598,_0x42914c:0x68f,_0x4e9ae7:0x491,_0x1dc6f2:0x12,_0x29487a:0x246,_0x3923f4:0xb6,_0x838fe2:0x21a,_0x960191:0x315,_0x41c50d:0x392,_0x33ebb2:0x47c,_0x32adad:0x75e,_0x5fce34:0x68d,_0x4e3ac1:0x315,_0x11fdba:0x346,_0x5b233e:0x21c,_0x3935e2:0x472,_0x10dc85:0x77f,_0x139e3b:0x36b},_0x2d116d={_0x1a780e:0x109,_0x1d2099:0x148};function _0x3e1869(_0x5d795f,_0x13bdca,_0x360248,_0x15908b){return _0x3a64dd(_0x5d795f-0x136,_0x5d795f,_0x360248- -0xdb,_0x15908b-0xf5);}const _0x586747=_0x15b497(0x682,_0x1fae1f._0x7c3f4f,_0x1fae1f._0x4f1c71,_0x1fae1f._0x19712c)in _0x427653&&_0x427653[_0x3e1869(0x36a,_0x1fae1f._0x2db425,_0x1fae1f._0x270dbe,0x556)]instanceof Headers?_0x427653['headers']:null;function _0x15b497(_0x23afc9,_0x504726,_0x212478,_0x1725f9){return _0x55e1bc(_0x212478,_0x504726-_0x2d116d._0x1a780e,_0x212478-0x19f,_0x23afc9- -_0x2d116d._0x1d2099);}const _0x1bcc1f=_0x586747?.[_0x15b497(_0x1fae1f._0xb97a33,_0x1fae1f._0x2ccc73,0x730,_0x1fae1f._0x1b1730)](_0x3e1869(_0x1fae1f._0x22be5d,_0x1fae1f._0x2b9b87,0x608,0x407))??null,_0x440911=parseRetryAfterHeader(_0x1bcc1f);if(_0x440911!==null)return Math[_0x15b497(_0x1fae1f._0x5675f8,_0x1fae1f._0x27b338,_0x1fae1f._0x48b230,_0x1fae1f._0x341b34)](_0x440911,this['config'][_0x3e1869(_0x1fae1f._0x24cd89,0x607,_0x1fae1f._0x42914c,_0x1fae1f._0x4e9ae7)]);return calculateBackoff(_0x239901,this[_0x3e1869(0x27d,_0x1fae1f._0x1dc6f2,_0x1fae1f._0x29487a,_0x1fae1f._0x3923f4)][_0x15b497(0x36a,0x54b,0x4a5,_0x1fae1f._0x838fe2)],this[_0x15b497(_0x1fae1f._0x960191,_0x1fae1f._0x41c50d,0x3a5,_0x1fae1f._0x33ebb2)][_0x15b497(_0x1fae1f._0x32adad,0x65f,0x8f6,_0x1fae1f._0x5fce34)],this[_0x15b497(_0x1fae1f._0x4e3ac1,_0x1fae1f._0x11fdba,_0x1fae1f._0x5b233e,_0x1fae1f._0x3935e2)][_0x3e1869(_0x1fae1f._0x10dc85,0x655,0x577,_0x1fae1f._0x139e3b)],this['config']['jitterFactor']);}},CLIENT_ID=_0x55e1bc(0x715,0x6c8,0x349,0x56f),DEFAULT_BASE_URL='https://api.anthropic.com/v1',AnthropicAuthTransport=class{[_0x3a64dd(0x555,0x162,0x37c,0x49c)];[_0x55e1bc(0x4cb,0x721,0x5c7,0x66f)];[_0x3a64dd(0x46a,0x2d1,0x4d5,0x582)];['apiKey'];[_0x3a64dd(0x430,0x48e,0x56f,0x478)];[_0x55e1bc(0x875,0x5b4,0x700,0x6d2)];[_0x3a64dd(0x446,0x4a4,0x5df,0x630)]=null;constructor(_0x30488c,_0x38ec72){const _0x29cbab={_0x82d4c4:0x289,_0x47b4d3:0x3a9,_0x11117e:0x516,_0x32119b:0x523,_0x2f77b6:0x3a9,_0x2bf1e0:0x5d0,_0x401ecc:0x2a1,_0x495015:0x1bf,_0x6741d9:0x1ea,_0x2ec3db:0x27,_0x3a2b29:0x314,_0x6a4917:0x7c,_0x478a09:0x418,_0x305e96:0x5d4,_0x1d4b99:0x58f,_0x36f462:0x256,_0x3a29bd:0xe7,_0x244627:0x78,_0x1838ce:0x59},_0x3fc1c9={_0x1bdf63:0x186},_0x52013f={_0x157bbc:0x8a};this['inner']=_0x30488c;function _0x46905c(_0x235306,_0x151cf4,_0x2961fb,_0x4aab2f){return _0x55e1bc(_0x4aab2f,_0x151cf4-0x1c8,_0x2961fb-_0x52013f._0x157bbc,_0x151cf4- -0x2ba);}this[_0x46905c(_0x29cbab._0x82d4c4,_0x29cbab._0x47b4d3,0x212,_0x29cbab._0x11117e)]=_0x38ec72[_0x46905c(_0x29cbab._0x32119b,_0x29cbab._0x2f77b6,_0x29cbab._0x2bf1e0,_0x29cbab._0x401ecc)],this['oauth']=_0x38ec72[_0x7b0834(_0x29cbab._0x495015,_0x29cbab._0x6741d9,0x25f,-_0x29cbab._0x2ec3db)],this[_0x7b0834(_0x29cbab._0x3a2b29,0x1ae,-_0x29cbab._0x6a4917,0x236)]=_0x38ec72['baseUrl']??DEFAULT_BASE_URL,this[_0x46905c(0x294,_0x29cbab._0x478a09,0x3f0,0x4af)]=_0x38ec72[_0x46905c(_0x29cbab._0x305e96,_0x29cbab._0x478a09,_0x29cbab._0x1d4b99,_0x29cbab._0x36f462)];function _0x7b0834(_0x1b8a39,_0x26199b,_0x1149e3,_0x427cda){return _0x3a64dd(_0x1b8a39-0xd6,_0x427cda,_0x26199b- -0x385,_0x427cda-_0x3fc1c9._0x1bdf63);}this[_0x7b0834(0x21a,0x150,0x119,-0x9f)]=_0x38ec72[_0x7b0834(_0x29cbab._0x3a29bd,_0x29cbab._0x244627,0x197,-_0x29cbab._0x1838ce)];}async[_0x3a64dd(0x945,0x9c3,0x792,0x648)](){const _0x56c195={_0x7de81b:0x338,_0x262154:0x29c,_0x5b8d85:0x4f2,_0x116efc:0x13d,_0x40b672:0x156,_0x52f1eb:0x161,_0x4134df:0x233,_0x332a01:0x454,_0x5a51a4:0x489,_0x5dce42:0x295,_0x2645b5:0x540,_0x3d462a:0x3c9,_0x51514d:0x553,_0x53a11b:0x3fa,_0x250a90:0x21b,_0x3c7077:0x15b,_0x4557eb:0x354,_0x3dea5b:0x41b,_0x4c3f12:0x413,_0x3ba9ac:0x3f3,_0x3495d7:0x4a4,_0x480085:0x3ba,_0x10d132:0x607,_0x5744d9:0x27f,_0x4c344b:0x453,_0x5d27b5:0x6db,_0x5e2e53:0x10f,_0x5a313c:0x4d0,_0x3eab8a:0x1a1,_0x54cfb9:0x2e3,_0x1d8444:0x36e,_0x553ea3:0x3aa},_0x5b0ae9={_0x5c7c5e:0x14d,_0x3dce62:0x16b,_0x53b1f3:0x373},_0x258f93={_0x591dc9:0x1d2};if(!this[_0x42c738(0x371,_0x56c195._0x7de81b,0x2fd,_0x56c195._0x262154)])return{'type':_0x42c738(_0x56c195._0x5b8d85,0x3aa,0x41b,0x52d)};function _0x3dadef(_0x28ca0d,_0x27bdbc,_0x24b471,_0x576598){return _0x55e1bc(_0x27bdbc,_0x27bdbc-0x1a0,_0x24b471-_0x258f93._0x591dc9,_0x24b471- -0x354);}function _0x42c738(_0x16f6e2,_0x4ddd4d,_0x2a1f41,_0x558190){return _0x55e1bc(_0x558190,_0x4ddd4d-_0x5b0ae9._0x5c7c5e,_0x2a1f41-_0x5b0ae9._0x3dce62,_0x4ddd4d- -_0x5b0ae9._0x53b1f3);}try{const _0x526ed8=await fetch(_0x3dadef(_0x56c195._0x116efc,_0x56c195._0x40b672,_0x56c195._0x52f1eb,_0x56c195._0x4134df),{'method':_0x42c738(_0x56c195._0x332a01,0x4be,0x388,0x6ce),'headers':{'Content-Type':_0x42c738(_0x56c195._0x5a51a4,_0x56c195._0x5dce42,0x173,0x2ad)},'body':JSON[_0x3dadef(_0x56c195._0x2645b5,_0x56c195._0x3d462a,_0x56c195._0x51514d,0x415)]({'grant_type':_0x42c738(_0x56c195._0x53a11b,_0x56c195._0x250a90,_0x56c195._0x3c7077,_0x56c195._0x4557eb),'refresh_token':this[_0x3dadef(_0x56c195._0x3dea5b,_0x56c195._0x4c3f12,0x357,_0x56c195._0x3ba9ac)][_0x42c738(_0x56c195._0x3495d7,_0x56c195._0x480085,0x287,0x493)],'client_id':CLIENT_ID})});if(!_0x526ed8['ok'])return{'type':_0x3dadef(0x484,0x390,0x3c9,_0x56c195._0x10d132)};const _0x39541b=await _0x526ed8[_0x3dadef(0x491,0x29a,0x447,_0x56c195._0x5744d9)]();return{'type':_0x3dadef(_0x56c195._0x4c344b,_0x56c195._0x5d27b5,0x531,0x75b),'access':_0x39541b[_0x3dadef(0x344,0x259,0x3c2,0x290)],'refresh':_0x39541b[_0x3dadef(0x302,_0x56c195._0x5e2e53,0x23a,0x481)],'expires':Date[_0x42c738(0x325,_0x56c195._0x5a313c,0x2b4,0x43f)]()+_0x39541b[_0x42c738(_0x56c195._0x3eab8a,_0x56c195._0x54cfb9,_0x56c195._0x1d8444,0x13a)]*0x3e8};}catch{return{'type':_0x42c738(0x4fc,_0x56c195._0x553ea3,0x4c5,0x53e)};}}[_0x3a64dd(0x3a0,0x3a8,0x4d8,0x2fc)](_0x3d7157){const _0x579771={_0x1d9824:0x548,_0x4e0dbf:0x764,_0x41467e:0x598,_0x5dbcc7:0x860,_0x2447d2:0x79c,_0x56ff05:0x712,_0x58f0b7:0x81a,_0x2bb18e:0x519,_0x52641a:0x621,_0x1e1643:0x80c,_0x40c64c:0x62f,_0x4383aa:0x7be,_0x40aee8:0x79f,_0x3f70fa:0x754,_0x1c7ecc:0x446,_0x3ee786:0x3ce,_0x42e997:0x4b7,_0x5346b8:0x567,_0x3e52f3:0x85f,_0x58816f:0x6aa,_0x33500e:0x2ad,_0x36a149:0x52f,_0x509266:0x4b2,_0x1014c8:0x865,_0x49be5d:0x696,_0x149f15:0x607,_0x5b3e7b:0x57a,_0x3c69a0:0x351,_0x2cb984:0x519,_0x44b8c0:0x45a},_0x3313ad={_0x52e800:0x3,_0x2622fb:0x152};function _0x3b2bc6(_0x499e36,_0x4ec957,_0xd2e25c,_0x34eda1){return _0x3a64dd(_0x499e36-_0x3313ad._0x52e800,_0x4ec957,_0xd2e25c- -0xd8,_0x34eda1-_0x3313ad._0x2622fb);}function _0x520eb0(_0x103c30,_0x553993,_0x29490a,_0x249390){return _0x3a64dd(_0x103c30-0x106,_0x103c30,_0x249390-0x13b,_0x249390-0x86);}_0x3d7157[_0x520eb0(0x864,0x78e,_0x579771._0x1d9824,0x6ff)]===_0x3b2bc6(_0x579771._0x4e0dbf,_0x579771._0x41467e,0x671,_0x579771._0x5dbcc7)&&_0x3d7157[_0x520eb0(_0x579771._0x2447d2,_0x579771._0x56ff05,0x999,_0x579771._0x58f0b7)]&&_0x3d7157[_0x3b2bc6(0x2ff,0x50d,_0x579771._0x2bb18e,0x447)]&&_0x3d7157[_0x520eb0(_0x579771._0x52641a,_0x579771._0x1e1643,0x72b,_0x579771._0x40c64c)]&&(this['oauth']&&(this[_0x520eb0(0x4df,_0x579771._0x4383aa,0x6fa,0x6aa)]['access']=_0x3d7157[_0x520eb0(_0x579771._0x40aee8,_0x579771._0x3f70fa,0x82b,0x81a)],this[_0x3b2bc6(_0x579771._0x1c7ecc,0x51c,0x497,_0x579771._0x3ee786)][_0x3b2bc6(_0x579771._0x42e997,0x3eb,_0x579771._0x2bb18e,0x68b)]=_0x3d7157['refresh'],this[_0x520eb0(_0x579771._0x5346b8,0x49b,_0x579771._0x3e52f3,_0x579771._0x58816f)][_0x3b2bc6(_0x579771._0x33500e,0x326,0x41c,_0x579771._0x36a149)]=_0x3d7157[_0x520eb0(0x4ef,_0x579771._0x509266,_0x579771._0x1014c8,_0x579771._0x40c64c)]),this['onTokenUpdate']?.({'access':_0x3d7157[_0x3b2bc6(0x760,_0x579771._0x49be5d,_0x579771._0x149f15,_0x579771._0x5b3e7b)],'refresh':_0x3d7157[_0x3b2bc6(0x5a4,_0x579771._0x3c69a0,_0x579771._0x2cb984,_0x579771._0x44b8c0)],'expires':_0x3d7157['expires']}));}async[_0x55e1bc(0x9a9,0x792,0x79d,0x8ba)](){const _0x1e6a7a={_0x405604:0x460,_0x1c7e5f:0x546,_0x2edc49:0x617,_0x59da95:0x658,_0x2ef378:0x48e,_0x5047a6:0x7ff,_0x5c2ce1:0x66c,_0x183c46:0x5a8,_0x2a404a:0x530,_0x18eac8:0x2e6,_0x299671:0x6f2,_0x3bf5cd:0x71d,_0x3e549d:0x5ec,_0xe64e84:0x83a,_0xcb1696:0x77a,_0x2c8775:0x5fe,_0x33c024:0x684,_0x1c228d:0x7f1,_0x42ba42:0x3d5,_0x4f9869:0x441,_0x56a0a3:0x89e},_0x15648b={_0x216fca:0x174},_0x53dc61={_0x4df457:0x6d,_0x34f506:0xa8,_0x440f37:0xa6};if(!this[_0x22a32f(0x7cd,_0x1e6a7a._0x405604,_0x1e6a7a._0x1c7e5f,_0x1e6a7a._0x2edc49)])return;if(this[_0x3931a1(0x7c1,_0x1e6a7a._0x59da95,_0x1e6a7a._0x2ef378,0x56b)]){const _0xf2e346=await this['refreshPromise'];if(_0xf2e346[_0x22a32f(0x629,_0x1e6a7a._0x5047a6,0x862,_0x1e6a7a._0x5c2ce1)]===_0x3931a1(_0x1e6a7a._0x183c46,0x65a,_0x1e6a7a._0x2a404a,0x585))throw new Error(_0x3931a1(0x611,0x534,0x4d0,_0x1e6a7a._0x18eac8));return;}function _0x22a32f(_0x195362,_0x8beb36,_0x5adf98,_0x4538e1){return _0x3a64dd(_0x195362-_0x53dc61._0x4df457,_0x8beb36,_0x4538e1-_0x53dc61._0x34f506,_0x4538e1-_0x53dc61._0x440f37);}function _0x3931a1(_0x16155e,_0x2e85ce,_0x53808b,_0x5c15ad){return _0x3a64dd(_0x16155e-0x1b9,_0x16155e,_0x2e85ce-0x79,_0x5c15ad-_0x15648b._0x216fca);}this[_0x3931a1(_0x1e6a7a._0x299671,_0x1e6a7a._0x59da95,0x596,0x848)]=this[_0x22a32f(_0x1e6a7a._0x3bf5cd,0x8e5,_0x1e6a7a._0x3e549d,_0x1e6a7a._0xe64e84)]();try{const _0x53ce20=await this[_0x3931a1(_0x1e6a7a._0xcb1696,_0x1e6a7a._0x59da95,_0x1e6a7a._0x2c8775,0x7cf)];if(_0x53ce20[_0x3931a1(0x847,0x63d,0x5d8,0x4a7)]===_0x22a32f(0x7f5,_0x1e6a7a._0x33c024,0x7e5,_0x1e6a7a._0x1c228d))this[_0x22a32f(_0x1e6a7a._0x42ba42,0x52b,0x5a0,0x580)](_0x53ce20);else throw new Error('Token\x20refresh\x20failed');}finally{this[_0x22a32f(_0x1e6a7a._0x4f9869,0x7ca,_0x1e6a7a._0x56a0a3,0x687)]=null;}}[_0x55e1bc(0x589,0x7fa,0x513,0x744)](_0x350334){const _0x2497f5={_0x257b40:0x4d3,_0x5d3dd3:0x493,_0x2d6fd0:0x6a9};function _0x5c6eea(_0x10d2b4,_0x5d8da9,_0x32145b,_0x2bec5d){return _0x55e1bc(_0x2bec5d,_0x5d8da9-0x1bb,_0x32145b-0x1a6,_0x32145b- -0x54);}if(_0x350334['startsWith']('/'))return''+this[_0x5c6eea(_0x2497f5._0x257b40,_0x2497f5._0x5d3dd3,0x61b,_0x2497f5._0x2d6fd0)]+_0x350334;return _0x350334;}['makeAuthHeaders'](_0x233d7d){const _0x303204={_0x3a4d5d:0x4ac,_0x3c7193:0x453,_0x5c5556:0x6d5,_0x320f54:0x460,_0x2d4243:0x36f,_0x51bbda:0x30d,_0x5ea1e6:0x480,_0x5e1a1e:0x5d6,_0x115f32:0x5af,_0x17e3f4:0x577,_0xe1fa7b:0x801,_0x5b8e29:0x45c,_0x4cb6d2:0x45e},_0x5ad8a0={_0x389719:0x6d},_0x541080={_0x3ddbae:0x4b},_0x48ddbd={'anthropic-version':_0xb2e8fc(_0x303204._0x3a4d5d,0x5b5,_0x303204._0x3c7193,_0x303204._0x5c5556),'anthropic-beta':_0xb2e8fc(0x3ef,_0x303204._0x320f54,_0x303204._0x2d4243,_0x303204._0x51bbda),..._0x233d7d||{}};function _0x4e3fc5(_0x32248c,_0x49582b,_0xa6b1f1,_0x5a2113){return _0x3a64dd(_0x32248c-_0x541080._0x3ddbae,_0x49582b,_0xa6b1f1-0xcd,_0x5a2113-0xeb);}if(this[_0x4e3fc5(_0x303204._0x5ea1e6,_0x303204._0x5e1a1e,0x63c,0x736)])_0x48ddbd['authorization']=_0x4e3fc5(0x513,0x95f,0x74b,0x641)+this[_0xb2e8fc(_0x303204._0x115f32,0x4b4,_0x303204._0x17e3f4,0x2d3)][_0x4e3fc5(_0x303204._0xe1fa7b,0x628,0x7ac,0x742)];else this[_0x4e3fc5(0x446,_0x303204._0x5b8e29,0x5f4,0x720)]&&(_0x48ddbd[_0xb2e8fc(_0x303204._0x4cb6d2,0x2f3,0x361,0x42d)]=this['apiKey']);function _0xb2e8fc(_0x1d5e61,_0xd7ecff,_0x1306ff,_0x1cf303){return _0x55e1bc(_0x1d5e61,_0xd7ecff-0x91,_0x1306ff-_0x5ad8a0._0x389719,_0xd7ecff- -0x1f7);}return _0x48ddbd;}async[_0x55e1bc(0xa99,0xa79,0xa61,0x8a3)](_0x3ec6d6,_0x435db3,_0x14dd94){const _0x29c7ce={_0x558223:0x6d4,_0xbd00dc:0x491,_0x1c5c90:0x38e,_0x6cbbea:0x205,_0x4b4499:0x323,_0x4bcf6e:0x3ec,_0x5b0a3d:0x631,_0x441919:0x63e,_0x1d5592:0x81a,_0xbf7a5d:0x737,_0x2a45f5:0x4d9,_0x47e068:0x717,_0x3467b3:0x2a1,_0x3ef788:0x60f,_0x134c7e:0x56b,_0x5e1a96:0x5dd},_0x562106={_0x563d53:0x1af,_0x480fad:0x7c,_0x1ac0d4:0x2b3},_0x37c351={_0x194d2b:0xd7};function _0x4716c0(_0x42513e,_0x1b037b,_0x4ceecd,_0x1a6b67){return _0x3a64dd(_0x42513e-0x1a8,_0x42513e,_0x1a6b67-0xd1,_0x1a6b67-_0x37c351._0x194d2b);}const _0x4b5d2a=this[_0x9d0ba3(_0x29c7ce._0x558223,_0x29c7ce._0xbd00dc,0x373,_0x29c7ce._0x1c5c90)](_0x3ec6d6);let _0x19552b=await this[_0x9d0ba3(0x5,_0x29c7ce._0x6cbbea,_0x29c7ce._0x4b4499,_0x29c7ce._0x4bcf6e)]['get'](_0x4b5d2a,this[_0x9d0ba3(0x553,_0x29c7ce._0x5b0a3d,_0x29c7ce._0x441919,_0x29c7ce._0x1d5592)](_0x435db3),_0x14dd94);function _0x9d0ba3(_0x1160ac,_0x1ef307,_0x19add6,_0xd96a5d){return _0x55e1bc(_0xd96a5d,_0x1ef307-_0x562106._0x563d53,_0x19add6-_0x562106._0x480fad,_0x1ef307- -_0x562106._0x1ac0d4);}return(_0x19552b[_0x4716c0(_0x29c7ce._0xbf7a5d,0x560,_0x29c7ce._0x2a45f5,_0x29c7ce._0x47e068)]===0x191||_0x19552b[_0x9d0ba3(0x3d0,0x4cf,0x4cd,_0x29c7ce._0x3467b3)]===0x193)&&this[_0x4716c0(0x782,0x86a,_0x29c7ce._0x3ef788,0x640)]&&(await this[_0x9d0ba3(_0x29c7ce._0x134c7e,0x607,0x6e7,_0x29c7ce._0x5e1a96)](),_0x19552b=await this['inner']['get'](_0x4b5d2a,this['makeAuthHeaders'](_0x435db3),_0x14dd94)),_0x19552b;}async[_0x3a64dd(0x367,0x1ec,0x407,0x352)](_0x52ab7b,_0x3ee196,_0x2dbd3b,_0x1c1451){const _0x2393a3={_0x46ac17:0x2d2,_0x2c3b24:0x286,_0x204cae:0x2d8,_0x1369d4:0x304,_0x5a7847:0x1a6,_0x102e36:0x25,_0x2d9cab:0x44},_0x4e8147={_0x2b5455:0x0},_0x4b4d6a={_0x540cc2:0xb7,_0x43d6f0:0x11f},_0xba0628=this[_0x10ddaf(-0x1fb,0x112,-0x183,0x6)](_0x52ab7b);let _0x336d28=await this[_0x10ddaf(-0x185,-0x23d,-_0x2393a3._0x46ac17,-_0x2393a3._0x2c3b24)][_0x10ddaf(-0x249,-0x408,-_0x2393a3._0x204cae,-0x1fb)](_0xba0628,_0x3ee196,this[_0x10ddaf(0x102,_0x2393a3._0x1369d4,0x2d3,_0x2393a3._0x5a7847)](_0x2dbd3b),_0x1c1451);function _0x1e9135(_0x15d5c0,_0x49c35f,_0xa4add7,_0x4f943e){return _0x3a64dd(_0x15d5c0-_0x4b4d6a._0x540cc2,_0x15d5c0,_0x4f943e- -0x609,_0x4f943e-_0x4b4d6a._0x43d6f0);}(_0x336d28['status']===0x191||_0x336d28[_0x10ddaf(-0xde,_0x2393a3._0x102e36,-0xd,_0x2393a3._0x2d9cab)]===0x193)&&this['oauth']&&(await this['ensureValidToken'](),_0x336d28=await this['inner']['post'](_0xba0628,_0x3ee196,this['makeAuthHeaders'](_0x2dbd3b),_0x1c1451));function _0x10ddaf(_0x5f1913,_0x512b85,_0x267223,_0x126d51){return _0x3a64dd(_0x5f1913-_0x4e8147._0x2b5455,_0x512b85,_0x126d51- -0x602,_0x126d51-0x1e9);}return _0x336d28;}['createRetryTransport'](){return new RetryTransport(this,this['retryConfig']);}[_0x55e1bc(0x93a,0x70d,0x9da,0x7df)](){const _0x50b962={_0x314353:0x99,_0x1ca380:0xbe,_0x52fa00:0x68b,_0x17a010:0x5e6,_0x339e0d:0x242,_0x17d591:0x243,_0x4b5089:0x292,_0xb08f1e:0x113,_0x11aad8:0xde,_0x361b98:0x181,_0x24d838:0x21c,_0x2b393b:0xa7,_0x48ac73:0x20,_0x595117:0x6f,_0x851748:0x38e,_0x5d5906:0x76c,_0x57e2d7:0x4e3,_0x13fa34:0x2d7,_0xbe350a:0x15f,_0x29d1fa:0x510,_0x5bbad4:0x100},_0x834c0={_0x3381ef:0x5c},_0x595c68={_0x4a6d38:0x12c},_0x3eadad={_0x5dd54a:0x942,_0x553fc7:0x85d,_0x3c8d98:0x713,_0x24b730:0x44c,_0x102e07:0x46c,_0x483dd0:0x791,_0x26bc4a:0x5a7,_0x45ee19:0x717},_0x36d5f7={_0x1e17dd:0x291},_0xc45ec1={_0x32dc40:0x21f},_0xb2962e={_0x2d2ba7:0x11c,_0xc7b44f:0x3a},_0x4c3731={_0x13093f:0x2d0},_0x1bce5b={_0x2f07e7:0x1a2,_0x46df1d:0x87,_0x58fd84:0x10d,_0x1cb85e:0x3db,_0x12dd0b:0x1a6,_0x33ef93:0x207,_0xf34f15:0x3f2,_0x357e22:0x3e8,_0x3f233a:0x121,_0x541968:0x3af,_0x15f3e1:0x3e5,_0x2311b5:0x1b7,_0xa50895:0x201,_0x558e3e:0x188,_0x44c470:0x1d6,_0x21acbd:0x10e,_0x57fc91:0x32d,_0x346077:0x3d,_0x573446:0x445,_0x49a704:0x14,_0x1021f3:0xa7,_0x5395fa:0x1d,_0x3ba5cc:0x2e5,_0x41e00e:0x484,_0x5a6333:0x35c,_0x4fee13:0x2e5,_0x29ce29:0x38f,_0x8ce1b3:0x32c,_0x5623c0:0x32d,_0x52798d:0x342,_0xe1db5e:0x2d9,_0x4de1dd:0x228,_0x5f55fb:0x27b,_0x5632e0:0x3a3,_0x4e08d3:0x84,_0x321299:0x12f,_0x196e01:0x85,_0x4ba586:0x1f7,_0x2199f4:0x22c},_0x35557f={_0x4e86f7:0xee},_0x43feb0=async(_0x39adb1,_0x3744d6)=>{function _0x7f734e(_0x55e04a,_0x42a347,_0xea3c40,_0x4441bb){return _0xb207(_0xea3c40- -0x275,_0x42a347);}let _0x52f062=_0x3744d6;if(this[_0x7f734e(_0x1bce5b._0x2f07e7,-0xfd,_0x1bce5b._0x46df1d,_0x1bce5b._0x58fd84)]){const _0x37b83c=new Headers(_0x52f062?.[_0x7f734e(_0x1bce5b._0x1cb85e,-0x35,_0x1bce5b._0x12dd0b,_0x1bce5b._0x33ef93)]);_0x37b83c[_0x7f734e(_0x1bce5b._0xf34f15,0x234,0x28b,_0x1bce5b._0x357e22)](_0x116bb3(0x4d,0xc3,-_0x1bce5b._0x3f233a,-0x1ae)),_0x37b83c[_0x116bb3(_0x1bce5b._0x541968,0x1ab,_0x1bce5b._0x15f3e1,_0x1bce5b._0x2311b5)](_0x116bb3(0x356,_0x1bce5b._0xa50895,_0x1bce5b._0x558e3e,_0x1bce5b._0x44c470),_0x7f734e(_0x1bce5b._0x21acbd,_0x1bce5b._0x57fc91,0x196,_0x1bce5b._0x346077)+this[_0x7f734e(0x1bb,-0xc8,_0x1bce5b._0x46df1d,-0x39)][_0x7f734e(0x2a5,_0x1bce5b._0x573446,0x1f7,0x2db)]),_0x37b83c['set'](_0x7f734e(0x8e,0xb2,-0x9a,-0x1a6),_0x7f734e(0x2b2,-_0x1bce5b._0x49a704,_0x1bce5b._0x1021f3,_0x1bce5b._0x5395fa)),_0x52f062={..._0x52f062,'headers':_0x37b83c};}function _0x116bb3(_0x4f0688,_0x24d6ff,_0xd9bda3,_0x23f0de){return _0xb207(_0x4f0688- -_0x35557f._0x4e86f7,_0xd9bda3);}const _0x3ccb17=await fetch(_0x39adb1,_0x52f062);if((_0x3ccb17[_0x116bb3(_0x1bce5b._0x3ba5cc,_0x1bce5b._0x41e00e,0x11e,_0x1bce5b._0x5a6333)]===0x191||_0x3ccb17[_0x116bb3(_0x1bce5b._0x4fee13,0x3f9,_0x1bce5b._0x29ce29,0x505)]===0x193)&&this[_0x7f734e(0x254,0x23,0x87,0x194)]){await this[_0x116bb3(0x41d,_0x1bce5b._0x8ce1b3,0x4f8,0x62a)]();const _0x33838c=new Headers(_0x52f062?.[_0x116bb3(_0x1bce5b._0x5623c0,0x473,0x27b,_0x1bce5b._0x52798d)]);return _0x33838c[_0x7f734e(_0x1bce5b._0xe1db5e,0xdb,_0x1bce5b._0x4de1dd,_0x1bce5b._0x5f55fb)]('authorization',_0x116bb3(0x31d,_0x1bce5b._0x5632e0,0x3a5,0x48c)+this[_0x7f734e(_0x1bce5b._0x4e08d3,-0x103,_0x1bce5b._0x46df1d,_0x1bce5b._0x321299)][_0x7f734e(_0x1bce5b._0x196e01,0x83,_0x1bce5b._0x4ba586,_0x1bce5b._0x2199f4)]),_0x52f062={..._0x52f062,'headers':_0x33838c},fetch(_0x39adb1,_0x52f062);}return _0x3ccb17;},_0x2e3bb9=new RetryTransport({'get':async(_0x4d798e,_0x5198a0,_0x143aad)=>{function _0x36101c(_0xe8c0bb,_0x2f1ac2,_0x5bee05,_0xa80ef9){return _0xb207(_0xe8c0bb- -_0x4c3731._0x13093f,_0x5bee05);}return _0x43feb0(_0x4d798e,{'method':_0x36101c(0xa7,_0xb2962e._0x2d2ba7,-_0xb2962e._0xc7b44f,-0x11f),'headers':_0x5198a0,'signal':_0x143aad});},'post':async(_0xc120fa,_0x577a6c,_0x58b60d,_0x4f1ee1)=>{function _0x2cb6dd(_0x5024a4,_0x552eaa,_0x308edb,_0x20ab6b){return _0xb207(_0x20ab6b-_0xc45ec1._0x32dc40,_0x308edb);}function _0x35c030(_0x40bb1b,_0x2cad5b,_0xdd34a9,_0x59a270){return _0xb207(_0x59a270-_0x36d5f7._0x1e17dd,_0xdd34a9);}return _0x43feb0(_0xc120fa,{'method':_0x35c030(_0x3eadad._0x5dd54a,_0x3eadad._0x553fc7,0x5c1,_0x3eadad._0x3c8d98),'headers':_0x58b60d,'body':typeof _0x577a6c===_0x2cb6dd(_0x3eadad._0x24b730,0x2a5,_0x3eadad._0x102e07,0x3d6)?_0x577a6c:JSON[_0x2cb6dd(_0x3eadad._0x483dd0,0x810,_0x3eadad._0x26bc4a,_0x3eadad._0x45ee19)](_0x577a6c),'signal':_0x4f1ee1});}},this[_0x47cea6(0x38e,0x2c7,0x3dd,0x11b)]);function _0x47cea6(_0x198a9f,_0x2d3e69,_0x111a56,_0x58c59e){return _0x55e1bc(_0x198a9f,_0x2d3e69-_0x595c68._0x4a6d38,_0x111a56-0x90,_0x2d3e69- -0x34a);}return async(_0x5bcaac,_0x4c47c5)=>{const _0x288055={_0x144ca8:0x36d,_0x327117:0xa0,_0x1aac33:0x1cb};function _0x293b78(_0x258b85,_0x14537f,_0xf775bc,_0x2a0a75){return _0x47cea6(_0x14537f,_0x258b85-0x40,_0xf775bc-_0x834c0._0x3381ef,_0x2a0a75-0x93);}function _0x35324e(_0x2dd00d,_0x26568d,_0x102e5d,_0x422aa9){return _0x47cea6(_0x422aa9,_0x26568d- -_0x288055._0x144ca8,_0x102e5d-_0x288055._0x327117,_0x422aa9-_0x288055._0x1aac33);}const _0x2214ca=typeof _0x5bcaac==='string'?_0x5bcaac:_0x5bcaac instanceof URL?_0x5bcaac[_0x293b78(0x17a,-0xf,0x295,-_0x50b962._0x314353)]():_0x5bcaac[_0x293b78(0x290,0x2c4,0x1a5,0x255)],_0x1737e4=_0x4c47c5?.[_0x35324e(0x410,0x230,0x151,0x22a)]?.[_0x293b78(0x2b7,0x1bd,0x39f,_0x50b962._0x1ca380)]()??'GET',_0x308e98=_0x4c47c5?.[_0x293b78(0x4c0,0x6b0,_0x50b962._0x52fa00,_0x50b962._0x17a010)]?Object[_0x293b78(_0x50b962._0x339e0d,_0x50b962._0x17d591,0x97,0x61)](new Headers(_0x4c47c5[_0x35324e(_0x50b962._0x4b5089,_0x50b962._0xb08f1e,-_0x50b962._0x11aad8,0x173)])[_0x35324e(-_0x50b962._0x361b98,-_0x50b962._0x24d838,-_0x50b962._0x2b393b,_0x50b962._0x48ac73)]()):void 0x0;if(_0x1737e4===_0x35324e(0x20c,_0x50b962._0x595117,0x32,0x38))return _0x2e3bb9[_0x293b78(0x599,_0x50b962._0x851748,_0x50b962._0x5d5906,_0x50b962._0x57e2d7)](_0x2214ca,_0x308e98,_0x4c47c5?.[_0x293b78(_0x50b962._0x13fa34,_0x50b962._0xbe350a,0x4f2,_0x50b962._0x29d1fa)]??void 0x0);return _0x2e3bb9['post'](_0x2214ca,_0x4c47c5?.['body'],_0x308e98,_0x4c47c5?.[_0x35324e(_0x50b962._0x5bbad4,-0xd6,-0x31c,-0x2b)]??void 0x0);};}[_0x55e1bc(0x49d,0x5e1,0x555,0x5de)](){const _0x348749={_0x29cd2b:0x219,_0x4de7fd:0x2dd},_0x3203ea={_0x53e195:0x49};function _0x28acaa(_0x277097,_0x217233,_0x15c72f,_0x569079){return _0x55e1bc(_0x15c72f,_0x217233-0xdd,_0x15c72f-_0x3203ea._0x53e195,_0x569079- -0x3c7);}return this[_0x28acaa(_0x348749._0x29cd2b,_0x348749._0x4de7fd,0x35c,0x2a8)];}[_0x3a64dd(0x50d,0x139,0x371,0x5bb)](){const _0x8fcd7a={_0x1ff965:0x8};function _0x1702a6(_0x597edb,_0x4eaf80,_0x404a25,_0x31b6a7){return _0x55e1bc(_0x404a25,_0x4eaf80-_0x8fcd7a._0x1ff965,_0x404a25-0xa1,_0x31b6a7- -0x7);}return this[_0x1702a6(0x888,0x4a2,0x8b5,0x6a4)];}['getApiKey'](){const _0x12d19e={_0x2fc4a2:0x34b,_0x1dd3d5:0x3de,_0x36b0e:0x62a,_0xff402:0x4a7},_0x121048={_0x214b3d:0x149,_0x536d70:0x110};function _0x408c95(_0x57fb20,_0x1d70d1,_0x5b0312,_0x43165a){return _0x3a64dd(_0x57fb20-0x169,_0x5b0312,_0x1d70d1- -_0x121048._0x214b3d,_0x43165a-_0x121048._0x536d70);}return this[_0x408c95(_0x12d19e._0x2fc4a2,_0x12d19e._0x1dd3d5,_0x12d19e._0x36b0e,_0x12d19e._0xff402)];}},BaseBearerAuthTransport=class{[_0x55e1bc(0x684,0x519,0x2bf,0x4b8)];[_0x55e1bc(0x873,0x41d,0x57b,0x663)];[_0x55e1bc(0x889,0x7fa,0x7ee,0x66f)];[_0x55e1bc(0x8b5,0x4f1,0x54a,0x6cc)];[_0x55e1bc(0x2f7,0x557,0x695,0x4bb)];constructor(_0x74905d,_0x4492cf,_0x7a7a97,_0x283298,_0x933320){const _0x3f3668={_0x1ea2f9:0x356,_0x18097c:0x17b,_0x10e024:0x515,_0x1cf59b:0xd2,_0x419fc1:0x92},_0x4ba78f={_0x2030b5:0x2c1},_0x1a70b5={_0x6e39a3:0xe8,_0x2d12a3:0x2ab};this['inner']=_0x74905d,this[_0x6b3bed(_0x3f3668._0x1ea2f9,0x3b8,_0x3f3668._0x18097c,0x327)]=_0x4492cf,this[_0x6b3bed(0x59f,0x3c4,0x368,0x5ba)]=_0x7a7a97??this[_0x6b3bed(0x6c3,0x4fd,0x414,0x30e)]();function _0x6b3bed(_0xdf720e,_0x196cbc,_0x2eaa0f,_0x304a53){return _0x55e1bc(_0x304a53,_0x196cbc-0xe0,_0x2eaa0f-_0x1a70b5._0x6e39a3,_0x196cbc- -_0x1a70b5._0x2d12a3);}function _0x3e8a1b(_0x16ee52,_0x425267,_0x53faec,_0x2e7ce1){return _0x55e1bc(_0x2e7ce1,_0x425267-0x17b,_0x53faec-0x1e8,_0x425267- -_0x4ba78f._0x2030b5);}this[_0x3e8a1b(0x21f,0x40b,_0x3f3668._0x10e024,0x532)]=_0x283298,this[_0x6b3bed(_0x3f3668._0x1cf59b,0x210,0x311,_0x3f3668._0x419fc1)]=_0x933320;}[_0x3a64dd(0x79f,0x82b,0x608,0x4ef)](_0x19ffaa){const _0x217733={_0x5bc070:0x74b},_0x3ef73a={_0x8cb75e:0x1d5,_0x4cd5d0:0x13f};if(_0x19ffaa['startsWith']('/'))return''+this[_0x178667(0x527,0x4d3,_0x217733._0x5bc070,0x70d)]+_0x19ffaa;function _0x178667(_0x38c6bb,_0x453642,_0x2d9154,_0x44bb11){return _0x55e1bc(_0x2d9154,_0x453642-_0x3ef73a._0x8cb75e,_0x2d9154-_0x3ef73a._0x4cd5d0,_0x38c6bb- -0x148);}return _0x19ffaa;}[_0x55e1bc(0x876,0x698,0x92d,0x8e4)](_0x52ea12){const _0x2da4d3={_0x45519b:0x28e,_0x26357b:0x147,_0x344e63:0x86c,_0x26365e:0x9a9,_0x2dc05a:0x3e5,_0x14979d:0x52a,_0x294ff8:0x41d,_0x2500af:0x4da,_0x3831dc:0x7a0,_0x4a0846:0x614,_0xe21d50:0x754,_0x3c14f9:0x614,_0x5ec581:0x221,_0x4d1206:0x18b,_0x420663:0x3ed,_0x118810:0x504,_0x2f7994:0x657,_0x2fcc5d:0x216,_0x52333a:0x3f3,_0x3e7b7f:0x457},_0x5074d8={_0x3f7c1d:0xe2,_0x10f086:0x179};function _0x4a66d6(_0x3fb9ec,_0x1d6095,_0x18f640,_0x529ae3){return _0x3a64dd(_0x3fb9ec-0x9c,_0x18f640,_0x529ae3- -0x54a,_0x529ae3-0xcf);}const _0x434e9b=_0x52ea12?{..._0x52ea12}:{};!_0x434e9b['User-Agent']&&this[_0x4a66d6(_0x2da4d3._0x45519b,-0x105,-_0x2da4d3._0x26357b,0x46)]&&(_0x434e9b[_0x3f10fe(_0x2da4d3._0x344e63,0x7b3,_0x2da4d3._0x26365e,_0x2da4d3._0x26365e)]=_0x3f10fe(_0x2da4d3._0x2dc05a,_0x2da4d3._0x14979d,_0x2da4d3._0x294ff8,_0x2da4d3._0x2500af)+this['version']);function _0x3f10fe(_0x294524,_0x5e2fac,_0x42832f,_0x150d53){return _0x55e1bc(_0x294524,_0x5e2fac-_0x5074d8._0x3f7c1d,_0x42832f-_0x5074d8._0x10f086,_0x5e2fac- -0x4f);}return this[_0x3f10fe(_0x2da4d3._0x3831dc,_0x2da4d3._0x4a0846,0x670,_0x2da4d3._0xe21d50)]&&this[_0x3f10fe(0x40d,_0x2da4d3._0x3c14f9,0x685,0x4e4)]['trim']()!==''&&!this[_0x4a66d6(-_0x2da4d3._0x5ec581,-_0x2da4d3._0x4d1206,-_0x2da4d3._0x420663,-0x1cb)]?.['Authorization']&&(_0x434e9b[_0x3f10fe(_0x2da4d3._0x118810,0x42b,_0x2da4d3._0x2f7994,_0x2da4d3._0x2fcc5d)]='Bearer\x20'+this[_0x3f10fe(0x522,_0x2da4d3._0x3c14f9,0x74c,0x627)]),this['customHeaders']&&Object['assign'](_0x434e9b,this[_0x3f10fe(_0x2da4d3._0x52333a,0x46c,_0x2da4d3._0x3e7b7f,0x546)]),_0x434e9b;}async[_0x55e1bc(0xad6,0x8d8,0x78e,0x8a3)](_0x250ef8,_0x3cd4ff,_0x3b53df){const _0x341f6c={_0x40ab2b:0x4bf,_0x1ef17d:0xa26,_0x376778:0x818},_0x16c910={_0x5aa65a:0xe8,_0x5c15c7:0x0,_0x1a179b:0xcc},_0x2b4670={_0x305bdb:0x5cd,_0x192bb1:0x153};function _0x44c02b(_0x379ce6,_0x1291e7,_0x2fdd9a,_0xf4ea3){return _0x3a64dd(_0x379ce6-0x14c,_0x2fdd9a,_0x379ce6- -_0x2b4670._0x305bdb,_0xf4ea3-_0x2b4670._0x192bb1);}const _0x3015b6=this[_0x47f747(0x706,0x678,0x5b5,_0x341f6c._0x40ab2b)](_0x250ef8);function _0x47f747(_0x119202,_0x2cb082,_0x21dff9,_0x46af65){return _0x55e1bc(_0x21dff9,_0x2cb082-_0x16c910._0x5aa65a,_0x21dff9-_0x16c910._0x5c15c7,_0x2cb082- -_0x16c910._0x1a179b);}return this[_0x44c02b(-0x251,-0x142,-0x472,-0x40c)]['get'](_0x3015b6,this[_0x47f747(_0x341f6c._0x1ef17d,_0x341f6c._0x376778,0x956,0x90d)](_0x3cd4ff),_0x3b53df);}async['post'](_0x33c6f8,_0x341c05,_0x34ebb3,_0x3decc3){const _0x5d2224={_0x3c427a:0x1b3,_0x113425:0x4b,_0x15dd02:0x241,_0x1dfc0d:0x322,_0x34ebdc:0x1db},_0x280483={_0x1652c0:0x64},_0x2a7495={_0x30533f:0x10,_0x331d5e:0xbe,_0x288636:0x76d};function _0x3fe1f6(_0x416299,_0xf1860a,_0x1f11a6,_0x23e2fb){return _0x55e1bc(_0x416299,_0xf1860a-_0x2a7495._0x30533f,_0x1f11a6-_0x2a7495._0x331d5e,_0x23e2fb- -_0x2a7495._0x288636);}const _0x2f24af=this[_0x45d153(0x233,_0x5d2224._0x3c427a,_0x5d2224._0x113425,0x2b)](_0x33c6f8);function _0x45d153(_0x2be5f8,_0x80dcab,_0x76a4ff,_0x405bb5){return _0x3a64dd(_0x2be5f8-_0x280483._0x1652c0,_0x2be5f8,_0x76a4ff- -0x5bd,_0x405bb5-0x54);}return this[_0x45d153(-0x48,-0x42,-_0x5d2224._0x15dd02,-0x434)]['post'](_0x2f24af,_0x341c05,this[_0x3fe1f6(-0x23,_0x5d2224._0x1dfc0d,_0x5d2224._0x34ebdc,0x177)](_0x34ebb3),_0x3decc3);}},SimpleBearerAuthTransport=class extends BaseBearerAuthTransport{[_0x55e1bc(0x66b,0xa36,0x842,0x8b2)];constructor(_0x4e94dc,_0x1ba988,_0x327eb3,_0x50570d,_0x4aa17f,_0x46fe8d){super(_0x4e94dc,_0x327eb3,_0x50570d??_0x1ba988,_0x4aa17f,_0x46fe8d),this['defaultUrl']=_0x1ba988;}[_0x55e1bc(0x647,0x7a8,0x5ca,0x7a8)](){const _0x21bf5b={_0x225295:0x635,_0x35e948:0x6c2},_0x132131={_0x1cded0:0x1f0};function _0x4d7e21(_0x391ccc,_0x280893,_0x491cf9,_0x493efb){return _0x55e1bc(_0x280893,_0x280893-0x1c5,_0x491cf9-0x9b,_0x493efb- -_0x132131._0x1cded0);}return this[_0x4d7e21(0x670,_0x21bf5b._0x225295,0x865,_0x21bf5b._0x35e948)];}};function createTransport(_0x3996b2,_0x407254,_0x3714a3,_0xa18b4a,_0x5d4515,_0x4e2b86){return new SimpleBearerAuthTransport(_0x3996b2,_0x407254,_0x3714a3,_0xa18b4a,_0x5d4515,_0x4e2b86);}var LLMErrorTransport=class{constructor(_0x512767){function _0x38dc27(_0x1969ec,_0x5afc8b,_0x589514,_0x4d859b){return _0x55e1bc(_0x5afc8b,_0x5afc8b-0x14a,_0x589514-0x1c4,_0x1969ec- -0x4d2);}this[_0x38dc27(-0x1a,0x1c9,-0xa4,0xc9)]=_0x512767;}async[_0x55e1bc(0x7af,0x719,0xa37,0x8a3)](_0x16d8ec,_0x2556dc,_0x16ec07){const _0x184046={_0x4a8cbd:0x179,_0x3de31f:0x1af,_0x3ed46e:0xf7,_0xd26eda:0x67,_0x6de2d8:0x3b0,_0x227c00:0x18b,_0x5dcfad:0x193,_0x52ab26:0x16c,_0x5994d2:0x10b,_0x5dd70d:0x23b,_0x1c7362:0xd0,_0x47a03c:0x1fc,_0x5ef285:0x1f6,_0x2400f6:0x213},_0x251f61={_0x374977:0x29,_0x170b8a:0x5d4,_0x37d2a6:0x33},_0x586878={_0x5602c1:0x173,_0x4e2864:0xb9,_0x3e3df0:0x78d};function _0x18136a(_0x486221,_0x1c1667,_0x395980,_0x71491d){return _0x55e1bc(_0x1c1667,_0x1c1667-_0x586878._0x5602c1,_0x395980-_0x586878._0x4e2864,_0x395980- -_0x586878._0x3e3df0);}function _0x277692(_0x3c38f5,_0x5111b4,_0x53e2f2,_0x4fad87){return _0x3a64dd(_0x3c38f5-_0x251f61._0x374977,_0x3c38f5,_0x4fad87- -_0x251f61._0x170b8a,_0x4fad87-_0x251f61._0x37d2a6);}try{const _0x4e334b=await this[_0x18136a(-_0x184046._0x4a8cbd,-_0x184046._0x3de31f,-0x2d5,-_0x184046._0x3ed46e)][_0x277692(_0x184046._0xd26eda,_0x184046._0x6de2d8,_0x184046._0x227c00,_0x184046._0x5dcfad)](_0x16d8ec,_0x2556dc,_0x16ec07);if(!_0x4e334b['ok']){const _0x17a53d=await _0x4e334b['text']();this[_0x277692(_0x184046._0x52ab26,-_0x184046._0x5994d2,_0x184046._0x5dd70d,0xd1)](_0x4e334b[_0x18136a(_0x184046._0x1c7362,_0x184046._0x47a03c,-0xb,_0x184046._0x5ef285)],_0x17a53d);}return _0x4e334b;}catch(_0x40272b){this[_0x18136a(-0x112,-_0x184046._0x2400f6,-0x167,0x3b)](_0x40272b);}}async[_0x55e1bc(0x643,0x4d9,0x736,0x543)](_0x3e9828,_0x510759,_0x3b5a32,_0x22f22c){const _0x218a47={_0x95c9aa:0x276,_0x22829b:0x1d7,_0xa4fd53:0x1d7,_0x537f0d:0x261,_0x276a86:0x2c4,_0x5c1c3a:0x328,_0x521749:0x142,_0x22e050:0x449,_0x34354b:0x502,_0x3ee0ed:0x4a0,_0x47e720:0x27d,_0x1e831b:0x504,_0x6ec489:0x2ac,_0x52d8ca:0x344,_0x5d95a8:0x398,_0x24d088:0x37b,_0x1df8b1:0x457},_0x28f44f={_0x142c7e:0x2e2},_0x504941={_0x28e022:0x1ee};function _0x1eb29e(_0x4cd827,_0x22b7e2,_0x31a253,_0x4db43f){return _0x3a64dd(_0x4cd827-_0x504941._0x28e022,_0x4cd827,_0x31a253- -0x2cb,_0x4db43f-0x61);}function _0x3b4fb7(_0x18538,_0xa62a51,_0x1d965d,_0x8ff7a5){return _0x55e1bc(_0xa62a51,_0xa62a51-0x121,_0x1d965d-0x2f,_0x18538- -_0x28f44f._0x142c7e);}try{const _0x2a9368=await this[_0x1eb29e(_0x218a47._0x95c9aa,_0x218a47._0x22829b,0xb1,_0x218a47._0xa4fd53)][_0x3b4fb7(_0x218a47._0x537f0d,_0x218a47._0x276a86,0xc1,0xd7)](_0x3e9828,_0x510759,_0x3b5a32,_0x22f22c);if(!_0x2a9368['ok']){const _0x87a71=await _0x2a9368[_0x3b4fb7(_0x218a47._0x5c1c3a,0x570,_0x218a47._0x521749,_0x218a47._0x22e050)]();this[_0x1eb29e(0x332,0x1a1,0x3da,_0x218a47._0x34354b)](_0x2a9368[_0x3b4fb7(_0x218a47._0x3ee0ed,_0x218a47._0x47e720,_0x218a47._0x1e831b,_0x218a47._0x6ec489)],_0x87a71);}return _0x2a9368;}catch(_0x119302){this[_0x3b4fb7(_0x218a47._0x52d8ca,_0x218a47._0x5d95a8,_0x218a47._0x24d088,_0x218a47._0x1df8b1)](_0x119302);}}['throwLLMError'](_0x2085bb,_0x3a3714){const _0xeea9d9={_0x141d2d:0x461,_0x523887:0x2b7,_0x3bb9b9:0x5ba,_0x4bec85:0x7c8,_0x15f0cb:0x635,_0x171354:0x4fd},_0x5d1dc6={_0x454e56:0x47},_0x4af4b0={_0x419e7d:0x210},_0x1f69a5=_0x3a3714||_0x5909e4(_0xeea9d9._0x141d2d,0x367,0x2b9,_0xeea9d9._0x523887)+_0x2085bb;if(_0x2085bb===0x1ad||_0x2085bb===0x198)throw new LLMError(_0x226f54(0x9c0,0x65f,0x850,0x7f6),_0x2085bb,!![]);else{if(_0x2085bb===0x191||_0x2085bb===0x193)throw new LLMError('Authentication\x20failed.\x20Please\x20check\x20your\x20API\x20key.',_0x2085bb,![]);else{if(_0x2085bb===0x190)throw new LLMError(_0x226f54(_0xeea9d9._0x3bb9b9,_0xeea9d9._0x4bec85,_0xeea9d9._0x15f0cb,0x70c)+_0x1f69a5,_0x2085bb,![]);else{if(isRetryableStatusCode(_0x2085bb,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x5909e4(0x478,0x326,_0xeea9d9._0x171354,0x21f),_0x2085bb,!![]);}}}function _0x5909e4(_0x184a0c,_0x2fa72c,_0xb6f086,_0x45b021){return _0x55e1bc(_0x184a0c,_0x2fa72c-0x3a,_0xb6f086-0x55,_0x2fa72c- -_0x4af4b0._0x419e7d);}function _0x226f54(_0x5f4299,_0x24c3f0,_0x5ddf0d,_0x32330c){return _0x3a64dd(_0x5f4299-0x35,_0x5ddf0d,_0x32330c-_0x5d1dc6._0x454e56,_0x32330c-0xc1);}throw new LLMError(_0x1f69a5,_0x2085bb,![]);}[_0x3a64dd(0x730,0x550,0x4ea,0x714)](_0x4be032){const _0x352573={_0x4c70e0:0x22,_0x458049:0x52,_0x5524d6:0x273,_0x91ff60:0x2c6,_0x5105bb:0x3bb,_0x589512:0x1a5,_0x135090:0x140,_0xf8879c:0x4a0,_0x3372a1:0x3d4,_0x3f7d68:0x48d,_0x52878c:0x11b,_0x2de4fa:0x1d4},_0xcdcfe3={_0x1aea67:0x9f};function _0x485db0(_0x122bfd,_0x4d8e57,_0x51a95a,_0x50ed30){return _0x55e1bc(_0x122bfd,_0x4d8e57-0x168,_0x51a95a-0xd3,_0x50ed30- -0x53a);}if(_0x4be032 instanceof LLMError)throw _0x4be032;if(_0x4be032 instanceof Error&&_0x4be032[_0x485db0(-0x133,0xa8,0x79,_0x352573._0x4c70e0)]==='AbortError')throw new LLMError(_0x106987(-_0x352573._0x458049,-0x56,-_0x352573._0x5524d6,0x104),void 0x0,![],_0x4be032);if(_0x4be032 instanceof Error){if(_0x4be032[_0x106987(_0x352573._0x91ff60,0x3e5,_0x352573._0x5105bb,0x3d5)]['includes'](_0x106987(0x150,0x356,0x35b,_0x352573._0x589512)))throw new LLMError('Rate\x20limit\x20exceeded.\x20Please\x20try\x20again\x20later.',0x1ad,!![],_0x4be032);const _0x5278ae=isRetryableError(_0x4be032,DEFAULT_RETRYABLE_STATUS_CODES);if(_0x5278ae)throw new LLMError(_0x106987(0x94,0x17a,-_0x352573._0x135090,0xd8),void 0x0,!![],_0x4be032);throw new LLMError(_0x4be032[_0x106987(_0x352573._0x91ff60,_0x352573._0xf8879c,_0x352573._0x3372a1,_0x352573._0x3f7d68)],void 0x0,![],_0x4be032);}function _0x106987(_0x814159,_0x29d857,_0x2743ff,_0x59ccc2){return _0x55e1bc(_0x2743ff,_0x29d857-_0xcdcfe3._0x1aea67,_0x2743ff-0x148,_0x814159- -0x62b);}throw new LLMError(_0x106987(-_0x352573._0x52878c,-0xca,-0x14c,-_0x352573._0x2de4fa),void 0x0,![],_0x4be032);}};function mergeChoices(_0x5e9710){const _0x47a819={_0x5d4756:0x4dc,_0x16e25f:0x350,_0x8c5689:0x330,_0x59ba0c:0x590,_0x13df7a:0x2ac,_0x4d99e5:0x2cc,_0x3ab47e:0x3b0,_0x360ac6:0x320,_0x1daa82:0x9,_0x34504f:0x280,_0x26f857:0x244,_0x490c1b:0x3e1,_0x3ba91b:0x322,_0x3b9fca:0x4e2,_0xc89efa:0x255,_0x1b14d2:0x245,_0x40031e:0x283,_0x2fbbd1:0x2b0,_0x3f4cad:0x301,_0x4a6659:0x402,_0x3fa9c5:0x277,_0x5715cb:0x2cd},_0x120f89={_0xd8838f:0xac,_0x404cd2:0x18c},_0x595a59={_0x162016:0x5bc,_0x2a7a20:0x2ab,_0x548f9d:0x3a3,_0x7f33a8:0x399,_0x5a3ffa:0x6b1,_0x590925:0x614,_0x2ab120:0x245,_0x1a2326:0x2f4,_0x3f1f5b:0x264,_0x505f66:0x8f,_0x4d147f:0x65f,_0x4ed056:0x6bb,_0x405aa9:0x59a,_0x4e2f4d:0x5b3,_0x14bdca:0x677,_0x579eb3:0x44e,_0x7d7d98:0x650,_0x1eefe2:0x48d,_0x17f098:0x673,_0x59c0f5:0x5d4,_0x4d904f:0x313,_0x7adc90:0x381},_0x47e583={_0x441ba2:0x1d8},_0x49eb1f=[];function _0x5c6b92(_0x197385,_0x17749d,_0x3675f2,_0x279ea5){return _0x55e1bc(_0x279ea5,_0x17749d-0x1d0,_0x3675f2-_0x47e583._0x441ba2,_0x197385- -0x415);}const _0x5b9100=[],_0x3deef2={},_0x4097fb=_0x17aef3=>{function _0x27a2a3(_0x447550,_0x46398a,_0x52e015,_0x295022){return _0xb207(_0x52e015-0xfd,_0x447550);}if(typeof _0x17aef3===_0x1d6dff(_0x595a59._0x162016,0x3e9,_0x595a59._0x2a7a20,_0x595a59._0x548f9d)){const _0x122991=_0x17aef3[_0x27a2a3(_0x595a59._0x7f33a8,_0x595a59._0x5a3ffa,0x56a,_0x595a59._0x590925)]();if(_0x122991)_0x49eb1f[_0x27a2a3(_0x595a59._0x2ab120,_0x595a59._0x1a2326,_0x595a59._0x3f1f5b,_0x595a59._0x505f66)](_0x122991);return;}function _0x1d6dff(_0x278990,_0x13900a,_0x5dbe2c,_0x19cf99){return _0xb207(_0x13900a-0x232,_0x19cf99);}if(Array[_0x1d6dff(_0x595a59._0x4d147f,_0x595a59._0x4ed056,_0x595a59._0x405aa9,0x493)](_0x17aef3))for(const _0x32f895 of _0x17aef3){if(_0x32f895?.[_0x27a2a3(_0x595a59._0x4e2f4d,_0x595a59._0x14bdca,_0x595a59._0x579eb3,0x226)]===_0x1d6dff(_0x595a59._0x7d7d98,_0x595a59._0x1eefe2,_0x595a59._0x17f098,_0x595a59._0x59c0f5)){const _0x4e112a=_0x32f895['text']['trim']();if(_0x4e112a)_0x49eb1f[_0x1d6dff(_0x595a59._0x4d904f,0x399,0x2e8,_0x595a59._0x7adc90)](_0x4e112a);}}};for(const _0x1fc512 of _0x5e9710||[]){const _0x1a2ae7=_0x1fc512?.[_0x5c6b92(_0x47a819._0x5d4756,_0x47a819._0x16e25f,_0x47a819._0x8c5689,_0x47a819._0x59ba0c)];if(!_0x1a2ae7)continue;_0x4097fb(_0x1a2ae7[_0x526124(_0x47a819._0x13df7a,_0x47a819._0x4d99e5,_0x47a819._0x3ab47e,0x494)]);if(Array[_0x5c6b92(0x423,0x3ba,0x206,0x5f0)](_0x1a2ae7['tool_calls']))_0x5b9100[_0x5c6b92(0x101,_0x47a819._0x360ac6,-_0x47a819._0x1daa82,_0x47a819._0x34504f)](..._0x1a2ae7[_0x526124(_0x47a819._0x26f857,_0x47a819._0x490c1b,_0x47a819._0x3ba91b,_0x47a819._0x3b9fca)]);const _0x9f9281=[_0x5c6b92(_0x47a819._0xc89efa,0x3a3,0x47e,0xfe),_0x526124(0x277,0x3e1,0x3e7,0x23d),'role'];for(const _0x1d14e7 of Object[_0x5c6b92(_0x47a819._0x1b14d2,0x27,_0x47a819._0x40031e,_0x47a819._0x2fbbd1)](_0x1a2ae7)){!_0x9f9281[_0x526124(0x10a,_0x47a819._0x3f4cad,_0x47a819._0x4a6659,0x39c)](_0x1d14e7)&&(_0x3deef2[_0x1d14e7]=_0x1a2ae7[_0x1d14e7]);}}const _0x3ffd2b=_0x49eb1f['join']('\x0a\x0a'),_0x2a5203=_0x5b9100[_0x5c6b92(_0x47a819._0x3fa9c5,_0x47a819._0x5715cb,0x40f,0x343)]?_0x5b9100:void 0x0;function _0x526124(_0x4ccd05,_0x2184e2,_0x40d6f1,_0x3c1bbc){return _0x55e1bc(_0x3c1bbc,_0x2184e2-_0x120f89._0xd8838f,_0x40d6f1-_0x120f89._0x404cd2,_0x2184e2- -0x39e);}return{'content':_0x3ffd2b,..._0x2a5203?{'tool_calls':_0x2a5203}:{},..._0x3deef2};}var LLMError=class _LLMError extends Error{constructor(_0x17d28e,_0x5f31af,_0x2850e7=![],_0xbf7421){const _0x12afad={_0x354495:0x556,_0x433519:0x364,_0x327ee1:0x12f,_0x30b9b9:0x184,_0x2d826a:0x216,_0x5edbf1:0x7e,_0x3668a3:0x28b,_0x20b3a2:0x302,_0x44b138:0x34e,_0x13f1f8:0x70b},_0x4d1adb={_0x39b289:0x13d};function _0x4fc8b7(_0x540176,_0x44fd11,_0x1d1d4c,_0xe0c8a5){return _0x3a64dd(_0x540176-0x1e8,_0xe0c8a5,_0x1d1d4c- -_0x4d1adb._0x39b289,_0xe0c8a5-0x11a);}super(_0x17d28e,_0xbf7421?{'cause':_0xbf7421}:void 0x0),this[_0x4fc8b7(_0x12afad._0x354495,0x388,_0x12afad._0x433519,_0x12afad._0x327ee1)]=_0x5f31af;function _0x407954(_0x5b74f0,_0x101ee2,_0x175b9f,_0xc3a4e8){return _0x55e1bc(_0x5b74f0,_0x101ee2-0xeb,_0x175b9f-0x162,_0x175b9f- -0x615);}this[_0x407954(_0x12afad._0x30b9b9,_0x12afad._0x2d826a,_0x12afad._0x5edbf1,_0x12afad._0x3668a3)]=_0x2850e7,this['name']=_0x4fc8b7(_0x12afad._0x20b3a2,_0x12afad._0x44b138,0x4f9,_0x12afad._0x13f1f8),Error['captureStackTrace']&&Error['captureStackTrace'](this,_LLMError);}},BaseLLM=class{[_0x3a64dd(0x4d7,0x819,0x705,0x58c)]=null;[_0x3a64dd(0x76b,0x8f6,0x6db,0x659)];[_0x55e1bc(0xa39,0x6a4,0x7a4,0x803)]=![];[_0x55e1bc(0x3e7,0x4a1,0x7ad,0x611)];constructor(_0x2823c0,_0x4e22aa){const _0x7de6b9={_0x36a862:0xe1,_0x4ca309:0x208,_0x5aba95:0x1d4,_0x38bc41:0x100,_0x24615d:0xc1,_0x3a9d12:0x16e,_0x5e1bc1:0x194,_0x4f76b9:0x5a},_0x41b23c={_0x56c0e9:0x7e};function _0x19a77a(_0x8ed90a,_0xcb0b5f,_0x162e7d,_0x2dd4d9){return _0x55e1bc(_0xcb0b5f,_0xcb0b5f-0x1c6,_0x162e7d-0x1f2,_0x2dd4d9- -0x505);}this['apiUrl']=_0x2823c0;function _0x1956d1(_0x241ee5,_0x1ecd80,_0x4e1487,_0x18c563){return _0x55e1bc(_0x4e1487,_0x1ecd80-_0x41b23c._0x56c0e9,_0x4e1487-0x3e,_0x1ecd80- -0x6a7);}this[_0x1956d1(0x270,0x15c,_0x7de6b9._0x36a862,0xba)]=_0x4e22aa?.['enablePromptCaching']??![],this[_0x19a77a(_0x7de6b9._0x4ca309,_0x7de6b9._0x5aba95,-_0x7de6b9._0x38bc41,0x10c)]=_0x4e22aa?.[_0x1956d1(-_0x7de6b9._0x24615d,-_0x7de6b9._0x3a9d12,-_0x7de6b9._0x5e1bc1,_0x7de6b9._0x4f76b9)];}[_0x3a64dd(0x5bd,0x727,0x57b,0x7a6)](_0x1cf0ed){const _0x29cc96={_0xa08786:0x377,_0x472aca:0x229,_0x357420:0x29f,_0x4de3ee:0x1a8,_0x2053b2:0xd,_0x34f85c:0x338,_0x4ef5b5:0x1cf,_0x5a4ea0:0x3bc,_0x37567f:0x332,_0x202a83:0x217,_0x179e89:0x9f,_0x12dd64:0x479,_0xb0c94:0x31b,_0x5457f1:0x12f,_0x8c2d36:0x140,_0x48148f:0x17b,_0x554eee:0x58,_0x518bc0:0xa0,_0x1b499d:0x1ac,_0x506c79:0x28e,_0x1cea15:0xd2,_0x4399a1:0x256,_0xf75640:0x5f,_0x55437f:0x62,_0x36f559:0x16,_0xca27f3:0x6ed,_0x1b43ba:0x5ff,_0x5021a4:0x4c4,_0x2ffebd:0x5ac,_0x5e30fc:0x5a6,_0x553fcc:0x3d6,_0x1c8db4:0x32a,_0x2d49e5:0x2ac},_0x24ef79={_0x2cd754:0x65};if(!_0x1cf0ed)return void 0x0;const _0x531a5e=_0x1cf0ed;function _0x152b9e(_0xf3f017,_0x33cf8c,_0x106d0d,_0x5f4b48){return _0x55e1bc(_0xf3f017,_0x33cf8c-0x170,_0x106d0d-0xb4,_0x106d0d- -0x3ed);}function _0x539a4c(_0xa9b426,_0x10442d,_0x4ec0e7,_0x8d9ab){return _0x55e1bc(_0xa9b426,_0x10442d-0x13e,_0x4ec0e7-_0x24ef79._0x2cd754,_0x4ec0e7- -0x517);}const _0x18105d=_0x531a5e[_0x152b9e(0x3ce,0x1f0,_0x29cc96._0xa08786,_0x29cc96._0x472aca)]??_0x531a5e[_0x152b9e(0x454,_0x29cc96._0x357420,0x305,0x21c)],_0x6f750a=_0x531a5e[_0x539a4c(-_0x29cc96._0x4de3ee,0x67,-0x8f,_0x29cc96._0x2053b2)]??_0x531a5e[_0x152b9e(_0x29cc96._0x34f85c,_0x29cc96._0x4ef5b5,_0x29cc96._0x5a4ea0,_0x29cc96._0x37567f)],_0x3f9c46=_0x531a5e[_0x152b9e(-0x147,_0x29cc96._0x202a83,_0x29cc96._0x179e89,0x232)]??(_0x18105d!=null&&_0x6f750a!=null?_0x18105d+_0x6f750a:void 0x0),_0x595adf=_0x531a5e[_0x152b9e(0x4cc,_0x29cc96._0x12dd64,_0x29cc96._0xb0c94,_0x29cc96._0x5457f1)]??_0x531a5e['estimated_cost'];return{'prompt_tokens':_0x18105d,'completion_tokens':_0x6f750a,'total_tokens':_0x3f9c46,..._0x531a5e[_0x539a4c(_0x29cc96._0x8c2d36,_0x29cc96._0x48148f,-_0x29cc96._0x554eee,-_0x29cc96._0x518bc0)]!==void 0x0&&{'reasoning_tokens':_0x531a5e[_0x152b9e(_0x29cc96._0x1b499d,_0x29cc96._0x506c79,_0x29cc96._0x1cea15,0x2d2)]},..._0x531a5e['prompt_tokens_details']&&{'prompt_tokens_details':_0x531a5e['prompt_tokens_details']},..._0x531a5e['completion_tokens_details']&&{'completion_tokens_details':_0x531a5e['completion_tokens_details']},..._0x595adf!==void 0x0&&{'cost':_0x595adf},..._0x531a5e[_0x539a4c(_0x29cc96._0x4399a1,0x2e5,0x1d9,_0x29cc96._0xf75640)]&&{'cost_details':_0x531a5e[_0x539a4c(0x2c9,-_0x29cc96._0x55437f,0x1d9,-_0x29cc96._0x36f559)]},..._0x531a5e[_0x152b9e(_0x29cc96._0xca27f3,0x65c,0x4c4,0x366)]!==void 0x0&&{'cache_creation_input_tokens':_0x531a5e[_0x152b9e(_0x29cc96._0x1b43ba,0x5c5,_0x29cc96._0x5021a4,_0x29cc96._0x2ffebd)]},..._0x531a5e[_0x152b9e(_0x29cc96._0x5e30fc,0x384,_0x29cc96._0x553fcc,0x586)]!==void 0x0&&{'cache_read_input_tokens':_0x531a5e[_0x539a4c(_0x29cc96._0x1c8db4,0x1ad,_0x29cc96._0x2d49e5,0x1c1)]}};}['getTransport'](){const _0x48516={_0x5da772:0x42b,_0x5687e9:0x394,_0x22ea84:0xd5,_0x2d7d20:0x1ef,_0x4ecffb:0x393,_0x192487:0x486,_0x49e104:0x476},_0x284371={_0x4f11d5:0xdc,_0x33992c:0x416},_0xbf211c={_0x5949ab:0x1a3,_0x569eb5:0x372};if(!this[_0x2d7a38(0x317,0x677,_0x48516._0x5da772,_0x48516._0x5687e9)])this['transport']=this[_0x2d7a38(_0x48516._0x22ea84,0x3a,0x1e4,_0x48516._0x2d7d20)]();function _0x4f9e5e(_0x181eb8,_0x5baf63,_0x1ec16d,_0x2ca456){return _0x3a64dd(_0x181eb8-_0xbf211c._0x5949ab,_0x1ec16d,_0x181eb8- -_0xbf211c._0x569eb5,_0x2ca456-0xe6);}function _0x2d7a38(_0x2caeda,_0x17b448,_0x521109,_0x5eee2f){return _0x55e1bc(_0x17b448,_0x17b448-_0x284371._0x4f11d5,_0x521109-0x16f,_0x521109- -_0x284371._0x33992c);}return this[_0x4f9e5e(_0x48516._0x4ecffb,_0x48516._0x192487,0x448,_0x48516._0x49e104)];}[_0x55e1bc(0x670,0x526,0x4d4,0x5b7)](_0x5c390d,_0x35710c){const _0x1adce9={_0xb45f70:0x4a3,_0x3b967d:0x4cf,_0xc19b67:0xc8,_0x2c5c1d:0x2be,_0x4b063b:0x193},_0x3b2fb5={_0x50b842:0x39};if(_0x5c390d===0x1ad||_0x5c390d===0x198)throw new LLMError(_0x4be8be(0x325,_0x1adce9._0xb45f70,0x2a4,_0x1adce9._0x3b967d),_0x5c390d,!![]);else{if(_0x5c390d===0x191||_0x5c390d===0x193)throw new LLMError(_0x45c7a5(_0x1adce9._0xc19b67,0x293,_0x1adce9._0x2c5c1d,_0x1adce9._0x4b063b),_0x5c390d,![]);else{if(_0x5c390d===0x190)throw new LLMError('Invalid\x20request:\x20'+_0x35710c,_0x5c390d,![]);else{if(isRetryableStatusCode(_0x5c390d,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x4be8be(-0x90,-0x86,-0x113,0x1ad),_0x5c390d,!![]);}}}function _0x4be8be(_0x1d2da9,_0x1d633b,_0xafe72c,_0x2ba5e3){return _0x55e1bc(_0x1d633b,_0x1d633b-0x191,_0xafe72c-0x17b,_0x1d2da9- -0x5c6);}function _0x45c7a5(_0x571020,_0x346e42,_0x336532,_0x11b41f){return _0x55e1bc(_0x346e42,_0x346e42-0x13d,_0x336532-_0x3b2fb5._0x50b842,_0x11b41f- -0x521);}throw new LLMError(_0x35710c,_0x5c390d,![]);}[_0x3a64dd(0x57d,0x564,0x576,0x3ba)](_0x19b6fd){const _0x324b12={_0x2f63f9:0x4a,_0x1d6b7f:0xe8,_0x2d4be9:0x1d0,_0x2359c1:0x180,_0x5c00fb:0x62,_0x159ffe:0x3,_0xc148b:0x1d7,_0x192037:0x43b,_0x33ac16:0x283,_0x2ed930:0x2b3,_0x53b919:0x1d2,_0x4eb4fe:0x23c,_0x27bbde:0x3b7,_0x5136fc:0xf5,_0x1abac9:0x1b5,_0x4b7919:0x289,_0x1ebdb5:0x23a,_0x3a1c0e:0x177,_0x245451:0x44d,_0x43fb5f:0x9a,_0x4ea77c:0x5f,_0x5aa3ee:0xf1,_0x5b9665:0x80,_0x138630:0xbf,_0xfc5d17:0x394,_0x5aef83:0x3d9,_0x11515a:0x87,_0x1b78c8:0x27,_0x3988cf:0x167,_0x5a3fed:0x13a,_0x54ede3:0x13,_0x3d0936:0xd0,_0x467930:0xee,_0x3b3292:0x91,_0x5b25e7:0x2fe,_0x5089ce:0x14a,_0xd250d9:0x195,_0x2ae22c:0x3ba,_0x2e5c5b:0x2cc,_0x220533:0x26d,_0x29ae4a:0x1ca,_0x16bf6e:0x11d,_0x5aef64:0x162,_0x141be7:0x15f,_0x10f2a6:0xc5,_0x15b2f2:0x2a0,_0x3dd1f5:0x186,_0x2c8cb2:0x290,_0xc27ef4:0x1ad,_0x1314b7:0x474,_0xbf9d46:0x357},_0xdc8085={_0x1dfd8b:0x6c,_0x4347a9:0xd2},_0x39a1d7={_0x53b6b9:0x654,_0x47c542:0x7ae,_0x15211c:0x550,_0x1b5dbd:0x57a,_0xdc8f13:0x3d3,_0xc49fbc:0x323,_0x5daa4b:0x62c,_0x5413ae:0x4f4,_0x2d06ef:0x52a,_0x2130fa:0x52e},_0x3ade13={_0x1828a5:0x91},_0x31c4cc={_0x4b11c9:0x42};function _0x1fe1c9(_0x4b1bfe,_0x4c1f15,_0x27fbe3,_0x49cbab){return _0x3a64dd(_0x4b1bfe-0x12e,_0x27fbe3,_0x49cbab- -0x5bf,_0x49cbab-0x30);}if(!this['enablePromptCaching'])return _0x19b6fd;const _0x1de81c=_0x19b6fd[_0x1fe1c9(_0x324b12._0x2f63f9,_0x324b12._0x1d6b7f,0x39,_0x324b12._0x2d4be9)][_0x4f7f12(0xce,0xfb,0x38d,0x291)](_0x58b938=>{function _0xe94ac0(_0x2e267a,_0xc57cfa,_0x529e9c,_0x177369){return _0x4f7f12(_0x2e267a-_0x31c4cc._0x4b11c9,_0x177369,_0x529e9c-0x53,_0x529e9c-0x13d);}function _0x594edd(_0x4913b1,_0x4ad8fb,_0x4b0456,_0x2994c4){return _0x1fe1c9(_0x4913b1-0xba,_0x4ad8fb-_0x3ade13._0x1828a5,_0x2994c4,_0x4913b1-0x6e5);}if(typeof _0x58b938[_0x594edd(_0x39a1d7._0x53b6b9,0x4ae,_0x39a1d7._0x47c542,0x627)]===_0x594edd(_0x39a1d7._0x15211c,_0x39a1d7._0x1b5dbd,_0x39a1d7._0xdc8f13,_0x39a1d7._0xc49fbc)||_0x58b938[_0xe94ac0(0x448,_0x39a1d7._0x5daa4b,_0x39a1d7._0x5413ae,_0x39a1d7._0x2d06ef)]===null)return _0x58b938;return{..._0x58b938,'content':_0x58b938['content'][_0x594edd(_0x39a1d7._0x2130fa,0x440,0x44e,0x700)](_0x2ef921=>({..._0x2ef921}))};}),_0x39774b=_0x1de81c[_0x1fe1c9(_0x324b12._0x2359c1,-0x1b6,-0x3d,0x67)](_0x2deeaa=>_0x2deeaa[_0x4f7f12(0x6af,0x4de,0x6e9,0x62b)]===_0x1fe1c9(-0x1eb,-0x37b,-0x1ed,-0x234));if(_0x39774b[_0x4f7f12(0x46d,0x289,0x333,0x3d9)]>0x0)for(let _0x17dfe6=0x0;_0x17dfe6<Math[_0x1fe1c9(-0x23c,-_0x324b12._0x5c00fb,0x17,_0x324b12._0x159ffe)](0x2,_0x39774b[_0x1fe1c9(_0x324b12._0xc148b,-0x14f,-0x2b2,-0x6f)]);_0x17dfe6++){const _0x321030=_0x39774b[_0x17dfe6];if(_0x321030&&typeof _0x321030[_0x4f7f12(0x3f4,0x21f,_0x324b12._0x192037,0x3b7)]===_0x4f7f12(_0x324b12._0x33ac16,0x2eb,0x1a5,_0x324b12._0x2ed930)&&_0x321030[_0x4f7f12(0x33e,_0x324b12._0x53b919,_0x324b12._0x4eb4fe,_0x324b12._0x27bbde)])_0x321030[_0x1fe1c9(_0x324b12._0x5136fc,-_0x324b12._0x1abac9,-0x29d,-0x91)]=[{'type':'text','text':_0x321030[_0x1fe1c9(-_0x324b12._0x4b7919,-0x2e,-_0x324b12._0x1ebdb5,-0x91)],'cache_control':{'type':'ephemeral'}}];else{if(_0x321030&&Array[_0x1fe1c9(0x2b,0x22a,0x37b,0x13d)](_0x321030[_0x1fe1c9(_0x324b12._0x3a1c0e,-0x40,-0x16c,-0x91)])){const _0x5d7583=_0x321030[_0x4f7f12(0x2d3,0x19c,0x220,0x3b7)][_0x321030['content']['length']-0x1];_0x5d7583?.[_0x4f7f12(0x3fd,0x46f,0x312,_0x324b12._0x245451)]===_0x1fe1c9(0x38,_0x324b12._0x43fb5f,_0x324b12._0x4ea77c,-_0x324b12._0x5aa3ee)&&(_0x5d7583[_0x1fe1c9(-0x257,-0x61,_0x324b12._0x5b9665,-_0x324b12._0x138630)]={'type':_0x4f7f12(0x4aa,0x3f2,0xb1,0x2c2)});}}}function _0x4f7f12(_0x58d0f6,_0x5d76cc,_0xecb0df,_0x42169f){return _0x3a64dd(_0x58d0f6-_0xdc8085._0x1dfd8b,_0x5d76cc,_0x42169f- -0x177,_0x42169f-_0xdc8085._0x4347a9);}const _0x50cb2b=_0x1de81c['filter'](_0x3e83b9=>_0x3e83b9[_0x1fe1c9(0x3e3,0xcd,0x68,0x1e3)]===_0x4f7f12(0x6bf,0x280,0x367,0x47e)||_0x3e83b9[_0x4f7f12(0x5f3,0x662,0x3f2,0x62b)]==='assistant'),_0x278786=[];if(_0x50cb2b['length']>=0x2)for(let _0x25263d=_0x50cb2b['length']-0x2;_0x25263d<_0x50cb2b[_0x4f7f12(_0x324b12._0xfc5d17,0x3ab,0x574,_0x324b12._0x5aef83)];_0x25263d++){const _0x537d6e=_0x50cb2b[_0x25263d];if(_0x537d6e){const _0x49cd23=_0x1de81c['indexOf'](_0x537d6e);if(_0x49cd23!==-0x1)_0x278786[_0x4f7f12(_0x324b12._0x11515a,0x390,0x67,0x263)](_0x49cd23);}}else{if(_0x50cb2b[_0x1fe1c9(_0x324b12._0x1b78c8,_0x324b12._0x3988cf,-0x168,-0x6f)]===0x1){const _0x1de904=_0x50cb2b[0x0];if(_0x1de904){const _0xdab3b4=_0x1de81c[_0x1fe1c9(_0x324b12._0x5a3fed,-_0x324b12._0x54ede3,-0x1db,-_0x324b12._0x3d0936)](_0x1de904);if(_0xdab3b4!==-0x1)_0x278786['push'](_0xdab3b4);}}}for(const _0x657a39 of _0x278786){const _0x5368c2=_0x1de81c[_0x657a39];if(_0x5368c2&&typeof _0x5368c2[_0x1fe1c9(-_0x324b12._0x467930,0x97,0x90,-_0x324b12._0x3b3292)]===_0x1fe1c9(-_0x324b12._0x5b25e7,0x9b,-_0x324b12._0x5089ce,-_0x324b12._0xd250d9)&&_0x5368c2[_0x4f7f12(0x204,_0x324b12._0x2ae22c,_0x324b12._0x2e5c5b,0x3b7)])_0x5368c2[_0x1fe1c9(-0x11c,-_0x324b12._0x220533,-_0x324b12._0x29ae4a,-0x91)]=[{'type':_0x1fe1c9(-0x176,-0x18e,_0x324b12._0x16bf6e,-_0x324b12._0x5aa3ee),'text':_0x5368c2[_0x1fe1c9(-_0x324b12._0x5aef64,_0x324b12._0x141be7,-_0x324b12._0x10f2a6,-0x91)],'cache_control':{'type':_0x1fe1c9(-_0x324b12._0x15b2f2,-0x358,-0x394,-_0x324b12._0x3dd1f5)}}];else{if(_0x5368c2&&Array[_0x4f7f12(0x44c,0x483,0x57e,0x585)](_0x5368c2[_0x4f7f12(0x523,0x3cf,0x205,_0x324b12._0x27bbde)])){const _0x469794=_0x5368c2[_0x4f7f12(0x3b4,_0x324b12._0x2c8cb2,_0x324b12._0xc27ef4,0x3b7)][_0x5368c2[_0x4f7f12(0x1e4,0x274,0x1de,_0x324b12._0x27bbde)][_0x4f7f12(0x5dd,0x5b6,0x29b,0x3d9)]-0x1];_0x469794?.['type']===_0x4f7f12(0x227,_0x324b12._0x1314b7,0x176,_0x324b12._0xbf9d46)&&(_0x469794['cache_control']={'type':'ephemeral'});}}}return{..._0x19b6fd,'messages':_0x1de81c};}async[_0x55e1bc(0x8ad,0x77c,0x612,0x6ca)](_0x45083d,_0x386e7d){const _0x33f07b={_0x61e484:0x61,_0x2487b4:0x161,_0x5ddcc8:0x273,_0x5807b3:0x215,_0x335ff5:0x5b,_0xed6e05:0x171,_0x33552c:0x2c8,_0x36ab8f:0xe8,_0x4e5ed0:0x39a,_0x34e9ed:0x14f,_0x5bd4eb:0x269,_0x3727ad:0x179,_0x52813e:0x139,_0x135ccf:0x15c,_0x22b8f8:0x41f,_0x45d8df:0x1e8,_0x5703f5:0x3ef,_0x440781:0x364,_0x101d9a:0x11,_0x463e19:0x226,_0x446ea2:0x87,_0x333d51:0x131,_0x4a533a:0x103,_0x4a11e1:0x131,_0x2aeeb5:0x15e,_0x3920d4:0x0,_0x5a0fde:0x69,_0x4f4685:0x137,_0x138b5c:0x272,_0x277190:0x113,_0x73853e:0x2cd,_0x52f615:0x16d,_0x553590:0x203,_0x11da14:0x1a7,_0x4c4283:0x141,_0x59e1bb:0x2c6,_0x68b960:0x99,_0x4c39db:0x108,_0x121793:0xf2,_0x127000:0x73,_0x131589:0x121,_0x84b7a2:0x22a,_0x421fab:0x379},_0x56aa65={_0x5e1a40:0x713},_0x4e4ec6={_0x3f9556:0x53e,_0x11f16d:0x145},_0x2cbc6e=this[_0x35c7eb(-0x232,-_0x33f07b._0x61e484,0x98,-_0x33f07b._0x2487b4)](_0x45083d),_0x480dc3={'model':_0x2cbc6e[_0x35c7eb(-0x15b,-_0x33f07b._0x5ddcc8,-_0x33f07b._0x5807b3,-0x122)],'messages':_0x2cbc6e['messages'],'temperature':_0x2cbc6e['temperature'],'top_p':_0x2cbc6e[_0x35c7eb(-0x23f,-0x18f,-_0x33f07b._0x335ff5,0x1a)],'stream':![],..._0x2cbc6e[_0x35c7eb(0x3c,-0x35,-0xf9,_0x33f07b._0xed6e05)]!==void 0x0&&{'max_tokens':_0x2cbc6e['maxTokens']},..._0x2cbc6e['reasoning']&&{'reasoning':_0x2cbc6e[_0x35c7eb(-0x250,-0x96,-0x48,-_0x33f07b._0x33552c)]},..._0x2cbc6e['usage']&&{'usage':_0x2cbc6e[_0x35c7eb(-_0x33f07b._0x36ab8f,-0x2a1,-0x2a1,-0x407)]}};if(_0x2cbc6e[_0x4f5ff6(-_0x33f07b._0x4e5ed0,-0x32f,-_0x33f07b._0x34e9ed,-_0x33f07b._0x5bd4eb)]&&_0x2cbc6e[_0x4f5ff6(-_0x33f07b._0x3727ad,-_0x33f07b._0x52813e,-0x14f,-0x2d4)]['length']>0x0)_0x480dc3[_0x35c7eb(-0x275,-0x1e8,-0x293,-0x35a)]=_0x2cbc6e[_0x35c7eb(-_0x33f07b._0x135ccf,-0x1e8,-0x220,-0x156)];if(_0x2cbc6e['tool_choice']&&_0x2cbc6e[_0x35c7eb(-_0x33f07b._0x22b8f8,-_0x33f07b._0x45d8df,-_0x33f07b._0x5703f5,-0x10c)]&&_0x2cbc6e[_0x35c7eb(-_0x33f07b._0x440781,-_0x33f07b._0x45d8df,_0x33f07b._0x101d9a,-_0x33f07b._0x463e19)][_0x35c7eb(-0x2b,-_0x33f07b._0x446ea2,-0x2c3,-0x287)]>0x0)_0x480dc3[_0x35c7eb(0xd8,-_0x33f07b._0x333d51,-0x310,0x3)]=_0x2cbc6e[_0x35c7eb(-_0x33f07b._0x4a533a,-_0x33f07b._0x4a11e1,-_0x33f07b._0x2aeeb5,_0x33f07b._0x3920d4)];const _0xe5c65b=await this['getTransport']()[_0x4f5ff6(-_0x33f07b._0x5a0fde,0x59,-_0x33f07b._0x4f4685,-0x179)](_0x35c7eb(_0x33f07b._0x138b5c,_0x33f07b._0x277190,0x180,_0x33f07b._0x73853e),_0x480dc3,void 0x0,_0x386e7d);if(!_0xe5c65b['ok']){const _0x441a03=await _0xe5c65b[_0x35c7eb(0x27,-0x109,-_0x33f07b._0x52f615,-_0x33f07b._0x553590)]();this[_0x35c7eb(0xab,-0x15c,-_0x33f07b._0x11da14,-_0x33f07b._0x4c4283)](_0xe5c65b[_0x4f5ff6(_0x33f07b._0x59e1bb,-_0x33f07b._0x68b960,_0x33f07b._0x4c39db,-_0x33f07b._0x121793)],_0x441a03||'LLM\x20error\x20'+_0xe5c65b['status']);}const _0xb269e1=await _0xe5c65b[_0x4f5ff6(0x91,_0x33f07b._0x127000,_0x33f07b._0x131589,0x31d)]();function _0x4f5ff6(_0x5ef68f,_0x3f4e33,_0x446fcf,_0x25b3c9){return _0x3a64dd(_0x5ef68f-0x9d,_0x25b3c9,_0x446fcf- -_0x4e4ec6._0x3f9556,_0x25b3c9-_0x4e4ec6._0x11f16d);}function _0x35c7eb(_0x29d086,_0x1c461b,_0x3e2ede,_0x35043d){return _0x55e1bc(_0x35043d,_0x1c461b-0xc0,_0x3e2ede-0x47,_0x1c461b- -_0x56aa65._0x5e1a40);}const _0x58b226=mergeChoices(_0xb269e1[_0x4f5ff6(-_0x33f07b._0x84b7a2,-0x1ad,-0xd6,-0x2c0)]),_0x1dfd3b=this['transformUsage'](_0xb269e1[_0x4f5ff6(-0x148,-0x2b9,-0x208,-_0x33f07b._0x421fab)]);return{..._0x58b226,..._0x1dfd3b?{'usage':_0x1dfd3b}:{}};}async[_0x3a64dd(0x686,0x709,0x51f,0x5e4)](_0x2a1700,_0x2b58cb={},_0x31331f){const _0x361ff5={_0x5598bb:0x84f,_0x4a873e:0x657,_0x661052:0x688,_0x3cb4d3:0x2fd,_0x2fcd00:0x39b,_0x292615:0x326,_0x39b1f6:0x136,_0x4a93cb:0x751,_0x453a13:0x882,_0x3180af:0x3b5,_0x5d9649:0x50c,_0x557d78:0x379,_0x51030d:0x428,_0x32339:0x1e8,_0x4247aa:0x66f,_0x5bf223:0x839,_0xe3afe1:0x683,_0x2eda8b:0x40c,_0x91c99:0x41e,_0x42dbfd:0x5e5,_0x42725f:0x417,_0x2d2db1:0x629,_0x4fcf89:0x3b1,_0x49caca:0x415,_0x572108:0x58b,_0x5d7eb7:0x2dd,_0x44f2ca:0x4d0,_0x794ea4:0x48a,_0xad92b:0x4dd,_0x33a7f5:0x261,_0x55a041:0x194,_0x6217be:0x3b1,_0x1ff998:0x276,_0xbd8b6f:0x232,_0x27bcca:0x468,_0x465fe5:0x565,_0x591665:0x3b1,_0x3fe0ea:0x4cd,_0x9fc159:0x512,_0x3e0e80:0x759,_0x2adefd:0x42e,_0x162ebc:0x3c4,_0x175237:0x476,_0x48a7e2:0x606,_0x227bd8:0x3f6,_0x14d2ad:0x809,_0x5ac33a:0x537,_0x5d3073:0x64a,_0x1abaee:0x43d,_0x2a0abf:0x646,_0x112ea3:0x727,_0x28b9de:0x5b6,_0x57c3c9:0x769,_0x58a9a5:0x6f9,_0x98c231:0x619,_0x45f2ba:0x50f,_0x19cdd4:0x589,_0x21ac72:0x711,_0x3c5527:0x541,_0x4344ce:0x5cd,_0x15d0f9:0x874,_0x41a5fc:0x740,_0x3c8834:0x6cd,_0x4e444f:0x948,_0x4981ac:0x6f8,_0x4e5d8a:0x922,_0x473713:0x84d,_0x5e6fc9:0x651,_0x28ff77:0x47b,_0xf9b6f8:0x862,_0x4c48f5:0x5c9,_0x53d1f5:0x6a2,_0xd83f01:0x628,_0x16c2ca:0x1b9,_0x31d7df:0x3ad,_0xe3b67d:0x407,_0x1aa6ba:0x314},_0x6c7950={_0x52158f:0x2f},_0x11f561={_0xfa1630:0x249,_0x1c2179:0x4ae,_0x16201c:0x29a,_0x3ccce5:0x39f,_0x283977:0x5a9,_0x35c17b:0x325,_0x3bcf83:0x121,_0x4553c4:0x95,_0x2ac0a9:0x37c,_0x41841b:0x59b,_0x3566f2:0x29a,_0x2f0e82:0x2fb,_0x2cbc4f:0x191,_0x4c9030:0x351,_0xd4660c:0x245,_0x33a23e:0x2a1,_0x4c7406:0x184,_0x17592b:0x47b,_0x5c2c03:0x1af,_0x2e13c5:0x88,_0x7c0c9d:0x585,_0x647941:0x4a8,_0x47a3d2:0x397,_0x45dc95:0x3a6,_0x2bdf9e:0x4e2,_0x32fd0a:0x53c,_0x4a6249:0x51d,_0x45c0e8:0x36,_0x42f9d8:0x2de,_0x210487:0x417,_0x314198:0x473,_0x2358ea:0x16e,_0x4a5593:0x4fc,_0x448d5b:0x2df,_0x11eebc:0x32f,_0x4d8dda:0x3c1,_0x59f31e:0x2a0,_0x57c15b:0x570,_0x126391:0x675,_0x266588:0x326,_0x13f6c2:0x425,_0x5eb0b2:0x427,_0x52a99e:0x475,_0x3ee785:0x4f7,_0x55089c:0x5d0,_0x6a3909:0x4e9,_0x3a2e49:0x6df,_0x4fb9e0:0x60a,_0x52e8c0:0x275,_0x2cc288:0x29b,_0xabb6a0:0xbc,_0x4869aa:0x38a,_0xebf9ee:0x343,_0x5b704f:0x4e4,_0x35ebc8:0x55d,_0x1f899c:0x570,_0x1ba9dc:0x334,_0x572a56:0x68b,_0x37a0d3:0xae,_0x4120aa:0xec,_0x584799:0x663,_0x9e0adf:0x77b,_0x385074:0x4de,_0x281bba:0x38a,_0x168644:0x53a,_0xb0478f:0x698,_0x4686ac:0x252,_0x1484c5:0x122,_0x20af1e:0x2fd,_0xbbb359:0x387,_0x58eed0:0x54b,_0xd77891:0x586,_0x3c86bf:0x1bb,_0x56ce9d:0x1bb,_0x39752f:0x4b7,_0x155fd2:0x5be,_0x18c1ad:0x41b,_0x6d7143:0x393,_0x4b0b59:0x209,_0x134ba7:0x2bb,_0xcc38a9:0x6d,_0x340a3a:0x29c,_0x1af6ad:0x164,_0x5904da:0x4b0,_0x2596bb:0x59e,_0x120f43:0x341,_0x37a8b6:0x2ab,_0x4c71e9:0x3d1,_0x1ffd3c:0x7e9,_0x712288:0x487,_0x216317:0x53e,_0x2f511c:0x387,_0x4034b3:0x391,_0x2bd204:0x3b4,_0x400521:0x2b3,_0x53e0a8:0x167,_0x49886b:0x208,_0x5bf1d5:0x2ba,_0x431e0e:0x6b8,_0x3fba9c:0x729,_0x29e069:0x621,_0x7483b7:0x387,_0x1003b0:0x35b,_0x4f94ec:0x553,_0x48a613:0x17b,_0x1d6917:0x6d7,_0x192a5f:0x271,_0xe0cc93:0x4ec,_0x351914:0x6b8,_0x285780:0x3ce,_0x127c31:0x26c,_0x542ee1:0x4d5,_0x50eb45:0x6e8,_0x56d14e:0x2ad,_0x40315d:0x621,_0x518816:0x5ff,_0x26924c:0x324},_0x699e77={_0x8ea817:0x156,_0x34072d:0x39a,_0x1ddcde:0x6c},_0x554a78={_0x132274:0x3e},_0x1832ec=this[_0x4ef2c5(0x5a9,_0x361ff5._0x5598bb,_0x361ff5._0x4a873e,_0x361ff5._0x661052)](_0x2a1700),_0x390024={'model':_0x1832ec[_0x40c3e9(_0x361ff5._0x3cb4d3,_0x361ff5._0x2fcd00,_0x361ff5._0x292615,_0x361ff5._0x39b1f6)],'messages':_0x1832ec[_0x40c3e9(0x714,0x871,_0x361ff5._0x4a93cb,_0x361ff5._0x453a13)],'temperature':_0x1832ec[_0x40c3e9(0x418,_0x361ff5._0x3180af,0x587,_0x361ff5._0x5d9649)],'top_p':_0x1832ec[_0x40c3e9(_0x361ff5._0x557d78,_0x361ff5._0x51030d,0x40a,_0x361ff5._0x32339)],'stream':!![],..._0x1832ec[_0x40c3e9(_0x361ff5._0x4247aa,0x5b9,0x564,_0x361ff5._0x4a93cb)]!==void 0x0&&{'max_tokens':_0x1832ec[_0x4ef2c5(_0x361ff5._0x5bf223,0x862,_0x361ff5._0xe3afe1,0x7e6)]},..._0x1832ec[_0x4ef2c5(_0x361ff5._0x2eda8b,0x5f7,0x622,_0x361ff5._0x91c99)]&&{'reasoning':_0x1832ec['reasoning']},..._0x1832ec['usage']&&{'usage':_0x1832ec[_0x4ef2c5(_0x361ff5._0x42dbfd,0x5c8,_0x361ff5._0x42725f,_0x361ff5._0x2d2db1)]}};if(_0x1832ec[_0x40c3e9(0x36b,0x5dc,_0x361ff5._0x4fcf89,_0x361ff5._0x49caca)]&&_0x1832ec[_0x4ef2c5(_0x361ff5._0x572108,_0x361ff5._0x5d7eb7,_0x361ff5._0x44f2ca,_0x361ff5._0x794ea4)]['length']>0x0)_0x390024[_0x40c3e9(0x443,_0x361ff5._0xad92b,0x3b1,_0x361ff5._0x33a7f5)]=_0x1832ec[_0x40c3e9(0x3e4,_0x361ff5._0x55a041,_0x361ff5._0x6217be,0x3f4)];if(_0x1832ec[_0x40c3e9(_0x361ff5._0x1ff998,_0x361ff5._0xbd8b6f,_0x361ff5._0x27bcca,0x4f2)]&&_0x1832ec[_0x4ef2c5(0x592,_0x361ff5._0x465fe5,0x4d0,0x6e9)]&&_0x1832ec[_0x40c3e9(0x17f,0x54d,_0x361ff5._0x591665,0x3ab)][_0x40c3e9(0x679,_0x361ff5._0x3fe0ea,_0x361ff5._0x9fc159,_0x361ff5._0x3e0e80)]>0x0)_0x390024['tool_choice']=_0x1832ec['tool_choice'];const _0x289555=await this[_0x40c3e9(0x3d9,_0x361ff5._0x2adefd,0x436,_0x361ff5._0x162ebc)]()[_0x40c3e9(_0x361ff5._0x175237,_0x361ff5._0x48a7e2,0x3c9,_0x361ff5._0x227bd8)](_0x4ef2c5(_0x361ff5._0x14d2ad,0x736,0x7cb,0xa0f),_0x390024,{'Accept':'text/event-stream'},_0x31331f);function _0x40c3e9(_0x575db7,_0x4d1a40,_0x53cd9f,_0x38ee4c){return _0x3a64dd(_0x575db7-0x122,_0x38ee4c,_0x53cd9f- -_0x554a78._0x132274,_0x38ee4c-0xd9);}if(!_0x289555['ok']){const _0x2ffefa=await _0x289555['text']();this[_0x40c3e9(_0x361ff5._0x5ac33a,_0x361ff5._0x5d3073,_0x361ff5._0x1abaee,0x3a8)](_0x289555['status'],_0x2ffefa||'LLM\x20error\x20'+_0x289555[_0x4ef2c5(_0x361ff5._0x2a0abf,0x726,_0x361ff5._0x112ea3,_0x361ff5._0x28b9de)]);}const _0x5b1848=_0x289555['body']?.[_0x4ef2c5(0x6d2,0x99d,_0x361ff5._0x57c3c9,_0x361ff5._0x58a9a5)]();if(!_0x5b1848)return{'content':''};const _0x4ae0a7=new TextDecoder(_0x4ef2c5(_0x361ff5._0x98c231,_0x361ff5._0x45f2ba,_0x361ff5._0x19cdd4,0x3f6));let _0x20734d='',_0x1df9f5='',_0x5304b8='';const _0x55aa8c=[];let _0x44e655,_0x1aa18e;const _0x24605b={},_0x384e81=_0x49026c=>{const _0x2d41c1={_0x2f3f2f:0xa2,_0x318202:0x5b},_0x1cd1f0=_0x49026c[_0x58fc1d(0x3be,_0x11f561._0xfa1630,_0x11f561._0x1c2179,_0x11f561._0x16201c)]('\x0a'),_0xb4a26a=[];for(const _0x4a2404 of _0x1cd1f0){if(_0x4a2404['startsWith'](_0x59f5a3(_0x11f561._0x3ccce5,0x47e,_0x11f561._0x283977,_0x11f561._0x35c17b)))_0xb4a26a[_0x59f5a3(_0x11f561._0x3bcf83,-_0x11f561._0x4553c4,0x71,0x364)](_0x4a2404['slice'](0x5)[_0x58fc1d(0x516,_0x11f561._0x2ac0a9,0x475,_0x11f561._0x41841b)]());}if(_0xb4a26a[_0x58fc1d(0x4b7,0x29b,_0x11f561._0x3566f2,0x641)]===0x0)return;const _0x18fd3a=_0xb4a26a['join']('\x0a')['trim']();function _0x59f5a3(_0x547199,_0x5212a3,_0xb68446,_0x25c5b3){return _0x4ef2c5(_0x5212a3,_0x5212a3-_0x699e77._0x8ea817,_0x547199- -_0x699e77._0x34072d,_0x25c5b3-_0x699e77._0x1ddcde);}function _0x58fc1d(_0x6b0a90,_0x19ceaf,_0x5ad203,_0x4e58cf){return _0x40c3e9(_0x6b0a90-_0x2d41c1._0x2f3f2f,_0x19ceaf-0xce,_0x6b0a90- -_0x2d41c1._0x318202,_0x4e58cf);}if(!_0x18fd3a||_0x18fd3a===_0x58fc1d(_0x11f561._0x2f0e82,_0x11f561._0x2cbc4f,_0x11f561._0x4c9030,_0x11f561._0xd4660c))return;try{const _0x5b92e1=JSON[_0x58fc1d(_0x11f561._0x33a23e,0x6d,_0x11f561._0x4c7406,_0x11f561._0x17592b)](_0x18fd3a),_0x1a9ab5=Array['isArray'](_0x5b92e1[_0x59f5a3(_0x11f561._0x5c2c03,0x32,-_0x11f561._0x2e13c5,0x1e3)])?_0x5b92e1['choices']:[],_0x58f051=_0x1a9ab5['find'](_0x52ddb1=>_0x52ddb1['finish_reason']&&_0x52ddb1[_0x59f5a3(0x466,0x2ab,0x465,0x366)]!==null)?.[_0x59f5a3(0x466,0x5c5,0x43e,_0x11f561._0x7c0c9d)];_0x58f051&&(_0x1aa18e=_0x58f051);const _0xe9f390=_0x5b92e1['usage']||_0x1a9ab5[0x0]?.[_0x58fc1d(0x29d,_0x11f561._0x647941,_0x11f561._0x47a3d2,_0x11f561._0x45dc95)];_0xe9f390&&(_0x44e655=this[_0x58fc1d(_0x11f561._0x2bdf9e,0x64c,_0x11f561._0x32fd0a,_0x11f561._0x4a6249)](_0xe9f390),_0x44e655&&(_0x1aa18e&&_0x2b58cb[_0x59f5a3(0xbe,0x136,_0x11f561._0x45c0e8,0x1ae)]?_0x2b58cb[_0x58fc1d(_0x11f561._0x42f9d8,_0x11f561._0x210487,_0x11f561._0x314198,0x404)](_0x1aa18e,_0x44e655):_0x2b58cb[_0x59f5a3(_0x11f561._0x2358ea,-0xc3,0xb2,0x228)]?.(_0x44e655)));for(const _0x34c896 of _0x1a9ab5){const _0x1bfaab=_0x34c896['delta']??_0x34c896[_0x59f5a3(_0x11f561._0x4a5593,_0x11f561._0x448d5b,_0x11f561._0x11eebc,_0x11f561._0x4d8dda)]??{},_0x360d8a=_0x1bfaab[_0x59f5a3(0x275,_0x11f561._0x59f31e,0x3da,0x398)]??void 0x0,_0x2c3878=_0x1bfaab[_0x58fc1d(_0x11f561._0x57c15b,0x35e,_0x11f561._0x126391,_0x11f561._0x266588)]??_0x1bfaab['reasoning']??_0x1bfaab['reasoning_text']??void 0x0;typeof _0x2c3878===_0x58fc1d(0x391,0x1a6,_0x11f561._0x13f6c2,0x38e)&&_0x2c3878[_0x59f5a3(0x297,_0x11f561._0x5eb0b2,_0x11f561._0x52a99e,0x2ad)]>0x0&&(_0x5304b8+=_0x2c3878,_0x2b58cb['onReasoningChunk']?.(_0x2c3878));if(typeof _0x360d8a==='string'&&_0x360d8a['length']>0x0){if(_0x1df9f5===''){const _0x27dca6=_0x360d8a['replace'](/^\n+/,'');_0x27dca6&&(_0x1df9f5+=_0x27dca6,_0x2b58cb['onChunk']?.(_0x27dca6));}else _0x1df9f5+=_0x360d8a,_0x2b58cb[_0x59f5a3(0x39e,0x22c,_0x11f561._0x3ee785,_0x11f561._0x55089c)]?.(_0x360d8a);}const _0x585b52=[_0x59f5a3(_0x11f561._0x6a3909,_0x11f561._0x3a2e49,_0x11f561._0x4fb9e0,0x660),_0x59f5a3(_0x11f561._0x52e8c0,_0x11f561._0x2cc288,0xfe,_0x11f561._0xabb6a0),_0x59f5a3(_0x11f561._0x4869aa,0x3ee,0x23c,_0x11f561._0xebf9ee),_0x58fc1d(0x4a8,_0x11f561._0x5b704f,_0x11f561._0x35ebc8,0x446),_0x58fc1d(_0x11f561._0x1f899c,_0x11f561._0x1ba9dc,0x56e,_0x11f561._0x572a56),'reasoning_text'];for(const _0x12ae33 of Object['keys'](_0x1bfaab)){if(_0x585b52[_0x59f5a3(0x2aa,_0x11f561._0x37a0d3,_0x11f561._0x4120aa,0x61)](_0x12ae33))continue;const _0x44dfee=_0x1bfaab[_0x12ae33];if(typeof _0x44dfee==='string')_0x24605b[_0x12ae33]=(_0x24605b[_0x12ae33]||'')+_0x44dfee;else _0x44dfee!==void 0x0&&_0x44dfee!==null&&(_0x24605b[_0x12ae33]=_0x44dfee);}const _0x133344=Array[_0x58fc1d(_0x11f561._0x584799,_0x11f561._0x9e0adf,0x70d,_0x11f561._0x385074)](_0x1bfaab[_0x59f5a3(_0x11f561._0x281bba,_0x11f561._0x168644,_0x11f561._0x1ba9dc,0x1fb)])?_0x1bfaab[_0x58fc1d(0x5aa,0x69f,_0x11f561._0xb0478f,0x7d6)]:[];for(const _0x5e3a0b of _0x133344){let _0x5a2520;if(_0x5e3a0b['id'])_0x5a2520=_0x55aa8c[_0x59f5a3(_0x11f561._0x4686ac,_0x11f561._0x1484c5,_0x11f561._0x20af1e,0x207)](_0x59c69b=>_0x59c69b['id']===_0x5e3a0b['id']),!_0x5a2520&&(_0x5a2520={..._0x5e3a0b,'id':_0x5e3a0b['id'],'type':'function','function':{'name':_0x5e3a0b['function']?.[_0x58fc1d(_0x11f561._0xbbb359,0x16a,_0x11f561._0x58eed0,_0x11f561._0xd77891)]??'','arguments':''}},_0x55aa8c[_0x58fc1d(0x341,_0x11f561._0x3c86bf,_0x11f561._0x56ce9d,0x3b5)](_0x5a2520));else{if(_0x55aa8c[_0x58fc1d(_0x11f561._0x39752f,_0x11f561._0x155fd2,_0x11f561._0x18c1ad,_0x11f561._0x6d7143)]>0x0)_0x5a2520=_0x55aa8c[_0x55aa8c[_0x59f5a3(0x297,_0x11f561._0x4b0b59,_0x11f561._0x134ba7,_0x11f561._0xcc38a9)]-0x1];else{const _0x4c54be=_0x5e3a0b[_0x59f5a3(0x229,_0x11f561._0x340a3a,0x41a,_0x11f561._0x1af6ad)]??0x0;_0x5a2520={'id':String(_0x4c54be),'type':_0x58fc1d(0x6b8,0x5f4,_0x11f561._0x5904da,0x4f9),'function':{'name':_0x5e3a0b[_0x59f5a3(0x498,0x272,_0x11f561._0x2596bb,0x2b5)]?.[_0x58fc1d(0x387,0x3d1,0x4b0,0x329)]??'','arguments':''}},_0x55aa8c[_0x58fc1d(_0x11f561._0x120f43,_0x11f561._0x37a8b6,_0x11f561._0x4c71e9,0x477)](_0x5a2520);}}typeof _0x5e3a0b[_0x58fc1d(0x6b8,_0x11f561._0x1ffd3c,0x8bf,_0x11f561._0x712288)]?.[_0x58fc1d(0x387,0x377,_0x11f561._0x216317,_0x11f561._0x2f511c)]===_0x58fc1d(_0x11f561._0x4034b3,_0x11f561._0x2bd204,0x206,_0x11f561._0x400521)&&_0x5e3a0b['function'][_0x59f5a3(_0x11f561._0x53e0a8,0x187,0x201,_0x11f561._0x49886b)]&&(_0x5a2520[_0x59f5a3(0x498,_0x11f561._0x5bf1d5,0x452,0x5b9)]['name']=_0x5e3a0b[_0x58fc1d(_0x11f561._0x431e0e,_0x11f561._0x3fba9c,_0x11f561._0x29e069,0x484)][_0x58fc1d(_0x11f561._0x7483b7,_0x11f561._0x1003b0,0x24d,0x2d8)]);typeof _0x5e3a0b['function']?.['arguments']===_0x58fc1d(0x391,0x4e3,_0x11f561._0x4f94ec,_0x11f561._0x48a613)&&_0x5e3a0b[_0x59f5a3(0x498,0x292,_0x11f561._0x1d6917,_0x11f561._0x192a5f)][_0x58fc1d(0x3ce,_0x11f561._0xe0cc93,0x1a3,0x5bf)]&&(_0x5a2520[_0x58fc1d(_0x11f561._0x351914,0x624,0x65e,0x7c7)]['arguments']+=_0x5e3a0b['function'][_0x58fc1d(_0x11f561._0x285780,0x51f,0x293,_0x11f561._0x127c31)]);if(_0x2b58cb[_0x58fc1d(_0x11f561._0x542ee1,_0x11f561._0x50eb45,0x2b2,_0x11f561._0x56d14e)])_0x2b58cb[_0x58fc1d(0x4d5,_0x11f561._0x40315d,_0x11f561._0x518816,_0x11f561._0x26924c)](_0x5a2520);}}}catch{}};while(!![]){const {value:_0x1f34b4,done:_0x257a08}=await _0x5b1848[_0x4ef2c5(0x64a,0x58e,0x67b,_0x361ff5._0x21ac72)]();if(_0x257a08)break;const _0x254f32=_0x4ae0a7[_0x4ef2c5(0x58f,0x6d4,_0x361ff5._0x3c5527,_0x361ff5._0x4344ce)](_0x1f34b4,{'stream':!![]});_0x20734d&&_0x254f32[_0x4ef2c5(_0x361ff5._0x15d0f9,_0x361ff5._0x41a5fc,0x7c1,_0x361ff5._0x3c8834)]()['startsWith']('data:')&&!_0x20734d[_0x40c3e9(_0x361ff5._0x4e444f,_0x361ff5._0x4981ac,0x72e,0x68d)]('\x0a\x0a')&&!_0x20734d[_0x4ef2c5(0x8e9,_0x361ff5._0x4e5d8a,_0x361ff5._0x473713,0x88a)]('\x0a')&&(_0x20734d+='\x0a\x0a');_0x20734d+=_0x254f32;const _0x3f0138=_0x20734d[_0x4ef2c5(_0x361ff5._0x5e6fc9,0x450,0x538,0x3e9)]('\x0a\x0a');_0x20734d=_0x3f0138[_0x40c3e9(0x28e,0x32f,_0x361ff5._0x28ff77,0x489)]()??'';for(const _0x445ca0 of _0x3f0138)_0x384e81(_0x445ca0);}if(_0x20734d[_0x40c3e9(_0x361ff5._0xf9b6f8,_0x361ff5._0x4c48f5,_0x361ff5._0x53d1f5,_0x361ff5._0xd83f01)]())_0x384e81(_0x20734d);_0x1df9f5=_0x1df9f5[_0x40c3e9(_0x361ff5._0x16c2ca,_0x361ff5._0x31d7df,_0x361ff5._0xe3b67d,_0x361ff5._0x1aa6ba)](/^\n+/,'');const _0x3a1efb=_0x55aa8c['length']?_0x55aa8c:void 0x0;function _0x4ef2c5(_0x39f47e,_0x5c46a5,_0x2141f5,_0x543c6a){return _0x55e1bc(_0x39f47e,_0x5c46a5-_0x6c7950._0x52158f,_0x2141f5-0x87,_0x2141f5- -0x5b);}return{'content':_0x1df9f5,..._0x3a1efb?{'tool_calls':_0x3a1efb}:{},..._0x44e655?{'usage':_0x44e655}:{},..._0x5304b8&&{'reasoning':_0x5304b8},..._0x24605b};}};function normalizeModelLimits(_0x153854,_0x509888){const _0x4daec5={_0x568982:0x3d9,_0x4bc47c:0x458,_0xd56000:0x3b3,_0x2adc59:0x5b3,_0xd4aa68:0x78b,_0x4bd06c:0x2a5,_0x2a4390:0x46e,_0x4fbde2:0xef,_0x394387:0x6a7,_0x10295d:0x69b,_0x56f53d:0x57f,_0xf1e7c2:0x245,_0x1edd2d:0x293,_0x5559d6:0x9f,_0x5d4a36:0xc,_0x1914a7:0xac,_0x22417f:0x6c8,_0x568bc4:0x1c6,_0x4f41c5:0x37b,_0x178d56:0x3f8},_0x106fd5={_0x5b9976:0xe0};function _0x47b8d8(_0x5cef60,_0x27b222,_0x30defa,_0x58454b){return _0x3a64dd(_0x5cef60-0x17e,_0x30defa,_0x27b222-0x8f,_0x58454b-0x1bc);}function _0x20cc72(_0x50fd89,_0xca1dbc,_0x1eb1b1,_0x363060){return _0x55e1bc(_0x1eb1b1,_0xca1dbc-_0x106fd5._0x5b9976,_0x1eb1b1-0xda,_0x50fd89- -0x42c);}switch(_0x153854[_0x20cc72(0x345,0x1ff,0x2eb,0x520)]()){case'github':{const _0x4325d7=_0x509888[_0x47b8d8(0x3d3,0x5b7,_0x4daec5._0x568982,0x678)],_0x5ee692=_0x4325d7?.[_0x20cc72(0x223,_0x4daec5._0x4bc47c,0x1c8,_0x4daec5._0xd56000)],_0x4cf54d=_0x5ee692?.[_0x47b8d8(0x797,0x640,_0x4daec5._0x2adc59,_0x4daec5._0xd4aa68)];if(!_0x4cf54d)return null;return{'contextWindow':_0x4cf54d,'maxOutput':_0x5ee692?.['max_output_tokens']};}case _0x20cc72(0x2d3,0xd3,0x42b,_0x4daec5._0x4bd06c):{return getFallbackLimits(_0x20cc72(0x2d3,0xa7,_0x4daec5._0x2a4390,_0x4daec5._0x4fbde2),_0x509888['id']);}case _0x47b8d8(_0x4daec5._0x394387,0x6f2,_0x4daec5._0x10295d,0x4e7):{const _0x5130a1=_0x509888[_0x20cc72(0x43c,0x669,0x4ff,_0x4daec5._0x56f53d)],_0x253004=_0x5130a1?.['context_length'];if(!_0x253004)return null;return{'contextWindow':_0x253004,'maxOutput':_0x5130a1?.[_0x20cc72(0xc0,-0x143,0x4a,_0x4daec5._0xf1e7c2)]};}case'moonshot':{const _0x422ca7=_0x509888[_0x20cc72(0x1c6,0xd9,0x129,_0x4daec5._0x1edd2d)];if(!_0x422ca7)return null;return{'contextWindow':_0x422ca7};}case _0x20cc72(_0x4daec5._0x5559d6,-_0x4daec5._0x5d4a36,_0x4daec5._0x1914a7,0x26e):{const _0x3aee55=_0x509888['top_provider'],_0x2d53ca=_0x509888[_0x47b8d8(0x759,0x545,_0x4daec5._0x22417f,0x4b0)]??_0x3aee55?.[_0x20cc72(_0x4daec5._0x568bc4,0x378,0x135,-0x49)];if(!_0x2d53ca)return null;return{'contextWindow':_0x2d53ca,'maxOutput':_0x3aee55?.[_0x47b8d8(0x3c6,0x4be,0x438,_0x4daec5._0x4f41c5)]};}default:{const _0x5a7ee5=_0x509888[_0x47b8d8(0x590,0x545,_0x4daec5._0x178d56,0x728)];if(!_0x5a7ee5)return null;return{'contextWindow':_0x5a7ee5};}}}var FALLBACK_LIMITS={'zai':{'glm-4.7':{'contextWindow':0x30d40,'maxOutput':0x1f400},'glm-4.6':{'contextWindow':0x30d40,'maxOutput':0x1f400}},'openrouter':{'anthropic/claude-sonnet-4':{'contextWindow':0x30d40,'maxOutput':0x3e80},'anthropic/claude-3.5-sonnet':{'contextWindow':0x30d40,'maxOutput':0x2000},'openai/gpt-4o':{'contextWindow':0x1f400,'maxOutput':0x4000},'openai/gpt-4.1':{'contextWindow':0x1f400,'maxOutput':0x8000},'openai/gpt-4o-mini':{'contextWindow':0x1f400,'maxOutput':0x4000},'google/gemini-pro-1.5':{'contextWindow':0x200000,'maxOutput':0x2000},'meta-llama/llama-3.1-70b-instruct':{'contextWindow':0x20000,'maxOutput':0x20000}},'github':{'gpt-4.1':{'contextWindow':0x1f400,'maxOutput':0x4000},'gpt-4o':{'contextWindow':0x1f400,'maxOutput':0x4000},'gpt-4o-mini':{'contextWindow':0x1f400,'maxOutput':0x4000},'claude-sonnet-4':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-3.5-sonnet':{'contextWindow':0x30d40,'maxOutput':0x2000},'o1':{'contextWindow':0x30d40,'maxOutput':0x186a0},'o1-mini':{'contextWindow':0x1f400,'maxOutput':0x10000}},'deepinfra':{'meta-llama/Meta-Llama-3.1-70B-Instruct':{'contextWindow':0x20000,'maxOutput':0x20000},'meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo':{'contextWindow':0x20000,'maxOutput':0x20000},'Qwen/Qwen2.5-72B-Instruct':{'contextWindow':0x20000,'maxOutput':0x20000}},'moonshot':{'moonshot-v1-8k':{'contextWindow':0x2000},'moonshot-v1-32k':{'contextWindow':0x8000},'moonshot-v1-128k':{'contextWindow':0x20000},'kimi-k2-turbo-preview':{'contextWindow':0x40000}},'anthropic':{'claude-opus-4-5-20251101':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-haiku-4-5-20251001':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-sonnet-4-5-20250929':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-opus-4-1-20250805':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-opus-4-20250514':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-sonnet-4-20250514':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-3-7-sonnet-20250219':{'contextWindow':0x30d40,'maxOutput':0x2000},'claude-3-5-haiku-20241022':{'contextWindow':0x30d40,'maxOutput':0x2000},'claude-3-haiku-20240307':{'contextWindow':0x30d40,'maxOutput':0x1000},'claude-3-opus-20240229':{'contextWindow':0x30d40,'maxOutput':0x1000},'claude-sonnet-4-5':{'contextWindow':0x30d40,'maxOutput':0x3e80},'claude-3-5-sonnet-20241022':{'contextWindow':0x30d40,'maxOutput':0x2000}}};function getFallbackLimits(_0x515e67,_0x1f09ee){const _0x4ba9cd={_0x199acc:0x440,_0x349d33:0x40b},_0x12f889={_0x5e62f8:0x106,_0xd33504:0x137},_0x5d4f51=FALLBACK_LIMITS[_0x515e67[_0x3bca6c(_0x4ba9cd._0x199acc,_0x4ba9cd._0x349d33,0x321,0x52f)]()];if(!_0x5d4f51)return null;function _0x3bca6c(_0x4517e0,_0x66134e,_0x589dec,_0x3062a1){return _0x3a64dd(_0x4517e0-0x1e,_0x4517e0,_0x3062a1- -_0x12f889._0x5e62f8,_0x3062a1-_0x12f889._0xd33504);}return _0x5d4f51[_0x1f09ee]??null;}function normalizeModelInfo(_0x4789b7,_0x16ef44){const _0x11ec23={_0x5b64f3:0x66e,_0x5f57a2:0x506,_0x3f3f07:0x1bd,_0x2c2271:0x129,_0x364a75:0x1e3,_0x1bedf9:0x47e,_0x1458ea:0x3da,_0xe9acc2:0x1fb,_0x122f22:0xbe,_0x2c3d50:0x365,_0x3e4c7a:0x4de,_0x296f6b:0x44f,_0x22d59c:0x418,_0x395884:0x399,_0x32f25d:0x3b6,_0xd740a2:0x5e5,_0x2fe9e5:0x573,_0x1fea0d:0xa3,_0x4f9610:0xcb,_0xda0780:0x92},_0x136c75={_0x429165:0x105},_0x1463db={_0x2f7469:0x16c,_0xea3113:0x51c};function _0x1b1d24(_0x29aa92,_0xf3d8ac,_0xdb7b44,_0xbefcbb){return _0x55e1bc(_0x29aa92,_0xf3d8ac-_0x1463db._0x2f7469,_0xdb7b44-0xc7,_0xbefcbb- -_0x1463db._0xea3113);}const _0x3d8abc=_0x16ef44['id'];let _0x1d5730=_0x16ef44[_0x51a7ec(0x265,0x481,_0x11ec23._0x5b64f3,_0x11ec23._0x5f57a2)]??_0x3d8abc;_0x4789b7['toLowerCase']()===_0x1b1d24(0x3f1,_0x11ec23._0x3f3f07,_0x11ec23._0x2c2271,_0x11ec23._0x364a75)&&_0x16ef44[_0x51a7ec(_0x11ec23._0x1bedf9,0x629,0x626,_0x11ec23._0x1458ea)]&&(_0x1d5730=_0x16ef44['display_name']);function _0x51a7ec(_0x1c5cf6,_0x1b22b2,_0x31553b,_0x48dc62){return _0x55e1bc(_0x1c5cf6,_0x1b22b2-0x1bc,_0x31553b-_0x136c75._0x429165,_0x1b22b2- -0xdb);}let _0x322f68=null;if(_0x16ef44['limits']&&typeof _0x16ef44['limits']==='object'){const _0x2f896c=_0x16ef44[_0x1b1d24(0x1f7,0x228,_0x11ec23._0xe9acc2,0x133)];_0x2f896c[_0x1b1d24(-0x1a5,_0x11ec23._0x122f22,0xb1,0x9d)]&&typeof _0x2f896c[_0x51a7ec(_0x11ec23._0x2c3d50,_0x11ec23._0x3e4c7a,_0x11ec23._0x296f6b,_0x11ec23._0x22d59c)]===_0x51a7ec(0x38b,_0x11ec23._0x395884,0x4e3,_0x11ec23._0x32f25d)&&(_0x322f68={'contextWindow':_0x2f896c[_0x51a7ec(_0x11ec23._0xd740a2,0x4de,_0x11ec23._0x2fe9e5,0x6cd)],...typeof _0x2f896c[_0x1b1d24(_0x11ec23._0x1fea0d,0x278,0x38,_0x11ec23._0x4f9610)]==='number'&&{'maxOutput':_0x2f896c[_0x1b1d24(0x21d,0xe5,_0x11ec23._0xda0780,0xcb)]}});}return!_0x322f68&&(_0x322f68=normalizeModelLimits(_0x4789b7,_0x16ef44)),{'id':_0x3d8abc,'name':_0x1d5730,..._0x322f68?{'limits':_0x322f68}:{}};}function deduplicateModels(_0x4fdee1){const _0x54d937={_0x431fdf:0x6b9,_0x441335:0x7e3,_0x8bbf00:0x880,_0x54e1bb:0x768,_0x2c315b:0x673,_0x59b4d2:0x3a,_0x4b89db:0xda},_0xac1ff6={_0x4c9ab3:0x18c};function _0x37c630(_0x3cd610,_0x3b4b3f,_0x506ec9,_0x10c0fc){return _0x55e1bc(_0x506ec9,_0x3b4b3f-0x8a,_0x506ec9-0x42,_0x3cd610- -0xa3);}const _0x1c4d95=new Map();for(const _0x53a0a1 of _0x4fdee1){!_0x1c4d95[_0x37c630(0x7bb,_0x54d937._0x431fdf,0x616,0x860)](_0x53a0a1['id'])&&_0x1c4d95[_0x37c630(0x7a9,0x7c5,_0x54d937._0x441335,_0x54d937._0x8bbf00)](_0x53a0a1['id'],_0x53a0a1);}function _0x1417e5(_0x375dcd,_0x196bee,_0x4b3e9c,_0x43ac60){return _0x55e1bc(_0x4b3e9c,_0x196bee-0x187,_0x4b3e9c-_0xac1ff6._0x4c9ab3,_0x196bee- -0x4e3);}return Array[_0x37c630(_0x54d937._0x54e1bb,0x68d,_0x54d937._0x2c315b,0x5b7)](_0x1c4d95[_0x1417e5(-_0x54d937._0x59b4d2,-0x74,-_0x54d937._0x4b89db,0x1a)]());}var GithubLLM=class extends BaseLLM{[_0x55e1bc(0x80e,0x9dd,0x873,0x82d)];constructor(_0x52f6b4={}){const _0x398709={_0x28d5d2:0x373,_0x4574d9:0x24a,_0xde2d9:0x383},_0x15b9e9={_0x24c3e8:0x1a2},_0x237d6a={_0x2f19b2:0x106};super(_0x52f6b4['apiUrl']??_0x40286a(0x516,_0x398709._0x28d5d2,0x381,0x4b2),{'retry':_0x52f6b4[_0x40286a(0xaa,_0x398709._0x4574d9,_0x398709._0xde2d9,0x3a1)]});function _0x51d624(_0x4d9134,_0x499876,_0x53ad21,_0x58d709){return _0x55e1bc(_0x499876,_0x499876-_0x237d6a._0x2f19b2,_0x53ad21-0xa,_0x4d9134- -0x380);}function _0x40286a(_0x1ae2e6,_0x4977f5,_0x3b9289,_0x23a877){return _0x55e1bc(_0x23a877,_0x4977f5-_0x15b9e9._0x24c3e8,_0x3b9289-0xac,_0x4977f5- -0x2ef);}this['opts']=_0x52f6b4;}[_0x3a64dd(0x447,0x340,0x4be,0x548)](){const _0x2985d2={_0x5142fd:0x7f7,_0x3c51dd:0x669,_0x3356fb:0x7ee,_0x364d3c:0x6ef,_0x3e3136:0x6d9,_0x4f1d2d:0x5e9,_0x1cf6ae:0x43c,_0x5ed3bd:0x479,_0x83cdc7:0x505,_0x2cdb7a:0x54f,_0x3f67c5:0x7d3,_0x4c3c91:0x65,_0x545703:0x181,_0xce36ae:0x20,_0x23654a:0x10,_0x2b5e26:0x17d,_0x6b67ed:0x74},_0x2c7c07={_0xba3911:0x127},_0x50f045={_0xf6bba7:0x6d};function _0x31f1ba(_0xa4292,_0x1d417a,_0x1f80d0,_0x212966){return _0x55e1bc(_0x212966,_0x1d417a-0x3b,_0x1f80d0-_0x50f045._0xf6bba7,_0x1f80d0- -0x78e);}const _0x3f12a6=new FetchTransport({'persistFile':this[_0x2f9c2d(0x64b,_0x2985d2._0x5142fd,_0x2985d2._0x3c51dd,_0x2985d2._0x3356fb)][_0x2f9c2d(_0x2985d2._0x364d3c,_0x2985d2._0x3e3136,_0x2985d2._0x4f1d2d,0x825)],'logLevel':_0x31f1ba(-0x483,-_0x2985d2._0x1cf6ae,-0x32a,-0x23c),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]}),_0xedced8=new GithubAuthTransport(_0x3f12a6,{'baseUrl':this[_0x2f9c2d(0x41c,_0x2985d2._0x5ed3bd,0x669,0x5bc)][_0x2f9c2d(_0x2985d2._0x83cdc7,_0x2985d2._0x2cdb7a,0x653,_0x2985d2._0x3f67c5)],'apiKey':this['opts']['apiKey'],'accessToken':this['opts'][_0x31f1ba(-_0x2985d2._0x4c3c91,0x1f,-_0x2985d2._0x545703,-_0x2985d2._0xce36ae)]});function _0x2f9c2d(_0x5e9431,_0x11c9d7,_0x5632fd,_0x352467){return _0x3a64dd(_0x5e9431-0x1dc,_0x5e9431,_0x5632fd- -0x88,_0x352467-_0x2c7c07._0xba3911);}const _0x19b163=this['retryConfig']?new RetryTransport(_0xedced8,this[_0x31f1ba(_0x2985d2._0x23654a,-0x14d,-_0x2985d2._0x2b5e26,_0x2985d2._0x6b67ed)]):_0xedced8;return new LLMErrorTransport(_0x19b163);}[_0x3a64dd(0x7a7,0x334,0x57b,0x42a)](_0x1e44f8){const _0x59094a={_0x2099aa:0x3c8},_0x49993e={_0x17a22c:0x15};if(!_0x1e44f8)return void 0x0;const _0x1de08d=_0x1e44f8;function _0x26ac64(_0x117e5f,_0x1d8518,_0x1e9e40,_0x481fcd){return _0x3a64dd(_0x117e5f-0x13f,_0x1d8518,_0x1e9e40- -0x349,_0x481fcd-0x11b);}function _0x28abb9(_0x283a64,_0x4245b3,_0x20b251,_0x453b34){return _0x55e1bc(_0x4245b3,_0x4245b3-0xe8,_0x20b251-_0x49993e._0x17a22c,_0x453b34- -0x5ec);}return{'prompt_tokens':_0x1de08d[_0x26ac64(0x522,0x484,0x2df,0x31e)],'completion_tokens':_0x1de08d['completion_tokens'],'total_tokens':_0x1de08d['total_tokens'],'prompt_tokens_details':_0x1de08d['prompt_tokens_details'],'completion_tokens_details':_0x1de08d[_0x26ac64(0x1a8,_0x59094a._0x2099aa,0x2d4,0x384)]};}async[_0x55e1bc(0x53b,0x63a,0x371,0x4a9)](_0x3d3554){const _0x17fcec={_0x3db39e:0x40a,_0x41725f:0x307,_0x553388:0x54b,_0x4d7127:0x515,_0x5b666b:0x73b,_0x53485b:0x439,_0x3a5559:0x401,_0x4699f6:0x5f6,_0x4ebb91:0x1b9,_0x165388:0x487,_0xfdffbc:0x3c5,_0x215385:0x3da},_0x213d58={_0x3b80e1:0x226,_0x1a43cf:0x61},_0x1f4e28={_0x26a9b5:0x11,_0x1bcef5:0xbd};function _0x37f8cf(_0x3bf735,_0x2f073f,_0x5cbf0a,_0x3436bb){return _0x55e1bc(_0x3436bb,_0x2f073f-0x1a0,_0x5cbf0a-_0x1f4e28._0x26a9b5,_0x2f073f- -_0x1f4e28._0x1bcef5);}const _0x28f119=await this[_0x37f8cf(0x2b9,0x4f3,_0x17fcec._0x3db39e,_0x17fcec._0x41725f)]()['get'](_0x37f8cf(_0x17fcec._0x553388,_0x17fcec._0x4d7127,0x694,_0x17fcec._0x5b666b),void 0x0,_0x3d3554),_0x2df4fb=await _0x28f119[_0x19899c(_0x17fcec._0x53485b,_0x17fcec._0x3a5559,0x233,_0x17fcec._0x4699f6)]();function _0x19899c(_0x2aefb0,_0x27cd60,_0x343412,_0x51446d){return _0x3a64dd(_0x2aefb0-0x181,_0x27cd60,_0x2aefb0- -_0x213d58._0x3b80e1,_0x51446d-_0x213d58._0x1a43cf);}const _0x4a11b5=_0x2df4fb[_0x19899c(0x19c,0x306,_0x17fcec._0x4ebb91,0x96)][_0x37f8cf(0x64c,_0x17fcec._0x165388,_0x17fcec._0xfdffbc,_0x17fcec._0x215385)](_0x5d0724=>normalizeModelInfo(_0x37f8cf(0x56f,0x75d,0x7eb,0x762),_0x5d0724));return deduplicateModels(_0x4a11b5);}['handleError'](_0x59cb07,_0x3bbc4c){const _0x256b4={_0x2d0433:0x24,_0x1f36d7:0x16,_0x57db69:0x30,_0x1fe0cd:0x179,_0x16407f:0xfe,_0x35b806:0xea,_0x2b54a5:0xb0,_0x153e63:0x1a8,_0x3731fc:0x3db,_0x3f0faa:0x54d,_0x4a1037:0x5af,_0x54882a:0x47d,_0x49d09e:0x5ba,_0x5f134e:0x568,_0x492924:0x368,_0x2d727d:0x314,_0x8e82dd:0x141},_0xdaeac={_0x2cc00e:0xb3},_0x175d28={_0x38a165:0x337};if(_0x59cb07 instanceof LLMError)try{let _0x5d623c=_0x59cb07['message'];_0x5d623c[_0x170ba5(_0x256b4._0x2d0433,_0x256b4._0x1f36d7,-0x21b,0x46)](_0x2328ad(0x5dd,0x51b,0x335,0x4ca))&&(_0x5d623c=_0x5d623c[_0x170ba5(_0x256b4._0x57db69,0xf4,0xc0,0x1fa)](_0x170ba5(0x8b,_0x256b4._0x1fe0cd,-0x16b,_0x256b4._0x16407f)[_0x170ba5(-_0x256b4._0x35b806,-_0x256b4._0x2b54a5,-_0x256b4._0x153e63,0x36)]));const _0x17cc8d=JSON['parse'](_0x5d623c);if(_0x17cc8d?.[_0x2328ad(0x3f1,0x48e,0x369,_0x256b4._0x3731fc)]?.[_0x2328ad(_0x256b4._0x3f0faa,0x4e1,0x79b,_0x256b4._0x4a1037)]==='unsupported_api_for_model')throw new LLMError('The\x20model\x20\x27'+_0x3bbc4c+_0x2328ad(_0x256b4._0x54882a,0x635,0x6f2,0x554),_0x59cb07['statusCode'],![]);}catch(_0x4ce01c){if(_0x4ce01c instanceof LLMError&&_0x4ce01c[_0x2328ad(0x631,0x729,0x6e3,_0x256b4._0x49d09e)][_0x2328ad(_0x256b4._0x5f134e,0x392,0x30c,_0x256b4._0x492924)](_0x2328ad(0x145,_0x256b4._0x2d727d,0x20e,_0x256b4._0x8e82dd)))throw _0x4ce01c;}function _0x2328ad(_0x24226d,_0x5796be,_0x166d1a,_0x54f11b){return _0x55e1bc(_0x166d1a,_0x5796be-0x8e,_0x166d1a-0x7e,_0x54f11b- -_0x175d28._0x38a165);}function _0x170ba5(_0x502e62,_0x523033,_0x4c3e7c,_0x19b87c){return _0x3a64dd(_0x502e62-0x19,_0x19b87c,_0x502e62- -0x63a,_0x19b87c-_0xdaeac._0x2cc00e);}throw _0x59cb07;}async[_0x3a64dd(0x636,0x670,0x58e,0x3ea)](_0x35bf29,_0x297828){const _0x25f41e={_0x5ba18c:0x19c,_0x50df23:0x41,_0x11a487:0x61},_0x202581={_0x9620:0x3},_0x33773e={_0x38c1a2:0x12b,_0x51f5da:0x33,_0x15f118:0x796};function _0x2a72cb(_0x2e67ab,_0x2a0d3c,_0x235e2b,_0x511b26){return _0x55e1bc(_0x511b26,_0x2a0d3c-_0x33773e._0x38c1a2,_0x235e2b-_0x33773e._0x51f5da,_0x2a0d3c- -_0x33773e._0x15f118);}function _0xf63c9c(_0xf46de2,_0x1f71a5,_0x322c98,_0x1633a2){return _0x3a64dd(_0xf46de2-_0x202581._0x9620,_0x1f71a5,_0x1633a2- -0x3c5,_0x1633a2-0x61);}try{return await super[_0x2a72cb(-0x3f,-0xcc,-_0x25f41e._0x5ba18c,-0x314)](_0x35bf29,_0x297828);}catch(_0x25c15f){this['handleError'](_0x25c15f,_0x35bf29[_0xf63c9c(-0x8c,0x157,-_0x25f41e._0x50df23,-_0x25f41e._0x11a487)]);}}async['streamCompletion'](_0x266655,_0x2aa1f3,_0x35c895){const _0x8080de={_0x59ecb1:0xaf,_0x2c21af:0xe6,_0x3484de:0x29f,_0x2568c2:0x2d5},_0x399ba0={_0x1ac798:0x1c3,_0x1ece29:0x524},_0x4bd765={_0x40012a:0x83};function _0x39e958(_0x3759f2,_0x49a8f6,_0x1f095b,_0x29ec4c){return _0x3a64dd(_0x3759f2-0x145,_0x1f095b,_0x49a8f6- -0x639,_0x29ec4c-_0x4bd765._0x40012a);}function _0x401cf5(_0x577fed,_0x2cd155,_0x5d0182,_0x212a42){return _0x55e1bc(_0x212a42,_0x2cd155-_0x399ba0._0x1ac798,_0x5d0182-0xfd,_0x2cd155- -_0x399ba0._0x1ece29);}try{return await super[_0x401cf5(_0x8080de._0x59ecb1,0x137,0x5,0x359)](_0x266655,_0x2aa1f3,_0x35c895);}catch(_0x5d38b4){this[_0x39e958(-0x337,-0x14f,_0x8080de._0x2c21af,0xfc)](_0x5d38b4,_0x266655[_0x39e958(-_0x8080de._0x3484de,-_0x8080de._0x2568c2,-0x495,-0x1bc)]);}}};import{createAnthropic}from'@ai-sdk/anthropic';import{streamText,generateText,jsonSchema,APICallError}from'ai';var AnthropicAISDKLLM=class{[_0x3a64dd(0x50e,0x912,0x6f1,0x757)];[_0x55e1bc(0x991,0x950,0x5af,0x791)];['transport'];[_0x3a64dd(0x3e8,0x626,0x45d,0x403)];constructor(_0x3ee5f4={}){const _0x220a63={_0x315a06:0x84c,_0x15fd20:0x863},_0x126525={_0x1acd78:0x58,_0x4911e5:0x15};function _0x352e6e(_0x3a3f53,_0x5f41f2,_0x1228c3,_0x53d2e0){return _0x55e1bc(_0x5f41f2,_0x5f41f2-0x60,_0x1228c3-_0x126525._0x1acd78,_0x3a3f53-_0x126525._0x4911e5);}this[_0x352e6e(0x842,_0x220a63._0x315a06,_0x220a63._0x15fd20,0x880)]=_0x3ee5f4;}[_0x55e1bc(0x8d0,0x776,0x918,0x7be)](){const _0x5fd392={_0x2c9cbf:0x6d7,_0x3d1125:0x8f4,_0x1d2ff1:0x587,_0x4e04c2:0x8ea,_0x39aa2f:0x6ae,_0x1ce0d8:0x3d6,_0x26e221:0x49c,_0x217565:0x365,_0x423945:0x7ab,_0x284432:0x521,_0x334031:0x870,_0x11a769:0x7aa,_0x312cf6:0x7ce,_0x584847:0x4a2,_0x2fbd3b:0x5ac,_0x5d6900:0x6a4,_0x4e08ae:0x803,_0x1c45ca:0x72e,_0x34362b:0x779,_0x5eca7d:0x8c5,_0x4e31d5:0x71c,_0x2cb24d:0x7ba,_0x5b62b0:0x6df,_0x4b3c02:0x484,_0x1e51d0:0x80f,_0x5cbd25:0x8f3,_0x1e22c4:0x4c2,_0x440fa9:0x70d,_0x9f8f56:0x76f,_0x37ebb4:0x88a,_0x151560:0x598,_0x5c309a:0x6df,_0x29b6d8:0x604,_0x33fd44:0x8a9,_0x46ef3c:0x916,_0x372c46:0x5fa,_0x262376:0x762,_0x3b6195:0x584,_0x2d937a:0x684,_0x5874f3:0x590,_0xe147a0:0x44b},_0x389b5c={_0x397d2f:0x11d,_0x4fd965:0x3d},_0x5643ef={_0x53f28a:0x11e,_0x103cb4:0x12,_0x3309c7:0xbb};function _0x1b7d35(_0x38148c,_0x1c5f8a,_0x373dd2,_0x20b106){return _0x3a64dd(_0x38148c-_0x5643ef._0x53f28a,_0x1c5f8a,_0x20b106- -_0x5643ef._0x103cb4,_0x20b106-_0x5643ef._0x3309c7);}if(!this['authTransport']){const _0x2ac7f4=new FetchTransport({'persistFile':this[_0x454da0(_0x5fd392._0x2c9cbf,_0x5fd392._0x3d1125,0x561,0x72e)][_0x454da0(_0x5fd392._0x1d2ff1,0x541,_0x5fd392._0x4e04c2,_0x5fd392._0x39aa2f)],'logLevel':_0x454da0(0x4c0,_0x5fd392._0x1ce0d8,_0x5fd392._0x26e221,_0x5fd392._0x217565),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]});this['authTransport']=new AnthropicAuthTransport(_0x2ac7f4,{'apiKey':this[_0x454da0(_0x5fd392._0x423945,0x8c1,_0x5fd392._0x284432,0x72e)]['apiKey'],'oauth':this[_0x454da0(_0x5fd392._0x334031,0x8b2,_0x5fd392._0x11a769,0x72e)][_0x454da0(0x774,_0x5fd392._0x312cf6,_0x5fd392._0x584847,_0x5fd392._0x2fbd3b)]?{'access':this[_0x454da0(_0x5fd392._0x5d6900,0x7ea,_0x5fd392._0x4e08ae,_0x5fd392._0x1c45ca)][_0x454da0(_0x5fd392._0x34362b,0x5be,0x672,_0x5fd392._0x2fbd3b)][_0x454da0(_0x5fd392._0x5eca7d,0x86d,0x92e,_0x5fd392._0x4e31d5)],'refresh':this[_0x1b7d35(_0x5fd392._0x2cb24d,0x87c,0x5a3,_0x5fd392._0x5b62b0)]['oauth'][_0x454da0(0x48f,0x4ea,_0x5fd392._0x4b3c02,0x62e)],'expires':this[_0x1b7d35(0x871,_0x5fd392._0x1e51d0,0x8a2,0x6df)]['oauth']['expires']}:void 0x0,'baseUrl':this[_0x1b7d35(_0x5fd392._0x5cbd25,_0x5fd392._0x1e22c4,0x7bc,0x6df)][_0x1b7d35(0x5ed,0x84f,_0x5fd392._0x440fa9,_0x5fd392._0x9f8f56)]||this[_0x1b7d35(0x7ba,_0x5fd392._0x37ebb4,_0x5fd392._0x151560,_0x5fd392._0x5c309a)][_0x1b7d35(_0x5fd392._0x29b6d8,0x7df,_0x5fd392._0x33fd44,0x6c9)],'retry':this[_0x1b7d35(0x7e2,0x718,_0x5fd392._0x46ef3c,0x6df)]['retry'],'onTokenUpdate':this['opts'][_0x1b7d35(_0x5fd392._0x372c46,0x53d,_0x5fd392._0x262376,_0x5fd392._0x3b6195)]});}function _0x454da0(_0x3382f5,_0x25d61f,_0x41e18d,_0xfba8d8){return _0x3a64dd(_0x3382f5-_0x389b5c._0x397d2f,_0x3382f5,_0xfba8d8-_0x389b5c._0x4fd965,_0xfba8d8-0x2);}return this[_0x1b7d35(_0x5fd392._0x2d937a,0x326,_0x5fd392._0x5874f3,_0x5fd392._0xe147a0)];}[_0x55e1bc(0x65b,0x3fe,0x730,0x5b0)](){const _0x117033={_0x3443eb:0x120,_0x5124c7:0xf4,_0x4b0e4c:0x2f,_0x54c0ac:0xbd,_0x5225b2:0x32,_0x3326eb:0x159},_0x4231b3={_0x365d8c:0x142,_0x52a392:0xdf},_0x523e58={_0x27bdf0:0x1c9,_0x2ca695:0x98};!this['transport']&&(this[_0x4a2b11(0x10b,0x11a,0x177,0x2c3)]=new LLMErrorTransport(this[_0x4a2b11(-0xf0,_0x117033._0x3443eb,_0x117033._0x5124c7,_0x117033._0x4b0e4c)]()[_0x4a2b11(-_0x117033._0x54c0ac,0x3b,_0x117033._0x5225b2,_0x117033._0x3326eb)]()));function _0x335d23(_0x47265c,_0x1fc9e6,_0x415af3,_0x292db1){return _0x55e1bc(_0x415af3,_0x1fc9e6-_0x523e58._0x27bdf0,_0x415af3-_0x523e58._0x2ca695,_0x1fc9e6- -0x15c);}function _0x4a2b11(_0x3e0b69,_0x2438e0,_0x53c691,_0x4d5f8e){return _0x3a64dd(_0x3e0b69-_0x4231b3._0x365d8c,_0x3e0b69,_0x53c691- -0x58e,_0x4d5f8e-_0x4231b3._0x52a392);}return this['transport'];}[_0x3a64dd(0x465,0x5ce,0x497,0x673)](){const _0x3d47a6={_0x5ad79b:0xbb,_0x4d6a6c:0x17f,_0x56ac7f:0x1ac,_0x2af1a2:0xaf,_0x278863:0x243,_0x2e93f5:0x99,_0xe9038b:0x110,_0x1cda2d:0x40,_0x4da15a:0x132,_0x17fc87:0x2b7,_0x34b370:0x246,_0x26ae8c:0x2cf,_0x266f64:0x151,_0x1cad33:0x2c2,_0x265dfb:0x4a7,_0x47c785:0x3c6,_0x518bf3:0x266,_0x29e651:0x21b,_0x434704:0x433,_0x37c200:0x109,_0x479b27:0x51,_0x155a97:0x288,_0x87133e:0xcf,_0x434fd5:0xd2,_0xb0f2da:0x26a,_0x221aaf:0x24b},_0x6957fd={_0x18024a:0xb8,_0x570459:0x612},_0x4beaca={_0x51eef4:0x238};function _0x3d8a44(_0x539698,_0x8503a7,_0x145f21,_0x5d2e7c){return _0x3a64dd(_0x539698-0x44,_0x539698,_0x8503a7- -_0x4beaca._0x51eef4,_0x5d2e7c-0x1c0);}if(this[_0x294dbf(0x17f,-_0x3d47a6._0x5ad79b,-0x34,0x218)])return this[_0x294dbf(_0x3d47a6._0x4d6a6c,0x340,0x19a,0xad)];const _0x38ef25=this[_0x294dbf(_0x3d47a6._0x56ac7f,0x253,0x20e,_0x3d47a6._0x2af1a2)]();function _0x294dbf(_0x3b7f2f,_0x3250eb,_0x45edf7,_0x2b464c){return _0x55e1bc(_0x2b464c,_0x3250eb-0xf2,_0x45edf7-_0x6957fd._0x18024a,_0x3b7f2f- -_0x6957fd._0x570459);}return this[_0x294dbf(0x21b,_0x3d47a6._0x278863,0x53,0xff)][_0x294dbf(_0x3d47a6._0x2e93f5,-0x19,0x284,-0x3a)]?this[_0x294dbf(0x17f,0x2d1,-0x50,_0x3d47a6._0xe9038b)]=createAnthropic({'apiKey':_0x294dbf(0x159,0x0,-0xc8,_0x3d47a6._0x1cda2d),'baseURL':_0x38ef25[_0x294dbf(-0x34,0x12a,-_0x3d47a6._0x4da15a,-0x1db)](),'headers':{'authorization':_0x294dbf(0x1a8,0x2e0,_0x3d47a6._0x17fc87,_0x3d47a6._0x34b370)+this['opts'][_0x294dbf(0x99,_0x3d47a6._0x26ae8c,-_0x3d47a6._0x266f64,-0x158)][_0x3d8a44(_0x3d47a6._0x1cad33,_0x3d47a6._0x265dfb,_0x3d47a6._0x47c785,_0x3d47a6._0x518bf3)],'anthropic-beta':'oauth-2025-04-20,claude-code-20250219,interleaved-thinking-2025-05-14,fine-grained-tool-streaming-2025-05-14'},'fetch':_0x38ef25[_0x294dbf(0x1cd,0x1cc,0x37e,0x2a6)]()}):this[_0x294dbf(0x17f,0x3c3,0x27d,0x163)]=createAnthropic({'apiKey':this[_0x294dbf(_0x3d47a6._0x29e651,0x273,_0x3d47a6._0x434704,_0x3d47a6._0x37c200)][_0x294dbf(_0x3d47a6._0x479b27,_0x3d47a6._0x155a97,-0x43,_0x3d47a6._0x87133e)],'baseURL':_0x38ef25[_0x3d8a44(_0x3d47a6._0x434fd5,_0x3d47a6._0xb0f2da,0x402,0x368)](),'fetch':_0x38ef25['createFetchFunction']()}),this[_0x3d8a44(0x505,0x41d,_0x3d47a6._0x221aaf,0x2c7)];}['getModel'](_0x401d4c){const _0x565698={_0x18e079:0x164,_0x6ed312:0x144},_0x2d2c61={_0x46170d:0x24};function _0x487562(_0x28000a,_0x424133,_0x5335ba,_0x1c14de){return _0x3a64dd(_0x28000a-_0x2d2c61._0x46170d,_0x1c14de,_0x28000a- -0x1a5,_0x1c14de-0x9c);}const _0x2dff9a=this[_0x487562(0x2f2,0x10a,_0x565698._0x18e079,_0x565698._0x6ed312)]();return _0x2dff9a(_0x401d4c);}[_0x55e1bc(0x4aa,0x6e3,0x625,0x62c)](_0x569174){const _0x25254b={_0x45cfdf:0x3f5,_0x4af0f1:0x422,_0x1b6dd8:0x122,_0x187d30:0x74,_0x2fd6ef:0x1cd,_0x250fb3:0x28b,_0x37ae9e:0x2e3,_0x5d20f5:0x20d,_0x480819:0x2d5,_0x324868:0x433,_0x41a370:0x5da,_0x3a1d85:0x185,_0x493179:0x53,_0x20d087:0xe,_0x4a58e9:0xd6,_0xc38a5a:0x386,_0x3612f4:0x214,_0x554af4:0x37a,_0x4894d9:0x2ca,_0x4a8ef8:0x217,_0x4fbcee:0x421,_0xf14690:0x5d,_0x1a6736:0x2d8,_0x5a4cea:0x2ad,_0x8c1866:0x4a9,_0x4fa275:0x1b7,_0x3ca016:0x188,_0x808789:0x3ba,_0x37bdd4:0x247,_0xa59834:0x3d4,_0x4af225:0x1d9,_0x2ade06:0x392,_0x1ddba3:0x323,_0x5cd484:0x229,_0x3256f0:0x433,_0xf1d07e:0x4aa,_0x1c9db4:0x441,_0x301c2d:0x31f,_0x577f55:0x60b,_0x23acd1:0x36c,_0x358afd:0x859,_0x400b09:0x620,_0x165530:0x34c,_0xb00a23:0x239,_0x5dd92e:0x43e,_0x1bc64c:0x142,_0x139429:0x5f,_0x76c593:0xc3,_0x498b51:0xf1,_0x5e16aa:0x352,_0x44eb79:0x30,_0x14c511:0x6,_0xd5875d:0x4c7,_0x9fad3f:0x380,_0xb660c3:0x4e9,_0x3138e5:0x2fc},_0x52d4f8={_0x27bc4e:0x69,_0x3a3887:0x12e,_0x693fe5:0x142},_0x311495={_0x26fb2f:0xc1,_0x218f57:0x1d,_0x31b58b:0xb3,_0x10b8ef:0x2fa,_0x21d0bc:0x30b,_0x5c86fc:0x224,_0x197625:0x63,_0x525d5:0x115,_0x162b5e:0x49,_0x326114:0x28c,_0x3ba1dd:0x2a,_0x2b7ad2:0x296,_0x47e4e2:0x34,_0x2a8c09:0x32e,_0x4d9c4a:0x19e,_0x11d2b5:0xae,_0x1d8b4c:0x21,_0x591eb2:0xc4},_0x1a7f06={_0x210567:0x592},_0x374f9c={_0x57a0a6:0x453},_0x212472={_0x5b7eee:0x952,_0x529517:0xa2d,_0x335f0c:0x67d,_0x491bac:0x550,_0x40fa49:0x6c7,_0x1ee12a:0x7a3,_0x24ed68:0x81a,_0x5c0c97:0x5b7,_0x11a6ca:0x70b,_0x39dbed:0x7f8,_0x312124:0x59b,_0x276899:0x3c8,_0x4568b3:0x2e4,_0x47a9f2:0x48e,_0x2450a8:0x308,_0x4e5a8e:0x24c,_0x3cf781:0x3bd,_0x387437:0x818,_0x3fbf4d:0x5e0,_0x361cce:0x4ac,_0x3c718c:0x59c,_0x3a0084:0x71c,_0x5b923d:0x726,_0x373e14:0x9e8,_0x17a460:0x9f5,_0x268e71:0x5e1,_0xaded0f:0x764,_0x3cb520:0x38b,_0x2c1067:0x3a4,_0x2b3e52:0x3fd,_0x414c39:0x5d1,_0xa6b666:0x60c,_0x3129c7:0x393,_0x116422:0x484,_0x332e3c:0x68a,_0x448498:0x76a,_0x42ec98:0x7b6,_0xd929b:0x70c,_0x3bb8d5:0x410,_0x4b7ab4:0x541,_0x15437e:0x7b7,_0x4cb320:0x500,_0x27c220:0x48c,_0x4e612:0x3a1,_0xd4c70c:0x62e,_0x1517f5:0x60d,_0x52a25c:0x72d,_0x3f1002:0x580,_0x5930c5:0x4b2,_0x545c8c:0x607,_0x5f47c4:0x6ee,_0x11d1d6:0x6f5,_0x4bba58:0x4b9,_0x5180f1:0x78e,_0x3745a4:0x509,_0x127c4b:0x33e,_0x57946d:0x476,_0x3832e5:0x4d2,_0x257829:0x5af,_0xd912e1:0x519,_0x1b5bd0:0x785,_0x45a464:0x423,_0x9de9ca:0x524,_0x2779e6:0x498,_0x1d9f59:0x6e2,_0x107e40:0x432,_0x10bf2c:0x62d,_0x2df1ad:0x5e0,_0x3a105e:0x3ad,_0x534bdd:0x73f,_0x337f89:0x716,_0x12a62c:0x8b8,_0x207bcd:0x70f,_0x12db2c:0x45a,_0x395bd6:0x71b,_0x33a24d:0x681,_0x5d3843:0x702,_0x4ec70a:0x448,_0x24e203:0x514,_0x33bcf1:0x5c3,_0x39e0a1:0x5be,_0x8b2998:0x51c,_0x4cffb5:0x76c,_0x502773:0x7d4,_0x4b6a13:0x448,_0x2e4d0a:0x2ea,_0x5a6ae8:0x955,_0x164fcc:0x510,_0x52c356:0x663,_0x180037:0x6d0,_0x12ced3:0x7ac},_0x20aabd={_0x31bcfe:0x10b},_0x3033ef=[],_0x117604=_0x569174['filter'](_0x37c62d=>_0x37c62d['role']===_0x48db8d(-0x17c,-0xab,0x74,-0x105));if(_0x117604[_0x48db8d(0x274,_0x25254b._0x45cfdf,0x239,_0x25254b._0x4af0f1)]>0x0){_0x3033ef[_0x3243d7(0x397,0x310,0x337,0x3d4)]({'role':_0x48db8d(_0x25254b._0x1b6dd8,0x2c1,_0x25254b._0x187d30,0xb),'content':_0x48db8d(_0x25254b._0x2fd6ef,_0x25254b._0x250fb3,0x32d,_0x25254b._0x37ae9e),'providerOptions':{'anthropic':{'cacheControl':{'type':_0x3243d7(_0x25254b._0x5d20f5,_0x25254b._0x480819,0x606,_0x25254b._0x324868)}}}});let _0x57d480=0x0;for(const _0x20de01 of _0x117604){const _0x5c9f68=_0x57d480<0x2;if(typeof _0x20de01['content']===_0x3243d7(0x27e,0x1d6,_0x25254b._0x41a370,0x424))_0x3033ef[_0x48db8d(-_0x25254b._0x3a1d85,0x190,0xc3,-_0x25254b._0x493179)]({'role':_0x48db8d(-_0x25254b._0x20d087,-_0x25254b._0x4a58e9,_0x25254b._0x187d30,0x225),'content':_0x20de01['content'],..._0x5c9f68&&{'providerOptions':{'anthropic':{'cacheControl':{'type':_0x3243d7(0x635,0x273,_0x25254b._0xc38a5a,0x433)}}}}});else{if(Array['isArray'](_0x20de01[_0x48db8d(0x365,_0x25254b._0x3612f4,0x217,0x24d)]))for(const _0x486019 of _0x20de01[_0x48db8d(_0x25254b._0x554af4,_0x25254b._0x4894d9,_0x25254b._0x4a8ef8,_0x25254b._0x4fbcee)]){_0x486019[_0x48db8d(_0x25254b._0xf14690,_0x25254b._0x1a6736,_0x25254b._0x5a4cea,_0x25254b._0x8c1866)]===_0x48db8d(0x119,0x119,_0x25254b._0x4fa275,_0x25254b._0x3ca016)&&_0x3033ef[_0x3243d7(_0x25254b._0x808789,0x5ba,_0x25254b._0x37bdd4,_0x25254b._0xa59834)]({'role':_0x48db8d(-0x13b,-_0x25254b._0x4af225,0x74,0x11f),'content':_0x486019[_0x48db8d(_0x25254b._0x2ade06,0x1ce,0x1b7,_0x25254b._0x1ddba3)],..._0x5c9f68&&{'providerOptions':{'anthropic':{'cacheControl':{'type':_0x3243d7(0x462,0x2ec,_0x25254b._0x5cd484,_0x25254b._0x3256f0)}}}}});}}_0x57d480++;}}const _0x2ec7c2=_0x569174[_0x48db8d(0x43b,_0x25254b._0xf1d07e,0x30f,_0x25254b._0x1c9db4)](_0x342da9=>_0x342da9[_0x3243d7(0x873,0x656,0x84c,0x79c)]!==_0x3243d7(0x25b,0x26d,0x3d5,0x385))[_0x3243d7(_0x25254b._0x301c2d,_0x25254b._0x577f55,_0x25254b._0x23acd1,0x402)](_0x2a9d82=>{const _0x1df514={_0x443ec5:0x1dd,_0x538e3a:0x74};if(_0x2a9d82[_0x458784(_0x212472._0x5b7eee,0x810,_0x212472._0x529517,_0x212472._0x335f0c)]===_0x458784(_0x212472._0x491bac,_0x212472._0x40fa49,0x830,0x731))return{'role':_0x2904bb(_0x212472._0x1ee12a,_0x212472._0x24ed68,_0x212472._0x5c0c97,_0x212472._0x11a6ca),'content':[{'type':_0x2904bb(0x985,0x81a,0x6b9,_0x212472._0x39dbed),'toolCallId':_0x2a9d82[_0x458784(0x7c4,_0x212472._0x312124,0x58b,_0x212472._0x276899)]||'','toolName':_0x2a9d82[_0x458784(_0x212472._0x4568b3,_0x212472._0x47a9f2,_0x212472._0x2450a8,_0x212472._0x4e5a8e)]||'','output':{'type':'text','value':typeof _0x2a9d82[_0x2904bb(0x6a0,_0x212472._0x3cf781,_0x212472._0x387437,_0x212472._0x3fbf4d)]===_0x2904bb(0x4bb,_0x212472._0x361cce,0x2b9,0x4dc)?_0x2a9d82[_0x458784(0x703,_0x212472._0x3c718c,_0x212472._0x3a0084,0x572)]:JSON[_0x2904bb(_0x212472._0x5b923d,_0x212472._0x373e14,_0x212472._0x17a460,0x81d)](_0x2a9d82[_0x458784(_0x212472._0x268e71,0x59c,0x501,0x6db)])}}]};function _0x458784(_0x497f01,_0x3364f9,_0x385a6a,_0x17139d){return _0x3243d7(_0x497f01-0x16a,_0x3364f9-_0x1df514._0x443ec5,_0x497f01,_0x3364f9-_0x1df514._0x538e3a);}function _0x2904bb(_0x5032c5,_0x43e473,_0x53ac85,_0x19497f){return _0x3243d7(_0x5032c5-_0x20aabd._0x31bcfe,_0x43e473-0x63,_0x5032c5,_0x19497f-0xb8);}if(_0x2a9d82[_0x458784(_0x212472._0xaded0f,0x810,0x726,0x7e5)]==='assistant'){const _0x2d9766=[];if(typeof _0x2a9d82[_0x458784(_0x212472._0x3cb520,0x59c,_0x212472._0x2c1067,_0x212472._0x2b3e52)]==='string'&&_0x2a9d82['content'])_0x2d9766[_0x458784(_0x212472._0x414c39,0x448,0x251,_0x212472._0xa6b666)]({'type':'text','text':_0x2a9d82[_0x2904bb(_0x212472._0x3129c7,_0x212472._0x116422,_0x212472._0x332e3c,_0x212472._0x3fbf4d)]});else{if(Array[_0x458784(0x698,_0x212472._0x448498,_0x212472._0x42ec98,0x65b)](_0x2a9d82[_0x2904bb(_0x212472._0xd929b,0x73c,0x66a,0x5e0)]))for(const _0x4c2a52 of _0x2a9d82[_0x2904bb(0x454,_0x212472._0x3bb8d5,_0x212472._0x4b7ab4,0x5e0)]){_0x4c2a52['type']===_0x2904bb(0x4f7,_0x212472._0x15437e,_0x212472._0x4cb320,0x580)&&_0x2d9766[_0x2904bb(0x54c,0x271,0x43f,_0x212472._0x27c220)]({'type':_0x458784(0x638,0x53c,_0x212472._0x4e612,_0x212472._0xd4c70c),'text':_0x4c2a52[_0x2904bb(_0x212472._0x1517f5,0x541,_0x212472._0x52a25c,_0x212472._0x3f1002)]});}}if(_0x2a9d82[_0x2904bb(_0x212472._0x5930c5,_0x212472._0x545c8c,0x50e,0x6f5)])for(const _0x1cf0d0 of _0x2a9d82[_0x2904bb(0x54f,_0x212472._0x5f47c4,0x684,_0x212472._0x11d1d6)]){_0x2d9766[_0x2904bb(0x453,_0x212472._0x3cb520,_0x212472._0x4bba58,_0x212472._0x27c220)]({'type':_0x2904bb(_0x212472._0x5180f1,_0x212472._0x3745a4,0x540,0x687),'toolCallId':_0x1cf0d0['id'],'toolName':_0x1cf0d0['function'][_0x2904bb(0x501,_0x212472._0x127c4b,_0x212472._0x57946d,_0x212472._0x3832e5)],'input':JSON['parse'](_0x1cf0d0[_0x2904bb(0x63a,0x70b,0x5f9,0x803)][_0x2904bb(0x576,_0x212472._0x257829,0x4b6,_0x212472._0xd912e1)]||'{}')});}return{'role':'assistant','content':_0x2d9766};}else{const _0x28be6a=[];if(typeof _0x2a9d82[_0x458784(_0x212472._0x1b5bd0,0x59c,_0x212472._0x45a464,_0x212472._0x9de9ca)]===_0x458784(0x2ab,_0x212472._0x2779e6,0x374,_0x212472._0x1d9f59)&&_0x2a9d82[_0x2904bb(_0x212472._0x107e40,_0x212472._0x10bf2c,0x4ce,_0x212472._0x2df1ad)])_0x28be6a[_0x2904bb(0x469,0x5d1,_0x212472._0x3a105e,0x48c)]({'type':_0x2904bb(0x3d8,_0x212472._0x534bdd,0x422,_0x212472._0x3f1002),'text':_0x2a9d82['content']});else{if(Array[_0x2904bb(_0x212472._0x337f89,0x775,_0x212472._0x12a62c,0x7ae)](_0x2a9d82['content']))for(const _0x4904e4 of _0x2a9d82[_0x458784(_0x212472._0x207bcd,_0x212472._0x3c718c,_0x212472._0x12db2c,_0x212472._0x395bd6)]){if(_0x4904e4[_0x458784(0x4d0,0x632,_0x212472._0x33a24d,_0x212472._0x5d3843)]==='text')_0x28be6a[_0x458784(0x305,_0x212472._0x4ec70a,0x613,0x490)]({'type':_0x458784(_0x212472._0x24e203,0x53c,_0x212472._0x33bcf1,0x591),'text':_0x4904e4[_0x2904bb(_0x212472._0x39e0a1,0x38e,_0x212472._0x8b2998,0x580)]});else _0x4904e4[_0x458784(_0x212472._0x4cffb5,0x632,0x636,0x735)]===_0x458784(0x92d,_0x212472._0x502773,0x717,0x733)&&_0x28be6a[_0x458784(0x629,_0x212472._0x4b6a13,_0x212472._0x2e4d0a,0x663)]({'type':_0x2904bb(0x844,0x7c5,_0x212472._0x5a6ae8,0x82a),'image':_0x4904e4['image_url'][_0x2904bb(0x44b,0x3b2,0x2fe,_0x212472._0x164fcc)]});}}return{'role':_0x458784(0x4b5,_0x212472._0x52c356,_0x212472._0x180037,_0x212472._0x12ced3),'content':_0x28be6a};}});let _0x1ef1d4=[..._0x3033ef,..._0x2ec7c2];function _0x48db8d(_0x10e1d7,_0x2286bf,_0x228968,_0xe17ab){return _0x55e1bc(_0x10e1d7,_0x2286bf-0x2a,_0x228968-0x172,_0x228968- -_0x374f9c._0x57a0a6);}_0x1ef1d4=_0x1ef1d4[_0x3243d7(0x7f4,_0x25254b._0x358afd,0x7d3,_0x25254b._0x400b09)]((_0x181b04,_0x2f9507)=>{const _0x21b6a1={_0x49e99f:0x112},_0x559550=_0x2f9507===_0x1ef1d4[_0x26c5d3(-_0x311495._0x26fb2f,-0x48,-_0x311495._0x218f57,_0x311495._0x31b58b)]-0x1;function _0x478494(_0x53b3a7,_0x105e15,_0x2f38e8,_0x5729e8){return _0x3243d7(_0x53b3a7-0xa5,_0x105e15-_0x21b6a1._0x49e99f,_0x53b3a7,_0x2f38e8- -0x5d6);}const _0xe79fb0=_0x181b04[_0x478494(_0x311495._0x10b8ef,_0x311495._0x21d0bc,0x1c6,_0x311495._0x5c86fc)]===_0x26c5d3(-0x12,_0x311495._0x197625,-_0x311495._0x525d5,-_0x311495._0x162b5e),_0x310b36=!_0x181b04[_0x478494(-_0x311495._0x326114,_0x311495._0x3ba1dd,-0xae,-0x211)]||Array[_0x26c5d3(_0x311495._0x2b7ad2,0x164,_0x311495._0x47e4e2,_0x311495._0x2a8c09)](_0x181b04[_0x478494(0x18d,-_0x311495._0x4d9c4a,-_0x311495._0x11d2b5,_0x311495._0x1d8b4c)])&&_0x181b04['content'][_0x26c5d3(0xcf,-0x48,_0x311495._0x591eb2,0x1cc)]===0x0;function _0x26c5d3(_0x15fd96,_0x287683,_0x396edd,_0x14953e){return _0x3243d7(_0x15fd96-0x16e,_0x287683-0x12b,_0x396edd,_0x287683- -_0x1a7f06._0x210567);}return!_0x310b36||_0x559550&&_0xe79fb0;});const _0x539f33=_0x1ef1d4['filter'](_0x5ae49d=>_0x5ae49d['role']==='user'||_0x5ae49d[_0x48db8d(0x36c,0x489,0x48b,0x61a)]===_0x3243d7(0x536,0x78c,0x66f,0x5f5));function _0x3243d7(_0x90f8a1,_0x3ca43c,_0xac4fe8,_0x27cc27){return _0x55e1bc(_0xac4fe8,_0x3ca43c-_0x52d4f8._0x27bc4e,_0xac4fe8-_0x52d4f8._0x3a3887,_0x27cc27- -_0x52d4f8._0x693fe5);}const _0x97183c=[];if(_0x539f33[_0x48db8d(_0x25254b._0x165530,0xf5,_0x25254b._0xb00a23,_0x25254b._0x5dd92e)]>=0x2){const _0x410377=_0x539f33[_0x539f33[_0x48db8d(_0x25254b._0x1bc64c,0x46a,0x239,0x2e7)]-0x1],_0x465d4d=_0x539f33[_0x539f33[_0x48db8d(0x7,0x92,0x239,_0x25254b._0x139429)]-0x2];if(_0x410377){const _0x543dbd=_0x1ef1d4['indexOf'](_0x410377);if(_0x543dbd!==-0x1)_0x97183c[_0x48db8d(0x1ac,0x14b,_0x25254b._0x76c593,-_0x25254b._0x498b51)](_0x543dbd);}if(_0x465d4d){const _0x18e304=_0x1ef1d4[_0x48db8d(0x204,0x267,0x1d8,-0x5b)](_0x465d4d);if(_0x18e304!==-0x1)_0x97183c[_0x48db8d(-0xf5,0x226,_0x25254b._0x76c593,0x283)](_0x18e304);}}else{if(_0x539f33[_0x48db8d(_0x25254b._0x5e16aa,_0x25254b._0x44eb79,0x239,-_0x25254b._0x14c511)]===0x1){const _0x7c534e=_0x539f33[0x0];if(_0x7c534e){const _0x460cf8=_0x1ef1d4[_0x3243d7(0x45d,_0x25254b._0xd5875d,_0x25254b._0x9fad3f,_0x25254b._0xb660c3)](_0x7c534e);if(_0x460cf8!==-0x1)_0x97183c[_0x3243d7(0x61d,0x3fd,0x3b2,0x3d4)](_0x460cf8);}}}for(const _0x352598 of _0x97183c){_0x1ef1d4[_0x352598]={..._0x1ef1d4[_0x352598],'providerOptions':{'anthropic':{'cacheControl':{'type':_0x48db8d(0x372,0x22,0x122,_0x25254b._0x3138e5)}}}};}return _0x1ef1d4;}[_0x55e1bc(0x6da,0x2a5,0x2b3,0x4d7)](_0x2eda3f){const _0x30ee28={_0x1fdf37:0x2de,_0x2ca07e:0x269,_0x3cddb1:0x491,_0xffa706:0x177,_0x27ea77:0x1e9,_0x417655:0x443,_0x34ec07:0x602,_0x567853:0x35d,_0x2b3d97:0x48f,_0x44c0b3:0x292,_0x2db80b:0x44f,_0x2a98f7:0x35c,_0x4da0f4:0x699},_0x470998={_0x30ed38:0x71},_0x127ad9={_0x56f9c7:0xcd};if(!_0x2eda3f||_0x2eda3f[_0x132cf2(0x2a7,_0x30ee28._0x1fdf37,_0x30ee28._0x2ca07e,_0x30ee28._0x3cddb1)]===0x0)return void 0x0;const _0x2223d5={};for(const _0x151465 of _0x2eda3f){_0x2223d5[_0x151465[_0x132cf2(0x4a8,0x4c9,0x63f,0x2e0)][_0x132cf2(_0x30ee28._0xffa706,-0xd,0xed,_0x30ee28._0x27ea77)]]={'description':_0x151465[_0x132cf2(0x4a8,0x6ec,_0x30ee28._0x417655,_0x30ee28._0x34ec07)][_0x132cf2(0x380,0x3b5,_0x30ee28._0x567853,0x1e2)],'inputSchema':jsonSchema(_0x151465[_0x132cf2(0x4a8,0x438,_0x30ee28._0x2b3d97,_0x30ee28._0x44c0b3)][_0x132cf2(_0x30ee28._0x2db80b,0x4eb,_0x30ee28._0x2a98f7,_0x30ee28._0x4da0f4)])};}function _0x2666f8(_0x2e4c1b,_0x43615e,_0x22192e,_0x200803){return _0x3a64dd(_0x2e4c1b-_0x127ad9._0x56f9c7,_0x43615e,_0x22192e- -0x54a,_0x200803-0x1d1);}function _0x132cf2(_0x125d86,_0x3047ec,_0x244543,_0xc52f41){return _0x55e1bc(_0xc52f41,_0x3047ec-0x159,_0x244543-_0x470998._0x30ed38,_0x125d86- -0x3e5);}return _0x2223d5;}[_0x55e1bc(0x641,0x72a,0xa00,0x7d6)](_0x1f4fc3){const _0x2f9aaa={_0x5322e0:0x2f7,_0x526afd:0x236,_0x346c64:0x324,_0x4a03e4:0xb6,_0x3a919e:0xb5,_0xebf20f:0x23a,_0x4103d4:0x258,_0x3b7c09:0x18f,_0x5b148a:0x391,_0x2061f4:0x184,_0x583eec:0x1a5,_0x3895f8:0x3f1,_0x421145:0x5d4,_0x1a3f4c:0x2ac,_0xe6edd6:0x566,_0x450090:0x392,_0x3feacc:0x57e,_0x16aabd:0x4d3,_0x4461c5:0x30f,_0x3933bd:0x223,_0x5da6cb:0x25c,_0x238607:0x25},_0x45106c={_0x27c7d5:0x30f},_0x3b1b87={_0x187778:0x80,_0x1ec45e:0x643,_0x3fbcdd:0x36};if(!_0x1f4fc3||_0x1f4fc3===_0x1dfb95(-0x45b,-_0x2f9aaa._0x5322e0,-_0x2f9aaa._0x526afd,-_0x2f9aaa._0x346c64))return _0x44916c(_0x2f9aaa._0x4a03e4,_0x2f9aaa._0x3a919e,_0x2f9aaa._0xebf20f,0x377);if(_0x1f4fc3===_0x44916c(_0x2f9aaa._0x4103d4,0x21c,0x33e,0x2e4))return'none';function _0x1dfb95(_0x24e021,_0x5b68a3,_0x5cf99f,_0x50b2fa){return _0x3a64dd(_0x24e021-_0x3b1b87._0x187778,_0x50b2fa,_0x5cf99f- -_0x3b1b87._0x1ec45e,_0x50b2fa-_0x3b1b87._0x3fbcdd);}function _0x44916c(_0x211c75,_0x56453a,_0x5e9fb3,_0xb42b34){return _0x55e1bc(_0x211c75,_0x56453a-0x36,_0x5e9fb3-0x69,_0x5e9fb3- -_0x45106c._0x27c7d5);}if(typeof _0x1f4fc3===_0x1dfb95(-_0x2f9aaa._0x3b7c09,-_0x2f9aaa._0x5b148a,-_0x2f9aaa._0x2061f4,-0x23e)&&_0x1f4fc3[_0x44916c(0x22b,_0x2f9aaa._0x583eec,_0x2f9aaa._0x3895f8,_0x2f9aaa._0x421145)]==='function')return{'type':_0x44916c(_0x2f9aaa._0x1a3f4c,0x616,0x486,_0x2f9aaa._0xe6edd6),'toolName':_0x1f4fc3[_0x44916c(0x34a,_0x2f9aaa._0x450090,_0x2f9aaa._0x3feacc,_0x2f9aaa._0x16aabd)][_0x1dfb95(-_0x2f9aaa._0x4461c5,-0xc2,-_0x2f9aaa._0x3933bd,-_0x2f9aaa._0x5da6cb)]};return _0x44916c(0x1fc,0x47d,_0x2f9aaa._0xebf20f,_0x2f9aaa._0x238607);}[_0x3a64dd(0x3fc,0x5b6,0x57b,0x7b7)](_0x1225fd){const _0x241e8d={_0x2a4704:0x5e4,_0x401cd9:0x638,_0x42b9b:0x480,_0x3cbc4b:0x70d,_0x5a5427:0x706,_0x1db963:0x596,_0x4e8236:0x7c4,_0x298508:0x9c8,_0x129eb1:0x7f6,_0x486cfa:0x791,_0x30cbc5:0xb8,_0x893ae0:0x39e,_0x2d5d55:0x1f7,_0x46ad16:0x1bc,_0x1df738:0xfd,_0x197b6d:0x316},_0x5387ce={_0x59f462:0x5d,_0x561349:0x124},_0x30dbf5={_0x232cfa:0x1b};if(!_0x1225fd)return{'prompt_tokens':0x0,'completion_tokens':0x0,'total_tokens':0x0};const _0x4d2233=_0x1225fd[_0x11cd6b(_0x241e8d._0x2a4704,0x6ff,_0x241e8d._0x401cd9,_0x241e8d._0x42b9b)]??_0x1225fd[_0x11cd6b(_0x241e8d._0x3cbc4b,_0x241e8d._0x5a5427,_0x241e8d._0x1db963,0x89c)]??0x0,_0x41fa7a=_0x1225fd['outputTokens']??_0x1225fd[_0x11cd6b(_0x241e8d._0x4e8236,_0x241e8d._0x298508,_0x241e8d._0x129eb1,_0x241e8d._0x486cfa)]??0x0,_0x53a523=_0x1225fd[_0x20e442(0x97,0x264,_0x241e8d._0x30cbc5,0x29)]??_0x1225fd['cache_creation_input_tokens']??0x0,_0x71268=_0x1225fd['cacheReadInputTokens']??_0x1225fd[_0x20e442(0x5c5,_0x241e8d._0x893ae0,_0x241e8d._0x2d5d55,_0x241e8d._0x46ad16)]??0x0;function _0x11cd6b(_0xce77d,_0xd3e5cd,_0x1cfd44,_0x572c06){return _0x55e1bc(_0xd3e5cd,_0xd3e5cd-0x34,_0x1cfd44-0x3c,_0xce77d-_0x30dbf5._0x232cfa);}const _0x29a0d9=_0x1225fd[_0x20e442(-0x8d,_0x241e8d._0x1df738,_0x241e8d._0x197b6d,-0xf3)]??_0x53a523+_0x71268;function _0x20e442(_0x285dc6,_0x3e1eb1,_0x2ca59a,_0x19e3a1){return _0x3a64dd(_0x285dc6-_0x5387ce._0x59f462,_0x19e3a1,_0x3e1eb1- -0x2e9,_0x19e3a1-_0x5387ce._0x561349);}const _0x4c7536=_0x4d2233+_0x29a0d9,_0x4e5d5c=_0x4c7536+_0x41fa7a;return{'prompt_tokens':_0x4c7536,'completion_tokens':_0x41fa7a,'total_tokens':_0x4e5d5c,'prompt_tokens_details':{'cached_tokens':_0x29a0d9},..._0x53a523>0x0&&{'cache_creation_input_tokens':_0x53a523},..._0x71268>0x0&&{'cache_read_input_tokens':_0x71268}};}[_0x3a64dd(0x38e,0x2bb,0x4ea,0x65d)](_0x29fd54){const _0x4f1d87={_0x426b27:0x3fd,_0x6aeb2:0x1b4,_0x34679f:0x1ae,_0x3003a2:0x166,_0xf01f5f:0x393,_0x5d130b:0x2a,_0x1fc5e7:0x63b,_0x112638:0x2da,_0x25d229:0x2a,_0x3ca395:0x7,_0x542391:0x4f,_0x4732ed:0x210,_0xb8ed2d:0x187,_0x4e0c7b:0x30,_0x343050:0x161,_0x3e959b:0x1b5,_0x2a8172:0x264,_0x351ae8:0x87,_0x12c5f1:0x3b4,_0x42a91b:0xff,_0x25968f:0x6bb,_0x12ea82:0x794,_0x290d67:0x3e5,_0x4edea2:0x205,_0x33730a:0x327,_0x33a462:0x5b1,_0x3a85c7:0x82d,_0x3e5d9c:0x545,_0x389f9c:0x595,_0x193bc0:0x24d,_0x1848c3:0x54b,_0x39ca1c:0x2f5,_0x1b7e29:0xd4,_0x410358:0x407,_0x382000:0x1bd,_0x487aec:0x653,_0x59862a:0x653,_0x1d4de1:0x3cd,_0x2e80a:0x379,_0x4b7201:0x50e,_0x454b27:0x28c,_0x13bb9e:0x260},_0x47910e={_0x33b150:0x154},_0x101311={_0x579df4:0x54,_0xebfe96:0x150};if(_0x29fd54 instanceof LLMError)throw _0x29fd54;function _0x5cfd69(_0x1a4d79,_0x367a68,_0x421dcc,_0x12d857){return _0x3a64dd(_0x1a4d79-_0x101311._0x579df4,_0x367a68,_0x12d857- -0x174,_0x12d857-_0x101311._0xebfe96);}if(APICallError['isInstance'](_0x29fd54)){const _0x239108=_0x29fd54[_0x5cfd69(0x2be,_0x4f1d87._0x426b27,0x1e1,0x32d)],_0x306a58=_0x29fd54[_0x481a9a(0x3e5,0x39e,_0x4f1d87._0x6aeb2,_0x4f1d87._0x34679f)]||_0x481a9a(0x17f,_0x4f1d87._0x3003a2,_0x4f1d87._0xf01f5f,_0x4f1d87._0x5d130b);if(_0x239108===0x1ad||_0x239108===0x198)throw new LLMError(_0x5cfd69(0x622,0x563,0x861,_0x4f1d87._0x1fc5e7),_0x239108,!![],_0x29fd54);else{if(_0x239108===0x191||_0x239108===0x193)throw new LLMError(_0x481a9a(0x1a8,-0x29,_0x4f1d87._0x112638,0x26a),_0x239108,![],_0x29fd54);else{if(_0x239108===0x190)throw new LLMError(_0x481a9a(0x2f5,0x268,0x342,0x44a)+_0x306a58,_0x239108,![],_0x29fd54);else{if(_0x239108&&isRetryableStatusCode(_0x239108,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x481a9a(_0x4f1d87._0x25d229,-_0x4f1d87._0x3ca395,-_0x4f1d87._0x542391,-_0x4f1d87._0x4732ed),_0x239108,!![],_0x29fd54);}}}throw new LLMError(_0x306a58,_0x239108,_0x29fd54[_0x481a9a(_0x4f1d87._0xb8ed2d,_0x4f1d87._0x4e0c7b,-0x6f,_0x4f1d87._0x343050)]??isRetryableError(_0x29fd54,DEFAULT_RETRYABLE_STATUS_CODES),_0x29fd54);}if(_0x29fd54&&typeof _0x29fd54===_0x481a9a(0xef,_0x4f1d87._0x3e959b,_0x4f1d87._0x2a8172,0x16f)&&'statusCode'in _0x29fd54&&'message'in _0x29fd54){const _0x3c7af5=typeof _0x29fd54[_0x481a9a(0xd1,_0x4f1d87._0x351ae8,0xe6,0xc1)]===_0x5cfd69(_0x4f1d87._0x12c5f1,0x1e3,_0x4f1d87._0x42a91b,0x1c4)?_0x29fd54['statusCode']:void 0x0,_0x352936=typeof _0x29fd54[_0x5cfd69(_0x4f1d87._0x25968f,_0x4f1d87._0x12ea82,0x58b,0x641)]==='string'?_0x29fd54[_0x481a9a(_0x4f1d87._0x290d67,0x55c,0x3b2,_0x4f1d87._0x4edea2)]:_0x5cfd69(_0x4f1d87._0x33730a,0x450,_0x4f1d87._0x33a462,0x4dc);if(_0x3c7af5===0x1ad||_0x3c7af5===0x198)throw new LLMError(_0x5cfd69(_0x4f1d87._0x3a85c7,_0x4f1d87._0x3e5d9c,_0x4f1d87._0x389f9c,0x63b),_0x3c7af5,!![],_0x29fd54);else{if(_0x3c7af5===0x191||_0x3c7af5===0x193)throw new LLMError(_0x5cfd69(_0x4f1d87._0x193bc0,0x609,_0x4f1d87._0x1848c3,0x404),_0x3c7af5,![],_0x29fd54);else{if(_0x3c7af5===0x190)throw new LLMError(_0x481a9a(_0x4f1d87._0x39ca1c,_0x4f1d87._0x1b7e29,0x3a8,_0x4f1d87._0x410358)+_0x352936,_0x3c7af5,![],_0x29fd54);else{if(_0x3c7af5&&isRetryableStatusCode(_0x3c7af5,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError('Service\x20temporarily\x20unavailable.\x20Please\x20try\x20again\x20later.',_0x3c7af5,!![],_0x29fd54);}}}throw new LLMError(_0x352936,_0x3c7af5,isRetryableError(_0x29fd54,DEFAULT_RETRYABLE_STATUS_CODES),_0x29fd54);}if(_0x29fd54 instanceof Error){if(_0x29fd54[_0x481a9a(0x50,-_0x4f1d87._0x382000,0x33,-_0x4f1d87._0x3ca395)]==='AbortError')throw new LLMError('Request\x20was\x20cancelled',void 0x0,![],_0x29fd54);if(_0x29fd54['message']['includes'](_0x5cfd69(0x6ad,0x40a,_0x4f1d87._0x487aec,0x4cb)))throw new LLMError(_0x5cfd69(_0x4f1d87._0x59862a,0x57a,0x6e7,_0x4f1d87._0x1fc5e7),0x1ad,!![],_0x29fd54);const _0x4e1622=isRetryableError(_0x29fd54,DEFAULT_RETRYABLE_STATUS_CODES);if(_0x4e1622)throw new LLMError('Network\x20error\x20occurred.\x20Please\x20try\x20again.',void 0x0,!![],_0x29fd54);throw new LLMError(_0x29fd54[_0x481a9a(0x3e5,_0x4f1d87._0x1d4de1,_0x4f1d87._0x2e80a,_0x4f1d87._0x4b7201)],void 0x0,![],_0x29fd54);}function _0x481a9a(_0x1c976b,_0x3a4812,_0x324424,_0x458f12){return _0x3a64dd(_0x1c976b-0x11a,_0x458f12,_0x1c976b- -0x3d0,_0x458f12-_0x47910e._0x33b150);}throw new LLMError(_0x5cfd69(0x369,0x159,_0x4f1d87._0x454b27,_0x4f1d87._0x13bb9e),void 0x0,![],_0x29fd54);}async[_0x3a64dd(0x599,0x49f,0x58e,0x70e)](_0x93f715,_0xe228c0){const _0x2444d6={_0x5ebccb:0x71a,_0x4ed2b5:0x5d1,_0x4f9d42:0x268,_0x3bd7e7:0x1bc,_0x1cda7f:0x223,_0x50fd41:0x124,_0x14bff9:0xb8,_0xf1c455:0x9df,_0x470e3e:0x1db,_0xebc7de:0x262,_0x13df3:0x7,_0x26a58a:0x1b,_0x766bcb:0x13c,_0xc4064f:0x449,_0x30b5af:0x3a6,_0x273974:0x5f6,_0x183edb:0x3c4,_0x4a1d74:0xdb,_0x37ce0a:0x72,_0x214975:0x77,_0x40d687:0x18c,_0x1358ba:0xda,_0x18b8e8:0x228,_0x2592c8:0x3b,_0x421369:0x28e,_0xe1e1d8:0x95,_0xb6b97c:0x8,_0x1494ff:0x114,_0x1608bb:0x110,_0x4a9ed9:0x1f9,_0x41abf4:0x5a8,_0x2160dc:0x581,_0x325981:0x702,_0x174464:0x80,_0x6673ed:0x1e9,_0x27c700:0x1f4,_0x12e1f4:0x567,_0x138007:0x5cd,_0x142a4e:0x4e7,_0x15e159:0x5ac},_0x54e2fa={_0x382658:0xfb,_0x50360b:0x31},_0x2a9bf9={_0x22b0db:0xbf,_0x442353:0x8d};function _0x516ff1(_0xd6ad8f,_0x339a76,_0x430a2d,_0x3f5daa){return _0x55e1bc(_0x339a76,_0x339a76-_0x2a9bf9._0x22b0db,_0x430a2d-_0x2a9bf9._0x442353,_0x3f5daa- -0x574);}function _0x20ebaf(_0x5080b1,_0x208f3a,_0x4656ac,_0x59c752){return _0x3a64dd(_0x5080b1-_0x54e2fa._0x382658,_0x5080b1,_0x4656ac-_0x54e2fa._0x50360b,_0x59c752-0x143);}try{const _0x2a30ba=this[_0x20ebaf(0x5b7,0x67b,_0x2444d6._0x5ebccb,0x6d2)](_0x93f715[_0x20ebaf(_0x2444d6._0x4ed2b5,0x4f3,0x395,_0x2444d6._0x4f9d42)]),_0xde779b=this[_0x516ff1(_0x2444d6._0x3bd7e7,_0x2444d6._0x1cda7f,_0x2444d6._0x50fd41,_0x2444d6._0x14bff9)](_0x93f715[_0x20ebaf(_0x2444d6._0xf1c455,0x8eb,0x7c0,0x7d3)]),_0x2733d8=this[_0x516ff1(0x1ac,0x92,-0xf4,-0x9d)](_0x93f715[_0x516ff1(-0x185,-0x22f,0x105,-0x49)]),_0x3cf7d9=_0x2733d8?this[_0x516ff1(0x52,0x169,_0x2444d6._0x470e3e,_0x2444d6._0xebc7de)](_0x93f715[_0x516ff1(_0x2444d6._0x13df3,-0x1b0,0x20b,0x6e)]):void 0x0,_0xed98e0=await generateText({'model':_0x2a30ba,'messages':_0xde779b,'tools':_0x2733d8,'toolChoice':_0x3cf7d9,'maxOutputTokens':_0x93f715[_0x516ff1(-_0x2444d6._0x26a58a,-0x20,_0x2444d6._0x766bcb,0x16a)]??0x2800,'temperature':_0x93f715[_0x20ebaf(_0x2444d6._0xc4064f,_0x2444d6._0x30b5af,_0x2444d6._0x273974,_0x2444d6._0x183edb)],'abortSignal':_0xe228c0,..._0x93f715[_0x516ff1(-0xe2,-0x14,-0xe4,0x72)]&&{'thinking':_0x93f715[_0x516ff1(0x2a5,-_0x2444d6._0x4a1d74,-0xa,_0x2444d6._0x37ce0a)][_0x516ff1(0x265,_0x2444d6._0x214975,0x299,_0x2444d6._0x40d687)]===_0x516ff1(0x98,-_0x2444d6._0x1358ba,-_0x2444d6._0x18b8e8,-0x56)?{'type':_0x516ff1(0x102,_0x2444d6._0x2592c8,-_0x2444d6._0x421369,-0x56),'budgetTokens':_0x93f715[_0x516ff1(-0x196,0x100,0x2c0,_0x2444d6._0x37ce0a)][_0x516ff1(_0x2444d6._0xe1e1d8,-0x1ca,-0x1c4,_0x2444d6._0xb6b97c)]}:{'type':_0x516ff1(-0x11e,0x138,0x162,-0x3a)}}}),_0x11e854=_0xed98e0[_0x516ff1(_0x2444d6._0x1494ff,_0x2444d6._0x1608bb,_0x2444d6._0x4a9ed9,0xe)]&&_0xed98e0[_0x20ebaf(_0x2444d6._0x41abf4,0x5d5,0x477,0x3dc)][_0x20ebaf(0x525,0x5d1,_0x2444d6._0x2160dc,_0x2444d6._0x325981)]>0x0?_0xed98e0[_0x516ff1(-_0x2444d6._0x174464,-_0x2444d6._0x6673ed,-0xf3,0xe)][_0x20ebaf(_0x2444d6._0x27c700,0x4dd,0x439,0x202)](_0xca7e17=>({'id':_0xca7e17[_0x20ebaf(0x333,0x2ba,0x4a2,0x2d5)],'type':_0x20ebaf(0x875,0x777,0x782,0x822),'function':{'name':_0xca7e17[_0x20ebaf(0x678,0x5c5,0x54a,0x539)],'arguments':JSON[_0x20ebaf(0x58f,0x70a,0x79c,0x740)](_0xca7e17['input'])}})):void 0x0,_0x412926=_0xed98e0[_0x20ebaf(0x521,_0x2444d6._0x12e1f4,0x367,0x468)],_0x5d7487=this[_0x20ebaf(_0x2444d6._0x138007,_0x2444d6._0x142a4e,_0x2444d6._0x15e159,0x3c9)](_0x412926);return{'content':_0xed98e0['text'],..._0x11e854&&{'tool_calls':_0x11e854},'usage':_0x5d7487};}catch(_0x6aab88){this['handleError'](_0x6aab88);}}async[_0x3a64dd(0x51f,0x46e,0x51f,0x541)](_0x50a0d3,_0x1be5a9={},_0x689db6){const _0x39ee27={_0x20f567:0x139,_0x4df084:0xc6,_0x15b92f:0x2d1,_0x2af5c6:0x5b9,_0x594082:0x4aa,_0xf9b6cc:0x10a,_0x9a8b4a:0x7d,_0x18c0a7:0x320,_0x580609:0x2ea,_0x2ecb0e:0x3fc,_0x1c2eed:0x201,_0x547810:0x3b4,_0x8f9e1:0x304,_0x317354:0x1eb,_0x1ff140:0x2e0,_0x5bab2d:0x7,_0x74e202:0x452,_0x268d3c:0x3dc,_0x3f0556:0x3a6,_0xfc9dcd:0x1bf,_0x4aab05:0x230,_0xf528bc:0x144,_0x10bf49:0xd3,_0x57796a:0x144,_0x47c51d:0x21,_0x242a9f:0x20c,_0x1168ec:0x24e,_0x3df9fc:0x119,_0x2a3a6d:0x3b9,_0x12b636:0x2a,_0x3dc97c:0x17c,_0x5ae4d9:0x21e,_0x3692a6:0x1d5,_0xe0a8e0:0x17a,_0x1dcb11:0x2b2,_0x2ad378:0x16a,_0x3cf54e:0x3ed,_0x44b42a:0x477,_0x2faa17:0x3e4},_0x642241={_0x44a539:0x548,_0x2a75e3:0x5ca},_0x14d59a={_0x3d06be:0x210},_0x242568={_0x1455b7:0x1b7,_0x18271e:0x29e};function _0x483678(_0x12da1a,_0x1d4e2c,_0x58d225,_0x6d7f72){return _0x3a64dd(_0x12da1a-0x4f,_0x12da1a,_0x58d225- -0x2e5,_0x6d7f72-0x1ec);}let _0x185d25=null;const _0x362b22=this['getModel'](_0x50a0d3[_0x324d63(-_0x39ee27._0x20f567,0x22c,-0x160,_0x39ee27._0x4df084)]),_0x5ae035=this['transformMessages'](_0x50a0d3[_0x483678(_0x39ee27._0x15b92f,_0x39ee27._0x2af5c6,_0x39ee27._0x594082,0x4d4)]),_0x42ac33=this['transformTools'](_0x50a0d3[_0x483678(-0x3a,0x1ed,_0x39ee27._0xf9b6cc,_0x39ee27._0x9a8b4a)]),_0x1cd246=_0x42ac33?this[_0x324d63(_0x39ee27._0x18c0a7,0x1b6,_0x39ee27._0x580609,_0x39ee27._0x2ecb0e)](_0x50a0d3['tool_choice']):void 0x0;function _0x324d63(_0x5f4d99,_0x33bf5b,_0x3ebea7,_0x2f5c79){return _0x3a64dd(_0x5f4d99-_0x242568._0x1455b7,_0x5f4d99,_0x2f5c79- -_0x242568._0x18271e,_0x2f5c79-0x1d7);}const _0x4fb6d4=streamText({'model':_0x362b22,'messages':_0x5ae035,'tools':_0x42ac33,'toolChoice':_0x1cd246,'maxOutputTokens':_0x50a0d3[_0x324d63(_0x39ee27._0x1c2eed,0x4de,_0x39ee27._0x547810,_0x39ee27._0x8f9e1)],'temperature':_0x50a0d3[_0x483678(_0x39ee27._0x317354,0x13d,_0x39ee27._0x1ff140,0x52d)],'abortSignal':_0x689db6,'maxRetries':0xa,..._0x50a0d3[_0x324d63(-_0x39ee27._0x5bab2d,_0x39ee27._0x74e202,0x1c4,0x20c)]&&{'thinking':_0x50a0d3[_0x324d63(_0x39ee27._0x268d3c,_0x39ee27._0x3f0556,0x2ac,0x20c)]['type']===_0x324d63(0x29c,_0x39ee27._0xfc9dcd,_0x39ee27._0x4aab05,_0x39ee27._0xf528bc)?{'type':_0x324d63(-_0x39ee27._0x10bf49,0x71,0x29d,_0x39ee27._0x57796a),'budgetTokens':_0x50a0d3[_0x324d63(0x6,_0x39ee27._0x47c51d,0x183,_0x39ee27._0x242a9f)][_0x324d63(-_0x39ee27._0x5bab2d,0x330,_0x39ee27._0x1168ec,0x1a2)]}:{'type':_0x483678(0x32e,-0xa,_0x39ee27._0x3df9fc,_0x39ee27._0x4df084)}},'onError':_0x1141e3=>{function _0x32dab1(_0x4b2b19,_0x4a420a,_0x528ead,_0xb03a9c){return _0x324d63(_0x4a420a,_0x4a420a-0x66,_0x528ead-0x1de,_0x4b2b19-_0x14d59a._0x3d06be);}_0x185d25=_0x1141e3[_0x32dab1(_0x642241._0x44a539,0x57e,0x2fb,_0x642241._0x2a75e3)];},'onAbort':()=>{_0x185d25=new LLMError('Request\x20was\x20cancelled',void 0x0,![]);}});try{let _0x19d6c2='';for await(const _0x388b19 of _0x4fb6d4['textStream']){_0x19d6c2+=_0x388b19,_0x1be5a9[_0x324d63(0x23c,0x549,0x4ba,_0x39ee27._0x2a3a6d)]?.(_0x388b19);}if(_0x185d25)throw _0x185d25;const _0x7db33b=_0x4fb6d4[_0x324d63(-_0x39ee27._0x12b636,0x207,_0x39ee27._0x3dc97c,0x1a8)]&&(await _0x4fb6d4['toolCalls'])[_0x324d63(_0x39ee27._0x5ae4d9,_0x39ee27._0x3692a6,_0x39ee27._0xe0a8e0,_0x39ee27._0x1dcb11)]>0x0?(await _0x4fb6d4[_0x324d63(-0x4,0x2a2,0x22,0x1a8)])[_0x324d63(-0x87,0x23,0x39c,_0x39ee27._0x2ad378)](_0x2ad631=>({'id':_0x2ad631[_0x324d63(0x212,0x1b9,0x140,0x1d3)],'type':_0x324d63(0x461,0x4c4,0x65f,0x4b3),'function':{'name':_0x2ad631[_0x324d63(0x478,0x99,0x3de,0x27b)],'arguments':JSON['stringify'](_0x2ad631[_0x324d63(-0x80,0x172,-0x154,0xa1)])}})):void 0x0,_0x516af5=await _0x4fb6d4['usage'],_0x456dce=this[_0x324d63(0xe1,0xc2,_0x39ee27._0x3cf54e,0x2dd)](_0x516af5),_0x388699=await _0x4fb6d4[_0x324d63(0x21e,_0x39ee27._0x44b42a,_0x39ee27._0x2faa17,0x29e)];return await _0x1be5a9['onStreamFinish']?.(_0x388699,_0x456dce),{'content':_0x19d6c2,..._0x7db33b&&{'tool_calls':_0x7db33b},'usage':_0x456dce};}catch(_0x3cbe22){this['handleError'](_0x3cbe22);}}async[_0x55e1bc(0x29d,0x615,0x50c,0x4a9)](_0x44cfeb){const _0x1dd57f={_0x1b4e93:0x207,_0x14baf0:0x158,_0x1240e7:0x134,_0x5f430c:0x12f,_0x2992ab:0x10d,_0x247327:0x4e4,_0x5764fd:0x123,_0x18a03e:0x0,_0x44527a:0x72f,_0x341265:0x6ef,_0x2d2093:0x895,_0x3aa96f:0x650,_0x3009c4:0x33d,_0x2ae8bd:0x3f9},_0x39e89c={_0x73cf56:0x142,_0x3d3476:0x114},_0x49b127=this['getAuthTransport']();function _0x3bf941(_0xca3b4f,_0x53f8e9,_0x4500f4,_0x474adf){return _0x55e1bc(_0xca3b4f,_0x53f8e9-0x141,_0x4500f4-0x147,_0x474adf- -0x14b);}function _0x11aaca(_0x2f3c2f,_0x593b67,_0x582f35,_0x2d8f51){return _0x3a64dd(_0x2f3c2f-_0x39e89c._0x73cf56,_0x582f35,_0x593b67- -0x57a,_0x2d8f51-_0x39e89c._0x3d3476);}if(!_0x49b127['getApiKey']()&&!_0x49b127[_0x11aaca(-_0x1dd57f._0x1b4e93,-0x209,-_0x1dd57f._0x14baf0,-_0x1dd57f._0x1240e7)]())throw new LLMError(_0x11aaca(_0x1dd57f._0x5f430c,-0x38,-_0x1dd57f._0x2992ab,-0xd5),0x191,![]);const _0x5caab8=await this[_0x3bf941(_0x1dd57f._0x247327,0x233,0x381,0x465)]()[_0x11aaca(0x11d,0x1ed,0x420,_0x1dd57f._0x5764fd)](_0x11aaca(0x46,-0xe4,-0x2bf,_0x1dd57f._0x18a03e),void 0x0,_0x44cfeb),_0x1786e3=await _0x5caab8[_0x3bf941(_0x1dd57f._0x44527a,_0x1dd57f._0x341265,_0x1dd57f._0x2d2093,_0x1dd57f._0x3aa96f)](),_0x1440ad=_0x1786e3[_0x3bf941(0x35e,0x526,0x3ba,0x3b3)][_0x3bf941(0x1cb,0x2d4,_0x1dd57f._0x3009c4,_0x1dd57f._0x2ae8bd)](_0x186541=>normalizeModelInfo('anthropic',_0x186541));return deduplicateModels(_0x1440ad);}},GenericAnthropicLLM=class{[_0x3a64dd(0x914,0x635,0x6f1,0x4a5)];[_0x55e1bc(0x96a,0x8f0,0xa55,0x817)];[_0x55e1bc(0x726,0x5db,0x6a8,0x803)];[_0x55e1bc(0x2b2,0x441,0x643,0x46c)];[_0x3a64dd(0x640,0x43c,0x66e,0x844)];[_0x55e1bc(0x7da,0x74d,0x6bf,0x841)]=null;constructor(_0x4ef3ae,_0x2fd9dd={}){const _0x1435a4={_0x580423:0x8b7,_0x3bc359:0x207,_0x213e79:0x18b,_0x592511:0x11e,_0x6d25eb:0x2d,_0x35f523:0x46d,_0x3591a7:0x227,_0x51c836:0xb1,_0x342a62:0x220,_0x4e23b1:0x340,_0x116099:0x383,_0x1f28ec:0x680,_0x421972:0x610,_0x3a93a7:0x6d8},_0x467ded={_0x5d0cad:0x179,_0xc50110:0x18c},_0x2e4829={_0x82243f:0xc8,_0x2e13c3:0x550};this[_0x4e35cb(_0x1435a4._0x580423,0x66a,0x8a9,0x41c)]=_0x2fd9dd[_0x2181dd(-0x96,_0x1435a4._0x3bc359,_0x1435a4._0x213e79,_0x1435a4._0x592511)]||_0x4ef3ae;function _0x2181dd(_0xe6dc68,_0x47a599,_0x116619,_0x49ce96){return _0x3a64dd(_0xe6dc68-_0x2e4829._0x82243f,_0x49ce96,_0x116619- -_0x2e4829._0x2e13c3,_0x49ce96-0x1aa);}this[_0x2181dd(-_0x1435a4._0x6d25eb,0x1dd,0x177,0xea)]=_0x2fd9dd[_0x4e35cb(0x817,0x656,_0x1435a4._0x35f523,0x734)]??![],this[_0x4e35cb(0x3a7,0x2bf,0x430,0x159)]=_0x2fd9dd[_0x2181dd(-_0x1435a4._0x3591a7,-_0x1435a4._0x51c836,-_0x1435a4._0x342a62,-0x25e)]??_0x2181dd(-_0x1435a4._0x4e23b1,-_0x1435a4._0x116099,-0x236,-0x13c),this[_0x4e35cb(0x4e3,0x5fd,0x7de,0x3b4)]=_0x2fd9dd['modelConfig']??!![];function _0x4e35cb(_0x16d6d0,_0x4f4209,_0x68136a,_0x3a9587){return _0x55e1bc(_0x16d6d0,_0x4f4209-_0x467ded._0x5d0cad,_0x68136a-_0x467ded._0xc50110,_0x4f4209- -0x1ad);}this[_0x4e35cb(0x8a5,_0x1435a4._0x1f28ec,_0x1435a4._0x421972,_0x1435a4._0x3a93a7)]=_0x2fd9dd;}[_0x55e1bc(0x514,0x619,0x7a5,0x5fa)](){const _0x56ed4c={_0x54aa88:0x7d2,_0x39fd64:0x8fd,_0x135115:0x1db,_0x4a41e8:0x4fd,_0x46f04e:0x6c5,_0xc57890:0x256,_0x4a2bbc:0x91,_0x332105:0x217,_0xbe67ff:0x4bd,_0x23116c:0x688,_0x16d0c8:0x3b9,_0x16a83d:0x25b,_0x3e50cc:0x36e,_0x243a85:0x99,_0x4a7fb7:0x139,_0x25fb6b:0x62},_0x31a8c6={_0x34b423:0xeb},_0x540361={_0x585a95:0xe1,_0x302e62:0x26},_0x18b0db=new FetchTransport({'persistFile':this[_0x59f49b(_0x56ed4c._0x54aa88,_0x56ed4c._0x39fd64,0x9e7,0x69d)][_0x466825(0x32a,_0x56ed4c._0x135115,0x2df,0x3eb)],'logLevel':_0x59f49b(0x409,0x5f9,_0x56ed4c._0x4a41e8,0x256),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]});function _0x59f49b(_0x3559a1,_0x2374f4,_0x2214ae,_0x4c6f9b){return _0x3a64dd(_0x3559a1-0xee,_0x2214ae,_0x3559a1-_0x540361._0x585a95,_0x4c6f9b-_0x540361._0x302e62);}const _0x58177a={'anthropic-version':_0x59f49b(0x751,_0x56ed4c._0x46f04e,0x753,0x7d4),'x-api-key':this['opts'][_0x466825(_0x56ed4c._0xc57890,_0x56ed4c._0x4a2bbc,_0x56ed4c._0x332105,-0x73)]||'',...this['opts'][_0x59f49b(0x460,_0x56ed4c._0xbe67ff,_0x56ed4c._0x23116c,_0x56ed4c._0x16d0c8)]};function _0x466825(_0x392aeb,_0x4763ab,_0x45a02c,_0x1a4973){return _0x55e1bc(_0x45a02c,_0x4763ab-0x5d,_0x45a02c-_0x31a8c6._0x34b423,_0x4763ab- -0x5d2);}const _0x13ce89=createTransport(_0x18b0db,this['apiUrl'],void 0x0,void 0x0,void 0x0,_0x58177a),_0xc32966=this[_0x466825(0x1f2,_0x56ed4c._0x16a83d,_0x56ed4c._0x3e50cc,0x373)][_0x466825(0xc,-_0x56ed4c._0x243a85,-0x85,-0x38)]?new RetryTransport(_0x13ce89,this['opts'][_0x466825(-0x1e1,-0x99,_0x56ed4c._0x4a7fb7,-_0x56ed4c._0x25fb6b)]):_0x13ce89;return new LLMErrorTransport(_0xc32966);}[_0x55e1bc(0x6ec,0x559,0x3ec,0x5b0)](){const _0xa6e068={_0x418cd5:0x802,_0x119c15:0x725,_0x236bbe:0x67a,_0x16bedf:0x599,_0x940d89:0x440,_0xc0a969:0x22e},_0x317880={_0x3b635a:0x2b,_0x17c2c5:0x13d},_0x337d47={_0xf14b5a:0xd8,_0x381bc5:0x7e,_0x55518a:0x165};function _0x4d8afe(_0x5e3769,_0xa51bcc,_0x1ccdd5,_0x105aa1){return _0x3a64dd(_0x5e3769-_0x337d47._0xf14b5a,_0x105aa1,_0x1ccdd5- -_0x337d47._0x381bc5,_0x105aa1-_0x337d47._0x55518a);}function _0x31189d(_0x162125,_0x5050d0,_0x412419,_0x4400db){return _0x55e1bc(_0x4400db,_0x5050d0-_0x317880._0x3b635a,_0x412419-0x167,_0x412419- -_0x317880._0x17c2c5);}return!this[_0x31189d(0x542,_0xa6e068._0x418cd5,0x704,_0xa6e068._0x119c15)]&&(this[_0x31189d(0x874,_0xa6e068._0x236bbe,0x704,_0xa6e068._0x16bedf)]=this[_0x4d8afe(0x1f1,0x551,_0xa6e068._0x940d89,_0xa6e068._0xc0a969)]()),this['transport'];}[_0x55e1bc(0x57d,0x846,0x455,0x62c)](_0x5eac40){const _0x30a5b7={_0x14cb7b:0x363,_0x1be90b:0x49f,_0x1e9bbb:0x79a,_0x50bd93:0x5a8,_0x34df1a:0x5bb,_0x2d3e7b:0x4e5,_0x591072:0x507,_0x32147c:0x144,_0x1647db:0x13f,_0x408199:0xea,_0x4d7ac0:0xbf,_0x32251d:0x1e5,_0x360207:0x17b,_0x56e0be:0x3b8,_0x1c14a0:0x39d,_0x3408a3:0x1c7,_0x27b4ba:0x3ee,_0x2c6351:0x4d4,_0x4de977:0x528,_0x3272ab:0x14c,_0x56b1da:0x2f9,_0xbbbdef:0x641,_0x296cef:0x7c1,_0x27c035:0x737,_0x239b5c:0x6ba,_0x1ed463:0x58a,_0x4e58a1:0x29,_0x1298f3:0x1ce,_0x3b61a3:0x2b4,_0x4a3e27:0x22f,_0x5502f5:0x7a,_0x46196e:0x513,_0xa5bd63:0x48a,_0xcce0bb:0x46c,_0x536ce1:0x3f6,_0x2fe4f6:0x337,_0x1d27aa:0x7a,_0x2c1390:0x181,_0x324d83:0x35f,_0x32dc95:0x60d,_0x1770e7:0x4c2,_0x30c0a6:0x20a,_0x31bc95:0x2a2,_0x26f018:0x5ca,_0x2b2e41:0x31b,_0x1344cb:0x4c3,_0x309bd8:0x360,_0x2814b8:0x3e6,_0xfe3c82:0x376,_0x3bfe82:0x5b5,_0xadd1fb:0x2f3,_0x1d16f2:0x4c3,_0x24cd75:0x573,_0x2a6a57:0x737,_0x573575:0x7b2,_0x5d4df2:0x590,_0x4d7be0:0x3b7,_0x3ed41c:0x4a,_0x58eefe:0x23,_0x2d00df:0x3a,_0x2ad46d:0x692,_0x2a1e0a:0x3e1,_0x345690:0x99,_0xbf03e7:0x1ce,_0x485d87:0x566,_0x4b864f:0x39c,_0x53457:0xc9,_0x36645f:0x1ce,_0x407c67:0x62e,_0x5f131b:0x2a3,_0x592eb6:0x216,_0x2ae37f:0x33c,_0x4616b5:0x94,_0x254503:0x16e,_0x2c8a47:0xc4,_0x5d6c12:0x7a,_0x553211:0x452,_0x12e1c4:0x604,_0x140639:0x463,_0x28d8a3:0x111,_0x27fea9:0x1b9,_0x5c53e1:0x2e3,_0x27e7b1:0x521,_0x477f28:0x661,_0x342521:0x6bf,_0x21a850:0x3c8,_0xdeda78:0x2cf,_0x8c1c29:0x61e,_0x2faead:0x7b5,_0x5b92c2:0x718,_0x3336ba:0x6e6,_0x1998b6:0x3f6,_0x35b4d6:0x29b,_0x37ce92:0xe5,_0x229648:0x59,_0x1821dd:0x186,_0x2d3f7f:0x1f0,_0x54a59f:0x634,_0x50fa7d:0x525,_0x1385f3:0x561,_0x56f63d:0x3e0,_0x2ab27e:0x4c3,_0x31c8b3:0x34c,_0x505981:0x593,_0x55cc64:0x592,_0xdf8965:0x165,_0x3b7c18:0x181,_0x108a70:0x264,_0x1e3980:0x36f,_0x1d53c1:0xc,_0x1254a4:0x3,_0x42c569:0x627,_0x4187a0:0x559,_0xd36296:0x8f1,_0x16aa30:0x6fb,_0x11e878:0x818,_0x40ac6d:0x4d3,_0x350d18:0x5ed,_0x49bcdf:0x26a,_0x38391f:0x139,_0x373697:0x3e4,_0xd306a0:0x36f,_0x561309:0x843,_0x24c43d:0x67e,_0x290298:0xd4,_0x26ebac:0xd1,_0x2c03f9:0x513,_0x1dd37d:0x4e5,_0x5b9f02:0x3fc,_0xa493ee:0x50a,_0xcc8923:0x6fe,_0x47aca0:0x5c1,_0x57f104:0x5a2,_0x40c95e:0x691,_0x3e9c0c:0x327,_0x444008:0x4c3,_0x7af899:0x3a0,_0x3f63bc:0x68,_0x180fcd:0x581,_0x5bab3d:0x169,_0x3185e2:0x31b,_0x104585:0x559,_0x54b852:0x36,_0x178e7b:0x213,_0x3c2b7c:0x16e,_0x548ebd:0x335,_0x481295:0x551},_0x38b712={_0x2cbdd6:0x1c3},_0x221b55={_0x14eaa9:0x360},_0xeae6cd=_0x5eac40[_0x4334ca(_0x30a5b7._0x14cb7b,0x43a,_0x30a5b7._0x1be90b,0x2c6)](_0x979eb7=>_0x979eb7[_0x4334ca(0x5f2,0x539,0x25e,0x442)]===_0x1f9d0a(0x53d,0x533,0x3f4,0x320));function _0x4334ca(_0x2c469f,_0x496b25,_0x4fa79f,_0x1af8d3){return _0x3a64dd(_0x2c469f-0x7b,_0x4fa79f,_0x1af8d3- -_0x221b55._0x14eaa9,_0x1af8d3-0x0);}const _0x3a1589=_0x5eac40[_0x1f9d0a(_0x30a5b7._0x1e9bbb,0x76f,_0x30a5b7._0x50bd93,_0x30a5b7._0x34df1a)](_0x1d25f5=>_0x1d25f5[_0x4334ca(0x59b,0x4e2,0x664,0x442)]!==_0x1f9d0a(0x1e1,0x20b,0x1c4,0x320));let _0x2fe4e3;_0xeae6cd[_0x1f9d0a(0x2c3,0x68e,0x41f,_0x30a5b7._0x2d3e7b)]>0x0&&(this[_0x4334ca(_0x30a5b7._0x591072,_0x30a5b7._0x32147c,_0x30a5b7._0x1647db,0x367)]?_0x2fe4e3=_0xeae6cd[_0x4334ca(_0x30a5b7._0x408199,_0x30a5b7._0x4d7ac0,0x296,0xa8)]((_0x2af23f,_0x6d1b28)=>({'type':_0x1f9d0a(0x467,0x5ff,0x6aa,0x463),'text':typeof _0x2af23f['content']===_0x1f9d0a(0x1a1,0x2d6,0x1d4,0x3bf)?_0x2af23f[_0x4334ca(0x7e,0x2ac,0xa1,0x1ce)]:JSON[_0x4334ca(0x45c,0x3f5,0x415,0x40b)](_0x2af23f[_0x4334ca(0x51,0x1be,0x142,0x1ce)]),..._0x6d1b28<0x2&&{'cache_control':{'type':_0x1f9d0a(0x2a9,0x255,0x272,0x3ce)}}})):_0x2fe4e3=_0xeae6cd[_0x1f9d0a(_0x30a5b7._0x32251d,_0x30a5b7._0x360207,_0x30a5b7._0x56e0be,_0x30a5b7._0x1c14a0)](_0x79dabb=>typeof _0x79dabb[_0x4334ca(0x12b,0x107,-0x7,0x1ce)]==='string'?_0x79dabb[_0x1f9d0a(0x49d,0x69c,0x5b7,0x4c3)]:JSON[_0x4334ca(0x374,0x2c4,0x33a,0x40b)](_0x79dabb['content']))[_0x1f9d0a(_0x30a5b7._0x3408a3,_0x30a5b7._0x27b4ba,_0x30a5b7._0x2c6351,0x363)]('\x0a\x0a'));const _0x88ddc5=[];function _0x1f9d0a(_0x2db372,_0x6faae4,_0x93d3dc,_0x3630ee){return _0x55e1bc(_0x6faae4,_0x6faae4-_0x38b712._0x2cbdd6,_0x93d3dc-0xb9,_0x3630ee- -0x1a7);}for(const _0x32d97a of _0x3a1589){if(_0x32d97a['role']===_0x4334ca(_0x30a5b7._0x4de977,0x228,_0x30a5b7._0x3272ab,_0x30a5b7._0x56b1da)){const _0x1b7f7a=_0x88ddc5[_0x88ddc5['length']-0x1];_0x1b7f7a&&_0x1b7f7a[_0x1f9d0a(0x5a4,_0x30a5b7._0xbbbdef,_0x30a5b7._0x296cef,_0x30a5b7._0x27c035)]===_0x1f9d0a(0x702,_0x30a5b7._0x239b5c,0x6c9,_0x30a5b7._0x1ed463)&&Array[_0x4334ca(0x53f,0x473,0x331,0x39c)](_0x1b7f7a[_0x4334ca(0x2b3,_0x30a5b7._0x4e58a1,0x2c2,_0x30a5b7._0x1298f3)])?_0x1b7f7a[_0x4334ca(0x2c9,0x12a,_0x30a5b7._0x3b61a3,_0x30a5b7._0x1298f3)][_0x4334ca(_0x30a5b7._0x4a3e27,0x24,-0x90,_0x30a5b7._0x5502f5)]({'type':'tool_result','tool_use_id':_0x32d97a['tool_call_id']||'','content':typeof _0x32d97a['content']==='string'?_0x32d97a[_0x1f9d0a(0x650,0x59a,_0x30a5b7._0x46196e,0x4c3)]:JSON[_0x4334ca(_0x30a5b7._0xa5bd63,_0x30a5b7._0xcce0bb,_0x30a5b7._0x536ce1,0x40b)](_0x32d97a['content'])}):_0x88ddc5['push']({'role':_0x4334ca(_0x30a5b7._0x2fe4f6,_0x30a5b7._0x1d27aa,0x1b3,0x295),'content':[{'type':_0x4334ca(0x1a7,0x1f6,_0x30a5b7._0x2c1390,_0x30a5b7._0x324d83),'tool_use_id':_0x32d97a[_0x1f9d0a(0x3c4,0x3d9,_0x30a5b7._0x32dc95,_0x30a5b7._0x1770e7)]||'','content':typeof _0x32d97a[_0x4334ca(0x331,0x419,0x8,_0x30a5b7._0x1298f3)]===_0x1f9d0a(_0x30a5b7._0x30c0a6,_0x30a5b7._0x31bc95,0x284,0x3bf)?_0x32d97a[_0x1f9d0a(0x546,_0x30a5b7._0x26f018,_0x30a5b7._0x2b2e41,_0x30a5b7._0x1344cb)]:JSON[_0x4334ca(_0x30a5b7._0x309bd8,_0x30a5b7._0x2814b8,_0x30a5b7._0xfe3c82,0x40b)](_0x32d97a[_0x1f9d0a(0x35a,_0x30a5b7._0x3bfe82,_0x30a5b7._0xadd1fb,_0x30a5b7._0x1d16f2)])}]});continue;}if(_0x32d97a[_0x1f9d0a(0x592,0x658,_0x30a5b7._0x24cd75,_0x30a5b7._0x2a6a57)]===_0x1f9d0a(0x3a9,0x3ec,_0x30a5b7._0x573575,_0x30a5b7._0x5d4df2)){const _0x200c6a=[];if(typeof _0x32d97a[_0x4334ca(_0x30a5b7._0x4d7be0,_0x30a5b7._0x3ed41c,0x25f,_0x30a5b7._0x1298f3)]==='string'&&_0x32d97a['content'])_0x200c6a[_0x4334ca(0xe9,-_0x30a5b7._0x58eefe,-_0x30a5b7._0x2d00df,0x7a)]({'type':_0x1f9d0a(0x2af,_0x30a5b7._0x2ad46d,0x56b,0x463),'text':_0x32d97a[_0x4334ca(_0x30a5b7._0x2a1e0a,_0x30a5b7._0x345690,0x107,_0x30a5b7._0xbf03e7)]});else{if(Array[_0x4334ca(_0x30a5b7._0x485d87,0x3c4,0x350,_0x30a5b7._0x4b864f)](_0x32d97a[_0x4334ca(0x91,0xa1,_0x30a5b7._0x53457,_0x30a5b7._0x36645f)]))for(const _0x3150ec of _0x32d97a[_0x1f9d0a(0x5af,_0x30a5b7._0x407c67,_0x30a5b7._0x5f131b,_0x30a5b7._0x1d16f2)]){_0x3150ec['type']===_0x4334ca(_0x30a5b7._0x592eb6,_0x30a5b7._0x2ae37f,_0x30a5b7._0x4616b5,_0x30a5b7._0x254503)&&_0x200c6a[_0x4334ca(-0x161,0xa9,_0x30a5b7._0x2c8a47,_0x30a5b7._0x5d6c12)]({'type':_0x1f9d0a(_0x30a5b7._0x553211,0x239,_0x30a5b7._0x12e1c4,_0x30a5b7._0x140639),'text':_0x3150ec['text']});}}if(_0x32d97a[_0x4334ca(_0x30a5b7._0x28d8a3,0x28c,_0x30a5b7._0x27fea9,_0x30a5b7._0x5c53e1)])for(const _0x27b7a7 of _0x32d97a[_0x1f9d0a(_0x30a5b7._0x27e7b1,_0x30a5b7._0x477f28,_0x30a5b7._0x342521,0x5d8)]){_0x200c6a[_0x4334ca(0x6,-0xb5,0x191,0x7a)]({'type':'tool_use','id':_0x27b7a7['id'],'name':_0x27b7a7['function']['name'],'input':JSON[_0x1f9d0a(0x273,0x30f,_0x30a5b7._0x21a850,_0x30a5b7._0xdeda78)](_0x27b7a7[_0x1f9d0a(_0x30a5b7._0x8c1c29,_0x30a5b7._0x2faead,_0x30a5b7._0x5b92c2,_0x30a5b7._0x3336ba)]['arguments']||'{}')});}_0x88ddc5[_0x4334ca(-0x2d,0x25e,0x293,0x7a)]({'role':_0x4334ca(0x153,0x3de,_0x30a5b7._0x1998b6,_0x30a5b7._0x35b4d6),'content':_0x200c6a[_0x4334ca(_0x30a5b7._0x37ce92,-_0x30a5b7._0x229648,_0x30a5b7._0x1821dd,_0x30a5b7._0x2d3f7f)]>0x0?_0x200c6a:''});continue;}if(_0x32d97a['role']===_0x1f9d0a(_0x30a5b7._0x54a59f,0x693,_0x30a5b7._0x50fa7d,_0x30a5b7._0x1ed463)){const _0x1e4623=[];if(typeof _0x32d97a[_0x1f9d0a(_0x30a5b7._0x1385f3,0x415,_0x30a5b7._0x56f63d,_0x30a5b7._0x2ab27e)]==='string'&&_0x32d97a[_0x1f9d0a(0x516,0x644,0x3c4,0x4c3)])_0x1e4623['push']({'type':'text','text':_0x32d97a[_0x4334ca(_0x30a5b7._0x31c8b3,0x207,0x5a,0x1ce)]});else{if(Array[_0x1f9d0a(_0x30a5b7._0x505981,0x812,0x464,0x691)](_0x32d97a[_0x1f9d0a(0x413,0x5c4,_0x30a5b7._0x55cc64,_0x30a5b7._0x1344cb)]))for(const _0x1dfda2 of _0x32d97a['content']){if(_0x1dfda2[_0x4334ca(_0x30a5b7._0xdf8965,_0x30a5b7._0x3b7c18,0x300,_0x30a5b7._0x108a70)]===_0x4334ca(0x254,-0x45,0x13c,0x16e))_0x1e4623[_0x1f9d0a(0x26d,_0x30a5b7._0x50fa7d,0x1a9,_0x30a5b7._0x1e3980)]({'type':_0x4334ca(-_0x30a5b7._0x1d53c1,_0x30a5b7._0x1254a4,0x104,_0x30a5b7._0x254503),'text':_0x1dfda2['text']});else{if(_0x1dfda2[_0x1f9d0a(0x6f9,_0x30a5b7._0x42c569,0x529,_0x30a5b7._0x4187a0)]===_0x1f9d0a(0x8ed,0x4f5,_0x30a5b7._0xd36296,_0x30a5b7._0x16aa30)){const _0x1883ec=_0x1dfda2['image_url']['url'];if(_0x1883ec['startsWith'](_0x1f9d0a(_0x30a5b7._0x11e878,_0x30a5b7._0x40ac6d,0x82e,_0x30a5b7._0x350d18))){const _0x34d4d6=_0x1883ec[_0x4334ca(0x13d,0x2ba,_0x30a5b7._0x49bcdf,0x1df)](/^data:([^;]+);base64,(.+)$/);_0x34d4d6&&_0x1e4623[_0x1f9d0a(_0x30a5b7._0x38391f,0x51b,_0x30a5b7._0x373697,_0x30a5b7._0xd306a0)]({'type':_0x1f9d0a(_0x30a5b7._0x561309,_0x30a5b7._0x24c43d,0x948,0x70d),'source':{'type':'base64','media_type':_0x34d4d6[0x1],'data':_0x34d4d6[0x2]}});}}}}}_0x88ddc5['push']({'role':_0x4334ca(_0x30a5b7._0x290298,_0x30a5b7._0x26ebac,0x237,0x295),'content':_0x1e4623[_0x4334ca(0xc6,_0x30a5b7._0x2d00df,0x201,0x1f0)]>0x0?_0x1e4623:''});}}if(this[_0x4334ca(0x27e,0x411,0x1be,0x367)]&&_0x88ddc5['length']>0x0){const _0x29c899=_0x88ddc5['length']>=0x2?[_0x88ddc5['length']-0x2,_0x88ddc5[_0x1f9d0a(_0x30a5b7._0x2c03f9,0x686,_0x30a5b7._0x3bfe82,_0x30a5b7._0x1dd37d)]-0x1]:[_0x88ddc5[_0x1f9d0a(_0x30a5b7._0x5b9f02,_0x30a5b7._0xa493ee,_0x30a5b7._0xcc8923,0x4e5)]-0x1];for(const _0x5e27ae of _0x29c899){const _0x1bd367=_0x88ddc5[_0x5e27ae];if(_0x1bd367&&Array[_0x1f9d0a(_0x30a5b7._0x47aca0,0x663,_0x30a5b7._0x57f104,_0x30a5b7._0x40c95e)](_0x1bd367[_0x1f9d0a(_0x30a5b7._0x3e9c0c,0x391,0x45b,_0x30a5b7._0x444008)])&&_0x1bd367[_0x4334ca(_0x30a5b7._0x7af899,0x22e,_0x30a5b7._0x3f63bc,0x1ce)][_0x1f9d0a(0x5dd,_0x30a5b7._0x180fcd,0x508,0x4e5)]>0x0){const _0x532fdd=_0x1bd367[_0x4334ca(0x308,0x102,_0x30a5b7._0x5bab3d,0x1ce)][_0x1bd367['content'][_0x4334ca(0x2f7,0x42e,0x1cd,0x1f0)]-0x1];_0x532fdd&&_0x532fdd[_0x1f9d0a(0x529,0x6c0,_0x30a5b7._0x3185e2,_0x30a5b7._0x104585)]===_0x4334ca(_0x30a5b7._0x54b852,0x20c,_0x30a5b7._0x178e7b,_0x30a5b7._0x3c2b7c)&&(_0x532fdd['cache_control']={'type':_0x1f9d0a(_0x30a5b7._0x548ebd,_0x30a5b7._0x481295,0x258,0x3ce)});}}}return{'system':_0x2fe4e3,'messages':_0x88ddc5};}[_0x3a64dd(0x5b3,0x3bf,0x39b,0x32b)](_0x48fb96){const _0x50319f={_0x7157d5:0xfb};function _0x1a2d79(_0xddde09,_0x56ea2b,_0xe0f052,_0x70ba63){return _0x55e1bc(_0xe0f052,_0x56ea2b-0x19c,_0xe0f052-_0x50319f._0x7157d5,_0x56ea2b- -0x8c);}if(!_0x48fb96||_0x48fb96['length']===0x0)return void 0x0;function _0x11b7b4(_0x5f371c,_0x4f36f3,_0x1c9ee2,_0x1fc29e){return _0x55e1bc(_0x1fc29e,_0x4f36f3-0x13b,_0x1c9ee2-0x19e,_0x5f371c- -0x361);}return _0x48fb96['map']((_0x55a9f7,_0x310c67)=>({'name':_0x55a9f7[_0x1a2d79(0x68b,0x801,0x93e,0x995)]['name'],'description':_0x55a9f7[_0x11b7b4(0x52c,0x6fe,0x55d,0x73a)]['description'],'input_schema':_0x55a9f7[_0x11b7b4(0x52c,0x384,0x400,0x632)][_0x1a2d79(0x751,0x7a8,0x99b,0x6bd)],...this[_0x11b7b4(0x4a2,0x35c,0x6ee,0x403)]&&_0x310c67<0x2&&{'cache_control':{'type':_0x11b7b4(0x214,0x3ab,-0x23,-0x2c)}}}));}[_0x3a64dd(0x7c0,0x7ab,0x69a,0x7b4)](_0x4f8ef5){const _0x28b8fc={_0x521f6c:0xcb,_0x136ed3:0x6c,_0x51fc66:0x2e4,_0x3f0d2e:0x153,_0xa5e18f:0x1c9,_0x37285a:0xd0,_0x47e208:0x21d,_0x5959ba:0x1d,_0xee6fac:0xf8,_0x2b092f:0xbc,_0x370780:0xee,_0x4d6a38:0x29f,_0x14cf4a:0xfb,_0x554080:0x7e,_0x2766ce:0xf9,_0x35aadf:0x299,_0x35bf0a:0x195,_0xa1154e:0x140,_0x53ef58:0x1ae,_0x14455f:0x63,_0xeb8030:0x1d4},_0x59d4b7={_0x53a77f:0x159,_0x531317:0x17},_0xe1aa6f={_0x28bfa5:0x23,_0x31102d:0x5e1,_0x2559ee:0x120};function _0x38987b(_0x473677,_0x597053,_0x4ac29d,_0x2fa9a4){return _0x3a64dd(_0x473677-_0xe1aa6f._0x28bfa5,_0x2fa9a4,_0x4ac29d- -_0xe1aa6f._0x31102d,_0x2fa9a4-_0xe1aa6f._0x2559ee);}if(!_0x4f8ef5||_0x4f8ef5==='auto')return{'type':_0x383a73(_0x28b8fc._0x521f6c,_0x28b8fc._0x136ed3,-_0x28b8fc._0x51fc66,-_0x28b8fc._0x3f0d2e)};function _0x383a73(_0x184e74,_0x59af9c,_0x231987,_0x3ab0cd){return _0x3a64dd(_0x184e74-_0x59d4b7._0x53a77f,_0x59af9c,_0x3ab0cd- -0x560,_0x3ab0cd-_0x59d4b7._0x531317);}if(_0x4f8ef5===_0x38987b(-0x14f,-_0x28b8fc._0xa5e18f,-_0x28b8fc._0x37285a,-_0x28b8fc._0x47e208))return void 0x0;if(typeof _0x4f8ef5==='object'&&_0x4f8ef5[_0x38987b(-0x11c,0x170,-_0x28b8fc._0x5959ba,-_0x28b8fc._0xee6fac)]===_0x38987b(-_0x28b8fc._0x2b092f,_0x28b8fc._0x370780,0x170,_0x28b8fc._0x4d6a38))return{'type':_0x383a73(-_0x28b8fc._0x14cf4a,0x88,_0x28b8fc._0x554080,_0x28b8fc._0x2766ce),'name':_0x4f8ef5[_0x38987b(0x2b8,_0x28b8fc._0x35aadf,0x170,0xd)][_0x383a73(-_0x28b8fc._0x35bf0a,-0x1bf,-0x106,-_0x28b8fc._0xa1154e)]};return{'type':_0x38987b(-_0x28b8fc._0x53ef58,-_0x28b8fc._0x14455f,-_0x28b8fc._0xeb8030,-0x1fd)};}[_0x3a64dd(0x552,0x37c,0x57b,0x641)](_0x27d4f4){const _0x4c2fd2={_0x1cc809:0x1c3,_0x4156a2:0x450,_0x116de9:0x607,_0x3a525e:0x558},_0x5b44c1={_0x1dbf62:0x85},_0x59a3f1={_0x56b38f:0x5f8,_0x51333a:0x34},_0x124625=_0x27d4f4[_0x43057a(-0x42,-0x250,-0x180,-_0x4c2fd2._0x1cc809)]??0x0,_0x632ed2=_0x27d4f4[_0x3a9ac1(_0x4c2fd2._0x4156a2,_0x4c2fd2._0x116de9,0x662,0x60f)]??0x0;function _0x43057a(_0x4bf8a9,_0x55856f,_0x1ac21f,_0x107dda){return _0x3a64dd(_0x4bf8a9-0x80,_0x107dda,_0x4bf8a9- -_0x59a3f1._0x56b38f,_0x107dda-_0x59a3f1._0x51333a);}const _0x4f3689=_0x27d4f4[_0x3a9ac1(_0x4c2fd2._0x3a525e,0x6e1,0x510,0x71e)]??0x0,_0x4ffe41=_0x27d4f4['cache_read_input_tokens']??0x0;function _0x3a9ac1(_0x3e3ff3,_0x33348c,_0x2e2cff,_0x54f43a){return _0x55e1bc(_0x2e2cff,_0x33348c-_0x5b44c1._0x1dbf62,_0x2e2cff-0xa1,_0x3e3ff3- -0x359);}const _0x1263c1=_0x4f3689+_0x4ffe41;return{'prompt_tokens':_0x124625,'completion_tokens':_0x632ed2,'total_tokens':_0x124625+_0x632ed2,..._0x1263c1>0x0&&{'prompt_tokens_details':{'cached_tokens':_0x1263c1}},..._0x4f3689>0x0&&{'cache_creation_input_tokens':_0x4f3689},..._0x4ffe41>0x0&&{'cache_read_input_tokens':_0x4ffe41}};}['transformResponse'](_0x427af9){const _0x208ddf={_0x45b307:0x3d0,_0x4f37f9:0x5e9,_0x136b6c:0x7df,_0x4435d1:0x543,_0x2068e9:0xe,_0x34010d:0x257,_0x38b5a5:0x4cf,_0x5ae1d2:0x60a,_0x9294f0:0x776,_0x140abb:0x28f,_0x1b9734:0x1c5,_0x611b42:0x303,_0x3c6c5e:0x3b3,_0x50af5a:0x3b6,_0x247d9b:0x539},_0x59b596={_0x585f58:0xb5,_0x1085d3:0x15b},_0x4ae0e9={_0x284eae:0x618};let _0x40be2e='',_0x1b8ba5='';function _0x50ecdf(_0x3f2c50,_0x159015,_0x3aadfd,_0x13475e){return _0x55e1bc(_0x159015,_0x159015-0x3b,_0x3aadfd-0x14d,_0x3f2c50- -_0x4ae0e9._0x284eae);}const _0x22c5c8=[];for(const _0x48b887 of _0x427af9[_0x75c2d7(0x553,_0x208ddf._0x45b307,0x47f,0x3bb)]){if(_0x48b887[_0x75c2d7(_0x208ddf._0x4f37f9,_0x208ddf._0x136b6c,_0x208ddf._0x4435d1,0x604)]===_0x50ecdf(-_0x208ddf._0x2068e9,-_0x208ddf._0x34010d,-0x1c7,-0xea))_0x40be2e+=_0x48b887['text'];else{if(_0x48b887['type']===_0x75c2d7(_0x208ddf._0x38b5a5,0x2cf,_0x208ddf._0x5ae1d2,0x636))_0x1b8ba5+=_0x48b887[_0x50ecdf(-0x32,-0x1e2,-0x1d2,0x185)];else _0x48b887['type']==='tool_use'&&_0x22c5c8['push']({'id':_0x48b887['id'],'type':_0x75c2d7(_0x208ddf._0x9294f0,0x680,0x532,0x982),'function':{'name':_0x48b887['name'],'arguments':JSON[_0x50ecdf(_0x208ddf._0x140abb,_0x208ddf._0x1b9734,_0x208ddf._0x611b42,_0x208ddf._0x3c6c5e)](_0x48b887['input'])}});}}function _0x75c2d7(_0x43d2fa,_0x289856,_0x1936ec,_0x56e75a){return _0x55e1bc(_0x1936ec,_0x289856-_0x59b596._0x585f58,_0x1936ec-_0x59b596._0x1085d3,_0x43d2fa- -0x117);}return{'content':_0x40be2e,..._0x1b8ba5&&{'reasoning':_0x1b8ba5},..._0x22c5c8[_0x75c2d7(0x575,0x4d6,_0x208ddf._0x50af5a,_0x208ddf._0x247d9b)]>0x0&&{'tool_calls':_0x22c5c8},'usage':this['transformUsage'](_0x427af9['usage'])};}[_0x3a64dd(0x3cb,0x64b,0x47b,0x587)](_0xec91d4,_0x1a2ab9){const _0xe35a59={_0x2b08dc:0x781,_0x102c6f:0xb9,_0x32169c:0xa2},_0x2135b2={_0x2fae44:0x1a3,_0x2d28dc:0x61a},_0x2907c1={_0x4dafd3:0x69,_0x2ed73a:0x109};if(_0xec91d4===0x1ad||_0xec91d4===0x198)throw new LLMError(_0xd5400d(0x905,_0xe35a59._0x2b08dc,0x7e2,0x884),_0xec91d4,!![]);else{if(_0xec91d4===0x191||_0xec91d4===0x193)throw new LLMError(_0x3cdef4(-_0xe35a59._0x102c6f,0x183,-_0xe35a59._0x32169c,0x181),_0xec91d4,![]);else{if(_0xec91d4===0x190)throw new LLMError(_0xd5400d(0x848,0x519,0x6f8,0x578)+_0x1a2ab9,_0xec91d4,![]);else{if(isRetryableStatusCode(_0xec91d4,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError('Service\x20temporarily\x20unavailable.\x20Please\x20try\x20again\x20later.',_0xec91d4,!![]);}}}function _0xd5400d(_0x1f756b,_0x58d684,_0xbe3134,_0x2950e0){return _0x55e1bc(_0x2950e0,_0x58d684-_0x2907c1._0x4dafd3,_0xbe3134-0xf4,_0xbe3134- -_0x2907c1._0x2ed73a);}function _0x3cdef4(_0x1e42c6,_0x3b7653,_0x5eb780,_0x4a5cad){return _0x3a64dd(_0x1e42c6-_0x2135b2._0x2fae44,_0x3b7653,_0x5eb780- -_0x2135b2._0x2d28dc,_0x4a5cad-0x51);}throw new LLMError(_0x1a2ab9,_0xec91d4,![]);}async['generateCompletion'](_0x687df5,_0x2fe1e9){const _0x5eef9b={_0x2dbfdd:0x4f6,_0x88037d:0x293,_0x2c76a2:0x5d3,_0x39ee68:0x683,_0x56f320:0x3f2,_0xc2151:0x31b,_0x19711a:0x38,_0xf9655e:0x116,_0x4526b0:0x1f4,_0x4d0252:0x1e3,_0x376870:0x17d,_0x2c2bf8:0x6a7,_0x3c5fcc:0x61e,_0x45f122:0x3bc,_0x566a3d:0x341,_0x9211e3:0x4d2,_0xcffb49:0xda,_0x5909b1:0x50b,_0x5bb91b:0x59e,_0x318d0f:0x5ec,_0x307acc:0x253,_0x30c54c:0x626,_0x2c5433:0x6a,_0x54d036:0x92,_0x3c2705:0x5d5,_0x90d3ff:0x530,_0x667db8:0x3b2,_0x5f4fad:0x2d5,_0x3c0dfb:0x426,_0x2140cb:0x303,_0x21f877:0x9a,_0xd1b945:0x110,_0x324281:0x4a9,_0xea27e8:0x4c1,_0x35d911:0x42f,_0xbbca3d:0x4f6,_0x28c53c:0x282,_0x3d4692:0x19f,_0xe4be53:0x340,_0x47374a:0x363,_0x178682:0x23a,_0xe91398:0x2d9,_0x8081d0:0xb,_0x183de2:0x266,_0x24740f:0xdb},_0x15c0c1={_0x39e29e:0x15d},_0x5cd5cb={_0x1b8b15:0x184},{system:_0x559933,messages:_0x3e8ba8}=this['transformMessages'](_0x687df5[_0x2f7b10(0x3f,0x27e,0x322,0x20b)]),_0x34462e=this[_0x2f7b10(-0x320,-0x1bb,-0x54,-0x1e9)](_0x687df5[_0x9e78eb(_0x5eef9b._0x2dbfdd,_0x5eef9b._0x88037d,0x60d,0x417)]);function _0x2f7b10(_0x2960b2,_0x3bb03b,_0xc1f49f,_0x246a32){return _0x3a64dd(_0x2960b2-0x58,_0xc1f49f,_0x246a32- -0x584,_0x246a32-_0x5cd5cb._0x1b8b15);}const _0x239663={'model':_0x687df5['model'],'max_tokens':_0x687df5[_0x9e78eb(_0x5eef9b._0x2c76a2,_0x5eef9b._0x39ee68,_0x5eef9b._0x56f320,0x5ca)]??0x7d00,'messages':_0x3e8ba8,..._0x559933&&{'system':_0x559933},..._0x34462e&&{'tools':_0x34462e},..._0x34462e&&{'tool_choice':this[_0x2f7b10(0x292,_0x5eef9b._0xc2151,-_0x5eef9b._0x19711a,_0x5eef9b._0xf9655e)](_0x687df5['tool_choice'])},..._0x687df5[_0x2f7b10(-_0x5eef9b._0x4526b0,-_0x5eef9b._0x4d0252,_0x5eef9b._0x376870,0x41)]!==void 0x0&&{'temperature':_0x687df5[_0x9e78eb(0x749,_0x5eef9b._0x2c2bf8,0x402,0x5ed)]},..._0x687df5[_0x9e78eb(0x627,_0x5eef9b._0x3c5fcc,_0x5eef9b._0x45f122,0x470)]!==void 0x0&&{'top_p':_0x687df5['topP']},..._0x687df5[_0x9e78eb(_0x5eef9b._0x566a3d,0x2f1,0x6a7,_0x5eef9b._0x9211e3)]&&{'thinking':_0x687df5[_0x2f7b10(-0x82,-0x2db,-0x75,-_0x5eef9b._0xcffb49)][_0x9e78eb(_0x5eef9b._0x5909b1,_0x5eef9b._0x5bb91b,0x4c7,_0x5eef9b._0x318d0f)]===_0x9e78eb(0x205,_0x5eef9b._0x307acc,_0x5eef9b._0x30c54c,0x40a)?{'type':'enabled','budget_tokens':_0x687df5[_0x2f7b10(-_0x5eef9b._0x2c5433,0x7e,_0x5eef9b._0x54d036,-0xda)][_0x9e78eb(_0x5eef9b._0x3c2705,0x658,_0x5eef9b._0x90d3ff,0x468)]}:{'type':_0x9e78eb(0x4e7,_0x5eef9b._0x667db8,_0x5eef9b._0x5f4fad,_0x5eef9b._0x3c0dfb)}}};function _0x9e78eb(_0x588755,_0x591dc6,_0x3ffdc7,_0x10f4e7){return _0x3a64dd(_0x588755-_0x15c0c1._0x39e29e,_0x588755,_0x10f4e7-0x28,_0x10f4e7-0x1e);}const _0xaa3dbc=await this[_0x2f7b10(-0x8,-_0x5eef9b._0x2140cb,-_0x5eef9b._0x21f877,-_0x5eef9b._0xd1b945)]()[_0x9e78eb(_0x5eef9b._0x324281,_0x5eef9b._0xea27e8,0x4ae,_0x5eef9b._0x35d911)]('/messages',_0x239663,void 0x0,_0x2fe1e9);if(!_0xaa3dbc['ok']){const _0x3fd4e3=await _0xaa3dbc[_0x9e78eb(0x4f9,0x67f,0x454,_0x5eef9b._0xbbca3d)]();this[_0x2f7b10(0x5c,-0x1b9,0x46,-0x109)](_0xaa3dbc[_0x2f7b10(_0x5eef9b._0x28c53c,_0x5eef9b._0x3d4692,-0x86,0xc2)],_0x3fd4e3||_0x9e78eb(_0x5eef9b._0xe4be53,_0x5eef9b._0x47374a,0x5e4,0x4ff)+_0xaa3dbc[_0x2f7b10(_0x5eef9b._0x178682,-0x163,_0x5eef9b._0xe91398,0xc2)]);}const _0x188149=await _0xaa3dbc[_0x2f7b10(-_0x5eef9b._0x8081d0,_0x5eef9b._0x183de2,0x21f,_0x5eef9b._0x24740f)]();return this['transformResponse'](_0x188149);}async[_0x3a64dd(0x553,0x2f1,0x51f,0x5df)](_0x339e48,_0x203cdd={},_0x5d9d0f){const _0x200b5f={_0x270326:0x835,_0x3e3ea4:0x4dd,_0xd329b7:0x4ea,_0x2add38:0x5c7,_0x23e3e2:0x67b,_0x3c903b:0x56c,_0x83e52c:0x77e,_0x4469b9:0x885,_0x296394:0x80b,_0x244c6a:0x88c,_0x4744a0:0x535,_0x2c38d7:0x5a9,_0x3ca0f3:0x650,_0x5d4e0f:0x75a,_0x5c39bd:0x484,_0x27a90f:0x7f3,_0x1e009a:0x61d,_0x46e9ae:0x5ec,_0x15063f:0x576,_0x17fcf7:0x4ff,_0xdefa50:0x8a9,_0x3e3bed:0x7db,_0x212c2f:0x507,_0x482016:0x4d8,_0x2e9918:0x515,_0x976bcc:0x6ef,_0x5ae51b:0x530,_0x346829:0x44f,_0x249672:0x57a,_0x47455d:0x788,_0x2a3899:0x662,_0x39d39b:0x4f9,_0x5636bb:0x66b,_0xcc31c1:0x788,_0x228b81:0x69b,_0x10a88d:0x9e3,_0x20f248:0x67f,_0x4e5b3d:0x6f3,_0x2803b0:0x8e1,_0x76705b:0x811,_0x34181c:0x64b,_0x4163a6:0x5bc,_0x14a866:0x6e9,_0x1699ca:0x822,_0x481140:0x85b,_0x3cc1ae:0x911,_0x33b9f4:0x79b,_0x455f7a:0x853,_0x3addfe:0x9bc,_0x1929b6:0x588,_0x1bb348:0x89f,_0x4a4f7e:0x6c3,_0x2d707a:0x8f3},_0x48e54d={_0x530d5e:0x114,_0x14ae28:0x34,_0x89ade0:0x1d8,_0x354b56:0x2aa,_0x5945b2:0x187,_0x520a04:0x21b,_0x4499d4:0x3ad,_0x54572e:0xe1,_0x174f0b:0x215,_0x2ee479:0x94,_0x11fcaa:0x83,_0x2b87ab:0x13f,_0x590118:0xf9,_0x40f546:0x461,_0x2a351a:0xd0,_0x3b9e11:0x253,_0x4b1bb6:0x2d8,_0x435aa2:0x109,_0x3c1ce5:0xeb,_0x297e20:0x72,_0x55e633:0x6f,_0x1f5c49:0x4d0,_0x1a2a4a:0x210,_0x26e299:0x176,_0x5ba8dc:0xab,_0x1d72d2:0x1df,_0x2f6936:0x289,_0x360a26:0x5ab,_0x16bb8a:0x22d,_0x123211:0x372,_0x562fb1:0x296,_0x195332:0x126,_0xe72a29:0x235,_0x7dbc99:0x103,_0x2b0db5:0x13f,_0x5c31d4:0xb3,_0x1b4c85:0x7c,_0x17917a:0x332,_0xf14ade:0x7b,_0x2a95a2:0x324,_0x4ce536:0xfd,_0x6766d9:0x29,_0x163188:0x53,_0x1cd06e:0x199,_0x159550:0x65,_0x417b75:0x1c7,_0xc0914d:0x139,_0x2532a9:0x125,_0x4854d5:0xa0,_0x57019d:0x69,_0xa3a094:0x265,_0x5f1fa0:0xe,_0x29afa8:0x1b4,_0x1792ae:0x105,_0x494f6c:0x119,_0x49f6b9:0x125,_0xbea509:0xbb,_0xed46cc:0x398,_0xe64fd7:0x509,_0x306942:0xa6,_0x2da86b:0x175,_0x4a8fa9:0xa1,_0x1fbedf:0x517,_0x55e13b:0x35b,_0x9e9718:0x320,_0x3975fa:0x325,_0x19e37e:0x11b,_0x552bcf:0x1e5,_0x4d2dec:0x228,_0x48aa34:0xc,_0x45585d:0x23e,_0x5904d0:0x2b6,_0x1c8ecb:0x85,_0x3f1959:0x390,_0x23a5a9:0x2,_0x4d1f8a:0x1ff,_0x4f82b5:0x296,_0x592903:0x4d7,_0x12cdf4:0x55c,_0x52df97:0xb1,_0x105080:0x341,_0x418df7:0x33b,_0x43e2f6:0x1ac,_0x181705:0x1c9,_0x443ba9:0x5f,_0x56aed1:0x421,_0x1c004c:0x1ee,_0x49620c:0x28d,_0x5c12fb:0x9f,_0x1c0f50:0x2bb,_0x523764:0x28,_0x55bc47:0x170,_0x33cb40:0x359,_0xc3861f:0x16a,_0x177d1f:0xc7,_0x1d7336:0x24,_0x30777e:0x177,_0x424587:0x12b,_0x529d77:0xca,_0x25f782:0x110,_0x6d40e7:0x1b8,_0x3f6804:0x27d,_0x2c51a1:0x17c,_0x2686ac:0x242,_0x20304f:0x191,_0x46479e:0x245,_0x144f8a:0x4e,_0x56ed95:0x3d1,_0x5842b1:0xf6,_0x21f518:0x1ba,_0x510a0d:0x17,_0x10871f:0xc2,_0x25ebb0:0x1a8,_0x21d718:0x13e,_0x3e9bf8:0x339,_0x3ab97a:0x3de,_0x63f362:0x137,_0x28faa9:0x486,_0x37733d:0x297,_0x506ce6:0xf7,_0x56da98:0x143,_0x303651:0xcc},_0xe79475={_0x10babf:0x1dc},_0x4ddccd={_0x549e9d:0x15e},{system:_0x810192,messages:_0x5a27d8}=this[_0x2240dd(0x632,_0x200b5f._0x270326,0x470,0x6b7)](_0x339e48['messages']),_0x1bfd8c=this[_0x2240dd(_0x200b5f._0x3e3ea4,0x33d,0x320,_0x200b5f._0xd329b7)](_0x339e48['tools']),_0x2a8022={'model':_0x339e48[_0x2240dd(0x4a6,_0x200b5f._0x2add38,_0x200b5f._0x23e3e2,_0x200b5f._0x3c903b)],'max_tokens':_0x339e48['maxTokens']??0x7d00,'messages':_0x5a27d8,'stream':!![],..._0x810192&&{'system':_0x810192},..._0x1bfd8c&&{'tools':_0x1bfd8c},..._0x1bfd8c&&{'tool_choice':this[_0x2240dd(0x7dc,_0x200b5f._0x83e52c,0x71f,_0x200b5f._0x4469b9)](_0x339e48['tool_choice'])},..._0x339e48[_0x2240dd(0x707,0x78f,0x5c7,_0x200b5f._0x296394)]!==void 0x0&&{'temperature':_0x339e48[_0x2240dd(0x707,_0x200b5f._0x244c6a,0x81c,_0x200b5f._0x4744a0)]},..._0x339e48[_0x3dad7e(_0x200b5f._0x2c38d7,_0x200b5f._0x3ca0f3,0x5bb,_0x200b5f._0x5d4e0f)]!==void 0x0&&{'top_p':_0x339e48['topP']},..._0x339e48[_0x3dad7e(_0x200b5f._0x5c39bd,_0x200b5f._0x27a90f,_0x200b5f._0x1e009a,0x641)]&&{'thinking':_0x339e48[_0x2240dd(_0x200b5f._0x46e9ae,_0x200b5f._0x15063f,0x773,0x4c4)][_0x3dad7e(0x659,_0x200b5f._0x17fcf7,0x737,_0x200b5f._0xdefa50)]===_0x3dad7e(0x4bd,0x56e,0x555,0x403)?{'type':'enabled','budget_tokens':_0x339e48[_0x3dad7e(_0x200b5f._0x3e3bed,_0x200b5f._0x212c2f,0x61d,_0x200b5f._0x482016)]['budget_tokens']}:{'type':_0x2240dd(0x540,0x509,0x4b4,0x4fe)}}},_0x3d7176=await this[_0x3dad7e(_0x200b5f._0x2e9918,_0x200b5f._0x976bcc,0x5e7,_0x200b5f._0x5ae51b)]()[_0x3dad7e(0x787,_0x200b5f._0x346829,_0x200b5f._0x249672,_0x200b5f._0x47455d)](_0x2240dd(0x6fd,_0x200b5f._0x2a3899,0x4c3,0x8d8),_0x2a8022,{'Accept':_0x2240dd(_0x200b5f._0x39d39b,0x743,0x658,0x385)},_0x5d9d0f);if(!_0x3d7176['ok']){const _0x2def03=await _0x3d7176[_0x2240dd(0x610,_0x200b5f._0x5636bb,0x7d3,0x620)]();this['throwResponseError'](_0x3d7176[_0x3dad7e(0x729,0x8c0,0x7b9,0x7ed)],_0x2def03||'Anthropic\x20API\x20error\x20'+_0x3d7176[_0x2240dd(_0x200b5f._0xcc31c1,0x714,_0x200b5f._0x228b81,0x872)]);}const _0x5a218e=_0x3d7176[_0x2240dd(0x7f1,0x86d,_0x200b5f._0x10a88d,0x7b5)]?.['getReader']();if(!_0x5a218e)return{'content':''};function _0x2240dd(_0x2171b9,_0x220aa1,_0x2c70aa,_0x556c21){return _0x55e1bc(_0x556c21,_0x220aa1-_0x4ddccd._0x549e9d,_0x2c70aa-0x17,_0x2171b9-0x6);}const _0x27c2cc=new TextDecoder(_0x3dad7e(_0x200b5f._0x20f248,_0x200b5f._0x5ae51b,0x61b,_0x200b5f._0x4e5b3d));function _0x3dad7e(_0x5e4acd,_0x2c3273,_0x4b7f07,_0x58bc34){return _0x3a64dd(_0x5e4acd-0x31,_0x58bc34,_0x4b7f07-0x173,_0x58bc34-_0xe79475._0x10babf);}let _0xb2d407='',_0x158e13='',_0xa0944e='';const _0x171873=[],_0x3792f1=new Map();let _0x162f1e,_0x10cb49;const _0xb58977=_0x1d09ca=>{const _0x40068a={_0x10bdc0:0x173},_0x49b233=_0x1d09ca[_0x4f9e81(-_0x48e54d._0x530d5e,-0x19f,-_0x48e54d._0x14ae28,-0x190)]('\x0a');let _0xad7c85='';for(const _0x53b9ab of _0x49b233){_0x53b9ab[_0x2058d9(_0x48e54d._0x89ade0,_0x48e54d._0x354b56,_0x48e54d._0x5945b2,_0x48e54d._0x520a04)](_0x2058d9(_0x48e54d._0x4499d4,0x1e4,_0x48e54d._0x54572e,_0x48e54d._0x174f0b))&&(_0xad7c85=_0x53b9ab[_0x4f9e81(-_0x48e54d._0x2ee479,0x5c,-0x92,_0x48e54d._0x11fcaa)](0x5)[_0x4f9e81(_0x48e54d._0x2b87ab,0x2ad,-0x12e,_0x48e54d._0x590118)]());}function _0x4f9e81(_0x50e9d0,_0x2d510e,_0x48b795,_0x533d39){return _0x3dad7e(_0x50e9d0-_0x40068a._0x10bdc0,_0x2d510e-0x13d,_0x533d39- -0x75a,_0x2d510e);}function _0x2058d9(_0x35c39f,_0x5c7589,_0x2056da,_0x56bc48){return _0x3dad7e(_0x35c39f-0x162,_0x5c7589-0x103,_0x56bc48- -0x5b6,_0x35c39f);}if(!_0xad7c85||_0xad7c85===_0x4f9e81(-_0x48e54d._0x40f546,-0x170,-_0x48e54d._0x2a351a,-_0x48e54d._0x3b9e11))return;try{const _0x116977=JSON[_0x2058d9(-0x320,-_0x48e54d._0x4b1bb6,-0x154,-_0x48e54d._0x435aa2)](_0xad7c85);switch(_0x116977[_0x2058d9(0x274,_0x48e54d._0x3c1ce5,-0x7b,0x181)]){case'message_start':_0x116977[_0x4f9e81(-_0x48e54d._0x297e20,_0x48e54d._0x55e633,0x112,0x1ce)]?.[_0x4f9e81(-_0x48e54d._0x1f5c49,-_0x48e54d._0x1a2a4a,-_0x48e54d._0x26e299,-0x2b1)]&&(_0x162f1e=this[_0x2058d9(0xd3,_0x48e54d._0x5ba8dc,_0x48e54d._0x1d72d2,0x138)](_0x116977[_0x2058d9(_0x48e54d._0x2f6936,_0x48e54d._0x360a26,_0x48e54d._0x16bb8a,_0x48e54d._0x123211)][_0x2058d9(0xd0,-_0x48e54d._0x562fb1,-_0x48e54d._0x195332,-0x10d)]));break;case'content_block_start':if(_0x116977[_0x2058d9(_0x48e54d._0xe72a29,_0x48e54d._0x7dbc99,0x341,_0x48e54d._0x2b0db5)][_0x2058d9(_0x48e54d._0x5c31d4,_0x48e54d._0x1b4c85,_0x48e54d._0x17917a,0x181)]===_0x4f9e81(0x96,_0x48e54d._0xf14ade,0x384,0x192)){const _0x1086a6={'id':_0x116977[_0x2058d9(0x27f,_0x48e54d._0x2a95a2,0x15,0x13f)]['id'],'type':_0x4f9e81(0x1e3,_0x48e54d._0x4ce536,-_0x48e54d._0x6766d9,0x16a),'function':{'name':_0x116977[_0x4f9e81(-0xda,_0x48e54d._0x163188,_0x48e54d._0x1cd06e,-_0x48e54d._0x159550)][_0x4f9e81(-0xa4,-0x229,-0x1fa,-_0x48e54d._0x417b75)],'arguments':''}};_0x171873[_0x2058d9(_0x48e54d._0xc0914d,_0x48e54d._0x2532a9,_0x48e54d._0x4854d5,-_0x48e54d._0x57019d)](_0x1086a6),_0x3792f1['set'](_0x116977[_0x4f9e81(-_0x48e54d._0xa3a094,-_0x48e54d._0x5f1fa0,-_0x48e54d._0x29afa8,-_0x48e54d._0x1792ae)],''),_0x203cdd['onToolCallDelta']?.(_0x1086a6);}break;case _0x2058d9(_0x48e54d._0x494f6c,_0x48e54d._0x49f6b9,0x66,-_0x48e54d._0xbea509):if(_0x116977[_0x2058d9(_0x48e54d._0xed46cc,0x35a,_0x48e54d._0xe64fd7,0x320)]['type']===_0x4f9e81(0x4d,-_0x48e54d._0x306942,-_0x48e54d._0x2da86b,-_0x48e54d._0x4a8fa9))_0x158e13+=_0x116977[_0x2058d9(_0x48e54d._0x1fbedf,0x1c8,_0x48e54d._0x55e13b,_0x48e54d._0x9e9718)][_0x4f9e81(-_0x48e54d._0x3975fa,_0x48e54d._0x19e37e,-_0x48e54d._0x552bcf,-0x119)],_0x203cdd[_0x4f9e81(_0x48e54d._0x4d2dec,_0x48e54d._0x530d5e,_0x48e54d._0x48aa34,0x70)]?.(_0x116977['delta']['text']);else{if(_0x116977[_0x4f9e81(0x280,_0x48e54d._0x45585d,_0x48e54d._0x5904d0,0x17c)]['type']===_0x4f9e81(-0x241,0x70,0x1b2,-_0x48e54d._0x1c8ecb))_0xa0944e+=_0x116977[_0x4f9e81(0x18c,0x122,_0x48e54d._0x3f1959,0x17c)][_0x4f9e81(-0x205,0x21,0x92,-0x13d)],_0x203cdd[_0x2058d9(_0x48e54d._0x23a5a9,-_0x48e54d._0x4d1f8a,-_0x48e54d._0x4f82b5,-0x4f)]?.(_0x116977['delta']['thinking']);else{if(_0x116977[_0x2058d9(0x566,_0x48e54d._0x592903,_0x48e54d._0x12cdf4,_0x48e54d._0x9e9718)][_0x2058d9(_0x48e54d._0x52df97,_0x48e54d._0x105080,0x56,0x181)]==='input_json_delta'){const _0x573980=_0x3792f1[_0x4f9e81(_0x48e54d._0x418df7,_0x48e54d._0x43e2f6,_0x48e54d._0x181705,0x180)](_0x116977[_0x4f9e81(-0x22c,-0x2bc,-0x230,-0x105)])??'',_0x36b0ed=_0x573980+_0x116977['delta'][_0x2058d9(-_0x48e54d._0x443ba9,_0x48e54d._0x56aed1,0x1dd,_0x48e54d._0x1c004c)];_0x3792f1[_0x4f9e81(0x2f,-0xbd,0x1f0,0x129)](_0x116977[_0x2058d9(0x27c,_0x48e54d._0x52df97,_0x48e54d._0x49620c,_0x48e54d._0x5c12fb)],_0x36b0ed);const _0x1f9ce7=_0x171873[_0x2058d9(_0x48e54d._0x1c0f50,-_0x48e54d._0x523764,_0x48e54d._0x55bc47,0x10d)]-0x1;_0x1f9ce7>=0x0&&_0x171873[_0x1f9ce7]&&(_0x171873[_0x1f9ce7][_0x4f9e81(_0x48e54d._0x33cb40,0xa6,0x1c,_0x48e54d._0xc3861f)][_0x2058d9(_0x48e54d._0x177d1f,-0x11c,-0x14b,_0x48e54d._0x1d7336)]=_0x36b0ed,_0x203cdd[_0x2058d9(_0x48e54d._0x30777e,0x120,0x2a7,_0x48e54d._0x424587)]?.(_0x171873[_0x1f9ce7]));}}}break;case _0x4f9e81(-_0x48e54d._0x529d77,-0x159,_0x48e54d._0x25f782,-0xe3):_0x116977[_0x4f9e81(_0x48e54d._0x6d40e7,0x123,_0x48e54d._0x3f6804,_0x48e54d._0x2c51a1)][_0x2058d9(-0xe2,-_0x48e54d._0x2686ac,_0x48e54d._0x20304f,-0x16)]&&(_0x10cb49=_0x116977[_0x2058d9(0x2b9,_0x48e54d._0x46479e,0x4c1,0x320)][_0x4f9e81(-_0x48e54d._0x144f8a,-_0x48e54d._0x56ed95,-_0x48e54d._0x5842b1,-_0x48e54d._0x21f518)]);if(_0x116977[_0x2058d9(-_0x48e54d._0x1a2a4a,-0x287,-_0x48e54d._0x510a0d,-0x10d)]){const _0x1229db=_0x116977[_0x2058d9(_0x48e54d._0x10871f,-0x17a,-_0x48e54d._0x25ebb0,-0x10d)];_0x162f1e&&(_0x162f1e[_0x4f9e81(-0x1f9,-0x465,-0x4ea,-0x29b)]=_0x1229db[_0x4f9e81(-0x55,0x46,-_0x48e54d._0x21d718,0x86)]??_0x162f1e[_0x4f9e81(-0x4b3,-_0x48e54d._0x3e9bf8,-_0x48e54d._0x3ab97a,-0x29b)],_0x162f1e[_0x4f9e81(-_0x48e54d._0x63f362,-0x23e,-_0x48e54d._0x28faa9,-_0x48e54d._0x37733d)]=(_0x162f1e[_0x2058d9(-0x5b,0x116,0x40,0x1e5)]??0x0)+(_0x162f1e[_0x2058d9(-0x32f,-0x58,-0x298,-_0x48e54d._0x506ce6)]??0x0));}break;case'message_stop':_0x203cdd[_0x2058d9(_0x48e54d._0x56da98,0xae,-_0x48e54d._0x2f6936,-_0x48e54d._0x303651)]?.(_0x10cb49,_0x162f1e);break;case'error':throw new LLMError(_0x116977[_0x4f9e81(0x57,-0x1ff,-0x73,-0x11)]['message'],void 0x0,![]);}}catch(_0x2393ed){if(_0x2393ed instanceof LLMError)throw _0x2393ed;}};while(!![]){const {value:_0x34ba7e,done:_0x2deb13}=await _0x5a218e[_0x3dad7e(0x588,_0x200b5f._0x2803b0,0x70d,_0x200b5f._0x76705b)]();if(_0x2deb13)break;_0xb2d407+=_0x27c2cc[_0x2240dd(0x5a2,_0x200b5f._0x34181c,_0x200b5f._0x4163a6,0x435)](_0x34ba7e,{'stream':!![]});const _0x293979=_0xb2d407['split']('\x0a\x0a');_0xb2d407=_0x293979[_0x2240dd(0x5fb,0x3f0,0x681,_0x200b5f._0x14a866)]()??'';for(const _0x11ad97 of _0x293979){if(_0x11ad97[_0x2240dd(_0x200b5f._0x1699ca,_0x200b5f._0x481140,_0x200b5f._0x3cc1ae,_0x200b5f._0x33b9f4)]())_0xb58977(_0x11ad97);}}if(_0xb2d407[_0x3dad7e(0x7a9,0xa25,_0x200b5f._0x455f7a,_0x200b5f._0x3addfe)]())_0xb58977(_0xb2d407);return{'content':_0x158e13,..._0xa0944e&&{'reasoning':_0xa0944e},..._0x171873[_0x3dad7e(_0x200b5f._0x1929b6,_0x200b5f._0x1bb348,_0x200b5f._0x4a4f7e,_0x200b5f._0x2d707a)]>0x0&&{'tool_calls':_0x171873},..._0x162f1e&&{'usage':_0x162f1e}};}async['getModels'](_0x1026fd){const _0x33f384={_0x42d8e0:0x48f,_0x58a791:0x1e4,_0x49c0f9:0x22b,_0x4cdd8b:0x72,_0x52b465:0x156,_0x53645a:0xaf,_0x302763:0x122,_0x4e9166:0x1fa,_0x483905:0x8b,_0x3c1f91:0x9a,_0x3b8447:0x42c,_0x4f125e:0x21c,_0x128034:0x34,_0xea45ea:0x1af,_0x4a92dd:0x7e,_0x316e48:0xaf,_0x30de3f:0xa4,_0x2c8b9c:0x214,_0x1b33dd:0x53,_0x2290ec:0x189,_0x5e5a9b:0x106,_0x293a96:0x45,_0x17c6dc:0x343,_0x583967:0x170,_0x1c9f79:0x381,_0x417688:0x147,_0x3b13bf:0xe1},_0x54a228={_0x3f9d61:0x132},_0x59388f={_0xac486e:0xd4},_0x12b7d3={_0x33808f:0xe6,_0x3b820f:0x2f4},_0x5e07e5={_0x390ba7:0x137};if(this[_0x2248d1(0x22b,-0x7,0x333,0x1fe)]===![])throw new Error(_0x2248d1(0x29a,_0x33f384._0x42d8e0,0x4e,0x2fe));if(Array[_0x27288c(-0x6a,_0x33f384._0x58a791,0x430,0x39e)](this[_0x2248d1(_0x33f384._0x49c0f9,0x3ed,0x2b2,0x27c)])){const _0x43bafa=this[_0x27288c(_0x33f384._0x4cdd8b,_0x33f384._0x52b465,_0x33f384._0x53645a,0x339)]['map'](_0x3957b9=>{const _0x168974={_0x48862d:0x33d},_0x41326a=typeof _0x3957b9===_0x587711(0x74,-0x37,_0x12b7d3._0x33808f,0x20e)?{'id':_0x3957b9}:_0x3957b9;function _0x4c691f(_0x501518,_0x2c527e,_0x232820,_0x44daf5){return _0x2248d1(_0x232820-_0x168974._0x48862d,_0x2c527e-0x9,_0x501518,_0x44daf5-0x1c2);}function _0x587711(_0x37757f,_0x793bb7,_0x6ff724,_0x258e3e){return _0x2248d1(_0x258e3e-0x227,_0x793bb7-_0x5e07e5._0x390ba7,_0x793bb7,_0x258e3e-0x151);}return normalizeModelInfo(this[_0x587711(0x307,_0x12b7d3._0x3b820f,-0x23,0x114)],_0x41326a);});return deduplicateModels(_0x43bafa);}function _0x2248d1(_0x23fe65,_0x154dcc,_0x1c8869,_0x496533){return _0x55e1bc(_0x1c8869,_0x154dcc-_0x59388f._0xac486e,_0x1c8869-0x1ed,_0x23fe65- -0x57f);}if(typeof this[_0x27288c(0x259,_0x33f384._0x52b465,_0x33f384._0x302763,_0x33f384._0x4e9166)]===_0x2248d1(-0x19,0x1ac,-0xe9,-0x6b)){const _0xaa61c8=await this['getTransport']()['get'](this['modelConfig'],void 0x0,_0x1026fd);if(!_0xaa61c8['ok']){const _0x263741=await _0xaa61c8[_0x2248d1(_0x33f384._0x483905,_0x33f384._0x3c1f91,0xf9,-0x26)]();this[_0x2248d1(0x38,-0x1fd,-0x71,0x12a)](_0xaa61c8['status'],_0x263741||_0x27288c(0x16a,0x26e,_0x33f384._0x3b8447,0x9f));}const _0x3bd11a=await _0xaa61c8[_0x2248d1(_0x33f384._0x4f125e,0x355,-_0x33f384._0x128034,0x348)](),_0x3c7d24=_0x3bd11a[_0x2248d1(-0x81,-0x2cd,-_0x33f384._0xea45ea,-_0x33f384._0x4a92dd)][_0x27288c(_0x33f384._0x316e48,-0x110,-0x18,0xd5)](_0x1600aa=>normalizeModelInfo(this[_0x27288c(-0x3c0,-0x1e8,-0x152,-0x34a)],_0x1600aa));return deduplicateModels(_0x3c7d24);}function _0x27288c(_0x383e4b,_0x544380,_0x3a114f,_0x585d83){return _0x55e1bc(_0x3a114f,_0x544380-0xf9,_0x3a114f-_0x54a228._0x3f9d61,_0x544380- -0x654);}const _0x1e0d98=await this[_0x27288c(0x175,-_0x33f384._0x30de3f,-0x286,-_0x33f384._0x2c8b9c)]()['get'](_0x2248d1(_0x33f384._0x1b33dd,-0x93,-0x1e,_0x33f384._0x2290ec),void 0x0,_0x1026fd);if(!_0x1e0d98['ok']){const _0x2a5234=await _0x1e0d98['text']();this[_0x2248d1(0x38,_0x33f384._0x5e5a9b,-_0x33f384._0x4e9166,_0x33f384._0x293a96)](_0x1e0d98['status'],_0x2a5234||_0x2248d1(_0x33f384._0x17c6dc,_0x33f384._0x583967,_0x33f384._0x1c9f79,0x38d));}const _0x24a236=await _0x1e0d98[_0x27288c(0x10c,_0x33f384._0x417688,0xa2,-0xbd)](),_0x16e9e4=_0x24a236[_0x2248d1(-0x81,0xc0,_0x33f384._0x3b13bf,-0x21d)]['map'](_0x2d7399=>normalizeModelInfo(this['providerName'],_0x2d7399));return deduplicateModels(_0x16e9e4);}},llm_provider_config_default={'providers':[{'key':_0x3a64dd(0x4dd,0x5d5,0x663,0x4ff),'type':'openai-compat','baseUrl':_0x55e1bc(0x903,0x8dd,0x726,0x83d),'defaultModels':[_0x3a64dd(0x135,0x148,0x365,0x51e),'meta-llama/Meta-Llama-3.1-8B-Instruct'],'features':{'promptCaching':![],'getModels':!![]}},{'key':_0x3a64dd(0x183,0x345,0x38f,0x18a),'type':_0x3a64dd(0x2ed,0x5be,0x522,0x4cf),'baseUrl':_0x3a64dd(0x529,0x237,0x3ea,0x5ae),'defaultModels':[_0x3a64dd(0x558,0x353,0x4ed,0x2b9),_0x3a64dd(0x408,0x5d0,0x5f8,0x446)],'features':{'promptCaching':!![],'getModels':!![],'includeUsage':!![]}},{'key':'zai','type':_0x3a64dd(0x57a,0x447,0x522,0x70e),'baseUrl':_0x3a64dd(0x76b,0x7ab,0x66b,0x6a6),'defaultModels':[_0x55e1bc(0x42d,0x78a,0x886,0x658),_0x3a64dd(0x681,0x55d,0x5a4,0x655),_0x55e1bc(0x47a,0x575,0x380,0x4eb)],'features':{'promptCaching':![],'getModels':![]}},{'key':_0x3a64dd(0x5a0,0x234,0x35e,0x389),'type':_0x55e1bc(0x2e8,0x248,0x3c0,0x456),'baseUrl':_0x3a64dd(0x3bc,0x641,0x55e,0x3d2),'defaultModels':[_0x3a64dd(0x41f,0x3a4,0x51c,0x435),'glm-4.6',_0x55e1bc(0x71a,0x5dc,0x51b,0x4eb)],'features':{'promptCaching':![],'getModels':![]}},{'key':_0x55e1bc(0x6b9,0x6c9,0x792,0x6e5),'type':_0x55e1bc(0x834,0x883,0x571,0x65e),'baseUrl':_0x3a64dd(0x954,0x941,0x711,0x690),'defaultModels':[_0x55e1bc(0x452,0x559,0x684,0x4c3),_0x55e1bc(0x8f1,0x972,0x880,0x761)],'features':{'promptCaching':![],'getModels':!![]}},{'key':_0x55e1bc(0x95c,0x8fc,0x910,0x789),'label':_0x55e1bc(0x44e,0x752,0x6ae,0x541),'type':'openai-compat','baseUrl':'https://api.kimi.com/coding/v1','features':{'promptCaching':!![],'getModels':!![],'includeUsage':!![]},'customHeaders':{'User-Agent':_0x3a64dd(0x878,0x71c,0x731,0x88e)}},{'key':_0x3a64dd(0x3a4,0x4bb,0x345,0x443),'label':_0x55e1bc(0x5c4,0x55e,0x7d3,0x7ab),'type':_0x55e1bc(0x5d6,0x609,0x41a,0x456),'baseUrl':_0x3a64dd(0x489,0x467,0x515,0x583),'models':[{'id':_0x3a64dd(0x7dd,0x6c7,0x5f3,0x430),'name':'MiniMax\x20M2.1','limits':{'contextWindow':0x30d40,'maxOutput':0x3e80}}],'defaultModels':[_0x3a64dd(0x3b2,0x7cc,0x5f3,0x450)],'features':{'promptCaching':![],'getModels':!![],'includeUsage':![]}}]},providers=llm_provider_config_default[_0x55e1bc(0x4de,0x6f0,0x582,0x4d3)],GenericLLM=class extends BaseLLM{['opts'];[_0x3a64dd(0x41a,0x4fd,0x49c,0x253)];[_0x55e1bc(0x6f4,0x730,0x928,0x7aa)];[_0x3a64dd(0x10c,0x26c,0x330,0x327)];['customHeaders'];constructor(_0x5aa2f0,_0x353fd0,_0x55380f={},_0xd2f63d){const _0x54a0b1={_0x5283cd:0x89f,_0x16a192:0x6c9,_0x20bcb4:0xac5,_0x190aba:0x7b8,_0x5943b3:0x6ae,_0x2693c2:0x579,_0x24a134:0x4d4,_0x26cec8:0x74b,_0x3bfbca:0x940,_0x4e0dae:0x5c8,_0x46f659:0x72,_0x16bb34:0xa,_0x13e74f:0x40,_0x4da959:0x225,_0x4bab50:0x45c,_0x2f6cad:0x466},_0x2cc759={_0x2afa03:0x14f},_0x2f5380={_0x27ca87:0x370},{enablePromptCaching:enablePromptCaching=![],includeUsage:includeUsage=![],providerName:providerName=_0x1c4484(0x893,_0x54a0b1._0x5283cd,_0x54a0b1._0x16a192,_0x54a0b1._0x20bcb4),retry:_0x52434,..._0xda5f3d}=_0x55380f;super(_0x55380f[_0x1c4484(_0x54a0b1._0x190aba,_0x54a0b1._0x5943b3,0x81e,0x9c9)]||_0x5aa2f0,{'enablePromptCaching':enablePromptCaching,'retry':_0x52434}),this[_0x1c4484(_0x54a0b1._0x2693c2,0x756,_0x54a0b1._0x24a134,0x62c)]=includeUsage,this[_0x1c4484(_0x54a0b1._0x26cec8,0x938,_0x54a0b1._0x3bfbca,_0x54a0b1._0x4e0dae)]=_0x353fd0;function _0x550efd(_0x4c9232,_0x534273,_0x2b3420,_0xd65269){return _0x3a64dd(_0x4c9232-0x1ac,_0xd65269,_0x2b3420- -_0x2f5380._0x27ca87,_0xd65269-0xe5);}this[_0x550efd(_0x54a0b1._0x46f659,_0x54a0b1._0x16bb34,-_0x54a0b1._0x13e74f,-_0x54a0b1._0x4da959)]=providerName,this['opts']=_0xda5f3d;function _0x1c4484(_0x114784,_0x53288e,_0x598942,_0x579331){return _0x3a64dd(_0x114784-0x9,_0x598942,_0x114784-0xdd,_0x579331-_0x2cc759._0x2afa03);}this[_0x1c4484(_0x54a0b1._0x4bab50,0x5ff,_0x54a0b1._0x2f6cad,0x2dd)]=_0xd2f63d;}[_0x3a64dd(0x3cc,0x6e5,0x4be,0x3ce)](){const _0x7960e3={_0xbe1459:0x4b5,_0x25c2dd:0x36e,_0x15af9c:0x39b,_0x33f5aa:0x516,_0x1a8b84:0x467,_0x4fa944:0x55d,_0x4869e4:0x2ec,_0x4b8c7f:0x619,_0xef41cb:0x4d1,_0xa69bc9:0x2c3,_0x24823d:0x4e7,_0x47140e:0x4f5,_0x2eab99:0x4e7,_0x5be2b1:0x377,_0x2dfb44:0x6f8,_0x10cea4:0x534,_0x29352a:0x6eb,_0x176f24:0x150,_0x4781d3:0x2c0,_0x245839:0xfe,_0x4d292c:0xb8,_0x2b881f:0x4f2,_0x390827:0x87,_0x3c372f:0x3c},_0x2e4de2={_0x578c34:0x16d,_0x497ece:0x24};function _0x2141ab(_0x4e7dd0,_0x1db475,_0xad6d47,_0x70dfa7){return _0x55e1bc(_0x1db475,_0x1db475-_0x2e4de2._0x578c34,_0xad6d47-_0x2e4de2._0x497ece,_0x70dfa7- -0x761);}const _0x2b3bb3=new FetchTransport({'persistFile':this[_0x262839(0x49b,_0x7960e3._0xbe1459,_0x7960e3._0x25c2dd,0x4e7)][_0x262839(_0x7960e3._0x15af9c,0x638,_0x7960e3._0x33f5aa,_0x7960e3._0x1a8b84)],'logLevel':'INFO','enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]}),_0x161262=createTransport(_0x2b3bb3,this[_0x262839(_0x7960e3._0x4fa944,_0x7960e3._0x4869e4,_0x7960e3._0x4b8c7f,_0x7960e3._0xef41cb)],this[_0x262839(_0x7960e3._0xa69bc9,0x41b,0x429,_0x7960e3._0x24823d)]['apiKey'],this[_0x262839(0x34b,_0x7960e3._0x47140e,0x6a5,_0x7960e3._0x2eab99)][_0x262839(_0x7960e3._0x5be2b1,_0x7960e3._0x2dfb44,_0x7960e3._0x10cea4,0x4d1)],this[_0x262839(_0x7960e3._0x29352a,0x30c,0x474,0x4e7)][_0x262839(_0x7960e3._0x176f24,_0x7960e3._0x4781d3,0x189,0x386)],this[_0x2141ab(-_0x7960e3._0x245839,-0x3ad,-_0x7960e3._0x4d292c,-0x2a6)]);function _0x262839(_0x1f8d31,_0x22dcb1,_0x26e2f5,_0xba3d49){return _0x3a64dd(_0x1f8d31-0x1c6,_0x22dcb1,_0xba3d49- -0x20a,_0xba3d49-0xee);}const _0x5aa8d8=this[_0x262839(0x1cb,_0x7960e3._0x2b881f,0x20b,0x2cb)]?new RetryTransport(_0x161262,this[_0x2141ab(-0x27,_0x7960e3._0x390827,_0x7960e3._0x3c372f,-0x150)]):_0x161262;return new LLMErrorTransport(_0x5aa8d8);}async[_0x3a64dd(0x4c7,0x3c4,0x36d,0x547)](_0x1007ee){const _0x5d2822={_0x3a741e:0x3f8,_0x1a77fa:0x1f1,_0xfd5d38:0x36d,_0x3b76f8:0x367,_0x207a9d:0x398,_0x5be010:0x5d1,_0x1329ca:0x198,_0x4d0fdc:0x3d9,_0x40ee5b:0x5fe,_0x1d09ad:0x2f5,_0x5d18e6:0xc3,_0x1820d1:0x562,_0x423a69:0x3f3,_0x41eed2:0x4e9,_0x10566:0xd1,_0x171f34:0x307,_0x97050a:0x5ef,_0x5822b5:0x2c,_0x868736:0xda,_0x3229e5:0xc5,_0x4987ff:0xa7,_0x4b56af:0xa1,_0x275158:0x1b,_0x38d7ca:0x157,_0x53ae24:0x124,_0x547c92:0x217,_0x5bf708:0x352,_0x4921dc:0x31a,_0x3254c1:0x41e},_0x401262={_0x29503f:0x174,_0x59f224:0x20},_0x343ab3={_0x2a05e3:0x1c6},_0x28a211={_0x17a3e0:0x10};if(this[_0x529d3d(_0x5d2822._0x3a741e,0x2be,_0x5d2822._0x1a77fa,0x307)]===![])throw new Error(_0x529d3d(_0x5d2822._0xfd5d38,0x4c7,_0x5d2822._0x3b76f8,0x376));function _0x529d3d(_0xe06ec3,_0x5c1962,_0x3fa3aa,_0x41bbe9){return _0x55e1bc(_0x3fa3aa,_0x5c1962-0x198,_0x3fa3aa-_0x28a211._0x17a3e0,_0x41bbe9- -0x4a3);}if(Array[_0x529d3d(0x189,0x1b0,0x2e9,0x395)](this['modelConfig'])){const _0x2f7317=this['modelConfig'][_0x27ce36(_0x5d2822._0x207a9d,_0x5d2822._0x5be010,_0x5d2822._0x1329ca,_0x5d2822._0x4d0fdc)](_0x1599ee=>{function _0x5b2bf4(_0x558265,_0x16f6cb,_0x3f850c,_0x3fd559){return _0x27ce36(_0x3fd559- -0x1b2,_0x16f6cb-0x102,_0x3f850c-_0x343ab3._0x2a05e3,_0x558265);}const _0x4aef0b=typeof _0x1599ee==='string'?{'id':_0x1599ee}:_0x1599ee;return normalizeModelInfo(this[_0x5b2bf4(0x1eb,-0xc4,0xdc,0x10e)],_0x4aef0b);});return deduplicateModels(_0x2f7317);}if(typeof this[_0x27ce36(_0x5d2822._0x40ee5b,0x6d1,0x508,0x3d8)]===_0x529d3d(-0x54,_0x5d2822._0x1d09ad,-0x16d,_0x5d2822._0x5d18e6)){const _0x46f0f9=this[_0x529d3d(0x35b,0x1e2,0x85,0x157)](),_0x4ac4ac=await _0x46f0f9[_0x27ce36(0x6f7,0x68b,0x8b8,_0x5d2822._0x1820d1)](this[_0x529d3d(_0x5d2822._0x423a69,_0x5d2822._0x41eed2,_0x5d2822._0x10566,_0x5d2822._0x171f34)],void 0x0,_0x1007ee),_0x4d002d=await _0x4ac4ac[_0x27ce36(_0x5d2822._0x97050a,0x64c,0x686,0x555)](),_0x4da249=_0x4d002d[_0x529d3d(-_0x5d2822._0x5822b5,_0x5d2822._0x868736,-0x80,0x5b)][_0x529d3d(0x22d,_0x5d2822._0x3229e5,-_0x5d2822._0x4987ff,_0x5d2822._0x4b56af)](_0x54e0fe=>normalizeModelInfo(this[_0x27ce36(0x2c0,0x3a2,0x396,0x1ed)],_0x54e0fe));return deduplicateModels(_0x4da249);}function _0x27ce36(_0x1c008c,_0x103dcf,_0x2c2bab,_0x187315){return _0x3a64dd(_0x1c008c-_0x401262._0x29503f,_0x187315,_0x1c008c- -0x70,_0x187315-_0x401262._0x59f224);}const _0x3cfe1e=this[_0x529d3d(-_0x5d2822._0x275158,0x332,0x193,_0x5d2822._0x38d7ca)](),_0x42b674=await _0x3cfe1e['get'](_0x529d3d(0x32e,-0x2,-0x58,0x12f),void 0x0,_0x1007ee),_0x2e7b42=await _0x42b674[_0x529d3d(_0x5d2822._0x53ae24,0x413,_0x5d2822._0x547c92,0x2f8)](),_0x792919=_0x2e7b42[_0x27ce36(_0x5d2822._0x5bf708,0x109,_0x5d2822._0x4921dc,_0x5d2822._0x3254c1)]['map'](_0x4e43f2=>normalizeModelInfo(this['providerName'],_0x4e43f2));return deduplicateModels(_0x792919);}async[_0x55e1bc(0x694,0x671,0x5d5,0x6ca)](_0x55774b,_0x2cc7a1){const _0xe3162f={_0x4ab849:0xd4,_0x36b174:0x2f1,_0x2fc81b:0x37,_0x30332e:0x92,_0x1972d7:0x17},_0xe955df={_0xa9be9c:0x108,_0x11d954:0xbb},_0x4f8de3={_0x1df59b:0xe6,_0x4dd44a:0x3c8,_0x3fadaa:0x133};let _0x24b765=_0x55774b;function _0x50befd(_0x35b1fa,_0x402a69,_0x2da248,_0x7a8a1d){return _0x3a64dd(_0x35b1fa-_0x4f8de3._0x1df59b,_0x2da248,_0x35b1fa- -_0x4f8de3._0x4dd44a,_0x7a8a1d-_0x4f8de3._0x3fadaa);}this[_0x50befd(_0xe3162f._0x4ab849,-0x28,_0xe3162f._0x36b174,-_0xe3162f._0x2fc81b)]&&!_0x24b765[_0x50befd(-_0xe3162f._0x30332e,-0xe2,0x13,-_0xe3162f._0x1972d7)]&&(_0x24b765={..._0x24b765,'usage':{'include':!![]}});function _0x47c3f2(_0x2271b0,_0xc40ff9,_0x1fefcc,_0x18c8c0){return _0x3a64dd(_0x2271b0-_0xe955df._0xa9be9c,_0x18c8c0,_0x1fefcc-_0xe955df._0x11d954,_0x18c8c0-0x153);}return super[_0x47c3f2(0x4f6,0x44a,0x649,0x7dc)](_0x24b765,_0x2cc7a1);}async['streamCompletion'](_0x1b7ce8,_0x56f6ac,_0x35b865){const _0x53ae20={_0x16ed38:0x211,_0x34d991:0x131,_0xee1889:0x4a6,_0x139040:0x66c,_0xfcf16d:0x509,_0x2077cf:0x79f},_0x832e8f={_0x423e95:0x170,_0x43ae52:0x28b,_0x1c39c1:0x3e},_0x14de3b={_0x1596f8:0x1c6,_0x4df763:0x34};let _0x32509d=_0x1b7ce8;function _0x7f6380(_0x5a5fcf,_0x186c7c,_0x114197,_0x262edc){return _0x55e1bc(_0x262edc,_0x186c7c-0x4c,_0x114197-_0x14de3b._0x1596f8,_0x114197-_0x14de3b._0x4df763);}function _0x584903(_0x3ca36b,_0x60e076,_0x403105,_0x55c369){return _0x3a64dd(_0x3ca36b-_0x832e8f._0x423e95,_0x60e076,_0x3ca36b- -_0x832e8f._0x43ae52,_0x55c369-_0x832e8f._0x1c39c1);}return this[_0x584903(_0x53ae20._0x16ed38,0x184,0x151,_0x53ae20._0x34d991)]&&!_0x32509d[_0x7f6380(0x26a,0x4ae,_0x53ae20._0xee1889,_0x53ae20._0x139040)]&&(_0x32509d={..._0x32509d,'usage':{'include':!![]}}),super[_0x7f6380(_0x53ae20._0xfcf16d,_0x53ae20._0x2077cf,0x68f,0x61c)](_0x32509d,_0x56f6ac,_0x35b865);}};function normalizeModelConfig(_0x37447f){const _0x563e06={_0x4ae121:0x219,_0x63c5a0:0x263,_0x6987d0:0x20f,_0x31dccd:0x2ee},_0x2e694f={_0x1399cd:0x74,_0x4346a4:0x65b,_0x3cff35:0x166},_0x25498f={_0x50ef9a:0x10};function _0x259de7(_0x3a18c7,_0x5f0676,_0x378a7d,_0x3f9cfa){return _0x55e1bc(_0x5f0676,_0x5f0676-0xff,_0x378a7d-0x1cd,_0x3f9cfa-_0x25498f._0x50ef9a);}if(_0x37447f['models']!==void 0x0)return _0x37447f[_0x1f2917(0x1dc,-_0x563e06._0x4ae121,-0x237,0x6)];function _0x1f2917(_0x5e9e7f,_0x53803a,_0x2dba94,_0x45b4b3){return _0x3a64dd(_0x5e9e7f-_0x2e694f._0x1399cd,_0x53803a,_0x45b4b3- -_0x2e694f._0x4346a4,_0x45b4b3-_0x2e694f._0x3cff35);}return _0x37447f[_0x1f2917(_0x563e06._0x63c5a0,0x25d,0x1f4,0x58)][_0x1f2917(-0xdb,-0x318,-_0x563e06._0x6987d0,-_0x563e06._0x31dccd)]??![];}function mergeProviders(_0x5feeb8){const _0x2e5ecc={_0x5853ff:0x4cc,_0xdff5fd:0x384,_0x380c49:0x45d,_0x3a0a46:0x4ab,_0x2cb138:0x7df,_0x472cdb:0x2e1,_0x2ee22a:0x1ad,_0x486622:0x6e3,_0x16a4ad:0x7cf,_0x394541:0x9e3,_0x3ff2ba:0x8b7,_0x41b036:0x69d,_0xc8c91f:0x821,_0x49288b:0x4ac,_0x19906f:0x34,_0x469524:0x181,_0x4488f1:0x238,_0x46e820:0x343,_0x125bd0:0x7a9,_0x1a8aee:0x6c9,_0x5d8046:0x1e6,_0x584dbb:0x3d5,_0x1c0e11:0x663,_0x43c681:0x6c9,_0x5bf120:0x5c1,_0x19cb05:0x887,_0x681be:0x8f4,_0xb15f2a:0x69d,_0x291b01:0x64d},_0x43a279={_0x4ee6c3:0x11b,_0x42c519:0xd4},_0x4482a2={_0x403789:0x18c,_0x1c37f7:0x4c8};function _0x5e1326(_0x58f9cd,_0xd748ab,_0x3d6776,_0x474def){return _0x55e1bc(_0x58f9cd,_0xd748ab-_0x4482a2._0x403789,_0x3d6776-0xaa,_0x474def- -_0x4482a2._0x1c37f7);}const _0x49af57=new Map();function _0x5e9357(_0x2a7545,_0x2f12b2,_0xe3d6b4,_0x1a02e0){return _0x55e1bc(_0xe3d6b4,_0x2f12b2-_0x43a279._0x4ee6c3,_0xe3d6b4-0xb9,_0x2f12b2- -_0x43a279._0x42c519);}for(const _0x45eee1 of providers){_0x49af57[_0x5e1326(0x459,_0x2e5ecc._0x5853ff,0x459,_0x2e5ecc._0xdff5fd)](_0x45eee1[_0x5e9357(_0x2e5ecc._0x380c49,0x60e,_0x2e5ecc._0x3a0a46,_0x2e5ecc._0x2cb138)][_0x5e9357(0x847,0x69d,0x705,0x479)](),_0x45eee1);}if(_0x5feeb8)for(const [_0x2483db,_0x83aa4]of Object['entries'](_0x5feeb8)){if(!_0x83aa4[_0x5e1326(_0x2e5ecc._0x472cdb,_0x2e5ecc._0x2ee22a,0x324,0x1a7)])continue;const _0x348e14=_0x49af57[_0x5e9357(_0x2e5ecc._0x486622,_0x2e5ecc._0x16a4ad,_0x2e5ecc._0x394541,0x85b)](_0x2483db[_0x5e9357(_0x2e5ecc._0x3ff2ba,_0x2e5ecc._0x41b036,_0x2e5ecc._0xc8c91f,_0x2e5ecc._0x49288b)]()),_0x3371d1={'key':_0x2483db,'type':_0x83aa4[_0x5e1326(_0x2e5ecc._0x19906f,_0x2e5ecc._0x469524,0x23d,_0x2e5ecc._0x4488f1)]??_0x5e9357(0x64b,0x58a,0x4d2,_0x2e5ecc._0x46e820),'baseUrl':_0x83aa4['baseUrl'],'models':_0x83aa4[_0x5e9357(_0x2e5ecc._0x125bd0,_0x2e5ecc._0x1a8aee,0x7f4,0x6a2)]??![],'customHeaders':_0x83aa4['customHeaders'],'features':_0x348e14?.[_0x5e1326(0x17e,_0x2e5ecc._0x5d8046,_0x2e5ecc._0x584dbb,0x327)]??{'promptCaching':![],'getModels':_0x83aa4[_0x5e9357(_0x2e5ecc._0x1c0e11,_0x2e5ecc._0x43c681,0x701,0x661)]!==![],'includeUsage':![]}};_0x49af57[_0x5e9357(_0x2e5ecc._0x5bf120,0x778,_0x2e5ecc._0x19cb05,_0x2e5ecc._0x681be)](_0x2483db[_0x5e9357(0x4a1,_0x2e5ecc._0xb15f2a,0x63e,0x881)](),_0x3371d1);}return Array[_0x5e9357(0x52e,0x737,0x68c,_0x2e5ecc._0x291b01)](_0x49af57['values']());}function createLLM(_0x23aaae,_0x34c36e={},_0x2d73ec){const _0x12f859={_0x2698aa:0x2a2,_0x43585b:0x2a5,_0x286c7e:0x64,_0x153888:0x443,_0x54606d:0x474,_0x4b424b:0x22b,_0x2bd7be:0x43c,_0x18d703:0xcc,_0x4d59be:0x2df,_0x39eb84:0x1d7,_0x1b6efa:0x2cf,_0x4acf1e:0xd5,_0x532cc6:0x1b7,_0xb28625:0x1f7,_0x1bdb80:0x612,_0x49eeb0:0x78f,_0xb323cd:0x95e,_0x5ed298:0x113,_0x1bf53e:0x25e,_0x1c8b76:0x145,_0x5c24ec:0xf4,_0x468a73:0x2bc,_0x3affa4:0xea,_0x556b6f:0x8ab,_0x226f07:0x540,_0x3e9ed5:0x55f,_0x324cba:0x7e9,_0x5bb5d8:0x77b,_0x53688d:0x54f,_0x46e203:0x759,_0x434d4f:0x7f8,_0x1e472d:0x7d4,_0x58ee63:0x1cc,_0x2253c8:0x15d,_0x168f79:0x256,_0x5848c4:0x1e1,_0x405049:0x147,_0x2fd3bd:0xe2,_0x4d2d3e:0x188,_0x3f4f34:0x515,_0x57455e:0x44b,_0x770236:0x564,_0x4911c1:0x429},_0x419fdb={_0x28292c:0x11d},_0x4a0e94={_0x38937c:0xc8,_0x453843:0x5e},_0x22e85d=mergeProviders(_0x2d73ec),_0x2dd960=_0x22e85d[_0x1f02c2(-0x2e6,-0xee,0xe2,-_0x12f859._0x2698aa)](_0x1633a9=>_0x1633a9[_0x1f02c2(-0x17f,-0x53,-0x4d,-0x15b)]['toLowerCase']()===_0x23aaae[_0x455193(0x78e,0x772,0x6fd,0x6ab)]());function _0x455193(_0x143bbb,_0x163333,_0x119388,_0x27b0ec){return _0x3a64dd(_0x143bbb-0x5f,_0x27b0ec,_0x119388-_0x4a0e94._0x38937c,_0x27b0ec-_0x4a0e94._0x453843);}if(!_0x2dd960)throw new Error('Unknown\x20LLM\x20provider:\x20'+_0x23aaae+_0x1f02c2(-_0x12f859._0x43585b,-0x1a3,-_0x12f859._0x286c7e,0xab)+_0x22e85d[_0x455193(_0x12f859._0x153888,_0x12f859._0x54606d,0x4d0,0x487)](_0x5b750d=>_0x5b750d[_0x1f02c2(0x100,-0x53,0x19d,-0xc1)])[_0x1f02c2(-0x3f6,-_0x12f859._0x4b424b,-_0x12f859._0x2bd7be,-0x39f)](',\x20'));function _0x1f02c2(_0x69a3a0,_0x165bb9,_0x51a7ab,_0x471340){return _0x3a64dd(_0x69a3a0-_0x419fdb._0x28292c,_0x69a3a0,_0x165bb9- -0x5f9,_0x471340-0x98);}const _0xe39f1c=normalizeModelConfig(_0x2dd960);if(_0x2dd960['type']===_0x1f02c2(-_0x12f859._0x18d703,-_0x12f859._0x4d59be,-_0x12f859._0x39eb84,-_0x12f859._0x1b6efa))return new GenericAnthropicLLM(_0x2dd960['baseUrl'],{..._0x34c36e,'providerName':_0x2dd960[_0x1f02c2(_0x12f859._0x4acf1e,-0x53,_0x12f859._0x532cc6,_0x12f859._0xb28625)],'enablePromptCaching':_0x34c36e[_0x455193(_0x12f859._0x1bdb80,0x54a,_0x12f859._0x49eeb0,_0x12f859._0xb323cd)]??_0x2dd960['features'][_0x1f02c2(0x303,_0x12f859._0x5ed298,_0x12f859._0x1bf53e,_0x12f859._0x1c8b76)],'customHeaders':_0x2dd960[_0x1f02c2(-_0x12f859._0x5c24ec,-0x27a,-_0x12f859._0x468a73,-_0x12f859._0x3affa4)],'modelConfig':_0xe39f1c});return new GenericLLM(_0x2dd960['baseUrl'],_0xe39f1c,{..._0x34c36e,'providerName':_0x2dd960['key'],'enablePromptCaching':_0x34c36e[_0x455193(_0x12f859._0x556b6f,0x62e,_0x12f859._0x49eeb0,_0x12f859._0x226f07)]??_0x2dd960[_0x455193(_0x12f859._0x3e9ed5,_0x12f859._0x324cba,_0x12f859._0x5bb5d8,_0x12f859._0x53688d)][_0x455193(_0x12f859._0x46e203,_0x12f859._0x434d4f,_0x12f859._0x1e472d,0x8f8)],'includeUsage':_0x34c36e[_0x1f02c2(-_0x12f859._0x58ee63,-_0x12f859._0x2253c8,-_0x12f859._0x168f79,-_0x12f859._0x5848c4)]??_0x2dd960[_0x1f02c2(-_0x12f859._0x405049,0xba,_0x12f859._0x2fd3bd,_0x12f859._0x4d2d3e)][_0x455193(_0x12f859._0x3f4f34,_0x12f859._0x57455e,_0x12f859._0x770236,_0x12f859._0x4911c1)]},_0x2dd960['customHeaders']);}function getAvailableProviders(_0x1184cb){const _0x1b95e1={_0x960014:0xef,_0x584d59:0x1cd,_0x3955b6:0x660};function _0x2a3fe8(_0x27314e,_0x235de7,_0x165c0c,_0x8bb3e0){return _0x55e1bc(_0x27314e,_0x235de7-_0x1b95e1._0x960014,_0x165c0c-_0x1b95e1._0x584d59,_0x235de7- -_0x1b95e1._0x3955b6);}const _0xbb4265=mergeProviders(_0x1184cb);return _0xbb4265['map'](_0x2499ad=>_0x2499ad[_0x2a3fe8(0xfa,0x82,-0x31,0x1b5)]);}function supportsGetModels(_0x2bf51b,_0x1a1d69){const _0x26a7cb={_0x118ca3:0x59f,_0x583da9:0x715,_0x4a9d0e:0x5c8},_0x4c965b={_0x15d386:0x27},_0xca91ce={_0x30df59:0x10b},_0x5c3052=mergeProviders(_0x1a1d69),_0x27fa3a=_0x5c3052[_0x413a11(_0x26a7cb._0x118ca3,_0x26a7cb._0x583da9,0x711,_0x26a7cb._0x4a9d0e)](_0x570aff=>_0x570aff[_0x26fd06(0x11b,-0x65,0x3d,0x19b)][_0x413a11(0x848,0x7d3,0x8ed,0x6f2)]()===_0x2bf51b['toLowerCase']());function _0x413a11(_0x2f1eb6,_0x59045e,_0x216000,_0x40968b){return _0x3a64dd(_0x2f1eb6-_0xca91ce._0x30df59,_0x59045e,_0x40968b-0xbd,_0x40968b-0x1c9);}if(!_0x27fa3a)return![];const _0xec57a2=normalizeModelConfig(_0x27fa3a);function _0x26fd06(_0x10fbeb,_0x1bbaff,_0x2b6d56,_0xa656f1){return _0x3a64dd(_0x10fbeb-0x20,_0x2b6d56,_0xa656f1- -0x40b,_0xa656f1-_0x4c965b._0x15d386);}return _0xec57a2!==![];}function getProviderLabel(_0x14f97b,_0x1cb476){const _0x35231b={_0xe15a59:0x12b},_0x5dc246={_0x5b9081:0x3fa,_0x3bf1c9:0x92},_0x29e1ab={_0x12982e:0x26},_0x3ff285=mergeProviders(_0x1cb476),_0x2c7973=_0x3ff285[_0xf11ff9(0x281,0x197,0x41f,_0x35231b._0xe15a59)](_0x2c8b0e=>_0x2c8b0e[_0xf11ff9(0x31c,0x318,0x324,0x231)]['toLowerCase']()===_0x14f97b[_0x3b2ac8(0x1c3,0x23b,0x3e0,0x237)]());function _0xf11ff9(_0x2ee975,_0x1fa0c1,_0x3e135d,_0xdf88db){return _0x55e1bc(_0x1fa0c1,_0x1fa0c1-_0x29e1ab._0x12982e,_0x3e135d-0x80,_0x2ee975- -0x3c6);}function _0x3b2ac8(_0x14494d,_0x36b03a,_0x2b77fe,_0x7a378){return _0x3a64dd(_0x14494d-0x2e,_0x14494d,_0x36b03a- -_0x5dc246._0x5b9081,_0x7a378-_0x5dc246._0x3bf1c9);}return _0x2c7973?.['label'];}function getProviderAuthMethods(_0x456837,_0x31aefb){const _0x2161b5={_0x3faf51:0x77b,_0x4007d0:0x420,_0x159ade:0x285,_0x119cb3:0x2aa},_0xb37fb4={_0x31d497:0x164,_0x1915fb:0x147,_0x71d905:0x14f},_0x43adf6={_0x4f1ed7:0x79};function _0x5eeda4(_0x36cf72,_0x36065d,_0x236eec,_0x37bf13){return _0x55e1bc(_0x36065d,_0x36065d-_0x43adf6._0x4f1ed7,_0x236eec-0xd1,_0x36cf72- -0x381);}const _0x5ebfe9=mergeProviders(_0x31aefb);function _0xafdbf4(_0x469362,_0x1bd351,_0x22cc51,_0x384852){return _0x3a64dd(_0x469362-_0xb37fb4._0x31d497,_0x469362,_0x1bd351-_0xb37fb4._0x1915fb,_0x384852-_0xb37fb4._0x71d905);}const _0xb6b70c=_0x5ebfe9[_0xafdbf4(0x8a1,0x652,_0x2161b5._0x3faf51,_0x2161b5._0x4007d0)](_0x2de7a5=>_0x2de7a5[_0xafdbf4(0x905,0x6ed,0x627,0x8ca)][_0x5eeda4(0x3f0,0x54e,0x371,0x532)]()===_0x456837['toLowerCase']());return _0xb6b70c?.[_0x5eeda4(0x403,_0x2161b5._0x159ade,_0x2161b5._0x119cb3,0x54a)]??[{'label':'API\x20Key','value':'token'}];}function getProviderDefaultModels(_0x3f2de0,_0x5653b0){const _0x19b1ac={_0x3a0776:0x874},_0x16dfa8={_0x5ee01d:0x134,_0x1bdc7a:0x1ce},_0x3bdb4a={_0x28277a:0x13d,_0xda1dc4:0xa3},_0x18ac69=mergeProviders(_0x5653b0);function _0x30ffdd(_0x590772,_0x3e9c8e,_0x970dee,_0x57b77d){return _0x55e1bc(_0x970dee,_0x3e9c8e-0xf,_0x970dee-_0x3bdb4a._0x28277a,_0x3e9c8e- -_0x3bdb4a._0xda1dc4);}function _0x138b56(_0x21b00a,_0x546967,_0x58c65c,_0x3fb354){return _0x55e1bc(_0x58c65c,_0x546967-_0x16dfa8._0x5ee01d,_0x58c65c-_0x16dfa8._0x1bdc7a,_0x21b00a- -0x1cc);}const _0x461b61=_0x18ac69['find'](_0x3c6b50=>_0x3c6b50['key'][_0x30ffdd(0x8fd,0x6ce,0x59b,0x514)]()===_0x3f2de0['toLowerCase']());return _0x461b61?.[_0x138b56(0x63b,0x68a,_0x19b1ac._0x3a0776,0x7b0)]??[];}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{ListToolsResultSchema,CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';var CoreMCPClient=class{constructor(_0x27ba2e,_0x4231d3=0x7530){const _0x33d9b7={_0x205d55:0x200,_0x55074f:0x189,_0xe1b5e2:0xfb,_0x3c6003:0x64},_0x60ce0a={_0x21a7f9:0x6a4},_0xfa6b44={_0x545a32:0xe9,_0xc2bfa4:0x2b5};this[_0x34e2be(_0x33d9b7._0x205d55,_0x33d9b7._0x55074f,0xae,0xdb)]=_0x27ba2e;function _0x4deb09(_0x59336c,_0x21e123,_0x22108b,_0x5db883){return _0x55e1bc(_0x22108b,_0x21e123-_0xfa6b44._0x545a32,_0x22108b-0x12,_0x5db883- -_0xfa6b44._0xc2bfa4);}function _0x34e2be(_0x2dca72,_0x5a3729,_0x45654a,_0x5159a3){return _0x55e1bc(_0x5159a3,_0x5a3729-0xf0,_0x45654a-0x1dd,_0x5a3729- -_0x60ce0a._0x21a7f9);}this[_0x34e2be(0x201,0x18,_0x33d9b7._0xe1b5e2,_0x33d9b7._0x3c6003)]=_0x4231d3;}['client']=null;[_0x3a64dd(0x5f9,0x7e0,0x705,0x5d1)]=null;[_0x55e1bc(0x626,0x283,0x376,0x4ce)]=![];[_0x3a64dd(0x58e,0x49f,0x3ef,0x4c5)]=[];async[_0x55e1bc(0x654,0x28b,0x5c6,0x4d2)](){const _0x246c1a={_0x258f34:0x271,_0x67150:0x42c,_0x4e4476:0x6a5,_0xe606fa:0x63e,_0x17a62a:0xc6,_0xd8c866:0x2a0,_0x1bda4c:0x26a,_0x4c2266:0x2da,_0x66d851:0x554,_0x56afc8:0x352,_0x5907c4:0x598,_0x2677a3:0x39b,_0x4b4c5b:0x3fa,_0x3ff5a3:0x864,_0x264f31:0x858,_0x583246:0x893,_0x131fe4:0x79f,_0xc14816:0x3e4,_0x5a0274:0x373,_0x1841e9:0x393,_0x31fc26:0x961,_0xb386c2:0x5d3,_0x23802b:0x544,_0x4cc22b:0x399,_0x191645:0x6fc,_0xddf39e:0x71b,_0x4e65c2:0x6d0,_0x2ebb93:0x675,_0x2d464d:0x6d1,_0x1a44d3:0x3d3,_0x3bc87a:0x896,_0x23b827:0x5a4,_0x50c5cc:0x506,_0xff7f0e:0x377,_0x27f497:0x5f7,_0x2bab70:0x5c0,_0x45dfb1:0x335,_0x34339e:0x802,_0x38678a:0x680,_0x4995a1:0x466,_0x40c806:0xd9,_0x36fbce:0x12b,_0x4c9dee:0x9bb,_0x3373e8:0x8d4,_0x247d3b:0x742,_0x1ab1c8:0x8aa,_0x1ef032:0x373,_0x2116d0:0x827,_0x434f57:0x451,_0x4a6b02:0x1bb,_0x554c08:0x8ca,_0xfa4bbf:0x989,_0x79462b:0x965,_0x4f80a6:0x51d,_0x4eba0e:0x3a3,_0x9c8746:0x688,_0x4006d6:0x495,_0x250e54:0x473,_0x48f9de:0x133,_0xcac0cc:0x2b9,_0x2b06ee:0x2da,_0x13864e:0x74f,_0x24803e:0x78c,_0x4e1265:0x1a9,_0x43498b:0x3b8,_0x3a397f:0x38e,_0x5075b9:0x5f6,_0x2db9a4:0x41e,_0x472092:0x370,_0x1a00ff:0x3f1,_0x44b9d4:0x472,_0x535a28:0x48c,_0xc0368:0x62a,_0x2c0e64:0x430,_0x4c72b6:0x747,_0x15dd9e:0x744,_0x5661a4:0x593},_0x374d23={_0x2223fa:0x87},_0x268cdf={_0x33b3dc:0xbe,_0x2470c6:0x171,_0x1876d9:0x4ba};if(this[_0x366a26(0x433,_0x246c1a._0x258f34,0x471,_0x246c1a._0x67150)])return;if(this[_0x366a26(_0x246c1a._0x4e4476,0x9ce,_0x246c1a._0xe606fa,0x788)]||this['transport'])throw new Error(_0x5e2526(_0x246c1a._0x17a62a,_0x246c1a._0xd8c866,_0x246c1a._0x1bda4c,0x7d));if(this[_0x5e2526(_0x246c1a._0x4c2266,0x373,_0x246c1a._0x66d851,_0x246c1a._0x56afc8)]['type']===_0x366a26(_0x246c1a._0x5907c4,0x56a,_0x246c1a._0x2677a3,0x525)){const _0x3e0ce6=new URL(this[_0x5e2526(0x38f,0x373,0x407,_0x246c1a._0x4b4c5b)][_0x366a26(0x619,0x585,0x724,0x4f8)]);this[_0x366a26(_0x246c1a._0x3ff5a3,_0x246c1a._0x264f31,_0x246c1a._0x583246,_0x246c1a._0x131fe4)]=new StreamableHTTPClientTransport(_0x3e0ce6,{'requestInit':{'headers':this[_0x5e2526(_0x246c1a._0xc14816,_0x246c1a._0x5a0274,0x28c,_0x246c1a._0x1841e9)]['headers']??{}}});}else{const _0x1bcdcd=this[_0x366a26(_0x246c1a._0x31fc26,_0x246c1a._0xb386c2,0x6f1,0x78b)]['stderr']&&typeof this[_0x5e2526(0x42d,0x373,_0x246c1a._0x23802b,_0x246c1a._0x4cc22b)]['stderr']==='object'&&typeof this[_0x366a26(0x959,_0x246c1a._0x191645,_0x246c1a._0xddf39e,0x78b)]['stderr'][_0x366a26(0x887,_0x246c1a._0x4e65c2,_0x246c1a._0x2ebb93,_0x246c1a._0x2d464d)]===_0x5e2526(0x2d8,_0x246c1a._0x1a44d3,0x283,0x399),_0x3642ce=_0x1bcdcd?'pipe':this[_0x366a26(_0x246c1a._0x3bc87a,_0x246c1a._0x23b827,0x832,0x78b)][_0x366a26(_0x246c1a._0x50c5cc,_0x246c1a._0xff7f0e,_0x246c1a._0x27f497,0x495)]??_0x366a26(0x897,0x5c9,0x5f7,0x746);this[_0x5e2526(_0x246c1a._0x2bab70,0x387,0x1d0,_0x246c1a._0x45dfb1)]=new StdioClientTransport({'command':this['opts'][_0x366a26(_0x246c1a._0x34339e,_0x246c1a._0x38678a,_0x246c1a._0x4995a1,0x645)],'args':this['opts'][_0x5e2526(-0x11c,0x113,-_0x246c1a._0x40c806,_0x246c1a._0x36fbce)]??[],'env':this[_0x366a26(0x882,0x5ce,_0x246c1a._0x4c9dee,0x78b)][_0x366a26(_0x246c1a._0x3373e8,_0x246c1a._0x247d3b,_0x246c1a._0x1ab1c8,0x68e)]??{},'stderr':_0x3642ce,'cwd':this[_0x5e2526(0x37b,_0x246c1a._0x1ef032,0x22a,0x4aa)]['cwd']});if(_0x1bcdcd&&this[_0x366a26(_0x246c1a._0x2116d0,0x6cc,0x5b9,0x79f)]instanceof StdioClientTransport){const _0x516206=this[_0x5e2526(0x3a0,0x387,_0x246c1a._0x434f57,0x4a5)][_0x5e2526(-0x79,0x7d,-_0x246c1a._0x4a6b02,-0x8f)],_0x3d336d=this[_0x366a26(_0x246c1a._0x554c08,_0x246c1a._0xfa4bbf,_0x246c1a._0x79462b,0x78b)][_0x366a26(_0x246c1a._0x4f80a6,_0x246c1a._0x4eba0e,_0x246c1a._0x9c8746,_0x246c1a._0x4006d6)];_0x516206&&_0x3d336d&&typeof _0x516206[_0x5e2526(_0x246c1a._0x250e54,0x2b9,0x3f4,_0x246c1a._0x48f9de)]==='function'&&_0x516206[_0x5e2526(0x35e,_0x246c1a._0xcac0cc,0x30d,_0x246c1a._0x2b06ee)](_0x3d336d);}}function _0x5e2526(_0x4667d0,_0x457252,_0x53a0bf,_0x439b79){return _0x55e1bc(_0x439b79,_0x457252-_0x268cdf._0x33b3dc,_0x53a0bf-_0x268cdf._0x2470c6,_0x457252- -_0x268cdf._0x1876d9);}this[_0x366a26(0x7c6,_0x246c1a._0x13864e,_0x246c1a._0x24803e,0x788)]=new Client({'name':_0x366a26(_0x246c1a._0x4e1265,0x2d8,0x4c1,_0x246c1a._0x43498b),'version':_0x366a26(_0x246c1a._0x3a397f,_0x246c1a._0x5075b9,_0x246c1a._0x2db9a4,0x490)},{'capabilities':{'roots':{'listChanged':!![]}}}),await this[_0x5e2526(0x19f,_0x246c1a._0x472092,_0x246c1a._0x1a00ff,0x46e)][_0x366a26(_0x246c1a._0x44b9d4,_0x246c1a._0x535a28,_0x246c1a._0xc0368,_0x246c1a._0x2c0e64)](this['transport']),this['connected']=!![];function _0x366a26(_0x5b8a3e,_0x53f932,_0x33f342,_0x20ecea){return _0x3a64dd(_0x5b8a3e-0x8b,_0x5b8a3e,_0x20ecea-0x9a,_0x20ecea-_0x374d23._0x2223fa);}await this[_0x366a26(0x5a3,_0x246c1a._0x4c72b6,_0x246c1a._0x15dd9e,_0x246c1a._0x5661a4)]();}[_0x3a64dd(0x54e,0x806,0x75d,0x8ce)](){const _0x4ae99f={_0x4d255a:0x5b9,_0x227a41:0x3d3,_0x27e6f7:0x4b7,_0x2bb038:0x813},_0x24c44f={_0x56b266:0x95,_0x1b70bd:0x616};function _0x5046fa(_0x3392b0,_0x2ca48c,_0x838e15,_0x2ddd52){return _0x55e1bc(_0x838e15,_0x2ca48c-_0x24c44f._0x56b266,_0x838e15-0x163,_0x2ddd52- -_0x24c44f._0x1b70bd);}function _0x161f3f(_0x1d809b,_0x4e997f,_0xe7d33d,_0x30007b){return _0x55e1bc(_0x4e997f,_0x4e997f-0x3e,_0xe7d33d-0x1e2,_0x30007b- -0x17);}return this[_0x161f3f(_0x4ae99f._0x4d255a,0x4ab,_0x4ae99f._0x227a41,_0x4ae99f._0x27e6f7)]&&this[_0x161f3f(0x76d,0x6e0,0xa05,_0x4ae99f._0x2bb038)]!==null;}async['disconnect'](){const _0x416894={_0x243515:0x10,_0x7ec8fb:0x144,_0x40ad6c:0x830,_0x29e17c:0x639,_0x4ec82b:0x566,_0x44750b:0xeb,_0x40e368:0x132,_0x35c797:0x2fd,_0x26e24b:0x10e,_0x528678:0x2fa,_0x5a99bc:0x156,_0x300e7b:0x288,_0x3c5bce:0x1bc,_0x2c375a:0x2ab,_0x9a264b:0x360,_0x293001:0x294,_0x46ee8e:0x6c,_0x550b79:0x5d1,_0x3fbcf5:0x3bd},_0x138697={_0x436070:0x74},_0x44b8b2={_0x40bf62:0x10e,_0x40afdc:0x16e},_0x4b0a9b={_0x15cb6f:0x71,_0x4571d6:0x471};function _0x2cd13e(_0x2176b8,_0x4f5cf5,_0x2ca027,_0x1706f1){return _0x3a64dd(_0x2176b8-_0x4b0a9b._0x15cb6f,_0x2ca027,_0x2176b8- -_0x4b0a9b._0x4571d6,_0x1706f1-0x6f);}function _0xfa5cfb(_0x34b49b,_0x1afa2a,_0x30f871,_0x5d29ee){return _0x55e1bc(_0x34b49b,_0x1afa2a-0x1d7,_0x30f871-_0x44b8b2._0x40bf62,_0x30f871- -_0x44b8b2._0x40afdc);}try{const _0x4b45b9=Promise[_0x2cd13e(_0x416894._0x243515,0x178,0x12a,-_0x416894._0x7ec8fb)]([this[_0xfa5cfb(_0x416894._0x40ad6c,_0x416894._0x29e17c,0x6bc,_0x416894._0x4ec82b)]?.[_0xfa5cfb(_0x416894._0x44750b,_0x416894._0x40e368,_0x416894._0x35c797,0x46e)](),this['transport']?.['close']?.()]),_0x262843=new Promise((_0x26ee53,_0x2235fd)=>{function _0x3e9c3a(_0xc143b4,_0x1b6b6f,_0x350192,_0x312498){return _0xfa5cfb(_0x1b6b6f,_0x1b6b6f-0x176,_0x312498- -_0x138697._0x436070,_0x312498-0x1ce);}setTimeout(()=>_0x2235fd(new Error(_0x3e9c3a(0x672,0x436,0x73a,0x53d))),0x1388);});await Promise['race']([_0x4b45b9,_0x262843]);}catch(_0x37c797){console[_0x2cd13e(_0x416894._0x26e24b,0x17c,_0x416894._0x528678,_0x416894._0x5a99bc)](_0x2cd13e(0x51,_0x416894._0x300e7b,-0xb2,_0x416894._0x3c5bce),_0x37c797);}finally{this[_0xfa5cfb(_0x416894._0x2c375a,0x25c,_0x416894._0x9a264b,0x39d)]=![],this['client']=null,this[_0x2cd13e(_0x416894._0x293001,0x44f,0x3fe,_0x416894._0x46ee8e)]=null,this[_0xfa5cfb(0x4b6,_0x416894._0x550b79,_0x416894._0x3fbcf5,0x192)]=[];}}async[_0x55e1bc(0x561,0x6ad,0x681,0x635)](){const _0x10d3d3={_0x2b3e32:0x7b3,_0x4379db:0x9e6,_0xdaf619:0x8f6,_0xb9c332:0x3bf,_0x2cd82f:0x479,_0x46e26e:0x7cc,_0x319dc8:0x12a,_0x4bed01:0x160,_0x366c01:0x154,_0x583a38:0x48c,_0x4739eb:0x461,_0x123a20:0x280,_0x1553a1:0x567,_0x318c1c:0x37a},_0x480db0={_0x3b0b41:0x31c,_0x1ffece:0x4f2,_0x51f1b7:0x2aa},_0x1e149c={_0x43c67e:0x190,_0xd0acd6:0x196},_0x3cfed3={_0x36c481:0x116,_0x370e0a:0x87},_0x263766={_0x84646:0x171,_0xb2b565:0x3cb};function _0x233ec3(_0x376596,_0x133433,_0x2005a6,_0x31a67f){return _0x55e1bc(_0x31a67f,_0x133433-0x140,_0x2005a6-_0x263766._0x84646,_0x133433- -_0x263766._0xb2b565);}if(!this[_0x233ec3(0x3ae,0x45f,0x5cf,0x5ce)])throw new Error(_0x5a0f24(_0x10d3d3._0x2b3e32,0x5f8,_0x10d3d3._0x4379db,_0x10d3d3._0xdaf619));function _0x5a0f24(_0x479d04,_0x372f32,_0x180e1d,_0x10a80c){return _0x3a64dd(_0x479d04-_0x3cfed3._0x36c481,_0x180e1d,_0x479d04-0x84,_0x10a80c-_0x3cfed3._0x370e0a);}const _0x3a7241={'method':_0x5a0f24(_0x10d3d3._0xb9c332,0x2c6,0x38f,_0x10d3d3._0x2cd82f),'params':{}},_0x2641dd=this[_0x5a0f24(0x772,_0x10d3d3._0x46e26e,0x65a,0x7f5)][_0x233ec3(0x417,0x25d,0x349,0x3c8)](_0x3a7241,ListToolsResultSchema),_0x394fab=new Promise((_0x34087a,_0x56fcea)=>{function _0x5982fd(_0x4b9901,_0x3b7b2f,_0x3d8548,_0x1f996b){return _0x5a0f24(_0x3d8548- -_0x1e149c._0x43c67e,_0x3b7b2f-0x3d,_0x4b9901,_0x1f996b-_0x1e149c._0xd0acd6);}setTimeout(()=>_0x56fcea(new Error('MCP\x20tools\x20list\x20request\x20timed\x20out\x20after\x20'+this['timeoutMs']+'ms')),this[_0x5982fd(_0x480db0._0x3b0b41,_0x480db0._0x1ffece,0x474,_0x480db0._0x51f1b7)]);}),_0x3e7fd2=await Promise['race']([_0x2641dd,_0x394fab]),_0x48c9ea=(_0x3e7fd2[_0x233ec3(_0x10d3d3._0x319dc8,_0x10d3d3._0x4bed01,_0x10d3d3._0x366c01,0x1c8)]??[])[_0x5a0f24(_0x10d3d3._0x583a38,_0x10d3d3._0x4739eb,_0x10d3d3._0x123a20,_0x10d3d3._0x1553a1)](_0xb79284=>({'name':String(_0xb79284[_0x5a0f24(0x4a4,0x62d,0x2bb,0x681)]),'description':_0xb79284['description'],'inputSchema':_0xb79284[_0x233ec3(0x248,0x11a,-0x55,0xf4)]??{'type':_0x233ec3(0x1ec,0x230,0x455,0x142),'properties':{},'required':[]}}));return this[_0x233ec3(_0x10d3d3._0x318c1c,0x160,0x24,0x1f9)]=_0x48c9ea,_0x48c9ea;}['getTools'](){return this['tools']['slice']();}async[_0x3a64dd(0x7d4,0x8ab,0x76d,0x84c)](_0x2f199f){const _0x148fb1={_0x12e4a1:0x4a0,_0x530fe8:0x47a,_0x3f159a:0x5ab,_0xcf07d:0x4a6,_0x1fe6c9:0xfa,_0x5937e1:0x23,_0x1e5395:0x200,_0x5a87ad:0x10f,_0x3928f5:0x65,_0x102cf9:0x235,_0x2feaaf:0x5f5,_0x22e53b:0x3c4,_0x1f0d0b:0x3dd,_0x41e3b9:0x4d2},_0x22859c={_0x477f33:0x1d8,_0x51b865:0x44d},_0x2e0af2={_0x5e2967:0x358,_0x1b03b0:0x447},_0x30a106={_0xf49543:0x145,_0x1bbde3:0x274};function _0x577af4(_0x2ec436,_0x53c4f5,_0x157e7e,_0x5a64a8){return _0x55e1bc(_0x2ec436,_0x53c4f5-0x3f,_0x157e7e-_0x30a106._0xf49543,_0x5a64a8- -_0x30a106._0x1bbde3);}if(!this[_0x577af4(_0x148fb1._0x12e4a1,0x6f6,_0x148fb1._0x530fe8,0x5b6)])throw new Error('MCP\x20client\x20not\x20connected');const _0x45458d={'method':_0x577af4(0x6eb,_0x148fb1._0x3f159a,0x421,_0x148fb1._0xcf07d),'params':{'name':_0x2f199f[_0x5b788e(_0x148fb1._0x1fe6c9,_0x148fb1._0x5937e1,_0x148fb1._0x1e5395,_0x148fb1._0x5a87ad)],'arguments':_0x2f199f[_0x5b788e(-0x26,-_0x148fb1._0x3928f5,_0x148fb1._0x102cf9,0x156)]??{}}},_0xb52c4f=this[_0x5b788e(_0x148fb1._0x2feaaf,0x288,_0x148fb1._0x22e53b,_0x148fb1._0x1f0d0b)]['request'](_0x45458d,CallToolResultSchema),_0x5c16b7=new Promise((_0x556782,_0x1ed4d6)=>{const _0x4a3085={_0xa841da:0x150},_0x3bdf1a={_0x427994:0x63,_0x22bcc1:0x2b};function _0x6d865d(_0x2a243,_0x3f8af8,_0x5b87b8,_0x271017){return _0x577af4(_0x3f8af8,_0x3f8af8-0xcf,_0x5b87b8-_0x3bdf1a._0x427994,_0x271017- -_0x3bdf1a._0x22bcc1);}function _0x18f07a(_0xdec647,_0x172f25,_0x480e21,_0x1c369f){return _0x577af4(_0x480e21,_0x172f25-0x63,_0x480e21-_0x4a3085._0xa841da,_0xdec647-0xef);}setTimeout(()=>_0x1ed4d6(new Error('MCP\x20tool\x20call\x20timed\x20out\x20after\x20'+this[_0x6d865d(0x5eb,0x353,0x578,0x41d)]+'ms')),this[_0x6d865d(0x52c,_0x2e0af2._0x5e2967,_0x2e0af2._0x1b03b0,0x41d)]);});function _0x5b788e(_0x3d6bc9,_0x5de129,_0xe291be,_0x5b6510){return _0x55e1bc(_0x5de129,_0x5de129-0xe6,_0xe291be-_0x22859c._0x477f33,_0x5b6510- -_0x22859c._0x51b865);}return await Promise[_0x577af4(0x21f,0x3e0,_0x148fb1._0x41e3b9,0x41c)]([_0xb52c4f,_0x5c16b7]);}};function _0x2797(){const _0x41337f=['vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','zwrPDeLUC3rYDwn0Aw9U','w01dufrVB2XqB3j0xsbgywLSzwqGDg8Gy29UDMvYDcbZy2HLBweGzM9Yia','Dg9VBfnJAgvTyxm','DxrTx21LzgL1Bq','yxnZAwDU','zMLSzw5HBwu','DhjHBNnMB3jTvg9VBenOB2LJzq','w3bLBMrPBMDD','xs4kpc9ZExn0zw0TCMvTAw5Kzxi+','EM9Ku2nOzw1HCW','AhjLzG','DMfSAwq','tunqoIa','Bwf4qNL0zxm','zMLSzv9UzxC','y3jLyxrLrMv0y2HgDw5JDgLVBG','Aw52B2nHDgLVBNm','DgHYB3Dmte1fCNjVCG','qwjVCNrLzcbIzwzVCMuGzxHLy3v0Aw9U','BgLUzvrLEhq','t25SEsbZzwfYy2GGD2L0AgLUihrOzxnLigrVBwfPBNm','r29Vz2XLifbYB2DYyw1TywjSzsbtzwfYy2GGrw5NAw5Lig9UBhKGkg5VihnJCMfWAw5Nks4GuMvXDwLYzxmGr09pr0Xfx0ntrv9lrvKGyw5KieDpt0Dmrv9du0vFq1GU','Bwv0CMLJC1bVCNq','B3jJAgvZDhjHDg9Yq29UzMLN','Aw5OzxjPDa','q2fUBM90ihvUCMvNAxn0zxiGzgvMyxvSDcbHz2vUDcaI','sw52ywXPzcbHz2vUDcb0zw1WBgf0ztOGBwLZC2LUzYbZExn0zw1qCM9TChq','yM9KEq','zxjYB3jZ','zxHWB3j0u25HChnOB3q','Aw5qCM9NCMvZCW','zMvHDhvYzxm','Aw5PDgLHBgL6zwq','BNvT','Dg9VBenHBgXZrxHLy3v0zwq','yxv0Ag9YAxPHDgLVBG','Bwf0y2Hqyxr0zxjU','Aw5JCMvTzw50vg9Rzw5Z','C25PChbLDa','BgLUzunVDw50','DgLTzw91Da','zgv0zxjTAw5Lsw5PDgLHDg9Y','u3vIqwDLBNrnzxrYAwnZ','Dg9VBf9Yzxn1Bhq','Cgf0DgvYBG','rxHLy3v0zsbZAgvSBcbJB21Tyw5KCYb3AxrOihrPBwvVDxqGChjVDgvJDgLVBI4Gq2fWDhvYzxmGC3rKB3v0l3n0zgvYCI4Grg9LCYbUB3qGC3vWCg9YDcbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1DcaOzs5NlIWGBNbTigLUAxqSihbUCg0Gy2HHBMDLC2v0lcbPBNrLCMfJDgL2zsbPBNn0ywXSzxjZlcbNAxqGywrKic1Wlcb2Aw0Sig5HBM8PlG','CMvJzw5JEurHExm','zgvMyxvSDfnOzwXS','v29YA2LUzYbKAxjLy3rVCNKU','sw52ywXPzcbYzxf1zxn0oIa','vxnLCI1bz2vUDa','zw5HyMXLuhjVBxb0q2fJAgLUzW','ywXSB3DLza','Ag9TzwrPCG','z2nSAwq','zgvMyxvSDe1VzgvSCW','Dgv4Dc9ODg1S','yM9VBgvHBG','ChjVzMLSzq','zNjVBq','y29Uy2f0','BxrPBwu','Bwf4vg9VBenVBMn1CNjLBMn5','qxnZAxn0yw50twvZC2fNzq','BgXTrMfJDg9YEq','B2XKx3rLEhqGBxvZDcbIzsbHihn0CMLUzY4','t25SEsbYzxr1CM4GCMvZDwX0CYbMCM9TihrOzsbSyxn0ie4Gzgf5CW','zhvYyxrPB25nCW','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','wf9psW','ugfYyw1LDgvYicjMAwXLx3bHDgGIigLZihjLCxvPCMvKlG','yxbPvxjS','iIaTrM9Yy2u','uhjVDMLKzxiGzg9LCYbUB3qGC3vWCg9YDcbNzxrnB2rLBhm','z2L0AhvI','ywnJzxnZ','DhjPBq','vgLTzw91DcbPBIbTCY4GrgvMyxvSDdOGmZaWmdaU','Bwf4qNL0zxniyxjK','CMv0CNKTywz0zxi','ugfYyw1LDgvYicjWyxrOiIbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cIaGic0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqkicaGlsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKkicaGlsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOGicaTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSkicaGlsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcIaGic0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcIaGic0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9UzxmkicaGlsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOGicaTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cIaGic0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcIaGic0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqkicaGlsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cIaGicaGlsbuzxn0CYbHCMuGzMfPBgLUzWOGicaGic0Gsw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBaOGicaGic0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcIaGicaGlsbzB3uGy291BgrUj3qGzMLUzcbUzwnLC3nHCNKGzMLSzxmGB3iGzgvWzw5Kzw5JAwvZcGO0lIaQkLrHC2SGqNjLywTKB3DUkIO6cIaGic0Gq3jLyxrLihnWzwnPzMLJlcbHy3rPB25HyMXLigL0zw1ZcIaGic0GqNjLywSGy29TCgXLEcb0yxnRCYbPBNrVihnTywXSzxiSig1HBMfNzwfIBguGC3rLChmkicaGlsbvC2uGy2XLyxiSigrLC2nYAxb0AxzLihrHC2SGBMfTzxmkcLDOzw4GAw4Gzg91yNqSihvZzsb0AgLZihrVB2WUiejLAw5NihbYB2fJDgL2zsb3AxrOihrHC2SGBwfUywDLBwvUDcbKzw1VBNn0CMf0zxmGyxr0zw50AxzLBMvZCYbHBMqGzw5ZDxjLCYb5B3uGy29TCgXLDguGywXSihjLCxvPCMvTzw50CYbZDwnJzxnZzNvSBhKU','y2XVBMu','zw5ZDxjLqwDLBNrZrgLY','ls1OAwrKzw4','z2v0tw9KzwW','l2nOyxqVy29TCgXLDgLVBNm','Bw9Kzq','BwnWxW','y29UDgv4DfDPBMrVD1vZywDL','y2XPzw50','y29UDMvYC2f0Aw9Uswq','yxbWzw5Kvg9mB2DgAwXL','B3b0CW','CgLK','y2fSBa','zgLYzwn0B3j5','ue9tva','zgvSzwDHDgu','lI4U','CgfYyw1LDgvYCW','y2fSy3vSyxrLtgLUzu51BwjLCNm','ywDLBNq6','BwvKAxvT','AxnbCNjHEq','CMvZB2X2zuXmtq','lsaIkI50CYiGlsbbBgWGvhLWzvnJCMLWDcbMAwXLCYbPBIbJDxjYzw50igrPCMvJDg9YEq','AgLZDg9YEs5QC29U','cMbGya','Ahr0Chm6lY9HCgKUzgvLCgLUzNjHlMnVBs92ms9VCgvUywK','BgLUzuvUzcbTDxn0igjLihbVC2L0AxzL','v3jPDgu','z2v0rgvSyxLgB3jszxnWB25Zzq','DhjHBNnWB3j0','zgf0ytOG','BM93','rMfPBgvKihrVihjLywqGzgLYzwn0B3j5ia','w2nVBxbSzxrLzf0','BM9Zy3jPChq','DgvZDa','ChjVBxb0q2fJAgLUzW','ywrK','z2v0qwDLBNrZrgLY','D3jPDgvrDwv1zq','C2v0','Ahr0Chm6lY9HCgKUBw9VBNnOB3qUywKVDJe','uMvZDwX0Aw5NigzPBguGDg9VigXHCMDLicG','jYbUB3qGzM91BMq','BgLZDa','zxHPC3rZu3LUyW','mJK4ndC1mKD3B1fntW','mJfAtfzmBxC','uhjVz3jHBuzPBgvZkhG4nIK','vg9VBcbHChbYB3zHBcbMywLSzwq','zMjJBgLK','C2fUAxrPEMvgAwXLBMfTzq','BgLUzvn0yxj0','Ahr0Chm6lY9NAxrODwiUy29Tl0j1CM50u3vZAgKVCMLWz3jLCc9YzwXLyxnLCY9KB3DUBg9Hzc8','twf4igrLBgvNyxrPB24GzgvWDgGGzxHJzwvKzwq','zMLUAxnOx3jLyxnVBG','B25fEgHHDxn0zwq','C3vIx2fNzw50x3n0yxj0zwq','AgfZ','B2zMC2v0','BwLTzvr5Cgu','ig1Z','ChvIBgLZAgvKqxq','igj5DgvZks4Gq2fWigLZia','C29YDa','C3rHCNq','zMLSzvbLCNnPC3rLBMnL','BgLTAxq','Bwv0ywrHDge','BwTKAxjtEw5J','ru5pru5u','tunqignSAwvUDcbUB3qGy29UBMvJDgvK','C2X1z2LMEq','s2LTAunmss8WlJu5','BwvTB3j5','z2v0s2v5','zwnOBW','Axnoyu4','zMLUAxnO','DgfY','DMfSDwu','qujpuLrfra','AxnbyNnVBhv0zq','Dw5YzwDPC3rLCG','CMCUzxHL','CMvHzgrPCG','AwzYyw1L','C2HVDwXKswDUB3jL','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','AxnozwDHDgLVBG','ugfYyw1LDgvYicj0yxnRiIbPCYbYzxf1AxjLzcbHBMqGBxvZDcbIzsbHihn0CMLUzW','CMvWzwf0','BM90x2zVDw5K','C2v0t25dAgfUz2u','Dg9VBc1Yzxn1Bhq','BMv3x3rLEhq','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','C3vJy2vZCW','B25Jzq','v2vIrMv0y2G','D2LUmZi','y29TCgXLDgvK','iIaTrgvZDgLUyxrPB25qyxrOici','jYbPCYbUB3qGC3vWCg9YDgvKigzVCIbJAgf0ignVBxbSzxrPB25ZlIbqBgvHC2uGC2vSzwn0igeGzgLMzMvYzw50ig1VzgvSihvZAw5NicCVBw9KzwWNlG','B3jJAgvZDhjHDg9YteXnrMfJDg9YEq','zNvUy3rPB24','D29YA3nWywnLrgLY','BwvZC2fNzv9ZDgfYDgvK','t0zg','yxbWCM92zq','vg9VBcbJywXSihzHBgLKyxrPB24GzMfPBgvKicG','z2v0vg9VBerLzMLUAxrPB25Z','mte3mJC1nZngseDxr0K','igj5DgvZxqO','CMvJzw5JEurHExmGBxvZDcbIzsbWB3nPDgL2zq','y2HHCKnVzgvbDa','zxHPC3rZ','AxndB25Uzwn0zwq','u3vIqwDLBNrdB21WBgv0zwq','DgfZAYbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','uMv0DxjUihrOAxmGBwfUEsbZzwfYy2GGCMvZDwX0CYaOms01mcWGzgvMyxvSDcaXmcK','z2v0qwDLBNrszwDPC3rYEq','CMvTAw5KzxjZ','zgvSDge','Dg1WzgLY','z2XVyL90B29S','Aw1Hz2vFDxjS','z2v0','sfruuca','z2XVyMfSrgLY','Bwf4rgvSyxLnCW','C3rYAw5NAwz5','zw5KC1DPDgG','y2fSBfrVB2W','y2XLyxi','Agv4','Dg9KyxK','zgvSzwDHDgvcywnRz3jVDw5K','Dg9VBf9Uyw1LCW','zgvSzxrL','rMfPBgvKihrVigrLBgv0zsbHz2vUDca','y2fJAgvFy3jLyxrPB25FAw5WDxrFDg9Rzw5Z','zgvMyxvSDfvYBa','DMfSAwrHDgLVBG','Aw1Hz2u','Dg9VBf91C2u','ig1HDgnO','CMLWz3jLCa','BgXT','mJrfBuzxsfy','zw5ZDxjLvMfSAwruB2TLBG','y3jLyxrLq29UDMvYC2f0Aw9Uswq','cIaGicaGievKAxrZigfUigv4Axn0Aw5NigzPBguGyNKGCMvWBgfJAw5Nigv4ywn0ihrLEhqGBwf0y2HLCY4GvgHLigzPBguGBxvZDcbHBhjLywr5igv4Axn0lGOkicaGicaGlsbgAw5KCYb0AguGzMLYC3qGB2nJDxjYzw5JzsbVzIbVBgrFDgv4DcbPBIb0AguGzMLSzqOGicaGicaTifjLCgXHy2vZigL0ihDPDgGGBMv3x3rLEhqkicaGicaGlsbqCMvZzxj2zxmGDgHLigzPBguNCYbSAw5LigvUzgLUzYbZDhLSzsaOteyGB3iGq1jmrIKkcIaGicaGieLnue9svefovdOGB2XKx3rLEhqGBxvZDcbTyxrJAcbLEgfJDgX5lcbPBMnSDwrPBMCGywXSihDOAxrLC3bHy2uSigLUzgvUDgf0Aw9UlcbHBMqGBgLUzsbICMvHA3mUcIaGicaGifrVig1HA2uGysb1BMLXDwuGBwf0y2GSigLUy2X1zguGzw5VDwDOihn1CNjVDw5KAw5NignVBNrLEhqU','yMfZzvvsta','sw52ywXPzcbHz2vUDcb0zw1WBgf0zsbPBIa','Cgf0DgvYBIbPCYbYzxf1AxjLza','iIbPCYbUB3qGyxzHAwXHyMXLlIbbDMfPBgfIBguGDg9VBhm6ia','r3jLCa','rMfPBgvKihrVigzLDgnOig1VzgvSCW','BMv3x3rLEhqGAxmGCMvXDwLYzwq','Aw1Hz2vZ','uMvHC29UAw5Nq2H1BMS','CgXHDgzVCM0','y3DK','Dg90ywXszwfZB25PBMDuB2TLBNm','uhjVzMLSzsbKAxjLy3rVCNKGBM90ihnLDa','rgvSzwDHDguGysb0yxnRihrVigeGC3bLy2LHBgLZDcbHz2vUDcbMB3iGzM9JDxnLzcWGAw5KzxbLBMrLBNqGzxHLy3v0Aw9UlGOkvgHLigfZC2LNBL90yxnRihrVB2WGBgf1BMnOzxmGC3bLy2LHBgL6zwqGywDLBNrZihrOyxqGyxv0B25VBw91C2X5igHHBMrSzsbJB21WBgv4lcbTDwX0As1ZDgvWihrHC2TZlIbfywnOigfNzw50igHHCYbZCgvJAwzPyYbJyxbHyMLSAxrPzxmGyw5KihrVB2XZigf2ywLSywjSzsb0BYbPDc4kcKf2ywLSywjSzsbHz2vUDhm6cNTbr0vovf9msvnuFqOkv2HLBIbot1qGDg8GDxnLihrOAxmGDg9VBdOklsbuBYbYzwfKigeGC3bLy2LMAwmGzMLSzsbWyxrOic0GDxnLigzPBgvFCMvHzcbPBNn0zwfKicHMyxn0zxiPcI0Gvg8GC2vHCMnOigzVCIbHignSyxnZigXPA2uGiMnSyxnZiezVBYiGlsb1C2uGz3jLCf90B29SigLUC3rLywqGkgzHC3rLCIKklsbuBYbZzwfYy2GGD2L0AgLUidiTmYbZCgvJAwzPyYbMAwXLCYaTihvZzsbMAwXLx3jLywqGAw5ZDgvHzcaOzMfZDgvYkqOTiezVCIbZAw1WBguSihnPBMDSzs1ZDgvWihrHC2TZihrOyxqGzg9Uj3qGBMvLzcbZCgvJAwfSAxn0igTUB3DSzwrNzqOkvxnHz2uGBM90zxm6cI0GqwX3yxLZigLUy2X1zguGysbZAg9YDcbKzxnJCMLWDgLVBIaOns0Xmcb3B3jKCYKGC3vTBwfYAxPPBMCGD2HHDcb0AguGywDLBNqGD2LSBcbKBWOTieXHDw5JAcbTDwX0AxbSzsbHz2vUDhmGy29Uy3vYCMvUDgX5igj5ig1HA2LUzYbTDxrPCgXLigfZC2LNBL90yxnRignHBgXZigLUigeGC2LUz2XLig1LC3nHz2uklsbvC2uGCMvZDw1LihbHCMfTzxrLCIb3AxrOigeGC2vZC2LVBIbjrcb0BYbJB250Aw51zsbHihbYzxzPB3vZigfNzw50ihnLC3nPB24GD2L0AcbMDwXSignVBNrLEhqGChjLC2vYDMvKcI0Gu2vZC2LVBIbjrhmGyxjLihjLDhvYBMvKigLUig1LDgfKyxrHlNnLC3nPB25jzcbHzNrLCIbLywnOigLUDM9JyxrPB24klsbxAgvUihrOzsbHz2vUDcbJB21WBgv0zxmSigL0ihjLDhvYBNmGysbYzxn1BhqGDg8GEw91icHUB3qGDMLZAwjSzsb0BYb1C2vYksaTihn1Bw1HCML6zsbPDcbMB3iGDgHLihvZzxiklsbqCM92AwrLignSzwfYlcbKzxrHAwXLzcb0yxnRigrLC2nYAxb0Aw9UCYbZBYbHz2vUDhmGy2fUihDVCMSGyxv0B25VBw91C2X5cI0Gq2XLyxjSEsbZCgvJAwz5ihDOzxrOzxiGEw91igv4CgvJDcbJB2rLihDYAxrPBMCGB3iGANvZDcbYzxnLyxjJAcaOC2vHCMnOlcbYzwfKCYWGD2vIigzLDgnOzxmPcI0GqwDLBNqGB3v0Chv0CYbZAg91BgqGz2vUzxjHBgX5igjLihrYDxn0zwqkcLnLC3nPB24GCMvZDw1WDgLVBJOklsbqyxnZihnLC3nPB25FAwqGzNjVBsbWCMv2Aw91CYbPBNzVy2f0Aw9UihrVihjLC3vTzsbWyxjHBwv0zxiklsbbz2vUDcbJB250Aw51zxmGD2L0AcbMDwXSignVBNzLCNnHDgLVBIbOAxn0B3j5ihbYzxnLCNzLzaOTifvZzwz1BcbMB3iGzM9SBg93lxvWihf1zxn0Aw9UCYbVCIbJB250Aw51Aw5NigLUDgvYCNvWDgvKihDVCMSkcKv4yw1WBgvZig9MihDOzw4Gyw5KigHVDYb0BYb1C2uGyxnZAwDUx3rHC2S6cGO8zxHHBxbSzt4kvxnLCJOGiKKGBMvLzcb0BYbJCMvHDguGysbYzxvZywjSzsbKyxrHihrHyMXLignVBxbVBMvUDcb3AxrOihnVCNrPBMCSigzPBhrLCMLUzYWGyw5KihbHz2LUyxrPB24UiGPbC3nPC3rHBNq6icjjj2XSihvZzsb0AguGy29Kzs1PBNzLC3rPz2f0B3iGywDLBNqGDg8Gyw5HBhL6zsbLEgLZDgLUzYbWyxr0zxjUCYbHBMqGzgvZAwDUigeGy29TChjLAgvUC2L2zsbKyxrHihrHyMXLignVBxbVBMvUDc4IcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiKfUywX5EMuGy29KzwjHC2uGzM9YihrHyMXLignVBxbVBMvUDcbWyxr0zxjUCYbHBMqGzgvZAwDUigeGCMv1C2fIBguGzgf0ysb0ywjSzsb3AxrOihnVCNrPBMCSigzPBhrLCMLUzYWGCgfNAw5HDgLVBIiSigrLC2nYAxb0Aw9UoIaIrgvZAwDUigrHDgeGDgfIBguGy29TCg9Uzw50iIb9kqO8l2v4yw1WBgu+cGO8zxHHBxbSzt4kvxnLCJOGiK15igfWCcbPCYbYzs1Yzw5KzxjPBMCGDg9VigzYzxf1zw50BhKUienHBIb5B3uGAgvSCcbVChrPBwL6zsbPDd8IcKfZC2LZDgfUDdOGiKKNBgWGzgvSzwDHDguGDgHPCYb0BYb0AguGy29Kzs1PBNzLC3rPz2f0B3iGywDLBNqGDg8GDhjHy2uGDgHLihjLBMrLCMLUzYbIzwHHDMLVCIbHBMqGAwrLBNrPzNKGB3b0Aw1PEMf0Aw9Uig9WCg9YDhvUAxrPzxmUiGPJywXSigfZC2LNBL90yxnRkhSGywDLBNq6icjJB2rLlwLUDMvZDgLNyxrVCIiSihrHC2S6icjuCMfJzsbJB21WB25LBNqGCMvUzgvYign5y2XLCYWGAwrLBNrPzNKGDw5UzwnLC3nHCNKGCMuTCMvUzgvYCYWGyw5Kihn1z2DLC3qGBwvTB2L6yxrPB24GC3rYyxrLz2LLCYiSigrLC2nYAxb0Aw9UoIaIqw5HBhL6zsbszwfJDcbYzw5KzxiGCgvYzM9YBwfUy2uIih0PcJWVzxHHBxbSzt4kcJXLEgfTCgXLpGPvC2vYoIaIssbQDxn0igzPBMLZAgvKihDYAxrPBMCGDgHLigXVz2LUigf1DgHLBNrPy2f0Aw9Uigz1BMn0Aw9UlIbdyw4GEw91ihrHA2uGysbSB29RpYikqxnZAxn0yw50oIaIssDSBcb1C2uGDgHLignVzguTC2vJDxjPDhKTyxvKAxrVCIbHz2vUDcb0BYbYzxzPzxCGEw91CIbHDxrOzw50AwnHDgLVBIbJB2rLigzVCIbZzwn1CML0EsbPC3n1zxmGyw5KigjLC3qGChjHy3rPy2vZlIiky2fSBcbHC3nPz25FDgfZAYH7igfNzw50oIaIy29Kzs1Zzwn1CML0Es1HDwrPDg9YiIWGDgfZAZOGiLjLDMLLDYb0AguGyxv0AgvUDgLJyxrPB24GzNvUy3rPB24GzM9YihnLy3vYAxr5ihz1Bg5LCMfIAwXPDgLLCYWGAw5WDxqGDMfSAwrHDgLVBIWGyw5KihnLy3vYzsbJB2rPBMCGChjHy3rPy2vZiIWGzgvZy3jPChrPB246icjtzwn1CML0EsbYzxzPzxCGB2yGyxv0AcbMDw5JDgLVBIiGFsKkpc9LEgfTCgXLpGOkpgv4yw1WBgu+cLvZzxi6icjjj3zLigzPBMLZAgvKigLTCgXLBwvUDgLUzYb0AguGCgf5BwvUDcbWCM9JzxnZAw5NigzLyxr1CMuUiGPbC3nPC3rHBNq6icjmzxqGBwuGAgf2zsb0AguGy29Kzs1Zzwn1CML0Es1HDwrPDg9YihjLDMLLDYb0AgLZigzVCIbZzwn1CML0Esb2DwXUzxjHyMLSAxrPzxmGyMvMB3jLihDLihbYB2nLzwqUiGPJywXSigfZC2LNBL90yxnRkhSGywDLBNq6icjJB2rLlxnLy3vYAxr5lwf1zgL0B3iIlcb0yxnRoIaIqxvKAxqGCgf5BwvUDcbWCM9JzxnZAw5NignVzguGzM9YihnLy3vYAxr5igzSyxDZlcbqq0KGy29TCgXPyw5JzsbPC3n1zxmSigfUzcbLCNjVCIbOyw5KBgLUzYiSigrLC2nYAxb0Aw9UoIaIu2vJDxjPDhKGyxvKAxqGB2yGCgf5BwvUDcbJB2rLiIb9kqO8l2v4yw1WBgu+cGO8zxHHBxbSzt4kvxnLCJOGiKHVDYbKB2vZihrOzsbKyxrHigzSB3CGzNjVBsbbueKGDg8Gzgf0ywjHC2uGAw4GDgHPCYbJB2rLyMfZzt8IcKfZC2LZDgfUDdOGiKKNBgWGBgf1BMnOihrOzsbJB2rLlwLUDMvZDgLNyxrVCIbHz2vUDcb0BYb0CMfJzsb0AguGzgf0ysbMBg93igfYy2HPDgvJDhvYzs4IcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiLrYywnLigrHDgeGzMXVDYbMCM9TiefqssbLBMrWB2LUDhmGDgHYB3vNAcbZzxj2AwnLigXHEwvYCYb0BYbKyxrHyMfZzsWGzg9JDw1LBNqGDgHLigfYy2HPDgvJDhvYzsiSigrLC2nYAxb0Aw9UoIaItwfWiefqssb0BYbKyxrHyMfZzsbMBg93iIb9kqO8l2v4yw1WBgu+cGOkpgv4yw1WBgu+cLvZzxi6icjszxzPzxCGBxKGBMv3igzLyxr1CMuGlsbJAgvJAYbIB3rOihrOzsbJB2rLihf1ywXPDhKGyw5KihnLy3vYAxr5lIikqxnZAxn0yw50oIaIssDSBcbSyxvUy2GGyM90AcbHz2vUDhmGAw4GCgfYywXSzwWGDg8GCMv2Awv3ihLVDxiGy29Kzs4IcKfZC2LZDgfUDdOGw211BhrPCgXLihrVB2WGy2fSBhmGAw4GC2LUz2XLig1LC3nHz2vDcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiLjLDMLLDYbJB2rLihn0CNvJDhvYzsWGCgf0DgvYBNmSigfUzcbIzxn0ihbYywn0AwnLCYbPBIb0AguGBMv3igzLyxr1CMuIlcbKzxnJCMLWDgLVBJOGiKnVzguGCxvHBgL0EsbYzxzPzxCIih0PcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTC2vJDxjPDhKTyxvKAxrVCIiSihrHC2S6icjbDwrPDcb0AguGBMv3igzLyxr1CMuGzM9YihnLy3vYAxr5ihz1Bg5LCMfIAwXPDgLLCYbHBMqGAw5WDxqGDMfSAwrHDgLVBIiSigrLC2nYAxb0Aw9UoIaIu2vJDxjPDhKGyxvKAxqIih0PcKfZC2LZDgfUDdOGqM90AcbYzxn1BhrZihjLDhvYBIb0B2DLDgHLCIWGDgHLBIbZDw1TyxjPEMuGzMLUzgLUz3mGDg8GDxnLCGO8l2v4yw1WBgu+cGO8zxHHBxbSzt4kw1r1CM4Gmv0kvxnLCJOGiKfUywX5EMuGDgHLigf1DgHLBNrPy2f0Aw9UigLTCgXLBwvUDgf0Aw9UiGPbC3nPC3rHBNq6icjjj2XSigHHDMuGDgHLignVzguTAw52zxn0AwDHDg9YihjLDMLLDYb0AguGyxv0AgvUDgLJyxrPB24Gy29Kzs4IcMnHBgWGyxnZAwDUx3rHC2SOEYbHz2vUDdOGiMnVzguTAw52zxn0AwDHDg9YiIWGDgfZAZOGiKfUywX5EMuGyxv0AgvUDgLJyxrPB24GAw1WBgvTzw50yxrPB24SignOzwnRihbHDhrLCM5ZigfUzcbZzwn1CML0EsiSigrLC2nYAxb0Aw9UoIaIqxv0AcbJB2rLihjLDMLLDYiGFsKkqwDLBNqGCMv0DxjUCZOGEYbZDgf0Dxm6icjZDwnJzxnZiIWGCMvZDwX0oIaIlI4UiIWGBwv0ywrHDge6ihSGC2vZC2LVBKLKoIaIy29Kzs1PBNzLC3rPz2f0B3i6ywjJmtiZiIWGlI4Uih0GFqPbC3nPC3rHBNq6ifTtDw1TyxjPEMvZigzPBMrPBMDZihrVihvZzxiSihjLBwvTyMvYCYbZzxnZAw9UswqGzNjVBsbTzxrHzgf0yv0kcLTuDxjUidiGlsbvC2vYigzVBgXVDY11Cf0kvxnLCJOGiKfYzsb0AgvYzsbHBNKGq1nsrIb2DwXUzxjHyMLSAxrPzxmGAw4GDgHHDcbHDxrOignVzgu/iGPbC3nPC3rHBNq6icjmzxqGBwuGy29UDgLUDwuGDgHLigLUDMvZDgLNyxrPB24GD2L0Acb0AguGC2fTzsbJB250zxH0lIiky2fSBcbHC3nPz25FDgfZAYH7igfNzw50oIaIy29Kzs1PBNzLC3rPz2f0B3iIlcbYzxn1Bwu6icjJB2rLlwLUDMvZDgLNyxrVCJPHyMmXmJmIlcb0yxnRoIaIq2HLy2SGC3bLy2LMAwnHBgX5igzVCIbdu1jgihz1Bg5LCMfIAwXPDgLLCYbPBIb0AguGyxv0AgvUDgLJyxrPB24Gy29KzsiSigrLC2nYAxb0Aw9UoIaIq1nsrIbZzwn1CML0EsbJAgvJAYiGFsKkqwDLBNqGy29UDgLUDwvZihDPDgGGzNvSBcbWCMv2Aw91CYbJB250zxH0igfIB3v0ihrOzsbHDxrOigLTCgXLBwvUDgf0Aw9UcJWVzxHHBxbSzt4','BwvZC2fNzxm','y3vYCMvUDenHy2HLzfrVA2vUCW','zM9YBwf0vg9VBhm','CMvMCMvZAefJy2vZC1rVA2vU','C2L6zq','Awrhzw5LCMf0B3i','Cgf0AcbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','DxbKyxrLtwv0ywrHDge','qwDLBNqGzgvSzwDHDgLVBIbPCYbUB3qGywXSB3DLzc4','vg9VBfjLC3vSDa','ChjVBxb0x3rVA2vUC19KzxrHAwXZ','Cgf0Aa','zgvMyxvSDa','mJaYns0Xmc0Wmq','D29YA3nWywnLuM9VDa','Bg9HzgLUz1bYB21PC2u','Ahr0Chm6lY9HCgKUz2L0AhvIlMnVBs9JB3bPBg90x2LUDgvYBMfSl3yYl3rVA2vU','AML0DgvYrMfJDg9Y','y21Kig11C3qGyMuGysbUB24Tzw1WDhKGC3rYAw5N','CM9Szq','khnPDgu6','C2vHCMnOugfYyw1Z','u2HLBgWGy29TBwfUzcb0BYbYDw4U','B25dAgfUz2u','Bwv0CMLJCW','BwfRzuf1DgHizwfKzxjZ','BgLZDenVBNzLCNnHDgLVBNm','y29Kzq','Bwv0Ag9K','zM9VDgvY','CM90yxrLtg9NrMLSzq','y29TCgXLDgLVBLrVA2vUCW','uMf0zsbSAw1PDcbLEgnLzwrLzc4GugXLyxnLihrYEsbHz2fPBIbSyxrLCI4','oIbTAxnZAw5Nig9YigLUDMfSAwqGC3LZDgvTuhjVBxb0','ywX0vgv4Da','yxjJAa','z2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','C2vZC2LVBKLK','BwvZC2fNzq','Dw5RBM93BG','z3jLCf90B29S','Dw5SAw5Ru3LUyW','ChjVBxb0vg9Rzw5Z','yw50AhjVCgLJlwnVBxbHDa','zMLSzq','r09pr0Xfx0ntrv9lrvK','B2zM','BNv2Aw4Ty29Yzs1JBgK','ChjLzML4','r2XVyIbWyxr0zxjUihrVig1HDgnOigzPBgvZicHLlMCUlcaIkI50CYiSicjZCMmVkIOVkI5QCYiSiciQkI8QlNrLC3qUDhmIkq','y29UzMLN','Bg9Nvg9dB25ZB2XL','y2fWDhvYzvn0ywnRvhjHy2u','Dg90ywW','y29UDgvUDcbPCYbYzxf1AxjLza','AwDUB3jL','y29UDgv4Da','su5gtW','rMfPBgvKihrVigDLBMvYyxrLigfNzw50ieLe','ugf0AcbPCYbUB3qGysbKAxjLy3rVCNK6ia','z2v0twv0CMLJCW','vgHLihrLEhqGDg8GCMvWBgfJzsbPDcb3AxrOlIbdyw4GyMuGzw1WDhKGC3rYAw5NihrVigrLBgv0zsb0AguGB2XKx3rLEhqU','BgLUAW','CMvJB3jKuMvXDwvZDe1LDhjPy3m','y2XVC2u','ChjVDMLKzxjoyw1L','yxnPzgu','zgvSzwDHDgLVBKrLChrO','DMfSDwvZ','t3bLCMf0Aw9UigfIB3j0zwqGyMvMB3jLigv4zwn1DgLVBG','ugf0AcbLC2nHCgvZihDVCMTZCgfJzsbYB290oIa','DxnHz2u','zxHLy3v0zvDPDgHszxrYEq','BNvTyMvY','EdG2xZy0lwfWCgXLlwrHCNDPBG','CgfYC2u','Dg9VBhmVBgLZDa','BM90ihn1ChbVCNrLza','rMfPBgvKihrVigXVywqGy29TBwfUzcbMCM9Tia','qxv0Ag9YAxPHDgLVBG','Aw5WDxq','A2LSBgvK','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','y3jSzG','BgfUz18','tMv0D29YA0vYCM9Y','BwLUAw1HEa','yNLWyxnZuMvZDwX0CW','q29WAwXVDc1wAxnPB24TuMvXDwvZDa','Dg9tDhjPBMC','vg9VBcaI','mtjOsgTArei','CMvTB3zL','y29TCgXLDgLVBL90B2TLBNm','vg9VBcbLEgvJDxrPB24GzgvUAwvKigj5ihvZzxi','CMv0CNK6ia','CMLWz3jLCcbMywLSzwq6ia','Dg90ywXFDg9Rzw5Z','ywjVCNrLzcbIEsb1C2vY','zw5VDgzVDw5K','ig5VDcbMB3vUzcbPBIbLEhrYywn0zwqGyxjJAgL2zq','rxHWBgfUyxrPB24GB2yGD2HHDcbJAgfUz2vZigfYzsbIzwLUzYbTywrLigfUzcb3AhKGkguUzY4SicjvCgrHDguGAw1WB3j0ihbHDgGGDg8GDxnLig5LDYbTB2r1BguGC3rYDwn0DxjLiIK','yNvPBgrnyxjRzg93BG','yxbWCM92zv9HBgW','DgLTzw91De1Zig11C3qGyMuGCg9ZAxrPDMu','B2C6DxbKyxrLzf90Aw1L','C2v0rxzLBNrZ','CMvUyw1L','y2fJAgvKx3rVA2vUCW','z2XVyG','y2XVy2S','EMfPlwfUDgHYB3bPyW','zw50CMLLCW','rxHWBgfUyxrPB24GB2yGD2HHDcb0AgLZignVBw1HBMqGD2LSBcbKBYaOzs5NlIWGiKDLDcbNAxqGy29TBwL0igXVzYiP','u2vHCMnOigfIB3j0zwqGyNKGDxnLCG','ChjPB3jPDhK','ywfYy2G2nc1HChbSzs1Kyxj3Aw4','Bw9KzwW','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms03meiTsw5ZDhj1y3q','Dg9KB3mGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','Dg9KB19YzwfK','yxv0AgvUDgLJyxrPB24','Dg9mB2nHBgvtDhjPBMC','C2v0twvTB3j5','rxHWBgfUyxrPB24GB2yGD2HHDcb3zwiGCgfNzsbPCYbIzwLUzYbMzxrJAgvKigfUzcb3AhKGkguUzY4SicjgzxrJAcbKB2n1BwvUDgf0Aw9UihbHz2uGzM9Yiefqssb1C2fNzsbLEgfTCgXLCYiP','z2v0tw9KzwXZ','l2jPBI9IyxnO','C3LTBgLUAW','DgfYigv4DhjHy3rPB24GzMfPBgvKoIa','z2v0t0f1DgG','CMf0zv9SAw1PDa','lsbWyxr0zxjUoIaIve9et3XgsvHnrsiSigLUy2X1zgu6iciQlNrZiIaTiezPBMqGDg9KB3mGAw4GvhLWzvnJCMLWDcbMAwXLCW','zMLYC3q','rMLSzsbWzxjZAxn0zw5JzsbUB3qGy29UzMLNDxjLza','yMfZzurLBgf5txm','B25tDhjLyw1gAw5PC2G','z29Vz2XLlwnZzq','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VDJeVB2f1DgGVDg9Rzw4','lMDPDa','zMvUy2vK','Aw5Uzxi','DgLTzvTKyxrLDgLTzv0','lcaUlI4','y3vZDg9TsgvHzgvYCW','uMv0DxjUCYbLBNrYAwvZihnVCNrLzcbHBhbOywjLDgLJywXSEsbIEsbUyw1LigfZihn0CNvJDhvYzwqGsLnptI4','ywrKrxzLBNrmAxn0zw5LCG','zxjYB3juExbL','CMvHC29UAw5Nx3rVA2vUCW','rMfPBgvKihrVigXVywqGywDLBNrZigzYB20GzMLSzxm6','DhvYBMrVD25tzxj2AwnL','zxHLy3v0zvDPDgHuAw1LB3v0','A2LTAs1SyxrLC3q','y29UDgvUDf9IBg9JA19KzwX0yq','D3jPDgvbDg9TAwm','C3rHDfn5BMm','C3LZDgvT','CMvNAxn0zxi','cLT0CNvUy2f0zwqGyxqG','rMv0y2GGyw5KignVBNzLCNqGDgHPCYb3zwiGCgfNzsbvuKWGDg8GtwfYA2rVD24','B3bLBNjVDxrLCG','Bg93','zMLSzv9WyxrO','y29UBMvJDgvK','z2v0rMLSzw5HBwu','w0rptKvD','u3vIlwfNzw50igv4zwn1DgLVBIbHyM9YDgvKigj5ihvZzxi','y29UBMvJDa','ChjVDMLKzxjZ','wZ0+nY04kcLD','ugfYC2vKiePtt04GBxvZDcbIzsbHBIbVyMPLy3qSig5VDcbHBIbHCNjHEsbVCIbWCMLTAxrPDMu','C2vZC2LVBNm','DhjHBNnMB3jTvg9VBhm','y2zN','uMv0DxjUihjLC3vSDhmGAw4GDgHPCYbSyw5NDwfNzsWGzs5NlIaNzw4NlcaNDMKN','D2fPDezVCLrVB2XbChbYB3zHBa','ls1YzwDLEha','vg9VBcbLEgvJDxrPB24GywjVCNrLzcbIEsb1C2vY','yxbWzw5KtwvZC2fNzxm','zgvMAw5PDgLVBG','yNLWyxnZq2fSBhm','CMvNAw9U','ywn0AxzL','BM9YBwfSAxPL','CMLWz3jLCc0','Dg9qCM92AwrLCK1LC3nHz2vZ','Aw5WDxrty2HLBwe','CMfUzg9Tvvvjra','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','icHZDhjLyw0P','CgfYDhm','Ec1HCgKTA2v5','z2XTltqUnq','Bwf4x3rVA2vUCW','lM1K','u3LZDgvTigLUzM86','CMvTB3zLrxzLBNrmAxn0zw5LCG','o1TExg5DkJ8','C2v0vg9KB3m','z2v0u3rHDgvnyw5Hz2vY','Dgv4Dc9LDMvUDc1ZDhjLyw0','EYjJB250zw50iJOI','EMLWigv4DhjHy3rPB24GzMfPBgvKoIa','CMvJB3jKteXnq2fSBa','CMvSyxrPDMu','mtmWmZuYmefVDKfhvG','CMvXxW','D3jPDgvgAwXL','C2f2zvrVrMLSzq','zw5ZDxjLrgLY','CgvUzgLUzW','zgf0yq','C3rKB3v0','z2v0vg9KB1n0yxrZ','vg9VBenHBgXZ','u0HfteW','y29UzMLNuMvZB2X2zxi','w1rVB2XdywXSq29UDMvYDgvYxsbwywXPzgf0Aw9UihDHCM5PBMDZigzVCIa','zwnVBM5Yzwz1C2vK','C3rYzwfT','BgXTq2fSBenVDw50','uMv0CNKGzxHOyxvZDgvKihDPDgHVDxqGzxjYB3i','C2HVDwXKqNLWyxnZqxbWCM92ywW','AM9PBG','CMfUzg9T','ksbLEgnLzwrLza','C2fMzq','C3LZDgvTuhjVBxb0','yxzHAwXHyMXLqwDLBNrZ','qw4GDw5RBM93BIbLCNjVCIbVy2n1CNjLza','C3r5Bgu','CMvQzwn0','nJKYmJC4oefwDwXsuW','ie9sia','DMfSAwrHDgvuzw1WBgf0zq','ChvZAa','uMv0DxjUihjLC3vSDhmGzNjVBsb0AgLZihjLz2LVBIWGzs5NlIaNvvmNlcaNvK4N','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','yxbWBhLezwzHDwX0CW','Dg9VBenHBgXdB3vUDa','C2HLBgXbCMDZ','Cg9ZAxrPDMu','C3rHDgvnyw5Hz2vY','zw5HyMXLza','ugf0Acb0BYb0AguGDgfYz2v0igzPBguUicj+iIbLEhbHBMrZihrVihrOzsb1C2vYj3mGAg9TzsbKAxjLy3rVCNKUifjLBgf0AxzLihbHDgHZigfYzsbYzxnVBhzLzcb3AxrOAw4GDgHLihDVCMTZCgfJzsbYB290lG','rgLYzwn0B3j5ihrVihnLyxjJAcbPBI4GrgvMyxvSDhmGDg8Gy3vYCMvUDcb3B3jRAw5NigrPCMvJDg9YEs4','y291BNrmAw5LCW','y2fJAgvKsw5WDxruB2TLBNm','BgLZDfjLz2LZDgvYzwruB29SCW','vw5ZDxbWB3j0zwqGCgXHDgzVCM06ia','q3jLyxrLigeGBMv3igzPBguGD2L0Acb0zxH0ignVBNrLBNqUieLnue9svefovdOGvgHLigzPBgvFCgf0AcbTDxn0igjLigfIC29SDxrLlcbUB3qGCMvSyxrPDMu','Ahr0Chm6lY9VCgvUCM91DgvYlMfPl2fWAs92mq','BgfUzW','mYKGtgLZDcbMAwXLCYbPBMnSDwrPBMCGAgLKzgvUig9Uzxm','uhjVz3jHBuzPBgvZ','rwrPDa','Dg9VBhm','zxn0Aw1HDgu','rMLSzsb3CML0DgvUigf0ia','r2L0shvIq29WAwXVDenOyxqVmc4ZmY4X','uMvHzcbJB250zw50CYbVzIb0AgLZigzPBgu','B25szwfZB25PBMDdAhvUAW','qwDLBNrnyw5Hz2vYihjLCxvPCMvZieXmtuzHy3rVCNKGDg8Gy3jLyxrLihn1yI1Hz2vUDhmUifbSzwfZzsbWCM92AwrLigXSBuzHy3rVCNKGAw4Gy29UC3rYDwn0B3iU','ms4WlJa','Bwf0y2HLCW','vxnLCYbYAxbNCMvWigzVCIbMyxn0ignVBNrLBNqGC2vHCMnOlG','yMLU','u2vYDMLJzsb0zw1WB3jHCMLSEsb1BMf2ywLSywjSzs4GugXLyxnLihrYEsbHz2fPBIbSyxrLCI4','C3rKzxjY','zMLSzv9YzwfK','CMv0CNK','zgLZywjSzwq','y29UDMvYC2f0Aw9U','DxrTx3nVDxjJzq','Bwf4rMLSzvnPEMu','u2vHCMnOigzVCIbMAwXLCYbTyxrJAgLUzYbHigDSB2iGCgf0DgvYBI4','rg9Uzq','zMLSzv9WyxrOig11C3qGyMuGysbUB24Tzw1WDhKGC3rYAw5N','s2LTAsbMB3iGq29KAw5N','ntiXoda0y3zUBvPS','Cg9ZDa','BwfW','zw1PDa','rwrPDgvK','u3vIqwDLBNrtDgfYDgvK','rMfPBgvKihrVihbLCNnPC3qGDg9VBcbUyw1LCYb0BYbTzw1VCNK','yxv0BW','Bg9JywW','lsaIC3jJlYOQlYOUANmIic0GqwXSiePtigzPBgvZihvUzgvYihnYyY8','zNjVBuvUDhjPzxm','lNLTBa','mtG1nJfis1vQwMq','te9dquXbufbeqvrb','cI0TlqOk','l2jPBI9YzW','zxzLBNrdywXSyMfJAW','mIKGtgLZDcbVBMX5igrPCMvJDg9YAwvZihDPDgGGBwv0ywrHDge','CgvUzgLUz0fWChjVDMfSCW','qMfZAa','AxneAxjLy3rVCNK','CMvHzezPBgu','C29Tzq','zgLYBMfTzq','y21K','zMfJDg9YEq','BMfTzq','CMvJB3jKuMvXDwvZDenVBxbSzxrL','CMv0CNLHyMXLu3rHDhvZq29Kzxm','yxjYyxK','z2v0rxHWB3nLzfrVB2Xoyw1LCW','zwrPDgvK','zgvSzwDHDgLUz1rVB2XZ','B25vC2fNzq','BM90igzVDw5K','x3DVCMTZCgfJzurPCG','C3rYAw5N','yxr4','zMXVB3i','C3rVCf9YzwfZB24','twf4Aw11BsbUDw1IzxiGB2yGzgLYzwn0B3j5igvUDhjPzxmGDg8GCMv0DxjU','Bwf4x2nVBxbSzxrPB25FDg9Rzw5Z','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GzMLSzsbJB250zw50CY4','sw1Hz2uGyxr0ywnOBwvUDdOG','DgfYlMD6','owqXyZi1mgeTztyXyI00ngq5ltG4zwqTntK0ngqXotyYzJvL','C2v0uhjVzMLSzurPCG','oIbJB250zw50ihjLCxvPCMvK','qwjVCNrLza','C2HHCMvdB250zxH0','zgvUEq','zxbOzw1LCMfS','z2v0s2v5rNjVBuzPBgvUyw1L','sfruucbLCNjVCIa','ls1NBg9I','BNv2Aw4Ty2XPlW','yMfZAf90B29S','Bg9HzefSBa','yNvKz2v0x3rVA2vUCW','y2vPBa','C3rHDgu','twLZC2LUzYbht09htevFq1nfx0TfwsbHBMqVB3iGr09pr0Xfx0ntrv9dwa','CgfYyw1Z','CMvWBgfJzq','Dg9VBenHBgXZ','o2jHC2u2ncW','Dg9Wua','B2XKx3rLEhq','C3rYAxbbBNnP','CMvJB3jKvg9VBenHBgW','CMLWz3jLCc0Xnc4XlJeTEdG2xZy0lxbJlxDPBMrVD3mTBxn2yW','Dg9KB3m','DxnLCI1Hz2vUDa','DgvYBwLUyxrLza','icHuB29SCZOG','zw5ZDxjLsw5PDgLHBgL6zwq','CMvMCMvZAf90B2TLBG','y29UDgvUDc10ExbL','y3vYCMvUDfrVA2vUCW','qwjVCNrfCNjVCG','lIbbDMfPBgfIBgu6ia','C3bSAxq','CNvUBMLUzW','C3rHDhvZvgv4Da','DxbKyxrL','vxbKyxrLzcb0B2rVigXPC3q','B3b0Aw9UCW','yxv0AfrYyw5ZCg9YDa','DxjS','CMvHC29UAw5NrwzMB3j0','zgvJB2rL','zwrPDg9YlxbSDwDPBI12zxjZAw9U','zxzLBNrZ','BgLUzuvUza','w1bFxL1BxhnCu10QpW','C2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','A2LSBa','yxjNDw1LBNrZ','y2HVAwnLCW','BgXTuMvZB2X2zxi','mtyWntq4m2ntwvn6wG','AxrLBxm','l3vZCI9IAw4VCMC','oIb0B29SCYbTDxn0igjLigfUigfYCMf5','DgfZAW','u2vHCMnOigzVCIb3zwiGCgfNzxmGB3iGAw1Hz2vZicHKzwzHDwX0ihDLyIK','AxntEw1IB2XPy0XPBMS','Dg9VBenHBgXjza','C2vHCMnOvhLWzq','Bwf4ugvYq29UDMvYC2f0Aw9U','z2v0vhjHBNnWB3j0','Bg9NuMvXDwvZDa','DgHLBG','AgvHzgvY','z2v0teXn','CNvU','CMvZB2X2zuLUv29YA3nWywnL','DgHYB3DszxnWB25ZzuvYCM9Y','BwvZC2fNzuLK','y29UDgv4DfDPBMrVDW','lMPZB24','ywDLBNqT','lNrTCc4','ywXS','Dhj1zq','rMLSzsb0B28GBgfYz2uGka','Dg9KB193CML0zq','Dg9vChbLCKnHC2u','AgLNAa','ls0TcG','D2HLCMuGCMC','zxHLy3v0zvrVB2XdywXSCW','AxnszxrYEwfIBgvszxnWB25Zzq','Ahr0Ca','C25HChnOB3q','Aw5WDxruB2TLBNm','zM9YyMLKzgvU','iIb0BYbMAwXL','C3vIC3rY','yxjNCW','y3jLyxrLsgfZAa','DxrMoa','l3vZCI9IAw4VC2G','CgvYC2LZDgvUy2u','l21VzgvSCW','z2v0uhjVDMLKzxi','z2v0u25HChnOB3q','D2fZrgvUAwvK','z2v0uMvZCg9UC2vtAxPL','DxvPza','Aw5JBhvKzvvZywDL','uMvXDwvZDcb3yxmGy2fUy2vSBgvK','BgLUzvn0yxj0ig11C3qGyMuGCg9ZAxrPDMu','twLZC2LUzYaNCxvLCNKN','u2vHCMnOihrOzsb3zwiGzM9YihrOAxmGCxvLCNK','C3rHDhvZq29Kzq','z2v0qMfZzvvYBa','ls1NBg9Ipq','y29UBMvJDgLVBIbYzwz1C2vK','C2LNBMfS','Dg9VBf9JAg9Py2u','cGO8C3LZDgvTlxjLBwLUzgvYpGPbz2vUDcbZzxnZAw9UieLeoIaI','DxrMltG','EhH4EhH4EhGTEhH4Ec00EhH4lxL4EhGTEhH4EhH4EhH4EhH4','DgHPBMTPBMC','Bwf4t3v0Chv0','y29UC3rHBNrZ','u0Lhs0Lmta','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','zw51Bq','y2f0ywXVzW','CNvUBMvY','l29WDc9OB21LyNjLDY9IAw4VCMC','u3rYzwfTrMLUAxnO','C3rVCMu','zgvZy3jPChrPB24GBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','y29UDgv4Df9Szw5NDgG','Bg9Nz2vY','ywn0AxzLq29UDMvYC2f0Aw9Uswq','Cg9W','r2XVyMfSigzLDgnOig5VDcbHDMfPBgfIBguGzM9YihrVA2vUigv4y2HHBMDL','vg9Rzw4GCMvMCMvZAcbMywLSzwq','vg9VBefWChjVDMfSuMvXDwLYzwq','iIWIC3rHDhvZiJOI','y3jLyxrLvhjHBNnWB3j0','B2jQzwn0','msKGtgLZDcbHBgWGzMLSzxmGAw4Gy3vYCMvUDcbKAxjLy3rVCNK','ywjVCNrLzcbKDwuGDg8Gy29UBMvJDgLVBIbJBg9ZDxjL','tunqigrPC2nVBM5Ly3qGzxjYB3i6','sw52ywXPzcbJB21Tyw5KihrLBxbSyxrLigLUia','y2fSBeLK','iGPuAgLZihnLC3nPB24Gy2fUigjLihjLC3vTzwqGDxnPBMCGDgHLihjLC3vTzsbWyxjHBwv0zxiGAw4GyxnZAwDUx3rHC2SGAwyGDgHLihvZzxiGAgfZigzVBgXVDY11CcbXDwvZDgLVBNmGywjVDxqGDgHPCYb0B3bPyY4kpc9ZExn0zw0TCMvTAw5Kzxi+','t3bLCMf0Aw9UigfIB3j0zwq','BMv0D29YAW','ywjVCNrLza','ls1MB2XSB3C','DgLTzuLttW','iokaLca','yxbWBgLJyxrPB24VANnVBG','BMv3x3rLEhqGBxvZDcbIzsbHihn0CMLUzY4','Dgv4Da','Dg9ju09tDhjPBMC','y3jLyxrLtwvTB3j5rM9YqwDLBNq','ywnJzxnZvg9Rzw4','cJXZExn0zw0TCMvTAw5Kzxi+cLrOAxmGAxmGBM90igeGCMvZDwX0igzYB20GDgHLihrVB2WGy2fSBc4GvgHLihvZzxiGD2fUDhmGC29TzxrOAw5NigvSC2uUifbSzwfZzsbMB2XSB3CGDgHLihvZzxiNCYbPBNn0CNvJDgLVBI4kre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zgvSzwDHDgLVBLnLCNzPy2vgywn0B3j5','C3rYAwn0vg9VBfzHBgLKyxrPB24','CMv0CNLdB25MAwC','DxjSig11C3qGyMuGysb2ywXPzcbvuKW','qw50AhjVCgLJiefqssbLCNjVCIa','DxbKyxrLq3jLzgvUDgLHBhm','CM91BMq','l3vZCI9SB2nHBc9IAw4VCMC','rw5HyMXLihnHzMuGC2vHCMnOigzPBhrLCMLUzYaOzgvMyxvSDcb0CNvLkq','rM9SzgvYihn0CNvJDhvYztO','Aw1WB3j0u25HChnOB3q','AhLKCMf0zu1LDge','yxnZAwDUvg9VBa','iIbUB3qGzM91BMqGAw4GCMvNAxn0CNKU','zM9YBwf0tg9Nrw50CNK','Aw5KzxG','ktOG','C3vIC3rYAw5N','C2v0twv0CMLJCW','zw5KCg9PBNrZ','x19TzxrHzgf0yv9F','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','Ag9ZDa','AgfUzgXLrxjYB3i','B3b0Aw9UywW','CMvXDwvZDa','B3bLBMfPl2DWDc00BW','zMLSzvbHDgG','Aw5KzxHpzG','DhjHBNnMB3jTtwvZC2fNzxm','Bg9JywXeAxi','yxbWtMfTzq','vg9VBe5VDezVDw5K','zxHWAxjLCW','y2XLyw51Ca','zxHLy09Uy2u','ywjVCNq','oIbPzcbYzxf1AxjLza','CMvMCMvZAfrVB2XZ','ugf0Acb3AgvYzsb0AguGBMv3igzPBguGD2LSBcbIzsbJCMvHDgvK','vg9KBYa','zw5HyMXLzefNzw50CW','CgvYBwLZC2LVBL9Kzw5Pzwq','lNLHBwW','z2v0q29UzMLN','y2fJAgvFy29UDhjVBa','Bwf4rgvWDgG','C2v0q29UDMvYC2f0Aw9U','CgvYBwLZC2LVBG','BwvZC2fNzv9KzwX0yq','DgvTCgXHDgu','C2v0rw5HyMXLzefNzw50CW','CMvHzezPBgvtEw5J','zhLUyw1Py0fWAvvYBa','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','yxnZAxn0yw50x21LC3nHz2u','zMLUza','Dg9Rzw5ZvxnLza','Aw52ywXPzf9PBNb1Da','ywfYy2G2nc11BMTUB3DUlwXPBNv4lwDUDq','lsaIkIOVkI50zxn0lNrZiIaTiefSBcb0zxn0igzPBgvZihjLy3vYC2L2zwX5','rMfPBgvKihrVihnHDMuGywDLBNqGDg8G','BM9Uzq','zxHJAgfUz2vuB2TLBG','BgLTAxrZ','rMLSzsbUB3qGzM91BMq6ia','Ahr0Chm6lY9HCgKUBwLUAw1HEc5PBY9HBNrOCM9WAwmVDJe','ywn0AxzLqwDLBNrZ','zxHLy3v0zvrHC2S','oIbPBNzHBgLKihn0yxr1CW','Dg9VBe5HBwu','zxHWAxjLC19PBG','B2f1DgGTmJaYns0Wnc0YmcXMAw5LlwDYywLUzwqTDg9VBc1ZDhjLyw1PBMCTmJaYns0Wns0Xna','z2XTltqUnW','rMfPBgvKihrVigrLBgvNyxrLihrHC2SU','A2v5CW','C3rYzwfTq29TCgXLDgLVBG','C2HLBgXfEgLZDhm','Aw5FChjVz3jLC3m','B3bLBMfPlwnVBxbHDa','rMv0y2GGywjVCNrLzcbIEsb1C2vY','rMLSzsbWyxr0zxjUigzPBhrLCIaOzs5NlIWGiIOUANmIlcaIkI57DhmSDhn4FsiP','C2fMzvbHCNnL','Ahr0Chm6lY9HCgKUAw5KAxzPzhvHBc5NAxrODwjJB3bPBg90lMnVBq','yxbPs2v5','y2fWywjPBgL0AwvZ','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','DxrTx2nVBNrLBNq','iIbPCYbJDxjYzw50BhKGzgLZywjSzwqUifbSzwfZzsbLBMfIBguGAxqGAw4GDgHLigfNzw50ignVBMzPz3vYyxrPB24U','z2XVyMfS','Dg9VBf9JywXSx2LK','y29UDgvUDa','B3jJAgvZDhjHDg9Yq29UzMLNuMvZB2X2zxi','y291BNq','y29UBMvJDgLVBIb0Aw1LzcbVDxq','oIbTAxnZAw5NigrLC2nYAxb0Aw9U','yMfZzvvYBa','vvjmihbHCMfTzxrLCIbPCYbYzxf1AxjLza','Dg9Rzw4','Bwf4uMv0CMLLCW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','Dg90ywXuB2TLBNm','lu5VuhjVzMLSzq','y3jLyxrLzef0','z2v0q29UDMvYC2f0Aw9U','zMLUAxnOuMvHC29U','ywDLBNrjza','CgvYC2LZDezPBgu','Bwf0y2G','Aw52B2nHDgLVBG','CMvHC29UAw5N','tM8GqvbjigTLEsbVCIbpqxv0AcbJCMvKzw50AwfSCYbWCM92AwrLza','CgvYC2LZDfrVB2Xoyw1LCW','C2nYAxb0','C3rHDa','Dgv4Df9KzwX0yq','C3vIx2fNzw50x2nVBxbSzxrLza','yMfJA2DYB3vUzefNzw50CW','Bg9JyxrPB24','ChjVy2vZC1rVB2XbChbYB3zHBa','z2v0rgLY','zg9TywLUCW','y2fJAgvdCMvHDgLVBKLUChv0vg9Rzw5Z','BgLTAxqGBxvZDcbIzsbWB3nPDgL2zq','qvbjignHBgWGzMfPBgvK','BgvUz3rO','lu5Vtg9NBW','qwjZB2X1DguGCgf0AhmGyxjLig5VDcbHBgXVD2vKlIbqCM92AwrLigeGCgf0AcbYzwXHDgL2zsb0BYb0AguGD29YA3nWywnLihjVB3qU','ywDLBNrszwDPC3rYEq','CMfJzq','yMLYDgH0Aw1L','ww91igfYzsbHBIbLBgL0zsbbssbHz2vUDcbHCMnOAxrLy3qUifLVDxiGAM9IigLZihrVihrYyw5ZBgf0zsb1C2vYihjLCxvPCMvTzw50CYbPBNrVigeGChjLy2LZzsWGCMvSAwfIBguGywDLBNqGC3bLy2LMAwnHDgLVBIbHBMqGzMLUywWGC3LZDgvTihbYB21WDcb0Agf0igrVD25ZDhjLyw0GC3LZDgvTCYbJyw4GDxnLigrPCMvJDgX5lGOkiYmJienVBNrLEhqGEw91ig1HEsbYzwnLAxzLcI0GuhjVAMvJDcbTyxrLCMLHBhmGkguUzY4Sienmqvvers5TzcKSignVzgLUzYbZDgfUzgfYzhmSihbYB2PLy3qGC3rYDwn0DxjLlcbHBMqGy3vZDg9TihjLCxvPCMvTzw50CY4Gsw5OzxjPDcb0AgvZzsbWyxr0zxjUCYbLEhbSAwnPDgX5igLUihLVDxiGzgvZAwDUlGOkiYmJifLVDxiGAgLNAc1SzxzLBcbVyMPLy3rPDMuklsbqCM9KDwnLigeGy29TCgXLDguSihnLBgyTC3vMzMLJAwvUDcbHz2vUDcbZCgvJihrOyxqGAw5JBhvKzxm6igeGy29Uy2LZzsbPzgvUDgLMAwvYlcbHignSzwfYicj3AgvUihrVihvZzsiGzgvZy3jPChrPB24GD2L0AcbLEgfTCgXLCYWGyw5KigeGCM9IDxn0ihn5C3rLBsbWCM9TChqGDgHHDcbNB3zLCM5ZigjLAgf2Aw9YlGOkiYmJie9WzxjHDgLUzYbWCMLUy2LWBgvZicHMB2XSB3CGAw4GB3jKzxiPcJePicOQrxH0CMfJDcbdB3jLieLUDgvUDcOQcIaGic0GswrLBNrPzNKGChvYCg9ZzsWGC2nVCguSihvZzxjZlcbPBNb1DhmSig91Dhb1DhmSihn1y2nLC3mGy3jPDgvYAweSignVBNn0CMfPBNrZlcbHBMqGyw55igLTCgXPy2L0ig5LzwrZlGOGicaTieLMignVzguTCMv2Awv3igLZihjLCxvLC3rLzcWGzgvMyxvSDcbZy29Wzsb0BYaQCMvJzw50BhKGD3jPDhrLBIbVCIbJAgfUz2vKignVzguQihvUBgvZCYb0AguGDxnLCIbLEhbSAwnPDgX5ihjLCxvLC3rZigeGzNvSBc1YzxbVihjLDMLLDY4kmIKGkIPezxnPz24GrxHWzxj0ifbLCNnVBMeQkGOGicaTierLzMLUzsbHigrVBwfPBI1ZCgvJAwzPyYbYB2XLicHLlMCUlcbZzw5PB3iGy29KzsbYzxzPzxDLCIWGqvbjigrVy3mGD3jPDgvYksWGzgvJAxnPB24GC3r5BguSigfUzcbKB21HAw4GAgv1CMLZDgLJCY4kicaGlsbbC3n1BwuGDgHLihjVBguGB2yGysbYzwnVz25PEMvKigrVBwfPBIbLEhbLCNqGD2L0AcbKzwvWig1HC3rLCNKGB2yGCMvSzxzHBNqGy29Uy2vWDhmSig1LDgHVzg9SB2DPzxmSigfUzcbIzxn0ihbYywn0AwnLCY4kmYKGkIPezwnVBxbVC2uGDgHLifrHC2SQkGOGicaTieXHEsbVDxqGysbZAg9YDcbWAxbLBgLUzsaOueXbtIdIHPiGrvHfq1vursdIHPiGvKvssuzziokgKIbpvvrqvvqPlIblzwvWihn0zxbZignVBMnYzxrLigfUzcbJAgvJA2XPC3qTzhjPDMvUlGO0ksaQkLnWzwnPzNKGsw5WDxrZlcbuB29SCYWGyw5KiejVDw5KyxjPzxmQkGOGicaTie5HBwuGCMvXDwLYzwqGAw5WDxrZoYbZDgf0zsbHC3n1Bxb0Aw9UCYbPzIbTAxnZAw5NlGOGicaTieXPC3qGywXSB3DLzcb0B29SCYbHBMqGAg93ihrVigLUDM9Rzsb0AgvToYbKzwzPBMuGzMfSBgjHy2SGyMvOyxzPB3iGAwyGDg9VBhmGzMfPBc4kicaGlsbjBMnSDwrLihn0B3aGy29UzgL0Aw9UCYbHBMqGzxnJywXHDgLVBIbYDwXLCYaOD2HLBIb0BYbHC2SGDgHLihvZzxiGzM9YignSyxjPzMLJyxrPB24SihDOzw4GDg8GCMv0DxjUihbHCNrPywWGCMvZDwX0CYKUcJuPicOQuxvHBgL0EsaMifjLBgLHyMLSAxr5kIOkicaGlsbcDwLSzcbPBIbZzwXMlwnOzwnRCZOGCMvXDwLYzw1LBNqGy292zxjHz2uSignVBNn0CMfPBNqGywrOzxjLBMnLlcbMB3jTyxr0Aw5NihzHBgLKyxrPB24UcIaGic0Gv2HLCMuGyxbWBgLJywjSzsWGAw5ZDhj1y3qGDgHLigfNzw50ihrVigDLBMvYyxrLigfUzcb2zxjPzNKGCMvHC29UAw5NigLUDgvYBMfSBhKSihrOzw4GChjLC2vUDcbVBMX5ihrOzsbMAw5HBcWGy29Uy2LZzsbYzxn1BhqUcJyPicOQt3v0Chv0ienVBNrYywn0kIOkicaGlsbezwzPBMuGzxHHy3qGB3v0Chv0igzVCM1HDhmGkhnJAgvTyxmSihnLy3rPB25ZlcbVCIbIDwXSzxqGy2HLy2TSAxn0CYKGC28Gzg93BNn0CMvHBsbJB25ZDw1LCNmGyxjLigrLDgvYBwLUAxn0AwmUcGOJiYmGu3LZDgvTlxbYB21WDcbZDhj1y3r1CMuGEw91ig11C3qGz2vUzxjHDgukcImGuM9SzqPzB3uGyxjLidXLEhbLCNqTCgvYC29Uyt4UifLVDsbVChrPBwL6zsbMB3iGy29YCMvJDg5LC3mSignSyxjPDhKSigfUzcbHzgHLCMvUy2uGDg8GChjVAMvJDcbZDgfUzgfYzhmUcGOJieDVywXZcI0Gpgj1BgXLDcbSAxn0ig9MignVBMnYzxrLigDVywXZpGOkiYbjBNb1Dhmklsa8CMvXDwLYzwqGAw5WDxrZpGOTiefZC3vTChrPB25ZigLMig1PC3nPBMC6idXYDwXLCYb0BYbPBMzLCIbVCIbYzxf1zxn0pGOkiYbqCM9JzxnZcI0GueXbtJOGpgjYAwvMignOzwnRBgLZDd4klsbfwevdvvrfoIa8Bwv0Ag9KCYWGzNjHBwv3B3jRCYWGAgv1CMLZDgLJCZ4klsbwrvjjrLK6idXZzwXMlwnOzwnRCYWGCMvXDwLYzw1LBNqGy292zxjHz2uSignVBNn0CMfPBNqGyxvKAxq+cI0Gt1vuufvuoIa8zxHHy3qGC2vJDgLVBNmGlYbZy2HLBwe+cGOJifbVBgLJAwvZicyGqM91BMrHCMLLCWOTiezVBgXVDYbWCM9Qzwn0ignVzgLUzYbZDgfUzgfYzhmGzNjVBsbdtefvreuUBwqGAwyGChjVDMLKzwqUcI0GuMv2Awv3ig9UBhKGCMvJzw50ignOyw5NzxmGDw5SzxnZihrVBgqGB3rOzxj3AxnLlGOTieLMigLUzM9YBwf0Aw9UigLZigLUC3vMzMLJAwvUDcWGyxnRihbYzwnPC2vSEsb0yxjNzxrLzcbXDwvZDgLVBNmGkg1HEcaZksbIzwzVCMuGChjVy2vLzgLUzZSGB3rOzxj3AxnLihbYB2nLzwqGD2L0AcbJBgvHCMX5ihn0yxrLzcbHC3n1Bxb0Aw9UCY4klsbtDg9WigfUzcbLC2nHBgf0zsbPzIbZywzLDhKSigXLz2fSlcbVCIbKyxrHlwDVDMvYBMfUy2uGCMLZA3mGyxjLigrLDgvJDgvKlGOkiYbrDwfSAxr5iejHCGOTievUC3vYztOGy29YCMvJDg5LC3mGpIbJB21WBgv0zw5LC3mGpIbZCgvLzc4klsbsDw4GysbMAw5HBcaIu3bLyYbrqsiGy2HLy2TSAxn0igjLzM9YzsbYzxnWB25KAw5NoGOGidePiefSBcb1C2vYihjLCxvPCMvTzw50CYbTyxbWzwqGDg8GC2vJDgLVBNm/cIaGmIKGt3v0Chv0igzVCM1HDcbTyxrJAgvZihrOzsbJB250CMfJDcbLEgfJDgX5pWOGidmPievKz2uGy2fZzxmGywrKCMvZC2vKpWOGidqPiev4yw1WBgvZigLUy2X1zgvKihDOzw4GAgvSCgz1Bd8kcImJiYbxAgf0ihrVihjLDhvYBGPszxr1CM4GysaQkKPtt04GB2jQzwn0kIOGD2L0AcbLEgfJDgX5ihrOzxnLigzPzwXKCZOklsaQkNn5C3rLBvbYB21WDcOQicHsrvfvsvjfrcK6ifrOzsbMAw5HBcbZzwnVBMqTCgvYC29Uihn5C3rLBsbWCM9TChqGyNvPBhqGzNjVBsb0AguGDgvTCgXHDguGywjVDMuUcI0GkIPPzcOQicHVChrPB25HBcK6ieeGA2vIywiTy2fZzsbPzgvUDgLMAwvYicHLlMCUlcaIC2vJDxjPDhKTyxvKAxrVCIiSicjKyxrHlwfUywX5EMvYiIKUieLMig9TAxr0zwqSig9Uzsb3AwXSigjLigf1Dg8Tz2vUzxjHDgvKlGOTicOQBMfTzsOQicHVChrPB25HBcK6ieeGAhvTyw4TCMvHzgfIBguGBMfTzsaOzs5NlIWGiLnLy3vYAxr5ief1zgL0B3iIlcaIrgf0ysbbBMfSExPLCIiPlIbezwzHDwX0CYb0BYaIq3vZDg9TiefNzw50iI4klsaQkMrLC2nYAxb0Aw9UkIOGkg9WDgLVBMfSktOGu3rHCNrZihDPDgGGiLvZzsb0AgLZigfNzw50ihDOzw4UlI4IihDPDgGGmISGy29Uy3jLDguGzxHHBxbSzxmGC2HVD2LUzYb0B29SigLUDM9JyxrPB24UierLzMf1BhrZihrVigDLBMvYAwmGzgvZy3jPChrPB24UcI0GkIP0B29SCYOQicHVChrPB25HBcK6iefYCMf5ig9MihrVB2WGBMfTzxmGDgHLigfNzw50ihnOB3vSzcb1C2uUierLzMf1BhrZihrVifSIzMLSzv9YzwfKiIWGiNDLyL9ZzwfYy2GIxs4klsaQkNrLBxbLCMf0DxjLkIOGkg9WDgLVBMfSktOGtNvTyMvYigjLDhDLzw4Gmc0XigzVCIbZyw1WBgLUzY4Gtg93zxiGDMfSDwvZid0GBw9YzsbKzxrLCM1PBMLZDgLJlIbszwnVBw1LBMrLzdOGmc4ZltaUns4klsaQkM1VzgvSkIOGkg9WDgLVBMfSktOGu3bLy2LMAwmGBw9KzwWGDg8GDxnLicHLlMCUlcaIz3b0ltqIlcaIy2XHDwrLltmTC29UBMv0iIKUieLMig9TAxr0zwqSigLUAgvYAxrZigzYB20GCgfYzw50lGOTicOQChjVDMLKzxiQkIaOB3b0Aw9UywWPoIbmte0GChjVDMLKzxiGkguUzY4SicjVCgvUCM91DgvYiIWGiMDPDgH1yIiSicjHBNrOCM9WAwmIks4klsaQkNrVCfaQkIaOB3b0Aw9UywWPoIbuB3aTCcbZyw1WBgLUzYbWyxjHBwv0zxiUifjLy29TBwvUzgvKoIaXlGOTicOQBwf4vg9Rzw5ZkIOGkg9WDgLVBMfSktOGtwf4Aw11Bsb0B2TLBNmGzM9YihjLC3bVBNnLlIbszwnVBw1LBMrLzdOGnJqWmdaGB3iGB21PDhrLzc4klsaQkNrPBwvVDxrnCYOQicHVChrPB25HBcK6ifrPBwvVDxqGAw4GBwLSBgLZzwnVBMrZlIbezwzHDwX0oIaZmdaWmdaGkduGBwLUDxrLCYKUcGOJiYmGrxHHBxbSzxmkcKv4yw1WBguGmtOkEWOGicjPzci6icjZzwn1CML0Es1HDwrPDg9YiIWkicaIBMfTzsi6icjtzwn1CML0EsbbDwrPDg9YiIWkicaIzgvZy3jPChrPB24IoIaIvxnLihrOAxmGywDLBNqGD2HLBIb5B3uGBMvLzcb0BYbWzxjMB3jTigeGC2vJDxjPDhKGyxvKAxqGB24GysbJB2rLyMfZzsbVCIbHChbSAwnHDgLVBI4GrM9Yigv4yw1WBguSihLVDsbTAwDODcbPBNzVA2uGDgHPCYbHz2vUDcb3AgvUihLVDsb3yw50ihrVignOzwnRigzVCIb2DwXUzxjHyMLSAxrPzxmGAw4Gysb3zwiGyxbWBgLJyxrPB24GB3iGD2HLBIb5B3uGBMvLzcb0BYbLBNn1CMuGy29TCgXPyw5Jzsb3AxrOihnLy3vYAxr5igjLC3qGChjHy3rPy2vZlIiScIaGiNn5C3rLBvbYB21WDci6icjzB3uGyxjLigeGC2vJDxjPDhKGyxvKAxrPBMCGC3bLy2LHBgLZDc4Gww91CIbYB2XLigLZihrVigfUywX5EMuGy29KzsbMB3iGC2vJDxjPDhKGDNvSBMvYywjPBgL0AwvZlcbPBMnSDwrPBMCGu1fmigLUAMvJDgLVBIWGwfntlcbdu1jglcbHDxrOzw50AwnHDgLVBIbPC3n1zxmSigfUzcbPBNnLy3vYzsbKzxbLBMrLBMnPzxmUiefWChjVywnOoIaXlIbMAwXLx3jLywqGyw5KigfUywX5EMuGDgHLignVzgvIyxnLihn5C3rLBwf0AwnHBgX5lIaYlIbdAgvJAYbMB3iGy29TBw9Uihz1Bg5LCMfIAwXPDhKGCgf0DgvYBNmUidmUifjLDMLLDYbKzxbLBMrLBMnPzxmGzM9YigTUB3DUienwrxmUidqUifbYB3zPzguGC3bLy2LMAwmSigfJDgLVBMfIBguGCMvTzwrPyxrPB24GC3rLChmUiefSD2f5CYbWCMLVCML0AxPLignYAxrPy2fSihnLy3vYAxr5igLZC3vLCYbHBMqGzxHWBgfPBIb0AguGCg90zw50AwfSigLTCgfJDc4IlaOGicj0B29SCYi6ifSIzMLSzv9YzwfKiIWGiNDLyL9ZzwfYy2GIlcaIyMfZAf90B29SiIWGiMDYzxbFDg9VBcjDlaOGicj0zw1WzxjHDhvYzsi6idaUmWP9cGPfEgfTCgXLidiGkg1PBMLTywWPoGP7cIaGiNn5C3rLBvbYB21WDci6icjzB3uGyxjLigeGAgvSCgz1BcbZCgvJAwfSAxn0igfNzw50ihrOyxqGyxnZAxn0CYb3AxrOigDLBMvYywWGChjVz3jHBw1PBMCGDgfZA3mUifLVDsbJyw4GCMvHzcbMAwXLCYWGC2vHCMnOigzVCIbPBMzVCM1HDgLVBIWGyw5KihbYB3zPzguGy2XLyxiGzxHWBgfUyxrPB25ZlIiScIaGiNrVB2XZiJOGwYjMAwXLx3jLywqIlcaID2vIx3nLyxjJAcjDcN0kcImJiYbjBxbVCNrHBNqGz3vPzgvSAw5LCWOTifvZzsbLEhbSAwnPDcbPBNn0CNvJDgLVBNmGB3zLCIbWCM9OAwjPDgLVBNm7ihnHEsb3Agf0ihrVigrVlGOTifvZzsbMzxCTC2HVDcbLEgfTCgXLCYb3AgvUihrOzxKGy2XHCMLMEsbIzwHHDMLVCI4klsbczsbJB25JAxnLigj1DcbJB21WBgv0zEkaLgv2zxj5igXPBMuGC2HVDwXKigfKzcbLEgvJDxrPB24GDMfSDwuUcI0GswyGy29UC3rYywLUDhmGy29UzMXPy3qSihn0yxrLihrOzsb0CMfKzs1VzMyGyw5KihLVDxiGCMvZB2X1DgLVBI4klsbjBMnSDwrLihnWzwnPzMLJihrVB2WGBMfTzxmGzNjVBsb0AguGyxzHAwXHyMXLihrVB2XZigXPC3qUcI0Gtg93zxiGDgvTCgvYyxr1CMuGkdaUmYKGChjVzhvJzxmGBw9YzsbJB25ZAxn0zw50ihjLC3vSDhmUcGOQkLjLBwvTyMvYoIbszxr1CM4Gt05mwsb0AguGsLnptIbVyMPLy3qGyxmGEw91CIbYzxnWB25Zzs4Grg8GtK9uigLUy2X1zguGyw55igfKzgL0Aw9UywWGDgv4DcbVCIbLEhbSyw5HDgLVBI4QkG','AxnszxrYEwfIBgu','yxbWzw5K','rMfPBgvKihrVigv4zwn1DguGC3bLy2LHBgLZDcbHz2vUDdOG','DgL0Bgu','Dg9VBhnnzw1VCNK','rMfPBgvKihrVigXPC3qGDg9VBhmGzNjVBsbWB3j0oG','CxvLCNKGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Ahr0Chm6lY9HCgKUEI5HAs9HCgKVyw50AhjVCgLJl3yX','zgvMyxvSDefNzw50swrZ','yxr0CG','rxHWBgfUyxrPB24GB2yGD2HHDcbMAwXLigLZigjLAw5NihjLywqGyw5KihDOEsaOzs5NlIWGiLjLywqGCgfJA2fNzs5QC29UihrVignOzwnRigrLCgvUzgvUy2LLCYiP','DgHPBMTPBMDFzgvSDge','Aw5JBhvKzxm','ugfYyw1LDgvYihzHBgLKyxrPB24GzMfPBgvKoIa','z2v0qMfJA2DYB3vUzfjLC3vSDa','BxrPBwvnCW','q29Tu3bLyW','Aw50zwDLCG','vMfSAwrHDgLVBIbMywLSzwq6ia','BNv2Aw4','z2v0qwn0AxzLqwDLBNrdB3vUDa','zgvSzxrLq29UDMvYC2f0Aw9U','vMfSAwrHDgLVBKzHAwXLza','B25uB29Sq2fSBerLBhrH','B2f1DgG','zw5HyMXLq29UC29SzuXVzW','zM9YrwfJAa','CMvHC29UAw5Nx2nODw5R','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2','qwDLBNqGAxmGBwLZC2LUzYbPzgvUDgLMAwvYlG','zwrPDg9YlxzLCNnPB24','yxbWBhLdywnOzunVBNrYB2W','AgvHzgvYC1rVuMvJB3jK','qxv0AgvUDgLJyxrPB24GzMfPBgvKlIbqBgvHC2uGy2HLy2SGEw91CIbbueKGA2v5lG','BwTKAxi','C291CMnL','DhjHBNnMB3jTvxnHz2u','l3bPza','l3vZCI9IAw4VyMfZAa','u0Lhvevstq','D2fYBG','DgLTzw91De1Z','C3rHCNruAw1L','y29UDgvUDf9IBg9JAW','tMv0D29YAYbLCNjVCIbVy2n1CNjLzc4GugXLyxnLihrYEsbHz2fPBI4','cK91Dhb1DcbIzwzVCMuGywjVCNq6cG','DgLTzxn0yw1W','BMv0D29YAYbYzxf1zxn0igzHAwXLza','Aw5JBhvKzuHPzgrLBG','zgvSzwDHDgLUz01LBw9YEq','z2vUzxjHDgvszxf1zxn0swq','yxr0ywnOBwvUDhm','C3rYzwfTx2zPBMLZAa','yxnZAwDUx3rHC2S','Aw50','z2vUzxjHDgvdB21WBgv0Aw9U','ywKTC2rRl2fUDgHYB3bPyY8YlJaUmZaGywKTC2rRl3bYB3zPzgvYlxv0AwXZlZmUmc4XmG','DMvYC2LVBG','ugfYyw1LDgvYicjHz2vUDciGAxmGCMvXDwLYzwqGyw5Kig11C3qGyMuGysbZDhjPBMC','CMvZDw1L','ChjVBxb0','qxnZAxn0yw50','zgvSzwDHDgLVBLnLCNzPy2u','B25uB2TLBLvWzgf0zq','AwrZ','Bg9HzezYB21eAxi','D2vI','CMvHza','CNvSzxm','Cg9YDhm','rMv0y2GGywrKAxrPB25HBcbTzxrHzgf0ysbMCM9TihjLC3vSDcbWywDLCYaOC2XVD2vYkq','igj5DgvZlG','Aw5ZDwzMAwnPzw50x3f1B3rH','Bg9JywXLq29TCgfYzq','Cgf0DgvYBIbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','Bwf4vg9Rzw5Z','yxbWzw5KrMLSzq','z2XTltqUnG','B3rOzxi','A2v5','BMf2','zw5HyMXLzefNzw50C0nVBMzPzW','Bw9VBNnOB3q','CMvZDwX0','y29TBwfUza','AxngAwXL','zwnVBM5YzxnLDa','zNmVChjVBwLZzxm','DhjPBvn0yxj0','BwnFy2LK','Bwf4x2nVBNrLEhrFD2LUzg93x3rVA2vUCW','C2f2zvrVugvYC2LZDgvUy2u','v2LUr2v0','y29ZDf9KzxrHAwXZ','DgvTCerPCG','Aw5WDxrFDg9Rzw5Z','lsbuB2rHEsDZigrHDgu6ia','wc1jBML0Awf0B3i','y3vYCMvUDerLChrO','khn0CMvHBsK','l21LC3nHz2vZ','ugvYBwLZC2LVBKrLBMLLza','Aw5PDa','ywDLBNruExbL','ywDLBNroyw1L','y3jLyxrLuMv0CNLuCMfUC3bVCNq','C3LZDgvTq29UDgv4DfbYB3zPzgvY','BwLU','yw50AhjVCgLJ','DhLWzq','DgvTCgvYyxr1CMu','ChjLDMLVDxnnzxnZywDLCW','C2vUza','zgLZCgXHEv9Uyw1L','zxzLBNrdB2XSzwn0B3jZ','z2v0vg9KB3m','zgvUAwvK','y29ZDa','rMfPBgvKihrVigXVywqGywDLBNqGBwvTB3j5igzYB20G','z2v0qNLqyxjLBNq','C3bSAwnL','AxnV','BwnFzwLK','lIbqBgvHC2uGAw5ZDgfSBcbYAxbNCMvWig1HBNvHBgX5lG','zgvSzwDHDgLUz0nVBMzPzW','lsbqBgf0zM9YBtOG','Dg9VBc1JywXS','zxjYB3i','u2vZC2LVBIbjrcbMCM9TigeGChjLDMLVDxmGywDLBNqGAw52B2nHDgLVBIb0BYbYzxn1BwuUifrOzsbHz2vUDcb3AwXSignVBNrPBNvLihDPDgGGAxrZigz1BgWGChjLDMLVDxmGy29UDgv4DcbWCMvZzxj2zwqU','twf4Aw11BsbKzwXLz2f0Aw9UigrLChrOicG','CM9VDerPCG','ywnJzxnZx3rVA2vU','twvZC2fNzvn0yxj0zwq','odbUBw9JwKu','Dg90ywXdywnOzwruB2TLBNm','Dg9VBhmVy2fSBa','CMvMCMvZAfbYB21PC2u','lMDPDgLNBM9Yzq','zMfPBgvK','ls1NBg9IpseUz2L0lYO','tunqigrPC2nVBM5Ly3qGDgLTzwqGB3v0igfMDgvYiduWmdbTCW','Bg9Hza','BM9UBMvNyxrPDMu','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','Bwf4qNL0zxnezwzHDwX0','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','iIbUB3qGzM91BMqGAw4GCMvNAxn0CNKUief2ywLSywjSzsbHz2vUDhm6ia','r0vu','w1rVB2XdywXSq29UDMvYDgvYxsa','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cLS','AxnezwzHDwX0','vg9VBcaN','yw55','B2XKx3rLEhqGBM90igzVDw5KigLUigzPBguUie1HA2uGC3vYzsbPDcbTyxrJAgvZigv4ywn0BhKGAw5JBhvKAw5NihDOAxrLC3bHy2uUcLnLyxjJAgLUzYbMB3i6ici','CMvMCMvZAa','zhj5x3j1BG','twLUAu1HEc1nmI4X','zw52','DxnLCG','D2HPy2GGCMC','z2v0vg9VBhm','B3bLBMfPl2DWDc00BY1TAw5P','AgfZvMLZAw9Uugf5Bg9Hza','CMvZzxq','yxnZAxn0yw50','ChjVzMLSzurPCG','CMvZB2X2zwq','B3jJAgvZDhjHDg9Yvg9VBhm','Bg9HzefNzw50CW','C3vTBwfYEq','qxzHAwXHyMXLihnWzwnPywXPC3qGywDLBNrZicH1C2uGyxnZAwDUx3rHC2SGDg9VBcb0BYbKzwXLz2f0zsK6','AgLZDg9YEs4','ywDLBNqGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','BhnFDg9VBa','ywDLBNrZrgLY','Dg90ywXuAw1Ltxm','B25szxrYEq','yNvPBgrgDwXSvxjS','CMvHC29UAw5Nx2nVBNrLBNq','CgfNzw1HCa','q3vZDg9TihnWzwnPywXPC3qGywDLBNq','vgLTzw91Da','D3jPDgvgAwXLu3LUyW','ygbGANnVBGO','lsbxB3jRAw5NigrPCMvJDg9YEtOG','Bwv0ywrHDgfnzw1VCNK','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GysbZCgvJAwzPzwqGzgLYzwn0B3j5lG','lsbWyxr0zxjUoIaIzNvUy3rPB24UkMv4Cg9YDciGlsbgAw5Kigv4Cg9YDgvKigz1BMn0Aw9UCW','qwXSia','C3rYDwn0DxjLza','ywXSB3DbyNnVBhv0zq','y3jLyxrLteXn','y2f0y2G','DxrTx3rLCM0','q29TBwfUzcbLEgvJDxrPB24GywjVCNrLzcbIEsb1C2vY','vg9Vig1HBNKGCMvKAxjLy3rZ','iMnVBNrLBNqIig11C3qGyMuGysbZDhjPBMCU','A2LSBfbYB2nLC3nhCM91Ca','y29TCgXLDgLVBL90B2TLBNnFzgv0ywLSCW','tunqigfSCMvHzhKGAw5PDgLHBgL6zwq','DxbKyxrLvg9WAwm','C2HHmJu2','Bg9HzezYB21qzxjZAxn0zw5Jzq','CMvZB2X2zvnHzMvqyxrO','Aw52ywXPzf9HCgLFA2v5','AgfUzgXLvg9VBerLBMLHBa','A2LTAs1RmI10AgLUA2LUzW','zMLSDgvY','ywDLBNq','ChjVBxb0x3rVA2vUCW','zgvZy3jPChrPB24','zw5Oyw5Jzq','u3vIqwDLBNruB29Sq2fSBa','CMLWz3jLCc1KB3DUBg9Hzc0','E0fhru5ux0Xju1r9','zxzLBNrqB3j0','C2STyw50lw9HDxrOlxbSywnLAg9SzgvY','y3jLyxrL','CgfYDgLHBf9QC29U','qwDLBNqGBg9HzgvKigzYB20GCgvYC2LZDgvUy2uGAgfZig5VieLelcbZA2LWCgLUzW','vg9VBcbJywXSia','DgfZA0rLC2nYAxb0Aw9U','Dg9mB3DLCKnHC2u','teXnrxjYB3i','CgLWzq','tM90rM91BMq','DhvYBMrVD24','CMvHzgrPCLn5BMm','CgvYBwLZC2LVBIbKzw5Pzwq','zw5XDwv1zq','yMfKihjLCxvLC3q','C3vIx2fNzw50x21LDhjPy3m','CMf0zsbSAw1PDa','ywDLBNrZ','BMv0D29YA19LCNjVCG','C2v0t3jJAgvZDhjHDg9Y','Dg9VBf9JywXSCW','ww91igfYzsbdBgf1zguGq29KzsWGqw50AhjVCgLJj3mGB2zMAwnPywWGq0XjigzVCIbdBgf1zguU','q3jLyxrLigeGC3bLy2LHBgLZDcbHz2vUDcbJB25MAwD1CMf0Aw9UigjHC2vKig9UihrOAxmGzgvZy3jPChrPB246cGO','C3rHDhvZ','D2vIx2zLDgnO','yxv0Ae1LDgHVzhm','CMvZB2X2zq','y29UDgv4DfDPBMrVD0XPBwL0','qNvYBNrtDxnOAs5YAxbNCMvWlK1tvKnFtwLJCM9ZB2z0lLDPBMDLDc5tB3vYy2vFohDLA3LIm2q4yMj3zq','BwfYA2rVD24','A2LTAq','zMLSzv9LzgL0','qwDLBNqGiG','vw5RBM93BIbLCNjVCG','BgLZDevUywjSzwrbz2vUDhm','yMfJA29MzK11BhrPCgXPzxi','zw5HyMXLzfrVB2XZ','ls1MAwXLCW','ChjVDMLKzxi','ugf0AcbVDxrZAwrLihDVCMTZCgfJzsbYB290oIa','B25dAhvUAW','zgf0ytO','Dg9VBa','vw5RBM93BIbnq1aGDg9VBdOG','C2f2zq','teXnihbYB3zPzgvYig5VDcbZzxq','EdG2xZy0lxvUA25VD24TBgLUDxGTBxvZBa','C3rHCNrZv2L0Aa','ANnVBG','CMvXDwvZDenVDw50','Bw9KzwXZ','yMfZzw5HBwu','zgvLCgLUzNjH','Bwf4rMLSzxm','BxmG','C2v0u2HHCMvKtwvTB3j5','zgLZCgXHEvrLEhq','zgLNzxn0','CMvSzwfZzuXVy2S','C2XPy2u','Ahr0Chm6lY9HCgKUEI5HAs9HCgKVy29KAw5Nl3bHyxmVDJq','z2v0rgvMyxvSDejHC2vvCMW','B3v0Chv0x3rVA2vUCW','Bw9KzwXdB25MAwC','twLUAu1HEcbdB2rPBMCGugXHBG','mJaYmY0WnI0Wmq','Ahr0CeXVz0zPBgu','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','r09pr0Xfx0ntrv9dwa','CxvLCNK','vg9KBW','rgv0ywLSzwqGzgvZy3jPChrPB24GB2yGDgHLihrHC2SGDg8GyMuGCgvYzM9YBwvKigj5ihrOzsbHz2vUDc4','Dg90ywXqCM9TChruB2TLBNm','Bwf4','rxHHBxbSzxm6','zxHLy3v0zq','vg9VBcbLEgvJDxrPB24GD2fZig5VDcbHChbYB3zLzdOG','Dg9VBf9HChbYB3zHBf9Yzxf1AxjLza','BgLUzxm','qMvHCMvYia','zxzLCNK','w2LUx3bYB2DYzxnZxq','lunVBw1HBMq','z2v0qxv0AfrYyw5ZCg9YDa','q29UDMvYC2f0Aw9UieLeignHBM5VDcbIzsbLBxb0Eq','y29TBwfUzcbUB3qGzM91BMq','q2fUBM90ihnHDMuGywDLBNq6ihn5C3rLBvbYB21WDcbPCYbYzxf1AxjLza','C2vHCMnO','y2fJAgvFCMvHzf9PBNb1Df90B2TLBNm','z2v0uMvHzgvY','uMvNDwXHCIbLEhbYzxnZAw9UihbHDhrLCM4GDg8GC2vHCMnOigzVCIbPBIbMAwXLignVBNrLBNrZ','Aw5JBhvKzq','D2vIx3nLyxjJAa','y29UDgv4DeXPBMS','DMfSAwrHDgLVBL9MywLSzwq','AgvHzgvYCW','zgf0zvjLC3rYAwn0','CMvXDwLYzvrVB2XbChbYB3zHBa','t3bLCMf0Aw9UigfIB3j0zwqGzhvYAw5NihjLDhj5igrLBgf5','rMfPBgvKihrVigXVywqGywDLBNrZigzYB20GCgvYC2LZDgvUy2u6'];_0x2797=function(){return _0x41337f;};return _0x2797();}import{jsonSchemaToZod}from'json-zodify';function sanitizeName(_0x364e34){const _0x542999={_0xe266f7:0x180,_0x363334:0x20e,_0x2480fb:0x1f,_0xe31ad5:0x1b7},_0x5bcbdb={_0x54508b:0x55},_0x1a7ceb={_0x195c8c:0x61};function _0x4c1f02(_0x23f8d7,_0x3c450f,_0x12a050,_0x2af661){return _0x3a64dd(_0x23f8d7-_0x1a7ceb._0x195c8c,_0x23f8d7,_0x12a050- -0x5f6,_0x2af661-0x143);}function _0x119d6f(_0x2a44ac,_0x184376,_0xdf6b10,_0x1a17e7){return _0x3a64dd(_0x2a44ac-0x1ea,_0x184376,_0x2a44ac- -0x426,_0x1a17e7-_0x5bcbdb._0x54508b);}return _0x364e34[_0x119d6f(0x1f,-0x184,_0x542999._0xe266f7,-_0x542999._0x363334)](/[^a-zA-Z0-9_]+/g,'_')[_0x119d6f(_0x542999._0x2480fb,-0x108,0x125,-_0x542999._0xe31ad5)](/^_+|_+$/g,'')[_0x119d6f(_0x542999._0x2480fb,-0xad,-0x84,0x7e)](/_{2,}/g,'_');}function toExposedName(_0x2a7ebe,_0x55884c=_0x55e1bc(0xa57,0x9bc,0x65a,0x828)){const _0x3a3c97=sanitizeName(_0x2a7ebe);return''+_0x55884c+_0x3a3c97;}function flattenMcpContent(_0x505dae){const _0xfc6105={_0x2fa495:0x52b,_0x3e1de5:0x4e0,_0xb914da:0x54c,_0x2845a5:0x161,_0x3c39be:0x133,_0x5da392:0x4bb,_0x2e7bbc:0x489,_0x3cc6dd:0x31c,_0x10fa09:0x4a1,_0x233274:0x4ad,_0x48c6b2:0x45d},_0x55e3a4={_0x3b5d01:0xfe,_0x5b7adb:0x11c,_0x4e24c1:0x2ee},_0x5c16d1={_0x38dd7f:0x4d7};if(!_0x505dae||_0x505dae[_0x33f58d(_0xfc6105._0x2fa495,_0xfc6105._0x3e1de5,0x39e,_0xfc6105._0xb914da)]===0x0)return{'type':_0xf32eef(0x30e,_0xfc6105._0x2845a5,-0x83,_0xfc6105._0x3c39be),'value':''};function _0xf32eef(_0x4347c4,_0x9d190f,_0x527aaf,_0x231824){return _0x55e1bc(_0x527aaf,_0x9d190f-0x154,_0x527aaf-0xed,_0x231824- -_0x5c16d1._0x38dd7f);}const _0x25c0bf=_0x505dae['every'](_0x40aa2b=>_0x40aa2b&&_0x40aa2b[_0x33f58d(0x1f1,0x5a2,0x412,0x1cd)]==='text'&&typeof _0x40aa2b[_0xf32eef(0x217,-0xc5,0x281,0x133)]===_0xf32eef(-0x17,0x11e,-0x169,0x8f));if(_0x25c0bf)return{'type':_0x33f58d(_0xfc6105._0x5da392,_0xfc6105._0x2e7bbc,_0xfc6105._0x3cc6dd,0x187),'value':_0x505dae['map'](_0x5723a6=>_0x5723a6[_0x33f58d(0x50a,0x1e5,0x31c,0x1ab)])[_0xf32eef(0x13d,-0x1e,-0x1cc,0x33)]('\x0a')};function _0x33f58d(_0xb0dc8f,_0x232d90,_0x1bda95,_0xaf8dde){return _0x55e1bc(_0xb0dc8f,_0x232d90-_0x55e3a4._0x3b5d01,_0x1bda95-_0x55e3a4._0x5b7adb,_0x1bda95- -_0x55e3a4._0x4e24c1);}return{'type':_0x33f58d(_0xfc6105._0x10fa09,0x3b4,_0xfc6105._0x233274,_0xfc6105._0x48c6b2),'value':_0x505dae};}var MCPToolPort=class{constructor(_0x3d532e,_0x117174){const _0x19a321={_0x2811f1:0x59,_0x26a373:0x507,_0x52472e:0x272,_0x183d3e:0x2c9},_0x2ef58e={_0x592c69:0x126,_0x7537af:0x141,_0x2ff87e:0x724},_0x4474ee={_0x4dcfd1:0x135};this[_0x50e844(0x30d,-_0x19a321._0x2811f1,0x106,-0xa0)]=_0x3d532e;function _0x2f2b76(_0x48ad56,_0x5954e2,_0x27ed84,_0x4a5d91){return _0x3a64dd(_0x48ad56-0x34,_0x4a5d91,_0x27ed84-_0x4474ee._0x4dcfd1,_0x4a5d91-0x118);}function _0x50e844(_0x5594ea,_0x289540,_0x1409e6,_0x578b63){return _0x55e1bc(_0x578b63,_0x289540-_0x2ef58e._0x592c69,_0x1409e6-_0x2ef58e._0x7537af,_0x1409e6- -_0x2ef58e._0x2ff87e);}this[_0x50e844(-_0x19a321._0x26a373,-_0x19a321._0x52472e,-0x2c9,-0x2d7)]=_0x117174?.[_0x50e844(-0x3c2,-0x4b1,-_0x19a321._0x183d3e,-0x108)]??_0x50e844(0x8c,0xc4,0x104,-0x123);}[_0x55e1bc(0x750,0x503,0x712,0x544)]=new Map();[_0x3a64dd(0x5e2,0x481,0x696,0x572)]=new Map();[_0x55e1bc(0x6d6,0x6ac,0x600,0x7d9)]=new Map();[_0x55e1bc(0x597,0x4b6,0x546,0x45b)];async['init'](){const _0x5df082={_0x5b7621:0x77,_0x48fc26:0x107,_0x26030f:0x18f,_0x4b8498:0x45b,_0xeecf0f:0x326,_0x140c5d:0x13f,_0x1e8aa5:0x107,_0x4c52f6:0x15d,_0xee4cc5:0x18,_0x47a8cd:0x38f,_0x45f074:0x8d,_0x20d1a3:0x63,_0x2ff805:0x1c7,_0x5afbfc:0x657,_0x415309:0x4cd,_0x26abbc:0x691,_0x4d7bbb:0x725,_0x105afa:0xa1b,_0x29c86e:0x6f8,_0x2c68c7:0xaa,_0x2785cd:0x1c7,_0x25f507:0x3f8,_0x10ecab:0x11,_0x161899:0x168,_0x1227f2:0xaf,_0x4b1500:0x19b,_0x50687c:0x60b,_0x51ce3e:0x48a,_0x460066:0x191,_0x3f59e3:0x41f,_0x2188a4:0x23e,_0x18f053:0xd1,_0x2601c4:0x1,_0x4d4087:0xaf,_0x719954:0x7d5,_0x386e4d:0x9c8,_0x51670a:0x75a,_0x7d1518:0x72f},_0x274149={_0xe50d38:0x27,_0x3a371f:0x117},_0xb5ea07={_0x5ca78f:0x86};function _0x34be8b(_0x142349,_0x2170c1,_0x438a62,_0x4bdf48){return _0x55e1bc(_0x4bdf48,_0x2170c1-0x65,_0x438a62-_0xb5ea07._0x5ca78f,_0x2170c1- -0x77);}if(!this[_0x34be8b(0x9eb,0x7b3,0x8ae,0x6c4)]['isConnected']())await this[_0x55cdec(-_0x5df082._0x5b7621,0xc6,_0x5df082._0x48fc26,_0x5df082._0x26030f)][_0x34be8b(0x23a,_0x5df082._0x4b8498,0x373,_0x5df082._0xeecf0f)]();const _0x45da14=this[_0x55cdec(0x346,-_0x5df082._0x140c5d,_0x5df082._0x1e8aa5,0x28f)]['getTools']();function _0x55cdec(_0x2d7308,_0x1ab855,_0x4c0606,_0x15cf38){return _0x3a64dd(_0x2d7308-_0x274149._0xe50d38,_0x1ab855,_0x4c0606- -0x5e7,_0x15cf38-_0x274149._0x3a371f);}this['map'][_0x34be8b(0xa10,0x833,0xa38,0x879)](),this[_0x34be8b(0x90e,0x75b,0x640,0x8e6)]['clear'](),this[_0x55cdec(-0xc7,0x77,0xb6,-_0x5df082._0x4c52f6)][_0x55cdec(-_0x5df082._0xee4cc5,_0x5df082._0x47a8cd,0x187,_0x5df082._0x45f074)]();for(const _0x12a84e of _0x45da14){const _0x3ccfda=toExposedName(_0x12a84e[_0x55cdec(_0x5df082._0x20d1a3,-0x100,-_0x5df082._0x2ff805,-0x25d)],this[_0x34be8b(0x28c,0x3e4,0x2ad,0x265)]);this[_0x34be8b(_0x5df082._0x5afbfc,_0x5df082._0x415309,_0x5df082._0x26abbc,0x569)][_0x34be8b(_0x5df082._0x4d7bbb,0x7d5,_0x5df082._0x105afa,_0x5df082._0x29c86e)](_0x3ccfda,_0x12a84e[_0x55cdec(-_0x5df082._0x2c68c7,-0x1c5,-_0x5df082._0x2785cd,-_0x5df082._0x25f507)]),this[_0x55cdec(_0x5df082._0x10ecab,-_0x5df082._0x161899,_0x5df082._0x1227f2,-_0x5df082._0x4b1500)]['set'](_0x12a84e[_0x34be8b(0x575,0x4e5,_0x5df082._0x50687c,_0x5df082._0x51ce3e)],_0x12a84e);if(_0x12a84e[_0x55cdec(-0x87,-_0x5df082._0x460066,-0x23e,-0x440)])try{const _0x4560cf=jsonSchemaToZod(_0x12a84e[_0x55cdec(-0x3b3,-_0x5df082._0x3f59e3,-_0x5df082._0x2188a4,-_0x5df082._0x18f053)]);this[_0x55cdec(0x104,-_0x5df082._0x2601c4,0xb6,_0x5df082._0x4d4087)][_0x34be8b(0x9d8,_0x5df082._0x719954,_0x5df082._0x386e4d,0x9a4)](_0x3ccfda,_0x4560cf);}catch(_0x3e436a){console['warn'](_0x34be8b(0x59f,_0x5df082._0x51670a,0x610,_0x5df082._0x7d1518)+_0x12a84e['name']+':',_0x3e436a);}}}[_0x3a64dd(0x252,0x5a7,0x424,0x251)](){const _0x2da825={_0x3ad28c:0x700,_0x316dfe:0x6b1},_0x1a9fd0={_0x1505ee:0x10c,_0x1ddf03:0x242};function _0x163b65(_0xe1201b,_0x551d43,_0x554553,_0x4b0754){return _0x55e1bc(_0x554553,_0x551d43-_0x1a9fd0._0x1505ee,_0x554553-0xf1,_0x551d43- -_0x1a9fd0._0x1ddf03);}return Array[_0x163b65(_0x2da825._0x3ad28c,0x5c9,0x62a,_0x2da825._0x316dfe)](this['map']['keys']());}[_0x55e1bc(0x9c3,0x666,0xa54,0x893)](_0x3f19cf){const _0x4b5b18={_0x2ad5ba:0x424,_0x3edb9a:0x326,_0x4287b5:0x39d,_0x21b2d8:0x474,_0x1c97dd:0x436,_0x2c6689:0x7ab,_0x3d3d37:0x9ac,_0xa15380:0x8e1,_0x30e7f7:0x876,_0x276ff2:0x6bc,_0x43cceb:0x73e,_0x4ce2ec:0x83c,_0x50ce74:0x3c5,_0x2c79f4:0x192,_0x40b1be:0x4ed,_0x3b97:0x346},_0x2ed3d7={_0x1b8bbb:0x11e,_0xc2d0c8:0x27},_0x27401d={_0x409790:0x1c},_0x5836fb=new Set(_0x3f19cf);function _0x2fbb44(_0xc8d794,_0x7da22a,_0x482e9f,_0x1da0e6){return _0x3a64dd(_0xc8d794-0x140,_0x482e9f,_0xc8d794-_0x27401d._0x409790,_0x1da0e6-0x80);}const _0xefb919=[];for(const [_0x19e3cd,_0x7007bb]of this[_0x2fbb44(_0x4b5b18._0x2ad5ba,0x387,_0x4b5b18._0x3edb9a,_0x4b5b18._0x4287b5)][_0x35201b(_0x4b5b18._0x21b2d8,_0x4b5b18._0x1c97dd,0x448,0x5a5)]()){if(!_0x5836fb['has'](_0x19e3cd))continue;const _0x19a9ed=this[_0x35201b(_0x4b5b18._0x2c6689,0x9e2,_0x4b5b18._0x3d3d37,_0x4b5b18._0xa15380)][_0x35201b(0x87c,_0x4b5b18._0x30e7f7,0x680,0x8a7)](_0x7007bb);if(!_0x19a9ed)continue;_0xefb919['push']({'type':'function','function':{'name':_0x19e3cd,'description':_0x2fbb44(_0x4b5b18._0x276ff2,0x4ea,0x4c5,0x639)+(_0x19a9ed[_0x35201b(_0x4b5b18._0x43cceb,0x7d5,_0x4b5b18._0x4ce2ec,0x7a6)]||_0x7007bb),'parameters':_0x19a9ed[_0x2fbb44(_0x4b5b18._0x50ce74,_0x4b5b18._0x2c79f4,0x29f,_0x4b5b18._0x40b1be)]??{'type':_0x2fbb44(0x4db,0x612,0x3d7,_0x4b5b18._0x3b97),'properties':{},'required':[]}}});}function _0x35201b(_0x5b60a3,_0x9b13b6,_0x573b7d,_0x17215b){return _0x55e1bc(_0x573b7d,_0x9b13b6-_0x2ed3d7._0x1b8bbb,_0x573b7d-0x17a,_0x5b60a3- -_0x2ed3d7._0xc2d0c8);}return _0xefb919;}async[_0x55e1bc(0x50a,0x67c,0x728,0x5c5)](_0x302856,_0x5bdea6,_0x586251=0x3,_0x5cbe4b){const _0x4b3f95={_0x2f4119:0x30a,_0x2af8b8:0x206,_0x1372ed:0x20,_0x490a93:0x1b2,_0x24ea6f:0x90,_0x454661:0xf5,_0x158aa1:0x110,_0x1612ec:0x629,_0x13f169:0x729,_0x4da475:0x7e9,_0x5d0f54:0x346,_0x117720:0x581,_0x1f8437:0x45c,_0x3e5736:0x6b5,_0x2c5542:0x449,_0x21b64c:0x184,_0x37d897:0x2de,_0x5153ca:0x100,_0x515bcd:0x137,_0x537f09:0xf1,_0x3783fa:0x117,_0xfdae02:0xbe,_0x1e4763:0x16,_0x13789d:0x53b,_0x388bc5:0x724},_0x513c9f={_0x4475ba:0x1e6,_0x133c83:0x20e,_0x4e342f:0x84,_0x12396d:0x2b1,_0x68a5a3:0x63,_0x2e50ed:0x19,_0x219915:0x7c8,_0x56d31f:0x5a4,_0x3d007d:0x643,_0x251678:0x9bc,_0x2e11b9:0x253,_0x499a21:0x6f,_0x560477:0x707,_0x21a37a:0x10b,_0x1629de:0x559,_0x2a9714:0x691,_0x7c8373:0x660,_0x4dd101:0x419,_0x2b7363:0x3d3,_0x448c9d:0x1c9,_0x538f9d:0x79,_0x4b2456:0x3ad,_0xa8f5b:0x221,_0x44f9aa:0x72c,_0x19c0e0:0x2f9,_0x181bee:0x96,_0x21af2d:0x3,_0x7a59c8:0x2b2,_0x4ad230:0x18f,_0x47fc39:0x2d,_0x22ae3e:0x28f,_0x2f617a:0x1d2,_0x45dd5f:0x2e4,_0x5268d9:0x554,_0x47940d:0x756,_0x38751f:0x442,_0x477c13:0x485,_0xb801c2:0x7c9,_0x2281b1:0x87d,_0x40e7e8:0x857,_0x4d5129:0xabb,_0x1772cc:0x721,_0xc88396:0x10b,_0x2759e7:0xc3,_0x1df5b1:0x3ff,_0x5ee87c:0x61b,_0x345ee6:0xed,_0x11519c:0x591,_0x3419f4:0xd8,_0x35dde6:0x16a,_0x4b9f64:0x24c,_0x1d510a:0x502,_0xa04aa1:0x431,_0x5d6638:0x301,_0x510306:0x223,_0x256278:0x226,_0x363306:0x1f6,_0x2d551:0x8a1,_0x17564b:0x778,_0x232ab5:0x866,_0x4ccec3:0x258,_0x507ac3:0xe5,_0x3a3924:0x63,_0xc19ea3:0x6f8,_0x12118e:0x778,_0x34a722:0x72a,_0x413c15:0x22f,_0x388869:0x3,_0x229788:0x1e5,_0x4d7118:0xf8,_0xa2256e:0x7b0,_0x4b415b:0x415,_0x1036e0:0x86c,_0x2325cc:0x712,_0x405ef3:0xa51,_0x35b852:0xab,_0x583cf7:0x1ae,_0x994de1:0x27e,_0x5ac99c:0xfd,_0x294646:0x194,_0x24f22a:0x1f9,_0x7a59ca:0x2ea,_0x3ffaf3:0x138,_0x2b0565:0x106,_0x55a1f6:0x1db},_0x126383={_0x57cfa0:0x62c,_0x4fb0ed:0x1b5,_0x414c35:0xe4},_0xa9f2e9={_0x429130:0x2,_0x1ba78d:0x34a},_0x1ef501={_0xcf8204:0x141};function _0x10381c(_0x3a77fc,_0x3bc635,_0x33910e,_0x3211bd){return _0x55e1bc(_0x3211bd,_0x3bc635-_0x1ef501._0xcf8204,_0x33910e-0x192,_0x3a77fc-0x25);}const _0x360169=[];function _0x53b517(_0x35e34c,_0x2359b9,_0xbcd426,_0x5e450e){return _0x3a64dd(_0x35e34c-_0xa9f2e9._0x429130,_0xbcd426,_0x2359b9- -_0xa9f2e9._0x1ba78d,_0x5e450e-0x105);}const _0x15cae3=[];for(let _0x2a1802=0x0;_0x2a1802<_0x302856[_0x53b517(_0x4b3f95._0x2f4119,_0x4b3f95._0x2af8b8,_0x4b3f95._0x1372ed,0x2cb)];_0x2a1802+=_0x586251)_0x15cae3[_0x53b517(-_0x4b3f95._0x490a93,_0x4b3f95._0x24ea6f,-_0x4b3f95._0x454661,-_0x4b3f95._0x158aa1)](_0x302856['slice'](_0x2a1802,_0x2a1802+_0x586251));for(const _0x36c0b4 of _0x15cae3){if(_0x5cbe4b?.[_0x10381c(_0x4b3f95._0x1612ec,0x700,_0x4b3f95._0x13f169,_0x4b3f95._0x4da475)]){for(const _0x54c0ab of _0x36c0b4){_0x360169[_0x10381c(0x53b,0x3bd,_0x4b3f95._0x5d0f54,0x540)]({'id':_0x54c0ab['id'],'name':_0x54c0ab[_0x10381c(_0x4b3f95._0x117720,_0x4b3f95._0x1f8437,_0x4b3f95._0x3e5736,_0x4b3f95._0x2c5542)],'status':'error','type':_0x53b517(0x0,_0x4b3f95._0x21b64c,0x10,_0x4b3f95._0x37d897),'result':'Tool\x20execution\x20aborted\x20by\x20user'});}continue;}const _0x3d057a=await Promise[_0x53b517(_0x4b3f95._0x5153ca,_0x4b3f95._0x515bcd,0x2ad,_0x4b3f95._0x537f09)](_0x36c0b4[_0x53b517(_0x4b3f95._0x3783fa,_0x4b3f95._0xfdae02,-_0x4b3f95._0x1e4763,0x2c)](async _0x40207b=>{const _0x16b940={_0x45249b:0x122};if(_0x5cbe4b?.[_0x404d62(-_0x513c9f._0x4475ba,-0x3,-_0x513c9f._0x133c83,-0xb3)])return{'id':_0x40207b['id'],'name':_0x40207b['name'],'status':_0x404d62(-_0x513c9f._0x4e342f,0x10b,_0x513c9f._0x12396d,0x1cd),'type':_0x404d62(_0x513c9f._0x68a5a3,0x3,0x175,0x1d8),'result':_0x404d62(-_0x513c9f._0x2e50ed,-0x12b,-0x1b9,0xe1)};function _0x404d62(_0x4d6ad2,_0x31a605,_0x4da156,_0x251aea){return _0x10381c(_0x31a605- -_0x126383._0x57cfa0,_0x31a605-_0x126383._0x4fb0ed,_0x4da156-_0x126383._0x414c35,_0x251aea);}function _0x210dd3(_0x5a0384,_0xd2e70c,_0x1e65a9,_0x2e0fde){return _0x53b517(_0x5a0384-0x1b5,_0x5a0384-0x47e,_0xd2e70c,_0x2e0fde-_0x16b940._0x45249b);}if(_0x40207b[_0x210dd3(_0x513c9f._0x219915,0x63d,_0x513c9f._0x56d31f,_0x513c9f._0x3d007d)]){const _0x591fa2=_0x40207b[_0x210dd3(0x7c8,0x94a,0x721,_0x513c9f._0x251678)]+_0x404d62(0x14b,0x7,_0x513c9f._0x2e11b9,-_0x513c9f._0x499a21);return{'id':_0x40207b['id'],'name':_0x40207b[_0x210dd3(0x554,0x6c8,0x3e0,_0x513c9f._0x560477)],'status':_0x404d62(0x66,_0x513c9f._0x21a37a,0x13a,0x350),'type':'text','result':_0x591fa2,'metadata':{'errorReason':_0x210dd3(_0x513c9f._0x1629de,_0x513c9f._0x2a9714,_0x513c9f._0x7c8373,_0x513c9f._0x4dd101),'editInstruction':_0x40207b[_0x404d62(_0x513c9f._0x2b7363,_0x513c9f._0x448c9d,-_0x513c9f._0x538f9d,_0x513c9f._0x4b2456)]},'durationMs':0x0};}const _0x142595=this[_0x404d62(-0x299,-0xc3,-0x8b,-_0x513c9f._0xa8f5b)][_0x210dd3(0x89b,0x698,0x92c,_0x513c9f._0x44f9aa)](_0x40207b[_0x404d62(-0xd0,-0xab,0x7f,-_0x513c9f._0x19c0e0)]);if(!_0x142595)return{'id':_0x40207b['id'],'name':_0x40207b['name'],'status':_0x404d62(0x1b0,_0x513c9f._0x21a37a,0x333,-_0x513c9f._0x181bee),'type':_0x404d62(0x34,_0x513c9f._0x21af2d,-0x12a,-0x211),'result':_0x404d62(_0x513c9f._0x7a59c8,_0x513c9f._0x4ad230,-_0x513c9f._0x47fc39,_0x513c9f._0x22ae3e)+_0x40207b[_0x210dd3(0x554,0x4a2,0x6ff,0x639)]};const _0x263641=this[_0x404d62(0x10c,_0x513c9f._0x2f617a,_0x513c9f._0x45dd5f,0x14)]['get'](_0x40207b[_0x210dd3(_0x513c9f._0x5268d9,0x517,_0x513c9f._0x47940d,_0x513c9f._0x38751f)]);if(_0x263641){const _0x300ef5=_0x263641,_0x59f337=_0x300ef5[_0x210dd3(0x659,_0x513c9f._0x477c13,_0x513c9f._0xb801c2,0x65e)](_0x40207b[_0x210dd3(0x82c,0x7e1,0x661,0x69e)]||{});if(!_0x59f337[_0x210dd3(_0x513c9f._0x2281b1,_0x513c9f._0x40e7e8,_0x513c9f._0x4d5129,_0x513c9f._0x1772cc)]){const _0x4cc254=_0x59f337[_0x404d62(0x22f,_0x513c9f._0xc88396,0xfd,-0xd7)]['issues'][_0x404d62(-0x222,-_0x513c9f._0x2759e7,-0x1e7,-0x29)](_0x12e515=>_0x12e515['path'][_0x404d62(-0x53,-0xfd,-0xdd,-0x1e8)]('.')+':\x20'+_0x12e515[_0x210dd3(0x8e9,0x75a,0x877,0x8b9)]);return{'id':_0x40207b['id'],'name':_0x40207b[_0x210dd3(0x554,_0x513c9f._0x1df5b1,_0x513c9f._0x5ee87c,0x44c)],'status':_0x404d62(0x1db,0x10b,_0x513c9f._0x345ee6,0xb0),'type':_0x210dd3(0x602,_0x513c9f._0x11519c,0x79f,0x6d3),'result':_0x404d62(-_0x513c9f._0x3419f4,0x99,-_0x513c9f._0x35dde6,_0x513c9f._0x4b9f64)+_0x4cc254[_0x210dd3(_0x513c9f._0x1d510a,_0x513c9f._0xa04aa1,_0x513c9f._0x5d6638,0x6ad)](';\x20'),'metadata':{'errorReason':'validation_failed'},'durationMs':0x0};}}try{const _0x322f7b=await this[_0x404d62(0x3d,_0x513c9f._0x510306,_0x513c9f._0x256278,_0x513c9f._0x363306)][_0x210dd3(_0x513c9f._0x2d551,_0x513c9f._0x17564b,0xa5e,_0x513c9f._0x232ab5)]({'name':_0x142595,'arguments':_0x40207b[_0x404d62(0xe7,0x22d,0x270,_0x513c9f._0x4ccec3)]||{}}),_0x4d9094=flattenMcpContent(_0x322f7b[_0x404d62(_0x513c9f._0x507ac3,_0x513c9f._0x3a3924,-0x1aa,-0xdf)]);return _0x4d9094[_0x210dd3(_0x513c9f._0xc19ea3,_0x513c9f._0x12118e,_0x513c9f._0x34a722,0x90c)]===_0x404d62(-_0x513c9f._0x413c15,_0x513c9f._0x388869,_0x513c9f._0x229788,-_0x513c9f._0x4d7118)?{'id':_0x40207b['id'],'name':_0x40207b['name'],'status':'success','type':_0x210dd3(0x602,_0x513c9f._0xa2256e,0x60b,_0x513c9f._0x4b415b),'result':_0x4d9094[_0x210dd3(_0x513c9f._0x1036e0,_0x513c9f._0x2325cc,0x808,_0x513c9f._0x405ef3)]}:{'id':_0x40207b['id'],'name':_0x40207b[_0x404d62(-0xed,-_0x513c9f._0x35b852,-0x2a4,0x2d)],'status':_0x404d62(_0x513c9f._0x583cf7,_0x513c9f._0x994de1,_0x513c9f._0x5ac99c,0x108),'type':_0x404d62(0x324,_0x513c9f._0x294646,_0x513c9f._0x24f22a,-0x24),'result':_0x4d9094['value']};}catch(_0x1579ce){const _0x3d8a1b=_0x1579ce instanceof Error?_0x1579ce[_0x404d62(0x473,_0x513c9f._0x7a59ca,0x137,0x394)]:String(_0x1579ce);return{'id':_0x40207b['id'],'name':_0x40207b[_0x404d62(-0x1f4,-0xab,0x16f,_0x513c9f._0x3ffaf3)],'status':_0x404d62(0x1eb,_0x513c9f._0x21a37a,0x3b,-_0x513c9f._0x2b0565),'type':_0x404d62(-_0x513c9f._0x55a1f6,_0x513c9f._0x388869,0x12f,-0x1c7),'result':_0x3d8a1b};}}));_0x360169[_0x10381c(_0x4b3f95._0x13789d,0x53f,0x4e5,_0x4b3f95._0x388bc5)](..._0x3d057a);}return _0x360169;}};export{AGENT_CREATOR_SYSTEM_PROMPT,AbortError,AgentEventTypes,AgentFilePersistence,AgentManager,AgentManagerCommandRunner,AgentOrchestrator,AgentRegistry,AnthropicAISDKLLM,BashTool,CommandFilePersistence,CompositeToolPort,ConversationContext,ConversationStore,CoreMCPClient,DEFAULT_RETRY_CONFIG,DefaultAgentStateManager,DefaultDelegationService,DefaultSpecialistAgentFactory,DelegationServiceFactory,ErrorReason,GithubLLM,InMemoryMemory,InMemoryMetadata,InMemoryMetricsPort,JsonFileMemoryPersistence,LLMError,LLMResolver,MCPToolPort,MemoryPortMetadataAdapter,MultiFileMemoryPersistence,NoopMetricsPort,NoopReminders,PersistedMemory,PersistingConsoleEventPort,RetryTransport,RuntimeEnv,SimpleContextBuilder,SimpleCost,SimpleId,SystemClock,ToolRegistry,assignTaskSchema,bashToolSchema,buildAgentCreationPrompt,buildInjectedSystem,canonicalizeTerminalPaste,convertToolCall,convertToolCalls,convertToolCallsWithErrorHandling,createEmptySnapshot,createLLM,deduplicateModels,err,fileEditSchema,fileNewSchema,fileReadSchema,generateFolderTree,getAvailableProviders,getFallbackLimits,getProviderAuthMethods,getProviderDefaultModels,getProviderLabel,globToolSchema,grepToolSchema,isAssignResult,isAssignSuccess,isAssignTaskArgs,isBashResult,isBashSuccess,isBashToolArgs,isError,isFileEditArgs,isFileEditResult,isFileEditSuccess,isFileNewArgs,isFileNewResult,isFileNewSuccess,isFileReadArgs,isFileReadResult,isFileReadSuccess,isGlobArgs,isGlobResult,isGlobSuccess,isGrepArgs,isGrepResult,isGrepSuccess,isJsonResult,isLsArgs,isLsToolResult,isLsToolSuccess,isRetryableError,isRetryableStatusCode,isSuccess,isSuccessJson,isSuccessText,isTextResult,isTodoWriteArgs,isTodoWriteResult,isTodoWriteSuccess,isValidCommandId,isWebFetchArgs,isWebFetchResult,isWebFetchSuccess,isWebSearchArgs,isWebSearchResult,isWebSearchSuccess,lsToolSchema,normalizeModelInfo,normalizeModelLimits,normalizeNewlines,okJson,okText,parseJSON,parseSubAgentToolCallArguments,parseToolArguments,renderTemplate,resolveBackspaces,resolveCarriageReturns,sanitizeCommandId,stripAnsiAndControls,supportsGetModels,todoWriteSchema,toolSchemas,toolValidators,validateToolParams,webFetchSchema,webSearchSchema};