@nuvin/nuvin-cli 1.15.2 → 1.16.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.
@@ -0,0 +1 @@
1
+ (function(_0x56cc7a,_0x2c8f91){const _0x2d1fe8={_0x431c35:0x4c3,_0x3feeb3:0x4d8,_0x56f8dc:0x4ca,_0x58d60a:0x149,_0x1dbb59:0x157,_0x5039e6:0x17c,_0x99be20:0x15e,_0x2f2b22:0x4fe,_0x3b2108:0x152,_0x2d6666:0x14d,_0x31ad65:0x501,_0x491eeb:0x4ec,_0x23cc8d:0x14a,_0xb86778:0x16d,_0x10b258:0x132,_0x1a7dfc:0x4ee,_0x429714:0x4e6},_0x4896c8={_0xd17d57:0x99},_0x59a46d={_0x2ea02a:0x2f9};function _0x479610(_0x29f816,_0x55e07f,_0x3afac1,_0x5b14a1){return _0xfd99(_0x55e07f-_0x59a46d._0x2ea02a,_0x29f816);}function _0x10144b(_0x2130a9,_0x2badf7,_0x5c8283,_0x538020){return _0xfd99(_0x2130a9- -_0x4896c8._0xd17d57,_0x5c8283);}const _0x3aabec=_0x56cc7a();while(!![]){try{const _0x2ce9c9=-parseInt(_0x479610(_0x2d1fe8._0x431c35,_0x2d1fe8._0x3feeb3,0x4c1,0x4d0))/0x1+-parseInt(_0x479610(0x4e4,0x4e5,0x4de,_0x2d1fe8._0x56f8dc))/0x2+-parseInt(_0x10144b(_0x2d1fe8._0x58d60a,0x166,_0x2d1fe8._0x1dbb59,0x147))/0x3+parseInt(_0x10144b(0x15d,_0x2d1fe8._0x5039e6,0x15a,_0x2d1fe8._0x99be20))/0x4*(parseInt(_0x479610(0x4fd,0x4fc,_0x2d1fe8._0x2f2b22,0x4ea))/0x5)+-parseInt(_0x10144b(0x13a,_0x2d1fe8._0x3b2108,_0x2d1fe8._0x2d6666,0x14b))/0x6*(-parseInt(_0x479610(_0x2d1fe8._0x31ad65,0x4f3,_0x2d1fe8._0x491eeb,0x4fc))/0x7)+parseInt(_0x10144b(0x156,_0x2d1fe8._0x23cc8d,_0x2d1fe8._0xb86778,0x16f))/0x8*(parseInt(_0x10144b(0x144,0x147,0x150,_0x2d1fe8._0x10b258))/0x9)+parseInt(_0x479610(0x4d4,_0x2d1fe8._0x1a7dfc,_0x2d1fe8._0x429714,0x50e))/0xa;if(_0x2ce9c9===_0x2c8f91)break;else _0x3aabec['push'](_0x3aabec['shift']());}catch(_0x375c28){_0x3aabec['push'](_0x3aabec['shift']());}}}(_0xb813,0x8aebe));var s=_0x450a98(0x6e,0x60,0x57,0x61),c=_0x450a98(0x7d,0x65,0x4d,0x57),g=_0x199a9f(-0x15a,-0x145,-0x159,-0x157);import*as _0x2ae711 from'fs';import*as _0x3e7616 from'os';function _0x199a9f(_0x22f129,_0x27b1a1,_0x311951,_0x3b59e3){const _0x1d8e61={_0x535bf6:0x329};return _0xfd99(_0x3b59e3- -_0x1d8e61._0x535bf6,_0x22f129);}function _0xb813(){const _0x65d8e=['ntyXmtDwteX5D08','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','DxrMltG','mZaZnZaYm1PdsgLstW','z2v0uhjVzMLSzunVBMzPz1bHDgG','q2fUBM90igrLBgv0zsbHy3rPDMuGChjVzMLSzsaN','ChjVBwLZzxm','y2XVBMvgCM9T','CMvNAxn0CNLqyxrO','Aw5PDgLHBgL6zq','CMvNAxn0CNK','AM9PBG','ChjVzMLSzxneAxi','mteWnJmZnK5utujMzG','z2v0uhjVzMLSzurPCG','ywn0AxzL','ofPAAfDcDa','rMfPBgvKihrVigXVywqGChjVzMLSzxmGCMvNAxn0CNK6ia','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','lM51DMLUlwnSAq','yMfZzurPCG','y2XVBMvqCM9MAwXLrMLSzxm','otGZnJq0meLhyNnVsW','nff5ENfACW','AxneAxjLy3rVCNK','zM9Yy2u','rgvMyxvSDcbWCM9MAwXL','nJK1ohj0tM1krW','C2vZC2LVBNm','Dg9ju09tDhjPBMC','zxHPC3rZ','BwTKAxi','ywDLBNrZ','zxHPC3rZu3LUyW','uhjVzMLSzsaN','zgvMyxvSDa','mZi5mJG2nwz3rw1yzW','jYbKB2vZig5VDcbLEgLZDa','z2v0qwn0AxzL','DgvZDa','ChjVzMLSzxmUEwfTBa','zgvSzxrL','Bg9HzfjLz2LZDhj5','q2fUBM90igrLBgv0zsbKzwzHDwX0ihbYB2zPBgu','y29UzMLNlNLHBwW','AxnezwzHDwX0','Bg9Nz2vY','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','BgfZDfvZzwq','C2f2zvjLz2LZDhj5','BMfTzq','ChvZAa','ChjVzMLSzxm','mJmYmNj4ENPbAa','C3DPDgnO','zgvZy3jPChrPB24','y29WEurPCMvJDg9YEq','jY4Gu3DPDgnOihrVigfUB3rOzxiGChjVzMLSzsbMAxjZDcbVCIb1C2uGls1MB3jJzq','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','BwvZC2fNzq','y3jLyxrL','DMfSDwvZ','B2jQzwn0','mtq3mZC3n0XTquzRtq','y29WEuzPBgu'];_0xb813=function(){return _0x65d8e;};return _0xb813();}import*as _0xb78aff from'path';function _0x450a98(_0x2b4f98,_0x4e84fe,_0x26e4c0,_0x400c62){return _0xfd99(_0x4e84fe- -0x1a2,_0x2b4f98);}function _0xfd99(_0x5a49ce,_0x57d53e){_0x5a49ce=_0x5a49ce-0x1cb;const _0xb813c9=_0xb813();let _0xfd991a=_0xb813c9[_0x5a49ce];if(_0xfd99['Sjqmew']===undefined){var _0x48f88c=function(_0x30d915){const _0x1f653b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2ae711='',_0x3e7616='';for(let _0xb78aff=0x0,_0x12912e,_0x2e6cb7,_0xe182eb=0x0;_0x2e6cb7=_0x30d915['charAt'](_0xe182eb++);~_0x2e6cb7&&(_0x12912e=_0xb78aff%0x4?_0x12912e*0x40+_0x2e6cb7:_0x2e6cb7,_0xb78aff++%0x4)?_0x2ae711+=String['fromCharCode'](0xff&_0x12912e>>(-0x2*_0xb78aff&0x6)):0x0){_0x2e6cb7=_0x1f653b['indexOf'](_0x2e6cb7);}for(let _0x410586=0x0,_0x25cd85=_0x2ae711['length'];_0x410586<_0x25cd85;_0x410586++){_0x3e7616+='%'+('00'+_0x2ae711['charCodeAt'](_0x410586)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3e7616);};_0xfd99['FlqtHV']=_0x48f88c,_0xfd99['YmtvgP']={},_0xfd99['Sjqmew']=!![];}const _0x25d5bf=_0xb813c9[0x0],_0x3fd819=_0x5a49ce+_0x25d5bf,_0x4505f2=_0xfd99['YmtvgP'][_0x3fd819];return!_0x4505f2?(_0xfd991a=_0xfd99['FlqtHV'](_0xfd991a),_0xfd99['YmtvgP'][_0x3fd819]=_0xfd991a):_0xfd991a=_0x4505f2,_0xfd991a;}import{parse as _0x12912e,stringify as _0x2e6cb7}from'yaml';var p=class{constructor(_0xe182eb=()=>{}){const _0x1917d2={_0x5e0efb:0x520,_0x429ebc:0x523,_0x462d53:0x41b,_0x224f0a:0x42f,_0x4e76eb:0x446,_0x19b75d:0x437,_0x4a3b62:0x41f,_0x2e2514:0x429,_0x59e7df:0x43d,_0x39c02b:0x514,_0x5777c9:0x4ff,_0x501f6c:0x502,_0x146dc2:0x416,_0x4da16e:0x41e},_0x55746b={_0x1d58f9:0x10e,_0x1cc0f0:0x1a9,_0xd48658:0x64b},_0x889d9b={_0xec69a:0xd9,_0x17c354:0x4c};function _0x30c8e9(_0x5e2d85,_0x4f7e4c,_0x182743,_0x434fb4){return _0x450a98(_0x5e2d85,_0x4f7e4c-0x3e6,_0x182743-_0x889d9b._0xec69a,_0x434fb4-_0x889d9b._0x17c354);}this['logger']=_0xe182eb;function _0x539a5a(_0x47fdbf,_0x257cc2,_0x3ffb0c,_0x51ba00){return _0x199a9f(_0x257cc2,_0x257cc2-_0x55746b._0x1d58f9,_0x3ffb0c-_0x55746b._0x1cc0f0,_0x3ffb0c-_0x55746b._0xd48658);}this['baseDir']=_0xb78aff['join'](_0x3e7616['homedir'](),_0x539a5a(_0x1917d2._0x5e0efb,_0x1917d2._0x429ebc,0x514,0x51b)),this['profilesDir']=_0xb78aff[_0x30c8e9(_0x1917d2._0x462d53,0x42e,_0x1917d2._0x224f0a,_0x1917d2._0x4e76eb)](this[_0x30c8e9(0x44d,_0x1917d2._0x19b75d,_0x1917d2._0x4a3b62,0x456)],g),this[_0x30c8e9(_0x1917d2._0x2e2514,0x42b,_0x1917d2._0x59e7df,0x40f)]=_0xb78aff[_0x539a5a(_0x1917d2._0x39c02b,_0x1917d2._0x5777c9,0x50c,_0x1917d2._0x501f6c)](this[_0x30c8e9(_0x1917d2._0x146dc2,0x437,_0x1917d2._0x4da16e,0x454)],c),this[_0x539a5a(0x50d,0x503,0x50b,0x4ec)]={'active':s,'profiles':{}};}async[_0x199a9f(-0x155,-0x131,-0x12f,-0x141)](){const _0x27eeb0={_0x6d1dce:0xdb,_0x31f2a7:0xfa,_0x43e9f6:0xd2,_0xed0651:0x36d,_0x1b5135:0x376,_0x2f3c7c:0x374,_0x4cfc7e:0xd7,_0x424db6:0xc2,_0x5bc395:0x372,_0x1674df:0x37a,_0x50eaa5:0xcb,_0xb5d01e:0xb7,_0x4a7a43:0xbb},_0x2a7025={_0x5830f2:0x177,_0x3c3473:0x4c};function _0x1e4aba(_0x4b94fc,_0x461e02,_0x9f898b,_0x45334c){return _0x450a98(_0x45334c,_0x9f898b- -0x11e,_0x9f898b-_0x2a7025._0x5830f2,_0x45334c-_0x2a7025._0x3c3473);}function _0x5e83a1(_0x3def86,_0x340bb4,_0x5bfc9a,_0x54d7d8){return _0x450a98(_0x54d7d8,_0x5bfc9a-0x331,_0x5bfc9a-0x198,_0x54d7d8-0x1cc);}await _0x2ae711[_0x1e4aba(-0xc5,-0xba,-_0x27eeb0._0x6d1dce,-_0x27eeb0._0x31f2a7)][_0x1e4aba(-0xd4,-_0x27eeb0._0x43e9f6,-0xc2,-0xc6)](this[_0x5e83a1(_0x27eeb0._0xed0651,0x396,0x382,0x39f)],{'recursive':!0x0}),await _0x2ae711[_0x5e83a1(0x378,_0x27eeb0._0x1b5135,_0x27eeb0._0x2f3c7c,0x389)][_0x1e4aba(-0xbc,-_0x27eeb0._0x4cfc7e,-_0x27eeb0._0x424db6,-0xa7)](this[_0x5e83a1(_0x27eeb0._0x5bc395,0x394,_0x27eeb0._0x1674df,0x394)],{'recursive':!0x0}),this[_0x1e4aba(-0xe8,-0xe1,-0xd7,-_0x27eeb0._0x6d1dce)]=await this[_0x1e4aba(-_0x27eeb0._0x50eaa5,-0xb3,-_0x27eeb0._0xb5d01e,-_0x27eeb0._0x4a7a43)]();}async['list'](){const _0x1d24dc={_0x58fe9d:0xe0,_0x5753f7:0xc2,_0xc93aa4:0x2bc,_0x5bd0ed:0x2dc,_0x3d1858:0x2c2,_0x23522d:0x2ea,_0x4b72a8:0xc0,_0x215fb2:0xad,_0x180fbe:0xdb,_0x55d171:0xce,_0x256b2b:0x2cc,_0x2a46f2:0x29c,_0x5b8466:0xe1,_0x118079:0xc6,_0xadc889:0xd8},_0x123969={_0x2cf615:0x285},_0x172ed2={_0x4c73aa:0x107,_0x1f49b4:0x1a0};let _0x410586=[];function _0x5db88f(_0x5dbd88,_0x4c5d71,_0x4d1e65,_0x14468e){return _0x450a98(_0x4c5d71,_0x4d1e65- -_0x172ed2._0x4c73aa,_0x4d1e65-_0x172ed2._0x1f49b4,_0x14468e-0x10f);}function _0x120126(_0xcddd68,_0x58e85c,_0x380a50,_0x2aabd0){return _0x450a98(_0x58e85c,_0x380a50-_0x123969._0x2cf615,_0x380a50-0x190,_0x2aabd0-0x5b);}_0x410586[_0x5db88f(-_0x1d24dc._0x58fe9d,-_0x1d24dc._0x5753f7,-0xd8,-0xcf)]({'name':s,'description':_0x120126(0x2be,_0x1d24dc._0xc93aa4,_0x1d24dc._0x5bd0ed,_0x1d24dc._0x3d1858),'created':new Date()[_0x120126(_0x1d24dc._0x23522d,0x2fa,0x2df,0x2e2)](),'lastUsed':new Date()[_0x5db88f(-_0x1d24dc._0x4b72a8,-0xa2,-_0x1d24dc._0x215fb2,-0x95)]()});for(let _0x25cd85 of Object[_0x5db88f(-0xbe,-_0x1d24dc._0x180fbe,-0xce,-_0x1d24dc._0x55d171)](this[_0x5db88f(-0xbc,-0xd5,-0xc0,-0xc5)][_0x120126(_0x1d24dc._0x256b2b,_0x1d24dc._0x2a46f2,0x2b5,0x2b0)]))_0x410586[_0x5db88f(-_0x1d24dc._0x5b8466,-_0x1d24dc._0x118079,-_0x1d24dc._0xadc889,-0xcb)](_0x25cd85);return _0x410586;}async[_0x199a9f(-0x155,-0x16f,-0x151,-0x14f)](_0x362e4e,_0x106778={}){const _0x4fd544={_0x84dd89:0x284,_0x350146:0x268,_0x2a7e9a:0xd6,_0x38cfe1:0xbe,_0xfd47d3:0xa1,_0x5a56e7:0xb5,_0x197dc0:0xfe,_0x5e09a6:0xfb,_0x36f2a3:0x294,_0x3913c9:0x271,_0xcc752b:0x27e,_0x3544e7:0x28a,_0x75868e:0x292,_0x75513b:0xdb,_0x298982:0xad,_0x43e8c3:0xb4,_0x203be7:0xdf,_0x10d7cf:0xee,_0x131ab3:0xb0,_0x26d8df:0xae,_0x2855a0:0xa8,_0x863ed1:0xc0,_0x2c2294:0x250,_0x455283:0x262,_0x4e7897:0x253,_0x1782d3:0xc6,_0x58a078:0xe6,_0x11df03:0x251,_0x23c649:0xf1,_0x3b8a7b:0x272,_0xd1048:0x263,_0x8e6a8b:0x26e,_0x4d8965:0x25a,_0x34cb60:0x281,_0x19fb22:0xda,_0x4247b7:0x255,_0x3aad74:0x252,_0x3221c9:0x100,_0x5bf1fb:0x109,_0x5495ae:0x273,_0x2a1e2a:0x279,_0x52c497:0x26b,_0x53544b:0x24e,_0x387fc1:0xf2,_0x4167e7:0xf1,_0x3bc1d7:0x265,_0x5101e5:0x24c,_0x4f88ab:0x23e},_0x389898={_0x20e552:0x3a6},_0x148012={_0x48911e:0x122};if(_0x362e4e===s)throw new Error(_0x3ce2cc(0x260,0x26e,_0x4fd544._0x84dd89,_0x4fd544._0x350146)+s+'\x27\x20(reserved)');if(!/^[a-zA-Z0-9_-]+$/[_0x48860c(-_0x4fd544._0x2a7e9a,-_0x4fd544._0x38cfe1,-_0x4fd544._0xfd47d3,-_0x4fd544._0x5a56e7)](_0x362e4e))throw new Error(_0x48860c(-0xed,-0xe4,-_0x4fd544._0x197dc0,-_0x4fd544._0x5e09a6));function _0x48860c(_0x5a486f,_0xa407b2,_0x134586,_0x71dde3){return _0x450a98(_0x71dde3,_0xa407b2- -_0x148012._0x48911e,_0x134586-0x12f,_0x71dde3-0xc5);}if(await this[_0x3ce2cc(0x28a,0x27a,0x260,_0x4fd544._0x36f2a3)](_0x362e4e))throw new Error(_0x3ce2cc(_0x4fd544._0x3913c9,_0x4fd544._0xcc752b,_0x4fd544._0x3544e7,_0x4fd544._0x75868e)+_0x362e4e+'\x27\x20already\x20exists');let _0x4ca7aa=this[_0x48860c(-0xc6,-0xd7,-0xd4,-_0x4fd544._0x75513b)](_0x362e4e);function _0x3ce2cc(_0x469989,_0x4b7fb2,_0x176f04,_0x302c56){return _0x199a9f(_0x469989,_0x4b7fb2-0x1b5,_0x176f04-0x55,_0x4b7fb2-_0x389898._0x20e552);}if(await _0x2ae711['promises'][_0x48860c(-_0x4fd544._0x298982,-0xc6,-_0x4fd544._0x43e8c3,-0xc6)](_0x4ca7aa,{'recursive':!0x0}),await _0x2ae711[_0x48860c(-0xc7,-_0x4fd544._0x203be7,-0xe7,-_0x4fd544._0x10d7cf)][_0x48860c(-_0x4fd544._0x131ab3,-0xc6,-0xc8,-_0x4fd544._0x26d8df)](_0xb78aff['join'](_0x4ca7aa,_0x48860c(-_0x4fd544._0x2855a0,-0xc5,-0xcd,-_0x4fd544._0x863ed1)),{'recursive':!0x0}),await _0x2ae711[_0x3ce2cc(_0x4fd544._0x2c2294,_0x4fd544._0x455283,_0x4fd544._0x4e7897,0x282)][_0x48860c(-0xbc,-0xc6,-_0x4fd544._0x1782d3,-_0x4fd544._0x58a078)](_0xb78aff[_0x3ce2cc(_0x4fd544._0x11df03,0x267,0x25f,0x25d)](_0x4ca7aa,'sessions'),{'recursive':!0x0}),_0x106778[_0x48860c(-0xff,-0xde,-0xe7,-_0x4fd544._0x23c649)]&&_0x106778[_0x3ce2cc(0x272,0x263,0x264,0x27f)]!==s){if(!await this['exists'](_0x106778['cloneFrom']))throw new Error('Source\x20profile\x20\x27'+_0x106778[_0x3ce2cc(_0x4fd544._0x3b8a7b,_0x4fd544._0xd1048,_0x4fd544._0x8e6a8b,_0x4fd544._0x4d8965)]+_0x3ce2cc(0x262,_0x4fd544._0x34cb60,0x29f,0x289));await this[_0x48860c(-_0x4fd544._0x19fb22,-0xd0,-0xba,-0xdc)](_0x106778[_0x3ce2cc(_0x4fd544._0x4247b7,0x263,0x27f,_0x4fd544._0x3aad74)],_0x362e4e);}let _0xa2a136={'name':_0x362e4e,'description':_0x106778[_0x48860c(-_0x4fd544._0x3221c9,-0xef,-0xe5,-_0x4fd544._0x5bf1fb)],'created':new Date()[_0x3ce2cc(_0x4fd544._0x5495ae,_0x4fd544._0x2a1e2a,0x282,_0x4fd544._0x52c497)](),'lastUsed':new Date()[_0x3ce2cc(0x277,_0x4fd544._0x2a1e2a,0x273,0x278)]()};this[_0x3ce2cc(0x245,0x266,_0x4fd544._0x53544b,0x260)][_0x48860c(-0xff,-_0x4fd544._0x387fc1,-_0x4fd544._0x4167e7,-_0x4fd544._0x197dc0)][_0x362e4e]=_0xa2a136,await this[_0x3ce2cc(_0x4fd544._0x3bc1d7,_0x4fd544._0x5101e5,_0x4fd544._0x4f88ab,0x235)]();}async[_0x450a98(0x80,0x66,0x7e,0x71)](_0x50250f,_0x4b5ac4={}){const _0x2b8348={_0x458e42:0x46a,_0x1c33fd:0x487,_0x31b903:0x44e,_0xe071b0:0x46c,_0x5ea04d:0x471,_0x35f413:0x453,_0x5eaad3:0x463,_0x3f2e8a:0xf4,_0x57627c:0xf0,_0x16cc48:0xec,_0x3abbb9:0xe6,_0x51ab35:0x447,_0x3b4a20:0x43b,_0x2085f3:0x45a,_0x5663b8:0xdd,_0x21a2f8:0xd0,_0x2218e5:0xca,_0x3d420f:0xdb,_0x9b7b5d:0x422,_0x10312b:0x421,_0x2ce2f1:0x439,_0x56cf4c:0x43e,_0x5d48ab:0x44b,_0x11f090:0x432,_0x3760e1:0x434,_0x5c5423:0x450,_0x2e381b:0xda,_0x13dd61:0xbb},_0x404e03={_0x328773:0xa0,_0x21e59c:0x1dc,_0x448c1b:0x215},_0x34f91a={_0x2cdcbc:0xa7,_0x17b417:0xf4};function _0x51627c(_0x42e3d6,_0x1b7279,_0x92d0b,_0x3dd9b0){return _0x450a98(_0x92d0b,_0x3dd9b0-0x404,_0x92d0b-_0x34f91a._0x2cdcbc,_0x3dd9b0-_0x34f91a._0x17b417);}if(_0x50250f===s)throw new Error(_0x51627c(_0x2b8348._0x458e42,_0x2b8348._0x1c33fd,_0x2b8348._0x31b903,_0x2b8348._0xe071b0));if(!await this['exists'](_0x50250f))throw new Error(_0x51627c(0x46c,_0x2b8348._0x5ea04d,_0x2b8348._0x35f413,_0x2b8348._0x5eaad3)+_0x50250f+_0x1bef51(_0x2b8348._0x3f2e8a,_0x2b8348._0x57627c,0xea,_0x2b8348._0x16cc48));if(this[_0x1bef51(0xee,0xd5,_0x2b8348._0x3abbb9,0xbd)]['active']===_0x50250f){if(!_0x4b5ac4[_0x51627c(_0x2b8348._0x51ab35,_0x2b8348._0x3b4a20,0x46f,_0x2b8348._0x2085f3)])throw new Error(_0x1bef51(_0x2b8348._0x5663b8,_0x2b8348._0x21a2f8,_0x2b8348._0x2218e5,_0x2b8348._0x3d420f)+_0x50250f+_0x51627c(_0x2b8348._0x9b7b5d,_0x2b8348._0x10312b,0x439,_0x2b8348._0x2ce2f1));this[_0x51627c(0x43f,0x432,_0x2b8348._0x56cf4c,_0x2b8348._0x5d48ab)][_0x51627c(_0x2b8348._0x11f090,0x437,_0x2b8348._0x3760e1,_0x2b8348._0x5c5423)]=s;}let _0x6ee3e6=this[_0x51627c(0x444,0x434,0x440,0x44f)](_0x50250f);function _0x1bef51(_0x318bec,_0x47bf90,_0x5a6b25,_0x3119b0){return _0x199a9f(_0x3119b0,_0x47bf90-_0x404e03._0x328773,_0x5a6b25-_0x404e03._0x21e59c,_0x47bf90-_0x404e03._0x448c1b);}_0x2ae711['existsSync'](_0x6ee3e6)&&await _0x2ae711[_0x1bef51(_0x2b8348._0x2e381b,0xd1,0xd1,0xd8)]['rm'](_0x6ee3e6,{'recursive':!0x0,'force':!0x0}),delete this['registry']['profiles'][_0x50250f],await this[_0x1bef51(0xaf,_0x2b8348._0x13dd61,0xba,0xc2)]();}async[_0x199a9f(-0x161,-0x166,-0x149,-0x155)](_0x2ffac4){const _0x1a8e50={_0x373b18:0x16e,_0x2208a7:0x163,_0x290baa:0x145,_0x2108e0:0x15d,_0x4b1062:0x213,_0x59b462:0x206,_0x39a9b8:0x225,_0x25bad5:0x154,_0x371eab:0x159,_0x3cef98:0x145,_0x4a6911:0x12b,_0x20be30:0x146,_0x476508:0x12e,_0x16aa08:0x119,_0x208647:0x12a,_0x35568d:0x1f3,_0x322f8a:0x20f},_0x2b48e2={_0x441ed4:0xfe,_0x2e2821:0x19d,_0xb9c122:0x1bb},_0xc47928={_0x58d408:0x54,_0x193ddf:0xa5,_0x500e8f:0x353};function _0x8c95c(_0xd56bee,_0x5edd58,_0x36f5f8,_0x547333){return _0x199a9f(_0x36f5f8,_0x5edd58-_0xc47928._0x58d408,_0x36f5f8-_0xc47928._0x193ddf,_0xd56bee-_0xc47928._0x500e8f);}function _0x59cee6(_0xf32367,_0x176682,_0x13a465,_0x2fe7d1){return _0x450a98(_0x176682,_0x2fe7d1-_0x2b48e2._0x441ed4,_0x13a465-_0x2b48e2._0x2e2821,_0x2fe7d1-_0x2b48e2._0xb9c122);}if(_0x2ffac4!==s&&!await this[_0x59cee6(0x154,0x160,0x15c,0x159)](_0x2ffac4))throw new Error(_0x59cee6(_0x1a8e50._0x373b18,_0x1a8e50._0x2208a7,_0x1a8e50._0x290baa,_0x1a8e50._0x2108e0)+_0x2ffac4+_0x8c95c(0x22e,0x23e,0x229,0x221));this[_0x8c95c(_0x1a8e50._0x4b1062,_0x1a8e50._0x59b462,_0x1a8e50._0x39a9b8,0x230)]['active']=_0x2ffac4,_0x2ffac4!==s&&this['registry']['profiles'][_0x2ffac4]&&(this[_0x59cee6(_0x1a8e50._0x25bad5,_0x1a8e50._0x371eab,0x150,_0x1a8e50._0x3cef98)][_0x59cee6(0x149,_0x1a8e50._0x4a6911,_0x1a8e50._0x20be30,_0x1a8e50._0x476508)][_0x2ffac4][_0x59cee6(0x111,0x142,_0x1a8e50._0x16aa08,_0x1a8e50._0x208647)]=new Date()[_0x8c95c(0x226,0x22a,0x243,_0x1a8e50._0x39a9b8)]()),await this[_0x8c95c(0x1f9,0x1f6,_0x1a8e50._0x35568d,_0x1a8e50._0x322f8a)]();}async[_0x199a9f(-0x13d,-0x10e,-0x138,-0x124)](){const _0x21a44d={_0x5e81d7:0x53,_0x16edbc:0x5a,_0x4c12a9:0x48,_0x322d9a:0x69,_0x57cbb8:0x85,_0x193854:0x65},_0x42faa0={_0x30eb2d:0x1d0},_0x4e39bc={_0x56678e:0x159};function _0x28224c(_0x323287,_0x4b5c40,_0x4bdd4b,_0x24095f){return _0x450a98(_0x24095f,_0x4bdd4b-0x13,_0x4bdd4b-0xe7,_0x24095f-_0x4e39bc._0x56678e);}function _0xe67412(_0x418e16,_0x2363ae,_0x482a95,_0x244ccb){return _0x199a9f(_0x2363ae,_0x2363ae-_0x42faa0._0x30eb2d,_0x482a95-0x66,_0x482a95-0x1c0);}return this[_0x28224c(0x74,_0x21a44d._0x5e81d7,_0x21a44d._0x16edbc,_0x21a44d._0x4c12a9)][_0xe67412(0x72,_0x21a44d._0x322d9a,_0x21a44d._0x57cbb8,_0x21a44d._0x193854)]||s;}async[_0x450a98(0x71,0x5b,0x6f,0x7b)](_0xd6e719){const _0x21e909={_0x1c09cc:0x502,_0x1c80a1:0x50b,_0x48b1f3:0x500,_0x57dfc0:0x127,_0x2dcf38:0xc6,_0x164080:0xfc,_0x2bcea1:0xdc,_0x217a11:0xeb},_0x5c7578={_0x2f0425:0x126},_0x4f3262={_0x5ca1e3:0x51};function _0x24cd84(_0x5ac86b,_0x14a97b,_0x504187,_0x3e6546){return _0x450a98(_0x3e6546,_0x14a97b-0x4cb,_0x504187-_0x4f3262._0x5ca1e3,_0x3e6546-0x10f);}function _0x1900f0(_0x21158c,_0x100258,_0x1380e6,_0x38a22a){return _0x199a9f(_0x21158c,_0x100258-_0x5c7578._0x2f0425,_0x1380e6-0x8e,_0x1380e6-0x4a);}return _0xd6e719===s?!0x0:_0xd6e719 in this[_0x24cd84(_0x21e909._0x1c09cc,0x512,_0x21e909._0x1c80a1,_0x21e909._0x48b1f3)][_0x1900f0(-_0x21e909._0x57dfc0,-0x109,-0x10d,-0x11b)]&&_0x2ae711[_0x1900f0(-_0x21e909._0x2dcf38,-0xf1,-0xdf,-_0x21e909._0x164080)](this[_0x1900f0(-0xf5,-_0x21e909._0x2bcea1,-0xf2,-_0x21e909._0x217a11)](_0xd6e719));}['getProfileDir'](_0x10ae97){const _0x3d6c08={_0x197127:0x56,_0x332332:0x3d,_0x11959e:0x35a,_0x235d59:0x49,_0x1d1d5d:0x31d,_0x4304b4:0x326},_0x1ba0ef={_0x4524d4:0xff};function _0x1f24f0(_0x11555e,_0x39968c,_0x3fe138,_0x384e1f){return _0x450a98(_0x384e1f,_0x3fe138-0x2ed,_0x3fe138-0x6,_0x384e1f-0xb0);}function _0x341cdb(_0x5d03b9,_0x43c2f6,_0x24e3a8,_0x1921b8){return _0x450a98(_0x1921b8,_0x43c2f6- -0x80,_0x24e3a8-0x1c,_0x1921b8-_0x1ba0ef._0x4524d4);}return this[_0x341cdb(-_0x3d6c08._0x197127,-0x57,-_0x3d6c08._0x332332,-0x68)](_0x10ae97)?this[_0x1f24f0(0x325,0x33f,0x33e,_0x3d6c08._0x11959e)]:_0xb78aff[_0x341cdb(-0x54,-0x38,-_0x3d6c08._0x235d59,-0x37)](this[_0x1f24f0(_0x3d6c08._0x1d1d5d,_0x3d6c08._0x4304b4,0x336,0x338)],_0x10ae97);}[_0x199a9f(-0x150,-0x154,-0x143,-0x146)](_0x2c4c3d){const _0x4fdf5f={_0x38978f:0x5c3,_0x2c06fa:0x5af,_0x1d734a:0x5cc,_0x28019a:0x5f3,_0xc46588:0x5db};function _0x4083ec(_0x262b32,_0x1c4f20,_0x4b88a9,_0x243109){return _0x450a98(_0x243109,_0x262b32-0x28c,_0x4b88a9-0x9f,_0x243109-0x58);}function _0xc1c80e(_0x353eac,_0x32f086,_0x3dffc3,_0x126217){return _0x199a9f(_0x126217,_0x32f086-0x119,_0x3dffc3-0xa6,_0x353eac-0x70e);}return _0xb78aff[_0xc1c80e(0x5cf,_0x4fdf5f._0x38978f,_0x4fdf5f._0x2c06fa,_0x4fdf5f._0x1d734a)](this[_0xc1c80e(0x5d2,0x5d8,_0x4fdf5f._0x28019a,_0x4fdf5f._0xc46588)](_0x2c4c3d),'config.yaml');}['getProfileAgentsDir'](_0x39310f){const _0xb46895={_0x35a4c4:0xfc,_0xe2f6c9:0xd5,_0x477bc6:0xbd,_0x17724:0xdc,_0x5347f8:0xeb,_0x443c9d:0x2f9},_0x4535a7={_0x261184:0x29c,_0x5d8bc6:0x1a7},_0x3e41a3={_0x29d9ac:0x127,_0xdc64e0:0x150,_0x372007:0x23};function _0x5c3079(_0x44a025,_0x1d551c,_0x40df58,_0x51d92f){return _0x450a98(_0x1d551c,_0x40df58- -_0x3e41a3._0x29d9ac,_0x40df58-_0x3e41a3._0xdc64e0,_0x51d92f-_0x3e41a3._0x372007);}function _0x33ee65(_0x27879b,_0x2f20fb,_0x7542d3,_0x5f3e9d){return _0x450a98(_0x7542d3,_0x2f20fb-_0x4535a7._0x261184,_0x7542d3-0x171,_0x5f3e9d-_0x4535a7._0x5d8bc6);}return _0xb78aff[_0x5c3079(-0xe2,-_0xb46895._0x35a4c4,-0xdf,-_0xb46895._0xe2f6c9)](this[_0x5c3079(-_0xb46895._0x477bc6,-0xfd,-_0xb46895._0x17724,-_0xb46895._0x5347f8)](_0x39310f),_0x33ee65(0x319,_0xb46895._0x443c9d,0x312,0x2de));}[_0x450a98(0x1e,0x2b,0x43,0x2c)](_0x2f6763){const _0x27b99a={_0x210b88:0x15c,_0x1471f4:0x168,_0xf4187d:0x165},_0x5af697={_0x4c1bcd:0x56},_0x4de1e0={_0x49c209:0x9a,_0x45e826:0x2a1};function _0x15b479(_0x1cd7ad,_0x7b5ff4,_0x5b5fe2,_0x4e6a46){return _0x199a9f(_0x7b5ff4,_0x7b5ff4-_0x4de1e0._0x49c209,_0x5b5fe2-0xaa,_0x1cd7ad-_0x4de1e0._0x45e826);}function _0xd1f758(_0xc47449,_0x2ec2c2,_0x38bc39,_0x4e4983){return _0x199a9f(_0x2ec2c2,_0x2ec2c2-0x197,_0x38bc39-_0x5af697._0x4c1bcd,_0x4e4983-0x4f5);}return _0xb78aff['join'](this[_0x15b479(0x165,_0x27b99a._0x210b88,_0x27b99a._0x1471f4,_0x27b99a._0xf4187d)](_0x2f6763),_0xd1f758(0x3b4,0x3c0,0x3bd,0x3c7));}['isDefault'](_0x2401da){return _0x2401da===s;}async[_0x450a98(0x82,0x67,0x4f,0x63)](){const _0x4ba147={_0x5a7e62:0x75,_0x48d3bf:0x79,_0x222804:0x61,_0x2fa235:0x31,_0x24c647:0x4b,_0x1cc3dc:0x475,_0x1d5203:0x456,_0x55bd97:0x448,_0x447c6d:0x1b,_0x444e1d:0x33,_0x46a23c:0x44,_0x41a36a:0x3d,_0x44bf4e:0x1b,_0xb31ccc:0x33,_0x3efb1c:0x477,_0x2c2cc5:0x45d,_0x197109:0x43f,_0x197fe4:0x41,_0x4c318d:0x4f,_0x29c1f7:0x59,_0x4fe6bf:0x2c,_0x40678b:0x45f,_0x2e111b:0x480,_0x48e64d:0x3a,_0x504511:0x5a},_0x48f7d3={_0xc65d21:0x411},_0x1241e9={_0x398ee6:0x1a2,_0x3347d7:0xa5,_0xce2b5f:0x18a};function _0x5f71af(_0x36dca1,_0x283da6,_0x27d501,_0xe8c750){return _0x199a9f(_0xe8c750,_0x283da6-_0x1241e9._0x398ee6,_0x27d501-_0x1241e9._0x3347d7,_0x27d501-_0x1241e9._0xce2b5f);}if(!_0x2ae711[_0x5f71af(_0x4ba147._0x5a7e62,_0x4ba147._0x48d3bf,_0x4ba147._0x222804,0x5d)](this[_0x5f71af(0x5d,_0x4ba147._0x2fa235,0x48,0x4b)]))return{'active':s,'profiles':{}};function _0x21adfa(_0x5c98ae,_0x49cc4a,_0x2cf562,_0x56dade){return _0x450a98(_0x56dade,_0x2cf562-_0x48f7d3._0xc65d21,_0x2cf562-0x6a,_0x56dade-0x14c);}try{let _0x5f1dbe=await _0x2ae711[_0x5f71af(0x30,_0x4ba147._0x24c647,0x46,0x2b)]['readFile'](this[_0x21adfa(0x462,_0x4ba147._0x1cc3dc,_0x4ba147._0x1d5203,_0x4ba147._0x55bd97)],'utf-8'),_0xac4b42=_0x12912e(_0x5f1dbe);if(!_0xac4b42||typeof _0xac4b42!='object')return{'active':s,'profiles':{}};let _0x28febb=_0xac4b42;return(!_0x28febb['profiles']||typeof _0x28febb[_0x5f71af(_0x4ba147._0x447c6d,0x20,_0x4ba147._0x444e1d,_0x4ba147._0x46a23c)]!=_0x5f71af(0x23,0x47,_0x4ba147._0x41a36a,0x41))&&(_0x28febb[_0x5f71af(_0x4ba147._0x44bf4e,0x2e,_0x4ba147._0xb31ccc,0x37)]={}),_0x28febb[_0x21adfa(0x43d,_0x4ba147._0x3efb1c,_0x4ba147._0x2c2cc5,_0x4ba147._0x197109)]||(_0x28febb[_0x5f71af(_0x4ba147._0x197fe4,0x69,_0x4ba147._0x4c318d,_0x4ba147._0x29c1f7)]=s),_0x28febb;}catch(_0x1eb5cb){return this[_0x5f71af(0x22,0xf,0x2d,_0x4ba147._0x4fe6bf)](_0x21adfa(0x440,0x47d,_0x4ba147._0x40678b,_0x4ba147._0x2e111b)+(_0x1eb5cb instanceof Error?_0x1eb5cb[_0x5f71af(0x1e,0x56,_0x4ba147._0x48e64d,_0x4ba147._0x504511)]:String(_0x1eb5cb))),{'active':s,'profiles':{}};}}async[_0x450a98(0x1d,0x2d,0x41,0x3f)](){const _0x3eb3fe={_0x5bf444:0x2f,_0x300916:0x37,_0x3e8a11:0x36,_0x325d65:0x19,_0x391777:0x35,_0x261a65:0x2d,_0x41cd16:0xa,_0x3999b1:0x1e,_0x310753:0x34,_0x1c08f7:0x1a,_0x34437b:0x28,_0x371e75:0x35,_0x52fcd1:0x12},_0x3d4d0f={_0x373a80:0x10},_0x3e636f={_0x2c071b:0x1ba,_0x31d976:0x66f};function _0x5be352(_0x160bd3,_0x4f09fc,_0x188480,_0x29d44b){return _0x199a9f(_0x4f09fc,_0x4f09fc-_0x3e636f._0x2c071b,_0x188480-0x15,_0x188480-_0x3e636f._0x31d976);}function _0x2af71d(_0x3bfd19,_0xfc401,_0x294772,_0x36b145){return _0x450a98(_0x3bfd19,_0x36b145- -_0x3d4d0f._0x373a80,_0x294772-0xad,_0x36b145-0x1ab);}try{let _0x2e9153=_0x2e6cb7(this[_0x2af71d(0x56,_0x3eb3fe._0x5bf444,0x46,_0x3eb3fe._0x300916)]);await _0x2ae711['promises']['writeFile'](this[_0x2af71d(_0x3eb3fe._0x3e8a11,_0x3eb3fe._0x325d65,0x46,_0x3eb3fe._0x391777)],_0x2e9153,_0x2af71d(_0x3eb3fe._0x261a65,0x32,0x2c,0x2f));}catch(_0x3d5db7){throw this[_0x2af71d(_0x3eb3fe._0x41cd16,_0x3eb3fe._0x3999b1,_0x3eb3fe._0x310753,_0x3eb3fe._0x1c08f7)](_0x2af71d(_0x3eb3fe._0x34437b,_0x3eb3fe._0x371e75,_0x3eb3fe._0x52fcd1,0x26)+(_0x3d5db7 instanceof Error?_0x3d5db7[_0x2af71d(0x13,0xf,0x48,0x27)]:String(_0x3d5db7))),_0x3d5db7;}}async['cloneProfileFiles'](_0x394fa3,_0x3c8a49){const _0x4d32ac={_0x835d8:0x1fd,_0x3f6569:0x201,_0x441988:0x1e5,_0x2362d3:0x3da,_0x5d5058:0x3cd,_0x271b2c:0x3c7,_0xfff8c1:0x3bd,_0x4eff68:0x3de,_0x99d0fb:0x3c3,_0x3cdcdc:0x3c5,_0x9545b:0x3c0,_0x5bc81d:0x228,_0xa826e4:0x21f,_0x24dfa5:0x3b7,_0x480480:0x3bc,_0x4281b6:0x1df,_0x102800:0x218,_0x4f4b89:0x203,_0x2552bc:0x3f2,_0x24f935:0x3ba,_0x54321f:0x3ee,_0x4e124d:0x3e7},_0x16ff0b={_0x2a83e0:0x375,_0x1e8c4e:0x49,_0x1f9efb:0x170},_0x4da0e6={_0x490a39:0x1b2,_0x162ce1:0x1ee};let _0x134f70=this[_0x1788ad(0x1e6,_0x4d32ac._0x835d8,_0x4d32ac._0x3f6569,_0x4d32ac._0x441988)](_0x394fa3),_0x52ecff=this['getProfileDir'](_0x3c8a49),_0x3cb4e6=_0xb78aff[_0x45dea9(_0x4d32ac._0x2362d3,_0x4d32ac._0x5d5058,_0x4d32ac._0x271b2c,_0x4d32ac._0xfff8c1)](_0x134f70,_0x45dea9(0x3d4,0x3cd,0x3cd,_0x4d32ac._0x4eff68)),_0x5503f6=_0xb78aff[_0x45dea9(_0x4d32ac._0x99d0fb,_0x4d32ac._0x3cdcdc,_0x4d32ac._0x9545b,_0x4d32ac._0xfff8c1)](_0x52ecff,_0x45dea9(0x3e8,0x3e9,0x3f4,0x3de));function _0x1788ad(_0x16af64,_0x12facd,_0x488128,_0x59f285){return _0x450a98(_0x16af64,_0x12facd-_0x4da0e6._0x490a39,_0x488128-_0x4da0e6._0x162ce1,_0x59f285-0x98);}_0x2ae711[_0x1788ad(_0x4d32ac._0x5bc81d,0x210,0x222,_0x4d32ac._0xa826e4)](_0x3cb4e6)&&await _0x2ae711['promises'][_0x45dea9(_0x4d32ac._0x24dfa5,0x3c5,_0x4d32ac._0x480480,0x3b1)](_0x3cb4e6,_0x5503f6);let _0x258bea=_0xb78aff[_0x1788ad(0x1ec,0x1fa,_0x4d32ac._0x4281b6,0x1e4)](_0x134f70,_0x1788ad(0x208,0x20f,0x200,0x202)),_0x20ce9d=_0xb78aff[_0x1788ad(_0x4d32ac._0x102800,0x1fa,0x20f,_0x4d32ac._0x4f4b89)](_0x52ecff,_0x45dea9(_0x4d32ac._0x2552bc,0x3d8,_0x4d32ac._0x24f935,0x3d2));function _0x45dea9(_0x3a4c4b,_0x65c560,_0x51fad6,_0x283ecb){return _0x450a98(_0x3a4c4b,_0x283ecb-_0x16ff0b._0x2a83e0,_0x51fad6-_0x16ff0b._0x1e8c4e,_0x283ecb-_0x16ff0b._0x1f9efb);}_0x2ae711[_0x45dea9(_0x4d32ac._0x54321f,_0x4d32ac._0x4e124d,_0x4d32ac._0x2362d3,0x3d3)](_0x258bea)&&await this['copyDirectory'](_0x258bea,_0x20ce9d);}async[_0x450a98(0x49,0x34,0x35,0x4f)](_0x11c7c4,_0x306c30){const _0x10f046={_0x67ec6e:0x17a,_0x6e9bb9:0x190,_0xa076f1:0x17f,_0x803abe:0x174,_0x274e30:0x4b6,_0x598fb1:0x497,_0xf14de4:0x496,_0x3f0db9:0x498,_0x3e5f99:0x46c,_0x428922:0x489,_0x54f9f9:0x497,_0x236ca0:0x4a3,_0x2b8a11:0x4a5,_0x2f8ae5:0x4ac,_0x53d69f:0x470,_0x3ca61b:0x4b0,_0x3d62be:0x49e,_0x18deeb:0x497,_0x3586e9:0x4ab},_0x1288c5={_0x375d8d:0x44,_0xddde77:0x27},_0x5d9235={_0xbab53f:0x3b,_0x13f602:0x1e7};function _0x4144fd(_0x3acd5e,_0x4402b3,_0x20fbf6,_0x5a15da){return _0x450a98(_0x5a15da,_0x20fbf6-0x45b,_0x20fbf6-_0x5d9235._0xbab53f,_0x5a15da-_0x5d9235._0x13f602);}function _0x2367a7(_0x1d7539,_0x4555b6,_0x25a8a1,_0x9359cf){return _0x199a9f(_0x1d7539,_0x4555b6-_0x1288c5._0x375d8d,_0x25a8a1-_0x1288c5._0xddde77,_0x4555b6- -0x36);}await _0x2ae711[_0x2367a7(-0x179,-_0x10f046._0x67ec6e,-_0x10f046._0x6e9bb9,-_0x10f046._0xa076f1)][_0x2367a7(-0x16e,-0x161,-0x17a,-_0x10f046._0x803abe)](_0x306c30,{'recursive':!0x0});let _0x2095cf=await _0x2ae711[_0x4144fd(_0x10f046._0x274e30,_0x10f046._0x598fb1,0x49e,_0x10f046._0xf14de4)]['readdir'](_0x11c7c4,{'withFileTypes':!0x0});for(let _0x221e31 of _0x2095cf){let _0x4a1940=_0xb78aff['join'](_0x11c7c4,_0x221e31[_0x4144fd(_0x10f046._0x3f0db9,_0x10f046._0x3e5f99,_0x10f046._0x428922,_0x10f046._0x54f9f9)]),_0x5bbdc6=_0xb78aff[_0x4144fd(0x4be,0x48f,_0x10f046._0x236ca0,_0x10f046._0x2b8a11)](_0x306c30,_0x221e31[_0x4144fd(0x491,0x4a1,_0x10f046._0x428922,0x48f)]);_0x221e31[_0x4144fd(_0x10f046._0x2b8a11,_0x10f046._0x2f8ae5,0x4b0,0x4c1)]()?await this[_0x4144fd(0x48e,0x475,0x48f,_0x10f046._0x53d69f)](_0x4a1940,_0x5bbdc6):await _0x2ae711[_0x4144fd(_0x10f046._0x3ca61b,0x494,_0x10f046._0x3d62be,_0x10f046._0x2f8ae5)][_0x4144fd(0x47d,0x48f,_0x10f046._0x18deeb,_0x10f046._0x3586e9)](_0x4a1940,_0x5bbdc6);}}};export{s as a,p as b};