@nuvin/nuvin-cli 1.12.2 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x2d1489,_0x3a93e7){const _0x1ac53d={_0x47ec33:0x109,_0x5a90fa:0x9d,_0x559379:0x7f,_0x18056d:0x13f,_0x4de2da:0x10e,_0x3db9bf:0xe9,_0x5a6f13:0xe5,_0x8c392c:0xdd,_0x1f6a0e:0xde,_0x3a6780:0xb8,_0x42632b:0xb9,_0x5d3ee7:0xa5,_0x588f16:0xb4,_0x3f7a47:0x83,_0x1ec960:0x129,_0x3d4137:0xeb,_0x5dadbd:0xe0,_0x39dc79:0x13f,_0x13c3a5:0x12e,_0x404a35:0x180,_0x39e5e5:0x158},_0x2795e5={_0x746fed:0x39},_0x4ca8e1={_0x2bc906:0x231},_0x26c41c=_0x2d1489();function _0x52524f(_0x5497b4,_0x23f2d0,_0x227d93,_0x542121){return _0x235d(_0x5497b4- -_0x4ca8e1._0x2bc906,_0x542121);}function _0x2f2cc4(_0x599e8f,_0x3f7f15,_0x4c8c45,_0x3f51e1){return _0x235d(_0x4c8c45- -_0x2795e5._0x746fed,_0x3f51e1);}while(!![]){try{const _0x45d42b=parseInt(_0x2f2cc4(0x144,0x121,0x12a,_0x1ac53d._0x47ec33))/0x1*(parseInt(_0x52524f(-0xa4,-_0x1ac53d._0x5a90fa,-0xaa,-_0x1ac53d._0x559379))/0x2)+-parseInt(_0x2f2cc4(_0x1ac53d._0x18056d,0x148,0x136,_0x1ac53d._0x4de2da))/0x3+parseInt(_0x52524f(-0xb0,-0x9d,-0xa0,-0xa8))/0x4*(parseInt(_0x52524f(-_0x1ac53d._0x3db9bf,-0x102,-0xf2,-_0x1ac53d._0x5a6f13))/0x5)+parseInt(_0x52524f(-0xe7,-0xe5,-_0x1ac53d._0x8c392c,-0x10c))/0x6*(-parseInt(_0x52524f(-_0x1ac53d._0x1f6a0e,-0x105,-0x105,-0xf8))/0x7)+parseInt(_0x52524f(-_0x1ac53d._0x3a6780,-_0x1ac53d._0x42632b,-_0x1ac53d._0x5d3ee7,-0xc6))/0x8*(parseInt(_0x52524f(-0xac,-_0x1ac53d._0x588f16,-0xd7,-_0x1ac53d._0x3f7a47))/0x9)+parseInt(_0x2f2cc4(0x14b,_0x1ac53d._0x1ec960,0x13d,0x12d))/0xa*(-parseInt(_0x52524f(-_0x1ac53d._0x3d4137,-_0x1ac53d._0x5dadbd,-0xf2,-0xf9))/0xb)+-parseInt(_0x2f2cc4(_0x1ac53d._0x39dc79,_0x1ac53d._0x13c3a5,0x121,0x109))/0xc*(-parseInt(_0x2f2cc4(0x12f,_0x1ac53d._0x404a35,_0x1ac53d._0x39e5e5,0x153))/0xd);if(_0x45d42b===_0x3a93e7)break;else _0x26c41c['push'](_0x26c41c['shift']());}catch(_0x50419e){_0x26c41c['push'](_0x26c41c['shift']());}}}(_0x33ac,0x82a6a));import{useState as _0x2e9303}from'react';import*as _0x167345 from'fs';import*as _0x52d301 from'fs/promises';import*as _0x22ae5b from'path';function _0x33ac(){const _0x2a3447=['C2vZC2LVBNm','BM90x2zVDw5K','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','zw5ZDxjLtg9NrgLYzwn0B3j5','BwTKAxi','mtbku2DMwgS','D3jPDgu','Aw5MBW','mZG4mZjcseTmEuO','tM8GBwvZC2fNzxm','C3rYAw5NAwz5','y29Kzq','CMvHzezPBgu','lM51DMLUlwnSAq','Bg9NrgLY','D3jPDgvtDhjLyw0','mti4ntuZmNrJCuXQsa','DgLTzxn0yw1W','DhjPBq','Dw5SAw5Ru3LUyW','nZu2v0nut1Pm','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','y2HLy2TbBMrsB3rHDgu','y2XP','zMLSDgvY','Bg9Nvg9dB25ZB2XL','AgLZDg9YEs5QC29U','C2HVDwXKtg9N','mtj4wMDiCvq','CMvUyw1Lu3LUyW','Dg9ju09tDhjPBMC','zw1WDhK','ntKYohLvD0Lisa','zgvIDwC','zxjYB3i','BM93','z2v0tg9NrMLSzvbHDgG','AxneAxjLy3rVCNK','ChvZAa','D2fYBG','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','Dg9WAwm','mti5ndy4owHvu1P3BG','z2v0','mtvqtvfjywu','C2v0','mte2ngPvrw5zzG','y29UDgvUDa','BgvUz3rO','zgf0yq','BNv2Aw4','zxHPC3rZu3LUyW','C2L6zq','y2XVC2u','y3jLyxrLv3jPDgvtDhjLyw0','mZC3odzvAKPfrNa','y2XLyxjmB2DZ','Bwf4rMLSzvnPEMu','Bg9N','zM9YBwf0twvZC2fNzq','ru5pru5u','BMfTzq','mtKXmdrSqLbRBvu','Ag9TzwrPCG','Aw5JBhvKzvrPBwvZDgfTCa','CM90yxrLtg9NrMLSzxm','DxnLCG','DxrMltG','B2jQzwn0','Bg9NrMLSzvbHDgG','Dg9mB2nHBgvtDhjPBMC','nJm0ntrOuKfmzM4','Bg9NCW','Bg9NrMLSzu5HBwu','CgfYC2u','C29YDa','z2v0v3jPDgvtDhjLyw0','x19TzxrHzgf0yv9Fy2XP','Bwf4rMLSzxm','CMvHzgrPCG','AM9PBG','CM9Szq','yxnZAxn0yw50','mJmZntuXmMLss0P6uG','BwLUtgv2zwW'];_0x33ac=function(){return _0x2a3447;};return _0x33ac();}import*as _0x2b7300 from'os';function _0x4c6f15(_0x54ae70,_0x2754c1,_0x5dcde8,_0x52931f){return _0x235d(_0x54ae70- -0x2a9,_0x52931f);}import*as _0x50809b from'fs';import*as _0x586cec from'path';function _0x33ec4c(_0xccebde,_0x3d8cc4,_0x562bbd,_0xd4521d){return _0x235d(_0x3d8cc4-0x1f0,_0x562bbd);}import*as _0x1510ac from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x1384cf={}){const _0x1a3f7d={_0x52f529:0x1e1,_0x52bb64:0x197,_0x4bcc17:0x1c0,_0x108743:0x1f5,_0x25932c:0x1d4,_0x5627ce:0x1f3,_0x190384:0x1e5,_0x4ac762:0x1e9,_0x76b438:0x19b,_0x160d4a:0x1c2,_0x1a9c60:0x1d3,_0x3343ba:0x201,_0x351338:0x1fe,_0x2e0e9b:0x14b,_0xf3a6c9:0x151,_0x576068:0x16b,_0x216748:0x166,_0x3a96bf:0x13e,_0x24f044:0x1d8,_0x1c6eec:0x1ef,_0x1a57f9:0x1d4,_0x32591f:0x1e9,_0x4a5667:0x1c3,_0x108b29:0x1eb,_0x108152:0x1c5,_0x5a717a:0x1fd,_0x2aa8eb:0x1bd,_0x4d5cf0:0x148,_0x4fe01e:0x15a,_0x109bad:0x16d,_0x1023d3:0x19f,_0x439a78:0x1b6,_0x48e695:0x1a2,_0x1c7233:0x1b9,_0x1e469b:0x1cc,_0x304659:0x1e1},_0x85bd28={_0x4f1ad3:0x2b6};this[_0xeea503(-_0x1a3f7d._0x52f529,-_0x1a3f7d._0x52bb64,-_0x1a3f7d._0x4bcc17,-0x1ab)]=null,this['logDir']=_0x1384cf['logDir']||_0x586cec[_0xeea503(-_0x1a3f7d._0x108743,-0x1bc,-_0x1a3f7d._0x25932c,-0x1e7)](_0x1510ac[_0xeea503(-0x1df,-_0x1a3f7d._0x5627ce,-_0x1a3f7d._0x190384,-_0x1a3f7d._0x4ac762)](),_0xeea503(-_0x1a3f7d._0x76b438,-0x1d5,-_0x1a3f7d._0x160d4a,-_0x1a3f7d._0x1a9c60),_0xeea503(-0x1ef,-_0x1a3f7d._0x3343ba,-0x1dc,-_0x1a3f7d._0x351338));function _0xeea503(_0x1a88df,_0x42ea52,_0x35a12e,_0x4267e0){return _0x235d(_0x35a12e- -0x340,_0x4267e0);}let _0x4525de=_0x1384cf[_0x55d4a5(-_0x1a3f7d._0x2e0e9b,-_0x1a3f7d._0xf3a6c9,-_0x1a3f7d._0x576068,-0x15b)]||_0x55d4a5(-0x174,-0x168,-_0x1a3f7d._0x216748,-_0x1a3f7d._0x3a96bf);function _0x55d4a5(_0x1e8381,_0x3b1be9,_0x2d5e48,_0x211c0e){return _0x235d(_0x3b1be9- -_0x85bd28._0x4f1ad3,_0x2d5e48);}this['logFilePath']=_0x586cec[_0xeea503(-_0x1a3f7d._0x24f044,-_0x1a3f7d._0x1c6eec,-_0x1a3f7d._0x1a57f9,-_0x1a3f7d._0x52f529)](this[_0x55d4a5(-0x11c,-0x137,-_0x1a3f7d._0x3a96bf,-0x119)],_0x4525de+'.log'),this[_0xeea503(-0x1fa,-0x1e1,-0x1d0,-0x1cf)]=_0x1384cf['minLevel']||'error',this[_0xeea503(-0x1c7,-_0x1a3f7d._0x32591f,-0x1eb,-0x1cb)]=_0x1384cf[_0xeea503(-0x206,-_0x1a3f7d._0x4a5667,-_0x1a3f7d._0x108b29,-_0x1a3f7d._0x108152)]||0x5*0x400*0x400,this[_0xeea503(-_0x1a3f7d._0x5a717a,-_0x1a3f7d._0x2aa8eb,-0x1d6,-0x1c7)]=_0x1384cf['maxFiles']||0x3,this['includeTimestamp']=_0x1384cf[_0x55d4a5(-_0x1a3f7d._0x4d5cf0,-_0x1a3f7d._0x4fe01e,-0x140,-_0x1a3f7d._0x109bad)]??!0x0,this[_0xeea503(-0x1c4,-_0x1a3f7d._0x1023d3,-_0x1a3f7d._0x439a78,-_0x1a3f7d._0x48e695)]=_0x1384cf[_0xeea503(-0x19d,-0x199,-_0x1a3f7d._0x439a78,-0x19e)]??!0x1,this[_0xeea503(-0x1ea,-_0x1a3f7d._0x1c7233,-_0x1a3f7d._0x1e469b,-_0x1a3f7d._0x304659)]();}[_0x33ec4c(0x345,0x364,0x34c,0x364)](){const _0x37a218={_0x1982ab:0x51d,_0x338840:0x122,_0x5a3ed6:0x522,_0x133935:0x531,_0x31c43c:0x50a,_0xe80dad:0x511,_0x41dbce:0x118,_0x4e12da:0x12d,_0x56f24e:0x136},_0x5151c8={_0x119a5a:0xdc,_0x5e81ef:0x14d},_0x11640d={_0x19ab6e:0xa8,_0x77a40c:0x25};function _0x1ad0db(_0x4ae819,_0x2eeee5,_0x3a5d80,_0xbc4271){return _0x33ec4c(_0x4ae819-_0x11640d._0x19ab6e,_0x3a5d80- -0x4ae,_0x2eeee5,_0xbc4271-_0x11640d._0x77a40c);}function _0x5b45ce(_0xa97b15,_0x55571f,_0x5b01f0,_0x21e2cf){return _0x33ec4c(_0xa97b15-_0x5151c8._0x119a5a,_0x55571f-0x1ae,_0xa97b15,_0x21e2cf-_0x5151c8._0x5e81ef);}try{_0x50809b[_0x1ad0db(-0x189,-0x15b,-0x16f,-0x16e)](this[_0x5b45ce(0x52a,_0x37a218._0x1982ab,0x520,0x505)])||_0x50809b['mkdirSync'](this[_0x1ad0db(-0x116,-0x164,-0x13f,-_0x37a218._0x338840)],{'recursive':!0x0});}catch(_0x2253a7){console[_0x5b45ce(_0x37a218._0x5a3ed6,_0x37a218._0x133935,_0x37a218._0x31c43c,_0x37a218._0xe80dad)]('Failed\x20to\x20create\x20log\x20directory\x20at\x20'+this[_0x1ad0db(-_0x37a218._0x41dbce,-_0x37a218._0x4e12da,-0x13f,-_0x37a218._0x56f24e)]+':',_0x2253a7);}}['getWriteStream'](){const _0x36e30b={_0x2d0e0d:0x540,_0x2a0356:0x519,_0x29386b:0x35e,_0x4cb71b:0x348,_0x9d04d0:0x32d,_0x3db02f:0x324,_0x55702c:0x309,_0xdfa321:0x521,_0x265c91:0x51d,_0x4caa77:0x528},_0xf7fb14={_0x464d93:0x126,_0x38a8bb:0x1d0},_0x109d01={_0x3d8440:0x39};function _0x8f38c3(_0x296290,_0x150271,_0x11c614,_0x3c4efe){return _0x33ec4c(_0x296290-0xf4,_0x11c614- -_0x109d01._0x3d8440,_0x150271,_0x3c4efe-0xe3);}function _0xb17016(_0x3ba4e3,_0x47b5b5,_0x1c2ddd,_0x5ea3c5){return _0x33ec4c(_0x3ba4e3-_0xf7fb14._0x464d93,_0x3ba4e3-_0xf7fb14._0x38a8bb,_0x47b5b5,_0x5ea3c5-0xdb);}return(!this[_0xb17016(0x540,0x524,0x551,0x530)]||this[_0xb17016(_0x36e30b._0x2d0e0d,0x538,_0x36e30b._0x2a0356,0x55c)]['destroyed'])&&(this[_0x8f38c3(0x310,_0x36e30b._0x29386b,0x337,_0x36e30b._0x4cb71b)]=_0x50809b[_0x8f38c3(_0x36e30b._0x9d04d0,_0x36e30b._0x3db02f,_0x36e30b._0x55702c,0x2f4)](this[_0xb17016(_0x36e30b._0xdfa321,_0x36e30b._0x265c91,0x527,0x527)],{'flags':'w'})),this[_0xb17016(0x540,0x52e,_0x36e30b._0x4caa77,0x531)];}[_0x4c6f15(-0x122,-0xfe,-0x123,-0x115)](){const _0x17e6ee={_0x4c960d:0x6e,_0x20b495:0x9b,_0x3f6ffd:0x17d,_0x33bc3d:0x18f,_0x143971:0x1b1,_0x5d154c:0x1a7,_0x314934:0x79,_0x28d42e:0x80,_0x588369:0x7f,_0x41d16e:0x16,_0x2eef9c:0x42,_0x3da9a9:0x172,_0x2a1ccb:0x161,_0x15e27c:0x188},_0x479c3e={_0x116116:0x2d7},_0x3ee568={_0x4b8477:0xd9,_0x310e71:0x144};function _0x48b13c(_0x12a09d,_0x306d4b,_0x5e681c,_0x2af19d){return _0x4c6f15(_0x2af19d-_0x3ee568._0x4b8477,_0x306d4b-_0x3ee568._0x310e71,_0x5e681c-0x2b,_0x12a09d);}function _0x5175f1(_0x3ce25e,_0x39a31a,_0x223923,_0x3c6f3f){return _0x4c6f15(_0x39a31a-_0x479c3e._0x116116,_0x39a31a-0x83,_0x223923-0x8e,_0x3c6f3f);}try{if(!_0x50809b[_0x48b13c(-0x79,-_0x17e6ee._0x4c960d,-_0x17e6ee._0x20b495,-0x81)](this[_0x5175f1(_0x17e6ee._0x3f6ffd,_0x17e6ee._0x33bc3d,_0x17e6ee._0x143971,_0x17e6ee._0x5d154c)]))return;_0x50809b['statSync'](this['logFilePath'])[_0x48b13c(-0x68,-_0x17e6ee._0x314934,-0x82,-_0x17e6ee._0x28d42e)]>=this['maxFileSize']&&this[_0x48b13c(-0x8d,-0x74,-_0x17e6ee._0x588369,-0x73)]();}catch(_0xdc3508){console[_0x48b13c(-_0x17e6ee._0x41d16e,-0x2e,-_0x17e6ee._0x2eef9c,-0x3d)](_0x5175f1(0x15d,_0x17e6ee._0x3da9a9,_0x17e6ee._0x2a1ccb,_0x17e6ee._0x15e27c),_0xdc3508);}}[_0x33ec4c(0x372,0x34d,0x349,0x374)](){const _0x28b4ce={_0x30cbb7:0x240,_0x3d3811:0x269,_0x1e930f:0x242,_0x4b7e8d:0xf5,_0x4ade78:0x115,_0x35f4a8:0x107,_0x52d798:0x260,_0x37f873:0x14d,_0x3d5b7e:0x146,_0x308534:0x257,_0x5c577f:0x25b,_0x5579c2:0x20a,_0x5d359a:0x23f,_0x5cb4aa:0x22a},_0x16473e={_0x32337c:0x14},_0x39071={_0x39f792:0x41,_0x44600f:0x5b1,_0x491911:0xcb};function _0xe57151(_0x134192,_0x169209,_0x20189a,_0x25e4de){return _0x33ec4c(_0x134192-_0x39071._0x39f792,_0x20189a- -_0x39071._0x44600f,_0x25e4de,_0x25e4de-_0x39071._0x491911);}function _0x1d918e(_0x4bbcc1,_0x39d599,_0x47cd82,_0x21e6e1){return _0x4c6f15(_0x39d599-_0x16473e._0x32337c,_0x39d599-0x33,_0x47cd82-0x14e,_0x4bbcc1);}try{this[_0xe57151(-_0x28b4ce._0x30cbb7,-0x24d,-0x241,-_0x28b4ce._0x3d3811)]&&(this[_0xe57151(-_0x28b4ce._0x1e930f,-0x218,-0x241,-0x265)]['end'](),this[_0x1d918e(-_0x28b4ce._0x4b7e8d,-_0x28b4ce._0x4ade78,-_0x28b4ce._0x35f4a8,-0x119)]=null);let _0x17dd15=this[_0xe57151(-0x242,-0x26a,-_0x28b4ce._0x52d798,-0x244)],_0x2881c3=_0x17dd15+'.'+this['maxFiles'];_0x50809b[_0x1d918e(-_0x28b4ce._0x37f873,-_0x28b4ce._0x3d5b7e,-0x167,-0x137)](_0x2881c3)&&_0x50809b[_0x1d918e(-0x102,-0x111,-0x125,-0x13b)](_0x2881c3);for(let _0x42c19e=this[_0xe57151(-0x23e,-0x246,-_0x28b4ce._0x308534,-_0x28b4ce._0x5c577f)]-0x1;_0x42c19e>=0x1;_0x42c19e--){let _0x32b7a7=_0x17dd15+'.'+_0x42c19e,_0x1f6801=_0x17dd15+'.'+(_0x42c19e+0x1);_0x50809b[_0xe57151(-0x251,-0x27d,-0x272,-0x29a)](_0x32b7a7)&&_0x50809b['renameSync'](_0x32b7a7,_0x1f6801);}_0x50809b['existsSync'](_0x17dd15)&&_0x50809b[_0xe57151(-0x24d,-_0x28b4ce._0x5579c2,-0x233,-_0x28b4ce._0x5d359a)](_0x17dd15,_0x17dd15+'.1');}catch(_0x119eba){console[_0x1d918e(-0x12b,-0x102,-0x113,-0x10c)](_0xe57151(-_0x28b4ce._0x5cb4aa,-0x250,-0x23b,-0x24e),_0x119eba);}}['formatMessage'](_0x403cc9,_0x1d9a83,_0x10f885){const _0x56aa34={_0x7034ea:0x3b5,_0x434d75:0x3af,_0x565db5:0x3a8,_0x4f6880:0x49a,_0x4c360c:0x39b,_0x38c5db:0x38e,_0x4247f5:0x375,_0x239cda:0x3d4,_0x3570d4:0x3fd,_0x4601a9:0x3be},_0xd31f51={_0x4c40b1:0x5,_0x14d6cf:0x12c},_0x3d5954={_0x54df0c:0x12d,_0x39cc72:0x24};let _0x45131d=[];function _0x4ab589(_0x3c64ad,_0x4b303a,_0x1e8a26,_0x2e94f7){return _0x33ec4c(_0x3c64ad-_0x3d5954._0x54df0c,_0x1e8a26-0x11b,_0x4b303a,_0x2e94f7-_0x3d5954._0x39cc72);}function _0x55dcc0(_0x224b71,_0x350774,_0xde12a9,_0xf51a28){return _0x33ec4c(_0x224b71-_0xd31f51._0x4c40b1,_0x224b71-0x69,_0xf51a28,_0xf51a28-_0xd31f51._0x14d6cf);}if(this[_0x55dcc0(_0x56aa34._0x7034ea,0x3a9,_0x56aa34._0x434d75,0x391)]&&_0x45131d[_0x55dcc0(0x39b,0x38c,_0x56aa34._0x565db5,0x380)]('['+new Date()[_0x4ab589(0x4aa,0x476,_0x56aa34._0x4f6880,0x4bd)]()+']'),_0x45131d[_0x55dcc0(_0x56aa34._0x4c360c,0x396,_0x56aa34._0x38c5db,_0x56aa34._0x4247f5)]('['+_0x403cc9['toUpperCase']()+']'),_0x45131d[_0x55dcc0(0x39b,0x39c,0x3b7,0x39e)](_0x1d9a83),_0x10f885!==void 0x0)try{_0x45131d[_0x55dcc0(0x39b,0x381,0x3b2,0x3bd)](JSON[_0x55dcc0(_0x56aa34._0x239cda,_0x56aa34._0x3570d4,_0x56aa34._0x4601a9,0x3d0)](_0x10f885,null,0x2));}catch{_0x45131d['push'](String(_0x10f885));}return _0x45131d['join']('\x20');}[_0x4c6f15(-0x11d,-0x129,-0x145,-0x141)](_0x2c0a2f){const _0x1b7bd7={_0x11dff2:0x3ea,_0xf5d559:0x3ea,_0x1f122e:0x3e4},_0xe37d5b={_0x14865c:0xdf};function _0x59c7f1(_0x240d28,_0x1bb5b1,_0x11563b,_0x50c114){return _0x33ec4c(_0x240d28-0x1e0,_0x1bb5b1-0x8a,_0x50c114,_0x50c114-_0xe37d5b._0x14865c);}return T[_0x2c0a2f]>=T[this[_0x59c7f1(_0x1b7bd7._0x11dff2,_0x1b7bd7._0xf5d559,_0x1b7bd7._0x1f122e,0x3ce)]];}[_0x4c6f15(-0x132,-0x142,-0x11b,-0x112)](_0x20d86f,_0x1d96c8,_0x3990cf){const _0x8f3007={_0x47c56e:0x303,_0x25a2e7:0x248,_0x276b8b:0x229,_0x484f84:0x26e,_0x5a05e0:0x2ee,_0x573c94:0x2f8,_0x4a6357:0x2e2,_0x16a5c5:0x30c,_0x3a7a1f:0x31d,_0x4336c6:0x2f7,_0x2e063f:0x27d,_0x37f1ba:0x2a7,_0x4a6155:0x291,_0x5e4543:0x257,_0x2e692d:0x26f,_0x1acb23:0x247,_0x10c4cc:0x235};if(!this[_0x35f1b1(_0x8f3007._0x47c56e,0x313,0x2f0,0x2ce)](_0x20d86f))return;let _0x35fa03=this[_0x35f7a1(-0x25d,-0x234,-0x23e,-_0x8f3007._0x25a2e7)](_0x20d86f,_0x1d96c8,_0x3990cf);this['checkAndRotate']();try{this[_0x35f7a1(-0x24c,-_0x8f3007._0x276b8b,-0x243,-_0x8f3007._0x484f84)]()['write'](_0x35fa03+'\x0a');}catch(_0x138159){console['error']('Error\x20writing\x20to\x20log\x20file:',_0x138159);}function _0x35f1b1(_0x4341e5,_0x4f2a51,_0x4f0063,_0x263aa6){return _0x33ec4c(_0x4341e5-0x19e,_0x4f0063- -0x8c,_0x263aa6,_0x263aa6-0x1ea);}function _0x35f7a1(_0x5087a3,_0x18e264,_0x2a6e14,_0x40044e){return _0x4c6f15(_0x5087a3- -0x10b,_0x18e264-0xd2,_0x2a6e14-0x171,_0x18e264);}this[_0x35f1b1(0x2cf,0x2cb,_0x8f3007._0x5a05e0,_0x8f3007._0x573c94)]&&(_0x20d86f===_0x35f1b1(0x309,0x2fd,0x2f7,_0x8f3007._0x4a6357)?console[_0x35f1b1(_0x8f3007._0x16a5c5,_0x8f3007._0x3a7a1f,_0x8f3007._0x4336c6,0x2d1)]:_0x20d86f===_0x35f1b1(0x2ab,_0x8f3007._0x2e063f,_0x8f3007._0x37f1ba,_0x8f3007._0x4a6155)?console[_0x35f7a1(-0x271,-_0x8f3007._0x5e4543,-_0x8f3007._0x2e692d,-_0x8f3007._0x1acb23)]:console[_0x35f7a1(-0x25e,-0x25e,-_0x8f3007._0x10c4cc,-0x23c)])(_0x35fa03);}[_0x33ec4c(0x381,0x382,0x386,0x397)](_0x1ddfed,_0xe6a6b5){const _0x2ca4f0={_0x1dede7:0x494,_0x2f2144:0x4dc,_0x39b3c9:0x4e4,_0x4513ea:0x4ac},_0x3bc139={_0x11bdeb:0x15a,_0x3a730f:0x114},_0x4a9f12={_0x575065:0x49,_0x1e209e:0x19c,_0x468ba9:0x147};function _0x4a4862(_0x8d17b9,_0x5ed73b,_0x13784d,_0x1c2974){return _0x33ec4c(_0x8d17b9-_0x4a9f12._0x575065,_0x8d17b9- -_0x4a9f12._0x1e209e,_0x13784d,_0x1c2974-_0x4a9f12._0x468ba9);}function _0x162004(_0x2772c2,_0x3d53eb,_0x340e30,_0x30e3de){return _0x4c6f15(_0x340e30-0x5e6,_0x3d53eb-_0x3bc139._0x11bdeb,_0x340e30-_0x3bc139._0x3a730f,_0x30e3de);}this[_0x162004(_0x2ca4f0._0x1dede7,0x48c,0x4b4,0x49e)](_0x162004(_0x2ca4f0._0x2f2144,_0x2ca4f0._0x39b3c9,0x4cf,_0x2ca4f0._0x4513ea),_0x1ddfed,_0xe6a6b5);}['info'](_0x5e644a,_0x7afa67){this['write']('info',_0x5e644a,_0x7afa67);}[_0x33ec4c(0x308,0x333,0x318,0x328)](_0x890c43,_0x13d0ab){this['write']('warn',_0x890c43,_0x13d0ab);}[_0x33ec4c(0x369,0x383,0x381,0x393)](_0x4e2175,_0x3a1b1f){this['write']('error',_0x4e2175,_0x3a1b1f);}[_0x4c6f15(-0x158,-0x140,-0x17d,-0x166)](){const _0x25e8c0={_0x466807:0x545,_0x3ede55:0x562,_0x26076a:0x528,_0x2004d4:0x110,_0x4e38d8:0xdb},_0x1fb8d2={_0x190efd:0x97,_0x8de293:0x26c,_0x1ad116:0x3},_0x38a511={_0xebeac9:0x6b};function _0x3ec618(_0x1ad00b,_0x35f94c,_0x1beacf,_0x450f98){return _0x33ec4c(_0x1ad00b-0x88,_0x35f94c-0x1d5,_0x1beacf,_0x450f98-_0x38a511._0xebeac9);}function _0x12c8b8(_0x265726,_0x59ff1d,_0x47a10d,_0x5a90ce){return _0x33ec4c(_0x265726-_0x1fb8d2._0x190efd,_0x265726- -_0x1fb8d2._0x8de293,_0x47a10d,_0x5a90ce-_0x1fb8d2._0x1ad116);}this[_0x3ec618(0x526,_0x25e8c0._0x466807,_0x25e8c0._0x3ede55,_0x25e8c0._0x26076a)]&&(this['writeStream']['end'](),this[_0x12c8b8(0x104,0x113,_0x25e8c0._0x2004d4,_0x25e8c0._0x4e38d8)]=null);}[_0x33ec4c(0x399,0x385,0x361,0x394)](){const _0x38e4a3={_0x32b5c1:0x3da,_0xaf6329:0x403,_0x2f350e:0x401},_0x39b7b4={_0x1a610c:0x522,_0x2cc75f:0xe5,_0x976a12:0x8c};function _0xa9d537(_0x401603,_0x1cc61c,_0x4d38ef,_0x25b267){return _0x4c6f15(_0x1cc61c-_0x39b7b4._0x1a610c,_0x1cc61c-_0x39b7b4._0x2cc75f,_0x4d38ef-_0x39b7b4._0x976a12,_0x25b267);}return this[_0xa9d537(0x403,_0x38e4a3._0x32b5c1,_0x38e4a3._0xaf6329,_0x38e4a3._0x2f350e)];}[_0x4c6f15(-0x155,-0x15f,-0x12b,-0x160)](){const _0x534c92={_0x100aba:0x547,_0x1660a1:0x17e,_0x4fc1eb:0x176,_0x24c500:0x16d,_0x277b11:0x54d,_0x446ef2:0x538,_0x35f599:0x134,_0xa67a57:0x148,_0x24ccd3:0x13e},_0x19ff04={_0xaea76e:0xac,_0x5264a3:0x139},_0x397bea={_0x7edb0e:0x25,_0x367b53:0xf6};function _0x171784(_0x142b4e,_0x171b6e,_0x2ade85,_0x488d86){return _0x4c6f15(_0x2ade85- -_0x397bea._0x7edb0e,_0x171b6e-0x1af,_0x2ade85-_0x397bea._0x367b53,_0x142b4e);}function _0xc6c45e(_0x29bd8d,_0x3d554a,_0x1b69bf,_0x3e0db7){return _0x33ec4c(_0x29bd8d-_0x19ff04._0xaea76e,_0x3d554a-0x1e7,_0x3e0db7,_0x3e0db7-_0x19ff04._0x5264a3);}try{this['close'](),_0x50809b[_0xc6c45e(0x524,0x526,_0x534c92._0x100aba,0x522)](this[_0x171784(-0x16b,-0x17b,-0x16d,-_0x534c92._0x1660a1)])&&_0x50809b[_0x171784(-0x172,-0x14f,-0x14a,-0x167)](this[_0x171784(-_0x534c92._0x4fc1eb,-0x171,-_0x534c92._0x24c500,-0x157)]);for(let _0x3856c5=0x1;_0x3856c5<=this['maxFiles'];_0x3856c5++){let _0x335728=this[_0xc6c45e(_0x534c92._0x277b11,_0x534c92._0x446ef2,_0x534c92._0x100aba,0x545)]+'.'+_0x3856c5;_0x50809b['existsSync'](_0x335728)&&_0x50809b[_0x171784(-_0x534c92._0x35f599,-0x165,-0x14a,-_0x534c92._0xa67a57)](_0x335728);}}catch(_0x402405){console[_0x171784(-0x118,-_0x534c92._0x24ccd3,-0x13b,-0x159)]('Error\x20clearing\x20log\x20files:',_0x402405);}}},L=null;function F(_0xbcd119){const _0x5872fd={_0x296b8c:0x31d,_0x7fe12f:0x31b,_0x1c3736:0x301,_0x356405:0x340},_0x28ee08={_0x4c576c:0x1b3,_0x5b6540:0x18b};function _0x47539d(_0xf98b35,_0x2e4f73,_0x1ca94e,_0x4c3900){return _0x4c6f15(_0xf98b35-0x433,_0x2e4f73-_0x28ee08._0x4c576c,_0x1ca94e-_0x28ee08._0x5b6540,_0x1ca94e);}return L||(L=new x({'logDir':'.','minLevel':_0x47539d(_0x5872fd._0x296b8c,_0x5872fd._0x7fe12f,_0x5872fd._0x1c3736,_0x5872fd._0x356405),..._0xbcd119})),L;}var V=F();function p(){const _0x20eba4={_0x10069f:0x2e1,_0x712d37:0x2c5,_0x25ce1f:0x2d0,_0x20d44e:0x2ae,_0x2c9d1a:0x298,_0x2768fb:0x299},_0x21fe90={_0x5d2534:0x56,_0x469035:0xb1,_0x3bf42b:0x8a};function _0x28c49a(_0x1daf92,_0x3ce7b2,_0x36e19b,_0x5c2902){return _0x4c6f15(_0x5c2902-0x402,_0x3ce7b2-0x145,_0x36e19b-0x0,_0x36e19b);}function _0xd1915(_0x95771b,_0x3b0046,_0x253a52,_0x4cb8df){return _0x33ec4c(_0x95771b-_0x21fe90._0x5d2534,_0x253a52- -_0x21fe90._0x469035,_0x4cb8df,_0x4cb8df-_0x21fe90._0x3bf42b);}return _0x22ae5b[_0x28c49a(0x2cb,_0x20eba4._0x10069f,0x2d9,_0x20eba4._0x712d37)](_0x2b7300['homedir'](),_0x28c49a(_0x20eba4._0x25ce1f,0x2c6,_0x20eba4._0x20d44e,0x2d7),_0xd1915(_0x20eba4._0x2c9d1a,_0x20eba4._0x2768fb,0x2b0,0x2c8));}async function I(_0x2de66b){const _0x3a706b={_0x1208ed:0x473,_0x507081:0x490,_0x2e1e52:0x4ab,_0x17b357:0x4b2,_0x4c7854:0x487,_0x4dff10:0x4c1,_0x57816e:0x496,_0x476417:0x46b,_0x5a130b:0x243,_0x5be00b:0x24d,_0x3d4a6c:0x252,_0x43e526:0x239},_0x595118={_0x41b4f2:0x5bc,_0x239735:0x28,_0x107bfc:0x162};function _0x5f3951(_0x3686ab,_0x100009,_0x5df43c,_0xe7fcb9){return _0x4c6f15(_0x100009-_0x595118._0x41b4f2,_0x100009-_0x595118._0x239735,_0x5df43c-_0x595118._0x107bfc,_0xe7fcb9);}function _0x30535e(_0xf383d,_0x5897d9,_0x57af41,_0x251812){return _0x33ec4c(_0xf383d-0x141,_0x251812- -0x581,_0x5897d9,_0x251812-0x19f);}try{let _0x522f10=await _0x52d301[_0x5f3951(_0x3a706b._0x1208ed,_0x3a706b._0x507081,_0x3a706b._0x2e1e52,_0x3a706b._0x17b357)](_0x2de66b,_0x5f3951(_0x3a706b._0x4c7854,0x472,0x455,0x454));if(!_0x522f10||!_0x522f10[_0x5f3951(_0x3a706b._0x4dff10,_0x3a706b._0x57816e,0x491,0x49c)]())return null;let _0x23f7cf=JSON[_0x5f3951(_0x3a706b._0x476417,0x479,0x492,0x45e)](_0x522f10);return _0x23f7cf??null;}catch(_0x412174){if(_0x412174?.[_0x5f3951(0x467,0x48f,0x4b8,0x49a)]===_0x30535e(-_0x3a706b._0x5a130b,-_0x3a706b._0x5be00b,-_0x3a706b._0x3d4a6c,-_0x3a706b._0x43e526))return null;throw _0x412174;}}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0xb500d1=>{const _0x2ea22d={_0x45b021:0xcd,_0xd4b1b7:0x105,_0x3c2351:0xf6,_0xe5fdd7:0x84,_0x57b33f:0x1ec,_0x20c358:0x1e8,_0x4c008e:0x1fa,_0x201153:0xac,_0x390614:0x95,_0x5b1b25:0xbf,_0x2f3832:0xc2,_0x3f09fb:0xff,_0x587b59:0xc3,_0x6b41b0:0xde,_0x433712:0x225,_0x312afd:0x244},_0x1367d9={_0x19c79e:0x4d3,_0x174457:0x4dc,_0x415d4b:0x54e,_0x5d3d59:0x4e3,_0x497661:0x50d,_0xdc7f25:0x51a,_0x2dd1cf:0x55c,_0x227359:0x4dd,_0x1562d5:0x52f,_0x5df553:0x50f,_0x1fd5aa:0x4f1,_0x43bc50:0x519,_0x1e6c50:0x4f0,_0x203640:0x4b1,_0x3f4fa4:0x4d0,_0x500461:0x4b8,_0x373f21:0x4fc,_0x3823c1:0x4db,_0x6092d0:0x4d5,_0x2e4b90:0x4f1,_0x193d0a:0x4d2,_0x8bc2a7:0x4d8,_0xa91769:0x4b0,_0x5d0547:0x4cb,_0x3aa0b4:0x53b,_0x18b424:0x560,_0x57574f:0x4bc,_0x258c23:0x4d0,_0x536ec1:0x4bd,_0x33569b:0x513,_0x51e2eb:0x532,_0x56436a:0x510,_0x5e3d80:0x534,_0x1f4bc6:0x517,_0x21661d:0x53c,_0x1cacbf:0x4df,_0xced1c1:0x4eb,_0x12ed0c:0x4c0,_0x50e487:0x4f5,_0x4127c4:0x53d,_0x1e3a7e:0x51e,_0x5a2631:0x4f6,_0x4f18d6:0x507,_0x3e94df:0x51b,_0x1a588b:0x530,_0x13058c:0x566,_0x1ded6a:0x573},_0x3b14ef={_0x477a82:0x5a8,_0x33c546:0xae},_0x2f2f58={_0x495ef6:0x171},_0x545360={_0x18f939:0x414,_0x80c3e7:0x171};function _0x4a6401(_0x2c9903,_0x359cf2,_0x1dc859,_0x3855ea){return _0x33ec4c(_0x2c9903-0x171,_0x2c9903- -_0x545360._0x18f939,_0x3855ea,_0x3855ea-_0x545360._0x80c3e7);}function _0x351216(_0x9913d5,_0x4f2b11,_0x36d59b,_0x19cf99){return _0x4c6f15(_0x9913d5- -0xc5,_0x4f2b11-0xc2,_0x36d59b-_0x2f2f58._0x495ef6,_0x4f2b11);}let _0x580468=j[_0x4a6401(-0xdd,-_0x2ea22d._0x45b021,-_0x2ea22d._0xd4b1b7,-_0x2ea22d._0x3c2351)](_0xb500d1);if(_0x580468&&Date[_0x4a6401(-0x90,-0x93,-_0x2ea22d._0xe5fdd7,-0x7e)]()-_0x580468[_0x351216(-_0x2ea22d._0x57b33f,-_0x2ea22d._0x20c358,-_0x2ea22d._0x4c008e,-0x1e8)]<A)return W[_0x4a6401(-_0x2ea22d._0x201153,-_0x2ea22d._0x390614,-0xb6,-_0x2ea22d._0x5b1b25)]('Cache\x20hit:',_0xb500d1),_0x580468[_0x4a6401(-0xd7,-0xdd,-_0x2ea22d._0x2f3832,-_0x2ea22d._0x3f09fb)];let _0x2c1e50=k[_0x4a6401(-0xdd,-_0x2ea22d._0x587b59,-_0x2ea22d._0x6b41b0,-0xe0)](_0xb500d1);if(_0x2c1e50)return _0x2c1e50;let _0x25904d=((async()=>{const _0x205c5e={_0x5c0da0:0x740,_0x2ec1b8:0x1c2};function _0x29a4a4(_0x18cb8e,_0x28a23f,_0x14ffec,_0x77a242){return _0x351216(_0x28a23f-_0x205c5e._0x5c0da0,_0x14ffec,_0x14ffec-0xf2,_0x77a242-_0x205c5e._0x2ec1b8);}function _0x425839(_0x28c0a4,_0x971a45,_0x1e2d10,_0x1a3404){return _0x4a6401(_0x971a45-_0x3b14ef._0x477a82,_0x971a45-0x12c,_0x1e2d10-_0x3b14ef._0x33c546,_0x1e2d10);}try{let _0x4e86ef=p();if(!_0x167345[_0x425839(0x4f4,_0x1367d9._0x19c79e,0x4fe,_0x1367d9._0x174457)](_0x4e86ef))return[];let _0x1d616f=(await _0x52d301[_0x29a4a4(0x54f,0x53d,_0x1367d9._0x415d4b,0x54a)](_0x4e86ef,{'withFileTypes':!0x0}))[_0x425839(_0x1367d9._0x5d3d59,_0x1367d9._0x497661,_0x1367d9._0xdc7f25,0x4f7)](_0x3e7f8b=>_0x3e7f8b[_0x425839(0x4a1,0x4c5,0x4a4,0x49a)]())['map'](_0x278bfb=>_0x278bfb[_0x29a4a4(0x52b,0x52b,0x502,0x50a)]);_0x1d616f[_0x29a4a4(0x547,0x539,0x50e,_0x1367d9._0x2dd1cf)]((_0x487cac,_0x3fdb21)=>parseInt(_0x3fdb21,0xa)-parseInt(_0x487cac,0xa));let _0x2c755d=[];for(let _0x59bfbe of _0x1d616f){if(_0xb500d1&&_0x2c755d['length']>=_0xb500d1)break;let _0x8ee8f7=_0x22ae5b[_0x425839(0x4f1,0x4f0,_0x1367d9._0x227359,0x4cd)](_0x4e86ef,_0x59bfbe,_0x425839(_0x1367d9._0x1562d5,_0x1367d9._0x5df553,_0x1367d9._0x1fd5aa,_0x1367d9._0x43bc50));try{let _0x1b7a1f=await I(_0x8ee8f7);if(!_0x1b7a1f)continue;let _0x2662ea=_0x1b7a1f?.['cli']??[];if(_0x2662ea['length']===0x0)continue;let _0x10771b=_0x425839(0x4ec,0x4fe,_0x1367d9._0x1e6c50,0x518);for(let _0x4c091e=_0x2662ea[_0x425839(_0x1367d9._0x203640,_0x1367d9._0x3f4fa4,_0x1367d9._0x500461,0x4b2)]-0x1;_0x4c091e>=0x0;_0x4c091e--){let _0x14fc1b=_0x2662ea[_0x4c091e];if(!_0x14fc1b||typeof _0x14fc1b!=_0x425839(_0x1367d9._0x373f21,0x4e4,_0x1367d9._0x3823c1,_0x1367d9._0x6092d0))continue;let _0x37aba0=_0x14fc1b;if(_0x37aba0[_0x425839(0x518,_0x1367d9._0x2e4b90,_0x1367d9._0x193d0a,0x4ec)]===_0x425839(0x504,0x4e2,_0x1367d9._0x8bc2a7,0x4c5)){let _0x4752ec=_0x37aba0[_0x425839(0x4bc,0x4cf,_0x1367d9._0xa91769,_0x1367d9._0x5d0547)];_0x10771b=typeof _0x4752ec=='string'?_0x4752ec:'';break;}}let _0x510516=_0x1b7a1f?.[_0x29a4a4(0x541,_0x1367d9._0x3aa0b4,0x52f,_0x1367d9._0x18b424)],_0x40e78a=_0x510516&&_0x510516[_0x425839(_0x1367d9._0x57574f,_0x1367d9._0x258c23,0x4cb,_0x1367d9._0x536ec1)]>0x0?_0x510516[0x0]:null,_0x330ad3=_0x40e78a&&typeof _0x40e78a==_0x29a4a4(_0x1367d9._0x33569b,_0x1367d9._0x51e2eb,0x51c,_0x1367d9._0x56436a)&&_0x29a4a4(_0x1367d9._0x5e3d80,_0x1367d9._0x1f4bc6,_0x1367d9._0x21661d,0x530)in _0x40e78a?_0x40e78a[_0x425839(0x4ed,0x4c9,_0x1367d9._0x1cacbf,_0x1367d9._0xced1c1)]:void 0x0,_0x3a73f1=new Date(parseInt(_0x59bfbe,0xa))[_0x425839(_0x1367d9._0x12ed0c,0x4e6,_0x1367d9._0x50e487,0x4e4)]();_0x2c755d['push']({'sessionId':_0x59bfbe,'timestamp':_0x3a73f1,'lastMessage':_0x10771b,'messageCount':_0x2662ea[_0x29a4a4(_0x1367d9._0x4127c4,_0x1367d9._0x1e3a7e,_0x1367d9._0x5a2631,0x539)],'topic':_0x330ad3});}catch{}}return j[_0x29a4a4(_0x1367d9._0x4f18d6,_0x1367d9._0x3e94df,_0x1367d9._0x4f18d6,_0x1367d9._0x1a588b)](_0xb500d1,{'timestamp':Date[_0x29a4a4(0x588,_0x1367d9._0x13058c,_0x1367d9._0x1ded6a,0x53f)](),'data':_0x2c755d}),_0x2c755d;}finally{k['delete'](_0xb500d1);}})());return k[_0x351216(-_0x2ea22d._0x433712,-_0x2ea22d._0x312afd,-0x210,-0x209)](_0xb500d1,_0x25904d),_0x25904d;},H=async _0xe9841b=>{const _0x5c7afa={_0x54c5cc:0x1f8,_0x33dd7b:0x21b,_0x50c76d:0x1d6,_0x7f4b12:0x1d0,_0x41ac1d:0x1cf,_0x2be9e5:0x1c2,_0x4f6e09:0x1c3},_0x11483b={_0x2b3fda:0x18c,_0x508041:0xcf},_0x1fb33c={_0x3208bd:0x5a9,_0x335be6:0x180,_0x38acc9:0x177};let _0x46220f=_0xe9841b??String(Date[_0x547bec(_0x5c7afa._0x54c5cc,0x1f7,_0x5c7afa._0x33dd7b,_0x5c7afa._0x50c76d)]()),_0x1fc620=p(),_0x3abfd2=_0x22ae5b[_0x547bec(_0x5c7afa._0x7f4b12,0x1c7,_0x5c7afa._0x41ac1d,0x1f1)](_0x1fc620,_0x46220f);function _0x1194c4(_0x3c1f55,_0x203899,_0x5a451b,_0x10291c){return _0x4c6f15(_0x203899-_0x1fb33c._0x3208bd,_0x203899-_0x1fb33c._0x335be6,_0x5a451b-_0x1fb33c._0x38acc9,_0x5a451b);}try{await _0x52d301[_0x547bec(0x1d9,_0x5c7afa._0x2be9e5,_0x5c7afa._0x4f6e09,0x1bc)](_0x3abfd2,{'recursive':!0x0});}catch{}function _0x547bec(_0x10cf6d,_0x52253e,_0x49f13a,_0x1852a0){return _0x33ec4c(_0x10cf6d-0x31,_0x10cf6d- -_0x11483b._0x2b3fda,_0x52253e,_0x1852a0-_0x11483b._0x508041);}return{'sessionId':_0x46220f,'sessionDir':_0x3abfd2};},_=async _0x3e02c9=>{const _0x5da466={_0x366f8b:0x203,_0x5b7c75:0x217,_0xc5fe33:0x1e3,_0x5e4d6d:0x1f1,_0x488bfc:0x20b,_0x4ad36c:0x222,_0x490a1d:0x225,_0x1e069d:0x231,_0x35ffb5:0x262,_0x1a362f:0x224,_0x3c395e:0x222,_0x1f6a4c:0x1f9,_0x30e355:0x21a,_0x56a3ed:0x1cd,_0x68aefb:0x1c1,_0x19fb0c:0x1ca,_0x460a7c:0x1e4,_0x542125:0x1fe,_0x1959df:0x1ec,_0x3284ca:0x1ed,_0x18996c:0x1fa,_0x337d90:0x1b6,_0xc2da3b:0x1b4,_0x34a14a:0x1cb,_0x4dbfe0:0x205},_0x5960d6={_0x32f39a:0xd,_0x4c2e18:0x39};function _0x48b488(_0x42e90b,_0x1aef9d,_0x2a8df6,_0x3e570a){return _0x4c6f15(_0x42e90b- -0xea,_0x1aef9d-_0x5960d6._0x32f39a,_0x2a8df6-_0x5960d6._0x4c2e18,_0x3e570a);}function _0x5c73b0(_0x247e0d,_0x1a485d,_0xddeb40,_0x48f0e3){return _0x33ec4c(_0x247e0d-0x14c,_0xddeb40- -0x171,_0x1a485d,_0x48f0e3-0x176);}try{let _0xc9757=await I(_0x3e02c9);if(!_0xc9757)return{'kind':_0x48b488(-_0x5da466._0x366f8b,-_0x5da466._0x5b7c75,-0x22e,-_0x5da466._0xc5fe33),'reason':_0x5c73b0(0x205,0x1f4,_0x5da466._0x5e4d6d,0x1f6)};let _0x228c75=_0xc9757[_0x48b488(-_0x5da466._0x488bfc,-_0x5da466._0x4ad36c,-0x222,-_0x5da466._0x490a1d)]||[];if(_0x228c75[_0x48b488(-0x247,-_0x5da466._0x1e069d,-_0x5da466._0x35ffb5,-_0x5da466._0x1a362f)]===0x0)return{'kind':_0x48b488(-_0x5da466._0x366f8b,-0x1e8,-_0x5da466._0x3c395e,-_0x5da466._0x1f6a4c),'reason':'no_messages'};let {processMessageToUILines:_0xc3a9f9}=await import(_0x48b488(-0x220,-0x220,-_0x5da466._0x30e355,-0x241)),_0x3afcec=[];for(let _0x37c45f of _0x228c75)_0x3afcec[_0x5c73b0(0x1e5,_0x5da466._0x56a3ed,_0x5da466._0x68aefb,0x1b2)](..._0xc3a9f9(_0x37c45f));let _0xaa2978=null;for(let _0x3e25a3=_0x228c75[_0x5c73b0(0x1b4,_0x5da466._0x19fb0c,0x1cb,_0x5da466._0x460a7c)]-0x1;_0x3e25a3>=0x0;_0x3e25a3--)if(_0x228c75[_0x3e25a3][_0x5c73b0(_0x5da466._0x542125,0x1d8,_0x5da466._0x1959df,_0x5da466._0x488bfc)]===_0x5c73b0(0x1dd,0x214,_0x5da466._0x3284ca,_0x5da466._0x18996c)){_0xaa2978={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':'messages','lines':_0x3afcec,'metadata':_0xaa2978,'cliMessages':_0x228c75,'count':_0x228c75[_0x5c73b0(_0x5da466._0x337d90,_0x5da466._0xc2da3b,_0x5da466._0x34a14a,0x1dd)]};}catch{return{'kind':_0x5c73b0(_0x5da466._0x4dbfe0,0x203,0x20f,0x23a),'reason':_0x5c73b0(0x1fd,0x1ed,0x1f1,0x1f6)};}},K=async _0x3bd17a=>{const _0x28feef={_0x35cf83:0x3f},_0x5439ee={_0x25107e:0x15a};function _0x153b7c(_0x5020d2,_0x266ffa,_0x3d2229,_0x265be4){return _0x4c6f15(_0x5020d2-0x13b,_0x266ffa-0x1d3,_0x3d2229-_0x5439ee._0x25107e,_0x3d2229);}let _0x5e4236=p(),_0x47ff92=_0x22ae5b['join'](_0x5e4236,_0x3bd17a,_0x153b7c(0x1d,0x1d,0x7,_0x28feef._0x35cf83));return _(_0x47ff92);},Y=_0x1a1ad0=>_0x22ae5b['join'](p(),_0x1a1ad0),Z=()=>{let [_0x145103,_0x559b8a]=_0x2e9303([]);return{'availableSessions':_0x145103,'setAvailableSessions':_0x559b8a,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':_,'createNewSession':H};};function _0x235d(_0x45fa49,_0x4b751e){_0x45fa49=_0x45fa49-0x141;const _0x33ace4=_0x33ac();let _0x235d2c=_0x33ace4[_0x45fa49];if(_0x235d['ZWgdEW']===undefined){var _0x3066fe=function(_0x2d3037){const _0x51184e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e9303='',_0x167345='';for(let _0x52d301=0x0,_0x22ae5b,_0x2b7300,_0x50809b=0x0;_0x2b7300=_0x2d3037['charAt'](_0x50809b++);~_0x2b7300&&(_0x22ae5b=_0x52d301%0x4?_0x22ae5b*0x40+_0x2b7300:_0x2b7300,_0x52d301++%0x4)?_0x2e9303+=String['fromCharCode'](0xff&_0x22ae5b>>(-0x2*_0x52d301&0x6)):0x0){_0x2b7300=_0x51184e['indexOf'](_0x2b7300);}for(let _0x586cec=0x0,_0x1510ac=_0x2e9303['length'];_0x586cec<_0x1510ac;_0x586cec++){_0x167345+='%'+('00'+_0x2e9303['charCodeAt'](_0x586cec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x167345);};_0x235d['hCjhaC']=_0x3066fe,_0x235d['pkhtxK']={},_0x235d['ZWgdEW']=!![];}const _0x400557=_0x33ace4[0x0],_0x515817=_0x45fa49+_0x400557,_0x47e529=_0x235d['pkhtxK'][_0x515817];return!_0x47e529?(_0x235d2c=_0x235d['hCjhaC'](_0x235d2c),_0x235d['pkhtxK'][_0x515817]=_0x235d2c):_0x235d2c=_0x47e529,_0x235d2c;}export{V as a,J as b,H as c,_ as d,K as e,Y as f,Z as g};
1
+ function _0x451c(_0x3f7a6b,_0x5b9d74){_0x3f7a6b=_0x3f7a6b-0xbf;const _0x323f57=_0x323f();let _0x451c37=_0x323f57[_0x3f7a6b];if(_0x451c['FDGYyA']===undefined){var _0x5fda=function(_0x48cfac){const _0x148968='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5209f2='',_0xf15a72='';for(let _0x41e0dd=0x0,_0x24bba8,_0x25522c,_0x48846d=0x0;_0x25522c=_0x48cfac['charAt'](_0x48846d++);~_0x25522c&&(_0x24bba8=_0x41e0dd%0x4?_0x24bba8*0x40+_0x25522c:_0x25522c,_0x41e0dd++%0x4)?_0x5209f2+=String['fromCharCode'](0xff&_0x24bba8>>(-0x2*_0x41e0dd&0x6)):0x0){_0x25522c=_0x148968['indexOf'](_0x25522c);}for(let _0x56d93a=0x0,_0x46a93=_0x5209f2['length'];_0x56d93a<_0x46a93;_0x56d93a++){_0xf15a72+='%'+('00'+_0x5209f2['charCodeAt'](_0x56d93a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf15a72);};_0x451c['BHDUdn']=_0x5fda,_0x451c['WOyoID']={},_0x451c['FDGYyA']=!![];}const _0x56999b=_0x323f57[0x0],_0x499694=_0x3f7a6b+_0x56999b,_0x587ee9=_0x451c['WOyoID'][_0x499694];return!_0x587ee9?(_0x451c37=_0x451c['BHDUdn'](_0x451c37),_0x451c['WOyoID'][_0x499694]=_0x451c37):_0x451c37=_0x587ee9,_0x451c37;}(function(_0xc23428,_0x55c97e){const _0x55365b={_0x29eef4:0x3a,_0x507e78:0x46,_0x310a78:0x37,_0x594ad8:0x88,_0x2d77c0:0xa5,_0xa26192:0x3c,_0x2dd541:0x58,_0x570af5:0xbf,_0x620dc0:0xe3,_0x457a8b:0xaa,_0x595bb6:0x85,_0x4d2d34:0xaa,_0x48ca60:0xb5,_0x43866d:0x3f,_0x4a47b:0x74,_0x45f091:0x8a,_0x2e4178:0x19,_0x48dbaf:0xcb,_0x757c22:0xc9,_0x5f1459:0xca};function _0x142489(_0x130eb6,_0x108aef,_0x55c75f,_0x5db83d){return _0x451c(_0x108aef- -0x189,_0x130eb6);}function _0x4fa1b6(_0x37c096,_0x25a6ec,_0x22cddb,_0x2d54c1){return _0x451c(_0x25a6ec- -0x131,_0x22cddb);}const _0x14a17f=_0xc23428();while(!![]){try{const _0x2a9528=-parseInt(_0x4fa1b6(-_0x55365b._0x29eef4,-_0x55365b._0x507e78,-0x64,-_0x55365b._0x310a78))/0x1*(parseInt(_0x142489(-0x7c,-_0x55365b._0x594ad8,-0x97,-_0x55365b._0x2d77c0))/0x2)+-parseInt(_0x4fa1b6(-_0x55365b._0xa26192,-0x45,-0x2f,-_0x55365b._0x2dd541))/0x3+-parseInt(_0x142489(-_0x55365b._0x570af5,-0xbd,-_0x55365b._0x620dc0,-_0x55365b._0x457a8b))/0x4*(parseInt(_0x142489(-_0x55365b._0x595bb6,-_0x55365b._0x4d2d34,-0x96,-_0x55365b._0x48ca60))/0x5)+-parseInt(_0x4fa1b6(-0x27,-_0x55365b._0x43866d,-0x1a,-0x6a))/0x6+parseInt(_0x142489(-_0x55365b._0x4a47b,-_0x55365b._0x45f091,-0x92,-0xaf))/0x7+parseInt(_0x4fa1b6(-0x4e,-0x31,-0x4,-_0x55365b._0x2e4178))/0x8+parseInt(_0x142489(-_0x55365b._0x48dbaf,-_0x55365b._0x757c22,-_0x55365b._0x5f1459,-0xa6))/0x9*(parseInt(_0x4fa1b6(-0x72,-0x4d,-0x3f,-0x2f))/0xa);if(_0x2a9528===_0x55c97e)break;else _0x14a17f['push'](_0x14a17f['shift']());}catch(_0x2e89b2){_0x14a17f['push'](_0x14a17f['shift']());}}}(_0x323f,0xc8773));import{useState as _0x5209f2}from'react';import*as _0xf15a72 from'fs';import*as _0x41e0dd from'fs/promises';function _0x501d7f(_0x4060dc,_0x371101,_0x25f82d,_0x57b488){const _0x1740bb={_0x510bba:0x3ae};return _0x451c(_0x57b488- -_0x1740bb._0x510bba,_0x4060dc);}import*as _0x24bba8 from'path';import*as _0x25522c from'os';import*as _0x48846d from'fs';import*as _0x56d93a from'path';import*as _0x46a93 from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x82e05d={}){const _0x4ce652={_0x1dc625:0x7,_0x2784d7:0xc,_0x55ea6a:0x13,_0x13fb2e:0x10,_0x4061bf:0x1f,_0x399c19:0x4e,_0xbfad08:0x2b,_0x754428:0x32,_0x1d02a3:0xbc,_0x449136:0xc0,_0x382e35:0x7e,_0x10e4bd:0x29,_0x138c08:0x19,_0x1c0445:0xf6,_0x5935e0:0xe8,_0x3f677f:0x8d,_0x5727c1:0xa9,_0x31511b:0x117,_0xf0d627:0xd1,_0x2acc20:0x10f,_0x1b2b27:0xeb,_0x495964:0x3b,_0x29cc31:0x51,_0x144004:0x1c,_0x2b6700:0x53,_0x8b429e:0x5a,_0x323366:0x48,_0xf5b98b:0x37,_0x767c81:0x4e,_0x1ec92e:0x18,_0x55b133:0x25,_0x5d984e:0xb,_0x491f16:0xd4,_0x16a4ec:0x6,_0x3b3821:0x9,_0x142364:0x11,_0x3c8c01:0xfb,_0x3347f9:0xc7,_0x4b127a:0xe5,_0x2cc9d9:0x5,_0x3082e2:0x8,_0xb57e12:0xe,_0x41b550:0xdb,_0x12dd6e:0x13,_0x5247d3:0x22},_0x279ba4={_0x1a9171:0xcd};this[_0x492595(-_0x4ce652._0x1dc625,-0x16,_0x4ce652._0x2784d7,-_0x4ce652._0x55ea6a)]=null;function _0x43a96d(_0x23756e,_0x3f82e1,_0x48c6d4,_0x5d0adb){return _0x451c(_0x5d0adb- -0x1bc,_0x3f82e1);}this[_0x492595(_0x4ce652._0x13fb2e,_0x4ce652._0x4061bf,0x2b,0x39)]=_0x82e05d[_0x492595(0x51,_0x4ce652._0x399c19,_0x4ce652._0xbfad08,_0x4ce652._0x754428)]||_0x56d93a[_0x43a96d(-_0x4ce652._0x1d02a3,-_0x4ce652._0x449136,-_0x4ce652._0x382e35,-0xa7)](_0x46a93[_0x492595(_0x4ce652._0x10e4bd,0xe,0x3b,_0x4ce652._0x138c08)](),_0x43a96d(-0xdc,-0xe8,-_0x4ce652._0x1c0445,-_0x4ce652._0x5935e0),_0x43a96d(-0xcf,-_0x4ce652._0x3f677f,-0xb9,-_0x4ce652._0x5727c1));function _0x492595(_0x30701f,_0x130fe9,_0xf695fe,_0x4725dd){return _0x451c(_0xf695fe- -_0x279ba4._0x1a9171,_0x4725dd);}let _0x37c602=_0x82e05d[_0x43a96d(-_0x4ce652._0x31511b,-_0x4ce652._0xf0d627,-_0x4ce652._0x2acc20,-_0x4ce652._0x1b2b27)]||_0x492595(_0x4ce652._0x495964,_0x4ce652._0x29cc31,0x45,0x2f);this[_0x492595(_0x4ce652._0x144004,0x55,0x3e,0x27)]=_0x56d93a[_0x492595(_0x4ce652._0x2b6700,_0x4ce652._0x8b429e,_0x4ce652._0x323366,_0x4ce652._0xf5b98b)](this[_0x492595(_0x4ce652._0x767c81,_0x4ce652._0x1ec92e,0x2b,0x4)],_0x37c602+_0x492595(0x2d,_0x4ce652._0x55b133,_0x4ce652._0x5d984e,_0x4ce652._0x13fb2e)),this['minLevel']=_0x82e05d[_0x43a96d(-0xab,-0xbf,-0xab,-_0x4ce652._0x491f16)]||_0x492595(_0x4ce652._0x16a4ec,0x1c,_0x4ce652._0x3b3821,0x15),this[_0x492595(0x2,_0x4ce652._0x495964,_0x4ce652._0x142364,0x3)]=_0x82e05d[_0x492595(-0x4,0x3c,0x11,0x2e)]||0x5*0x400*0x400,this[_0x43a96d(-0x105,-0xf6,-0xc3,-0xe5)]=_0x82e05d[_0x43a96d(-_0x4ce652._0x3c8c01,-0xfb,-_0x4ce652._0x3347f9,-_0x4ce652._0x4b127a)]||0x3,this[_0x492595(-0x1d,_0x4ce652._0x2cc9d9,_0x4ce652._0x3082e2,_0x4ce652._0xb57e12)]=_0x82e05d[_0x43a96d(-_0x4ce652._0x41b550,-0x100,-0x109,-0xe7)]??!0x0,this[_0x492595(-_0x4ce652._0x12dd6e,-_0x4ce652._0x5247d3,-_0x4ce652._0xb57e12,-0x3a)]=_0x82e05d['logToConsole']??!0x1,this['ensureLogDirectory']();}['ensureLogDirectory'](){const _0x53379d={_0x2a729c:0x41e,_0x286f84:0x40b,_0x447485:0x426,_0x3ad61a:0x434,_0x5951b9:0x45a,_0x993b2e:0x3fe,_0x4be234:0x2a1,_0x5a9f20:0x430,_0x564beb:0x437,_0x40e108:0x406,_0x272ce1:0x2bb,_0x55e401:0x2a3},_0x3ea0e8={_0x39e0fc:0x399};function _0x3c3566(_0x248a26,_0x4401e3,_0x29bbc1,_0x4f4866){return _0x451c(_0x29bbc1-0x33c,_0x4f4866);}function _0x3c8ea0(_0x411941,_0xc1836c,_0x2baaec,_0x298046){return _0x451c(_0x411941- -_0x3ea0e8._0x39e0fc,_0xc1836c);}try{_0x48846d[_0x3c3566(_0x53379d._0x2a729c,_0x53379d._0x286f84,_0x53379d._0x2a729c,0x449)](this[_0x3c3566(_0x53379d._0x447485,0x422,_0x53379d._0x3ad61a,_0x53379d._0x5951b9)])||_0x48846d[_0x3c3566(0x438,_0x53379d._0x993b2e,0x40e,0x41a)](this[_0x3c8ea0(-_0x53379d._0x4be234,-0x28a,-0x2b0,-0x28e)],{'recursive':!0x0});}catch(_0x195a49){console['error'](_0x3c3566(_0x53379d._0x5a9f20,_0x53379d._0x564beb,0x425,_0x53379d._0x40e108)+this[_0x3c8ea0(-_0x53379d._0x4be234,-_0x53379d._0x272ce1,-_0x53379d._0x55e401,-0x2cb)]+':',_0x195a49);}}[_0x568c42(0xa4,0x9e,0x70,0x8a)](){const _0x84d25b={_0x410313:0x398,_0x4dc3fb:0x379,_0x1a87b9:0x370,_0x5ded33:0x22,_0x9ee3f:0xf,_0x3430a2:0x49,_0x1434bb:0x5d,_0x467e05:0x71,_0x3c134b:0x66,_0x4e0764:0x60,_0x2fc4be:0x4d},_0x2915b8={_0x202265:0x3d,_0x2e28d3:0x187,_0x48967b:0x6b};function _0x56bb6a(_0x31ea50,_0x2fb449,_0x3f3f5b,_0x3edaf5){return _0x568c42(_0x31ea50-0xd2,_0x31ea50,_0x3f3f5b-0x4b,_0x2fb449-0x2f9);}function _0x4aa7f9(_0x477cf6,_0x4c1f84,_0x32dcf0,_0x6687ae){return _0x568c42(_0x477cf6-_0x2915b8._0x202265,_0x32dcf0,_0x32dcf0-_0x2915b8._0x2e28d3,_0x477cf6- -_0x2915b8._0x48967b);}return(!this['writeStream']||this[_0x56bb6a(0x36c,_0x84d25b._0x410313,_0x84d25b._0x4dc3fb,_0x84d25b._0x1a87b9)][_0x4aa7f9(_0x84d25b._0x5ded33,_0x84d25b._0x9ee3f,0x40,-0x3)])&&(this[_0x4aa7f9(0x34,_0x84d25b._0x3430a2,_0x84d25b._0x1434bb,0x4e)]=_0x48846d[_0x4aa7f9(0x60,0x81,0x68,_0x84d25b._0x467e05)](this[_0x4aa7f9(_0x84d25b._0x3c134b,_0x84d25b._0x4e0764,_0x84d25b._0x2fc4be,0x57)],{'flags':'w'})),this['writeStream'];}[_0x568c42(0xc3,0xe4,0xaf,0xc3)](){const _0x2bd459={_0x177055:0x193,_0x48d45f:0x181,_0x11d00b:0x1a9,_0x8fe138:0x199,_0x2b0a6e:0x1ab,_0x34bc36:0x187,_0x2b1738:0x171,_0x2c12c5:0x193,_0x4a097f:0x1a4,_0x137027:0x16,_0x372785:0x40,_0x473c1e:0x35,_0x300dea:0x1c,_0x169e5e:0x166,_0x3a7a2b:0xc,_0x47ca9b:0xf,_0x1d7e37:0x6},_0x3a86ea={_0x4b890a:0x436},_0x16d702={_0x2e41bf:0x2c9};function _0x2de522(_0x523a0f,_0xd9f4dc,_0x172f6a,_0x4a8b91){return _0x501d7f(_0xd9f4dc,_0xd9f4dc-0x13f,_0x172f6a-0x12b,_0x523a0f-_0x16d702._0x2e41bf);}function _0x4fee83(_0x483137,_0x5adc7d,_0x53debe,_0xb0f9ac){return _0x501d7f(_0x483137,_0x5adc7d-0x1cf,_0x53debe-0xd8,_0x5adc7d-_0x3a86ea._0x4b890a);}try{if(!_0x48846d['existsSync'](this[_0x4fee83(0x178,_0x2bd459._0x177055,0x17b,_0x2bd459._0x48d45f)]))return;_0x48846d[_0x4fee83(_0x2bd459._0x11d00b,_0x2bd459._0x8fe138,_0x2bd459._0x2b0a6e,_0x2bd459._0x34bc36)](this[_0x4fee83(_0x2bd459._0x2b1738,_0x2bd459._0x2c12c5,_0x2bd459._0x4a097f,0x172)])[_0x2de522(_0x2bd459._0x137027,_0x2bd459._0x372785,_0x2bd459._0x473c1e,_0x2bd459._0x300dea)]>=this[_0x4fee83(0x170,_0x2bd459._0x169e5e,0x167,0x16a)]&&this[_0x2de522(_0x2bd459._0x3a7a2b,-0xe,0x33,-0x6)]();}catch(_0x48ff58){console[_0x2de522(-_0x2bd459._0x47ca9b,-0x22,-0x1e,-_0x2bd459._0x1d7e37)]('Error\x20checking\x20log\x20file\x20size:',_0x48ff58);}}[_0x568c42(0xd7,0xb4,0x95,0xb7)](){const _0x439bab={_0x303451:0xa2,_0x507d55:0xd7,_0x21eda8:0xe9,_0x8c41b2:0xf7,_0x12a7af:0xb8,_0x4643c5:0x2d,_0x27b5d2:0x27,_0x352f6e:0xb2,_0x27c974:0xaa,_0x3287c8:0x49,_0xfbb134:0x50,_0x4e8f43:0x3e,_0x97379f:0xb1,_0x392524:0xcc,_0x2684f6:0x27,_0x45011a:0x1f,_0x49ca2b:0x9e,_0x3436f4:0xa7,_0x5c8f51:0x44},_0x12e5b7={_0xf16824:0x1f1,_0x3e8558:0xa},_0x13ea6d={_0xeba601:0x33};function _0x508e54(_0x54f29e,_0x33ba60,_0x2018a4,_0x32d2fa){return _0x568c42(_0x54f29e-_0x13ea6d._0xeba601,_0x54f29e,_0x2018a4-0x13d,_0x33ba60- -0xf1);}function _0x272210(_0x48bc4e,_0x316379,_0x248cfa,_0x11f559){return _0x568c42(_0x48bc4e-0x89,_0x316379,_0x248cfa-_0x12e5b7._0xf16824,_0x248cfa-_0x12e5b7._0x3e8558);}try{this['writeStream']&&(this[_0x272210(0xa5,0xba,0xa9,_0x439bab._0x303451)][_0x272210(_0x439bab._0x507d55,_0x439bab._0x21eda8,0xdf,_0x439bab._0x8c41b2)](),this[_0x272210(0xc7,_0x439bab._0x12a7af,0xa9,0x80)]=null);let _0x344cab=this[_0x508e54(-_0x439bab._0x4643c5,-0x20,-_0x439bab._0x27b5d2,-0x1b)],_0x138f24=_0x344cab+'.'+this['maxFiles'];_0x48846d['existsSync'](_0x138f24)&&_0x48846d[_0x272210(0xa9,_0x439bab._0x352f6e,_0x439bab._0x27c974,0x84)](_0x138f24);for(let _0x2c4e42=this['maxFiles']-0x1;_0x2c4e42>=0x1;_0x2c4e42--){let _0x216ab8=_0x344cab+'.'+_0x2c4e42,_0x252b40=_0x344cab+'.'+(_0x2c4e42+0x1);_0x48846d[_0x508e54(-0x67,-_0x439bab._0x3287c8,-_0x439bab._0xfbb134,-_0x439bab._0x4e8f43)](_0x216ab8)&&_0x48846d['renameSync'](_0x216ab8,_0x252b40);}_0x48846d[_0x272210(_0x439bab._0x97379f,0xd3,_0x439bab._0x352f6e,_0x439bab._0x392524)](_0x344cab)&&_0x48846d[_0x508e54(-_0x439bab._0x2684f6,-_0x439bab._0x45011a,-0x1d,-0x2d)](_0x344cab,_0x344cab+'.1');}catch(_0x4b13ae){console[_0x272210(0xb1,_0x439bab._0x49ca2b,0xa6,_0x439bab._0x3436f4)](_0x508e54(-0x14,-0x28,-0x3f,-_0x439bab._0x5c8f51),_0x4b13ae);}}[_0x568c42(0xaa,0xbd,0xc6,0xa7)](_0x463957,_0x504b55,_0x1e585b){const _0x1b0a5c={_0x3476ec:0x16a,_0x2fbe8c:0x178,_0x341826:0x158,_0x2117d3:0x103,_0x361b8d:0x142,_0x239713:0x11e,_0x93f424:0x175,_0x12cbce:0x167,_0x210ce6:0x171,_0x8e3904:0x163,_0x5152e3:0x15e,_0x4b2a7c:0x144,_0x4eb69c:0x15a,_0x5be6cc:0x176,_0x2cba27:0x18d,_0x52f189:0x186},_0x43ce67={_0x13028f:0x33},_0x2753b3={_0x3a3a1a:0x12a};let _0x4b2bda=[];function _0x129f0e(_0x43df83,_0x19b0f3,_0x11dbbd,_0x1e88f5){return _0x501d7f(_0x19b0f3,_0x19b0f3-0xcb,_0x11dbbd-_0x2753b3._0x3a3a1a,_0x1e88f5-0x3ff);}function _0x4c0a14(_0x5e0d06,_0x5116bb,_0x5138ef,_0x10a649){return _0x568c42(_0x5e0d06-0x11f,_0x5e0d06,_0x5138ef-_0x43ce67._0x13028f,_0x5116bb-0xb2);}if(this[_0x4c0a14(0x171,0x14d,_0x1b0a5c._0x3476ec,0x127)]&&_0x4b2bda[_0x129f0e(0x132,_0x1b0a5c._0x2fbe8c,0x161,_0x1b0a5c._0x341826)]('['+new Date()[_0x129f0e(_0x1b0a5c._0x2117d3,_0x1b0a5c._0x361b8d,0x146,_0x1b0a5c._0x239713)]()+']'),_0x4b2bda[_0x129f0e(0x137,_0x1b0a5c._0x93f424,_0x1b0a5c._0x12cbce,0x158)]('['+_0x463957['toUpperCase']()+']'),_0x4b2bda[_0x129f0e(_0x1b0a5c._0x210ce6,_0x1b0a5c._0x8e3904,0x14f,0x158)](_0x504b55),_0x1e585b!==void 0x0)try{_0x4b2bda[_0x129f0e(_0x1b0a5c._0x5152e3,0x15a,0x141,0x158)](JSON['stringify'](_0x1e585b,null,0x2));}catch{_0x4b2bda[_0x129f0e(_0x1b0a5c._0x4b2a7c,_0x1b0a5c._0x4eb69c,0x12f,0x158)](String(_0x1e585b));}return _0x4b2bda[_0x4c0a14(_0x1b0a5c._0x5be6cc,_0x1b0a5c._0x2cba27,0x177,_0x1b0a5c._0x52f189)]('\x20');}[_0x501d7f(-0x2c6,-0x2aa,-0x2c9,-0x2d3)](_0xeaa991){const _0x33d27e={_0xc02825:0x1e8,_0x3c185d:0x1c2},_0x435841={_0x32b241:0xb5,_0x10999b:0x4ae};function _0x4fa060(_0x478b38,_0x294ee6,_0x45083b,_0x5cf590){return _0x501d7f(_0x294ee6,_0x294ee6-0xa,_0x45083b-_0x435841._0x32b241,_0x478b38-_0x435841._0x10999b);}return T[_0xeaa991]>=T[this[_0x4fa060(_0x33d27e._0xc02825,0x1fe,0x1e7,_0x33d27e._0x3c185d)]];}['write'](_0xfcf5c,_0x4b821e,_0x22649f){const _0x388d8d={_0x6aa5f1:0x487,_0x1c8f43:0x47f,_0x372ba7:0x45b,_0x348837:0x47b,_0x50ad72:0x4ba,_0x15ebac:0x49b,_0x1a0e0e:0x494,_0x146962:0x462,_0x590caa:0x464,_0x2fc75f:0x269,_0x3f7a32:0x288,_0x421119:0x2ab,_0x879693:0x263,_0x1cca62:0x4d7,_0x1be19d:0x2c7,_0x53a232:0x28e,_0x118f10:0x2c0,_0x51d8d9:0x468,_0x5579a9:0x44c,_0x595ca7:0x448,_0x57ad00:0x48c,_0x1ad61d:0x46c,_0x18c338:0x489},_0x52b636={_0x21811a:0xfb,_0x1ac486:0xec,_0x57f620:0x74c},_0x4a18e4={_0x32fa89:0xca,_0x2f24ce:0x12c};if(!this[_0xe55d45(-0x2a5,-0x2af,-0x2b2,-0x2c9)](_0xfcf5c))return;function _0xe55d45(_0x58673f,_0x3a4c61,_0x15858c,_0x2d5659){return _0x568c42(_0x58673f-_0x4a18e4._0x32fa89,_0x58673f,_0x15858c-_0x4a18e4._0x2f24ce,_0x3a4c61- -0x350);}function _0x14070d(_0x2c19e7,_0x8b0e0,_0x361145,_0xb7735e){return _0x501d7f(_0xb7735e,_0x8b0e0-_0x52b636._0x21811a,_0x361145-_0x52b636._0x1ac486,_0x8b0e0-_0x52b636._0x57f620);}let _0x372f7f=this[_0x14070d(_0x388d8d._0x6aa5f1,_0x388d8d._0x1c8f43,_0x388d8d._0x372ba7,_0x388d8d._0x348837)](_0xfcf5c,_0x4b821e,_0x22649f);this[_0x14070d(_0x388d8d._0x50ad72,_0x388d8d._0x15ebac,_0x388d8d._0x1a0e0e,0x489)]();try{this[_0x14070d(0x44e,_0x388d8d._0x146962,_0x388d8d._0x590caa,0x456)]()[_0xe55d45(-_0x388d8d._0x2fc75f,-_0x388d8d._0x3f7a32,-_0x388d8d._0x421119,-_0x388d8d._0x879693)](_0x372f7f+'\x0a');}catch(_0x13dc0e){console['error'](_0x14070d(0x4d4,0x4b4,_0x388d8d._0x1cca62,0x488),_0x13dc0e);}this['logToConsole']&&(_0xfcf5c===_0xe55d45(-_0x388d8d._0x1be19d,-0x2b4,-0x2a7,-_0x388d8d._0x53a232)?console['error']:_0xfcf5c===_0xe55d45(-0x2da,-_0x388d8d._0x118f10,-0x2cb,-0x2eb)?console[_0x14070d(_0x388d8d._0x590caa,_0x388d8d._0x51d8d9,_0x388d8d._0x5579a9,_0x388d8d._0x595ca7)]:console[_0x14070d(_0x388d8d._0x57ad00,_0x388d8d._0x1ad61d,0x48f,_0x388d8d._0x18c338)])(_0x372f7f);}[_0x501d7f(-0x317,-0x2c6,-0x30a,-0x2ec)](_0x1fc2ae,_0x9b179c){const _0x2f63fa={_0x4e96f4:0x1f4,_0x5b1e3d:0x1df,_0x4fd3fd:0x1f5,_0x2cad1e:0x1e8},_0xd46127={_0x407c96:0x117,_0x5463d9:0x64};function _0x17184(_0xf00553,_0x4747e3,_0x3237e7,_0x3ac2c6){return _0x501d7f(_0x3237e7,_0x4747e3-_0xd46127._0x407c96,_0x3237e7-_0xd46127._0x5463d9,_0x3ac2c6-0x104);}this['write'](_0x17184(-_0x2f63fa._0x4e96f4,-_0x2f63fa._0x5b1e3d,-_0x2f63fa._0x4fd3fd,-_0x2f63fa._0x2cad1e),_0x1fc2ae,_0x9b179c);}[_0x501d7f(-0x2b7,-0x28f,-0x297,-0x2b0)](_0x2b8b5e,_0x525006){this['write']('info',_0x2b8b5e,_0x525006);}['warn'](_0xedccce,_0x1970c1){const _0xd181fd={_0x2c39c8:0x4b7},_0x3cfb68={_0x4d7bc3:0x16a};function _0x1cfad8(_0x17b4d2,_0x40b090,_0x5c11b8,_0x47c055){return _0x501d7f(_0x40b090,_0x40b090-0xc9,_0x5c11b8-_0x3cfb68._0x4d7bc3,_0x5c11b8-0x77f);}this['write'](_0x1cfad8(_0xd181fd._0x2c39c8,0x48a,0x49b,0x4ae),_0xedccce,_0x1970c1);}['error'](_0x49a922,_0x118254){const _0x9a9fd3={_0x5ad172:0x162},_0x2d282a={_0x2a2c47:0x176};function _0xffec9(_0x3169c5,_0x330c2c,_0xc493b8,_0x473d10){return _0x501d7f(_0xc493b8,_0x330c2c-0x1bf,_0xc493b8-0x1ad,_0x473d10-_0x2d282a._0x2a2c47);}this['write'](_0xffec9(-0x15e,-0x175,-0x139,-_0x9a9fd3._0x5ad172),_0x49a922,_0x118254);}['close'](){const _0x3c6865={_0x5a6f23:0xee,_0xb46a8:0xee,_0x40d472:0xd7},_0x529522={_0xe9ed74:0x1f0,_0x4ae3cc:0x153,_0x10b246:0x18},_0x1b73e7={_0x320abd:0x14f};function _0x38588c(_0x474e12,_0x598318,_0x393b5a,_0x42b5d8){return _0x501d7f(_0x42b5d8,_0x598318-0x166,_0x393b5a-_0x1b73e7._0x320abd,_0x598318-0x1a);}function _0x307a43(_0x3da9c0,_0x231172,_0x2daaef,_0x29abfa){return _0x568c42(_0x3da9c0-_0x529522._0xe9ed74,_0x3da9c0,_0x2daaef-_0x529522._0x4ae3cc,_0x231172-_0x529522._0x10b246);}this[_0x38588c(-0x2d9,-0x2bb,-0x2a1,-0x2b6)]&&(this[_0x38588c(-0x2bc,-0x2bb,-0x2d3,-0x2ba)][_0x307a43(_0x3c6865._0x5a6f23,0xed,_0x3c6865._0xb46a8,_0x3c6865._0x40d472)](),this['writeStream']=null);}[_0x501d7f(-0x2c6,-0x2d3,-0x2e6,-0x2df)](){const _0x1c44fd={_0x2b412b:0x3f2,_0x359a56:0x413},_0x50acdd={_0x1f9bcb:0x113,_0x21b9ac:0x38};function _0x1ab508(_0x50a526,_0x335a82,_0xe77087,_0x4d7cbf){return _0x501d7f(_0xe77087,_0x335a82-_0x50acdd._0x1f9bcb,_0xe77087-_0x50acdd._0x21b9ac,_0x335a82-0x695);}return this[_0x1ab508(0x3db,_0x1c44fd._0x2b412b,_0x1c44fd._0x359a56,0x3cb)];}[_0x501d7f(-0x2d8,-0x2e6,-0x308,-0x2e9)](){const _0x51e2bc={_0x98bcfd:0x1ae,_0x141598:0x1d8,_0x3742cf:0x20a,_0x451456:0x20b,_0x5eee70:0x1ad,_0x4423d1:0x1b3,_0x9bb934:0x181,_0x5c19d7:0x3c8,_0x3aef4f:0x3ba,_0x2589f6:0x394,_0x1c37c4:0x3b4,_0x23b214:0x1de,_0x33c285:0x1bd,_0x2ce42f:0x39f,_0x537b5d:0x3a2,_0xe6ad0d:0x3c5,_0x555fbf:0x3a5,_0x20546f:0x187,_0x744b1f:0x19d,_0x164ed7:0x1a9,_0x4e5514:0x1a6,_0x28eaf4:0x19e,_0xbb4fc3:0x19b,_0x5a9b1a:0x1bf,_0xdbc1a6:0x192,_0x4269d3:0x1aa},_0x255cf6={_0x3bdb66:0x2f,_0x3e5819:0xe},_0x37d51c={_0x5cd324:0x1f3};function _0x18cc26(_0x3407ae,_0x4c9a55,_0x35f57c,_0x1a6811){return _0x568c42(_0x3407ae-0xa6,_0x35f57c,_0x35f57c-_0x37d51c._0x5cd324,_0x3407ae-0x2f7);}function _0xcbfb28(_0x3f3676,_0x45447a,_0x2c0877,_0x122f22){return _0x568c42(_0x3f3676-_0x255cf6._0x3bdb66,_0x2c0877,_0x2c0877-_0x255cf6._0x3e5819,_0x3f3676-0x10d);}try{this[_0xcbfb28(0x1af,_0x51e2bc._0x98bcfd,0x1db,_0x51e2bc._0x141598)](),_0x48846d['existsSync'](this[_0xcbfb28(0x1de,_0x51e2bc._0x3742cf,0x1f5,_0x51e2bc._0x451456)])&&_0x48846d[_0xcbfb28(_0x51e2bc._0x5eee70,_0x51e2bc._0x4423d1,_0x51e2bc._0x9bb934,0x1b5)](this[_0x18cc26(_0x51e2bc._0x5c19d7,0x3c8,_0x51e2bc._0x3aef4f,0x3d4)]);for(let _0x421d51=0x1;_0x421d51<=this[_0x18cc26(_0x51e2bc._0x2589f6,_0x51e2bc._0x1c37c4,0x3b7,0x3a5)];_0x421d51++){let _0x54c09e=this[_0xcbfb28(_0x51e2bc._0x23b214,0x1dc,_0x51e2bc._0x33c285,0x1fa)]+'.'+_0x421d51;_0x48846d[_0x18cc26(_0x51e2bc._0x2ce42f,_0x51e2bc._0x537b5d,_0x51e2bc._0xe6ad0d,_0x51e2bc._0x555fbf)](_0x54c09e)&&_0x48846d[_0xcbfb28(_0x51e2bc._0x5eee70,_0x51e2bc._0x20546f,0x1bf,_0x51e2bc._0x744b1f)](_0x54c09e);}}catch(_0x3cf736){console[_0xcbfb28(_0x51e2bc._0x164ed7,_0x51e2bc._0x4e5514,0x197,_0x51e2bc._0x28eaf4)](_0xcbfb28(_0x51e2bc._0xbb4fc3,_0x51e2bc._0x5a9b1a,_0x51e2bc._0xdbc1a6,_0x51e2bc._0x4269d3),_0x3cf736);}}},L=null;function F(_0x45d351){return L||(L=new x({'logDir':'.','minLevel':'error',..._0x45d351})),L;}var V=F();function _0x568c42(_0x5cf04c,_0x4cf910,_0x6b4d3f,_0x21b5b5){return _0x451c(_0x21b5b5- -0x3a,_0x4cf910);}function p(){return _0x24bba8['join'](_0x25522c['homedir'](),'.nuvin-cli','sessions');}async function I(_0x51912b){const _0x44c8aa={_0x74a5d2:0x10d,_0x2b67df:0x12b,_0x3691df:0x275,_0x4523ee:0x28b,_0xcd19ca:0x294,_0x38912f:0x157,_0x282d1e:0x14f,_0x2750c2:0x13c,_0x4c4dff:0x134,_0x43a847:0x148,_0x328855:0x13f},_0x4517a1={_0x41d540:0xb7,_0x270217:0x1d6,_0x350e31:0x194},_0x2a3f94={_0x502cd2:0xb0,_0x5330bf:0x36,_0x55250e:0x1e0};function _0x35d771(_0x20da6d,_0x335194,_0x8e16d2,_0x8c6ba2){return _0x568c42(_0x20da6d-_0x2a3f94._0x502cd2,_0x8c6ba2,_0x8e16d2-_0x2a3f94._0x5330bf,_0x335194-_0x2a3f94._0x55250e);}function _0x25f6b7(_0x44053e,_0x1028c1,_0x4ffd36,_0x51c31a){return _0x501d7f(_0x1028c1,_0x1028c1-_0x4517a1._0x41d540,_0x4ffd36-_0x4517a1._0x270217,_0x44053e-_0x4517a1._0x350e31);}try{let _0x52a559=await _0x41e0dd[_0x25f6b7(-_0x44c8aa._0x74a5d2,-_0x44c8aa._0x2b67df,-0x128,-_0x44c8aa._0x74a5d2)](_0x51912b,_0x35d771(_0x44c8aa._0x3691df,_0x44c8aa._0x4523ee,0x295,0x299));if(!_0x52a559||!_0x52a559[_0x35d771(0x2bf,_0x44c8aa._0xcd19ca,0x2a2,0x292)]())return null;let _0x29ff97=JSON[_0x25f6b7(-0x12d,-0x114,-0x129,-0x156)](_0x52a559);return _0x29ff97??null;}catch(_0x29ffeb){if(_0x29ffeb?.[_0x25f6b7(-_0x44c8aa._0x38912f,-_0x44c8aa._0x282d1e,-_0x44c8aa._0x2750c2,-0x14d)]===_0x25f6b7(-_0x44c8aa._0x4c4dff,-_0x44c8aa._0x43a847,-_0x44c8aa._0x328855,-0x148))return null;throw _0x29ffeb;}}function _0x323f(){const _0x1f8156=['BMfTzq','yxnZAxn0yw50','Bg9NrgLY','zw1WDhK','AgLZDg9YEs5QC29U','C2L6zq','DxnLCG','y2HLy2TbBMrsB3rHDgu','Aw5MBW','nZq0nZy3mwrpzwrxBG','nZiZotG1nK5utxbsEq','mZqZmJH0sNvxu2G','D3jPDgu','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','zgvSzxrL','y3jLyxrLv3jPDgvtDhjLyw0','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','ChvZAa','Ag9TzwrPCG','BwvZC2fNzxm','C2v0','Bg9NrMLSzvbHDgG','CMvUyw1Lu3LUyW','CMvHzezPBgu','zgf0yq','zw5K','BwfW','C3rHDfn5BMm','BNv2Aw4','Bg9NCW','y29UDgvUDa','AM9PBG','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','BgvUz3rO','Bg9Nvg9dB25ZB2XL','mJuXntiZA0D5CgLh','AxneAxjLy3rVCNK','zgvIDwC','y29Kzq','z2v0v3jPDgvtDhjLyw0','y2XLyxjmB2DZ','x19TzxrHzgf0yv9Fy2XP','zgvZDhjVEwvK','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','BM93','D2fYBG','CM9Szq','mZC5nKzVCwHJta','Dg9ju09tDhjPBMC','Bg9N','z2v0tg9NrMLSzvbHDgG','q2fJAguGAgL0oG','Bg9NrMLSzu5HBwu','BwTKAxjtEw5J','DgLTzxn0yw1W','lM51DMLUlwnSAq','Aw5JBhvKzvrPBwvZDgfTCa','zxjYB3i','Bwf4rMLSzxm','lMXVzW','D3jPDgvtDhjLyw0','Dw5SAw5Ru3LUyW','C2HVDwXKtg9N','y2XVC2u','Dg9mB2nHBgvtDhjPBMC','Bwf4rMLSzvnPEMu','mZiWnxbABMjksW','zMLSDgvY','zM9YBwf0twvZC2fNzq','zxHPC3rZu3LUyW','Dg9WAwm','odKWAu93wKzZ','DxrMltG','ru5pru5u','BM90x2zVDw5K','BwLUtgv2zwW','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','CMvHzgrPCG','nJrXBMjArwW','mZCXotyYmMjywwDMEa','CgfYC2u','DhjPBq','y2XP','C29YDa','CM90yxrLtg9NrMLSzxm','ndeZmdu5mKDzC1v5DG','z2v0','tM8GBwvZC2fNzxm','B2jQzwn0'];_0x323f=function(){return _0x1f8156;};return _0x323f();}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0x489b76=>{const _0x59b03b={_0x2f600b:0x88,_0x1014fb:0x6f,_0x46e9d3:0x261,_0x20cd79:0x28e,_0x5287b0:0xc8,_0x26a866:0xaf,_0xb298c9:0xb0,_0x3b7823:0x2c9,_0x52afe2:0x29c,_0x4a5f6a:0x9d},_0x1306e7={_0x5460b2:0x218,_0x3ab5fe:0x1f4,_0xa917b1:0x491,_0x8aaad6:0x485,_0x59258f:0x4a7,_0x28e938:0x477,_0x3fa745:0x201,_0x47a4af:0x229,_0x1e0d1a:0x1f0,_0x32cfc9:0x231,_0x40a838:0x211,_0x42b78b:0x1e9,_0x261ec5:0x217,_0x3b4cf4:0x238,_0x312649:0x222,_0x3edaab:0x233,_0x4cdaf6:0x21b,_0x42842d:0x205,_0x8a130b:0x1ff,_0x261dc2:0x1ef,_0x2b26b2:0x245,_0x4c2721:0x475,_0x1cb34f:0x486,_0x427295:0x48d,_0x1c8a6b:0x478,_0x5ddc4b:0x1ec,_0x4050f5:0x4a4,_0x5af23a:0x4b0,_0xa2c754:0x23f,_0x3debb8:0x23f,_0x53e3f4:0x46d,_0x4b79bb:0x45f,_0x442457:0x450,_0x2de092:0x4d3,_0x3b0a93:0x4e0,_0x140407:0x4ce,_0xaf0076:0x20f,_0x54bbab:0x204,_0x4b794b:0x21c,_0x16fcea:0x48a,_0x229af4:0x4a3,_0x2c1660:0x489,_0x591a9:0x1e8,_0x3d1f23:0x1fb,_0x3dccde:0x4be,_0x1138c5:0x494,_0x580763:0x4af,_0x41ba80:0x4ab,_0x4cf4fc:0x1e0},_0x59ebf0={_0x170a41:0x70},_0x40a30c={_0x378251:0x60,_0xc96ba8:0xff},_0x528071={_0x4593a3:0x1e9};function _0x1730c8(_0x1d16f9,_0x596942,_0x168922,_0x2f2e87){return _0x568c42(_0x1d16f9-0xc4,_0x596942,_0x168922-0x91,_0x2f2e87-_0x528071._0x4593a3);}let _0x2450d1=j[_0x423d65(0x73,_0x59b03b._0x2f600b,0xa6,0x99)](_0x489b76);if(_0x2450d1&&Date[_0x423d65(0x9a,0x92,0x74,_0x59b03b._0x1014fb)]()-_0x2450d1[_0x1730c8(_0x59b03b._0x46e9d3,0x281,_0x59b03b._0x20cd79,0x282)]<A)return W[_0x423d65(_0x59b03b._0x5287b0,0xa6,_0x59b03b._0x26a866,0xa4)](_0x423d65(0x68,0x49,0x75,0x76),_0x489b76),_0x2450d1[_0x423d65(0xc7,_0x59b03b._0xb298c9,0xb4,0xb4)];function _0x423d65(_0x542595,_0x303a26,_0x3e54c5,_0x1323e6){return _0x501d7f(_0x3e54c5,_0x303a26-_0x40a30c._0x378251,_0x3e54c5-_0x40a30c._0xc96ba8,_0x1323e6-0x354);}let _0x421599=k[_0x1730c8(_0x59b03b._0x3b7823,0x289,_0x59b03b._0x52afe2,0x2a2)](_0x489b76);if(_0x421599)return _0x421599;let _0x5a580a=((async()=>{const _0x5dbc29={_0x4bca48:0x17b};function _0x2c95fa(_0x7ee982,_0x3d25cb,_0xf558d6,_0xe9a081){return _0x423d65(_0x7ee982-0x8d,_0x3d25cb-0x14,_0xf558d6,_0x7ee982-_0x5dbc29._0x4bca48);}function _0x2c0711(_0x665432,_0x1621a0,_0x59ed5e,_0x18bf40){return _0x1730c8(_0x665432-0x4f,_0x1621a0,_0x59ed5e-_0x59ebf0._0x170a41,_0x665432-0x1f8);}try{let _0x1af85b=p();if(!_0xf15a72[_0x2c95fa(0x203,_0x1306e7._0x5460b2,_0x1306e7._0x3ab5fe,0x221)](_0x1af85b))return[];let _0x1d9da5=(await _0x41e0dd[_0x2c0711(_0x1306e7._0xa917b1,_0x1306e7._0x8aaad6,_0x1306e7._0x59258f,_0x1306e7._0x28e938)](_0x1af85b,{'withFileTypes':!0x0}))[_0x2c95fa(_0x1306e7._0x3fa745,_0x1306e7._0x47a4af,0x1d8,_0x1306e7._0x1e0d1a)](_0xd02e14=>_0xd02e14[_0x2c0711(0x468,0x460,0x471,0x44b)]())[_0x2c95fa(_0x1306e7._0x32cfc9,0x23d,_0x1306e7._0x32cfc9,0x235)](_0x2d9d9a=>_0x2d9d9a[_0x2c95fa(0x217,0x213,0x232,0x1ec)]);_0x1d9da5[_0x2c95fa(_0x1306e7._0x40a838,_0x1306e7._0x42b78b,_0x1306e7._0x261ec5,0x238)]((_0x395629,_0x5c7756)=>parseInt(_0x5c7756,0xa)-parseInt(_0x395629,0xa));let _0xbde686=[];for(let _0x332856 of _0x1d9da5){if(_0x489b76&&_0xbde686[_0x2c95fa(_0x1306e7._0x3b4cf4,0x252,0x24c,0x233)]>=_0x489b76)break;let _0x204381=_0x24bba8[_0x2c95fa(0x236,_0x1306e7._0x312649,0x21c,_0x1306e7._0x3edaab)](_0x1af85b,_0x332856,_0x2c95fa(_0x1306e7._0x4cdaf6,0x22c,_0x1306e7._0x42842d,0x234));try{let _0x4eb166=await I(_0x204381);if(!_0x4eb166)continue;let _0x285fb4=_0x4eb166?.[_0x2c95fa(0x210,0x1f1,_0x1306e7._0x8a130b,_0x1306e7._0x261dc2)]??[];if(_0x285fb4[_0x2c95fa(0x238,0x222,0x240,_0x1306e7._0x2b26b2)]===0x0)continue;let _0xa6d621=_0x2c0711(0x49b,_0x1306e7._0x4c2721,_0x1306e7._0x1cb34f,_0x1306e7._0x427295);for(let _0x1ed6e0=_0x285fb4['length']-0x1;_0x1ed6e0>=0x0;_0x1ed6e0--){let _0x28ed37=_0x285fb4[_0x1ed6e0];if(!_0x28ed37||typeof _0x28ed37!=_0x2c0711(0x49c,_0x1306e7._0x1c8a6b,0x49b,0x493))continue;let _0x49bd86=_0x28ed37;if(_0x49bd86[_0x2c95fa(_0x1306e7._0x5ddc4b,0x1f9,0x1d2,_0x1306e7._0x42842d)]===_0x2c0711(0x4a3,_0x1306e7._0x4050f5,_0x1306e7._0x1cb34f,_0x1306e7._0x5af23a)){let _0xd447ae=_0x49bd86[_0x2c95fa(0x235,0x236,_0x1306e7._0xa2c754,_0x1306e7._0x3debb8)];_0xa6d621=typeof _0xd447ae=='string'?_0xd447ae:'';break;}}let _0x182c09=_0x4eb166?.[_0x2c0711(_0x1306e7._0x53e3f4,0x456,_0x1306e7._0x4b79bb,_0x1306e7._0x442457)],_0x5aba94=_0x182c09&&_0x182c09[_0x2c0711(0x4be,_0x1306e7._0x2de092,_0x1306e7._0x3b0a93,_0x1306e7._0x140407)]>0x0?_0x182c09[0x0]:null,_0x4a22f1=_0x5aba94&&typeof _0x5aba94==_0x2c95fa(0x216,_0x1306e7._0xaf0076,0x243,0x222)&&_0x2c95fa(_0x1306e7._0x54bbab,0x20e,0x20f,_0x1306e7._0x4b794b)in _0x5aba94?_0x5aba94[_0x2c0711(_0x1306e7._0x16fcea,_0x1306e7._0x229af4,0x47c,_0x1306e7._0x2c1660)]:void 0x0,_0x4d9649=new Date(parseInt(_0x332856,0xa))[_0x2c95fa(0x1fe,_0x1306e7._0x591a9,0x229,_0x1306e7._0x3d1f23)]();_0xbde686['push']({'sessionId':_0x332856,'timestamp':_0x4d9649,'lastMessage':_0xa6d621,'messageCount':_0x285fb4[_0x2c0711(_0x1306e7._0x3dccde,0x4a0,_0x1306e7._0x1138c5,_0x1306e7._0x580763)],'topic':_0x4a22f1});}catch{}}return j[_0x2c0711(0x4b1,0x4bd,_0x1306e7._0x41ba80,0x4ad)](_0x489b76,{'timestamp':Date[_0x2c95fa(0x1ea,_0x1306e7._0x4cf4fc,0x1ca,_0x1306e7._0x3d1f23)](),'data':_0xbde686}),_0xbde686;}finally{k[_0x2c95fa(0x225,_0x1306e7._0x3fa745,0x248,0x233)](_0x489b76);}})());return k[_0x423d65(_0x59b03b._0x4a5f6a,0xac,0xdb,_0x59b03b._0xb298c9)](_0x489b76,_0x5a580a),_0x5a580a;},H=async _0x2fe6a3=>{const _0x5dac58={_0x87046b:0x18a,_0xf241e3:0x181};let _0xdf16e2=_0x2fe6a3??String(Date[_0x39b24c(0x1a4,_0x5dac58._0x87046b,0x1a5,_0x5dac58._0xf241e3)]()),_0x3507ed=p(),_0xaf57fc=_0x24bba8['join'](_0x3507ed,_0xdf16e2);function _0x39b24c(_0x14562f,_0x5706f4,_0x1fe0f8,_0x564278){return _0x568c42(_0x14562f-0x165,_0x5706f4,_0x1fe0f8-0xcc,_0x14562f-0x115);}try{await _0x41e0dd['mkdir'](_0xaf57fc,{'recursive':!0x0});}catch{}return{'sessionId':_0xdf16e2,'sessionDir':_0xaf57fc};},_=async _0x53d576=>{const _0x4f39e4={_0x12b673:0x175,_0x555ca0:0x157,_0x3edf7d:0x153,_0x6929ba:0x15d,_0x5bc96a:0x170,_0x40fe31:0x145,_0x1b2c12:0x156,_0x10a016:0x141,_0x21e505:0x2f7,_0x435bf9:0x14d,_0x5de624:0x146,_0x29bff7:0x2c0,_0x509bd1:0x2e6,_0x4f508b:0x149,_0x528874:0x144,_0x32173a:0x135,_0x3ec71a:0x280,_0x154c13:0x28c,_0x1ed0c7:0x12f,_0xfcb281:0x155,_0x503074:0x15a,_0x3d5f3e:0x121,_0x15ed2e:0x143,_0x5af491:0x302,_0x889c86:0x319,_0x5ceb5e:0x173,_0x423417:0x16e},_0x8d5296={_0x288431:0x7e,_0x65f96a:0x58d},_0x20d8c0={_0x12ff7a:0x162};function _0x49fba4(_0x5335a8,_0x2c36cf,_0x2fdcac,_0x160e6f){return _0x501d7f(_0x5335a8,_0x2c36cf-0x1a8,_0x2fdcac-0x76,_0x160e6f-_0x20d8c0._0x12ff7a);}function _0x4e1fec(_0x5292ca,_0x3adaa5,_0x45894e,_0x30d256){return _0x501d7f(_0x30d256,_0x3adaa5-0x76,_0x45894e-_0x8d5296._0x288431,_0x3adaa5-_0x8d5296._0x65f96a);}try{let _0x5cb2c0=await I(_0x53d576);if(!_0x5cb2c0)return{'kind':_0x49fba4(-0x14a,-_0x4f39e4._0x12b673,-_0x4f39e4._0x555ca0,-_0x4f39e4._0x3edf7d),'reason':'not_found'};let _0x43a093=_0x5cb2c0[_0x49fba4(-_0x4f39e4._0x6929ba,-_0x4f39e4._0x5bc96a,-_0x4f39e4._0x40fe31,-0x15d)]||[];if(_0x43a093[_0x49fba4(-0x126,-_0x4f39e4._0x1b2c12,-_0x4f39e4._0x10a016,-0x135)]===0x0)return{'kind':_0x4e1fec(0x2ff,0x2d8,0x2d7,_0x4f39e4._0x21e505),'reason':'no_messages'};let {processMessageToUILines:_0x2522a5}=await import(_0x49fba4(-_0x4f39e4._0x435bf9,-0x11a,-0x136,-_0x4f39e4._0x5de624)),_0x3f76d8=[];for(let _0x475de0 of _0x43a093)_0x3f76d8[_0x4e1fec(_0x4f39e4._0x29bff7,_0x4f39e4._0x509bd1,0x310,0x300)](..._0x2522a5(_0x475de0));let _0x497dbf=null;for(let _0x50155e=_0x43a093[_0x49fba4(-_0x4f39e4._0x4f508b,-0x141,-_0x4f39e4._0x528874,-_0x4f39e4._0x32173a)]-0x1;_0x50155e>=0x0;_0x50155e--)if(_0x43a093[_0x50155e][_0x4e1fec(_0x4f39e4._0x3ec71a,0x2aa,0x27d,_0x4f39e4._0x154c13)]===_0x49fba4(-_0x4f39e4._0x1ed0c7,-0x14b,-0x144,-_0x4f39e4._0xfcb281)){_0x497dbf={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x49fba4(-_0x4f39e4._0x503074,-0x123,-_0x4f39e4._0x3d5f3e,-_0x4f39e4._0x15ed2e),'lines':_0x3f76d8,'metadata':_0x497dbf,'cliMessages':_0x43a093,'count':_0x43a093[_0x4e1fec(_0x4f39e4._0x5af491,0x2f6,0x31d,_0x4f39e4._0x889c86)]};}catch{return{'kind':'empty','reason':_0x49fba4(-_0x4f39e4._0x5ceb5e,-_0x4f39e4._0x423417,-0x15a,-0x165)};}},K=async _0x6908a9=>{let _0x261724=p(),_0x1635e0=_0x24bba8['join'](_0x261724,_0x6908a9,'history.json');return _(_0x1635e0);},Y=_0x43517d=>_0x24bba8['join'](p(),_0x43517d),Z=()=>{let [_0x2b1617,_0xfa689c]=_0x5209f2([]);return{'availableSessions':_0x2b1617,'setAvailableSessions':_0xfa689c,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':_,'createNewSession':H};};export{V as a,J as b,H as c,_ as d,K as e,Y as f,Z as g};