@nuvin/nuvin-cli 1.13.0 → 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(_0x1dce2a,_0x32fdb4){const _0x4a6d7b={_0x80f171:0x1b7,_0x44f605:0x202,_0x376387:0x1e8,_0x4b6385:0x1e6,_0x236ea2:0x5b,_0x15ce10:0x94,_0x2aa14d:0x9f,_0x336938:0x9a,_0x624ffc:0x70,_0x39fa0a:0x81,_0x214184:0x9e,_0x49b07f:0x1b4,_0x140414:0xbb,_0x3bcaa2:0xac,_0x2eccdc:0x95,_0x5ca04b:0x79,_0x594429:0x5c,_0x1acf33:0x8a,_0x211600:0xaa,_0x1a84c7:0x9c,_0x16748c:0x1e1,_0x375362:0x1cf,_0x4949cd:0x1fb};function _0x4e73d5(_0x98f602,_0x5839dd,_0x377705,_0xd0002a){return _0x2258(_0x98f602- -0x5,_0x377705);}function _0x1209bc(_0x35d390,_0x2a8f18,_0x484ade,_0x3c983b){return _0x2258(_0x484ade-0x125,_0x2a8f18);}const _0x4712b8=_0x1dce2a();while(!![]){try{const _0x796fb6=-parseInt(_0x1209bc(_0x4a6d7b._0x80f171,0x1d7,0x1b3,0x19f))/0x1+-parseInt(_0x1209bc(0x1c0,_0x4a6d7b._0x44f605,_0x4a6d7b._0x376387,_0x4a6d7b._0x4b6385))/0x2+parseInt(_0x4e73d5(0x7b,_0x4a6d7b._0x236ea2,_0x4a6d7b._0x15ce10,_0x4a6d7b._0x2aa14d))/0x3+-parseInt(_0x4e73d5(0x70,_0x4a6d7b._0x336938,0x91,_0x4a6d7b._0x624ffc))/0x4*(-parseInt(_0x4e73d5(0x7f,_0x4a6d7b._0x39fa0a,_0x4a6d7b._0x214184,0x56))/0x5)+-parseInt(_0x1209bc(_0x4a6d7b._0x49b07f,0x19c,0x1c0,0x19d))/0x6*(parseInt(_0x4e73d5(_0x4a6d7b._0x140414,0xd3,_0x4a6d7b._0x3bcaa2,_0x4a6d7b._0x2eccdc))/0x7)+parseInt(_0x4e73d5(_0x4a6d7b._0x5ca04b,_0x4a6d7b._0x594429,0x96,0x67))/0x8*(parseInt(_0x4e73d5(0xa8,_0x4a6d7b._0x1acf33,_0x4a6d7b._0x211600,_0x4a6d7b._0x1a84c7))/0x9)+-parseInt(_0x1209bc(_0x4a6d7b._0x16748c,_0x4a6d7b._0x375362,0x1f0,_0x4a6d7b._0x4949cd))/0xa;if(_0x796fb6===_0x32fdb4)break;else _0x4712b8['push'](_0x4712b8['shift']());}catch(_0x332941){_0x4712b8['push'](_0x4712b8['shift']());}}}(_0x4c17,0xaa277));import{useState as _0x83b8b}from'react';import*as _0x1417c3 from'fs';function _0x4c17(){const _0x1a1fd3=['zM9YBwf0twvZC2fNzq','y2XVC2u','Bg9NrMLSzu5HBwu','AxneAxjLy3rVCNK','zw5K','D2fYBG','AM9PBG','mtm4odaZnZbouMDNquG','nfDmu3nrqG','ChvZAa','Bwf4rMLSzxm','tM8GBwvZC2fNzxm','Bg9NCW','zxjYB3i','BwfW','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','Dg9WAwm','oevUrhzvEa','C2HVDwXKtg9N','mZi5ndq2mLPLt3rirW','C3rYAw5N','BgvUz3rO','ru5pru5u','nJq4ndC4nxDbAgvvEq','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','C2L6zq','z2v0','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','BwTKAxi','zgvIDwC','DxrMltG','C3rHDfn5BMm','D3jPDgvtDhjLyw0','ndm0mtm5EhDfEwXJ','CMvUyw1Lu3LUyW','zw5ZDxjLtg9NrgLYzwn0B3j5','C2vZC2LVBNm','lMXVzW','CM9Szq','lM51DMLUlwnSAq','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','BwLUtgv2zwW','B2jQzwn0','y2XLyxjmB2DZ','C3rYAw5NAwz5','Dg9ju09tDhjPBMC','nJKWnK52sNL1vq','Bwf4rMLSzvnPEMu','D3jPDgu','BMfTzq','Aw5JBhvKzvrPBwvZDgfTCa','CMvHzezPBgu','Dg9vChbLCKnHC2u','Bg9Nvg9dB25ZB2XL','Dw5SAw5Ru3LUyW','BM90x2zVDw5K','zgvZDhjVEwvK','zxHPC3rZu3LUyW','Dg9mB2nHBgvtDhjPBMC','BM93','CM90yxrLtg9NrMLSzxm','Bg9NrgLY','C2v0','zgf0yq','nZa4mZyWm2XXzuzrrq','Ag9TzwrPCG','z2v0v3jPDgvtDhjLyw0','CgfYC2u','BwvZC2fNzxm','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','y29UDgvUDa','BNv2Aw4','y29Kzq','zMLSDgvY','zw1WDhK','Bg9NrMLSzvbHDgG','z2v0tg9NrMLSzvbHDgG','CMvHzgrPCG','zgvSzxrL','y2HLy2TbBMrsB3rHDgu','y2XP','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','y3jLyxrLv3jPDgvtDhjLyw0','mtG1nwLYwffdwa','AgLZDg9YEs5QC29U','Aw5MBW','nZe2mdCYtMnuu21m'];_0x4c17=function(){return _0x1a1fd3;};return _0x4c17();}import*as _0x11b98f from'fs/promises';import*as _0x199e33 from'path';function _0x2258(_0x2dde10,_0x36f7d3){_0x2dde10=_0x2dde10-0x75;const _0x4c17d1=_0x4c17();let _0x225854=_0x4c17d1[_0x2dde10];if(_0x2258['VrhnkD']===undefined){var _0x4f1b8e=function(_0x3a744c){const _0x370e03='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x83b8b='',_0x1417c3='';for(let _0x11b98f=0x0,_0x199e33,_0x26be31,_0x2f3882=0x0;_0x26be31=_0x3a744c['charAt'](_0x2f3882++);~_0x26be31&&(_0x199e33=_0x11b98f%0x4?_0x199e33*0x40+_0x26be31:_0x26be31,_0x11b98f++%0x4)?_0x83b8b+=String['fromCharCode'](0xff&_0x199e33>>(-0x2*_0x11b98f&0x6)):0x0){_0x26be31=_0x370e03['indexOf'](_0x26be31);}for(let _0x5f2083=0x0,_0x246503=_0x83b8b['length'];_0x5f2083<_0x246503;_0x5f2083++){_0x1417c3+='%'+('00'+_0x83b8b['charCodeAt'](_0x5f2083)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1417c3);};_0x2258['ZjRBlR']=_0x4f1b8e,_0x2258['VuoFYP']={},_0x2258['VrhnkD']=!![];}const _0x3c0178=_0x4c17d1[0x0],_0x36a112=_0x2dde10+_0x3c0178,_0x24bc46=_0x2258['VuoFYP'][_0x36a112];return!_0x24bc46?(_0x225854=_0x2258['ZjRBlR'](_0x225854),_0x2258['VuoFYP'][_0x36a112]=_0x225854):_0x225854=_0x24bc46,_0x225854;}import*as _0x26be31 from'os';function _0x273923(_0x1cd28c,_0x642cdc,_0xcf98ba,_0x5ebf12){const _0x537285={_0x439ded:0x318};return _0x2258(_0x5ebf12- -_0x537285._0x439ded,_0x1cd28c);}import*as _0x2f3882 from'fs';import*as _0x5f2083 from'path';import*as _0x246503 from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x545a61={}){const _0x59f9c7={_0x59fe84:0x430,_0x34bacc:0x409,_0x278c68:0x439,_0xbadfd2:0x42f,_0x7d62dd:0x26a,_0x2553ad:0x24a,_0x5b2da1:0x275,_0x9419fc:0x278,_0x162126:0x284,_0x2e3494:0x28f,_0x298332:0x237,_0x401545:0x26b,_0x1eb716:0x470,_0x31ee1f:0x457,_0x32b319:0x28b,_0x1901f4:0x256,_0x5b6f47:0x279,_0x320306:0x270,_0x2f0572:0x291,_0xc1e738:0x428,_0x327b96:0x41f,_0x4549c5:0x405,_0x52f594:0x43f,_0x401f27:0x45e,_0x5985b9:0x42a,_0x45a6cf:0x25d,_0x32c0a5:0x2a5,_0x4a3082:0x410,_0x1a3bcf:0x41a,_0x20288a:0x40f,_0x307b84:0x27f,_0x27a59f:0x2a7,_0x4c1191:0x284,_0x4bd901:0x295,_0x81f888:0x2ab,_0x20f528:0x421,_0x54bee1:0x444,_0x1ef967:0x447,_0x53aea6:0x450},_0x37dfe9={_0x241aa6:0x323};function _0x4b6a53(_0x4d4805,_0x14480f,_0x5d7ee8,_0x2fae25){return _0x2258(_0x2fae25- -_0x37dfe9._0x241aa6,_0x5d7ee8);}this[_0x2f4b9a(0x459,_0x59f9c7._0x59fe84,_0x59f9c7._0x34bacc,0x428)]=null,this[_0x2f4b9a(_0x59f9c7._0x278c68,0x44d,0x459,0x440)]=_0x545a61[_0x2f4b9a(0x456,0x44d,0x442,_0x59f9c7._0xbadfd2)]||_0x5f2083[_0x4b6a53(-_0x59f9c7._0x7d62dd,-0x264,-0x25f,-0x259)](_0x246503[_0x4b6a53(-_0x59f9c7._0x2553ad,-0x268,-0x272,-_0x59f9c7._0x5b2da1)](),_0x4b6a53(-_0x59f9c7._0x9419fc,-_0x59f9c7._0x162126,-0x286,-_0x59f9c7._0x2e3494),_0x2f4b9a(0x447,0x41c,0x432,0x3fe));function _0x2f4b9a(_0x44a365,_0x319114,_0x1aa684,_0x2a30e1){return _0x2258(_0x319114-0x3a3,_0x1aa684);}let _0x59ee08=_0x545a61[_0x4b6a53(-0x249,-_0x59f9c7._0x298332,-_0x59f9c7._0x401545,-0x25d)]||_0x2f4b9a(_0x59f9c7._0x1eb716,_0x59f9c7._0x31ee1f,0x46d,0x455);this[_0x4b6a53(-_0x59f9c7._0x32b319,-0x24e,-_0x59f9c7._0x1901f4,-0x26b)]=_0x5f2083[_0x4b6a53(-_0x59f9c7._0x298332,-0x261,-0x256,-0x259)](this[_0x4b6a53(-0x266,-0x262,-0x271,-_0x59f9c7._0x5b6f47)],_0x59ee08+_0x4b6a53(-_0x59f9c7._0x320306,-0x2a3,-0x299,-_0x59f9c7._0x2f0572)),this[_0x2f4b9a(0x465,0x439,0x41a,0x439)]=_0x545a61[_0x2f4b9a(_0x59f9c7._0xc1e738,_0x59f9c7._0x278c68,0x43a,0x412)]||_0x2f4b9a(_0x59f9c7._0x327b96,0x41d,_0x59f9c7._0x4549c5,0x41e),this[_0x2f4b9a(0x435,_0x59f9c7._0x52f594,_0x59f9c7._0x401f27,_0x59f9c7._0x5985b9)]=_0x545a61[_0x4b6a53(-_0x59f9c7._0x45a6cf,-0x280,-_0x59f9c7._0x32c0a5,-0x287)]||0x5*0x400*0x400,this[_0x2f4b9a(0x427,0x41a,0x3fd,0x40d)]=_0x545a61[_0x2f4b9a(_0x59f9c7._0x4a3082,_0x59f9c7._0x1a3bcf,_0x59f9c7._0x20288a,_0x59f9c7._0x1a3bcf)]||0x3,this[_0x4b6a53(-_0x59f9c7._0x307b84,-0x277,-_0x59f9c7._0x27a59f,-_0x59f9c7._0x4c1191)]=_0x545a61[_0x4b6a53(-_0x59f9c7._0x4bd901,-_0x59f9c7._0x81f888,-0x281,-_0x59f9c7._0x162126)]??!0x0,this['logToConsole']=_0x545a61[_0x2f4b9a(0x469,0x445,_0x59f9c7._0x20f528,_0x59f9c7._0x54bee1)]??!0x1,this[_0x2f4b9a(0x41c,0x433,_0x59f9c7._0x1ef967,_0x59f9c7._0x53aea6)]();}[_0x505966(-0xbc,-0x7c,-0x9c,-0x7b)](){const _0x459466={_0x4f752a:0x443,_0xf58b4b:0x427,_0x2bdd89:0x41a,_0x96be25:0x38,_0x4d0132:0x417,_0x2911c5:0x424,_0x1f4bd5:0x415,_0x488d7b:0x22},_0x4d1ff3={_0x2956de:0x4a,_0x91dad7:0x104},_0x1e39f4={_0x7d1fab:0x52,_0x2c92fd:0x19b};function _0x56933b(_0x152ab6,_0x94f92a,_0x46d968,_0xa2867f){return _0x505966(_0x94f92a,_0x94f92a-_0x1e39f4._0x7d1fab,_0x152ab6-0x4c9,_0xa2867f-_0x1e39f4._0x2c92fd);}function _0xb6003(_0x83c47,_0x6b2030,_0x157462,_0x65fea7){return _0x505966(_0x157462,_0x6b2030-0x1d8,_0x6b2030-_0x4d1ff3._0x2956de,_0x65fea7-_0x4d1ff3._0x91dad7);}try{_0x2f3882[_0x56933b(_0x459466._0x4f752a,_0x459466._0xf58b4b,_0x459466._0x2bdd89,0x42f)](this[_0xb6003(-0x51,-_0x459466._0x96be25,-0x3b,-0x1c)])||_0x2f3882['mkdirSync'](this['logDir'],{'recursive':!0x0});}catch(_0xd246a){console[_0x56933b(_0x459466._0x4d0132,0x3f6,_0x459466._0x2911c5,_0x459466._0x1f4bd5)](_0xb6003(-0x36,-0x24,-_0x459466._0x488d7b,-0x2)+this[_0x56933b(0x447,0x468,0x456,0x472)]+':',_0xd246a);}}[_0x273923(-0x247,-0x272,-0x24f,-0x269)](){const _0x547851={_0x5d4f19:0x13e,_0x2f65f7:0x11c,_0x89d442:0x14b,_0x599477:0x15b,_0x1717b4:0x145,_0x92cad6:0x136,_0x4fee4a:0x2f2,_0x128892:0x2eb,_0x474e9c:0x2fd,_0x1531cb:0x31d,_0x318101:0x336,_0x45f029:0x158,_0x289f67:0x175,_0x50ed0e:0x153,_0x101915:0x12d},_0x1875ca={_0x5c0a9c:0x46,_0x177e0f:0x16a};function _0x4c2944(_0x93cf0a,_0x413a69,_0x2207c1,_0x1f1628){return _0x273923(_0x1f1628,_0x413a69-_0x1875ca._0x5c0a9c,_0x2207c1-_0x1875ca._0x177e0f,_0x2207c1-0x576);}function _0x5f2f94(_0x5134f9,_0x42d385,_0x2173b0,_0x4dc79e){return _0x505966(_0x5134f9,_0x42d385-0x173,_0x2173b0-0x1cc,_0x4dc79e-0x26);}return(!this[_0x5f2f94(0x129,0x134,0x12d,_0x547851._0x5d4f19)]||this[_0x5f2f94(_0x547851._0x2f65f7,_0x547851._0x89d442,0x12d,0x102)][_0x5f2f94(0x14e,_0x547851._0x599477,_0x547851._0x1717b4,_0x547851._0x92cad6)])&&(this[_0x4c2944(0x2d1,_0x547851._0x4fee4a,_0x547851._0x128892,_0x547851._0x474e9c)]=_0x2f3882[_0x4c2944(0x326,0x335,_0x547851._0x1531cb,_0x547851._0x318101)](this[_0x5f2f94(0x152,0x13b,_0x547851._0x45f029,_0x547851._0x289f67)],{'flags':'w'})),this[_0x5f2f94(_0x547851._0x50ed0e,0x12a,_0x547851._0x101915,0x103)];}[_0x273923(-0x269,-0x26b,-0x27f,-0x25c)](){const _0x256c5e={_0x51f18b:0x1de,_0xf4fd6:0x1dc,_0x5c61ee:0x1a7,_0x5efed9:0x1a5,_0x36f757:0x1da,_0x6386fc:0x1e0,_0x376bc8:0x1bc,_0x3c2656:0x18d,_0x42c96d:0x19f,_0x43f014:0x1b4,_0x2e026f:0x1eb,_0x408b87:0x1e7,_0x23b3d9:0x182,_0x16b03f:0x17c,_0x592a25:0x193},_0x1b5093={_0xf76d65:0xd,_0x24a44b:0x1f},_0x34cf4b={_0x2d4602:0x12f,_0x1e15cc:0x43e};function _0x2814fe(_0x260224,_0x5ad61e,_0x3b3374,_0x129eb3){return _0x273923(_0x3b3374,_0x5ad61e-0xa2,_0x3b3374-_0x34cf4b._0x2d4602,_0x5ad61e-_0x34cf4b._0x1e15cc);}function _0x2fd7de(_0x21ef92,_0xa95275,_0x557ac1,_0x26feaa){return _0x273923(_0xa95275,_0xa95275-_0x1b5093._0xf76d65,_0x557ac1-_0x1b5093._0x24a44b,_0x26feaa-0x431);}try{if(!_0x2f3882['existsSync'](this[_0x2814fe(0x1f7,_0x256c5e._0x51f18b,_0x256c5e._0xf4fd6,0x1b6)]))return;_0x2f3882[_0x2fd7de(_0x256c5e._0x5c61ee,0x1ac,0x1bf,_0x256c5e._0x5efed9)](this[_0x2fd7de(_0x256c5e._0x36f757,_0x256c5e._0x6386fc,_0x256c5e._0x376bc8,0x1d1)])[_0x2fd7de(0x188,0x19b,_0x256c5e._0x3c2656,_0x256c5e._0x42c96d)]>=this['maxFileSize']&&this[_0x2fd7de(_0x256c5e._0x43f014,_0x256c5e._0x2e026f,_0x256c5e._0x408b87,0x1c2)]();}catch(_0x35de4d){console[_0x2fd7de(0x1ae,_0x256c5e._0x23b3d9,_0x256c5e._0x16b03f,_0x256c5e._0x592a25)](_0x2fd7de(0x1ca,0x1ba,0x195,0x1a1),_0x35de4d);}}[_0x273923(-0x24f,-0x256,-0x284,-0x26f)](){const _0x4ecd5a={_0x1ae747:0x293,_0x3231a2:0x285,_0x41f75a:0x2d0,_0x4c3e46:0x2af,_0x25f0cd:0x2c5,_0x52d652:0x2f0,_0x3574fc:0x2f9,_0x4b6a9e:0x33a,_0x5e003b:0x2db,_0x2dd7b7:0x2b3,_0x875414:0x313,_0x30e619:0x306,_0x12df5a:0x300,_0x39a61c:0x2fb,_0x9d33cd:0x2ea,_0x17e46a:0x2bb,_0xc56d5f:0x2af,_0x1802bf:0x282,_0x21af4c:0x28a,_0x2a6781:0x26f,_0x20b9c0:0x296,_0x1f8e20:0x2f1,_0x32c592:0x2dd,_0x3005c8:0x2b9,_0x518e19:0x2e3,_0xdcd3da:0x2b7,_0x226587:0x2dd,_0xe3a292:0x2ec,_0x3cce87:0x2ad},_0x428481={_0x5efe06:0xc,_0x47ed07:0x1c5},_0x167028={_0x38861d:0xcc};function _0x15c41d(_0x5d06db,_0x3efe22,_0x5d9c06,_0x263e22){return _0x273923(_0x5d06db,_0x3efe22-0x35,_0x5d9c06-_0x167028._0x38861d,_0x3efe22-0x566);}function _0x2a8d99(_0x2a7d2e,_0x26bd28,_0x5475d2,_0x769f81){return _0x273923(_0x5475d2,_0x26bd28-_0x428481._0x5efe06,_0x5475d2-_0x428481._0x47ed07,_0x769f81- -0x24);}try{this[_0x2a8d99(-_0x4ecd5a._0x1ae747,-_0x4ecd5a._0x3231a2,-_0x4ecd5a._0x41f75a,-_0x4ecd5a._0x4c3e46)]&&(this[_0x2a8d99(-_0x4ecd5a._0x25f0cd,-0x2a4,-0x28f,-0x2af)][_0x15c41d(_0x4ecd5a._0x52d652,0x316,_0x4ecd5a._0x3574fc,_0x4ecd5a._0x4b6a9e)](),this[_0x15c41d(0x2d8,_0x4ecd5a._0x5e003b,_0x4ecd5a._0x2dd7b7,0x2f1)]=null);let _0x4ba374=this[_0x15c41d(_0x4ecd5a._0x875414,_0x4ecd5a._0x30e619,_0x4ecd5a._0x12df5a,_0x4ecd5a._0x39a61c)],_0x21533a=_0x4ba374+'.'+this[_0x15c41d(_0x4ecd5a._0x9d33cd,_0x4ecd5a._0x25f0cd,_0x4ecd5a._0x17e46a,_0x4ecd5a._0xc56d5f)];_0x2f3882[_0x2a8d99(-_0x4ecd5a._0x1802bf,-_0x4ecd5a._0x21af4c,-_0x4ecd5a._0x2a6781,-_0x4ecd5a._0x20b9c0)](_0x21533a)&&_0x2f3882[_0x15c41d(0x2df,_0x4ecd5a._0x1f8e20,_0x4ecd5a._0x32c592,0x2c6)](_0x21533a);for(let _0x1cc3fb=this[_0x15c41d(_0x4ecd5a._0x3005c8,_0x4ecd5a._0x25f0cd,_0x4ecd5a._0x518e19,0x2ad)]-0x1;_0x1cc3fb>=0x1;_0x1cc3fb--){let _0xd5ee1c=_0x4ba374+'.'+_0x1cc3fb,_0x53111d=_0x4ba374+'.'+(_0x1cc3fb+0x1);_0x2f3882[_0x15c41d(0x2df,0x2f4,0x2ea,0x2f5)](_0xd5ee1c)&&_0x2f3882[_0x15c41d(0x2ee,0x2dd,0x2c5,_0x4ecd5a._0xdcd3da)](_0xd5ee1c,_0x53111d);}_0x2f3882['existsSync'](_0x4ba374)&&_0x2f3882[_0x15c41d(0x2c4,_0x4ecd5a._0x226587,_0x4ecd5a._0xe3a292,0x2c6)](_0x4ba374,_0x4ba374+'.1');}catch(_0x3e8e47){console['error'](_0x15c41d(_0x4ecd5a._0x3cce87,0x2ca,0x2a5,0x2a2),_0x3e8e47);}}[_0x505966(-0x84,-0x41,-0x68,-0x6c)](_0x4b5d49,_0x4dc41f,_0x55e4ed){const _0x207617={_0x4fe5f7:0x322,_0x3b3292:0x2fd,_0x417d9f:0x31c,_0x45d082:0x2d4,_0x9caf7b:0x2f8,_0xfcca72:0x2ee,_0x3eda0e:0x2b8,_0x68b931:0x2f7,_0x1fd3d5:0x2d4,_0x2a27f6:0x2c2,_0x4f78e7:0x2dd,_0x417a98:0x2ff,_0x451cc4:0x2fa,_0x441b41:0x346,_0x1657a8:0x2f3,_0x170405:0x363},_0x24a577={_0x3bd832:0xbc},_0x582d66={_0x21c262:0x4c};function _0x25329e(_0x3e93e5,_0x3453ff,_0x591318,_0x51f86b){return _0x273923(_0x3e93e5,_0x3453ff-0x114,_0x591318-_0x582d66._0x21c262,_0x51f86b-0x5c5);}let _0x2e8a15=[];if(this[_0x5d9ec4(_0x207617._0x4fe5f7,0x2d9,_0x207617._0x3b3292,_0x207617._0x417d9f)]&&_0x2e8a15[_0x5d9ec4(0x2aa,0x2bf,_0x207617._0x45d082,0x2ce)]('['+new Date()[_0x5d9ec4(0x2ce,0x2ce,_0x207617._0x9caf7b,_0x207617._0xfcca72)]()+']'),_0x2e8a15[_0x5d9ec4(_0x207617._0x3eda0e,_0x207617._0x68b931,_0x207617._0x1fd3d5,_0x207617._0x2a27f6)]('['+_0x4b5d49[_0x5d9ec4(_0x207617._0x4f78e7,0x2d7,_0x207617._0x417a98,0x2ec)]()+']'),_0x2e8a15[_0x5d9ec4(_0x207617._0x451cc4,0x2f7,0x2d4,0x2ca)](_0x4dc41f),_0x55e4ed!==void 0x0)try{_0x2e8a15['push'](JSON[_0x25329e(0x370,0x35e,0x363,_0x207617._0x441b41)](_0x55e4ed,null,0x2));}catch{_0x2e8a15[_0x5d9ec4(0x2eb,0x2fa,0x2d4,_0x207617._0x1657a8)](String(_0x55e4ed));}function _0x5d9ec4(_0x1ff049,_0x2eaf0e,_0x5bbb9a,_0x530e22){return _0x505966(_0x530e22,_0x2eaf0e-_0x24a577._0x3bd832,_0x5bbb9a-0x38a,_0x530e22-0xfc);}return _0x2e8a15[_0x25329e(_0x207617._0x170405,0x379,0x384,0x377)]('\x20');}[_0x273923(-0x2c3,-0x285,-0x2a8,-0x299)](_0x26fa0e){const _0x19e170={_0x38e4e6:0xe2,_0x276a9a:0x126},_0x2a2cd3={_0x42b335:0x17a};function _0x2e41d5(_0x57f088,_0x52644e,_0xf71f5,_0x60fbe6){return _0x273923(_0x52644e,_0x52644e-0x1f1,_0xf71f5-0x3c,_0x57f088-_0x2a2cd3._0x42b335);}return T[_0x26fa0e]>=T[this[_0x2e41d5(-0x108,-0xe8,-_0x19e170._0x38e4e6,-_0x19e170._0x276a9a)]];}['write'](_0x9c433a,_0x122f86,_0x81678d){const _0x3455c8={_0x3d75f2:0x197,_0x210338:0x1c2,_0x328ca1:0x1d4,_0x34c93c:0x1e5,_0x188e03:0x1c7,_0x4838cb:0x1af,_0x5bf555:0x1d1,_0x5c8266:0x1b5,_0x2d0066:0x1d3,_0x112880:0x1af,_0x17cf80:0x1c1,_0x464ae5:0x1a7,_0x48e1eb:0x187,_0x4e3bc5:0x192,_0x7410b7:0x177,_0x35960d:0x17b,_0x18764b:0x19c,_0x203f7e:0x17e},_0x4dd491={_0x48a4a6:0x149},_0x30d036={_0x179666:0xa6,_0x88b6e0:0x9d};function _0x5145ca(_0x504d3d,_0x4c58ae,_0x2d08d3,_0x2610f1){return _0x273923(_0x4c58ae,_0x4c58ae-_0x30d036._0x179666,_0x2d08d3-_0x30d036._0x88b6e0,_0x2d08d3-0x430);}if(!this[_0x5145ca(0x196,0x1ba,_0x3455c8._0x3d75f2,0x19c)](_0x9c433a))return;let _0x447f03=this['formatMessage'](_0x9c433a,_0x122f86,_0x81678d);function _0x1f98bf(_0x481bbf,_0x2e46a5,_0x545446,_0x30bce4){return _0x273923(_0x30bce4,_0x2e46a5-_0x4dd491._0x48a4a6,_0x545446-0x33,_0x481bbf-0xd4);}this[_0x5145ca(0x1aa,_0x3455c8._0x210338,_0x3455c8._0x328ca1,_0x3455c8._0x34c93c)]();try{this[_0x5145ca(0x1bc,0x1c3,_0x3455c8._0x188e03,0x1f2)]()[_0x5145ca(_0x3455c8._0x4838cb,_0x3455c8._0x5bf555,_0x3455c8._0x5c8266,_0x3455c8._0x2d0066)](_0x447f03+'\x0a');}catch(_0x46b43a){console['error'](_0x1f98bf(-_0x3455c8._0x112880,-0x1cf,-0x194,-_0x3455c8._0x17cf80),_0x46b43a);}this['logToConsole']&&(_0x9c433a===_0x5145ca(_0x3455c8._0x464ae5,0x1ac,0x192,0x178)?console[_0x5145ca(0x1ae,_0x3455c8._0x48e1eb,_0x3455c8._0x4e3bc5,_0x3455c8._0x7410b7)]:_0x9c433a===_0x1f98bf(-_0x3455c8._0x35960d,-_0x3455c8._0x48e1eb,-0x180,-0x150)?console[_0x1f98bf(-0x17b,-_0x3455c8._0x18764b,-_0x3455c8._0x203f7e,-0x185)]:console['log'])(_0x447f03);}[_0x505966(-0x7d,-0x9b,-0xa2,-0x94)](_0x3d1e20,_0xfac406){const _0x3547ff={_0x43c298:0x40b};function _0xd52c99(_0x2453a3,_0x5d30ea,_0x3679cb,_0x584b2c){return _0x505966(_0x584b2c,_0x5d30ea-0x11c,_0x3679cb-0x49b,_0x584b2c-0x20);}this[_0xd52c99(0x3fe,0x423,0x40c,_0x3547ff._0x43c298)]('debug',_0x3d1e20,_0xfac406);}['info'](_0x1bb5f9,_0x2df9f4){const _0x36bd20={_0xa02950:0x2a8,_0x14d1f3:0x2a2},_0xa1fed2={_0x3c6c9d:0x11b,_0x3960ea:0x226,_0x2735c9:0xb1};function _0x1a6ab8(_0x31ae27,_0x34f64c,_0x1cce8e,_0x120efd){return _0x505966(_0x31ae27,_0x34f64c-_0xa1fed2._0x3c6c9d,_0x34f64c- -_0xa1fed2._0x3960ea,_0x120efd-_0xa1fed2._0x2735c9);}this[_0x1a6ab8(-_0x36bd20._0xa02950,-0x2b5,-_0x36bd20._0x14d1f3,-0x2cc)]('info',_0x1bb5f9,_0x2df9f4);}['warn'](_0x3ca199,_0x3a0034){const _0x33c3f3={_0x271104:0x1b5,_0x456df4:0x1da,_0x2cbbf2:0x1e1,_0x592c50:0x290,_0x292025:0x2b5},_0x4ec6a9={_0x12af1e:0x14b};function _0x54d20e(_0x53ebcc,_0x391196,_0x4f8d41,_0x516ddf){return _0x505966(_0x391196,_0x391196-0x197,_0x53ebcc-0x2f3,_0x516ddf-0x107);}function _0x58a151(_0x28573e,_0x49151e,_0x478ccb,_0x1b4666){return _0x505966(_0x28573e,_0x49151e-0x37,_0x478ccb- -_0x4ec6a9._0x12af1e,_0x1b4666-0x168);}this[_0x58a151(-_0x33c3f3._0x271104,-0x1e7,-_0x33c3f3._0x456df4,-_0x33c3f3._0x2cbbf2)](_0x54d20e(_0x33c3f3._0x592c50,0x29b,_0x33c3f3._0x292025,_0x33c3f3._0x592c50),_0x3ca199,_0x3a0034);}[_0x273923(-0x2c1,-0x275,-0x280,-0x29e)](_0x13ecac,_0x4918a3){const _0x498ce7={_0x315ac5:0x43,_0x215cc5:0x2},_0x184d2d={_0xc8a50e:0x35};function _0x4c86ba(_0x1c2828,_0x47443d,_0x2218f7,_0x339826){return _0x505966(_0x339826,_0x47443d-_0x184d2d._0xc8a50e,_0x1c2828-0xaa,_0x339826-0x1af);}this[_0x4c86ba(0x1b,_0x498ce7._0x315ac5,_0x498ce7._0x215cc5,-0x9)]('error',_0x13ecac,_0x4918a3);}['close'](){const _0x49fb33={_0x332607:0x7b,_0x5909d9:0x9f,_0x23f12a:0x89,_0x174818:0x3c},_0xcd6ceb={_0x2d835c:0x1d5},_0x3eba6e={_0x47b6c3:0xd9};function _0x4382a0(_0x50a45c,_0x47e4b7,_0x30b330,_0x1da260){return _0x273923(_0x1da260,_0x47e4b7-_0x3eba6e._0x47b6c3,_0x30b330-0x6f,_0x47e4b7-0x205);}function _0x4a7aa6(_0x1a4b17,_0x5c12a8,_0x1cbe2e,_0x3f85cc){return _0x273923(_0x1cbe2e,_0x5c12a8-0x115,_0x1cbe2e-_0xcd6ceb._0x2d835c,_0x3f85cc-0x1e5);}this[_0x4a7aa6(-0xa0,-0xa2,-_0x49fb33._0x332607,-0xa6)]&&(this[_0x4382a0(-_0x49fb33._0x5909d9,-0x86,-0x8f,-_0x49fb33._0x23f12a)][_0x4382a0(-0x6c,-0x4b,-_0x49fb33._0x174818,-0x5d)](),this['writeStream']=null);}[_0x273923(-0x259,-0x27c,-0x236,-0x25f)](){return this['logFilePath'];}[_0x273923(-0x257,-0x259,-0x2a8,-0x280)](){const _0x554c70={_0x32a481:0x33,_0x42081c:0x19,_0x427870:0xf,_0x234fc4:0x9,_0x3969e9:0x3a,_0x58b56c:0x38,_0x181f31:0x1f,_0x56d9aa:0x9,_0x47e224:0x6,_0x59cad6:0x1e0,_0x39a458:0x1b6,_0x27bbd0:0x1e5,_0x4faf3c:0x50,_0x1a1536:0x1c7},_0x169fa0={_0x21e1d5:0x8d,_0xceb323:0x266},_0x1c0320={_0xdf80ff:0xf4};function _0x30b198(_0x20416b,_0x470289,_0x38d20c,_0x1e4983){return _0x505966(_0x1e4983,_0x470289-_0x1c0320._0xdf80ff,_0x38d20c-0x7d,_0x1e4983-0xdf);}function _0x5bf114(_0x311f49,_0x4d6c1b,_0xbdfe1e,_0x2b743c){return _0x505966(_0xbdfe1e,_0x4d6c1b-_0x169fa0._0x21e1d5,_0x4d6c1b-_0x169fa0._0xceb323,_0x2b743c-0x9d);}try{this[_0x30b198(0x1b,0x1,0x16,_0x554c70._0x32a481)](),_0x2f3882[_0x30b198(-0x24,-_0x554c70._0x42081c,-0x9,-0x24)](this['logFilePath'])&&_0x2f3882['unlinkSync'](this[_0x30b198(_0x554c70._0x427870,-0x18,_0x554c70._0x234fc4,0xc)]);for(let _0x29bf90=0x1;_0x29bf90<=this[_0x30b198(-0x2d,-_0x554c70._0x3969e9,-_0x554c70._0x58b56c,-0x3d)];_0x29bf90++){let _0x41fa78=this[_0x30b198(0x13,-_0x554c70._0x181f31,_0x554c70._0x56d9aa,-_0x554c70._0x47e224)]+'.'+_0x29bf90;_0x2f3882[_0x5bf114(0x1dc,_0x554c70._0x59cad6,_0x554c70._0x39a458,_0x554c70._0x27bbd0)](_0x41fa78)&&_0x2f3882['unlinkSync'](_0x41fa78);}}catch(_0x16513a){console[_0x30b198(-_0x554c70._0x4faf3c,-0x33,-0x35,-0x3e)](_0x5bf114(0x1b2,0x1bf,_0x554c70._0x1a1536,0x1d7),_0x16513a);}}},L=null;function F(_0x744a06){const _0x238e5e={_0x1eb356:0x92};function _0xdfbcf7(_0x527439,_0x450490,_0x4a685b,_0x19e219){return _0x505966(_0x450490,_0x450490-0xb7,_0x527439-0x144,_0x19e219-0x115);}return L||(L=new x({'logDir':'.','minLevel':_0xdfbcf7(_0x238e5e._0x1eb356,0xa9,0x71,0xba),..._0x744a06})),L;}var V=F();function p(){const _0x188717={_0x454513:0x6e,_0x59edf7:0x9f,_0x2a7981:0x83,_0x54dd58:0x5c,_0x4264c5:0x5b,_0x65b7f5:0x67,_0x289237:0x46,_0x1c7796:0x6b,_0x2c38f9:0x4a},_0x4dc1d0={_0x4075e5:0x14,_0x3221f6:0x160},_0x5a76ac={_0x4232c0:0x156};function _0x558361(_0x54db8a,_0x21ea71,_0x3dfd80,_0x4a8f53){return _0x273923(_0x3dfd80,_0x21ea71-0x1b4,_0x3dfd80-_0x5a76ac._0x4232c0,_0x4a8f53-0x2d1);}function _0x8eaf39(_0x578793,_0x3f58cb,_0x474b6d,_0x4bb4fc){return _0x505966(_0x4bb4fc,_0x3f58cb-_0x4dc1d0._0x4075e5,_0x3f58cb-0x514,_0x4bb4fc-_0x4dc1d0._0x3221f6);}return _0x199e33[_0x558361(_0x188717._0x454513,_0x188717._0x59edf7,0x7d,_0x188717._0x2a7981)](_0x26be31[_0x558361(_0x188717._0x54dd58,_0x188717._0x4264c5,0x4c,_0x188717._0x65b7f5)](),'.nuvin-cli',_0x558361(_0x188717._0x289237,_0x188717._0x1c7796,0x6d,_0x188717._0x2c38f9));}async function I(_0x111865){const _0x170aa4={_0x4d5c49:0x30f,_0x4e9309:0x305,_0x4eabd9:0x313,_0x3e2619:0x304,_0x491f45:0x30b,_0x374248:0x315,_0x5e0bc6:0x2ff,_0x1698f0:0x30c,_0x3f43f7:0x31a,_0x3432b6:0x267,_0x5d8e27:0x247,_0x306c2e:0x226},_0x549864={_0x39b43d:0xc9,_0x5242ce:0x2f0},_0x2a3eae={_0xe3c348:0x80};function _0x160de6(_0x5c76d2,_0x374226,_0x481cc7,_0x1da764){return _0x505966(_0x5c76d2,_0x374226-_0x2a3eae._0xe3c348,_0x1da764-0x391,_0x1da764-0x19f);}function _0x4d5beb(_0x40878f,_0x28f035,_0x158995,_0x14c784){return _0x505966(_0x158995,_0x28f035-_0x549864._0x39b43d,_0x28f035-_0x549864._0x5242ce,_0x14c784-0x15d);}try{let _0x6b4e99=await _0x11b98f[_0x160de6(_0x170aa4._0x4d5c49,0x2da,0x316,_0x170aa4._0x4e9309)](_0x111865,_0x160de6(0x2cf,0x304,_0x170aa4._0x4eabd9,0x2f0));if(!_0x6b4e99||!_0x6b4e99['trim']())return null;let _0xa0dfe7=JSON[_0x160de6(_0x170aa4._0x3e2619,_0x170aa4._0x491f45,0x32d,_0x170aa4._0x374248)](_0x6b4e99);return _0xa0dfe7??null;}catch(_0x266ba9){if(_0x266ba9?.[_0x160de6(_0x170aa4._0x5e0bc6,0x2f7,_0x170aa4._0x1698f0,_0x170aa4._0x3f43f7)]===_0x4d5beb(_0x170aa4._0x3432b6,_0x170aa4._0x5d8e27,_0x170aa4._0x306c2e,0x255))return null;throw _0x266ba9;}}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0x578830=>{const _0x144425={_0xe3cfb9:0xa3,_0x163fbf:0x93,_0x5bfce8:0xb8,_0x4b2632:0x91,_0xa01a8c:0x89,_0x25ef50:0x1bc,_0x51f825:0x1c0,_0x46a563:0x188,_0x346511:0x15d,_0x68fe68:0xc8},_0x26d58d={_0x29c72b:0x139,_0x31b550:0x70,_0x86bd65:0x59,_0x274b20:0x123,_0x3d43d5:0x172,_0x2e90c9:0x143,_0xe52322:0x38,_0x4c05f4:0x4d,_0x286628:0x52,_0x3f546f:0xfc,_0x327c75:0x10c,_0xbbb2f8:0x106,_0x45a4d9:0x121,_0x2d1349:0x2e,_0x1beeff:0x2b,_0x1d5000:0x149,_0x30463b:0x156,_0x1bb294:0x14b,_0x1266c5:0x5d,_0x460e64:0x49,_0x40794:0x12b,_0x56e4dc:0xff,_0x18d1ea:0x17e,_0xd43e48:0x15a,_0x3ef599:0x162,_0x4a1332:0x17c,_0xc9084:0x161,_0x2043a0:0x136,_0x58ccfe:0x14d,_0x188fad:0x142,_0x21bd4a:0x17b,_0x3e8c67:0x137,_0x5167aa:0x12d,_0x36a593:0x166,_0x1b13f7:0x183,_0x26092b:0x4d,_0x2c34ba:0x20,_0x2b82b9:0x31,_0x3ee1b0:0x61,_0x1c5b5b:0x88,_0x3ce9c1:0x5e,_0x4cdd9c:0x5c,_0x385358:0x9c},_0x10b8a3={_0x455f7b:0x101,_0x1c8cb:0x1b7},_0x4475de={_0x2718ec:0x1f},_0x3b061a={_0x287811:0x1b9,_0x472ab2:0x2b};let _0x1cc194=j['get'](_0x578830);function _0x2ed97f(_0x475b03,_0x40e517,_0x5c70ae,_0x3d8947){return _0x505966(_0x3d8947,_0x40e517-_0x3b061a._0x287811,_0x475b03-0x22d,_0x3d8947-_0x3b061a._0x472ab2);}if(_0x1cc194&&Date[_0x3f76b4(-_0x144425._0xe3cfb9,-_0x144425._0x163fbf,-_0x144425._0x5bfce8,-_0x144425._0x4b2632)]()-_0x1cc194['timestamp']<A)return W[_0x3f76b4(-_0x144425._0xa01a8c,-0x69,-0x6a,-0x7b)]('Cache\x20hit:',_0x578830),_0x1cc194[_0x2ed97f(0x1ad,0x18a,_0x144425._0x25ef50,_0x144425._0x51f825)];function _0x3f76b4(_0x4fdd03,_0x2e635f,_0x4c056a,_0x526a90){return _0x505966(_0x4c056a,_0x2e635f-0xb,_0x4fdd03- -_0x4475de._0x2718ec,_0x526a90-0x156);}let _0x117540=k[_0x2ed97f(_0x144425._0x46a563,0x1a4,0x172,_0x144425._0x346511)](_0x578830);if(_0x117540)return _0x117540;let _0x30d813=((async()=>{const _0x1e36c6={_0x571471:0x11e};function _0x450a5c(_0x4dbc62,_0x2ef47a,_0x1dd1ef,_0x576fd7){return _0x3f76b4(_0x2ef47a- -0x93,_0x2ef47a-0x12e,_0x576fd7,_0x576fd7-_0x1e36c6._0x571471);}function _0x5deee8(_0x7698a0,_0x26fd1c,_0x14a840,_0x17d6e7){return _0x3f76b4(_0x26fd1c-_0x10b8a3._0x455f7b,_0x26fd1c-_0x10b8a3._0x1c8cb,_0x14a840,_0x17d6e7-0x184);}try{let _0x1dfa24=p();if(!_0x1417c3[_0x450a5c(-0x15d,-0x138,-0x149,-_0x26d58d._0x29c72b)](_0x1dfa24))return[];let _0x5c4f55=(await _0x11b98f[_0x5deee8(0x86,_0x26d58d._0x31b550,_0x26d58d._0x86bd65,0x62)](_0x1dfa24,{'withFileTypes':!0x0}))[_0x450a5c(-_0x26d58d._0x274b20,-0x128,-0x137,-0x11d)](_0x205471=>_0x205471[_0x450a5c(-0x130,-0x117,-0xfa,-0x129)]())[_0x450a5c(-0x13d,-0x163,-_0x26d58d._0x3d43d5,-_0x26d58d._0x2e90c9)](_0x942869=>_0x942869[_0x450a5c(-0x143,-0x140,-0x14f,-0x149)]);_0x5c4f55['sort']((_0x2192bb,_0x2411bb)=>parseInt(_0x2411bb,0xa)-parseInt(_0x2192bb,0xa));let _0x57900=[];for(let _0x2193c5 of _0x5c4f55){if(_0x578830&&_0x57900[_0x5deee8(0x63,_0x26d58d._0xe52322,_0x26d58d._0x4c05f4,_0x26d58d._0x286628)]>=_0x578830)break;let _0x4213d3=_0x199e33[_0x450a5c(-0x132,-0x114,-_0x26d58d._0x3f546f,-0x102)](_0x1dfa24,_0x2193c5,_0x450a5c(-0x144,-0x11d,-_0x26d58d._0x327c75,-0x13f));try{let _0x3c1a1b=await I(_0x4213d3);if(!_0x3c1a1b)continue;let _0x27b3df=_0x3c1a1b?.[_0x450a5c(-_0x26d58d._0xbbb2f8,-_0x26d58d._0x45a4d9,-0xfe,-0x134)]??[];if(_0x27b3df['length']===0x0)continue;let _0x54c3e6=_0x5deee8(0x6,_0x26d58d._0x2d1349,0x3,_0x26d58d._0x1beeff);for(let _0x45d53d=_0x27b3df[_0x450a5c(-0x179,-0x15c,-0x164,-0x154)]-0x1;_0x45d53d>=0x0;_0x45d53d--){let _0x52f53c=_0x27b3df[_0x45d53d];if(!_0x52f53c||typeof _0x52f53c!=_0x450a5c(-_0x26d58d._0x1d5000,-0x147,-_0x26d58d._0x30463b,-_0x26d58d._0x1bb294))continue;let _0x50ecc7=_0x52f53c;if(_0x50ecc7[_0x5deee8(_0x26d58d._0x1266c5,_0x26d58d._0x460e64,0x39,0x39)]==='user'){let _0x5b1596=_0x50ecc7[_0x450a5c(-0x13a,-_0x26d58d._0x40794,-0x11e,-_0x26d58d._0x56e4dc)];_0x54c3e6=typeof _0x5b1596==_0x450a5c(-_0x26d58d._0x18d1ea,-0x15d,-0x170,-_0x26d58d._0xd43e48)?_0x5b1596:'';break;}}let _0xa881b3=_0x3c1a1b?.['__metadata__cli'],_0x695f7a=_0xa881b3&&_0xa881b3[_0x450a5c(-_0x26d58d._0x3ef599,-0x15c,-_0x26d58d._0x4a1332,-0x137)]>0x0?_0xa881b3[0x0]:null,_0x2c7fa1=_0x695f7a&&typeof _0x695f7a==_0x450a5c(-0x135,-0x147,-0x122,-0x161)&&_0x450a5c(-0x167,-_0x26d58d._0xc9084,-_0x26d58d._0x2043a0,-_0x26d58d._0x58ccfe)in _0x695f7a?_0x695f7a[_0x450a5c(-0x177,-_0x26d58d._0xc9084,-_0x26d58d._0x188fad,-_0x26d58d._0x21bd4a)]:void 0x0,_0x27f3d1=new Date(parseInt(_0x2193c5,0xa))[_0x450a5c(-0x14c,-_0x26d58d._0x3e8c67,-_0x26d58d._0xd43e48,-_0x26d58d._0x5167aa)]();_0x57900[_0x450a5c(-_0x26d58d._0x3d43d5,-0x168,-_0x26d58d._0x36a593,-_0x26d58d._0x1b13f7)]({'sessionId':_0x2193c5,'timestamp':_0x27f3d1,'lastMessage':_0x54c3e6,'messageCount':_0x27b3df[_0x5deee8(_0x26d58d._0x26092b,_0x26d58d._0xe52322,_0x26d58d._0x2c34ba,_0x26d58d._0x2b82b9)],'topic':_0x2c7fa1});}catch{}}return j[_0x5deee8(0x5b,_0x26d58d._0x3ee1b0,_0x26d58d._0x1c5b5b,0x69)](_0x578830,{'timestamp':Date[_0x5deee8(0x45,_0x26d58d._0x3ce9c1,0x3e,_0x26d58d._0x4cdd9c)](),'data':_0x57900}),_0x57900;}finally{k[_0x5deee8(0x54,0x71,_0x26d58d._0x385358,0x4b)](_0x578830);}})());return k[_0x3f76b4(-0xa0,-0xb6,-_0x144425._0x68fe68,-0xbb)](_0x578830,_0x30d813),_0x30d813;},H=async _0x26ea06=>{const _0x138751={_0x2ef1a4:0x11e,_0x3244be:0x15b,_0x1970ef:0x14b,_0x58a1d9:0x129,_0x5cdc4f:0x117,_0x39cb44:0x141,_0x41f4fe:0x1a8,_0x56683b:0x181},_0x207908={_0x48475c:0xe5},_0x2a8e2e={_0x4e5a0c:0xf2,_0x25b109:0x1cd};let _0x17ce09=_0x26ea06??String(Date[_0x27a488(-0x141,-_0x138751._0x2ef1a4,-_0x138751._0x3244be,-_0x138751._0x1970ef)]()),_0x138988=p(),_0x56ae6e=_0x199e33[_0x27a488(-0x11f,-_0x138751._0x58a1d9,-_0x138751._0x5cdc4f,-_0x138751._0x39cb44)](_0x138988,_0x17ce09);function _0x27a488(_0x235063,_0x21d147,_0x3f2ae0,_0x4d150b){return _0x273923(_0x21d147,_0x21d147-_0x2a8e2e._0x4e5a0c,_0x3f2ae0-_0x2a8e2e._0x25b109,_0x235063-0x12f);}try{await _0x11b98f[_0x132434(-_0x138751._0x41f4fe,-0x1aa,-0x18e,-_0x138751._0x56683b)](_0x56ae6e,{'recursive':!0x0});}catch{}function _0x132434(_0x5dc6ec,_0xd2f6f8,_0x3f4583,_0x175d92){return _0x273923(_0x175d92,_0xd2f6f8-0x1e8,_0x3f4583-0x128,_0xd2f6f8-_0x207908._0x48475c);}return{'sessionId':_0x17ce09,'sessionDir':_0x56ae6e};},_=async _0x5e2cee=>{const _0x282641={_0x2ba86e:0x1b1,_0x18350c:0x1d2,_0x1cc9dc:0x1d7,_0x505d5c:0x214,_0x5ebf8e:0x208,_0x475e36:0x1f4,_0x5261ba:0x439,_0x40f50f:0x44d,_0x588a91:0x43b,_0x14a70e:0x42c,_0x3a48fc:0x1cf,_0x45644e:0x1b9,_0x3da338:0x1c4,_0x474543:0x40d,_0x109a89:0x3e4,_0x235d8d:0x205,_0x1027ee:0x218,_0x4a15b0:0x1e3,_0x2befb1:0x1c7,_0x23b805:0x1a5,_0x5e9ff1:0x1c5,_0x2aa9cb:0x1dc,_0x456482:0x43c,_0x4a3506:0x40c},_0x349803={_0x24962e:0x1ed};function _0x4768c5(_0x268f94,_0x2d77b4,_0xd87b85,_0x1c6c5a){return _0x273923(_0xd87b85,_0x2d77b4-_0x349803._0x24962e,_0xd87b85-0x1cb,_0x1c6c5a-0x68d);}function _0x39d295(_0xb527e2,_0x3349f0,_0x334f1e,_0x5e988a){return _0x505966(_0x5e988a,_0x3349f0-0xdf,_0x334f1e- -0x14a,_0x5e988a-0x185);}try{let _0x520982=await I(_0x5e2cee);if(!_0x520982)return{'kind':'empty','reason':_0x39d295(-_0x282641._0x2ba86e,-0x1a8,-_0x282641._0x18350c,-_0x282641._0x1cc9dc)};let _0x208fe4=_0x520982['cli']||[];if(_0x208fe4[_0x39d295(-_0x282641._0x505d5c,-_0x282641._0x5ebf8e,-_0x282641._0x475e36,-0x1f4)]===0x0)return{'kind':_0x4768c5(_0x282641._0x5261ba,_0x282641._0x40f50f,_0x282641._0x588a91,_0x282641._0x14a70e),'reason':'no_messages'};let {processMessageToUILines:_0x3d3456}=await import(_0x39d295(-_0x282641._0x3a48fc,-_0x282641._0x45644e,-_0x282641._0x3da338,-0x1c1)),_0x29ad4a=[];for(let _0xf08ddc of _0x208fe4)_0x29ad4a[_0x4768c5(_0x282641._0x474543,_0x282641._0x109a89,0x3de,0x3eb)](..._0x3d3456(_0xf08ddc));let _0x3596f1=null;for(let _0x59a37c=_0x208fe4[_0x39d295(-0x1f5,-_0x282641._0x235d8d,-_0x282641._0x475e36,-_0x282641._0x1027ee)]-0x1;_0x59a37c>=0x0;_0x59a37c--)if(_0x208fe4[_0x59a37c][_0x39d295(-0x1fe,-0x1e2,-_0x282641._0x4a15b0,-_0x282641._0x2befb1)]==='assistant'){_0x3596f1={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x39d295(-0x1c8,-_0x282641._0x23b805,-_0x282641._0x5e9ff1,-0x1cf),'lines':_0x29ad4a,'metadata':_0x3596f1,'cliMessages':_0x208fe4,'count':_0x208fe4[_0x39d295(-0x218,-0x1f5,-_0x282641._0x475e36,-_0x282641._0x2aa9cb)]};}catch{return{'kind':'empty','reason':_0x4768c5(0x3f0,_0x282641._0x456482,_0x282641._0x4a3506,0x419)};}},K=async _0x25aa12=>{const _0x5e5faa={_0x35bc22:0x2f6},_0x4ec37d={_0x4c9fab:0x35};function _0x452a25(_0x35869e,_0xa42a43,_0x2722e5,_0x4c4937){return _0x505966(_0x35869e,_0xa42a43-0xc4,_0xa42a43-0x35f,_0x4c4937-_0x4ec37d._0x4c9fab);}let _0x3ea140=p(),_0x2a2360=_0x199e33['join'](_0x3ea140,_0x25aa12,_0x452a25(0x315,0x2f4,_0x5e5faa._0x35bc22,0x2fd));return _(_0x2a2360);},Y=_0x2727ba=>_0x199e33[_0x273923(-0x22c,-0x226,-0x252,-0x24e)](p(),_0x2727ba),Z=()=>{let [_0xd5fa09,_0x253e1b]=_0x83b8b([]);return{'availableSessions':_0xd5fa09,'setAvailableSessions':_0x253e1b,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':_,'createNewSession':H};};function _0x505966(_0x4b564c,_0x3e4f0e,_0x35425e,_0x8eec38){return _0x2258(_0x35425e- -0x12c,_0x4b564c);}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};