@nuvin/nuvin-cli 1.15.0 → 1.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x30bbbd,_0x4ff9df){const _0x25d11d={_0x11bf9c:0xdc,_0x40cd86:0xbe,_0x209b25:0xaa,_0x8afa7d:0xcd,_0x50c4c8:0xca,_0x2f296f:0xe6,_0x91900d:0x535,_0x20b12d:0x547,_0x2dfb4e:0x55e,_0x51456c:0x54d,_0x15663a:0x534,_0x24dee7:0xa6,_0x249f21:0x91,_0x327fc5:0xd3,_0x19b407:0xe8,_0x231bb9:0xad,_0x29c937:0x84,_0x439bc0:0x9d},_0x3397f2={_0x41f70c:0xa4};function _0x1ad0a7(_0x3dddce,_0x367e60,_0x76df50,_0x532640){return _0x3a91(_0x3dddce- -_0x3397f2._0x41f70c,_0x76df50);}function _0x251ea7(_0x553f97,_0x57db4d,_0x385db3,_0x43ac4e){return _0x3a91(_0x553f97-0x3ce,_0x57db4d);}const _0x51af03=_0x30bbbd();while(!![]){try{const _0x3015eb=-parseInt(_0x1ad0a7(_0x25d11d._0x11bf9c,0x102,_0x25d11d._0x40cd86,0xb7))/0x1+-parseInt(_0x1ad0a7(0xd0,_0x25d11d._0x11bf9c,_0x25d11d._0x209b25,0xc9))/0x2*(parseInt(_0x1ad0a7(_0x25d11d._0x8afa7d,_0x25d11d._0x50c4c8,_0x25d11d._0x2f296f,0xc3))/0x3)+-parseInt(_0x251ea7(_0x25d11d._0x91900d,0x514,_0x25d11d._0x20b12d,_0x25d11d._0x2dfb4e))/0x4*(-parseInt(_0x251ea7(0x53e,_0x25d11d._0x51456c,0x52c,_0x25d11d._0x15663a))/0x5)+parseInt(_0x251ea7(0x532,0x547,0x549,0x52d))/0x6+parseInt(_0x1ad0a7(0xbb,_0x25d11d._0x24dee7,_0x25d11d._0x11bf9c,0xa0))/0x7+-parseInt(_0x1ad0a7(0xad,_0x25d11d._0x249f21,0xcd,_0x25d11d._0x327fc5))/0x8*(parseInt(_0x1ad0a7(_0x25d11d._0x19b407,_0x25d11d._0x2f296f,0x107,0x103))/0x9)+parseInt(_0x1ad0a7(0xa9,_0x25d11d._0x231bb9,_0x25d11d._0x29c937,_0x25d11d._0x439bc0))/0xa;if(_0x3015eb===_0x4ff9df)break;else _0x51af03['push'](_0x51af03['shift']());}catch(_0x106a39){_0x51af03['push'](_0x51af03['shift']());}}}(_0xa280,0x823f7));import{useState as _0x360083}from'react';import*as _0x1e1ec3 from'fs';import*as _0x29346d from'fs/promises';import*as _0x402f0e from'path';function _0x3bd2d9(_0x45f445,_0x4428b6,_0x3fe3dd,_0x36c340){return _0x3a91(_0x36c340-0xe4,_0x4428b6);}function _0xa280(){const _0x42b33c=['zgvSzxrL','lI9TzxnZywDLuhjVy2vZC29YltzmwLPeq0jylMPZ','lMXVzW','B2jQzwn0','x19TzxrHzgf0yv9Fy2XP','y2XVC2u','zgf0yq','C2v0','Dw5SAw5Ru3LUyW','Bwf4rMLSzvnPEMu','ntuWnZK1mfPZu3jTsW','zw5ZDxjLtg9NrgLYzwn0B3j5','zxjYB3i','C2HVDwXKtg9N','DgLTzxn0yw1W','mtG2mtuXmNrhzLvOwa','Dg9ju09tDhjPBMC','zMLSDgvY','nenUA0zqrG','z2v0v3jPDgvtDhjLyw0','AgLZDg9YEs5QC29U','y29UDgvUDa','D3jPDgvtDhjLyw0','CM90yxrLtg9NrMLSzxm','C3rHDfn5BMm','ChvZAa','zw5K','mJyXnZq5nwznzeLkrW','oda1nvvpyMfTBW','BwfW','tM8GBwvZC2fNzxm','mtyYANzQsfnN','z2v0','BM90x2zVDw5K','yxnZAxn0yw50','Bg9NrMLSzu5HBwu','zgvIDwC','AM9PBG','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','Bg9Nvg9dB25ZB2XL','CM9Szq','Aw5JBhvKzvrPBwvZDgfTCa','y2HLy2TbBMrsB3rHDgu','mZe1ntC5D05yr2Hs','BwvZC2fNzxm','z2v0tg9NrMLSzvbHDgG','y29Kzq','D3jPDgu','CMvUyw1Lu3LUyW','DxrMltG','zM9YBwf0twvZC2fNzq','Aw5MBW','BwTKAxjtEw5J','y2XLyxjmB2DZ','Bwf4rMLSzxm','mtu1otKWn2ztqurYAW','C2vZC2LVBNm','C3rYAw5NAwz5','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','BNv2Aw4','y2XP','DhjPBq','CgfYC2u','BwLUtgv2zwW','D2fYBG','zxHPC3rZu3LUyW','BM93','q2fJAguGAgL0oG','zw1WDhK','Bg9N','C3rYAw5N','BwTKAxi','Bg9NrMLSzvbHDgG','Dg9WAwm','mtm5mJuWmgXArvDera','Ag9TzwrPCG','BgvUz3rO','lM51DMLUlwnSAq','mZjetg9yCuK','Bg9NrgLY','BMfTzq','BM9FBwvZC2fNzxm'];_0xa280=function(){return _0x42b33c;};return _0xa280();}import*as _0x359096 from'os';import*as _0xd4532f from'fs';import*as _0x737122 from'path';import*as _0x1e6d00 from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x3616f3={}){const _0x4b0a25={_0x598d9c:0x1b2,_0x50686c:0x1d7,_0x54fb35:0x18b,_0x40911e:0x1bd,_0x14f34f:0x502,_0x4e0caa:0x52e,_0x3cd108:0x1b6,_0x10da53:0x1a9,_0x268f1e:0x199,_0x304136:0x1cb,_0x291f2c:0x50f,_0x7a653d:0x534,_0x1ac305:0x531,_0x359d9c:0x532,_0x4054c4:0x1c7,_0x15cb64:0x19a,_0xe14f14:0x18e,_0x582ade:0x1ad,_0x307274:0x1b8,_0x3d1af3:0x1d5,_0x15806d:0x1a7,_0x4ba846:0x196,_0x3652c7:0x184,_0x303d16:0x172,_0x25cdb0:0x170,_0x5703e8:0x50f,_0x193294:0x503,_0x230a77:0x17d,_0x3eddab:0x4fd,_0x6abd6a:0x51f,_0x466eaa:0x500,_0x22d376:0x179,_0x11fe67:0x182,_0x3af046:0x186,_0x327454:0x1af,_0x3d80d0:0x17c,_0x27a221:0x188,_0x34cdb6:0x1a1,_0x5a5da5:0x1a4,_0x270b9b:0x1b7,_0x5f0abc:0x1c2};function _0x426974(_0x328d85,_0x64df3f,_0x47cfd8,_0x871edb){return _0x3a91(_0x328d85- -0x304,_0x871edb);}this['writeStream']=null,this[_0x426974(-_0x4b0a25._0x598d9c,-_0x4b0a25._0x50686c,-0x1a0,-_0x4b0a25._0x54fb35)]=_0x3616f3[_0x426974(-_0x4b0a25._0x598d9c,-0x18b,-0x1b1,-_0x4b0a25._0x40911e)]||_0x737122[_0x2ce8dd(0x521,_0x4b0a25._0x14f34f,_0x4b0a25._0x4e0caa,0x51c)](_0x1e6d00[_0x426974(-_0x4b0a25._0x3cd108,-_0x4b0a25._0x10da53,-_0x4b0a25._0x268f1e,-_0x4b0a25._0x304136)](),'.nuvin-cli','logs');let _0x528e59=_0x3616f3[_0x2ce8dd(_0x4b0a25._0x291f2c,_0x4b0a25._0x7a653d,0x508,0x51a)]||_0x2ce8dd(0x531,0x514,_0x4b0a25._0x1ac305,_0x4b0a25._0x359d9c);function _0x2ce8dd(_0x25b3ae,_0x23ece8,_0x3b0023,_0x5b65cb){return _0x3a91(_0x5b65cb-0x3a2,_0x3b0023);}this['logFilePath']=_0x737122['join'](this[_0x426974(-0x1b2,-_0x4b0a25._0x4054c4,-_0x4b0a25._0x15cb64,-_0x4b0a25._0xe14f14)],_0x528e59+_0x426974(-_0x4b0a25._0x582ade,-_0x4b0a25._0x307274,-_0x4b0a25._0x3d1af3,-_0x4b0a25._0x15806d)),this[_0x426974(-0x170,-_0x4b0a25._0x4ba846,-_0x4b0a25._0x3652c7,-_0x4b0a25._0x303d16)]=_0x3616f3[_0x426974(-_0x4b0a25._0x25cdb0,-0x15a,-0x15d,-0x14c)]||_0x2ce8dd(0x4f6,_0x4b0a25._0x5703e8,0x4f8,_0x4b0a25._0x193294),this[_0x426974(-0x1a6,-0x1c6,-0x183,-_0x4b0a25._0x230a77)]=_0x3616f3[_0x2ce8dd(_0x4b0a25._0x3eddab,0x516,_0x4b0a25._0x6abd6a,_0x4b0a25._0x466eaa)]||0x5*0x400*0x400,this[_0x426974(-_0x4b0a25._0x22d376,-0x179,-0x17e,-_0x4b0a25._0x11fe67)]=_0x3616f3['maxFiles']||0x3,this['includeTimestamp']=_0x3616f3[_0x426974(-_0x4b0a25._0x3af046,-0x193,-_0x4b0a25._0x327454,-_0x4b0a25._0x3d80d0)]??!0x0,this['logToConsole']=_0x3616f3[_0x426974(-_0x4b0a25._0x27a221,-0x161,-_0x4b0a25._0x34cdb6,-0x19d)]??!0x1,this[_0x426974(-_0x4b0a25._0x5a5da5,-_0x4b0a25._0x270b9b,-_0x4b0a25._0x5f0abc,-0x198)]();}['ensureLogDirectory'](){const _0x1156cc={_0x4d76f5:0x2cd,_0x281b31:0x2e7,_0x729370:0x31e,_0xb903db:0x31e};function _0x37295d(_0x1e63f1,_0x80e29c,_0x1a7ce4,_0x56c76e){return _0x3a91(_0x1a7ce4-0x137,_0x1e63f1);}function _0x2e1d28(_0x237351,_0x4dbfe5,_0x241ef,_0x2eac9e){return _0x3a91(_0x4dbfe5-0x1cc,_0x237351);}try{_0xd4532f[_0x37295d(0x2d0,0x2eb,_0x1156cc._0x4d76f5,_0x1156cc._0x281b31)](this[_0x2e1d28(0x311,_0x1156cc._0x729370,0x340,0x31e)])||_0xd4532f[_0x37295d(0x2a6,0x2df,0x2c0,0x2b1)](this['logDir'],{'recursive':!0x0});}catch(_0x1277d4){console['error']('Failed\x20to\x20create\x20log\x20directory\x20at\x20'+this[_0x2e1d28(0x334,_0x1156cc._0xb903db,0x315,0x32f)]+':',_0x1277d4);}}[_0x4be0f2(-0x121,-0x116,-0xf9,-0x110)](){const _0x4355f4={_0x40fee9:0x4cc,_0x5846ee:0x4e0,_0x554164:0x500,_0x29ed84:0x4da,_0x42e863:0x3b,_0x228ce1:0x28,_0x4833d8:0x16,_0x30b72a:0x4d7,_0x466a1a:0x4ba},_0x1abbb2={_0x23ac24:0x117},_0x57a23e={_0x2ae731:0x67,_0x1d0b54:0x136};function _0x3a2dbe(_0x1e5864,_0x34a59f,_0x25a210,_0x5da088){return _0x4be0f2(_0x1e5864-_0x57a23e._0x2ae731,_0x34a59f-_0x57a23e._0x1d0b54,_0x25a210-0x5d6,_0x1e5864);}function _0x46cf6d(_0x5f7ae4,_0x131148,_0x2ea10f,_0x3a02de){return _0x4be0f2(_0x5f7ae4-0xd7,_0x131148-_0x1abbb2._0x23ac24,_0x5f7ae4-0xbb,_0x3a02de);}return(!this[_0x3a2dbe(_0x4355f4._0x40fee9,0x4d2,_0x4355f4._0x5846ee,_0x4355f4._0x554164)]||this[_0x3a2dbe(0x4d6,_0x4355f4._0x29ed84,0x4e0,0x4e2)]['destroyed'])&&(this[_0x46cf6d(-_0x4355f4._0x42e863,-_0x4355f4._0x228ce1,-0x24,-_0x4355f4._0x4833d8)]=_0xd4532f['createWriteStream'](this['logFilePath'],{'flags':'w'})),this[_0x3a2dbe(_0x4355f4._0x30b72a,_0x4355f4._0x466a1a,0x4e0,0x4fc)];}[_0x3bd2d9(0x24d,0x24b,0x24a,0x263)](){const _0x514de0={_0x42067c:0x9b,_0x55d02f:0x92,_0x225731:0x7d,_0x1d83f4:0xc6,_0x569b41:0x9f,_0x44e4b7:0x8c,_0x4f617b:0x8d,_0x17d369:0x9a},_0x2a9b5a={_0x5da532:0x43,_0x1c2a85:0x1c7},_0x52e2cb={_0x2f57f0:0xdd,_0x4c38a7:0x18f,_0x29f38b:0x21f};function _0x42483b(_0x304832,_0x2ca0aa,_0x14f445,_0x595281){return _0x4be0f2(_0x304832-_0x52e2cb._0x2f57f0,_0x2ca0aa-_0x52e2cb._0x4c38a7,_0x304832-_0x52e2cb._0x29f38b,_0x14f445);}function _0x4b3c67(_0x1d87df,_0x4b5b83,_0x4ba10d,_0x1f352e){return _0x3bd2d9(_0x1d87df-_0x2a9b5a._0x5da532,_0x1d87df,_0x4ba10d-_0x2a9b5a._0x1c2a85,_0x1f352e- -0x2ce);}try{if(!_0xd4532f['existsSync'](this['logFilePath']))return;_0xd4532f[_0x4b3c67(-_0x514de0._0x42067c,-_0x514de0._0x55d02f,-0x8e,-_0x514de0._0x225731)](this[_0x4b3c67(-_0x514de0._0x1d83f4,-0x84,-0x8f,-_0x514de0._0x569b41)])['size']>=this[_0x4b3c67(-0x6b,-0xa7,-0x7b,-_0x514de0._0x44e4b7)]&&this[_0x4b3c67(-0x5e,-_0x514de0._0x4f617b,-_0x514de0._0x17d369,-0x7e)]();}catch(_0x10e4be){console['error']('Error\x20checking\x20log\x20file\x20size:',_0x10e4be);}}[_0x4be0f2(-0xfb,-0x11e,-0xf5,-0x104)](){const _0x92449a={_0x88cef0:0x206,_0x1af13d:0x1f1,_0x30f2c9:0x24,_0x53793f:0x32,_0x34b76d:0x0,_0x3f3afe:0x31,_0x6b56b9:0x35,_0x3e477d:0x3a,_0x3f789b:0x201,_0x5025bb:0x62,_0x1059ac:0x29,_0x47c751:0x44,_0x5bc3dc:0x61,_0x7c658b:0x2f,_0x260b29:0x2d,_0x435922:0x4f,_0x58fede:0x41,_0x2f34bc:0x21e,_0x4b8fc6:0x56,_0x18c19e:0x69,_0xda2e85:0x4e,_0x50ce7c:0x3e,_0x2b9b3a:0x22,_0x319cc4:0x1fb,_0x3da3fe:0x1ec,_0x5c6490:0x1f9,_0x49e1fa:0x223,_0x585287:0x22f,_0xc49f4c:0x210,_0x121c07:0x21a},_0x4aa37f={_0x424012:0x1c0,_0x3697c3:0xad},_0x72bea6={_0x43e280:0x102,_0x1a4649:0x22b};function _0x22088d(_0x1d1dba,_0x351c39,_0x56aeb9,_0x1e49f1){return _0x3bd2d9(_0x1d1dba-_0x72bea6._0x43e280,_0x1e49f1,_0x56aeb9-0x143,_0x56aeb9- -_0x72bea6._0x1a4649);}function _0x2444c7(_0x5506fb,_0x258564,_0x531a37,_0x4bd408){return _0x3bd2d9(_0x5506fb-_0x4aa37f._0x424012,_0x5506fb,_0x531a37-_0x4aa37f._0x3697c3,_0x531a37- -0x455);}try{this[_0x2444c7(-0x224,-0x226,-_0x92449a._0x88cef0,-_0x92449a._0x1af13d)]&&(this[_0x22088d(0x2d,0x8,_0x92449a._0x30f2c9,0x1c)][_0x22088d(_0x92449a._0x53793f,0xb,0x28,_0x92449a._0x34b76d)](),this[_0x22088d(_0x92449a._0x3f3afe,_0x92449a._0x6b56b9,0x24,_0x92449a._0x3e477d)]=null);let _0x49e732=this[_0x2444c7(-0x219,-_0x92449a._0x3f789b,-0x226,-0x209)],_0x4ccf3c=_0x49e732+'.'+this[_0x22088d(_0x92449a._0x5025bb,_0x92449a._0x1059ac,_0x92449a._0x47c751,_0x92449a._0x5bc3dc)];_0xd4532f[_0x22088d(_0x92449a._0x7c658b,_0x92449a._0x260b29,_0x92449a._0x435922,_0x92449a._0x58fede)](_0x4ccf3c)&&_0xd4532f[_0x2444c7(-0x22b,-_0x92449a._0x2f34bc,-0x214,-0x205)](_0x4ccf3c);for(let _0x3991fc=this[_0x22088d(_0x92449a._0x4b8fc6,_0x92449a._0x5bc3dc,0x44,0x3f)]-0x1;_0x3991fc>=0x1;_0x3991fc--){let _0x30d38e=_0x49e732+'.'+_0x3991fc,_0x258a09=_0x49e732+'.'+(_0x3991fc+0x1);_0xd4532f[_0x22088d(_0x92449a._0x18c19e,0x48,0x4f,_0x92449a._0xda2e85)](_0x30d38e)&&_0xd4532f[_0x22088d(0x50,0x28,_0x92449a._0x50ce7c,_0x92449a._0x2b9b3a)](_0x30d38e,_0x258a09);}_0xd4532f['existsSync'](_0x49e732)&&_0xd4532f[_0x2444c7(-0x1fe,-_0x92449a._0x319cc4,-_0x92449a._0x3da3fe,-_0x92449a._0x5c6490)](_0x49e732,_0x49e732+'.1');}catch(_0x152458){console[_0x2444c7(-_0x92449a._0x49e1fa,-_0x92449a._0x585287,-_0x92449a._0xc49f4c,-_0x92449a._0x121c07)]('Error\x20rotating\x20log\x20files:',_0x152458);}}[_0x3bd2d9(0x292,0x264,0x266,0x26b)](_0x24afa1,_0x293f56,_0x9a339b){const _0x2830b0={_0xce062d:0x1c0,_0x5856e8:0x1a6,_0xd4cbf0:0x1cb,_0x3e8635:0x4b8,_0x36a8a9:0x1d0,_0x38f971:0x1c7,_0xbda828:0x1b0,_0x9e6b4b:0x17a,_0xd90be2:0x19f,_0x5a7442:0x1a6,_0x55760a:0x1b2},_0x4ddcd3={_0x327f4c:0xc6},_0x5287e4={_0x4e90a9:0x9e};let _0x5768b2=[];function _0x584697(_0x17c5c5,_0x43aabc,_0x12f725,_0x3870e9){return _0x4be0f2(_0x17c5c5-0x1c8,_0x43aabc-_0x5287e4._0x4e90a9,_0x3870e9-0x5a1,_0x43aabc);}if(this[_0x2f8e1f(-_0x2830b0._0xce062d,-_0x2830b0._0x5856e8,-_0x2830b0._0xd4cbf0,-0x1a2)]&&_0x5768b2[_0x584697(0x4cd,0x4c7,_0x2830b0._0x3e8635,0x4ae)]('['+new Date()[_0x2f8e1f(-_0x2830b0._0x36a8a9,-0x1dc,-_0x2830b0._0x38f971,-0x1bb)]()+']'),_0x5768b2['push']('['+_0x24afa1['toUpperCase']()+']'),_0x5768b2['push'](_0x293f56),_0x9a339b!==void 0x0)try{_0x5768b2['push'](JSON[_0x2f8e1f(-_0x2830b0._0xbda828,-0x19a,-_0x2830b0._0x9e6b4b,-0x192)](_0x9a339b,null,0x2));}catch{_0x5768b2[_0x2f8e1f(-_0x2830b0._0xd90be2,-_0x2830b0._0x5a7442,-0x1c8,-_0x2830b0._0x55760a)](String(_0x9a339b));}function _0x2f8e1f(_0x181d0c,_0xdbd02,_0x6f0f2b,_0xce7d43){return _0x4be0f2(_0x181d0c-0x181,_0xdbd02-_0x4ddcd3._0x327f4c,_0xce7d43- -0xbf,_0x6f0f2b);}return _0x5768b2['join']('\x20');}[_0x3bd2d9(0x242,0x22e,0x26c,0x246)](_0x4dc498){const _0x514778={_0xfaea63:0xac,_0x189d02:0xa3,_0xe00ed3:0xc6};function _0x375482(_0x541f0e,_0x301a1b,_0xf846de,_0x1eaea2){return _0x4be0f2(_0x541f0e-0x7,_0x301a1b-0xee,_0x301a1b-0x2a,_0x1eaea2);}return T[_0x4dc498]>=T[this[_0x375482(-_0x514778._0xfaea63,-_0x514778._0x189d02,-_0x514778._0xe00ed3,-0xa6)]];}[_0x4be0f2(-0x102,-0xbf,-0xdd,-0xf1)](_0x511bb1,_0x2b6da9,_0x478d92){const _0x585209={_0x40b129:0x10,_0x4d74b7:0xe,_0x5e0c00:0x17,_0x4a977e:0x31,_0x3a1ba4:0x25,_0x416a21:0x2b,_0x40af0a:0x9,_0x2eb61a:0x14c,_0x6cf8dd:0x191,_0xc5ee80:0x178,_0x3e5988:0x185,_0x4bb2d1:0x1c,_0x42fca6:0x3,_0x440905:0x11,_0x5d9a47:0x53,_0xbd81c:0xa,_0x22c6bd:0x14,_0x4beaa5:0x16b,_0x34ecc5:0x174,_0x2398d6:0x17b,_0xf44ae8:0x19f,_0x1cd1e2:0x1c1,_0x172fa7:0x31,_0x7c2fca:0x45},_0xb44735={_0x56345d:0x10f},_0x3bec69={_0x295f25:0x1d1,_0x3fc6fe:0x26b};if(!this['shouldLog'](_0x511bb1))return;let _0x48cd65=this['formatMessage'](_0x511bb1,_0x2b6da9,_0x478d92);function _0x16b2f5(_0x3818b8,_0x5c9345,_0x50c7bc,_0x5e9f92){return _0x4be0f2(_0x3818b8-0xd3,_0x5c9345-_0x3bec69._0x295f25,_0x5c9345-_0x3bec69._0x3fc6fe,_0x50c7bc);}function _0x468f7d(_0x18ebf3,_0x13144c,_0x24e4c7,_0x2f2dfc){return _0x3bd2d9(_0x18ebf3-_0xb44735._0x56345d,_0x13144c,_0x24e4c7-0x6f,_0x2f2dfc- -0x271);}this[_0x468f7d(-0x11,_0x585209._0x40b129,_0x585209._0x4d74b7,-_0x585209._0x4d74b7)]();try{this[_0x468f7d(-0x4a,-_0x585209._0x5e0c00,-_0x585209._0x4a977e,-_0x585209._0x3a1ba4)]()[_0x468f7d(-_0x585209._0x416a21,-0x7,_0x585209._0x40b129,-_0x585209._0x40af0a)](_0x48cd65+'\x0a');}catch(_0x2f73a1){console[_0x16b2f5(0x181,0x16b,_0x585209._0x2eb61a,_0x585209._0x6cf8dd)](_0x16b2f5(_0x585209._0xc5ee80,_0x585209._0x3e5988,0x17d,0x17e),_0x2f73a1);}this[_0x468f7d(-_0x585209._0x4bb2d1,0x7,-_0x585209._0x42fca6,-_0x585209._0x440905)]&&(_0x511bb1===_0x468f7d(-_0x585209._0x5d9a47,-_0x585209._0xbd81c,-_0x585209._0x22c6bd,-0x2c)?console[_0x16b2f5(0x189,_0x585209._0x4beaa5,_0x585209._0x34ecc5,0x174)]:_0x511bb1===_0x16b2f5(_0x585209._0x2398d6,_0x585209._0xf44ae8,0x199,_0x585209._0x1cd1e2)?console['warn']:console[_0x468f7d(-0x67,-_0x585209._0x172fa7,-0x54,-_0x585209._0x7c2fca)])(_0x48cd65);}[_0x3bd2d9(0x259,0x238,0x281,0x25d)](_0x25fa06,_0x4040b2){const _0x2d117e={_0x2b7729:0x2db,_0x30c590:0x2c4,_0x2b4113:0x2f4,_0x1d5dd6:0x2a7,_0x2c7a09:0x2e2,_0x1aa231:0x2aa},_0x3ddc88={_0x44810d:0x73},_0x167207={_0x3aead5:0x162,_0x2f229f:0x91};function _0x5933ca(_0xc3c081,_0x197afc,_0xf5e0a1,_0x5768bb){return _0x4be0f2(_0xc3c081-0x1f,_0x197afc-_0x167207._0x3aead5,_0xc3c081-_0x167207._0x2f229f,_0xf5e0a1);}function _0x358b3b(_0x8bfc8b,_0x18d335,_0x109b57,_0x5c81d5){return _0x3bd2d9(_0x8bfc8b-0xe5,_0x5c81d5,_0x109b57-0x2d,_0x8bfc8b-_0x3ddc88._0x44810d);}this[_0x358b3b(_0x2d117e._0x2b7729,_0x2d117e._0x30c590,0x2db,_0x2d117e._0x2b4113)](_0x358b3b(0x2d0,_0x2d117e._0x1d5dd6,_0x2d117e._0x2c7a09,_0x2d117e._0x1aa231),_0x25fa06,_0x4040b2);}[_0x3bd2d9(0x275,0x246,0x25a,0x26c)](_0x683c53,_0x5b8b62){const _0x31a692={_0x49c9ef:0x557,_0x2d15b2:0x53d,_0x23ff57:0x51e,_0xc9dcbe:0x541,_0x59bf0b:0x52f},_0xcdc04a={_0x5eb903:0x1b5},_0x1a700d={_0x18d17c:0x130,_0xf01ba1:0x61a};function _0x2ad3c6(_0x308980,_0x324b82,_0x1c2d54,_0x3a70f0){return _0x4be0f2(_0x308980-_0x1a700d._0x18d17c,_0x324b82-0x131,_0x1c2d54-_0x1a700d._0xf01ba1,_0x308980);}function _0x295076(_0x2ab6b4,_0x2009cc,_0x440892,_0x2eddd3){return _0x4be0f2(_0x2ab6b4-_0xcdc04a._0x5eb903,_0x2009cc-0x112,_0x2eddd3-0x3dd,_0x440892);}this[_0x2ad3c6(0x55b,_0x31a692._0x49c9ef,_0x31a692._0x2d15b2,_0x31a692._0x23ff57)](_0x2ad3c6(0x559,0x560,_0x31a692._0xc9dcbe,_0x31a692._0x59bf0b),_0x683c53,_0x5b8b62);}[_0x4be0f2(-0xaf,-0xb6,-0xcc,-0xda)](_0x202a55,_0x39ac1d){const _0x2153a3={_0x327036:0x17d,_0x3f9157:0x17c},_0x4fa60d={_0x4e1bbe:0x16d,_0x48bfce:0x123,_0x4d6de7:0x403},_0x562f1a={_0x41a7a:0x15f,_0xc46fdc:0x438};function _0x43b816(_0x1c7264,_0x50e046,_0x418dca,_0x184d89){return _0x4be0f2(_0x1c7264-_0x562f1a._0x41a7a,_0x50e046-0x72,_0x1c7264-_0x562f1a._0xc46fdc,_0x50e046);}function _0x8a06fb(_0x50e208,_0x9bf410,_0xb489f6,_0x2946c5){return _0x3bd2d9(_0x50e208-_0x4fa60d._0x4e1bbe,_0x2946c5,_0xb489f6-_0x4fa60d._0x48bfce,_0x50e208- -_0x4fa60d._0x4d6de7);}this[_0x8a06fb(-0x19b,-_0x2153a3._0x327036,-_0x2153a3._0x3f9157,-0x1c2)](_0x43b816(0x36c,0x37c,0x364,0x351),_0x202a55,_0x39ac1d);}[_0x3bd2d9(0x24e,0x241,0x253,0x245)](_0x5ba78e,_0x5761da){const _0x25d77a={_0x3d2cf4:0x1d4,_0x351225:0x195},_0x39b090={_0x1c8668:0x1cf,_0x23755a:0x6a,_0x2f2d85:0x41d};function _0x3a3ca8(_0x3b4bd6,_0x4d442d,_0x311f67,_0x2ed2d5){return _0x3bd2d9(_0x3b4bd6-_0x39b090._0x1c8668,_0x3b4bd6,_0x311f67-_0x39b090._0x23755a,_0x4d442d- -_0x39b090._0x2f2d85);}this[_0x3a3ca8(-0x1be,-0x1b5,-_0x25d77a._0x3d2cf4,-_0x25d77a._0x351225)]('error',_0x5ba78e,_0x5761da);}[_0x4be0f2(-0xfa,-0xe1,-0x107,-0x103)](){const _0x5d8443={_0x4a284c:0x56,_0x35f7ea:0x75,_0x315606:0x6d,_0x106267:0x58,_0x173623:0x99},_0xf0ac01={_0x171427:0xa5,_0x535ff8:0x67},_0x969186={_0x7cf5e1:0x172,_0x7d6b99:0x404};function _0x2aa5d8(_0x281db4,_0x36cdd7,_0x378e05,_0xa30e0b){return _0x4be0f2(_0x281db4-_0x969186._0x7cf5e1,_0x36cdd7-0x42,_0xa30e0b-_0x969186._0x7d6b99,_0x378e05);}function _0x1a88aa(_0x40172c,_0x49f207,_0x31483e,_0x49b1b0){return _0x4be0f2(_0x40172c-_0xf0ac01._0x171427,_0x49f207-_0xf0ac01._0x535ff8,_0x31483e-0x81,_0x49b1b0);}this[_0x1a88aa(-_0x5d8443._0x4a284c,-0x5d,-_0x5d8443._0x35f7ea,-_0x5d8443._0x315606)]&&(this[_0x1a88aa(-_0x5d8443._0x106267,-0x93,-0x75,-_0x5d8443._0x173623)]['end'](),this['writeStream']=null);}[_0x3bd2d9(0x254,0x27f,0x264,0x266)](){const _0x177ca6={_0x3330cf:0x27d,_0x33248e:0x281,_0x44c5ed:0x275},_0x5f2fea={_0x15ff6d:0x1a5};function _0x3fc69b(_0x4945c1,_0x17f684,_0x52ca34,_0x12cf35){return _0x3bd2d9(_0x4945c1-0x14a,_0x4945c1,_0x52ca34-_0x5f2fea._0x15ff6d,_0x17f684- -0x4b0);}return this[_0x3fc69b(-_0x177ca6._0x3330cf,-_0x177ca6._0x33248e,-_0x177ca6._0x44c5ed,-0x287)];}[_0x4be0f2(-0xfa,-0xfa,-0xd7,-0xee)](){const _0x320f0e={_0x1a9795:0x3a0,_0x452c60:0x7,_0x24d635:0x40,_0x7746bd:0x2d,_0x26adcc:0x35a,_0x3a5765:0x3e2,_0x5e0b5a:0x3d4,_0x3ff73e:0x3e6,_0x5b4ac8:0x3be,_0x3d183a:0x80,_0x4ac6ab:0x68,_0x284d5f:0x3c3,_0xe560ce:0x3c4,_0x3664c3:0x3ca},_0x286d01={_0x4010a4:0x37,_0x324ddb:0x1bf};function _0x43f787(_0x525dc9,_0x2671c2,_0x5dc0cb,_0x32bf73){return _0x4be0f2(_0x525dc9-0xc5,_0x2671c2-0x1dc,_0x2671c2-0xaa,_0x525dc9);}function _0x4d3579(_0x5a68db,_0x449b9f,_0x3a9c69,_0x235518){return _0x4be0f2(_0x5a68db-_0x286d01._0x4010a4,_0x449b9f-_0x286d01._0x324ddb,_0x235518-0x494,_0x449b9f);}try{this[_0x4d3579(0x3b4,0x38e,_0x320f0e._0x1a9795,0x38d)](),_0xd4532f[_0x43f787(-_0x320f0e._0x452c60,-0x21,-_0x320f0e._0x24d635,-_0x320f0e._0x7746bd)](this['logFilePath'])&&_0xd4532f['unlinkSync'](this[_0x4d3579(0x376,0x396,_0x320f0e._0x26adcc,0x37e)]);for(let _0x3b01dc=0x1;_0x3b01dc<=this[_0x4d3579(_0x320f0e._0x3a5765,_0x320f0e._0x5e0b5a,_0x320f0e._0x3ff73e,_0x320f0e._0x5b4ac8)];_0x3b01dc++){let _0x1ee04a=this['logFilePath']+'.'+_0x3b01dc;_0xd4532f['existsSync'](_0x1ee04a)&&_0xd4532f[_0x43f787(-_0x320f0e._0x3d183a,-0x5a,-_0x320f0e._0x4ac6ab,-0x61)](_0x1ee04a);}}catch(_0x25fe08){console['error'](_0x4d3579(_0x320f0e._0x284d5f,_0x320f0e._0xe560ce,_0x320f0e._0x3664c3,0x3c2),_0x25fe08);}}},L=null;function F(_0x5cef6c){const _0x3799ec={_0x512153:0x1d6,_0xf0072a:0x1bd},_0x33fdce={_0x3f9984:0x1a1,_0x2255d9:0x78};function _0x12969a(_0x1747ec,_0x935b8d,_0x3a6f1c,_0x25464d){return _0x3bd2d9(_0x1747ec-_0x33fdce._0x3f9984,_0x3a6f1c,_0x3a6f1c-_0x33fdce._0x2255d9,_0x1747ec- -0x3f7);}return L||(L=new x({'logDir':'.','minLevel':_0x12969a(-0x1b2,-_0x3799ec._0x512153,-0x1d8,-_0x3799ec._0xf0072a),..._0x5cef6c})),L;}var V=F();function p(){const _0x19e1cd={_0x2faaa7:0x1db,_0x173156:0x23,_0xfa8c3e:0x44,_0x1b068b:0x45},_0x4d565e={_0x3d018e:0xd4},_0x54473e={_0x4bc9ac:0x108};function _0x502549(_0x3b4b03,_0x540cbc,_0x3e3de2,_0x20de39){return _0x4be0f2(_0x3b4b03-0x86,_0x540cbc-_0x54473e._0x4bc9ac,_0x20de39-0x10a,_0x3b4b03);}function _0x2ac443(_0x503094,_0x1c6788,_0x383b16,_0x300a8c){return _0x4be0f2(_0x503094-0x4d,_0x1c6788-0x199,_0x1c6788- -_0x4d565e._0x3d018e,_0x383b16);}return _0x402f0e[_0x2ac443(-0x1bc,-0x1bb,-_0x19e1cd._0x2faaa7,-0x1c7)](_0x359096['homedir'](),_0x502549(0x1f,-_0x19e1cd._0x173156,-0x26,-0x7),_0x502549(_0x19e1cd._0xfa8c3e,_0x19e1cd._0x1b068b,0x35,0x36));}async function I(_0x1f8b68){const _0x46fe20={_0x26eabc:0x95,_0x182dd0:0x8d,_0x42f492:0x122,_0xf59b56:0x117,_0x4da7ef:0xa8,_0x107100:0xbd,_0x232319:0x125},_0x165ca0={_0x276b0a:0x36f},_0x4c20fc={_0x51e505:0x1dd};function _0x3d3035(_0x66003d,_0x275308,_0x520910,_0x5b642b){return _0x3bd2d9(_0x66003d-0xff,_0x275308,_0x520910-0x178,_0x5b642b- -_0x4c20fc._0x51e505);}function _0x462472(_0x4d5c0e,_0x347e8a,_0x3ea760,_0x2ae73e){return _0x3bd2d9(_0x4d5c0e-0xc3,_0x3ea760,_0x3ea760-0x1af,_0x347e8a- -_0x165ca0._0x276b0a);}try{let _0x3199cb=await _0x29346d['readFile'](_0x1f8b68,_0x3d3035(0x90,_0x46fe20._0x26eabc,0x99,_0x46fe20._0x182dd0));if(!_0x3199cb||!_0x3199cb[_0x462472(-_0x46fe20._0x42f492,-0xf9,-_0x46fe20._0xf59b56,-0xfc)]())return null;let _0x29b0d9=JSON[_0x3d3035(0x77,_0x46fe20._0x4da7ef,_0x46fe20._0x107100,0x9a)](_0x3199cb);return _0x29b0d9??null;}catch(_0x54c477){if(_0x54c477?.[_0x462472(-0x11a,-0x108,-_0x46fe20._0x232319,-0x102)]==='ENOENT')return null;throw _0x54c477;}}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0x190188=>{const _0x60096a={_0x3bfbaf:0x303,_0x1de402:0x2b3,_0x2561e6:0xb4,_0x4ccf3e:0xa7,_0x20bab6:0x86,_0x15534c:0x69,_0x35599f:0x2dd,_0x1d86d1:0x2ff,_0x1bc8cf:0x2c1,_0x22a9b6:0x2ce,_0x279d1d:0x2be},_0x21591d={_0x56b5c3:0xf8,_0x149edb:0xe5,_0x914598:0x107,_0xdbda5d:0xbe,_0x137017:0x175,_0xfaf492:0x10a,_0x6677be:0xd7,_0x3d8559:0xd1,_0x33c8d9:0x133,_0x1704a4:0x138,_0xb3f04a:0x15a,_0xa496d0:0xeb,_0x2e18cf:0x164,_0x39d416:0x149,_0x2282da:0x14a,_0xdb1536:0x164,_0x889536:0x103,_0x2ed08a:0xfe,_0x3429e2:0xe4,_0xe4e106:0x198,_0x13abbc:0x175,_0x263537:0xe9,_0x486e14:0x10b,_0x22aded:0x17b,_0x4286d8:0x175,_0x5f4bf0:0x198,_0xf09412:0x168,_0x5a3c24:0x18e,_0x110cf2:0xf2,_0x38265c:0xdf,_0x1b1b88:0x123},_0x6186b={_0x1fcddd:0xbd,_0x2b6b52:0x95,_0x27a11c:0x42b},_0x15f27b={_0x128d69:0x1dc,_0x2809cb:0x83};let _0x12b88a=j[_0x56a3c1(0x2e4,_0x60096a._0x3bfbaf,_0x60096a._0x1de402,0x2dc)](_0x190188);if(_0x12b88a&&Date[_0x512f2e(-0x77,-0x9d,-0x5a,-0x7e)]()-_0x12b88a[_0x512f2e(-0xab,-_0x60096a._0x2561e6,-0xc3,-_0x60096a._0x4ccf3e)]<A)return W[_0x512f2e(-_0x60096a._0x20bab6,-_0x60096a._0x15534c,-0x8c,-0x97)](_0x56a3c1(0x2f7,0x308,_0x60096a._0x35599f,_0x60096a._0x1d86d1),_0x190188),_0x12b88a[_0x56a3c1(0x2da,_0x60096a._0x1bc8cf,0x2d7,0x2c2)];let _0x208399=k['get'](_0x190188);if(_0x208399)return _0x208399;function _0x56a3c1(_0x10d5fc,_0x1a1f57,_0x34eb83,_0x5465cc){return _0x3bd2d9(_0x10d5fc-0x53,_0x34eb83,_0x34eb83-_0x15f27b._0x128d69,_0x5465cc-_0x15f27b._0x2809cb);}let _0x4d6691=((async()=>{const _0x4605e5={_0x275200:0x94,_0x438a46:0x10c,_0x3113a1:0x3be};function _0x2566d0(_0x3d0482,_0x443cd2,_0x55efe4,_0x38e3d3){return _0x56a3c1(_0x3d0482-_0x4605e5._0x275200,_0x443cd2-_0x4605e5._0x438a46,_0x38e3d3,_0x3d0482- -_0x4605e5._0x3113a1);}function _0x43e5f2(_0x1784f9,_0x310cb4,_0x15d0f9,_0x50348a){return _0x56a3c1(_0x1784f9-_0x6186b._0x1fcddd,_0x310cb4-_0x6186b._0x2b6b52,_0x1784f9,_0x15d0f9- -_0x6186b._0x27a11c);}try{let _0x5488bb=p();if(!_0x1e1ec3['existsSync'](_0x5488bb))return[];let _0x8d0882=(await _0x29346d['readdir'](_0x5488bb,{'withFileTypes':!0x0}))[_0x2566d0(-0xf1,-_0x21591d._0x56b5c3,-0x114,-0xd1)](_0x1ce8a9=>_0x1ce8a9['isDirectory']())[_0x2566d0(-_0x21591d._0x149edb,-_0x21591d._0x914598,-0xe6,-_0x21591d._0xdbda5d)](_0x17a1f7=>_0x17a1f7[_0x2566d0(-0x104,-0x128,-0x106,-0x100)]);_0x8d0882['sort']((_0x4c12d9,_0x82ad44)=>parseInt(_0x82ad44,0xa)-parseInt(_0x4c12d9,0xa));let _0x3fa437=[];for(let _0x51b7fb of _0x8d0882){if(_0x190188&&_0x3fa437[_0x43e5f2(-0x151,-0x198,-_0x21591d._0x137017,-0x173)]>=_0x190188)break;let _0x500c25=_0x402f0e['join'](_0x5488bb,_0x51b7fb,_0x2566d0(-0xee,-_0x21591d._0xfaf492,-_0x21591d._0x6677be,-_0x21591d._0x3d8559));try{let _0x4b5b3b=await I(_0x500c25);if(!_0x4b5b3b)continue;let _0x29b088=_0x4b5b3b?.[_0x43e5f2(-_0x21591d._0x33c8d9,-_0x21591d._0x33c8d9,-0x133,-0x152)]??[];if(_0x29b088['length']===0x0)continue;let _0xb01244=_0x43e5f2(-0x159,-_0x21591d._0x1704a4,-0x151,-_0x21591d._0xb3f04a);for(let _0xc689f9=_0x29b088[_0x2566d0(-0x108,-0xfa,-_0x21591d._0xa496d0,-0x10b)]-0x1;_0xc689f9>=0x0;_0xc689f9--){let _0x388550=_0x29b088[_0xc689f9];if(!_0x388550||typeof _0x388550!=_0x43e5f2(-0x16a,-_0x21591d._0x2e18cf,-0x16c,-_0x21591d._0x39d416))continue;let _0x183beb=_0x388550;if(_0x183beb[_0x43e5f2(-_0x21591d._0x2282da,-0x159,-0x147,-0x12e)]==='user'){let _0x5381f5=_0x183beb[_0x43e5f2(-0x166,-_0x21591d._0xdb1536,-0x15a,-0x143)];_0xb01244=typeof _0x5381f5==_0x2566d0(-0x10e,-_0x21591d._0x889536,-0x136,-0x115)?_0x5381f5:'';break;}}let _0x50313e=_0x4b5b3b?.[_0x2566d0(-_0x21591d._0x2ed08a,-_0x21591d._0x3429e2,-0xf5,-0x113)],_0x526efe=_0x50313e&&_0x50313e[_0x43e5f2(-_0x21591d._0xe4e106,-0x15a,-_0x21591d._0x13abbc,-0x18f)]>0x0?_0x50313e[0x0]:null,_0x369e10=_0x526efe&&typeof _0x526efe==_0x2566d0(-0xff,-0x108,-_0x21591d._0x263537,-0xd7)&&_0x2566d0(-_0x21591d._0x486e14,-0x122,-0x12d,-0xe4)in _0x526efe?_0x526efe['topic']:void 0x0,_0x13325d=new Date(parseInt(_0x51b7fb,0xa))['toLocaleString']();_0x3fa437['push']({'sessionId':_0x51b7fb,'timestamp':_0x13325d,'lastMessage':_0xb01244,'messageCount':_0x29b088[_0x43e5f2(-0x197,-_0x21591d._0x22aded,-_0x21591d._0x4286d8,-_0x21591d._0x5f4bf0)],'topic':_0x369e10});}catch{}}return j[_0x43e5f2(-0x179,-0x18a,-_0x21591d._0xf09412,-_0x21591d._0x5a3c24)](_0x190188,{'timestamp':Date['now'](),'data':_0x3fa437}),_0x3fa437;}finally{k[_0x2566d0(-0x102,-_0x21591d._0x110cf2,-_0x21591d._0x38265c,-_0x21591d._0x1b1b88)](_0x190188);}})());function _0x512f2e(_0x21799a,_0xe7c7e,_0x10a71c,_0x2f47c6){return _0x4be0f2(_0x21799a-0x1ad,_0xe7c7e-0xb9,_0x21799a-0x53,_0x2f47c6);}return k[_0x56a3c1(_0x60096a._0x22a9b6,0x2c4,_0x60096a._0x279d1d,0x2c3)](_0x190188,_0x4d6691),_0x4d6691;},H=async _0x2b5492=>{const _0x47cb5b={_0x3ca155:0x2d8,_0x4de693:0x2bd,_0x28dee2:0x0,_0x38f66f:0x11,_0xe43b7f:0x30,_0x2bbf3b:0x47},_0x35a249={_0x4c328d:0x6f},_0x5224b7={_0x3de3cd:0x7b,_0x3e0167:0xce};let _0x1aa7bd=_0x2b5492??String(Date[_0x11b579(_0x47cb5b._0x3ca155,_0x47cb5b._0x4de693,0x2b1,0x2f4)]()),_0x22b460=p(),_0x4383ee=_0x402f0e[_0x4e16c0(0x17,_0x47cb5b._0x28dee2,_0x47cb5b._0x38f66f,0x24)](_0x22b460,_0x1aa7bd);function _0x4e16c0(_0x541c4b,_0x232c86,_0x3525a4,_0x5d4435){return _0x4be0f2(_0x541c4b-_0x5224b7._0x3de3cd,_0x232c86-_0x5224b7._0x3e0167,_0x232c86-0xe7,_0x5d4435);}try{await _0x29346d[_0x4e16c0(-0x31,-_0x47cb5b._0xe43b7f,-0x25,-_0x47cb5b._0x2bbf3b)](_0x4383ee,{'recursive':!0x0});}catch{}function _0x11b579(_0x46a1ec,_0x3d13c5,_0x5d78fe,_0x47a5cf){return _0x3bd2d9(_0x46a1ec-_0x35a249._0x4c328d,_0x47a5cf,_0x5d78fe-0x10e,_0x46a1ec-0x5d);}return{'sessionId':_0x1aa7bd,'sessionDir':_0x4383ee};},_=async _0x450bf1=>{const _0x55cdab={_0x4193dc:0x23,_0x3a71ea:0x42,_0x3c1a8d:0x16,_0x53b776:0xe,_0x2d776c:0x7,_0x1bbc84:0x16,_0x4d4a94:0x31,_0x3b063f:0x14,_0x5364b1:0x2c,_0x4fdedd:0x17,_0x433ee3:0x3e,_0x1e500c:0x15,_0x56f43b:0x1a,_0x45389b:0x9,_0x42c9b7:0x26,_0xf60e42:0x12,_0x1a5d29:0x1b,_0xa2df6b:0x10,_0x31553a:0x21,_0x2c2e37:0x4,_0x1f4385:0x23,_0x347d24:0x3,_0x53a8a9:0x27,_0x295942:0x2a},_0x49e817={_0xaa567:0x130};function _0xf29cb9(_0x4c5b3b,_0x207821,_0x152d83,_0x8b95fd){return _0x3bd2d9(_0x4c5b3b-0xcc,_0x152d83,_0x152d83-0x49,_0x8b95fd- -0x269);}function _0x2d7c8c(_0x48a358,_0x509c36,_0x201868,_0x4037f9){return _0x3bd2d9(_0x48a358-0x1ab,_0x48a358,_0x201868-_0x49e817._0xaa567,_0x4037f9- -0x24e);}try{let _0x333c51=await I(_0x450bf1);if(!_0x333c51)return{'kind':_0x2d7c8c(-0x4,-0x45,-0x19,-_0x55cdab._0x4193dc),'reason':'not_found'};let _0x32ea76=_0x333c51['cli']||[];if(_0x32ea76['length']===0x0)return{'kind':_0x2d7c8c(-_0x55cdab._0x3a71ea,-0x3f,-_0x55cdab._0x3c1a8d,-0x23),'reason':_0x2d7c8c(_0x55cdab._0x53b776,-0x7,_0x55cdab._0x2d776c,-_0x55cdab._0x1bbc84)};let {processMessageToUILines:_0x3a98dc}=await import(_0x2d7c8c(-0xa,-_0x55cdab._0x4d4a94,0xb,-_0x55cdab._0x3b063f)),_0x18857f=[];for(let _0x513f70 of _0x32ea76)_0x18857f[_0xf29cb9(-_0x55cdab._0x5364b1,-0x12,0xa,-_0x55cdab._0x4fdedd)](..._0x3a98dc(_0x513f70));let _0x39e78e=null;for(let _0x16a287=_0x32ea76[_0x2d7c8c(-_0x55cdab._0x433ee3,-_0x55cdab._0x1e500c,0x4,-0x1b)]-0x1;_0x16a287>=0x0;_0x16a287--)if(_0x32ea76[_0x16a287][_0xf29cb9(-_0x55cdab._0x56f43b,0x1e,_0x55cdab._0x45389b,-0x8)]===_0x2d7c8c(_0x55cdab._0x42c9b7,_0x55cdab._0xf60e42,_0x55cdab._0x1a5d29,0xd)){_0x39e78e={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0xf29cb9(-_0x55cdab._0xa2df6b,0x9,-_0x55cdab._0x31553a,-_0x55cdab._0x2c2e37),'lines':_0x18857f,'metadata':_0x39e78e,'cliMessages':_0x32ea76,'count':_0x32ea76[_0x2d7c8c(-_0x55cdab._0x1f4385,-0x12,_0x55cdab._0x347d24,-0x1b)]};}catch{return{'kind':_0xf29cb9(-0x15,-_0x55cdab._0x53a8a9,-0x1f,-0x3e),'reason':_0x2d7c8c(_0x55cdab._0x295942,-_0x55cdab._0x1a5d29,-0x3,0xc)};}},K=async _0x25d4a1=>{const _0x368e77={_0x41ceba:0x52a,_0x466507:0x527,_0x46444d:0x531},_0x1f6b65={_0x4807e8:0x2f};function _0x241997(_0x5de98c,_0x51d33e,_0x4ffcfe,_0x362131){return _0x3bd2d9(_0x5de98c-0x2c,_0x4ffcfe,_0x4ffcfe-_0x1f6b65._0x4807e8,_0x51d33e-0x2da);}function _0x50bcef(_0x46f45f,_0x5cc515,_0x18d00d,_0x25e5fd){return _0x3bd2d9(_0x46f45f-0xcf,_0x18d00d,_0x18d00d-0x15,_0x5cc515- -0x14d);}let _0x50c00e=p(),_0x4b175a=_0x402f0e[_0x50bcef(0x133,0x111,0xf9,0xed)](_0x50c00e,_0x25d4a1,_0x241997(_0x368e77._0x41ceba,_0x368e77._0x466507,_0x368e77._0x46444d,0x527));return _(_0x4b175a);},Y=_0xdff701=>_0x402f0e[_0x3bd2d9(0x238,0x286,0x26a,0x25e)](p(),_0xdff701),Z=()=>{let [_0x49b098,_0x2b4e80]=_0x360083([]);return{'availableSessions':_0x49b098,'setAvailableSessions':_0x2b4e80,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':_,'createNewSession':H};};function _0x3a91(_0x543d44,_0x4ae1ea){_0x543d44=_0x543d44-0x147;const _0xa28075=_0xa280();let _0x3a915e=_0xa28075[_0x543d44];if(_0x3a91['DWmbjl']===undefined){var _0x283d45=function(_0xe493cc){const _0x416c89='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x360083='',_0x1e1ec3='';for(let _0x29346d=0x0,_0x402f0e,_0x359096,_0xd4532f=0x0;_0x359096=_0xe493cc['charAt'](_0xd4532f++);~_0x359096&&(_0x402f0e=_0x29346d%0x4?_0x402f0e*0x40+_0x359096:_0x359096,_0x29346d++%0x4)?_0x360083+=String['fromCharCode'](0xff&_0x402f0e>>(-0x2*_0x29346d&0x6)):0x0){_0x359096=_0x416c89['indexOf'](_0x359096);}for(let _0x737122=0x0,_0x1e6d00=_0x360083['length'];_0x737122<_0x1e6d00;_0x737122++){_0x1e1ec3+='%'+('00'+_0x360083['charCodeAt'](_0x737122)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1e1ec3);};_0x3a91['zCilAB']=_0x283d45,_0x3a91['fJELVb']={},_0x3a91['DWmbjl']=!![];}const _0x235e28=_0xa28075[0x0],_0x2c5819=_0x543d44+_0x235e28,_0x45c79e=_0x3a91['fJELVb'][_0x2c5819];return!_0x45c79e?(_0x3a915e=_0x3a91['zCilAB'](_0x3a915e),_0x3a91['fJELVb'][_0x2c5819]=_0x3a915e):_0x3a915e=_0x45c79e,_0x3a915e;}function _0x4be0f2(_0x53532b,_0x24eb86,_0x1ea9a9,_0x7b68b7){const _0x448aa3={_0x34efaf:0x261};return _0x3a91(_0x1ea9a9- -_0x448aa3._0x34efaf,_0x7b68b7);}export{V as a,J as b,H as c,_ as d,K as e,Y as f,Z as g};
1
+ (function(_0x77ccba,_0xeabde0){const _0x1e5763={_0x5d5796:0x27,_0x50973f:0x26,_0x267104:0x9,_0x1ea6ef:0x1b,_0x19e6fa:0x3d,_0x266da3:0x23,_0x1b2477:0x11b,_0x59655c:0xf0,_0x533464:0xf1,_0x26cf88:0x133,_0x2e0f2a:0x139,_0x3e66b9:0x66,_0x57a2a9:0x2e,_0x502d02:0x101,_0x43caf8:0x162,_0x13a0db:0x156,_0xa14d8f:0x40,_0x1b0aa8:0x39,_0x25fd9a:0x175},_0x5132e1={_0x3dfc6d:0xfd},_0x1af516=_0x77ccba();function _0x535829(_0x3d474a,_0x58a3ef,_0x41b309,_0x5142a3){return _0x4685(_0x3d474a- -0x256,_0x58a3ef);}function _0x315c12(_0x1de4b6,_0xbde4a5,_0x3c9c2f,_0x5fab89){return _0x4685(_0xbde4a5- -_0x5132e1._0x3dfc6d,_0x5fab89);}while(!![]){try{const _0x201fa3=-parseInt(_0x315c12(_0x1e5763._0x5d5796,0x24,_0x1e5763._0x50973f,0xf))/0x1*(parseInt(_0x315c12(0x21,_0x1e5763._0x267104,0xd,0xf))/0x2)+-parseInt(_0x315c12(_0x1e5763._0x1ea6ef,_0x1e5763._0x19e6fa,0x19,_0x1e5763._0x266da3))/0x3+parseInt(_0x535829(-_0x1e5763._0x1b2477,-0x114,-_0x1e5763._0x59655c,-_0x1e5763._0x533464))/0x4*(-parseInt(_0x535829(-0x105,-0xff,-0x125,-0xed))/0x5)+-parseInt(_0x535829(-_0x1e5763._0x26cf88,-_0x1e5763._0x2e0f2a,-0x117,-0x12e))/0x6+parseInt(_0x315c12(_0x1e5763._0x3e66b9,0x4e,0x4a,_0x1e5763._0x57a2a9))/0x7*(-parseInt(_0x535829(-0x125,-_0x1e5763._0x502d02,-0x126,-0x107))/0x8)+parseInt(_0x535829(-_0x1e5763._0x2e0f2a,-_0x1e5763._0x43caf8,-0x15f,-_0x1e5763._0x13a0db))/0x9+parseInt(_0x315c12(0x4a,_0x1e5763._0xa14d8f,_0x1e5763._0x1b0aa8,0x40))/0xa*(parseInt(_0x535829(-0x151,-_0x1e5763._0x25fd9a,-0x17b,-0x15e))/0xb);if(_0x201fa3===_0xeabde0)break;else _0x1af516['push'](_0x1af516['shift']());}catch(_0x20c7a1){_0x1af516['push'](_0x1af516['shift']());}}}(_0x4ac0,0xac1f5));import{useState as _0x51583b}from'react';import*as _0x10e347 from'fs';function _0xa412ac(_0x3b62a0,_0x508a84,_0x5da238,_0xf3a21c){return _0x4685(_0x3b62a0- -0xc8,_0xf3a21c);}import*as _0x15de89 from'fs/promises';import*as _0x4f822b from'path';import*as _0x1b6c10 from'os';function _0x4ac0(){const _0x1b6055=['ChvZAa','zM9YBwf0twvZC2fNzq','n3nUDLPvEG','y29Kzq','BNv2Aw4','B2jQzwn0','AxneAxjLy3rVCNK','DxnLCG','mJvqv0PAvuO','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','BM9FBwvZC2fNzxm','AM9PBG','D2fYBG','q2fJAguGAgL0oG','zgvSzxrL','Aw5JBhvKzvrPBwvZDgfTCa','C2v0','mZn0CLv0wKS','ntHkuhvdDue','lM51DMLUlwnSAq','DxrMltG','C2L6zq','Bg9NrMLSzu5HBwu','Bwf4rMLSzxm','y2XLyxjmB2DZ','Bg9NrMLSzvbHDgG','AgLZDg9YEs5QC29U','Dg9mB2nHBgvtDhjPBMC','CM9Szq','yxnZAxn0yw50','z2v0','z2v0v3jPDgvtDhjLyw0','zw5K','CM90yxrLtg9NrMLSzxm','x19TzxrHzgf0yv9Fy2XP','Bwf4rMLSzvnPEMu','BwTKAxjtEw5J','Bg9Nvg9dB25ZB2XL','zw1WDhK','y2XP','BM93','mta5ndC2mfD2CxrKDW','y3jLyxrLv3jPDgvtDhjLyw0','CgfYC2u','C3rHDfn5BMm','mJqXotDbELLdEfm','Ag9TzwrPCG','mJKXmta1nLPHCfbrta','D3jPDgu','z2v0tg9NrMLSzvbHDgG','D3jPDgvtDhjLyw0','zgvIDwC','DgLTzxn0yw1W','BwLUtgv2zwW','BgvUz3rO','y2XVC2u','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','zgf0yq','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','DhjPBq','Bg9NCW','mtC5ndiXnKrjBLP4yq','zMLSDgvY','BwvZC2fNzxm','y2HLy2TbBMrsB3rHDgu','BM90x2zVDw5K','BwTKAxi','C3rYAw5N','Dg9WAwm','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','otm0nZC2EwfPr0vQ','mZiWotq0Cuj0uLzx','CMvHzezPBgu','otaYndm3mhzWsxbSsG','Dw5SAw5Ru3LUyW','zxjYB3i','zxHPC3rZu3LUyW','Aw5MBW','Bg9NrgLY','zw5ZDxjLtg9NrgLYzwn0B3j5','C3rYAw5NAwz5','Dg9ju09tDhjPBMC','C2HVDwXKtg9N','CMvUyw1Lu3LUyW','BMfTzq'];_0x4ac0=function(){return _0x1b6055;};return _0x4ac0();}import*as _0x560c40 from'fs';import*as _0x4154f4 from'path';import*as _0x4e10a9 from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x3a939d={}){const _0x4c8166={_0x460369:0x1e0,_0x2d7f59:0x1c9,_0x3b61a:0x1fb,_0x533461:0x201,_0x41ae06:0x1d2,_0x235a0b:0x1c1,_0x556aab:0x1e9,_0x1046b3:0x1e5,_0x39c9ee:0x1b5,_0x423793:0x1cf,_0x209387:0x1af,_0x4024e5:0x205,_0x92cdb9:0x200,_0x19a16b:0x20c,_0x300a2b:0x24c,_0x20419d:0x235,_0x44b848:0x1b8,_0x245913:0x1b3,_0x2b5117:0x221,_0x594531:0x1fd,_0x1b395d:0x23d,_0x59b77a:0x20e,_0x25a9d3:0x24b,_0x4540a1:0x1dc,_0x34bc9c:0x211,_0x1b20cd:0x223},_0x108d79={_0x504e7f:0x302},_0xc9ffb={_0x15bde4:0xf8};function _0x116851(_0x25aea1,_0x5a9184,_0x134850,_0xd4248){return _0x4685(_0x25aea1-_0xc9ffb._0x15bde4,_0xd4248);}this['writeStream']=null;function _0x230608(_0x2d502b,_0x2b9f99,_0x4a86bd,_0x1bc25f){return _0x4685(_0x2d502b- -_0x108d79._0x504e7f,_0x2b9f99);}this['logDir']=_0x3a939d['logDir']||_0x4154f4['join'](_0x4e10a9[_0x230608(-_0x4c8166._0x460369,-_0x4c8166._0x2d7f59,-0x207,-0x1f8)](),_0x230608(-_0x4c8166._0x3b61a,-0x20b,-_0x4c8166._0x533461,-0x1e3),_0x230608(-_0x4c8166._0x41ae06,-_0x4c8166._0x235a0b,-0x1ba,-_0x4c8166._0x556aab));let _0x589d58=_0x3a939d[_0x116851(0x202,0x218,0x1ff,_0x4c8166._0x1046b3)]||_0x230608(-_0x4c8166._0x39c9ee,-_0x4c8166._0x423793,-_0x4c8166._0x209387,-0x1e0);this[_0x116851(_0x4c8166._0x4024e5,_0x4c8166._0x92cdb9,0x1de,_0x4c8166._0x19a16b)]=_0x4154f4[_0x116851(_0x4c8166._0x300a2b,_0x4c8166._0x20419d,0x26e,0x25a)](this[_0x230608(-0x1c0,-0x1a8,-_0x4c8166._0x44b848,-_0x4c8166._0x245913)],_0x589d58+'.log'),this[_0x116851(_0x4c8166._0x2b5117,_0x4c8166._0x594531,_0x4c8166._0x1b395d,_0x4c8166._0x59b77a)]=_0x3a939d[_0x116851(0x221,_0x4c8166._0x25a9d3,0x221,0x228)]||'error',this['maxFileSize']=_0x3a939d['maxFileSize']||0x5*0x400*0x400,this[_0x116851(0x203,0x22d,0x20a,0x21e)]=_0x3a939d[_0x230608(-0x1f7,-_0x4c8166._0x4540a1,-0x20c,-_0x4c8166._0x34bc9c)]||0x3,this['includeTimestamp']=_0x3a939d['includeTimestamp']??!0x0,this[_0x116851(_0x4c8166._0x34bc9c,_0x4c8166._0x1b20cd,_0x4c8166._0x92cdb9,0x23a)]=_0x3a939d['logToConsole']??!0x1,this['ensureLogDirectory']();}[_0x6b08e5(0x121,0x10b,0x105,0xf7)](){const _0x2742f3={_0x26a183:0x322,_0x58eb83:0x30a,_0x24bc35:0x326,_0x1037c5:0x305,_0x44901b:0x300,_0xb08bd3:0x3be,_0x4bc200:0x3a6,_0x59e764:0x311,_0x311b38:0x314},_0x30da6d={_0x33851f:0x1f,_0x5358ef:0x130,_0xdd7fcc:0x214},_0x4e7d62={_0xc68bbb:0x2a0};function _0x5320ab(_0x288c66,_0x3ffd4b,_0xf3c8d,_0x3ba867){return _0x6b08e5(_0x288c66,_0x3ffd4b-0x142,_0xf3c8d-0x193,_0x3ffd4b-_0x4e7d62._0xc68bbb);}function _0x205e2b(_0x18fedf,_0x3b3b5e,_0x3bd7ad,_0x208799){return _0x6b08e5(_0x18fedf,_0x3b3b5e-_0x30da6d._0x33851f,_0x3bd7ad-_0x30da6d._0x5358ef,_0x3bd7ad-_0x30da6d._0xdd7fcc);}try{_0x560c40['existsSync'](this[_0x205e2b(0x333,_0x2742f3._0x26a183,_0x2742f3._0x58eb83,0x332)])||_0x560c40[_0x5320ab(0x355,0x36c,0x34b,0x35e)](this[_0x205e2b(0x307,0x329,_0x2742f3._0x58eb83,_0x2742f3._0x24bc35)],{'recursive':!0x0});}catch(_0xe031be){console[_0x205e2b(_0x2742f3._0x1037c5,0x30a,0x307,_0x2742f3._0x44901b)](_0x5320ab(_0x2742f3._0xb08bd3,_0x2742f3._0x4bc200,0x3ac,0x3be)+this[_0x205e2b(0x2f2,_0x2742f3._0x59e764,0x30a,_0x2742f3._0x311b38)]+':',_0xe031be);}}['getWriteStream'](){const _0xe003f1={_0x4f5c21:0x41c,_0x52262e:0x447,_0x4c30aa:0x42a,_0x2b898a:0x426,_0x18d13c:0x40f,_0x5c3290:0x444},_0x3a5b21={_0xf62bd8:0x6d},_0x4ae602={_0x24af1d:0x34c};function _0x2ab416(_0x1e6cac,_0x48fcaf,_0x59c7fc,_0x5ed243){return _0x6b08e5(_0x5ed243,_0x48fcaf-0x1d0,_0x59c7fc-0xce,_0x48fcaf-_0x4ae602._0x24af1d);}function _0x5d8481(_0x321482,_0x39bdf4,_0x709264,_0x5cbcdf){return _0x6b08e5(_0x5cbcdf,_0x39bdf4-0x1dd,_0x709264-0x16c,_0x39bdf4-_0x3a5b21._0xf62bd8);}return(!this[_0x2ab416(0x431,0x426,0x400,0x41c)]||this[_0x2ab416(_0xe003f1._0x4f5c21,0x426,_0xe003f1._0x52262e,0x3ff)]['destroyed'])&&(this[_0x2ab416(_0xe003f1._0x4c30aa,_0xe003f1._0x2b898a,0x430,0x441)]=_0x560c40[_0x2ab416(_0xe003f1._0x18d13c,0x41e,0x41a,_0xe003f1._0x5c3290)](this['logFilePath'],{'flags':'w'})),this['writeStream'];}['checkAndRotate'](){const _0x19e8bf={_0x40cd07:0xc4,_0x64379a:0xd1,_0x108d1c:0xb7,_0x28d4f2:0xd3,_0x47b59f:0xe8,_0x1b8b42:0xdf,_0x254f6b:0xf7,_0xc05dc4:0xb0,_0x51c05c:0xa0,_0x3bb69c:0xa3},_0x33b2ed={_0x575e82:0xa9},_0x11c352={_0x2ccb87:0x147,_0x3187dc:0x19,_0x2782aa:0x1a3};function _0x404efd(_0x29d82f,_0x2fbf22,_0x38b38c,_0xd99b73){return _0x6b08e5(_0x2fbf22,_0x2fbf22-_0x11c352._0x2ccb87,_0x38b38c-_0x11c352._0x3187dc,_0x29d82f- -_0x11c352._0x2782aa);}function _0x1d988f(_0x33bed1,_0x243851,_0x1f16fb,_0x4b4606){return _0x6b08e5(_0x33bed1,_0x243851-0x1d0,_0x1f16fb-_0x33b2ed._0x575e82,_0x4b4606- -0x1a7);}try{if(!_0x560c40[_0x1d988f(-0xaa,-0xc6,-0xb6,-0xb3)](this[_0x1d988f(-_0x19e8bf._0x40cd07,-0xbf,-0x107,-0xe6)]))return;_0x560c40[_0x1d988f(-0xb6,-_0x19e8bf._0x64379a,-_0x19e8bf._0x108d1c,-_0x19e8bf._0x28d4f2)](this['logFilePath'])[_0x404efd(-0xe6,-0xe8,-0xbe,-_0x19e8bf._0x47b59f)]>=this[_0x1d988f(-0xef,-_0x19e8bf._0x1b8b42,-_0x19e8bf._0x254f6b,-0xdc)]&&this['rotateLogFiles']();}catch(_0x2fd96f){console[_0x404efd(-_0x19e8bf._0xc05dc4,-_0x19e8bf._0x51c05c,-0xc8,-_0x19e8bf._0x3bb69c)]('Error\x20checking\x20log\x20file\x20size:',_0x2fd96f);}}[_0xa412ac(0x4d,0x78,0x53,0x48)](){const _0x4753e3={_0x250dfd:0x4e9,_0x17cd03:0x4cb,_0x3c12d5:0x4c2,_0x4ca584:0x4a7,_0x4c2526:0x4c7,_0x4f3564:0x499,_0x45b306:0x4b9,_0x4171c7:0x3a8,_0x34ec53:0x394,_0x8ca90e:0x3bb,_0x192299:0x4b1,_0x50d14c:0x3e9,_0x4f0e58:0x3f0,_0x59dfa6:0x3f8,_0x20b08f:0x4a4,_0x24a9e5:0x3db,_0x1b90ef:0x3dd,_0x23b1e7:0x3b6,_0x1ee93c:0x3e2,_0x57f1e2:0x3ee,_0x64ad0d:0x4e6,_0x3095b4:0x50b,_0x17836f:0x4f2,_0x2acbbe:0x4de},_0x6ef39c={_0x4e440c:0x363,_0x1aa476:0x118,_0x30d512:0x1e6},_0x21a6db={_0x126a69:0x69,_0x102f27:0x3f1};function _0x2aee40(_0x4b8075,_0x522d0e,_0x354cb1,_0x4ab145){return _0x6b08e5(_0x354cb1,_0x522d0e-_0x21a6db._0x126a69,_0x354cb1-0x132,_0x4ab145-_0x21a6db._0x102f27);}function _0x35152a(_0x244438,_0x5dc697,_0x338262,_0x1ed0d2){return _0xa412ac(_0x244438-_0x6ef39c._0x4e440c,_0x5dc697-_0x6ef39c._0x1aa476,_0x338262-_0x6ef39c._0x30d512,_0x1ed0d2);}try{this[_0x2aee40(0x4e4,_0x4753e3._0x250dfd,0x4e3,_0x4753e3._0x17cd03)]&&(this[_0x2aee40(_0x4753e3._0x3c12d5,0x4b9,_0x4753e3._0x4ca584,_0x4753e3._0x17cd03)][_0x2aee40(_0x4753e3._0x4c2526,_0x4753e3._0x4f3564,0x4b0,_0x4753e3._0x45b306)](),this['writeStream']=null);let _0x488a0f=this[_0x35152a(_0x4753e3._0x4171c7,_0x4753e3._0x34ec53,_0x4753e3._0x8ca90e,0x3a0)],_0x556930=_0x488a0f+'.'+this[_0x2aee40(0x4d4,0x4c6,_0x4753e3._0x192299,0x4b0)];_0x560c40[_0x35152a(0x3db,_0x4753e3._0x50d14c,_0x4753e3._0x4f0e58,_0x4753e3._0x59dfa6)](_0x556930)&&_0x560c40['unlinkSync'](_0x556930);for(let _0x8ccf05=this[_0x2aee40(0x4be,_0x4753e3._0x20b08f,0x4ad,0x4b0)]-0x1;_0x8ccf05>=0x1;_0x8ccf05--){let _0x4599f3=_0x488a0f+'.'+_0x8ccf05,_0x1d41ee=_0x488a0f+'.'+(_0x8ccf05+0x1);_0x560c40[_0x35152a(_0x4753e3._0x24a9e5,_0x4753e3._0x1b90ef,0x3ef,_0x4753e3._0x23b1e7)](_0x4599f3)&&_0x560c40[_0x35152a(_0x4753e3._0x1ee93c,_0x4753e3._0x57f1e2,0x3bd,0x3c3)](_0x4599f3,_0x1d41ee);}_0x560c40[_0x35152a(_0x4753e3._0x24a9e5,0x3e4,0x3f2,0x3e6)](_0x488a0f)&&_0x560c40['renameSync'](_0x488a0f,_0x488a0f+'.1');}catch(_0x426a1c){console[_0x2aee40(_0x4753e3._0x64ad0d,0x4ce,_0x4753e3._0x3095b4,0x4e4)](_0x2aee40(0x4e0,0x4c5,_0x4753e3._0x17836f,_0x4753e3._0x2acbbe),_0x426a1c);}}[_0xa412ac(0x82,0x66,0x59,0x9a)](_0x972d1b,_0x3d588d,_0x4ac48f){const _0x59794a={_0x54b6f6:0x1e,_0x217c5c:0x18,_0x2b20b4:0x25,_0x1a7f1d:0x9e,_0xde8998:0x90,_0x40f825:0xa2,_0x5adbc7:0x7b,_0x40932d:0xb9,_0x57e8b2:0xb4,_0x32f599:0x2d,_0x22d1bd:0x4e,_0x35cfd6:0x15,_0x4feedc:0xe,_0x47c586:0x91,_0x3f35b7:0x79,_0x35ebe2:0x8a,_0x524b3b:0xa3,_0x383a4c:0x1b},_0x2e3c79={_0xb18af1:0x93,_0xd52e9a:0x19b},_0x2cd435={_0x271e85:0x10,_0x5ac616:0x112};let _0x3418a3=[];function _0x1e2408(_0xa31555,_0x50e29e,_0x4b639e,_0x1251c6){return _0x6b08e5(_0x4b639e,_0x50e29e-_0x2cd435._0x271e85,_0x4b639e-_0x2cd435._0x5ac616,_0xa31555- -0x12a);}function _0x4bd981(_0x3d1986,_0x315c53,_0x26e330,_0xe1fb49){return _0x6b08e5(_0x26e330,_0x315c53-_0x2e3c79._0xb18af1,_0x26e330-0x10a,_0x3d1986- -_0x2e3c79._0xd52e9a);}if(this[_0x1e2408(-_0x59794a._0x54b6f6,-_0x59794a._0x217c5c,-0x24,-_0x59794a._0x2b20b4)]&&_0x3418a3[_0x4bd981(-_0x59794a._0x1a7f1d,-_0x59794a._0xde8998,-0x9c,-0xa3)]('['+new Date()[_0x4bd981(-_0x59794a._0x40f825,-_0x59794a._0x5adbc7,-_0x59794a._0x40932d,-_0x59794a._0x57e8b2)]()+']'),_0x3418a3[_0x1e2408(-_0x59794a._0x32f599,-_0x59794a._0x22d1bd,-_0x59794a._0x35cfd6,-_0x59794a._0x4feedc)]('['+_0x972d1b['toUpperCase']()+']'),_0x3418a3[_0x4bd981(-0x9e,-0xa2,-0x7d,-_0x59794a._0x47c586)](_0x3d588d),_0x4ac48f!==void 0x0)try{_0x3418a3[_0x4bd981(-_0x59794a._0x1a7f1d,-_0x59794a._0x3f35b7,-0xb1,-_0x59794a._0x35ebe2)](JSON[_0x4bd981(-_0x59794a._0x524b3b,-0x89,-_0x59794a._0x3f35b7,-0x83)](_0x4ac48f,null,0x2));}catch{_0x3418a3['push'](String(_0x4ac48f));}return _0x3418a3[_0x1e2408(-0x22,-0x5,-_0x59794a._0x383a4c,-0x33)]('\x20');}[_0xa412ac(0x7e,0x65,0xa7,0x80)](_0x4d49d3){const _0x162006={_0x15a246:0x2f6,_0x4f6e9b:0x2e1,_0x35183f:0x2da,_0xab814f:0x2d5},_0x395d77={_0x96d544:0x1b8,_0x9f43a7:0x204};function _0x4cc7d1(_0x4da7bc,_0x463f0e,_0x55d4c2,_0x18c239){return _0x6b08e5(_0x18c239,_0x463f0e-_0x395d77._0x96d544,_0x55d4c2-0xe8,_0x463f0e-_0x395d77._0x9f43a7);}return T[_0x4d49d3]>=T[this[_0x4cc7d1(_0x162006._0x15a246,_0x162006._0x4f6e9b,_0x162006._0x35183f,_0x162006._0xab814f)]];}[_0x6b08e5(0xbf,0xd6,0xff,0xd8)](_0xd354ff,_0x571b0b,_0x21fd28){const _0x3cd37f={_0x5bc2d1:0x7b,_0x49cd63:0x36,_0x44a58e:0x4b3,_0x599f0b:0x4bb,_0x1f4639:0x47a,_0x117a2e:0x48b,_0x3781b7:0x482,_0x4c2398:0x488,_0x18327b:0x3a,_0x47a9ee:0x7f,_0x4bf4d6:0x62,_0x2e7e8f:0x52,_0x62e81a:0x63,_0x1d9679:0x62,_0x57c111:0x4d3,_0x51be9d:0x4b4,_0x232420:0x4ab},_0x11db9f={_0x4ea566:0xdd},_0x5691b8={_0x4292e6:0x5b};if(!this['shouldLog'](_0xd354ff))return;function _0x10e2e8(_0x2fddcd,_0x3aa69a,_0x49b60f,_0x20b100){return _0x6b08e5(_0x3aa69a,_0x3aa69a-0x80,_0x49b60f-_0x5691b8._0x4292e6,_0x20b100- -0x91);}let _0x2e5b60=this['formatMessage'](_0xd354ff,_0x571b0b,_0x21fd28);function _0x2fa9fa(_0x358250,_0x2ce8e9,_0x555c1c,_0x357af1){return _0xa412ac(_0x555c1c-0x425,_0x2ce8e9-_0x11db9f._0x4ea566,_0x555c1c-0x7c,_0x358250);}this[_0x10e2e8(_0x3cd37f._0x5bc2d1,0x7b,0x6c,0x57)]();try{this[_0x10e2e8(0x4a,0x42,0x37,_0x3cd37f._0x49cd63)]()['write'](_0x2e5b60+'\x0a');}catch(_0x457982){console[_0x2fa9fa(_0x3cd37f._0x44a58e,_0x3cd37f._0x599f0b,0x49c,0x47f)](_0x2fa9fa(_0x3cd37f._0x1f4639,0x475,_0x3cd37f._0x117a2e,_0x3cd37f._0x3781b7),_0x457982);}this[_0x2fa9fa(0x48d,0x465,0x476,_0x3cd37f._0x4c2398)]&&(_0xd354ff===_0x10e2e8(_0x3cd37f._0x18327b,_0x3cd37f._0x47a9ee,0x41,_0x3cd37f._0x4bf4d6)?console[_0x10e2e8(0x7a,_0x3cd37f._0x2e7e8f,_0x3cd37f._0x62e81a,_0x3cd37f._0x1d9679)]:_0xd354ff===_0x2fa9fa(_0x3cd37f._0x57c111,_0x3cd37f._0x51be9d,0x4b2,0x4c5)?console[_0x2fa9fa(_0x3cd37f._0x232420,0x493,0x4b2,0x4a4)]:console['log'])(_0x2e5b60);}[_0x6b08e5(0xb7,0xce,0xdc,0xdb)](_0x1de461,_0x2b9689){const _0x17c051={_0x4520e7:0x45a,_0x158b35:0x47b,_0x301f11:0x461},_0x4c8a29={_0xf60626:0x321,_0x1b53a7:0x18e},_0x800aa0={_0x48d68d:0x394};function _0x203922(_0x37d2a3,_0x34a67e,_0x4bb30e,_0x5b13b2){return _0x6b08e5(_0x37d2a3,_0x34a67e-0x135,_0x4bb30e-0xc6,_0x4bb30e-_0x800aa0._0x48d68d);}function _0xd1e79b(_0x29e0af,_0x1af836,_0x187a1f,_0x332523){return _0xa412ac(_0x1af836-_0x4c8a29._0xf60626,_0x1af836-_0x4c8a29._0x1b53a7,_0x187a1f-0x69,_0x29e0af);}this[_0x203922(_0x17c051._0x4520e7,0x44d,0x46c,0x47e)](_0x203922(0x484,_0x17c051._0x158b35,0x46f,_0x17c051._0x301f11),_0x1de461,_0x2b9689);}[_0xa412ac(0x79,0x7a,0x55,0x89)](_0x1ca428,_0x41cae9){const _0x10b5b3={_0xef7165:0x128,_0xc4f355:0x11a,_0x4cdac8:0x241,_0x360e98:0x267,_0x2f273a:0x23d},_0x517e94={_0x15799e:0x187},_0x4c6d62={_0x55e999:0x1b1,_0x413dc4:0x176};function _0x8cdc19(_0xbd8feb,_0x30f2e9,_0x542f3f,_0x20571f){return _0xa412ac(_0x20571f-0x1c4,_0x30f2e9-_0x4c6d62._0x55e999,_0x542f3f-_0x4c6d62._0x413dc4,_0x30f2e9);}function _0x278a22(_0x210bdc,_0x2f20d8,_0x2735b2,_0x3fce3e){return _0xa412ac(_0x2f20d8- -_0x517e94._0x15799e,_0x2f20d8-0x16d,_0x2735b2-0x1a7,_0x3fce3e);}this[_0x278a22(-0x106,-0x12b,-_0x10b5b3._0xef7165,-_0x10b5b3._0xc4f355)](_0x8cdc19(0x24a,_0x10b5b3._0x4cdac8,_0x10b5b3._0x360e98,_0x10b5b3._0x2f273a),_0x1ca428,_0x41cae9);}[_0x6b08e5(0xe9,0x12b,0xe3,0x109)](_0x492b3c,_0x2bc9fa){const _0x1c12e4={_0x1bb455:0x46,_0xebe59c:0x62},_0x4b653c={_0x591e2f:0x1b9,_0x22d0a9:0x16b};function _0x4afe2f(_0x14d9a0,_0x558a8f,_0x35c52d,_0x5b0b59){return _0x6b08e5(_0x14d9a0,_0x558a8f-_0x4b653c._0x591e2f,_0x35c52d-0x1bc,_0x35c52d- -_0x4b653c._0x22d0a9);}this['write'](_0x4afe2f(-_0x1c12e4._0x1bb455,-0x61,-_0x1c12e4._0xebe59c,-0x78),_0x492b3c,_0x2bc9fa);}[_0x6b08e5(0xfa,0xce,0x10d,0xf3)](_0x2cfa3b,_0x44d600){const _0x299355={_0xaf747b:0x15c},_0x409030={_0x1f2c41:0x100};function _0x151de0(_0x17b6fd,_0x5c44ea,_0x477629,_0x4a9ee3){return _0xa412ac(_0x4a9ee3-_0x409030._0x1f2c41,_0x5c44ea-0x1c2,_0x477629-0xc0,_0x17b6fd);}this[_0x151de0(0x14e,0x162,0x143,_0x299355._0xaf747b)]('error',_0x2cfa3b,_0x44d600);}[_0xa412ac(0x63,0x82,0x63,0x82)](){const _0x3b834b={_0x29a11e:0x98,_0x5a6df1:0xad,_0x1092f4:0x59,_0x384a17:0x5d,_0x50e3c7:0x12,_0x2e5397:0x30},_0x308a3d={_0x45fcf9:0x24,_0x2186ce:0x4b},_0x3cfb5c={_0x415142:0xc,_0x32e3df:0x76};function _0x68a983(_0x26c063,_0x5146c8,_0x332a18,_0xfa9903){return _0xa412ac(_0x26c063- -0x4c,_0x5146c8-_0x3cfb5c._0x415142,_0x332a18-_0x3cfb5c._0x32e3df,_0x332a18);}function _0x3db5df(_0x30a86c,_0x537562,_0x1deaef,_0x20cf32){return _0xa412ac(_0x537562-_0x308a3d._0x45fcf9,_0x537562-0x140,_0x1deaef-_0x308a3d._0x2186ce,_0x1deaef);}this['writeStream']&&(this[_0x3db5df(0x6f,0x82,_0x3b834b._0x29a11e,_0x3b834b._0x5a6df1)][_0x3db5df(_0x3b834b._0x1092f4,0x70,_0x3b834b._0x384a17,0x92)](),this[_0x68a983(_0x3b834b._0x50e3c7,0x2d,_0x3b834b._0x2e5397,0x2c)]=null);}[_0xa412ac(0x5d,0x7c,0x51,0x5f)](){return this['logFilePath'];}[_0xa412ac(0x44,0x27,0x2e,0x5d)](){const _0x2fa151={_0x2d3940:0x145,_0x1b2619:0x12a,_0x331049:0x234,_0x1f162c:0x103,_0x2b725b:0x12c,_0x18bf22:0x236,_0x32a877:0x213,_0x1ce53e:0x123,_0x5ba331:0x157,_0x3acc7e:0x12c,_0x43d841:0x10f,_0x453a04:0x12b,_0x57bf89:0x13e},_0x817dde={_0x5db460:0x173},_0x10c710={_0x15fd9e:0x1a2};function _0x95524a(_0x3c5a6a,_0x5d13d1,_0x4abf77,_0x970fc3){return _0xa412ac(_0x970fc3- -_0x10c710._0x15fd9e,_0x5d13d1-0x11c,_0x4abf77-0x118,_0x4abf77);}function _0x8a72af(_0x57f1fd,_0x5a49bb,_0x41b53a,_0x4c9f82){return _0x6b08e5(_0x57f1fd,_0x5a49bb-0x14d,_0x41b53a-0x6f,_0x41b53a-_0x817dde._0x5db460);}try{this[_0x8a72af(0x26e,0x227,0x252,0x23c)](),_0x560c40[_0x95524a(-0x121,-_0x2fa151._0x2d3940,-0x142,-_0x2fa151._0x1b2619)](this[_0x8a72af(0x239,0x249,_0x2fa151._0x331049,0x236)])&&_0x560c40[_0x95524a(-0x132,-0x13e,-_0x2fa151._0x1f162c,-_0x2fa151._0x2b725b)](this['logFilePath']);for(let _0x3259c1=0x1;_0x3259c1<=this[_0x8a72af(_0x2fa151._0x18bf22,_0x2fa151._0x32a877,0x232,0x20e)];_0x3259c1++){let _0x49fe53=this['logFilePath']+'.'+_0x3259c1;_0x560c40['existsSync'](_0x49fe53)&&_0x560c40[_0x95524a(-_0x2fa151._0x1ce53e,-0x114,-_0x2fa151._0x5ba331,-_0x2fa151._0x3acc7e)](_0x49fe53);}}catch(_0xd81e7a){console[_0x95524a(-_0x2fa151._0x43d841,-0x110,-0x11d,-_0x2fa151._0x453a04)](_0x95524a(-0x11f,-0x119,-0x137,-_0x2fa151._0x57bf89),_0xd81e7a);}}},L=null;function F(_0x1bb608){const _0x1e1c35={_0xdf89e3:0x273,_0x4487a3:0x26f};function _0x543ded(_0x503065,_0x27d3ef,_0x14c503,_0x51f95c){return _0xa412ac(_0x27d3ef- -0x2ea,_0x27d3ef-0x16a,_0x14c503-0x18,_0x503065);}return L||(L=new x({'logDir':'.','minLevel':_0x543ded(-0x24f,-_0x1e1c35._0xdf89e3,-0x254,-_0x1e1c35._0x4487a3),..._0x1bb608})),L;}var V=F();function _0x6b08e5(_0x10823b,_0x12c586,_0x4c57bc,_0x3bd30e){return _0x4685(_0x3bd30e- -0x4c,_0x10823b);}function _0x4685(_0x134ece,_0x3b79c5){_0x134ece=_0x134ece-0x104;const _0x4ac09e=_0x4ac0();let _0x468589=_0x4ac09e[_0x134ece];if(_0x4685['rzeZwi']===undefined){var _0x1fc02a=function(_0x241f2d){const _0x1ac27b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51583b='',_0x10e347='';for(let _0x15de89=0x0,_0x4f822b,_0x1b6c10,_0x560c40=0x0;_0x1b6c10=_0x241f2d['charAt'](_0x560c40++);~_0x1b6c10&&(_0x4f822b=_0x15de89%0x4?_0x4f822b*0x40+_0x1b6c10:_0x1b6c10,_0x15de89++%0x4)?_0x51583b+=String['fromCharCode'](0xff&_0x4f822b>>(-0x2*_0x15de89&0x6)):0x0){_0x1b6c10=_0x1ac27b['indexOf'](_0x1b6c10);}for(let _0x4154f4=0x0,_0x4e10a9=_0x51583b['length'];_0x4154f4<_0x4e10a9;_0x4154f4++){_0x10e347+='%'+('00'+_0x51583b['charCodeAt'](_0x4154f4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10e347);};_0x4685['RBwvsy']=_0x1fc02a,_0x4685['PuPeJu']={},_0x4685['rzeZwi']=!![];}const _0x337ff9=_0x4ac09e[0x0],_0x508f8c=_0x134ece+_0x337ff9,_0x2e91a9=_0x4685['PuPeJu'][_0x508f8c];return!_0x2e91a9?(_0x468589=_0x4685['RBwvsy'](_0x468589),_0x4685['PuPeJu'][_0x508f8c]=_0x468589):_0x468589=_0x2e91a9,_0x468589;}function p(){const _0x5127ef={_0x5381d8:0x235,_0x1b95d9:0x207,_0x16f9c7:0x225,_0x5c96ca:0x2b3,_0x433318:0x1ff},_0x27ad85={_0x414015:0x1c9},_0x18ae19={_0x582bb7:0xe2,_0x59efc3:0x1f1};function _0xb71da1(_0x49982c,_0x425734,_0x43b15d,_0x2ba5a4){return _0xa412ac(_0x49982c- -0x307,_0x425734-_0x18ae19._0x582bb7,_0x43b15d-_0x18ae19._0x59efc3,_0x2ba5a4);}function _0x5bd1ea(_0xf9336f,_0x372756,_0x31c692,_0x2e635a){return _0xa412ac(_0x2e635a-0x199,_0x372756-_0x27ad85._0x414015,_0x31c692-0x18d,_0x31c692);}return _0x4f822b[_0x5bd1ea(_0x5127ef._0x5381d8,_0x5127ef._0x1b95d9,0x20d,_0x5127ef._0x16f9c7)](_0x1b6c10[_0xb71da1(-0x2ad,-0x299,-_0x5127ef._0x5c96ca,-0x2c5)](),_0x5bd1ea(0x1e3,_0x5127ef._0x433318,0x1c5,0x1d8),'sessions');}async function I(_0x83c3a7){const _0xb75741={_0x25e494:0x141,_0x5581fa:0x1c0,_0x21579c:0x1bf,_0x5c0c93:0x19d,_0x3fddc9:0x184,_0x2de92b:0x196,_0xfb714b:0x1df,_0x1b91d3:0x18a,_0x185443:0x176,_0x1b02d6:0x1ae},_0x340c30={_0x2ffebe:0x167,_0x4595a8:0x113},_0x2d74e9={_0x1da6d3:0xa0};function _0x501df7(_0x38e7ca,_0x45f46b,_0x1462fd,_0x57e251){return _0x6b08e5(_0x1462fd,_0x45f46b-0x12f,_0x1462fd-_0x2d74e9._0x1da6d3,_0x45f46b- -0x258);}function _0x2ac564(_0x3e4bb4,_0x43b73d,_0x4c2993,_0x25efda){return _0xa412ac(_0x43b73d- -0x20e,_0x43b73d-_0x340c30._0x2ffebe,_0x4c2993-_0x340c30._0x4595a8,_0x25efda);}try{let _0x4c4685=await _0x15de89[_0x501df7(-_0xb75741._0x25e494,-0x168,-0x17b,-0x150)](_0x83c3a7,_0x501df7(-_0xb75741._0x5581fa,-0x19c,-_0xb75741._0x21579c,-_0xb75741._0x5c0c93));if(!_0x4c4685||!_0x4c4685[_0x2ac564(-0x186,-0x1a7,-0x188,-_0xb75741._0x3fddc9)]())return null;let _0x116020=JSON[_0x2ac564(-_0xb75741._0x2de92b,-0x1b7,-0x1c1,-_0xb75741._0xfb714b)](_0x4c4685);return _0x116020??null;}catch(_0x27d73e){if(_0x27d73e?.[_0x2ac564(-0x186,-_0xb75741._0x1b91d3,-_0xb75741._0x185443,-_0xb75741._0x1b02d6)]==='ENOENT')return null;throw _0x27d73e;}}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0x412e63=>{const _0x1c8eef={_0x49c83f:0x34d,_0x518ce1:0x34f,_0x2c34aa:0x34d,_0x4bce90:0xf5,_0x3bde97:0x379,_0x37a1da:0x35f,_0x398d3b:0xd9,_0x3722c6:0xc4,_0x5e4ff6:0xfe,_0x30dda6:0xba,_0x109861:0x391,_0x4319d2:0x3a7,_0x2e6c9e:0x368,_0x49b52c:0xfb},_0x65e735={_0x2a8ce2:0x4fe,_0x41dd46:0x371,_0x3ee8cb:0x3ab,_0x2eddb3:0x4d7,_0x574a06:0x518,_0x74b16e:0x4bd,_0xe9d7f1:0x4b6,_0x5ec2bb:0x3ad,_0x4663b8:0x38a,_0x5cb320:0x387,_0xc6e0e6:0x4ab,_0xc6c36:0x4c9,_0x2b9369:0x4f1,_0x4b90d3:0x3b5,_0x3945ea:0x36c,_0x1ce742:0x397,_0x91a996:0x370,_0x1692f5:0x4aa,_0x4fd2c7:0x4b7,_0x2fbe16:0x49a,_0x5be51c:0x4d8,_0x89b610:0x4ab,_0xd281c3:0x4ef,_0x228108:0x505,_0x568585:0x382,_0x2ed3cd:0x4e5,_0x44a90c:0x4df,_0x314c46:0x4aa,_0x14dab0:0x3b9,_0x599eb4:0x3a9,_0x14c72f:0x37f,_0x411e48:0x39a,_0x4dfdd0:0x38d,_0x5b87cb:0x38c,_0x3f73a7:0x35c,_0x163724:0x36f,_0x4e0def:0x3bb,_0x336ca7:0x3b7,_0x29545b:0x3c3},_0x9a49b9={_0x3b7d2b:0x121,_0x5ebaf2:0x12b},_0xf7ce6c={_0x11dc47:0xe9},_0x2d5047={_0x263ede:0x145,_0x5f400c:0x35};let _0x412bb3=j[_0x43a38c(_0x1c8eef._0x49c83f,0x368,_0x1c8eef._0x518ce1,_0x1c8eef._0x2c34aa)](_0x412e63);function _0x43a38c(_0x5ce559,_0x253750,_0x214210,_0x1052c6){return _0x6b08e5(_0x253750,_0x253750-_0x2d5047._0x263ede,_0x214210-_0x2d5047._0x5f400c,_0x5ce559-0x287);}if(_0x412bb3&&Date[_0x4d9068(-0xfe,-0x115,-_0x1c8eef._0x4bce90,-0xee)]()-_0x412bb3[_0x43a38c(0x363,_0x1c8eef._0x3bde97,0x33a,_0x1c8eef._0x37a1da)]<A)return W[_0x4d9068(-_0x1c8eef._0x398d3b,-_0x1c8eef._0x3722c6,-_0x1c8eef._0x5e4ff6,-_0x1c8eef._0x30dda6)](_0x43a38c(_0x1c8eef._0x109861,0x374,0x374,_0x1c8eef._0x4319d2),_0x412e63),_0x412bb3[_0x43a38c(_0x1c8eef._0x2e6c9e,0x359,0x34b,0x35c)];function _0x4d9068(_0x3122e8,_0x463cb6,_0x5520e0,_0x222c09){return _0x6b08e5(_0x5520e0,_0x463cb6-0x128,_0x5520e0-_0xf7ce6c._0x11dc47,_0x3122e8- -0x1ce);}let _0x5a00be=k[_0x4d9068(-0x108,-0x10d,-_0x1c8eef._0x49b52c,-0xe5)](_0x412e63);if(_0x5a00be)return _0x5a00be;let _0x38ec09=((async()=>{function _0x5cf7f7(_0x2f0a26,_0x168002,_0x540534,_0x580e1d){return _0x4d9068(_0x540534-0x47a,_0x168002-_0x9a49b9._0x3b7d2b,_0x2f0a26,_0x580e1d-_0x9a49b9._0x5ebaf2);}function _0x2b20c4(_0xa7aad3,_0x269702,_0x1c5195,_0x40fc95){return _0x4d9068(_0x1c5195-0x5bb,_0x269702-0xec,_0xa7aad3,_0x40fc95-0x39);}try{let _0x4d2d0a=p();if(!_0x10e347[_0x2b20c4(_0x65e735._0x2a8ce2,0x4d8,0x4e1,0x4db)](_0x4d2d0a))return[];let _0x32dc42=(await _0x15de89['readdir'](_0x4d2d0a,{'withFileTypes':!0x0}))[_0x5cf7f7(_0x65e735._0x41dd46,_0x65e735._0x3ee8cb,0x392,0x3ac)](_0x2c6378=>_0x2c6378[_0x5cf7f7(0x386,0x3ae,0x3af,0x3b3)]())['map'](_0x1fdd3f=>_0x1fdd3f[_0x5cf7f7(0x385,0x399,0x3a8,0x3a5)]);_0x32dc42['sort']((_0x41f4b7,_0x2dce19)=>parseInt(_0x2dce19,0xa)-parseInt(_0x41f4b7,0xa));let _0x433d67=[];for(let _0x35c826 of _0x32dc42){if(_0x412e63&&_0x433d67[_0x2b20c4(_0x65e735._0x2eddb3,0x4e3,0x4cb,0x4d5)]>=_0x412e63)break;let _0x2e56d1=_0x4f822b[_0x2b20c4(0x4ca,_0x65e735._0x574a06,0x4f5,0x4e6)](_0x4d2d0a,_0x35c826,'history.json');try{let _0x3fcc9a=await I(_0x2e56d1);if(!_0x3fcc9a)continue;let _0x1b9ff6=_0x3fcc9a?.[_0x2b20c4(_0x65e735._0x74b16e,_0x65e735._0xe9d7f1,0x4bc,0x4ad)]??[];if(_0x1b9ff6[_0x5cf7f7(_0x65e735._0x5ec2bb,0x3a8,_0x65e735._0x4663b8,0x3a3)]===0x0)continue;let _0x2a0447='No\x20messages';for(let _0x4a8866=_0x1b9ff6[_0x5cf7f7(0x38e,_0x65e735._0x5cb320,_0x65e735._0x4663b8,0x385)]-0x1;_0x4a8866>=0x0;_0x4a8866--){let _0x5da349=_0x1b9ff6[_0x4a8866];if(!_0x5da349||typeof _0x5da349!='object')continue;let _0x488c72=_0x5da349;if(_0x488c72[_0x2b20c4(0x496,_0x65e735._0xc6e0e6,0x4b1,0x48c)]===_0x2b20c4(_0x65e735._0xc6c36,0x4f3,_0x65e735._0x2b9369,0x4f9)){let _0x4d17fc=_0x488c72['content'];_0x2a0447=typeof _0x4d17fc==_0x5cf7f7(_0x65e735._0x4b90d3,_0x65e735._0x3945ea,_0x65e735._0x1ce742,_0x65e735._0x91a996)?_0x4d17fc:'';break;}}let _0x19d8c0=_0x3fcc9a?.[_0x2b20c4(_0x65e735._0x1692f5,0x4b9,_0x65e735._0x4fd2c7,_0x65e735._0x2fbe16)],_0x39d941=_0x19d8c0&&_0x19d8c0[_0x2b20c4(0x4cb,_0x65e735._0x5be51c,0x4cb,_0x65e735._0x89b610)]>0x0?_0x19d8c0[0x0]:null,_0x18d6ef=_0x39d941&&typeof _0x39d941==_0x2b20c4(0x4f9,_0x65e735._0x574a06,_0x65e735._0xd281c3,_0x65e735._0x228108)&&_0x5cf7f7(_0x65e735._0x568585,0x39c,0x398,0x3a0)in _0x39d941?_0x39d941[_0x2b20c4(_0x65e735._0x2ed3cd,0x4b9,0x4d9,_0x65e735._0x44a90c)]:void 0x0,_0x4aadfc=new Date(parseInt(_0x35c826,0xa))[_0x2b20c4(_0x65e735._0x314c46,0x492,0x4b0,0x499)]();_0x433d67[_0x5cf7f7(0x395,_0x65e735._0x14dab0,_0x65e735._0x599eb4,_0x65e735._0x14c72f)]({'sessionId':_0x35c826,'timestamp':_0x4aadfc,'lastMessage':_0x2a0447,'messageCount':_0x1b9ff6[_0x5cf7f7(_0x65e735._0x411e48,_0x65e735._0x4dfdd0,0x38a,_0x65e735._0x5b87cb)],'topic':_0x18d6ef});}catch{}}return j[_0x5cf7f7(_0x65e735._0x3f73a7,_0x65e735._0x163724,0x364,0x33b)](_0x412e63,{'timestamp':Date[_0x2b20c4(0x4db,0x4a4,_0x65e735._0x74b16e,0x4db)](),'data':_0x433d67}),_0x433d67;}finally{k[_0x5cf7f7(0x39f,_0x65e735._0x4e0def,_0x65e735._0x336ca7,_0x65e735._0x29545b)](_0x412e63);}})());return k['set'](_0x412e63,_0x38ec09),_0x38ec09;},H=async _0xe6961b=>{const _0x4ddd88={_0x5ccf99:0x15c,_0x4bb2eb:0x132,_0x5ec8b3:0x116,_0x7cee78:0xc9,_0x299798:0xec,_0x496317:0x164,_0x283a13:0x16e},_0x25aaaf={_0xe2973a:0x8c},_0x4b4f1e={_0x1d150c:0x94};let _0x1ac707=_0xe6961b??String(Date[_0x4b8a5b(0x136,_0x4ddd88._0x5ccf99,0x17c,_0x4ddd88._0x4bb2eb)]()),_0x5f0149=p(),_0x5ce6cf=_0x4f822b[_0x26921f(_0x4ddd88._0x5ec8b3,_0x4ddd88._0x7cee78,_0x4ddd88._0x299798,0xde)](_0x5f0149,_0x1ac707);try{await _0x15de89[_0x4b8a5b(_0x4ddd88._0x496317,0x176,0x15b,_0x4ddd88._0x283a13)](_0x5ce6cf,{'recursive':!0x0});}catch{}function _0x26921f(_0x16db62,_0x1be163,_0x565d22,_0x6a7b66){return _0xa412ac(_0x565d22-0x60,_0x1be163-0xc1,_0x565d22-_0x4b4f1e._0x1d150c,_0x16db62);}function _0x4b8a5b(_0x3e6fd8,_0x5ee368,_0x2c7ec5,_0x120d20){return _0x6b08e5(_0x120d20,_0x5ee368-0x15d,_0x2c7ec5-0x47,_0x5ee368-_0x25aaaf._0xe2973a);}return{'sessionId':_0x1ac707,'sessionDir':_0x5ce6cf};},_=async _0x5b31c8=>{const _0x2048ae={_0x78dd2f:0x148,_0x2519a7:0x141,_0x3914d1:0x126,_0x3072e5:0x142,_0x2c0692:0x24f,_0x35d525:0x107,_0x9a011f:0x113,_0x4b683a:0x220,_0x26ffb8:0x13e,_0x14ab51:0x14b,_0x324bbf:0x11a,_0x2aca35:0x129,_0x4ef1c2:0x132,_0x3648a7:0x142},_0x4ed487={_0x568f86:0x89,_0x3d48ac:0x12d},_0x19d55a={_0x18a1bc:0x1f0,_0x542b15:0x1c8};function _0x55775c(_0x1ee30e,_0x4ae76a,_0x4f66e7,_0x8134b6){return _0xa412ac(_0x4f66e7-0x1c3,_0x4ae76a-_0x19d55a._0x18a1bc,_0x4f66e7-_0x19d55a._0x542b15,_0x4ae76a);}function _0x34800a(_0x453c22,_0x480b2f,_0x451ce0,_0xdbe57e){return _0xa412ac(_0xdbe57e- -0x194,_0x480b2f-_0x4ed487._0x568f86,_0x451ce0-_0x4ed487._0x3d48ac,_0x480b2f);}try{let _0x18bfc1=await I(_0x5b31c8);if(!_0x18bfc1)return{'kind':_0x34800a(-0x146,-0x15a,-_0x2048ae._0x78dd2f,-0x142),'reason':_0x34800a(-0x126,-0xfc,-0x149,-0x127)};let _0x4ee9b4=_0x18bfc1[_0x34800a(-0x118,-0x15e,-0x138,-_0x2048ae._0x2519a7)]||[];if(_0x4ee9b4['length']===0x0)return{'kind':_0x34800a(-0x12b,-0x16c,-_0x2048ae._0x3914d1,-_0x2048ae._0x3072e5),'reason':_0x55775c(0x271,_0x2048ae._0x2c0692,0x24e,0x276)};let {processMessageToUILines:_0x901c53}=await import('./messageProcessor-6LZZDCBX.js'),_0x334e59=[];for(let _0x1c4ef7 of _0x4ee9b4)_0x334e59[_0x34800a(-0xf9,-0xf8,-_0x2048ae._0x35d525,-_0x2048ae._0x9a011f)](..._0x901c53(_0x1c4ef7));let _0x5277aa=null;for(let _0xcae8fa=_0x4ee9b4[_0x55775c(0x200,0x208,0x225,_0x2048ae._0x4b683a)]-0x1;_0xcae8fa>=0x0;_0xcae8fa--)if(_0x4ee9b4[_0xcae8fa]['role']===_0x34800a(-0x171,-_0x2048ae._0x26ffb8,-0x15c,-_0x2048ae._0x14ab51)){_0x5277aa={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x34800a(-0x106,-_0x2048ae._0x324bbf,-0xff,-_0x2048ae._0x2aca35),'lines':_0x334e59,'metadata':_0x5277aa,'cliMessages':_0x4ee9b4,'count':_0x4ee9b4['length']};}catch{return{'kind':_0x34800a(-_0x2048ae._0x4ef1c2,-0x15d,-0x152,-_0x2048ae._0x3648a7),'reason':_0x34800a(-0x14e,-0x104,-0x122,-0x127)};}},K=async _0x7770bc=>{const _0x4962db={_0x369cd4:0x3ab,_0x5e4df6:0x3f2,_0x2facc0:0x3c7},_0x139373={_0x1580fc:0x103,_0x155ca8:0x133,_0x39f7b6:0x308};function _0x58d0a8(_0x3ebb16,_0x101ad5,_0x5bc7f1,_0x3c28c3){return _0x6b08e5(_0x101ad5,_0x101ad5-_0x139373._0x1580fc,_0x5bc7f1-_0x139373._0x155ca8,_0x3ebb16-_0x139373._0x39f7b6);}let _0x1c719f=p(),_0x559226=_0x4f822b['join'](_0x1c719f,_0x7770bc,_0x58d0a8(0x3ca,_0x4962db._0x369cd4,_0x4962db._0x5e4df6,_0x4962db._0x2facc0));return _(_0x559226);},Y=_0x26df24=>_0x4f822b[_0xa412ac(0x8c,0xa4,0xa0,0xa7)](p(),_0x26df24),Z=()=>{let [_0x173895,_0x44d031]=_0x51583b([]);return{'availableSessions':_0x173895,'setAvailableSessions':_0x44d031,'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};