forked from NeKosmic/Quantum-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Quantum.js
1 lines (1 loc) · 24.1 KB
/
Quantum.js
1
const _0x31596a=_0x1211;(function(_0x111124,_0x364f65){const _0xfdab36=_0x1211,_0x37a5e0=_0x111124();while(!![]){try{const _0x41516c=parseInt(_0xfdab36(0x248))/0x1*(parseInt(_0xfdab36(0x25c))/0x2)+parseInt(_0xfdab36(0x211))/0x3+parseInt(_0xfdab36(0x217))/0x4+parseInt(_0xfdab36(0x220))/0x5*(parseInt(_0xfdab36(0x1f6))/0x6)+-parseInt(_0xfdab36(0x25f))/0x7+-parseInt(_0xfdab36(0x208))/0x8+parseInt(_0xfdab36(0x20b))/0x9*(-parseInt(_0xfdab36(0x213))/0xa);if(_0x41516c===_0x364f65)break;else _0x37a5e0['push'](_0x37a5e0['shift']());}catch(_0x14b727){_0x37a5e0['push'](_0x37a5e0['shift']());}}}(_0x21de,0x1dc53),console[_0x31596a(0x1f1)](_0x31596a(0x1fe)));const {default:makeWASocket,downloadContentFromMessage,fetchLatestBaileysVersion,useMultiFileAuthState,makeInMemoryStore,DisconnectReason}=require('@adiwajshing/baileys'),{smsg}=require(_0x31596a(0x205)),fs=require('fs'),pino=require(_0x31596a(0x26c)),CFonts=require(_0x31596a(0x21f)),FileType=require(_0x31596a(0x216)),moment=require('moment-timezone'),Pkg=require(_0x31596a(0x258)),{fechaCompleta}=require('./libreria/calendario'),{color,start,success,close,sleep,getBuffer}=require(_0x31596a(0x201)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require('./libreria/exif'),_welcom=JSON[_0x31596a(0x1f0)](fs[_0x31596a(0x26d)]('./basededatos/json/bienvenida.json')),_antifakes1=JSON[_0x31596a(0x1f0)](fs[_0x31596a(0x26d)](_0x31596a(0x253))),_antifakes2=JSON[_0x31596a(0x1f0)](fs['readFileSync'](_0x31596a(0x250))),_estranjerosnot=JSON[_0x31596a(0x1f0)](fs['readFileSync'](_0x31596a(0x22e))),sinthumb=fs[_0x31596a(0x26d)](_0x31596a(0x214)),logo=fs[_0x31596a(0x26d)](_0x31596a(0x23a)),{en,id,es,pt}=require('./libreria/lenguajes/nexo');idiomas=es,MyInfo=JSON[_0x31596a(0x1f0)](fs[_0x31596a(0x26d)](_0x31596a(0x1f5))),prefix=MyInfo[_0x31596a(0x247)],NameBot=MyInfo[_0x31596a(0x245)]+'ᴮʸ⁻ᴺᴷ',botcontrol=MyInfo['ControladorDelBot'],prepais=MyInfo[_0x31596a(0x21c)],cglobal=MyInfo[_0x31596a(0x25b)];const more=String[_0x31596a(0x215)](0x200e),nvn=more[_0x31596a(0x209)](0xfa1),nwn=more[_0x31596a(0x209)](0x352);CFonts['say'](''+Pkg[_0x31596a(0x242)],{'font':_0x31596a(0x219),'color':_0x31596a(0x23f),'align':_0x31596a(0x231),'gradient':[_0x31596a(0x21a),_0x31596a(0x1fc)]}),CFonts['say'](_0x31596a(0x257)+Pkg[_0x31596a(0x202)],{'font':_0x31596a(0x264),'align':_0x31596a(0x231),'gradient':[_0x31596a(0x21a),_0x31596a(0x21e)]});const store=makeInMemoryStore({'logger':pino()['child']({'level':_0x31596a(0x23b),'stream':_0x31596a(0x1ef)})});store['readFromFile'](_0x31596a(0x25d)),setInterval(()=>{const _0x408441=_0x31596a;store['writeToFile'](_0x408441(0x25d));},0x3c*0x3e8);function _0x1211(_0x49c80a,_0x462eaf){const _0x21deb6=_0x21de();return _0x1211=function(_0x1211c6,_0x571cfc){_0x1211c6=_0x1211c6-0x1e9;let _0x318ffb=_0x21deb6[_0x1211c6];return _0x318ffb;},_0x1211(_0x49c80a,_0x462eaf);}async function NKstart(){const _0x1d2cda=_0x31596a,{state:_0x477f77,saveCreds:_0x4e16b5}=await useMultiFileAuthState(_0x1d2cda(0x23c)),{version:_0x4a3aba,isLatest:_0x1e6131}=await fetchLatestBaileysVersion(),_0x5d649b=makeWASocket({'logger':pino({'level':_0x1d2cda(0x23b)}),'printQRInTerminal':!![],'browser':['<[\x20Quantum-bot\x20]>',_0x1d2cda(0x266),_0x1d2cda(0x25a)],'auth':_0x477f77,'version':_0x4a3aba});store['bind'](_0x5d649b['ev']),_0x5d649b['ws']['on']('CB:call',async _0x3202d9=>{const _0x527750=_0x1d2cda,_0x2898da=_0x3202d9[_0x527750(0x251)][0x0][_0x527750(0x24e)][_0x527750(0x26f)];let _0x18c284=''+botcontrol[0x0][_0x527750(0x259)](0x0,-0xf);if(_0x3202d9[_0x527750(0x251)][0x0][_0x527750(0x260)]==_0x527750(0x207),'51995386439',_0x18c284){var _0x51b8b6=_0x527750(0x246)+botcontrol[0x0]['slice'](0x0,-0xf);_0x5d649b[_0x527750(0x243)](_0x2898da,{'text':idiomas[_0x527750(0x21b)](_0x51b8b6)},{'quoted':{'key':{'participant':_0x527750(0x267),'remoteJid':_0x527750(0x267)},'message':{'groupInviteMessage':{'groupJid':_0x527750(0x24a),'inviteCode':'m','groupName':'P','caption':''+MyInfo[_0x527750(0x245)],'jpegThumbnail':fs[_0x527750(0x26d)](_0x527750(0x270))}}}}),await sleep(0x1f40),await _0x5d649b[_0x527750(0x1fb)](_0x2898da,'block');}}),_0x5d649b['ev']['on'](_0x1d2cda(0x1e9),async _0x18f82b=>{const _0x392da8=_0x1d2cda;try{if(!_0x5d649b[_0x392da8(0x222)]&&!_0x18f82b['messages'][0x0]['key'][_0x392da8(0x224)]&&_0x18f82b[_0x392da8(0x1ff)]==='notify')return;require('./meta')(_0x5d649b,_0x18f82b,store,_welcom,_antifakes1,_antifakes2,_estranjerosnot);}catch(_0x31e334){console[_0x392da8(0x1f1)](_0x392da8(0x204)),console[_0x392da8(0x1f1)](_0x31e334),console[_0x392da8(0x1f1)]('\x0a\x0a');}}),_0x5d649b['ev']['on']('groups.update',async _0x3b8c32=>{const _0x3d37de=_0x1d2cda;try{for(let _0x451c95 of _0x3b8c32){if(!_welcom[_0x3d37de(0x20a)](_0x451c95['id']))return;cmek={'key':{'fromMe':!0x1,'participant':_0x3d37de(0x267),..._0x451c95['id']?{'remoteJid':_0x3d37de(0x271)}:{}},'message':{'contactMessage':{'displayName':MyInfo['NombreDelBot'],'vcard':_0x3d37de(0x1eb)}}};if(_0x451c95['announce']==!0x0)_0x5d649b[_0x3d37de(0x243)](_0x451c95['id'],{'text':idiomas[_0x3d37de(0x26e)]()},{'ephemeralExpiration':0x18*0xe10,'quoted':cmek});else{if(_0x451c95[_0x3d37de(0x268)]==!0x1)_0x5d649b[_0x3d37de(0x243)](_0x451c95['id'],{'text':idiomas['AbrirGp']()},{'ephemeralExpiration':0x18*0xe10,'quoted':cmek});else{if(_0x451c95[_0x3d37de(0x20f)]==!0x0)_0x5d649b['sendMessage'](_0x451c95['id'],{'text':_0x3d37de(0x1ed)},{'ephemeralExpiration':0x18*0xe10,'quoted':cmek});else _0x451c95[_0x3d37de(0x20f)]==!0x1?_0x5d649b[_0x3d37de(0x243)](_0x451c95['id'],{'text':'🧰\x20*[AJUSTES\x20REALIZADOS\x20EL\x20EN\x20GRUPO]*\x20⚙️\x0a_ᴬʰᵒʳᵃ\x20ᵗᵒᵈᵒˢ\x20ˡᵒˢ\x20ᵖᵃʳᵗᶦᶜᶦᵖᵃⁿᵗᵉˢ\x20ᵖᵘᵉᵈᵉⁿ\x20ᵉᵈᶦᵗᵃʳ\x20ˡᵒˢ\x20ᵃʲᵘˢᵗᵉˢ\x20ᵈᵉˡ\x20ᵍʳᵘᵖᵒ_\x0a~ᴾᵒʳ\x20ᶠᵃᵛᵒʳ\x20ᵉˢᵗᵃʳ\x20ᵃᵗᵉⁿᵗᵒˢ\x20ᵃ\x20ᵖᵉʳˢᵒⁿᵃˢ\x20ᶜᵒⁿ\x20ʳᵉᵗʳᵃˢᵒ\x20ᵐᵉⁿᵗᵃˡ~'},{'ephemeralExpiration':0x18*0xe10,'quoted':cmek}):_0x5d649b[_0x3d37de(0x243)](_0x451c95['id'],{'text':idiomas[_0x3d37de(0x23e)](_0x451c95)},{'ephemeralExpiration':0x18*0xe10,'quoted':cmek});}}}}catch(_0x417758){console['log'](_0x417758);}}),_0x5d649b['ev']['on'](_0x1d2cda(0x262),async _0x3cbb19=>{const _0x4d0e79=_0x1d2cda;if(_estranjerosnot[_0x4d0e79(0x20a)](_0x3cbb19['id'])){const _0x43c7dd=await _0x5d649b[_0x4d0e79(0x24d)](_0x3cbb19['id'])['catch'](_0x193fab=>{const _0x7fa6a1=_0x4d0e79;console['log'](idiomas[_0x7fa6a1(0x269)]());});_0x3cbb19[_0x4d0e79(0x21d)]==_0x4d0e79(0x26b)&&(numero=_0x3cbb19['participants'][0x0],!numero[_0x4d0e79(0x22d)]('@')[0x0][_0x4d0e79(0x237)](prepais)&&setTimeout(async function(){const _0x2a4229=_0x4d0e79;_0x5d649b[_0x2a4229(0x241)](_0x43c7dd['id'],[numero],'remove')[_0x2a4229(0x229)](_0xf5e7cb=>{});},0x3e8));}if(_0x3cbb19[_0x4d0e79(0x21d)]=='add'){const _0x7d0aa4=await _0x5d649b[_0x4d0e79(0x24d)](_0x3cbb19['id'])['catch'](_0x350b12=>{});let _0x40eb61=_0x3cbb19[_0x4d0e79(0x1f7)][0x0];if(_0x40eb61[_0x4d0e79(0x237)](_0x4d0e79(0x249)))return _0x5d649b[_0x4d0e79(0x243)](_0x7d0aa4['id'],{'text':idiomas[_0x4d0e79(0x20c)]()},{'quoted':{'key':{'participant':_0x4d0e79(0x267),'remoteJid':'[email protected]'},'message':{'groupInviteMessage':{'groupJid':'[email protected]','inviteCode':'m','groupName':'P','caption':''+MyInfo[_0x4d0e79(0x245)],'jpegThumbnail':fs[_0x4d0e79(0x26d)]('./multimedia/imagenes/teslagod.jpeg')}}}});}if(_antifakes2[_0x4d0e79(0x20a)](_0x3cbb19['id'])){const _0x314885=await _0x5d649b['groupMetadata'](_0x3cbb19['id'])[_0x4d0e79(0x229)](_0x36a6ff=>{});if(_0x3cbb19[_0x4d0e79(0x21d)]==_0x4d0e79(0x26b)){gnume=_0x3cbb19[_0x4d0e79(0x1f7)][0x0];if(gnume[_0x4d0e79(0x237)]('1'))return _0x5d649b['groupParticipantsUpdate'](_0x314885['id'],[gnume],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x33045a=>{});}}if(_antifakes1[_0x4d0e79(0x20a)](_0x3cbb19['id'])){const _0x381356=await _0x5d649b['groupMetadata'](_0x3cbb19['id'])['catch'](_0x201f28=>{});if(_0x3cbb19[_0x4d0e79(0x21d)]==_0x4d0e79(0x26b)){gnum=_0x3cbb19[_0x4d0e79(0x1f7)][0x0];if(gnum[_0x4d0e79(0x237)]('20'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x544060=>{});if(gnum['startsWith']('21'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x434a69=>{});if(gnum[_0x4d0e79(0x237)]('22'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x41e462=>{});if(gnum[_0x4d0e79(0x237)]('23'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0xcea5c7=>{});if(gnum[_0x4d0e79(0x237)]('24'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x4e0d4f=>{});if(gnum[_0x4d0e79(0x237)]('25'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x36da7c=>{});if(gnum[_0x4d0e79(0x237)]('26'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x2804d1=>{});if(gnum[_0x4d0e79(0x237)]('27'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x4519e6=>{});if(gnum[_0x4d0e79(0x237)]('29'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x5cd6e8=>{});if(gnum[_0x4d0e79(0x237)]('30'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x100de1=>{});if(gnum['startsWith']('31'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x1e4ff1=>{});if(gnum[_0x4d0e79(0x237)]('32'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x4ea127=>{});if(gnum[_0x4d0e79(0x237)]('33'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x45655d=>{});if(gnum['startsWith']('34'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x474f6a=>{});if(gnum[_0x4d0e79(0x237)]('35'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x53943a=>{});if(gnum[_0x4d0e79(0x237)]('36'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x55e949=>{});if(gnum[_0x4d0e79(0x237)]('37'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x8b59c0=>{});if(gnum[_0x4d0e79(0x237)]('38'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x2474cd=>{});if(gnum['startsWith']('39'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x7b0cec=>{});if(gnum[_0x4d0e79(0x237)]('40'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0xf83330=>{});if(gnum['startsWith']('41'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x258411=>{});if(gnum[_0x4d0e79(0x237)]('42'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x127404=>{});if(gnum[_0x4d0e79(0x237)]('43'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x411bfa=>{});if(gnum['startsWith']('44'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x4f9cdb=>{});if(gnum['startsWith']('45'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x42d15e=>{});if(gnum['startsWith']('46'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x3379e2=>{});if(gnum[_0x4d0e79(0x237)]('47'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x554e8a=>{});if(gnum['startsWith']('48'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x528964=>{});if(gnum[_0x4d0e79(0x237)]('49'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0xa53fde=>{});if(gnum['startsWith']('60'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x2a7703=>{});if(gnum['startsWith']('61'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x58d299=>{});if(gnum[_0x4d0e79(0x237)]('62'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0xae0606=>{});if(gnum[_0x4d0e79(0x237)]('63'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x2417d3=>{});if(gnum['startsWith']('64'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x46f1cd=>{});if(gnum['startsWith']('65'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],'remove')['catch'](_0x445bc5=>{});if(gnum[_0x4d0e79(0x237)]('66'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x22de5d=>{});if(gnum['startsWith']('67'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x27b457=>{});if(gnum[_0x4d0e79(0x237)]('68'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x1462af=>{});if(gnum['startsWith']('69'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x39386b=>{});if(gnum[_0x4d0e79(0x237)]('7'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x2eeae9=>{});if(gnum[_0x4d0e79(0x237)]('80'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x3c9bf2=>{});if(gnum['startsWith']('81'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x8ea058=>{});if(gnum['startsWith']('82'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x20e5db=>{});if(gnum[_0x4d0e79(0x237)]('84'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x41a0a6=>{});if(gnum[_0x4d0e79(0x237)]('85'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')[_0x4d0e79(0x229)](_0x4770f0=>{});if(gnum[_0x4d0e79(0x237)]('86'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x25a6cc=>{});if(gnum[_0x4d0e79(0x237)]('88'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x122d71=>{});if(gnum[_0x4d0e79(0x237)]('90'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x4abec7=>{});if(gnum[_0x4d0e79(0x237)]('91'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x1bd5fe=>{});if(gnum['startsWith']('92'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x178744=>{});if(gnum['startsWith']('93'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x5b985c=>{});if(gnum[_0x4d0e79(0x237)]('94'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x3ff2ae=>{});if(gnum[_0x4d0e79(0x237)]('95'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],'remove')['catch'](_0x5b15cf=>{});if(gnum[_0x4d0e79(0x237)]('96'))return _0x5d649b['groupParticipantsUpdate'](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x4c0c70=>{});if(gnum[_0x4d0e79(0x237)]('97'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x4955a9=>{});if(gnum[_0x4d0e79(0x237)]('98'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))[_0x4d0e79(0x229)](_0x106953=>{});if(gnum[_0x4d0e79(0x237)]('99'))return _0x5d649b[_0x4d0e79(0x241)](_0x381356['id'],[gnum],_0x4d0e79(0x218))['catch'](_0x2e51a9=>{});}}if(!_welcom[_0x4d0e79(0x20a)](_0x3cbb19['id']))return;console[_0x4d0e79(0x1f1)](_0x3cbb19);try{let _0x4036a7=await _0x5d649b[_0x4d0e79(0x24d)](_0x3cbb19['id'])[_0x4d0e79(0x229)](_0x34ad21=>{});const _0x552f73=_0x3cbb19['id'][_0x4d0e79(0x1f8)](_0x4d0e79(0x22a)),_0x28f54b=_0x552f73?_0x4036a7[_0x4d0e79(0x1f9)]:'';let _0x4a382b=moment()['tz'](Intl[_0x4d0e79(0x1f4)]()['resolvedOptions']()[_0x4d0e79(0x24f)])['format'](_0x4d0e79(0x1ee)),_0x5166db=_0x3cbb19[_0x4d0e79(0x1f7)];for(let _0x18ca62 of _0x5166db){try{ppuser=await _0x5d649b[_0x4d0e79(0x225)](_0x18ca62,_0x4d0e79(0x263))[_0x4d0e79(0x229)](_0x4f0daf=>'./multimedia/imagenes/avatar_contact.png');}catch{ppuser='https://i.ibb.co/jhQ7gL0/Sin-Perfil-F.jpg';}if(_0x3cbb19[_0x4d0e79(0x21d)]==_0x4d0e79(0x26b))await _0x5d649b[_0x4d0e79(0x243)](_0x3cbb19['id'],{'image':{'url':ppuser},'caption':idiomas['Wlc3'](_0x18ca62,_0x4036a7,_0x28f54b,nwn),...{'contextInfo':{'mentionedJid':[_0x18ca62],'externalAdReply':{'title':_0x4d0e79(0x234)+_0x4a382b,'body':'[\x20ZonaBot/'+Intl[_0x4d0e79(0x1f4)]()[_0x4d0e79(0x1fa)]()[_0x4d0e79(0x24f)]+'\x20]','thumbnail':logo,'sourceUrl':_0x4d0e79(0x221)}}}},{'quoted':null});else{if(_0x3cbb19[_0x4d0e79(0x21d)]==_0x4d0e79(0x218))await _0x5d649b[_0x4d0e79(0x243)](_0x3cbb19['id'],{'image':{'url':ppuser},'caption':idiomas[_0x4d0e79(0x20d)](_0x18ca62),...{'contextInfo':{'mentionedJid':[_0x18ca62],'externalAdReply':{'title':_0x4d0e79(0x236)+_0x4a382b,'body':_0x4d0e79(0x22c)+Intl[_0x4d0e79(0x1f4)]()[_0x4d0e79(0x1fa)]()['timeZone']+'\x20]','thumbnail':logo,'sourceUrl':'https://github.com/NeKosmic/Quantum-Bot/fork?rgh-fork=true'}}}},{'quoted':null});else{if(_0x3cbb19[_0x4d0e79(0x21d)]=='promote')_0x5d649b[_0x4d0e79(0x243)](_0x3cbb19['id'],{'image':{'url':ppuser},'mentions':[_0x18ca62],'caption':_0x4d0e79(0x230)+_0x18ca62[_0x4d0e79(0x22d)]('@')[0x0]+_0x4d0e79(0x1ea)+_0x4036a7[_0x4d0e79(0x23d)]+'_'});else _0x3cbb19[_0x4d0e79(0x21d)]=='demote'&&_0x5d649b['sendMessage'](_0x3cbb19['id'],{'image':{'url':ppuser},'mentions':[_0x18ca62],'caption':'*@'+_0x18ca62['split']('@')[0x0]+_0x4d0e79(0x254)+_0x4036a7[_0x4d0e79(0x23d)]+'_'});}}}}catch(_0xf9c64a){console['log'](_0xf9c64a);}}),_0x5d649b[_0x1d2cda(0x222)]=!![],_0x5d649b['serializeM']=_0x56e9d4=>smsg(_0x5d649b,_0x56e9d4,store),_0x5d649b['ev']['on']('connection.update',async _0x381920=>{const _0x55b1f2=_0x1d2cda,{connection:_0x221ef1,lastDisconnect:_0x1c8702,isNewLogin:_0x54277d}=_0x381920;if(_0x54277d)this[_0x55b1f2(0x265)]=!![];if(_0x221ef1==_0x55b1f2(0x25e))start('2',_0x55b1f2(0x212));else _0x221ef1===_0x55b1f2(0x252)&&(_0x5d649b['ev']['removeAllListeners'](),console[_0x55b1f2(0x1f1)](color(_0x55b1f2(0x244),_0x55b1f2(0x21a)),color(_0x55b1f2(0x235),'red')),_0x1c8702[_0x55b1f2(0x233)]?.['output']?.['statusCode']!==DisconnectReason[_0x55b1f2(0x1f2)]?NKstart():console['log'](color('\x0a\x0a[!]\x20Session\x20del\x20dispositivo\x20desconectado,\x20elimine\x20la\x20sesión\x20y\x20vuelva\x20a\x20escanear.\x0a\x0a[!]\x20Session\x20from\x20the\x20disconnected\x20device,\x20delete\x20the\x20session\x20and\x20rescan.\x0a\x0a[!]\x20Sesi\x20dari\x20perangkat\x20yang\x20terputus,\x20hapus\x20sesi\x20dan\x20pindai\x20ulang.\x0a\x0a[!]\x20Sessão\x20do\x20dispositivo\x20desconectado,\x20exclua\x20a\x20sessão\x20e\x20verifique\x20novamente.\x0a\x0a',_0x55b1f2(0x21a))));_0x221ef1===_0x55b1f2(0x24b)&&(minvitacion=_0x55b1f2(0x223),_0x5d649b[_0x55b1f2(0x228)](minvitacion)[_0x55b1f2(0x229)](_0x1ecde2=>{const _0x52311e=_0x55b1f2;console[_0x52311e(0x1f1)](_0x1ecde2);}),cglobal=_0x5d649b[_0x55b1f2(0x206)]['id']['split'](':')[0x0]+_0x55b1f2(0x239),MyInfo[_0x55b1f2(0x25b)]=cglobal,fs[_0x55b1f2(0x200)](_0x55b1f2(0x1f5),JSON[_0x55b1f2(0x22f)](MyInfo,null,'\x09')),success('2','\x0aCONECTADO\x20UwUr\x0a'));}),_0x5d649b['ev']['on'](_0x1d2cda(0x256),_0x4e16b5),_0x5d649b['downloadAndSaveMediaMessage']=async(_0x28b2a9,_0x1d7351,_0x9e95f2=!0x0)=>{const _0x60b06e=_0x1d2cda;let _0x587016=_0x28b2a9['msg']?_0x28b2a9['msg']:_0x28b2a9,_0x189364=(_0x28b2a9[_0x60b06e(0x227)]||_0x28b2a9)[_0x60b06e(0x238)]||'',_0x4aa64c=_0x189364['split']('/')[0x0]['replace']('application',_0x60b06e(0x210))?_0x189364[_0x60b06e(0x22d)]('/')[0x0][_0x60b06e(0x240)](_0x60b06e(0x1f3),_0x60b06e(0x210)):_0x189364[_0x60b06e(0x22d)]('/')[0x0];const _0x3315fe=await downloadContentFromMessage(_0x587016,_0x4aa64c);let _0x456c7b=Buffer[_0x60b06e(0x255)]([]);for await(const _0x40ba6e of _0x3315fe){_0x456c7b=Buffer[_0x60b06e(0x24c)]([_0x456c7b,_0x40ba6e]);}let _0xaf7f7e=await FileType[_0x60b06e(0x1fd)](_0x456c7b);return trueFileName=_0x9e95f2?_0x1d7351+'.'+_0xaf7f7e['ext']:_0x1d7351,await fs[_0x60b06e(0x200)](trueFileName,_0x456c7b),trueFileName;},_0x5d649b[_0x1d2cda(0x203)]=async(_0x219333,_0x3e64b4,_0x50d68a,_0x814451={})=>{const _0x34c4c1=_0x1d2cda;let _0x1e6a2a=Buffer['isBuffer'](_0x3e64b4)?_0x3e64b4:/^data:.*?\/.*?;base64,/i['test'](_0x3e64b4)?Buffer[_0x34c4c1(0x255)](_0x3e64b4[_0x34c4c1(0x22d)]`,`[0x1],_0x34c4c1(0x226)):/^https?:\/\//[_0x34c4c1(0x20e)](_0x3e64b4)?await await getBuffer(_0x3e64b4):fs[_0x34c4c1(0x26a)](_0x3e64b4)?fs['readFileSync'](_0x3e64b4):Buffer[_0x34c4c1(0x232)](0x0),_0x489a42;return _0x814451&&(_0x814451[_0x34c4c1(0x1ec)]||_0x814451[_0x34c4c1(0x202)])?_0x489a42=await writeExifImg(_0x1e6a2a,_0x814451):_0x489a42=await imageToWebp(_0x1e6a2a),await _0x5d649b['sendMessage'](_0x219333,{'sticker':{'url':_0x489a42},..._0x814451},{'quoted':_0x50d68a}),_0x489a42;},_0x5d649b[_0x1d2cda(0x22b)]=async(_0x15033c,_0x7c7907,_0x2390c4,_0x97fd5={})=>{const _0x4ae60b=_0x1d2cda;let _0x48be99=Buffer[_0x4ae60b(0x261)](_0x7c7907)?_0x7c7907:/^data:.*?\/.*?;base64,/i[_0x4ae60b(0x20e)](_0x7c7907)?Buffer['from'](_0x7c7907['split']`,`[0x1],_0x4ae60b(0x226)):/^https?:\/\//['test'](_0x7c7907)?await await getBuffer(_0x7c7907):fs[_0x4ae60b(0x26a)](_0x7c7907)?fs[_0x4ae60b(0x26d)](_0x7c7907):Buffer[_0x4ae60b(0x232)](0x0),_0xa055e9;return _0x97fd5&&(_0x97fd5[_0x4ae60b(0x1ec)]||_0x97fd5[_0x4ae60b(0x202)])?_0xa055e9=await writeExifVid(_0x48be99,_0x97fd5):_0xa055e9=await videoToWebp(_0x48be99),await _0x5d649b[_0x4ae60b(0x243)](_0x15033c,{'sticker':{'url':_0xa055e9},..._0x97fd5},{'quoted':_0x2390c4}),_0xa055e9;};}function _0x21de(){const _0x43e113=['candy','replace','groupParticipantsUpdate','name','sendMessage','[!]','NombreDelBot','wa.me/','Prefijo','3308ufmfTV','51995386439','[email protected]','open','concat','groupMetadata','attrs','timeZone','./basededatos/json/nofakes2.json','content','close','./basededatos/json/nofakes1.json','\x20ya\x20no\x20es\x20administrador\x20del\x20grupo*\x20:\x20_','from','creds.update','By\x20','./package.json','slice','1.0.0','CtrlG','58cizgcS','./sesiones/dt.store.json','connecting','1370292mlBPJy','tag','isBuffer','group-participants.update','image','console','isInit','Safari','[email protected]','announce','FDeG','existsSync','add','pino','readFileSync','CerrarGp2','call-creator','./multimedia/imagenes/teslagod.jpeg','[email protected]','messages.upsert','!\x20ahora\x20eres\x20admin\x20del\x20grupo*\x20:\x20_','BEGIN:VCARD\x0aVERSION:3.0\x0aN:2;NeKosmic;;;\x0aFN:Matt_M\x0aitem1.TEL;waid=51995386439:+51\x20995\x20386\x20439\x0aitem1.X-ABLabel:Mobile\x0aEND:VCARD','packname','🧰\x20*[AJUSTES\x20REALIZADOS\x20EL\x20EN\x20GRUPO]*\x20⚙️\x0a_ᴬʰᵒʳᵃ\x20ˢᵒˡᵒ\x20ˡᵒˢ\x20ᵃᵈᵐᶦⁿᶦˢᵗʳᵃᵈᵒʳᵉˢ\x20ᵖᵘᵉᵈᵉⁿ\x20ᵉᵈᶦᵗᵃʳ\x20ˡᵒˢ\x20ᵃʲᵘˢᵗᵉˢ\x20ᵈᵉˡ\x20ᵍʳᵘᵖᵒ_','DD/MM/YY\x20HH:mm:ss','store','parse','log','loggedOut','application','DateTimeFormat','./informacion.json','220494NyRlwv','participants','endsWith','desc','resolvedOptions','updateBlockStatus','blue','fromBuffer','Ejecutando\x20el\x20Bot\x20mas\x20shidori\x20tercer\x20mundista.\x0aComenzando\x20ejecucion\x20del\x20script...','type','writeFileSync','./libreria/funciones','author','sendImageAsSticker','\x0aError\x20en\x20el\x20archivo\x20:\x20\x0a','./libreria/myfunc','user','offer','122928GvzNDQ','repeat','includes','352701MNzKlX','AutoSaludo','Wlc5','test','restrict','document','359157taDHbK','\x0aCONECTANDO...\x20U.U','20nmwwuq','./multimedia/imagenes/avatar_contact.png','fromCharCode','file-type','636156daBDPJ','remove','simple','red','BanCall','MyPais','action','magenta','cfonts','5eDKpwn','https://github.com/NeKosmic/Quantum-Bot/fork','mimir','GtxTtrORaAaDdDWBGGX5R5','fromMe','profilePictureUrl','base64','msg','groupAcceptInvite','catch','@g.us','sendVideoAsSticker','[\x20ZonaBot/','split','./basededatos/json/noextranjeros.json','stringify','*Felicidades\x20@','center','alloc','error','Fecha\x20de\x20ingreso\x20|\x20','Conexion\x20perdida,\x20reconectando...\x20u.u','Fecha\x20de\x20salida\x20|\x20','startsWith','mimetype','@s.whatsapp.net','./multimedia/imagenes/mylogo.jpg','silent','sesiones','subject','NomGp1'];_0x21de=function(){return _0x43e113;};return _0x21de();}NKstart();