gepettobrowser
Version:
Puppeteer-real-browser inspired fork of puppeteer
1 lines • 5.37 kB
JavaScript
(function(_0x165894,_0x13196b){const _0x517893=a13_0x2a3e,_0x221e87=_0x165894();while(!![]){try{const _0x1926b4=-parseInt(_0x517893(0x11b))/0x1+-parseInt(_0x517893(0x128))/0x2*(-parseInt(_0x517893(0x125))/0x3)+-parseInt(_0x517893(0x118))/0x4+-parseInt(_0x517893(0x117))/0x5*(parseInt(_0x517893(0x11d))/0x6)+parseInt(_0x517893(0x10b))/0x7+-parseInt(_0x517893(0x108))/0x8+parseInt(_0x517893(0x109))/0x9;if(_0x1926b4===_0x13196b)break;else _0x221e87['push'](_0x221e87['shift']());}catch(_0x48bc06){_0x221e87['push'](_0x221e87['shift']());}}}(a13_0xed5b,0x5ad57),((()=>{const _0x3541ef=a13_0x2a3e;let _0xd46cfe;Object[_0x3541ef(0x116)](window,_0x3541ef(0x119),{'get':function(){return _0x582b9a;},'set':function(_0x4aa2e1){_0xd46cfe=_0x4aa2e1;},'configurable':!![]});let _0x582b9a=function(_0x26c33f,_0x137e0b){setTimeout(function(){_0xe6c68(_0x26c33f,_0x137e0b);},0xc8);},_0xe6c68=function(_0x1ed235,_0x682cf1){const _0x2f11bc=_0x3541ef;let _0x5a5e50=function(_0x35bcbe){const _0x15292f=a13_0x2a3e;let _0x31ac32;typeof _0x35bcbe===_0x15292f(0x114)&&_0x35bcbe[0x0]!==undefined&&(_0x35bcbe=_0x35bcbe[0x0]);if(typeof _0x35bcbe===_0x15292f(0x114)&&typeof _0x35bcbe[_0x15292f(0x126)]!==_0x15292f(0x123)){if(_0x35bcbe['id'])_0x31ac32='#'+_0x35bcbe['id'];else{let _0x28485a=document[_0x15292f(0x124)](_0x35bcbe[_0x15292f(0x12b)]);_0x28485a['id']='antcpt'+Math[_0x15292f(0x120)](Math[_0x15292f(0x103)]()*0x3e8),_0x35bcbe[_0x15292f(0x126)](_0x28485a),_0x31ac32='#'+_0x28485a['id'];}}else typeof _0x35bcbe===_0x15292f(0x104)&&(_0x31ac32=_0x35bcbe);return _0x31ac32&&_0x31ac32[0x0]==='#'&&(_0x31ac32=_0x31ac32[_0x15292f(0x129)](0x1)),_0x31ac32;},_0x3fb9f2=function(){const _0x36b326=a13_0x2a3e;if(isCaptchaWidgetRegistered(_0x36b326(0x121),_0x1ed235[_0x36b326(0x11a)]||_0x1ed235['gt']))return;registerCaptchaWidget({'captchaType':_0x36b326(0x121),'widgetId':_0x1ed235['gt'],'containerId':_0x1ed235[_0x36b326(0x10c)],'gt':_0x1ed235['gt'],'challenge':_0x1ed235[_0x36b326(0x11a)],'apiServer':_0x1ed235['api_server']||null});},_0x2e93df={};function _0x10d295(_0x1afc9a){const _0x2bd3eb=a13_0x2a3e;try{return document[_0x2bd3eb(0x10a)](_0x1afc9a);}catch(_0x49c8fc){if(typeof CSS[_0x2bd3eb(0x11c)]===_0x2bd3eb(0x11f))return document[_0x2bd3eb(0x10a)](CSS['escape'](_0x1afc9a));}}function _0x1fd04c(_0x382189){const _0x55f90a=a13_0x2a3e;if(_0x382189&&typeof document[_0x55f90a(0x10a)]===_0x55f90a(0x11f)){const _0x47907b=_0x10d295(_0x382189);if(_0x47907b){const _0x2ed726=_0x47907b['getElementsByClassName'](_0x55f90a(0x12c));_0x2ed726&&_0x2ed726[_0x55f90a(0x107)]&&Array[_0x55f90a(0x105)](_0x2ed726)['forEach'](_0x54e8b4=>_0x54e8b4[_0x55f90a(0x112)][_0x55f90a(0x10d)](_0x54e8b4));}}}let _0x4fc17a={'appendTo':function(_0x5e8031){const _0xe54e6=a13_0x2a3e;if(_0x1ed235[_0xe54e6(0x110)]!==_0xe54e6(0x122)){const _0x25b013=_0x5a5e50(_0x5e8031);_0x1ed235['appendToSelector']=_0x25b013,_0x3fb9f2(),setTimeout(function(){const _0x4ff92c=_0xe54e6;typeof _0x2e93df[_0x4ff92c(0x10e)]===_0x4ff92c(0x11f)&&_0x2e93df[_0x4ff92c(0x10e)](_0x5e8031);},0x64);}return this;},'bindForm':function(_0x48ca94){const _0x1896f3=_0x5a5e50(_0x48ca94);return _0x1ed235['appendToSelector']=_0x1896f3,_0x3fb9f2(),this;},'onReady':function(_0x35c369){const _0x4562f3=a13_0x2a3e;return _0x2e93df['onReady']=_0x35c369,_0x1ed235[_0x4562f3(0x110)]===_0x4562f3(0x122)&&(typeof _0x2e93df[_0x4562f3(0x10e)]===_0x4562f3(0x11f)&&_0x2e93df[_0x4562f3(0x10e)](_0x35c369)),this;},'onSuccess':function(_0x5ccdac){const _0x1d8d27=a13_0x2a3e;return _0x2e93df[_0x1d8d27(0x10f)]=_0x5ccdac,this;},'onShow':function(_0x57cb4c){return _0x2e93df['onShow']=_0x57cb4c,this;},'onError':function(_0x17fe51){const _0x543481=a13_0x2a3e;return _0x2e93df[_0x543481(0x11e)]=_0x17fe51,this;},'onClose':function(_0x5364b2){const _0x463ede=a13_0x2a3e;return _0x2e93df[_0x463ede(0x113)]=_0x5364b2,this;},'getValidate':function(){return{'geetest_challenge':null,'geetest_validate':null,'geetest_seccode':null};},'destroy':function(){_0x1fd04c(_0x1ed235['appendToSelector']);},'verify':function(_0x9e40f1){const _0x272b93=a13_0x2a3e,_0x5536ed=_0x5a5e50(document['querySelector'](_0x272b93(0x115))||document[_0x272b93(0x12a)][0x0]||document[_0x272b93(0x111)]);return _0x1ed235[_0x272b93(0x10c)]=_0x5536ed,_0x3fb9f2(),_0x9e40f1;}},_0x3d12ec=new Proxy(_0x4fc17a,{'get':function(_0x36b3ed,_0x21ff26){return _0x21ff26 in _0x36b3ed?_0x36b3ed[_0x21ff26]:function(){};}});typeof _0x682cf1==='function'&&_0x682cf1(_0x3d12ec),window[_0x2f11bc(0x106)]=_0x4fc17a,window[_0x2f11bc(0x127)]=_0x2e93df;};})()));function a13_0x2a3e(_0x1a459e,_0x5ebafe){const _0xed5b65=a13_0xed5b();return a13_0x2a3e=function(_0x2a3e24,_0x5c6a11){_0x2a3e24=_0x2a3e24-0x103;let _0xecfaa4=_0xed5b65[_0x2a3e24];return _0xecfaa4;},a13_0x2a3e(_0x1a459e,_0x5ebafe);}function a13_0xed5b(){const _0x436dfd=['createElement','180VscErU','appendChild','captchaObjEvents','14418DAaQxJ','substr','forms','tagName','geetest_holder','random','string','from','captchaObj','length','2649408ypxZmU','16556742WKUaMc','querySelector','832734BWPpYL','appendToSelector','removeChild','onReady','onSuccessCallback','product','body','parentElement','onClose','object','#captchaBox','defineProperty','5xgazXD','1296072fTtalD','initGeetest','challenge','725724fsiKxF','escape','3829002TxKPjH','onError','function','round','geetest','bind','undefined'];a13_0xed5b=function(){return _0x436dfd;};return a13_0xed5b();}