@nuvin/nuvin-core 1.13.1 → 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(_0x53e4da,_0x358dc8){const _0x3cf48c={_0x424951:0x465,_0x4f0a70:0x2fd,_0x38769d:0x3b2,_0x1d991c:0x50f,_0x12baeb:0x5e4,_0x438d9a:0x374,_0x13105c:0x6c7,_0x59f293:0x2d4,_0xba59c8:0x609,_0x34621e:0x461,_0x14ba94:0x38f,_0x134a72:0x507,_0x12ec29:0x1e8,_0xf03405:0x272,_0x3b3131:0x49d,_0x286f9d:0x587,_0x290f8b:0x563,_0x55b382:0x3ff},_0x46e66e=_0x53e4da();function _0x27cecc(_0x4fb6e6,_0xe23be3,_0x360198,_0x3daa7d){return _0x337d(_0xe23be3- -0xa,_0x3daa7d);}function _0x3a7c1b(_0x509342,_0x4dd3b2,_0x229d35,_0x1d2bb8){return _0x337d(_0x1d2bb8-0x13b,_0x229d35);}while(!![]){try{const _0x8a5e1=parseInt(_0x27cecc(_0x3cf48c._0x424951,_0x3cf48c._0x4f0a70,_0x3cf48c._0x38769d,0xd9))/0x1+parseInt(_0x27cecc(_0x3cf48c._0x1d991c,0x3a6,_0x3cf48c._0x12baeb,_0x3cf48c._0x438d9a))/0x2*(parseInt(_0x3a7c1b(0x7f5,0x80e,0x6a3,_0x3cf48c._0x13105c))/0x3)+-parseInt(_0x3a7c1b(_0x3cf48c._0x59f293,0x310,0x3ed,0x420))/0x4+parseInt(_0x27cecc(0x2c9,0x4c5,0x610,_0x3cf48c._0xba59c8))/0x5+parseInt(_0x27cecc(0x505,0x4bf,0x2b9,_0x3cf48c._0x34621e))/0x6+-parseInt(_0x27cecc(0x180,0x2c4,_0x3cf48c._0x14ba94,_0x3cf48c._0x134a72))/0x7*(parseInt(_0x3a7c1b(0x4d,_0x3cf48c._0x12ec29,0xb2,_0x3cf48c._0xf03405))/0x8)+parseInt(_0x3a7c1b(_0x3cf48c._0x3b3131,_0x3cf48c._0x286f9d,0x3f3,0x50a))/0x9*(-parseInt(_0x3a7c1b(0x5ef,_0x3cf48c._0x290f8b,0x2f9,_0x3cf48c._0x55b382))/0xa);if(_0x8a5e1===_0x358dc8)break;else _0x46e66e['push'](_0x46e66e['shift']());}catch(_0x2bd54c){_0x46e66e['push'](_0x46e66e['shift']());}}}(_0x53d7,0x67be5));var ErrorReason=(_0x226192=>{const _0x18c02b={_0xb679ca:0x655,_0x1b5247:0x62a,_0x1b792f:0x5c9,_0x1469b7:0x5aa,_0x2696f9:0x4cd,_0x840768:0x4a0,_0x435314:0x5f0,_0x4f2c04:0x2b4,_0x541bea:0x9,_0xfcffd2:0x214,_0x11c808:0x6be,_0x4cea12:0x64e,_0x49ee55:0x3ef,_0x4e0c13:0x528,_0x31572a:0x36a,_0x1aea2d:0x6d2,_0x1f48af:0x5b3,_0x1d0d73:0x257,_0x5a2fe9:0xcd,_0x44420b:0x8d2,_0x25b6c1:0x77b,_0x2aa40d:0x5d7,_0x183565:0x83f,_0x1878bf:0xe7,_0x57e969:0xdc,_0xdbda8d:0x253,_0x41873b:0x59,_0x1a3c1c:0x247,_0x4624fd:0x18a,_0x449cf7:0x1ac,_0x3415aa:0x319,_0x5ce1bf:0x3e6,_0x404c9e:0x385,_0x625d81:0x348,_0x41dd5c:0x203,_0x249a7b:0x2f7,_0x5ae59e:0x12,_0x4c7e1c:0x1e8,_0x355a78:0x136,_0x4d6a75:0x756,_0x207b89:0x4bd,_0x4c5dcd:0x11f,_0x4f11c3:0x62,_0x5c75a7:0x7d9,_0x4886e6:0x7c0,_0x36b630:0x914,_0x1830ff:0x1d6,_0x484d52:0x136},_0x4d62ce={_0xc3aa30:0x2bc};_0x226192[_0x357e32(_0x18c02b._0xb679ca,0x5a7,0x5ed,_0x18c02b._0x1b5247)]='aborted',_0x226192['Denied']=_0x357e32(0x5d4,_0x18c02b._0x1b792f,_0x18c02b._0x1469b7,_0x18c02b._0x2696f9);function _0x1dc6a1(_0x55f999,_0x3f69f4,_0x4b4e97,_0x48838a){return _0x337d(_0x48838a- -0x26b,_0x55f999);}_0x226192['Edited']=_0x357e32(_0x18c02b._0x840768,_0x18c02b._0x435314,_0x18c02b._0x4f2c04,0x264),_0x226192[_0x1dc6a1(-_0x18c02b._0x541bea,_0x18c02b._0xfcffd2,0x52,0x116)]=_0x357e32(_0x18c02b._0x11c808,0x89d,_0x18c02b._0x4cea12,0x6b4);function _0x357e32(_0x488fd6,_0x573fb4,_0x26919a,_0x8c1113){return _0x337d(_0x488fd6-_0x4d62ce._0xc3aa30,_0x8c1113);}return _0x226192[_0x357e32(_0x18c02b._0x49ee55,_0x18c02b._0x4e0c13,_0x18c02b._0x31572a,0x306)]=_0x357e32(_0x18c02b._0x1aea2d,0x80b,0x65f,_0x18c02b._0x1f48af),_0x226192[_0x1dc6a1(0xe3,-_0x18c02b._0x1d0d73,_0x18c02b._0x5a2fe9,-0x42)]=_0x357e32(0x7a3,_0x18c02b._0x44420b,_0x18c02b._0x25b6c1,_0x18c02b._0x2aa40d),_0x226192['InvalidInput']=_0x357e32(_0x18c02b._0x183565,0x6ba,0x9aa,0x808),_0x226192[_0x1dc6a1(-_0x18c02b._0x1878bf,-_0x18c02b._0x57e969,-_0x18c02b._0xdbda8d,-_0x18c02b._0x41873b)]=_0x1dc6a1(_0x18c02b._0x1a3c1c,_0x18c02b._0x4624fd,0x158,_0x18c02b._0x449cf7),_0x226192[_0x1dc6a1(_0x18c02b._0x3415aa,_0x18c02b._0x5ce1bf,_0x18c02b._0x404c9e,_0x18c02b._0x625d81)]=_0x1dc6a1(0x54,-_0x18c02b._0x41dd5c,-0x114,0x8),_0x226192[_0x1dc6a1(_0x18c02b._0x249a7b,0x2a,-_0x18c02b._0x5ae59e,0x183)]=_0x1dc6a1(-0x255,0xa3,-_0x18c02b._0x4c7e1c,-_0x18c02b._0x355a78),_0x226192[_0x357e32(0x69a,0x85d,_0x18c02b._0x4d6a75,_0x18c02b._0x207b89)]=_0x1dc6a1(-_0x18c02b._0x4c5dcd,0xe0,-0x77,_0x18c02b._0x4f11c3),_0x226192[_0x357e32(_0x18c02b._0x5c75a7,_0x18c02b._0x4886e6,0x80d,_0x18c02b._0x36b630)]=_0x1dc6a1(_0x18c02b._0x1830ff,0x8,0x243,_0x18c02b._0x484d52),_0x226192;})(ErrorReason||{}),MessageRoles={'System':_0xadee61(0x2c8,0x174,0x2ce,0x2ce),'User':_0xadee61(0x220,0x257,0x1c0,0x8e),'Assistant':_0x27e2df(0x31c,0x462,0x2bc,0x52f),'Tool':'tool'},AgentEventTypes={'MessageStarted':'message_started','ToolCalls':_0xadee61(0x44b,0x22d,0x686,0x2fc),'ToolApprovalRequired':_0xadee61(0x442,0x423,0x618,0x66f),'ToolApprovalResponse':_0x27e2df(0xc5,0x25a,0x3de,0x7a),'ToolResult':_0xadee61(0x173,0x23c,0x202,-0x49),'ReasoningChunk':'reasoning_chunk','AssistantChunk':'assistant_chunk','AssistantMessage':_0xadee61(0x30a,0x4e7,0x3eb,0x150),'StreamFinish':_0x27e2df(0x121,0x1a1,-0xd,-0x9f),'Done':_0x27e2df(0x70,0x1e6,0x115,0x2e6),'Error':'error','MCPStderr':_0x27e2df(0x596,0x3ad,0x389,0x431),'SubAgentStarted':_0x27e2df(0x1dd,0x1b6,0x1b1,0x39a),'SubAgentToolCall':_0x27e2df(-0x96,0xd5,0x9d,0x257),'SubAgentToolResult':_0x27e2df(0xb1,0xf2,0xb8,-0xd4),'SubAgentCompleted':_0xadee61(0x2a4,0x274,0x3f5,0x34c),'SubAgentMetrics':_0x27e2df(0x1d4,0x389,0x161,0x23e)};function _0xadee61(_0x5041e2,_0x121331,_0x83ec17,_0x3820bf){const _0x28ee56={_0x45cf33:0x3d};return _0x337d(_0x5041e2- -_0x28ee56._0x45cf33,_0x121331);}var 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{[_0x27e2df(-0xab,0x31,-0x44,-0xb8)](_0x575164,_0x4d33f6){}[_0x27e2df(0x20b,0x360,0x2c2,0x197)](){}[_0xadee61(0x14a,0x32e,0x1db,0x257)](_0x1934de){}[_0x27e2df(0x128,0x356,0x194,0x16e)](_0xe3393f,_0x53a1a2){}[_0x27e2df(0x493,0x255,0x9c,0x95)](){}[_0xadee61(0x555,0x5f9,0x71a,0x559)](){return createEmptySnapshot();}},InMemoryMetricsPort=class{[_0x27e2df(0x1c0,0x238,0x321,0x3b4)]=createEmptySnapshot();[_0x27e2df(0x30a,0x45e,0x3f4,0x2d7)];constructor(_0x120bba){const _0x4c5d56={_0x4acf8f:0x4c2},_0x5bc0b0={_0x518ddf:0x64};function _0x14cf13(_0x164211,_0x4e3d6b,_0x263817,_0x29dcf1){return _0x27e2df(_0x164211-0x84,_0x29dcf1-_0x5bc0b0._0x518ddf,_0x263817-0x11d,_0x263817);}this[_0x14cf13(0x34a,0x584,0x29a,_0x4c5d56._0x4acf8f)]=_0x120bba;}[_0xadee61(0x26d,0x66,0x316,0x2ea)](){const _0x859fcc={_0xf0571a:0x4e3,_0x4bff98:0x63a,_0x37c4aa:0x4e2,_0x588c9a:0x2bd,_0x457da7:0x102,_0x5a3064:0x3c1},_0x53b3b7={_0x555f74:0x120},_0x202068={_0x52d5bb:0x90,_0x243d79:0x1f0,_0x545e24:0xa9};function _0x2f38f7(_0x2959cc,_0x29461b,_0x81ef47,_0x5c5883){return _0xadee61(_0x2959cc- -_0x202068._0x52d5bb,_0x29461b,_0x81ef47-_0x202068._0x243d79,_0x5c5883-_0x202068._0x545e24);}function _0x151585(_0x893107,_0x581d3a,_0x33f8fd,_0x5a9f36){return _0xadee61(_0x893107- -_0x53b3b7._0x555f74,_0x5a9f36,_0x33f8fd-0x5b,_0x5a9f36-0xa9);}this[_0x2f38f7(_0x859fcc._0xf0571a,_0x859fcc._0x4bff98,0x623,_0x859fcc._0x37c4aa)]?.({...this[_0x2f38f7(_0x859fcc._0x588c9a,0x4d1,_0x859fcc._0x457da7,_0x859fcc._0x5a3064)]});}['recordLLMCall'](_0x239ddd,_0x3b13c4){const _0x3d1a8={_0x430fd2:0x24a,_0x1e1e41:0x353,_0x4f9e98:0x211,_0x13dba3:0x3e0,_0x65d253:0x6bc,_0xa1649:0x27d,_0x3741fa:0x25c,_0x10110e:0x35f,_0x324745:0x3c9,_0x3ffcad:0x447,_0x34305a:0x2c4,_0x142b36:0x433,_0x5e6b59:0x3b6,_0x49ed47:0x597,_0x1ea846:0x213,_0x5f593f:0x3f,_0x465571:0x51,_0x25510d:0x3bc,_0x127248:0x231,_0xe39e3f:0x37d,_0x2d129a:0x7fd,_0x2b6291:0x713,_0x564e13:0x7e3,_0x4b465c:0x657,_0x43c893:0x7d4,_0x51691a:0x8b2,_0x5a58b0:0x18a,_0x5cfe00:0x45b,_0x39215e:0x4b0,_0x3275fa:0x757,_0x3e6623:0x748,_0x5d2df3:0x710,_0x3e0874:0x589,_0x329bf4:0x4f9,_0x466f6d:0x2e2,_0x1114ff:0x25d,_0x2217e0:0x4b3,_0x13e188:0x51b,_0xd2e49a:0x8a4,_0x483b9f:0x98b,_0x3aba5d:0x67b,_0x2cdbff:0x55d,_0x2b5cce:0x1de,_0x1db195:0x35a,_0x15f1fa:0x88e,_0x30d60e:0x925,_0x3a9031:0x6c9,_0x510745:0x5f9,_0x2039d1:0x47,_0x170af0:0x16d,_0x44116a:0x522,_0x15eadb:0x49d,_0x35fd6c:0x2b8,_0xbe2995:0x668,_0x58ad33:0x517,_0x5ecd99:0x733,_0x498072:0x7d6},_0x5afd92=_0x239ddd[_0x1c660e(_0x3d1a8._0x430fd2,_0x3d1a8._0x1e1e41,_0x3d1a8._0x4f9e98,_0x3d1a8._0x13dba3)]??0x0,_0x56a2a0=_0x239ddd[_0xbbfe96(0x7f8,0x6a6,0x954,_0x3d1a8._0x65d253)]??0x0,_0x46feee=_0x239ddd[_0x1c660e(_0x3d1a8._0xa1649,0x38c,0x395,0xf1)]??_0x5afd92+_0x56a2a0,_0xa0d8ef=_0x239ddd[_0x1c660e(0x246,_0x3d1a8._0x3741fa,_0x3d1a8._0x10110e,_0x3d1a8._0x324745)]?.['cached_tokens']??0x0,_0x28cbb6=_0x239ddd[_0xbbfe96(0x66f,0x52d,0x808,0x596)]??_0x239ddd['completion_tokens_details']?.[_0xbbfe96(0x66f,0x4b6,_0x3d1a8._0x3ffcad,0x439)]??0x0,_0x2b0884=_0x3b13c4??_0x239ddd[_0x1c660e(_0x3d1a8._0x34305a,_0x3d1a8._0x142b36,0xb8,0x109)]??0x0;this[_0x1c660e(_0x3d1a8._0x5e6b59,_0x3d1a8._0x49ed47,0x4de,0x282)][_0x1c660e(_0x3d1a8._0x1ea846,0x15c,_0x3d1a8._0x5f593f,_0x3d1a8._0x465571)]+=_0x46feee,this[_0x1c660e(_0x3d1a8._0x5e6b59,0x27a,_0x3d1a8._0x25510d,_0x3d1a8._0x127248)]['totalPromptTokens']+=_0x5afd92,this[_0x1c660e(_0x3d1a8._0x5e6b59,0x3aa,_0x3d1a8._0xe39e3f,0x311)][_0xbbfe96(0x8b5,_0x3d1a8._0x2d129a,_0x3d1a8._0x2b6291,_0x3d1a8._0x564e13)]+=_0x56a2a0,this[_0xbbfe96(0x748,_0x3d1a8._0x4b465c,_0x3d1a8._0x43c893,_0x3d1a8._0x51691a)][_0x1c660e(_0x3d1a8._0x5a58b0,0x79,0x398,0x132)]+=_0xa0d8ef,this[_0x1c660e(0x3b6,0x235,_0x3d1a8._0x5cfe00,_0x3d1a8._0x39215e)]['totalReasoningTokens']+=_0x28cbb6,this[_0xbbfe96(0x748,_0x3d1a8._0x3275fa,0x72a,0x8ee)]['totalCost']+=_0x2b0884,this[_0xbbfe96(_0x3d1a8._0x3e6623,_0x3d1a8._0x5d2df3,_0x3d1a8._0x3e0874,0x7bb)]['llmCallCount']+=0x1,this[_0x1c660e(0x3b6,_0x3d1a8._0x329bf4,_0x3d1a8._0x466f6d,_0x3d1a8._0x1114ff)][_0xbbfe96(0x69b,_0x3d1a8._0x2217e0,_0x3d1a8._0x13e188,_0x3d1a8._0xd2e49a)]=_0x46feee,this[_0xbbfe96(0x748,0x648,_0x3d1a8._0x483b9f,_0x3d1a8._0x3aba5d)][_0x1c660e(_0x3d1a8._0x2cdbff,0x45d,0x327,0x551)]=_0x5afd92,this[_0x1c660e(0x3b6,0x515,_0x3d1a8._0x2b5cce,_0x3d1a8._0x1db195)][_0xbbfe96(_0x3d1a8._0x15f1fa,0x673,0x8de,0x8f0)]=_0x56a2a0,this[_0xbbfe96(_0x3d1a8._0x3e6623,0x513,_0x3d1a8._0x30d60e,0x898)][_0xbbfe96(_0x3d1a8._0x3a9031,_0x3d1a8._0x510745,0x8cc,0x7e4)]=_0xa0d8ef;function _0xbbfe96(_0x271aa6,_0x4e3986,_0x2776c5,_0x44f415){return _0xadee61(_0x271aa6-0x3fb,_0x4e3986,_0x2776c5-0xe2,_0x44f415-0x65);}function _0x1c660e(_0x242bff,_0x49689d,_0x1efe7d,_0x250758){return _0x27e2df(_0x242bff-0x103,_0x242bff-0x17e,_0x1efe7d-0x12a,_0x1efe7d);}this['snapshot'][_0x1c660e(0x199,_0x3d1a8._0x2039d1,_0x3d1a8._0x170af0,0x21)]=_0x2b0884,this['snapshot'][_0xbbfe96(_0x3d1a8._0x44116a,0x640,0x447,_0x3d1a8._0x15eadb)]&&_0x5afd92>0x0&&(this['snapshot'][_0x1c660e(0x18c,_0x3d1a8._0x35fd6c,0x138,0x9d)]=_0x5afd92/this['snapshot'][_0x1c660e(0x190,0x39d,0x2ac,-0x34)]),this[_0xbbfe96(_0x3d1a8._0xbe2995,_0x3d1a8._0x58ad33,_0x3d1a8._0x5ecd99,_0x3d1a8._0x498072)]();}[_0x27e2df(0x541,0x360,0x40b,0x247)](){const _0xc9866a={_0x3e5edf:0xa4,_0x3b765d:0x10c,_0xd3e0cd:0x1b},_0x24bec1={_0x4da32a:0x1b4,_0x48098f:0x10e};function _0x62f54e(_0xaa279d,_0x58d930,_0x3c96a3,_0x30ce22){return _0xadee61(_0x3c96a3- -0x339,_0xaa279d,_0x3c96a3-_0x24bec1._0x4da32a,_0x30ce22-_0x24bec1._0x48098f);}this['snapshot'][_0x62f54e(_0xc9866a._0x3e5edf,_0xc9866a._0x3b765d,-_0xc9866a._0xd3e0cd,0x9c)]+=0x1,this['emit']();}[_0x27e2df(-0x159,0x35,-0x11d,0x1f9)](_0x439bda){const _0x5f3e2b={_0x6c5d0a:0x4e3,_0x2c49fd:0x28d,_0x187892:0x690,_0x1a2411:0x39e,_0x5b63ab:0x2b6,_0x16ef93:0x529,_0x408f2e:0x384,_0x29a6ee:0x55c},_0x6b9409={_0x442437:0xf7},_0x2633eb={_0x2a34f3:0xc4};function _0x307b54(_0x51d594,_0xfa092e,_0x572dce,_0x4e6c12){return _0x27e2df(_0x51d594-_0x2633eb._0x2a34f3,_0xfa092e-0x22c,_0x572dce-0x163,_0x4e6c12);}function _0xe9aba9(_0x47f613,_0x35d13d,_0x36e7e0,_0x1196e4){return _0xadee61(_0x47f613-0x100,_0x35d13d,_0x36e7e0-0x169,_0x1196e4-_0x6b9409._0x442437);}this['snapshot'][_0xe9aba9(0x2b4,_0x5f3e2b._0x6c5d0a,_0x5f3e2b._0x2c49fd,0x1ad)]+=0x1,this[_0xe9aba9(0x44d,0x5cc,0x3e3,_0x5f3e2b._0x187892)][_0x307b54(0x4ca,0x418,_0x5f3e2b._0x1a2411,_0x5f3e2b._0x5b63ab)]+=_0x439bda,this[_0x307b54(_0x5f3e2b._0x16ef93,_0x5f3e2b._0x408f2e,_0x5f3e2b._0x29a6ee,0x279)]();}[_0x27e2df(0x278,0x356,0x4c6,0x46b)](_0x2c15bc,_0x7e824c){this['snapshot']['contextWindowLimit']=_0x2c15bc,this['snapshot']['contextWindowUsage']=_0x7e824c,this['emit']();}[_0xadee61(0x36a,0x3dd,0x44a,0x57f)](){const _0x1812a2={_0x320b03:0x177,_0x1e8c1e:0x37},_0x241fe4={_0xef6ef2:0x181};this['snapshot']=createEmptySnapshot();function _0x2fcc9e(_0x2c8751,_0x3fb3b1,_0x119661,_0x461e6c){return _0x27e2df(_0x2c8751-0x9d,_0x119661-0x106,_0x119661-_0x241fe4._0xef6ef2,_0x2c8751);}this[_0x2fcc9e(_0x1812a2._0x320b03,0x1da,0x25e,_0x1812a2._0x1e8c1e)]();}[_0x27e2df(0x3b6,0x440,0x622,0x524)](){return{...this['snapshot']};}[_0x27e2df(0x34a,0x15c,0x125,0x1a1)](_0x14ffcf){const _0xca311d={_0x1991e5:0x483,_0x4f032a:0x679,_0x4da8d6:0x3f1},_0x2679c4={_0x13ce48:0x18c,_0x3903b3:0x15c,_0xc41d39:0x148};function _0x2b2ddf(_0xf4cf6d,_0x436509,_0x48ead9,_0x4ed8f2){return _0x27e2df(_0xf4cf6d-_0x2679c4._0x13ce48,_0xf4cf6d-_0x2679c4._0x3903b3,_0x48ead9-_0x2679c4._0xc41d39,_0x436509);}this[_0x2b2ddf(0x5ba,_0xca311d._0x1991e5,_0xca311d._0x4f032a,_0xca311d._0x4da8d6)]=_0x14ffcf;}},SystemClock=class{[_0xadee61(0x4ec,0x474,0x61d,0x467)](){const _0x4f1f23={_0x515689:0x1ea,_0x218279:0x1f4,_0x2014a1:0x124};function _0x47ca3a(_0x44553a,_0x6bf03c,_0x4a1552,_0x33dc28){return _0xadee61(_0x44553a- -0x302,_0x6bf03c,_0x4a1552-0x96,_0x33dc28-0x130);}return Date[_0x47ca3a(_0x4f1f23._0x515689,0x15f,_0x4f1f23._0x218279,_0x4f1f23._0x2014a1)]();}[_0xadee61(0x312,0x504,0x482,0x11e)](_0x54e452){const _0x2814ee={_0x7a1a62:0x6db},_0x459fcf={_0x5d2734:0x6c,_0x231e4b:0x12d,_0x428ff5:0xc};function _0x5b1aa1(_0x117e22,_0x121611,_0x4fb0aa,_0x5e0f35){return _0x27e2df(_0x117e22-_0x459fcf._0x5d2734,_0x121611-_0x459fcf._0x231e4b,_0x4fb0aa-_0x459fcf._0x428ff5,_0x4fb0aa);}return new Date(_0x54e452??Date[_0x5b1aa1(_0x2814ee._0x7a1a62,0x504,0x556,0x619)]())['toISOString']();}},SimpleId=class{[_0xadee61(0x3ac,0x34e,0x34a,0x484)](){const _0x3ce529={_0xc3dd4e:0x6a,_0x17206:0x26f,_0x40aa54:0xd2},_0x4329f6={_0x415466:0x278,_0x333709:0xef,_0x4ed731:0x6ad,_0x23f3b4:0x471,_0x3af904:0x673,_0x4935fc:0x47c},_0xec8ab3={_0x4c6c14:0x1d5,_0x17f6ee:0x1a},_0x54b030={_0x2bdeb2:0x8b,_0x20a837:0xf,_0x57522f:0x119},_0x1e3d61={_0x43974e:0x66},_0x23f4a7={_0x5a847a:0x14a};function _0x301053(_0x27e639,_0x103f4a,_0x1c589b,_0x211e98){return _0x27e2df(_0x27e639-_0x23f4a7._0x5a847a,_0x27e639- -0x10b,_0x1c589b-0x26,_0x1c589b);}function _0x1fbae1(_0x391c39,_0x45edf6,_0x53b46d,_0x4e84d3){return _0x27e2df(_0x391c39-0x47,_0x45edf6- -0x23,_0x53b46d-_0x1e3d61._0x43974e,_0x391c39);}return _0x1fbae1(-0x10f,_0x3ce529._0xc3dd4e,0x250,0x224)[_0x1fbae1(0x45,_0x3ce529._0x17206,0x1c5,_0x3ce529._0x40aa54)](/[xy]/g,_0x58e27b=>{function _0x4e8456(_0x37f1e7,_0x36a9cd,_0x5b6396,_0x3a9006){return _0x1fbae1(_0x36a9cd,_0x5b6396- -_0x54b030._0x2bdeb2,_0x5b6396-_0x54b030._0x20a837,_0x3a9006-_0x54b030._0x57522f);}const _0x12bb51=Math[_0x4e8456(_0x4329f6._0x415466,0x2a6,0x6b,_0x4329f6._0x333709)]()*0x10|0x0,_0x446481=_0x58e27b==='x'?_0x12bb51:_0x12bb51&0x3|0x8;function _0x29f923(_0x536891,_0x308a76,_0x3b8874,_0x57bfc9){return _0x301053(_0x57bfc9-_0xec8ab3._0x4c6c14,_0x308a76-0x3d,_0x3b8874,_0x57bfc9-_0xec8ab3._0x17f6ee);}return _0x446481[_0x29f923(_0x4329f6._0x4ed731,_0x4329f6._0x23f3b4,_0x4329f6._0x3af904,_0x4329f6._0x4935fc)](0x10);});}},SimpleCost=class{[_0x27e2df(0xdd,0x14b,0x18d,-0xe)](_0xa7fe9f,_0x1ad46d){const _0x55d746={_0x3c2691:0x1fd,_0x490ecb:0x167,_0x46ade7:0x13a},_0x1c9a0e={_0x309cb3:0x121,_0x118f7b:0x135};function _0x5128f9(_0x4a4541,_0x341b3d,_0x2fce51,_0x811c23){return _0xadee61(_0x2fce51- -_0x1c9a0e._0x309cb3,_0x4a4541,_0x2fce51-_0x1c9a0e._0x118f7b,_0x811c23-0x11c);}return _0x1ad46d?.[_0x5128f9(_0x55d746._0x3c2691,_0x55d746._0x490ecb,_0x55d746._0x46ade7,0x27b)];}},NoopReminders=class{[_0xadee61(0x3c6,0x210,0x342,0x4ac)](_0x184631,_0x1090ce){return[_0x184631];}},toProviderContent=_0x2080ed=>{const _0x2a0cb9={_0x579cf7:0x27d,_0x4fa551:0x2dd,_0x381600:0x211,_0x528967:0x2bb,_0xeaac08:0xa5,_0x5f17a1:0x61,_0x3c7984:0xc,_0x1c5f7b:0x3d5,_0x1a5add:0x6b8,_0xd9b5c8:0x5f6,_0x1cf8f4:0x7b0,_0x3987d9:0x454,_0x47463b:0x333,_0x5c80d3:0x46f,_0x41d8ab:0x249,_0x3be91a:0x103,_0x373cdb:0x30b,_0x3fd041:0x303,_0x57646c:0x195,_0x56e8a5:0x33,_0x9a0e36:0x16,_0x6325b2:0x2a7,_0x2b06ee:0x2df,_0x9cb210:0x42e,_0x2421fc:0x1ee,_0x5d3190:0x220,_0x219200:0x273},_0x6ad88d={_0x23ce20:0x151};function _0x44354f(_0x1e9626,_0x41e401,_0x207ab6,_0x18d3ec){return _0xadee61(_0x18d3ec-0x2d1,_0x1e9626,_0x207ab6-0xe1,_0x18d3ec-0xb3);}if(_0x2080ed===null||_0x2080ed===void 0x0)return'';if(typeof _0x2080ed==='string')return _0x2080ed;if(_0x2080ed['type']===_0x44354f(0x78a,0x522,0x6f8,0x71e)){const _0x5d6772=[];for(const _0x428e76 of _0x2080ed['parts']){if(_0x428e76[_0x35049e(_0x2a0cb9._0x579cf7,_0x2a0cb9._0x4fa551,-0x51,0xc6)]===_0x44354f(0x53d,0x529,0x868,0x6cc)){_0x428e76['text'][_0x35049e(0x2e2,0x7f,_0x2a0cb9._0x381600,0xf9)]>0x0&&_0x5d6772['push']({'type':_0x35049e(0x198,_0x2a0cb9._0x528967,-0x53,0x195),'text':_0x428e76[_0x35049e(-_0x2a0cb9._0xeaac08,0x77,_0x2a0cb9._0x5f17a1,0x195)]});continue;}const _0x3f6942=_0x428e76[_0x35049e(0x2f7,_0x2a0cb9._0x3c7984,_0x2a0cb9._0x1c5f7b,0x209)]??(_0x428e76[_0x44354f(_0x2a0cb9._0x1a5add,0x6ce,0x75e,_0x2a0cb9._0xd9b5c8)]?_0x44354f(0x83b,0x9b2,0x5e9,_0x2a0cb9._0x1cf8f4)+_0x428e76[_0x44354f(0x469,0x58e,_0x2a0cb9._0x3987d9,0x5f6)]:void 0x0);_0x3f6942&&_0x5d6772[_0x35049e(_0x2a0cb9._0x47463b,_0x2a0cb9._0x5c80d3,_0x2a0cb9._0x41d8ab,0x2dd)]({'type':_0x35049e(_0x2a0cb9._0x3be91a,_0x2a0cb9._0x373cdb,_0x2a0cb9._0x3fd041,_0x2a0cb9._0x57646c),'text':_0x3f6942});const _0x3f86d2=_0x35049e(0x31,-_0x2a0cb9._0x56e8a5,0x295,0x17d)+_0x428e76[_0x35049e(-_0x2a0cb9._0x9a0e36,_0x2a0cb9._0x6325b2,_0x2a0cb9._0x2b06ee,0xec)]+_0x35049e(-0x1f,_0x2a0cb9._0x9cb210,0x3bd,_0x2a0cb9._0x2421fc)+_0x428e76[_0x35049e(_0x2a0cb9._0x5d3190,0x1a6,_0x2a0cb9._0x219200,0x1ce)];_0x5d6772['push']({'type':_0x35049e(0x1d,-0xf1,0xe7,0x2d),'image_url':{'url':_0x3f86d2}});}return _0x5d6772['length']>0x0?_0x5d6772:[];}function _0x35049e(_0x27af3b,_0x30f170,_0x5ab62a,_0x22397c){return _0x27e2df(_0x27af3b-0xa,_0x22397c- -_0x6ad88d._0x23ce20,_0x5ab62a-0x1b1,_0x30f170);}return[];},SimpleContextBuilder=class{[_0x27e2df(0x241,0x1ed,0x135,0x358)](_0x3443b5,_0x5c8c54,_0x21e361){const _0x12e61f={_0x5e3d8e:0x6ad,_0x350b05:0x7d2,_0x30f011:0xfe,_0x43ef05:0x6bd,_0x123b45:0x5cc,_0x5733c1:0x39a,_0x1927e3:0x46d,_0x54cfea:0x39f,_0x4bdba4:0x556,_0x2cce8d:0x60b,_0x64e1ef:0x2df,_0x126d4e:0x2c4,_0x5e81db:0x2c0,_0x2d99cf:0xa9,_0x5b867d:0x5c5,_0x44d1ef:0x685,_0xcc4655:0x4d9,_0x292958:0x6ba,_0x4489a4:0x197,_0x254d42:0x3f3,_0xef5d63:0x62b,_0x4206d0:0x496,_0x595fa6:0x301,_0x2ee5e8:0x419,_0x16fb8d:0x43b,_0x174340:0x67f,_0x283ce4:0x5a4,_0x22bd68:0x77a,_0x41a03e:0x6a6,_0x1de6ff:0x763,_0x112890:0xd2,_0x51184e:0x10,_0x1c73c2:0x589,_0x36b52e:0x82c,_0xd6eff9:0x67a,_0x2a8d13:0x614,_0x8ecc15:0x48,_0x38ccb7:0x6e,_0x17c6db:0x19e},_0x1abea7={_0x19dcf6:0xc3},_0x55171a={_0x2814ec:0x196,_0x384d7:0x1e2};function _0x2160ae(_0x5a30a3,_0xe2f5d9,_0x68949c,_0x250815){return _0x27e2df(_0x5a30a3-_0x55171a._0x2814ec,_0x68949c- -0x1a2,_0x68949c-_0x55171a._0x384d7,_0xe2f5d9);}function _0x17545e(_0x4c23d0,_0x26410f,_0x2e5665,_0x628736){return _0x27e2df(_0x4c23d0-0x13c,_0x26410f-0x28f,_0x2e5665-_0x1abea7._0x19dcf6,_0x628736);}const _0x241ef0=[];for(const _0x52ec54 of _0x3443b5){const _0x533f2b=toProviderContent(_0x52ec54[_0x17545e(0x7d8,_0x12e61f._0x5e3d8e,_0x12e61f._0x350b05,0x5f4)]);if(_0x52ec54['role']===_0x2160ae(0xc5,-0x11c,-0x97,-_0x12e61f._0x30f011))_0x241ef0[_0x17545e(0x8bc,_0x12e61f._0x43ef05,0x8ca,_0x12e61f._0x123b45)]({'role':_0x17545e(0x445,_0x12e61f._0x5733c1,_0x12e61f._0x1927e3,_0x12e61f._0x54cfea),'content':_0x533f2b??''});else{if(_0x52ec54[_0x17545e(0x313,_0x12e61f._0x4bdba4,0x441,_0x12e61f._0x2cce8d)]===_0x2160ae(_0x12e61f._0x64e1ef,_0x12e61f._0x126d4e,_0x12e61f._0x5e81db,_0x12e61f._0x2d99cf))_0x52ec54['tool_calls']&&_0x52ec54[_0x17545e(0x77e,_0x12e61f._0x5b867d,0x674,_0x12e61f._0x44d1ef)][_0x17545e(0x372,_0x12e61f._0xcc4655,0x2d6,_0x12e61f._0x292958)]>0x0?_0x241ef0['push']({..._0x52ec54,'role':_0x2160ae(_0x12e61f._0x4489a4,0x2c2,0x2c0,_0x12e61f._0x254d42),'content':_0x533f2b??null,'tool_calls':_0x52ec54[_0x17545e(0x61c,0x5c5,_0x12e61f._0xef5d63,0x7ec)]}):_0x241ef0[_0x17545e(0x873,_0x12e61f._0x43ef05,_0x12e61f._0x4206d0,0x732)]({..._0x52ec54,'role':_0x2160ae(_0x12e61f._0x595fa6,0x131,0x2c0,0x2b4),'content':_0x533f2b??''});else _0x52ec54[_0x17545e(_0x12e61f._0x2ee5e8,_0x12e61f._0x4bdba4,_0x12e61f._0x16fb8d,_0x12e61f._0x174340)]===_0x17545e(_0x12e61f._0x283ce4,0x441,0x448,0x22d)&&(_0x52ec54[_0x17545e(_0x12e61f._0x22bd68,0x614,0x61a,0x3d9)]&&_0x241ef0[_0x17545e(_0x12e61f._0x41a03e,0x6bd,0x4bc,_0x12e61f._0x1de6ff)]({'role':_0x2160ae(_0x12e61f._0x112890,-0x55,_0x12e61f._0x51184e,-0x1da),'content':typeof _0x533f2b===_0x17545e(_0x12e61f._0x1c73c2,0x604,0x641,_0x12e61f._0x36b52e)?_0x533f2b:_0x533f2b??'','tool_call_id':_0x52ec54[_0x17545e(_0x12e61f._0xd6eff9,_0x12e61f._0x2a8d13,0x841,0x5c4)],'name':_0x52ec54[_0x2160ae(0x1a8,-_0x12e61f._0x8ecc15,_0x12e61f._0x38ccb7,0x159)]}));}}const _0x3ca4fd=_0x21e361['map'](_0x33b5f9=>({'role':'user','content':toProviderContent(_0x33b5f9)??''}));return[{'role':_0x2160ae(0x1d8,0x15b,0x11,_0x12e61f._0x17c6db),'content':_0x5c8c54},..._0x241ef0,..._0x3ca4fd];}},InMemoryMemory=class{[_0xadee61(0x1e6,0x26c,0x422,0x2d9)]=new Map();async[_0xadee61(0x183,0x349,0x6d,0xed)](_0x42749d){const _0x510e27={_0x125e39:0x1bc,_0x2a2a15:0xd2,_0x180e76:0xb7,_0x419f77:0x68},_0x17045b={_0x31f707:0x1c4},_0x72c692={_0x4dab5b:0x12d};function _0x5e3b39(_0x43faa1,_0x17bc04,_0x4951f4,_0x1fe3c2){return _0x27e2df(_0x43faa1-0x133,_0x1fe3c2-_0x72c692._0x4dab5b,_0x4951f4-0x1dc,_0x17bc04);}function _0x295d01(_0x2189b8,_0x5bcc73,_0x4ffef6,_0x5b2a17){return _0x27e2df(_0x2189b8-_0x17045b._0x31f707,_0x2189b8-0xeb,_0x4ffef6-0x14b,_0x5b2a17);}return this[_0x295d01(_0x510e27._0x125e39,0x1f5,_0x510e27._0x2a2a15,0x366)][_0x295d01(0x159,_0x510e27._0x180e76,-0xc8,_0x510e27._0x419f77)](_0x42749d)??[];}async[_0x27e2df(0x3ad,0x335,0x4e1,0x23e)](_0x5e5741,_0x64acd2){const _0x5c002a={_0x278927:0x28,_0x2beabf:0x240,_0x5e59ee:0xb9},_0x1c0df5={_0x9e3a3a:0x17};function _0x3a115e(_0x1fbd51,_0x2f7a5d,_0x4c7a6e,_0x55abfb){return _0xadee61(_0x4c7a6e- -0x391,_0x1fbd51,_0x4c7a6e-_0x1c0df5._0x9e3a3a,_0x55abfb-0x1c1);}this['store'][_0x3a115e(_0x5c002a._0x278927,_0x5c002a._0x2beabf,_0x5c002a._0x5e59ee,0x87)](_0x5e5741,[..._0x64acd2]);}async[_0x27e2df(0x3ab,0x417,0x31d,0x491)](_0x3aa82b,_0x2114dc){const _0x193589={_0x443d7a:0x3f,_0x590b7d:0x5f,_0x26eae6:0x2e7,_0x4f4c84:0x143,_0x4114e5:0x2e5,_0x2f958f:0x55,_0x946efb:0xe0,_0x20a5ca:0x3d4},_0x5935c9={_0xc9bdf:0x8c,_0x29dcb5:0x83},_0xfb51c7={_0x48a245:0x10,_0x482109:0xaf};function _0x556691(_0x3659b0,_0x404ea4,_0xc174f4,_0x2bcde0){return _0xadee61(_0x2bcde0- -0xa3,_0x3659b0,_0xc174f4-_0xfb51c7._0x48a245,_0x2bcde0-_0xfb51c7._0x482109);}function _0x3375b3(_0x150d80,_0x4f9fb2,_0xd6c0f3,_0x3170b3){return _0x27e2df(_0x150d80-_0x5935c9._0xc9bdf,_0xd6c0f3-0x519,_0xd6c0f3-_0x5935c9._0x29dcb5,_0x150d80);}const _0xfd7b2c=this[_0x556691(-_0x193589._0x443d7a,_0x193589._0x590b7d,_0x193589._0x26eae6,_0x193589._0x4f4c84)][_0x556691(0x32,_0x193589._0x4114e5,_0x193589._0x2f958f,_0x193589._0x946efb)](_0x3aa82b)??[];this['store'][_0x556691(0x48e,_0x193589._0x20a5ca,0x238,0x3a7)](_0x3aa82b,[..._0xfd7b2c,..._0x2114dc]);}async[_0xadee61(0x461,0x53e,0x3a6,0x52a)](_0x31245a){const _0x2e2776={_0x118d0:0x4b9,_0x3ecb1a:0x450},_0x41e8ca={_0x3409db:0x26a,_0x1e6b0c:0xe3};function _0x1ab299(_0x3d6835,_0x5d6f93,_0x377990,_0x4d2f74){return _0xadee61(_0x4d2f74-_0x41e8ca._0x3409db,_0x3d6835,_0x377990-0x80,_0x4d2f74-_0x41e8ca._0x1e6b0c);}this[_0x1ab299(0x4c6,_0x2e2776._0x118d0,0x57e,_0x2e2776._0x3ecb1a)]['delete'](_0x31245a);}async[_0xadee61(0x3e6,0x285,0x372,0x3f8)](){const _0x52d85c={_0x166e76:0x37f},_0x597d81={_0x36be92:0x2b2};function _0x38a266(_0x323f9a,_0x2d25d2,_0x35d397,_0x510f74){return _0xadee61(_0x323f9a-0x348,_0x2d25d2,_0x35d397-0x1d7,_0x510f74-0x28);}function _0xab2c85(_0x2fd780,_0x271601,_0x331766,_0x1f1fa8){return _0x27e2df(_0x2fd780-0xf1,_0x1f1fa8-_0x597d81._0x36be92,_0x331766-0x128,_0x2fd780);}return Array[_0xab2c85(0x576,0x2cb,0x4bd,0x454)](this['store'][_0xab2c85(0x349,0x3ab,_0x52d85c._0x166e76,0x583)]());}async[_0x27e2df(0x381,0x2f0,0x14b,0x3b3)](){const _0x20ab7a={_0x223e30:0x2aa},_0x13c709={_0x429924:0x188};function _0x84f71f(_0x5b4fbb,_0x46189e,_0x13475b,_0x2e3b39){return _0xadee61(_0x5b4fbb- -0x15b,_0x2e3b39,_0x13475b-0x90,_0x2e3b39-_0x13c709._0x429924);}this['store'][_0x84f71f(_0x20ab7a._0x223e30,0x3d2,0x2b5,0x412)]();}async[_0x27e2df(0x24a,0x1cf,-0xb,-0x2f)](){const _0x11805b={_0x54d0a0:0x18d,_0xc0aa6b:0xab},_0x414963={_0x374d67:0x117,_0x5f2f62:0x2d},_0x19d38f={};for(const [_0xcba3d2,_0x836b9c]of this[_0x584725(-0x37,-_0x11805b._0x54d0a0,0x9a,_0x11805b._0xc0aa6b)]['entries']())_0x19d38f[_0xcba3d2]=[..._0x836b9c];function _0x584725(_0xc5edd3,_0x41bd9b,_0x3a3277,_0x115238){return _0xadee61(_0x3a3277- -0x14c,_0x41bd9b,_0x3a3277-_0x414963._0x374d67,_0x115238-_0x414963._0x5f2f62);}return _0x19d38f;}async[_0xadee61(0x527,0x5dc,0x754,0x688)](_0x343177){const _0x177265={_0x4227c0:0x70b,_0x3594fc:0x7eb,_0x3fd553:0x60a,_0x6efad1:0x718,_0x8abefe:0x7e6,_0x2e3e3c:0x82c,_0x5ab411:0x9e6},_0x4bb78f={_0x3ca493:0xc2},_0xf7edcd={_0x183286:0x1bc};function _0x20ca29(_0x3c51c3,_0x3b73a0,_0x13c7a7,_0x285d64){return _0xadee61(_0x3b73a0- -0x1a0,_0x285d64,_0x13c7a7-_0xf7edcd._0x183286,_0x285d64-0x163);}function _0x3b1909(_0x45fdef,_0x533462,_0x35e16c,_0x3b62a4){return _0xadee61(_0x45fdef-0x3e2,_0x3b62a4,_0x35e16c-_0x4bb78f._0x3ca493,_0x3b62a4-0x18e);}this['store']['clear']();for(const [_0x463898,_0x17f4ad]of Object[_0x3b1909(_0x177265._0x4227c0,_0x177265._0x3594fc,0x6a2,_0x177265._0x3fd553)](_0x343177))this[_0x3b1909(0x5c8,0x569,_0x177265._0x6efad1,_0x177265._0x8abefe)][_0x3b1909(_0x177265._0x2e3e3c,0x612,_0x177265._0x5ab411,0xa4f)](_0x463898,[..._0x17f4ad]);}},JsonFileMemoryPersistence=class{constructor(_0x55298e=_0x27e2df(0x32b,0x3aa,0x4be,0x232)){const _0x1ea064={_0xd8c728:0x162},_0xa5eb0={_0x52690c:0x1e6,_0x22cbda:0x1e};function _0x514822(_0x4f3c99,_0x382a61,_0x53586a,_0x18277c){return _0x27e2df(_0x4f3c99-0x7f,_0x4f3c99- -_0xa5eb0._0x52690c,_0x53586a-_0xa5eb0._0x22cbda,_0x53586a);}this[_0x514822(0x4f,0x3a,-0x158,-_0x1ea064._0xd8c728)]=_0x55298e;}async[_0xadee61(0x20f,0x17d,0x24e,0x2b3)](){const _0x1520ba={_0x1903a7:0x531,_0xd620e6:0x537,_0x5ade94:0x383,_0x9bba09:0x55d,_0xbb1ab1:0x411,_0x2f6b06:0x4c2,_0x3fe685:0xcb,_0x386db3:0x445,_0x5ce855:0x7e0,_0x908ff7:0x6b5,_0x253d23:0x9bd,_0x3c2f45:0x7c3,_0x30b9a1:0x35b,_0x2d4d91:0x2c0,_0x157e2e:0x361},_0x295651={_0x3cba8f:0x1e7,_0x3eccfc:0x16},_0x40c7db={_0x24c066:0x2f,_0x5d3f0e:0x448};function _0x5bf114(_0x47c270,_0x5570a5,_0x151c7a,_0x270d20){return _0x27e2df(_0x47c270-_0x40c7db._0x24c066,_0x47c270-_0x40c7db._0x5d3f0e,_0x151c7a-0x1c3,_0x270d20);}function _0x5e709c(_0x1f3832,_0x22d9cc,_0x27282f,_0x13cff5){return _0xadee61(_0x27282f-0x17,_0x1f3832,_0x27282f-_0x295651._0x3cba8f,_0x13cff5-_0x295651._0x3eccfc);}try{const _0xd69574=await import('fs');if(!_0xd69574[_0x5bf114(_0x1520ba._0x1903a7,0x6c0,_0x1520ba._0xd620e6,0x760)](this[_0x5e709c(0x40b,_0x1520ba._0x5ade94,0x361,0x1ce)]))return{};const _0x5920c7=_0xd69574[_0x5e709c(0x3e3,_0x1520ba._0x9bba09,0x355,_0x1520ba._0xbb1ab1)](this['filename'],'utf-8'),_0x1799c7=JSON['parse'](_0x5920c7);return typeof _0x1799c7===_0x5e709c(_0x1520ba._0x2f6b06,_0x1520ba._0x3fe685,0x2cb,0x232)&&_0x1799c7?_0x1799c7:{};}catch{return console[_0x5e709c(0x637,0x62e,_0x1520ba._0x386db3,0x344)](_0x5bf114(_0x1520ba._0x5ce855,_0x1520ba._0x908ff7,_0x1520ba._0x253d23,_0x1520ba._0x3c2f45)+this[_0x5e709c(_0x1520ba._0x30b9a1,_0x1520ba._0x2d4d91,_0x1520ba._0x157e2e,0x32f)]),{};}}async[_0xadee61(0x374,0x43c,0x416,0x386)](_0x1203c8){const _0x492630={_0x5c1c03:0x5c7,_0x40d0d7:0x5b0,_0x231e9d:0x392,_0x5036f5:0x4a9,_0x31cf2f:0x36b,_0x21ac1b:0x2b9,_0x422f59:0x49a,_0x555bfa:0x563,_0x4012b5:0x5f7,_0x5e17ba:0x972,_0x300d4a:0x881,_0x27265a:0xa9b,_0x3860f3:0x7d3,_0x59dafd:0x603,_0x2df7a8:0x759,_0x2084ff:0x666,_0xf00c78:0x44c,_0x4f4f51:0x15b,_0x5931c5:0x8d,_0x254a94:0x9fb,_0x172189:0x6bf},_0x48f882={_0xe9e159:0x101,_0x5b79fd:0x84,_0x4e59f7:0x76},_0xbb84a3={_0x3faceb:0x14f};function _0x13089f(_0x79f0dd,_0x5aec59,_0x2d2480,_0x5714c8){return _0x27e2df(_0x79f0dd-_0xbb84a3._0x3faceb,_0x79f0dd-0x529,_0x2d2480-0x50,_0x5aec59);}function _0x2c4da0(_0xb91eb8,_0x3abb29,_0x5e1796,_0x818630){return _0x27e2df(_0xb91eb8-_0x48f882._0xe9e159,_0x5e1796-_0x48f882._0x5b79fd,_0x5e1796-_0x48f882._0x4e59f7,_0x3abb29);}try{const _0x1b02ae=await import('fs'),_0x53e675=await import('path'),_0x123c76=_0x53e675[_0x13089f(_0x492630._0x5c1c03,0x610,_0x492630._0x40d0d7,_0x492630._0x231e9d)](this[_0x2c4da0(_0x492630._0x5036f5,_0x492630._0x31cf2f,_0x492630._0x21ac1b,_0x492630._0x422f59)]);_0x123c76&&_0x123c76!=='.'&&!_0x1b02ae[_0x13089f(0x612,0x4b4,_0x492630._0x555bfa,_0x492630._0x4012b5)](_0x123c76)&&_0x1b02ae[_0x13089f(_0x492630._0x5e17ba,_0x492630._0x300d4a,_0x492630._0x27265a,0xb72)](_0x123c76,{'recursive':!![]}),_0x1b02ae['writeFileSync'](this[_0x13089f(0x75e,_0x492630._0x3860f3,0x681,0x5a6)],JSON[_0x13089f(_0x492630._0x59dafd,_0x492630._0x2df7a8,_0x492630._0x2084ff,_0x492630._0xf00c78)](_0x1203c8,null,0x2),_0x2c4da0(_0x492630._0x4f4f51,-_0x492630._0x5931c5,0xc3,0xee));}catch(_0x5ac5e7){console[_0x13089f(0x842,0x6f5,_0x492630._0x254a94,_0x492630._0x172189)](_0x13089f(0x7f2,0x97a,0x976,0x728)+this['filename'],_0x5ac5e7);}}},PersistedMemory=class{constructor(_0x19fbb3){const _0x4a4142={_0x4a4e4c:0xb07,_0x4d8c2c:0x8b7,_0xc39d94:0x906,_0x346cf2:0x834};function _0x16911b(_0x1685f5,_0x24f54f,_0xc5829e,_0x59e970){return _0x27e2df(_0x1685f5-0xe7,_0xc5829e-0x4c2,_0xc5829e-0x1d4,_0x1685f5);}this[_0x16911b(_0x4a4142._0x4a4e4c,_0x4a4142._0x4d8c2c,_0x4a4142._0xc39d94,_0x4a4142._0x346cf2)]=_0x19fbb3;}['inner']=new InMemoryMemory();[_0xadee61(0x2bb,0x3f3,0xd6,0x4fd)]=![];async[_0xadee61(0x53f,0x355,0x686,0x2fd)](){const _0x4768c0={_0xe60b9d:0x5a6,_0x284a60:0x5f7,_0xcc4298:0x542,_0x308e1b:0x37c,_0x9f06e9:0x4f7,_0x48b5a0:0x73d,_0x48dec7:0x9a2,_0x5d9bf3:0x4e6},_0x2d947a={_0x830116:0x3fd,_0x3ac016:0x20},_0x30a1c4={_0x126eb5:0x181,_0x57929b:0x1bd};function _0x1df510(_0x3e7abc,_0x517978,_0x3023bf,_0x151e60){return _0xadee61(_0x3e7abc-0x2eb,_0x517978,_0x3023bf-_0x30a1c4._0x126eb5,_0x151e60-_0x30a1c4._0x57929b);}function _0x3d6bae(_0x1d1db7,_0x33d013,_0x505811,_0x44a4d3){return _0x27e2df(_0x1d1db7-0x169,_0x44a4d3-_0x2d947a._0x830116,_0x505811-_0x2d947a._0x3ac016,_0x1d1db7);}if(this[_0x1df510(_0x4768c0._0xe60b9d,0x78a,0x487,_0x4768c0._0x284a60)])return;const _0x758900=await this['persistence'][_0x3d6bae(0x729,_0x4768c0._0xcc4298,_0x4768c0._0x308e1b,_0x4768c0._0x9f06e9)]();if(_0x758900&&typeof _0x758900==='object')await this[_0x3d6bae(0x8d3,0x576,0x799,0x759)][_0x1df510(0x812,0xa14,_0x4768c0._0x48b5a0,_0x4768c0._0x48dec7)](_0x758900);this[_0x1df510(0x5a6,0x604,_0x4768c0._0x5d9bf3,0x4a2)]=!![];}async['save'](){const _0x3bb2d1={_0x4ac110:0x327,_0x15853e:0x187,_0x186731:0x19b,_0x388ad9:0x471},_0x4ee305={_0x11344c:0x130,_0x2372e6:0x111},_0x2b6d0b={_0x3e95b9:0x1d7},_0x36af97=await this[_0x4605e9(_0x3bb2d1._0x4ac110,_0x3bb2d1._0x15853e,_0x3bb2d1._0x186731,0x341)]['exportSnapshot']();function _0x46286a(_0x44ef4d,_0xc0d03c,_0x475515,_0x20e6e0){return _0x27e2df(_0x44ef4d-0x3e,_0xc0d03c-0x22a,_0x475515-_0x2b6d0b._0x3e95b9,_0x20e6e0);}function _0x4605e9(_0x2473ff,_0x1c5b52,_0x28dd41,_0x5c5a6e){return _0xadee61(_0x5c5a6e- -_0x4ee305._0x11344c,_0x28dd41,_0x28dd41-0x1d1,_0x5c5a6e-_0x4ee305._0x2372e6);}await this[_0x4605e9(_0x3bb2d1._0x388ad9,0x2d8,0x265,0x429)]['save'](_0x36af97);}async[_0x27e2df(0x25e,0x6e,0x167,-0xf1)](_0x2cd8ff){const _0x1cbaf5={_0x46db5f:0x8fb,_0x1461c4:0x841,_0x1b6f1a:0xaee,_0x482769:0x33b,_0x338b14:0x30f,_0x14e9b5:0x53f,_0x3dd481:0x4c5},_0xcec3ad={_0x277bcf:0xd0},_0xbdb24={_0x43b7d6:0x10c};await this[_0x68b959(_0x1cbaf5._0x46db5f,0x96b,_0x1cbaf5._0x1461c4,_0x1cbaf5._0x1b6f1a)]();function _0x68b959(_0x12b633,_0x4112a2,_0x7a63ec,_0x2d1911){return _0x27e2df(_0x12b633-0x5f,_0x12b633-0x4d1,_0x7a63ec-_0xbdb24._0x43b7d6,_0x2d1911);}function _0x41467c(_0x380217,_0x3fdcec,_0x54edb6,_0x5cbf81){return _0xadee61(_0x5cbf81-0xcf,_0x380217,_0x54edb6-0xcb,_0x5cbf81-_0xcec3ad._0x277bcf);}return this[_0x41467c(_0x1cbaf5._0x482769,_0x1cbaf5._0x338b14,0x3b0,0x540)][_0x68b959(_0x1cbaf5._0x14e9b5,0x735,_0x1cbaf5._0x3dd481,0x65c)](_0x2cd8ff);}async[_0xadee61(0x44a,0x309,0x4ec,0x532)](_0x5b5ff3,_0x56aa01){const _0x52ebf2={_0x1efde3:0x9fe,_0x48038b:0x998,_0x2834fc:0x903,_0x4c1e5d:0x17f,_0x306e16:0x2df,_0x2b35de:0x6f2,_0x409b19:0x647},_0x46e41e={_0x42ad93:0x493,_0x406ca8:0x2},_0x4b1e8d={_0x479db4:0x192,_0xe309b8:0x112};function _0x45bf6c(_0x5574d0,_0xaaae26,_0x50cf83,_0x4aad58){return _0xadee61(_0x4aad58- -_0x4b1e8d._0x479db4,_0x5574d0,_0x50cf83-0x45,_0x4aad58-_0x4b1e8d._0xe309b8);}await this[_0x184731(_0x52ebf2._0x1efde3,0x8bd,_0x52ebf2._0x48038b,_0x52ebf2._0x2834fc)](),await this[_0x45bf6c(_0x52ebf2._0x4c1e5d,0x235,0x407,_0x52ebf2._0x306e16)]['set'](_0x5b5ff3,_0x56aa01);function _0x184731(_0x12d834,_0xdd7782,_0x420432,_0x3637d){return _0x27e2df(_0x12d834-0x18c,_0xdd7782-_0x46e41e._0x42ad93,_0x420432-_0x46e41e._0x406ca8,_0x420432);}await this[_0x184731(0x53d,_0x52ebf2._0x2b35de,0x6c6,_0x52ebf2._0x409b19)]();}async[_0x27e2df(0x538,0x417,0x4cc,0x548)](_0x464d7d,_0x4a291a){const _0x4c4a03={_0x3b5b73:0x773,_0x38ac1a:0x572,_0x2f849a:0x651,_0x938a9c:0x760,_0x1bbd5f:0x80b},_0x1f0992={_0x28efe1:0x19d},_0x5d8416={_0x211dcb:0x1bb};await this[_0xf60fad(0x927,_0x4c4a03._0x3b5b73,_0x4c4a03._0x38ac1a,_0x4c4a03._0x2f849a)]();function _0xf60fad(_0x54b820,_0x206536,_0xd72758,_0x3224df){return _0xadee61(_0x206536-0x234,_0x54b820,_0xd72758-_0x5d8416._0x211dcb,_0x3224df-0x196);}function _0x224161(_0x31d571,_0x46ec20,_0x446ee7,_0x202ce4){return _0x27e2df(_0x31d571-_0x1f0992._0x28efe1,_0x31d571- -0x20,_0x446ee7-0x155,_0x446ee7);}await this['inner'][_0xf60fad(0x84e,_0x4c4a03._0x938a9c,_0x4c4a03._0x1bbd5f,0x7a8)](_0x464d7d,_0x4a291a),await this[_0x224161(0x23f,0x3fa,0x433,0x278)]();}async['delete'](_0x4abf6c){const _0x1fe95f={_0x784083:0x297,_0x2f703e:0x262,_0x2ed379:0x322,_0x38a761:0x523,_0x42074d:0x2de,_0x2e8154:0x19a},_0x29a62e={_0x3acd6f:0x2a},_0x325f23={_0x31f215:0x11d,_0x424a1f:0x95,_0x56052b:0x160};await this['ensureInitialized'](),await this[_0x21ef01(0x1ce,_0x1fe95f._0x784083,0x3f1,0x461)][_0xc2b60c(_0x1fe95f._0x2f703e,0x3af,_0x1fe95f._0x2ed379,_0x1fe95f._0x38a761)](_0x4abf6c);function _0x21ef01(_0x3358f2,_0x5ac3f1,_0x46350f,_0x379347){return _0x27e2df(_0x3358f2-_0x325f23._0x31f215,_0x46350f-_0x325f23._0x424a1f,_0x46350f-_0x325f23._0x56052b,_0x379347);}function _0xc2b60c(_0x186531,_0x5591e8,_0x254674,_0x27c3ec){return _0x27e2df(_0x186531-0x161,_0x254674- -_0x29a62e._0x3acd6f,_0x254674-0xf2,_0x186531);}await this[_0x21ef01(_0x1fe95f._0x42074d,0x16c,0x2f4,_0x1fe95f._0x2e8154)]();}async[_0xadee61(0x3e6,0x52e,0x493,0x526)](){const _0x5dd71e={_0xb0f035:0x36,_0xd7b4c1:0x1a7,_0xf33a27:0x29b,_0x252d58:0xe2,_0x395996:0x1c6},_0x361467={_0x5801a8:0x398,_0x4ce83c:0x1c4},_0x391c75={_0xbaab44:0x58,_0x7116a7:0x1ef,_0x12196f:0x68};function _0x2e2564(_0x18a048,_0x7c3ac6,_0x3ae9a3,_0x1d1c1c){return _0x27e2df(_0x18a048-_0x391c75._0xbaab44,_0x7c3ac6- -_0x391c75._0x7116a7,_0x3ae9a3-_0x391c75._0x12196f,_0x1d1c1c);}await this[_0x3a6375(-_0x5dd71e._0xb0f035,_0x5dd71e._0xd7b4c1,_0x5dd71e._0xf33a27,0x1bd)]();function _0x3a6375(_0x95da95,_0x534562,_0x3f0739,_0x5cc11c){return _0xadee61(_0x534562- -_0x361467._0x5801a8,_0x95da95,_0x3f0739-_0x361467._0x4ce83c,_0x5cc11c-0x98);}return this['inner'][_0x2e2564(-0x13b,_0x5dd71e._0x252d58,_0x5dd71e._0x395996,-0x156)]();}async['clear'](){const _0x428ce9={_0x2698e8:0x8ac,_0x27c982:0x763,_0x584a24:0x153},_0x12fdd8={_0x4fbb2a:0x224},_0x3c1759={_0x10333a:0x10c};function _0x4f5fe1(_0x49a838,_0x4b0384,_0x259533,_0x419013){return _0x27e2df(_0x49a838-0x1c,_0x49a838- -_0x3c1759._0x10333a,_0x259533-0x4b,_0x419013);}function _0xced6fe(_0x572916,_0x1b2d1f,_0x2881e9,_0x5f5878){return _0xadee61(_0x5f5878-_0x12fdd8._0x4fbb2a,_0x572916,_0x2881e9-0x16e,_0x5f5878-0xb8);}await this[_0xced6fe(0x8bf,0x7b9,_0x428ce9._0x2698e8,_0x428ce9._0x27c982)](),await this['inner']['clear'](),await this[_0x4f5fe1(_0x428ce9._0x584a24,0x24e,0x2af,0xe)]();}async[_0xadee61(0x2e4,0x1e8,0x4d5,0x174)](){const _0x51fe6b={_0x2ce0f2:0x572,_0x446392:0x3a9,_0x1d608d:0x4b5,_0xc53db6:0x295,_0x24a172:0x46e,_0x2025ed:0x317},_0xb7d8c1={_0x1b38df:0x16d,_0x119f22:0x148},_0x16af6d={_0x4a9121:0x37};function _0x39426a(_0x1e18dd,_0x3c3b99,_0x3e26c0,_0x164e7a){return _0xadee61(_0x1e18dd-0x3cd,_0x164e7a,_0x3e26c0-_0x16af6d._0x4a9121,_0x164e7a-0x17a);}await this[_0x355fc0(0x474,0x78a,0x5e9,_0x51fe6b._0x2ce0f2)]();function _0x355fc0(_0x2460b7,_0x4b87e5,_0xaab62c,_0x55c0ec){return _0x27e2df(_0x2460b7-_0xb7d8c1._0x1b38df,_0x55c0ec-_0xb7d8c1._0x119f22,_0xaab62c-0x13,_0x4b87e5);}return this[_0x355fc0(_0x51fe6b._0x446392,0x30c,_0x51fe6b._0x1d608d,0x4a4)][_0x355fc0(_0x51fe6b._0xc53db6,0x100,_0x51fe6b._0x24a172,_0x51fe6b._0x2025ed)]();}async[_0x27e2df(0x1e0,0x412,0x387,0x5b3)](_0xe24822){const _0x54e1b6={_0x233806:0x60d,_0x32d83c:0x44f,_0x17b97e:0x78c},_0x572cb3={_0x4ed56c:0x18b,_0x14f434:0x13c},_0x419424={_0x1c5bcc:0x2,_0x1928f2:0x32};function _0x5e8b4e(_0x2a9310,_0x1b5ddd,_0x68d5f,_0x4318d4){return _0xadee61(_0x1b5ddd- -_0x419424._0x1c5bcc,_0x2a9310,_0x68d5f-0x7,_0x4318d4-_0x419424._0x1928f2);}function _0x28f985(_0x16fd21,_0xb7be79,_0xaa58a,_0x11ed4f){return _0x27e2df(_0x16fd21-_0x572cb3._0x4ed56c,_0x16fd21-0x1fb,_0xaa58a-_0x572cb3._0x14f434,_0x11ed4f);}await this[_0x28f985(0x625,0x5fc,0x599,0x7c2)](),await this['inner'][_0x28f985(_0x54e1b6._0x233806,_0x54e1b6._0x32d83c,0x4d1,_0x54e1b6._0x17b97e)](_0xe24822),await this['save']();}},NoopEventPort=class{[_0x27e2df(-0xd3,0x158,0x1ed,-0xd9)](_0xd3ef19){}},PersistingConsoleEventPort=class{[_0x27e2df(0x2b8,0x143,-0xf0,0x217)];[_0x27e2df(0xa0,0x2bd,0x4f0,0xe3)];['writeQueue']=Promise[_0x27e2df(0xb5,0xf0,-0xb9,0x329)]();constructor(_0x42bd36){const _0x25b7ae={_0x562af7:0x27f,_0x541a65:0x249,_0x209ea3:0x2d8,_0x1a05ec:0x82,_0x443731:0x2ee},_0x1bd68e={_0x5d4750:0x276},_0x1fc97d={_0xf0b540:0x6d,_0x4ccb0f:0x1c9};this[_0x515350(_0x25b7ae._0x562af7,0x1ad,_0x25b7ae._0x541a65,0x464)]=_0x42bd36?.['memory']??new PersistedMemory(new JsonFileMemoryPersistence(_0x42bd36?.['filename']||_0x515350(0x279,_0x25b7ae._0x209ea3,_0x25b7ae._0x1a05ec,_0x25b7ae._0x443731)));function _0x515350(_0x27a92d,_0x14e3aa,_0x4357d3,_0x366637){return _0xadee61(_0x27a92d-0x27,_0x14e3aa,_0x4357d3-_0x1fc97d._0xf0b540,_0x366637-_0x1fc97d._0x4ccb0f);}function _0xc89a16(_0x393a6f,_0x3d4bf6,_0x393586,_0x1db59d){return _0x27e2df(_0x393a6f-0xcb,_0x393a6f- -_0x1bd68e._0x5d4750,_0x393586-0x40,_0x3d4bf6);}this['maxPerConversation']=_0x42bd36?.['maxPerConversation']??0x1f4;}async[_0x27e2df(0x26d,0x158,-0x5a,0x18d)](_0x1d2e1a){const _0x3bdaf0={_0x90fc8a:0x1c5,_0x5560f7:0x67f,_0x201d76:0x756,_0x5debb2:0x3c1},_0x35b4bc={_0x10a2f7:0x19a,_0x50cb63:0x53b,_0x32a512:0x533,_0x48c62b:0x411,_0x5f90fb:0x45e,_0x126f37:0x681,_0x66ef7a:0x5c9,_0x1356c8:0x63a,_0x5073f4:0x683,_0x590910:0x756,_0x29fe71:0x5c6,_0x176868:0x7ca,_0x2169dc:0x4a4,_0x12c199:0x3a8,_0x5b6d2f:0x54a,_0x56add3:0x7cc},_0x4708cb={_0x1f0381:0xfd,_0x585d63:0x4c9},_0x3b48e0={_0x3c4594:0x98};function _0x35511e(_0x3900d0,_0xd8785a,_0x14145c,_0x1032d9){return _0x27e2df(_0x3900d0-_0x3b48e0._0x3c4594,_0x3900d0- -0x3,_0x14145c-0x181,_0x14145c);}function _0x20ab2f(_0x312f4b,_0x585a86,_0x303abe,_0x5710ba){return _0x27e2df(_0x312f4b-0x198,_0x303abe-0x423,_0x303abe-0x16d,_0x5710ba);}return this['writeQueue']=this[_0x35511e(_0x3bdaf0._0x90fc8a,0x2b3,0x2af,0xd4)][_0x20ab2f(0x575,0x710,_0x3bdaf0._0x5560f7,_0x3bdaf0._0x201d76)](async()=>{const _0x2da7da={_0x5b2dce:0x3f3,_0x2d1106:0x54,_0x4bd256:0x1c8};function _0x34f6a8(_0x2e8e7c,_0x4049d0,_0x75c081,_0x525b1f){return _0x35511e(_0x4049d0-_0x2da7da._0x5b2dce,_0x4049d0-_0x2da7da._0x2d1106,_0x2e8e7c,_0x525b1f-_0x2da7da._0x4bd256);}function _0x1382eb(_0x26be73,_0x1061b0,_0x199753,_0x549ef4){return _0x20ab2f(_0x26be73-_0x4708cb._0x1f0381,_0x1061b0-0x54,_0x26be73- -_0x4708cb._0x585d63,_0x1061b0);}try{const _0x19f454=_0x1d2e1a?.[_0x1382eb(-0x8f,-0x20b,0xe8,_0x35b4bc._0x10a2f7)]??'default',_0x22c818=await this[_0x34f6a8(_0x35b4bc._0x50cb63,_0x35b4bc._0x32a512,0x326,0x6f2)][_0x34f6a8(_0x35b4bc._0x48c62b,_0x35b4bc._0x5f90fb,0x5e9,_0x35b4bc._0x126f37)](_0x19f454),_0x15b3e1=[..._0x22c818,{..._0x1d2e1a}],_0x48ac92=this['maxPerConversation'],_0x17665a=_0x48ac92>0x0&&_0x15b3e1[_0x34f6a8(_0x35b4bc._0x66ef7a,_0x35b4bc._0x1356c8,0x4ce,_0x35b4bc._0x5073f4)]>_0x48ac92?_0x15b3e1[_0x34f6a8(0x26f,0x3f5,0x326,0x20b)](_0x15b3e1[_0x34f6a8(_0x35b4bc._0x590910,_0x35b4bc._0x1356c8,_0x35b4bc._0x29fe71,_0x35b4bc._0x176868)]-_0x48ac92):_0x15b3e1;await this[_0x34f6a8(_0x35b4bc._0x2169dc,_0x35b4bc._0x32a512,_0x35b4bc._0x12c199,_0x35b4bc._0x5b6d2f)][_0x34f6a8(0x52e,0x725,0x7f0,_0x35b4bc._0x56add3)](_0x19f454,_0x17665a);}catch{}}),this[_0x20ab2f(_0x3bdaf0._0x5debb2,0x466,0x5eb,0x40d)];}};function parseJSON(_0x3ad868){const _0x303e07={_0x3dacbd:0x595,_0x223f28:0x732,_0x48ec3f:0x5b9},_0x5dab22={_0x343de7:0x258,_0x31af22:0xb5},_0x54d579={_0x55af0a:0x13a,_0xf44168:0x62};function _0x533dc5(_0x1e4672,_0x33c051,_0x5a5677,_0x1c8b87){return _0xadee61(_0x5a5677- -_0x54d579._0x55af0a,_0x33c051,_0x5a5677-_0x54d579._0xf44168,_0x1c8b87-0x145);}function _0x3529c0(_0x6d59fb,_0x1915a9,_0x280b3d,_0x28ceb5){return _0xadee61(_0x1915a9-_0x5dab22._0x343de7,_0x28ceb5,_0x280b3d-_0x5dab22._0x31af22,_0x28ceb5-0x1ca);}try{const _0x526b19=JSON[_0x3529c0(_0x303e07._0x3dacbd,_0x303e07._0x223f28,0x7f7,_0x303e07._0x48ec3f)](_0x3ad868||'{}');if(typeof _0x526b19!=='object'||_0x526b19===null||Array['isArray'](_0x526b19))return{'success':![],'error':_0x3529c0(0x7ec,0x652,0x5d9,0x732)};return{'success':!![],'data':_0x526b19};}catch(_0x19bae9){return{'success':![],'error':_0x19bae9 instanceof Error?_0x19bae9['message']:'Invalid\x20JSON\x20syntax'};}}import{z}from'zod';var bashToolSchema=z[_0x27e2df(-0x8d,0x19f,0x197,0x1a3)]({'cmd':z[_0xadee61(0x48a,0x6a5,0x36a,0x369)]({'message':'cmd\x20must\x20be\x20a\x20non-empty\x20string'})[_0x27e2df(0x256,0x285,0x2b0,0x110)](0x1,_0x27e2df(0x3f4,0x32f,0x2a0,0x136)),'cwd':z[_0x27e2df(0x59a,0x375,0x4bd,0x301)]()['optional'](),'timeoutMs':z[_0x27e2df(0x5b2,0x3ae,0x3de,0x4e6)]()[_0xadee61(0x48d,0x5b2,0x569,0x64a)]()[_0xadee61(0x56b,0x5d8,0x7a0,0x589)]({'message':_0xadee61(0x115,0x184,-0x123,0x1be)})[_0xadee61(0x542,0x5c3,0x482,0x687)](),'description':z[_0xadee61(0x48a,0x2de,0x368,0x264)]()['optional']()}),fileReadSchema=z['object']({'path':z[_0x27e2df(0x3a5,0x375,0x2d4,0x2db)]({'message':_0x27e2df(0x323,0x310,0x27d,0x25d)})[_0xadee61(0x39a,0x40c,0x480,0x1ac)](0x1,_0x27e2df(0x160,0x310,0x3a6,0x447)),'lineStart':z[_0xadee61(0x4c3,0x5a9,0x5c7,0x648)]()[_0x27e2df(0x42c,0x378,0x3a2,0x49d)]()[_0x27e2df(0x365,0x456,0x665,0x254)]({'message':_0x27e2df(0x4,0x55,-0x197,0x225)})[_0x27e2df(0x59b,0x42d,0x494,0x664)](),'lineEnd':z[_0xadee61(0x4c3,0x36c,0x569,0x563)]()[_0xadee61(0x48d,0x39f,0x4f4,0x3d2)]()[_0x27e2df(0x2eb,0x456,0x4a7,0x5b6)]({'message':_0x27e2df(0x2d9,0x152,0x361,-0xce)})[_0xadee61(0x542,0x780,0x41b,0x4f5)](),'description':z[_0xadee61(0x48a,0x658,0x29e,0x641)]()[_0xadee61(0x542,0x5b2,0x4ce,0x396)]()}),fileEditSchema=z['object']({'file_path':z[_0xadee61(0x48a,0x672,0x4cd,0x24f)]({'message':_0x27e2df(0x3e1,0x1bb,-0x43,0x6e)})[_0x27e2df(0x489,0x285,0x488,0x424)](0x1,_0xadee61(0x2d0,0x49b,0x265,0x4d9)),'old_text':z[_0x27e2df(0x357,0x375,0x38c,0x181)]({'message':_0xadee61(0x46e,0x2d3,0x2c1,0x409)}),'new_text':z[_0x27e2df(0x330,0x375,0x3b3,0x264)]({'message':_0xadee61(0x376,0x57c,0x31b,0x405)}),'dry_run':z[_0xadee61(0x182,0x15c,0x1ad,0x378)]()[_0x27e2df(0x5d0,0x42d,0x21f,0x23e)](),'description':z[_0xadee61(0x48a,0x5dc,0x65b,0x5c1)]()['optional']()}),fileNewSchema=z['object']({'file_path':z[_0xadee61(0x48a,0x542,0x269,0x61c)]({'message':_0xadee61(0x2d0,0x9a,0x253,0x2c5)})['min'](0x1,'file_path\x20must\x20be\x20a\x20non-empty\x20string'),'content':z[_0xadee61(0x48a,0x693,0x571,0x60f)]({'message':'content\x20is\x20required'}),'description':z['string']()['optional']()}),lsToolSchema=z[_0x27e2df(0x2a5,0x19f,0x2c2,0x88)]({'path':z['string']()[_0xadee61(0x542,0x451,0x4ef,0x358)](),'limit':z[_0xadee61(0x4c3,0x663,0x485,0x46b)]()[_0xadee61(0x48d,0x655,0x51b,0x412)]()['positive']({'message':_0xadee61(0x447,0x27a,0x2f5,0x2db)})[_0x27e2df(0x3df,0x42d,0x244,0x2cf)](),'description':z[_0x27e2df(0x1b2,0x375,0x32f,0x21c)]()['optional']()}),webSearchSchema=z['object']({'query':z[_0xadee61(0x48a,0x523,0x469,0x435)]({'message':_0x27e2df(0x188,0x1d2,0x309,0x10c)})[_0x27e2df(0xad,0x285,0x126,0x454)](0x1,_0xadee61(0x2e7,0xd9,0x25e,0x313)),'count':z[_0xadee61(0x4c3,0x31a,0x403,0x5f9)]()[_0x27e2df(0x46d,0x378,0x298,0x2af)]()[_0x27e2df(0x33c,0x285,0x2e1,0xf9)](0x1)[_0xadee61(0x12e,0x256,0x2bf,-0x6d)](0x32)[_0xadee61(0x542,0x3a5,0x681,0x614)](),'offset':z[_0x27e2df(0x44e,0x3ae,0x3cb,0x431)]()[_0xadee61(0x48d,0x613,0x4ff,0x4c0)]()['nonnegative']()[_0x27e2df(0x244,0x42d,0x634,0x20f)](),'domains':z[_0x27e2df(0x229,0x151,-0x2a,0xbf)](z[_0x27e2df(0x59c,0x375,0x423,0x259)]())[_0xadee61(0x542,0x706,0x5a5,0x44d)](),'recencyDays':z[_0x27e2df(0x1c5,0x3ae,0x50d,0x310)]()[_0xadee61(0x48d,0x2a9,0x5f4,0x458)]()[_0xadee61(0x56b,0x6e2,0x398,0x57d)]({'message':_0x27e2df(0x1f4,0x30b,0x14a,0x523)})[_0x27e2df(0x465,0x42d,0x237,0x4db)](),'lang':z[_0x27e2df(0x39b,0x375,0x2b1,0x34e)]()[_0x27e2df(0x447,0x42d,0x212,0x401)](),'region':z[_0xadee61(0x48a,0x30a,0x66a,0x633)]()[_0xadee61(0x542,0x44c,0x77e,0x317)](),'safe':z[_0x27e2df(0xbb,0x6d,-0x45,-0x1ac)]()['optional'](),'type':z[_0xadee61(0x26c,0x2fd,0xcf,0x38e)]([_0xadee61(0x3f3,0x359,0x3df,0x50c),_0xadee61(0x43d,0x217,0x5c4,0x60b)])['optional'](),'hydrateMeta':z[_0xadee61(0x182,0x15b,0x12e,0x31f)]()[_0x27e2df(0x628,0x42d,0x414,0x595)](),'description':z['string']()[_0xadee61(0x542,0x75f,0x567,0x460)]()}),webFetchSchema=z[_0x27e2df(0xd0,0x19f,0x88,0x362)]({'url':z[_0xadee61(0x48a,0x4f8,0x5e0,0x2ba)]({'message':_0x27e2df(0x583,0x3b0,0x175,0x2ed)})['url'](_0xadee61(0x4c5,0x698,0x343,0x60a)),'description':z[_0x27e2df(0x2df,0x375,0x5b4,0x336)]()[_0xadee61(0x542,0x323,0x343,0x637)]()}),todoWriteSchema=z[_0x27e2df(0x39e,0x19f,-0x35,0x28b)]({'todos':z['array'](z[_0x27e2df(0x2d9,0x19f,0x2d6,0x13f)]({'id':z[_0xadee61(0x48a,0x332,0x3e9,0x3a3)]()['min'](0x1),'content':z['string']()['min'](0x1),'status':z[_0x27e2df(0x338,0x157,0x38d,0x6f)](['pending',_0x27e2df(0x3b2,0x1d0,0x134,0x196),'completed']),'priority':z[_0x27e2df(0x1cc,0x157,0xa0,0x117)]([_0x27e2df(0x86,0xd6,0x279,0x26),_0xadee61(0x281,0x116,0x60,0x3f9),'low']),'createdAt':z[_0x27e2df(0x4b9,0x375,0x2d4,0x205)]()[_0x27e2df(0x5be,0x42d,0x27b,0x63a)]()}))[_0x27e2df(0x450,0x285,0x42c,0x466)](0x1,_0xadee61(0x317,0x35e,0x322,0x3ce)),'description':z[_0xadee61(0x48a,0x607,0x30f,0x29a)]()[_0x27e2df(0x651,0x42d,0x52b,0x52f)]()}),assignTaskSchema=z[_0xadee61(0x2b4,0xef,0x295,0x119)]({'agent':z[_0x27e2df(0x5aa,0x375,0x45d,0x480)]({'message':_0x27e2df(-0x72,0xc6,-0x16e,0x1da)})['min'](0x1,'agent\x20must\x20be\x20a\x20non-empty\x20string'),'task':z[_0x27e2df(0x1b2,0x375,0x22c,0x35b)]({'message':_0x27e2df(0x89,0x1eb,0x38c,0x110)})[_0x27e2df(0x1fb,0x285,0xd9,0x11d)](0x1,_0x27e2df(0x270,0x1eb,0x331,0x32d)),'description':z['string']({'message':_0x27e2df(0x2e3,0x31d,0x477,0x1a0)})[_0xadee61(0x39a,0x23e,0x2da,0x395)](0x1,_0xadee61(0x432,0x335,0x20c,0x574))}),globToolSchema=z[_0xadee61(0x2b4,0x2f9,0x2cd,0x467)]({'pattern':z[_0xadee61(0x48a,0x5ba,0x6ba,0x489)]({'message':'pattern\x20must\x20be\x20a\x20non-empty\x20string'})['min'](0x1,_0xadee61(0x2de,0x1b1,0x108,0x1af)),'path':z[_0x27e2df(0x22d,0x375,0x3e7,0x4e8)]()['optional'](),'description':z[_0x27e2df(0x2b3,0x375,0x474,0x454)]()['optional']()}),grepToolSchema=z['object']({'pattern':z[_0xadee61(0x48a,0x261,0x26a,0x57b)]({'message':_0xadee61(0x2de,0x28b,0x3fe,0x4b0)})['min'](0x1,_0x27e2df(0x31e,0x1c9,0x1fa,-0x5e)),'path':z[_0x27e2df(0x27f,0x375,0x203,0x481)]()[_0xadee61(0x542,0x4c7,0x315,0x42f)](),'include':z[_0x27e2df(0x2f9,0x375,0x2eb,0x3b8)]()[_0xadee61(0x542,0x578,0x5e8,0x685)](),'description':z[_0x27e2df(0x3bd,0x375,0x2e8,0x3fc)]()[_0x27e2df(0x4d2,0x42d,0x635,0x631)]()}),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(_0x5a6026,_0x5a8a12){const _0x41d0dd={_0xb57fa3:0xac,_0x379a62:0x98,_0x336287:0x79,_0x4d7cf7:0x31d,_0x2f4a2d:0x404,_0x2ff242:0x3f7,_0x1dab50:0x33e,_0x384f88:0x206},_0x3a269e={_0x5ab594:0x117},_0x49abb8={_0x1978c1:0x257,_0x207b41:0x1b};function _0x6c66b0(_0x470d9a,_0x20b584,_0x2ab15b,_0x19bf23){return _0xadee61(_0x20b584- -_0x49abb8._0x1978c1,_0x470d9a,_0x2ab15b-_0x49abb8._0x207b41,_0x19bf23-0x174);}const _0x5e70fc=toolSchemas[_0x5a6026];function _0x40bd13(_0x26f01a,_0x5a2f29,_0x2bb88b,_0x4d9c66){return _0xadee61(_0x4d9c66- -_0x3a269e._0x5ab594,_0x26f01a,_0x2bb88b-0x64,_0x4d9c66-0xc6);}if(!_0x5e70fc)return{'valid':!![],'data':_0x5a8a12};const _0x51e20c=_0x5e70fc[_0x6c66b0(0x213,_0x41d0dd._0xb57fa3,-0x3c,_0x41d0dd._0x379a62)](_0x5a8a12);if(_0x51e20c[_0x6c66b0(0x78,-_0x41d0dd._0x336287,-0x25,-0xa8)])return{'valid':!![],'data':_0x51e20c[_0x40bd13(0x22b,0x540,0x3e8,_0x41d0dd._0x4d7cf7)]};const _0x39aa97=_0x51e20c[_0x40bd13(0x52e,_0x41d0dd._0x2f4a2d,0x5af,_0x41d0dd._0x2ff242)][_0x40bd13(0x166,_0x41d0dd._0x1dab50,_0x41d0dd._0x384f88,0x39e)]['map'](_0x701ebe=>_0x701ebe[_0x6c66b0(0x1a,0x179,0x21b,-0x31)]['join']('.')+':\x20'+_0x701ebe['message']);return{'valid':![],'errors':_0x39aa97};}var toolValidators={'bash_tool':_0x41bbbe=>validateToolParams(_0xadee61(0x141,0x27a,-0x97,0x21b),_0x41bbbe),'file_read':_0x446094=>validateToolParams(_0xadee61(0x506,0x619,0x535,0x2ed),_0x446094),'file_edit':_0x563cba=>validateToolParams(_0xadee61(0x422,0x4fa,0x65c,0x509),_0x563cba),'file_new':_0x2c020d=>validateToolParams(_0xadee61(0x426,0x240,0x546,0x609),_0x2c020d),'ls_tool':_0x61837f=>validateToolParams(_0x27e2df(0x53,0x7,0x1bd,0x44),_0x61837f),'web_search':_0x38794d=>validateToolParams(_0xadee61(0x2ea,0x4e2,0xda,0x399),_0x38794d),'web_fetch':_0x41ae5f=>validateToolParams(_0xadee61(0x458,0x2d9,0x535,0x40d),_0x41ae5f),'todo_write':_0x229bd2=>validateToolParams(_0xadee61(0xff,0x106,-0x69,-0x138),_0x229bd2),'assign_task':_0x3308c9=>validateToolParams(_0xadee61(0x15e,0x294,0x5b,0x23b),_0x3308c9),'glob_tool':_0x3914b1=>validateToolParams(_0x27e2df(0x399,0x207,0xec,0x3a2),_0x3914b1),'grep_tool':_0x2df246=>validateToolParams('grep_tool',_0x2df246)};function convertToolCall(_0x2c8a91,_0x3a0149={}){const _0x4616bd={_0x241c24:0x2b8,_0x1b2c90:0x14f,_0x163df7:0x110,_0x3095ed:0xf,_0x5be4ea:0xaf,_0x8d44b8:0x1e9,_0x2e207a:0x291,_0x4b1cdb:0x18,_0x4578e7:0x42d,_0x31f32c:0x407,_0xaa1234:0x27c,_0x454d32:0xfa,_0x83bd2e:0x245,_0x3f2933:0x31f,_0x5de5e6:0x218,_0x169077:0x169,_0xcb09e6:0x2b8,_0x48607f:0x430,_0xaebb51:0x290,_0x48beaa:0x398,_0x5b5723:0x2f9,_0x502ed0:0xa0,_0x4ac0:0x1b7,_0x3dd1dd:0x2f,_0x5911fe:0x379,_0x10deed:0x2c3,_0x31ed57:0x2bd,_0x254fd3:0x1d9,_0x4710bd:0x391,_0x296395:0x3a2,_0x409340:0xd2,_0x515e46:0x4b0,_0x47dff6:0x3d7,_0x246c6c:0x5c2,_0xaaaee5:0x11f,_0x19e8f6:0xab,_0x1fb2de:0x3f,_0xe1ae9b:0x19c,_0x528bae:0x4e0,_0xff726e:0x387,_0x14a90d:0x4df,_0x160256:0x282,_0x1214df:0x12f,_0x1bcd90:0xe3,_0x4f713f:0x3ea,_0x2619c9:0x389,_0x87857c:0x46f},_0x1e78f4={_0x459073:0x215,_0x32da99:0x18d},_0x450464={_0x1c1abc:0x142},{strict:strict=![],availableTools:_0x313484}=_0x3a0149;if(_0x313484&&!_0x313484[_0x11ded6(0x157,0x33f,_0x4616bd._0x241c24,0x31f)](_0x2c8a91['function']['name']))return{'valid':![],'error':_0x11ded6(-0x87,_0x4616bd._0x1b2c90,0x92,_0x4616bd._0x163df7)+_0x2c8a91[_0x11ded6(_0x4616bd._0x3095ed,-0x243,-_0x4616bd._0x5be4ea,-0x18d)][_0x105103(0x3d7,0x403,0x336,0x24c)]+_0x11ded6(-0x1bc,_0x4616bd._0x8d44b8,-0x1c,0xb7)+Array[_0x11ded6(_0x4616bd._0x2e207a,-_0x4616bd._0x4b1cdb,0xa2,-0x191)](_0x313484)['join'](',\x20'),'errorType':_0x105103(_0x4616bd._0x4578e7,0x32e,_0x4616bd._0x31f32c,_0x4616bd._0xaa1234),'callId':_0x2c8a91['id'],'toolName':_0x2c8a91[_0x105103(0x218,_0x4616bd._0x454d32,0x254,0x178)][_0x11ded6(_0x4616bd._0x83bd2e,-0x9c,0x110,_0x4616bd._0x3f2933)]};function _0x105103(_0x380665,_0x30a996,_0x4751d1,_0x638b6e){return _0xadee61(_0x380665-0xb2,_0x4751d1,_0x4751d1-0x1c2,_0x638b6e-_0x450464._0x1c1abc);}const _0xda3a97=parseJSON(_0x2c8a91[_0x105103(_0x4616bd._0x5de5e6,_0x4616bd._0x169077,_0x4616bd._0xcb09e6,_0x4616bd._0x48607f)]['arguments']);function _0x11ded6(_0x482054,_0x173fc9,_0x1f1491,_0x1a27f1){return _0xadee61(_0x1f1491- -_0x1e78f4._0x459073,_0x173fc9,_0x1f1491-0x54,_0x1a27f1-_0x1e78f4._0x32da99);}if(!_0xda3a97[_0x105103(_0x4616bd._0xaebb51,0x3fa,0x349,_0x4616bd._0x48beaa)])return{'valid':![],'error':_0xda3a97[_0x11ded6(0x507,0x355,_0x4616bd._0x5b5723,0x3b0)],'errorType':_0x11ded6(_0x4616bd._0x502ed0,0x475,0x2c5,_0x4616bd._0x4ac0),'callId':_0x2c8a91['id'],'toolName':_0x2c8a91['function']['name'],'rawArguments':_0x2c8a91[_0x105103(0x218,0x321,_0x4616bd._0x3dd1dd,_0x4616bd._0x5911fe)]['arguments']};const _0x2db23f=_0x2c8a91['function'][_0x11ded6(_0x4616bd._0x10deed,0x273,_0x4616bd._0x163df7,0x99)],_0x47d3b0=_0xda3a97['data'],_0x3bbb20=toolValidators[_0x2db23f];if(_0x3bbb20){const _0xafd45d=_0x3bbb20(_0x47d3b0);if(!_0xafd45d['valid']){if(strict)return{'valid':![],'error':_0x105103(_0x4616bd._0x31ed57,0x221,0x152,_0x4616bd._0x254fd3)+_0xafd45d[_0x105103(0x1a9,_0x4616bd._0x4710bd,_0x4616bd._0x296395,_0x4616bd._0x409340)][_0x105103(0x4cf,_0x4616bd._0x515e46,0x350,0x2e2)](';\x20'),'errorType':'validation','callId':_0x2c8a91['id'],'toolName':_0x2c8a91['function'][_0x105103(_0x4616bd._0x47dff6,0x524,0x4ef,_0x4616bd._0x246c6c)],'rawArguments':_0x2c8a91[_0x11ded6(-_0x4616bd._0xaaaee5,-0x2c6,-0xaf,-0xd1)][_0x11ded6(_0x4616bd._0x19e8f6,0x18b,_0x4616bd._0x1fb2de,-_0x4616bd._0xe1ae9b)]};console[_0x105103(_0x4616bd._0x528bae,_0x4616bd._0xff726e,_0x4616bd._0x14a90d,0x69f)](_0x105103(0x3bd,0x277,_0x4616bd._0x160256,0x37c)+_0x2db23f+':',_0xafd45d['errors']);}}return{'valid':!![],'invocation':{'id':_0x2c8a91['id'],'name':_0x2c8a91[_0x105103(0x218,_0x4616bd._0x1214df,_0x4616bd._0x1bcd90,_0x4616bd._0x4f713f)]['name'],'parameters':_0x47d3b0,'editInstruction':_0x2c8a91[_0x105103(_0x4616bd._0x2619c9,0x176,_0x4616bd._0x87857c,0x175)]}};}function convertToolCalls(_0x2dc944,_0x3e9c40={}){const _0x5e5d89={_0x3a5e2d:0x524,_0x20513b:0x493,_0x2a3806:0x673,_0x5218c3:0x51c,_0x3455fb:0x528,_0x326595:0x658,_0xd2bc6:0x7e9,_0x309501:0x653,_0x57d2b0:0x72c,_0x4411e9:0x6fd,_0x13d5cc:0x97b,_0x202e0e:0x7d9,_0x3cf980:0x230,_0x1e979a:0x3d8,_0x5383b8:0xa71,_0x23fd84:0x6e2,_0xf173c4:0x57b,_0x36f141:0xa00,_0x2c5888:0x9d5,_0x372080:0x80e,_0x3e0515:0x893},_0x2e9408={_0x39114e:0x2cb,_0x59b9f7:0x103,_0x240495:0x1d7},{strict:strict=![],throwOnError:throwOnError=!![]}=_0x3e9c40,_0x32bcd8=[];for(const _0x5df7ef of _0x2dc944){const _0xb67aec=convertToolCall(_0x5df7ef,{'strict':strict});if(!_0xb67aec[_0x1724ae(0x7cd,_0x5e5d89._0x3a5e2d,_0x5e5d89._0x20513b,_0x5e5d89._0x2a3806)]){const _0x2782e5=_0x1724ae(0x632,_0x5e5d89._0x5218c3,0x768,_0x5e5d89._0x3455fb)+_0xb67aec[_0x1724ae(0x4f7,_0x5e5d89._0x20513b,0x706,_0x5e5d89._0x326595)]+'\x20('+_0xb67aec[_0x2b6566(_0x5e5d89._0xd2bc6,_0x5e5d89._0x309501,0x45b,_0x5e5d89._0x57d2b0)]+'):\x20'+_0xb67aec[_0x2b6566(0xa75,0x8a0,0x759,0x9f3)];if(throwOnError)throw new Error(_0x2782e5);console[_0x1724ae(_0x5e5d89._0x4411e9,_0x5e5d89._0x13d5cc,0x7fa,_0x5e5d89._0x202e0e)](_0x1724ae(0x464,_0x5e5d89._0x3cf980,0x300,_0x5e5d89._0x1e979a)+_0x2782e5),_0x32bcd8[_0x2b6566(_0x5e5d89._0x5383b8,0x8d5,_0x5e5d89._0x23fd84,0xae0)]({'id':_0xb67aec[_0x1724ae(0x6fb,_0x5e5d89._0xf173c4,0x854,0x658)],'name':_0xb67aec[_0x2b6566(0x553,0x653,0x862,0x5b6)],'parameters':{},'editInstruction':_0x5df7ef['editInstruction']});}else _0x32bcd8[_0x1724ae(_0x5e5d89._0x36f141,0x63c,_0x5e5d89._0x2c5888,_0x5e5d89._0x372080)](_0xb67aec[_0x2b6566(0x971,_0x5e5d89._0x3e0515,0x81b,0x94e)]);}function _0x2b6566(_0x3258c5,_0x3859fc,_0x2974b4,_0x1daf67){return _0xadee61(_0x3859fc-0x392,_0x1daf67,_0x2974b4-0x1c8,_0x1daf67-0x87);}function _0x1724ae(_0x16b259,_0x44d61c,_0x52b763,_0x1e0582){return _0xadee61(_0x1e0582-_0x2e9408._0x39114e,_0x44d61c,_0x52b763-_0x2e9408._0x59b9f7,_0x1e0582-_0x2e9408._0x240495);}return _0x32bcd8;}function convertToolCallsWithErrorHandling(_0x59a2f6,_0xeed8c2={}){const _0x146153={_0x41dd8b:0x5cc,_0xd64e7e:0x6be,_0xce6aba:0xa52,_0x4a123c:0x515,_0x15ad5d:0x689,_0x18236b:0x479,_0x12accb:0x3cb,_0x26cd51:0x320,_0x14bc53:0x535,_0x11c5c2:0x594,_0x927c3b:0x6a8,_0x2855b2:0x4b7,_0x2c1867:0x5d5,_0x3b17bd:0x675},_0xca901a={_0x37865b:0x1f2,_0x533756:0x1ca},{strict:strict=![],availableTools:_0x23c7dd}=_0xeed8c2;function _0x1865f4(_0xb1a080,_0x414b86,_0x222d7c,_0x16b5ce){return _0x27e2df(_0xb1a080-_0xca901a._0x37865b,_0x414b86-0x3e8,_0x222d7c-_0xca901a._0x533756,_0x16b5ce);}const _0x4d4f9f=[];function _0x52da94(_0x3ea594,_0x382233,_0xe8c1a5,_0x23389f){return _0xadee61(_0x23389f-0x316,_0x3ea594,_0xe8c1a5-0xf7,_0x23389f-0x11e);}const _0x5861a9=[];for(const _0x22a541 of _0x59a2f6){const _0x232389=convertToolCall(_0x22a541,{'strict':strict,'availableTools':_0x23c7dd});if(!_0x232389[_0x52da94(0x54b,_0x146153._0x41dd8b,0x5a3,_0x146153._0xd64e7e)]){const _0x48988c=_0x232389[_0x52da94(0x80a,0x716,_0x146153._0xce6aba,0x87c)]==='validation'&&_0x23c7dd&&!_0x23c7dd['has'](_0x22a541['function'][_0x1865f4(_0x146153._0x4a123c,0x5f8,_0x146153._0x15ad5d,_0x146153._0x18236b)])?_0x1865f4(0x371,_0x146153._0x12accb,0x26b,_0x146153._0x26cd51):_0x232389['errorType'];_0x5861a9[_0x52da94(0x98e,0x687,0x951,0x859)]({'id':_0x232389[_0x1865f4(0x79c,0x660,0x7fa,0x64d)],'name':_0x232389[_0x1865f4(_0x146153._0x14bc53,_0x146153._0x11c5c2,_0x146153._0x927c3b,_0x146153._0x2855b2)],'error':_0x232389['error'],'errorType':_0x48988c});}else _0x4d4f9f['push'](_0x232389['invocation']);}return{'success':!![],'invocations':_0x4d4f9f,'errors':_0x5861a9[_0x52da94(0x51f,0x899,_0x146153._0x2c1867,_0x146153._0x3b17bd)]>0x0?_0x5861a9:void 0x0};}var removeAttachmentTokens=(_0x51c5c6,_0x1fb6e8)=>{const _0x3be9a0={_0x404e70:0x388,_0x400732:0x29f},_0x2cfb0b={_0x159c9e:0xc9,_0xcbee34:0x7f,_0x537538:0x118,_0x244b63:0x36e,_0x364a62:0x168,_0x105151:0xab,_0x451e40:0x7b,_0x34ff75:0x7f,_0x3ce2e1:0x148,_0x54601d:0x775},_0x2829b3={_0x40f4ca:0x477,_0x5263ab:0x17c},_0x5c51ed={_0x2b57a9:0x1d8};function _0x394d85(_0x2348a8,_0x245fcd,_0x118f39,_0x437a0c){return _0x27e2df(_0x2348a8-0x3f,_0x2348a8- -0xa,_0x118f39-_0x5c51ed._0x2b57a9,_0x118f39);}return _0x1fb6e8[_0x394d85(_0x3be9a0._0x404e70,0x542,0x421,_0x3be9a0._0x400732)]((_0x24e49e,_0x325f4c)=>{const _0x517c34={_0x11f5f9:0x39};function _0x32c5c9(_0xd8e34e,_0x56fb66,_0xe352fb,_0x2822ce){return _0x394d85(_0xe352fb-_0x2829b3._0x40f4ca,_0x56fb66-0x1eb,_0x2822ce,_0x2822ce-_0x2829b3._0x5263ab);}function _0x5d5dc8(_0x11439a,_0x3271e7,_0x2b80ff,_0x2791af){return _0x394d85(_0x3271e7- -0x241,_0x3271e7-0x119,_0x11439a,_0x2791af-_0x517c34._0x11f5f9);}if(!_0x325f4c[_0x5d5dc8(-_0x2cfb0b._0x159c9e,_0x2cfb0b._0xcbee34,0xfd,-_0x2cfb0b._0x537538)])return _0x24e49e;return _0x24e49e[_0x5d5dc8(_0x2cfb0b._0x244b63,_0x2cfb0b._0x364a62,_0x2cfb0b._0x105151,0x102)](_0x325f4c[_0x5d5dc8(_0x2cfb0b._0x451e40,_0x2cfb0b._0x34ff75,-0x43,-_0x2cfb0b._0x3ce2e1)])[_0x32c5c9(0x674,0x69c,_0x2cfb0b._0x54601d,0x637)]('');},_0x51c5c6);},makeImagePart=_0x15fdae=>{const _0x3c585c={_0x182cda:0x20f,_0x52bab3:0x1a5,_0x25f795:0x134,_0x53497d:0x3af,_0x416dcc:0x18f,_0x862d2a:0x215,_0x306a58:0x1f2,_0x4730f6:0x345,_0x113076:0x73,_0x2e7813:0x14d,_0x4ec83a:0xb,_0x1bc7d0:0x140,_0x144b0c:0x16a,_0x9f2910:0x1ce,_0x55854c:0x1fb,_0x55cbba:0x264,_0x4f089a:0x1af,_0x16b816:0x34,_0x2f48ce:0x114,_0xb74a3c:0x65},_0x49709a={_0x344bff:0x7a};function _0x2cba35(_0x5978c2,_0x4c34ef,_0x68f585,_0x334c5a){return _0x27e2df(_0x5978c2-0x1c0,_0x4c34ef- -0x1b5,_0x68f585-0x1a8,_0x68f585);}function _0x41a5b1(_0x25f47c,_0x8bdece,_0x555beb,_0x572b96){return _0xadee61(_0x572b96- -0x196,_0x8bdece,_0x555beb-_0x49709a._0x344bff,_0x572b96-0x9f);}const _0x49ae39=_0x15fdae[_0x2cba35(_0x3c585c._0x182cda,_0x3c585c._0x52bab3,0x1e4,0x17b)]??(_0x15fdae[_0x41a5b1(_0x3c585c._0x25f795,0x3b9,_0x3c585c._0x53497d,_0x3c585c._0x416dcc)]?_0x2cba35(0x3c,_0x3c585c._0x862d2a,_0x3c585c._0x306a58,0x238)+_0x15fdae[_0x41a5b1(0x14b,_0x3c585c._0x4730f6,_0x3c585c._0x113076,0x18f)]:void 0x0);return{'type':_0x2cba35(-0x18c,-0xc0,-_0x3c585c._0x2e7813,_0x3c585c._0x4ec83a),'data':_0x15fdae[_0x2cba35(_0x3c585c._0x1bc7d0,_0x3c585c._0x144b0c,0x2d2,_0x3c585c._0x9f2910)],'mimeType':_0x15fdae[_0x2cba35(_0x3c585c._0x55854c,0x88,_0x3c585c._0x55cbba,_0x3c585c._0x4f089a)],'altText':_0x49ae39,'source':_0x15fdae[_0x2cba35(0x32,_0x3c585c._0x16b816,0x154,-_0x3c585c._0x2f48ce)],'name':_0x15fdae[_0x2cba35(_0x3c585c._0xb74a3c,0x5b,0xfb,0xbe)]};},buildMessageParts=(_0x29def0,_0x1d5757)=>{const _0x83a130={_0x1a9d15:0x199,_0x3cafaa:0x265,_0x30f0c6:0x2c9,_0x362291:0x491,_0x5ced49:0x1a4,_0x570bb7:0xf4,_0x79e11:0x3a0,_0x163d7b:0x23e,_0x323a3e:0x6d,_0x23caf3:0x76,_0x3ccd14:0xf3,_0x49a8d0:0x333,_0x2e6cd1:0x33d,_0x186d9f:0x296,_0x25184b:0x11c,_0x4e0597:0x374,_0x50a499:0x40c,_0x36b46f:0x52,_0x3d1ed9:0x3a,_0xcb9bc3:0x16b,_0x2a3e04:0x176,_0x31173f:0x296,_0x29c665:0x1ab,_0x4062f3:0x47b,_0x220279:0x118,_0x38986c:0x386,_0x43a420:0x2e0},_0x245507={_0x415595:0x7f,_0x120491:0xa4},_0x1c56ac={_0x55381a:0x4d,_0x2ecf70:0x21};if(_0x1d5757[_0x532c16(_0x83a130._0x1a9d15,_0x83a130._0x3cafaa,0x431,_0x83a130._0x30f0c6)]===0x0)return _0x29def0?[{'type':'text','text':_0x29def0}]:[];let _0x16cb67=_0x29def0;const _0x1c1081=[],_0x429885=[];for(const _0x2ea5bb of _0x1d5757){const _0x5e9d27=_0x2ea5bb['token'];if(!_0x5e9d27){_0x429885[_0x1d8fea(0x47b,0x497,0x27c,_0x83a130._0x362291)](_0x2ea5bb);continue;}const _0x29a993=_0x16cb67[_0x532c16(_0x83a130._0x5ced49,_0x83a130._0x570bb7,_0x83a130._0x79e11,0x1a6)](_0x5e9d27);if(_0x29a993===-0x1){_0x429885['push'](_0x2ea5bb);continue;}const _0x400270=removeAttachmentTokens(_0x16cb67[_0x1d8fea(0x52,_0x83a130._0x163d7b,_0x83a130._0x323a3e,_0x83a130._0x23caf3)](0x0,_0x29a993),_0x1d5757);_0x400270[_0x532c16(_0x83a130._0x3ccd14,0x10a,0x2ab,_0x83a130._0x30f0c6)]>0x0&&_0x1c1081['push']({'type':_0x1d8fea(_0x83a130._0x49a8d0,_0x83a130._0x2e6cd1,_0x83a130._0x186d9f,_0x83a130._0x25184b),'text':_0x400270}),_0x1c1081[_0x1d8fea(0x47b,0x44a,_0x83a130._0x4e0597,_0x83a130._0x50a499)](makeImagePart(_0x2ea5bb)),_0x16cb67=_0x16cb67[_0x1d8fea(_0x83a130._0x36b46f,_0x83a130._0x3d1ed9,0x13c,_0x83a130._0xcb9bc3)](_0x29a993+_0x5e9d27[_0x1d8fea(0x297,0x64,0x493,_0x83a130._0x2a3e04)]);}function _0x1d8fea(_0x1e2cad,_0x57cb1f,_0xa466b6,_0x479a99){return _0x27e2df(_0x1e2cad-0x137,_0x1e2cad-_0x1c56ac._0x55381a,_0xa466b6-_0x1c56ac._0x2ecf70,_0xa466b6);}const _0x1daf50=removeAttachmentTokens(_0x16cb67,_0x1d5757);function _0x532c16(_0x204348,_0x556fbe,_0x25e9fc,_0x2351dc){return _0x27e2df(_0x204348-0x67,_0x2351dc-_0x245507._0x415595,_0x25e9fc-_0x245507._0x120491,_0x204348);}_0x1daf50[_0x532c16(_0x83a130._0x31173f,0x35c,_0x83a130._0x29c665,_0x83a130._0x30f0c6)]>0x0&&_0x1c1081[_0x1d8fea(_0x83a130._0x4062f3,0x429,0x354,0x3a0)]({'type':_0x1d8fea(0x333,0x191,_0x83a130._0x220279,0x300),'text':_0x1daf50});for(const _0x25b2ba of _0x429885){_0x1c1081[_0x1d8fea(0x47b,_0x83a130._0x38986c,0x3e8,_0x83a130._0x43a420)](makeImagePart(_0x25b2ba));}return _0x1c1081;},resolveDisplayText=(_0x58e72f,_0x3e70d3,_0x20c79f)=>{const _0x48d72f={_0x2d1b4d:0x360,_0x194b8b:0x39e,_0x47e7ce:0x163},_0x1a4ee0={_0x105318:0x588,_0x1ad463:0x7cb,_0x3ce5ed:0x492,_0x3156da:0x376,_0xc214e8:0x63,_0x6f7540:0x244,_0x6f8dff:0x280,_0x2a5133:0x372,_0x248cb2:0x1e1,_0x29f453:0x6eb,_0x38dfbe:0x485,_0x5ce6d1:0x3ea,_0x5e0740:0x363,_0x646065:0x526,_0x61b775:0x46a,_0x2a555b:0x66b},_0x4d9d9a={_0x27adb7:0x26a,_0x1b0877:0x66,_0x36e77e:0x44};function _0x1aba1f(_0x869dbd,_0x48479a,_0x32a77b,_0xe5fb90){return _0xadee61(_0xe5fb90- -_0x4d9d9a._0x27adb7,_0x48479a,_0x32a77b-_0x4d9d9a._0x1b0877,_0xe5fb90-_0x4d9d9a._0x36e77e);}if(_0x20c79f&&_0x20c79f[_0x1aba1f(-0x1f8,-_0x48d72f._0x2d1b4d,-_0x48d72f._0x194b8b,-_0x48d72f._0x47e7ce)]()['length']>0x0)return _0x20c79f;let _0xfd0076=_0x58e72f;return _0x3e70d3['forEach']((_0x57b120,_0x540d99)=>{const _0x5671eb={_0x2da5cb:0x8e,_0x552b9f:0x3e};function _0x59367e(_0x4c6c7e,_0x58b166,_0x5b83b4,_0x32d091){return _0x1aba1f(_0x4c6c7e-0x44,_0x4c6c7e,_0x5b83b4-0xc9,_0x5b83b4-0x1b0);}const _0x570ec8=_0x57b120[_0x560672(0x609,_0x1a4ee0._0x105318,_0x1a4ee0._0x1ad463,0x631)]??_0x57b120['altText']??_0x59367e(0x477,0x3da,0x453,0x645)+(_0x540d99+0x1);function _0x560672(_0xea8edc,_0x12367e,_0xe444c5,_0x383d83){return _0x1aba1f(_0xea8edc-_0x5671eb._0x2da5cb,_0xe444c5,_0xe444c5-_0x5671eb._0x552b9f,_0x383d83-0x576);}const _0x56a9aa=_0x59367e(0x3e0,0x3dc,_0x1a4ee0._0x3ce5ed,_0x1a4ee0._0x3156da)+_0x570ec8+']';_0x57b120['token']&&_0xfd0076[_0x59367e(_0x1a4ee0._0xc214e8,_0x1a4ee0._0x6f7540,_0x1a4ee0._0x6f8dff,0x20d)](_0x57b120[_0x59367e(_0x1a4ee0._0x2a5133,_0x1a4ee0._0x248cb2,0x325,0x4f6)])?_0xfd0076=_0xfd0076['split'](_0x57b120[_0x560672(0x84d,0x866,0x6cf,_0x1a4ee0._0x29f453)])[_0x59367e(_0x1a4ee0._0x38dfbe,_0x1a4ee0._0x5ce6d1,_0x1a4ee0._0x5e0740,0x354)](_0x56a9aa):_0xfd0076=_0xfd0076[_0x560672(0x533,_0x1a4ee0._0x646065,_0x1a4ee0._0x61b775,_0x1a4ee0._0x2a555b)]>0x0?_0xfd0076+'\x20'+_0x56a9aa:_0x56a9aa;}),_0xfd0076;},AgentOrchestrator=class{constructor(_0x5571e7,_0x2b15d0){const _0x192600={_0x1c30d8:0x5c6,_0x171e68:0x6e5,_0x382d66:0x731,_0x169b97:0x639,_0xd9fdf8:0x46b,_0x48e922:0x7fa,_0xcb82c:0x622,_0x30a122:0x2f5,_0x260438:0x4d5,_0x1249eb:0x3a6,_0x5d2048:0x2f4,_0x46dc69:0x27a,_0x53a8ce:0x41e,_0x3f7c91:0x343,_0x1e817f:0x4de,_0x57f9cd:0x213,_0xc4f8a3:0x507,_0x50952e:0x64c,_0x12bb30:0x581,_0x46e7b4:0x316,_0x2a2fcd:0x4dd,_0x14fce4:0x97c,_0x2ba236:0x886,_0x2010f1:0x73c,_0x407f4e:0x1dc,_0x3d0fec:0x1ff,_0x29b0f0:0x609,_0x65e48e:0x646,_0x2c671e:0x3ce,_0x252e9e:0x543,_0x2b3626:0x779,_0x5db3fc:0x439,_0x178644:0x9c2,_0x2ad447:0xa6f,_0x46e38f:0x8ff,_0x5914e3:0x7d6},_0x3b93de={_0x2f4eb0:0x5c,_0x2a7ab1:0xbc},_0x58db77={_0x32b17f:0x147};this[_0x423b4d(_0x192600._0x1c30d8,_0x192600._0x171e68,_0x192600._0x382d66,0x5bf)]=_0x5571e7,this[_0x423b4d(_0x192600._0x169b97,_0x192600._0xd9fdf8,_0x192600._0x48e922,_0x192600._0xcb82c)]=_0x2b15d0['memory'],this['tools']=_0x2b15d0[_0x423b4d(0x506,_0x192600._0x30a122,0x6df,_0x192600._0x260438)];function _0x423b4d(_0x3af686,_0x2eff87,_0x11cc24,_0x4039ca){return _0x27e2df(_0x3af686-_0x58db77._0x32b17f,_0x4039ca-0x4df,_0x11cc24-0x5a,_0x11cc24);}this[_0x89342(0x68,_0x192600._0x1249eb,0xe4,0x27a)]=_0x2b15d0[_0x89342(0x221,0x63,_0x192600._0x5d2048,_0x192600._0x46dc69)],this[_0x423b4d(_0x192600._0x53a8ce,_0x192600._0x3f7c91,0x2a3,_0x192600._0x1e817f)]=_0x2b15d0['context']??this['context'],this['ids']=_0x2b15d0[_0x89342(0x15d,0x1e7,0x445,_0x192600._0x57f9cd)]??this[_0x423b4d(_0x192600._0xc4f8a3,_0x192600._0x50952e,_0x192600._0x12bb30,0x639)];function _0x89342(_0xf921f3,_0x24e2b5,_0x1ffc45,_0x25b529){return _0xadee61(_0x25b529- -_0x3b93de._0x2f4eb0,_0x24e2b5,_0x1ffc45-0x18a,_0x25b529-_0x3b93de._0x2a7ab1);}this['clock']=_0x2b15d0[_0x89342(_0x192600._0x46e7b4,_0x192600._0x2a2fcd,0x26b,0x3f0)]??this[_0x423b4d(_0x192600._0x14fce4,_0x192600._0x2ba236,_0x192600._0x2010f1,0x816)],this['cost']=_0x2b15d0['cost']??this[_0x89342(_0x192600._0x407f4e,0x282,0x3e8,_0x192600._0x3d0fec)],this[_0x423b4d(0x83d,_0x192600._0x29b0f0,0x7a5,_0x192600._0x65e48e)]=_0x2b15d0[_0x89342(0x456,_0x192600._0x2c671e,0x41b,0x220)]??this[_0x423b4d(_0x192600._0x252e9e,_0x192600._0x2b3626,0x434,0x646)],this['metrics']=_0x2b15d0[_0x89342(0x5e7,_0x192600._0x5db3fc,0x59a,0x4d9)]??this[_0x423b4d(_0x192600._0x178644,_0x192600._0x2ad447,0x86e,_0x192600._0x46e38f)],this['events']=_0x2b15d0['events']??this[_0x423b4d(0x885,0x852,0x607,_0x192600._0x5914e3)];}[_0xadee61(0x1f7,0x437,0x21e,0x2b8)]=new Map();[_0xadee61(0x114,0xa1,-0x60,-0x115)]=new SimpleContextBuilder();[_0x27e2df(-0x50,0x15a,-0x3b,-0xc)]=new SimpleId();[_0x27e2df(0x15b,0x337,0x37b,0x344)]=new SystemClock();[_0x27e2df(0x130,0x146,-0xf6,0x4a)]=new SimpleCost();[_0xadee61(0x27c,0x95,0x11a,0x46)]=new NoopReminders();[_0x27e2df(0x3ca,0x420,0x282,0x21f)]=new NoopMetricsPort();[_0xadee61(0x40c,0x5af,0x1df,0x321)]=new NoopEventPort();[_0x27e2df(0x81,0x1c1,0x27e,0x2bb)];[_0xadee61(0x10b,-0x12c,0x18d,0x173)];[_0x27e2df(0x0,0x143,0x320,0x2eb)];['updateConfig'](_0x13d892){const _0x5dac3={_0x37041e:0x7a,_0x469ddb:0x4b,_0x48f349:0x9a},_0x33b56b={_0x5e32b:0x39,_0x3c5a8a:0x87};function _0xbfccee(_0x24b4aa,_0x353172,_0x176675,_0xa91687){return _0x27e2df(_0x24b4aa-_0x33b56b._0x5e32b,_0x176675- -0x31,_0x176675-_0x33b56b._0x3c5a8a,_0x24b4aa);}function _0x2b5382(_0xef47b6,_0xafdc63,_0x50396a,_0x1370ab){return _0xadee61(_0x50396a- -0x15b,_0x1370ab,_0x50396a-0x1bc,_0x1370ab-0x66);}this[_0xbfccee(-_0x5dac3._0x37041e,0x2ca,0xaf,0x91)]={...this[_0x2b5382(-_0x5dac3._0x469ddb,0x162,_0x5dac3._0x48f349,-0x10c)],..._0x13d892};}[_0xadee61(0x2b2,0x464,0x37e,0x4b9)](_0x536a5a){const _0x2d72c1={_0x22e308:0x447,_0x25263e:0x2a6},_0x36f893={_0x385a9b:0xe,_0x3906c8:0x132,_0x4b80bf:0x29};function _0x1ceb7c(_0x4d7726,_0x233dd2,_0x8edafe,_0x422ea5){return _0xadee61(_0x233dd2- -_0x36f893._0x385a9b,_0x8edafe,_0x8edafe-_0x36f893._0x3906c8,_0x422ea5-_0x36f893._0x4b80bf);}this[_0x1ceb7c(_0x2d72c1._0x22e308,0x2c8,0x2a6,_0x2d72c1._0x25263e)]=_0x536a5a;}[_0x27e2df(0x383,0x2c0,0x2bc,0x3af)](_0x92bd8a){const _0x39f1d5={_0x4e13c5:0x1d,_0x57bda3:0x3,_0x7afbbb:0x4e,_0xd11dc5:0x189},_0x1497f9={_0x23082c:0x17f,_0x37ff2c:0x69};function _0x5cab14(_0x5d9f94,_0x20b40d,_0x298533,_0x1b2c33){return _0x27e2df(_0x5d9f94-0x136,_0x1b2c33- -_0x1497f9._0x23082c,_0x298533-_0x1497f9._0x37ff2c,_0x5d9f94);}this[_0x5cab14(-_0x39f1d5._0x4e13c5,-_0x39f1d5._0x57bda3,_0x39f1d5._0x7afbbb,-_0x39f1d5._0xd11dc5)]=_0x92bd8a;}[_0xadee61(0x2f9,0x14d,0xd5,0x107)](){const _0xaa64f2={_0x151244:0x1e8,_0x88846:0x1a7,_0x7d7870:0xb5},_0x337ba0={_0x563f31:0x67,_0x9a1d93:0x62,_0x29a2d5:0xba};function _0x402074(_0x5c4b0d,_0x42e49d,_0x356188,_0x341bd5){return _0x27e2df(_0x5c4b0d-_0x337ba0._0x563f31,_0x341bd5-_0x337ba0._0x9a1d93,_0x356188-_0x337ba0._0x29a2d5,_0x356188);}return this[_0x402074(-_0xaa64f2._0x151244,-_0xaa64f2._0x88846,_0xaa64f2._0x7d7870,0x58)];}[_0x27e2df(0x5cc,0x390,0x2af,0x22e)](){const _0x3adaaa={_0x55b159:0x3a5},_0x26d0be={_0x4db72e:0xcf,_0x1010a6:0x10b};function _0x5c9eab(_0xaa5b09,_0x5d7c9b,_0x17a0ac,_0x2d16fe){return _0xadee61(_0x2d16fe-_0x26d0be._0x4db72e,_0x5d7c9b,_0x17a0ac-0x37,_0x2d16fe-_0x26d0be._0x1010a6);}return this[_0x5c9eab(0x452,0x280,0x23a,_0x3adaaa._0x55b159)];}[_0xadee61(0x4f5,0x51a,0x54c,0x611)](){const _0x74c613={_0x349b62:0x6c},_0x3b5c52={_0x10970e:0x14c};function _0x16d68a(_0x297d6d,_0x50cb52,_0x1e8de7,_0x32d2cd){return _0x27e2df(_0x297d6d-0xfc,_0x32d2cd- -_0x3b5c52._0x10970e,_0x1e8de7-0xb9,_0x297d6d);}return this[_0x16d68a(0x5a,-0x162,0x1aa,-_0x74c613._0x349b62)];}[_0x27e2df(0x28e,0x2e2,0x2f1,0x460)](_0xe3f772){const _0x157dc3={_0x59dd20:0x5d2,_0x392c85:0x3cd,_0x448173:0x5ce},_0x49485a={_0x1a635c:0xe0};function _0x5ea957(_0x3bcc75,_0x5635b4,_0x1816b6,_0x3507e6){return _0xadee61(_0x3bcc75-0x37a,_0x1816b6,_0x1816b6-0x148,_0x3507e6-_0x49485a._0x1a635c);}this[_0x5ea957(_0x157dc3._0x59dd20,0x3a9,_0x157dc3._0x392c85,_0x157dc3._0x448173)]=_0xe3f772;}[_0x27e2df(0x3fa,0x448,0x4c9,0x659)](_0x4fd339){this['events']=_0x4fd339;}['setMetrics'](_0x4d0518){const _0x209fa5={_0x3dccfa:0x465,_0x1ef8f7:0x5d9,_0x5690e1:0x5f8},_0x178685={_0x353ac3:0x161};function _0x5c9b89(_0xe6c843,_0x59814e,_0x44448f,_0x3de479){return _0xadee61(_0x3de479-0xc3,_0xe6c843,_0x44448f-0x1a7,_0x3de479-_0x178685._0x353ac3);}this[_0x5c9b89(_0x209fa5._0x3dccfa,_0x209fa5._0x1ef8f7,0x706,_0x209fa5._0x5690e1)]=_0x4d0518;}[_0x27e2df(0x1aa,0x303,0x2cc,0x22e)](){const _0x1d7870={_0xf85ca8:0x55d,_0x274245:0x6ed,_0x2e07e1:0x5a4},_0x39abfd={_0x99d15f:0x1b8,_0x40e205:0x1c4};function _0x27fc7b(_0x16ed11,_0x60a256,_0x3ae1bd,_0x44b8ef){return _0xadee61(_0x3ae1bd-_0x39abfd._0x99d15f,_0x16ed11,_0x3ae1bd-_0x39abfd._0x40e205,_0x44b8ef-0x144);}return this[_0x27fc7b(_0x1d7870._0xf85ca8,0x7bd,_0x1d7870._0x274245,_0x1d7870._0x2e07e1)];}[_0x27e2df(0x136,0x298,0x23d,0x27d)](_0x33fbb9){const _0x14991b={_0x26f767:0x1d1,_0x8f11d2:0x44,_0x21163f:0x298,_0x54289a:0xf4,_0x1708a7:0x100,_0x540fd3:0x10c,_0x19e666:0x31,_0x293087:0x190,_0x36d11e:0x6c,_0x3ab4b6:0x15e,_0x1c31de:0x22f,_0x1c8d6e:0x23e,_0x587a82:0x10a,_0x40de02:0x3ae,_0x3753cc:0xc,_0x323743:0x20e},_0x457fb1={_0x3dfbf6:0x95,_0x44d7f2:0x219},_0x4a0396={_0x79bebf:0x2c8,_0xd41bb:0xb0},_0x286a45=[_0x2170d5(0xbc,0x1d1,0x23e,0x24d),_0x17c6fb(-0x212,-_0x14991b._0x26f767,-0x366,-0x441),_0x17c6fb(-_0x14991b._0x8f11d2,-0xf9,-0x12b,0x126),_0x17c6fb(0x12a,_0x14991b._0x21163f,-_0x14991b._0x54289a,0x76),_0x2170d5(_0x14991b._0x1708a7,_0x14991b._0x540fd3,0x54,_0x14991b._0x19e666),_0x2170d5(-0xa4,-_0x14991b._0x293087,-_0x14991b._0x36d11e,-_0x14991b._0x3ab4b6)],_0x530a43=[_0x17c6fb(-_0x14991b._0x1c31de,-_0x14991b._0x1c8d6e,-0xd,-0x3f3),_0x2170d5(_0x14991b._0x587a82,0x149,_0x14991b._0x26f767,_0x14991b._0x40de02)];function _0x2170d5(_0x4d8be2,_0x7e203f,_0xa7730,_0x4fadb1){return _0xadee61(_0xa7730- -_0x4a0396._0x79bebf,_0x7e203f,_0xa7730-_0x4a0396._0xd41bb,_0x4fadb1-0xdf);}function _0x17c6fb(_0x41368b,_0x26408b,_0x4f25cc,_0x36917f){return _0x27e2df(_0x41368b-_0x457fb1._0x3dfbf6,_0x41368b- -_0x457fb1._0x44d7f2,_0x4f25cc-0x4a,_0x4f25cc);}return _0x286a45[_0x17c6fb(_0x14991b._0x3753cc,-0x45,_0x14991b._0x323743,-0xaa)](_0x33fbb9)||_0x530a43[_0x17c6fb(0xc,-0x48,-0x1ec,-0x5b)](_0x33fbb9);}async[_0xadee61(0x358,0x140,0x185,0x177)](_0x3079a3,_0x5b57a5,_0x483a0f,_0x5aaf82,_0x422ad2,_0x4bd7e7,_0x52a37f,_0x22092c,_0x4e22b1,_0x57365e){const _0x57180f={_0x2810bc:0x4fb,_0x5d5101:0x3d9,_0x3278c7:0x664,_0x348db6:0x424,_0x52842a:0x86d,_0x143d61:0x78f,_0x329e68:0x858,_0x538148:0x691,_0x49e005:0x680,_0x3bfe64:0x3e2,_0x125b67:0x381,_0x41cc00:0x282,_0x26750c:0x45b,_0x708494:0x585,_0x1ac076:0x113,_0x3e644d:0x37c,_0x197dba:0x1a8,_0x2bf2c7:0x25c,_0x2b8354:0x48e,_0x2ebdd6:0x193,_0x468cda:0x37e,_0x1d11aa:0x255,_0x58f42b:0x4de,_0x27194d:0x272,_0x41a4f9:0x584,_0x584f2d:0x5a5,_0x57e4cc:0x301,_0x599d31:0x13c,_0x2e416e:0x28b,_0x3e5df6:0x45e,_0x5b6233:0x5c2,_0x5aada1:0x6e2,_0x246808:0x469,_0x512fc2:0x23d,_0x5518fd:0x211,_0xf7020:0x43d,_0x2e5b89:0x478,_0xa27819:0x5cb,_0x2f02b9:0x45a,_0x54f3ca:0x23c,_0xe7650e:0x66b,_0x5a6adf:0x599,_0x1d1a39:0x4a9,_0x23ea48:0x4c7,_0xf8cf94:0x171,_0x246b26:0x28e,_0x4f52ed:0x31b,_0x5f4738:0x54e,_0x2ab84e:0x6ef,_0x592d02:0x6ce,_0x18d295:0x519,_0x5d49af:0x7ee,_0x22dc03:0x7b3,_0x9d3e3c:0x5c9,_0x402a10:0x429,_0xd98c1d:0x605,_0x208f91:0x24b,_0x197fbe:0x69,_0x1c1af1:0x14e},_0x4ad455={_0x3656ed:0x6a},_0x2ef81d={_0x417d64:0x42,_0x4bbb51:0x1df};function _0x1f120f(_0x429ccd,_0x59a412,_0x1cb39,_0x231ca1){return _0xadee61(_0x231ca1-_0x2ef81d._0x417d64,_0x59a412,_0x1cb39-_0x2ef81d._0x4bbb51,_0x231ca1-0x1c3);}const _0x551da4=[..._0x4bd7e7,..._0x4e22b1||[]];function _0x4bb542(_0x23bc8d,_0x3f09a4,_0x55d70f,_0x546415){return _0x27e2df(_0x23bc8d-_0x4ad455._0x3656ed,_0x3f09a4-0x32d,_0x55d70f-0x59,_0x23bc8d);}const _0x12fa6b={'id':this[_0x4bb542(_0x57180f._0x2810bc,0x487,_0x57180f._0x5d5101,0x2d8)][_0x4bb542(0x611,0x5c4,0x4b4,0x535)](),'role':'assistant','content':_0x52a37f??null,'timestamp':this[_0x4bb542(0x436,_0x57180f._0x3278c7,_0x57180f._0x348db6,_0x57180f._0x52842a)][_0x1f120f(0x360,0x4d5,0x224,0x354)](),'tool_calls':_0x551da4,'usage':_0x22092c};_0x5aaf82['push']({'role':_0x4bb542(0x7ea,_0x57180f._0x143d61,_0x57180f._0x329e68,_0x57180f._0x538148),'content':_0x52a37f??null,'tool_calls':_0x551da4}),_0x422ad2[_0x4bb542(_0x57180f._0x49e005,0x75b,0x849,0x681)](_0x12fa6b);const _0x105028=[];for(const _0x3250a3 of _0x4bd7e7){const _0x48ec29=_0x4bb542(0x5d1,_0x57180f._0x3bfe64,_0x57180f._0x125b67,_0x57180f._0x41cc00);_0x5aaf82[_0x1f120f(0x5f6,_0x57180f._0x26750c,0x696,_0x57180f._0x708494)]({'role':_0x1f120f(0x3bb,0x154,_0x57180f._0x1ac076,0x309),'content':_0x48ec29,'tool_call_id':_0x3250a3['id'],'name':_0x3250a3[_0x1f120f(0xa5,_0x57180f._0x3e644d,0x347,_0x57180f._0x197dba)]['name']});const _0x45c6ed={'id':_0x3250a3['id'],'role':'tool','content':_0x48ec29,'timestamp':this[_0x1f120f(_0x57180f._0x2bf2c7,0x40a,0x258,_0x57180f._0x2b8354)][_0x4bb542(0x2ff,0x52a,0x525,0x6ec)](),'tool_call_id':_0x3250a3['id'],'name':_0x3250a3[_0x4bb542(_0x57180f._0x2ebdd6,_0x57180f._0x468cda,_0x57180f._0x1d11aa,0x2e9)][_0x1f120f(_0x57180f._0x58f42b,0x4e3,_0x57180f._0x27194d,0x367)],'status':_0x4bb542(_0x57180f._0x41a4f9,0x726,0x90c,0x8b5),'durationMs':0x0,'metadata':{'errorReason':'denied'}};_0x422ad2['push'](_0x45c6ed),_0x105028['push'](_0x45c6ed),await this[_0x1f120f(0x65b,_0x57180f._0x584f2d,_0x57180f._0x57e4cc,0x44e)]?.[_0x1f120f(_0x57180f._0x599d31,_0x57180f._0x2e416e,_0x57180f._0x3e5df6,0x2af)]({'type':AgentEventTypes[_0x1f120f(_0x57180f._0x5b6233,_0x57180f._0x5aada1,0x3e5,0x57f)],'conversationId':_0x5b57a5,'messageId':_0x483a0f,'result':{'id':_0x3250a3['id'],'name':_0x3250a3['function']['name'],'status':_0x1f120f(_0x57180f._0x246808,0x45c,0x725,0x550),'type':_0x1f120f(_0x57180f._0x512fc2,_0x57180f._0x5518fd,0x3db,_0x57180f._0xf7020),'result':_0x48ec29,'durationMs':0x0,'metadata':{'errorReason':_0x4bb542(0x317,0x4f3,0x48a,0x300)}}});}const _0x51ae92=[];if(_0x57365e)for(const _0x3ae038 of _0x57365e){let _0x579928;if(_0x3ae038[_0x4bb542(_0x57180f._0x2e5b89,0x5d9,0x3ae,_0x57180f._0xa27819)]===_0x4bb542(0x4f9,0x726,0x558,0x550))_0x579928=_0x3ae038[_0x4bb542(0x929,0x751,0x8f9,0x752)];else _0x3ae038[_0x1f120f(_0x57180f._0x2f02b9,_0x57180f._0x41cc00,_0x57180f._0x54f3ca,0x36e)]===_0x4bb542(0x489,0x613,_0x57180f._0xe7650e,0x60e)?_0x579928=_0x3ae038['result']:_0x579928=JSON['stringify'](_0x3ae038[_0x1f120f(0x7a1,_0x57180f._0x5a6adf,0x546,0x57b)],null,0x2);_0x51ae92[_0x1f120f(0x741,0x4a7,_0x57180f._0x1d1a39,0x585)]({'id':_0x3ae038['id'],'role':_0x1f120f(_0x57180f._0x23ea48,_0x57180f._0xf8cf94,_0x57180f._0x246b26,0x309),'content':_0x579928,'timestamp':this[_0x1f120f(0x427,_0x57180f._0x4f52ed,_0x57180f._0x5f4738,0x48e)][_0x1f120f(0x1d1,0x25d,0x1a7,0x354)](),'tool_call_id':_0x3ae038['id'],'name':_0x3ae038['name'],'status':_0x3ae038['status'],'durationMs':_0x3ae038[_0x1f120f(0x70b,_0x57180f._0x2ab84e,_0x57180f._0x592d02,_0x57180f._0x18d295)],'metadata':_0x3ae038[_0x4bb542(_0x57180f._0x5d49af,0x5bc,_0x57180f._0x22dc03,_0x57180f._0x9d3e3c)]});}await this['memory'][_0x4bb542(0x5bb,0x744,0x588,0x750)](_0x5b57a5,[_0x12fa6b,..._0x105028,..._0x51ae92]),await this[_0x4bb542(_0x57180f._0x402a10,0x624,0x455,_0x57180f._0xd98c1d)]?.['emit']({'type':AgentEventTypes[_0x1f120f(_0x57180f._0x208f91,-_0x57180f._0x197fbe,0x16e,_0x57180f._0x1c1af1)],'conversationId':_0x5b57a5,'messageId':_0x483a0f,'content':_0x3079a3,'usage':void 0x0});}async['processToolApproval'](_0x2e5c64,_0xd91619,_0x484db4,_0x2d66f1,_0x3264b9,_0x5a21fa,_0x2163f2,_0x4a082b){const _0x2dbc1d={_0x1cbf5b:0xa,_0x5636f9:0x4ce,_0x38b98a:0x2d4,_0x5cda32:0x284,_0x1be07c:0x398,_0xaca6e8:0x188,_0x2a7a02:0xcc,_0x478dc7:0x5f,_0x42094b:0x16a,_0x2064a6:0x3b,_0x24690b:0x13e,_0x285318:0x14b,_0x1a34ed:0xef,_0x119f91:0x64,_0xc26f99:0x300,_0xa76432:0x311,_0x1b32af:0x230,_0x1f266a:0xb0,_0x337b30:0x1aa,_0x2ff4e6:0x95,_0x57c7f0:0x33a},_0x245dc0={_0x52690f:0x56d,_0xf972f1:0x77a,_0x1ef46c:0x45d,_0x491c04:0x20b,_0x1af3fa:0x66f,_0x53fe1a:0x6f5,_0x15fa95:0x18b,_0x7bfa00:0xeb,_0x5ccd7e:0x5b7,_0x4ea1d0:0x67b,_0x360c17:0x506,_0x8409ca:0x6f2,_0x4764cd:0x514,_0x48cc35:0xf6,_0x4ec354:0x1df,_0x472231:0xad,_0x4fc2a8:0x3d1,_0x3b612a:0x3d5,_0x57735d:0x1da,_0x325945:0x3ec,_0x5ac313:0x34c,_0x532b62:0x606,_0x454045:0x47e,_0x3caaf1:0x6f7,_0x28c12b:0x51d},_0xe58c={_0x45f4b9:0x199,_0x58d41d:0x6bb},_0xbdcbb0={_0x5addaf:0x8b,_0x1ad75e:0x1d},_0x4b1e5b={_0x45644e:0x65};if(this[_0x21271d(-_0x2dbc1d._0x1cbf5b,-0x3b,0x1e,-0x151)]['requireToolApproval']===![])return{'approvedCalls':_0x2e5c64,'bypassCalls':[],'bypassResults':[],'wasDenied':![]};const _0x93aeb2=_0x2e5c64[_0x21271d(_0x2dbc1d._0x5636f9,0x162,_0x2dbc1d._0x38b98a,0x432)](_0x52abda=>!this[_0x21271d(0x208,0x37d,0x1d6,0x3eb)](_0x52abda[_0x50c9d6(0x55,-0x3b3,-0x253,-0x1c3)]['name']));function _0x50c9d6(_0x39adf9,_0x36555a,_0x2219cf,_0x2f8a2a){return _0x27e2df(_0x39adf9-0x165,_0x2f8a2a- -0x214,_0x2219cf-_0x4b1e5b._0x45644e,_0x39adf9);}function _0x21271d(_0x133e51,_0x58acf1,_0x3da329,_0x22ccb6){return _0x27e2df(_0x133e51-_0xbdcbb0._0x5addaf,_0x3da329- -0xc2,_0x3da329-_0xbdcbb0._0x1ad75e,_0x22ccb6);}const _0x2f2da9=_0x2e5c64[_0x50c9d6(_0x2dbc1d._0x5cda32,-0x41,_0x2dbc1d._0x1be07c,0x182)](_0x566cfb=>this[_0x21271d(-0x13,0xec,0x1d6,0x33e)](_0x566cfb[_0x50c9d6(-0xe3,-0x2c9,-0x14e,-0x1c3)]['name']));if(_0x93aeb2[_0x21271d(0x383,-0xa4,_0x2dbc1d._0xaca6e8,0x2e7)]===0x0)return{'approvedCalls':_0x2f2da9,'bypassCalls':[],'bypassResults':[],'wasDenied':![]};const _0xbe2cdf=async()=>{const _0x41b16b={_0xda315e:0x1b4,_0x293e3d:0x1b7};if(_0x2f2da9[_0x1ad5b1(0x7b3,_0x245dc0._0x52690f,0x6f1,_0x245dc0._0xf972f1)]===0x0)return[];const _0x5014eb=this[_0x4fa2c1(_0x245dc0._0x1ef46c,_0x245dc0._0x491c04,0x154,0x328)]();function _0x1ad5b1(_0x5b9fe9,_0x30d7fd,_0x2592a9,_0x4f994f){return _0x50c9d6(_0x30d7fd,_0x30d7fd-_0xe58c._0x45f4b9,_0x2592a9-0x18b,_0x2592a9-_0xe58c._0x58d41d);}const _0x4500ad=convertToolCallsWithErrorHandling(_0x2f2da9,{'strict':this['cfg'][_0x1ad5b1(0x59a,_0x245dc0._0x1af3fa,_0x245dc0._0x53fe1a,0x916)]??![],'availableTools':_0x5014eb});function _0x4fa2c1(_0x530db6,_0x11e67c,_0x445f91,_0x1ba12c){return _0x21271d(_0x530db6-_0x41b16b._0xda315e,_0x11e67c-0x154,_0x1ba12c-_0x41b16b._0x293e3d,_0x530db6);}const _0x4473ab=await this[_0x4fa2c1(_0x245dc0._0x15fa95,0x126,0x1f1,_0x245dc0._0x7bfa00)][_0x1ad5b1(_0x245dc0._0x5ccd7e,0x471,_0x245dc0._0x4ea1d0,_0x245dc0._0x1ef46c)](_0x4500ad[_0x4fa2c1(_0x245dc0._0x360c17,0x733,_0x245dc0._0x8409ca,_0x245dc0._0x4764cd)],{'conversationId':_0xd91619,'agentId':this[_0x4fa2c1(_0x245dc0._0x48cc35,_0x245dc0._0x4ec354,_0x245dc0._0x472231,0x1d5)]['id'],'messageId':_0x484db4,'eventPort':this[_0x1ad5b1(0x9b8,0x760,0x79e,0x6e1)]},this[_0x1ad5b1(0x595,0x6e5,0x587,0x612)][_0x1ad5b1(_0x245dc0._0x4fc2a8,_0x245dc0._0x3b612a,0x5fa,0x4df)]??0x3,_0x4a082b);for(const _0x55014d of _0x4473ab){await this[_0x4fa2c1(_0x245dc0._0x57735d,0x1ef,0x2b8,_0x245dc0._0x325945)]?.[_0x4fa2c1(0x1ee,_0x245dc0._0x5ac313,0x443,0x24d)]({'type':AgentEventTypes[_0x4fa2c1(_0x245dc0._0x532b62,_0x245dc0._0x454045,_0x245dc0._0x3caaf1,_0x245dc0._0x28c12b)],'conversationId':_0xd91619,'messageId':_0x484db4,'result':_0x55014d});}return _0x4473ab;};let _0xb688cb=[];_0x2f2da9[_0x50c9d6(_0x2dbc1d._0x2a7a02,-0xe7,0x196,0x36)]>0x0&&(_0xb688cb=await _0xbe2cdf());try{const _0x377593=await this['waitForToolApproval'](_0x93aeb2,_0xd91619,_0x484db4);if(_0x50c9d6(-_0x2dbc1d._0x478dc7,_0x2dbc1d._0x42094b,_0x2dbc1d._0x2064a6,-0x52)in _0x377593){const _0x7f3f8f=_0x377593[_0x21271d(-_0x2dbc1d._0x24690b,_0x2dbc1d._0x285318,0x100,_0x2dbc1d._0x1a34ed)],_0x19162c=_0x93aeb2[_0x21271d(-0xb6,0x30,0x16c,-0x61)](_0x1d4c3f=>({..._0x1d4c3f,'editInstruction':_0x7f3f8f}));return{'approvedCalls':_0x19162c,'bypassCalls':_0x2f2da9,'bypassResults':_0xb688cb,'wasDenied':![]};}return{'approvedCalls':_0x377593,'bypassCalls':_0x2f2da9,'bypassResults':_0xb688cb,'wasDenied':![]};}catch(_0x4a1512){const _0x300e73=_0x4a1512 instanceof Error?_0x4a1512[_0x50c9d6(-_0x2dbc1d._0x119f91,-_0x2dbc1d._0xc26f99,-0x20,-0x190)]:_0x21271d(_0x2dbc1d._0xa76432,0x25f,_0x2dbc1d._0x1b32af,0x293),_0x3ddc32=_0x50c9d6(-_0x2dbc1d._0x1f266a,-_0x2dbc1d._0x337b30,-_0x2dbc1d._0x337b30,_0x2dbc1d._0x2ff4e6)+_0x300e73;return await this[_0x21271d(0x3ad,_0x2dbc1d._0x57c7f0,0x181,0x13c)](_0x3ddc32,_0xd91619,_0x484db4,_0x2d66f1,_0x3264b9,_0x93aeb2,_0x5a21fa,_0x2163f2,_0x2f2da9,_0xb688cb),{'approvedCalls':[],'bypassCalls':_0x2f2da9,'bypassResults':_0xb688cb,'wasDenied':!![],'denialMessage':_0x3ddc32};}}async['send'](_0x7bb9f,_0x3eec7d={}){const _0x1d33df={_0x31f518:0x260,_0x1d3d83:0x457,_0x2dff60:0x456,_0x1485a4:0x45f,_0x5475f1:0x74a,_0x16a201:0xa7d,_0x338efc:0x4e8,_0x50fc90:0x890,_0x39c9c4:0x703,_0x1c3763:0x61b,_0x2a1c:0x298,_0x280c16:0x692,_0x53bb33:0x4ba,_0x33339c:0x52e,_0x1845fc:0x6e5,_0x1ceabc:0x6a6,_0x5d8155:0x7b7,_0x4cf4e8:0x6cf,_0x52a165:0x55c,_0x2f174c:0x863,_0x3149a3:0x6ed,_0x2339aa:0x63c,_0x481bed:0x86e,_0x4ddfb6:0x1d3,_0x10c762:0x3d3,_0x58d4b9:0x5d9,_0x22abf4:0x2e5,_0x29dbd0:0x65c,_0x4506be:0x4b4,_0x4794c5:0x687,_0x4a0766:0x5cd,_0x142366:0x609,_0x1922f6:0x53b,_0x214032:0x685,_0x4e57e3:0x551,_0x193a54:0x615,_0x69e70d:0x74b,_0x338043:0x66b,_0x3cefd6:0x495,_0x20a3f3:0x346,_0x4283da:0x575,_0x15e351:0x4e2,_0x4bf58c:0x61b,_0xdcaaae:0x2f7,_0x49789f:0x2a7,_0x27972a:0x3ca,_0x3539d4:0x69f,_0x431791:0x4ee,_0x15c1e5:0x72a,_0x526795:0x556,_0x50caad:0x622,_0x2d0f69:0x4d6,_0x4fdfef:0x480,_0x3d1351:0x536,_0x4e3f72:0x6e9,_0x39cb55:0x6e4,_0x26f08c:0x683,_0x2bdb96:0x699,_0x368daf:0x5e8,_0x1462da:0x6b3,_0x56ba9f:0x60b,_0x31fe5d:0x827,_0x20aae8:0x66f,_0x2cf76c:0x3fa,_0x56bf3c:0x6e7,_0x1db748:0x91b,_0x115a64:0x538,_0x49ef0a:0x21b,_0x57cc9a:0x42a,_0x47704a:0x60b,_0x3b8331:0x6d6,_0x5a3298:0x6f8,_0x4102fc:0x855,_0x501143:0x625,_0x2bfd5:0x8f6,_0x384ccc:0x94d,_0x2bcee4:0x60b,_0x1333a0:0x59d,_0x335835:0x7fd,_0x446175:0x8e7,_0x5bceb4:0x99d,_0x5ad9c4:0x428,_0x732569:0x37b,_0x3df564:0x645,_0x3cd99c:0x87e,_0xdac68c:0x541,_0x23cae1:0x60b,_0x1a3050:0x47c,_0xf25acf:0x831,_0x7537c2:0x94e,_0x1f305f:0x5d5,_0x239016:0x7b7,_0x1bfaf2:0x662,_0x356cef:0x677,_0x38a0eb:0x61e,_0x4be467:0x775,_0x8c4a58:0x6e1,_0x37886e:0x788,_0x55e885:0x8b2,_0x1f4638:0x78b,_0x112434:0x9ba,_0x13ca2c:0x72a,_0x27ab84:0x6c7,_0x565649:0x436,_0x5eea3b:0x662,_0x328fd0:0x68b,_0x4b113c:0x90c,_0x27eefb:0x82a,_0x23a0a7:0x5e6,_0x5edc9a:0x653,_0x43a6ef:0x644,_0x30c18e:0x7e1,_0x23db45:0x886,_0x8f0bb9:0x46c,_0x5bd44d:0x32d,_0x23a2a2:0x350,_0x445754:0x300,_0x4dd5fc:0x966,_0x24f76c:0x8e2,_0x56d31b:0x9a5,_0x3bc529:0x8d6,_0x13aef3:0xaa8,_0x49da51:0x8c1,_0x164de0:0x7f4,_0x1b4583:0x73d,_0x45434d:0x66c,_0x48fd6a:0x4fe,_0x1a372b:0x503,_0x518c50:0x613,_0x1e0b40:0x6ca,_0x51ecc8:0x75c,_0x35fd66:0x92b,_0x1c8914:0x7b9,_0x2740d0:0x949,_0x286484:0x93e,_0x50e705:0x7cc,_0x1bdead:0x9f1,_0x5859f6:0x836,_0x13ccd8:0x7f6,_0x40b946:0x728,_0x8175db:0x535,_0x45585b:0x5f4,_0x3c5a88:0x6fb,_0x42b523:0x71e,_0xb90cdf:0x5ea,_0x2d3b74:0x517,_0x10b18c:0x625,_0x696a5a:0x31f,_0x39b509:0x358,_0x8569af:0x416,_0x5d06aa:0x3cb,_0x5b6b07:0x8d6,_0x492c49:0xb05,_0x7e03f:0x8d6,_0xadf3a9:0x89e,_0x54cd83:0x408,_0x38747d:0x621,_0x4e1fc0:0x70a,_0x570765:0x5e8,_0x582f90:0x6ad,_0x1a0049:0x6d2,_0x4130dd:0x87c,_0x5da3fc:0x51d,_0x25baab:0x720,_0x2058b7:0x1f2,_0x473634:0x209,_0x3dc949:0x3cb,_0x2e43f4:0xa25,_0x2940c5:0x8fe,_0x416fa4:0x6a3,_0x3849c3:0x7f2,_0xf4861f:0x544,_0x125c02:0x5ec,_0x582f89:0x7be,_0x134506:0x670,_0x10aa3d:0x8e0,_0xbae2e7:0x7fb,_0x256aa7:0x61c,_0x4ee09e:0x640,_0x1c3c1e:0x347,_0x39bc59:0x47e,_0x39ef1e:0x52c,_0xd23cc8:0x6e8,_0x10a612:0x676,_0x3f320b:0x88e,_0x9f4a05:0x966,_0x46c752:0x55f,_0x39d53f:0x7ab,_0x4f08c3:0x861,_0x4e0b0b:0x6de,_0x7c1813:0x650,_0x478990:0x77f,_0xa12ea2:0x78c,_0x31916e:0x9cb,_0x101b93:0x8c4,_0x395955:0x79e,_0x58c4a1:0x6aa,_0x4de8d0:0x851,_0xe4451c:0x811,_0x5c3bff:0x75e,_0x5f00e5:0x5c8,_0xb01972:0x82a,_0xcf1c6d:0x636,_0x5caad8:0x3f5,_0x425eea:0x2d1,_0x1e6e5e:0x779,_0x1ad325:0x648,_0x2fa1b1:0x50d,_0x3f349e:0x43b,_0x7e6c18:0x304,_0x40697d:0x8f4,_0x156607:0x802,_0x3031a3:0x73b,_0x2f9da1:0x733,_0x2073e8:0x609,_0x2962db:0x8a0,_0xabf58a:0x548,_0x3a4388:0x76f,_0x4c25b7:0x86f,_0x1d0544:0x6c2,_0x381b67:0x825,_0x15098f:0x3b2,_0xb3b936:0x4bb,_0x1d8a46:0x3e8,_0x4a21c4:0x77e,_0x419f0d:0x701,_0x326aea:0x7cd,_0xff9668:0x4b3,_0x3ea767:0x427,_0x36471a:0x9c2,_0x3f06d5:0x74e,_0x3941a2:0x772,_0x4c77d6:0x8ad,_0x496375:0x70b,_0x36c778:0x6be,_0x47c212:0x598,_0x44c897:0x656,_0x1fd7cd:0x41b,_0xc93480:0x85b,_0x255258:0x840,_0x315b63:0x729,_0x49ac10:0x2f8,_0xc613b8:0x2f0,_0x3fd6f8:0x52e,_0x1073bd:0x787,_0xf6e699:0x4c0,_0x3e07ed:0x66b,_0x1ea8b7:0x64f,_0x2842d9:0x8ce,_0xca86f0:0x7f2,_0x2f1039:0x862,_0x2e4b47:0x749,_0x474782:0x7fb,_0x5f0db5:0x8e6,_0x5aefb2:0x847,_0x4fc896:0x64d,_0x1ecc59:0x725,_0x1dc360:0x905,_0x25fb7c:0x71f,_0x30c7f0:0x82b,_0x39deb8:0x988,_0x1e73cb:0x7f8,_0x1ec33e:0x5db,_0x3fa0f4:0xa35,_0x3efa84:0x69b,_0x1b59ab:0xa0e,_0x4804b4:0x905,_0x1f47cd:0x76a,_0x3e592f:0x617,_0x488112:0x5d4,_0x874943:0x5e4,_0xbd8cf4:0x4df,_0x3359ea:0x680,_0x5bb276:0x8ed,_0x596912:0xb2b,_0x40ae6b:0xa0f,_0x466b73:0x9de,_0x552577:0x96e,_0x4d622e:0x756,_0x58b991:0x7f4,_0x3bef42:0x77b,_0x256e9f:0x819,_0x5046b7:0x5a8,_0xf9fa2c:0x8b1,_0x1a9b45:0x7eb,_0x5aead8:0x641,_0x1c052a:0x614,_0x5de7a2:0xaf2,_0x1b104a:0x7b3,_0x563f97:0x8ad,_0x3c398d:0x655,_0x2cb6ce:0x2df,_0x1ddecf:0x942,_0x26ca4d:0xa28,_0x8ef873:0x95b,_0x37c5b0:0x8ab,_0x4c2c48:0x782,_0x5bed57:0xa94,_0x2087f1:0x780,_0x2f4214:0x5eb,_0x2a0766:0x62c,_0x1529b6:0x6d5,_0x44fd0a:0x680,_0x3a98f1:0x33b,_0x3bd534:0x4ae,_0x3ccea9:0x94f,_0x484137:0x858,_0x3933f7:0x682,_0xbd0652:0x6e4,_0x12436f:0x74e,_0x559c93:0x6a9,_0x14be72:0x97c,_0x15b8bd:0x6fc,_0x25225d:0x9ee,_0x2af752:0x7b5,_0x172931:0x57c,_0x3e0ff9:0x700,_0x5eeeab:0x59e,_0x1f1c3b:0x500,_0x2f3b4f:0x938,_0x2d9ce0:0x960,_0x1a65a6:0x467,_0x1d2f53:0x6d3,_0x248921:0x822,_0x4d19e8:0x77f,_0x4a4296:0x671,_0x363e67:0x459,_0x3f66eb:0x512,_0x47ddb4:0x2ef,_0x48c95f:0x6df,_0x30718a:0x51f,_0x2bfd42:0x907,_0x540ffb:0x79b,_0x250488:0x6ee,_0xe3c848:0x88e,_0x2fc406:0x5c3,_0x3be776:0xa9f,_0x47c71f:0x9be,_0x1ac947:0x6c4,_0x4a8ef8:0x62e,_0x498527:0xa30,_0x40782f:0x48e,_0x483c9c:0x5d1,_0x25a393:0x87a,_0x5bb539:0x917,_0x149bba:0x6f6,_0x520259:0x8d6,_0xf8a5dc:0x993,_0x4df118:0xa77,_0x34bdc4:0x6a7,_0x496dc8:0x55a,_0x9d76e3:0x732,_0x3d8dd7:0x6f4,_0x3ed56a:0x6cb,_0x289c6b:0x875,_0x5f44e8:0x71b,_0x3e3169:0x606,_0x3d4197:0x6a1,_0x26d9fd:0x440,_0x3c233e:0x909,_0xd1a379:0xb20,_0x32c358:0x449,_0x5b3412:0x67c,_0xd22289:0xa7a,_0x38a920:0x9b3,_0x510a13:0x850,_0x2ed7f4:0x69a,_0xc9ca62:0x5af,_0x39e4df:0x81b,_0x33a559:0x8d6,_0x178670:0x756,_0x3bba45:0x822,_0x302d07:0x4a3,_0x185bcd:0x7a1,_0x4b6fe6:0xaba,_0x4ac171:0x4f1,_0x3d5c7f:0x80f,_0x1bad30:0x4ed,_0x5db7ad:0x292,_0x38cca5:0x331,_0x202c28:0x4a0,_0x35d9b1:0x650,_0x2a3c36:0x87f,_0x34b763:0xa11,_0x1bcd68:0x297,_0x3d4cd0:0x2b0,_0x30cbcc:0x4d3,_0x397b7b:0x4b7,_0xb953ac:0x677,_0x139675:0x441,_0x2a92b6:0xb1c,_0x5d598b:0x626,_0x1a84df:0x8fd,_0x430962:0x77f,_0x5d75b9:0x48c,_0x172c4e:0x48d,_0x119d72:0x44e,_0x5d2f11:0x7ad,_0xceba06:0x62b,_0x155579:0x683,_0x498660:0x55c,_0x5ba830:0x5d7,_0xb8ef9b:0x737},_0x5d7cde={_0x2a04ce:0x80e,_0x1561e2:0x3aa},_0x313502={_0x12e8d9:0x57b,_0x1ef9c4:0x5f5,_0x2256a1:0x31e,_0x38e3ac:0x5f9,_0xe43442:0x37a,_0x48f139:0x6bb,_0x4e4c1e:0x28d,_0x5839d0:0x4b5,_0x1ae6ec:0x6b8,_0x31a156:0x7a1},_0x18e399={_0x379fd9:0xd6},_0x226ca7={_0x207de1:0x1ea,_0x1d1ec4:0x3b,_0x34662e:0x303},_0x475e54={_0x15556e:0x8a,_0x580623:0x137,_0x864219:0xb1,_0xf448de:0x370,_0x2d165d:0x55,_0x277d61:0x149,_0x63dacb:0x42},_0x3e31a5={_0xc98cac:0x109},_0x20adfa={_0x38d73f:0x23d,_0x3b627a:0x23c,_0x10a956:0x275,_0x31c4a3:0x4fd,_0x12f8bd:0x536},_0xb3c82a={_0x23f353:0x190,_0x746fc2:0x37b},_0x539d9f={_0x5d22c9:0x4b,_0x3edf8a:0x57,_0x192043:0x1ec,_0x19e479:0x299,_0x1fb5f9:0x7c,_0x44df3b:0x28a,_0x364cb5:0x3ba,_0x2a0728:0x1e0,_0x14989b:0x67,_0x3deca1:0x143},_0x41174b={_0x5d6575:0x1ee,_0x5d49f9:0x56a},_0x4cb621={_0x2688c7:0x9d,_0x1366ee:0x185,_0x88523:0x246},_0x23add1={_0xe298d8:0x684,_0x422c25:0x27a,_0x411398:0x391,_0x59078c:0x740,_0x147359:0x5e0,_0x5ba79e:0x725,_0x50be5f:0x693,_0x187c14:0xa9,_0x10e28c:0x160,_0xa848e1:0x426,_0x48bc8e:0x45f},_0x5307a0={_0x42ab2b:0x36,_0x16b848:0x2a5},_0x42e35b={_0x571063:0x8d,_0xcdd23f:0x1b1},_0x1ee6b3={_0x135d9d:0x20c,_0x3c50c4:0x104,_0x2e7c04:0x2bc,_0x5889b8:0xb3},_0x192533={_0x260f69:0x345,_0xf0f36c:0x1f4,_0x5397a5:0x353,_0x59fca9:0x4ab},_0xad6a6d={_0xf146d:0x1e8,_0x27f2b2:0x42},_0x545755={_0x17ea0c:0xe3,_0x6557d0:0x52b},_0x305b38=_0x3eec7d['conversationId']??_0x1916ed(0x2b8,_0x1d33df._0x31f518,0x5a1,_0x1d33df._0x1d3d83),_0x30f394=this['clock']['now'](),_0xa1a0e4=this[_0x49e59e(0x685,0x71a,0x4b5,0x632)]['uuid'](),_0x299d09=await this['memory'][_0x49e59e(0x599,_0x1d33df._0x2dff60,_0x1d33df._0x1485a4,_0x1d33df._0x5475f1)](_0x305b38);let _0x4e8bd1,_0x8e908e,_0x864112,_0x5dcfa6;const _0x390999=this['getLLM']();if(!_0x390999)throw new Error(_0x49e59e(0x96e,0xac1,_0x1d33df._0x16a201,0x826));const _0x2c178f=typeof _0x7bb9f==='string'?{'text':_0x7bb9f,'displayText':_0x7bb9f,'attachments':[]}:{'text':_0x7bb9f[_0x1916ed(0x520,_0x1d33df._0x338efc,0x873,0x6ba)]??'','displayText':_0x7bb9f[_0x49e59e(_0x1d33df._0x50fc90,0x9bc,0x6eb,0x7d7)],'attachments':Array[_0x49e59e(_0x1d33df._0x39c9c4,0x560,_0x1d33df._0x1c3763,0x864)](_0x7bb9f[_0x1916ed(_0x1d33df._0x2a1c,0x398,0x35c,0x48b)])?_0x7bb9f['attachments']:[]},_0x1311aa=_0x2c178f['attachments'];_0x5dcfa6=this[_0x49e59e(_0x1d33df._0x280c16,_0x1d33df._0x53bb33,0x4bb,_0x1d33df._0x33339c)][_0x1916ed(0x7bf,0x7a6,_0x1d33df._0x1845fc,0x685)](_0x2c178f[_0x1916ed(_0x1d33df._0x1ceabc,_0x1d33df._0x5d8155,0x853,0x6ba)],{'conversationId':_0x305b38});const _0x1eefe6=_0x5dcfa6['join']('\x0a'),_0x31cdc8=buildMessageParts(_0x1eefe6,_0x1311aa);let _0x3902fd;if(_0x1311aa['length']>0x0||_0x31cdc8['some'](_0x153aa3=>_0x153aa3[_0x1916ed(0x6a9,0x54b,0x6e3,0x5eb)]===_0x49e59e(0x620,0x641,0x5d5,0x748)))_0x3902fd={'type':'parts','parts':_0x31cdc8};else{if(_0x31cdc8['length']===0x1&&_0x31cdc8[0x0]?.['type']==='text')_0x3902fd=_0x31cdc8[0x0][_0x1916ed(_0x1d33df._0x4cf4e8,_0x1d33df._0x52a165,0x4d4,0x6ba)];else _0x31cdc8['length']>0x0?_0x3902fd={'type':_0x49e59e(_0x1d33df._0x2f174c,_0x1d33df._0x3149a3,_0x1d33df._0x2339aa,_0x1d33df._0x481bed),'parts':_0x31cdc8}:_0x3902fd=_0x1eefe6;}_0x4e8bd1=this[_0x1916ed(_0x1d33df._0x4ddfb6,0x27a,0x4aa,_0x1d33df._0x10c762)][_0x1916ed(0x60e,_0x1d33df._0x58d4b9,0x63f,0x5c1)](_0x299d09,this[_0x1916ed(_0x1d33df._0x22abf4,0x633,_0x1d33df._0x29dbd0,_0x1d33df._0x4506be)][_0x1916ed(_0x1d33df._0x4794c5,0x715,0x80d,_0x1d33df._0x4a0766)],[_0x3902fd]),_0x864112=resolveDisplayText(_0x2c178f['text'],_0x1311aa,_0x2c178f['displayText']);const _0x2a1751=this['clock'][_0x1916ed(_0x1d33df._0x142366,_0x1d33df._0x1922f6,0x67c,0x5d1)]();_0x8e908e=[{'id':this[_0x49e59e(_0x1d33df._0x214032,0x451,_0x1d33df._0x4e57e3,0x5b7)][_0x1916ed(_0x1d33df._0x193a54,0x75f,_0x1d33df._0x69e70d,_0x1d33df._0x338043)](),'role':_0x49e59e(0x636,_0x1d33df._0x3cefd6,0x7f6,0x722),'content':_0x3902fd,'timestamp':_0x2a1751}],await this[_0x1916ed(_0x1d33df._0x20a3f3,_0x1d33df._0x4283da,0x3e4,0x517)]['append'](_0x305b38,_0x8e908e);if(_0x3eec7d[_0x1916ed(0x6d4,0x795,0x460,0x653)]?.['aborted'])throw new Error(_0x1916ed(_0x1d33df._0x15e351,0x776,0x68c,_0x1d33df._0x4bf58c));const _0x5ddd3f=this[_0x1916ed(0x5c6,_0x1d33df._0xdcaaae,_0x1d33df._0x49789f,_0x1d33df._0x27972a)][_0x1916ed(_0x1d33df._0x3539d4,_0x1d33df._0x431791,_0x1d33df._0x15c1e5,0x597)](this[_0x49e59e(0x60b,_0x1d33df._0x526795,_0x1d33df._0x50caad,_0x1d33df._0x2d0f69)]['enabledTools']??[]),_0x449d19=_0x5ddd3f[_0x1916ed(0x552,_0x1d33df._0x4fdfef,_0x1d33df._0x3d1351,0x602)](_0x3f9b68=>_0x3f9b68[_0x1916ed(0x56d,0x3d6,0x30d,0x425)][_0x49e59e(0x73b,0x870,0x59a,0x6ee)]);await this[_0x1916ed(_0x1d33df._0x4e3f72,_0x1d33df._0x39cb55,0x87d,0x6cb)]?.[_0x49e59e(_0x1d33df._0x26f08c,0x5ae,0x596,_0x1d33df._0x2bdb96)]({'type':AgentEventTypes[_0x49e59e(0x60a,0x7ba,0x616,_0x1d33df._0x368daf)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'userContent':_0x864112,'enhanced':_0x5dcfa6,'toolNames':_0x449d19});function _0x1916ed(_0x55420e,_0x13a73a,_0x10e8a9,_0x73e385){return _0x27e2df(_0x55420e-0x77,_0x73e385-0x3d4,_0x10e8a9-0xa3,_0x13a73a);}const _0x426b72=this['cfg']['reasoningEffort']?{'effort':this[_0x1916ed(0x5c9,0x40c,0x580,0x4b4)][_0x49e59e(0x79f,0x5c2,0x6df,_0x1d33df._0x1462da)]}:void 0x0,_0x1f209b={'LOW':0x400,'MEDIUM':0x1000,'HIGH':0x4000};let _0x4d15ed;if(this[_0x49e59e(_0x1d33df._0x56ba9f,_0x1d33df._0x31fe5d,0x844,_0x1d33df._0x20aae8)]['thinking']&&this[_0x1916ed(0x274,0x43b,_0x1d33df._0x2cf76c,0x4b4)][_0x1916ed(_0x1d33df._0x56bf3c,_0x1d33df._0x1db748,0x52f,0x6fe)]!==_0x1916ed(0x256,_0x1d33df._0x115a64,_0x1d33df._0x49ef0a,_0x1d33df._0x57cc9a)){const _0x55a732=_0x1f209b[this[_0x49e59e(_0x1d33df._0x47704a,0x44b,_0x1d33df._0x3b8331,_0x1d33df._0x5a3298)][_0x49e59e(_0x1d33df._0x4102fc,_0x1d33df._0x501143,0x645,_0x1d33df._0x2bfd5)]]??0x1000;_0x4d15ed={'type':_0x49e59e(_0x1d33df._0x384ccc,0xac1,0x81c,0x86f),'budget_tokens':_0x55a732};}else this[_0x49e59e(_0x1d33df._0x2bcee4,0x7b3,0x401,_0x1d33df._0x1333a0)][_0x1916ed(0x669,_0x1d33df._0x335835,0x5a8,0x6fe)]==='OFF'&&(_0x4d15ed={'type':_0x49e59e(0x773,_0x1d33df._0x446175,_0x1d33df._0x5bceb4,0x69d)});const _0x569181={'messages':_0x4e8bd1,'model':this[_0x49e59e(0x60b,_0x1d33df._0x5ad9c4,0x49a,0x817)]['model'],'temperature':this[_0x1916ed(0x552,0x608,_0x1d33df._0x732569,_0x1d33df._0x4506be)][_0x49e59e(_0x1d33df._0x3df564,0x6af,_0x1d33df._0x3cd99c,_0x1d33df._0xdac68c)],'maxTokens':this[_0x49e59e(_0x1d33df._0x23cae1,_0x1d33df._0x1a3050,0x831,0x814)][_0x1916ed(0x5f4,_0x1d33df._0xf25acf,_0x1d33df._0x7537c2,0x74a)],'topP':this[_0x1916ed(0x324,_0x1d33df._0x1f305f,0x2d0,0x4b4)][_0x1916ed(_0x1d33df._0x239016,0x732,_0x1d33df._0x1bfaf2,0x747)],'tools':_0x5ddd3f[_0x1916ed(0x748,0x7fe,_0x1d33df._0x356cef,_0x1d33df._0x38a0eb)]?_0x5ddd3f:void 0x0,'tool_choice':_0x5ddd3f[_0x49e59e(_0x1d33df._0x4be467,0x81f,0x827,_0x1d33df._0x8c4a58)]?_0x49e59e(_0x1d33df._0x37886e,0x66d,_0x1d33df._0x55e885,_0x1d33df._0x1f4638):_0x49e59e(0x812,_0x1d33df._0x112434,0x858,_0x1d33df._0x13ca2c),'reasoning':_0x426b72,'thinking':_0x4d15ed};let _0x2eb76f='';const _0x4a82c9=[],_0x25f65b=[..._0x4e8bd1];function _0x49e59e(_0x35ddf5,_0x40aab3,_0x1ef887,_0x37f647){return _0x27e2df(_0x35ddf5-_0x545755._0x17ea0c,_0x35ddf5-_0x545755._0x6557d0,_0x1ef887-0x2e,_0x1ef887);}const _0x41035d=[];let _0x3ba9bd,_0x5bd60f=![],_0x5b999c='',_0x21abd8=![];if(_0x3eec7d[_0x1916ed(0x4b5,_0x1d33df._0x27ab84,_0x1d33df._0x565649,_0x1d33df._0x5eea3b)]&&typeof _0x390999[_0x1916ed(0x5fd,_0x1d33df._0x328fd0,0x984,0x7b5)]==='function'){let _0x1bd147=!![];_0x3ba9bd=await _0x390999[_0x49e59e(_0x1d33df._0x4b113c,0x9a3,0x6cd,0x7ed)](_0x569181,{'onChunk':async(_0x3eb4b2,_0x5c7f86)=>{const _0x1fed53={_0x4b8238:0x2b,_0x32fd22:0x448};function _0x2fd347(_0x1e7d96,_0x16d024,_0x403736,_0x53c770){return _0x1916ed(_0x1e7d96-0x1bd,_0x403736,_0x403736-_0x1fed53._0x4b8238,_0x1e7d96- -_0x1fed53._0x32fd22);}_0x2eb76f+=_0x3eb4b2;const _0x3fa50b=_0x1bd147?_0x3eb4b2[_0x2fd347(0x21e,_0x192533._0x260f69,_0x192533._0xf0f36c,0xbf)](/^\n+/,''):_0x3eb4b2;function _0x257bba(_0x2fe3dd,_0x16552b,_0x443819,_0x26fd5f){return _0x49e59e(_0x2fe3dd-0xa,_0x16552b-_0xad6a6d._0xf146d,_0x26fd5f,_0x26fd5f-_0xad6a6d._0x27f2b2);}_0x1bd147=![];const _0x161dd2={'type':AgentEventTypes['AssistantChunk'],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'delta':_0x3fa50b,..._0x5c7f86&&{'usage':_0x5c7f86}};await this[_0x2fd347(0x283,_0x192533._0x5397a5,_0x192533._0x59fca9,0x398)]?.['emit'](_0x161dd2);},'onReasoningChunk':async _0xd3cba0=>{const _0x1fa696={_0xc6f898:0x101,_0x595ccf:0x75},_0xc7a273={_0xaba7ac:0xb8,_0x376cfe:0x11a,_0x105505:0x5c7};function _0x35f51c(_0x1f69c3,_0x45798b,_0x5bc8ae,_0x32cdf0){return _0x1916ed(_0x1f69c3-_0xc7a273._0xaba7ac,_0x5bc8ae,_0x5bc8ae-_0xc7a273._0x376cfe,_0x32cdf0- -_0xc7a273._0x105505);}function _0x409bf6(_0x16e26e,_0x2b2a8c,_0x2f241d,_0x9b5812){return _0x49e59e(_0x9b5812- -0x2f7,_0x2b2a8c-_0x1fa696._0xc6f898,_0x2f241d,_0x9b5812-_0x1fa696._0x595ccf);}await this[_0x35f51c(0x2ac,-0x2f,_0x1ee6b3._0x135d9d,_0x1ee6b3._0x3c50c4)]?.[_0x409bf6(0x231,0x35f,0x421,0x38c)]({'type':AgentEventTypes[_0x35f51c(-_0x1ee6b3._0x2e7c04,0x120,0xcc,-_0x1ee6b3._0x5889b8)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'delta':_0xd3cba0});},'onStreamFinish':async(_0x95f254,_0x417efe)=>{function _0x597a25(_0x54ef3b,_0x22779f,_0x12e9a8,_0x5af23c){return _0x1916ed(_0x54ef3b-_0x42e35b._0x571063,_0x5af23c,_0x12e9a8-_0x42e35b._0xcdd23f,_0x54ef3b- -0xcf);}function _0x148da8(_0x2bef49,_0x4d492d,_0x4fbf78,_0x55a5d5){return _0x1916ed(_0x2bef49-0x25,_0x55a5d5,_0x4fbf78-_0x5307a0._0x42ab2b,_0x4fbf78- -_0x5307a0._0x16b848);}if(_0x417efe){const _0x1ac1ca=this[_0x597a25(0x44b,_0x23add1._0xe298d8,0x273,0x674)][_0x148da8(0xa5,0x1e2,_0x23add1._0x422c25,_0x23add1._0x411398)](this['cfg'][_0x597a25(_0x23add1._0x59078c,0x916,_0x23add1._0x147359,0x910)],_0x417efe);this[_0x597a25(_0x23add1._0x5ba79e,0x66c,_0x23add1._0x50be5f,0x66c)]?.[_0x148da8(0x14d,_0x23add1._0x187c14,_0x23add1._0x10e28c,-0x4f)]?.(_0x417efe,_0x1ac1ca);}const _0x1a8cbd={'type':AgentEventTypes['StreamFinish'],'conversationId':_0x305b38,'messageId':_0xa1a0e4,..._0x95f254&&{'finishReason':_0x95f254},..._0x417efe&&{'usage':_0x417efe}};await this[_0x148da8(0x4fd,0x462,_0x23add1._0xa848e1,_0x23add1._0x48bc8e)]?.['emit'](_0x1a8cbd);},'onUsage':async _0x382b75=>{function _0x16d06c(_0x2a3649,_0x6730fc,_0x23982d,_0x2e43bd){return _0x1916ed(_0x2a3649-_0x4cb621._0x2688c7,_0x23982d,_0x23982d-_0x4cb621._0x1366ee,_0x6730fc- -_0x4cb621._0x88523);}function _0x586a84(_0x378dec,_0x33398f,_0x2e3906,_0x581f32){return _0x1916ed(_0x378dec-_0x41174b._0x5d6575,_0x33398f,_0x2e3906-0x86,_0x378dec- -_0x41174b._0x5d49f9);}const _0x5552fa=this['cost'][_0x586a84(-_0x539d9f._0x5d22c9,_0x539d9f._0x3edf8a,-0x3f,0x89)](this['cfg'][_0x586a84(0x2a5,_0x539d9f._0x192043,_0x539d9f._0x19e479,_0x539d9f._0x1fb5f9)],_0x382b75);this[_0x586a84(_0x539d9f._0x44df3b,0x4a9,_0x539d9f._0x364cb5,0x159)]?.[_0x16d06c(_0x539d9f._0x2a0728,0x1bf,-_0x539d9f._0x14989b,_0x539d9f._0x3deca1)]?.(_0x382b75,_0x5552fa);}},_0x3eec7d[_0x1916ed(_0x1d33df._0x27eefb,0x46f,_0x1d33df._0x23a0a7,_0x1d33df._0x5edc9a)]);}else{_0x3ba9bd=await _0x390999[_0x1916ed(0x66d,_0x1d33df._0x43a6ef,0x8b3,_0x1d33df._0x30c18e)](_0x569181,_0x3eec7d['signal']);if(_0x3ba9bd[_0x49e59e(0x8d6,0x804,_0x1d33df._0x23db45,0xab6)]){const _0x19fded=this[_0x1916ed(0x535,_0x1d33df._0x8f0bb9,_0x1d33df._0x5bd44d,0x51a)]['estimate'](this[_0x1916ed(_0x1d33df._0x23a2a2,0x46e,_0x1d33df._0x445754,_0x1d33df._0x4506be)][_0x49e59e(_0x1d33df._0x4dd5fc,_0x1d33df._0x24f76c,_0x1d33df._0x56d31b,0xafa)],_0x3ba9bd[_0x49e59e(_0x1d33df._0x3bc529,_0x1d33df._0x13aef3,_0x1d33df._0x49da51,0x948)]);this[_0x1916ed(0x83d,0x80b,0x840,_0x1d33df._0x164de0)]?.[_0x49e59e(0x55c,_0x1d33df._0x1b4583,_0x1d33df._0x45434d,_0x1d33df._0x48fd6a)]?.(_0x3ba9bd['usage'],_0x19fded);}}if(!_0x3ba9bd[_0x1916ed(0x727,0x808,_0x1d33df._0x1a372b,0x70a)]?.[_0x1916ed(0x505,_0x1d33df._0x518c50,_0x1d33df._0x1e0b40,0x61e)]&&_0x3ba9bd[_0x1916ed(_0x1d33df._0x51ecc8,0x658,_0x1d33df._0x35fd66,0x7f2)]&&!_0x21abd8){const _0x202c77=_0x3eec7d[_0x49e59e(_0x1d33df._0x1c8914,0x840,0x88d,0x90d)]?_0x2eb76f:_0x3ba9bd[_0x49e59e(_0x1d33df._0x2740d0,_0x1d33df._0x286484,0xa9f,_0x1d33df._0x50e705)],_0x5ac048={'id':_0xa1a0e4,'role':_0x1916ed(_0x1d33df._0x1bdead,0x806,0x895,_0x1d33df._0x5859f6),'content':_0x202c77,'timestamp':this[_0x49e59e(0x862,0x7d7,0x6d2,_0x1d33df._0x13ccd8)][_0x49e59e(_0x1d33df._0x40b946,0x8e7,_0x1d33df._0x8175db,_0x1d33df._0x45585b)](),'usage':_0x3ba9bd[_0x49e59e(0x8d6,_0x1d33df._0x3c5a88,0xa9e,0x7ea)]};await this[_0x1916ed(0x5dd,_0x1d33df._0x42b523,_0x1d33df._0xb90cdf,_0x1d33df._0x2d3b74)]['append'](_0x305b38,[_0x5ac048]),_0x21abd8=!![];if(_0x202c77[_0x49e59e(0x51d,_0x1d33df._0x10b18c,_0x1d33df._0x696a5a,0x5fd)]()){const _0x3d5d2e={'type':AgentEventTypes[_0x1916ed(_0x1d33df._0x39b509,_0x1d33df._0x8569af,0x447,_0x1d33df._0x5d06aa)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'content':_0x202c77,..._0x3ba9bd[_0x49e59e(_0x1d33df._0x5b6b07,0xa13,_0x1d33df._0x492c49,0x7b7)]&&{'usage':_0x3ba9bd[_0x49e59e(_0x1d33df._0x7e03f,0x984,_0x1d33df._0xadf3a9,0x9cf)]}};await this['events']?.[_0x1916ed(0x61e,0x438,_0x1d33df._0x54cd83,0x52c)](_0x3d5d2e);}}while(_0x3ba9bd[_0x1916ed(0x548,_0x1d33df._0x38747d,0x6fe,_0x1d33df._0x4e1fc0)]?.[_0x49e59e(0x775,_0x1d33df._0x570765,_0x1d33df._0x582f90,0x75f)]){if(_0x3ba9bd[_0x1916ed(0x7b1,_0x1d33df._0x1a0049,_0x1d33df._0x4130dd,0x7f2)]?.[_0x49e59e(_0x1d33df._0x5da3fc,0x486,_0x1d33df._0x25baab,0x38f)]()){const _0x475deb={'type':AgentEventTypes[_0x1916ed(_0x1d33df._0x2058b7,0x5a5,_0x1d33df._0x473634,_0x1d33df._0x3dc949)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'content':_0x3ba9bd[_0x1916ed(_0x1d33df._0x2e43f4,_0x1d33df._0x2940c5,_0x1d33df._0x416fa4,_0x1d33df._0x3849c3)],..._0x3ba9bd[_0x1916ed(0x681,0x618,0x686,0x77f)]&&{'usage':_0x3ba9bd[_0x49e59e(0x8d6,0xabc,0x6eb,0x987)]}};await this[_0x1916ed(_0x1d33df._0xf4861f,_0x1d33df._0x125c02,_0x1d33df._0x582f89,0x6cb)]?.['emit'](_0x475deb);}if(_0x3eec7d[_0x49e59e(0x7aa,_0x1d33df._0x134506,_0x1d33df._0x10aa3d,0x83a)]?.[_0x49e59e(0x8a5,0xa5d,0x722,0x717)])throw new Error('Aborted');await this[_0x49e59e(0x822,_0x1d33df._0xbae2e7,0x652,_0x1d33df._0x256aa7)]?.[_0x1916ed(_0x1d33df._0x4ee09e,_0x1d33df._0x1c3c1e,_0x1d33df._0x39bc59,_0x1d33df._0x39ef1e)]({'type':AgentEventTypes[_0x1916ed(0x39b,_0x1d33df._0xd23cc8,_0x1d33df._0x10a612,0x4b2)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'toolCalls':_0x3ba9bd[_0x49e59e(0x861,_0x1d33df._0x3f320b,0x677,0x927)],'usage':_0x3ba9bd[_0x1916ed(0x69a,0x90a,0x9aa,0x77f)]});const _0x53f33e=await this[_0x49e59e(0x737,_0x1d33df._0x9f4a05,_0x1d33df._0x46c752,_0x1d33df._0x39d53f)](_0x3ba9bd[_0x49e59e(_0x1d33df._0x4f08c3,0x9b8,0x958,_0x1d33df._0x4e0b0b)],_0x305b38,_0xa1a0e4,_0x25f65b,_0x41035d,_0x3ba9bd[_0x49e59e(0x949,0x804,0x767,0x83f)],_0x3ba9bd[_0x1916ed(0x856,0x716,_0x1d33df._0x7c1813,_0x1d33df._0x478990)],_0x3eec7d[_0x1916ed(0x540,0x5de,0x6f0,0x653)]);if(_0x53f33e[_0x49e59e(0x93a,0xa41,_0x1d33df._0xa12ea2,_0x1d33df._0x31916e)]){_0x5b999c=_0x53f33e[_0x49e59e(_0x1d33df._0x101b93,0xa29,0xabe,_0x1d33df._0x395955)]||'',_0x5bd60f=!![];break;}const _0x632925=_0x53f33e[_0x1916ed(_0x1d33df._0x445754,0x696,0x5f2,_0x1d33df._0x338efc)],_0x233c6f=_0x53f33e['bypassCalls'],_0x15b0b1=_0x53f33e[_0x49e59e(_0x1d33df._0x58c4a1,_0x1d33df._0x4de8d0,0x47a,_0x1d33df._0xe4451c)],_0x4c4a7=this[_0x49e59e(_0x1d33df._0x5c3bff,0x726,_0x1d33df._0x5f00e5,_0x1d33df._0xb01972)](),_0x2ad8e4=convertToolCallsWithErrorHandling(_0x632925,{'strict':this[_0x1916ed(_0x1d33df._0xcf1c6d,_0x1d33df._0x5caad8,_0x1d33df._0x425eea,0x4b4)][_0x49e59e(_0x1d33df._0x1e6e5e,0x648,_0x1d33df._0x1ad325,0x944)]??![],'availableTools':_0x4c4a7}),_0x999861=[],_0x10c2e6=_0x2ad8e4['invocations'];if(_0x2ad8e4[_0x49e59e(_0x1d33df._0x2fa1b1,_0x1d33df._0x3f349e,_0x1d33df._0x7e6c18,0x602)])for(const _0x566975 of _0x2ad8e4['errors']){_0x999861[_0x1916ed(0x8b1,_0x1d33df._0x40697d,0x802,_0x1d33df._0x156607)]({'id':_0x566975['id'],'name':_0x566975[_0x49e59e(_0x1d33df._0x3031a3,_0x1d33df._0x2f9da1,0x671,_0x1d33df._0x2073e8)],'status':_0x1916ed(_0x1d33df._0x2962db,0x7ba,0x953,0x7cd),'type':_0x1916ed(0x633,_0x1d33df._0xabf58a,0x541,0x6ba),'result':_0x49e59e(_0x1d33df._0x3a4388,0x87c,_0x1d33df._0x526795,_0x1d33df._0x4c25b7)+_0x566975[_0x1916ed(0x8ac,0x878,_0x1d33df._0x1d0544,_0x1d33df._0x381b67)]+_0x1916ed(_0x1d33df._0x15098f,_0x1d33df._0xb3b936,0x2b0,_0x1d33df._0x1d8a46)+_0x566975[_0x1916ed(0x90c,_0x1d33df._0x4a21c4,_0x1d33df._0x419f0d,_0x1d33df._0x326aea)],'metadata':{'errorReason':_0x1916ed(_0x1d33df._0xff9668,0x597,_0x1d33df._0x3ea767,0x54f)},'durationMs':0x0});}if(_0x3eec7d[_0x49e59e(0x7aa,0x62a,0x5dc,_0x1d33df._0x36471a)]?.[_0x1916ed(0x8a5,0x6f8,0x685,_0x1d33df._0x3f06d5)])throw new Error(_0x49e59e(_0x1d33df._0x3941a2,0x7c8,0x612,0x5ce));const _0x5074a6=await this['tools'][_0x49e59e(0x6ff,0x58b,_0x1d33df._0x4c77d6,_0x1d33df._0x496375)](_0x10c2e6,{'conversationId':_0x305b38,'agentId':this[_0x49e59e(_0x1d33df._0x56ba9f,_0x1d33df._0x36c778,_0x1d33df._0x47c212,_0x1d33df._0x44c897)]['id'],'messageId':_0xa1a0e4,'eventPort':this['events']},this[_0x49e59e(0x60b,0x4ac,_0x1d33df._0x1fd7cd,0x435)][_0x49e59e(0x67e,_0x1d33df._0xc93480,_0x1d33df._0x255258,0x624)]??0x3,_0x3eec7d['signal']),_0x5a2a00=[..._0x15b0b1,..._0x999861,..._0x5074a6],_0x15a045=[..._0x632925,..._0x233c6f],_0x5d81e7={'id':this[_0x1916ed(_0x1d33df._0x315b63,_0x1d33df._0x49ac10,_0x1d33df._0xc613b8,_0x1d33df._0x3fd6f8)][_0x1916ed(_0x1d33df._0x1073bd,0x7c5,_0x1d33df._0xf6e699,_0x1d33df._0x3e07ed)](),'role':'assistant','content':_0x3ba9bd[_0x1916ed(_0x1d33df._0x1ea8b7,0x947,_0x1d33df._0x2842d9,_0x1d33df._0xca86f0)]??null,'timestamp':this[_0x49e59e(_0x1d33df._0x2f1039,0x623,_0x1d33df._0x2e4b47,_0x1d33df._0x474782)]['iso'](),'tool_calls':_0x15a045,'usage':_0x3ba9bd[_0x1916ed(0x71b,_0x1d33df._0x5f0db5,_0x1d33df._0x5aefb2,0x77f)]},_0x3c4940=[];for(const _0x4b2362 of _0x5a2a00){let _0x4b0d2d;if(_0x4b2362[_0x1916ed(_0x1d33df._0x4fc896,_0x1d33df._0x1ecc59,0x874,0x680)]===_0x1916ed(0x7bb,_0x1d33df._0x1dc360,_0x1d33df._0x25fb7c,0x7cd))_0x4b0d2d=_0x4b2362[_0x1916ed(_0x1d33df._0x30c7f0,0x92e,_0x1d33df._0x39deb8,_0x1d33df._0x1e73cb)];else _0x4b2362['type']===_0x1916ed(0x4de,0x764,_0x1d33df._0x1ec33e,0x6ba)?_0x4b0d2d=_0x4b2362[_0x1916ed(0x9b3,_0x1d33df._0x3fa0f4,0x945,_0x1d33df._0x1e73cb)]:_0x4b0d2d=JSON['stringify'](_0x4b2362[_0x1916ed(0x5fc,_0x1d33df._0x3efa84,0x71e,0x7f8)],null,0x2);_0x3c4940[_0x1916ed(_0x1d33df._0x1b59ab,0x5dd,0xa2d,_0x1d33df._0x156607)]({'id':_0x4b2362['id'],'role':'tool','content':_0x4b0d2d,'timestamp':this[_0x49e59e(0x862,0xa99,0xa92,_0x1d33df._0x4804b4)][_0x49e59e(0x728,0x7be,_0x1d33df._0x1f47cd,0x7a1)](),'tool_call_id':_0x4b2362['id'],'name':_0x4b2362[_0x1916ed(_0x1d33df._0x3e592f,_0x1d33df._0x488112,0x6bb,_0x1d33df._0x874943)],'status':_0x4b2362[_0x1916ed(0x4d2,0x663,_0x1d33df._0xbd8cf4,_0x1d33df._0x3359ea)],'durationMs':_0x4b2362[_0x49e59e(_0x1d33df._0x5bb276,0xa8e,_0x1d33df._0x596912,_0x1d33df._0x40ae6b)],'metadata':_0x4b2362['metadata']}),this[_0x1916ed(_0x1d33df._0x466b73,_0x1d33df._0x552577,_0x1d33df._0x4d622e,_0x1d33df._0x58b991)]?.['recordToolCall']?.();const _0xa0284a=_0x15b0b1[_0x49e59e(_0x1d33df._0x3bef42,_0x1d33df._0x256e9f,_0x1d33df._0x5046b7,0x5e3)](_0x4588dc=>_0x4588dc['id']===_0x4b2362['id']);!_0xa0284a&&await this[_0x49e59e(0x822,_0x1d33df._0xf9fa2c,_0x1d33df._0x1a9b45,_0x1d33df._0x5aead8)]?.[_0x49e59e(_0x1d33df._0x26f08c,0x6a1,_0x1d33df._0x1c052a,0x65b)]({'type':AgentEventTypes[_0x49e59e(0x953,_0x1d33df._0x5de7a2,_0x1d33df._0x1b104a,_0x1d33df._0x563f97)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'result':_0x4b2362});}await this[_0x1916ed(_0x1d33df._0x3c398d,_0x1d33df._0x2cb6ce,0x3d1,_0x1d33df._0x2d3b74)][_0x49e59e(_0x1d33df._0x1ddecf,0x88e,_0x1d33df._0x26ca4d,0xac5)](_0x305b38,[_0x5d81e7,..._0x3c4940]);const {usage:_0x1ac4cb,..._0x231cfe}=_0x3ba9bd;_0x25f65b['push']({..._0x231cfe,'role':_0x1916ed(0x89c,0x8d0,_0x1d33df._0x8ef873,_0x1d33df._0x5859f6),'content':_0x3ba9bd['content']??null,'tool_calls':_0x15a045});for(const _0x37c809 of _0x5a2a00){let _0x44784d;if(_0x37c809[_0x1916ed(_0x1d33df._0x37c5b0,0x57d,_0x1d33df._0x4c2c48,0x680)]===_0x49e59e(0x924,0x93b,_0x1d33df._0x5bed57,0x712))_0x44784d=_0x37c809[_0x49e59e(0x94f,_0x1d33df._0x37c5b0,0x853,0x724)];else _0x37c809[_0x1916ed(0x5be,0x6ad,_0x1d33df._0x2087f1,_0x1d33df._0x2f4214)]===_0x1916ed(_0x1d33df._0x2a0766,_0x1d33df._0x1529b6,_0x1d33df._0x44fd0a,0x6ba)?_0x44784d=_0x37c809['result']:_0x44784d=JSON[_0x1916ed(0x3a2,0x5e8,_0x1d33df._0x3a98f1,_0x1d33df._0x3bd534)](_0x37c809[_0x49e59e(_0x1d33df._0x3ccea9,_0x1d33df._0x484137,0xa3a,0x8d4)],null,0x2);_0x25f65b['push']({'role':_0x49e59e(0x6dd,_0x1d33df._0x3933f7,0x7a4,_0x1d33df._0x13ccd8),'content':_0x44784d,'tool_call_id':_0x37c809['id'],'name':_0x37c809['name']});}if(_0x3eec7d[_0x49e59e(0x7aa,_0x1d33df._0xbd0652,0x824,_0x1d33df._0x12436f)]?.[_0x1916ed(_0x1d33df._0x559c93,_0x1d33df._0x14be72,0x97c,0x74e)])throw new Error(_0x49e59e(_0x1d33df._0x3941a2,0x924,_0x1d33df._0x15b8bd,0x873));_0x2eb76f='';if(_0x3eec7d['stream']&&typeof _0x390999[_0x1916ed(0x5cb,0x5d0,_0x1d33df._0x25225d,_0x1d33df._0x2af752)]===_0x49e59e(_0x1d33df._0x172931,_0x1d33df._0x3e0ff9,0x59b,_0x1d33df._0x5eeeab)){let _0x1edea8=!![];_0x3ba9bd=await _0x390999['streamCompletion']({..._0x569181,'messages':_0x25f65b},{'onChunk':async(_0xc0afe6,_0x1bf5f6)=>{const _0x1590a9={_0x420b77:0x143,_0x4e3e41:0x40,_0x269d92:0x367};_0x2eb76f+=_0xc0afe6;const _0x4c6e0d=_0x1edea8?_0xc0afe6['replace'](/^\n+/,''):_0xc0afe6;_0x1edea8=![];const _0x50098e={'type':AgentEventTypes[_0x5ca176(0x15f,_0x20adfa._0x38d73f,_0x20adfa._0x3b627a,_0x20adfa._0x10a956)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'delta':_0x4c6e0d,..._0x1bf5f6&&{'usage':_0x1bf5f6}};function _0x3a4b29(_0x3c6f90,_0x58cec7,_0x1cfab5,_0x1fab6b){return _0x1916ed(_0x3c6f90-_0x1590a9._0x420b77,_0x1cfab5,_0x1cfab5-_0x1590a9._0x4e3e41,_0x58cec7- -_0x1590a9._0x269d92);}function _0x5ca176(_0x404577,_0x133265,_0x3dab9f,_0x1c8724){return _0x1916ed(_0x404577-0x1ae,_0x404577,_0x3dab9f-_0xb3c82a._0x23f353,_0x3dab9f- -_0xb3c82a._0x746fc2);}await this[_0x3a4b29(0x478,0x364,_0x20adfa._0x31c4a3,_0x20adfa._0x12f8bd)]?.['emit'](_0x50098e);},'onReasoningChunk':async _0x4e66fd=>{const _0x26a000={_0x33729a:0x2a,_0x3db11b:0x65};function _0xfdb00c(_0x242762,_0x1650fc,_0x27a898,_0x19f358){return _0x1916ed(_0x242762-0x129,_0x19f358,_0x27a898-_0x3e31a5._0xc98cac,_0x27a898- -0x65d);}function _0x4290ac(_0x1749f5,_0x4195c2,_0x3cc8b0,_0x464bf6){return _0x49e59e(_0x3cc8b0- -0x7ba,_0x4195c2-_0x26a000._0x33729a,_0x1749f5,_0x464bf6-_0x26a000._0x3db11b);}await this['events']?.[_0x4290ac(-_0x475e54._0x15556e,-0x303,-_0x475e54._0x580623,_0x475e54._0x864219)]({'type':AgentEventTypes[_0xfdb00c(-_0x475e54._0xf448de,_0x475e54._0x2d165d,-_0x475e54._0x277d61,-_0x475e54._0x63dacb)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'delta':_0x4e66fd});},'onStreamFinish':async(_0x30ddde,_0x29b254)=>{if(_0x29b254){const _0x446c14=this['cost'][_0x302aa2(0x4b1,_0x313502._0x12e8d9,0x775,_0x313502._0x1ef9c4)](this['cfg']['model'],_0x29b254);this[_0x76999f(_0x313502._0x2256a1,0x6aa,0x4f1,_0x313502._0x38e3ac)]?.[_0x302aa2(_0x313502._0xe43442,0x691,_0x313502._0x48f139,0x4db)]?.(_0x29b254,_0x446c14);}function _0x76999f(_0x1210ac,_0x56e305,_0x4f3ead,_0x4aa99f){return _0x1916ed(_0x1210ac-_0x226ca7._0x207de1,_0x1210ac,_0x4f3ead-_0x226ca7._0x1d1ec4,_0x4f3ead- -_0x226ca7._0x34662e);}function _0x302aa2(_0x38801a,_0x260724,_0x4ce6dc,_0x5a4735){return _0x1916ed(_0x38801a-0x5a,_0x260724,_0x4ce6dc-0x106,_0x5a4735-_0x18e399._0x379fd9);}const _0x499228={'type':AgentEventTypes[_0x76999f(_0x313502._0x4e4c1e,0x6db,0x4cb,_0x313502._0x5839d0)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,..._0x30ddde&&{'finishReason':_0x30ddde},..._0x29b254&&{'usage':_0x29b254}};await this[_0x302aa2(0x900,_0x313502._0x1ae6ec,0x675,_0x313502._0x31a156)]?.['emit'](_0x499228);},'onUsage':async _0x4399dc=>{const _0x320ee3={_0x1265f4:0x65,_0x1c0e7c:0x33},_0x415f5b={_0x2a83f3:0xce,_0x47ef95:0x14e},_0x5bc92c=this['cost']['estimate'](this['cfg'][_0x3f584d(0x706,0x939,0x972,_0x5d7cde._0x2a04ce)],_0x4399dc);function _0x5e4214(_0x25c092,_0x2a0c93,_0x1a244a,_0x1973ef){return _0x49e59e(_0x1a244a- -_0x415f5b._0x2a83f3,_0x2a0c93-_0x415f5b._0x47ef95,_0x2a0c93,_0x1973ef-0x17b);}function _0x3f584d(_0x29f70e,_0x309169,_0x1caa0b,_0x6080ff){return _0x1916ed(_0x29f70e-_0x320ee3._0x1265f4,_0x1caa0b,_0x1caa0b-_0x320ee3._0x1c0e7c,_0x309169-0x12a);}this['metrics']?.[_0x3f584d(_0x5d7cde._0x1561e2,0x52f,0x3d1,0x5f2)]?.(_0x4399dc,_0x5bc92c);}},_0x3eec7d[_0x1916ed(_0x1d33df._0x1f1c3b,0x71b,0x890,0x653)]);}else{_0x3ba9bd=await _0x390999[_0x49e59e(_0x1d33df._0x2f3b4f,0x9fb,_0x1d33df._0x2d9ce0,0x84a)]({..._0x569181,'messages':_0x25f65b},_0x3eec7d[_0x1916ed(_0x1d33df._0x1a65a6,_0x1d33df._0x1d2f53,_0x1d33df._0x248921,0x653)]);if(_0x3ba9bd[_0x1916ed(0x9bf,0x701,0x9b9,_0x1d33df._0x4d19e8)]){const _0x29d9ef=this[_0x49e59e(_0x1d33df._0x4a4296,_0x1d33df._0x363e67,0x4c5,0x660)][_0x1916ed(_0x1d33df._0x3f66eb,_0x1d33df._0x47ddb4,_0x1d33df._0x48c95f,_0x1d33df._0x30718a)](this['cfg']['model'],_0x3ba9bd[_0x1916ed(_0x1d33df._0x2bfd42,0x6be,_0x1d33df._0x540ffb,_0x1d33df._0x4d19e8)]);this[_0x1916ed(_0x1d33df._0x250488,0x81a,_0x1d33df._0xe3c848,0x7f4)]?.[_0x1916ed(_0x1d33df._0x2fc406,0x555,0x263,0x405)]?.(_0x3ba9bd[_0x49e59e(_0x1d33df._0x3bc529,0xaf8,0x91b,_0x1d33df._0x3be776)],_0x29d9ef);}}if(!_0x3ba9bd[_0x49e59e(0x861,_0x1d33df._0x47c71f,0x9e0,0xa43)]?.[_0x1916ed(0x50b,0x786,0x7d2,0x61e)]&&_0x3ba9bd['content']&&!_0x21abd8){const _0x3688d7=_0x3eec7d[_0x1916ed(_0x1d33df._0x1ac947,_0x1d33df._0x45585b,_0x1d33df._0x45585b,0x662)]?_0x2eb76f:_0x3ba9bd['content'],_0x19b0a9={'id':_0xa1a0e4,'role':'assistant','content':_0x3688d7,'timestamp':this[_0x49e59e(_0x1d33df._0x2f1039,_0x1d33df._0x4a8ef8,0x864,_0x1d33df._0x498527)][_0x1916ed(0x568,0x5b8,_0x1d33df._0x40782f,_0x1d33df._0x483c9c)](),'usage':_0x3ba9bd[_0x49e59e(_0x1d33df._0x3bc529,_0x1d33df._0x25a393,_0x1d33df._0x49da51,0x97f)]};await this[_0x49e59e(0x66e,0x7cc,0x689,0x6bb)][_0x1916ed(_0x1d33df._0x5bb539,0x60d,0x6cc,_0x1d33df._0x1a9b45)](_0x305b38,[_0x19b0a9]),_0x21abd8=!![];if(_0x3688d7['trim']()){const _0x5569e4={'type':AgentEventTypes[_0x49e59e(0x522,_0x1d33df._0x149bba,0x551,_0x1d33df._0x4a8ef8)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'content':_0x3688d7,..._0x3ba9bd[_0x49e59e(_0x1d33df._0x520259,_0x1d33df._0xf8a5dc,_0x1d33df._0x4df118,0x9e9)]&&{'usage':_0x3ba9bd[_0x1916ed(_0x1d33df._0x34bdc4,_0x1d33df._0x496dc8,0x932,0x77f)]}};await this[_0x1916ed(0x4a9,_0x1d33df._0x9d76e3,_0x1d33df._0x3d8dd7,_0x1d33df._0x3ed56a)]?.['emit'](_0x5569e4);}}}const _0x173596=this[_0x1916ed(_0x1d33df._0x289c6b,0x8c2,0x626,_0x1d33df._0x496375)][_0x1916ed(_0x1d33df._0x5f44e8,0x7f0,_0x1d33df._0x368daf,0x7ab)](),_0x335fb2=this['clock']['iso']();this[_0x1916ed(0x779,_0x1d33df._0x3e3169,_0x1d33df._0x3d4197,_0x1d33df._0x58b991)]?.[_0x1916ed(0x630,_0x1d33df._0x26d9fd,0x3e2,0x409)]?.(_0x173596-_0x30f394);const _0x219bc1=_0x3ba9bd[_0x49e59e(0x949,_0x1d33df._0x3c233e,_0x1d33df._0xd1a379,0xb20)]?.['trim']()&&!_0x5bd60f&&!_0x21abd8;if(_0x219bc1){const _0x968058={'type':AgentEventTypes[_0x49e59e(0x522,_0x1d33df._0x32c358,0x359,_0x1d33df._0x5b3412)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'content':_0x3ba9bd[_0x49e59e(_0x1d33df._0x2740d0,_0x1d33df._0xd22289,_0x1d33df._0x38a920,_0x1d33df._0x510a13)],..._0x3ba9bd[_0x1916ed(_0x1d33df._0x2ed7f4,_0x1d33df._0xc9ca62,_0x1d33df._0x39e4df,_0x1d33df._0x4d19e8)]&&{'usage':_0x3ba9bd[_0x49e59e(_0x1d33df._0x33a559,_0x1d33df._0x178670,0x9ac,0xad9)]}};await this[_0x49e59e(_0x1d33df._0x3bba45,0x727,0xa07,0x791)]?.[_0x49e59e(0x683,0x8a0,_0x1d33df._0x302d07,0x6e8)](_0x968058);}const _0x5a1c78=_0x5bd60f?_0x5b999c:_0x3ba9bd[_0x49e59e(_0x1d33df._0x2740d0,_0x1d33df._0x1e6e5e,_0x1d33df._0x185bcd,_0x1d33df._0x4b6fe6)],_0x1c5849={'id':_0xa1a0e4,'content':_0x5a1c78,'role':MessageRoles[_0x49e59e(0x6e2,0x7a3,_0x1d33df._0x4ac171,0x814)],'timestamp':_0x335fb2,'metadata':{'model':this['cfg'][_0x1916ed(0x5e4,0x617,0x98f,_0x1d33df._0x3d5c7f)],'provider':_0x49e59e(0x628,0x75c,0x62e,_0x1d33df._0x1bad30),'agentId':this[_0x1916ed(0x45b,_0x1d33df._0x5db7ad,0x537,0x4b4)]['id'],'responseTime':_0x173596-_0x30f394,'promptTokens':_0x3ba9bd['usage']?.[_0x1916ed(0x3d7,0x485,_0x1d33df._0x38cca5,_0x1d33df._0x202c28)],'completionTokens':_0x3ba9bd[_0x1916ed(_0x1d33df._0x35d9b1,_0x1d33df._0x2a3c36,0x7ae,0x77f)]?.['completion_tokens'],'totalTokens':_0x3ba9bd[_0x49e59e(0x8d6,_0x1d33df._0x34b763,0x8d1,0xa9c)]?.[_0x1916ed(_0x1d33df._0x1bcd68,_0x1d33df._0x3d4cd0,0x2c5,_0x1d33df._0x30cbcc)],'estimatedCost':this['cost']['estimate'](this[_0x1916ed(_0x1d33df._0x397b7b,_0x1d33df._0xb953ac,_0x1d33df._0x139675,0x4b4)][_0x49e59e(_0x1d33df._0x9f4a05,0x878,0x726,_0x1d33df._0x2a92b6)],_0x3ba9bd[_0x1916ed(_0x1d33df._0x5d598b,0x829,_0x1d33df._0x1a84df,_0x1d33df._0x430962)]),'toolCalls':_0x4a82c9[_0x1916ed(_0x1d33df._0x5d75b9,_0x1d33df._0x172c4e,_0x1d33df._0x119d72,0x61e)]}};return await this[_0x1916ed(_0x1d33df._0x5d2f11,_0x1d33df._0xceba06,0x62d,_0x1d33df._0x3ed56a)]?.[_0x49e59e(_0x1d33df._0x155579,_0x1d33df._0x498660,0x444,_0x1d33df._0x5ba830)]({'type':AgentEventTypes[_0x1916ed(_0x1d33df._0x3031a3,0x6bf,0x78b,_0x1d33df._0xb8ef9b)],'conversationId':_0x305b38,'messageId':_0xa1a0e4,'responseTimeMs':_0x173596-_0x30f394,'usage':_0x3ba9bd[_0x49e59e(_0x1d33df._0x7e03f,0xa83,0x761,0x6a1)]}),_0x1c5849;}async[_0x27e2df(0x12a,0x37,0x53,0xad)](_0x10dc12,_0x334a1f,_0x456309){const _0x1f928a={_0x44b41d:0x2aa,_0x32ac38:0x653,_0xbcab1a:0x703,_0x5df53d:0x6b5},_0x4ae99b={_0x401009:0x302,_0x2d5d1b:0x31d,_0x230e82:0x3dd,_0x2ca6bb:0xa,_0x502ead:0x82,_0x195e59:0x324,_0x2c9ca7:0x494,_0x4d4660:0x4cc,_0xb0ba69:0x100},_0x23cf55={_0x20a13b:0x1fb},_0x38cc64={_0x29bd3a:0x2e8};function _0x5e3a53(_0x305b17,_0x29fc01,_0x27c97c,_0x4af236){return _0xadee61(_0x29fc01-_0x38cc64._0x29bd3a,_0x27c97c,_0x27c97c-0x115,_0x4af236-0x1d7);}function _0x443724(_0x4c7a93,_0x42389d,_0x2eb099,_0x209d07){return _0xadee61(_0x209d07-_0x23cf55._0x20a13b,_0x2eb099,_0x2eb099-0x119,_0x209d07-0x161);}const _0x9a34cd=this[_0x443724(_0x1f928a._0x44b41d,_0x1f928a._0x32ac38,0x297,0x46a)][_0x5e3a53(_0x1f928a._0xbcab1a,0x694,0x5bd,_0x1f928a._0x5df53d)]();return new Promise((_0x21c664,_0x29b77a)=>{const _0x51985b={_0x1467ef:0x2a8},_0x40af5d={_0x5a1630:0x183};this['pendingApprovals'][_0x3464d8(_0x4ae99b._0x401009,0x1ef,0x281,0x202)](_0x9a34cd,{'resolve':_0x21c664,'reject':_0x29b77a});function _0x3464d8(_0x2fc7d4,_0x431f83,_0xcd0a0a,_0x4eaaf8){return _0x5e3a53(_0x2fc7d4-0x72,_0x431f83- -0x543,_0x2fc7d4,_0x4eaaf8-_0x40af5d._0x5a1630);}function _0x155ee4(_0x4b7cb0,_0x118609,_0x7a20dd,_0x2311ac){return _0x5e3a53(_0x4b7cb0-0x12d,_0x4b7cb0- -_0x51985b._0x1467ef,_0x118609,_0x2311ac-0x62);}this[_0x3464d8(_0x4ae99b._0x2d5d1b,0x1b1,_0x4ae99b._0x230e82,_0x4ae99b._0x2ca6bb)]?.[_0x155ee4(0x2ad,_0x4ae99b._0x502ead,0x239,_0x4ae99b._0x195e59)]({'type':AgentEventTypes[_0x155ee4(0x2be,_0x4ae99b._0x2c9ca7,_0x4ae99b._0x4d4660,_0x4ae99b._0xb0ba69)],'conversationId':_0x334a1f,'messageId':_0x456309,'toolCalls':_0x10dc12,'approvalId':_0x9a34cd});});}[_0x27e2df(-0x28,0x33,0xf5,-0x1ef)](_0x50a38,_0x3c810c,_0x111f3a,_0x4a002a){const _0x174708={_0x297be6:0x247,_0x231791:0x1a6,_0x43bd8f:0xb2,_0x5420c2:0x14e,_0x3a690c:0xc6,_0x387d78:0x2b3,_0x11f20e:0x24f,_0x290577:0x13c,_0x4e0535:0x1e4,_0x230685:0x1b4,_0x2effba:0x1c2,_0x43ca71:0x66,_0x321936:0x4fa,_0x3667d8:0x125,_0x3fe16a:0x256,_0x43af52:0x37c,_0x13a024:0x3c2,_0x3301da:0x463,_0x4ede51:0x261,_0x2f7af3:0x402,_0x4ac5df:0x1d0,_0x127145:0x91f,_0x448539:0x71c},_0x106d29={_0x25c786:0x8d,_0x4704f6:0x4b},_0x3a71ae={_0x18f84f:0x2d2};function _0xdf618f(_0xf2131d,_0xcffd44,_0x2af330,_0x14db77){return _0x27e2df(_0xf2131d-0x1a6,_0x14db77-_0x3a71ae._0x18f84f,_0x2af330-0xe7,_0xf2131d);}const _0x544a0d=this[_0xdf618f(_0x174708._0x297be6,_0x174708._0x231791,0x2b1,0x3b4)][_0x370ba0(0x1d8,_0x174708._0x43bd8f,_0x174708._0x5420c2,_0x174708._0x3a690c)](_0x50a38);function _0x370ba0(_0x4c1a98,_0x609283,_0x37d357,_0x5385bf){return _0xadee61(_0x37d357- -0x35,_0x5385bf,_0x37d357-_0x106d29._0x25c786,_0x5385bf-_0x106d29._0x4704f6);}if(!_0x544a0d){console[_0x370ba0(_0x174708._0x387d78,0x547,0x3f9,_0x174708._0x11f20e)](_0x370ba0(0x150,0x57,_0x174708._0x290577,_0x174708._0x4e0535)+_0x50a38);return;}this[_0x370ba0(0x5a,_0x174708._0x230685,_0x174708._0x2effba,-_0x174708._0x43ca71)]['delete'](_0x50a38);if(_0x3c810c===_0xdf618f(0x4ad,0x6a1,0x3a0,_0x174708._0x321936))_0x544a0d['reject'](new Error('Tool\x20execution\x20denied\x20by\x20user'));else{if(_0x3c810c===_0x370ba0(_0x174708._0x3667d8,0x436,_0x174708._0x3fe16a,0x2b2)&&_0x4a002a)_0x544a0d[_0xdf618f(_0x174708._0x43af52,0x58f,0x2a5,_0x174708._0x13a024)]({'editInstruction':_0x4a002a});else _0x3c810c===_0x370ba0(0xf8,_0x174708._0x3301da,0x2fd,_0x174708._0x4ede51)||_0x3c810c==='approve'?_0x544a0d[_0x370ba0(_0x174708._0x2f7af3,-0x15,_0x174708._0x4ac5df,0x287)](_0x111f3a||[]):_0x544a0d['reject'](new Error(_0xdf618f(_0x174708._0x127145,0x932,0x8e6,_0x174708._0x448539)+_0x3c810c));}}['getAvailableToolNames'](){const _0xae3828={_0x295bab:0x5a,_0x108b49:0x71,_0x5c78c5:0x1a0,_0x2a7fc4:0x166},_0x1f2df3={_0x3b6b9e:0x185},_0x3ab047={_0x433fbc:0x5e,_0xc9944a:0x1d2};function _0x5304c8(_0x46669e,_0x4ac7b5,_0x36a87a,_0x3df9c3){return _0x27e2df(_0x46669e-_0x3ab047._0x433fbc,_0x3df9c3- -0x67,_0x36a87a-_0x3ab047._0xc9944a,_0x36a87a);}const _0x38151a=this[_0x5304c8(-0xea,0x92,-_0xae3828._0x295bab,-_0xae3828._0x108b49)]['getToolDefinitions'](this[_0x28915c(_0xae3828._0x5c78c5,0x265,_0xae3828._0x2a7fc4,0x1f0)]['enabledTools']??[]);function _0x28915c(_0x3bd25d,_0x228e57,_0x12853a,_0x51599b){return _0x27e2df(_0x3bd25d-0x177,_0x228e57-_0x1f2df3._0x3b6b9e,_0x12853a-0xf3,_0x51599b);}return new Set(_0x38151a['map'](_0x3388c7=>_0x3388c7[_0x5304c8(0xac,0x1f7,0x128,-0x16)][_0x5304c8(0x30a,0x369,0x6f,0x1a9)]));}};import*as _0x37f2cd from'os';import*as _0x43a8ec from'path';import*as _0x39bc2e from'fs';var RuntimeEnv=class{[_0x27e2df(0x3cd,0x334,0x150,0x2e6)];[_0x27e2df(0x471,0x36c,0x52d,0x1b5)]=null;constructor(_0x2902e9={}){const _0x2ecce4={_0xf6b7d1:0x3a4,_0x328b4e:0x4b3,_0x14fc55:0x41f,_0xc90749:0x2c4,_0x204043:0x15f},_0x5bfd0e={_0x36ff23:0x146,_0x564fda:0xef,_0x3307d2:0x1e1},_0x2b7f2e={_0x179133:0xa5};function _0x42d9a4(_0x5bcf19,_0x319282,_0x5e1480,_0x1de6da){return _0xadee61(_0x319282- -_0x2b7f2e._0x179133,_0x5bcf19,_0x5e1480-0x1ea,_0x1de6da-0x1e5);}function _0x109337(_0x437587,_0x2c5224,_0x2ca5eb,_0x16f42){return _0x27e2df(_0x437587-_0x5bfd0e._0x36ff23,_0x437587- -_0x5bfd0e._0x564fda,_0x2ca5eb-_0x5bfd0e._0x3307d2,_0x16f42);}this[_0x42d9a4(0x3f9,_0x2ecce4._0xf6b7d1,_0x2ecce4._0x328b4e,_0x2ecce4._0x14fc55)]=_0x2902e9[_0x109337(0x245,_0x2ecce4._0xc90749,0x18f,0x1f7)]||_0x109337(-0x7,-0x55,_0x2ecce4._0x204043,-0xdb);}get[_0xadee61(0x39b,0x412,0x5de,0x4b4)](){const _0x4baf38={_0x3bc840:0x42a,_0x31f61e:0x6d6,_0x162b7f:0x1b7,_0x3498ce:0x44d,_0x31950d:0x471,_0xd97bba:0x758,_0x47c084:0x64a,_0x6e9a8d:0x884,_0x2675e8:0x61d,_0x451c2d:0x730,_0x3efc72:0x4f6,_0x291a09:0x7e7,_0xadd652:0x58e,_0xad5cd5:0x4f3,_0x7d460c:0x7f0,_0x287880:0x84a},_0x2db65e={_0x110a47:0x15e},_0x3c0d95={_0x3fbac3:0x67,_0x4ccfd6:0xc};function _0xaa08e6(_0x212929,_0x1aec3d,_0x122151,_0x111e16){return _0xadee61(_0x1aec3d-0x1d2,_0x111e16,_0x122151-_0x3c0d95._0x3fbac3,_0x111e16-_0x3c0d95._0x4ccfd6);}function _0x130087(_0x197600,_0x43812a,_0x13f5bf,_0x2f1bf1){return _0xadee61(_0x13f5bf-_0x2db65e._0x110a47,_0x197600,_0x13f5bf-0x66,_0x2f1bf1-0x5c);}if(!this[_0xaa08e6(0x54a,0x653,0x5b9,_0x4baf38._0x3bc840)]){const _0x5aa5f1=_0x43a8ec[_0x130087(_0x4baf38._0x31f61e,0x721,0x57b,0x543)](_0x37f2cd[_0x130087(_0x4baf38._0x162b7f,_0x4baf38._0x3498ce,0x2ee,_0x4baf38._0x31950d)](),this['appName'],String(Date[_0x130087(0x613,_0x4baf38._0xd97bba,_0x4baf38._0x47c084,_0x4baf38._0x6e9a8d)]()));try{_0x39bc2e[_0xaa08e6(_0x4baf38._0x2675e8,_0x4baf38._0x451c2d,_0x4baf38._0x3efc72,_0x4baf38._0x291a09)](_0x5aa5f1,{'recursive':!![]});}catch{}this[_0xaa08e6(0x826,0x653,0x56e,_0x4baf38._0xadd652)]=_0x5aa5f1;}return this[_0xaa08e6(_0x4baf38._0xad5cd5,0x653,_0x4baf38._0x7d460c,_0x4baf38._0x287880)];}[_0x27e2df(0x315,0x276,0x3b5,0x1ee)](_0x4c1e1b){const _0x15d4cf={_0x22dcb0:0x2d8,_0x3f040b:0x2ec,_0x5f4bb5:0x4af,_0x12cef7:0x3bf,_0xac0ea6:0x401,_0x254970:0x34e,_0x2ae79a:0x430,_0x3c4ccc:0x6e7,_0x3b598c:0x35e,_0x3dd9c9:0x3f2,_0xdb4fa7:0x43d,_0x343b2b:0x731,_0x40ad50:0x875,_0x408dd6:0x69e,_0x555dc6:0x763,_0xfeeff6:0x406,_0xb45013:0x721},_0x4ccee7={_0x483ad:0x15f,_0x5ccf97:0x3b5,_0x40c721:0x112},_0x283a92={_0x4e414f:0x1a7},_0x42945e=_0x43a8ec[_0x5b9615(_0x15d4cf._0x22dcb0,_0x15d4cf._0x3f040b,_0x15d4cf._0x5f4bb5,_0x15d4cf._0x12cef7)](_0x37f2cd[_0x5cab79(_0x15d4cf._0xac0ea6,_0x15d4cf._0x254970,0x33c,_0x15d4cf._0x2ae79a)](),this[_0x5b9615(0x676,_0x15d4cf._0x3c4ccc,0x4db,_0x15d4cf._0x3b598c)]);try{_0x39bc2e[_0x5b9615(_0x15d4cf._0x3dd9c9,0x3c7,0x5f0,_0x15d4cf._0xdb4fa7)](_0x42945e,{'recursive':!![]});}catch{}function _0x5b9615(_0x36fe5c,_0x112a3a,_0x3b8c6b,_0x24f19a){return _0x27e2df(_0x36fe5c-0x10e,_0x3b8c6b-_0x283a92._0x4e414f,_0x3b8c6b-0x4b,_0x24f19a);}function _0x5cab79(_0x56355a,_0xb09e1b,_0x53dbbd,_0x1bdfdf){return _0x27e2df(_0x56355a-_0x4ccee7._0x483ad,_0x1bdfdf-_0x4ccee7._0x5ccf97,_0x53dbbd-_0x4ccee7._0x40c721,_0xb09e1b);}const _0x25c2ea=_0x4c1e1b?_0x43a8ec['join'](_0x42945e,_0x4c1e1b):_0x43a8ec[_0x5cab79(_0x15d4cf._0x343b2b,_0x15d4cf._0x40ad50,_0x15d4cf._0x408dd6,0x6bd)](_0x42945e,String(Date[_0x5b9615(0x3d3,0x78c,0x57e,_0x15d4cf._0x555dc6)]()));try{_0x39bc2e[_0x5b9615(0x50a,_0x15d4cf._0xfeeff6,0x5f0,0x3e6)](_0x25c2ea,{'recursive':!![]});}catch{}this[_0x5cab79(0x638,0x7cd,0x8eb,_0x15d4cf._0xb45013)]=_0x25c2ea;}[_0x27e2df(-0x106,0x66,0x166,0x21c)](){const _0x432620={_0x12514d:0x206,_0x872b73:0x270,_0x14d3c8:0x962,_0x1a3875:0x488,_0xcb166c:0x57c,_0x24fa80:0x151,_0x3fee8e:0x55,_0x4472c4:0x32a,_0xb8c8e9:0x17b,_0x536228:0x4f1,_0x3ddfa6:0x533},_0x46842d={_0x48d1c0:0xc4},_0x1d61c7={_0x59002e:0x1cb};function _0xc6305e(_0x425097,_0x93aeef,_0x39984f,_0x181610){return _0x27e2df(_0x425097-_0x1d61c7._0x59002e,_0x39984f-0x3ed,_0x39984f-0x50,_0x425097);}function _0x3fe7fe(_0x11bdab,_0x19212c,_0x17f5b8,_0x3b61ff){return _0xadee61(_0x11bdab- -0x3f,_0x17f5b8,_0x17f5b8-0x171,_0x3b61ff-_0x46842d._0x48d1c0);}return{'cwd':safeCwd(),'platform':process[_0x3fe7fe(0x181,_0x432620._0x12514d,_0x432620._0x872b73,-0x6b)],'arch':process[_0xc6305e(0x7c3,0x70c,0x7eb,_0x432620._0x14d3c8)],'today':new Date()[_0x3fe7fe(_0x432620._0x1a3875,0x4f2,_0x432620._0xcb166c,0x520)](),'tempDir':_0x37f2cd[_0x3fe7fe(_0x432620._0x24fa80,_0x432620._0x3fee8e,_0x432620._0x4472c4,0x359)](),'workspaceDir':this[_0x3fe7fe(0x35c,_0x432620._0xb8c8e9,_0x432620._0x536228,_0x432620._0x3ddfa6)]};}[_0x27e2df(0x1a4,0x155,0x248,0x394)](..._0x3ad66d){const _0x413f43={_0x5c3b0b:0x5c6,_0x2f1d9b:0x6e7,_0x2d096a:0x5b3,_0x435236:0x4ab},_0x3e4f32={_0x5ea718:0x110},_0x48a32f={_0x5241d2:0x2ab,_0x778ede:0x1b1};function _0x152576(_0x420130,_0x5e593b,_0x16426b,_0x5dc6a4){return _0x27e2df(_0x420130-0xd5,_0x5dc6a4-_0x48a32f._0x5241d2,_0x16426b-_0x48a32f._0x778ede,_0x5e593b);}function _0x49fc6f(_0x4e4c91,_0x85239d,_0x27b436,_0x3dd7ff){return _0xadee61(_0x27b436-_0x3e4f32._0x5ea718,_0x85239d,_0x27b436-0x14f,_0x3dd7ff-0xcd);}return _0x43a8ec[_0x152576(_0x413f43._0x5c3b0b,_0x413f43._0x2f1d9b,0x484,_0x413f43._0x2d096a)](this[_0x49fc6f(0x291,0x599,_0x413f43._0x435236,0x401)],..._0x3ad66d);}};function safeCwd(){const _0x37a380={_0x235351:0x615},_0x4e02a5={_0x2c1f03:0x106};function _0x3558ad(_0x36d641,_0x4daf32,_0x5bce9b,_0x53ed0b){return _0xadee61(_0x4daf32-0x334,_0x53ed0b,_0x5bce9b-0x10f,_0x53ed0b-_0x4e02a5._0x2c1f03);}try{return process[_0x3558ad(0x895,0x679,0x513,_0x37a380._0x235351)]();}catch{return'';}}function renderTemplate(_0x160565,_0x2f22d7){const _0x51db50={_0x3bc49f:0x3d1};function _0x4e271b(_0x147183,_0x53aa39,_0x30c0d9,_0x474594){return _0x27e2df(_0x147183-0x58,_0x53aa39-0x13f,_0x30c0d9-0x124,_0x147183);}if(!_0x160565)return _0x160565;return _0x160565[_0x4e271b(0x29c,_0x51db50._0x3bc49f,0x576,0x330)](/\{\{\s*([a-zA-Z0-9_]+)\s*\}\}/g,(_0x69948d,_0x45909d)=>{const _0x27ab94=_0x2f22d7[_0x45909d];return _0x27ab94===null||_0x27ab94===void 0x0?'':String(_0x27ab94);});}function buildInjectedSystem(_0x6c23bc,{withSubAgent:_0x4b9601}={'withSubAgent':![]}){const _0x45b83d={_0x463308:0x20c,_0x7057b1:0x297,_0x54a0bd:0x10c,_0x1e169c:0x3e5,_0xe3200b:0x56c,_0x2992e0:0x3d6,_0x16bc2d:0x53f,_0x233177:0x399,_0x1b7319:0x366,_0x36edd7:0x1d0,_0x4a2936:0x1e2,_0x5db0d2:0x603,_0x1d1154:0x615,_0x12bc57:0x208,_0x55466e:0x17d,_0x135c1d:0x4ed,_0xffdaef:0x558,_0x572e5f:0x1b3,_0x179f6c:0x152,_0xc72411:0x3a3,_0x32a6f5:0x237,_0x58ab01:0x5f3,_0x1986ff:0x3f1,_0x573fd1:0x615,_0x3b357a:0x44b,_0x20d467:0x4db,_0x577a2f:0x343,_0x454d83:0x198,_0x113a7c:0x36e,_0x10b391:0x39c,_0x5d6e71:0x51a,_0x349efd:0x4b0,_0xa66061:0x4b2,_0x4a936f:0x5aa,_0x3f105e:0x696,_0x50c09f:0x758,_0x19c808:0x7e7,_0x122dbe:0x40,_0x28e5f2:0x54a,_0x416beb:0x761,_0xf6eb93:0x4ae,_0x43cfe5:0x50b,_0x29e663:0x528,_0x24b197:0x573,_0x4c0fe4:0x570},_0xfdbfd4={_0x4530e0:0x153,_0x2cb374:0x1b,_0x549770:0xc3},_0xc6da1c={_0x15b6f5:0x1c,_0x3db230:0x70};function _0x4aab82(_0xc3425b,_0x1f3853,_0x24ea24,_0x179063){return _0x27e2df(_0xc3425b-_0xc6da1c._0x15b6f5,_0xc3425b- -0x27b,_0x24ea24-_0xc6da1c._0x3db230,_0x1f3853);}const _0x2524e=[_0x4aab82(-_0x45b83d._0x463308,-_0x45b83d._0x7057b1,-_0x45b83d._0x54a0bd,-_0x45b83d._0x1e169c),_0x261d05(0x433,0x624,0x6b4,_0x45b83d._0xe3200b)+_0x6c23bc[_0x261d05(0x549,_0x45b83d._0x2992e0,0x74c,_0x45b83d._0x16bc2d)],_0x261d05(_0x45b83d._0x233177,0x1f9,_0x45b83d._0x1b7319,0x28b)+_0x6c23bc[_0x4aab82(-_0x45b83d._0x36edd7,-0x255,-0x108,-_0x45b83d._0x4a2936)]+'\x20'+_0x6c23bc[_0x261d05(_0x45b83d._0x5db0d2,_0x45b83d._0x1d1154,0x862,0x666)],_0x4aab82(0x1a,_0x45b83d._0x12bc57,-_0x45b83d._0x55466e,0x137)+_0x6c23bc['tempDir'],_0x261d05(_0x45b83d._0x135c1d,_0x45b83d._0xffdaef,0x7d8,0x674)+_0x6c23bc['workspaceDir']];_0x6c23bc['folderTree']&&(_0x2524e[_0x4aab82(_0x45b83d._0x572e5f,_0x45b83d._0x179f6c,0x105,_0x45b83d._0xc72411)](''),_0x2524e[_0x4aab82(0x1b3,-0x89,0x20e,_0x45b83d._0x32a6f5)](_0x261d05(_0x45b83d._0x58ab01,0x6d1,_0x45b83d._0x1986ff,0x4bf)),_0x2524e[_0x261d05(0x63d,0x55a,_0x45b83d._0x573fd1,0x696)](_0x6c23bc[_0x261d05(0x1a2,_0x45b83d._0x3b357a,_0x45b83d._0x20d467,_0x45b83d._0x577a2f)]));function _0x261d05(_0x3d7959,_0x33862b,_0x16a297,_0x1c99de){return _0xadee61(_0x1c99de-_0xfdbfd4._0x4530e0,_0x16a297,_0x16a297-_0xfdbfd4._0x2cb374,_0x1c99de-_0xfdbfd4._0x549770);}if(_0x6c23bc[_0x4aab82(_0x45b83d._0x454d83,0xc1,_0x45b83d._0x113a7c,_0x45b83d._0x10b391)]&&_0x6c23bc[_0x261d05(0x6a7,_0x45b83d._0x5d6e71,_0x45b83d._0x349efd,0x67b)][_0x261d05(0x2da,0x6ae,0x576,_0x45b83d._0xa66061)]>0x0&&_0x4b9601){_0x2524e[_0x261d05(_0x45b83d._0x4a936f,0x636,0x504,_0x45b83d._0x3f105e)](''),_0x2524e[_0x261d05(0x7c8,_0x45b83d._0x50c09f,_0x45b83d._0x19c808,_0x45b83d._0x3f105e)](_0x4aab82(-0x25f,-0x3f5,-0x32e,-_0x45b83d._0x122dbe));for(const _0x608574 of _0x6c23bc[_0x261d05(_0x45b83d._0x28e5f2,_0x45b83d._0x28e5f2,_0x45b83d._0x416beb,0x67b)]){_0x2524e[_0x261d05(_0x45b83d._0xf6eb93,_0x45b83d._0x43cfe5,0x664,0x696)]('-\x20'+_0x608574['id']+':\x20'+_0x608574['description']);}}return _0x2524e[_0x261d05(0x51d,_0x45b83d._0x29e663,_0x45b83d._0x24b197,_0x45b83d._0x4c0fe4)]('\x0a');}var AGENT_CREATOR_SYSTEM_PROMPT=_0x27e2df(0x579,0x340,0x3d6,0x414);function buildAgentCreationPrompt(_0x5ce09e){const _0xd4b845={_0xd2be35:0x2bd,_0xeca7ee:0x4d8},_0x389bdd={_0x41b46b:0x66};function _0x380640(_0x4a6ec9,_0x5d3c0b,_0xd78fa9,_0x4cf6d3){return _0x27e2df(_0x4a6ec9-0x1ad,_0x5d3c0b-0xca,_0xd78fa9-_0x389bdd._0x41b46b,_0xd78fa9);}return'Create\x20a\x20specialist\x20agent\x20configuration\x20based\x20on\x20this\x20description:\x0a\x0a'+_0x5ce09e+_0x380640(0x31c,_0xd4b845._0xd2be35,0xdb,_0xd4b845._0xeca7ee);}import{promises as _0x8c253}from'fs';import*as _0x36b451 from'path';var GitIgnoreParser=class{['rules']=[];constructor(_0x157257){const _0x227855={_0x3e94b0:0xb6,_0x32ee6c:0x23a,_0x29fdf1:0x2f,_0x4d159d:0x2bd,_0x125187:0x2ea,_0x449b61:0x388,_0x51009e:0x534,_0x12c6b6:0x2b7,_0x33b254:0x411,_0x338fbe:0x422,_0x5c144e:0x1f},_0x2e3150={_0x3b3c2a:0x1ee},_0x3840e5={_0x402eaf:0x19b,_0x5ac0d2:0x48};function _0x217713(_0xb9cadf,_0x53c5b9,_0x452360,_0xbac586){return _0xadee61(_0xbac586-_0x3840e5._0x402eaf,_0x53c5b9,_0x452360-_0x3840e5._0x5ac0d2,_0xbac586-0x1b2);}const _0xa1cc87=_0x157257[_0x217713(0x582,0x7bc,0x769,0x663)]('\x0a');function _0x17eaf9(_0xa9218d,_0x455057,_0x1e1ae9,_0x11ac61){return _0x27e2df(_0xa9218d-0xcb,_0xa9218d- -_0x2e3150._0x3b3c2a,_0x1e1ae9-0x44,_0x11ac61);}for(const _0x254b5c of _0xa1cc87){const _0x319a14=_0x254b5c[_0x217713(_0x227855._0x3e94b0,_0x227855._0x32ee6c,0x42e,0x2a2)]();if(!_0x319a14||_0x319a14[_0x17eaf9(-0x116,0x6,_0x227855._0x29fdf1,-0x1a7)]('#'))continue;const _0x31ddc0=_0x319a14[_0x217713(_0x227855._0x4d159d,_0x227855._0x125187,0x357,_0x227855._0x449b61)]('!'),_0x39d962=_0x31ddc0?_0x319a14['slice'](0x1):_0x319a14,_0x52cd8d=_0x39d962[_0x217713(_0x227855._0x51009e,0x57e,_0x227855._0x12c6b6,_0x227855._0x33b254)]('/');this[_0x217713(0x2d2,0x571,0x45a,0x357)][_0x17eaf9(0x240,_0x227855._0x338fbe,0x41b,_0x227855._0x5c144e)]({'pattern':_0x52cd8d?_0x39d962['slice'](0x0,-0x1):_0x39d962,'isNegation':_0x31ddc0,'isDirectory':_0x52cd8d});}}['shouldIgnore'](_0x3bc9d6,_0x11d6f7){const _0x51bee0={_0x1e2ffe:0x1ed,_0x10bc77:0x339,_0x830fed:0xb1,_0x2a277d:0x4f,_0x4c449b:0x57f,_0x46a577:0x51f,_0x40d728:0x58e,_0x1ce183:0x6e0,_0x3cf732:0x968},_0x40402e={_0x174128:0x10a},_0x2d7413={_0x4f458c:0x384,_0x180e5f:0xb4};let _0x156c98=![];function _0x29b5a5(_0x3451e7,_0x4d1c28,_0x1de1e0,_0x456125){return _0xadee61(_0x1de1e0- -_0x2d7413._0x4f458c,_0x456125,_0x1de1e0-_0x2d7413._0x180e5f,_0x456125-0x170);}function _0x57285f(_0x29829f,_0x29ffb8,_0x2df7bd,_0x414b94){return _0xadee61(_0x29ffb8-0x3ac,_0x414b94,_0x2df7bd-0x60,_0x414b94-_0x40402e._0x174128);}for(const _0x35e097 of this['rules']){if(_0x35e097[_0x29b5a5(-0x86,-0x290,-_0x51bee0._0x1e2ffe,-_0x51bee0._0x10bc77)]&&!_0x11d6f7)continue;this[_0x29b5a5(-0x2d,-_0x51bee0._0x830fed,-0x1b3,-_0x51bee0._0x2a277d)](_0x3bc9d6,_0x35e097[_0x57285f(0x780,_0x51bee0._0x4c449b,0x5b8,_0x51bee0._0x46a577)])&&(_0x156c98=!_0x35e097[_0x57285f(_0x51bee0._0x40d728,0x774,_0x51bee0._0x1ce183,_0x51bee0._0x3cf732)]);}return _0x156c98;}[_0x27e2df(0x26c,0xbc,0xcd,-0x15f)](_0x17d8c0,_0x4a5978){const _0x38a570={_0x2c4a5b:0x587,_0x44f209:0x539,_0x2d7349:0x43e,_0x4f7802:0x42d,_0x1b1f00:0x6e,_0x3bdddc:0x172,_0x306fa4:0x1eb,_0x31645f:0x50,_0x457cfa:0xb,_0x413a7d:0x4,_0x7f12f0:0xe,_0x1a9468:0x1d6},_0x536716={_0x8bb406:0x104,_0x609ee:0x1ed,_0x27b942:0xd0},_0x4cfbd5={_0xd7f324:0x111},_0x3b64ac=_0x17d8c0['split']('/');function _0x1f4216(_0xf42e2d,_0x56e70c,_0x2b774e,_0x5c15d8){return _0xadee61(_0x5c15d8- -0x357,_0x56e70c,_0x2b774e-0x1ec,_0x5c15d8-_0x4cfbd5._0xd7f324);}function _0x511ae6(_0x3df065,_0x1c6018,_0x1d5f44,_0x2f4fdd){return _0xadee61(_0x1d5f44-_0x536716._0x8bb406,_0x3df065,_0x1d5f44-_0x536716._0x609ee,_0x2f4fdd-_0x536716._0x27b942);}if(_0x4a5978[_0x511ae6(_0x38a570._0x2c4a5b,_0x38a570._0x44f209,_0x38a570._0x2d7349,_0x38a570._0x4f7802)]('*')){const _0x12b325=new RegExp('^'+_0x4a5978['replace'](/\./g,'\x5c.')[_0x1f4216(_0x38a570._0x1b1f00,_0x38a570._0x3bdddc,_0x38a570._0x306fa4,_0x38a570._0x31645f)](/\*/g,'.*')[_0x1f4216(-0x9b,0x124,-0x12,0x50)](/\?/g,'.')+'$');return _0x12b325[_0x1f4216(-0x2d,-0xc3,0x244,0xea)](_0x17d8c0)||_0x3b64ac[_0x1f4216(_0x38a570._0x457cfa,_0x38a570._0x413a7d,0x18b,_0x38a570._0x7f12f0)](_0x240062=>_0x12b325[_0x1f4216(0x149,0x2e0,0x31,0xea)](_0x240062));}return _0x17d8c0===_0x4a5978||_0x17d8c0[_0x511ae6(0x4cb,_0x38a570._0x1a9468,0x2f1,0x301)](_0x4a5978+'/')||_0x3b64ac['some'](_0x5e48c1=>_0x5e48c1===_0x4a5978);}};async function loadGitIgnore(_0x29f57d){const _0x237ebc={_0x4e8148:0x205,_0x51567f:0x11,_0x20d098:0xabf,_0x4c0dca:0x898,_0x1836df:0x49e,_0x1e8f6c:0x6cf},_0x3ee7ba={_0x447026:0x1b5,_0x53372c:0x12a},_0x346cca={_0x8c84df:0x1bb};function _0x12712c(_0x50d3df,_0x41a968,_0xd670b0,_0x1e261b){return _0xadee61(_0xd670b0- -0x1e0,_0x50d3df,_0xd670b0-0x71,_0x1e261b-_0x346cca._0x8c84df);}const _0x1371bc=_0x36b451[_0x12712c(_0x237ebc._0x4e8148,0x37,0x23d,_0x237ebc._0x51567f)](_0x29f57d,_0x12712c(-0x20f,-0x16d,-0xa5,-0x2cb));function _0x11c97d(_0x2e3791,_0x5f4518,_0x58de2c,_0x2b38d3){return _0xadee61(_0x5f4518-0x34a,_0x2b38d3,_0x58de2c-_0x3ee7ba._0x447026,_0x2b38d3-_0x3ee7ba._0x53372c);}try{const _0x5ddcb3=await _0x8c253[_0x11c97d(_0x237ebc._0x20d098,_0x237ebc._0x4c0dca,0x67c,0x956)](_0x1371bc,_0x11c97d(0x45b,_0x237ebc._0x1836df,_0x237ebc._0x1e8f6c,0x447));return new GitIgnoreParser(_0x5ddcb3);}catch{return null;}}async function buildTree(_0x883bae,_0xab0952,_0x4f4813,_0x3e6863,_0x30d109,_0x44d4c1){const _0x2efc1c={_0x33d673:0x251,_0x45dc66:0x586,_0x4f7fb0:0x520,_0x2025e7:0x56d,_0x3bda93:0x448,_0x3ed16d:0x8e8,_0x4a4026:0x781,_0x26416e:0x2f6,_0x42a433:0x332,_0x1e5fd4:0x6ab,_0x232479:0x46e,_0x18d0fb:0x6fd,_0x121631:0x617,_0x1f5205:0x45b,_0x2f159b:0x689,_0x98ca93:0x4b5,_0x149382:0x66d,_0x5e354c:0x6b2,_0xec422:0x5eb,_0x4a0a1b:0x500,_0x2a40a3:0x666,_0x2bd939:0x5fd,_0x3d8dbd:0x7f1,_0x57b59f:0x399,_0x5585cf:0x67e,_0x1224b4:0x45f,_0x2b69fc:0x727,_0x54edcb:0x43b,_0x11b0d3:0x5ed,_0x55b52b:0x362,_0x201c07:0x385,_0x2d3227:0x338,_0x2a02ae:0x5c8,_0x280b84:0x70c},_0x1ad98f={_0x579970:0x1ab,_0x17d20d:0xf6,_0x495de5:0x1fb,_0x4e9d4d:0x2f5,_0xe53800:0x18b,_0x39d8d2:0x129,_0x49590e:0x70,_0x2cd6fd:0x136,_0xfcb231:0x1d,_0x4bc3f3:0x43,_0xf0b6d0:0x180},_0x3ec29c={_0x5f5275:0x2c8,_0x226ce6:0x168,_0x444280:0x153};if(_0x30d109>=_0x3e6863['maxDepth']||_0x44d4c1['count']>=_0x3e6863[_0x112b36(0x491,_0x2efc1c._0x33d673,_0x2efc1c._0x45dc66,0x46e)])return[];function _0x112b36(_0x43a9c3,_0x21cb7e,_0x23d679,_0xab37ff){return _0xadee61(_0xab37ff-_0x3ec29c._0x5f5275,_0x23d679,_0x23d679-_0x3ec29c._0x226ce6,_0xab37ff-_0x3ec29c._0x444280);}function _0x2eb788(_0x14a669,_0x4e825a,_0x59429e,_0x347a69){return _0x27e2df(_0x14a669-0x169,_0x59429e-0x2dd,_0x59429e-0xd6,_0x14a669);}let _0x2d853e;try{_0x2d853e=await _0x8c253['readdir'](_0x883bae,{'withFileTypes':!![]});}catch{return[];}const _0x5bf0c2=[],_0x38b1df=_0x2d853e[_0x112b36(_0x2efc1c._0x4f7fb0,_0x2efc1c._0x2025e7,_0x2efc1c._0x3bda93,0x64d)]((_0xee838e,_0x28a920)=>{const _0x559012={_0x5e1acf:0x648},_0x2f5045={_0x4d9995:0x159,_0x36dc26:0xca};if(_0xee838e[_0x236346(-_0x1ad98f._0x579970,-_0x1ad98f._0x17d20d,-0x11d,-_0x1ad98f._0x495de5)]()&&!_0x28a920['isDirectory']())return-0x1;if(!_0xee838e['isDirectory']()&&_0x28a920[_0x3b382a(-0x3cd,-_0x1ad98f._0x4e9d4d,-0x1e9,-0x2bd)]())return 0x1;function _0x236346(_0x2896db,_0x28d9d9,_0x472b88,_0x2bc764){return _0x112b36(_0x2896db-_0x2f5045._0x4d9995,_0x28d9d9-_0x2f5045._0x36dc26,_0x472b88,_0x2896db- -0x60a);}function _0x3b382a(_0x45be95,_0x52a8b9,_0x16849b,_0x41c0be){return _0x112b36(_0x45be95-0x4e,_0x52a8b9-0x128,_0x41c0be,_0x16849b- -_0x559012._0x5e1acf);}return _0xee838e[_0x236346(-0x1d,0x10f,_0x1ad98f._0xe53800,-_0x1ad98f._0x39d8d2)][_0x3b382a(-0x29f,_0x1ad98f._0x49590e,-0x9e,-_0x1ad98f._0x2cd6fd)](_0x28a920[_0x236346(-_0x1ad98f._0xfcb231,-0xcb,_0x1ad98f._0x4bc3f3,-_0x1ad98f._0xf0b6d0)]);});for(const _0x3cf03c of _0x38b1df){if(_0x44d4c1[_0x112b36(0x965,0x8a0,_0x2efc1c._0x3ed16d,_0x2efc1c._0x4a4026)]>=_0x3e6863[_0x112b36(_0x2efc1c._0x26416e,_0x2efc1c._0x42a433,_0x2efc1c._0x1e5fd4,_0x2efc1c._0x232479)])break;if(!_0x3e6863[_0x2eb788(_0x2efc1c._0x18d0fb,0x628,_0x2efc1c._0x121631,0x43e)]&&_0x3cf03c[_0x2eb788(_0x2efc1c._0x1f5205,0x510,0x4ed,0x324)][_0x112b36(_0x2efc1c._0x26416e,0x2d7,_0x2efc1c._0x2f159b,_0x2efc1c._0x98ca93)]('.'))continue;if(_0x3cf03c['name']===_0x112b36(_0x2efc1c._0x149382,_0x2efc1c._0x5e354c,_0x2efc1c._0xec422,_0x2efc1c._0x4a0a1b))continue;const _0x3ee0b2=_0x36b451['join'](_0x883bae,_0x3cf03c['name']),_0x508118=_0x36b451[_0x2eb788(_0x2efc1c._0x2a40a3,_0x2efc1c._0x2bd939,0x6f2,_0x2efc1c._0x3d8dbd)](_0xab0952,_0x3ee0b2);if(_0x4f4813?.['shouldIgnore'](_0x508118,_0x3cf03c[_0x112b36(_0x2efc1c._0x57b59f,0x3a8,_0x2efc1c._0x5585cf,_0x2efc1c._0x1224b4)]()))continue;const _0x1ce822='\x20\x20'['repeat'](_0x30d109),_0x3754a7=_0x3cf03c['isDirectory']()?'/':'';_0x5bf0c2['push'](''+_0x1ce822+_0x3cf03c[_0x112b36(_0x2efc1c._0x2b69fc,0x538,_0x2efc1c._0x54edcb,_0x2efc1c._0x11b0d3)]+_0x3754a7),_0x44d4c1['count']++;if(_0x3cf03c[_0x2eb788(_0x2efc1c._0x55b52b,0x12b,0x35f,_0x2efc1c._0x201c07)]()&&_0x30d109+0x1<_0x3e6863[_0x112b36(_0x2efc1c._0x2d3227,0x4c9,_0x2efc1c._0x2a02ae,0x491)]){const _0x259716=await buildTree(_0x3ee0b2,_0xab0952,_0x4f4813,_0x3e6863,_0x30d109+0x1,_0x44d4c1);_0x5bf0c2[_0x2eb788(0x75e,_0x2efc1c._0x280b84,0x70b,0x646)](..._0x259716);}}return _0x5bf0c2;}async function generateFolderTree(_0x54c932,_0x31113a={}){const _0x2ce664={_0x3aaa44:0x2f7,_0x327e83:0x25b,_0x57ea8d:0x2c0,_0x21c2c3:0x493,_0x2a33b3:0x1fa,_0x480be2:0x238,_0x5a4fae:0x209,_0x2ba613:0x2eb,_0x3d1fed:0x4e1,_0x15b424:0x537,_0x53f390:0x679,_0x105627:0x5a2,_0x2314fa:0x6dc,_0xb68e54:0x685},_0x25dbe4={_0x301531:0x1b},_0x2612a6={_0x4c69fb:0x13f,_0x4b7511:0xb,_0x26107f:0x1d1};function _0x3816fe(_0x1ce0ff,_0x319d32,_0x5bde42,_0x23d376){return _0x27e2df(_0x1ce0ff-_0x2612a6._0x4c69fb,_0x319d32-_0x2612a6._0x4b7511,_0x5bde42-_0x2612a6._0x26107f,_0x1ce0ff);}function _0x2f479e(_0x7ec166,_0x494409,_0x42b6eb,_0x211028){return _0xadee61(_0x494409-0x92,_0x211028,_0x42b6eb-0x180,_0x211028-_0x25dbe4._0x301531);}const _0x168fc7={'maxDepth':_0x31113a[_0x2f479e(_0x2ce664._0x3aaa44,_0x2ce664._0x327e83,_0x2ce664._0x57ea8d,_0x2ce664._0x21c2c3)]??0x5,'maxFiles':_0x31113a[_0x2f479e(_0x2ce664._0x2a33b3,_0x2ce664._0x480be2,0x157,_0x2ce664._0x5a4fae)]??0x1f4,'includeHidden':_0x31113a[_0x2f479e(_0x2ce664._0x2ba613,_0x2ce664._0x3d1fed,0x6e9,_0x2ce664._0x15b424)]??![]},_0x129c43=await loadGitIgnore(_0x54c932),_0x42a944={'count':0x0},_0x33f7d8=await buildTree(_0x54c932,_0x54c932,_0x129c43,_0x168fc7,0x0,_0x42a944),_0x4d43d6=_0x36b451[_0x2f479e(0x4c5,0x2b1,0x2ef,0x10e)](_0x54c932)+'/';if(_0x33f7d8['length']===0x0)return _0x4d43d6+_0x2f479e(_0x2ce664._0x53f390,_0x2ce664._0x105627,_0x2ce664._0x2314fa,_0x2ce664._0xb68e54);return[_0x4d43d6,..._0x33f7d8]['join']('\x0a');}var MemoryPortMetadataAdapter=class{constructor(_0x36001c,_0x854d93=_0xadee61(0x28c,0x3ab,0x3e0,0xcb)){const _0x21fa5a={_0x394051:0x10a,_0x4fe730:0x193,_0xfa3e3:0x83,_0x39bf5c:0x201},_0x1c92f1={_0x1277e6:0x14,_0x545c43:0x254,_0x15732d:0xa8},_0x4fd9f9={_0x2d9c33:0x20,_0x3fe9a9:0xff};function _0x51d958(_0x3618c8,_0x1d706b,_0x36b8d0,_0x2499df){return _0x27e2df(_0x3618c8-_0x4fd9f9._0x2d9c33,_0x36b8d0- -0x1bf,_0x36b8d0-_0x4fd9f9._0x3fe9a9,_0x2499df);}this[_0x1651ec(-0x111,-0xc6,_0x21fa5a._0x394051,-_0x21fa5a._0x4fe730)]=_0x36001c;function _0x1651ec(_0xe6ac41,_0x3bb6b8,_0x4097b3,_0x149b7b){return _0x27e2df(_0xe6ac41-_0x1c92f1._0x1277e6,_0xe6ac41- -_0x1c92f1._0x545c43,_0x4097b3-_0x1c92f1._0x15732d,_0x149b7b);}this[_0x51d958(0xc0,_0x21fa5a._0xfa3e3,0x1fa,_0x21fa5a._0x39bf5c)]=_0x854d93;}['getKey'](_0x5f92e1){const _0x455978={_0x1d8a89:0x558},_0x573b88={_0x59c769:0x6a,_0x35e83f:0x47};function _0x122404(_0x7543be,_0x3547eb,_0x50d14b,_0x3630ba){return _0xadee61(_0x3630ba- -_0x573b88._0x59c769,_0x50d14b,_0x50d14b-0x188,_0x3630ba-_0x573b88._0x35e83f);}return''+this[_0x122404(0x66c,0x639,_0x455978._0x1d8a89,0x464)]+_0x5f92e1;}async[_0xadee61(0x183,0x12c,0x1c0,0x6b)](_0x4b68d0){const _0x4dc670={_0x2d8a95:0x1e1,_0x5ef2a0:0x27e,_0x4122ba:0x1d5,_0x46a31d:0x52c,_0x1b3d36:0xea,_0x260914:0x17f,_0x2e6e5d:0x28c},_0x503409={_0xc00bb7:0x1e0,_0x8d6d66:0x15d},_0x4b3086={_0x248f27:0x32,_0x2e7b38:0xeb},_0x112619=await this['memory'][_0x422aee(0x96,0xa9,0x13d,_0x4dc670._0x2d8a95)](this[_0x422aee(_0x4dc670._0x5ef2a0,_0x4dc670._0x4122ba,_0x4dc670._0x46a31d,0x30b)](_0x4b68d0));function _0x422aee(_0x45d789,_0x2546dc,_0x466dd5,_0x1398f4){return _0xadee61(_0x1398f4-0x5e,_0x45d789,_0x466dd5-_0x4b3086._0x248f27,_0x1398f4-_0x4b3086._0x2e7b38);}function _0x40834a(_0x4a1e24,_0x514056,_0x49d6cc,_0x41dc29){return _0xadee61(_0x49d6cc- -_0x503409._0xc00bb7,_0x41dc29,_0x49d6cc-_0x503409._0x8d6d66,_0x41dc29-0x17b);}return _0x112619[_0x40834a(0x101,_0x4dc670._0x1b3d36,_0x4dc670._0x260914,_0x4dc670._0x2e6e5d)]>0x0?_0x112619[0x0]:null;}async[_0x27e2df(0x41c,0x335,0x38a,0x4e8)](_0x2a78c5,_0x1a8edb){const _0x79b3b5={_0x3a55a9:0x1d0,_0x5b159d:0x306,_0x8ff0bf:0x2f6,_0x8e7355:0x247},_0x4b37a5={_0x4eccf0:0x329,_0x46a6e2:0x50,_0x491c3b:0x109},_0x56027c={_0x2801be:0xce};function _0x277061(_0x3c7605,_0x2576b6,_0x175038,_0x3eb45c){return _0x27e2df(_0x3c7605-_0x56027c._0x2801be,_0x3eb45c- -0x2f,_0x175038-0xe3,_0x3c7605);}function _0x4c1cbd(_0x177fa7,_0x5dc34b,_0x7432cf,_0x5570a7){return _0xadee61(_0x177fa7- -_0x4b37a5._0x4eccf0,_0x5dc34b,_0x7432cf-_0x4b37a5._0x46a6e2,_0x5570a7-_0x4b37a5._0x491c3b);}await this['memory'][_0x277061(0x3e1,_0x79b3b5._0x3a55a9,0x220,_0x79b3b5._0x5b159d)](this[_0x277061(_0x79b3b5._0x8ff0bf,0x1cb,_0x79b3b5._0x8e7355,0x169)](_0x2a78c5),[_0x1a8edb]);}async['delete'](_0x2ac1e3){const _0x3159c2={_0x53d1de:0x53c,_0x1da434:0x43a,_0x42d749:0x316,_0xf4d227:0x7f,_0x13f108:0x162,_0x56b845:0xb4},_0x1fa8b3={_0x3bd7b2:0x74,_0x5d107d:0x1b4},_0x3cb04f={_0x4e90ff:0x138};function _0x3916ff(_0x5da39b,_0x530a5e,_0x32584e,_0x2dc501){return _0xadee61(_0x530a5e- -0xfc,_0x2dc501,_0x32584e-_0x3cb04f._0x4e90ff,_0x2dc501-0xd3);}function _0x42376f(_0x9518ab,_0xb54daf,_0x5b10c6,_0x14329e){return _0x27e2df(_0x9518ab-_0x1fa8b3._0x3bd7b2,_0x5b10c6- -0x36,_0x5b10c6-_0x1fa8b3._0x5d107d,_0xb54daf);}await this['memory'][_0x42376f(_0x3159c2._0x53d1de,_0x3159c2._0x1da434,_0x3159c2._0x42d749,0x320)](this[_0x42376f(0x17d,-_0x3159c2._0xf4d227,_0x3159c2._0x13f108,-_0x3159c2._0x56b845)](_0x2ac1e3));}async[_0x27e2df(0x14c,0x2d1,0x254,0x262)](){const _0x5c4cac={_0x48862d:0x5f,_0x49e61d:0x205,_0x45ace9:0x3a,_0x3c5877:0x5f1,_0x3e81d1:0x771},_0x4b82fa={_0x4cbf1f:0x3a,_0x5d292a:0x17d,_0x3ff216:0x121},_0x88ae57={_0x2166cc:0x358,_0x101bb3:0xf4};function _0x2585d1(_0xe00fd5,_0xaa04e5,_0xbc18da,_0x1811e8){return _0xadee61(_0xaa04e5-_0x88ae57._0x2166cc,_0xbc18da,_0xbc18da-_0x88ae57._0x101bb3,_0x1811e8-0x1b6);}const _0x16c917=await this[_0x583f6c(-_0x5c4cac._0x48862d,-_0x5c4cac._0x49e61d,-_0x5c4cac._0x45ace9,-0x2e)]['keys']();function _0x583f6c(_0x37c416,_0x58a12e,_0x3d490f,_0x269df1){return _0x27e2df(_0x37c416-_0x4b82fa._0x4cbf1f,_0x3d490f- -_0x4b82fa._0x5d292a,_0x3d490f-_0x4b82fa._0x3ff216,_0x37c416);}return _0x16c917['filter'](_0x2bd86e=>_0x2bd86e[_0x2585d1(0x509,0x545,0x5e9,0x628)](this[_0x583f6c(0x50,0x123,0x23c,0x273)]))[_0x2585d1(0x4c4,0x69b,_0x5c4cac._0x3c5877,_0x5c4cac._0x3e81d1)](_0x3213f6=>_0x3213f6[_0x2585d1(0x4c7,0x472,0x6a4,0x5e4)](this[_0x583f6c(0x2d5,0x213,0x23c,0x45d)]['length']));}async['clear'](){const _0x23b572={_0x59897f:0x7c9,_0x5c637b:0x8d6,_0x20f9d1:0x5b4,_0x5a39f0:0x94,_0x5984b4:0x115,_0x26a797:0x254,_0x5e32e5:0x32},_0x3a2241={_0x4bf9a4:0x4b,_0x102231:0x24},_0x2508f5={_0x1c78db:0x54,_0x5716fd:0x4f8};function _0x3321dc(_0x57e1f5,_0x37135a,_0xd1d233,_0x32d7b3){return _0x27e2df(_0x57e1f5-_0x2508f5._0x1c78db,_0x37135a-_0x2508f5._0x5716fd,_0xd1d233-0x114,_0x57e1f5);}const _0x1f11ed=await this[_0x3321dc(0x5b7,_0x23b572._0x59897f,_0x23b572._0x5c637b,_0x23b572._0x20f9d1)]();function _0x320c14(_0x18e663,_0x58f918,_0xaffb37,_0x4de162){return _0xadee61(_0xaffb37- -0x311,_0x4de162,_0xaffb37-_0x3a2241._0x4bf9a4,_0x4de162-_0x3a2241._0x102231);}await Promise[_0x320c14(-0x28a,0x60,-0x5c,_0x23b572._0x5a39f0)](_0x1f11ed[_0x320c14(-_0x23b572._0x5984b4,_0x23b572._0x26a797,_0x23b572._0x5e32e5,0x92)](_0x1de7ed=>this['delete'](_0x1de7ed)));}async[_0xadee61(0x2e4,0x50f,0x27e,0x28c)](){const _0x59f83c={_0x4770e1:0x204,_0x5a7730:0x15b,_0x566bcb:0x26c},_0x5c08e7={_0x4834c9:0xb4,_0x239db2:0x14},_0x3dd549=await this['keys'](),_0x281d35={};function _0x221488(_0x4b0067,_0x510f3f,_0x3e428c,_0x4ecf6b){return _0x27e2df(_0x4b0067-_0x5c08e7._0x4834c9,_0x510f3f- -0x1c9,_0x3e428c-_0x5c08e7._0x239db2,_0x4ecf6b);}for(const _0x2b575b of _0x3dd549){const _0x4be9bb=await this[_0x221488(-_0x59f83c._0x4770e1,-_0x59f83c._0x5a7730,-_0x59f83c._0x566bcb,0x22)](_0x2b575b);_0x4be9bb!==null&&(_0x281d35[_0x2b575b]=_0x4be9bb);}return _0x281d35;}async[_0xadee61(0x527,0x4d9,0x709,0x543)](_0x23f577){const _0x37370a={_0x44c706:0x6cf},_0x33455d={_0x47b9b3:0x46,_0x411051:0xe1};function _0x28d37d(_0x5144d4,_0x6c7c54,_0x1eef5c,_0x2cec71){return _0x27e2df(_0x5144d4-_0x33455d._0x47b9b3,_0x5144d4-0x39d,_0x1eef5c-_0x33455d._0x411051,_0x2cec71);}for(const [_0x1485c5,_0x54368f]of Object[_0x28d37d(0x5b1,_0x37370a._0x44c706,0x575,0x7c6)](_0x23f577)){await this['set'](_0x1485c5,_0x54368f);}}},InMemoryMetadata=class{[_0xadee61(0x1e6,0x14d,0x35a,0x2f8)]=new Map();async[_0x27e2df(0x201,0x6e,0x42,0x1d4)](_0x4b0336){const _0x2cec78={_0x53fcfe:0x17,_0x321f06:0x7,_0x2bce87:0x155,_0x21ea9c:0x190,_0x46c55f:0x6a},_0x4f7e68={_0x167024:0xc7,_0x4d9641:0x195,_0x2f04e4:0x1e0},_0x36b508={_0x2f8217:0x1d9};function _0x4d4220(_0x4ac58c,_0x5a3e74,_0x536138,_0x1a5fe9){return _0x27e2df(_0x4ac58c-_0x36b508._0x2f8217,_0x1a5fe9- -0xd8,_0x536138-0xc7,_0x536138);}function _0x50cf6f(_0x27e540,_0x58a1cf,_0xc50c81,_0xb517b5){return _0x27e2df(_0x27e540-_0x4f7e68._0x167024,_0x58a1cf- -_0x4f7e68._0x4d9641,_0xc50c81-_0x4f7e68._0x2f04e4,_0xc50c81);}return this[_0x4d4220(-0x193,_0x2cec78._0x53fcfe,0x22f,-_0x2cec78._0x321f06)][_0x4d4220(-_0x2cec78._0x2bce87,-_0x2cec78._0x21ea9c,0x13b,-_0x2cec78._0x46c55f)](_0x4b0336)??null;}async['set'](_0x37ae27,_0x4ed631){const _0x2b8932={_0x539df6:0x223},_0x37ab2d={_0x369205:0x1a6,_0x7d4474:0xb4};function _0x52b8e7(_0x54353d,_0x4a2766,_0x78b277,_0x1251b1){return _0xadee61(_0x1251b1- -_0x37ab2d._0x369205,_0x54353d,_0x78b277-0x9b,_0x1251b1-_0x37ab2d._0x7d4474);}this[_0x52b8e7(-0x60,-0x63,_0x2b8932._0x539df6,0x40)]['set'](_0x37ae27,_0x4ed631);}async[_0xadee61(0x461,0x46f,0x3b2,0x579)](_0x53b4eb){const _0x1160f4={_0x48ec44:0x50e,_0x3c4817:0x5dc,_0x459c3f:0x799},_0x3e15fc={_0x529001:0x3},_0x19631c={_0x5c7b0d:0x44d,_0x18fda2:0x98};function _0x49f6c0(_0x265cda,_0x311838,_0x1cd7f2,_0x37590c){return _0x27e2df(_0x265cda-0xa4,_0x311838-_0x19631c._0x5c7b0d,_0x1cd7f2-_0x19631c._0x18fda2,_0x37590c);}function _0xc1722d(_0x38d683,_0x1979e5,_0x4b8717,_0x5d8fb5){return _0x27e2df(_0x38d683-0x10d,_0x38d683-0x13f,_0x4b8717-_0x3e15fc._0x529001,_0x5d8fb5);}this[_0x49f6c0(0x672,0x51e,0x34d,_0x1160f4._0x48ec44)][_0x49f6c0(_0x1160f4._0x3c4817,_0x1160f4._0x459c3f,0x85e,0x68b)](_0x53b4eb);}async[_0x27e2df(0x209,0x2d1,0x43c,0x216)](){const _0x92cec={_0x7c63e:0x2ae,_0x611c59:0x3ee,_0x2fc716:0x35c,_0x5d5848:0x1dd,_0x2e63d0:0x103,_0x1d8eec:0x150},_0x46309a={_0x5195aa:0x37f,_0x4f98ff:0x111},_0x2087a0={_0x128907:0x1b5};function _0x3ac362(_0x20f6c0,_0x27a9e4,_0x2d2a7c,_0x57fe41){return _0x27e2df(_0x20f6c0-0x1a0,_0x57fe41-0x10c,_0x2d2a7c-_0x2087a0._0x128907,_0x2d2a7c);}function _0x5e88e0(_0x2cf4b8,_0x3e42fa,_0x1bf29c,_0x1ad6b0){return _0xadee61(_0x1bf29c- -_0x46309a._0x5195aa,_0x2cf4b8,_0x1bf29c-0xd5,_0x1ad6b0-_0x46309a._0x4f98ff);}return Array[_0x3ac362(0x2c6,0x423,0x4c0,_0x92cec._0x7c63e)](this[_0x3ac362(_0x92cec._0x611c59,0x2b1,_0x92cec._0x2fc716,_0x92cec._0x5d5848)][_0x5e88e0(-_0x92cec._0x2e63d0,_0x92cec._0x1d8eec,0x67,0x99)]());}async[_0xadee61(0x405,0x588,0x513,0x512)](){const _0x4d89e1={_0x280a32:0x1ea,_0x5e00b4:0x5ec,_0x4e4a53:0x614},_0x428e7e={_0x10aab9:0x84,_0x1aeb17:0x11b},_0x384000={_0x3ab9aa:0x1e4,_0x37ecfd:0x51};function _0x16722c(_0x69ccd,_0x5e707f,_0x846a0c,_0x315ed1){return _0x27e2df(_0x69ccd-0x1e2,_0x5e707f- -_0x384000._0x3ab9aa,_0x846a0c-_0x384000._0x37ecfd,_0x69ccd);}function _0x21e6c1(_0x3cec83,_0x1d4c75,_0x148634,_0x460ffe){return _0xadee61(_0x148634-_0x428e7e._0x10aab9,_0x460ffe,_0x148634-0xcf,_0x460ffe-_0x428e7e._0x1aeb17);}this[_0x16722c(0xef,-0x113,-0x27a,-_0x4d89e1._0x280a32)][_0x21e6c1(0x36f,_0x4d89e1._0x5e00b4,0x489,_0x4d89e1._0x4e4a53)]();}async[_0xadee61(0x2e4,0x509,0x2c8,0x155)](){const _0x232f5f={_0x28232b:0x295},_0x161e1c={_0x1c8019:0x1a8,_0x46d74e:0x81,_0x1a3bf9:0x1d7},_0x48c67f={};function _0x48b8ba(_0x189692,_0x57b3c7,_0x4f749b,_0x4f2005){return _0x27e2df(_0x189692-_0x161e1c._0x1c8019,_0x4f749b-_0x161e1c._0x46d74e,_0x4f749b-_0x161e1c._0x1a3bf9,_0x4f2005);}for(const [_0x3f1689,_0x50eaba]of this['store'][_0x48b8ba(0x395,0x383,_0x232f5f._0x28232b,0xc7)]()){_0x48c67f[_0x3f1689]=_0x50eaba;}return _0x48c67f;}async[_0x27e2df(0x437,0x412,0x49b,0x2ba)](_0x471260){const _0x1f731c={_0x30fd85:0xf9,_0x3146da:0xed,_0x52e6f7:0x25,_0x3b02a3:0xbe,_0x40d403:0x7c,_0x190041:0x7f,_0x5a093b:0x16b,_0x3d3144:0x2c0,_0x15d3cc:0x11b,_0x4b2fae:0x306},_0x551334={_0x38afa7:0x268},_0x2bb931={_0x4f0b0b:0xee};function _0x2142ed(_0x3ae60d,_0x189831,_0x42356e,_0x356e69){return _0x27e2df(_0x3ae60d-0xc0,_0x3ae60d- -0x1ca,_0x42356e-_0x2bb931._0x4f0b0b,_0x189831);}this[_0x2142ed(-_0x1f731c._0x30fd85,-_0x1f731c._0x3146da,-0x203,0xad)]['clear']();function _0x1e0dc9(_0x1c19a6,_0x29623f,_0xcf1072,_0x32220e){return _0xadee61(_0x32220e-_0x551334._0x38afa7,_0x1c19a6,_0xcf1072-0x189,_0x32220e-0x27);}for(const [_0x3dccd4,_0x1fbac0]of Object[_0x2142ed(0x4a,0x74,_0x1f731c._0x52e6f7,_0x1f731c._0x3b02a3)](_0x471260)){this[_0x2142ed(-_0x1f731c._0x30fd85,_0x1f731c._0x40d403,0x67,-_0x1f731c._0x190041)][_0x2142ed(_0x1f731c._0x5a093b,_0x1f731c._0x3d3144,_0x1f731c._0x15d3cc,_0x1f731c._0x4b2fae)](_0x3dccd4,_0x1fbac0);}}},ConversationStore=class{constructor(_0x7103c9,_0x5d93c0){const _0xc47dcf={_0x3e0c3b:0x185,_0x9cd04d:0x112,_0x16a27f:0x49f},_0xd45f64={_0x1d7914:0x47,_0x1f6d86:0x343,_0x248664:0x1c4},_0x3860b3={_0x4ffb75:0x189};this[_0x5d5e99(-0x126,_0xc47dcf._0x3e0c3b,-0x46,-_0xc47dcf._0x9cd04d)]=_0x7103c9;function _0x5d5e99(_0x35082c,_0x2e99d7,_0x144953,_0x28b1c2){return _0x27e2df(_0x35082c-0x172,_0x144953- -_0x3860b3._0x4ffb75,_0x144953-0x34,_0x2e99d7);}function _0x134025(_0x5690fa,_0x36df8a,_0x4d80c4,_0x44b581){return _0x27e2df(_0x5690fa-_0xd45f64._0x1d7914,_0x4d80c4-_0xd45f64._0x1f6d86,_0x4d80c4-_0xd45f64._0x248664,_0x36df8a);}this[_0x134025(0x8d6,0x675,0x6a9,_0xc47dcf._0x16a27f)]=_0x5d93c0??new MemoryPortMetadataAdapter(_0x7103c9);}['metadataMemory'];async[_0xadee61(0x3d8,0x255,0x52d,0x4d1)](_0x1616cd){const _0x448fed={_0x56ec92:0x4c8,_0x53627b:0x701,_0x18e3e5:0x773,_0xabeed4:0x3ff,_0x392879:0x679,_0x5004fb:0x547,_0x49a719:0x32b},_0x4c6c73={_0xe19ff6:0x170,_0x5cf121:0x17d},_0x524575=await this['memory'][_0x2c86a7(0x3d7,_0x448fed._0x56ec92,0x2b9,0x3c0)](_0x1616cd);function _0x280257(_0x238e00,_0x25f620,_0x1f6882,_0x12418e){return _0x27e2df(_0x238e00-0x13e,_0x25f620-0x314,_0x1f6882-0x1e1,_0x12418e);}const _0x176222=await this['metadataMemory']['get'](_0x1616cd);function _0x2c86a7(_0x2275b4,_0x18b5ad,_0x482d61,_0x40a8d3){return _0xadee61(_0x40a8d3-0x23d,_0x18b5ad,_0x482d61-_0x4c6c73._0xe19ff6,_0x40a8d3-_0x4c6c73._0x5cf121);}return{'messages':_0x524575,'metadata':_0x176222??{'createdAt':_0x524575[0x0]?.[_0x280257(_0x448fed._0x53627b,0x717,_0x448fed._0x18e3e5,0x57a)],'updatedAt':_0x524575[_0x524575[_0x280257(0x651,0x55e,0x431,_0x448fed._0xabeed4)]-0x1]?.[_0x280257(0x6a6,0x717,0x69d,_0x448fed._0x392879)],'messageCount':_0x524575[_0x280257(_0x448fed._0x5004fb,0x55e,0x6da,_0x448fed._0x49a719)]}};}async[_0x27e2df(0x27e,0x371,0x14c,0x399)](_0x26f16e,_0x2d3b4){const _0x31c0f5={_0x162109:0xa0,_0x10abfc:0x192,_0x162220:0x19c,_0x265903:0x61e,_0x29684f:0x648,_0x1d40ad:0x2c3,_0x41601a:0x3f2,_0x512722:0x292,_0x519a80:0x379},_0x15070e={_0x493b57:0x1b8,_0x9410d0:0x27},_0x50bdeb={_0x528a4a:0x1d6,_0x5b8cb8:0xb2};await this[_0xd41eae(_0x31c0f5._0x162109,0x145,_0x31c0f5._0x10abfc,-_0x31c0f5._0x162220)][_0x42f527(0x41f,_0x31c0f5._0x265903,0x5cf,_0x31c0f5._0x29684f)](_0x26f16e,_0x2d3b4['messages']);function _0x42f527(_0x32296e,_0x273dfe,_0x524346,_0x4d064c){return _0x27e2df(_0x32296e-_0x50bdeb._0x528a4a,_0x32296e-0xea,_0x524346-_0x50bdeb._0x5b8cb8,_0x4d064c);}function _0xd41eae(_0x3798c9,_0x33172e,_0x388404,_0x5454ac){return _0xadee61(_0x3798c9- -_0x15070e._0x493b57,_0x388404,_0x388404-_0x15070e._0x9410d0,_0x5454ac-0x1d2);}await this[_0xd41eae(_0x31c0f5._0x1d40ad,_0x31c0f5._0x41601a,0x4c7,0xdb)][_0xd41eae(_0x31c0f5._0x512722,0x4c6,0x3f1,0x20f)](_0x26f16e,_0x2d3b4[_0x42f527(_0x31c0f5._0x519a80,0x5a0,0x578,0x2dc)]);}async[_0xadee61(0x4e5,0x3ad,0x515,0x3e3)](_0x2462c4,_0x3ae898){const _0x3d5d74={_0x2a45a0:0x64,_0x2c1a52:0x56,_0x43acf7:0x58,_0x4a7bb7:0x37,_0x370159:0xa4,_0xa63b3c:0x3b5,_0x4bc303:0x172,_0x387e5b:0x15,_0x468f6:0x40,_0x3bc7b4:0x374,_0xa6dd5:0x186,_0x2e108b:0x1fb,_0x260424:0xa9,_0x5ddc66:0x20f,_0xc2b20:0x20b,_0x37093f:0x2c,_0x15a1de:0x54,_0x1380cf:0x1ad,_0x2da747:0x42,_0x272369:0xd,_0x33e43f:0x141};if(_0x3ae898[_0x455376(0x144,-_0x3d5d74._0x2a45a0,_0x3d5d74._0x2c1a52,0x48)]===0x0)return;function _0x455376(_0x55ee4a,_0x339e52,_0x2f9537,_0x56af73){return _0xadee61(_0x2f9537- -0x309,_0x339e52,_0x2f9537-0x186,_0x56af73-0x1eb);}await this['memory']['append'](_0x2462c4,_0x3ae898);const _0x197e85=await this[_0x47d86f(-0xbd,-0x7e,_0x3d5d74._0x43acf7,-0x1d)][_0x47d86f(_0x3d5d74._0x4a7bb7,-0x153,-_0x3d5d74._0x370159,-0x260)](_0x2462c4),_0x2ba1b1=await this[_0x455376(-0x4f,_0x3d5d74._0xa63b3c,_0x3d5d74._0x4bc303,_0x3d5d74._0x387e5b)][_0x455376(_0x3d5d74._0x468f6,-_0x3d5d74._0x3bc7b4,-_0x3d5d74._0xa6dd5,-_0x3d5d74._0x2e108b)](_0x2462c4),_0x1f3a05={..._0x2ba1b1,'updatedAt':_0x3ae898[_0x3ae898['length']-0x1]?.[_0x455376(_0x3d5d74._0x260424,0x9f,_0x3d5d74._0x5ddc66,_0x3d5d74._0xc2b20)]??new Date()[_0x47d86f(_0x3d5d74._0x37093f,-0xc9,0xea,-0x1c)](),'messageCount':_0x197e85[_0x455376(-_0x3d5d74._0x15a1de,_0x3d5d74._0x1380cf,_0x3d5d74._0x2c1a52,0x146)]};function _0x47d86f(_0x5d806e,_0x132478,_0x499fdc,_0x1b1f99){return _0xadee61(_0x132478- -0x2d6,_0x1b1f99,_0x499fdc-0x9d,_0x1b1f99-0x22);}await this[_0x455376(-0x9f,0x154,0x172,_0x3d5d74._0x2da747)][_0x455376(0xc8,-_0x3d5d74._0x272369,_0x3d5d74._0x33e43f,0x96)](_0x2462c4,_0x1f3a05);}async[_0x27e2df(-0x14b,0x27,0x1c3,0x136)](_0x54f1fc,_0xe5793e){const _0x329b1a={_0x4e18f1:0x77b,_0x3d5a0c:0x60a,_0x42a452:0x5ea,_0x374cf4:0x4af,_0x49f227:0x597,_0x412f69:0x4c4,_0x59f60c:0x5a4,_0x2a6248:0x68f,_0x324596:0x776,_0x5665b5:0x5c1},_0x5cdb59={_0x14271c:0x2a4,_0x2f9faf:0x1a6},_0x4220fc={_0x4f4381:0xc6,_0x4f8b0f:0x12};function _0x582b3e(_0xe425c0,_0x2a7acc,_0x462ee2,_0x2afd59){return _0xadee61(_0xe425c0-0x32c,_0x462ee2,_0x462ee2-_0x4220fc._0x4f4381,_0x2afd59-_0x4220fc._0x4f8b0f);}const _0x7bff72=await this[_0x52364a(_0x329b1a._0x4e18f1,0x5af,_0x329b1a._0x3d5a0c,_0x329b1a._0x42a452)][_0x582b3e(_0x329b1a._0x374cf4,_0x329b1a._0x49f227,0x2de,0x37b)](_0x54f1fc),_0x323866={..._0x7bff72,..._0xe5793e,'updatedAt':new Date()[_0x582b3e(0x539,_0x329b1a._0x412f69,_0x329b1a._0x59f60c,_0x329b1a._0x2a6248)]()};function _0x52364a(_0x2227b7,_0x1cb97b,_0x574284,_0x2443fe){return _0x27e2df(_0x2227b7-0x92,_0x574284-_0x5cdb59._0x14271c,_0x574284-_0x5cdb59._0x2f9faf,_0x1cb97b);}await this['metadataMemory'][_0x582b3e(_0x329b1a._0x324596,0x7f6,0x6ab,_0x329b1a._0x5665b5)](_0x54f1fc,_0x323866);}async[_0xadee61(0x1fb,-0x4,0x118,0x404)](_0x46688e,_0xba5e13){const _0x29cf70={_0x2ec261:0x57c,_0x16cf57:0x4e7,_0x5b8990:0x3e2,_0x23fe14:0x571,_0x1e1517:0x473,_0xb060a:0x62c,_0x5f3d14:0x67c,_0x4c19f1:0x2da,_0x344194:0x3d6,_0x5490fc:0x23d,_0x373c91:0x2f9,_0x4fcfd9:0x62c,_0x286766:0x4b1,_0x140ffd:0x6d9,_0x40f717:0x74d,_0x526d22:0x6ef,_0x5ccf04:0x762,_0x449962:0x6ee},_0x366a75={_0x5cc077:0x1e5,_0x5de171:0x109,_0x3c74e4:0x118},_0x2d95e7=await this['metadataMemory'][_0x5850ac(-0x9b,0x95,0xd8,0x115)](_0x46688e);function _0x128342(_0x534e77,_0x545461,_0x3245ba,_0x57c0ce){return _0xadee61(_0x545461-0x2a4,_0x57c0ce,_0x3245ba-0x188,_0x57c0ce-0x7a);}function _0x5850ac(_0x4e3d88,_0x39cf4b,_0x3201b7,_0x54f566){return _0x27e2df(_0x4e3d88-_0x366a75._0x5cc077,_0x4e3d88- -_0x366a75._0x5de171,_0x3201b7-_0x366a75._0x3c74e4,_0x3201b7);}const _0x52c38e={..._0x2d95e7,'promptTokens':(_0x2d95e7?.[_0x128342(_0x29cf70._0x2ec261,_0x29cf70._0x16cf57,_0x29cf70._0x5b8990,_0x29cf70._0x23fe14)]??0x0)+(_0xba5e13['promptTokens']??0x0),'completionTokens':(_0x2d95e7?.[_0x128342(_0x29cf70._0x1e1517,_0x29cf70._0xb060a,_0x29cf70._0x5f3d14,0x523)]??0x0)+(_0xba5e13[_0x128342(0x63f,0x62c,0x824,0x459)]??0x0),'totalTokens':(_0x2d95e7?.[_0x128342(_0x29cf70._0x4c19f1,0x44e,_0x29cf70._0x344194,_0x29cf70._0x5490fc)]??0x0)+(_0xba5e13[_0x128342(0x472,0x44e,0x518,_0x29cf70._0x373c91)]??0x0),'contextWindow':_0xba5e13,'updatedAt':new Date()[_0x128342(_0x29cf70._0x4fcfd9,_0x29cf70._0x286766,_0x29cf70._0x140ffd,0x47f)]()};await this[_0x128342(0x8e1,0x71f,_0x29cf70._0x40f717,_0x29cf70._0x526d22)][_0x128342(_0x29cf70._0x5ccf04,_0x29cf70._0x449962,0x7b7,0x66d)](_0x46688e,_0x52c38e);}async[_0x27e2df(0x3e7,0x382,0x47d,0x372)](_0x2f513e,_0x4fa2e5){const _0x1fd879={_0x12f8af:0x3b5,_0x369656:0x3ce,_0x35b09a:0x32b,_0x154053:0x3d9,_0x572502:0x32a,_0x5d25a7:0x35c,_0x4e3443:0x227,_0x24b7be:0x66c,_0x5ee33c:0x526,_0x2a659c:0x2d7,_0x56ddbb:0x4ee,_0x381bc5:0x6f9,_0x209165:0x4ff,_0xa3dc07:0x326,_0x469bc1:0x14c,_0xd747bf:0x463,_0x59c548:0x177,_0x17ba95:0x1cc,_0x2deaf2:0x3f6,_0x12bdf8:0x530,_0x4bd373:0x352,_0x4ec148:0x23a,_0x2d7361:0x3d6,_0x58b5af:0x623,_0x2eb0f9:0x6a1,_0x5c01a0:0x860},_0x141830={_0x5a1228:0x1a8};function _0x81794e(_0x2864c7,_0x26646e,_0x5c472a,_0x58c38e){return _0xadee61(_0x26646e- -0xc6,_0x5c472a,_0x5c472a-0xa2,_0x58c38e-0x9b);}const _0x27a78b=await this[_0x81794e(0x357,_0x1fd879._0x12f8af,0x28d,_0x1fd879._0x369656)][_0x1301bb(_0x1fd879._0x35b09a,_0x1fd879._0x154053,_0x1fd879._0x572502,0x419)](_0x2f513e);function _0x1301bb(_0x26e30d,_0xa2bc78,_0x36d49e,_0x4bc7f1){return _0xadee61(_0x26e30d-_0x141830._0x5a1228,_0x36d49e,_0x36d49e-0xbb,_0x4bc7f1-0x140);}const _0x5b026c={..._0x27a78b,'promptTokens':(_0x27a78b?.['promptTokens']??0x0)+(_0x4fa2e5[_0x81794e(-0x48,0x17d,0x22d,0x2fd)]??0x0),'completionTokens':(_0x27a78b?.[_0x1301bb(0x530,0x5e5,0x523,0x351)]??0x0)+(_0x4fa2e5['completionTokens']??0x0),'totalTokens':(_0x27a78b?.['totalTokens']??0x0)+(_0x4fa2e5['totalTokens']??0x0),'requestCount':(_0x27a78b?.[_0x1301bb(_0x1fd879._0x5d25a7,_0x1fd879._0x4e3443,0x151,0x21d)]??0x0)+0x1,'toolCallCount':(_0x27a78b?.[_0x1301bb(0x4c6,_0x1fd879._0x24b7be,0x34f,0x56b)]??0x0)+(_0x4fa2e5[_0x1301bb(_0x1fd879._0x5ee33c,0x552,0x333,0x416)]??0x0),'totalTimeMs':(_0x27a78b?.[_0x81794e(_0x1fd879._0x2a659c,0x23b,0x47a,0x80)]??0x0)+(_0x4fa2e5[_0x1301bb(_0x1fd879._0x56ddbb,_0x1fd879._0x381bc5,0x557,_0x1fd879._0x209165)]??0x0),'totalPrice':(_0x27a78b?.[_0x1301bb(_0x1fd879._0xa3dc07,_0x1fd879._0x469bc1,_0x1fd879._0xd747bf,_0x1fd879._0x59c548)]??0x0)+(_0x4fa2e5[_0x1301bb(0x403,_0x1fd879._0x17ba95,_0x1fd879._0x2deaf2,0x1f4)]??0x0),'contextWindow':{'promptTokens':_0x4fa2e5['promptTokens'],'completionTokens':_0x4fa2e5[_0x1301bb(_0x1fd879._0x12bdf8,0x497,0x72e,0x5e6)],'totalTokens':_0x4fa2e5[_0x1301bb(_0x1fd879._0x4bd373,_0x1fd879._0x4ec148,0x32d,0x1b5)]},'updatedAt':new Date()[_0x1301bb(0x3b5,0x5ec,0x315,_0x1fd879._0x2d7361)]()};return await this[_0x1301bb(_0x1fd879._0x58b5af,_0x1fd879._0x2eb0f9,_0x1fd879._0x5c01a0,0x484)]['set'](_0x2f513e,_0x5b026c),_0x5b026c;}async['updateTopic'](_0x515462,_0x2e2e52){const _0x5f45d5={_0x12a61b:0x77a,_0x5ecbf7:0x745,_0xd0c5ae:0x70b,_0x4a9e84:0x66b,_0x351b25:0x521,_0x1021c8:0x368,_0x2ad856:0x620,_0x2595e7:0x802,_0x1ce3d2:0x915,_0x4410fd:0x6bb},_0xbec746={_0x4b87c3:0x387},_0x15ab9d={_0x49b27b:0x2ca,_0x591d4c:0xa9};function _0x2db448(_0x253c8b,_0x11798e,_0x50538,_0xb05e19){return _0xadee61(_0xb05e19-_0x15ab9d._0x49b27b,_0x11798e,_0x50538-0x1b1,_0xb05e19-_0x15ab9d._0x591d4c);}const _0x535350=await this[_0x2db448(0x839,_0x5f45d5._0x12a61b,0x68b,_0x5f45d5._0x5ecbf7)][_0x418013(0x50a,_0x5f45d5._0xd0c5ae,_0x5f45d5._0x4a9e84,0x6e4)](_0x515462),_0x10d1e7={..._0x535350,'topic':_0x2e2e52,'updatedAt':new Date()[_0x418013(0x594,_0x5f45d5._0x351b25,_0x5f45d5._0x1021c8,_0x5f45d5._0x2ad856)]()};function _0x418013(_0x13e57f,_0x244510,_0x25a2f4,_0x44f346){return _0xadee61(_0x13e57f-_0xbec746._0x4b87c3,_0x44f346,_0x25a2f4-0x1be,_0x44f346-0x120);}await this[_0x418013(_0x5f45d5._0x2595e7,_0x5f45d5._0x1ce3d2,0x9da,0x5f1)][_0x418013(0x7d1,_0x5f45d5._0x4410fd,0x8b5,0x6dd)](_0x515462,_0x10d1e7);}async[_0xadee61(0x28d,0x2fa,0x9e,0x45d)](_0x468240){const _0x407361={_0x49baa0:0x54a,_0x5bec7b:0x701,_0x6cc13b:0x5a9,_0x54ba80:0x5fd},_0x5cf970={_0x4ed502:0x99,_0x43d116:0x7c},_0x508d38={_0x1b1408:0x19c,_0x5620d5:0xf3};function _0x147f9b(_0x495398,_0xbeaa1a,_0x19a4a4,_0xcb29e1){return _0xadee61(_0xbeaa1a-_0x508d38._0x1b1408,_0xcb29e1,_0x19a4a4-0x43,_0xcb29e1-_0x508d38._0x5620d5);}await this[_0x3ce178(_0x407361._0x49baa0,0x5d0,0x5cc,0x4c3)]['delete'](_0x468240);function _0x3ce178(_0x398ad9,_0x3e75ad,_0x70505f,_0x2c5356){return _0x27e2df(_0x398ad9-_0x5cf970._0x4ed502,_0x398ad9-0x407,_0x70505f-_0x5cf970._0x43d116,_0x2c5356);}await this[_0x147f9b(0x75b,0x617,_0x407361._0x5bec7b,0x4f3)][_0x147f9b(_0x407361._0x6cc13b,_0x407361._0x54ba80,0x525,0x5a3)](_0x468240);}async[_0x27e2df(-0x1ad,0x29,-0x102,-0xc9)](){const _0x204046={_0x4b6f2c:0x35,_0x5a26b4:0x1be,_0x400975:0xa8,_0x45475b:0x903,_0x154aa9:0x363,_0x56adcd:0x44b,_0x1cab31:0x6f8,_0x1c3876:0x645},_0x26b790={_0x46848f:0x6ef},_0x52db4f={_0x23405a:0x9a},_0x1613ef={_0x514f71:0x302,_0x24f232:0x8a,_0x4634eb:0xd},_0x2e7571=await this[_0x3867c3(-0x22,-_0x204046._0x4b6f2c,_0x204046._0x5a26b4,_0x204046._0x400975)][_0x387e37(0x4e9,0x70c,0x6e8,_0x204046._0x45475b)]();function _0x387e37(_0x26e9da,_0x2c6b2a,_0x4aaeec,_0x5dbfe3){return _0xadee61(_0x4aaeec-_0x1613ef._0x514f71,_0x26e9da,_0x4aaeec-_0x1613ef._0x24f232,_0x5dbfe3-_0x1613ef._0x4634eb);}const _0x14cfff=_0x2e7571[_0x3867c3(_0x204046._0x154aa9,_0x204046._0x56adcd,0x411,0x64a)](_0x369ebc=>!_0x369ebc[_0x387e37(0x522,0x465,0x4ef,0x501)](_0x3867c3(0x2bf,-0x29,0x1f2,0x169)));function _0x3867c3(_0x59cc48,_0x501845,_0x14617a,_0x155bcf){return _0xadee61(_0x14617a- -_0x52db4f._0x23405a,_0x501845,_0x14617a-0x17e,_0x155bcf-0x18f);}const _0x10a3cd=await Promise[_0x3867c3(0x151,0x1dc,0x21b,0x1d7)](_0x14cfff[_0x387e37(0x59a,_0x204046._0x1cab31,_0x204046._0x1c3876,0x768)](async _0x231981=>{const _0x430ae9={_0x1798fe:0x5b,_0x50df3b:0x8e,_0x1f06bb:0x166},_0x371558=await this[_0x3214b9(_0x26b790._0x46848f,0x669,0x58f,0x7e4)]['get'](_0x231981);function _0x3214b9(_0x3420c0,_0x5c178d,_0x27ad4a,_0x5e8126){return _0x387e37(_0x27ad4a,_0x5c178d-_0x430ae9._0x1798fe,_0x3420c0- -_0x430ae9._0x50df3b,_0x5e8126-_0x430ae9._0x1f06bb);}return{'id':_0x231981,'metadata':_0x371558??{}};}));return _0x10a3cd;}async[_0xadee61(0x2e4,0x176,0x184,0x11a)](){const _0x4dea6f={_0x32331d:0x2ea,_0x40b6d2:0x1bc},_0x3dce75={_0x5846e8:0x17f},_0x593f60={},_0x5fa4e7=await this[_0x3e274c(0x10b,0x3d4,_0x4dea6f._0x32331d,_0x4dea6f._0x40b6d2)]();function _0x3e274c(_0xf9e10d,_0x482c62,_0x5eb3b1,_0x2eeeb1){return _0xadee61(_0x5eb3b1-0x1ac,_0x2eeeb1,_0x5eb3b1-0xab,_0x2eeeb1-_0x3dce75._0x5846e8);}for(const {id:_0x34a369}of _0x5fa4e7){const _0x4f5b56=await this['getConversation'](_0x34a369);_0x593f60[_0x34a369]=_0x4f5b56;}return _0x593f60;}async['importSnapshot'](_0x33a432){const _0x433979={_0x53a813:0x1c4,_0xf6a6a7:0x209,_0x4983e8:0x58f,_0x38fe97:0x62d},_0x1d1781={_0x6a0092:0x2f0,_0x11affb:0x1,_0x2af2fd:0x1c2},_0x415a91={_0x4bc245:0x8c,_0x5eb977:0x1ef};function _0x105a30(_0x528da6,_0x314fc5,_0x4c21b6,_0x29f413){return _0xadee61(_0x528da6-_0x415a91._0x4bc245,_0x29f413,_0x4c21b6-_0x415a91._0x5eb977,_0x29f413-0xe7);}function _0x1c2232(_0x3ed491,_0x3a1dd9,_0x556dca,_0x552589){return _0xadee61(_0x556dca-_0x1d1781._0x6a0092,_0x3a1dd9,_0x556dca-_0x1d1781._0x11affb,_0x552589-_0x1d1781._0x2af2fd);}for(const [_0x32d340,_0x5c33e0]of Object[_0x105a30(0x3b5,_0x433979._0x53a813,_0x433979._0xf6a6a7,_0x433979._0x4983e8)](_0x33a432)){await this[_0x1c2232(0x86c,0x651,0x776,_0x433979._0x38fe97)](_0x32d340,_0x5c33e0);}}},ConversationContext=class{[_0x27e2df(0x153,0x7f,0x248,0x22f)]=_0xadee61(0x469,0x2d2,0x540,0x640);['getActiveConversationId'](){const _0x5a3457={_0x7a174b:0x1df},_0x1e0756={_0x3d5687:0x1cd};function _0x32e97a(_0x255c16,_0x19131a,_0x45ea54,_0x2b39b7){return _0xadee61(_0x19131a-0x160,_0x255c16,_0x45ea54-_0x1e0756._0x3d5687,_0x2b39b7-0x81);}return this[_0x32e97a(_0x5a3457._0x7a174b,0x2f4,0x454,0x2fc)];}[_0x27e2df(0x2e3,0x333,0x533,0x275)](_0x51c27a){const _0x5e248c={_0x344ef5:0x6d7,_0x5046e1:0x25f,_0x2886ff:0x3b6,_0x14f915:0x143,_0x2281e7:0x6c,_0x6cdf32:0xe8},_0x4255c1={_0x12925f:0x1e4,_0x5b7e95:0x452},_0x17cd2d={_0x568a85:0x1f};function _0x45393f(_0x568895,_0x1e4f04,_0x3ae95c,_0x3bdbc7){return _0xadee61(_0x3bdbc7- -_0x17cd2d._0x568a85,_0x1e4f04,_0x3ae95c-0x14,_0x3bdbc7-0x88);}function _0x169cef(_0x4bac92,_0x1bda61,_0x55424e,_0x18dfc7){return _0x27e2df(_0x4bac92-_0x4255c1._0x12925f,_0x18dfc7-_0x4255c1._0x5b7e95,_0x55424e-0x95,_0x1bda61);}if(!_0x51c27a||_0x51c27a[_0x45393f(0x1fa,-0x142,0x2e5,0xe8)]()[_0x169cef(0x680,_0x5e248c._0x344ef5,0x6b8,0x69c)]===0x0)throw new Error(_0x45393f(_0x5e248c._0x5046e1,0x4c3,_0x5e248c._0x2886ff,0x2c2));this['activeConversationId']=_0x51c27a[_0x45393f(0x12e,_0x5e248c._0x14f915,-_0x5e248c._0x2281e7,_0x5e248c._0x6cdf32)]();}[_0xadee61(0x12f,0x40,-0x1a,0x136)](_0x24c17e){const _0x2590aa={_0x425829:0x682,_0x38c8de:0x4f7,_0x8afdaa:0x5f6,_0x1e7877:0x69e,_0x4099b2:0x471},_0x625d17={_0xe9eb40:0x3c},_0x47080a={_0x418a58:0x34b,_0x2b8fd5:0xa3};function _0x466969(_0x316d9c,_0x1c5e2f,_0xfe7131,_0x9e66d2){return _0xadee61(_0xfe7131-_0x47080a._0x418a58,_0x316d9c,_0xfe7131-0x13,_0x9e66d2-_0x47080a._0x2b8fd5);}function _0x435c0f(_0x3aa4d7,_0x4722ce,_0x554e5a,_0x424bd4){return _0x27e2df(_0x3aa4d7-0x177,_0x3aa4d7-0x2ab,_0x554e5a-_0x625d17._0xe9eb40,_0x424bd4);}const _0x3fcf65=Date[_0x435c0f(_0x2590aa._0x425829,_0x2590aa._0x38c8de,0x79b,0x8c2)](),_0x351bb1=_0x24c17e?this['slugify'](_0x24c17e):_0x435c0f(_0x2590aa._0x8afdaa,_0x2590aa._0x1e7877,0x752,_0x2590aa._0x4099b2);return _0x351bb1+'-'+_0x3fcf65;}['slugify'](_0x12aaaf){const _0x2932e0={_0x4f9e21:0x2a1,_0x155ed5:0x584,_0x58bdb2:0x263,_0x228fde:0xd,_0x1134e9:0xc4,_0x39c072:0x99,_0x4cf43f:0x66},_0x32a03f={_0x2260d7:0x3d,_0x37b696:0x1d6},_0xb13a79={_0x3ac624:0x16,_0x27aaed:0xa6};function _0x20688f(_0x3a5639,_0x17af6e,_0x3f271c,_0x518ed9){return _0x27e2df(_0x3a5639-_0xb13a79._0x3ac624,_0x518ed9-0x17d,_0x3f271c-_0xb13a79._0x27aaed,_0x17af6e);}function _0x573e7f(_0x1bf888,_0x29b240,_0x1e07a0,_0x4da2b9){return _0xadee61(_0x1e07a0- -0x2d2,_0x4da2b9,_0x1e07a0-_0x32a03f._0x2260d7,_0x4da2b9-_0x32a03f._0x37b696);}return _0x12aaaf[_0x20688f(0xc7,0x4dd,0x441,_0x2932e0._0x4f9e21)]()[_0x20688f(_0x2932e0._0x155ed5,0x308,_0x2932e0._0x58bdb2,0x40f)](/[^a-z0-9]+/g,'-')[_0x573e7f(_0x2932e0._0x228fde,0x224,0xd5,-_0x2932e0._0x1134e9)](/^-|-$/g,'')[_0x573e7f(_0x2932e0._0x39c072,0x1d7,0xcd,-_0x2932e0._0x4cf43f)](0x0,0x1e);}},TodoStore=class{constructor(_0x2feac8){const _0x1d87f1={_0x750be1:0x365,_0x2f216e:0x3c4,_0x5603d0:0x431},_0x28c65e={_0x382d36:0x2ee};function _0x177727(_0x44df0c,_0x53936a,_0x2c3f1d,_0x893b8){return _0x27e2df(_0x44df0c-0x179,_0x893b8-_0x28c65e._0x382d36,_0x2c3f1d-0xc4,_0x53936a);}this[_0x177727(_0x1d87f1._0x750be1,_0x1d87f1._0x2f216e,0x542,_0x1d87f1._0x5603d0)]=_0x2feac8;}async[_0xadee61(0x3d1,0x2a0,0x339,0x4aa)](_0x3e0345){const _0x2c7da1={_0x4309f2:0x315,_0x535f13:0x5b9,_0x34259a:0x7b2,_0xf5a9df:0x4f1,_0x5328f4:0x1dc,_0xc9ce:0x8c},_0x35c070={_0x5bb2ab:0xdc},_0x441843=_0x3e0345??_0x12b920(-_0x2c7da1._0x4309f2,-0x1c7,-0x27,-0x5b);function _0x12b920(_0xc372c9,_0x36bfb5,_0x416a55,_0x220381){return _0xadee61(_0x36bfb5- -0x35f,_0x416a55,_0x416a55-_0x35c070._0x5bb2ab,_0x220381-0x1d0);}const _0x15d583=await this[_0x3682ca(_0x2c7da1._0x535f13,_0x2c7da1._0x34259a,_0x2c7da1._0xf5a9df,0x4be)][_0x12b920(-0x167,-_0x2c7da1._0x5328f4,-_0x2c7da1._0xc9ce,-0x220)](_0x441843);function _0x3682ca(_0x113a7d,_0x39edc1,_0x1be62e,_0x32b3e0){return _0x27e2df(_0x113a7d-0x184,_0x113a7d-0x476,_0x1be62e-0x5d,_0x1be62e);}return _0x15d583??[];}async[_0x27e2df(0x4f7,0x3c3,0x301,0x54d)](_0x3a1088,_0x3d2af7){const _0x420314=_0x3d2af7??'default';await this['memory']['set'](_0x420314,_0x3a1088);}async[_0xadee61(0x4cc,0x345,0x349,0x3b2)](_0xddba19){const _0x13ffe2={_0x3a8b55:0x390,_0x20ed69:0x22d,_0x19be5a:0x51f,_0x315380:0x2d1,_0x1069da:0x27d,_0x2c6dea:0x4b7,_0x1b8d58:0x21c,_0x507ec8:0x21b,_0x308c33:0xba,_0x2ec1c8:0x26,_0x6257ee:0x44c,_0x20633d:0xb6,_0x1b7724:0x368,_0x37335b:0x2df,_0x20dad7:0x1ae,_0x2643b5:0x3a9,_0x12599a:0x461,_0x9fce4b:0x2b4,_0x29bbaa:0x251,_0x2bad3d:0x493,_0x2ad1ad:0x123,_0x2a78b3:0x110},_0x58314a={_0x2dec31:0x33},_0x650253={_0x20591c:0x2e},_0x11c09a=await this[_0x581e7a(_0x13ffe2._0x3a8b55,_0x13ffe2._0x20ed69,_0x13ffe2._0x19be5a,_0x13ffe2._0x315380)](_0xddba19);function _0x581e7a(_0xec9bee,_0x2f8a5,_0x2c73cb,_0x44ea35){return _0xadee61(_0xec9bee- -0x41,_0x2f8a5,_0x2c73cb-_0x650253._0x20591c,_0x44ea35-0x1d8);}function _0x3f4191(_0x413ac8,_0x53f1a4,_0x3bb429,_0x27dd82){return _0x27e2df(_0x413ac8-0x60,_0x3bb429-_0x58314a._0x2dec31,_0x3bb429-0x1c9,_0x27dd82);}const _0x752d0d={'total':_0x11c09a[_0x3f4191(0x2f4,0x23b,_0x13ffe2._0x1069da,_0x13ffe2._0x2c6dea)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x1a1870 of _0x11c09a){if(_0x1a1870[_0x3f4191(0x3bf,_0x13ffe2._0x1b8d58,0x2df,0x2a7)]===_0x3f4191(0x44e,0xdd,_0x13ffe2._0x507ec8,_0x13ffe2._0x308c33))_0x752d0d[_0x3f4191(0x11a,-_0x13ffe2._0x2ec1c8,0x21b,_0x13ffe2._0x6257ee)]++;else{if(_0x1a1870[_0x3f4191(_0x13ffe2._0x20633d,_0x13ffe2._0x1b7724,_0x13ffe2._0x37335b,_0x13ffe2._0x20dad7)]===_0x581e7a(0x2a4,0x1d6,_0x13ffe2._0x2643b5,_0x13ffe2._0x12599a))_0x752d0d[_0x581e7a(_0x13ffe2._0x9fce4b,_0x13ffe2._0x29bbaa,0x47f,0x3d4)]++;else{if(_0x1a1870[_0x3f4191(0x169,_0x13ffe2._0x2bad3d,0x2df,0x409)]==='completed')_0x752d0d[_0x3f4191(_0x13ffe2._0x2ad1ad,_0x13ffe2._0x2a78b3,0x31,-0x1c5)]++;}}}return _0x752d0d;}};function okText(_0x1f92c4,_0x295e30){const _0x168f0c={_0x215533:0x3ce,_0x234ce7:0x7af,_0x28f01e:0x688,_0x2b582c:0x483},_0x488cdf={_0x17d7c1:0x34,_0x5363ae:0x3a2,_0x22f729:0x1bd},_0x4f2bda={_0x355ba4:0x3b2,_0x32a012:0x1bb};function _0x25e939(_0x14c1ad,_0x1c8c8d,_0xdadb0f,_0x55150b){return _0xadee61(_0x55150b-_0x4f2bda._0x355ba4,_0xdadb0f,_0xdadb0f-_0x4f2bda._0x32a012,_0x55150b-0xdf);}function _0x4e72ff(_0x4071f7,_0x4d1301,_0xeb09d9,_0x513b2a){return _0x27e2df(_0x4071f7-_0x488cdf._0x17d7c1,_0xeb09d9-_0x488cdf._0x5363ae,_0xeb09d9-_0x488cdf._0x22f729,_0x513b2a);}return{'status':_0x25e939(0x6c6,0x51c,_0x168f0c._0x215533,0x590),'type':_0x4e72ff(0x8a6,_0x168f0c._0x234ce7,_0x168f0c._0x28f01e,_0x168f0c._0x2b582c),'result':_0x1f92c4,'metadata':_0x295e30};}function okJson(_0x5a0cd2,_0x55e7a2){const _0x1d2287={_0x17a4e0:0x544,_0xe7688f:0x3a7,_0x4b7fac:0x504},_0x53608a={_0x4989c2:0x1a1,_0x333343:0x43b,_0x4fa9bb:0x18d};function _0x493c45(_0x41ccd7,_0x98ac9a,_0x31d1b1,_0x18364d){return _0x27e2df(_0x41ccd7-_0x53608a._0x4989c2,_0x31d1b1-_0x53608a._0x333343,_0x31d1b1-_0x53608a._0x4fa9bb,_0x41ccd7);}return{'status':_0x493c45(_0x1d2287._0x17a4e0,_0x1d2287._0xe7688f,_0x1d2287._0x4b7fac,0x410),'type':'json','result':_0x5a0cd2,'metadata':_0x55e7a2};}function err(_0x47f193,_0x42c5a6,_0x2f418a){const _0x28c4b1={_0x3afdc9:0x8d6,_0x41175b:0x6f3,_0x587cb8:0x6c9},_0x5471b9={_0x2d6e52:0x79};function _0x35e23a(_0xe18cc0,_0x40d5b4,_0x1750aa,_0x327173){return _0xadee61(_0x40d5b4-0x240,_0x327173,_0x1750aa-0x13b,_0x327173-_0x5471b9._0x2d6e52);}const _0x663102=_0x2f418a?{..._0x42c5a6,'errorReason':_0x2f418a}:_0x42c5a6;return{'status':_0x35e23a(_0x28c4b1._0x3afdc9,0x74e,_0x28c4b1._0x41175b,_0x28c4b1._0x587cb8),'type':'text','result':_0x47f193,'metadata':_0x663102};}var TodoWriteTool=class{constructor(_0x4ec639){const _0x2e870e={_0x2f0a17:0x3a,_0x4a2271:0x1f2},_0x33b520={_0x313174:0xa1};function _0x20bc72(_0x1681e7,_0x47c8f4,_0x362eed,_0x338dda){return _0x27e2df(_0x1681e7-_0x33b520._0x313174,_0x47c8f4- -0x10b,_0x362eed-0x18a,_0x1681e7);}this[_0x20bc72(-0x16c,-_0x2e870e._0x2f0a17,_0x2e870e._0x4a2271,-0x62)]=_0x4ec639;}[_0x27e2df(0xe9,0x210,0x17a,0x9)]=_0xadee61(0xff,-0xa2,0x1c1,0x163);['parameters']={'type':'object','properties':{'todos':{'type':_0x27e2df(0x307,0x151,-0x2a,0x273),'items':{'type':_0x27e2df(0x243,0x19f,0x38b,-0x84),'properties':{'content':{'type':_0x27e2df(0x2bb,0x375,0x1cf,0x1e5)},'status':{'type':_0xadee61(0x48a,0x448,0x28c,0x628),'enum':[_0xadee61(0x2fd,0x2bf,0x4c0,0x164),_0x27e2df(-0x28,0x1d0,0x41,0x152),'completed']},'priority':{'type':_0x27e2df(0x2f7,0x375,0x1c4,0x3b0),'enum':[_0xadee61(0x1eb,0x205,0x1e7,0x40e),_0xadee61(0x281,0x322,0x91,0x7b),'low']},'id':{'type':_0x27e2df(0x59d,0x375,0x394,0x2ee)},'createdAt':{'type':_0x27e2df(0x4ed,0x375,0x1e6,0x2db)}},'required':[_0xadee61(0x533,0x64c,0x749,0x483),_0xadee61(0x3c1,0x520,0x318,0x2ef),_0x27e2df(0x5a1,0x40e,0x286,0x382),'id']},'description':_0x27e2df(0x385,0x2e0,0x2ee,0x29f)}},'required':[_0x27e2df(0x2fd,0x326,0x423,0x538)]};[_0x27e2df(0x2c5,0x3a7,0x401,0x3ef)](){const _0x92bca0={_0x12c928:0xaf6,_0xd1765:0x966,_0x337ed7:0xb51,_0x5d27e5:0x97a,_0x4fd733:0x4c3},_0x22be71={_0x2a4619:0x41a,_0x1b4746:0xb9};function _0x572e72(_0x16d54e,_0x4b8822,_0xf5bdfa,_0x288277){return _0xadee61(_0x4b8822-0x3f1,_0x288277,_0xf5bdfa-0xdd,_0x288277-0x1e3);}function _0x5264d1(_0x56e939,_0x2adf1a,_0x5b0871,_0x403400){return _0xadee61(_0x403400-_0x22be71._0x2a4619,_0x5b0871,_0x5b0871-0x11e,_0x403400-_0x22be71._0x1b4746);}return{'name':this['name'],'description':_0x5264d1(_0x92bca0._0x12c928,_0x92bca0._0xd1765,_0x92bca0._0x337ed7,_0x92bca0._0x5d27e5),'parameters':this[_0x5264d1(0x437,0x783,_0x92bca0._0x4fd733,0x5f6)]};}async[_0x27e2df(0x498,0x2fd,0x51c,0x492)](_0x28c549,_0x5d776c){const _0x232dfb={_0x8bdfeb:0x436,_0x4bcb96:0x35d,_0x5e1122:0xd2,_0x26cb6b:0x26c,_0x525072:0xce,_0x196628:0x319,_0x17bbdb:0x3b4,_0x4ca84d:0x6a2,_0x47bfa4:0x259,_0x381e5b:0xfe,_0x225bef:0x71,_0x2494fc:0x292,_0x193533:0x5f9,_0x5f21ac:0x4d8,_0x50cf04:0x45c,_0x391a33:0x63b,_0x257b81:0x537,_0xe283cb:0x57c,_0x4e1fd1:0x485,_0x2f5b70:0x806,_0x533a7f:0x6b5,_0x312a53:0xb,_0x3ae3d6:0x30b,_0x1ccd96:0x2d3,_0x138971:0x530,_0x3a3f79:0x15b,_0x3c7f0a:0x1a7,_0x21e56a:0xd6,_0x26e2db:0x22c,_0x4536bb:0x5ca,_0x56ae34:0x30e,_0x47bf7c:0xa,_0x1ed329:0x15b,_0x501efe:0x25d,_0x5588dc:0x5dd,_0x2129a4:0x3e7,_0x490c14:0x5f9,_0x33e4c5:0x421,_0x401f4c:0x330,_0x5b170e:0x2dd,_0x149d34:0x746,_0x58a302:0x7e1,_0x249620:0x6b5,_0x1983c2:0x6be,_0x2a6e37:0x4ce,_0x10bce9:0x3f3,_0x1545ea:0x26c,_0x56af94:0x216,_0x3eefd0:0x5f,_0x556736:0x29,_0x146da1:0x22c,_0xbac86a:0x193,_0x215e9e:0x37b,_0x168379:0x24c,_0x1a4cf8:0x3cf,_0x9819fe:0xcd,_0xfc99b4:0x48b,_0x3f5ad2:0x352,_0x1a3a81:0x1fe,_0x907b8a:0x1f3,_0x337a84:0x11c,_0xfaf8fa:0x367,_0x3cc254:0x63b,_0x1ff605:0x532,_0x19864c:0x23a,_0x2604a0:0x1a5,_0x2ae645:0x3a6,_0x48012c:0x3f8,_0x495c42:0xd9,_0x57e6d1:0x2cd,_0x4cc754:0x5b,_0x269295:0x69,_0x27d7d3:0x6f,_0x3c1f04:0x57a,_0xd23e56:0x6ae,_0x2cc919:0x58c,_0x2ceac3:0x117,_0xbc459b:0x6ac,_0x582091:0x73e,_0x10084b:0x1ee,_0x4b7693:0x2c0,_0x2c1c39:0x4b2,_0x5dd2dd:0x143,_0x3d9c02:0x5af,_0x7e1473:0x85,_0x2c2362:0x53,_0x121900:0x185,_0x4bbfae:0x90,_0x28e14a:0x31a,_0x1afe5f:0x563,_0x55bd6f:0x565,_0x509d47:0x6ea},_0x12206d={_0x5ce3cc:0x4ac,_0x5b186d:0x4b7,_0x5edfff:0x3d0,_0x45a305:0x327,_0x544ecc:0x1f3,_0x22eb1d:0x257},_0x3f5a16={_0xbe7f7d:0x1a3},_0x405ca2={_0xca5e1a:0x1f1,_0x45d16f:0x166,_0x2b92c9:0x145,_0x2083e4:0x222,_0x48cf1f:0x3f,_0x9646c5:0x120,_0x1a25fa:0x237,_0x16a655:0x16,_0x5b4905:0x1f8,_0x46996e:0x298},_0x375a7d={_0x2ea1b7:0xb},_0x577c29={_0x18aeb0:0x16f,_0x3be5e2:0xca};function _0x4f591d(_0x28f2c4,_0x2376fd,_0x39d3c8,_0x2f04c7){return _0xadee61(_0x39d3c8-_0x577c29._0x18aeb0,_0x28f2c4,_0x39d3c8-0xfc,_0x2f04c7-_0x577c29._0x3be5e2);}const _0x4b8d0d=_0x28c549?.['todos'],_0xadc8e1=_0x5d776c;if(!Array['isArray'](_0x4b8d0d)||_0x4b8d0d[_0x4f591d(_0x232dfb._0x8bdfeb,0x3e6,0x4ce,_0x232dfb._0x4bcb96)]===0x0)return err(_0x5d5598(0x5c,0xea,-0x1a,_0x232dfb._0x5e1122),void 0x0,_0x5d5598(_0x232dfb._0x26cb6b,_0x232dfb._0x525072,_0x232dfb._0x196628,_0x232dfb._0x17bbdb));function _0x5d5598(_0x1b6c38,_0x119dee,_0x8d955e,_0x533fff){return _0xadee61(_0x1b6c38- -0x2da,_0x119dee,_0x8d955e-0x16,_0x533fff-_0x375a7d._0x2ea1b7);}for(let _0x1ad508=0x0;_0x1ad508<_0x4b8d0d['length'];_0x1ad508++){const _0x5dfc9b=_0x4b8d0d[_0x1ad508];if(!_0x5dfc9b)continue;if(!_0x5dfc9b[_0x4f591d(0x50a,0x891,_0x232dfb._0x4ca84d,0x89d)]||typeof _0x5dfc9b[_0x5d5598(_0x232dfb._0x47bfa4,_0x232dfb._0x381e5b,_0x232dfb._0x225bef,_0x232dfb._0x2494fc)]!==_0x4f591d(0x4ac,0x715,_0x232dfb._0x193533,_0x232dfb._0x5f21ac)||!_0x5dfc9b['content'][_0x5d5598(-0x1d3,-0x2c5,-0xc2,-0x35e)]())return err(_0x4f591d(_0x232dfb._0x50cf04,0x367,0x2ee,0x461)+(_0x1ad508+0x1)+_0x4f591d(_0x232dfb._0x391a33,_0x232dfb._0x257b81,_0x232dfb._0xe283cb,_0x232dfb._0x4e1fd1),void 0x0,_0x4f591d(0x86f,_0x232dfb._0x2f5b70,_0x232dfb._0x533a7f,0x7be));if(![_0x4f591d(0x22e,0x5af,0x46c,0x535),_0x5d5598(_0x232dfb._0x312a53,-0x5b,-0x4e,0xa2),'completed'][_0x4f591d(0x287,_0x232dfb._0x3ae3d6,0x4a9,_0x232dfb._0x1ccd96)](String(_0x5dfc9b[_0x4f591d(0x5c7,0x6fd,_0x232dfb._0x138971,0x360)])))return err(_0x5d5598(-_0x232dfb._0x3a3f79,-_0x232dfb._0x3c7f0a,_0x232dfb._0x21e56a,-_0x232dfb._0x26e2db)+(_0x1ad508+0x1)+':\x20invalid\x20status',void 0x0,_0x4f591d(0x77b,0x851,0x6b5,_0x232dfb._0x4536bb));if(![_0x5d5598(-0xef,-0x1df,-_0x232dfb._0x56ae34,_0x232dfb._0x47bf7c),'medium','low']['includes'](String(_0x5dfc9b['priority'])))return err(_0x5d5598(-_0x232dfb._0x1ed329,-0x13c,-0x24d,-_0x232dfb._0x501efe)+(_0x1ad508+0x1)+':\x20invalid\x20priority',void 0x0,_0x5d5598(_0x232dfb._0x26cb6b,0x4a,0x36d,0x40b));if(!_0x5dfc9b['id']||typeof _0x5dfc9b['id']!==_0x4f591d(_0x232dfb._0x5588dc,_0x232dfb._0x2129a4,_0x232dfb._0x490c14,_0x232dfb._0x33e4c5)||!_0x5dfc9b['id']['trim']())return err(_0x5d5598(-0x15b,-0x2fe,-_0x232dfb._0x401f4c,-_0x232dfb._0x5b170e)+(_0x1ad508+0x1)+':\x20id\x20required',void 0x0,_0x4f591d(_0x232dfb._0x149d34,_0x232dfb._0x58a302,_0x232dfb._0x249620,0x47a));}const _0x5e5b97=_0x4b8d0d['map'](_0x1b5e92=>_0x1b5e92['id']),_0x3c0732=new Set(_0x5e5b97);if(_0x3c0732['size']!==_0x5e5b97[_0x4f591d(0x472,_0x232dfb._0x1983c2,_0x232dfb._0x2a6e37,_0x232dfb._0x10bce9)])return err(_0x4f591d(0x606,0x66d,0x42b,0x2c0),void 0x0,_0x5d5598(_0x232dfb._0x1545ea,_0x232dfb._0x56af94,_0x232dfb._0x3eefd0,0x45b));const _0x581bd9=_0xadc8e1?.[_0x5d5598(0x20e,_0x232dfb._0x556736,_0x232dfb._0x146da1,_0x232dfb._0xbac86a)]||_0xadc8e1?.[_0x4f591d(_0x232dfb._0x215e9e,0x37b,0x29b,_0x232dfb._0x168379)]||_0x4f591d(0x3ae,_0x232dfb._0x1a4cf8,0x307,0x53b),_0x58bddd=new Date()[_0x5d5598(-_0x232dfb._0x9819fe,0x171,-0x27c,-0x21d)](),_0x2bb36e=_0x4b8d0d[_0x4f591d(0x6a6,_0x232dfb._0xfc99b4,0x4b2,0x2b0)](_0x2f57c5=>({'id':String(_0x2f57c5['id']),'content':String(_0x2f57c5[_0x5d5598(0x259,0x48,0x438,0x241)]),'status':_0x2f57c5['status'],'priority':_0x2f57c5[_0x4f591d(0x74e,0x8cd,0x692,0x682)],'conversationId':_0x581bd9,'createdAt':_0x2f57c5[_0x5d5598(0xf2,0xee,-0x58,-0x131)]||_0x58bddd,'updatedAt':_0x58bddd}));await this[_0x4f591d(0x370,_0x232dfb._0x3f5ad2,0x355,0x446)][_0x5d5598(_0x232dfb._0x1a3a81,_0x232dfb._0x907b8a,_0x232dfb._0x337a84,_0x232dfb._0xfaf8fa)](_0x2bb36e,_0x581bd9);const _0x199efd=await this['store'][_0x4f591d(0x6c2,0x737,_0x232dfb._0x3cc254,_0x232dfb._0x1ff605)](_0x581bd9),_0x11dab0=_0x199efd[_0x4f591d(_0x232dfb._0x19864c,_0x232dfb._0x2604a0,_0x232dfb._0x2ae645,0x235)]>0x0?Math[_0x5d5598(0x277,_0x232dfb._0x48012c,0x1ac,_0x232dfb._0x495c42)](_0x199efd[_0x4f591d(0x2e9,_0x232dfb._0x57e6d1,0x282,_0x232dfb._0x4cc754)]/_0x199efd['total']*0x64):0x0,_0x586048=_0x2bb36e[_0x5d5598(_0x232dfb._0x269295,0x48,-_0x232dfb._0x27d7d3,-0x57)]((_0x3d738d,_0x3bf5d3)=>{const _0x1a7093={_0x3faf04:0x19c},_0x33a925={_0x343eba:0x3d3,_0x554b63:0x21},_0x30b7bc=_0x3d738d[_0x2afdcf(_0x405ca2._0xca5e1a,_0x405ca2._0x45d16f,0x15d,0x30a)]===_0x304aeb(-_0x405ca2._0x2b92c9,-0x2fe,-0x45d,-_0x405ca2._0x2083e4)?_0x304aeb(-_0x405ca2._0x48cf1f,_0x405ca2._0x9646c5,_0x405ca2._0x1a25fa,_0x405ca2._0x16a655):_0x3d738d['status']==='in_progress'?_0x2afdcf(0x1ab,-0x7,_0x405ca2._0x5b4905,0x191):'[pending]';function _0x2afdcf(_0x4ea660,_0x285384,_0x3a62be,_0x38d110){return _0x4f591d(_0x285384,_0x285384-0x7e,_0x3a62be- -_0x33a925._0x343eba,_0x38d110-_0x33a925._0x554b63);}function _0x304aeb(_0x335aae,_0xb63036,_0x33fc9f,_0x55d1d0){return _0x5d5598(_0x55d1d0- -0x5b,_0x33fc9f,_0x33fc9f-_0x1a7093._0x3faf04,_0x55d1d0-0xe9);}return _0x3bf5d3+0x1+'.\x20'+_0x30b7bc+'\x20'+_0x3d738d[_0x2afdcf(0x415,0x2e5,0x2cf,_0x405ca2._0x46996e)];})[_0x4f591d(_0x232dfb._0x3c1f04,_0x232dfb._0xd23e56,_0x232dfb._0x2cc919,0x521)]('\x0a'),_0x4d249e=_0x2bb36e[_0x5d5598(0x85,-0x112,-0xdc,-_0x232dfb._0x2ceac3)]>0x0&&_0x2bb36e[_0x4f591d(_0x232dfb._0xbc459b,0x85b,0x65e,_0x232dfb._0x582091)](_0x53624e=>_0x53624e[_0x4f591d(0x765,0x6a7,0x530,0x3e9)]===_0x4f591d(0x186,0x23e,0x282,0x27b)),_0x19f522=_0x586048[_0x5d5598(_0x232dfb._0x10084b,_0x232dfb._0x4b7693,0x308,0x133)]('\x0a')[_0x4f591d(0x4bc,0x4af,_0x232dfb._0x2c1c39,0x38f)](_0x39d2a1=>{const _0x2baf80={_0x325ab4:0x1e7},_0x14d0f8=_0x39d2a1[_0xcc7763(0x347,_0x12206d._0x5ce3cc,_0x12206d._0x5b186d,_0x12206d._0x5edfff)](/^(\d+)\. \[([^\]]+)\] (.+)$/);if(!_0x14d0f8)return _0x39d2a1;const [,_0x5d80e5,_0x42fa33,_0x3b7b9b]=_0x14d0f8;function _0xcc7763(_0x35abd5,_0x33b956,_0x4491f6,_0x3755c6){return _0x4f591d(_0x3755c6,_0x33b956-_0x3f5a16._0xbe7f7d,_0x33b956-0x52,_0x3755c6-0x16);}const _0x569792=parseInt(_0x5d80e5??'0')-0x1;function _0x266993(_0x12da7b,_0x17d096,_0xf3a821,_0x5dbd3b){return _0x5d5598(_0x12da7b- -0xaa,_0x17d096,_0xf3a821-0x4c,_0x5dbd3b-_0x2baf80._0x325ab4);}return _0xcc7763(_0x12206d._0x5b186d,0x563,_0x12206d._0x45a305,0x60b)+_0x3b7b9b+_0x266993(0x105,0xad,0x250,0x2e9)+_0x42fa33+_0x266993(0x1e5,_0x12206d._0x544ecc,_0x12206d._0x22eb1d,-0x14)+(_0x2bb36e[_0x569792]?.['id']||'')+'\x22}';})[_0x5d5598(_0x232dfb._0x5dd2dd,0x1e6,0x27e,0x33a)](','),_0xd7dc14=_0x4d249e?_0x4f591d(_0x232dfb._0x3d9c02,0x6cf,0x6b7,0x6fe)+_0x2bb36e[_0x5d5598(_0x232dfb._0x7e1473,-_0x232dfb._0x2c2362,0x1e3,0x103)]+_0x5d5598(-0x1cc,-0x2e6,-0x259,-_0x232dfb._0x121900)+_0x19f522+_0x5d5598(0x264,_0x232dfb._0x4bbfae,_0x232dfb._0x28e14a,0x29d):'Todos\x20have\x20been\x20modified\x20successfully.\x20Continue\x20with\x20current\x20tasks\x20if\x20applicable.\x0a\x0a<system-reminder>\x0aYour\x20todo\x20list\x20has\x20changed.\x20DO\x20NOT\x20mention\x20this\x20explicitly\x20to\x20the\x20user.\x20Latest\x20contents:\x0a['+_0x19f522+_0x4f591d(0x607,0x487,0x6ad,_0x232dfb._0x1afe5f);return okText(_0xd7dc14,{'recentChanges':!![],'stats':_0x199efd,'progress':_0x11dab0+'%','allCompleted':_0x4d249e,'conversationId':_0x581bd9,'items':_0x2bb36e[_0x4f591d(_0x232dfb._0x55bd6f,_0x232dfb._0x509d47,0x4b2,0x390)](_0x238f25=>({'id':_0x238f25['id'],'content':_0x238f25[_0x5d5598(0x259,0xe8,0x47e,0x282)],'status':_0x238f25[_0x5d5598(0xe7,-0x7d,0x30d,-0x44)],'priority':_0x238f25[_0x4f591d(0x807,0x828,0x692,0x6e7)],'createdAt':_0x238f25[_0x4f591d(0x524,0x3af,0x53b,0x582)]||_0x58bddd})),'todosWritten':_0x2bb36e['length']});}},UA=_0x27e2df(0x97,0x74,0xf8,-0x9a);function withTimeout(_0x51e242,_0x4bf11f=0x3a98,_0xb910c3){const _0x2aa700={_0x266505:0x4b7,_0x3d54d7:0x544,_0x3e783c:0x6e2,_0xea7016:0x839,_0x39cd04:0x60d},_0x32ceb3={_0x344813:0x374,_0x2a8d40:0x4a9},_0x50900b={_0x7bf5a6:0xca,_0x24e0a4:0xe6},_0x4172f7={_0x352a39:0x5aa,_0x5467cf:0x732},_0x188e4a={_0x8a9143:0xa8},_0x4797ee={_0x3fc0fd:0x1b6};function _0x1a7dd5(_0x52d47d,_0x1e4021,_0x371ac9,_0x39d6b3){return _0xadee61(_0x39d6b3- -_0x4797ee._0x3fc0fd,_0x52d47d,_0x371ac9-0x105,_0x39d6b3-0xc3);}const _0x21b46c=new AbortController();function _0xb683ce(_0x218519,_0xc15e22,_0x511c85,_0x269eb0){return _0x27e2df(_0x218519-0x133,_0x218519-0x307,_0x511c85-_0x188e4a._0x8a9143,_0xc15e22);}const _0x55880f=setTimeout(()=>_0x21b46c[_0xb683ce(0x6a2,0x60a,0x475,0x60d)](),_0x4bf11f),_0x4ac25f=()=>_0x21b46c[_0x1a7dd5(0x130,0xd9,0x2be,0x2fa)]();return _0xb910c3?.[_0xb683ce(_0x2aa700._0x266505,_0x2aa700._0x3d54d7,0x3c2,_0x2aa700._0x3e783c)](_0xb683ce(0x6a2,_0x2aa700._0xea7016,_0x2aa700._0x39cd04,0x813),_0x4ac25f),Promise['race']([_0x51e242,new Promise((_0x4ea740,_0x177221)=>_0x21b46c[_0x1a7dd5(0x326,0x3f5,0xaa,0x1de)][_0xb683ce(0x4b7,0x60e,0x552,0x469)](_0xb683ce(0x6a2,0x555,0x729,0x750),()=>{const _0x2ade63={_0x3737c1:0x171,_0x1b716f:0xc9,_0x1584a0:0x5b1},_0x52a801=_0xb910c3?.['aborted'];function _0x5ab2f1(_0x3cab63,_0x5a9e6c,_0xbabdf0,_0x7d6abc){return _0x1a7dd5(_0x7d6abc,_0x5a9e6c-_0x2ade63._0x3737c1,_0xbabdf0-_0x2ade63._0x1b716f,_0x3cab63-_0x2ade63._0x1584a0);}_0x177221(new Error(_0x52a801?_0x5ab2f1(_0x4172f7._0x352a39,0x75c,0x6a7,_0x4172f7._0x5467cf):'Request\x20timeout\x20after\x20'+_0x4bf11f+'ms'));}))])['finally'](()=>{clearTimeout(_0x55880f);function _0x2b61cd(_0x2762d9,_0x5c410d,_0x29e445,_0x237104){return _0x1a7dd5(_0x5c410d,_0x5c410d-_0x50900b._0x7bf5a6,_0x29e445-_0x50900b._0x24e0a4,_0x2762d9-0x2e);}_0xb910c3?.[_0x2b61cd(_0x32ceb3._0x344813,_0x32ceb3._0x2a8d40,0x4e5,0x299)]('abort',_0x4ac25f);});}async function fetchJSON(_0x12b0e8,_0x3c185d,_0x4bcfb2){const _0x521867={_0x74520c:0x2e3,_0x187c6a:0x496,_0x1828b4:0x496,_0x26221a:0x4ea,_0x2a502f:0x632,_0x43a7e9:0x698,_0x4283ec:0x71a,_0x38bce5:0x658,_0x50f0db:0x791,_0x1b668c:0x922,_0x2908ae:0x8e3,_0x3b375b:0x6f2,_0x47cb86:0x47d,_0x3abb52:0x38a,_0x2140a5:0x1de,_0x568332:0x5dc,_0xfeeb29:0x482,_0x278696:0x798,_0x114fc8:0x657},_0x5b00f7={_0x112d78:0x297,_0x5e1eab:0x8},_0x1a5a54={_0x2db88e:0x2e2,_0x1f92a4:0xa6},_0x484f2b=await withTimeout(fetch(_0x12b0e8,{..._0x3c185d,'signal':_0x4bcfb2}),0x3a98,_0x4bcfb2);function _0x1bc10a(_0x1ee650,_0x107ef9,_0x50bbea,_0x57714a){return _0xadee61(_0x57714a-_0x1a5a54._0x2db88e,_0x50bbea,_0x50bbea-0xbf,_0x57714a-_0x1a5a54._0x1f92a4);}if(!_0x484f2b['ok']){const _0x34a33a=await _0x484f2b[_0x8f94d8(0x616,0x705,0x84d,0x692)]()[_0x1bc10a(_0x521867._0x74520c,_0x521867._0x187c6a,_0x521867._0x1828b4,_0x521867._0x26221a)](()=>'');throw new Error(_0x1bc10a(_0x521867._0x2a502f,0x6c9,_0x521867._0x43a7e9,0x503)+_0x484f2b[_0x8f94d8(_0x521867._0x4283ec,0x450,0x4e5,_0x521867._0x38bce5)]+'\x20'+_0x484f2b[_0x1bc10a(0x732,0x6dd,0x565,_0x521867._0x50f0db)]+_0x1bc10a(_0x521867._0x1b668c,_0x521867._0x2908ae,0x4cb,_0x521867._0x3b375b)+_0x34a33a?.[_0x8f94d8(_0x521867._0x47cb86,_0x521867._0x3abb52,_0x521867._0x2140a5,0x3b1)](0x0,0xc8));}function _0x8f94d8(_0x48df64,_0x7b2105,_0x3a999c,_0x36892c){return _0xadee61(_0x36892c-_0x5b00f7._0x112d78,_0x48df64,_0x3a999c-_0x5b00f7._0x5e1eab,_0x36892c-0x45);}return await _0x484f2b[_0x1bc10a(_0x521867._0x568332,_0x521867._0xfeeb29,_0x521867._0x278696,_0x521867._0x114fc8)]();}async function fetchText(_0x1ccec2,_0x32aff3,_0x260b06){const _0x11f1c4={_0x1e3de1:0xac,_0x1b926e:0x172,_0x262bab:0x20e,_0x4386be:0x113,_0x84dff:0x193,_0x1caeac:0x1b,_0x4c3971:0x1dc,_0x50db8d:0x34,_0x20a25c:0x411,_0x252423:0x415,_0x17b7e5:0x2c2,_0x413ba9:0x352,_0x4e1cb8:0x265,_0x21ac4a:0x223},_0x2fe5ea={_0x4ed530:0xc,_0xadb939:0x184},_0x1e8d16={_0x19963e:0x1cc,_0x44a15f:0xb7};function _0x47f9e1(_0x1071f8,_0x36b054,_0x5f4d38,_0x2bac09){return _0xadee61(_0x5f4d38- -_0x1e8d16._0x19963e,_0x1071f8,_0x5f4d38-0x1a7,_0x2bac09-_0x1e8d16._0x44a15f);}const _0x32b5c8=await withTimeout(fetch(_0x1ccec2,{..._0x32aff3,'signal':_0x260b06}),0x3a98,_0x260b06);function _0x5881e9(_0x8ff116,_0x429fcc,_0x3b731b,_0x49cfe7){return _0x27e2df(_0x8ff116-_0x2fe5ea._0x4ed530,_0x49cfe7- -0xd8,_0x3b731b-_0x2fe5ea._0xadb939,_0x429fcc);}if(!_0x32b5c8['ok']){const _0x5821d2=await _0x32b5c8[_0x5881e9(0x4d,_0x11f1c4._0x1e3de1,_0x11f1c4._0x1b926e,_0x11f1c4._0x262bab)]()[_0x5881e9(_0x11f1c4._0x4386be,-0x1f4,_0x11f1c4._0x84dff,_0x11f1c4._0x1caeac)](()=>'');throw new Error(_0x5881e9(0x136,0x3f,_0x11f1c4._0x4c3971,_0x11f1c4._0x50db8d)+_0x32b5c8[_0x5881e9(0x2af,0x2ef,_0x11f1c4._0x20a25c,0x1d4)]+'\x20'+_0x32b5c8[_0x5881e9(_0x11f1c4._0x252423,0x156,0x2e3,_0x11f1c4._0x17b7e5)]+_0x5881e9(0x1fd,_0x11f1c4._0x413ba9,_0x11f1c4._0x4e1cb8,_0x11f1c4._0x21ac4a)+_0x5821d2?.['slice'](0x0,0xc8));}return await _0x32b5c8['text']();}function addSiteFilters(_0x681ba9,_0x5cd070){const _0x4547f0={_0x143ce5:0x563,_0x107ee2:0x52e,_0x1e5e76:0x2aa,_0x59067b:0x33c,_0x237ab5:0x19f,_0x3a7c8c:0x4a8,_0xa94858:0x65a,_0x5d1c8d:0x23d},_0x278a9a={_0x56062c:0x8c,_0x573213:0x1a0,_0x457be6:0x95},_0x297b7c={_0x9aac5e:0x253};if(!_0x5cd070?.[_0x94c81(_0x4547f0._0x143ce5,0x1b8,0x3ea,_0x4547f0._0x107ee2)])return _0x681ba9[_0x94c81(0x2b5,_0x4547f0._0x1e5e76,0x192,_0x4547f0._0x59067b)]();function _0x3dd0db(_0x567c28,_0xd62654,_0x218fd1,_0x84d560){return _0x27e2df(_0x567c28-0x1d9,_0xd62654- -_0x297b7c._0x9aac5e,_0x218fd1-0x4,_0x84d560);}const _0x162b47=_0x5cd070[_0x3dd0db(-_0x4547f0._0x237ab5,-0x25,0x203,0x59)](_0x2cd08b=>'(site:'+_0x2cd08b+')');function _0x94c81(_0x3abe29,_0x49a1ce,_0x3c0d27,_0x48b425){return _0x27e2df(_0x3abe29-_0x278a9a._0x56062c,_0x3c0d27-_0x278a9a._0x573213,_0x3c0d27-_0x278a9a._0x457be6,_0x48b425);}return(_0x681ba9+'\x20'+_0x162b47[_0x94c81(0x3fe,0x285,_0x4547f0._0x3a7c8c,_0x4547f0._0xa94858)]('\x20OR\x20'))[_0x3dd0db(-0x342,-0x261,-_0x4547f0._0x5d1c8d,-0x27)]();}function normalizeUrl(_0x5a4c1a){const _0x2bd640={_0x11601b:0x411,_0x4b8e21:0x4fd,_0x37d227:0x61d,_0x39ec30:0x4bf,_0xd80138:0x4f5,_0x33c9f2:0x56a,_0x334525:0x6c7,_0x1f500a:0x6f0,_0x1a38bf:0x759,_0x4e1beb:0x5dc,_0x21f030:0x704,_0x36db6b:0x673,_0x29584d:0x596,_0x101640:0x76b,_0x2e2138:0x6a5},_0x430f00={_0x230f00:0x4b2},_0x559deb={_0x1ff86f:0x9e,_0x27eda3:0x1c,_0x240c62:0x4f};function _0x29feb8(_0x29cf87,_0x1f2b0a,_0x259977,_0xc746e4){return _0xadee61(_0x259977-_0x559deb._0x1ff86f,_0xc746e4,_0x259977-_0x559deb._0x27eda3,_0xc746e4-_0x559deb._0x240c62);}function _0x593d6e(_0x2e1733,_0x585d28,_0x311ef0,_0x2453a5){return _0x27e2df(_0x2e1733-0xa4,_0x2e1733-_0x430f00._0x230f00,_0x311ef0-0x102,_0x585d28);}try{const _0x1b4133=new URL(_0x5a4c1a);return['utm_source',_0x29feb8(0x533,0x77b,0x5b2,_0x2bd640._0x11601b),_0x29feb8(0x3ec,_0x2bd640._0x4b8e21,0x4fc,_0x2bd640._0x37d227),_0x29feb8(0x6d5,_0x2bd640._0x39ec30,0x4b1,0x403),_0x593d6e(0x63e,0x76b,_0x2bd640._0xd80138,0x6ba),'gclid',_0x593d6e(0x755,0x684,0x95d,_0x2bd640._0x33c9f2),_0x593d6e(_0x2bd640._0x334525,0x7d7,_0x2bd640._0x1f500a,_0x2bd640._0x1a38bf),_0x593d6e(0x4ed,_0x2bd640._0x4e1beb,_0x2bd640._0x21f030,_0x2bd640._0x36db6b)][_0x29feb8(0x73c,0x719,_0x2bd640._0x29584d,0x686)](_0x427280=>_0x1b4133[_0x593d6e(0x647,0x7ff,0x5b8,0x4b3)][_0x29feb8(0x300,0x3fd,0x4ff,0x3df)](_0x427280)),_0x1b4133[_0x593d6e(0x864,_0x2bd640._0x101640,0x75a,_0x2bd640._0x2e2138)]();}catch{return _0x5a4c1a;}}function cseDateRestrict(_0x125238){const _0x5bf34c={_0x10b705:0x2c3,_0x5bbeb6:0x23f,_0x46a40e:0x291,_0x2e6400:0x315,_0x5bfdf5:0x233,_0x11d82e:0x263},_0x2981fa={_0x2a477f:0xdf,_0x5b4bc9:0x184},_0x410e70={_0x1006b3:0x18};if(!_0x125238||_0x125238<=0x0)return void 0x0;function _0x4dd3da(_0x247a09,_0x5f22f4,_0x29d1aa,_0x49a5e0){return _0xadee61(_0x49a5e0- -0x146,_0x29d1aa,_0x29d1aa-0x11a,_0x49a5e0-_0x410e70._0x1006b3);}if(_0x125238<=0x1e)return'd'+Math[_0x2b72d3(-0xf0,-_0x5bf34c._0x10b705,-_0x5bf34c._0x5bbeb6,-_0x5bf34c._0x46a40e)](0x1,Math[_0x4dd3da(0x2ea,0x176,_0x5bf34c._0x2e6400,_0x5bf34c._0x5bfdf5)](_0x125238));if(_0x125238<=0x16d)return'm'+Math[_0x4dd3da(0x16f,_0x5bf34c._0x11d82e,0x22f,0x2a2)](_0x125238/0x1e);function _0x2b72d3(_0x121780,_0x13aad3,_0x189f01,_0x28c035){return _0x27e2df(_0x121780-_0x2981fa._0x2a477f,_0x121780- -0x109,_0x189f01-_0x2981fa._0x5b4bc9,_0x13aad3);}return'y'+Math['ceil'](_0x125238/0x16d);}async function loadCheerio(){const _0x3ed437={_0x4ba0f2:0x852,_0x1b8c23:0x955},_0x557a6a={_0x4fada4:0xb,_0x18ff32:0x533,_0xb2781a:0x17c};function _0x14ec8a(_0x4406ee,_0x27cd00,_0x4b13a4,_0x450c62){return _0x27e2df(_0x4406ee-_0x557a6a._0x4fada4,_0x450c62-_0x557a6a._0x18ff32,_0x4b13a4-_0x557a6a._0xb2781a,_0x4406ee);}try{const {load:_0x459734}=await import(_0x14ec8a(0x942,_0x3ed437._0x4ba0f2,_0x3ed437._0x1b8c23,0x741));return _0x459734;}catch{return null;}}async function hydrate(_0x589e27,_0x5b0d4f,_0x1383d7){const _0x260012={_0x59b1ad:0xa2,_0xa1f369:0xba,_0x4ee220:0x1fe,_0x3b2273:0x7fa,_0x1480d6:0x667},_0x15089e={_0x57acea:0x43,_0x4d7058:0x1a2,_0x3f6dff:0x2a},_0xd27684={_0x308dc1:0x2fb,_0x599291:0x142},_0x366b2b={_0x1cfab8:0x69e,_0x31480e:0x514,_0x42c939:0x4cc,_0x4c6f5f:0x563,_0x2a717f:0x3b5,_0x12fdf4:0x5a4,_0xb8e891:0x6d4,_0x177fc6:0x619,_0x33f736:0x90f,_0x2c7087:0x924,_0x1a7703:0x6e3,_0xd3bc73:0x7d9,_0x204419:0x696,_0x9fe1d8:0x7e1,_0xed348d:0x8a1,_0x1f503a:0x6b5,_0x4bfcc6:0x4e3,_0x128e60:0x63a,_0x2d8ea9:0x711,_0x12f406:0x87b,_0x535db9:0x774,_0x30c246:0xa5b,_0x2c5b06:0x4c5,_0xa159ef:0x912,_0x37ad08:0x775,_0x1a4785:0x6d2,_0x29000b:0x5a1,_0x28e369:0x4f1,_0x2af853:0x7bd,_0x34b561:0x7bb,_0xf35fe5:0x6ff,_0x20b8bb:0x499,_0x156dda:0x82d,_0x8b5f33:0x668,_0x230683:0x5f5,_0x203da7:0x826,_0x577c61:0x710,_0x29a893:0x633,_0x4461d8:0x469,_0x4dd1f3:0x598,_0x27e8d3:0x8a2,_0x2c88f1:0x70f,_0x3a85aa:0x4dd,_0x460800:0x542,_0x684728:0x878,_0x541f63:0x5a7,_0x377c71:0x6a1,_0x418540:0x6f9},_0x4497ec={_0x1ea527:0xd8,_0x5b5926:0xc6},_0x327c83=_0x589e27['slice'](0x0,0xa),_0x3566e7=await Promise[_0x297a37(_0x260012._0x59b1ad,0xcb,0x194,-0x2)](_0x327c83[_0x297a37(_0x260012._0xa1f369,_0x260012._0x4ee220,-0x2d,0x8c)](async _0x26a5ad=>{const _0x449b3d={_0xfe714e:0xe1,_0x5a6890:0x21};function _0x10473d(_0x35296b,_0x2a593e,_0x1cbe1c,_0x5d3f20){return _0x4073b1(_0x35296b-_0x4497ec._0x1ea527,_0x35296b-0xe4,_0x1cbe1c-_0x4497ec._0x5b5926,_0x5d3f20);}function _0x4f227b(_0x55ec00,_0x6d5c21,_0x40eca1,_0x31afd4){return _0x4073b1(_0x55ec00-0x181,_0x55ec00-_0x449b3d._0xfe714e,_0x40eca1-_0x449b3d._0x5a6890,_0x6d5c21);}try{const _0x25fd1d=await fetchText(_0x26a5ad[_0x4f227b(_0x366b2b._0x1cfab8,0x721,_0x366b2b._0x31480e,0x835)],{'headers':{'User-Agent':UA,'Accept-Language':_0x5b0d4f||'en','Accept':_0x10473d(0x555,_0x366b2b._0x42c939,_0x366b2b._0x4c6f5f,_0x366b2b._0x2a717f)}},_0x1383d7),_0x52903b=await loadCheerio();if(!_0x52903b)return _0x26a5ad;const _0xc4f579=_0x52903b(_0x25fd1d),_0x2e4166=_0xc4f579(_0x4f227b(0x7dc,0x703,_0x366b2b._0x12fdf4,_0x366b2b._0xb8e891))[_0x10473d(_0x366b2b._0x177fc6,0x537,0x6f1,0x4a7)](_0x4f227b(_0x366b2b._0x33f736,0x8e2,_0x366b2b._0x2c7087,0x8d3))||_0xc4f579(_0x4f227b(_0x366b2b._0x1a7703,0x822,_0x366b2b._0xd3bc73,0x696))[_0x4f227b(_0x366b2b._0x204419,_0x366b2b._0x9fe1d8,_0x366b2b._0xed348d,0x7e5)]()[_0x4f227b(0x7d7,0x888,0x6a8,_0x366b2b._0x1f503a)]()[_0x4f227b(_0x366b2b._0x4bfcc6,0x3aa,_0x366b2b._0x128e60,0x706)]()||_0x26a5ad[_0x10473d(0x6e6,0x7be,_0x366b2b._0x2d8ea9,_0x366b2b._0x12f406)],_0x378b79=_0xc4f579('meta[name=\x27description\x27]')[_0x10473d(_0x366b2b._0x177fc6,0x642,0x434,0x43d)](_0x10473d(0x912,0xaa0,_0x366b2b._0x535db9,0x7a8))||_0xc4f579(_0x4f227b(0x8cf,0x921,0xa9c,_0x366b2b._0x30c246))[_0x10473d(0x619,0x729,0x4e9,_0x366b2b._0x2c5b06)](_0x10473d(_0x366b2b._0xa159ef,_0x366b2b._0x37ad08,0xa2b,_0x366b2b._0x1a4785))||_0x26a5ad[_0x4f227b(_0x366b2b._0x29000b,0x6ad,_0x366b2b._0x28e369,0x43b)],_0x558ecb=_0xc4f579(_0x4f227b(0x6bb,0x4cc,_0x366b2b._0x2af853,_0x366b2b._0x34b561))[_0x10473d(_0x366b2b._0x177fc6,_0x366b2b._0xf35fe5,0x5cd,_0x366b2b._0x20b8bb)](_0x10473d(0x912,0x863,0xa76,0x9d5))||_0xc4f579(_0x10473d(_0x366b2b._0x156dda,_0x366b2b._0x8b5f33,_0x366b2b._0x230683,0x9fa))[_0x4f227b(0x616,0x58d,0x758,_0x366b2b._0x203da7)](_0x4f227b(_0x366b2b._0x577c61,_0x366b2b._0x29a893,0x527,0x639))||_0x26a5ad['publishedAt'],_0x35465e=_0xc4f579(_0x10473d(0x5c2,_0x366b2b._0x4461d8,0x4c6,0x5a0))[_0x10473d(_0x366b2b._0x177fc6,_0x366b2b._0x4dd1f3,0x6ef,0x641)]('href');return{..._0x26a5ad,'title':_0x2e4166||_0x26a5ad[_0x4f227b(0x6e3,0x858,_0x366b2b._0x27e8d3,0x690)],'snippet':_0x378b79||_0x26a5ad[_0x4f227b(0x5a1,_0x366b2b._0x2c88f1,_0x366b2b._0x3a85aa,0x3ed)],'url':_0x35465e?normalizeUrl(new URL(_0x35465e,_0x26a5ad[_0x10473d(0x6a1,_0x366b2b._0x460800,_0x366b2b._0x684728,_0x366b2b._0x541f63)])['toString']()):_0x26a5ad[_0x10473d(_0x366b2b._0x377c71,0x5e2,_0x366b2b._0x418540,0x54f)],'publishedAt':_0x558ecb||_0x26a5ad['publishedAt']};}catch{return _0x26a5ad;}}));function _0x4073b1(_0x13b690,_0x3e18f8,_0x22b714,_0x451aac){return _0xadee61(_0x3e18f8-_0xd27684._0x308dc1,_0x451aac,_0x22b714-0x37,_0x451aac-_0xd27684._0x599291);}function _0x297a37(_0x43a842,_0xf29218,_0xe29595,_0x130543){return _0x27e2df(_0x43a842-_0x15089e._0x57acea,_0x130543- -_0x15089e._0x4d7058,_0xe29595-_0x15089e._0x3f6dff,_0x43a842);}const _0xf2e6e6=new Map(_0x3566e7[_0x4073b1(_0x260012._0x3b2273,0x63e,_0x260012._0x1480d6,0x757)](_0x132db0=>[_0x132db0['url'],_0x132db0]));return _0x589e27['map'](_0x19a019=>_0xf2e6e6[_0x4073b1(0x2a7,0x47e,0x55c,0x6ba)](_0x19a019[_0x297a37(0x214,-0x1b8,-0x1d0,0xb)])||_0x19a019);}var GoogleCseProvider=class{[_0x27e2df(0x3f9,0x210,0x26f,0x33b)]=_0x27e2df(0x3ea,0x1aa,-0x8,0xe9);async['search'](_0x2cd888,_0xa61f9c){const _0x2dbf76={_0x53d166:0x52b,_0x2aa516:0x648,_0x3351f6:0x1f8,_0x4878a3:0x398,_0x186609:0x312,_0x4b745e:0x728,_0x183218:0x4a5,_0xc7adb6:0x3bd,_0x5dba1d:0x476,_0x459097:0x94,_0x58d87f:0x4d9,_0x24ab80:0x1d5,_0x15c55d:0x67,_0x495525:0x1fe,_0x488ae7:0x55a,_0x51141c:0x464,_0x51f88d:0x2ad,_0x22335d:0x48c,_0x2fe75c:0x638,_0x38df25:0x3e1,_0x3fd787:0x2eb,_0x228d61:0x3ad,_0x3332d0:0x515,_0x48bb09:0x5a5,_0x309c9e:0x4b2,_0x13179a:0x578,_0x135e73:0x65c,_0x52fa2d:0x6b4,_0xf3ea37:0x2cc,_0x3f7509:0x260,_0x19236c:0x374,_0x5cf515:0x55b,_0x48d4a9:0x30b,_0x3fe1ea:0x371,_0x59efde:0x33a,_0x3b5f68:0x3f5,_0x4b9ca8:0x346,_0x20c941:0x539,_0x35fd91:0x42e,_0x18349c:0x39c,_0x5b9b6e:0x41e,_0x24d0e5:0x514,_0x19dd68:0x37f,_0xbf6b20:0x2bb,_0x10a80d:0x374,_0xc05361:0x516,_0x5c1487:0x4a7,_0x4cb2c9:0x70b,_0x1f3c81:0x5be,_0x169e44:0x517,_0x26cb98:0x42c,_0x4534e3:0x745,_0x479c22:0x3fc,_0xd27c05:0x38b,_0x501208:0x512,_0x2747bf:0x6d2,_0x9f42b7:0x706,_0xd3e2a6:0x541,_0x5b997d:0x4bd,_0x60ad33:0x5f8,_0x87cf74:0x424,_0x50c9f8:0x2a5,_0x357b17:0x326,_0x335e28:0x514,_0x32ddaa:0x42a,_0x5a20ac:0x497,_0x19d325:0x6ff,_0x108fea:0x41e,_0x6ff05c:0x56e,_0x5afa3c:0x34c,_0x19ed9e:0x54e,_0x5a8ffa:0x5af,_0x2729cc:0x771,_0x502ff9:0x5a0,_0x12901f:0x49e,_0x2f59fd:0x747,_0x5d0389:0x574,_0x5802d1:0x41e,_0x3baf30:0x5b4,_0x30dc8a:0x7c3,_0x11268d:0x548,_0x5687f9:0x53b,_0xf0cccd:0x27b,_0x2a8060:0x65b,_0x3ad15a:0x507,_0x2b503d:0x346,_0x12f1af:0x414,_0x372419:0x587,_0x456bed:0x4ae,_0x366daa:0x62c,_0x39c98e:0x50b,_0x3dad78:0x399,_0x29eb5b:0x204,_0x43e0d4:0x417,_0x3fd8ae:0x3b9,_0x491db6:0x281,_0x38a50e:0x35f,_0xa9db03:0x4d3,_0x1fd433:0x567,_0x48a5a8:0x51f,_0x42a2c0:0x763,_0x4c11e2:0x500,_0x401d15:0x37e,_0x28fc4d:0x592,_0x386539:0x3ee,_0x55151c:0x503,_0x5b23e8:0x318,_0x959c1c:0x629,_0x3244bf:0x471,_0x5466ae:0x680,_0x46796f:0x3dd,_0x39487a:0x528,_0x4511ef:0x203,_0x9c96a0:0x372,_0x2d2777:0x465,_0x68a4eb:0x500,_0x1bf5e4:0x511,_0x549758:0x29b,_0x4db653:0x6b7,_0x26f12f:0x3ef,_0x1162d3:0x429,_0x251ccb:0x24d,_0x441deb:0x429,_0x3860b1:0x293,_0x349214:0x1e4,_0x456938:0x3d6},_0x10c09d={_0x309e81:0xce},_0xb4818f={_0x1fd607:0x439},_0x3f11ef={_0x5f1879:0x109};if(_0xa61f9c?.[_0x108d42(0x559,_0x2dbf76._0x53d166,0x710,_0x2dbf76._0x2aa516)])throw new Error(_0x108d42(0x266,_0x2dbf76._0x3351f6,_0x2dbf76._0x4878a3,_0x2dbf76._0x186609));const _0x430688=process['env'][_0x5a9584(_0x2dbf76._0x4b745e,0x537,_0x2dbf76._0x183218,_0x2dbf76._0xc7adb6)],_0x377e60=process[_0x108d42(0x2b1,_0x2dbf76._0x5dba1d,_0x2dbf76._0x459097,_0x2dbf76._0x58d87f)][_0x108d42(0x227,_0x2dbf76._0x24ab80,_0x2dbf76._0x15c55d,_0x2dbf76._0x495525)];if(!_0x430688||!_0x377e60)throw new Error(_0x108d42(_0x2dbf76._0x488ae7,0x6e0,0x465,0x6e9));const _0x882578=Math['max'](0x1,Math[_0x108d42(_0x2dbf76._0x51141c,0x5af,_0x2dbf76._0x51f88d,0x53c)](0x32,_0x2cd888[_0x108d42(0x583,_0x2dbf76._0x22335d,_0x2dbf76._0x2fe75c,0x7b8)]));let _0x1579a6=0x0,_0x1e61ed=(_0x2cd888[_0x5a9584(_0x2dbf76._0x38df25,_0x2dbf76._0x3fd787,_0x2dbf76._0x228d61,0x307)]||0x0)+0x1;const _0x1dac0c=cseDateRestrict(_0x2cd888['recencyDays']);function _0x108d42(_0x348ab5,_0x1cf95f,_0x2328b9,_0x6c5662){return _0x27e2df(_0x348ab5-_0x3f11ef._0x5f1879,_0x348ab5-0x1df,_0x2328b9-0x1f4,_0x2328b9);}const _0xb15cd3=addSiteFilters(_0x2cd888[_0x5a9584(_0x2dbf76._0x3332d0,_0x2dbf76._0x48bb09,_0x2dbf76._0x309c9e,_0x2dbf76._0x13179a)],_0x2cd888[_0x108d42(0x5b4,_0x2dbf76._0x135e73,_0x2dbf76._0x52fa2d,0x3f1)]),_0x183ee0=[];while(_0x1579a6<_0x882578){const _0x1f8bf7=Math['min'](0xa,_0x882578-_0x1579a6),_0x1db3cc=new URL(_0x5a9584(_0x2dbf76._0x4878a3,_0x2dbf76._0xf3ea37,_0x2dbf76._0x3f7509,0x4fa));_0x1db3cc[_0x108d42(_0x2dbf76._0x19236c,0x17b,_0x2dbf76._0x5cf515,0x516)]['set'](_0x108d42(_0x2dbf76._0x48d4a9,_0x2dbf76._0x3fe1ea,_0x2dbf76._0x59efde,_0x2dbf76._0x3b5f68),_0x430688),_0x1db3cc[_0x5a9584(0x2f6,0x41e,_0x2dbf76._0x4b9ca8,_0x2dbf76._0x20c941)][_0x108d42(0x514,0x2d3,_0x2dbf76._0x35fd91,0x662)]('cx',_0x377e60),_0x1db3cc[_0x5a9584(_0x2dbf76._0x18349c,_0x2dbf76._0x5b9b6e,0x24e,0x52f)]['set']('q',_0xb15cd3),_0x1db3cc['searchParams'][_0x108d42(_0x2dbf76._0x24d0e5,_0x2dbf76._0x19dd68,0x44c,0x6f1)](_0x5a9584(_0x2dbf76._0xbf6b20,0x423,0x3d0,0x3a9),String(_0x1f8bf7)),_0x1db3cc[_0x108d42(_0x2dbf76._0x10a80d,_0x2dbf76._0xc05361,0x4ef,_0x2dbf76._0x5c1487)][_0x5a9584(_0x2dbf76._0x4cb2c9,_0x2dbf76._0x1f3c81,0x779,0x786)](_0x5a9584(_0x2dbf76._0x169e44,_0x2dbf76._0x26cb98,0x1fa,_0x2dbf76._0x20c941),String(_0x1e61ed)),_0x1db3cc['searchParams'][_0x108d42(0x514,0x671,0x33f,_0x2dbf76._0x4534e3)](_0x108d42(0x2e1,0x318,0x4c9,0x4a6),_0x2cd888[_0x5a9584(_0x2dbf76._0x479c22,_0x2dbf76._0xd27c05,0x3e4,_0x2dbf76._0x501208)]?_0x108d42(0x594,_0x2dbf76._0x2747bf,_0x2dbf76._0x9f42b7,_0x2dbf76._0xd3e2a6):_0x5a9584(0x697,_0x2dbf76._0x5b997d,0x593,0x351));_0x2cd888[_0x5a9584(0x4cb,_0x2dbf76._0x60ad33,_0x2dbf76._0x87cf74,0x430)]&&(_0x1db3cc[_0x108d42(_0x2dbf76._0x10a80d,0x22a,_0x2dbf76._0x50c9f8,_0x2dbf76._0x357b17)][_0x108d42(_0x2dbf76._0x335e28,_0x2dbf76._0x32ddaa,_0x2dbf76._0x5a20ac,_0x2dbf76._0x19d325)]('hl',_0x2cd888['lang']),_0x1db3cc[_0x5a9584(0x5a8,_0x2dbf76._0x108fea,0x323,_0x2dbf76._0x6ff05c)][_0x108d42(_0x2dbf76._0x24d0e5,0x347,0x3e2,_0x2dbf76._0x5afa3c)]('lr','lang_'+_0x2cd888[_0x108d42(_0x2dbf76._0x19ed9e,_0x2dbf76._0x5a8ffa,0x4c4,_0x2dbf76._0x2729cc)]));if(_0x2cd888[_0x108d42(_0x2dbf76._0x502ff9,0x785,_0x2dbf76._0x12901f,_0x2dbf76._0x2f59fd)])_0x1db3cc[_0x5a9584(_0x2dbf76._0x5d0389,_0x2dbf76._0x5802d1,0x374,_0x2dbf76._0x3baf30)][_0x108d42(0x514,0x6e3,0x517,0x36d)]('gl',_0x2cd888[_0x5a9584(_0x2dbf76._0x30dc8a,0x64a,0x726,_0x2dbf76._0x11268d)]['toUpperCase']());if(_0x2cd888[_0x5a9584(_0x2dbf76._0x5687f9,0x4a0,_0x2dbf76._0xf0cccd,_0x2dbf76._0x2a8060)]===_0x108d42(_0x2dbf76._0x3ad15a,0x3c3,_0x2dbf76._0x2b503d,_0x2dbf76._0x12f1af))_0x1db3cc[_0x5a9584(0x451,_0x2dbf76._0x5b9b6e,_0x2dbf76._0x372419,0x62e)]['set']('searchType',_0x5a9584(_0x2dbf76._0x456bed,0x37e,0x2a5,0x221));if(_0x1dac0c)_0x1db3cc[_0x108d42(0x374,0x40a,0x1dc,0x4ad)][_0x108d42(0x514,_0x2dbf76._0x366daa,_0x2dbf76._0x39c98e,0x341)]('dateRestrict',_0x1dac0c);const _0xe88039=await fetchJSON(_0x1db3cc['toString'](),{'headers':{'User-Agent':UA,'Accept':_0x108d42(0x28c,_0x2dbf76._0x3dad78,0x1e8,_0x2dbf76._0x29eb5b)}},_0xa61f9c),_0x243281=_0xe88039[_0x5a9584(_0x2dbf76._0x43e0d4,_0x2dbf76._0x3fd8ae,_0x2dbf76._0x491db6,0x1aa)]||[];if(!_0x243281[_0x5a9584(_0x2dbf76._0x38a50e,_0x2dbf76._0xa9db03,0x4b3,_0x2dbf76._0x1fd433)])break;const _0x2d349b=_0x1579a6;for(let _0x3c3f1e=0x0;_0x3c3f1e<_0x243281['length'];_0x3c3f1e++){const _0x53a3f9=_0x243281[_0x3c3f1e],_0x4bd912=_0x53a3f9[_0x5a9584(_0x2dbf76._0x48a5a8,0x631,_0x2dbf76._0x42a2c0,_0x2dbf76._0x4c11e2)]||_0x53a3f9[_0x5a9584(0x496,_0x2dbf76._0x401d15,_0x2dbf76._0x28fc4d,0x383)]?.[_0x5a9584(_0x2dbf76._0x386539,_0x2dbf76._0x55151c,_0x2dbf76._0x5b23e8,_0x2dbf76._0x959c1c)]||'',_0x49a8d2=_0x53a3f9['title']||_0x53a3f9['image']?.['title']||'',_0x547b17=_0x53a3f9[_0x5a9584(0x263,0x339,0x12d,0x2c9)]||_0x53a3f9['htmlSnippet']?.[_0x108d42(_0x2dbf76._0x3244bf,_0x2dbf76._0x5466ae,_0x2dbf76._0x46796f,0x292)](/<[^>]+>/g,''),_0x55cd8c=_0x53a3f9[_0x5a9584(_0x2dbf76._0x39487a,0x40b,_0x2dbf76._0x4511ef,_0x2dbf76._0x9c96a0)]||{},_0x567417=_0x55cd8c['metatags']?.[0x0]||{},_0x5b5b14=_0x567417[_0x5a9584(0x29d,_0x2dbf76._0x2d2777,0x5e7,_0x2dbf76._0x68a4eb)]||_0x567417[_0x108d42(0x425,_0x2dbf76._0x1bf5e4,_0x2dbf76._0x549758,0x5e4)]||void 0x0,_0x47837d=((()=>{const _0x4fcb8c={_0x29e2ac:0x1bc};function _0x15f7f4(_0x37701b,_0x53a15d,_0x3fd580,_0xa53328){return _0x5a9584(_0x37701b-_0x4fcb8c._0x29e2ac,_0xa53328- -0x4e,_0x3fd580-0xd0,_0x53a15d);}try{return new URL(_0x4bd912)[_0x15f7f4(0x679,0x62d,_0xb4818f._0x1fd607,0x5e1)];}catch{return void 0x0;}})());_0x183ee0[_0x5a9584(0x6ac,_0x2dbf76._0x4db653,0x759,0x7d5)]({'title':_0x49a8d2,'url':normalizeUrl(_0x4bd912),'snippet':_0x547b17,'displayUrl':_0x47837d,'favicon':void 0x0,'publishedAt':_0x5b5b14,'source':{'engine':this[_0x108d42(_0x2dbf76._0x26f12f,0x215,0x2d6,0x240)],'rank':_0x2d349b+_0x3c3f1e+0x1}});}_0x1579a6+=_0x243281[_0x108d42(_0x2dbf76._0x1162d3,0x642,0x5ab,_0x2dbf76._0x251ccb)],_0x1e61ed+=_0x243281[_0x5a9584(0x2b9,0x4d3,0x5eb,0x64a)];if(_0x243281[_0x108d42(_0x2dbf76._0x441deb,_0x2dbf76._0x3860b1,0x609,0x3c7)]<_0x1f8bf7)break;}function _0x5a9584(_0x353ae7,_0x380762,_0x209b46,_0x562815){return _0xadee61(_0x380762-0x174,_0x562815,_0x209b46-_0x10c09d._0x309e81,_0x562815-0x4d);}return _0x183ee0[_0x108d42(_0x2dbf76._0x349214,_0x2dbf76._0x456938,0x375,0xe3)](0x0,_0x882578);}},WebSearchTool=class{[_0x27e2df(0x2ed,0x210,0xf1,0x1ad)]='web_search';[_0x27e2df(0x234,0xc7,0x247,-0x107)]={'type':'object','properties':{'description':{'type':'string','description':_0x27e2df(0xbf,0x3c,-0x202,0x206)},'query':{'type':'string','description':_0x27e2df(0x40c,0x442,0x3c8,0x2de)},'count':{'type':_0x27e2df(0x22f,0x3ae,0x526,0x5ea),'description':_0xadee61(0x2b0,0x310,0x25c,0x424)},'offset':{'type':_0x27e2df(0x50d,0x3ae,0x233,0x567),'description':'Skip\x20this\x20many\x20results\x20before\x20returning\x20(pagination)'},'domains':{'type':'array','items':{'type':'string'},'description':_0x27e2df(0x236,0x2da,0x98,0x384)},'recencyDays':{'type':_0xadee61(0x4c3,0x510,0x5a8,0x431),'description':'Only\x20return\x20results\x20from\x20the\x20last\x20N\x20days'},'lang':{'type':'string','description':_0x27e2df(0x570,0x3ef,0x4fc,0x519)},'region':{'type':_0xadee61(0x48a,0x5b2,0x603,0x43e),'description':_0x27e2df(0x116,0x6c,0x18a,-0x16a)},'safe':{'type':_0x27e2df(0x247,0x6d,0x173,0x19),'description':_0x27e2df(0x186,0x9d,-0xa8,0xdd)},'type':{'type':_0xadee61(0x48a,0x25b,0x5f5,0x408),'enum':['web','images'],'description':_0x27e2df(0x305,0x154,-0x1c,0x2f0)},'hydrateMeta':{'type':_0xadee61(0x182,0x10b,0x157,0x165),'description':_0xadee61(0x1c6,0x133,0x36a,0x16e)}},'required':[_0x27e2df(0x55b,0x31c,0x498,0x165)]};[_0xadee61(0x4bc,0x50b,0x64e,0x3ec)](){const _0x86bb35={_0x3fe797:0x658,_0x2acf87:0x6ae,_0xfcfc24:0x4a7,_0x321584:0x44a,_0x40dfc1:0x527,_0x43b9d2:0x35e},_0x2e9436={_0x281127:0x182,_0x15534d:0x1ba},_0x1c9842={_0xf9d70:0xbf,_0x416455:0xb6,_0x40073b:0x114};function _0x3cf6f4(_0x200c99,_0x3a06bb,_0x59f4d7,_0x1dad3f){return _0xadee61(_0x59f4d7-_0x1c9842._0xf9d70,_0x3a06bb,_0x59f4d7-_0x1c9842._0x416455,_0x1dad3f-_0x1c9842._0x40073b);}function _0x5820cd(_0x889877,_0x3d93b1,_0x440802,_0x123f6a){return _0xadee61(_0x123f6a-_0x2e9436._0x281127,_0x440802,_0x440802-0x151,_0x123f6a-_0x2e9436._0x15534d);}return{'name':this[_0x5820cd(_0x86bb35._0x3fe797,0x5cd,_0x86bb35._0x2acf87,_0x86bb35._0xfcfc24)],'description':'Google\x20Programmable\x20Search\x20Engine\x20only\x20(no\x20scraping).\x20Requires\x20GOOGLE_CSE_KEY\x20and\x20GOOGLE_CSE_CX.','parameters':this[_0x5820cd(_0x86bb35._0x321584,_0x86bb35._0x40dfc1,0x2ca,_0x86bb35._0x43b9d2)]};}[_0x27e2df(0x437,0x2d0,0x1cd,0x1b8)]=new GoogleCseProvider();async['execute'](_0x35afc5,_0x4ca6b1){const _0x20c921={_0x3ee4f4:0x5c,_0x36e7a0:0x11e,_0x3af26b:0x7e2,_0x10ae2f:0x5ab,_0x51e697:0x79e,_0x5268cf:0x68b,_0x19f2b5:0x54d,_0xc7ef0e:0x16b,_0x3a2ffc:0x20e,_0x42f72b:0x4f,_0x32f258:0x54d,_0x18e900:0x70c,_0x2cd2d5:0x226,_0x40d3fb:0x205,_0x2ca1da:0x250,_0x20a239:0x3b3,_0x4ed89e:0x203,_0x59cbc7:0x8c,_0x57d197:0x69d,_0x3f8b00:0x6a9,_0x32f64a:0x7a8,_0x1b2ec7:0x1d0,_0x378ab9:0x29b,_0x4baabd:0x3cc,_0x174897:0x222,_0x2a98d3:0x1df,_0x40e63e:0x180,_0x1dc7a1:0x78,_0x3c0556:0xa1,_0x3f2725:0x65,_0x3b25fc:0x3f2,_0x31f354:0x143,_0x47d117:0x13d,_0x526fca:0x11d,_0xa6fa05:0x292,_0x3d654a:0x125,_0x15a7cc:0x44a,_0x88851c:0x42a,_0x4a7960:0x3a0,_0x310334:0x10f,_0x2c4bf4:0xf2,_0xf2f14c:0xb7,_0x35a084:0x89,_0x4a384a:0xcd,_0x17cbd9:0x12c,_0x36d827:0x813,_0x28b3d0:0x546,_0x59bd46:0x485,_0x10ee78:0xe0,_0x51e1d6:0x23e,_0x323561:0x244,_0x4b17a0:0x3f7,_0x50acb6:0x22d,_0x520ac7:0x2ad,_0x263d58:0x1f7,_0x3a52fa:0x145,_0x423f9e:0x5d5,_0xd6fde5:0x3cb,_0x25c365:0x47b,_0x58a403:0x43a,_0x477ef5:0x48c,_0x17766c:0x43d,_0x461377:0x5ce,_0x1ca2c8:0x80c,_0x44c659:0x15e,_0x7e0f46:0x2f9,_0x3413c6:0x3c7,_0x109ae6:0x64c,_0x36f8fb:0x5a0,_0x59e4c5:0x6fe,_0x35683d:0x4d9,_0x44280a:0x6d3,_0x501014:0x5a0,_0x39c0e6:0x5cc,_0x44eae8:0x30d,_0x228a93:0x441,_0x1b9049:0x48b,_0x312aa6:0x132,_0x364f60:0x1fe,_0x1866dd:0xa2,_0x190f38:0x39,_0x4931d0:0x608,_0x10edce:0x4c6,_0x6b7f4c:0x9d,_0x717492:0x77,_0x501b90:0x11b,_0x1db771:0x310,_0x3bfb5f:0x100,_0x12b93e:0x7b3,_0x2d8c2d:0x67d,_0x3b2cd6:0x557,_0x3ab5e3:0x76,_0x5f1ba6:0x2b8,_0x2dc673:0x1db,_0x32a86d:0x2e1,_0x4c753d:0x7f,_0x2286ca:0x1f4,_0x461399:0xfb},_0x3b605d={_0x5ad20f:0x34,_0x471589:0x9a,_0x264b82:0x3a,_0x1a041e:0x33e,_0x208a03:0x508,_0x4859f7:0x256,_0x2b1ffb:0x1c,_0x4a7954:0x107,_0x4ff88a:0x192},_0x21af0e={_0x561a3b:0xa8,_0x551ed1:0x1bf,_0x25d030:0xf7},_0x3c757e={_0x599835:0xe4};if(_0x4ca6b1?.[_0x4cf517(0xe0,0x26d,_0x20c921._0x3ee4f4,_0x20c921._0x36e7a0)]?.[_0x1ef180(_0x20c921._0x3af26b,_0x20c921._0x10ae2f,_0x20c921._0x51e697,_0x20c921._0x5268cf)])return err('Search\x20aborted\x20by\x20user',void 0x0,'aborted');const _0x632fbe=typeof _0x35afc5['query']==='string'?_0x35afc5[_0x1ef180(0x729,_0x20c921._0x19f2b5,0x64a,0x39e)]:'';if(!_0x632fbe)return err('Missing\x20required\x20parameter:\x20query',void 0x0,_0x4cf517(0x292,_0x20c921._0xc7ef0e,_0x20c921._0x3a2ffc,_0x20c921._0x42f72b));const _0x198579={'query':String(_0x35afc5[_0x1ef180(0x350,_0x20c921._0x32f258,0x73c,_0x20c921._0x18e900)]??'')[_0x1ef180(_0x20c921._0x2cd2d5,0x223,0x3d0,0x2b4)](),'count':Math['max'](0x1,Math['min'](0x32,Number(_0x35afc5[_0x4cf517(_0x20c921._0x40d3fb,_0x20c921._0x2ca1da,_0x20c921._0x20a239,_0x20c921._0x4ed89e)]??0xa))),'offset':Math[_0x4cf517(-0x186,-0x2d6,-0x109,-0x231)](0x0,Number(_0x35afc5[_0x4cf517(-0x13d,-0xa3,-_0x20c921._0x59cbc7,0x1d)]??0x0)),'domains':_0x35afc5[_0x1ef180(_0x20c921._0x57d197,0x606,_0x20c921._0x3f8b00,_0x20c921._0x32f64a)]||[],'recencyDays':_0x35afc5['recencyDays']??0x0,'lang':_0x35afc5[_0x4cf517(_0x20c921._0x1b2ec7,_0x20c921._0x378ab9,_0x20c921._0x4baabd,0x132)]||'en','region':_0x35afc5[_0x4cf517(_0x20c921._0x174897,0x11f,_0x20c921._0x2a98d3,0x202)]||'','safe':_0x35afc5[_0x1ef180(_0x20c921._0x40e63e,0x333,0x186,0x231)]??!![],'type':_0x35afc5[_0x4cf517(_0x20c921._0x1dc7a1,-_0x20c921._0x3c0556,-0x32,-_0x20c921._0x3f2725)]??_0x4cf517(0x13f,-_0x20c921._0x3ee4f4,0x350,0x151),'hydrateMeta':_0x35afc5[_0x1ef180(_0x20c921._0x3b25fc,0x33a,_0x20c921._0x40d3fb,0x57a)]??![]};function _0x4cf517(_0x1402f3,_0xa4628e,_0x101fdf,_0x544f03){return _0x27e2df(_0x1402f3-0x82,_0x1402f3- -0x19f,_0x101fdf-0x13e,_0x101fdf);}function _0x1ef180(_0x595b9d,_0x54dc13,_0x19b708,_0x294198){return _0x27e2df(_0x595b9d-_0x3c757e._0x599835,_0x54dc13-0x231,_0x19b708-0x7b,_0x595b9d);}if(!_0x198579[_0x4cf517(0x17d,_0x20c921._0x31f354,_0x20c921._0x47d117,_0x20c921._0x526fca)])return err('Missing\x20\x27query\x27',void 0x0,_0x4cf517(_0x20c921._0xa6fa05,0x466,_0x20c921._0x3d654a,_0x20c921._0x15a7cc));if(!process[_0x1ef180(_0x20c921._0x88851c,0x303,0x4b0,_0x20c921._0x4a7960)][_0x4cf517(_0x20c921._0x310334,-_0x20c921._0x2c4bf4,-_0x20c921._0xf2f14c,-_0x20c921._0x35a084)]||!process[_0x4cf517(-_0x20c921._0x4a384a,0xa,-_0x20c921._0x17cbd9,-0x1be)][_0x4cf517(-0x157,-0x155,-0x203,-0x7f)])return err('GOOGLE_CSE_KEY\x20and\x20GOOGLE_CSE_CX\x20are\x20required\x20for\x20this\x20tool\x20(Google\x20CSE\x20only).',void 0x0,_0x1ef180(_0x20c921._0x36d827,0x662,_0x20c921._0x28b3d0,0x6dc));try{let _0x4e38a6=await this[_0x1ef180(0x301,0x501,_0x20c921._0x59bd46,0x365)]['search'](_0x198579,_0x4ca6b1?.[_0x4cf517(_0x20c921._0x10ee78,_0x20c921._0x51e1d6,_0x20c921._0x323561,-0x94)]);_0x198579[_0x1ef180(0x254,0x33a,0x456,_0x20c921._0x4b17a0)]&&_0x4e38a6['length']&&(_0x4e38a6=await hydrate(_0x4e38a6,_0x198579[_0x4cf517(0x1d0,0x223,_0x20c921._0x50acb6,0x2e7)],_0x4ca6b1?.[_0x4cf517(_0x20c921._0x10ee78,_0x20c921._0x520ac7,0x9d,-0x121)]));const _0x3a3fa8=new Set();_0x4e38a6=_0x4e38a6[_0x4cf517(_0x20c921._0x263d58,0xc5,0x1a0,_0x20c921._0x3a52fa)](_0xa2e9ed=>{const _0x21704c={_0x13b3a6:0x45,_0x321b19:0xf5};function _0x255406(_0x232fa1,_0x30c3c8,_0x3b7b39,_0x1c414f){return _0x4cf517(_0x30c3c8- -_0x21af0e._0x561a3b,_0x30c3c8-_0x21af0e._0x551ed1,_0x1c414f,_0x1c414f-_0x21af0e._0x25d030);}const _0x2d4913=_0xa2e9ed[_0x255406(_0x3b605d._0x5ad20f,-_0x3b605d._0x471589,-_0x3b605d._0x264b82,-0x25)][_0x1f0721(_0x3b605d._0x1a041e,0x124,0x39d,_0x3b605d._0x208a03)]();function _0x1f0721(_0x15f95f,_0x10d105,_0x37d7aa,_0x4fef50){return _0x1ef180(_0x4fef50,_0x15f95f- -0x17,_0x37d7aa-_0x21704c._0x13b3a6,_0x4fef50-_0x21704c._0x321b19);}if(!_0x2d4913||_0x3a3fa8[_0x255406(0x244,0x171,_0x3b605d._0x4859f7,0x19b)](_0x2d4913))return![];return _0x3a3fa8[_0x255406(-_0x3b605d._0x2b1ffb,-0x69,-_0x3b605d._0x4a7954,-_0x3b605d._0x4ff88a)](_0x2d4913),!![];})['slice'](0x0,_0x198579[_0x1ef180(0x3da,_0x20c921._0x423f9e,0x78e,_0x20c921._0xd6fde5)]);const _0x4ad0c1={};if(_0x198579['domains'][_0x1ef180(0x25c,_0x20c921._0x25c365,_0x20c921._0x58a403,_0x20c921._0x477ef5)]>0x0)_0x4ad0c1['domains']=_0x198579[_0x1ef180(_0x20c921._0x17766c,0x606,0x3de,0x796)];if(_0x198579[_0x1ef180(0x751,_0x20c921._0x461377,_0x20c921._0x1ca2c8,0x7e7)]>0x0)_0x4ad0c1[_0x4cf517(0x1fe,_0x20c921._0x44c659,0x8a,_0x20c921._0x7e0f46)]=_0x198579[_0x1ef180(0x410,_0x20c921._0x461377,0x3bd,_0x20c921._0x3413c6)];if(_0x198579[_0x1ef180(_0x20c921._0x109ae6,_0x20c921._0x36f8fb,_0x20c921._0x59e4c5,0x6bb)]&&_0x198579[_0x1ef180(_0x20c921._0x35683d,0x5a0,_0x20c921._0x44280a,0x4a7)]!=='en')_0x4ad0c1['lang']=_0x198579[_0x1ef180(0x68f,_0x20c921._0x501014,0x622,_0x20c921._0x39c0e6)];if(_0x198579['region'])_0x4ad0c1['region']=_0x198579['region'];return okJson({'engine':this['provider'][_0x1ef180(_0x20c921._0x44eae8,_0x20c921._0x228a93,_0x20c921._0x1b9049,0x4ae)],'count':_0x4e38a6['length'],'items':_0x4e38a6,'query':_0x198579['query'],'appliedFilters':Object[_0x4cf517(_0x20c921._0x312aa6,_0x20c921._0x364f60,-_0x20c921._0x1866dd,-0x102)](_0x4ad0c1)[_0x4cf517(0xab,0x20a,-_0x20c921._0x190f38,0x72)]>0x0?_0x4ad0c1:void 0x0},{'offset':_0x198579['offset'],'totalRequested':_0x198579[_0x1ef180(0x4cf,0x5d5,_0x20c921._0x4931d0,_0x20c921._0x10edce)],'hydrated':_0x198579[_0x4cf517(-0x96,_0x20c921._0x6b7f4c,-_0x20c921._0x717492,-0x95)]});}catch(_0x44dcbc){const _0x358b0f=_0x44dcbc instanceof Error?_0x44dcbc[_0x4cf517(-_0x20c921._0x501b90,-_0x20c921._0x1db771,-0x31c,_0x20c921._0x3bfb5f)]:String(_0x44dcbc),_0x385e72=_0x358b0f['includes'](_0x1ef180(_0x20c921._0x12b93e,_0x20c921._0x2d8c2d,0x601,_0x20c921._0x3b2cd6));return err(_0x385e72?_0x1ef180(_0x20c921._0x3ab5e3,_0x20c921._0x5f1ba6,0x42e,0x3c9):_0x358b0f[_0x1ef180(0x13d,0x236,0x3cf,0x15e)](0x0,0x1f4),void 0x0,_0x385e72?_0x4cf517(_0x20c921._0x2dc673,_0x20c921._0x32a86d,_0x20c921._0x47d117,0x33d):_0x4cf517(0xb0,-_0x20c921._0x4c753d,_0x20c921._0x2286ca,-_0x20c921._0x461399));}}};import _0x1bd3c0 from'turndown';var WebFetchTool=class{[_0x27e2df(0x1a0,0x210,0x14e,0x66)]='web_fetch';[_0x27e2df(0x214,0xc7,0x3f,0xab)]={'type':_0xadee61(0x2b4,0x289,0xba,0x35c),'properties':{'description':{'type':_0x27e2df(0x2d9,0x375,0x225,0x3a8),'description':_0x27e2df(0x294,0xa8,-0xd6,0x2d4)},'url':{'type':_0xadee61(0x48a,0x466,0x4b2,0x5d3),'description':'Fetch\x20and\x20convert\x20this\x20web\x20page\x20URL\x20to\x20Markdown'}},'required':[_0xadee61(0x2c2,0x1ea,0x2df,0x2de)]};[_0xadee61(0x544,0x3eb,0x60e,0x6cb)];constructor(){const _0x3727f5={_0x586c32:0x4b3,_0xe97975:0x6ad,_0x51d8f4:0x515,_0x12681e:0x5b6,_0x57d9a0:0x124,_0x37d52c:0x8d,_0x2123fc:0x8e,_0xc28034:0x605,_0xc1a895:0x478,_0x5c4c59:0x65c,_0x3d15ce:0x84d,_0x388a04:0xb4,_0x58c1c4:0x49c,_0xc8abe6:0x62f},_0x2f36d0={_0x4ed280:0x7a,_0x4ecb71:0x173},_0x2dde56={_0xaff7e6:0x19e,_0x2916a4:0x175,_0x52d791:0x1a7};function _0x4ef941(_0x135a23,_0x5be38d,_0x437384,_0x18aed6){return _0x27e2df(_0x135a23-_0x2dde56._0xaff7e6,_0x135a23- -_0x2dde56._0x2916a4,_0x437384-_0x2dde56._0x52d791,_0x5be38d);}function _0x305494(_0x118e3b,_0x5e4b1d,_0x25e337,_0x4eee10){return _0xadee61(_0x25e337-0x250,_0x118e3b,_0x25e337-_0x2f36d0._0x4ed280,_0x4eee10-_0x2f36d0._0x4ecb71);}this['turndownService']=new _0x1bd3c0({'headingStyle':_0x305494(_0x3727f5._0x586c32,0x85a,_0x3727f5._0xe97975,0x762),'codeBlockStyle':_0x305494(_0x3727f5._0x51d8f4,0x7f7,0x5dc,_0x3727f5._0x12681e),'bulletListMarker':'-'}),this['turndownService']['remove']([_0x4ef941(_0x3727f5._0x57d9a0,_0x3727f5._0x37d52c,-0xbb,-0xde),_0x4ef941(0x10f,_0x3727f5._0x37d52c,-_0x3727f5._0x2123fc,0x2a5),_0x305494(0x3d6,_0x3727f5._0xc28034,_0x3727f5._0xc1a895,_0x3727f5._0x5c4c59),_0x305494(_0x3727f5._0x3d15ce,0x745,0x690,0x4be),'nav','footer',_0x4ef941(-0xba,-_0x3727f5._0x388a04,-0x294,-0x269),_0x305494(0x655,0x5db,_0x3727f5._0x58c1c4,_0x3727f5._0xc8abe6)]);}['definition'](){const _0x15e5aa={_0x1fe261:0x2be,_0x5b0be2:0x417,_0x49c4dc:0x287},_0x579237={_0xfcdcaf:0xd4,_0x56bafc:0x350,_0x315734:0x63};function _0x3e5669(_0x457cd0,_0x55be1d,_0x272a6f,_0x592d85){return _0x27e2df(_0x457cd0-_0x579237._0xfcdcaf,_0x272a6f-_0x579237._0x56bafc,_0x272a6f-_0x579237._0x315734,_0x592d85);}function _0x1fe1e5(_0x17dffd,_0x2853bf,_0x272cbe,_0x51e096){return _0x27e2df(_0x17dffd-0x12d,_0x51e096-0x4b9,_0x272cbe-0x147,_0x17dffd);}return{'name':this['name'],'description':_0x3e5669(0x34e,_0x15e5aa._0x1fe261,0x48c,0x5b2),'parameters':this[_0x3e5669(0x626,0x1fc,_0x15e5aa._0x5b0be2,_0x15e5aa._0x49c4dc)]};}async[_0x27e2df(0x4a9,0x2fd,0x349,0x3d7)](_0x2ce196,_0x61bb9d){const _0x3a0b81={_0x4167a9:0x373,_0x4c78ed:0x592,_0x4fc926:0x3cb,_0x54df38:0x1a8,_0x356d85:0x300,_0x1ebae3:0x2df,_0x25e798:0x64f,_0x4b0b38:0x7cb,_0x473d3d:0x586,_0x5d5051:0x664,_0x59f8f0:0x313,_0x378eb0:0x35e,_0x49a29e:0x152,_0x4b8492:0xe,_0x6e6c69:0x21,_0x15faff:0x1cd,_0x3a980a:0x17f,_0x166c30:0x28a,_0xfbfc78:0x564,_0x44ebb1:0x4b5,_0x531cd6:0x787,_0x34d5d2:0x3ae,_0x390970:0x34b,_0x1687f5:0x369,_0x4c02e0:0x248,_0x53f2ec:0x1b9,_0x18bce9:0x3ba,_0x311a5a:0x2c,_0x3dc683:0x1db,_0x2f5527:0x35,_0x42e355:0xbc,_0x1b3087:0x1b7,_0x1f6991:0x43,_0x1ddeac:0xf8,_0x48e81a:0x492,_0x6cdb4:0x285,_0x32643f:0x3c8,_0x135ab5:0x49f,_0x5ac1d4:0x689,_0x57c1c8:0x61e,_0x45abcc:0x60a,_0x253bb0:0x526,_0xa2347b:0x2a1,_0x58725a:0x446,_0x319dbb:0x4a3,_0x246570:0x6cb,_0x322eae:0x280,_0x245bc6:0x11d,_0x179754:0xc4,_0xba2169:0x24d,_0x2d04d3:0x2c4,_0x4d0542:0x6f6,_0x1b3f26:0x437,_0x559a49:0x5cf,_0xa0042b:0x477,_0x1f66ce:0x3b3},_0x5ef2e0={_0x290999:0x123},_0x28d45e={_0x426ff6:0x1d5};function _0x199220(_0x304492,_0x58b428,_0x537e6e,_0x596d06){return _0x27e2df(_0x304492-_0x28d45e._0x426ff6,_0x58b428- -0x12d,_0x537e6e-0x186,_0x596d06);}const _0x19b481=String(_0x2ce196[_0x2c8e1e(0x653,0x5d3,_0x3a0b81._0x4167a9,_0x3a0b81._0x4c78ed)]??'');function _0x2c8e1e(_0x302ab3,_0x15787d,_0x16ff2b,_0x36e079){return _0x27e2df(_0x302ab3-0x178,_0x36e079-0x3e5,_0x16ff2b-_0x5ef2e0._0x290999,_0x302ab3);}if(!_0x19b481)return err(_0x199220(_0x3a0b81._0x4fc926,_0x3a0b81._0x54df38,0x148,_0x3a0b81._0x356d85),void 0x0,_0x199220(0x45e,0x304,0x2d2,_0x3a0b81._0x1ebae3));if(_0x61bb9d?.[_0x2c8e1e(_0x3a0b81._0x25e798,_0x3a0b81._0x4b0b38,_0x3a0b81._0x473d3d,_0x3a0b81._0x5d5051)]?.['aborted'])return err('Fetch\x20aborted\x20by\x20user',void 0x0,_0x199220(_0x3a0b81._0x59f8f0,0x24d,0x451,_0x3a0b81._0x378eb0));try{const _0x413cd4=await fetch(_0x19b481,{'headers':{'User-Agent':'Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36'},'signal':_0x61bb9d?.[_0x199220(0x13d,_0x3a0b81._0x49a29e,_0x3a0b81._0x4b8492,0x210)]});if(!_0x413cd4['ok'])return err(_0x199220(0x3e,-_0x3a0b81._0x6e6c69,_0x3a0b81._0x15faff,-0x201)+_0x413cd4[_0x199220(0xd,_0x3a0b81._0x3a980a,_0x3a0b81._0x166c30,0x1d)]+'\x20'+_0x413cd4['statusText'],{'url':_0x19b481},_0x2c8e1e(_0x3a0b81._0xfbfc78,0x609,_0x3a0b81._0x44ebb1,0x6aa));const _0x1d5a19=_0x413cd4[_0x2c8e1e(0x74f,0x70e,_0x3a0b81._0x531cd6,0x5e0)]['get'](_0x199220(_0x3a0b81._0x34d5d2,0x289,_0x3a0b81._0x390970,_0x3a0b81._0x1687f5))||'',_0x73dfef=await _0x413cd4[_0x199220(_0x3a0b81._0x4c02e0,_0x3a0b81._0x53f2ec,_0x3a0b81._0x18bce9,_0x3a0b81._0x311a5a)](),_0x11f695=new Date()[_0x199220(-_0x3a0b81._0x3dc683,-_0x3a0b81._0x2f5527,-_0x3a0b81._0x42e355,_0x3a0b81._0x1b3087)]();let _0xa72125,_0x30cf97;if(_0x1d5a19[_0x199220(_0x3a0b81._0x1f6991,_0x3a0b81._0x1ddeac,0xb5,-0x109)](_0x2c8e1e(0x5fe,0x5b6,0x443,_0x3a0b81._0x48e81a)))_0xa72125=_0x199220(-0x80,0xf5,0x2dc,_0x3a0b81._0x6cdb4)+_0x73dfef+_0x2c8e1e(_0x3a0b81._0x32643f,_0x3a0b81._0x135ab5,0x569,0x463),_0x30cf97='json';else _0x1d5a19[_0x2c8e1e(0x633,_0x3a0b81._0x5ac1d4,_0x3a0b81._0x57c1c8,_0x3a0b81._0x45abcc)](_0x2c8e1e(_0x3a0b81._0x253bb0,_0x3a0b81._0xa2347b,0x57d,_0x3a0b81._0x58725a))?(_0xa72125=this['turndownService']['turndown'](_0x73dfef),_0x30cf97='markdown'):(_0xa72125=_0x73dfef,_0x30cf97=_0x2c8e1e(0x863,0x626,_0x3a0b81._0x319dbb,_0x3a0b81._0x246570));return okText(_0xa72125,{'url':_0x19b481,'contentType':_0x1d5a19,'statusCode':_0x413cd4['status'],'format':_0x30cf97,'size':_0x73dfef[_0x199220(_0x3a0b81._0x322eae,_0x3a0b81._0x245bc6,-0xde,_0x3a0b81._0x179754)],'fetchedAt':_0x11f695});}catch(_0x459433){const _0x15219b=_0x459433 instanceof Error?_0x459433['message']:String(_0x459433),_0x8b2310=_0x15219b['includes'](_0x199220(0x394,_0x3a0b81._0xba2169,0x14b,_0x3a0b81._0x2d04d3))||_0x459433['name']===_0x2c8e1e(_0x3a0b81._0x4d0542,0x6f7,_0x3a0b81._0x1b3f26,_0x3a0b81._0x559a49);return err(_0x8b2310?_0x2c8e1e(0x66c,_0x3a0b81._0xa0042b,_0x3a0b81._0x1f66ce,0x45c):_0x15219b,{'url':_0x19b481},_0x8b2310?'aborted':'network_error');}}};import{promises as _0x24a28e}from'fs';import*as _0x4775e7 from'path';var FileReadTool=class{['name']=_0xadee61(0x506,0x572,0x64c,0x5a8);[_0xadee61(0x139,0x2ca,-0x8e,-0x24)];[_0x27e2df(0x2df,0x108,0xc2,0x15f)];[_0x27e2df(0x554,0x38c,0x16b,0x383)];[_0xadee61(0x4be,0x2e7,0x3e7,0x4aa)];constructor(_0x508308={}){const _0x38daff={_0x1124ef:0x163,_0x2f3785:0x24c,_0x51ae1f:0x240,_0x3da59d:0x155,_0x380444:0xc5,_0xad4d2d:0x1b2,_0x32e425:0x36f,_0x3527e3:0x157,_0x3370fe:0x1f4,_0x2e1532:0x1f,_0x254565:0xcc,_0x6be6ff:0x2eb,_0x3ece4f:0x515,_0x90699c:0x4cb,_0xf5c3fa:0x26e,_0x11d39a:0x158,_0x309d7d:0x86,_0x575179:0x101,_0x2d9f12:0x2a3,_0x137d35:0x42b},_0x5eb4d6={_0x2adeb9:0xe9},_0x136dd5={_0x895ef:0x2a,_0x4a1826:0xa9};this[_0xfbc26a(0x123,0x365,0x38b,_0x38daff._0x1124ef)]=_0x4775e7[_0xfbc26a(0x304,_0x38daff._0x2f3785,0x38c,0x22f)](_0x508308[_0x1005b7(-_0x38daff._0x51ae1f,_0x38daff._0x3da59d,-_0x38daff._0x380444,-0x1ab)]??process[_0xfbc26a(0x5a8,0x14c,_0x38daff._0xad4d2d,_0x38daff._0x32e425)]()),this[_0x1005b7(-_0x38daff._0x3527e3,-_0x38daff._0x3370fe,_0x38daff._0x2e1532,0xac)]=Math[_0xfbc26a(_0x38daff._0x254565,0x345,0x6f,0x158)](0x1,_0x508308['maxBytesDefault']??0x100*0x400);function _0xfbc26a(_0x84f2b7,_0x2327b3,_0x377e38,_0x50c587){return _0xadee61(_0x50c587-_0x136dd5._0x895ef,_0x2327b3,_0x377e38-_0x136dd5._0x4a1826,_0x50c587-0x93);}function _0x1005b7(_0x1ea9a6,_0x3b5688,_0x1fb3dc,_0x1492e7){return _0x27e2df(_0x1ea9a6-0x80,_0x1fb3dc- -_0x5eb4d6._0x2adeb9,_0x1fb3dc-0xa2,_0x1492e7);}this[_0xfbc26a(_0x38daff._0x6be6ff,0x3ee,_0x38daff._0x3ece4f,_0x38daff._0x90699c)]=Math[_0xfbc26a(_0x38daff._0xf5c3fa,0xfd,0x30,_0x38daff._0x11d39a)](this[_0x1005b7(0x6c,-_0x38daff._0x309d7d,0x1f,-_0x38daff._0x575179)],_0x508308[_0x1005b7(0x2d6,0x20c,_0x38daff._0x2d9f12,_0x38daff._0x137d35)]??0x400*0x400),this['allowAbsolute']=!!_0x508308['allowAbsolute'];}[_0x27e2df(-0xfc,0xc7,0x149,-0x125)]={'type':'object','properties':{'description':{'type':'string','description':_0xadee61(0x46d,0x406,0x4fd,0x5e8)},'path':{'type':_0xadee61(0x48a,0x637,0x35b,0x280),'description':_0x27e2df(0x2e8,0x15b,0x6f,-0xe1)},'lineStart':{'type':_0x27e2df(0x33e,0x14c,0xf,0xed),'minimum':0x1,'description':_0xadee61(0x219,0xb6,0x349,0x201)},'lineEnd':{'type':_0x27e2df(0x313,0x14c,-0xee,0x292),'minimum':0x1,'description':'Stop\x20reading\x20at\x20this\x20line\x20number\x20(inclusive)'}},'required':[_0xadee61(0x3d0,0x1da,0x5e6,0x54b)]};[_0x27e2df(0x52b,0x3a7,0x435,0x561)](){const _0x3dde1f={_0x477124:0x4e1,_0x2e4540:0x669,_0x2aa3d3:0x5b,_0x159aa1:0x1f},_0x24f686={_0x136698:0x1c8},_0x191bc1={_0x31e711:0x2e2,_0x1d286b:0x1f4,_0x3ffa83:0x1e4};function _0x3a03fa(_0x2507eb,_0x5ee658,_0x50edd2,_0x3971fa){return _0xadee61(_0x3971fa-_0x191bc1._0x31e711,_0x50edd2,_0x50edd2-_0x191bc1._0x1d286b,_0x3971fa-_0x191bc1._0x3ffa83);}function _0x334aaa(_0x1068d1,_0x3815a2,_0x740758,_0x6a8b8b){return _0x27e2df(_0x1068d1-_0x24f686._0x136698,_0x6a8b8b- -0xe6,_0x740758-0x116,_0x740758);}return{'name':this['name'],'description':_0x3a03fa(0x72a,_0x3dde1f._0x477124,0x59d,_0x3dde1f._0x2e4540),'parameters':this[_0x334aaa(-0x109,-0xff,_0x3dde1f._0x2aa3d3,-_0x3dde1f._0x159aa1)]};}async[_0xadee61(0x412,0x39c,0x228,0x482)](_0x56f534,_0x375015){const _0x31c18d={_0x26acc2:0x871,_0x2c872f:0x72e,_0x4e7f95:0x509,_0x2d82a5:0x52d,_0xb30097:0x6fd,_0x351a1b:0x350,_0x495f93:0x4c8,_0xf02cc8:0x554,_0x3b9101:0x6a3,_0x5b6fd5:0x317,_0x11c57c:0x77f,_0x59acf6:0x61f,_0x2e27aa:0x70a,_0x2b92af:0x664,_0x52dde9:0x4af,_0x4d66f1:0x44f,_0x44758b:0x5dd,_0x3124d7:0x578,_0x57c40d:0x39b,_0x2a7809:0x55f,_0x4d58ba:0x7f0,_0x567891:0x6f8,_0x1abdba:0x764,_0x3e174c:0x672,_0x33ea30:0x5a9,_0x32639c:0x6e4,_0xbbe133:0x5fe,_0x4b0723:0x7f9,_0x292bfa:0x814,_0x422ccd:0x528,_0x520c1e:0x33e,_0x10aeb8:0x4e4,_0x399bc6:0x68c,_0x17e42c:0x76e,_0x740fd8:0x78c,_0x37381c:0x6ab,_0x7f6c89:0xaba,_0x15ec92:0x71e,_0x26abe7:0x66e,_0x2e284c:0x82e,_0x13bb3a:0x79c,_0x343682:0x65d,_0x18b538:0x67d,_0x2fe32c:0x6d7,_0xcd500e:0x6c4,_0x32e181:0x26c,_0x17a7ca:0x473,_0x5626e3:0x594,_0xc4fd92:0x6b9,_0x177687:0x624,_0x25961c:0x5e4,_0x251a1b:0x912,_0x30adc7:0x6df,_0x58469e:0x7f7,_0x29de68:0x727,_0x59867c:0x5ed,_0x25005f:0x779,_0x2d55f6:0x776,_0xdbab6b:0x910,_0x3651c5:0x798,_0x30e9a2:0x658,_0xf865a5:0x694,_0x18de15:0x531,_0x223656:0x5f2,_0x37c49c:0x96e,_0x376016:0x834,_0x52fee0:0xa0f,_0xee6ea5:0xd4,_0x1d33f4:0x399,_0x137de3:0x77b,_0x26f720:0x920},_0x379220={_0x1e7dde:0x272,_0x2a6d16:0x1b5};function _0x4e547f(_0x3829d0,_0x280c99,_0x282454,_0x47cc99){return _0xadee61(_0x280c99-0x417,_0x282454,_0x282454-0x149,_0x47cc99-0x12a);}function _0x3c7abb(_0x368db8,_0x39df82,_0x3faa03,_0x4e01ba){return _0x27e2df(_0x368db8-0x16a,_0x4e01ba-_0x379220._0x1e7dde,_0x3faa03-_0x379220._0x2a6d16,_0x368db8);}try{if(!_0x56f534[_0x4e547f(0x75d,0x7e7,_0x31c18d._0x26acc2,0x8a8)]||typeof _0x56f534[_0x3c7abb(0x4b8,_0x31c18d._0x2c872f,_0x31c18d._0x4e7f95,_0x31c18d._0x2d82a5)]!=='string')return err(_0x3c7abb(_0x31c18d._0xb30097,_0x31c18d._0x351a1b,0x33a,_0x31c18d._0x495f93),void 0x0,_0x3c7abb(0x6e6,_0x31c18d._0xf02cc8,0x70b,_0x31c18d._0x3b9101));const _0x3a9829=this['resolveSafePath'](_0x56f534[_0x3c7abb(0x3ef,0x6a7,_0x31c18d._0x5b6fd5,0x52d)],_0x375015),_0x25a012=await _0x24a28e[_0x4e547f(_0x31c18d._0x11c57c,0x931,0x8ea,0x7fd)](_0x3a9829)[_0x4e547f(0x75a,_0x31c18d._0x59acf6,_0x31c18d._0x2e27aa,0x429)](()=>null);if(!_0x25a012||!_0x25a012[_0x3c7abb(_0x31c18d._0x2b92af,_0x31c18d._0x52dde9,_0x31c18d._0x4d66f1,_0x31c18d._0x44758b)]())return err(_0x4e547f(0x3a6,_0x31c18d._0x3124d7,_0x31c18d._0x57c40d,0x6c4)+_0x56f534[_0x3c7abb(_0x31c18d._0x2a7809,0x67a,0x48f,0x52d)],{'path':_0x56f534['path']},_0x4e547f(0x684,_0x31c18d._0x4d58ba,_0x31c18d._0x567891,0x5d1));if(_0x25a012[_0x3c7abb(0x88a,0x47d,_0x31c18d._0x1abdba,_0x31c18d._0x3e174c)]>this[_0x3c7abb(_0x31c18d._0x33ea30,_0x31c18d._0x32639c,0x55e,_0x31c18d._0xbbe133)])return err(_0x4e547f(_0x31c18d._0x4b0723,0x625,0x65a,0x5fb)+_0x25a012[_0x3c7abb(0x831,0x8ab,0x480,0x672)]+'\x20bytes).\x20Hard\x20cap\x20is\x20'+this[_0x3c7abb(_0x31c18d._0x292bfa,_0x31c18d._0x422ccd,0x79f,_0x31c18d._0xbbe133)]+_0x4e547f(0x5ba,_0x31c18d._0x2d82a5,_0x31c18d._0x520c1e,0x643),{'path':_0x56f534['path']},_0x3c7abb(0x8e2,_0x31c18d._0x10aeb8,_0x31c18d._0x399bc6,0x6a3));const _0x2ce075=await _0x24a28e[_0x3c7abb(_0x31c18d._0x17e42c,_0x31c18d._0x740fd8,0x845,_0x31c18d._0x37381c)](_0x3a9829);let _0x4584ca=_0x2ce075[_0x4e547f(_0x31c18d._0x7f6c89,0x8de,0x6eb,_0x31c18d._0x15ec92)](_0x4e547f(_0x31c18d._0x26abe7,_0x31c18d._0x2e284c,_0x31c18d._0x13bb3a,0x6dc));const _0x267403=_0x4584ca['charCodeAt'](0x0)===0xfeff;_0x4584ca=stripUtfBom(_0x4584ca);const _0x591edf={'path':_0x56f534[_0x3c7abb(_0x31c18d._0x343682,0x743,_0x31c18d._0x18b538,0x52d)],'created':_0x25a012[_0x3c7abb(_0x31c18d._0x2fe32c,0x4f9,0x752,_0x31c18d._0xcd500e)][_0x3c7abb(_0x31c18d._0x32e181,_0x31c18d._0x17a7ca,_0x31c18d._0x5626e3,0x36a)](),'modified':_0x25a012[_0x4e547f(0x561,_0x31c18d._0xc4fd92,0x691,0x5ec)][_0x4e547f(0x722,_0x31c18d._0x177687,_0x31c18d._0x25961c,0x6f8)](),'size':_0x25a012['size'],'encoding':'utf8','bomStripped':_0x267403};if(_0x56f534['lineStart']||_0x56f534[_0x4e547f(0x8ef,_0x31c18d._0x251a1b,_0x31c18d._0x30adc7,_0x31c18d._0x58469e)]){const _0x62b221=_0x4584ca[_0x3c7abb(_0x31c18d._0x29de68,_0x31c18d._0x59867c,0x7b2,0x625)](/\r?\n/),_0x4bce34=_0x62b221[_0x4e547f(_0x31c18d._0x25005f,_0x31c18d._0x2d55f6,0x862,_0x31c18d._0xdbab6b)],_0x6f5e71=clamp(_0x56f534[_0x4e547f(0x4c6,0x6d4,0x698,0x5eb)]??0x1,0x1,_0x4bce34),_0x395905=clamp(_0x56f534[_0x3c7abb(0x67c,0x66c,_0x31c18d._0x3651c5,_0x31c18d._0x30e9a2)]??_0x4bce34,0x1,_0x4bce34),[_0x24f1d9,_0x1b29a1]=_0x6f5e71<=_0x395905?[_0x6f5e71,_0x395905]:[_0x395905,_0x6f5e71],_0x3da2b6=_0x62b221[_0x4e547f(_0x31c18d._0xf865a5,_0x31c18d._0x18de15,_0x31c18d._0x223656,0x4f1)](_0x24f1d9-0x1,_0x1b29a1)['map']((_0x4c906e,_0x2bdea4)=>{const _0x118e5b=_0x24f1d9+_0x2bdea4;return _0x118e5b+'│'+_0x4c906e;}),_0x4cd8a7=_0x3da2b6[_0x4e547f(_0x31c18d._0x37c49c,_0x31c18d._0x376016,0x620,_0x31c18d._0x52fee0)]('\x0a');return okText(_0x4cd8a7,{..._0x591edf,'lineRange':{'lineStart':_0x24f1d9,'lineEnd':_0x1b29a1,'linesTotal':_0x4bce34}});}return okText(_0x4584ca,_0x591edf);}catch(_0x10e38c){const _0x1ffff4=_0x10e38c instanceof Error?_0x10e38c[_0x3c7abb(_0x31c18d._0xee6ea5,0x4a9,_0x31c18d._0x1d33f4,0x2f6)]:String(_0x10e38c);return err(_0x1ffff4,{'path':_0x56f534[_0x3c7abb(0x3cd,0x300,0x4ff,_0x31c18d._0x2d82a5)]},_0x4e547f(0x601,_0x31c18d._0x137de3,0x970,_0x31c18d._0x26f720));}}[_0xadee61(0x16c,0x282,0x16e,0x54)](_0x40c00d,_0x2ed9b1){const _0x5a1245={_0xb72593:0x74a,_0x1c9281:0x55a,_0x2d20d2:0x5b1,_0x5a7d19:0x550,_0x394424:0x55e,_0x2de31b:0x2b2,_0x32cf82:0x33f,_0xacb54a:0x80,_0x278aa1:0x1e6,_0x322251:0xb3,_0x96e5e4:0x61c,_0x5da12c:0x769,_0x341b5e:0x75b,_0x3d0bed:0x8d5,_0x2b6534:0x9cd,_0x2ecf62:0x4fe,_0x2fffb7:0x5f4,_0x2d12af:0x59f,_0x152e83:0x554,_0xfb3aec:0x7cc,_0x420a7c:0xa10,_0x1490b3:0x7e1,_0x296c8a:0x33a,_0x64aeaf:0x29a,_0x53ab80:0x305,_0x5606e6:0x3a4,_0x27ada5:0x258,_0x307cc0:0x45f},_0x26831d={_0x5db048:0xad,_0x247534:0x3e},_0x598e7f={_0x209951:0x39},_0x434a84=_0x2ed9b1?.[_0x4df455(0x350,_0x5a1245._0xb72593,0x52c,_0x5a1245._0x1c9281)]||_0x2ed9b1?.[_0x4df455(_0x5a1245._0x2d20d2,0x3a3,0x3f2,0x5de)]||this[_0x47751e(_0x5a1245._0x5a7d19,_0x5a1245._0x394424,0x4da,0x5d6)],_0x5ed5d7=_0x4775e7[_0x4df455(0x20d,0x3e4,_0x5a1245._0x2de31b,0x4e7)](String(_0x434a84??this[_0x4df455(_0x5a1245._0x32cf82,_0x5a1245._0xacb54a,_0x5a1245._0x278aa1,_0x5a1245._0x322251)]));function _0x47751e(_0x4aec9c,_0x598db9,_0x217c19,_0x37599c){return _0xadee61(_0x4aec9c-0x417,_0x37599c,_0x217c19-_0x598e7f._0x209951,_0x37599c-0x157);}function _0x4df455(_0x15363b,_0x47376a,_0x471c63,_0x5898b7){return _0xadee61(_0x471c63-_0x26831d._0x5db048,_0x5898b7,_0x471c63-0x17f,_0x5898b7-_0x26831d._0x247534);}const _0x198548=_0x4775e7[_0x47751e(_0x5a1245._0x96e5e4,_0x5a1245._0x5da12c,0x443,_0x5a1245._0x341b5e)](_0x5ed5d7,_0x40c00d);if(!this[_0x47751e(_0x5a1245._0x3d0bed,0x99a,_0x5a1245._0x2b6534,0x97d)]&&_0x4775e7[_0x4df455(0x526,_0x5a1245._0x2ecf62,_0x5a1245._0x2fffb7,_0x5a1245._0x2d12af)](_0x40c00d)&&!_0x198548[_0x47751e(0x604,0x6dd,_0x5a1245._0x152e83,0x50f)](_0x5ed5d7))throw new Error(_0x4df455(0x6f9,0x70c,0x619,0x857));if(!this[_0x47751e(0x8d5,_0x5a1245._0xfb3aec,0x99d,0x9ef)]){const _0x490710=_0x4775e7[_0x47751e(0x941,_0x5a1245._0x420a7c,0x83b,_0x5a1245._0x1490b3)](_0x5ed5d7,_0x198548);if(_0x490710[_0x4df455(0x4c3,_0x5a1245._0x296c8a,_0x5a1245._0x64aeaf,0x207)]('..')||_0x4775e7['isAbsolute'](_0x490710))throw new Error(_0x4df455(_0x5a1245._0x53ab80,_0x5a1245._0x5606e6,_0x5a1245._0x27ada5,_0x5a1245._0x307cc0)+_0x40c00d);}return _0x198548;}};function clamp(_0x46a5ff,_0xace27f,_0x499668){return Math['min'](_0x499668,Math['max'](_0xace27f,_0x46a5ff));}function stripUtfBom(_0x4929f2){const _0x3d7cd1={_0x5cd180:0x643,_0x10899e:0x430},_0x464fb5={_0x47dbc3:0x35d,_0x439722:0x1b,_0x55088c:0x36};function _0xa2cdcd(_0x5d1bd0,_0x161030,_0x232141,_0x5707c5){return _0xadee61(_0x232141-_0x464fb5._0x47dbc3,_0x161030,_0x232141-_0x464fb5._0x439722,_0x5707c5-_0x464fb5._0x55088c);}return _0x4929f2[_0xa2cdcd(0x637,0x515,_0x3d7cd1._0x5cd180,_0x3d7cd1._0x10899e)](0x0)===0xfeff?_0x4929f2['slice'](0x1):_0x4929f2;}import{promises as _0x5df045}from'fs';import*as _0x3e1523 from'path';var FileNewTool=class{[_0x27e2df(0x359,0x210,0xe1,-0x21)]=_0xadee61(0x426,0x63f,0x267,0x520);[_0xadee61(0x139,0x49,-0x50,0x65)];constructor(_0xfa5df2={}){const _0x5b5a4d={_0x40960c:0x133,_0x28486b:0x2fd,_0x165cdf:0x3cb,_0x4eeeba:0x4b6,_0x1d5f9e:0x50d,_0x3fad4c:0x31e,_0x170b28:0x442,_0x5969c6:0x50b,_0x4e4616:0x43a},_0x5090b8={_0x1f1944:0x1c6,_0x20f3b5:0x1cd},_0x4ee8e2={_0x382c53:0x87};function _0x80f8af(_0x2b8f14,_0x31571c,_0x176cdd,_0x48adf4){return _0x27e2df(_0x2b8f14-_0x4ee8e2._0x382c53,_0x31571c-0x41e,_0x176cdd-0x138,_0x2b8f14);}function _0x33f04a(_0xecc15f,_0x2ad7e7,_0x52429b,_0xf28288){return _0xadee61(_0xecc15f-_0x5090b8._0x1f1944,_0x52429b,_0x52429b-_0x5090b8._0x20f3b5,_0xf28288-0x8f);}this[_0x33f04a(0x2ff,_0x5b5a4d._0x40960c,_0x5b5a4d._0x28486b,0x302)]=_0x3e1523[_0x33f04a(_0x5b5a4d._0x165cdf,_0x5b5a4d._0x4eeeba,_0x5b5a4d._0x1d5f9e,0x2d0)](_0xfa5df2[_0x80f8af(_0x5b5a4d._0x3fad4c,_0x5b5a4d._0x170b28,0x2b0,0x3b5)]??process[_0x33f04a(_0x5b5a4d._0x5969c6,_0x5b5a4d._0x4e4616,0x72f,0x6c7)]());}[_0xadee61(0x1dc,0x387,0x41b,0x21e)]={'type':'object','properties':{'file_path':{'type':'string','description':_0xadee61(0x49f,0x3f2,0x5a0,0x419)},'content':{'type':_0xadee61(0x48a,0x4fa,0x2cc,0x4fa),'description':_0xadee61(0x144,0x2da,0x2f9,0x239)}},'required':['file_path',_0x27e2df(0x231,0x41e,0x580,0x37f)],'additionalProperties':![]};[_0xadee61(0x4bc,0x522,0x2c3,0x393)](){const _0x3ed901={_0x459a8d:0x1d8,_0x41430b:0x9b,_0x4ce35d:0x1bd},_0x1ea9ca={_0x43e926:0x1ea,_0x171933:0x138};function _0x458037(_0x138d2e,_0x5cbc19,_0x36d5fe,_0x19d72b){return _0x27e2df(_0x138d2e-_0x1ea9ca._0x43e926,_0x36d5fe- -0x162,_0x36d5fe-_0x1ea9ca._0x171933,_0x5cbc19);}return{'name':this['name'],'description':'Create\x20a\x20new\x20file\x20with\x20text\x20content.\x20IMPORTANT:\x20The\x20file_path\x20must\x20be\x20absolute,\x20not\x20relative','parameters':this[_0x458037(0x9e,-_0x3ed901._0x459a8d,-_0x3ed901._0x41430b,-_0x3ed901._0x4ce35d)]};}async[_0xadee61(0x412,0x21e,0x351,0x63a)](_0x956e81,_0x2737a0){const _0x329046={_0x20dd40:0x1bf,_0x2245dd:0x27f,_0x349552:0x121,_0xdcda81:0x2fa,_0x1e2a82:0x50c,_0x3d179a:0x1f7,_0x31d2b1:0x98,_0x4dca1a:0x13d,_0x218dc4:0x16d,_0x5d266a:0x91,_0x380645:0x1e4,_0x4351dd:0x3a,_0x23cd44:0x571,_0x22d15b:0x12e,_0x5c8eea:0x5,_0x3b26ea:0xb7,_0x911484:0x44,_0x2880f0:0x24a,_0x168e60:0x187,_0x4be54c:0x5e,_0x4d32bc:0x76,_0x45a4fe:0x136,_0x3cdf4c:0x479,_0x49b028:0x46,_0x1d99ca:0x68,_0x2f284:0x258,_0x117f37:0xbf,_0xf2c9d8:0xc6,_0x54c1af:0xa4,_0x312900:0xa9,_0x2f53fd:0x28b,_0x4e9adf:0x3a7,_0x1c6962:0xdc,_0x454f42:0x272,_0xe55857:0x150,_0x5f4bad:0x7b,_0x4d43e6:0xaa},_0xce36f4={_0x4860f7:0x1d4},_0x17d236={_0x3c6f72:0x3a,_0x2e8e78:0x7b};function _0x4bb064(_0x14a11f,_0x53009f,_0x464e6d,_0x2a7e0e){return _0x27e2df(_0x14a11f-_0x17d236._0x3c6f72,_0x53009f- -_0x17d236._0x2e8e78,_0x464e6d-0x140,_0x464e6d);}function _0x53637a(_0x2899be,_0x433649,_0x48c3a9,_0x3d3156){return _0x27e2df(_0x2899be-0x180,_0x433649- -_0xce36f4._0x4860f7,_0x48c3a9-0x84,_0x3d3156);}try{if(!_0x956e81[_0x53637a(-0xa8,-0x9a,0xaf,0x1c)]?.[_0x4bb064(0x102,-0x89,0x13d,-0x295)]())return err('Parameter\x20\x22file_path\x22\x20is\x20required.',void 0x0,_0x4bb064(0x5c7,0x3b6,0x288,_0x329046._0x20dd40));if(typeof _0x956e81[_0x4bb064(0x1c9,0x3a3,0x57e,_0x329046._0x2245dd)]!==_0x4bb064(_0x329046._0x349552,_0x329046._0xdcda81,0x24c,_0x329046._0x1e2a82))return err(_0x4bb064(0x280,0x399,0x1da,0x2b0),void 0x0,'invalid_input');const _0xf61cd0=this[_0x4bb064(0x1,-0x24,-0x1b2,-_0x329046._0x3d179a)](_0x956e81[_0x4bb064(-0x17f,0xbf,-_0x329046._0x31d2b1,_0x329046._0x4dca1a)],_0x2737a0),_0x40bb21=await _0x5df045['stat'](_0xf61cd0)['then'](()=>!![])[_0x4bb064(-0x145,0x78,_0x329046._0x218dc4,-_0x329046._0x5d266a)](()=>![]);await _0x5df045[_0x53637a(0x1bb,-0x25,_0x329046._0x380645,-_0x329046._0x4351dd)](_0x3e1523['dirname'](_0xf61cd0),{'recursive':!![]});const _0x548024=Buffer['from'](_0x956e81[_0x4bb064(0x44c,0x3a3,_0x329046._0x23cd44,0x3f6)],_0x53637a(0xf5,_0x329046._0x22d15b,-_0x329046._0x5c8eea,_0x329046._0x3b26ea)),_0x13b6e1=_0x956e81[_0x53637a(_0x329046._0x911484,_0x329046._0x2880f0,_0x329046._0x168e60,0x34)]['split'](/\r?\n/)[_0x53637a(_0x329046._0x4be54c,_0x329046._0x4d32bc,-0xb0,0x101)];return await this[_0x4bb064(_0x329046._0x45a4fe,0x2ae,0x208,_0x329046._0x3cdf4c)](_0xf61cd0,_0x548024),okText(_0x4bb064(_0x329046._0x49b028,_0x329046._0x1d99ca,_0x329046._0x2f284,0x29d)+_0x956e81[_0x4bb064(0xdd,_0x329046._0x117f37,0x11c,0x11c)]+'.',{'file_path':_0x956e81[_0x53637a(_0x329046._0xf2c9d8,-0x9a,_0x329046._0x54c1af,-_0x329046._0x312900)],'bytes':_0x548024[_0x4bb064(_0x329046._0x2f53fd,0x1cf,-0x3b,_0x329046._0x4e9adf)],'lines':_0x13b6e1,'created':new Date()[_0x53637a(-0x29d,-_0x329046._0x1c6962,-_0x329046._0x454f42,-0xfd)](),'overwritten':_0x40bb21});}catch(_0x5eb2d5){const _0x44b010=_0x5eb2d5 instanceof Error?_0x5eb2d5[_0x53637a(0x75,-_0x329046._0xe55857,-0x214,-0xa8)]:String(_0x5eb2d5);return err(_0x44b010,void 0x0,_0x53637a(-_0x329046._0x20dd40,_0x329046._0x5f4bad,-_0x329046._0x4d43e6,-0x196));}}async[_0x27e2df(0x38d,0x329,0x2e8,0x42e)](_0x28768b,_0x12f379){const _0x5efc6a={_0x370a19:0x102,_0x1d1e7b:0x119,_0x2d8079:0xcb,_0x371809:0xd1,_0x2b7a4b:0x150,_0x114704:0x2c0,_0x2f0783:0x141,_0xba3495:0xb1,_0x38cb21:0x2aa,_0x3ca0de:0x1d2,_0xe726f2:0xa5,_0x3a525d:0x3e3,_0x5eab67:0x24b},_0x22e2b8={_0x2193c4:0xb8},_0x556c79={_0x2fcdcd:0x31b,_0x4c922b:0x71};function _0x204ab0(_0x41cb25,_0xedf07b,_0x55528f,_0x4678ed){return _0xadee61(_0x41cb25- -_0x556c79._0x2fcdcd,_0x55528f,_0x55528f-_0x556c79._0x4c922b,_0x4678ed-0x4e);}const _0x505634=_0x3e1523['dirname'](_0x28768b);function _0x4705e5(_0x4b9f5b,_0x5a280c,_0x3f2752,_0x5f20c1){return _0xadee61(_0x5a280c-_0x22e2b8._0x2193c4,_0x5f20c1,_0x3f2752-0x13a,_0x5f20c1-0x115);}const _0x50c3b2=_0x3e1523[_0x204ab0(_0x5efc6a._0x370a19,-0xa8,-_0x5efc6a._0x1d1e7b,_0x5efc6a._0x2d8079)](_0x505634,_0x204ab0(-_0x5efc6a._0x371809,_0x5efc6a._0x2b7a4b,0xc2,-_0x5efc6a._0x114704)+_0x3e1523[_0x204ab0(-0xfc,-0x2f7,_0x5efc6a._0x2f0783,0x121)](_0x28768b)+'.'+Math['random']()[_0x204ab0(0x1ac,_0x5efc6a._0xba3495,_0x5efc6a._0x38cb21,0x17d)](0x24)[_0x4705e5(0xc4,_0x5efc6a._0x3ca0de,_0x5efc6a._0xe726f2,0x3af)](0x2,0x8));await _0x5df045[_0x204ab0(0x249,0x3b6,_0x5efc6a._0x3a525d,_0x5efc6a._0x5eab67)](_0x50c3b2,_0x12f379),await _0x5df045['rename'](_0x50c3b2,_0x28768b);}['resolveSafePath'](_0x1112d0,_0x470a17){const _0x372d6c={_0x2979b0:0xb2,_0x16979a:0xfb,_0x275779:0x447,_0x7a120f:0x293,_0x981b20:0x251,_0x1c2090:0x1ad,_0xd86e60:0x87,_0x2458c0:0x493},_0x14e7f8={_0x2d19b3:0x61,_0x443e70:0xeb},_0x582446={_0x5d6718:0xb2,_0xf31ede:0x2e,_0x4d57d0:0x2f},_0x38ef26=_0x3e1523[_0x445d14(0x25d,_0x372d6c._0x2979b0,0x153,_0x372d6c._0x16979a)](String(_0x470a17?.[_0x4d90cf(0x81a,0x5ba,0x740,0x557)]??_0x470a17?.[_0x445d14(_0x372d6c._0x275779,0x9b,_0x372d6c._0x7a120f,_0x372d6c._0x981b20)]??this[_0x445d14(-0x3,-_0x372d6c._0x1c2090,_0x372d6c._0xd86e60,0xb8)]));function _0x445d14(_0x1e38b4,_0x5a3102,_0x39c3e9,_0xc3a616){return _0xadee61(_0x39c3e9- -_0x582446._0x5d6718,_0xc3a616,_0x39c3e9-_0x582446._0xf31ede,_0xc3a616-_0x582446._0x4d57d0);}function _0x4d90cf(_0x23735c,_0x3a12dc,_0x541737,_0x3c2feb){return _0x27e2df(_0x23735c-_0x14e7f8._0x2d19b3,_0x541737-0x3d6,_0x541737-_0x14e7f8._0x443e70,_0x3c2feb);}const _0x16564e=_0x3e1523[_0x4d90cf(0x301,0x3b3,0x4c6,_0x372d6c._0x2458c0)](_0x38ef26,_0x1112d0);return _0x16564e;}};import{promises as _0x44250d}from'fs';import*as _0x4389cb from'path';import*as _0x5a6d32 from'os';import*as _0x16a0a0 from'crypto';var FileEditTool=class{[_0x27e2df(0x33d,0x210,0x199,0x22e)]=_0x27e2df(0x3c2,0x30d,0x244,0x479);['rootDir'];[_0xadee61(0x209,0x363,0x3fc,0x351)];constructor(_0x16d30d={}){const _0xaa54ae={_0x24b48a:0x21c,_0x51870a:0x17,_0x19c6a0:0x237,_0x4c2783:0x2b1,_0x2e8471:0x121,_0xc702ca:0x17c,_0x3332bc:0x2b,_0xc6889:0x242,_0x30ed97:0x452},_0x5aeb15={_0x14f9dd:0x1c1,_0x182852:0x240};function _0x3bf102(_0x39e7dc,_0x58a392,_0x33ae9c,_0x2a6e36){return _0x27e2df(_0x39e7dc-_0x5aeb15._0x14f9dd,_0x39e7dc- -_0x5aeb15._0x182852,_0x33ae9c-0x3e,_0x33ae9c);}function _0x51c6d6(_0xbc73bc,_0x1e5cdb,_0x5b7da0,_0x5595aa){return _0xadee61(_0xbc73bc- -0x370,_0x5595aa,_0x5b7da0-0x16c,_0x5595aa-0x181);}this[_0x3bf102(-_0xaa54ae._0x24b48a,-0x41d,_0xaa54ae._0x51870a,-0x209)]=_0x4389cb[_0x3bf102(-0x150,-0x34d,-0x121,-0x237)](_0x16d30d[_0x51c6d6(-_0xaa54ae._0x19c6a0,-_0xaa54ae._0x4c2783,-_0xaa54ae._0x2e8471,-_0xaa54ae._0xc702ca)]??process[_0x51c6d6(-_0xaa54ae._0x3332bc,0x9f,0x128,0x13d)]()),this['maxBytes']=Math[_0x51c6d6(-_0xaa54ae._0xc6889,-0x1ee,-0xd4,-_0xaa54ae._0x30ed97)](0x1,_0x16d30d['maxBytes']??0x4*0x400*0x400);}[_0xadee61(0x1dc,0x26f,0xd,0x3cf)]={'type':_0x27e2df(0x356,0x19f,0x2cb,0xc4),'properties':{'description':{'type':_0xadee61(0x48a,0x578,0x267,0x6b0),'description':_0x27e2df(0x41,0x5f,0x290,-0x158)},'file_path':{'type':_0xadee61(0x48a,0x278,0x4c7,0x4c8),'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':_0xadee61(0x48a,0x6b9,0x6bd,0x547),'description':_0x27e2df(0x150,0x7c,-0x144,-0x107)},'new_text':{'type':'string','description':_0xadee61(0x49d,0x6b4,0x612,0x44f)},'dry_run':{'type':_0xadee61(0x182,0x1e8,0x353,0x309),'default':![],'description':_0xadee61(0x15f,-0xc5,-0x97,0x95)}},'required':[_0xadee61(0x24f,0x37d,0x2e8,0x66),_0xadee61(0x17d,0x2d3,-0x25,0x225),'new_text'],'additionalProperties':![],'$schema':_0x27e2df(0x438,0x1f8,0x133,-0x8)};[_0xadee61(0x4bc,0x60c,0x298,0x649)](){const _0x1c416f={_0x49462f:0x22c,_0x4d5d78:0x4a1,_0xda914:0x2b9,_0x5bb5e0:0x47e,_0x536452:0x37b,_0x7ba245:0x50c},_0x19a98f={_0x1a9717:0xbe,_0x3a23d5:0x62,_0x4e1868:0x1a},_0x5a62ae={_0x31976e:0x445};function _0xf78e60(_0x34aa92,_0x837276,_0x43a1d2,_0x12cecd){return _0x27e2df(_0x34aa92-0xaf,_0x34aa92-_0x5a62ae._0x31976e,_0x43a1d2-0xa4,_0x837276);}function _0x38337e(_0x35998d,_0x4a2927,_0x38d113,_0x5114bb){return _0xadee61(_0x38d113-_0x19a98f._0x1a9717,_0x4a2927,_0x38d113-_0x19a98f._0x3a23d5,_0x5114bb-_0x19a98f._0x4e1868);}return{'name':this[_0x38337e(0x4a3,0x515,0x3e3,_0x1c416f._0x49462f)],'description':_0x38337e(_0x1c416f._0x4d5d78,_0x1c416f._0xda914,_0x1c416f._0x5bb5e0,_0x1c416f._0x536452),'parameters':this[_0xf78e60(_0x1c416f._0x7ba245,0x664,0x44e,0x689)]};}async[_0xadee61(0x412,0x488,0x2fb,0x30e)](_0x2b55de,_0x4a269d){const _0x4d5a0e={_0x472ab0:0x331,_0x153d78:0x3be,_0x50e0bf:0x1f5,_0x286e82:0x13f,_0x209660:0x193,_0x5d1b69:0x6a,_0x4ab3b3:0x108,_0x3943ae:0x1ad,_0x45c93a:0x38a,_0x5a8588:0x218,_0x48aeaf:0x25e,_0x43ca1c:0xa0,_0x5cf3e9:0xef,_0x17997a:0xf8,_0x171758:0x3a3,_0xf1999c:0x160,_0x6d97c0:0xbb,_0x135004:0x1d1,_0x366723:0xeb,_0x2204e6:0x45,_0x534bf5:0x100,_0x32381d:0x286,_0x54fa21:0x1f0,_0x55d036:0x116,_0x160964:0x147,_0x322df0:0x70,_0x285643:0x156,_0xb8ac42:0xfb,_0x2ae3d5:0x8,_0x158cf5:0x231,_0x2c2802:0xf2,_0x5e3871:0x163,_0x1eef82:0x219,_0x5862c6:0x2fe,_0x136b53:0xf3,_0xc39a34:0x6b,_0xd56405:0x11c,_0x378ae7:0x17d,_0x3e99de:0x121,_0x3befd5:0x1c6,_0x48b8f0:0x1eb,_0x5a66f5:0xdb,_0x5d3d5d:0x189,_0x5ef853:0x209,_0x4fd66c:0x64,_0x5dc55b:0x3e,_0x59752d:0x472,_0x436465:0x45a,_0xafe41:0x31,_0x234698:0x314,_0xc9e688:0xbd,_0xb0debf:0x359,_0x410f4a:0x187,_0x27bca2:0xee,_0x58ba59:0xb7,_0x2d23af:0x3c,_0x45586d:0x35,_0x25abab:0x119,_0x14ba5d:0x4e,_0x45e310:0xaf,_0x2ac0dd:0x132,_0x5156fd:0x2ba,_0x4b49e1:0x210,_0x1b9660:0x204,_0x568089:0x322,_0x35c0c7:0x35,_0x5148d5:0x264,_0x311fd4:0xf5,_0x3136c9:0x106,_0x398546:0x63,_0x5bdb4c:0xec,_0x476325:0x45,_0xf1d172:0x2b7,_0x40b347:0x21c,_0x5ac4be:0xe1,_0x44e700:0x24e,_0x57387e:0xd9,_0x10f55c:0x19c,_0x282074:0x1b6,_0x567aa3:0x1ee,_0x491997:0x73,_0x56a25e:0x59,_0x4dc4e6:0x173,_0x163262:0x142,_0x108d3d:0x301,_0x2b86ce:0x19,_0x54a8ce:0x198,_0x18bf6a:0x11d,_0x1ba9a3:0x2cb,_0x27cae6:0xdb,_0x1d30d6:0x130,_0x2e6b03:0xb3,_0x45727c:0x16a,_0x2916fe:0x259,_0x3a0958:0xbc,_0x5a0ff9:0xa9,_0x14e768:0x331,_0x16ff21:0x17,_0x2309ad:0x68},_0x4fc6ce={_0x38b40e:0x9f,_0x15f3be:0x9},_0x1611f2={_0x792eb7:0x1ba,_0x4797af:0x27};function _0x30e03f(_0x4a5d96,_0x1b9f6d,_0x2584e2,_0x492340){return _0xadee61(_0x4a5d96- -0x32a,_0x2584e2,_0x2584e2-_0x1611f2._0x792eb7,_0x492340-_0x1611f2._0x4797af);}function _0x4d1498(_0x38f448,_0xb75ef9,_0x1b44ce,_0x54cea5){return _0xadee61(_0x1b44ce- -0x2fc,_0x54cea5,_0x1b44ce-_0x4fc6ce._0x38b40e,_0x54cea5-_0x4fc6ce._0x15f3be);}try{if(!_0x2b55de['file_path']?.[_0x4d1498(-_0x4d5a0e._0x472ab0,-_0x4d5a0e._0x153d78,-_0x4d5a0e._0x50e0bf,-_0x4d5a0e._0x286e82)]())return err(_0x4d1498(0x9a,_0x4d5a0e._0x209660,-_0x4d5a0e._0x5d1b69,-0x38),void 0x0,'invalid_input');const _0x4f6637=resolveAbsoluteWithinRoot(_0x2b55de[_0x30e03f(-0xdb,_0x4d5a0e._0x4ab3b3,-0x24c,-0x25f)],_0x4a269d,this['rootDir']);if(typeof _0x2b55de[_0x30e03f(-_0x4d5a0e._0x3943ae,-_0x4d5a0e._0x45c93a,-0x21f,0x45)]!==_0x4d1498(0x346,0xdd,0x18e,_0x4d5a0e._0x5a8588))return err(_0x4d1498(0x11d,_0x4d5a0e._0x48aeaf,_0x4d5a0e._0x43ca1c,-_0x4d5a0e._0x5cf3e9),void 0x0,_0x4d1498(_0x4d5a0e._0x17997a,_0x4d5a0e._0x171758,0x24a,0x3d5));if(typeof _0x2b55de['new_text']!==_0x30e03f(_0x4d5a0e._0xf1999c,_0x4d5a0e._0x6d97c0,0x203,_0x4d5a0e._0x135004))return err(_0x4d1498(0x26d,-0xa9,_0x4d5a0e._0x366723,_0x4d5a0e._0x2204e6),void 0x0,_0x30e03f(0x21c,0x86,_0x4d5a0e._0x534bf5,_0x4d5a0e._0x32381d));const _0xf86503=await _0x44250d[_0x30e03f(_0x4d5a0e._0x54fa21,0x28e,_0x4d5a0e._0x55d036,0x32f)](_0x4f6637)[_0x30e03f(-0x122,-0x2f0,-_0x4d5a0e._0x160964,_0x4d5a0e._0x322df0)](()=>null),_0x4b70c0=!!_0xf86503&&_0xf86503[_0x30e03f(_0x4d5a0e._0x285643,0x2b3,_0x4d5a0e._0xb8ac42,-_0x4d5a0e._0x2ae3d5)]();if(!_0x4b70c0||!_0xf86503)return err('File\x20does\x20not\x20exist.\x20Use\x20a\x20file\x20creation\x20tool\x20to\x20create\x20new\x20files.',void 0x0,_0x30e03f(0xaf,_0x4d5a0e._0x158cf5,_0x4d5a0e._0x2c2802,_0x4d5a0e._0x5e3871));if(_0xf86503[_0x4d1498(0x24d,0x281,_0x4d5a0e._0x1eef82,0x442)]>this[_0x4d1498(-_0x4d5a0e._0x5862c6,0x12b,-_0x4d5a0e._0x136b53,_0x4d5a0e._0xc39a34)])return err(_0x30e03f(-_0x4d5a0e._0xd56405,-_0x4d5a0e._0x378ae7,_0x4d5a0e._0x3e99de,-_0x4d5a0e._0x3befd5)+_0xf86503[_0x30e03f(_0x4d5a0e._0x48b8f0,_0x4d5a0e._0x5a66f5,_0x4d5a0e._0x5d3d5d,0x23a)]+_0x4d1498(-_0x4d5a0e._0x5ef853,_0x4d5a0e._0x4fd66c,-_0x4d5a0e._0x5dc55b,0x19e)+this['maxBytes']+'.',void 0x0,_0x4d1498(_0x4d5a0e._0x59752d,_0x4d5a0e._0x436465,0x24a,0x1e0));const _0x3b73e3=await _0x44250d[_0x4d1498(_0x4d5a0e._0xafe41,_0x4d5a0e._0x234698,0x252,0x2f)](_0x4f6637),_0x5f2078=detectEol(_0x3b73e3)??'lf',_0x1804ca=_0x3b73e3[_0x4d1498(0xda,0x27e,0x1cb,_0x4d5a0e._0xc9e688)]('utf8'),_0x30379c=normalizeToLF(_0x1804ca),_0x2cfb6f=normalizeToLF(_0x2b55de[_0x30e03f(-_0x4d5a0e._0x3943ae,-_0x4d5a0e._0x50e0bf,-_0x4d5a0e._0xb0debf,-0x8a)]),_0x5e5dc=normalizeToLF(_0x2b55de[_0x30e03f(_0x4d5a0e._0x410f4a,0x38e,0x1e,0x53)]),_0x588fcb=_0x30379c[_0x30e03f(-_0x4d5a0e._0x27bca2,0xd4,0xbb,-_0x4d5a0e._0x58ba59)](_0x2cfb6f);if(_0x588fcb===-0x1){const _0x5a4a95=_0x2cfb6f['slice'](0x0,0x64)[_0x30e03f(0x7d,0x1,-_0x4d5a0e._0x2d23af,0xf2)](/\n/g,'\x5cn');return err('old_text\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x0aSearching\x20for:\x20\x22'+_0x5a4a95+(_0x2cfb6f[_0x30e03f(_0x4d5a0e._0x45586d,-0xd3,-_0x4d5a0e._0x25abab,_0x4d5a0e._0x14ba5d)]>0x64?_0x30e03f(0xac,0x7c,0x2ad,0x1be):'')+'\x22',void 0x0,_0x30e03f(_0x4d5a0e._0x45e310,_0x4d5a0e._0x2ac0dd,_0x4d5a0e._0x5156fd,-0xd5));}const _0x1169eb=_0x30379c[_0x30e03f(-_0x4d5a0e._0x4b49e1,-_0x4d5a0e._0x1b9660,-0x1ad,-0x28b)](0x0,_0x588fcb)+_0x5e5dc+_0x30379c[_0x4d1498(-_0x4d5a0e._0x568089,-0x2be,-0x1e2,-0x2c0)](_0x588fcb+_0x2cfb6f[_0x30e03f(_0x4d5a0e._0x35c0c7,0x193,_0x4d5a0e._0x5148d5,0x60)]),_0x25a18f=convertEol(_0x1169eb,_0x5f2078),_0x1e39dc=Buffer[_0x30e03f(-0x73,_0x4d5a0e._0x311fd4,_0x4d5a0e._0x3136c9,-0x19c)](_0x25a18f,'utf8');if(_0x1e39dc[_0x4d1498(0x153,0x269,_0x4d5a0e._0x398546,_0x4d5a0e._0x5bdb4c)]>this['maxBytes'])return err('Resulting\x20file\x20too\x20large\x20('+_0x1e39dc[_0x4d1498(-0xf4,0x1ae,0x63,0x16e)]+_0x4d1498(-_0x4d5a0e._0x476325,-0x14,-0x3e,-0x1e2)+this[_0x30e03f(-0x121,-_0x4d5a0e._0xf1d172,-0x105,-0x28d)]+'.',void 0x0,_0x30e03f(_0x4d5a0e._0x40b347,_0x4d5a0e._0x5ac4be,_0x4d5a0e._0x44e700,_0x4d5a0e._0x57387e));const _0x5c9927=sha256(_0x3b73e3),_0x1f56e2=sha256(_0x1e39dc),_0xe21e7b=_0x5c9927===_0x1f56e2;!_0x2b55de[_0x30e03f(-_0x4d5a0e._0x10f55c,-_0x4d5a0e._0x282074,-0x375,-0x245)]&&!_0xe21e7b&&await atomicWrite(_0x4f6637,_0x1e39dc);const _0xfae12d=this['calculateLineNumbers'](_0x30379c,_0x2cfb6f,_0x5e5dc,_0x588fcb);return okText(_0xe21e7b?'No\x20changes\x20(content\x20identical).':_0x2b55de['dry_run']?_0x4d1498(_0x4d5a0e._0x567aa3,-_0x4d5a0e._0x491997,_0x4d5a0e._0x56a25e,-_0x4d5a0e._0x4dc4e6):'Edit\x20applied\x20successfully.',{'path':showPath(_0x4f6637,this['rootDir']),'created':_0xf86503[_0x30e03f(0x23d,0x9e,_0x4d5a0e._0x163262,_0x4d5a0e._0x108d3d)][_0x4d1498(-_0x4d5a0e._0x2b86ce,-_0x4d5a0e._0x54a8ce,-0xef,-0x1eb)](),'modified':_0xf86503['mtime'][_0x30e03f(-_0x4d5a0e._0x18bf6a,-_0x4d5a0e._0x1ba9a3,0x11c,_0x4d5a0e._0x27cae6)](),'size':_0xf86503[_0x4d1498(0xc5,_0x4d5a0e._0x1d30d6,0x219,_0x4d5a0e._0x2e6b03)],'eol':_0x5f2078,'oldTextLength':_0x2cfb6f[_0x4d1498(0xd8,-_0x4d5a0e._0x45727c,0x63,_0x4d5a0e._0x2916fe)],'newTextLength':_0x5e5dc[_0x30e03f(_0x4d5a0e._0x35c0c7,_0x4d5a0e._0x3a0958,-_0x4d5a0e._0x5a0ff9,0x200)],'bytesWritten':_0xe21e7b?0x0:_0x1e39dc['length'],'beforeSha':_0x5c9927,'afterSha':_0x1f56e2,'dryRun':!!_0x2b55de[_0x4d1498(-_0x4d5a0e._0x14e768,-_0x4d5a0e._0x57387e,-0x16e,-0x137)],'lineNumbers':_0xfae12d,'noChange':_0xe21e7b});}catch(_0x1c7f97){return err(_0x1c7f97 instanceof Error?_0x1c7f97['message']:String(_0x1c7f97),void 0x0,_0x4d1498(0xca,_0x4d5a0e._0x16ff21,_0x4d5a0e._0x2309ad,0x225));}}[_0x27e2df(0x20a,0x31a,0x54b,0x25f)](_0xf8ac13,_0x3cef24,_0xe7fb9e,_0x3808a2){const _0x4e194d={_0x24434e:0x54e,_0x1b31da:0x348,_0x3ea786:0x3a0,_0x315867:0x182,_0x3750d8:0x79f,_0xac55da:0x752,_0xc0909b:0x467,_0x238e8b:0x65c,_0x2556ae:0x6a8,_0xa6d3e4:0x614,_0x561dc7:0x51,_0x4adf32:0x66f,_0x40ce96:0x719,_0x19adae:0xd8,_0x19d81b:0x1e8,_0x5b2fcc:0x292,_0x333b82:0x56e,_0x2eac9c:0x504,_0x27006b:0x62b,_0x4d5d54:0x768,_0x1add54:0x77d,_0xc716e3:0x90,_0x357cc4:0x232,_0x1a206d:0x8a,_0x3b5adf:0x88},_0x450a94={_0x59d480:0x2b5,_0x1413c8:0xaa},_0x229cbf={_0x4eafb9:0x77,_0x1d470f:0x1a3},_0x1380aa=_0xf8ac13[_0x5b9137(_0x4e194d._0x24434e,0x4bd,_0x4e194d._0x1b31da,0x3cf)](0x0,_0x3808a2),_0x150a3c=_0x1380aa[_0x4d01b1(0x1f9,0x21e,0xf9,_0x4e194d._0x3ea786)]('\x0a')[_0x4d01b1(0x90,-0x187,_0x4e194d._0x315867,-0x3b)],_0x2aabee=_0x3cef24[_0x5b9137(_0x4e194d._0x3750d8,_0x4e194d._0xac55da,_0x4e194d._0xc0909b,_0x4e194d._0x238e8b)](/\n$/,''),_0x384ff5=_0x2aabee[_0x5b9137(_0x4e194d._0x2556ae,0x3d4,0x674,_0x4e194d._0xa6d3e4)]===0x0?0x0:_0x2aabee[_0x4d01b1(0x1f9,_0x4e194d._0x561dc7,0x1d6,0x2b7)]('\x0a')[_0x5b9137(_0x4e194d._0x4adf32,0x7cb,_0x4e194d._0x40ce96,0x614)],_0x25bba5=_0x150a3c+_0x384ff5-0x1,_0x413568=_0xe7fb9e[_0x4d01b1(_0x4e194d._0x19adae,_0x4e194d._0x19d81b,0x208,_0x4e194d._0x5b2fcc)](/\n$/,''),_0x4fcfc1=_0x413568[_0x5b9137(0x4e4,_0x4e194d._0x333b82,_0x4e194d._0x2eac9c,_0x4e194d._0xa6d3e4)]===0x0?0x0:_0x413568[_0x5b9137(_0x4e194d._0x27006b,_0x4e194d._0x4d5d54,0x7b6,_0x4e194d._0x1add54)]('\x0a')[_0x4d01b1(_0x4e194d._0xc716e3,_0x4e194d._0x357cc4,_0x4e194d._0x1a206d,_0x4e194d._0x3b5adf)],_0x16dffe=_0x150a3c;function _0x4d01b1(_0x3ee8e0,_0x4f6d73,_0x5e7006,_0x2ddd4f){return _0xadee61(_0x3ee8e0- -0x2cf,_0x5e7006,_0x5e7006-_0x229cbf._0x4eafb9,_0x2ddd4f-_0x229cbf._0x1d470f);}function _0x5b9137(_0x497a19,_0x83d41e,_0x32b0db,_0x388647){return _0xadee61(_0x388647-_0x450a94._0x59d480,_0x32b0db,_0x32b0db-0x1df,_0x388647-_0x450a94._0x1413c8);}const _0x4caa35=_0x16dffe+_0x4fcfc1-0x1;return{'oldStartLine':_0x150a3c,'oldEndLine':_0x25bba5,'newStartLine':_0x16dffe,'newEndLine':_0x4caa35,'oldLineCount':_0x384ff5,'newLineCount':_0x4fcfc1};}};function resolveAbsoluteWithinRoot(_0x2150ef,_0xcb9a7f,_0x16e45b){const _0x5299cd={_0xcc0b2:0x1ed,_0x38297e:0x3c,_0x2adf78:0xa21,_0x2fec56:0x75c,_0x5f0c75:0x830,_0x41ee5a:0x6da,_0x4a30c1:0x248,_0x26f841:0x107,_0x1fb6fa:0xbb,_0x433cea:0x973,_0x500107:0x783,_0x2872ca:0xe8,_0x48752d:0x483,_0x9c1812:0x4ae,_0x3e15b9:0x361,_0x4cf9ef:0x34a,_0x54fd3d:0x582,_0xd2a718:0x894,_0x85fbdb:0x7ae,_0xa3dbd1:0x8dc,_0x4d4097:0x277,_0x2d340b:0xd2},_0x56a6e5={_0x4c899d:0x102,_0xf2eed5:0x95},_0x168bd9={_0x52647a:0x45};function _0x1169bb(_0x528565,_0x11e856,_0x1b903c,_0x373bb6){return _0xadee61(_0x373bb6-0x395,_0x11e856,_0x1b903c-_0x168bd9._0x52647a,_0x373bb6-0x1ae);}const _0x1c2d93=_0x4389cb[_0x135649(-0x1ad,0xa3,_0x5299cd._0xcc0b2,_0x5299cd._0x38297e)](_0xcb9a7f?.[_0x1169bb(0x959,0x85b,_0x5299cd._0x2adf78,0x814)]??_0xcb9a7f?.[_0x1169bb(_0x5299cd._0x2fec56,_0x5299cd._0x5f0c75,0x629,_0x5299cd._0x41ee5a)]??_0x16e45b??process['cwd']()),_0xfb2410=expandTilde(_0x2150ef[_0x135649(-_0x5299cd._0x4a30c1,_0x5299cd._0x26f841,_0x5299cd._0x1fb6fa,-0xc2)]()),_0x1378fe=_0x4389cb[_0x1169bb(_0x5299cd._0x433cea,0xa94,0x9c5,0x8dc)](_0xfb2410)?_0xfb2410:_0x4389cb['resolve'](_0x1c2d93,_0xfb2410),_0x3cd491=_0x4389cb[_0x1169bb(0x888,0x6fc,0x7f0,_0x5299cd._0x500107)](_0x1378fe),_0x3a8c99=_0x4389cb[_0x135649(0x46,_0x5299cd._0x2872ca,0x1d5,_0x5299cd._0x38297e)](_0x1c2d93),_0x3dea9d=_0x4389cb[_0x135649(_0x5299cd._0x48752d,_0x5299cd._0x9c1812,0x223,_0x5299cd._0x3e15b9)](_0x3a8c99,_0x3cd491);if(_0x3dea9d[_0x1169bb(0x522,0x41d,_0x5299cd._0x4cf9ef,_0x5299cd._0x54fd3d)]('..')||_0x4389cb[_0x1169bb(_0x5299cd._0xd2a718,0x9f3,_0x5299cd._0x85fbdb,_0x5299cd._0xa3dbd1)](_0x3dea9d))throw new Error(_0x135649(_0x5299cd._0x4d4097,0x18,0x21,_0x5299cd._0x2d340b)+_0x2150ef);function _0x135649(_0x5aaa4e,_0x3d4e0a,_0xc399ce,_0xa37007){return _0xadee61(_0xa37007- -0x1c9,_0x5aaa4e,_0xc399ce-_0x56a6e5._0x4c899d,_0xa37007-_0x56a6e5._0xf2eed5);}return _0x3cd491;}function expandTilde(_0x36de6b){const _0x59755f={_0x1ac45c:0x19f,_0x2c4057:0x1e8,_0xb4156f:0x1f8,_0x38737a:0x73,_0x38f41a:0x1e7,_0xb8b277:0x2b8},_0xeb250e={_0x2ef4dc:0x152,_0x518020:0x5c},_0x4e8352={_0x5c1f9b:0x155,_0x314b32:0x1e0};function _0x47df16(_0x3da5de,_0x35c5c7,_0x40b66b,_0x5329a2){return _0x27e2df(_0x3da5de-_0x4e8352._0x5c1f9b,_0x5329a2- -0x65,_0x40b66b-_0x4e8352._0x314b32,_0x35c5c7);}if(_0x36de6b==='~')return _0x5a6d32[_0x18b77d(0x2e,_0x59755f._0x1ac45c,-_0x59755f._0x2c4057,-0x205)]();if(_0x36de6b[_0x47df16(_0x59755f._0xb4156f,0x46,0x1c9,_0x59755f._0x38737a)]('~/')||_0x36de6b[_0x18b77d(0x81,0x37,_0x59755f._0x38f41a,_0x59755f._0xb8b277)]('~\x5c'))return _0x4389cb['join'](_0x5a6d32['homedir'](),_0x36de6b['slice'](0x2));function _0x18b77d(_0x388834,_0x383542,_0x3de7d1,_0x100db8){return _0x27e2df(_0x388834-_0xeb250e._0x2ef4dc,_0x388834- -0x57,_0x3de7d1-_0xeb250e._0x518020,_0x100db8);}return _0x36de6b;}function showPath(_0x450006,_0x1841eb){const _0x2295c0={_0x1fe435:0x639,_0x34d03a:0x44b},_0x4b13c8={_0x27e629:0x10f},_0x2193e8=_0x4389cb[_0x34e792(0x704,_0x2295c0._0x1fe435,_0x2295c0._0x34d03a,0x5b9)](_0x1841eb,_0x450006);function _0x34e792(_0x14c90,_0x13b09f,_0x11dda7,_0x1ae48e){return _0xadee61(_0x13b09f-_0x4b13c8._0x27e629,_0x1ae48e,_0x11dda7-0xa1,_0x1ae48e-0x6);}return _0x2193e8&&!_0x2193e8['startsWith']('..')?_0x2193e8:_0x450006;}function detectEol(_0x2d82ae){const _0x2f0f95={_0x3bfc24:0x4c6,_0x2dd1ea:0x533,_0x273ed5:0x409,_0x35e205:0x490,_0xd88832:0x633,_0x42c5ef:0x690,_0x359618:0x483,_0x38282a:0x2a3,_0x273f70:0x4c2,_0x2ae11b:0x751,_0x344a91:0x540},_0x43bb1f={_0x2285a6:0xd},_0x34ed42={_0x1c3a30:0x173},_0x1a8653=_0x2d82ae['toString'](_0x3fcc47(_0x2f0f95._0x3bfc24,_0x2f0f95._0x2dd1ea,_0x2f0f95._0x273ed5,0x2c4));if(/\r\n/[_0x39b2b0(_0x2f0f95._0x35e205,0x629,_0x2f0f95._0xd88832,0x540)](_0x1a8653))return _0x3fcc47(_0x2f0f95._0x42c5ef,0x4ca,_0x2f0f95._0x359618,_0x2f0f95._0x38282a);function _0x3fcc47(_0x2b3db4,_0x43f015,_0x195287,_0x39ac51){return _0x27e2df(_0x2b3db4-0xaa,_0x195287-0x107,_0x195287-_0x34ed42._0x1c3a30,_0x43f015);}function _0x39b2b0(_0x3e3193,_0x1a7480,_0x236b23,_0x5800dd){return _0xadee61(_0x5800dd-0xff,_0x3e3193,_0x236b23-_0x43bb1f._0x2285a6,_0x5800dd-0x1ac);}if(/\n/[_0x39b2b0(0x481,_0x2f0f95._0x273f70,_0x2f0f95._0x2ae11b,_0x2f0f95._0x344a91)](_0x1a8653))return'lf';return null;}function normalizeToLF(_0x18fcc7){return _0x18fcc7['replace'](/\r\n/g,'\x0a');}function convertEol(_0x3c63c3,_0x1e7306){const _0x59e568={_0x83516d:0x625,_0x41a90f:0x7ca,_0x35536b:0x419,_0x1f0dd9:0x863,_0x4696e3:0x53b,_0x41c5f2:0x3f4},_0x3340b6={_0x22e9e1:0x1f3},_0x54184c={_0x106369:0x3c3};function _0xbe45f4(_0x52ba08,_0x58b1d5,_0x2196de,_0x5762b9){return _0xadee61(_0x5762b9-_0x54184c._0x106369,_0x52ba08,_0x2196de-0x8d,_0x5762b9-0xe7);}function _0x377263(_0x3f5636,_0x4fe754,_0x478074,_0x172971){return _0xadee61(_0x3f5636-0x194,_0x478074,_0x478074-0xd2,_0x172971-_0x3340b6._0x22e9e1);}return _0x1e7306===_0x377263(_0x59e568._0x83516d,_0x59e568._0x41a90f,_0x59e568._0x35536b,_0x59e568._0x1f0dd9)?_0x3c63c3[_0x377263(_0x59e568._0x4696e3,_0x59e568._0x41c5f2,0x628,0x72e)](/\n/g,'\x0d\x0a'):_0x3c63c3;}async function atomicWrite(_0x25d0bb,_0x22ea39){const _0x14acd2={_0x451074:0x38,_0x3b3c9f:0x1ac,_0x1b3a38:0x288,_0x230026:0x813,_0xf21952:0x575,_0x509a7f:0x6f9,_0x3d43e5:0x3e4,_0x2ad551:0x682,_0x331c57:0x526,_0xe180c6:0x6a4,_0x59b4e2:0x469,_0x2dfbaa:0x4fb,_0x4bdfed:0x5f3,_0x13df18:0x556,_0x43f3fd:0x4c0,_0x1785ca:0xbb,_0x2214e9:0x113,_0x213d35:0x6c8,_0x284d2d:0x871,_0x285c98:0x6bd},_0xc95095={_0x2662f9:0x1d2,_0xa91c84:0x3f1},_0x54a8d2={_0x36d5cf:0x7,_0x5ae4b9:0x19};function _0x2507e7(_0x259483,_0x26f8ee,_0x1a24e4,_0x3b6465){return _0xadee61(_0x1a24e4- -_0x54a8d2._0x36d5cf,_0x3b6465,_0x1a24e4-_0x54a8d2._0x5ae4b9,_0x3b6465-0xc5);}const _0x118647=_0x4389cb[_0x2507e7(-_0x14acd2._0x451074,0x157,_0x14acd2._0x3b3c9f,_0x14acd2._0x1b3a38)](_0x25d0bb),_0x21ab47=_0x4389cb[_0x22437b(0x7f2,_0x14acd2._0x230026,_0x14acd2._0xf21952,_0x14acd2._0x509a7f)](_0x118647,_0x22437b(_0x14acd2._0x3d43e5,0x4d1,_0x14acd2._0x2ad551,_0x14acd2._0x331c57)+_0x4389cb[_0x22437b(0x3df,_0x14acd2._0xe180c6,_0x14acd2._0x59b4e2,_0x14acd2._0x2dfbaa)](_0x25d0bb)+'.'+Math['random']()[_0x2507e7(_0x14acd2._0x4bdfed,_0x14acd2._0x13df18,_0x14acd2._0x43f3fd,0x40b)](0x24)[_0x2507e7(-_0x14acd2._0x1785ca,0x99,_0x14acd2._0x2214e9,-0xeb)](0x2,0x8));await _0x44250d[_0x22437b(0x8d8,0x7c2,0x9d7,0x840)](_0x21ab47,_0x22ea39);function _0x22437b(_0x273661,_0x3d9192,_0x115bda,_0x4ae67d){return _0x27e2df(_0x273661-_0xc95095._0x2662f9,_0x4ae67d-_0xc95095._0xa91c84,_0x115bda-0x115,_0x115bda);}await _0x44250d[_0x22437b(_0x14acd2._0x213d35,0x782,_0x14acd2._0x284d2d,_0x14acd2._0x285c98)](_0x21ab47,_0x25d0bb);}function sha256(_0xdbb8f1){const _0x25f307={_0x11961d:0x884,_0x2d0131:0x826,_0x1c2a4e:0x4b2,_0x3e3989:0x504,_0x549b08:0x4cc},_0x570c10={_0x425a49:0x13c},_0x5bd5c3={_0x1d8540:0x99};function _0x225032(_0x398613,_0x4bed25,_0x4d0b54,_0x40bd09){return _0x27e2df(_0x398613-0x0,_0x4d0b54-0x493,_0x4d0b54-_0x5bd5c3._0x1d8540,_0x40bd09);}function _0x1401d7(_0x25c3bb,_0x5a7408,_0x54d505,_0x560038){return _0x27e2df(_0x25c3bb-0x171,_0x5a7408-0x488,_0x54d505-_0x570c10._0x425a49,_0x25c3bb);}return _0x16a0a0[_0x225032(_0x25f307._0x11961d,0x7ee,_0x25f307._0x2d0131,0x80f)]('sha256')[_0x225032(_0x25f307._0x1c2a4e,0x39e,_0x25f307._0x3e3989,0x660)](_0xdbb8f1)['digest'](_0x1401d7(0x49d,_0x25f307._0x549b08,0x5d2,0x2e5));}import{spawn}from'child_process';import*as _0x28766a from'os';import*as _0x294c22 from'fs';import{stripVTControlCharacters}from'util';function normalizeNewlines(_0x298067){return _0x298067['replace'](/\r\n?/g,'\x0a');}function resolveCarriageReturns(_0x19a59a){const _0x287bff={_0x2dfeb4:0x54c,_0x594459:0x6f5},_0x44c816={_0x1175c9:0x224},_0x2866fc={_0x3ff41a:0xe9};function _0x45af9d(_0x202c42,_0x310880,_0x1a16a4,_0x5d8ee1){return _0x27e2df(_0x202c42-_0x2866fc._0x3ff41a,_0x5d8ee1-0x3ed,_0x1a16a4-0x1d8,_0x1a16a4);}return _0x19a59a['split']('\x0a')['map'](_0x2c15a7=>{if(_0x2c15a7[_0x162afb(0x4bb,_0x44c816._0x1175c9,0x3a4,0x44e)]('\x0d')){const _0xc01252=_0x2c15a7['split']('\x0d');return _0xc01252[_0xc01252['length']-0x1];}function _0x162afb(_0x5478e4,_0x3f3d47,_0x28b988,_0x67728b){return _0x337d(_0x67728b-0xd7,_0x5478e4);}return _0x2c15a7;})[_0x45af9d(0x674,0x870,_0x287bff._0x2dfeb4,_0x287bff._0x594459)]('\x0a');}function resolveBackspaces(_0x2f2b50){const _0x178150={_0x93e765:0x3bc,_0x2fff6a:0x416,_0x32381f:0x344,_0x4eaae2:0x3c9},_0x57d9b2={_0x55fc2d:0x21a},_0x1b8610={_0x3f7c96:0xc1};function _0x4359e7(_0x3d158e,_0x1f5c59,_0x5c78bb,_0x2b402){return _0x27e2df(_0x3d158e-0xa4,_0x2b402-_0x1b8610._0x3f7c96,_0x5c78bb-0x58,_0x5c78bb);}function _0x40a59e(_0x3a5279,_0x24ed4a,_0x52fc4a,_0x2cb4d2){return _0x27e2df(_0x3a5279-0x36,_0x2cb4d2-_0x57d9b2._0x55fc2d,_0x52fc4a-0x87,_0x52fc4a);}const _0x1d6ba4=Array[_0x40a59e(0x1b5,0x51b,0x23c,_0x178150._0x93e765)](_0x2f2b50),_0x5d0f9b=[];for(const _0x5abaac of _0x1d6ba4){_0x5abaac==='\x08'?_0x5d0f9b[_0x40a59e(0x62d,0x4eb,0x3a0,0x521)]():_0x5d0f9b['push'](_0x5abaac);}return _0x5d0f9b[_0x4359e7(0x270,_0x178150._0x2fff6a,_0x178150._0x32381f,_0x178150._0x4eaae2)]('');}function stripAnsiAndControls(_0x2f80b3){const _0x6df5fe={_0x535389:0x4e2,_0x4417e9:0x4b5,_0x33ae19:0x509,_0x345969:0x45d,_0x38b63a:0x4df,_0x839d27:0x604,_0x12a5c0:0x50e,_0x186fd5:0x540,_0x511e68:0x37f,_0x8d38e8:0x52d,_0x1a0dd1:0x4d3,_0x8ba004:0x2df,_0x24afe2:0x703},_0x1fbedf={_0x4c8758:0x186},_0x22b274={_0x35fbca:0x162,_0x229153:0x1dd,_0x808065:0x77};_0x2f80b3=stripVTControlCharacters(_0x2f80b3);const _0x5cf5aa='\x1b';_0x2f80b3=_0x2f80b3[_0x362eab(0x604,0x3c9,0x52d,0x5eb)](/;[^\u0007\n]*?\u0007/g,''),_0x2f80b3=_0x2f80b3[_0x5784ef(_0x6df5fe._0x535389,_0x6df5fe._0x4417e9,_0x6df5fe._0x33ae19,0x5e4)](new RegExp(_0x5784ef(0x382,_0x6df5fe._0x345969,_0x6df5fe._0x38b63a,_0x6df5fe._0x839d27)+_0x5cf5aa+'\x5c\x5c','g'),'');function _0x5784ef(_0x33d682,_0x973bdb,_0x19d4ea,_0x40a379){return _0xadee61(_0x19d4ea-_0x22b274._0x35fbca,_0x33d682,_0x19d4ea-_0x22b274._0x229153,_0x40a379-_0x22b274._0x808065);}_0x2f80b3=_0x2f80b3['replace'](/\u0007/g,''),_0x2f80b3=_0x2f80b3[_0x362eab(0x541,_0x6df5fe._0x12a5c0,0x52d,0x6aa)](new RegExp(_0x5cf5aa+'[P_^][\x5cs\x5cS]*?'+_0x5cf5aa+'\x5c\x5c','g'),'');function _0x362eab(_0x4fb810,_0x39f68e,_0x336e3a,_0x267dde){return _0xadee61(_0x336e3a-_0x1fbedf._0x4c8758,_0x4fb810,_0x336e3a-0x21,_0x267dde-0x12d);}return _0x2f80b3=_0x2f80b3[_0x362eab(_0x6df5fe._0x186fd5,0x6c7,0x52d,_0x6df5fe._0x511e68)](new RegExp(_0x5cf5aa+_0x362eab(0x589,0x329,0x4ad,0x26a),'g'),''),_0x2f80b3=_0x2f80b3[_0x362eab(0x61c,0x519,_0x6df5fe._0x8d38e8,_0x6df5fe._0x1a0dd1)](/[\u0080-\u009F]/g,''),_0x2f80b3=_0x2f80b3[_0x5784ef(_0x6df5fe._0x8ba004,_0x6df5fe._0x24afe2,_0x6df5fe._0x33ae19,0x45d)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x2f80b3=_0x2f80b3['replace'](/[\u23CE\u2424]/g,''),_0x2f80b3;}function canonicalizeTerminalPaste(_0x25a7a6){let _0x477456=normalizeNewlines(_0x25a7a6);return _0x477456=resolveCarriageReturns(_0x477456),_0x477456=resolveBackspaces(_0x477456),_0x477456;}var DEFAULTS={'maxOutputBytes':0x1*0x400*0x400,'timeoutMs':0x7530,'stripAnsi':!![]},BashTool=class{[_0x27e2df(0x21e,0x210,0x232,0x426)]=_0xadee61(0x141,0x2e2,0x11,0x143);[_0x27e2df(0x15,0xc7,0x45,-0xdd)]={'type':_0xadee61(0x2b4,0x1a4,0x1ef,0xb0),'properties':{'description':{'type':_0x27e2df(0x56e,0x375,0x438,0x404),'description':_0x27e2df(0x186,0x220,0x117,0x3ed)},'cmd':{'type':_0xadee61(0x48a,0x359,0x66a,0x39e),'description':_0x27e2df(0x1f3,0xe5,-0x158,0x24b)},'cwd':{'type':_0xadee61(0x48a,0x58b,0x430,0x656),'description':_0x27e2df(0x257,0x226,-0x1,0x93)},'timeoutMs':{'type':_0xadee61(0x261,0x1b1,0xd2,0x4a4),'minimum':0x1,'description':_0x27e2df(-0xbb,0xa6,-0xa8,-0x186)}},'required':['cmd']};[_0x27e2df(0x50c,0x3a7,0x383,0x17a)](){const _0x431db2={_0x5da07a:0x468,_0x1798fd:0x58b,_0x24b9c2:0x493,_0x39ef98:0x3d1,_0x2bdbbf:0x31f,_0x1dec0:0x435,_0x433683:0x219,_0x58d329:0x2a6},_0x2a1c30={_0x3f86d3:0x13c},_0x3ef510={_0x5c8707:0x33};function _0x3f5960(_0x2fde40,_0x112dd7,_0x34d019,_0x1fbe10){return _0xadee61(_0x2fde40-0x143,_0x1fbe10,_0x34d019-0x166,_0x1fbe10-_0x3ef510._0x5c8707);}function _0x4d44c8(_0x40cc30,_0x26c757,_0x6144e8,_0x31b7f8){return _0xadee61(_0x31b7f8- -0x301,_0x26c757,_0x6144e8-0x37,_0x31b7f8-_0x2a1c30._0x3f86d3);}return{'name':this[_0x3f5960(_0x431db2._0x5da07a,0x4e2,0x337,_0x431db2._0x1798fd)],'description':_0x3f5960(_0x431db2._0x24b9c2,_0x431db2._0x5da07a,0x4cd,_0x431db2._0x39ef98),'parameters':this[_0x3f5960(_0x431db2._0x2bdbbf,_0x431db2._0x1dec0,_0x431db2._0x433683,_0x431db2._0x58d329)]};}async[_0x27e2df(0x367,0x2fd,0x2de,0x422)](_0x4fd8ea,_0x44d9f4){const _0x5753ca={_0x33662b:0x4be,_0x173e0b:0x564,_0x388baa:0x77a,_0x56132f:0x511,_0x39747b:0x7aa,_0x4090b6:0x653,_0xc48249:0x512,_0x38a961:0x46b,_0x3b9b54:0x415,_0x4680a2:0x595,_0x16d418:0x5c5,_0x54e3f6:0x45f,_0x371ea5:0x4f4,_0x5e8cb0:0x623},_0x28b0ee={_0xdccb46:0x69,_0x5bf9bd:0x302,_0x5bf4e4:0x176},_0x281fc5={_0x261069:0x1af};function _0x1b952b(_0x190a4a,_0x4d5695,_0x377c4d,_0xf9b439){return _0xadee61(_0xf9b439-0x2bf,_0x377c4d,_0x377c4d-_0x281fc5._0x261069,_0xf9b439-0x19c);}function _0x32c422(_0x3cbdd5,_0x98141b,_0x27a13e,_0x93152d){return _0x27e2df(_0x3cbdd5-_0x28b0ee._0xdccb46,_0x3cbdd5-_0x28b0ee._0x5bf9bd,_0x27a13e-_0x28b0ee._0x5bf4e4,_0x93152d);}try{return await this[_0x1b952b(0x73c,_0x5753ca._0x33662b,0x3b2,_0x5753ca._0x173e0b)](_0x4fd8ea,_0x44d9f4?.[_0x1b952b(_0x5753ca._0x388baa,_0x5753ca._0x56132f,_0x5753ca._0x39747b,_0x5753ca._0x4090b6)]);}catch(_0x146a46){if(_0x146a46 instanceof Error&&_0x146a46[_0x32c422(_0x5753ca._0xc48249,0x3ef,0x3bd,_0x5753ca._0x38a961)]===_0x32c422(0x4ec,_0x5753ca._0x3b9b54,_0x5753ca._0x4680a2,_0x5753ca._0x16d418))return err('Command\x20execution\x20aborted\x20by\x20user',void 0x0,_0x32c422(0x67c,0x747,0x85c,_0x5753ca._0x54e3f6));const _0x18b8d3=_0x146a46 instanceof Error?_0x146a46['message']:String(_0x146a46);return err(_0x18b8d3,void 0x0,_0x1b952b(0x7ed,0x477,_0x5753ca._0x371ea5,_0x5753ca._0x5e8cb0));}}async[_0xadee61(0x2a5,0x12e,0x159,0x43e)](_0x53acc0,_0x8a1d7a){const _0x1a8c8f={_0x322e0e:0x5fa,_0x4f7130:0x3ee,_0x1ecc71:0x6ea,_0x4b9c82:0x8a0,_0x5d1dbd:0xace,_0x1cbb70:0xa64,_0x3a80a6:0x8d7,_0x569119:0x595,_0xa4ffea:0x44d,_0xc769f5:0x504,_0x3a4816:0x6b8,_0xafa7ff:0x6c5,_0x5d3e7e:0x4a3,_0xc84536:0x6ec,_0x2a6a63:0x5f8,_0x1ddd0f:0x723,_0xc48a7f:0x5cc,_0x5b45d7:0x502,_0x1d9ebc:0x43c,_0x47e65c:0x602,_0x368220:0x680,_0x9211f3:0x33d,_0x1ee6ab:0x664,_0x1bb0d2:0x634,_0x4d8480:0x55e,_0x1d305c:0x7b8,_0x7fcf14:0x6f8,_0x1d02c6:0x95f,_0x4f1518:0xa3a,_0x49189e:0x560,_0x5654c1:0x549,_0xeebd26:0x3b3,_0x149bce:0x7ea,_0x385fc5:0x9ad,_0x517077:0x9e2,_0x16327d:0x76a,_0x1b9a81:0x5af,_0x48f25c:0x621,_0x22a3d3:0x775,_0x3d1027:0x309,_0x1bb878:0x186,_0x53f302:0x65c,_0x339b28:0x44c,_0x1a13a3:0x3c9,_0x565385:0x490,_0x29162a:0x782,_0xca2793:0x85f,_0x151353:0x59f,_0x32f2a2:0x48d,_0x18c0e4:0x45a,_0x2fa780:0x7bc,_0x3e676c:0x5fc,_0x4db9e3:0x458,_0x1425c7:0x632,_0x43b06e:0x55f,_0x4ba48f:0x810,_0x5354a3:0x828,_0x2b17fd:0x756,_0x5d91a8:0x7eb,_0x33d29d:0x438,_0xc16111:0x626,_0x1bf3bb:0x491,_0x73e348:0x69e,_0x1a7009:0x937,_0xa5ecbf:0x3a4,_0x751244:0x457,_0x411d33:0x47e,_0x4763da:0x615,_0x54cf46:0x779,_0x1c91fd:0x725,_0x4b6b08:0x497,_0x2557a4:0x251,_0x5149ba:0x74b,_0x18afdc:0x530,_0x2d1a9e:0x5af,_0x1c709b:0x64a,_0x4f675d:0x547,_0x29389c:0x4a5,_0x3a3642:0x6cd,_0x3d49cc:0x63a,_0x3fa3b6:0x8d0,_0x34fd42:0x304,_0x18b1ab:0x22a,_0x10f9e6:0x26d,_0x5ee802:0x618,_0x24b809:0x4c5,_0x43fa39:0x6de,_0x4cd46b:0x2ac,_0x1292c8:0x6d4,_0x10d0c8:0x76e,_0x207dd3:0x732,_0x18bfa3:0x96d,_0x112385:0x41e},_0x3e2e34={_0x54af08:0x250,_0xbe7dbd:0x247},_0x524a23={_0xcb7ed1:0x227,_0x1331c0:0x31},_0x1d9217={_0x2105cc:0x5e8,_0x4d7a7b:0x5ec,_0x38c097:0x799,_0x3f79a8:0x76c,_0x2215e9:0x305,_0xb52bc2:0x422,_0x3d5bbb:0x4b3,_0x4d6eb7:0x487,_0x21a9f4:0x662,_0x9348c4:0x632,_0x4a749c:0x46e,_0x1a98d1:0x911,_0x1862e2:0x55b,_0x4dfe26:0x5ea,_0x4f40d6:0x5c5,_0xf2c6ca:0x779,_0x1e6e42:0x737,_0x1c066f:0x43f,_0x20752c:0x5cc,_0x2760f6:0x705,_0x5b2a74:0x91e,_0x4dffe3:0x79b,_0x43da85:0x5a1,_0x234aa6:0x390,_0x4f88bd:0x3e4},_0x498e26={_0xb259c8:0x1fc},_0x47cd25={_0x3aa3f8:0x128,_0x565cbf:0x79},_0x3da876={_0x544466:0x310,_0x4d6bae:0x613},_0x2868ab={_0x443408:0xaf,_0x14e5ed:0x109},_0x5a29c7={_0x44dd10:0x2a2,_0x3d0796:0x96,_0x29db0e:0x16b,_0x3320b5:0x474,_0x27d869:0x634,_0x1d177b:0x170,_0x1a9561:0x43d,_0x5f50b9:0x646,_0x3cfc00:0x640,_0x3e04dd:0x22d},_0x174e48={_0x5eeecd:0xc},_0x1a6381={_0xb7f039:0x552,_0x38f389:0x531,_0x2f3e0e:0x3d1},_0x3ff71f={_0x3994d9:0x2c6,_0x57acdc:0x4a2,_0x2a3227:0x205,_0x264fc7:0x272,_0x48ea2f:0x12d,_0x1a2a23:0x1ed,_0x19eb88:0x16,_0x21a912:0x14f},_0x2e6df5={_0x201652:0x771,_0xc3416a:0x9f7,_0x4ba38a:0x8bc,_0xf7b93d:0x7dd,_0x9f9393:0x755,_0x5d3c98:0x593},_0x505143={_0x2f9595:0x3c,_0x3492de:0x280,_0x4b4967:0xab},_0x1cfe2e={_0x50d6f9:0x6e5,_0x307656:0x519,_0x4e871e:0x6fa,_0x111fa7:0x3d1,_0x4174ee:0x2db,_0xe000d:0x9e,_0x338f05:0x1c1,_0x446770:0x419,_0x7057b:0x494},_0x282eee={_0x4661d0:0x53},_0x305672={_0x1c46b6:0x1cb,_0x9620e7:0x1d4};if(_0x8a1d7a?.[_0x5e26ec(_0x1a8c8f._0x322e0e,0x6f1,0x438,_0x1a8c8f._0x4f7130)])return err(_0x5e26ec(0x4f5,0x420,_0x1a8c8f._0x1ecc71,0x323),void 0x0,_0x29dba9(_0x1a8c8f._0x4b9c82,_0x1a8c8f._0x5d1dbd,_0x1a8c8f._0x1cbb70,0x7d5));const {cmd:_0x18d7ba,cwd:cwd=process[_0x29dba9(0x756,0x91d,0x535,_0x1a8c8f._0x3a80a6)](),timeoutMs:timeoutMs=DEFAULTS[_0x29dba9(0x5c7,_0x1a8c8f._0x569119,_0x1a8c8f._0xa4ffea,0x574)]}=_0x53acc0,_0x1e9bbf=DEFAULTS[_0x5e26ec(0x481,_0x1a8c8f._0xc769f5,_0x1a8c8f._0x3a4816,0x39a)],_0x69d0ee=DEFAULTS['stripAnsi'],_0x51f0c1=this[_0x5e26ec(_0x1a8c8f._0xafa7ff,0x777,_0x1a8c8f._0x5d3e7e,0x5a1)](),_0x2be8af=this['shellArgs'](_0x18d7ba,_0x51f0c1);let _0x4ccf2f;const _0x11a039=_0x28766a['platform']()===_0x5e26ec(0x564,0x61c,0x405,_0x1a8c8f._0xc84536);try{_0x4ccf2f=spawn(_0x51f0c1,_0x2be8af,{'cwd':cwd,'env':process[_0x29dba9(_0x1a8c8f._0x2a6a63,_0x1a8c8f._0x1ddd0f,_0x1a8c8f._0xc48a7f,0x5cd)],'stdio':[_0x5e26ec(_0x1a8c8f._0x5b45d7,_0x1a8c8f._0x1d9ebc,0x2d1,_0x1a8c8f._0x47e65c),_0x29dba9(0x575,0x546,_0x1a8c8f._0x368220,_0x1a8c8f._0x9211f3),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x11a039});}catch(_0x443759){if(_0x443759 instanceof Error&&_0x29dba9(0x634,0x587,_0x1a8c8f._0x1ee6ab,0x842)in _0x443759&&_0x443759[_0x29dba9(_0x1a8c8f._0x1bb0d2,_0x1a8c8f._0x4d8480,0x400,_0x1a8c8f._0x1d305c)]===_0x29dba9(0x8a9,_0x1a8c8f._0x7fcf14,_0x1a8c8f._0x1d02c6,_0x1a8c8f._0x4f1518))return err(_0x29dba9(_0x1a8c8f._0x49189e,0x433,_0x1a8c8f._0x5654c1,_0x1a8c8f._0xeebd26)+_0x51f0c1,void 0x0,_0x29dba9(_0x1a8c8f._0x149bce,_0x1a8c8f._0x385fc5,0x681,0x8ad));throw _0x443759;}_0x4ccf2f['once'](_0x29dba9(0x91f,0x9b6,_0x1a8c8f._0x517077,_0x1a8c8f._0x16327d),_0x30df49=>{function _0x3c6524(_0x1f5007,_0x24c41,_0x3f21e1,_0xff5909){return _0x5e26ec(_0x1f5007-0x75,_0x24c41-_0x305672._0x1c46b6,_0x3f21e1-_0x305672._0x9620e7,_0x24c41);}function _0x1eb415(_0x5d2745,_0x2bb5c3,_0x5f3784,_0x4713fb){return _0x5e26ec(_0x5f3784-0x18b,_0x2bb5c3-0x6f,_0x5f3784-_0x282eee._0x4661d0,_0x5d2745);}_0x1eb415(0x4af,_0x1cfe2e._0x50d6f9,_0x1cfe2e._0x307656,0x36c)in _0x30df49&&_0x30df49[_0x1eb415(_0x1cfe2e._0x4e871e,0x3fe,_0x1cfe2e._0x307656,_0x1cfe2e._0x111fa7)]==='ENOENT'&&(!_0x4ccf2f[_0x3c6524(_0x1cfe2e._0x4174ee,0x316,_0x1cfe2e._0xe000d,_0x1cfe2e._0x338f05)]&&_0x4ccf2f[_0x1eb415(_0x1cfe2e._0x446770,0x54a,0x563,0x62b)](_0x3c6524(0x4ec,0x6b8,_0x1cfe2e._0x7057b,0x6bc),-0x1,null));});let _0x2fdc31=null,_0x7366b7=null,_0x9c379e=null,_0x1aec9c=![];function _0x5e26ec(_0x2929a0,_0x43f085,_0x44ce89,_0x4311cd){return _0x27e2df(_0x2929a0-_0x505143._0x2f9595,_0x2929a0-_0x505143._0x3492de,_0x44ce89-_0x505143._0x4b4967,_0x4311cd);}let _0xfbbefd=![];const _0x23bacb=new Promise((_0x13f0f5,_0x17ee6f)=>{_0x2fdc31=setTimeout(()=>{function _0x53dee9(_0x2a84e3,_0x5c6edb,_0x2cf605,_0x17af27){return _0x337d(_0x17af27-0x36a,_0x2a84e3);}_0x1aec9c=!![];function _0x298ad3(_0x512075,_0x2232b6,_0x244ba9,_0x4aaba8){return _0x337d(_0x4aaba8-0x15e,_0x512075);}try{this[_0x53dee9(0x562,0x54b,0x6cf,_0x2e6df5._0x201652)](_0x4ccf2f,_0x11a039);}catch{}_0x17ee6f(new Error(_0x53dee9(0x8c6,_0x2e6df5._0xc3416a,_0x2e6df5._0x4ba38a,_0x2e6df5._0xf7b93d)+timeoutMs+_0x298ad3(0x613,0x3ca,_0x2e6df5._0x9f9393,_0x2e6df5._0x5d3c98)));},timeoutMs);}),_0x17a31f=new Promise((_0x3dde1d,_0xa1ca7d)=>{const _0x2eef64={_0x500eda:0x329,_0x534cc3:0x40c,_0x2c0a7f:0x284,_0x4da77e:0x3a3},_0x4307e8={_0x549b0b:0x414,_0x2a6a1c:0x1b0},_0x39411e={_0x54c466:0xa4};function _0x48db31(_0x589c31,_0x1abfc4,_0x36f162,_0x5b8d87){return _0x5e26ec(_0x589c31- -0xc9,_0x1abfc4-_0x39411e._0x54c466,_0x36f162-0x19,_0x1abfc4);}function _0x14ca86(_0x4963cb,_0x31150e,_0x29d0a1,_0x373e08){return _0x5e26ec(_0x29d0a1- -_0x4307e8._0x549b0b,_0x31150e-_0x4307e8._0x2a6a1c,_0x29d0a1-0x1e3,_0x373e08);}_0x8a1d7a&&(_0x9c379e=()=>{const _0x2beeff={_0x3ba9f6:0x26},_0x29cacd={_0x542adb:0xf9,_0x2a97e9:0x1a4,_0x12e28f:0x640},_0x58f398={_0x3642e3:0x183};function _0x5f4abc(_0xf8adfd,_0x4cbbda,_0xdc8cd4,_0x484af0){return _0x337d(_0xdc8cd4- -_0x58f398._0x3642e3,_0xf8adfd);}_0x2fdc31&&(clearTimeout(_0x2fdc31),_0x2fdc31=null);function _0x43416a(_0x473455,_0xc8261d,_0xa49062,_0x29957e){return _0x337d(_0x29957e-0x3e6,_0x473455);}try{this[_0x5f4abc(_0x3ff71f._0x3994d9,0x63,0x284,_0x3ff71f._0x57acdc)](_0x4ccf2f,_0x11a039,_0x5f4abc(_0x3ff71f._0x2a3227,_0x3ff71f._0x264fc7,_0x3ff71f._0x48ea2f,0x1aa)),_0x7366b7=setTimeout(()=>{function _0x20b67d(_0x578173,_0x46463d,_0x56fe05,_0x555251){return _0x43416a(_0x56fe05,_0x46463d-_0x29cacd._0x542adb,_0x56fe05-_0x29cacd._0x2a97e9,_0x46463d- -_0x29cacd._0x12e28f);}function _0x404df5(_0x4d33ed,_0x4315b3,_0x36f93e,_0x29afa4){return _0x43416a(_0x4d33ed,_0x4315b3-_0x2beeff._0x3ba9f6,_0x36f93e-0x1ef,_0x4315b3- -0x112);}_0x4ccf2f&&!_0x4ccf2f[_0x404df5(_0x2eef64._0x500eda,_0x2eef64._0x534cc3,_0x2eef64._0x2c0a7f,0x546)]&&this[_0x20b67d(_0x2eef64._0x4da77e,0x1ad,0x134,0x267)](_0x4ccf2f,_0x11a039);},0x3e8);}catch{}_0xa1ca7d(new Error(_0x5f4abc(0x1ff,_0x3ff71f._0x1a2a23,_0x3ff71f._0x19eb88,_0x3ff71f._0x21a912)));},_0x8a1d7a[_0x48db31(0x367,0x230,0x1fb,0x4bf)](_0x48db31(_0x1a6381._0xb7f039,0x457,0x73b,0x64f),_0x9c379e),_0x8a1d7a[_0x48db31(_0x1a6381._0x38f389,0x6b6,0x613,_0x1a6381._0x2f3e0e)]&&_0x9c379e());}),_0x516ee5=[],_0x227c34=[];function _0x29dba9(_0x3f3756,_0x1a0ff5,_0x1001cf,_0x3d17c9){return _0xadee61(_0x3f3756-0x411,_0x1001cf,_0x1001cf-0x114,_0x3d17c9-0x4e);}let _0xd059b5=0x0;const _0x3f747f=_0x134cb2=>{if(_0xfbbefd)return;_0xd059b5+=_0x134cb2[_0x4ec93b(_0x5a29c7._0x44dd10,0x290,_0x5a29c7._0x3d0796,_0x5a29c7._0x29db0e)];function _0x8c9190(_0x2545fd,_0x14cda1,_0xa5873b,_0x738c4f){return _0x5e26ec(_0x14cda1-0xf0,_0x14cda1-0x1e5,_0xa5873b-0x75,_0x738c4f);}if(_0xd059b5>_0x1e9bbf){_0xfbbefd=!![],_0x516ee5[_0x4ec93b(0x63c,_0x5a29c7._0x3320b5,_0x5a29c7._0x27d869,0x555)](Buffer[_0x4ec93b(_0x5a29c7._0x1d177b,0x1e8,0x1ac,0x16)](_0x8c9190(_0x5a29c7._0x1a9561,_0x5a29c7._0x5f50b9,0x4a1,0x55b)+_0x1e9bbf+_0x8c9190(0x486,0x4bf,_0x5a29c7._0x3cfc00,0x32c))),this[_0x4ec93b(0x510,0x2fb,0x4a9,_0x5a29c7._0x3e04dd)](_0x4ccf2f,_0x11a039);return;}function _0x4ec93b(_0x228106,_0x54233f,_0x28ba2d,_0x22fbb7){return _0x29dba9(_0x54233f- -0x4e0,_0x54233f-0xac,_0x22fbb7,_0x22fbb7-_0x174e48._0x5eeecd);}_0x516ee5['push'](_0x134cb2);},_0x14ec98=_0x18d069=>{const _0x5074e9={_0x1121fd:0x7e,_0x20a16d:0x145};if(_0xfbbefd)return;function _0x2e815b(_0x54c472,_0x3c7fe2,_0x618bc3,_0x4e02bd){return _0x5e26ec(_0x4e02bd- -_0x5074e9._0x1121fd,_0x3c7fe2-_0x5074e9._0x20a16d,_0x618bc3-0xb1,_0x3c7fe2);}_0xd059b5+=_0x18d069['length'];if(_0xd059b5>_0x1e9bbf){_0xfbbefd=!![],_0x227c34['push'](Buffer[_0x2e815b(0x323,_0x3da876._0x544466,0x205,0x3a4)]('\x0a[truncated\x20at\x20'+_0x1e9bbf+'\x20bytes]\x0a')),this[_0x2939ec(0x72c,_0x3da876._0x4d6bae,0x93b,0x8cc)](_0x4ccf2f,_0x11a039);return;}function _0x2939ec(_0x337adc,_0x247d61,_0x4a90fb,_0x58b68d){return _0x29dba9(_0x337adc- -_0x2868ab._0x443408,_0x247d61-_0x2868ab._0x14e5ed,_0x58b68d,_0x58b68d-0x198);}_0x227c34['push'](_0x18d069);};_0x4ccf2f[_0x29dba9(_0x1a8c8f._0x1b9a81,_0x1a8c8f._0x48f25c,_0x1a8c8f._0x22a3d3,0x7cc)]&&_0x4ccf2f[_0x5e26ec(_0x1a8c8f._0x3d1027,0x460,0x4a6,_0x1a8c8f._0x1bb878)]['on'](_0x5e26ec(0x59f,_0x1a8c8f._0x53f302,0x5ed,_0x1a8c8f._0x339b28),_0x3f747f);_0x4ccf2f[_0x5e26ec(_0x1a8c8f._0x1a13a3,0x5e0,_0x1a8c8f._0x565385,0x330)]&&_0x4ccf2f[_0x29dba9(0x66f,_0x1a8c8f._0x29162a,_0x1a8c8f._0xca2793,0x85b)]['on'](_0x5e26ec(_0x1a8c8f._0x151353,_0x1a8c8f._0x32f2a2,_0x1a8c8f._0x18c0e4,0x5a7),_0x14ec98);const _0x4da52e=()=>{function _0x184b83(_0x5043e4,_0x2ae2a7,_0x3692e9,_0x17752c){return _0x29dba9(_0x2ae2a7- -_0x47cd25._0x3aa3f8,_0x2ae2a7-0x1b3,_0x5043e4,_0x17752c-_0x47cd25._0x565cbf);}_0x2fdc31&&(clearTimeout(_0x2fdc31),_0x2fdc31=null);_0x7366b7&&(clearTimeout(_0x7366b7),_0x7366b7=null);_0x8a1d7a&&_0x9c379e&&(_0x8a1d7a[_0x184b83(0x7a7,0x7e5,_0x1d9217._0x2105cc,_0x1d9217._0x4d7a7b)](_0x184b83(_0x1d9217._0x38c097,0x799,_0x1d9217._0x3f79a8,0x7c2),_0x9c379e),_0x9c379e=null);function _0x6e12fb(_0x4055b7,_0x3ba51e,_0x3fe24c,_0x2e391f){return _0x5e26ec(_0x3ba51e-_0x498e26._0xb259c8,_0x3ba51e-0xf4,_0x3fe24c-0x14d,_0x4055b7);}_0x4ccf2f[_0x184b83(_0x1d9217._0x2215e9,0x487,_0x1d9217._0xb52bc2,_0x1d9217._0x3d5bbb)]&&_0x4ccf2f[_0x184b83(0x5f7,_0x1d9217._0x4d6eb7,0x631,0x2a2)][_0x184b83(_0x1d9217._0x21a9f4,_0x1d9217._0x9348c4,0x444,_0x1d9217._0x4a749c)](_0x184b83(_0x1d9217._0x1a98d1,0x71d,_0x1d9217._0x1862e2,_0x1d9217._0x4dfe26),_0x3f747f);_0x4ccf2f[_0x6e12fb(0x38f,_0x1d9217._0x4f40d6,_0x1d9217._0xf2c6ca,_0x1d9217._0x1e6e42)]&&_0x4ccf2f[_0x6e12fb(_0x1d9217._0x1c066f,0x5c5,_0x1d9217._0x20752c,0x417)][_0x6e12fb(0x511,0x6b0,_0x1d9217._0x2760f6,0x7a2)](_0x6e12fb(_0x1d9217._0x5b2a74,_0x1d9217._0x4dffe3,0x6f4,_0x1d9217._0x43da85),_0x14ec98);if(_0x4ccf2f&&_0x4ccf2f['pid']&&!_0x4ccf2f[_0x184b83(_0x1d9217._0x234aa6,_0x1d9217._0x4f88bd,0x2ad,0x53e)])try{this['killProcessGroup'](_0x4ccf2f,_0x11a039);}catch{}},_0x47c01b=new Promise(_0x5fa136=>{function _0x225eca(_0x76fc8b,_0x34714f,_0x3c1b99,_0x5e1f4e){return _0x5e26ec(_0x76fc8b- -_0x524a23._0xcb7ed1,_0x34714f-_0x524a23._0x1331c0,_0x3c1b99-0xb7,_0x5e1f4e);}_0x4ccf2f['on'](_0x225eca(_0x3e2e34._0x54af08,_0x3e2e34._0xbe7dbd,0x2de,0x350),(_0xb1c1ce,_0xfe6eac)=>_0x5fa136({'code':_0xb1c1ce,'signal':_0xfe6eac}));});try{const {code:_0x27ecf2,signal:_0x1881c1}=await Promise[_0x29dba9(_0x1a8c8f._0x2fa780,0x6b9,0x63e,_0x1a8c8f._0x3e676c)]([_0x47c01b,_0x23bacb,_0x17a31f]),_0x18a877=Buffer[_0x5e26ec(0x438,0x331,_0x1a8c8f._0x4db9e3,0x353)](_0x516ee5)[_0x5e26ec(_0x1a8c8f._0x1425c7,_0x1a8c8f._0x43b06e,_0x1a8c8f._0x4ba48f,0x47d)](_0x29dba9(_0x1a8c8f._0x5354a3,_0x1a8c8f._0x2b17fd,0x797,_0x1a8c8f._0x5d91a8)),_0x4c400b=Buffer[_0x5e26ec(_0x1a8c8f._0x33d29d,_0x1a8c8f._0xc16111,0x286,_0x1a8c8f._0x1bf3bb)](_0x227c34)['toString']('utf8'),_0x28274f=_0x69d0ee?stripAnsiAndControls(_0x18a877+_0x4c400b):_0x18a877+_0x4c400b;if(_0x8a1d7a?.[_0x29dba9(_0x1a8c8f._0x4b9c82,0x6c2,0x86c,_0x1a8c8f._0x73e348)]){const _0x65ad74=_0x28274f?_0x29dba9(0x7ba,0x5a2,0x7d5,_0x1a8c8f._0x1a7009)+_0x28274f:'';return err(_0x29dba9(0x79b,0x80f,0x974,0x573)+_0x65ad74,{'cwd':cwd},'aborted');}if(_0x27ecf2!==0x0){const _0x43bbed={'code':_0x27ecf2,'signal':_0x1881c1,'cwd':cwd};if(_0x28274f[_0x5e26ec(_0x1a8c8f._0xa5ecbf,0x198,_0x1a8c8f._0x751244,0x220)]()[_0x5e26ec(0x4a5,0x388,0x6ae,_0x1a8c8f._0x411d33)]('permission\x20denied'))return err(_0x28274f,{..._0x43bbed,'errorReason':_0x5e26ec(_0x1a8c8f._0x4763da,_0x1a8c8f._0x54cf46,_0x1a8c8f._0x47e65c,_0x1a8c8f._0x1c91fd)});if(_0x28274f[_0x5e26ec(_0x1a8c8f._0xa5ecbf,_0x1a8c8f._0x4b6b08,_0x1a8c8f._0x2557a4,0x394)]()[_0x29dba9(_0x1a8c8f._0x5149ba,0x5d7,0x6bb,0x6fe)](_0x5e26ec(0x681,_0x1a8c8f._0x18afdc,_0x1a8c8f._0x2d1a9e,0x874))||_0x28274f[_0x29dba9(_0x1a8c8f._0x1c709b,0x670,_0x1a8c8f._0x4f675d,0x66f)]()[_0x5e26ec(_0x1a8c8f._0x29389c,0x5b2,_0x1a8c8f._0x3a3642,0x58c)](_0x5e26ec(0x561,0x769,0x5da,_0x1a8c8f._0x3d49cc)))return err(_0x28274f,{..._0x43bbed,'errorReason':_0x29dba9(0x7ea,0x5da,_0x1a8c8f._0xc16111,_0x1a8c8f._0x3fa3b6)});return err(_0x28274f,_0x43bbed);}return okText(_0x28274f,{'code':_0x27ecf2,'signal':_0x1881c1,'cwd':cwd,'stripped':_0x69d0ee});}catch(_0x226f92){const _0x2f7572=_0x226f92 instanceof Error?_0x226f92[_0x5e26ec(_0x1a8c8f._0x34fd42,_0x1a8c8f._0x18b1ab,0x49d,0x215)]:String(_0x226f92);if(_0x2f7572===_0x5e26ec(0x2c7,0x236,_0x1a8c8f._0x10f9e6,0x17c)||_0x8a1d7a?.[_0x5e26ec(0x5fa,0x746,_0x1a8c8f._0x5ee802,_0x1a8c8f._0x24b809)]){const _0x960d53=Buffer[_0x29dba9(_0x1a8c8f._0x43fa39,0x54f,0x560,0x743)](_0x516ee5)['toString']('utf8'),_0x4b6daa=Buffer[_0x5e26ec(0x438,0x47b,_0x1a8c8f._0x4cd46b,0x2b3)](_0x227c34)[_0x5e26ec(_0x1a8c8f._0x1425c7,0x420,0x6d1,_0x1a8c8f._0x1292c8)](_0x29dba9(0x828,_0x1a8c8f._0x10d0c8,_0x1a8c8f._0x207dd3,0x858)),_0x1058ba=_0x69d0ee?stripAnsiAndControls(_0x960d53+_0x4b6daa):_0x960d53+_0x4b6daa,_0x13f0e5=_0x1058ba?_0x29dba9(0x7ba,0x85d,0x7a1,_0x1a8c8f._0x18bfa3)+_0x1058ba:'';return err('Command\x20execution\x20aborted\x20by\x20user'+_0x13f0e5,{'cwd':cwd},_0x5e26ec(0x5fa,0x4ed,0x603,_0x1a8c8f._0x112385));}if(_0x1aec9c)return err(_0x2f7572,{'cwd':cwd},'timeout');return err(_0x2f7572,{'cwd':cwd},'unknown');}finally{_0x4da52e();}}[_0xadee61(0x3ca,0x485,0x24c,0x4bc)](_0x5a1afd,_0x1712c1,_0x4910b2=_0xadee61(0x3b7,0x305,0x3b0,0x547)){const _0x32d13a={_0x4a387e:0x87,_0x50fc2b:0x34,_0x2d3a2d:0x912,_0xc1a274:0x81d,_0x363165:0xc1,_0x24e268:0x16f,_0x3408f2:0x8d3,_0x5b67d9:0x71a,_0x21b4a3:0x999,_0x491217:0x95b,_0x1bfc46:0x725,_0x4fdfc4:0x7b3,_0x45c7c5:0xa7c,_0x53bc51:0xc9,_0x13c1fc:0x138,_0x176c75:0x1e2},_0x39d1b0={_0xe4e9ac:0x527},_0xd5fd93={_0x141a1f:0x19f,_0x4fe626:0x1f7};if(!_0x5a1afd[_0x1f6bb6(-_0x32d13a._0x4a387e,_0x32d13a._0x50fc2b,0x82,0x99)])return;function _0x1f6bb6(_0x3cdb1b,_0x1683b4,_0x3d9725,_0x12c545){return _0x27e2df(_0x3cdb1b-_0xd5fd93._0x141a1f,_0x3cdb1b- -_0xd5fd93._0x4fe626,_0x3d9725-0x8e,_0x3d9725);}function _0x34eebb(_0x4e56c4,_0x9690f3,_0x40f586,_0x33fe55){return _0x27e2df(_0x4e56c4-0x85,_0x4e56c4-_0x39d1b0._0xe4e9ac,_0x40f586-0x123,_0x9690f3);}if(_0x1712c1)try{spawn(_0x34eebb(_0x32d13a._0x2d3a2d,0x8ec,0xb12,_0x32d13a._0xc1a274),[_0x1f6bb6(-_0x32d13a._0x363165,0xd2,-_0x32d13a._0x24e268,-0x195),_0x5a1afd[_0x34eebb(0x697,_0x32d13a._0x3408f2,0x506,_0x32d13a._0x5b67d9)][_0x34eebb(0x8d9,_0x32d13a._0x21b4a3,0x7c7,0x8fe)](),'/T','/F'],{'stdio':'ignore'});}catch{_0x5a1afd[_0x34eebb(_0x32d13a._0x491217,_0x32d13a._0x1bfc46,_0x32d13a._0x4fdfc4,_0x32d13a._0x45c7c5)](_0x4910b2);}else try{process['kill'](-_0x5a1afd[_0x1f6bb6(-0x87,-_0x32d13a._0x53bc51,-0x277,-0x220)],_0x4910b2);}catch{_0x5a1afd[_0x1f6bb6(0x23d,_0x32d13a._0x13c1fc,_0x32d13a._0x176c75,0x306)](_0x4910b2);}}[_0xadee61(0x55a,0x4b4,0x735,0x4f5)](){const _0xaeeb4a={_0x391a41:0x5ae,_0x9e4aa2:0x39c,_0x34b266:0x3bd,_0x49419f:0x1f6,_0x53670c:0x3c8,_0x5e8f43:0x459,_0x564a3f:0x443,_0x26f214:0x5a6,_0x5f069d:0x244,_0x3a9338:0x540,_0x4484d8:0x6b4,_0xaaf340:0x8b1,_0x432e35:0x5ef,_0xb3b2a5:0x39d},_0x2fabb8={_0x478334:0xd2},_0x5b9975={_0x486702:0x12c,_0xe720e4:0x4a};if(_0x28766a['platform']()===_0x20afa0(_0xaeeb4a._0x391a41,0x435,0x659,0x6d4))return process[_0x20afa0(_0xaeeb4a._0x9e4aa2,_0xaeeb4a._0x34b266,_0xaeeb4a._0x49419f,_0xaeeb4a._0x53670c)]['ComSpec']||_0x20afa0(0x5d8,_0xaeeb4a._0x5e8f43,0x802,_0xaeeb4a._0x564a3f);function _0x1c9e87(_0x3d71ca,_0x83a4de,_0x27df2f,_0x112d53){return _0x27e2df(_0x3d71ca-_0x5b9975._0x486702,_0x3d71ca-0x3a8,_0x27df2f-_0x5b9975._0xe720e4,_0x27df2f);}const _0x213c8c=process['env'][_0x1c9e87(_0xaeeb4a._0x26f214,0x5d9,0x418,0x68b)];if(_0x213c8c&&this[_0x1c9e87(0x39d,0x56d,_0xaeeb4a._0x5f069d,0x287)](_0x213c8c))return _0x213c8c;const _0x5e8236=[_0x1c9e87(0x528,_0xaeeb4a._0x3a9338,0x4d8,0x646),_0x1c9e87(_0xaeeb4a._0x4484d8,_0xaeeb4a._0xaaf340,_0xaeeb4a._0x432e35,0x596),'/usr/bin/bash','/usr/bin/sh'];for(const _0xbe3341 of _0x5e8236){if(this[_0x1c9e87(_0xaeeb4a._0xb3b2a5,0x202,0x4fb,0x35a)](_0xbe3341))return _0xbe3341;}function _0x20afa0(_0xaa3409,_0x3f6be6,_0x4aa040,_0x13052a){return _0x27e2df(_0xaa3409-0x14d,_0xaa3409-0x2ca,_0x4aa040-_0x2fabb8._0x478334,_0x3f6be6);}return'/bin/bash';}[_0xadee61(0x10a,0x11d,-0x108,0x1b)](_0xfbe8f6){const _0x5867f5={_0x6658:0x80a,_0x1ef221:0x63c,_0x498b68:0x852,_0x28e2da:0x749,_0x493279:0x70e,_0x5245cf:0x6d4,_0x39426c:0x651,_0x56cdc1:0x24,_0x4a9bb7:0x15},_0x45a79c={_0x14c674:0xfc,_0x35706e:0x10b},_0x27cb70={_0x363e7e:0x189,_0x2e0616:0x85};function _0x5c2d94(_0x217a09,_0x5197be,_0x28e85e,_0x19e9c){return _0xadee61(_0x19e9c- -_0x27cb70._0x363e7e,_0x28e85e,_0x28e85e-0x1a6,_0x19e9c-_0x27cb70._0x2e0616);}function _0x30979a(_0xa668ce,_0x1bd5cf,_0x5891a1,_0xe4a81c){return _0x27e2df(_0xa668ce-_0x45a79c._0x14c674,_0x1bd5cf-0x4e7,_0x5891a1-_0x45a79c._0x35706e,_0xa668ce);}try{const _0x15eed5=_0x294c22[_0x30979a(0x752,0x765,_0x5867f5._0x6658,_0x5867f5._0x1ef221)](_0xfbe8f6);return _0x15eed5[_0x30979a(0x7b9,_0x5867f5._0x498b68,0x99c,0x7c3)]()&&(_0x15eed5['mode']&_0x294c22[_0x30979a(_0x5867f5._0x28e2da,_0x5867f5._0x493279,_0x5867f5._0x5245cf,_0x5867f5._0x39426c)][_0x5c2d94(0xc8,-0x265,0x7c,-_0x5867f5._0x56cdc1)]||_0x15eed5[_0x5c2d94(-0x244,_0x5867f5._0x4a9bb7,-0x1aa,-0x40)]&0x49)!==0x0;}catch{return![];}}[_0x27e2df(-0x127,0xef,0x54,0x27b)](_0x39d7b6,_0xd57ce6){const _0x25b65c={_0x5980bc:0x162,_0x22db98:0x16f,_0x24e527:0xc9,_0x4db88e:0x13a,_0x2db420:0x28a,_0x1e9ca6:0x170,_0x1e44f4:0x115,_0x6b6189:0x1b8,_0xb4b5bd:0x1d9,_0x2eb7e3:0x5cc,_0xf307b7:0x703,_0x1c1125:0x1da,_0x101a48:0x153,_0x583617:0x125,_0x15db8b:0x294};if(_0x28766a[_0x2494d7(_0x25b65c._0x5980bc,_0x25b65c._0x22db98,-_0x25b65c._0x24e527,-_0x25b65c._0x4db88e)]()===_0x2494d7(0x29e,_0x25b65c._0x2db420,_0x25b65c._0x1e9ca6,-0x7c)){const _0x13d267=/cmd(\.exe)?$/i[_0x2494d7(0x1eb,_0x25b65c._0x1e44f4,_0x25b65c._0x6b6189,_0x25b65c._0xb4b5bd)](_0xd57ce6);return _0x13d267?['/d','/s','/c',_0x39d7b6]:['-NoLogo',_0x143fdd(0x6d0,0x396,_0x25b65c._0x2eb7e3,_0x25b65c._0xf307b7),_0x2494d7(-0x120,_0x25b65c._0x1c1125,0x5,0xec),_0x39d7b6];}function _0x143fdd(_0x4a9eb6,_0x29f339,_0x554d39,_0x3835d4){return _0xadee61(_0x554d39-0x1dc,_0x4a9eb6,_0x554d39-0x1a9,_0x3835d4-0x99);}function _0x2494d7(_0x1fd79b,_0x41c977,_0x5dd22f,_0x5355b3){return _0xadee61(_0x5dd22f- -0x289,_0x1fd79b,_0x5dd22f-0x8e,_0x5355b3-0x130);}return[_0x2494d7(-_0x25b65c._0x101a48,_0x25b65c._0x583617,0xc3,_0x25b65c._0x15db8b),_0x39d7b6];}};import{promises as _0x5b6398}from'fs';import*as _0x2460f6 from'path';import*as _0x5e3341 from'yaml';var LsTool=class{[_0xadee61(0x325,0x3d4,0x46d,0x4fb)]='ls_tool';['rootDir'];[_0xadee61(0x4be,0x3d0,0x31f,0x35e)];constructor(_0x2fb272={}){const _0x2ae371={_0x4afc1b:0xcd,_0x35cf0e:0x1e,_0x1bb7be:0x199,_0x2cc02f:0x3d,_0x9a9cef:0x48,_0x2ad502:0x1d0,_0xfe281b:0x7f,_0x278ef0:0x2c3,_0x526de1:0x452,_0x13d360:0x473,_0x3ccb86:0x247,_0x33aa97:0x685},_0x539917={_0x5af253:0xec},_0x52ac23={_0x2e0bfe:0xa9,_0x23c51a:0xd7};function _0x3e94cd(_0x292219,_0x397665,_0x40a056,_0x2e3451){return _0x27e2df(_0x292219-0x137,_0x397665-_0x52ac23._0x2e0bfe,_0x40a056-_0x52ac23._0x23c51a,_0x40a056);}function _0x14458f(_0x26faa9,_0x3d367d,_0xd02863,_0xfe9f57){return _0x27e2df(_0x26faa9-0x11a,_0x26faa9- -_0x539917._0x5af253,_0xd02863-0x9c,_0x3d367d);}this[_0x3e94cd(0x215,_0x2ae371._0x4afc1b,-_0x2ae371._0x35cf0e,-0x13b)]=_0x2460f6[_0x3e94cd(-0x56,_0x2ae371._0x1bb7be,-_0x2ae371._0x2cc02f,_0x2ae371._0x9a9cef)](_0x2fb272[_0x3e94cd(_0x2ae371._0x2ad502,0xcd,_0x2ae371._0xfe281b,_0x2ae371._0x278ef0)]??process['cwd']()),this[_0x3e94cd(0x2ec,_0x2ae371._0x526de1,0x466,_0x2ae371._0x13d360)]=!!_0x2fb272[_0x3e94cd(_0x2ae371._0x3ccb86,0x452,0x38d,_0x2ae371._0x33aa97)];}['parameters']={'type':_0xadee61(0x2b4,0x7a,0x13d,0x3f0),'properties':{'path':{'type':_0xadee61(0x48a,0x5ae,0x4de,0x5b8),'description':_0x27e2df(0x2f8,0x3b4,0x181,0x2f8)},'limit':{'type':_0xadee61(0x261,0x1e5,0x32d,0x46),'minimum':0x1,'description':_0x27e2df(-0x47,0x9c,-0x22,-0x122)}}};[_0xadee61(0x4bc,0x6d0,0x481,0x4b6)](){const _0x862477={_0xafb1ae:0x3a6,_0x5e1b5a:0x2e7,_0x59c5b1:0x448,_0xc4de09:0x26c,_0x47c69a:0x439,_0x566c11:0x408,_0x57827b:0x45c,_0x1109b3:0x5cc,_0x12e5f0:0x4c6,_0x56a2b0:0x5cc,_0x122557:0x608,_0x9dc5b0:0x4a5,_0x44e7b4:0x522,_0x322f41:0x6d2,_0x5ca1ef:0x4ec,_0x26cde6:0x540,_0x17e838:0x272,_0x3ccf55:0x3e8,_0x55e9e7:0x26f},_0x22afe7={_0x549fe7:0x17f,_0xe60c7c:0x238},_0x1723e2={_0x50c17e:0x1e0,_0x3db1f2:0x86};function _0x11761c(_0x193bfc,_0x37d51b,_0x4b9c6a,_0x5c200d){return _0x27e2df(_0x193bfc-0x1c5,_0x193bfc-_0x1723e2._0x50c17e,_0x4b9c6a-_0x1723e2._0x3db1f2,_0x5c200d);}function _0x7fbf8d(_0x5c9c55,_0x1f8b02,_0x9f882d,_0x3091ff){return _0x27e2df(_0x5c9c55-_0x22afe7._0x549fe7,_0x3091ff-_0x22afe7._0xe60c7c,_0x9f882d-0x142,_0x1f8b02);}return{'name':this[_0x7fbf8d(_0x862477._0xafb1ae,_0x862477._0x5e1b5a,0x57a,_0x862477._0x59c5b1)],'description':[_0x11761c(_0x862477._0xc4de09,_0x862477._0x47c69a,0x80,0x37),_0x11761c(0x3bd,_0x862477._0x566c11,0x3bb,0x504),'',_0x7fbf8d(_0x862477._0x57827b,0x6ae,0x75b,_0x862477._0x1109b3),_0x7fbf8d(0x4c7,0x2b2,_0x862477._0x12e5f0,0x2c3),'2)\x20List\x20only\x20directories\x20with\x20metadata',_0x7fbf8d(_0x862477._0x56a2b0,0x5bb,_0x862477._0x122557,_0x862477._0x9dc5b0)][_0x7fbf8d(_0x862477._0x44e7b4,_0x862477._0x322f41,_0x862477._0x5ca1ef,_0x862477._0x26cde6)]('\x0a'),'parameters':this[_0x11761c(0x2a7,_0x862477._0x17e838,_0x862477._0x3ccf55,_0x862477._0x55e9e7)]};}async[_0xadee61(0x2ab,0x2ff,0x46d,0x2fb)](_0x5827cf){const _0x562448={_0x4bd15a:0x227,_0x2b3796:0x3fc,_0x3604ac:0x274,_0x34993f:0xef,_0x527479:0x1e5},_0x54fada={_0xba2925:0x58,_0x4e1bce:0x6d},_0x593fac={_0x410619:0xab,_0xf62537:0x2a};function _0x585fee(_0x35b051,_0x4eadd7,_0x412077,_0x38349d){return _0x27e2df(_0x35b051-_0x593fac._0x410619,_0x4eadd7-_0x593fac._0xf62537,_0x412077-0x2d,_0x35b051);}function _0x100405(_0x39c550,_0x4fb0f4,_0xa530cd,_0x129503){return _0x27e2df(_0x39c550-0x19b,_0x4fb0f4- -_0x54fada._0xba2925,_0xa530cd-_0x54fada._0x4e1bce,_0xa530cd);}try{const _0x1bda45=await _0x5b6398['readFile'](_0x5827cf,{'encoding':null}),_0x744eca=_0x1bda45['slice'](0x0,Math[_0x585fee(_0x562448._0x4bd15a,0x2af,0x4ab,_0x562448._0x2b3796)](0x400,_0x1bda45[_0x585fee(0x5e,_0x562448._0x3604ac,_0x562448._0x34993f,_0x562448._0x527479)]));for(let _0x1844e1=0x0;_0x1844e1<_0x744eca['length'];_0x1844e1++){if(_0x744eca[_0x1844e1]===0x0)return![];}return!![];}catch{return![];}}async[_0xadee61(0x55c,0x5d0,0x688,0x379)](_0x1e1bcf){const _0x58de65={_0x34893f:0x36c,_0x37f880:0x20e,_0xec156f:0x196,_0x57fe7a:0x2bf,_0x432f1e:0x4e9},_0x3795ef={_0x1f7207:0x6},_0x5221b4={_0x42d23d:0x169,_0x57340f:0xf4};function _0x5a6d33(_0x44bd35,_0x190247,_0x5ccbef,_0x3d15ae){return _0x27e2df(_0x44bd35-_0x5221b4._0x42d23d,_0x190247- -_0x5221b4._0x57340f,_0x5ccbef-0x1cb,_0x5ccbef);}function _0x3d885c(_0x140acd,_0x59edea,_0x19a4ed,_0x11283a){return _0xadee61(_0x19a4ed- -0x128,_0x11283a,_0x19a4ed-0x2e,_0x11283a-_0x3795ef._0x1f7207);}try{const _0x4f19da=await _0x5b6398['readFile'](_0x1e1bcf,_0x5a6d33(_0x58de65._0x34893f,_0x58de65._0x37f880,_0x58de65._0xec156f,0x406));return _0x4f19da[_0x5a6d33(0x4e5,_0x58de65._0x57fe7a,_0x58de65._0x432f1e,0x100)]('\x0a')['length'];}catch{return 0x0;}}async[_0x27e2df(0x2be,0x2fd,0x53b,0x185)](_0x527926,_0x4d9fa5){const _0x49b941={_0xd27178:0x1e0,_0x72d575:0x6,_0x2715c1:0xe,_0x38dff8:0x18,_0x55b6d1:0x8b,_0xd60a2d:0xcf,_0x4ff4d1:0x292,_0x3c9283:0x476,_0x4df307:0x116,_0x534708:0x30b,_0x22ab5e:0x30f,_0x2b71df:0x370,_0x3b6dc0:0x1a5,_0x1054a4:0xa6,_0x5c2c43:0xfe,_0x3f824f:0x20,_0x3a63b9:0x390,_0x3f2b5c:0x2d6,_0xbf3d30:0x40d,_0xf6d7d8:0x1b,_0x4c9cf8:0xe0,_0x49006b:0x339,_0x1e36f7:0x2b5,_0xb3648c:0xf8,_0x265957:0x511,_0x1247e7:0x278,_0x1c6b45:0x4c,_0x56e45f:0x145,_0x4e8fb4:0x17a,_0xca3f81:0x233,_0x4c70ce:0x1a9,_0x23bf1f:0x465,_0x3c4e91:0x22,_0x3bf0c6:0x203,_0x1a6ec:0x135,_0x2d105f:0x240,_0x1b0ef2:0x229,_0x5f219b:0x325,_0x24e12d:0x323,_0x1afbb1:0x15b,_0x281ddc:0x390,_0x3fb7a2:0x1f,_0x5a395c:0x2,_0x2cf840:0x181,_0x377e7e:0x484,_0x46c999:0x4a1,_0x4278ee:0x2bd,_0x47c32b:0x164,_0x4da0c3:0x82,_0x2f9f16:0x34e,_0x591fba:0x91,_0x5a1806:0x26d,_0x40ea86:0x319,_0x5f0cfa:0x3fc,_0x5dbd88:0x566,_0x2aac6c:0x256,_0x4e55ae:0x3d4,_0x26259b:0x23e,_0x45dd06:0x218,_0x178b7e:0x38d,_0x4ca2dd:0x29,_0x8f69c8:0x1c1,_0x1f2f49:0x2c5,_0x208e10:0x174,_0x157b88:0x2fd},_0x2bfe89={_0x48fc6e:0x2d5,_0x12a8d3:0x69b,_0x17cb11:0x501,_0x254f1d:0x6d2,_0x4a6a19:0x773,_0x412830:0x9b2,_0x267d59:0x6ef,_0x18de6e:0x6ea,_0x3e2e78:0x50d,_0x582ae4:0x284,_0x59e966:0x3d7,_0x59f7cc:0x31e,_0x5bf3ba:0x4ba,_0x14c9e5:0x3a7,_0x43a82c:0x5ae,_0x460558:0x12a,_0x1393ec:0x509,_0x4af11f:0x2fb},_0x552c15={_0x314fcd:0x1db},_0x1e60ab={_0x359d92:0x1be,_0x10aa73:0x32,_0x233790:0xa0};function _0x3a15bf(_0x33c368,_0x1fd265,_0x238472,_0xb00a9b){return _0x27e2df(_0x33c368-_0x1e60ab._0x359d92,_0x33c368- -_0x1e60ab._0x10aa73,_0x238472-_0x1e60ab._0x233790,_0x238472);}function _0x4ef6cd(_0x43475e,_0x537604,_0x3cc629,_0x4c3d86){return _0xadee61(_0x537604- -0x1f0,_0x43475e,_0x3cc629-0x16e,_0x4c3d86-_0x552c15._0x314fcd);}try{const _0xf8d30d=_0x527926[_0x4ef6cd(0x1e2,_0x49b941._0xd27178,0x3af,0x286)]??'.',_0x4d329d=!![],_0x38ad5e=Math['min'](_0x527926[_0x3a15bf(0x56,0x10e,0x240,-0x3f)]??0x3e8,0x2710),_0x26de0c=this[_0x4ef6cd(0x159,-0x84,-_0x49b941._0x72d575,0x3e)](_0xf8d30d,_0x4d9fa5),_0xe6cd6f=await _0x5b6398[_0x3a15bf(0x3d3,0x2a7,0x353,0x511)](_0x26de0c)[_0x4ef6cd(-_0x49b941._0x2715c1,_0x49b941._0x38dff8,-0x65,-0xb1)](()=>null);if(!_0xe6cd6f)return err(_0x3a15bf(_0x49b941._0x55b6d1,-0x19e,0x1d2,_0x49b941._0xd60a2d)+_0xf8d30d,void 0x0,_0x3a15bf(_0x49b941._0x4ff4d1,_0x49b941._0x3c9283,_0x49b941._0x4df307,_0x49b941._0x534708));if(!_0xe6cd6f['isDirectory']())return err('Path\x20is\x20not\x20a\x20directory:\x20'+_0xf8d30d,void 0x0,_0x4ef6cd(0x21b,0x356,0x513,0x53b));const _0x2e10d8=await _0x5b6398[_0x4ef6cd(_0x49b941._0x22ab5e,0x2e3,_0x49b941._0x2b71df,_0x49b941._0x3b6dc0)](_0x26de0c),_0x50abe6=[];for(const _0xaceb9e of _0x2e10d8){if(!_0x4d329d&&_0xaceb9e[_0x3a15bf(_0x49b941._0x1054a4,-_0x49b941._0x5c2c43,_0x49b941._0x3f824f,-0x15f)]('.'))continue;if(_0x50abe6[_0x3a15bf(0x218,0x1c3,_0x49b941._0x3a63b9,0x2fe)]>=_0x38ad5e)break;const _0x122069=_0x2460f6[_0x3a15bf(_0x49b941._0x3f2b5c,0x275,_0x49b941._0xbf3d30,0x20c)](_0x26de0c,_0xaceb9e);let _0x136b58=null;try{_0x136b58=await _0x5b6398['stat'](_0x122069);}catch{continue;}let _0x6e6d1c=_0x3a15bf(_0x49b941._0xf6d7d8,0xe9,0x172,_0x49b941._0x4c9cf8);if(_0x136b58[_0x3a15bf(_0x49b941._0x49006b,_0x49b941._0x1e36f7,_0x49b941._0xb3648c,_0x49b941._0x265957)]())_0x6e6d1c=_0x4ef6cd(0x230,_0x49b941._0x1247e7,_0x49b941._0x1c6b45,0x152);else{if(_0x136b58[_0x4ef6cd(-_0x49b941._0x56e45f,-0x59,-_0x49b941._0x4e8fb4,-0xc0)]())_0x6e6d1c=_0x3a15bf(_0x49b941._0xca3f81,_0x49b941._0x4c70ce,_0x49b941._0x23bf1f,0x1f4);else{if(_0x136b58[_0x3a15bf(0x87,0x1c8,0x261,0x146)]())_0x6e6d1c=_0x3a15bf(_0x49b941._0x3c4e91,-_0x49b941._0x3bf0c6,_0x49b941._0x1a6ec,0x1f9);}}const _0x5ca448={'name':_0xaceb9e,'type':_0x6e6d1c};_0x136b58&&(_0x5ca448[_0x3a15bf(0x3ce,_0x49b941._0x2d105f,0x1e0,0x4cd)]=_0x136b58[_0x4ef6cd(_0x49b941._0x1b0ef2,_0x49b941._0x5f219b,_0x49b941._0x24e12d,0x39d)],_0x5ca448[_0x3a15bf(_0x49b941._0x1afbb1,-0xd5,_0x49b941._0x281ddc,-_0x49b941._0x3fb7a2)]=_0x136b58['mtimeMs'],_0x5ca448[_0x3a15bf(_0x49b941._0x5a395c,-0xc8,-0x152,_0x49b941._0x2cf840)]=_0x136b58['mode'],_0x6e6d1c===_0x3a15bf(0x321,_0x49b941._0x377e7e,_0x49b941._0x46c999,_0x49b941._0x4278ee)&&await this[_0x3a15bf(_0x49b941._0x47c32b,-_0x49b941._0x4da0c3,_0x49b941._0x2f9f16,0x51)](_0x122069)&&(_0x5ca448[_0x4ef6cd(-0x256,-0xca,_0x49b941._0x591fba,-0x27c)]=await this[_0x3a15bf(0x415,_0x49b941._0x5a1806,0x518,_0x49b941._0x40ea86)](_0x122069))),_0x50abe6[_0x3a15bf(_0x49b941._0x5f0cfa,_0x49b941._0x5dbd88,_0x49b941._0x2aac6c,_0x49b941._0x4e55ae)](_0x5ca448);}_0x50abe6[_0x3a15bf(_0x49b941._0x26259b,0x41b,0x1fe,0x384)]((_0x5bf030,_0x3012bb)=>_0x5bf030['name'][_0x4ef6cd(0x229,0xf2,0x327,0xa5)](_0x3012bb[_0x3a15bf(0x1de,0x335,0x66,0x373)]));const _0x47f4c5={'path':_0xf8d30d,'total':_0x50abe6[_0x3a15bf(_0x49b941._0x45dd06,0x30b,0x295,_0x49b941._0x178b7e)],'truncated':_0x2e10d8[_0x3a15bf(_0x49b941._0x45dd06,0x437,-_0x49b941._0x4ca2dd,0x2da)]>_0x38ad5e,'entries':_0x50abe6['map'](_0x8440f1=>{const _0x5266d9={_0x5d37e2:0x44e},_0x5ec1e7={_0x59b098:0x31c};function _0x5a7017(_0x419d30,_0x2b0300,_0x3a7e57,_0x124735){return _0x3a15bf(_0x3a7e57-_0x5ec1e7._0x59b098,_0x2b0300-0xb,_0x419d30,_0x124735-0x149);}const _0x5b2d54={'name':_0x8440f1[_0x5a7017(0x429,_0x2bfe89._0x48fc6e,0x4fa,0x45b)],'type':_0x8440f1[_0x5a7017(_0x2bfe89._0x12a8d3,0x527,_0x2bfe89._0x17cb11,_0x2bfe89._0x254f1d)]};if(_0x8440f1[_0x28f577(_0x2bfe89._0x4a6a19,_0x2bfe89._0x412830,0x58a,0x893)]!==void 0x0)_0x5b2d54[_0x5a7017(0x4b6,0x7d3,0x6ea,0x6d3)]=_0x8440f1[_0x5a7017(0x752,_0x2bfe89._0x267d59,_0x2bfe89._0x18de6e,_0x2bfe89._0x3e2e78)];if(_0x8440f1[_0x5a7017(_0x2bfe89._0x582ae4,_0x2bfe89._0x59e966,_0x2bfe89._0x59f7cc,0x3a6)]!==void 0x0)_0x5b2d54['mode']=_0x8440f1[_0x5a7017(_0x2bfe89._0x5bf3ba,0x25c,0x31e,_0x2bfe89._0x14c9e5)];if(_0x8440f1['mtime']!==void 0x0)_0x5b2d54[_0x28f577(0x500,0x330,_0x2bfe89._0x43a82c,0x2e5)]=_0x8440f1['mtime'];if(_0x8440f1[_0x5a7017(_0x2bfe89._0x460558,_0x2bfe89._0x1393ec,0x2fb,0x403)]!==void 0x0)_0x5b2d54['lines']=_0x8440f1[_0x5a7017(0x3a0,0x217,_0x2bfe89._0x4af11f,0x39c)];function _0x28f577(_0x5ad339,_0x242a64,_0x53214d,_0x14bd08){return _0x4ef6cd(_0x14bd08,_0x5ad339-_0x5266d9._0x5d37e2,_0x53214d-0xfd,_0x14bd08-0x1da);}return _0x5b2d54;})},_0x19e421=okText(_0x5e3341['stringify'](_0x47f4c5,{'indent':0x2,'lineWidth':0x0}),{'limit':_0x38ad5e,'includeHidden':_0x4d329d});return _0x19e421;}catch(_0x1c2e0f){const _0x5c3816=_0x1c2e0f instanceof Error?_0x1c2e0f[_0x4ef6cd(0xf8,-0x57,-_0x49b941._0x8f69c8,-0x131)]:String(_0x1c2e0f);return err(_0x5c3816,void 0x0,_0x4ef6cd(_0x49b941._0x1f2f49,_0x49b941._0x208e10,_0x49b941._0x157b88,0x32f));}}[_0xadee61(0x16c,0xc8,0xe4,-0xd0)](_0x2642b0,_0x24aa33){const _0x40ad73={_0x2e8651:0x27d,_0x16a334:0xc5,_0x1f24ae:0xe9,_0xf9b9ee:0x139,_0x44cd96:0x141,_0x2309bc:0x2ab,_0x134982:0x4f0,_0x16bd28:0x4c6,_0xdf9f44:0x6a4,_0x33efaa:0x29f,_0x3fa1b5:0x93,_0x34a25b:0x176,_0x76d349:0x32e,_0x5eea36:0x3ec,_0x40b338:0xbe,_0x355139:0x1b3,_0x17eb6e:0x1e9},_0x5e8de6={_0x540b84:0x12e,_0x53ca65:0x16b},_0x4d458d={_0x421939:0xba};function _0xfc5614(_0x50c645,_0x3d4372,_0x172fe8,_0x427271){return _0xadee61(_0x172fe8-0x8,_0x50c645,_0x172fe8-0x16,_0x427271-_0x4d458d._0x421939);}const _0x35d1c1=_0x24aa33?.[_0x8c42b4(0x1ff,0x131,_0x40ad73._0x2e8651,0x288)]||_0x24aa33?.[_0x8c42b4(_0x40ad73._0x16a334,_0x40ad73._0x1f24ae,0x1b2,_0x40ad73._0xf9b9ee)]||this['rootDir'];function _0x8c42b4(_0x27d376,_0x1578d9,_0x4b41b2,_0x2c32f){return _0x27e2df(_0x27d376-_0x5e8de6._0x540b84,_0x27d376- -_0x5e8de6._0x53ca65,_0x4b41b2-0x1e1,_0x2c32f);}const _0x1294f0=_0x2460f6['resolve'](String(_0x35d1c1??this[_0xfc5614(-0x3a,0x14a,_0x40ad73._0x44cd96,_0x40ad73._0x2309bc)])),_0x45849b=_0x2460f6[_0x8c42b4(-0x7b,-0x270,-0xa4,-0x283)](_0x1294f0,_0x2642b0);if(!this[_0xfc5614(_0x40ad73._0x134982,0x48f,_0x40ad73._0x16bd28,0x69d)]&&_0x2460f6['isAbsolute'](_0x2642b0)&&!_0x45849b['startsWith'](_0x1294f0))throw new Error(_0xfc5614(0x415,0x696,0x574,0x450));if(!this[_0xfc5614(0x2b6,_0x40ad73._0xdf9f44,_0x40ad73._0x16bd28,0x67f)]){const _0xd9aa2d=_0x2460f6[_0x8c42b4(0x2aa,0x10f,_0x40ad73._0x33efaa,0x1e8)](_0x1294f0,_0x45849b);if(_0xd9aa2d[_0x8c42b4(-_0x40ad73._0x3fa1b5,-0x23,0xa,-_0x40ad73._0x34a25b)]('..')||_0x2460f6[_0x8c42b4(0x2c7,0x46b,_0x40ad73._0x76d349,_0x40ad73._0x5eea36)](_0xd9aa2d))throw new Error(_0xfc5614(_0x40ad73._0x40b338,0x203,_0x40ad73._0x355139,_0x40ad73._0x17eb6e)+_0x2642b0);}return _0x45849b;}};import*as _0x30e74e from'path';import{stat}from'fs/promises';import{spawn as _0x3687e2,execSync}from'child_process';import{existsSync,mkdirSync as _0x1a1599,createWriteStream,chmodSync}from'fs';import*as _0x119c73 from'path';import*as _0xe20751 from'os';import*as _0x115ce4 from'https';var RIPGREP_VERSION=_0x27e2df(0x201,0xfb,-0x4c,-0xf1),PLATFORM_MAP={'arm64-darwin':{'platform':_0x27e2df(0x528,0x43f,0x4fe,0x3dd),'extension':'tar.gz'},'arm64-linux':{'platform':_0xadee61(0x1c8,0x1c4,0x31f,0x15c),'extension':_0x27e2df(0x367,0x446,0x485,0x458)},'x64-darwin':{'platform':'x86_64-apple-darwin','extension':'tar.gz'},'x64-linux':{'platform':_0xadee61(0x2cf,0x158,0x10e,0x14c),'extension':_0xadee61(0x55b,0x395,0x417,0x6f5)},'x64-win32':{'platform':_0xadee61(0x282,0x61,0x497,0x84),'extension':_0xadee61(0x4f2,0x6a8,0x724,0x5fe)}},cachedRgPath=null;function findSystemRipgrep(){const _0x559e5f={_0x3cb2a8:0x699,_0x1f411f:0x2a7,_0x4dc817:0x476,_0x275bb5:0x814,_0x1e7d12:0x8db,_0x2929f8:0x18e,_0x2489c5:0x341,_0x3c36da:0x324,_0x3283b9:0x238,_0x4dce52:0x722,_0x22be4d:0x4e4,_0x17a857:0x484,_0x4ad5e6:0x7d0,_0x547e31:0x403,_0x57d487:0x423,_0x261dae:0x775,_0x42b6f5:0x75e,_0xfd6dd3:0x791,_0x4e1c0f:0x4a1,_0x29d740:0x6a9,_0x1106b2:0x505,_0x1ef4ef:0x6c9,_0x443a65:0x577,_0x588906:0x679,_0x58512d:0x42f,_0xc98421:0x49d,_0x3bc706:0x3fd,_0x9518ed:0x296,_0x2de197:0x48b,_0x590808:0x5b9,_0x2384c3:0x578,_0x1644a8:0x752,_0x588f40:0x696,_0x3bb81a:0x637,_0x2ed0a1:0x635,_0x52dfa2:0x7ac,_0x5e7d11:0x3f5,_0x3cafda:0x4f1,_0x19a658:0x331,_0xfa27f:0x622,_0x444664:0x80c,_0x2a9724:0x733,_0x35002e:0x9a1,_0x33c1f5:0x7a3,_0x5f2aee:0x5d2,_0x2953a8:0x48d,_0xf64408:0x4bc,_0x1eb254:0x290,_0x45fd4c:0x5d8,_0x3231d5:0x6be,_0x34f05c:0x540,_0x454347:0x504,_0x2b06a4:0x638,_0x4a7b98:0x4f5},_0x2be88e={_0x231c80:0x2b6},_0x469710={_0xfb7c6a:0x15a,_0x510f2a:0x17f};function _0x409c42(_0xb4729d,_0x57c0d2,_0xe3995d,_0x4a3edd){return _0xadee61(_0x57c0d2-_0x469710._0xfb7c6a,_0xe3995d,_0xe3995d-0x143,_0x4a3edd-_0x469710._0x510f2a);}function _0x9562ab(_0x54d73d,_0x84217a,_0x519d38,_0xb6826){return _0xadee61(_0x519d38-_0x2be88e._0x231c80,_0x54d73d,_0x519d38-0x19f,_0xb6826-0x10);}const _0x3c29c9=_0xe20751[_0x9562ab(_0x559e5f._0x3cb2a8,_0x559e5f._0x1f411f,_0x559e5f._0x4dc817,0x302)]()===_0x9562ab(_0x559e5f._0x275bb5,0x777,0x6af,_0x559e5f._0x1e7d12);if(_0x3c29c9){const _0x38e973=[_0x119c73['join'](process[_0x409c42(_0x559e5f._0x2929f8,_0x559e5f._0x2489c5,_0x559e5f._0x3c36da,_0x559e5f._0x3283b9)][_0x409c42(_0x559e5f._0x4dce52,0x640,_0x559e5f._0x22be4d,_0x559e5f._0x17a857)]||'',_0x9562ab(_0x559e5f._0x4ad5e6,0x6f4,0x5ee,0x610),_0x409c42(0x550,_0x559e5f._0x547e31,_0x559e5f._0x57d487,0x25f),_0x9562ab(_0x559e5f._0x261dae,_0x559e5f._0x42b6f5,_0x559e5f._0xfd6dd3,0x78e),_0x409c42(0x4f0,_0x559e5f._0x4e1c0f,_0x559e5f._0x29d740,0x2b8),_0x9562ab(0x4ee,0x4f1,0x5cf,_0x559e5f._0x1106b2),_0x9562ab(0x784,0x574,0x6d4,_0x559e5f._0x1ef4ef)),_0x119c73[_0x409c42(_0x559e5f._0x443a65,0x577,0x771,0x508)](process[_0x9562ab(_0x559e5f._0x588906,_0x559e5f._0x58512d,_0x559e5f._0xc98421,0x57f)][_0x9562ab(_0x559e5f._0x3bc706,_0x559e5f._0x9518ed,0x3ba,0x2d4)]||'',_0x409c42(_0x559e5f._0x2de197,_0x559e5f._0x590808,0x5e6,0x7ad),_0x409c42(0x59b,_0x559e5f._0x2384c3,0x5c6,_0x559e5f._0x1644a8)),_0x119c73[_0x9562ab(0x738,0x820,0x6d3,0x660)](process['env']['ProgramFiles(x86)']||'','ripgrep',_0x9562ab(0x7ea,0x70b,0x6d4,0x793))];for(const _0x215fb5 of _0x38e973){if(existsSync(_0x215fb5))return _0x215fb5;}try{const _0x389d09=execSync(_0x9562ab(0x4f7,_0x559e5f._0x588f40,_0x559e5f._0x3bb81a,0x51b),{'encoding':_0x409c42(_0x559e5f._0x2ed0a1,0x571,_0x559e5f._0x52dfa2,0x50d),'stdio':['pipe',_0x409c42(0x114,0x2be,0x48b,0x1ce),_0x409c42(_0x559e5f._0x5e7d11,_0x559e5f._0x3cafda,_0x559e5f._0x19a658,0x50d)]})[_0x409c42(0x279,0x261,0x52,0x4d)]()[_0x409c42(0x66d,_0x559e5f._0xfa27f,_0x559e5f._0x444664,_0x559e5f._0x2a9724)]('\x0a')[0x0];if(_0x389d09&&existsSync(_0x389d09))return _0x389d09;}catch{}}else{const _0x57305a=[_0x9562ab(_0x559e5f._0x35002e,0x9b4,_0x559e5f._0x33c1f5,0x886),_0x9562ab(0x77c,_0x559e5f._0x5f2aee,0x552,0x652),_0x409c42(0x36d,_0x559e5f._0x2953a8,_0x559e5f._0xf64408,_0x559e5f._0x1eb254),_0x409c42(0x3ca,_0x559e5f._0x45fd4c,0x6e9,_0x559e5f._0x3231d5)];for(const _0x2e7b97 of _0x57305a){if(existsSync(_0x2e7b97))return _0x2e7b97;}try{const _0x1c463a=execSync('which\x20rg',{'encoding':_0x409c42(0x77f,0x571,_0x559e5f._0x34f05c,0x624),'stdio':['pipe',_0x9562ab(0x656,_0x559e5f._0x454347,0x41a,_0x559e5f._0x2b06a4),_0x409c42(_0x559e5f._0x4a7b98,0x4f1,0x4ed,0x475)]})['trim']();if(_0x1c463a&&existsSync(_0x1c463a))return _0x1c463a;}catch{}}return null;}function getCacheDir(){const _0xac7615={_0x1da993:0xa5,_0x849fd7:0x196,_0x4d3b6d:0x133,_0x276737:0x1ba,_0x5326c7:0xb,_0x242aa4:0xe7,_0x3b4d0c:0x62},_0x4bd212={_0x47f156:0x89},_0x1c4b6d={_0x3ca4dd:0x11f,_0x425bda:0x1b8},_0x39f0a7=_0x119c73['join'](_0xe20751[_0x6bc525(_0xac7615._0x1da993,-0x274,-_0xac7615._0x849fd7,-_0xac7615._0x4d3b6d)](),_0x6bc525(-0x62,-_0xac7615._0x276737,-0xac,-0x15b),_0x6bc525(-_0xac7615._0x5326c7,0x18c,-_0xac7615._0x242aa4,_0xac7615._0x3b4d0c));function _0x6bc525(_0x1a203a,_0x1b4e99,_0x38a417,_0x1a1e7b){return _0x27e2df(_0x1a203a-_0x1c4b6d._0x3ca4dd,_0x1a1e7b- -_0x1c4b6d._0x425bda,_0x38a417-0xa,_0x1b4e99);}function _0xca3457(_0x314181,_0x2cb9c4,_0x1560ea,_0x530ec7){return _0x27e2df(_0x314181-0x115,_0x2cb9c4- -0x77,_0x1560ea-_0x4bd212._0x47f156,_0x1560ea);}return!existsSync(_0x39f0a7)&&_0x1a1599(_0x39f0a7,{'recursive':!![]}),_0x39f0a7;}function getCachedRgPath(){const _0xd64570={_0x2372f5:0x6de,_0x3a1a2a:0x5b3,_0xa7f8fc:0x6a5,_0x5ab9bc:0x4dc,_0x45d532:0x703,_0x188a8c:0x725,_0x945ccb:0x74e,_0x229b07:0x76d},_0x4caf7c={_0x53449e:0xc6,_0x2b0458:0x30};function _0x36ad23(_0x3bb577,_0xf95aeb,_0x372149,_0x5c6fde){return _0x27e2df(_0x3bb577-0xd5,_0x3bb577-0x3fa,_0x372149-0x140,_0x5c6fde);}function _0x2655a4(_0x287e44,_0x2e1bf3,_0x573bf6,_0x18d548){return _0xadee61(_0x573bf6- -0x159,_0x287e44,_0x573bf6-_0x4caf7c._0x53449e,_0x18d548-_0x4caf7c._0x2b0458);}const _0x3cd4ef=getCacheDir(),_0x224ae6=_0xe20751['platform']()===_0x36ad23(_0xd64570._0x2372f5,_0xd64570._0x3a1a2a,0x500,_0xd64570._0xa7f8fc);return _0x119c73[_0x36ad23(0x702,0x604,0x72a,_0xd64570._0x5ab9bc)](_0x3cd4ef,_0x224ae6?_0x36ad23(_0xd64570._0x45d532,_0xd64570._0x188a8c,_0xd64570._0x945ccb,_0xd64570._0x229b07):'rg');}async function downloadFile(_0x229477,_0x61306c){const _0x1ac29d={_0x2b0cf6:0x1df,_0x1c6930:0xb8,_0x40faaf:0xac};return new Promise((_0x380ebe,_0x3c07a9)=>{const _0x41c2ba=(_0x27a3ce,_0xd70046=0x0)=>{const _0xed210a={_0x18cc57:0x4dc,_0x331d92:0x2c6,_0x2c147b:0x599,_0x6b706c:0x303,_0x5140c4:0x4a,_0x542637:0x4ae,_0xf0375e:0x26e,_0x3809ac:0x241,_0x27decc:0x324,_0xe2e55c:0x43a,_0x48cb53:0x63,_0x2307fa:0x3f,_0x50eb30:0x169},_0x4da910={_0x25e6e0:0x184},_0x5b5d7b={_0x5b7e46:0x108};function _0x21ddf7(_0x4a484,_0x4c5c8e,_0x52c690,_0x54e13d){return _0x337d(_0x4c5c8e- -_0x5b5d7b._0x5b7e46,_0x52c690);}if(_0xd70046>0x5){_0x3c07a9(new Error('Too\x20many\x20redirects'));return;}_0x115ce4[_0x21ddf7(_0x1ac29d._0x2b0cf6,_0x1ac29d._0x1c6930,_0x1ac29d._0x40faaf,-0xa9)](_0x27a3ce,_0x16efdf=>{const _0x647b4e={_0x17e02b:0x4a7,_0x167e5a:0x886,_0x4e68a7:0x8a5},_0x4b3b49={_0x486737:0x167,_0x98b502:0x31};if(_0x16efdf['statusCode']===0x12d||_0x16efdf[_0x3f3b6c(-0x1d4,-0x200,-0x25e,-0x57)]===0x12e){const _0xc34bba=_0x16efdf[_0x51babf(0x470,_0xed210a._0x18cc57,_0xed210a._0x331d92,_0xed210a._0x2c147b)]['location'];if(_0xc34bba){_0x41c2ba(_0xc34bba,_0xd70046+0x1);return;}}if(_0x16efdf['statusCode']!==0xc8){_0x3c07a9(new Error(_0x3f3b6c(0x26b,_0xed210a._0x6b706c,_0xed210a._0x5140c4,0x14b)+_0x16efdf[_0x51babf(_0xed210a._0x542637,0x6c7,_0xed210a._0xf0375e,0x65b)]));return;}function _0x3f3b6c(_0x247c8f,_0x63b610,_0x8318ec,_0x1db717){return _0x21ddf7(_0x247c8f-_0x4b3b49._0x486737,_0x1db717- -0x2da,_0x247c8f,_0x1db717-_0x4b3b49._0x98b502);}const _0x351a73=createWriteStream(_0x61306c);_0x16efdf[_0x3f3b6c(-0x43e,-0x17,-0x314,-_0xed210a._0x3809ac)](_0x351a73);function _0x51babf(_0x3efabc,_0x35ca6a,_0x836ef2,_0x191ee1){return _0x21ddf7(_0x3efabc-0x14b,_0x3efabc-0x22b,_0x191ee1,_0x191ee1-_0x4da910._0x25e6e0);}_0x351a73['on'](_0x51babf(_0xed210a._0x27decc,0x442,_0xed210a._0xe2e55c,0x377),()=>{const _0x2ab1cb={_0x35d42b:0x5c,_0x192989:0xed};function _0xc716f2(_0x94d21,_0x79c975,_0x2d22e6,_0x5cb7b8){return _0x51babf(_0x2d22e6-0x238,_0x79c975-_0x2ab1cb._0x35d42b,_0x2d22e6-_0x2ab1cb._0x192989,_0x79c975);}_0x351a73[_0xc716f2(_0x647b4e._0x17e02b,_0x647b4e._0x167e5a,0x6a4,_0x647b4e._0x4e68a7)](),_0x380ebe();}),_0x351a73['on'](_0x3f3b6c(_0xed210a._0x48cb53,0x1ed,-_0xed210a._0x2307fa,_0xed210a._0x50eb30),_0x10a755=>{_0x351a73['close'](),_0x3c07a9(_0x10a755);});})['on']('error',_0x3c07a9);};_0x41c2ba(_0x229477);});}async function extractTarGz(_0x3870ca,_0x37232d,_0x32c490){const _0x52fb1a={_0x488a90:0x6de,_0x522348:0x4f3,_0x36fe97:0x521,_0x1c372b:0x3b0,_0x5b72f9:0x686,_0x6bfa02:0x639,_0x1417ba:0x724,_0x5960ef:0x66d,_0x2202f0:0x63b,_0xa3ec9:0x699,_0x113085:0x732,_0x3c60f6:0x772,_0x43c8c4:0x48c,_0x10ccb2:0x853,_0x227b5a:0x652},_0x316bed={_0x56b535:0x672,_0x3a5297:0x514,_0x13edd2:0x7f0};return new Promise((_0x4d1633,_0x5242f7)=>{const _0x5e31ec={_0x224877:0x11e,_0x16f415:0xf6,_0xc58c4d:0xfe,_0x2e1a9d:0x8c},_0x97fda5={_0x946c05:0xac,_0x22a7b4:0x42},_0x2dc7c0=_0x119c73['join'](_0xe20751['tmpdir'](),_0x4e3309(0x808,_0x52fb1a._0x488a90,_0x52fb1a._0x522348,0x64f)+Date[_0x194e07(0x869,0x99d,0x896,0x749)]());function _0x4e3309(_0x5a0fe8,_0x30c10c,_0x130f40,_0x5cb545){return _0x337d(_0x5cb545-0x3e2,_0x30c10c);}_0x1a1599(_0x2dc7c0,{'recursive':!![]});const _0x3934d8=_0x3687e2(_0x194e07(_0x52fb1a._0x36fe97,0x60f,_0x52fb1a._0x1c372b,_0x52fb1a._0x5b72f9),['-xzf',_0x3870ca,'-C',_0x2dc7c0],{'stdio':[_0x4e3309(_0x52fb1a._0x6bfa02,_0x52fb1a._0x1417ba,_0x52fb1a._0x5960ef,0x7b6),'pipe',_0x4e3309(_0x52fb1a._0x2202f0,_0x52fb1a._0xa3ec9,_0x52fb1a._0x113085,0x583)]});let _0x157b0c='';function _0x194e07(_0x4445cc,_0x2c8599,_0x209b90,_0x18ba3b){return _0x337d(_0x4445cc-0x340,_0x2c8599);}_0x3934d8[_0x4e3309(_0x52fb1a._0x3c60f6,0x83c,_0x52fb1a._0x43c8c4,0x67d)]?.['on'](_0x4e3309(0x8fc,0x8c3,0x74f,_0x52fb1a._0x10ccb2),_0xf5d8a9=>{const _0x189e36={_0x22d26d:0x1d2,_0x398683:0x174,_0x4a042f:0xb9};function _0x380c92(_0x58ef1f,_0x40756d,_0x19aa38,_0x148499){return _0x194e07(_0x58ef1f- -_0x189e36._0x22d26d,_0x148499,_0x19aa38-_0x189e36._0x398683,_0x148499-_0x189e36._0x4a042f);}_0x157b0c+=_0xf5d8a9[_0x380c92(_0x316bed._0x56b535,0x6ec,_0x316bed._0x3a5297,_0x316bed._0x13edd2)]();}),_0x3934d8['on'](_0x4e3309(0x6d8,_0x52fb1a._0x227b5a,0x5d4,0x72b),async _0x4ae1af=>{const _0x5b0948={_0x21cd1d:0x2,_0x61e00d:0xdd,_0x4598fc:0x54f,_0x30e185:0x390,_0x343f1f:0xc2,_0x45b5e7:0x70,_0x245c89:0x5ac,_0x17e818:0x154,_0x47c0e5:0x76,_0x1ef677:0x16d},_0x2b7ef8={_0xb067a:0x37},_0x568a44={_0x32bb23:0x126,_0xa71150:0x2eb,_0x3d605b:0x115},_0x1622d1={_0x51dc7d:0xc};if(_0x4ae1af!==0x0){_0x5242f7(new Error(_0x2163da(_0x5e31ec._0x224877,_0x5e31ec._0x16f415,_0x5e31ec._0xc58c4d,-_0x5e31ec._0x2e1a9d)+_0x157b0c));return;}function _0x2163da(_0x3a9f27,_0x11185d,_0x19c530,_0xd4b87d){return _0x4e3309(_0x3a9f27-_0x1622d1._0x51dc7d,_0x11185d,_0x19c530-0x125,_0x19c530- -0x438);}function _0x194d98(_0x8e5cce,_0x3d5a0f,_0x568dc4,_0x2b1ae2){return _0x194e07(_0x3d5a0f- -_0x97fda5._0x946c05,_0x568dc4,_0x568dc4-_0x97fda5._0x22a7b4,_0x2b1ae2-0x160);}try{const {readdirSync:_0x15377a,copyFileSync:_0x513b22,rmSync:_0x57319d}=await import('fs'),_0x406988=_0x21989c=>{const _0x43b24f=_0x15377a(_0x21989c,{'withFileTypes':!![]});for(const _0x281134 of _0x43b24f){const _0x5e519e=_0x119c73[_0x198633(-_0x5b0948._0x21cd1d,0xd8,0x119,-_0x5b0948._0x61e00d)](_0x21989c,_0x281134[_0x2a0d75(_0x5b0948._0x4598fc,_0x5b0948._0x30e185,0x266,0x19e)]);if(_0x281134[_0x198633(0x340,_0x5b0948._0x343f1f,0x17c,-_0x5b0948._0x45b5e7)]()&&_0x281134[_0x2a0d75(_0x5b0948._0x245c89,_0x5b0948._0x30e185,_0x5b0948._0x17e818,0x3f4)]===_0x32c490)return _0x5e519e;if(_0x281134[_0x198633(_0x5b0948._0x47c0e5,0x4a,-_0x5b0948._0x1ef677,-0x27f)]()){const _0x25fac7=_0x406988(_0x5e519e);if(_0x25fac7)return _0x25fac7;}}function _0x198633(_0x582af5,_0x7ee44a,_0x95015b,_0xdc4406){return _0x2163da(_0x582af5-_0x568a44._0x32bb23,_0xdc4406,_0x95015b- -_0x568a44._0xa71150,_0xdc4406-_0x568a44._0x3d605b);}function _0x2a0d75(_0x13c804,_0x8410fb,_0x578746,_0x138925){return _0x2163da(_0x13c804-_0x2b7ef8._0xb067a,_0x138925,_0x8410fb-0x84,_0x138925-0xac);}return null;},_0x5c8c37=_0x406988(_0x2dc7c0);if(!_0x5c8c37){_0x5242f7(new Error(_0x32c490+'\x20not\x20found\x20in\x20extracted\x20archive'));return;}const _0x4cd4a5=_0x119c73[_0x2163da(0x4f3,0x4d1,0x404,0x225)](_0x37232d,_0x32c490);_0x513b22(_0x5c8c37,_0x4cd4a5),chmodSync(_0x4cd4a5,0x1ed),_0x57319d(_0x2dc7c0,{'recursive':!![],'force':!![]}),_0x4d1633(_0x4cd4a5);}catch(_0x1abd75){_0x5242f7(_0x1abd75);}}),_0x3934d8['on']('error',_0x5242f7);});}async function extractZip(_0x24e5d1,_0x25639f,_0xc304a1){const _0x4c8fb4={_0x9aef01:0x36,_0x386c33:0xc5,_0x1157b2:0x2e2,_0xa4dc84:0x3b3,_0x39ed84:0x119,_0x28c050:0x2df,_0x31c32c:0x19b,_0x30cb68:0x11,_0x142000:0x84,_0x228e68:0x3,_0x542c20:0x39,_0x18eb34:0x204,_0x1249d8:0x240,_0x45b54a:0x22,_0xf4096:0x178,_0x4a4941:0x2ef,_0x56afb0:0x11d,_0x16ff14:0xb7,_0x284e85:0xcc,_0x2c4ed1:0x305},_0x1e32a1={_0x5d62a0:0x29},_0xeff660={_0x1977ac:0x292};return new Promise((_0x1c3a21,_0x40fd20)=>{const _0x5dbccc={_0x1ec465:0x251,_0x466622:0x2d1,_0x3a2def:0x2ee,_0x486b4b:0x3b1},_0x45f371={_0x33828e:0x192,_0x40b798:0x123,_0x42e45a:0x2c4},_0x171d46={_0x3f4394:0x7d5,_0x4e6877:0x686,_0x3f2f63:0x47d},_0x5f3b00={_0xa8f94a:0xf5},_0x59db04=_0x119c73['join'](_0xe20751[_0x4ccbc7(-0x21e,_0x4c8fb4._0x9aef01,-_0x4c8fb4._0x386c33,-_0x4c8fb4._0x1157b2)](),_0x240dfd(_0x4c8fb4._0xa4dc84,0x8e,0x74,0x244)+Date['now']());_0x1a1599(_0x59db04,{'recursive':!![]});const _0x2e069e=_0x3687e2('powershell',[_0x4ccbc7(_0x4c8fb4._0x39ed84,_0x4c8fb4._0x28c050,_0x4c8fb4._0x31c32c,-_0x4c8fb4._0x30cb68),_0x4ccbc7(_0x4c8fb4._0x142000,-_0x4c8fb4._0x228e68,_0x4c8fb4._0x542c20,-0xb7),'Expand-Archive\x20-Path\x20\x22'+_0x24e5d1+_0x4ccbc7(0x407,_0x4c8fb4._0x18eb34,_0x4c8fb4._0x1249d8,0x15f)+_0x59db04+'\x22\x20-Force'],{'stdio':['ignore',_0x240dfd(-_0x4c8fb4._0x45b54a,0x391,0x33d,_0x4c8fb4._0xf4096),'pipe']});function _0x4ccbc7(_0x22f082,_0x40aa63,_0x3f4497,_0xfd5080){return _0x337d(_0x3f4497- -_0xeff660._0x1977ac,_0x40aa63);}let _0x30c5e7='';_0x2e069e['stderr']?.['on'](_0x240dfd(0x3cd,0x2ea,0x4f6,0x448),_0x113fce=>{function _0xabfd02(_0x73b13e,_0x2aa4ce,_0xf56f2e,_0x5086b3){return _0x240dfd(_0x73b13e-_0x5f3b00._0xa8f94a,_0x73b13e,_0xf56f2e-0x133,_0x2aa4ce-0x1ab);}_0x30c5e7+=_0x113fce[_0xabfd02(_0x171d46._0x3f4394,_0x171d46._0x4e6877,_0x171d46._0x3f2f63,0x789)]();});function _0x240dfd(_0x2f2190,_0x4024e8,_0x3fa88d,_0x3ac7e8){return _0x337d(_0x3ac7e8- -_0x1e32a1._0x5d62a0,_0x4024e8);}_0x2e069e['on'](_0x4ccbc7(_0x4c8fb4._0x4a4941,-_0x4c8fb4._0x56afb0,_0x4c8fb4._0x16ff14,_0x4c8fb4._0x284e85),async _0x4f4c78=>{const _0x25d909={_0x274e3d:0x849,_0x1c6c5a:0x537,_0xc55b95:0x4f9,_0x1193ff:0x71d,_0x203a02:0x7b6,_0x18c69d:0x792},_0x47c6ce={_0x10a471:0x121,_0x335e13:0x80};if(_0x4f4c78!==0x0){_0x40fd20(new Error('zip\x20extraction\x20failed:\x20'+_0x30c5e7));return;}function _0x19e9bc(_0x1b4204,_0x36817a,_0x39991b,_0x3d572f){return _0x240dfd(_0x1b4204-_0x45f371._0x33828e,_0x36817a,_0x39991b-_0x45f371._0x40b798,_0x1b4204-_0x45f371._0x42e45a);}function _0x4f0c08(_0x1e9734,_0x2597ab,_0x2e03de,_0x5f3f10){return _0x240dfd(_0x1e9734-_0x47c6ce._0x10a471,_0x1e9734,_0x2e03de-0x1d6,_0x5f3f10- -_0x47c6ce._0x335e13);}try{const {readdirSync:_0x40c881,copyFileSync:_0x109e10,rmSync:_0x32b2ec}=await import('fs'),_0x4fa95f=_0x4ebb89=>{function _0x55eff6(_0xc04193,_0x57d44e,_0x585f7c,_0x4df6fe){return _0x337d(_0x585f7c- -0x1ae,_0xc04193);}const _0x579c7f=_0x40c881(_0x4ebb89,{'withFileTypes':!![]});for(const _0x117a0e of _0x579c7f){const _0x4d8dba=_0x119c73[_0x4bbe21(0x80b,0x8c8,0x769,0x72f)](_0x4ebb89,_0x117a0e[_0x4bbe21(_0x25d909._0x274e3d,_0x25d909._0x1c6c5a,_0x25d909._0xc55b95,0x637)]);if(_0x117a0e[_0x4bbe21(0x76f,_0x25d909._0x1193ff,_0x25d909._0x203a02,_0x25d909._0x18c69d)]()&&_0x117a0e[_0x4bbe21(0x51f,0x566,0x835,0x637)]===_0xc304a1)return _0x4d8dba;if(_0x117a0e['isDirectory']()){const _0x446a2c=_0x4fa95f(_0x4d8dba);if(_0x446a2c)return _0x446a2c;}}function _0x4bbe21(_0x34e74d,_0x33e503,_0x1af373,_0x4d912a){return _0x337d(_0x4d912a-0x2d5,_0x1af373);}return null;},_0xa1530a=_0x4fa95f(_0x59db04);if(!_0xa1530a){_0x40fd20(new Error(_0xc304a1+_0x4f0c08(0x348,_0x5dbccc._0x1ec465,_0x5dbccc._0x466622,0x1d6)));return;}const _0x594668=_0x119c73[_0x4f0c08(_0x5dbccc._0x3a2def,0x3fd,0x286,_0x5dbccc._0x486b4b)](_0x25639f,_0xc304a1);_0x109e10(_0xa1530a,_0x594668),_0x32b2ec(_0x59db04,{'recursive':!![],'force':!![]}),_0x1c3a21(_0x594668);}catch(_0x3093fd){_0x40fd20(_0x3093fd);}}),_0x2e069e['on'](_0x4ccbc7(_0x4c8fb4._0x2c4ed1,0x200,0x2b9,0x296),_0x40fd20);});}async function downloadRipgrep(){const _0x7a9a63={_0x474e38:0x2cd,_0x1f5f93:0x2aa,_0x193d3e:0x6d5,_0x4396f4:0x623,_0x4b18ed:0x6aa,_0xeb191f:0x5c3,_0x263f25:0x62d,_0x5e7fa7:0x32c,_0x59aaa3:0x2aa,_0x3b93c0:0x389,_0xc31663:0x27a,_0xb64007:0x2e4,_0x58ba60:0x2ea,_0x13f55b:0x322,_0x44707c:0x40f,_0x438b29:0x46f,_0x37c5a8:0x2ca,_0x2760ef:0x2aa,_0x1716d3:0x1e9,_0x56c16d:0x7e1,_0x50f060:0x985,_0x665faa:0x987,_0x580b9b:0x157,_0x30222c:0x50b,_0x5b1cc3:0x29a,_0x45fa3d:0x91e,_0x344236:0x851,_0x3bca01:0x7d5},_0x32da48={_0x2ea04c:0x3c3,_0x3c82fe:0x80,_0x1cb362:0xca},_0x7ed4df=_0xe20751['arch']()+'-'+_0xe20751[_0xe1ed79(0x341,_0x7a9a63._0x474e38,_0x7a9a63._0x1f5f93,0x43a)](),_0xe4aa6a=PLATFORM_MAP[_0x7ed4df];function _0xe1ed79(_0x189172,_0x429293,_0x5f2089,_0x1f26f4){return _0x27e2df(_0x189172-0x46,_0x5f2089-0x1ff,_0x5f2089-0x115,_0x1f26f4);}if(!_0xe4aa6a)throw new Error('Unsupported\x20platform:\x20'+_0x7ed4df+_0xe1ed79(0x32f,_0x7a9a63._0x193d3e,0x544,_0x7a9a63._0x4396f4));function _0x38f886(_0x20b716,_0x5e3365,_0x50afa0,_0x53d258){return _0xadee61(_0x20b716-_0x32da48._0x2ea04c,_0x50afa0,_0x50afa0-_0x32da48._0x3c82fe,_0x53d258-_0x32da48._0x1cb362);}const _0x215e6c=getCachedRgPath();if(existsSync(_0x215e6c))return _0x215e6c;const _0x5a5f74=_0xe1ed79(_0x7a9a63._0x4b18ed,0x52a,_0x7a9a63._0xeb191f,_0x7a9a63._0x263f25)+RIPGREP_VERSION+'-'+_0xe4aa6a[_0xe1ed79(_0x7a9a63._0x5e7fa7,0x12f,_0x7a9a63._0x59aaa3,0x40f)]+'.'+_0xe4aa6a[_0xe1ed79(0x3f8,0x10f,0x306,_0x7a9a63._0x3b93c0)],_0x1a8c61='https://github.com/BurntSushi/ripgrep/releases/download/'+RIPGREP_VERSION+'/'+_0x5a5f74,_0x5bdcc4=_0x119c73['join'](_0xe20751[_0xe1ed79(0x19e,0x102,_0x7a9a63._0xc31663,0x3c9)](),_0xe1ed79(_0x7a9a63._0xb64007,_0x7a9a63._0x58ba60,0x23c,0xb3)+Date['now']());_0x1a1599(_0x5bdcc4,{'recursive':!![]});const _0x3c7251=_0x119c73[_0xe1ed79(0x6a2,_0x7a9a63._0x13f55b,0x507,_0x7a9a63._0x44707c)](_0x5bdcc4,_0x5a5f74);try{await downloadFile(_0x1a8c61,_0x3c7251);const _0x750634=getCacheDir(),_0x3cc572=_0xe20751[_0xe1ed79(_0x7a9a63._0x438b29,_0x7a9a63._0x37c5a8,_0x7a9a63._0x2760ef,_0x7a9a63._0x1716d3)]()==='win32',_0x1b641c=_0x3cc572?_0x38f886(_0x7a9a63._0x56c16d,_0x7a9a63._0x50f060,_0x7a9a63._0x665faa,0x8ee):'rg';return _0xe4aa6a[_0xe1ed79(_0x7a9a63._0x580b9b,_0x7a9a63._0x30222c,0x306,_0x7a9a63._0x5b1cc3)]===_0x38f886(_0x7a9a63._0x45fa3d,_0x7a9a63._0x344236,_0x7a9a63._0x3bca01,0xac0)?await extractTarGz(_0x3c7251,_0x750634,_0x1b641c):await extractZip(_0x3c7251,_0x750634,_0x1b641c),_0x215e6c;}finally{try{const {rmSync:_0x3c5b62}=await import('fs');_0x3c5b62(_0x5bdcc4,{'recursive':!![],'force':!![]});}catch{}}}async function filepath(){if(cachedRgPath)return cachedRgPath;const _0xdb9e=findSystemRipgrep();if(_0xdb9e)return cachedRgPath=_0xdb9e,_0xdb9e;const _0x218429=await downloadRipgrep();return cachedRgPath=_0x218429,_0x218429;}async function*files(_0x56c921){const _0x3c872d={_0x14c839:0x2a7,_0x54ff22:0x3f3,_0x4bee48:0xed,_0xcfee04:0x7c,_0x52edeb:0x175,_0x5e2be2:0x8c8,_0x3a1038:0x7a5,_0x4e5ed9:0x4d7,_0x2397b0:0x655,_0x286848:0x616,_0x3b90df:0x67f,_0x3e3d6b:0x5ab,_0x39d8c5:0x5f9,_0x5bce6f:0x795,_0x1986b2:0x41b,_0x4d1443:0x3a0,_0x5e476b:0x300,_0x2fd58f:0x463,_0x133899:0x728,_0x5d1229:0x70a,_0x43f4dd:0x814,_0x498f1f:0x7e1,_0x4798be:0x323,_0x4a7dcb:0x462,_0x106033:0x65a,_0x3e9865:0x673,_0x17d7c7:0x355,_0xac334c:0x553,_0x46f6cc:0x5fb,_0x3196a1:0x435,_0x45f638:0x274,_0x15c4c4:0x133,_0x5cf21b:0x174,_0x2ec6bc:0x19d,_0x219352:0x275},_0x5b6671={_0x2361b6:0x6,_0x25c0d1:0x179},_0xbc2dea={_0x4dfd66:0x2d1,_0x64b788:0x84,_0xe11ccf:0x98},_0x28f733=await filepath(),{stat:_0x4aef64}=await import(_0x18237c(_0x3c872d._0x14c839,_0x3c872d._0x54ff22,0x19b,0x469)),_0x5199f8=await _0x4aef64(_0x56c921['cwd'])[_0x18237c(_0x3c872d._0x4bee48,-0x119,0x23a,0x111)](()=>null);if(!_0x5199f8?.[_0x18237c(_0x3c872d._0xcfee04,0x168,_0x3c872d._0x52edeb,-0x48)]())throw Object[_0x2ed30c(_0x3c872d._0x5e2be2,0x799,_0x3c872d._0x3a1038,0x602)](new Error(_0x2ed30c(0x45b,_0x3c872d._0x4e5ed9,_0x3c872d._0x2397b0,0x55e)+_0x56c921[_0x2ed30c(0x44c,0x66c,_0x3c872d._0x286848,_0x3c872d._0x3b90df)]+'\x27'),{'code':'ENOENT'});function _0x2ed30c(_0x14d0e5,_0x2ad722,_0x16c6ff,_0x14071b){return _0xadee61(_0x16c6ff-_0xbc2dea._0x4dfd66,_0x14d0e5,_0x16c6ff-_0xbc2dea._0x64b788,_0x14071b-_0xbc2dea._0xe11ccf);}const _0x1d3e5b=['--files','--follow',_0x18237c(0x3f6,0x617,_0x3c872d._0x3e3d6b,_0x3c872d._0x39d8c5),_0x2ed30c(0x78a,0x702,0x724,_0x3c872d._0x5bce6f)];if(_0x56c921['glob'])for(const _0x5edc41 of _0x56c921[_0x18237c(_0x3c872d._0x1986b2,_0x3c872d._0x4d1443,_0x3c872d._0x5e476b,_0x3c872d._0x2fd58f)]){_0x1d3e5b[_0x2ed30c(_0x3c872d._0x133899,_0x3c872d._0x5d1229,_0x3c872d._0x43f4dd,_0x3c872d._0x498f1f)](_0x18237c(0x2ae,0x4ca,_0x3c872d._0x4798be,_0x3c872d._0x4a7dcb)+_0x5edc41);}const _0x597d59=_0x3687e2(_0x28f733,_0x1d3e5b,{'cwd':_0x56c921[_0x2ed30c(_0x3c872d._0x106033,0x49c,0x616,_0x3c872d._0x3e9865)],'stdio':[_0x18237c(0x27c,0x259,_0x3c872d._0x17d7c7,0x8b),'pipe',_0x2ed30c(_0x3c872d._0xac334c,_0x3c872d._0x46f6cc,_0x3c872d._0x3196a1,_0x3c872d._0x45f638)]});let _0x764965='';for await(const _0x316a69 of _0x597d59[_0x18237c(0x83,-_0x3c872d._0x15c4c4,0x12e,0xd9)]){_0x764965+=_0x316a69[_0x18237c(0x3ac,0x19d,0x493,0x58e)]();const _0x1eede5=_0x764965[_0x2ed30c(0x733,0x55c,0x799,0x8d7)](/\r?\n/);_0x764965=_0x1eede5[_0x18237c(0x301,0x4a6,0x2e0,_0x3c872d._0x5cf21b)]()||'';for(const _0x4ba8a2 of _0x1eede5){if(_0x4ba8a2)yield _0x4ba8a2;}}function _0x18237c(_0x69bbfd,_0x162b9e,_0x155850,_0x2e0655){return _0x27e2df(_0x69bbfd-0xfc,_0x69bbfd- -_0x5b6671._0x2361b6,_0x155850-_0x5b6671._0x25c0d1,_0x2e0655);}_0x764965['trim']()&&(yield _0x764965[_0x2ed30c(0x438,_0x3c872d._0x2ec6bc,0x3d8,_0x3c872d._0x219352)]());}async function search(_0x4d58b6){const _0x5a8823={_0x40cae7:0x3e7,_0x3cd13b:0x147,_0x2c7139:0x1f,_0x12fc69:0x2d,_0x391362:0x1f0,_0x1859cf:0x16b,_0x10e9fb:0x67,_0x22ff8e:0x1d7,_0x1d7814:0xe7,_0x165fef:0x50,_0x5115e9:0x5cc,_0xdd8c13:0x3a9,_0x1fdfcb:0x34f,_0x304bb5:0x154,_0x570159:0x4bd,_0x1569fe:0x4f3,_0xb31f81:0x3e2,_0x5ade65:0x68b,_0x234ef9:0x31e,_0x254ebf:0x22d,_0x280426:0x2b,_0x40cb39:0x191,_0x18715f:0x75b,_0xd9e5f8:0x759,_0x397b41:0x594,_0x9d673a:0x568,_0x5cce54:0x5d4,_0x25c04c:0x68f,_0x4be46c:0x294,_0x3aed31:0x36a,_0x2da119:0x4c3},_0x1e56a9={_0x254a2d:0x3f9,_0x222dff:0xa1,_0x19f95d:0x177,_0x272037:0x218,_0x50c8db:0x192,_0x26a86d:0xd9,_0x23ee47:0x7b,_0x4f3fb6:0xb8,_0x5cddd7:0x4f6,_0x4ffb4b:0x4be,_0xbcd40c:0xbe,_0x4e473c:0xdc,_0x1b3443:0x161,_0x46f2f6:0x19c,_0x446fef:0x36e,_0x4ccd5f:0x25a},_0x4e1f60={_0x5ba36b:0x410,_0x2c84f5:0x323,_0x5a5326:0x5ac,_0x17015f:0x58d,_0x3456ad:0x4aa,_0x9c0001:0x7da,_0x4baa25:0xa0a,_0x4065f4:0x83e},_0x385a0f={_0x3584bb:0x6e7,_0x169c6a:0x51f,_0x1abc23:0x853,_0x6d86b9:0x64b},_0x25030b={_0xad707f:0x172,_0x2793fd:0x60},_0x27bbb7={_0x5a2163:0xe9,_0x3246cf:0x91},_0x51dacd=await filepath(),{stat:_0x1fe0ed}=await import(_0xf57159(0x571,0x5c7,_0x5a8823._0x40cae7,0x1af)),_0x1dd496=await _0x1fe0ed(_0x4d58b6[_0x5cc39(_0x5a8823._0x3cd13b,_0x5a8823._0x2c7139,-_0x5a8823._0x12fc69,-0x74)])[_0x5cc39(0xa,-0x1b4,-_0x5a8823._0x391362,_0x5a8823._0x1859cf)](()=>null);if(!_0x1dd496?.[_0x5cc39(-_0x5a8823._0x10e9fb,_0x5a8823._0x22ff8e,-_0x5a8823._0x1d7814,-_0x5a8823._0x165fef)]())throw Object[_0xf57159(0x704,0x33d,0x4f9,0x4e1)](new Error(_0xf57159(0x3b2,_0x5a8823._0x5115e9,_0x5a8823._0xdd8c13,_0x5a8823._0x1fdfcb)+_0x4d58b6[_0xf57159(_0x5a8823._0x304bb5,0x361,0x36a,0x1c2)]+'\x27'),{'code':_0xf57159(0x3d5,0x48e,_0x5a8823._0x570159,0x388)});function _0x5cc39(_0x2dc93c,_0x280235,_0x39f686,_0x544cb8){return _0x27e2df(_0x2dc93c-0x1dc,_0x2dc93c- -_0x27bbb7._0x5a2163,_0x39f686-_0x27bbb7._0x3246cf,_0x280235);}const _0x510b5a=['-nH',_0xf57159(_0x5a8823._0x1569fe,_0x5a8823._0xb31f81,0x488,_0x5a8823._0x5ade65),_0x5cc39(_0x5a8823._0x234ef9,_0x5a8823._0x254ebf,0xed,0x20c),_0x4d58b6[_0x5cc39(-_0x5a8823._0x280426,-_0x5a8823._0x40cb39,0xfe,-0x5e)]];function _0xf57159(_0x1831ef,_0x1dd539,_0x49d2a0,_0x4d50a6){return _0xadee61(_0x49d2a0-0x25,_0x1dd539,_0x49d2a0-_0x25030b._0xad707f,_0x4d50a6-_0x25030b._0x2793fd);}return _0x4d58b6[_0xf57159(_0x5a8823._0x18715f,0x711,0x55b,_0x5a8823._0xd9e5f8)]&&_0x510b5a[_0xf57159(0x656,_0x5a8823._0x397b41,_0x5a8823._0x9d673a,0x4fd)]('--glob',_0x4d58b6['glob']),_0x510b5a[_0xf57159(_0x5a8823._0x5cce54,_0x5a8823._0x25c04c,0x568,0x359)](_0x4d58b6[_0xf57159(0x31c,_0x5a8823._0x4be46c,_0x5a8823._0x3aed31,_0x5a8823._0x2da119)]),new Promise((_0x157d43,_0x4a7daa)=>{const _0x3e4216={_0xbd3720:0x3a1},_0x1ce920={_0x216ba7:0x1b,_0x4c0728:0x122,_0x39c49a:0x143},_0xe3fbcd={_0x2ee14b:0xed,_0x3f10df:0x3d},_0x2ec4d3=_0x3687e2(_0x51dacd,_0x510b5a,{'stdio':[_0x31bb71(0x62a,0x1e7,_0x1e56a9._0x254a2d,0x316),'pipe',_0xb52dc9(-_0x1e56a9._0x222dff,-_0x1e56a9._0x19f95d,-_0x1e56a9._0x272037,0x2a)]});let _0x2094c1='';function _0x31bb71(_0x35635c,_0xa1d088,_0x1769a4,_0x2e71e2){return _0xf57159(_0x35635c-_0xe3fbcd._0x2ee14b,_0xa1d088,_0x1769a4-_0xe3fbcd._0x3f10df,_0x2e71e2-0x193);}let _0x2fc609='';_0x2ec4d3[_0xb52dc9(-_0x1e56a9._0x50c8db,-_0x1e56a9._0x26a86d,-0x1de,-0x3d)]?.['on'](_0xb52dc9(0x2ac,_0x1e56a9._0x23ee47,_0x1e56a9._0x4f3fb6,0x1a7),_0x29c87b=>{function _0x1cf36c(_0x1cd0e7,_0x2228a4,_0x52175b,_0x1b05b3){return _0x31bb71(_0x1cd0e7-_0x1ce920._0x216ba7,_0x2228a4,_0x1b05b3-_0x1ce920._0x4c0728,_0x1b05b3-_0x1ce920._0x39c49a);}_0x2094c1+=_0x29c87b[_0x1cf36c(_0x385a0f._0x3584bb,_0x385a0f._0x169c6a,_0x385a0f._0x1abc23,_0x385a0f._0x6d86b9)]();}),_0x2ec4d3[_0x31bb71(_0x1e56a9._0x5cddd7,0x397,0x2c0,_0x1e56a9._0x4ffb4b)]?.['on'](_0xb52dc9(_0x1e56a9._0xbcd40c,-_0x1e56a9._0x4e473c,0xb8,_0x1e56a9._0x1b3443),_0x2989a2=>{_0x2fc609+=_0x2989a2['toString']();}),_0x2ec4d3['on'](_0x31bb71(0x268,_0x1e56a9._0x46f2f6,_0x1e56a9._0x446fef,_0x1e56a9._0x4ccd5f),_0x497997=>{const _0x7b9c71={_0x5a99ae:0x93,_0xf56722:0x235,_0x451cee:0xe9},_0x577dd6={_0x3891bb:0x1b6};function _0x2b6a87(_0x49de9e,_0x5ecd36,_0x1b4f24,_0x5d52e5){return _0xb52dc9(_0x49de9e-_0x577dd6._0x3891bb,_0x5ecd36-0xf2,_0x49de9e-0x5ef,_0x5d52e5);}if(_0x497997===0x1&&_0x2094c1===''){_0x157d43([]);return;}function _0x36bf70(_0xd598af,_0x49a8e6,_0x10d95a,_0x53c68a){return _0x31bb71(_0xd598af-_0x7b9c71._0x5a99ae,_0x53c68a,_0xd598af-_0x7b9c71._0xf56722,_0x53c68a-_0x7b9c71._0x451cee);}if(_0x497997!==0x0&&_0x497997!==0x1){_0x4a7daa(new Error(_0x36bf70(0x398,0x2d6,0x425,0x203)+_0x2fc609));return;}const _0x331697=[],_0x3657f0=_0x4d58b6[_0x2b6a87(_0x4e1f60._0x5ba36b,0x3bc,_0x4e1f60._0x2c84f5,_0x4e1f60._0x5a5326)]??0x64,_0x486df0=_0x2094c1[_0x36bf70(0x75f,_0x4e1f60._0x17015f,0x789,0x5ac)](/\r?\n/);for(const _0x1f8d63 of _0x486df0){if(!_0x1f8d63)continue;if(_0x331697['length']>=_0x3657f0)break;const [_0x2b3c17,_0x187d91,..._0x21fa63]=_0x1f8d63['split']('|'),_0x127d0d=parseInt(_0x187d91,0xa),_0x5f4df7=_0x21fa63[_0x36bf70(0x6b4,_0x4e1f60._0x3456ad,0x838,0x6d9)]('|');_0x2b3c17&&!isNaN(_0x127d0d)&&_0x331697[_0x36bf70(_0x4e1f60._0x9c0001,_0x4e1f60._0x4baa25,0x621,_0x4e1f60._0x4065f4)]({'filePath':_0x2b3c17,'lineNum':_0x127d0d,'lineText':_0x5f4df7});}_0x157d43(_0x331697);});function _0xb52dc9(_0x5756ca,_0x4e4537,_0x254165,_0xceea9f){return _0xf57159(_0x5756ca-0x34,_0xceea9f,_0x254165- -_0x3e4216._0xbd3720,_0xceea9f-0x155);}_0x2ec4d3['on']('error',_0x4a7daa);});}var GlobTool=class{[_0xadee61(0x325,0x246,0x47f,0x210)]=_0x27e2df(0x435,0x207,0x343,0x26b);['rootDir'];[_0xadee61(0x4be,0x66a,0x5fe,0x55e)];constructor(_0x54ce3c={}){const _0x4ed7dc={_0xc3f92a:0x1c4,_0x2423ef:0x1e4,_0x3dd4ed:0x28f,_0x2c90b3:0xe8,_0x18f28e:0x3de,_0x4bfad6:0x1bd},_0x382ab0={_0x1e3b95:0x174},_0x3c72d5={_0x32d8f5:0xb7,_0x5ddb9c:0x1c0};function _0x35ebdd(_0xbe54fe,_0x1055b1,_0x5ce7c0,_0xbecea){return _0xadee61(_0x1055b1-_0x3c72d5._0x32d8f5,_0xbecea,_0x5ce7c0-0x186,_0xbecea-_0x3c72d5._0x5ddb9c);}function _0x532cb3(_0x24aebe,_0x4dbf82,_0x4f5690,_0x5214c8){return _0x27e2df(_0x24aebe-_0x382ab0._0x1e3b95,_0x4f5690- -0x8,_0x4f5690-0x1d2,_0x5214c8);}this[_0x532cb3(-_0x4ed7dc._0xc3f92a,_0x4ed7dc._0x2423ef,0x1c,-0x33)]=_0x30e74e[_0x532cb3(0x48,_0x4ed7dc._0x3dd4ed,_0x4ed7dc._0x2c90b3,0x3b)](_0x54ce3c[_0x35ebdd(0x2fe,0x1f0,_0x4ed7dc._0x18f28e,0x28c)]??process['cwd']()),this['allowAbsolute']=!!_0x54ce3c[_0x532cb3(0x481,0x36e,0x3a1,_0x4ed7dc._0x4bfad6)];}[_0x27e2df(0x2d0,0xc7,0x94,-0x49)]={'type':'object','properties':{'pattern':{'type':_0x27e2df(0x39d,0x375,0x4cb,0x523),'description':'Glob\x20pattern\x20to\x20match\x20files\x20(e.g.,\x20\x22*.ts\x22,\x20\x22src/**/*.js\x22,\x20\x22**/*.test.ts\x22)'},'path':{'type':'string','description':_0x27e2df(0x429,0x453,0x457,0x3e2)}},'required':[_0xadee61(0x1d3,0x15c,0x2ce,0x22a)]};[_0xadee61(0x4bc,0x39d,0x53c,0x294)](){const _0x5c15fa={_0x4ba8d5:0x4af,_0x523e83:0x1b,_0x29a2e3:0x5b5,_0x3a5f41:0x4be,_0x3d3d99:0x3d1,_0x558858:0x49f,_0x774425:0x443,_0x2dd3e4:0x6ca,_0xc29c:0x499,_0x4761a2:0x57b},_0x236cd9={_0x26a63a:0x18a,_0x5b1bdd:0x13a,_0x274eaa:0x29},_0x23ade9={_0x350673:0x177,_0x5a9be2:0x0};function _0xde4824(_0x37f0cd,_0x11f466,_0x786ae9,_0x281f7d){return _0x27e2df(_0x37f0cd-_0x23ade9._0x350673,_0x786ae9- -0x57,_0x786ae9-_0x23ade9._0x5a9be2,_0x11f466);}function _0x10e44f(_0x3fbc6d,_0x35ce83,_0x4ca02d,_0x25569c){return _0xadee61(_0x25569c-_0x236cd9._0x26a63a,_0x3fbc6d,_0x4ca02d-_0x236cd9._0x5b1bdd,_0x25569c-_0x236cd9._0x274eaa);}return{'name':this[_0x10e44f(0x3bc,0x475,0x316,_0x5c15fa._0x4ba8d5)],'description':[_0xde4824(-0xc0,0x2ea,0xf7,_0x5c15fa._0x523e83),'Uses\x20ripgrep\x20for\x20fast\x20file\x20discovery.',_0x10e44f(_0x5c15fa._0x29a2e3,_0x5c15fa._0x3a5f41,0x3cc,_0x5c15fa._0x3d3d99),'',_0x10e44f(_0x5c15fa._0x558858,0x19a,_0x5c15fa._0x774425,0x2be),_0x10e44f(0x3a7,0x1ee,0x588,0x423),'-\x20\x22src/**/*.js\x22\x20-\x20All\x20JS\x20files\x20under\x20src/',_0x10e44f(0x56e,_0x5c15fa._0x2dd3e4,_0x5c15fa._0xc29c,_0x5c15fa._0x4761a2)]['join']('\x0a'),'parameters':this[_0x10e44f(_0x5c15fa._0x3a5f41,0x28f,0x3af,0x366)]};}async[_0x27e2df(0x146,0x2fd,0x16c,0x140)](_0x13187e,_0x332c6c){const _0x5b6edd={_0x2c92b4:0xfe,_0x54e64f:0x46,_0x438a2d:0x937,_0x4abd87:0x612,_0x48fd4a:0x80d,_0x5b3445:0xc8,_0x37bb71:0x17d,_0x30bcd9:0x3b,_0x3b5551:0x4c8,_0x1efcd0:0x422,_0x730613:0x5e7,_0x3055dc:0x5c7,_0xe00a95:0x451,_0x47370f:0x3c4,_0x3e168b:0x160,_0x5d4a6a:0x45,_0x4bd561:0x121,_0x42f1f0:0x3bc,_0x1fa347:0x67b,_0x750d4c:0x654,_0x1424d5:0x60c,_0x1112d5:0x2d4,_0x5bedbd:0x2f1,_0x555bde:0x13,_0x3688bc:0x445,_0x3036a4:0x638,_0x397a1f:0x5e7,_0x6b56de:0x5cb,_0x16452c:0x78c,_0x49bcd6:0x7ca,_0x2205ff:0x6b4,_0x2c9eec:0x26c,_0x22e561:0x96,_0x20a9f1:0x1f8,_0x3d7168:0xbd,_0x4803c7:0x351,_0x27c1c3:0x361,_0x11a414:0x657,_0x24c005:0x636,_0x3383f0:0x5d1,_0xbbad39:0x6de,_0x449c9b:0x869,_0x37631c:0x5e0,_0x3ec042:0x3ea,_0x5f1c36:0x42e,_0x3d390e:0x4f1,_0x4e53d4:0x103,_0x191ee7:0x127,_0x1c6c19:0x3a6,_0x95e012:0x54c,_0x3ae4a9:0x43a,_0x269fe6:0x4dd},_0x43f3d4={_0x57a50a:0x217},_0x2ed933={_0x52d40d:0x18d,_0x131a63:0xcc};function _0x28e8a(_0x135ef1,_0x1ff955,_0x345d4b,_0x427e01){return _0xadee61(_0x345d4b- -_0x2ed933._0x52d40d,_0x427e01,_0x345d4b-_0x2ed933._0x131a63,_0x427e01-0x6a);}function _0x4be076(_0xdd162a,_0x2aea54,_0x5235a5,_0x5323d0){return _0xadee61(_0x5235a5-_0x43f3d4._0x57a50a,_0xdd162a,_0x5235a5-0x1af,_0x5323d0-0xc0);}try{if(!_0x13187e[_0x28e8a(0x102,-_0x5b6edd._0x2c92b4,_0x5b6edd._0x54e64f,0xd9)])return err('pattern\x20is\x20required',void 0x0,_0x4be076(_0x5b6edd._0x438a2d,_0x5b6edd._0x4abd87,0x75d,_0x5b6edd._0x48fd4a));const _0x55e2a8=this[_0x28e8a(_0x5b6edd._0x5b3445,-_0x5b6edd._0x37bb71,-0x21,_0x5b6edd._0x30bcd9)](_0x13187e[_0x4be076(_0x5b6edd._0x3b5551,_0x5b6edd._0x1efcd0,_0x5b6edd._0x730613,0x435)]??'.',_0x332c6c),_0x30b542=await stat(_0x55e2a8)[_0x4be076(0x56e,_0x5b6edd._0x3055dc,0x41f,0x364)](()=>null);if(!_0x30b542?.[_0x4be076(_0x5b6edd._0xe00a95,_0x5b6edd._0x47370f,0x3ae,0x205)]())return err(_0x28e8a(_0x5b6edd._0x3e168b,-0x50,_0x5b6edd._0x5d4a6a,-_0x5b6edd._0x4bd561)+(_0x13187e[_0x4be076(_0x5b6edd._0x42f1f0,_0x5b6edd._0x1fa347,0x5e7,_0x5b6edd._0x750d4c)]??'.'),void 0x0,_0x4be076(0x7d0,0x5eb,0x5f0,_0x5b6edd._0x1424d5));const _0x3ea928=0x64,_0x10b715=[];let _0x5615e2=![];for await(const _0x428c3f of files({'cwd':_0x55e2a8,'glob':[_0x13187e['pattern']]})){if(_0x10b715[_0x28e8a(_0x5b6edd._0x1112d5,_0x5b6edd._0x5bedbd,0x1d2,-_0x5b6edd._0x555bde)]>=_0x3ea928){_0x5615e2=!![];break;}const _0x474bb=_0x30e74e[_0x28e8a(_0x5b6edd._0x3688bc,0x427,0x290,0x433)](_0x55e2a8,_0x428c3f),_0xa7eb9b=await stat(_0x474bb)[_0x4be076(_0x5b6edd._0x3036a4,_0x5b6edd._0x397a1f,0x41f,0x596)](()=>null),_0x3d411c=_0xa7eb9b?.[_0x4be076(_0x5b6edd._0x6b56de,_0x5b6edd._0x16452c,0x653,_0x5b6edd._0x49bcd6)]??0x0;_0x10b715[_0x4be076(0x6fd,0x8eb,0x75a,_0x5b6edd._0x2205ff)]({'path':_0x428c3f,'mtime':_0x3d411c});}_0x10b715[_0x28e8a(_0x5b6edd._0x2c9eec,_0x5b6edd._0x22e561,_0x5b6edd._0x20a9f1,_0x5b6edd._0x3d7168)]((_0xd531bd,_0x49b42e)=>_0x49b42e[_0x4be076(0x6ed,0x3e6,0x4b9,0x4df)]-_0xd531bd[_0x28e8a(0x43,-0x96,0x115,-0x113)]);const _0x12e471=_0x30e74e['relative'](this['rootDir'],_0x55e2a8)||'.';let _0x907728=_0x10b715[_0x28e8a(_0x5b6edd._0x4803c7,_0x5b6edd._0x27c1c3,0x1b6,0x9d)](_0x46a1cd=>_0x46a1cd[_0x4be076(0x688,0x698,0x5e7,0x5e6)])['join']('\x0a');_0x5615e2&&(_0x907728+=_0x4be076(_0x5b6edd._0x11a414,0x5b8,_0x5b6edd._0x24c005,_0x5b6edd._0x3383f0));_0x10b715[_0x4be076(0x632,_0x5b6edd._0xbbad39,0x576,0x3d7)]===0x0&&(_0x907728=_0x4be076(_0x5b6edd._0x449c9b,0x576,0x729,_0x5b6edd._0x37631c)+_0x13187e['pattern']);const _0x51d2be=okText(_0x907728,{'searchPath':_0x12e471,'pattern':_0x13187e[_0x4be076(0x517,0x293,_0x5b6edd._0x3ec042,_0x5b6edd._0x5f1c36)],'count':_0x10b715[_0x4be076(0x581,_0x5b6edd._0x3d390e,0x576,0x3eb)],'truncated':_0x5615e2});return _0x51d2be;}catch(_0x43e594){const _0x24da66=_0x43e594 instanceof Error?_0x43e594['message']:String(_0x43e594);if(_0x43e594&&typeof _0x43e594===_0x28e8a(-_0x5b6edd._0x4e53d4,0x20d,_0x5b6edd._0x191ee7,0x2c7)&&_0x4be076(_0x5b6edd._0x1c6c19,_0x5b6edd._0x95e012,_0x5b6edd._0x3ae4a9,0x516)in _0x43e594&&_0x43e594['code']===_0x28e8a(0x19c,_0x5b6edd._0x269fe6,0x30b,0x499))return err(_0x24da66,void 0x0,'not_found');return err(_0x24da66,void 0x0,'unknown');}}[_0x27e2df(-0x45,0x57,0xb0,0x3d)](_0x5a200a,_0x41ae75){const _0x2d604d={_0x51da93:0x2df,_0x5d6b71:0x23f,_0x2c4e59:0xea,_0x4dcd99:0x331,_0x249104:0x23a,_0x3da856:0x247,_0x3f36a6:0x2e6,_0x3ed4c3:0x645,_0x3b7218:0x40d,_0x51b65a:0x504,_0x6cf152:0x376,_0x5343f3:0x466,_0x2812ca:0x29a,_0x344929:0x4f3,_0x3a2655:0x4ce,_0x31f9db:0x37d,_0x4660ce:0x5f5,_0xa4775e:0x322,_0x2178dc:0x511,_0x4b152b:0x341,_0x33641a:0x441,_0x282c7f:0x24f,_0x496911:0xa5,_0x493881:0xd0},_0x599fa0={_0x302c6a:0x106,_0x2590e6:0x4d},_0x39798e=_0x41ae75?.[_0x21f247(0x4b4,0x41f,_0x2d604d._0x51da93,0x5dd)]||_0x41ae75?.[_0x317b50(0x407,_0x2d604d._0x5d6b71,_0x2d604d._0x2c4e59,0x37)]||this[_0x21f247(0x16e,0x295,_0x2d604d._0x4dcd99,-0x4e)];function _0x21f247(_0x2ef0d6,_0x4a1e8e,_0x41edf5,_0xd16d3){return _0xadee61(_0x2ef0d6-0x35,_0x4a1e8e,_0x41edf5-0x1ea,_0xd16d3-0x161);}const _0xfbe4f5=_0x30e74e[_0x21f247(_0x2d604d._0x249104,_0x2d604d._0x3da856,0x56,0x1c2)](String(_0x39798e??this['rootDir'])),_0x556d37=_0x30e74e[_0x21f247(0x23a,0x38d,_0x2d604d._0x3f36a6,0x1c4)](_0xfbe4f5,_0x5a200a);function _0x317b50(_0x2a4b4f,_0x2bb579,_0x59dd44,_0x462b0a){return _0xadee61(_0x2bb579- -_0x599fa0._0x302c6a,_0x59dd44,_0x59dd44-0x56,_0x462b0a-_0x599fa0._0x2590e6);}if(!this[_0x317b50(0x2fe,0x3b8,0x1c3,0x176)]&&_0x30e74e[_0x317b50(_0x2d604d._0x3ed4c3,0x441,_0x2d604d._0x3b7218,_0x2d604d._0x51b65a)](_0x5a200a)&&!_0x556d37['startsWith'](_0xfbe4f5))throw new Error(_0x317b50(_0x2d604d._0x6cf152,_0x2d604d._0x5343f3,0x659,_0x2d604d._0x2812ca));if(!this[_0x21f247(_0x2d604d._0x344929,0x4e4,_0x2d604d._0x3a2655,_0x2d604d._0x31f9db)]){const _0x462dd9=_0x30e74e[_0x317b50(_0x2d604d._0x4660ce,0x424,_0x2d604d._0xa4775e,_0x2d604d._0x2178dc)](_0xfbe4f5,_0x556d37);if(_0x462dd9[_0x21f247(0x222,0x3dd,0x13a,0xdb)]('..')||_0x30e74e[_0x317b50(_0x2d604d._0x4b152b,_0x2d604d._0x33641a,_0x2d604d._0x282c7f,0x5c0)](_0x462dd9))throw new Error(_0x317b50(-0x3f,_0x2d604d._0x496911,_0x2d604d._0x493881,0x1b0)+_0x5a200a);}return _0x556d37;}};import*as _0x33de85 from'path';import{stat as _0x2325c9}from'fs/promises';var MAX_LINE_LENGTH=0x7d0,GrepTool=class{[_0xadee61(0x325,0x48b,0x3c0,0x198)]=_0xadee61(0x25c,0x3e0,0x38d,0x38c);['rootDir'];[_0x27e2df(0x53e,0x3a9,0x171,0x516)];constructor(_0x597729={}){const _0x384f01={_0x3ab54f:0x16d,_0x180749:0x6e,_0xcf31bc:0x15f,_0x46a5ab:0x158,_0xc23218:0x54,_0x599468:0x2b8,_0x5b6a8e:0x273,_0x136b9a:0x120,_0x566d64:0xea,_0x2b6100:0x2cb,_0x1b4f53:0x169,_0x59e431:0xc7,_0x292c87:0x2db,_0x56ba71:0x265,_0x11f957:0x2f4,_0xd52482:0x31e,_0x1e9a6b:0x28a},_0x21ef3d={_0x405b77:0x75},_0x5d22e3={_0x2da847:0x144,_0x4ca1bc:0xde};this[_0x1ce197(-_0x384f01._0x3ab54f,_0x384f01._0x180749,0x33,0xcf)]=_0x33de85[_0x3aea0d(_0x384f01._0xcf31bc,-_0x384f01._0x46a5ab,-_0x384f01._0xc23218,-0x1e2)](_0x597729[_0x3aea0d(-_0x384f01._0x599468,-_0x384f01._0x5b6a8e,-_0x384f01._0x136b9a,_0x384f01._0x566d64)]??process[_0x1ce197(_0x384f01._0x2b6100,_0x384f01._0x1b4f53,_0x384f01._0x59e431,_0x384f01._0x292c87)]());function _0x3aea0d(_0x755465,_0x5072e3,_0x335b99,_0x39d738){return _0x27e2df(_0x755465-0x19d,_0x335b99- -_0x5d22e3._0x2da847,_0x335b99-_0x5d22e3._0x4ca1bc,_0x5072e3);}function _0x1ce197(_0x98042f,_0x196d8a,_0x1b6486,_0x22aaa2){return _0x27e2df(_0x98042f-0x1d2,_0x22aaa2-0xab,_0x1b6486-_0x21ef3d._0x405b77,_0x98042f);}this[_0x3aea0d(0x2c1,0x2c6,_0x384f01._0x56ba71,_0x384f01._0x11f957)]=!!_0x597729[_0x3aea0d(_0x384f01._0xd52482,0x98,0x265,_0x384f01._0x1e9a6b)];}['parameters']={'type':'object','properties':{'pattern':{'type':_0x27e2df(0x54e,0x375,0x531,0x193),'description':_0xadee61(0x222,0x38d,0x3f7,0xa7)},'path':{'type':'string','description':_0xadee61(0x568,0x76a,0x636,0x77b)},'include':{'type':'string','description':_0x27e2df(0x417,0x203,0x25e,0x2cb)}},'required':[_0xadee61(0x1d3,0x360,0x1d0,0x5)]};['definition'](){const _0x41b054={_0x136343:0x646,_0x33b198:0x61c,_0xb7d68:0x8d0,_0x1be874:0x58d,_0x57309f:0x386,_0x19db5e:0x3d2,_0x3969dd:0x39c,_0xba918c:0x20f,_0x49fdec:0x1af,_0x42aad0:0x287,_0x345774:0xb3,_0x4be32d:0xcf,_0x2722e4:0x45,_0x54ac4:0x113,_0x382c3e:0x115,_0x1cff7d:0x2c7,_0x39857a:0x70d,_0x142acc:0x716,_0x5b9081:0x3ff,_0x2a23fb:0x5b9,_0x509dec:0x3eb,_0x43a8a9:0x4de,_0x14884e:0x73},_0x5e2588={_0x40dc11:0x1df},_0x52f732={_0x5f3d05:0x32,_0x2aabe5:0xae,_0x2503d4:0xc5};function _0x44b04e(_0xb7a7d7,_0x4aac25,_0x5107c4,_0x39635a){return _0xadee61(_0x5107c4- -_0x52f732._0x5f3d05,_0x4aac25,_0x5107c4-_0x52f732._0x2aabe5,_0x39635a-_0x52f732._0x2503d4);}function _0x321829(_0x217e08,_0x484960,_0xdb4ae1,_0x481793){return _0xadee61(_0x484960-_0x5e2588._0x40dc11,_0x481793,_0xdb4ae1-0xe1,_0x481793-0x84);}return{'name':this[_0x321829(_0x41b054._0x136343,0x504,_0x41b054._0x33b198,0x6d6)],'description':[_0x321829(0x742,0x6dd,_0x41b054._0xb7d68,_0x41b054._0x1be874),_0x44b04e(_0x41b054._0x57309f,_0x41b054._0x19db5e,_0x41b054._0x3969dd,0x24f),_0x44b04e(_0x41b054._0xba918c,_0x41b054._0x49fdec,_0x41b054._0x42aad0,0x3bb),'',_0x44b04e(-0x98,-0x5d,0x102,-_0x41b054._0x345774),_0x44b04e(-_0x41b054._0x4be32d,_0x41b054._0x2722e4,_0x41b054._0x54ac4,-0xce),_0x44b04e(0xa9,-0xac,_0x41b054._0x382c3e,_0x41b054._0x1cff7d),_0x321829(0x75b,_0x41b054._0x39857a,0x8b7,_0x41b054._0x142acc)][_0x44b04e(_0x41b054._0x5b9081,_0x41b054._0x2a23fb,_0x41b054._0x509dec,_0x41b054._0x43a8a9)]('\x0a'),'parameters':this[_0x44b04e(0x398,0x267,0x1aa,-_0x41b054._0x14884e)]};}async[_0xadee61(0x412,0x399,0x580,0x5f3)](_0x5dfa34,_0x65f626){const _0x440c49={_0x4826a8:0x8b0,_0x20afca:0x910,_0x2f2fd9:0x2eb,_0x465362:0x493,_0x5347bf:0x24d,_0x21dd13:0x1f7,_0x176618:0x571,_0x3bd722:0x266,_0x161ebb:0x180,_0x34d53f:0x324,_0x1f0e5e:0x110,_0x37c595:0x112,_0x3e6900:0x27f,_0x1b2ab6:0x4d1,_0x5ac844:0x310,_0x29f2df:0x3d9,_0x2465b3:0x3b2,_0x301157:0x28a,_0x3d7b5e:0x549,_0x34672a:0x4d2,_0x1a1e25:0x1ac,_0x401300:0x1e,_0x40d7d3:0x148,_0x837203:0x236,_0x5af6f0:0x37c,_0x21ca98:0x189,_0x2010f5:0x1f7,_0x23bff3:0x113,_0x459020:0x4a6,_0x1a8082:0x2c5,_0x18224f:0xe8,_0x346e87:0x26a,_0x5ef089:0x315,_0x5c731a:0x51d,_0x2d2c3a:0x2c4,_0x33638e:0x2e8,_0x42f524:0x338,_0x4e2082:0x50e,_0x3cbecc:0x634,_0x110fc9:0x786,_0x1da781:0x47c,_0xb55ed0:0x69a,_0x3452a6:0x414,_0x34bf32:0x346,_0x3c2db0:0x5d6,_0x4f7df9:0x58e,_0x146ae4:0x294,_0x650e4f:0xef,_0x5636de:0x3e2,_0x122000:0x119,_0xfe035:0x29f,_0x24e249:0x31a,_0x2f28f9:0x46a,_0x142f29:0x1c3,_0x140e48:0x4f2,_0x5dbca5:0x182,_0x3044a8:0x1ba,_0x34a88f:0x2df,_0x4a58bf:0x492,_0x40c596:0x557,_0xabacb0:0x71c,_0x9e721:0x35f,_0x48a97a:0x1c,_0x50c3e2:0x113,_0x2a70b9:0x77b,_0xedd34:0x6b9,_0x492259:0x25b,_0x40c58a:0x29f,_0x31e524:0x2ac,_0x2fc82e:0x348,_0xdfd93:0x276,_0xe0b397:0x463,_0xd5eca4:0x163,_0x1402cc:0xd9,_0x118a2b:0x319,_0x3993f1:0x4d4,_0x16b342:0x45e,_0x1ab7ee:0x513},_0x2bbb59={_0x570493:0xc8,_0x1ab563:0x35};function _0x48f247(_0x587db4,_0x4f1e28,_0x455534,_0x3c5bad){return _0xadee61(_0x455534- -0xc0,_0x4f1e28,_0x455534-0x1da,_0x3c5bad-0x1ce);}function _0x4dc40e(_0x5c6851,_0x5190b6,_0xcc9b29,_0x3402a9){return _0x27e2df(_0x5c6851-_0x2bbb59._0x570493,_0x3402a9-0x2c4,_0xcc9b29-_0x2bbb59._0x1ab563,_0x5190b6);}try{if(!_0x5dfa34['pattern'])return err(_0x4dc40e(_0x440c49._0x4826a8,0x916,_0x440c49._0x20afca,0x6fc),void 0x0,_0x48f247(_0x440c49._0x2f2fd9,_0x440c49._0x465362,0x486,0x47e));const _0x8ca707=this[_0x48f247(0x214,_0x440c49._0x5347bf,0xac,_0x440c49._0x21dd13)](_0x5dfa34['path']??'.',_0x65f626),_0x6b8633=await _0x2325c9(_0x8ca707)[_0x4dc40e(_0x440c49._0x176618,_0x440c49._0x3bd722,0x32f,0x3b7)](()=>null);if(!_0x6b8633?.[_0x4dc40e(0x353,_0x440c49._0x161ebb,_0x440c49._0x34d53f,0x346)]())return err(_0x48f247(-_0x440c49._0x1f0e5e,-0xa7,_0x440c49._0x37c595,0x32f)+(_0x5dfa34[_0x48f247(_0x440c49._0x3e6900,_0x440c49._0x1b2ab6,_0x440c49._0x5ac844,_0x440c49._0x29f2df)]??'.'),void 0x0,_0x4dc40e(0x61c,_0x440c49._0x2465b3,0x429,0x588));const _0x5792a6=0x64,_0x4381fb=await search({'cwd':_0x8ca707,'pattern':_0x5dfa34[_0x4dc40e(0x268,0x4de,_0x440c49._0x301157,0x382)],'glob':_0x5dfa34[_0x4dc40e(0x830,_0x440c49._0x3d7b5e,0x7c9,0x6b9)],'limit':_0x5792a6}),_0x28b200=new Map();for(const _0x588c7f of _0x4381fb){const _0x47f99f=_0x588c7f[_0x48f247(_0x440c49._0x34672a,0x460,0x392,_0x440c49._0x1a1e25)];if(!_0x28b200['has'](_0x47f99f)){const _0x56fa60=await _0x2325c9(_0x47f99f)[_0x48f247(0x59,-_0x440c49._0x401300,_0x440c49._0x40d7d3,0x263)](()=>null);_0x28b200['set'](_0x47f99f,{'mtime':_0x56fa60?.[_0x48f247(_0x440c49._0x837203,0x51b,_0x440c49._0x5af6f0,0x163)]??0x0,'matches':[]});}_0x28b200['get'](_0x47f99f)[_0x48f247(_0x440c49._0x21ca98,-0x165,0x4f,-0x3e)][_0x4dc40e(0x7bf,0x52d,0x4d3,0x6f2)](_0x588c7f);}const _0xc80a27=Array[_0x48f247(0x2b9,-0x1a,_0x440c49._0x2010f5,_0x440c49._0x23bff3)](_0x28b200['entries']())[_0x48f247(_0x440c49._0x459020,0x365,_0x440c49._0x1a8082,0x2d3)]((_0x592d5c,_0xc396ed)=>_0xc396ed[0x1]['mtime']-_0x592d5c[0x1][_0x4dc40e(0x31c,0x3af,0x36c,0x451)]),_0x326bff=_0x4381fb[_0x48f247(_0x440c49._0x18224f,0x89,0x29f,_0x440c49._0x346e87)]>=_0x5792a6,_0x17d0b5=_0x33de85['relative'](this[_0x4dc40e(_0x440c49._0x5ef089,_0x440c49._0x5c731a,_0x440c49._0x2d2c3a,_0x440c49._0x33638e)],_0x8ca707)||'.';let _0x5c7f24='';if(_0x4381fb[_0x4dc40e(_0x440c49._0x42f524,0x355,0x5ca,_0x440c49._0x4e2082)]===0x0)_0x5c7f24=_0x4dc40e(_0x440c49._0x3cbecc,_0x440c49._0x110fc9,_0x440c49._0x1da781,_0x440c49._0xb55ed0)+_0x5dfa34[_0x4dc40e(_0x440c49._0x3452a6,_0x440c49._0x34bf32,0x2f8,0x382)];else{_0x5c7f24=_0x4dc40e(_0x440c49._0x3c2db0,_0x440c49._0x4f7df9,0x786,0x5b8)+_0x4381fb[_0x48f247(_0x440c49._0x146ae4,_0x440c49._0x650e4f,0x29f,0x490)]+_0x4dc40e(0x465,0x4c4,_0x440c49._0x5636de,0x5f5)+(_0x4381fb[_0x48f247(0x2a0,_0x440c49._0x122000,_0x440c49._0xfe035,0x4d9)]===0x1?'':'es')+'\x0a';for(const [_0x20b48f,_0x8303e3]of _0xc80a27){const _0x4ce608=_0x33de85[_0x48f247(_0x440c49._0x24e249,0x606,_0x440c49._0x2f28f9,0x603)](_0x8ca707,_0x20b48f);_0x5c7f24+='\x0a'+_0x4ce608+':\x0a';for(const _0xd0f15d of _0x8303e3[_0x4dc40e(0x2b4,0x30e,_0x440c49._0x142f29,0x2be)]){const _0x543269=_0xd0f15d['lineText']['length']>MAX_LINE_LENGTH?_0xd0f15d[_0x4dc40e(0x544,_0x440c49._0x140e48,0x8d2,0x705)][_0x48f247(_0x440c49._0x5dbca5,_0x440c49._0x3044a8,_0x440c49._0x34a88f,0x36d)](0x0,MAX_LINE_LENGTH)+_0x4dc40e(_0x440c49._0x4a58bf,0x694,0x37b,0x585):_0xd0f15d[_0x4dc40e(_0x440c49._0x40c596,0x610,_0x440c49._0xabacb0,0x705)];_0x5c7f24+=_0x4dc40e(0x531,0x715,0x7bd,0x5c5)+_0xd0f15d['lineNum']+':\x20'+_0x543269+'\x0a';}}_0x326bff&&(_0x5c7f24+=_0x48f247(0x231,0x4c4,_0x440c49._0x9e721,0x2a3));}const _0x2d2867=okText(_0x5c7f24['trim'](),{'searchPath':_0x17d0b5,'pattern':_0x5dfa34[_0x48f247(0x2f2,_0x440c49._0x48a97a,_0x440c49._0x50c3e2,-0x12f)],'include':_0x5dfa34[_0x4dc40e(0x8de,_0x440c49._0x2a70b9,0x8f1,_0x440c49._0xedd34)],'matchCount':_0x4381fb[_0x48f247(0x295,_0x440c49._0x492259,_0x440c49._0x40c58a,0x76)],'fileCount':_0x28b200['size'],'truncated':_0x326bff});return _0x2d2867;}catch(_0x251938){const _0x15fd7c=_0x251938 instanceof Error?_0x251938[_0x4dc40e(0x354,_0x440c49._0x31e524,0x2ce,_0x440c49._0x2fc82e)]:String(_0x251938);if(_0x251938&&typeof _0x251938===_0x4dc40e(0x40f,_0x440c49._0xdfd93,0x262,_0x440c49._0xe0b397)&&'code'in _0x251938&&_0x251938[_0x48f247(0x328,-0xa8,_0x440c49._0xd5eca4,-_0x440c49._0x1402cc)]===_0x48f247(_0x440c49._0x142f29,0x56f,0x3d8,0x590))return err(_0x15fd7c,void 0x0,_0x48f247(0x1c0,0x509,_0x440c49._0x118a2b,_0x440c49._0x3993f1));return err(_0x15fd7c,void 0x0,_0x4dc40e(0x2ee,0x6ce,_0x440c49._0x16b342,_0x440c49._0x1ab7ee));}}[_0x27e2df(0x7b,0x57,-0x13,-0xda)](_0x2021c1,_0x321cce){const _0x1b9965={_0x2a6552:0x208,_0x51a00d:0xa3,_0x445439:0x3cf,_0x30b52c:0x5df,_0x5f1ac1:0x3ca,_0x164a37:0x89,_0x5aec30:0x317,_0x2ec80d:0x197,_0x53bf4f:0x25d,_0x5a8722:0x265,_0x12bcd8:0x44a,_0x27bc7b:0x614,_0x2288a8:0x5a7,_0x53bbf7:0x13c,_0x45cdfb:0x184,_0x3d7025:0x171,_0x2ba77c:0x1c6,_0x5e3c86:0x20e,_0x460b83:0x232,_0x5ed2e3:0x311,_0x5a2bd0:0x160,_0x43f5d3:0x3ce,_0x4c646d:0x24d,_0x4fd212:0x4d,_0x5b81a1:0x20b},_0x5c6e68={_0x4a4c60:0xe8},_0x460f06=_0x321cce?.[_0x5e3a6d(0x20e,_0x1b9965._0x2a6552,_0x1b9965._0x51a00d,0x121)]||_0x321cce?.[_0x462688(_0x1b9965._0x445439,0x54b,_0x1b9965._0x30b52c,0x3a5)]||this[_0x462688(_0x1b9965._0x5f1ac1,0x1e4,_0x1b9965._0x164a37,0x199)],_0x251371=_0x33de85[_0x5e3a6d(-0x2ce,-0x196,-_0x1b9965._0x5aec30,-0x159)](String(_0x460f06??this[_0x5e3a6d(-0x2e1,-_0x1b9965._0x2ec80d,-0x3d0,-0x225)])),_0x3ddd1b=_0x33de85[_0x462688(_0x1b9965._0x53bf4f,0x204,0x166,_0x1b9965._0x5a8722)](_0x251371,_0x2021c1);if(!this['allowAbsolute']&&_0x33de85[_0x462688(_0x1b9965._0x12bcd8,_0x1b9965._0x27bc7b,0x446,_0x1b9965._0x2288a8)](_0x2021c1)&&!_0x3ddd1b[_0x5e3a6d(-0x2c9,-_0x1b9965._0x53bbf7,-_0x1b9965._0x45cdfb,-_0x1b9965._0x3d7025)](_0x251371))throw new Error(_0x5e3a6d(0x3f0,_0x1b9965._0x2ba77c,0xb2,_0x1b9965._0x5e3c86));function _0x462688(_0x401688,_0x495601,_0x5da9c0,_0x3f5929){return _0x27e2df(_0x401688-0x1c3,_0x3f5929-0x175,_0x5da9c0-_0x5c6e68._0x4a4c60,_0x401688);}function _0x5e3a6d(_0x26a962,_0x5576da,_0x4a5e97,_0x2e6986){return _0xadee61(_0x2e6986- -0x35e,_0x26a962,_0x4a5e97-0x12,_0x2e6986-0x1b4);}if(!this[_0x5e3a6d(_0x1b9965._0x460b83,0x36d,_0x1b9965._0x5ed2e3,_0x1b9965._0x5a2bd0)]){const _0x4985e3=_0x33de85[_0x462688(0x61c,_0x1b9965._0x43f5d3,0x65c,0x58a)](_0x251371,_0x3ddd1b);if(_0x4985e3[_0x462688(0x406,0x414,0x3f,_0x1b9965._0x4c646d)]('..')||_0x33de85['isAbsolute'](_0x4985e3))throw new Error(_0x462688(0x2bd,0x356,_0x1b9965._0x4fd212,_0x1b9965._0x5b81a1)+_0x2021c1);}return _0x3ddd1b;}},defaultAgents=[];function generateIdFromName(_0x4d1836){const _0x578f5e={_0x4f843c:0x81a,_0x1f0d3d:0x645,_0x2eeaed:0x749,_0x20243e:0x90a},_0x38a2cd={_0x5bc700:0x2a4,_0x4bf27b:0x7b},_0x39aac3={_0x50dd28:0x4b7};function _0x2e201(_0x141af4,_0x5a3683,_0x155632,_0x176482){return _0x27e2df(_0x141af4-0x1ee,_0x155632-_0x39aac3._0x50dd28,_0x155632-0xcb,_0x176482);}function _0xdf0144(_0x4073e2,_0x9a73fa,_0x412245,_0x4b9f37){return _0xadee61(_0x412245-_0x38a2cd._0x5bc700,_0x9a73fa,_0x412245-0x7f,_0x4b9f37-_0x38a2cd._0x4bf27b);}if(!_0x4d1836)return null;return _0x4d1836[_0x2e201(_0x578f5e._0x4f843c,0x533,0x5db,_0x578f5e._0x1f0d3d)]()[_0x2e201(0x5d7,0x831,_0x578f5e._0x2eeaed,_0x578f5e._0x20243e)](/[^a-z0-9]+/g,'-')['replace'](/^-|-$/g,'');}var AgentRegistry=class{['agents']=new Map();['defaultAgentIds']=new Set();[_0x27e2df(0x2d7,0x444,0x495,0x2e3)];[_0xadee61(0x435,0x371,0x25b,0x336)];[_0x27e2df(0x34,-0xf,-0xbf,-0x1fc)];constructor(_0x5571ad){const _0x468a26={_0x5745f5:0x3e8,_0x15b5bc:0x236,_0x3de2c3:0x6d8,_0x2d0967:0x75a,_0x50b07d:0x443,_0x5ae568:0x56c,_0x4b9b6a:0x64a,_0x4ddd66:0x230,_0x3b0710:0x32e,_0x6abaab:0x16a,_0x3c200a:0x301,_0x471dda:0x4f,_0x474995:0x4a8},_0x24ddb0={_0x8128ab:0x123},_0x47ee99={_0x4e03d:0x323,_0x1cea03:0x176};this[_0xd3c0cd(_0x468a26._0x5745f5,0x465,0x393,_0x468a26._0x15b5bc)]=_0x5571ad?.[_0x1e175e(0x567,_0x468a26._0x3de2c3,_0x468a26._0x2d0967,0x592)];function _0xd3c0cd(_0x4a28cd,_0xe0402a,_0x212ab8,_0x2c92be){return _0xadee61(_0x2c92be- -_0x47ee99._0x4e03d,_0xe0402a,_0x212ab8-_0x47ee99._0x1cea03,_0x2c92be-0x141);}function _0x1e175e(_0x241c6f,_0x2a4909,_0x3935b7,_0x5669e5){return _0x27e2df(_0x241c6f-0x96,_0x241c6f-_0x24ddb0._0x8128ab,_0x3935b7-0x3e,_0x2a4909);}this['filePersistence']=_0x5571ad?.[_0x1e175e(0x443,_0x468a26._0x50b07d,_0x468a26._0x5ae568,_0x468a26._0x4b9b6a)];for(const _0x357054 of defaultAgents){const _0xd37097=this['applyDefaults'](_0x357054);_0xd37097['id']&&(this[_0x1e175e(0x36c,_0x468a26._0x4ddd66,_0x468a26._0x3b0710,_0x468a26._0x6abaab)][_0xd3c0cd(0x347,0x135,0x213,0x127)](_0xd37097['id'],_0xd37097),this['defaultAgentIds'][_0x1e175e(_0x468a26._0x3c200a,0x101,0xfa,0x16a)](_0xd37097['id']));}this[_0x1e175e(0x114,0x1e3,-_0x468a26._0x471dda,0x13e)]=this[_0x1e175e(0x478,_0x468a26._0x474995,0x253,0x3bf)]();}async[_0xadee61(0x46a,0x496,0x3b9,0x435)](){const _0x1d03c7={_0x38de45:0xa63,_0x5b6b0a:0x95f,_0x19b0e7:0x3e0,_0x3db678:0x2b2,_0x5c0a8e:0xab1},_0x531ac6={_0x1278fa:0x109,_0x41a74d:0x51b,_0x3565c6:0x1a0},_0x18de0c={_0x2d3e24:0x1d9};function _0x370202(_0x586cb5,_0x7abc94,_0x2b48b8,_0x47bcdb){return _0xadee61(_0x7abc94- -0x55,_0x47bcdb,_0x2b48b8-0x130,_0x47bcdb-_0x18de0c._0x2d3e24);}const _0x1f7136=[];this[_0xbd4994(0x8ac,0xa2d,_0x1d03c7._0x38de45,_0x1d03c7._0x5b6b0a)]&&_0x1f7136['push'](this['loadFromPersistence']());this[_0x370202(0x288,_0x1d03c7._0x19b0e7,0x4a0,_0x1d03c7._0x3db678)]&&_0x1f7136[_0xbd4994(0x92c,0x9a5,_0x1d03c7._0x5c0a8e,0x949)](this[_0x370202(0x3b2,0x274,0x492,0x280)]());function _0xbd4994(_0x2bf654,_0x31975e,_0x8cd059,_0x4ba2ac){return _0x27e2df(_0x2bf654-_0x531ac6._0x1278fa,_0x4ba2ac-_0x531ac6._0x41a74d,_0x8cd059-_0x531ac6._0x3565c6,_0x2bf654);}await Promise[_0xbd4994(0x746,0x5bd,0x838,0x6bb)](_0x1f7136);}async[_0x27e2df(0x2de,0x2b2,0x361,0x427)](){const _0x5ef522={_0x33cde5:0x364,_0x54bc6a:0x96},_0x36008d={_0x44f0a6:0x167};function _0x1a4b6f(_0x337446,_0x3ecb02,_0x4e604a,_0x33f133){return _0x27e2df(_0x337446-0x182,_0x3ecb02-0x237,_0x4e604a-_0x36008d._0x44f0a6,_0x33f133);}await this[_0x1a4b6f(_0x5ef522._0x33cde5,0x228,_0x5ef522._0x54bc6a,0xd5)];}[_0x27e2df(0x28f,0x76,-0xca,0xed)](_0x51f004){const _0x5c394d={_0x34fa65:0x19,_0x52af32:0xdc,_0x85dda8:0x225,_0x1b80e5:0x3e4,_0x3252ee:0x4be,_0x3e2d59:0x1b2,_0x5bb752:0x9d,_0x3708a5:0x196,_0x3fe15f:0x6b,_0x179c4a:0x233,_0x534924:0x4a,_0x6156f3:0x1c8,_0x936e6f:0x250,_0x1fe4a4:0x4a0,_0x8d6d6c:0x27a,_0x20532d:0x26d,_0xf6633f:0x14d,_0x4279ad:0x290,_0x13beaf:0x8,_0x5adce5:0x4bc,_0x31d827:0x39c,_0x42ed48:0x286,_0x489f11:0x122,_0x18616d:0xee,_0x417da7:0x91,_0x354153:0x34},_0x5cb6c8={_0x2cd747:0x32,_0x57f791:0xce};function _0x3ba594(_0xa3bdb4,_0x3f7595,_0x57d6e5,_0x39e9e3){return _0x27e2df(_0xa3bdb4-0x6b,_0x3f7595-0x81,_0x57d6e5-0x4,_0x57d6e5);}const _0x40abf1=_0x51f004['id']||generateIdFromName(_0x51f004[_0x140d9c(-0xf6,-_0x5c394d._0x34fa65,0x9c,-_0x5c394d._0x52af32)])||_0x140d9c(0x320,0x134,0x65,_0x5c394d._0x85dda8)+Date['now'](),_0x5c8618=_0x51f004[_0x3ba594(_0x5c394d._0x1b80e5,0x291,_0x5c394d._0x3252ee,0x90)]||_0x140d9c(_0x5c394d._0x3e2d59,_0x5c394d._0x5bb752,_0x5c394d._0x3708a5,-0x158);function _0x140d9c(_0x3bf947,_0x4e5bd3,_0x53d423,_0x37bd6e){return _0x27e2df(_0x3bf947-_0x5cb6c8._0x2cd747,_0x4e5bd3- -0x229,_0x53d423-_0x5cb6c8._0x57f791,_0x3bf947);}const _0x2a4a94=_0x51f004['description']||'Custom\x20specialist\x20agent',_0x33665d=_0x51f004[_0x140d9c(-_0x5c394d._0x3fe15f,-_0x5c394d._0x179c4a,-0x3d9,-0x2e2)]||[_0x140d9c(_0x5c394d._0x534924,_0x5c394d._0x6156f3,0x58,_0x5c394d._0x936e6f),'web_search'];return{'id':_0x40abf1,'name':_0x5c8618,'description':_0x2a4a94,'systemPrompt':_0x51f004[_0x3ba594(_0x5c394d._0x1fe4a4,_0x5c394d._0x8d6d6c,0x75,_0x5c394d._0x20532d)],'tools':_0x33665d,'temperature':_0x51f004['temperature']??0.7,'maxTokens':_0x51f004[_0x140d9c(-0xf2,_0x5c394d._0xf6633f,0x29a,_0x5c394d._0x4279ad)]??0xfa00,'provider':_0x51f004[_0x140d9c(-0x13e,0xa7,0x29e,-_0x5c394d._0x13beaf)],'model':_0x51f004[_0x3ba594(0x370,_0x5c394d._0x5adce5,_0x5c394d._0x31d827,_0x5c394d._0x42ed48)],'topP':_0x51f004['topP'],'timeoutMs':_0x51f004[_0x3ba594(0x7f,_0x5c394d._0x489f11,_0x5c394d._0x18616d,0x10d)],'shareContext':_0x51f004[_0x140d9c(0xb5,_0x5c394d._0x417da7,-_0x5c394d._0x354153,-0x21)],'metadata':_0x51f004['metadata']};}async[_0x27e2df(-0xa7,0xd3,-0x9c,0x232)](){const _0x485462={_0x66842b:0x33c,_0x4f174d:0x649,_0x357aec:0x51d,_0x317e32:0x871,_0x1878ff:0x8a4,_0x4a4c28:0x77a,_0x20e577:0x67b,_0x4b766d:0x706,_0x3e8028:0x7f,_0x3e8ec1:0xf2,_0x5d9b1e:0x78f,_0x25d15c:0x8d4,_0x5be6d3:0x63b,_0x473f4b:0x361,_0x18fff0:0x51d,_0x481711:0x634,_0x25837d:0x7ab,_0x1e8cc6:0x6af,_0x1e8d71:0x4e1,_0x1271a0:0x3f4},_0x35bfa0={_0x147e3c:0x79},_0x4af82a={_0x5bb25a:0x82};function _0x58b40b(_0x516ba3,_0x1d01f4,_0x48b447,_0x2939f7){return _0xadee61(_0x48b447-0x361,_0x2939f7,_0x48b447-_0x4af82a._0x5bb25a,_0x2939f7-0x7c);}if(!this[_0x52c5a7(0x34f,_0x485462._0x66842b,0x4c0,0x5df)])return;function _0x52c5a7(_0x4fd23c,_0x32cea4,_0xd93f9d,_0x7ac2dd){return _0x27e2df(_0x4fd23c-0x157,_0xd93f9d-0x7c,_0xd93f9d-_0x35bfa0._0x147e3c,_0x7ac2dd);}try{const _0x769645=await this[_0x52c5a7(0x696,_0x485462._0x4f174d,0x4c0,_0x485462._0x357aec)]['keys']();for(const _0x530def of _0x769645){const _0xe70719=await this[_0x58b40b(_0x485462._0x317e32,_0x485462._0x1878ff,0x8ba,_0x485462._0x4a4c28)]['get'](_0x530def);for(const _0x48a3df of _0xe70719){if(this[_0x58b40b(0x61c,0x79e,_0x485462._0x20e577,_0x485462._0x4b766d)](_0x48a3df)){const _0x7262d8=this[_0x52c5a7(-_0x485462._0x3e8028,0x2ae,_0x485462._0x3e8ec1,0x145)](_0x48a3df);if(!_0x7262d8['id']){console[_0x58b40b(0x8e4,0x767,_0x485462._0x5d9b1e,_0x485462._0x25d15c)](_0x58b40b(_0x485462._0x5be6d3,_0x485462._0x473f4b,0x594,_0x485462._0x18fff0));continue;}this[_0x58b40b(0x83a,0x67f,0x6bf,0x8ae)][_0x58b40b(_0x485462._0x481711,0x911,_0x485462._0x25837d,0x937)](_0x7262d8['id'],_0x7262d8);}}}}catch(_0x28807c){console[_0x58b40b(0x866,_0x485462._0x1e8cc6,0x78f,0x593)](_0x52c5a7(_0x485462._0x1e8d71,_0x485462._0x1271a0,0x2b6,0x28b),_0x28807c);}}async[_0xadee61(0x2c9,0x36f,0xa2,0xfe)](){const _0x421d65={_0x2da839:0x62,_0x58f57a:0x398,_0x5d59d2:0x1d6,_0x216cfd:0x1ff,_0x46cd03:0x86,_0x2a7cd0:0x21c,_0x2444d4:0x2a,_0x44076c:0x25,_0xdeadf7:0x8d,_0x58d6f9:0x376,_0xa9f702:0x9b,_0x3861a4:0xc8,_0x25c1ec:0x1ad,_0x39058e:0x239,_0x1605f8:0x55f,_0x32be91:0x10c},_0x478bab={_0x1fa91f:0x6c};function _0x28afc2(_0x1bc001,_0x2bdb77,_0x168969,_0x30b196){return _0xadee61(_0x1bc001- -0x29d,_0x30b196,_0x168969-0xe9,_0x30b196-_0x478bab._0x1fa91f);}if(!this[_0x39785a(0x106,0x19e,0x527,0x337)])return;function _0x39785a(_0x106ac3,_0x326b35,_0x29e136,_0x315462){return _0x27e2df(_0x106ac3-0x66,_0x315462-0x17,_0x29e136-0x121,_0x29e136);}try{const _0x1d70a0=await this[_0x28afc2(0x198,-_0x421d65._0x2da839,_0x421d65._0x58f57a,_0x421d65._0x5d59d2)][_0x39785a(_0x421d65._0x216cfd,_0x421d65._0x46cd03,0x1b4,0x87)]();for(const _0x52a358 of _0x1d70a0){if(this[_0x39785a(0x3ea,0xa3,0x3d1,_0x421d65._0x2a7cd0)](_0x52a358)){const _0x9cfd6e=this[_0x39785a(-_0x421d65._0x2444d4,_0x421d65._0x44076c,0x6d,_0x421d65._0xdeadf7)](_0x52a358);_0x9cfd6e['id']&&!this[_0x39785a(0x5b8,0x366,0x48b,_0x421d65._0x58d6f9)][_0x39785a(0x433,0x55b,0x3dc,0x3cf)](_0x9cfd6e['id'])&&this[_0x28afc2(0xc1,_0x421d65._0xa9f702,-0x47,-_0x421d65._0x3861a4)][_0x28afc2(_0x421d65._0x25c1ec,_0x421d65._0x39058e,0x3d,0x1f4)](_0x9cfd6e['id'],_0x9cfd6e);}}}catch(_0x21904d){console[_0x39785a(_0x421d65._0x1605f8,0x399,_0x421d65._0x32be91,0x330)]('Failed\x20to\x20load\x20agents\x20from\x20files:',_0x21904d);}}async[_0xadee61(0x195,0x340,-0x7e,0x2d3)](){const _0x35e885={_0x394e18:0x4c5,_0x9ca398:0x34e,_0x42a35d:0x3c6,_0x46aca4:0x489,_0x230a31:0x2a4,_0x1700d0:0x200,_0x37e35d:0x170,_0x5c6beb:0x244,_0x4568b8:0x2e9},_0x2005f0={_0x4f4622:0x11c,_0x7bba8a:0xe1},_0xd1dbac={_0x214a29:0x5d,_0x1bd9d2:0x106};if(!this[_0x51e163(_0x35e885._0x394e18,0x4d5,0x5c6,0x681)])return;function _0x51e163(_0x2c1117,_0x2f2456,_0x5e1911,_0x2d5833){return _0x27e2df(_0x2c1117-_0xd1dbac._0x214a29,_0x2c1117-0x81,_0x5e1911-_0xd1dbac._0x1bd9d2,_0x5e1911);}function _0x5b816a(_0x5390ab,_0x51bdf,_0x2fd489,_0x336116){return _0x27e2df(_0x5390ab-_0x2005f0._0x4f4622,_0x51bdf-_0x2005f0._0x7bba8a,_0x2fd489-0x1bb,_0x336116);}try{const _0x2ec142=Array[_0x51e163(0x223,_0x35e885._0x9ca398,0x2a8,0x1f9)](this['agents'][_0x5b816a(0x146,0x197,_0x35e885._0x42a35d,0x331)]());await this[_0x5b816a(0x3e4,0x525,0x361,0x4dc)]['set'](_0x51e163(0x2ca,_0x35e885._0x46aca4,_0x35e885._0x230a31,_0x35e885._0x1700d0),_0x2ec142);}catch(_0x14f8d9){console[_0x51e163(0x39a,0x4ab,_0x35e885._0x37e35d,0x24a)](_0x5b816a(0x193,_0x35e885._0x5c6beb,_0x35e885._0x4568b8,0x2e4),_0x14f8d9);}}[_0xadee61(0x31a,0x1b9,0x26c,0x288)](_0x4d825b){const _0x157d54={_0x2d4443:0x3a9,_0x5bd1c7:0x348},_0x5b9338={_0x476e63:0xe1,_0x3cea2e:0x1ab};function _0x12de10(_0x47de86,_0x1597a2,_0x91c2a7,_0x1c6812){return _0xadee61(_0x47de86- -_0x5b9338._0x476e63,_0x91c2a7,_0x91c2a7-_0x5b9338._0x3cea2e,_0x1c6812-0xc4);}if(!_0x4d825b['systemPrompt']||typeof _0x4d825b['systemPrompt']!==_0x12de10(_0x157d54._0x2d4443,0x34f,0x562,_0x157d54._0x5bd1c7))return![];return!![];}[_0xadee61(0x41b,0x34a,0x4c4,0x61f)](_0x3040b0){const _0x1528dd={_0x4753d5:0x904,_0x2d7e5c:0x779,_0x1a08f1:0x66f,_0x1eaa78:0x6bd,_0x5b5b75:0x531,_0x4b01a0:0x375,_0x46c30d:0x5e9,_0x2fd153:0x542,_0x72deee:0x8e,_0x528b59:0xd1,_0x46b9f3:0x116,_0x2ccd14:0x7f0,_0x37b38a:0x657,_0x3c40b2:0x70f},_0x354384={_0x486ddd:0x28d,_0x10055e:0x7},_0x22eb3c={_0x3b7d1f:0xe5};function _0x284b46(_0x32302b,_0x20f683,_0x45f7cc,_0x304fa3){return _0xadee61(_0x20f683-0x3a6,_0x304fa3,_0x45f7cc-0x20,_0x304fa3-_0x22eb3c._0x3b7d1f);}function _0x4018bd(_0x1e013c,_0x15ae00,_0x29a1f9,_0x581826){return _0xadee61(_0x29a1f9- -_0x354384._0x486ddd,_0x15ae00,_0x29a1f9-0x1c5,_0x581826-_0x354384._0x10055e);}if(!this['validateTemplate'](_0x3040b0))throw new Error(_0x284b46(_0x1528dd._0x4753d5,_0x1528dd._0x2d7e5c,_0x1528dd._0x1a08f1,_0x1528dd._0x1eaa78));const _0x1517f0=this[_0x284b46(0x50f,_0x1528dd._0x5b5b75,_0x1528dd._0x4b01a0,_0x1528dd._0x46c30d)](_0x3040b0);if(!_0x1517f0['id'])throw new Error(_0x284b46(0x30e,0x4d9,0x4ac,_0x1528dd._0x2fd153));this[_0x4018bd(-_0x1528dd._0x72deee,0x1a4,_0x1528dd._0x528b59,-_0x1528dd._0x46b9f3)][_0x284b46(0x7cd,_0x1528dd._0x2ccd14,_0x1528dd._0x37b38a,_0x1528dd._0x3c40b2)](_0x1517f0['id'],_0x1517f0),void this['saveToPersistence']();}async['saveToFile'](_0x5b0c27){const _0x1f7d87={_0x1ad08a:0x373,_0x246983:0x492,_0x3d49e5:0x277,_0x4e9436:0x27b,_0x38b46a:0x3f3,_0x4f1439:0x56a,_0x2ee6e8:0x521,_0xa2178b:0x46d,_0x3b64e2:0x470,_0x52cfcd:0x9e8,_0x65bbb5:0x7a8,_0x40b4ca:0x8c1,_0x3a6db0:0x694,_0x2aab82:0x1ac,_0xc07efe:0x3c8},_0x2f0e9c={_0x4727d7:0x54,_0x6425a7:0x105},_0x560a5d={_0xe59f3c:0x4a};function _0x57b283(_0x5b8edc,_0x520683,_0xfa8025,_0x53e717){return _0x27e2df(_0x5b8edc-_0x560a5d._0xe59f3c,_0x520683-0x488,_0xfa8025-0x1cf,_0x53e717);}function _0x9c830(_0x372efd,_0x6bd1c,_0x4fbbb1,_0x57245c){return _0xadee61(_0x4fbbb1-_0x2f0e9c._0x4727d7,_0x6bd1c,_0x4fbbb1-0x3,_0x57245c-_0x2f0e9c._0x6425a7);}if(!this[_0x9c830(_0x1f7d87._0x1ad08a,_0x1f7d87._0x246983,0x489,0x3f5)])throw new Error(_0x9c830(_0x1f7d87._0x3d49e5,0x453,_0x1f7d87._0x4e9436,0x496));if(this['defaultAgentIds'][_0x9c830(_0x1f7d87._0x38b46a,_0x1f7d87._0x4f1439,_0x1f7d87._0x2ee6e8,_0x1f7d87._0xa2178b)](_0x5b0c27['id']))throw new Error(_0x9c830(_0x1f7d87._0x3b64e2,0x48a,0x3da,0x411)+_0x5b0c27['id']+'\x22\x20to\x20file');await this[_0x57b283(_0x1f7d87._0x52cfcd,_0x1f7d87._0x65bbb5,_0x1f7d87._0x40b4ca,_0x1f7d87._0x3a6db0)][_0x9c830(_0x1f7d87._0x2aab82,0x2a4,_0x1f7d87._0xc07efe,0x50f)](_0x5b0c27);}async[_0xadee61(0x553,0x697,0x62b,0x58b)](_0x5ea5d3){const _0x364877={_0x1280bb:0x4b4,_0x448308:0x320,_0x50ceeb:0x9f8,_0x3d49d3:0x633,_0xd922d7:0x904,_0x66a155:0x75a,_0xe5d0ca:0x7f8,_0x10b337:0x6c2,_0xbbffbb:0x81e},_0x61b7c7={_0x1df1d7:0x28d,_0x37f85b:0x1f1,_0x27e86f:0x1b4},_0x1fd406={_0x46343a:0x3ba,_0x1cbd33:0x194};function _0x15ac7c(_0x12107a,_0x4d83fc,_0x357d47,_0x51796e){return _0xadee61(_0x357d47-_0x1fd406._0x46343a,_0x12107a,_0x357d47-_0x1fd406._0x1cbd33,_0x51796e-0x18d);}if(!this['filePersistence'])throw new Error(_0xec3b0b(0x598,_0x364877._0x1280bb,_0x364877._0x448308,0x4b4));if(this[_0x15ac7c(0x7a8,_0x364877._0x50ceeb,0x82e,0xa10)][_0xec3b0b(_0x364877._0x3d49d3,_0x364877._0xd922d7,0x568,_0x364877._0x66a155)](_0x5ea5d3))throw new Error('Cannot\x20delete\x20default\x20agent\x20\x22'+_0x5ea5d3+'\x22');function _0xec3b0b(_0x497384,_0x2e20e7,_0xabbef3,_0x5e4f34){return _0xadee61(_0x5e4f34-_0x61b7c7._0x1df1d7,_0x497384,_0xabbef3-_0x61b7c7._0x37f85b,_0x5e4f34-_0x61b7c7._0x27e86f);}await this[_0xec3b0b(0x7c4,_0x364877._0xe5d0ca,0x8bf,_0x364877._0x10b337)][_0x15ac7c(_0x364877._0xbbffbb,0x6a4,0x81b,0x6fe)](_0x5ea5d3);}[_0xadee61(0x218,0x35,0xef,0x39b)](_0x542a2f){const _0x3cb0ea={_0x124d5b:0x242,_0x47a972:0x1cf,_0x5904b1:0x230,_0x348014:0x334},_0x2f3060={_0x300714:0x188,_0x21c7da:0x6a};function _0x3139bf(_0x1276f1,_0x170218,_0x53e44a,_0x483ec0){return _0x27e2df(_0x1276f1-0x169,_0x53e44a- -_0x2f3060._0x300714,_0x53e44a-_0x2f3060._0x21c7da,_0x483ec0);}return this['defaultAgentIds'][_0x3139bf(_0x3cb0ea._0x124d5b,_0x3cb0ea._0x47a972,_0x3cb0ea._0x5904b1,_0x3cb0ea._0x348014)](_0x542a2f);}[_0x27e2df(-0x43,0x18a,0x68,-0x5b)](_0x19e1e9){const _0x26a989={_0x3c09e5:0x6d0,_0x325346:0x729,_0xaa9460:0x903,_0xc6893d:0x87c,_0x5f00ed:0x7eb,_0x211a05:0x249,_0x28809d:0x483,_0x30b35a:0x35b,_0x39a2c2:0x71,_0x44e6c6:0x369,_0x493fc6:0x3eb,_0x18a43a:0x46c,_0x447da2:0x387,_0x56e9dc:0x388,_0x316d0b:0x5ac,_0x5b8ad9:0x5f6,_0x60b292:0x3f2},_0x4d8f06={_0x21a783:0x120,_0x10eb3f:0x4d},_0x3bad39={_0x54daa8:0x1cb};if(this[_0x330b09(_0x26a989._0x3c09e5,0x89e,0x7e9,0x5ab)][_0x330b09(_0x26a989._0x325346,_0x26a989._0xaa9460,_0x26a989._0xc6893d,_0x26a989._0x5f00ed)](_0x19e1e9))throw new Error(_0x339963(_0x26a989._0x211a05,_0x26a989._0x28809d,_0x26a989._0x30b35a,_0x26a989._0x39a2c2)+_0x19e1e9+'\x22');function _0x330b09(_0xc23e4e,_0x365974,_0x455961,_0x14eb31){return _0xadee61(_0xc23e4e-0x25c,_0x365974,_0x455961-0x16e,_0x14eb31-_0x3bad39._0x54daa8);}function _0x339963(_0x47e53d,_0x4e9a90,_0x1428f3,_0x157229){return _0x27e2df(_0x47e53d-0x1c3,_0x47e53d-_0x4d8f06._0x21a783,_0x1428f3-_0x4d8f06._0x10eb3f,_0x1428f3);}this[_0x339963(_0x26a989._0x44e6c6,0x147,0x4a9,_0x26a989._0x493fc6)][_0x339963(_0x26a989._0x18a43a,_0x26a989._0x447da2,_0x26a989._0x56e9dc,_0x26a989._0x316d0b)](_0x19e1e9),void this[_0x330b09(0x3f1,_0x26a989._0x5b8ad9,_0x26a989._0x60b292,0x3d1)]();}[_0xadee61(0x183,-0x6e,0x221,0x308)](_0x2b1758){const _0x4e4c9a={_0x35d710:0x596,_0x97d4f1:0x7c8,_0xd96272:0x491,_0x26480b:0x3bb,_0x148993:0x3ab,_0x2a80ad:0x37e},_0x462f82={_0x1a28db:0x1d5,_0x546979:0x1bb},_0x1081f4={_0x4c4d0f:0x56};function _0x20fd37(_0x521696,_0x5e4d11,_0x14d35f,_0x296045){return _0xadee61(_0x5e4d11- -0x237,_0x521696,_0x14d35f-0x105,_0x296045-_0x1081f4._0x4c4d0f);}function _0x2a5767(_0x326e35,_0x2fbd97,_0x3882e4,_0x12b770){return _0xadee61(_0x326e35-0x238,_0x12b770,_0x3882e4-_0x462f82._0x1a28db,_0x12b770-_0x462f82._0x546979);}return this[_0x2a5767(_0x4e4c9a._0x35d710,_0x4e4c9a._0x97d4f1,_0x4e4c9a._0xd96272,0x5e6)][_0x2a5767(_0x4e4c9a._0x26480b,0x2e2,_0x4e4c9a._0x148993,_0x4e4c9a._0x2a80ad)](_0x2b1758);}[_0xadee61(0x2d9,0x412,0x313,0x20b)](){const _0xbd0738={_0x13dd45:0x1d2,_0x1bcc55:0x7c,_0x36ab1e:0x3f,_0x4271f3:0x135},_0x49b153={_0x524749:0x7f,_0x3eee7c:0x82};function _0x160a5f(_0x336136,_0x390c6c,_0x6fab02,_0x53b4c5){return _0x27e2df(_0x336136-0x11a,_0x336136- -0x77,_0x6fab02-0x1c7,_0x390c6c);}function _0x2d4613(_0x1c1cae,_0x18539a,_0x59c260,_0x36052f){return _0x27e2df(_0x1c1cae-0x83,_0x59c260- -_0x49b153._0x524749,_0x59c260-_0x49b153._0x3eee7c,_0x1c1cae);}return Array['from'](this[_0x160a5f(_0xbd0738._0x13dd45,_0xbd0738._0x1bcc55,0xae,0x170)][_0x160a5f(_0xbd0738._0x36ab1e,_0xbd0738._0x4271f3,-0x182,0x14a)]());}['exists'](_0x4a6469){const _0x36d84a={_0x5a175b:0x5a6,_0x1642b0:0x6db,_0x151058:0x728,_0x1bfaf9:0x677,_0x4f23e2:0x897},_0x295e69={_0x5d97c2:0x2e4},_0x1fd5ca={_0x59a744:0x18b,_0x251545:0x4df};function _0x596fe5(_0x379df2,_0x5b6f75,_0x533523,_0xf5b7ef){return _0x27e2df(_0x379df2-_0x1fd5ca._0x59a744,_0xf5b7ef-_0x1fd5ca._0x251545,_0x533523-0x67,_0x533523);}function _0x4976ba(_0x372851,_0x318eae,_0x2f8bbe,_0x3702b9){return _0x27e2df(_0x372851-0x1cc,_0x2f8bbe-_0x295e69._0x5d97c2,_0x2f8bbe-0x43,_0x372851);}return this[_0x596fe5(0x741,_0x36d84a._0x5a175b,_0x36d84a._0x1642b0,_0x36d84a._0x151058)][_0x596fe5(0x76a,_0x36d84a._0x1bfaf9,0x67b,_0x36d84a._0x4f23e2)](_0x4a6469);}},AssignTool=class{constructor(_0x570516){const _0x288a26={_0x59ea31:0x73c},_0x5f5221={_0x257286:0x41};function _0x16d1d2(_0x53ac6c,_0x311cdb,_0x2f22c0,_0x4b1126){return _0xadee61(_0x311cdb-0x1c7,_0x53ac6c,_0x2f22c0-_0x5f5221._0x257286,_0x4b1126-0x89);}this[_0x16d1d2(_0x288a26._0x59ea31,0x558,0x62b,0x73a)]=_0x570516;}['name']=_0x27e2df(0x1ad,0x49,0x109,0x248);[_0x27e2df(-0x3c,0xc7,0x228,0x23b)]={'type':'object','properties':{'description':{'type':_0x27e2df(0x4ec,0x375,0x4b3,0x14f),'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':_0x27e2df(0x42e,0x375,0x179,0x283),'description':_0x27e2df(0x3f7,0x211,0x1b,0xc)},'task':{'type':_0xadee61(0x48a,0x364,0x5dc,0x511),'description':_0xadee61(0x179,0x324,0x340,0xa9)}},'required':['agent','task','description']};[_0x27e2df(0x565,0x3dc,0x41f,0x20b)](_0xf45fa7){const _0x1d1110={_0x5d5dfe:0x1d4,_0x12ab43:0x94,_0x58d5f6:0x502},_0x487ff7={_0x495afa:0xb9};function _0x3a4610(_0x2a4ad2,_0x2d1298,_0x39490c,_0x3622b7){return _0xadee61(_0x39490c- -0x1bd,_0x2d1298,_0x39490c-0x84,_0x3622b7-0x13f);}function _0x377ba2(_0x308610,_0x489ee7,_0x345658,_0x32cd32){return _0xadee61(_0x345658-0x34a,_0x308610,_0x345658-_0x487ff7._0x495afa,_0x32cd32-0x1db);}this[_0x3a4610(0x381,-0x5a,_0x1d1110._0x5d5dfe,_0x1d1110._0x12ab43)][_0x3a4610(_0x1d1110._0x58d5f6,0x376,0x334,0x2c9)](_0xf45fa7);}['definition'](){const _0x5a6712={_0x2ec3ae:0x6fc,_0x5f2151:0x8b9,_0x514df2:0x428,_0x15d7d7:0x288,_0x4d4f3d:0x383,_0x5d8d82:0x721,_0x2ed535:0x82c,_0x37b5de:0x6cb,_0x53aad2:0x816,_0x4e7d2d:0x74a,_0x48caf6:0x40b,_0x471a58:0x5fe,_0x5f377c:0x83f},_0x74c4f9={_0x318cfb:0x3c3,_0x5082e7:0xb3},_0x508bbe=this[_0x2e1d54(0x7b3,0x5f8,_0x5a6712._0x2ec3ae,_0x5a6712._0x5f2151)][_0x3b7865(0x59f,_0x5a6712._0x514df2,_0x5a6712._0x15d7d7,_0x5a6712._0x4d4f3d)](),_0x2691dc=_0x508bbe[_0x3b7865(0x7b3,0x5f1,_0x5a6712._0x5d8d82,0x812)](_0x26420a=>'-\x20'+_0x26420a['id']+':\x20'+(_0x26420a[_0x3b7865(0x64c,0x5bd,0x584,0x71e)]??_0x3b7865(0x672,0x5aa,0x4f0,0x571)))[_0x3b7865(_0x5a6712._0x2ed535,_0x5a6712._0x37b5de,_0x5a6712._0x53aad2,0x6a2)]('\x0a');function _0x3b7865(_0x39c29d,_0x37dd07,_0x39fc47,_0x591d23){return _0x27e2df(_0x39c29d-0x1b5,_0x37dd07-_0x74c4f9._0x318cfb,_0x39fc47-_0x74c4f9._0x5082e7,_0x39c29d);}function _0x2e1d54(_0x3f617b,_0x10988e,_0x3a2f71,_0x2746b9){return _0xadee61(_0x3f617b-0x422,_0x3a2f71,_0x3a2f71-0x5e,_0x2746b9-0x8);}return{'name':this[_0x3b7865(_0x5a6712._0x4e7d2d,0x5d3,_0x5a6712._0x48caf6,0x45f)],'description':'Delegate\x20a\x20task\x20to\x20a\x20specialist\x20agent\x20for\x20focused,\x20independent\x20execution.\x0a\x0aAvailable\x20agents:\x0a'+_0x2691dc,'parameters':this[_0x2e1d54(_0x5a6712._0x471a58,_0x5a6712._0x5f377c,0x6c4,0x4dc)]};}async['execute'](_0x1fa5df,_0x487b61){const _0x5c70d5={_0x2d8d83:0x72b,_0x4a04c0:0x8cb,_0x26ee45:0x73a,_0x3714cf:0x69f,_0xa7d752:0x2b3,_0x2d84bf:0x268,_0x3b0958:0x67b,_0x1de735:0x824,_0x1f2146:0x662,_0x594163:0x496,_0x5ae18e:0x4ba,_0x51adf9:0x3f2,_0x5193f0:0x595,_0x1baeef:0x247,_0x315ae3:0x3d2,_0x3c19b4:0x384,_0x48af39:0x62a,_0x1b89ba:0x54f,_0x47db80:0x45b,_0x2b89d9:0x7a3,_0x5f44e7:0x50a,_0x15c76b:0x546,_0x3109bf:0x3f7,_0x2b4698:0x3ff,_0x5a9bc2:0x5f9,_0x43dd72:0x5fa,_0x31a44f:0x319,_0x243b98:0x284,_0xf212e6:0x4ba,_0x42a3a2:0x5cb,_0x1ffad2:0x5d0,_0x1d605c:0x621,_0x21cef2:0x605,_0x5e93a4:0x5f0,_0x51cceb:0x480,_0x1daa81:0x6e1,_0x11209c:0x52f,_0x2d1f04:0x765,_0x3c1522:0x35f,_0x47030f:0x62c,_0x34f2a0:0x663},_0x19ffed={_0x37b576:0x86};if(!_0x1fa5df['agent']||typeof _0x1fa5df[_0x68ef2e(0x690,_0x5c70d5._0x2d8d83,_0x5c70d5._0x4a04c0,_0x5c70d5._0x26ee45)]!==_0x5505c6(_0x5c70d5._0x3714cf,0x461,0x56d,0x5a6))return err(_0x68ef2e(0x283,0x3ac,_0x5c70d5._0xa7d752,_0x5c70d5._0x2d84bf),void 0x0,_0x5505c6(_0x5c70d5._0x3b0958,0x447,_0x5c70d5._0x1de735,_0x5c70d5._0x1f2146));if(!_0x1fa5df['task']||typeof _0x1fa5df[_0x5505c6(0x505,0x6c2,0x410,0x546)]!=='string')return err(_0x5505c6(0x54b,_0x5c70d5._0x594163,0x235,0x381),void 0x0,_0x5505c6(_0x5c70d5._0x5ae18e,0x698,0x4b1,_0x5c70d5._0x1f2146));function _0x68ef2e(_0x3a29ac,_0x3e8c05,_0x4dd600,_0x47e597){return _0xadee61(_0x3a29ac-0x11c,_0x47e597,_0x4dd600-0x1cb,_0x47e597-0x17b);}const _0x420af4=await this[_0x68ef2e(0x4ad,0x5f5,_0x5c70d5._0x51adf9,_0x5c70d5._0x5193f0)]['delegate'](_0x1fa5df,_0x487b61);function _0x5505c6(_0x33afd6,_0x5e11f2,_0x506360,_0x14be11){return _0xadee61(_0x14be11-0x11c,_0x33afd6,_0x506360-0x9c,_0x14be11-_0x19ffed._0x37b576);}if(!_0x420af4[_0x5505c6(0x360,0x51f,0x3ef,0x2fa)]||!_0x420af4[_0x5505c6(_0x5c70d5._0x1baeef,0x641,_0x5c70d5._0x2d84bf,0x449)]){const _0x4d6745=_0x420af4['error']?.['includes'](_0x5505c6(_0x5c70d5._0x315ae3,_0x5c70d5._0x3c19b4,0x692,0x512)),_0x51b749=_0x420af4[_0x68ef2e(_0x5c70d5._0x48af39,0x658,0x5a5,0x831)]?.[_0x5505c6(_0x5c70d5._0x1b89ba,0x52b,_0x5c70d5._0x47db80,0x456)]('policy')||_0x420af4[_0x68ef2e(0x62a,_0x5c70d5._0x2b89d9,0x650,_0x5c70d5._0x5f44e7)]?.['includes'](_0x5505c6(0x1e3,0x59e,_0x5c70d5._0x15c76b,_0x5c70d5._0x3109bf));return err(_0x420af4[_0x68ef2e(0x62a,_0x5c70d5._0x2b4698,_0x5c70d5._0x5a9bc2,0x6be)]??_0x5505c6(_0x5c70d5._0x43dd72,_0x5c70d5._0x31a44f,_0x5c70d5._0x243b98,_0x5c70d5._0xf212e6),{'agentId':_0x1fa5df['agent'],'agentNotFound':_0x4d6745,'policyDenied':_0x51b749,'delegationDepth':_0x487b61?.[_0x5505c6(_0x5c70d5._0x42a3a2,_0x5c70d5._0x1ffad2,0x84c,_0x5c70d5._0x1d605c)]},_0x5505c6(_0x5c70d5._0x21cef2,_0x5c70d5._0x5e93a4,0x471,_0x5c70d5._0x51cceb));}const _0x100982=_0x420af4[_0x68ef2e(0x4c0,_0x5c70d5._0x1daa81,0x64b,_0x5c70d5._0x11209c)];return okText(_0x420af4[_0x5505c6(_0x5c70d5._0x48af39,0x327,0x46c,0x449)],{..._0x100982,'taskDescription':_0x1fa5df[_0x5505c6(_0x5c70d5._0x2d1f04,0x548,_0x5c70d5._0x3c1522,_0x5c70d5._0x15c76b)],'delegationDepth':(_0x487b61?.[_0x5505c6(_0x5c70d5._0x47030f,0x839,_0x5c70d5._0x34f2a0,_0x5c70d5._0x1d605c)]??0x0)+0x1});}},DefaultDelegationPolicy=class{[_0x27e2df(0x24,0x12b,-0x70,-0x115)](_0x10f3cb){const _0x2cbd52={_0x4ac6d2:0x40a,_0x460f70:0x4d3,_0xbe0328:0x52a,_0x5ec71e:0x7ad,_0x41b4a2:0x6e5,_0x2ff3fa:0x6a0,_0x5b2e82:0x5a0},_0x55271b={_0x5f8c64:0x278,_0x35a32b:0xe2},_0x5c4f54={_0x1e7fb3:0x17b};function _0x57c0d1(_0x11950b,_0x327506,_0x57303f,_0x3be33d){return _0x27e2df(_0x11950b-0xa,_0x57303f-0xda,_0x57303f-_0x5c4f54._0x1e7fb3,_0x327506);}const _0x541ae4=_0x10f3cb[_0x57c0d1(0x314,0x742,0x539,_0x2cbd52._0x4ac6d2)]['id'];function _0xe49c8c(_0x4d15fa,_0x44bea3,_0x587c63,_0x1093b1){return _0xadee61(_0x44bea3-_0x55271b._0x5f8c64,_0x1093b1,_0x587c63-_0x55271b._0x35a32b,_0x1093b1-0x103);}if(!_0x541ae4)return{'allowed':![],'reason':_0x57c0d1(0x38d,_0x2cbd52._0x460f70,_0x2cbd52._0xbe0328,0x2e9)};const _0x52a809=_0x10f3cb['enabledAgents'][_0x541ae4];if(_0x52a809===![])return{'allowed':![],'reason':_0xe49c8c(_0x2cbd52._0x5ec71e,0x6b1,_0x2cbd52._0x41b4a2,0x530)+_0x541ae4+_0xe49c8c(_0x2cbd52._0x2ff3fa,_0x2cbd52._0x5b2e82,0x6d0,0x3df)};return{'allowed':!![]};}};import*as _0x5a6f76 from'os';var defaultSystemContext=()=>({'timeISO':new Date()[_0xadee61(0x562,0x357,0x3f6,0x39c)](),'platform':process[_0x27e2df(-0xe7,0xab,-0x192,0x17c)],'arch':process[_0xadee61(0x513,0x460,0x5d4,0x351)],'tempDir':_0x5a6f76['tmpdir']?.()??'','workspaceDir':process[_0x27e2df(0xb6,0x230,0x2fb,0x0)]()}),defaultIdGenerator=_0x3d2001=>_0x3d2001+'-'+Date[_0xadee61(0x4ec,0x6b0,0x4f1,0x430)](),DefaultSpecialistAgentFactory=class{constructor(_0x1bc60f){const _0x201320={_0x2fc647:0x6f4},_0xa956a9={_0x2a4243:0xce};function _0xdd26c1(_0x10c4c8,_0x123893,_0x59eecf,_0x35dc92){return _0xadee61(_0x10c4c8-0x21d,_0x59eecf,_0x59eecf-_0xa956a9._0x2a4243,_0x35dc92-0x145);}this[_0xdd26c1(0x673,0x836,_0x201320._0x2fc647,0x8b5)]=_0x1bc60f;}[_0xadee61(0x3b0,0x3e3,0x1d7,0x288)](_0x58080f){const _0x5cc2cb={_0x2d4797:0x8f1,_0x54dbd4:0x779,_0x25a944:0x889,_0x33c004:0x71a,_0x1c822c:0x3a8,_0x435997:0x4b9,_0x117888:0x694,_0x234e12:0x561,_0xd43de1:0x636,_0x496447:0x3dc,_0x9c1381:0x735,_0x22ca00:0x388,_0x2087b3:0x8f,_0x17d7fc:0x532,_0x5c3e48:0x418,_0x543795:0x240,_0x1fc928:0x608,_0x55e7f7:0x822,_0xb9fbd2:0x6f8,_0x5c5ea9:0x903,_0xa6b119:0x6f7,_0x1b6a58:0x802,_0x28611d:0x6d2,_0x5f8e17:0x732,_0x37a6c2:0x7a5,_0x2827fa:0x85b,_0x3b4afc:0x826,_0x193db4:0x8c2,_0x5b0885:0x886,_0x5cf534:0xa25,_0x4916ae:0x72a,_0x4985e4:0x50a,_0x695fb9:0x712,_0x5713ed:0xdb,_0x4a22b9:0x3cd,_0x354ec0:0x457,_0xc7239e:0x3d9,_0x42e3cc:0x9ef,_0x3e37d6:0x58e},_0x275cb1={_0x57fcc2:0x6e,_0x27454a:0x1d2},_0x15d43a=_0x58080f[_0x467469(_0x5cc2cb._0x2d4797,_0x5cc2cb._0x54dbd4,0x6be,0x9bc)],_0x429f29=_0x58080f[_0x467469(_0x5cc2cb._0x25a944,0x8e5,_0x5cc2cb._0x33c004,0x69f)],_0x303a4a=_0x58080f['context'],_0x4ced03=this[_0x4e6542(_0x5cc2cb._0x1c822c,0x4d8,0x49d,0x38f)]?.[_0x4e6542(0x4c8,_0x5cc2cb._0x435997,0x497,_0x5cc2cb._0x117888)]?.()??defaultSystemContext(),_0xeacbe4=this['options']?.[_0x467469(_0x5cc2cb._0x234e12,_0x5cc2cb._0xd43de1,_0x5cc2cb._0x496447,_0x5cc2cb._0x9c1381)]?.()??[],_0x133484=buildInjectedSystem({'today':_0x4ced03['timeISO'],'platform':_0x4ced03[_0x4e6542(0x1e7,0x242,_0x5cc2cb._0x22ca00,_0x5cc2cb._0x2087b3)],'arch':_0x4ced03['arch'],'tempDir':_0x4ced03[_0x467469(_0x5cc2cb._0x17d7fc,0x731,_0x5cc2cb._0x5c3e48,0x34e)],'workspaceDir':_0x4ced03[_0x4e6542(0x236,0x41d,_0x5cc2cb._0x543795,_0x5cc2cb._0x1fc928)],'availableAgents':_0xeacbe4},{'withSubAgent':![]}),_0x2f1411=renderTemplate(_0x15d43a['systemPrompt']+_0x467469(_0x5cc2cb._0x55e7f7,_0x5cc2cb._0xb9fbd2,0x8ba,0x89b),{'injectedSystem':_0x133484});function _0x467469(_0x3aa1dc,_0x5f10b1,_0x4f511d,_0x4b7d32){return _0x27e2df(_0x3aa1dc-0x6d,_0x3aa1dc-0x4e7,_0x4f511d-0x11a,_0x5f10b1);}function _0x4e6542(_0x3c0f51,_0x40c156,_0x3a40f,_0x3c00de){return _0x27e2df(_0x3c0f51-_0x275cb1._0x57fcc2,_0x40c156-0x197,_0x3a40f-_0x275cb1._0x27454a,_0x3c00de);}const _0x5bbe7e=_0x15d43a['id']??_0x429f29[_0x4e6542(0x445,0x5f6,0x4a3,0x4b4)],_0x4a6e7d=this['options']?.[_0x467469(_0x5cc2cb._0x5c5ea9,0xa08,0x79a,0x994)]?.(_0x5bbe7e)??defaultIdGenerator(_0x5bbe7e);return{'agentId':_0x4a6e7d,'agentName':_0x15d43a[_0x467469(_0x5cc2cb._0xa6b119,0x5b5,_0x5cc2cb._0x1b6a58,_0x5cc2cb._0x28611d)]??_0x429f29[_0x467469(0x946,0x9cf,0x88b,_0x5cc2cb._0x5f8e17)],'taskDescription':_0x429f29[_0x467469(0x7fc,_0x5cc2cb._0x37a6c2,_0x5cc2cb._0x2827fa,_0x5cc2cb._0x3b4afc)],'systemPrompt':_0x2f1411,'tools':_0x15d43a['tools']??[],'provider':_0x15d43a[_0x467469(0x7b7,0x5ce,_0x5cc2cb._0x193db4,_0x5cc2cb._0x5b0885)],'model':_0x15d43a[_0x467469(0x922,0x750,_0x5cc2cb._0x5cf534,0x757)],'temperature':_0x15d43a['temperature'],'maxTokens':_0x15d43a['maxTokens'],'topP':_0x15d43a[_0x4e6542(_0x5cc2cb._0x4916ae,_0x5cc2cb._0x4985e4,0x444,_0x5cc2cb._0x695fb9)],'timeoutMs':_0x15d43a[_0x4e6542(_0x5cc2cb._0x5713ed,0x238,_0x5cc2cb._0x4a22b9,_0x5cc2cb._0x354ec0)],'shareContext':_0x15d43a['shareContext']??![],'stream':_0x15d43a['stream']??!![],'delegatingMemory':void 0x0,'delegationDepth':_0x58080f[_0x4e6542(0x34a,0x4e7,0x70b,_0x5cc2cb._0xc7239e)]+0x1,'conversationId':_0x303a4a?.['conversationId'],'messageId':_0x303a4a?.[_0x467469(0x7af,_0x5cc2cb._0x42e3cc,0x5fd,_0x5cc2cb._0x3e37d6)],'toolCallId':typeof _0x303a4a?.[_0x467469(0x6be,0x499,0x62d,0x4bf)]==='string'?_0x303a4a['toolCallId']:void 0x0};}},LLMResolver=class{constructor(_0xe9430d){const _0x5f3570={_0x40e945:0x27f,_0x53e9df:0x1fe,_0x154d10:0xd6},_0x123376={_0x5a3223:0x1a5};function _0x5b11cd(_0x1f4006,_0x1834a0,_0x3d1175,_0x186788){return _0xadee61(_0x3d1175- -_0x123376._0x5a3223,_0x1834a0,_0x3d1175-0x46,_0x186788-0xb0);}this[_0x5b11cd(_0x5f3570._0x40e945,_0x5f3570._0x53e9df,0x293,_0x5f3570._0x154d10)]=_0xe9430d;}[_0xadee61(0x205,0x2eb,0x438,0x1b)](_0x3bcca8){const _0x8f07bb={_0x11163d:0x7aa,_0x3847b3:0x79a,_0x3512ed:0x5b6,_0x306f3c:0x6f5,_0x5b1fac:0x7e0},_0x32c48b={_0x103f2f:0x41};function _0x48aa57(_0x16dacb,_0x429aa4,_0x243418,_0x3a63db){return _0x27e2df(_0x16dacb-0x19c,_0x243418-0x3ac,_0x243418-0x16,_0x429aa4);}function _0xefcba9(_0x2cce45,_0x3146d7,_0x3559c0,_0x326336){return _0x27e2df(_0x2cce45-_0x32c48b._0x103f2f,_0x3146d7-0x24e,_0x3559c0-0x16b,_0x326336);}return this[_0xefcba9(0x72a,0x571,_0x8f07bb._0x11163d,0x402)][_0x48aa57(_0x8f07bb._0x3847b3,0x5f4,_0x8f07bb._0x3512ed,0x57b)]({'provider':_0x3bcca8[_0xefcba9(0x66e,0x51e,0x59d,_0x8f07bb._0x306f3c)],'model':_0x3bcca8[_0x48aa57(0x7b4,0x893,0x7e7,_0x8f07bb._0x5b1fac)]});}},DEFAULT_TIMEOUT_MS=0x2dc6c0,MAX_DELEGATION_DEPTH=0x3,AgentManager=class{constructor(_0x184e87,_0x4eb893,_0x1a631b,_0x187dc0,_0x191409){const _0x31cf6b={_0xbe0f30:0x5f6,_0x1b61ea:0x7c0,_0x483512:0x6d7,_0x3ed7fb:0x3b1,_0x173eab:0x4d5,_0x4f1dd0:0x4b9,_0x53c84a:0x27e,_0x276d34:0x4ba,_0x151396:0x318,_0x58e633:0x79a},_0x4d5a88={_0x281db1:0x1f3,_0x4e6ad4:0x19a};this[_0x47d053(_0x31cf6b._0xbe0f30,_0x31cf6b._0x1b61ea,_0x31cf6b._0x483512,0x6ab)]=_0x184e87;function _0x47d053(_0x7849b3,_0x49e3ce,_0x47d8c1,_0x4ab767){return _0xadee61(_0x7849b3-_0x4d5a88._0x281db1,_0x47d8c1,_0x47d8c1-_0x4d5a88._0x4e6ad4,_0x4ab767-0xef);}this['delegatingTools']=_0x4eb893,this['llmFactory']=_0x1a631b;function _0x1bbc09(_0x40a6be,_0x3ded11,_0x2bd2c5,_0x66dfb6){return _0xadee61(_0x66dfb6- -0x222,_0x2bd2c5,_0x2bd2c5-0x5e,_0x66dfb6-0x53);}this[_0x47d053(0x535,0x755,0x3ba,_0x31cf6b._0x3ed7fb)]=_0x187dc0,this[_0x47d053(0x6a6,0x63e,_0x31cf6b._0x173eab,_0x31cf6b._0x4f1dd0)]=_0x191409,this[_0x1bbc09(_0x31cf6b._0x53c84a,_0x31cf6b._0x276d34,0x51b,_0x31cf6b._0x151396)]&&(this[_0x1bbc09(-0x25f,-0x1b3,-0x7c,-0x105)]=new LLMResolver(this[_0x47d053(0x72d,_0x31cf6b._0x58e633,0x7a0,0x82e)]));}[_0xadee61(0x11d,-0x26,0x5f,-0xfd)]=null;['activeAgents']=new Map();[_0x27e2df(0x1da,0x10f,-0xd6,0xb)]=new Map();async['executeTask'](_0x883036,_0x118542){const _0x3fa4ec={_0x58dffa:0x69,_0x4bc495:0xdf,_0x4e01c6:0x176,_0xc3211b:0x231,_0x32e71f:0x3b6,_0x5c2aee:0x3c2,_0x5dbbac:0x3c8,_0x28fd4c:0x98,_0x4e4ce6:0x25a,_0x264b20:0x288,_0x80e784:0x326,_0x3d054e:0x1aa,_0x1dc49f:0xdf,_0x320c04:0x63,_0x4ba432:0x1bf,_0x45428e:0x1a6,_0x3aa14a:0x390,_0x1c8bca:0x13a,_0x2a8450:0x92,_0x7d9dc4:0x4f,_0x28aed0:0x4c,_0x42c480:0x66,_0x2a79d2:0x1ee,_0x563e9c:0x2ff,_0x47a953:0x193,_0x216c5a:0x1,_0x4ecca7:0x188,_0x3cc4a3:0xdf,_0x33a72f:0xc3,_0x54dafa:0x76,_0x2bc639:0x1f5,_0x47fef5:0x43,_0x265437:0xfb,_0x1dd2b1:0x32b,_0x57bcb0:0x351,_0x2cb8b8:0xa3,_0x57247a:0x1ab,_0x390a9c:0xc,_0x524db1:0x13b,_0x5dbe88:0x161,_0x3b284c:0x4dd,_0x4e2b94:0x367,_0x4aac27:0x3a0,_0x43a5bd:0x2f4,_0x369e34:0x11f,_0x470906:0xe3,_0x56a4ec:0x2e4,_0x4c482e:0x209,_0x2e8e43:0x1b,_0x5649ac:0x45b,_0x28ba81:0x429,_0x1653d7:0x2bb,_0x2c0606:0x17d,_0x78fef5:0x589,_0x3f57a0:0x55e,_0x753995:0x404,_0x13ebe3:0x4ee,_0x193abf:0x3fa,_0x35fb8f:0x3da,_0x1ac731:0x29e,_0x3adfc8:0x2c4,_0x36c50a:0x50c,_0x5ada69:0x1fb,_0x43ea11:0x33f,_0x4d7c8a:0xd6,_0x3482f5:0x30d,_0x5ea849:0x111,_0x4387fa:0x81,_0x51a27d:0x238,_0x560d97:0x277,_0x1309ac:0xf2,_0x32b31c:0x122,_0x1fa22e:0xd8,_0x4ced46:0xc1,_0x1d2de4:0x3d,_0x39b056:0x15f,_0x5cc62d:0xdc,_0x9b9130:0x223,_0x372589:0x177,_0x19695c:0x3ba,_0x19f0b8:0x21b,_0x1b02d8:0x2a6,_0x37a0a7:0x64,_0xcce9a0:0x200,_0x527042:0x56c,_0x47a5bd:0x312,_0x4a8188:0x3df,_0x27efa9:0x215,_0xd529cc:0x53,_0x54cf95:0xc8,_0x2c237a:0x4c,_0x1972cf:0x35f,_0x57576b:0x1c0,_0x54555d:0x354,_0x4a76c7:0x213,_0x318c20:0x366,_0x4524df:0x271,_0x4d3382:0x1e0,_0x394b8b:0x3f2,_0x50a065:0xb1,_0x2e83c6:0x1f5,_0x3f1fa9:0x374,_0x20ea4d:0x5b3,_0xfb145b:0x224,_0x30889f:0x214,_0x3161fd:0x36e,_0x9c49c4:0x132,_0x261b49:0x16a,_0x275972:0x4ed,_0x4b2e45:0xe2,_0xc4b82d:0x180,_0x23d63c:0xb2,_0x387c8a:0x2c1,_0x4ee194:0x156,_0x3ba2d0:0x386,_0x3ee0cd:0x5a5,_0x3e068e:0x17,_0x556169:0x1d7,_0x5dd10c:0x2ad,_0x3e61ce:0x6b,_0x5ded86:0x3e7,_0x110a02:0x3aa,_0x581835:0x36a,_0x241f8c:0x258,_0xaefb84:0x18c,_0x1761ea:0x25d,_0x4e634e:0x41a,_0x3bb665:0x3a0,_0x437ccb:0x426,_0x525995:0xfa,_0x172a28:0x206,_0x4a20ab:0x2bd,_0x288944:0xc,_0x56aa63:0x3fd,_0x350f97:0x279,_0x2c4b0b:0x1ef,_0x3e2866:0x134,_0x426533:0x26e,_0x35e928:0x3ac,_0x3344d3:0x25c,_0x59ed05:0xf6,_0x353c9f:0x388,_0x7072b3:0x401,_0x2b6418:0x1a8,_0x8b8b46:0x386,_0x5b8a90:0x2ea,_0x533818:0x3e0,_0x2b17bf:0x288,_0x1ee2b8:0x288,_0x35cb48:0x126,_0x51e46b:0x2e0,_0x3ddb73:0x128,_0x1860bf:0x31,_0x1e99de:0x11d,_0x54ac95:0x287,_0x4d5863:0x214,_0x7dbffc:0x217,_0x4ffb39:0x1a3,_0x3df462:0x46,_0x4fdcd3:0xd8,_0x293d3a:0x1ea},_0x4b0afc={_0x5a4cf0:0x182,_0x450d1b:0x1ba},_0x53753a={_0x413918:0x2c8,_0x565e06:0x4ac,_0x240e33:0x403,_0x2095d5:0x73,_0x2dbe6e:0x1b0,_0xe480f9:0x1c2,_0x7ee02:0x12,_0xac7858:0x3d9,_0x29d49a:0x9c,_0x3b179f:0x132,_0x5771e2:0x116,_0x2810d0:0x1f7},_0x286f9f={_0x2c3292:0x89,_0x30c017:0x1f5,_0x214a61:0x164},_0x5aa40d={_0x3279d5:0x162,_0xb1b8d2:0x329,_0x4fb278:0x2f2,_0x5b42f6:0x434,_0x5b70f8:0x262,_0xfa5224:0x85,_0x494a99:0x2fc,_0x38447c:0x154,_0x3a9ce7:0xa1,_0x39d7ff:0x1c1,_0x2f3ed1:0x25c,_0x452575:0x1a5,_0x2bf179:0x33,_0x3cde01:0x170,_0x482c75:0x2f4,_0x195a03:0x266,_0x51d327:0x1c3,_0x444df9:0x92,_0x379987:0xbe,_0x188ed7:0xb4,_0x311574:0x62,_0x256784:0x10b,_0x378f4c:0x57,_0x22035c:0x2bf,_0x2ab22c:0x67,_0x1212fc:0x16e,_0x38f261:0x112,_0x3c82d7:0x217,_0x4afcdd:0x8e,_0x3a787a:0x463,_0x2da3f3:0x25c,_0x4843e5:0x2e0,_0x4173bd:0x43f,_0x33dce5:0x249,_0x3b4a45:0x82,_0x50f13d:0x86,_0x3b8aea:0x1c3,_0xb59579:0x323,_0x3791fe:0x268,_0x3495b1:0x161,_0x3df3d7:0x13f,_0x5c6fd1:0x589,_0x551c7a:0x41a,_0x5931f1:0xed,_0x2362c0:0xe7,_0x4146c7:0x27a,_0x102364:0xdf,_0x4dbed0:0x3b3,_0x4359d7:0x31f,_0xadf0f0:0x472,_0x25dce4:0x31f,_0x42d8c1:0xe2},_0x3736df={_0x3b6b54:0x73,_0x20471f:0x30},_0x17c933={_0xf6fd6d:0xa0,_0x61af0f:0x37},_0x4660c2=Date['now'](),_0x49b0d7=_0x883036[_0xd159c7(-_0x3fa4ec._0x58dffa,0x1eb,_0x3fa4ec._0x4bc495,_0x3fa4ec._0x4e01c6)];if(_0x118542?.[_0xd159c7(_0x3fa4ec._0xc3211b,0x3c5,0x343,_0x3fa4ec._0x32e71f)])return{'status':_0xd159c7(0x4c7,0x5ad,_0x3fa4ec._0x5c2aee,_0x3fa4ec._0x5dbbac),'result':_0xd159c7(0x1ab,_0x3fa4ec._0x28fd4c,_0x3fa4ec._0x4e4ce6,0x44e),'metadata':{'agentId':_0x49b0d7,'agentName':_0x883036[_0x2089a(0x364,0x26a,_0x3fa4ec._0x264b20,0x186)],'toolCallsExecuted':0x0,'executionTimeMs':0x0,'errorMessage':'Aborted\x20before\x20execution'}};const _0x3f5f91=_0x883036[_0xd159c7(_0x3fa4ec._0x80e784,0x342,0x3b9,0x3a4)]??0x0;if(_0x3f5f91>=MAX_DELEGATION_DEPTH)return{'status':_0xd159c7(0x2c9,0x5d8,_0x3fa4ec._0x5c2aee,0x4e4),'result':_0x2089a(0xf2,0x2c6,_0x3fa4ec._0x3d054e,0x350)+MAX_DELEGATION_DEPTH+')\x20exceeded','metadata':{'agentId':_0x49b0d7,'agentName':_0x883036[_0x2089a(_0x3fa4ec._0x1dc49f,_0x3fa4ec._0x320c04,0x288,0x369)],'toolCallsExecuted':0x0,'executionTimeMs':Date['now']()-_0x4660c2,'errorMessage':_0xd159c7(0x13,0xb7,0x143,_0x3fa4ec._0x4ba432)}};function _0xd159c7(_0x28f348,_0x247629,_0xbc35d6,_0x4dd7cc){return _0x27e2df(_0x28f348-_0x17c933._0xf6fd6d,_0xbc35d6- -_0x17c933._0x61af0f,_0xbc35d6-0x182,_0x247629);}await this[_0xd159c7(_0x3fa4ec._0x45428e,_0x3fa4ec._0x3aa14a,0x1f6,0x24)]?.({'type':AgentEventTypes[_0x2089a(-0x12,0xcf,-_0x3fa4ec._0x1c8bca,-_0x3fa4ec._0x2a8450)],'conversationId':_0x883036[_0xd159c7(0x13f,0x32,-0x20,-_0x3fa4ec._0x7d9dc4)]??_0xd159c7(-0x173,-0xde,_0x3fa4ec._0x28aed0,_0x3fa4ec._0x42c480),'messageId':_0x883036[_0x2089a(_0x3fa4ec._0x2a79d2,_0x3fa4ec._0x563e9c,_0x3fa4ec._0x47a953,-_0x3fa4ec._0x216c5a)]??'','agentId':_0x883036[_0xd159c7(0x225,_0x3fa4ec._0x4ecca7,_0x3fa4ec._0x3cc4a3,-_0x3fa4ec._0x33a72f)],'agentName':_0x883036['agentName'],'toolCallId':_0x883036['toolCallId']??''});const _0xa4f05b=new InMemoryMemory();_0x883036[_0x2089a(0x142,-_0x3fa4ec._0x54dafa,0x185,_0x3fa4ec._0x2bc639)]&&_0x883036['delegatingMemory']&&_0x883036[_0x2089a(_0x3fa4ec._0x47fef5,-0x18f,-0x10a,0x127)]['length']>0x0&&await _0xa4f05b[_0x2089a(_0x3fa4ec._0x265437,_0x3fa4ec._0x1dd2b1,0x200,_0x3fa4ec._0x57bcb0)](_0xd159c7(-_0x3fa4ec._0x2cb8b8,-0x68,0x4c,0x1f6),_0x883036[_0xd159c7(-0xa0,_0x3fa4ec._0x57247a,-_0x3fa4ec._0x390a9c,0x21)]);const _0x22f433=[];this[_0x2089a(-0x1d0,-0x225,-0x26,-_0x3fa4ec._0x524db1)][_0x2089a(0x2dc,0x3f0,0x200,_0x3fa4ec._0x5dbe88)](_0x49b0d7,_0x22f433);const _0x221c76={'emit':async _0x3db364=>{const _0x46fcca={_0x1f9ac2:0x66};_0x22f433[_0x503905(0x393,_0x5aa40d._0x3279d5,_0x5aa40d._0xb1b8d2,0x34e)](_0x3db364);function _0x503905(_0x4e5ca1,_0xc205ae,_0x330fff,_0x35ad9f){return _0x2089a(_0xc205ae,_0xc205ae-_0x3736df._0x3b6b54,_0x330fff-_0x3736df._0x20471f,_0x35ad9f-0x92);}function _0x4ec261(_0x313e6a,_0x44bb4f,_0x36e5c0,_0x3cd4af){return _0xd159c7(_0x313e6a-0xa6,_0x313e6a,_0x3cd4af-_0x46fcca._0x1f9ac2,_0x3cd4af-0xec);}if(_0x3db364[_0x4ec261(_0x5aa40d._0x4fb278,_0x5aa40d._0x5b42f6,_0x5aa40d._0x5b70f8,0x246)]===AgentEventTypes[_0x4ec261(-_0x5aa40d._0xfa5224,_0x5aa40d._0x494a99,-0x121,0x10d)])for(const _0x5901f3 of _0x3db364[_0x4ec261(_0x5aa40d._0x38447c,0x24a,0x283,0x298)]){await this[_0x4ec261(_0x5aa40d._0x3a9ce7,_0x5aa40d._0x39d7ff,0x84,_0x5aa40d._0x2f3ed1)]?.({'type':AgentEventTypes['SubAgentToolCall'],'conversationId':_0x883036['conversationId']??_0x503905(-_0x5aa40d._0x452575,_0x5aa40d._0x2bf179,-0x82,_0x5aa40d._0x3cde01),'messageId':_0x883036[_0x503905(_0x5aa40d._0x482c75,_0x5aa40d._0x195a03,_0x5aa40d._0x51d327,_0x5aa40d._0x444df9)]??'','agentId':_0x883036['agentId'],'toolCallId':_0x5901f3['id'],'toolName':_0x5901f3[_0x503905(-_0x5aa40d._0x379987,-0x66,-_0x5aa40d._0x188ed7,-0x52)][_0x503905(-0x10f,_0x5aa40d._0x311574,_0x5aa40d._0x256784,_0x5aa40d._0x378f4c)],'toolArguments':_0x5901f3[_0x503905(-0x10,-_0x5aa40d._0x22035c,-0xb4,-0xd8)][_0x4ec261(_0x5aa40d._0x2ab22c,0x112,-0x73,_0x5aa40d._0x1212fc)]});}else _0x3db364[_0x503905(-0x85,0xc9,_0x5aa40d._0x38f261,-0x6c)]===AgentEventTypes['ToolResult']&&await this[_0x4ec261(_0x5aa40d._0x3c82d7,_0x5aa40d._0x4afcdd,_0x5aa40d._0x3a787a,_0x5aa40d._0x2da3f3)]?.({'type':AgentEventTypes[_0x4ec261(0x413,0x3f8,_0x5aa40d._0x4843e5,_0x5aa40d._0x4173bd)],'conversationId':_0x883036[_0x503905(-0x286,-0x214,-0xee,-0xe8)]??_0x503905(-_0x5aa40d._0x33dce5,-0x1ff,-_0x5aa40d._0x3b4a45,-_0x5aa40d._0x50f13d),'messageId':_0x883036[_0x503905(-0x5e,-0x7,_0x5aa40d._0x3b8aea,0x26b)]??'','agentId':_0x883036['agentId'],'toolCallId':_0x3db364[_0x4ec261(0x242,_0x5aa40d._0xb59579,0x3b2,0x453)]['id'],'toolName':_0x3db364['result'][_0x4ec261(_0x5aa40d._0x3791fe,_0x5aa40d._0x3495b1,_0x5aa40d._0x3df3d7,0x23f)],'durationMs':_0x3db364[_0x4ec261(_0x5aa40d._0x5c6fd1,0x3dc,_0x5aa40d._0x551c7a,0x453)][_0x503905(_0x5aa40d._0x5931f1,_0x5aa40d._0x2362c0,0x2bd,_0x5aa40d._0x4146c7)]??0x0,'status':_0x3db364[_0x503905(_0x5aa40d._0x102364,_0x5aa40d._0x4dbed0,_0x5aa40d._0x4359d7,_0x5aa40d._0xadf0f0)][_0x4ec261(_0x5aa40d._0x25dce4,_0x5aa40d._0x42d8c1,0xd8,0x2db)]});}},_0x588da1=this[_0xd159c7(0x3ee,_0x3fa4ec._0x3b284c,_0x3fa4ec._0x4e2b94,_0x3fa4ec._0x4aac27)]?.()??{},_0x137c89={'id':_0x49b0d7,'systemPrompt':_0x883036[_0xd159c7(0x182,_0x3fa4ec._0x43a5bd,0x1c2,-0x19)],'temperature':_0x883036[_0xd159c7(0x2a8,_0x3fa4ec._0x369e34,_0x3fa4ec._0x470906,_0x3fa4ec._0x56a4ec)]??this['delegatingConfig'][_0x2089a(_0x3fa4ec._0x4c482e,-0x9f,-_0x3fa4ec._0x2e8e43,0x1b7)],'topP':_0x883036[_0x2089a(0x34b,_0x3fa4ec._0x5649ac,0x23e,0x415)]??this['delegatingConfig'][_0xd159c7(_0x3fa4ec._0x28ba81,_0x3fa4ec._0x1653d7,0x33c,_0x3fa4ec._0x2c0606)],'model':_0x883036['model']??_0x588da1[_0xd159c7(_0x3fa4ec._0x78fef5,_0x3fa4ec._0x3f57a0,_0x3fa4ec._0x753995,_0x3fa4ec._0x13ebe3)]??this[_0xd159c7(0x2c4,_0x3fa4ec._0x193abf,0x2b7,_0x3fa4ec._0x35fb8f)][_0x2089a(_0x3fa4ec._0x1ac731,_0x3fa4ec._0x3adfc8,0x306,0x449)],'maxTokens':_0x883036['maxTokens']??this['delegatingConfig'][_0xd159c7(_0x3fa4ec._0x36c50a,_0x3fa4ec._0x5ada69,_0x3fa4ec._0x43ea11,0x2ce)],'enabledTools':_0x883036[_0xd159c7(-_0x3fa4ec._0x4d7c8a,-0xfa,-0x41,0x9a)],'maxToolConcurrency':this[_0xd159c7(_0x3fa4ec._0x3482f5,_0x3fa4ec._0x5ea849,0x2b7,_0x3fa4ec._0x4387fa)][_0x2089a(0x258,0x113,0x1e,-0xa2)],'requireToolApproval':![],'reasoningEffort':_0x588da1[_0xd159c7(_0x3fa4ec._0x51a27d,0x301,0x23d,0x16)]??this[_0x2089a(_0x3fa4ec._0x560d97,_0x3fa4ec._0x1309ac,0x1b9,_0x3fa4ec._0x32b31c)][_0x2089a(-_0x3fa4ec._0x1fa22e,0x155,0x13f,-_0x3fa4ec._0x4ced46)],'thinking':_0x588da1['thinking']??this['delegatingConfig'][_0x2089a(_0x3fa4ec._0x1d2de4,0x396,_0x3fa4ec._0x2bc639,_0x3fa4ec._0x39b056)]},_0x411ffa=new InMemoryMetricsPort(_0x4173f=>{const _0x4ebeaf={_0xe4ff20:0x117,_0x26c64e:0x1e2,_0x16db0c:0x136};function _0x440e67(_0x4245a0,_0x577436,_0x4a1aad,_0x4d50fe){return _0xd159c7(_0x4245a0-_0x4ebeaf._0xe4ff20,_0x4a1aad,_0x577436-_0x4ebeaf._0x26c64e,_0x4d50fe-_0x4ebeaf._0x16db0c);}function _0x2c8e3c(_0x5515ee,_0x486471,_0x237806,_0x3c8cbf){return _0xd159c7(_0x5515ee-_0x286f9f._0x2c3292,_0x3c8cbf,_0x486471- -_0x286f9f._0x30c017,_0x3c8cbf-_0x286f9f._0x214a61);}this[_0x440e67(_0x53753a._0x413918,0x3d8,_0x53753a._0x565e06,_0x53753a._0x240e33)]?.({'type':AgentEventTypes[_0x2c8e3c(-0x319,-0x141,-0x340,-_0x53753a._0x2095d5)],'conversationId':_0x883036[_0x440e67(_0x53753a._0x2dbe6e,_0x53753a._0xe480f9,_0x53753a._0x7ee02,_0x53753a._0xac7858)]??'default','messageId':_0x883036[_0x2c8e3c(-0x21,_0x53753a._0x29d49a,-_0x53753a._0x3b179f,0x239)]??'','agentId':_0x883036[_0x2c8e3c(-0xd7,-_0x53753a._0x5771e2,-_0x53753a._0x2810d0,-0x194)],'toolCallId':_0x883036['toolCallId']??'','metrics':_0x4173f});}),_0x316758=this[_0x2089a(-_0x3fa4ec._0x5cc62d,-0x140,-0x68,-_0x3fa4ec._0x9b9130)](_0x883036);function _0x2089a(_0x1f7f90,_0x4c21bc,_0x6d1268,_0x3731bb){return _0xadee61(_0x6d1268- -0x24a,_0x1f7f90,_0x6d1268-_0x4b0afc._0x5a4cf0,_0x3731bb-_0x4b0afc._0x450d1b);}const _0x14f539=new AgentOrchestrator(_0x137c89,{'memory':_0xa4f05b,'llm':_0x316758,'tools':this[_0xd159c7(0x81,_0x3fa4ec._0x372589,0x12f,0x1cc)],'context':new SimpleContextBuilder(),'ids':new SimpleId(),'clock':new SystemClock(),'cost':new SimpleCost(),'reminders':new NoopReminders(),'events':_0x221c76,'metrics':_0x411ffa});this[_0xd159c7(0x234,_0x3fa4ec._0x19695c,_0x3fa4ec._0x19f0b8,_0x3fa4ec._0x1b02d8)][_0x2089a(_0x3fa4ec._0x37a0a7,0x3db,_0x3fa4ec._0xcce9a0,0x27)](_0x49b0d7,_0x14f539);try{const _0x1fa829=_0x883036['timeoutMs']??DEFAULT_TIMEOUT_MS,_0x3b9ae7=await this[_0xd159c7(0x3a2,_0x3fa4ec._0x5dbe88,0x384,_0x3fa4ec._0x527042)](_0x14f539,_0x883036['taskDescription'],_0x1fa829,_0x118542,_0x883036[_0xd159c7(_0x3fa4ec._0x47a5bd,_0x3fa4ec._0x4a8188,0x257,_0x3fa4ec._0x27efa9)]),_0xb5120a=Date['now']()-_0x4660c2,_0x4bc17b=await _0xa4f05b[_0xd159c7(-0x1a6,-0x18e,0x37,_0x3fa4ec._0xd529cc)](_0xd159c7(0x1d3,_0x3fa4ec._0x54cf95,_0x3fa4ec._0x2c237a,0xfd)),_0x45259d=_0x22f433[_0xd159c7(0x14c,0x473,_0x3fa4ec._0x1972cf,_0x3fa4ec._0x57576b)](_0xe3c109=>_0xe3c109[_0xd159c7(0x106,0x1e6,0x1e0,0x31e)]==='tool_calls')[_0xd159c7(0x22,_0x3fa4ec._0x54555d,_0x3fa4ec._0x4a76c7,_0x3fa4ec._0x318c20)];let _0x33bf06=0x0;for(const _0x1d45db of _0x22f433){_0x1d45db[_0xd159c7(_0x3fa4ec._0x4524df,0x245,_0x3fa4ec._0x4d3382,_0x3fa4ec._0x394b8b)]===_0x2089a(-0x12c,0xd6,_0x3fa4ec._0x50a065,0x153)&&_0x1d45db[_0xd159c7(_0x3fa4ec._0x2e83c6,0x173,_0x3fa4ec._0x3f1fa9,_0x3fa4ec._0x20ea4d)]?.[_0x2089a(-_0x3fa4ec._0xfb145b,0x157,-0x36,-_0x3fa4ec._0x30889f)]&&(_0x33bf06+=_0x1d45db[_0x2089a(0x35f,0x350,0x276,_0x3fa4ec._0x3161fd)][_0xd159c7(0x220,-_0x3fa4ec._0x9c49c4,0xc8,_0x3fa4ec._0x261b49)]);}const _0xc9f853=_0x411ffa[_0x2089a(_0x3fa4ec._0x275972,0x205,0x30b,0x3c0)]();return await this['eventCallback']?.({'type':AgentEventTypes['SubAgentCompleted'],'conversationId':_0x883036[_0xd159c7(0x1ea,_0x3fa4ec._0x4b2e45,-0x20,-0x1b9)]??_0x2089a(-_0x3fa4ec._0xc4b82d,0x16f,-_0x3fa4ec._0x23d63c,0x32),'messageId':_0x883036[_0x2089a(0x28f,_0x3fa4ec._0x387c8a,0x193,_0x3fa4ec._0x4ee194)]??'','agentId':_0x883036['agentId'],'agentName':_0x883036[_0xd159c7(0x160,0x5ba,_0x3fa4ec._0x3ba2d0,_0x3fa4ec._0x3ee0cd)],'status':_0x2089a(_0x3fa4ec._0x3e068e,_0x3fa4ec._0x556169,-0x6c,-0x267),'resultMessage':_0x3b9ae7[_0x2089a(0x385,_0x3fa4ec._0x5dd10c,0x2e9,0x143)]||'','totalDurationMs':_0xb5120a}),{'status':_0x2089a(_0x3fa4ec._0x3e61ce,-0x216,-0x6c,0x1c4),'result':_0x3b9ae7[_0xd159c7(0x37d,0x1c2,_0x3fa4ec._0x5ded86,0x49d)]||'','metadata':{'agentId':_0x49b0d7,'agentName':_0x883036[_0xd159c7(0x32b,0x1db,0x386,_0x3fa4ec._0x110a02)],'tokensUsed':_0x33bf06||_0x3b9ae7[_0xd159c7(_0x3fa4ec._0x581835,0x347,_0x3fa4ec._0x241f8c,0x3e6)]?.[_0xd159c7(0x26b,-_0x3fa4ec._0xaefb84,0x5e,_0x3fa4ec._0x1761ea)],'toolCallsExecuted':_0x45259d,'executionTimeMs':_0xb5120a,'conversationHistory':_0x4bc17b,'events':_0x22f433,'metrics':_0xc9f853}};}catch(_0x14481f){const _0x1232d1=Date[_0xd159c7(_0x3fa4ec._0x4e634e,_0x3fa4ec._0x3482f5,_0x3fa4ec._0x3bb665,_0x3fa4ec._0x437ccb)]()-_0x4660c2,_0x50cc83=_0x14481f instanceof Error?_0x14481f[_0xd159c7(0x189,_0x3fa4ec._0x525995,0x4d,0x52)]:String(_0x14481f),_0x121bb3=_0x14481f instanceof Error&&_0x14481f[_0xd159c7(0xe,-0xe8,0x4d,0x79)][_0xd159c7(_0x3fa4ec._0x172a28,_0x3fa4ec._0x4a20ab,0x1ee,-_0x3fa4ec._0x288944)](_0xd159c7(_0x3fa4ec._0x56aa63,0x155,_0x3fa4ec._0x350f97,0x42e)),_0x6b39da=_0x14481f instanceof Error&&(_0x14481f[_0xd159c7(0x101,0x266,0x4d,-0x12b)][_0x2089a(_0x3fa4ec._0x2c4b0b,_0x3fa4ec._0x3e2866,0xf0,0x205)]('aborted')||_0x14481f[_0x2089a(0x119,0x197,0xdb,0x156)]==='AbortError'),_0x1a6364=_0x121bb3?_0x2089a(0x97,0x242,0x17b,0x322):_0x6b39da?_0xd159c7(_0x3fa4ec._0x426533,_0x3fa4ec._0x35e928,0x3c2,0x253):_0x2089a(0x2bd,0x4d8,0x2c4,0x265);return await this[_0x2089a(0xc8,_0x3fa4ec._0x3344d3,0xf8,0x214)]?.({'type':AgentEventTypes[_0x2089a(0x21,0x123,_0x3fa4ec._0x59ed05,-0x42)],'conversationId':_0x883036['conversationId']??'default','messageId':_0x883036[_0xd159c7(_0x3fa4ec._0x353c9f,0x217,0x291,0x94)]??'','agentId':_0x883036['agentId'],'agentName':_0x883036[_0xd159c7(_0x3fa4ec._0x7072b3,_0x3fa4ec._0x2b6418,_0x3fa4ec._0x8b8b46,0x34f)],'status':_0x1a6364,'resultMessage':_0x50cc83,'totalDurationMs':_0x1232d1}),{'status':_0x1a6364,'result':_0x50cc83,'metadata':{'agentId':_0x49b0d7,'agentName':_0x883036[_0x2089a(_0x3fa4ec._0x5b8a90,_0x3fa4ec._0x533818,_0x3fa4ec._0x2b17bf,_0x3fa4ec._0x1ee2b8)],'toolCallsExecuted':_0x22f433[_0xd159c7(_0x3fa4ec._0x35cb48,0x484,0x35f,0x41f)](_0x11713c=>_0x11713c[_0x2089a(0x306,-0xba,0xe2,0x2f9)]===_0x2089a(0x31f,0x270,0x201,0xe))[_0xd159c7(_0x3fa4ec._0x51e46b,_0x3fa4ec._0x3ddb73,0x213,0x190)],'executionTimeMs':_0x1232d1,'errorMessage':_0x50cc83,'events':_0x22f433}};}finally{this[_0x2089a(_0x3fa4ec._0x1860bf,0x9f,_0x3fa4ec._0x1e99de,0x61)][_0x2089a(_0x3fa4ec._0x54ac95,_0x3fa4ec._0x4d5863,_0x3fa4ec._0x7dbffc,0x358)](_0x49b0d7),this[_0xd159c7(_0x3fa4ec._0x4ffb39,_0x3fa4ec._0x3df462,_0x3fa4ec._0x4fdcd3,_0x3fa4ec._0x293d3a)]['delete'](_0x49b0d7);}}[_0x27e2df(0x2f3,0xcd,0x2e0,0x19d)](_0x3d0951){const _0x322247={_0x53847c:0x20f,_0x198369:0x13e,_0x39dc1e:0x23c,_0x5aa645:0x272,_0x122f15:0xef,_0x156c05:0x9},_0x90aaca={_0x254580:0x69},_0x5e309d={_0x5c6cc7:0x1af,_0x1b68b6:0x239};function _0x664ca1(_0x2a1e08,_0xb4cf53,_0x3c1e55,_0x19b9e6){return _0x27e2df(_0x2a1e08-_0x5e309d._0x5c6cc7,_0x19b9e6- -_0x5e309d._0x1b68b6,_0x3c1e55-0x125,_0xb4cf53);}if(!this['llmResolver'])throw new Error(_0x5d3431(-0x2f3,-_0x322247._0x53847c,-_0x322247._0x198369,-0x22f));function _0x5d3431(_0x447628,_0x11b976,_0x296fdc,_0x505a3d){return _0x27e2df(_0x447628-_0x90aaca._0x254580,_0x11b976- -0x27a,_0x296fdc-0xcb,_0x505a3d);}return this[_0x5d3431(-_0x322247._0x39dc1e,-_0x322247._0x5aa645,-0x3cd,-0x1bc)][_0x664ca1(-_0x322247._0x122f15,_0x322247._0x156c05,-0x20c,-0x149)](_0x3d0951);}async[_0x27e2df(0x310,0x3bb,0x3b5,0x569)](_0x2145b2,_0x6d5439,_0x22d8eb,_0x2444da,_0x2fe482){const _0x14122d={_0x18381a:0x1cf,_0x55f4b6:0x288,_0x5a8d92:0x412,_0x31ab49:0x1ab,_0xf2e6f0:0x2c0,_0x218e5a:0xac,_0x384c7f:0xe0,_0x52d270:0x136},_0x2ea8e4={_0x2afdd8:0x334,_0x23ca33:0x2af,_0x116f5f:0x25a,_0x1eae3a:0x78,_0x2fd467:0x59,_0x16e204:0x153,_0x5eeecc:0x244,_0x153e90:0x3d2,_0x5f41a5:0x62},_0x5c834f={_0x29aa4e:0x1eb,_0x44c3dc:0x10c,_0x6f289d:0x17f},_0x27576c={_0x4e252e:0x11e,_0x558f6f:0x305},_0xf67091={_0x3b485f:0xb2,_0x2942b2:0x1b2},_0x4798d2={_0x3286fe:0xd4},_0x3d7b55=new AbortController(),_0x526365=_0x2444da?AbortSignal[_0x4008f8(0x1f2,_0x14122d._0x18381a,0x361,0x3db)]([_0x2444da,_0x3d7b55[_0x147ab1(_0x14122d._0x55f4b6,_0x14122d._0x5a8d92,0x37d,0x446)]]):_0x3d7b55[_0x4008f8(_0x14122d._0x31ab49,_0x14122d._0xf2e6f0,0x1dc,0x32e)];function _0x4008f8(_0x1761d6,_0x2c1f2a,_0x530471,_0x3085cd){return _0xadee61(_0x2c1f2a- -_0x4798d2._0x3286fe,_0x530471,_0x530471-0xb,_0x3085cd-0x154);}let _0x137f70;function _0x147ab1(_0x9cba2c,_0x3b5906,_0x1906ae,_0x3fd457){return _0xadee61(_0x3fd457-_0xf67091._0x3b485f,_0x3b5906,_0x1906ae-0x1eb,_0x3fd457-_0xf67091._0x2942b2);}try{return await Promise[_0x147ab1(0x2a0,0x2d2,0x537,0x45d)]([_0x2145b2[_0x4008f8(_0x14122d._0x218e5a,0x26b,_0x14122d._0x384c7f,_0x14122d._0x52d270)](_0x6d5439,{'conversationId':'default','signal':_0x526365,'stream':_0x2fe482}),new Promise((_0x536c76,_0xfaec1f)=>{function _0x1196a0(_0xb00246,_0x1f00f9,_0x1269c9,_0x55fa8a){return _0x147ab1(_0xb00246-0x1e0,_0x1f00f9,_0x1269c9-_0x27576c._0x4e252e,_0x55fa8a- -_0x27576c._0x558f6f);}if(_0x2444da?.[_0x113eb3(0x399,0x42a,_0x2ea8e4._0x2afdd8,_0x2ea8e4._0x23ca33)]){_0xfaec1f(new Error(_0x1196a0(_0x2ea8e4._0x116f5f,_0x2ea8e4._0x1eae3a,-_0x2ea8e4._0x2fd467,_0x2ea8e4._0x16e204)));return;}function _0x113eb3(_0x96a7bd,_0x238add,_0x74566e,_0xa2ff76){return _0x4008f8(_0x96a7bd-_0x5c834f._0x29aa4e,_0xa2ff76- -_0x5c834f._0x44c3dc,_0x238add,_0xa2ff76-_0x5c834f._0x6f289d);}_0x2444da?.[_0x113eb3(0x107,_0x2ea8e4._0x5eeecc,-0xaf,0xe5)](_0x1196a0(0x206,_0x2ea8e4._0x153e90,_0x2ea8e4._0x5f41a5,0x25d),()=>_0xfaec1f(new Error(_0x113eb3(0x407,0x16a,-0x36,0x1c6))),{'once':!![]});}),new Promise((_0xf211b4,_0x40d416)=>{_0x137f70=setTimeout(()=>{_0x3d7b55['abort'](),_0x40d416(new Error('Task\x20execution\x20timeout\x20after\x20'+_0x22d8eb+'ms'));},_0x22d8eb);})]);}finally{if(_0x137f70)clearTimeout(_0x137f70);}}[_0x27e2df(0x137,0x1f0,0x3f4,0x396)](){const _0x39026a={_0x37b174:0x43e,_0x5017cb:0x48e,_0x559990:0x5f8,_0x5aa9af:0x63c},_0x1b1be4={_0x568c64:0xaf,_0x2cb4a4:0x121},_0x2d9c44={_0x3a5b15:0x1b8};function _0x50e192(_0x3b7467,_0x5f80eb,_0x7eb812,_0x7031a3){return _0xadee61(_0x3b7467- -0xde,_0x7eb812,_0x7eb812-0x18e,_0x7031a3-_0x2d9c44._0x3a5b15);}function _0x11272f(_0x24f1c8,_0x96e816,_0x501175,_0x592b28){return _0xadee61(_0x592b28-0x127,_0x24f1c8,_0x501175-_0x1b1be4._0x568c64,_0x592b28-_0x1b1be4._0x2cb4a4);}return this[_0x11272f(_0x39026a._0x37b174,0x46c,0x61d,_0x39026a._0x5017cb)][_0x11272f(0x4c1,_0x39026a._0x559990,0x5cc,_0x39026a._0x5aa9af)];}[_0xadee61(0x3c4,0x602,0x189,0x44f)](_0x1e9cb9){const _0x284b63={_0x1f961f:0x560,_0x27b3a2:0x382,_0x1873f9:0x548,_0x5f148d:0x439},_0x17a395={_0x4b9962:0x1e8,_0x49e63d:0x3cb},_0x142eab={_0x4e0d6e:0x2f};function _0x296ce3(_0x2cefe7,_0x329bad,_0x3d3b45,_0x52f6b8){return _0x27e2df(_0x2cefe7-0x1,_0x2cefe7-0x451,_0x3d3b45-_0x142eab._0x4e0d6e,_0x3d3b45);}function _0x4f3d22(_0x133a6d,_0xef46d3,_0xa7c529,_0x2cf5fa){return _0x27e2df(_0x133a6d-_0x17a395._0x4b9962,_0xa7c529-_0x17a395._0x49e63d,_0xa7c529-0x1de,_0xef46d3);}return this[_0x296ce3(_0x284b63._0x1f961f,_0x284b63._0x27b3a2,0x649,0x53d)][_0x4f3d22(_0x284b63._0x1873f9,0x35c,_0x284b63._0x5f148d,0x455)](_0x1e9cb9);}[_0xadee61(0x24d,0xa6,0x353,0x44b)](){const _0x344e92={_0xc47d07:0x56f,_0x1d2dee:0x68d,_0x1dc84d:0x4c4,_0x3fab7c:0x3cb},_0x4c7d35={_0x410486:0x50},_0x704382={_0x10fd23:0xd0};function _0xd448a6(_0x521a1e,_0x1149c6,_0x4a95be,_0x522e70){return _0xadee61(_0x521a1e-0x208,_0x1149c6,_0x4a95be-_0x704382._0x10fd23,_0x522e70-0x39);}this[_0xd448a6(_0x344e92._0xc47d07,0x790,0x5cc,0x500)][_0xd448a6(0x60d,_0x344e92._0x1d2dee,0x3d0,0x3d9)]();function _0x58f7cd(_0x802eab,_0x2c0c8b,_0x47dc95,_0x26912d){return _0xadee61(_0x26912d- -0x3a,_0x47dc95,_0x47dc95-_0x4c7d35._0x410486,_0x26912d-0x1d3);}this['eventCollectors'][_0x58f7cd(_0x344e92._0x1dc84d,0x5da,0x5df,_0x344e92._0x3fab7c)]();}},AgentManagerCommandRunner=class{constructor(_0x25b08d,_0x490674,_0x432001,_0x2a7e8b){const _0x5dff5c={_0x36d93e:0x278,_0x10b72a:0x9e,_0x56be6e:0x296,_0x2ae954:0x270,_0x5543a8:0x1e5,_0x4e79e2:0x1d1,_0x12368f:0x11e,_0x24b455:0x32a},_0x23cc14={_0x510b3e:0x240,_0x362013:0xf0},_0x1cc412={_0x3bf0b3:0xf4,_0x507e17:0x131,_0x5c7028:0x107};this[_0x1cad30(_0x5dff5c._0x36d93e,-_0x5dff5c._0x10b72a,0xae,0xb9)]=_0x25b08d,this[_0x1b64d3(0x51c,_0x5dff5c._0x56be6e,0x177,0x36f)]=_0x490674;function _0x1b64d3(_0x120874,_0xa9119c,_0x5c37b3,_0x5a10f1){return _0xadee61(_0x5a10f1-_0x1cc412._0x3bf0b3,_0xa9119c,_0x5c37b3-_0x1cc412._0x507e17,_0x5a10f1-_0x1cc412._0x5c7028);}function _0x1cad30(_0x29b86c,_0x2ff243,_0x3e4b33,_0x86d871){return _0x27e2df(_0x29b86c-0x1a8,_0x3e4b33- -_0x23cc14._0x510b3e,_0x3e4b33-_0x23cc14._0x362013,_0x86d871);}this[_0x1cad30(_0x5dff5c._0x2ae954,0x1e6,_0x5dff5c._0x5543a8,_0x5dff5c._0x4e79e2)]=_0x432001,this[_0x1cad30(-0x89,_0x5dff5c._0x12368f,0x15e,_0x5dff5c._0x24b455)]=_0x2a7e8b;}async[_0xadee61(0x57a,0x5e0,0x39b,0x5b2)](_0x51e8de,_0x3cb8a8){const _0x4460a2={_0x1153a9:0x85,_0x110750:0x1c4,_0x4424eb:0x1d8,_0x5c54a4:0x143,_0x5a8a01:0xe7,_0x3ef32f:0x2cd,_0x10a418:0x477,_0x2359df:0x1ea,_0x4fa7be:0x125,_0x40f75f:0x1b1,_0x59fc48:0x37,_0xb16790:0x4d},_0x574ab5={_0x23a98d:0x2c0},_0x244f89={_0x4213a1:0x13},_0x38356c=_0x3cb8a8?.[_0x3d5ced(-_0x4460a2._0x1153a9,-0x318,-_0x4460a2._0x110750,-_0x4460a2._0x4424eb)];function _0x94a3b2(_0x10dab5,_0x4bd7df,_0x5dda8b,_0xb2f507){return _0x27e2df(_0x10dab5-_0x244f89._0x4213a1,_0x4bd7df-0x44d,_0x5dda8b-0x72,_0x5dda8b);}function _0x3d5ced(_0x380efe,_0x17e53d,_0x5ad2b2,_0x4f7d43){return _0xadee61(_0x5ad2b2- -_0x574ab5._0x23a98d,_0x4f7d43,_0x5ad2b2-0x18,_0x4f7d43-0x17d);}const _0x4c0c80=_0x3cb8a8?.['signal'],_0x55a3f=new AgentManager(this[_0x3d5ced(0x141,0x16d,_0x4460a2._0x5c54a4,-_0x4460a2._0x5a8a01)],this['delegatingTools'],this[_0x3d5ced(_0x4460a2._0x3ef32f,_0x4460a2._0x10a418,0x27a,_0x4460a2._0x2359df)],_0x38356c?_0x18d3fb=>_0x38356c[_0x3d5ced(0x18d,-0x107,-0x53,0x158)](_0x18d3fb):void 0x0,this[_0x3d5ced(_0x4460a2._0x4fa7be,0x1f5,0x1f3,_0x4460a2._0x40f75f)]);return _0x55a3f[_0x3d5ced(-_0x4460a2._0x59fc48,0xc9,-0x3a,_0x4460a2._0xb16790)](_0x51e8de,_0x4c0c80);}},DEFAULT_DELEGATION_DEPTH=0x0,DefaultDelegationService=class{constructor(_0x239524,_0x4f0f52,_0x431b89,_0x144d09,_0x2b5efe){const _0x5cf816={_0x5c29b2:0x47d,_0x393450:0x63a,_0x1f616b:0x58d,_0x5e4c11:0x390,_0x48f9a0:0x6df,_0x25041b:0x5ea,_0x28cda0:0x86e,_0x2c6af8:0x6ef,_0x3f0cde:0x129,_0x1f56bf:0x181},_0x36076f={_0x3a2684:0x14c,_0x79a96:0x78,_0x527e0b:0xa5};this[_0x2d1ad5(0x4c5,0x28c,0x435,0x653)]=_0x239524,this[_0x2d1ad5(_0x5cf816._0x5c29b2,_0x5cf816._0x393450,_0x5cf816._0x1f616b,_0x5cf816._0x5e4c11)]=_0x4f0f52;function _0x2d1ad5(_0x5d8036,_0x90b221,_0x533ef3,_0x56b1c2){return _0x27e2df(_0x5d8036-0xc9,_0x5d8036-0x3ad,_0x533ef3-0x36,_0x533ef3);}function _0x39a17a(_0x5ac44d,_0x2bca7,_0x35a5e9,_0x257add){return _0x27e2df(_0x5ac44d-_0x36076f._0x3a2684,_0x2bca7- -_0x36076f._0x79a96,_0x35a5e9-_0x36076f._0x527e0b,_0x5ac44d);}this[_0x2d1ad5(0x6d0,_0x5cf816._0x48f9a0,_0x5cf816._0x25041b,0x5ad)]=_0x431b89,this[_0x2d1ad5(0x6c1,_0x5cf816._0x28cda0,0x790,_0x5cf816._0x2c6af8)]=_0x144d09,this[_0x39a17a(-_0x5cf816._0x3f0cde,0x57,0x15e,_0x5cf816._0x1f56bf)]=_0x2b5efe;}[_0xadee61(0x351,0x2d8,0x3e1,0x4cc)]={};[_0x27e2df(0x503,0x3dc,0x2e8,0x550)](_0x2f2bff){const _0x4478ed={_0x14ac47:0x1fd,_0xddd105:0x64},_0x225420={_0x4301d0:0x2ed,_0x1749de:0x2};function _0x16e418(_0xf1e4b,_0x2b73d7,_0x2bcc5c,_0x2db1b1){return _0xadee61(_0x2b73d7- -_0x225420._0x4301d0,_0x2db1b1,_0x2bcc5c-_0x225420._0x1749de,_0x2db1b1-0x192);}this[_0x16e418(_0x4478ed._0x14ac47,_0x4478ed._0xddd105,0xa5,-0x11e)]=_0x2f2bff;}[_0xadee61(0x17a,0x215,0x290,0x255)](){const _0x4763e3={_0x2a0f02:0x3a7,_0x4d9842:0x4c5,_0x342a19:0x2b8,_0x2850e0:0x55e,_0x2b6cda:0x6c3,_0x14e9a9:0x62e,_0x290432:0x5d9},_0x2d23f3={_0x5be719:0x151,_0x444e06:0x46a,_0x15b755:0xae},_0x4cc04b={_0x27dd24:0x2ac,_0x4c6116:0x19c};function _0x51f1bb(_0x4d8973,_0x52dd05,_0x55d332,_0x256a88){return _0xadee61(_0x4d8973-_0x4cc04b._0x27dd24,_0x256a88,_0x55d332-_0x4cc04b._0x4c6116,_0x256a88-0x4c);}function _0x20a1e1(_0x6e0e4,_0x43ae12,_0x365edd,_0x5eb8cf){return _0x27e2df(_0x6e0e4-_0x2d23f3._0x5be719,_0x365edd-_0x2d23f3._0x444e06,_0x365edd-_0x2d23f3._0x15b755,_0x43ae12);}return this[_0x51f1bb(0x4d9,_0x4763e3._0x2a0f02,_0x4763e3._0x4d9842,_0x4763e3._0x342a19)][_0x20a1e1(_0x4763e3._0x2850e0,_0x4763e3._0x2b6cda,_0x4763e3._0x14e9a9,0x525)]()[_0x20a1e1(0x83a,_0x4763e3._0x290432,0x800,0x9ce)](_0xa3f319=>!_0xa3f319['id']||this[_0x20a1e1(0x8a9,0x489,0x6a6,0x8a1)][_0xa3f319['id']]!==![]);}async['delegate'](_0x142bd2,_0x272480){const _0x1c5048={_0x52d797:0x13f,_0x49c77c:0x366,_0xd87e77:0x1ed,_0x1e5f8f:0x50f,_0x18653d:0x3eb,_0x2fcc0c:0x2ff,_0x5fb6d9:0x3ed,_0xe8bbeb:0x654,_0x26afed:0x5d5,_0x5f2b13:0x43b,_0x4743ec:0x358,_0x294133:0x325,_0x19150e:0x407,_0x46248f:0x3fc,_0x348fb9:0x213,_0x170ee8:0x151,_0x3301a3:0x2dd,_0x38fa57:0x36e,_0x32cbd1:0x456,_0x4e6537:0x3a3,_0x17af4c:0xd8,_0x5bef34:0x3f7,_0x36519f:0x213,_0x53f3bf:0x4c,_0x93f88c:0x675,_0x437cbb:0x32b,_0x2702de:0x4d2,_0x855ebb:0x3e5,_0x16f4c6:0x455,_0x5b0a1c:0x2ee,_0x513f90:0x55e,_0x5b8ba6:0x672,_0x304d5a:0x793,_0x50e8de:0x6bc,_0x2cde77:0x5a4,_0x4ae8f8:0x4cb,_0x3db9c2:0x146,_0x49dbbb:0x381,_0x42dff2:0x406,_0x49d8e8:0x1f5,_0x4d50a9:0x217,_0x1ac49c:0x64b,_0x5e681e:0x42a,_0x206abb:0x5a7,_0x529ef8:0x47a,_0x749eff:0x1a0,_0xcfd163:0x1a,_0x515c6b:0x131},_0x11201b={_0x1c3510:0x44,_0x3ca3ce:0x133},_0x5ab96f=this['catalog'][_0x253164(0x25f,_0x1c5048._0x52d797,_0x1c5048._0x49c77c,0x298)](_0x142bd2[_0x2a1bf4(0x520,0x7ba,0x66c,0x64c)]);if(!_0x5ab96f){const _0x47d4b9=this[_0x2a1bf4(0x31d,_0x1c5048._0xd87e77,0x325,_0x1c5048._0x1e5f8f)]['list']()[_0x253164(_0x1c5048._0x18653d,_0x1c5048._0x2fcc0c,0x10c,0x27c)](_0x384d10=>_0x384d10['id'])[_0x253164(0x326,0x467,_0x1c5048._0x5fb6d9,_0x1c5048._0xe8bbeb)](Boolean)[_0x253164(0x509,0x3d9,0x1b6,0x267)](',\x20');return{'success':![],'error':_0x253164(_0x1c5048._0x26afed,0x3f5,_0x1c5048._0x5f2b13,_0x1c5048._0x4743ec)+_0x142bd2[_0x253164(0x40c,0x530,_0x1c5048._0x294133,_0x1c5048._0x19150e)]+_0x253164(_0x1c5048._0x46248f,0x333,_0x1c5048._0x348fb9,0x4f5)+_0x47d4b9};}function _0x2a1bf4(_0x187a39,_0x1433ff,_0x2c1a7e,_0x6be255){return _0xadee61(_0x2c1a7e-0xf8,_0x187a39,_0x2c1a7e-0x11d,_0x6be255-0xb3);}const _0x3de64d=this[_0x2a1bf4(0x27d,_0x1c5048._0x170ee8,_0x1c5048._0x3301a3,_0x1c5048._0x38fa57)][_0x2a1bf4(_0x1c5048._0x32cbd1,_0x1c5048._0x4e6537,0x338,0x213)]({'agent':_0x5ab96f,'enabledAgents':this[_0x253164(_0x1c5048._0x1e5f8f,0x30d,_0x1c5048._0x17af4c,0x31e)],'params':_0x142bd2,'context':_0x272480});if(!_0x3de64d[_0x253164(0x1ec,0x2c2,0x2dd,_0x1c5048._0x5bef34)])return{'success':![],'error':_0x3de64d[_0x253164(_0x1c5048._0x36519f,0xce,-0x9f,-_0x1c5048._0x53f3bf)]??_0x2a1bf4(0x7f5,_0x1c5048._0x93f88c,0x665,0x49f)};const _0x162a1a=typeof _0x272480?.[_0x253164(0x5be,0x4c1,0x4ba,0x65e)]===_0x253164(_0x1c5048._0x437cbb,0x47f,0x5cd,0x4e8)?_0x272480['delegationDepth']:DEFAULT_DELEGATION_DEPTH;function _0x253164(_0xd35c6b,_0x1cfd63,_0x4f1977,_0x4285b5){return _0xadee61(_0x1cfd63- -_0x11201b._0x1c3510,_0x4f1977,_0x4f1977-0x165,_0x4285b5-_0x11201b._0x3ca3ce);}const _0x44d01b=this['factory']['create']({'template':_0x5ab96f,'params':_0x142bd2,'context':_0x272480,'currentDepth':_0x162a1a});try{const _0x5f503a=await this[_0x253164(_0x1c5048._0x2702de,_0x1c5048._0x855ebb,_0x1c5048._0x16f4c6,_0x1c5048._0x5b0a1c)][_0x2a1bf4(0x632,_0x1c5048._0x513f90,_0x1c5048._0x5b8ba6,_0x1c5048._0x304d5a)](_0x44d01b,_0x272480);if(_0x5f503a['status']===_0x253164(0x3f7,0x4ca,0x3b0,_0x1c5048._0x50e8de)||_0x5f503a[_0x2a1bf4(_0x1c5048._0x2cde77,0x348,0x4b9,_0x1c5048._0x4ae8f8)]===_0x253164(_0x1c5048._0x3db9c2,_0x1c5048._0x49dbbb,0x288,0x328))return{'success':![],'error':_0x5f503a['result']};const {summary:_0x42a0bc,metadata:_0x1d27e7}=this['formatter'][_0x2a1bf4(0x200,_0x1c5048._0x42dff2,_0x1c5048._0x49d8e8,_0x1c5048._0x4d50a9)](_0x142bd2[_0x2a1bf4(_0x1c5048._0x1ac49c,_0x1c5048._0x5e681e,0x66c,_0x1c5048._0x206abb)],_0x5f503a);return{'success':!![],'summary':_0x42a0bc,'metadata':_0x1d27e7};}catch(_0x1935fd){return{'success':![],'error':_0x253164(_0x1c5048._0x529ef8,0x316,0x108,0x3f8)+this[_0x253164(0x10f,_0x1c5048._0x749eff,0x137,0x169)][_0x253164(-_0x1c5048._0xcfd163,_0x1c5048._0x515c6b,0xcf,-0x9e)](_0x1935fd)};}}},DefaultDelegationResultFormatter=class{['formatSuccess'](_0x986d55,_0x38d762){const _0x3897c6={_0x258608:0x573,_0x4da53f:0x8de,_0x347108:0x53d,_0x2d4799:0x512,_0x51337c:0x208,_0x1928ab:0x13f,_0x1076d3:0x1a5,_0x5e37c4:0x107,_0x48873e:0x1fb,_0x1f32e4:0x11f,_0x3904bd:0xc0,_0xe23bac:0x530,_0xbe6d4b:0x379,_0x1108f4:0x552,_0x3e5c32:0x73d,_0x4a16d9:0x1f,_0x3a9501:0x2d8,_0x55ef99:0x5e0},_0x218fd4={_0xde6664:0x1cf,_0x886fa5:0x43};function _0x465859(_0x2f608f,_0x188385,_0x25cc90,_0x5db7cb){return _0x27e2df(_0x2f608f-0xc8,_0x25cc90-0x2e4,_0x25cc90-0x90,_0x5db7cb);}function _0x9fc783(_0x4a4385,_0x44a16b,_0x24f1e5,_0x524b6f){return _0x27e2df(_0x4a4385-0x42,_0x524b6f- -_0x218fd4._0xde6664,_0x24f1e5-_0x218fd4._0x886fa5,_0x44a16b);}return{'summary':_0x38d762['result'],'metadata':{'agentId':_0x986d55,'agentName':_0x38d762[_0x465859(0x62f,0x35b,_0x3897c6._0x258608,0x62f)][_0x465859(_0x3897c6._0x4da53f,_0x3897c6._0x347108,0x6a1,_0x3897c6._0x2d4799)],'status':_0x38d762[_0x9fc783(_0x3897c6._0x51337c,_0x3897c6._0x1928ab,_0x3897c6._0x1076d3,0xdd)],'executionTimeMs':_0x38d762[_0x9fc783(-_0x3897c6._0x5e37c4,_0x3897c6._0x48873e,-_0x3897c6._0x1f32e4,_0x3897c6._0x3904bd)][_0x9fc783(-0x265,-0x16b,0x7d,-0x174)],'toolCallsExecuted':_0x38d762['metadata']['toolCallsExecuted'],'tokensUsed':_0x38d762[_0x465859(0x3b3,0x5de,0x573,_0x3897c6._0xe23bac)][_0x465859(_0x3897c6._0xbe6d4b,0x3d7,_0x3897c6._0x1108f4,_0x3897c6._0x3e5c32)],'metrics':_0x38d762[_0x9fc783(0x1ed,_0x3897c6._0x4a16d9,_0x3897c6._0x3a9501,_0x3897c6._0x3904bd)][_0x465859(_0x3897c6._0x55ef99,0x4c5,0x704,0x6c3)]}};}[_0xadee61(0x175,0x2d1,0x116,0x228)](_0x1cbe3d){if(_0x1cbe3d instanceof Error)return _0x1cbe3d['message'];return String(_0x1cbe3d);}},DelegationServiceFactory=class{[_0x27e2df(0x36b,0x29b,0x2de,0x15d)](_0x25de0f){const _0x4a0a89={_0x5abe44:0x2ed,_0x5b382a:0x19f,_0x52a74e:0x21a,_0x561d43:0x41,_0x1bebc7:0x7d,_0xc34614:0x399},_0x520451={_0x5a6004:0xf0};function _0x1f8efd(_0x4ce02b,_0x5aceef,_0x53e67e,_0x4f58bc){return _0xadee61(_0x4f58bc-0x413,_0x4ce02b,_0x53e67e-0x73,_0x4f58bc-0x1d9);}function _0x85e134(_0x4afbdd,_0x14fa32,_0xc7c723,_0x40241a){return _0xadee61(_0x14fa32- -0x8d,_0x4afbdd,_0xc7c723-_0x520451._0x5a6004,_0x40241a-0x141);}const _0x3d2ca9=new DefaultSpecialistAgentFactory({'agentListProvider':_0x25de0f['agentListProvider']});return new DefaultDelegationService(_0x25de0f[_0x85e134(_0x4a0a89._0x5abe44,_0x4a0a89._0x5b382a,_0x4a0a89._0x52a74e,_0x4a0a89._0x561d43)],new DefaultDelegationPolicy(),_0x3d2ca9,_0x25de0f[_0x85e134(-0x54,0x1b7,_0x4a0a89._0x1bebc7,_0x4a0a89._0xc34614)],new DefaultDelegationResultFormatter());}},ToolRegistry=class{[_0xadee61(0x10b,0xfe,-0xe,0x43)]=new Map();['toolsMemory'];[_0x27e2df(0x253,0x117,0x283,-0x6c)];[_0xadee61(0x52d,0x49a,0x522,0x3a5)];[_0x27e2df(0x3fa,0x3d2,0x526,0x2dd)];[_0xadee61(0x320,0x475,0x449,0x3a7)]={};constructor(_0x457afb){const _0x480c19={_0x17af4b:0x3ac,_0x2885d1:0x553,_0x1e15ec:0x1f5,_0xd778dc:0x499,_0xd87fb8:0x4c7,_0x29e80c:0x2cd,_0x29acb8:0x2d,_0x56c1bb:0x2f4,_0x5104e5:0x416,_0xfb037c:0x59,_0x593454:0xb,_0x3750cf:0x201,_0x1dd9c7:0x1ac,_0x500c58:0x170,_0x3fdf87:0x347,_0x290765:0x20e,_0xe842a8:0x129,_0x3e0a33:0x4cc},_0x27ecf9={_0x33846d:0x16a},_0x9981d0={_0x13d4ba:0x2};this[_0x265b56(0x515,_0x480c19._0x17af4b,_0x480c19._0x2885d1,0x3d2)]=_0x457afb?.['toolsMemory']||new InMemoryMemory(),this[_0x265b56(_0x480c19._0x1e15ec,_0x480c19._0xd778dc,_0x480c19._0xd87fb8,_0x480c19._0x29e80c)]=_0x457afb?.[_0x34f712(0xf8,_0x480c19._0x29acb8,_0x480c19._0x56c1bb,0x115)]||new AgentRegistry();function _0x34f712(_0x132753,_0x109886,_0x373eef,_0xd2495f){return _0x27e2df(_0x132753-0x1f4,_0xd2495f- -_0x9981d0._0x13d4ba,_0x373eef-0xb1,_0x373eef);}this[_0x34f712(0x453,0x56e,0x34f,_0x480c19._0x5104e5)]=_0x457afb?.['delegationServiceFactory'];const _0x5c7317=new TodoStore(_0x457afb?.[_0x34f712(-_0x480c19._0xfb037c,-0x1a1,0x82,_0x480c19._0x593454)]||new InMemoryMemory()),_0x279588=[new TodoWriteTool(_0x5c7317),new WebSearchTool(),new WebFetchTool(),new FileReadTool({'allowAbsolute':!![]}),new FileNewTool(),new FileEditTool(),new BashTool(),new LsTool({'allowAbsolute':!![]}),new GlobTool({'allowAbsolute':!![]}),new GrepTool({'allowAbsolute':!![]})];function _0x265b56(_0x1f875f,_0x3748c3,_0x38c033,_0xcc43f1){return _0xadee61(_0xcc43f1-0xa1,_0x3748c3,_0x38c033-0x10,_0xcc43f1-_0x27ecf9._0x33846d);}for(const _0x357036 of _0x279588){this[_0x265b56(0x299,0x367,_0x480c19._0x3750cf,_0x480c19._0x1dd9c7)]['set'](_0x357036[_0x34f712(_0x480c19._0x500c58,_0x480c19._0x3fdf87,0x120,_0x480c19._0x290765)],_0x357036);}void this[_0x265b56(_0x480c19._0xe842a8,_0x480c19._0x3e0a33,0x204,0x2f4)]();}async[_0x27e2df(0x225,0x13e,0x1db,0x365)](){const _0xf21e4f={_0x4c434c:0x150,_0x19799a:0x108,_0x5e57f9:0x48,_0x4378e1:0x543,_0x5bdae6:0x653,_0x2de958:0x718,_0x1aa786:0x860,_0x251a61:0xda,_0x56343e:0x6db,_0x4511b4:0x655},_0x12f569={_0x2985ad:0x17d},_0x42c314={_0x20cad5:0xbb,_0x58f6da:0x1c9};function _0x57e7f1(_0x43d771,_0x2f039e,_0x3b2587,_0x132426){return _0x27e2df(_0x43d771-_0x42c314._0x20cad5,_0x2f039e- -_0x42c314._0x58f6da,_0x3b2587-0x140,_0x3b2587);}function _0x38d310(_0x3cbe4f,_0x588cdb,_0x1b99cb,_0x171516){return _0x27e2df(_0x3cbe4f-0x7,_0x1b99cb-0x4fc,_0x1b99cb-_0x12f569._0x2985ad,_0x3cbe4f);}try{const _0x4efa3f=Array['from'](this[_0x57e7f1(-_0xf21e4f._0x4c434c,-0x1d3,-0x14c,-0x30b)][_0x57e7f1(0x13f,_0xf21e4f._0x19799a,_0xf21e4f._0x5e57f9,-0x4a)]());await this[_0x38d310(_0xf21e4f._0x4378e1,_0xf21e4f._0x5bdae6,_0xf21e4f._0x2de958,_0xf21e4f._0x1aa786)]?.[_0x57e7f1(0x387,0x16c,0x52,_0xf21e4f._0x251a61)](_0x38d310(0x879,_0xf21e4f._0x56343e,_0xf21e4f._0x4511b4,0x797),_0x4efa3f);}catch{console['warn']('Failed\x20to\x20persist\x20tool\x20names\x20to\x20memory');}}async[_0x27e2df(-0x180,-0xd,0x134,0x67)](){const _0x243a9d={_0x1745cf:0x383,_0x24437e:0x480,_0x4b6fc8:0x1a7,_0x2f3c14:0x5d},_0x5a3a35={_0x46a264:0xd5},_0x279711={_0x1dc756:0xcc,_0x412bf3:0xcb};function _0x5787a0(_0x1cee4e,_0x30ca26,_0x594a4a,_0x1e2f97){return _0xadee61(_0x1cee4e-_0x279711._0x1dc756,_0x594a4a,_0x594a4a-_0x279711._0x412bf3,_0x1e2f97-0x1ab);}function _0x237dd9(_0x321b49,_0x11f1a5,_0xd72e39,_0xd8c8db){return _0xadee61(_0x11f1a5- -0xe5,_0xd72e39,_0xd72e39-_0x5a3a35._0x46a264,_0xd8c8db-0x13d);}return Array[_0x5787a0(_0x243a9d._0x1745cf,0x55a,_0x243a9d._0x24437e,_0x243a9d._0x4b6fc8)](this[_0x5787a0(0x1d7,-_0x243a9d._0x2f3c14,0x20a,-0x38)]['keys']());}[_0x27e2df(0x121,0x1c3,0x247,0x246)](_0x39e83d){const _0x399091={_0x13cbd2:0xd9,_0x53d1bc:0x20a,_0x5bbce3:0x247,_0x3c4c41:0x89,_0x27ac6f:0x326,_0x5de6e9:0x480,_0xc5f646:0x30,_0x2259a9:0x1b9,_0x21874b:0x365,_0x3d6461:0x42c,_0x5a1f54:0x2a5,_0x1f02da:0x3f9},_0x453ef0={_0x34b5f0:0x32,_0x1a4d47:0x1e4,_0x3b5db4:0x2d},_0x1989bc=[];function _0x4bf671(_0x22275d,_0x1e88f4,_0x1513ca,_0x125c3f){return _0xadee61(_0x125c3f- -0xc3,_0x1e88f4,_0x1513ca-0x133,_0x125c3f-0x6);}for(const _0x2f8f67 of _0x39e83d){const _0x28c1fc=this[_0x162726(-0xb8,-0xe6,_0x399091._0x13cbd2,0x2e4)][_0x4bf671(_0x399091._0x53d1bc,_0x399091._0x5bbce3,-_0x399091._0x3c4c41,0xc0)](_0x2f8f67);if(_0x28c1fc)_0x1989bc[_0x4bf671(0x5bc,0x65f,_0x399091._0x27ac6f,_0x399091._0x5de6e9)]({'type':_0x4bf671(_0x399091._0xc5f646,0x24a,_0x399091._0x2259a9,0xa3),'function':_0x28c1fc[_0x4bf671(_0x399091._0x21874b,_0x399091._0x3d6461,_0x399091._0x5a1f54,_0x399091._0x1f02da)]()});}function _0x162726(_0x303859,_0x38186c,_0x17caef,_0x4cf84d){return _0xadee61(_0x17caef- -_0x453ef0._0x34b5f0,_0x303859,_0x17caef-_0x453ef0._0x1a4d47,_0x4cf84d-_0x453ef0._0x3b5db4);}return _0x1989bc;}['setOrchestrator'](_0x160f67,_0x2fa1af,_0x18853f,_0x27bb13){const _0x765909={_0x358bfe:0x8f7,_0x3f248e:0x9cc,_0x586a63:0x7e0,_0x7e9373:0x703,_0x1ca949:0x721,_0x3c1cc2:0x6d3,_0x2f2d21:0x21,_0x2753f6:0x84b,_0x49a4f3:0x2a1,_0x21306e:0x37f,_0x18653e:0x1c3,_0x3386e7:0x282},_0x4de09e={_0x9e4ca0:0x100,_0x2c224c:0x1ed},_0x435fba={_0x563b8a:0x401},_0x3b3168=new AgentManagerCommandRunner(_0x160f67,_0x2fa1af,_0x18853f,_0x27bb13),_0x1f805f=this[_0x3500c3(0x670,0x88a,0x5b9,0x53a)]??new DelegationServiceFactory(),_0xdcd72c=_0x1f805f[_0x1f79ad(0x6e0,0x8e6,0x7b1,_0x765909._0x358bfe)]({'agentRegistry':this['agentRegistry'],'commandRunner':_0x3b3168,'agentListProvider':()=>this[_0x1f79ad(0x6ca,0x415,0x62d,0x60f)][_0x1f79ad(0x665,0x4e4,0x6da,0x84b)]()[_0x1f79ad(0x861,0x7ce,0x744,0x6de)](_0x30b9b6=>({'id':_0x30b9b6['id'],'name':_0x30b9b6[_0x3500c3(0x468,0x537,0x505,0x441)],'description':_0x30b9b6['description']}))});_0xdcd72c[_0x1f79ad(_0x765909._0x3f248e,0x8b4,0x8f2,_0x765909._0x586a63)](this[_0x1f79ad(_0x765909._0x7e9373,0x504,_0x765909._0x1ca949,0x94e)]);function _0x1f79ad(_0x5dc353,_0xb1f920,_0x55687f,_0x1e6470){return _0xadee61(_0x55687f-_0x435fba._0x563b8a,_0x5dc353,_0x55687f-0x14b,_0x1e6470-0x106);}this[_0x1f79ad(0x8cc,0xa37,0x8e8,_0x765909._0x3c1cc2)]=new AssignTool(_0xdcd72c),this[_0x3500c3(0x24e,_0x765909._0x2f2d21,0x232,0x13f)][_0x1f79ad(0xa6a,0x899,_0x765909._0x2753f6,0xa15)](_0x3500c3(_0x765909._0x49a4f3,0x156,_0x765909._0x21306e,0x2a3),this['assignTool']);function _0x3500c3(_0x3fca79,_0x76daef,_0x34abb6,_0x2b9807){return _0xadee61(_0x3fca79-0x143,_0x2b9807,_0x34abb6-_0x4de09e._0x9e4ca0,_0x2b9807-_0x4de09e._0x2c224c);}void this[_0x3500c3(0x396,0x259,_0x765909._0x18653e,_0x765909._0x3386e7)]();}[_0xadee61(0x225,0x2eb,-0x2,0x427)](){const _0x440c42={_0x3d0101:0x5f7,_0x8cdc4b:0x5e1,_0x4c4bdb:0x78c},_0x30a224={_0x27bebe:0x1b5,_0x3ef034:0x75};function _0x3f1d9f(_0x157210,_0x4aa66a,_0xc60c3d,_0x4f6ae1){return _0xadee61(_0xc60c3d-0x40e,_0x4aa66a,_0xc60c3d-_0x30a224._0x27bebe,_0x4f6ae1-_0x30a224._0x3ef034);}return this[_0x3f1d9f(_0x440c42._0x3d0101,_0x440c42._0x8cdc4b,0x63a,_0x440c42._0x4c4bdb)];}[_0x27e2df(0x58b,0x3dc,0x5c3,0x2e0)](_0xf11dfe){const _0x107145={_0x326bd7:0x48,_0x5a727e:0x4fd,_0x156d6b:0x5b3,_0xd05b5b:0x415,_0x49343f:0x556,_0x4d4cc2:0x5ec,_0x494a9c:0x560},_0x2958d7={_0x41caf1:0xae,_0x4d1acf:0x7d},_0x6a10fd={_0x26bc6f:0x6f};this[_0x1bc4c2(0x4c,_0x107145._0x326bd7,0xf9,0x89)]=_0xf11dfe;function _0xc2de3a(_0x4fc453,_0x39017d,_0x3ee027,_0x4e6df2){return _0xadee61(_0x4e6df2-_0x6a10fd._0x26bc6f,_0x39017d,_0x3ee027-0x54,_0x4e6df2-0x17);}function _0x1bc4c2(_0x54a21e,_0x1699cf,_0x1cdb5e,_0x3a864e){return _0x27e2df(_0x54a21e-_0x2958d7._0x41caf1,_0x1cdb5e- -0x112,_0x1cdb5e-_0x2958d7._0x4d1acf,_0x1699cf);}this[_0xc2de3a(_0x107145._0x5a727e,_0x107145._0x156d6b,_0x107145._0xd05b5b,_0x107145._0x49343f)]?.[_0xc2de3a(_0x107145._0x4d4cc2,0x5ba,0x6d7,_0x107145._0x494a9c)](_0xf11dfe);}async['executeToolCalls'](_0x117878,_0x3da950,_0x3c2449=0x3,_0xfea0d0){const _0x2e6e4f={_0x625ff4:0x95,_0x218652:0x2b,_0x513f2c:0x183,_0x58a4ae:0x46c,_0x5f2d1d:0x33,_0x3c5cee:0x29b,_0x47c7dd:0xd7,_0x3aaa6d:0x424,_0x29c5ac:0x39c,_0x2dadce:0x1b9,_0x55213e:0x38d,_0x3d6942:0x3f6,_0x4b9d24:0x58,_0x3d4a3e:0x4b,_0x42d3c6:0x1af,_0x31c0b8:0x101,_0x32a0a2:0xf1,_0x2d761b:0x31e,_0x38f090:0x1b9},_0x32f51d={_0x224e5c:0x6e0,_0x1f52f3:0x6d3,_0xa8166:0x5be,_0x4f1efd:0x5a,_0x97b0a6:0x70e,_0x58c7e2:0x6e0,_0x1cd6fa:0x5f3,_0x52a8a5:0x487,_0x407942:0x705,_0x2d1a67:0x662,_0x2391c0:0x622,_0x28e797:0xd6,_0xc40ebc:0xe,_0x2d0f16:0x528,_0x19d685:0x662,_0x1a4aa7:0x1a1,_0x262942:0x5d6,_0xa9051f:0x576,_0x337fce:0x78a,_0xd5df67:0x304,_0x2a6a69:0x3ec,_0x3a11f4:0x3b8,_0x290a1b:0x8,_0x595bda:0x50b,_0x127c35:0x21f,_0x11f2fd:0x51c,_0x457278:0x6af,_0x338105:0x3d8,_0xff8bc0:0x105,_0x3f681a:0x63,_0x2779ff:0x19e,_0x112d84:0x2c5,_0x1ff907:0xa1,_0x1a384b:0x416,_0x47da8d:0x279,_0x7d06be:0x5cc,_0x4ca3f5:0x17c,_0x116a62:0x3b8,_0x58944d:0x3c5,_0xa94ba5:0x576,_0x2f33e2:0x758},_0x4c1949={_0x342f5f:0xb8};function _0x3a78bb(_0x40d338,_0x47da4b,_0x4700cc,_0x3eece7){return _0xadee61(_0x47da4b- -0x242,_0x4700cc,_0x4700cc-0x1ca,_0x3eece7-0xa3);}function _0x141a80(_0x10dce9,_0xee213e,_0x26640c,_0x774ad9){return _0x27e2df(_0x10dce9-0xe5,_0x26640c- -0x275,_0x26640c-_0x4c1949._0x342f5f,_0x10dce9);}const _0x22d45a=[];for(let _0x453f75=0x0;_0x453f75<_0x117878[_0x141a80(0x66,_0x2e6e4f._0x625ff4,-_0x2e6e4f._0x218652,_0x2e6e4f._0x513f2c)];_0x453f75+=_0x3c2449){if(_0xfea0d0?.[_0x3a78bb(_0x2e6e4f._0x58a4ae,0x24d,0x2ce,_0x2e6e4f._0x5f2d1d)]){const _0x5dfc83=_0x117878[_0x3a78bb(-0xb6,-0x128,-_0x2e6e4f._0x3c5cee,_0x2e6e4f._0x47c7dd)](_0x453f75);for(const _0x5b14e6 of _0x5dfc83){_0x22d45a['push']({'id':_0x5b14e6['id'],'name':_0x5b14e6['name'],'status':_0x3a78bb(_0x2e6e4f._0x3aaa6d,0x2cc,_0x2e6e4f._0x29c5ac,0x1b2),'type':_0x3a78bb(0x2ab,_0x2e6e4f._0x2dadce,_0x2e6e4f._0x55213e,_0x2e6e4f._0x3d6942),'result':_0x3a78bb(0x48,-0x103,-_0x2e6e4f._0x4b9d24,-0x272),'metadata':{'errorReason':_0x141a80(0x1ad,-0xb9,0x105,-0x106)},'durationMs':0x0});}break;}const _0x1b65b6=_0x117878['slice'](_0x453f75,_0x453f75+_0x3c2449),_0x438632=await Promise[_0x3a78bb(0x11d,0x73,_0x2e6e4f._0x3d4a3e,-0x144)](_0x1b65b6[_0x3a78bb(_0x2e6e4f._0x42d3c6,_0x2e6e4f._0x31c0b8,-_0x2e6e4f._0x32a0a2,0x313)](async _0x32b8f1=>{const _0x4ad9f1={_0x2333af:0xc0,_0x5b0080:0x1b8};if(_0xfea0d0?.[_0x37b8b6(0x4dd,_0x32f51d._0x224e5c,_0x32f51d._0x1f52f3,_0x32f51d._0xa8166)])return{'id':_0x32b8f1['id'],'name':_0x32b8f1['name'],'status':_0x543142(0x297,0x37f,0x181,0x375),'type':'text','result':_0x543142(-0x268,-0x1db,-0x17e,-_0x32f51d._0x4f1efd),'metadata':{'errorReason':_0x37b8b6(_0x32f51d._0x97b0a6,_0x32f51d._0x58c7e2,_0x32f51d._0x1cd6fa,0x689)},'durationMs':0x0};function _0x37b8b6(_0x32d92e,_0x486ce6,_0x580609,_0x4e4b69){return _0x141a80(_0x32d92e,_0x486ce6-_0x4ad9f1._0x2333af,_0x486ce6-0x5db,_0x4e4b69-_0x4ad9f1._0x5b0080);}if(_0x32b8f1[_0x37b8b6(_0x32f51d._0x52a8a5,0x528,0x3e7,0x460)]){const _0x5ce67d=_0x32b8f1[_0x37b8b6(_0x32f51d._0x407942,0x528,0x5f0,0x5b5)]+_0x37b8b6(0x5f5,_0x32f51d._0x2d1a67,0x78e,0x43f);return{'id':_0x32b8f1['id'],'name':_0x32b8f1['name'],'status':'error','type':_0x37b8b6(_0x32f51d._0x2391c0,0x64c,0x681,0x42c),'result':_0x5ce67d,'metadata':{'errorReason':_0x543142(0x97,-0x1fc,-_0x32f51d._0x28e797,_0x32f51d._0xc40ebc),'editInstruction':_0x32b8f1[_0x37b8b6(0x31a,_0x32f51d._0x2d0f16,0x6c6,0x358)]},'durationMs':0x0};}const _0x5de295=performance[_0x37b8b6(0x62d,0x73d,0x56f,_0x32f51d._0x19d685)](),_0x440f85=this['tools'][_0x543142(_0x32f51d._0x1a4aa7,0x161,0x13e,-0x16)](_0x32b8f1[_0x37b8b6(_0x32f51d._0x262942,_0x32f51d._0xa9051f,0x544,_0x32f51d._0x337fce)]);if(!_0x440f85){const _0x1dbc31=Math[_0x543142(_0x32f51d._0xd5df67,0x3d7,_0x32f51d._0x2a6a69,_0x32f51d._0x3a11f4)](performance['now']()-_0x5de295);return{'id':_0x32b8f1['id'],'name':_0x32b8f1[_0x543142(0x169,_0x32f51d._0x290a1b,0x355,0x18c)],'status':_0x543142(_0x32f51d._0x595bda,0x1cc,_0x32f51d._0x127c35,0x375),'type':_0x543142(0x63,0x453,0x36a,0x262),'result':_0x37b8b6(_0x32f51d._0x11f2fd,0x581,0x3bd,_0x32f51d._0x457278)+_0x32b8f1[_0x37b8b6(_0x32f51d._0x338105,_0x32f51d._0xa9051f,0x4ea,0x728)]+_0x543142(0x85,_0x32f51d._0xff8bc0,-0x5,-_0x32f51d._0x3f681a),'metadata':{'errorReason':_0x543142(_0x32f51d._0x2779ff,-0x35,-_0x32f51d._0x112d84,-_0x32f51d._0x1ff907)},'durationMs':_0x1dbc31};}const _0x3ebd80=await _0x440f85[_0x543142(_0x32f51d._0x1a384b,0x204,0x122,_0x32f51d._0x47da8d)](_0x32b8f1[_0x37b8b6(0x60e,0x42d,_0x32f51d._0x7d06be,0x28d)]||{},{..._0x3da950,'toolCallId':_0x32b8f1['id'],'signal':_0xfea0d0}),_0xab77eb=Math[_0x543142(0x5ed,0x3fb,_0x32f51d._0x4ca3f5,_0x32f51d._0x116a62)](performance['now']()-_0x5de295);function _0x543142(_0x1b8619,_0x47a4d7,_0x30d09c,_0x2b4942){return _0x3a78bb(_0x1b8619-0x1c6,_0x2b4942-0xa9,_0x1b8619,_0x2b4942-0xd1);}return{..._0x3ebd80,'id':_0x32b8f1['id'],'name':_0x32b8f1[_0x37b8b6(_0x32f51d._0x58944d,_0x32f51d._0xa94ba5,_0x32f51d._0x2f33e2,0x5cc)],'durationMs':_0xab77eb};}));_0x22d45a[_0x141a80(0x21e,_0x2e6e4f._0x2d761b,_0x2e6e4f._0x38f090,0xa7)](..._0x438632);}return _0x22d45a;}},CompositeToolPort=class{constructor(_0x2fadd4){const _0x430090={_0x397aa4:0x695,_0x1d199c:0x809},_0x4af69b={_0x37e7b4:0x6c};function _0x503c75(_0x3b5a1b,_0x5789e8,_0x102eca,_0x469579){return _0x27e2df(_0x3b5a1b-0xce,_0x5789e8-0x44a,_0x102eca-_0x4af69b._0x37e7b4,_0x3b5a1b);}this[_0x503c75(0x4af,_0x430090._0x397aa4,0x6de,_0x430090._0x1d199c)]=_0x2fadd4;}[_0x27e2df(0x352,0x1c3,0x3c9,-0x7b)](_0x2cbd4d){const _0x5d7bb3={_0x204f2e:0x522,_0x3e12d3:0x2f3,_0x582037:0x14f,_0x14deb0:0x11a},_0x4a1351={_0x3b2430:0xc8},_0x567bdd={_0x481b0a:0x12a,_0x20aaea:0x122};function _0x2560e9(_0x20cece,_0x2afe6f,_0x4ac7c7,_0x499b28){return _0xadee61(_0x499b28- -_0x567bdd._0x481b0a,_0x20cece,_0x4ac7c7-_0x567bdd._0x20aaea,_0x499b28-0x1d);}const _0x266a2d=[];for(const _0x3496f3 of this[_0x3626a8(0xdb,0x1d7,0x313,0x4ac)]){try{_0x266a2d[_0x2560e9(_0x5d7bb3._0x204f2e,_0x5d7bb3._0x3e12d3,0x4e5,0x419)](..._0x3496f3[_0x2560e9(0x16c,_0x5d7bb3._0x582037,_0x5d7bb3._0x14deb0,0x1ae)](_0x2cbd4d));}catch{}}function _0x3626a8(_0x3119f0,_0x5456fd,_0x3c7ba4,_0x513662){return _0x27e2df(_0x3119f0-0x1bb,_0x3c7ba4-_0x4a1351._0x3b2430,_0x3c7ba4-0xe8,_0x3119f0);}return _0x266a2d;}async[_0xadee61(0x2e9,0x25f,0x3f5,0x322)](_0x44b3c4,_0x1cb53a,_0x1952ab=0x3,_0x5e7158){const _0x4ef9c5={_0x10e42d:0x5ef,_0x1ff5dc:0x55d,_0x6a85bf:0x3d6,_0x399dce:0x486,_0x4c3ff5:0x411,_0x5bb58d:0x35b,_0x283848:0x321,_0x54660f:0x2e1,_0x3bea3f:0x37b,_0x3b2a2c:0x444,_0x1576a7:0x2c9,_0x17d392:0x55c,_0x57b6eb:0x5fd,_0x19abe6:0x34f,_0x329496:0x5a4,_0x932e2:0x3f5,_0x494b0b:0x4b6,_0x174530:0x478,_0x46c414:0x6f7,_0x302f5e:0x72b,_0x4d9cba:0x708,_0x1d44bd:0x72b,_0x4d68fe:0x6d4,_0x2f3309:0x5f2,_0x28d233:0x240,_0x3d553c:0x3fb,_0x18ca1e:0x42e,_0x25776b:0x39c,_0x114840:0x42d,_0x56d183:0x4ce,_0x4c56f5:0x3f5,_0x47fd8f:0x47a,_0x16dde1:0x55a,_0x143815:0x70b,_0x5d2b91:0x5f3,_0x3e33ff:0x433,_0x5869c0:0x4ab,_0x2698c9:0x45b,_0x285043:0x4c9,_0x348686:0x412,_0x17938d:0x3c1,_0x3a7d85:0x463,_0x39bb48:0x312,_0x9a7590:0x32c},_0x167142={_0x4cb095:0x16c,_0x47e4c8:0x1},_0x793e58={_0x261085:0x1e3};if(_0x5e7158?.[_0x5edc71(_0x4ef9c5._0x10e42d,0x37b,_0x4ef9c5._0x1ff5dc,_0x4ef9c5._0x6a85bf)])return _0x44b3c4[_0x5edc71(0x604,_0x4ef9c5._0x399dce,_0x4ef9c5._0x4c3ff5,_0x4ef9c5._0x5bb58d)](_0x3eafeb=>({'id':_0x3eafeb['id'],'name':_0x3eafeb[_0x4692b1(0x4ce,0x6b7,0x43c,0x4b6)],'status':_0x4692b1(0x581,0x801,0x45f,0x69f),'type':_0x5edc71(0x40b,0x4d6,0x4c9,0x51d),'result':_0x4692b1(0x465,0x3aa,0x37c,0x2d0),'durationMs':0x0}));const _0x18ada2=this['ports'][_0x5edc71(_0x4ef9c5._0x283848,_0x4ef9c5._0x54660f,_0x4ef9c5._0x4c3ff5,0x1f5)](_0x5204ca=>new Set(_0x5204ca[_0x4692b1(0x38d,0x3e9,0x625,0x469)](_0x44b3c4[_0x5edc71(0x2fe,0x385,0x411,0x563)](_0x3361fc=>_0x3361fc['name']))['map'](_0x21db4f=>_0x21db4f[_0x5edc71(0x12b,0xeb,0x234,0x373)]['name']))),_0x2d70b2=this['ports'][_0x5edc71(_0x4ef9c5._0x3bea3f,_0x4ef9c5._0x3b2a2c,0x411,_0x4ef9c5._0x1576a7)](()=>[]),_0xaf4caa=[];for(const _0x589b12 of _0x44b3c4){let _0x4cf127=![];for(let _0x2c4977=0x0;_0x2c4977<_0x18ada2[_0x5edc71(_0x4ef9c5._0x17d392,_0x4ef9c5._0x57b6eb,0x42d,_0x4ef9c5._0x19abe6)];_0x2c4977++){if(_0x18ada2[_0x2c4977]?.[_0x5edc71(0x4a4,0x377,0x59b,_0x4ef9c5._0x329496)](_0x589b12[_0x4692b1(0x4d6,_0x4ef9c5._0x932e2,0x4f9,_0x4ef9c5._0x494b0b)])){_0x2d70b2[_0x2c4977]?.[_0x5edc71(_0x4ef9c5._0x174530,_0x4ef9c5._0x46c414,0x611,_0x4ef9c5._0x302f5e)](_0x589b12),_0x4cf127=!![];break;}}if(!_0x4cf127)_0xaf4caa[_0x4692b1(0x4ec,_0x4ef9c5._0x4d9cba,_0x4ef9c5._0x1d44bd,_0x4ef9c5._0x4d68fe)](_0x589b12);}const _0x3973e1=[];for(let _0x34453b=0x0;_0x34453b<this['ports'][_0x5edc71(_0x4ef9c5._0x2f3309,0x488,0x42d,0x2cc)];_0x34453b++){const _0x1e633f=_0x2d70b2[_0x34453b],_0x4af314=this[_0x5edc71(_0x4ef9c5._0x28d233,_0x4ef9c5._0x3d553c,_0x4ef9c5._0x18ca1e,_0x4ef9c5._0x25776b)][_0x34453b];if(!_0x1e633f||_0x1e633f[_0x5edc71(0x5f8,0x4fb,_0x4ef9c5._0x114840,_0x4ef9c5._0x56d183)]===0x0||!_0x4af314)continue;const _0x1e4a37=await _0x4af314[_0x4692b1(0x476,_0x4ef9c5._0x4c56f5,0x474,_0x4ef9c5._0x47fd8f)](_0x1e633f,_0x1cb53a,_0x1952ab,_0x5e7158);if(_0x1e4a37)_0x3973e1[_0x4692b1(_0x4ef9c5._0x16dde1,_0x4ef9c5._0x143815,_0x4ef9c5._0x5d2b91,0x6d4)](..._0x1e4a37);}for(const _0x1cb94d of _0xaf4caa){_0x3973e1['push']({'id':_0x1cb94d['id'],'name':_0x1cb94d[_0x4692b1(_0x4ef9c5._0x3e33ff,0x336,_0x4ef9c5._0x5869c0,0x4b6)],'status':'error','type':_0x5edc71(_0x4ef9c5._0x2698c9,0x378,_0x4ef9c5._0x285043,_0x4ef9c5._0x348686),'result':_0x5edc71(0x2be,_0x4ef9c5._0x17938d,_0x4ef9c5._0x3a7d85,_0x4ef9c5._0x39bb48)+_0x1cb94d[_0x4692b1(0x5a4,_0x4ef9c5._0x9a7590,0x43a,_0x4ef9c5._0x494b0b)]});}function _0x5edc71(_0x165fae,_0x3f5e6a,_0x81be4,_0xbca77d){return _0x27e2df(_0x165fae-0xa7,_0x81be4-_0x793e58._0x261085,_0x81be4-0x113,_0xbca77d);}function _0x4692b1(_0x53e2eb,_0x48b3f5,_0x4793a1,_0x13de8e){return _0xadee61(_0x13de8e-0x191,_0x48b3f5,_0x4793a1-_0x167142._0x4cb095,_0x13de8e-_0x167142._0x47e4c8);}return _0x3973e1;}['setEnabledAgents'](_0x29c5ab){const _0x4d997e={_0x498113:0x315,_0x336e55:0x35f,_0x2b1e76:0x5cc,_0xed1edb:0x357,_0x3b2805:0x446,_0x2b6dc6:0xb6,_0x2c86b4:0x7,_0x4eadfe:0x355,_0x56cd75:0x23b},_0x584811={_0x486090:0x48},_0x37c1d4={_0x2cb159:0xd3};function _0x2365c7(_0x158462,_0x3ca4b1,_0x2444cf,_0x3475e7){return _0xadee61(_0x3ca4b1- -0xb0,_0x3475e7,_0x2444cf-_0x37c1d4._0x2cb159,_0x3475e7-0x127);}function _0x17e8ee(_0x932bcd,_0x248476,_0x545dbe,_0x50ad0a){return _0x27e2df(_0x932bcd-_0x584811._0x486090,_0x932bcd-0xca,_0x545dbe-0x45,_0x545dbe);}for(const _0x33d63b of this[_0x17e8ee(_0x4d997e._0x498113,_0x4d997e._0x336e55,0x372,0x2ae)]){const _0xefe467=_0x33d63b[_0x2365c7(_0x4d997e._0x2b1e76,0x441,_0x4d997e._0xed1edb,_0x4d997e._0x3b2805)];typeof _0xefe467===_0x2365c7(0x9c,_0x4d997e._0x2b6dc6,_0x4d997e._0x2c86b4,-0x59)&&_0xefe467[_0x2365c7(0x2f6,0x3cd,_0x4d997e._0x4eadfe,_0x4d997e._0x56cd75)](_0x33d63b,_0x29c5ab);}}[_0x27e2df(0x95,0x110,-0xd1,0x26e)](){const _0x35112c={_0x989c78:0xe7,_0x398830:0x84},_0x1de68e={_0x4ef71c:0x30c,_0x36880b:0xca};for(const _0x109af9 of this['ports']){const _0x22ea79=_0x109af9[_0x271d0d(-0x14,-_0x35112c._0x989c78,-0x16f,_0x35112c._0x398830)];if(typeof _0x22ea79==='function'){const _0x108ec6=_0x22ea79['call'](_0x109af9);if(_0x108ec6)return _0x108ec6;}}function _0x271d0d(_0x562512,_0x2d0496,_0x3e5c5a,_0x2ecd8d){return _0xadee61(_0x2d0496- -_0x1de68e._0x4ef71c,_0x3e5c5a,_0x3e5c5a-_0x1de68e._0x36880b,_0x2ecd8d-0x19f);}return void 0x0;}async[_0xadee61(0x108,0x23f,0x22d,0x1dc)](){const _0x78f8bc={_0x76e033:0x11a,_0x3289d8:0xd6,_0xd0fce3:0x71,_0x5a9c30:0x7d,_0x39bc36:0x157,_0x1e34a6:0x14,_0x43a7da:0x310,_0x206bbc:0x33f,_0x21d625:0x495,_0x30fb39:0x1c9,_0x2d70a4:0x366,_0x32084a:0x2f1,_0x1bf0f5:0x1d7,_0x18bcb0:0x1f5,_0x3ba98d:0x4c4,_0x56b070:0x312},_0x2dfd72={_0x3fb153:0x11c,_0x5be478:0xc5},_0x3ab9a8=new Set();function _0x4218e2(_0x27fbee,_0x1e1ac2,_0xb9a006,_0x334a34){return _0xadee61(_0x334a34- -_0x2dfd72._0x3fb153,_0x27fbee,_0xb9a006-_0x2dfd72._0x5be478,_0x334a34-0x13d);}for(const _0x2ff7db of this[_0x2f8838(0xce,_0x78f8bc._0x76e033,0x23a,-_0x78f8bc._0x3289d8)]){const _0x281d29=_0x2ff7db[_0x4218e2(-_0x78f8bc._0xd0fce3,_0x78f8bc._0x5a9c30,-_0x78f8bc._0x39bc36,-_0x78f8bc._0x1e34a6)];if(typeof _0x281d29===_0x2f8838(-0x12c,-_0x78f8bc._0x43a7da,-_0x78f8bc._0x206bbc,-0x248))try{const _0x22b559=await _0x281d29[_0x4218e2(_0x78f8bc._0x21d625,0x45c,0x518,0x361)](_0x2ff7db);for(const _0x43231b of _0x22b559){_0x3ab9a8[_0x4218e2(_0x78f8bc._0x30fb39,_0x78f8bc._0x2d70a4,_0x78f8bc._0x32084a,_0x78f8bc._0x1bf0f5)](_0x43231b);}}catch(_0x1cd589){console[_0x4218e2(0x332,_0x78f8bc._0x18bcb0,_0x78f8bc._0x3ba98d,_0x78f8bc._0x56b070)]('Failed\x20to\x20list\x20tools\x20from\x20port:',_0x1cd589);}}function _0x2f8838(_0x172e06,_0x289f7e,_0x5ccd33,_0x37af8e){return _0x27e2df(_0x172e06-0x2e,_0x172e06- -0x17d,_0x5ccd33-0x111,_0x37af8e);}return Array['from'](_0x3ab9a8);}};function parseToolArguments(_0x28730f){const _0x459bd8={_0x5a9bcf:0x2d8,_0x34b022:0x316,_0x49b5c0:0x461,_0x55dbda:0x91b,_0x4c1120:0x782,_0x8270e8:0x677},_0xf03bab={_0xcb968c:0x13a,_0x2f378c:0x13f},_0x4f6a2b={_0x3b0291:0x1c};function _0x589a0b(_0x1103fb,_0x4b0920,_0x131aa0,_0x269034){return _0x27e2df(_0x1103fb-_0x4f6a2b._0x3b0291,_0x131aa0-0x4be,_0x131aa0-0x105,_0x269034);}function _0x3f21b5(_0x5af118,_0x542fa6,_0xc9a366,_0x4a7fa2){return _0x27e2df(_0x5af118-_0xf03bab._0xcb968c,_0x5af118- -0x4,_0xc9a366-_0xf03bab._0x2f378c,_0x4a7fa2);}if(typeof _0x28730f===_0x3f21b5(0x371,_0x459bd8._0x5a9bcf,_0x459bd8._0x34b022,_0x459bd8._0x49b5c0))try{return JSON[_0x589a0b(_0x459bd8._0x55dbda,_0x459bd8._0x4c1120,0x883,_0x459bd8._0x8270e8)](_0x28730f);}catch{return{};}return _0x28730f;}function isBashToolArgs(_0x114849){const _0x5e2741={_0x3a6b9:0x615,_0x4ea41c:0x5e4,_0x555708:0x4d3,_0x582c5f:0x666,_0x2424c5:0x5f0,_0x3be30d:0x95c,_0xd8a968:0x702},_0x4cd7ad={_0x17d972:0x91},_0x55e717={_0x5b077c:0xf1};function _0x4141e2(_0x4628e5,_0x331597,_0x2a7384,_0x318d5c){return _0x27e2df(_0x4628e5-0xd5,_0x4628e5-0x4dc,_0x2a7384-_0x55e717._0x5b077c,_0x331597);}function _0x3326b8(_0x11f92e,_0x3cb9cc,_0xb5635f,_0x15ddc0){return _0xadee61(_0x11f92e-0x285,_0xb5635f,_0xb5635f-0x0,_0x15ddc0-_0x4cd7ad._0x17d972);}return _0x4141e2(_0x5e2741._0x3a6b9,0x598,0x470,_0x5e2741._0x4ea41c)in _0x114849&&typeof _0x114849[_0x3326b8(_0x5e2741._0x555708,0x709,_0x5e2741._0x582c5f,_0x5e2741._0x2424c5)]===_0x4141e2(0x851,_0x5e2741._0x3be30d,0x8ae,_0x5e2741._0xd8a968);}function isFileReadArgs(_0x30cd5e){const _0x1bc26d={_0x53e706:0x52d,_0x49efa4:0x7ca,_0x2beab5:0x711,_0x2d7459:0x7cb,_0x5b5802:0x621,_0x33e31a:0x498},_0x431ee7={_0x30ebe3:0x16d},_0x537ad8={_0x3837c6:0x260,_0x1f8cd4:0xdc};function _0x592340(_0x13d16e,_0xbdc227,_0x273616,_0xad419c){return _0x27e2df(_0x13d16e-0x139,_0xad419c-_0x537ad8._0x3837c6,_0x273616-_0x537ad8._0x1f8cd4,_0x273616);}function _0x4c1812(_0x208379,_0x33de03,_0x5b52fe,_0x23b60c){return _0xadee61(_0x23b60c-0x251,_0x5b52fe,_0x5b52fe-_0x431ee7._0x30ebe3,_0x23b60c-0xd);}return _0x4c1812(0x501,_0x1bc26d._0x53e706,0x849,0x621)in _0x30cd5e&&typeof _0x30cd5e[_0x4c1812(_0x1bc26d._0x49efa4,_0x1bc26d._0x2beab5,_0x1bc26d._0x2d7459,_0x1bc26d._0x5b5802)]===_0x592340(0x443,0x751,_0x1bc26d._0x33e31a,0x5d5);}function isFileEditArgs(_0x1a49ed){const _0x39d9a7={_0x3ed003:0x555,_0x165e5b:0x81},_0x1014fa={_0xe59201:0x248,_0x5118ed:0x74,_0x71d552:0x6a},_0x26889f={_0xdbaba2:0x97,_0x4a5112:0x535,_0x2691ed:0x111};function _0x1f07ed(_0x304b54,_0x28bacb,_0x433644,_0x1d440e){return _0x27e2df(_0x304b54-_0x26889f._0xdbaba2,_0x1d440e-_0x26889f._0x4a5112,_0x433644-_0x26889f._0x2691ed,_0x28bacb);}function _0x1b72ab(_0x5783de,_0x30da5a,_0x33b05a,_0x182086){return _0xadee61(_0x30da5a- -_0x1014fa._0xe59201,_0x33b05a,_0x33b05a-_0x1014fa._0x5118ed,_0x182086-_0x1014fa._0x71d552);}return _0x1f07ed(_0x39d9a7._0x3ed003,0x610,0x83b,0x66f)in _0x1a49ed&&_0x1b72ab(-0x167,-0xcb,_0x39d9a7._0x165e5b,0x12)in _0x1a49ed&&'new_text'in _0x1a49ed;}function isFileNewArgs(_0x297b09){const _0x3892c8={_0x35e26f:0x4d3,_0x2a1bd7:0x33c,_0x24780a:0x479,_0x493e5e:0x68e},_0x1ba554={_0x569363:0x16e,_0x341499:0x30d,_0x12421e:0x8a},_0x476c51={_0xd5ae36:0xea,_0x4ccd80:0x399};function _0x200bba(_0x40b34e,_0x3af362,_0x137ea7,_0x150376){return _0x27e2df(_0x40b34e-_0x476c51._0xd5ae36,_0x40b34e-_0x476c51._0x4ccd80,_0x137ea7-0x1ee,_0x137ea7);}function _0x43b443(_0x27d81f,_0x2df70d,_0x477f55,_0x9af322){return _0x27e2df(_0x27d81f-_0x1ba554._0x569363,_0x27d81f-_0x1ba554._0x341499,_0x477f55-_0x1ba554._0x12421e,_0x477f55);}return _0x200bba(_0x3892c8._0x35e26f,_0x3892c8._0x2a1bd7,0x440,_0x3892c8._0x24780a)in _0x297b09&&_0x200bba(0x7b7,0x588,_0x3892c8._0x493e5e,0x940)in _0x297b09;}function isTodoWriteArgs(_0x1c73d9){const _0x30f14b={_0x586510:0x780,_0x495c9d:0x799},_0x2e5d88={_0x39927a:0xa0};function _0x4fbc25(_0x4d4c4e,_0x24d3d7,_0x30c118,_0xac04bb){return _0x27e2df(_0x4d4c4e-0x159,_0x4d4c4e-0x272,_0x30c118-_0x2e5d88._0x39927a,_0x30c118);}return'todos'in _0x1c73d9&&Array['isArray'](_0x1c73d9[_0x4fbc25(0x598,_0x30f14b._0x586510,0x488,_0x30f14b._0x495c9d)]);}function isAssignTaskArgs(_0x885026){const _0x3435c8={_0x5a9a85:0x8da,_0x12bbff:0x887,_0x4ebb5b:0x823,_0x1854e6:0x7b9,_0x1a135c:0x3ed,_0x4b7cc5:0x771,_0x540666:0x4ea},_0x3c8417={_0x5c5560:0xe2,_0x3f100e:0x26};function _0x44245a(_0x2eab78,_0xef9b31,_0x2648b6,_0xe9c1b5){return _0x27e2df(_0x2eab78-_0x3c8417._0x5c5560,_0xef9b31- -0x16a,_0x2648b6-_0x3c8417._0x3f100e,_0xe9c1b5);}function _0x562d1d(_0x3564fb,_0x8d3848,_0x6d99b2,_0x432f05){return _0xadee61(_0x6d99b2-0x2af,_0x432f05,_0x6d99b2-0x1c9,_0x432f05-0x1c6);}return _0x562d1d(_0x3435c8._0x5a9a85,_0x3435c8._0x12bbff,_0x3435c8._0x4ebb5b,_0x3435c8._0x1854e6)in _0x885026&&_0x44245a(_0x3435c8._0x1a135c,0x1ab,-0x40,-0x6a)in _0x885026&&_0x562d1d(_0x3435c8._0x4b7cc5,0x4ea,0x5be,_0x3435c8._0x540666)in _0x885026;}function isWebSearchArgs(_0x51d464){const _0x1025c7={_0x100d0b:0x507,_0x543735:0x27a,_0x565cbe:0x362,_0x582c15:0x391,_0x445874:0x58b,_0x58470b:0x426},_0x55c386={_0x619626:0x9,_0x510aaf:0x1ae};function _0x3c57a6(_0xcbc1b5,_0x41c3df,_0x522344,_0x824040){return _0x27e2df(_0xcbc1b5-_0x55c386._0x619626,_0x824040-0x46,_0x522344-_0x55c386._0x510aaf,_0xcbc1b5);}function _0x3ed583(_0x43033c,_0x15e883,_0x49654b,_0x1ecdf7){return _0x27e2df(_0x43033c-0x2,_0x1ecdf7-0x10a,_0x49654b-0x17e,_0x15e883);}return _0x3c57a6(0x1fd,_0x1025c7._0x100d0b,_0x1025c7._0x543735,_0x1025c7._0x565cbe)in _0x51d464&&typeof _0x51d464[_0x3ed583(_0x1025c7._0x582c15,0x44c,_0x1025c7._0x445874,_0x1025c7._0x58470b)]===_0x3c57a6(0x2d1,0x2c9,0x193,0x3bb);}function isWebFetchArgs(_0x4f87bc){const _0x534f3a={_0x2b2a70:0x5a,_0x4d695d:0x9f,_0x4d888f:0xf0,_0x40eb56:0x151,_0x3cc43e:0x2fe,_0x387323:0x14f},_0x453232={_0xc9fa83:0x161,_0x39a0be:0x24c,_0x424fb6:0x1ef},_0x3d95eb={_0x3c26bf:0x226,_0x5de5b4:0x15a};function _0x181b28(_0x1abeb9,_0x16de34,_0x3a8a3b,_0x577a30){return _0x27e2df(_0x1abeb9-0xf5,_0x577a30- -_0x3d95eb._0x3c26bf,_0x3a8a3b-_0x3d95eb._0x5de5b4,_0x1abeb9);}function _0x55a959(_0x3b46ea,_0x39eca8,_0x4f7845,_0x197e93){return _0x27e2df(_0x3b46ea-_0x453232._0xc9fa83,_0x3b46ea- -_0x453232._0x39a0be,_0x4f7845-_0x453232._0x424fb6,_0x4f7845);}return _0x55a959(-0x9f,0x1a,-0x22c,_0x534f3a._0x2b2a70)in _0x4f87bc&&typeof _0x4f87bc[_0x55a959(-_0x534f3a._0x4d695d,-_0x534f3a._0x4d888f,-0x183,-_0x534f3a._0x40eb56)]===_0x181b28(-0x1a,0x2f4,_0x534f3a._0x3cc43e,_0x534f3a._0x387323);}function isGlobArgs(_0x9920d9){const _0x5c9f48={_0x2bd1d3:0x9b,_0x9779e0:0x243,_0x5cd032:0x301,_0x171f01:0x3f2,_0x389046:0x160,_0x1cca8e:0x62,_0x502a27:0x1a6,_0x31ef52:0x1ae},_0x38cfe2={_0xe1af9f:0x3aa,_0x1e2233:0xca};function _0x2fbd2c(_0x56920e,_0x40dba1,_0x52c076,_0x24ce72){return _0xadee61(_0x40dba1- -_0x38cfe2._0xe1af9f,_0x56920e,_0x52c076-_0x38cfe2._0x1e2233,_0x24ce72-0x7b);}function _0x369f23(_0x488519,_0x385308,_0x550c4c,_0x206e8d){return _0x27e2df(_0x488519-0x167,_0x550c4c- -0x247,_0x550c4c-0x111,_0x488519);}return _0x369f23(-_0x5c9f48._0x2bd1d3,-_0x5c9f48._0x9779e0,-0x189,-0x12a)in _0x9920d9&&typeof _0x9920d9[_0x2fbd2c(-_0x5c9f48._0x5cd032,-0x1d7,-_0x5c9f48._0x171f01,-0x144)]===_0x2fbd2c(0x30d,0xe0,-_0x5c9f48._0x389046,-_0x5c9f48._0x1cca8e)&&!(_0x369f23(_0x5c9f48._0x502a27,0x3d,_0x5c9f48._0x31ef52,0x249)in _0x9920d9);}function isGrepArgs(_0x1e25ed){const _0x177dd6={_0x15a8fb:0x41b,_0x3cba24:0x1e9,_0x3f4423:0x4e8,_0x496081:0x22f,_0x2cdd74:0x25b,_0x40a356:0x1b6,_0xb3dfdd:0x157,_0x679c1e:0x618,_0x5902cf:0x580},_0x26f5cd={_0x4ef24a:0x105},_0x58cbdc={_0x2908f0:0x1cf};function _0x3c03e2(_0x39fd18,_0x184513,_0x1d8874,_0x2be990){return _0x27e2df(_0x39fd18-0x1d1,_0x1d8874-0x35d,_0x1d8874-_0x58cbdc._0x2908f0,_0x184513);}function _0x1357dc(_0x443d6e,_0x259138,_0x2c9693,_0xafd286){return _0x27e2df(_0x443d6e-0xe0,_0x259138- -_0x26f5cd._0x4ef24a,_0x2c9693-0x132,_0x2c9693);}return _0x3c03e2(0x4ce,0x33e,_0x177dd6._0x15a8fb,0x483)in _0x1e25ed&&typeof _0x1e25ed[_0x3c03e2(0x507,0x597,0x41b,_0x177dd6._0x3cba24)]===_0x3c03e2(0x76c,_0x177dd6._0x3f4423,0x6d2,0x785)&&(_0x1357dc(0x4eb,0x2f0,_0x177dd6._0x496081,_0x177dd6._0x2cdd74)in _0x1e25ed||!(_0x1357dc(0x3e0,_0x177dd6._0x40a356,_0x177dd6._0xb3dfdd,0x2ed)in _0x1e25ed&&!_0x1e25ed[_0x3c03e2(0x5c2,0x550,_0x177dd6._0x679c1e,_0x177dd6._0x5902cf)]));}function isLsArgs(_0x201504){const _0x213a1d={_0x1e68de:0x136,_0x3533c3:0x151,_0x379f14:0x68c,_0x110356:0x58f,_0x31b600:0x421,_0x5f5366:0x4ca,_0x15de8f:0x334,_0x108032:0x70b,_0x309bcf:0x601,_0x290fc9:0x51c,_0x1d8c88:0x4b1,_0x2a2788:0x3e2},_0x144b92={_0x1e66f0:0x43},_0x350244={_0x57dfe1:0x57,_0xbd10f4:0xee};function _0x86aa6a(_0x157f3f,_0x57ce37,_0x4bee46,_0x339408){return _0xadee61(_0x4bee46-0x2cd,_0x339408,_0x4bee46-_0x350244._0x57dfe1,_0x339408-_0x350244._0xbd10f4);}function _0x249458(_0x27463f,_0x547571,_0x18998c,_0x15cd6f){return _0x27e2df(_0x27463f-_0x144b92._0x1e66f0,_0x15cd6f-0x18,_0x18998c-0x14a,_0x18998c);}return!(_0x249458(-0xe6,_0x213a1d._0x1e68de,0x361,_0x213a1d._0x3533c3)in _0x201504)&&!(_0x86aa6a(0x775,_0x213a1d._0x379f14,_0x213a1d._0x110356,_0x213a1d._0x31b600)in _0x201504)&&!(_0x249458(0x4b7,_0x213a1d._0x5f5366,0x449,_0x213a1d._0x15de8f)in _0x201504)&&!('todos'in _0x201504)&&!(_0x86aa6a(0x7bf,_0x213a1d._0x108032,0x841,0x639)in _0x201504)&&!(_0x86aa6a(0x530,_0x213a1d._0x309bcf,_0x213a1d._0x290fc9,0x322)in _0x201504)&&!(_0x249458(0x31f,_0x213a1d._0x1d8c88,_0x213a1d._0x2a2788,0x436)in _0x201504);}function isSuccess(_0x104674){const _0x3b84fe={_0x19fae2:0x1f2,_0x490e11:0x6e},_0x23a2af={_0x2afeec:0x1e6};function _0x10971d(_0x203e87,_0x189f2c,_0x58b8ff,_0x5b7769){return _0xadee61(_0x5b7769- -0x24c,_0x189f2c,_0x58b8ff-_0x23a2af._0x2afeec,_0x5b7769-0x104);}return _0x104674['status']===_0x10971d(-_0x3b84fe._0x19fae2,-0x1c7,-0x3e,-_0x3b84fe._0x490e11);}function isError(_0x26682a){const _0x420a74={_0x50d61f:0x326},_0x39d9ab={_0x1f31cb:0x1a3,_0x2788e6:0x79},_0x4f31bb={_0x33bcc8:0x18c};function _0x43e9c2(_0x13e87f,_0xb69941,_0x3c37ac,_0x516fc6){return _0xadee61(_0x13e87f-_0x4f31bb._0x33bcc8,_0x516fc6,_0x3c37ac-0x176,_0x516fc6-0x4f);}function _0x175223(_0x586784,_0x4c67fc,_0x3c4d53,_0x2a686d){return _0x27e2df(_0x586784-_0x39d9ab._0x1f31cb,_0x4c67fc-0x0,_0x3c4d53-_0x39d9ab._0x2788e6,_0x586784);}return _0x26682a[_0x43e9c2(0x54d,0x6a5,0x74c,0x679)]===_0x175223(0x3d8,0x3f9,0x20a,_0x420a74._0x50d61f);}function isTextResult(_0x35e7ad){const _0x356321={_0x32b383:0x26,_0x1fb058:0x22},_0x2804f5={_0x21cbc9:0xe5};function _0x401731(_0x5ecc52,_0x4624c6,_0x2a1dfd,_0x22ef16){return _0x27e2df(_0x5ecc52-_0x2804f5._0x21cbc9,_0x4624c6- -0x1f1,_0x2a1dfd-0x136,_0x2a1dfd);}return _0x35e7ad[_0x401731(-0x61,_0x356321._0x32b383,_0x356321._0x1fb058,0x10e)]==='text';}function isJsonResult(_0x487fdd){const _0x1b0bae={_0x58c7d8:0x2ac,_0x1cc1df:0x43d,_0x36ab11:0x2b2};function _0x431d1d(_0x386960,_0x55f907,_0xc4605d,_0x317ba0){return _0xadee61(_0xc4605d- -0xc3,_0x317ba0,_0xc4605d-0xf5,_0x317ba0-0x9f);}return _0x487fdd['type']===_0x431d1d(_0x1b0bae._0x58c7d8,_0x1b0bae._0x1cc1df,_0x1b0bae._0x36ab11,0x2c4);}function isSuccessText(_0x39f45e){return _0x39f45e['status']==='success'&&_0x39f45e['type']==='text';}function isSuccessJson(_0x4f7ff2){const _0x5b9be5={_0x124709:0x19d,_0x4fd286:0x3,_0x422caa:0x231,_0xd93ad5:0x248,_0x4fd327:0xa8,_0x30730b:0x8b,_0x3d4d5e:0x14e,_0xd62933:0x6a},_0x14c911={_0x55ff9c:0x1,_0xa70b0:0x140},_0x30f73c={_0x3cd410:0x224,_0xffe1bd:0xd7};function _0x3ed1c6(_0x9c5cc2,_0x121a19,_0xa226f,_0x33eb1d){return _0xadee61(_0x9c5cc2- -_0x30f73c._0x3cd410,_0xa226f,_0xa226f-_0x30f73c._0xffe1bd,_0x33eb1d-0x2f);}function _0x2f495a(_0x581e24,_0x2fcc36,_0x511083,_0x34d632){return _0xadee61(_0x34d632- -0x30b,_0x511083,_0x511083-_0x14c911._0x55ff9c,_0x34d632-_0x14c911._0xa70b0);}return _0x4f7ff2[_0x3ed1c6(_0x5b9be5._0x124709,0x2e0,-_0x5b9be5._0x4fd286,_0x5b9be5._0x422caa)]===_0x3ed1c6(-0x46,-_0x5b9be5._0xd93ad5,-0x239,-0x68)&&_0x4f7ff2[_0x3ed1c6(0x108,-_0x5b9be5._0x4fd327,0x288,0x104)]===_0x2f495a(_0x5b9be5._0x30730b,0x2a3,-_0x5b9be5._0x3d4d5e,_0x5b9be5._0xd62933);}function isBashResult(_0xdda506){const _0x4a622a={_0x419c01:0x4eb,_0x1a5b84:0x55b,_0xa2672a:0x471,_0x33be17:0x2b4},_0x7c88a={_0x23b6e1:0x4f},_0x234b1d={_0x3663a6:0x261,_0x546e0b:0x3e};function _0xa6441d(_0x3f9760,_0x243b70,_0x9762d6,_0x10b9f5){return _0x27e2df(_0x3f9760-0x17b,_0x9762d6-_0x234b1d._0x3663a6,_0x9762d6-_0x234b1d._0x546e0b,_0x243b70);}function _0xdb0494(_0x4760d7,_0x389601,_0x202bbe,_0xaf3521){return _0x27e2df(_0x4760d7-_0x7c88a._0x23b6e1,_0xaf3521-0x2e9,_0x202bbe-0x4d,_0x202bbe);}return _0xdda506[_0xa6441d(_0x4a622a._0x419c01,_0x4a622a._0x1a5b84,_0x4a622a._0xa2672a,0x27a)]===_0xdb0494(_0x4a622a._0x33be17,0x3f3,0x39d,0x315);}function isBashSuccess(_0x30ac39){const _0x476dd5={_0x58cd92:0x3cb,_0x1347bd:0x659,_0x3d5053:0x5de,_0x3ff6ab:0x2da,_0x1c3f17:0x48b,_0x412ff3:0x3fa,_0x1d033c:0x729,_0xf40335:0x573,_0x35bbd2:0x4f1,_0x26d267:0x5e5},_0xe6c45f={_0x4148c1:0x29a,_0x3ce13f:0x184};function _0x29c167(_0xa8628f,_0x4eba4e,_0x5be30f,_0x3c251e){return _0xadee61(_0x3c251e-_0xe6c45f._0x4148c1,_0x4eba4e,_0x5be30f-0xf,_0x3c251e-_0xe6c45f._0x3ce13f);}function _0x59ea87(_0x404026,_0x522cf7,_0x46298e,_0x3c94cd){return _0x27e2df(_0x404026-0x3a,_0x3c94cd-0x3ce,_0x46298e-0xd8,_0x522cf7);}return _0x30ac39[_0x59ea87(0x80a,_0x476dd5._0x58cd92,_0x476dd5._0x1347bd,_0x476dd5._0x3d5053)]===_0x59ea87(0x47c,_0x476dd5._0x3ff6ab,_0x476dd5._0x1c3f17,_0x476dd5._0x412ff3)&&_0x30ac39[_0x29c167(0x7a6,_0x476dd5._0x1d033c,0x740,0x65b)]==='success'&&_0x30ac39[_0x59ea87(0x5c7,_0x476dd5._0xf40335,_0x476dd5._0x35bbd2,_0x476dd5._0x26d267)]==='text';}function isFileReadResult(_0xd81eaf){const _0x23a160={_0x53653a:0x254,_0x2e3407:0x45e},_0x270281={_0xc72c1b:0x1b6,_0x90aab2:0xd5};function _0xe0e944(_0x17e0a8,_0x1685dd,_0x53fdbe,_0x5ef1cb){return _0xadee61(_0x5ef1cb-0x1c8,_0x53fdbe,_0x53fdbe-_0x270281._0xc72c1b,_0x5ef1cb-_0x270281._0x90aab2);}function _0x42cf62(_0x2f800a,_0x5edda2,_0x4599de,_0x5ec2f7){return _0xadee61(_0x4599de-0xcb,_0x5ec2f7,_0x4599de-0x1e2,_0x5ec2f7-0x7a);}return _0xd81eaf[_0x42cf62(0x28e,_0x23a160._0x53653a,0x3f0,0x629)]===_0x42cf62(0x50c,0x488,0x5d1,_0x23a160._0x2e3407);}function isFileReadSuccess(_0x2081bd){const _0x2e5c57={_0x97c2a9:0x1ad,_0x7390e4:0x185,_0x3353fd:0x4c,_0x1f1339:0x3b6,_0x4220cd:0x17e,_0x3f69b8:0x1f4,_0x57c852:0x83,_0x1b185c:0x9a,_0x12e7ee:0x18b,_0x3ff9f2:0x159,_0x15ad30:0xb9},_0xcde210={_0x41bdd2:0x327,_0x14bb99:0x3a},_0x6dcf85={_0x84b01e:0x1c8};function _0x14bd32(_0x344f54,_0x69eecb,_0x536a2f,_0x1278c5){return _0x27e2df(_0x344f54-0x1,_0x1278c5- -_0x6dcf85._0x84b01e,_0x536a2f-0xe9,_0x536a2f);}function _0x3e8af8(_0x23cd80,_0x51203e,_0x552aed,_0x1081e4){return _0xadee61(_0x552aed- -_0xcde210._0x41bdd2,_0x1081e4,_0x552aed-0xf7,_0x1081e4-_0xcde210._0x14bb99);}return _0x2081bd[_0x3e8af8(0xb2,-_0x2e5c57._0x97c2a9,-0x2,-_0x2e5c57._0x7390e4)]===_0x3e8af8(-_0x2e5c57._0x3353fd,_0x2e5c57._0x1f1339,0x1df,_0x2e5c57._0x4220cd)&&_0x2081bd[_0x3e8af8(_0x2e5c57._0x3f69b8,_0x2e5c57._0x57c852,_0x2e5c57._0x1b185c,0x1d2)]===_0x3e8af8(0xad,-0x3d,-0x149,-0xcd)&&_0x2081bd[_0x14bd32(-0x62,-_0x2e5c57._0x12e7ee,-0x1b1,0x4f)]===_0x14bd32(0x262,_0x2e5c57._0x3ff9f2,-_0x2e5c57._0x15ad30,0x11e);}function isFileEditResult(_0x1da975){const _0x147651={_0x4caada:0x1e5,_0x32f349:0x2c3,_0x481eae:0x1c9,_0x5203fc:0x7e3,_0x4d99fe:0x713,_0x2c118d:0x9bb},_0x6f222a={_0x41bae1:0xa,_0x59722d:0xb3},_0x593b6e={_0x55c0a1:0x4d6};function _0x4e207d(_0x7c3941,_0xb6cc,_0x38a113,_0x480244){return _0x27e2df(_0x7c3941-0x183,_0x7c3941-_0x593b6e._0x55c0a1,_0x38a113-0xe4,_0x480244);}function _0x42ef61(_0xb9fe16,_0x16987e,_0x10f910,_0x1532f8){return _0x27e2df(_0xb9fe16-_0x6f222a._0x41bae1,_0x16987e-_0x6f222a._0x59722d,_0x10f910-0x19c,_0x10f910);}return _0x1da975[_0x42ef61(_0x147651._0x4caada,_0x147651._0x32f349,0xcf,_0x147651._0x481eae)]===_0x4e207d(_0x147651._0x5203fc,0x673,_0x147651._0x4d99fe,_0x147651._0x2c118d);}function isFileEditSuccess(_0x56890a){const _0x1526b7={_0x5e0f2c:0x578,_0x27fdf9:0x2c0,_0x6ded11:0x559,_0x1d164f:0x20f,_0x5cb9fb:0x196},_0x39e1d6={_0x262543:0xf4},_0x5c1600={_0x2b4a15:0x2a,_0x321872:0xcd,_0x454533:0x182};function _0x1fb7be(_0x15a5b2,_0x4228bd,_0x5c2b25,_0x43adef){return _0x27e2df(_0x15a5b2-_0x5c1600._0x2b4a15,_0x5c2b25-_0x5c1600._0x321872,_0x5c2b25-_0x5c1600._0x454533,_0x15a5b2);}function _0x2a7f78(_0xd6be5c,_0x1e2dfb,_0x242fe0,_0x129758){return _0xadee61(_0x129758- -0x149,_0xd6be5c,_0x242fe0-0xeb,_0x129758-_0x39e1d6._0x262543);}return _0x56890a['name']==='file_edit'&&_0x56890a[_0x1fb7be(_0x1526b7._0x5e0f2c,_0x1526b7._0x27fdf9,0x379,_0x1526b7._0x6ded11)]===_0x1fb7be(0x25d,_0x1526b7._0x1d164f,_0x1526b7._0x5cb9fb,0xab)&&_0x56890a['type']==='text';}function isFileNewResult(_0x11a700){const _0x42d511={_0x534b7d:0x618,_0x4a1f8c:0x606,_0x206420:0x7d9};function _0xcff911(_0x16ed8d,_0x40272e,_0x19cfbe,_0x58b2b9){return _0x27e2df(_0x16ed8d-0x114,_0x16ed8d-0x408,_0x19cfbe-0x1b8,_0x40272e);}return _0x11a700[_0xcff911(_0x42d511._0x534b7d,_0x42d511._0x4a1f8c,0x622,_0x42d511._0x206420)]==='file_new';}function isFileNewSuccess(_0x54bf68){const _0x467ff4={_0x1d2b32:0x83e,_0xb4391c:0x6a2,_0x6cb10d:0x633},_0x2b7ea1={_0x25330c:0x419,_0x46d679:0xc1},_0x584872={_0x13afaf:0x2c};function _0x308a09(_0xcde6cb,_0x393f6f,_0x2f8e61,_0x3f0646){return _0xadee61(_0xcde6cb- -0xeb,_0x393f6f,_0x2f8e61-_0x584872._0x13afaf,_0x3f0646-0x153);}function _0x51e130(_0x579a95,_0x1e2f36,_0x5cf017,_0x2b98ae){return _0xadee61(_0x5cf017-_0x2b7ea1._0x25330c,_0x579a95,_0x5cf017-_0x2b7ea1._0x46d679,_0x2b98ae-0x11f);}return _0x54bf68[_0x51e130(0x701,_0x467ff4._0x1d2b32,0x73e,_0x467ff4._0xb4391c)]==='file_new'&&_0x54bf68['status']===_0x51e130(0x700,_0x467ff4._0x6cb10d,0x5f7,0x5c5)&&_0x54bf68[_0x51e130(0x66f,0x8e7,0x745,0x67a)]===_0x308a09(0x310,0x539,0x545,0x48b);}function isLsToolResult(_0x2d0e38){const _0x2468f0={_0x5c591f:0x47c,_0x582a77:0x12f},_0x21ee31={_0x2b86b3:0xd7,_0x321d5c:0x121},_0x2f3b76={_0x4b7d4a:0x17d};function _0x18cce2(_0x5cdb6a,_0x88b3ba,_0x1d210d,_0xa144ea){return _0x27e2df(_0x5cdb6a-0x17b,_0xa144ea-0xb4,_0x1d210d-_0x2f3b76._0x4b7d4a,_0x5cdb6a);}function _0xdcd161(_0x12e2a9,_0x2d6b1a,_0x4a7d5f,_0x12ade0){return _0xadee61(_0x12ade0-_0x21ee31._0x2b86b3,_0x4a7d5f,_0x4a7d5f-0x175,_0x12ade0-_0x21ee31._0x321d5c);}return _0x2d0e38[_0x18cce2(0x306,_0x2468f0._0x5c591f,0x446,0x2c4)]===_0xdcd161(_0x2468f0._0x582a77,0x255,0x3e9,0x1f3);}function _0x53d7(){const _0x1c8083=['Dg9VBf91C2u','rxHWBgfUyxrPB24GB2yGD2HHDcbMAwXLigLZigjLAw5NihjLywqGyw5KihDOEsaOzs5NlIWGiLjLywqGCgfJA2fNzs5QC29UihrVignOzwnRigrLCgvUzgvUy2LLCYiP','B2XKx3rLEhqGAxmGCMvXDwLYzwq','ywX0vgv4Da','Dg9VBc1Yzxn1Bhq','Aw5Uzxi','ywDLBNqT','Ec1HCgKTA2v5','zgvMyxvSDefNzw50swrZ','CMvJB3jKvg9VBenHBgW','BgfIzwW','Bg9Nz2vY','rg9Uzq','z2v0rxHWB3nLzfrVB2Xoyw1LCW','zgLZCgXHEvrLEhq','Bwv0ywrHDgfnzw1VCNK','yNvKz2v0x3rVA2vUCW','y2fSBa','l2jPBI9YzW','D29YA3nWywnLuM9VDa','AxngAwXL','x3DVCMTZCgfJzurPCG','zw5HyMXLq29UC29SzuXVzW','z2v0uhjVDMLKzxi','BgfUzW','tunqigfSCMvHzhKGAw5PDgLHBgL6zwq','C2v0q29UDMvYC2f0Aw9U','zxrPBwvKB3v0','Dg9Wua','iIWIC3rHDhvZiJOI','C3rYAw5N','Bwf4vg9Rzw5Z','mJe2nZK4txr3DMLl','Aw50','Bw9KzwXdB25MAwC','ywjVCNrLza','twLZC2LUzYbht09htevFq1nfx0TfwsbHBMqVB3iGr09pr0Xfx0ntrv9dwa','y3jSzG','mJu5nJu1nxrgyxD5wa','y3vYCMvUDenVBxbSzxrPB25uB2TLBNm','C3bSAwnL','iIaTrgvZDgLUyxrPB25qyxrOici','AxnjBNn0yw5Jzq','CMvJB3jKuMvXDwvZDe1LDhjPy3m','ru5pru5u','Dg9KB19YzwfK','Dg9VBf9JywXSx2LK','lNLHBwW','yMfZzurLBgf5txm','vgHLihrLEhqGDg8GCMvWBgfJzsbPDcb3AxrOlIbdyw4GyMuGzw1WDhKGC3rYAw5NihrVigrLBgv0zsb0AguGB2XKx3rLEhqU','C3vIx2fNzw50x21LDhjPy3m','ugf0Acb3AgvYzsb0AguGBMv3igzPBguGD2LSBcbIzsbJCMvHDgvK','BgLTAxrZ','Bwf4qNL0zxniyxjK','DxnLCI1Hz2vUDa','wc1szxf1zxn0luLK','DxbKyxrLq3jLzgvUDgLHBhm','z2v0teXn','z2L0AhvI','CMvKDwnL','y3jLyxrLsgfZAa','vhLWAwnHBcb1C2vZoG','CgvYBwLZC2LVBL9Kzw5Pzwq','zMLSDgvY','Bg9HzezYB21eAxi','rMfPBgvKihrVigXVywqGBwvTB3j5igzYB20G','zgvUAwfStwvZC2fNzq','C3rHDhvZvgv4Da','ywjVCNq','BMv3x3rLEhq','CMvJzw5JEurHExm','y29UzMLNuMvZB2X2zxi','CMvMCMvZAfbYB21PC2u','AxnZDwvZ','r2L0shvIq29WAwXVDenOyxqVmc4ZmY4X','CgfYyw1Z','uMv0CNKGzxHOyxvZDgvKihDPDgHVDxqGzxjYB3i','y291BNq','Dg90ywXdB21WBgv0Aw9Uvg9Rzw5Z','Ag9ZDa','zgvMAw5PDgLVBG','BgLUAW','ywXSB3DbyNnVBhv0zq','AgLZDg9YEs5QC29U','DxnHz2u','yMfZzvvYBa','BwnWx3n0zgvYCG','BNvTyMvY','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms04qI1jBNn0CNvJDa','DxjSig11C3qGyMuGysb2ywXPzcbvuKW','B3bLBNjVDxrLCG','Dg9tDhjPBMC','C3bSAxq','tgLZDcbJB250zw50CYbVzIb0AgLZigrPCMvJDg9YEsbWyxrO','ywn0AxzL','y29UDgvUDc10ExbL','z2v0vg9KB1n0yxrZ','AgfZ','ChjLzML4','Dg9VBhmVy2fSBa','zxHLy3v0zvDPDgHuAw1LB3v0','Dhj1zq','ywDLBNroyw1L','CMvHzgrPCG','yxnZAwDU','ms4WlJa','CMvNAw9U','zhvYyxrPB25nCW','C2v0vg9KB3m','CMLWz3jLCc0','CgfYC2u','ugfJA2fNzxm','Aw5WDxrty2HLBwe','y29UDgvUDc1Szw5NDgG','y2fJAgvFy29UDhjVBa','sw1Hz2uGyxr0ywnOBwvUDdOG','vw5RBM93BG','s2LTAsbMB3iGq29KAw5N','mJaYmY0WnI0Wmq','CgvYC2LZDezPBgu','BwfRzuf1DgHizwfKzxjZ','yxbWzw5KtwvZC2fNzxm','te9dquXbufbeqvrb','yxnZAwDUvg9VBa','C2vZC2LVBKLK','Ahr0CeXVz0zPBgu','zg9TywLUCW','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','BM93','l29WDc9OB21LyNjLDY9IAw4VCMC','zw5ZDxjLqwDLBNrZrgLY','zxzLCNK','rMfPBgvKihrVigrVD25SB2fKoIbivfrqia','C2v0rw5HyMXLzefNzw50CW','EMLW','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','y3vYCMvUDfbYB21WDfrVA2vUCW','z2v0q29UzMLN','C3rYzwfTq29TCgXLDgLVBG','DNnJB2rLlZeUmta2lJe','zM9YrwfJAa','A2LTAq','Dg9VBf9JAg9Py2u','BgLUzuvUza','CMvTB3zLrxzLBNrmAxn0zw5LCG','y29TBwfUza','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GzMLSzsbJB250zw50CY4','yxv0Ag9YAxPHDgLVBG','DgfZA2TPBgW','Aw52B2nHDgLVBG','owqXyZi1mgeTztyXyI00ngq5ltG4zwqTntK0ngqXotyYzJvL','vxnLCI1bz2vUDa','uMv0DxjUihjLC3vSDhmGAw4GDgHPCYbSyw5NDwfNzsWGzs5NlIaNzw4NlcaNDMKN','zgvSzwDHDgLVBKrLChrO','zMLSzv9YzwfK','yxjNCW','ywnJzxnZvg9Rzw4','z2XTltqUnG','Aw5JBhvKzq','C29JA2v0igHHBMCGDxa','zwnVBM5Yzwz1C2vK','Aw1Hz2uT','zxjYB3i','u3rYzwfTrMLUAxnO','cIHLBxb0EsbVCIbHBgWGzMLSzxmGAwDUB3jLzcK','ls1OAwrKzw4','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','yxjJAa','DxrTx21LzgL1Bq','C2L6zq','y29TBwfUzcbUB3qGzM91BMq','y3jLyxrLuMv0CNLuCMfUC3bVCNq','DgLTzxn0yw1W','rMfPBgvKihrVigXVywqGywDLBNqGzNjVBsa','C3rHDa','y2fJAgvFy3jLyxrPB25FAw5WDxrFDg9Rzw5Z','ls1YzwDLEha','rMfPBgvKihrVigzLDgnOig1VzgvSCW','z2v0vhjHBNnWB3j0','DgvTCgXHDgu','qxv0AgvUDgLJyxrPB24GzMfPBgvKlIbqBgvHC2uGy2HLy2SGEw91CIbbueKGA2v5lG','lsbxB3jRAw5NigrPCMvJDg9YEtOG','z2vUzxjHDgvdB21WBgv0Aw9U','ChjPB3jPDhK','D2fZrgvUAwvK','u3vIqwDLBNruB29SuMvZDwX0','CMfUzg9Tvvvjra','Aw1WB3j0u25HChnOB3q','yxzHAwXHyMXLqwDLBNrZ','iMnVBNrLBNqIig11C3qGyMuGysbZDhjPBMCU','CMvSyxrPDMu','zMvHDhvYzxm','yxbWzw5K','zgvSzwDHDgLVBLnLCNzPy2vgywn0B3j5','lsbWyxr0zxjUoIaIAw1WB3j0lIPYzwfJDciSihbHDgG6icjZCMmIic0GrMLUzcbszwfJDcbPBxbVCNrZigLUihnYyY8','Bw9KzwXZ','ChjVBxb0q2fJAgLUzW','Awrhzw5LCMf0B3i','y2fWDhvYzvn0ywnRvhjHy2u','y29UDgvUDa','Aw52B2nHDgLVBNm','Bwv0CMLJCW','z2XVyG','zw5HyMXLza','CMvMCMvZAefJy2vZC1rVA2vU','CMvZDwX0','BgXTrMfJDg9YEq','AxnszxrYEwfIBgu','y29UzMLN','vg9VBfjLC3vSDa','xs4kpc9ZExn0zw0TCMvTAw5Kzxi+','zw5ZDxjLsw5PDgLHBgL6zwq','zgvSDge','tM8GqvbjigTLEsbVCIbpqxv0AcbJCMvKzw50AwfSCYbWCM92AwrLza','B3b0Aw9UywW','ChvZAa','DhvYBMrVD25tzxj2AwnL','zwrPDg9YlxbSDwDPBI12zxjZAw9U','Aw52ywXPzf9PBNb1Da','AxnbyNnVBhv0zq','qwXSia','A2LSBa','C3rVCf9YzwfZB24','wc1jBML0Awf0B3i','w2LTywDLoG','Cgf0DgvYBIbPCYbYzxf1AxjLza','CMvHzezPBgu','mJf0ufrMzgK','Bw9KzwW','CM91BMq','zxbOzw1LCMfS','zgvSzxrLrNjVBuzPBgu','ywfYy2G2nc1HChbSzs1Kyxj3Aw4','z2v0u25HChnOB3q','BgLUzvrLEhq','u2vHCMnOihrOzsb3zwiGzM9YihrOAxmGCxvLCNK','teXnihbYB3zPzgvYig5VDcbZzxq','CgvYC2LZDgvUy2u','zgvMyxvSDfnOzwXS','DgfYlMD6','y291BNrmAw5LCW','C2v0rxzLBNrZ','BwTKAxjtEw5J','sw52ywXPzcbHChbYB3zHBcbKzwnPC2LVBJOG','vxnLihrOAxmGDg9VBcb0BYbJCMvHDguGyw5Kig1HBMfNzsbHihn0CNvJDhvYzwqGDgfZAYbSAxn0igzVCIb5B3vYign1CNjLBNqGy29KAw5NihnLC3nPB24UifrOAxmGAgvSChmGEw91ihrYywnRihbYB2DYzxnZlcbVCMDHBML6zsbJB21WBgv4ihrHC2TZlcbHBMqGzgvTB25ZDhjHDguGDgHVCM91z2HUzxnZihrVihrOzsb1C2vYlGPjDcbHBhnVigHLBhbZihrOzsb1C2vYihvUzgvYC3rHBMqGDgHLihbYB2DYzxnZig9MihrOzsb0yxnRigfUzcbVDMvYywXSihbYB2DYzxnZig9MihrOzwLYihjLCxvLC3rZlGOkiYmGv2HLBIb0BYbvC2uGvgHPCYbuB29ScLvZzsb0AgLZihrVB2WGChjVywn0AxzLBhKGAw4GDgHLC2uGC2nLBMfYAw9ZoGOkms4Gq29TCgXLEcbTDwX0As1ZDgvWihrHC2TZic0Gv2HLBIbHihrHC2SGCMvXDwLYzxmGmYbVCIbTB3jLigrPC3rPBMn0ihn0zxbZig9YigfJDgLVBNmkmI4GtM9UlxrYAxzPywWGyw5KignVBxbSzxGGDgfZA3mGlsbuyxnRCYb0Agf0ihjLCxvPCMuGy2fYzwz1BcbWBgfUBMLUzYbVCIbTDwX0AxbSzsbVCgvYyxrPB25ZcJmUifvZzxiGzxHWBgLJAxrSEsbYzxf1zxn0CYb0B2rVigXPC3qGlsbxAgvUihrOzsb1C2vYigrPCMvJDgX5igfZA3mGEw91ihrVihvZzsb0AguGDg9KBYbSAxn0cJqUifvZzxiGChjVDMLKzxmGBxvSDgLWBguGDgfZA3mGlsbxAgvUihvZzxjZihbYB3zPzguGysbSAxn0ig9MihrOAw5NCYb0BYbIzsbKB25LicHUDw1IzxjLzcbVCIbJB21Tys1ZzxbHCMf0zwqPcJuUiefMDgvYihjLy2vPDMLUzYbUzxCGAw5ZDhj1y3rPB25Zic0Gsw1TzwrPyxrLBhKGy2fWDhvYzsb1C2vYihjLCxvPCMvTzw50CYbHCYb0B2rVCWO2lIbxAgvUihLVDsbZDgfYDcb3B3jRAw5Nig9UigeGDgfZAYaTie1HCMSGAxqGyxmGAw5FChjVz3jLC3mGqKvgt1jfigjLz2LUBMLUzYb3B3jRlIbjzgvHBgX5ihLVDsbZAg91BgqGB25SEsbOyxzLig9Uzsb0B2rVigfZigLUx3bYB2DYzxnZigf0igeGDgLTzqO3lIbbzNrLCIbJB21WBgv0Aw5NigeGDgfZAYaTie1HCMSGAxqGyxmGy29TCgXLDgvKigfUzcbHzgqGyw55ig5LDYbMB2XSB3CTDxaGDgfZA3mGzgLZy292zxjLzcbKDxjPBMCGAw1WBgvTzw50yxrPB24kcImJifDOzw4GtK9uihrVifvZzsbuAgLZifrVB2WkcLnRAxaGDxnPBMCGDgHPCYb0B29SihDOzw46cJeUifrOzxjLigLZig9UBhKGysbZAw5NBguSihn0CMfPz2H0zM9YD2fYzcb0yxnRcJiUifrOzsb0yxnRigLZihrYAxzPywWGyw5KihrYywnRAw5NigL0ihbYB3zPzgvZig5Vig9Yz2fUAxPHDgLVBMfSigjLBMvMAxqkmY4GvgHLihrHC2SGy2fUigjLignVBxbSzxrLzcbPBIbSzxnZihrOyw4GmYb0CML2AwfSihn0zxbZcJqUifrOzsb0yxnRigLZihb1CMvSEsbJB252zxjZyxrPB25HBcbVCIbPBMzVCM1HDgLVBMfScGPot1rfihrOyxqGEw91ihnOB3vSzcbUB3qGDxnLihrOAxmGDg9VBcbPzIb0AgvYzsbPCYbVBMX5ig9Uzsb0CML2AwfSihrHC2SGDg8Gzg8UieLUihrOAxmGy2fZzsb5B3uGyxjLigjLDhrLCIbVzMyGANvZDcbKB2LUzYb0AguGDgfZAYbKAxjLy3rSEs4kcImJifrHC2SGu3rHDgvZigfUzcbnyw5Hz2vTzw50cGOXlIaQkLrHC2SGu3rHDgvZkIO6ifvZzsb0AgvZzsbZDgf0zxmGDg8GDhjHy2SGChjVz3jLC3m6cIaGic0GCgvUzgLUzZOGvgfZAYbUB3qGEwv0ihn0yxj0zwqkicaGlsbPBL9WCM9NCMvZCZOGq3vYCMvUDgX5ihDVCMTPBMCGB24GkgXPBwL0ihrVie9orsb0yxnRigf0igeGDgLTzsKkicaGlsbJB21WBgv0zwq6ifrHC2SGzMLUAxnOzwqGC3vJy2vZC2z1BgX5cGOYlIaQkLrHC2SGtwfUywDLBwvUDcOQoGOGicaTifvWzgf0zsb0yxnRihn0yxr1CYbPBIbYzwfSlxrPBwuGyxmGEw91ihDVCMSkicaGlsbnyxjRihrHC2TZignVBxbSzxrLieLntuvesufuruXzigfMDgvYigzPBMLZAgLUzYaOzg9Uj3qGyMf0y2GGy29TCgXLDgLVBNmPcIaGic0Gt25SEsbOyxzLie9orsb0yxnRigLUx3bYB2DYzxnZigf0igfUEsb0Aw1LcIaGic0Gq29TCgXLDguGy3vYCMvUDcb0yxnRCYbIzwzVCMuGC3rHCNrPBMCGBMv3ig9UzxmkicaGlsbszw1VDMuGDgfZA3mGDgHHDcbHCMuGBM8GBg9Uz2vYihjLBgv2yw50igzYB20GDgHLigXPC3qGzw50AxjLBhKkcJmUicOQvgfZAYbdB21WBgv0Aw9UifjLCxvPCMvTzw50CYOQoGOGicaTie9otfKGBwfYAYbHihrHC2SGyxmGy29TCgXLDgvKihDOzw4GEw91igHHDMuGrLvmtfKGywnJB21WBgLZAgvKigL0cIaGic0GswyGEw91igvUy291BNrLCIbLCNjVCNmSigjSB2nRzxjZlcbVCIbJyw5UB3qGzMLUAxnOlcbRzwvWihrOzsb0yxnRigfZigLUx3bYB2DYzxnZcIaGic0Gv2HLBIbIBg9JA2vKlcbJCMvHDguGysbUzxCGDgfZAYbKzxnJCMLIAw5NihDOyxqGBMvLzhmGDg8GyMuGCMvZB2X2zwqkicaGlsbozxzLCIbTyxjRigeGDgfZAYbHCYbJB21WBgv0zwqGAwy6cIaGicaGlsbuzxn0CYbHCMuGzMfPBgLUzWOGicaGic0Gsw1WBgvTzw50yxrPB24GAxmGCgfYDgLHBaOGicaGic0Gww91igvUy291BNrLCMvKihvUCMvZB2X2zwqGzxjYB3jZcIaGicaGlsbzB3uGy291BgrUj3qGzMLUzcbUzwnLC3nHCNKGzMLSzxmGB3iGzgvWzw5Kzw5JAwvZcGO0lIaQkLrHC2SGqNjLywTKB3DUkIO6cIaGic0Gq3jLyxrLihnWzwnPzMLJlcbHy3rPB25HyMXLigL0zw1ZcIaGic0GqNjLywSGy29TCgXLEcb0yxnRCYbPBNrVihnTywXSzxiSig1HBMfNzwfIBguGC3rLChmkicaGlsbvC2uGy2XLyxiSigrLC2nYAxb0AxzLihrHC2SGBMfTzxmkcLDOzw4GAw4Gzg91yNqSihvZzsb0AgLZihrVB2WUiejLAw5NihbYB2fJDgL2zsb3AxrOihrHC2SGBwfUywDLBwvUDcbKzw1VBNn0CMf0zxmGyxr0zw50AxzLBMvZCYbHBMqGzw5ZDxjLCYb5B3uGy29TCgXLDguGywXSihjLCxvPCMvTzw50CYbZDwnJzxnZzNvSBhKU','ywjVCNrLzcbIEsb1C2vY','Dg9mB2nHBgvtDhjPBMC','y29WAwXVDc1JAgf0lZaUmZeUmW','D3jPDgvgAwXL','qwDLBNqGAxmGBwLZC2LUzYbPzgvUDgLMAwvYlG','zxjYB3juExbL','yMLYDgH0Aw1L','rgLYzwn0B3j5ihrVihnLyxjJAcbPBI4GrgvMyxvSDhmGDg8Gy3vYCMvUDcb3B3jRAw5NigrPCMvJDg9YEs4','iIWIAwqIoIi','y29ZDf9KzxrHAwXZ','Cg9ZAxrPDMu','qwjZB2X1DguGCgf0AhmGyxjLig5VDcbHBgXVD2vKlIbqCM92AwrLigeGCgf0AcbYzwXHDgL2zsb0BYb0AguGD29YA3nWywnLihjVB3qU','qwDLBNqGzgvSzwDHDgLVBIbPCYbUB3qGywXSB3DLzc4','CM90yxrLtg9NrMLSzq','ue9tva','ChjVDMLKzxjoyw1L','sw52ywXPzcbYzxf1zxn0oIa','B3bLBMfPlwnVBxbHDa','B25dAgfUz2u','ywDLBNq','Bwf4x3rVA2vUCW','uMf0zuXPBwL0','yxnZAxn0yw50','y2fWywjPBgL0AwvZ','CMvHC29UAw5Nx3rLEhq','CNvU','tM90rM91BMq','zxjYB3jZ','Dg9VBf9UB3rFzM91BMq','zgvMyxvSDfvYBa','otC4nZjJruTzENu','A2LSBgvK','zxzLBNrqB3j0','zM9YBwf0u3vJy2vZCW','yMfKihjLCxvLC3q','Dg9KB193CML0zq','yNvPBgrnyxjRzg93BG','CMLWz3jLCcbMywLSzwq6ia','qxv0Ag9YAxPHDgLVBG','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms03meiTsw5ZDhj1y3q','uhjVz3jHBuzPBgvZ','ywKTC2rRl2fUDgHYB3bPyY8YlJaUmZaGywKTC2rRl3bYB3zPzgvYlxv0AwXZlZmUmc4XmG','Bg9HzgLUz1bYB21PC2u','DhjPBq','BgLZDfjLz2LZDgvYzwruB29SCW','zxbPCgu','C2HLBgXfEgLZDhm','Dg9VBhm','qxnZAxn0yw50twvZC2fNzq','w1rVB2XdywXSq29UDMvYDgvYxsa','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzceGqxnRigfIB3v0ig5LEhqGC3rLChmUienVBxbSzxrLzcbSAxn0oGPB','Bwf0y2HLCW','u3vIqwDLBNrtDgfYDgvK','Bg9JywXeAxi','CMvHC29U','y29TCgXLDgvK','y29UDgv4Da','DgLTzw91De1Zig11C3qGyMuGCg9ZAxrPDMu','igj5DgvZlG','DgfYigv4DhjHy3rPB24GzMfPBgvKoIa','y2fJAgvFCMvHzf9PBNb1Df90B2TLBNm','DMvYC2LVBG','C2XPy2u','y2fSBfrVB2W','BhnFDg9VBa','BgXTuMvZB2X2zxi','uMvXDwvZDcb3yxmGy2fUy2vSBgvK','z2v0qMfZzvvYBa','z2v0qwDLBNrZrgLY','Dg90ywXdywnOzwruB2TLBNm','Dg9KB01LBw9YEq','y29UDgv4DfDPBMrVD1vZywDL','DhjHBNnMB3jTtwvZC2fNzxm','B2f1DgG','BgLUzunVDw50','y29UDgv4DfDPBMrVD0XPBwL0','tunqigrPC2nVBM5Ly3qGzxjYB3i6','ktOG','zM9YBwf0tg9Nrw50CNK','y29UBMvJDgLVBIbYzwz1C2vK','y29UDMvYC2f0Aw9Uswq','CMvHzgrPCLn5BMm','Bwf4','y3jLyxrLq29UDMvYC2f0Aw9Uswq','y3vYCMvUDenVC3q','qxzHAwXHyMXLihnWzwnPywXPC3qGywDLBNrZicH1C2uGyxnZAwDUx3rHC2SGDg9VBcb0BYbKzwXLz2f0zsK6','zgf0ytOG','rMfPBgvKihrVigDLBMvYyxrLigfNzw50ieLe','rxHHBxbSzxm6','Dgv4Dc9LDMvUDc1ZDhjLyw0','jYbUB3qGzM91BMq','teXnrxjYB3i','lsbqBgf0zM9YBtOG','CM9VDerPCG','Ahr0Chm6lY9HCgKUz2L0AhvIlMnVBs9JB3bPBg90x2LUDgvYBMfSl3yYl3rVA2vU','lMDPDgLNBM9Yzq','DxbKyxrLtwv0ywrHDge','AgfUzgXLrxjYB3i','BgLZDenVBNzLCNnHDgLVBNm','vg9VBcbLEgvJDxrPB24GywjVCNrLzcbIEsb1C2vY','zgvSzwDHDgLUz01LBw9YEq','yMfZAf90B29S','sfruucbLCNjVCIa','rMfPBgvKihrVihnHDMuGywDLBNqGDg8G','vgv4DcbJB250zw50ihrVihDYAxrLihrVihrOzsbUzxCGzMLSzq','lsbWyxr0zxjUoIaIzNvUy3rPB24UkMv4Cg9YDciGlsbgAw5Kigv4Cg9YDgvKigz1BMn0Aw9UCW','CMvJB3jKteXnq2fSBa','lsbWyxr0zxjUoIaIve9et3XgsvHnrsiSigLUy2X1zgu6iciQlNrZiIaTiezPBMqGDg9KB3mGAw4GvhLWzvnJCMLWDcbMAwXLCW','AgfUzgXLvg9VBefWChjVDMfS','Bw9Kzq','CMvJB3jKuMvXDwvZDenVBxbSzxrL','l2nOyxqVy29TCgXLDgLVBNm','D2fPDezVCLrVB2XbChbYB3zHBa','Bg9NuMvXDwvZDa','ywDLBNrZrgLY','u2HLBgWGBM90igzVDw5KoIa','BwnFzwLK','rxHWBgfUyxrPB24GB2yGD2HHDcbPCYbIzwLUzYbZzwfYy2HLzcbMB3iGyw5KihDOEsaOzs5NlIWGiLnLyxjJAcbMB3iGuMvHy3qGAg9VA3mGyMvZDcbWCMfJDgLJzxmIkq','CMLWz3jLCc1KB3DUBg9Hzc0','zgvLCgLUzNjH','DxrMltG','y29UBMvJDgvK','ugfYyw1LDgvYihzHBgLKyxrPB24GzMfPBgvKoIa','DhjPBvn0yxj0','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','Agv4','AgfZvMLZAw9Uugf5Bg9Hza','sw52ywXPzcbHz2vUDcb0zw1WBgf0zsbPBIa','qujpuLrfra','r09pr0Xfx0ntrv9dwa','yxnZAwDUx3rHC2S','vMfSAwrHDguGB25SEtSGzg8GBM90ihDYAxrLihrVigrPC2SU','DgvTCerPCG','rMLSzsbUB3qGzM91BMq6ia','B3rOzxi','y29UDgvUDf9IBg9JAW','CgLWzq','wf9psW','zNvUy3rPB24','ugfYyw1LDgvYicjHz2vUDciGAxmGCMvXDwLYzwqGyw5Kig11C3qGyMuGysbZDhjPBMC','lM1K','C3LTBgLUAW','BgLUzvn0yxj0ig11C3qGyMuGCg9ZAxrPDMu','t0zg','CMvZB2X2zvnHzMvqyxrO','Dg9VBfnJAgvTyxm','y29UDgv4Df9Szw5NDgG','B25fEgHHDxn0zwq','zxHLy3v0Aw9UvgLTzu1Z','w09Yy2HLC3rYyxrVCL0GuMvJzwL2zwqGyxbWCM92ywWGzM9YihvUA25VD24GB3iGywXYzwfKEsbWCM9JzxnZzwqGsuq6ia','lM51DMLU','Dg9VBf9Yzxn1Bhq','rxHWBgfUyxrPB24GB2yGD2HHDcbJAgfUz2vZigfYzsbIzwLUzYbTywrLigfUzcb3AhKGkguUzY4SicjvCgrHDguGAw1WB3j0ihbHDgGGDg8GDxnLig5LDYbTB2r1BguGC3rYDwn0DxjLiIK','zM9YBwf0rxjYB3i','Dgv4Dc9ODg1S','B2zMC2v0','qMvHCMvYia','rgv0ywLSzwqGzgvZy3jPChrPB24GB2yGDgHLihrHC2SGDg8GyMuGCgvYzM9YBwvKigj5ihrOzsbHz2vUDc4','BgLZDevUywjSzwrbz2vUDhm','Aw5MBW','DhjHBNnMB3jTuMvZCg9UC2u','B2XKx3rLEhq','Dg90ywXqCMLJzq','vg9KBYa','qwDLBNrnyw5Hz2vYihjLCxvPCMvZieXmtuzHy3rVCNKGDg8Gy3jLyxrLihn1yI1Hz2vUDhmUifbSzwfZzsbWCM92AwrLigXSBuzHy3rVCNKGAw4Gy29UC3rYDwn0B3iU','uMv0DxjUihjLC3vSDhmGzNjVBsb0AgLZihjLz2LVBIWGzs5NlIaNvvmNlcaNvK4N','yM9VBgvHBG','z2v0','u3LZDgvTigLUzM86','Bg9HzefSBa','DxbKyxrL','B25szxrYEq','Awq6ia','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZeYmY4WlJaUmcbtywzHCMKVntm3lJm2ie51DMLUqM90lZeUma','Ahr0Chm6lY9HCgKUA2LTAs5JB20Vy29KAw5Nl3yX','yxbWBhLezwzHDwX0CW','rMv0y2GGywjVCNrLzcbIEsb1C2vY','Bwf4rgvSyxLnCW','zhj5x3j1BG','ywDLBNrmAxn0uhjVDMLKzxi','Dg1WzgLY','vgHLigv4ywn0ihrLEhqGDg8GzMLUzcbPBIb0AguGzMLSzs4GtxvZDcbTyxrJAcbWCMvJAxnLBhKGAw5JBhvKAw5NihDOAxrLC3bHy2uGyw5KigXPBMuGyNjLywTZlG','zxHPC3rZ','cMbGya','ywn0AxzLq29UDMvYC2f0Aw9Uswq','C2f2zvrVugvYC2LZDgvUy2u','BwvZC2fNzv9ZDg9W','AxneAxjLy3rVCNK','zgvMyxvSDa','BwvZC2fNzq','Ag9TzwrPCG','B3v0Chv0x3rVA2vUCW','u2vHCMnOigfIB3j0zwqGyNKGDxnLCG','BgLTAxq','C3rKB3v0','z2v0qxv0AfrYyw5ZCg9YDa','msKGtgLZDcbHBgWGzMLSzxmGAw4Gy3vYCMvUDcbKAxjLy3rVCNK','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GysbZCgvJAwzPzwqGzgLYzwn0B3j5lG','EhH4EhH4EhGTEhH4Ec00EhH4lxL4EhGTEhH4EhH4EhH4EhH4','twLUAu1HEcbnmI4X','DgfY','z2v0uMvHzgvY','Bwf4rMLSzxm','zwrPDgvK','teXnigvYCM9Yia','EMfP','Dg90ywXuB2TLBNm','ugf0AcbLC2nHCgvZihDVCMTZCgfJzsbYB290oIa','Aw5WDxruB2TLBNm','zwnVBM5YzxnLDa','Dg9VBc1JywXS','uMvXDwvZDcbHyM9YDgvKigj5ihvZzxi','AxnszxrYEwfIBgvszxnWB25Zzq','twf4Aw11BsbUDw1IzxiGB2yGzgLYzwn0B3j5igvUDhjPzxmGDg8GCMv0DxjU','rw5HyMXLihnHzMuGC2vHCMnOigzPBhrLCMLUzYaOzgvMyxvSDcb0CNvLkq','zgLYBMfTzq','CMvXDwvZDenVDw50','y29TCgXLDgLVBL90B2TLBNnFzgv0ywLSCW','DgLTzw91De1Z','DhjHBNnWB3j0','Aw5KzxG','zxHLy3v0zvDPDgHszxrYEq','yxbWzw5KrMLSzq','vgLTzw91DcbPBIbTCY4GrgvMyxvSDdOGmZaWmdaU','CNvSzxm','rxHWBgfUyxrPB24GB2yGD2HHDcb3zwiGCgfNzsbPCYbIzwLUzYbMzxrJAgvKigfUzcb3AhKGkguUzY4SicjgzxrJAcbKB2n1BwvUDgf0Aw9UihbHz2uGzM9Yiefqssb1C2fNzsbLEgfTCgXLCYiP','DgvYBwLUyxrLza','zgvMyxvSDe1VzgvSCW','CgXHDgzVCM0','DgHYB3Dmte1fCNjVCG','yxbWBgLJyxrPB24VANnVBG','DMfSDwu','zMLUAxnO','C25PChbLDa','rMv0y2GGywrKAxrPB25HBcbTzxrHzgf0ysbMCM9TihjLC3vSDcbWywDLCYaOC2XVD2vYkq','Dw5SAw5Ru3LUyW','ywfYy2G2nc11BMTUB3DUlwXPBNv4lwDUDq','Bwf4rgvWDgG','vg9VBcbLEgvJDxrPB24GzgvUAwvKigj5ihvZzxi','DMfSDwvZ','yxr0ywnOBwvUDhm','BwvZC2fNzxm','AxntEw1IB2XPy0XPBMS','yMfJA29MzK11BhrPCgXPzxi','AgvHzgvY','Bwf0y2Hqyxr0zxjU','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','Cgf0DgvYBG','qw50AhjVCgLJiefqssbLCNjVCIa','tMv0D29YA0vYCM9Y','B3b0CW','z2v0rgvMyxvSDejHC2vvCMW','y29UDgvUDf9IBg9JA19ZDgfYDa','CgfYC2vtu0vtDhjLyw1xAxrOtg9Nz2LUzW','C2v0uhjVzMLSzurPCG','ywDLBNqGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','CgfYyw1LDgvYCW','ChjVBxb0x3rVA2vUC19KzxrHAwXZ','C3vJy2vZCW','z2v0tw9KzwXZ','B25uB2TLBLvWzgf0zq','ChjVBxb0x3rVA2vUCW','CMvZB2X2zuXmtq','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','zM9YBwf0DgvY','Cg9SAwn5','C3rVCMu','zw52','Bg9HzezYB21qzxjZAxn0zw5Jzq','CMvMCMvZAfrVB2XZ','C3vIx2fNzw50x3rVB2XFy2fSBa','AgLNAa','ugvYBwLZC2LVBKrLBMLLza','C3rHCNrZv2L0Aa','oIbTAxnZAw5Nig9YigLUDMfSAwqGC3LZDgvTuhjVBxb0','C3rYAw5NAwz5','zM9SzgvYvhjLzq','r2XVyMfSigzLDgnOigLZig5VDcbHDMfPBgfIBguUifvZzsboB2rLide4kYbVCIbHignVBxbHDgLIBguGCNvUDgLTzs4','Axnoyu4','vg9VBenHBgXZ','twvZC2fNzvn0yxj0zwq','y2zN','B2f1DgGTmJaYns0Wnc0YmcXMAw5LlwDYywLUzwqTDg9VBc1ZDhjLyw1PBMCTmJaYns0Wns0Xna','CgvUzgLUz0fWChjVDMfSCW','rMLSzsb3CML0DgvUigf0ia','iIbPCYbUB3qGyxzHAwXHyMXLlIbbDMfPBgfIBguGDg9VBhm6ia','u2HLBgWGy29TBwfUzcb0BYbYDw4U','Aw5JCMvTzw50vg9Rzw5Z','Ahr0Chm6lY9HCgKUEI5HAs9HCgKVy29KAw5Nl3bHyxmVDJq','BNv2Aw4','zxHPC3rZu3LUyW','zgvJB2rL','u3vIqwDLBNrnzxrYAwnZ','CMvMCMvZAa','Ahr0Ca','yxbPs2v5','C2HLBgXbCMDZ','CMvZB2X2zq','B25tDhjLyw1gAw5PC2G','C3vIx2fNzw50x3rVB2XFCMvZDwX0','y2f0y2G','Bwf4qNL0zxm','Aw1Hz2u','vMfSAwrHDgLVBIbMywLSzwq6ia','yw50AhjVCgLJlwnVBxbHDa','Dg9ju09tDhjPBMC','rMLSzsb0B28GBgfYz2uGka','Bg9Hza','mtqUms4X','z2XVyMfS','zwnOBW','r0vu','Dg90ywXFDg9Rzw5Z','y29UDgvUDf9IBg9JA19KzwX0yq','zxzLBNq6ia','C2fMzq','AxnezwzHDwX0','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','vg9Rzw4GCMvMCMvZAcbMywLSzwq','Ahr0Chm6lY9HCgKUBw9VBNnOB3qUywKVDJe','zxH0zw5ZAw9U','Bwf4qNL0zxnezwzHDwX0','AhLKCMf0zu1LDge','yMfZzw5HBwu','DxnLCG','sfruuca','uMvNDwXHCIbLEhbYzxnZAw9UihbHDhrLCM4GDg8GC2vHCMnOigzVCIbPBIbMAwXLignVBNrLBNrZ','y29Kzq','zxzLBNrdB2XSzwn0B3jZ','z2v0qwDLBNrszwDPC3rYEq','EMfPlwfUDgHYB3bPyW','rMLSzsbWzxjZAxn0zw5JzsbUB3qGy29UzMLNDxjLza','BM9Zy3jPChq','yxbWCM92zwrdywXSCW','ChjVBxb0','ywDLBNrjza','ywDLBNrszwDPC3rYEq','y2f0ywXVzW','CMfUzg9T','DgvTCgvYyxr1CMu','CMLWz3jLCc1LEhrYywn0lq','y3jLyxrLrMv0y2HgDw5JDgLVBG','CgfYC2vgCM9UDg1HDhrLCG','qwDLBNqGBg9HzgvKigzYB20GCgvYC2LZDgvUy2uGAgfZig5VieLelcbZA2LWCgLUzW','w01dufrVB2XqB3j0xsbgywLSzwqGDg8Gy29UDMvYDcbZy2HLBweGzM9Yia','tunqihrVB2WGy2fSBcb0Aw1LzcbVDxqGywz0zxiG','CMf0zv9SAw1PDa','Dg90ywW','lMDPDa','Dg9mB3DLCKnHC2u','yxr0CG','zxHWAxjLCW','Aw5KzxHpzG','CMvXDwvZDa','q2fUBM90ihvUCMvNAxn0zxiGzgvMyxvSDcbHz2vUDcaI','t3bLCMf0Aw9UigfIB3j0zwqGzhvYAw5NihjLDhj5igrLBgf5','zxzHBhvHDgu','A2v5','ig5VDcbMB3vUzcbPBIbLEhrYywn0zwqGyxjJAgL2zq','ChjVBxb0vg9Rzw5Z','y29TBwfUzfj1BM5LCG','AxrLBxm','su5gtW','uMv0DxjUCYb1Ccb0BYaXmdaGzMLSzxmGC29YDgvKigj5ig1VzgLMAwnHDgLVBIb0Aw1LicHTB3n0ihjLy2vUDcbMAxjZDcKU','z2v0rgLY','DhjHBNnMB3jTvg9VBenOB2LJzq','lNrTCc4','l3bPza','yxnPzgu','y2XLyw51Ca','y21K','zMLSzv9WyxrO','y3vZDg9TsgvHzgvYCW','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','zxzLBNrZlMPZB24','CgvYC2LZDfrVB2Xoyw1LCW','yxjNDw1LBNrZ','uMvHC29UAw5Nq2H1BMS','zwrPDg9YlxzLCNnPB24','CMvHC29UAw5N','BwvTB3j5','khn0CMvHBsK','Dgv4Df9KzwX0yq','y29ZDa','z3jLCf90B29S','vg9VBcbJywXSia','C3rKzxjY','Aw5WDxrFDg9Rzw5Z','zxn0Aw1HDgu','Aw50zwDLCG','CMvHza','u2vHCMnOigzVCIbMAwXLCYbTyxrJAgLUzYbHigDSB2iGCgf0DgvYBI4','igj5DgvZxqO','ugfYyw1LDgvYicj0yxnRiIbPCYbYzxf1AxjLzcbHBMqGBxvZDcbIzsbHihn0CMLUzW','yxjYyxK','BgLUzuvUzcbTDxn0igjLihbVC2L0AxzL','Bwf4vg9VBenVBMn1CNjLBMn5','u2vHCMnOigzVCIb3zwiGCgfNzxmGB3iGAw1Hz2vZicHKzwzHDwX0ihDLyIK','CMvZB2X2zuLUv29YA3nWywnL','yxv0AgvUDgLJyxrPB24','zw51Bq','zw1PDa','Dg9VBf9Uyw1LCW','AwrZ','uMvHzcbJB250zw50CYbVzIb0AgLZigzPBgu','C2v0t25dAgfUz2u','B3bLBMfPl2DWDc00BY1TAw5P','u0Lhvevstq','CMvHC29UAw5Nx3rVA2vUCW','vw5RBM93BIbmte0GChjVDMLKzxi6ia','zw5KC1DPDgG','Aw5OzxjPDa','rMfPBgvKihrVihnHDMuGywDLBNrZihrVihbLCNnPC3rLBMnLoG','C2fUAxrPEMvgAwXLBMfTzq','Bwv0Ag9K','zgvSzwDHDgLUz1rVB2XZ','CMvTAw5KzxjZ','CMv0CNKTywz0zxi','vg9VBefWChjVDMfSuMvXDwLYzwq','Ahr0Chm6lY9VCgvUCM91DgvYlMfPl2fWAs92mq','z2v0uMvZCg9UC2vtAxPL','BwvKAxvT','EdG2xZy0lxbJlxDPBMrVD3mTBxn2yW','BwvZC2fNzv9ZDgfYDa','uhjVDMLKzxiGzg9LCYbUB3qGC3vWCg9YDcbNzxrnB2rLBhm','CgLK','zxHLy3v0zvrHC2S','otm1mJu1mfbdAfb2Ca','zw5ZDxjLvMfSAwruB2TLBG','zMLUza','t3bLCMf0Aw9UigfIB3j0zwq','zwrPDa','x19TzxrHzgf0yv9F','zgvSzxrLq29UDMvYC2f0Aw9U','lunVBw1HBMq','twf4igrLBgvNyxrPB24GzgvWDgGGzxHJzwvKzwq','DMfSAwrHDgLVBL9MywLSzwq','nZDmve9lA3G','ugfYyw1LDgvYicjMAwXLx3bHDgGIigLZihjLCxvPCMvKlG','Aw1Hz2vFDxjS','yNLWyxnZuMvZDwX0CW','l2jPBI9IyxnO','vw5RBM93BIbnq1aGDg9VBdOG','CgfNzw1HCa','EM9Ku2nOzw1HCW','lsaIkI50CYiGlsbbBgWGvhLWzvnJCMLWDcbMAwXLCYbPBIbJDxjYzw50igrPCMvJDg9YEq','zgLZCgXHEv9Uyw1L','ugf0AcbVDxrZAwrLihDVCMTZCgfJzsbYB290oIa','l3vZCI9SB2nHBc9IAw4VCMC','Bwf4x2nVBxbSzxrPB25FDg9Rzw5Z','CMvMCMvZAf90B2TLBG','Dw5YzwDPC3rLCG','y3vYCMvUDfrVA2vUCW','DxrTx2nVBNrLBNq','BxrPBwu','yw55','C3vIx2fNzw50x2nVBxbSzxrLza','zxHLy09Uy2u','tunqigrPC2nVBM5Ly3qGDgLTzwqGB3v0igfMDgvYiduWmdbTCW','vg9VBcaI','nJKZntiWAhvYqKDp','v2LUr2v0','C2vHCMnOugfYyw1Z','AxnuzxH0rMLSzq','BMv0D29YAW','z2v0s2v5','uMf0zsbSAw1PDcbLEgnLzwrLzc4GugXLyxnLihrYEsbHz2fPBIbSyxrLCI4','BNvT','uMv0DxjUihrOAxmGBwfUEsbZzwfYy2GGCMvZDwX0CYaOms01mcWGzgvMyxvSDcaXmcK','rMfPBgvKihrVihDYAxrLihrVigXVzYbMAwXLoG','C2v0teXn','ywnJzxnZx3rVA2vU','B2jQzwn0','ywXS','C3rYzwfTx2zPBMLZAa','zNjVBq','C3rHCNq','uMv0DxjUCYb1Ccb0BYaXmdaGBwf0y2HLCYbZB3j0zwqGyNKGzMLSzsbTB2rPzMLJyxrPB24GDgLTzsaOBw9ZDcbYzwnLBNqGzMLYC3qPlG','zMLYC3q','Aw5PDgLHBgL6zwq','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','BgLUzvn0yxj0','igj5DgvZks4Gq2fWigLZia','z29Vz2XLlwnZzq','B25szwfZB25PBMDdAhvUAW','Dg9VBe5HBwu','DxjS','y2HVAwnLCW','BwTKAxi','ywrKrxzLBNrmAxn0zw5LCG','y29UBMvJDgLVBIb0Aw1LzcbVDxq','Dg9VBa','C3LZDgvT','Bg9HzezYB21gAwXLCW','ntaZodK0uwLdzu1v','C3vIx2fNzw50x3n0yxj0zwq','qxnZAxn0yw50','y29Uy2f0','y3vYCMvUDenHy2HLzfrVA2vUCW','EdG2xZy0lxvUA25VD24TBgLUDxGTBxvZBa','zMLSzv9WyxrOig11C3qGyMuGysbUB24Tzw1WDhKGC3rYAw5N','l21VzgvSCW','DhjHBNnMB3jTvxnHz2u','yxbP','yxbPigTLEq','Dg9vChbLCKnHC2u','BgXT','zwrPDeLUC3rYDwn0Aw9U','z2v0vg9VBerLzMLUAxrPB25Z','BgLZDa','icHZDhjLyw0P','zgvUAwvK','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VDJeVB2f1DgGVDg9Rzw4','D3jPDgvrDwv1zq','Cgf0DgvYBIbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','BMv0D29YAYbYzxf1zxn0igzHAwXLza','q29UDMvYC2f0Aw9UieLeignHBM5VDcbIzsbLBxb0Eq','Bg9JywXLq29TCgfYzq','DhjHBNnMB3jTvg9VBhm','zxHWB3j0u25HChnOB3q','Aw5FChjVz3jLC3m','y2HHCKnVzgvbDa','CxvLCNKGBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','Bwf4uMv0CMLLCW','zxHLy3v0zvrVB2XdywXSCW','D2vIx3nLyxjJAa','Bwf0y2G','Dg9VBenHBgXjza','AxnbCNjHEq','yxbWBhLdywnOzunVBNrYB2W','yNvPBgrgDwXSvxjS','zw5XDwv1zq','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','uMv0DxjUCYbLBNrYAwvZihnVCNrLzcbHBhbOywjLDgLJywXSEsbIEsbUyw1LigfZihn0CNvJDhvYzwqGsLnptI4','ywrK','AML0DgvYrMfJDg9Y','Aw5qCM9NCMvZCW','B25uB29Sq2fSBerLBhrH','Dg9Wx3bYB3zPzgvY','qxnZAxn0yw50q2H1BMS','z2v0vg9VBhm','t3bLCMf0Aw9UigfIB3j0zwqGyMvMB3jLigv4zwn1DgLVBG','zg9Uzq','tM8GzgvZy3jPChrPB24GChjVDMLKzwq','CgvUzgLUzW','C291CMnL','qwjVCNrfCNjVCG','DgfZAYbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','Dg90ywXuAw1Ltxm','Dg9qCM92AwrLCK1LC3nHz2vZ','C2fMzvbHCNnL','Bg9Nvg9dB25ZB2XL','z2v0qwn0AxzLqwDLBNrdB3vUDa','ywXSB3DLza','DgL0Bgu','cGPhzw5LCMf0zsbHignVBxbSzxrLigfNzw50ignVBMzPz3vYyxrPB24GzM9SBg93Aw5NihrOzsbNDwLKzwXPBMvZlIbszxr1CM4Gt05mwsb0AguGsLnptIbVyMPLy3qU','rMfPBgvKihrVigXVywqGy29TBwfUzcbMCM9Tia','yxnZAxn0yw50x21LC3nHz2u','w1rVB2XdywXSq29UDMvYDgvYxsbwywXPzgf0Aw9UihDHCM5PBMDZigzVCIa','y2XVC2u','Ahr0CdOVl2PZB24TC2nOzw1HlM9YzY9KCMfMDc0WnY9Zy2HLBweJ','C3LZDgvTuhjVBxb0','zgvZy3jPChrPB24','AgvHzgvYCW','ChjVzMLSzurPCG','AxnV','u0HfteW','BwvZC2fNzv9KzwX0yq','w0rptKvD','Bwf4t3v0Chv0qNL0zxm','Dg9KB3mGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','rMLSzsbWyxr0zxjUigzPBhrLCIaOzs5NlIWGiIOUANmIlcaIkI57DhmSDhn4FsiP','CMLWz3jLCc0Xnc4XlJeTEdG2xZy0lxbJlxDPBMrVD3mTBxn2yW','DMfSAwrHDgvuzw1WBgf0zq','DgHYB3DszxnWB25ZzuvYCM9Y','z2XVyL90B29S','yxbPvxjS','Dg9VBenHBgXdB3vUDa','y3jLyxrLteXn','zw5HyMXLzefNzw50C0nVBMzPzW','ChjVy2vZC1rVB2XbChbYB3zHBa','ChjVzMLSzq','y2HLzxjPBW','Aw5WDxq','BMfTzq','qwDLBNqGsuqGzNjVBsbYzwDPC3rYEsaOzs5NlIWGiMnVzguTCMv2Awv3zxiIlcaICMvZzwfYy2HLCIiP','wZ0+nY04kcLD','iIbPCYbJDxjYzw50BhKGzgLZywjSzwqUifbSzwfZzsbLBMfIBguGAxqGAw4GDgHLigfNzw50ignVBMzPz3vYyxrPB24U','zw50CMLLCW','BwnFy2LK','y2fJAgvszwfKsw5WDxruB2TLBNm','DhLWzq','C3vTBwfYEq','y2fJAgvdCMvHDgLVBKLUChv0vg9Rzw5Z','yMLU','vg9VBcaN','Dg9VBhnnzw1VCNK','yxbWCM92zv9HBgW','l3vZCI9IAw4VCMC','zgf0zxrPBwu','rxHWBgfUyxrPB24GB2yGD2HHDcb0AgLZignVBw1HBMqGD2LSBcbKBYaOzs5NlIWGiKDLDcbNAxqGy29TBwL0igXVzYiP','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','ygbGANnVBGO','twLJCM9ZB2z0','y3jLyxrLu3rYzwfTvgfWCgvY','Aw5JBhvKzxm','v29YA2LUzYbKAxjLy3rVCNKU','y29UC3rHBNrZ','zgvUEq','CMvHzezPBgvtEw5J','C2vUza','u3vIqwDLBNrdB21WBgv0zwq','CMv0CNLHyMXLu3rHDhvZq29Kzxm','zxzLBNrdywXSyMfJAW','BwfW','vgLTzw91Da','y3DK','CMvZCg9UC2vuAw1Ltxm','qNvYBNrtDxnOAs5YAxbNCMvWlK1tvKnFtwLJCM9ZB2z0lLDPBMDLDc5tB3vYy2vFohDLA3LIm2q4yMj3zq','z2v0qxzHAwXHyMXLvg9VBe5HBwvZ','B2zM','zMLSzw5HBwu','w2nVBxbSzxrLzf0','lwXJ','C25HChnOB3q','C3rHDhvZq29Kzq','rMfPBgvKihrVigXVywqGywDLBNrZigzYB20GCgvYC2LZDgvUy2u6','rxHLy3v0zsbZAgvSBcbJB21Tyw5KCYb3AxrOihrPBwvVDxqGChjVDgvJDgLVBI4Gq2fWDhvYzxmGC3rKB3v0l3n0zgvYCI4Grg9LCYbUB3qGC3vWCg9YDcbPBNrLCMfJDgL2zsbJB21Tyw5KCYb0Agf0ihjLCxvPCMuGDxnLCIbPBNb1DcaOzs5NlIWGBNbTigLUAxqSihbUCg0Gy2HHBMDLC2v0lcbPBNrLCMfJDgL2zsbPBNn0ywXSzxjZlcbNAxqGywrKic1Wlcb2Aw0Sig5HBM8PlG','zw5HyMXLzefNzw50CW','BwLTzvr5Cgu','CMv0CNLdB25MAwC','yxbWzw5Kvg9mB2DgAwXL','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','rMfPBgvKihrVigrLBgv0zsbHz2vUDca','zxn0Aw1HDgvKx2nVC3q','AgfUzgXLvg9VBerLBMLHBa','vg9VBcbJywXSihzHBgLKyxrPB24GzMfPBgvKicG','rMfPBgvKihrVigv4zwn1DguGC3bLy2LHBgLZDcbHz2vUDdOG','B2C6DxbKyxrLzf90Aw1L','qwjVCNrLza','zgLZywjSzwq','ywDLBNrZ','BgvUz3rO','Cg9YDhm','r2XVyMfSigzLDgnOig5VDcbHDMfPBgfIBguGzM9YihrVA2vUigv4y2HHBMDL','tunqoIa','C3rYAwn0vg9VBfzHBgLKyxrPB24','Dw5RBM93BG','C29Tzq','yw50AhjVCgLJ','ywn0AxzLqwDLBNrZ','qvbjieTLEq','z2XVyMfSrgLY','CMvZzxq','ugfYyw1LDgvYicjWyxrOiIbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','rM9SzgvYihn0CNvJDhvYztO','u2vYDMLJzsb0zw1WB3jHCMLSEsb1BMf2ywLSywjSzs4GugXLyxnLihrYEsbHz2fPBIbSyxrLCI4','yM9KEq','Dg9VBf9HChbYB3zHBf9YzxnWB25Zzq','yxv0AfrYyw5ZCg9YDa','DgHLBG','yxv0BW','mtCZotq0BMPNvhjb','C2f2zq','ANnVBG','BMv3x3rLEhqGAxmGCMvXDwLYzwq','iIbUB3qGzM91BMqGAw4GCMvNAxn0CNKUief2ywLSywjSzsbHz2vUDhm6ia','zw5KCg9PBNrZ','zMXVB3i','zgLYzwn0B3j5','DMfSAwrHDgLVBG','zMfPBgvK','o1TExg5DkJ8','Dg9VBenHBgXZ','C2STyw50lw9HDxrOlxbSywnLAg9SzgvY','tunqignSAwvUDcbUB3qGy29UBMvJDgvK','D2HLCMuGCMC','mYKGtgLZDcbMAwXLCYbPBMnSDwrPBMCGAgLKzgvUig9Uzxm','Dg9Rzw5ZvxnLza','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','C29YDa','q2fUBM90ihnHDMuGzgvMyxvSDcbHz2vUDcaI','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','y29TCgXLDgLVBLrVA2vUCW','CMvHC29UAw5NrwzMB3j0','q29TBwfUzcbLEgvJDxrPB24GywjVCNrLzcbIEsb1C2vY','Aw5PDa','zMvUy2vK','y2fSBeLK','B25dAhvUAW','y29UDgv4DeXPBMS','CMvXxW','zgvSzwDHDgLVBLnLCNzPy2u','oxPnB3rYta','C3rHDfn5BMm','C2LNBMfS','tM8GDg9VBcbMB3vUzcbMB3iG','Aw5JBhvKzvvZywDL','AwDUB3jL','zw5HyMXLuhjVBxb0q2fJAgLUzW','C3r5Bgu','BwLU','D29YA3nWywnLrgLY','B2XKx3rLEhqGBxvZDcbIzsbHihn0CMLUzY4','zgv0zxjTAw5Lsw5PDgLHDg9Y','rMfPBgvKihrVigrLBgvNyxrLihrHC2SU','C3vIC3rYAw5N','BwLUAw1HEa','vMfSAwrHDgLVBKzHAwXLza','EYjJB250zw50iJOI','C3rYzwfT','Bwv0ywrHDge','CMv0CNK6ia','u3vIlwfNzw50igv4zwn1DgLVBIbHyM9YDgvKigj5ihvZzxi','CMvWBgfJzq','DMfSAwq','cK91Dhb1DcbIzwzVCMuGywjVCNq6cG','lsbuzw1WoIa','CMfJzq','DxvPza','C2HVDwXKqNLWyxnZqxbWCM92ywW','C2nYAxb0','Aw5ZDwzMAwnPzw50x3f1B3rH','y3jLyxrL','vg9VBe5VDezVDw5K','ywnJzxnZ','z2XTltqUnW','DgHPBMTPBMDFzgvSDge','y29UBMvJDgLVBIbYzxnLDa','z2XTltqUnq','u0Lhs0Lmta','zMjJBgLK','CgfYDgLHBf9QC29U','Aw52ywXPzf9HCgLFA2v5','zw5ZDxjLrgLY','y3jLyxrLvhjHBNnWB3j0','tMv0D29YAYbLCNjVCIbVy2n1CNjLzc4GugXLyxnLihrYEsbHz2fPBI4','vg9VBcbLEgvJDxrPB24GD2fZig5VDcbHChbYB3zLzdOG','zhLUyw1Py0fWAvvYBa','cIaGicaGievKAxrZigfUigv4Axn0Aw5NigzPBguGyNKGCMvWBgfJAw5Nigv4ywn0ihrLEhqGBwf0y2HLCY4GvgHLigzPBguGBxvZDcbHBhjLywr5igv4Axn0lGOkicaGicaGlsbgAw5KCYb0AguGzMLYC3qGB2nJDxjYzw5JzsbVzIbVBgrFDgv4DcbPBIb0AguGzMLSzqOGicaGicaTifjLCgXHy2vZigL0ihDPDgGGBMv3x3rLEhqkicaGicaGlsbqCMvZzxj2zxmGDgHLigzPBguNCYbSAw5LigvUzgLUzYbZDhLSzsaOteyGB3iGq1jmrIKkcIaGicaGieLnue9svefovdOGB2XKx3rLEhqGBxvZDcbTyxrJAcbLEgfJDgX5lcbPBMnSDwrPBMCGywXSihDOAxrLC3bHy2uSigLUzgvUDgf0Aw9UlcbHBMqGBgLUzsbICMvHA3mUcIaGicaGifrVig1HA2uGysb1BMLXDwuGBwf0y2GSigLUy2X1zguGzw5VDwDOihn1CNjVDw5KAw5NignVBNrLEhqU','C3rHDhvZ','zNmVChjVBwLZzxm','r09pr0Xfx0ntrv9lrvK','z2v0qwDLBNrfDMvUDhm','DgLTzw91Da','zw5Oyw5Jzq','D2fPDezVCKXVywq','AxnozwDHDgLVBG','ls1NBg9Ipq','A2LSBfbYB2nLC3nhCM91Ca','zMv0y2GGzMfPBgvK','y3jLyxrLzef0','Ahr0Chm6lY9HCgKUEI5HAs9HCgKVyw50AhjVCgLJl3yX','vxnLCYbYAxbNCMvWigzVCIbMyxn0ignVBNrLBNqGC2vHCMnOlG','C2HHCMvdB250zxH0','Cgf0Aa','z2v0vg9KB3m','Bwf4ugvYq29UDMvYC2f0Aw9U','sw52ywXPzcbHz2vUDcb0zw1WBgf0ztOGBwLZC2LUzYbZExn0zw1qCM9TChq','AgvHzgvYC1rVuMvJB3jK','C2v0vg9VBhm','lI4U','vw5RBM93BIbLCNjVCG','z2v0q29UDMvYC2f0Aw9U','BM90x2zVDw5K','BMv0D29YA19LCNjVCG','q3vZDg9TiefNzw50','CM9Szq','BwvZC2fNzuLK','rMfPBgvKihrVihnHDMuGBwvTB3j5ihrVia','Dg9Rzw4','CMv0CNK','CMvUyw1L','vgHLig1VzgvSicC','zgf0ytO','z2v0t0f1DgG','ChjVDMLKzxi','A2v5CW','BMv3x3rLEhqGBxvZDcbIzsbHihn0CMLUzY4','y2vPBa','y2fWDhvYzvjLC3bVBNnLqM9KEq','vvjmihbHCMfTzxrLCIbPCYbYzxf1AxjLza','cLT0CNvUy2f0zwqGyxqG','Dg9KyxK','zw5VDgzVDw5K','BM9YBwfSAxPL','t25SEsbZzwfYy2GGD2L0AgLUihrOzxnLigrVBwfPBNm','lu5VuhjVzMLSzq','lsaIkIOVkI50zxn0lNrZiIaTiefSBcb0zxn0igzPBgvZihjLy3vYC2L2zwX5','mJaYns0Xmc0Wmq','D2vI','twf4Aw11BsbKzwXLz2f0Aw9UigrLChrOicG','vxbKyxrLzcb0B2rVigXPC3q','BM90igzVDw5K','C2v0twvTB3j5','ig1Z','D2LUmZi','ugfYC2vKiePtt04GBxvZDcbIzsbHBIbVyMPLy3qSig5VDcbHBIbHCNjHEsbVCIbWCMLTAxrPDMu','Dgv4Da','BM9Uzq','y29TCgXLDgLVBL90B2TLBNm','y2XPzw50','CMvHC29UAw5Nx2nVBNrLBNq','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Cg9ZDa','y29UBMvJDa','zgvSzwDHDgLUz0nVBMzPzW','Bwf4x2nVBNrLEhrFD2LUzg93x3rVA2vUCW','y2XLyxi','B3v0Chv0vg9Rzw5Z','vg9VBcbHChbYB3zHBcbMywLSzwq','jYbPCYbUB3qGC3vWCg9YDgvKigzVCIbJAgf0ignVBxbSzxrPB25ZlIbqBgvHC2uGC2vSzwn0igeGzgLMzMvYzw50ig1VzgvSihvZAw5NicCVBw9KzwWNlG','rM91BMqG','s2LTAunmss8WlJu5','BNv2Aw4Ty29Yzs1JBgK','zxzLBNrZ','oIbJB250zw50ihjLCxvPCMvK','zM9YyMLKzgvU','CMf0zsbSAw1PDa','iokaLca','cJXZExn0zw0TCMvTAw5Kzxi+cLrOAxmGAxmGBM90igeGCMvZDwX0igzYB20GDgHLihrVB2WGy2fSBc4GvgHLihvZzxiGD2fUDhmGC29TzxrOAw5NigvSC2uUifbSzwfZzsbMB2XSB3CGDgHLihvZzxiNCYbPBNn0CNvJDgLVBI4kre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlGO8l3n5C3rLBs1Yzw1PBMrLCJ4','zxHLy3v0zq','DxrTx3rLCM0','twLUAu1HEc1nmI4X','B3bLBMfPl2DWDc00BW','icbmAw5Lia','DxrMoa','z2v0twv0CMLJCW','lsbuB2rHEsDZigrHDgu6ia','yxv0Ae1LDgHVzhm','CMvNAxn0zxi','Cg9W','AM9PBG','CMCUzxHL','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','CMvJzw5JEurHExmGBxvZDcbIzsbWB3nPDgL2zq','l2jPBI9ZAa','zMLSzv9LzgL0','y21KlMv4zq','zMLUAxnOx3jLyxnVBG','Cgf0AcbTDxn0igjLigeGBM9UlwvTChr5ihn0CMLUzW','zMLSzv9UzxC','D3jPDgvgAwXLu3LUyW','Ahr0Chm6lY9HCgKUAw5KAxzPzhvHBc5NAxrODwjJB3bPBg90lMnVBq','CNvUBMvY','DgfZAW','z2v0rgvSyxLgB3jszxnWB25Zzq','zxHJAgfUz2vuB2TLBG','zNjVBuvUDhjPzxm','D2fYBG','y2fSy3vSyxrLtgLUzu51BwjLCNm','oIb0B29SCYbTDxn0igjLigfUigfYCMf5','CxvLCNK','zgvZy3jPChrPB24GBxvZDcbIzsbHig5VBI1LBxb0EsbZDhjPBMC','C3vIC3rY','zgf0yq','zMLSzvbLCNnPC3rLBMnL','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','C3LZDgvTq29UDgv4DfbYB3zPzgvY','zMfJDg9YEq','qwDLBNqGiG','qw4GDw5RBM93BIbLCNjVCIbVy2n1CNjLza','Dg9KB3m','BxrPBwvnCW','Aw1Hz2vZ','D3jPDgvbDg9TAwm','DgHPBMTPBMC','AwzYyw1L','DgvZDa','Dg9VBf9HChbYB3zHBf9Yzxf1AxjLza','Ahr0Chm6lY9HCgKUBwLUAw1HEc5PBY9HBNrOCM9WAwmVDJe','y21Kig11C3qGyMuGysbUB24Tzw1WDhKGC3rYAw5N','y29UDgv4DfDPBMrVDW','ig1HDgnO','BgLTAxqGBxvZDcbIzsbWB3nPDgL2zq','C2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','yxbWtMfTzq','C2v0','Dg9VBf9JywXSCW','y2XVy2S','CgfYDhm','DgLTzvTKyxrLDgLTzv0','Aw5JBhvKzuHPzgrLBG','cJXLBNy+cNT7Aw5Qzwn0zwrtExn0zw19FqO8l2vUDJ4','z2v0qxbPs2v5','zMLSzvbHDgG','ls1NBg9IpseUz2L0lYO','o2jHC2u2ncW','ww91igfYzsbHBIbLBgL0zsbbssbHz2vUDcbHCMnOAxrLy3qUifLVDxiGAM9IigLZihrVihrYyw5ZBgf0zsb1C2vYihjLCxvPCMvTzw50CYbPBNrVigeGChjLy2LZzsWGCMvSAwfIBguGywDLBNqGC3bLy2LMAwnHDgLVBIbHBMqGzMLUywWGC3LZDgvTihbYB21WDcb0Agf0igrVD25ZDhjLyw0GC3LZDgvTCYbJyw4GDxnLigrPCMvJDgX5lGOkiYmJienVBNrLEhqGEw91ig1HEsbYzwnLAxzLcI0GuhjVAMvJDcbTyxrLCMLHBhmGkguUzY4Sienmqvvers5TzcKSignVzgLUzYbZDgfUzgfYzhmSihbYB2PLy3qGC3rYDwn0DxjLlcbHBMqGy3vZDg9TihjLCxvPCMvTzw50CY4Gsw5OzxjPDcb0AgvZzsbWyxr0zxjUCYbLEhbSAwnPDgX5igLUihLVDxiGzgvZAwDUlGOkiYmJifLVDxiGAgLNAc1SzxzLBcbVyMPLy3rPDMuklsbqCM9KDwnLigeGy29TCgXLDguSihnLBgyTC3vMzMLJAwvUDcbHz2vUDcbZCgvJihrOyxqGAw5JBhvKzxm6igeGy29Uy2LZzsbPzgvUDgLMAwvYlcbHignSzwfYicj3AgvUihrVihvZzsiGzgvZy3jPChrPB24GD2L0AcbLEgfTCgXLCYWGyw5KigeGCM9IDxn0ihn5C3rLBsbWCM9TChqGDgHHDcbNB3zLCM5ZigjLAgf2Aw9YlGOkiYmJie9WzxjHDgLUzYbWCMLUy2LWBgvZicHMB2XSB3CGAw4GB3jKzxiPcJePicOQrxH0CMfJDcbdB3jLieLUDgvUDcOQcIaGic0GswrLBNrPzNKGChvYCg9ZzsWGC2nVCguSihvZzxjZlcbPBNb1DhmSig91Dhb1DhmSihn1y2nLC3mGy3jPDgvYAweSignVBNn0CMfPBNrZlcbHBMqGyw55igLTCgXPy2L0ig5LzwrZlGOGicaTieLMignVzguTCMv2Awv3igLZihjLCxvLC3rLzcWGzgvMyxvSDcbZy29Wzsb0BYaQCMvJzw50BhKGD3jPDhrLBIbVCIbJAgfUz2vKignVzguQihvUBgvZCYb0AguGDxnLCIbLEhbSAwnPDgX5ihjLCxvLC3rZigeGzNvSBc1YzxbVihjLDMLLDY4kmIKGkIPezxnPz24GrxHWzxj0ifbLCNnVBMeQkGOGicaTierLzMLUzsbHigrVBwfPBI1ZCgvJAwzPyYbYB2XLicHLlMCUlcbZzw5PB3iGy29KzsbYzxzPzxDLCIWGqvbjigrVy3mGD3jPDgvYksWGzgvJAxnPB24GC3r5BguSigfUzcbKB21HAw4GAgv1CMLZDgLJCY4kicaGlsbbC3n1BwuGDgHLihjVBguGB2yGysbYzwnVz25PEMvKigrVBwfPBIbLEhbLCNqGD2L0AcbKzwvWig1HC3rLCNKGB2yGCMvSzxzHBNqGy29Uy2vWDhmSig1LDgHVzg9SB2DPzxmSigfUzcbIzxn0ihbYywn0AwnLCY4Gtgv0ihrOAxmGzxHWzxj0AxnLigD1AwrLihLVDxiGzgvJAxnPB24TBwfRAw5NihrOCM91z2GGBNvHBMnLzcb1BMrLCNn0yw5KAw5NlcbHDxrOB3jPDgf0AxzLigP1zgDTzw50lcbHBMqGC3rYyxrLz2LJihrOAw5RAw5NihrOyxqGyw50AwnPCgf0zxmGy2HHBgXLBMDLCYbHBMqGCMvJB2DUAxPLCYbWCM92zw4GCgf0DgvYBNmUcIaGic0Gq29TBxvUAwnHDguGD2L0AcbWCM9MzxnZAw9UywWGy29UzMLKzw5Jzsb3AgLSzsbHy2TUB3DSzwrNAw5NihvUy2vYDgfPBNr5ihDOzw4GyxbWCM9WCMLHDguUcJePicOQrgvJB21WB3nLihrOzsbuyxnRkIOkicaGlsbmyxKGB3v0igeGC2HVCNqGCgLWzwXPBMuGkfbmqu4G4OAsievyrunvveuG4OAsifzfuKLgwsdIHPiGt1vuufvuks4Gs2vLCcbZDgvWCYbJB25JCMv0zsbHBMqGy2HLy2TSAxn0lwrYAxzLBI4Gkfn0CNvJDhvYzwqSigrLy29TCg9ZzwqGChjVBxb0CYbPBxbYB3zLihjLBgLHyMLSAxr5lIKkmIKGkIPtCgvJAwz5ieLUChv0CYWGvg9VBhmSigfUzcbcB3vUzgfYAwvZkIOkicaGlsboyw1LihjLCxvPCMvKigLUChv0CZSGC3rHDguGyxnZDw1WDgLVBNmGAwyGBwLZC2LUzY4kicaGlsbmAxn0igfSBg93zwqGDg9VBhmVqvbjCYbHBMqGAg93ihrVigLUDM9Rzsb0AgvToYbKzwzPBMuGzMfSBgjHy2SGyMvOyxzPB3iGAwyGDg9VBhmGzMfPBc4kicaGlsbjBMnSDwrLihn0B3aGy29UzgL0Aw9UCYbHBMqGzxnJywXHDgLVBIbYDwXLCYaOD2HLBIb0BYbHC2SGDgHLihvZzxiGzM9YignSyxjPzMLJyxrPB24SihDOzw4GDg8GCMv0DxjUihbHCNrPywWGCMvZDwX0CYKUcJmPicOQuxvHBgL0EsaMifjLBgLHyMLSAxr5kIOkicaGlsbcDwLSzcbPBIbZzwXMlwnOzwnRCZOGCMvXDwLYzw1LBNqGy292zxjHz2uSignVBNn0CMfPBNqGywrOzxjLBMnLlcbMB3jTyxr0Aw5NihzHBgLKyxrPB24UcIaGic0Gv2HLCMuGyxbWBgLJywjSzsWGAw5ZDhj1y3qGDgHLigfNzw50ihrVigDLBMvYyxrLigfUzcb2zxjPzNKGCMvHC29UAw5NigLUDgvYBMfSBhKSihrOzw4GChjLC2vUDcbVBMX5ihrOzsbMAw5HBcWGy29Uy2LZzsbYzxn1BhqUcIaGic0Grw5JB3vYywDLigv2AwrLBMnLl3zLCMLMAwnHDgLVBIbMB3iGzMfJDhvHBcbJBgfPBxmGD2HLBIbZB3vYy2vZigfYzsbHDMfPBgfIBguUcJqPicOQt3v0Chv0ienVBNrYywn0kIOkicaGlsbezwzPBMuGzxHHy3qGB3v0Chv0igzVCM1HDhmGkhnJAgvTyxmSihnLy3rPB25ZlcbVCIbIDwXSzxqGy2HLy2TSAxn0CYKGC28Gzg93BNn0CMvHBsbJB25ZDw1LCNmGyxjLigrLDgvYBwLUAxn0AwmUcGOJiYmGu3LZDgvTlxbYB21WDcbZDhj1y3r1CMuGEw91ig11C3qGz2vUzxjHDguGkhvZzsb0AgLZihrLBxbSyxrLkqOkiYbsB2XLcLLVDsbHCMuGpgv4CgvYDc1WzxjZB25HpI4Gww91ig9WDgLTAxPLigzVCIbJB3jYzwn0BMvZCYWGy2XHCML0EsWGyw5KigfKAgvYzw5Jzsb0BYbWCM9Qzwn0ihn0yw5KyxjKCY4kcImGr29HBhmklsa8yNvSBgv0igXPC3qGB2yGy29Uy3jLDguGz29HBhm+cGOJieLUChv0CWOTidXYzxf1AxjLzcbPBNb1Dhm+cI0GqxnZDw1WDgLVBNmGAwyGBwLZC2LUzZOGphj1BgvZihrVigLUzMvYig9YihjLCxvLC3q+cGOJifbYB2nLC3mklsbqtefooIa8yNjPzwyGy2HLy2TSAxn0pGOTievyrunvveu6idXTzxrOB2rZlcbMCMfTzxDVCMTZlcbOzxvYAxn0AwnZpGOTifzfuKLgwtOGphnLBgyTy2HLy2TZlcbYzxf1AxjLBwvUDcbJB3zLCMfNzsWGy29UC3rYywLUDcbHDwrPDd4klsbpvvrqvvq6idXLEgfJDcbZzwn0Aw9UCYaVihnJAgvTyt4kcImGug9SAwnPzxmGjIbcB3vUzgfYAwvZcI0GrM9SBg93ihbYB2PLy3qGy29KAw5Nihn0yw5KyxjKCYbMCM9Tienmqvvers5TzcbPzIbWCM92AwrLzc4klsbszxzPzxCGB25SEsbYzwnLBNqGy2HHBMDLCYb1BMXLC3mGDg9SzcbVDgHLCNDPC2uUcI0GswyGAw5MB3jTyxrPB24GAxmGAw5ZDwzMAwnPzw50lcbHC2SGChjLy2LZzwX5ihrHCMDLDgvKihf1zxn0Aw9UCYaOBwf4idmPigjLzM9YzsbWCM9JzwvKAw5NoYbVDgHLCNDPC2uGChjVy2vLzcb3AxrOignSzwfYBhKGC3rHDgvKigfZC3vTChrPB25ZlGOTifn0B3aGyw5KigvZy2fSyxrLigLMihnHzMv0EsWGBgvNywWSig9YigrHDgeTz292zxjUyw5JzsbYAxnRCYbHCMuGzgv0zwn0zwqUcGOJiff1ywXPDhKGqMfYcI0Grw5ZDxjLoIbJB3jYzwn0BMvZCYa+ignVBxbSzxrLBMvZCYa+ihnWzwvKlGOTifj1BIbHigzPBMfSicjtCgvJiffbiIbJAgvJA2XPC3qGyMvMB3jLihjLC3bVBMrPBMC6cIaGmsKGqwXSihvZzxiGCMvXDwLYzw1LBNrZig1HChbLzcb0BYbZzwn0Aw9UCZ8kicaYksbpDxrWDxqGzM9YBwf0ig1HDgnOzxmGDgHLignVBNrYywn0igv4ywn0BhK/cIaGmYKGrwrNzsbJyxnLCYbHzgrYzxnZzwq/cIaGncKGrxHHBxbSzxmGAw5JBhvKzwqGD2HLBIbOzwXWzNvSpWOIiIikcImJiYbxAgf0ihrVihjLDhvYBGOTieeGkIPku09oig9IAMvJDcOQihDPDgGGzxHHy3rSEsb0AgvZzsbMAwvSzhm6cIaGlsaNAwqNoIbZAg9YDcWGA2vIywiTy2fZzsWGzgvZy3jPChrPDMuGkdlIGjm0ihDVCMrZksWGBM8Gz2vUzxjPyYb0zxjTCYbSAwTLicDOzwXWzxiNig9YicDHC3nPC3rHBNqNlGOGic0Gj2rLC2nYAxb0Aw9UjZOGC3rHCNrZihDPDgGGiLvZzsb0AgLZigfNzw50ihDOzw4UlI4IigfUzcbPBMnSDwrLCYbHDcbSzwfZDcb0D28Gy29Uy3jLDguGzxHHBxbSzxmGC2HVD2LUzYb0B29SigLUDM9JyxrPB24Gkg5VDcbKAxjLy3qGCMvWBgLLCYKUieLUy2X1zguGChjVywn0AxzLihrYAwDNzxjZigLMigLTCgXPzwqUcIaGlsaNC3LZDgvTuhjVBxb0jZOGDgHLigzPBMfSihnLy29Uzc1WzxjZB24GC3LZDgvTihbYB21WDcbIDwLSDcbMCM9TihrOzsb0zw1WBgf0zsbHyM92zs4kcImJiYbbzgrPDgLVBMfSigD1AwrHBMnLcI0GuhjLzMvYigv4CgXPy2L0igLUC3rYDwn0Aw9UCYbVDMvYihbYB2HPyML0Aw9UCZSGC2f5ihDOyxqGDg8Gzg8UicHtCgvJAwzPyYWGC3rYDwn0DxjLzcbWCM9TChrZigLTChjVDMuGB3v0y29TzxmUkqOTifvZzsbMzxCTC2HVDcbLEgfTCgXLCYb3AgvUihrOzxKGy2XHCMLMEsbIzwHHDMLVCI4klsbczsbJB25JAxnLigj1DcbJB21WBgv0zEkaLgv2zxj5igXPBMuGC2HVDwXKigfKzcbLEgvJDxrPB24GDMfSDwuUcI0GswyGy29UC3rYywLUDhmGy29UzMXPy3qSihn0yxrLihrOzsb0CMfKzs1VzMyGyw5KihLVDxiGCMvZB2X1DgLVBI4klsbpBMX5igLUy2X1zguGB3b0Aw9UywWGywr2yw5JzwqGCMvHC29UAw5NigD1AwrHBMnLihDOzw4GyMvUzwzPy2LHBdSGA2vLCcb0AguGzMLUywWGDxnLCI12AxnPyMXLig91Dhb1DcbJBgvHBI4kcGOJiYmGuKvrvuLsruqGt1vuufvuoIbzB3uGtvvtvcbYzxr1CM4Gysbku09oig9IAMvJDcb3AxrOigf0igXLyxn0ihrOzsaNC3LZDgvTuhjVBxb0jYbMAwvSzc4kcIOQt1busu9oquWGrKLftertkIO6ifLVDsbTyxKGywXZBYbPBMnSDwrLigfUEsbVzIb0AgvZzsbMAwvSzhmGkhrOzxKGAgf2zsbKzwzHDwX0CYbPzIbVBwL0DgvKktOklsaNAwqNoIbbigTLyMfIlwnHC2uGAwrLBNrPzMLLCIaOzs5NlIWGiNnLy3vYAxr5lwf1zgL0B3iIlcaIzgf0ys1HBMfSExPLCIiPcI0Gj25HBwuNoIbbigH1BwfUlxjLywrHyMXLig5HBwuGkguUzY4Sicjtzwn1CML0EsbbDwrPDg9YiIWGiKrHDgeGqw5HBhL6zxiIkqOTicDKzxnJCMLWDgLVBIC6ieeGyNjPzwyGzgvZy3jPChrPB24GB2yGD2HLBIb0BYb1C2uGDgHPCYbHz2vUDaOTicD0B29SCYC6iefUigfYCMf5ig9MihrVB2WGBMfTzxmGDgHLigfNzw50ihnOB3vSzcbOyxzLigfJy2vZCYb0BWOTicD0zw1WzxjHDhvYzsC6ieeGBNvTyMvYigjLDhDLzw4GmcbHBMqGmsaOzgvMyxvSDdOGmc43kqOkrxHHBxbSzsbVDxrWDxrZoGOkEWOGicjPzci6icjZzwn1CML0Es1HDwrPDg9YiIWkicaIBMfTzsi6icjtzwn1CML0EsbbDwrPDg9YiIWkicaIzgvZy3jPChrPB24IoIaIvxnLihrOAxmGywDLBNqGD2HLBIb5B3uGBMvLzcb0BYbWzxjMB3jTigeGC2vJDxjPDhKGyxvKAxqGB24GysbJB2rLyMfZzsbVCIbHChbSAwnHDgLVBI4GrM9Yigv4yw1WBguSihLVDsbTAwDODcbPBNzVA2uGDgHPCYbHz2vUDcb3AgvUihLVDsb3yw50ihrVignOzwnRigzVCIb2DwXUzxjHyMLSAxrPzxmGAw4Gysb3zwiGyxbWBgLJyxrPB24GB3iGD2HLBIb5B3uGBMvLzcb0BYbLBNn1CMuGy29TCgXPyw5Jzsb3AxrOihnLy3vYAxr5igjLC3qGChjHy3rPy2vZlIiScIaGiNn5C3rLBvbYB21WDci6icikicaGicaGww91igfYzsbHihnLy3vYAxr5igf1zgL0Aw5NihnWzwnPywXPC3qUifLVDxiGCM9SzsbPCYb0BYbHBMfSExPLignVzguGzM9YihnLy3vYAxr5ihz1Bg5LCMfIAwXPDgLLCYWGAw5JBhvKAw5NifnrtcbPBMPLy3rPB24SifHtuYWGq1nsrIWGyxv0AgvUDgLJyxrPB24GAxnZDwvZlcbHBMqGAw5Zzwn1CMuGzgvWzw5Kzw5JAwvZlGOkicaGicaGqxbWCM9Hy2G6cIaGicaGideUifjLywqGyw5KigfUywX5EMuGDgHLignVzgvIyxnLihn5C3rLBwf0AwnHBgX5cIaGicaGidiUienOzwnRigzVCIbJB21TB24GDNvSBMvYywjPBgL0EsbWyxr0zxjUCWOGicaGicaZlIbszxzPzxCGzgvWzw5Kzw5JAwvZigzVCIbRBM93BIbdvKvZcIaGicaGidqUifbYB3zPzguGC3bLy2LMAwmSigfJDgLVBMfIBguGCMvTzwrPyxrPB24GC3rLChmkcIaGicaGiefSD2f5CYbWCMLVCML0AxPLignYAxrPy2fSihnLy3vYAxr5igLZC3vLCYbHBMqGzxHWBgfPBIb0AguGCg90zw50AwfSigLTCgfJDc4IlaOGicj0B29SCYi6ifSIzMLSzv9YzwfKiIWGiNDLyL9ZzwfYy2GIlcaIyMfZAf90B29SiL0ScIaGiNrLBxbLCMf0DxjLiJOGmc4ZcN0kcNSkicaIC3LZDgvTuhjVBxb0iJOGiLLVDsbHCMuGysbOzwXWzNvSihnWzwnPywXPC3qGywDLBNqGDgHHDcbHC3nPC3rZihDPDgGGz2vUzxjHBcbWCM9NCMfTBwLUzYb0yxnRCY4Gww91ignHBIbYzwfKigzPBgvZlcbZzwfYy2GGzM9YigLUzM9YBwf0Aw9UlcbHBMqGChjVDMLKzsbJBgvHCIbLEhbSyw5HDgLVBNmUiGP9cGPszw1LBwjLCJOGj3n5C3rLBvbYB21WDcCGAxmGuKvrvuLsruqUiefSBcbVDgHLCIbMAwvSzhmGyxjLig9WDgLVBMfSigfUzcb3AwXSigHHDMuGzgvMyxvSDhmGyxbWBgLLzcbPzIbVBwL0DgvKlGPjtvbpuLrbtLq6ifjLDhvYBIbptKXzihrOzsbku09oig9IAMvJDcbHCYb5B3vYihjLC3bVBNnLlIbeBYbot1qGAw5JBhvKzsbHBNKGywrKAxrPB25HBcb0zxH0ig9Yigv4CgXHBMf0Aw9UlGO','B3b0Aw9UCW','AxndB25Uzwn0zwq','D2vIx2zLDgnO','lIbbDMfPBgfIBgu6ia','lIbqBgvHC2uGAw5ZDgfSBcbYAxbNCMvWig1HBNvHBgX5lG','B25vC2fNzq','w2LUx3bYB2DYzxnZxq','yxr4','DxrTx2nHBxbHAwDU','CMLWz3jLCa','y29UDMvYC2f0Aw9U','zgvSzxrL','C3rYDwn0DxjLza','ls1MAwvSzc1TyxrJAc1ZzxbHCMf0B3i9Fa','Bwf4rMLSzvnPEMu','y3vYCMvUDerLChrO','Aw52ywXPza','sw52ywXPzcbJB21Tyw5KihrLBxbSyxrLigLUia','zMLSzq','y2XP','Bg9HzefNzw50CW','C2v0q29UDgv4DfDPBMrVDW'];_0x53d7=function(){return _0x1c8083;};return _0x53d7();}function isLsToolSuccess(_0xf297c){const _0x25a442={_0x43f162:0x5eb,_0x26162c:0x390,_0x549d5d:0x211,_0x348da7:0x45c,_0x4235c6:0x442,_0x1e7948:0x23b,_0xb308d6:0x637,_0x54e3ad:0x42e,_0x4b02d2:0x365,_0xefa073:0x723},_0x358da2={_0x1865de:0x58};function _0x2d086f(_0x4471e2,_0x55557d,_0x191ea8,_0x575ce7){return _0xadee61(_0x55557d- -0x76,_0x191ea8,_0x191ea8-0xe,_0x575ce7-0x50);}function _0x414791(_0x3cc07d,_0x329468,_0x1e683a,_0x17d17f){return _0x27e2df(_0x3cc07d-_0x358da2._0x1865de,_0x1e683a-0x217,_0x1e683a-0xfb,_0x329468);}return _0xf297c[_0x414791(_0x25a442._0x43f162,_0x25a442._0x26162c,0x427,0x314)]==='ls_tool'&&_0xf297c[_0x2d086f(0x552,0x34b,_0x25a442._0x549d5d,_0x25a442._0x348da7)]===_0x414791(0x151,_0x25a442._0x4235c6,0x2e0,_0x25a442._0x1e7948)&&_0xf297c[_0x414791(_0x25a442._0xb308d6,0x490,_0x25a442._0x54e3ad,0x26e)]===_0x414791(_0x25a442._0x4b02d2,0x494,0x4fd,_0x25a442._0xefa073);}function isGlobResult(_0x4889f2){const _0x2b7671={_0x5e4788:0x151,_0x5e2f38:0x8,_0x1efe04:0x1af,_0x1493d3:0x22d,_0xcc4072:0x117},_0x592f92={_0x27b527:0x433},_0x4fd309={_0x1995ca:0x11a,_0x5f5d5d:0x218};function _0x245f00(_0x39d6e6,_0x23644b,_0x5c8b57,_0x582a96){return _0x27e2df(_0x39d6e6-_0x4fd309._0x1995ca,_0x5c8b57- -_0x4fd309._0x5f5d5d,_0x5c8b57-0xea,_0x582a96);}function _0xdb68f8(_0x5d10e0,_0x3f0eb6,_0x494948,_0x4471ae){return _0x27e2df(_0x5d10e0-0x1c5,_0x4471ae-_0x592f92._0x27b527,_0x494948-0xa6,_0x5d10e0);}return _0x4889f2[_0x245f00(-_0x2b7671._0x5e4788,-0x15c,-_0x2b7671._0x5e2f38,_0x2b7671._0x1efe04)]===_0x245f00(_0x2b7671._0x1493d3,-0x161,-0x11,_0x2b7671._0xcc4072);}function isGlobSuccess(_0x48d49b){const _0x80b01b={_0x437f61:0x1ed,_0x4ef943:0x2c3,_0x29317c:0x20e,_0x2d2eeb:0xd0,_0x1928bc:0x2f7},_0x3160c5={_0xf8b3e1:0x90,_0xfbb2b:0xe0},_0x2f4e79={_0x3ceaed:0x137,_0x6127d5:0xbf,_0x360c78:0x1e5};function _0xb90269(_0x356088,_0x57f032,_0x38cdca,_0x3f22c1){return _0x27e2df(_0x356088-_0x2f4e79._0x3ceaed,_0x38cdca- -_0x2f4e79._0x6127d5,_0x38cdca-_0x2f4e79._0x360c78,_0x356088);}function _0x3ea334(_0x4cc68f,_0x2bfaba,_0x1cd916,_0x202b41){return _0x27e2df(_0x4cc68f-_0x3160c5._0xf8b3e1,_0x1cd916-_0x3160c5._0xfbb2b,_0x1cd916-0x1f,_0x202b41);}return _0x48d49b['name']==='glob_tool'&&_0x48d49b[_0xb90269(0x2f6,0x1dd,_0x80b01b._0x437f61,_0x80b01b._0x4ef943)]===_0xb90269(-_0x80b01b._0x29317c,0x187,0xa,_0x80b01b._0x2d2eeb)&&_0x48d49b[_0x3ea334(0x2af,0xc2,_0x80b01b._0x1928bc,0x498)]==='text';}function isGrepResult(_0x52d730){const _0x3b4372={_0x5b1bd7:0x38d,_0xa28cd2:0x29b},_0x4d8609={_0x323966:0x1a,_0x51ca1d:0x1e2,_0x45ff1f:0x1cb},_0x196d22={_0x4b2d0f:0x1a6,_0x5abd49:0x2bc,_0x1e917b:0xfe};function _0x11b0fd(_0x5bce0f,_0x4da4f9,_0x2c7560,_0x2f9c31){return _0x27e2df(_0x5bce0f-_0x196d22._0x4b2d0f,_0x4da4f9-_0x196d22._0x5abd49,_0x2c7560-_0x196d22._0x1e917b,_0x2f9c31);}function _0x57c47c(_0x36207f,_0xd5cb84,_0x258e09,_0x4e405e){return _0xadee61(_0x4e405e-_0x4d8609._0x323966,_0xd5cb84,_0x258e09-_0x4d8609._0x51ca1d,_0x4e405e-_0x4d8609._0x45ff1f);}return _0x52d730[_0x11b0fd(0x54a,0x4cc,_0x3b4372._0x5b1bd7,_0x3b4372._0xa28cd2)]===_0x57c47c(0x409,0x19f,0x326,0x276);}function isGrepSuccess(_0x1f5f91){const _0x460db5={_0x1384d5:0x3c0,_0x1b8ca9:0x643,_0x414d34:0x5fe,_0x35b44e:0x4c7,_0x11b188:0x4aa,_0x5d7834:0x34a,_0x54ec92:0x712,_0x94d740:0x638,_0x1f1214:0x807,_0x416b7b:0x84f,_0x276cd3:0x73d},_0x684f5d={_0x49ec32:0x23d,_0x2b1eb4:0x150};function _0x16f029(_0x1ac479,_0x3c4cc0,_0x5070a9,_0x2c2cba){return _0xadee61(_0x1ac479-_0x684f5d._0x49ec32,_0x5070a9,_0x5070a9-0x1f4,_0x2c2cba-_0x684f5d._0x2b1eb4);}function _0x47a36e(_0x37b3f0,_0x27e36e,_0x3adb08,_0xc8d0dc){return _0x27e2df(_0x37b3f0-0x3c,_0x27e36e-0x182,_0x3adb08-0x177,_0xc8d0dc);}return _0x1f5f91[_0x47a36e(0x32d,0x392,_0x460db5._0x1384d5,0x440)]===_0x16f029(0x499,0x6b4,_0x460db5._0x1b8ca9,0x598)&&_0x1f5f91[_0x16f029(_0x460db5._0x414d34,0x5b5,0x7a9,_0x460db5._0x35b44e)]===_0x16f029(0x41b,_0x460db5._0x11b188,_0x460db5._0x5d7834,0x4b1)&&_0x1f5f91[_0x16f029(0x569,0x3a8,0x6d7,_0x460db5._0x54ec92)]===_0x16f029(_0x460db5._0x94d740,_0x460db5._0x1f1214,_0x460db5._0x416b7b,_0x460db5._0x276cd3);}function isWebSearchResult(_0x575d55){const _0x352a0c={_0x4d5c31:0x30};function _0x3a1891(_0x29059a,_0x244052,_0x39daf3,_0x3f842c){return _0x27e2df(_0x29059a-0xf,_0x39daf3- -0x1de,_0x39daf3-0x1b9,_0x29059a);}return _0x575d55[_0x3a1891(0x1c1,_0x352a0c._0x4d5c31,0x32,-0x76)]==='web_search';}function isWebSearchSuccess(_0x132259){const _0xd074d1={_0x4d72b7:0x466,_0x54b84e:0x643,_0x425814:0x4d4,_0x47cb7f:0x5b3,_0x23f0e5:0x4af,_0x1d27e8:0x540,_0x1f74f6:0x4e9,_0x11409c:0x1b9,_0xbc1823:0x9},_0x172e70={_0x3b8329:0xed},_0x5b782a={_0x30e2c9:0x1cd};function _0x2cbe6f(_0x37c2b1,_0x5f5542,_0xf7b2cc,_0x384017){return _0x27e2df(_0x37c2b1-0x1b2,_0xf7b2cc- -0x269,_0xf7b2cc-_0x5b782a._0x30e2c9,_0x5f5542);}function _0x59c41c(_0x2f3774,_0x20142c,_0x195342,_0x92eb06){return _0xadee61(_0x195342-0x2c9,_0x20142c,_0x195342-0xa9,_0x92eb06-_0x172e70._0x3b8329);}return _0x132259[_0x59c41c(_0xd074d1._0x4d72b7,0x62e,0x5ee,0x444)]===_0x59c41c(_0xd074d1._0x54b84e,_0xd074d1._0x425814,_0xd074d1._0x47cb7f,_0xd074d1._0x23f0e5)&&_0x132259[_0x59c41c(_0xd074d1._0x1d27e8,0x7bf,0x68a,0x82d)]===_0x59c41c(_0xd074d1._0x1f74f6,0x33b,0x4a7,0x330)&&_0x132259[_0x2cbe6f(_0xd074d1._0x11409c,0xfe,-0x52,0x193)]===_0x2cbe6f(-0x99,-0x16,-_0xd074d1._0xbc1823,-0xe5);}function isWebFetchResult(_0x1bc807){const _0x4289ad={_0x3304e2:0x221,_0x382e83:0x2f6,_0x25e062:0x2aa};function _0x539355(_0x1292e4,_0xc20d0f,_0x310d24,_0x4d697d){return _0xadee61(_0xc20d0f- -0x162,_0x1292e4,_0x310d24-0x1ed,_0x4d697d-0x134);}return _0x1bc807['name']===_0x539355(_0x4289ad._0x3304e2,_0x4289ad._0x382e83,0x240,_0x4289ad._0x25e062);}function isWebFetchSuccess(_0x16f51e){const _0x4703e8={_0xeca212:0x82,_0x35712e:0x22a,_0x2d1e90:0x33a,_0x226f1a:0x30e,_0x321561:0x8f,_0x567c87:0x292,_0x2b2fc1:0x12a,_0x529610:0xfe,_0x2b19e6:0x207,_0xd72b02:0x8,_0x181546:0x200,_0x104709:0x653},_0x1d35bb={_0x2f7eb9:0x29},_0x28f1d0={_0x3aeaf1:0x154};function _0x588e07(_0x4e19da,_0x2ca72d,_0x270474,_0x52b041){return _0xadee61(_0x270474- -0x1c6,_0x4e19da,_0x270474-_0x28f1d0._0x3aeaf1,_0x52b041-0x82);}function _0x4ec74c(_0x523e6f,_0xa0c897,_0x429715,_0x16e390){return _0xadee61(_0x523e6f-_0x1d35bb._0x2f7eb9,_0x429715,_0x429715-0x7b,_0x16e390-0x1d6);}return _0x16f51e[_0x588e07(_0x4703e8._0xeca212,_0x4703e8._0x35712e,0x15f,_0x4703e8._0x2d1e90)]===_0x588e07(_0x4703e8._0x226f1a,_0x4703e8._0x321561,_0x4703e8._0x567c87,_0x4703e8._0x2b2fc1)&&_0x16f51e[_0x588e07(-0x44,_0x4703e8._0x529610,0x1fb,0x6a)]===_0x4ec74c(_0x4703e8._0x2b19e6,-_0x4703e8._0xd72b02,0x2c7,0xcc)&&_0x16f51e['type']===_0x4ec74c(0x424,0x411,_0x4703e8._0x181546,_0x4703e8._0x104709);}function isTodoWriteResult(_0x3f40d1){const _0x2dcb5f={_0x3d2209:0x904,_0x272ef0:0x642,_0x268e4f:0x809,_0x54f114:0x6cd,_0x77189e:0x4b7},_0x2b22d3={_0xb081e7:0xeb,_0x1cb4e7:0x4bd},_0x258be2={_0x4e002a:0x1f3};function _0x521ac7(_0x207d78,_0x54f23c,_0x477a93,_0x15959e){return _0x27e2df(_0x207d78-_0x258be2._0x4e002a,_0x477a93-0x40c,_0x477a93-0x130,_0x207d78);}function _0x6da29c(_0x52cc0f,_0xd3f775,_0x48f7b9,_0x4718e6){return _0x27e2df(_0x52cc0f-_0x2b22d3._0xb081e7,_0x4718e6-_0x2b22d3._0x1cb4e7,_0x48f7b9-0x14d,_0x52cc0f);}return _0x3f40d1[_0x6da29c(_0x2dcb5f._0x3d2209,_0x2dcb5f._0x272ef0,_0x2dcb5f._0x268e4f,_0x2dcb5f._0x54f114)]===_0x6da29c(0x455,0x377,_0x2dcb5f._0x77189e,0x4a7);}function isTodoWriteSuccess(_0x8fff10){const _0xea417e={_0x594767:0x3f0,_0x5f699f:0x570,_0x97a3d:0x3cc,_0x11ee17:0x49b,_0xfedacd:0x3ae},_0x2366a6={_0x4e20d2:0x38,_0x2879d1:0xe8},_0x36020b={_0x43b621:0x1af};function _0x184d12(_0x129a96,_0x10cc48,_0x514cd2,_0x5537e9){return _0xadee61(_0x129a96- -0x269,_0x5537e9,_0x514cd2-_0x36020b._0x43b621,_0x5537e9-0x1b3);}function _0x19008e(_0x98ee32,_0xc8a8bf,_0xa5046c,_0x4ace6b){return _0xadee61(_0xc8a8bf-0xa0,_0xa5046c,_0xa5046c-_0x2366a6._0x4e20d2,_0x4ace6b-_0x2366a6._0x2879d1);}return _0x8fff10['name']===_0x19008e(0x3c1,0x19f,0x21f,0x1f9)&&_0x8fff10[_0x19008e(_0xea417e._0x594767,0x461,0x3d2,0x5c7)]===_0x184d12(-0x8b,-0xed,0x136,-0x31)&&_0x8fff10[_0x19008e(_0xea417e._0x5f699f,_0xea417e._0x97a3d,0x1e6,0x294)]===_0x19008e(0x3b5,_0xea417e._0x11ee17,_0xea417e._0xfedacd,0x354);}function isAssignResult(_0x418a64){const _0x35c9b1={_0x339386:0x4fc,_0x31d590:0x428,_0x1478f6:0x2e5},_0x498f7e={_0x326053:0x4a,_0x1c9a1c:0x19d};function _0x5571a8(_0x149653,_0x500aec,_0x261711,_0x1cadc1){return _0x27e2df(_0x149653-_0x498f7e._0x326053,_0x500aec-0x218,_0x261711-_0x498f7e._0x1c9a1c,_0x149653);}return _0x418a64[_0x5571a8(_0x35c9b1._0x339386,_0x35c9b1._0x31d590,_0x35c9b1._0x1478f6,0x29a)]==='assign_task';}function isAssignSuccess(_0x442e35){const _0x4d2f4f={_0x44d4f9:0x3d5,_0x2cf0f7:0x618,_0x42bf06:0x2f6,_0x1d58fc:0x3b0,_0x31d435:0x2ba,_0x1a0746:0x41c,_0x17fc02:0xb3,_0x577a5f:0x390,_0x47485d:0x216,_0x564bce:0x269},_0x502d3b={_0x2220ed:0x34,_0x324cf2:0x196},_0x288e1c={_0x1ccb2d:0x96};function _0x919d9a(_0x12c8f4,_0x15c83d,_0x286edf,_0x39909d){return _0xadee61(_0x39909d- -0x192,_0x12c8f4,_0x286edf-_0x288e1c._0x1ccb2d,_0x39909d-0xb5);}function _0x100190(_0x175b5c,_0x2daa2c,_0x352c01,_0x38368b){return _0x27e2df(_0x175b5c-_0x502d3b._0x2220ed,_0x38368b-0x203,_0x352c01-_0x502d3b._0x324cf2,_0x175b5c);}return _0x442e35[_0x100190(_0x4d2f4f._0x44d4f9,_0x4d2f4f._0x2cf0f7,_0x4d2f4f._0x42bf06,0x413)]===_0x100190(_0x4d2f4f._0x1d58fc,_0x4d2f4f._0x31d435,_0x4d2f4f._0x1a0746,0x24c)&&_0x442e35['status']===_0x919d9a(_0x4d2f4f._0x17fc02,0x23,-0x7a,0x4c)&&_0x442e35['type']===_0x919d9a(_0x4d2f4f._0x577a5f,0x178,_0x4d2f4f._0x47485d,_0x4d2f4f._0x564bce);}import*as _0x5cc4e3 from'fs';import*as _0x58e18f from'path';import{parse,stringify as _0x4c35bc}from'yaml';var AgentFilePersistence=class{[_0x27e2df(0x249,0x39,0x12b,0x123)];constructor(_0x1cd882){const _0x382bc7={_0x4cc5a3:0x457,_0x4e5bdd:0x231},_0x548d2b={_0xa79290:0x1f0,_0x9e8e37:0x39};function _0x2c409d(_0x1cc04d,_0xde4fe0,_0x45a631,_0x9b2211){return _0x27e2df(_0x1cc04d-0x2f,_0xde4fe0-_0x548d2b._0xa79290,_0x45a631-_0x548d2b._0x9e8e37,_0x1cc04d);}this['agentsDir']=_0x1cd882[_0x2c409d(_0x382bc7._0x4cc5a3,0x229,0x3b4,_0x382bc7._0x4e5bdd)];}[_0xadee61(0x4ee,0x6c9,0x3fd,0x6c4)](){const _0x4db7c5={_0x483ddf:0x2b1,_0x423f8a:0x841,_0x38899c:0x75},_0x4f0c0e={_0x269d47:0x2e3,_0x468cdb:0xe8},_0x3c81ec={_0x38dff7:0xa7};function _0x764314(_0x38ffa4,_0x1894c8,_0x35257c,_0x126823){return _0xadee61(_0x126823-0xa7,_0x38ffa4,_0x35257c-_0x3c81ec._0x38dff7,_0x126823-0x11c);}function _0x5f43e6(_0x5b8fae,_0x14d851,_0x35a3aa,_0x2341e8){return _0xadee61(_0x14d851-_0x4f0c0e._0x269d47,_0x35a3aa,_0x35a3aa-_0x4f0c0e._0x468cdb,_0x2341e8-0x18c);}!_0x5cc4e3['existsSync'](this[_0x5f43e6(0x38a,0x431,0x3ba,_0x4db7c5._0x483ddf)])&&_0x5cc4e3[_0x5f43e6(0x785,_0x4db7c5._0x423f8a,0x6d2,0x708)](this[_0x764314(-0x3a,_0x4db7c5._0x38899c,0x2a4,0x1f5)],{'recursive':!![]});}async[_0x27e2df(-0x4e,0x70,-0x1b3,-0x10a)](){const _0x40d3e2={_0x261ecf:0x69b,_0x1f3dfd:0x73f,_0x2827c4:0x6f7,_0xea79a4:0x433,_0x10217f:0x468,_0x5b43b1:0x3c4,_0x35ca57:0x6ed,_0x6ed5ac:0x432,_0x4a95af:0x414,_0x3a3662:0x453,_0x4a5cdf:0x884,_0x23ed65:0x764,_0x512326:0x821,_0x24f23c:0x616,_0x3ab3f5:0x7d6,_0x613c1d:0x76a,_0xbcae03:0x62c,_0x4b7646:0x7dc},_0x558622={_0x2212b3:0xb},_0x5ae8d2={_0x50b014:0x490,_0x5e3532:0x174},_0x382b4a=[];function _0x44c947(_0x3ddb41,_0x2352a2,_0x4609a5,_0x4bf91c){return _0x27e2df(_0x3ddb41-0xf9,_0x3ddb41-_0x5ae8d2._0x50b014,_0x4609a5-_0x5ae8d2._0x5e3532,_0x2352a2);}try{this[_0x44c947(0x869,_0x40d3e2._0x261ecf,_0x40d3e2._0x1f3dfd,_0x40d3e2._0x2827c4)]();if(!_0x5cc4e3['existsSync'](this[_0x44c947(0x4c9,_0x40d3e2._0xea79a4,_0x40d3e2._0x10217f,0x525)]))return _0x382b4a;const _0x3c9cc5=_0x5cc4e3[_0x38b2ce(_0x40d3e2._0x5b43b1,0x4d5,0x5ca,_0x40d3e2._0x35ca57)](this[_0x38b2ce(_0x40d3e2._0x6ed5ac,0x4f6,_0x40d3e2._0x4a95af,_0x40d3e2._0x3a3662)]),_0xdae3da=_0x3c9cc5['filter'](_0x196c1f=>_0x196c1f['endsWith'](_0x38b2ce(0x7ac,0x843,0x962,0x758))||_0x196c1f[_0x38b2ce(0x69a,0x61e,0x792,0x78a)]('.yml'));for(const _0x26ba5a of _0xdae3da){try{const _0x45e8de=await this[_0x38b2ce(0x4f0,0x5b7,0x40e,0x751)](_0x26ba5a);_0x45e8de&&_0x382b4a[_0x38b2ce(_0x40d3e2._0x4a5cdf,0x8eb,_0x40d3e2._0x23ed65,_0x40d3e2._0x512326)](_0x45e8de);}catch(_0x1b59c4){console[_0x38b2ce(_0x40d3e2._0x24f23c,_0x40d3e2._0x3ab3f5,_0x40d3e2._0x613c1d,_0x40d3e2._0xbcae03)](_0x38b2ce(0xafd,0x8c1,0x7bd,_0x40d3e2._0x4b7646)+_0x26ba5a+':',_0x1b59c4);}}}catch(_0x376107){}function _0x38b2ce(_0x207388,_0x11265f,_0xb87d85,_0x4f1a8e){return _0xadee61(_0x11265f-0x3a8,_0x207388,_0xb87d85-_0x558622._0x2212b3,_0x4f1a8e-0x98);}return _0x382b4a;}async[_0xadee61(0x20f,0x24c,0x43c,0x43c)](_0xfe970e){const _0x595e7d={_0x5d3933:0x378,_0x501171:0x18b,_0x17592b:0x40d,_0x343834:0x416,_0x1d8146:0x219,_0x2f40dc:0x20b,_0x335e62:0x35d,_0x20f589:0x1a9,_0x1fc3fa:0x2c0,_0x5762a4:0x47d,_0x5e5de6:0x39d,_0x15683a:0x49a,_0x41621f:0xd7,_0x4b275e:0x149,_0x10d320:0x1de,_0x2ba078:0x1c6,_0x343646:0x15a,_0x16b078:0x2bb,_0x37946b:0x12b,_0x55be82:0x26,_0x210a6c:0x66,_0x3fd7e9:0x1ef,_0x50b907:0x519,_0x452618:0x442,_0x4dcdde:0x2dd,_0x2af900:0xb6,_0x57d8d0:0xee,_0x14eb1a:0x5cd,_0x20e654:0x568,_0xab5207:0x696},_0x2968af={_0x2f1941:0x11e,_0x3fe905:0x164,_0x43306e:0xad};function _0x57c5ec(_0x89871f,_0xe88c1b,_0x2a4f40,_0x3f74f4){return _0x27e2df(_0x89871f-_0x2968af._0x2f1941,_0x89871f-_0x2968af._0x3fe905,_0x2a4f40-_0x2968af._0x43306e,_0xe88c1b);}function _0x39ee8e(_0x430de8,_0x36cfa2,_0x39f8e9,_0x153565){return _0x27e2df(_0x430de8-0x164,_0x36cfa2-0x70,_0x39f8e9-0x41,_0x39f8e9);}try{const _0x428efc=_0x58e18f[_0x39ee8e(0x2da,_0x595e7d._0x5d3933,_0x595e7d._0x501171,0x1c3)](this['agentsDir'],_0xfe970e),_0x1878f2=_0x5cc4e3[_0x57c5ec(0x38d,_0x595e7d._0x17592b,_0x595e7d._0x343834,_0x595e7d._0x1d8146)](_0x428efc,_0x39ee8e(0x598,0x372,_0x595e7d._0x2f40dc,0x451)),_0x551900=parse(_0x1878f2);if(!_0x551900||typeof _0x551900!=='object'||typeof _0x551900[_0x57c5ec(_0x595e7d._0x335e62,_0x595e7d._0x20f589,0x497,0x125)]!==_0x39ee8e(0x2a5,0x3e5,0x4e0,_0x595e7d._0x1fc3fa))return console[_0x57c5ec(_0x595e7d._0x5762a4,0x262,_0x595e7d._0x5e5de6,_0x595e7d._0x15683a)](_0x57c5ec(0x1aa,_0x595e7d._0x41621f,-0xc,0x41)+_0xfe970e+_0x39ee8e(0x1d4,_0x595e7d._0x4b275e,_0x595e7d._0x10d320,_0x595e7d._0x2ba078)),null;const _0xf926bb=_0x551900;if(_0xf926bb[_0x57c5ec(_0x595e7d._0x343646,0x21f,_0x595e7d._0x16b078,_0x595e7d._0x37946b)]!==void 0x0&&!Array['isArray'](_0xf926bb[_0x39ee8e(_0x595e7d._0x55be82,_0x595e7d._0x210a6c,-0x25,-0x16e)]))return console[_0x39ee8e(_0x595e7d._0x3fd7e9,0x389,_0x595e7d._0x50b907,_0x595e7d._0x452618)](_0x39ee8e(_0x595e7d._0x4dcdde,_0x595e7d._0x2af900,0x1a5,-_0x595e7d._0x57d8d0)+_0xfe970e+_0x57c5ec(0x47f,0x66a,_0x595e7d._0x14eb1a,0x59e)),null;return _0x551900;}catch(_0x4a3ff3){return console['warn'](_0x57c5ec(_0x595e7d._0x20e654,_0x595e7d._0xab5207,0x661,0x7a1)+_0xfe970e+':',_0x4a3ff3),null;}}async[_0x27e2df(0x3bd,0x25f,0x26a,0x183)](_0x2aa9dc){const _0x3d9bf9={_0x569990:0x40c,_0x4f6a78:0x126,_0x3408ae:0x355,_0x2bd33f:0x387,_0x2702fc:0x2ca,_0x332c55:0xad,_0x29b50a:0x32a,_0x2a3d05:0x431,_0x1ba4cd:0x180,_0x9a8167:0xaa,_0x5c2e2f:0xd4,_0x109ab3:0x232,_0x329dfb:0x194,_0x150cd0:0x205,_0x1a5146:0x78,_0x1377e0:0x28d,_0x4abc0e:0x114,_0x2c3469:0x42,_0xd921e5:0x89},_0x2344eb={_0x79151b:0x166,_0x2062d7:0xab},_0x5cb9a5={_0xa7cdc7:0x92};this['ensureAgentsDir']();function _0x4f5033(_0x24ccbd,_0x2fd172,_0x1cbe4f,_0x2524da){return _0x27e2df(_0x24ccbd-_0x5cb9a5._0xa7cdc7,_0x2524da- -0x10d,_0x1cbe4f-0x1af,_0x2fd172);}if(!_0x2aa9dc['systemPrompt'])throw new Error('Cannot\x20save\x20agent:\x20systemPrompt\x20is\x20required');const _0x3e943f=_0x2aa9dc['id']||_0x4f5033(_0x3d9bf9._0x569990,_0x3d9bf9._0x4f6a78,_0x3d9bf9._0x3408ae,0x250)+Date[_0x4f5033(0x1d8,0x2fa,0x128,0x2ca)]();function _0x4de8e8(_0x3dae35,_0x257bb8,_0x9d401d,_0x145113){return _0x27e2df(_0x3dae35-0x73,_0x257bb8-_0x2344eb._0x79151b,_0x9d401d-_0x2344eb._0x2062d7,_0x3dae35);}const _0x42aa12=this[_0x4de8e8(_0x3d9bf9._0x2bd33f,_0x3d9bf9._0x2702fc,0x3af,0x4d9)](_0x3e943f)+_0x4f5033(_0x3d9bf9._0x332c55,_0x3d9bf9._0x29b50a,_0x3d9bf9._0x2a3d05,0x279),_0x3ed60e=_0x58e18f[_0x4f5033(0x34a,0x1f1,0x2f2,0x1fb)](this[_0x4f5033(-_0x3d9bf9._0x1ba4cd,_0x3d9bf9._0x9a8167,-0x268,-_0x3d9bf9._0x5c2e2f)],_0x42aa12);try{const _0x2154d8=_0x4c35bc(_0x2aa9dc,{'lineWidth':0x0,'indent':0x2});_0x5cc4e3['writeFileSync'](_0x3ed60e,_0x2154d8,'utf8');}catch(_0x454774){throw new Error(_0x4de8e8(_0x3d9bf9._0x109ab3,_0x3d9bf9._0x329dfb,_0x3d9bf9._0x150cd0,_0x3d9bf9._0x1a5146)+_0x42aa12+':\x20'+(_0x454774 instanceof Error?_0x454774[_0x4f5033(-_0x3d9bf9._0x1377e0,-_0x3d9bf9._0x4abc0e,_0x3d9bf9._0x2c3469,-_0x3d9bf9._0xd921e5)]:String(_0x454774)));}}async[_0x27e2df(0x52c,0x34c,0x536,0x3b5)](_0x156177){const _0x334e8c={_0x57099b:0x543,_0x15ff5c:0x6d8,_0x4621e8:0x7f1,_0x43455f:0x669,_0x1cd443:0x645,_0x11c876:0x79f,_0x574ce9:0x47a,_0x2fc42d:0x35c,_0x3984f3:0x52a,_0x5cb8b6:0x500,_0x3ef192:0x66b,_0x2c59d8:0x481,_0x9f8c00:0x682,_0x4cb561:0x6b0,_0x10dac1:0x3c1},_0x4bcc7d={_0x4a40fb:0x175,_0x3cbef6:0x15d},_0x502312={_0x26bd77:0xf2,_0x1becfb:0x10c};function _0x1758cc(_0x2dff14,_0x1f8dc2,_0x516451,_0x3a2413){return _0x27e2df(_0x2dff14-_0x502312._0x26bd77,_0x1f8dc2-0x33d,_0x516451-_0x502312._0x1becfb,_0x516451);}function _0x5d0531(_0x4cb64f,_0x1d1e7d,_0x453ec8,_0x383876){return _0xadee61(_0x1d1e7d-0x32c,_0x453ec8,_0x453ec8-_0x4bcc7d._0x4a40fb,_0x383876-_0x4bcc7d._0x3cbef6);}const _0x4a844e=this[_0x1758cc(_0x334e8c._0x57099b,0x4a1,_0x334e8c._0x15ff5c,0x41d)](_0x156177)+_0x5d0531(_0x334e8c._0x4621e8,0x7c7,0x7fb,0x810),_0x125fa8=_0x58e18f[_0x1758cc(_0x334e8c._0x43455f,_0x334e8c._0x1cd443,_0x334e8c._0x11c876,0x4dd)](this[_0x5d0531(0x4c6,_0x334e8c._0x574ce9,0x520,_0x334e8c._0x2fc42d)],_0x4a844e);try{_0x5cc4e3[_0x5d0531(0x68d,_0x334e8c._0x3984f3,_0x334e8c._0x5cb8b6,_0x334e8c._0x3ef192)](_0x125fa8)&&_0x5cc4e3[_0x1758cc(0x50d,0x3ef,0x43f,_0x334e8c._0x2c59d8)](_0x125fa8);}catch(_0x163d77){throw new Error(_0x5d0531(0x446,_0x334e8c._0x9f8c00,0x6c5,_0x334e8c._0x4cb561)+_0x156177+':\x20'+(_0x163d77 instanceof Error?_0x163d77[_0x1758cc(0x559,_0x334e8c._0x10dac1,0x358,0x1b5)]:String(_0x163d77)));}}[_0xadee61(0x192,0x3a,0xf,0x43)](_0x166ade){const _0x26c166={_0x3064d5:0x152,_0x37da21:0x70c,_0x5b7f0b:0x63d,_0x31e30c:0x81c},_0x413bc9={_0x5ec12b:0x88,_0x324852:0x1ab},_0x1cd58f={_0x2e0f3:0x43};function _0x4aaf43(_0xab2680,_0x224e99,_0x46454f,_0x4bbdfa){return _0x27e2df(_0xab2680-0xc2,_0x224e99- -0x287,_0x46454f-_0x1cd58f._0x2e0f3,_0xab2680);}const _0x79b9a0=this[_0x4aaf43(0x11d,-0x123,-0x19a,-_0x26c166._0x3064d5)](_0x166ade)+_0x155424(_0x26c166._0x37da21,_0x26c166._0x5b7f0b,0x94e,_0x26c166._0x31e30c);function _0x155424(_0x44dcb5,_0x1443c6,_0xab58d5,_0x536363){return _0xadee61(_0x44dcb5-0x271,_0xab58d5,_0xab58d5-_0x413bc9._0x5ec12b,_0x536363-_0x413bc9._0x324852);}const _0x577a66=_0x58e18f['join'](this['agentsDir'],_0x79b9a0);return _0x5cc4e3['existsSync'](_0x577a66);}[_0x27e2df(-0xbf,0x164,0xb7,0x124)](_0x537553){const _0x304386={_0x31133c:0x2ba,_0x23a6e8:0x2a7,_0x25f5e3:0x2b9,_0x36a33d:0x3f4,_0x5d00f1:0x5c3,_0x5e424e:0x415,_0x3a8ecc:0x668,_0x41b04e:0x6ca},_0x41d04b={_0x15b593:0x7};function _0x206189(_0x11e7b9,_0x22c27d,_0x59b2af,_0x447aad){return _0xadee61(_0x22c27d-0x2c1,_0x447aad,_0x59b2af-0x36,_0x447aad-_0x41d04b._0x15b593);}function _0x50808a(_0x2f5a83,_0x51b53a,_0x397693,_0xea1fc1){return _0x27e2df(_0x2f5a83-0x2b,_0xea1fc1-0x183,_0x397693-0x2,_0x2f5a83);}return _0x537553[_0x50808a(0x2c4,_0x304386._0x31133c,0x486,_0x304386._0x23a6e8)]()[_0x50808a(_0x304386._0x25f5e3,_0x304386._0x36a33d,_0x304386._0x5d00f1,_0x304386._0x5e424e)](/[^a-z0-9-]/g,'-')['replace'](/-+/g,'-')[_0x206189(0x88d,_0x304386._0x3a8ecc,_0x304386._0x41b04e,0x71e)](/^-|-$/g,'');}[_0xadee61(0x120,0x108,0x35b,0x209)](){const _0xa2e8cf={_0x2eee30:0x19,_0x1d0e76:0x3b8,_0x3003e9:0x16e},_0x7f03cc={_0x284b65:0x1a3};function _0x8930bd(_0x1ccd46,_0x2aa31b,_0xe5cf6f,_0x18266c){return _0x27e2df(_0x1ccd46-_0x7f03cc._0x284b65,_0x1ccd46- -0x1cb,_0xe5cf6f-0xdb,_0xe5cf6f);}return this[_0x8930bd(-0x192,_0xa2e8cf._0x2eee30,-_0xa2e8cf._0x1d0e76,-_0xa2e8cf._0x3003e9)];}};import*as _0x1a040c from'fs';import*as _0x5214a6 from'path';import{parse as _0x4cdc88,stringify as _0x13d02f}from'yaml';function isValidCommandId(_0x5af040){return/^[a-z][a-z0-9-]*$/['test'](_0x5af040);}function sanitizeCommandId(_0x1a5ca7){const _0x3853dc={_0x2e1444:0xc7,_0x2ced62:0x140,_0x5ae4b0:0x1e1,_0x2a9e7a:0x203},_0x366384={_0x136b35:0x267,_0x21437d:0x23,_0x5ad9f4:0x27},_0x3c264c={_0x19307b:0x391,_0x140c88:0x76};function _0x5770ee(_0x385a2c,_0x3b0d77,_0x5832c1,_0xa40ced){return _0xadee61(_0x3b0d77- -_0x3c264c._0x19307b,_0x5832c1,_0x5832c1-_0x3c264c._0x140c88,_0xa40ced-0x1b5);}function _0x5439b2(_0x4a89a9,_0x2ae050,_0x5376ea,_0x27596a){return _0xadee61(_0x5376ea- -_0x366384._0x136b35,_0x4a89a9,_0x5376ea-_0x366384._0x21437d,_0x27596a-_0x366384._0x5ad9f4);}return _0x1a5ca7[_0x5770ee(-0x1de,-0x158,0xe6,-0x152)]()[_0x5439b2(0x1cb,_0x3853dc._0x2e1444,_0x3853dc._0x2ced62,0x23d)](/[^a-z0-9-]/g,'-')[_0x5439b2(0x1d6,-0xed,0x140,0x21f)](/-+/g,'-')[_0x5770ee(_0x3853dc._0x5ae4b0,0x16,_0x3853dc._0x2a9e7a,0x1a)](/^-|-$/g,'');}var CommandFilePersistence=class{[_0x27e2df(0x216,0x254,0x24b,0xe0)];[_0xadee61(0x311,0x21f,0x283,0x418)];[_0xadee61(0x111,0x9d,-0x12a,0x22f)];constructor(_0x585590){const _0x37fd5c={_0x35e6cf:0x74b,_0x466356:0x88d,_0x45cc32:0x732,_0x3408ec:0x7a8,_0x20fc1d:0x875,_0x1dfbe6:0x448,_0x33134a:0x4bf,_0x1dbaa0:0x4da,_0x24531e:0x267},_0x21eb59={_0x43314d:0x108,_0x68f1f7:0x141};this['globalDir']=_0x585590[_0x5b9d63(0x72f,_0x37fd5c._0x35e6cf,_0x37fd5c._0x466356,_0x37fd5c._0x45cc32)],this['profileDir']=_0x585590[_0x5b9d63(_0x37fd5c._0x3408ec,_0x37fd5c._0x20fc1d,0x8f8,0x6da)];function _0x5b9d63(_0x30a13a,_0x32ba39,_0x433879,_0x5cdba1){return _0x27e2df(_0x30a13a-0x34,_0x5cdba1-0x4de,_0x433879-0x18b,_0x433879);}function _0xbf7811(_0x26e729,_0x38ebcf,_0x43c574,_0x2b2671){return _0x27e2df(_0x26e729-_0x21eb59._0x43314d,_0x26e729- -0xab,_0x43c574-_0x21eb59._0x68f1f7,_0x38ebcf);}this[_0x5b9d63(_0x37fd5c._0x1dfbe6,0x6c4,_0x37fd5c._0x33134a,_0x37fd5c._0x1dbaa0)]=_0x585590[_0xbf7811(-0xaf,0x18e,-_0x37fd5c._0x24531e,0x188)];}[_0x27e2df(0x2e9,0xc5,0x67,-0x11c)](_0x3d4103){const _0x419a55={_0x598d98:0x2a9,_0x4599b7:0x154},_0x5b18d9={_0x41d79a:0xe3,_0x497166:0x87};function _0x399015(_0x215ab6,_0x4f8631,_0x391e86,_0x54f336){return _0xadee61(_0x54f336- -0x1bd,_0x215ab6,_0x391e86-_0x5b18d9._0x41d79a,_0x54f336-_0x5b18d9._0x497166);}this[_0x399015(-0x1d,0x22d,_0x419a55._0x598d98,_0x419a55._0x4599b7)]=_0x3d4103;}[_0xadee61(0x248,0x90,0x3b4,0x41)](_0xd51fd3){const _0x2391e8={_0x5c7b73:0x2ce,_0xdb998b:0x1f5,_0x160bfb:0x1c8,_0x780922:0x142,_0xeba313:0x33f,_0x385a7f:0xe0,_0x11a67a:0x359,_0x59407a:0x2dd,_0x3315e2:0xb9,_0x54b926:0x119},_0x311eaa={_0x4cdf7a:0xc9},_0x2e69e8={_0x45369f:0x19d};function _0x18f96d(_0x355398,_0x26600e,_0x2810e8,_0x45521a){return _0x27e2df(_0x355398-0x190,_0x2810e8-0xd2,_0x2810e8-_0x2e69e8._0x45369f,_0x26600e);}function _0x193eb1(_0xb7086f,_0x3facae,_0x4e1fc2,_0x1b244f){return _0xadee61(_0x1b244f- -0x2a,_0x3facae,_0x4e1fc2-0x14c,_0x1b244f-_0x311eaa._0x4cdf7a);}switch(_0xd51fd3){case _0x193eb1(0x425,_0x2391e8._0x5c7b73,_0x2391e8._0xdb998b,0x1e7):return this[_0x193eb1(_0x2391e8._0x160bfb,_0x2391e8._0x780922,0x151,_0x2391e8._0xeba313)];case _0x193eb1(0x2e2,0x2d7,0x321,0x2f8):if(!this[_0x18f96d(_0x2391e8._0x385a7f,_0x2391e8._0x11a67a,0x2ce,_0x2391e8._0x59407a)])throw new Error('Profile\x20directory\x20not\x20set');return this[_0x193eb1(0x403,0xf7,0x3cb,0x2e7)];case'local':return this[_0x193eb1(-_0x2391e8._0x3315e2,_0x2391e8._0x54b926,0x108,0xe7)];}}[_0x27e2df(0x3ea,0x2a6,0xd6,0x9d)](_0x1493fb){const _0x59373c={_0x36eb43:0x258,_0x3032f1:0x67,_0x343cd3:0x19e,_0x3b64f7:0x287,_0x214942:0x1c2,_0x28c2bf:0x32c},_0x1a9919={_0x1fa7ee:0xe,_0x2d2f47:0x150};function _0xa2a2d6(_0x56e947,_0xb327ac,_0x26dd53,_0x274081){return _0x27e2df(_0x56e947-0x15d,_0x56e947- -0xab,_0x26dd53-0xcd,_0x274081);}function _0x4d775f(_0x13741b,_0x4d1867,_0x4a171f,_0x10f83a){return _0x27e2df(_0x13741b-_0x1a9919._0x1fa7ee,_0x4d1867- -_0x1a9919._0x2d2f47,_0x4a171f-0x7d,_0x4a171f);}!_0x1a040c[_0x4d775f(-_0x59373c._0x36eb43,-_0x59373c._0x3032f1,_0x59373c._0x343cd3,-0x118)](_0x1493fb)&&_0x1a040c[_0xa2a2d6(0x39e,_0x59373c._0x3b64f7,_0x59373c._0x214942,_0x59373c._0x28c2bf)](_0x1493fb,{'recursive':!![]});}async[_0x27e2df(-0x7b,0x70,-0xbb,-0xb3)](){const _0x1c89c0={_0x9566ca:0x279,_0x5ab870:0x56,_0x371ddc:0x1be,_0x292259:0x491,_0x39fc15:0x2d,_0xbe323:0x16a,_0x3e1b34:0x74,_0x422c2c:0x4a6,_0x52565f:0x42d,_0x28a528:0x16d,_0x1b0733:0x865,_0x1c336f:0x64c},_0x25eddd={_0x5e5d2f:0x322,_0x3db088:0x1d8,_0x47e54b:0x12c},_0x6516fe={_0x3f3dec:0x21b,_0x25be3a:0xb2,_0x109737:0x116};function _0x3623b6(_0x10b607,_0x2a047a,_0x26cbad,_0x5c9d3d){return _0xadee61(_0x10b607- -_0x6516fe._0x3f3dec,_0x26cbad,_0x26cbad-_0x6516fe._0x25be3a,_0x5c9d3d-_0x6516fe._0x109737);}const _0x5c25f8=[];function _0x5a0203(_0x4c203f,_0x26f71b,_0x4d6d56,_0x1e5528){return _0xadee61(_0x26f71b-_0x25eddd._0x5e5d2f,_0x4d6d56,_0x4d6d56-_0x25eddd._0x3db088,_0x1e5528-_0x25eddd._0x47e54b);}const _0x2897a6=['global','local'];this['profileDir']&&_0x2897a6[_0x3623b6(_0x1c89c0._0x9566ca,_0x1c89c0._0x5ab870,_0x1c89c0._0x371ddc,0x39)](0x1,0x0,_0x5a0203(0x500,0x644,0x5cb,_0x1c89c0._0x292259));for(const _0x152840 of _0x2897a6){try{const _0x5af160=this[_0x3623b6(_0x1c89c0._0x39fc15,_0x1c89c0._0xbe323,_0x1c89c0._0x3e1b34,0x13c)](_0x152840),_0x56531e=await this[_0x3623b6(0x291,_0x1c89c0._0x422c2c,_0x1c89c0._0x52565f,_0x1c89c0._0x28a528)](_0x5af160,_0x152840);_0x5c25f8[_0x5a0203(0x89a,_0x1c89c0._0x1b0733,_0x1c89c0._0x1c336f,0x71d)](..._0x56531e);}catch{}}return _0x5c25f8;}async[_0x27e2df(0x272,0x397,0x311,0x4ff)](_0x4fb943,_0xa38d9d){const _0x3e8330={_0x4324d9:0x332,_0x1f8381:0x482,_0x35766d:0x8f,_0x1833b0:0x183,_0x41e327:0x940,_0xedefb1:0x7ff,_0x5194dd:0x66a,_0x19e936:0x563,_0x64e32b:0x6c4,_0x4bf010:0x794,_0x190ca8:0x7a1,_0xa01a8f:0x82e},_0x22c866={_0x2bc45f:0x469},_0x7b06cc={_0x2131ca:0x1f1},_0xa10df5=[];function _0x598267(_0xd09694,_0x3496ff,_0x2fa73e,_0x2c7126){return _0xadee61(_0x2fa73e- -0x2b0,_0x3496ff,_0x2fa73e-_0x7b06cc._0x2131ca,_0x2c7126-0xd3);}if(!_0x1a040c[_0x23e5b1(_0x3e8330._0x4324d9,0x552,0x4df,_0x3e8330._0x1f8381)](_0x4fb943))return _0xa10df5;const _0x15dee=_0x1a040c[_0x598267(-_0x3e8330._0x35766d,-0x62,-_0x3e8330._0x1833b0,-0x90)](_0x4fb943),_0x3222e8=_0x15dee[_0x23e5b1(_0x3e8330._0x41e327,_0x3e8330._0xedefb1,_0x3e8330._0x5194dd,0x5cc)](_0x47850f=>_0x47850f[_0x23e5b1(0x431,0x5ca,0x3fe,0x396)]('.md'));function _0x23e5b1(_0x2c2551,_0x45a74d,_0x580b0e,_0x7cb43c){return _0x27e2df(_0x2c2551-0xee,_0x45a74d-_0x22c866._0x2bc45f,_0x580b0e-0x28,_0x2c2551);}for(const _0x31fd7e of _0x3222e8){try{const _0x40a46b=await this[_0x23e5b1(0x602,_0x3e8330._0x19e936,0x56b,0x641)](_0x31fd7e,_0xa38d9d);_0x40a46b&&_0xa10df5[_0x23e5b1(_0x3e8330._0x64e32b,0x897,_0x3e8330._0x4bf010,_0x3e8330._0x190ca8)](_0x40a46b);}catch(_0x7cd6d7){console['warn'](_0x23e5b1(0x551,0x65d,0x885,_0x3e8330._0xa01a8f)+_0x31fd7e+':',_0x7cd6d7);}}return _0xa10df5;}async[_0xadee61(0x20f,0x135,0x1bb,0x410)](_0x12091d,_0x5bd9d1){const _0x5491d6={_0x419acb:0x2fe,_0x36e67e:0x516,_0x64fe58:0x3af,_0x1f845b:0x41d,_0x1f546f:0x4d1,_0xdcf86c:0x2a3,_0x15f199:0x473,_0x489523:0x4c2,_0x116754:0x524,_0x58d2d9:0x4e3,_0x1d40d3:0x624,_0x457173:0x2dc,_0x2c7829:0x3b3,_0xca61f0:0x4d8,_0x26f4c6:0x633,_0x3e28b1:0x285,_0x290a17:0x632,_0x35d69d:0x4e3,_0x250ce1:0x178,_0x2588b0:0x7b,_0x2e1b0e:0x54f,_0x1a4a35:0x3c7,_0x22d8b0:0x49f,_0x3ebbe2:0x432,_0x129cca:0x3a5,_0x2a554d:0x37a,_0xdb89c0:0x1d8,_0x4df2d7:0x4c2},_0x2c354b={_0x4437d2:0x1e9,_0x2c5bd4:0x186,_0x12e828:0x61},_0x505ee4={_0x2c82ac:0x1d4,_0x17dfd6:0x2,_0x3c159a:0xb7};function _0x152aac(_0x3579b8,_0x189645,_0xa0c72e,_0x1fc48b){return _0xadee61(_0xa0c72e-_0x505ee4._0x2c82ac,_0x1fc48b,_0xa0c72e-_0x505ee4._0x17dfd6,_0x1fc48b-_0x505ee4._0x3c159a);}function _0x4d0470(_0x176603,_0x2dd539,_0x2fe1c9,_0x48a8de){return _0x27e2df(_0x176603-_0x2c354b._0x4437d2,_0x176603-_0x2c354b._0x2c5bd4,_0x2fe1c9-_0x2c354b._0x12e828,_0x2dd539);}try{const _0x501dd1=this[_0x152aac(0x4f9,_0x5491d6._0x419acb,0x41c,0x287)](_0x5bd9d1),_0x5f4a68=_0x5214a6[_0x152aac(0x3b2,0x5ae,0x5f1,_0x5491d6._0x36e67e)](_0x501dd1,_0x12091d),_0x1f3605=_0x1a040c[_0x4d0470(_0x5491d6._0x64fe58,_0x5491d6._0x1f845b,_0x5491d6._0x1f546f,0x221)](_0x5f4a68,'utf8'),{frontmatter:_0x28cb77,body:_0x28622a}=this[_0x4d0470(_0x5491d6._0xdcf86c,0x96,_0x5491d6._0x15f199,0x188)](_0x1f3605);if(!_0x28cb77[_0x152aac(_0x5491d6._0x489523,_0x5491d6._0x116754,_0x5491d6._0x58d2d9,_0x5491d6._0x1d40d3)])return console[_0x4d0470(0x49f,_0x5491d6._0x457173,0x310,_0x5491d6._0x2c7829)](_0x4d0470(_0x5491d6._0xca61f0,0x3dd,0x656,_0x5491d6._0x26f4c6)+_0x12091d+':\x20missing\x20description'),null;const _0x52e150=_0x5214a6[_0x152aac(0x38f,_0x5491d6._0x3e28b1,0x3f3,_0x5491d6._0x290a17)](_0x12091d,'.md');return{'id':_0x52e150,'description':_0x28cb77[_0x152aac(0x413,0x63a,_0x5491d6._0x35d69d,0x64a)],'prompt':_0x28622a[_0x4d0470(_0x5491d6._0x250ce1,0x17,0x218,_0x5491d6._0x2588b0)](),'enabled':_0x28cb77[_0x4d0470(0x5a8,0x79e,_0x5491d6._0x2e1b0e,_0x5491d6._0x1a4a35)]??!![],'source':_0x5bd9d1,'filePath':_0x5f4a68};}catch(_0x315030){return console[_0x4d0470(_0x5491d6._0x22d8b0,0x668,_0x5491d6._0x3ebbe2,_0x5491d6._0x129cca)](_0x4d0470(_0x5491d6._0x2a554d,0x1ee,_0x5491d6._0xdb89c0,_0x5491d6._0x4df2d7)+_0x12091d+':',_0x315030),null;}}async[_0xadee61(0x374,0x167,0x2e9,0x252)](_0xdd7751){const _0x3c3328={_0x4ed266:0x664,_0x4d458c:0x570,_0x357901:0x62e,_0x13e810:0x62f,_0x3dcbf3:0x4dd,_0x1b577c:0x6eb,_0x2cff9c:0x498,_0x19fd07:0x449,_0x4baf6c:0x8ae,_0x29a8e2:0x538,_0x34b20c:0x502,_0x15974d:0x48e,_0x448d15:0xacc,_0x4bbcc8:0x999,_0x48d63d:0x6f7,_0x3dd221:0x885,_0x41390d:0xa4d,_0x5968fd:0x41a,_0xa154ef:0x623,_0x22a42d:0x4fc,_0x1cf7a9:0x3dd,_0x258675:0x605,_0x3b8e5b:0x747,_0x15236f:0x67c,_0x17d642:0x805},_0x3823c2={_0x1f91a0:0xae,_0x37f496:0x511},_0x3082e9={_0x370b3f:0x330,_0x17df04:0xe0,_0x3240c3:0x101},_0x283a56=this[_0x3ebb39(0x7f0,0x541,0x644,_0x3c3328._0x4ed266)](_0xdd7751[_0x43bc63(_0x3c3328._0x4d458c,_0x3c3328._0x357901,0x622,_0x3c3328._0x13e810)]);this[_0x43bc63(_0x3c3328._0x3dcbf3,_0x3c3328._0x1b577c,0x79e,0x6ac)](_0x283a56);const _0x73c4a8=sanitizeCommandId(_0xdd7751['id']),_0x559d24=_0x73c4a8+_0x43bc63(0x4af,_0x3c3328._0x2cff9c,_0x3c3328._0x19fd07,0x4aa),_0xf03605=_0x5214a6[_0x43bc63(_0x3c3328._0x4baf6c,0x74d,0x5e4,_0x3c3328._0x29a8e2)](_0x283a56,_0x559d24);function _0x43bc63(_0xf84587,_0xd58a95,_0x50f463,_0x287744){return _0xadee61(_0xd58a95-_0x3082e9._0x370b3f,_0x287744,_0x50f463-_0x3082e9._0x17df04,_0x287744-_0x3082e9._0x3240c3);}const _0x4bf2a5={'description':_0xdd7751[_0x43bc63(0x72d,0x63f,_0x3c3328._0x34b20c,_0x3c3328._0x15974d)]};function _0x3ebb39(_0x113a84,_0x29a3a4,_0x1139df,_0x185298){return _0x27e2df(_0x113a84-_0x3823c2._0x1f91a0,_0x1139df-_0x3823c2._0x37f496,_0x1139df-0xcc,_0x29a3a4);}_0xdd7751[_0x3ebb39(_0x3c3328._0x448d15,_0x3c3328._0x4bbcc8,0x933,0xb27)]===![]&&(_0x4bf2a5[_0x3ebb39(_0x3c3328._0x48d63d,_0x3c3328._0x3dd221,0x933,_0x3c3328._0x41390d)]=![]);const _0x6c6db=this[_0x3ebb39(_0x3c3328._0x5968fd,_0x3c3328._0xa154ef,_0x3c3328._0x22a42d,0x6b5)](_0x4bf2a5,_0xdd7751[_0x43bc63(0x747,0x55a,0x536,_0x3c3328._0x1cf7a9)]);_0x1a040c[_0x43bc63(0x981,0x757,0x8f0,0x8fa)](_0xf03605,_0x6c6db,_0x43bc63(_0x3c3328._0x258675,_0x3c3328._0x3b8e5b,_0x3c3328._0x15236f,_0x3c3328._0x17d642));}async[_0x27e2df(0x555,0x34c,0x1b2,0x39a)](_0x3218ad,_0x555ef3){const _0x3eff97={_0xa77ea1:0x417,_0x54e731:0x201,_0x51e810:0x2ac,_0x408637:0x51e,_0x4555d6:0x66,_0x3d162e:0x80,_0x225820:0x43,_0x4eed29:0x1a6},_0x15441a={_0x4e2c3f:0x118,_0x4685c3:0xb},_0x4d5a99={_0x514e83:0x10f,_0x373cff:0xe2};function _0x501694(_0x16c19f,_0x5d1743,_0xc44de6,_0x17ebaf){return _0x27e2df(_0x16c19f-0x50,_0x16c19f-_0x4d5a99._0x514e83,_0xc44de6-_0x4d5a99._0x373cff,_0xc44de6);}const _0x52cabf=this['getDir'](_0x555ef3),_0x597ab2=sanitizeCommandId(_0x3218ad)+'.md',_0x3e450a=_0x5214a6[_0x501694(_0x3eff97._0xa77ea1,_0x3eff97._0x54e731,_0x3eff97._0x51e810,_0x3eff97._0x408637)](_0x52cabf,_0x597ab2);function _0x28e057(_0x3741ae,_0x987886,_0x4dfd34,_0x2b01b1){return _0x27e2df(_0x3741ae-0x4a,_0x3741ae-_0x15441a._0x4e2c3f,_0x4dfd34-_0x15441a._0x4685c3,_0x4dfd34);}_0x1a040c[_0x501694(0x1f8,_0x3eff97._0x4555d6,_0x3eff97._0x3d162e,0x10f)](_0x3e450a)&&_0x1a040c[_0x28e057(0x1ca,_0x3eff97._0x225820,_0x3eff97._0x4eed29,0x3f8)](_0x3e450a);}[_0xadee61(0x192,0x3bf,0x75,0x31d)](_0x1bc608,_0x2d083c){const _0x6fbee2={_0x4c4875:0x3b5,_0x468c15:0x364,_0x43d619:0x260,_0x5cb429:0xb1,_0x29de90:0x2e8,_0x3dfd01:0x390,_0x5e52c6:0x253,_0x5c6b33:0x3d5,_0x91016f:0x1b9},_0xf39ab={_0x3d821c:0x1c};function _0x41c318(_0x1e3e13,_0x229272,_0x450130,_0x5b7d1c){return _0x27e2df(_0x1e3e13-0xee,_0x450130-0x12d,_0x450130-0xff,_0x1e3e13);}function _0x2e2ed5(_0x4a1ba1,_0x3f86c4,_0x944c72,_0x89a81f){return _0xadee61(_0x3f86c4-0x55,_0x4a1ba1,_0x944c72-_0xf39ab._0x3d821c,_0x89a81f-0x103);}try{const _0x4fdb46=this[_0x41c318(_0x6fbee2._0x4c4875,_0x6fbee2._0x468c15,_0x6fbee2._0x43d619,0x332)](_0x2d083c),_0x2b3322=sanitizeCommandId(_0x1bc608)+_0x2e2ed5(0x1dd,0x1bd,_0x6fbee2._0x5cb429,_0x6fbee2._0x29de90),_0x581222=_0x5214a6['join'](_0x4fdb46,_0x2b3322);return _0x1a040c[_0x2e2ed5(_0x6fbee2._0x3dfd01,_0x6fbee2._0x5e52c6,_0x6fbee2._0x5c6b33,_0x6fbee2._0x91016f)](_0x581222);}catch{return![];}}[_0xadee61(0x232,0x372,0x354,0x2e4)](_0x3f3872){const _0x5da823={_0x5b361d:0x106,_0x6b179d:0x3a},_0x33d4e0={_0x2323c7:0x80,_0x4e3818:0x210,_0x34b77e:0xff};function _0x38a2b6(_0x184a81,_0x31e5cf,_0x3c383e,_0x5ecf32){return _0x27e2df(_0x184a81-_0x33d4e0._0x2323c7,_0x3c383e- -_0x33d4e0._0x4e3818,_0x3c383e-_0x33d4e0._0x34b77e,_0x31e5cf);}const _0x320f96=/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/,_0x404117=_0x3f3872[_0x38a2b6(_0x5da823._0x5b361d,0xd9,-_0x5da823._0x6b179d,-0x1fa)](_0x320f96);if(!_0x404117)return{'frontmatter':{},'body':_0x3f3872};try{const _0xc48e55=_0x4cdc88(_0x404117[0x1]||'');return{'frontmatter':_0xc48e55||{},'body':_0x404117[0x2]||''};}catch{return{'frontmatter':{},'body':_0x3f3872};}}[_0xadee61(0x100,0x8f,0xdd,-0x56)](_0x1f2cad,_0x14cdff){const _0x34eea4={_0x389010:0x51,_0x31afec:0x6e,_0x55aeae:0x2d},_0x47826d={_0x583ffa:0x12e,_0x995862:0x7c};function _0x58c2c1(_0x50a49b,_0x7bf823,_0x176e53,_0x1e656c){return _0x27e2df(_0x50a49b-_0x47826d._0x583ffa,_0x7bf823-_0x47826d._0x995862,_0x176e53-0x1cd,_0x50a49b);}const _0x267d61=_0x13d02f(_0x1f2cad,{'lineWidth':0x0})[_0x58c2c1(_0x34eea4._0x389010,_0x34eea4._0x31afec,0x22e,_0x34eea4._0x55aeae)]();return'---\x0a'+_0x267d61+'\x0a---\x0a\x0a'+_0x14cdff+'\x0a';}};function _0x337d(_0x18c9b4,_0x1173e4){_0x18c9b4=_0x18c9b4-0x133;const _0x53d75e=_0x53d7();let _0x337d95=_0x53d75e[_0x18c9b4];if(_0x337d['nRgcQA']===undefined){var _0x748b9b=function(_0x3ac3bf){const _0x5351b8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37f2cd='',_0x43a8ec='';for(let _0x39bc2e=0x0,_0x8c253,_0x36b451,_0x1bd3c0=0x0;_0x36b451=_0x3ac3bf['charAt'](_0x1bd3c0++);~_0x36b451&&(_0x8c253=_0x39bc2e%0x4?_0x8c253*0x40+_0x36b451:_0x36b451,_0x39bc2e++%0x4)?_0x37f2cd+=String['fromCharCode'](0xff&_0x8c253>>(-0x2*_0x39bc2e&0x6)):0x0){_0x36b451=_0x5351b8['indexOf'](_0x36b451);}for(let _0x24a28e=0x0,_0x4775e7=_0x37f2cd['length'];_0x24a28e<_0x4775e7;_0x24a28e++){_0x43a8ec+='%'+('00'+_0x37f2cd['charCodeAt'](_0x24a28e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43a8ec);};_0x337d['tYtROA']=_0x748b9b,_0x337d['yFcXeK']={},_0x337d['nRgcQA']=!![];}const _0x1ce6bc=_0x53d75e[0x0],_0x5476b9=_0x18c9b4+_0x1ce6bc,_0x2f7c72=_0x337d['yFcXeK'][_0x5476b9];return!_0x2f7c72?(_0x337d95=_0x337d['tYtROA'](_0x337d95),_0x337d['yFcXeK'][_0x5476b9]=_0x337d95):_0x337d95=_0x2f7c72,_0x337d95;}function parseSubAgentToolCallArguments(_0x17db1){const _0x1c6bf3={_0x4d0109:0x50,_0x430893:0x448,_0x2741c6:0xeb};function _0x426957(_0x1d73fa,_0x2e47cf,_0x559780,_0x2329de){return _0x27e2df(_0x1d73fa-_0x1c6bf3._0x4d0109,_0x2329de-_0x1c6bf3._0x430893,_0x559780-_0x1c6bf3._0x2741c6,_0x2e47cf);}if(!_0x17db1)return{};try{return JSON[_0x426957(0x9a9,0x9e5,0x80a,0x80d)](_0x17db1);}catch{return{};}}var NetworkLogger=class{constructor(_0x575838={}){const _0xdd2b21={_0x415a74:0x472},_0x4327f8={_0x45d6a1:0x13f,_0x572638:0x13e};function _0x88a4a9(_0x30b7bf,_0x50991d,_0x1aa0a0,_0x1409f8){return _0x27e2df(_0x30b7bf-_0x4327f8._0x45d6a1,_0x1409f8-0x4ef,_0x1aa0a0-_0x4327f8._0x572638,_0x1aa0a0);}this[_0x88a4a9(0x482,0x7c2,_0xdd2b21._0x415a74,0x5b0)]=_0x575838;}['generateRequestId'](){const _0x261d61={_0x7d0cc8:0x6c4,_0x5d1587:0x721,_0xd31b2d:0x52e,_0x32154a:0x40,_0x14a099:0x194,_0x17e989:0x43a,_0x201c12:0xd1},_0x1c1ced={_0x47c8df:0x31,_0x3405ab:0x2b3},_0x153333={_0x4007c3:0xd9};function _0x166ee0(_0x518592,_0x11590d,_0xeed5d9,_0x94eb8c){return _0x27e2df(_0x518592-_0x153333._0x4007c3,_0xeed5d9- -0x5d,_0xeed5d9-0x0,_0x11590d);}function _0xb1a5dd(_0x3c35ac,_0x5913f7,_0x2c1e37,_0x512ef2){return _0x27e2df(_0x3c35ac-_0x1c1ced._0x47c8df,_0x512ef2-_0x1c1ced._0x3405ab,_0x2c1e37-0x11c,_0x2c1e37);}return _0xb1a5dd(0x523,_0x261d61._0x7d0cc8,_0x261d61._0x5d1587,_0x261d61._0xd31b2d)+Date['now']()+'_'+Math[_0x166ee0(0x1f4,_0x261d61._0x32154a,0xbc,_0x261d61._0x14a099)]()[_0x166ee0(0x3c2,_0x261d61._0x17e989,0x355,0x199)](0x24)[_0x166ee0(0xd7,0x496,0x2c1,_0x261d61._0x201c12)](0x2,0x9);}async['appendToLogFile'](_0x2db6d4){const _0x35c5b5={_0x4b172d:0x1e7,_0x182cbf:0x237,_0x4d3ea0:0x227,_0x23ddcd:0x4b3,_0x6c9b48:0x1c,_0x5d00b5:0x447,_0x1e243f:0x161,_0x33a62f:0xd5,_0x23e285:0x1ba,_0x3d5968:0x7c,_0x2ae33a:0x16f,_0x361195:0x17b,_0x45c576:0xb2,_0x18038b:0x348,_0x38724d:0x1cb,_0x22fc36:0xc8,_0x18d279:0xb2,_0x464c49:0x475,_0x460a66:0x4c0,_0x344b70:0x49e,_0x3f41c4:0x52b,_0x313f9b:0x1fc,_0xcab350:0x24,_0x55289d:0x25d,_0x2c45eb:0xc4,_0x50a23b:0x2dd,_0x376db8:0xb2,_0x30ac99:0x135,_0x1dd866:0x1fa,_0x44e966:0x43f,_0x35e3f2:0x364,_0x355620:0x210},_0x87af={_0x3f5f94:0x1b0};function _0x1daf08(_0x89cebb,_0x5a7240,_0x1edf9c,_0x5ee5b4){return _0x27e2df(_0x89cebb-_0x87af._0x3f5f94,_0x5ee5b4- -0x173,_0x1edf9c-0xfd,_0x5a7240);}if(!this[_0x3ad9ba(-0x40,0x275,0x3c8,_0x35c5b5._0x4b172d)]['persistFile'])return;function _0x3ad9ba(_0x570088,_0x355f22,_0x14eeb5,_0x22dba0){return _0xadee61(_0x22dba0-0x11,_0x14eeb5,_0x14eeb5-0xa4,_0x22dba0-0x83);}try{const _0x53cd3b=await import('fs/promises'),_0x13f949=await import(_0x3ad9ba(_0x35c5b5._0x182cbf,_0x35c5b5._0x4d3ea0,_0x35c5b5._0x23ddcd,0x3e1)),_0x5ebaf9=this[_0x3ad9ba(0x363,0x6,_0x35c5b5._0x6c9b48,0x1e7)][_0x1daf08(_0x35c5b5._0x5d00b5,0x342,0xff,0x25b)],_0x407e2e=_0x13f949[_0x1daf08(-0x21d,_0x35c5b5._0x1e243f,-0x13f,-_0x35c5b5._0x33a62f)](_0x5ebaf9);if(_0x407e2e&&_0x407e2e!=='.')try{await _0x53cd3b[_0x1daf08(_0x35c5b5._0x23e285,0x29,_0x35c5b5._0x3d5968,0x3c)](_0x407e2e,{'recursive':!![]});}catch{}const _0x263506=this[_0x1daf08(-_0x35c5b5._0x2ae33a,0x71,-_0x35c5b5._0x361195,-0x15e)](_0x2db6d4);await _0x53cd3b[_0x3ad9ba(_0x35c5b5._0x45c576,_0x35c5b5._0x18038b,0xa4,_0x35c5b5._0x38724d)](_0x5ebaf9,_0x263506+'\x0a','utf-8');if(this[_0x1daf08(_0x35c5b5._0x22fc36,-0x190,-0x2c8,-_0x35c5b5._0x18d279)][_0x3ad9ba(0x405,0x62d,0x35b,_0x35c5b5._0x464c49)]){const _0x1ddf10=await _0x53cd3b[_0x3ad9ba(_0x35c5b5._0x460a66,0x530,_0x35c5b5._0x344b70,_0x35c5b5._0x3f41c4)](_0x5ebaf9);_0x1ddf10['size']>this[_0x3ad9ba(_0x35c5b5._0x313f9b,_0x35c5b5._0xcab350,0x42,0x1e7)][_0x1daf08(0x45,_0x35c5b5._0x55289d,0x1fe,0x1dc)]&&await this['rotateLogFile'](_0x5ebaf9);}}catch(_0x2605d4){this[_0x1daf08(-0x130,-_0x35c5b5._0x2c45eb,-_0x35c5b5._0x50a23b,-_0x35c5b5._0x376db8)][_0x1daf08(_0x35c5b5._0x30ac99,-0x3d,0x2d3,_0x35c5b5._0x1dd866)]&&console[_0x3ad9ba(0x247,0x51b,0x2cc,_0x35c5b5._0x44e966)](_0x3ad9ba(0x404,_0x35c5b5._0x35e3f2,_0x35c5b5._0x355620,0x2c2),_0x2605d4);}}[_0xadee61(0x12a,0x32c,0x1c,0x2b2)](_0x3c9e12){const _0x5ae1ba={_0x120835:0x88,_0x1234ae:0x52e,_0x25872c:0x644,_0x173165:0x68a,_0x43be81:0x267,_0x1cba09:0x481},_0x57e867={_0x4cdec5:0x5b,_0x3e3ee2:0x33d},_0x2ba915={_0x57cc58:0x1de};function _0x2153f5(_0x10a99b,_0x94dc72,_0x5a411f,_0x27f622){return _0x27e2df(_0x10a99b-_0x2ba915._0x57cc58,_0x5a411f- -0x149,_0x5a411f-0xb4,_0x94dc72);}function _0x10ee51(_0x5ea260,_0x3332a1,_0x5edc04,_0x1f8255){return _0x27e2df(_0x5ea260-_0x57e867._0x4cdec5,_0x1f8255-_0x57e867._0x3e3ee2,_0x5edc04-0x139,_0x3332a1);}if(this[_0x2153f5(0xfd,0x48,-_0x5ae1ba._0x120835,-0x18a)]['logFormat']===_0x10ee51(_0x5ae1ba._0x1234ae,0x4fb,_0x5ae1ba._0x25872c,_0x5ae1ba._0x173165)){const {timestamp:_0x549f57,method:_0x2e161d,url:_0xe91f2c,responseStatus:_0x4216d2,duration:_0x3a8823,stream:_0x222567}=_0x3c9e12;return'['+_0x549f57+']\x20'+_0x2e161d+'\x20'+_0xe91f2c+'\x20'+_0x4216d2+'\x20'+(_0x3a8823||'?')+'ms\x20'+(_0x222567?_0x10ee51(0x408,_0x5ae1ba._0x43be81,0x551,_0x5ae1ba._0x1cba09):'');}return JSON['stringify'](_0x3c9e12);}async[_0xadee61(0x56e,0x4c8,0x790,0x3a7)](_0x2b4213){const _0x56f162={_0x43369b:0x2f5,_0x469b23:0x575,_0x147dba:0x9a6,_0xf4cf2c:0x696,_0x128682:0x4e5},_0x516452={_0x166fa6:0x94,_0x67ab70:0x18},_0x36fdb6={_0x32e2d8:0x14e,_0xf76dd8:0x17d};function _0x1ae16b(_0x53ddc2,_0x5704ed,_0x1ef36e,_0x4b10f0){return _0x27e2df(_0x53ddc2-0x76,_0x5704ed- -_0x36fdb6._0x32e2d8,_0x1ef36e-_0x36fdb6._0xf76dd8,_0x1ef36e);}function _0x59ccb6(_0x247ccf,_0x5a63af,_0x4933f4,_0x5cb33b){return _0x27e2df(_0x247ccf-_0x516452._0x166fa6,_0x247ccf-0x3ca,_0x4933f4-_0x516452._0x67ab70,_0x4933f4);}try{const _0x42fd80=await import(_0x1ae16b(_0x56f162._0x43369b,0x15f,0x2cf,0x2be)),_0x10f222=_0x2b4213+'.'+Date[_0x59ccb6(0x7a1,_0x56f162._0x469b23,0x83a,_0x56f162._0x147dba)]();await _0x42fd80[_0x59ccb6(_0x56f162._0xf4cf2c,0x5fb,0x824,_0x56f162._0x128682)](_0x2b4213,_0x10f222);}catch{}}[_0xadee61(0x304,0x3e8,0x11b,0x39b)](_0x4c55e9){const _0x511a68={_0x40fd25:0x2cc,_0x2e0fb9:0x4ec,_0x145ac4:0x59a,_0x17f87c:0x80d,_0x2721fc:0x63d,_0x504110:0x4c7,_0x386ad6:0x801,_0x20344f:0x7c0,_0x236d7a:0x67b,_0x4df338:0x44d},_0x9fcbdd={_0xb029ae:0x18a},_0x39e7e5={_0x40773f:0x93};function _0x4ee01e(_0xbf6523,_0x666b9d,_0x46331a,_0x763f0c){return _0x27e2df(_0xbf6523-0xb,_0x46331a-0x22d,_0x46331a-_0x39e7e5._0x40773f,_0x763f0c);}if(!this[_0x4ee01e(0x40b,_0x511a68._0x40fd25,0x2ee,_0x511a68._0x2e0fb9)][_0x4ee01e(0x687,0x7ab,_0x511a68._0x145ac4,0x3eb)])return;function _0x47855e(_0x46d22d,_0x3a137d,_0x528e8e,_0x2a3213){return _0x27e2df(_0x46d22d-0xa4,_0x3a137d-0x4a7,_0x528e8e-_0x9fcbdd._0xb029ae,_0x528e8e);}const {method:_0x1d0004,url:_0x18c6f0,responseStatus:_0x4dcd08,duration:_0x234075,stream:_0x12e1b9}=_0x4c55e9,_0x1a5a70=_0x1d0004+'\x20'+_0x18c6f0+'\x20'+_0x4dcd08+'\x20'+(_0x234075||'?')+'ms'+(_0x12e1b9?_0x47855e(0x7b8,0x66c,_0x511a68._0x17f87c,_0x511a68._0x2721fc):'');if(_0x4c55e9['error'])console[_0x4ee01e(_0x511a68._0x504110,0x604,0x626,_0x511a68._0x386ad6)](_0x1a5a70,_0x4c55e9['error']);else _0x4dcd08>=0x190?console[_0x47855e(0x9af,_0x511a68._0x20344f,_0x511a68._0x236d7a,0x865)](_0x1a5a70):console[_0x47855e(0x473,0x50d,_0x511a68._0x4df338,0x600)](_0x1a5a70);}async[_0x27e2df(-0x18e,0x38,-0xf7,0x3b)](_0x38e8be){const _0x43ddee={_0x4ba96f:0xd3,_0x1a7e34:0x8b,_0xa6aacf:0x1c1,_0x8388ca:0x3},_0x2571fb={_0x22926f:0x34c,_0x19d524:0x103},_0x36b71c={_0x50e6db:0x13a};function _0x382c7a(_0x200bbb,_0x1ec15e,_0x2708b6,_0x36dbba){return _0xadee61(_0x200bbb- -_0x36b71c._0x50e6db,_0x2708b6,_0x2708b6-0x1c8,_0x36dbba-0xfb);}function _0x385af0(_0x5762f2,_0x2ebce8,_0x29af88,_0x597a65){return _0xadee61(_0x2ebce8- -_0x2571fb._0x22926f,_0x29af88,_0x29af88-0xa3,_0x597a65-_0x2571fb._0x19d524);}const _0x43f033={'id':this['generateRequestId'](),'timestamp':new Date()[_0x382c7a(_0x43ddee._0x4ba96f,-0x88,_0x43ddee._0x1a7e34,_0x43ddee._0xa6aacf)](),..._0x38e8be};this['logToConsole'](_0x43f033),await this[_0x382c7a(0x21a,_0x43ddee._0x8388ca,0x3ec,0x205)](_0x43f033);}[_0xadee61(0x339,0x4ca,0x2ed,0x368)](_0x30b20b,_0x37413a){const _0x394ef4={_0x1a71fd:0x272,_0x401b45:0x270,_0x3fd205:0x4cd,_0x43fc45:0x172,_0x1b3346:0x238,_0x1a0c55:0x42f,_0x1086d2:0x271,_0x4e1dc1:0x492,_0x4160d1:0x744,_0x44698d:0x51d,_0x6ce0c2:0x37e},_0x57b0ae={_0x1eb50e:0x6e,_0x150f20:0x9};if(!_0x30b20b[_0x11fa58(_0x394ef4._0x1a71fd,_0x394ef4._0x401b45,_0x394ef4._0x3fd205,0x3dc)]||!this[_0x3a8b6e(_0x394ef4._0x43fc45,-0x29,0x86,0x105)][_0x11fa58(_0x394ef4._0x1b3346,0x4a9,0x2d0,0x457)])return _0x30b20b;function _0x3a8b6e(_0x43a153,_0xdd64da,_0x312e5e,_0x4da96c){return _0xadee61(_0x312e5e- -0x150,_0x43a153,_0x312e5e-0x1de,_0x4da96c-0x15e);}const _0x19f11a=_0x30b20b['body'][_0x11fa58(0x3f1,0x3e6,0x41b,0x213)](),_0x1050f1=this['parseSSEStreamWithLogging'](_0x19f11a,_0x37413a);function _0x11fa58(_0x188b9d,_0x1e6cd4,_0x123fc7,_0x291a47){return _0xadee61(_0x291a47-_0x57b0ae._0x1eb50e,_0x123fc7,_0x123fc7-_0x57b0ae._0x150f20,_0x291a47-0xcc);}return new Response(_0x1050f1,{'status':_0x30b20b[_0x3a8b6e(_0x394ef4._0x1a0c55,0x3bf,_0x394ef4._0x1086d2,0x235)],'statusText':_0x30b20b[_0x11fa58(0x720,_0x394ef4._0x4e1dc1,_0x394ef4._0x4160d1,_0x394ef4._0x44698d)],'headers':_0x30b20b[_0x11fa58(0x330,0x17d,0x4c0,_0x394ef4._0x6ce0c2)]});}[_0x27e2df(0x20c,0xc4,-0x4d,0x151)](_0x248f03,_0x6a8e7b){const _0x4acad9={_0x307bb1:0x63f,_0x431372:0x6f7,_0x14efc3:0x818,_0x1e2a67:0x858,_0x6432ea:0xa63,_0x44a550:0x8cf,_0x68c8c3:0x764,_0x134d14:0xac8,_0x6c53d1:0xda,_0x28f0fb:0x2d1,_0x1a1a02:0x5f4,_0x12750f:0x5af,_0x35dd5e:0x4fc,_0x3974f6:0x5d5,_0x3952ae:0x521,_0x4b5083:0x6bc,_0x105a92:0x504,_0x1e3b11:0x575,_0x302824:0x6fb,_0x289751:0x789,_0x13d93b:0x58c,_0x33643b:0x239,_0x512e5b:0x139,_0x11f98a:0x2a,_0x4a13f0:0x220,_0x2bedec:0x270,_0x2278e3:0x1ea,_0x1d8b37:0x43f,_0x5a84a1:0x507,_0x18b729:0x692,_0x10a982:0x659,_0x4d828b:0x7ac,_0x5298ae:0x4b0,_0x3e589d:0x44d,_0x3edaab:0x48a,_0x43d8a7:0x521,_0x1ad5ef:0x532,_0x82c270:0x634,_0x373e7e:0x766,_0x32a3f6:0x554,_0x3c201b:0x5de,_0x596c50:0x4c1,_0x1f1858:0x39e},_0x3723e6={_0x1c0935:0x93},_0x17955e=[];let _0x36e3be='';const _0x3faf65=this;return new ReadableStream({async 'start'(_0x2becbe){function _0x3890a7(_0x12fb6d,_0x1f4886,_0x4f4c79,_0x39e0e8){return _0x337d(_0x1f4886-_0x3723e6._0x1c0935,_0x4f4c79);}function _0x52c359(_0x571bc9,_0x55cb8b,_0x42b810,_0x4de835){return _0x337d(_0x42b810-0x3ca,_0x571bc9);}try{while(!![]){const {done:_0x403c2e,value:_0x7710e6}=await _0x248f03['read']();if(_0x403c2e)break;_0x2becbe[_0x52c359(0x70f,_0x4acad9._0x307bb1,_0x4acad9._0x431372,_0x4acad9._0x14efc3)](_0x7710e6);const _0x1f64c2=new TextDecoder()['decode'](_0x7710e6);_0x36e3be+=_0x1f64c2;const _0x5bd907=_0x36e3be[_0x52c359(_0x4acad9._0x1e2a67,_0x4acad9._0x6432ea,_0x4acad9._0x44a550,_0x4acad9._0x68c8c3)]('\x0a');_0x36e3be=_0x5bd907[_0x52c359(0xa18,0x9e2,0x823,0x650)]()||'';let _0x2e6449={};for(const _0x7fbdb of _0x5bd907){if(_0x7fbdb['trim']()==='')_0x2e6449['data']!==void 0x0&&_0x17955e[_0x52c359(0x874,0x89b,0x94a,_0x4acad9._0x134d14)]({'timestamp':new Date()[_0x3890a7(_0x4acad9._0x6c53d1,0x2dd,_0x4acad9._0x28f0fb,0x218)](),..._0x2e6449}),_0x2e6449={};else{if(_0x7fbdb[_0x52c359(0x7d3,0x424,_0x4acad9._0x1a1a02,0x78b)](_0x52c359(0x52b,0x3b2,0x539,_0x4acad9._0x12750f))){const _0x5e8fa4=_0x7fbdb[_0x52c359(_0x4acad9._0x35dd5e,_0x4acad9._0x3974f6,_0x4acad9._0x3952ae,0x6ef)](0x6);_0x2e6449[_0x3890a7(_0x4acad9._0x4b5083,_0x4acad9._0x105a92,_0x4acad9._0x1e3b11,0x688)]=_0x2e6449['data']?_0x2e6449[_0x3890a7(_0x4acad9._0x302824,_0x4acad9._0x105a92,0x4fb,0x704)]+'\x0a'+_0x5e8fa4:_0x5e8fa4;}else{if(_0x7fbdb[_0x52c359(_0x4acad9._0x289751,_0x4acad9._0x13d93b,0x5f4,0x4c1)](_0x3890a7(0x162,0x2e6,_0x4acad9._0x33643b,0x489)))_0x2e6449['event']=_0x7fbdb['slice'](0x7);else{if(_0x7fbdb[_0x3890a7(0x3f6,0x2bd,_0x4acad9._0x512e5b,0x25f)](_0x3890a7(_0x4acad9._0x11f98a,0x258,_0x4acad9._0x4a13f0,0x42e)))_0x2e6449['id']=_0x7fbdb[_0x3890a7(_0x4acad9._0x2bedec,_0x4acad9._0x2278e3,-0x41,0x106)](0x4);else _0x7fbdb[_0x52c359(_0x4acad9._0x1d8b37,_0x4acad9._0x5a84a1,0x5f4,0x6b2)](_0x52c359(_0x4acad9._0x18b729,_0x4acad9._0x10a982,_0x4acad9._0x4d828b,0x986))&&(_0x2e6449[_0x3890a7(0x48f,_0x4acad9._0x5298ae,_0x4acad9._0x3e589d,0x678)]=parseInt(_0x7fbdb[_0x52c359(0x689,_0x4acad9._0x3edaab,_0x4acad9._0x43d8a7,_0x4acad9._0x1ad5ef)](0x7),0xa));}}}}}_0x17955e[_0x52c359(_0x4acad9._0x82c270,0x979,_0x4acad9._0x373e7e,0x965)]>0x0&&await _0x3faf65[_0x52c359(0x470,0x57d,_0x4acad9._0x32a3f6,0x50b)]({..._0x6a8e7b,'sseEvents':_0x17955e});}catch(_0x5bb9ca){_0x2becbe[_0x3890a7(0x52d,_0x4acad9._0x3c201b,_0x4acad9._0x596c50,0x408)](_0x5bb9ca);}finally{_0x2becbe[_0x3890a7(_0x4acad9._0x1f1858,0x3dc,0x56a,0x484)](),_0x248f03['releaseLock']();}}});}},FetchTransport=class{constructor(_0x45eff3={}){const _0x18d380={_0x4ece95:0x4c7,_0xdc5f20:0x25b,_0x174f41:0x1cf,_0x4f1bf5:0x532,_0x39b604:0x3df,_0x3502e4:0x605,_0x5a3dd8:0x571,_0x25eab8:0x49d},_0x32dbe0={_0x24129d:0xa};function _0x5f46f1(_0x400479,_0x1ed9eb,_0x1ea49d,_0x12e5cc){return _0xadee61(_0x400479- -0xf5,_0x12e5cc,_0x1ea49d-0x17a,_0x12e5cc-0x99);}function _0x4b9e2e(_0x5d47b1,_0x5a5978,_0x20db26,_0x1bdfeb){return _0xadee61(_0x5d47b1-0xbb,_0x1bdfeb,_0x20db26-_0x32dbe0._0x24129d,_0x1bdfeb-0x41);}this[_0x4b9e2e(0x291,_0x18d380._0x4ece95,_0x18d380._0xdc5f20,_0x18d380._0x174f41)]=_0x45eff3,this[_0x4b9e2e(_0x18d380._0x4f1bf5,_0x18d380._0x39b604,_0x18d380._0x3502e4,_0x18d380._0x5a3dd8)]=new NetworkLogger(this[_0x4b9e2e(0x291,0x68,0x153,_0x18d380._0x25eab8)]);}['logger'];[_0xadee61(0x280,0x2bb,0x73,0x46b)](_0x4d7e26){const _0x48c48d={_0x412f19:0x1ab,_0x10dbd4:0x18,_0x34f9e4:0x15b},_0xdc75cf={_0x393de4:0xa9},_0x343548={_0x156954:0x8b,_0x5e5082:0x1ea};function _0x30b281(_0x218188,_0x110cff,_0x3c0af6,_0x249007){return _0x27e2df(_0x218188-_0x343548._0x156954,_0x249007- -0x1c9,_0x3c0af6-_0x343548._0x5e5082,_0x110cff);}const _0x3d1c7d=_0x4d7e26[_0x30b281(-_0x48c48d._0x412f19,-_0x48c48d._0x10dbd4,-0x224,-_0x48c48d._0x34f9e4)](_0x270305(0x570,0x69f,0x471,0x535));function _0x270305(_0x587b3c,_0x17b6b9,_0x57df35,_0x508ab0){return _0x27e2df(_0x587b3c-0x1ae,_0x57df35-_0xdc75cf._0x393de4,_0x57df35-0x53,_0x508ab0);}return _0x3d1c7d?parseInt(_0x3d1c7d,0xa):0x0;}['headersToRecord'](_0x492cd2){const _0x47159c={_0x52d804:0x97e},_0x2634a1={_0x2015a7:0x156,_0x29fa2c:0x487,_0x3ebe2f:0x145},_0x8bad2d={};function _0x29f62c(_0x298b81,_0x5bea78,_0x3cb57b,_0x1255cf){return _0x27e2df(_0x298b81-_0x2634a1._0x2015a7,_0x298b81-_0x2634a1._0x29fa2c,_0x3cb57b-_0x2634a1._0x3ebe2f,_0x1255cf);}return _0x492cd2[_0x29f62c(0x86a,0x713,0x652,_0x47159c._0x52d804)]((_0x436695,_0x53a5d7)=>{_0x8bad2d[_0x53a5d7]=_0x436695;}),_0x8bad2d;}async[_0x27e2df(0x130,0x2ec,0x213,0x2e6)](_0x56c33c,_0x3191ee,_0x5eaf9c,_0x292323){const _0x321428={_0x2851dd:0x1a3,_0x27b1bd:0x63a,_0x19c3a1:0x732,_0x4c75d4:0x422,_0x3844e1:0x174,_0x592e34:0x33,_0x54f739:0x15e},_0x408e97={_0x23081f:0x1f5,_0x5adbaf:0xaf},_0x2d0b70={_0x30f2c0:0x112};function _0x16d42d(_0x37d29d,_0x52ef76,_0x47fe8d,_0x22ac82){return _0xadee61(_0x22ac82- -0x4e,_0x37d29d,_0x47fe8d-_0x2d0b70._0x30f2c0,_0x22ac82-0x12a);}function _0x4e61de(_0x116c21,_0x54bb28,_0x4bab67,_0x487f1c){return _0xadee61(_0x4bab67- -_0x408e97._0x23081f,_0x54bb28,_0x4bab67-0xf9,_0x487f1c-_0x408e97._0x5adbaf);}if(typeof fetch!=='function')throw new Error(_0x16d42d(-0x6d,0x223,0x104,_0x321428._0x2851dd));return fetch(_0x56c33c,{'method':_0x16d42d(_0x321428._0x27b1bd,_0x321428._0x19c3a1,_0x321428._0x4c75d4,0x521),'headers':{'Content-Type':_0x4e61de(0x1ae,-_0x321428._0x3844e1,-_0x321428._0x592e34,-_0x321428._0x54f739),..._0x5eaf9c||{}},'body':JSON['stringify'](_0x3191ee??{}),'signal':_0x292323});}async[_0x27e2df(0xe6,0x6e,0x23e,-0x1bd)](_0x2fb973,_0x525ac2,_0x576c19){const _0x85c637={_0x232290:0x4f,_0x204472:0xc2,_0x5c0f8e:0xb7,_0x4c5264:0x6e,_0x48e11a:0x460,_0xd25090:0x6c9,_0x5179d8:0x6f7,_0xb1e331:0x654,_0x3bc565:0x463,_0x2c5d23:0x73f,_0x354f2e:0x166,_0x3f17fb:0x3f0,_0x51e772:0x354,_0x41e178:0x59e,_0x34caec:0x21f,_0x2f03ee:0x235,_0x5ba420:0x4ed,_0x1e8382:0x2b2,_0x3ec531:0x4ed,_0x13e54a:0x6b5,_0x3935b1:0x303,_0x13dfa4:0x25b,_0x15a3e9:0x110,_0x1ddd06:0x5e,_0x3848e3:0x1c5,_0x12b5b2:0x13f},_0x1d1f37={_0x2e15e9:0x1e3,_0x269164:0x5d},_0x1529b8={_0x32f35e:0x2f2};function _0x494f21(_0x2194bc,_0x33b96d,_0x327bb5,_0x34a3f3){return _0x27e2df(_0x2194bc-0x195,_0x2194bc-_0x1529b8._0x32f35e,_0x327bb5-0xb1,_0x34a3f3);}function _0x10919e(_0x3cfbde,_0xb47f79,_0x467300,_0x2d8a6d){return _0xadee61(_0x3cfbde- -0x1b5,_0xb47f79,_0x467300-_0x1d1f37._0x2e15e9,_0x2d8a6d-_0x1d1f37._0x269164);}if(typeof fetch!==_0x10919e(-_0x85c637._0x232290,-_0x85c637._0x204472,-0xc2,-_0x85c637._0x5c0f8e))throw new Error('Global\x20fetch\x20is\x20not\x20available.\x20Use\x20Node\x2018+\x20or\x20a\x20compatible\x20runtime.');const _0xc48f6d=performance['now']();try{const _0x2be591=await fetch(_0x2fb973,{'method':_0x494f21(0x3f0,0x595,0x4a8,0x46a),'headers':{..._0x525ac2||{}},'signal':_0x576c19}),_0x2e7d8a=performance['now']()-_0xc48f6d;try{const _0xe8b036=_0x2be591['clone'](),_0x16886a=await _0xe8b036[_0x10919e(0x246,_0x85c637._0x4c5264,0x24a,_0x85c637._0x48e11a)]();let _0x4420f5;try{_0x4420f5=JSON['parse'](_0x16886a);}catch{_0x4420f5=_0x16886a;}const _0x493a8a=performance[_0x494f21(_0x85c637._0xd25090,0x833,_0x85c637._0x5179d8,0x829)]()-_0xc48f6d;await this[_0x494f21(_0x85c637._0xb1e331,0x5ed,_0x85c637._0x3bc565,_0x85c637._0x2c5d23)][_0x494f21(0x32a,_0x85c637._0x354f2e,0x446,0x492)]({'url':_0x2fb973,'method':_0x494f21(_0x85c637._0x3f17fb,_0x85c637._0x51e772,0x5da,0x2c2),'headers':{..._0x525ac2||{}},'responseStatus':_0x2be591[_0x494f21(_0x85c637._0x41e178,0x51c,0x71f,0x4aa)],'responseHeaders':this[_0x10919e(_0x85c637._0x34caec,0x305,_0x85c637._0x2f03ee,0x423)](_0x2be591[_0x494f21(_0x85c637._0x5ba420,_0x85c637._0x1e8382,0x48f,0x61f)]),'ok':_0x2be591['ok'],'stream':![],'startTime':_0xc48f6d,'duration':_0x493a8a,'ttfb':_0x2e7d8a,'requestSize':0x0,'responseSize':this['getResponseSize'](_0x2be591[_0x494f21(_0x85c637._0x3ec531,0x68d,_0x85c637._0x13e54a,_0x85c637._0x3935b1)]),'response':_0x4420f5});}catch{}return _0x2be591;}catch(_0x4a561c){const _0x247d58=performance[_0x494f21(_0x85c637._0xd25090,0x602,0x851,0x69c)]()-_0xc48f6d;await this['logger'][_0x494f21(0x32a,_0x85c637._0x13dfa4,_0x85c637._0x15a3e9,0x410)]({'url':_0x2fb973,'method':_0x10919e(_0x85c637._0x1ddd06,_0x85c637._0x3848e3,0x217,_0x85c637._0x12b5b2),'headers':{..._0x525ac2||{}},'responseStatus':0x0,'ok':![],'stream':![],'startTime':_0xc48f6d,'duration':_0x247d58,'requestSize':0x0,'error':_0x4a561c instanceof Error?_0x4a561c['message']:String(_0x4a561c)});throw _0x4a561c;}}};import*as _0x4650d6 from'crypto';var isVisionMessage=_0x27a083=>{const _0x241d91={_0x74442:0x3e3,_0x450dba:0x450,_0x36748b:0x10a},_0x4b50e1={_0x2d22ee:0x18},_0x1b5770={_0x4df5bf:0xf6};if(!_0x27a083)return![];function _0x245516(_0x58bade,_0x155e61,_0x38c655,_0x10cfaf){return _0xadee61(_0x10cfaf- -0xe3,_0x58bade,_0x38c655-_0x1b5770._0x4df5bf,_0x10cfaf-0x17a);}const _0x2dd0eb=_0x27a083[_0x245516(0x4f1,_0x241d91._0x74442,0x351,_0x241d91._0x450dba)];if(!_0x2dd0eb)return![];function _0xaf74ad(_0x596b6f,_0x11c3ca,_0x18cd94,_0x529fd5){return _0xadee61(_0x11c3ca-0x198,_0x529fd5,_0x18cd94-_0x4b50e1._0x2d22ee,_0x529fd5-0x12);}if(Array[_0x245516(0x3b5,_0x241d91._0x36748b,0x15f,0x20a)](_0x2dd0eb))return _0x2dd0eb['some'](_0x1cddab=>typeof _0x1cddab===_0xaf74ad(0x33c,0x44c,0x2a0,0x335)&&_0x1cddab?.['type']==='image_url');return![];},GithubAuthTransport=class{[_0xadee61(0x203,0x3d5,0x3c1,0x2ae)];[_0xadee61(0x508,0x727,0x4af,0x49e)];[_0x27e2df(0x2ac,0x2aa,0x2ea,0x341)];[_0x27e2df(0x4d3,0x3ac,0x3cc,0x223)];['inner'];constructor(_0x153a2c,_0x424ede){const _0x4690c3={_0x38148d:0x376,_0x2e8f80:0x173,_0x3f5c82:0x28c,_0x2fb422:0x160,_0x330f5e:0x28e,_0x4909fb:0x511,_0x293acc:0x42e,_0x144503:0x478,_0x38ed8a:0x398},_0x559986={_0xb3a376:0x60},_0x2962a3={_0x1f25a2:0x85,_0x307f91:0x1df};this[_0x5d5f03(_0x4690c3._0x38148d,0x3bc,0x326,0x50f)]=_0x153a2c,this[_0x41224a(0x28e,0x272,_0x4690c3._0x2e8f80,_0x4690c3._0x3f5c82)]=_0x424ede[_0x41224a(_0x4690c3._0x2fb422,_0x4690c3._0x330f5e,_0x4690c3._0x2e8f80,-0xbb)],this[_0x41224a(_0x4690c3._0x4909fb,_0x4690c3._0x293acc,_0x4690c3._0x144503,0x461)]=_0x424ede['accessToken'];function _0x41224a(_0x586854,_0x225b26,_0x4293c6,_0x5bb29e){return _0x27e2df(_0x586854-0xa7,_0x4293c6-_0x2962a3._0x1f25a2,_0x4293c6-_0x2962a3._0x307f91,_0x586854);}function _0x5d5f03(_0x43dfb7,_0xb2c5db,_0x1bbd28,_0x3d24b9){return _0x27e2df(_0x43dfb7-0x159,_0xb2c5db-_0x559986._0xb3a376,_0x1bbd28-0x1e0,_0x3d24b9);}this['baseUrl']=_0x424ede['baseUrl']??_0x41224a(0x5b7,0x55f,_0x4690c3._0x38ed8a,0x2b1);}async[_0xadee61(0x42c,0x4d7,0x509,0x602)](_0x10d7a9){const _0x1a44cb={_0xfca77c:0x873,_0x4d5ec4:0x174,_0x51de8c:0x256,_0x5747ef:0x1f,_0xc768b4:0x1c3,_0xe099b9:0x3d6,_0x52f1f3:0x31b,_0x2c3854:0x94,_0x4212de:0x9e,_0x34448a:0x42f,_0x31e185:0x538,_0x5e32c8:0x6e8,_0x595d3b:0x732,_0x4d44f4:0x612,_0x4ffb1b:0x50f,_0x3d9d8f:0x5e6,_0xa96642:0x671,_0x2a73c6:0x3b6,_0x276e27:0x49f,_0x3abe99:0x4ec,_0x2bda94:0x278,_0x250444:0x454,_0xde3663:0x4b2,_0x4ee902:0x240,_0x4dfd52:0x6fc,_0x3942a2:0x3ed,_0x33c3fe:0x397,_0x5e1be6:0x729},_0x4aee46={_0x213b1b:0x9c,_0x4263c7:0x1cd};if(!this[_0x235222(0x6fc,_0x1a44cb._0xfca77c,0x4e6,0x8de)])return;if(typeof fetch!==_0xdb6d44(_0x1a44cb._0x4d5ec4,0x1db,_0x1a44cb._0x51de8c,-_0x1a44cb._0x5747ef))throw new Error(_0xdb6d44(_0x1a44cb._0xc768b4,_0x1a44cb._0xe099b9,0x470,_0x1a44cb._0x52f1f3));function _0xdb6d44(_0x5d6f3e,_0x23f0c0,_0x7165ee,_0x60f81d){return _0xadee61(_0x23f0c0-0x75,_0x60f81d,_0x7165ee-0x1dc,_0x60f81d-0xe6);}const _0x12144e=await fetch(_0xdb6d44(0x255,0x1af,_0x1a44cb._0x2c3854,_0x1a44cb._0x4212de),{'method':'GET','headers':{'Authorization':'Bearer\x20'+this[_0xdb6d44(0x43b,0x57d,_0x1a44cb._0x34448a,0x460)],'user-agent':_0xdb6d44(_0x1a44cb._0x31e185,0x52b,_0x1a44cb._0x5e32c8,_0x1a44cb._0x595d3b),'editor-version':_0xdb6d44(0x3d0,0x56c,_0x1a44cb._0x4d44f4,_0x1a44cb._0x4ffb1b),'x-github-api-version':_0x235222(_0x1a44cb._0x3d9d8f,0x5ff,0x7ab,_0x1a44cb._0xa96642),'accept':_0x235222(_0x1a44cb._0x2a73c6,0x3ec,_0x1a44cb._0x276e27,_0x1a44cb._0x3abe99)},'signal':_0x10d7a9});if(!_0x12144e['ok']){this['apiKey']=this['accessToken'];return;}const _0x56d86f=await _0x12144e['json']();function _0x235222(_0x165a32,_0x41f66c,_0x4b88ab,_0xbdfa10){return _0xadee61(_0x165a32-0x1f4,_0xbdfa10,_0x4b88ab-_0x4aee46._0x213b1b,_0xbdfa10-_0x4aee46._0x4263c7);}this[_0xdb6d44(0x3c1,_0x1a44cb._0x2bda94,0x8a,0x22f)]=_0x56d86f?.[_0xdb6d44(0x47f,_0x1a44cb._0x250444,_0x1a44cb._0xde3663,_0x1a44cb._0x4ee902)]||this[_0x235222(_0x1a44cb._0x4dfd52,0x693,0x4ce,0x662)],_0x56d86f?.[_0xdb6d44(0x4d4,_0x1a44cb._0x3942a2,0x1fd,0x5f8)]?.[_0x235222(0x4c7,0x3fe,0x6de,0x44f)]&&(this[_0x235222(0x5b3,0x449,0x5e0,_0x1a44cb._0x33c3fe)]=_0x56d86f[_0x235222(0x56c,0x6b8,0x6f2,_0x1a44cb._0x5e1be6)]['api']);}[_0x27e2df(0x3df,0x1da,0xa4,0x17b)](_0x49bd75){const _0x477226={_0x647463:0x560,_0x38a6e0:0x5e4,_0x50f7c4:0x6b0,_0x4408ce:0x5f6,_0x55b162:0x717,_0x4bfc19:0x7b2,_0x5dee52:0x80a,_0x2bd9d0:0x844,_0x19ff78:0x7b9},_0x44cd6b={_0x55aa7b:0x11d,_0x464a8b:0x50c,_0x1fa660:0x27},_0x2786cb={_0x3f460c:0x2f1,_0x5cada1:0x5b,_0x474a29:0x176};function _0x5d2a85(_0x4cc719,_0x1b16d3,_0x20116b,_0x470123){return _0xadee61(_0x4cc719-_0x2786cb._0x3f460c,_0x470123,_0x20116b-_0x2786cb._0x5cada1,_0x470123-_0x2786cb._0x474a29);}function _0x3336aa(_0x3d8b1a,_0x35cefc,_0x20c0f9,_0x42ce81){return _0x27e2df(_0x3d8b1a-_0x44cd6b._0x55aa7b,_0x42ce81-_0x44cd6b._0x464a8b,_0x20c0f9-_0x44cd6b._0x1fa660,_0x3d8b1a);}if(_0x49bd75[_0x3336aa(_0x477226._0x647463,0x5e2,0x5f2,_0x477226._0x38a6e0)]('/')){const _0x157235=this[_0x5d2a85(_0x477226._0x50f7c4,0x714,_0x477226._0x4408ce,_0x477226._0x55b162)]??this[_0x5d2a85(_0x477226._0x4bfc19,_0x477226._0x5dee52,_0x477226._0x2bd9d0,_0x477226._0x19ff78)];return''+_0x157235+_0x49bd75;}return _0x49bd75;}[_0xadee61(0x15a,-0x8,0x16c,-0x94)](_0x4c488e){const _0x4fb249={_0x460b49:0x79,_0x3aa223:0x436,_0x5c7249:0x379,_0xafe3a5:0x27b,_0xb23700:0x393,_0x34144a:0xcc,_0x330299:0x263,_0x456204:0x194,_0xa5b585:0x23b},_0xbf459b={_0x141e2c:0x39,_0x1fcf94:0x1b5,_0xc69e1b:0x61},_0x3f7f86={_0x16f272:0x163};function _0x50de73(_0x10f5cf,_0x38c866,_0xdec07b,_0x1286cf){return _0x27e2df(_0x10f5cf-0xf0,_0xdec07b-0x43f,_0xdec07b-_0x3f7f86._0x16f272,_0x1286cf);}if(!_0x4c488e||typeof _0x4c488e!==_0x5caaf8(_0x4fb249._0x460b49,_0x4fb249._0x3aa223,_0x4fb249._0x5c7249,_0x4fb249._0xafe3a5))return![];if(!(_0x5caaf8(_0x4fb249._0xb23700,_0x4fb249._0x34144a,_0x4fb249._0x330299,_0x4fb249._0x456204)in _0x4c488e))return![];const _0x36efe8=_0x4c488e;function _0x5caaf8(_0x6106c0,_0x31ab34,_0x109476,_0x30e2b7){return _0xadee61(_0x30e2b7- -_0xbf459b._0x141e2c,_0x6106c0,_0x109476-_0xbf459b._0x1fcf94,_0x30e2b7-_0xbf459b._0xc69e1b);}if(!Array['isArray'](_0x36efe8['messages']))return![];return _0x36efe8[_0x5caaf8(0x39d,_0x4fb249._0xa5b585,0x6a,_0x4fb249._0x456204)][_0x5caaf8(0x1bd,0x23a,0x2bd,0x32c)](_0x2b3d2d=>isVisionMessage(_0x2b3d2d));}[_0xadee61(0x4e4,0x380,0x539,0x365)](_0x55a8ed,_0x38ff08){const _0x153fe8={_0x506f22:0x486,_0x2c9b5f:0x4b6,_0xcfcb7c:0x3b0,_0x3f8d73:0x41d,_0x134cea:0x3c2,_0x472942:0x5d7,_0x541dde:0x405,_0x289c0d:0x470,_0x447066:0x277,_0x5959aa:0x52f,_0x3bb8e6:0x692,_0x46510f:0x91b,_0x4fe082:0x77d,_0x66b4b2:0x4ff,_0x455d17:0x6fb,_0x466d57:0x752,_0x460e8a:0x7a1,_0x17131d:0x72d,_0x4d1d40:0x7fe,_0x33a1a8:0x74d,_0xb66cb3:0x687,_0x1017a7:0x4a8,_0x1c3b88:0x250,_0x3b48d8:0x153,_0x966a14:0x535,_0x29c008:0x374,_0x43e323:0x8fe},_0x30ac86={_0x5509b2:0x25},_0x5551d8={_0x1b9c87:0x202,_0x55d869:0x184,_0x584151:0x21},_0x3d26f2=_0x55a8ed?{..._0x55a8ed}:{};if(this[_0x6968c7(_0x153fe8._0x506f22,_0x153fe8._0x2c9b5f,_0x153fe8._0xcfcb7c,_0x153fe8._0x3f8d73)])_0x3d26f2[_0xd9b775(0x3d9,0x128,_0x153fe8._0x134cea,0x304)]=_0xd9b775(0x243,0x350,0x59c,0x37a)+this[_0xd9b775(_0x153fe8._0x472942,0x431,0x32c,_0x153fe8._0x541dde)];_0x3d26f2[_0x6968c7(0x352,0x67e,0x586,_0x153fe8._0x289c0d)]=_0x3d26f2[_0x6968c7(_0x153fe8._0x447066,0x52d,_0x153fe8._0x5959aa,0x470)]||'vscode/1.104.2',_0x3d26f2['editor-plugin-version']=_0x3d26f2[_0x6968c7(0x69e,0x6e9,0x940,0x75f)]||_0x6968c7(_0x153fe8._0x3bb8e6,0x85d,_0x153fe8._0x46510f,_0x153fe8._0x4fe082);const _0x591d2a=this[_0xd9b775(_0x153fe8._0x66b4b2,_0x153fe8._0x455d17,_0x153fe8._0x466d57,0x59f)](_0x38ff08);function _0xd9b775(_0x3cbcb3,_0x55dbb4,_0xb0fec3,_0x3e7e2e){return _0xadee61(_0x3e7e2e-_0x5551d8._0x1b9c87,_0x55dbb4,_0xb0fec3-_0x5551d8._0x55d869,_0x3e7e2e-_0x5551d8._0x584151);}_0x3d26f2[_0xd9b775(_0x153fe8._0x460e8a,_0x153fe8._0x17131d,_0x153fe8._0x4d1d40,_0x153fe8._0x33a1a8)]=_0x591d2a;function _0x6968c7(_0x1f95fc,_0x2c74e1,_0x537991,_0x4f9cda){return _0xadee61(_0x4f9cda-0x21a,_0x1f95fc,_0x537991-0x1ad,_0x4f9cda-_0x30ac86._0x5509b2);}return _0x3d26f2[_0xd9b775(_0x153fe8._0xb66cb3,_0x153fe8._0x1017a7,0x635,0x6a5)]=this['generateRequestId'](),this[_0x6968c7(_0x153fe8._0x1c3b88,_0x153fe8._0x3b48d8,_0x153fe8._0x966a14,_0x153fe8._0x29c008)](_0x38ff08)&&(_0x3d26f2['Copilot-Vision-Request']=_0xd9b775(0x666,_0x153fe8._0x43e323,0x90a,0x6d3)),_0x3d26f2;}[_0xadee61(0x39d,0x3a3,0x3b2,0x4e4)](_0x5720f4){const _0x300bff={_0x2d7a0b:0x14f,_0x56c736:0x245,_0x1c98d8:0x2e7,_0x503475:0x312,_0x332ce4:0x203,_0x4a96d9:0x432,_0x14f198:0x207,_0x55cb9f:0x421,_0x346c42:0x2dc,_0xb13d15:0x312,_0x5c4bbc:0x286,_0x591817:0x30f,_0x53b97f:0x618,_0x299037:0x143,_0x46d81f:0x2ef,_0x50874c:0x33a,_0x1a309f:0x7eb,_0x622d82:0x6b9,_0x2d926f:0x880,_0x3503a2:0x647},_0x5d95c1={_0x3ae24b:0xae},_0x5c5d9d={_0x4f92f9:0x5b,_0x4a6616:0x1e8,_0x2c627e:0x155};function _0x1b91c6(_0x80f15f,_0x2633f2,_0xedc8c6,_0x17b10a){return _0x27e2df(_0x80f15f-_0x5c5d9d._0x4f92f9,_0x2633f2-_0x5c5d9d._0x4a6616,_0xedc8c6-_0x5c5d9d._0x2c627e,_0x80f15f);}function _0x4215f3(_0x5cc4cb,_0xa34c1f,_0x14b091,_0x1e054c){return _0xadee61(_0x14b091-0x145,_0xa34c1f,_0x14b091-_0x5d95c1._0x3ae24b,_0x1e054c-0x105);}if(_0x5720f4&&typeof _0x5720f4===_0x1b91c6(0x4b3,0x387,_0x300bff._0x2d7a0b,0x3c8)&&_0x4215f3(_0x300bff._0x56c736,_0x300bff._0x1c98d8,_0x300bff._0x503475,0xe4)in _0x5720f4){const _0x56566f=_0x5720f4;if(Array[_0x4215f3(0x217,_0x300bff._0x332ce4,_0x300bff._0x4a96d9,_0x300bff._0x14f198)](_0x56566f[_0x4215f3(_0x300bff._0x55cb9f,_0x300bff._0x346c42,_0x300bff._0xb13d15,0x4a7)])&&_0x56566f['messages'][_0x4215f3(_0x300bff._0x5c4bbc,_0x300bff._0x591817,0x4a4,0x639)]>0x0){const _0x5368e6=_0x56566f['messages'][_0x56566f['messages'][_0x4215f3(0x684,0x4d3,0x4a4,_0x300bff._0x53b97f)]-0x1];return _0x5368e6?.['role']===_0x1b91c6(0x1de,0x2f3,_0x300bff._0x299037,_0x300bff._0x46d81f)?_0x1b91c6(0x339,0x2f3,0x2b2,_0x300bff._0x50874c):_0x4215f3(0x61f,_0x300bff._0x1a309f,_0x300bff._0x622d82,0x53a);}}return _0x1b91c6(_0x300bff._0x2d926f,_0x300bff._0x3503a2,0x560,0x60e);}['generateRequestId'](){const _0x274ef4={_0xe4dcc4:0x9e,_0x85f071:0x407},_0x426e99={_0x117c2f:0x4d6,_0x34e05d:0x4fb,_0x5bb43e:0x451},_0x38a7dc={_0x4cd90c:0x63e},_0x86d4fa={_0x3e41d7:0x25c,_0x4dc7b4:0x42},_0x5815fc={_0x4352be:0x2d,_0x1bf821:0x19a};function _0x546b14(_0x3e4bd2,_0x2269eb,_0x25f7bc,_0x10b096){return _0x27e2df(_0x3e4bd2-0x161,_0x3e4bd2-_0x5815fc._0x4352be,_0x25f7bc-_0x5815fc._0x1bf821,_0x10b096);}function _0x50078d(_0x45cca4,_0x353db3,_0x536c4d,_0x5899de){return _0x27e2df(_0x45cca4-0x1c4,_0x5899de- -_0x86d4fa._0x3e41d7,_0x536c4d-_0x86d4fa._0x4dc7b4,_0x536c4d);}if(_0x4650d6?.['randomUUID'])return _0x4650d6[_0x546b14(0x43e,0x56e,0x315,0x31e)]();return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'[_0x546b14(0x2bf,_0x274ef4._0xe4dcc4,0x40a,_0x274ef4._0x85f071)](/[xy]/g,_0x490846=>{const _0x195c4e=Math[_0x559c26(_0x426e99._0x117c2f,0x51f,_0x426e99._0x34e05d,_0x426e99._0x5bb43e)]()*0x10|0x0;function _0x559c26(_0x1fb55b,_0x58e307,_0x464c2e,_0x4d9e50){return _0x50078d(_0x1fb55b-0x139,_0x58e307-0x67,_0x4d9e50,_0x464c2e-_0x38a7dc._0x4cd90c);}const _0x6d415f=_0x490846==='x'?_0x195c4e:_0x195c4e&0x3|0x8;return _0x6d415f['toString'](0x10);});}async[_0xadee61(0x401,0x287,0x392,0x3c8)](_0x3f0966,_0x283bfb,_0x236f87,_0x2421c4){const _0x200cb7={_0x23914e:0x780,_0x548ad7:0xd9,_0x491bfd:0x113,_0x32e700:0x80,_0x4651ba:0x398,_0x396051:0x4ad,_0x204c47:0x4c5,_0x32528e:0x29d,_0x4e9d08:0x264,_0x2416f9:0x3bb,_0x2ec53b:0x37f,_0x24ca3a:0x520,_0x23bdc2:0x3fb,_0x43b8ec:0x35c,_0xb11c92:0x29f,_0x5f35cb:0x2f7,_0x5b5d07:0xef,_0x14c291:0x5a,_0x3e8fbd:0x198,_0x22d8d0:0x27d,_0x472e65:0x2f1,_0x5e9dfa:0x5fa},_0x5f2659={_0x34ebf5:0xac},_0x2d844f={_0x5a8aaf:0x3c,_0x13183f:0x2e};!this['apiKey']&&this[_0x1acb96(0x3f8,0x544,_0x200cb7._0x23914e,0x604)]&&await this['exchangeToken'](_0x2421c4);const _0x1701bc=this[_0x1992f8(0x86,-_0x200cb7._0x548ad7,_0x200cb7._0x491bfd,_0x200cb7._0x32e700)](_0x3f0966);let _0x223e6a=await this[_0x1acb96(_0x200cb7._0x4651ba,_0x200cb7._0x396051,_0x200cb7._0x204c47,_0x200cb7._0x32528e)][_0x1acb96(_0x200cb7._0x4e9d08,0x43d,0x332,_0x200cb7._0x2416f9)](_0x1701bc,_0x283bfb,this[_0x1acb96(_0x200cb7._0x2ec53b,_0x200cb7._0x24ca3a,_0x200cb7._0x23bdc2,0x360)](_0x236f87,_0x283bfb),_0x2421c4);function _0x1acb96(_0x29e276,_0xd36a11,_0x1e8060,_0x46eacb){return _0xadee61(_0xd36a11-_0x2d844f._0x5a8aaf,_0x29e276,_0x1e8060-0x194,_0x46eacb-_0x2d844f._0x13183f);}if(_0x223e6a[_0x1acb96(0x27f,0x3fd,0x49c,_0x200cb7._0x43b8ec)]===0x191&&this[_0x1992f8(_0x200cb7._0xb11c92,0xc0,_0x200cb7._0x5f35cb,0x3e1)]){await this['exchangeToken'](_0x2421c4);const _0x479f53=this[_0x1992f8(0x86,0x271,_0x200cb7._0x5b5d07,-0xf)](_0x3f0966);_0x223e6a=await this[_0x1992f8(0x208,-0x11,0x9b,_0x200cb7._0x14c291)][_0x1992f8(_0x200cb7._0x3e8fbd,_0x200cb7._0x22d8d0,_0x200cb7._0x472e65,0x154)](_0x479f53,_0x283bfb,this[_0x1acb96(0x351,0x520,0x2f6,_0x200cb7._0x5e9dfa)](_0x236f87,_0x283bfb),_0x2421c4);}function _0x1992f8(_0x238039,_0x250de9,_0x41daba,_0xf69968){return _0xadee61(_0x238039- -0x269,_0xf69968,_0x41daba-_0x5f2659._0x34ebf5,_0xf69968-0xac);}return _0x223e6a;}async[_0x27e2df(0x1e8,0x6e,0x2a1,0x13d)](_0x51a367,_0x1e7693,_0x40d681){const _0x51874e={_0x4d380e:0x263,_0x59c5f7:0x1e2,_0x4f77ca:0x339,_0x5666be:0x558,_0x39acb5:0x76e,_0x59b764:0x57c,_0x2047ca:0x613,_0x3bce52:0x778,_0x363d13:0x425,_0x4ab43b:0x627,_0x4ea434:0x117,_0x4a120d:0x77c,_0x3ce43d:0x497,_0x32e155:0x43a,_0x285596:0x83d,_0x333f59:0xa58,_0x45061e:0x827,_0x256a58:0x5e7,_0x4487dd:0x430,_0x53c03c:0x55f,_0x5d36d9:0x6be,_0xe9ca44:0x4a2},_0x5b4111={_0x40b7d6:0x11,_0x82fc47:0xca},_0x11bc58={_0xd866e1:0x31f,_0x17f3cd:0x27};!this[_0x3b0677(_0x51874e._0x4d380e,0x3b6,_0x51874e._0x59c5f7,_0x51874e._0x4f77ca)]&&this[_0x3b0677(_0x51874e._0x5666be,_0x51874e._0x39acb5,_0x51874e._0x59b764,0x63e)]&&await this[_0x1c4fd8(_0x51874e._0x2047ca,_0x51874e._0x3bce52,0x709,0x74b)](_0x40d681);function _0x1c4fd8(_0x340f6f,_0x377995,_0x3b01c4,_0x3b167a){return _0xadee61(_0x3b167a-_0x11bc58._0xd866e1,_0x340f6f,_0x3b01c4-_0x11bc58._0x17f3cd,_0x3b167a-0x49);}function _0x3b0677(_0x305beb,_0x5c0710,_0x2e851e,_0x3917a1){return _0xadee61(_0x3917a1-0x136,_0x2e851e,_0x2e851e-_0x5b4111._0x40b7d6,_0x3917a1-_0x5b4111._0x82fc47);}const _0x44fd63=this[_0x3b0677(0x328,0x604,0x212,_0x51874e._0x363d13)](_0x51a367);let _0x4cd8c1=await this[_0x3b0677(0x72b,_0x51874e._0x4ab43b,0x3be,0x5a7)][_0x3b0677(_0x51874e._0x4ea434,0x47d,0x2a3,0x2b9)](_0x44fd63,this[_0x3b0677(_0x51874e._0x4a120d,_0x51874e._0x3ce43d,0x708,0x61a)](_0x1e7693),_0x40d681);if(_0x4cd8c1[_0x3b0677(_0x51874e._0x32e155,0x42a,0x4c8,0x4f7)]===0x191&&this[_0x1c4fd8(_0x51874e._0x285596,0x8cb,_0x51874e._0x333f59,_0x51874e._0x45061e)]){await this[_0x3b0677(0x624,0x5df,0x461,0x562)](_0x40d681);const _0x247990=this[_0x3b0677(0x4d4,_0x51874e._0x256a58,_0x51874e._0x4487dd,0x425)](_0x51a367);_0x4cd8c1=await this['inner'][_0x1c4fd8(0x387,_0x51874e._0x53c03c,_0x51874e._0x5d36d9,_0x51874e._0xe9ca44)](_0x247990,this[_0x1c4fd8(0x92a,0x8f4,0x8e0,0x803)](_0x1e7693),_0x40d681);}return _0x4cd8c1;}};function calculateBackoff(_0xc7e6f1,_0x24015c,_0x4eda71,_0x49f1cd,_0x582a38){const _0x3217e9={_0xa9f86c:0x4e8,_0x201687:0x46d,_0x9e406c:0x67f,_0x13499c:0x8e7,_0x1fd7ff:0x914},_0x27eeef={_0xa717cf:0x188,_0x5d71cd:0x89},_0x375071={_0x24926c:0x23f,_0x137b91:0x9a,_0x151ab1:0xe},_0x3d0873=_0x24015c*_0x49f1cd**_0xc7e6f1;function _0x579578(_0x2adf49,_0x4fb8dd,_0x11e6d6,_0x501e93){return _0xadee61(_0x4fb8dd-_0x375071._0x24926c,_0x11e6d6,_0x11e6d6-_0x375071._0x137b91,_0x501e93-_0x375071._0x151ab1);}const _0x4a4b52=Math[_0x579578(0x6ed,0x5d9,_0x3217e9._0xa9f86c,_0x3217e9._0x201687)](_0x3d0873,_0x4eda71),_0x249cd2=_0x4a4b52*_0x582a38;function _0x116c62(_0x262bcf,_0x4ab666,_0x4f14d4,_0x5891e8){return _0x27e2df(_0x262bcf-0x1ca,_0x262bcf-_0x27eeef._0xa717cf,_0x4f14d4-_0x27eeef._0x5d71cd,_0x4f14d4);}const _0x74a690=_0x249cd2*(Math[_0x579578(0x4c6,0x46d,_0x3217e9._0x9e406c,0x45d)]()*0x2-0x1);return Math['max'](0x0,Math[_0x579578(0x8fa,0x790,_0x3217e9._0x13499c,_0x3217e9._0x1fd7ff)](_0x4a4b52+_0x74a690));}function parseRetryAfterHeader(_0x5cc03c){const _0x239504={_0x17504b:0x99,_0x10318e:0x1b,_0x5ee130:0x204,_0x3fcb13:0x46,_0x67ba10:0x1f3},_0x38f54a={_0x5471c3:0x156};if(!_0x5cc03c)return null;function _0x10f19a(_0x1c968d,_0x3ac7a1,_0x3949eb,_0x4b74d3){return _0xadee61(_0x3949eb- -0x1ac,_0x1c968d,_0x3949eb-0x19a,_0x4b74d3-0xd0);}const _0x13e831=parseInt(_0x5cc03c,0xa);if(!Number[_0x10f19a(-_0x239504._0x17504b,-0x43,0x46,_0x239504._0x10318e)](_0x13e831)&&_0x13e831>=0x0)return _0x13e831*0x3e8;const _0x3a32d4=Date['parse'](_0x5cc03c);if(!Number[_0x10f19a(_0x239504._0x5ee130,0x1a,_0x239504._0x3fcb13,_0x239504._0x67ba10)](_0x3a32d4)){const _0x3e467b=_0x3a32d4-Date['now']();return _0x3e467b>0x0?_0x3e467b:null;}function _0x1995ee(_0x52304c,_0x5ba104,_0x1a2309,_0x3cf4be){return _0x27e2df(_0x52304c-0xc9,_0x3cf4be- -0x39,_0x1a2309-_0x38f54a._0x5471c3,_0x1a2309);}return null;}var DEFAULT_RETRYABLE_STATUS_CODES=[0x198,0x1ad,0x1f4,0x1f6,0x1f7,0x1f8,0x208,0x209,0x20a,0x20b,0x20c],RETRYABLE_NETWORK_ERRORS=[_0xadee61(0x50c,0x4a4,0x3fd,0x53e),_0xadee61(0x3ed,0x383,0x354,0x4eb),_0xadee61(0x487,0x35c,0x2a8,0x645),_0x27e2df(-0x46,0x98,0xd5,0x9c),_0x27e2df(-0x241,-0xc,-0x17a,0xb5),_0xadee61(0x2ac,0x3ee,0x4dc,0x145),_0x27e2df(0x28d,0x2b6,0x13d,0x1bf),_0xadee61(0x50b,0x3bd,0x4e1,0x4ca),_0xadee61(0x1be,0x2c2,0x289,0x3ed),_0xadee61(0x3b5,0x30f,0x174,0x46a),_0x27e2df(0x10f,0x16,0xfd,-0x75),_0xadee61(0x2c6,0x281,0x3a4,0x123),_0x27e2df(0x257,0x1cb,-0x3e,0x13),'aborted\x20due\x20to\x20connection\x20closure'],NON_RETRYABLE_PATTERNS=[_0x27e2df(0x578,0x351,0x120,0x3cd),'unauthorized',_0xadee61(0x40e,0x38f,0x506,0x40d),'not\x20found',_0x27e2df(0x1ea,-0x17,0x168,-0x1e8),_0x27e2df(0x22a,0x1bf,0x3a9,0x182),_0x27e2df(-0x72,0x156,0x7,0x299),'permission',_0x27e2df(0x379,0x2a5,0x28b,0xf8),_0xadee61(0x3af,0x26d,0x20b,0x4a7)];function isRetryableStatusCode(_0x152b20,_0x12c02f=DEFAULT_RETRYABLE_STATUS_CODES){const _0x44dcfb={_0x224c50:0xdf,_0x2e5325:0x150},_0x22f5c5={_0x172d66:0x1f4};function _0x47d6e9(_0x584c6b,_0x435c1b,_0x1cc2e9,_0x13bc2a){return _0xadee61(_0x1cc2e9- -_0x22f5c5._0x172d66,_0x435c1b,_0x1cc2e9-0x107,_0x13bc2a-0x141);}return _0x12c02f[_0x47d6e9(_0x44dcfb._0x224c50,-0x18,0x146,_0x44dcfb._0x2e5325)](_0x152b20);}function isRetryableError(_0x31190d,_0x5dece6=DEFAULT_RETRYABLE_STATUS_CODES){const _0x4ae30d={_0x17a743:0x968,_0x44fd55:0x7e7,_0x2eba13:0x93e,_0x32a8fa:0x601,_0x483c00:0x74f,_0x4f7777:0x954,_0x124267:0x499,_0x3a9e20:0x284,_0x489d30:0x5fc,_0x21a4ba:0x63a,_0x4e6b95:0x5c7,_0x1a081f:0xaf,_0x442620:0x159,_0x754507:0x15a,_0x3321ba:0x2ae,_0x2262de:0x700,_0x31bf5e:0x73b,_0x589da0:0x66e},_0x14cdc8={_0x253165:0xca,_0x3ca51a:0x193},_0x28ecdc={_0x1f6be1:0x95};function _0x2d0c8a(_0x2cb743,_0x4da155,_0x331ed0,_0x287a59){return _0xadee61(_0x4da155-0x401,_0x287a59,_0x331ed0-0x54,_0x287a59-_0x28ecdc._0x1f6be1);}if(!_0x31190d)return![];if(_0x31190d instanceof Error&&_0x31190d[_0x2d0c8a(0x6ea,0x726,0x552,_0x4ae30d._0x17a743)]===_0x2d0c8a(0x742,0x700,0x6f8,_0x4ae30d._0x44fd55))return![];if(_0x31190d instanceof LLMError){if(_0x31190d[_0x2d0c8a(0x5e3,0x74f,0x604,_0x4ae30d._0x2eba13)])return isRetryableStatusCode(_0x31190d[_0x2d0c8a(_0x4ae30d._0x32a8fa,_0x4ae30d._0x483c00,0x706,_0x4ae30d._0x4f7777)],_0x5dece6);return _0x31190d['isRetryable'];}const _0x3e5304=_0x31190d,_0xe09c34=_0x3e5304[_0x5520a(0x456,0x406,_0x4ae30d._0x124267,_0x4ae30d._0x3a9e20)]??_0x3e5304[_0x2d0c8a(0x7e8,0x7c2,0x8f0,_0x4ae30d._0x489d30)];if(_0xe09c34)return isRetryableStatusCode(_0xe09c34,_0x5dece6);const _0x127f57=_0x3e5304['message']?.[_0x2d0c8a(0x820,_0x4ae30d._0x21a4ba,_0x4ae30d._0x4e6b95,0x51f)]()||'',_0x4949fb=_0x3e5304[_0x5520a(-0x8a,0xc4,_0x4ae30d._0x1a081f,_0x4ae30d._0x442620)]?.['toLowerCase']()||'';for(const _0x305601 of NON_RETRYABLE_PATTERNS){if(_0x127f57[_0x5520a(_0x4ae30d._0x754507,_0x4ae30d._0x3321ba,0x105,0x270)](_0x305601)||_0x4949fb['includes'](_0x305601))return![];}for(const _0x714252 of RETRYABLE_NETWORK_ERRORS){if(_0x127f57[_0x2d0c8a(_0x4ae30d._0x2262de,_0x4ae30d._0x31bf5e,0x81e,0x8f9)](_0x714252)||_0x4949fb[_0x2d0c8a(0x5d1,_0x4ae30d._0x31bf5e,0x8f9,_0x4ae30d._0x589da0)](_0x714252))return!![];}function _0x5520a(_0x21f5e0,_0x3aaed3,_0xf27846,_0x3dfb14){return _0xadee61(_0x3dfb14- -_0x14cdc8._0x253165,_0xf27846,_0xf27846-_0x14cdc8._0x3ca51a,_0x3dfb14-0xdb);}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(_0x29b4e8='Operation\x20aborted'){const _0x487a53={_0x160824:0x4ee,_0x1dfa15:0x58b,_0x3371bf:0x4de,_0x21d30c:0x70e,_0x1cfe6c:0x719,_0x5431c4:0x711,_0x5e1ead:0x597},_0x3bb9e4={_0x285982:0x16a,_0xa3ec69:0x10b},_0x164d42={_0x1b941b:0x10d};function _0x3b9410(_0x36075c,_0x1bbbd4,_0x3e2e59,_0x9257df){return _0xadee61(_0x1bbbd4-_0x164d42._0x1b941b,_0x36075c,_0x3e2e59-0x1b3,_0x9257df-0x10a);}super(_0x29b4e8);function _0x15c723(_0x4ac273,_0x31bcd4,_0x294448,_0x8bfcb1){return _0x27e2df(_0x4ac273-_0x3bb9e4._0x285982,_0x8bfcb1-0x2f4,_0x294448-_0x3bb9e4._0xa3ec69,_0x31bcd4);}this[_0x15c723(0x399,0x4ee,0x5cf,0x504)]=_0x15c723(0x547,_0x487a53._0x160824,_0x487a53._0x1dfa15,_0x487a53._0x3371bf),Error[_0x15c723(0x77e,_0x487a53._0x21d30c,_0x487a53._0x1cfe6c,_0x487a53._0x5431c4)]&&Error[_0x15c723(0x936,0x83d,_0x487a53._0x5e1ead,0x711)](this,_AbortError);}},sleep=(_0x1bd7d3,_0x57fedf)=>{const _0x2d55c2={_0x45bcf5:0x4b3,_0x434ee7:0x447,_0x8f0103:0x602,_0x2e9a57:0x336,_0x1bb37:0x4a4},_0xa30d9={_0x5466c0:0x147,_0x43c39b:0x172,_0x1349c6:0xbd};return new Promise((_0x3b5ba9,_0x46d89a)=>{const _0x18615b={_0x460f98:0x1ec};if(_0x57fedf?.['aborted']){_0x46d89a(new AbortError(_0x1ec874(_0x2d55c2._0x45bcf5,0x316,0x6cd,_0x2d55c2._0x434ee7)));return;}const _0x2dd971=setTimeout(_0x3b5ba9,_0x1bd7d3);function _0x4c33bd(_0x2f794e,_0xacb75,_0x50cb3e,_0x298143){return _0x337d(_0x298143- -0x107,_0x50cb3e);}function _0x1ec874(_0x4aef45,_0x2329cb,_0x49e715,_0x347785){return _0x337d(_0x4aef45-_0x18615b._0x460f98,_0x49e715);}_0x57fedf?.['addEventListener'](_0x4c33bd(_0x2d55c2._0x8f0103,_0x2d55c2._0x2e9a57,_0x2d55c2._0x1bb37,0x3e6),()=>{function _0x37600f(_0x1a2aa7,_0xcc0f1d,_0x29aed3,_0x3584ce){return _0x4c33bd(_0x1a2aa7-0x151,_0xcc0f1d-0x13e,_0x3584ce,_0x29aed3- -0xc7);}clearTimeout(_0x2dd971),_0x46d89a(new AbortError(_0x37600f(_0xa30d9._0x5466c0,-_0xa30d9._0x43c39b,0xae,_0xa30d9._0x1349c6)));},{'once':!![]});});},RetryTransport=class{constructor(_0x203ba1,_0x2e81f1={}){const _0x2dc8c5={_0x3bfa6f:0x3f1,_0x2ca721:0x23e,_0x6bf54a:0x2f8,_0x3fa785:0x355,_0x108d2d:0x3c3},_0xa4902d={_0x1aefdb:0x6f},_0x4fba12={_0x38bec2:0x64,_0x3ce466:0x71};function _0x195891(_0x39ecbc,_0x5efb99,_0x30e4d6,_0x40c31f){return _0x27e2df(_0x39ecbc-0x3c,_0x40c31f- -_0x4fba12._0x38bec2,_0x30e4d6-_0x4fba12._0x3ce466,_0x30e4d6);}this[_0x195891(0x4f3,_0x2dc8c5._0x3bfa6f,_0x2dc8c5._0x2ca721,_0x2dc8c5._0x6bf54a)]=_0x203ba1;function _0x50676f(_0x48e354,_0x27ccc7,_0xbe6ae6,_0x4c7cfc){return _0x27e2df(_0x48e354-0xf9,_0xbe6ae6- -0x1a7,_0xbe6ae6-_0xa4902d._0x1aefdb,_0x4c7cfc);}this[_0x195891(_0x2dc8c5._0x3fa785,0x2a6,0x1f1,_0x2dc8c5._0x108d2d)]={...DEFAULT_RETRY_CONFIG,..._0x2e81f1};}[_0xadee61(0x53c,0x4c5,0x626,0x407)];async['get'](_0x202b1b,_0x333cfa,_0x2d54fc){const _0xcc19a2={_0x2f8429:0x187};function _0x39c743(_0x9b35b4,_0x4b5109,_0x166aee,_0x122e3e){return _0x27e2df(_0x9b35b4-_0xcc19a2._0x2f8429,_0x166aee-0x1,_0x166aee-0x159,_0x4b5109);}return this['executeWithRetry'](()=>this[_0x39c743(0x1c0,0x2af,0x35d,0x378)]['get'](_0x202b1b,_0x333cfa,_0x2d54fc),_0x2d54fc);}async[_0xadee61(0x401,0x5ea,0x44b,0x320)](_0x256a44,_0x13aae1,_0xb36f55,_0x20fe41){const _0x49f034={_0x54d614:0x1fc,_0x44fb99:0x1a7,_0x332896:0xb9},_0x315afb={_0x49b5eb:0x21,_0xab705f:0x12e};function _0x4c4a39(_0x451536,_0x1fc68d,_0x55a842,_0x5a206a){return _0x27e2df(_0x451536-0xac,_0x5a206a- -0x56,_0x55a842-0xdd,_0x55a842);}function _0x20ee38(_0x427f55,_0x3693df,_0x169e91,_0x1314e9){return _0x27e2df(_0x427f55-0x123,_0x1314e9-_0x315afb._0x49b5eb,_0x169e91-_0x315afb._0xab705f,_0x427f55);}return this[_0x4c4a39(_0x49f034._0x54d614,_0x49f034._0x44fb99,-_0x49f034._0x332896,0x4e)](()=>this[_0x4c4a39(0x263,0xdf,0x18c,0x306)]['post'](_0x256a44,_0x13aae1,_0xb36f55,_0x20fe41),_0x20fe41);}async[_0x27e2df(0xb4,0xa4,0x26d,-0x8a)](_0x5c04b2,_0x1ad532){const _0x4133b1={_0x14eba3:0xa51,_0x352dcd:0x70d,_0x128f17:0x899,_0x324381:0x520,_0x24bd5d:0x578,_0x1467bb:0x49c,_0x57e61e:0x37a,_0x56ec87:0x626,_0xae73f8:0x5d5,_0x517ab8:0x788,_0x2bd272:0x63f,_0x403c5b:0x636,_0x5a056a:0x6fb,_0x57a20d:0x5db,_0x5b9dcf:0x63f,_0x47639a:0x4d5,_0x4042f1:0x8ec,_0x3aa38d:0x7e2,_0x14403b:0x70c,_0x2c36e0:0x53b,_0x10148e:0x601,_0x116010:0x709,_0x42c153:0x6a9,_0x43dbf5:0x4d6,_0x251a3c:0x9a9,_0x2565bf:0x9e2,_0x50e10f:0x6e2,_0x3b6da3:0x4f6,_0x5b092b:0x746,_0x27d02f:0x7f1,_0x3a77ae:0xb3d,_0x582afa:0x82c,_0x46438a:0x73a,_0x2ef51d:0x5bf,_0x4a7536:0x452,_0x24896f:0x5fc,_0x4614ca:0x406,_0x1c1833:0x91e,_0x41d627:0x717,_0x54ea06:0x7ba,_0x552eb4:0x3b0,_0x556c61:0x64f,_0x22a467:0x5ae,_0x3cdc03:0x8dc,_0x323249:0x44d,_0x2c111e:0x677,_0x56b256:0xacd,_0x5ad2a8:0x3ff,_0x4b5f91:0x45d,_0x2e8c61:0x77d,_0x5c4519:0x7e0,_0x15ec21:0xb7b,_0x5c2f9b:0x5fd,_0x1d4781:0x4e5,_0x3645d7:0x590,_0x13b028:0x736,_0x257b62:0x975},_0x50a3e0={_0x574e88:0x114,_0xbe433e:0x393,_0xc873cc:0xa0},_0x406f8c={_0x16aa2b:0xa0,_0xa90421:0x536,_0x59fdc5:0x189};function _0x429668(_0x1aa1a9,_0x52a53a,_0x2ae67e,_0x56b786){return _0x27e2df(_0x1aa1a9-_0x406f8c._0x16aa2b,_0x2ae67e-_0x406f8c._0xa90421,_0x2ae67e-_0x406f8c._0x59fdc5,_0x56b786);}let _0x530eb8,_0x1bbce4=0x0;while(_0x1bbce4<=this[_0x429668(0x988,0x930,0x95d,_0x4133b1._0x14eba3)][_0x27f11b(0x566,0x564,0x41f,0x3ce)]){if(_0x1ad532?.[_0x27f11b(_0x4133b1._0x352dcd,0x87e,_0x4133b1._0x128f17,_0x4133b1._0x324381)])throw new AbortError(_0x27f11b(_0x4133b1._0x24bd5d,_0x4133b1._0x1467bb,_0x4133b1._0x57e61e,_0x4133b1._0x56ec87));try{const _0x38f2d5=await _0x5c04b2();if(this[_0x429668(_0x4133b1._0xae73f8,_0x4133b1._0x517ab8,0x5d1,0x464)](_0x38f2d5)){const _0x3b3618=new Error('HTTP\x20'+_0x38f2d5[_0x27f11b(_0x4133b1._0x2bd272,_0x4133b1._0x403c5b,_0x4133b1._0x5a056a,_0x4133b1._0x57a20d)]);_0x3b3618[_0x27f11b(_0x4133b1._0x5b9dcf,0x5dc,0x44a,_0x4133b1._0x47639a)]=_0x38f2d5[_0x429668(_0x4133b1._0x4042f1,0x6fc,_0x4133b1._0x3aa38d,_0x4133b1._0x14403b)];if(_0x1bbce4<this['config'][_0x429668(_0x4133b1._0x2c36e0,_0x4133b1._0x10148e,_0x4133b1._0x116010,0x806)]){const _0x36e509=this[_0x27f11b(_0x4133b1._0x42c153,_0x4133b1._0x43dbf5,0x7d6,0x58f)](_0x38f2d5,_0x1bbce4);this[_0x27f11b(0x7ba,_0x4133b1._0x251a3c,_0x4133b1._0x2565bf,_0x4133b1._0x50e10f)][_0x27f11b(0x405,0x22e,0x53f,_0x4133b1._0x3b6da3)]?.(_0x1bbce4+0x1,_0x3b3618,_0x36e509),await sleep(_0x36e509,_0x1ad532),_0x1bbce4++;continue;}_0x530eb8=_0x3b3618;break;}return _0x38f2d5;}catch(_0x392ae8){if(_0x392ae8 instanceof AbortError||_0x392ae8 instanceof Error&&_0x392ae8[_0x429668(0x8ba,0x701,_0x4133b1._0x5b092b,0x7fd)]===_0x429668(0x50d,0x88a,0x720,_0x4133b1._0x27d02f))throw _0x392ae8;_0x530eb8=_0x392ae8 instanceof Error?_0x392ae8:new Error(String(_0x392ae8));if(!isRetryableError(_0x530eb8,this[_0x429668(_0x4133b1._0x3a77ae,_0x4133b1._0x582afa,0x95d,_0x4133b1._0x46438a)][_0x27f11b(_0x4133b1._0x2ef51d,_0x4133b1._0x4a7536,_0x4133b1._0x24896f,0x712)]))throw _0x530eb8;if(_0x1bbce4<this['config'][_0x27f11b(0x566,0x34a,_0x4133b1._0x4614ca,0x6c6)]){const _0x1778c3=calculateBackoff(_0x1bbce4,this['config'][_0x429668(_0x4133b1._0x1c1833,0xaea,0x8bd,_0x4133b1._0x41d627)],this[_0x27f11b(_0x4133b1._0x54ea06,0x869,0x73f,0x6de)][_0x429668(_0x4133b1._0x552eb4,_0x4133b1._0x556c61,_0x4133b1._0x22a467,0x748)],this[_0x429668(0x9ab,_0x4133b1._0x3cdc03,0x95d,0xa35)][_0x27f11b(_0x4133b1._0x323249,0x5c5,_0x4133b1._0x2c111e,0x63f)],this[_0x429668(_0x4133b1._0x56b256,0x85f,0x95d,0x7f2)][_0x27f11b(0x572,0x39f,_0x4133b1._0x5ad2a8,_0x4133b1._0x4b5f91)]);this[_0x429668(_0x4133b1._0x2e8c61,_0x4133b1._0x5c4519,0x95d,_0x4133b1._0x15ec21)][_0x27f11b(0x405,_0x4133b1._0x5c2f9b,_0x4133b1._0x1d4781,0x34e)]?.(_0x1bbce4+0x1,_0x530eb8,_0x1778c3),await sleep(_0x1778c3,_0x1ad532),_0x1bbce4++;}else break;}}if(_0x530eb8){this['config'][_0x429668(0x798,0x468,_0x4133b1._0x3645d7,0x4a3)]?.(_0x530eb8,_0x1bbce4+0x1);throw _0x530eb8;}function _0x27f11b(_0x225537,_0x197ce7,_0x4decae,_0x3058c4){return _0x27e2df(_0x225537-_0x50a3e0._0x574e88,_0x225537-_0x50a3e0._0xbe433e,_0x4decae-_0x50a3e0._0xc873cc,_0x4decae);}throw new Error(_0x27f11b(_0x4133b1._0x13b028,_0x4133b1._0x257b62,0x71b,0x75e));}[_0x27e2df(0x161,0x9b,0xf0,-0x170)](_0x4ff6ba){const _0x248cec={_0x6ebfe0:0x5dc,_0x576372:0x4cd},_0x518327={_0x9532b4:0x1e,_0x570cc0:0x169};function _0x4de0ca(_0x58bd17,_0x323344,_0x59be41,_0x17c7d1){return _0x27e2df(_0x58bd17-_0x518327._0x9532b4,_0x17c7d1-0x221,_0x59be41-_0x518327._0x570cc0,_0x59be41);}return isRetryableStatusCode(_0x4ff6ba[_0x4de0ca(0x606,0x522,_0x248cec._0x6ebfe0,_0x248cec._0x576372)],this['config']['retryableStatusCodes']);}['getDelayForResponse'](_0x58dccb,_0x29f09e){const _0xcaf58e={_0x590746:0x19,_0x167add:0x49,_0x2f5c30:0x76,_0x432d1a:0xb1,_0x49e50b:0x237,_0x2cf614:0x7d,_0x3de5a9:0x158,_0x9634a8:0xe4,_0xb27fac:0xac,_0x293695:0x8f,_0x254265:0x393,_0x383f7f:0x1fe,_0x42817f:0x36b,_0x410205:0x146,_0x7b6767:0x44,_0x30c333:0x63,_0x4ffa82:0x1d5,_0x4ba4ec:0x184,_0x60ca95:0x36b,_0x4c4e55:0x154,_0x181d9b:0xe2,_0x476ec6:0x4a,_0x3a5d9a:0x275,_0x4f6124:0x267,_0x80a548:0x40a,_0x4ba5ea:0x123},_0x280025={_0x455a47:0x2c7,_0x47a77c:0x36};function _0x8ef045(_0x2b70ed,_0x5158da,_0x6c306b,_0x4708c5){return _0xadee61(_0x5158da- -0x1d1,_0x2b70ed,_0x6c306b-0x1c5,_0x4708c5-0x1f2);}const _0x200ff0='headers'in _0x58dccb&&_0x58dccb[_0x8e2850(0x49,_0xcaf58e._0x590746,-0x35,0x21d)]instanceof Headers?_0x58dccb[_0x8e2850(_0xcaf58e._0x167add,-_0xcaf58e._0x2f5c30,0x46,-_0xcaf58e._0x432d1a)]:null,_0x373303=_0x200ff0?.[_0x8e2850(-0x144,-_0xcaf58e._0x49e50b,_0xcaf58e._0x2cf614,-_0xcaf58e._0x3de5a9)](_0x8ef045(-_0xcaf58e._0x9634a8,_0xcaf58e._0xb27fac,0x1a4,0xe8))??null;function _0x8e2850(_0x271ce7,_0xfd6ed9,_0x14e609,_0x221094){return _0xadee61(_0x271ce7- -_0x280025._0x455a47,_0x221094,_0x14e609-0xce,_0x221094-_0x280025._0x47a77c);}const _0x529906=parseRetryAfterHeader(_0x373303);if(_0x529906!==null)return Math[_0x8ef045(_0xcaf58e._0x293695,0x1c9,_0xcaf58e._0x254265,_0xcaf58e._0x383f7f)](_0x529906,this[_0x8ef045(0x3af,_0xcaf58e._0x42817f,0x4e4,0x1e3)][_0x8ef045(_0xcaf58e._0x410205,-_0xcaf58e._0x7b6767,-_0xcaf58e._0x30c333,-0x3a)]);return calculateBackoff(_0x29f09e,this['config'][_0x8e2850(_0xcaf58e._0x4ffa82,0x2fa,0x29f,0x12b)],this[_0x8e2850(0x275,0x3aa,0x38b,0x32a)][_0x8ef045(-0x20a,-_0xcaf58e._0x7b6767,-0x285,_0xcaf58e._0x4ba4ec)],this[_0x8ef045(0x366,_0xcaf58e._0x60ca95,_0xcaf58e._0x4c4e55,0x318)][_0x8e2850(-0xf8,-_0xcaf58e._0x181d9b,_0xcaf58e._0x476ec6,-0x1f9)],this[_0x8e2850(_0xcaf58e._0x3a5d9a,_0xcaf58e._0x4f6124,_0xcaf58e._0x80a548,0x15b)][_0x8ef045(0x191,_0xcaf58e._0x4ba5ea,-0x115,0x98)]);}},CLIENT_ID=_0xadee61(0x502,0x564,0x36c,0x535),DEFAULT_BASE_URL='https://api.anthropic.com/v1',AnthropicAuthTransport=class{[_0xadee61(0x471,0x3d4,0x392,0x2c2)];[_0x27e2df(0x353,0x3ac,0x3dc,0x42c)];[_0xadee61(0x353,0x2b2,0x350,0x262)];['apiKey'];[_0x27e2df(0x182,0x10,0x14f,0x18b)];[_0xadee61(0x1e0,0x392,0x177,0x16d)];[_0xadee61(0x4b4,0x5bb,0x517,0x444)]=null;constructor(_0xe23301,_0x139007){const _0x2310ac={_0x4238ef:0x47e,_0x564f28:0x68b,_0x8f99b8:0x42f,_0x5635d2:0x3c6,_0x599e01:0x210,_0x12d962:0x3f9,_0x53d1fa:0x191,_0x33f01a:0x809,_0x1b7e6f:0x887,_0x53860e:0x657,_0x17ab66:0x5d2,_0x10a039:0x2f6,_0x28abae:0x421,_0x27f607:0x7b8,_0xe7fdc1:0x844,_0x8fbc10:0x80f},_0x323cab={_0x18e9fa:0xd7},_0x5e841d={_0x995b82:0x180};this[_0x5daa16(_0x2310ac._0x4238ef,_0x2310ac._0x564f28,_0x2310ac._0x8f99b8,_0x2310ac._0x5635d2)]=_0xe23301;function _0x5daa16(_0x19f4c5,_0x4b8e01,_0x11abc3,_0x3507b0){return _0xadee61(_0x19f4c5-0xd,_0x11abc3,_0x11abc3-0x1f0,_0x3507b0-_0x5e841d._0x995b82);}this['apiKey']=_0x139007[_0x5daa16(_0x2310ac._0x599e01,_0x2310ac._0x12d962,0xdf,_0x2310ac._0x53d1fa)],this['oauth']=_0x139007['oauth'],this['baseUrl']=_0x139007[_0x5ca40e(_0x2310ac._0x33f01a,0x917,_0x2310ac._0x1b7e6f,_0x2310ac._0x53860e)]??DEFAULT_BASE_URL;function _0x5ca40e(_0x40f898,_0x33fc86,_0x18a3c9,_0x25e2bb){return _0xadee61(_0x40f898-0x348,_0x18a3c9,_0x18a3c9-_0x323cab._0x18e9fa,_0x25e2bb-0x1f3);}this[_0x5ca40e(0x528,0x39d,0x729,0x57b)]=_0x139007[_0x5ca40e(0x528,_0x2310ac._0x17ab66,_0x2310ac._0x10a039,0x377)],this[_0x5daa16(0x360,0x3e7,_0x2310ac._0x28abae,0x412)]=_0x139007[_0x5ca40e(0x728,_0x2310ac._0x27f607,_0x2310ac._0xe7fdc1,_0x2310ac._0x8fbc10)];}async['refreshAccessToken'](){const _0x1eadcf={_0x128ea3:0x180,_0x2002f5:0x2b,_0x45c8b5:0x2b8,_0x280f3f:0x42a,_0x361fa0:0xe4,_0x1b959b:0x478,_0x1d4b68:0x38c,_0x7f55a3:0xd2,_0xcc037f:0x3dd,_0xac83a0:0x2ce,_0x45ea2a:0x25b,_0x109283:0x2ac,_0x810cac:0x580,_0x434d75:0x8e,_0x36765f:0x217,_0x4b4621:0x37e,_0x57aa28:0x2d7,_0x4d21b0:0x11d,_0x2bcf04:0x275,_0x5a86ab:0x320,_0x3df396:0x3ee,_0x5cb601:0x22c},_0x20f57f={_0x44741b:0x39},_0x536226={_0x1d38cc:0x17c,_0x3f96cd:0x3b,_0x42cad6:0xb7};if(!this[_0x39a261(_0x1eadcf._0x128ea3,-0x19b,-_0x1eadcf._0x2002f5,-0xb3)])return{'type':_0x39a261(_0x1eadcf._0x45c8b5,0x248,0x22c,_0x1eadcf._0x280f3f)};function _0x39a261(_0x11100f,_0x26fdc8,_0x1c5370,_0x589cd5){return _0x27e2df(_0x11100f-_0x536226._0x1d38cc,_0x1c5370- -_0x536226._0x3f96cd,_0x1c5370-_0x536226._0x42cad6,_0x11100f);}function _0x38c766(_0x41d697,_0x1e8946,_0x29e6fc,_0xe22ef8){return _0xadee61(_0x41d697-_0x20f57f._0x44741b,_0xe22ef8,_0x29e6fc-0x18c,_0xe22ef8-0x159);}try{const _0x53d358=await fetch(_0x39a261(0x17e,_0x1eadcf._0x361fa0,0x18c,0x258),{'method':_0x38c766(0x5a8,_0x1eadcf._0x1b959b,0x4e2,_0x1eadcf._0x1d4b68),'headers':{'Content-Type':'application/json'},'body':JSON[_0x38c766(0x228,_0x1eadcf._0x7f55a3,_0x1eadcf._0xcc037f,_0x1eadcf._0xac83a0)]({'grant_type':'refresh_token','refresh_token':this['oauth'][_0x38c766(0x23a,0x2c9,0x1f,0xe5)],'client_id':CLIENT_ID})});if(!_0x53d358['ok'])return{'type':_0x38c766(0x3b5,_0x1eadcf._0x45ea2a,_0x1eadcf._0x109283,_0x1eadcf._0x810cac)};const _0x48f3ba=await _0x53d358['json']();return{'type':_0x39a261(-0xe7,0x28d,_0x1eadcf._0x434d75,0x259),'access':_0x48f3ba[_0x38c766(0x2ec,_0x1eadcf._0x36765f,_0x1eadcf._0x4b4621,0x2b9)],'refresh':_0x48f3ba[_0x38c766(_0x1eadcf._0x57aa28,_0x1eadcf._0x4d21b0,_0x1eadcf._0x2bcf04,0x139)],'expires':Date[_0x39a261(_0x1eadcf._0x2bcf04,_0x1eadcf._0x5a86ab,0x39c,_0x1eadcf._0x3df396)]()+_0x48f3ba['expires_in']*0x3e8};}catch{return{'type':_0x39a261(-0x15,0x40d,_0x1eadcf._0x5cb601,0x2f3)};}}[_0xadee61(0x4a4,0x540,0x2b4,0x3ef)](_0x277bb9){const _0xe4b4ec={_0x1e6ecf:0x16d,_0x599f5d:0x20e,_0x58f32c:0x365,_0x2b7eae:0x3ed,_0x3032dc:0x2b6,_0x3df32d:0x55f,_0x2faf9b:0x50a,_0x1f5ffc:0x75f,_0x1db6a2:0x6bf,_0x3062d8:0x544,_0x4f4b7c:0x5a7,_0xd4fc7d:0x2f5,_0x2004cf:0xff,_0x470c9f:0x156,_0x39cf3d:0x66c,_0x3957c1:0x417,_0xb4fd26:0x313,_0x2973b4:0x5a9,_0x265457:0x2aa,_0x32ff30:0x6bb,_0x1729e9:0x8ef,_0x2577a6:0x378,_0x879d9c:0x314,_0x5a0254:0x1db,_0x5f51ab:0x11,_0x12c22b:0x400,_0x478a29:0x31b,_0x4d59ff:0x346,_0x556e85:0x42e,_0x1360d8:0x5b0,_0x21a202:0x215,_0xe98c67:0x248,_0x2d31ad:0x279,_0x44e41d:0x251,_0xb35d20:0xb0,_0x54ef5f:0x4b8,_0x3befa1:0x686,_0x5bfd27:0x699},_0x44a216={_0x4ba76c:0x26,_0xbbad91:0xdf},_0x36700b={_0x34b897:0x147};function _0x4c8b71(_0x161383,_0x2a7772,_0x4033d6,_0x3d958a){return _0x27e2df(_0x161383-0xd4,_0x4033d6-0x41e,_0x4033d6-_0x36700b._0x34b897,_0x2a7772);}function _0x21d63f(_0x2e8626,_0x1cb9fe,_0x1ac876,_0x39456a){return _0xadee61(_0x1ac876- -_0x44a216._0x4ba76c,_0x39456a,_0x1ac876-0x179,_0x39456a-_0x44a216._0xbbad91);}_0x277bb9[_0x21d63f(_0xe4b4ec._0x1e6ecf,0x182,0x306,_0xe4b4ec._0x599f5d)]===_0x4c8b71(_0xe4b4ec._0x58f32c,_0xe4b4ec._0x2b7eae,0x4e7,_0xe4b4ec._0x3032dc)&&_0x277bb9['access']&&_0x277bb9[_0x4c8b71(_0xe4b4ec._0x3df32d,0x657,_0xe4b4ec._0x2faf9b,0x39e)]&&_0x277bb9[_0x4c8b71(_0xe4b4ec._0x1f5ffc,_0xe4b4ec._0x1db6a2,_0xe4b4ec._0x3062d8,_0xe4b4ec._0x4f4b7c)]&&(this[_0x21d63f(0xbf,_0xe4b4ec._0xd4fc7d,_0xe4b4ec._0x2004cf,_0xe4b4ec._0x470c9f)]&&(this[_0x4c8b71(0x63a,_0xe4b4ec._0x39cf3d,0x42e,_0xe4b4ec._0x3957c1)][_0x21d63f(_0xe4b4ec._0xb4fd26,_0xe4b4ec._0x2973b4,0x38c,_0xe4b4ec._0x265457)]=_0x277bb9[_0x4c8b71(0x573,0x886,_0xe4b4ec._0x32ff30,_0xe4b4ec._0x1729e9)],this[_0x4c8b71(_0xe4b4ec._0x2577a6,_0xe4b4ec._0x879d9c,0x42e,0x57f)][_0x21d63f(-0x59,0x1d0,_0xe4b4ec._0x5a0254,-_0xe4b4ec._0x5f51ab)]=_0x277bb9[_0x4c8b71(0x375,_0xe4b4ec._0x12c22b,0x50a,_0xe4b4ec._0x478a29)],this[_0x4c8b71(0x596,_0xe4b4ec._0x4d59ff,_0xe4b4ec._0x556e85,_0xe4b4ec._0x1360d8)]['expires']=_0x277bb9[_0x21d63f(0x445,0x36b,_0xe4b4ec._0x21a202,_0xe4b4ec._0xe98c67)]),this['onTokenUpdate']?.({'access':_0x277bb9['access'],'refresh':_0x277bb9[_0x21d63f(_0xe4b4ec._0x2d31ad,_0xe4b4ec._0x44e41d,_0xe4b4ec._0x5a0254,_0xe4b4ec._0xb35d20)],'expires':_0x277bb9[_0x4c8b71(_0xe4b4ec._0x54ef5f,_0xe4b4ec._0x3befa1,0x544,_0xe4b4ec._0x5bfd27)]}));}async[_0x27e2df(0xd2,0x173,-0xca,0x338)](){const _0x2d3076={_0x30a235:0x30f,_0x34f9a1:0x32d,_0x1bbc59:0x382,_0x59effe:0x21f,_0x1310ec:0x569,_0x19b8a5:0x48a,_0x2df4a6:0x789,_0x354a07:0x5bd,_0xe5647f:0x267,_0x13592b:0x26,_0x4505d6:0x14b,_0x599a2c:0xbd,_0x58d21a:0xe7,_0x2f9e40:0x2cf,_0x584cb1:0x402,_0x45be32:0x272,_0x22b844:0x430,_0x3c1bd4:0x63,_0x4d4eb8:0x1eb,_0x2ec053:0x2a3,_0x2c6720:0x3e1,_0x251330:0x446,_0xda8264:0xb6,_0x263c5a:0xb7,_0x9ca3ff:0x284,_0x1b1715:0x21f},_0x56e2f9={_0x2d5e04:0xd2},_0x1158bf={_0xc007f5:0xb5,_0x5d6b6e:0x4a};function _0x352522(_0x33dcd5,_0x3f2caa,_0x25f71e,_0x4f29c3){return _0xadee61(_0x33dcd5-_0x1158bf._0xc007f5,_0x25f71e,_0x25f71e-_0x1158bf._0x5d6b6e,_0x4f29c3-0x1c1);}if(!this[_0xd84cfa(0xbc,-_0x2d3076._0x30a235,-_0x2d3076._0x34f9a1,-0x170)])return;function _0xd84cfa(_0x5b4f9d,_0x37e110,_0x53cae5,_0x5be9b1){return _0x27e2df(_0x5b4f9d-_0x56e2f9._0x2d5e04,_0x5be9b1- -0x180,_0x53cae5-0x159,_0x53cae5);}if(this[_0xd84cfa(_0x2d3076._0x1bbc59,0x126,0x54,_0x2d3076._0x59effe)]){const _0xb4fb54=await this[_0x352522(_0x2d3076._0x1310ec,_0x2d3076._0x19b8a5,_0x2d3076._0x2df4a6,0x688)];if(_0xb4fb54[_0x352522(0x3e1,_0x2d3076._0x354a07,_0x2d3076._0xe5647f,0x430)]===_0xd84cfa(-_0x2d3076._0x13592b,-_0x2d3076._0x4505d6,-_0x2d3076._0x599a2c,_0x2d3076._0x58d21a))throw new Error(_0x352522(_0x2d3076._0x2f9e40,0x329,_0x2d3076._0x584cb1,_0x2d3076._0x45be32));return;}this['refreshPromise']=this[_0xd84cfa(_0x2d3076._0x22b844,_0x2d3076._0x3c1bd4,_0x2d3076._0x4d4eb8,_0x2d3076._0x2ec053)]();try{const _0x10bd91=await this[_0xd84cfa(0x178,0x54,0x15f,0x21f)];if(_0x10bd91[_0x352522(_0x2d3076._0x2c6720,_0x2d3076._0x251330,0x4f8,0x429)]===_0xd84cfa(-_0x2d3076._0x4505d6,_0x2d3076._0xda8264,-0xf5,-_0x2d3076._0x263c5a))this[_0xd84cfa(0x11c,0x416,0x108,0x20f)](_0x10bd91);else throw new Error('Token\x20refresh\x20failed');}finally{this[_0xd84cfa(_0x2d3076._0x9ca3ff,0x14b,0x2a2,_0x2d3076._0x1b1715)]=null;}}[_0x27e2df(0x35,0x1da,0x398,0x405)](_0x5c2c7c){const _0x2dcc6b={_0x5d9109:0x355,_0x3604e3:0x250,_0x1ab0b7:0x3d9,_0x84d32b:0x629,_0x5a58fe:0x5d3},_0x3984d8={_0x118cd8:0x27d},_0x1d6f4c={_0x4a12bc:0x1e9};function _0x18e95e(_0x5efc1d,_0x301169,_0x2685da,_0x337730){return _0xadee61(_0x5efc1d-0x219,_0x337730,_0x2685da-0x1d1,_0x337730-_0x1d6f4c._0x4a12bc);}function _0x1fec08(_0xa789ef,_0x40e41c,_0xcef0d8,_0x4a737b){return _0x27e2df(_0xa789ef-0x41,_0xa789ef-_0x3984d8._0x118cd8,_0xcef0d8-0xf7,_0x40e41c);}if(_0x5c2c7c[_0x1fec08(_0x2dcc6b._0x5d9109,_0x2dcc6b._0x3604e3,0x1c6,_0x2dcc6b._0x1ab0b7)]('/'))return''+this[_0x1fec08(_0x2dcc6b._0x84d32b,_0x2dcc6b._0x5a58fe,0x6a0,0x42b)]+_0x5c2c7c;return _0x5c2c7c;}['makeAuthHeaders'](_0x1f425f){const _0x41faa7={_0x121a8e:0x93,_0x36fc0e:0x7f,_0x25c0bb:0x1e6,_0x86f462:0x115,_0x279381:0x5f0,_0x3a8f44:0x684,_0x3d66a9:0x797,_0x9b16eb:0x88f,_0x491939:0x11f,_0x1dd13e:0x305,_0x4f1d43:0x4e4,_0x4f7a80:0x73b,_0x33592a:0x64a,_0x1c7ba4:0x5fe,_0x461bbf:0x3d0,_0x42a2a9:0x49b,_0x4cf361:0x70b,_0x5e7749:0x8d3},_0x430b62={_0x423268:0x1bc},_0x16c560={_0x1bf14e:0x147,_0x548270:0x18a};function _0x3f937b(_0x2b2329,_0x297176,_0x1cc44a,_0x2866c5){return _0xadee61(_0x2866c5- -0x10,_0x297176,_0x1cc44a-_0x16c560._0x1bf14e,_0x2866c5-_0x16c560._0x548270);}const _0x3af35b={'anthropic-version':'2023-06-01','anthropic-beta':_0x3f937b(_0x41faa7._0x121a8e,0x218,_0x41faa7._0x36fc0e,_0x41faa7._0x25c0bb),..._0x1f425f||{}};if(this[_0x3f937b(-0x13,0x11c,0x184,_0x41faa7._0x86f462)])_0x3af35b[_0x18a9df(_0x41faa7._0x279381,_0x41faa7._0x3a8f44,_0x41faa7._0x3d66a9,_0x41faa7._0x9b16eb)]='Bearer\x20'+this[_0x3f937b(-_0x41faa7._0x491939,0x102,_0x41faa7._0x1dd13e,0x115)][_0x18a9df(_0x41faa7._0x4f1d43,_0x41faa7._0x4f7a80,_0x41faa7._0x33592a,0x644)];else this[_0x18a9df(_0x41faa7._0x1c7ba4,_0x41faa7._0x461bbf,_0x41faa7._0x42a2a9,0x294)]&&(_0x3af35b[_0x18a9df(0x803,0x942,_0x41faa7._0x4cf361,_0x41faa7._0x5e7749)]=this['apiKey']);function _0x18a9df(_0x139419,_0x597ea7,_0x15823d,_0x56a926){return _0x27e2df(_0x139419-0xbc,_0x15823d-0x3ad,_0x15823d-_0x430b62._0x423268,_0x139419);}return _0x3af35b;}async[_0x27e2df(-0x1d3,0x6e,0x257,0xdf)](_0x302d43,_0x24cbfd,_0x44f4d1){const _0x447fe8={_0x29d836:0xed,_0x251ccd:0x5b,_0x1ff695:0x1dd,_0x2a6ef0:0x111,_0x3f73b3:0x12f,_0x2878cb:0x170,_0x2ae574:0x250,_0xc08da9:0x20d,_0x2e5ef2:0x626,_0x57eed9:0x40a,_0x3b3197:0x5fd,_0x42fb66:0xb0,_0xa5cc22:0x355,_0x13f828:0x237,_0x44ea67:0x11,_0x484eb4:0x1f0,_0x524bb4:0x25,_0x2664fd:0x3eb},_0x4b3220={_0x4c2ff0:0x153},_0x741a07={_0xb09b4b:0x73,_0x5bdb7d:0x14f};function _0x5b20ba(_0x5167af,_0x52a235,_0x3eefb0,_0x4c4616){return _0x27e2df(_0x5167af-_0x741a07._0xb09b4b,_0x52a235-0x15e,_0x3eefb0-_0x741a07._0x5bdb7d,_0x4c4616);}function _0x246213(_0xb2c3a1,_0x1d7fa0,_0x17a7ee,_0x45b44f){return _0x27e2df(_0xb2c3a1-0x13d,_0x1d7fa0- -0x17f,_0x17a7ee-_0x4b3220._0x4c2ff0,_0x17a7ee);}const _0x28e952=this[_0x246213(_0x447fe8._0x29d836,_0x447fe8._0x251ccd,0x246,-0x1e3)](_0x302d43);let _0x355133=await this[_0x246213(0xbe,_0x447fe8._0x1ff695,0x121,0x11e)][_0x246213(-0x2c3,-_0x447fe8._0x2a6ef0,-_0x447fe8._0x3f73b3,-_0x447fe8._0x2878cb)](_0x28e952,this[_0x246213(0x333,_0x447fe8._0x2ae574,_0x447fe8._0xc08da9,0x1b)](_0x24cbfd),_0x44f4d1);return(_0x355133[_0x5b20ba(_0x447fe8._0x2e5ef2,_0x447fe8._0x57eed9,0x3d0,0x3d9)]===0x191||_0x355133[_0x5b20ba(0x24d,0x40a,0x5c5,_0x447fe8._0x3b3197)]===0x193)&&this[_0x246213(-_0x447fe8._0x42fb66,-0x16f,0x10,-_0x447fe8._0xa5cc22)]&&(await this[_0x246213(0x143,-0xc,_0x447fe8._0x13f828,0x1f9)](),_0x355133=await this[_0x246213(_0x447fe8._0x44ea67,_0x447fe8._0x1ff695,_0x447fe8._0x484eb4,0xc0)][_0x5b20ba(-_0x447fe8._0x524bb4,0x1cc,_0x447fe8._0x2664fd,0x3e5)](_0x28e952,this['makeAuthHeaders'](_0x24cbfd),_0x44f4d1)),_0x355133;}async['post'](_0x5b91b6,_0x354758,_0x463954,_0x248438){const _0x9270c9={_0x243336:0x9d,_0x4d5646:0x32d,_0x200b0a:0x180,_0x3423a8:0x333,_0x5e7d58:0x28d,_0x9902ff:0x52,_0x196d42:0x276,_0x1e40a7:0x289,_0x5ab15a:0x14,_0x20bfc9:0x108,_0x20abef:0x11e,_0x5395f1:0x73,_0x2ef0b5:0x42,_0x237089:0x2ff},_0x3d2eb1={_0x39f31c:0x364,_0x1fff43:0x19},_0x314132={_0x57a19f:0x134};function _0x492f35(_0x2f49dd,_0x162ccd,_0x1ee4db,_0x2e5c81){return _0xadee61(_0x2e5c81- -_0x314132._0x57a19f,_0x2f49dd,_0x1ee4db-0x168,_0x2e5c81-0xed);}function _0x57e98b(_0x1de140,_0x375b35,_0x1513a0,_0x5bfad6){return _0xadee61(_0x375b35- -_0x3d2eb1._0x39f31c,_0x1de140,_0x1513a0-0x159,_0x5bfad6-_0x3d2eb1._0x1fff43);}const _0x3ee4b3=this['buildFullUrl'](_0x5b91b6);let _0x407ce9=await this[_0x492f35(0x1de,0x232,0x37c,0x33d)][_0x57e98b(0x276,_0x9270c9._0x243336,0x295,0xaf)](_0x3ee4b3,_0x354758,this[_0x57e98b(_0x9270c9._0x4d5646,_0x9270c9._0x200b0a,0x1e2,0x9f)](_0x463954),_0x248438);return(_0x407ce9[_0x492f35(_0x9270c9._0x3423a8,0x226,0x349,_0x9270c9._0x5e7d58)]===0x191||_0x407ce9[_0x57e98b(-0x177,0x5d,-_0x9270c9._0x9902ff,_0x9270c9._0x196d42)]===0x193)&&this['oauth']&&(await this[_0x57e98b(-_0x9270c9._0x1e40a7,-0xdc,-_0x9270c9._0x5ab15a,_0x9270c9._0x20bfc9)](),_0x407ce9=await this['inner'][_0x57e98b(-_0x9270c9._0x20abef,_0x9270c9._0x243336,-0x1b,_0x9270c9._0x5395f1)](_0x3ee4b3,_0x354758,this[_0x57e98b(-_0x9270c9._0x2ef0b5,0x180,_0x9270c9._0x237089,0xfd)](_0x463954),_0x248438)),_0x407ce9;}[_0x27e2df(0x47b,0x402,0x3af,0x321)](){const _0x317176={_0x36a451:0x46f,_0x1f55b3:0x6a8,_0x337551:0x5e9};function _0x33347b(_0x142a8e,_0x24a444,_0x2050e4,_0x2647cc){return _0xadee61(_0x2050e4-0x296,_0x24a444,_0x2050e4-0x119,_0x2647cc-0x20);}return new RetryTransport(this,this[_0x33347b(_0x317176._0x36a451,_0x317176._0x1f55b3,_0x317176._0x337551,0x6bc)]);}['createFetchFunction'](){const _0x292025={_0x1e5771:0x235,_0x105bd2:0x167,_0x3c9548:0x10e,_0x3fc993:0x3b4,_0x30bdc2:0x1b7,_0x1ddb98:0x288,_0x1fbf4c:0xeb,_0x280bbd:0x2c5,_0x1f8643:0x10a,_0x3f72ba:0x198,_0x56874a:0x2ad,_0x26c70e:0x22d,_0x4e7667:0x279,_0x134577:0x161,_0x8b88a:0x35b,_0x488290:0x43,_0xe87acf:0x80,_0xd41ed3:0x5f,_0x513f48:0x175,_0xee11a5:0x17e,_0x324a34:0x1bc,_0x53cb52:0x3,_0x2c6767:0x3ac,_0x1ba8a9:0x37c,_0x5d2367:0x455},_0x34fc83={_0x2cafc7:0x838,_0xf929ea:0x861,_0x4fe350:0x565,_0x16ad12:0x4c8},_0x263b46={_0x2ab9f2:0x28c},_0x1a522f={_0x3ca883:0x40c,_0x581e15:0x27e},_0x3039dc={_0x1b8417:0xba,_0x107011:0x160,_0xdc27e6:0x2fc,_0x87d416:0x234,_0x48919a:0x583,_0x2b02ec:0x3a1,_0x48d6b4:0x134,_0x484846:0x5,_0x714828:0x393,_0x1b77be:0x2ff,_0x2aa3c8:0x16a,_0x27da44:0x4b2,_0x3fbbcb:0x2cd,_0x2342e8:0x3a1,_0x4fcfa7:0xe6,_0x496899:0x371,_0x3b3aed:0x244,_0x54a97c:0x106,_0x47b61f:0x1ee,_0x121937:0x25,_0x419585:0x46f,_0x462a5a:0x174,_0x5f0c66:0x5a0,_0x1f439d:0x227,_0x14992a:0x4e0,_0x4bd6e1:0x302,_0x57382b:0x159,_0x4abd06:0x11,_0x4f5d20:0x393,_0x2c31c7:0x29b,_0x3bd338:0x1c5},_0x261588=async(_0x1bc8f7,_0x3391de)=>{let _0x5cc513=_0x3391de;if(this[_0x5c6200(0x106,0x96,-0xa3,0x64)]){const _0xe023b1=new Headers(_0x5cc513?.[_0x43094f(_0x3039dc._0x1b8417,0x193,_0x3039dc._0x107011,_0x3039dc._0xdc27e6)]);_0xe023b1['delete'](_0x5c6200(0x454,0x608,_0x3039dc._0x87d416,_0x3039dc._0x48919a)),_0xe023b1[_0x43094f(0x3fc,0x2cd,0x374,_0x3039dc._0x2b02ec)]('authorization',_0x43094f(-_0x3039dc._0x48d6b4,-_0x3039dc._0x484846,0x52,-0x21)+this['oauth'][_0x5c6200(_0x3039dc._0x714828,0x1e9,_0x3039dc._0x1b77be,_0x3039dc._0x2aa3c8)]),_0xe023b1[_0x43094f(_0x3039dc._0x27da44,_0x3039dc._0x3fbbcb,_0x3039dc._0x2342e8,0x33f)](_0x43094f(0xf0,0x325,_0x3039dc._0x4fcfa7,_0x3039dc._0x496899),_0x5c6200(0xe6,0x239,-0x4a,0x297)),_0x5cc513={..._0x5cc513,'headers':_0xe023b1};}function _0x43094f(_0x519d94,_0x8e2dcf,_0x21a7df,_0x553ebb){return _0x337d(_0x8e2dcf- -0x1ba,_0x553ebb);}function _0x5c6200(_0x4569c7,_0x338e32,_0x2fc58f,_0x2c5c13){return _0x337d(_0x4569c7- -0x5c,_0x2fc58f);}const _0x2d92e4=await fetch(_0x1bc8f7,_0x5cc513);if((_0x2d92e4[_0x43094f(0x282,_0x3039dc._0x3b3aed,0x291,0x41b)]===0x191||_0x2d92e4['status']===0x193)&&this[_0x5c6200(_0x3039dc._0x54a97c,0x1c9,0x4d,0x1d4)]){await this[_0x43094f(_0x3039dc._0x47b61f,0x10b,0x13d,_0x3039dc._0x121937)]();const _0x6b35f8=new Headers(_0x5cc513?.[_0x5c6200(0x2f1,_0x3039dc._0x419585,0x270,_0x3039dc._0x462a5a)]);return _0x6b35f8[_0x5c6200(0x42b,0x478,_0x3039dc._0x5f0c66,_0x3039dc._0x1f439d)](_0x5c6200(_0x3039dc._0x14992a,_0x3039dc._0x4bd6e1,0x39e,0x31f),'Bearer\x20'+this[_0x5c6200(0x106,-0x35,_0x3039dc._0x57382b,_0x3039dc._0x4abd06)][_0x5c6200(_0x3039dc._0x4f5d20,_0x3039dc._0x2c31c7,_0x3039dc._0x3bd338,0x27d)]),_0x5cc513={..._0x5cc513,'headers':_0x6b35f8},fetch(_0x1bc8f7,_0x5cc513);}return _0x2d92e4;},_0x5985d9=new RetryTransport({'get':async(_0x275a24,_0x4c1467,_0x1e564e)=>{function _0x1503cf(_0x4a8e9c,_0x25b1cf,_0x3a24,_0x5999fb){return _0x337d(_0x25b1cf-0x1bc,_0x4a8e9c);}return _0x261588(_0x275a24,{'method':_0x1503cf(0x2f8,_0x1a522f._0x3ca883,_0x1a522f._0x581e15,0x5d6),'headers':_0x4c1467,'signal':_0x1e564e});},'post':async(_0x561b9d,_0x3de51b,_0x1edc6b,_0x590ba4)=>{function _0x206cb5(_0x336e2c,_0x40850c,_0x158bc3,_0xebe632){return _0x337d(_0x336e2c-_0x263b46._0x2ab9f2,_0xebe632);}function _0x32f732(_0x562a4c,_0x1f946e,_0x2e9f98,_0x3b9b5b){return _0x337d(_0x562a4c-0x2b4,_0x2e9f98);}return _0x261588(_0x561b9d,{'method':_0x206cb5(_0x34fc83._0x2cafc7,_0x34fc83._0xf929ea,0x7c9,0x828),'headers':_0x1edc6b,'body':typeof _0x3de51b===_0x32f732(0x77b,0x6f1,0x60d,_0x34fc83._0x4fe350)?_0x3de51b:JSON[_0x32f732(0x4e0,0x337,0x66c,_0x34fc83._0x16ad12)](_0x3de51b),'signal':_0x590ba4});}},this['retryConfig']);return async(_0x25f12f,_0x44726a)=>{const _0x2867b2={_0x451019:0x1f1},_0x16ea41=typeof _0x25f12f==='string'?_0x25f12f:_0x25f12f instanceof URL?_0x25f12f['toString']():_0x25f12f[_0x3c3da7(0x345,_0x292025._0x1e5771,_0x292025._0x105bd2,_0x292025._0x3c9548)];function _0x3c3da7(_0x4febd6,_0x3b0f0c,_0x2214ac,_0x519ce8){return _0x337d(_0x519ce8- -_0x2867b2._0x451019,_0x2214ac);}const _0x3113de=_0x44726a?.[_0x4244ba(_0x292025._0x3fc993,_0x292025._0x30bdc2,0x1a0,_0x292025._0x1ddb98)]?.[_0x4244ba(_0x292025._0x1fbf4c,_0x292025._0x280bbd,_0x292025._0x1f8643,0x2e3)]()??_0x3c3da7(_0x292025._0x3f72ba,0x17f,0x140,0x5f);function _0x4244ba(_0x49fc23,_0x57788e,_0x1091d4,_0x5e31d3){return _0x337d(_0x5e31d3- -0x2f,_0x1091d4);}const _0x222c90=_0x44726a?.['headers']?Object[_0x3c3da7(_0x292025._0x56874a,0x38,_0x292025._0x26c70e,_0x292025._0x4e7667)](new Headers(_0x44726a[_0x3c3da7(_0x292025._0x134577,_0x292025._0x8b88a,_0x292025._0x488290,0x15c)])[_0x3c3da7(-_0x292025._0xe87acf,-0x60,_0x292025._0xd41ed3,_0x292025._0x513f48)]()):void 0x0;if(_0x3113de===_0x4244ba(_0x292025._0xee11a5,_0x292025._0x324a34,_0x292025._0x53cb52,0x221))return _0x5985d9[_0x4244ba(0x12,0x2b6,0x2aa,0x191)](_0x16ea41,_0x222c90,_0x44726a?.['signal']??void 0x0);return _0x5985d9[_0x3c3da7(0x434,0x3d7,0x86,0x24d)](_0x16ea41,_0x44726a?.[_0x4244ba(_0x292025._0x2c6767,0x49a,0x2a8,_0x292025._0x1ba8a9)],_0x222c90,_0x44726a?.[_0x4244ba(_0x292025._0x5d2367,0x3e8,0x216,0x3a2)]??void 0x0);};}[_0xadee61(0x11f,-0xd4,0x180,-0x2d)](){const _0x5cfe95={_0x13453a:0x7de,_0xd0837f:0x7b5,_0x15eb80:0x9f0},_0x226b20={_0x5155e6:0x31d,_0x2e369c:0x176};function _0xa525a0(_0x4e3d32,_0x39f3a7,_0x103c0c,_0x215c75){return _0xadee61(_0x39f3a7-_0x226b20._0x5155e6,_0x215c75,_0x103c0c-_0x226b20._0x2e369c,_0x215c75-0x1a1);}return this[_0xa525a0(0x67c,_0x5cfe95._0x13453a,_0x5cfe95._0xd0837f,_0x5cfe95._0x15eb80)];}['getOAuth'](){const _0x3cefce={_0x1cdccb:0x3c1,_0x4af22f:0x4e3},_0x302ea2={_0x9b42fc:0x3be,_0x35fe29:0x131};function _0x5db070(_0x307f14,_0x3c98d5,_0x4d0a3a,_0x4e4bb1){return _0xadee61(_0x4e4bb1-_0x302ea2._0x9b42fc,_0x307f14,_0x4d0a3a-_0x302ea2._0x35fe29,_0x4e4bb1-0x1c2);}return this[_0x5db070(0x542,0x355,_0x3cefce._0x1cdccb,_0x3cefce._0x4af22f)];}[_0x27e2df(0x18a,0x33c,0x4f6,0x177)](){const _0x5586fd={_0x3b3bf9:0xc4},_0x1c39be={_0x4753fe:0x2c7,_0x9798cf:0x176};function _0x49e181(_0x326027,_0x32d77a,_0xeb74cf,_0x311a64){return _0xadee61(_0xeb74cf- -_0x1c39be._0x4753fe,_0x32d77a,_0xeb74cf-_0x1c39be._0x9798cf,_0x311a64-0x1bf);}return this[_0x49e181(-0x1a5,-0x54,-_0x5586fd._0x3b3bf9,-0xd7)];}},BaseBearerAuthTransport=class{[_0xadee61(0x471,0x3bc,0x55d,0x4b0)];[_0x27e2df(0xbb,0xee,-0xee,0x15b)];[_0xadee61(0x4c1,0x39c,0x6e3,0x4f3)];[_0x27e2df(0x186,0x4,-0x199,-0x108)];[_0xadee61(0x250,0xb8,0x68,0x2b3)];constructor(_0x11b5fb,_0x3ffa12,_0x1116e5,_0xf4954f,_0x40ae12){const _0x2147a5={_0x476232:0x681,_0x1f3b10:0x714,_0x175de3:0x761,_0xec6044:0x1a6,_0x5d94d7:0x153,_0x4a588e:0x9f,_0xd12f58:0x174,_0x185f58:0x286},_0x399f4e={_0x2a837a:0xa7,_0x1eab92:0x161},_0x5750e1={_0x35611a:0x2f0,_0x275e01:0x6f};function _0x4b7eb5(_0x108dab,_0x388340,_0x45013f,_0x42377c){return _0xadee61(_0x42377c-_0x5750e1._0x35611a,_0x45013f,_0x45013f-0x1f3,_0x42377c-_0x5750e1._0x275e01);}this[_0x4b7eb5(_0x2147a5._0x476232,_0x2147a5._0x1f3b10,0x8ee,_0x2147a5._0x175de3)]=_0x11b5fb;function _0x16f3f4(_0x391d3c,_0xea329c,_0x6739cb,_0x4b0806){return _0x27e2df(_0x391d3c-_0x399f4e._0x2a837a,_0x391d3c- -_0x399f4e._0x1eab92,_0x6739cb-0x89,_0x6739cb);}this[_0x16f3f4(-0x73,_0x2147a5._0xec6044,0x157,-_0x2147a5._0x5d94d7)]=_0x3ffa12,this['baseUrl']=_0x1116e5??this[_0x16f3f4(-_0x2147a5._0x4a588e,-0x14a,_0x2147a5._0xd12f58,-_0x2147a5._0x185f58)](),this['version']=_0xf4954f,this['customHeaders']=_0x40ae12;}[_0xadee61(0x2ef,0x305,0x429,0xde)](_0x15bec2){const _0x4124c3={_0x447f9c:0x67a,_0x48598e:0x476,_0x57f1f5:0x19e},_0x319e4c={_0x2745ce:0x10b},_0x5ca510={_0x1b8188:0xb0};if(_0x15bec2[_0x57dc22(_0x4124c3._0x447f9c,0x432,_0x4124c3._0x48598e,0x5c3)]('/'))return''+this[_0x336def(_0x4124c3._0x57f1f5,0x35e,0x25c,0x3b6)]+_0x15bec2;function _0x57dc22(_0x3eb7c5,_0x4ce340,_0x1d6d08,_0x54ba01){return _0x27e2df(_0x3eb7c5-_0x5ca510._0x1b8188,_0x1d6d08-0x39e,_0x1d6d08-0x5,_0x54ba01);}function _0x336def(_0x2e3184,_0x508d5b,_0x49fced,_0x41f4d6){return _0xadee61(_0x41f4d6- -_0x319e4c._0x2745ce,_0x508d5b,_0x49fced-0x43,_0x41f4d6-0x94);}return _0x15bec2;}[_0xadee61(0x4e4,0x59b,0x5e5,0x57c)](_0x5d7d0a){const _0x3f4991={_0x595ea4:0x855,_0x4c1523:0x822,_0x1cfda6:0x403,_0x1f5888:0x473,_0x4b9f45:0x7ff,_0x16be4e:0x681,_0x13e475:0x31c,_0x2e3b6f:0x54e,_0x5a5be5:0x663,_0x4c9b3e:0x452,_0x41ae71:0x50e,_0x523725:0x46b,_0x1a6bc1:0x3ec,_0x3b307a:0x4fa,_0x1c0090:0x5b2,_0x173053:0x59c,_0x544baa:0x462,_0x372f1a:0x356,_0x499b08:0x6a2,_0x31d236:0x4ed,_0x2a33dd:0x502,_0x3a4dcd:0x59b,_0x3a0d82:0x81f,_0x787882:0x7cd,_0x112da3:0x487,_0x251ee2:0x40c},_0x40c567={_0x4827c3:0x1e9,_0x2b9311:0xe},_0x436059=_0x5d7d0a?{..._0x5d7d0a}:{};!_0x436059[_0x5a90aa(_0x3f4991._0x595ea4,0x84e,_0x3f4991._0x4c1523,0x740)]&&this[_0x5ca8b8(0x5f2,0x5b7,_0x3f4991._0x1cfda6,_0x3f4991._0x1f5888)]&&(_0x436059[_0x5a90aa(_0x3f4991._0x4b9f45,0x84e,_0x3f4991._0x16be4e,0x910)]='nuvin-cli/'+this[_0x5ca8b8(0x1e3,_0x3f4991._0x13e475,0x403,0x36f)]);function _0x5ca8b8(_0x521b82,_0x4ccc62,_0xd8dd6d,_0x11b7ba){return _0xadee61(_0xd8dd6d-0x2ea,_0x11b7ba,_0xd8dd6d-0x67,_0x11b7ba-0x1a7);}this[_0x5ca8b8(0x466,0x2e7,0x4ed,0x34f)]&&this[_0x5a90aa(0x478,_0x3f4991._0x2e3b6f,0x667,0x4bc)][_0x5a90aa(_0x3f4991._0x5a5be5,_0x3f4991._0x4c9b3e,_0x3f4991._0x41ae71,_0x3f4991._0x523725)]()!==''&&!this[_0x5a90aa(0x3f4,0x59b,0x69e,0x72d)]?.[_0x5ca8b8(0x477,0x39f,_0x3f4991._0x1a6bc1,_0x3f4991._0x3b307a)]&&(_0x436059['Authorization']=_0x5ca8b8(_0x3f4991._0x1c0090,_0x3f4991._0x173053,_0x3f4991._0x544baa,_0x3f4991._0x372f1a)+this[_0x5ca8b8(_0x3f4991._0x499b08,0x3de,_0x3f4991._0x31d236,_0x3f4991._0x2a33dd)]);function _0x5a90aa(_0x5f2dee,_0x1461e0,_0xb56719,_0x4ba0b3){return _0xadee61(_0x1461e0-0x34b,_0xb56719,_0xb56719-_0x40c567._0x4827c3,_0x4ba0b3-_0x40c567._0x2b9311);}return this[_0x5a90aa(0x6cc,_0x3f4991._0x3a4dcd,0x76a,0x45e)]&&Object[_0x5a90aa(0x68c,_0x3f4991._0x3a0d82,0x911,_0x3f4991._0x787882)](_0x436059,this[_0x5a90aa(_0x3f4991._0x112da3,0x59b,0x652,_0x3f4991._0x251ee2)]),_0x436059;}async[_0xadee61(0x183,0xf,-0xa8,0x2b)](_0x484ad8,_0x258e3c,_0x2a6d38){const _0x1c3434={_0x424bd8:0x1ac,_0x2e105e:0x2b2,_0x1fe1f4:0x265,_0x3f581b:0x391,_0x650602:0x5ee,_0xbcc54f:0x3,_0x30b8e4:0x9b,_0x346b3d:0x292,_0x1cc1e9:0x3fe,_0x13d7a1:0x132,_0xac05c0:0x288},_0x525b48={_0x11351a:0xc1},_0x14a5fc={_0x302af1:0xd8};function _0x517b5a(_0x526c26,_0x4dcd14,_0xb5b27b,_0x4b8431){return _0x27e2df(_0x526c26-0x9d,_0x4dcd14-_0x14a5fc._0x302af1,_0xb5b27b-0x46,_0x526c26);}function _0x323b66(_0x24dc1d,_0xdabeb6,_0x1c2a4d,_0x1e20d4){return _0x27e2df(_0x24dc1d-_0x525b48._0x11351a,_0x1c2a4d- -0x1aa,_0x1c2a4d-0x3c,_0x1e20d4);}const _0x3e49a0=this[_0x517b5a(_0x1c3434._0x424bd8,_0x1c3434._0x2e105e,0x45c,_0x1c3434._0x1fe1f4)](_0x484ad8);return this[_0x517b5a(_0x1c3434._0x3f581b,0x434,0x2c8,_0x1c3434._0x650602)][_0x323b66(-_0x1c3434._0xbcc54f,-_0x1c3434._0x30b8e4,-0x13c,-_0x1c3434._0x346b3d)](_0x3e49a0,this[_0x323b66(_0x1c3434._0x1cc1e9,_0x1c3434._0x13d7a1,0x225,_0x1c3434._0xac05c0)](_0x258e3c),_0x2a6d38);}async[_0xadee61(0x401,0x5d5,0x361,0x343)](_0xa5c49f,_0x150c2b,_0x2fb745,_0x5dd04d){const _0x90bc68={_0x4340c4:0x60,_0x41ec2c:0xbb,_0x74ee39:0x1a9},_0x1fc569={_0x424bfd:0x300,_0x136959:0x1df};function _0x4f8de3(_0x500724,_0x56bd4f,_0x2f8a0d,_0x289ec2){return _0xadee61(_0x56bd4f- -_0x1fc569._0x424bfd,_0x289ec2,_0x2f8a0d-_0x1fc569._0x136959,_0x289ec2-0x84);}const _0x1d0562=this[_0x4f8de3(_0x90bc68._0x4340c4,-0x11,_0x90bc68._0x41ec2c,_0x90bc68._0x74ee39)](_0xa5c49f);function _0x12278c(_0x4901b7,_0x2acc08,_0x49d1bc,_0x303663){return _0x27e2df(_0x4901b7-0x1f,_0x2acc08- -0xa9,_0x49d1bc-0x1cc,_0x303663);}return this[_0x4f8de3(0x2dd,0x171,-0x5,0x2a)]['post'](_0x1d0562,_0x150c2b,this['makeAuthHeaders'](_0x2fb745),_0x5dd04d);}},SimpleBearerAuthTransport=class extends BaseBearerAuthTransport{[_0xadee61(0xf9,0x24,0x1ab,0xb1)];constructor(_0x3f7770,_0x5e520c,_0x200f0e,_0x1436c5,_0x540858,_0x231df5){super(_0x3f7770,_0x200f0e,_0x1436c5??_0x5e520c,_0x540858,_0x231df5),this['defaultUrl']=_0x5e520c;}[_0x27e2df(0x111,0xc2,0x44,0x142)](){const _0x283a62={_0x2b5b83:0x333},_0x5191ae={_0x226545:0xd6};function _0x9273cf(_0xf96d12,_0x507493,_0x467c33,_0x282c9f){return _0x27e2df(_0xf96d12-_0x5191ae._0x226545,_0xf96d12-0x1a2,_0x467c33-0x56,_0x282c9f);}return this[_0x9273cf(0x186,0x8,0x333,_0x283a62._0x2b5b83)];}};function createTransport(_0xfcc5c0,_0x4efb3c,_0x3903d9,_0x30ca76,_0x4729ce,_0x1369da){return new SimpleBearerAuthTransport(_0xfcc5c0,_0x4efb3c,_0x3903d9,_0x30ca76,_0x4729ce,_0x1369da);}function _0x27e2df(_0x4a0d44,_0x29525f,_0x1db7e0,_0x7b7b56){const _0x2dfec2={_0x576bed:0x152};return _0x337d(_0x29525f- -_0x2dfec2._0x576bed,_0x7b7b56);}var LLMErrorTransport=class{constructor(_0x443032){this['inner']=_0x443032;}async['get'](_0x459b98,_0x595c80,_0x3ebc8b){const _0x44a3c1={_0x3682bc:0x381,_0xca3873:0x496,_0x3a9320:0x4f7,_0x3cd3d3:0x543},_0x3ab77e={_0x4d976a:0x157},_0x131d57={_0x11f9c9:0x106};function _0x51d4c0(_0x3c1ec3,_0x276ada,_0x3c151b,_0x4b0d32){return _0xadee61(_0x4b0d32-0x406,_0x276ada,_0x3c151b-0x1f,_0x4b0d32-_0x131d57._0x11f9c9);}function _0x47b6e3(_0x4d0737,_0x124789,_0x5cd836,_0x57f707){return _0xadee61(_0x4d0737- -0x23e,_0x5cd836,_0x5cd836-_0x3ab77e._0x4d976a,_0x57f707-0x89);}try{const _0x3437d2=await this['inner'][_0x51d4c0(_0x44a3c1._0x3682bc,0x34f,0x5d5,0x589)](_0x459b98,_0x595c80,_0x3ebc8b);if(!_0x3437d2['ok']){const _0x2196c1=await _0x3437d2[_0x47b6e3(0x1bd,0x155,0x12c,0x231)]();this['throwLLMError'](_0x3437d2['status'],_0x2196c1);}return _0x3437d2;}catch(_0x1d022f){this[_0x51d4c0(_0x44a3c1._0xca3873,_0x44a3c1._0x3a9320,0x4ce,_0x44a3c1._0x3cd3d3)](_0x1d022f);}}async[_0x27e2df(0xad,0x2ec,0x1c9,0x219)](_0x582d37,_0x209569,_0x2ba966,_0x458249){const _0x14f6d0={_0x8374f8:0x783,_0x45242b:0x654,_0x514b09:0x5d5,_0x954460:0x36a,_0x188577:0x19f,_0x2cee51:0x124,_0x1a42f0:0x2bb},_0x4f9498={_0x2accb1:0x91};function _0x1c817c(_0x513e36,_0x44d6fa,_0x311cd7,_0x54f05f){return _0x27e2df(_0x513e36-_0x4f9498._0x2accb1,_0x311cd7-0x32f,_0x311cd7-0x16e,_0x513e36);}function _0x310f89(_0x3d433e,_0x146d20,_0x868ba7,_0x482f55){return _0x27e2df(_0x3d433e-0xf5,_0x3d433e-0x40f,_0x868ba7-0x6e,_0x482f55);}try{const _0x51877b=await this['inner'][_0x310f89(0x6fb,0x5a8,0x6a1,_0x14f6d0._0x8374f8)](_0x582d37,_0x209569,_0x2ba966,_0x458249);if(!_0x51877b['ok']){const _0x17fa8e=await _0x51877b[_0x310f89(0x6f5,0x602,_0x14f6d0._0x45242b,0x8ef)]();this[_0x1c817c(_0x14f6d0._0x514b09,_0x14f6d0._0x954460,0x3db,_0x14f6d0._0x188577)](_0x51877b['status'],_0x17fa8e);}return _0x51877b;}catch(_0x71a3de){this[_0x1c817c(0x455,_0x14f6d0._0x2cee51,0x357,_0x14f6d0._0x1a42f0)](_0x71a3de);}}[_0x27e2df(0x189,0xac,0x2e0,0x20b)](_0x4e4d36,_0x1dca80){const _0x1d2366={_0x58bbef:0x381,_0xf40c6:0x354,_0x44727f:0x2c9,_0x345fae:0x2b3,_0x2a48e2:0x3ce,_0x2da411:0x124,_0x2ead89:0x186,_0x33d90e:0x10e,_0x324d80:0x40,_0x49d3bc:0x133},_0x452cb4={_0x440abb:0x32d,_0x1cf661:0x192},_0x4d5b8d={_0x313b34:0x2be,_0x4fbdde:0xac},_0x12ad30=_0x1dca80||_0x134bd3(-0x1a0,-_0x1d2366._0x58bbef,-0x1eb,-_0x1d2366._0xf40c6)+_0x4e4d36;function _0x25e930(_0x414c0d,_0x6b148f,_0x3c8fb5,_0x33a057){return _0xadee61(_0x6b148f- -_0x4d5b8d._0x313b34,_0x3c8fb5,_0x3c8fb5-0x10f,_0x33a057-_0x4d5b8d._0x4fbdde);}if(_0x4e4d36===0x1ad||_0x4e4d36===0x198)throw new LLMError('Rate\x20limit\x20exceeded.\x20Please\x20try\x20again\x20later.',_0x4e4d36,!![]);else{if(_0x4e4d36===0x191||_0x4e4d36===0x193)throw new LLMError(_0x25e930(_0x1d2366._0x44727f,0x262,0x3df,0x433),_0x4e4d36,![]);else{if(_0x4e4d36===0x190)throw new LLMError(_0x25e930(0x2c6,_0x1d2366._0x345fae,_0x1d2366._0x2a48e2,_0x1d2366._0x2da411)+_0x12ad30,_0x4e4d36,![]);else{if(isRetryableStatusCode(_0x4e4d36,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x134bd3(_0x1d2366._0x2ead89,-_0x1d2366._0x33d90e,_0x1d2366._0x324d80,-_0x1d2366._0x49d3bc),_0x4e4d36,!![]);}}}function _0x134bd3(_0x3191dc,_0x359b28,_0xdfd183,_0x4464fb){return _0xadee61(_0xdfd183- -_0x452cb4._0x440abb,_0x3191dc,_0xdfd183-0xde,_0x4464fb-_0x452cb4._0x1cf661);}throw new LLMError(_0x12ad30,_0x4e4d36,![]);}[_0xadee61(0x13d,-0x60,0x1e0,0x5e)](_0x1de3a9){const _0x32f11f={_0x1b28a2:0xc,_0x2b9845:0x428,_0x160d29:0x2f2,_0x4d7956:0x132,_0x2e6629:0x436,_0x38ab3f:0x374,_0x1c97ea:0x1ef,_0x262dee:0x18a,_0x239fe2:0x388,_0x1222ee:0xc8,_0x9390fc:0x578,_0x5a5dde:0x4ff,_0x2e55d6:0x18c,_0x206683:0x2e7,_0x42925a:0x469,_0x118943:0x624},_0x3e1e05={_0x59dc77:0x108},_0x3cc71b={_0x4c25d8:0x273};if(_0x1de3a9 instanceof LLMError)throw _0x1de3a9;function _0xc42559(_0x49cd2f,_0x297a00,_0x101f3d,_0x19a5ba){return _0x27e2df(_0x49cd2f-0xc5,_0x49cd2f- -_0x3cc71b._0x4c25d8,_0x101f3d-0xc8,_0x297a00);}function _0x3f5229(_0x32507f,_0x318b7b,_0x4259bb,_0x80acca){return _0x27e2df(_0x32507f-0x1ef,_0x318b7b-_0x3e1e05._0x59dc77,_0x4259bb-0x167,_0x4259bb);}if(_0x1de3a9 instanceof Error&&_0x1de3a9[_0xc42559(-0x63,-_0x32f11f._0x1b28a2,-0x1d2,-0x36)]===_0x3f5229(_0x32f11f._0x2b9845,_0x32f11f._0x160d29,_0x32f11f._0x4d7956,0x514))throw new LLMError(_0xc42559(-0x26a,-0x291,-_0x32f11f._0x2e6629,-_0x32f11f._0x38ab3f),void 0x0,![],_0x1de3a9);if(_0x1de3a9 instanceof Error){if(_0x1de3a9[_0xc42559(-_0x32f11f._0x1c97ea,-_0x32f11f._0x262dee,-0x74,-0x42d)][_0x3f5229(0x337,0x32d,0x4cd,_0x32f11f._0x239fe2)](_0xc42559(0x87,-0x108,-0x35,-_0x32f11f._0x1222ee)))throw new LLMError('Rate\x20limit\x20exceeded.\x20Please\x20try\x20again\x20later.',0x1ad,!![],_0x1de3a9);const _0x59fe41=isRetryableError(_0x1de3a9,DEFAULT_RETRYABLE_STATUS_CODES);if(_0x59fe41)throw new LLMError(_0x3f5229(_0x32f11f._0x9390fc,0x3b0,_0x32f11f._0x5a5dde,0x1ab),void 0x0,!![],_0x1de3a9);throw new LLMError(_0x1de3a9[_0x3f5229(0x380,_0x32f11f._0x2e55d6,0x4f,0x230)],void 0x0,![],_0x1de3a9);}throw new LLMError(_0x3f5229(_0x32f11f._0x206683,0x42d,_0x32f11f._0x42925a,_0x32f11f._0x118943),void 0x0,![],_0x1de3a9);}};function mergeChoices(_0x4a264a){const _0x446104={_0x3fdce0:0x6e2,_0x1a3025:0x235,_0x61da5:0x420,_0x372888:0x400,_0x23ee45:0x7d1,_0x4529fa:0x765,_0x5d1916:0x7db,_0x3d1eea:0x7c2,_0x5e04cf:0x72f,_0x975eec:0x786,_0x224138:0x575,_0x22a144:0x8a9,_0x2dd27f:0x5d4,_0x497c2e:0x664,_0x47a8b4:0x100,_0x576cee:0x1eb},_0x25459f={_0x5b0965:0x46a,_0x3019c9:0xd5,_0x5916b0:0xcd,_0x261bed:0xca,_0x153c51:0x13,_0x8ede2c:0x64,_0x383d4f:0x210,_0xed788c:0x3b4,_0x35d5dd:0x266,_0x2b2056:0x174,_0x548e5a:0xe4,_0x547b11:0x140};function _0xb9f840(_0x53a9c6,_0x38e31f,_0x4fa1f7,_0x5abe9f){return _0x27e2df(_0x53a9c6-0xde,_0x5abe9f- -0x5f,_0x4fa1f7-0x188,_0x38e31f);}const _0x4abcb8=[],_0x11d376=[],_0x533987={};function _0x1fd7ca(_0x58fef4,_0x3cf40e,_0x47524c,_0x4c60ad){return _0xadee61(_0x58fef4-0x3f5,_0x4c60ad,_0x47524c-0x17f,_0x4c60ad-0x91);}const _0x4b0b13=_0x18af03=>{function _0x3d69ad(_0x204608,_0x11cea5,_0xc91d3a,_0x416899){return _0x337d(_0xc91d3a- -0x228,_0x204608);}function _0x47a240(_0x457bfa,_0xe2cafc,_0x7d8fa5,_0x1e88af){return _0x337d(_0x1e88af-0x3e7,_0x457bfa);}if(typeof _0x18af03==='string'){const _0x529b32=_0x18af03['trim']();if(_0x529b32)_0x4abcb8[_0x3d69ad(0x4d5,_0x25459f._0x5b0965,0x358,0x269)](_0x529b32);return;}if(Array[_0x3d69ad(0x2c0,-_0x25459f._0x3019c9,0x102,_0x25459f._0x5916b0)](_0x18af03))for(const _0x44782b of _0x18af03){if(_0x44782b?.['type']===_0x3d69ad(_0x25459f._0x261bed,0x41a,0x210,_0x25459f._0x153c51)){const _0x3863dc=_0x44782b[_0x3d69ad(0x5d,_0x25459f._0x8ede2c,_0x25459f._0x383d4f,_0x25459f._0xed788c)][_0x3d69ad(-_0x25459f._0x35d5dd,-_0x25459f._0x2b2056,-_0x25459f._0x548e5a,0xca)]();if(_0x3863dc)_0x4abcb8[_0x3d69ad(0x46a,0x2ae,0x358,_0x25459f._0x547b11)](_0x3863dc);}}};for(const _0x40befb of _0x4a264a||[]){const _0x57c0b0=_0x40befb?.['message'];if(!_0x57c0b0)continue;_0x4b0b13(_0x57c0b0['content']);if(Array[_0x1fd7ca(_0x446104._0x3fdce0,0x786,0x4da,0x86d)](_0x57c0b0[_0xb9f840(0x342,0x2f9,0x3f3,0x2d7)]))_0x11d376['push'](..._0x57c0b0[_0x1fd7ca(0x840,0xa38,0x8e4,0xa18)]);const _0x435c05=[_0xb9f840(0x473,_0x446104._0x1a3025,_0x446104._0x61da5,0x3bf),_0xb9f840(0x3bb,0x3d6,_0x446104._0x372888,0x2d7),_0x1fd7ca(_0x446104._0x23ee45,_0x446104._0x4529fa,0x661,0x93c)];for(const _0x204757 of Object[_0x1fd7ca(_0x446104._0x5d1916,_0x446104._0x3d1eea,0x7cc,0x6be)](_0x57c0b0)){!_0x435c05[_0x1fd7ca(_0x446104._0x5e04cf,_0x446104._0x975eec,_0x446104._0x224138,_0x446104._0x22a144)](_0x204757)&&(_0x533987[_0x204757]=_0x57c0b0[_0x204757]);}}const _0x29e03a=_0x4abcb8[_0x1fd7ca(0x812,_0x446104._0x2dd27f,0x679,_0x446104._0x497c2e)]('\x0a\x0a'),_0x351214=_0x11d376[_0xb9f840(0x38a,_0x446104._0x47a8b4,0x138,_0x446104._0x576cee)]?_0x11d376:void 0x0;return{'content':_0x29e03a,..._0x351214?{'tool_calls':_0x351214}:{},..._0x533987};}var LLMError=class _LLMError extends Error{constructor(_0x2e8eb8,_0x14e6ba,_0x390289=![],_0x1c6081){const _0x5cd7ac={_0x31090e:0x490,_0x4ec546:0x4b0,_0x1cf2b2:0x323,_0x48e3fb:0x67d,_0x291853:0x73e,_0x36d241:0x45a,_0x2a13bc:0x876,_0x5ac14c:0x738,_0x29e229:0x5f2,_0x56d5ef:0x279,_0x49a00b:0x1fe,_0x9b01f9:0xab,_0x37ce16:0x58a},_0x19dc87={_0x454297:0x257,_0x533c2e:0x1e4},_0x211d16={_0xc67d5d:0x1d4};function _0x13aeb5(_0x1fc2d9,_0x294e13,_0x2c38df,_0x56663f){return _0xadee61(_0x294e13-0x236,_0x56663f,_0x2c38df-0xd,_0x56663f-_0x211d16._0xc67d5d);}function _0x4f0260(_0x31ad99,_0x30bac6,_0x49b216,_0x2fc325){return _0x27e2df(_0x31ad99-0xbf,_0x31ad99-_0x19dc87._0x454297,_0x49b216-_0x19dc87._0x533c2e,_0x2fc325);}super(_0x2e8eb8,_0x1c6081?{'cause':_0x1c6081}:void 0x0),this[_0x4f0260(_0x5cd7ac._0x31090e,_0x5cd7ac._0x4ec546,_0x5cd7ac._0x1cf2b2,0x2eb)]=_0x14e6ba,this[_0x4f0260(_0x5cd7ac._0x48e3fb,_0x5cd7ac._0x291853,_0x5cd7ac._0x36d241,_0x5cd7ac._0x2a13bc)]=_0x390289,this[_0x13aeb5(_0x5cd7ac._0x5ac14c,0x55b,0x78b,_0x5cd7ac._0x29e229)]=_0x4f0260(_0x5cd7ac._0x56d5ef,_0x5cd7ac._0x49a00b,_0x5cd7ac._0x9b01f9,0x37e),Error[_0x13aeb5(0x964,0x768,_0x5cd7ac._0x37ce16,0x5fb)]&&Error['captureStackTrace'](this,_LLMError);}},BaseLLM=class{[_0xadee61(0x1b7,0x3be,0x364,0x174)]=null;['apiUrl'];[_0x27e2df(0x191,0x283,0x42a,0x244)]=![];[_0xadee61(0x353,0x26c,0x54c,0x497)];constructor(_0x262a7e,_0x3e4931){const _0x4b9680={_0xbd4dd4:0x5c2,_0x51e271:0x49e,_0x1c600d:0x544,_0x4f51f9:0x52a},_0x2a9c50={_0x526b6b:0x227,_0x3ab856:0x7f};this[_0x2250ed(_0x4b9680._0xbd4dd4,0x4f5,_0x4b9680._0x51e271,_0x4b9680._0x1c600d)]=_0x262a7e;function _0xedcd86(_0x171070,_0x24efce,_0x9bbaee,_0x34b6ac){return _0x27e2df(_0x171070-0xf,_0x24efce-0xe8,_0x9bbaee-0x159,_0x34b6ac);}function _0x2250ed(_0x52d1e7,_0x2da6ff,_0x31f078,_0x382d2c){return _0xadee61(_0x382d2c-_0x2a9c50._0x526b6b,_0x31f078,_0x31f078-0x9e,_0x382d2c-_0x2a9c50._0x3ab856);}this[_0x2250ed(_0x4b9680._0x4f51f9,0x783,0x490,0x5bf)]=_0x3e4931?.['enablePromptCaching']??![],this[_0x2250ed(0x6ad,0x544,0x709,0x57a)]=_0x3e4931?.['retry'];}['transformUsage'](_0x1c8d19){const _0x2edd63={_0x1ad10b:0x274,_0x169bd8:0x2f9,_0x452883:0x82e,_0x363e3e:0x41a,_0x3cc175:0x5b1,_0x56b722:0x5f8,_0x3e5236:0x4cd,_0x399f4a:0x78b,_0x300256:0x62a,_0x35599f:0x3d8,_0x295611:0x5c8,_0x1ef448:0x490,_0x6314bf:0x728,_0x17abec:0x5c2,_0x12c2f1:0x6bb,_0xff7959:0x7ea,_0x37cfb8:0x68a,_0x182faf:0x7da,_0x422a6c:0x7e5,_0x4c7b20:0x5f3,_0x3e0431:0x47c,_0xdc873e:0x6fa,_0x5c5e1a:0x5f3,_0x4c2915:0x6c6,_0x43e61b:0x5af,_0x34b840:0x754,_0x120a2e:0x815,_0x1d57d3:0xa74,_0x4bfafb:0x829,_0x2d89a4:0x9cb,_0x3412af:0x79b,_0x3bad3a:0x931,_0x250b25:0x4e5,_0x196780:0x6ad,_0x2fd806:0x2fa},_0x592810={_0x5a7523:0x1fc},_0x225e7a={_0x46f47a:0x128,_0xe7adc8:0x3c};if(!_0x1c8d19)return void 0x0;const _0x5802ca=_0x1c8d19;function _0x4d38a7(_0xa4939,_0x2b0dc3,_0x2f3949,_0x4bdc46){return _0x27e2df(_0xa4939-_0x225e7a._0x46f47a,_0x4bdc46-0x52b,_0x2f3949-_0x225e7a._0xe7adc8,_0x2b0dc3);}function _0x235466(_0x18f36d,_0x172cc5,_0x5ab1e7,_0x17946c){return _0xadee61(_0x18f36d-_0x592810._0x5a7523,_0x172cc5,_0x5ab1e7-0x10b,_0x17946c-0x8b);}const _0x146484=_0x5802ca['prompt_tokens']??_0x5802ca[_0x235466(0x45b,_0x2edd63._0x1ad10b,0x43e,_0x2edd63._0x169bd8)],_0x1d7609=_0x5802ca[_0x235466(0x5f9,_0x2edd63._0x452883,0x776,0x5e3)]??_0x5802ca[_0x4d38a7(0x5cb,0x4d4,_0x2edd63._0x363e3e,_0x2edd63._0x3cc175)],_0x589e24=_0x5802ca[_0x4d38a7(_0x2edd63._0x56b722,_0x2edd63._0x3e5236,_0x2edd63._0x399f4a,_0x2edd63._0x300256)]??(_0x146484!=null&&_0x1d7609!=null?_0x146484+_0x1d7609:void 0x0),_0xc0ec7d=_0x5802ca['cost']??_0x5802ca[_0x235466(0x553,_0x2edd63._0x35599f,_0x2edd63._0x295611,0x75c)];return{'prompt_tokens':_0x146484,'completion_tokens':_0x1d7609,'total_tokens':_0x589e24,..._0x5802ca[_0x4d38a7(_0x2edd63._0x1ef448,_0x2edd63._0x6314bf,0x885,0x68a)]!==void 0x0&&{'reasoning_tokens':_0x5802ca[_0x4d38a7(_0x2edd63._0x17abec,_0x2edd63._0x12c2f1,_0x2edd63._0xff7959,_0x2edd63._0x37cfb8)]},..._0x5802ca[_0x4d38a7(0x599,_0x2edd63._0x182faf,_0x2edd63._0x422a6c,_0x2edd63._0x4c7b20)]&&{'prompt_tokens_details':_0x5802ca[_0x4d38a7(_0x2edd63._0x3e0431,_0x2edd63._0xdc873e,0x462,_0x2edd63._0x5c5e1a)]},..._0x5802ca[_0x4d38a7(0x5c6,0x72a,_0x2edd63._0x4c2915,0x5cb)]&&{'completion_tokens_details':_0x5802ca[_0x4d38a7(_0x2edd63._0x43e61b,0x413,_0x2edd63._0x34b840,0x5cb)]},..._0xc0ec7d!==void 0x0&&{'cost':_0xc0ec7d},..._0x5802ca['cost_details']&&{'cost_details':_0x5802ca[_0x235466(0x766,0x5e6,0x980,0x6db)]},..._0x5802ca[_0x4d38a7(_0x2edd63._0x120a2e,_0x2edd63._0x1d57d3,0x9dd,0x931)]!==void 0x0&&{'cache_creation_input_tokens':_0x5802ca[_0x4d38a7(_0x2edd63._0x4bfafb,_0x2edd63._0x2d89a4,_0x2edd63._0x3412af,_0x2edd63._0x3bad3a)]},..._0x5802ca[_0x235466(0x314,0x1a1,0x287,0x243)]!==void 0x0&&{'cache_read_input_tokens':_0x5802ca[_0x4d38a7(_0x2edd63._0x250b25,_0x2edd63._0x196780,_0x2edd63._0x2fd806,0x52e)]}};}[_0xadee61(0x51e,0x71a,0x3e1,0x3b8)](){const _0x178455={_0x4af854:0x54c,_0x51bbb7:0x620,_0x3e1d14:0x41f,_0x155fa5:0x49c,_0x56c86b:0x46b,_0x7c2d8a:0x610,_0x1883bd:0x852,_0x490349:0x567,_0x386825:0x46b},_0x4ce6d3={_0xc6df28:0x29b,_0x33d192:0x6},_0x1e2f32={_0x2b712e:0x167,_0x1f6673:0x3c9,_0x326d26:0x170};function _0x279b32(_0x596b26,_0x2886fa,_0x499f8b,_0x40bb85){return _0x27e2df(_0x596b26-_0x1e2f32._0x2b712e,_0x40bb85-_0x1e2f32._0x1f6673,_0x499f8b-_0x1e2f32._0x326d26,_0x2886fa);}if(!this[_0x279b32(_0x178455._0x4af854,0x3e6,0x37b,0x46b)])this[_0x279b32(_0x178455._0x51bbb7,_0x178455._0x3e1d14,_0x178455._0x155fa5,_0x178455._0x56c86b)]=this[_0x2cacdf(_0x178455._0x7c2d8a,0x657,0x6f3,_0x178455._0x1883bd)]();function _0x2cacdf(_0x562a91,_0x3ac5b9,_0x2a7ddd,_0x398e2b){return _0xadee61(_0x3ac5b9-_0x4ce6d3._0xc6df28,_0x398e2b,_0x2a7ddd-0x92,_0x398e2b-_0x4ce6d3._0x33d192);}return this[_0x279b32(0x528,_0x178455._0x490349,0x63a,_0x178455._0x386825)];}[_0xadee61(0x31b,0x499,0x11c,0x4d3)](_0x300509,_0x676698){const _0x2f3811={_0x2bf0c6:0x13d,_0x2fc24f:0x184,_0x5f3b1f:0x18a,_0x3e44e6:0x2d2,_0x1f23df:0x125,_0x33e300:0x315,_0x4da6fb:0x6a6,_0x30cef5:0x775,_0xa29d13:0x83d},_0x3ddb53={_0x3b7cf0:0x24a,_0x31740f:0x93},_0x2bb966={_0xc2522c:0x139};function _0x49e58e(_0x22fa09,_0x20336e,_0x2d49b7,_0x55bb15){return _0x27e2df(_0x22fa09-0x6c,_0x22fa09- -_0x2bb966._0xc2522c,_0x2d49b7-0x36,_0x20336e);}function _0x3f2782(_0x3b3431,_0x546da4,_0x23a8ad,_0x3d11cf){return _0x27e2df(_0x3b3431-0x1ca,_0x546da4-_0x3ddb53._0x3b7cf0,_0x23a8ad-_0x3ddb53._0x31740f,_0x3b3431);}if(_0x300509===0x1ad||_0x300509===0x198)throw new LLMError(_0x49e58e(0x60,_0x2f3811._0x2bf0c6,_0x2f3811._0x2fc24f,_0x2f3811._0x5f3b1f),_0x300509,!![]);else{if(_0x300509===0x191||_0x300509===0x193)throw new LLMError(_0x49e58e(_0x2f3811._0x3e44e6,_0x2f3811._0x1f23df,_0x2f3811._0x33e300,0x2a7),_0x300509,![]);else{if(_0x300509===0x190)throw new LLMError(_0x3f2782(0x763,_0x2f3811._0x4da6fb,_0x2f3811._0x30cef5,_0x2f3811._0xa29d13)+_0x676698,_0x300509,![]);else{if(isRetryableStatusCode(_0x300509,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x49e58e(0x11f,0x295,0x260,0x250),_0x300509,!![]);}}}throw new LLMError(_0x676698,_0x300509,![]);}[_0x27e2df(0x26d,0x1d9,-0x49,0x10f)](_0x3da81e){const _0x3564cf={_0x15d2d3:0x510,_0x140649:0x478,_0x8e3dba:0x167,_0x46a149:0x51b,_0x72235f:0x1d6,_0x3bcdb4:0x5ef,_0x52c08c:0x3e6,_0x2c6c4f:0x77e,_0x8d4352:0x472,_0x473296:0x55,_0x44c72e:0x29c,_0x1dd832:0x1b3,_0x47cc01:0x514,_0x21b441:0x853,_0x107cac:0x600,_0x4f502a:0x9cb,_0xa0261f:0x598,_0x58580d:0x43a,_0x4d64e9:0x758,_0x22959f:0x7af,_0x1d9f57:0x86d,_0x31325e:0x760,_0x57ec26:0x7de,_0x541176:0x6e0,_0x139c9f:0xa0b,_0xf889ed:0x1d1,_0x56fc41:0x180,_0xf7385a:0x4a,_0x531404:0x24d,_0x3f0eaa:0x2fa,_0x343da5:0x2ff,_0x531b15:0x1bb,_0x46da29:0x362,_0x319fd4:0x2a7,_0x10c516:0x7d7,_0x4c2bca:0x62b,_0x578ab4:0x550,_0x5bea86:0x694,_0x390e02:0x558,_0x32cf40:0x538,_0x3cebcc:0x156,_0x89833a:0x3d2,_0x5bf904:0x2de,_0x58b16f:0x177,_0x491136:0x1db,_0x19151c:0x19c,_0x3cda12:0x5d8,_0x282976:0x6fb,_0x50ba6f:0x78e,_0x597bad:0x7de,_0x4cf218:0x943,_0x3bb9bb:0x9f1,_0x2b7b47:0x3a8,_0x42c494:0x24f,_0x1fa015:0x3ee,_0x5b7677:0x7a2,_0x3a7f28:0x6e,_0x399c96:0x1eb,_0x236eb0:0x299,_0x7e5f61:0x559,_0x6f1642:0x29a},_0x3f458c={_0x36468d:0x1ac,_0x3aa98c:0xb0},_0x5204e9={_0x5d152a:0xa15,_0x3fc8e1:0x7a7,_0x3a351e:0x523,_0x4709e7:0x4ac,_0x1dd064:0x3e3,_0x39ecd8:0x775,_0x1869fb:0x5f4},_0x16c529={_0x16b0a8:0x138,_0x483569:0x3d,_0x4012cd:0x44d},_0x24e677={_0x1747bd:0x67};function _0x222b6b(_0x3486a2,_0x4aa716,_0x5d1b79,_0x2e87f9){return _0x27e2df(_0x3486a2-0x12,_0x3486a2-0x3c0,_0x5d1b79-0x1ae,_0x5d1b79);}if(!this[_0x222b6b(0x643,_0x3564cf._0x15d2d3,0x767,0x867)])return _0x3da81e;const _0x5a14c1=_0x3da81e[_0x222b6b(_0x3564cf._0x140649,0x4ee,0x51c,0x39b)]['map'](_0xea3793=>{function _0x1ea1b5(_0x317a01,_0x322ace,_0x3e2724,_0x39a6cf){return _0x222b6b(_0x39a6cf- -0x3fb,_0x322ace-_0x24e677._0x1747bd,_0x317a01,_0x39a6cf-0x137);}function _0xe83cae(_0x5d0c69,_0x601d75,_0x8990f5,_0x6a9932){return _0x5dcd36(_0x601d75,_0x601d75-_0x16c529._0x16b0a8,_0x8990f5-_0x16c529._0x483569,_0x8990f5-_0x16c529._0x4012cd);}if(typeof _0xea3793[_0xe83cae(0x997,0x763,0x7d4,0x897)]==='string'||_0xea3793[_0xe83cae(0x77b,_0x5204e9._0x5d152a,0x7d4,_0x5204e9._0x3fc8e1)]===null)return _0xea3793;return{..._0xea3793,'content':_0xea3793[_0x1ea1b5(_0x5204e9._0x3a351e,0x3ff,_0x5204e9._0x4709e7,_0x5204e9._0x1dd064)][_0xe83cae(_0x5204e9._0x39ecd8,0x6c4,0x5e4,_0x5204e9._0x1869fb)](_0xa79f02=>({..._0xa79f02}))};});function _0x5dcd36(_0x1905bc,_0x52d0a6,_0x41d4c7,_0x1a4701){return _0xadee61(_0x1a4701- -_0x3f458c._0x36468d,_0x1905bc,_0x41d4c7-_0x3f458c._0x3aa98c,_0x1a4701-0x1a5);}const _0x105a15=_0x5a14c1[_0x5dcd36(_0x3564cf._0x8e3dba,_0x3564cf._0x46a149,_0x3564cf._0x72235f,0x2ff)](_0x5803e5=>_0x5803e5[_0x222b6b(0x687,0x493,0x524,0x556)]===_0x222b6b(0x573,0x732,0x702,0x5f4));if(_0x105a15[_0x222b6b(0x60a,_0x3564cf._0x3bcdb4,_0x3564cf._0x52c08c,0x789)]>0x0)for(let _0x26cae1=0x0;_0x26cae1<Math[_0x222b6b(0x645,_0x3564cf._0x2c6c4f,0x59c,_0x3564cf._0x8d4352)](0x2,_0x105a15[_0x5dcd36(_0x3564cf._0x473296,0x344,_0x3564cf._0x44c72e,_0x3564cf._0x1dd832)]);_0x26cae1++){const _0x1e780d=_0x105a15[_0x26cae1];if(_0x1e780d&&typeof _0x1e780d['content']===_0x5dcd36(0x339,0xb7,_0x3564cf._0x47cc01,0x2de)&&_0x1e780d[_0x222b6b(0x7de,0x8b6,0x98f,_0x3564cf._0x21b441)])_0x1e780d[_0x222b6b(0x7de,0x976,_0x3564cf._0x107cac,_0x3564cf._0x4f502a)]=[{'type':'text','text':_0x1e780d['content'],'cache_control':{'type':'ephemeral'}}];else{if(_0x1e780d&&Array[_0x222b6b(_0x3564cf._0xa0261f,_0x3564cf._0x58580d,_0x3564cf._0x4d64e9,_0x3564cf._0x22959f)](_0x1e780d[_0x222b6b(0x7de,_0x3564cf._0x1d9f57,_0x3564cf._0x31325e,0x9aa)])){const _0x1f946a=_0x1e780d[_0x222b6b(_0x3564cf._0x57ec26,_0x3564cf._0x541176,0x71b,_0x3564cf._0x139c9f)][_0x1e780d['content'][_0x5dcd36(0x113,_0x3564cf._0xf889ed,0x387,0x1b3)]-0x1];_0x1f946a?.['type']===_0x5dcd36(0x180,_0x3564cf._0x56fc41,_0x3564cf._0xf7385a,0x24f)&&(_0x1f946a['cache_control']={'type':_0x5dcd36(0x171,0x58f,0x246,0x3a6)});}}}const _0x19165c=_0x5a14c1[_0x5dcd36(0x259,_0x3564cf._0x531404,_0x3564cf._0x3f0eaa,_0x3564cf._0x343da5)](_0x4229c3=>_0x4229c3['role']===_0x5dcd36(0x184,0x186,0x20a,0x74)||_0x4229c3[_0x222b6b(0x687,0x558,0x561,0x648)]===_0x5dcd36(0x3dc,0x32a,0x514,0x3cb)),_0x21f513=[];if(_0x19165c[_0x5dcd36(_0x3564cf._0x531b15,0x267,_0x3564cf._0x46da29,0x1b3)]>=0x2)for(let _0x28a57c=_0x19165c[_0x5dcd36(_0x3564cf._0x319fd4,0x8a,0x43,0x1b3)]-0x2;_0x28a57c<_0x19165c[_0x222b6b(0x60a,0x643,_0x3564cf._0x10c516,_0x3564cf._0x4c2bca)];_0x28a57c++){const _0x1232a4=_0x19165c[_0x28a57c];if(_0x1232a4){const _0x382c38=_0x5a14c1[_0x222b6b(0x4e7,_0x3564cf._0x578ab4,0x412,0x33c)](_0x1232a4);if(_0x382c38!==-0x1)_0x21f513['push'](_0x382c38);}}else{if(_0x19165c[_0x222b6b(0x60a,0x3f8,0x65b,_0x3564cf._0x5bea86)]===0x1){const _0x3e2496=_0x19165c[0x0];if(_0x3e2496){const _0x3b65e9=_0x5a14c1[_0x222b6b(0x4e7,0x4ed,_0x3564cf._0x390e02,_0x3564cf._0x32cf40)](_0x3e2496);if(_0x3b65e9!==-0x1)_0x21f513[_0x5dcd36(_0x3564cf._0x3cebcc,0x29d,0x3ce,0x397)](_0x3b65e9);}}}for(const _0x4d49a4 of _0x21f513){const _0x5eeb66=_0x5a14c1[_0x4d49a4];if(_0x5eeb66&&typeof _0x5eeb66[_0x5dcd36(0x1cd,0x284,0x184,0x387)]===_0x5dcd36(_0x3564cf._0x89833a,0x2c0,0x148,_0x3564cf._0x5bf904)&&_0x5eeb66[_0x5dcd36(0x3b9,_0x3564cf._0x58b16f,0x354,0x387)])_0x5eeb66[_0x5dcd36(_0x3564cf._0x491136,0x301,_0x3564cf._0x19151c,0x387)]=[{'type':'text','text':_0x5eeb66[_0x222b6b(0x7de,0x80e,_0x3564cf._0x3cda12,_0x3564cf._0x282976)],'cache_control':{'type':'ephemeral'}}];else{if(_0x5eeb66&&Array['isArray'](_0x5eeb66[_0x222b6b(0x7de,0x9e0,_0x3564cf._0x50ba6f,0x76e)])){const _0x54101f=_0x5eeb66['content'][_0x5eeb66[_0x222b6b(_0x3564cf._0x597bad,_0x3564cf._0x4cf218,0x9d6,_0x3564cf._0x3bb9bb)][_0x5dcd36(0x282,_0x3564cf._0x2b7b47,_0x3564cf._0x42c494,0x1b3)]-0x1];_0x54101f?.[_0x222b6b(0x5d7,0x721,_0x3564cf._0x1fa015,_0x3564cf._0x5b7677)]===_0x5dcd36(_0x3564cf._0x3a7f28,0x1f3,_0x3564cf._0x399c96,_0x3564cf._0x42c494)&&(_0x54101f[_0x5dcd36(_0x3564cf._0x236eb0,_0x3564cf._0x7e5f61,_0x3564cf._0x6f1642,0x332)]={'type':_0x5dcd36(0x4a6,0x5d8,0x432,0x3a6)});}}}return{..._0x3da81e,'messages':_0x5a14c1};}async[_0x27e2df(0x28e,0x40d,0x37f,0x407)](_0x33922a,_0x17a606){const _0x5d99e6={_0x49157b:0x414,_0x5f2415:0x269,_0x537d00:0x2ab,_0x327748:0x291,_0x5ca086:0x124,_0x4a4666:0xd8,_0x55fa5:0x2ea,_0x4e1da6:0x337,_0x2ac27d:0x758,_0x22f79e:0x6f7,_0x8c1c01:0x53a,_0xf98635:0x595,_0xd654c:0x630,_0x387bfd:0x4fb,_0xf5274c:0x4c3,_0x4e6e17:0x60f,_0x6aa824:0x6a1,_0x3cf341:0x356,_0x4b4741:0x248,_0x4d4ec1:0x72c,_0x48eff0:0x615,_0x317076:0x377,_0x35ea06:0x5b9,_0x4a9cf0:0x3f4,_0xfbfdca:0x513,_0x136c4f:0x42f,_0x54888b:0x5ab,_0x35c5d2:0x8b,_0x3bf84b:0x3ac,_0x4b517a:0x999,_0x6cdd11:0x669,_0x5662af:0x8b7,_0xb6daaf:0x377,_0x340a25:0x766,_0x5ba5b9:0x7fb,_0x2c6d7a:0x436,_0x129b19:0x78a,_0xa7a96e:0x244,_0x22e870:0x15a,_0x6e1995:0xcf,_0x38c7a2:0x18b,_0x4e0f18:0x76,_0x25b1f7:0x2df,_0x172426:0x11c,_0x2cf667:0x3e3,_0x5c4ff4:0x301,_0x416150:0x88,_0x337e17:0xbc,_0x1e14e8:0xae,_0x484919:0x5d5,_0x4986ae:0x893},_0xd91c96={_0x254c86:0x19c,_0x5d068e:0xa2},_0x4e97b9={_0x5892d2:0x381,_0x1109b9:0x148},_0x588c4c=this['applyCacheControl'](_0x33922a),_0x26f0f9={'model':_0x588c4c[_0x3010f5(_0x5d99e6._0x49157b,0x425,_0x5d99e6._0x5f2415,_0x5d99e6._0x537d00)],'messages':_0x588c4c[_0x3010f5(-_0x5d99e6._0x327748,-0x68,-_0x5d99e6._0x5ca086,-_0x5d99e6._0x4a4666)],'temperature':_0x588c4c[_0x28ad2a(0x49b,_0x5d99e6._0x55fa5,_0x5d99e6._0x4e1da6,0x52f)],'top_p':_0x588c4c[_0x28ad2a(0x6f4,0x7c6,0x67a,_0x5d99e6._0x2ac27d)],'stream':![],..._0x588c4c[_0x28ad2a(_0x5d99e6._0x22f79e,_0x5d99e6._0x8c1c01,0x7b2,0x7a7)]!==void 0x0&&{'max_tokens':_0x588c4c[_0x28ad2a(0x6f7,_0x5d99e6._0xf98635,_0x5d99e6._0xd654c,_0x5d99e6._0x387bfd)]},..._0x588c4c['reasoning']&&{'reasoning':_0x588c4c[_0x28ad2a(_0x5d99e6._0xf5274c,_0x5d99e6._0x4e6e17,_0x5d99e6._0x6aa824,_0x5d99e6._0x3cf341)]},..._0x588c4c[_0x3010f5(0x338,0x11c,_0x5d99e6._0x4b4741,0x21b)]&&{'usage':_0x588c4c[_0x28ad2a(_0x5d99e6._0x4d4ec1,0x5b2,_0x5d99e6._0x48eff0,0x920)]}};if(_0x588c4c[_0x28ad2a(_0x5d99e6._0x317076,_0x5d99e6._0x35ea06,_0x5d99e6._0x4a9cf0,0x31d)]&&_0x588c4c[_0x28ad2a(0x377,_0x5d99e6._0xfbfdca,_0x5d99e6._0x136c4f,_0x5d99e6._0x54888b)]['length']>0x0)_0x26f0f9[_0x3010f5(-0x15c,_0x5d99e6._0x35c5d2,-0x28e,-0x19a)]=_0x588c4c[_0x28ad2a(0x377,_0x5d99e6._0x3bf84b,0x151,0x2df)];if(_0x588c4c[_0x28ad2a(0x766,_0x5d99e6._0x4b517a,_0x5d99e6._0x6cdd11,_0x5d99e6._0x5662af)]&&_0x588c4c['tools']&&_0x588c4c[_0x28ad2a(_0x5d99e6._0xb6daaf,0x26f,0x3f0,0x41a)]['length']>0x0)_0x26f0f9[_0x28ad2a(_0x5d99e6._0x340a25,0x785,_0x5d99e6._0x5ba5b9,0x60c)]=_0x588c4c[_0x3010f5(0x68,0x213,_0x5d99e6._0x2c6d7a,0x255)];const _0x5155ba=await this[_0x28ad2a(_0x5d99e6._0x129b19,0x7f0,0x6dd,0x7c1)]()['post'](_0x3010f5(0x67,-_0x5d99e6._0xa7a96e,-0x345,-_0x5d99e6._0x22e870),_0x26f0f9,void 0x0,_0x17a606);if(!_0x5155ba['ok']){const _0x539a4e=await _0x5155ba[_0x3010f5(_0x5d99e6._0x6e1995,0x164,0xca,0x156)]();this[_0x3010f5(_0x5d99e6._0x38c7a2,-0x1a6,0x28d,_0x5d99e6._0x4e0f18)](_0x5155ba[_0x3010f5(_0x5d99e6._0x25b1f7,0x72,0x102,_0x5d99e6._0x172426)],_0x539a4e||_0x28ad2a(0x414,0x4c0,0x2e3,_0x5d99e6._0x2cf667)+_0x5155ba[_0x3010f5(_0x5d99e6._0x5c4ff4,-_0x5d99e6._0x416150,0x125,0x11c)]);}const _0x1f73cf=await _0x5155ba['json'](),_0x4c1619=mergeChoices(_0x1f73cf[_0x3010f5(0x13e,_0x5d99e6._0x337e17,0x14c,0x1e)]);function _0x28ad2a(_0x243ffd,_0x20a3f0,_0x36c4a4,_0x152cf6){return _0x27e2df(_0x243ffd-0xf1,_0x243ffd-_0x4e97b9._0x5892d2,_0x36c4a4-_0x4e97b9._0x1109b9,_0x152cf6);}function _0x3010f5(_0x14c6dd,_0x2e333e,_0x57ede7,_0x5df506){return _0x27e2df(_0x14c6dd-_0xd91c96._0x254c86,_0x5df506- -0x190,_0x57ede7-_0xd91c96._0x5d068e,_0x14c6dd);}const _0x4ba379=this[_0x3010f5(0x7d,-_0x5d99e6._0x1e14e8,0xc5,0x2d)](_0x1f73cf[_0x28ad2a(0x72c,0x874,_0x5d99e6._0x484919,_0x5d99e6._0x4986ae)]);return{..._0x4c1619,..._0x4ba379?{'usage':_0x4ba379}:{}};}async[_0xadee61(0x4f6,0x5f2,0x439,0x380)](_0x4b8166,_0x211156={},_0xe109f8){const _0x4a98e2={_0x5b1116:0x3ab,_0x9cfc1a:0x1d8,_0x22a4bd:0x60d,_0x25fe8e:0x765,_0x594f5b:0x9b,_0x165350:0x161,_0x61b94a:0x27d,_0x2091f6:0x2e6,_0xe493a1:0xdc,_0x3c9ea0:0x53f,_0x359169:0x5c8,_0x2e59b0:0x367,_0x347971:0x314,_0xa21fd2:0x307,_0x168b6d:0x430,_0x7ec1c5:0x314,_0x175b3a:0x27b,_0x3b4e75:0x2d2,_0x40d479:0x454,_0x4ea8ae:0x2a9,_0x4a135e:0x4ef,_0x4dc069:0x324,_0xc7b9c0:0x1c8,_0x168a8f:0x2e8,_0x803555:0x2a7,_0x2b6ea6:0x56e,_0x14f558:0xb9,_0x4fcb66:0x38,_0x2a40a8:0x48e,_0x592d3c:0x4a3,_0x297c48:0x270,_0x4e8ed3:0x604,_0x209296:0x48e,_0x5090e8:0x46b,_0x22fb89:0x373,_0x532a9c:0x755,_0x1fdd83:0x784,_0x24b72b:0x4be,_0x552e15:0x4ed,_0x10a259:0xdf,_0x4f0c47:0x2e5,_0x7394c0:0x39a,_0x1dfedd:0x207,_0xdb3876:0x355,_0x2b4d07:0x3f2,_0x36b3fc:0x616,_0x33e88f:0x31d,_0x16007e:0x262,_0x5d3e30:0x302,_0x3b862f:0x444,_0x5ea7a4:0x211,_0x49411d:0x33,_0x34a7f0:0x40a,_0x7f1a20:0x1f6,_0xc52e11:0x2c8,_0x5e75ae:0x233,_0x25965a:0x9d,_0x28a49c:0x32f,_0x51fade:0xbc,_0x3b2907:0x183,_0x3bc28e:0x1ef,_0x1ae405:0x131,_0x21c8af:0x9b,_0x20bc89:0x615,_0x57bfd6:0x2f3,_0x3c0e2a:0x219},_0x22aa55={_0x382685:0x99,_0x386257:0x1d2},_0x572557={_0x79d9ed:0x430,_0x486d2e:0x5c2,_0x970c18:0x71,_0x46cf6e:0x10d,_0xa165df:0x22a,_0x109847:0x63,_0x5bc943:0xbf,_0x170d19:0x25,_0x1cd9ad:0xee,_0x3b9874:0x123,_0x2ed185:0x31e,_0x2e72a3:0x236,_0x3d7b64:0x10b,_0x21e0d7:0xd0,_0x2501fd:0x1e0,_0x902d5c:0xa,_0x358c09:0x1aa,_0x40f631:0x255,_0x2cf80b:0xba,_0x3b7357:0x1d,_0x3fba3d:0x3d,_0x27815a:0x1f1,_0x294b31:0x22f,_0x54b04c:0x14,_0xbd5b12:0x12a,_0x13cbfe:0x1c6,_0xed8718:0xec,_0x23f3f1:0x1ec,_0x556400:0x28,_0x322fe2:0x298,_0x1af96f:0x172,_0x33e69f:0x31c,_0x452fb5:0xf4,_0x6f74c5:0x1e7,_0x1108fb:0x3ea,_0x2a40cb:0x34c,_0x5efffe:0x3c3,_0x40dbaa:0x175,_0x5aafc5:0x246,_0x2f2f9d:0x101,_0x380059:0x6cb,_0x1e879f:0x105,_0x5c3ff7:0x96,_0x495fd1:0x1bf,_0x5274e5:0x6cf,_0x1f77ca:0x4e1,_0x410f70:0x24,_0x5372a2:0x1c4,_0xba604:0x190,_0x2d59e5:0x156,_0xd27768:0x33b,_0x59853c:0x2c7,_0x10ac06:0x2b8,_0x296a9b:0xad,_0x688769:0x170,_0x16b402:0x273,_0x147402:0x2f6,_0x4afbb2:0x50,_0x43f8d6:0x151,_0x1aca7d:0x344,_0x1a0137:0x362,_0x2c30c3:0x623,_0x5d823e:0xb6,_0xeaf691:0x2f4,_0x4122f8:0x3ec,_0x595c0b:0x105,_0x290362:0xc3,_0x2b014d:0x45e,_0x53510e:0x63e,_0x20fb7c:0xf0,_0x107591:0x201,_0x4e994e:0x11f,_0x49ded8:0x12b,_0x12fb3d:0x18c,_0x38a5a6:0x159,_0x150ad8:0x3c1,_0x40ffb8:0x28d,_0x23b20b:0x602,_0x3923e4:0x3be,_0x7d82dd:0x40c,_0xd6b998:0x7d,_0x2554df:0x80,_0x10be8f:0x1ad,_0xd6aef9:0x471,_0x5e4cc0:0x2c7,_0x42049e:0xc5,_0x5b3476:0x2cf,_0x196ab4:0xce,_0x4a7e0b:0x286,_0x49c6ac:0x32d,_0xaa3dc1:0x28d,_0x4495b1:0x2ce,_0x2e7178:0xb3,_0x21662a:0x1b2,_0x2e9ff3:0x43a,_0x3ce63e:0x3e,_0x3cfbce:0x8b,_0x4ae33e:0x21,_0x400806:0x300,_0x4e3fe8:0x2f4,_0x28f2ae:0x75,_0x43fe5d:0xf1,_0x564ee4:0x194,_0x3c8e7c:0x12d,_0x2ea7cb:0xb7,_0x2dd452:0xa6,_0x13f205:0x197,_0x471b7b:0x190,_0x3cae5d:0x57,_0x342c5d:0xc,_0x3e8260:0x39a,_0x15951c:0x1d6,_0x161b59:0x7e,_0x55a286:0xeb,_0x26e4c8:0xe0},_0x5e4953={_0x2eab1b:0x6c},_0x578bc3=this[_0x4f0752(_0x4a98e2._0x5b1116,0x597,0x398,_0x4a98e2._0x9cfc1a)](_0x4b8166),_0x4ca2df={'model':_0x578bc3[_0x4f0752(_0x4a98e2._0x22a4bd,0x682,_0x4a98e2._0x25fe8e,0x646)],'messages':_0x578bc3[_0x6d15dc(_0x4a98e2._0x594f5b,_0x4a98e2._0x165350,0x2ae,_0x4a98e2._0x61b94a)],'temperature':_0x578bc3[_0x4f0752(0x2ec,_0x4a98e2._0x2091f6,_0x4a98e2._0xe493a1,0x3c0)],'top_p':_0x578bc3[_0x4f0752(0x545,0x451,0x476,_0x4a98e2._0x3c9ea0)],'stream':!![],..._0x578bc3[_0x4f0752(0x548,0x50f,_0x4a98e2._0x359169,0x71b)]!==void 0x0&&{'max_tokens':_0x578bc3[_0x4f0752(0x548,0x480,_0x4a98e2._0x2e59b0,0x76c)]},..._0x578bc3[_0x4f0752(_0x4a98e2._0x347971,_0x4a98e2._0xa21fd2,0xfb,_0x4a98e2._0x168b6d)]&&{'reasoning':_0x578bc3[_0x4f0752(_0x4a98e2._0x7ec1c5,0x52f,_0x4a98e2._0x175b3a,_0x4a98e2._0x3b4e75)]},..._0x578bc3[_0x6d15dc(0x454,_0x4a98e2._0x40d479,0x266,_0x4a98e2._0x4ea8ae)]&&{'usage':_0x578bc3[_0x4f0752(0x57d,0x4aa,0x563,_0x4a98e2._0x4a135e)]}};if(_0x578bc3['tools']&&_0x578bc3['tools'][_0x6d15dc(0x100,0x2f3,0x1d4,_0x4a98e2._0x4dc069)]>0x0)_0x4ca2df[_0x4f0752(_0x4a98e2._0xc7b9c0,_0x4a98e2._0x168a8f,0x2c4,0x132)]=_0x578bc3[_0x6d15dc(-0x145,0x9f,0x11b,0x245)];function _0x6d15dc(_0x11f1e2,_0x95af89,_0x526bcc,_0x26fa94){return _0xadee61(_0x95af89- -_0x5e4953._0x2eab1b,_0x526bcc,_0x526bcc-0x198,_0x26fa94-0x159);}if(_0x578bc3[_0x6d15dc(_0x4a98e2._0x803555,0x48e,_0x4a98e2._0x2b6ea6,0x26b)]&&_0x578bc3['tools']&&_0x578bc3[_0x6d15dc(_0x4a98e2._0x14f558,0x9f,-0x111,_0x4a98e2._0x4fcb66)]['length']>0x0)_0x4ca2df[_0x6d15dc(0x677,_0x4a98e2._0x2a40a8,_0x4a98e2._0x592d3c,_0x4a98e2._0x297c48)]=_0x578bc3[_0x6d15dc(_0x4a98e2._0x4e8ed3,_0x4a98e2._0x209296,_0x4a98e2._0x5090e8,_0x4a98e2._0x22fb89)];const _0x142876=await this[_0x4f0752(0x5db,_0x4a98e2._0x532a9c,0x43a,_0x4a98e2._0x1fdd83)]()[_0x4f0752(_0x4a98e2._0x24b72b,0x5c0,0x6a0,_0x4a98e2._0x552e15)](_0x6d15dc(-0x31,_0x4a98e2._0x10a259,_0x4a98e2._0x4f0c47,0xb9),_0x4ca2df,{'Accept':_0x4f0752(0x1f2,_0x4a98e2._0x7394c0,0x3e6,0x424)},_0xe109f8);if(!_0x142876['ok']){const _0x161112=await _0x142876['text']();this[_0x4f0752(0x3d8,0x536,0x4e6,_0x4a98e2._0x1dfedd)](_0x142876[_0x6d15dc(0x4ee,_0x4a98e2._0xdb3876,_0x4a98e2._0x2b4d07,0x22e)],_0x161112||_0x4f0752(0x265,0x2b8,0x3cf,0x101)+_0x142876['status']);}const _0x3f0aa0=_0x142876[_0x4f0752(0x42b,0x321,_0x4a98e2._0x36b3fc,_0x4a98e2._0x33e88f)]?.[_0x4f0752(_0x4a98e2._0x16007e,_0x4a98e2._0x5d3e30,_0x4a98e2._0x3b862f,0x8d)]();if(!_0x3f0aa0)return{'content':''};const _0x2269f2=new TextDecoder(_0x4f0752(_0x4a98e2._0x5ea7a4,0xd0,_0x4a98e2._0x49411d,_0x4a98e2._0x34a7f0));let _0x5bcaa3='',_0x4f6a1c='',_0x507fea='';const _0x71e231=[];let _0xcf8d7d,_0x20eec1;const _0x210e15={},_0x346712=_0x2d0283=>{const _0x5b9b87={_0xd9ba68:0x2c},_0xe3a54f={_0x5be081:0x3b7};function _0x169d22(_0x36f28f,_0x2a0090,_0x2aef69,_0x114aec){return _0x4f0752(_0x2aef69- -_0xe3a54f._0x5be081,_0x2a0090-0x182,_0x2aef69-0xff,_0x114aec);}const _0x3c019e=_0x2d0283[_0x48de94(0x38b,0x3ce,_0x572557._0x79d9ed,_0x572557._0x486d2e)]('\x0a'),_0x322289=[];for(const _0x22561f of _0x3c019e){if(_0x22561f[_0x169d22(-0x11,_0x572557._0x970c18,-_0x572557._0x46cf6e,-_0x572557._0xa165df)]('data:'))_0x322289['push'](_0x22561f[_0x169d22(-0x40e,-_0x572557._0x109847,-0x1e0,-0x252)](0x5)[_0x48de94(0x176,0x77,_0x572557._0x5bc943,_0x572557._0x170d19)]());}if(_0x322289['length']===0x0)return;const _0x2ddb4d=_0x322289[_0x169d22(-_0x572557._0x1cd9ad,-0x10d,_0x572557._0x3b9874,_0x572557._0x2ed185)]('\x0a')[_0x169d22(-0x14,-0x41,-0x1f3,-_0x572557._0x2e72a3)]();function _0x48de94(_0x5be3c4,_0x3ccace,_0x3c3bd7,_0x48f818){return _0x6d15dc(_0x5be3c4-0xc0,_0x3c3bd7- -_0x5b9b87._0xd9ba68,_0x5be3c4,_0x48f818-0x1e4);}if(!_0x2ddb4d||_0x2ddb4d==='[DONE]')return;try{const _0x3b7f2b=JSON[_0x169d22(_0x572557._0x3d7b64,_0x572557._0x21e0d7,_0x572557._0x2501fd,_0x572557._0x902d5c)](_0x2ddb4d),_0x2a5304=Array[_0x48de94(0x234,_0x572557._0x358c09,_0x572557._0x40f631,0x39)](_0x3b7f2b[_0x48de94(0x2df,0x1ed,0x22b,0x300)])?_0x3b7f2b[_0x48de94(_0x572557._0x2cf80b,0x244,0x22b,_0x572557._0x3b7357)]:[],_0x58f191=_0x2a5304[_0x48de94(-_0x572557._0x3fba3d,0x20e,_0x572557._0x27815a,_0x572557._0x294b31)](_0x3cd7ae=>_0x3cd7ae['finish_reason']&&_0x3cd7ae[_0x48de94(0x2bd,0x199,0x38c,0x4ae)]!==null)?.[_0x169d22(_0x572557._0x54b04c,0x253,_0x572557._0xbd5b12,-_0x572557._0x1cd9ad)];_0x58f191&&(_0x20eec1=_0x58f191);const _0x95e07d=_0x3b7f2b[_0x169d22(0x1fb,0x406,_0x572557._0x13cbfe,0x1cd)]||_0x2a5304[0x0]?.['usage'];_0x95e07d&&(_0xcf8d7d=this[_0x169d22(_0x572557._0xed8718,-_0x572557._0x23f3f1,-_0x572557._0x556400,-0xd8)](_0x95e07d),_0xcf8d7d&&(_0x20eec1&&_0x211156[_0x48de94(_0x572557._0x322fe2,0x244,0x16e,-0x81)]?_0x211156[_0x169d22(-_0x572557._0x1af96f,-_0x572557._0x33e69f,-_0x572557._0x452fb5,-_0x572557._0x6f74c5)](_0x20eec1,_0xcf8d7d):_0x211156[_0x48de94(_0x572557._0x1108fb,_0x572557._0x2a40cb,_0x572557._0x5efffe,0x2d5)]?.(_0xcf8d7d)));for(const _0x53fb18 of _0x2a5304){const _0x289b0b=_0x53fb18[_0x169d22(_0x572557._0x40dbaa,0x3ea,_0x572557._0x5aafc5,0x11)]??_0x53fb18[_0x48de94(0x9d,0x247,_0x572557._0x2f2f9d,0x27c)]??{},_0x19ab1d=_0x289b0b[_0x48de94(0x690,0x571,0x49b,_0x572557._0x380059)]??void 0x0,_0x1916f4=_0x289b0b[_0x169d22(0x1f7,0x19,_0x572557._0x1e879f,-_0x572557._0x5c3ff7)]??_0x289b0b[_0x48de94(0x27c,0x26c,_0x572557._0x495fd1,0x2fc)]??_0x289b0b[_0x48de94(_0x572557._0x5274e5,0x49a,_0x572557._0x1f77ca,0x5ba)]??void 0x0;typeof _0x1916f4==='string'&&_0x1916f4[_0x169d22(-0x16f,-_0x572557._0x410f70,0x65,0x273)]>0x0&&(_0x507fea+=_0x1916f4,_0x211156[_0x169d22(0x33,0x14c,-0x3a,_0x572557._0x5372a2)]?.(_0x1916f4));if(typeof _0x19ab1d===_0x169d22(-0x36,-0x75,_0x572557._0xba604,0x38a)&&_0x19ab1d[_0x48de94(_0x572557._0x2d59e5,_0x572557._0xd27768,_0x572557._0x59853c,_0x572557._0x10ac06)]>0x0){if(_0x4f6a1c===''){const _0x148f19=_0x19ab1d[_0x169d22(-0x43,0x245,_0x572557._0x296a9b,_0x572557._0x688769)](/^\n+/,'');_0x148f19&&(_0x4f6a1c+=_0x148f19,_0x211156[_0x48de94(_0x572557._0x16b402,0x33a,_0x572557._0x147402,0x33f)]?.(_0x148f19));}else _0x4f6a1c+=_0x19ab1d,_0x211156[_0x169d22(-_0x572557._0x4afbb2,_0x572557._0x43f8d6,0x94,0x28e)]?.(_0x19ab1d);}const _0x1ec19d=[_0x48de94(0x272,0x291,_0x572557._0x1aca7d,_0x572557._0x1a0137),_0x48de94(0x4b6,0x3cb,0x49b,_0x572557._0x2c30c3),_0x169d22(-_0x572557._0x5d823e,_0x572557._0xeaf691,_0x572557._0x43f8d6,-0x41),_0x48de94(0x133,0x353,0x1bf,_0x572557._0x4122f8),_0x169d22(-0x2b,0x186,_0x572557._0x595c0b,-_0x572557._0x290362),_0x48de94(_0x572557._0x2b014d,0x2ce,_0x572557._0x1f77ca,_0x572557._0x53510e)];for(const _0x14c71c of Object['keys'](_0x289b0b)){if(_0x1ec19d[_0x169d22(-0x14,_0x572557._0x20fb7c,0x40,-0x62)](_0x14c71c))continue;const _0x1e6003=_0x289b0b[_0x14c71c];if(typeof _0x1e6003===_0x48de94(0x5ef,0x1ee,0x3f2,0x3b4))_0x210e15[_0x14c71c]=(_0x210e15[_0x14c71c]||'')+_0x1e6003;else _0x1e6003!==void 0x0&&_0x1e6003!==null&&(_0x210e15[_0x14c71c]=_0x1e6003);}const _0x40d660=Array[_0x169d22(0x80,-0x77,-0xd,-_0x572557._0x107591)](_0x289b0b['tool_calls'])?_0x289b0b[_0x169d22(0x312,_0x572557._0x4e994e,0x151,0x110)]:[];for(const _0xfcae24 of _0x40d660){let _0x16546b;if(_0xfcae24['id'])_0x16546b=_0x71e231['find'](_0x20c32=>_0x20c32['id']===_0xfcae24['id']),!_0x16546b&&(_0x16546b={..._0xfcae24,'id':_0xfcae24['id'],'type':_0x169d22(-_0x572557._0x49ded8,-_0x572557._0x12fb3d,-0x194,-_0x572557._0x38a5a6),'function':{'name':_0xfcae24['function']?.[_0x48de94(_0x572557._0x150ad8,0x461,_0x572557._0x40ffb8,0x13e)]??'','arguments':''}},_0x71e231[_0x48de94(_0x572557._0x23b20b,_0x572557._0x3923e4,0x4ab,_0x572557._0x7d82dd)](_0x16546b));else{if(_0x71e231[_0x169d22(-_0x572557._0xd6b998,-_0x572557._0x2554df,0x65,_0x572557._0x10be8f)]>0x0)_0x16546b=_0x71e231[_0x71e231[_0x48de94(0x365,_0x572557._0xd6aef9,_0x572557._0x5e4cc0,_0x572557._0x42049e)]-0x1];else{const _0x48dea3=_0xfcae24[_0x169d22(-0x53,-0x30c,-0x142,-0x366)]??0x0;_0x16546b={'id':String(_0x48dea3),'type':'function','function':{'name':_0xfcae24[_0x48de94(0x2bc,_0x572557._0x5b3476,_0x572557._0x196ab4,_0x572557._0x4a7e0b)]?.[_0x48de94(0xaa,_0x572557._0x49c6ac,_0x572557._0xaa3dc1,_0x572557._0x4495b1)]??'','arguments':''}},_0x71e231[_0x169d22(_0x572557._0x2e7178,_0x572557._0x21662a,0x249,_0x572557._0x2e9ff3)](_0x16546b);}}typeof _0xfcae24[_0x169d22(_0x572557._0x3ce63e,-0x9c,-0x194,-0xa5)]?.[_0x169d22(_0x572557._0x3cfbce,-0x90,0x2b,_0x572557._0x4ae33e)]===_0x169d22(_0x572557._0x400806,_0x572557._0x4e3fe8,0x190,_0x572557._0x28f2ae)&&_0xfcae24['function']['name']&&(_0x16546b[_0x48de94(0x238,0x157,0xce,0x27a)]['name']=_0xfcae24[_0x169d22(-_0x572557._0x43fe5d,0x4b,-_0x572557._0x564ee4,-_0x572557._0x3c8e7c)][_0x48de94(0x3e8,0x81,_0x572557._0x40ffb8,0x455)]);typeof _0xfcae24[_0x48de94(0x186,0x259,_0x572557._0x196ab4,_0x572557._0x2ea7cb)]?.[_0x169d22(0xdc,-0x26d,-_0x572557._0x2dd452,-_0x572557._0x13f205)]===_0x169d22(0x3c5,0x5f,_0x572557._0x471b7b,0x26d)&&_0xfcae24[_0x48de94(-_0x572557._0x3cae5d,-0x74,_0x572557._0x196ab4,-_0x572557._0x342c5d)][_0x48de94(0x21c,0x6c,0x1bc,0x16c)]&&(_0x16546b[_0x48de94(-0x135,0x1d8,0xce,0x167)][_0x48de94(0x214,0x1cd,0x1bc,_0x572557._0x3e8260)]+=_0xfcae24[_0x48de94(_0x572557._0x15951c,0x1b5,0xce,-_0x572557._0x161b59)]['arguments']);if(_0x211156[_0x169d22(-_0x572557._0x55a286,-0xdb,-0x4,_0x572557._0x26e4c8)])_0x211156['onToolCallDelta'](_0x16546b);}}}catch{}};while(!![]){const {value:_0x1b4da7,done:_0x5200dc}=await _0x3f0aa0[_0x6d15dc(0x2a2,_0x4a98e2._0x7f1a20,-0x3,_0x4a98e2._0xc52e11)]();if(_0x5200dc)break;const _0x2ef217=_0x2269f2['decode'](_0x1b4da7,{'stream':!![]});_0x5bcaa3&&_0x2ef217[_0x6d15dc(-0x58,0x9b,_0x4a98e2._0x5e75ae,0x1b2)]()[_0x6d15dc(-0x67,0x181,0x5b,-_0x4a98e2._0x25965a)]('data:')&&!_0x5bcaa3[_0x6d15dc(_0x4a98e2._0x28a49c,0x20a,_0x4a98e2._0x51fade,_0x4a98e2._0x3b2907)]('\x0a\x0a')&&!_0x5bcaa3[_0x6d15dc(0x2cb,0x20a,0x5,0x28a)]('\x0a')&&(_0x5bcaa3+='\x0a\x0a');_0x5bcaa3+=_0x2ef217;const _0x381498=_0x5bcaa3['split']('\x0a\x0a');_0x5bcaa3=_0x381498[_0x6d15dc(_0x4a98e2._0x3bc28e,0x3b0,0x2ae,0x3db)]()??'';for(const _0x259a88 of _0x381498)_0x346712(_0x259a88);}if(_0x5bcaa3[_0x6d15dc(-_0x4a98e2._0x1ae405,_0x4a98e2._0x21c8af,0xdf,-0x3)]())_0x346712(_0x5bcaa3);function _0x4f0752(_0x53b8b9,_0x562d68,_0x4f945f,_0x48ac42){return _0x27e2df(_0x53b8b9-_0x22aa55._0x382685,_0x53b8b9-_0x22aa55._0x386257,_0x4f945f-0x70,_0x48ac42);}_0x4f6a1c=_0x4f6a1c[_0x4f0752(0x464,0x25f,0x2a8,_0x4a98e2._0x20bc89)](/^\n+/,'');const _0x32299c=_0x71e231[_0x6d15dc(0x209,_0x4a98e2._0x57bfd6,0x1b4,_0x4a98e2._0x3c0e2a)]?_0x71e231:void 0x0;return{'content':_0x4f6a1c,..._0x32299c?{'tool_calls':_0x32299c}:{},..._0xcf8d7d?{'usage':_0xcf8d7d}:{},..._0x507fea&&{'reasoning':_0x507fea},..._0x210e15};}};function normalizeModelLimits(_0x5efdef,_0x407479){const _0x9d5e19={_0xe8a0a0:0x63e,_0x158dfc:0x49d,_0x275b24:0x4cf,_0x2ff0f8:0x76c,_0x591fca:0x905,_0x50ed24:0x936,_0x58e79a:0x80e,_0x295101:0x531,_0x2d973c:0x736,_0x7f1daf:0x55b,_0x3fd1f6:0x62c,_0xb440a1:0x581,_0x1f2a3c:0x4c7,_0x6b1583:0x5fc,_0x1bfd44:0x57b,_0x2c1ca0:0x794,_0x1b0510:0x66a,_0x2daea7:0x704,_0x143aab:0x5f2,_0x13ba15:0x597,_0x230f87:0x404,_0x10cac2:0x738,_0x31e26a:0x70a,_0x371451:0x64a},_0x53b254={_0x490ff6:0x2c6,_0x4a9494:0x43},_0x5cd822={_0x1846b0:0xbf};function _0x12b7b0(_0x559b29,_0x2cfcda,_0x252aab,_0x1aa170){return _0xadee61(_0x1aa170-0x296,_0x559b29,_0x252aab-_0x5cd822._0x1846b0,_0x1aa170-0xf4);}function _0x4dfb79(_0x5dfd69,_0x2ec3f8,_0x19daa4,_0x493c19){return _0xadee61(_0x19daa4-_0x53b254._0x490ff6,_0x493c19,_0x19daa4-0x16c,_0x493c19-_0x53b254._0x4a9494);}switch(_0x5efdef[_0x12b7b0(_0x9d5e19._0xe8a0a0,_0x9d5e19._0x158dfc,0x2ea,_0x9d5e19._0x275b24)]()){case _0x4dfb79(0x67d,0x74c,_0x9d5e19._0x2ff0f8,_0x9d5e19._0x591fca):{const _0x493b28=_0x407479[_0x12b7b0(0x865,0x7c8,_0x9d5e19._0x50ed24,_0x9d5e19._0x58e79a)],_0x442b13=_0x493b28?.[_0x12b7b0(0x696,_0x9d5e19._0x295101,0x80c,_0x9d5e19._0x2d973c)],_0x3df599=_0x442b13?.[_0x4dfb79(0x74a,0x8c9,0x6ca,0x696)];if(!_0x3df599)return null;return{'contextWindow':_0x3df599,'maxOutput':_0x442b13?.['max_output_tokens']};}case _0x4dfb79(_0x9d5e19._0x7f1daf,0x83e,_0x9d5e19._0x3fd1f6,_0x9d5e19._0xb440a1):{return getFallbackLimits(_0x12b7b0(0x803,_0x9d5e19._0x1f2a3c,0x43a,_0x9d5e19._0x6b1583),_0x407479['id']);}case _0x4dfb79(_0x9d5e19._0x1bfd44,0x3d2,0x419,0x4e5):{const _0x524c11=_0x407479[_0x4dfb79(_0x9d5e19._0x2c1ca0,0x79a,_0x9d5e19._0x1b0510,0x630)],_0x3f48c6=_0x524c11?.['context_length'];if(!_0x3f48c6)return null;return{'contextWindow':_0x3f48c6,'maxOutput':_0x524c11?.[_0x12b7b0(_0x9d5e19._0x2daea7,_0x9d5e19._0x143aab,0x89d,0x80b)]};}case'moonshot':{const _0x4a7ed2=_0x407479[_0x12b7b0(_0x9d5e19._0x13ba15,0x506,0x362,_0x9d5e19._0x230f87)];if(!_0x4a7ed2)return null;return{'contextWindow':_0x4a7ed2};}case _0x4dfb79(0x7db,_0x9d5e19._0x10cac2,0x78c,_0x9d5e19._0x31e26a):{const _0x3def2b=_0x407479[_0x12b7b0(0x35c,0x4bc,0x4fd,0x58d)],_0x5c785b=_0x407479['context_length']??_0x3def2b?.[_0x4dfb79(0x27a,0x3bb,0x434,0x2fc)];if(!_0x5c785b)return null;return{'contextWindow':_0x5c785b,'maxOutput':_0x3def2b?.[_0x12b7b0(0x5aa,0x543,_0x9d5e19._0x371451,0x533)]};}default:{const _0x10ab50=_0x407479[_0x12b7b0(0x642,0x1f9,0x498,_0x9d5e19._0x230f87)];if(!_0x10ab50)return null;return{'contextWindow':_0x10ab50};}}}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(_0x5ae453,_0x2ea118){const _0x2c9637=FALLBACK_LIMITS[_0x5ae453['toLowerCase']()];if(!_0x2c9637)return null;return _0x2c9637[_0x2ea118]??null;}function normalizeModelInfo(_0x2c9e07,_0x44bff0){const _0x6b9427={_0x861817:0x2f2,_0x10f635:0x206,_0x229999:0x7a,_0x587c8d:0x1b4,_0x48fb96:0x560,_0x5703aa:0x17c,_0x3bb362:0x351,_0x42dca1:0x81,_0xf8460b:0x169,_0x11fa93:0x364,_0x2cbb47:0x46d,_0x4fc40d:0x423,_0x29afe8:0x280,_0x4ad827:0x98,_0x2853f8:0x41f,_0x2e3638:0x36f,_0x39b4ef:0x614,_0x24f5be:0x4ac,_0x1ff643:0x36b,_0x1a5107:0x314,_0x9249b4:0x3b0,_0x50203f:0x2fb},_0x2b3de3={_0x171f07:0x131},_0x2b2dec={_0x426ab3:0x14,_0x17e999:0xe2},_0x1ef783=_0x44bff0['id'];let _0x5d3ab6=_0x44bff0[_0x55807f(_0x6b9427._0x861817,0x2c0,0x2ef,0x120)]??_0x1ef783;_0x2c9e07[_0x55807f(_0x6b9427._0x10f635,0x36d,_0x6b9427._0x229999,0x24d)]()===_0x55807f(0x333,_0x6b9427._0x587c8d,_0x6b9427._0x48fb96,_0x6b9427._0x5703aa)&&_0x44bff0[_0x4cb3af(_0x6b9427._0x3bb362,-_0x6b9427._0x42dca1,0x2bb,_0x6b9427._0xf8460b)]&&(_0x5d3ab6=_0x44bff0[_0x4cb3af(0x12c,0x2c4,_0x6b9427._0x11fa93,0x169)]);let _0x347e10=null;if(_0x44bff0['limits']&&typeof _0x44bff0[_0x55807f(_0x6b9427._0x2cbb47,0x437,0x642,_0x6b9427._0x4fc40d)]===_0x55807f(0x281,_0x6b9427._0x29afe8,_0x6b9427._0x4ad827,0x153)){const _0x39e453=_0x44bff0[_0x4cb3af(0x228,0x172,_0x6b9427._0x2853f8,_0x6b9427._0x2e3638)];_0x39e453[_0x55807f(0x412,_0x6b9427._0x39b4ef,0x514,0x5cf)]&&typeof _0x39e453[_0x4cb3af(_0x6b9427._0x24f5be,0x2a1,_0x6b9427._0x1ff643,_0x6b9427._0x1a5107)]===_0x55807f(0x490,_0x6b9427._0x9249b4,0x60e,_0x6b9427._0x50203f)&&(_0x347e10={'contextWindow':_0x39e453['contextWindow'],...typeof _0x39e453['maxOutput']==='number'&&{'maxOutput':_0x39e453['maxOutput']}});}function _0x55807f(_0x2bf59a,_0x4eaed2,_0x5f5090,_0x11f6fa){return _0x27e2df(_0x2bf59a-_0x2b2dec._0x426ab3,_0x2bf59a-_0x2b2dec._0x17e999,_0x5f5090-0x1cb,_0x5f5090);}function _0x4cb3af(_0x4dd459,_0x395f89,_0x353532,_0x5564fb){return _0xadee61(_0x5564fb- -_0x2b3de3._0x171f07,_0x4dd459,_0x353532-0x1b,_0x5564fb-0xba);}return!_0x347e10&&(_0x347e10=normalizeModelLimits(_0x2c9e07,_0x44bff0)),{'id':_0x1ef783,'name':_0x5d3ab6,..._0x347e10?{'limits':_0x347e10}:{}};}function deduplicateModels(_0x3d8fc9){const _0x423b31={_0x1a7f1c:0x672,_0x481836:0x265,_0x4d3d44:0x280,_0x57bffe:0x32c,_0x27ba21:0x3ba,_0x577ea2:0x3da,_0x5e8a41:0x1b2,_0x5b0832:0x371},_0x2ad636={_0x3338d9:0x113},_0x477a38={_0x168bc1:0x1bc},_0x2771d=new Map();function _0x1c0883(_0x212bfe,_0x16429e,_0x24de01,_0xa324ae){return _0x27e2df(_0x212bfe-0xa2,_0x24de01-0xfc,_0x24de01-_0x477a38._0x168bc1,_0x212bfe);}function _0x4464c0(_0x33ef12,_0x543e5b,_0x24ce1a,_0x5dbc55){return _0xadee61(_0x5dbc55- -_0x2ad636._0x3338d9,_0x543e5b,_0x24ce1a-0x148,_0x5dbc55-0xf2);}for(const _0x47b127 of _0x3d8fc9){!_0x2771d['has'](_0x47b127['id'])&&_0x2771d[_0x1c0883(_0x423b31._0x1a7f1c,0x2fd,0x431,_0x423b31._0x481836)](_0x47b127['id'],_0x47b127);}return Array[_0x1c0883(_0x423b31._0x4d3d44,_0x423b31._0x57bffe,0x29e,0x60)](_0x2771d[_0x1c0883(_0x423b31._0x27ba21,_0x423b31._0x577ea2,_0x423b31._0x5e8a41,_0x423b31._0x5b0832)]());}var GithubLLM=class extends BaseLLM{[_0xadee61(0x1d6,0x1f5,0x1df,0x31b)];constructor(_0x554b74={}){const _0x3ab4e2={_0x5d2b6d:0x6c0,_0x3d6bce:0x3ea,_0xf41da6:0x3e3,_0x5823a3:0x617,_0x178cfb:0x5cf},_0xaab627={_0x476216:0xd8,_0x3fffa0:0x14e,_0x3898c5:0x10a},_0x5b3876={_0x2a573f:0xb7,_0x136524:0x82};super(_0x554b74[_0x4d6641(_0x3ab4e2._0x5d2b6d,0x4e7,0x66a,0x50c)]??_0x4d6641(_0x3ab4e2._0x3d6bce,_0x3ab4e2._0xf41da6,0x603,_0x3ab4e2._0x5823a3),{'retry':_0x554b74[_0x4d6641(0x3aa,0x3c5,0x510,_0x3ab4e2._0x178cfb)]});function _0x4d6641(_0x355f24,_0x5c6147,_0x2e33d4,_0x2c4099){return _0xadee61(_0x2c4099-0x1ef,_0x2e33d4,_0x2e33d4-_0x5b3876._0x2a573f,_0x2c4099-_0x5b3876._0x136524);}function _0x2954b1(_0x4bd807,_0xe45af3,_0x4c6e4b,_0x477aef){return _0x27e2df(_0x4bd807-_0xaab627._0x476216,_0xe45af3- -_0xaab627._0x3fffa0,_0x4c6e4b-_0xaab627._0x3898c5,_0x4c6e4b);}this['opts']=_0x554b74;}[_0xadee61(0x3bc,0x462,0x186,0x1ae)](){const _0x52aa7a={_0xfd7ee1:0x1ae,_0x53bcce:0x343,_0x3875a6:0x3bd,_0x24dc28:0x101,_0x5a4856:0x53,_0x5529f1:0x12d,_0x25caea:0x27a,_0x497860:0x3bd,_0x528679:0xc6,_0x680aa2:0x165,_0x44b74f:0x140,_0x23a465:0x50,_0x52c11c:0x135,_0x557ec4:0x96,_0x1e46a0:0x14d,_0x1ed13b:0x50,_0x5c7712:0x1e},_0x4fbf66={_0x9a53dd:0x15b},_0x338a85={_0x57bc1c:0x1e7},_0x2d83db=new FetchTransport({'persistFile':this[_0x47aa57(_0x52aa7a._0xfd7ee1,_0x52aa7a._0x53bcce,0x528,_0x52aa7a._0x3875a6)][_0x1a2922(_0x52aa7a._0x24dc28,-_0x52aa7a._0x5a4856,0x146,_0x52aa7a._0x5529f1)],'logLevel':'INFO','enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]}),_0x424a11=new GithubAuthTransport(_0x2d83db,{'baseUrl':this[_0x47aa57(0x34c,0x235,0x497,0x3bd)]['apiUrl'],'apiKey':this[_0x47aa57(_0x52aa7a._0x25caea,0x4ba,0x233,_0x52aa7a._0x497860)]['apiKey'],'accessToken':this[_0x1a2922(0x8,-0x271,-0x1cd,-0x4f)][_0x1a2922(-_0x52aa7a._0x528679,-0xac,_0x52aa7a._0x680aa2,0x2ab)]});function _0x47aa57(_0x276bd1,_0x2e5220,_0xc3a7ea,_0x4807ab){return _0xadee61(_0x4807ab-_0x338a85._0x57bc1c,_0x276bd1,_0xc3a7ea-0xa4,_0x4807ab-0x13a);}function _0x1a2922(_0x3749a8,_0x5cd082,_0x6722e3,_0x2dab58){return _0x27e2df(_0x3749a8-0x1ed,_0x6722e3- -0x28e,_0x6722e3-_0x4fbf66._0x9a53dd,_0x2dab58);}const _0x8f0b90=this[_0x1a2922(0xf0,-_0x52aa7a._0x44b74f,-_0x52aa7a._0x23a465,-_0x52aa7a._0x52c11c)]?new RetryTransport(_0x424a11,this[_0x1a2922(-_0x52aa7a._0x557ec4,-_0x52aa7a._0x1e46a0,-_0x52aa7a._0x1ed13b,_0x52aa7a._0x5c7712)]):_0x424a11;return new LLMErrorTransport(_0x8f0b90);}[_0x27e2df(0x1b6,0x1bd,-0x7f,0x255)](_0x670ce3){const _0x18d461={_0xf0173e:0x2f0,_0x4c7e83:0x24b,_0x4354c5:0x2fa,_0x2c7259:0x86f,_0x2e21f6:0x693,_0x512f1f:0x3ee,_0x37195e:0x65d,_0x18f657:0x4d7,_0x400e56:0x2bb,_0x1307d4:0x61c,_0x8fc3a6:0x62b},_0x34e953={_0x1af690:0x31};function _0x48526c(_0x181eb8,_0x53aabc,_0x58ca52,_0x57a7f9){return _0x27e2df(_0x181eb8-0x3e,_0x181eb8-0x3a4,_0x58ca52-0xa8,_0x58ca52);}function _0x57183f(_0x2aeb6e,_0x16aeae,_0xe67bf8,_0x4f4ee6){return _0x27e2df(_0x2aeb6e-_0x34e953._0x1af690,_0x2aeb6e-0x224,_0xe67bf8-0x1ba,_0x4f4ee6);}if(!_0x670ce3)return void 0x0;const _0x4e20e4=_0x670ce3;return{'prompt_tokens':_0x4e20e4[_0x57183f(_0x18d461._0xf0173e,_0x18d461._0x4c7e83,0x39e,_0x18d461._0x4354c5)],'completion_tokens':_0x4e20e4[_0x48526c(0x68c,_0x18d461._0x2c7259,_0x18d461._0x2e21f6,0x595)],'total_tokens':_0x4e20e4[_0x48526c(0x4a3,_0x18d461._0x512f1f,_0x18d461._0x37195e,0x4de)],'prompt_tokens_details':_0x4e20e4[_0x57183f(0x2ec,_0x18d461._0x18f657,_0x18d461._0x400e56,0x1f8)],'completion_tokens_details':_0x4e20e4[_0x48526c(0x444,_0x18d461._0x1307d4,_0x18d461._0x8fc3a6,0x58c)]};}async[_0x27e2df(0x2aa,0xca,0x28d,0x2d5)](_0x8438af){const _0x3620ed={_0x4370c2:0x272,_0x5d4843:0x4de,_0x23f2e8:0x2c4},_0x833b61={_0x86a248:0xa9,_0x14d297:0xc},_0x230378={_0x5c74ee:0x159},_0x51b082=await this['getTransport']()['get'](_0x87dcdb(0x43c,0x228,0x3fc,0x3f3),void 0x0,_0x8438af);function _0x36725f(_0x34a3e8,_0x2cc7cc,_0x1f3e30,_0x201778){return _0xadee61(_0x201778- -0xb1,_0x34a3e8,_0x1f3e30-0xc0,_0x201778-_0x230378._0x5c74ee);}const _0x561d1a=await _0x51b082[_0x36725f(_0x3620ed._0x4370c2,_0x3620ed._0x5d4843,0x3f7,_0x3620ed._0x23f2e8)](),_0x1ce2d0=_0x561d1a['data']['map'](_0x214089=>normalizeModelInfo(_0x36725f(0x559,0x611,0x52c,0x3f5),_0x214089));function _0x87dcdb(_0x2c9e62,_0x1324bb,_0x15207f,_0x333f31){return _0xadee61(_0x1324bb- -_0x833b61._0x86a248,_0x2c9e62,_0x15207f-0x10d,_0x333f31-_0x833b61._0x14d297);}return deduplicateModels(_0x1ce2d0);}['handleError'](_0x36e4d2,_0x3a3ed4){const _0x5acef0={_0x3809bf:0x86,_0x4f9156:0x1f6,_0xf3e919:0xa5,_0xe1f5fe:0xfa,_0xac11c1:0x49b,_0x3f520f:0x311,_0x307ba8:0x255,_0x419ad0:0x503,_0x54143f:0x284,_0x116587:0x44c,_0x3a88d2:0x131,_0x2c8c01:0x161,_0x879ad1:0x1dc,_0x1a1edc:0x354,_0x5307d1:0x244,_0x2ba7fc:0xfb},_0x4bfac1={_0x4e03da:0xd3,_0x1bcb49:0x5d},_0x336c74={_0x222798:0x178,_0x3979b5:0x53,_0x4a7e32:0x2};function _0x2e763b(_0x5de9f0,_0xaa5474,_0x5952a0,_0x20639f){return _0x27e2df(_0x5de9f0-_0x336c74._0x222798,_0x5952a0-_0x336c74._0x3979b5,_0x5952a0-_0x336c74._0x4a7e32,_0xaa5474);}function _0x584b8c(_0x428e33,_0x534b3f,_0xa2377c,_0x1a8937){return _0x27e2df(_0x428e33-_0x4bfac1._0x4e03da,_0x534b3f-0xb,_0xa2377c-_0x4bfac1._0x1bcb49,_0xa2377c);}if(_0x36e4d2 instanceof LLMError)try{let _0x40ec38=_0x36e4d2[_0x584b8c(_0x5acef0._0x3809bf,0x8f,0x291,_0x5acef0._0x4f9156)];_0x40ec38['startsWith']('Invalid\x20request:\x20')&&(_0x40ec38=_0x40ec38[_0x2e763b(_0x5acef0._0xf3e919,-_0x5acef0._0xe1f5fe,0x58,0xc0)](_0x584b8c(0x4b5,0x467,0x237,_0x5acef0._0xac11c1)[_0x584b8c(_0x5acef0._0x3f520f,_0x5acef0._0x307ba8,0x159,0x1d0)]));const _0x3fc79c=JSON[_0x584b8c(0x3a5,0x3d0,0x2bf,0x56f)](_0x40ec38);if(_0x3fc79c?.[_0x2e763b(_0x5acef0._0x419ad0,_0x5acef0._0x54143f,_0x5acef0._0x116587,0x31f)]?.[_0x2e763b(_0x5acef0._0x3a88d2,0x291,_0x5acef0._0x2c8c01,0x387)]==='unsupported_api_for_model')throw new LLMError(_0x584b8c(0x1e7,0x2d8,0x3fe,0xc7)+_0x3a3ed4+_0x2e763b(0x1bb,0x187,0x346,_0x5acef0._0x879ad1),_0x36e4d2[_0x584b8c(_0x5acef0._0x1a1edc,_0x5acef0._0x5307d1,_0x5acef0._0x2ba7fc,0x2ca)],![]);}catch(_0xef1e6a){if(_0xef1e6a instanceof LLMError&&_0xef1e6a['message']['includes']('not\x20supported'))throw _0xef1e6a;}throw _0x36e4d2;}async[_0xadee61(0x522,0x6a2,0x52f,0x50a)](_0x3e95e6,_0x2cf5c3){const _0x26f650={_0x5cec01:0x3a5,_0x7fa798:0x412,_0x5b214c:0x3bc,_0x54e627:0x2d3,_0x219eac:0x160},_0x23b7bb={_0x4a0069:0x17c,_0x29ac86:0x51,_0xce26d1:0x1b2},_0x1a3f01={_0x460845:0xc6};function _0x4ee44c(_0x649d1d,_0x599383,_0xbb681a,_0x488a13){return _0xadee61(_0x488a13- -0x29d,_0xbb681a,_0xbb681a-0x14a,_0x488a13-_0x1a3f01._0x460845);}function _0x5675d3(_0x5a3d33,_0x1b7ffd,_0x2f208a,_0x26c1b8){return _0x27e2df(_0x5a3d33-_0x23b7bb._0x4a0069,_0x2f208a- -_0x23b7bb._0x29ac86,_0x2f208a-_0x23b7bb._0xce26d1,_0x1b7ffd);}try{return await super[_0x5675d3(_0x26f650._0x5cec01,_0x26f650._0x7fa798,_0x26f650._0x5b214c,0x438)](_0x3e95e6,_0x2cf5c3);}catch(_0x4eb82d){this[_0x4ee44c(-0x1a9,-_0x26f650._0x54e627,-0x2e1,-_0x26f650._0x219eac)](_0x4eb82d,_0x3e95e6['model']);}}async['streamCompletion'](_0x369393,_0x3dd692,_0x235689){const _0x5683f3={_0x2191d4:0x80f,_0x141bf9:0x667,_0x177c13:0x660,_0x28c897:0x42a},_0x4b03a4={_0x3d6a4f:0x24,_0xad087d:0x1bd},_0x5396ef={_0x43609d:0x387,_0x46f5b0:0x175};function _0x158150(_0x4e0b58,_0x16c8e0,_0x46a085,_0x4b0361){return _0x27e2df(_0x4e0b58-0x131,_0x4b0361-_0x5396ef._0x43609d,_0x46a085-_0x5396ef._0x46f5b0,_0x46a085);}function _0x391f06(_0xb41010,_0x2b1d14,_0x1cfd9d,_0x138cd7){return _0x27e2df(_0xb41010-_0x4b03a4._0x3d6a4f,_0xb41010-0x42e,_0x1cfd9d-_0x4b03a4._0xad087d,_0x2b1d14);}try{return await super[_0x391f06(_0x5683f3._0x2191d4,_0x5683f3._0x141bf9,0x845,_0x5683f3._0x177c13)](_0x369393,_0x3dd692,_0x235689);}catch(_0x5b3b3f){this[_0x158150(0x2c2,_0x5683f3._0x28c897,0x1de,0x3af)](_0x5b3b3f,_0x369393[_0x391f06(0x869,0x992,0x6dd,0x978)]);}}};import{createAnthropic}from'@ai-sdk/anthropic';import{streamText,generateText,jsonSchema,APICallError}from'ai';var AnthropicAISDKLLM=class{[_0xadee61(0x1d6,-0x36,0x2ff,0x232)];['provider'];['transport'];[_0x27e2df(0x426,0x25b,0xef,0x29e)];constructor(_0x1c086c={}){this['opts']=_0x1c086c;}[_0xadee61(0x19f,0xcc,0x221,0x3bd)](){const _0x5d32d3={_0x27b03f:0x122,_0xa46186:0xff,_0x405502:0x22c,_0x3541b4:0x214,_0x3fb1e5:0x22a,_0x228619:0x778,_0x1fe27e:0x123,_0x3d96c5:0x235,_0x10137e:0xd2,_0x4fc8c9:0x2c4,_0x29d06a:0x43a,_0x538923:0x3bc,_0x22b803:0xc7,_0x649fe8:0x8a,_0x571615:0x4e9,_0x213858:0x46d,_0x1b1383:0x1b0,_0x13b412:0x81,_0x22318d:0x522,_0x5b88c5:0x3cd,_0x4db6ae:0x498,_0x225e7e:0xb8,_0x2a4e42:0xde,_0x10d11e:0x3bc,_0x5ed41f:0x5b8,_0x1b362c:0x7e9,_0x3f75a4:0x3c6,_0x5eb1e5:0x531,_0x162fca:0xbc,_0xe92c61:0xff,_0x239d59:0x22,_0x128d3f:0x60a,_0x5b02ec:0x628,_0x5e0f7c:0x8ae,_0x37dca0:0x2d4},_0x3e567f={_0x251630:0x16a},_0x56384a={_0x4793fa:0x3ac};if(!this['authTransport']){const _0x3fc3a2=new FetchTransport({'persistFile':this[_0x4d425e(_0x5d32d3._0x27b03f,-_0x5d32d3._0xa46186,-0x2ab,-_0x5d32d3._0x405502)][_0x4d425e(0x34e,_0x5d32d3._0x3541b4,0x73,0x11a)],'logLevel':_0x4d425e(-0x21f,-0x8f,0xeb,-_0x5d32d3._0x3fb1e5),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]});this[_0x476a03(_0x5d32d3._0x228619,0x705,0x4a2,0x607)]=new AnthropicAuthTransport(_0x3fc3a2,{'apiKey':this[_0x4d425e(-0x21a,-_0x5d32d3._0xa46186,-_0x5d32d3._0x1fe27e,-_0x5d32d3._0x3d96c5)][_0x4d425e(-0x75,-_0x5d32d3._0x10137e,-_0x5d32d3._0x4fc8c9,-0x184)],'oauth':this[_0x4d425e(0x29,-0xff,0x33,-0x2eb)][_0x476a03(_0x5d32d3._0x29d06a,0x19e,0x5f6,_0x5d32d3._0x538923)]?{'access':this[_0x4d425e(-_0x5d32d3._0x22b803,-0xff,-0x1df,_0x5d32d3._0x649fe8)][_0x476a03(0x20e,0x4b7,0x418,_0x5d32d3._0x538923)]['access'],'refresh':this[_0x476a03(_0x5d32d3._0x571615,0x4a7,0x4b4,_0x5d32d3._0x213858)][_0x4d425e(-0x220,-_0x5d32d3._0x1b1383,-0x2a5,-_0x5d32d3._0x13b412)][_0x476a03(0x536,_0x5d32d3._0x22318d,_0x5d32d3._0x5b88c5,_0x5d32d3._0x4db6ae)],'expires':this[_0x4d425e(-_0x5d32d3._0x225e7e,-_0x5d32d3._0xa46186,-0x2cf,_0x5d32d3._0x2a4e42)][_0x476a03(0x416,0x2a2,0x2f1,_0x5d32d3._0x10d11e)]['expires']}:void 0x0,'baseUrl':this[_0x476a03(0x2c3,0x326,_0x5d32d3._0x5ed41f,_0x5d32d3._0x213858)]['baseURL']||this['opts'][_0x476a03(_0x5d32d3._0x1b362c,_0x5d32d3._0x3f75a4,_0x5d32d3._0x5eb1e5,0x5b4)],'retry':this[_0x4d425e(-_0x5d32d3._0x162fca,-_0x5d32d3._0xe92c61,_0x5d32d3._0x239d59,-0x16b)][_0x476a03(_0x5d32d3._0x128d3f,_0x5d32d3._0x5b02ec,_0x5d32d3._0x5e0f7c,0x677)],'onTokenUpdate':this[_0x476a03(_0x5d32d3._0x37dca0,0x454,0x639,_0x5d32d3._0x213858)]['onTokenUpdate']});}function _0x476a03(_0x2ec27a,_0x2aaba3,_0x3189b4,_0x5680aa){return _0x27e2df(_0x2ec27a-0xc4,_0x5680aa-_0x56384a._0x4793fa,_0x3189b4-0x66,_0x2aaba3);}function _0x4d425e(_0x18be9a,_0x1a7f22,_0x3b5e8b,_0x849bc0){return _0xadee61(_0x1a7f22- -0x2d5,_0x18be9a,_0x3b5e8b-_0x3e567f._0x251630,_0x849bc0-0x1f0);}return this[_0x4d425e(0x29f,0x9b,-0x1,0x220)];}[_0x27e2df(0x557,0x409,0x49e,0x3e0)](){const _0x3951d8={_0x47ff95:0x251,_0x4f7211:0xd3,_0x9673fd:0x139,_0x1d08c2:0x1d3,_0x52a46e:0x340,_0xa8d965:0x3e9,_0x46ba5a:0x1bb,_0x57da7c:0x293,_0x516d07:0x3db},_0x4a53e8={_0x2e3e96:0x97},_0x19bd4b={_0xb597aa:0x18c};function _0x5a3910(_0x522ebf,_0xcbb0ea,_0x46e5ea,_0x553cd1){return _0xadee61(_0x522ebf- -0x372,_0xcbb0ea,_0x46e5ea-_0x19bd4b._0xb597aa,_0x553cd1-0x1c7);}!this[_0x4bb10f(0x27c,0x360,_0x3951d8._0x47ff95,0x139)]&&(this[_0x4bb10f(_0x3951d8._0x4f7211,0x270,0x1bb,_0x3951d8._0x9673fd)]=new LLMErrorTransport(this[_0x5a3910(-_0x3951d8._0x1d08c2,-_0x3951d8._0x52a46e,-0x35d,-0x147)]()[_0x4bb10f(0x4ff,0x617,_0x3951d8._0xa8d965,0x499)]()));function _0x4bb10f(_0x16137a,_0x496cd0,_0x437aea,_0x10726c){return _0x27e2df(_0x16137a-0xc9,_0x10726c-_0x4a53e8._0x2e3e96,_0x437aea-0x169,_0x437aea);}return this[_0x5a3910(-_0x3951d8._0x46ba5a,-0x34,-_0x3951d8._0x57da7c,-_0x3951d8._0x516d07)];}[_0x27e2df(0x436,0x36e,0x504,0x397)](){const _0x198f08={_0x4fcfab:0x4fd,_0x1fc24b:0x8c7,_0x28f0a1:0x4a0,_0x51aff1:0x45f,_0x267b70:0x34,_0x318ea0:0x2ec,_0x5af8f6:0x2e6,_0xb35a59:0x556,_0x243419:0x683,_0x5d22a1:0x143,_0x5d7474:0x315,_0x37a315:0x1e5,_0x36a118:0x1a1,_0x19e099:0x723,_0x20cf6a:0x532,_0x24d06b:0x72e,_0x155a5a:0x6bd,_0x1ea9d2:0x4c1,_0x5ada8a:0x143,_0x40e8b8:0x374,_0x5ece79:0xb,_0x512d63:0x165,_0x3f671b:0x430,_0x9135d4:0x504,_0x50bf7e:0x560,_0x12af21:0x37c,_0x1acf81:0x5fa,_0x3cb986:0x420,_0x2ddef8:0x2d9,_0x38a1e5:0x887},_0x4f90ce={_0x4ea6f5:0x1e2},_0x49ac15={_0x8c9157:0x82};function _0x582aed(_0xbd737,_0x2553b9,_0x3ff5a7,_0x3d065b){return _0x27e2df(_0xbd737-0x1c0,_0xbd737-_0x49ac15._0x8c9157,_0x3ff5a7-0xb9,_0x2553b9);}function _0x225090(_0x42d8c4,_0x5d7ec3,_0x75022d,_0x2c72e0){return _0x27e2df(_0x42d8c4-_0x4f90ce._0x4ea6f5,_0x75022d-0x416,_0x75022d-0x8f,_0x42d8c4);}if(this[_0x582aed(0x352,0x114,_0x198f08._0x4fcfab,0x121)])return this[_0x225090(0x757,0x59e,0x6e6,_0x198f08._0x1fc24b)];const _0x6d728=this[_0x225090(0x4e6,0x30e,_0x198f08._0x28f0a1,_0x198f08._0x51aff1)]();return this['opts'][_0x582aed(0x92,0xe0,0xfc,-_0x198f08._0x267b70)]?this['provider']=createAnthropic({'apiKey':_0x582aed(_0x198f08._0x318ea0,0x413,0x49b,0x1d5),'baseURL':_0x6d728['getBaseUrl'](),'headers':{'authorization':_0x225090(_0x198f08._0x5af8f6,_0x198f08._0xb35a59,0x479,_0x198f08._0x243419)+this[_0x582aed(_0x198f08._0x5d22a1,-0x79,_0x198f08._0x5d7474,-0x10)][_0x582aed(0x92,_0x198f08._0x37a315,_0x198f08._0x36a118,0x18)][_0x582aed(0x31f,0x362,0x403,0x309)],'anthropic-beta':'oauth-2025-04-20,claude-code-20250219,interleaved-thinking-2025-05-14,fine-grained-tool-streaming-2025-05-14'},'fetch':_0x6d728[_0x225090(_0x198f08._0x19e099,0x754,_0x198f08._0x20cf6a,_0x198f08._0x24d06b)]()}):this[_0x225090(_0x198f08._0x155a5a,_0x198f08._0x1ea9d2,0x6e6,0x796)]=createAnthropic({'apiKey':this[_0x582aed(_0x198f08._0x5ada8a,_0x198f08._0x40e8b8,_0x198f08._0x5ece79,_0x198f08._0x512d63)][_0x225090(_0x198f08._0x3f671b,0x6e0,_0x198f08._0x9135d4,_0x198f08._0x50bf7e)],'baseURL':_0x6d728[_0x225090(_0x198f08._0x12af21,_0x198f08._0x1acf81,_0x198f08._0x3cb986,_0x198f08._0x2ddef8)](),'fetch':_0x6d728['createFetchFunction']()}),this[_0x225090(0x5b2,_0x198f08._0x38a1e5,0x6e6,0x80e)];}['getModel'](_0x388754){const _0x534305=this['getProvider']();return _0x534305(_0x388754);}[_0xadee61(0x124,0x71,0x299,0x205)](_0x29fd95){const _0x444727={_0x2a29c:0x996,_0x377f49:0x8f9,_0x36e488:0x7b3,_0x42b038:0x852,_0x3b186f:0x8c0,_0x1611f8:0x724,_0x30438a:0x65d,_0x1b25b8:0x564,_0x4b69b1:0x51f,_0x73093b:0x60a,_0x424439:0x59f,_0x2deeff:0x770,_0x112e26:0x4f9,_0x22cf23:0x488,_0x44a03c:0x60e,_0x5741ac:0x5da,_0x5122cc:0x674,_0x3a7863:0x74f,_0x2c63cd:0x88a,_0x533bad:0x4d4,_0x4a7d99:0x872,_0x21088c:0x620,_0x1df438:0x407,_0x1432a2:0x3bc,_0x383378:0x56b,_0x2e5420:0x5cb,_0x9ef4ec:0x79a,_0x3d8c82:0x378,_0x59bd28:0x503,_0x586e56:0x7d1,_0x3e56fd:0x8c9,_0x3d1925:0x781,_0x223442:0x44f,_0x4a50b6:0x5fa,_0x40c71d:0x62a,_0x2101d8:0x836,_0x725785:0x758,_0x4ca30f:0x7f6},_0x285938={_0x25ef51:0x20c,_0x4f471a:0x1cf,_0x3a0572:0x75},_0x903fb1={_0x72b130:0x35,_0x1bc2b6:0x1a8,_0x2c1007:0x141,_0x1bac38:0xbe,_0x46ed80:0x259,_0x30b1f4:0x28,_0x4aa7d4:0x41f,_0x5282fe:0x80,_0x4520ad:0x432,_0x3c9c6a:0x8b8,_0x152e6f:0x167,_0x467214:0x14a},_0x19059d={_0x4695bb:0x52a,_0x210829:0x15d},_0x4fc81f={_0xf10684:0x39e,_0x5e6fc2:0x1af,_0x4d998d:0x3f7,_0x125d16:0x289,_0x3e91cb:0x154,_0x482dc2:0x6c9,_0x238b92:0x2d2,_0x1504e4:0x408,_0x3a8713:0x2bc,_0x488de7:0x267,_0x47b5f1:0x376,_0x502126:0x2b7,_0x25146e:0x4cd,_0xde2821:0x448,_0x4cb00a:0x5fb,_0x1e45d8:0x6be,_0x11f63f:0x71d,_0xa8f6a6:0x71b,_0x53ddc7:0x1b1,_0x34e4e2:0x1b,_0xf91aa7:0x323,_0x2fc09b:0x524,_0x23c2d0:0x43b,_0x14c50d:0x54c,_0x2cd055:0x574,_0x189571:0x68e,_0x306db9:0x71b,_0x314931:0x577,_0x1b8187:0x505,_0x2e98e6:0x6b7,_0x22a8bc:0x44e,_0x67d9ec:0x2cc,_0xccd0fc:0x529,_0x3dea69:0x4fb,_0x2436ce:0x3b0,_0x319e19:0x483,_0x5195b1:0x505,_0x55b799:0x562,_0x3af4a1:0x483,_0x4af600:0x45d,_0x58aa62:0x5f1,_0x27c191:0x5d4,_0x1d14d3:0x505,_0x330ea0:0x519,_0x53fe51:0x170,_0x543aa4:0x78,_0x8032da:0x108,_0x4091db:0x52a,_0xf08fed:0x3c8,_0x413c29:0x515,_0x541205:0x1ce,_0x5de8a6:0x11b,_0x515eb5:0x31,_0x524bf3:0x216,_0x54ce50:0x2a4,_0x23a88c:0x241,_0x401aa4:0x74f,_0x290386:0x823,_0x425bd7:0x769,_0x994935:0x40a,_0x24b062:0x5e3,_0x4ebc9e:0x5ac,_0x44f67f:0x4d5,_0x1a39c6:0x77b,_0x16c504:0x6a5,_0x5baa59:0x522,_0x3f2c27:0x2ee,_0x37ed34:0x2e9,_0x18f6eb:0x37c,_0x526be8:0x389,_0x532758:0x35d,_0x3a862e:0x442,_0x522b16:0x34d,_0x3493c4:0x565,_0x561240:0x37f,_0x135808:0x38c,_0x5a6db3:0x1db,_0x5e95af:0xc4,_0x4af8de:0x30e,_0xe60585:0x505,_0x506623:0x692,_0xc0e09a:0x468,_0x30fe90:0x55e,_0x132050:0x3f2,_0x1b3038:0x243},_0x5d5168={_0x1aa688:0x7f,_0x1c7e3b:0x82},_0x4237ea={_0x14e1ec:0x213};function _0x5462b3(_0x3064e5,_0x1747c5,_0x30fe47,_0x3c8551){return _0xadee61(_0x1747c5-_0x4237ea._0x14e1ec,_0x3c8551,_0x30fe47-0x1dd,_0x3c8551-0x4f);}const _0x38312b=[],_0x5e704f=_0x29fd95['filter'](_0x3fd698=>_0x3fd698[_0x5462b3(0x610,0x5ef,0x72a,0x575)]===_0x5462b3(0x57a,0x4db,0x2d1,0x423));if(_0x5e704f[_0x5462b3(0x66c,0x572,0x38a,0x5a4)]>0x0){_0x38312b[_0x5462b3(_0x444727._0x2a29c,0x756,_0x444727._0x377f49,_0x444727._0x36e488)]({'role':'system','content':'You\x20are\x20Claude\x20Code,\x20Anthropic\x27s\x20official\x20CLI\x20for\x20Claude.','providerOptions':{'anthropic':{'cacheControl':{'type':_0x5462b3(_0x444727._0x42b038,0x765,0x88c,_0x444727._0x3b186f)}}}});let _0x21cb73=0x0;for(const _0x564b29 of _0x5e704f){const _0x10b71a=_0x21cb73<0x2;if(typeof _0x564b29['content']===_0x1370c4(0x527,0x696,_0x444727._0x1611f8,0x8c6))_0x38312b[_0x1370c4(_0x444727._0x30438a,0x74f,0x57f,_0x444727._0x1b25b8)]({'role':_0x1370c4(_0x444727._0x4b69b1,0x4d4,0x2b7,_0x444727._0x73093b),'content':_0x564b29[_0x1370c4(_0x444727._0x424439,0x73f,0x6e5,_0x444727._0x2deeff)],..._0x10b71a&&{'providerOptions':{'anthropic':{'cacheControl':{'type':'ephemeral'}}}}});else{if(Array[_0x1370c4(0x61e,_0x444727._0x112e26,_0x444727._0x22cf23,0x4b0)](_0x564b29['content']))for(const _0x29464b of _0x564b29['content']){_0x29464b['type']===_0x5462b3(0x3d5,_0x444727._0x44a03c,0x807,_0x444727._0x5741ac)&&_0x38312b[_0x1370c4(_0x444727._0x5122cc,_0x444727._0x3a7863,_0x444727._0x2c63cd,0x7f1)]({'role':_0x1370c4(0x491,_0x444727._0x533bad,0x543,0x2a9),'content':_0x29464b['text'],..._0x10b71a&&{'providerOptions':{'anthropic':{'cacheControl':{'type':'ephemeral'}}}}});}}_0x21cb73++;}}const _0x499ed2=_0x29fd95['filter'](_0x458706=>_0x458706[_0x1370c4(0x4ce,0x5e8,0x3cb,0x465)]!==_0x5462b3(0x61f,0x4db,0x5e1,0x2e7))['map'](_0x1b9684=>{if(_0x1b9684[_0x2cd685(_0x4fc81f._0xf10684,0x267,_0x4fc81f._0x5e6fc2,_0x4fc81f._0x4d998d)]===_0x2cd685(_0x4fc81f._0x125d16,0x3ad,_0x4fc81f._0x3e91cb,0xaf))return{'role':_0x479d26(0x586,_0x4fc81f._0x482dc2,0x4af,_0x4fc81f._0x238b92),'content':[{'type':_0x2cd685(0x432,_0x4fc81f._0x1504e4,_0x4fc81f._0x3a8713,0x670),'toolCallId':_0x1b9684['tool_call_id']||'','toolName':_0x1b9684[_0x2cd685(0x2e7,0x23f,_0x4fc81f._0x488de7,_0x4fc81f._0x47b5f1)]||'','output':{'type':_0x2cd685(0x3bd,_0x4fc81f._0x502126,0x483,_0x4fc81f._0x25146e),'value':typeof _0x1b9684[_0x479d26(0x701,0x571,0x71b,0x5a0)]===_0x479d26(_0x4fc81f._0xde2821,_0x4fc81f._0x4cb00a,0x672,_0x4fc81f._0x1e45d8)?_0x1b9684[_0x479d26(_0x4fc81f._0x11f63f,0x7b6,_0x4fc81f._0xa8f6a6,0x578)]:JSON[_0x2cd685(_0x4fc81f._0x53ddc7,_0x4fc81f._0x34e4e2,0x83,0x192)](_0x1b9684[_0x2cd685(0x4f5,0x33c,0x70f,_0x4fc81f._0xf91aa7)])}}]};function _0x479d26(_0x5decbb,_0x15e186,_0x2f7afa,_0x2257df){return _0x1370c4(_0x2257df,_0x2f7afa- -0x24,_0x2f7afa-0x1ad,_0x2257df-0x139);}function _0x2cd685(_0x1d3bbb,_0x1429fd,_0x4d89fe,_0x541b3e){return _0x5462b3(_0x1d3bbb-_0x5d5168._0x1aa688,_0x1d3bbb- -0x251,_0x4d89fe-_0x5d5168._0x1c7e3b,_0x1429fd);}if(_0x1b9684[_0x479d26(0x5fb,0x39e,0x5c4,0x61e)]===_0x2cd685(0x539,_0x4fc81f._0x2fc09b,_0x4fc81f._0x23c2d0,0x528)){const _0x5e68b2=[];if(typeof _0x1b9684['content']===_0x2cd685(0x44c,_0x4fc81f._0x14c50d,0x401,_0x4fc81f._0x2cd055)&&_0x1b9684[_0x479d26(_0x4fc81f._0x189571,0x506,_0x4fc81f._0x306db9,_0x4fc81f._0x314931)])_0x5e68b2[_0x2cd685(_0x4fc81f._0x1b8187,0x485,_0x4fc81f._0x2e98e6,_0x4fc81f._0x22a8bc)]({'type':'text','text':_0x1b9684[_0x2cd685(0x4f5,_0x4fc81f._0x67d9ec,_0x4fc81f._0xccd0fc,0x573)]});else{if(Array[_0x479d26(0x664,_0x4fc81f._0x3dea69,0x4d5,0x622)](_0x1b9684['content']))for(const _0x4063c4 of _0x1b9684[_0x2cd685(0x4f5,_0x4fc81f._0x2436ce,0x6af,0x6f7)]){_0x4063c4['type']===_0x2cd685(0x3bd,0x530,_0x4fc81f._0x319e19,0x21c)&&_0x5e68b2[_0x2cd685(_0x4fc81f._0x5195b1,_0x4fc81f._0x55b799,_0x4fc81f._0x3af4a1,0x593)]({'type':_0x479d26(0x514,0x6b0,0x5e3,_0x4fc81f._0x4af600),'text':_0x4063c4[_0x479d26(_0x4fc81f._0x58aa62,_0x4fc81f._0x27c191,0x5e3,0x753)]});}}if(_0x1b9684['tool_calls'])for(const _0x56d39a of _0x1b9684['tool_calls']){_0x5e68b2[_0x2cd685(_0x4fc81f._0x1d14d3,_0x4fc81f._0x330ea0,0x3ec,0x724)]({'type':_0x2cd685(_0x4fc81f._0x53fe51,_0x4fc81f._0x543aa4,0x6e,_0x4fc81f._0x8032da),'toolCallId':_0x56d39a['id'],'toolName':_0x56d39a[_0x479d26(_0x4fc81f._0x4091db,_0x4fc81f._0xf08fed,0x34e,_0x4fc81f._0x413c29)]['name'],'input':JSON['parse'](_0x56d39a[_0x2cd685(0x128,_0x4fc81f._0x541205,-_0x4fc81f._0x5de8a6,_0x4fc81f._0x515eb5)][_0x2cd685(_0x4fc81f._0x524bf3,_0x4fc81f._0x54ce50,_0x4fc81f._0x23a88c,0xde)]||'{}')});}return{'role':'assistant','content':_0x5e68b2};}else{const _0x51e867=[];if(typeof _0x1b9684['content']===_0x479d26(_0x4fc81f._0x401aa4,0x691,0x672,_0x4fc81f._0x290386)&&_0x1b9684['content'])_0x51e867['push']({'type':_0x479d26(_0x4fc81f._0x425bd7,_0x4fc81f._0x994935,_0x4fc81f._0x24b062,0x46d),'text':_0x1b9684[_0x479d26(0x630,0x7ca,_0x4fc81f._0x306db9,_0x4fc81f._0x4ebc9e)]});else{if(Array[_0x479d26(0x6e0,0x465,_0x4fc81f._0x44f67f,0x651)](_0x1b9684[_0x479d26(_0x4fc81f._0x1a39c6,_0x4fc81f._0x16c504,0x71b,0x926)]))for(const _0x151ab4 of _0x1b9684[_0x479d26(0x5b8,0x8b9,_0x4fc81f._0x306db9,_0x4fc81f._0x5baa59)]){if(_0x151ab4[_0x2cd685(_0x4fc81f._0x3f2c27,_0x4fc81f._0x37ed34,_0x4fc81f._0x18f6eb,_0x4fc81f._0x526be8)]===_0x2cd685(0x3bd,_0x4fc81f._0x532758,0x4e6,0x4a0))_0x51e867[_0x2cd685(0x505,_0x4fc81f._0x3a862e,_0x4fc81f._0x522b16,_0x4fc81f._0x3493c4)]({'type':'text','text':_0x151ab4[_0x2cd685(0x3bd,0x2cd,_0x4fc81f._0x561240,_0x4fc81f._0x135808)]});else _0x151ab4[_0x2cd685(_0x4fc81f._0x3f2c27,_0x4fc81f._0x5a6db3,_0x4fc81f._0x5e95af,0x36f)]===_0x479d26(_0x4fc81f._0x4af8de,0x358,0x47b,0x49f)&&_0x51e867[_0x2cd685(_0x4fc81f._0xe60585,_0x4fc81f._0x506623,0x5c4,_0x4fc81f._0xc0e09a)]({'type':_0x479d26(_0x4fc81f._0x30fe90,0x557,_0x4fc81f._0x132050,_0x4fc81f._0x1b3038),'image':_0x151ab4[_0x479d26(0x289,0x255,0x47b,0x39c)]['url']});}}return{'role':'user','content':_0x51e867};}});let _0x5e8654=[..._0x38312b,..._0x499ed2];_0x5e8654=_0x5e8654[_0x1370c4(0x84a,0x6b7,_0x444727._0x4a7d99,_0x444727._0x21088c)]((_0x2f353a,_0x359f8a)=>{const _0x5008fd={_0x5296f2:0x9,_0x3d9ab0:0x16},_0x58ed94=_0x359f8a===_0x5e8654[_0x2766d7(0x254,_0x903fb1._0x72b130,0x41,-0x19b)]-0x1;function _0x353008(_0x546fc4,_0x16fa3c,_0x3b5973,_0xc27893){return _0x5462b3(_0x546fc4-_0x5008fd._0x5296f2,_0x16fa3c-_0x5008fd._0x3d9ab0,_0x3b5973-0x63,_0xc27893);}function _0x2766d7(_0x2a7fea,_0x1afef3,_0x3c99bb,_0x1301f6){return _0x1370c4(_0x1301f6,_0x3c99bb- -_0x19059d._0x4695bb,_0x3c99bb-0x196,_0x1301f6-_0x19059d._0x210829);}const _0x1be386=_0x2f353a[_0x2766d7(_0x903fb1._0x1bc2b6,-_0x903fb1._0x2c1007,_0x903fb1._0x1bac38,0x1d4)]===_0x2766d7(0x315,0x1e9,_0x903fb1._0x46ed80,_0x903fb1._0x30b1f4),_0x4d4871=!_0x2f353a[_0x2766d7(_0x903fb1._0x4aa7d4,_0x903fb1._0x5282fe,0x215,_0x903fb1._0x4520ad)]||Array['isArray'](_0x2f353a[_0x353008(_0x903fb1._0x3c9c6a,0x75c,0x90b,0x7d2)])&&_0x2f353a['content'][_0x2766d7(-_0x903fb1._0x152e6f,_0x903fb1._0x467214,0x41,0x232)]===0x0;return!_0x4d4871||_0x58ed94&&_0x1be386;});function _0x1370c4(_0x1de728,_0x2ca741,_0xa796c0,_0x5eafe9){return _0xadee61(_0x2ca741-_0x285938._0x25ef51,_0x1de728,_0xa796c0-_0x285938._0x4f471a,_0x5eafe9-_0x285938._0x3a0572);}const _0x21698b=_0x5e8654['filter'](_0x419ef2=>_0x419ef2[_0x1370c4(0x40a,0x5e8,0x5c1,0x571)]===_0x1370c4(0x463,0x42c,0x2ec,0x292)||_0x419ef2[_0x1370c4(0x7a0,0x5e8,0x753,0x45b)]===_0x1370c4(0x6a9,0x783,0x60e,0x81d)),_0x5f84f7=[];if(_0x21698b[_0x1370c4(_0x444727._0x1df438,0x56b,0x6ac,_0x444727._0x1432a2)]>=0x2){const _0x3dd2ab=_0x21698b[_0x21698b[_0x1370c4(0x466,_0x444727._0x383378,_0x444727._0x2e5420,_0x444727._0x9ef4ec)]-0x1],_0x461530=_0x21698b[_0x21698b[_0x5462b3(_0x444727._0x3d8c82,0x572,0x6fe,_0x444727._0x59bd28)]-0x2];if(_0x3dd2ab){const _0xf5fab3=_0x5e8654['indexOf'](_0x3dd2ab);if(_0xf5fab3!==-0x1)_0x5f84f7[_0x1370c4(0x60b,0x74f,_0x444727._0x586e56,_0x444727._0x3e56fd)](_0xf5fab3);}if(_0x461530){const _0x53aefd=_0x5e8654['indexOf'](_0x461530);if(_0x53aefd!==-0x1)_0x5f84f7['push'](_0x53aefd);}}else{if(_0x21698b[_0x1370c4(0x627,_0x444727._0x383378,0x342,_0x444727._0x3d1925)]===0x1){const _0x18e17c=_0x21698b[0x0];if(_0x18e17c){const _0x410fb6=_0x5e8654[_0x5462b3(0x607,_0x444727._0x223442,_0x444727._0x4a50b6,_0x444727._0x40c71d)](_0x18e17c);if(_0x410fb6!==-0x1)_0x5f84f7[_0x1370c4(_0x444727._0x2101d8,_0x444727._0x3a7863,_0x444727._0x725785,0x86f)](_0x410fb6);}}}for(const _0x1565fc of _0x5f84f7){_0x5e8654[_0x1565fc]={..._0x5e8654[_0x1565fc],'providerOptions':{'anthropic':{'cacheControl':{'type':_0x1370c4(0x7bf,0x75e,0x55e,_0x444727._0x4ca30f)}}}};}return _0x5e8654;}[_0xadee61(0x2e3,0x304,0x3e9,0x1d1)](_0xa60468){const _0x661676={_0xdeb29:0x4a5,_0x47da6a:0xea,_0x4d40bc:0xf9,_0xa057bc:0x1be,_0x43965a:0xbf,_0x25ebff:0x74,_0x146271:0xea,_0x50ba54:0x5,_0x46ab8d:0x119},_0x38b4d2={_0x4e94c3:0x19e},_0x5cf0d5={_0x375731:0x13b,_0x518382:0xde};if(!_0xa60468||_0xa60468['length']===0x0)return void 0x0;const _0x5c67e1={};for(const _0x240d80 of _0xa60468){_0x5c67e1[_0x240d80[_0x5f2457(0x333,0x48f,_0x661676._0xdeb29,0x51a)]['name']]={'description':_0x240d80[_0x557e44(-0xf7,-0x118,-_0x661676._0x47da6a,-0x276)][_0x557e44(-_0x661676._0x4d40bc,_0x661676._0xa057bc,_0x661676._0x43965a,-0x4)],'inputSchema':jsonSchema(_0x240d80[_0x557e44(-0x191,_0x661676._0x25ebff,-_0x661676._0x146271,-0x1ca)][_0x557e44(0x8d,_0x661676._0x50ba54,-0x74,-_0x661676._0x46ab8d)])};}function _0x557e44(_0x169248,_0x3b0927,_0x10f05c,_0x17b74b){return _0x27e2df(_0x169248-0x14d,_0x10f05c- -_0x5cf0d5._0x375731,_0x10f05c-_0x5cf0d5._0x518382,_0x3b0927);}function _0x5f2457(_0x51a3c3,_0x1e6486,_0x5ccef8,_0x176d2a){return _0xadee61(_0x1e6486-0x329,_0x176d2a,_0x5ccef8-0x2d,_0x176d2a-_0x38b4d2._0x4e94c3);}return _0x5c67e1;}['transformToolChoice'](_0x3a64ae){const _0x17c893={_0x22e8fd:0x7c,_0x3a3436:0xfe,_0x12a9c6:0x304,_0x4336f7:0x320,_0x3d905d:0xfd,_0x17d1a9:0x20b,_0xbd9a3f:0x73,_0x20ce86:0x199,_0x294024:0x18,_0x51ea99:0x162,_0x5bcad9:0x38,_0x3181c2:0x211,_0x124592:0x141,_0x1dc643:0x2b,_0x2591ea:0x18b},_0x468ab0={_0x51b900:0x2ff},_0x1456d5={_0x55b229:0x2a,_0x2bbd01:0x1};function _0x4c5076(_0x596c29,_0x45ba52,_0x174149,_0x4f5347){return _0x27e2df(_0x596c29-_0x1456d5._0x55b229,_0x45ba52-_0x1456d5._0x2bbd01,_0x174149-0xcf,_0x596c29);}if(!_0x3a64ae||_0x3a64ae==='auto')return _0x4c5076(_0x17c893._0x22e8fd,0x25e,_0x17c893._0x3a3436,0x2f4);function _0x32a1a0(_0x52f7c0,_0x234f9,_0x1f9f8f,_0x4f4a03){return _0xadee61(_0x4f4a03- -_0x468ab0._0x51b900,_0x52f7c0,_0x1f9f8f-0x1dd,_0x4f4a03-0x76);}if(_0x3a64ae===_0x32a1a0(_0x17c893._0x12a9c6,0x1a3,_0x17c893._0x4336f7,_0x17c893._0x3d905d))return _0x32a1a0(0x109,-0x19,_0x17c893._0x17d1a9,0xfd);if(typeof _0x3a64ae==='object'&&_0x3a64ae['type']===_0x32a1a0(-0x313,-0x201,-_0x17c893._0xbd9a3f,-_0x17c893._0x20ce86))return{'type':_0x32a1a0(-_0x17c893._0x294024,-0x1de,-_0x17c893._0x51ea99,-_0x17c893._0x5bcad9),'toolName':_0x3a64ae['function'][_0x4c5076(-0x32,_0x17c893._0x3181c2,-0x24,_0x17c893._0x124592)]};return _0x32a1a0(_0x17c893._0x1dc643,-_0x17c893._0x1dc643,-_0x17c893._0x2591ea,0x73);}[_0x27e2df(0x1a2,0x1bd,-0x27,0x4f)](_0x398d02){const _0x5b89df={_0x58480d:0x249,_0x1343a4:0x1b1,_0x4c1357:0x262,_0x2ca717:0x4a3,_0x4e6dda:0x383,_0x434c26:0x238,_0x28b71a:0x33e,_0x1eb45a:0x5b8,_0x2bfa11:0x391,_0x43cb70:0x207},_0x7f4e44={_0x24a7ed:0x161},_0x3cf2d4={_0x888f33:0x4b,_0x178b56:0x10a};function _0x105165(_0x23f74d,_0x438a51,_0x2b2585,_0x41d35e){return _0xadee61(_0x438a51-_0x3cf2d4._0x888f33,_0x2b2585,_0x2b2585-0x76,_0x41d35e-_0x3cf2d4._0x178b56);}function _0x16a788(_0x3e3389,_0x54e957,_0x230a1f,_0xc03d38){return _0xadee61(_0x3e3389-0x9d,_0x230a1f,_0x230a1f-0xe9,_0xc03d38-_0x7f4e44._0x24a7ed);}if(!_0x398d02)return{'prompt_tokens':0x0,'completion_tokens':0x0,'total_tokens':0x0};const _0x3db752=_0x398d02[_0x16a788(_0x5b89df._0x58480d,0x162,_0x5b89df._0x1343a4,0x80)]??_0x398d02[_0x16a788(0x2fc,0x42f,0x2d2,_0x5b89df._0x4c1357)]??0x0,_0x2a0460=_0x398d02[_0x16a788(_0x5b89df._0x2ca717,_0x5b89df._0x4e6dda,0x455,0x57d)]??_0x398d02[_0x16a788(_0x5b89df._0x434c26,0x230,0x28d,0x1ed)]??0x0,_0x2ac5e1=_0x398d02[_0x105165(0x1b9,0x379,0x1c0,_0x5b89df._0x28b71a)]??_0x398d02[_0x16a788(_0x5b89df._0x1eb45a,0x64a,0x4f7,0x744)]??0x0,_0x5cf726=_0x398d02[_0x16a788(0x3c8,0x3c3,_0x5b89df._0x2bfa11,0x2ae)]??_0x398d02[_0x16a788(0x1b5,-0x39,0x1fb,_0x5b89df._0x43cb70)]??0x0,_0x5c7222=_0x398d02['cachedInputTokens']??_0x2ac5e1+_0x5cf726,_0x51bf64=_0x3db752+_0x5c7222,_0x2ce68e=_0x51bf64+_0x2a0460;return{'prompt_tokens':_0x51bf64,'completion_tokens':_0x2a0460,'total_tokens':_0x2ce68e,'prompt_tokens_details':{'cached_tokens':_0x5c7222},..._0x2ac5e1>0x0&&{'cache_creation_input_tokens':_0x2ac5e1},..._0x5cf726>0x0&&{'cache_read_input_tokens':_0x5cf726}};}[_0x27e2df(-0xce,0x28,-0x142,-0x1cc)](_0x5097d5){const _0x64ae6={_0x26d1e5:0x794,_0x381cac:0x647,_0x52b332:0x4f1,_0x197e70:0x418,_0x559116:0x71d,_0x518065:0x505,_0x591de9:0x6cd,_0x17ef14:0x675,_0xe4dc55:0x8bb,_0x4a19a8:0x777,_0x5109ee:0x483,_0x1868da:0x409,_0x26df72:0x607,_0x14d415:0x70b,_0x4f1001:0x79f,_0x494b4d:0x52d,_0x2e31de:0x7a1,_0x569b91:0x6cb,_0x3f7deb:0x632,_0x3f2298:0x73d,_0x5f5911:0x4f4,_0x13baea:0x5a5,_0x46d213:0x4f8,_0x32fc16:0x450,_0xc7fc8e:0x3fd,_0x84f4f5:0x6e1,_0x41af31:0x5d1,_0x4682f5:0x497,_0x3de255:0x470,_0x202f14:0x688,_0x294e21:0x790,_0x5ba12c:0x784,_0x3db723:0x604,_0x4f8e32:0x62d,_0x427125:0x6d8,_0x6bbddf:0x6ef,_0x58ec73:0x355,_0x87304a:0x16d,_0x430f9f:0x3f0,_0x7497b0:0x6ed,_0x5f54ee:0x5a6,_0x2dbe12:0x591,_0x425aa0:0x580,_0x55aa42:0x782,_0x47f91a:0x666,_0x4d409b:0x505,_0x4a0384:0x1dd,_0x4e14f1:0x2d4,_0x357939:0x68e,_0x3cbd61:0x463},_0x456d16={_0x553c04:0x191,_0x48fa61:0x175},_0x578a75={_0x179439:0x12b,_0x1bfb29:0x36c};if(_0x5097d5 instanceof LLMError)throw _0x5097d5;if(APICallError[_0xc3ccf2(_0x64ae6._0x26d1e5,0x6a5,0x555,0x6fa)](_0x5097d5)){const _0x1074e4=_0x5097d5[_0xc3ccf2(_0x64ae6._0x381cac,_0x64ae6._0x52b332,_0x64ae6._0x197e70,0x5b2)],_0xd8ba37=_0x5097d5['message']||'API\x20call\x20failed';if(_0x1074e4===0x1ad||_0x1074e4===0x198)throw new LLMError(_0x2eca0d(0x6df,0x31a,_0x64ae6._0x559116,_0x64ae6._0x518065),_0x1074e4,!![],_0x5097d5);else{if(_0x1074e4===0x191||_0x1074e4===0x193)throw new LLMError(_0x2eca0d(_0x64ae6._0x591de9,_0x64ae6._0x17ef14,_0x64ae6._0xe4dc55,_0x64ae6._0x4a19a8),_0x1074e4,![],_0x5097d5);else{if(_0x1074e4===0x190)throw new LLMError('Invalid\x20request:\x20'+_0xd8ba37,_0x1074e4,![],_0x5097d5);else{if(_0x1074e4&&isRetryableStatusCode(_0x1074e4,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0xc3ccf2(_0x64ae6._0x5109ee,_0x64ae6._0x1868da,_0x64ae6._0x26df72,0x5d1),_0x1074e4,!![],_0x5097d5);}}}throw new LLMError(_0xd8ba37,_0x1074e4,_0x5097d5[_0xc3ccf2(_0x64ae6._0x14d415,0x7cc,0x9a4,_0x64ae6._0x4f1001)]??isRetryableError(_0x5097d5,DEFAULT_RETRYABLE_STATUS_CODES),_0x5097d5);}if(_0x5097d5&&typeof _0x5097d5===_0x2eca0d(0x2e3,0x477,_0x64ae6._0x494b4d,0x50b)&&_0x2eca0d(_0x64ae6._0x2e31de,0x368,_0x64ae6._0x569b91,0x5a5)in _0x5097d5&&_0x2eca0d(0x308,0x41f,_0x64ae6._0x3f7deb,0x3f0)in _0x5097d5){const _0x502c3e=typeof _0x5097d5[_0x2eca0d(0x5f0,_0x64ae6._0x3f2298,_0x64ae6._0x5f5911,_0x64ae6._0x13baea)]==='number'?_0x5097d5['statusCode']:void 0x0,_0x35ad77=typeof _0x5097d5[_0xc3ccf2(_0x64ae6._0x46d213,_0x64ae6._0x32fc16,0x443,_0x64ae6._0xc7fc8e)]===_0x2eca0d(0x4c2,0x55d,0x74b,_0x64ae6._0x84f4f5)?_0x5097d5[_0xc3ccf2(_0x64ae6._0x41af31,_0x64ae6._0x4682f5,0x422,0x3fd)]:_0xc3ccf2(0x571,0x629,_0x64ae6._0x3de255,0x63b);if(_0x502c3e===0x1ad||_0x502c3e===0x198)throw new LLMError('Rate\x20limit\x20exceeded.\x20Please\x20try\x20again\x20later.',_0x502c3e,!![],_0x5097d5);else{if(_0x502c3e===0x191||_0x502c3e===0x193)throw new LLMError(_0xc3ccf2(_0x64ae6._0x202f14,_0x64ae6._0x294e21,0x78c,_0x64ae6._0x5ba12c),_0x502c3e,![],_0x5097d5);else{if(_0x502c3e===0x190)throw new LLMError('Invalid\x20request:\x20'+_0x35ad77,_0x502c3e,![],_0x5097d5);else{if(_0x502c3e&&isRetryableStatusCode(_0x502c3e,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0xc3ccf2(0x4bc,_0x64ae6._0x3db723,0x403,_0x64ae6._0x41af31),_0x502c3e,!![],_0x5097d5);}}}throw new LLMError(_0x35ad77,_0x502c3e,isRetryableError(_0x5097d5,DEFAULT_RETRYABLE_STATUS_CODES),_0x5097d5);}function _0x2eca0d(_0x290bdf,_0x29d87c,_0x3355c1,_0x243973){return _0x27e2df(_0x290bdf-_0x578a75._0x179439,_0x243973-_0x578a75._0x1bfb29,_0x3355c1-0x13d,_0x29d87c);}if(_0x5097d5 instanceof Error){if(_0x5097d5[_0xc3ccf2(0x4a9,_0x64ae6._0x4f8e32,0x60a,0x589)]===_0xc3ccf2(0x398,_0x64ae6._0x427125,_0x64ae6._0x6bbddf,0x563))throw new LLMError(_0x2eca0d(_0x64ae6._0x58ec73,_0x64ae6._0x87304a,0x13c,0x375),void 0x0,![],_0x5097d5);if(_0x5097d5[_0x2eca0d(0x3b9,0x30e,0x504,_0x64ae6._0x430f9f)][_0x2eca0d(0x5d0,_0x64ae6._0x7497b0,_0x64ae6._0x5f54ee,_0x64ae6._0x2dbe12)](_0x2eca0d(_0x64ae6._0x425aa0,0x6c3,_0x64ae6._0x55aa42,_0x64ae6._0x47f91a)))throw new LLMError(_0x2eca0d(0x331,0x6d0,0x3a8,_0x64ae6._0x4d409b),0x1ad,!![],_0x5097d5);const _0x1dafd6=isRetryableError(_0x5097d5,DEFAULT_RETRYABLE_STATUS_CODES);if(_0x1dafd6)throw new LLMError('Network\x20error\x20occurred.\x20Please\x20try\x20again.',void 0x0,!![],_0x5097d5);throw new LLMError(_0x5097d5[_0xc3ccf2(_0x64ae6._0x4a0384,_0x64ae6._0x4e14f1,0x5c1,_0x64ae6._0xc7fc8e)],void 0x0,![],_0x5097d5);}function _0xc3ccf2(_0x2568af,_0x423d01,_0x5e07fb,_0x2e155d){return _0x27e2df(_0x2568af-_0x456d16._0x553c04,_0x2e155d-0x379,_0x5e07fb-_0x456d16._0x48fa61,_0x423d01);}throw new LLMError(_0xc3ccf2(0x4c7,_0x64ae6._0x357939,_0x64ae6._0x3cbd61,0x69e),void 0x0,![],_0x5097d5);}async[_0xadee61(0x522,0x505,0x435,0x5b6)](_0xaf55ee,_0x1ae6b7){const _0x2cf469={_0x8352b7:0x986,_0x793ee2:0x7b2,_0x47b12e:0x90a,_0x5f29e7:0x5b5,_0x1e87ac:0x2f4,_0x1c5d66:0x340,_0x285a93:0x3e0,_0x1103e6:0x4f6,_0x5ae904:0x3fc,_0x419ed4:0x3fb,_0x27614d:0x31e,_0x5487db:0x400,_0x273db3:0x53d,_0x59fbf3:0x4d6,_0x45cc57:0x70d,_0x18a68c:0x570,_0x9f5298:0x338,_0x4417c:0x442,_0x250985:0x6a1,_0x22a13b:0x4fe,_0x532819:0x637,_0x3fc0a5:0x58e,_0x21114a:0x606,_0x2241c3:0x6d3,_0x353c40:0x603,_0x5b1107:0x6de,_0x220c2d:0x850,_0x132654:0x4a0,_0x5cd7cf:0x6ee,_0x33612c:0x3f3,_0x536c9b:0x5d8,_0x4f040f:0x572,_0x21d0b4:0x731,_0x35bf02:0x5a5,_0x3a9ebe:0x5bb,_0x164e00:0x722,_0x417aa5:0x6c0,_0x1319f3:0x8d1,_0x27044f:0x656,_0x1ada6e:0x534,_0x488824:0x35a,_0x5550eb:0x419,_0x38746e:0x288},_0x42cd9d={_0x5defa1:0x16c,_0x36c3b3:0x1c4},_0x4e374d={_0x24c631:0xa5};function _0x557549(_0x2f667b,_0x1887b0,_0x2d5ba,_0x5ecadd){return _0x27e2df(_0x2f667b-0x15c,_0x5ecadd-0x328,_0x2d5ba-_0x4e374d._0x24c631,_0x2d5ba);}function _0x4e77bd(_0x5d5634,_0x14a373,_0x5c241e,_0x27c8f6){return _0x27e2df(_0x5d5634-_0x42cd9d._0x5defa1,_0x14a373-0x377,_0x5c241e-_0x42cd9d._0x36c3b3,_0x5c241e);}try{const _0x5a79ee=this['getModel'](_0xaf55ee[_0x4e77bd(_0x2cf469._0x8352b7,_0x2cf469._0x793ee2,_0x2cf469._0x47b12e,0x596)]),_0x51eb57=this['transformMessages'](_0xaf55ee[_0x557549(_0x2cf469._0x5f29e7,_0x2cf469._0x1e87ac,_0x2cf469._0x1c5d66,_0x2cf469._0x285a93)]),_0x2b5993=this[_0x557549(0x4c2,0x6c2,0x363,_0x2cf469._0x1103e6)](_0xaf55ee[_0x557549(_0x2cf469._0x5ae904,_0x2cf469._0x419ed4,0x24f,_0x2cf469._0x27614d)]),_0x209c18=_0x2b5993?this[_0x4e77bd(0x53d,0x4ab,_0x2cf469._0x5487db,_0x2cf469._0x273db3)](_0xaf55ee[_0x557549(0x757,0x7ac,_0x2cf469._0x59fbf3,_0x2cf469._0x45cc57)]):void 0x0,_0x3e2be3=await generateText({'model':_0x5a79ee,'messages':_0x51eb57,'tools':_0x2b5993,'toolChoice':_0x209c18,'maxOutputTokens':_0xaf55ee['maxTokens']??0x2800,'temperature':_0xaf55ee[_0x557549(_0x2cf469._0x18a68c,0x392,_0x2cf469._0x9f5298,_0x2cf469._0x4417c)],'abortSignal':_0x1ae6b7,..._0xaf55ee[_0x4e77bd(0x802,_0x2cf469._0x250985,_0x2cf469._0x22a13b,_0x2cf469._0x532819)]&&{'thinking':_0xaf55ee['thinking'][_0x4e77bd(0x423,_0x2cf469._0x3fc0a5,0x45a,0x364)]===_0x557549(0x7a9,_0x2cf469._0x21114a,_0x2cf469._0x2241c3,0x74a)?{'type':'enabled','budgetTokens':_0xaf55ee[_0x557549(_0x2cf469._0x353c40,0x4e8,0x658,0x652)][_0x4e77bd(0x8d9,_0x2cf469._0x5b1107,0x589,_0x2cf469._0x220c2d)]}:{'type':'disabled'}}}),_0x12bc6b=_0x3e2be3['toolCalls']&&_0x3e2be3[_0x557549(0x3fc,_0x2cf469._0x132654,_0x2cf469._0x5cd7cf,0x591)][_0x557549(_0x2cf469._0x33612c,_0x2cf469._0x536c9b,0x574,_0x2cf469._0x4f040f)]>0x0?_0x3e2be3[_0x557549(0x657,0x40b,_0x2cf469._0x21d0b4,0x591)][_0x4e77bd(0x460,_0x2cf469._0x35bf02,_0x2cf469._0x3a9ebe,0x4bb)](_0xc5f9f2=>({'id':_0xc5f9f2['toolCallId'],'type':_0x4e77bd(0x405,0x3c8,0x2c1,0x488),'function':{'name':_0xc5f9f2[_0x4e77bd(0x45b,0x523,0x30b,0x589)],'arguments':JSON[_0x557549(0x477,0x418,0x301,0x402)](_0xc5f9f2[_0x557549(0x5a1,0x655,0x618,0x537)])}})):void 0x0,_0x4444c2=_0x3e2be3[_0x4e77bd(0x6af,_0x2cf469._0x164e00,_0x2cf469._0x417aa5,_0x2cf469._0x1319f3)],_0x11ac1c=this[_0x4e77bd(_0x2cf469._0x27044f,_0x2cf469._0x1ada6e,_0x2cf469._0x488824,0x3ec)](_0x4444c2);return{'content':_0x3e2be3[_0x557549(_0x2cf469._0x5550eb,0x803,0x596,0x60e)],..._0x12bc6b&&{'tool_calls':_0x12bc6b},'usage':_0x11ac1c};}catch(_0x12cd76){this[_0x4e77bd(0x382,0x39f,0x405,_0x2cf469._0x38746e)](_0x12cd76);}}async[_0xadee61(0x4f6,0x6fc,0x300,0x449)](_0x25d1c4,_0x2cc1db={},_0x183da1){const _0x16cee2={_0xc0ba08:0x498,_0x1a83b1:0x78c,_0x55e331:0x7cd,_0x1b20a7:0x1c8,_0x327e4d:0x33,_0x39f4b8:0x16d,_0x1b665b:0xe0,_0x53105c:0x271,_0x3feb0e:0x28c,_0x31ca71:0x10b,_0x3496f0:0x2b3,_0x3dbf9c:0x438,_0x361866:0x1b5,_0x141198:0x171,_0x2fcf92:0x6ee,_0x1fcd6e:0x664,_0x24ab4c:0x448,_0x5b2ffd:0x117,_0x1c1b80:0x314,_0x124146:0x609,_0x126680:0x19c,_0x206db8:0x402,_0x303438:0x634,_0x479399:0x782,_0xd71f54:0x4b1,_0x40dd0a:0x368,_0x564183:0x3e4,_0x1f4c3e:0x61f,_0x1d4363:0x55a,_0x21bd41:0x3e4,_0x4aa577:0x615,_0x354127:0x379,_0x8768b:0x3e4,_0x492a7a:0x237,_0x26c84e:0x564,_0x4fc0e7:0x4ea,_0x3d6024:0x5e0,_0x304158:0x4ca,_0x6c667a:0x338,_0x4e9860:0x133,_0x261b6a:0x268,_0x53dabe:0x3fc},_0x7a5a26={_0x327dab:0x194,_0x106c18:0x154},_0x5df995={_0x434b92:0x2d8,_0x57a020:0x125},_0x11f9fd={_0x1a2465:0x74a,_0x294181:0x8e6},_0x10e74e={_0x1a3397:0x1b9},_0x5c1068={_0x467b5d:0x14b};function _0x3cb48f(_0x41fb10,_0x197979,_0x1e9639,_0x3ab920){return _0xadee61(_0x197979-0x66,_0x3ab920,_0x1e9639-_0x5c1068._0x467b5d,_0x3ab920-0x12f);}let _0x4e71ac=null;const _0x124eea=this['getModel'](_0x25d1c4[_0x3cb48f(_0x16cee2._0xc0ba08,0x5b6,_0x16cee2._0x1a83b1,_0x16cee2._0x55e331)]),_0xeb07ce=this[_0x3f7438(_0x16cee2._0x1b20a7,-_0x16cee2._0x327e4d,_0x16cee2._0x39f4b8,_0x16cee2._0x1b665b)](_0x25d1c4[_0x3f7438(_0x16cee2._0x53105c,_0x16cee2._0x3feb0e,0x2a2,_0x16cee2._0x31ca71)]),_0xa5730d=this[_0x3f7438(0x387,_0x16cee2._0x3496f0,_0x16cee2._0x3dbf9c,_0x16cee2._0x361866)](_0x25d1c4[_0x3cb48f(0x22d,_0x16cee2._0x141198,0x10,0x2c9)]),_0x2350b6=_0xa5730d?this['transformToolChoice'](_0x25d1c4['tool_choice']):void 0x0;function _0x3f7438(_0x24b3f5,_0x288b9b,_0x442ca1,_0x29b7f0){return _0x27e2df(_0x24b3f5-0x1ce,_0x24b3f5-_0x10e74e._0x1a3397,_0x442ca1-0xf8,_0x442ca1);}const _0x52a1c4=streamText({'model':_0x124eea,'messages':_0xeb07ce,'tools':_0xa5730d,'toolChoice':_0x2350b6,'maxOutputTokens':_0x25d1c4[_0x3cb48f(0x6ea,0x4f1,_0x16cee2._0x2fcf92,_0x16cee2._0x1fcd6e)],'temperature':_0x25d1c4[_0x3cb48f(_0x16cee2._0x24ab4c,0x295,_0x16cee2._0x5b2ffd,_0x16cee2._0x1c1b80)],'abortSignal':_0x183da1,'maxRetries':0xa,..._0x25d1c4['thinking']&&{'thinking':_0x25d1c4['thinking'][_0x3f7438(0x3d0,_0x16cee2._0x124146,0x516,_0x16cee2._0x126680)]===_0x3f7438(0x5db,_0x16cee2._0x206db8,_0x16cee2._0x303438,_0x16cee2._0x479399)?{'type':'enabled','budgetTokens':_0x25d1c4[_0x3cb48f(_0x16cee2._0xd71f54,0x4a5,0x2a2,_0x16cee2._0x40dd0a)][_0x3f7438(0x520,0x734,0x5cf,0x3fe)]}:{'type':'disabled'}},'onError':_0x57b536=>{const _0x19d804={_0x4b3ff1:0x198};function _0x1a9d27(_0x6fd151,_0x3e9b5c,_0x4f4a9a,_0x4ae915){return _0x3f7438(_0x6fd151-_0x19d804._0x4b3ff1,_0x3e9b5c-0x1e3,_0x4f4a9a,_0x4ae915-0x163);}_0x4e71ac=_0x57b536[_0x1a9d27(_0x11f9fd._0x1a2465,0x62f,_0x11f9fd._0x294181,0x8fc)];},'onAbort':()=>{function _0x337273(_0x5fd6ed,_0x1d57af,_0x723d2a,_0x3ea0a7){return _0x3cb48f(_0x5fd6ed-0x14a,_0x3ea0a7- -_0x5df995._0x434b92,_0x723d2a-_0x5df995._0x57a020,_0x723d2a);}_0x4e71ac=new LLMError(_0x337273(0x37,-_0x7a5a26._0x327dab,-0x299,-_0x7a5a26._0x106c18),void 0x0,![]);}});try{let _0x311fbf='';for await(const _0x120f6d of _0x52a1c4['textStream']){_0x311fbf+=_0x120f6d,_0x2cc1db['onChunk']?.(_0x120f6d);}if(_0x4e71ac)throw _0x4e71ac;const _0x3a76a8=_0x52a1c4[_0x3cb48f(0x371,_0x16cee2._0x564183,_0x16cee2._0x1f4c3e,0x1ed)]&&(await _0x52a1c4[_0x3cb48f(_0x16cee2._0x1d4363,_0x16cee2._0x21bd41,0x492,_0x16cee2._0x4aa577)])[_0x3f7438(0x403,0x539,0x25f,_0x16cee2._0x354127)]>0x0?(await _0x52a1c4[_0x3cb48f(0x3de,_0x16cee2._0x8768b,0x3c6,_0x16cee2._0x492a7a)])['map'](_0x3a7e1f=>({'id':_0x3a7e1f[_0x3f7438(0x390,0x310,0x4fe,0x3b3)],'type':_0x3f7438(0x20a,0xfe,0x194,0x3ca),'function':{'name':_0x3a7e1f['toolName'],'arguments':JSON[_0x3cb48f(0xdc,0x255,0x1e4,0x138)](_0x3a7e1f['input'])}})):void 0x0,_0x1efb0c=await _0x52a1c4[_0x3f7438(_0x16cee2._0x26c84e,_0x16cee2._0x4fc0e7,_0x16cee2._0x3d6024,_0x16cee2._0x304158)],_0x4aa052=this[_0x3cb48f(0x41f,_0x16cee2._0x6c667a,_0x16cee2._0x4e9860,0x1a3)](_0x1efb0c),_0x71ea97=await _0x52a1c4['finishReason'];return await _0x2cc1db[_0x3cb48f(_0x16cee2._0x261b6a,0x26c,0x32d,_0x16cee2._0x53dabe)]?.(_0x71ea97,_0x4aa052),{'content':_0x311fbf,..._0x3a76a8&&{'tool_calls':_0x3a76a8},'usage':_0x4aa052};}catch(_0x4eb660){this['handleError'](_0x4eb660);}}async[_0xadee61(0x1df,0x146,0x287,0x2f3)](_0x40c7a0){const _0x3444fd={_0x687f99:0x1c1,_0x529881:0x103,_0x1c996f:0x179,_0x44f7b5:0x1f,_0x498926:0x269,_0xccf2e1:0x1cc,_0x843529:0x176,_0x11d0ce:0x106,_0x3d337e:0x250,_0x30efef:0x70,_0x3169f5:0x1fa,_0x614198:0x49,_0x2e41f6:0x7d,_0x5dd7c0:0x1f8,_0x1810d5:0x91},_0x5e514c={_0x4c7605:0xf,_0xddabc:0x1e4},_0x48560c={_0x2aa294:0x159,_0xdeffe:0x1c3,_0x1a87a7:0xfe},_0x66b1e7=this[_0x20a75c(-_0x3444fd._0x687f99,-0x24e,-_0x3444fd._0x529881,-0x15a)]();function _0x5a69f2(_0x1ee652,_0x55be05,_0x511477,_0x2ba6c9){return _0x27e2df(_0x1ee652-_0x48560c._0x2aa294,_0x511477- -_0x48560c._0xdeffe,_0x511477-_0x48560c._0x1a87a7,_0x55be05);}if(!_0x66b1e7[_0x5a69f2(0x110,0x11d,_0x3444fd._0x1c996f,-0x2d)]()&&!_0x66b1e7[_0x20a75c(-_0x3444fd._0x44f7b5,-0x104,0x12f,0xeb)]())throw new LLMError(_0x5a69f2(0x18a,0xc8,_0x3444fd._0x498926,0x1f9),0x191,![]);const _0x5a798f=await this['getTransport']()[_0x20a75c(-_0x3444fd._0xccf2e1,-0xa8,0xb7,-_0x3444fd._0x843529)](_0x20a75c(0x40,0xf,-_0x3444fd._0x11d0ce,-0x28),void 0x0,_0x40c7a0),_0x4b3661=await _0x5a798f[_0x5a69f2(-0x64,_0x3444fd._0x3d337e,0x9d,_0x3444fd._0x30efef)](),_0x530bbd=_0x4b3661[_0x20a75c(_0x3444fd._0x3169f5,0x375,_0x3444fd._0x614198,0x13b)][_0x5a69f2(-_0x3444fd._0x2e41f6,_0x3444fd._0x5dd7c0,0x6b,_0x3444fd._0x1810d5)](_0x21e152=>normalizeModelInfo('anthropic',_0x21e152));function _0x20a75c(_0x44973d,_0x2a46fb,_0x4ae1d5,_0x3a749a){return _0x27e2df(_0x44973d-_0x5e514c._0x4c7605,_0x3a749a- -_0x5e514c._0xddabc,_0x4ae1d5-0x1f,_0x4ae1d5);}return deduplicateModels(_0x530bbd);}},GenericAnthropicLLM=class{[_0x27e2df(0x111,0xc1,-0x75,0x2b3)];[_0x27e2df(0x300,0x208,0x2ba,0x205)];[_0x27e2df(0x22a,0x283,0x35a,0x1a4)];[_0x27e2df(0x633,0x45b,0x542,0x5b2)];['modelConfig'];[_0x27e2df(0x2a,0xa2,0x254,0x4f)]=null;constructor(_0x34836e,_0x4f5edc={}){const _0x3c4f20={_0x2582ec:0xe1,_0x4a90c8:0x57,_0x29e3a9:0xda,_0x13c68b:0x106,_0x5a994f:0x510,_0x2f7146:0x440,_0x583d12:0x2de,_0x2d9bd6:0x217,_0x29addf:0x27a,_0x359c7b:0xe6,_0x22c8ee:0x202,_0x1590d8:0x353,_0x124747:0xbc,_0x40de04:0xfc},_0xd8fc6b={_0x17dc5f:0x167},_0x513e19={_0xfcdfdf:0x292,_0x3144ec:0x4f};this[_0x2565fc(0x15f,0x8b,-_0x3c4f20._0x2582ec,-0x5f)]=_0x4f5edc[_0x2565fc(_0x3c4f20._0x4a90c8,0x8b,-0xe9,0xd5)]||_0x34836e,this[_0x2565fc(-_0x3c4f20._0x29e3a9,_0x3c4f20._0x13c68b,0xd8,0x56)]=_0x4f5edc[_0x24f6f2(_0x3c4f20._0x5a994f,_0x3c4f20._0x2f7146,0x3c0,0x51b)]??![],this[_0x2565fc(0x4b8,_0x3c4f20._0x583d12,0xc4,_0x3c4f20._0x2d9bd6)]=_0x4f5edc[_0x2565fc(_0x3c4f20._0x29addf,_0x3c4f20._0x583d12,_0x3c4f20._0x359c7b,_0x3c4f20._0x22c8ee)]??_0x24f6f2(0x384,0x24a,0x53b,_0x3c4f20._0x1590d8),this[_0x2565fc(0x20f,0x1fc,0x215,0x37f)]=_0x4f5edc['modelConfig']??!![];function _0x2565fc(_0x3a1b16,_0x263872,_0x30077e,_0x483d4b){return _0xadee61(_0x263872- -_0x513e19._0xfcdfdf,_0x483d4b,_0x30077e-0x1ce,_0x483d4b-_0x513e19._0x3144ec);}function _0x24f6f2(_0x71e6c8,_0x3058f2,_0x53ddf7,_0x1497aa){return _0xadee61(_0x71e6c8-0x178,_0x3058f2,_0x53ddf7-_0xd8fc6b._0x17dc5f,_0x1497aa-0x46);}this[_0x2565fc(-0x1fe,-_0x3c4f20._0x124747,-0x80,-_0x3c4f20._0x40de04)]=_0x4f5edc;}[_0x27e2df(0x1c1,0x2a7,0x381,0x145)](){const _0x3ef4ce={_0x3a6307:0x49b,_0x2aac73:0x51c,_0x372532:0x4f9,_0x2f7322:0x569,_0x3a6a37:0x7ef,_0x27931a:0x367,_0x7b9ba8:0x46e,_0x868b2b:0x42b,_0x5bb54b:0x26e,_0x37a1b9:0x27b,_0x1fc79d:0x2c2,_0x908893:0x240,_0xabe71a:0x4ab,_0x4fb8c8:0x378,_0x747d88:0x4c2},_0x164676={_0x34530d:0x1b,_0x3ded7a:0x134},_0x1f2e7e={_0x50fdde:0x141,_0x5868bc:0x73},_0x5866e1=new FetchTransport({'persistFile':this['opts'][_0x32604c(0x73e,0x80d,0x78d,0x6fc)],'logLevel':_0x32604c(_0x3ef4ce._0x3a6307,0x5ff,_0x3ef4ce._0x2aac73,0x32b),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]}),_0x317d10={'anthropic-version':_0x32604c(0x737,_0x3ef4ce._0x372532,_0x3ef4ce._0x2f7322,_0x3ef4ce._0x3a6a37),'x-api-key':this[_0x32604c(0x42b,_0x3ef4ce._0x27931a,_0x3ef4ce._0x7b9ba8,0x4f2)]['apiKey']||'',...this[_0x32604c(_0x3ef4ce._0x868b2b,0x56d,0x55f,_0x3ef4ce._0x5bb54b)]['customHeaders']},_0x302d5c=createTransport(_0x5866e1,this[_0x355e27(0x275,0x45a,_0x3ef4ce._0x37a1b9,0x45)],void 0x0,void 0x0,void 0x0,_0x317d10),_0x987588=this[_0x355e27(_0x3ef4ce._0x1fc79d,0x126,0x134,_0x3ef4ce._0x908893)][_0x32604c(0x635,_0x3ef4ce._0xabe71a,0x670,0x77d)]?new RetryTransport(_0x302d5c,this[_0x32604c(0x42b,0x2f8,_0x3ef4ce._0x4fb8c8,_0x3ef4ce._0x747d88)]['retry']):_0x302d5c;function _0x355e27(_0x3b4338,_0x3d6b2e,_0x52bb01,_0x30cad3){return _0x27e2df(_0x3b4338-_0x1f2e7e._0x50fdde,_0x52bb01-_0x1f2e7e._0x5868bc,_0x52bb01-0x1e1,_0x3b4338);}function _0x32604c(_0x15c4f9,_0x3a4f90,_0x508178,_0x4bf547){return _0x27e2df(_0x15c4f9-_0x164676._0x34530d,_0x15c4f9-0x36a,_0x508178-_0x164676._0x3ded7a,_0x4bf547);}return new LLMErrorTransport(_0x987588);}[_0xadee61(0x51e,0x3f2,0x3c2,0x4e5)](){const _0x259ce3={_0x49ecb9:0x241,_0x5d777a:0x191,_0x30f5a1:0x126,_0x1d46dc:0xed,_0x3ecf87:0xe7},_0x1d48f1={_0x387063:0x1a6},_0x5e0787={_0x652ace:0x2b7,_0x598345:0x106};!this['transport']&&(this[_0x3ab528(_0x259ce3._0x49ecb9,0xf2,_0x259ce3._0x5d777a,0x1c2)]=this[_0x1029eb(0x105,-_0x259ce3._0x30f5a1,-_0x259ce3._0x1d46dc,0x113)]());function _0x1029eb(_0x2b9de4,_0x12c0d2,_0x6f313e,_0x5bdd70){return _0xadee61(_0x2b9de4- -_0x5e0787._0x652ace,_0x5bdd70,_0x6f313e-_0x5e0787._0x598345,_0x5bdd70-0x7d);}function _0x3ab528(_0xaf4e45,_0x266e18,_0x17a99e,_0x396df9){return _0xadee61(_0x266e18- -0xc5,_0xaf4e45,_0x17a99e-0x140,_0x396df9-_0x1d48f1._0x387063);}return this[_0x1029eb(-0x100,0x107,0xbe,-_0x259ce3._0x3ecf87)];}['transformMessages'](_0x4324a){const _0x5c3a6d={_0x1b99a2:0x369,_0x55e71b:0x63a,_0x55cd00:0x4c6,_0x378952:0x1e1,_0x127f5d:0x35e,_0x1cfd25:0x1d4,_0x5cff72:0x129,_0x43767f:0x2f8,_0xbdf7e4:0x3b2,_0x427999:0x86,_0x45f24e:0xb9,_0xb4eb86:0x48,_0x328d96:0x10,_0x469461:0x17c,_0xd595a7:0x39c,_0x14ee17:0x308,_0x569173:0x1eb,_0xc7b1a5:0x727,_0x2b1f7e:0x54e,_0x546365:0x5e1,_0x36e093:0x5fd,_0x372322:0x410,_0x2c65df:0x4f3,_0x3aa42e:0x18e,_0x14c40d:0x376,_0x38b868:0x414,_0x247fd0:0x429,_0x3b788a:0x3fa,_0x2f3e3a:0x1d9,_0x35ec02:0x420,_0x15aaff:0x16b,_0x117fb1:0x20a,_0xcfc9da:0x35b,_0x3f73e7:0x40e,_0x530123:0x2cf,_0x53ac16:0x257,_0x5d8bd7:0x434,_0x25cff2:0x57a,_0x3c6f13:0x646,_0x1acc46:0x4a6,_0x341cd1:0x4b0,_0x4b3b83:0x418,_0x4941e2:0x35b,_0x5e2617:0x2fe,_0x5e3433:0x189,_0x4d3d95:0x14c,_0x55cc13:0x555,_0x10139f:0x327,_0x34acd0:0x77c,_0x4aa409:0x377,_0x21cd0e:0x2b2,_0x266c03:0xe5,_0x58ab3f:0x203,_0x507b08:0x6dc,_0x55b171:0x55e,_0x484a86:0x3a1,_0x29feeb:0x223,_0xb0eab6:0x2fa,_0x373253:0x4d4,_0x74ccc0:0x5c6,_0x156b15:0x359,_0x480664:0x36b,_0x2db1fb:0x699,_0x216881:0x3d4,_0x47ca92:0x347,_0x370ed9:0x416,_0x54bdae:0x656,_0x141f4f:0x223,_0x2738f8:0x18,_0x21e08d:0x3a2,_0x9c38a0:0x273,_0x32d8ff:0x1e3,_0x12ec19:0x390,_0x4f378a:0x40c,_0x1637d8:0x46a,_0x193d0f:0x14d,_0x3c3674:0x1f,_0x5c4e64:0xe7,_0x181abb:0x1ef,_0x172b59:0x7,_0x1300e4:0x668,_0x1e2ea7:0x55e,_0x435019:0x44e,_0x5574a9:0x3f7,_0x38c434:0x791,_0x2b2d72:0x77f,_0x809031:0x187,_0x1cb3e2:0x9c,_0x2abb48:0x2f7,_0x1759a9:0x393,_0x4509f8:0x4cd,_0x6c32cb:0x2c7,_0x1c6a70:0x6cc,_0x58e32f:0x50e,_0x45e8dd:0x39d,_0x355b44:0x356,_0x42031c:0x6eb,_0x18f0b1:0x54e,_0xf22b8e:0x4e7,_0x2fc589:0x23b,_0x2534df:0x287,_0x55ea6c:0x403,_0x1e2417:0x416,_0x2eeaaa:0x4f0,_0x329098:0x463,_0x24e0ed:0x55e,_0xe038e9:0x494,_0x4ddf98:0x45e,_0x1ec33d:0x419,_0x3bb91a:0x3df,_0x208048:0x121,_0x2c6ff9:0x1f8,_0x54cb98:0x4d6,_0x22d396:0xbb,_0x45ee27:0x225,_0x44826c:0xea,_0x3ec98b:0x133,_0x397db7:0x153,_0x255732:0x480,_0x9b89da:0x2d5,_0x445721:0x258,_0x5b9eb7:0x16b,_0x15778b:0x331,_0x4063a3:0xe7,_0x4d9d83:0x148,_0x3a673d:0x185,_0x11d1ea:0x441,_0x16ace2:0x37a,_0x3e53eb:0x26c,_0x341214:0x50d,_0x8d7004:0x31d,_0x1fe9aa:0x37a,_0x572a0e:0x1bd,_0x5676c9:0x274,_0x51a9bf:0x302,_0x5e053d:0x433,_0xa6d98b:0x468,_0x4a79f5:0x37a,_0x265556:0x283,_0x93dca5:0x35b,_0x3447c5:0x78a,_0x14f2e6:0x6aa,_0x5f0ff9:0x154,_0x3bf4c7:0x25a,_0xd8eb84:0x338,_0x93ae08:0x4eb,_0x59059b:0x571,_0x92e6ca:0x337,_0x1987d3:0x56d},_0x356f7b={_0x275e6c:0x1b,_0xbfb6aa:0x4d,_0x3b28a5:0x126},_0x50d5bb={_0x4c7881:0x3f},_0x4a115d=_0x4324a[_0x24e1e8(0x2ad,_0x5c3a6d._0x1b99a2,0x4c6,0x446)](_0x1b25a0=>_0x1b25a0['role']===_0x1b7537(0xf0,-0x2e,-0xf4,0x241)),_0x1db1e1=_0x4324a[_0x24e1e8(_0x5c3a6d._0x55e71b,0x677,_0x5c3a6d._0x55cd00,0x4fd)](_0x4bee24=>_0x4bee24['role']!=='system');let _0x21b2f9;function _0x1b7537(_0x2a9f11,_0x5cddb4,_0x4ca6c1,_0x411d1c){return _0x27e2df(_0x2a9f11-0x57,_0x2a9f11- -0xc3,_0x4ca6c1-_0x50d5bb._0x4c7881,_0x4ca6c1);}_0x4a115d[_0x24e1e8(0x29b,0x40e,0x37a,_0x5c3a6d._0x378952)]>0x0&&(this['enablePromptCaching']?_0x21b2f9=_0x4a115d[_0x24e1e8(0x35e,0x23a,_0x5c3a6d._0x127f5d,0x347)]((_0x201a77,_0x2271f1)=>({'type':_0x24e1e8(0x591,0x4c3,0x416,0x51a),'text':typeof _0x201a77[_0x1b7537(0x35b,0x51c,0x126,0x132)]===_0x1b7537(0x2b2,0x23c,0xc6,0x2ce)?_0x201a77[_0x24e1e8(0x5e2,0x42e,0x54e,0x53b)]:JSON[_0x1b7537(0x17,-0x1c4,0x23,-0xf0)](_0x201a77[_0x24e1e8(0x4c4,0x30c,0x54e,0x5ce)]),..._0x2271f1<0x2&&{'cache_control':{'type':_0x1b7537(0x37a,0x31a,0x475,0x246)}}})):_0x21b2f9=_0x4a115d[_0x24e1e8(0x2ad,0x2f4,0x35e,_0x5c3a6d._0x1cfd25)](_0x3119f9=>typeof _0x3119f9[_0x1b7537(0x35b,0x543,0x29b,0x422)]===_0x1b7537(0x2b2,0x367,0x329,0x4a1)?_0x3119f9[_0x1b7537(0x35b,0x335,0x44a,0x4af)]:JSON[_0x1b7537(0x17,0x11c,-0xd3,-0x3d)](_0x3119f9[_0x1b7537(0x35b,0x509,0x12d,0x3fe)]))['join']('\x0a\x0a'));function _0x24e1e8(_0x7de359,_0x55403f,_0x78112b,_0x3a4dc1){return _0xadee61(_0x78112b-_0x356f7b._0x275e6c,_0x7de359,_0x78112b-_0x356f7b._0xbfb6aa,_0x3a4dc1-_0x356f7b._0x3b28a5);}const _0x4e813d=[];for(const _0x476d6d of _0x1db1e1){if(_0x476d6d['role']===_0x24e1e8(_0x5c3a6d._0x5cff72,0x158,0x2e2,_0x5c3a6d._0x43767f)){const _0x20e129=_0x4e813d[_0x4e813d['length']-0x1];_0x20e129&&_0x20e129[_0x1b7537(0x204,_0x5c3a6d._0xbdf7e4,_0x5c3a6d._0x427999,_0x5c3a6d._0x45f24e)]===_0x1b7537(_0x5c3a6d._0xb4eb86,_0x5c3a6d._0x328d96,-0xe,_0x5c3a6d._0x469461)&&Array[_0x24e1e8(_0x5c3a6d._0xd595a7,0x371,_0x5c3a6d._0x14ee17,_0x5c3a6d._0x569173)](_0x20e129[_0x24e1e8(_0x5c3a6d._0xc7b1a5,0x3c5,_0x5c3a6d._0x2b1f7e,0x780)])?_0x20e129[_0x24e1e8(_0x5c3a6d._0x546365,_0x5c3a6d._0x36e093,0x54e,_0x5c3a6d._0x372322)][_0x1b7537(0x36b,0x251,_0x5c3a6d._0x2c65df,0x52f)]({'type':_0x24e1e8(_0x5c3a6d._0x127f5d,0x2cd,_0x5c3a6d._0x3aa42e,0x346),'tool_use_id':_0x476d6d[_0x1b7537(0x2c2,0x294,0x9e,0x19a)]||'','content':typeof _0x476d6d[_0x24e1e8(0x38e,_0x5c3a6d._0x14c40d,0x54e,_0x5c3a6d._0x38b868)]===_0x1b7537(0x2b2,0x1ea,0x141,_0x5c3a6d._0x247fd0)?_0x476d6d[_0x1b7537(0x35b,0x350,_0x5c3a6d._0x3b788a,_0x5c3a6d._0x2f3e3a)]:JSON[_0x24e1e8(_0x5c3a6d._0x35ec02,_0x5c3a6d._0x15aaff,_0x5c3a6d._0x117fb1,0x3ef)](_0x476d6d[_0x1b7537(_0x5c3a6d._0xcfc9da,0x28c,0x552,0x2af)])}):_0x4e813d[_0x1b7537(0x36b,_0x5c3a6d._0x3f73e7,_0x5c3a6d._0x530123,0x4aa)]({'role':_0x1b7537(0x48,0x24c,0x222,_0x5c3a6d._0x53ac16),'content':[{'type':'tool_result','tool_use_id':_0x476d6d[_0x24e1e8(_0x5c3a6d._0x5d8bd7,_0x5c3a6d._0x25cff2,0x4b5,0x4a4)]||'','content':typeof _0x476d6d[_0x24e1e8(_0x5c3a6d._0x3c6f13,0x4d6,0x54e,0x619)]===_0x24e1e8(_0x5c3a6d._0x1acc46,_0x5c3a6d._0x341cd1,0x4a5,_0x5c3a6d._0x4b3b83)?_0x476d6d[_0x1b7537(_0x5c3a6d._0x4941e2,_0x5c3a6d._0x5e2617,_0x5c3a6d._0x5e3433,_0x5c3a6d._0x4d3d95)]:JSON[_0x1b7537(0x17,-0x2c,0x21e,-0x146)](_0x476d6d[_0x24e1e8(0x755,_0x5c3a6d._0x55cc13,0x54e,_0x5c3a6d._0x10139f)])}]});continue;}if(_0x476d6d['role']===_0x24e1e8(_0x5c3a6d._0x34acd0,_0x5c3a6d._0x4aa409,0x592,0x658)){const _0x3e4862=[];if(typeof _0x476d6d['content']===_0x1b7537(_0x5c3a6d._0x21cd0e,_0x5c3a6d._0x266c03,0x1d6,_0x5c3a6d._0x58ab3f)&&_0x476d6d['content'])_0x3e4862[_0x24e1e8(0x377,_0x5c3a6d._0x507b08,_0x5c3a6d._0x55b171,_0x5c3a6d._0x484a86)]({'type':_0x1b7537(_0x5c3a6d._0x29feeb,_0x5c3a6d._0xb0eab6,0x60,0x2a1),'text':_0x476d6d[_0x24e1e8(0x35f,_0x5c3a6d._0x373253,0x54e,_0x5c3a6d._0x74ccc0)]});else{if(Array[_0x24e1e8(_0x5c3a6d._0x156b15,_0x5c3a6d._0x480664,_0x5c3a6d._0x14ee17,0x4c5)](_0x476d6d[_0x1b7537(0x35b,0x150,0x41c,0x235)]))for(const _0x3d21ad of _0x476d6d[_0x24e1e8(_0x5c3a6d._0x2db1fb,0x6aa,0x54e,0x3d2)]){_0x3d21ad[_0x24e1e8(0x179,_0x5c3a6d._0x216881,_0x5c3a6d._0x47ca92,0x2e0)]===_0x24e1e8(0x585,0x540,_0x5c3a6d._0x370ed9,_0x5c3a6d._0x54bdae)&&_0x3e4862[_0x24e1e8(0x678,0x33d,_0x5c3a6d._0x55b171,0x54f)]({'type':_0x1b7537(_0x5c3a6d._0x141f4f,_0x5c3a6d._0x2738f8,_0x5c3a6d._0x21e08d,0x1d),'text':_0x3d21ad['text']});}}if(_0x476d6d['tool_calls'])for(const _0x370639 of _0x476d6d[_0x1b7537(_0x5c3a6d._0x9c38a0,_0x5c3a6d._0x32d8ff,_0x5c3a6d._0x12ec19,_0x5c3a6d._0x4f378a)]){_0x3e4862[_0x1b7537(_0x5c3a6d._0x480664,0x2eb,0x34f,_0x5c3a6d._0x1637d8)]({'type':_0x1b7537(0x294,0xd9,0x3d5,0x8e),'id':_0x370639['id'],'name':_0x370639['function'][_0x1b7537(_0x5c3a6d._0x193d0f,0x382,0x234,-_0x5c3a6d._0x3c3674)],'input':JSON['parse'](_0x370639[_0x24e1e8(_0x5c3a6d._0x5c4e64,0x248,0x181,_0x5c3a6d._0x181abb)][_0x1b7537(0x7c,_0x5c3a6d._0x172b59,0x121,_0x5c3a6d._0x2f3e3a)]||'{}')});}_0x4e813d[_0x24e1e8(0x6c5,_0x5c3a6d._0x1300e4,_0x5c3a6d._0x1e2ea7,_0x5c3a6d._0x435019)]({'role':_0x24e1e8(_0x5c3a6d._0x5574a9,_0x5c3a6d._0x38c434,0x592,_0x5c3a6d._0x2b2d72),'content':_0x3e4862[_0x1b7537(_0x5c3a6d._0x809031,-0x8a,_0x5c3a6d._0x1cb3e2,_0x5c3a6d._0x2abb48)]>0x0?_0x3e4862:''});continue;}if(_0x476d6d['role']==='user'){const _0x479433=[];if(typeof _0x476d6d[_0x1b7537(_0x5c3a6d._0xcfc9da,0x33b,0x311,0x2d5)]===_0x1b7537(0x2b2,_0x5c3a6d._0x1759a9,_0x5c3a6d._0x4509f8,_0x5c3a6d._0x6c32cb)&&_0x476d6d['content'])_0x479433[_0x24e1e8(_0x5c3a6d._0x1c6a70,0x555,0x55e,_0x5c3a6d._0x58e32f)]({'type':_0x24e1e8(0x455,0x580,0x416,0x213),'text':_0x476d6d[_0x24e1e8(0x681,_0x5c3a6d._0x45e8dd,0x54e,0x777)]});else{if(Array[_0x24e1e8(_0x5c3a6d._0x355b44,0x4d5,0x308,0x285)](_0x476d6d[_0x24e1e8(0x58a,_0x5c3a6d._0x42031c,_0x5c3a6d._0x18f0b1,0x766)]))for(const _0x1531ab of _0x476d6d[_0x1b7537(0x35b,_0x5c3a6d._0xf22b8e,0x154,0x51f)]){if(_0x1531ab[_0x24e1e8(_0x5c3a6d._0x2fc589,_0x5c3a6d._0x2534df,0x347,0x426)]===_0x24e1e8(0x600,_0x5c3a6d._0x55ea6c,_0x5c3a6d._0x1e2417,0x5b0))_0x479433[_0x24e1e8(_0x5c3a6d._0x2eeaaa,_0x5c3a6d._0x329098,_0x5c3a6d._0x24e0ed,_0x5c3a6d._0xe038e9)]({'type':_0x24e1e8(0x2d7,_0x5c3a6d._0x4ddf98,0x416,_0x5c3a6d._0x1ec33d),'text':_0x1531ab[_0x1b7537(_0x5c3a6d._0x29feeb,_0x5c3a6d._0x3bb91a,_0x5c3a6d._0x208048,_0x5c3a6d._0x2c6ff9)]});else{if(_0x1531ab[_0x1b7537(0x154,0x1db,-0x41,0x40)]===_0x24e1e8(0x414,_0x5c3a6d._0x54cb98,0x2ae,_0x5c3a6d._0x2c6ff9)){const _0x4e4fed=_0x1531ab[_0x1b7537(_0x5c3a6d._0x22d396,0x220,_0x5c3a6d._0x45ee27,0x1ed)][_0x1b7537(_0x5c3a6d._0x44826c,-_0x5c3a6d._0x3ec98b,-_0x5c3a6d._0x397db7,0x22d)];if(_0x4e4fed[_0x24e1e8(0xc2,0x25b,0x208,0x3f9)]('data:')){const _0x440de8=_0x4e4fed['match'](/^data:([^;]+);base64,(.+)$/);_0x440de8&&_0x479433[_0x1b7537(0x36b,0x4c5,_0x5c3a6d._0x255732,_0x5c3a6d._0x9b89da)]({'type':_0x1b7537(0x32,_0x5c3a6d._0x445721,0xe0,-_0x5c3a6d._0x5b9eb7),'source':{'type':'base64','media_type':_0x440de8[0x1],'data':_0x440de8[0x2]}});}}}}}_0x4e813d['push']({'role':'user','content':_0x479433[_0x1b7537(0x187,_0x5c3a6d._0x15778b,0x226,_0x5c3a6d._0x4063a3)]>0x0?_0x479433:''});}}if(this[_0x1b7537(0x1c0,_0x5c3a6d._0x4d9d83,0x2c1,_0x5c3a6d._0x3a673d)]&&_0x4e813d[_0x24e1e8(0x5a3,_0x5c3a6d._0x11d1ea,_0x5c3a6d._0x16ace2,_0x5c3a6d._0x3e53eb)]>0x0){const _0x2edb42=_0x4e813d[_0x24e1e8(_0x5c3a6d._0x341214,_0x5c3a6d._0x8d7004,_0x5c3a6d._0x1fe9aa,_0x5c3a6d._0x572a0e)]>=0x2?[_0x4e813d['length']-0x2,_0x4e813d[_0x1b7537(0x187,0x21b,0x11c,_0x5c3a6d._0x5676c9)]-0x1]:[_0x4e813d['length']-0x1];for(const _0x2a20a2 of _0x2edb42){const _0x310cbc=_0x4e813d[_0x2a20a2];if(_0x310cbc&&Array[_0x24e1e8(0x3fb,0x1f5,0x308,_0x5c3a6d._0x51a9bf)](_0x310cbc['content'])&&_0x310cbc[_0x24e1e8(0x452,0x3b1,0x54e,_0x5c3a6d._0x5e053d)][_0x24e1e8(_0x5c3a6d._0xa6d98b,0x3cc,_0x5c3a6d._0x4a79f5,_0x5c3a6d._0x265556)]>0x0){const _0x1f9386=_0x310cbc[_0x1b7537(_0x5c3a6d._0x93dca5,0x3f8,0x1b0,0x597)][_0x310cbc[_0x24e1e8(_0x5c3a6d._0x3447c5,0x3ff,0x54e,_0x5c3a6d._0x14f2e6)][_0x24e1e8(0x4d3,0x597,0x37a,_0x5c3a6d._0x93dca5)]-0x1];_0x1f9386&&_0x1f9386[_0x1b7537(_0x5c3a6d._0x5f0ff9,0x78,0x308,_0x5c3a6d._0x3bf4c7)]===_0x24e1e8(_0x5c3a6d._0xd8eb84,_0x5c3a6d._0x93ae08,0x416,0x357)&&(_0x1f9386['cache_control']={'type':_0x24e1e8(_0x5c3a6d._0x59059b,_0x5c3a6d._0x92e6ca,_0x5c3a6d._0x1987d3,0x616)});}}}return{'system':_0x21b2f9,'messages':_0x4e813d};}[_0xadee61(0x2e3,0x51e,0x501,0x3ba)](_0x1c1101){const _0x213516={_0x527b95:0x8f,_0x398a24:0x12d,_0x46bdfc:0x57},_0x446f98={_0x377755:0x38c};function _0x26d9fa(_0x58a52c,_0x306c92,_0x16bc86,_0x45a1fa){return _0xadee61(_0x16bc86-_0x446f98._0x377755,_0x45a1fa,_0x16bc86-0x1ce,_0x45a1fa-0x1c3);}function _0x5037a9(_0x6e1bfc,_0x53a777,_0x259cd2,_0x99a7e0){return _0xadee61(_0x259cd2-_0x213516._0x527b95,_0x53a777,_0x259cd2-_0x213516._0x398a24,_0x99a7e0-_0x213516._0x46bdfc);}if(!_0x1c1101||_0x1c1101['length']===0x0)return void 0x0;return _0x1c1101['map']((_0x4a4b83,_0x3abb82)=>({'name':_0x4a4b83[_0x5037a9(0x17d,0x15b,0x1f5,0x37f)]['name'],'description':_0x4a4b83[_0x26d9fa(0x48a,0x37e,0x4f2,0x44c)][_0x26d9fa(0x6ce,0x4f3,0x69b,0x845)],'input_schema':_0x4a4b83['function'][_0x5037a9(0x5e,0x2e4,0x26b,0x222)],...this[_0x5037a9(0x210,0x60c,0x427,0x244)]&&_0x3abb82<0x2&&{'cache_control':{'type':'ephemeral'}}}));}[_0x27e2df(0x34b,0x134,0x38,0x1e1)](_0x268f61){const _0x51956c={_0x4eb537:0x3d3,_0x32f219:0x315,_0xba279d:0x4eb,_0x13b966:0x245,_0x5e1417:0xc9,_0x20016b:0x1c7,_0x3f278b:0x89,_0x5e792e:0x22,_0x396f7f:0xa5,_0x244d72:0x1c7,_0x1c0332:0x23,_0x1a0161:0x14,_0x1c324a:0x1af},_0x4ae704={_0x56fc36:0x170},_0x560c80={_0x2660c3:0x10a};function _0x2079e4(_0x10cd1b,_0x163e82,_0x2f08b3,_0xb957cb){return _0x27e2df(_0x10cd1b-0xf8,_0x163e82-0x176,_0x2f08b3-_0x560c80._0x2660c3,_0x2f08b3);}if(!_0x268f61||_0x268f61===_0x2079e4(0x29a,0x3d3,0x5ab,0x5d1))return{'type':_0x2079e4(0x2ae,_0x51956c._0x4eb537,0x600,0x3a1)};function _0x58d42a(_0x4ce007,_0xb4a81a,_0x2d4881,_0x47eac4){return _0x27e2df(_0x4ce007-_0x4ae704._0x56fc36,_0xb4a81a- -0x1fc,_0x2d4881-0x1b5,_0x2d4881);}if(_0x268f61==='none')return void 0x0;if(typeof _0x268f61===_0x2079e4(0x54a,_0x51956c._0x32f219,_0x51956c._0xba279d,_0x51956c._0x13b966)&&_0x268f61['type']===_0x2079e4(_0x51956c._0x5e1417,_0x51956c._0x20016b,_0x51956c._0x3f278b,-_0x51956c._0x5e792e))return{'type':_0x58d42a(-0x41,-0x4a,0xb,_0x51956c._0x396f7f),'name':_0x268f61[_0x2079e4(0x94,_0x51956c._0x244d72,0xad,0x230)][_0x58d42a(-_0x51956c._0x1c0332,_0x51956c._0x1a0161,-0x156,-_0x51956c._0x1c324a)]};return{'type':_0x58d42a(0x138,0x61,0x29d,0x1c)};}[_0xadee61(0x2d2,0x2b4,0x2ad,0x4f7)](_0x5173ac){const _0x42317f={_0x320204:0x221,_0x5b7c3c:0x606,_0x5068f4:0x3ba,_0x176c37:0x15f},_0x53eb89={_0x3bffb9:0xa2},_0x4af763={_0x7d0c2c:0x1e6},_0x16a919=_0x5173ac[_0x352742(0x158,-0x126,0x79,0x24e)]??0x0;function _0x352742(_0xae4893,_0x13ac34,_0xb15f54,_0x43862a){return _0xadee61(_0xb15f54- -_0x4af763._0x7d0c2c,_0xae4893,_0xb15f54-0xae,_0x43862a-0x1be);}const _0x2085f5=_0x5173ac[_0x592dff(0x33c,0x128,0x292,_0x42317f._0x320204)]??0x0;function _0x592dff(_0x54b6d4,_0x203e24,_0x49780d,_0x11e09b){return _0x27e2df(_0x54b6d4-0x1ad,_0x203e24-_0x53eb89._0x3bffb9,_0x49780d-0xc3,_0x11e09b);}const _0x5aa2be=_0x5173ac[_0x592dff(0x3cf,0x4a8,_0x42317f._0x5b7c3c,_0x42317f._0x5068f4)]??0x0,_0x383f5d=_0x5173ac[_0x592dff(-0x72,0xa5,0x155,_0x42317f._0x176c37)]??0x0,_0x56cb9b=_0x5aa2be+_0x383f5d;return{'prompt_tokens':_0x16a919,'completion_tokens':_0x2085f5,'total_tokens':_0x16a919+_0x2085f5,..._0x56cb9b>0x0&&{'prompt_tokens_details':{'cached_tokens':_0x56cb9b}},..._0x5aa2be>0x0&&{'cache_creation_input_tokens':_0x5aa2be},..._0x383f5d>0x0&&{'cache_read_input_tokens':_0x383f5d}};}['transformResponse'](_0x205dfa){const _0x231652={_0x592764:0x209,_0x2d9b90:0x28e,_0x22782c:0xce,_0x87f11b:0x1b8,_0x38b64f:0x57,_0x3a7e16:0x22,_0x34cbc2:0x1b7,_0x4b19c1:0x29d,_0x167c6a:0xf0,_0x565654:0xc2,_0x2db835:0x3f6,_0x127409:0x2c2,_0xc29ff2:0x117,_0x47d175:0x2ff,_0x524417:0x203,_0x4a3d1a:0x1b9,_0x510762:0x1c2,_0xae387c:0x1b8,_0x2ec512:0x1ed,_0x907cb0:0x2b1,_0x4ffc34:0x82,_0x193015:0x18c,_0x53bc90:0x160,_0x4523de:0x83,_0x5bc22d:0x90,_0x1b686e:0x80,_0x36ba62:0x2d0,_0x1e78fe:0x19f,_0x27e4c3:0xaf,_0x5ea885:0xab,_0x179f2d:0xcc,_0x4a527e:0x143},_0x186aee={_0x43f77b:0x4a,_0x4dec22:0xdf},_0x3ba24f={_0x432cfb:0x16d};let _0x2e35f0='';function _0x3ccc25(_0x2b6739,_0x36b7fd,_0xaf87ec,_0x4d3fd7){return _0xadee61(_0xaf87ec- -_0x3ba24f._0x432cfb,_0x2b6739,_0xaf87ec-0x90,_0x4d3fd7-0x1c6);}let _0x5a90a2='';const _0x177ec8=[];function _0x4b9b7d(_0x1ec4af,_0x5e59e4,_0x208966,_0x2ee4bd){return _0xadee61(_0x2ee4bd- -0x37d,_0x1ec4af,_0x208966-_0x186aee._0x43f77b,_0x2ee4bd-_0x186aee._0x4dec22);}for(const _0x122d60 of _0x205dfa['content']){if(_0x122d60[_0x3ccc25(-0x26,_0x231652._0x592764,0x1bf,0x282)]===_0x3ccc25(0x2e2,0x75,_0x231652._0x2d9b90,_0x231652._0x22782c))_0x2e35f0+=_0x122d60[_0x4b9b7d(-_0x231652._0x87f11b,0x229,-_0x231652._0x38b64f,0x7e)];else{if(_0x122d60[_0x4b9b7d(-0x15,_0x231652._0x3a7e16,_0x231652._0x34cbc2,-0x51)]==='thinking')_0x5a90a2+=_0x122d60[_0x4b9b7d(_0x231652._0x4b19c1,0x1be,_0x231652._0x167c6a,_0x231652._0x565654)];else _0x122d60[_0x3ccc25(0x285,_0x231652._0x2db835,0x1bf,0x29a)]===_0x3ccc25(_0x231652._0x127409,_0x231652._0xc29ff2,_0x231652._0x47d175,0x2a3)&&_0x177ec8[_0x3ccc25(0x1f0,0x38b,0x3d6,0x572)]({'id':_0x122d60['id'],'type':_0x3ccc25(-_0x231652._0x524417,-_0x231652._0x4a3d1a,-0x7,-0x11e),'function':{'name':_0x122d60[_0x3ccc25(0x20b,_0x231652._0x510762,_0x231652._0xae387c,_0x231652._0x2ec512)],'arguments':JSON[_0x3ccc25(_0x231652._0x907cb0,-0x15,_0x231652._0x4ffc34,-_0x231652._0x193015)](_0x122d60[_0x4b9b7d(-_0x231652._0x53bc90,-_0x231652._0x4523de,-_0x231652._0x5bc22d,-0x59)])}});}}return{'content':_0x2e35f0,..._0x5a90a2&&{'reasoning':_0x5a90a2},..._0x177ec8[_0x3ccc25(_0x231652._0x1b686e,0x101,0x1f2,0x19d)]>0x0&&{'tool_calls':_0x177ec8},'usage':this[_0x4b9b7d(-_0x231652._0x36ba62,-_0x231652._0x1e78fe,_0x231652._0x27e4c3,-_0x231652._0x5ea885)](_0x205dfa[_0x4b9b7d(-0xd3,-_0x231652._0x179f2d,0x252,_0x231652._0x4a527e)])};}['throwResponseError'](_0x1d5767,_0x45e909){const _0x18841f={_0x78e08a:0x39c,_0x59376a:0x84d,_0x50319b:0x746,_0x53f04e:0x5bd,_0x2a47a8:0x612},_0x5bcb38={_0x388018:0x2a5,_0x2aa371:0x81,_0x6b727d:0x12f};function _0x49535e(_0x23eb8b,_0x595b23,_0x2c2ab8,_0x309546){return _0xadee61(_0x309546-0xee,_0x23eb8b,_0x2c2ab8-0x1b,_0x309546-0x92);}function _0x3ae96d(_0x205813,_0x608cd1,_0x447ac8,_0x3f5fd5){return _0xadee61(_0x447ac8-_0x5bcb38._0x388018,_0x205813,_0x447ac8-_0x5bcb38._0x2aa371,_0x3f5fd5-_0x5bcb38._0x6b727d);}if(_0x1d5767===0x1ad||_0x1d5767===0x198)throw new LLMError(_0x49535e(0x38a,0x244,0x34d,_0x18841f._0x78e08a),_0x1d5767,!![]);else{if(_0x1d5767===0x191||_0x1d5767===0x193)throw new LLMError(_0x49535e(0x485,0x460,_0x18841f._0x59376a,0x60e),_0x1d5767,![]);else{if(_0x1d5767===0x190)throw new LLMError(_0x3ae96d(0x836,0x924,0x816,_0x18841f._0x50319b)+_0x45e909,_0x1d5767,![]);else{if(isRetryableStatusCode(_0x1d5767,DEFAULT_RETRYABLE_STATUS_CODES))throw new LLMError(_0x3ae96d(_0x18841f._0x53f04e,0x583,_0x18841f._0x2a47a8,0x46f),_0x1d5767,!![]);}}}throw new LLMError(_0x45e909,_0x1d5767,![]);}async[_0xadee61(0x522,0x370,0x45b,0x5ac)](_0x172c7e,_0xbbcdb5){const _0x45607a={_0x10a870:0x104,_0x40f417:0x1ae,_0x479ac0:0xef,_0x59a320:0x108,_0x509d6b:0x176,_0xfc8d89:0x1ad,_0xd1e2d8:0x3d9,_0x261f34:0x2d7,_0x4839d8:0x12c,_0x367b20:0x491,_0x3cd38a:0x448,_0x4a3d5f:0x451,_0xeebaa3:0x1ba,_0x35be4f:0xa5,_0x317b6b:0x8d,_0x306f3b:0x172,_0x7be78a:0x30f,_0x341251:0x200,_0x57123a:0x1c1,_0x3cfcad:0x52,_0x4dd125:0x70,_0x4e857c:0x27b,_0x18735e:0x8a,_0x3877b2:0x1c0,_0x3ea1ae:0xa1,_0x461765:0x2a9,_0x107dbd:0x46c,_0x32b624:0x45e,_0x3b5229:0x29d,_0x438f53:0x379,_0xa99c2e:0x325,_0x2c49f8:0x1aa,_0x517bda:0x15e,_0x5c2e85:0x122,_0x267d8f:0x4b,_0x2c561b:0x246},_0x3bd9e6={_0x20c1a0:0x195,_0x6caad:0x63},_0x27da5c={_0x497ecd:0x106,_0x682795:0x41},{system:_0xf017f2,messages:_0x1fa615}=this['transformMessages'](_0x172c7e[_0x24f913(0x24,-_0x45607a._0x10a870,-_0x45607a._0x40f417,-_0x45607a._0x479ac0)]),_0xa1b85b=this[_0x3f7e51(_0x45607a._0x59a320,0x12e,0x231,_0x45607a._0x509d6b)](_0x172c7e[_0x3f7e51(0x1f3,-0x19,0x59,0xbd)]),_0x1ce1b6={'model':_0x172c7e['model'],'max_tokens':_0x172c7e[_0x3f7e51(0x1b2,_0x45607a._0xfc8d89,_0x45607a._0xd1e2d8,_0x45607a._0x261f34)]??0x7d00,'messages':_0x1fa615,..._0xf017f2&&{'system':_0xf017f2},..._0xa1b85b&&{'tools':_0xa1b85b},..._0xa1b85b&&{'tool_choice':this[_0x3f7e51(_0x45607a._0x4839d8,0x2ce,0x197,0xde)](_0x172c7e[_0x3f7e51(_0x45607a._0x367b20,0x4d2,_0x45607a._0x3cd38a,_0x45607a._0x4a3d5f)])},..._0x172c7e[_0x24f913(-_0x45607a._0xeebaa3,-_0x45607a._0x35be4f,-0x153,-_0x45607a._0x317b6b)]!==void 0x0&&{'temperature':_0x172c7e[_0x3f7e51(_0x45607a._0x306f3b,_0x45607a._0x7be78a,0x17d,0x1b9)]},..._0x172c7e[_0x24f913(0x336,_0x45607a._0x341251,0x3c7,0x1cc)]!==void 0x0&&{'top_p':_0x172c7e['topP']},..._0x172c7e['thinking']&&{'thinking':_0x172c7e[_0x24f913(0x11,_0x45607a._0x57123a,0x240,0x183)][_0x24f913(0x225,_0x45607a._0x3cfcad,0x145,_0x45607a._0x4dd125)]===_0x24f913(0x179,0x125,0x2d6,_0x45607a._0x4e857c)?{'type':_0x3f7e51(0x38d,0x299,0x485,0x47c),'budget_tokens':_0x172c7e[_0x24f913(0x12b,0x27a,0x56,0x183)][_0x24f913(0x16a,0x135,_0x45607a._0x18735e,_0x45607a._0x3877b2)]}:{'type':_0x24f913(0x29a,0x26e,0x199,_0x45607a._0x3ea1ae)}}};function _0x24f913(_0x1e85ec,_0x306f49,_0x21e057,_0x3855fe){return _0xadee61(_0x3855fe- -0x2bc,_0x21e057,_0x21e057-_0x27da5c._0x497ecd,_0x3855fe-_0x27da5c._0x682795);}const _0x32ad73=await this[_0x3f7e51(0x675,_0x45607a._0x461765,_0x45607a._0x107dbd,_0x45607a._0x32b624)]()['post']('/messages',_0x1ce1b6,void 0x0,_0xbbcdb5);function _0x3f7e51(_0x25f423,_0x4719c6,_0x179a05,_0x237e42){return _0x27e2df(_0x25f423-_0x3bd9e6._0x20c1a0,_0x179a05-_0x3bd9e6._0x6caad,_0x179a05-0x18a,_0x25f423);}if(!_0x32ad73['ok']){const _0x296eed=await _0x32ad73[_0x24f913(0x27,_0x45607a._0x3b5229,0x358,0x13f)]();this['throwResponseError'](_0x32ad73[_0x3f7e51(0x51d,_0x45607a._0x438f53,0x30f,_0x45607a._0xa99c2e)],_0x296eed||_0x3f7e51(_0x45607a._0x2c49f8,_0x45607a._0x517bda,_0x45607a._0x5c2e85,0x41)+_0x32ad73['status']);}const _0x54fe06=await _0x32ad73['json']();return this[_0x24f913(_0x45607a._0x267d8f,-_0x45607a._0x2c561b,-0x1fb,-0x140)](_0x54fe06);}async[_0x27e2df(0x3fd,0x3e1,0x58d,0x439)](_0x55aea1,_0x9a5886={},_0x5a2aa8){const _0x586a85={_0x59e84a:0x140,_0x46834f:0xf3,_0xb4910f:0x11a,_0x26f164:0x265,_0xcab818:0x7f,_0x5e9208:0x176,_0x397860:0x3ce,_0x4bc1ad:0x57c,_0x56cef2:0x2c4,_0x1a380c:0x51d,_0xcab04c:0x68f,_0x2dacd4:0x735,_0x1686f0:0x34c,_0x43cdf5:0x1db,_0x260062:0x4e9,_0x1e6ed8:0x573,_0x2f7dd6:0x740,_0x87a3c4:0x2d3,_0x45b838:0x235,_0x3989ad:0x3d1,_0x6223e1:0x27d,_0x5eb2e6:0x2d7,_0x25892c:0x58e,_0x3c48a0:0x1ca,_0x2709c7:0x38,_0x3b1bb5:0x3b7,_0x3f500c:0x65,_0x32bbee:0x197,_0x1f6c8b:0x603,_0x2abbad:0x543,_0x46c6d2:0x227,_0x45acfc:0x1a,_0x4b4e1a:0x13c,_0x2a08cd:0xbf,_0x5a7e37:0x30c,_0x2db012:0x6c,_0x3055a9:0x55d,_0x58bd79:0x4f6,_0x181543:0x47c,_0x424ee4:0x10,_0x1a21ed:0x1b8,_0x11e72d:0x342,_0x48c72d:0x30d,_0x5f4a09:0x15d,_0x1e5dce:0x16f,_0x50ed3c:0x5b,_0x2a10cc:0xfb,_0x27896a:0x284},_0x86e47f={_0x4052ee:0xa9,_0x18fff8:0x14f,_0x1b4cd6:0x29},_0x43eedf={_0x5b9406:0x160,_0x564308:0x2ab,_0x2ac40f:0x22b,_0x3af5d2:0x111,_0x341ef2:0x438,_0x324a84:0x11f,_0x2592a1:0x1c6,_0x194503:0x2f6,_0x466890:0x12d,_0x1fc03a:0x136,_0x17a399:0x293,_0x2da7ac:0x6f,_0x50b5cb:0x4dc,_0x4e1562:0x498,_0x10eee6:0x35b,_0x49cd07:0x2ad,_0x51bf88:0x484,_0x1c113f:0x469,_0x5ca1b3:0x1c,_0x39b675:0x1f9,_0x573b81:0x1c8,_0x3c50bc:0x1d6,_0x4f841e:0x2f7,_0x4d6501:0x396,_0x171e65:0xc6,_0x1403ff:0x13f,_0x1194f2:0x228,_0xd7defa:0x2ae,_0x2563c0:0x4ef,_0x4b36fa:0xc0,_0x40ab8a:0x38d,_0x492500:0x433,_0x746e5f:0x267,_0x320197:0x2bc,_0x15ce40:0x9,_0x9ec0b1:0x195,_0x47f04d:0x43,_0xe30a20:0x129,_0x4dc10e:0x1db,_0x57fbfe:0x390,_0x132d7c:0xe5,_0x4051dc:0x60,_0x469f70:0xe2,_0x4fb057:0x15e,_0x2a8b79:0x1b0,_0x2dc134:0x221,_0x3693d5:0x72,_0x16088c:0x26,_0x55cb81:0x1e1,_0x3be5d9:0x352,_0x12b8af:0x567,_0x5d885f:0x46c,_0x283d45:0x6c6,_0x359ccd:0x56f,_0x146787:0x323,_0x109448:0x356,_0x4fee2c:0x56f,_0x3f0759:0x1b5,_0x25ad77:0x58a,_0x25de34:0x35b,_0x4084fe:0x483,_0x4a855e:0x5ae,_0x52d3aa:0x3e3,_0x506a4f:0x2a4,_0x3e0921:0x1d8,_0x29ae5b:0x38e,_0x59606a:0x2b6,_0x40cfff:0x46e,_0x426c40:0xa8,_0x14d538:0xe,_0x3c1861:0x3d6,_0xcce12:0x83,_0x1577d7:0x408,_0x317a3:0x3b3,_0x12247d:0x24b,_0xe2e91:0x43a,_0x33fae6:0x2aa,_0x4437d9:0x3e4,_0x435f3c:0x374,_0x23a90c:0x570,_0x59981d:0x60e,_0x2d770c:0x56f,_0x3feb61:0x18a,_0x53a07c:0x124,_0x3a7fbe:0x1e7,_0x428800:0x64,_0x44b2df:0x585,_0x4148b8:0x3ee,_0xb5d340:0x38e,_0x33bdb4:0x1d,_0x594d70:0x2be,_0x599f0c:0x114,_0x3c6072:0xb9,_0x3fa31a:0x220,_0x316512:0x43,_0x372ca1:0x72,_0x3cf65c:0x8a,_0x1f747d:0x459,_0x4afb67:0x4a8,_0x58e972:0x56f,_0x12b506:0x292,_0x359471:0x38,_0x1b56b6:0x428,_0x18b83a:0x609,_0x2ffbf9:0x579,_0x10f9c9:0x2fd,_0x1576e6:0x60,_0x5be454:0x4a4,_0x4c2e9c:0x2da,_0x1a7fdd:0x1c5,_0x5a8fdf:0xbf,_0x258952:0x162,_0x407298:0x393,_0x1330a6:0x21,_0x3ccaf1:0x1a6,_0x467b2a:0x1cf,_0x92533d:0x142},_0x2250e7={_0x42cf51:0x3fd,_0x56701d:0x152},_0x34092a={_0xf18124:0x293,_0x237fd7:0x9e,_0x2a6282:0x11b},_0x1b63d6={_0x34c26b:0x95,_0x5b5614:0x1f1,_0x28ffc0:0x2e},{system:_0x2161ee,messages:_0x5a0eae}=this[_0x3c351b(-0x33d,-_0x586a85._0x59e84a,_0x586a85._0x46834f,-_0x586a85._0xb4910f)](_0x55aea1[_0x3c351b(-0x118,-0x97,-0xda,-_0x586a85._0x26f164)]),_0x3c2890=this[_0x3c351b(0x1cc,_0x586a85._0xcab818,0x250,_0x586a85._0x5e9208)](_0x55aea1['tools']);function _0xe4fdb0(_0x50a0a2,_0xf84e7,_0x1dda61,_0x19c363){return _0xadee61(_0x50a0a2-_0x1b63d6._0x34c26b,_0x1dda61,_0x1dda61-_0x1b63d6._0x5b5614,_0x19c363-_0x1b63d6._0x28ffc0);}const _0x373cb5={'model':_0x55aea1['model'],'max_tokens':_0x55aea1['maxTokens']??0x7d00,'messages':_0x5a0eae,'stream':!![],..._0x2161ee&&{'system':_0x2161ee},..._0x3c2890&&{'tools':_0x3c2890},..._0x3c2890&&{'tool_choice':this['transformToolChoice'](_0x55aea1[_0xe4fdb0(0x58f,_0x586a85._0x397860,_0x586a85._0x4bc1ad,0x6e7)])},..._0x55aea1['temperature']!==void 0x0&&{'temperature':_0x55aea1[_0xe4fdb0(_0x586a85._0x56cef2,0x15c,0x477,0x2eb)]},..._0x55aea1['topP']!==void 0x0&&{'top_p':_0x55aea1[_0xe4fdb0(_0x586a85._0x1a380c,0x69a,_0x586a85._0xcab04c,_0x586a85._0x2dacd4)]},..._0x55aea1['thinking']&&{'thinking':_0x55aea1[_0x3c351b(_0x586a85._0x1686f0,_0x586a85._0x43cdf5,0x213,0x3ca)][_0xe4fdb0(0x3c1,0x297,0x419,_0x586a85._0x260062)]===_0xe4fdb0(0x5cc,0x7bb,_0x586a85._0x1e6ed8,_0x586a85._0x2f7dd6)?{'type':_0x3c351b(0x1ff,_0x586a85._0x87a3c4,_0x586a85._0x45b838,0x470),'budget_tokens':_0x55aea1[_0x3c351b(0x44,0x1db,0x2f5,_0x586a85._0x3989ad)][_0x3c351b(0x1a,0x218,0x2ba,0x441)]}:{'type':_0x3c351b(_0x586a85._0x6223e1,0xf9,0x236,0x2eb)}}},_0x3131ae=await this[_0x3c351b(0x8e,0x2ba,0x361,_0x586a85._0x5eb2e6)]()[_0xe4fdb0(0x496,0x62c,0x43f,_0x586a85._0x25892c)]('/messages',_0x373cb5,{'Accept':_0xe4fdb0(_0x586a85._0x3c48a0,0x10b,-_0x586a85._0x2709c7,_0x586a85._0x3b1bb5)},_0x5a2aa8);if(!_0x3131ae['ok']){const _0x5a157a=await _0x3131ae[_0x3c351b(_0x586a85._0x3f500c,_0x586a85._0x32bbee,0x251,0x2fe)]();this['throwResponseError'](_0x3131ae[_0xe4fdb0(0x456,0x590,_0x586a85._0x1f6c8b,_0x586a85._0x2abbad)],_0x5a157a||'Anthropic\x20API\x20error\x20'+_0x3131ae['status']);}const _0x5eb108=_0x3131ae[_0x3c351b(_0x586a85._0x46c6d2,0x10a,-_0x586a85._0x45acfc,_0x586a85._0x4b4e1a)]?.[_0x3c351b(0xd3,-_0x586a85._0x2a08cd,-0x2df,0x28)]();if(!_0x5eb108)return{'content':''};const _0x7eb18f=new TextDecoder('utf-8');let _0x3c9190='',_0x5c69d7='',_0x2833f8='';const _0x34400=[],_0x4837af=new Map();let _0x4cb3e8,_0x244f55;const _0x5ea32f=_0x2a95b0=>{const _0x510456=_0x2a95b0[_0x517150(-0x71,_0x43eedf._0x5b9406,0x25c,0x120)]('\x0a');function _0x27071d(_0x2d239e,_0x1332ec,_0x39e01b,_0x321136){return _0x3c351b(_0x1332ec,_0x321136-_0x34092a._0xf18124,_0x39e01b-_0x34092a._0x237fd7,_0x321136-_0x34092a._0x2a6282);}let _0x1d928e='';function _0x517150(_0x4582e9,_0x545f50,_0x378f3a,_0x3fe258){return _0xe4fdb0(_0x545f50- -_0x2250e7._0x42cf51,_0x545f50-0x14d,_0x4582e9,_0x3fe258-_0x2250e7._0x56701d);}for(const _0x4b0687 of _0x510456){_0x4b0687[_0x517150(0x88,-0x17b,-_0x43eedf._0x564308,-_0x43eedf._0x2ac40f)](_0x517150(0x1e4,0x7b,_0x43eedf._0x3af5d2,-0xf7))&&(_0x1d928e=_0x4b0687[_0x517150(-_0x43eedf._0x341ef2,-0x24e,-_0x43eedf._0x324a84,-0x3fe)](0x5)[_0x27071d(_0x43eedf._0x2592a1,_0x43eedf._0x194503,_0x43eedf._0x466890,_0x43eedf._0x1fc03a)]());}if(!_0x1d928e||_0x1d928e===_0x517150(-_0x43eedf._0x17a399,-0x53,0x96,0xa7))return;try{const _0x2ee76d=JSON[_0x517150(-0xc1,0x172,-_0x43eedf._0x2da7ac,0x11a)](_0x1d928e);switch(_0x2ee76d[_0x27071d(_0x43eedf._0x50b5cb,0x381,_0x43eedf._0x4e1562,_0x43eedf._0x10eee6)]){case _0x27071d(_0x43eedf._0x49cd07,_0x43eedf._0x51bf88,_0x43eedf._0x1c113f,0x2b2):_0x2ee76d[_0x27071d(_0x43eedf._0x5ca1b3,_0x43eedf._0x39b675,0x39b,_0x43eedf._0x573b81)]?.[_0x517150(_0x43eedf._0x3c50bc,0x158,_0x43eedf._0x4f841e,_0x43eedf._0x4d6501)]&&(_0x4cb3e8=this[_0x27071d(_0x43eedf._0x171e65,_0x43eedf._0x1403ff,_0x43eedf._0x1194f2,0x301)](_0x2ee76d['message'][_0x27071d(0x407,0x3d0,_0x43eedf._0xd7defa,_0x43eedf._0x2563c0)]));break;case _0x517150(-0x10c,-0x190,-_0x43eedf._0x4b36fa,-_0x43eedf._0x40ab8a):if(_0x2ee76d['content_block']['type']===_0x27071d(_0x43eedf._0x492500,0x501,_0x43eedf._0x746e5f,0x49b)){const _0x593fa4={'id':_0x2ee76d['content_block']['id'],'type':_0x27071d(_0x43eedf._0x320197,0x1d4,_0x43eedf._0x15ce40,_0x43eedf._0x9ec0b1),'function':{'name':_0x2ee76d[_0x27071d(0x2c,0x1a3,0x20d,0x192)][_0x517150(0x1df,-_0x43eedf._0x47f04d,0xd2,-0x126)],'arguments':''}};_0x34400[_0x517150(_0x43eedf._0xe30a20,_0x43eedf._0x4dc10e,_0x43eedf._0x57fbfe,_0x43eedf._0x132d7c)](_0x593fa4),_0x4837af[_0x517150(-_0x43eedf._0x4051dc,_0x43eedf._0x469f70,0x210,0x32)](_0x2ee76d[_0x517150(-_0x43eedf._0x4fb057,-_0x43eedf._0x2a8b79,-0x2d6,-0xe9)],''),_0x9a5886[_0x517150(-_0x43eedf._0x2dc134,-_0x43eedf._0x3693d5,-0x182,0x1c1)]?.(_0x593fa4);}break;case _0x27071d(_0x43eedf._0x16088c,0x421,0x30a,0x244):if(_0x2ee76d[_0x517150(_0x43eedf._0x55cb81,0x1d8,0x408,0x90)][_0x27071d(_0x43eedf._0x3be5d9,0x18f,_0x43eedf._0x12b8af,0x35b)]===_0x27071d(0x134,0x1ff,0x37c,0x289))_0x5c69d7+=_0x2ee76d[_0x27071d(0x3b3,_0x43eedf._0x5d885f,_0x43eedf._0x283d45,_0x43eedf._0x359ccd)]['text'],_0x9a5886['onChunk']?.(_0x2ee76d[_0x517150(0x18e,0x1d8,0x189,_0x43eedf._0x146787)]['text']);else{if(_0x2ee76d[_0x27071d(_0x43eedf._0x109448,0x66e,0x768,_0x43eedf._0x4fee2c)][_0x27071d(_0x43eedf._0x3f0759,_0x43eedf._0x25ad77,0x255,_0x43eedf._0x25de34)]===_0x27071d(_0x43eedf._0x4084fe,0x626,_0x43eedf._0x4a855e,_0x43eedf._0x52d3aa))_0x2833f8+=_0x2ee76d[_0x517150(_0x43eedf._0x506a4f,_0x43eedf._0x3e0921,0x1c4,_0x43eedf._0x29ae5b)][_0x27071d(_0x43eedf._0x59606a,0x65b,0x28b,_0x43eedf._0x40cfff)],_0x9a5886[_0x517150(-0x7c,-_0x43eedf._0x426c40,_0x43eedf._0x14d538,0x9d)]?.(_0x2ee76d[_0x517150(_0x43eedf._0x3c1861,0x1d8,_0x43eedf._0xcce12,0x391)][_0x517150(0x14a,0xd7,0x3e,0x1a1)]);else{if(_0x2ee76d[_0x517150(_0x43eedf._0x1577d7,_0x43eedf._0x3e0921,_0x43eedf._0x317a3,_0x43eedf._0x12247d)][_0x27071d(0x1b7,_0x43eedf._0xe2e91,_0x43eedf._0x33fae6,0x35b)]==='input_json_delta'){const _0x153cc1=_0x4837af[_0x517150(-_0x43eedf._0x4437d9,-0x1e5,-_0x43eedf._0x435f3c,-0x2d6)](_0x2ee76d['index'])??'',_0x4df951=_0x153cc1+_0x2ee76d[_0x27071d(_0x43eedf._0x23a90c,_0x43eedf._0x59981d,0x547,_0x43eedf._0x2d770c)][_0x517150(_0x43eedf._0x3feb61,0x51,-_0x43eedf._0x53a07c,-_0x43eedf._0x3a7fbe)];_0x4837af[_0x517150(0x5b,0xe2,-_0x43eedf._0x428800,-0x91)](_0x2ee76d['index'],_0x4df951);const _0x2e3f82=_0x34400[_0x27071d(_0x43eedf._0x44b2df,0x2b0,_0x43eedf._0x4148b8,_0x43eedf._0xb5d340)]-0x1;_0x2e3f82>=0x0&&_0x34400[_0x2e3f82]&&(_0x34400[_0x2e3f82][_0x27071d(0x2ec,_0x43eedf._0x33bdb4,_0x43eedf._0x594d70,0x195)][_0x517150(-0x18f,-_0x43eedf._0x599f0c,-_0x43eedf._0x3c6072,-_0x43eedf._0x3fa31a)]=_0x4df951,_0x9a5886[_0x517150(_0x43eedf._0x316512,-_0x43eedf._0x372ca1,-0xd6,-0x3)]?.(_0x34400[_0x2e3f82]));}}}break;case _0x517150(0x1aa,-0x54,-0x256,-_0x43eedf._0x3cf65c):_0x2ee76d[_0x27071d(0x536,_0x43eedf._0x1f747d,_0x43eedf._0x4afb67,_0x43eedf._0x58e972)][_0x517150(0x31a,0x1e2,0x46,_0x43eedf._0x12b506)]&&(_0x244f55=_0x2ee76d[_0x517150(0x68,_0x43eedf._0x3e0921,0x1c4,_0x43eedf._0x359471)][_0x27071d(_0x43eedf._0x1b56b6,_0x43eedf._0x18b83a,0x675,_0x43eedf._0x2ffbf9)]);if(_0x2ee76d['usage']){const _0x9c6ae0=_0x2ee76d['usage'];_0x4cb3e8&&(_0x4cb3e8['completion_tokens']=_0x9c6ae0['output_tokens']??_0x4cb3e8['completion_tokens'],_0x4cb3e8[_0x517150(-_0x43eedf._0x10f9c9,-0x154,-0xa1,-_0x43eedf._0x1576e6)]=(_0x4cb3e8['prompt_tokens']??0x0)+(_0x4cb3e8[_0x27071d(0x437,0x5b3,_0x43eedf._0x5be454,0x42c)]??0x0));}break;case _0x27071d(0x26e,_0x43eedf._0x4c2e9c,0x3f8,_0x43eedf._0x1a7fdd):_0x9a5886[_0x517150(_0x43eedf._0x5a8fdf,-_0x43eedf._0x258952,-_0x43eedf._0x407298,-0x2fe)]?.(_0x244f55,_0x4cb3e8);break;case _0x517150(_0x43eedf._0x1330a6,_0x43eedf._0x3ccaf1,-0x92,0x8d):throw new LLMError(_0x2ee76d['error'][_0x517150(-0x33a,-_0x43eedf._0x467b2a,-0xf9,-_0x43eedf._0x92533d)],void 0x0,![]);}}catch(_0x3fef3f){if(_0x3fef3f instanceof LLMError)throw _0x3fef3f;}};while(!![]){const {value:_0x494c49,done:_0x5ad7bf}=await _0x5eb108['read']();if(_0x5ad7bf)break;_0x3c9190+=_0x7eb18f[_0xe4fdb0(0x294,0x52,_0x586a85._0x5a7e37,_0x586a85._0x2db012)](_0x494c49,{'stream':!![]});const _0x5b8ae9=_0x3c9190[_0xe4fdb0(_0x586a85._0x3055a9,0x6ef,_0x586a85._0x58bd79,_0x586a85._0x181543)]('\x0a\x0a');_0x3c9190=_0x5b8ae9[_0x3c351b(-_0x586a85._0x424ee4,_0x586a85._0x1a21ed,0x2db,0xa9)]()??'';for(const _0x12b13b of _0x5b8ae9){if(_0x12b13b[_0x3c351b(-0x71,-0x15d,-_0x586a85._0x11e72d,-0xb1)]())_0x5ea32f(_0x12b13b);}}if(_0x3c9190[_0x3c351b(-_0x586a85._0x48c72d,-_0x586a85._0x5f4a09,-0x215,-_0x586a85._0x1e5dce)]())_0x5ea32f(_0x3c9190);function _0x3c351b(_0x430f6f,_0x4043f5,_0x3dcd12,_0x382039){return _0x27e2df(_0x430f6f-_0x86e47f._0x4052ee,_0x4043f5- -_0x86e47f._0x18fff8,_0x3dcd12-_0x86e47f._0x1b4cd6,_0x430f6f);}return{'content':_0x5c69d7,..._0x2833f8&&{'reasoning':_0x2833f8},..._0x34400[_0x3c351b(_0x586a85._0x50ed3c,_0x586a85._0x2a10cc,_0x586a85._0x27896a,-0x75)]>0x0&&{'tool_calls':_0x34400},..._0x4cb3e8&&{'usage':_0x4cb3e8}};}async[_0x27e2df(0x1f3,0xca,0x91,0x2e4)](_0x1a7205){const _0x1e038d={_0x585bcb:0x39a,_0x284fc7:0x3a7,_0x506df4:0xeb,_0x519d78:0x130,_0x5b4b51:0x18f,_0xae81bd:0x80,_0xccbaeb:0x2a2,_0x2670ea:0x196,_0x35a0ef:0xab,_0x5d0f29:0xef,_0x51f4cc:0x537,_0x1c9d8f:0x494,_0x363d36:0x76c,_0x30311e:0x2f7,_0x49065f:0x40,_0x2cacf7:0x1b,_0x26c160:0x53b,_0x423dbe:0x483,_0x3be744:0x326,_0x9bd3a1:0x58,_0x29ffbc:0xb3,_0x4307f7:0x218,_0x8a2631:0x88,_0x2e3133:0x54,_0x457268:0x1a7,_0x39db67:0x1e,_0xdf834:0x3a,_0x6e4fa4:0x1ca,_0x321e95:0x17a,_0x1bd7c4:0xed,_0x1659ee:0x24e,_0x194c02:0x135,_0x49ce97:0x4e1,_0x45de91:0x364,_0x5d5bc6:0x50f,_0x34ad46:0x629,_0x28a617:0x3f0,_0xa60eec:0x1d4,_0x1280a0:0x17b,_0xf93695:0x18d,_0x4d14f4:0x230,_0x35b32f:0x20a,_0x1dfb43:0xd2,_0x500bfb:0x1ea,_0x25fc7a:0x25a,_0x75ab0d:0x3c8,_0x219167:0x3dd,_0xb546a:0x17a,_0x3ab71c:0x2e,_0x3d05eb:0x124,_0x12af7e:0x12d,_0x10e08a:0x52e,_0x1a1e9c:0x697,_0x4dc8b2:0x33a,_0x446a83:0x20d},_0x204c2e={_0x1f9487:0xad,_0x1e2018:0x1ec,_0xad685a:0x73},_0x345f6b={_0x39b813:0x28e,_0x268980:0xe1},_0x46fbdd={_0xa54129:0x807,_0x5e27ad:0x92d};if(this['modelConfig']===![])throw new Error('Provider\x20does\x20not\x20support\x20getModels');if(Array[_0x21e5b5(_0x1e038d._0x585bcb,0x53b,0x2c4,_0x1e038d._0x284fc7)](this['modelConfig'])){const _0x48c33a=this[_0x39ad35(_0x1e038d._0x506df4,_0x1e038d._0x519d78,_0x1e038d._0x5b4b51,0x136)][_0x39ad35(-0x60,-0x248,-_0x1e038d._0xae81bd,-_0x1e038d._0xccbaeb)](_0x2e689e=>{const _0x4527aa={_0x21470e:0x1},_0x542fb0={_0x3b9f79:0x737,_0xe14822:0xa5,_0x6d61e5:0x180},_0x1d7e34=typeof _0x2e689e===_0xe411ab(0x721,0x93c,0x586,0x7db)?{'id':_0x2e689e}:_0x2e689e;function _0x4f4fa8(_0x168ba6,_0x1c9ec3,_0x771cc5,_0x330696){return _0x39ad35(_0x168ba6-_0x542fb0._0x3b9f79,_0x1c9ec3-_0x542fb0._0xe14822,_0x1c9ec3,_0x330696-_0x542fb0._0x6d61e5);}function _0xe411ab(_0x25f13b,_0x9adafe,_0x50bede,_0x4ca755){return _0x39ad35(_0x25f13b-0x63a,_0x9adafe-0x2e,_0x4ca755,_0x4ca755-_0x4527aa._0x21470e);}return normalizeModelInfo(this[_0xe411ab(_0x46fbdd._0xa54129,0xa32,_0x46fbdd._0x5e27ad,0x877)],_0x1d7e34);});return deduplicateModels(_0x48c33a);}if(typeof this[_0x39ad35(0xeb,_0x1e038d._0x2670ea,_0x1e038d._0x35a0ef,-_0x1e038d._0x5d0f29)]===_0x21e5b5(_0x1e038d._0x51f4cc,_0x1e038d._0x1c9d8f,0x708,_0x1e038d._0x363d36)){const _0x4f956c=await this[_0x21e5b5(0x5cb,0x498,0x57e,0x6ee)]()[_0x39ad35(-0x220,-_0x1e038d._0x30311e,-_0x1e038d._0x49065f,-_0x1e038d._0x2cacf7)](this[_0x21e5b5(_0x1e038d._0x26c160,_0x1e038d._0x423dbe,_0x1e038d._0x3be744,0x722)],void 0x0,_0x1a7205);if(!_0x4f956c['ok']){const _0x2bc42f=await _0x4f956c[_0x39ad35(_0x1e038d._0x9bd3a1,-_0x1e038d._0x29ffbc,_0x1e038d._0x4307f7,0xbf)]();this[_0x39ad35(-_0x1e038d._0x8a2631,-_0x1e038d._0x2e3133,-0x2ba,-_0x1e038d._0x457268)](_0x4f956c[_0x39ad35(_0x1e038d._0x39db67,_0x1e038d._0xdf834,-_0x1e038d._0x6e4fa4,0x256)],_0x2bc42f||_0x39ad35(_0x1e038d._0x321e95,0x260,_0x1e038d._0x1bd7c4,_0x1e038d._0x1659ee));}const _0x2edc4e=await _0x4f956c[_0x39ad35(-0x2e,-0x183,-0x54,-_0x1e038d._0x194c02)](),_0x47b3eb=_0x2edc4e[_0x21e5b5(_0x1e038d._0x49ce97,_0x1e038d._0x45de91,_0x1e038d._0x5d5bc6,_0x1e038d._0x34ad46)][_0x21e5b5(_0x1e038d._0x28a617,0x566,_0x1e038d._0xa60eec,0x4ea)](_0x222cc6=>normalizeModelInfo(this[_0x21e5b5(0x61d,0x712,0x4ce,0x7e3)],_0x222cc6));return deduplicateModels(_0x47b3eb);}const _0x152526=await this[_0x39ad35(_0x1e038d._0x1280a0,-0x60,_0x1e038d._0xf93695,0x10e)]()[_0x21e5b5(_0x1e038d._0x4d14f4,0x12c,0x34c,_0x1e038d._0x35b32f)](_0x39ad35(-_0x1e038d._0x1dfb43,-0xdd,-_0x1e038d._0x500bfb,0x19),void 0x0,_0x1a7205);function _0x39ad35(_0x1d7fa2,_0x46596a,_0x180254,_0x416a3e){return _0x27e2df(_0x1d7fa2-0x153,_0x1d7fa2- -_0x345f6b._0x39b813,_0x180254-_0x345f6b._0x268980,_0x180254);}if(!_0x152526['ok']){const _0xc3e651=await _0x152526[_0x39ad35(0x58,_0x1e038d._0x25fc7a,0x1b1,-0x179)]();this[_0x21e5b5(_0x1e038d._0x75ab0d,_0x1e038d._0x219167,0x520,0x581)](_0x152526['status'],_0xc3e651||_0x39ad35(_0x1e038d._0xb546a,0xb1,0x16f,0x1ce));}function _0x21e5b5(_0x3dcbbf,_0x2cd672,_0x22d27f,_0x50fc57){return _0xadee61(_0x3dcbbf-_0x204c2e._0x1f9487,_0x50fc57,_0x22d27f-_0x204c2e._0x1e2018,_0x50fc57-_0x204c2e._0xad685a);}const _0x3e0f61=await _0x152526[_0x39ad35(-_0x1e038d._0x3ab71c,-0x1ef,-_0x1e038d._0x3d05eb,-_0x1e038d._0x12af7e)](),_0x475421=_0x3e0f61[_0x21e5b5(_0x1e038d._0x49ce97,_0x1e038d._0x10e08a,_0x1e038d._0x1a1e9c,_0x1e038d._0x4dc8b2)][_0x39ad35(-0x60,-0x15b,-_0x1e038d._0x446a83,-0x100)](_0x2ea1f7=>normalizeModelInfo(this[_0x21e5b5(0x61d,0x475,0x438,0x493)],_0x2ea1f7));return deduplicateModels(_0x475421);}},llm_provider_config_default={'providers':[{'key':_0x27e2df(0x1ed,0x3e,-0x14b,0xc7),'type':_0xadee61(0x572,0x405,0x589,0x787),'baseUrl':'https://api.deepinfra.com/v1/openai','defaultModels':[_0x27e2df(0x32,-0x12,-0x138,-0x19e),_0xadee61(0x4c4,0x498,0x553,0x350)],'features':{'promptCaching':![],'getModels':!![]}},{'key':_0xadee61(0x4c6,0x3b6,0x45e,0x331),'type':_0xadee61(0x572,0x540,0x77d,0x788),'baseUrl':_0xadee61(0x27f,0x303,0x83,0x1de),'defaultModels':[_0xadee61(0x415,0x5c6,0x2c7,0x5ae),_0xadee61(0x272,0x3fb,0x1ef,0x32)],'features':{'promptCaching':!![],'getModels':!![],'includeUsage':!![]}},{'key':_0xadee61(0x1a9,0x26a,0x18a,0x108),'type':_0xadee61(0x572,0x6ae,0x33e,0x3f3),'baseUrl':_0xadee61(0x1fc,0x12e,0x1b9,0x63),'defaultModels':[_0xadee61(0x3b3,0x18b,0x54a,0x454),'glm-4.6',_0xadee61(0x3b6,0x4ec,0x524,0x1a8)],'features':{'promptCaching':![],'getModels':![]}},{'key':_0xadee61(0x226,0xf9,0x9,0x3ab),'type':_0xadee61(0x20c,0xdb,0x404,0x32d),'baseUrl':_0xadee61(0x3cd,0x3bd,0x302,0x3cb),'defaultModels':[_0xadee61(0x3b3,0x516,0x51e,0x58d),_0x27e2df(0x304,0x3f4,0x373,0x478),'glm-4.5'],'features':{'promptCaching':![],'getModels':![]}},{'key':'moonshot','type':_0xadee61(0x572,0x79e,0x68c,0x620),'baseUrl':_0x27e2df(0x1f0,0x106,-0x119,0xf7),'defaultModels':['kimi-latest','kimi-k2-thinking'],'features':{'promptCaching':![],'getModels':!![]}},{'key':_0xadee61(0x4f9,0x357,0x6cd,0x5f3),'label':_0xadee61(0x4e1,0x6d1,0x538,0x4e4),'type':_0x27e2df(0x5fb,0x45d,0x30e,0x29e),'baseUrl':_0x27e2df(-0x11b,0x75,0x8c,-0x10d),'features':{'promptCaching':!![],'getModels':!![],'includeUsage':!![]},'customHeaders':{'User-Agent':_0xadee61(0x40a,0x4ec,0x2d4,0x459)}},{'key':_0xadee61(0x3a0,0x282,0x582,0x48b),'label':'MiniMax\x20Coding\x20Plan','type':_0x27e2df(0x7d,0xf7,0x24d,0x4a),'baseUrl':_0xadee61(0x443,0x2d0,0x387,0x4d5),'models':[{'id':_0xadee61(0x414,0x632,0x21a,0x3d2),'name':_0x27e2df(0x135,0x8e,0x1ff,0x146),'limits':{'contextWindow':0x30d40,'maxOutput':0x3e80}}],'defaultModels':['MiniMax-M2.1'],'features':{'promptCaching':![],'getModels':!![],'includeUsage':![]}}]},providers=llm_provider_config_default['providers'],GenericLLM=class extends BaseLLM{[_0x27e2df(0x2d3,0xc1,0x2e0,0x258)];[_0xadee61(0x396,0x46f,0x579,0x309)];[_0x27e2df(0x51c,0x379,0x32b,0x1b9)];[_0x27e2df(0x556,0x45b,0x324,0x37a)];[_0x27e2df(-0x3a,0x13b,-0x66,0x267)];constructor(_0x36754d,_0x3f0a1e,_0x442995={},_0x4a6028){const _0x336cfd={_0x4aed4e:0x3e3,_0xfe8a22:0x675,_0x265055:0x63e,_0x2340e9:0x85,_0x263cef:0x449,_0x2e6392:0x513,_0x4c1afe:0x7a6,_0x4e6a90:0x948,_0x3047b8:0x204,_0x588d14:0x4eb,_0x459186:0x447},_0x459625={_0x1e9e7a:0x5a},_0x4cb729={_0x13e278:0x2b0,_0x20e65b:0x1c,_0x3ab8ff:0x3e},{enablePromptCaching:enablePromptCaching=![],includeUsage:includeUsage=![],providerName:providerName=_0x2d4937(_0x336cfd._0x4aed4e,_0x336cfd._0xfe8a22,_0x336cfd._0x265055,0x55b),retry:_0x55cf68,..._0x42d80c}=_0x442995;function _0x2d4c12(_0x2e4ecc,_0x17c085,_0x3f0f59,_0x2f6835){return _0xadee61(_0x3f0f59- -_0x4cb729._0x13e278,_0x2e4ecc,_0x3f0f59-_0x4cb729._0x20e65b,_0x2f6835-_0x4cb729._0x3ab8ff);}function _0x2d4937(_0x395520,_0x488441,_0x4da851,_0x29d99d){return _0xadee61(_0x29d99d-0x1f7,_0x4da851,_0x4da851-0xe3,_0x29d99d-_0x459625._0x1e9e7a);}super(_0x442995[_0x2d4c12(_0x336cfd._0x2340e9,-0xf5,0x6d,0x1b)]||_0x36754d,{'enablePromptCaching':enablePromptCaching,'retry':_0x55cf68}),this[_0x2d4937(_0x336cfd._0x263cef,_0x336cfd._0x2e6392,0x798,0x58d)]=includeUsage,this['modelConfig']=_0x3f0a1e,this[_0x2d4937(_0x336cfd._0x4c1afe,_0x336cfd._0x4e6a90,0x76f,0x767)]=providerName,this[_0x2d4c12(-0xa0,-_0x336cfd._0x3047b8,-0xda,0x81)]=_0x42d80c,this[_0x2d4937(0x43e,0x5a5,_0x336cfd._0x588d14,_0x336cfd._0x459186)]=_0x4a6028;}[_0x27e2df(0x3a2,0x2a7,0xf2,0xc3)](){const _0x2cb7a2={_0x42ecc0:0x35b,_0x3fc1c4:0x69c,_0x19bbf7:0x6a5,_0x5a473a:0x1d8,_0x4a68bc:0x288,_0x1522f7:0x51a,_0x16ada8:0x61e,_0x5929e8:0x665,_0x8dbdc5:0x599,_0x3cda5a:0x2df,_0x2aeebe:0x4d7,_0x400879:0x678,_0x27f322:0x452,_0x20c102:0xf6,_0x2c3640:0x210,_0x5d7b55:0x36,_0x5629b5:0x58b,_0x52560b:0x3dc,_0x2ba54f:0x4b5,_0x5cf7c4:0x5cf},_0x39701e={_0x5686d6:0x31d,_0xbfb2b5:0x52},_0x487d83={_0x4e588d:0x1af};function _0x3aa4b7(_0x168406,_0x5c0a80,_0x1b24d7,_0x210205){return _0x27e2df(_0x168406-0x61,_0x210205-0x391,_0x1b24d7-_0x487d83._0x4e588d,_0x1b24d7);}const _0xcc1472=new FetchTransport({'persistFile':this['opts'][_0x2cf782(0x1d0,0x3de,_0x2cb7a2._0x42ecc0,0x1cc)],'logLevel':_0x3aa4b7(0x5ba,_0x2cb7a2._0x3fc1c4,_0x2cb7a2._0x19bbf7,0x4c2),'enableConsoleLog':![],'maxFileSize':0x5*0x400*0x400,'captureResponseBody':!![]}),_0x4fd7ef=createTransport(_0xcc1472,this[_0x2cf782(-0x130,0x103,-_0x2cb7a2._0x5a473a,0x0)],this[_0x3aa4b7(0x31c,_0x2cb7a2._0x4a68bc,_0x2cb7a2._0x1522f7,0x452)][_0x3aa4b7(_0x2cb7a2._0x16ada8,0x652,0x478,0x47f)],this['opts'][_0x3aa4b7(0x668,_0x2cb7a2._0x5929e8,0x360,_0x2cb7a2._0x8dbdc5)],this[_0x3aa4b7(_0x2cb7a2._0x3cda5a,_0x2cb7a2._0x2aeebe,_0x2cb7a2._0x400879,_0x2cb7a2._0x27f322)]['version'],this['customHeaders']);function _0x2cf782(_0x5d77fd,_0x5af935,_0x4c67bf,_0x43b10d){return _0xadee61(_0x43b10d- -_0x39701e._0x5686d6,_0x5d77fd,_0x4c67bf-0x1ea,_0x43b10d-_0x39701e._0xbfb2b5);}const _0x50fd16=this[_0x2cf782(-0x1ef,_0x2cb7a2._0x20c102,_0x2cb7a2._0x2c3640,_0x2cb7a2._0x5d7b55)]?new RetryTransport(_0x4fd7ef,this[_0x3aa4b7(_0x2cb7a2._0x5629b5,_0x2cb7a2._0x52560b,_0x2cb7a2._0x2ba54f,_0x2cb7a2._0x5cf7c4)]):_0x4fd7ef;return new LLMErrorTransport(_0x50fd16);}async['getModels'](_0x34580a){const _0x1afd89={_0x3a5afc:0x303,_0x2bb4a3:0x38d,_0x40427c:0x387,_0x38a614:0x3c0,_0x18cd70:0x1dc,_0x27e487:0x1c6,_0x4a6351:0x286,_0x5b2195:0x632,_0x19abd0:0x456,_0x5b437c:0x57c,_0xd91eaa:0x680,_0x3f61bb:0x47e,_0x1915a8:0x46c,_0x4119eb:0x1f,_0x5d82bd:0x5c2,_0x23d17b:0x513,_0x3432b3:0x6ef,_0x45260a:0x5b0,_0x136245:0x44c},_0x2a17c6={_0x5a6195:0x9a,_0x278a74:0x14f},_0xd598ff={_0x2d37f2:0x788,_0x2ed114:0x6d8,_0x41f667:0x84c,_0x4f0d95:0x82e},_0x406414={_0x4e743a:0x32};if(this[_0x42d69e(0x38d,0x6ef,0x597,0x79b)]===![])throw new Error(_0x42d69e(0x43a,_0x1afd89._0x3a5afc,_0x1afd89._0x2bb4a3,0x28a));function _0x42d69e(_0x1c990f,_0xc2d2c8,_0x5f8b38,_0x3ad530){return _0xadee61(_0x5f8b38-0x109,_0x1c990f,_0x5f8b38-_0x406414._0x4e743a,_0x3ad530-0x1de);}if(Array[_0x46766d(_0x1afd89._0x40427c,_0x1afd89._0x38a614,0x2a7,_0x1afd89._0x18cd70)](this['modelConfig'])){const _0x18b4be=this[_0x46766d(0x528,0x564,0x5ec,0x35c)][_0x46766d(0x3dd,0x2d3,_0x1afd89._0x27e487,_0x1afd89._0x4a6351)](_0x56e9b9=>{const _0x29ca83={_0x47717c:0x8e,_0x439bc6:0x17f};function _0x1c34e8(_0x1dd452,_0x463cd9,_0x48575a,_0x214339){return _0x46766d(_0x214339-0x379,_0x463cd9-_0x29ca83._0x47717c,_0x1dd452,_0x214339-_0x29ca83._0x439bc6);}const _0x1e1191=typeof _0x56e9b9===_0x4d95ce(0x78c,0x7ef,_0xd598ff._0x2d37f2,0x8ff)?{'id':_0x56e9b9}:_0x56e9b9;function _0x4d95ce(_0x276f84,_0x4e270b,_0x514385,_0x95f1e0){return _0x46766d(_0x276f84-0x268,_0x4e270b-0x1ce,_0x95f1e0,_0x95f1e0-0x16c);}return normalizeModelInfo(this[_0x4d95ce(0x872,_0xd598ff._0x2ed114,_0xd598ff._0x41f667,_0xd598ff._0x4f0d95)],_0x1e1191);});return deduplicateModels(_0x18b4be);}if(typeof this['modelConfig']===_0x46766d(0x524,0x5f1,_0x1afd89._0x5b2195,0x53b)){const _0x55ff56=this[_0x46766d(_0x1afd89._0x19abd0,_0x1afd89._0x5b437c,0x50a,0x667)](),_0x405f19=await _0x55ff56['get'](this['modelConfig'],void 0x0,_0x34580a),_0x58d15e=await _0x405f19[_0x42d69e(0x59c,_0x1afd89._0xd91eaa,_0x1afd89._0x3f61bb,_0x1afd89._0x1915a8)](),_0x18ee88=_0x58d15e['data']['map'](_0x5f4935=>normalizeModelInfo(this[_0x42d69e(0x750,0x58b,0x679,0x49c)],_0x5f4935));return deduplicateModels(_0x18ee88);}const _0x489804=this[_0x46766d(_0x1afd89._0x19abd0,0x2cc,0x485,0x38b)](),_0x58a175=await _0x489804[_0x46766d(0x21d,-_0x1afd89._0x4119eb,0x3e9,0x1db)]('/models',void 0x0,_0x34580a);function _0x46766d(_0x11ad04,_0x181e8f,_0x74a72b,_0x26bd82){return _0xadee61(_0x11ad04-_0x2a17c6._0x5a6195,_0x74a72b,_0x74a72b-0xe4,_0x26bd82-_0x2a17c6._0x278a74);}const _0x53f86a=await _0x58a175['json'](),_0x5f0378=_0x53f86a[_0x42d69e(_0x1afd89._0x5d82bd,_0x1afd89._0x23d17b,0x53d,_0x1afd89._0x3432b3)][_0x42d69e(0x414,_0x1afd89._0x45260a,_0x1afd89._0x136245,0x3a1)](_0x47013d=>normalizeModelInfo(this[_0x46766d(0x60a,0x73b,0x76a,0x72f)],_0x47013d));return deduplicateModels(_0x5f0378);}async['generateCompletion'](_0x2cda7f,_0xc9b80d){const _0x31fd80={_0x141073:0x2f6,_0x3e4d15:0x2c8,_0x3f3fa7:0x54a,_0x52a292:0x559,_0x657ea3:0x311,_0x637247:0x4f5,_0x32b901:0x641},_0x2423fe={_0x1a2867:0x2d},_0x4e753f={_0x5207be:0x107};let _0x2a5945=_0x2cda7f;this[_0x534d07(0x388,_0x31fd80._0x141073,_0x31fd80._0x3e4d15,_0x31fd80._0x3f3fa7)]&&!_0x2a5945[_0xa52a25(_0x31fd80._0x52a292,0x493,0x648,_0x31fd80._0x657ea3)]&&(_0x2a5945={..._0x2a5945,'usage':{'include':!![]}});function _0x534d07(_0x5e8917,_0x3bfe99,_0x2c2cd9,_0x4abce8){return _0x27e2df(_0x5e8917-0x16d,_0x5e8917-_0x4e753f._0x5207be,_0x2c2cd9-0xe1,_0x3bfe99);}function _0xa52a25(_0x5e46f6,_0x13bb53,_0x3d0441,_0x3816b9){return _0xadee61(_0x13bb53- -_0x2423fe._0x1a2867,_0x3d0441,_0x3d0441-0xc9,_0x3816b9-0x108);}return super[_0xa52a25(0x5c7,_0x31fd80._0x637247,0x5a2,_0x31fd80._0x32b901)](_0x2a5945,_0xc9b80d);}async[_0x27e2df(0x286,0x3e1,0x4e9,0x41a)](_0x46aef0,_0x51f321,_0x55a433){const _0x4a46df={_0x6e8b06:0x551,_0xed3f6e:0x690},_0x37cb76={_0x4d5586:0x1d9},_0xe53377={_0x25eb3a:0xdf,_0x1307d8:0x1ca,_0x4a1811:0x12f};function _0x3de0ba(_0x37a32f,_0x5531e1,_0x3c65dc,_0x50a814){return _0x27e2df(_0x37a32f-_0xe53377._0x25eb3a,_0x50a814-_0xe53377._0x1307d8,_0x3c65dc-_0xe53377._0x4a1811,_0x3c65dc);}function _0x442253(_0x59f9eb,_0x41294c,_0x2be9b2,_0x2c539c){return _0xadee61(_0x2be9b2-0xc4,_0x2c539c,_0x2be9b2-0x152,_0x2c539c-_0x37cb76._0x4d5586);}let _0x201a89=_0x46aef0;return this['includeUsage']&&!_0x201a89[_0x3de0ba(0x4e5,_0x4a46df._0x6e8b06,0x702,0x575)]&&(_0x201a89={..._0x201a89,'usage':{'include':!![]}}),super[_0x442253(0x3f8,0x56f,0x5ba,_0x4a46df._0xed3f6e)](_0x201a89,_0x51f321,_0x55a433);}};function normalizeModelConfig(_0x212e34){const _0x3369bf={_0x5de346:0xa4c,_0x224945:0x80b,_0x4122de:0x5d1,_0x1cf69d:0x981,_0x323294:0x80b,_0x294b94:0x9e3,_0x1ad6f8:0x671,_0x5482fd:0x791,_0x1d304b:0x807,_0x3e342c:0x7b8,_0x3a708e:0x757},_0x514fb4={_0x153713:0x185,_0x1bdd6b:0x3f1,_0x5572b0:0x15b},_0x437822={_0xe559eb:0x55};function _0x8b3926(_0x2b63e3,_0x20e8e3,_0x5c256c,_0x32de70){return _0xadee61(_0x5c256c-0x376,_0x2b63e3,_0x5c256c-_0x437822._0xe559eb,_0x32de70-0x83);}if(_0x212e34[_0x3536e6(0x938,_0x3369bf._0x5de346,_0x3369bf._0x224945,_0x3369bf._0x4122de)]!==void 0x0)return _0x212e34[_0x3536e6(_0x3369bf._0x1cf69d,0x5e2,_0x3369bf._0x323294,_0x3369bf._0x294b94)];function _0x3536e6(_0x14627a,_0x40aa34,_0x1bdd43,_0x229bf7){return _0x27e2df(_0x14627a-_0x514fb4._0x153713,_0x1bdd43-_0x514fb4._0x1bdd6b,_0x1bdd43-_0x514fb4._0x5572b0,_0x40aa34);}return _0x212e34[_0x3536e6(_0x3369bf._0x1ad6f8,_0x3369bf._0x5482fd,_0x3369bf._0x1d304b,_0x3369bf._0x3e342c)][_0x8b3926(_0x3369bf._0x3a708e,0x4fe,0x555,0x446)]??![];}function mergeProviders(_0x20866c){const _0x270f68={_0x191db3:0x24,_0x6f32a1:0x14a,_0x1d568f:0x1ec,_0x541fe1:0x41,_0x5581b3:0x96,_0x2fe2cc:0x21a,_0xd4dd66:0x1d2,_0x3a4cb7:0x4a2,_0x81178c:0x20,_0x5cd93e:0x30a,_0x38a75a:0x23f,_0x1d4af5:0x283,_0x423efe:0x36d,_0x9523c4:0x11,_0x3cfd8f:0x199,_0x5ab4c0:0x40c,_0x379f9f:0x59,_0x20ccf0:0xaa,_0x4911d0:0x3e1,_0xf16030:0x23f,_0xbea975:0x231,_0x2b8914:0x350,_0x2aa579:0x8a,_0x3bfc60:0xe0,_0x50f0d5:0x2a9,_0x4b9476:0x37a,_0x14d2c7:0x1f3,_0x53cd9b:0x21a,_0x1fbaf4:0x26f,_0xc4d95e:0x35d},_0xf8e455={_0x149ab1:0x9a},_0x12ae91={_0x238fa8:0x47,_0x442c1f:0xa3},_0x3b5aaf=new Map();function _0x2099f0(_0x5850cb,_0x5cd086,_0x33a86d,_0x2c3771){return _0xadee61(_0x5850cb- -0x1f,_0x2c3771,_0x33a86d-_0x12ae91._0x238fa8,_0x2c3771-_0x12ae91._0x442c1f);}for(const _0x563bb1 of providers){_0x3b5aaf[_0x2e4d05(_0x270f68._0x191db3,0x3c8,0x1c8,0x3e0)](_0x563bb1[_0x2e4d05(-_0x270f68._0x6f32a1,-_0x270f68._0x1d568f,-_0x270f68._0x541fe1,_0x270f68._0x5581b3)][_0x2099f0(_0x270f68._0x2fe2cc,_0x270f68._0xd4dd66,-0x1c,0x329)](),_0x563bb1);}if(_0x20866c)for(const [_0x5ad8b6,_0x10af58]of Object[_0x2099f0(0x30a,_0x270f68._0x3a4cb7,0x3fd,0x294)](_0x20866c)){if(!_0x10af58[_0x2e4d05(_0x270f68._0x81178c,_0x270f68._0x5cd93e,_0x270f68._0x38a75a,_0x270f68._0x1d4af5)])continue;const _0x42eb22=_0x3b5aaf[_0x2099f0(0x164,0x127,_0x270f68._0x423efe,_0x270f68._0x9523c4)](_0x5ad8b6[_0x2099f0(0x21a,0xe2,_0x270f68._0x3cfd8f,_0x270f68._0x5ab4c0)]()),_0x67cb6e={'key':_0x5ad8b6,'type':_0x10af58[_0x2e4d05(-0x3f,-_0x270f68._0x379f9f,_0x270f68._0x20ccf0,-0xd5)]??'openai-compat','baseUrl':_0x10af58[_0x2e4d05(0x329,_0x270f68._0x4911d0,_0x270f68._0xf16030,0x30)],'models':_0x10af58['models']??![],'customHeaders':_0x10af58[_0x2099f0(_0x270f68._0xbea975,0x19f,0x447,_0x270f68._0x2b8914)],'features':_0x42eb22?.[_0x2e4d05(_0x270f68._0x2aa579,_0x270f68._0x3bfc60,_0x270f68._0x50f0d5,0x113)]??{'promptCaching':![],'getModels':_0x10af58[_0x2099f0(0x510,0x336,0x706,0x39b)]!==![],'includeUsage':![]}};_0x3b5aaf[_0x2099f0(0x42b,_0x270f68._0x4b9476,0x443,_0x270f68._0x14d2c7)](_0x5ad8b6[_0x2099f0(_0x270f68._0x53cd9b,_0x270f68._0x1fbaf4,0x25d,0x26b)](),_0x67cb6e);}function _0x2e4d05(_0x185518,_0xe6c119,_0x2b5a9c,_0x51ee11){return _0xadee61(_0x2b5a9c- -0x282,_0x51ee11,_0x2b5a9c-_0xf8e455._0x149ab1,_0x51ee11-0x114);}return Array[_0x2099f0(0x298,0x4bf,_0x270f68._0xc4d95e,0x3f7)](_0x3b5aaf[_0x2e4d05(-0x287,0xeb,-0xb7,-0x17e)]());}function createLLM(_0x14d35a,_0x411f05={},_0x210b25){const _0x53c3a1={_0xb59626:0x4e5,_0x5373df:0x65f,_0x1b2db6:0x387,_0x31d980:0x17c,_0x52fd47:0x56b,_0x3a0065:0x5bd,_0x5f0e7a:0x69c,_0x49734d:0x4c1,_0xdd36c7:0x52f,_0x2b26cd:0x5cc,_0x5b084b:0x5ae,_0x3ed1af:0x522,_0x150874:0x651,_0x404e48:0x765,_0xc0cfe4:0x31e,_0x232732:0x1fa,_0x3527bb:0x6df,_0x1d1bb4:0x7e6,_0x53fcf0:0x444,_0x1bc861:0x82a,_0x42488e:0x850,_0x521165:0x8aa,_0x5022c9:0x9b7,_0x1c45ab:0x855,_0x13f575:0x8b1,_0x4acba7:0x362,_0x2a9ae8:0x264,_0x5af458:0x1b1,_0x33b360:0x182,_0x28ca50:0x333,_0x105335:0x592,_0x148c01:0x6a6,_0x4bbc39:0x7c5,_0x14d3ec:0x99e,_0x217619:0x4a8,_0x3823a6:0x2b1,_0x86cf6f:0x671,_0x39bbd0:0x63d,_0x3936c0:0x689,_0x155229:0x47f},_0x2b4b57={_0x3468b6:0x43a,_0x36bee6:0x1a3},_0x762676={_0x2539cb:0xcc};function _0x5a4aa3(_0x4f8d7f,_0x16cdd3,_0x41205e,_0x57117c){return _0xadee61(_0x4f8d7f-0x112,_0x16cdd3,_0x41205e-_0x762676._0x2539cb,_0x57117c-0xee);}const _0xebe324=mergeProviders(_0x210b25),_0x3f3133=_0xebe324[_0x1f5184(0x47f,_0x53c3a1._0xb59626,0x5ae,_0x53c3a1._0x5373df)](_0x41881a=>_0x41881a[_0x1f5184(0x32a,0x586,0x566,0x594)][_0x5a4aa3(0x34b,0x3a2,0x17e,0x384)]()===_0x14d35a[_0x1f5184(0x48b,0x47c,0x55e,0x79e)]());if(!_0x3f3133)throw new Error(_0x5a4aa3(_0x53c3a1._0x1b2db6,0x588,0x5b1,_0x53c3a1._0x31d980)+_0x14d35a+_0x5a4aa3(_0x53c3a1._0x52fd47,0x6c4,_0x53c3a1._0x3a0065,_0x53c3a1._0x5f0e7a)+_0xebe324[_0x1f5184(0x598,_0x53c3a1._0x49734d,0x668,0x777)](_0x3bed24=>_0x3bed24[_0x1f5184(0x52f,0x529,0x566,0x759)])[_0x5a4aa3(_0x53c3a1._0xdd36c7,_0x53c3a1._0x2b26cd,0x65a,0x3ef)](',\x20'));function _0x1f5184(_0x4fcd00,_0x4c22df,_0x13d368,_0x3939a5){return _0x27e2df(_0x4fcd00-0x7b,_0x13d368-_0x2b4b57._0x3468b6,_0x13d368-_0x2b4b57._0x36bee6,_0x4fcd00);}const _0x2e5c68=normalizeModelConfig(_0x3f3133);if(_0x3f3133[_0x1f5184(_0x53c3a1._0x5b084b,_0x53c3a1._0x3ed1af,_0x53c3a1._0x150874,_0x53c3a1._0x404e48)]===_0x5a4aa3(_0x53c3a1._0xc0cfe4,_0x53c3a1._0x232732,0x488,0x3bc))return new GenericAnthropicLLM(_0x3f3133[_0x1f5184(0x777,_0x53c3a1._0x3527bb,_0x53c3a1._0x1d1bb4,0x7bb)],{..._0x411f05,'providerName':_0x3f3133[_0x1f5184(0x35d,0x7a0,0x566,_0x53c3a1._0x53fcf0)],'enablePromptCaching':_0x411f05['enablePromptCaching']??_0x3f3133[_0x1f5184(0x950,_0x53c3a1._0x1bc861,_0x53c3a1._0x42488e,_0x53c3a1._0x521165)][_0x1f5184(_0x53c3a1._0x5022c9,0x80c,_0x53c3a1._0x1c45ab,_0x53c3a1._0x13f575)],'customHeaders':_0x3f3133[_0x5a4aa3(_0x53c3a1._0x4acba7,0x3ed,0x47c,_0x53c3a1._0x2a9ae8)],'modelConfig':_0x2e5c68});return new GenericLLM(_0x3f3133['baseUrl'],_0x2e5c68,{..._0x411f05,'providerName':_0x3f3133[_0x5a4aa3(0x353,_0x53c3a1._0x5af458,_0x53c3a1._0x33b360,0x238)],'enablePromptCaching':_0x411f05[_0x5a4aa3(0x4aa,_0x53c3a1._0x28ca50,_0x53c3a1._0x105335,_0x53c3a1._0x148c01)]??_0x3f3133['features'][_0x1f5184(0x754,_0x53c3a1._0x4bbc39,_0x53c3a1._0x1c45ab,_0x53c3a1._0x14d3ec)],'includeUsage':_0x411f05[_0x5a4aa3(_0x53c3a1._0x217619,0x5d8,_0x53c3a1._0x3823a6,_0x53c3a1._0x86cf6f)]??_0x3f3133[_0x5a4aa3(_0x53c3a1._0x39bbd0,0x422,0x5e7,0x82f)][_0x5a4aa3(0x4a8,0x567,_0x53c3a1._0x3936c0,0x29b)]},_0x3f3133[_0x5a4aa3(0x362,_0x53c3a1._0x155229,0x521,0x284)]);}function getAvailableProviders(_0x1a6426){const _0x37020a={_0x1d3d71:0x2d,_0x7d139d:0x1da};function _0x56af0e(_0x54a315,_0x4838fe,_0x30d2ad,_0x2f5455){return _0x27e2df(_0x54a315-0x101,_0x30d2ad-_0x37020a._0x1d3d71,_0x30d2ad-_0x37020a._0x7d139d,_0x2f5455);}const _0x90e1de=mergeProviders(_0x1a6426);return _0x90e1de['map'](_0x5a30a9=>_0x5a30a9[_0x56af0e(0x32a,-0x12,0x159,0x154)]);}function supportsGetModels(_0x1027bf,_0x44ae5e){const _0x381e16={_0x122293:0x2e0,_0x4ae7ba:0x12d,_0x3129d1:0x1b6},_0x495920={_0x6911d7:0x42},_0x1a598e={_0x1334dc:0x1c3},_0xaeb967=mergeProviders(_0x44ae5e);function _0x202b42(_0x2890be,_0x47c28f,_0x137ab8,_0x5f4a60){return _0xadee61(_0x2890be- -0x35a,_0x47c28f,_0x137ab8-_0x1a598e._0x1334dc,_0x5f4a60-0x186);}const _0x16ddcc=_0xaeb967[_0x33f5b5(_0x381e16._0x122293,_0x381e16._0x4ae7ba,0x2af,_0x381e16._0x3129d1)](_0x75a9e3=>_0x75a9e3['key'][_0x33f5b5(-0xc9,0xa8,0x2d3,0x166)]()===_0x1027bf[_0x33f5b5(0x112,-0x67,-0x1c,0x166)]());if(!_0x16ddcc)return![];const _0xc7b78c=normalizeModelConfig(_0x16ddcc);function _0x33f5b5(_0x48ef53,_0x951bf,_0xed868,_0xbcbf98){return _0x27e2df(_0x48ef53-0x4b,_0xbcbf98-_0x495920._0x6911d7,_0xed868-0x155,_0xed868);}return _0xc7b78c!==![];}function getProviderLabel(_0x4e4316,_0x5d066b){const _0x9f7453={_0x54e602:0x316,_0x200858:0x7c1},_0x5c5664={_0x464959:0x151,_0x3852dc:0xda},_0x309ac7=mergeProviders(_0x5d066b),_0x728b4d=_0x309ac7[_0x51fd67(_0x9f7453._0x54e602,0x2c9,0x1ad,0x34b)](_0x34005a=>_0x34005a[_0x51fd67(0x1b0,0x281,0x3ff,0xee)][_0x51fd67(0x1b0,0x279,0x220,0x1ec)]()===_0x4e4316[_0x4f751a(0x584,0x3b7,0x44c,0x59b)]());function _0x4f751a(_0x383a08,_0x1cca5e,_0x3302ad,_0x1ae21e){return _0x27e2df(_0x383a08-0x1e1,_0x383a08-0x460,_0x3302ad-0x1c3,_0x1cca5e);}function _0x51fd67(_0x23c2dd,_0xb8f1f6,_0x49ba86,_0x4c6daf){return _0xadee61(_0xb8f1f6-0x40,_0x49ba86,_0x49ba86-_0x5c5664._0x464959,_0x4c6daf-_0x5c5664._0x3852dc);}return _0x728b4d?.[_0x4f751a(_0x9f7453._0x200858,0x6ab,0x5e8,0x919)];}function getProviderAuthMethods(_0x431a0e,_0x3fe35d){const _0x51ba74={_0x53b726:0x156,_0x29ab21:0x60,_0x385324:0x2b0,_0x468e50:0x7ad,_0x409739:0x604,_0x20b82c:0x289,_0x58f3cf:0x33e},_0x31a2a9={_0x40b2d9:0x198},_0x117e17={_0x103969:0x2,_0x2cc77f:0x170,_0x1b75ff:0x8c};function _0x4df211(_0x4c7a65,_0x3c55c2,_0x3835f6,_0x5dabed){return _0xadee61(_0x5dabed- -_0x117e17._0x103969,_0x4c7a65,_0x3835f6-_0x117e17._0x2cc77f,_0x5dabed-_0x117e17._0x1b75ff);}const _0x425206=mergeProviders(_0x3fe35d),_0x3c6b1e=_0x425206[_0x4df211(_0x51ba74._0x53b726,_0x51ba74._0x29ab21,_0x51ba74._0x385324,0x287)](_0x5a8e34=>_0x5a8e34[_0x4df211(0x72,0x2ce,0xc6,0x23f)]['toLowerCase']()===_0x431a0e['toLowerCase']());function _0x1d86dc(_0x44463a,_0x4d6102,_0x27c5d8,_0x20defc){return _0xadee61(_0x20defc-_0x31a2a9._0x40b2d9,_0x4d6102,_0x27c5d8-0xa1,_0x20defc-0xbd);}return _0x3c6b1e?.[_0x1d86dc(0x71d,_0x51ba74._0x468e50,_0x51ba74._0x409739,0x5b2)]??[{'label':_0x4df211(_0x51ba74._0x20b82c,_0x51ba74._0x58f3cf,0x547,0x366),'value':'token'}];}function getProviderDefaultModels(_0x5e73fa,_0x269430){const _0x432b14={_0x551c47:0x19,_0x1d2b19:0x3eb,_0x166ea2:0x1d2},_0x16a925={_0x325c15:0x13b,_0x7a8702:0x27c};function _0x25dcdd(_0x64619f,_0x1621bb,_0x2b9bc1,_0xc74d77){return _0x27e2df(_0x64619f-_0x16a925._0x325c15,_0xc74d77- -_0x16a925._0x7a8702,_0x2b9bc1-0x1,_0x64619f);}function _0x3830a1(_0x3d1740,_0x5d0cea,_0x210f32,_0x5bc6fe){return _0xadee61(_0x210f32-0x417,_0x5d0cea,_0x210f32-0x4d,_0x5bc6fe-0x1ec);}const _0x5851a5=mergeProviders(_0x269430),_0x5da4ac=_0x5851a5['find'](_0x551887=>_0x551887['key'][_0x25dcdd(0x72,-0x2d7,-0x25b,-0x158)]()===_0x5e73fa[_0x3830a1(0x512,0x57b,0x650,0x660)]());return _0x5da4ac?.[_0x25dcdd(-0x3fc,_0x432b14._0x551c47,-_0x432b14._0x1d2b19,-_0x432b14._0x166ea2)]??[];}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(_0x3f5f58,_0x3a3bc9=0x7530){const _0x4fdbcb={_0x415146:0x50e,_0xe69079:0x202},_0x3d0ff1={_0x5dc846:0x162};this[_0x4d98db(_0x4fdbcb._0x415146,0x514,0x338,_0x4fdbcb._0xe69079)]=_0x3f5f58;function _0x4d98db(_0x3875d1,_0x2ebc83,_0x4283fa,_0x54b8be){return _0xadee61(_0x4283fa-_0x3d0ff1._0x5dc846,_0x3875d1,_0x4283fa-0xe,_0x54b8be-0xc7);}this['timeoutMs']=_0x3a3bc9;}[_0xadee61(0x3fe,0x1c5,0x1ec,0x408)]=null;[_0xadee61(0x1b7,0x91,0x390,0x1ae)]=null;[_0xadee61(0x155,0x49,0x73,0x33b)]=![];['tools']=[];async[_0x27e2df(0x191,0x2ed,0x2b2,0x1cf)](){const _0x4bda5d={_0x2250fa:0x4a0,_0x5663f1:0x35c,_0x141d3b:0x254,_0x289441:0x12b,_0x5adb21:0x7cf,_0xda61fc:0x605,_0x4683d7:0x439,_0x333e2f:0x529,_0x54d7d7:0x61d,_0xd91ecd:0x629,_0x90db7d:0x48f,_0x59d246:0x68c,_0x4c37f3:0x3dd,_0xdf7c21:0x4a7,_0x1019f3:0x409,_0x26c941:0x469,_0x27eab2:0x584,_0x145c23:0x288,_0x43aabe:0x3ba,_0x39dd38:0x48f,_0x2f4964:0x464,_0x1dad1b:0x35e,_0x24f1af:0x4ae,_0x425955:0x3ff,_0x2d3576:0x23e,_0x585a47:0x324,_0x4b6c97:0x235,_0x53d5f0:0x56b,_0x4f4625:0x764,_0x243d0a:0x2ca,_0x402d9a:0x66d,_0x385b27:0x626,_0x4d67a6:0x43d,_0xcc0a33:0x644,_0x4eb969:0x58c,_0x24e328:0x23b,_0x319379:0x3dd,_0x550d54:0x342,_0x40e57d:0x392,_0x5988ad:0x73d,_0x874d29:0x536,_0x18797c:0x18d,_0x1fb830:0x36d,_0x82f162:0x673,_0x366cc1:0x718,_0x2c1cb6:0x339,_0x6f4f45:0x730,_0x4569a9:0x73e,_0x266a3f:0x4ae,_0x4188c5:0x5bf,_0x1a23cf:0x2ee,_0x131e44:0x47b,_0x4889c4:0x59b,_0x278135:0x6ae,_0x312d4e:0x4df,_0x247fad:0x61d,_0x220588:0x2cb,_0x2a6313:0x3be,_0x24c5d8:0x4b0,_0x299a9d:0x51a,_0x4ad78a:0x357,_0x5294c9:0x2be,_0x148185:0x410,_0x15da57:0x2f5,_0x3cacaa:0x2d2,_0x5c4a8c:0x25c,_0x1c0e34:0x418,_0x80f0f:0x43e,_0x351d6a:0x639,_0x66a26f:0x5b5,_0x4802ce:0x663,_0x74983e:0x67b,_0x507ae8:0x6d6,_0x4bb366:0x842,_0x2c4689:0x8ac,_0x567fce:0x5d8,_0x56648e:0x6e3,_0xecd5e1:0x8a0,_0x5477be:0x6dc,_0x3244c8:0x437,_0xe25dfa:0x429,_0x47f5cb:0x4fe,_0x5541bf:0x4c1},_0xa29352={_0xebdd9d:0x5f},_0x548a27={_0x3dbbca:0x1c,_0xfaead2:0x112};if(this[_0x41f2b0(_0x4bda5d._0x2250fa,_0x4bda5d._0x5663f1,_0x4bda5d._0x141d3b,_0x4bda5d._0x289441)])return;if(this[_0x41f2b0(_0x4bda5d._0x5adb21,_0x4bda5d._0xda61fc,_0x4bda5d._0x4683d7,_0x4bda5d._0x333e2f)]||this[_0x4f16bf(_0x4bda5d._0x54d7d7,0x2b4,_0x4bda5d._0xd91ecd,_0x4bda5d._0x90db7d)])throw new Error(_0x41f2b0(0x4a9,_0x4bda5d._0x59d246,0x71a,0x622));if(this[_0x41f2b0(0x5f1,_0x4bda5d._0x4c37f3,0x244,_0x4bda5d._0xdf7c21)]['type']===_0x41f2b0(0x52a,_0x4bda5d._0x1019f3,0x47f,0x231)){const _0x3afa20=new URL(this['opts'][_0x4f16bf(_0x4bda5d._0x26c941,0x41d,_0x4bda5d._0x27eab2,0x59a)]);this[_0x4f16bf(0x614,_0x4bda5d._0x145c23,_0x4bda5d._0x43aabe,_0x4bda5d._0x39dd38)]=new StreamableHTTPClientTransport(_0x3afa20,{'requestInit':{'headers':this[_0x4f16bf(_0x4bda5d._0x2f4964,0x273,_0x4bda5d._0x1dad1b,_0x4bda5d._0x24f1af)][_0x4f16bf(0x3be,_0x4bda5d._0x425955,0x708,0x5e8)]??{}}});}else{const _0x47d267=this[_0x41f2b0(_0x4bda5d._0x2d3576,_0x4bda5d._0x4c37f3,_0x4bda5d._0x585a47,_0x4bda5d._0x4b6c97)][_0x4f16bf(_0x4bda5d._0x53d5f0,0x566,_0x4bda5d._0x4f4625,0x536)]&&typeof this[_0x4f16bf(_0x4bda5d._0x243d0a,_0x4bda5d._0x402d9a,0x375,_0x4bda5d._0x24f1af)]['stderr']===_0x4f16bf(_0x4bda5d._0x385b27,_0x4bda5d._0x4d67a6,_0x4bda5d._0xcc0a33,_0x4bda5d._0x4eb969)&&typeof this[_0x41f2b0(_0x4bda5d._0x24e328,_0x4bda5d._0x319379,_0x4bda5d._0x550d54,0x2c3)][_0x4f16bf(0x429,_0x4bda5d._0x40e57d,_0x4bda5d._0x5988ad,_0x4bda5d._0x874d29)][_0x41f2b0(0x368,0x36b,0x3c6,_0x4bda5d._0x18797c)]===_0x41f2b0(0x577,_0x4bda5d._0x1fb830,0x443,0x566),_0x4ef2b8=_0x47d267?'pipe':this['opts'][_0x41f2b0(0x3cb,0x465,0x2ab,_0x4bda5d._0x82f162)]??_0x4f16bf(_0x4bda5d._0x366cc1,0x6e2,0x5a9,0x54f);this[_0x4f16bf(0x4ab,0x5ce,_0x4bda5d._0x2c1cb6,0x48f)]=new StdioClientTransport({'command':this['opts'][_0x4f16bf(_0x4bda5d._0x6f4f45,_0x4bda5d._0x4569a9,0x72e,0x7d5)],'args':this[_0x4f16bf(0x27f,0x29a,0x623,_0x4bda5d._0x266a3f)][_0x41f2b0(_0x4bda5d._0x4188c5,0x70e,0x7dc,0x4eb)]??[],'env':this[_0x4f16bf(_0x4bda5d._0x1a23cf,_0x4bda5d._0x131e44,_0x4bda5d._0x4889c4,0x4ae)][_0x4f16bf(0x543,0x2c5,0x640,0x4bf)]??{},'stderr':_0x4ef2b8,'cwd':this[_0x4f16bf(0x308,0x350,0x558,0x4ae)][_0x4f16bf(_0x4bda5d._0x278135,0x5f6,_0x4bda5d._0x312d4e,_0x4bda5d._0x247fad)]});if(_0x47d267&&this[_0x41f2b0(_0x4bda5d._0x220588,_0x4bda5d._0x2a6313,0x54d,0x257)]instanceof StdioClientTransport){const _0xa97e21=this[_0x41f2b0(0x197,_0x4bda5d._0x2a6313,0x5a1,_0x4bda5d._0x24c5d8)][_0x4f16bf(_0x4bda5d._0x299a9d,0x336,_0x4bda5d._0x4ad78a,0x536)],_0x5e19c5=this[_0x4f16bf(_0x4bda5d._0x5294c9,0x682,_0x4bda5d._0x148185,0x4ae)][_0x41f2b0(_0x4bda5d._0x15da57,0x465,0x484,0x426)];_0xa97e21&&_0x5e19c5&&typeof _0xa97e21['pipe']===_0x4f16bf(_0x4bda5d._0x3cacaa,_0x4bda5d._0x5c4a8c,_0x4bda5d._0x1c0e34,_0x4bda5d._0x80f0f)&&_0xa97e21[_0x4f16bf(0x5f4,_0x4bda5d._0x351d6a,_0x4bda5d._0x66a26f,0x43c)](_0x5e19c5);}}this[_0x4f16bf(0x5cb,_0x4bda5d._0x4802ce,_0x4bda5d._0x74983e,_0x4bda5d._0x507ae8)]=new Client({'name':_0x4f16bf(_0x4bda5d._0x4bb366,_0x4bda5d._0x2c4689,_0x4bda5d._0x567fce,_0x4bda5d._0x56648e),'version':_0x41f2b0(_0x4bda5d._0xecd5e1,_0x4bda5d._0x5477be,0x7f8,0x667)},{'capabilities':{'roots':{'listChanged':!![]}}}),await this[_0x4f16bf(0x873,0x4ec,0x815,0x6d6)]['connect'](this[_0x4f16bf(0x632,_0x4bda5d._0x3244c8,_0x4bda5d._0xe25dfa,0x48f)]);function _0x4f16bf(_0x55380e,_0x45575e,_0x255b4b,_0x3fb62a){return _0xadee61(_0x3fb62a-0x2d8,_0x255b4b,_0x255b4b-_0x548a27._0x3dbbca,_0x3fb62a-_0x548a27._0xfaead2);}function _0x41f2b0(_0x21ee78,_0x3fb30e,_0x113bfe,_0x2c3a38){return _0x27e2df(_0x21ee78-0xf1,_0x3fb30e-0x31c,_0x113bfe-_0xa29352._0xebdd9d,_0x2c3a38);}this[_0x41f2b0(0x417,0x35c,_0x4bda5d._0x47f5cb,0x1aa)]=!![],await this[_0x4f16bf(0x5e1,0x453,0x492,_0x4bda5d._0x5541bf)]();}['isConnected'](){const _0x4b8466={_0x37dff8:0x131,_0x1767e2:0x906,_0x222cd7:0x5d0},_0x5b408e={_0x41fac5:0xec},_0x5c2e9a={_0x57b382:0x1b6};function _0xdbd00c(_0x1dfcdc,_0x596f3b,_0x5c7453,_0x381c14){return _0xadee61(_0x596f3b- -0x3c,_0x5c7453,_0x5c7453-_0x5c2e9a._0x57b382,_0x381c14-0x101);}function _0x465d4a(_0x4b7b29,_0x24b104,_0x584682,_0x46e65a){return _0xadee61(_0x584682-0x3f8,_0x4b7b29,_0x584682-_0x5b408e._0x41fac5,_0x46e65a-0xed);}return this[_0xdbd00c(0x165,0x119,_0x4b8466._0x37dff8,0xbf)]&&this[_0x465d4a(0x78c,_0x4b8466._0x1767e2,0x7f6,_0x4b8466._0x222cd7)]!==null;}async['disconnect'](){const _0x14de54={_0x511aaf:0x7bb,_0x9955e3:0x63a,_0x3014bc:0x674,_0x510392:0x8e8,_0x12a190:0x548,_0x3a74a9:0x3ec,_0x3c7ace:0x443,_0x27fcec:0x30b,_0x436e8e:0x2ba,_0x22adb2:0x4cd,_0x415d45:0x574,_0x2b0d9f:0x8f2,_0x320750:0x69a,_0x309c17:0x711,_0x10462e:0x647,_0x343d83:0x64d,_0x3fe7c8:0x40b,_0x385006:0x476,_0xe723e7:0x2ae,_0x56663b:0x237,_0x51be86:0x438,_0x56322c:0x104,_0x3d8385:0x14c,_0x3499aa:0xa3},_0x4a40c6={_0x497227:0x6d},_0x1f999f={_0x3b60d9:0x13,_0xf5837a:0x19d};function _0x48a391(_0x717ff8,_0x2a03ae,_0x257afb,_0x34fa3b){return _0x27e2df(_0x717ff8-_0x1f999f._0x3b60d9,_0x2a03ae- -_0x1f999f._0xf5837a,_0x257afb-0x2,_0x257afb);}function _0x36260e(_0x4bc17e,_0x109e47,_0x1ecd1b,_0x10c700){return _0x27e2df(_0x4bc17e-0x1ec,_0x10c700-0x3f8,_0x1ecd1b-_0x4a40c6._0x497227,_0x1ecd1b);}try{const _0x4dbc44=Promise[_0x36260e(_0x14de54._0x511aaf,_0x14de54._0x9955e3,0x5aa,0x598)]([this[_0x36260e(_0x14de54._0x3014bc,_0x14de54._0x510392,_0x14de54._0x12a190,0x6e1)]?.[_0x36260e(0x652,0x438,_0x14de54._0x3a74a9,0x5ef)](),this[_0x36260e(_0x14de54._0x3c7ace,_0x14de54._0x27fcec,_0x14de54._0x436e8e,0x49a)]?.[_0x36260e(_0x14de54._0x22adb2,0x56f,_0x14de54._0x415d45,0x5ef)]?.()]),_0x4c4b74=new Promise((_0x4e6a92,_0x1c4243)=>{const _0x3e7322={_0x45093e:0x7f,_0x448659:0x105};function _0x3568d5(_0x35e1c0,_0x34d9b5,_0x48c51b,_0x16613e){return _0x36260e(_0x35e1c0-_0x3e7322._0x45093e,_0x34d9b5-0x47,_0x34d9b5,_0x16613e- -_0x3e7322._0x448659);}setTimeout(()=>_0x1c4243(new Error(_0x3568d5(0x394,0x2cd,0x4cf,0x484))),0x1388);});await Promise['race']([_0x4dbc44,_0x4c4b74]);}catch(_0x56c2ac){console[_0x36260e(_0x14de54._0x2b0d9f,_0x14de54._0x320750,0x6c2,_0x14de54._0x309c17)](_0x36260e(_0x14de54._0x10462e,0x554,_0x14de54._0x343d83,_0x14de54._0x3fe7c8),_0x56c2ac);}finally{this[_0x36260e(_0x14de54._0x385006,_0x14de54._0xe723e7,_0x14de54._0x56663b,_0x14de54._0x51be86)]=![],this[_0x48a391(_0x14de54._0x56322c,_0x14de54._0x3d8385,_0x14de54._0x3499aa,0x18a)]=null,this['transport']=null,this['tools']=[];}}async[_0xadee61(0x1e9,0x343,0x272,0x201)](){const _0x41a218={_0x12c68b:0x5c0,_0x5cf2f9:0x58b,_0x2a7edd:0x73f,_0x346336:0x140,_0x2883be:0x741,_0x168e1e:0x1a,_0x382014:0x42,_0x50653c:0x256,_0x5f12cc:0x49,_0x15cfdc:0x1f6},_0x51cf34={_0x1e859f:0x97},_0x23d058={_0x302ed1:0x341,_0x42b1b8:0x17,_0x5179ca:0x164},_0x34f4ec={_0x18a5c4:0x16e};if(!this[_0x38888c(_0x41a218._0x12c68b,_0x41a218._0x5cf2f9,0x86e,_0x41a218._0x2a7edd)])throw new Error(_0x38888c(0x554,0x5f1,0x8c7,0x6c1));const _0x38c9d3={'method':'tools/list','params':{}},_0x1edd17=this[_0x5d14a6(0x51,0x2c,0xfd,_0x41a218._0x346336)]['request'](_0x38c9d3,ListToolsResultSchema),_0x4946de=new Promise((_0x42d274,_0x1ed1be)=>{function _0x4e1da3(_0x8289eb,_0x5e4fbc,_0x3cea25,_0x1a7285){return _0x5d14a6(_0x8289eb-0xc8,_0x1a7285,_0x8289eb-_0x34f4ec._0x18a5c4,_0x1a7285-0x192);}setTimeout(()=>_0x1ed1be(new Error('MCP\x20tools\x20list\x20request\x20timed\x20out\x20after\x20'+this['timeoutMs']+'ms')),this[_0x4e1da3(0x23,0x195,-0x2e,0xe3)]);}),_0x4469bb=await Promise[_0x38888c(0x91b,0x6d6,_0x41a218._0x2883be,0x6ec)]([_0x1edd17,_0x4946de]);function _0x38888c(_0x115daa,_0x1ae76e,_0x292ad8,_0x1d23e3){return _0xadee61(_0x1d23e3-_0x23d058._0x302ed1,_0x1ae76e,_0x292ad8-_0x23d058._0x42b1b8,_0x1d23e3-_0x23d058._0x5179ca);}function _0x5d14a6(_0xdd80f3,_0x31d4ef,_0x27d544,_0xc0cc5f){return _0xadee61(_0x27d544- -0x301,_0x31d4ef,_0x27d544-_0x51cf34._0x1e859f,_0xc0cc5f-0x192);}const _0x4745f4=(_0x4469bb[_0x5d14a6(-0x112,_0x41a218._0x168e1e,-0x1f6,-0x16a)]??[])[_0x5d14a6(-0x1ec,0x3b,_0x41a218._0x382014,_0x41a218._0x50653c)](_0x102841=>({'name':String(_0x102841[_0x38888c(0x858,0x4a2,0x620,0x666)]),'description':_0x102841['description'],'inputSchema':_0x102841[_0x5d14a6(0x1b9,0x28e,0x1db,0x2ff)]??{'type':_0x38888c(0x3fa,0x6a5,0x462,0x5f5),'properties':{},'required':[]}}));return this[_0x5d14a6(-_0x41a218._0x5f12cc,-0x176,-_0x41a218._0x15cfdc,-0x30)]=_0x4745f4,_0x4745f4;}[_0x27e2df(0x32b,0x1e4,0x13d,-0x1c)](){const _0x385ae6={_0x219145:0x87,_0x1e9108:0x125,_0x4c6d78:0x15f,_0x43fb46:0x2ff},_0x25231d={_0x5477ab:0x18b},_0x51f528={_0x5dc690:0xff,_0xcbf425:0x8e};function _0x2d9e3a(_0x31a683,_0x46e7d9,_0x3e4129,_0x5e2ae7){return _0xadee61(_0x46e7d9-_0x51f528._0x5dc690,_0x5e2ae7,_0x3e4129-0x35,_0x5e2ae7-_0x51f528._0xcbf425);}function _0x37929a(_0x572126,_0x1d4a30,_0x430b75,_0x16c518){return _0xadee61(_0x1d4a30- -0x269,_0x572126,_0x430b75-0x19d,_0x16c518-_0x25231d._0x5477ab);}return this[_0x37929a(-_0x385ae6._0x219145,-0x15e,-_0x385ae6._0x1e9108,-0x1a3)][_0x2d9e3a(_0x385ae6._0x4c6d78,0x219,0xd3,_0x385ae6._0x43fb46)]();}async[_0xadee61(0x11b,-0xcd,0x27,0x171)](_0x5d1315){const _0x15b9de={_0x43011a:0x154,_0x47bed2:0x18d,_0x5a69ce:0x1b6,_0x257b79:0x6b,_0x3f9747:0x17a,_0x5c93a7:0x10d,_0x10fa1b:0x2a,_0x4476c1:0x7f,_0x2c6c7e:0x3e,_0x43bb25:0x1d,_0x155572:0x6fa,_0xfe490b:0x539,_0x15c702:0x352,_0x300ac0:0x6a7,_0x51423e:0x87f},_0x503849={_0x4b8fc6:0x3b7},_0x5e3c95={_0x1ed1b6:0x1a2,_0x41d90d:0x23},_0x41b9e2={_0x461006:0x8b},_0x394a25={_0xea4bf8:0x1e9};function _0x451f1e(_0x5983f7,_0x5bd78f,_0x5d10e7,_0x1279a0){return _0x27e2df(_0x5983f7-_0x394a25._0xea4bf8,_0x1279a0- -0x15c,_0x5d10e7-0xc2,_0x5bd78f);}if(!this[_0x451f1e(_0x15b9de._0x43011a,0x17c,0x305,_0x15b9de._0x47bed2)])throw new Error('MCP\x20client\x20not\x20connected');const _0x2bc7b3={'method':_0x451f1e(_0x15b9de._0x5a69ce,_0x15b9de._0x257b79,_0x15b9de._0x3f9747,0x25e),'params':{'name':_0x5d1315[_0x451f1e(0x1cd,0x218,_0x15b9de._0x5c93a7,0xb4)],'arguments':_0x5d1315[_0x451f1e(-_0x15b9de._0x10fa1b,-_0x15b9de._0x4476c1,_0x15b9de._0x2c6c7e,-_0x15b9de._0x43bb25)]??{}}},_0x2bedb4=this[_0xb869b8(_0x15b9de._0x155572,0x85d,0x6eb,0x754)][_0xb869b8(_0x15b9de._0xfe490b,_0x15b9de._0x15c702,0x602,0x6cc)](_0x2bc7b3,CallToolResultSchema);function _0xb869b8(_0x2e027a,_0xf52779,_0x43bae8,_0x452075){return _0xadee61(_0x2e027a-0x2fc,_0xf52779,_0x43bae8-_0x41b9e2._0x461006,_0x452075-0x1c2);}const _0x40df2b=new Promise((_0x4e29aa,_0xe6adf8)=>{const _0x3111b0={_0x28f752:0xd5,_0x2f3486:0x1c5};function _0x3fe5f4(_0x1ac693,_0x62b3d0,_0xde5dad,_0x20524c){return _0xb869b8(_0x62b3d0- -_0x5e3c95._0x1ed1b6,_0xde5dad,_0xde5dad-_0x5e3c95._0x41d90d,_0x20524c-0x32);}function _0x35e7f0(_0x10c74,_0x5dd073,_0x1f0bc8,_0x5c2447){return _0xb869b8(_0x10c74- -_0x3111b0._0x28f752,_0x1f0bc8,_0x1f0bc8-0x1cc,_0x5c2447-_0x3111b0._0x2f3486);}setTimeout(()=>_0xe6adf8(new Error(_0x3fe5f4(0x2f5,0x38f,0x3e8,0x3ca)+this[_0x35e7f0(0x3dd,0x2da,0x490,0x381)]+'ms')),this[_0x35e7f0(0x3dd,_0x503849._0x4b8fc6,0x260,0x281)]);});return await Promise[_0xb869b8(_0x15b9de._0x300ac0,0x814,_0x15b9de._0x51423e,0x850)]([_0x2bedb4,_0x40df2b]);}};import{jsonSchemaToZod}from'json-zodify';function sanitizeName(_0xf20cdf){const _0x95b36e={_0x1b183f:0x147,_0x461c24:0xd7,_0x5b1487:0x305,_0x3142c4:0x51b,_0x423a5c:0x35f,_0x4726ec:0x384},_0x428b77={_0x756206:0x172,_0x789e70:0x14};function _0x1122ee(_0x43e46c,_0x37c485,_0x566a55,_0x5b91ed){return _0xadee61(_0x566a55- -0xa2,_0x43e46c,_0x566a55-_0x428b77._0x756206,_0x5b91ed-_0x428b77._0x789e70);}function _0x2cee30(_0x15bbdd,_0x49055e,_0x393777,_0x40f5e2){return _0xadee61(_0x40f5e2- -0x23,_0x393777,_0x393777-0xfe,_0x40f5e2-0x1ac);}return _0xf20cdf[_0x1122ee(_0x95b36e._0x1b183f,_0x95b36e._0x461c24,_0x95b36e._0x5b1487,0xf1)](/[^a-zA-Z0-9_]+/g,'_')[_0x2cee30(0x161,0x4e4,_0x95b36e._0x3142c4,0x384)](/^_+|_+$/g,'')[_0x2cee30(0x3e0,_0x95b36e._0x423a5c,0x3e3,_0x95b36e._0x4726ec)](/_{2,}/g,'_');}function toExposedName(_0x3d88c9,_0x33ed55='mcp_'){const _0x4c5547=sanitizeName(_0x3d88c9);return''+_0x33ed55+_0x4c5547;}function flattenMcpContent(_0x14899a){const _0x35e47b={_0x51646c:0x2f1,_0x3d59fa:0x3ab,_0x521adc:0x3e3,_0xaec904:0x3a5,_0x5baa41:0x34d,_0x36ec06:0x83,_0x538d64:0x259,_0xe54960:0xb8,_0x385729:0x505,_0x10571f:0x1a9,_0x653d5f:0x5f9,_0x92586a:0x4c5,_0x5755f5:0x469,_0x46cde1:0x487,_0x49c71c:0x265,_0x595599:0x205,_0x4f6f28:0x3f},_0x4132bc={_0x4ee06a:0x4c,_0x5323b2:0x1cf},_0x315fc1={_0x5611cb:0x1f3};function _0x15b464(_0x20ce22,_0x47e036,_0x2acb06,_0x3ffe71){return _0xadee61(_0x2acb06- -0x1a2,_0x3ffe71,_0x2acb06-_0x315fc1._0x5611cb,_0x3ffe71-0x95);}if(!_0x14899a||_0x14899a[_0x4b2acb(_0x35e47b._0x51646c,0x252,_0x35e47b._0x3d59fa,0x1e8)]===0x0)return{'type':'text','value':''};const _0x5e9658=_0x14899a[_0x15b464(_0x35e47b._0x521adc,_0x35e47b._0xaec904,_0x35e47b._0x5baa41,0x557)](_0x460368=>_0x460368&&_0x460368[_0x4b2acb(0x352,0x2d3,0x378,0x472)]===_0x15b464(0x38,0x3bf,0x259,0x471)&&typeof _0x460368['text']===_0x15b464(0x229,0x129,0x2e8,0x1c5));if(_0x5e9658)return{'type':_0x15b464(_0x35e47b._0x36ec06,0x46f,_0x35e47b._0x538d64,_0x35e47b._0xe54960),'value':_0x14899a[_0x4b2acb(_0x35e47b._0x385729,_0x35e47b._0x10571f,0x38f,0x35c)](_0x44b867=>_0x44b867[_0x4b2acb(0x594,0x253,0x447,0x4fd)])[_0x4b2acb(_0x35e47b._0x653d5f,_0x35e47b._0x92586a,_0x35e47b._0x5755f5,_0x35e47b._0x46cde1)]('\x0a')};function _0x4b2acb(_0x218186,_0x4059c4,_0x142517,_0x2f337b){return _0xadee61(_0x142517-_0x4132bc._0x4ee06a,_0x218186,_0x142517-0x92,_0x2f337b-_0x4132bc._0x5323b2);}return{'type':_0x15b464(_0x35e47b._0x49c71c,_0x35e47b._0x595599,0x1d3,_0x35e47b._0x4f6f28),'value':_0x14899a};}var MCPToolPort=class{constructor(_0x553209,_0x168b3f){const _0x3a93c2={_0x528a35:0x249,_0x2c4533:0x18d,_0x30cac0:0x343,_0x2521b3:0x3aa,_0x37f098:0x264},_0x21fb5e={_0x40c1ef:0x341,_0x50ae5f:0x3e};function _0x542091(_0x5efc4e,_0x4dd206,_0x2aaf6b,_0x4520c1){return _0xadee61(_0x5efc4e- -_0x21fb5e._0x40c1ef,_0x4dd206,_0x2aaf6b-_0x21fb5e._0x50ae5f,_0x4520c1-0xd7);}this['client']=_0x553209;function _0x4f73bc(_0xdee2d1,_0x5f4dee,_0x232eed,_0xd069d1){return _0xadee61(_0x232eed-0x39d,_0x5f4dee,_0x232eed-0x121,_0xd069d1-0xce);}this[_0x542091(0x18d,_0x3a93c2._0x528a35,0xef,0x1f)]=_0x168b3f?.[_0x542091(_0x3a93c2._0x2c4533,_0x3a93c2._0x30cac0,_0x3a93c2._0x2521b3,_0x3a93c2._0x37f098)]??'mcp_';}['map']=new Map();['toolSchemas']=new Map();[_0xadee61(0x298,0x350,0x353,0x5b)]=new Map();['prefix'];async[_0x27e2df(0x46f,0x276,0x440,0x106)](){const _0x7bdac4={_0x2f2a50:0x625,_0x7165bb:0x6e8,_0x46159e:0x6c3,_0x3d14e2:0x538,_0x5323e0:0x198,_0x1d2f64:0x229,_0x153b8d:0x3c4,_0x3d23cb:0x14d,_0x43466c:0x24c,_0x3db4f9:0x7d0,_0x2af5fd:0x643,_0x13aad7:0x565,_0x2d213c:0x4da,_0x34e476:0x346,_0x32dad0:0x68d,_0x1ae3e6:0x5af,_0x593bb2:0x3a8,_0x1d69ea:0x2e8,_0x30fd71:0x65,_0x8766f6:0x50,_0x1ddc6d:0x4e3,_0x4ff8bc:0x504,_0x4a3d5c:0x401,_0xb98bd0:0x2b4,_0x5afbeb:0x2e8,_0x413626:0x3b1,_0x4e8853:0x5d7,_0x5ae391:0x543,_0x137dab:0x277,_0x2a1aee:0x421,_0x171149:0x274,_0x5c9209:0x3d9,_0x1385d4:0x5b3,_0x41c795:0x3d1,_0x2fed30:0x542,_0x352c1f:0x2f8,_0x2e466d:0xf4,_0x24c7ab:0x32d,_0x15eaa0:0x573,_0x30d5a3:0x2c3,_0x10f335:0x419,_0x205270:0x176,_0x5e7e3d:0x1fd,_0xcf52bb:0x2b1,_0x5d7b2e:0x3,_0x330cda:0x88,_0x5edc1d:0x1f9,_0x1918b3:0x208},_0x8c7bcf={_0xb6761e:0x8},_0x1ea48a={_0x3d19d5:0x69,_0x1c7029:0x136};if(!this[_0x304e85(_0x7bdac4._0x2f2a50,0x66a,0x7ce,0x674)][_0x304e85(_0x7bdac4._0x7165bb,_0x7bdac4._0x46159e,0x706,_0x7bdac4._0x3d14e2)]())await this[_0x2c4c1b(_0x7bdac4._0x5323e0,_0x7bdac4._0x1d2f64,_0x7bdac4._0x153b8d,0x2e1)][_0x2c4c1b(0x4c0,_0x7bdac4._0x3d23cb,_0x7bdac4._0x43466c,0x2e5)]();function _0x304e85(_0x151327,_0x29a8fd,_0x5335d8,_0x5f5db0){return _0x27e2df(_0x151327-_0x1ea48a._0x3d19d5,_0x29a8fd-0x381,_0x5335d8-_0x1ea48a._0x1c7029,_0x5335d8);}const _0x57f20e=this[_0x304e85(0x763,0x66a,_0x7bdac4._0x3db4f9,0x55b)][_0x304e85(_0x7bdac4._0x2af5fd,_0x7bdac4._0x13aad7,_0x7bdac4._0x2d213c,_0x7bdac4._0x34e476)]();this[_0x304e85(_0x7bdac4._0x32dad0,_0x7bdac4._0x1ae3e6,0x766,_0x7bdac4._0x593bb2)][_0x2c4c1b(0x2c2,0x3a3,0x21a,_0x7bdac4._0x1d69ea)](),this[_0x2c4c1b(-0x14b,_0x7bdac4._0x30fd71,-0x165,_0x7bdac4._0x8766f6)]['clear'](),this[_0x304e85(_0x7bdac4._0x1ddc6d,_0x7bdac4._0x4ff8bc,_0x7bdac4._0x4a3d5c,0x6ca)][_0x2c4c1b(0x47b,0x2b3,_0x7bdac4._0xb98bd0,_0x7bdac4._0x5afbeb)]();function _0x2c4c1b(_0x4c2f0f,_0x1f88ac,_0x2a5584,_0x337aa5){return _0x27e2df(_0x4c2f0f-0xf0,_0x337aa5- -_0x8c7bcf._0xb6761e,_0x2a5584-0x5c,_0x4c2f0f);}for(const _0x9511fb of _0x57f20e){const _0x397892=toExposedName(_0x9511fb[_0x2c4c1b(0x232,0x12d,0xba,0x208)],this[_0x2c4c1b(0x41e,0x187,0x445,_0x7bdac4._0x413626)]);this[_0x304e85(_0x7bdac4._0x4e8853,0x5af,0x3fe,_0x7bdac4._0x5ae391)]['set'](_0x397892,_0x9511fb[_0x2c4c1b(0x6,_0x7bdac4._0x137dab,_0x7bdac4._0x2a1aee,0x208)]),this[_0x304e85(_0x7bdac4._0x171149,_0x7bdac4._0x5c9209,_0x7bdac4._0x1385d4,_0x7bdac4._0x41c795)][_0x2c4c1b(_0x7bdac4._0x2fed30,_0x7bdac4._0x352c1f,_0x7bdac4._0x2e466d,_0x7bdac4._0x24c7ab)](_0x9511fb['name'],_0x9511fb);if(_0x9511fb[_0x2c4c1b(0x187,0x3b5,_0x7bdac4._0x15eaa0,0x3bf)])try{const _0x2b9b78=jsonSchemaToZod(_0x9511fb['inputSchema']);this['zodSchemas'][_0x2c4c1b(0x3e4,_0x7bdac4._0x30d5a3,_0x7bdac4._0x10f335,_0x7bdac4._0x24c7ab)](_0x397892,_0x2b9b78);}catch(_0x2d3e4c){console[_0x2c4c1b(0x160,_0x7bdac4._0x205270,_0x7bdac4._0x5e7e3d,0x311)](_0x2c4c1b(_0x7bdac4._0xcf52bb,_0x7bdac4._0x5d7b2e,0x49,0x117)+_0x9511fb[_0x2c4c1b(_0x7bdac4._0x330cda,_0x7bdac4._0x5edc1d,0x16f,_0x7bdac4._0x1918b3)]+':',_0x2d3e4c);}}}[_0xadee61(0x479,0x671,0x401,0x4f6)](){const _0x6cb1be={_0x4af933:0xab,_0x288ab7:0xf,_0x3e1b43:0x24b,_0x1be292:0x588,_0x46b613:0x6c4,_0x8a4142:0x7b7},_0x33cbad={_0x1657b1:0x175};function _0x184173(_0x549fb7,_0x476bb3,_0x4f6929,_0x57da62){return _0xadee61(_0x57da62- -0xf8,_0x4f6929,_0x4f6929-0x28,_0x57da62-0x3b);}function _0x50a81a(_0x28fb35,_0x246d9f,_0x82158f,_0x4ee302){return _0x27e2df(_0x28fb35-0x1d7,_0x28fb35-0x2b7,_0x82158f-_0x33cbad._0x1657b1,_0x246d9f);}return Array['from'](this[_0x184173(_0x6cb1be._0x4af933,_0x6cb1be._0x288ab7,0x392,_0x6cb1be._0x3e1b43)][_0x50a81a(_0x6cb1be._0x1be292,0x619,_0x6cb1be._0x46b613,_0x6cb1be._0x8a4142)]());}[_0xadee61(0x2d8,0x28b,0x2f1,0x222)](_0x34ffb5){const _0x498623={_0x1eb137:0x448,_0x16a0d0:0x236,_0x31ae74:0x2d2,_0x436204:0x4d1,_0x366844:0x2e0,_0x584766:0x413,_0x577ace:0x489,_0x3a3c88:0x79b,_0x34d0b1:0x662,_0x16a4c9:0x71d,_0x5c9b97:0x285,_0x5e8874:0x39d,_0xc5a48:0x572,_0x5d8f74:0x535,_0x4697d6:0x410,_0x37e69a:0x46d,_0x517529:0x5d4},_0x41e865={_0x5362dc:0x1b9},_0x376b9d={_0x5cc593:0x234},_0x12d174=new Set(_0x34ffb5),_0x267c39=[];function _0x4d79c1(_0x486e64,_0x11da34,_0x2e8044,_0x290ef8){return _0x27e2df(_0x486e64-0x1e3,_0x11da34-_0x376b9d._0x5cc593,_0x2e8044-0x107,_0x486e64);}for(const [_0x2df8cb,_0x2a553d]of this['map'][_0x4d79c1(0x4b3,_0x498623._0x1eb137,_0x498623._0x16a0d0,_0x498623._0x31ae74)]()){if(!_0x12d174['has'](_0x2df8cb))continue;const _0xd9042b=this[_0x49fde2(0x326,_0x498623._0x436204,0x3eb,_0x498623._0x366844)][_0x49fde2(0x33c,_0x498623._0x584766,_0x498623._0x577ace,0x490)](_0x2a553d);if(!_0xd9042b)continue;_0x267c39[_0x4d79c1(_0x498623._0x3a3c88,_0x498623._0x34d0b1,0x4cf,_0x498623._0x16a4c9)]({'type':_0x4d79c1(0x447,_0x498623._0x5c9b97,0x313,_0x498623._0x5e8874),'function':{'name':_0x2df8cb,'description':_0x4d79c1(0x58a,0x481,0x2ea,_0x498623._0xc5a48)+(_0xd9042b[_0x4d79c1(_0x498623._0x5d8f74,0x42e,_0x498623._0x4697d6,0x30a)]||_0x2a553d),'parameters':_0xd9042b['inputSchema']??{'type':_0x49fde2(_0x498623._0x37e69a,_0x498623._0x517529,0x49b,0x4f9),'properties':{},'required':[]}}});}function _0x49fde2(_0x4101fa,_0x4974c5,_0x5c8c99,_0x4aa154){return _0xadee61(_0x4101fa-_0x41e865._0x5362dc,_0x5c8c99,_0x5c8c99-0x18,_0x4aa154-0x12e);}return _0x267c39;}async['executeToolCalls'](_0x2e5725,_0x1a1756,_0x2f4177=0x3,_0x551b52){const _0xc29153={_0x173f5d:0x288,_0x5c7410:0x149,_0x4cf3f4:0x1c9,_0x10bc8d:0x1d1,_0x1efe85:0x28b,_0x4e6ab3:0x25c,_0x565661:0x5bb,_0x405acc:0x148,_0x10f8f2:0x1d1,_0x3639ae:0x1bf,_0x5d5678:0x4d,_0x2a064d:0x4e1,_0x563463:0x1d9,_0x482033:0x288,_0x23f128:0xee,_0x2456b0:0x89,_0x4e1561:0x1c4,_0x5a3ed3:0x11e,_0x2c18dd:0xc7,_0x554d62:0x51c},_0x267eec={_0xcc4c84:0x12b,_0x5b9c44:0x69},_0x18ea18={_0xfd03af:0x67e,_0x408791:0x886,_0x803af8:0x6e1,_0x435ca4:0x918,_0x35c696:0x784,_0x2d468f:0x9d1,_0x10b138:0x498,_0x1fc83d:0x2b3,_0x4ae6c6:0x55f,_0x16cae0:0x7ae,_0x4cef27:0x6f6,_0xa1ef56:0x6e1,_0x56e986:0x5ce,_0x1a2788:0x75a,_0x3e2134:0x4d4,_0x5b6804:0x6e1,_0x37fece:0x803,_0x50f66b:0x614,_0x217e09:0x4a5,_0x2bcbd0:0x500,_0x13eb22:0x6e3,_0x2f76c1:0x5f3,_0x31abd9:0x7af,_0x217e65:0x64f,_0x2a5368:0x74d,_0x2d429c:0x54d,_0x3ebdaf:0xa1b,_0x3b6b99:0x7a6,_0x574f29:0x94d,_0x918143:0x86a,_0x4b6700:0x535,_0x42c9c6:0x8a8,_0x5cbd3e:0x72f,_0x8bd2c:0x7dc,_0x20a06e:0x5f1,_0x1ef36f:0x79b,_0x32012c:0x68e,_0x8d58ef:0x402,_0x97e64c:0x63b,_0x4d6a2e:0x756,_0x5cbcb9:0x8bf,_0x124ed1:0x476,_0x2b93ef:0x453,_0x37192d:0x867,_0x412310:0x84b,_0x222afd:0x93d,_0x297293:0x867,_0x35efe1:0x82f,_0x57c90c:0x745,_0x5bdf0c:0x560,_0x35ad69:0x8c8,_0x2aac8f:0x808,_0x337bfe:0x478,_0x2c6e3f:0x639,_0x159b32:0x418,_0x5e438c:0x779,_0x115378:0xa29,_0x4e638b:0x6e5,_0x247d9d:0x736,_0x483bae:0x50e,_0x18a73f:0x618,_0x322501:0x45d,_0x1b560c:0x5c8,_0x566b84:0x65c,_0x1150a9:0x81a,_0x4ec299:0x754,_0x17341e:0x38b,_0x366b87:0x782,_0x47f83d:0x733,_0x578f07:0x72f,_0x581c1d:0x5dd,_0x3bdc20:0x555,_0x3da4e0:0x6ce,_0x9fef9f:0x74c,_0x1e21b7:0x632,_0x318a35:0x5a7,_0x451943:0x70e,_0x224e89:0x67e,_0x2185ed:0x6d7},_0x2c047c={_0x59b56f:0x372,_0x517cb7:0x165,_0x1caeb0:0x1dd},_0x2f08c5=[],_0x3f26da=[];function _0x2de445(_0x440d98,_0x354094,_0x15304f,_0x46aa6d){return _0xadee61(_0x46aa6d- -_0x2c047c._0x59b56f,_0x440d98,_0x15304f-_0x2c047c._0x517cb7,_0x46aa6d-_0x2c047c._0x1caeb0);}for(let _0x2e95a6=0x0;_0x2e95a6<_0x2e5725['length'];_0x2e95a6+=_0x2f4177)_0x3f26da[_0x2de445(_0xc29153._0x173f5d,_0xc29153._0x5c7410,_0xc29153._0x4cf3f4,_0xc29153._0x10bc8d)](_0x2e5725[_0x2de445(-0xb5,-_0xc29153._0x1efe85,-_0xc29153._0x4e6ab3,-0x258)](_0x2e95a6,_0x2e95a6+_0x2f4177));for(const _0x5ba581 of _0x3f26da){if(_0x551b52?.[_0x23fa34(0x562,0x5c9,0x4ab,_0xc29153._0x565661)]){for(const _0xfe87f0 of _0x5ba581){_0x2f08c5[_0x2de445(_0xc29153._0x405acc,-0xd,0x1d,_0xc29153._0x10f8f2)]({'id':_0xfe87f0['id'],'name':_0xfe87f0[_0x2de445(0x12d,-0x264,_0xc29153._0x3639ae,-_0xc29153._0x5d5678)],'status':_0x23fa34(0x715,0x648,0x63e,_0xc29153._0x2a064d),'type':_0x2de445(_0xc29153._0x563463,_0xc29153._0x482033,_0xc29153._0x23f128,_0xc29153._0x2456b0),'result':_0x23fa34(0x389,0x279,_0xc29153._0x5c7410,0xec)});}continue;}const _0x513092=await Promise[_0x2de445(-_0xc29153._0x4e1561,_0xc29153._0x5a3ed3,_0xc29153._0x2c18dd,-0xbd)](_0x5ba581[_0x23fa34(0x4f5,0x47d,_0xc29153._0x554d62,0x4b2)](async _0x25d72f=>{const _0x538a5f={_0x49b37f:0x11c};function _0x3ede25(_0x560ad0,_0x55d9db,_0x19bfbe,_0x5155e5){return _0x2de445(_0x19bfbe,_0x55d9db-0x105,_0x19bfbe-_0x538a5f._0x49b37f,_0x55d9db-0x6cb);}if(_0x551b52?.['aborted'])return{'id':_0x25d72f['id'],'name':_0x25d72f[_0x3ede25(0x4f1,_0x18ea18._0xfd03af,0x66f,0x50c)],'status':_0x321a77(0x83a,_0x18ea18._0x408791,_0x18ea18._0x803af8,_0x18ea18._0x435ca4),'type':_0x321a77(0x6a1,_0x18ea18._0x35c696,_0x18ea18._0x2d468f,0x805),'result':_0x3ede25(0x36e,_0x18ea18._0x10b138,_0x18ea18._0x1fc83d,0x4e1)};if(_0x25d72f[_0x321a77(_0x18ea18._0x4ae6c6,_0x18ea18._0x16cae0,_0x18ea18._0x4cef27,_0x18ea18._0xa1ef56)]){const _0x5db5bb=_0x25d72f[_0x321a77(_0x18ea18._0x56e986,_0x18ea18._0x1a2788,_0x18ea18._0x3e2134,_0x18ea18._0x5b6804)]+_0x321a77(0x879,_0x18ea18._0x37fece,0x7b9,0x81b);return{'id':_0x25d72f['id'],'name':_0x25d72f[_0x3ede25(0x82b,_0x18ea18._0xfd03af,0x49f,_0x18ea18._0x50f66b)],'status':'error','type':'text','result':_0x5db5bb,'metadata':{'errorReason':_0x3ede25(_0x18ea18._0x217e09,_0x18ea18._0x2bcbd0,_0x18ea18._0x13eb22,0x437),'editInstruction':_0x25d72f[_0x321a77(0x75b,_0x18ea18._0x2f76c1,0x59f,0x6e1)]},'durationMs':0x0};}const _0x55a2d4=this[_0x321a77(0x713,_0x18ea18._0x31abd9,_0x18ea18._0x217e65,_0x18ea18._0x2a5368)][_0x3ede25(0x5ed,0x4dc,_0x18ea18._0x2d429c,0x34f)](_0x25d72f[_0x3ede25(0x87e,0x67e,0x647,0x5d6)]);if(!_0x55a2d4)return{'id':_0x25d72f['id'],'name':_0x25d72f['name'],'status':'error','type':_0x321a77(_0x18ea18._0x3ebdaf,_0x18ea18._0x3b6b99,_0x18ea18._0x574f29,0x805),'result':_0x321a77(_0x18ea18._0x918143,_0x18ea18._0x4b6700,0x469,0x6a0)+_0x25d72f[_0x321a77(_0x18ea18._0x42c9c6,0x8f1,0x5ab,_0x18ea18._0x5cbd3e)]};const _0x5c7775=this[_0x3ede25(_0x18ea18._0x8bd2c,_0x18ea18._0x20a06e,_0x18ea18._0x1ef36f,_0x18ea18._0x32012c)][_0x321a77(0x5c1,_0x18ea18._0x8d58ef,_0x18ea18._0x97e64c,0x58d)](_0x25d72f[_0x3ede25(_0x18ea18._0x4d6a2e,_0x18ea18._0xfd03af,0x44c,0x53a)]);function _0x321a77(_0x52b9e7,_0x27100e,_0x4462c3,_0x17a3bb){return _0x2de445(_0x52b9e7,_0x27100e-0x16a,_0x4462c3-0x19,_0x17a3bb-0x77c);}if(_0x5c7775){const _0x571ed2=_0x5c7775,_0x5531ee=_0x571ed2[_0x321a77(_0x18ea18._0x5cbcb9,0x699,0x844,0x70d)](_0x25d72f[_0x3ede25(0x688,_0x18ea18._0x4b6700,_0x18ea18._0x124ed1,0x58d)]||{});if(!_0x5531ee[_0x321a77(0x52c,0x807,_0x18ea18._0x2b93ef,0x5e8)]){const _0x158d7b=_0x5531ee[_0x3ede25(0x6e8,_0x18ea18._0x37192d,_0x18ea18._0x412310,0x676)]['issues']['map'](_0x5f3243=>_0x5f3243[_0x3ede25(0x573,0x729,0x7e3,0x693)][_0x3ede25(0x792,0x776,0x828,0x7b7)]('.')+':\x20'+_0x5f3243[_0x3ede25(0x6b3,0x4f2,0x698,0x32c)]);return{'id':_0x25d72f['id'],'name':_0x25d72f['name'],'status':_0x3ede25(_0x18ea18._0x222afd,_0x18ea18._0x297293,0x74b,_0x18ea18._0x35efe1),'type':'text','result':_0x321a77(_0x18ea18._0x57c90c,0x31f,0x496,_0x18ea18._0x5bdf0c)+_0x158d7b['join'](';\x20'),'metadata':{'errorReason':'validation_failed'},'durationMs':0x0};}}try{const _0x296d75=await this[_0x321a77(0x8ec,_0x18ea18._0x35ad69,0x9cf,_0x18ea18._0x2aac8f)][_0x3ede25(0x2f6,0x474,_0x18ea18._0x337bfe,_0x18ea18._0x2c6e3f)]({'name':_0x55a2d4,'arguments':_0x25d72f[_0x3ede25(0x4ef,0x535,0x480,_0x18ea18._0x159b32)]||{}}),_0x2fb17b=flattenMcpContent(_0x296d75[_0x3ede25(_0x18ea18._0x5e438c,0x88c,0x8de,_0x18ea18._0x115378)]);return _0x2fb17b[_0x321a77(0x977,_0x18ea18._0x4e638b,0x60b,_0x18ea18._0x247d9d)]==='text'?{'id':_0x25d72f['id'],'name':_0x25d72f[_0x321a77(_0x18ea18._0x483bae,0x5f0,_0x18ea18._0x18a73f,0x72f)],'status':_0x321a77(_0x18ea18._0x322501,_0x18ea18._0x1b560c,_0x18ea18._0x566b84,0x5e8),'type':_0x3ede25(_0x18ea18._0x1150a9,_0x18ea18._0x4ec299,0x6f6,0x669),'result':_0x2fb17b[_0x321a77(_0x18ea18._0x17341e,_0x18ea18._0x366b87,_0x18ea18._0x47f83d,0x5cd)]}:{'id':_0x25d72f['id'],'name':_0x25d72f[_0x321a77(0x714,_0x18ea18._0x4e638b,0x706,_0x18ea18._0x578f07)],'status':_0x3ede25(_0x18ea18._0x581c1d,0x537,0x316,0x528),'type':_0x3ede25(_0x18ea18._0x3bdc20,_0x18ea18._0x3da4e0,_0x18ea18._0x9fef9f,0x637),'result':_0x2fb17b[_0x3ede25(0x5ac,0x51c,0x42f,_0x18ea18._0x1e21b7)]};}catch(_0x3611cd){const _0x141eb6=_0x3611cd instanceof Error?_0x3611cd[_0x3ede25(0x4f9,0x4f2,_0x18ea18._0x318a35,0x2c0)]:String(_0x3611cd);return{'id':_0x25d72f['id'],'name':_0x25d72f[_0x3ede25(_0x18ea18._0x451943,_0x18ea18._0x224e89,0x540,_0x18ea18._0x2185ed)],'status':'error','type':'text','result':_0x141eb6};}}));_0x2f08c5['push'](..._0x513092);}function _0x23fa34(_0x2a4643,_0x18a3de,_0x4d1634,_0x59f132){return _0xadee61(_0x18a3de-0x13a,_0x4d1634,_0x4d1634-_0x267eec._0xcc4c84,_0x59f132-_0x267eec._0x5b9c44);}return _0x2f08c5;}};export{AGENT_CREATOR_SYSTEM_PROMPT,AbortError,AgentEventTypes,AgentFilePersistence,AgentManager,AgentManagerCommandRunner,AgentOrchestrator,AgentRegistry,AnthropicAISDKLLM,BashTool,CommandFilePersistence,CompositeToolPort,ConversationContext,ConversationStore,CoreMCPClient,DEFAULT_RETRY_CONFIG,DefaultDelegationPolicy,DefaultDelegationResultFormatter,DefaultDelegationService,DefaultSpecialistAgentFactory,DelegationServiceFactory,ErrorReason,GithubLLM,InMemoryMemory,InMemoryMetadata,InMemoryMetricsPort,JsonFileMemoryPersistence,LLMError,LLMResolver,MCPToolPort,MemoryPortMetadataAdapter,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};