gemit-cli 2.1.2 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x2c138f,_0x4f8ff6){const _0x234be3=_0x2e87,_0x4007a0=_0x2c138f();while(!![]){try{const _0x41f99c=-parseInt(_0x234be3(0xa9))/0x1*(-parseInt(_0x234be3(0xb3))/0x2)+-parseInt(_0x234be3(0xba))/0x3*(-parseInt(_0x234be3(0xab))/0x4)+parseInt(_0x234be3(0xb7))/0x5*(-parseInt(_0x234be3(0xcb))/0x6)+-parseInt(_0x234be3(0xcf))/0x7*(parseInt(_0x234be3(0xf3))/0x8)+parseInt(_0x234be3(0xad))/0x9*(-parseInt(_0x234be3(0xc4))/0xa)+-parseInt(_0x234be3(0xdc))/0xb*(parseInt(_0x234be3(0xf8))/0xc)+parseInt(_0x234be3(0xda))/0xd;if(_0x41f99c===_0x4f8ff6)break;else _0x4007a0['push'](_0x4007a0['shift']());}catch(_0x31d556){_0x4007a0['push'](_0x4007a0['shift']());}}}(_0x359c,0xc4f58));const _0x182078=(function(){let _0x325f14=!![];return function(_0xf04525,_0x356ab8){const _0x4a71ae=_0x325f14?function(){const _0x38f094=_0x2e87;if(_0x356ab8){const _0x2bc95b=_0x356ab8[_0x38f094(0xe4)](_0xf04525,arguments);return _0x356ab8=null,_0x2bc95b;}}:function(){};return _0x325f14=![],_0x4a71ae;};}()),_0x5ec9bc=_0x182078(this,function(){const _0x13228f=_0x2e87,_0x557a59={'XKloA':_0x13228f(0xc7)+_0x13228f(0xae)};return _0x5ec9bc[_0x13228f(0xb4)]()[_0x13228f(0xc8)](_0x557a59[_0x13228f(0xc2)])['toString']()[_0x13228f(0xe0)+'tor'](_0x5ec9bc)['search'](_0x557a59[_0x13228f(0xc2)]);});_0x5ec9bc();function _0x2e87(_0x117baf,_0x452eed){_0x117baf=_0x117baf-0xa7;const _0x165aa0=_0x359c();let _0x5ec9bc=_0x165aa0[_0x117baf];return _0x5ec9bc;}import{createInterface}from'readline/promises';import{stdin as _0x209a15,stdout as _0x605f9a}from'process';import{style,ui}from'./ui.js';const OPTION_LINES=0x3,PRE_OPTION_LINES=0x2;function renderOptions(_0x5c33c0,_0x2d261b){const _0x4e5a51=_0x2e87,_0x47f4b0={'lsnCl':function(_0x5b4a63,_0x5a0db1,_0x2cde24,_0x158a31){return _0x5b4a63(_0x5a0db1,_0x2cde24,_0x158a31);},'ivIwZ':_0x4e5a51(0xf0),'glkTC':function(_0x11cc3a,_0x43aeed,_0x3aa01b){return _0x11cc3a(_0x43aeed,_0x3aa01b);},'YavWz':function(_0x41960b,_0x5938a7,_0x3a8ee0,_0x5dd8ba){return _0x41960b(_0x5938a7,_0x3a8ee0,_0x5dd8ba);}},_0x5ee4ee=_0x5c33c0?'\x20\x20\x20\x20'+_0x47f4b0[_0x4e5a51(0xf2)](style,'●',ui[_0x4e5a51(0xb0)],ui[_0x4e5a51(0xf5)])+'\x20'+style(_0x47f4b0[_0x4e5a51(0xcd)],ui[_0x4e5a51(0xb0)],ui['bold']):_0x4e5a51(0xb5)+_0x47f4b0[_0x4e5a51(0xbd)](style,'○',ui['gray'])+'\x20\x20'+style(_0x47f4b0[_0x4e5a51(0xcd)],ui['gray']),_0x487cbc=!_0x5c33c0?_0x4e5a51(0xb5)+_0x47f4b0[_0x4e5a51(0xd3)](style,'●',ui[_0x4e5a51(0xb0)],ui['bold'])+'\x20'+style('No',ui[_0x4e5a51(0xb0)],ui['bold']):_0x4e5a51(0xb5)+style('○',ui[_0x4e5a51(0xaf)])+'\x20\x20'+_0x47f4b0[_0x4e5a51(0xbd)](style,'No',ui[_0x4e5a51(0xaf)]);_0x2d261b&&_0x605f9a[_0x4e5a51(0xdd)]('\x1b['+OPTION_LINES+'A'),_0x605f9a[_0x4e5a51(0xdd)](_0x4e5a51(0xdb)+_0x5ee4ee+'\x0a'),_0x605f9a[_0x4e5a51(0xdd)]('\x0d\x1b[2K'+_0x487cbc+'\x0a'),_0x605f9a[_0x4e5a51(0xdd)](_0x4e5a51(0xea));}export function askConfirmation(_0x25e662,_0x5ce514={}){const _0x5a5e02=_0x2e87,_0x393915={'jCZfC':function(_0x59df3d,_0x274313){return _0x59df3d===_0x274313;},'TuSfX':function(_0x38eb06,_0x9b661b){return _0x38eb06(_0x9b661b);},'ksEPR':function(_0x525cc7,_0x1501cc){return _0x525cc7(_0x1501cc);},'MBLRm':_0x5a5e02(0xb8),'ZdeKw':function(_0x54525b,_0x2385d2,_0x47507b,_0x8f189f){return _0x54525b(_0x2385d2,_0x47507b,_0x8f189f);},'Uxwsv':function(_0xc69614,_0x120312,_0x4e1d2d,_0x1a212f){return _0xc69614(_0x120312,_0x4e1d2d,_0x1a212f);},'DECXT':function(_0xee3233,_0x47150f){return _0xee3233+_0x47150f;},'hiYcB':function(_0x44519e,_0x4fac26,_0x39bf77){return _0x44519e(_0x4fac26,_0x39bf77);},'prkCd':function(_0x2b43dc,_0xbc823e){return _0x2b43dc===_0xbc823e;},'euoys':_0x5a5e02(0xeb),'SGBbL':function(_0x7b0297,_0x56d1a4){return _0x7b0297!==_0x56d1a4;},'ASzZE':'lMISa','ONfoe':function(_0x24176a,_0x28b2b7){return _0x24176a===_0x28b2b7;},'tpxYz':_0x5a5e02(0xf4),'znIBB':_0x5a5e02(0xbc),'TQbpq':function(_0x5b8ac7,_0xaacf17){return _0x5b8ac7===_0xaacf17;},'Gtedb':function(_0x44d2a8,_0x3ba8f3){return _0x44d2a8!==_0x3ba8f3;},'PINvi':_0x5a5e02(0xbf),'mxLtM':function(_0x4ded5f,_0x4beb44,_0x3e7c47){return _0x4ded5f(_0x4beb44,_0x3e7c47);},'WkySb':function(_0x13d232,_0xfd4b9d){return _0x13d232===_0xfd4b9d;},'gGESr':function(_0xdfa889,_0x500cc1){return _0xdfa889(_0x500cc1);},'OEPwL':function(_0x5dc82f,_0x1be4c2){return _0x5dc82f===_0x1be4c2;},'NTTbI':'(((.+)+)'+'+)+$','DpBBs':function(_0x436d29,_0x470110){return _0x436d29!==_0x470110;},'wVdGv':'↑↓\x20·\x20Ent'+'er','NLDsy':function(_0x1add58,_0x49dc93,_0x12a851){return _0x1add58(_0x49dc93,_0x12a851);},'mdzht':'utf8'},_0x2bf1c9=_0x25e662[_0x5a5e02(0xb6)](/\s*\(.*?\)\s*:?\s*$/,'')[_0x5a5e02(0xb6)](/:\s*$/,'')[_0x5a5e02(0xb1)]();if(!process[_0x5a5e02(0xc9)][_0x5a5e02(0xd4)]||!process['stdout'][_0x5a5e02(0xd4)])return new Promise(_0x5d8a7f=>{const _0x595623=_0x5a5e02,_0x3b6d79={'nXzjV':function(_0x4a2d75,_0x55c269){return _0x393915['jCZfC'](_0x4a2d75,_0x55c269);},'SNfDn':function(_0x883fe6,_0x21a792){return _0x393915['TuSfX'](_0x883fe6,_0x21a792);}},_0xd61b97=_0x393915['ksEPR'](createInterface,{'input':_0x209a15,'output':_0x605f9a});_0xd61b97['question'](_0x25e662)[_0x595623(0xd9)](_0x5c84ba=>{const _0x1d7659=_0x595623;_0xd61b97[_0x1d7659(0xac)]();const _0x257a0a=_0x5c84ba[_0x1d7659(0xb1)]()[_0x1d7659(0xb2)+_0x1d7659(0xce)]();_0x5d8a7f(_0x257a0a?_0x3b6d79['nXzjV'](_0x257a0a,'y'):_0x3b6d79[_0x1d7659(0xd8)](Boolean,_0x5ce514[_0x1d7659(0xd2)+'es']));});});return new Promise(_0x4176f8=>{const _0x1b9bc0=_0x5a5e02,_0x3792e4={'zSxuM':_0x393915[_0x1b9bc0(0xc0)]};let _0x454a64=_0x393915[_0x1b9bc0(0xe7)](_0x5ce514[_0x1b9bc0(0xd2)+'es'],![]);_0x605f9a[_0x1b9bc0(0xdd)](_0x1b9bc0(0xaa)+style('?',ui[_0x1b9bc0(0xfa)],ui[_0x1b9bc0(0xf5)])+'\x20'+style(_0x2bf1c9,ui[_0x1b9bc0(0xf5)])+'\x20\x20'+_0x393915[_0x1b9bc0(0xe8)](style,_0x393915['wVdGv'],ui[_0x1b9bc0(0xaf)],ui[_0x1b9bc0(0xf1)])+'\x0a'),_0x605f9a[_0x1b9bc0(0xdd)]('\x0a'),_0x393915['NLDsy'](renderOptions,_0x454a64,![]),process['stdin'][_0x1b9bc0(0xd6)+'de'](!![]),process['stdin'][_0x1b9bc0(0xed)](),process[_0x1b9bc0(0xc9)][_0x1b9bc0(0xe9)+_0x1b9bc0(0xa8)](_0x393915['mdzht']);function _0x5d94dd(_0x47a0e5){const _0x45f57e=_0x1b9bc0;process[_0x45f57e(0xc9)]['setRawMo'+'de'](![]),process['stdin']['pause'](),process[_0x45f57e(0xc9)][_0x45f57e(0xd0)+_0x45f57e(0xe6)](_0x393915['MBLRm'],_0x50439f);const _0x3325d0=_0x47a0e5?_0x393915[_0x45f57e(0xe8)](style,'●',ui[_0x45f57e(0xd5)],ui[_0x45f57e(0xf5)])+'\x20'+style(_0x45f57e(0xf0),ui['green'],ui['bold']):_0x393915[_0x45f57e(0xe8)](style,'●',ui[_0x45f57e(0xc5)],ui[_0x45f57e(0xf5)])+'\x20'+_0x393915[_0x45f57e(0xbb)](style,'No',ui[_0x45f57e(0xc5)],ui['bold']);_0x605f9a['write']('\x1b['+_0x393915['DECXT'](OPTION_LINES,PRE_OPTION_LINES)+'A'),_0x605f9a[_0x45f57e(0xdd)](_0x45f57e(0xa7)+_0x393915['hiYcB'](style,'✓',ui[_0x45f57e(0xd5)])+'\x20'+style(_0x2bf1c9,ui[_0x45f57e(0xf1)])+'\x20\x20'+_0x3325d0+'\x0a'),_0x605f9a[_0x45f57e(0xdd)]('\x0a'),_0x605f9a['write'](_0x45f57e(0xe2)),_0x393915['ksEPR'](_0x4176f8,_0x47a0e5);}function _0x50439f(_0x6966cf){const _0x26c07d=_0x1b9bc0;_0x393915['prkCd'](_0x6966cf,'\x03')&&(_0x605f9a[_0x26c07d(0xdd)]('\x0a'),process['exit'](0x82));if(_0x6966cf===_0x393915['euoys']||_0x6966cf===_0x26c07d(0xde)){if(_0x393915[_0x26c07d(0xe5)](_0x26c07d(0xbe),_0x393915['ASzZE'])){_0x454a64=!![],renderOptions(_0x454a64,!![]);return;}else{_0x10fe9e(_0xe69781);return;}}if(_0x393915[_0x26c07d(0xe1)](_0x6966cf,_0x393915[_0x26c07d(0xc1)])||_0x6966cf===_0x393915[_0x26c07d(0xc3)]){_0x454a64=![],_0x393915[_0x26c07d(0xca)](renderOptions,_0x454a64,!![]);return;}if(_0x393915[_0x26c07d(0xec)](_0x6966cf,'\x20')){if(_0x393915[_0x26c07d(0xe3)](_0x393915[_0x26c07d(0xee)],'BWkuD'))return _0x3fb176[_0x26c07d(0xb4)]()[_0x26c07d(0xc8)](gXyOpa['zSxuM'])[_0x26c07d(0xb4)]()['construc'+_0x26c07d(0xd1)](_0x23d085)[_0x26c07d(0xc8)](gXyOpa[_0x26c07d(0xf7)]);else{_0x454a64=!_0x454a64,_0x393915[_0x26c07d(0xcc)](renderOptions,_0x454a64,!![]);return;}}if(_0x393915[_0x26c07d(0xf9)](_0x6966cf,'y')||_0x6966cf==='Y'){_0x393915[_0x26c07d(0xd7)](_0x5d94dd,!![]);return;}if(_0x393915['OEPwL'](_0x6966cf,'n')||_0x6966cf==='N'){_0x393915[_0x26c07d(0xd7)](_0x5d94dd,![]);return;}if(_0x6966cf==='\x0d'||_0x393915['TQbpq'](_0x6966cf,'\x0a')){_0x393915[_0x26c07d(0xf6)](_0x5d94dd,_0x454a64);return;}}process['stdin']['on'](_0x393915[_0x1b9bc0(0xdf)],_0x50439f);});}export async function askInput(_0x2a5a2d){const _0x12feea=_0x2e87,_0x13b714={'KJrqK':function(_0x581fd0,_0x43130f){return _0x581fd0(_0x43130f);}},_0x470413=_0x13b714[_0x12feea(0xc6)](createInterface,{'input':_0x209a15,'output':_0x605f9a}),_0x382645=await _0x470413[_0x12feea(0xef)](_0x2a5a2d);return _0x470413[_0x12feea(0xac)](),_0x382645[_0x12feea(0xb1)]();}function _0x359c(){const _0x48ccbc=['defaultY','YavWz','isTTY','green','setRawMo','gGESr','SNfDn','then','25400999WGQJuy','\x0d\x1b[2K','11AfbDcI','write','\x1b[D','MBLRm','construc','ONfoe','\x1b[J','Gtedb','apply','SGBbL','stener','DpBBs','ZdeKw','setEncod','\x0d\x1b[2K\x0a','\x1b[A','TQbpq','resume','PINvi','question','Yes','dim','lsnCl','120sxpKle','\x1b[B','bold','ksEPR','zSxuM','7162356CDEfEk','WkySb','yellow','\x0d\x1b[2K\x20\x20','ing','2rUytBD','\x0a\x20\x20','179412zuVHIc','close','10647UZulqF','+)+$','gray','cyan','trim','toLowerC','1550834FsZfdf','toString','\x20\x20\x20\x20','replace','45XvJTME','data','NWjJV','66eLvjep','Uxwsv','\x1b[C','glkTC','OnRLk','BWkuD','NTTbI','tpxYz','XKloA','znIBB','13420zCQIWZ','red','KJrqK','(((.+)+)','search','stdin','hiYcB','272730AOLJqm','mxLtM','ivIwZ','ase','509243xqTtLr','removeLi','tor'];_0x359c=function(){return _0x48ccbc;};return _0x359c();}export async function askEditableInput(_0xc9f6d7,_0x50313f){const _0x2ddfdf=_0x2e87,_0x584293={'NWjJV':function(_0x744592,_0x15f2f4){return _0x744592(_0x15f2f4);}},_0x39b38c=_0x584293[_0x2ddfdf(0xb9)](createInterface,{'input':_0x209a15,'output':_0x605f9a}),_0x4f4ca6=await _0x39b38c[_0x2ddfdf(0xef)](_0xc9f6d7);_0x39b38c[_0x2ddfdf(0xac)]();const _0x51ab7f=_0x4f4ca6[_0x2ddfdf(0xb1)]();if(!_0x51ab7f)return _0x50313f;return _0x51ab7f;}
1
+ (function(_0xfbbadc,_0x5748c2){const _0x36db89=_0x37cf,_0x4806de=_0xfbbadc();while(!![]){try{const _0x380d5d=-parseInt(_0x36db89(0xc9))/0x1+parseInt(_0x36db89(0xa4))/0x2+parseInt(_0x36db89(0xdb))/0x3*(parseInt(_0x36db89(0xbc))/0x4)+parseInt(_0x36db89(0xd4))/0x5*(parseInt(_0x36db89(0xda))/0x6)+-parseInt(_0x36db89(0xb4))/0x7*(parseInt(_0x36db89(0xb1))/0x8)+-parseInt(_0x36db89(0xc1))/0x9+-parseInt(_0x36db89(0xc8))/0xa*(-parseInt(_0x36db89(0xd0))/0xb);if(_0x380d5d===_0x5748c2)break;else _0x4806de['push'](_0x4806de['shift']());}catch(_0x2e54f6){_0x4806de['push'](_0x4806de['shift']());}}}(_0xf00b,0xbede3));const _0x3307d0=(function(){let _0x130a7e=!![];return function(_0x113542,_0xb2fa9){const _0x1c97d0=_0x130a7e?function(){const _0x2a1fcd=_0x37cf;if(_0xb2fa9){const _0x40f160=_0xb2fa9[_0x2a1fcd(0xa8)](_0x113542,arguments);return _0xb2fa9=null,_0x40f160;}}:function(){};return _0x130a7e=![],_0x1c97d0;};}()),_0x5b38e2=_0x3307d0(this,function(){const _0x35055f=_0x37cf,_0x34fd70={'AcAHy':_0x35055f(0xcf)+_0x35055f(0xd5)};return _0x5b38e2[_0x35055f(0xc0)]()['search'](_0x35055f(0xcf)+_0x35055f(0xd5))[_0x35055f(0xc0)]()[_0x35055f(0xca)+_0x35055f(0x9c)](_0x5b38e2)[_0x35055f(0xa2)](_0x34fd70[_0x35055f(0x8a)]);});_0x5b38e2();import{stdin as _0x19557e,stdout as _0x5cb893}from'node:process';import{createInterface}from'node:readline/promises';import{style,ui}from'./ui.js';const OPTION_LINES=0x3,PRE_OPTION_LINES=0x2;function renderOptions(_0x38368d,_0x58f736){const _0x2c774c=_0x37cf,_0xf09de={'HmoKC':function(_0x5cfe6c,_0x51e2ec,_0x113803,_0x32e35e){return _0x5cfe6c(_0x51e2ec,_0x113803,_0x32e35e);},'ftKEW':_0x2c774c(0xa9),'EVhGk':function(_0xc7a4c4,_0x5916a6,_0x2abb5c){return _0xc7a4c4(_0x5916a6,_0x2abb5c);},'Uhqsr':function(_0x436252,_0x2f705d,_0x84093e){return _0x436252(_0x2f705d,_0x84093e);}},_0x59a701=_0x38368d?'\x20\x20\x20\x20'+style('●',ui[_0x2c774c(0xc5)],ui[_0x2c774c(0xb3)])+'\x20'+_0xf09de[_0x2c774c(0xd8)](style,_0xf09de['ftKEW'],ui[_0x2c774c(0xc5)],ui[_0x2c774c(0xb3)]):'\x20\x20\x20\x20'+_0xf09de[_0x2c774c(0xc2)](style,'○',ui[_0x2c774c(0xbb)])+'\x20\x20'+_0xf09de[_0x2c774c(0xc2)](style,_0xf09de['ftKEW'],ui[_0x2c774c(0xbb)]),_0x2c25c6=!_0x38368d?_0x2c774c(0x9b)+_0xf09de[_0x2c774c(0xd8)](style,'●',ui[_0x2c774c(0xc5)],ui[_0x2c774c(0xb3)])+'\x20'+style('No',ui['cyan'],ui[_0x2c774c(0xb3)]):_0x2c774c(0x9b)+style('○',ui[_0x2c774c(0xbb)])+'\x20\x20'+_0xf09de['Uhqsr'](style,'No',ui[_0x2c774c(0xbb)]);_0x58f736&&_0x5cb893[_0x2c774c(0x8d)]('\x1b['+OPTION_LINES+'A'),_0x5cb893['write'](_0x2c774c(0xb5)+_0x59a701+'\x0a'),_0x5cb893[_0x2c774c(0x8d)](_0x2c774c(0xb5)+_0x2c25c6+'\x0a'),_0x5cb893[_0x2c774c(0x8d)](_0x2c774c(0xdc));}export function askConfirmation(_0x57694b,_0x428639={}){const _0x297bdd=_0x37cf,_0x70767e={'DQIJq':function(_0x3a0b16,_0x518c9e){return _0x3a0b16(_0x518c9e);},'ehHRP':function(_0x3d849b,_0x386f96){return _0x3d849b===_0x386f96;},'wbxjI':function(_0x48e201,_0x28ea12){return _0x48e201(_0x28ea12);},'bebUy':function(_0x4b08e0,_0x5bcb19){return _0x4b08e0===_0x5bcb19;},'iTxmG':_0x297bdd(0x96),'kOqlP':_0x297bdd(0xba),'RhXpq':function(_0x396dc8,_0x27280c,_0x28eefd){return _0x396dc8(_0x27280c,_0x28eefd);},'QvqhM':_0x297bdd(0x95),'btxlq':_0x297bdd(0xa3),'kWlqK':function(_0x45b770,_0x9a6eb3){return _0x45b770===_0x9a6eb3;},'wDrfc':function(_0x28f90e,_0x358525){return _0x28f90e(_0x358525);},'xlRxp':function(_0x5b22a4,_0x46427c){return _0x5b22a4===_0x46427c;},'tzFjS':function(_0x494880,_0x5356a1){return _0x494880===_0x5356a1;},'yiSxA':function(_0x37f150,_0x57d7e7){return _0x37f150(_0x57d7e7);},'wZZTE':function(_0x11f578,_0x12545d){return _0x11f578===_0x12545d;},'Mxcwm':_0x297bdd(0xa6),'kYYzI':function(_0x4cccd6,_0x1a8be1,_0x2a3a65,_0x499a69){return _0x4cccd6(_0x1a8be1,_0x2a3a65,_0x499a69);},'KGWaf':_0x297bdd(0xa9),'aEGGS':function(_0xbbc3e6,_0x33b90b,_0x4700d3,_0x343bbd){return _0xbbc3e6(_0x33b90b,_0x4700d3,_0x343bbd);},'zlxhX':function(_0x51664d,_0x2f6e35){return _0x51664d!==_0x2f6e35;},'vFDpH':_0x297bdd(0xbd)+'er','BwFKS':'utf8'},_0x5aa7fc=_0x57694b['replace'](/\s*\(.*?\)\s*:?\s*$/,'')[_0x297bdd(0xc4)](/:\s*$/,'')[_0x297bdd(0x8c)]();if(!process[_0x297bdd(0xb6)][_0x297bdd(0xaf)]||!process[_0x297bdd(0x90)][_0x297bdd(0xaf)])return new Promise(_0x983726=>{const _0x49cf3e=_0x297bdd,_0x1891c6=_0x70767e[_0x49cf3e(0xd9)](createInterface,{'input':_0x19557e,'output':_0x5cb893});_0x1891c6[_0x49cf3e(0xd6)](_0x57694b)[_0x49cf3e(0x8e)](_0x20085f=>{const _0xac4813=_0x49cf3e;_0x1891c6[_0xac4813(0xce)]();const _0x1cec11=_0x20085f['trim']()[_0xac4813(0xd7)+_0xac4813(0xc3)]();_0x70767e[_0xac4813(0xa0)](_0x983726,_0x1cec11?_0x70767e[_0xac4813(0xa7)](_0x1cec11,'y'):_0x70767e[_0xac4813(0xd9)](Boolean,_0x428639[_0xac4813(0x8f)+'es']));});});return new Promise(_0xde7433=>{const _0x473e4d=_0x297bdd,_0x553d93={'rQJHD':_0x70767e[_0x473e4d(0xa1)],'eAkeQ':function(_0x49ed8f,_0x3915b1,_0x17a715,_0x46664d){const _0x43d857=_0x473e4d;return _0x70767e[_0x43d857(0xac)](_0x49ed8f,_0x3915b1,_0x17a715,_0x46664d);},'VufFq':function(_0x31bff7,_0x52ea20,_0x4ef93c,_0x4c845a){const _0x48facc=_0x473e4d;return _0x70767e[_0x48facc(0xac)](_0x31bff7,_0x52ea20,_0x4ef93c,_0x4c845a);},'ONRSe':_0x70767e['KGWaf'],'teQtG':function(_0x6fc7d3,_0x1a4e60,_0x202ceb,_0x1a31e1){return _0x70767e['aEGGS'](_0x6fc7d3,_0x1a4e60,_0x202ceb,_0x1a31e1);},'RmchO':function(_0x555320,_0x288e0e){return _0x555320+_0x288e0e;},'jJpCR':function(_0x2dbb5c,_0x45b0a4,_0x5675c6){const _0xe3b776=_0x473e4d;return _0x70767e[_0xe3b776(0x94)](_0x2dbb5c,_0x45b0a4,_0x5675c6);},'QyfjD':function(_0x9b5603,_0x921b7f){return _0x9b5603(_0x921b7f);}};let _0x242259=_0x70767e[_0x473e4d(0x9d)](_0x428639[_0x473e4d(0x8f)+'es'],![]);_0x5cb893[_0x473e4d(0x8d)]('\x0a\x20\x20'+_0x70767e[_0x473e4d(0xae)](style,'?',ui[_0x473e4d(0xb8)],ui['bold'])+'\x20'+_0x70767e['RhXpq'](style,_0x5aa7fc,ui[_0x473e4d(0xb3)])+'\x20\x20'+style(_0x70767e[_0x473e4d(0xcd)],ui[_0x473e4d(0xbb)],ui[_0x473e4d(0xb0)])+'\x0a'),_0x5cb893[_0x473e4d(0x8d)]('\x0a'),_0x70767e[_0x473e4d(0x94)](renderOptions,_0x242259,![]),process[_0x473e4d(0xb6)][_0x473e4d(0x9f)+'de'](!![]),process[_0x473e4d(0xb6)][_0x473e4d(0xde)](),process[_0x473e4d(0xb6)]['setEncod'+_0x473e4d(0x92)](_0x70767e['BwFKS']);function _0xebb0b9(_0x307c3b){const _0x4dd7d9=_0x473e4d;process[_0x4dd7d9(0xb6)][_0x4dd7d9(0x9f)+'de'](![]),process['stdin'][_0x4dd7d9(0x91)](),process[_0x4dd7d9(0xb6)][_0x4dd7d9(0xad)+_0x4dd7d9(0xb7)](_0x553d93[_0x4dd7d9(0xdf)],_0x491ce9);const _0x185b54=_0x307c3b?_0x553d93[_0x4dd7d9(0xb9)](style,'●',ui[_0x4dd7d9(0xab)],ui[_0x4dd7d9(0xb3)])+'\x20'+_0x553d93[_0x4dd7d9(0xcc)](style,_0x553d93['ONRSe'],ui['green'],ui['bold']):_0x553d93[_0x4dd7d9(0xb9)](style,'●',ui[_0x4dd7d9(0xbe)],ui[_0x4dd7d9(0xb3)])+'\x20'+_0x553d93[_0x4dd7d9(0xcb)](style,'No',ui[_0x4dd7d9(0xbe)],ui[_0x4dd7d9(0xb3)]);_0x5cb893['write']('\x1b['+_0x553d93[_0x4dd7d9(0xdd)](OPTION_LINES,PRE_OPTION_LINES)+'A'),_0x5cb893[_0x4dd7d9(0x8d)](_0x4dd7d9(0xd3)+_0x553d93[_0x4dd7d9(0xc7)](style,'✓',ui[_0x4dd7d9(0xab)])+'\x20'+_0x553d93[_0x4dd7d9(0xc7)](style,_0x5aa7fc,ui['dim'])+'\x20\x20'+_0x185b54+'\x0a'),_0x5cb893[_0x4dd7d9(0x8d)]('\x0a'),_0x5cb893[_0x4dd7d9(0x8d)](_0x4dd7d9(0xd1)),_0x553d93[_0x4dd7d9(0xaa)](_0xde7433,_0x307c3b);}function _0x491ce9(_0x1a7ca1){const _0x533149=_0x473e4d;_0x1a7ca1==='\x03'&&(_0x5cb893[_0x533149(0x8d)]('\x0a'),process[_0x533149(0x99)](0x82));if(_0x70767e[_0x533149(0xa5)](_0x1a7ca1,_0x70767e[_0x533149(0x9e)])||_0x1a7ca1===_0x70767e[_0x533149(0xbf)]){_0x242259=!![],_0x70767e[_0x533149(0x94)](renderOptions,_0x242259,!![]);return;}if(_0x70767e[_0x533149(0xa7)](_0x1a7ca1,_0x70767e[_0x533149(0x98)])||_0x1a7ca1===_0x70767e['btxlq']){_0x242259=![],_0x70767e[_0x533149(0x94)](renderOptions,_0x242259,!![]);return;}if(_0x1a7ca1==='\x20'){_0x242259=!_0x242259,_0x70767e['RhXpq'](renderOptions,_0x242259,!![]);return;}if(_0x70767e[_0x533149(0x93)](_0x1a7ca1,'y')||_0x1a7ca1==='Y'){_0x70767e[_0x533149(0x8b)](_0xebb0b9,!![]);return;}if(_0x70767e[_0x533149(0x97)](_0x1a7ca1,'n')||_0x70767e[_0x533149(0x9a)](_0x1a7ca1,'N')){_0x70767e['yiSxA'](_0xebb0b9,![]);return;}if(_0x70767e[_0x533149(0xa5)](_0x1a7ca1,'\x0d')||_0x70767e[_0x533149(0xc6)](_0x1a7ca1,'\x0a')){_0xebb0b9(_0x242259);return;}}process[_0x473e4d(0xb6)]['on'](_0x70767e[_0x473e4d(0xa1)],_0x491ce9);});}function _0x37cf(_0x136cac,_0x13af64){_0x136cac=_0x136cac-0x8a;const _0x31287a=_0xf00b();let _0x5b38e2=_0x31287a[_0x136cac];return _0x5b38e2;}export async function askInput(_0x5e7553){const _0x2bb18b=_0x37cf,_0x23bb15={'UAeUG':function(_0x2a4874,_0x43d750){return _0x2a4874(_0x43d750);}},_0x3921d4=_0x23bb15[_0x2bb18b(0xd2)](createInterface,{'input':_0x19557e,'output':_0x5cb893}),_0x1520e2=await _0x3921d4[_0x2bb18b(0xd6)](_0x5e7553);return _0x3921d4[_0x2bb18b(0xce)](),_0x1520e2[_0x2bb18b(0x8c)]();}export async function askEditableInput(_0x4bd28b,_0x349245){const _0x182fc2=_0x37cf,_0x22a186={'EfSZt':function(_0x3d6640,_0x2fdea9){return _0x3d6640(_0x2fdea9);}},_0x434d58=_0x22a186[_0x182fc2(0xb2)](createInterface,{'input':_0x19557e,'output':_0x5cb893}),_0x196ad3=await _0x434d58[_0x182fc2(0xd6)](_0x4bd28b);_0x434d58[_0x182fc2(0xce)]();const _0x9b60ca=_0x196ad3[_0x182fc2(0x8c)]();if(!_0x9b60ca)return _0x349245;return _0x9b60ca;}function _0xf00b(){const _0x5da6cf=['EVhGk','ase','replace','cyan','wZZTE','jJpCR','1468070mpdWcJ','910185LkHqvq','construc','teQtG','VufFq','vFDpH','close','(((.+)+)','143aeRqlJ','\x1b[J','UAeUG','\x0d\x1b[2K\x20\x20','4885KAuQQl','+)+$','question','toLowerC','HmoKC','wbxjI','1020KgnBhz','39EYjYDI','\x0d\x1b[2K\x0a','RmchO','resume','rQJHD','AcAHy','wDrfc','trim','write','then','defaultY','stdout','pause','ing','kWlqK','RhXpq','\x1b[B','\x1b[A','xlRxp','QvqhM','exit','tzFjS','\x20\x20\x20\x20','tor','zlxhX','iTxmG','setRawMo','DQIJq','Mxcwm','search','\x1b[C','1898088GKOjtd','bebUy','data','ehHRP','apply','Yes','QyfjD','green','kYYzI','removeLi','aEGGS','isTTY','dim','12431576fWfZBk','EfSZt','bold','7QXMJzl','\x0d\x1b[2K','stdin','stener','yellow','eAkeQ','\x1b[D','gray','466920tDCQGd','↑↓\x20·\x20Ent','red','kOqlP','toString','11656692wddqCV'];_0xf00b=function(){return _0x5da6cf;};return _0xf00b();}
package/dist-secure/ui.js CHANGED
@@ -1 +1 @@
1
- const _0xa9d675=_0x3ea4;(function(_0x15526c,_0x5901b1){const _0x499fe2=_0x3ea4,_0x5b763e=_0x15526c();while(!![]){try{const _0x5b11bf=parseInt(_0x499fe2(0x1ea))/0x1+-parseInt(_0x499fe2(0x1be))/0x2*(parseInt(_0x499fe2(0x238))/0x3)+parseInt(_0x499fe2(0x20e))/0x4*(parseInt(_0x499fe2(0x23b))/0x5)+parseInt(_0x499fe2(0x1cf))/0x6*(parseInt(_0x499fe2(0x205))/0x7)+-parseInt(_0x499fe2(0x1e7))/0x8*(-parseInt(_0x499fe2(0x1d7))/0x9)+-parseInt(_0x499fe2(0x1ee))/0xa+-parseInt(_0x499fe2(0x232))/0xb;if(_0x5b11bf===_0x5901b1)break;else _0x5b763e['push'](_0x5b763e['shift']());}catch(_0xc0ac74){_0x5b763e['push'](_0x5b763e['shift']());}}}(_0x2a5e,0x32b65));const _0x9bf896=(function(){const _0x9f77c7={'ruxyh':function(_0x3d5535){return _0x3d5535();},'VFwoW':function(_0x18896c,_0x1e0a1c){return _0x18896c-_0x1e0a1c;},'yxRKV':function(_0x4fe373,_0x1c3869){return _0x4fe373+_0x1c3869;},'rxlmp':function(_0x410ea8,_0x3490e1,_0x357208){return _0x410ea8(_0x3490e1,_0x357208);},'VobCB':function(_0x2d7057,_0x2f8a55,_0x285b7a,_0x233a46){return _0x2d7057(_0x2f8a55,_0x285b7a,_0x233a46);},'ewKNz':function(_0x311538,_0x53c5e5,_0x2adbfa){return _0x311538(_0x53c5e5,_0x2adbfa);},'vuvDh':function(_0x20f03c,_0x13eadb){return _0x20f03c+_0x13eadb;},'vfTET':function(_0x36117a,_0x51b63a){return _0x36117a+_0x51b63a;},'yJcQz':function(_0x2ee96e,_0x14161b,_0x2dfb13){return _0x2ee96e(_0x14161b,_0x2dfb13);},'ipTyB':function(_0x47f9f1,_0x1794bb,_0x264e79){return _0x47f9f1(_0x1794bb,_0x264e79);},'jceMO':function(_0x4f927f,_0x34cdc5){return _0x4f927f+_0x34cdc5;},'iDmUM':function(_0x55be89,_0x51b8ec,_0x59203d,_0x2af5d4){return _0x55be89(_0x51b8ec,_0x59203d,_0x2af5d4);},'yDCdz':function(_0x438175,_0x2e93bc){return _0x438175+_0x2e93bc;},'uJJgK':function(_0x22dbb3,_0x25e1b3){return _0x22dbb3===_0x25e1b3;},'Lwoud':'KQjCg'};let _0x5f589a=!![];return function(_0x4ce586,_0x4d1498){const _0x3e04ca=_0x3ea4;if(_0x9f77c7[_0x3e04ca(0x1f7)](_0x9f77c7[_0x3e04ca(0x228)],_0x9f77c7[_0x3e04ca(0x228)])){const _0x55af17=_0x5f589a?function(){const _0xd24b24=_0x3e04ca;if(_0x4d1498){const _0x5ad3e5=_0x4d1498[_0xd24b24(0x1c8)](_0x4ce586,arguments);return _0x4d1498=null,_0x5ad3e5;}}:function(){};return _0x5f589a=![],_0x55af17;}else{const _0x4b0757=_0x9f77c7[_0x3e04ca(0x227)](_0x349443),_0x562121=_0x3e04ca(0x1e9),_0x18bf8b=_0x2fd502['h']['repeat'](_0x426767[_0x3e04ca(0x1e4)](0x0,_0x9f77c7[_0x3e04ca(0x220)](_0x9f77c7[_0x3e04ca(0x220)](_0x4b0757,_0x562121['length']),0x2))),_0x2dbce6=_0x2377e5['h'][_0x3e04ca(0x1ec)](_0x1295f7['max'](0x0,_0x9f77c7['VFwoW'](_0x4b0757,0x2)));_0x527892[_0x3e04ca(0x212)](),_0x408545[_0x3e04ca(0x212)](_0x9f77c7['yxRKV'](_0x9f77c7[_0x3e04ca(0x1f6)](_0x471bca,_0x9f77c7[_0x3e04ca(0x1f5)](_0x2a0d86['tl'],_0x3764ec['h']),_0x4d6037[_0x3e04ca(0x218)])+_0x9f77c7[_0x3e04ca(0x1fc)](_0x25dfe4,_0x562121,_0x5147d0[_0x3e04ca(0x218)],_0x592890[_0x3e04ca(0x22b)]),_0x9f77c7[_0x3e04ca(0x1e8)](_0x2cb9e4,_0x18bf8b,_0x414cc4[_0x3e04ca(0x218)]))),_0x51638d[_0x3e04ca(0x212)](_0x9f77c7[_0x3e04ca(0x1da)](_0x5b8b7b(_0x9f77c7['vfTET'](_0x4815f5['v'],'\x20'),_0x3e6da9[_0x3e04ca(0x218)]),'\x20'+_0x9f77c7[_0x3e04ca(0x1fc)](_0x2f5f16,_0x128644[_0x3e04ca(0x208)],_0x234818[_0x3e04ca(0x218)],_0x1ac8c6[_0x3e04ca(0x22b)])+'\x20'+_0x9f77c7[_0x3e04ca(0x20a)](_0x5a1388,_0x51a692,_0x3dbb0b['red']))),_0x170710&&_0x291059['error'](_0x9f77c7[_0x3e04ca(0x1c3)](_0x53ae02,_0x9f77c7[_0x3e04ca(0x21a)](_0x2aa701['v'],'\x20'),_0x24e4a8['red'])+(_0x3e04ca(0x1f0)+_0x451b3a(_0xac8813[_0x3e04ca(0x23c)],_0x2f75e0['gray'])+'\x20'+_0x9f77c7[_0x3e04ca(0x1f2)](_0x311a04,_0xca5d48,_0x2f6628['gray'],_0x2ce5d2[_0x3e04ca(0x203)]))),_0x1e423a[_0x3e04ca(0x212)](_0x9f77c7[_0x3e04ca(0x1f6)](_0x2ad21f,_0x9f77c7['yDCdz'](_0x49ad1f['bl']+_0x2dbce6,_0x5917cf['br']),_0x52dab0[_0x3e04ca(0x218)])),_0x1f5418['error'](),_0x3196dc[_0x3e04ca(0x21c)](0x1);}};}()),_0x5ba101=_0x9bf896(this,function(){const _0x3e9623=_0x3ea4,_0x1d8ac9={'kPWgI':'(((.+)+)'+_0x3e9623(0x226)};return _0x5ba101[_0x3e9623(0x234)]()[_0x3e9623(0x1f4)](_0x1d8ac9['kPWgI'])[_0x3e9623(0x234)]()[_0x3e9623(0x1e1)+'tor'](_0x5ba101)['search']('(((.+)+)'+_0x3e9623(0x226));});_0x5ba101();export const ui={'reset':_0xa9d675(0x1ff),'bold':_0xa9d675(0x1eb),'dim':_0xa9d675(0x1fe),'italic':_0xa9d675(0x221),'underline':_0xa9d675(0x1f3),'cyan':_0xa9d675(0x1ce),'white':_0xa9d675(0x211),'green':'\x1b[32m','yellow':'\x1b[33m','red':_0xa9d675(0x21e),'magenta':'\x1b[35m','gray':_0xa9d675(0x1e2)};export const symbols={'tick':'✓','warn':'⚠','cross':'✗','bullet':'●','dot':'·','arrow':'→','treeItem':'├─','treeLast':'└─','treePipe':'│','h':'─','v':'│','tl':'╭','tr':'╮','bl':'╰','br':'╯'};export function style(_0x21e29d,..._0xa0fe79){const _0x4121c2=_0xa9d675;return''+_0xa0fe79['join']('')+_0x21e29d+ui[_0x4121c2(0x20c)];}function termWidth(){const _0x3c11bd=_0xa9d675;return Math[_0x3c11bd(0x1e4)](0x28,Math[_0x3c11bd(0x1c9)](process[_0x3c11bd(0x207)][_0x3c11bd(0x217)]||0x50,0x58));}function _0x2a5e(){const _0x5ac36e=['TGfhi','AFPfA','mnrmS','oKAkD','\x0d\x1b[2K','2255308NIYiPd','warn','toString','yellow','pcsiT','LYcrf','1176597EYAHFF','khQpO','TMejA','189370mVKOPf','arrow','PuhuC','ovmmb','2TijXBf','CjbeM','LiZIW','ooiuL','ubRyf','ipTyB','QtDEv','sUJED','gray','VsAfi','apply','min','rVWSj','bullet','DQNUG','RBmTW','\x1b[36m','6ZojGPK','esDkr','klsPg','green','RRiWU','ELlPd','sbZrD','reduce','541611KJXMmo','TlrPu','iNxfm','vuvDh','cyan','LKGfn','isTTY','treeLast','nfyvT','tick','construc','\x1b[90m','padEnd','max','bmHSs','LFdVH','48ESGPcl','ewKNz','\x20Error\x20','167178gRHesD','\x1b[1m','repeat','FMTPB','1263810msQDUK','gcnCV','\x20\x20\x20','write','iDmUM','\x1b[4m','search','yxRKV','rxlmp','uJJgK','RCMgb','XIDCy','PxDxa','vXXWC','VobCB','log','\x1b[2m','\x1b[0m','bulZq','jvyvu','NKdtM','italic','VDejl','965685SpAQUi','eWcjO','stdout','cross','dOCPd','yJcQz','QzxOv','reset','SVMHQ','28kKcDWv','soXsa','length','\x1b[37m','error','Failed','message','uetxu','LKcRh','columns','red','(none)','jceMO','SiLRF','exit','dim','\x1b[31m','nXmPE','VFwoW','\x1b[3m','oMrkd','\x0d\x20\x20','ltoZN','Oooko','+)+$','ruxyh','Lwoud','dJVaC','treeItem','bold','tbufR'];_0x2a5e=function(){return _0x5ac36e;};return _0x2a5e();}export function section(_0x534769){const _0x4a5e3e=_0xa9d675,_0x2a8b05={'LYcrf':function(_0x18a85e,_0x4ce878){return _0x18a85e-_0x4ce878;},'eWcjO':function(_0x524795){return _0x524795();},'ovmmb':function(_0x38acd4,_0x14338a){return _0x38acd4+_0x14338a;},'nfyvT':function(_0x2350c4,_0x4fbe4e){return _0x2350c4+_0x4fbe4e;},'bmHSs':function(_0x3cfeab,_0x13b2ee,_0x16cc60){return _0x3cfeab(_0x13b2ee,_0x16cc60);},'TlrPu':function(_0x10024d,_0x1f2455,_0xe9bc3c){return _0x10024d(_0x1f2455,_0xe9bc3c);}},_0x302f9a='\x20'+_0x534769+'\x20',_0x56c852=symbols['h'][_0x4a5e3e(0x1ec)](Math['max'](0x0,_0x2a8b05[_0x4a5e3e(0x237)](_0x2a8b05[_0x4a5e3e(0x206)](termWidth),_0x302f9a['length'])-0x2));console[_0x4a5e3e(0x1fd)](),console[_0x4a5e3e(0x1fd)](_0x2a8b05[_0x4a5e3e(0x1bd)](style(_0x2a8b05[_0x4a5e3e(0x1df)](symbols['tl'],symbols['h']),ui[_0x4a5e3e(0x1c6)])+_0x2a8b05[_0x4a5e3e(0x1e5)](style,_0x302f9a,ui[_0x4a5e3e(0x22b)]),_0x2a8b05[_0x4a5e3e(0x1d8)](style,_0x56c852,ui[_0x4a5e3e(0x1c6)])));}export function ok(_0x5261a5,_0x2e30a5){const _0x551737=_0xa9d675,_0x52aa4d={'LKGfn':function(_0x352e77,_0x5d4989,_0x421afe){return _0x352e77(_0x5d4989,_0x421afe);},'Oooko':function(_0x594f18,_0xb8631f,_0x1670b8,_0xf16b06){return _0x594f18(_0xb8631f,_0x1670b8,_0xf16b06);},'QPjLb':function(_0x48478d,_0x4197f6,_0x39d11b){return _0x48478d(_0x4197f6,_0x39d11b);}},_0x16647e=_0x52aa4d[_0x551737(0x1dc)](style,symbols[_0x551737(0x1e0)],ui[_0x551737(0x1d2)])+'\x20'+_0x52aa4d[_0x551737(0x225)](style,_0x5261a5,ui[_0x551737(0x1d2)],ui[_0x551737(0x22b)]);return _0x2e30a5?_0x16647e+'\x20\x20'+_0x52aa4d['QPjLb'](style,_0x2e30a5,ui[_0x551737(0x1c6)]):_0x16647e;}export function warn(_0x302d00,_0x376bf8){const _0x9866fe=_0xa9d675,_0x371837={'ELlPd':function(_0x2554ce,_0x12a5a7,_0x199c2f,_0x2c75c3){return _0x2554ce(_0x12a5a7,_0x199c2f,_0x2c75c3);},'zmayD':function(_0x2bb225,_0xd0fd87,_0xc3a6bc){return _0x2bb225(_0xd0fd87,_0xc3a6bc);}},_0x961d57=style(symbols[_0x9866fe(0x233)],ui[_0x9866fe(0x235)],ui[_0x9866fe(0x22b)])+'\x20'+_0x371837[_0x9866fe(0x1d4)](style,_0x302d00,ui[_0x9866fe(0x235)],ui[_0x9866fe(0x22b)]);return _0x376bf8?_0x961d57+'\x20\x20'+_0x371837['zmayD'](style,_0x376bf8,ui[_0x9866fe(0x1c6)]):_0x961d57;}export function bad(_0x2d2123,_0x1e6b30){const _0x3cd50e=_0xa9d675,_0x5b3836={'iNxfm':function(_0x1a2e35,_0xd08657,_0x309f7c,_0x254c2e){return _0x1a2e35(_0xd08657,_0x309f7c,_0x254c2e);},'Gmxto':function(_0x451069,_0xd38b07,_0x1db605){return _0x451069(_0xd38b07,_0x1db605);}},_0x18fc7f=_0x5b3836[_0x3cd50e(0x1d9)](style,symbols[_0x3cd50e(0x208)],ui[_0x3cd50e(0x218)],ui[_0x3cd50e(0x22b)])+'\x20'+style(_0x2d2123,ui[_0x3cd50e(0x218)],ui[_0x3cd50e(0x22b)]);return _0x1e6b30?_0x18fc7f+'\x20\x20'+_0x5b3836['Gmxto'](style,_0x1e6b30,ui[_0x3cd50e(0x1c6)]):_0x18fc7f;}export function info(_0x170dae,_0x5976ff){const _0x1112cf=_0xa9d675,_0x46e41d={'xEJLe':function(_0x3c102c,_0x5cb196,_0x5d218b){return _0x3c102c(_0x5cb196,_0x5d218b);},'qOyRx':function(_0x2b6bac,_0x13965a,_0x583132,_0x1876af){return _0x2b6bac(_0x13965a,_0x583132,_0x1876af);}},_0x3122ac=_0x46e41d['xEJLe'](style,symbols[_0x1112cf(0x1cb)],ui[_0x1112cf(0x1db)])+'\x20'+_0x46e41d['qOyRx'](style,_0x170dae,ui[_0x1112cf(0x1db)],ui[_0x1112cf(0x22b)]);return _0x5976ff?_0x3122ac+'\x20\x20'+_0x46e41d['xEJLe'](style,_0x5976ff,ui[_0x1112cf(0x1c6)]):_0x3122ac;}export function printKeyValues(_0x58f079){const _0x195eb0=_0xa9d675,_0x39ebca={'QtDEv':function(_0x7439a3,_0x1a7495){return _0x7439a3===_0x1a7495;},'oMrkd':function(_0x480693,_0x3c2f4e){return _0x480693===_0x3c2f4e;},'rVcyw':function(_0x464657,_0x3c2cec){return _0x464657-_0x3c2cec;},'soXsa':function(_0xbc3d0d,_0x5a1cc1,_0x5f02e0,_0x2ad8fc){return _0xbc3d0d(_0x5a1cc1,_0x5f02e0,_0x2ad8fc);}};if(_0x39ebca[_0x195eb0(0x1c4)](_0x58f079[_0x195eb0(0x210)],0x0))return;const _0xf34471=_0x58f079[_0x195eb0(0x1d6)]((_0x11a8a0,_0x256a80)=>Math[_0x195eb0(0x1e4)](_0x11a8a0,_0x256a80['key'][_0x195eb0(0x210)]),0x0);for(let _0x99f961=0x0;_0x99f961<_0x58f079[_0x195eb0(0x210)];_0x99f961++){const _0x4c6b47=_0x39ebca[_0x195eb0(0x222)](_0x99f961,_0x39ebca['rVcyw'](_0x58f079[_0x195eb0(0x210)],0x1)),_0x3a447a=style(_0x4c6b47?symbols[_0x195eb0(0x1de)]:symbols[_0x195eb0(0x22a)],ui[_0x195eb0(0x1c6)]),_0x352036=_0x39ebca[_0x195eb0(0x20f)](style,_0x58f079[_0x99f961]['key'][_0x195eb0(0x1e3)](_0xf34471),ui['gray'],ui[_0x195eb0(0x203)]);console['log']('\x20\x20'+_0x3a447a+'\x20'+_0x352036+'\x20\x20'+_0x58f079[_0x99f961]['value']);}}export function printList(_0x308390,_0x1b2b73){const _0x91df65=_0xa9d675,_0x14c49c={'SiLRF':function(_0x67b03c,_0x260188,_0x266d0f){return _0x67b03c(_0x260188,_0x266d0f);},'kDuUj':function(_0x1403a1,_0x14155c){return _0x1403a1===_0x14155c;},'PuhuC':function(_0x2206df,_0x12599a,_0x4730f0){return _0x2206df(_0x12599a,_0x4730f0);},'TGfhi':function(_0x494433,_0x456324){return _0x494433<_0x456324;},'VsAfi':function(_0x1601eb,_0x1c84a8){return _0x1601eb-_0x1c84a8;},'FFQir':function(_0x2af1dc,_0x1e737e,_0x3059df){return _0x2af1dc(_0x1e737e,_0x3059df);}};console[_0x91df65(0x1fd)]('\x20\x20'+_0x14c49c[_0x91df65(0x21b)](style,_0x308390,ui[_0x91df65(0x22b)]));if(_0x14c49c['kDuUj'](_0x1b2b73[_0x91df65(0x210)],0x0)){console[_0x91df65(0x1fd)]('\x20\x20'+_0x14c49c[_0x91df65(0x23d)](style,symbols[_0x91df65(0x1de)],ui[_0x91df65(0x1c6)])+'\x20'+style(_0x91df65(0x219),ui[_0x91df65(0x1c6)],ui[_0x91df65(0x203)]));return;}for(let _0x4955d5=0x0;_0x14c49c[_0x91df65(0x22d)](_0x4955d5,_0x1b2b73[_0x91df65(0x210)]);_0x4955d5++){const _0x2c29dd=_0x14c49c['kDuUj'](_0x4955d5,_0x14c49c[_0x91df65(0x1c7)](_0x1b2b73[_0x91df65(0x210)],0x1)),_0x3ed0c5=_0x14c49c[_0x91df65(0x23d)](style,_0x2c29dd?symbols[_0x91df65(0x1de)]:symbols[_0x91df65(0x22a)],ui['gray']);console[_0x91df65(0x1fd)]('\x20\x20'+_0x3ed0c5+'\x20'+_0x14c49c['FFQir'](style,_0x1b2b73[_0x4955d5],ui[_0x91df65(0x21d)]));}}export function warnBlock(_0x17ef0f){const _0x29687c=_0xa9d675,_0x302754={'mnrmS':function(_0x3cf4cc,_0x338e72){return _0x3cf4cc-_0x338e72;},'oKAkD':function(_0x558b5a,_0x5ca9b5){return _0x558b5a-_0x5ca9b5;},'TMejA':function(_0x27c7d3,_0x49c9b5){return _0x27c7d3+_0x49c9b5;},'CjbeM':function(_0x506b2e,_0x109b4b,_0x234db7){return _0x506b2e(_0x109b4b,_0x234db7);},'VDejl':function(_0x1bef7d,_0x5a87ff){return _0x1bef7d+_0x5a87ff;},'ooiuL':function(_0x3b6c17,_0x183e03,_0x3fa0a4,_0x255beb){return _0x3b6c17(_0x183e03,_0x3fa0a4,_0x255beb);},'QzxOv':function(_0x41dd59,_0x688c88,_0x44df28,_0x15349f){return _0x41dd59(_0x688c88,_0x44df28,_0x15349f);},'ubRyf':function(_0x2f52ff,_0x3e7e30,_0x469b0c){return _0x2f52ff(_0x3e7e30,_0x469b0c);}},_0x27d0ca=termWidth(),_0x5f0625='\x20Warning'+'\x20',_0x2c82df=symbols['h'][_0x29687c(0x1ec)](Math[_0x29687c(0x1e4)](0x0,_0x302754[_0x29687c(0x22f)](_0x302754[_0x29687c(0x230)](_0x27d0ca,_0x5f0625['length']),0x2))),_0xacf59c=symbols['h'][_0x29687c(0x1ec)](Math[_0x29687c(0x1e4)](0x0,_0x27d0ca-0x2));console[_0x29687c(0x233)](),console[_0x29687c(0x233)](_0x302754[_0x29687c(0x23a)](_0x302754[_0x29687c(0x23a)](_0x302754[_0x29687c(0x1bf)](style,_0x302754[_0x29687c(0x204)](symbols['tl'],symbols['h']),ui['yellow']),_0x302754[_0x29687c(0x1c1)](style,_0x5f0625,ui['yellow'],ui[_0x29687c(0x22b)])),_0x302754[_0x29687c(0x1bf)](style,_0x2c82df,ui['yellow']))),console['warn'](_0x302754[_0x29687c(0x23a)](style(_0x302754[_0x29687c(0x23a)](symbols['v'],'\x20'),ui['yellow']),'\x20'+_0x302754[_0x29687c(0x20b)](style,symbols['warn'],ui['yellow'],ui['bold'])+'\x20'+_0x302754[_0x29687c(0x1c2)](style,_0x17ef0f,ui[_0x29687c(0x235)]))),console[_0x29687c(0x233)](style(_0x302754[_0x29687c(0x23a)](symbols['bl'],_0xacf59c)+symbols['br'],ui[_0x29687c(0x235)])),console[_0x29687c(0x233)]();}function _0x3ea4(_0x2a9ba0,_0x12e8ca){_0x2a9ba0=_0x2a9ba0-0x1bd;const _0x1d5622=_0x2a5e();let _0x5ba101=_0x1d5622[_0x2a9ba0];return _0x5ba101;}export function failAndExit(_0xfb9598,_0x11c352){const _0x3132ad=_0xa9d675,_0x298c11={'dJVaC':function(_0x8cb506){return _0x8cb506();},'khQpO':function(_0x1f7327,_0x931258){return _0x1f7327-_0x931258;},'LFdVH':function(_0x361532,_0x462484){return _0x361532-_0x462484;},'jvyvu':function(_0x2f7a27,_0x5504a6){return _0x2f7a27+_0x5504a6;},'zJtNF':function(_0x40f79e,_0x269773){return _0x40f79e+_0x269773;},'PxDxa':function(_0x5a8fea,_0x2f10c3,_0xcfe96){return _0x5a8fea(_0x2f10c3,_0xcfe96);},'RCMgb':function(_0x15aed7,_0x37a7c9,_0x233f82,_0x1e7325){return _0x15aed7(_0x37a7c9,_0x233f82,_0x1e7325);},'rVWSj':function(_0x4eb8c1,_0x150e24,_0x5bb34f){return _0x4eb8c1(_0x150e24,_0x5bb34f);},'FMTPB':function(_0x462454,_0x460fcd){return _0x462454+_0x460fcd;},'esDkr':function(_0x12a918,_0x5de62a,_0x4a2879,_0x3f44a6){return _0x12a918(_0x5de62a,_0x4a2879,_0x3f44a6);},'vXXWC':function(_0x3fc3bd,_0x202819,_0x5c0ab9){return _0x3fc3bd(_0x202819,_0x5c0ab9);},'lzHrG':function(_0x4dd967,_0xd83526){return _0x4dd967+_0xd83526;}},_0x5aaef0=_0x298c11[_0x3132ad(0x229)](termWidth),_0x4dadc5=_0x3132ad(0x1e9),_0xed5880=symbols['h'][_0x3132ad(0x1ec)](Math[_0x3132ad(0x1e4)](0x0,_0x298c11[_0x3132ad(0x239)](_0x298c11[_0x3132ad(0x1e6)](_0x5aaef0,_0x4dadc5[_0x3132ad(0x210)]),0x2))),_0x2b7f37=symbols['h'][_0x3132ad(0x1ec)](Math[_0x3132ad(0x1e4)](0x0,_0x298c11['khQpO'](_0x5aaef0,0x2)));console[_0x3132ad(0x212)](),console['error'](_0x298c11['jvyvu'](_0x298c11['zJtNF'](_0x298c11[_0x3132ad(0x1fa)](style,_0x298c11[_0x3132ad(0x201)](symbols['tl'],symbols['h']),ui[_0x3132ad(0x218)]),_0x298c11[_0x3132ad(0x1f8)](style,_0x4dadc5,ui['red'],ui[_0x3132ad(0x22b)])),_0x298c11[_0x3132ad(0x1ca)](style,_0xed5880,ui[_0x3132ad(0x218)]))),console['error'](_0x298c11['FMTPB'](_0x298c11[_0x3132ad(0x1ca)](style,_0x298c11[_0x3132ad(0x1ed)](symbols['v'],'\x20'),ui[_0x3132ad(0x218)]),'\x20'+_0x298c11[_0x3132ad(0x1d0)](style,symbols[_0x3132ad(0x208)],ui[_0x3132ad(0x218)],ui[_0x3132ad(0x22b)])+'\x20'+_0x298c11[_0x3132ad(0x1ca)](style,_0xfb9598,ui[_0x3132ad(0x218)]))),_0x11c352&&console['error'](_0x298c11[_0x3132ad(0x1ed)](_0x298c11['PxDxa'](style,symbols['v']+'\x20',ui[_0x3132ad(0x218)]),'\x20\x20\x20'+style(symbols[_0x3132ad(0x23c)],ui[_0x3132ad(0x1c6)])+'\x20'+_0x298c11[_0x3132ad(0x1d0)](style,_0x11c352,ui[_0x3132ad(0x1c6)],ui[_0x3132ad(0x203)]))),console['error'](_0x298c11[_0x3132ad(0x1fb)](style,_0x298c11['lzHrG'](symbols['bl'],_0x2b7f37)+symbols['br'],ui[_0x3132ad(0x218)])),console[_0x3132ad(0x212)](),process[_0x3132ad(0x21c)](0x1);}export async function withProgress(_0x24cb75,_0x2a7078){const _0x1a8e1a=_0xa9d675,_0x3ce873={'DQNUG':function(_0x42277b,_0x534cbf){return _0x42277b-_0x534cbf;},'nXmPE':function(_0x2761cd){return _0x2761cd();},'LiZIW':function(_0x212d42,_0x45b666){return _0x212d42+_0x45b666;},'pcsiT':function(_0x587d14,_0x53d927,_0x3f4713){return _0x587d14(_0x53d927,_0x3f4713);},'uXtIx':function(_0x210b42,_0x97c4b6,_0x1a962f){return _0x210b42(_0x97c4b6,_0x1a962f);},'LKcRh':function(_0x426539,_0x3ac0c0,_0x16e1f1){return _0x426539(_0x3ac0c0,_0x16e1f1);},'tbufR':function(_0x501215,_0x58e9f6){return _0x501215%_0x58e9f6;},'yyIoL':function(_0x2127ba){return _0x2127ba();},'sbZrD':function(_0x14da77,_0x553f3f){return _0x14da77!==_0x553f3f;},'RBmTW':_0x1a8e1a(0x215),'NKdtM':_0x1a8e1a(0x1d1),'SVMHQ':function(_0x3b6eb3,_0x106f72,_0x55dce5){return _0x3b6eb3(_0x106f72,_0x55dce5);},'AFPfA':function(_0x4cb0e6,_0xbaf28e){return _0x4cb0e6(_0xbaf28e);},'sUJED':_0x1a8e1a(0x231),'RRiWU':function(_0x30747a,_0x1af2a1){return _0x30747a(_0x1af2a1);},'dOCPd':'Done','gcnCV':function(_0xcfa0d9,_0x256514){return _0xcfa0d9===_0x256514;},'bulZq':function(_0x59ea50,_0x41ff50){return _0x59ea50(_0x41ff50);},'OSszc':function(_0x454673,_0x30823c){return _0x454673(_0x30823c);},'ltoZN':_0x1a8e1a(0x213)};if(!process[_0x1a8e1a(0x207)][_0x1a8e1a(0x1dd)]){if(_0x3ce873[_0x1a8e1a(0x1d5)](_0x3ce873[_0x1a8e1a(0x1cd)],_0x3ce873[_0x1a8e1a(0x202)]))return console[_0x1a8e1a(0x1fd)](_0x24cb75),_0x3ce873[_0x1a8e1a(0x21f)](_0x2a7078);else{const _0x5e193c='\x20'+_0xb9a051+'\x20',_0x41c68c=_0x4bbbf0['h'][_0x1a8e1a(0x1ec)](_0x3a2278[_0x1a8e1a(0x1e4)](0x0,jtvMwi['DQNUG'](jtvMwi[_0x1a8e1a(0x1cc)](jtvMwi[_0x1a8e1a(0x21f)](_0x4f3229),_0x5e193c[_0x1a8e1a(0x210)]),0x2)));_0xcf4d1f[_0x1a8e1a(0x1fd)](),_0x3d1e48[_0x1a8e1a(0x1fd)](jtvMwi['LiZIW'](jtvMwi['pcsiT'](_0x1fccba,jtvMwi[_0x1a8e1a(0x1c0)](_0x482333['tl'],_0x4bd73c['h']),_0x16ca94[_0x1a8e1a(0x1c6)])+jtvMwi['uXtIx'](_0x3df54f,_0x5e193c,_0x57e4fa['bold']),jtvMwi[_0x1a8e1a(0x216)](_0x6cd036,_0x41c68c,_0x5d554a[_0x1a8e1a(0x1c6)])));}}const _0x3cf4b9=['⠋','⠙','⠹','⠸','⠼','⠴','⠦','⠧','⠇','⠏'];let _0x3c859a=0x0;const _0xc96661=()=>{const _0x50b38f=_0x1a8e1a,_0x4b0649=style(_0x3cf4b9[_0x3ce873[_0x50b38f(0x22c)](_0x3c859a,_0x3cf4b9[_0x50b38f(0x210)])],ui[_0x50b38f(0x1db)]);process[_0x50b38f(0x207)][_0x50b38f(0x1f1)](_0x50b38f(0x223)+_0x4b0649+'\x20\x20'+_0x3ce873[_0x50b38f(0x236)](style,_0x24cb75,ui[_0x50b38f(0x21d)])),_0x3c859a+=0x1;};_0x3ce873[_0x1a8e1a(0x21f)](_0xc96661);const _0x1e158f=_0x3ce873[_0x1a8e1a(0x20d)](setInterval,_0xc96661,0x50);try{const _0x214313=await _0x2a7078();return _0x3ce873[_0x1a8e1a(0x22e)](clearInterval,_0x1e158f),process['stdout'][_0x1a8e1a(0x1f1)](_0x3ce873['sUJED']),console['log']('\x20\x20'+_0x3ce873[_0x1a8e1a(0x1d3)](ok,_0x3ce873[_0x1a8e1a(0x209)])+'\x20\x20'+_0x3ce873['LKcRh'](style,_0x24cb75,ui[_0x1a8e1a(0x21d)])),_0x214313;}catch(_0x452328){if(_0x3ce873[_0x1a8e1a(0x1ef)]('XIDCy',_0x1a8e1a(0x1f9))){_0x3ce873[_0x1a8e1a(0x200)](clearInterval,_0x1e158f),process[_0x1a8e1a(0x207)][_0x1a8e1a(0x1f1)](_0x3ce873[_0x1a8e1a(0x1c5)]);const _0x1ecd3e=_0x452328 instanceof Error?_0x452328[_0x1a8e1a(0x214)]:_0x3ce873['OSszc'](String,_0x452328);console[_0x1a8e1a(0x212)]('\x20\x20'+bad(_0x3ce873[_0x1a8e1a(0x224)])+'\x20\x20'+_0x3ce873[_0x1a8e1a(0x236)](style,_0x1ecd3e,ui[_0x1a8e1a(0x21d)]));throw _0x452328;}else return _0xa1bf34[_0x1a8e1a(0x1fd)](_0x1c06bb),_0x3ce873['yyIoL'](_0x3baf42);}}
1
+ const _0x58a979=_0x48db;function _0x3e20(){const _0x1288e4=['\x20Warning','\x0d\x20\x20','207780kIIYaR','YqYbG','NtpML','red','reduce','Vjczb','yellow','VEjAu','\x1b[1m','xiuki','loshm','key','cjXxG','\x1b[3m','cyan','919149VlEjkA','toString','\x1b[4m','bullet','Spike','jsJFI','48qNPKNb','6iPJLIe','treeLast','qhvol','RuCWI','\x1b[35m','oYlkd','FUQqu','HSrTY','italic','CDByc','max','repeat','QTRPj','sBKuP','search','apply','VkToQ','10sjbymj','UAxcS','(((.+)+)','feWbI','NjnMj','xFrsC','warn','AumvF','foTbn','gray','4475796GGCtfP','green','18ERpYbH','\x1b[37m','FDroj','error','HKGHZ','rbWyl','bPYTo','bold','7qgcOkq','diuRF','aXKSe','WAKTC','log','stdout','Shogx','5265900lWeaGa','\x20Error\x20','columns','write','tor','rRHum','rCfkv','\x20\x20\x20','construc','dim','\x1b[36m','jannM','VAihE','exit','BhCHB','HTEFM','DEfcx','8490904NEPaqw','hZMmj','Done','\x1b[0m','bGnuB','pTuLG','wGpJR','cross','boUFO','reset','evRtl','JQcdk','Failed','length','iWQaH','\x1b[32m','lYDve','shpyc','1883890nFtpnL','+)+$','MMQRc','TsaNi','(none)','\x1b[2m','join','treeItem','218055JyekKP','AtCVz'];_0x3e20=function(){return _0x1288e4;};return _0x3e20();}(function(_0x2c6806,_0x483731){const _0x5cc0c7=_0x48db,_0x58f72b=_0x2c6806();while(!![]){try{const _0x5e44dd=-parseInt(_0x5cc0c7(0x122))/0x1*(-parseInt(_0x5cc0c7(0x14d))/0x2)+-parseInt(_0x5cc0c7(0x126))/0x3+-parseInt(_0x5cc0c7(0x157))/0x4+parseInt(_0x5cc0c7(0xf7))/0x5*(-parseInt(_0x5cc0c7(0x13c))/0x6)+-parseInt(_0x5cc0c7(0xf0))/0x7*(-parseInt(_0x5cc0c7(0x108))/0x8)+-parseInt(_0x5cc0c7(0x159))/0x9*(-parseInt(_0x5cc0c7(0x11a))/0xa)+-parseInt(_0x5cc0c7(0x135))/0xb*(-parseInt(_0x5cc0c7(0x13b))/0xc);if(_0x5e44dd===_0x483731)break;else _0x58f72b['push'](_0x58f72b['shift']());}catch(_0xfe0c2e){_0x58f72b['push'](_0x58f72b['shift']());}}}(_0x3e20,0x97acf));const _0x38dafe=(function(){let _0x547ca8=!![];return function(_0x52d163,_0x444682){const _0x36eae0=_0x547ca8?function(){const _0x26b695=_0x48db;if(_0x444682){const _0x220237=_0x444682[_0x26b695(0x14b)](_0x52d163,arguments);return _0x444682=null,_0x220237;}}:function(){};return _0x547ca8=![],_0x36eae0;};}()),_0x1e5a06=_0x38dafe(this,function(){const _0x450ac6=_0x48db,_0x392bcd={'VEjAu':_0x450ac6(0x14f)+_0x450ac6(0x11b)};return _0x1e5a06[_0x450ac6(0x136)]()[_0x450ac6(0x14a)]('(((.+)+)'+_0x450ac6(0x11b))[_0x450ac6(0x136)]()[_0x450ac6(0xff)+_0x450ac6(0xfb)](_0x1e5a06)[_0x450ac6(0x14a)](_0x392bcd[_0x450ac6(0x12d)]);});_0x1e5a06();export const ui={'reset':_0x58a979(0x10b),'bold':_0x58a979(0x12e),'dim':_0x58a979(0x11f),'italic':_0x58a979(0x133),'underline':_0x58a979(0x137),'cyan':_0x58a979(0x101),'white':_0x58a979(0x15a),'green':_0x58a979(0x117),'yellow':'\x1b[33m','red':'\x1b[31m','magenta':_0x58a979(0x140),'gray':'\x1b[90m'};export const symbols={'tick':'✓','warn':'⚠','cross':'✗','bullet':'●','dot':'·','arrow':'→','treeItem':'├─','treeLast':'└─','treePipe':'│','h':'─','v':'│','tl':'╭','tr':'╮','bl':'╰','br':'╯'};function _0x48db(_0x3b3472,_0x14c8f3){_0x3b3472=_0x3b3472-0xf0;const _0x29ad3c=_0x3e20();let _0x1e5a06=_0x29ad3c[_0x3b3472];return _0x1e5a06;}export function style(_0x2d66a9,..._0x21243e){const _0x3b32d9=_0x58a979;return''+_0x21243e[_0x3b32d9(0x120)]('')+_0x2d66a9+ui[_0x3b32d9(0x111)];}function termWidth(){const _0x28d7c0=_0x58a979;return Math[_0x28d7c0(0x146)](0x28,Math['min'](process[_0x28d7c0(0xf5)][_0x28d7c0(0xf9)]||0x50,0x58));}export function section(_0xbc9fb4){const _0x4d4cf0=_0x58a979,_0xde4c80={'lYDve':function(_0x1721e0,_0x8e8d45){return _0x1721e0-_0x8e8d45;},'Shogx':function(_0x504d74){return _0x504d74();},'NtpML':function(_0x4dccc2,_0x18d0fc){return _0x4dccc2+_0x18d0fc;},'FDroj':function(_0x23782d,_0x53d04f){return _0x23782d+_0x53d04f;},'VAihE':function(_0x52b606,_0x15f3e2,_0x5867df){return _0x52b606(_0x15f3e2,_0x5867df);},'cjXxG':function(_0x3e4d70,_0x1190df,_0x59bee5){return _0x3e4d70(_0x1190df,_0x59bee5);}},_0x42634a='\x20'+_0xbc9fb4+'\x20',_0x17f49c=symbols['h'][_0x4d4cf0(0x147)](Math[_0x4d4cf0(0x146)](0x0,_0xde4c80['lYDve'](_0xde4c80[_0x4d4cf0(0x118)](_0xde4c80[_0x4d4cf0(0xf6)](termWidth),_0x42634a['length']),0x2)));console[_0x4d4cf0(0xf4)](),console[_0x4d4cf0(0xf4)](_0xde4c80[_0x4d4cf0(0x128)](_0xde4c80[_0x4d4cf0(0x15b)](style(_0xde4c80[_0x4d4cf0(0x15b)](symbols['tl'],symbols['h']),ui['gray']),_0xde4c80[_0x4d4cf0(0x103)](style,_0x42634a,ui['bold'])),_0xde4c80[_0x4d4cf0(0x132)](style,_0x17f49c,ui[_0x4d4cf0(0x156)])));}export function ok(_0x2ee04f,_0x20890e){const _0x2221e0=_0x58a979,_0x2cc3ca={'zDsdt':function(_0x13e863,_0x3f0283,_0x1aff31){return _0x13e863(_0x3f0283,_0x1aff31);},'HTEFM':function(_0x92a219,_0x52473a,_0x36ffb9){return _0x92a219(_0x52473a,_0x36ffb9);}},_0x55d62b=_0x2cc3ca['zDsdt'](style,symbols['tick'],ui[_0x2221e0(0x158)])+'\x20'+style(_0x2ee04f,ui[_0x2221e0(0x158)],ui[_0x2221e0(0x160)]);return _0x20890e?_0x55d62b+'\x20\x20'+_0x2cc3ca[_0x2221e0(0x106)](style,_0x20890e,ui[_0x2221e0(0x156)]):_0x55d62b;}export function warn(_0x3abaf1,_0xad5086){const _0x209b4b=_0x58a979,_0x35a85e={'Vjczb':function(_0x3bf567,_0x25b631,_0x319362,_0x3b338b){return _0x3bf567(_0x25b631,_0x319362,_0x3b338b);},'UAxcS':function(_0x23bcdf,_0x470fbc,_0x3ca921,_0x15762a){return _0x23bcdf(_0x470fbc,_0x3ca921,_0x15762a);}},_0x1314bb=_0x35a85e[_0x209b4b(0x12b)](style,symbols[_0x209b4b(0x153)],ui[_0x209b4b(0x12c)],ui['bold'])+'\x20'+_0x35a85e[_0x209b4b(0x14e)](style,_0x3abaf1,ui[_0x209b4b(0x12c)],ui[_0x209b4b(0x160)]);return _0xad5086?_0x1314bb+'\x20\x20'+style(_0xad5086,ui['gray']):_0x1314bb;}export function bad(_0x179ad0,_0x3c349b){const _0x1788d0=_0x58a979,_0x28d42e={'pTuLG':function(_0x5eb026,_0x1f9687,_0x5acc8b,_0x1e794e){return _0x5eb026(_0x1f9687,_0x5acc8b,_0x1e794e);}},_0x16f735=_0x28d42e[_0x1788d0(0x10d)](style,symbols[_0x1788d0(0x10f)],ui[_0x1788d0(0x129)],ui[_0x1788d0(0x160)])+'\x20'+_0x28d42e[_0x1788d0(0x10d)](style,_0x179ad0,ui['red'],ui['bold']);return _0x3c349b?_0x16f735+'\x20\x20'+style(_0x3c349b,ui[_0x1788d0(0x156)]):_0x16f735;}export function info(_0x4f71a8,_0x68e96a){const _0x2ff924=_0x58a979,_0x3bba81={'AumvF':function(_0x468944,_0x5aa1d,_0x2f6267){return _0x468944(_0x5aa1d,_0x2f6267);},'TGDQg':function(_0x1c0e74,_0x2a8b23,_0x6d8063,_0x1e8f63){return _0x1c0e74(_0x2a8b23,_0x6d8063,_0x1e8f63);},'AtCVz':function(_0x32ca1e,_0x4ed9ae,_0x2348c9){return _0x32ca1e(_0x4ed9ae,_0x2348c9);}},_0x8459a4=_0x3bba81[_0x2ff924(0x154)](style,symbols[_0x2ff924(0x138)],ui[_0x2ff924(0x134)])+'\x20'+_0x3bba81['TGDQg'](style,_0x4f71a8,ui['cyan'],ui['bold']);return _0x68e96a?_0x8459a4+'\x20\x20'+_0x3bba81[_0x2ff924(0x123)](style,_0x68e96a,ui[_0x2ff924(0x156)]):_0x8459a4;}export function printKeyValues(_0x5b1ed4){const _0x6d0766=_0x58a979,_0x28c2e1={'rCfkv':function(_0x52056f,_0x3331ef){return _0x52056f===_0x3331ef;},'iWQaH':function(_0x2aa46e,_0x2de0ff){return _0x2aa46e<_0x2de0ff;},'bGnuB':function(_0xdb2dc0,_0x9627af){return _0xdb2dc0-_0x9627af;},'rRHum':function(_0x6c7a0d,_0x3b3985,_0x100917){return _0x6c7a0d(_0x3b3985,_0x100917);},'hZMmj':function(_0x3c6fe7,_0x35edf9,_0x4dd071,_0x2ac9e1){return _0x3c6fe7(_0x35edf9,_0x4dd071,_0x2ac9e1);}};if(_0x28c2e1[_0x6d0766(0xfd)](_0x5b1ed4[_0x6d0766(0x115)],0x0))return;const _0x5b083d=_0x5b1ed4[_0x6d0766(0x12a)]((_0x537643,_0xa10234)=>Math[_0x6d0766(0x146)](_0x537643,_0xa10234[_0x6d0766(0x131)][_0x6d0766(0x115)]),0x0);for(let _0x13df20=0x0;_0x28c2e1[_0x6d0766(0x116)](_0x13df20,_0x5b1ed4[_0x6d0766(0x115)]);_0x13df20++){const _0x350540=_0x28c2e1[_0x6d0766(0xfd)](_0x13df20,_0x28c2e1[_0x6d0766(0x10c)](_0x5b1ed4[_0x6d0766(0x115)],0x1)),_0x5ac471=_0x28c2e1[_0x6d0766(0xfc)](style,_0x350540?symbols[_0x6d0766(0x13d)]:symbols[_0x6d0766(0x121)],ui[_0x6d0766(0x156)]),_0x1d1c6c=_0x28c2e1[_0x6d0766(0x109)](style,_0x5b1ed4[_0x13df20][_0x6d0766(0x131)]['padEnd'](_0x5b083d),ui['gray'],ui[_0x6d0766(0x144)]);console['log']('\x20\x20'+_0x5ac471+'\x20'+_0x1d1c6c+'\x20\x20'+_0x5b1ed4[_0x13df20]['value']);}}export function printList(_0x45adf9,_0x4db6d0){const _0x1b5f63=_0x58a979,_0x3e5d20={'sZLvM':function(_0x524974,_0x3d72a6){return _0x524974===_0x3d72a6;},'hJOuq':function(_0x475c68,_0x455eea,_0xcd34de,_0x283f40){return _0x475c68(_0x455eea,_0xcd34de,_0x283f40);},'VkToQ':function(_0x5d0fe7,_0x2d2f2f){return _0x5d0fe7<_0x2d2f2f;},'JQcdk':function(_0x328b14,_0x2ffbdf){return _0x328b14===_0x2ffbdf;}};console['log']('\x20\x20'+style(_0x45adf9,ui[_0x1b5f63(0x160)]));if(_0x3e5d20['sZLvM'](_0x4db6d0[_0x1b5f63(0x115)],0x0)){console['log']('\x20\x20'+style(symbols[_0x1b5f63(0x13d)],ui[_0x1b5f63(0x156)])+'\x20'+_0x3e5d20['hJOuq'](style,_0x1b5f63(0x11e),ui['gray'],ui[_0x1b5f63(0x144)]));return;}for(let _0x32429a=0x0;_0x3e5d20[_0x1b5f63(0x14c)](_0x32429a,_0x4db6d0['length']);_0x32429a++){const _0x573a13=_0x3e5d20[_0x1b5f63(0x113)](_0x32429a,_0x4db6d0[_0x1b5f63(0x115)]-0x1),_0x1547b3=style(_0x573a13?symbols[_0x1b5f63(0x13d)]:symbols['treeItem'],ui[_0x1b5f63(0x156)]);console['log']('\x20\x20'+_0x1547b3+'\x20'+style(_0x4db6d0[_0x32429a],ui[_0x1b5f63(0x100)]));}}export function warnBlock(_0x1908cd){const _0x5eda29=_0x58a979,_0x11ece7={'shpyc':function(_0x1f8bff,_0x2e2c3a){return _0x1f8bff-_0x2e2c3a;},'YqYbG':function(_0x24b23e,_0x42da30){return _0x24b23e+_0x42da30;},'sBKuP':function(_0x5a0987,_0x1fe4b3,_0x111472){return _0x5a0987(_0x1fe4b3,_0x111472);},'DEfcx':function(_0x39a704,_0x2458fa){return _0x39a704+_0x2458fa;},'IHkhC':function(_0x3685af,_0x4be1f8,_0x46c3e5,_0x1b120a){return _0x3685af(_0x4be1f8,_0x46c3e5,_0x1b120a);},'boUFO':function(_0x2a0733,_0x2827de,_0x5cc377){return _0x2a0733(_0x2827de,_0x5cc377);},'WAKTC':function(_0x26d767,_0x1f0758){return _0x26d767+_0x1f0758;},'BhCHB':function(_0x4915ca,_0xad73cb,_0x110d28){return _0x4915ca(_0xad73cb,_0x110d28);}},_0x2687bb=termWidth(),_0x7eeef3=_0x5eda29(0x124)+'\x20',_0x1b678c=symbols['h']['repeat'](Math[_0x5eda29(0x146)](0x0,_0x11ece7[_0x5eda29(0x119)](_0x11ece7['shpyc'](_0x2687bb,_0x7eeef3[_0x5eda29(0x115)]),0x2))),_0x5bd005=symbols['h'][_0x5eda29(0x147)](Math[_0x5eda29(0x146)](0x0,_0x11ece7['shpyc'](_0x2687bb,0x2)));console[_0x5eda29(0x153)](),console[_0x5eda29(0x153)](_0x11ece7[_0x5eda29(0x127)](_0x11ece7[_0x5eda29(0x149)](style,_0x11ece7[_0x5eda29(0x107)](symbols['tl'],symbols['h']),ui['yellow'])+_0x11ece7['IHkhC'](style,_0x7eeef3,ui[_0x5eda29(0x12c)],ui[_0x5eda29(0x160)]),_0x11ece7['boUFO'](style,_0x1b678c,ui[_0x5eda29(0x12c)]))),console[_0x5eda29(0x153)](_0x11ece7[_0x5eda29(0xf3)](_0x11ece7[_0x5eda29(0x105)](style,symbols['v']+'\x20',ui[_0x5eda29(0x12c)]),'\x20'+style(symbols['warn'],ui[_0x5eda29(0x12c)],ui[_0x5eda29(0x160)])+'\x20'+_0x11ece7[_0x5eda29(0x105)](style,_0x1908cd,ui[_0x5eda29(0x12c)]))),console[_0x5eda29(0x153)](_0x11ece7[_0x5eda29(0x110)](style,_0x11ece7[_0x5eda29(0x107)](_0x11ece7['YqYbG'](symbols['bl'],_0x5bd005),symbols['br']),ui['yellow'])),console[_0x5eda29(0x153)]();}export function failAndExit(_0x13d850,_0x158d03){const _0x5adafe=_0x58a979,_0x2214d6={'feWbI':function(_0x516f5c){return _0x516f5c();},'oYlkd':function(_0x3e9f30,_0x224bea){return _0x3e9f30-_0x224bea;},'jsJFI':function(_0x1dd7ab,_0x305e95){return _0x1dd7ab-_0x305e95;},'evRtl':function(_0x38cd02,_0x580f25,_0x167df8){return _0x38cd02(_0x580f25,_0x167df8);},'aXKSe':function(_0x286d0b,_0xecb985){return _0x286d0b+_0xecb985;},'diuRF':function(_0x25fa17,_0xdfb810,_0x1cf32a,_0x590b73){return _0x25fa17(_0xdfb810,_0x1cf32a,_0x590b73);},'bPYTo':function(_0x1c6fcb,_0x44b587,_0x53891){return _0x1c6fcb(_0x44b587,_0x53891);},'wGpJR':function(_0x33138a,_0xdd94d6){return _0x33138a+_0xdd94d6;},'QTRPj':function(_0x5d271e,_0x2586ff,_0x923c43,_0x4b64ab){return _0x5d271e(_0x2586ff,_0x923c43,_0x4b64ab);},'NcfKc':function(_0x47b438,_0x5952d9,_0x30dadb){return _0x47b438(_0x5952d9,_0x30dadb);},'jannM':function(_0x251610,_0x35a1dd){return _0x251610+_0x35a1dd;},'MMQRc':function(_0x2ca9a6,_0x45de8d,_0x1a4a7b,_0x14ac6a){return _0x2ca9a6(_0x45de8d,_0x1a4a7b,_0x14ac6a);},'Spike':function(_0x48f70d,_0x54a787,_0x4e1eaa){return _0x48f70d(_0x54a787,_0x4e1eaa);},'loshm':function(_0x2046a5,_0x289a0e){return _0x2046a5+_0x289a0e;}},_0x161f31=_0x2214d6[_0x5adafe(0x150)](termWidth),_0x470bc0=_0x5adafe(0xf8),_0x102990=symbols['h'][_0x5adafe(0x147)](Math['max'](0x0,_0x2214d6[_0x5adafe(0x141)](_0x161f31,_0x470bc0[_0x5adafe(0x115)])-0x2)),_0x39bff8=symbols['h'][_0x5adafe(0x147)](Math['max'](0x0,_0x2214d6[_0x5adafe(0x13a)](_0x161f31,0x2)));console[_0x5adafe(0x15c)](),console[_0x5adafe(0x15c)](_0x2214d6[_0x5adafe(0x112)](style,_0x2214d6[_0x5adafe(0xf2)](symbols['tl'],symbols['h']),ui['red'])+_0x2214d6[_0x5adafe(0xf1)](style,_0x470bc0,ui[_0x5adafe(0x129)],ui[_0x5adafe(0x160)])+_0x2214d6[_0x5adafe(0x15f)](style,_0x102990,ui[_0x5adafe(0x129)])),console[_0x5adafe(0x15c)](_0x2214d6[_0x5adafe(0x10e)](style(symbols['v']+'\x20',ui['red']),'\x20'+_0x2214d6[_0x5adafe(0x148)](style,symbols[_0x5adafe(0x10f)],ui[_0x5adafe(0x129)],ui[_0x5adafe(0x160)])+'\x20'+_0x2214d6['NcfKc'](style,_0x13d850,ui[_0x5adafe(0x129)]))),_0x158d03&&console[_0x5adafe(0x15c)](_0x2214d6[_0x5adafe(0x102)](style(symbols['v']+'\x20',ui['red']),_0x5adafe(0xfe)+_0x2214d6[_0x5adafe(0x15f)](style,symbols['arrow'],ui[_0x5adafe(0x156)])+'\x20'+_0x2214d6[_0x5adafe(0x11c)](style,_0x158d03,ui[_0x5adafe(0x156)],ui[_0x5adafe(0x144)]))),console['error'](_0x2214d6[_0x5adafe(0x139)](style,_0x2214d6['jannM'](_0x2214d6[_0x5adafe(0x130)](symbols['bl'],_0x39bff8),symbols['br']),ui['red'])),console[_0x5adafe(0x15c)](),process[_0x5adafe(0x104)](0x1);}export async function withProgress(_0x4e04d7,_0x17a718){const _0x247ca3=_0x58a979,_0x26eead={'FUQqu':function(_0x1315cf,_0x1f4ed4,_0x4d7a5e,_0x59f220){return _0x1315cf(_0x1f4ed4,_0x4d7a5e,_0x59f220);},'qhvol':function(_0x5d670b,_0x26bca7){return _0x5d670b!==_0x26bca7;},'TsaNi':_0x247ca3(0x152),'CDByc':function(_0x526ffa,_0x319efa,_0x4963f7){return _0x526ffa(_0x319efa,_0x4963f7);},'oLLyJ':function(_0x1c5145,_0x4bbc59){return _0x1c5145%_0x4bbc59;},'RuCWI':function(_0x9edaf){return _0x9edaf();},'NjnMj':function(_0x4cc822,_0x529881){return _0x4cc822(_0x529881);},'foTbn':'\x0d\x1b[2K','ePEVY':_0x247ca3(0x10a),'HKGHZ':function(_0x54cf5a,_0x11b20f){return _0x54cf5a instanceof _0x11b20f;},'xiuki':function(_0x1cccc4,_0x1d4392){return _0x1cccc4(_0x1d4392);},'HSrTY':_0x247ca3(0x114)};if(!process[_0x247ca3(0xf5)]['isTTY'])return console[_0x247ca3(0xf4)](_0x4e04d7),_0x17a718();const _0x521730=['⠋','⠙','⠹','⠸','⠼','⠴','⠦','⠧','⠇','⠏'];let _0x2620b4=0x0;const _0xf3f6e7=()=>{const _0x5cb614=_0x247ca3;if(_0x26eead[_0x5cb614(0x13e)](_0x5cb614(0x15e),_0x26eead[_0x5cb614(0x11d)])){const _0x4a0421=_0x26eead[_0x5cb614(0x145)](style,_0x521730[_0x26eead['oLLyJ'](_0x2620b4,_0x521730[_0x5cb614(0x115)])],ui['cyan']);process[_0x5cb614(0xf5)][_0x5cb614(0xfa)](_0x5cb614(0x125)+_0x4a0421+'\x20\x20'+_0x26eead[_0x5cb614(0x145)](style,_0x4e04d7,ui[_0x5cb614(0x100)])),_0x2620b4+=0x1;}else{const _0x18fb65=nxKvam['FUQqu'](_0x3850fe,_0x309d77['warn'],_0x4fed79[_0x5cb614(0x12c)],_0xb60b7f[_0x5cb614(0x160)])+'\x20'+nxKvam[_0x5cb614(0x142)](_0x442534,_0x693da,_0x128bce[_0x5cb614(0x12c)],_0x4ade9d[_0x5cb614(0x160)]);return _0x3cb3d2?_0x18fb65+'\x20\x20'+_0x34748d(_0x4e5fee,_0x371a9a[_0x5cb614(0x156)]):_0x18fb65;}};_0x26eead[_0x247ca3(0x13f)](_0xf3f6e7);const _0x4c608f=_0x26eead[_0x247ca3(0x145)](setInterval,_0xf3f6e7,0x50);try{const _0x45d4ab=await _0x17a718();return _0x26eead[_0x247ca3(0x151)](clearInterval,_0x4c608f),process[_0x247ca3(0xf5)][_0x247ca3(0xfa)](_0x26eead[_0x247ca3(0x155)]),console[_0x247ca3(0xf4)]('\x20\x20'+_0x26eead['NjnMj'](ok,_0x26eead['ePEVY'])+'\x20\x20'+style(_0x4e04d7,ui['dim'])),_0x45d4ab;}catch(_0x146896){clearInterval(_0x4c608f),process[_0x247ca3(0xf5)][_0x247ca3(0xfa)](_0x26eead['foTbn']);const _0x5e73eb=_0x26eead[_0x247ca3(0x15d)](_0x146896,Error)?_0x146896['message']:_0x26eead[_0x247ca3(0x12f)](String,_0x146896);console[_0x247ca3(0x15c)]('\x20\x20'+bad(_0x26eead[_0x247ca3(0x143)])+'\x20\x20'+style(_0x5e73eb,ui[_0x247ca3(0x100)]));throw _0x146896;}}
@@ -1 +1 @@
1
- const _0x3a41bd=_0x5bb1;(function(_0x24ed90,_0x1ea6ad){const _0x52edf9=_0x5bb1,_0x567d6d=_0x24ed90();while(!![]){try{const _0x6251f4=-parseInt(_0x52edf9(0xc6))/0x1*(-parseInt(_0x52edf9(0xcb))/0x2)+parseInt(_0x52edf9(0x8b))/0x3+-parseInt(_0x52edf9(0xf0))/0x4*(-parseInt(_0x52edf9(0x8e))/0x5)+-parseInt(_0x52edf9(0xc3))/0x6*(parseInt(_0x52edf9(0xaf))/0x7)+-parseInt(_0x52edf9(0x96))/0x8+-parseInt(_0x52edf9(0x112))/0x9*(-parseInt(_0x52edf9(0xf4))/0xa)+parseInt(_0x52edf9(0xca))/0xb;if(_0x6251f4===_0x1ea6ad)break;else _0x567d6d['push'](_0x567d6d['shift']());}catch(_0x43ddd1){_0x567d6d['push'](_0x567d6d['shift']());}}}(_0x4ee9,0x95ff7));const _0x12f2eb=(function(){let _0x21fb38=!![];return function(_0x288d4c,_0x40c59a){const _0x1f2549=_0x21fb38?function(){const _0x57fdf8=_0x5bb1;if(_0x40c59a){const _0x400bd0=_0x40c59a[_0x57fdf8(0xee)](_0x288d4c,arguments);return _0x40c59a=null,_0x400bd0;}}:function(){};return _0x21fb38=![],_0x1f2549;};}()),_0x47c273=_0x12f2eb(this,function(){const _0x140611=_0x5bb1,_0xeea49b={'ZJPZw':'(((.+)+)'+_0x140611(0x10a)};return _0x47c273['toString']()[_0x140611(0xa8)](_0xeea49b['ZJPZw'])['toString']()['construc'+_0x140611(0xa2)](_0x47c273)[_0x140611(0xa8)](_0xeea49b[_0x140611(0x87)]);});_0x47c273();import{mkdirSync,readFileSync,writeFileSync}from'fs';import{spawn}from'child_process';function _0x5bb1(_0x2c4313,_0x3de710){_0x2c4313=_0x2c4313-0x7c;const _0x1ddda4=_0x4ee9();let _0x47c273=_0x1ddda4[_0x2c4313];return _0x47c273;}import{dirname,join}from'path';import{getGlobalEnvPath}from'./config.js';import{getCliVersion}from'./cli-version.js';import{bad,ok,warn}from'./ui.js';const PACKAGE_NAME=_0x3a41bd(0xfc)+'i',CHECK_INTERVAL_MS=0x3e8*0x3c*0x3c*0xc,CHECK_TIMEOUT_MS=0x9c4,UPDATE_TIMEOUT_MS=0x3e8*0x3c*0x2;export async function maybeAutoUpdate(_0x59eebc,_0x388b98=![]){const _0x1d5b4b=_0x3a41bd,_0x511895={'yfSqI':function(_0x3803e6,_0x3cd9ae){return _0x3803e6===_0x3cd9ae;},'vXsov':function(_0x55660b,_0x1df6ae){return _0x55660b(_0x1df6ae);},'qdmWa':function(_0x50f989){return _0x50f989();},'avoHE':function(_0x35601d,_0x3717a8){return _0x35601d<_0x3717a8;},'LyNor':function(_0x5de577,_0x5305c5){return _0x5de577-_0x5305c5;},'ApsXk':function(_0x10341e,_0x436abf){return _0x10341e===_0x436abf;},'QRMJK':_0x1d5b4b(0xba),'PZvYY':function(_0x45cd1f,_0x263618,_0x4dca9d){return _0x45cd1f(_0x263618,_0x4dca9d);},'ahxwA':'UPDATE','JVpIU':_0x1d5b4b(0x10d)+_0x1d5b4b(0x92)+'the\x20late'+_0x1d5b4b(0xe3)+'on.\x20Chec'+'k\x20your\x20c'+_0x1d5b4b(0xfb)+'n.','lPGYX':_0x1d5b4b(0xf2),'utZqn':function(_0x23f1fe){return _0x23f1fe();},'vMURf':function(_0x2ee34c,_0x4c29f7,_0x280d9f){return _0x2ee34c(_0x4c29f7,_0x280d9f);},'gPCwi':function(_0xd978ff,_0x1f6117,_0x22ccb5){return _0xd978ff(_0x1f6117,_0x22ccb5);},'reJwG':function(_0x5d825d,_0x5028f0){return _0x5d825d===_0x5028f0;},'UeEwR':_0x1d5b4b(0x115),'ShiUv':'UPDATE\x20S'+_0x1d5b4b(0xbc),'xDnDD':_0x1d5b4b(0x90)+'rminal\x20w'+_0x1d5b4b(0x110)+_0x1d5b4b(0xdd)+_0x1d5b4b(0xea)+_0x1d5b4b(0xab)+'update.','SkHOw':_0x1d5b4b(0x7c),'uaUqD':function(_0x54099a,_0x469d5a,_0x37b30e){return _0x54099a(_0x469d5a,_0x37b30e);},'GvmHt':_0x1d5b4b(0x108)+_0x1d5b4b(0x9b)};if(_0x511895[_0x1d5b4b(0xd1)](process.env.GEMIT_DISABLE_AUTO_UPDATE,'1')&&!_0x388b98)return;if(!_0x511895[_0x1d5b4b(0xb5)](shouldCheckForUpdates,_0x59eebc)&&!_0x388b98)return;const _0xecfa92=_0x511895['qdmWa'](readCache),_0x577969=Date[_0x1d5b4b(0xf1)]();if(!_0x388b98&&_0xecfa92['lastChec'+'kedAt']&&_0x511895[_0x1d5b4b(0x9f)](_0x511895['LyNor'](_0x577969,_0xecfa92[_0x1d5b4b(0xb7)+_0x1d5b4b(0x82)]),CHECK_INTERVAL_MS))return;const _0x10b557=await fetchLatestVersion();if(!_0x10b557){if(_0x511895[_0x1d5b4b(0xa6)]('oJBLE',_0x511895[_0x1d5b4b(0x10b)])){_0x388b98&&console[_0x1d5b4b(0x106)](_0x511895[_0x1d5b4b(0x104)](bad,_0x511895[_0x1d5b4b(0xc2)],_0x511895[_0x1d5b4b(0x116)]));return;}else return![];}if(!_0x388b98){if(_0x511895['lPGYX']!==_0x511895['lPGYX'])return!![];else _0x511895[_0x1d5b4b(0xb5)](writeCache,{'lastCheckedAt':_0x577969});}const _0x5bfda8=_0x511895[_0x1d5b4b(0x95)](getCliVersion);if(!_0x511895[_0x1d5b4b(0xac)](isVersionLower,_0x5bfda8,_0x10b557)){_0x388b98&&console[_0x1d5b4b(0x106)](ok(_0x1d5b4b(0xd2),_0x1d5b4b(0xfa)+_0x1d5b4b(0xf9)+_0x1d5b4b(0x93)+_0x5bfda8+').'));return;}console[_0x1d5b4b(0x106)](_0x511895[_0x1d5b4b(0xde)](warn,_0x1d5b4b(0xd2),'New\x20vers'+'ion\x20dete'+_0x1d5b4b(0x10e)+_0x5bfda8+_0x1d5b4b(0x81)+_0x10b557+').'));const _0x14e3a1=await runGlobalUpdate();if(_0x511895[_0x1d5b4b(0x7f)](_0x14e3a1,_0x511895[_0x1d5b4b(0x89)]))console['log'](_0x511895[_0x1d5b4b(0x104)](ok,_0x511895[_0x1d5b4b(0x102)],_0x511895[_0x1d5b4b(0xe9)])),console['log'](_0x511895[_0x1d5b4b(0x104)](warn,_0x1d5b4b(0xec),'Please\x20w'+_0x1d5b4b(0x9c)+_0x1d5b4b(0xe5)+'te\x20to\x20fi'+_0x1d5b4b(0x84)+_0x1d5b4b(0xe0)+_0x1d5b4b(0xb3)+'t\x20again.'));else _0x14e3a1?console['log'](_0x511895[_0x1d5b4b(0x104)](ok,_0x511895[_0x1d5b4b(0x111)],_0x1d5b4b(0xfa)+_0x1d5b4b(0xb4)+_0x10b557+'.')):console[_0x1d5b4b(0x106)](_0x511895[_0x1d5b4b(0x107)](bad,_0x511895[_0x1d5b4b(0xd3)],_0x1d5b4b(0xbd)+'ally:\x20np'+'m\x20i\x20-g\x20'+PACKAGE_NAME+_0x1d5b4b(0xc4)));}function shouldCheckForUpdates(_0x216081){const _0x355a0e=_0x3a41bd,_0x4f5c0e={'IPBXb':function(_0x51e0d7,_0x25f3d1){return _0x51e0d7<=_0x25f3d1;},'xWqWG':'--versio'+'n','Bmvkc':function(_0x44d610,_0x241cac){return _0x44d610===_0x241cac;},'HetEp':'MCKnG','owAHT':function(_0x294675,_0x24fe83){return _0x294675!==_0x24fe83;},'mfNJF':_0x355a0e(0x114),'yMRAu':function(_0x5eb113,_0x47a400){return _0x5eb113!==_0x47a400;},'iCwKm':_0x355a0e(0xe6)};if(_0x4f5c0e[_0x355a0e(0xda)](_0x216081[_0x355a0e(0xd8)],0x2))return!![];const _0x58762b=_0x216081[_0x355a0e(0xd7)](0x2);if(_0x58762b['includes']('-h')||_0x58762b[_0x355a0e(0xf7)]('--help')||_0x58762b[_0x355a0e(0xf7)]('-v')||_0x58762b[_0x355a0e(0xf7)](_0x4f5c0e[_0x355a0e(0xdb)]))return _0x4f5c0e['Bmvkc'](_0x4f5c0e[_0x355a0e(0x99)],_0x355a0e(0xad))?{}:![];const _0x4cfb48=_0x58762b[_0x355a0e(0x118)](_0x15da9c=>!_0x15da9c[_0x355a0e(0xd6)+'th']('-'));if(!_0x4cfb48)return![];return _0x4f5c0e[_0x355a0e(0xb2)](_0x4cfb48,_0x4f5c0e['mfNJF'])&&_0x4f5c0e[_0x355a0e(0xb6)](_0x4cfb48,_0x4f5c0e[_0x355a0e(0x10f)]);}async function fetchLatestVersion(){const _0x5df0b0=_0x3a41bd,_0x369f58={'SpvJd':function(_0x48f037,_0x130ac5,_0x2253f5){return _0x48f037(_0x130ac5,_0x2253f5);},'HDPfu':function(_0x112e2b,_0x3e9d48){return _0x112e2b(_0x3e9d48);}},_0x1c14d7=new AbortController(),_0xd083a2=setTimeout(()=>_0x1c14d7['abort'](),CHECK_TIMEOUT_MS);try{const _0x1f256f=await _0x369f58[_0x5df0b0(0xc7)](fetch,_0x5df0b0(0xa0)+_0x5df0b0(0x103)+_0x5df0b0(0xfd)+_0x5df0b0(0xff)+PACKAGE_NAME+_0x5df0b0(0xc9),{'signal':_0x1c14d7[_0x5df0b0(0xdf)]});if(!_0x1f256f['ok'])return null;const _0x475b24=await _0x1f256f[_0x5df0b0(0x91)]();return typeof _0x475b24[_0x5df0b0(0xdc)]===_0x5df0b0(0x7d)?_0x475b24[_0x5df0b0(0xdc)]:null;}catch{return null;}finally{_0x369f58[_0x5df0b0(0xa9)](clearTimeout,_0xd083a2);}}async function runGlobalUpdate(){const _0x4a251a=_0x3a41bd,_0x51035c={'ZxnnN':function(_0xeaaff2,_0x5be2bd){return _0xeaaff2<_0x5be2bd;},'hqcwg':function(_0x50ac62,_0x2870bb){return _0x50ac62(_0x2870bb);},'egwNv':function(_0x5974e2,_0x31ff02){return _0x5974e2(_0x31ff02);},'hElOO':_0x4a251a(0x8d),'KAiJk':function(_0x161b74,_0x177a7){return _0x161b74(_0x177a7);},'uyWji':function(_0x435f03,_0x5d3340){return _0x435f03(_0x5d3340);},'PqOHP':function(_0x4f7517,_0x2aabe1){return _0x4f7517===_0x2aabe1;},'gSipY':function(_0x226c84,_0x297deb){return _0x226c84(_0x297deb);},'jdBIy':function(_0x490dfb,_0x2e5d60,_0x599c41,_0x1073d8){return _0x490dfb(_0x2e5d60,_0x599c41,_0x1073d8);},'PwvPS':_0x4a251a(0xe7),'usWJJ':_0x4a251a(0xb1),'aieVQ':function(_0x9bcc68,_0xe18c93,_0x9425d0){return _0x9bcc68(_0xe18c93,_0x9425d0);},'ZuhsK':_0x4a251a(0xd0),'Jxcws':_0x4a251a(0x105),'hMtWf':_0x4a251a(0xe2),'xtPTQ':'start','EbHEn':'detached'};if(_0x51035c[_0x4a251a(0x8f)](process[_0x4a251a(0x80)],_0x51035c[_0x4a251a(0xa1)]))try{const _0x4ac3a2=_0x4a251a(0xbe),_0x304bbb=_0x4ac3a2+('\x20install'+_0x4a251a(0x9d))+PACKAGE_NAME+_0x4a251a(0xc4),_0x7469bc=_0x304bbb+(_0x4a251a(0x98)+_0x4a251a(0x8a)+'[Update\x20'+'Finished'+_0x4a251a(0xcd)+'e');return _0x51035c[_0x4a251a(0xc1)](spawn,_0x51035c[_0x4a251a(0x101)],['/c',_0x51035c[_0x4a251a(0x100)],_0x4a251a(0xe2),'/c',_0x7469bc],{'detached':!![],'stdio':_0x51035c[_0x4a251a(0x83)]})[_0x4a251a(0xbb)](),_0x51035c[_0x4a251a(0x10c)];}catch{return![];}return new Promise(_0x35214d=>{const _0x13a0c8=_0x4a251a,_0x151548={'WOKUw':function(_0x12669a,_0x542205){return _0x51035c['gSipY'](_0x12669a,_0x542205);}};try{const _0x35fe0a=_0x51035c[_0x13a0c8(0xc1)](spawn,_0x51035c['PwvPS'],['install','-g',PACKAGE_NAME+_0x13a0c8(0xc4)],{'stdio':_0x51035c[_0x13a0c8(0x83)]}),_0x126fd7=_0x51035c[_0x13a0c8(0xc0)](setTimeout,()=>{const _0x3e2b09=_0x13a0c8;_0x35fe0a['kill'](),_0x151548[_0x3e2b09(0xa4)](_0x35214d,![]);},UPDATE_TIMEOUT_MS);_0x35fe0a['on'](_0x51035c['ZuhsK'],()=>{const _0x43e9a5=_0x13a0c8,_0x443c8e={'cIrFW':function(_0x43060d,_0x798ca3){const _0x1c2ac1=_0x5bb1;return _0x51035c[_0x1c2ac1(0xcf)](_0x43060d,_0x798ca3);},'fCNCo':function(_0x5da79b,_0x329c89){return _0x51035c['hqcwg'](_0x5da79b,_0x329c89);},'tKZJR':function(_0x40bfb9,_0x1ed574){const _0xa2917c=_0x5bb1;return _0x51035c[_0xa2917c(0xb0)](_0x40bfb9,_0x1ed574);}};if('jTwoL'!==_0x51035c[_0x43e9a5(0xc8)]){const _0x1e0ad5=_0x363084[_0x43e9a5(0x117)]()[_0x43e9a5(0xb9)](/^v/i,'')[_0x43e9a5(0x113)]('-')[0x0],_0x34ec22=_0x1e0ad5[_0x43e9a5(0x113)]('.');if(_0x443c8e[_0x43e9a5(0x97)](_0x34ec22[_0x43e9a5(0xd8)],0x3))return null;const _0x59b44d=_0x89f676(_0x34ec22[0x0]),_0x274b79=_0x443c8e[_0x43e9a5(0xf3)](_0x265da3,_0x34ec22[0x1]),_0x4d0efe=_0x443c8e[_0x43e9a5(0x85)](_0x214fde,_0x34ec22[0x2]);if(!_0x495d7b[_0x43e9a5(0x9e)](_0x59b44d)||!_0x29a40a[_0x43e9a5(0x9e)](_0x274b79)||!_0x810211[_0x43e9a5(0x9e)](_0x4d0efe))return null;return[_0x59b44d,_0x274b79,_0x4d0efe];}else _0x51035c[_0x43e9a5(0xbf)](clearTimeout,_0x126fd7),_0x35214d(![]);}),_0x35fe0a['on'](_0x13a0c8(0xe1),_0x8748e8=>{const _0x5448ab=_0x13a0c8;clearTimeout(_0x126fd7),_0x51035c[_0x5448ab(0xa7)](_0x35214d,_0x51035c['PqOHP'](_0x8748e8,0x0));});}catch{_0x51035c[_0x13a0c8(0xe8)](_0x35214d,![]);}});}function getCachePath(){const _0x3b2b6b=_0x3a41bd,_0x29bb7c={'PVWwi':function(_0x990438,_0x1c4dd9,_0x34be49){return _0x990438(_0x1c4dd9,_0x34be49);},'fOkft':function(_0xbd218b,_0x72ee8d){return _0xbd218b(_0x72ee8d);},'hkbDT':function(_0x217230){return _0x217230();}};return _0x29bb7c[_0x3b2b6b(0xef)](join,_0x29bb7c[_0x3b2b6b(0xd9)](dirname,_0x29bb7c[_0x3b2b6b(0xf6)](getGlobalEnvPath)),_0x3b2b6b(0xc5)+'heck.jso'+'n');}function readCache(){const _0x206a95=_0x3a41bd,_0x112e98={'vVUwI':function(_0x3bc463,_0x176f83,_0x18ef3d){return _0x3bc463(_0x176f83,_0x18ef3d);},'isizr':function(_0x56d5d9){return _0x56d5d9();},'BRGsa':'utf8','cvWrP':function(_0x353f5e,_0x13c77e){return _0x353f5e===_0x13c77e;},'FxvPc':_0x206a95(0xa3)};try{const _0x3ca7df=_0x112e98[_0x206a95(0xd5)](readFileSync,_0x112e98[_0x206a95(0xa5)](getCachePath),_0x112e98['BRGsa']),_0x5d4f43=JSON[_0x206a95(0xcc)](_0x3ca7df);return _0x5d4f43&&_0x112e98[_0x206a95(0x94)](typeof _0x5d4f43,_0x112e98['FxvPc'])?_0x5d4f43:{};}catch{return{};}}function _0x4ee9(){const _0x40e6ca=['yMRAu','lastChec','dBaJx','replace','oJBLE','unref','TARTED','Run\x20manu','npm.cmd','KAiJk','aieVQ','jdBIy','ahxwA','1792830BfTONc','@latest','update-c','3NQxfsa','SpvJd','hElOO','/latest','4968612yQpBMF','630842ziGgfX','parse',']\x20&\x20paus','nxLSF','ZxnnN','error','yfSqI','UPDATE','GvmHt','CWWjS','vVUwI','startsWi','slice','length','fOkft','IPBXb','xWqWG','version','s\x20opened','gPCwi','signal','ore\x20runn','exit','cmd.exe','st\x20versi','iChDv','the\x20upda','doctor','npm','hqcwg','xDnDD','\x20to\x20perf','kill','WAIT','qllyg','apply','PVWwi','92668Jiptan','now','IqiqS','fCNCo','73620HalHvy','gylZI','hkbDT','includes','oWtTD','\x20up\x20to\x20d','gemit\x20is','onnectio','gemit-cl','.npmjs.o','dtfWV','rg/','xtPTQ','hMtWf','ShiUv','registry','PZvYY','win32','log','uaUqD','UPDATE\x20F','uyEZX','+)+$','QRMJK','EbHEn','Failed\x20t','cted\x20(','iCwKm','indow\x20wa','SkHOw','45ZUitwr','split','init','detached','JVpIU','trim','find','UPDATED','string','stringif','reJwG','platform','\x20->\x20','kedAt','usWJJ','nish\x20bef','tKZJR','EBOvM','ZJPZw','utf8','UeEwR','\x20&\x20echo\x20','701130hIwFWK','xUmSx','jTwoL','215qAcHSo','PqOHP','A\x20new\x20te','json','o\x20fetch\x20','ate\x20(','cvWrP','utZqn','9230800oxFosI','cIrFW','\x20&\x20echo.','HetEp','LJfYl','AILED','ait\x20for\x20','\x20-g\x20','isFinite','avoHE','https://','Jxcws','tor','object','WOKUw','isizr','ApsXk','uyWji','search','HDPfu','pwBid','orm\x20the\x20','vMURf','ZQSYX','bZtUx','21UlKuEr','egwNv','ignore','owAHT','ing\x20gemi','\x20now\x20on\x20','vXsov'];_0x4ee9=function(){return _0x40e6ca;};return _0x4ee9();}function writeCache(_0xa75fee){const _0x41ca69=_0x3a41bd,_0x437df4={'xUmSx':function(_0x190304,_0x311530){return _0x190304(_0x311530);},'pwBid':function(_0x43f941,_0x383fe7,_0x551197,_0x257bfb){return _0x43f941(_0x383fe7,_0x551197,_0x257bfb);},'CWWjS':_0x41ca69(0x88)};try{const _0x5e4e14=getCachePath();mkdirSync(_0x437df4[_0x41ca69(0x8c)](dirname,_0x5e4e14),{'recursive':!![]}),_0x437df4[_0x41ca69(0xaa)](writeFileSync,_0x5e4e14,JSON[_0x41ca69(0x7e)+'y'](_0xa75fee),_0x437df4[_0x41ca69(0xd4)]);}catch{}}function isVersionLower(_0x33da9b,_0x50dd68){const _0x434adb=_0x3a41bd,_0x240bd3={'dBaJx':function(_0x39e4c5,_0x43b046){return _0x39e4c5(_0x43b046);},'oWtTD':function(_0x12a84c,_0x327cca){return _0x12a84c(_0x327cca);},'uyEZX':function(_0x1e417e,_0x398d17){return _0x1e417e||_0x398d17;},'nxLSF':function(_0x543590,_0x1142ac){return _0x543590<_0x1142ac;},'iChDv':function(_0x225bd8,_0x4cc1df){return _0x225bd8>_0x4cc1df;},'dtfWV':_0x434adb(0x9a),'qllyg':_0x434adb(0xae)},_0x220bd3=normalizeVersion(_0x33da9b),_0x3ff148=_0x240bd3[_0x434adb(0xf8)](normalizeVersion,_0x50dd68);if(_0x240bd3[_0x434adb(0x109)](!_0x220bd3,!_0x3ff148))return![];for(let _0x4cd3c3=0x0;_0x240bd3[_0x434adb(0xce)](_0x4cd3c3,0x3);_0x4cd3c3+=0x1){if(_0x240bd3[_0x434adb(0xce)](_0x220bd3[_0x4cd3c3],_0x3ff148[_0x4cd3c3]))return!![];if(_0x240bd3[_0x434adb(0xe4)](_0x220bd3[_0x4cd3c3],_0x3ff148[_0x4cd3c3])){if(_0x240bd3[_0x434adb(0xfe)]===_0x240bd3[_0x434adb(0xed)])_0x42ed7d[_0x434adb(0xeb)](),aVZpLR[_0x434adb(0xb8)](_0x5aa5f1,![]);else return![];}}return![];}function normalizeVersion(_0x2ecfd){const _0x2f0b23=_0x3a41bd,_0x29ca5c={'gylZI':function(_0x4afa19,_0x28b544){return _0x4afa19<_0x28b544;},'EBOvM':function(_0x17e81b,_0x436308){return _0x17e81b(_0x436308);}},_0x3849e2=_0x2ecfd[_0x2f0b23(0x117)]()[_0x2f0b23(0xb9)](/^v/i,'')[_0x2f0b23(0x113)]('-')[0x0],_0x12a759=_0x3849e2[_0x2f0b23(0x113)]('.');if(_0x29ca5c[_0x2f0b23(0xf5)](_0x12a759[_0x2f0b23(0xd8)],0x3))return null;const _0xd28008=Number(_0x12a759[0x0]),_0x1956a3=_0x29ca5c[_0x2f0b23(0x86)](Number,_0x12a759[0x1]),_0x5bbf3c=Number(_0x12a759[0x2]);if(!Number['isFinite'](_0xd28008)||!Number['isFinite'](_0x1956a3)||!Number[_0x2f0b23(0x9e)](_0x5bbf3c))return null;return[_0xd28008,_0x1956a3,_0x5bbf3c];}
1
+ const _0xe23d3=_0x510d;(function(_0x216357,_0x22f94f){const _0x47661f=_0x510d,_0x32f472=_0x216357();while(!![]){try{const _0x92d02f=parseInt(_0x47661f(0xa2))/0x1*(-parseInt(_0x47661f(0xf7))/0x2)+parseInt(_0x47661f(0xd6))/0x3*(-parseInt(_0x47661f(0xc4))/0x4)+parseInt(_0x47661f(0xa8))/0x5+-parseInt(_0x47661f(0x109))/0x6*(-parseInt(_0x47661f(0x103))/0x7)+parseInt(_0x47661f(0xe5))/0x8*(-parseInt(_0x47661f(0xd1))/0x9)+parseInt(_0x47661f(0xcd))/0xa*(parseInt(_0x47661f(0xe6))/0xb)+parseInt(_0x47661f(0xd5))/0xc*(parseInt(_0x47661f(0xea))/0xd);if(_0x92d02f===_0x22f94f)break;else _0x32f472['push'](_0x32f472['shift']());}catch(_0x3e33f6){_0x32f472['push'](_0x32f472['shift']());}}}(_0x208d,0xbb6ff));const _0x3d34c4=(function(){let _0x217a87=!![];return function(_0x6a418f,_0x22f20c){const _0x1e8ab2=_0x217a87?function(){const _0xe4c16a=_0x510d;if(_0x22f20c){const _0x175dc5=_0x22f20c[_0xe4c16a(0x100)](_0x6a418f,arguments);return _0x22f20c=null,_0x175dc5;}}:function(){};return _0x217a87=![],_0x1e8ab2;};}()),_0x37a7a2=_0x3d34c4(this,function(){const _0x35e762=_0x510d,_0x1f58c6={'dxzri':'(((.+)+)'+_0x35e762(0xfd)};return _0x37a7a2[_0x35e762(0xe4)]()[_0x35e762(0x101)](_0x1f58c6[_0x35e762(0xa7)])[_0x35e762(0xe4)]()[_0x35e762(0x93)+_0x35e762(0xbe)](_0x37a7a2)['search'](_0x1f58c6[_0x35e762(0xa7)]);});_0x37a7a2();function _0x208d(){const _0x1e8757=['lFzaa','22510fqyJWV','update.','pGJGx','WFosn','12966084muHhQw','YrEMJ','EnGtQ','k\x20your\x20c','48akQhbo','131148yzgSCm','ait\x20for\x20','zjbFg','replace','qZxzK','.npmjs.o','find','MGIGg','mqxUT','UPDATED','ore\x20runn','on.\x20Chec','gpnGf','/latest','toString','8HzeeBu','264sZaUeb','SfoJx','\x20install','string','10571639lCURiI','\x20up\x20to\x20d','\x20-g\x20','UdPUB','vcSlQ','update-c','exit','stringif','CZmtj','log','LUeTK','bXfWF','reAcw','4rcBRsc','DqKoP','isFinite','includes','MAgXb','jHPHt','+)+$','cmd.exe','FoJMJ','apply','search','\x20to\x20perf','14hWmvLx','trim','AmhTd','split','[Update\x20','MbRBh','2363580aLShFd','detached','MzlCP','fUHGu','UPDATE\x20F','json','iWWPD','onnectio','orm\x20the\x20','zEpce','TfImy','oeDlB','\x20&\x20echo.','AILED','s\x20opened','\x20&\x20echo\x20','xxZuA','kedAt','SRtMv','ignore','o\x20fetch\x20','FvNXZ','myPyW','error','NAuXr','niVxH','gemit\x20is','https://','parse','start','o\x20write\x20','GlCrV','UPDATE','startsWi','jXRJY','nDIog','slice','dRpVV','registry','IePVH','update\x20c','the\x20late','KUUVM','KOjGz','Cuuqs','qntvD','XewwM','Jifmj','construc','npm','aACiv',']\x20&\x20paus','mrWvB','WAIT','ache.','cted\x20(','abort','PJlHc','YVSGU','Finished','@latest','iQCKI','mtSQD','715515feFFTn','npm.cmd','LObMx','WxelR','YuVaC','dxzri','1658205DDvWjS','wFobI','doctor','PyONn','init','rminal\x20w','unref','YlSvf','A\x20new\x20te','RTqfb','t\x20again.','Run\x20manu','ruuZI','zCYzu','platform','Please\x20w','kIESo','OvDox','Failed\x20t','signal','jrCOZ','object','tor','st\x20versi','XYWGJ','indow\x20wa','install','PYRSl','72zDPOOX','ally:\x20np','version','pBNTe','RQDYb','XwcvX','m\x20i\x20-g\x20','gemit-cl'];_0x208d=function(){return _0x1e8757;};return _0x208d();}function _0x510d(_0x369935,_0x448277){_0x369935=_0x369935-0x89;const _0x52b3e4=_0x208d();let _0x37a7a2=_0x52b3e4[_0x369935];return _0x37a7a2;}import{spawn}from'node:child_process';import{mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{getCliVersion}from'./cli-version.js';import{getGlobalEnvPath}from'./config.js';import{bad,ok,warn}from'./ui.js';const PACKAGE_NAME=_0xe23d3(0xcb)+'i',CHECK_INTERVAL_MS=0x3e8*0x3c*0x3c*0xc,CHECK_TIMEOUT_MS=0x9c4,UPDATE_TIMEOUT_MS=0x3e8*0x3c*0x2;export async function maybeAutoUpdate(_0x244aa1,_0x345db1=![]){const _0x257dad=_0xe23d3,_0x4dfd6d={'gpnGf':function(_0x5ea76c,_0x5a64d4){return _0x5ea76c(_0x5a64d4);},'reAcw':function(_0x2b8921){return _0x2b8921();},'ZTBNC':function(_0x551bc5,_0x1cfab7){return _0x551bc5<_0x1cfab7;},'oWqtF':function(_0x2fe042,_0x300315){return _0x2fe042-_0x300315;},'XYWGJ':function(_0x52b513,_0xbcc360,_0x2183a2){return _0x52b513(_0xbcc360,_0x2183a2);},'OvDox':_0x257dad(0x129),'nDIog':function(_0x5005e2,_0x9c3c68){return _0x5005e2(_0x9c3c68);},'YVSGU':function(_0x56bf61,_0x37396f,_0x52d64e){return _0x56bf61(_0x37396f,_0x52d64e);},'WFosn':function(_0x2a8e03,_0x50c273){return _0x2a8e03===_0x50c273;},'jHPHt':_0x257dad(0x10a),'fUHGu':function(_0x467dc1,_0x423701,_0x1ff0df){return _0x467dc1(_0x423701,_0x1ff0df);},'MzlCP':'UPDATE\x20S'+'TARTED','SRtMv':_0x257dad(0xb0)+_0x257dad(0xad)+_0x257dad(0xc1)+_0x257dad(0x117)+_0x257dad(0x102)+_0x257dad(0x111)+_0x257dad(0xce),'odSQa':_0x257dad(0xb7)+_0x257dad(0xd7)+'the\x20upda'+'te\x20to\x20fi'+'nish\x20bef'+_0x257dad(0xe0)+'ing\x20gemi'+_0x257dad(0xb2),'EnGtQ':function(_0x22bd9e,_0x316cb0,_0x1a402b){return _0x22bd9e(_0x316cb0,_0x1a402b);},'MbRBh':_0x257dad(0x10d)+_0x257dad(0x116)};if(process.env.GEMIT_DISABLE_AUTO_UPDATE==='1'&&!_0x345db1)return;if(!_0x4dfd6d[_0x257dad(0xe2)](shouldCheckForUpdates,_0x244aa1)&&!_0x345db1)return;const _0x2815d2=_0x4dfd6d[_0x257dad(0xf6)](readCache),_0x27e79d=Date['now']();if(!_0x345db1&&_0x2815d2['lastChec'+_0x257dad(0x11a)]&&_0x4dfd6d['ZTBNC'](_0x4dfd6d['oWqtF'](_0x27e79d,_0x2815d2['lastChec'+_0x257dad(0x11a)]),CHECK_INTERVAL_MS))return;const _0x2beed9=await fetchLatestVersion();if(!_0x2beed9){_0x345db1&&console[_0x257dad(0xf3)](_0x4dfd6d['XYWGJ'](bad,_0x4dfd6d[_0x257dad(0xb9)],_0x257dad(0xba)+_0x257dad(0x11d)+_0x257dad(0x8c)+_0x257dad(0xbf)+_0x257dad(0xe1)+_0x257dad(0xd4)+_0x257dad(0x110)+'n.'));return;}!_0x345db1&&_0x4dfd6d[_0x257dad(0x12c)](writeCache,{'lastCheckedAt':_0x27e79d});const _0x5566c0=_0x4dfd6d['reAcw'](getCliVersion);if(!_0x4dfd6d[_0x257dad(0xc0)](isVersionLower,_0x5566c0,_0x2beed9)){_0x345db1&&console[_0x257dad(0xf3)](ok(_0x4dfd6d[_0x257dad(0xb9)],_0x257dad(0x123)+_0x257dad(0xeb)+'ate\x20('+_0x5566c0+').'));return;}console[_0x257dad(0xf3)](_0x4dfd6d[_0x257dad(0x9d)](warn,_0x4dfd6d['OvDox'],'New\x20vers'+'ion\x20dete'+_0x257dad(0x9a)+_0x5566c0+'\x20->\x20'+_0x2beed9+').'));const _0x255553=await _0x4dfd6d['reAcw'](runGlobalUpdate);if(_0x4dfd6d[_0x257dad(0xd0)](_0x255553,_0x4dfd6d[_0x257dad(0xfc)]))console[_0x257dad(0xf3)](_0x4dfd6d[_0x257dad(0x10c)](ok,_0x4dfd6d[_0x257dad(0x10b)],_0x4dfd6d[_0x257dad(0x11b)])),console[_0x257dad(0xf3)](warn(_0x257dad(0x98),_0x4dfd6d['odSQa']));else _0x255553?console[_0x257dad(0xf3)](_0x4dfd6d[_0x257dad(0x9d)](ok,_0x257dad(0xdf),_0x257dad(0x123)+'\x20now\x20on\x20'+_0x2beed9+'.')):console[_0x257dad(0xf3)](_0x4dfd6d[_0x257dad(0xd3)](bad,_0x4dfd6d[_0x257dad(0x108)],_0x257dad(0xb3)+_0x257dad(0xc5)+_0x257dad(0xca)+PACKAGE_NAME+_0x257dad(0x9f)));}function shouldCheckForUpdates(_0x1826aa){const _0x1e1a68=_0xe23d3,_0x430eea={'CZmtj':function(_0x1a85d2,_0x3ad1cf){return _0x1a85d2<=_0x3ad1cf;},'qZxzK':'--help','AWjWi':_0x1e1a68(0xac),'BUErc':function(_0x2e609d,_0x4bf22d){return _0x2e609d!==_0x4bf22d;}};if(_0x430eea[_0x1e1a68(0xf2)](_0x1826aa['length'],0x2))return!![];const _0x52cd74=_0x1826aa[_0x1e1a68(0x12d)](0x2);if(_0x52cd74['includes']('-h')||_0x52cd74[_0x1e1a68(0xfa)](_0x430eea[_0x1e1a68(0xda)])||_0x52cd74[_0x1e1a68(0xfa)]('-v')||_0x52cd74[_0x1e1a68(0xfa)]('--versio'+'n'))return![];const _0x3b6386=_0x52cd74[_0x1e1a68(0xdc)](_0x591957=>!_0x591957[_0x1e1a68(0x12a)+'th']('-'));if(!_0x3b6386)return![];return _0x3b6386!==_0x430eea['AWjWi']&&_0x430eea['BUErc'](_0x3b6386,_0x1e1a68(0xaa));}async function fetchLatestVersion(){const _0x280a5c=_0xe23d3,_0x14bb09={'SfoJx':function(_0x2d8321,_0x489034,_0x4949cd){return _0x2d8321(_0x489034,_0x4949cd);},'ruuZI':_0x280a5c(0xe9),'aACiv':function(_0xf4cef8,_0x1df223){return _0xf4cef8(_0x1df223);}},_0x520697=new AbortController(),_0x1fe233=setTimeout(()=>_0x520697[_0x280a5c(0x9b)](),CHECK_TIMEOUT_MS);try{const _0x1a1794=await _0x14bb09[_0x280a5c(0xe7)](fetch,_0x280a5c(0x124)+_0x280a5c(0x89)+_0x280a5c(0xdb)+'rg/'+PACKAGE_NAME+_0x280a5c(0xe3),{'signal':_0x520697[_0x280a5c(0xbb)]});if(!_0x1a1794['ok'])return null;const _0xbd9472=await _0x1a1794[_0x280a5c(0x10e)]();return typeof _0xbd9472[_0x280a5c(0xc6)]===_0x14bb09[_0x280a5c(0xb4)]?_0xbd9472[_0x280a5c(0xc6)]:null;}catch{return null;}finally{_0x14bb09[_0x280a5c(0x95)](clearTimeout,_0x1fe233);}}async function runGlobalUpdate(){const _0x40fd69=_0xe23d3,_0x5e6419={'YlSvf':function(_0x5a39f7,_0x2770ae){return _0x5a39f7(_0x2770ae);},'PyONn':function(_0x1210bc,_0x111b3b){return _0x1210bc===_0x111b3b;},'IePVH':_0x40fd69(0xfe),'zjbFg':_0x40fd69(0x11c),'jXRJY':function(_0x450aa3,_0x558e0a){return _0x450aa3!==_0x558e0a;},'xxZuA':'svWEV','WxelR':_0x40fd69(0x113),'UdPUB':'KsFfn','UuPvS':_0x40fd69(0x11e),'aYtZl':function(_0xc94f21,_0x3d181c,_0x3d77e3,_0x49fbc0){return _0xc94f21(_0x3d181c,_0x3d77e3,_0x49fbc0);},'LUeTK':_0x40fd69(0xc2),'iYqGi':function(_0x16e45d,_0x34a394,_0x16d432){return _0x16e45d(_0x34a394,_0x16d432);},'GlCrV':_0x40fd69(0xf0),'AmhTd':'win32','BBaxs':'npm.cmd','XewwM':function(_0x2dbcd2,_0x322dc5,_0x381519,_0x421351){return _0x2dbcd2(_0x322dc5,_0x381519,_0x421351);},'wFobI':_0x40fd69(0x10a)};if(_0x5e6419[_0x40fd69(0xab)](process[_0x40fd69(0xb6)],_0x5e6419[_0x40fd69(0x105)]))try{const _0x538986=_0x5e6419['BBaxs'],_0x140731=_0x538986+(_0x40fd69(0xe8)+_0x40fd69(0xec))+PACKAGE_NAME+_0x40fd69(0x9f),_0x33eae1=_0x140731+('\x20&\x20echo.'+_0x40fd69(0x118)+_0x40fd69(0x107)+_0x40fd69(0x9e)+']\x20&\x20paus'+'e');return _0x5e6419[_0x40fd69(0x91)](spawn,_0x5e6419[_0x40fd69(0x8a)],['/c',_0x40fd69(0x126),_0x5e6419[_0x40fd69(0x8a)],'/c',_0x33eae1],{'detached':!![],'stdio':'ignore'})[_0x40fd69(0xae)](),_0x5e6419[_0x40fd69(0xa9)];}catch{return![];}return new Promise(_0x44d252=>{const _0x4b483f=_0x40fd69,_0x15e4e7={'JGyjp':function(_0x2611f2,_0x2aeb09){return _0x2611f2(_0x2aeb09);},'pIyQj':_0x4b483f(0x126),'iWWPD':_0x5e6419[_0x4b483f(0x8a)],'Jifmj':_0x5e6419[_0x4b483f(0xd8)],'niVxH':_0x4b483f(0x10a),'vcSlQ':function(_0x30c70f,_0x36626e){const _0x3436fd=_0x4b483f;return _0x5e6419[_0x3436fd(0x12b)](_0x30c70f,_0x36626e);},'WwWni':_0x5e6419[_0x4b483f(0x119)],'GEZAx':_0x5e6419[_0x4b483f(0xa5)],'jrCOZ':function(_0x8fb732,_0xf4fe87){const _0x218d69=_0x4b483f;return _0x5e6419[_0x218d69(0xaf)](_0x8fb732,_0xf4fe87);}};try{if(_0x5e6419[_0x4b483f(0x12b)](_0x5e6419[_0x4b483f(0xed)],_0x5e6419['UuPvS'])){const _0x34a5ad=_0x5e6419['aYtZl'](spawn,_0x4b483f(0x94),[_0x5e6419[_0x4b483f(0xf4)],'-g',PACKAGE_NAME+_0x4b483f(0x9f)],{'stdio':_0x5e6419[_0x4b483f(0xd8)]}),_0x3540ee=_0x5e6419['iYqGi'](setTimeout,()=>{_0x34a5ad['kill'](),_0x15e4e7['JGyjp'](_0x44d252,![]);},UPDATE_TIMEOUT_MS);_0x34a5ad['on'](_0x4b483f(0x120),()=>{const _0x14311f=_0x4b483f,_0x5d12f3={'FoJMJ':_0x15e4e7['pIyQj'],'NAuXr':_0x15e4e7[_0x14311f(0x10f)],'myPyW':_0x15e4e7[_0x14311f(0x92)],'Cuuqs':_0x15e4e7[_0x14311f(0x122)]};if(_0x15e4e7[_0x14311f(0xee)](_0x15e4e7['WwWni'],_0x15e4e7['GEZAx']))_0x15e4e7[_0x14311f(0xbc)](clearTimeout,_0x3540ee),_0x44d252(![]);else try{const _0x113713=_0x14311f(0xa3),_0x5d64bb=_0x113713+(_0x14311f(0xe8)+_0x14311f(0xec))+_0xc949ce+'@latest',_0x5378a9=_0x5d64bb+(_0x14311f(0x115)+'\x20&\x20echo\x20'+'[Update\x20'+'Finished'+']\x20&\x20paus'+'e');return _0x3b87be(_0x14311f(0xfe),['/c',hYbrym[_0x14311f(0xff)],hYbrym[_0x14311f(0x121)],'/c',_0x5378a9],{'detached':!![],'stdio':hYbrym[_0x14311f(0x11f)]})[_0x14311f(0xae)](),hYbrym[_0x14311f(0x8f)];}catch{return![];}}),_0x34a5ad['on'](_0x5e6419[_0x4b483f(0x128)],_0x2a2654=>{const _0x5ba0ed=_0x4b483f;_0x5e6419[_0x5ba0ed(0xaf)](clearTimeout,_0x3540ee),_0x5e6419[_0x5ba0ed(0xaf)](_0x44d252,_0x5e6419[_0x5ba0ed(0xab)](_0x2a2654,0x0));});}else return{};}catch{_0x44d252(![]);}});}function getCachePath(){const _0x20040d=_0xe23d3,_0x363a91={'mtSQD':function(_0x3411ed,_0xc7c1c7,_0x32a688){return _0x3411ed(_0xc7c1c7,_0x32a688);},'vipIZ':function(_0x514be8){return _0x514be8();},'DqKoP':_0x20040d(0xef)+'heck.jso'+'n'};return _0x363a91[_0x20040d(0xa1)](join,dirname(_0x363a91['vipIZ'](getGlobalEnvPath)),_0x363a91[_0x20040d(0xf8)]);}function readCache(){const _0x222aa5=_0xe23d3,_0x952f46={'tRyhg':function(_0x110e54){return _0x110e54();},'YrEMJ':function(_0x1e6144,_0x25e028,_0x95ae69){return _0x1e6144(_0x25e028,_0x95ae69);},'zEpce':'utf8','RQDYb':function(_0x7d6605,_0x31cd00,_0x4a1c27){return _0x7d6605(_0x31cd00,_0x4a1c27);},'mqxUT':function(_0x512ac6){return _0x512ac6();},'PJlHc':function(_0x3daa0e,_0x239b05){return _0x3daa0e===_0x239b05;},'LObMx':_0x222aa5(0xbd)};try{const _0x95c568=_0x952f46[_0x222aa5(0xc8)](readFileSync,_0x952f46[_0x222aa5(0xde)](getCachePath),_0x952f46['zEpce']),_0x3acead=JSON[_0x222aa5(0x125)](_0x95c568);return _0x3acead&&_0x952f46[_0x222aa5(0x9c)](typeof _0x3acead,_0x952f46[_0x222aa5(0xa4)])?_0x3acead:{};}catch{if(_0x222aa5(0x8e)!==_0x222aa5(0xdd))return{};else{const _0x2dab0c=_0x952f46['tRyhg'](_0x2aecaf);_0x952f46[_0x222aa5(0xd2)](_0xdea8c9,_0x1b3958(_0x2dab0c),{'recursive':!![]}),_0x5b0b3a(_0x2dab0c,_0x1a6a0f[_0x222aa5(0xf1)+'y'](_0x4b4347),_0x952f46[_0x222aa5(0x112)]);}}}function writeCache(_0x4cea73){const _0x3dd4b4=_0xe23d3,_0x2236f6={'IwZNO':function(_0x1ea0e0){return _0x1ea0e0();},'fnlmX':function(_0x1b72e9,_0x2e398d,_0x43fd32){return _0x1b72e9(_0x2e398d,_0x43fd32);},'SciBS':function(_0x4e27cc,_0x3115d4){return _0x4e27cc(_0x3115d4);},'RTqfb':function(_0x477935,_0x2e73bc,_0x44f2c8,_0x116882){return _0x477935(_0x2e73bc,_0x44f2c8,_0x116882);},'PYRSl':'utf8','lFzaa':function(_0x364aa6,_0x551546){return _0x364aa6===_0x551546;},'iQCKI':'snqLm'};try{const _0x3dceef=_0x2236f6['IwZNO'](getCachePath);_0x2236f6['fnlmX'](mkdirSync,_0x2236f6['SciBS'](dirname,_0x3dceef),{'recursive':!![]}),_0x2236f6[_0x3dd4b4(0xb1)](writeFileSync,_0x3dceef,JSON[_0x3dd4b4(0xf1)+'y'](_0x4cea73),_0x2236f6[_0x3dd4b4(0xc3)]);}catch{if(_0x2236f6[_0x3dd4b4(0xcc)](_0x3dd4b4(0xa6),_0x2236f6[_0x3dd4b4(0xa0)]))return null;else throw new Error(_0x3dd4b4(0xba)+_0x3dd4b4(0x127)+_0x3dd4b4(0x8b)+_0x3dd4b4(0x99));}}function isVersionLower(_0x3b2f0e,_0x256396){const _0x181c62=_0xe23d3,_0x4317df={'hgbby':_0x181c62(0xa3),'dRpVV':function(_0x3b3dab,_0x35c014,_0x51bb03,_0x2b4672){return _0x3b3dab(_0x35c014,_0x51bb03,_0x2b4672);},'zCYzu':_0x181c62(0xfe),'DKZLx':_0x181c62(0x126),'MAgXb':_0x181c62(0x11c),'bxefr':_0x181c62(0x10a),'bXfWF':function(_0x4dd92a,_0x1dd12e){return _0x4dd92a(_0x1dd12e);},'pBNTe':function(_0x27f611,_0x48c1af){return _0x27f611||_0x48c1af;},'mLYHV':function(_0x53adbc,_0x4e2b89){return _0x53adbc<_0x4e2b89;},'KUUVM':function(_0x4c9fea,_0x49ee15){return _0x4c9fea!==_0x49ee15;},'mrWvB':_0x181c62(0x90),'pGJGx':function(_0x4abd75,_0x556413){return _0x4abd75>_0x556413;}},_0x160380=_0x4317df[_0x181c62(0xf5)](normalizeVersion,_0x3b2f0e),_0x5c2ff4=normalizeVersion(_0x256396);if(_0x4317df[_0x181c62(0xc7)](!_0x160380,!_0x5c2ff4))return![];for(let _0x23b7dd=0x0;_0x23b7dd<0x3;_0x23b7dd+=0x1){if(_0x4317df['mLYHV'](_0x160380[_0x23b7dd],_0x5c2ff4[_0x23b7dd])){if(_0x4317df[_0x181c62(0x8d)](_0x4317df[_0x181c62(0x97)],_0x181c62(0x90))){const _0x14ad43=AwpWgM['hgbby'],_0x4bd212=_0x14ad43+(_0x181c62(0xe8)+_0x181c62(0xec))+_0x3f3009+'@latest',_0x671fe6=_0x4bd212+('\x20&\x20echo.'+'\x20&\x20echo\x20'+'[Update\x20'+_0x181c62(0x9e)+_0x181c62(0x96)+'e');return AwpWgM[_0x181c62(0x12e)](_0x3d0795,AwpWgM[_0x181c62(0xb5)],['/c',AwpWgM['DKZLx'],AwpWgM[_0x181c62(0xb5)],'/c',_0x671fe6],{'detached':!![],'stdio':AwpWgM[_0x181c62(0xfb)]})[_0x181c62(0xae)](),AwpWgM['bxefr'];}else return!![];}if(_0x4317df[_0x181c62(0xcf)](_0x160380[_0x23b7dd],_0x5c2ff4[_0x23b7dd]))return![];}return![];}function normalizeVersion(_0x71500c){const _0x486c1f=_0xe23d3,_0x1adb7b={'XwcvX':function(_0x557b11,_0x208a2d){return _0x557b11<_0x208a2d;},'kIESo':function(_0x35fa7d,_0x262791){return _0x35fa7d(_0x262791);},'oeDlB':function(_0x214996,_0x42e0b3){return _0x214996(_0x42e0b3);}},_0x4f820e=_0x71500c[_0x486c1f(0x104)]()[_0x486c1f(0xd9)](/^v/i,'')[_0x486c1f(0x106)]('-')[0x0],_0x4a3064=_0x4f820e['split']('.');if(_0x1adb7b[_0x486c1f(0xc9)](_0x4a3064['length'],0x3))return null;const _0x1a135b=_0x1adb7b[_0x486c1f(0xb8)](Number,_0x4a3064[0x0]),_0x10c367=_0x1adb7b[_0x486c1f(0xb8)](Number,_0x4a3064[0x1]),_0x52814a=_0x1adb7b[_0x486c1f(0x114)](Number,_0x4a3064[0x2]);if(!Number[_0x486c1f(0xf9)](_0x1a135b)||!Number['isFinite'](_0x10c367)||!Number[_0x486c1f(0xf9)](_0x52814a))return null;return[_0x1a135b,_0x10c367,_0x52814a];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemit-cli",
3
- "version": "2.1.2",
3
+ "version": "2.2.1",
4
4
  "description": "CLI para sugerir commit/branch com IA, com config global e fluxo opcional de push",
5
5
  "main": "dist-secure/index.js",
6
6
  "bin": {
@@ -40,6 +40,7 @@
40
40
  "dotenv": "^17.3.1"
41
41
  },
42
42
  "devDependencies": {
43
+ "@biomejs/biome": "^2.4.14",
43
44
  "@types/node": "^25.5.0",
44
45
  "javascript-obfuscator": "^5.3.0",
45
46
  "tsx": "^4.21.0",