-
Notifications
You must be signed in to change notification settings - Fork 200
/
hackers-in-sri-lanka.js
1 lines (1 loc) · 32.9 KB
/
hackers-in-sri-lanka.js
1
const _0x327d82=_0x398e;(function(_0x3904d,_0x256440){const _0x1a976a=_0x398e,_0x52df5e=_0x3904d();while(!![]){try{const _0x24daf4=parseInt(_0x1a976a(0x207))/0x1+-parseInt(_0x1a976a(0x149))/0x2*(parseInt(_0x1a976a(0x172))/0x3)+-parseInt(_0x1a976a(0x19d))/0x4*(parseInt(_0x1a976a(0x189))/0x5)+-parseInt(_0x1a976a(0x161))/0x6+parseInt(_0x1a976a(0x1ca))/0x7*(parseInt(_0x1a976a(0x199))/0x8)+-parseInt(_0x1a976a(0x16b))/0x9*(parseInt(_0x1a976a(0x1b9))/0xa)+-parseInt(_0x1a976a(0x1ce))/0xb;if(_0x24daf4===_0x256440)break;else _0x52df5e['push'](_0x52df5e['shift']());}catch(_0x5184e2){_0x52df5e['push'](_0x52df5e['shift']());}}}(_0x3035,0xb10d1),require(_0x327d82(0x1df)));const {default:HislBotIncConnect,useSingleFileAuthState,DisconnectReason,fetchLatestBaileysVersion,generateForwardMessageContent,prepareWAMessageMedia,generateWAMessageFromContent,generateMessageID,downloadContentFromMessage,makeInMemoryStore,jidDecode,proto}=require(_0x327d82(0x1c9)),{state,saveState}=useSingleFileAuthState('./'+sessionName+_0x327d82(0x209)),pino=require(_0x327d82(0x1de)),{Boom}=require(_0x327d82(0x196)),fs=require('fs'),yargs=require('yargs/yargs'),chalk=require(_0x327d82(0x1f2)),FileType=require('file-type'),path=require(_0x327d82(0x177)),PhoneNumber=require(_0x327d82(0x1f6)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require('./lib/exif'),{smsg,isUrl,generateMessageTag,getBuffer,getSizeMedia,fetchJson,await,sleep}=require(_0x327d82(0x1cd)),moment=require(_0x327d82(0x186));function _0x3035(){const _0x1d0986=['Message','sendListMsg','┌─❖\x0a│「\x20𝗚𝗼𝗼𝗱𝗯𝘆𝗲\x20👋\x20」\x0a└┬❖\x20「\x20@','pino','./settings','sendImageAsSticker','Welcome\x20💐','endsWith','existsSync','setStatus','tag','subject','send5ButImg','packname','sendImage','announce','\x20Contact','toString','Sayonara\x20🥀','map','\x20\x20」\x0a\x20\x20\x20│✑\x20\x20𝗟𝗲𝗳𝘁\x20\x0a\x20\x20\x20│✑\x20','writeFile','owner','chalk','ytname','lowdb','application/octet-stream','awesome-phonenumber','./Hacker-Pancha','store','asDocument','offer','argv','profilePictureUrl','getFile','updateBlockStatus','keys','1.0.0','Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Scan\x20Again','length','Automatic\x20Block\x20System!\x0aDon\x27t\x20Call\x20Bot!\x0aPlease\x20Ask\x20Or\x20Contact\x20The\x20Owner\x20To\x20Unblock\x20You!','data','action','log','1376263VlDIbv','image/webp','.json','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','document','msg','push','location','replace','participants','text','withoutContact','th\x0a\x20\x20\x20│✑\x20\x20𝗝𝗼𝗶𝗻𝗲𝗱\x20:\x20\x0a\x20\x20\x20│✑\x20','Update\x20','bind','https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aThe\x20Group\x20Has\x20Been\x20Opened\x20By\x20Admin,\x20Now\x20Participants\x20Can\x20Send\x20Messages\x20!','timedOut','DD/MM/YYYY','waUploadToServer','https://shortlink.HislBotIncarridho.my.id/rg1oT','categories','remoteJid','connectionReplaced','mtype','remove','\x20\x20」\x0a\x20\x20\x20│✑\x20\x20𝗪𝗲𝗹𝗰𝗼𝗺𝗲\x20𝘁𝗼\x20\x0a\x20\x20\x20│✑\x20\x20','exitProcess','user','send5ButMsg','watchFile','2kJtJxk','database/database.json','sendVideoAsSticker','caption','./lib/mongoDB','json','image','APIKeys','public','fromObject','mimetype','🦄Restart\x20Required,\x20Restarting...','https://hardianto.xyz/api/goodbye3?profile=','getNumber','floor','child','contacts.update','ext','key','promises','message','🦄Device\x20Logged\x20Out,\x20Please\x20Scan\x20Again\x20And\x20Run.','server','query','1326282wBMymT','copyNForward','matchAll','name','&name=','chat','connectionLost','🦄Connection\x20Lost\x20from\x20Server,\x20reconnecting...','write','contacts','18aAdBER','sendMedia','includes','downloadMediaMessage','writeFileSync','APIs','participant','1825341TiPkgN','parse','BAE5','fromBuffer','api','path','from','resolve','cache','\x0a\x20\x20\x20│✑\x20\x20𝗠𝗲𝗺𝗯𝗲𝗿\x20:\x20\x0a\x20\x20\x20│✑\x20',';;;;\x0aitem4.X-ABLabel:Region\x0aEND:VCARD','audio','xeon','sendTextWithMentions','ephemeralMessage','restrict','getName','readFileSync','international','🦄Connection\x20closed,\x20reconnecting....','moment-timezone','status','Connected\x20hisl\x20bot\x20working\x20now...','5BjdMiN','utf-8','🦄Unknown\x20DisconnectReason:\x20','slice','logout','join','alloc','@broadcast','test','viewOnce','./lib/exif','unlink','@g.us','@hapi/boom','th\x0a\x20\x20\x20│✑\x20\x20𝗧𝗶𝗺𝗲\x20:\x20\x0a\x20\x20\x20│✑\x20\x20','\x0aitem1.X-ABLabel:Click\x20here\x20to\x20chat\x0aitem2.EMAIL;type=INTERNET:','6988592fRQBrT','sendText','🦄Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First','imageMessage','626092SvzyZm','output','content','isBuffer','redBright','error','add','verifiedName','string','opts','relayMessage','silent','format','wkwkwk','sendAudio','split','0@s.whatsapp.net','creds.update','socialm','🦄Connection\x20TimedOut,\x20Reconnecting...','random','@s.whatsapp.net','sendMessage','downloadAndSaveMediaMessage','../src/','HH:mm:ss','916909137213-1604595598@g.us','video','2427460MIjhFK','contextInfo','base64','&member=','wkwwk','\x0a\x20\x20\x20└───────────────┈\x20⳹','cMod','\x0aFN:','.bin','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Subject\x20Has\x20Been\x20Changed\x20To\x20*','decodeJid','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Info\x20Has\x20Been\x20Restricted,\x20Now\x20Only\x20Admin\x20Can\x20Edit\x20Group\x20Info\x20!','「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aGroup\x20Info\x20Has\x20Been\x20Opened,\x20Now\x20Participants\x20Can\x20Edit\x20Group\x20Info\x20!','&bg=https://telegra.ph/file/611fcbc5979c81afbf61f.jpg&namegb=','Bye!\x20my\x20friend,\x20take\x20care.','end','@adiwajshing/baileys','7LpaBao','readViewOnce','attrs','./lib/myfunc','584397dShZeO','author','notify','videoMessage','viewOnceMessage','startsWith','sticker','Asia/Kolkata','send5ButGif','./HISL-BOT-MEDIA/image/hackers-in-sri-lanka.jpg','┌─❖\x0a│「\x20𝗛𝗶\x20👋\x20」\x0a└┬❖\x20「\x20@','ignore','concat'];_0x3035=function(){return _0x1d0986;};return _0x3035();}var low;try{low=require(_0x327d82(0x1f4));}catch(_0x320ab3){low=require('./lib/lowdb');}const {Low,JSONFile}=low,mongoDB=require(_0x327d82(0x14d));global[_0x327d82(0x176)]=(_0x3e6860,_0x55bc64='/',_0x324f43={},_0x2d34e6)=>(_0x3e6860 in global[_0x327d82(0x170)]?global['APIs'][_0x3e6860]:_0x3e6860)+_0x55bc64+(_0x324f43||_0x2d34e6?'?'+new URLSearchParams(Object['entries']({..._0x324f43,..._0x2d34e6?{[_0x2d34e6]:global[_0x327d82(0x150)][_0x3e6860 in global[_0x327d82(0x170)]?global[_0x327d82(0x170)][_0x3e6860]:_0x3e6860]}:{}})):'');const store=makeInMemoryStore({'logger':pino()[_0x327d82(0x158)]({'level':_0x327d82(0x1a8),'stream':_0x327d82(0x1f8)})});function _0x398e(_0x276e3f,_0x2743ea){const _0x303504=_0x3035();return _0x398e=function(_0x398e53,_0x24de0d){_0x398e53=_0x398e53-0x135;let _0x31c729=_0x303504[_0x398e53];return _0x31c729;},_0x398e(_0x276e3f,_0x2743ea);}global[_0x327d82(0x1a6)]=new Object(yargs(process[_0x327d82(0x1fb)][_0x327d82(0x18c)](0x2))[_0x327d82(0x145)](![])[_0x327d82(0x173)]()),global['db']=new Low(/https?:\/\//['test'](opts['db']||'')?new cloudDBAdapter(opts['db']):/mongodb/[_0x327d82(0x191)](opts['db'])?new mongoDB(opts['db']):new JSONFile(_0x327d82(0x14a))),global['db'][_0x327d82(0x204)]={'users':{},'chats':{},'database':{},'game':{},'settings':{},'others':{},'sticker':{},...global['db'][_0x327d82(0x204)]||{}};if(global['db'])setInterval(async()=>{const _0x5deaac=_0x327d82;if(global['db'][_0x5deaac(0x204)])await global['db'][_0x5deaac(0x169)]();},0x1e*0x3e8);async function startHislBotInc(){const _0x29973d=_0x327d82,_0x5e346d=HislBotIncConnect({'logger':pino({'level':_0x29973d(0x1a8)}),'printQRInTerminal':!![],'browser':['Subscribe\x20Xeon','Safari',_0x29973d(0x200)],'auth':state});store[_0x29973d(0x138)](_0x5e346d['ev']),_0x5e346d['ws']['on']('CB:call',async _0x2f77f4=>{const _0x4d7f74=_0x29973d,_0x2f47b7=_0x2f77f4[_0x4d7f74(0x19f)][0x0][_0x4d7f74(0x1cc)]['call-creator'];if(_0x2f77f4[_0x4d7f74(0x19f)][0x0][_0x4d7f74(0x1e5)]==_0x4d7f74(0x1fa)){let _0x45c6a8=await _0x5e346d['sendContact'](_0x2f47b7,global[_0x4d7f74(0x1f1)]);_0x5e346d['sendMessage'](_0x2f47b7,{'text':_0x4d7f74(0x203)},{'quoted':_0x45c6a8}),await sleep(0x1f40),await _0x5e346d[_0x4d7f74(0x1fe)](_0x2f47b7,'block');}}),_0x5e346d['ev']['on']('messages.upsert',async _0x285fc4=>{const _0x55278f=_0x29973d;try{mek=_0x285fc4['messages'][0x0];if(!mek[_0x55278f(0x15d)])return;mek[_0x55278f(0x15d)]=Object[_0x55278f(0x1ff)](mek[_0x55278f(0x15d)])[0x0]==='ephemeralMessage'?mek[_0x55278f(0x15d)][_0x55278f(0x180)][_0x55278f(0x15d)]:mek[_0x55278f(0x15d)];if(mek[_0x55278f(0x15b)]&&mek['key'][_0x55278f(0x140)]==='status@broadcast')return;if(!_0x5e346d[_0x55278f(0x151)]&&!mek['key']['fromMe']&&_0x285fc4['type']==='notify')return;if(mek[_0x55278f(0x15b)]['id'][_0x55278f(0x1d3)](_0x55278f(0x174))&&mek[_0x55278f(0x15b)]['id']['length']===0x10)return;m=smsg(_0x5e346d,mek,store),require(_0x55278f(0x1f7))(_0x5e346d,m,_0x285fc4,store);}catch(_0x5c312a){console['log'](_0x5c312a);}}),_0x5e346d['ev']['on']('groups.update',async _0x3f9754=>{const _0x2a86d2=_0x29973d;try{ppgc=await _0x5e346d[_0x2a86d2(0x1fc)](_0x3f9754[0x0]['id'],_0x2a86d2(0x14f));}catch{ppgc=_0x2a86d2(0x13e);}let _0x510b55={'url':ppgc};if(_0x3f9754[0x0][_0x2a86d2(0x1ea)]==!![])_0x5e346d[_0x2a86d2(0x1e7)](_0x3f9754[0x0]['id'],'「\x20Group\x20Settings\x20Changed\x20」\x0a\x0aThe\x20Group\x20Has\x20Been\x20Closed\x20By\x20Admin,\x20Now\x20Only\x20Admin\x20Can\x20Send\x20Messages\x20!',''+botname,_0x510b55,[]);else{if(_0x3f9754[0x0][_0x2a86d2(0x1ea)]==![])_0x5e346d['send5ButImg'](_0x3f9754[0x0]['id'],_0x2a86d2(0x13a),''+botname,_0x510b55,[]);else{if(_0x3f9754[0x0]['restrict']==!![])_0x5e346d[_0x2a86d2(0x1e7)](_0x3f9754[0x0]['id'],_0x2a86d2(0x1c4),''+botname,_0x510b55,[]);else _0x3f9754[0x0][_0x2a86d2(0x181)]==![]?_0x5e346d[_0x2a86d2(0x1e7)](_0x3f9754[0x0]['id'],_0x2a86d2(0x1c5),''+botname,_0x510b55,[]):_0x5e346d['send5ButImg'](_0x3f9754[0x0]['id'],_0x2a86d2(0x1c2)+_0x3f9754[0x0]['subject']+'*',''+botname,_0x510b55,[]);}}});function _0x47b9cf(_0x37bac3){const _0x557f98=_0x29973d;return _0x37bac3[Math[_0x557f98(0x157)](_0x37bac3[_0x557f98(0x202)]*Math[_0x557f98(0x1b1)]())];}let _0x136fea=[doc1,doc2,doc3,doc4,doc5,doc6],_0x2260dd=_0x47b9cf(_0x136fea);return _0x5e346d['ev']['on']('group-participants.update',async _0x1ffc46=>{const _0x16daaf=_0x29973d;console['log'](_0x1ffc46);try{let _0x48d51f=await _0x5e346d['groupMetadata'](_0x1ffc46['id']),_0x5640bb=_0x1ffc46['participants'];for(let _0x2e9965 of _0x5640bb){try{ppuser=await _0x5e346d['profilePictureUrl'](_0x2e9965,_0x16daaf(0x14f));}catch{ppuser='https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg';}try{ppgroup=await _0x5e346d[_0x16daaf(0x1fc)](_0x1ffc46['id'],_0x16daaf(0x14f));}catch{ppgroup=_0x16daaf(0x139);}let _0x296cdb=await _0x5e346d[_0x16daaf(0x182)](_0x2e9965);memb=_0x48d51f[_0x16daaf(0x210)]['length'],XeonWlcm=await getBuffer('https://hardianto.xyz/api/welcome3?profile='+encodeURIComponent(ppuser)+_0x16daaf(0x165)+encodeURIComponent(_0x296cdb)+_0x16daaf(0x1c6)+encodeURIComponent(_0x48d51f[_0x16daaf(0x1e6)])+_0x16daaf(0x1bc)+encodeURIComponent(memb)),XeonLft=await getBuffer(_0x16daaf(0x155)+encodeURIComponent(ppuser)+_0x16daaf(0x165)+encodeURIComponent(_0x296cdb)+_0x16daaf(0x1c6)+encodeURIComponent(_0x48d51f[_0x16daaf(0x1e6)])+_0x16daaf(0x1bc)+encodeURIComponent(memb));if(_0x1ffc46['action']==_0x16daaf(0x1a3)){const _0x5d1fce=await getBuffer(ppuser);let _0x5e69ac=_0x2e9965;const _0x166eb6=moment['tz'](_0x16daaf(0x1d5))[_0x16daaf(0x1a9)](_0x16daaf(0x1b6)),_0x10f78c=moment['tz'](_0x16daaf(0x1d5))[_0x16daaf(0x1a9)](_0x16daaf(0x13c)),_0x14984d=_0x48d51f[_0x16daaf(0x210)]['length'];let _0x42c86e={'key':{'fromMe':![],'participant':_0x16daaf(0x1ad),'remoteJid':_0x16daaf(0x1b7)},'message':{'orderMessage':{'itemCount':0x98967f,'status':0xc8,'thumbnail':XeonWlcm,'surface':0xc8,'message':''+_0x48d51f[_0x16daaf(0x1e6)],'orderTitle':_0x16daaf(0x17e),'sellerJid':_0x16daaf(0x1ad)}},'contextInfo':{'forwardingScore':0x3e7,'isForwarded':!![]},'sendEphemeral':!![]};xeonbody=_0x16daaf(0x1d8)+_0x5e69ac[_0x16daaf(0x1ac)]('@')[0x0]+_0x16daaf(0x144)+_0x48d51f['subject']+_0x16daaf(0x17b)+_0x14984d+_0x16daaf(0x136)+_0x166eb6+'\x20'+_0x10f78c+_0x16daaf(0x1be);let _0xc9b24=[{'buttonId':_0x16daaf(0x1bd),'buttonText':{'displayText':_0x16daaf(0x1e1)},'type':0x1}],_0x34f437={'document':fs[_0x16daaf(0x183)](_0x16daaf(0x1d7)),'mimetype':_0x2260dd,'jpegThumbnail':XeonWlcm,'mentions':[_0x2e9965],'fileName':''+_0x48d51f[_0x16daaf(0x1e6)],'fileLength':0x5af3107a3fff,'caption':xeonbody,'footer':''+botname,'buttons':_0xc9b24,'headerType':0x4,'contextInfo':{'externalAdReply':{'title':''+ownername,'body':'Don\x27t\x20forget\x20to\x20read\x20group\x20description','mediaType':0x2,'thumbnail':XeonWlcm,'sourceUrl':''+websitex,'mediaUrl':''+websitex}}};_0x5e346d['sendMessage'](_0x1ffc46['id'],_0x34f437,{'quoted':_0x42c86e});}else{if(_0x1ffc46[_0x16daaf(0x205)]==_0x16daaf(0x143)){const _0x5515d0=await getBuffer(ppuser),_0x55620f=moment['tz'](_0x16daaf(0x1d5))[_0x16daaf(0x1a9)](_0x16daaf(0x1b6)),_0x49497a=moment['tz'](_0x16daaf(0x1d5))['format']('DD/MM/YYYY');let _0x48fac0=_0x2e9965;const _0x1f60a9=_0x48d51f[_0x16daaf(0x210)][_0x16daaf(0x202)];let _0x31069f={'key':{'fromMe':![],'participant':_0x16daaf(0x1ad),'remoteJid':_0x16daaf(0x1b7)},'message':{'orderMessage':{'itemCount':0x98967f,'status':0xc8,'thumbnail':_0x5515d0,'surface':0xc8,'message':''+_0x48d51f[_0x16daaf(0x1e6)],'orderTitle':'xeon','sellerJid':_0x16daaf(0x1ad)}},'contextInfo':{'forwardingScore':0x3e7,'isForwarded':!![]},'sendEphemeral':!![]};xeonbody=_0x16daaf(0x1dd)+_0x48fac0['split']('@')[0x0]+_0x16daaf(0x1ef)+_0x48d51f[_0x16daaf(0x1e6)]+_0x16daaf(0x17b)+_0x1f60a9+_0x16daaf(0x197)+_0x55620f+'\x20'+_0x49497a+_0x16daaf(0x1be);let _0x5df8dd=[{'buttonId':_0x16daaf(0x1aa),'buttonText':{'displayText':_0x16daaf(0x1ed)},'type':0x1}],_0x372d10={'document':fs['readFileSync']('./HISL-BOT-MEDIA/image/hackers-in-sri-lanka.jpg'),'mimetype':_0x2260dd,'jpegThumbnail':XeonLft,'mentions':[_0x2e9965],'fileName':''+_0x48d51f[_0x16daaf(0x1e6)],'fileLength':0x5af3107a3fff,'caption':xeonbody,'footer':''+botname,'buttons':_0x5df8dd,'headerType':0x4,'contextInfo':{'externalAdReply':{'title':''+ownername,'body':_0x16daaf(0x1c7),'mediaType':0x2,'thumbnail':XeonLft,'sourceUrl':''+websitex,'mediaUrl':''+websitex}}};_0x5e346d[_0x16daaf(0x1b3)](_0x1ffc46['id'],_0x372d10,{'quoted':_0x31069f});}}}}catch(_0x2be8c9){console[_0x16daaf(0x206)](_0x2be8c9);}}),_0x5e346d[_0x29973d(0x1c3)]=_0x79dbaf=>{const _0x447f4f=_0x29973d;if(!_0x79dbaf)return _0x79dbaf;if(/:\d+@/gi[_0x447f4f(0x191)](_0x79dbaf)){let _0x212ef4=jidDecode(_0x79dbaf)||{};return _0x212ef4[_0x447f4f(0x146)]&&_0x212ef4[_0x447f4f(0x15f)]&&_0x212ef4['user']+'@'+_0x212ef4[_0x447f4f(0x15f)]||_0x79dbaf;}else return _0x79dbaf;},_0x5e346d['ev']['on'](_0x29973d(0x159),_0x505eea=>{const _0xc822e5=_0x29973d;for(let _0x20fb51 of _0x505eea){let _0x95ed7b=_0x5e346d['decodeJid'](_0x20fb51['id']);if(store&&store['contacts'])store['contacts'][_0x95ed7b]={'id':_0x95ed7b,'name':_0x20fb51[_0xc822e5(0x1d0)]};}}),_0x5e346d[_0x29973d(0x182)]=(_0x4e3704,_0x746c5a=![])=>{const _0x2b1589=_0x29973d;id=_0x5e346d['decodeJid'](_0x4e3704),_0x746c5a=_0x5e346d[_0x2b1589(0x135)]||_0x746c5a;let _0x2f123d;if(id[_0x2b1589(0x1e2)](_0x2b1589(0x195)))return new Promise(async _0x5be223=>{const _0x1535e5=_0x2b1589;_0x2f123d=store[_0x1535e5(0x16a)][id]||{};if(!(_0x2f123d[_0x1535e5(0x164)]||_0x2f123d[_0x1535e5(0x1e6)]))_0x2f123d=_0x5e346d['groupMetadata'](id)||{};_0x5be223(_0x2f123d['name']||_0x2f123d[_0x1535e5(0x1e6)]||PhoneNumber('+'+id['replace'](_0x1535e5(0x1b2),''))[_0x1535e5(0x156)](_0x1535e5(0x184)));});else _0x2f123d=id===_0x2b1589(0x1ad)?{'id':id,'name':'WhatsApp'}:id===_0x5e346d[_0x2b1589(0x1c3)](_0x5e346d[_0x2b1589(0x146)]['id'])?_0x5e346d[_0x2b1589(0x146)]:store['contacts'][id]||{};return(_0x746c5a?'':_0x2f123d[_0x2b1589(0x164)])||_0x2f123d[_0x2b1589(0x1e6)]||_0x2f123d[_0x2b1589(0x1a4)]||PhoneNumber('+'+_0x4e3704[_0x2b1589(0x20f)](_0x2b1589(0x1b2),''))['getNumber'](_0x2b1589(0x184));},_0x5e346d['sendContact']=async(_0x21a482,_0x1ea96f,_0x49e048='',_0x497ca3={})=>{const _0x4008b2=_0x29973d;let _0x41ff66=[];for(let _0x104587 of _0x1ea96f){_0x41ff66[_0x4008b2(0x20d)]({'displayName':await _0x5e346d[_0x4008b2(0x182)](_0x104587+_0x4008b2(0x1b2)),'vcard':_0x4008b2(0x20a)+await _0x5e346d['getName'](_0x104587+_0x4008b2(0x1b2))+_0x4008b2(0x1c0)+global['ownername']+'\x0aitem1.TEL;waid='+_0x104587+':'+_0x104587+_0x4008b2(0x198)+global[_0x4008b2(0x1f3)]+'\x0aitem2.X-ABLabel:YouTube\x0aitem3.URL:'+global[_0x4008b2(0x1af)]+'\x0aitem3.X-ABLabel:GitHub\x0aitem4.ADR:;;'+global[_0x4008b2(0x20e)]+_0x4008b2(0x17c)});}_0x5e346d['sendMessage'](_0x21a482,{'contacts':{'displayName':_0x41ff66[_0x4008b2(0x202)]+_0x4008b2(0x1eb),'contacts':_0x41ff66},..._0x497ca3},{'quoted':_0x49e048});},_0x5e346d[_0x29973d(0x1e4)]=_0x312708=>{const _0x14f651=_0x29973d;return _0x5e346d[_0x14f651(0x160)]({'tag':'iq','attrs':{'to':_0x14f651(0x1b2),'type':'set','xmlns':_0x14f651(0x187)},'content':[{'tag':_0x14f651(0x187),'attrs':{},'content':Buffer[_0x14f651(0x178)](_0x312708,_0x14f651(0x18a))}]}),_0x312708;},_0x5e346d[_0x29973d(0x151)]=!![],_0x5e346d['serializeM']=_0x27e2c4=>smsg(_0x5e346d,_0x27e2c4,store),_0x5e346d['ev']['on']('connection.update',async _0x4851f9=>{const _0x46fdd=_0x29973d,{connection:_0x5025eb,lastDisconnect:_0x4ccfe2}=_0x4851f9;if(_0x5025eb==='close'){let _0x5cd7e4=new Boom(_0x4ccfe2?.[_0x46fdd(0x1a2)])?.[_0x46fdd(0x19e)]['statusCode'];if(_0x5cd7e4===DisconnectReason['badSession'])console['log'](_0x46fdd(0x201)),_0x5e346d[_0x46fdd(0x18d)]();else{if(_0x5cd7e4===DisconnectReason['connectionClosed'])console[_0x46fdd(0x206)](_0x46fdd(0x185)),startHislBotInc();else{if(_0x5cd7e4===DisconnectReason[_0x46fdd(0x167)])console[_0x46fdd(0x206)](_0x46fdd(0x168)),startHislBotInc();else{if(_0x5cd7e4===DisconnectReason[_0x46fdd(0x141)])console[_0x46fdd(0x206)](_0x46fdd(0x19b)),_0x5e346d[_0x46fdd(0x18d)]();else{if(_0x5cd7e4===DisconnectReason['loggedOut'])console[_0x46fdd(0x206)](_0x46fdd(0x15e)),_0x5e346d[_0x46fdd(0x18d)]();else{if(_0x5cd7e4===DisconnectReason['restartRequired'])console[_0x46fdd(0x206)](_0x46fdd(0x154)),startHislBotInc();else{if(_0x5cd7e4===DisconnectReason[_0x46fdd(0x13b)])console[_0x46fdd(0x206)](_0x46fdd(0x1b0)),startHislBotInc();else _0x5e346d[_0x46fdd(0x1c8)](_0x46fdd(0x18b)+_0x5cd7e4+'|'+_0x5025eb);}}}}}}}console[_0x46fdd(0x206)](_0x46fdd(0x188),_0x4851f9);}),_0x5e346d['ev']['on'](_0x29973d(0x1ae),saveState),_0x5e346d[_0x29973d(0x1e7)]=async(_0x2c90d3,_0xe26eb1='',_0x21506a='',_0x5b0302,_0x280c1d=[],_0x34ff67={})=>{const _0x970218=_0x29973d;let _0x332a7c=await prepareWAMessageMedia({'image':_0x5b0302},{'upload':_0x5e346d['waUploadToServer']});var _0x12f8f0=generateWAMessageFromContent(m[_0x970218(0x166)],proto[_0x970218(0x1db)][_0x970218(0x152)]({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x332a7c[_0x970218(0x19c)],'hydratedContentText':_0xe26eb1,'hydratedFooterText':_0x21506a,'hydratedButtons':_0x280c1d}}}),_0x34ff67);_0x5e346d[_0x970218(0x1a7)](_0x2c90d3,_0x12f8f0[_0x970218(0x15d)],{'messageId':_0x12f8f0['key']['id']});},_0x5e346d['sendButtonText']=(_0x4ac20c,_0x2e35b8=[],_0x5b3bc2,_0x2fd7e5,_0x199b32='',_0x9dac84={})=>{let _0x12bbae={'text':_0x5b3bc2,'footer':_0x2fd7e5,'buttons':_0x2e35b8,'headerType':0x2,..._0x9dac84};_0x5e346d['sendMessage'](_0x4ac20c,_0x12bbae,{'quoted':_0x199b32,..._0x9dac84});},_0x5e346d[_0x29973d(0x19a)]=(_0x416e06,_0x409b43,_0x22fa4d='',_0x40c068)=>_0x5e346d[_0x29973d(0x1b3)](_0x416e06,{'text':_0x409b43,..._0x40c068},{'quoted':_0x22fa4d}),_0x5e346d[_0x29973d(0x1e9)]=async(_0x3151ee,_0x1b1195,_0x4d6887='',_0x25fcc8='',_0xfabbc7)=>{const _0x1a05a0=_0x29973d;let _0x359c37=Buffer['isBuffer'](_0x1b1195)?_0x1b1195:/^data:.*?\/.*?;base64,/i[_0x1a05a0(0x191)](_0x1b1195)?Buffer[_0x1a05a0(0x178)](_0x1b1195[_0x1a05a0(0x1ac)]`,`[0x1],_0x1a05a0(0x1bb)):/^https?:\/\//[_0x1a05a0(0x191)](_0x1b1195)?await await getBuffer(_0x1b1195):fs[_0x1a05a0(0x1e3)](_0x1b1195)?fs[_0x1a05a0(0x183)](_0x1b1195):Buffer[_0x1a05a0(0x18f)](0x0);return await _0x5e346d[_0x1a05a0(0x1b3)](_0x3151ee,{'image':_0x359c37,'caption':_0x4d6887,..._0xfabbc7},{'quoted':_0x25fcc8});},_0x5e346d['sendVideo']=async(_0x575eea,_0x2899e5,_0x3640ea='',_0x34a59e='',_0x395e3b=![],_0x1d772a)=>{const _0x419fd2=_0x29973d;let _0x38cf91=Buffer[_0x419fd2(0x1a0)](_0x2899e5)?_0x2899e5:/^data:.*?\/.*?;base64,/i['test'](_0x2899e5)?Buffer['from'](_0x2899e5[_0x419fd2(0x1ac)]`,`[0x1],'base64'):/^https?:\/\//[_0x419fd2(0x191)](_0x2899e5)?await await getBuffer(_0x2899e5):fs['existsSync'](_0x2899e5)?fs['readFileSync'](_0x2899e5):Buffer[_0x419fd2(0x18f)](0x0);return await _0x5e346d[_0x419fd2(0x1b3)](_0x575eea,{'video':_0x38cf91,'caption':_0x3640ea,'gifPlayback':_0x395e3b,..._0x1d772a},{'quoted':_0x34a59e});},_0x5e346d[_0x29973d(0x1ab)]=async(_0x34da14,_0x11c927,_0x389f45='',_0x2e42bb=![],_0x4b2f01)=>{const _0x27afc2=_0x29973d;let _0x45241c=Buffer[_0x27afc2(0x1a0)](_0x11c927)?_0x11c927:/^data:.*?\/.*?;base64,/i[_0x27afc2(0x191)](_0x11c927)?Buffer[_0x27afc2(0x178)](_0x11c927[_0x27afc2(0x1ac)]`,`[0x1],'base64'):/^https?:\/\//['test'](_0x11c927)?await await getBuffer(_0x11c927):fs['existsSync'](_0x11c927)?fs[_0x27afc2(0x183)](_0x11c927):Buffer[_0x27afc2(0x18f)](0x0);return await _0x5e346d['sendMessage'](_0x34da14,{'audio':_0x45241c,'ptt':_0x2e42bb,..._0x4b2f01},{'quoted':_0x389f45});},_0x5e346d[_0x29973d(0x17f)]=async(_0x56a2bf,_0x47c758,_0x387618,_0x595835={})=>_0x5e346d[_0x29973d(0x1b3)](_0x56a2bf,{'text':_0x47c758,'contextInfo':{'mentionedJid':[..._0x47c758[_0x29973d(0x163)](/@(\d{0,16})/g)][_0x29973d(0x1ee)](_0x1de754=>_0x1de754[0x1]+_0x29973d(0x1b2))},..._0x595835},{'quoted':_0x387618}),_0x5e346d[_0x29973d(0x1e0)]=async(_0x2edf9f,_0x249ff0,_0x45d3e3,_0xeca452={})=>{const _0x3dd0d5=_0x29973d;let _0xdf243f=Buffer[_0x3dd0d5(0x1a0)](_0x249ff0)?_0x249ff0:/^data:.*?\/.*?;base64,/i[_0x3dd0d5(0x191)](_0x249ff0)?Buffer[_0x3dd0d5(0x178)](_0x249ff0[_0x3dd0d5(0x1ac)]`,`[0x1],_0x3dd0d5(0x1bb)):/^https?:\/\//[_0x3dd0d5(0x191)](_0x249ff0)?await await getBuffer(_0x249ff0):fs[_0x3dd0d5(0x1e3)](_0x249ff0)?fs[_0x3dd0d5(0x183)](_0x249ff0):Buffer[_0x3dd0d5(0x18f)](0x0),_0x454842;return _0xeca452&&(_0xeca452[_0x3dd0d5(0x1e8)]||_0xeca452[_0x3dd0d5(0x1cf)])?_0x454842=await writeExifImg(_0xdf243f,_0xeca452):_0x454842=await imageToWebp(_0xdf243f),await _0x5e346d[_0x3dd0d5(0x1b3)](_0x2edf9f,{'sticker':{'url':_0x454842},..._0xeca452},{'quoted':_0x45d3e3}),_0x454842;},_0x5e346d[_0x29973d(0x14b)]=async(_0x575e62,_0x5608c8,_0x3f9326,_0x67d8e3={})=>{const _0x5d37fd=_0x29973d;let _0x3e824b=Buffer[_0x5d37fd(0x1a0)](_0x5608c8)?_0x5608c8:/^data:.*?\/.*?;base64,/i[_0x5d37fd(0x191)](_0x5608c8)?Buffer[_0x5d37fd(0x178)](_0x5608c8[_0x5d37fd(0x1ac)]`,`[0x1],_0x5d37fd(0x1bb)):/^https?:\/\//[_0x5d37fd(0x191)](_0x5608c8)?await await getBuffer(_0x5608c8):fs[_0x5d37fd(0x1e3)](_0x5608c8)?fs[_0x5d37fd(0x183)](_0x5608c8):Buffer[_0x5d37fd(0x18f)](0x0),_0x2aeb5f;return _0x67d8e3&&(_0x67d8e3['packname']||_0x67d8e3[_0x5d37fd(0x1cf)])?_0x2aeb5f=await writeExifVid(_0x3e824b,_0x67d8e3):_0x2aeb5f=await videoToWebp(_0x3e824b),await _0x5e346d[_0x5d37fd(0x1b3)](_0x575e62,{'sticker':{'url':_0x2aeb5f},..._0x67d8e3},{'quoted':_0x3f9326}),_0x2aeb5f;},_0x5e346d[_0x29973d(0x1b4)]=async(_0xeee277,_0x111cc7,_0x507254=!![])=>{const _0x21c7c9=_0x29973d;let _0x17fed8=_0xeee277[_0x21c7c9(0x20c)]?_0xeee277['msg']:_0xeee277,_0x4d93c0=(_0xeee277[_0x21c7c9(0x20c)]||_0xeee277)['mimetype']||'',_0x100f5f=_0xeee277[_0x21c7c9(0x142)]?_0xeee277[_0x21c7c9(0x142)]['replace'](/Message/gi,''):_0x4d93c0['split']('/')[0x0];const _0x3d2a25=await downloadContentFromMessage(_0x17fed8,_0x100f5f);let _0x322241=Buffer[_0x21c7c9(0x178)]([]);for await(const _0x3d0bf4 of _0x3d2a25){_0x322241=Buffer[_0x21c7c9(0x1da)]([_0x322241,_0x3d0bf4]);}let _0x482ff8=await FileType[_0x21c7c9(0x175)](_0x322241);return trueFileName=_0x507254?_0x111cc7+'.'+_0x482ff8[_0x21c7c9(0x15a)]:_0x111cc7,await fs[_0x21c7c9(0x16f)](trueFileName,_0x322241),trueFileName;},_0x5e346d[_0x29973d(0x16e)]=async _0x2c495a=>{const _0x4078d6=_0x29973d;let _0x2ff7e7=(_0x2c495a[_0x4078d6(0x20c)]||_0x2c495a)[_0x4078d6(0x153)]||'',_0x21bcd0=_0x2c495a[_0x4078d6(0x142)]?_0x2c495a[_0x4078d6(0x142)][_0x4078d6(0x20f)](/Message/gi,''):_0x2ff7e7[_0x4078d6(0x1ac)]('/')[0x0];const _0x3383a2=await downloadContentFromMessage(_0x2c495a,_0x21bcd0);let _0x150745=Buffer['from']([]);for await(const _0xea7997 of _0x3383a2){_0x150745=Buffer[_0x4078d6(0x1da)]([_0x150745,_0xea7997]);}return _0x150745;},_0x5e346d[_0x29973d(0x16c)]=async(_0x45ff89,_0x42c631,_0x340864='',_0x385795='',_0xea2002='',_0x210beb={})=>{const _0x5d7444=_0x29973d;let _0x52a8ed=await _0x5e346d[_0x5d7444(0x1fd)](_0x42c631,!![]),{mime:_0xa2ced0,ext:_0xa64616,res:_0x3cfbe0,data:_0x377318,filename:_0x5a30c4}=_0x52a8ed;if(_0x3cfbe0&&_0x3cfbe0[_0x5d7444(0x187)]!==0xc8||file['length']<=0x10000)try{throw{'json':JSON[_0x5d7444(0x173)](file[_0x5d7444(0x1ec)]())};}catch(_0x4803e8){if(_0x4803e8[_0x5d7444(0x14e)])throw _0x4803e8[_0x5d7444(0x14e)];}let _0x39e5ce='',_0x5af48c=_0xa2ced0,_0x3b1749=_0x5a30c4;if(_0x210beb[_0x5d7444(0x1f9)])_0x39e5ce=_0x5d7444(0x20b);if(_0x210beb['asSticker']||/webp/[_0x5d7444(0x191)](_0xa2ced0)){let {writeExif:_0x5bdcc5}=require(_0x5d7444(0x193)),_0x190c1a={'mimetype':_0xa2ced0,'data':_0x377318};_0x3b1749=await _0x5bdcc5(_0x190c1a,{'packname':_0x210beb[_0x5d7444(0x1e8)]?_0x210beb['packname']:global[_0x5d7444(0x1e8)],'author':_0x210beb[_0x5d7444(0x1cf)]?_0x210beb['author']:global[_0x5d7444(0x1cf)],'categories':_0x210beb[_0x5d7444(0x13f)]?_0x210beb[_0x5d7444(0x13f)]:[]}),await fs[_0x5d7444(0x15c)]['unlink'](_0x5a30c4),_0x39e5ce=_0x5d7444(0x1d4),_0x5af48c=_0x5d7444(0x208);}else{if(/image/[_0x5d7444(0x191)](_0xa2ced0))_0x39e5ce=_0x5d7444(0x14f);else{if(/video/[_0x5d7444(0x191)](_0xa2ced0))_0x39e5ce=_0x5d7444(0x1b8);else{if(/audio/[_0x5d7444(0x191)](_0xa2ced0))_0x39e5ce=_0x5d7444(0x17d);else _0x39e5ce=_0x5d7444(0x20b);}}}return await _0x5e346d['sendMessage'](_0x45ff89,{[_0x39e5ce]:{'url':_0x3b1749},'caption':_0x385795,'mimetype':_0x5af48c,'fileName':_0x340864,..._0x210beb},{'quoted':_0xea2002,..._0x210beb}),fs['promises'][_0x5d7444(0x194)](_0x3b1749);},_0x5e346d[_0x29973d(0x162)]=async(_0x15ab60,_0x445b7c,_0x338414=![],_0x24d8c4={})=>{const _0x4a6414=_0x29973d;let _0x583a4a;_0x24d8c4[_0x4a6414(0x1cb)]&&(_0x445b7c[_0x4a6414(0x15d)]=_0x445b7c['message']&&_0x445b7c[_0x4a6414(0x15d)][_0x4a6414(0x180)]&&_0x445b7c[_0x4a6414(0x15d)][_0x4a6414(0x180)][_0x4a6414(0x15d)]?_0x445b7c[_0x4a6414(0x15d)][_0x4a6414(0x180)][_0x4a6414(0x15d)]:_0x445b7c['message']||undefined,_0x583a4a=Object[_0x4a6414(0x1ff)](_0x445b7c[_0x4a6414(0x15d)][_0x4a6414(0x1d2)][_0x4a6414(0x15d)])[0x0],delete(_0x445b7c[_0x4a6414(0x15d)]&&_0x445b7c['message'][_0x4a6414(0x1d9)]?_0x445b7c['message'][_0x4a6414(0x1d9)]:_0x445b7c[_0x4a6414(0x15d)]||undefined),delete _0x445b7c[_0x4a6414(0x15d)]['viewOnceMessage'][_0x4a6414(0x15d)][_0x583a4a][_0x4a6414(0x192)],_0x445b7c[_0x4a6414(0x15d)]={..._0x445b7c[_0x4a6414(0x15d)]['viewOnceMessage'][_0x4a6414(0x15d)]});let _0x28a901=Object[_0x4a6414(0x1ff)](_0x445b7c[_0x4a6414(0x15d)])[0x0],_0x455b78=await generateForwardMessageContent(_0x445b7c,_0x338414),_0x574464=Object[_0x4a6414(0x1ff)](_0x455b78)[0x0],_0x519a4b={};if(_0x28a901!='conversation')_0x519a4b=_0x445b7c[_0x4a6414(0x15d)][_0x28a901][_0x4a6414(0x1ba)];_0x455b78[_0x574464][_0x4a6414(0x1ba)]={..._0x519a4b,..._0x455b78[_0x574464][_0x4a6414(0x1ba)]};const _0x22eab0=await generateWAMessageFromContent(_0x15ab60,_0x455b78,_0x24d8c4?{..._0x455b78[_0x574464],..._0x24d8c4,..._0x24d8c4[_0x4a6414(0x1ba)]?{'contextInfo':{..._0x455b78[_0x574464][_0x4a6414(0x1ba)],..._0x24d8c4[_0x4a6414(0x1ba)]}}:{}}:{});return await _0x5e346d['relayMessage'](_0x15ab60,_0x22eab0[_0x4a6414(0x15d)],{'messageId':_0x22eab0[_0x4a6414(0x15b)]['id']}),_0x22eab0;},_0x5e346d[_0x29973d(0x1bf)]=(_0x190ab8,_0x233a98,_0x31e378='',_0xbb23f7=_0x5e346d[_0x29973d(0x146)]['id'],_0x1aabf7={})=>{const _0x378c79=_0x29973d;let _0x3cdf88=Object[_0x378c79(0x1ff)](_0x233a98['message'])[0x0],_0x363866=_0x3cdf88==='ephemeralMessage';_0x363866&&(_0x3cdf88=Object[_0x378c79(0x1ff)](_0x233a98[_0x378c79(0x15d)][_0x378c79(0x180)]['message'])[0x0]);let _0x4c6cdc=_0x363866?_0x233a98['message'][_0x378c79(0x180)]['message']:_0x233a98[_0x378c79(0x15d)],_0x2c80b9=_0x4c6cdc[_0x3cdf88];if(typeof _0x2c80b9===_0x378c79(0x1a5))_0x4c6cdc[_0x3cdf88]=_0x31e378||_0x2c80b9;else{if(_0x2c80b9[_0x378c79(0x14c)])_0x2c80b9['caption']=_0x31e378||_0x2c80b9['caption'];else{if(_0x2c80b9[_0x378c79(0x211)])_0x2c80b9[_0x378c79(0x211)]=_0x31e378||_0x2c80b9['text'];}}if(typeof _0x2c80b9!==_0x378c79(0x1a5))_0x4c6cdc[_0x3cdf88]={..._0x2c80b9,..._0x1aabf7};if(_0x233a98[_0x378c79(0x15b)][_0x378c79(0x171)])_0xbb23f7=_0x233a98[_0x378c79(0x15b)]['participant']=_0xbb23f7||_0x233a98[_0x378c79(0x15b)][_0x378c79(0x171)];else{if(_0x233a98[_0x378c79(0x15b)]['participant'])_0xbb23f7=_0x233a98[_0x378c79(0x15b)]['participant']=_0xbb23f7||_0x233a98['key'][_0x378c79(0x171)];}if(_0x233a98['key'][_0x378c79(0x140)][_0x378c79(0x16d)]('@s.whatsapp.net'))_0xbb23f7=_0xbb23f7||_0x233a98[_0x378c79(0x15b)][_0x378c79(0x140)];else{if(_0x233a98[_0x378c79(0x15b)][_0x378c79(0x140)]['includes'](_0x378c79(0x190)))_0xbb23f7=_0xbb23f7||_0x233a98[_0x378c79(0x15b)][_0x378c79(0x140)];}return _0x233a98[_0x378c79(0x15b)][_0x378c79(0x140)]=_0x190ab8,_0x233a98[_0x378c79(0x15b)]['fromMe']=_0xbb23f7===_0x5e346d[_0x378c79(0x146)]['id'],proto['WebMessageInfo'][_0x378c79(0x152)](_0x233a98);},_0x5e346d[_0x29973d(0x1e7)]=async(_0xd7395f,_0x19e237='',_0x618dde='',_0x3d2d8d,_0x198b82=[],_0x490588,_0x5d464d={})=>{const _0x213992=_0x29973d;let _0x3e28d6=await prepareWAMessageMedia({'image':_0x3d2d8d,'jpegThumbnail':_0x490588},{'upload':_0x5e346d[_0x213992(0x13d)]});var _0x777c70=generateWAMessageFromContent(m[_0x213992(0x166)],proto['Message']['fromObject']({'templateMessage':{'hydratedTemplate':{'imageMessage':_0x3e28d6[_0x213992(0x19c)],'hydratedContentText':_0x19e237,'hydratedFooterText':_0x618dde,'hydratedButtons':_0x198b82}}}),_0x5d464d);_0x5e346d['relayMessage'](_0xd7395f,_0x777c70[_0x213992(0x15d)],{'messageId':_0x777c70['key']['id']});},_0x5e346d['send5ButVid']=async(_0x16bb33,_0x445bbe='',_0x54adaf='',_0xc54035,_0x500803=[],_0x38894e={})=>{const _0x840ad6=_0x29973d;let _0x558fd8=await prepareWAMessageMedia({'video':_0xc54035},{'upload':_0x5e346d[_0x840ad6(0x13d)]});var _0x5375b1=generateWAMessageFromContent(_0x16bb33,proto[_0x840ad6(0x1db)][_0x840ad6(0x152)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x558fd8['videoMessage'],'hydratedContentText':_0x445bbe,'hydratedFooterText':_0x54adaf,'hydratedButtons':_0x500803}}}),_0x38894e);_0x5e346d[_0x840ad6(0x1a7)](_0x16bb33,_0x5375b1[_0x840ad6(0x15d)],{'messageId':_0x5375b1[_0x840ad6(0x15b)]['id']});},_0x5e346d[_0x29973d(0x147)]=(_0x5e4f02,_0x3e7bd2='',_0x14ec18='',_0x5995c9=[])=>{const _0x58fd44=_0x29973d;let _0x15366c=_0x5995c9;var _0x47c63d={'text':_0x3e7bd2,'footer':_0x14ec18,'templateButtons':_0x15366c};_0x5e346d[_0x58fd44(0x1b3)](_0x5e4f02,_0x47c63d);},_0x5e346d[_0x29973d(0x1dc)]=(_0x1f9988,_0x3a4b15='',_0x5596e0='',_0x3b4d38='',_0x5a2077='',_0x2955e6=[],_0x4149bb)=>{const _0x345575=_0x29973d;let _0x32a842=_0x2955e6;var _0x1a0193={'text':_0x3a4b15,'footer':_0x5596e0,'title':_0x3b4d38,'buttonText':_0x5a2077,'sections':_0x32a842};_0x5e346d[_0x345575(0x1b3)](_0x1f9988,_0x1a0193,{'quoted':_0x4149bb});},_0x5e346d[_0x29973d(0x1d6)]=async(_0x2dbcd2,_0x3730ed='',_0xc40559='',_0x94d84a,_0x3ce3b2=[],_0x512d43={})=>{const _0x5cead9=_0x29973d;let _0x4a430e=await prepareWAMessageMedia({'video':_0x94d84a,'gifPlayback':!![]},{'upload':_0x5e346d[_0x5cead9(0x13d)]});var _0x1f172e=generateWAMessageFromContent(_0x2dbcd2,proto[_0x5cead9(0x1db)][_0x5cead9(0x152)]({'templateMessage':{'hydratedTemplate':{'videoMessage':_0x4a430e[_0x5cead9(0x1d1)],'hydratedContentText':_0x3730ed,'hydratedFooterText':_0xc40559,'hydratedButtons':_0x3ce3b2}}}),_0x512d43);_0x5e346d[_0x5cead9(0x1a7)](_0x2dbcd2,_0x1f172e[_0x5cead9(0x15d)],{'messageId':_0x1f172e[_0x5cead9(0x15b)]['id']});},_0x5e346d[_0x29973d(0x1fd)]=async(_0x4b43a6,_0x122a55)=>{const _0x541a2f=_0x29973d;let _0x1eb526,_0x507da2=Buffer['isBuffer'](_0x4b43a6)?_0x4b43a6:/^data:.*?\/.*?;base64,/i[_0x541a2f(0x191)](_0x4b43a6)?Buffer[_0x541a2f(0x178)](_0x4b43a6[_0x541a2f(0x1ac)]`,`[0x1],'base64'):/^https?:\/\//[_0x541a2f(0x191)](_0x4b43a6)?await(_0x1eb526=await getBuffer(_0x4b43a6)):fs[_0x541a2f(0x1e3)](_0x4b43a6)?(filename=_0x4b43a6,fs[_0x541a2f(0x183)](_0x4b43a6)):typeof _0x4b43a6===_0x541a2f(0x1a5)?_0x4b43a6:Buffer[_0x541a2f(0x18f)](0x0),_0x4ed31d=await FileType[_0x541a2f(0x175)](_0x507da2)||{'mime':_0x541a2f(0x1f5),'ext':_0x541a2f(0x1c1)};filename=path[_0x541a2f(0x18e)](__filename,_0x541a2f(0x1b5)+new Date()*0x1+'.'+_0x4ed31d[_0x541a2f(0x15a)]);if(_0x507da2&&_0x122a55)fs[_0x541a2f(0x15c)][_0x541a2f(0x1f0)](filename,_0x507da2);return{'res':_0x1eb526,'filename':filename,'size':await getSizeMedia(_0x507da2),..._0x4ed31d,'data':_0x507da2};},_0x5e346d;}startHislBotInc();let file=require[_0x327d82(0x179)](__filename);fs[_0x327d82(0x148)](file,()=>{const _0x1aeb1e=_0x327d82;fs['unwatchFile'](file),console['log'](chalk[_0x1aeb1e(0x1a1)](_0x1aeb1e(0x137)+__filename)),delete require[_0x1aeb1e(0x17a)][file],require(file);});