UNPKG

gepettobrowser

Version:

Puppeteer-real-browser inspired fork of puppeteer

1 lines 3.33 kB
function a22_0xf1df(){const _0x1374ad=['form','40050prmATe','outerWidth','closest','298955TIpqzO','744048TDZpxe','find','autoSolveLemin','append','28AlbOrE','css','1649229ciOJdh','input[name=lemin_challenge_id]','1386840hgGuoB','divId','apiServer','href','lemin','val','captchaId','Lemin\x20CAPTCHA','getHelper','enabledForLemin','length','367930LoGFIX','register','dataset','1557738nJpRoF'];a22_0xf1df=function(){return _0x1374ad;};return a22_0xf1df();}function a22_0x7e84(_0x377791,_0x5458a3){const _0xf1df4d=a22_0xf1df();return a22_0x7e84=function(_0x7e8443,_0x5af95f){_0x7e8443=_0x7e8443-0x110;let _0x22c9d7=_0xf1df4d[_0x7e8443];return _0x22c9d7;},a22_0x7e84(_0x377791,_0x5458a3);}const a22_0x477060=a22_0x7e84;(function(_0x191ee9,_0x58b9ea){const _0x4cbbe9=a22_0x7e84,_0x41642f=_0x191ee9();while(!![]){try{const _0x5e885c=-parseInt(_0x4cbbe9(0x119))/0x1+parseInt(_0x4cbbe9(0x114))/0x2+-parseInt(_0x4cbbe9(0x123))/0x3+-parseInt(_0x4cbbe9(0x121))/0x4*(-parseInt(_0x4cbbe9(0x11c))/0x5)+-parseInt(_0x4cbbe9(0x11d))/0x6+parseInt(_0x4cbbe9(0x117))/0x7+parseInt(_0x4cbbe9(0x125))/0x8;if(_0x5e885c===_0x58b9ea)break;else _0x41642f['push'](_0x41642f['shift']());}catch(_0x1dc56b){_0x41642f['push'](_0x41642f['shift']());}}}(a22_0xf1df,0x457ae),CaptchaProcessors[a22_0x477060(0x115)]({'captchaType':a22_0x477060(0x129),'canBeProcessed':function(_0x5e92d6,_0x747e5d){const _0x577e5e=a22_0x477060;if(!_0x747e5d[_0x577e5e(0x112)])return![];return!![];},'attachButton':function(_0xfad32a,_0x54907c,_0x5389b0){const _0x36ca75=a22_0x477060;let _0x12dbad=this['getHelper'](_0xfad32a);if(_0x12dbad[_0x36ca75(0x11e)]('.captcha-solver')[_0x36ca75(0x113)]!==0x0)return;_0x5389b0[_0x36ca75(0x122)]({'width':_0x12dbad[_0x36ca75(0x11a)]()+'px'}),_0x5389b0[0x0][_0x36ca75(0x116)]['disposable']=!![],_0x12dbad[_0x36ca75(0x120)](_0x5389b0);},'clickButton':function(_0x2ed53f,_0x384e4b,_0x4d8b65){const _0x148f97=a22_0x477060;if(_0x384e4b[_0x148f97(0x11f)])_0x4d8b65['click']();},'getName':function(_0x1df279,_0x3309c8){const _0x506cfe=a22_0x477060;return _0x506cfe(0x110);},'getParams':function(_0x1e2bbf,_0x5ec2a9){const _0x371f88=a22_0x477060;let _0x778cb2={'method':'lemin','url':location[_0x371f88(0x128)],'captchaId':_0x1e2bbf[_0x371f88(0x12b)],'divId':_0x1e2bbf[_0x371f88(0x126)]};return _0x1e2bbf[_0x371f88(0x127)]&&(_0x778cb2[_0x371f88(0x127)]=_0x1e2bbf[_0x371f88(0x127)]),_0x778cb2;},'getParamsV2':function(_0x53ea06,_0x51fedd){const _0x1c1c2a=a22_0x477060;let _0x39b59e={'type':'LeminTaskProxyless','websiteURL':location['href'],'captchaId':_0x53ea06['captchaId'],'divId':_0x53ea06[_0x1c1c2a(0x126)]};return _0x53ea06[_0x1c1c2a(0x127)]&&(_0x39b59e['leminApiServerSubdomain']=_0x53ea06['apiServer']),_0x39b59e;},'onSolved':function(_0x390aab,{challenge_id:_0x1be746,answer:_0x4bddd8}){const _0x578fc8=a22_0x477060;let _0x1e0b71=this[_0x578fc8(0x111)](_0x390aab);_0x1e0b71['find'](_0x578fc8(0x124))[_0x578fc8(0x12a)](_0x1be746),_0x1e0b71[_0x578fc8(0x11e)]('input[name=lemin_answer]')[_0x578fc8(0x12a)](_0x4bddd8);},'getForm':function(_0x3a8ff2){const _0x289551=a22_0x477060;return this[_0x289551(0x111)](_0x3a8ff2)[_0x289551(0x11b)](_0x289551(0x118));},'getCallback':function(_0x331fa2){return null;},'getHelper':function(_0x2bd32a){const _0x54f4c2=a22_0x477060;let _0x43af7e=$('#'+_0x2bd32a[_0x54f4c2(0x126)]);return _0x43af7e['parent']();}}));