@nuvin/nuvin-cli 1.18.4 → 1.19.0

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(_0x173cc2,_0x2f3da2){const _0x2b83d1={_0x5d63e7:0x53,_0x50e56b:0x2,_0x35d684:0x50,_0x5c5ea5:0x4a,_0x47a01a:0x64,_0x2d6fdc:0x5e,_0x1df639:0x3c,_0x26ac63:0x2a8,_0x139f59:0x2cb,_0x4414b3:0x6d,_0xa8de41:0x73,_0x248e81:0x75,_0x2f478a:0x2c8,_0x5464f2:0x2db,_0x3a1570:0x301,_0x40cd1f:0x324,_0x3f4b8a:0x6e,_0x3a94ad:0x32,_0x4f81c0:0x2e0,_0x5c42b0:0x2e9,_0x407d47:0x2c6,_0x1a7947:0x307,_0xb78a5d:0x2d5,_0xc75bea:0x3f,_0x5d46ad:0x4c,_0x2af148:0x6b,_0x24ad54:0x25},_0x4a4014={_0x4e08e5:0x1ed};function _0x49b30c(_0x2d2d89,_0x192ab3,_0x35f244,_0x8a5140){return _0x66e3(_0x2d2d89-_0x4a4014._0x4e08e5,_0x35f244);}function _0x58a10c(_0x10af42,_0x339667,_0x14cde6,_0x106dce){return _0x66e3(_0x339667- -0x12f,_0x14cde6);}const _0x2a28a5=_0x173cc2();while(!![]){try{const _0x526e73=parseInt(_0x58a10c(-_0x2b83d1._0x5d63e7,-0x2b,-0x21,-_0x2b83d1._0x50e56b))/0x1*(-parseInt(_0x58a10c(-_0x2b83d1._0x35d684,-_0x2b83d1._0x5c5ea5,-_0x2b83d1._0x47a01a,-_0x2b83d1._0x2d6fdc))/0x2)+parseInt(_0x58a10c(-0x57,-0x4d,-0x33,-_0x2b83d1._0x1df639))/0x3+-parseInt(_0x49b30c(0x2b7,0x2c9,_0x2b83d1._0x26ac63,0x2cc))/0x4*(parseInt(_0x49b30c(0x2c8,0x29d,0x2bd,_0x2b83d1._0x139f59))/0x5)+-parseInt(_0x58a10c(-_0x2b83d1._0x4414b3,-_0x2b83d1._0x35d684,-_0x2b83d1._0xa8de41,-_0x2b83d1._0x248e81))/0x6*(parseInt(_0x49b30c(0x2f0,_0x2b83d1._0x2f478a,0x312,_0x2b83d1._0x5464f2))/0x7)+-parseInt(_0x49b30c(_0x2b83d1._0x3a1570,_0x2b83d1._0x40cd1f,0x309,0x31c))/0x8*(-parseInt(_0x58a10c(-_0x2b83d1._0x3f4b8a,-0x4b,-0x6b,-_0x2b83d1._0x3a94ad))/0x9)+parseInt(_0x49b30c(_0x2b83d1._0x4f81c0,0x2f1,_0x2b83d1._0x5c42b0,_0x2b83d1._0x407d47))/0xa+-parseInt(_0x49b30c(0x2dd,_0x2b83d1._0x1a7947,_0x2b83d1._0xb78a5d,0x2e8))/0xb*(parseInt(_0x58a10c(-_0x2b83d1._0xc75bea,-_0x2b83d1._0x5d46ad,-_0x2b83d1._0x2af148,-_0x2b83d1._0x24ad54))/0xc);if(_0x526e73===_0x2f3da2)break;else _0x2a28a5['push'](_0x2a28a5['shift']());}catch(_0x101b68){_0x2a28a5['push'](_0x2a28a5['shift']());}}}(_0x59a4,0x4e722));import{b as _0x37c540}from'./chunk-PC75UOLY.js';function _0x66e3(_0x186983,_0x4885de){_0x186983=_0x186983-0xc1;const _0x59a401=_0x59a4();let _0x66e3ca=_0x59a401[_0x186983];if(_0x66e3['incsmr']===undefined){var _0x55395e=function(_0x2eb9e9){const _0x2c78a4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37c540='',_0x4b8ce7='';for(let _0x225b2b=0x0,_0x30ecf7,_0x412786,_0x52be3b=0x0;_0x412786=_0x2eb9e9['charAt'](_0x52be3b++);~_0x412786&&(_0x30ecf7=_0x225b2b%0x4?_0x30ecf7*0x40+_0x412786:_0x412786,_0x225b2b++%0x4)?_0x37c540+=String['fromCharCode'](0xff&_0x30ecf7>>(-0x2*_0x225b2b&0x6)):0x0){_0x412786=_0x2c78a4['indexOf'](_0x412786);}for(let _0x394e31=0x0,_0x77c48=_0x37c540['length'];_0x394e31<_0x77c48;_0x394e31++){_0x4b8ce7+='%'+('00'+_0x37c540['charCodeAt'](_0x394e31)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b8ce7);};_0x66e3['ZoMhmN']=_0x55395e,_0x66e3['WQSXJQ']={},_0x66e3['incsmr']=!![];}const _0x5bbf6b=_0x59a401[0x0],_0x4eecb2=_0x186983+_0x5bbf6b,_0x537e5a=_0x66e3['WQSXJQ'][_0x4eecb2];return!_0x537e5a?(_0x66e3ca=_0x66e3['ZoMhmN'](_0x66e3ca),_0x66e3['WQSXJQ'][_0x4eecb2]=_0x66e3ca):_0x66e3ca=_0x537e5a,_0x66e3ca;}import{a as _0x4b8ce7}from'./chunk-M6KACDU7.js';function _0x113e86(_0xccf4cf,_0x4e330e,_0x34b1cd,_0x23f8ab){const _0x4791d2={_0x22c03d:0x15b};return _0x66e3(_0x34b1cd-_0x4791d2._0x22c03d,_0x4e330e);}import{useState as _0x225b2b}from'react';import*as _0x30ecf7 from'fs';import*as _0x412786 from'fs/promises';import*as _0x52be3b from'path';import*as _0x394e31 from'os';import*as _0x77c48 from'fs';import*as _0x242244 from'path';import*as _0x38586e from'os';var $={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},F=class{constructor(_0x3e18f4={}){const _0x55bd69={_0x1a4538:0x151,_0x4ee18f:0x159,_0x2ee5db:0x155,_0x245126:0x130,_0x1536e3:0x114,_0x3fbe58:0x12f,_0x1cd3ba:0xf4,_0xd35d11:0xcd,_0x40df12:0x123,_0x163669:0x142,_0x308478:0x14c,_0x4c39c5:0x113,_0x1a4e1f:0x129,_0x48b611:0xd1,_0x3e0635:0xd5,_0x2e4470:0xb2,_0x4da2a1:0x160,_0x448a57:0x11d,_0x10965d:0x11c,_0x912ea0:0x144,_0x2de32e:0x158,_0x4dbce2:0xc6,_0x351b5f:0x129,_0x19eb15:0x13b,_0x24b35c:0x14f,_0x312c73:0x122,_0x243970:0xf8,_0x85bb82:0x118,_0x558ad2:0xe7,_0x5f132c:0x121,_0x40348c:0xcd,_0x5c127c:0xb7,_0x4c13a4:0x13f,_0x41ba43:0x11b},_0x59dc19={_0xa4c663:0x21e};this[_0x174d4b(-_0x55bd69._0x1a4538,-0x15a,-_0x55bd69._0x4ee18f,-_0x55bd69._0x2ee5db)]=null,this['logDir']=_0x3e18f4[_0x174d4b(-_0x55bd69._0x245126,-0x150,-_0x55bd69._0x1536e3,-_0x55bd69._0x3fbe58)]||_0x242244[_0x561664(-0xea,-0xde,-_0x55bd69._0x1cd3ba,-_0x55bd69._0xd35d11)](_0x38586e[_0x174d4b(-0x148,-_0x55bd69._0x40df12,-0x11e,-0x142)](),_0x174d4b(-_0x55bd69._0x163669,-_0x55bd69._0x308478,-_0x55bd69._0x4c39c5,-_0x55bd69._0x1a4e1f),_0x561664(-0xdd,-_0x55bd69._0x48b611,-_0x55bd69._0x3e0635,-_0x55bd69._0x2e4470));let _0x346aad=_0x3e18f4['logFileName']||_0x174d4b(-0x11a,-_0x55bd69._0x4da2a1,-0x137,-0x13e);function _0x174d4b(_0x2be948,_0x5b84e3,_0x4f566b,_0x4869d5){return _0x66e3(_0x4869d5- -_0x59dc19._0xa4c663,_0x2be948);}function _0x561664(_0xe22c00,_0x1acce8,_0x5528fa,_0xaafbb1){return _0x66e3(_0x1acce8- -0x1a4,_0xe22c00);}this[_0x174d4b(-0xf6,-_0x55bd69._0x448a57,-0x119,-_0x55bd69._0x10965d)]=_0x242244[_0x174d4b(-_0x55bd69._0x912ea0,-0x183,-0x132,-_0x55bd69._0x2de32e)](this[_0x174d4b(-_0x55bd69._0x4c39c5,-0x12b,-0x116,-_0x55bd69._0x3fbe58)],_0x346aad+'.log'),this[_0x561664(-0xc5,-_0x55bd69._0x3e0635,-_0x55bd69._0x4dbce2,-0xfc)]=_0x3e18f4[_0x174d4b(-_0x55bd69._0x351b5f,-_0x55bd69._0x19eb15,-0x14e,-_0x55bd69._0x24b35c)]||'error',this[_0x174d4b(-0xed,-0xf2,-0x137,-0x118)]=_0x3e18f4[_0x174d4b(-0x11e,-_0x55bd69._0x312c73,-_0x55bd69._0x243970,-_0x55bd69._0x85bb82)]||0x5*0x400*0x400,this[_0x561664(-0x8a,-0x96,-0xb0,-0x7b)]=_0x3e18f4[_0x174d4b(-0x12f,-0xea,-_0x55bd69._0x558ad2,-0x110)]||0x3,this['includeTimestamp']=_0x3e18f4['includeTimestamp']??!0x0,this[_0x174d4b(-_0x55bd69._0x5f132c,-_0x55bd69._0x312c73,-0x13c,-0x131)]=_0x3e18f4[_0x561664(-_0x55bd69._0x40348c,-_0x55bd69._0x5c127c,-0xac,-0xcc)]??!0x1,this[_0x174d4b(-_0x55bd69._0x4c13a4,-0x121,-_0x55bd69._0x41ba43,-0x116)]();}['ensureLogDirectory'](){const _0x112d7f={_0x170609:0x176,_0x271a9f:0x17a,_0x7c45b7:0x15f,_0x4a3717:0x414,_0x36f3f8:0x157,_0x2baa0e:0x12d,_0x438fe3:0x14c,_0x36ada5:0x14f,_0x2faccb:0x126,_0x42d130:0x14c,_0x451065:0x15e},_0x2950e9={_0x592674:0x5d},_0x4f6cae={_0x33391d:0x320};function _0x5391ed(_0xb0e813,_0x86f14b,_0x4c4abf,_0x2f22cd){return _0x66e3(_0x86f14b-_0x4f6cae._0x33391d,_0xb0e813);}function _0x229f4f(_0x1da5c7,_0x190ff9,_0x31c1cf,_0x297517){return _0x66e3(_0x31c1cf-_0x2950e9._0x592674,_0x1da5c7);}try{_0x77c48[_0x229f4f(_0x112d7f._0x170609,_0x112d7f._0x271a9f,0x15c,_0x112d7f._0x7c45b7)](this['logDir'])||_0x77c48[_0x5391ed(0x421,0x419,0x42c,_0x112d7f._0x4a3717)](this[_0x229f4f(_0x112d7f._0x36f3f8,_0x112d7f._0x2baa0e,_0x112d7f._0x438fe3,_0x112d7f._0x36ada5)],{'recursive':!0x0});}catch(_0x2820ce){console['error']('Failed\x20to\x20create\x20log\x20directory\x20at\x20'+this[_0x229f4f(_0x112d7f._0x2faccb,0x15a,_0x112d7f._0x42d130,_0x112d7f._0x451065)]+':',_0x2820ce);}}[_0x49e04d(0x1ab,0x1a8,0x19d,0x1a6)](){const _0x4a2224={_0x5d19dc:0x162,_0x1c6186:0x18c,_0x1024b5:0x165,_0x2efe06:0x13e,_0x4f0099:0x122,_0x5302c4:0xe6,_0xf65f25:0x1a4,_0xfd135d:0x19b,_0x59a5c0:0x179,_0x5033f0:0xed,_0x2e7ee5:0xa9},_0x56bdc7={_0x5848f5:0xa9},_0x4624b7={_0x46046b:0x36,_0x1a889e:0x4e,_0x3661cd:0x54};function _0xcbdc9a(_0x4c3be0,_0x935285,_0x297f03,_0x2464e0){return _0x49e04d(_0x297f03- -_0x4624b7._0x46046b,_0x935285,_0x297f03-_0x4624b7._0x1a889e,_0x2464e0-_0x4624b7._0x3661cd);}function _0x52f328(_0x212352,_0x2a2693,_0x4b658c,_0x331681){return _0x49e04d(_0x331681- -0x2a6,_0x2a2693,_0x4b658c-0x1cb,_0x331681-_0x56bdc7._0x5848f5);}return(!this[_0xcbdc9a(_0x4a2224._0x5d19dc,_0x4a2224._0x1c6186,_0x4a2224._0x1024b5,_0x4a2224._0x2efe06)]||this[_0x52f328(-_0x4a2224._0x4f0099,-0x12c,-_0x4a2224._0x5302c4,-0x10b)][_0xcbdc9a(0x182,_0x4a2224._0xf65f25,0x198,_0x4a2224._0xfd135d)])&&(this[_0xcbdc9a(0x13b,0x148,0x165,_0x4a2224._0x59a5c0)]=_0x77c48[_0x52f328(-0xda,-_0x4a2224._0x5033f0,-_0x4a2224._0x2e7ee5,-0xd4)](this['logFilePath'],{'flags':'w'})),this['writeStream'];}[_0x113e86(0x257,0x214,0x239,0x24e)](){const _0x49e31c={_0x5e7a16:0xa6,_0x235b92:0x164,_0x180528:0x154,_0x2c8e1e:0x169,_0x19a3a4:0x175,_0x460c0c:0xaa,_0x3bee30:0xc2,_0x269bd3:0x166,_0x276ac2:0x170,_0xe4bfce:0x130,_0x211f0f:0x185,_0x3c9c1f:0x112,_0x26af2d:0xd5},_0x49c686={_0x124129:0xa8},_0x1ea62f={_0xc7ee3d:0x31f,_0x5b0e65:0x8b};function _0x17e5b0(_0x5e9ad8,_0x2d59d3,_0x176207,_0x533e8a){return _0x49e04d(_0x2d59d3- -_0x1ea62f._0xc7ee3d,_0x533e8a,_0x176207-_0x1ea62f._0x5b0e65,_0x533e8a-0x1a9);}function _0x2ecd02(_0x2d5696,_0x2cd6fb,_0x54fcc1,_0x2fedef){return _0x113e86(_0x2d5696-0xa6,_0x2d5696,_0x2cd6fb- -0x314,_0x2fedef-_0x49c686._0x124129);}try{if(!_0x77c48[_0x2ecd02(-0xc4,-0xba,-_0x49e31c._0x5e7a16,-0xcb)](this['logFilePath']))return;_0x77c48[_0x17e5b0(-_0x49e31c._0x235b92,-0x162,-0x149,-0x18c)](this[_0x17e5b0(-_0x49e31c._0x180528,-0x14b,-_0x49e31c._0x2c8e1e,-_0x49e31c._0x19a3a4)])[_0x2ecd02(-0xb1,-_0x49e31c._0x460c0c,-_0x49e31c._0x3bee30,-0xd1)]>=this[_0x17e5b0(-0x126,-0x147,-_0x49e31c._0x269bd3,-_0x49e31c._0x276ac2)]&&this[_0x17e5b0(-_0x49e31c._0xe4bfce,-0x15b,-0x13c,-_0x49e31c._0x211f0f)]();}catch(_0x1b06d6){console['error'](_0x2ecd02(-0xda,-0xf2,-_0x49e31c._0x3c9c1f,-_0x49e31c._0x26af2d),_0x1b06d6);}}['rotateLogFiles'](){const _0x312fe8={_0x59487b:0xc9,_0x528b5d:0xbf,_0x317d47:0x8a,_0x56a984:0x8e,_0x23f71e:0x72,_0x18ee96:0x66,_0x49b97b:0x88,_0x304ce1:0x5d,_0x416168:0x75,_0x2b6c69:0x5f,_0x594039:0xa3,_0xeab9be:0x4,_0x452ca4:0x2b,_0x5ece0f:0x17,_0x3701f7:0xf,_0x2fc9bb:0xb9,_0x2cf431:0xa6,_0x305c62:0xc5},_0xe91ede={_0xdbedfb:0x107},_0x341936={_0x4f08a9:0x1b1,_0x2e116b:0x2cf,_0x146c40:0x1d8};function _0x4fa6f8(_0x145f18,_0x109803,_0x54c784,_0x380310){return _0x113e86(_0x145f18-_0x341936._0x4f08a9,_0x109803,_0x145f18- -_0x341936._0x2e116b,_0x380310-_0x341936._0x146c40);}function _0xbcb0fa(_0xb7bffb,_0x420d68,_0x3f3b26,_0x423ef8){return _0x113e86(_0xb7bffb-0xbc,_0x423ef8,_0x3f3b26- -0x243,_0x423ef8-_0xe91ede._0xdbedfb);}try{this[_0x4fa6f8(-0xab,-0x96,-_0x312fe8._0x59487b,-0x93)]&&(this[_0x4fa6f8(-0xab,-_0x312fe8._0x528b5d,-_0x312fe8._0x317d47,-_0x312fe8._0x56a984)][_0x4fa6f8(-0xa4,-0x7b,-0xb7,-0xa5)](),this['writeStream']=null);let _0x221233=this[_0x4fa6f8(-_0x312fe8._0x23f71e,-0x9b,-0x4b,-0x52)],_0x983c61=_0x221233+'.'+this[_0x4fa6f8(-_0x312fe8._0x18ee96,-_0x312fe8._0x49b97b,-_0x312fe8._0x304ce1,-0x8c)];_0x77c48[_0x4fa6f8(-_0x312fe8._0x416168,-_0x312fe8._0x2b6c69,-0x6b,-_0x312fe8._0x416168)](_0x983c61)&&_0x77c48[_0x4fa6f8(-0x9e,-0x98,-_0x312fe8._0x594039,-0xc5)](_0x983c61);for(let _0x5a86a3=this[_0xbcb0fa(_0x312fe8._0xeab9be,_0x312fe8._0x452ca4,0x26,0x47)]-0x1;_0x5a86a3>=0x1;_0x5a86a3--){let _0x4d46e7=_0x221233+'.'+_0x5a86a3,_0x11e782=_0x221233+'.'+(_0x5a86a3+0x1);_0x77c48[_0xbcb0fa(0x3a,-0xa,_0x312fe8._0x5ece0f,_0x312fe8._0x3701f7)](_0x4d46e7)&&_0x77c48[_0xbcb0fa(0x1e,0xf,-0x2,-0x19)](_0x4d46e7,_0x11e782);}_0x77c48['existsSync'](_0x221233)&&_0x77c48['renameSync'](_0x221233,_0x221233+'.1');}catch(_0x2a1197){console[_0x4fa6f8(-0xb0,-_0x312fe8._0x2fc9bb,-0xaa,-0xc1)](_0x4fa6f8(-0xa8,-_0x312fe8._0x2cf431,-_0x312fe8._0x305c62,-0xc6),_0x2a1197);}}['formatMessage'](_0x5cbca5,_0x408065,_0xeeeebe){const _0x282539={_0x3d41b0:0x476,_0x2abb57:0x4a2,_0x1cc9c1:0x49f,_0x28daa3:0x4c2,_0x544f51:0x45b,_0x2db732:0x42f,_0x57b4fe:0x4ca},_0x1ff1c0={_0x489bfd:0x1bd,_0x2d722e:0x266,_0x11fc15:0x1ef},_0x540cae={_0x14d356:0x21b,_0x2b60dd:0x1ec};let _0x5bf799=[];if(this[_0x2468ff(0x4a9,0x4a9,0x48c,0x4a8)]&&_0x5bf799[_0x514819(0x467,0x49e,0x4a1,0x47f)]('['+new Date()[_0x2468ff(0x474,0x4ac,_0x282539._0x3d41b0,0x483)]()+']'),_0x5bf799[_0x2468ff(_0x282539._0x2abb57,_0x282539._0x1cc9c1,_0x282539._0x28daa3,0x4ca)]('['+_0x5cbca5['toUpperCase']()+']'),_0x5bf799[_0x514819(0x45a,0x468,_0x282539._0x544f51,0x47f)](_0x408065),_0xeeeebe!==void 0x0)try{_0x5bf799['push'](JSON[_0x514819(0x426,0x45b,_0x282539._0x2db732,0x448)](_0xeeeebe,null,0x2));}catch{_0x5bf799[_0x2468ff(0x49f,0x49f,0x4e3,_0x282539._0x57b4fe)](String(_0xeeeebe));}function _0x514819(_0xfe94e0,_0x217aef,_0x44bdc6,_0x12867a){return _0x113e86(_0xfe94e0-0x4b,_0x44bdc6,_0x12867a-_0x540cae._0x14d356,_0x12867a-_0x540cae._0x2b60dd);}function _0x2468ff(_0x57f3b3,_0xafaa6b,_0x1f8889,_0xc552e7){return _0x113e86(_0x57f3b3-_0x1ff1c0._0x489bfd,_0xafaa6b,_0xc552e7-_0x1ff1c0._0x2d722e,_0xc552e7-_0x1ff1c0._0x11fc15);}return _0x5bf799['join']('\x20');}[_0x49e04d(0x19f,0x1a3,0x1c7,0x18c)](_0x186176){const _0x2c5218={_0xbbe24:0x23,_0xac5ba4:0x1b},_0x104b9={_0x452803:0x104,_0x22d493:0xc8};function _0x52b162(_0x34ffd0,_0x3c53d9,_0x16db83,_0x5a25a3){return _0x49e04d(_0x34ffd0- -0x17d,_0x16db83,_0x16db83-_0x104b9._0x452803,_0x5a25a3-_0x104b9._0x22d493);}return $[_0x186176]>=$[this[_0x52b162(0x24,_0x2c5218._0xbbe24,_0x2c5218._0xac5ba4,0xa)]];}[_0x113e86(0x257,0x233,0x255,0x261)](_0x244334,_0x553ea5,_0x224e16){const _0x3c5def={_0x1ff592:0xa1,_0x349a28:0x75,_0x4722fe:0x79,_0x26cf2a:0x87,_0x505131:0x86,_0x494131:0x66,_0x283cf5:0x85,_0x113c0a:0x95,_0x3bec19:0x6c,_0x4ff2f0:0x67,_0x5791c7:0xa8,_0xa9c9aa:0x240,_0x5a96d5:0x20f,_0x1a9930:0x25e,_0x56018a:0x26c,_0x53d853:0x27c,_0xa038ed:0x22a,_0x318f70:0x242,_0x1dc9f8:0x200,_0x4251ad:0xa0,_0x3b04a0:0xc5},_0x397beb={_0x58636b:0x12a,_0x1feb91:0x51,_0x14cd93:0x1aa},_0x18c521={_0x12dfbc:0xd3,_0x3f72ef:0x12c};if(!this[_0x1d52d3(_0x3c5def._0x1ff592,_0x3c5def._0x349a28,_0x3c5def._0x4722fe,_0x3c5def._0x26cf2a)](_0x244334))return;let _0x57a2dd=this[_0x1d52d3(0xa3,0x7f,0x99,0x5e)](_0x244334,_0x553ea5,_0x224e16);function _0x2030e4(_0x4d4239,_0x31778d,_0x4335d3,_0x171fa0){return _0x113e86(_0x4d4239-_0x18c521._0x12dfbc,_0x4335d3,_0x4d4239- -0x47d,_0x171fa0-_0x18c521._0x3f72ef);}this[_0x1d52d3(0x78,_0x3c5def._0x505131,_0x3c5def._0x494131,0x69)]();try{this['getWriteStream']()[_0x1d52d3(0xcd,0xa2,0xaa,_0x3c5def._0x283cf5)](_0x57a2dd+'\x0a');}catch(_0x20ce2e){console[_0x1d52d3(_0x3c5def._0x113c0a,_0x3c5def._0x3bec19,0x41,_0x3c5def._0x4ff2f0)](_0x1d52d3(0xac,0xa9,_0x3c5def._0x5791c7,0xb6),_0x20ce2e);}function _0x1d52d3(_0x3ef32a,_0x4ce4fc,_0x4fb496,_0x123d26){return _0x49e04d(_0x4ce4fc- -_0x397beb._0x58636b,_0x4fb496,_0x4fb496-_0x397beb._0x1feb91,_0x123d26-_0x397beb._0x14cd93);}this[_0x2030e4(-0x235,-_0x3c5def._0xa9c9aa,-_0x3c5def._0x5a96d5,-0x215)]&&(_0x244334===_0x2030e4(-_0x3c5def._0x1a9930,-0x288,-0x26d,-_0x3c5def._0x56018a)?console[_0x2030e4(-0x25e,-0x26b,-_0x3c5def._0x53d853,-0x284)]:_0x244334===_0x2030e4(-_0x3c5def._0xa038ed,-_0x3c5def._0x318f70,-0x214,-_0x3c5def._0x1dc9f8)?console[_0x1d52d3(0x76,_0x3c5def._0x4251ad,0xc8,_0x3c5def._0x3b04a0)]:console['log'])(_0x57a2dd);}['debug'](_0x211b76,_0x2ed7f7){const _0x27b4d2={_0x5e9c60:0x30b,_0x71624f:0x30d,_0x3e6fa9:0x334},_0x4f8c6d={_0x1cd967:0x160};function _0x3d1a15(_0x555c57,_0x51d7a0,_0x29ad34,_0x51931b){return _0x49e04d(_0x29ad34-_0x4f8c6d._0x1cd967,_0x51d7a0,_0x29ad34-0x184,_0x51931b-0x1eb);}this[_0x3d1a15(_0x27b4d2._0x5e9c60,_0x27b4d2._0x71624f,0x32c,_0x27b4d2._0x3e6fa9)]('debug',_0x211b76,_0x2ed7f7);}['info'](_0x2e1222,_0x418ef1){const _0x321e79={_0x4ac61b:0x2e,_0x4e505c:0x4e,_0x381623:0x21,_0x2bf313:0xd},_0x1b802e={_0x2f86de:0x68,_0x5ef853:0x140},_0x12803a={_0x214b4e:0x97,_0x34fb77:0x49};function _0x5efe67(_0x3de47c,_0x147fa4,_0x57d08a,_0x30a679){return _0x113e86(_0x3de47c-_0x12803a._0x214b4e,_0x30a679,_0x3de47c- -0x283,_0x30a679-_0x12803a._0x34fb77);}function _0x331b84(_0x310332,_0x20d9a8,_0x22975e,_0x463738){return _0x113e86(_0x310332-0x1de,_0x20d9a8,_0x310332-_0x1b802e._0x2f86de,_0x463738-_0x1b802e._0x5ef853);}this[_0x5efe67(-_0x321e79._0x4ac61b,-0x1c,-0x3a,-_0x321e79._0x4e505c)](_0x5efe67(-_0x321e79._0x381623,-0x19,-_0x321e79._0x2bf313,-0x21),_0x2e1222,_0x418ef1);}[_0x49e04d(0x1ca,0x1c2,0x1e4,0x1d9)](_0x9a5370,_0x2f64f7){const _0x81c1f7={_0x3fb498:0x289,_0x3e618f:0x261,_0x5a1b07:0x271,_0x3ee72f:0x176},_0x434efe={_0x7bb1cf:0x54};function _0x510d40(_0x20ee62,_0x2bb3cc,_0xf04fd,_0xc03916){return _0x49e04d(_0x20ee62- -0x455,_0xc03916,_0xf04fd-0xad,_0xc03916-0xac);}function _0x184c47(_0x202c03,_0x514180,_0x3d4d28,_0x4a1d58){return _0x49e04d(_0x202c03- -_0x434efe._0x7bb1cf,_0x514180,_0x3d4d28-0x60,_0x4a1d58-0xe);}this[_0x510d40(-_0x81c1f7._0x3fb498,-0x275,-_0x81c1f7._0x3e618f,-_0x81c1f7._0x5a1b07)](_0x184c47(_0x81c1f7._0x3ee72f,0x193,0x14d,0x190),_0x9a5370,_0x2f64f7);}[_0x113e86(0x1fa,0x20c,0x21f,0x200)](_0x2b1d7a,_0x25a5ef){const _0x1b5942={_0x5628e9:0x40e},_0x419f83={_0x12aa2a:0x10d};function _0x3575bd(_0x3e0f29,_0x330299,_0x335b21,_0x1f5c00){return _0x113e86(_0x3e0f29-_0x419f83._0x12aa2a,_0x3e0f29,_0x335b21-0x196,_0x1f5c00-0x1b2);}this[_0x3575bd(0x403,0x3ef,0x3eb,_0x1b5942._0x5628e9)]('error',_0x2b1d7a,_0x25a5ef);}[_0x49e04d(0x1a3,0x197,0x1c1,0x189)](){const _0x345cce={_0x5f098f:0x48c,_0x55a004:0x46c,_0x44cc34:0x477,_0x10d62d:0x448,_0x1a6241:0x473,_0x58ab6f:0xde,_0x23ab8a:0xb3},_0x4aa50b={_0x59b663:0x62,_0x215846:0xc3},_0x455d3a={_0x271995:0x11};function _0x4a3b77(_0x4b9ad1,_0x407d1f,_0x404ed2,_0x2d7cb1){return _0x49e04d(_0x2d7cb1-0x2d1,_0x404ed2,_0x404ed2-_0x455d3a._0x271995,_0x2d7cb1-0x6e);}function _0x483dfd(_0x171e70,_0x21f8c2,_0x35be7b,_0x265304){return _0x49e04d(_0x35be7b- -0x24e,_0x171e70,_0x35be7b-_0x4aa50b._0x59b663,_0x265304-_0x4aa50b._0x215846);}this[_0x4a3b77(0x46b,_0x345cce._0x5f098f,0x444,_0x345cce._0x55a004)]&&(this[_0x4a3b77(0x45b,_0x345cce._0x44cc34,_0x345cce._0x10d62d,0x46c)][_0x4a3b77(0x482,0x48d,0x45d,_0x345cce._0x1a6241)](),this[_0x483dfd(-_0x345cce._0x58ab6f,-0xb5,-_0x345cce._0x23ab8a,-0xa9)]=null);}[_0x49e04d(0x1bb,0x1ce,0x19b,0x1c6)](){return this['logFilePath'];}['clearLogs'](){const _0x170cf2={_0x3fba15:0x2e6,_0xf7947f:0x3bb,_0x33d92f:0x395,_0x23a94c:0x2ec,_0x1fa87f:0x2e0,_0x4ab577:0x2fb,_0x354de2:0x301,_0x2b9011:0x2fd,_0x4d3be1:0x3bf,_0x25aea0:0x381,_0x15a5c0:0x375},_0x81831a={_0x27c1bc:0x1e1,_0x408f3b:0x1a5},_0x48ab50={_0xa2b240:0x1e0,_0x61b5e9:0x169};function _0x2e9c9d(_0x350684,_0x3eed06,_0x1d5449,_0x17a7ac){return _0x113e86(_0x350684-_0x48ab50._0xa2b240,_0x350684,_0x17a7ac-0xa0,_0x17a7ac-_0x48ab50._0x61b5e9);}function _0x551a11(_0x494306,_0x3d3a02,_0x2941c4,_0x4ae7e0){return _0x49e04d(_0x4ae7e0-0x1c1,_0x3d3a02,_0x2941c4-_0x81831a._0x27c1bc,_0x4ae7e0-_0x81831a._0x408f3b);}try{this['close'](),_0x77c48[_0x2e9c9d(_0x170cf2._0x3fba15,0x2e9,0x321,0x2fa)](this[_0x551a11(0x394,_0x170cf2._0xf7947f,0x384,_0x170cf2._0x33d92f)])&&_0x77c48[_0x2e9c9d(_0x170cf2._0x23a94c,_0x170cf2._0x1fa87f,0x2c4,0x2d1)](this[_0x2e9c9d(_0x170cf2._0x4ab577,_0x170cf2._0x354de2,0x2f1,_0x170cf2._0x2b9011)]);for(let _0x192235=0x1;_0x192235<=this[_0x551a11(_0x170cf2._0x4d3be1,_0x170cf2._0x25aea0,0x399,0x3a1)];_0x192235++){let _0x17cfbc=this['logFilePath']+'.'+_0x192235;_0x77c48['existsSync'](_0x17cfbc)&&_0x77c48[_0x2e9c9d(0x2f9,0x2b8,0x2e0,0x2d1)](_0x17cfbc);}}catch(_0x404836){console[_0x551a11(_0x170cf2._0x15a5c0,0x33b,0x360,0x357)]('Error\x20clearing\x20log\x20files:',_0x404836);}}},w=null;function x(_0x1728b1){return w||(w=new F({'logDir':'.','minLevel':'error',..._0x1728b1})),w;}var Y=x();function p(_0x38955b){const _0x106d4d={_0x4431a4:0x297,_0x46e158:0xd0,_0x3d2ddc:0xa8,_0x576992:0x88,_0x225750:0x9d,_0x3e95a8:0x256,_0x36dbed:0x26b,_0x17132a:0x294,_0x41b920:0x99,_0x30af68:0x6f,_0x3d8182:0xb4,_0x301fcd:0x98},_0x1ec229={_0x4f70d8:0x69};function _0x5adff5(_0x1d7512,_0x3b15cd,_0x3cf325,_0x54e694){return _0x113e86(_0x1d7512-0x1a1,_0x1d7512,_0x3cf325- -0x4dc,_0x54e694-0x150);}let _0x1a9729=_0x37c540[_0x5adff5(-0x28b,-0x288,-_0x106d4d._0x4431a4,-0x290)](),_0x203153=_0x1a9729[_0x5b0411(-_0x106d4d._0x46e158,-_0x106d4d._0x3d2ddc,-_0x106d4d._0x576992,-0xb2)]();if(!_0x203153)return _0x52be3b[_0x5adff5(-0x2b3,-0x2e2,-0x2bb,-0x297)](_0x394e31['homedir'](),_0x5b0411(-0x81,-0x92,-_0x106d4d._0x225750,-0x9a),_0x5adff5(-0x293,-_0x106d4d._0x3e95a8,-_0x106d4d._0x36dbed,-_0x106d4d._0x17132a));let _0x5568a2=_0x38955b??_0x1a9729[_0x5b0411(-_0x106d4d._0x41b920,-_0x106d4d._0x30af68,-_0x106d4d._0x3d8182,-_0x106d4d._0x301fcd)]();function _0x5b0411(_0x54f7df,_0x30ba81,_0x2db1e8,_0x4fe092){return _0x49e04d(_0x4fe092- -0x261,_0x30ba81,_0x2db1e8-0xa,_0x4fe092-_0x1ec229._0x4f70d8);}return _0x203153['getProfileSessionsDir'](_0x5568a2);}async function N(_0x4d8777){const _0xd50e62={_0x335bb2:0xe4,_0xd7df05:0xcb,_0x54011a:0x71,_0x3d8e54:0xae,_0x350aef:0xad,_0x342fbe:0xb1,_0x5cf1d0:0x7a,_0x3f5dbf:0xa0,_0x210952:0x106,_0xd5ffa5:0xfb},_0x2dfa30={_0x3629ef:0x3c,_0x1614a1:0x18},_0x12e593={_0x558ac2:0xe,_0x289227:0x117};function _0x299999(_0x4d066a,_0x42c465,_0xd87955,_0x26c7e1){return _0x113e86(_0x4d066a-_0x12e593._0x558ac2,_0x42c465,_0xd87955- -0x16b,_0x26c7e1-_0x12e593._0x289227);}function _0xac219e(_0x24f055,_0x1813c4,_0x23e437,_0x539891){return _0x49e04d(_0x24f055- -0x14c,_0x23e437,_0x23e437-_0x2dfa30._0x3629ef,_0x539891-_0x2dfa30._0x1614a1);}try{let _0x162a94=await _0x412786[_0x299999(0x10f,_0xd50e62._0x335bb2,0xeb,_0xd50e62._0xd7df05)](_0x4d8777,_0xac219e(0x9b,_0xd50e62._0x54011a,0x89,_0xd50e62._0x3d8e54));if(!_0x162a94||!_0x162a94[_0x299999(0x90,_0xd50e62._0x350aef,_0xd50e62._0x342fbe,0xab)]())return null;let _0x47313d=JSON[_0xac219e(0x97,_0xd50e62._0x5cf1d0,0xa2,_0xd50e62._0x3f5dbf)](_0x162a94);return _0x47313d??null;}catch(_0x3e89d4){if(_0x3e89d4?.['code']===_0x299999(0x123,_0xd50e62._0x210952,_0xd50e62._0xd5ffa5,0xf0))return null;throw _0x3e89d4;}}var E=new Map(),H=0x2710,D=new Map(),U=x();function _0x59a4(){const _0x3c1809=['zM9YBwf0twvZC2fNzq','BwfW','z2v0v3jPDgvtDhjLyw0','tM8GBwvZC2fNzxm','mJvfsxbKyLO','Ag9TzwrPCG','z2v0uhjVzMLSzu1HBMfNzxi','y2HLy2TbBMrsB3rHDgu','mtuWruPrEKfL','BNv2Aw4','yxnZAxn0yw50','mti1oty1ofjTDw5ota','otK2nty0uw5uCuH1','mJm0nZaXmu9jD25MuG','ndm3mZK4z0fMz1z5','CMvUyw1Lu3LUyW','Aw5JBhvKzvrPBwvZDgfTCa','Dg9mB2nHBgvtDhjPBMC','z2v0tg9NrMLSzvbHDgG','z2v0sw5ZDgfUy2u','C3rHDfn5BMm','y2XP','Bg9Nvg9dB25ZB2XL','Dg9WAwm','Bg9NrgLY','odHXv3vMwfa','B2jQzwn0','CM90yxrLtg9NrMLSzxm','ndm1mJy1mhv2qMv6Aq','AgLZDg9YEs5QC29U','lM51DMLUlwnSAq','z2v0','z2v0q3vYCMvUDfbYB2zPBgu','D2fYBG','BwTKAxjtEw5J','D3jPDgu','CMvHzezPBgu','zgvZDhjVEwvK','BM90x2zVDw5K','DgLTzxn0yw1W','zxHPC3rZu3LUyW','y3jLyxrLv3jPDgvtDhjLyw0','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','Bg9NrMLSzvbHDgG','mtm5m0j1DLrUDq','mxves3HitW','BgvUz3rO','Bwf4rMLSzvnPEMu','Aw5MBW','zw5ZDxjLtg9NrgLYzwn0B3j5','ChvZAa','zw1WDhK','ru5pru5u','DxnLCG','zgvSzxrL','Bwf4rMLSzxm','C2L6zq','q2fJAguGAgL0oG','CgfYC2u','x19TzxrHzgf0yv9Fy2XP','y29UDgvUDa','mtzxqvPfv1a','DxrMltG','C2vZC2LVBNm','AxneAxjLy3rVCNK','DhjPBq','Dg9ju09tDhjPBMC','C2v0','zxjYB3i','C29YDa','AM9PBG','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','C3rYAw5N','D3jPDgvtDhjLyw0','mtmZodC2D0T4CMDS','BMfTzq','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','C2HVDwXKtg9N','BM93','BwLUtgv2zwW','zw5K','y2XVC2u','C3rYAw5NAwz5','Bg9NCW','BM9FBwvZC2fNzxm','CM9Szq','Dw5SAw5Ru3LUyW'];_0x59a4=function(){return _0x3c1809;};return _0x59a4();}function G(_0x1afa2e,_0x29e53a){return(_0x29e53a??_0x4b8ce7)+'_'+(_0x1afa2e??'all');}var V=async(_0x1bc5ab,_0x3694f2)=>{const _0x219c5f={_0x585ace:0x256,_0x4b5fd5:0x233,_0x2c4b92:0x237,_0xfa78ce:0x20f,_0x1e83ec:0x23f,_0x1917d8:0x12b,_0x65f5e6:0x148,_0x340e99:0x1b4,_0x1b5c37:0x19b,_0x49a759:0x199},_0x438199={_0x56737d:0x3b3,_0x369722:0x17c},_0x47270c={_0xe8f027:0x9c,_0x27c18c:0x158,_0x1d545a:0x16e,_0x2819d8:0x121,_0x3e4fdc:0x181,_0x36ea14:0x9d,_0x4e980a:0x9d,_0x72c29b:0x9e,_0x4d4159:0xa2,_0x470219:0x5c,_0x194de3:0xa6,_0x5da5ef:0x8a,_0xdfac1d:0x125,_0x5a193f:0x131,_0x1d30c8:0xee,_0x2ca4d2:0x118,_0x252600:0x137,_0x561bf9:0x122,_0xdced6b:0x16b,_0xeb9ef3:0x113,_0x29bfb4:0x103,_0x12d81e:0x12e,_0x5de77b:0x132,_0x2ed4a4:0x14b,_0x68fa78:0x86,_0x253806:0x72,_0x786d28:0x136,_0x57f351:0xf7,_0x3b0b66:0xf8,_0x4f85da:0x10b,_0x1d1516:0x16d,_0x22fa4d:0x12b,_0x445009:0x155,_0x29b3bf:0x17d,_0x2fe7b1:0xfc,_0x3a5035:0x125,_0x438c86:0x133,_0x2ba46b:0x97,_0x4f5481:0x73,_0x20fdad:0x8e,_0x117fb6:0x12f,_0x4904ca:0x151,_0x24c829:0xc1,_0x37f0fd:0xa5,_0x5915df:0x15a,_0x55f90f:0x15a,_0x487cb5:0xbe,_0x2fd8c5:0xaa},_0x32d6e5={_0x5d2449:0x6f};let _0x397cd3=G(_0x1bc5ab,_0x3694f2),_0x43fa82=E[_0x15d7ca(0x20e,_0x219c5f._0x585ace,_0x219c5f._0x4b5fd5,_0x219c5f._0x2c4b92)](_0x397cd3);if(_0x43fa82&&Date[_0x15d7ca(0x234,0x219,0x1fb,_0x219c5f._0xfa78ce)]()-_0x43fa82[_0x15d7ca(0x26b,0x236,0x23c,_0x219c5f._0x1e83ec)]<H)return U[_0xc4e123(-0x13f,-0x139,-0x13f,-0x151)](_0xc4e123(-0x127,-_0x219c5f._0x1917d8,-0x127,-_0x219c5f._0x65f5e6),_0x397cd3),_0x43fa82['data'];let _0x5eda82=D['get'](_0x397cd3);function _0x15d7ca(_0x17b8dd,_0x2d2b99,_0x50467a,_0x350fcf){return _0x49e04d(_0x350fcf-_0x32d6e5._0x5d2449,_0x50467a,_0x50467a-0x18e,_0x350fcf-0x1cd);}if(_0x5eda82)return _0x5eda82;let _0x468b74=((async()=>{const _0xab73ea={_0x1c6673:0x9e},_0x2fe28c={_0x399c9e:0xc7,_0x5f02dc:0x1f2,_0x113011:0x35e};function _0x4ba652(_0x4be910,_0x1082a4,_0x3f903a,_0xe3a7f4){return _0x15d7ca(_0x4be910-_0x2fe28c._0x399c9e,_0x1082a4-_0x2fe28c._0x5f02dc,_0x1082a4,_0x3f903a- -_0x2fe28c._0x113011);}function _0x2a73dd(_0x3ce940,_0x5d08a7,_0x30e091,_0x4266b0){return _0x15d7ca(_0x3ce940-0x8d,_0x5d08a7-_0xab73ea._0x1c6673,_0x3ce940,_0x4266b0- -0x1a4);}try{let _0x4b191d=p(_0x3694f2);if(!_0x30ecf7[_0x2a73dd(0x76,0xa6,0x8b,_0x47270c._0xe8f027)](_0x4b191d))return[];let _0x36bc66=(await _0x412786['readdir'](_0x4b191d,{'withFileTypes':!0x0}))['filter'](_0x4ed404=>_0x4ed404[_0x4ba652(-0x110,-0x120,-0x106,-0x101)]())[_0x4ba652(-_0x47270c._0x27c18c,-_0x47270c._0x1d545a,-0x145,-_0x47270c._0x2819d8)](_0x2fee42=>_0x2fee42[_0x4ba652(-0x143,-0x12f,-0x152,-0x148)]);_0x36bc66[_0x4ba652(-0x182,-0x173,-0x158,-_0x47270c._0x3e4fdc)]((_0x45147e,_0x4a2d19)=>parseInt(_0x4a2d19,0xa)-parseInt(_0x45147e,0xa));let _0x362416=[];for(let _0x4804bf of _0x36bc66){if(_0x1bc5ab&&_0x362416[_0x2a73dd(_0x47270c._0x36ea14,_0x47270c._0x4e980a,_0x47270c._0x72c29b,_0x47270c._0x4d4159)]>=_0x1bc5ab)break;let _0x313ea1=_0x52be3b[_0x2a73dd(_0x47270c._0x470219,0x83,0x5b,0x63)](_0x4b191d,_0x4804bf,_0x2a73dd(0xba,_0x47270c._0x194de3,_0x47270c._0x5da5ef,0x91));try{let _0x648143=await N(_0x313ea1);if(!_0x648143)continue;let _0x37e506=_0x648143?.[_0x4ba652(-0x149,-_0x47270c._0xdfac1d,-_0x47270c._0x5a193f,-0x14f)]??[];if(_0x37e506[_0x4ba652(-0x115,-_0x47270c._0x1d30c8,-_0x47270c._0x2ca4d2,-_0x47270c._0x252600)]===0x0)continue;let _0x570f2c=_0x4ba652(-_0x47270c._0x561bf9,-_0x47270c._0xdced6b,-0x143,-0x14b);for(let _0x3ecafc=_0x37e506[_0x4ba652(-_0x47270c._0xeb9ef3,-_0x47270c._0x29bfb4,-_0x47270c._0x2ca4d2,-0xf0)]-0x1;_0x3ecafc>=0x0;_0x3ecafc--){let _0x3cd38e=_0x37e506[_0x3ecafc];if(!_0x3cd38e||typeof _0x3cd38e!=_0x4ba652(-_0x47270c._0x12d81e,-_0x47270c._0x5de77b,-0x12c,-_0x47270c._0x2ed4a4))continue;let _0x102522=_0x3cd38e;if(_0x102522[_0x2a73dd(0x94,_0x47270c._0x68fa78,0x86,_0x47270c._0x253806)]===_0x4ba652(-0x118,-_0x47270c._0x786d28,-0x111,-0x118)){let _0x1cca25=_0x102522[_0x4ba652(-_0x47270c._0x57f351,-_0x47270c._0x3b0b66,-0x10a,-_0x47270c._0x4f85da)];_0x570f2c=typeof _0x1cca25==_0x4ba652(-_0x47270c._0x1d1516,-_0x47270c._0x22fa4d,-_0x47270c._0x445009,-_0x47270c._0x29b3bf)?_0x1cca25:'';break;}}let _0x30c6ce=_0x648143?.[_0x4ba652(-0x135,-0x11d,-_0x47270c._0x4f85da,-_0x47270c._0x2fe7b1)],_0x23976f=_0x30c6ce&&_0x30c6ce[_0x4ba652(-_0x47270c._0x3a5035,-0x114,-0x118,-_0x47270c._0x438c86)]>0x0?_0x30c6ce[0x0]:null,_0x4d4f6f=_0x23976f&&typeof _0x23976f==_0x2a73dd(_0x47270c._0x2ba46b,0x80,_0x47270c._0x4f5481,_0x47270c._0x20fdad)&&_0x4ba652(-0x104,-0x12c,-_0x47270c._0x117fb6,-0x142)in _0x23976f?_0x23976f[_0x4ba652(-_0x47270c._0x4f85da,-0x125,-0x12f,-0x144)]:void 0x0,_0x103955=new Date(parseInt(_0x4804bf,0xa))[_0x4ba652(-_0x47270c._0x4904ca,-0x152,-0x135,-0x11e)]();_0x362416['push']({'sessionId':_0x4804bf,'timestamp':_0x103955,'lastMessage':_0x570f2c,'messageCount':_0x37e506[_0x2a73dd(_0x47270c._0x24c829,_0x47270c._0x37f0fd,0x84,_0x47270c._0x4d4159)],'topic':_0x4d4f6f});}catch{}}return E[_0x4ba652(-0x142,-_0x47270c._0x5915df,-_0x47270c._0x55f90f,-0x16c)](_0x397cd3,{'timestamp':Date['now'](),'data':_0x362416}),_0x362416;}finally{D[_0x2a73dd(0xaa,_0x47270c._0x487cb5,0x95,_0x47270c._0x2fd8c5)](_0x397cd3);}})());function _0xc4e123(_0x468956,_0x4b1444,_0x39fd37,_0x5f065e){return _0x113e86(_0x468956-0x1bb,_0x468956,_0x5f065e- -_0x438199._0x56737d,_0x5f065e-_0x438199._0x369722);}return D[_0xc4e123(-_0x219c5f._0x340e99,-_0x219c5f._0x1b5c37,-_0x219c5f._0x49a759,-0x195)](_0x397cd3,_0x468b74),_0x468b74;},q=async(_0x3dc7f5,_0x31b8d4)=>{const _0x4464f1={_0x493855:0x16b,_0x18ad05:0x171,_0xf3f83e:0x154,_0x5d8e30:0xa3,_0x4bd315:0x95},_0x428440={_0x52f4ce:0x9},_0x5b83c2={_0x353ed2:0xe2,_0xd033a5:0x188,_0x4a69d7:0x19b};function _0x75e20c(_0x310eb3,_0x59bb03,_0x483d87,_0x5270c7){return _0x113e86(_0x310eb3-_0x5b83c2._0x353ed2,_0x483d87,_0x5270c7- -_0x5b83c2._0xd033a5,_0x5270c7-_0x5b83c2._0x4a69d7);}let _0xf9d172=_0x3dc7f5??String(Date[_0x31d832(-_0x4464f1._0x493855,-_0x4464f1._0x18ad05,-0x17a,-_0x4464f1._0xf3f83e)]()),_0x1a5291=p(_0x31b8d4),_0x327f47=_0x52be3b[_0x75e20c(0x7a,_0x4464f1._0x5d8e30,_0x4464f1._0x4bd315,0x99)](_0x1a5291,_0xf9d172);function _0x31d832(_0x170f8d,_0x580c7f,_0x2458d6,_0x382156){return _0x113e86(_0x170f8d-0x16b,_0x580c7f,_0x170f8d- -0x394,_0x382156-_0x428440._0x52f4ce);}return{'sessionId':_0xf9d172,'sessionDir':_0x327f47};},O=async _0x566487=>{const _0xb04d09={_0x1f4555:0xe1,_0xcc1fba:0xaa,_0x5606d9:0xcd,_0x4a5ffe:0xce,_0x1fb4ea:0x2f8,_0x1c2a5c:0x336,_0xd755de:0xe0,_0x288ebd:0xb2,_0x39b94d:0x10b,_0x582a12:0xfe,_0x2de926:0xde,_0x21f58b:0x32c,_0x53fe38:0x311,_0xaca4c7:0x300,_0x8244f7:0xc5,_0x4db4c8:0xcb,_0x426722:0xf5,_0x444e65:0x304,_0x592abf:0x2e9},_0x33b057={_0x341a82:0x29c,_0x29c98a:0xc6,_0x76230c:0x40},_0x12293d={_0x2078c4:0xc8,_0x44af5b:0x22};function _0x1cb529(_0x370968,_0x1053f0,_0x59c5ec,_0xd30420){return _0x113e86(_0x370968-_0x12293d._0x2078c4,_0xd30420,_0x59c5ec-0xad,_0xd30420-_0x12293d._0x44af5b);}function _0xde7c9b(_0x40b90e,_0x50779a,_0x44f3a5,_0x454345){return _0x49e04d(_0x50779a- -_0x33b057._0x341a82,_0x44f3a5,_0x44f3a5-_0x33b057._0x29c98a,_0x454345-_0x33b057._0x76230c);}try{let _0x2f0a15=await N(_0x566487);if(!_0x2f0a15)return{'kind':_0xde7c9b(-_0xb04d09._0x1f4555,-0xc0,-_0xb04d09._0xcc1fba,-0xd6),'reason':_0xde7c9b(-0xd3,-_0xb04d09._0x5606d9,-0xb4,-0xe8)};let _0x17eef9=_0x2f0a15[_0xde7c9b(-0xf6,-0xde,-0xd4,-_0xb04d09._0x4a5ffe)]||[];if(_0x17eef9[_0x1cb529(_0xb04d09._0x1fb4ea,0x31e,0x30d,_0xb04d09._0x1c2a5c)]===0x0)return{'kind':_0xde7c9b(-0xcb,-0xc0,-_0xb04d09._0xd755de,-_0xb04d09._0x288ebd),'reason':_0xde7c9b(-_0xb04d09._0x39b94d,-0xf6,-_0xb04d09._0x582a12,-_0xb04d09._0x2de926)};let {processMessageToUILines:_0x316dc6}=await import('./messageProcessor-6LZZDCBX.js'),_0x5e9152=[];for(let _0x2c0a73 of _0x17eef9)_0x5e9152[_0x1cb529(0x317,_0xb04d09._0x21f58b,_0xb04d09._0x53fe38,_0xb04d09._0xaca4c7)](..._0x316dc6(_0x2c0a73));let _0x36de8e=null;for(let _0x17fe14=_0x17eef9[_0xde7c9b(-0xd8,-_0xb04d09._0x8244f7,-_0xb04d09._0x4db4c8,-0xe4)]-0x1;_0x17fe14>=0x0;_0x17fe14--)if(_0x17eef9[_0x17fe14][_0xde7c9b(-_0xb04d09._0x39b94d,-_0xb04d09._0x426722,-0xd8,-_0xb04d09._0x39b94d)]===_0x1cb529(0x2d9,_0xb04d09._0x444e65,_0xb04d09._0x592abf,0x2eb)){_0x36de8e={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':'messages','lines':_0x5e9152,'metadata':_0x36de8e,'cliMessages':_0x17eef9,'count':_0x17eef9['length']};}catch{return{'kind':'empty','reason':'not_found'};}},B=async(_0x3422fd,_0x14d226)=>{const _0x1d7089={_0x5324e5:0x4,_0x22774a:0x32,_0xbdc3ab:0x59,_0x3130e2:0xd},_0xf20583={_0x2c547f:0x194,_0x20fd25:0x111},_0x1d7ff3={_0x52cee7:0x18e};function _0x1dc928(_0x150ec2,_0x527f6c,_0x39ef38,_0x54fa24){return _0x49e04d(_0x54fa24- -0x5,_0x527f6c,_0x39ef38-0x53,_0x54fa24-_0x1d7ff3._0x52cee7);}let _0x55abe6=p(_0x14d226),_0x45e19f=_0x52be3b[_0x290e00(_0x1d7089._0x5324e5,0xa,0x27,0x17)](_0x55abe6,_0x3422fd,_0x290e00(_0x1d7089._0x22774a,0x21,_0x1d7089._0xbdc3ab,_0x1d7089._0x3130e2));function _0x290e00(_0x30696f,_0x576ad0,_0x3abd6,_0x16fec5){return _0x49e04d(_0x30696f- -_0xf20583._0x2c547f,_0x3abd6,_0x3abd6-0x18e,_0x16fec5-_0xf20583._0x20fd25);}return O(_0x45e19f);},ie=(_0xef17ad,_0x377d86)=>_0x52be3b[_0x113e86(0x211,0x223,0x221,0x210)](p(_0x377d86),_0xef17ad),ne=()=>{let [_0x2c8297,_0x67cdb9]=_0x225b2b([]);return{'availableSessions':_0x2c8297,'setAvailableSessions':_0x67cdb9,'scanAvailableSessions':V,'loadSessionHistory':B,'loadHistoryFromFile':O,'createNewSession':q};};function _0x49e04d(_0x46d25a,_0x114746,_0x21dfa0,_0x387d4b){const _0x405f38={_0x3c424d:0xd2};return _0x66e3(_0x46d25a-_0x405f38._0x3c424d,_0x114746);}export{Y as a,V as b,q as c,O as d,B as e,ie as f,ne as g};
1
+ (function(_0x281f9e,_0xf7d5d1){const _0x260753={_0x2ecfb9:0x202,_0x56c0de:0x242,_0x4f55e7:0x1e8,_0x369aa0:0x213,_0x231099:0x22e,_0x592dcd:0x22a,_0xa83357:0x23b,_0x4d9a4c:0x242,_0x2daaee:0x208,_0x6b9b88:0x202,_0x23e9a2:0x1c6,_0x5b6881:0x1b0,_0x4f68ff:0x1b5,_0xa8d84c:0x24a,_0x4e11fc:0x224,_0x45208a:0x222},_0xee653a={_0x222819:0x2c7},_0x35e66d=_0x281f9e();function _0x154d17(_0x53523a,_0x68f277,_0x1b6760,_0x2ca7d9){return _0x5da2(_0x68f277- -_0xee653a._0x222819,_0x53523a);}function _0x1e18bc(_0x27373f,_0x609229,_0x34e1a0,_0x4385e6){return _0x5da2(_0x609229- -0x27d,_0x27373f);}while(!![]){try{const _0x1e8d37=parseInt(_0x154d17(-0x1eb,-_0x260753._0x2ecfb9,-0x225,-0x1fb))/0x1+parseInt(_0x154d17(-0x266,-_0x260753._0x56c0de,-0x24c,-0x250))/0x2*(-parseInt(_0x1e18bc(-_0x260753._0x4f55e7,-0x209,-0x1e2,-_0x260753._0x369aa0))/0x3)+-parseInt(_0x154d17(-0x218,-0x22c,-_0x260753._0x231099,-0x206))/0x4+parseInt(_0x154d17(-0x200,-_0x260753._0x592dcd,-_0x260753._0xa83357,-_0x260753._0x4d9a4c))/0x5+parseInt(_0x1e18bc(-_0x260753._0x2daaee,-0x1fe,-0x1f9,-_0x260753._0x6b9b88))/0x6+parseInt(_0x1e18bc(-_0x260753._0x23e9a2,-0x1cc,-_0x260753._0x5b6881,-0x1d7))/0x7*(parseInt(_0x1e18bc(-0x19b,-0x1b5,-0x1bc,-_0x260753._0x4f68ff))/0x8)+-parseInt(_0x154d17(-_0x260753._0xa8d84c,-_0x260753._0x4e11fc,-_0x260753._0x45208a,-0x214))/0x9;if(_0x1e8d37===_0xf7d5d1)break;else _0x35e66d['push'](_0x35e66d['shift']());}catch(_0x4660f8){_0x35e66d['push'](_0x35e66d['shift']());}}}(_0x288d,0x8da75));function _0x2cd0ef(_0x7efc89,_0x3a47d2,_0x2d09cf,_0x299329){const _0x38a9ca={_0x16f9d6:0x1d7};return _0x5da2(_0x2d09cf- -_0x38a9ca._0x16f9d6,_0x3a47d2);}import{b as _0x49468f}from'./chunk-PC75UOLY.js';import{a as _0x5070a8}from'./chunk-M6KACDU7.js';function _0x5408d5(_0x33eb5e,_0x4b86e9,_0x58c13b,_0x47e7f1){return _0x5da2(_0x47e7f1- -0x12d,_0x58c13b);}import{useState as _0x1128e9}from'react';import*as _0x51314f from'fs';import*as _0x466ba1 from'fs/promises';import*as _0x4bede6 from'path';import*as _0x1d2cbc from'os';import*as _0x3f37d3 from'fs';import*as _0x33e2b4 from'path';function _0x5da2(_0x1ac159,_0x5675e3){_0x1ac159=_0x1ac159-0x74;const _0x288d7f=_0x288d();let _0x5da2fe=_0x288d7f[_0x1ac159];if(_0x5da2['WYKTzn']===undefined){var _0x1f104b=function(_0x5e8289){const _0x1c95c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49468f='',_0x5070a8='';for(let _0x1128e9=0x0,_0x51314f,_0x466ba1,_0x4bede6=0x0;_0x466ba1=_0x5e8289['charAt'](_0x4bede6++);~_0x466ba1&&(_0x51314f=_0x1128e9%0x4?_0x51314f*0x40+_0x466ba1:_0x466ba1,_0x1128e9++%0x4)?_0x49468f+=String['fromCharCode'](0xff&_0x51314f>>(-0x2*_0x1128e9&0x6)):0x0){_0x466ba1=_0x1c95c9['indexOf'](_0x466ba1);}for(let _0x1d2cbc=0x0,_0x3f37d3=_0x49468f['length'];_0x1d2cbc<_0x3f37d3;_0x1d2cbc++){_0x5070a8+='%'+('00'+_0x49468f['charCodeAt'](_0x1d2cbc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5070a8);};_0x5da2['VdwMQi']=_0x1f104b,_0x5da2['tecbVs']={},_0x5da2['WYKTzn']=!![];}const _0x2c5518=_0x288d7f[0x0],_0x524fd3=_0x1ac159+_0x2c5518,_0x30be5c=_0x5da2['tecbVs'][_0x524fd3];return!_0x30be5c?(_0x5da2fe=_0x5da2['VdwMQi'](_0x5da2fe),_0x5da2['tecbVs'][_0x524fd3]=_0x5da2fe):_0x5da2fe=_0x30be5c,_0x5da2fe;}import*as _0xc75125 from'os';var $={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},F=class{constructor(_0x241d7e={}){const _0x31aece={_0x5b0e4c:0x299,_0x59d0cf:0x286,_0xd0e0d6:0x29d,_0x5a1c63:0x2c1,_0x1e7da0:0x2a3,_0x414492:0x28c,_0x36f04a:0x2c6,_0x23ba9c:0x2bf,_0x29b170:0x268,_0x28fa54:0x283,_0x4f5868:0x287,_0x1fad27:0x255,_0x206471:0x295,_0x2b7c4d:0x293,_0x3f7033:0x27a,_0x354a86:0x292,_0x4d1b58:0x13d,_0x3985ac:0x174,_0x502ed6:0x17e,_0x148c42:0x17b,_0x1ca0c1:0x14c,_0x13245a:0x13a,_0x595901:0x135,_0x1a75ff:0x155,_0x4b58a6:0x29d,_0x3ec0e9:0x27b,_0x52f450:0x28e,_0x3f7815:0x277,_0x3f5b54:0x296,_0xa4b106:0x16a,_0x3bdaad:0x2a7,_0x595f3f:0x28e,_0x588f41:0x2a0,_0x5c1c2f:0x198,_0x574eff:0x149,_0x28fd88:0x124,_0x473218:0x27f,_0x34e18e:0x269,_0x367b93:0x291,_0xc970d0:0x122,_0x1bcb07:0x124,_0x5ce322:0x11b},_0x8762bf={_0x34b480:0xaa},_0x27be7d={_0xa2713b:0x1e0};function _0x544846(_0x2106a9,_0x4d81c5,_0x188f7d,_0x848270){return _0x5da2(_0x2106a9-_0x27be7d._0xa2713b,_0x188f7d);}this['writeStream']=null,this[_0x544846(_0x31aece._0x5b0e4c,_0x31aece._0x59d0cf,0x28c,0x2b2)]=_0x241d7e[_0x544846(0x299,_0x31aece._0xd0e0d6,0x282,_0x31aece._0x5a1c63)]||_0x33e2b4['join'](_0xc75125[_0x544846(_0x31aece._0x1e7da0,_0x31aece._0x414492,_0x31aece._0x36f04a,_0x31aece._0x23ba9c)](),'.nuvin-cli',_0x544846(_0x31aece._0x29b170,_0x31aece._0x28fa54,_0x31aece._0x4f5868,0x282));let _0x4b46c3=_0x241d7e[_0x544846(_0x31aece._0x1fad27,0x23d,0x275,0x259)]||'nuvin';function _0x21ba47(_0x3230ca,_0x4ca6fe,_0xda6289,_0x55ca1c){return _0x5da2(_0x3230ca-_0x8762bf._0x34b480,_0xda6289);}this[_0x544846(_0x31aece._0x206471,_0x31aece._0x2b7c4d,0x297,0x2b5)]=_0x33e2b4[_0x544846(_0x31aece._0x3f7033,_0x31aece._0x354a86,0x25f,0x2a4)](this[_0x21ba47(0x163,_0x31aece._0x4d1b58,_0x31aece._0x3985ac,0x17e)],_0x4b46c3+_0x21ba47(0x159,_0x31aece._0x502ed6,_0x31aece._0x148c42,0x14f)),this[_0x21ba47(_0x31aece._0x1ca0c1,_0x31aece._0x13245a,_0x31aece._0x595901,0x137)]=_0x241d7e[_0x21ba47(0x14c,0x12b,0x12a,_0x31aece._0x1a75ff)]||_0x544846(_0x31aece._0x4b58a6,_0x31aece._0x3ec0e9,0x2c7,0x2c8),this[_0x544846(_0x31aece._0x52f450,_0x31aece._0x3f7815,_0x31aece._0x3f7815,_0x31aece._0x3f5b54)]=_0x241d7e[_0x21ba47(0x158,0x179,_0x31aece._0xa4b106,0x160)]||0x5*0x400*0x400,this[_0x544846(_0x31aece._0x3bdaad,_0x31aece._0x595f3f,_0x31aece._0x588f41,0x29a)]=_0x241d7e[_0x21ba47(0x171,_0x31aece._0x5c1c2f,0x162,0x14e)]||0x3,this[_0x21ba47(_0x31aece._0x574eff,_0x31aece._0x28fd88,0x124,0x14d)]=_0x241d7e[_0x544846(_0x31aece._0x473218,_0x31aece._0x34e18e,0x28e,_0x31aece._0x367b93)]??!0x0,this['logToConsole']=_0x241d7e[_0x21ba47(0x128,0x134,0xfd,_0x31aece._0xc970d0)]??!0x1,this[_0x21ba47(_0x31aece._0x1bcb07,0x101,0x105,_0x31aece._0x5ce322)]();}[_0x2cd0ef(-0x186,-0x188,-0x15d,-0x144)](){const _0x18b3b9={_0x41e858:0x2d2,_0x1c914a:0x2d7,_0x30fa4a:0x2f7,_0x1d988c:0x2c0,_0x38fa30:0x2d0},_0x3f9473={_0x37154c:0xe7},_0x5cf07b={_0x27b64:0x3ee,_0x3a516f:0x6a};function _0x1f8edd(_0x576e4d,_0x1598a8,_0x2385b9,_0x4934e2){return _0x2cd0ef(_0x576e4d-0x91,_0x1598a8,_0x4934e2-_0x5cf07b._0x27b64,_0x4934e2-_0x5cf07b._0x3a516f);}function _0x4ac88c(_0x27e7bd,_0x56a27d,_0x135dc0,_0x3909a5){return _0x2cd0ef(_0x27e7bd-_0x3f9473._0x37154c,_0x3909a5,_0x135dc0-0x380,_0x3909a5-0xfa);}try{_0x3f37d3[_0x1f8edd(0x2c5,0x2d5,_0x18b3b9._0x41e858,_0x18b3b9._0x1c914a)](this['logDir'])||_0x3f37d3['mkdirSync'](this[_0x1f8edd(_0x18b3b9._0x30fa4a,_0x18b3b9._0x1d988c,0x2da,_0x18b3b9._0x38fa30)],{'recursive':!0x0});}catch(_0x33635f){console['error'](_0x1f8edd(0x2c6,0x2bf,0x2a1,0x2b8)+this['logDir']+':',_0x33635f);}}[_0x2cd0ef(-0x110,-0x10b,-0x121,-0x129)](){const _0x516215={_0x5f24cc:0x13c,_0x163b88:0x123,_0x546d2e:0x15d,_0x4971a5:0x155,_0x41eb62:0x171,_0x13c005:0x12b,_0x90dc94:0x133,_0x285191:0x12b,_0x97c652:0x150,_0x2b91fd:0x117,_0x2ab585:0x432,_0x365168:0x419,_0x2d3dc8:0x411,_0x366ca4:0x3f9},_0x146554={_0x404426:0x1c4},_0x2051ee={_0x340f0a:0x186};function _0x4f2cd5(_0x2838c0,_0x18e6fb,_0x1f6972,_0x358f53){return _0x2cd0ef(_0x2838c0-0x91,_0x1f6972,_0x18e6fb-0x554,_0x358f53-_0x2051ee._0x340f0a);}function _0x542d7f(_0x523155,_0x4e6b18,_0x557125,_0x5b09c9){return _0x2cd0ef(_0x523155-_0x146554._0x404426,_0x557125,_0x523155-0x27f,_0x5b09c9-0x1d7);}return(!this[_0x542d7f(_0x516215._0x5f24cc,0x133,_0x516215._0x163b88,_0x516215._0x546d2e)]||this['writeStream'][_0x542d7f(_0x516215._0x4971a5,0x161,_0x516215._0x41eb62,0x12b)])&&(this[_0x542d7f(0x13c,0x15c,_0x516215._0x13c005,_0x516215._0x90dc94)]=_0x3f37d3[_0x542d7f(_0x516215._0x285191,_0x516215._0x97c652,0x13f,_0x516215._0x2b91fd)](this[_0x4f2cd5(0x436,_0x516215._0x2ab585,_0x516215._0x365168,0x424)],{'flags':'w'})),this[_0x4f2cd5(0x43a,_0x516215._0x2d3dc8,_0x516215._0x366ca4,0x41c)];}[_0x2cd0ef(-0x13c,-0x111,-0x12c,-0x10f)](){const _0x348074={_0x123d80:0xb,_0x3c29fe:0x26,_0x5a5a54:0x91,_0x5d6829:0x0,_0x482735:0x1,_0x33317c:0x9,_0x3b98bd:0x2b,_0x5b0414:0x7,_0x18b459:0x27,_0x9cdb20:0x9,_0x2447a0:0x8c,_0x4f5e73:0x62,_0x5e5933:0x7b,_0x417505:0xbe,_0x2f871e:0x59,_0x1a2fda:0x3d,_0x2260c1:0x13},_0x4705c2={_0x5cac93:0x116,_0x117308:0x6f};function _0x5605f0(_0x61d970,_0x5c7b53,_0x4c4a07,_0x203487){return _0x5408d5(_0x61d970-_0x4705c2._0x5cac93,_0x5c7b53-0x11b,_0x203487,_0x4c4a07-_0x4705c2._0x117308);}function _0xa5e017(_0xc8d689,_0xaf065e,_0x368c50,_0x20ac31){return _0x2cd0ef(_0xc8d689-0x1a9,_0x20ac31,_0x368c50-0xc7,_0x20ac31-0x34);}try{if(!_0x3f37d3[_0xa5e017(-0x31,-0x41,-0x50,-0x2b)](this[_0x5605f0(-_0x348074._0x123d80,-_0x348074._0x3c29fe,-0x9,-0x19)]))return;_0x3f37d3[_0xa5e017(-0x9e,-_0x348074._0x5a5a54,-0x84,-0x9c)](this[_0x5605f0(_0x348074._0x5d6829,-_0x348074._0x482735,-_0x348074._0x33317c,-_0x348074._0x3b98bd)])[_0x5605f0(-_0x348074._0x5b0414,-0x41,-_0x348074._0x18b459,-_0x348074._0x9cdb20)]>=this[_0xa5e017(-0x7c,-_0x348074._0x2447a0,-_0x348074._0x4f5e73,-0x50)]&&this[_0xa5e017(-_0x348074._0x5e5933,-_0x348074._0x417505,-0x95,-0x94)]();}catch(_0x941766){console[_0xa5e017(-_0x348074._0x2f871e,-0x5c,-0x53,-0x35)](_0x5605f0(-0x46,-_0x348074._0x1a2fda,-0x2b,-_0x348074._0x2260c1),_0x941766);}}[_0x5408d5(-0xbf,-0x8a,-0x94,-0xb2)](){const _0x4dfbc1={_0x5b41bc:0xf4,_0x2b367f:0x11a,_0x283da8:0x10c,_0x56df14:0xf3,_0x5ce076:0x21f,_0xf8c203:0x214,_0x132c30:0x1f6,_0x5cbe66:0xee,_0x4abfa4:0xe2,_0x49eb3c:0xdf,_0x473068:0x22a,_0x298ef3:0x226,_0x304e67:0xcb,_0x16cd82:0xf5,_0x446ffa:0x1ea,_0x4fc506:0xbf,_0x1ea5a5:0x106,_0x4c1ea5:0xe3,_0x145d31:0xe4},_0xd8a7b6={_0x1e9080:0x9b},_0x50b1b4={_0x3bfbc0:0x154};function _0x12195a(_0xcecbfe,_0x4de4a6,_0x4baa1e,_0x3243e1){return _0x2cd0ef(_0xcecbfe-0xb,_0x4baa1e,_0xcecbfe-0x33a,_0x3243e1-_0x50b1b4._0x3bfbc0);}function _0x1c094d(_0x51f455,_0x19ba9f,_0x103311,_0x31cbd7){return _0x2cd0ef(_0x51f455-0x9e,_0x19ba9f,_0x103311-0x37,_0x31cbd7-_0xd8a7b6._0x1e9080);}try{this[_0x1c094d(-_0x4dfbc1._0x5b41bc,-_0x4dfbc1._0x2b367f,-_0x4dfbc1._0x283da8,-0x107)]&&(this[_0x1c094d(-0x127,-0xe8,-_0x4dfbc1._0x283da8,-_0x4dfbc1._0x56df14)][_0x12195a(0x1ff,_0x4dfbc1._0x5ce076,_0x4dfbc1._0xf8c203,_0x4dfbc1._0x132c30)](),this['writeStream']=null);let _0x1ef9e5=this['logFilePath'],_0x45f6da=_0x1ef9e5+'.'+this['maxFiles'];_0x3f37d3[_0x12195a(0x223,0x21b,0x212,0x212)](_0x45f6da)&&_0x3f37d3[_0x1c094d(-_0x4dfbc1._0x5cbe66,-_0x4dfbc1._0x4abfa4,-_0x4dfbc1._0x49eb3c,-0x103)](_0x45f6da);for(let _0x6801c4=this[_0x12195a(_0x4dfbc1._0x473068,0x236,_0x4dfbc1._0x298ef3,0x213)]-0x1;_0x6801c4>=0x1;_0x6801c4--){let _0x3f6850=_0x1ef9e5+'.'+_0x6801c4,_0x3afae3=_0x1ef9e5+'.'+(_0x6801c4+0x1);_0x3f37d3[_0x1c094d(-_0x4dfbc1._0x304e67,-_0x4dfbc1._0x16cd82,-0xe0,-0xff)](_0x3f6850)&&_0x3f37d3['renameSync'](_0x3f6850,_0x3afae3);}_0x3f37d3['existsSync'](_0x1ef9e5)&&_0x3f37d3[_0x12195a(0x201,0x1f9,_0x4dfbc1._0x446ffa,0x1fc)](_0x1ef9e5,_0x1ef9e5+'.1');}catch(_0x5c3ed7){console[_0x1c094d(-_0x4dfbc1._0x4fc506,-_0x4dfbc1._0x1ea5a5,-_0x4dfbc1._0x4c1ea5,-_0x4dfbc1._0x145d31)]('Error\x20rotating\x20log\x20files:',_0x5c3ed7);}}[_0x5408d5(-0xb6,-0xc7,-0x92,-0xa3)](_0xd60c4e,_0x559910,_0x2988be){const _0x370e8d={_0x21f65c:0x2c3,_0x177bda:0x2ba,_0x282467:0x28c,_0x270f14:0x273,_0x3b62df:0x2a7,_0x216dba:0x2a0,_0x1a630c:0x29e,_0x39858d:0x2c7,_0x3065aa:0x29d,_0x4f9faa:0x2c0,_0x1ff668:0x2a2,_0x588282:0x276,_0x2ec9c0:0x292,_0xdf849c:0x2c3,_0x2d4b8a:0x2eb,_0x9ed56b:0x2d5,_0x1754b7:0x2e8},_0x53b80b={_0x1d1aa4:0x1f3},_0x524c03={_0x2353af:0x4d};function _0x4a7dc0(_0x4cfaec,_0x35c015,_0x4fd69a,_0x414cbe){return _0x2cd0ef(_0x4cfaec-0x40,_0x4fd69a,_0x35c015- -0x198,_0x414cbe-_0x524c03._0x2353af);}let _0x255c1e=[];if(this['includeTimestamp']&&_0x255c1e[_0x4a7dc0(-0x2e0,-_0x370e8d._0x21f65c,-_0x370e8d._0x177bda,-0x2b4)]('['+new Date()['toISOString']()+']'),_0x255c1e[_0x467401(-0x280,-0x28d,-0x2a0,-0x2af)]('['+_0xd60c4e[_0x467401(-_0x370e8d._0x282467,-0x276,-0x29a,-_0x370e8d._0x270f14)]()+']'),_0x255c1e[_0x467401(-_0x370e8d._0x3b62df,-0x2c7,-_0x370e8d._0x216dba,-_0x370e8d._0x1a630c)](_0x559910),_0x2988be!==void 0x0)try{_0x255c1e[_0x467401(-_0x370e8d._0x39858d,-_0x370e8d._0x3065aa,-0x2a0,-_0x370e8d._0x4f9faa)](JSON[_0x467401(-_0x370e8d._0x1ff668,-_0x370e8d._0x588282,-_0x370e8d._0x2ec9c0,-0x2ac)](_0x2988be,null,0x2));}catch{_0x255c1e[_0x4a7dc0(-0x2e7,-_0x370e8d._0xdf849c,-0x2c3,-0x2a2)](String(_0x2988be));}function _0x467401(_0x290bda,_0x3e9fd2,_0x44380f,_0x4795a0){return _0x5408d5(_0x290bda-_0x53b80b._0x1d1aa4,_0x3e9fd2-0x6b,_0x3e9fd2,_0x44380f- -0x21f);}return _0x255c1e[_0x4a7dc0(-_0x370e8d._0x2d4b8a,-_0x370e8d._0x9ed56b,-_0x370e8d._0x1754b7,-0x2e3)]('\x20');}[_0x5408d5(-0x62,-0x57,-0x9d,-0x79)](_0x221531){return $[_0x221531]>=$[this['minLevel']];}[_0x2cd0ef(-0x12a,-0x122,-0x124,-0x137)](_0x40045f,_0x4faab5,_0xf4c23b){const _0x22ca24={_0x11cebf:0x1e4,_0x3b7bca:0x1f0,_0xdcec3b:0x21b,_0x1df3b6:0x208,_0x3539fd:0x1bd,_0x5bb041:0x1f5,_0x26f364:0x1cf,_0x157e93:0x1dc,_0xc6f87a:0x221,_0x46c5a7:0x21f,_0x40dbe9:0x1fd,_0x13b5d3:0x20b,_0x3772ff:0x22e,_0x5aeb0e:0x222,_0x1f9ab4:0x231,_0x1a1549:0x206,_0x230a1a:0x1e6,_0xaed853:0x235},_0x8982f={_0x468570:0x27,_0x2e41e5:0x1a0},_0x2a9087={_0x1a5704:0x5a};function _0x18217b(_0x5afae3,_0x182cb2,_0x20425a,_0x2f77e0){return _0x2cd0ef(_0x5afae3-0xc,_0x5afae3,_0x182cb2-0x33c,_0x2f77e0-_0x2a9087._0x1a5704);}if(!this[_0x137aae(-0x1bd,-_0x22ca24._0x11cebf,-_0x22ca24._0x3b7bca,-0x1de)](_0x40045f))return;let _0x144749=this[_0x137aae(-0x20f,-_0x22ca24._0xdcec3b,-0x21d,-_0x22ca24._0x1df3b6)](_0x40045f,_0x4faab5,_0xf4c23b);this[_0x137aae(-_0x22ca24._0x3539fd,-_0x22ca24._0x5bb041,-0x1e3,-0x1e7)]();function _0x137aae(_0x10167,_0x598878,_0x18b623,_0xfc2dd3){return _0x5408d5(_0x10167-_0x8982f._0x468570,_0x598878-_0x8982f._0x2e41e5,_0x598878,_0xfc2dd3- -0x165);}try{this[_0x137aae(-0x1e5,-_0x22ca24._0x26f364,-0x1c1,-_0x22ca24._0x157e93)]()[_0x18217b(_0x22ca24._0xc6f87a,0x218,_0x22ca24._0x46c5a7,0x233)](_0x144749+'\x0a');}catch(_0x3ccf95){console['error']('Error\x20writing\x20to\x20log\x20file:',_0x3ccf95);}this[_0x137aae(-_0x22ca24._0x40dbe9,-_0x22ca24._0x13b5d3,-0x1fc,-0x214)]&&(_0x40045f===_0x18217b(_0x22ca24._0x3772ff,_0x22ca24._0x5aeb0e,0x22f,0x233)?console[_0x18217b(_0x22ca24._0x1f9ab4,_0x22ca24._0x5aeb0e,0x203,_0x22ca24._0x1a1549)]:_0x40045f===_0x137aae(-0x21b,-0x1ef,-_0x22ca24._0x230a1a,-0x1fc)?console['warn']:console[_0x137aae(-0x1e9,-0x213,-_0x22ca24._0xaed853,-0x212)])(_0x144749);}[_0x5408d5(-0x6f,-0x84,-0xb6,-0x98)](_0x5215d9,_0x14eaf1){const _0x423829={_0x50493f:0x25e,_0x47e594:0x26f,_0x1a47cf:0x255,_0x131d01:0xc3},_0x21f791={_0x3fbd02:0x379,_0x3bedbc:0x1b8},_0x107ddd={_0xfdf693:0xf2,_0x1ac4a3:0xe2};function _0x300143(_0x554220,_0x34bb3d,_0x3570df,_0x51f0ca){return _0x2cd0ef(_0x554220-_0x107ddd._0xfdf693,_0x51f0ca,_0x34bb3d-0x222,_0x51f0ca-_0x107ddd._0x1ac4a3);}function _0x538f1f(_0x5c612d,_0x24632d,_0x137710,_0xd4df2d){return _0x2cd0ef(_0x5c612d-0xd4,_0x24632d,_0xd4df2d-_0x21f791._0x3fbd02,_0xd4df2d-_0x21f791._0x3bedbc);}this[_0x538f1f(_0x423829._0x50493f,_0x423829._0x47e594,0x27d,_0x423829._0x1a47cf)](_0x300143(0xe5,0xe0,0xcb,_0x423829._0x131d01),_0x5215d9,_0x14eaf1);}[_0x5408d5(-0xa9,-0xa6,-0x64,-0x84)](_0x1cdcf1,_0x3db938){const _0x1308f3={_0x4d18d6:0x130,_0x28add8:0x11b,_0x9ab136:0x13a,_0x44f971:0x13e,_0x48f7f7:0x11d},_0x2a728c={_0x5b5e68:0xc},_0x178d15={_0x539a52:0x9e};function _0x3970cc(_0x2de912,_0x1d4b0d,_0x433896,_0x207b8f){return _0x5408d5(_0x2de912-_0x178d15._0x539a52,_0x1d4b0d-0x1ac,_0x433896,_0x207b8f- -0x30);}function _0x3317df(_0x1787a9,_0x30515a,_0x5ad418,_0x597eb6){return _0x2cd0ef(_0x1787a9-0xbc,_0x30515a,_0x1787a9- -_0x2a728c._0x5b5e68,_0x597eb6-0x47);}this[_0x3317df(-_0x1308f3._0x4d18d6,-0x156,-_0x1308f3._0x28add8,-0x151)](_0x3317df(-_0x1308f3._0x9ab136,-_0x1308f3._0x44f971,-_0x1308f3._0x48f7f7,-0x147),_0x1cdcf1,_0x3db938);}['warn'](_0x12ee42,_0x48bcae){const _0x190170={_0x459984:0x172,_0x5401ac:0x120,_0x1ef323:0x131,_0x1827ff:0x163,_0x3eceb6:0x167},_0x3b884d={_0x3522f6:0x148},_0x24a078={_0x237777:0x8a};function _0x2fb3fe(_0x33c815,_0x30e209,_0x279d65,_0x19bbe5){return _0x2cd0ef(_0x33c815-0x2d,_0x19bbe5,_0x30e209-0x326,_0x19bbe5-_0x24a078._0x237777);}function _0x99cc38(_0xa394cd,_0x1bea29,_0x5628aa,_0x512357){return _0x2cd0ef(_0xa394cd-0x8d,_0xa394cd,_0x5628aa- -0x26,_0x512357-_0x3b884d._0x3522f6);}this[_0x99cc38(-_0x190170._0x459984,-_0x190170._0x5401ac,-0x14a,-_0x190170._0x1ef323)](_0x99cc38(-0x17a,-_0x190170._0x1827ff,-_0x190170._0x3eceb6,-0x191),_0x12ee42,_0x48bcae);}[_0x5408d5(-0x6c,-0x96,-0x65,-0x70)](_0x443bd8,_0x1d9ab4){const _0xb3857={_0x40519a:0x27a,_0x2e4149:0x25a,_0x36d68e:0x28a};function _0x4fb0e3(_0xfd5703,_0x130ed3,_0x24dc6f,_0x1f8e18){return _0x5408d5(_0xfd5703-0x63,_0x130ed3-0x61,_0x130ed3,_0xfd5703-0x2f4);}this[_0x4fb0e3(_0xb3857._0x40519a,_0xb3857._0x2e4149,0x261,_0xb3857._0x36d68e)]('error',_0x443bd8,_0x1d9ab4);}['close'](){const _0x5bf321={_0x3b6b92:0x366,_0x509ca0:0x365,_0x2d43f4:0x349,_0x5818a4:0x37f,_0x26397d:0x38e,_0x1964db:0xa9,_0x42b911:0xd1},_0x22be88={_0x32900a:0x1d6,_0x2b4879:0xe};function _0x23c9bf(_0x442ce3,_0x5ec63d,_0x410ffd,_0x12b7c0){return _0x2cd0ef(_0x442ce3-0xdf,_0x410ffd,_0x5ec63d-0x4a8,_0x12b7c0-0x5a);}function _0xd0845a(_0x12be62,_0x5cdc0c,_0x27abcf,_0x3efb7e){return _0x2cd0ef(_0x12be62-_0x22be88._0x32900a,_0x12be62,_0x3efb7e-0x214,_0x3efb7e-_0x22be88._0x2b4879);}this[_0x23c9bf(_0x5bf321._0x3b6b92,_0x5bf321._0x509ca0,0x358,_0x5bf321._0x2d43f4)]&&(this['writeStream'][_0x23c9bf(_0x5bf321._0x5818a4,0x36d,0x361,_0x5bf321._0x26397d)](),this[_0xd0845a(0xba,0xb7,_0x5bf321._0x1964db,_0x5bf321._0x42b911)]=null);}[_0x5408d5(-0x4e,-0x4c,-0x6c,-0x76)](){const _0x518c43={_0x2d721e:0x14f,_0x140e6f:0x13f},_0x5cecee={_0x25c8e5:0xad};function _0x3c4020(_0x523edf,_0x2d09d8,_0x32b19d,_0x215c17){return _0x5408d5(_0x523edf-0x171,_0x2d09d8-0x45,_0x215c17,_0x32b19d- -_0x5cecee._0x25c8e5);}return this[_0x3c4020(-_0x518c43._0x2d721e,-0x11d,-0x125,-_0x518c43._0x140e6f)];}[_0x2cd0ef(-0xfa,-0xff,-0x113,-0x12d)](){const _0x201813={_0x15a343:0x186,_0x59c497:0x1a1,_0x39eba0:0x17a,_0x2cc361:0x1aa,_0x13eff8:0x223,_0x377c1f:0x226,_0x1b2c96:0x1f0,_0x10b26e:0x21a,_0x327972:0x18e,_0x108ba3:0x209,_0x36e091:0x21e,_0x5d0592:0x23c,_0x24f5ac:0x21b,_0xae0f20:0x164,_0x15a3e7:0x170,_0x493ced:0x22a,_0x2ced8d:0x225},_0x47ac00={_0x4c5e74:0xcb},_0x4d951d={_0x5eabae:0xb4,_0x12fde4:0x136};function _0x166596(_0xcf3a74,_0x532f00,_0x1bc731,_0x56fa0a){return _0x2cd0ef(_0xcf3a74-_0x4d951d._0x5eabae,_0xcf3a74,_0x532f00- -0x4e,_0x56fa0a-_0x4d951d._0x12fde4);}function _0x3ffa6d(_0x3769ea,_0x411048,_0x1596b3,_0x13b481){return _0x2cd0ef(_0x3769ea-0x1d3,_0x3769ea,_0x13b481- -0x104,_0x13b481-_0x47ac00._0x4c5e74);}try{this[_0x166596(-_0x201813._0x15a343,-_0x201813._0x59c497,-_0x201813._0x39eba0,-_0x201813._0x2cc361)](),_0x3f37d3['existsSync'](this[_0x3ffa6d(-0x24b,-_0x201813._0x13eff8,-0x211,-_0x201813._0x377c1f)])&&_0x3f37d3[_0x3ffa6d(-0x224,-_0x201813._0x1b2c96,-0x217,-_0x201813._0x10b26e)](this[_0x166596(-_0x201813._0x327972,-0x170,-0x17f,-0x157)]);for(let _0x214052=0x1;_0x214052<=this[_0x166596(-0x183,-0x15e,-0x160,-0x17b)];_0x214052++){let _0x2d533b=this['logFilePath']+'.'+_0x214052;_0x3f37d3[_0x3ffa6d(-_0x201813._0x108ba3,-_0x201813._0x36e091,-_0x201813._0x5d0592,-_0x201813._0x24f5ac)](_0x2d533b)&&_0x3f37d3[_0x166596(-0x156,-_0x201813._0xae0f20,-_0x201813._0x15a3e7,-0x147)](_0x2d533b);}}catch(_0x4cb012){console[_0x3ffa6d(-_0x201813._0x493ced,-0x206,-_0x201813._0x2ced8d,-_0x201813._0x36e091)]('Error\x20clearing\x20log\x20files:',_0x4cb012);}}},w=null;function x(_0x3deb90){return w||(w=new F({'logDir':'.','minLevel':'error',..._0x3deb90})),w;}var Y=x();function p(_0x14a896){const _0x2129a6={_0xcfdee7:0x173,_0x547865:0x175,_0x13d308:0x1aa,_0x4907df:0x16e,_0x4ed170:0x186,_0x10c301:0x162,_0x3503c8:0x16a,_0x14c992:0x120,_0x38d5a7:0x1a6,_0x4664c3:0x161,_0x2ce4d7:0x17b,_0x3b6a72:0x166},_0x2a58e9={_0xde16cb:0x1a7,_0x1d778d:0xdf};function _0x1b998a(_0x51d487,_0x209e45,_0x2bbaef,_0x9608cc){return _0x2cd0ef(_0x51d487-0x18e,_0x9608cc,_0x51d487-0x296,_0x9608cc-0x16f);}let _0x12f4a2=_0x49468f['getInstance'](),_0x370613=_0x12f4a2['getProfileManager']();if(!_0x370613)return _0x4bede6[_0x5157a8(-0x170,-_0x2129a6._0xcfdee7,-_0x2129a6._0x547865,-0x172)](_0x1d2cbc['homedir'](),_0x5157a8(-0x1ac,-_0x2129a6._0x13d308,-_0x2129a6._0x4907df,-_0x2129a6._0x4ed170),_0x5157a8(-_0x2129a6._0x10c301,-_0x2129a6._0x3503c8,-_0x2129a6._0x14c992,-0x146));function _0x5157a8(_0x38996e,_0x10e6cb,_0x4f9bcb,_0x1960df){return _0x5408d5(_0x38996e-_0x2a58e9._0xde16cb,_0x10e6cb-0x1ca,_0x38996e,_0x1960df- -_0x2a58e9._0x1d778d);}let _0x27052c=_0x14a896??_0x12f4a2[_0x5157a8(-0x18e,-_0x2129a6._0x38d5a7,-_0x2129a6._0x4664c3,-_0x2129a6._0x2ce4d7)]();return _0x370613[_0x5157a8(-_0x2129a6._0x3b6a72,-0x183,-0x190,-0x17d)](_0x27052c);}async function N(_0x4d37e3){const _0x10a289={_0x5c054c:0x37c,_0x38f0b6:0x394,_0x2a4871:0x14,_0x369ed9:0x12,_0x4abca6:0x19,_0x1b55db:0x1,_0x1a9d59:0x370,_0xc582f:0x365,_0x452c24:0x29,_0x4fc5b8:0x1b},_0x2c0cf3={_0x4de4be:0x19d,_0x2263df:0xbd},_0x3ec6f1={_0x11cca9:0x144};function _0x2637ef(_0x12ec04,_0x3d7a4,_0x397afc,_0x312310){return _0x2cd0ef(_0x12ec04-0x21,_0x397afc,_0x3d7a4-_0x3ec6f1._0x11cca9,_0x312310-0x17b);}function _0x26b13d(_0x6dd757,_0x5ed893,_0x36adfb,_0x595d6c){return _0x2cd0ef(_0x6dd757-_0x2c0cf3._0x4de4be,_0x36adfb,_0x595d6c-0x4ee,_0x595d6c-_0x2c0cf3._0x2263df);}try{let _0x2187a7=await _0x466ba1[_0x26b13d(0x37b,_0x10a289._0x5c054c,0x372,_0x10a289._0x38f0b6)](_0x4d37e3,_0x2637ef(-_0x10a289._0x2a4871,-_0x10a289._0x369ed9,_0x10a289._0x4abca6,-_0x10a289._0x1b55db));if(!_0x2187a7||!_0x2187a7['trim']())return null;let _0x2a0282=JSON[_0x26b13d(0x378,_0x10a289._0x1a9d59,_0x10a289._0xc582f,0x38d)](_0x2187a7);return _0x2a0282??null;}catch(_0x23e29e){if(_0x23e29e?.['code']===_0x2637ef(-_0x10a289._0x452c24,-_0x10a289._0x4fc5b8,-0x32,-0x9))return null;throw _0x23e29e;}}var E=new Map(),H=0x2710,D=new Map(),U=x();function G(_0x380275,_0x41e042){const _0x993767={_0x9e865f:0x2bf,_0x308984:0x2d6},_0x1e8c9c={_0x5a25d2:0x1a9,_0x4d3f7a:0x1a2};function _0x47532a(_0x5aa8de,_0x2b7071,_0x2d6a48,_0x575073){return _0x2cd0ef(_0x5aa8de-0x1e8,_0x5aa8de,_0x2b7071- -_0x1e8c9c._0x5a25d2,_0x575073-_0x1e8c9c._0x4d3f7a);}return(_0x41e042??_0x5070a8)+'_'+(_0x380275??_0x47532a(-_0x993767._0x9e865f,-_0x993767._0x308984,-0x2d8,-0x2b2));}var V=async(_0x4ca466,_0x2f0047)=>{const _0x4451c8={_0x13a012:0xd0,_0x553c6f:0xbe,_0x122f9e:0xfa,_0x5332c2:0xf7,_0x632ef5:0xb3,_0x16960c:0xa2,_0x24e039:0x9b,_0x2f2a32:0xbf},_0x489d87={_0xdc92d4:0xd,_0x49c44f:0x23,_0x3cab81:0x2fc,_0x49e5fe:0x2da,_0x333c3c:0x2c,_0x2a933f:0x37,_0x5b29e6:0x3,_0x3408cc:0x6,_0xc83892:0x14,_0xc109e3:0x9,_0x41f289:0xb,_0x3b0c17:0x2d0,_0xfc9038:0x302,_0x499899:0x16,_0x34d3fc:0xe,_0x2c2d8f:0x10,_0x3fa392:0x2e7,_0x228506:0x2d1,_0x2c5bc6:0x29,_0x1e4921:0xe,_0x7a85e3:0x3f,_0xcb765e:0x1c,_0x5c4e8f:0x2e5,_0x2c6b52:0x2ff,_0x36e668:0x2e6,_0x5e5882:0x1a,_0x3c9dbe:0xa,_0x92643:0x31,_0x2397c8:0x316,_0x42ba41:0x29,_0x41a0c7:0x7,_0x30e79a:0x2fa,_0x21699b:0x26,_0x4e3b6c:0x32,_0x44f707:0x10,_0x40d8aa:0x32,_0x16d1d6:0x1c,_0x2a3da2:0x2d5,_0x138751:0x21,_0x2eb280:0x2f4,_0x2b628f:0x31a},_0x3d0032={_0x2a368b:0x104},_0x4d3e30={_0x1a6122:0x1d1,_0x3a3a83:0x23,_0x26015b:0x25};let _0xd934af=G(_0x4ca466,_0x2f0047),_0x4aa0a1=E['get'](_0xd934af);if(_0x4aa0a1&&Date[_0xd60a40(_0x4451c8._0x13a012,0xb9,_0x4451c8._0x553c6f,0xbd)]()-_0x4aa0a1[_0xd60a40(0xe4,0x10d,_0x4451c8._0x122f9e,_0x4451c8._0x5332c2)]<H)return U[_0x31ac2e(-0xa9,-0xcf,-0xa7,-0xa0)]('Cache\x20hit:',_0xd934af),_0x4aa0a1[_0xd60a40(_0x4451c8._0x632ef5,0x9d,_0x4451c8._0x16960c,_0x4451c8._0x24e039)];function _0x31ac2e(_0x3f6777,_0x244e39,_0x194fe5,_0x14db68){return _0x5408d5(_0x3f6777-_0x4d3e30._0x1a6122,_0x244e39-_0x4d3e30._0x3a3a83,_0x194fe5,_0x3f6777- -_0x4d3e30._0x26015b);}let _0x4f80fa=D[_0x31ac2e(-0xaa,-_0x4451c8._0x2f2a32,-0xd3,-_0x4451c8._0x13a012)](_0xd934af);function _0xd60a40(_0x241db4,_0x4e0246,_0x47b41b,_0xc4e720){return _0x5408d5(_0x241db4-_0x3d0032._0x2a368b,_0x4e0246-0x91,_0x4e0246,_0x241db4-0x159);}if(_0x4f80fa)return _0x4f80fa;let _0x1c8096=((async()=>{const _0x4eab42={_0x5d2440:0xfd},_0x26fc31={_0x29c32c:0xd7};function _0x215a8e(_0x55b113,_0x3acef6,_0x45dfe5,_0x8731f){return _0xd60a40(_0x8731f- -0x3b1,_0x3acef6,_0x45dfe5-_0x26fc31._0x29c32c,_0x8731f-0x189);}function _0x5167a4(_0x38fb98,_0x18e36c,_0x12d717,_0x462e44){return _0x31ac2e(_0x18e36c-0xad,_0x18e36c-0x174,_0x38fb98,_0x462e44-_0x4eab42._0x5d2440);}try{let _0x5dc0fa=p(_0x2f0047);if(!_0x51314f[_0x5167a4(-0x1,0x1b,-_0x489d87._0xdc92d4,_0x489d87._0x49c44f)](_0x5dc0fa))return[];let _0xda246a=(await _0x466ba1[_0x215a8e(-_0x489d87._0x3cab81,-_0x489d87._0x49e5fe,-0x2e2,-0x2df)](_0x5dc0fa,{'withFileTypes':!0x0}))['filter'](_0x263050=>_0x263050[_0x5167a4(0x15,-0x13,-0x34,-0x3c)]())[_0x5167a4(-0x1c,-_0x489d87._0x333c3c,-0x6,-_0x489d87._0x2a933f)](_0x499470=>_0x499470[_0x5167a4(-0xa,0x1d,-0xa,0xd)]);_0xda246a[_0x5167a4(-_0x489d87._0x5b29e6,-0x5,0x24,-_0x489d87._0x3408cc)]((_0x2e8953,_0x10cf02)=>parseInt(_0x10cf02,0xa)-parseInt(_0x2e8953,0xa));let _0x6649b=[];for(let _0x3b2646 of _0xda246a){if(_0x4ca466&&_0x6649b[_0x5167a4(-_0x489d87._0xc83892,-0x15,-0x3d,_0x489d87._0xc109e3)]>=_0x4ca466)break;let _0x1e54c7=_0x4bede6[_0x5167a4(-0x2b,-_0x489d87._0x41f289,_0x489d87._0xc83892,0x4)](_0x5dc0fa,_0x3b2646,'history.json');try{let _0x2485a0=await N(_0x1e54c7);if(!_0x2485a0)continue;let _0x3a9e7c=_0x2485a0?.[_0x215a8e(-_0x489d87._0x3b0c17,-_0x489d87._0xfc9038,-0x2df,-0x2ec)]??[];if(_0x3a9e7c[_0x5167a4(-0x10,-0x15,-_0x489d87._0x5b29e6,-0x31)]===0x0)continue;let _0x436cce=_0x5167a4(0x1,_0x489d87._0x499899,-_0x489d87._0x34d3fc,_0x489d87._0x2c2d8f);for(let _0x43dd9a=_0x3a9e7c[_0x215a8e(-_0x489d87._0x3fa392,-0x2d6,-_0x489d87._0x228506,-0x2f5)]-0x1;_0x43dd9a>=0x0;_0x43dd9a--){let _0x36f83a=_0x3a9e7c[_0x43dd9a];if(!_0x36f83a||typeof _0x36f83a!=_0x5167a4(-0x31,-_0x489d87._0x2c5bc6,-_0x489d87._0x1e4921,-_0x489d87._0x7a85e3))continue;let _0x5bc3cf=_0x36f83a;if(_0x5bc3cf[_0x5167a4(0xd,-_0x489d87._0xcb765e,-0xf,-0x41)]===_0x215a8e(-_0x489d87._0x5c4e8f,-_0x489d87._0x2c6b52,-_0x489d87._0x36e668,-0x2e0)){let _0x2ca1c7=_0x5bc3cf[_0x5167a4(0x6,-0xd,-0x33,-0x2e)];_0x436cce=typeof _0x2ca1c7=='string'?_0x2ca1c7:'';break;}}let _0x15247a=_0x2485a0?.[_0x5167a4(0x42,_0x489d87._0x5e5882,_0x489d87._0x3c9dbe,_0x489d87._0x92643)],_0x541250=_0x15247a&&_0x15247a[_0x215a8e(-0x30d,-_0x489d87._0x2397c8,-0x2e8,-0x2f5)]>0x0?_0x15247a[0x0]:null,_0xfb9d19=_0x541250&&typeof _0x541250==_0x5167a4(-0x3f,-_0x489d87._0x42ba41,-_0x489d87._0x41a0c7,-0x20)&&_0x5167a4(-0x2e,-0x2e,-0x16,-0x4b)in _0x541250?_0x541250[_0x215a8e(-_0x489d87._0x30e79a,-0x330,-0x2e6,-0x30e)]:void 0x0,_0x567f41=new Date(parseInt(_0x3b2646,0xa))[_0x5167a4(_0x489d87._0x21699b,0x19,_0x489d87._0x4e3b6c,_0x489d87._0x44f707)]();_0x6649b['push']({'sessionId':_0x3b2646,'timestamp':_0x567f41,'lastMessage':_0x436cce,'messageCount':_0x3a9e7c[_0x5167a4(-0xf,-0x15,-_0x489d87._0x40d8aa,-_0x489d87._0x16d1d6)],'topic':_0xfb9d19});}catch{}}return E[_0x215a8e(-0x2d0,-0x2b8,-0x2c9,-_0x489d87._0x2a3da2)](_0xd934af,{'timestamp':Date[_0x5167a4(-0x8,-0x1,_0x489d87._0x138751,0xb)](),'data':_0x6649b}),_0x6649b;}finally{D[_0x215a8e(-0x2f7,-_0x489d87._0x2eb280,-_0x489d87._0x2b628f,-0x2f7)](_0xd934af);}})());return D['set'](_0xd934af,_0x1c8096),_0x1c8096;},q=async(_0x42f3a4,_0x488909)=>{const _0x51ada9={_0x3cf04c:0x268},_0x3723be={_0x3c8398:0x14b};let _0x41dc46=_0x42f3a4??String(Date['now']()),_0x3a483a=p(_0x488909),_0x57e6df=_0x4bede6[_0x5e9c31(-0x288,-0x262,-_0x51ada9._0x3cf04c,-0x282)](_0x3a483a,_0x41dc46);function _0x5e9c31(_0x5fb4bf,_0x2fb218,_0x2e3967,_0x45830c){return _0x2cd0ef(_0x5fb4bf-0xd0,_0x2e3967,_0x5fb4bf- -_0x3723be._0x3c8398,_0x45830c-0x7c);}return{'sessionId':_0x41dc46,'sessionDir':_0x57e6df};},O=async _0x2879e1=>{const _0x3dc030={_0x3db90f:0x1a1,_0x1c1ed1:0x1b9,_0x5bb502:0x1df,_0x9a3a08:0x2e1,_0x135e18:0x301,_0x50e4ab:0x2f8,_0x460bb3:0x315,_0x576e54:0x1c5,_0x1a1755:0x1bb,_0x5706aa:0x2ca,_0x430123:0x2e9,_0x4f016c:0x309,_0x534715:0x2f1,_0x5a243e:0x1b1,_0x5672a7:0x1ce,_0x2d50ff:0x1ba,_0x30a7b4:0x1bd,_0x18bec8:0x1a2,_0x5cf99f:0x178},_0x43d86d={_0x4bd271:0x32,_0x31586d:0x9a},_0x2ca3f2={_0x6e396f:0x78,_0x4e4c94:0x23f};function _0xa33857(_0x4c83e3,_0x4ae4d5,_0x406260,_0x58a127){return _0x5408d5(_0x4c83e3-0x184,_0x4ae4d5-_0x2ca3f2._0x6e396f,_0x406260,_0x4ae4d5-_0x2ca3f2._0x4e4c94);}function _0x3831dd(_0x40c9de,_0x3c9bfa,_0x250e0e,_0x2e3d27){return _0x5408d5(_0x40c9de-_0x43d86d._0x4bd271,_0x3c9bfa-_0x43d86d._0x31586d,_0x3c9bfa,_0x250e0e- -0x24d);}try{let _0x3d9341=await N(_0x2879e1);if(!_0x3d9341)return{'kind':_0xa33857(0x18e,0x194,0x1a9,0x18f),'reason':_0xa33857(_0x3dc030._0x3db90f,_0x3dc030._0x1c1ed1,_0x3dc030._0x5bb502,0x1ad)};let _0x3f44dc=_0x3d9341[_0x3831dd(-0x2e9,-0x307,-_0x3dc030._0x9a3a08,-0x2e6)]||[];if(_0x3f44dc['length']===0x0)return{'kind':_0x3831dd(-0x31a,-_0x3dc030._0x135e18,-_0x3dc030._0x50e4ab,-_0x3dc030._0x460bb3),'reason':'no_messages'};let {processMessageToUILines:_0x4ac9a4}=await import(_0xa33857(_0x3dc030._0x576e54,0x19f,_0x3dc030._0x1a1755,0x176)),_0x5736c6=[];for(let _0x15fc94 of _0x3f44dc)_0x5736c6['push'](..._0x4ac9a4(_0x15fc94));let _0x2dbd9c=null;for(let _0x25f094=_0x3f44dc[_0x3831dd(-0x301,-_0x3dc030._0x5706aa,-0x2ea,-_0x3dc030._0x430123)]-0x1;_0x25f094>=0x0;_0x25f094--)if(_0x3f44dc[_0x25f094][_0x3831dd(-_0x3dc030._0x4f016c,-0x2d4,-_0x3dc030._0x534715,-0x30e)]==='assistant'){_0x2dbd9c={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0xa33857(_0x3dc030._0x5a243e,_0x3dc030._0x5672a7,_0x3dc030._0x2d50ff,0x1f1),'lines':_0x5736c6,'metadata':_0x2dbd9c,'cliMessages':_0x3f44dc,'count':_0x3f44dc[_0xa33857(_0x3dc030._0x30a7b4,_0x3dc030._0x18bec8,0x192,_0x3dc030._0x5cf99f)]};}catch{return{'kind':'empty','reason':'not_found'};}},B=async(_0x21774f,_0x2233dd)=>{const _0x64ac3e={_0x5d3762:0x354,_0x3de85a:0x315,_0x179123:0x32b},_0xafe686={_0x4accb2:0xbe,_0x197052:0x69},_0x24c731={_0x27666f:0x197};function _0x48fe47(_0x1c42c4,_0x231d50,_0x5b75f9,_0x5941db){return _0x5408d5(_0x1c42c4-0x167,_0x231d50-_0x24c731._0x27666f,_0x231d50,_0x5941db-0x3d1);}function _0x2445ea(_0x536f59,_0x5465a2,_0x1a5d84,_0x49904e){return _0x2cd0ef(_0x536f59-_0xafe686._0x4accb2,_0x5465a2,_0x49904e-0xb8,_0x49904e-_0xafe686._0x197052);}let _0x5a01fc=p(_0x2233dd),_0x5dd607=_0x4bede6[_0x48fe47(0x327,0x319,0x348,0x33e)](_0x5a01fc,_0x21774f,_0x48fe47(_0x64ac3e._0x5d3762,_0x64ac3e._0x3de85a,_0x64ac3e._0x179123,0x32f));return O(_0x5dd607);},ie=(_0x101078,_0x4b9cde)=>_0x4bede6['join'](p(_0x4b9cde),_0x101078),ne=()=>{let [_0xda2d5c,_0xc68406]=_0x1128e9([]);return{'availableSessions':_0xda2d5c,'setAvailableSessions':_0xc68406,'scanAvailableSessions':V,'loadSessionHistory':B,'loadHistoryFromFile':O,'createNewSession':q};};function _0x288d(){const _0x4bbe0c=['mJKYogvOBKrytG','m3bvsgrSBa','Bg9NrMLSzu5HBwu','CgfYC2u','Dg9WAwm','ru5pru5u','BwfW','zw5ZDxjLtg9NrgLYzwn0B3j5','CM90yxrLtg9NrMLSzxm','B2jQzwn0','CMvHzezPBgu','Bg9Nvg9dB25ZB2XL','mti3mJG3nK1pufvcta','Bg9N','DxrMltG','zw1WDhK','y3jLyxrLv3jPDgvtDhjLyw0','y2XVC2u','mteZmJiZogzKBhfyuq','lM51DMLUlwnSAq','zgf0yq','Bg9NCW','CM9Szq','zM9YBwf0twvZC2fNzq','AgLZDg9YEs5QC29U','C3rHDfn5BMm','lI9TzxnZywDLuhjVy2vZC29YltzmwLPeq0jylMPZ','zgvSzxrL','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','BgvUz3rO','z2v0q3vYCMvUDfbYB2zPBgu','AxneAxjLy3rVCNK','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','D3jPDgvtDhjLyw0','zgvIDwC','D2fYBG','C2L6zq','y29UDgvUDa','y2XP','AM9PBG','mtCYotuXmKLwq2PxAa','zw5K','mtyZmJq0mhHqzuzhAa','CMvUyw1Lu3LUyW','Aw5JBhvKzvrPBwvZDgfTCa','C29YDa','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','BwLUtgv2zwW','ndm4otu2mxniBuPoAW','BM93','DxnLCG','CMvHzgrPCG','BM90x2zVDw5K','z2v0','Aw5MBW','ywXS','y2HLy2TbBMrsB3rHDgu','ChvZAa','zgvZDhjVEwvK','Bwf4rMLSzvnPEMu','lMXVzW','C2v0','mJeXmZnoD1fMDue','Dg9vChbLCKnHC2u','D3jPDgu','C2HVDwXKtg9N','Bg9NrMLSzvbHDgG','z2v0v3jPDgvtDhjLyw0','z2v0tg9NrMLSzvbHDgG','DgLTzxn0yw1W','Bg9NrgLY','C3rYAw5NAwz5','tM8GBwvZC2fNzxm','BwvZC2fNzxm','zxjYB3i','Dg9mB2nHBgvtDhjPBMC','x19TzxrHzgf0yv9Fy2XP','zxHPC3rZu3LUyW','Dw5SAw5Ru3LUyW','BMfTzq','Ag9TzwrPCG','y2XLyxjmB2DZ','ndiYoduXt0j4EMfN','C2vZC2LVBNm','Bwf4rMLSzxm'];_0x288d=function(){return _0x4bbe0c;};return _0x288d();}export{Y as a,V as b,q as c,O as d,B as e,ie as f,ne as g};