@nuvin/nuvin-cli 1.24.1 → 1.25.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(_0x3be7cd,_0x2196fa){const _0x944715={_0x10cd50:0x48a,_0x4512bd:0x44a,_0x1b8c35:0x46d,_0x566131:0x476,_0x39e2f5:0x471,_0x22cefd:0x453,_0xde3433:0x46a,_0x3b80cb:0x453,_0x53efc0:0x46e,_0x2b9dd1:0x453,_0x58a711:0x496,_0x573554:0x486,_0x2bdb56:0x481,_0xf7b43a:0x443,_0x3487cc:0x432,_0x136650:0x2e2,_0x4bd128:0x2f8,_0x16223e:0x2eb,_0x32435f:0x475,_0x5232b5:0x479,_0x2d11d2:0x46b,_0x4f634d:0x2d7,_0x1930e6:0x478,_0x10f815:0x47d},_0x44c977=_0x3be7cd();function _0x1073b8(_0x448c5e,_0xb6a83c,_0x157f17,_0xb1ac87){return _0x4499(_0xb1ac87-0x2db,_0x157f17);}function _0x26b436(_0x5ab2ba,_0x10e01e,_0x1b3711,_0x49405a){return _0x4499(_0x5ab2ba-0x148,_0x10e01e);}while(!![]){try{const _0x79899=parseInt(_0x1073b8(_0x944715._0x10cd50,0x471,_0x944715._0x4512bd,_0x944715._0x1b8c35))/0x1*(parseInt(_0x1073b8(0x47f,_0x944715._0x566131,0x485,_0x944715._0x39e2f5))/0x2)+parseInt(_0x1073b8(_0x944715._0x22cefd,0x447,_0x944715._0xde3433,_0x944715._0x3b80cb))/0x3+parseInt(_0x1073b8(0x44a,_0x944715._0x53efc0,_0x944715._0x2b9dd1,0x451))/0x4*(parseInt(_0x1073b8(_0x944715._0x58a711,_0x944715._0x573554,_0x944715._0x2bdb56,0x486))/0x5)+parseInt(_0x1073b8(_0x944715._0xf7b43a,0x460,_0x944715._0x3487cc,0x44b))/0x6*(parseInt(_0x26b436(_0x944715._0x136650,_0x944715._0x4bd128,0x2df,0x2d0))/0x7)+parseInt(_0x26b436(0x2f2,0x301,_0x944715._0x16223e,0x2f1))/0x8*(parseInt(_0x1073b8(0x475,_0x944715._0x32435f,_0x944715._0x5232b5,_0x944715._0x2d11d2))/0x9)+parseInt(_0x26b436(0x2c2,_0x944715._0x4f634d,0x2d7,0x2be))/0xa*(-parseInt(_0x26b436(0x2d5,0x2ce,0x2b9,0x2e2))/0xb)+-parseInt(_0x1073b8(0x46d,_0x944715._0x1930e6,_0x944715._0x10f815,0x487))/0xc;if(_0x79899===_0x2196fa)break;else _0x44c977['push'](_0x44c977['shift']());}catch(_0x52a0a5){_0x44c977['push'](_0x44c977['shift']());}}}(_0x551a,0x43a02));function _0x551a(){const _0x2862ef=['AM9PBG','y29UzMLNlNLHBwW','q2fUBM90igrLBgv0zsbKzwzHDwX0ihbYB2zPBgu','BgfZDfvZzwq','mty2mtzfy0HZvuW','ChjVzMLSzxneAxi','mtG0mda4Avbrwg1l','Bg9HzfjLz2LZDhj5','nta5mJyXmgXLsKn0EG','B2jQzwn0','CMvNAxn0CNLqyxrO','Aw5PDgLHBgL6zq','ywDLBNrZ','y29WEuzPBgu','C3DPDgnO','q2fUBM90igrLBgv0zsbHy3rPDMuGChjVzMLSzsaN','BgLZDa','DgvZDa','z2v0uhjVzMLSzurPCG','jY4Gu3DPDgnOihrVigfUB3rOzxiGChjVzMLSzsbMAxjZDcbVCIb1C2uGls1MB3jJzq','z2v0uhjVzMLSzunVBMzPz1bHDgG','ChjVzMLSzxmUEwfTBa','jYbHBhjLywr5igv4Axn0CW','yMfZzurPCG','BwTKAxi','u291CMnLihbYB2zPBguGjW','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','mtfUDw5kA2m','ywn0AxzL','zgvZy3jPChrPB24','mZzwvMHMv2C','AxneAxjLy3rVCNK','ntK0mxreBxv4Aq','DMfSDwvZ','CMvNAxn0CNK','ChjVzMLSzxm','mtu4AuXWDvPx','rMfPBgvKihrVigXVywqGChjVzMLSzxmGCMvNAxn0CNK6ia','y3jLyxrL','AxnezwzHDwX0','ndqZogHNywDjzG','C2f2zvjLz2LZDhj5','BwvZC2fNzq','ChjVBwLZzxm','zxHPC3rZ','jYbKB2vZig5VDcbLEgLZDa','z2v0uhjVzMLSzunVBw1HBMrZrgLY','y29WEurPCMvJDg9YEq','CMvHzgrPCG','z2v0qwn0AxzL','zgvSzxrL','y2XVBMvqCM9MAwXLrMLSzxm','y2XVBMvgCM9T','C2vZC2LVBNm','BMfTzq','uhjVzMLSzsaN','mtu5mJu2EeTJAfj6','nte1s3Ldqune','otu1mdu4nhD1sKDpDW','D3jPDgvgAwXL','zxHPC3rZu3LUyW','rgvMyxvSDcbWCM9MAwXL','zgvMyxvSDa','DxrMltG','y29TBwfUzhm','Dg9ju09tDhjPBMC','Ag9TzwrPCG','nte0ofPVuuHkCq','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm'];_0x551a=function(){return _0x2862ef;};return _0x551a();}var s=_0x51f1c2(0x6d,0x68,0x5b,0x48),c=_0x51f1c2(0x79,0x69,0x77,0x89),g=_0x51f1c2(0x77,0x81,0x85,0xa6);import*as _0x127ca7 from'fs';import*as _0x43044b from'os';function _0x4499(_0x46ac46,_0x3c9e46){_0x46ac46=_0x46ac46-0x168;const _0x551acd=_0x551a();let _0x44994c=_0x551acd[_0x46ac46];if(_0x4499['sWhApo']===undefined){var _0x250f4e=function(_0x1d0ff5){const _0x30d5b2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x127ca7='',_0x43044b='';for(let _0x453827=0x0,_0x37c160,_0x1e492e,_0x30b398=0x0;_0x1e492e=_0x1d0ff5['charAt'](_0x30b398++);~_0x1e492e&&(_0x37c160=_0x453827%0x4?_0x37c160*0x40+_0x1e492e:_0x1e492e,_0x453827++%0x4)?_0x127ca7+=String['fromCharCode'](0xff&_0x37c160>>(-0x2*_0x453827&0x6)):0x0){_0x1e492e=_0x30d5b2['indexOf'](_0x1e492e);}for(let _0x5e6636=0x0,_0x24fbb1=_0x127ca7['length'];_0x5e6636<_0x24fbb1;_0x5e6636++){_0x43044b+='%'+('00'+_0x127ca7['charCodeAt'](_0x5e6636)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x43044b);};_0x4499['YLgsPU']=_0x250f4e,_0x4499['ikHfRj']={},_0x4499['sWhApo']=!![];}const _0x159e25=_0x551acd[0x0],_0xb5c983=_0x46ac46+_0x159e25,_0x15e1be=_0x4499['ikHfRj'][_0xb5c983];return!_0x15e1be?(_0x44994c=_0x4499['YLgsPU'](_0x44994c),_0x4499['ikHfRj'][_0xb5c983]=_0x44994c):_0x44994c=_0x15e1be,_0x44994c;}import*as _0x453827 from'path';function _0x5e8efd(_0x616578,_0xfea29d,_0x2db965,_0x1d33ec){const _0x5f136f={_0x569143:0x2d5};return _0x4499(_0xfea29d- -_0x5f136f._0x569143,_0x1d33ec);}function _0x51f1c2(_0x567903,_0x26d6e2,_0x4eae3a,_0x40afe9){const _0x10aff2={_0xde9b2b:0x110};return _0x4499(_0x4eae3a- -_0x10aff2._0xde9b2b,_0x567903);}import{parse as _0x37c160,stringify as _0x1e492e}from'yaml';var p=class{constructor(_0x30b398=()=>{}){const _0x11cd5d={_0x59be17:0x536,_0x29ac25:0x550,_0x561291:0x52a,_0x5dde4f:0x51d,_0x5eca77:0x50f,_0x5752f4:0x51b,_0x2c2f24:0x52f,_0x24d0e9:0x49a,_0x5065ef:0x4aa,_0x4c22bb:0x49c,_0xa62fd0:0x499,_0x2eff9b:0x53e,_0x4a6410:0x52d,_0x5af48c:0x549,_0x250c23:0x490,_0x37ff21:0x497,_0x3ac82b:0x54c,_0x39aae3:0x542,_0x34d356:0x54a},_0x57e6a9={_0x1c494d:0xaa,_0x2a8bb0:0x1a6},_0x3ba734={_0x4fbca7:0x128};this['logger']=_0x30b398;function _0x2201d2(_0xb93cc4,_0xc18ec2,_0x349016,_0x21a1b1){return _0x5e8efd(_0xb93cc4-_0x3ba734._0x4fbca7,_0xc18ec2-0x68d,_0x349016-0x71,_0xb93cc4);}function _0x501e5d(_0x5e0455,_0x2fcf62,_0x138a1f,_0x2cb394){return _0x51f1c2(_0x5e0455,_0x2fcf62-_0x57e6a9._0x1c494d,_0x138a1f-0x42e,_0x2cb394-_0x57e6a9._0x2a8bb0);}this[_0x2201d2(0x563,0x541,_0x11cd5d._0x59be17,_0x11cd5d._0x29ac25)]=_0x453827[_0x2201d2(0x50f,_0x11cd5d._0x561291,_0x11cd5d._0x5dde4f,0x53c)](_0x43044b[_0x2201d2(_0x11cd5d._0x5eca77,0x527,0x50e,0x51c)](),'.nuvin-cli'),this[_0x2201d2(_0x11cd5d._0x5752f4,_0x11cd5d._0x2c2f24,0x53f,0x534)]=_0x453827['join'](this[_0x501e5d(0x4c3,0x492,0x4a7,_0x11cd5d._0x24d0e9)],g),this[_0x501e5d(_0x11cd5d._0x5065ef,_0x11cd5d._0x4c22bb,0x49a,_0x11cd5d._0xa62fd0)]=_0x453827[_0x2201d2(_0x11cd5d._0x2eff9b,0x52a,_0x11cd5d._0x4a6410,_0x11cd5d._0x5af48c)](this[_0x501e5d(_0x11cd5d._0x250c23,_0x11cd5d._0x37ff21,0x4a7,0x494)],c),this[_0x2201d2(0x52d,_0x11cd5d._0x3ac82b,_0x11cd5d._0x39aae3,_0x11cd5d._0x34d356)]={'active':s,'profiles':{}};}async[_0x51f1c2(0x6c,0x76,0x6d,0x76)](){const _0x4840ee={_0x5f5867:0x10e,_0xf54bd1:0xfa,_0x2d9592:0x116,_0x5bc10d:0x112,_0x386791:0x119,_0x3a9478:0xf9,_0x3a7269:0xea,_0xbc232:0x105,_0x53cc32:0x10a},_0x34d8f0={_0x7bb369:0x252,_0xadf207:0x15a},_0x42829a={_0x4e9742:0x22,_0x4e372f:0x81};function _0x1d6f4c(_0x237a2e,_0xd00446,_0x2ceb49,_0x465ddc){return _0x51f1c2(_0x2ceb49,_0xd00446-_0x42829a._0x4e9742,_0x237a2e-_0x42829a._0x4e372f,_0x465ddc-0x161);}function _0x16498f(_0xe97b20,_0x1503b0,_0x32d45c,_0x121d8c){return _0x5e8efd(_0xe97b20-0x16,_0x1503b0-_0x34d8f0._0x7bb369,_0x32d45c-_0x34d8f0._0xadf207,_0x32d45c);}await _0x127ca7[_0x1d6f4c(_0x4840ee._0x5f5867,0xf2,0x112,0x119)][_0x16498f(0xea,0x107,0xf3,0xeb)](this[_0x16498f(0xff,0x106,0x118,_0x4840ee._0xf54bd1)],{'recursive':!0x0}),await _0x127ca7[_0x1d6f4c(_0x4840ee._0x5f5867,_0x4840ee._0x2d9592,_0x4840ee._0x5bc10d,_0x4840ee._0x386791)][_0x16498f(_0x4840ee._0x3a9478,0x107,0xe8,_0x4840ee._0x3a7269)](this['profilesDir'],{'recursive':!0x0}),this[_0x1d6f4c(_0x4840ee._0xbc232,_0x4840ee._0x53cc32,0xee,0x116)]=await this['loadRegistry']();}async[_0x5e8efd(-0x170,-0x153,-0x145,-0x133)](){const _0x2623ea={_0x3b04da:0xc3,_0x537b5b:0xd1,_0x21d251:0xc7,_0x201811:0xbe,_0x58d183:0xbd,_0x4c65d4:0xe1,_0x4e8d50:0x102,_0x254ce1:0xec,_0x4f9a41:0x107,_0x23c9de:0x560,_0x453538:0xee},_0x56e5ae={_0x25446b:0xd5,_0x44496e:0x6b7,_0x3c8d6:0xbd};let _0x5e6636=[];_0x5e6636['push']({'name':s,'description':_0x36d683(0xbe,0xdd,_0x2623ea._0x3b04da,_0x2623ea._0x537b5b),'created':new Date()['toISOString'](),'lastUsed':new Date()[_0x36d683(_0x2623ea._0x21d251,_0x2623ea._0x201811,0xc7,_0x2623ea._0x58d183)]()});function _0x2b2a1d(_0x2ff302,_0x4864a7,_0xf72a61,_0x5ac044){return _0x5e8efd(_0x2ff302-_0x56e5ae._0x25446b,_0xf72a61-_0x56e5ae._0x44496e,_0xf72a61-_0x56e5ae._0x3c8d6,_0x5ac044);}function _0x36d683(_0x4e46ce,_0x16c96e,_0x3b33de,_0x326a14){return _0x5e8efd(_0x4e46ce-0xa6,_0x3b33de-0x22e,_0x3b33de-0x15b,_0x4e46ce);}for(let _0x24fbb1 of Object[_0x36d683(_0x2623ea._0x4c65d4,_0x2623ea._0x4e8d50,_0x2623ea._0x254ce1,_0x2623ea._0x4f9a41)](this[_0x2b2a1d(_0x2623ea._0x23c9de,0x582,0x576,0x57c)][_0x36d683(_0x2623ea._0x254ce1,0xe5,_0x2623ea._0x453538,0x10f)]))_0x5e6636['push'](_0x24fbb1);return _0x5e6636;}async[_0x51f1c2(0x87,0x90,0x88,0x93)](_0x244464,_0xa5cc7c={}){const _0x3602d0={_0x20ee71:0x153,_0x282238:0x12d,_0x25e5b2:0x111,_0x50df17:0x129,_0x2fd508:0x570,_0x65babf:0x587,_0x3875ef:0x558,_0x3dfa72:0x579,_0x42d7f5:0x548,_0x20f12c:0x12f,_0x41ab59:0x149,_0x3aac84:0x56d,_0x31150c:0x57b,_0x5ce6d3:0x57d,_0x20f9f8:0x561,_0x454a54:0x54e,_0x3e08be:0x159,_0x4a340d:0x16c,_0x3b817f:0x57a,_0x5b9cb3:0x12e,_0x9bd7ce:0x143,_0x46d410:0x156,_0x135848:0x55a,_0x30b050:0x54f,_0x2ba28d:0x560,_0x110b75:0x163,_0x3ed2e8:0x14d,_0x2e704f:0x148,_0x27c015:0x576,_0x53818a:0x590,_0x2f32e6:0x588,_0x1a8119:0x585,_0x424ea1:0x588,_0x4e7a16:0x55b,_0x363f28:0x54e,_0x440fd8:0x148,_0x5a68db:0x168,_0x406b7c:0x147,_0x24f5db:0x13f,_0x439ce8:0x575,_0x445084:0x56a,_0xba3244:0x573,_0x248168:0x573,_0xe6ed1b:0x557,_0x46d2fc:0x143,_0x3e206b:0x150,_0x43496b:0x151,_0x2d41bd:0x14b,_0x1ff981:0x160,_0x9af3a4:0x151};function _0x403135(_0x3d4112,_0x3d1b6a,_0x36ea4a,_0x33dce9){return _0x5e8efd(_0x3d4112-0x22,_0x3d4112-0x6a5,_0x36ea4a-0x63,_0x3d1b6a);}if(_0x244464===s)throw new Error('Cannot\x20create\x20profile\x20named\x20\x27'+s+'\x27\x20(reserved)');if(!/^[a-zA-Z0-9_-]+$/[_0x180e20(0x13f,_0x3602d0._0x20ee71,0x137,0x148)](_0x244464))throw new Error(_0x180e20(_0x3602d0._0x282238,0x118,_0x3602d0._0x25e5b2,_0x3602d0._0x50df17));function _0x180e20(_0x1bb5f0,_0x25a319,_0x3c5ae5,_0x10ed01){return _0x51f1c2(_0x3c5ae5,_0x25a319-0x168,_0x1bb5f0-0xcc,_0x10ed01-0x1a7);}if(await this['exists'](_0x244464))throw new Error(_0x403135(0x579,_0x3602d0._0x2fd508,_0x3602d0._0x65babf,0x593)+_0x244464+_0x403135(_0x3602d0._0x3875ef,_0x3602d0._0x3dfa72,_0x3602d0._0x42d7f5,0x576));let _0x4d8d4a=this[_0x180e20(0x140,0x139,_0x3602d0._0x20f12c,_0x3602d0._0x41ab59)](_0x244464);if(await _0x127ca7[_0x403135(_0x3602d0._0x3aac84,_0x3602d0._0x31150c,_0x3602d0._0x5ce6d3,_0x3602d0._0x20f9f8)][_0x403135(0x55a,0x541,0x574,_0x3602d0._0x454a54)](_0x4d8d4a,{'recursive':!0x0}),await _0x127ca7[_0x180e20(_0x3602d0._0x3e08be,_0x3602d0._0x4a340d,0x165,0x162)][_0x403135(0x55a,0x53b,0x53b,_0x3602d0._0x3b817f)](_0x453827[_0x180e20(_0x3602d0._0x5b9cb3,0x122,_0x3602d0._0x9bd7ce,0x128)](_0x4d8d4a,_0x180e20(0x13a,0x128,0x11c,0x15b)),{'recursive':!0x0}),await _0x127ca7[_0x180e20(0x159,0x163,_0x3602d0._0x46d410,0x171)][_0x403135(_0x3602d0._0x135848,0x543,0x555,0x57d)](_0x453827[_0x403135(0x542,0x530,_0x3602d0._0x30b050,_0x3602d0._0x2ba28d)](_0x4d8d4a,_0x180e20(_0x3602d0._0x110b75,_0x3602d0._0x41ab59,_0x3602d0._0x3ed2e8,_0x3602d0._0x2e704f)),{'recursive':!0x0}),_0xa5cc7c['cloneFrom']&&_0xa5cc7c[_0x403135(_0x3602d0._0x27c015,_0x3602d0._0x53818a,_0x3602d0._0x2f32e6,_0x3602d0._0x1a8119)]!==s){if(!await this['exists'](_0xa5cc7c[_0x403135(_0x3602d0._0x27c015,_0x3602d0._0x424ea1,0x57f,0x579)]))throw new Error(_0x403135(_0x3602d0._0x4e7a16,0x540,_0x3602d0._0x363f28,0x563)+_0xa5cc7c[_0x180e20(0x162,_0x3602d0._0x440fd8,0x149,_0x3602d0._0x5a68db)]+_0x180e20(0x15b,_0x3602d0._0x406b7c,_0x3602d0._0x24f5db,0x14a));await this[_0x403135(_0x3602d0._0x439ce8,_0x3602d0._0x445084,_0x3602d0._0xba3244,_0x3602d0._0x248168)](_0xa5cc7c[_0x403135(_0x3602d0._0x27c015,0x576,0x579,_0x3602d0._0xe6ed1b)],_0x244464);}let _0x5460c8={'name':_0x244464,'description':_0xa5cc7c[_0x180e20(0x14b,0x160,_0x3602d0._0x46d2fc,0x15a)],'created':new Date()['toISOString'](),'lastUsed':new Date()['toISOString']()};this[_0x180e20(_0x3602d0._0x3e206b,0x14d,_0x3602d0._0x5b9cb3,0x15b)][_0x180e20(_0x3602d0._0x43496b,0x152,_0x3602d0._0x2d41bd,_0x3602d0._0x1ff981)][_0x244464]=_0x5460c8,await this[_0x180e20(0x157,_0x3602d0._0x9af3a4,_0x3602d0._0x3ed2e8,0x152)]();}async[_0x51f1c2(0x78,0x96,0x94,0xa8)](_0x283c39,_0x30a34c={}){const _0x1ac4e9={_0x58c058:0x533,_0x3d7592:0x54b,_0x4ebce8:0x534,_0x101cb8:0x567,_0x53b905:0x577,_0x2e50b9:0x54d,_0x217331:0x4f0,_0x586f7e:0x54e,_0x32ebc7:0x554,_0x3046cd:0x531,_0x13ef5e:0x4cb,_0x4c71e3:0x4c4,_0x8da876:0x4d1,_0x190d75:0x545,_0x67b4f2:0x4f0,_0x365519:0x4d8,_0x1fe594:0x4d3,_0x407947:0x567,_0x17d77f:0x53e,_0x6c53b0:0x4e1,_0x2e5f21:0x564,_0x569527:0x563,_0x44b88c:0x554},_0x31e22a={_0x2abf40:0x45,_0x5d21f7:0x12a},_0x7dad29={_0x5d4131:0x19c,_0x15d953:0xfb};if(_0x283c39===s)throw new Error(_0x308dab(_0x1ac4e9._0x58c058,_0x1ac4e9._0x3d7592,_0x1ac4e9._0x4ebce8,0x533));if(!await this['exists'](_0x283c39))throw new Error(_0x308dab(_0x1ac4e9._0x101cb8,_0x1ac4e9._0x53b905,0x569,_0x1ac4e9._0x2e50b9)+_0x283c39+_0x167a67(_0x1ac4e9._0x217331,0x4ff,0x4e3,0x4ee));if(this[_0x308dab(_0x1ac4e9._0x586f7e,0x568,_0x1ac4e9._0x32ebc7,_0x1ac4e9._0x3046cd)]['active']===_0x283c39){if(!_0x30a34c['force'])throw new Error(_0x167a67(_0x1ac4e9._0x13ef5e,_0x1ac4e9._0x4c71e3,0x4c5,_0x1ac4e9._0x8da876)+_0x283c39+_0x308dab(0x537,0x543,_0x1ac4e9._0x190d75,0x565));this[_0x167a67(_0x1ac4e9._0x67b4f2,0x4b5,_0x1ac4e9._0x365519,_0x1ac4e9._0x1fe594)][_0x308dab(_0x1ac4e9._0x407947,0x56c,0x54e,_0x1ac4e9._0x17d77f)]=s;}let _0x37ee16=this['getProfileDir'](_0x283c39);function _0x167a67(_0x2270ca,_0x245afb,_0x4b3167,_0x23ba0a){return _0x5e8efd(_0x2270ca-_0x7dad29._0x5d4131,_0x4b3167-0x619,_0x4b3167-_0x7dad29._0x15d953,_0x2270ca);}function _0x308dab(_0x31963d,_0x22f7d2,_0x179f92,_0x3ed0d5){return _0x51f1c2(_0x31963d,_0x22f7d2-_0x31e22a._0x2abf40,_0x179f92-0x4d0,_0x3ed0d5-_0x31e22a._0x5d21f7);}_0x127ca7['existsSync'](_0x37ee16)&&await _0x127ca7[_0x167a67(0x4e3,0x4c8,_0x1ac4e9._0x6c53b0,0x4f7)]['rm'](_0x37ee16,{'recursive':!0x0,'force':!0x0}),delete this[_0x308dab(_0x1ac4e9._0x2e5f21,_0x1ac4e9._0x569527,_0x1ac4e9._0x44b88c,0x568)]['profiles'][_0x283c39],await this['saveRegistry']();}async[_0x5e8efd(-0x132,-0x155,-0x144,-0x14e)](_0x2b3638){const _0x56385b={_0x466803:0x1b3,_0x10af45:0x19f,_0x33f4c2:0x19d,_0x1a4841:0x176,_0x571459:0x173,_0x16ea04:0x43,_0x433016:0x198,_0xfb30d:0x197,_0x2ca383:0x1a7,_0x54fe30:0x1b4,_0x3c3418:0x1c7,_0x3d1be8:0x1c4,_0x30205c:0x28,_0x54d9df:0xf,_0x23dc76:0xf,_0x15cbee:0x19b,_0x43b2d6:0x190},_0x4c9756={_0x3633d8:0x17a,_0x33aebe:0x60,_0x2da7c8:0x98},_0x3edd2d={_0xcc9156:0x18f};function _0x2a63aa(_0x4c51e3,_0x1b2e41,_0x8aeec6,_0x2347d1){return _0x5e8efd(_0x4c51e3-0x1a1,_0x4c51e3-_0x3edd2d._0xcc9156,_0x8aeec6-0x132,_0x1b2e41);}function _0x44d8aa(_0x4bb87f,_0x34181f,_0x4bc476,_0x953100){return _0x5e8efd(_0x4bb87f-_0x4c9756._0x3633d8,_0x34181f- -_0x4c9756._0x33aebe,_0x4bc476-_0x4c9756._0x2da7c8,_0x4bc476);}if(_0x2b3638!==s&&!await this[_0x44d8aa(-_0x56385b._0x466803,-0x197,-_0x56385b._0x10af45,-_0x56385b._0x33f4c2)](_0x2b3638))throw new Error(_0x44d8aa(-0x16c,-0x18c,-_0x56385b._0x1a4841,-_0x56385b._0x571459)+_0x2b3638+_0x2a63aa(0x59,0x57,0x40,_0x56385b._0x16ea04));this[_0x44d8aa(-0x1af,-0x1a1,-_0x56385b._0x433016,-0x181)][_0x44d8aa(-_0x56385b._0xfb30d,-_0x56385b._0x2ca383,-_0x56385b._0x54fe30,-_0x56385b._0x3c3418)]=_0x2b3638,_0x2b3638!==s&&this['registry']['profiles'][_0x2b3638]&&(this['registry']['profiles'][_0x2b3638][_0x44d8aa(-_0x56385b._0x3d1be8,-0x1c0,-0x1d1,-0x1db)]=new Date()[_0x2a63aa(_0x56385b._0x30205c,0x13,_0x56385b._0x54d9df,_0x56385b._0x23dc76)]()),await this[_0x44d8aa(-0x185,-0x19a,-_0x56385b._0x15cbee,-_0x56385b._0x43b2d6)]();}async[_0x51f1c2(0xaa,0xa6,0x93,0x8e)](){const _0x1c5515={_0x5b504b:0x9,_0x2afa4c:0x6},_0x538296={_0x5f389c:0xe2};function _0x226869(_0x3595fc,_0xbf2d24,_0x4c8405,_0x533811){return _0x51f1c2(_0xbf2d24,_0xbf2d24-0x12f,_0x3595fc- -0x6b,_0x533811-_0x538296._0x5f389c);}return this['registry'][_0x226869(0x13,-_0x1c5515._0x5b504b,-0xe,-_0x1c5515._0x2afa4c)]||s;}async[_0x51f1c2(0x73,0x99,0x8e,0x7c)](_0x19ff03){const _0x466536={_0x2586c4:0x224,_0x28e525:0x211,_0x34a270:0x243,_0x36e3e2:0x20b,_0x11bc51:0x23e},_0x574ead={_0x2f75f4:0xee,_0xd1f09c:0x4a6,_0x4e67a1:0x1d2};function _0x26527b(_0x1020c4,_0x2308f6,_0x409904,_0x4ef668){return _0x51f1c2(_0x4ef668,_0x2308f6-0x174,_0x1020c4- -0x2a8,_0x4ef668-0x4c);}function _0x530032(_0x258a9b,_0x904fa3,_0x303d54,_0x5accd5){return _0x5e8efd(_0x258a9b-_0x574ead._0x2f75f4,_0x904fa3-_0x574ead._0xd1f09c,_0x303d54-_0x574ead._0x4e67a1,_0x303d54);}return _0x19ff03===s?!0x0:_0x19ff03 in this[_0x26527b(-_0x466536._0x2586c4,-0x20a,-0x247,-_0x466536._0x28e525)][_0x26527b(-0x223,-_0x466536._0x34a270,-_0x466536._0x36e3e2,-_0x466536._0x11bc51)]&&_0x127ca7['existsSync'](this['getProfileDir'](_0x19ff03));}['getProfileDir'](_0x2a27a9){const _0x5856a2={_0xdfef94:0x32,_0x417271:0x21,_0x3b71d5:0x15,_0x582359:0x2a,_0x25cfd7:0x194,_0x15350a:0x1ac,_0x273c1e:0x199,_0x198b9c:0x17c},_0x1ef451={_0x1db60c:0x178,_0x344e5a:0x101},_0x1897a5={_0x47b773:0x6e};function _0x39d417(_0x10f186,_0x15bab0,_0x2b9b87,_0x2e441d){return _0x51f1c2(_0x2b9b87,_0x15bab0-_0x1897a5._0x47b773,_0x15bab0- -0x68,_0x2e441d-0x59);}function _0x17fffb(_0x31b00a,_0x3b12df,_0x559a92,_0x3c3903){return _0x51f1c2(_0x3c3903,_0x3b12df-_0x1ef451._0x1db60c,_0x3b12df-0x132,_0x3c3903-_0x1ef451._0x344e5a);}return this[_0x39d417(_0x5856a2._0xdfef94,_0x5856a2._0x417271,_0x5856a2._0x3b71d5,_0x5856a2._0x582359)](_0x2a27a9)?this['baseDir']:_0x453827[_0x17fffb(0x194,_0x5856a2._0x25cfd7,0x1a7,_0x5856a2._0x15350a)](this[_0x17fffb(0x192,_0x5856a2._0x273c1e,0x1ac,_0x5856a2._0x198b9c)],_0x2a27a9);}[_0x51f1c2(0x5f,0x62,0x76,0x54)](_0x1239ff){const _0x29aeda={_0x2559dd:0x26d,_0x20bf47:0x26f,_0x250bea:0x4ee,_0x260af2:0x4d4},_0x480c8c={_0x5f4cdb:0x1e6,_0x2b5520:0x102},_0xa2d91b={_0x5cba53:0xb1,_0x2132c4:0x215,_0x5a4f7d:0xe0};function _0x3f8d7a(_0x27fef9,_0xcab8,_0x52100c,_0x3a752c){return _0x51f1c2(_0x3a752c,_0xcab8-_0xa2d91b._0x5cba53,_0xcab8-_0xa2d91b._0x2132c4,_0x3a752c-_0xa2d91b._0x5a4f7d);}function _0x2f7e2b(_0x12ed57,_0x45f067,_0x17a9cb,_0x19b2d4){return _0x51f1c2(_0x12ed57,_0x45f067-_0x480c8c._0x5f4cdb,_0x19b2d4-0x483,_0x19b2d4-_0x480c8c._0x2b5520);}return _0x453827['join'](this[_0x3f8d7a(_0x29aeda._0x2559dd,0x289,_0x29aeda._0x20bf47,0x2a6)](_0x1239ff),_0x2f7e2b(0x4e3,_0x29aeda._0x250bea,_0x29aeda._0x260af2,0x4e6));}['getProfileAgentsDir'](_0x419f8a){const _0xf8225b={_0xf65b98:0x1b4,_0x5334a9:0x1d6,_0x91d16d:0x1cf,_0x338f00:0x176},_0x5c6552={_0x1244f3:0xc7,_0x16f9e3:0x25},_0x523681={_0x23705e:0x141,_0x30ab5c:0x339,_0x488204:0x1c7};function _0x42d008(_0x397a89,_0x22e24e,_0x1a36d3,_0x4b275b){return _0x5e8efd(_0x397a89-_0x523681._0x23705e,_0x1a36d3-_0x523681._0x30ab5c,_0x1a36d3-_0x523681._0x488204,_0x4b275b);}function _0x2fa6ac(_0x567e55,_0x41c692,_0x14e4b8,_0x1c20dc){return _0x5e8efd(_0x567e55-_0x5c6552._0x1244f3,_0x1c20dc- -_0x5c6552._0x16f9e3,_0x14e4b8-0x116,_0x567e55);}return _0x453827[_0x42d008(_0xf8225b._0xf65b98,0x1b5,_0xf8225b._0x5334a9,_0xf8225b._0x91d16d)](this[_0x2fa6ac(-0x18f,-0x168,-0x161,-_0xf8225b._0x338f00)](_0x419f8a),'agents');}['getProfileSessionsDir'](_0x562160){const _0x1ada80={_0x5950c3:0x59,_0x5886b6:0x37,_0x40a84b:0x2c,_0x104a21:0x18,_0x58ac34:0x12,_0x3080ad:0x9,_0xf1cd6b:0x0},_0xd13cfd={_0x5ebd50:0x1b2,_0x4dece:0x534,_0x244a51:0x1ee},_0x5b46d3={_0x2c35d7:0x8,_0x364cb0:0xa0,_0x19cefa:0x198};function _0x2a6d62(_0x2c6607,_0x2b5714,_0x36d67c,_0x5148ea){return _0x51f1c2(_0x5148ea,_0x2b5714-_0x5b46d3._0x2c35d7,_0x2b5714- -_0x5b46d3._0x364cb0,_0x5148ea-_0x5b46d3._0x19cefa);}function _0xd0f1b2(_0x1ed7b7,_0x461f45,_0x44b82f,_0x1f69b5){return _0x5e8efd(_0x1ed7b7-_0xd13cfd._0x5ebd50,_0x1ed7b7-_0xd13cfd._0x4dece,_0x44b82f-_0xd13cfd._0x244a51,_0x1f69b5);}return _0x453827[_0x2a6d62(-0x55,-0x3e,-_0x1ada80._0x5950c3,-0x4a)](this[_0x2a6d62(-_0x1ada80._0x5886b6,-_0x1ada80._0x40a84b,-_0x1ada80._0x104a21,-0x1d)](_0x562160),_0x2a6d62(-_0x1ada80._0x58ac34,-_0x1ada80._0x3080ad,_0x1ada80._0xf1cd6b,0xd));}[_0x5e8efd(-0x12c,-0x135,-0x155,-0x158)](_0x7602c0){const _0x58f731={_0x53bae2:0x2f4,_0x18a983:0x464,_0x54f6e2:0x456},_0x29969f={_0x5bfc6c:0xe8,_0x1e130d:0x147},_0x20702d={_0x509918:0x8b};function _0x357c4d(_0x25c3f9,_0x89cc9d,_0x1ac0d5,_0x433ef5){return _0x5e8efd(_0x25c3f9-0x35,_0x25c3f9-0x457,_0x1ac0d5-_0x20702d._0x509918,_0x89cc9d);}function _0xde1619(_0x9f78d3,_0x45138c,_0x213899,_0x3f5250){return _0x51f1c2(_0x9f78d3,_0x45138c-_0x29969f._0x5bfc6c,_0x3f5250-0x3f9,_0x3f5250-_0x29969f._0x1e130d);}return _0x453827[_0x357c4d(_0x58f731._0x53bae2,0x2f1,0x2f4,0x2de)](this[_0xde1619(0x468,_0x58f731._0x18a983,0x488,0x46d)](_0x7602c0),_0xde1619(0x468,0x43c,0x440,_0x58f731._0x54f6e2));}['isDefault'](_0x17b38f){return _0x17b38f===s;}async[_0x51f1c2(0x6c,0x70,0x69,0x64)](){const _0x36cf84={_0xdae8f2:0x1db,_0x33635c:0x1c6,_0x14ccf1:0x55d,_0x423927:0x5a1,_0x4d2f65:0x580,_0xd187b0:0x1a1,_0x93823a:0x1b3,_0x1b8c8b:0x1bd,_0x2da2a9:0x1dc,_0x16659f:0x1c3,_0x1dade8:0x1b8,_0x5414b5:0x19b,_0x1b9096:0x1b4,_0x30f129:0x178,_0x347135:0x1af,_0x2be8ef:0x19a,_0x259086:0x57e,_0x13097f:0x55f,_0x30e9a9:0x55e,_0x492c36:0x578,_0x56d82f:0x1a5,_0x577aa2:0x183,_0x4c76d1:0x587,_0x3af7d1:0x1b0},_0x20e518={_0x18a52a:0x4f3,_0x4bcff9:0x1ce},_0x35a1c9={_0x358042:0x5a,_0x40fe08:0x18b};function _0x35d773(_0x5940e0,_0x5e8c01,_0x280d43,_0x5c2f22){return _0x5e8efd(_0x5940e0-0x3d,_0x5c2f22- -_0x35a1c9._0x358042,_0x280d43-_0x35a1c9._0x40fe08,_0x5e8c01);}if(!_0x127ca7[_0x35d773(-0x1c0,-_0x36cf84._0xdae8f2,-0x1ae,-_0x36cf84._0x33635c)](this[_0x346054(0x57e,0x55f,_0x36cf84._0x14ccf1,0x54d)]))return{'active':s,'profiles':{}};function _0x346054(_0x476659,_0xc504bb,_0x2d9301,_0x224648){return _0x51f1c2(_0x476659,_0xc504bb-0x1ea,_0xc504bb-_0x20e518._0x18a52a,_0x224648-_0x20e518._0x4bcff9);}try{let _0x524eab=await _0x127ca7[_0x346054(_0x36cf84._0x423927,_0x36cf84._0x4d2f65,0x569,0x591)]['readFile'](this[_0x35d773(-_0x36cf84._0xd187b0,-0x1c4,-0x19e,-_0x36cf84._0x93823a)],_0x35d773(-_0x36cf84._0x1b8c8b,-0x1c7,-_0x36cf84._0x2da2a9,-_0x36cf84._0x16659f)),_0x33f2a7=_0x37c160(_0x524eab);if(!_0x33f2a7||typeof _0x33f2a7!=_0x35d773(-0x1ad,-_0x36cf84._0x1dade8,-_0x36cf84._0x5414b5,-_0x36cf84._0x1b9096))return{'active':s,'profiles':{}};let _0x93bfc4=_0x33f2a7;return(!_0x93bfc4[_0x35d773(-_0x36cf84._0x30f129,-0x18d,-_0x36cf84._0x347135,-_0x36cf84._0x2be8ef)]||typeof _0x93bfc4[_0x346054(_0x36cf84._0x259086,0x578,0x596,0x56c)]!=_0x346054(_0x36cf84._0x13097f,_0x36cf84._0x30e9a9,_0x36cf84._0x492c36,0x57c))&&(_0x93bfc4[_0x35d773(-0x189,-_0x36cf84._0x56d82f,-_0x36cf84._0x577aa2,-0x19a)]={}),_0x93bfc4[_0x346054(0x583,0x571,0x561,0x589)]||(_0x93bfc4['active']=s),_0x93bfc4;}catch(_0x1fe88d){return this['logger'](_0x346054(0x59c,0x57a,_0x36cf84._0x4c76d1,0x577)+(_0x1fe88d instanceof Error?_0x1fe88d[_0x35d773(-0x1a0,-_0x36cf84._0x3af7d1,-0x1a1,-0x193)]:String(_0x1fe88d))),{'active':s,'profiles':{}};}}async[_0x5e8efd(-0x14c,-0x13a,-0x12d,-0x152)](){const _0x3c5690={_0x3ffe08:0x1af,_0x43ad66:0x1be,_0x18a204:0x1e9,_0x509749:0x182,_0x2a66e7:0x30a,_0x20dc14:0x310,_0x2eb43f:0x312,_0x5c926a:0x30e,_0x3b8b88:0x1c5,_0x1b50b1:0x1e4},_0x40ece2={_0x3ec8ec:0x181},_0x56b9c3={_0x11b721:0x2fe};function _0x4dea08(_0x201204,_0x1c152c,_0x71702e,_0x45dcf9){return _0x5e8efd(_0x201204-0x1e7,_0x1c152c-_0x56b9c3._0x11b721,_0x71702e-0xf9,_0x201204);}function _0x45530d(_0x52e115,_0x50c5ef,_0x4dc791,_0x1328bf){return _0x5e8efd(_0x52e115-0x23,_0x50c5ef-0x459,_0x4dc791-_0x40ece2._0x3ec8ec,_0x4dc791);}try{let _0x48afc0=_0x1e492e(this[_0x4dea08(0x1dd,0x1bd,_0x3c5690._0x3ffe08,_0x3c5690._0x43ad66)]);await _0x127ca7[_0x4dea08(0x1a4,0x1c6,_0x3c5690._0x18a204,0x1b2)][_0x4dea08(0x18a,0x191,0x1b4,_0x3c5690._0x509749)](this[_0x45530d(0x2ec,0x300,0x2f0,_0x3c5690._0x2a66e7)],_0x48afc0,'utf-8');}catch(_0x48a06a){throw this['logger'](_0x45530d(0x2f0,_0x3c5690._0x20dc14,_0x3c5690._0x2eb43f,_0x3c5690._0x5c926a)+(_0x48a06a instanceof Error?_0x48a06a[_0x4dea08(0x1e0,_0x3c5690._0x3b8b88,0x1e4,_0x3c5690._0x1b50b1)]:String(_0x48a06a))),_0x48a06a;}}async[_0x51f1c2(0x81,0x97,0x95,0x7f)](_0x44e1fd,_0x584a04){const _0x276b9b={_0xa751fd:0x55,_0x4e8122:0x3d,_0x129a3e:0x67,_0x1f19bf:0x66,_0x5623a5:0x74,_0x7e9102:0x1a7,_0x2e6433:0x1aa,_0x2f7dd1:0x188,_0x4cd9ad:0x16b,_0x436d1f:0x17f,_0x36b809:0x197,_0x1ff1e9:0x5a,_0x47772a:0x64,_0x31e3aa:0x5b,_0x5f5712:0x76,_0x5ef5f7:0x52,_0x1aa9f2:0x70,_0x4bcfa2:0x75,_0x3a4e34:0x93,_0x1b97a5:0x186,_0x4f3aaf:0x172},_0x2ccbc6={_0x58836c:0x7},_0x197e3b={_0x35a92a:0x4e,_0x4753f4:0xfc};let _0x4c6bf9=this['getProfileDir'](_0x44e1fd),_0x44afad=this[_0x22b8c5(-_0x276b9b._0xa751fd,-_0x276b9b._0x4e8122,-0x64,-_0x276b9b._0x129a3e)](_0x584a04),_0x5933f4=_0x453827['join'](_0x4c6bf9,_0x22b8c5(-_0x276b9b._0x1f19bf,-0x84,-0x64,-_0x276b9b._0x5623a5)),_0x331213=_0x453827[_0x5bfb60(-0x1a9,-_0x276b9b._0x7e9102,-_0x276b9b._0x2e6433,-0x1ca)](_0x44afad,'config.yaml');function _0x22b8c5(_0x5ed368,_0x4e3a83,_0x2a4f5b,_0x35ec3b){return _0x5e8efd(_0x5ed368-_0x197e3b._0x35a92a,_0x5ed368-_0x197e3b._0x4753f4,_0x2a4f5b-0xe3,_0x2a4f5b);}_0x127ca7[_0x22b8c5(-0x70,-0x57,-0x88,-0x50)](_0x5933f4)&&await _0x127ca7[_0x5bfb60(-_0x276b9b._0x2f7dd1,-_0x276b9b._0x4cd9ad,-_0x276b9b._0x436d1f,-_0x276b9b._0x36b809)][_0x22b8c5(-_0x276b9b._0x1ff1e9,-0x74,-0x62,-_0x276b9b._0x47772a)](_0x5933f4,_0x331213);function _0x5bfb60(_0x2a7780,_0x4f7d32,_0x295560,_0x2e972a){return _0x5e8efd(_0x2a7780-0x174,_0x295560- -0x47,_0x295560-_0x2ccbc6._0x58836c,_0x2a7780);}let _0x14fa11=_0x453827['join'](_0x4c6bf9,_0x22b8c5(-_0x276b9b._0x31e3aa,-0x6f,-_0x276b9b._0x5f5712,-0x72)),_0x1e4b63=_0x453827[_0x22b8c5(-0x67,-_0x276b9b._0x5ef5f7,-_0x276b9b._0x1aa9f2,-_0x276b9b._0x4bcfa2)](_0x44afad,'agents');_0x127ca7[_0x22b8c5(-0x70,-_0x276b9b._0x3a4e34,-0x72,-0x51)](_0x14fa11)&&await this[_0x5bfb60(-_0x276b9b._0x1b97a5,-0x15a,-0x17b,-_0x276b9b._0x4f3aaf)](_0x14fa11,_0x1e4b63);}async[_0x51f1c2(0x89,0x99,0x91,0xa2)](_0x354d02,_0x48adcf){const _0x117ff4={_0x21675b:0x19c,_0x123b69:0x18d,_0x5e5bf1:0x17c,_0x9d3047:0x19c,_0x1102c4:0x176,_0x3ad28e:0x191,_0x77627a:0x1ab,_0x10e2aa:0x1c7,_0x26e2c6:0x177,_0x17c1ff:0x182,_0x41b51d:0x179,_0x284188:0x181,_0x3b53f7:0x177},_0x35c794={_0x15e4cc:0x1da,_0x1cf53a:0xcf},_0x4c001f={_0x45fece:0x64,_0x4262be:0xcc};await _0x127ca7[_0x38a20f(-0x196,-0x195,-_0x117ff4._0x21675b,-0x197)]['mkdir'](_0x48adcf,{'recursive':!0x0});function _0x38a20f(_0x441b21,_0x5d8fe0,_0x55bdd4,_0x217a64){return _0x5e8efd(_0x441b21-0x17c,_0x55bdd4- -_0x4c001f._0x45fece,_0x55bdd4-_0x4c001f._0x4262be,_0x5d8fe0);}function _0x197cbf(_0x59b761,_0x54101f,_0x4a3fef,_0x15ca6a){return _0x51f1c2(_0x59b761,_0x54101f-_0x35c794._0x15e4cc,_0x4a3fef- -0x20e,_0x15ca6a-_0x35c794._0x1cf53a);}let _0x5aa18c=await _0x127ca7[_0x38a20f(-_0x117ff4._0x123b69,-_0x117ff4._0x5e5bf1,-_0x117ff4._0x9d3047,-0x1a1)][_0x38a20f(-_0x117ff4._0x1102c4,-_0x117ff4._0x3ad28e,-0x197,-0x175)](_0x354d02,{'withFileTypes':!0x0});for(let _0x44e8cb of _0x5aa18c){let _0x7c1825=_0x453827[_0x38a20f(-_0x117ff4._0x77627a,-0x1b5,-_0x117ff4._0x10e2aa,-0x1c9)](_0x354d02,_0x44e8cb[_0x197cbf(-0x187,-0x15a,-_0x117ff4._0x1102c4,-0x15b)]),_0x19579e=_0x453827['join'](_0x48adcf,_0x44e8cb['name']);_0x44e8cb[_0x197cbf(-_0x117ff4._0x26e2c6,-0x1a9,-0x18d,-0x185)]()?await this['copyDirectory'](_0x7c1825,_0x19579e):await _0x127ca7[_0x197cbf(-_0x117ff4._0x17c1ff,-_0x117ff4._0x41b51d,-_0x117ff4._0x284188,-_0x117ff4._0x3b53f7)]['copyFile'](_0x7c1825,_0x19579e);}}};export{s as a,p as b};
1
+ function _0x14772c(_0x2ec79d,_0x2735ab,_0x3fd3ea,_0x420dbf){return _0x4fe1(_0x3fd3ea-0x245,_0x2ec79d);}function _0x4fe1(_0x570246,_0x8bf701){_0x570246=_0x570246-0x100;const _0x5458a9=_0x5458();let _0x4fe169=_0x5458a9[_0x570246];if(_0x4fe1['ZxPWaa']===undefined){var _0x59a10c=function(_0x5f2f18){const _0x18ee0b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x607a38='',_0x42cfb7='';for(let _0x5a16c3=0x0,_0x566a1f,_0x431154,_0x3e27a0=0x0;_0x431154=_0x5f2f18['charAt'](_0x3e27a0++);~_0x431154&&(_0x566a1f=_0x5a16c3%0x4?_0x566a1f*0x40+_0x431154:_0x431154,_0x5a16c3++%0x4)?_0x607a38+=String['fromCharCode'](0xff&_0x566a1f>>(-0x2*_0x5a16c3&0x6)):0x0){_0x431154=_0x18ee0b['indexOf'](_0x431154);}for(let _0x50ee99=0x0,_0x15a6c3=_0x607a38['length'];_0x50ee99<_0x15a6c3;_0x50ee99++){_0x42cfb7+='%'+('00'+_0x607a38['charCodeAt'](_0x50ee99)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x42cfb7);};_0x4fe1['bPDeMI']=_0x59a10c,_0x4fe1['mLTlHM']={},_0x4fe1['ZxPWaa']=!![];}const _0x2466f5=_0x5458a9[0x0],_0x1c1b3d=_0x570246+_0x2466f5,_0x5c62eb=_0x4fe1['mLTlHM'][_0x1c1b3d];return!_0x5c62eb?(_0x4fe169=_0x4fe1['bPDeMI'](_0x4fe169),_0x4fe1['mLTlHM'][_0x1c1b3d]=_0x4fe169):_0x4fe169=_0x5c62eb,_0x4fe169;}(function(_0x38ae00,_0x2c4e23){const _0x6d8ef8={_0x50a0ae:0xe2,_0x385218:0xda,_0x3e6ca4:0x16b,_0xadae41:0x133,_0x1cad7e:0x14e,_0x5010a6:0x162,_0x15b34c:0x147,_0x48ca99:0x153,_0x2e8b68:0xc6,_0x1cfde0:0xa4,_0x2c6f0a:0x87,_0x404cb6:0x8e,_0xa54781:0x17c,_0x4768a2:0x17b,_0x3c0bb7:0xa7,_0x7384d:0x171,_0x4522d3:0x179,_0x2b51d6:0xae,_0xb4ecf5:0xa3,_0x516733:0xb2},_0x40b5ae={_0x1027d3:0x284},_0x359532=_0x38ae00();function _0x3b8e15(_0x4870de,_0x3d56a5,_0x249bb7,_0x173fb7){return _0x4fe1(_0x173fb7- -_0x40b5ae._0x1027d3,_0x4870de);}function _0x369faf(_0x4804b2,_0x520a6d,_0x52e4fd,_0x5e49ed){return _0x4fe1(_0x52e4fd- -0x1e1,_0x5e49ed);}while(!![]){try{const _0x26f789=-parseInt(_0x369faf(-0xe6,-_0x6d8ef8._0x50a0ae,-0xd9,-_0x6d8ef8._0x385218))/0x1*(parseInt(_0x3b8e15(-_0x6d8ef8._0x3e6ca4,-_0x6d8ef8._0xadae41,-0x145,-_0x6d8ef8._0x1cad7e))/0x2)+-parseInt(_0x369faf(-0x9f,-0xb4,-0x9e,-0x92))/0x3*(parseInt(_0x3b8e15(-_0x6d8ef8._0x5010a6,-_0x6d8ef8._0x15b34c,-0x150,-_0x6d8ef8._0x48ca99))/0x4)+-parseInt(_0x369faf(-_0x6d8ef8._0x2e8b68,-0xba,-_0x6d8ef8._0x1cfde0,-_0x6d8ef8._0x2c6f0a))/0x5+parseInt(_0x369faf(-0xb9,-_0x6d8ef8._0x404cb6,-0xac,-0xb3))/0x6*(-parseInt(_0x3b8e15(-0x184,-_0x6d8ef8._0xa54781,-_0x6d8ef8._0x4768a2,-0x167))/0x7)+-parseInt(_0x369faf(-0x8a,-0x8a,-_0x6d8ef8._0x3c0bb7,-0xc9))/0x8*(parseInt(_0x3b8e15(-_0x6d8ef8._0x7384d,-0x159,-_0x6d8ef8._0x4522d3,-0x175))/0x9)+parseInt(_0x369faf(-_0x6d8ef8._0x2b51d6,-0xae,-0xa8,-0xb3))/0xa*(parseInt(_0x3b8e15(-0x18d,-0x17b,-0x17c,-0x171))/0xb)+parseInt(_0x369faf(-0xd1,-_0x6d8ef8._0xb4ecf5,-_0x6d8ef8._0x516733,-0xcb))/0xc;if(_0x26f789===_0x2c4e23)break;else _0x359532['push'](_0x359532['shift']());}catch(_0x4c2b89){_0x359532['push'](_0x359532['shift']());}}}(_0x5458,0xd8497));function _0x2da0bc(_0x447acd,_0x36e853,_0x573148,_0x31be3d){const _0x3c4f88={_0x2e48bd:0x3d4};return _0x4fe1(_0x573148-_0x3c4f88._0x2e48bd,_0x31be3d);}var s='default',c=_0x2da0bc(0x518,0x505,0x50b,0x508),g='profiles';import*as _0x607a38 from'fs';import*as _0x42cfb7 from'os';function _0x5458(){const _0x23aacc=['AxneAxjLy3rVCNK','CMvNAxn0CNK','CMvHzgrPCG','n2XcB0fwDW','yMfZzurPCG','DxrMltG','C2vZC2LVBNm','z2v0uhjVzMLSzunVBMzPz1bHDgG','y3jLyxrL','zxHPC3rZu3LUyW','y2XVBMvgCM9T','y2XVBMvqCM9MAwXLrMLSzxm','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','zxHPC3rZ','zgvSzxrL','y29WEurPCMvJDg9YEq','z2v0qwn0AxzL','AM9PBG','DgvZDa','rgvMyxvSDcbWCM9MAwXL','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','mtaYmJC1nJqWBe92vK1u','ywn0AxzL','ntC2mJe2nfz3zKXnAa','jYbHBhjLywr5igv4Axn0CW','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','u291CMnLihbYB2zPBguGjW','otCYndC1ohbKrwjIqG','nZe4nKPdCwPJzW','ChjVzMLSzxmUEwfTBa','BwvZC2fNzq','mtbvz0jer24','ofbct1D2vq','zM9Yy2u','y29UzMLNlNLHBwW','nZy3ndC1mhHftw90Dq','z2v0uhjVzMLSzunVBw1HBMrZrgLY','jYaOCMvZzxj2zwqP','AxnezwzHDwX0','rMfPBgvKihrVigXVywqGChjVzMLSzxmGCMvNAxn0CNK6ia','D3jPDgvgAwXL','m3v2BgHivW','y29TBwfUzhm','Bg9Nz2vY','C3DPDgnO','Bg9HzfjLz2LZDhj5','ChjVzMLSzxm','Ag9TzwrPCG','CMvHzezPBgu','z2v0uhjVzMLSzufNzw50C0rPCG','Dg9ju09tDhjPBMC','q2fUBM90igrLBgv0zsbKzwzHDwX0ihbYB2zPBgu','Aw5PDgLHBgL6zq','CMvNAxn0CNLqyxrO','ndm5rw1nsefh','zgvZy3jPChrPB24','y29WEuzPBgu','jYbKB2vZig5VDcbLEgLZDa','BwTKAxi','DMfSDwvZ','BMfTzq','mtm2odu1ntn1quXtCuC','z2v0uhjVzMLSzurPCG','ChjVBwLZzxm','ChjVzMLSzxneAxi','nJi4odu5DvbrwMfK','uhjVzMLSzsaN','C2f2zvjLz2LZDhj5','ChvZAa','jY4Gu3DPDgnOihrVigfUB3rOzxiGChjVzMLSzsbMAxjZDcbVCIb1C2uGls1MB3jJzq','lM51DMLUlwnSAq','ywDLBNrZ'];_0x5458=function(){return _0x23aacc;};return _0x5458();}import*as _0x5a16c3 from'path';import{parse as _0x566a1f,stringify as _0x431154}from'yaml';var p=class{constructor(_0x3e27a0=()=>{}){const _0x2c0848={_0x19ff41:0x203,_0x1bb438:0x1a1,_0x5b4c38:0x185,_0x3028d6:0xb5,_0x4a4b2d:0xa3,_0x3f0630:0x190,_0x3d4659:0x1c8,_0x49cc30:0x1dc,_0xd58e69:0x1c0,_0x117dea:0x1da,_0x1293d6:0x1d9,_0x4d31fe:0x19f,_0x30bc11:0x1a3},_0x4e7b0b={_0x2cb408:0x1f1,_0xf2f639:0x334},_0xe03147={_0x575c39:0x196,_0x1795ce:0x437};function _0x22f2a5(_0xcaff66,_0x3fa260,_0x57e88f,_0x34df98){return _0x2da0bc(_0xcaff66-_0xe03147._0x575c39,_0x3fa260-0x16a,_0x3fa260- -_0xe03147._0x1795ce,_0xcaff66);}function _0x39fd8b(_0x124ce1,_0x30b0c3,_0x1fe588,_0x502e1b){return _0x2da0bc(_0x124ce1-_0x4e7b0b._0x2cb408,_0x30b0c3-0x1d8,_0x30b0c3- -_0x4e7b0b._0xf2f639,_0x1fe588);}this[_0x39fd8b(0x200,0x1e5,0x1c2,_0x2c0848._0x19ff41)]=_0x3e27a0,(this['baseDir']=_0x5a16c3[_0x39fd8b(0x1b6,0x1cb,0x1d1,0x1e2)](_0x42cfb7[_0x39fd8b(0x191,_0x2c0848._0x1bb438,0x1c1,_0x2c0848._0x5b4c38)](),_0x22f2a5(0xa3,_0x2c0848._0x3028d6,0xb3,_0x2c0848._0x4a4b2d)),this[_0x39fd8b(_0x2c0848._0x3f0630,0x1b2,0x1cd,_0x2c0848._0x3d4659)]=_0x5a16c3['join'](this[_0x39fd8b(_0x2c0848._0x49cc30,0x1be,0x1c3,0x1af)],g),this['registryPath']=_0x5a16c3['join'](this[_0x39fd8b(_0x2c0848._0xd58e69,0x1be,_0x2c0848._0x117dea,_0x2c0848._0x1293d6)],c),this[_0x39fd8b(_0x2c0848._0x4d31fe,0x1bb,_0x2c0848._0x30bc11,0x1d6)]={'active':s,'profiles':{}});}async[_0x2da0bc(0x4d6,0x4dd,0x4da,0x4bd)](){const _0x619c4a={_0x44e140:0x239,_0x5b86fb:0x23e,_0x57fb79:0x216,_0x3015a2:0x22c,_0x44757b:0x24a,_0x3880f9:0x219,_0x4a38e8:0x26b,_0x528975:0x292,_0x55008b:0x273,_0x17581e:0x204,_0x48ca95:0x1ed},_0x1c1e55={_0x42e1d6:0x16b,_0x36cdff:0x167},_0xf063aa={_0x285226:0x1ea};function _0x2e14a0(_0x5293e2,_0x5a3fae,_0x3796db,_0x1e8ce6){return _0x2da0bc(_0x5293e2-_0xf063aa._0x285226,_0x5a3fae-0x1ed,_0x5a3fae- -0x762,_0x3796db);}function _0x1784ed(_0x320960,_0x1fd1a0,_0x40013c,_0x16e162){return _0x14772c(_0x1fd1a0,_0x1fd1a0-_0x1c1e55._0x42e1d6,_0x16e162- -0x58f,_0x16e162-_0x1c1e55._0x36cdff);}await _0x607a38['promises'][_0x1784ed(-0x24b,-_0x619c4a._0x44e140,-0x21d,-_0x619c4a._0x5b86fb)](this[_0x1784ed(-0x20b,-_0x619c4a._0x57fb79,-0x224,-_0x619c4a._0x3015a2)],{'recursive':!0x0}),await _0x607a38[_0x1784ed(-_0x619c4a._0x44757b,-0x21c,-_0x619c4a._0x3880f9,-0x239)]['mkdir'](this[_0x2e14a0(-_0x619c4a._0x4a38e8,-0x27c,-_0x619c4a._0x528975,-0x280)],{'recursive':!0x0}),this[_0x2e14a0(-0x27d,-_0x619c4a._0x55008b,-0x270,-0x252)]=await this[_0x1784ed(-_0x619c4a._0x17581e,-_0x619c4a._0x48ca95,-0x218,-0x203)]();}async['list'](){const _0x15e97e={_0xe5c09d:0x496,_0x1f82fb:0x4b1,_0x495725:0x107,_0xce5ad3:0xf2,_0x5ce772:0x4a3,_0x80716c:0x4b9,_0x4b842e:0x4b6,_0x1e24ff:0x4ab,_0xa7a045:0xa6,_0x23dc7e:0xb2,_0x30fcaf:0xe2},_0x2d9d21={_0x5413bd:0xf1,_0x2c8c1b:0x121},_0x1fa3ef={_0x2f6191:0x280};let _0x50ee99=[];function _0x83e2e9(_0x2e1522,_0x4d1fbb,_0x1f6720,_0x391c63){return _0x14772c(_0x391c63,_0x4d1fbb-0x10c,_0x4d1fbb- -_0x1fa3ef._0x2f6191,_0x391c63-0x38);}_0x50ee99[_0x59ab72(0x4cf,_0x15e97e._0xe5c09d,_0x15e97e._0x1f82fb,0x4b5)]({'name':s,'description':_0x83e2e9(_0x15e97e._0x495725,_0x15e97e._0xce5ad3,0xe9,0xde),'created':new Date()['toISOString'](),'lastUsed':new Date()['toISOString']()});function _0x59ab72(_0x37e943,_0x497fc6,_0x2b243d,_0x2ddbc5){return _0x14772c(_0x37e943,_0x497fc6-_0x2d9d21._0x5413bd,_0x2b243d-0x156,_0x2ddbc5-_0x2d9d21._0x2c8c1b);}for(let _0x15a6c3 of Object[_0x59ab72(_0x15e97e._0x5ce772,0x4ba,0x4a8,0x4bf)](this[_0x59ab72(_0x15e97e._0x80716c,0x4ae,_0x15e97e._0x4b842e,_0x15e97e._0x1e24ff)][_0x83e2e9(_0x15e97e._0xa7a045,0xc5,_0x15e97e._0x23dc7e,0xa5)]))_0x50ee99[_0x83e2e9(0xe3,0xdb,_0x15e97e._0x30fcaf,0xc0)](_0x15a6c3);return _0x50ee99;}async[_0x2da0bc(0x502,0x502,0x4f6,0x507)](_0x5b09f2,_0x1fb108={}){const _0x4c750f={_0x238cbe:0x495,_0x44bbf8:0x4a3,_0x114887:0x4a2,_0x359bd3:0x47f,_0x48dab9:0x499,_0x2864dd:0x497,_0x53cb44:0x4a1,_0x50cb2c:0x49e,_0x4fa949:0x4a1,_0x5ba5ce:0x48d,_0x37b201:0x4af,_0x34fb86:0x4a7,_0x29ecc6:0x463,_0x371e8a:0x486,_0x5d0fd4:0x485,_0x1672cd:0x464,_0x72417a:0x486,_0x3d4ed5:0x47e,_0x586ccd:0x49c,_0x594cf0:0x4b0,_0x547635:0x4b0,_0x3ff3e0:0x4d6,_0x40b3eb:0x4ae,_0xa43fef:0x4e0,_0x4791bb:0x4c2,_0x3a6902:0x4ab,_0x4c2445:0x4bf,_0x59f93d:0x4b9,_0xf39db8:0x4a2,_0x550520:0x4bb,_0x163037:0x4bb,_0x44413b:0x4a4,_0x2263ec:0x4be,_0x25c083:0x4b4,_0x85784:0x499,_0x10d67a:0x4c4,_0x2a9b26:0x4c2,_0x45d903:0x470,_0xc2f028:0x479,_0x452e50:0x478,_0x3f87ef:0x458,_0x54d00b:0x464,_0xa13ad0:0x477,_0xb393ec:0x44c,_0x268e5c:0x45c,_0x367db1:0x457,_0x2486e4:0x475,_0x386be8:0x460,_0x100597:0x46c,_0x3debbb:0x453,_0x436d70:0x4bd,_0x1ad17d:0x488,_0xff8b0d:0x4ac},_0x2296dd={_0x20b82f:0xcb,_0x5aff30:0x10e},_0x47e25f={_0x510071:0x64,_0x293ea2:0x152,_0x32aaf8:0x183};if(_0x5b09f2===s)throw new Error(_0x4221bc(0x489,0x494,0x46e,0x481)+s+_0x4221bc(_0x4c750f._0x238cbe,_0x4c750f._0x44bbf8,_0x4c750f._0x114887,0x492));function _0x443dad(_0x5cdf41,_0x5cca86,_0x428bc7,_0x570757){return _0x14772c(_0x428bc7,_0x5cca86-_0x47e25f._0x510071,_0x570757-_0x47e25f._0x293ea2,_0x570757-_0x47e25f._0x32aaf8);}function _0x4221bc(_0x136c00,_0x2b1df5,_0xe27d34,_0x32447c){return _0x14772c(_0xe27d34,_0x2b1df5-_0x2296dd._0x20b82f,_0x32447c-_0x2296dd._0x5aff30,_0x32447c-0x145);}if(!/^[a-zA-Z0-9_-]+$/[_0x4221bc(0x492,0x495,0x48b,_0x4c750f._0x359bd3)](_0x5b09f2))throw new Error(_0x4221bc(_0x4c750f._0x48dab9,0x494,0x484,0x479));if(await this['exists'](_0x5b09f2))throw new Error(_0x4221bc(0x445,0x453,0x470,0x467)+_0x5b09f2+_0x4221bc(_0x4c750f._0x2864dd,_0x4c750f._0x53cb44,_0x4c750f._0x50cb2c,0x485));let _0x60b02e=this['getProfileDir'](_0x5b09f2);if(await _0x607a38[_0x443dad(_0x4c750f._0x4fa949,_0x4c750f._0x5ba5ce,0x498,0x4a8)][_0x443dad(_0x4c750f._0x37b201,0x480,_0x4c750f._0x34fb86,_0x4c750f._0x44bbf8)](_0x60b02e,{'recursive':!0x0}),await _0x607a38[_0x4221bc(_0x4c750f._0x29ecc6,_0x4c750f._0x371e8a,_0x4c750f._0x5d0fd4,_0x4c750f._0x1672cd)][_0x443dad(0x4b3,0x486,_0x4c750f._0x359bd3,_0x4c750f._0x44bbf8)](_0x5a16c3[_0x4221bc(0x46a,0x45b,_0x4c750f._0x72417a,_0x4c750f._0x3d4ed5)](_0x60b02e,_0x443dad(_0x4c750f._0x586ccd,0x4a3,0x4ae,_0x4c750f._0x594cf0)),{'recursive':!0x0}),await _0x607a38['promises'][_0x443dad(_0x4c750f._0x34fb86,_0x4c750f._0x359bd3,_0x4c750f._0x547635,0x4a3)](_0x5a16c3[_0x443dad(_0x4c750f._0x3ff3e0,_0x4c750f._0x40b3eb,_0x4c750f._0xa43fef,_0x4c750f._0x4791bb)](_0x60b02e,_0x443dad(0x4d5,_0x4c750f._0x3a6902,_0x4c750f._0x4c2445,0x4b7)),{'recursive':!0x0}),_0x1fb108[_0x443dad(_0x4c750f._0x59f93d,_0x4c750f._0xf39db8,_0x4c750f._0x550520,_0x4c750f._0x163037)]&&_0x1fb108['cloneFrom']!==s){if(!await this[_0x443dad(0x4af,0x4cd,_0x4c750f._0x44413b,_0x4c750f._0x2263ec)](_0x1fb108[_0x443dad(_0x4c750f._0x25c083,0x4c8,_0x4c750f._0x85784,0x4bb)]))throw new Error(_0x443dad(0x4e0,0x4ce,0x4aa,0x4cb)+_0x1fb108['cloneFrom']+_0x443dad(0x4c0,_0x4c750f._0x10d67a,_0x4c750f._0x2a9b26,_0x4c750f._0x114887));await this[_0x4221bc(_0x4c750f._0x45d903,_0x4c750f._0xc2f028,0x479,_0x4c750f._0x452e50)](_0x1fb108[_0x4221bc(0x475,_0x4c750f._0x3f87ef,_0x4c750f._0x54d00b,_0x4c750f._0xa13ad0)],_0x5b09f2);}let _0x46f85c={'name':_0x5b09f2,'description':_0x1fb108[_0x4221bc(0x47a,_0x4c750f._0xb393ec,0x441,_0x4c750f._0x268e5c)],'created':new Date()[_0x4221bc(0x442,0x46e,_0x4c750f._0x3f87ef,_0x4c750f._0x367db1)](),'lastUsed':new Date()[_0x4221bc(_0x4c750f._0x2486e4,_0x4c750f._0x386be8,0x439,0x457)]()};this['registry'][_0x4221bc(0x437,0x473,_0x4c750f._0x100597,_0x4c750f._0x3debbb)][_0x5b09f2]=_0x46f85c,await this[_0x443dad(_0x4c750f._0x436d70,_0x4c750f._0x1ad17d,0x4b2,_0x4c750f._0xff8b0d)]();}async[_0x14772c(0x388,0x370,0x36d,0x390)](_0x25ab10,_0x44c8ee={}){const _0x23e473={_0x1cd809:0x1f4,_0x140d33:0x206,_0x1e0544:0x1ec,_0x3aea48:0xb5,_0x51feb3:0xd5,_0x2ea3f3:0xe2,_0x9c40d5:0x111,_0x4ad4a0:0x10d,_0x91bc4b:0xf1,_0x345545:0xdb,_0x56db15:0x1d1,_0x54128c:0x1d5,_0x28ec7a:0x1d4,_0x58e767:0x19e,_0x2b37e0:0xf4,_0x566bdf:0xe5,_0xd98d6c:0xbc,_0x2880db:0xf0,_0x208c02:0xb8,_0x51934f:0xd3,_0x6b719b:0x1d0,_0x1bb2a6:0x1d8,_0x5e24df:0x1bf,_0x27bd66:0x1cd,_0x36703d:0x207,_0x3e639e:0x20d,_0x77d06a:0xd7,_0x180a48:0xe1,_0x655fbd:0xcc},_0x25a33f={_0x118781:0x441},_0x2c08d5={_0x36f8d5:0xe4};if(_0x25ab10===s)throw new Error(_0x3d6af7(-_0x23e473._0x1cd809,-_0x23e473._0x140d33,-0x1f6,-_0x23e473._0x1e0544));function _0x3d6af7(_0x506d66,_0x14806e,_0x19ad2c,_0x4c94f6){return _0x14772c(_0x14806e,_0x14806e-0x28,_0x19ad2c- -0x540,_0x4c94f6-_0x2c08d5._0x36f8d5);}if(!await this[_0x3ad930(-0xd4,-_0x23e473._0x3aea48,-0xf5,-_0x23e473._0x51feb3)](_0x25ab10))throw new Error(_0x3ad930(-0xe3,-0xff,-_0x23e473._0x2ea3f3,-0xe8)+_0x25ab10+_0x3ad930(-_0x23e473._0x9c40d5,-_0x23e473._0x4ad4a0,-0xe0,-_0x23e473._0x91bc4b));function _0x3ad930(_0x2953fd,_0x1330ba,_0x37050d,_0x1afe63){return _0x14772c(_0x37050d,_0x1330ba-0x13f,_0x1afe63- -_0x25a33f._0x118781,_0x1afe63-0x5f);}if(this[_0x3ad930(-0xed,-0x105,-_0x23e473._0x345545,-0xe1)][_0x3d6af7(-0x1b8,-_0x23e473._0x56db15,-0x1cb,-_0x23e473._0x54128c)]===_0x25ab10){if(!_0x44c8ee[_0x3d6af7(-_0x23e473._0x28ec7a,-0x1a4,-0x1c0,-_0x23e473._0x58e767)])throw new Error('Cannot\x20delete\x20active\x20profile\x20\x27'+_0x25ab10+_0x3ad930(-0xfe,-0xd0,-_0x23e473._0x2b37e0,-_0x23e473._0x566bdf));this[_0x3d6af7(-0x1d2,-0x1eb,-0x1e0,-0x1f0)][_0x3ad930(-_0x23e473._0xd98d6c,-_0x23e473._0x2880db,-_0x23e473._0x208c02,-0xcc)]=s;}let _0x27415e=this[_0x3ad930(-0xcb,-0xda,-_0x23e473._0x51934f,-0xec)](_0x25ab10);_0x607a38[_0x3d6af7(-0x1f5,-_0x23e473._0x6b719b,-_0x23e473._0x1bb2a6,-_0x23e473._0x5e24df)](_0x27415e)&&await _0x607a38[_0x3d6af7(-_0x23e473._0x27bd66,-_0x23e473._0x36703d,-0x1ea,-_0x23e473._0x3e639e)]['rm'](_0x27415e,{'recursive':!0x0,'force':!0x0}),delete this[_0x3ad930(-_0x23e473._0x77d06a,-0xbe,-0xe6,-_0x23e473._0x180a48)]['profiles'][_0x25ab10],await this[_0x3ad930(-0x100,-_0x23e473._0x655fbd,-0xc6,-0xe7)]();}async[_0x14772c(0x3a8,0x39b,0x38b,0x39d)](_0x39dc2d){const _0x1ef8ca={_0x1d5004:0x143,_0x4cba77:0x167,_0x498d8c:0x166,_0x2b5255:0x14d,_0x3bdafc:0x3af,_0x38b3d5:0x3b8,_0x483269:0x3c0,_0xb78b7c:0x3c5,_0x5ccac8:0x3d4,_0x4d49f2:0x14f,_0x31d0b0:0x161,_0x273eab:0x16a,_0x104a59:0x403,_0x4cf529:0x400,_0x2f0a3d:0x15e,_0x257fa7:0x16c,_0x4717aa:0x16a,_0x116234:0x14a,_0x3d129e:0x144,_0x7ecfb:0x145,_0x589dd9:0x3b9,_0x1f106a:0x167,_0x5b9fb6:0x154},_0x44a53f={_0x2e3d75:0x116},_0x37faef={_0x111a7d:0x1ab};function _0x16ffcb(_0x2c12b6,_0x515b71,_0x1dddbd,_0xede4c5){return _0x2da0bc(_0x2c12b6-0x2a,_0x515b71-_0x37faef._0x111a7d,_0x2c12b6- -0x63e,_0x515b71);}function _0x289cea(_0x1b81fb,_0x296ecf,_0x32e2d1,_0x57c4ae){return _0x2da0bc(_0x1b81fb-_0x44a53f._0x2e3d75,_0x296ecf-0x75,_0x296ecf- -0x11f,_0x57c4ae);}if(_0x39dc2d!==s&&!await this[_0x16ffcb(-_0x1ef8ca._0x1d5004,-_0x1ef8ca._0x4cba77,-_0x1ef8ca._0x498d8c,-_0x1ef8ca._0x2b5255)](_0x39dc2d))throw new Error(_0x289cea(_0x1ef8ca._0x3bdafc,0x3c9,0x3b9,_0x1ef8ca._0x38b3d5)+_0x39dc2d+_0x289cea(0x3c7,_0x1ef8ca._0x483269,_0x1ef8ca._0xb78b7c,_0x1ef8ca._0x5ccac8));this[_0x16ffcb(-_0x1ef8ca._0x4d49f2,-0x136,-_0x1ef8ca._0x31d0b0,-_0x1ef8ca._0x273eab)][_0x289cea(_0x1ef8ca._0x104a59,0x3e5,0x3df,_0x1ef8ca._0x4cf529)]=_0x39dc2d,_0x39dc2d!==s&&this[_0x16ffcb(-0x14f,-_0x1ef8ca._0x2f0a3d,-_0x1ef8ca._0x257fa7,-0x16b)][_0x16ffcb(-_0x1ef8ca._0x4717aa,-0x182,-_0x1ef8ca._0x116234,-0x153)][_0x39dc2d]&&(this[_0x16ffcb(-0x14f,-_0x1ef8ca._0x3d129e,-0x140,-_0x1ef8ca._0x7ecfb)]['profiles'][_0x39dc2d]['lastUsed']=new Date()[_0x289cea(0x3c8,_0x1ef8ca._0x589dd9,0x3a4,_0x1ef8ca._0x5ccac8)]()),await this[_0x16ffcb(-0x155,-_0x1ef8ca._0x1f106a,-0x14f,-_0x1ef8ca._0x5b9fb6)]();}async[_0x2da0bc(0x517,0x501,0x4fe,0x51e)](){const _0x5ec29c={_0x212f20:0x1f8,_0x41649b:0x1bc,_0x3da5b4:0x1d8},_0x850e1b={_0x8bf2ed:0x1df,_0x462f2c:0x10b,_0x2cdf0d:0x6c7};function _0x5008d2(_0x194d6b,_0x238814,_0x48ad10,_0x1f7e31){return _0x2da0bc(_0x194d6b-_0x850e1b._0x8bf2ed,_0x238814-_0x850e1b._0x462f2c,_0x48ad10- -_0x850e1b._0x2cdf0d,_0x1f7e31);}return this[_0x5008d2(-_0x5ec29c._0x212f20,-_0x5ec29c._0x41649b,-_0x5ec29c._0x3da5b4,-0x1bb)]['active']||s;}async[_0x14772c(0x373,0x357,0x36c,0x37c)](_0x96933d){const _0x5edef3={_0x11df50:0x2b3},_0x2fc5fa={_0x441b42:0xa6,_0x29aa89:0x8};function _0xd22050(_0x4a5c20,_0xad74c7,_0x37b00a,_0x43c7a9){return _0x14772c(_0x43c7a9,_0xad74c7-_0x2fc5fa._0x441b42,_0x4a5c20- -0x5f8,_0x43c7a9-_0x2fc5fa._0x29aa89);}return _0x96933d===s?!0x0:_0x96933d in this['registry'][_0xd22050(-_0x5edef3._0x11df50,-0x29f,-0x2d6,-0x29c)]&&_0x607a38['existsSync'](this['getProfileDir'](_0x96933d));}[_0x14772c(0x332,0x36a,0x355,0x368)](_0xee7a65){const _0x3999eb={_0x33fc9d:0x456,_0x3fed39:0x46a,_0x3128e4:0x440,_0x356b8a:0x440,_0x4fc8a8:0x47c},_0x192bf4={_0x49d1b2:0xd5,_0x17b811:0xb},_0x12ca3c={_0x281665:0xf1};function _0x151453(_0x31fc27,_0x18473e,_0xb8a0af,_0x2fdab9){return _0x14772c(_0xb8a0af,_0x18473e-0xf,_0x31fc27-_0x12ca3c._0x281665,_0x2fdab9-0x1ac);}function _0x1b7ba5(_0x37409e,_0x39fc75,_0xd5c2b9,_0x53f1b4){return _0x2da0bc(_0x37409e-_0x192bf4._0x49d1b2,_0x39fc75-_0x192bf4._0x17b811,_0x53f1b4- -0x71f,_0xd5c2b9);}return this[_0x151453(0x476,_0x3999eb._0x33fc9d,_0x3999eb._0x3fed39,0x463)](_0xee7a65)?this[_0x151453(0x454,_0x3999eb._0x3128e4,0x475,_0x3999eb._0x356b8a)]:_0x5a16c3[_0x151453(0x461,0x46f,0x47a,_0x3999eb._0x4fc8a8)](this[_0x1b7ba5(-0x22a,-0x246,-0x22b,-0x239)],_0xee7a65);}[_0x2da0bc(0x504,0x4f8,0x4f5,0x502)](_0x592e6a){const _0x23b091={_0x46895b:0x24b,_0x4c5955:0x249,_0x7c5e:0x4c4,_0x4d4b03:0x211,_0x5c2fe5:0x22c},_0x7a5f5d={_0x40a26f:0x12c},_0x4e49a8={_0x246e74:0x5ad,_0x4bfe63:0xb6};function _0x32adc3(_0x2e1395,_0x458903,_0x5a2791,_0x5866c4){return _0x14772c(_0x458903,_0x458903-0xe1,_0x5866c4- -_0x4e49a8._0x246e74,_0x5866c4-_0x4e49a8._0x4bfe63);}function _0x4585fd(_0x1b87ba,_0x54713c,_0x27dfa8,_0x3b655d){return _0x14772c(_0x1b87ba,_0x54713c-_0x7a5f5d._0x40a26f,_0x54713c-0x16f,_0x3b655d-0xd9);}return _0x5a16c3[_0x32adc3(-_0x23b091._0x46895b,-0x259,-_0x23b091._0x4c5955,-0x23d)](this[_0x4585fd(0x4c9,_0x23b091._0x7c5e,0x4a1,0x4dc)](_0x592e6a),_0x32adc3(-0x210,-0x210,-_0x23b091._0x4d4b03,-_0x23b091._0x5c2fe5));}[_0x2da0bc(0x4ea,0x4bd,0x4d7,0x4c1)](_0x7d5077){const _0x80e469={_0x2e17a9:0x3f4,_0x5f2529:0x3e2,_0x2e343c:0x3f5,_0x211b6f:0x3e2},_0x5b1059={_0xae7958:0x176},_0x49c363={_0x1ab0ae:0x133,_0x1a8eac:0x54};function _0x27f952(_0x4ef57f,_0x53a677,_0x368d3a,_0xcb960){return _0x14772c(_0xcb960,_0x53a677-_0x49c363._0x1ab0ae,_0x53a677-0xb,_0xcb960-_0x49c363._0x1a8eac);}function _0x108997(_0x2d85de,_0x299712,_0x3344c6,_0x4b258b){return _0x2da0bc(_0x2d85de-_0x5b1059._0xae7958,_0x299712-0x95,_0x299712- -0x10b,_0x2d85de);}return _0x5a16c3[_0x108997(0x3dd,_0x80e469._0x2e17a9,0x3d4,0x3fb)](this['getProfileDir'](_0x7d5077),_0x108997(0x406,_0x80e469._0x5f2529,_0x80e469._0x2e343c,_0x80e469._0x211b6f));}['getProfileSessionsDir'](_0xa27079){const _0x36e40a={_0x4adff7:0x1b7,_0xdfa9d2:0x1a7,_0x921b34:0x43,_0x441195:0x35,_0x51e4c2:0x3d},_0x465864={_0x1a9570:0x392},_0x50a15b={_0x41b533:0x6be};function _0x3efe21(_0x579e71,_0xfd3b01,_0x5a0fb7,_0x5e941c){return _0x2da0bc(_0x579e71-0x16b,_0xfd3b01-0xe5,_0x5e941c- -_0x50a15b._0x41b533,_0x579e71);}function _0x496771(_0x5fbd0,_0x36c083,_0x266070,_0x1586c5){return _0x14772c(_0x1586c5,_0x36c083-0x1d4,_0x266070- -_0x465864._0x1a9570,_0x1586c5-0x1dc);}return _0x5a16c3[_0x3efe21(-_0x36e40a._0x4adff7,-_0x36e40a._0xdfa9d2,-0x1d7,-0x1bf)](this[_0x496771(-_0x36e40a._0x921b34,-_0x36e40a._0x441195,-_0x36e40a._0x51e4c2,-0x1b)](_0xa27079),'sessions');}[_0x14772c(0x371,0x366,0x383,0x37c)](_0x40e36a){const _0xc3fabd={_0x23c6a0:0xfc,_0x588103:0x102,_0x39df36:0xe4,_0x5dd57f:0xda},_0x181e15={_0x597dee:0x49};function _0x2042e8(_0x49b37e,_0xfc60b6,_0xad54b6,_0x193b23){return _0x2da0bc(_0x49b37e-0x7d,_0xfc60b6-_0x181e15._0x597dee,_0xad54b6- -0x4af,_0x49b37e);}function _0x1f8469(_0xf4aabb,_0x6ed252,_0x364fb0,_0x36b629){return _0x14772c(_0x6ed252,_0x6ed252-0x1f2,_0x364fb0- -0x472,_0x36b629-0x14f);}return _0x5a16c3[_0x1f8469(-0x11b,-_0xc3fabd._0x23c6a0,-_0xc3fabd._0x588103,-_0xc3fabd._0x39df36)](this[_0x1f8469(-0x124,-0xfb,-0x11d,-0x137)](_0x40e36a),_0x1f8469(-0xe9,-_0xc3fabd._0x5dd57f,-0xe9,-0xf7));}[_0x2da0bc(0x514,0x51e,0x514,0x4f6)](_0x24162f){return _0x24162f===s;}async[_0x2da0bc(0x52e,0x51c,0x51b,0x514)](){const _0x4aabad={_0x57ce00:0xf2,_0x1693af:0xfa,_0x16f266:0xee,_0xccbb:0xe2,_0x1445ee:0xd5,_0x100e37:0xca,_0x4a332b:0xf7,_0x41a96f:0x2a5,_0x229b03:0x295,_0x5cc63b:0x2d4,_0x55a141:0x2ad,_0x144b10:0x2a6,_0x370908:0x2c5,_0x8964ee:0xaf,_0x150b43:0xbb,_0x240d23:0xb9,_0x35ef91:0xa6,_0x3467b8:0xb9,_0x2acbba:0xa8,_0x344c68:0x2d6,_0x289577:0x2cd},_0x2ba920={_0x345ab:0x77};function _0x1534b3(_0x3843df,_0x1b41c2,_0x1108ed,_0x4af556){return _0x14772c(_0x1b41c2,_0x1b41c2-_0x2ba920._0x345ab,_0x3843df- -0x439,_0x4af556-0x3c);}if(!_0x607a38[_0x1534b3(-0xd1,-0xbf,-0xc0,-0xe5)](this['registryPath']))return{'active':s,'profiles':{}};function _0x414f45(_0x575d13,_0x40a6ec,_0x55c637,_0x3d0fd7){return _0x14772c(_0x3d0fd7,_0x40a6ec-0x190,_0x40a6ec- -0xb0,_0x3d0fd7-0x2b);}try{let _0x1c4c6f=await _0x607a38['promises'][_0x1534b3(-_0x4aabad._0x57ce00,-0x116,-_0x4aabad._0x1693af,-_0x4aabad._0x16f266)](this[_0x1534b3(-0xed,-0x10f,-0xd3,-_0x4aabad._0xccbb)],_0x1534b3(-_0x4aabad._0x1445ee,-0xdb,-_0x4aabad._0x100e37,-_0x4aabad._0x4a332b)),_0x214ce3=_0x566a1f(_0x1c4c6f);if(!_0x214ce3||typeof _0x214ce3!='object')return{'active':s,'profiles':{}};let _0x5867fa=_0x214ce3;return(!_0x5867fa[_0x1534b3(-0xf4,-0x10f,-0xd8,-0xe7)]||typeof _0x5867fa[_0x414f45(_0x4aabad._0x41a96f,_0x4aabad._0x229b03,0x274,0x288)]!='object')&&(_0x5867fa['profiles']={}),_0x5867fa[_0x414f45(_0x4aabad._0x5cc63b,0x2c5,_0x4aabad._0x55a141,0x2ad)]||(_0x5867fa[_0x414f45(_0x4aabad._0x144b10,_0x4aabad._0x370908,0x2e8,0x2d1)]=s),_0x5867fa;}catch(_0x1a0706){return this[_0x1534b3(-_0x4aabad._0x8964ee,-0x94,-_0x4aabad._0x150b43,-_0x4aabad._0x240d23)](_0x1534b3(-0xb3,-_0x4aabad._0x35ef91,-_0x4aabad._0x3467b8,-_0x4aabad._0x2acbba)+(_0x1a0706 instanceof Error?_0x1a0706[_0x414f45(_0x4aabad._0x344c68,_0x4aabad._0x289577,0x2b7,0x2c0)]:String(_0x1a0706))),{'active':s,'profiles':{}};}}async[_0x2da0bc(0x4e2,0x4dc,0x4e9,0x4f9)](){const _0x522189={_0x1f7936:0x75,_0x123385:0x88,_0x1c6199:0x72,_0x50b173:0x61,_0x5bf4bd:0x8b,_0x29b7d3:0x55,_0x11b70f:0x50,_0x10fd2f:0x3d,_0x484425:0x7f,_0x4d478f:0x59,_0x182bf5:0x78,_0x24c4ee:0x3e,_0xaa5400:0x9b,_0x4e7385:0x76,_0x415a2a:0x89,_0x3639bf:0x73,_0x2c4ff4:0x6c,_0x3a3931:0xa0,_0x571b31:0x8f},_0x487e7c={_0x5e63ac:0x3c4,_0x7c6999:0x1b8},_0x47204e={_0x4c00de:0x1b4,_0x17a1a3:0x2ef,_0x2c069f:0x108};function _0x3b818b(_0x34463e,_0x580cb2,_0x15140b,_0x20c620){return _0x14772c(_0x20c620,_0x580cb2-_0x47204e._0x4c00de,_0x34463e- -_0x47204e._0x17a1a3,_0x20c620-_0x47204e._0x2c069f);}function _0x17ff86(_0x90eac,_0x2a12bf,_0xb23466,_0x593f76){return _0x14772c(_0x2a12bf,_0x2a12bf-0x1e3,_0x593f76- -_0x487e7c._0x5e63ac,_0x593f76-_0x487e7c._0x7c6999);}try{let _0xa48103=_0x431154(this[_0x3b818b(0x71,_0x522189._0x1f7936,_0x522189._0x123385,0x51)]);await _0x607a38[_0x17ff86(-_0x522189._0x1c6199,-_0x522189._0x50b173,-_0x522189._0x5bf4bd,-0x6e)][_0x17ff86(-_0x522189._0x29b7d3,-0x26,-_0x522189._0x11b70f,-_0x522189._0x10fd2f)](this[_0x17ff86(-_0x522189._0x484425,-_0x522189._0x4d478f,-0x7e,-_0x522189._0x182bf5)],_0xa48103,_0x17ff86(-0x4a,-_0x522189._0x24c4ee,-0x4f,-0x60));}catch(_0x55d23e){throw this[_0x3b818b(_0x522189._0xaa5400,0x7e,0xb0,0xbc)](_0x3b818b(0x89,_0x522189._0x4e7385,_0x522189._0x415a2a,_0x522189._0x3639bf)+(_0x55d23e instanceof Error?_0x55d23e[_0x3b818b(0x8e,_0x522189._0x2c4ff4,_0x522189._0x3a3931,_0x522189._0x571b31)]:String(_0x55d23e))),_0x55d23e;}}async['cloneProfileFiles'](_0xdecc15,_0xeadaea){const _0x3cbd5f={_0x87784:0x1c,_0x458857:0x1a,_0x4654b3:0xc,_0x445174:0x226,_0x164391:0x240,_0x4c7dba:0x25d,_0x4bc2fc:0x254,_0x496f95:0x238,_0x3c0806:0x25a,_0x13768d:0x249,_0x293433:0x13,_0x217fb4:0x13,_0x217652:0xa,_0x2cb349:0x258,_0x23ec73:0x23a,_0x57d3a3:0x253},_0x314bf1={_0x1c969d:0x144,_0x5718ad:0x193};let _0x42a4ea=this['getProfileDir'](_0xdecc15),_0x2ced72=this[_0x3e85c3(-0x15,-0x31,-_0x3cbd5f._0x87784,-_0x3cbd5f._0x458857)](_0xeadaea),_0x2ed980=_0x5a16c3['join'](_0x42a4ea,_0x3e85c3(0x1e,-_0x3cbd5f._0x4654b3,0x10,0x1c)),_0x51d3f0=_0x5a16c3[_0x5a580d(-0x259,-0x226,-_0x3cbd5f._0x445174,-_0x3cbd5f._0x164391)](_0x2ced72,'config.yaml');function _0x3e85c3(_0x57d4f4,_0x4d0bc0,_0x5239fe,_0x521426){return _0x2da0bc(_0x57d4f4-_0x314bf1._0x1c969d,_0x4d0bc0-_0x314bf1._0x5718ad,_0x5239fe- -0x500,_0x521426);}_0x607a38[_0x5a580d(-_0x3cbd5f._0x4c7dba,-0x26a,-_0x3cbd5f._0x4bc2fc,-0x248)](_0x2ed980)&&await _0x607a38[_0x5a580d(-0x264,-_0x3cbd5f._0x496f95,-0x25a,-_0x3cbd5f._0x3c0806)][_0x5a580d(-_0x3cbd5f._0x4c7dba,-0x261,-_0x3cbd5f._0x13768d,-0x261)](_0x2ed980,_0x51d3f0);let _0x5aca41=_0x5a16c3[_0x5a580d(-0x242,-0x25a,-0x260,-0x240)](_0x42a4ea,'agents'),_0x34345a=_0x5a16c3['join'](_0x2ced72,_0x3e85c3(-_0x3cbd5f._0x293433,0xb,-_0x3cbd5f._0x217fb4,_0x3cbd5f._0x217652));function _0x5a580d(_0x20b8c5,_0x395d9f,_0xc50ef5,_0x4689be){return _0x2da0bc(_0x20b8c5-0x40,_0x395d9f-0x4f,_0x4689be- -0x73f,_0xc50ef5);}_0x607a38[_0x5a580d(-0x227,-_0x3cbd5f._0x2cb349,-0x230,-0x248)](_0x5aca41)&&await this[_0x5a580d(-0x240,-_0x3cbd5f._0x23ec73,-_0x3cbd5f._0x57d3a3,-0x242)](_0x5aca41,_0x34345a);}async[_0x14772c(0x383,0x34e,0x36e,0x34c)](_0xea59e7,_0x24ceab){const _0x31dbaf={_0x3790c6:0x1da,_0x1cd50:0x1b1,_0x34892a:0x1d6,_0x4fe144:0x1b4,_0x7e1cb1:0x19f,_0x50db30:0x340,_0x618199:0x333,_0x271609:0x34c,_0x20b449:0x365,_0x182299:0x34b,_0x488cfb:0x1b5,_0x36127b:0x1a7,_0x3de331:0x1cc,_0x4b440e:0x1c3,_0x45901c:0x1a8},_0x354993={_0x133e75:0xde},_0x5512e9={_0x1014b0:0x9e,_0x66c911:0x1a2};function _0x7e9115(_0x3cbb6e,_0x3a9a56,_0x7158ee,_0x122d19){return _0x2da0bc(_0x3cbb6e-_0x5512e9._0x1014b0,_0x3a9a56-0x13b,_0x3a9a56- -_0x5512e9._0x66c911,_0x3cbb6e);}await _0x607a38['promises']['mkdir'](_0x24ceab,{'recursive':!0x0});function _0x30ffe2(_0x1f9973,_0x35e130,_0xcf86f2,_0x4bc659){return _0x2da0bc(_0x1f9973-0x166,_0x35e130-_0x354993._0x133e75,_0x1f9973- -0x6aa,_0x35e130);}let _0x3dec72=await _0x607a38['promises'][_0x30ffe2(-0x1ba,-0x1d0,-_0x31dbaf._0x3790c6,-_0x31dbaf._0x1cd50)](_0xea59e7,{'withFileTypes':!0x0});for(let _0x18c37f of _0x3dec72){let _0x1afcb0=_0x5a16c3['join'](_0xea59e7,_0x18c37f[_0x30ffe2(-0x1c8,-_0x31dbaf._0x34892a,-0x1cd,-_0x31dbaf._0x4fe144)]),_0x59818b=_0x5a16c3[_0x30ffe2(-0x1ab,-0x1c2,-_0x31dbaf._0x7e1cb1,-0x1ce)](_0x24ceab,_0x18c37f[_0x7e9115(0x345,_0x31dbaf._0x50db30,0x34f,_0x31dbaf._0x618199)]);_0x18c37f[_0x7e9115(0x33a,_0x31dbaf._0x271609,_0x31dbaf._0x20b449,_0x31dbaf._0x182299)]()?await this[_0x30ffe2(-0x1ad,-0x18d,-_0x31dbaf._0x488cfb,-_0x31dbaf._0x36127b)](_0x1afcb0,_0x59818b):await _0x607a38['promises'][_0x30ffe2(-_0x31dbaf._0x3de331,-0x1a8,-_0x31dbaf._0x4b440e,-_0x31dbaf._0x45901c)](_0x1afcb0,_0x59818b);}}};export{s as a,p as b};