forked from HACKING995/HACKING--MD9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweb.js
1 lines (1 loc) · 47.6 KB
/
web.js
1
const a66_0x531ef9=a66_0x36c1;(function(_0x49dc60,_0x425d9c){const _0x4bf29c=a66_0x36c1,_0x438527=_0x49dc60();while(!![]){try{const _0x187e72=-parseInt(_0x4bf29c(0x143))/0x1*(-parseInt(_0x4bf29c(0x134))/0x2)+parseInt(_0x4bf29c(0x203))/0x3+parseInt(_0x4bf29c(0x170))/0x4*(-parseInt(_0x4bf29c(0x1d5))/0x5)+-parseInt(_0x4bf29c(0x17b))/0x6*(-parseInt(_0x4bf29c(0x181))/0x7)+-parseInt(_0x4bf29c(0x141))/0x8*(parseInt(_0x4bf29c(0x190))/0x9)+-parseInt(_0x4bf29c(0x1ad))/0xa+parseInt(_0x4bf29c(0x225))/0xb;if(_0x187e72===_0x425d9c)break;else _0x438527['push'](_0x438527['shift']());}catch(_0x465710){_0x438527['push'](_0x438527['shift']());}}}(a66_0x26d9,0xa9d90));const {makeWASocket,fetchLatestBaileysVersion,useMultiFileAuthState,makeCacheableSignalKeyStore,DisconnectReason,makeInMemoryStore,getContentType,jidDecode,delay,downloadMediaMessage,downloadContentFromMessage}=require(a66_0x531ef9(0x125)),{Boom}=require(a66_0x531ef9(0x1bd)),{default:pino}=require(a66_0x531ef9(0x1cb)),conf=require(a66_0x531ef9(0x10a)),fs=require('fs-extra');let evt=require(a66_0x531ef9(0x199));const {reagir}=require(a66_0x531ef9(0x1e1));let path=require(a66_0x531ef9(0x1d2));function a66_0x26d9(){const _0xea75f=['group_id','no\x20url','groupSettingUpdate','caption','contacts','\x20installé\x20✔️','retirer','error','onlyadmin','bot\x20detecté;\x0a\x20passez\x20encore\x20','bangroup','log','./set','║\x20@','===========\x20Nouveau\x20message\x20===========','MODE','store','writeToFile','node-cache','node-cron','file-type','singleSelectReply','test','get','./cache','chargement\x20des\x20commandes\x20terminé\x20✅','keys','2250705607226','WARN_COUNT','Bot\x20message','bot\x20détecté,\x20\x0a','group\x20on\x20only\x20admin','antiien\x20','connexion\x20depuis\x20la\x20variable\x20session_id','antipromote','extendedTextMessage','includes','creds.update','etat','@whiskeysockets/baileys','Lien\x20detecté\x20;\x20vous\x20avez\x20atteint\x20le\x20nombre\x20maximal\x20d\x27avertissement\x20par\x20consequant\x20vous\x20serrez\x20retiré\x20du\x20groupe','remove','fetching\x20from\x20cache','videoMessage','antibot\x20','statusCode','public','./bdd/level','slice','writeFileSync','Africa/Abidjan','Erreur\x20lors\x20de\x20la\x20traduction\x20en\x20français\x20:','audioMessage','bot\x20message','12hMrXwx','PM_PERMIT\x20ACTIVER','sendPresenceUpdate','2250705607226','Je\x20ne\x20reagis\x20pas\x20au\x20reactions','toLocaleLowerCase','quotedMessage','cnt','\x20a\x20ete\x20retirer\x20pour\x20spam','round','\x20ont\x20été\x20demis\x20des\x20droits\x20d\x27aministration','promote','now','16KCNciR','./bdd/antibot','225885nUTxpz','unlink','unmute_at','Un\x20ou\x20des\x20membres\x20vient(nent)\x20de\x20quitter\x20le\x20groupe;\x0a','image','\x20]\x0a║\x20\x20\x20\x20Mode\x20:','BAE5','fonction','composing','lien','schedule','mtype','listResponseMessage','#000000','utf8','fromMe','\x20:\x20','PORT','loadMessage','getTtl','oui','./bdd/welcome','admin','NUMERO_OWNER','ANTI_VV','nomCom','😡😡\x20','sender','add','message','./media/chrono.jpg','\x20secondes\x20pour\x20reutiliser\x20a\x20nouveau','owner','notify','user','function','URL','\x20H\x20','/auth/creds.json','ChatJid\x20must\x20be\x20a\x20string','reactionMessage','filter','restartRequired','Afk\x20desactiver!','set','2078036Pznmbv','imageMessage','LECTURE_AUTO_STATUS','store.json','readFileSync','push','Zoou-Md','2250507646665','output','sticker','close','516NtGInp','Group\x20Bannis','participant','https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif','readMessages','endsWith','8575FBNvwM','./bdd/stickcmd','Lien\x20envoyez\x20par\x20un\x20Superuser','inStickCmd','zokk','mimetype','readdirSync','replace','off','Je\x20suis\x20mentionner','selectedRowId','toBuffer','assign','startsWith','groupParticipantsUpdate','3470490CIvawx','silent','key','mediaKey','send','groupMetadata','viewOnceMessageV2','message\x20from\x20me','group.update','./framework/zokou','open','║\x0a╚════◇◇◇═════╝\x0a◇\x20*Description*\x20\x20\x20◇\x0a\x0a','\x20a\x20enfreinst\x20la\x20règle\x20de\x20l\x27antipromote\x20par\x20consequent\x20lui\x20et\x20@','\x20*\x20*\x20*','then','[email protected]','audio/mp4','connecting','message\x20envoyé\x20par\x20:\x20','vous\x20êtes\x20déconnecté,,,\x20veuillez\x20rescanner\x20le\x20code\x20qr\x20svp','connectionReplaced','Lien\x20detecté\x20;\x0a\x20La\x20prochaine\x20fois\x20sera\x20la\x20bonne','12345','changeAfkState','warn','remoteJid','connectionLost','2250705607226','recupererToutesLesValeurs','11918390IMAxkY','@g.us','╔════◇◇◇═════╗\x0a║\x20Souhaitons\x20la\x20bienvenue\x20au(x)\x20nouveau(x)\x20membre(s)\x0a║\x20*Nouveau(x)\x20Membre(s)\x20:*\x0a','PM_PERMIT','forEach','./bdd/mention','sudo','./bdd/afk','reaction','downloadAndSaveMediaMessage','viewOnceMessageV2Extension','.js','find','etablissement\x20d\x27un\x20autounmute\x20pour\x20','\x09\x20[][]...{Hacking-Md}...[][]','floor','@hapi/boom','\x20veillez\x20eviter\x20d\x27envoyer\x20des\x20lien.','jidDecode','contextInfo','lien\x20detecté','string','BAES','server','getCmdById','stickerMessage','conversation','Options\x20must\x20be\x20an\x20object','text','./bdd/warn','pino','indéfini','catch','Session\x20Invalide\x20','pushName','delay','length','path','buttonsResponseMessage','type','5PkPekn','child_process','viewOnceMessage','mute_at','type\x20de\x20message\x20:\x20','\x20avertissement(s)\x20et\x20vous\x20serrez\x20viré\x20du\x20groupe','map','sendMessage','Vous\x20n\x27avez\x20plus\x20acces\x20au\x20commandes\x20du\x20bots','Envoyez\x20*noafk*\x20si\x20vous\x20voulez\x20desactiver\x20l\x27afk','messages.upsert','refused','./framework/app','FULL','https://telegra.ph/file/4cc2712eee93c105f6739.jpg','http://api.brainshop.ai/get?bid=177607&key=NwzhALqeO1kubFVD&uid=[uid]&msg=','selectedButtonId','Tic\x20Tac,\x20les\x20discussions\x20passionnantes\x20touchent\x20à\x20leur\x20fin.\x20Nous\x20vous\x20remercions\x20pour\x20votre\x20participation\x20active\x20;\x20maintenant,\x20c\x27est\x20l\x27heure\x20de\x20fermer\x20le\x20groupe\x20pour\x20aujourd\x27hui.','J\x27ai\x20besoin\x20des\x20droits\x20d\x27administrations\x20pour\x20agire','\x20a\x20','/commandes/','./bdd/antispam','./bdd/sudo','awaitForMessage','chatJid','msg','Cas\x20de\x20superUser\x20je\x20fais\x20rien','./auth','\x20n\x27a\x20pas\x20pu\x20être\x20chargé\x20pour\x20les\x20raisons\x20suivantes\x20:\x20','connexion\x20réplacée\x20,,,\x20une\x20session\x20est\x20déjà\x20ouverte\x20veuillez\x20la\x20fermer\x20svp\x20!!!','messageContextInfo','1.0.0','Sender\x20must\x20be\x20a\x20string','timeout','\x20rétiré\x20du\x20groupe.','toFile','Filter\x20must\x20be\x20a\x20function','express','✅\x20connexion\x20reussie!\x20☺️','wa-sticker-formatter','from','mentionedJid','available','lien\x20détecté,\x20\x0a','mention\x20pas\x20actifs','------\x20contenu\x20du\x20message\x20------','748146jsSmsg','audio','extname','st1.webp','pm2\x20restart\x20all','creds','connexion\x20au\x20serveur\x20perdue\x20😞\x20,,,\x20reconnexion\x20en\x20cours\x20...\x20','readFromFile','listen\x20on\x20:\x20','trim','message\x20supprimé\x20\x0a\x20@','participants','connection.update','bot\x20detecté;\x0a\x20La\x20prochaine\x20sera\x20la\x20bonne','split','demote','NOM_OWNER','contacts.upsert','La\x20session\x20id\x20est\x20erronee,\x20\x20veillez\x20la\x20remplacer','author','shift','ext','antidemote','documentMessage','status@broadcast','recording','./framework/traduction','badSession','-------------en\x20cours----------------','safari','CHATBOT','etablissement\x20d\x27un\x20automute\x20pour\x20','\x0a║\x20\x20\x20\x20Nombre\x20total\x20de\x20Commandes\x20:\x20','<!DOCTYPE\x20html>\x0a<html\x20lang=\x22en\x22>\x0a<head>\x0a\x20\x20\x20\x20<meta\x20charset=\x22UTF-8\x22>\x0a\x20\x20\x20\x20<meta\x20name=\x22viewport\x22\x20content=\x22width=device-width,\x20initial-scale=1.0\x22>\x0a\x20\x20\x20\x20<title>Thanks\x20for\x20using\x20Zokou</title>\x0a\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Styles\x20pour\x20centrer\x20le\x20texte\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100vh;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#f0f0f0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2020px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#fff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x208px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x200\x200\x2010px\x20rgba(0,0,0,0.1);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20</style>\x0a</head>\x0a<body>\x0a\x20\x20\x20\x20<div\x20class=\x22content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<h1>Merci\x20d\x27avoir\x20chosis\x20zokou</h1>\x0a\x20\x20\x20\x20</div>\x0a</body>\x0a</html>\x0a','16150442KKWsTa','TELECHARGER_AUTO_STATUS','noafk','./bdd/onlyAdmin','fetching\x20from\x20database','has','message\x20provenant\x20du\x20groupe\x20:\x20','C\x27est\x20l\x27heure\x20d\x27ouvrir\x20les\x20portes\x20de\x20notre\x20\x20groupe\x20!\x20Bienvenue\x20à\x20tous\x20dans\x20cette\x20communauté\x20passionnante\x20où\x20nous\x20partageons\x20et\x20apprenons\x20ensemble.','3EB0','fromBuffer','url','action','Raison\x20de\x20deconnection\x20inattendue\x20;\x20redemarrage\x20du\x20server','/commandes','\x20veillez\x20eviter\x20d\x27utiliser\x20des\x20bots.','toLowerCase','@s.whatsapp.net','supp','non','listen','antispam','ANTI_CMD_SPAM'];a66_0x26d9=function(){return _0xea75f;};return a66_0x26d9();}const FileType=require(a66_0x531ef9(0x112)),{Sticker,StickerTypes}=require(a66_0x531ef9(0x1fc));var session=conf['session'][a66_0x531ef9(0x188)](/HACKING-MD';;;=>/g,'');const NodeCache=require(a66_0x531ef9(0x110)),prefixe=conf['PREFIXE'],{verifierEtatJid,recupererActionJid}=require('./bdd/antilien'),{atbverifierEtatJid,atbrecupererActionJid}=require(a66_0x531ef9(0x142)),{isUserBanned,addUserToBanList,removeUserFromBanList}=require('./bdd/banUser'),{addGroupToBanList,isGroupBanned,removeGroupFromBanList}=require('./bdd/banGroup'),{isGroupOnlyAdmin,addGroupToOnlyAdminList,removeGroupFromOnlyAdminList}=require(a66_0x531ef9(0x228)),{recupevents}=require(a66_0x531ef9(0x158)),{isGroupspam}=require(a66_0x531ef9(0x1ea)),{dbCache}=require(a66_0x531ef9(0x116));async function authentification(){const _0xe6a79e=a66_0x531ef9;try{if(!fs['existsSync'](__dirname+'/auth/creds.json'))console[_0xe6a79e(0x109)](_0xe6a79e(0x11f)),await fs['writeFileSync'](__dirname+_0xe6a79e(0x169),atob(session),_0xe6a79e(0x151));else fs['existsSync'](__dirname+_0xe6a79e(0x169))&&session!=_0xe6a79e(0x185)&&(console[_0xe6a79e(0x109)](_0xe6a79e(0x21f)),await fs[_0xe6a79e(0x12f)](__dirname+_0xe6a79e(0x169),atob(session),'utf8'));}catch(_0x9c9523){console['log'](_0xe6a79e(0x1ce)+_0x9c9523);return;}}authentification();const logger=pino({'level':a66_0x531ef9(0x191)}),msgCache=new NodeCache({'stdTTL':0x14,'checkperiod':0x78}),groupMetadataCache=new NodeCache({'stdTTL':0x1770,'checkperiod':0x1388}),CmdColdCache=new NodeCache({'stdTTL':0x3c,'checkperiod':0x3c}),store=makeInMemoryStore({'logger':pino()['child']({'level':a66_0x531ef9(0x191),'stream':a66_0x531ef9(0x10e)})});function a66_0x36c1(_0x1c768e,_0x3c2fef){const _0x26d978=a66_0x26d9();return a66_0x36c1=function(_0x36c1a0,_0x5bc8a0){_0x36c1a0=_0x36c1a0-0xf5;let _0x47eea6=_0x26d978[_0x36c1a0];return _0x47eea6;},a66_0x36c1(_0x1c768e,_0x3c2fef);}store[a66_0x531ef9(0x20a)](a66_0x531ef9(0x173)),setInterval(()=>{const _0x13c07=a66_0x531ef9;store[_0x13c07(0x10f)](_0x13c07(0x173));},0x2710);async function connectToWhatsapp(){const _0x477701=a66_0x531ef9,{saveCreds:_0xa5b746,state:_0x481c63}=await useMultiFileAuthState(_0x477701(0x1f0)),{version:_0x3fafd5,isLatest:_0x1941c5}=await fetchLatestBaileysVersion(),_0x3068e2=makeWASocket({'version':_0x3fafd5,'logger':logger,'browser':['Zokou-md',_0x477701(0x220),_0x477701(0x1f4)],'emitOwnEvents':!![],'syncFullHistory':!![],'printQRInTerminal':!![],'markOnlineOnConnect':![],'receivedPendingNotifications':!![],'generateHighQualityLinkPreview':!![],'auth':{'creds':_0x481c63[_0x477701(0x208)],'keys':makeCacheableSignalKeyStore(_0x481c63[_0x477701(0x118)],logger)},'keepAliveIntervalMs':0x7530,'getMessage':async _0x1b68cb=>{const _0x433c0e=_0x477701;if(store){const _0x36a14c=await store[_0x433c0e(0x155)](_0x1b68cb['remoteJid'],_0x1b68cb['id']);return _0x36a14c?.[_0x433c0e(0x160)]||undefined;}}});store?.['bind'](_0x3068e2['ev']);const _0x9140b5=new NodeCache({'stdTTL':0x78,'checkperiod':0xf0});_0x3068e2['ev']['on'](_0x477701(0x1df),async _0x3d090f=>{const _0xdc55e2=_0x477701,{messages:_0x4e45d5}=_0x3d090f,_0x407dc3=_0x4e45d5[0x0];if(!_0x407dc3[_0xdc55e2(0x160)])return;const _0x4202c2=_0x18c805=>{const _0x375738=_0xdc55e2;if(!_0x18c805)return _0x18c805;if(/:\d+@/gi[_0x375738(0x114)](_0x18c805)){let _0x29bc48=jidDecode(_0x18c805)||{};return _0x29bc48[_0x375738(0x165)]&&_0x29bc48[_0x375738(0x1c4)]&&_0x29bc48[_0x375738(0x165)]+'@'+_0x29bc48['server']||_0x18c805;}else return _0x18c805;};var _0x28cf64=getContentType(_0x407dc3['message']),_0x24daaa=_0x28cf64==_0xdc55e2(0x1c7)?_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x1c7)]:_0x28cf64==_0xdc55e2(0x171)?_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x171)]?.['caption']:_0x28cf64==_0xdc55e2(0x129)?_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x129)]?.[_0xdc55e2(0x101)]:_0x28cf64==_0xdc55e2(0x121)?_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x121)]?.[_0xdc55e2(0x1c9)]:_0x28cf64=='buttonsResponseMessage'?_0x407dc3['message'][_0xdc55e2(0x1d3)]?.['selectedButtonId']:_0x28cf64==_0xdc55e2(0x14f)?_0x407dc3['message']?.['listResponseMessage']['singleSelectReply'][_0xdc55e2(0x18b)]:_0x28cf64==_0xdc55e2(0x1f3)?_0x407dc3['message']?.[_0xdc55e2(0x1d3)]?.[_0xdc55e2(0x1e5)]||_0x407dc3['message']?.['listResponseMessage'][_0xdc55e2(0x113)][_0xdc55e2(0x18b)]||_0x407dc3[_0xdc55e2(0x114)]:'',_0xa633cd=_0x407dc3['key']['remoteJid'],_0x278cc4=_0x4202c2(_0x3068e2[_0xdc55e2(0x165)]['id']),_0x1d7732=_0x278cc4[_0xdc55e2(0x211)]('@')[0x0];const _0x2ae3f1=_0xa633cd?.[_0xdc55e2(0x180)]('@g.us');var _0x4d17ca=null;_0x2ae3f1&&(groupMetadataCache[_0xdc55e2(0x22a)](_0xa633cd)?_0x4d17ca=groupMetadataCache['get'](_0xa633cd):(metadata=await _0x3068e2['groupMetadata'](_0xa633cd),_0x4d17ca=metadata,groupMetadataCache[_0xdc55e2(0x16f)](_0xa633cd,metadata)));var _0x4e4807=_0x2ae3f1?_0x4d17ca['subject']:null,_0x13fc1a=_0x407dc3['message']?.[_0xdc55e2(0x121)]?.[_0xdc55e2(0x1c0)]?.['quotedMessage'],_0x41f033=_0x4202c2(_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x121)]?.[_0xdc55e2(0x1c0)]?.[_0xdc55e2(0x17d)]),_0x17111e=_0x407dc3['message']?.['extendedTextMessage']?.['contextInfo']?.[_0xdc55e2(0x1fe)],_0x17cb6b=_0x2ae3f1?_0x407dc3[_0xdc55e2(0x192)][_0xdc55e2(0x17d)]?_0x407dc3['key'][_0xdc55e2(0x17d)]:_0x407dc3[_0xdc55e2(0x17d)]:_0xa633cd;_0x407dc3[_0xdc55e2(0x192)]['fromMe']&&(_0x17cb6b=_0x278cc4);var _0x552a76=_0x2ae3f1?_0x407dc3[_0xdc55e2(0x192)][_0xdc55e2(0x17d)]:null;const {getAllSudoNumbers:_0x7148dc}=require(_0xdc55e2(0x1eb)),_0x20bb47=_0x407dc3[_0xdc55e2(0x1cf)],_0x5aba4e=_0xdc55e2(0x119),_0x422e1e=_0xdc55e2(0x1ab),_0x1dd59a=_0xdc55e2(0x177),_0x99b10f=_0xdc55e2(0x137),_0x28ba91='99393228';let _0x5241bf;dbCache[_0xdc55e2(0x22a)](_0xdc55e2(0x1b3))?(console[_0xdc55e2(0x109)](_0xdc55e2(0x128)),_0x5241bf=dbCache[_0xdc55e2(0x115)]('sudo')):(console[_0xdc55e2(0x109)](_0xdc55e2(0x229)),_0x5241bf=await _0x7148dc(),dbCache[_0xdc55e2(0x16f)](_0xdc55e2(0x1b3),_0x5241bf));const _0x4cbc9=[_0x1d7732,_0x5aba4e,_0x422e1e,_0x1dd59a,_0x99b10f,_0x28ba91,conf[_0xdc55e2(0x15a)]][_0xdc55e2(0x1db)](_0x3ee119=>_0x3ee119[_0xdc55e2(0x188)](/[^0-9]/g)+_0xdc55e2(0xf8)),_0x32d706=[..._0x5241bf,..._0x4cbc9],_0x34c775=_0x32d706[_0xdc55e2(0x122)](_0x17cb6b);var _0x2ed797=[_0x5aba4e,_0x422e1e,_0x1dd59a,_0x28ba91,_0x99b10f][_0xdc55e2(0x1db)](_0x1b5a94=>_0x1b5a94['replace'](/[^0-9]/g)+'@s.whatsapp.net')[_0xdc55e2(0x122)](_0x17cb6b);function _0x580d66(_0x524753){const _0x161bc5=_0xdc55e2;_0x3068e2[_0x161bc5(0x1dc)](_0xa633cd,{'text':_0x524753},{'quoted':_0x407dc3});}console['log'](_0xdc55e2(0x1bb)),console[_0xdc55e2(0x109)](_0xdc55e2(0x10c));_0x2ae3f1&&console['log'](_0xdc55e2(0x22b)+_0x4e4807);console[_0xdc55e2(0x109)](_0xdc55e2(0x1a2)+'['+_0x20bb47+_0xdc55e2(0x153)+_0x17cb6b[_0xdc55e2(0x211)]('@s.whatsapp.net')[0x0]+'\x20]'),console[_0xdc55e2(0x109)](_0xdc55e2(0x1d9)+_0x28cf64),console['log'](_0xdc55e2(0x202)),console['log'](_0x24daaa);function _0xc2d35a(_0x1a72e5){const _0x497429=_0xdc55e2;let _0x122dc8=[];for(_0x3d090f of _0x1a72e5){if(_0x3d090f[_0x497429(0x159)]==null)continue;_0x122dc8['push'](_0x3d090f['id']);}return _0x122dc8;}const _0x1271bf=_0x2ae3f1?await _0x4d17ca[_0xdc55e2(0x20e)]:'';let _0x59c7ad=_0x2ae3f1?_0xc2d35a(_0x1271bf):'';const _0x4a0d99=_0x2ae3f1?_0x59c7ad[_0xdc55e2(0x122)](_0x17cb6b):![];var _0x725741=_0x2ae3f1?_0x59c7ad[_0xdc55e2(0x122)](_0x278cc4):![],_0x43ce1d=conf['ETAT'];if(_0x43ce1d==0x1)await _0x3068e2[_0xdc55e2(0x136)](_0xdc55e2(0x1ff),_0xa633cd);else{if(_0x43ce1d==0x2)await _0x3068e2[_0xdc55e2(0x136)](_0xdc55e2(0x14b),_0xa633cd);else{if(_0x43ce1d==0x3)await _0x3068e2[_0xdc55e2(0x136)](_0xdc55e2(0x21c),_0xa633cd);else{}}}let _0x309e25=_0x24daaa?_0x24daaa[_0xdc55e2(0x20c)]()[_0xdc55e2(0x211)](/ +/)['slice'](0x1):null,_0x572d9c=_0x24daaa?_0x24daaa[_0xdc55e2(0x18e)](prefixe):![],_0x590412=_0x572d9c?_0x24daaa['slice'](0x1)[_0xdc55e2(0x20c)]()[_0xdc55e2(0x211)](/ +/)[_0xdc55e2(0x217)]()[_0xdc55e2(0xf7)]():![];const _0x4f8d62=conf[_0xdc55e2(0x167)]['split'](',');function _0x5cc689(){const _0x577d46=_0xdc55e2,_0x346eac=Math[_0x577d46(0x1bc)](Math['random']()*_0x4f8d62[_0x577d46(0x1d1)]),_0x3dae38=_0x4f8d62[_0x346eac];return _0x3dae38;}var _0x392e9c={'superUser':_0x34c775,'dev':_0x2ed797,'verifGroupe':_0x2ae3f1,'mbre':_0x1271bf,'membreGroupe':_0x552a76,'verifAdmin':_0x4a0d99,'infosGroupe':_0x4d17ca,'nomGroupe':_0x4e4807,'auteurMessage':_0x17cb6b,'nomAuteurMessage':_0x20bb47,'idBot':_0x278cc4,'verifZokouAdmin':_0x725741,'prefixe':prefixe,'arg':_0x309e25,'repondre':_0x580d66,'mtype':_0x28cf64,'groupeAdmin':_0xc2d35a,'msgRepondu':_0x13fc1a,'auteurMsgRepondu':_0x41f033,'ms':_0x407dc3,'mybotpic':_0x5cc689};if(_0x17cb6b[_0xdc55e2(0x180)]('s.whatsapp.net')){const {ajouterOuMettreAJourUserData:_0x24d2c2}=require(_0xdc55e2(0x12d));try{await _0x24d2c2(_0x17cb6b);}catch(_0x43f756){console[_0xdc55e2(0x105)](_0x43f756);}}if(_0x407dc3[_0xdc55e2(0x160)]?.['stickerMessage']){const _0x4ea566=require(_0xdc55e2(0x182));let _0x4f1729=_0x407dc3['message'][_0xdc55e2(0x1c6)][_0xdc55e2(0x193)]['join'](','),_0x5ec946=await _0x4ea566[_0xdc55e2(0x184)](_0x4f1729);_0x5ec946&&(_0x24daaa=prefixe+await _0x4ea566[_0xdc55e2(0x1c5)](_0x4f1729),_0x309e25=_0x24daaa?_0x24daaa[_0xdc55e2(0x20c)]()[_0xdc55e2(0x211)](/ +/)['slice'](0x1):null,_0x572d9c=_0x24daaa?_0x24daaa['startsWith'](prefixe):![],_0x590412=_0x572d9c?_0x24daaa[_0xdc55e2(0x12e)](0x1)['trim']()[_0xdc55e2(0x211)](/ +/)[_0xdc55e2(0x217)]()['toLowerCase']():![],_0x13fc1a=_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x1c6)]?.[_0xdc55e2(0x1c0)]?.[_0xdc55e2(0x13a)],_0x41f033=_0x4202c2(_0x407dc3['message']?.['stickerMessage']?.[_0xdc55e2(0x1c0)]?.[_0xdc55e2(0x17d)]),_0x392e9c={'superUser':_0x34c775,'dev':_0x2ed797,'verifGroupe':_0x2ae3f1,'mbre':_0x1271bf,'membreGroupe':_0x552a76,'verifAdmin':_0x4a0d99,'infosGroupe':_0x4d17ca,'nomGroupe':_0x4e4807,'auteurMessage':_0x17cb6b,'nomAuteurMessage':_0x20bb47,'idBot':_0x278cc4,'verifZokouAdmin':_0x725741,'prefixe':prefixe,'arg':_0x309e25,'repondre':_0x580d66,'mtype':_0x28cf64,'groupeAdmin':_0xc2d35a,'msgRepondu':_0x13fc1a,'auteurMsgRepondu':_0x41f033,'ms':_0x407dc3,'mybotpic':_0x5cc689});;}if(_0x572d9c){const _0x48ba9f=evt['cm'][_0xdc55e2(0x1b9)](_0x21d3ef=>_0x21d3ef[_0xdc55e2(0x15c)]===_0x590412);if(_0x48ba9f){let _0xe932c;if(dbCache[_0xdc55e2(0x22a)](_0xdc55e2(0x108)))_0xe932c=dbCache[_0xdc55e2(0x115)]('bangroup')[_0xdc55e2(0x122)](_0xa633cd);else{let _0x383d9b=await isGroupBanned();_0xe932c=_0x383d9b[_0xdc55e2(0x122)](_0xa633cd),dbCache[_0xdc55e2(0x16f)](_0xdc55e2(0x108),_0x383d9b);}let _0x2e354a;if(dbCache[_0xdc55e2(0x22a)]('onlyadmin'))_0x2e354a=dbCache['get'](_0xdc55e2(0x106))['includes'](_0xa633cd);else{let _0x5e4250=await isGroupOnlyAdmin();_0x2e354a=_0x5e4250[_0xdc55e2(0x122)](_0xa633cd),dbCache[_0xdc55e2(0x16f)]('onlyadmin',_0x5e4250);}let _0x4bea13;if(dbCache[_0xdc55e2(0x22a)]('banuser'))_0x4bea13=dbCache[_0xdc55e2(0x115)]('banuser')['includes'](_0x17cb6b);else{let _0x6080ad=await isUserBanned();_0x4bea13=_0x6080ad['includes'](_0x17cb6b),dbCache[_0xdc55e2(0x16f)]('banuser',_0x6080ad);}if(conf[_0xdc55e2(0x10d)]['toLocaleLowerCase']()==='oui'||_0x34c775){if(!_0x2ed797&&_0xa633cd==_0xdc55e2(0x19f))console[_0xdc55e2(0x109)](_0xdc55e2(0x1e0));else{if(!_0x34c775&&_0xa633cd===_0x17cb6b&&conf[_0xdc55e2(0x1b0)]===_0xdc55e2(0x157))console['log'](_0xdc55e2(0x135));else{if(_0x2ae3f1&&!_0x34c775&&_0xe932c)console[_0xdc55e2(0x109)](_0xdc55e2(0x17c));else{if(!(_0x4a0d99||_0x34c775)&&_0x2ae3f1&&_0x2e354a)console[_0xdc55e2(0x109)](_0xdc55e2(0x11d));else{if(!_0x34c775&&_0x4bea13)_0x580d66(_0xdc55e2(0x1dd));else{if(!_0x34c775&&conf[_0xdc55e2(0xfd)]['toLowerCase']()==_0xdc55e2(0x157)&&CmdColdCache['has'](_0x17cb6b))_0x580d66('Veillez\x20eviter\x20de\x20spammer,\x20patienter\x20'+Math[_0xdc55e2(0x13d)]((CmdColdCache[_0xdc55e2(0x156)](_0x17cb6b)-Date[_0xdc55e2(0x140)]())/0x3e8)+_0xdc55e2(0x162));else{if(!_0x34c775&&conf[_0xdc55e2(0xfd)][_0xdc55e2(0xf7)]()=='oui')CmdColdCache['set'](_0x17cb6b,!![]);try{reagir(_0xa633cd,_0x3068e2,_0x407dc3,_0x48ba9f[_0xdc55e2(0x1b5)]),_0x48ba9f[_0xdc55e2(0x14a)](_0xa633cd,_0x3068e2,_0x392e9c);}catch(_0x2ff742){console[_0xdc55e2(0x109)](_0xdc55e2(0x15d)+_0x2ff742),_0x3068e2['sendMessage'](_0xa633cd,{'text':_0xdc55e2(0x15d)+_0x2ff742},{'quoted':_0x407dc3});}}}}}}}}}};_0x407dc3[_0xdc55e2(0x192)]&&_0x407dc3['key'][_0xdc55e2(0x1a9)]===_0xdc55e2(0x21b)&&conf[_0xdc55e2(0x172)]['toLowerCase']()===_0xdc55e2(0x157)&&await _0x3068e2[_0xdc55e2(0x17f)]([_0x407dc3[_0xdc55e2(0x192)]])[_0xdc55e2(0x1cd)](_0x2d65e7=>console[_0xdc55e2(0x109)](_0x2d65e7));if(_0x407dc3[_0xdc55e2(0x192)]&&_0x407dc3[_0xdc55e2(0x192)][_0xdc55e2(0x1a9)]===_0xdc55e2(0x21b)&&conf[_0xdc55e2(0x226)][_0xdc55e2(0xf7)]()===_0xdc55e2(0x157))try{if(_0x407dc3[_0xdc55e2(0x160)]['extendedTextMessage']){var _0x1d6a6b=_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x121)]['text'];await _0x3068e2[_0xdc55e2(0x1dc)](_0x278cc4,{'text':_0x1d6a6b},{'quoted':_0x407dc3});}else{if(_0x407dc3['message'][_0xdc55e2(0x171)]){var _0x16ad71=_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x171)]['caption'],_0x13dea2=await _0x3068e2[_0xdc55e2(0x1b6)](_0x407dc3[_0xdc55e2(0x160)]['imageMessage']);await _0x3068e2[_0xdc55e2(0x1dc)](_0x278cc4,{'image':{'url':_0x13dea2},'caption':_0x16ad71},{'quoted':_0x407dc3});}else{if(_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x129)]){var _0x16ad71=_0x407dc3['message']['videoMessage'][_0xdc55e2(0x101)],_0x59c137=await _0x3068e2[_0xdc55e2(0x1b6)](_0x407dc3[_0xdc55e2(0x160)]['videoMessage']);await _0x3068e2[_0xdc55e2(0x1dc)](_0x278cc4,{'video':{'url':_0x59c137},'caption':_0x16ad71},{'quoted':_0x407dc3});}else{if(_0x407dc3[_0xdc55e2(0x160)][_0xdc55e2(0x132)]){var _0x2b5f98=await _0x3068e2[_0xdc55e2(0x1b6)](_0x407dc3[_0xdc55e2(0x160)]['audioMessage']);await _0x3068e2[_0xdc55e2(0x1dc)](_0x278cc4,{'audio':{'url':_0x2b5f98},'mimetype':'audio/mp4'},{'quoted':_0x407dc3});}}}}}catch(_0x24106c){console[_0xdc55e2(0x105)](_0x24106c);}if((_0x24daaa[_0xdc55e2(0x139)]()[_0xdc55e2(0x122)]('https://')||_0x24daaa['toLocaleLowerCase']()[_0xdc55e2(0x122)]('http://'))&&_0x2ae3f1){console[_0xdc55e2(0x109)](_0xdc55e2(0x1c1));const _0xb6a62b=await verifierEtatJid(_0xa633cd);if(_0xb6a62b){if(!_0x725741)_0x580d66('lien\x20detecté\x20,\x20\x20j\x27ai\x20besoin\x20des\x20droits\x20d\x27administrateur\x20pour\x20agir');else{if(!_0x34c775&&!_0x4a0d99){const _0x38b733={'remoteJid':_0xa633cd,'fromMe':![],'id':_0x407dc3[_0xdc55e2(0x192)]['id'],'participant':_0x17cb6b};var _0x203505=_0xdc55e2(0x200),_0x3ed99f=await recupererActionJid(_0xa633cd);if(_0x3ed99f===_0xdc55e2(0x104)){const _0x53b000='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x523bcc=new Sticker(_0x53b000,{'pack':_0xdc55e2(0x176),'author':conf[_0xdc55e2(0x213)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':_0xdc55e2(0x1a6),'quality':0x32,'background':'#000000'});await _0x523bcc[_0xdc55e2(0x1f8)]('st1.webp'),_0x203505+=_0xdc55e2(0x20d)+_0x17cb6b[_0xdc55e2(0x211)]('@')[0x0]+'\x20rétiré\x20du\x20groupe.',await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'sticker':fs[_0xdc55e2(0x174)](_0xdc55e2(0x206))},{'quoted':_0x407dc3}),(0x0,baileys_1[_0xdc55e2(0x1d0)])(0x320),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x203505,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3});try{await _0x3068e2[_0xdc55e2(0x18f)](_0xa633cd,[_0x17cb6b],_0xdc55e2(0x127));}catch(_0x322327){console[_0xdc55e2(0x109)](_0xdc55e2(0x11e)+_0x322327);}await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x38b733}),await fs[_0xdc55e2(0x144)](_0xdc55e2(0x206));}else{if(_0x3ed99f===_0xdc55e2(0xf9))_0x203505+=_0xdc55e2(0x20d)+_0x17cb6b[_0xdc55e2(0x211)]('@')[0x0]+_0xdc55e2(0x1be),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x203505,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x38b733});else{if(_0x3ed99f===_0xdc55e2(0x1a8)){const {getWarnCountByJID:_0x3c236a,ajouterUtilisateurAvecWarnCount:_0x8291f}=require(_0xdc55e2(0x1ca));let _0x51b102=await _0x3c236a(_0x17cb6b),_0x8cb6c7=conf[_0xdc55e2(0x11a)];if(_0x51b102>=_0x8cb6c7){const _0x4b8fc4='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x523bcc=new Sticker(_0x4b8fc4,{'pack':'Zoou-Md','author':conf[_0xdc55e2(0x213)],'type':StickerTypes[_0xdc55e2(0x1e2)],'categories':['🤩','🎉'],'id':_0xdc55e2(0x1a6),'quality':0x32,'background':_0xdc55e2(0x150)});await _0x523bcc[_0xdc55e2(0x1f8)](_0xdc55e2(0x206));var _0x4623e9=_0xdc55e2(0x126);await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'sticker':fs['readFileSync'](_0xdc55e2(0x206))},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x4623e9,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x18f)](_0xa633cd,[_0x17cb6b],_0xdc55e2(0x127)),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x38b733}),await fs[_0xdc55e2(0x144)](_0xdc55e2(0x206));}else{var _0x204301=_0x8cb6c7-(_0x51b102+0x1),_0x50e73c=_0x204301!=0x0?'Lien\x20detecté\x20;\x0a\x20passez\x20encore\x20'+_0x204301+_0xdc55e2(0x1da):_0xdc55e2(0x1a5);await _0x8291f(_0x17cb6b),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x50e73c,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x38b733});}}}}}}};}const _0x18caab=_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x18e)](_0xdc55e2(0x1c3))&&_0x407dc3['key']?.['id']?.['length']===0x10,_0x3ddd34=_0x407dc3['key']?.['id']?.[_0xdc55e2(0x18e)](_0xdc55e2(0x149))&&_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x1d1)]===0x10,_0x1df559=_0x407dc3[_0xdc55e2(0x192)]?.['id']?.['startsWith']('3EB0')&&_0x407dc3['key']?.['id']?.[_0xdc55e2(0x1d1)]>=0xc;if(_0x18caab||_0x3ddd34||_0x1df559){const _0x1c3a6d=await atbverifierEtatJid(_0xa633cd);if(_0x1c3a6d){if(_0x28cf64===_0xdc55e2(0x16b))console[_0xdc55e2(0x109)](_0xdc55e2(0x138));else{if(_0x4a0d99||_0x17cb6b===_0x278cc4||_0x34c775)console['log'](_0xdc55e2(0x183));else{if(!_0x725741)_0x580d66(_0xdc55e2(0x1e7));else{const _0x753b51={'remoteJid':_0xa633cd,'fromMe':![],'id':_0x407dc3[_0xdc55e2(0x192)]['id'],'participant':_0x17cb6b};var _0x203505=_0xdc55e2(0x11c),_0x3ed99f=await atbrecupererActionJid(_0xa633cd);if(_0x3ed99f===_0xdc55e2(0x104))try{const _0x4392cb='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x523bcc=new Sticker(_0x4392cb,{'pack':_0xdc55e2(0x176),'author':conf[_0xdc55e2(0x213)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':_0xdc55e2(0x1a6),'quality':0x32,'background':_0xdc55e2(0x150)});await _0x523bcc[_0xdc55e2(0x1f8)](_0xdc55e2(0x206)),_0x203505+=_0xdc55e2(0x20d)+_0x17cb6b[_0xdc55e2(0x211)]('@')[0x0]+_0xdc55e2(0x1f7),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'sticker':fs[_0xdc55e2(0x174)](_0xdc55e2(0x206))},{'quoted':_0x407dc3}),(0x0,baileys_1[_0xdc55e2(0x1d0)])(0x320),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x203505,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x18f)](_0xa633cd,[_0x17cb6b],_0xdc55e2(0x127)),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x753b51}),await fs['unlink'](_0xdc55e2(0x206));}catch(_0x2559ab){console[_0xdc55e2(0x109)](_0xdc55e2(0x12a)+_0x2559ab);}else{if(_0x3ed99f===_0xdc55e2(0xf9))_0x203505+='message\x20supprimé\x20\x0a\x20@'+_0x17cb6b['split']('@')[0x0]+_0xdc55e2(0xf6),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x203505,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x753b51});else{if(_0x3ed99f===_0xdc55e2(0x1a8)){const {getWarnCountByJID:_0x4ed3c9,ajouterUtilisateurAvecWarnCount:_0x4b0111}=require('./bdd/warn');let _0xa4ec9c=await _0x4ed3c9(_0x17cb6b),_0x358475=conf['WARN_COUNT'];if(_0xa4ec9c>=_0x358475){const _0x62977f=_0xdc55e2(0x17e);var _0x523bcc=new Sticker(_0x62977f,{'pack':'Zoou-Md','author':conf[_0xdc55e2(0x213)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':_0xdc55e2(0x1a6),'quality':0x32,'background':_0xdc55e2(0x150)});await _0x523bcc[_0xdc55e2(0x1f8)](_0xdc55e2(0x206));var _0x4623e9='bot\x20detecté\x20;\x20vous\x20avez\x20atteint\x20le\x20nombre\x20maximal\x20d\x27avertissement\x20par\x20consequant\x20vous\x20serrez\x20retiré\x20du\x20groupe';await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'sticker':fs[_0xdc55e2(0x174)]('st1.webp')},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x4623e9,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x18f)](_0xa633cd,[_0x17cb6b],'remove'),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x753b51}),await fs[_0xdc55e2(0x144)](_0xdc55e2(0x206));}else{var _0x204301=_0x358475-(_0xa4ec9c+0x1),_0x50e73c=_0x204301!=0x0?_0xdc55e2(0x107)+_0x204301+_0xdc55e2(0x1da):_0xdc55e2(0x210);await _0x4b0111(_0x17cb6b),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'text':_0x50e73c,'mentions':[_0x17cb6b]},{'quoted':_0x407dc3}),await _0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'delete':_0x753b51});}}}}}}}}}const _0x37e0d7=require(_0xdc55e2(0x1b4));let _0x376de4=await _0x37e0d7['getAfkById'](0x1);if(_0x376de4?.[_0xdc55e2(0x124)]=='on'&&_0x407dc3[_0xdc55e2(0x192)]?.[_0xdc55e2(0x152)]){const _0x2cfc03=_0x407dc3[_0xdc55e2(0x192)]?.['id']?.['startsWith'](_0xdc55e2(0x1c3))&&_0x407dc3['key']?.['id']?.[_0xdc55e2(0x1d1)]===0x10,_0x39b964=_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x18e)](_0xdc55e2(0x149))&&_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x1d1)]===0x10,_0x4f3e32=_0x407dc3['key']?.['id']?.[_0xdc55e2(0x18e)](_0xdc55e2(0x22d))&&_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x1d1)]>=0xc;if(_0x2cfc03||_0x39b964||_0x4f3e32)console[_0xdc55e2(0x109)](_0xdc55e2(0x133));else _0x24daaa[_0xdc55e2(0x139)]()==_0xdc55e2(0x227)?(await _0x37e0d7[_0xdc55e2(0x1a7)](0x1,_0xdc55e2(0x189)),_0x580d66(_0xdc55e2(0x16e))):_0x580d66(_0xdc55e2(0x1de));}if(_0x407dc3[_0xdc55e2(0x160)][_0x28cf64]?.[_0xdc55e2(0x1c0)]?.[_0xdc55e2(0x1fe)]?.['includes'](_0x278cc4)&&_0x2ae3f1){console[_0xdc55e2(0x109)](_0xdc55e2(0x18a));if(_0x376de4?.['etat']=='on'){const _0x440502=_0x407dc3['key']?.['id']?.[_0xdc55e2(0x18e)](_0xdc55e2(0x1c3))&&_0x407dc3[_0xdc55e2(0x192)]?.['id']?.['length']===0x10,_0x29da8f=_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x18e)](_0xdc55e2(0x149))&&_0x407dc3['key']?.['id']?.['length']===0x10,_0x30946f=_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x18e)]('3EB0')&&_0x407dc3[_0xdc55e2(0x192)]?.['id']?.[_0xdc55e2(0x1d1)]>=0xc;if(_0x440502||_0x29da8f||_0x30946f)console[_0xdc55e2(0x109)](_0xdc55e2(0x11b));else{if(_0x407dc3[_0xdc55e2(0x192)]?.[_0xdc55e2(0x152)])console[_0xdc55e2(0x109)](_0xdc55e2(0x197));else _0x376de4[_0xdc55e2(0x14c)]==_0xdc55e2(0xff)?_0x580d66(_0x376de4[_0xdc55e2(0x160)]):_0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'image':{'url':_0x376de4['lien']},'caption':_0x376de4[_0xdc55e2(0x160)]},{'caption':_0x407dc3});}}else{if(_0xa633cd!=='[email protected]'&&_0x17cb6b!==_0x278cc4){let _0x4f0e1a=require(_0xdc55e2(0x1b2)),_0xb2d661=await _0x4f0e1a[_0xdc55e2(0x1ac)](),_0x6f0f14=_0xb2d661[0x0];if(_0x6f0f14['status']==='non')console[_0xdc55e2(0x109)](_0xdc55e2(0x201));else{let _0x426cae;if(_0x6f0f14['type'][_0xdc55e2(0x139)]()===_0xdc55e2(0x147))_0x426cae={'image':{'url':_0x6f0f14[_0xdc55e2(0x22f)]},'caption':_0x6f0f14['message']};else{if(_0x6f0f14[_0xdc55e2(0x1d4)]['toLocaleLowerCase']()==='video')_0x426cae={'video':{'url':_0x6f0f14['url']},'caption':_0x6f0f14[_0xdc55e2(0x160)]};else{if(_0x6f0f14['type'][_0xdc55e2(0x139)]()===_0xdc55e2(0x179)){let _0x5cf569=new Sticker(_0x6f0f14['url'],{'pack':conf[_0xdc55e2(0x213)],'type':StickerTypes[_0xdc55e2(0x1e2)],'categories':['🤩','🎉'],'id':'12345','quality':0x46,'background':'transparent'});const _0x950720=await _0x5cf569[_0xdc55e2(0x18c)]();_0x426cae={'sticker':_0x950720};}else _0x6f0f14[_0xdc55e2(0x1d4)][_0xdc55e2(0x139)]()===_0xdc55e2(0x204)&&(_0x426cae={'audio':{'url':_0x6f0f14['url']},'mimetype':_0xdc55e2(0x1a0)});}}_0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,_0x426cae,{'quoted':_0x407dc3})[_0xdc55e2(0x1cd)](_0x413c58=>console[_0xdc55e2(0x105)](_0x413c58));}};}}if(_0xa633cd[_0xdc55e2(0x180)]('@s.whatsapp.net')&&_0x17cb6b!=_0x278cc4){if(_0x376de4?.[_0xdc55e2(0x124)]=='on')_0x376de4[_0xdc55e2(0x14c)]==_0xdc55e2(0xff)?_0x580d66(_0x376de4[_0xdc55e2(0x160)]):_0x3068e2[_0xdc55e2(0x1dc)](_0xa633cd,{'image':{'url':_0x376de4[_0xdc55e2(0x14c)]},'caption':_0x376de4[_0xdc55e2(0x160)]},{'caption':_0x407dc3});else{if(conf[_0xdc55e2(0x221)]==='oui'){if(!_0x572d9c){const _0x4946da=require(_0xdc55e2(0x21d));let _0x6b8b2f=await _0x4946da(_0x24daaa,{'to':'en'});fetch(_0xdc55e2(0x1e4)+_0x6b8b2f)[_0xdc55e2(0x19e)](_0x4f9a63=>_0x4f9a63['json']())[_0xdc55e2(0x19e)](_0x377816=>{const _0x3d7f79=_0xdc55e2,_0x4d378a=_0x377816[_0x3d7f79(0x13b)];_0x4946da(_0x4d378a,{'to':'fr'})[_0x3d7f79(0x19e)](_0x4531f6=>{_0x580d66(_0x4531f6);})[_0x3d7f79(0x1cd)](_0x19a0ae=>{const _0x24499d=_0x3d7f79;console[_0x24499d(0x105)](_0x24499d(0x131),_0x19a0ae);});})[_0xdc55e2(0x1cd)](_0x44e6d9=>{const _0x274460=_0xdc55e2;console[_0x274460(0x105)]('Erreur\x20lors\x20de\x20la\x20requête\x20à\x20BrainShop\x20:',_0x44e6d9);});};}}}if(_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x1d7)]||_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x196)]||_0x407dc3['message']?.[_0xdc55e2(0x1b7)]){if(conf[_0xdc55e2(0x15b)][_0xdc55e2(0xf7)]()==_0xdc55e2(0x157)&&!_0x407dc3[_0xdc55e2(0x192)][_0xdc55e2(0x152)]){let _0x2b0aa8=_0x407dc3[_0xdc55e2(0x160)][_0x28cf64];if(_0x2b0aa8[_0xdc55e2(0x160)][_0xdc55e2(0x171)]){var _0x28ec9e=await _0x3068e2[_0xdc55e2(0x1b6)](_0x2b0aa8[_0xdc55e2(0x160)][_0xdc55e2(0x171)]),_0x24daaa=_0x2b0aa8['message']['imageMessage'][_0xdc55e2(0x101)];await _0x3068e2[_0xdc55e2(0x1dc)](_0x278cc4,{'image':{'url':_0x28ec9e},'caption':_0x24daaa},{'quoted':_0x407dc3});}else{if(_0x2b0aa8['message'][_0xdc55e2(0x129)]){var _0x5f1f9f=await _0x3068e2[_0xdc55e2(0x1b6)](_0x2b0aa8[_0xdc55e2(0x160)][_0xdc55e2(0x129)]),_0x24daaa=_0x2b0aa8[_0xdc55e2(0x160)][_0xdc55e2(0x129)][_0xdc55e2(0x101)];await _0x3068e2[_0xdc55e2(0x1dc)](_0x278cc4,{'video':{'url':_0x5f1f9f},'caption':_0x24daaa},{'quoted':_0x407dc3});}else{if(_0x2b0aa8[_0xdc55e2(0x160)][_0xdc55e2(0x132)]){var _0x2b5f98=await _0x3068e2['downloadAndSaveMediaMessage'](_0x2b0aa8[_0xdc55e2(0x160)]['audioMessage']);await _0x3068e2['sendMessage'](_0x278cc4,{'audio':{'url':_0x2b5f98},'mymetype':_0xdc55e2(0x1a0)},{'quoted':_0x407dc3,'ptt':![]});}}}};}if(_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x171)]||_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x132)]||_0x407dc3['message']?.['videoMessage']||_0x407dc3[_0xdc55e2(0x160)]?.[_0xdc55e2(0x1c6)]||_0x407dc3['message']?.[_0xdc55e2(0x21a)]){let _0x452ad3;if(dbCache['has']('antispam'))_0x452ad3=dbCache[_0xdc55e2(0x115)](_0xdc55e2(0xfc))[_0xdc55e2(0x122)](_0xa633cd);else{let _0x24c2e1=await isGroupspam();_0x452ad3=_0x24c2e1['includes'](_0xa633cd),dbCache[_0xdc55e2(0x16f)]('antispam',_0x24c2e1);}if(_0x2ae3f1&&_0x452ad3&&!_0x34c775){console['warn']('------------------Media------sent--------------------');let _0x50633e=_0x9140b5[_0xdc55e2(0x115)](_0x17cb6b+'_'+_0xa633cd);_0x50633e?_0x50633e[_0xdc55e2(0x1d1)]>=0x4?(_0x50633e['push'](_0x407dc3['key']),_0x50633e[_0xdc55e2(0x1b1)](_0x51a48e=>{const _0x51ab9f=_0xdc55e2;_0x3068e2[_0x51ab9f(0x1dc)](_0xa633cd,{'delete':_0x51a48e});}),_0x3068e2['groupParticipantsUpdate'](_0xa633cd,[_0x17cb6b],_0xdc55e2(0x127))[_0xdc55e2(0x19e)](_0x4620cf=>{const _0x233dfb=_0xdc55e2;_0x3068e2[_0x233dfb(0x1dc)](_0xa633cd,{'text':'@'+_0x17cb6b[_0x233dfb(0x211)]('@')[0x0]+_0x233dfb(0x13c),'mentions':[_0x17cb6b]});})['catch'](_0x40053c=>console[_0xdc55e2(0x109)](_0x40053c))):(_0x50633e[_0xdc55e2(0x175)](_0x407dc3[_0xdc55e2(0x192)]),_0x9140b5[_0xdc55e2(0x16f)](_0x17cb6b+'_'+_0xa633cd,_0x50633e,0x78)):_0x9140b5[_0xdc55e2(0x16f)](_0x17cb6b+'_'+_0xa633cd,[_0x407dc3[_0xdc55e2(0x192)]]);}}}),_0x3068e2['ev']['on']('group-participants.update',async _0x2d1e44=>{const _0x3b7f87=_0x477701,_0x460761=_0x13e641=>{const _0xc78663=a66_0x36c1;if(!_0x13e641)return _0x13e641;if(/:\d+@/gi['test'](_0x13e641)){let _0x4f2d7b=(0x0,baileys_1[_0xc78663(0x1bf)])(_0x13e641)||{};return _0x4f2d7b['user']&&_0x4f2d7b[_0xc78663(0x1c4)]&&_0x4f2d7b[_0xc78663(0x165)]+'@'+_0x4f2d7b[_0xc78663(0x1c4)]||_0x13e641;}else return _0x13e641;};console['log'](_0x2d1e44);let _0x4a4912;try{_0x4a4912=await _0x3068e2['profilePictureUrl'](_0x2d1e44['id'],_0x3b7f87(0x147));}catch{_0x4a4912=_0x3b7f87(0x1e3);}try{const _0x487a44=await _0x3068e2[_0x3b7f87(0x195)](_0x2d1e44['id']);groupMetadataCache[_0x3b7f87(0x16f)](_0x2d1e44['id'],_0x487a44);if(_0x2d1e44['action']==_0x3b7f87(0x15f)&&await recupevents(_0x2d1e44['id'],'welcome')==_0x3b7f87(0x157)){let _0x1a5144=_0x3b7f87(0x1af),_0x4b9d2f=_0x2d1e44[_0x3b7f87(0x20e)];for(let _0x5e27a9 of _0x4b9d2f){_0x1a5144+=_0x3b7f87(0x10b)+_0x5e27a9[_0x3b7f87(0x211)]('@')[0x0]+'\x0a';}_0x1a5144+=_0x3b7f87(0x19b)+_0x487a44['desc'],_0x3068e2[_0x3b7f87(0x1dc)](_0x2d1e44['id'],{'image':{'url':_0x4a4912},'caption':_0x1a5144,'mentions':_0x4b9d2f});}else{if(_0x2d1e44['action']==_0x3b7f87(0x127)&&await recupevents(_0x2d1e44['id'],'goodbye')==_0x3b7f87(0x157)){let _0xeda2aa=_0x3b7f87(0x146),_0x267f2d=_0x2d1e44[_0x3b7f87(0x20e)];for(let _0x396f98 of _0x267f2d){_0xeda2aa+='@'+_0x396f98[_0x3b7f87(0x211)]('@')[0x0]+'\x0a';}_0x3068e2[_0x3b7f87(0x1dc)](_0x2d1e44['id'],{'text':_0xeda2aa,'mentions':_0x267f2d});}else{if(_0x2d1e44[_0x3b7f87(0x230)]=='promote'&&await recupevents(_0x2d1e44['id'],_0x3b7f87(0x120))=='oui'){if(_0x2d1e44[_0x3b7f87(0x216)]==_0x487a44[_0x3b7f87(0x163)]||_0x2d1e44['author']==conf[_0x3b7f87(0x15a)]+'@s.whatsapp.net'||_0x2d1e44[_0x3b7f87(0x216)]==_0x460761(_0x3068e2[_0x3b7f87(0x165)]['id'])||_0x2d1e44[_0x3b7f87(0x216)]==_0x2d1e44[_0x3b7f87(0x20e)][0x0]){console[_0x3b7f87(0x109)](_0x3b7f87(0x1ef));return;};await _0x3068e2[_0x3b7f87(0x18f)](_0x2d1e44['id'],[_0x2d1e44['author'],_0x2d1e44[_0x3b7f87(0x20e)][0x0]],_0x3b7f87(0x212)),_0x3068e2['sendMessage'](_0x2d1e44['id'],{'text':'@'+_0x2d1e44['author']['split']('@')[0x0]+_0x3b7f87(0x19c)+_0x2d1e44['participants'][0x0][_0x3b7f87(0x211)]('@')[0x0]+_0x3b7f87(0x13e),'mentions':[_0x2d1e44['author'],_0x2d1e44['participants'][0x0]]});}else{if(_0x2d1e44[_0x3b7f87(0x230)]=='demote'&&await recupevents(_0x2d1e44['id'],_0x3b7f87(0x219))==_0x3b7f87(0x157)){if(_0x2d1e44[_0x3b7f87(0x216)]==_0x487a44[_0x3b7f87(0x163)]||_0x2d1e44[_0x3b7f87(0x216)]==conf['NUMERO_OWNER']+_0x3b7f87(0xf8)||_0x2d1e44[_0x3b7f87(0x216)]==_0x460761(_0x3068e2[_0x3b7f87(0x165)]['id'])||_0x2d1e44[_0x3b7f87(0x216)]==_0x2d1e44[_0x3b7f87(0x20e)][0x0]){console[_0x3b7f87(0x109)]('Cas\x20de\x20superUser\x20je\x20fais\x20rien');return;};await _0x3068e2[_0x3b7f87(0x18f)](_0x2d1e44['id'],[_0x2d1e44[_0x3b7f87(0x216)]],_0x3b7f87(0x212)),await _0x3068e2[_0x3b7f87(0x18f)](_0x2d1e44['id'],[_0x2d1e44['participants'][0x0]],_0x3b7f87(0x13f)),_0x3068e2['sendMessage'](_0x2d1e44['id'],{'text':'@'+_0x2d1e44[_0x3b7f87(0x216)][_0x3b7f87(0x211)]('@')[0x0]+'\x20a\x20enfreint\x20la\x20règle\x20de\x20l\x27antidemote\x20car\x20il\x20a\x20denommer\x20@'+_0x2d1e44[_0x3b7f87(0x20e)][0x0]['split']('@')[0x0]+'\x20par\x20consequent\x20,\x20il\x20est\x20demit\x20des\x20droits\x20d\x27aministration','mentions':[_0x2d1e44['author'],_0x2d1e44['participants'][0x0]]});}}}}}catch(_0x283341){console[_0x3b7f87(0x105)](_0x283341);}}),_0x3068e2['ev']['on'](_0x477701(0x198),async _0x5b4200=>{const _0x4d707a=_0x477701;groupMetadataCache[_0x4d707a(0x16f)](_0x5b4200['id'],_0x5b4200);}),_0x3068e2['ev']['on'](_0x477701(0x214),async _0x2f987d=>{const _0x4723aa=_0x2571dd=>{const _0x5272d4=a66_0x36c1;for(const _0x155777 of _0x2571dd){store[_0x5272d4(0x102)][_0x155777['id']]?Object[_0x5272d4(0x18d)](store[_0x5272d4(0x102)][_0x155777['id']],_0x155777):store[_0x5272d4(0x102)][_0x155777['id']]=_0x155777;}return;};_0x4723aa(_0x2f987d);}),_0x3068e2['ev']['on'](_0x477701(0x20f),async _0x1ec6a8=>{const _0x362a60=_0x477701,{connection:_0x583533,lastDisconnect:_0x34fe91,receivedPendingNotifications:_0x553163}=_0x1ec6a8;if(_0x583533==_0x362a60(0x1a1))console[_0x362a60(0x109)]('connection\x20en\x20cours...');else{if(_0x583533==_0x362a60(0x17a)){let _0x171b8f=new Boom(_0x34fe91?.['error'])?.[_0x362a60(0x178)][_0x362a60(0x12b)];if(_0x171b8f==DisconnectReason['connectionClosed'])console[_0x362a60(0x109)]('Connexion\x20fermee\x20,\x20reconnexion\x20en\x20cours'),connectToWhatsapp();else{if(_0x171b8f==DisconnectReason[_0x362a60(0x21e)])console[_0x362a60(0x109)](_0x362a60(0x215));else{if(_0x171b8f===DisconnectReason[_0x362a60(0x1a4)])console[_0x362a60(0x109)](_0x362a60(0x1f2));else{if(_0x171b8f===DisconnectReason['loggedOut'])console['log'](_0x362a60(0x1a3));else{if(_0x171b8f===DisconnectReason[_0x362a60(0x16d)])console[_0x362a60(0x109)]('redémarrage\x20en\x20cours\x20▶️'),connectToWhatsapp();else{if(_0x171b8f===DisconnectReason[_0x362a60(0x1aa)])console['log'](_0x362a60(0x209)),connectToWhatsapp();else{console[_0x362a60(0x109)](_0x362a60(0x231));const {exec:_0x16144e}=require(_0x362a60(0x1d6));_0x16144e(_0x362a60(0x207));}}}}}}}else{if(_0x583533==_0x362a60(0x19a)){console['log'](_0x362a60(0x1fb)),await delay(0x1f4),fs[_0x362a60(0x187)](__dirname+_0x362a60(0xf5))[_0x362a60(0x1b1)](_0x187425=>{const _0x439af7=_0x362a60;if(path[_0x439af7(0x205)](_0x187425)['toLowerCase']()==_0x439af7(0x1b8)){try{require(__dirname+_0x439af7(0x1e9)+_0x187425),console[_0x439af7(0x109)](_0x187425+_0x439af7(0x103));}catch(_0x2c93b2){console[_0x439af7(0x109)](_0x187425+_0x439af7(0x1f1)+_0x2c93b2);}delay(0x12c);}}),await delay(0x2bc);var _0x25a59c;if(conf[_0x362a60(0x10d)][_0x362a60(0xf7)]()==='oui')_0x25a59c=_0x362a60(0x12c);else conf[_0x362a60(0x10d)]['toLowerCase']()===_0x362a60(0xfa)?_0x25a59c='privé':_0x25a59c=_0x362a60(0x1cc);console['log'](_0x362a60(0x117)),await _0x467e75();if(conf['DP']['toLowerCase']()===_0x362a60(0x157)){let _0x38bb4c='╔════◇\x0a║\x20『HACKING 𝐌𝐃』\x0a║\x20\x20\x20\x20Prefix\x20:\x20[\x20'+prefixe+_0x362a60(0x148)+_0x25a59c+_0x362a60(0x223)+evt['cm'][_0x362a60(0x1d1)]+'︎\x0a╚══════════════════╝\x0a\x20\x20\x0a╔═════◇\x0a║『𝗯𝘆\x20THOMAS TECH』\x0a║\x20\x0a╚══════════════════╝';await _0x3068e2[_0x362a60(0x1dc)](_0x3068e2[_0x362a60(0x165)]['id'],{'text':_0x38bb4c});}}}}}),_0x3068e2['ev']['on'](_0x477701(0x123),_0xa5b746),_0x3068e2[_0x477701(0x1b6)]=async(_0x3c919b,_0x2d66ec='',_0x141c9b=!![])=>{const _0x256f2f=_0x477701;let _0x46b48e=_0x3c919b[_0x256f2f(0x1ee)]?_0x3c919b[_0x256f2f(0x1ee)]:_0x3c919b,_0x4bb6f4=(_0x3c919b['msg']||_0x3c919b)[_0x256f2f(0x186)]||'',_0x3261b5=_0x3c919b['mtype']?_0x3c919b[_0x256f2f(0x14e)]['replace'](/Message/gi,''):_0x4bb6f4['split']('/')[0x0];const _0x6c883a=await downloadContentFromMessage(_0x46b48e,_0x3261b5);let _0x5110f7=Buffer[_0x256f2f(0x1fd)]([]);for await(const _0x30a44c of _0x6c883a){_0x5110f7=Buffer['concat']([_0x5110f7,_0x30a44c]);}let _0x5b47c1=await FileType[_0x256f2f(0x22e)](_0x5110f7),_0x3680a2='./'+_0x2d66ec+'.'+_0x5b47c1[_0x256f2f(0x218)];return await fs['writeFileSync'](_0x3680a2,_0x5110f7),_0x3680a2;},_0x3068e2[_0x477701(0x1ec)]=async(_0x1a2fab={})=>{return new Promise((_0x1c253d,_0x15d993)=>{const _0x52d3ac=a66_0x36c1;if(typeof _0x1a2fab!=='object')_0x15d993(new Error(_0x52d3ac(0x1c8)));if(typeof _0x1a2fab[_0x52d3ac(0x15e)]!=='string')_0x15d993(new Error(_0x52d3ac(0x1f5)));if(typeof _0x1a2fab['chatJid']!==_0x52d3ac(0x1c2))_0x15d993(new Error(_0x52d3ac(0x16a)));if(_0x1a2fab[_0x52d3ac(0x1f6)]&&typeof _0x1a2fab[_0x52d3ac(0x1f6)]!=='number')_0x15d993(new Error('Timeout\x20must\x20be\x20a\x20number'));if(_0x1a2fab['filter']&&typeof _0x1a2fab[_0x52d3ac(0x16c)]!==_0x52d3ac(0x166))_0x15d993(new Error(_0x52d3ac(0x1f9)));const _0x159c17=_0x1a2fab?.[_0x52d3ac(0x1f6)]||undefined,_0x5c4297=_0x1a2fab?.[_0x52d3ac(0x16c)]||(()=>!![]);let _0x33ab5a=undefined,_0x3dc6f7=_0x3edb8b=>{const _0x59b41b=_0x52d3ac;let {type:_0x5f1749,messages:_0x5c45c1}=_0x3edb8b;if(_0x5f1749==_0x59b41b(0x164))for(let _0x5eacfa of _0x5c45c1){const _0xe23260=_0x5eacfa['key']['fromMe'],_0x33bdb5=_0x5eacfa[_0x59b41b(0x192)][_0x59b41b(0x1a9)],_0x452ac6=_0x33bdb5['endsWith'](_0x59b41b(0x1ae)),_0x3bfd17=_0x33bdb5==_0x59b41b(0x21b),_0x5b13a1=_0xe23260?_0x3068e2['user']['id'][_0x59b41b(0x188)](/:.*@/g,'@'):_0x452ac6||_0x3bfd17?_0x5eacfa['key']['participant'][_0x59b41b(0x188)](/:.*@/g,'@'):_0x33bdb5;_0x5b13a1==_0x1a2fab[_0x59b41b(0x15e)]&&_0x33bdb5==_0x1a2fab[_0x59b41b(0x1ed)]&&_0x5c4297(_0x5eacfa)&&(_0x3068e2['ev']['off']('messages.upsert',_0x3dc6f7),clearTimeout(_0x33ab5a),_0x1c253d(_0x5eacfa));}};_0x3068e2['ev']['on'](_0x52d3ac(0x1df),_0x3dc6f7),_0x159c17&&(_0x33ab5a=setTimeout(()=>{const _0x164e00=_0x52d3ac;_0x3068e2['ev'][_0x164e00(0x189)](_0x164e00(0x1df),_0x3dc6f7),_0x15d993(new Error('Timeout'));},_0x159c17));});};async function _0x467e75(){const _0x5cd00a=_0x477701,_0x4195e4=require(_0x5cd00a(0x111)),{getCron:_0x181543}=require('./bdd/cron');let _0x198d0f=await _0x181543();console[_0x5cd00a(0x109)](_0x198d0f);if(_0x198d0f[_0x5cd00a(0x1d1)]>0x0)for(let _0x4b7458=0x0;_0x4b7458<_0x198d0f[_0x5cd00a(0x1d1)];_0x4b7458++){if(_0x198d0f[_0x4b7458][_0x5cd00a(0x1d8)]!=null){let _0x152d62=_0x198d0f[_0x4b7458]['mute_at'][_0x5cd00a(0x211)](':');console['log'](_0x5cd00a(0x222)+_0x198d0f[_0x4b7458][_0x5cd00a(0xfe)]+_0x5cd00a(0x1e8)+_0x152d62[0x0]+_0x5cd00a(0x168)+_0x152d62[0x1]),_0x4195e4[_0x5cd00a(0x14d)](_0x152d62[0x1]+'\x20'+_0x152d62[0x0]+_0x5cd00a(0x19d),async()=>{const _0xa5bf10=_0x5cd00a;try{await _0x3068e2[_0xa5bf10(0x100)](_0x198d0f[_0x4b7458]['group_id'],'announcement'),_0x3068e2['sendMessage'](_0x198d0f[_0x4b7458]['group_id'],{'image':{'url':_0xa5bf10(0x161)},'caption':_0xa5bf10(0x1e6)});}catch(_0x2acfc8){console[_0xa5bf10(0x109)](_0x2acfc8);}},{'timezone':'Africa/Abidjan'});}if(_0x198d0f[_0x4b7458][_0x5cd00a(0x145)]!=null){let _0xf3788c=_0x198d0f[_0x4b7458]['unmute_at']['split'](':');console['log'](_0x5cd00a(0x1ba)+_0xf3788c[0x0]+_0x5cd00a(0x168)+_0xf3788c[0x1]+'\x20'),_0x4195e4['schedule'](_0xf3788c[0x1]+'\x20'+_0xf3788c[0x0]+'\x20*\x20*\x20*',async()=>{const _0x45ee71=_0x5cd00a;try{await _0x3068e2[_0x45ee71(0x100)](_0x198d0f[_0x4b7458][_0x45ee71(0xfe)],'not_announcement'),_0x3068e2[_0x45ee71(0x1dc)](_0x198d0f[_0x4b7458][_0x45ee71(0xfe)],{'image':{'url':_0x45ee71(0x161)},'caption':_0x45ee71(0x22c)});}catch(_0x52dffc){console['log'](_0x52dffc);}},{'timezone':_0x5cd00a(0x130)});}}else console['log']('Les\x20crons\x20n\x27ont\x20pas\x20été\x20activés');return;}}connectToWhatsapp();const express=require(a66_0x531ef9(0x1fa)),port=process['env'][a66_0x531ef9(0x154)]||0xbb8,app=express();app[a66_0x531ef9(0x115)]('/',(_0x436d5e,_0x28c11f)=>{const _0x58e77c=a66_0x531ef9;_0x28c11f[_0x58e77c(0x194)](_0x58e77c(0x224));}),app[a66_0x531ef9(0xfb)](port,()=>{const _0x39b567=a66_0x531ef9;console[_0x39b567(0x109)](_0x39b567(0x20b)+port);});