Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


	(function(_0x252b26,_0x598b15){
	const _0x246cb6=_0x1bb0,_0x3f5468=_0x252b26();
		while(!![]){
			try{
			const _0xaf0f3a=-parseInt(_0x246cb6(0xcc))/0x1*(parseInt(_0x246cb6(0xe0))/0x2)+-parseInt(_0x246cb6(0xe2))/0x3+-parseInt(_0x246cb6(0x11b))/0x4+-parseInt(_0x246cb6(0x10f))/0x5*(-parseInt(_0x246cb6(0xf7))/0x6)+-parseInt(_0x246cb6(0x137))/0x7*(parseInt(_0x246cb6(0x109))/0x8)+parseInt(_0x246cb6(0x11e))/0x9*(-parseInt(_0x246cb6(0xf8))/0xa)+parseInt(_0x246cb6(0xe7))/0xb*(parseInt(_0x246cb6(0x108))/0xc);
			if(_0xaf0f3a===_0x598b15)break;
			else _0x3f5468['push'](_0x3f5468['shift']());
		}
			catch(_0x13256d){
			_0x3f5468['push'](_0x3f5468['shift']());
		}
	}
}
	(_0x11be,0xad5bf),function(_0x90990e,_0x107ca4){
	const _0x2eca33=_0x1bb0,_0x4920e7=_0x92b2,_0x633dae=_0x90990e();
		while(!![]){
			try{
			const _0x13c79a=-parseInt(_0x4920e7(0x175))/0x1+-parseInt(_0x4920e7(0x160))/0x2+parseInt(_0x4920e7(0x15d))/0x3*(-parseInt(_0x4920e7(0x16d))/0x4)+-parseInt(_0x4920e7(0x1ab))/0x5+-parseInt(_0x4920e7(0x197))/0x6*(parseInt(_0x4920e7(0x187))/0x7)+parseInt(_0x4920e7(0x18e))/0x8+parseInt(_0x4920e7(0x16c))/0x9;
			if(_0x13c79a===_0x107ca4)break;
			else _0x633dae[_0x2eca33(0x12d)](_0x633dae['shift']());
		}
			catch(_0x3f5122){
			_0x633dae[_0x2eca33(0x12d)](_0x633dae[_0x2eca33(0xec)]());
		}
	}
}
(_0x258b,0x46429));
const z=H;
	(function(_0x425ad4,_0x57ea89){
	const _0x10111a=_0x1bb0,_0x59dc43=_0x92b2,_0x58b455=H,_0x449f0f=_0x425ad4();
		while(!![]){
			try{
			const _0x1c3282=-parseInt(_0x58b455(0x185))/0x1+parseInt(_0x58b455(0x174))/0x2+parseInt(_0x58b455(0x181))/0x3+parseInt(_0x58b455(0x143))/0x4+parseInt(_0x58b455(0x123))/0x5+-parseInt(_0x58b455(0x165))/0x6*(-parseInt(_0x58b455(0x16a))/0x7)+-parseInt(_0x58b455(0x134))/0x8;
			if(_0x1c3282===_0x57ea89)break;
			else _0x449f0f[_0x10111a(0x12d)](_0x449f0f[_0x59dc43(0x15f)]());
		}
			catch(_0x2f7388){
			_0x449f0f[_0x59dc43(0x193)](_0x449f0f[_0x59dc43(0x15f)]());
		}
	}
}
(i,0xd00d0));
	const {
	Boom
}
	=require(z(0x144)),{
	default:makeWASocket,Browsers,fetchLatestBaileysVersion,useMultiFileAuthState,makeCacheableSignalKeyStore,DisconnectReason
}
=require(z(0x130)),QRCode=require(z(0x17b)),fs=require('fs');
	function i(){
	const _0x45c2a1=_0x1bb0,_0x4d7493=_0x92b2,_0x31e4b9=[_0x4d7493(0x143),_0x4d7493(0x151),'./lib/helper',_0x4d7493(0x189),_0x45c2a1(0xf3),_0x4d7493(0x1a2),_0x4d7493(0x150),_0x4d7493(0x167),_0x4d7493(0x18d),_0x4d7493(0x195),_0x4d7493(0x163),_0x4d7493(0x17d),_0x4d7493(0x194),_0x45c2a1(0x101),_0x4d7493(0x158),_0x45c2a1(0x10e),_0x4d7493(0x14e),_0x4d7493(0x19f),_0x4d7493(0x19c),_0x4d7493(0x146),_0x4d7493(0x17a),_0x4d7493(0x18b),_0x4d7493(0x166),_0x4d7493(0x178),_0x4d7493(0x181),_0x4d7493(0x15c),_0x4d7493(0x161),_0x45c2a1(0x113),_0x4d7493(0x183),_0x45c2a1(0x138),_0x4d7493(0x198),_0x4d7493(0x1a9),_0x4d7493(0x17f),_0x4d7493(0x169),_0x4d7493(0x152),_0x4d7493(0x1a0),_0x45c2a1(0x130),_0x4d7493(0x190),_0x4d7493(0x192),_0x45c2a1(0x119),_0x4d7493(0x1a1),_0x45c2a1(0x115),_0x4d7493(0x179),'length',_0x4d7493(0x1ad),_0x4d7493(0x19a),_0x4d7493(0x14b),_0x4d7493(0x173),_0x4d7493(0x186),_0x4d7493(0x177),_0x45c2a1(0x126),_0x4d7493(0x188),_0x4d7493(0x144),_0x4d7493(0x16a),_0x4d7493(0x1a5),_0x4d7493(0x185),_0x4d7493(0x14f),'Method Not Allowed',_0x4d7493(0x199),_0x45c2a1(0x13e),_0x4d7493(0x14d),_0x4d7493(0x1a6),_0x4d7493(0x168),_0x4d7493(0x165),_0x4d7493(0x1a8),_0x4d7493(0x172),_0x45c2a1(0xe8),_0x4d7493(0x184),_0x4d7493(0x176),_0x4d7493(0x147),_0x45c2a1(0x12b),_0x4d7493(0x148),_0x4d7493(0x1a7),_0x4d7493(0x153),_0x45c2a1(0x12a),_0x4d7493(0x19d),_0x45c2a1(0xd1),_0x4d7493(0x1ac),_0x4d7493(0x18a),_0x4d7493(0x191),_0x4d7493(0x159),_0x45c2a1(0xd2),_0x4d7493(0x18f),_0x4d7493(0x14c),_0x45c2a1(0x132),_0x45c2a1(0xea),', isLatest: ',_0x45c2a1(0xee),'creds.update',_0x4d7493(0x15e),_0x4d7493(0x16b),_0x4d7493(0x145),_0x4d7493(0x17e),_0x45c2a1(0xdc),_0x4d7493(0x162),_0x4d7493(0x18c),_0x4d7493(0x182),_0x4d7493(0x1a4),_0x4d7493(0x15a),_0x4d7493(0x17c),_0x45c2a1(0xff),_0x4d7493(0x164),_0x4d7493(0x17b),_0x4d7493(0x16f),_0x4d7493(0x171),_0x4d7493(0x15b),'Time out, please refresh page',_0x4d7493(0x16e),_0x45c2a1(0x129),_0x4d7493(0x154),_0x4d7493(0x170),_0x4d7493(0x14a),_0x4d7493(0x156),_0x4d7493(0x180),_0x4d7493(0x149),_0x4d7493(0x1aa),'Connected',_0x4d7493(0x1a3),_0x4d7493(0x196),_0x4d7493(0x157),_0x45c2a1(0xd6),_0x4d7493(0x155),_0x4d7493(0x174),_0x4d7493(0x19e),_0x4d7493(0x19b),'send',_0x45c2a1(0xeb)];
		return i=function(){
		return _0x31e4b9;
	}
	,i();
}
let sock=[],qrcode=[],pairingCode=[],intervalStore=[];
	const {
	setStatus
}
	=require(z(0x14a)),{
	IncomingMessage
}
	=require(z(0x129)),{
	formatReceipt,getSavedPhoneNumber
}
	=require(z(0x168)),MAIN_LOGGER=require(z(0x156)),NodeCache=require(z(0x148)),logger=MAIN_LOGGER[z(0x160)]({
}
	),msgRetryCounterCache=new NodeCache(),connectToWhatsApp=async(_0x171bf1,_0x3f1745=null,_0x5f07f0=![])=>{
	const _0x4f1128=z;
		if(typeof qrcode[_0x171bf1]!==_0x4f1128(0x163)&&!_0x5f07f0)return _0x3f1745?.[_0x4f1128(0x149)](_0x4f1128(0x17b),{
		'token':_0x171bf1,'data':qrcode[_0x171bf1],'message':_0x4f1128(0x125)
	}
		),{
		'status':![],'sock':sock[_0x171bf1],'qrcode':qrcode[_0x171bf1],'message':_0x4f1128(0x176)
	};
		if(typeof pairingCode[_0x171bf1]!==_0x4f1128(0x163)&&_0x5f07f0)return _0x3f1745?.[_0x4f1128(0x149)](_0x4f1128(0x117),{
		'token':_0x171bf1,'data':pairingCode[_0x171bf1],'message':_0x4f1128(0x186)
	}
		),{
		'status':![],'code':pairingCode[_0x171bf1],'message':_0x4f1128(0x170)
	};
		try{
		let _0x464de4=sock[_0x171bf1][_0x4f1128(0x12a)]['id'][_0x4f1128(0x15a)](':');
		_0x464de4=_0x464de4[0x0]+_0x4f1128(0x15f);
		const _0x1c6f1c=await getPpUrl(_0x171bf1,_0x464de4);
			return _0x3f1745?.[_0x4f1128(0x149)](_0x4f1128(0x150),{
			'token':_0x171bf1,'user':sock[_0x171bf1][_0x4f1128(0x12a)],'ppUrl':_0x1c6f1c
		}
			),delete qrcode[_0x171bf1],delete pairingCode[_0x171bf1],{
			'status':!![],'message':_0x4f1128(0x16f)
		};
	}
		catch(_0x23105d){
			_0x3f1745?.[_0x4f1128(0x149)](_0x4f1128(0x15c),{
			'token':_0x171bf1,'message':_0x4f1128(0x18d)
		}
		);
	}
		const {
		version:_0x2d666b,isLatest:_0x349ec7
	}
	=await fetchLatestBaileysVersion();
	console[_0x4f1128(0x155)](_0x4f1128(0x179)),console[_0x4f1128(0x155)](_0x4f1128(0x140)+_0x2d666b[_0x4f1128(0x182)]()+_0x4f1128(0x13d)+_0x349ec7);
		const {
		state:_0x5f0573,saveCreds:_0x566838
	}
	=await useMultiFileAuthState(_0x4f1128(0x142)+_0x171bf1);
		sock[_0x171bf1]=makeWASocket({
			'version':_0x2d666b,'browser':Browsers[_0x4f1128(0x141)](_0x4f1128(0x18b),_0x4f1128(0x121)),'logger':logger,'printQRInTerminal':![],'auth':{
			'creds':_0x5f0573[_0x4f1128(0x136)],'keys':makeCacheableSignalKeyStore(_0x5f0573[_0x4f1128(0x18a)],logger)
		}
		,'msgRetryCounterCache':msgRetryCounterCache,'generateHighQualityLinkPreview':!![]
	}
	);
		if(_0x5f07f0&&'me'in _0x5f0573[_0x4f1128(0x136)]===![]){
		const _0x2c664e=await getSavedPhoneNumber(_0x171bf1);
			try{
			const _0x10095f=await sock[_0x171bf1][_0x4f1128(0x11c)](_0x2c664e);
			pairingCode[_0x171bf1]=_0x10095f;
		}
			catch(_0x18c955){
				_0x3f1745?.[_0x4f1128(0x149)](_0x4f1128(0x15c),{
				'token':_0x171bf1,'message':_0x4f1128(0x151)
			}
			);
		}
			_0x3f1745?.[_0x4f1128(0x149)](_0x4f1128(0x117),{
			'token':_0x171bf1,'data':pairingCode[_0x171bf1],'message':_0x4f1128(0x186)
		}
		);
	}
		return sock[_0x171bf1]['ev'][_0x4f1128(0x175)](async _0x702b9c=>{
		const _0x293d49=_0x4f1128;
			if(_0x702b9c[_0x293d49(0x161)]){
				const _0x51eb41=_0x702b9c[_0x293d49(0x161)],{
				connection:_0x62eaa2,lastDisconnect:_0x53def9,qr:_0x289bee
			}
			=_0x51eb41;
				if(_0x62eaa2===_0x293d49(0x16b)){
				const _0x3662e4=_0x53def9[_0x293d49(0x188)]?.[_0x293d49(0x135)]?.[_0x293d49(0x132)]?.[_0x293d49(0x15c)],_0x39807d=_0x53def9[_0x293d49(0x188)]?.[_0x293d49(0x135)]?.[_0x293d49(0x132)]?.[_0x293d49(0x188)];
					if((_0x53def9?.[_0x293d49(0x188)]instanceof Boom)?.[_0x293d49(0x135)]?.[_0x293d49(0x17d)]!==DisconnectReason[_0x293d49(0x137)]){
						delete qrcode[_0x171bf1],_0x3f1745?.[_0x293d49(0x149)](_0x293d49(0x15c),{
						'token':_0x171bf1,'message':_0x293d49(0x166)
					}
					);
						if(_0x3662e4==_0x293d49(0x147)){
							sock[_0x171bf1]['ws'][_0x293d49(0x16b)](),delete qrcode[_0x171bf1],delete pairingCode[_0x171bf1],delete sock[_0x171bf1],_0x3f1745?.[_0x293d49(0x149)](_0x293d49(0x15c),{
							'token':_0x171bf1,'message':_0x293d49(0x158)
						}
						);
						return;
					}
					(_0x39807d===_0x293d49(0x128)||_0x39807d===_0x293d49(0x120))&&(setStatus(_0x171bf1,_0x293d49(0x184)),clearConnection(_0x171bf1),connectToWhatsApp(_0x171bf1,_0x3f1745)),_0x3662e4===_0x293d49(0x154)&&connectToWhatsApp(_0x171bf1,_0x3f1745),_0x3662e4===_0x293d49(0x119)&&delete sock[_0x171bf1];
				}
					else setStatus(_0x171bf1,_0x293d49(0x184)),console[_0x293d49(0x155)](_0x293d49(0x14f)),_0x3f1745?.[_0x293d49(0x149)](_0x293d49(0x15c),{
					'token':_0x171bf1,'message':_0x293d49(0x14f)
				}
				),clearConnection(_0x171bf1),connectToWhatsApp(_0x171bf1,_0x3f1745);
			}
				_0x289bee&&(console[_0x293d49(0x155)](_0x293d49(0x171),_0x171bf1),QRCode[_0x293d49(0x167)](_0x289bee,function(_0x1f6b67,_0x21a49a){
				const _0x5ef5da=_0x293d49;
				if(_0x1f6b67)console[_0x5ef5da(0x155)](_0x1f6b67);
				qrcode[_0x171bf1]=_0x21a49a,connectToWhatsApp(_0x171bf1,_0x3f1745,_0x5f07f0);
			}
			));
				if(_0x62eaa2===_0x293d49(0x145)){
				console[_0x293d49(0x155)](_0x293d49(0x173)),setStatus(_0x171bf1,_0x293d49(0x15b)),delete qrcode[_0x171bf1],delete pairingCode[_0x171bf1];
				let _0x1b9c7f=sock[_0x171bf1][_0x293d49(0x12a)]['id'][_0x293d49(0x15a)](':');
				_0x1b9c7f=_0x1b9c7f[0x0]+_0x293d49(0x15f);
				const _0x35dd16=await getPpUrl(_0x171bf1,_0x1b9c7f);
					_0x3f1745?.[_0x293d49(0x149)](_0x293d49(0x150),{
					'token':_0x171bf1,'user':sock[_0x171bf1][_0x293d49(0x12a)],'ppUrl':_0x35dd16
				}
				),delete qrcode[_0x171bf1],delete pairingCode[_0x171bf1];
			}
		}
			if(_0x702b9c[_0x293d49(0x13f)]){
			const _0xb3c379=_0x702b9c[_0x293d49(0x13f)];
			_0x566838(_0xb3c379);
		}
			if(_0x702b9c[_0x293d49(0x192)]){
			const _0x48810a=_0x702b9c[_0x293d49(0x192)];
			IncomingMessage(_0x48810a,sock[_0x171bf1]);
		}
	}
		),{
		'sock':sock[_0x171bf1],'qrcode':qrcode[_0x171bf1]
	};
};
	async function connectWaBeforeSend(_0x21e22f){
	const _0x118a61=z;
	let _0x44dc39=undefined,_0x19321;
		_0x19321=await connectToWhatsApp(_0x21e22f),await _0x19321[_0x118a61(0x178)]['ev']['on'](_0x118a61(0x161),_0x5a6f63=>{
			const _0x324d06=_0x118a61,{
			connection:_0x57b269,qr:_0x55dab3
		}
		=_0x5a6f63;
		_0x57b269===_0x324d06(0x145)&&(_0x44dc39=!![]),_0x55dab3&&(_0x44dc39=![]);
	}
	);
	let _0x50f272=0x0;
		while(typeof _0x44dc39===_0x118a61(0x163)){
		_0x50f272++;
		if(_0x50f272>0x4)break;
		await new Promise(_0x50b52c=>setTimeout(_0x50b52c,0x3e8));
	}
	return _0x44dc39;
}
	const sendText=async(_0x2ff67c,_0x515554,_0x464068)=>{
	const _0xf2fce3=z;
		try{
			const _0xe8fb83=await sock[_0x2ff67c][_0xf2fce3(0x16e)](formatReceipt(_0x515554),{
			'text':_0x464068
		}
		);
		return _0xe8fb83;
	}
		catch(_0x153bd1){
		return![];
	}
}
	,sendMessage=async(_0x4d0b3b,_0x5522a1,_0x2b364b)=>{
	const _0x31e1b4=z;
		try{
		const _0x1713bf=await sock[_0x4d0b3b][_0x31e1b4(0x16e)](formatReceipt(_0x5522a1),JSON[_0x31e1b4(0x116)](_0x2b364b));
		return _0x1713bf;
	}
		catch(_0x5ef866){
		return![];
	}
};
	async function sendMedia(_0x459d11,_0xcb40a8,_0xd6d76,_0x1e1cac,_0x560791,_0x119fe5,_0x55d887){
	const _0x4744e9=z,_0x26fe07=formatReceipt(_0xcb40a8);
		try{
			if(_0xd6d76==_0x4744e9(0x157))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
				'image':_0x1e1cac?{
				'url':_0x1e1cac
			}
			:fs[_0x4744e9(0x152)](_0x4744e9(0x11d)+fileName),'caption':_0x560791?_0x560791:null
		}
		);
			else{
				if(_0xd6d76==_0x4744e9(0x13b))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
					'video':_0x1e1cac?{
					'url':_0x1e1cac
				}
				:fs[_0x4744e9(0x152)](_0x4744e9(0x11d)+_0x55d887),'caption':_0x560791?_0x560791:null
			}
			);
				else{
					if(_0xd6d76==_0x4744e9(0x13e))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
						'audio':_0x1e1cac?{
						'url':_0x1e1cac
					}
					:fs[_0x4744e9(0x152)](_0x4744e9(0x11d)+_0x55d887),'ptt':_0x119fe5==0x0?![]:!![],'mimetype':_0x4744e9(0x187)
				}
				);
					else{
						if(_0xd6d76==_0x4744e9(0x146))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
							'document':{
							'url':_0x1e1cac
						}
						,'mimetype':_0x4744e9(0x17e),'fileName':_0x55d887+_0x4744e9(0x118)
					}
						,{
						'url':_0x1e1cac
					}
					);
						else{
							if(_0xd6d76==_0x4744e9(0x15e))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
								'document':{
								'url':_0x1e1cac
							}
							,'mimetype':_0x4744e9(0x115),'fileName':_0x55d887+_0x4744e9(0x14b)
						}
							,{
							'url':_0x1e1cac
						}
						);
							else{
								if(_0xd6d76==_0x4744e9(0x12e))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
									'document':{
									'url':_0x1e1cac
								}
								,'mimetype':_0x4744e9(0x169),'fileName':_0x55d887+_0x4744e9(0x14d)
							}
								,{
								'url':_0x1e1cac
							}
							);
								else{
									if(_0xd6d76==_0x4744e9(0x12b))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
										'document':{
										'url':_0x1e1cac
									}
									,'mimetype':_0x4744e9(0x14c),'fileName':_0x55d887+_0x4744e9(0x190)
								}
									,{
									'url':_0x1e1cac
								}
								);
									else{
										if(_0xd6d76==_0x4744e9(0x18e))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
											'document':{
											'url':_0x1e1cac
										}
										,'mimetype':_0x4744e9(0x11f),'fileName':_0x55d887+_0x4744e9(0x17a)
									}
										,{
										'url':_0x1e1cac
									}
									);
										else{
											if(_0xd6d76==_0x4744e9(0x12f))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
												'document':{
												'url':_0x1e1cac
											}
											,'mimetype':_0x4744e9(0x12d),'fileName':_0x55d887+_0x4744e9(0x15d)
										}
											,{
											'url':_0x1e1cac
										}
										);
											else{
												if(_0xd6d76==_0x4744e9(0x11b))var _0x5be766=await sock[_0x459d11][_0x4744e9(0x16e)](_0x26fe07,{
													'document':{
													'url':_0x1e1cac
												}
												,'mimetype':_0x4744e9(0x17f)
											}
												,{
												'url':_0x1e1cac
											}
											);
												else return console[_0x4744e9(0x155)](_0x4744e9(0x162)),{
												'error':!![],'message':_0x4744e9(0x162)
											};
										}
									}
								}
							}
						}
					}
				}
			}
		}
		return _0x5be766;
	}
		catch(_0x5ca445){
		return![];
	}
}
	async function sendButtonMessage(_0x5c5e8b,_0x80d39a,_0x19dae6,_0x4dec7c,_0x8f47c9,_0x29a81a){
	const _0x5a89c1=z;
	let _0x1edad6=_0x5a89c1(0x16d);
		try{
			const _0x4ba2a7=_0x19dae6[_0x5a89c1(0x127)]((_0x156cfc,_0x12c7f1)=>{
			const _0x31b191=_0x5a89c1;
				return{
					'buttonId':_0x12c7f1,'buttonText':{
					'displayText':_0x156cfc[_0x31b191(0x126)]
				}
				,'type':0x1
			};
		}
		);
			if(_0x29a81a)var _0x2fb2e5={
				'image':_0x1edad6==_0x5a89c1(0x16d)?{
				'url':_0x29a81a
			}
			:fs[_0x5a89c1(0x152)](_0x5a89c1(0x11d)+_0x29a81a),'caption':_0x4dec7c,'footer':_0x8f47c9,'buttons':_0x4ba2a7,'headerType':0x4,'viewOnce':!![]
		};
			else var _0x2fb2e5={
			'text':_0x4dec7c,'footer':_0x8f47c9,'buttons':_0x4ba2a7,'headerType':0x1,'viewOnce':!![]
		};
		const _0x18f468=await sock[_0x5c5e8b][_0x5a89c1(0x16e)](formatReceipt(_0x80d39a),_0x2fb2e5);
		return _0x18f468;
	}
		catch(_0x4fb834){
		return console[_0x5a89c1(0x155)](_0x4fb834),![];
	}
}
	async function sendTemplateMessage(_0x2cf02a,_0x48774b,_0x514dff,_0x426722,_0xf31977,_0x64fb17){
	const _0xa14d1f=z;
		try{
			if(_0x64fb17)var _0x48d63b={
				'caption':_0x426722,'footer':_0xf31977,'viewOnce':!![],'templateButtons':_0x514dff,'image':{
				'url':_0x64fb17
			}
			,'viewOnce':!![]
		};
			else var _0x48d63b={
			'text':_0x426722,'footer':_0xf31977,'viewOnce':!![],'templateButtons':_0x514dff
		};
		const _0x5301dd=await sock[_0x2cf02a][_0xa14d1f(0x16e)](formatReceipt(_0x48774b),_0x48d63b);
		return _0x5301dd;
	}
		catch(_0x1e5e61){
		return console[_0xa14d1f(0x155)](_0x1e5e61),![];
	}
}
	function _0x92b2(_0x38d706,_0x4b25a4){
	const _0x723348=_0x258b();
		return _0x92b2=function(_0x2687e5,_0x5e1ca3){
		_0x2687e5=_0x2687e5-0x143;
		let _0x4bb853=_0x723348[_0x2687e5];
		return _0x4bb853;
	}
	,_0x92b2(_0x38d706,_0x4b25a4);
}
	async function sendListMessage(_0x5f3ba9,_0x3af2f7,_0x6f56cd,_0x55e254,_0x17275b,_0x38c2d8,_0x2e2789){
	const _0x1cb93a=z;
		try{
			const _0x33560c={
			'text':_0x55e254,'footer':_0x17275b,'title':_0x38c2d8,'buttonText':_0x2e2789,'sections':[_0x6f56cd],'viewOnce':!![]
		}
			,_0x491ecf=await sock[_0x5f3ba9][_0x1cb93a(0x16e)](formatReceipt(_0x3af2f7),_0x33560c,{
			'ephemeralExpiration':0x93a80
		}
		);
		return _0x491ecf;
	}
		catch(_0x5adac6){
		return console[_0x1cb93a(0x155)](_0x5adac6),![];
	}
}
	function H(_0x361a66,_0x4a0f1d){
	const _0x1f717a=i();
		return H=function(_0x2acb9e,_0x4774c3){
		_0x2acb9e=_0x2acb9e-0x115;
		let _0x37ef48=_0x1f717a[_0x2acb9e];
		return _0x37ef48;
	}
	,H(_0x361a66,_0x4a0f1d);
}
	async function sendPollMessage(_0x1144ac,_0x4114f7,_0x151fa1,_0x22edf2,_0x33c2c5){
	const _0x2828cc=z;
		try{
			const _0x3db04d=await sock[_0x1144ac][_0x2828cc(0x16e)](formatReceipt(_0x4114f7),{
				'poll':{
				'name':_0x151fa1,'values':_0x22edf2,'selectableCount':_0x33c2c5
			}
		}
		);
		return _0x3db04d;
	}
		catch(_0xd1fa79){
		return console[_0x2828cc(0x155)](_0xd1fa79),![];
	}
}
	async function fetchGroups(_0x5177ff){
	const _0x52c603=z;
		try{
		let _0x4ea92a=await sock[_0x5177ff][_0x52c603(0x18f)](),_0x425480=Object[_0x52c603(0x189)](_0x4ea92a)[_0x52c603(0x11e)](0x0)[_0x52c603(0x127)](_0x4ac458=>_0x4ac458[0x1]);
		return _0x425480;
	}
		catch(_0x23b6b7){
		return![];
	}
}
	async function isExist(_0x1f0f8a,_0x2c58a3){
	const _0xdf0f79=z;
		try{
			if(typeof sock[_0x1f0f8a]===_0xdf0f79(0x163)){
			const _0x483caa=await connectWaBeforeSend(_0x1f0f8a);
			if(!_0x483caa)return![];
		}
		if(_0x2c58a3[_0xdf0f79(0x138)](_0xdf0f79(0x12c)))return!![];
			else{
			const [_0x2ac7f4]=await sock[_0x1f0f8a][_0xdf0f79(0x180)]('+'+_0x2c58a3);
			return _0x2c58a3[_0xdf0f79(0x191)]>0xb?_0x2ac7f4:!![];
		}
	}
		catch(_0x332815){
		return![];
	}
}
	async function getPpUrl(_0xc26e45,_0x5d1e1a,_0x55573b){
	const _0x492cf0=z;
	let _0x116fc8;
		try{
		return _0x116fc8=await sock[_0xc26e45][_0x492cf0(0x13a)](_0x5d1e1a),_0x116fc8;
	}
		catch(_0x58022a){
		return _0x492cf0(0x11a);
	}
}
	async function deleteCredentials(_0x824e5c,_0x26a1d6=null){
	const _0x5530e8=z;
		_0x26a1d6!==null&&_0x26a1d6[_0x5530e8(0x149)](_0x5530e8(0x15c),{
		'token':_0x824e5c,'message':_0x5530e8(0x14e)
	}
	);
		try{
			if(typeof sock[_0x824e5c]===_0x5530e8(0x163)){
			const _0x264cc2=await connectWaBeforeSend(_0x824e5c);
			_0x264cc2&&(sock[_0x824e5c][_0x5530e8(0x139)](),delete sock[_0x824e5c]);
		}
		else sock[_0x824e5c][_0x5530e8(0x139)](),delete sock[_0x824e5c];
			return delete qrcode[_0x824e5c],clearInterval(intervalStore[_0x824e5c]),setStatus(_0x824e5c,_0x5530e8(0x184)),_0x26a1d6!=null&&(_0x26a1d6[_0x5530e8(0x149)](_0x5530e8(0x128),_0x824e5c),_0x26a1d6[_0x5530e8(0x149)](_0x5530e8(0x15c),{
			'token':_0x824e5c,'message':_0x5530e8(0x14f)
		}
			)),fs[_0x5530e8(0x131)](_0x5530e8(0x142)+_0x824e5c)&&fs[_0x5530e8(0x153)](_0x5530e8(0x142)+_0x824e5c,{
			'recursive':!![],'force':!![]
		}
			,_0x51b0c6=>{
			const _0x1b174c=_0x5530e8;
			if(_0x51b0c6)console[_0x1b174c(0x155)](_0x51b0c6);
		}
			),{
			'status':!![],'message':_0x5530e8(0x16c)
		};
	}
		catch(_0x5ea061){
			return console[_0x5530e8(0x155)](_0x5ea061),{
			'status':!![],'message':_0x5530e8(0x172)
		};
	}
}
	function clearConnection(_0x29929f){
	const _0x32caa1=z;
		clearInterval(intervalStore[_0x29929f]),delete sock[_0x29929f],delete qrcode[_0x29929f],setStatus(_0x29929f,_0x32caa1(0x184)),fs[_0x32caa1(0x131)](_0x32caa1(0x142)+_0x29929f)&&(fs[_0x32caa1(0x153)](_0x32caa1(0x142)+_0x29929f,{
		'recursive':!![],'force':!![]
	}
		,_0x12d269=>{
		const _0x5b34ef=_0x32caa1;
		if(_0x12d269)console[_0x5b34ef(0x155)](_0x12d269);
	}
	),console[_0x32caa1(0x155)](_0x32caa1(0x13c)+_0x29929f+_0x32caa1(0x18c)));
}
	function _0x1bb0(_0x432a06,_0x4bfa39){
	const _0x11be8a=_0x11be();
		return _0x1bb0=function(_0x1bb00c,_0x296a1){
		_0x1bb00c=_0x1bb00c-0xcc;
		let _0x47a634=_0x11be8a[_0x1bb00c];
		return _0x47a634;
	}
	,_0x1bb0(_0x432a06,_0x4bfa39);
}
	function _0x258b(){
	const _0x4c61c5=_0x1bb0,_0x4228ca=[_0x4c61c5(0xf9),_0x4c61c5(0xe9),_0x4c61c5(0xd7),'emit','connection-open',_0x4c61c5(0x133),_0x4c61c5(0x11c),_0x4c61c5(0xcf),_0x4c61c5(0xec),_0x4c61c5(0x13b),_0x4c61c5(0xda),'open',_0x4c61c5(0xde),_0x4c61c5(0x10c),_0x4c61c5(0x100),_0x4c61c5(0xfc),'url',_0x4c61c5(0x12c),_0x4c61c5(0x112),_0x4c61c5(0xf1),_0x4c61c5(0x121),_0x4c61c5(0xf2),_0x4c61c5(0xe1),_0x4c61c5(0x131),_0x4c61c5(0x127),'log',_0x4c61c5(0xfa),'Unauthorized',_0x4c61c5(0x13f),_0x4c61c5(0x12e),_0x4c61c5(0x13a),'doc',_0x4c61c5(0xdf),_0x4c61c5(0x10d),_0x4c61c5(0x110),'.docx',_0x4c61c5(0x13c),_0x4c61c5(0xfe),_0x4c61c5(0x117),_0x4c61c5(0x123),'Go to whatsapp -> link device -> link with phone number, and pairing with this code.','Request QR ended. reload web to scan again',_0x4c61c5(0xfb),_0x4c61c5(0x118),'join',_0x4c61c5(0xd3),_0x4c61c5(0x120),_0x4c61c5(0x136),_0x4c61c5(0x105),_0x4c61c5(0xf0),_0x4c61c5(0xe6),_0x4c61c5(0x122),_0x4c61c5(0xf5),_0x4c61c5(0xd9),_0x4c61c5(0xed),_0x4c61c5(0xce),_0x4c61c5(0xf4),_0x4c61c5(0x142),_0x4c61c5(0x10b),_0x4c61c5(0xdd),_0x4c61c5(0x12d),_0x4c61c5(0x141),_0x4c61c5(0xe5),_0x4c61c5(0x134),_0x4c61c5(0x140),_0x4c61c5(0xd8),'Mpedia',_0x4c61c5(0x124),_0x4c61c5(0xdb),_0x4c61c5(0x135),_0x4c61c5(0x125),_0x4c61c5(0x114),_0x4c61c5(0x11f),_0x4c61c5(0x12f),_0x4c61c5(0xfd),_0x4c61c5(0x102),_0x4c61c5(0x107),_0x4c61c5(0xd5),_0x4c61c5(0x106),_0x4c61c5(0x13d),_0x4c61c5(0xd0),_0x4c61c5(0xe4),_0x4c61c5(0xcd),'split','2673690tNnkjc',_0x4c61c5(0x139),_0x4c61c5(0x128),_0x4c61c5(0x111),_0x4c61c5(0x11a),_0x4c61c5(0xe3),'You re using whatsapp gateway M Pedia v6.1.0 - Contact admin if any trouble : 6292298859671',_0x4c61c5(0x104),_0x4c61c5(0xf6),_0x4c61c5(0xef),_0x4c61c5(0x10a),_0x4c61c5(0x103),'profilePictureUrl',_0x4c61c5(0x11d),'please scan','application/vnd.openxmlformats-officedocument.wordprocessingml.document',_0x4c61c5(0x116),'toDataURL','error','@whiskeysockets/baileys',_0x4c61c5(0xd4),'child','image'];
		return _0x258b=function(){
		return _0x4228ca;
	}
	,_0x258b();
}
	function _0x11be(){
	const _0x61be7d=['1567090rtrbhT','566208GbxtMr','using WA v','zip',' connection failed','includes','user','Stream Errored (restart required)','node-cache','@s.whatsapp.net','loggedOut','Disconnect','pdf','onWhatsApp','undefined','@hapi/boom',' is deleted','pairing with that code','.pdf','33326ciihmR','244916hInoEd','1872099yvsEYE','./credentials/','map','Already connected','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','34530782LzpbDP','./controllers/incomingMessage','2488360zrPXPK','credentials/','9413934COsiAY','shift','sendMessage','audio','json','https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/WhatsApp.svg/1200px-WhatsApp.svg.png','requestPairingCode','20725803AIHXDr','7oCkcyf','logout','qrcode','xlsx','498JPAKBO','10WUQzhI','xls','Connection closed. You are logged out.','application/pdf','body','docx','./database/index','.xls','displayText','OPEN OPEN OPEN','close','application/excel','@g.us','554379dEYNMO','src/public/temp/','message','12OjdEQw','144592VVLmTM','./lib/pino','creds','application/msword','statusCode','process','7850qpZIOk','.doc','Connecting..','audio/mpeg','2271105iDYloA','Please add your won role of mimetype','groupFetchAllParticipating','Deleting session and credential','new qr','QR refs attempts ended','Connecting.. (1)..','mp3','254424EtRMzj','9JLmmeG','6645665nAgKBn','6424884MDJOgA','Wrong Parameterss','slice','macOS','output','5371800ZLfwbe','exports','payload','Connection was lost','Logout Progres..','messages.upsert','rmSync','existsSync','application/zip','please scan with your Whatsapp Accountt','push','connection.update','entries','keys','readFileSync','video','application/mp3','.zip','sock','code','371QzZMiU',' Connection failed,please scan first','30584168fdAhTp','545288ysRXFE','1010714qGrVvs','.xlsx','status',' connection restored','parse','24qiDbUl','Nothing deleted','Chrome','12fPVZdB'];
		_0x11be=function(){
		return _0x61be7d;
	};
	return _0x11be();
}
	async function initialize(_0x3f5bdf,_0x550bfc){
		const _0x385c42=z,{
		token:_0x3147c6
	}
	=_0x3f5bdf[_0x385c42(0x17c)];
		if(_0x3147c6){
		const _0x2ee3b4=require('fs'),_0x4a5327=_0x385c42(0x142)+_0x3147c6;
			if(_0x2ee3b4[_0x385c42(0x131)](_0x4a5327)){
			sock[_0x3147c6]=undefined;
			const _0xc9ab0d=await connectWaBeforeSend(_0x3147c6);
				return _0xc9ab0d?_0x550bfc[_0x385c42(0x124)](0xc8)[_0x385c42(0x159)]({
				'status':!![],'message':_0x3147c6+_0x385c42(0x122)
			}
				):_0x550bfc[_0x385c42(0x124)](0xc8)[_0x385c42(0x159)]({
				'status':![],'message':_0x3147c6+_0x385c42(0x133)
			}
			);
		}
			return _0x550bfc[_0x385c42(0x164)]({
			'status':![],'message':_0x3147c6+_0x385c42(0x183)
		}
		);
	}
		return _0x550bfc[_0x385c42(0x164)]({
		'status':![],'message':_0x385c42(0x177)
	}
	);
}
	module[z(0x193)]={
	'connectToWhatsApp':connectToWhatsApp,'sendText':sendText,'sendMedia':sendMedia,'sendButtonMessage':sendButtonMessage,'sendTemplateMessage':sendTemplateMessage,'sendListMessage':sendListMessage,'sendPollMessage':sendPollMessage,'isExist':isExist,'getPpUrl':getPpUrl,'fetchGroups':fetchGroups,'deleteCredentials':deleteCredentials,'sendMessage':sendMessage,'initialize':initialize,'connectWaBeforeSend':connectWaBeforeSend
};



© 2023 Quttera Ltd. All rights reserved.