PK qhYJFF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/newcrypto.kerihosting.com/wp-content/plugins/wp2speed/lib/includes/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/newcrypto.kerihosting.com/wp-content/plugins/wp2speed/lib/includes/utils.php

<?php
/*by PenciDesign*/
 goto QvmmR; NJHOq: function hpp_css_background(array $data, &$critical) { goto pNbMv; pNbMv: $media = ''; goto HtkLV; gSgM8: return $media; goto nZtIP; HtkLV: foreach ($data as $k => $it) { goto mpDKF; cnqVr: $critical .= "{$k}{"; goto EHrPK; mwMQF: WEKy7: goto BRzDU; b2fAP: uHtRi: goto NB21P; Wm1oU: Vsd95: goto VwMNS; EHrPK: foreach ($it as $proper => $val) { goto PG2YG; PG2YG: if (strpos($proper, 'background') !== false) { goto pW1z7; } goto DFpz4; DFpz4: $critical .= "{$proper}:{$val};"; goto Dk6WN; Qvknv: pW1z7: goto co5go; CDtrS: HLARZ: goto TvR7t; TvR7t: nZAQJ: goto Mfx82; Dk6WN: goto HLARZ; goto Qvknv; co5go: $media .= "{$proper}: {$val};"; goto CDtrS; Mfx82: } goto b2fAP; hTtRS: goto Vsd95; goto mwMQF; BRzDU: $media .= "{$k}{"; goto cnqVr; SFDam: $critical .= "{$k}{" . hpp_css_properties($it) . "}"; goto hTtRS; NB21P: $media .= "}"; goto qozo_; qozo_: $critical .= "}"; goto Wm1oU; mpDKF: if (count(array_intersect_key($it, ['background' => '', 'background-image' => ''])) && (isset($it['background']) ? strpos($it['background'], 'url(') !== false : strpos($it['background-image'], 'url(') !== false)) { goto WEKy7; } goto SFDam; VwMNS: GZHVN: goto Cnl3A; Cnl3A: } goto W8O9r; W8O9r: KRDeZ: goto gSgM8; nZtIP: } goto KX77i; sgGXj: function hpp_defer_img_b64($html, $bg = '') { goto uQKrT; Lbb9O: preg_match('#<img(.*?)>#si', $html, $m); goto y36U2; Ct9eU: $html = html_entity_decode($html); goto Lbb9O; WtMWE: return str_replace($img0, $img, $html); goto eRCyY; YJNXi: $img = str_replace(' loading="lazy"', '', $img); goto hVeZO; uQKrT: if (!(!hpp_shouldlazyload() || apply_filters('hpp_disallow_lazyload', false, $html))) { goto wAJmO; } goto HaRCk; UF1jD: wAJmO: goto Ct9eU; y36U2: $img0 = $img = $m[0]; goto Cql04; HaRCk: return $html; goto UF1jD; aRv39: $img = preg_replace('# (data-srcset|data-sizes)=(.+?)(\'|")#', '', $img); goto Amj_r; JejIb: $img = str_replace($m[0], 'src=' . $m[2] . hpp_image2base64($m[3]) . $m[2], $img); goto WtMWE; Cql04: $img = str_replace(' src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="', '', $img); goto Ti96N; Xnh3D: return '<div class="' . $bg . '" style="background:url("' . hpp_image2base64($m[3]) . '") no-repeat;"></div>'; goto oVCcM; oVCcM: lh38t: goto JejIb; BLOC7: if (!$bg) { goto lh38t; } goto Xnh3D; Ti96N: $img = str_replace(' data-src=', ' src=', $img); goto YJNXi; hVeZO: $img = str_replace(hw_config('lazy_class'), '', $img); goto aRv39; Amj_r: preg_match('#(src)=("|\')(.+?)("|\')#', $img, $m); goto BLOC7; eRCyY: } goto sCKLP; rfBDE: function hqp_clean_bom($string) { goto HxW1B; HxW1B: $string = str_replace(['�', '¦', '▒', '', '•'], '', $string); goto ecRTT; nL9bA: return $string; goto U45kT; ecRTT: $string = preg_replace('#[ ​​]+​#', '', trim($string)); goto nL9bA; U45kT: } goto auErX; A8ztB: function hpp_fix_stylesheet_1($str) { goto xD8r2; JRFIn: $str2 = preg_replace('#@media .*?\\{#', '', $str); goto wrCG6; Auo8q: if (isset($GLOBALS['hpp-lazycss'])) { goto xf14b; } goto TnDiF; zgbtp: t0LIW: goto u3uKp; qgYdk: $css = ''; goto I01od; HtoeP: if (!(!$wp2speed || !hpp_shouldlazy())) { goto GF_CM; } goto AbwR3; TGCRW: foreach ($m[0] as $l) { goto kbMWN; ViBEa: $str = str_replace($l, '', $str); goto qpwdD; qpwdD: $css .= $l; goto LRU1E; LRU1E: cq4_e: goto ZdnB3; KItSg: dSkj8: goto ViBEa; kbMWN: if (!(strpos($str1, $l) === false)) { goto dSkj8; } goto kvGmV; kvGmV: goto cq4_e; goto KItSg; ZdnB3: } goto G11nw; hYY_N: fzslX: goto SXSep; fzTTR: $m[0] = apply_filters('hpp_filter_font_face', $m[0], $m); goto TGCRW; jFo3D: foreach ($m[0] as $i => $l) { goto D2BZS; m0QC2: $m3 = str_replace($rm, '', $m[3][$i]); goto mFWdd; t4ke2: MLE_v: goto mSwrW; D2BZS: if (!(strpos($l, 'url(') !== false && trim($m[1][$i]) != '@font-face' && hpp_in_str($l, [';base64,', 'data:image/']) == false && strpos($str1, $l) !== false)) { goto zlSsu; } goto kFcgZ; wD2kA: foreach ($ll as $s) { goto XDRBg; XDRBg: $ll1 = array_filter(explode(";", $s)); goto T9evE; N17L3: foreach ($ll1 as $j => $s1) { goto X5yaY; X5yaY: if (!(strpos($s1, 'url(') !== false || strpos($s1, 'background-') !== false)) { goto iz5WP; } goto K0uMg; K0uMg: $rm[] = $s1; goto ioQIR; ioQIR: iz5WP: goto Ivf4f; Ivf4f: fgti7: goto PhgJB; PhgJB: } goto Je1Yp; ybsef: zeSMp: goto K29j7; Je1Yp: f7KvI: goto ybsef; T9evE: $c1 = count($ll1) - 1; goto N17L3; K29j7: } goto LOO20; ZosK0: $str = str_replace($l, '', $str); goto PFYLK; j4imE: $rm = []; goto wD2kA; lnlxI: RCRGi: goto aHxGX; PFYLK: goto zRhMa; goto lnlxI; et2xI: zRhMa: goto qrOxf; qrOxf: $css .= $m[1][$i] . "{\n" . join("\n", array_map(function ($v) { return $v . (hpp_endsWith(trim($v), ';') ? '' : ';'); }, $rm)) . "\n}"; goto rfENV; mFWdd: if (trim($m3) != '') { goto RCRGi; } goto ZosK0; kFcgZ: $m[3][$i] = preg_replace_callback('#url\\((.*?)\\)#', function ($m1) use(&$rpl, &$l, &$str) { goto C_2eY; jv7lW: $l = str_replace($m1[1], $k, $l); goto UU5Yc; dpy0e: $rpl[$k] = $m1[1]; goto jv7lW; iQJ2E: return 'url(' . $k . ')'; goto wdyix; UU5Yc: $str = str_replace($m1[1], $k, $str); goto iQJ2E; C_2eY: $k = md5($m1[1]); goto dpy0e; wdyix: }, $m[3][$i]); goto fO2PX; aHxGX: $str = str_replace($l, str_replace($m[3][$i], $m3, $l), $str); goto et2xI; fO2PX: $ll = explode("\n", $m[3][$i]); goto j4imE; LOO20: O5S3r: goto m0QC2; rfENV: zlSsu: goto t4ke2; mSwrW: } goto QkE0r; SXSep: mJ5La: goto XojZZ; AKm_n: preg_match_all('#url(\\s+)?\\((.*?)\\)#si', $str, $m); goto MhG26; YU2r6: VDspe: goto TiN1e; XojZZ: sVB9X: goto H4BF2; QkE0r: o3kxJ: goto W6ouO; TnDiF: $GLOBALS['hpp-lazycss'] = ''; goto zv89W; lBRdz: $rpl = []; goto baMse; AbwR3: return $str; goto a0qrr; MhG26: foreach ($m[0] as $i => $s) { goto Ty8D8; u9m1H: BxFy9: goto ENYdG; ENYdG: ZRrWB: goto xgjkM; Ty8D8: if (!(strpos($m[2][$i], 'data:image/') !== false && in_array(substr(trim($m[2][$i]), 0, 1), ['"', "'"]))) { goto BxFy9; } goto oMe1r; oMe1r: $str = str_replace($m[2][$i], trim(trim(trim($m[2][$i]), '"'), "'"), $str); goto u9m1H; xgjkM: } goto zgbtp; u3uKp: BxdJr: goto f5lnJ; HMIvM: return $str; goto fFJUo; xD8r2: global $wp2speed; goto HtoeP; f5lnJ: if (!(strpos($str1, 'url(') !== false)) { goto sVB9X; } goto JRFIn; H4BF2: $GLOBALS['hpp-lazycss'] .= hpp_strip_comment($css, 'css'); goto HMIvM; TiN1e: R6X5n: goto RhJ3Y; zv89W: xf14b: goto VQ2aj; RhJ3Y: if (!(0 && hpp_in_str($str1, ['"data:image/', "'data:image/"]))) { goto BxdJr; } goto AKm_n; QuX7l: preg_match_all('#@font-face(\\s+)?\\{(.*?)\\}([\\s;]+)?#si', $str, $m); goto fzTTR; dTI8w: Ap3rx: goto Ar3le; I01od: $str1 = hpp_strip_comment($str, 'css'); goto Auo8q; baMse: if (empty($m[0])) { goto mJ5La; } goto jFo3D; G11nw: KHw8k: goto dTI8w; VQ2aj: if (!(strpos($str1, '@font-face') !== false)) { goto Ap3rx; } goto QuX7l; tlI2K: preg_match_all('#@import(\\s+)url\\((.*?)\\)([\\s;]+)?#si', $str, $m); goto ooDwG; W6ouO: foreach ($rpl as $f => $r) { $css = str_replace($f, $r, $css); VvkYs: } goto hYY_N; a0qrr: GF_CM: goto qgYdk; wrCG6: preg_match_all('#(((?!}).)*)\\{(.*?)\\}#s', $str2, $m); goto lBRdz; ooDwG: foreach ($m[0] as $i => $l) { goto y6Lhu; bdmDf: uuy9Y: goto lVUhQ; OhCHw: $str = str_replace($l, '', $str); goto msQNo; msQNo: $css .= $l; goto bdmDf; Pr8Qo: goto uuy9Y; goto IzYUJ; IzYUJ: IPaOa: goto OhCHw; y6Lhu: if (!(strpos($str1, $l) === false)) { goto IPaOa; } goto Pr8Qo; lVUhQ: } goto YU2r6; Ar3le: if (!(strpos($str1, '@import') !== false)) { goto R6X5n; } goto tlI2K; fFJUo: } goto q4DJs; R1vh0: function hpp_curl_post($url, $opts = array(), $data = array()) { goto olU6z; IYzgu: curl_setopt($ch, CURLOPT_URL, $url); goto nMNV7; q7sCg: curl_setopt($ch, CURLOPT_POSTFIELDS, is_array($data) ? http_build_query($data) : $data); goto F_3A8; Dixq5: curl_setopt($ch, CURLOPT_USERAGENT, hpp_user_agent()); goto KhRus; Rd_5s: if (!(is_array($opts) && count($opts))) { goto hjdZH; } goto UWrvI; Umv5S: curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); goto Rd_5s; HaH1f: curl_close($ch); goto GSrRS; UWrvI: curl_setopt_array($ch, $opts); goto ZxxY8; KhRus: curl_setopt($ch, CURLOPT_POST, TRUE); goto q7sCg; GSrRS: return $resp; goto Eyjox; XdCZr: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); goto G3Y0z; ZxxY8: hjdZH: goto NJ3da; nMNV7: curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); goto Dixq5; G3Y0z: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); goto v7tJV; NJ3da: $resp = curl_exec($ch); goto HaH1f; olU6z: $ch = curl_init($url); goto IYzgu; v7tJV: curl_setopt($ch, CURLOPT_TIMEOUT, 540); goto Umv5S; F_3A8: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); goto XdCZr; Eyjox: } goto MUjmg; DKufD: function hpp_is_init($key) { goto jvUQJ; BW4YT: return $v; goto Df64R; u5t2i: if ($v) { goto tHQG3; } goto jLDcv; hHzxj: tHQG3: goto BW4YT; jvUQJ: $v = _get_global('init-' . $key, false); goto u5t2i; jLDcv: _set_global('init-' . $key, true); goto hHzxj; Df64R: } goto EPBzW; o7x_L: if (!function_exists('_chmod_555_444')) { function _chmod_555_444($path, $dir) { goto otnlv; bxlJ_: gQI_k: goto dqI7p; dqI7p: chmod($path, 0555); goto tARJa; tARJa: UTXHb: goto m_6BU; LX8dt: chmod($path, 0444); goto w88kX; otnlv: if ($dir ? $dir->isDir() : is_dir($path)) { goto gQI_k; } goto LX8dt; w88kX: goto UTXHb; goto bxlJ_; m_6BU: } } goto Ik6A0; d1rGc: function hpp_if_access_hostv1() { $v1 = hw_config('server_cache'); return $v1 && !(isset($_SERVER['HTTP_X_VARNISH']) || isset($_SERVER['HTTP_X_UA_DEVICE']) || in_array($_SERVER['HTTP_USER_AGENT'], ['pc', 'mobile'])); } goto KoUVa; L3qNN: function hpp_shouldlazyload() { return hpp_shouldlazy() && hw_config('lazyload') && hpp_gen_critical_context(false, true); } goto W_I_z; emULX: if (!function_exists('scan_files')) { function scan_files($root, $callback = null) { goto DmwmN; DmwmN: if (file_exists($root)) { goto Byp9_; } goto IWGVb; lXvnd: Byp9_: goto POhCh; POhCh: try { goto p3QKP; OWWvI: $files = array(); goto iwHdU; p3QKP: $iter = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($root, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::SELF_FIRST, RecursiveIteratorIterator::CATCH_GET_CHILD); goto OWWvI; iwHdU: foreach ($iter as $path => $dir) { goto qT5aV; qT5aV: if (!is_callable($callback)) { goto TgScj; } goto apSF7; sNSHy: TgScj: goto lluwG; lluwG: rWvEW: goto G83Q2; apSF7: call_user_func_array($callback, array($path, $dir)); goto sNSHy; G83Q2: } goto pL2JF; pL2JF: GLaAm: goto TdfZT; TdfZT: } catch (Exception $e) { } goto rnreM; IWGVb: return; goto lXvnd; rnreM: } } goto FwA28; MUjmg: function hpp_user_agent() { goto L3Kil; L3Kil: $agents = array('Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36', 'Mozilla/1.22 (compatible; MSIE 10.0; Windows 3.1)', 'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko', 'Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A'); goto nm03s; Lawr6: return $agents[$chose]; goto LK6fL; nm03s: $chose = rand(0, 5); goto Lawr6; LK6fL: } goto dk4U2; a5a26: if (!function_exists('hpp_shouldlazy')) { function hpp_shouldlazy() { goto LfQOo; f4n1b: if (!(function_exists('wp_doing_ajax') ? wp_doing_ajax() : defined('DOING_AJAX') && DOING_AJAX)) { goto Ew2UT; } goto z93yj; z93yj: $optiz = 0; goto DSscE; DSscE: Ew2UT: goto oBAMg; vEds1: $optiz = 0; goto Xo2G8; zo2ms: return apply_filters('hpp_should_lazy', in_array(true, $val)); goto n3lqr; k0Ea9: if (isset($_GET['nooptizpp'])) { goto JAOR0; } goto snBy_; Krtm8: wr_r_: goto GoUJw; Gbq7i: $optiz = 0; goto fJpbX; OVbNq: $val[count($val)] = !is_user_logged_in() && (!isset($GLOBALS['pagenow']) || !in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'))) && empty($_GET['nooptizpp']) && !hpp_is_amp(); goto miq2u; OBcK8: if (!empty($GLOBALS['hpp-criticalfile']) && !file_exists($GLOBALS['hpp-criticalfile']) && hpp_gen_critical_context(false, true)) { goto alGjc; } goto f4n1b; W4XdV: if (!(count($val) < 2 && function_exists('is_user_logged_in'))) { goto m_MEp; } goto OVbNq; U_paT: lJu0T: goto vEds1; oBAMg: goto HiHFe; goto GXhjd; Xo2G8: CNltp: goto lbSYx; lbSYx: if ($optiz) { goto wr_r_; } goto M_kac; GoUJw: JAOR0: goto W4XdV; snBy_: $optiz = 1; goto guFnv; GXhjd: alGjc: goto Gbq7i; fJpbX: HiHFe: goto zhOUb; LfQOo: static $val = []; goto k0Ea9; vPO5e: $val = [false, false]; goto Krtm8; zhOUb: goto CNltp; goto U_paT; miq2u: m_MEp: goto zo2ms; M_kac: $_GET['nooptizpp'] = 1; goto vPO5e; guFnv: if (hw_config('trial') && (hw_config('trial') <= strtotime('-5 days') || time() - hw_config('trial') <= 0)) { goto lJu0T; } goto OBcK8; n3lqr: } } goto L3qNN; ZA9Es: function hpp_curl_get($url, $opts = array(), $refresh_cookie = false, $code = 0) { goto FAYYg; Eg7NC: curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); goto LEjPP; PZa74: $resp = curl_exec($ch); goto Qsrt2; qxVZA: curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); goto WAfBg; exnG2: pwYap: goto qdFF_; rCmok: if (!$refresh_cookie) { goto nbUX8; } goto cpuZW; n1Y_R: $resp = ''; goto exnG2; qdFF_: curl_close($ch); goto FBe99; ruv_x: nbUX8: goto PZa74; qzR8H: curl_setopt($ch, CURLOPT_URL, $url); goto Eg7NC; tZWd4: KDP_C: goto c21Sk; FAYYg: if (!isset($opts[CURLOPT_HTTPHEADER])) { goto KDP_C; } goto teI9G; WAfBg: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); goto C5wIA; LEjPP: curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); goto Hsg38; cpuZW: curl_setopt($ch, CURLOPT_COOKIESESSION, true); goto ruv_x; Qsrt2: if (!($code && curl_getinfo($ch, CURLINFO_HTTP_CODE) != 200)) { goto pwYap; } goto n1Y_R; C5wIA: curl_setopt($ch, CURLOPT_TIMEOUT, 540); goto X1On_; X1On_: if (!(is_array($opts) && count($opts))) { goto RilDi; } goto hsm7Z; teI9G: $opts[CURLOPT_HTTPHEADER] = ['User-Agent: ' . hpp_user_agent()]; goto tZWd4; FBe99: return $resp; goto UnCCR; c21Sk: $ch = curl_init($url); goto qzR8H; URbui: RilDi: goto rCmok; Hsg38: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); goto qxVZA; hsm7Z: curl_setopt_array($ch, $opts); goto URbui; UnCCR: } goto R1vh0; sCKLP: function hpp_get_embed_video_url($str) { goto oyRju; Moz5D: $id = $m[0]; goto R6_rl; drZyC: $id = $m1[0]; goto bChiz; ttfYl: $size = hw_config('yt_thumb_size'); goto fQQf0; SaCUx: preg_match_all('#(https:\\/\\/(.*?).ytimg.com/(.*?))\\"#', $s, $m); goto UhO6z; vgFuM: if (empty($m[1][1])) { goto XkgVD; } goto GP5Hg; lBypM: if (empty($m[2][0])) { goto VpcqY; } goto sgbfO; fQQf0: if (strpos($str, 'youtube.com/watch?v=') !== false) { goto NWLA_; } goto hdeAl; sgbfO: $lang = $m[2][0]; goto YxJ_U; kw5Vg: preg_match('#youtube.com/embed/(.+?)("|\')#', $str, $m); goto uICjP; tIoOw: $s = hpp_curl_get($r['url']); goto A7OF0; R6_rl: $r['url'] = 'https://www.youtube.com/embed/' . $id; goto tIoOw; C_3D9: if ($id == 'videoseries') { goto bhk6a; } goto l1378; bChiz: $lang = 'en'; goto C_3D9; Mj7CO: preg_match('#youtube.com\\/watch\\?v=(.+?)("|\')#', $str, $m); goto BC4N5; hdeAl: if (strpos($str, 'youtube.com/embed/') !== false) { goto Kn0bG; } goto rA0RO; mSCYL: $r['thumb'] = trim($m[1][count($m[1]) - 1], '\\'); goto qKgGO; YxJ_U: VpcqY: goto FbPAz; A7OF0: preg_match_all('#(https:\\/\\/(.*?).ytimg.com/(.*?))\\"#', $s, $m); goto mSCYL; oyRju: $r = array(); goto ttfYl; MKssJ: NWLA_: goto Mj7CO; rA0RO: goto HHtll; goto MKssJ; oVyFu: preg_match_all('#"VIDEO_ID":"(.*?)"|ytimg.com\\/(\\w+?)\\/#', $s, $m); goto vgFuM; t2Sh2: HHtll: goto V6ZKw; uICjP: $m1 = explode('?', $m[1]); goto drZyC; V6ZKw: return $r; goto Ex5ad; BC4N5: $m = explode('&', $m[1]); goto Moz5D; y5IPz: $s = hpp_curl_get('https://www.youtube.com/embed/' . $m[1]); goto oVyFu; FbPAz: WKeqG: goto t2ZeL; LNBNA: XkgVD: goto lBypM; J_bYs: goto WKeqG; goto ONLDM; t2ZeL: $r['url'] = 'https://www.youtube.com/embed/' . $id; goto SaCUx; ONLDM: bhk6a: goto y5IPz; Oop3E: Kn0bG: goto kw5Vg; UhO6z: $r['thumb'] = trim($m[1][count($m[1]) - 1], '\\'); goto t2Sh2; GP5Hg: $id = $m[1][1]; goto LNBNA; qKgGO: goto HHtll; goto Oop3E; l1378: $s = hpp_curl_get('https://www.youtube.com/embed/' . $id); goto J_bYs; Ex5ad: } goto QM52n; Ik6A0: if (!function_exists('deleteFullDir')) { function deleteFullDir($dir, $self = true) { goto PpPbz; NJ099: gB25Z: goto aYFKh; aYFKh: try { goto WhCHe; H3rkN: qxFhV: goto jj8oJ; Rx9G8: $files = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); goto foYr4; WhCHe: $it = new RecursiveDirectoryIterator($dir, RecursiveDirectoryIterator::SKIP_DOTS); goto Rx9G8; jj8oJ: if (!$self) { goto guYXm; } goto oKuBp; foYr4: foreach ($files as $file) { goto mAMQ1; Y9fw7: goto PPWf3; goto ZQSOt; X5J3M: rmdir($file->getRealPath()); goto lhvnn; eNxMA: unlink($file->getRealPath()); goto Y9fw7; lhvnn: PPWf3: goto RJBry; mAMQ1: if ($file->isDir()) { goto DKybR; } goto eNxMA; ZQSOt: DKybR: goto X5J3M; RJBry: pRUIF: goto CQL1h; CQL1h: } goto H3rkN; oKuBp: rmdir($dir); goto rXaYI; rXaYI: guYXm: goto Xpfw4; Xpfw4: } catch (\Exception $e) { } goto rweJx; PpPbz: if (is_dir($dir)) { goto gB25Z; } goto a2vtS; a2vtS: return; goto NJ099; rweJx: } } goto TC136; MsHnl: function hw_config_val($key, $cmp, $val1, $val2 = '') { return hw_config($key) == $cmp ? $val1 : $val2; } goto DKufD; isWgJ: function hpp_defer_imgs($str) { goto YMSxD; XZtIz: $tags =& $GLOBALS['hpp_tags']; goto EMGbT; Gstrl: $str0 = $str; goto Y6SrT; WPMH4: xJ1FO: goto XZtIz; uTEZh: $class = hw_config('lazy_class'); goto yj_5A; NWTZN: Mn6um: goto uTEZh; yj_5A: $str = preg_replace_callback('#<(img|iframe)(((?!>).)*)\\s+?class=(\'|")(((?! ' . $class . ' ).)*?)>#si', function ($m) use($class, &$tags) { goto ACUFl; ACUFl: if (!(isset($tags[$m[0]]) && !$tags[$m[0]])) { goto JQnHf; } goto HfnnK; HfnnK: return $m[0]; goto k71R2; k71R2: JQnHf: goto jbIoz; jbIoz: $tag = '<' . $m[1] . $m[2] . ' class=' . $m[4] . ' ' . $m[5] . '>'; goto feIqa; feIqa: return 1 || $tags[$m[0]] ? '<' . $m[1] . $m[2] . ' class=' . $m[4] . ' ' . $class . ' ' . $m[5] . '>' : $tag; goto JGwHk; JGwHk: }, $str); goto EB_0u; YkpkP: return $str; goto XSwEm; YA3k1: return $str0; goto NWTZN; Y6SrT: if (isset($GLOBALS['hpp_tags'])) { goto xJ1FO; } goto sb3F3; XSwEm: WDBw7: goto Gstrl; sb3F3: $GLOBALS['hpp_tags'] = []; goto WPMH4; QTyu1: return $str; goto MQjdh; bydR9: $str = str_replace([' srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="', " srcset='data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='"], '', $str); goto QTyu1; MrZ7h: if (!($str === null)) { goto Mn6um; } goto YA3k1; EMGbT: $str = preg_replace_callback('#<(img|iframe)(((?!>).)*)\\s+?src=(((?!;base64,).)*?)>#si', function ($m) use(&$tags) { goto LaSbE; LaSbE: if (!(strpos($m[0], ' data-src=') !== false || isset($tags[$m[0]]) && !$tags[$m[0]])) { goto izS13; } goto h6kqw; ZAlZC: return $tags[$m[0]] ? '<' . $m[1] . $m[2] . ' src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src=' . $m[4] . '>' : $tag; goto HgNb8; FYeu0: izS13: goto fuEGS; yARxm: $tags[$m[0]] = !apply_filters('hpp_disallow_lazyload', false, $tag); goto ZAlZC; h6kqw: return $m[0]; goto FYeu0; fuEGS: $tag = '<' . $m[1] . $m[2] . ' src=' . $m[4] . '>'; goto yARxm; HgNb8: }, $str); goto MrZ7h; YMSxD: if (hpp_shouldlazyload()) { goto WDBw7; } goto YkpkP; EB_0u: $str = preg_replace_callback('#<(img|iframe)(((?! class=).)*?)>#si', function ($m) use($class, &$tags) { goto Ft3__; TK1ox: return $m[0]; goto fo1Hf; Ft3__: if (!(isset($tags[$m[0]]) && !$tags[$m[0]])) { goto Aa_P_; } goto TK1ox; fo1Hf: Aa_P_: goto AN3cr; AN3cr: $tag = '<' . $m[1] . ' ' . $m[2] . '>'; goto kf_q4; kf_q4: return 1 || $tags[$m[0]] ? '<' . $m[1] . ' class=" ' . $class . ' "' . $m[2] . '>' : $tag; goto CIJkd; CIJkd: }, $str); goto t2zCV; t2zCV: $str = preg_replace_callback('#<(img|iframe)(((?!>).)*)\\s+?srcset=(((?!;base64,).)*?)>#si', function ($m) use(&$tags) { goto nRROI; LgbOQ: L4EZF: goto qv1n7; qkEYD: return $m[0]; goto LgbOQ; qv1n7: return '<' . $m[1] . $m[2] . ' data-srcset=' . $m[4] . '>'; goto Le8bh; nRROI: if (!(isset($tags[$m[0]]) && !$tags[$m[0]])) { goto L4EZF; } goto qkEYD; Le8bh: }, $str); goto bydR9; MQjdh: } goto HBrBh; Qm23Y: if (!function_exists('_print')) { function _print($s, $att = '') { goto RJDoP; RJDoP: printf('<textarea %s>', $att); goto p9TnU; p9TnU: print_r($s); goto u5loz; u5loz: echo '</textarea>' . PHP_EOL; goto kZPVM; kZPVM: } } goto emULX; Cb4Cn: function hpp_endsWith($string, $endString) { goto rUpe4; kLTal: return substr($string, -$len) === $endString; goto wkI6O; Z630s: if (!($len == 0)) { goto Mzj8b; } goto AfNSS; AfNSS: return true; goto hCS8f; hCS8f: Mzj8b: goto kLTal; rUpe4: $len = strlen($endString); goto Z630s; wkI6O: } goto Qm23Y; EgKGa: function hpp_current_url() { global $wp; return home_url($wp->request); } goto tB5CE; lTdVz: function hqp_remove_latin($str) { return str_replace(array_keys(hqp_latin_characters()), '', $str); } goto a5vki; a5vki: function hqp_latin_characters() { $chars = array('›' => '', '§' => '', 'ª' => 'a', 'º' => 'o', 'Ä' => 'A', 'Å' => 'A', 'Æ' => 'AE', 'Ç' => 'C', 'Ë' => 'E', 'Î' => 'I', 'Ï' => 'I', 'Ñ' => 'N', 'Ö' => 'O', 'Û' => 'U', 'Ü' => 'U', 'Þ' => 'TH', 'ß' => 's', 'ä' => 'a', 'å' => 'a', 'æ' => 'ae', 'ç' => 'c', 'ë' => 'e', 'î' => 'i', 'ï' => 'i', 'ð' => 'd', 'ñ' => 'n', 'ö' => 'o', 'ø' => 'o', 'û' => 'u', 'ü' => 'u', 'þ' => 'th', 'ÿ' => 'y', 'Ø' => 'O', 'Ā' => 'A', 'ā' => 'a', 'Ą' => 'A', 'ą' => 'a', 'Ć' => 'C', 'ć' => 'c', 'Ĉ' => 'C', 'ĉ' => 'c', 'Ċ' => 'C', 'ċ' => 'c', 'Č' => 'C', 'č' => 'c', 'Ď' => 'D', 'ď' => 'd', 'Ē' => 'E', 'ē' => 'e', 'Ĕ' => 'E', 'ĕ' => 'e', 'Ė' => 'E', 'ė' => 'e', 'Ę' => 'E', 'ę' => 'e', 'Ě' => 'E', 'ě' => 'e', 'Ĝ' => 'G', 'ĝ' => 'g', 'Ğ' => 'G', 'ğ' => 'g', 'Ġ' => 'G', 'ġ' => 'g', 'Ģ' => 'G', 'ģ' => 'g', 'Ĥ' => 'H', 'ĥ' => 'h', 'Ħ' => 'H', 'ħ' => 'h', 'Ī' => 'I', 'ī' => 'i', 'Ĭ' => 'I', 'ĭ' => 'i', 'Į' => 'I', 'į' => 'i', 'İ' => 'I', 'ı' => 'i', 'IJ' => 'IJ', 'ij' => 'ij', 'Ĵ' => 'J', 'ĵ' => 'j', 'Ķ' => 'K', 'ķ' => 'k', 'ĸ' => 'k', 'Ĺ' => 'L', 'ĺ' => 'l', 'Ļ' => 'L', 'ļ' => 'l', 'Ľ' => 'L', 'ľ' => 'l', 'Ŀ' => 'L', 'ŀ' => 'l', 'Ł' => 'L', 'ł' => 'l', 'Ń' => 'N', 'ń' => 'n', 'Ņ' => 'N', 'ņ' => 'n', 'Ň' => 'N', 'ň' => 'n', 'ʼn' => 'n', 'Ŋ' => 'N', 'ŋ' => 'n', 'Ō' => 'O', 'ō' => 'o', 'Ŏ' => 'O', 'ŏ' => 'o', 'Ő' => 'O', 'ő' => 'o', 'Œ' => 'OE', 'œ' => 'oe', 'Ŕ' => 'R', 'ŕ' => 'r', 'Ŗ' => 'R', 'ŗ' => 'r', 'Ř' => 'R', 'ř' => 'r', 'Ś' => 'S', 'ś' => 's', 'Ŝ' => 'S', 'ŝ' => 's', 'Ş' => 'S', 'ş' => 's', 'Š' => 'S', 'š' => 's', 'Ţ' => 'T', 'ţ' => 't', 'Ť' => 'T', 'ť' => 't', 'Ŧ' => 'T', 'ŧ' => 't', 'Ũ' => 'U', 'ũ' => 'u', 'Ū' => 'U', 'ū' => 'u', 'Ŭ' => 'U', 'ŭ' => 'u', 'Ů' => 'U', 'ů' => 'u', 'Ű' => 'U', 'ű' => 'u', 'Ų' => 'U', 'ų' => 'u', 'Ŵ' => 'W', 'ŵ' => 'w', 'Ŷ' => 'Y', 'ŷ' => 'y', 'Ÿ' => 'Y', 'Ź' => 'Z', 'ź' => 'z', 'Ż' => 'Z', 'ż' => 'z', 'Ž' => 'Z', 'ž' => 'z', 'ſ' => 's'); return $chars; } goto m2z4_; lDL_6: function hpp_array_insert(&$original, $inserted, $pos = 0) { array_splice($original, $pos, 0, $inserted); } goto E8L0i; jwerp: function hpp_server_home() { goto po7aB; AQHJn: $home = $_SERVER['HOMEDRIVE'] . $_SERVER['HOMEPATH']; goto Tgu9c; FLnyf: xmYoF: goto yebyK; yebyK: $home = rtrim($home, '/'); goto ykm0J; AxbZ6: return empty($home) ? dirname($_SERVER['DOCUMENT_ROOT']) : $home; goto SJrm5; lgiMK: if (!empty($home)) { goto xmYoF; } goto Pl0IY; po7aB: $home = getenv('HOME'); goto lgiMK; Tgu9c: $home = rtrim($home, '\\/'); goto obKTq; cXhFe: v1VK3: goto AQHJn; QULIy: goto wMxeU; goto FLnyf; Pl0IY: if (!empty($_SERVER['HOMEDRIVE']) && !empty($_SERVER['HOMEPATH'])) { goto v1VK3; } goto QULIy; obKTq: wMxeU: goto AxbZ6; ykm0J: goto wMxeU; goto cXhFe; SJrm5: } goto aItlz; wlmRC: function hpp_array_keep_keys($arr, $keys) { goto Xg8Dc; S0GjA: return $dt; goto lpIU9; b86fE: qLmsd: goto S0GjA; w20HN: foreach ($keys as $k) { goto tFjrk; tFjrk: if (!isset($arr[$k])) { goto wMhGA; } goto Sbgxo; Sbgxo: $dt[$k] = $arr[$k]; goto HDnGk; HDnGk: wMhGA: goto r2Z4M; r2Z4M: XSr2D: goto XrMYx; XrMYx: } goto b86fE; Xg8Dc: $dt = []; goto w20HN; lpIU9: } goto P11En; K2rcc: function hpp_lazy_script($code) { goto Vp4MF; fdwPw: if (!count($scripts)) { goto dYly4; } goto ibXHr; lSDEf: oI610: goto ivOJi; lf9TO: dYly4: goto lSDEf; mLKGD: eW_aT: goto lf9TO; liVCK: if (!(stripos($code, '</script>') !== false)) { goto oI610; } goto TwH3G; ivOJi: return $code; goto R1dEG; ibXHr: foreach ($scripts as $it) { goto H_87B; adTtt: $open = hw_config_val('debug', 1, "/*{$open}*/", ''); goto pHlkf; FVI2m: $js = $it['js']; goto kFMUV; EkQTv: $open = !apply_filters('hpp_delay_it_script', false, $js) ? '_HWIO.readyjs(function(){' : '_HWIO.readyjs(null,function(){'; goto yaZeb; k16Qo: MFsGL: goto wTGO9; uk2A7: $js = "{$open}{$js}{$close}"; goto VwYJa; fYaaG: $js = '_HWIO.readyjs(function(){_HWIO._addjs(' . json_encode($it['src']) . ');})'; goto Lhs4K; ZV3K1: vsW6d: goto whCUp; ism1Y: if (empty($it['src'])) { goto B9Pow; } goto fYaaG; Lhs4K: $code = str_replace($it['tag'] . $it['js'] . '</script>', "<script>{$js}</script>", $code); goto Ke8bb; wTGO9: $js = hpp_fix_script_variables($it['js']); goto EkQTv; pHlkf: $close = hw_config_val('debug', 1, "/*{$close}*/", ''); goto FVI2m; Ke8bb: goto yV9aQ; goto adCgj; H_87B: if (!(strpos($it['js'], '_HWIO.readyjs(') === false)) { goto vsW6d; } goto ism1Y; HPOXR: $js = $it['js']; goto cz60R; LZe43: f1fET: goto ZV3K1; adCgj: B9Pow: goto QDkE9; QDkE9: if (apply_filters('hpp_allow_readyjs', true, $it['js'])) { goto MFsGL; } goto HPOXR; GhNRO: if (!($it['js'] !== $js && !hpp_in_str($js, hpp_var('heavy-js', [])) || !empty($it['ignore']))) { goto Y0r9G; } goto adTtt; nlJsp: $code = str_replace($it['tag'] . $it['js'] . '</script>', $it['tag'] . "{$js}</script>", $code); goto LZe43; whCUp: yV9aQ: goto HLmMw; kFMUV: Y0r9G: goto uk2A7; yaZeb: $close = '})'; goto GhNRO; cz60R: goto ob3c7; goto k16Qo; HpMPw: try { $js = apply_filters('hpp_inline_script', $wp2speed->fixOtherJS($js)); } catch (Exception $e) { $js = $wp2speed->fixOtherJS($js); hpp_write_log($e->getMessage()); } goto haWPk; haWPk: if (!($it['js'] != $js)) { goto f1fET; } goto nlJsp; VwYJa: ob3c7: goto HpMPw; HLmMw: } goto mLKGD; TwH3G: $scripts = hpp_find_script_tag_v1($code); goto fdwPw; Vp4MF: global $wp2speed; goto liVCK; R1dEG: } goto OVLF0; Wa4Yc: function hpp_var($id, $val = '') { goto bK1fA; EmLqb: return $val; goto OGoRD; Hdfux: if (!($id == 'heavy-js')) { goto v3tJT; } goto m1S1U; P7td5: v3tJT: goto EmLqb; pxQji: return ['application/ld+json', 'application/json', 'text/template', 'text/x-template', 'text/html']; goto MkcW1; bK1fA: if (!($id == 'script-type')) { goto OSsk8; } goto pxQji; m1S1U: return ['jQuery(', '$(', 'jQuery.', '$.', 'document', 'dispatchEvent', '(function', '= new ']; goto P7td5; MkcW1: OSsk8: goto Hdfux; OGoRD: } goto jwerp; dk4U2: function hpp_strip_js_comment($output) { $pattern = '/(?:(?:\\/\\*(?:[^*]|(?:\\*+[^*\\/]))*\\*+\\/)|(?:(?<!\\:|\\\\|\')\\/\\/.*))/'; return preg_replace($pattern, '', $output); } goto HdlsH; FM2Mh: function _set_global($key, $val) { goto FSBYI; gplaf: df4J4: goto XtdsP; XtdsP: $GLOBALS['hw_data'][$key] = $val; goto C2hVC; FSBYI: if (isset($GLOBALS['hw_data'])) { goto df4J4; } goto jwkOk; jwkOk: $GLOBALS['hw_data'] = array(); goto gplaf; C2hVC: } goto doBBT; m2z4_: function hpp_is_url($l) { return filter_var($l, FILTER_VALIDATE_URL) && (strpos($l, 'http://') !== false || strpos($l, 'https://') !== false || strpos($l, '//') === 0); } goto cwYe_; EPBzW: function hpp_serialize($arr) { return base64_encode(serialize($arr)); } goto ODU8f; tB5CE: function hpp_is_amp() { return isset($GLOBALS['hpp-criticalname']) ? false : isset($_GET['amp']) || ($p = parse_url($_SERVER['REQUEST_URI'])) && substr(trim($p['path'], '/'), -strlen('/amp')) === '/amp'; } goto d1rGc; FAts3: function hpp_save_criticalcss($out, $name, $name0 = '', $path = '') { goto hrSEz; DOwOm: tXLn8: goto eNWGR; l10pm: if (is_dir($upload_dir['basedir'] . '/critical-css')) { goto hv_Ux; } goto NQuZk; GN1tq: $list[$path] = $name; goto rGHJ0; C5sSV: l4xVU: goto gLFjb; b_FUW: $name0 = join('-', $name0); goto DOwOm; oCJY3: file_put_contents($upload_dir['basedir'] . '/critical-css/' . $name . '.css', $out); goto gXDfy; H6nj7: xRiLr: goto iJnBv; NzlbC: if (!(strpos($name, 'page-') !== false)) { goto QINNK; } goto oCJY3; k3CyD: $name0 = explode('-', $name); goto uGzv0; q4G22: if (!$path) { goto zbsFy; } goto Saj8V; NQuZk: mkdir($upload_dir['basedir'] . '/critical-css', 0755); goto fuzBB; ZMJfo: if (is_array($list)) { goto yxQbx; } goto sa9jG; hrSEz: if ($name0) { goto tXLn8; } goto k3CyD; Z2ZU1: if (file_exists($upload_dir['basedir'] . '/critical-css/' . $name0 . '.css')) { goto YyT0T; } goto nKpn8; fuzBB: hv_Ux: goto NzlbC; Saj8V: $list = file_exists($upload_dir['basedir'] . '/critical-css/result.json') ? file_get_contents($upload_dir['basedir'] . '/critical-css/result.json') : '{}'; goto OF1Cy; eNWGR: if (!empty($out)) { goto l4xVU; } goto zHka6; zHka6: return false; goto C5sSV; i0kjA: yxQbx: goto G2STx; PFkjj: YyT0T: goto q4G22; gXDfy: QINNK: goto Z2ZU1; uGzv0: array_pop($name0); goto b_FUW; iJnBv: zbsFy: goto SY8ga; gLFjb: $upload_dir = wp_upload_dir(); goto l10pm; rGHJ0: file_put_contents($upload_dir['basedir'] . '/critical-css/result.json', json_encode($list, JSON_PRETTY_PRINT)); goto H6nj7; SY8ga: return true; goto gGX_0; nKpn8: file_put_contents($upload_dir['basedir'] . '/critical-css/' . $name0 . '.css', $out); goto PFkjj; G2STx: if (isset($list[$path])) { goto xRiLr; } goto GN1tq; OF1Cy: $list = @json_decode($list, 1); goto ZMJfo; sa9jG: $list = []; goto i0kjA; gGX_0: } goto mPfPZ; bjuRl: function hpp_find_script_tag($code) { goto ILP0S; wYtAU: preg_match_all('#(<script(.*?)>)(.*?)</script>#si', $code, $m); goto KsNCx; DQFhv: $chunk = []; goto wYtAU; CAGWx: return $chunk; goto fK33A; KsNCx: foreach ($m[0] as $i => $js) { goto SguBD; SguBD: if (!(strpos($m[1][$i], ' src=') !== false || hpp_in_str($m[1][$i], $exclude))) { goto BiCLU; } goto c1fmX; cUVo7: $chunk[] = ['js' => $m[3][$i], 'tag' => $m[1][$i]]; goto xbpCe; c1fmX: goto SJ_6f; goto mjxVo; mjxVo: BiCLU: goto cUVo7; xbpCe: SJ_6f: goto GgLnG; GgLnG: } goto qNal3; ILP0S: $exclude = hpp_var('script-type'); goto DQFhv; qNal3: y4YsM: goto CAGWx; fK33A: } goto m_sy5; m_sy5: function hpp_find_script_tag_v1($code) { goto WdLC1; GvsqZ: z2qJz: goto yB30G; GA9CM: $chunk = []; goto ulLXp; ulLXp: $warn = 0; goto mVPvH; mVPvH: if (!(stripos($code, '</script>') === false)) { goto fRAA3; } goto so13Y; nA96r: foreach ($m[0] as $i => $js) { goto iWMYY; woujT: NRLpF: goto iCsVk; PmWeh: goto KXzzP; goto lLJtr; HEYa5: $chunk[] = ['js' => $m[3][$i], 'tag' => $m[1][$i], 'ignore' => $ignore]; goto kVg3l; mGlkI: ZRWDF: goto c2Ai0; i_FYs: unset($chunk[count($chunk) - 1]); goto PmWeh; HXXdl: preg_match('# src=(\'|")(.*?)(\'|")#', $m[1][$i], $m2); goto sGW90; kVg3l: if (!(strpos($m[1][$i], ' src=') !== false)) { goto PJfuJ; } goto ZDrYG; OpWat: if (!(strpos($m[3][$i], '<script') !== false)) { goto XjU1e; } goto SInfp; E1l1c: $chunk[count($chunk) - 1]['src'] = array_filter(array_merge(['l' => $att['src']], $att, ['src' => '', 'type' => '', 'defer' => '', 'async' => ''])); goto wJXqp; XPt7F: if (!hpp_in_str($m[1][$i], $exclude)) { goto aUkFy; } goto iFFkk; ZDrYG: $att = hpp_dom_attr('<script ' . $m[1][$i] . '</script>', [], 'script'); goto G8fJ7; iFFkk: goto ZRWDF; goto ZcbKI; lqcc7: preg_match('#(<script(.*?)>)(.*?)</script>#si', '<script' . $ar[1] . '</script>', $m1); goto gUMfp; ZcbKI: aUkFy: goto HEYa5; G8fJ7: if (!empty($att['src'])) { goto NRLpF; } goto HXXdl; wJXqp: KXzzP: goto lb6qb; lLJtr: EVz81: goto E1l1c; kFHp3: XjU1e: goto XPt7F; iWMYY: $ignore = 0; goto OpWat; iCsVk: if (!trim($m[3][$i]) && !hpp_in_str($att['src'], ['<?php ', '?>', '"', "'", '()', !empty($_GET['host']) ? $_GET['host'] : $_SERVER['HTTP_HOST']])) { goto EVz81; } goto i_FYs; uWYKP: $warn = $ignore = 1; goto kFHp3; sGW90: $att['src'] = $m2[2]; goto woujT; lb6qb: PJfuJ: goto mGlkI; gUMfp: foreach ($m1 as $j => $s) { goto GZ13l; S1gbR: $js = $s; goto LO9MK; LKg82: pN__B: goto X83W4; GZ13l: $m[$j][$i] = $s; goto erxs7; LO9MK: PJPT4: goto LKg82; erxs7: if (!($j == 0)) { goto PJPT4; } goto S1gbR; X83W4: } goto AcnyQ; SInfp: $ar = explode('<script', $m[3][$i]); goto lqcc7; AcnyQ: eU0kB: goto uWYKP; c2Ai0: } goto GvsqZ; yB30G: return $chunk; goto xgxnz; WdLC1: $exclude = hpp_var('script-type'); goto GA9CM; W2diY: fRAA3: goto OqESc; OqESc: preg_match_all('#(<script(.*?)>)(.*?)</script>#si', $code, $m); goto nA96r; so13Y: return $chunk; goto W2diY; xgxnz: } goto LLR6h; cwYe_: function hpp_fix_resource_url($path) { goto mOgZ8; ClSYn: qrDMq: goto wEdTM; di1Fz: Xz1LK: goto rdstq; vchVq: AgYwm: goto LLCYM; wz1KI: $path = $sm . preg_replace('#\\/{2,}#', '/', $path); goto EJ3pA; vOnid: $sm = '//'; goto sCSXx; LLCYM: goto qrDMq; goto di1Fz; rdstq: $path = substr($path, strlen('http://')); goto AOBGT; YhS5Q: if (strpos($path, 'http://') == 0) { goto Xz1LK; } goto RsZMU; I2EHy: VmyWp: goto KjCDe; RsZMU: if (strpos($path, 'https://') == 0) { goto VmyWp; } goto I6N3E; sCSXx: h8oWD: goto AgPTu; pKTrj: $sm = 'https://'; goto vchVq; mOgZ8: $sm = ''; goto YhS5Q; I6N3E: if (!(strpos($path, '//') == 0)) { goto h8oWD; } goto fUAAr; AgPTu: goto AgYwm; goto I2EHy; BQdRg: gUzCj: goto wz1KI; dRsxu: goto eXNpB; goto BQdRg; KjCDe: $path = substr($path, strlen('https://')); goto pKTrj; AOBGT: $sm = 'http://'; goto ClSYn; y9CTG: return $path; goto EPFYD; umZ2V: $path = preg_replace('#\\/{2,}#', '/', $path); goto dRsxu; fUAAr: $path = substr($path, strlen('//')); goto vOnid; wEdTM: if ($sm) { goto gUzCj; } goto umZ2V; EJ3pA: eXNpB: goto y9CTG; EPFYD: } goto ZA9Es; jTR72: function hpp_criticalcss_extract_fonts($css) { goto uAnmF; Bwf1h: YBCar: goto IrCo5; IrCo5: return $fonts; goto i5PyM; fQYoE: preg_match_all('#@font-face(\\s+)?\\{(.*?)\\}#si', $css, $m); goto gyaNx; YfeFK: if (!(strpos($css, '@font-face') !== false)) { goto YBCar; } goto fQYoE; INSK0: $fonts = array_unique($fonts); goto Bwf1h; uAnmF: $fonts = []; goto YfeFK; gyaNx: foreach ($m[2] as $str) { goto zJwhS; zJwhS: preg_match_all('#url(\\s+)?\\((.*?)\\)#', $str, $m1); goto kUj1k; kUj1k: foreach ($m1[2] as &$url) { $url = hpp_attr_value(preg_replace('#\\#.+#', '', trim($url))); AJV6D: } goto b0b4_; eLFm1: sW9YL: goto YiCY9; b0b4_: Sq5Sp: goto uxK3p; uxK3p: $fonts = array_merge($fonts, $m1[2]); goto eLFm1; YiCY9: } goto gIDrS; gIDrS: jLmxR: goto INSK0; i5PyM: } goto FAts3; eaiF_: function hpp_in_str($str, $in, $all = 0) { goto OSURy; ovRZm: hzdHm: goto fla5K; fla5K: return $all ? true : false; goto Du1tv; OSURy: foreach ((array) $in as $p) { goto j7zH3; vV8iY: return false; goto cqDAk; WALcJ: return true; goto Z12aF; Z12aF: fowgj: goto mWdZN; cqDAk: nCzti: goto AI4qu; AI4qu: bt_iG: goto RsW0X; mWdZN: if (!($all && mb_stripos($str, $p) === false)) { goto nCzti; } goto vV8iY; j7zH3: if (!(!$all && mb_stripos($str, $p) !== false)) { goto fowgj; } goto WALcJ; RsW0X: } goto ovRZm; Du1tv: } goto EgKGa; E8L0i: function hpp_array_insert_assoc($array, $inserted, $pos = 0) { return array_slice($array, 0, $pos, true) + $inserted + array_slice($array, $pos, count($array) - $pos, true); } goto eaiF_; QglDl: function hpp_startsWith($string, $startString) { $len = strlen($startString); return substr($string, 0, $len) === $startString; } goto Cb4Cn; P11En: function hpp_isJson($string) { goto u2tZb; jILrv: return false; goto THGqs; weNsr: return json_last_error() == JSON_ERROR_NONE; goto knG2l; xfUUo: @json_decode($string); goto weNsr; u2tZb: $string = trim($string); goto BNMSo; BNMSo: if (!(strpos($string, '"') !== false && (hpp_startsWith($string, '{') || hpp_startsWith($string, '[')) && (hpp_endsWith($string, '}') || hpp_endsWith($string, ']')))) { goto KdZj2; } goto xfUUo; knG2l: KdZj2: goto jILrv; THGqs: } goto QglDl; hn3uI: function hpp_dom_attr($str, $exclude = array(), $tag = '') { goto Tb2Qc; vfDdU: if (!($e && $e->hasAttributes())) { goto N62zV; } goto TQ4Vx; UbJid: j7jSj: goto SqDLG; NAVNS: return $result; goto BGkyN; SqDLG: N62zV: goto PsvEu; PsvEu: return $result; goto y64WI; Tb2Qc: if (class_exists('\\DOMDocument')) { goto SAZa1; } goto QJ7sC; QJ7sC: $result = hpp_html_attrs($str, $exclude); goto NAVNS; enEVj: libxml_clear_errors(); goto ELse6; ojSjp: $e = $dom->getElementsByTagName($tag)->item(0); goto vfDdU; cD7s3: libxml_use_internal_errors(true); goto ly8ov; ELse6: $result = array(); goto ojSjp; ly8ov: $dom = new \DOMDocument(); goto fwMrM; BGkyN: SAZa1: goto cD7s3; fwMrM: $dom->loadHTML($str); goto enEVj; TQ4Vx: foreach ($e->attributes as $attr) { goto TmmrN; TmmrN: $name = $attr->nodeName; goto ZcUhE; ZcUhE: $value = hpp_attr_value($attr->nodeValue); goto fNWEL; akM73: E9ov0: goto RSThy; KsDsE: $result[$name] = $value; goto akM73; RSThy: HJaw1: goto kklDu; fNWEL: if (in_array($name, $exclude)) { goto E9ov0; } goto KsDsE; kklDu: } goto UbJid; y64WI: } goto P26Ny; P2hNx: function hpp_defer_media_large($str) { goto XeYrU; Okysr: return $str; goto rfSlC; bAPzQ: $str = hpp_treat_tag($str, $dt, ['script']); goto Okysr; CE6c4: $chunk = preg_split('#<(img|iframe) #si', $str, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); goto YByrL; YByrL: array_shift($chunk); goto gWVGX; whoKq: DUSwn: goto bAPzQ; A6GP9: $str = hpp_treat_tag($str, $dt, ['script']); goto CE6c4; gWVGX: foreach ($chunk as $i => $s1) { goto ReIz2; SPrrR: goto bmFbc; goto y33lK; TZjQ3: if (stripos($tg, '<iframe') !== false && hpp_get_embed_video_url($tg)) { goto zWGle; } goto L7ARp; TZ7WP: bmFbc: goto nYukX; q5VoX: $tg = substr('<' . $chunk[$i - 1] . ' ' . $s1, 0, 1200); goto gxJ5t; d_cNz: S5oh2: goto TZ7WP; uVXck: nVfse: goto d_cNz; a6AV3: $str = str_replace($tg, hpp_lazy_video($tg, 2, 0), $str); goto uVXck; L7ARp: $str = str_replace($tg, hpp_defer_imgs($tg), $str); goto kgW6L; gxJ5t: $class = hw_config('lazy_class'); goto rg6T2; y33lK: JQNwD: goto q5VoX; rg6T2: if (!(strpos($tg, ' ' . $class . ' ') === false)) { goto S5oh2; } goto TZjQ3; kgW6L: goto nVfse; goto D4YKm; ReIz2: if (!($i % 2 == 0)) { goto JQNwD; } goto SPrrR; D4YKm: zWGle: goto a6AV3; nYukX: } goto whoKq; XeYrU: $dt = []; goto A6GP9; rfSlC: } goto fvvT_; zc9yb: if (!function_exists('_chmod_755_644')) { function _chmod_755_644($path, $dir) { goto QCEW2; Ul1Tf: chmod($path, 0644); goto rj5Se; QCEW2: if ($dir ? $dir->isDir() : is_dir($path)) { goto YKLIS; } goto Ul1Tf; nAp3J: chmod($path, 0755); goto y4Uds; LP4rU: YKLIS: goto nAp3J; rj5Se: goto Lp280; goto LP4rU; y4Uds: Lp280: goto YwPt3; YwPt3: } } goto o7x_L; L9Xvn: function hpp_delay_assets($out, $footer = 0) { goto ZbdyQ; iCRez: preg_match_all('#<link(((?!>).)* )rel=(.*?)>|<script(((?!>).)*)?>(.*?)<\\/script>|<style(((?!>).)*)?>(.*?)<\\/style>#si', $out, $m); goto IKh66; Ncfyh: $GLOBALS['hpp-lazycss'] = ''; goto PIwjs; gnEwP: if (!hpp_in_str($out, ['<link ', '</script>', '</style>'])) { goto xz1Dv; } goto iCRez; WmvHU: xz1Dv: goto qJ7Zg; MHoRW: $out = hpp_treat_tag($out, $dt); goto anm6F; Tu2Cq: yNW2J: goto iVZN4; e0kL7: return $out; goto RQvqm; FgiGX: $dt = []; goto MHoRW; qPke3: return $out; goto rp72c; ZbdyQ: global $wp2speed; goto NSIQz; RQvqm: b8pAz: goto FgiGX; iVZN4: $out = hpp_treat_tag($out, $dt); goto qPke3; PIwjs: Vcv6N: goto Tu2Cq; akBSW: $out = '<style ' . hpp_gen_critical_context('', 'media="not all"') . '>' . apply_filters('hpp_lazycss', $GLOBALS['hpp-lazycss']) . '</style>' . $out; goto Ncfyh; IKh66: foreach ($m[0] as $i => $l) { goto kTeWb; OTXBl: Y4stM: goto HYcsX; aXVGK: $out = str_replace($l, HPP_Lazy::defer_asset_html($l, 'js'), $out); goto nECZz; jAdbQ: $att = hpp_dom_attr($l, ['type'], 'script'); goto K6kTL; IhUG6: $js = "{$open}{$js}{$close}"; goto WburN; kTeWb: if (!(stripos($l, '<link ') !== false && stripos($l, '<noscript>') === false && hpp_in_str($l, ['stylesheet', 'text/css']) && strpos($l, $path_me) === false)) { goto Fm7Rj; } goto OpOpQ; HkaGk: $js = hpp_fix_script_variables($m[6][$i]); goto r47Pd; HfRoE: $open = hw_config_val('debug', 1, "/*{$open}*/", ''); goto hrJow; HYcsX: if (!(stripos($l, '</style>') !== false && strpos($m[7][$i], 'media="not all"') === false && trim($m[9][$i]))) { goto bki05; } goto BfZME; BjMk7: if (empty($att['href'])) { goto aLO0e; } goto XSkRN; K6kTL: if (apply_filters('hpp_allow_delay_asset', true, $att['src'])) { goto dRwy0; } goto aXVGK; tMWSy: $att['id'] = md5($att['src']); goto FzRkf; mbUBE: dRwy0: goto e2vZ0; pp0sa: $out = str_replace($l, HPP_Lazy::defer_asset_html($l, 'css'), $out); goto iZ2OI; PWJN1: $open = !apply_filters('hpp_delay_it_script', false, $js) ? '_HWIO.readyjs(function(){' : '_HWIO.readyjs(null,function(){'; goto iEGA3; WburN: YZlv6: goto wiHMb; IAHvg: $wp2speed->_delay_asset($att['src'], "js", array_merge(array('id' => $att['id'], 'deps' => 'hpp-0', 'extra' => 1), hpp_array_exclude_keys($att, ['src']))); goto f3lxX; FzRkf: ce537: goto IAHvg; pzVJp: $out = str_replace('<script' . $m[4][$i] . '>' . $m[6][$i] . '</script>', '<script' . $m[4][$i] . '>' . $js . '</script>', $out); goto M62I2; cjOf1: if (strpos($m[4][$i], ' src=') !== false && strpos($m[4][$i], $path_me) === false) { goto ujnL1; } goto C9pHy; Cyk6z: $out = str_replace('<style' . $m[7][$i] . '>' . $m[9][$i] . '</style>', '<style' . $m[7][$i] . '>' . $css . '</style>', $out); goto TbFqU; iEGA3: $close = '})'; goto XPKNk; f3lxX: $out = str_replace($l, '', $out); goto zaHGA; lbE8T: OYa98: goto tuem2; OMhEO: $js = $m[6][$i]; goto E4uiZ; e2vZ0: if (!empty($att['id'])) { goto ce537; } goto tMWSy; zaHGA: AEYID: goto Xptgd; Ch4gH: if (!empty($att['id'])) { goto RJGvx; } goto Ud3aj; XSkRN: if (!apply_filters('hpp_allow_delay_asset', true, $att['href'])) { goto rfQ2x; } goto Ch4gH; Hpwqj: RJGvx: goto NQC8a; Xptgd: arwRq: goto OTXBl; ITZNZ: GxlFg: goto HkaGk; hrJow: $close = hw_config_val('debug', 1, "/*{$close}*/", ''); goto OMhEO; eDlLG: bki05: goto lbE8T; TbFqU: W_1zp: goto eDlLG; iZ2OI: uAWN6: goto dGk9b; i1kQx: ujnL1: goto jAdbQ; nECZz: goto AEYID; goto mbUBE; C9pHy: if (!(strpos($m[4][$i], ' src=') === false && trim($m[6][$i]) != '' && !hpp_in_str($m[6][$i], ['var _HWIO', '_HWIO.extra_assets=']))) { goto heviX; } goto RzGxW; XPKNk: if (!($m[6][$i] != $js && !hpp_in_str($js, hpp_var('heavy-js', [])))) { goto RthMG; } goto HfRoE; SFyst: Fm7Rj: goto eqP8q; Ud3aj: $att['id'] = md5($att['href']); goto Hpwqj; cVaXU: goto arwRq; goto i1kQx; OpOpQ: $att = hpp_dom_attr($l, ['rel'], 'link'); goto BjMk7; eqP8q: if (!(stripos($l, '</script>') !== false && !hpp_in_str($m[4][$i], hpp_var('script-type')))) { goto Y4stM; } goto cjOf1; g5B0E: try { $js = apply_filters('hpp_inline_script', $wp2speed->fixOtherJS($js)); } catch (Exception $e) { echo $e->getMessage(); } goto aKXj2; wiHMb: lNeDe: goto g5B0E; snWcA: heviX: goto cVaXU; Vp1sx: if (!($m[9][$i] != $css)) { goto W_1zp; } goto Cyk6z; aKXj2: if (!($js != $m[6][$i])) { goto D4zi4; } goto pzVJp; BfZME: $css = hpp_fix_stylesheet(apply_filters('hpp_inline_style', $m[9][$i])); goto Vp1sx; oXR0U: goto lNeDe; goto ITZNZ; r47Pd: if (hpp_in_str($m[6][$i], ['_HWIO.readyjs('])) { goto YZlv6; } goto PWJN1; E4uiZ: RthMG: goto IhUG6; G9Vy2: $js = $m[6][$i]; goto oXR0U; PtWPq: $out = str_replace($l, '', $out); goto TzVVi; NQC8a: $wp2speed->_delay_asset($att['href'], "css", array_merge(array('id' => $att['id'], 'extra' => 1), hpp_array_exclude_keys($att, ['href']))); goto PtWPq; M62I2: D4zi4: goto snWcA; TzVVi: goto uAWN6; goto Nox8U; dGk9b: aLO0e: goto SFyst; Nox8U: rfQ2x: goto pp0sa; RzGxW: if (apply_filters('hpp_allow_readyjs', true, $m[6][$i])) { goto GxlFg; } goto G9Vy2; tuem2: } goto e1Fq3; anm6F: $path_me = trim(str_replace([WP_SITEURL, 'http://', 'https://'], '', MMR_CACHE_URL), '/'); goto gnEwP; qJ7Zg: if (!($footer && $out)) { goto yNW2J; } goto J5uMy; J5uMy: if (empty($GLOBALS['hpp-lazycss'])) { goto Vcv6N; } goto akBSW; NSIQz: if (!(!$wp2speed || !hpp_shouldlazy() || hpp_gen_critical_context(1, 0))) { goto b8pAz; } goto e0kL7; e1Fq3: pFFgr: goto WmvHU; rp72c: } goto zYJrf; KoUVa: function hqp_fix_encoding($str) { goto A4O7N; tfhWQ: return $str; goto qmz7p; FRLXV: $str = hqp_remove_latin($str); goto tfhWQ; A4O7N: $str = MMR_Encoding::removeBOM(hqp_clean_bom($str)); goto FRLXV; qmz7p: } goto rfBDE; Ibrpj: function hpp_array_exclude_keys($arr, $keys) { goto u9e6h; cSief: VgvTc: goto gegRl; gegRl: return $arr; goto IlC3X; u9e6h: foreach ($keys as $k) { goto TPlCg; HcIDv: unset($arr[$k]); goto mG4bj; Xlc06: W_Jwe: goto mA6Ee; mG4bj: gCZr4: goto Xlc06; TPlCg: if (!isset($arr[$k])) { goto gCZr4; } goto HcIDv; mA6Ee: } goto cSief; IlC3X: } goto wlmRC; doBBT: function hw_config($key, $defVal = '') { goto NrMIT; pc2bH: gUV2r: goto FSGeP; FSGeP: return apply_filters('hpp_config', $defVal, $key); goto KK0KC; JjbmY: $defVal = $data[$key]; goto pc2bH; n5jsb: if (!isset($data[$key])) { goto gUV2r; } goto JjbmY; S1Ihf: if ($data) { goto TFP6i; } goto z0kAL; z0kAL: $data = (include HS_LIB_DIR . '/config.php'); goto bbBbx; bbBbx: TFP6i: goto n5jsb; NrMIT: static $data; goto S1Ihf; KK0KC: } goto MsHnl; az1Me: function hpp_fix_script($code) { goto fX1Jc; XuCUT: $scripts = hpp_find_script_tag($code); goto xwJUo; fX1Jc: if (!(strpos($code, '</script>') !== false)) { goto Us3Sp; } goto XuCUT; mMOvE: Q9Gv2: goto HRXaj; vnAi1: HMy_M: goto mMOvE; v3Mdr: return $code; goto AUm7R; xwJUo: if (!count($scripts)) { goto Q9Gv2; } goto E1Hvv; HRXaj: Us3Sp: goto v3Mdr; E1Hvv: foreach ($scripts as $it) { goto QN9G5; QN9G5: if (!(strpos($it['js'], '_HWIO.readyjs(') === false)) { goto dCk5n; } goto zkCRg; xB7OM: dCk5n: goto ycALB; ycALB: YmdW2: goto AxpxV; TDskQ: $code = str_replace($it['tag'] . $it['js'] . '</script>', $it['tag'] . "_HWIO.readyjs(function(){{$js}})</script>", $code); goto xB7OM; zkCRg: $js = hpp_fix_script_variables($it['js']); goto TDskQ; AxpxV: } goto vnAi1; AUm7R: } goto bjuRl; HdlsH: function hpp_getClientIP() { goto ucfdU; Ua5NZ: if (isset($_SERVER['REMOTE_ADDR'])) { goto V95TR; } goto v4AtO; v4AtO: $ip = '127.0.0.1'; goto qb_EP; GX5xV: $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; goto wM92K; qb_EP: goto rkOYh; goto QzOPN; eCNsq: zxszn: goto GX5xV; eFrU_: $ip = $_SERVER['REMOTE_ADDR']; goto AFzL_; AFzL_: rkOYh: goto hm0eQ; wM92K: goto rkOYh; goto AUNVH; AUNVH: V95TR: goto eFrU_; PiLX2: $ip = $_SERVER['HTTP_CLIENT_IP']; goto X_Ijk; hm0eQ: return $ip; goto L0YSO; ucfdU: if (!empty($_SERVER['HTTP_CLIENT_IP'])) { goto pamwH; } goto HlBi5; HlBi5: if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { goto zxszn; } goto Ua5NZ; X_Ijk: goto rkOYh; goto eCNsq; QzOPN: pamwH: goto PiLX2; L0YSO: } goto f0DQp; mPfPZ: function hpp_purge_cache() { goto xW__X; swhsj: if (!count($uris)) { goto GVe20; } goto VPu8T; fD8St: $p = wp_parse_url($url); goto S450x; WQ0WO: M6bYm: goto BsqM8; ITIql: DeYte: goto OO5vj; B3R4C: deleteFullDir(WP_CONTENT_DIR . '/cache', false); goto vHmb_; hAxwX: if (headers_sent()) { goto DeYte; } goto dy5ZD; iNo8G: if (!function_exists('opcache_reset')) { goto tPFFu; } goto zSSZP; rjGBt: Ete6K: goto SErWZ; uMxJX: s3oyZ: goto JC4iZ; dy5ZD: header('x-HTML-Edge-Cache: purgeall'); goto ITIql; vHmb_: KDLxR: goto iNo8G; dPRVJ: if (!(int) hw_config('purge_transient')) { goto dDiPo; } goto RAQj2; Rx11A: deleteFullDir($homedir . '/.lscache', false); goto rjGBt; S450x: wp_remote_request($url, array(array('method' => 'CLEANFULLCACHE', 'headers' => array('host' => $p['host'] . (isset($p['port']) ? ':' . $p['port'] : ''))))); goto as5qG; AbZM8: return; goto uMxJX; DmTJR: if (!is_dir(WP_CONTENT_DIR . '/cache')) { goto KDLxR; } goto B3R4C; VPu8T: $homedir = join(DIRECTORY_SEPARATOR, $uris); goto p3T76; LWemQ: goto kvcOY; goto EUbBG; Ti9pj: deleteFullDir($homedir . '/lscache', false); goto WQ0WO; r_e00: kvcOY: goto swhsj; XF2gz: tPFFu: goto pvHhq; qcQVB: global $wpdb; goto dPRVJ; pvHhq: $homedir = hpp_server_home(); goto Jcvfu; xW__X: static $done = false; goto i6DT1; as5qG: do_action(__FUNCTION__); goto TWaGL; PA5Ad: dDiPo: goto DmTJR; i6DT1: if (!$done) { goto s3oyZ; } goto AbZM8; JC4iZ: $done = true; goto hAxwX; OO5vj: $url = apply_filters('hpp_home_url', home_url()); goto qcQVB; zSSZP: opcache_reset(); goto XF2gz; Jcvfu: $uris = explode(DIRECTORY_SEPARATOR, $homedir); goto r_e00; BsqM8: array_pop($uris); goto LWemQ; EUbBG: GVe20: goto fD8St; SErWZ: if (!is_dir($homedir . '/lscache')) { goto M6bYm; } goto Ti9pj; p3T76: if (!is_dir($homedir . '/.lscache')) { goto Ete6K; } goto Rx11A; RAQj2: $wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name like '_transient_%'"); goto PA5Ad; TWaGL: } goto L_g9h; aItlz: function hpp_image2base64($url) { goto G9Y0Z; cBf7c: $ar1 = explode($host, $url); goto BcN4T; Ebswh: return ''; goto QbVgN; x72kc: return $url; goto tK57v; Uys_3: if (!(!file_exists($file) || filesize($file) >= 41921)) { goto H1YAE; } goto D1nfW; HkSxq: $img = file_get_contents($file); goto Bid1D; tK57v: fK5FU: goto OUlyH; Bid1D: $data = base64_encode($img); goto wgOwu; CTaV2: if (!(strpos($url, $host) === false)) { goto fK5FU; } goto x72kc; ABY5_: $host = parse_url(WP_CONTENT_URL, PHP_URL_HOST); goto CTaV2; QbVgN: ES0M2: goto ABY5_; D1nfW: return $url; goto xSIvS; wgOwu: return 'data:' . $is['mime'] . ';base64,' . $data; goto TWb_n; TvmaL: $is = getimagesize($file); goto HkSxq; BcN4T: $file = WP_CONTENT_DIR . str_ireplace($ar[1], '', $ar1[1]); goto Uys_3; G9Y0Z: if ($url) { goto ES0M2; } goto Ebswh; xSIvS: H1YAE: goto TvmaL; OUlyH: $ar = explode($host, WP_CONTENT_URL); goto cBf7c; TWb_n: } goto sgGXj; ODU8f: function hpp_unserialize($arr) { return unserialize(call_user_func('base' . '64_decode', $arr)); } goto Ibrpj; fvvT_: function hpp_html_attrs($input, $exclude = array()) { goto D1GNG; D1GNG: if (preg_match('#^(<)([a-z0-9\\-._:]+)((\\s)+(.*?))?((>)([\\s\\S]*?)((<)\\/\\2(>))|(\\s)*\\/?(>))$#im', $input, $matches)) { goto HyZfk; } goto vmdHD; RGObN: $matches[5] = preg_replace('#(^|(\\s)+)([a-z0-9\\-]+)(=)(")(")#i', '$1$2$3$4$5<attr:value>$6', $matches[5]); goto VQ80H; VQ80H: $results = array('element' => $matches[2], 'attributes' => null, 'content' => isset($matches[8]) && $matches[9] == '</' . $matches[2] . '>' ? $matches[8] : null); goto GAi7i; GpKZ5: xCqGC: goto d8EBi; GAi7i: if (!preg_match_all('#([a-z0-9\\-]+)((=)(")(.*?)("))?(?:(\\s)|$)#i', $matches[5], $attrs)) { goto oDmzR; } goto i1ZAB; d8EBi: oDmzR: goto bW5Zn; i1ZAB: $results['attributes'] = array(); goto FQpEq; FQpEq: foreach ($attrs[1] as $i => $attr) { goto WleFE; Z3PXY: tLyXK: goto SfYRZ; WleFE: if (in_array($attr, $exclude)) { goto Q8C1E; } goto du4b2; lypCV: Q8C1E: goto Z3PXY; du4b2: $results['attributes'][$attr] = isset($attrs[5][$i]) && !empty($attrs[5][$i]) ? $attrs[5][$i] != '<attr:value>' ? $attrs[5][$i] : "" : $attr; goto lypCV; SfYRZ: } goto GpKZ5; vmdHD: return false; goto ES37o; bW5Zn: return $results['attributes']; goto N0b2g; ES37o: HyZfk: goto RGObN; N0b2g: } goto hn3uI; auErX: function hqp_str2utf8($str) { goto oAfBX; Pvab5: if (!$c) { goto cvW3T; } goto pVzg1; NT5BZ: vhVOf: goto Pvab5; oAfBX: $str = MMR_Encoding::removeBOM(hqp_clean_bom($str)); goto aA84s; EJiZ9: $arr = preg_split('#[\\s]+#', $str); goto AE_xJ; ZZYnu: return $str; goto lAeVP; NpNRv: cvW3T: goto ZZYnu; aA84s: if (hqp_has_latin($str)) { goto S5tx8; } goto mVYlN; st40i: foreach ($arr as $i => $w) { goto Ow1qc; NDsB6: xg0hq: goto uwJ4H; yzflj: lfqB8: goto h0Njs; qcRBO: if (mb_detect_encoding($w)) { goto xg0hq; } goto MZu27; uwJ4H: $arr[$i] = mb_convert_encoding($w, "LATIN1", "auto"); goto IDptE; Ow1qc: if (!hqp_has_latin($w)) { goto eYVEg; } goto qcRBO; BzOz1: eYVEg: goto yzflj; IDptE: qCQMt: goto DBG7Y; DBG7Y: $c = 1; goto BzOz1; MZu27: $arr[$i] = MMR_Encoding::fixUTF8($w); goto CYoWS; CYoWS: goto qCQMt; goto NDsB6; h0Njs: } goto NT5BZ; AE_xJ: $c = 0; goto st40i; mVYlN: return $str; goto yV6VB; yV6VB: S5tx8: goto EJiZ9; pVzg1: $str = join(' ', $arr); goto NpNRv; lAeVP: } goto NO69l; q4DJs: function hpp_delay_it_script($js) { goto ljX3k; AZtH4: $js = str_replace('_HWIO.readyjs(function(){', '_HWIO.readyjs(null,function(){', $js); goto Csqii; Csqii: T4v_5: goto N6JlH; ljX3k: if (!apply_filters('hpp_delay_it_script', false, $js)) { goto T4v_5; } goto AZtH4; N6JlH: return $js; goto wu0XJ; wu0XJ: } goto az1Me; M9JSA: function hpp_defer_option($value) { goto x3nrK; yWlv3: SaLwX: goto PmLMb; QdFWT: return $value; goto CwPKn; E6UMa: array_walk_recursive($value, function (&$v) { goto v8Euk; GTpIU: LS6tw: goto uuMnD; odiBS: $v = hpp_defer_content(html_entity_decode($v)); goto GTpIU; v8Euk: if (!is_string($v)) { goto LS6tw; } goto odiBS; uuMnD: }); goto QFoJA; NCEnw: PXnFu: goto E6UMa; x3nrK: if (is_array($value) || is_object($value)) { goto PXnFu; } goto jHGpR; jHGpR: if (!is_string($value)) { goto SaLwX; } goto HdQap; PmLMb: goto vD0BZ; goto NCEnw; HdQap: $value = hpp_defer_content($value); goto yWlv3; QFoJA: vD0BZ: goto QdFWT; CwPKn: } goto P2hNx; t0NCq: function hpp_lazy_video($str, $mt = 2, $fallback = 1) { goto WGO33; LKB5n: return $str; goto rdFka; WGO33: if (!(!hpp_shouldlazyload() || stripos($str, '<iframe') === false || !apply_filters('hpp_allow_lazy_video', 1, $str))) { goto JYLUL; } goto LKB5n; KiFLX: K7nng: goto CyBnw; G7Wb6: $class = hw_config('lazy_class'); goto ZYyI0; uWmXQ: preg_match_all('#<iframe(((?!>).)*)(\\s+?)src=.*?>(.*?)<\\/iframe>#si', $str, $m); goto G7Wb6; ZYyI0: foreach ($m[0] as $txt) { goto Yi7tb; vBxay: tLx1k: goto Y0AtA; Yi7tb: if (!($mt == 2)) { goto U1QbA; } goto zU3ba; LJlRc: if (!($mt == 1)) { goto Ynt1B; } goto roy0L; rQ2tj: $replace = '<div class="yt-video-place embed-responsive embed-responsive-4by3" data-yt-url="' . $v['url'] . '?rel=0&showinfo=0"><img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="' . $v['thumb'] . '" async class=" ' . $class . ' play-yt-video"><a class="start-video"><img width="64" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="' . HS_PLUGIN_URL . '/lib/asset/play-btn.png" class=" ' . $class . ' " ></a></div>'; goto koGCq; zEVgV: DUFMv: goto Xt9Ht; Uxjwv: Ynt1B: goto z0TXc; zhi53: goto DUFMv; goto vBxay; roy0L: $str = str_ireplace($txt, hpp_defer_imgs($txt), $str); goto Uxjwv; Xt9Ht: U1QbA: goto LJlRc; koGCq: $str = str_ireplace($txt, $replace, $str); goto zhi53; z0TXc: gQM1S: goto WKtCa; Y0AtA: $mt = 1; goto zEVgV; KFZ9A: if (!empty($v)) { goto jDAwu; } goto VRYTv; NlQ0B: jDAwu: goto rQ2tj; VRYTv: if ($fallback) { goto tLx1k; } goto LlX4y; zU3ba: $v = hpp_get_embed_video_url($txt); goto KFZ9A; LlX4y: goto DUFMv; goto NlQ0B; WKtCa: } goto KiFLX; rdFka: JYLUL: goto uWmXQ; CyBnw: return $str; goto ee3H4; ee3H4: } goto isWgJ; KX77i: function hpp_fix_stylesheet($str) { goto HHROt; kofHY: if (!(0 || $critical)) { goto ChuoO; } goto JvZ38; QsAYd: bWQ7w: goto UHxNR; X5Mn_: rj7dy: goto OwVQW; G8x7k: He5RI: goto fIv2g; OwVQW: if (!(strpos($str, '@import') !== false)) { goto WqwPr; } goto ETeJW; RKJoc: if (class_exists('hpp_csstidy')) { goto SE8yX; } goto Wmj2d; giOHP: if (isset($GLOBALS['hpp-lazycss'])) { goto rj7dy; } goto xV7be; ETeJW: preg_match_all('#@import(\\s+)url\\((.*?)\\)([\\s;]+)?#si', $str, $m); goto jU_TE; khMXZ: mmPxA: goto RKJoc; m_Z0N: $csstidy = new hpp_csstidy(); goto Gj6Tc; SNRa7: if (!(!$wp2speed || !hpp_shouldlazy())) { goto mmPxA; } goto Z3cj3; JvZ38: $str = $critical; goto EyiCi; EyiCi: ChuoO: goto CWRIb; Sxl3L: $css = ''; goto W89kn; Gj6Tc: $csstidy->parse($str); goto Sxl3L; fIv2g: $GLOBALS['hpp-lazycss'] .= $css; goto kofHY; oiMJX: foreach ($csstidy->css as $s => $data) { goto f8fZX; gExJ2: if (trim($s) == '') { goto ybGk3; } goto vQOmv; EcM3M: if (!$media) { goto gkAuj; } goto pb278; vQOmv: $css .= hpp_css_background($data, $critical); goto qOOWc; winx2: ybGk3: goto pipzY; C31HY: WMavk: goto dmUf2; EqDNT: BkBPz: goto Khzl2; CPig7: $critical .= "}"; goto EqDNT; ksFl2: bZKgu: goto C31HY; Khzl2: DoND0: goto RVMsu; V_Vbu: $critical .= "{$s}{"; goto wedBc; pipzY: foreach ($data as $k => $it) { $css .= "{$k}{" . hpp_css_properties($it) . "}"; GZiQO: } goto ksFl2; dmUf2: goto BkBPz; goto RJDnq; wedBc: $media = hpp_css_background($data, $critical); goto EcM3M; RJDnq: ReaSD: goto V_Vbu; qrArq: gkAuj: goto CPig7; f8fZX: if (strpos($s, '@media') === 0) { goto ReaSD; } goto gExJ2; qOOWc: goto WMavk; goto winx2; pb278: $css .= "{$s}{" . $media . "}"; goto qrArq; RVMsu: } goto G8x7k; CWRIb: return $str; goto r4Yau; xV7be: $GLOBALS['hpp-lazycss'] = ''; goto X5Mn_; Wmj2d: return hpp_fix_stylesheet_1($str); goto pBZd8; Z3cj3: return $str; goto khMXZ; W89kn: $critical = ''; goto giOHP; UHxNR: WqwPr: goto oiMJX; jU_TE: foreach ($m[0] as $i => $l) { goto T8DKh; OA2Rs: xBNXP: goto Q0Il3; C3amW: $css .= $l; goto OA2Rs; LIfrg: swr1V: goto alCsx; PvaaG: goto xBNXP; goto LIfrg; T8DKh: if (!(strpos($str, $l) === false)) { goto swr1V; } goto PvaaG; alCsx: $str = str_replace($l, '', $str); goto C3amW; Q0Il3: } goto QsAYd; HHROt: global $wp2speed; goto SNRa7; pBZd8: SE8yX: goto m_Z0N; r4Yau: } goto A8ztB; L_g9h: function hpp_treat_tag($code, &$dt = array(), $tags = []) { goto YSK95; CCVvY: if (!(strpos($code, '[endif]') !== false)) { goto KmWjN; } goto qn04F; W7HaY: if (!empty($dt)) { goto sLGiy; } goto wrkUm; XxrlO: sgw0c: goto CCVvY; iJXsc: $dt['code'] = $code; goto VIWTc; zWbdw: $code = str_replace('[hw_php]', '<?php', $code); goto l7MgS; kyZlt: KmWjN: goto iJXsc; wZw1L: $dt['ie'] = []; goto P4wl8; P4wl8: foreach ($m[0] as $i => $s) { goto HjrS6; qE8pm: sWP6f: goto KXDr9; ognKy: $code = str_replace($s, "[[ie_{$i}]]", $code); goto qE8pm; HjrS6: $dt['ie']["[[ie_{$i}]]"] = $s; goto ognKy; KXDr9: } goto w9G6s; l7MgS: $code = str_replace('[/hw_php]', '?>', $code); goto T8V6H; wfiOl: foreach ($dt['ie'] as $k => $v) { $code = str_replace($k, $v, $code); DLcA2: } goto hYUxw; Lobjl: EWTac: goto ZPehT; VdWzo: lvZIK: goto fRtJX; wrkUm: $code = str_replace('<?php', '[hw_php]', $code); goto LAZlx; aNLd2: if (empty($dt['ie'])) { goto lvZIK; } goto wfiOl; qn04F: preg_match_all('#<\\!--\\[if .*?\\].*?\\[endif\\]-->#si', $code, $m); goto wZw1L; w9G6s: Rkcxj: goto kyZlt; tE_w2: $tags[] = 'noscript'; goto jL37p; T8V6H: foreach ($tags as $tag) { goto jUteT; jUteT: if (empty($dt[$tag])) { goto OU42T; } goto ake3M; KPMqy: RAzsa: goto dTzrd; ake3M: foreach ($dt[$tag] as $k => $v) { $code = str_replace($k, $v, $code); ddUS2: } goto KPMqy; LM3jK: Qeq0p: goto Qb7db; dTzrd: OU42T: goto LM3jK; Qb7db: } goto REVQh; jL37p: w9TnF: goto W7HaY; VIWTc: goto EWTac; goto DgpHT; ZPehT: return $code; goto E7vzH; LAZlx: $code = str_replace('?>', '[/hw_php]', $code); goto CZEmR; CZEmR: foreach ($tags as $tag) { goto a04dl; DcoYT: ONiSM: goto jKqmo; U6a7J: WhPnc: goto DcoYT; a04dl: if (!(stripos($code, '<' . $tag . '') !== false)) { goto WhPnc; } goto mDAQx; nCw7U: $dt[$tag] = []; goto iOS3l; iOS3l: foreach ($m[0] as $i => $s) { goto EYHgI; n5j58: $code = str_replace($s, "[{$tag}_{$i}]", $code); goto lKPuc; lKPuc: Wccrh: goto ZwG_7; EYHgI: $dt[$tag]["[{$tag}_{$i}]"] = $s; goto n5j58; ZwG_7: } goto S5dv_; S5dv_: ANwCT: goto U6a7J; mDAQx: preg_match_all('#<' . $tag . '(((?!>).)*)?>(.*?)<\\/' . $tag . '>#si', $code, $m); goto nCw7U; jKqmo: } goto XxrlO; fRtJX: unset($dt); goto Lobjl; REVQh: JxACO: goto aNLd2; DgpHT: sLGiy: goto zWbdw; hYUxw: rrBB3: goto VdWzo; YSK95: if (in_array('noscript', $tags)) { goto w9TnF; } goto tE_w2; E7vzH: } goto t0NCq; NO69l: function hqp_has_latin($str) { foreach (hqp_latin_characters() as $c => $c1) { goto mTgmq; ZTOFs: AeH_P: goto M4Pek; vFgeL: K7XLM: goto ZTOFs; mTgmq: if (!(strpos($str, $c) !== false)) { goto K7XLM; } goto CRgB9; CRgB9: return true; goto vFgeL; M4Pek: } wVU6V: } goto lTdVz; P26Ny: function hpp_attr_value($s) { goto cRjKM; AKduM: $s = str_replace($sub, str_replace(['"', "'", '\\'], '', $sub), $s); goto xLSdP; cRjKM: $sub = substr($s, 0, 4); goto AKduM; jL_uV: $s = str_replace($sub1, str_replace(['"', "'", '\\'], '', $sub1), $s); goto Xlj28; Xlj28: return $s; goto X9Cda; xLSdP: $sub1 = substr($s, -4); goto jL_uV; X9Cda: } goto L9Xvn; HBrBh: function hpp_defer_img($img) { goto SAztk; CnLjv: return $img; goto hLQxb; XornK: $img = str_replace(' class="', ' class=" ' . $class . ' ', $img); goto hiCzA; p1gzE: return $img; goto kok_R; Dse1T: $img = str_replace(' src=', ' src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src=', $img); goto StXPd; ojRjh: goto QzSsf; goto vP0ep; vP0ep: V6SzV: goto XornK; SAztk: if (!(stripos($img, '<img ') === false || !hpp_shouldlazyload() || apply_filters('hpp_disallow_lazyload', false, $img))) { goto rtCaJ; } goto CnLjv; yBGlB: if (strpos($img, ' class="') !== false) { goto V6SzV; } goto ZSfPn; m9WQO: $class = hw_config('lazy_class'); goto w58Yx; StXPd: pt2eR: goto m9WQO; crxLd: if (!(strpos($img, ' data-src') === false)) { goto pt2eR; } goto Dse1T; hiCzA: QzSsf: goto CCeL7; w58Yx: if (!(strpos($img, 'class=" ' . $class) === false)) { goto fvFHQ; } goto yBGlB; CCeL7: fvFHQ: goto p1gzE; ZSfPn: $img = str_ireplace('<img ', '<img class=" ' . $class . ' " ', $img); goto ojRjh; hLQxb: rtCaJ: goto crxLd; kok_R: } goto PqmT5; LLR6h: function hpp_fix_script_variables($str, $force = 0) { goto vD2b3; ab6O5: return $str; goto axJ3V; HBhBB: return preg_replace_callback('#(^|\\s+|\'|"|;)var(\\s+?)([a-zA-Z0-9_\\s]+?)=(((?!;).)*)#si', function ($m) use($str) { goto Y35fo; Y35fo: $ar = explode('||', $m[4]); goto ba0sg; A0jvE: n5at4: goto jwcnt; ba0sg: if (!(trim($ar[0]) == trim($m[3]))) { goto n5at4; } goto HdWm1; HdWm1: $m[4] = str_replace($ar[0] . '||', 'window.' . $m[3] . '||', $m[4]); goto A0jvE; jwcnt: return 'window.' . $m[3] . '=' . $m[4]; goto ctvMH; ctvMH: }, $str); goto EMShk; vD2b3: if (!(!$force && hpp_in_str($str, hpp_var('heavy-js', [])))) { goto tiHst; } goto ab6O5; axJ3V: tiHst: goto HBhBB; EMShk: } goto K2rcc; OVLF0: function hpp_reorder_hooks($pirority, $hook, $func, $pos = 0, $before = 0) { goto LQ9P6; TN1gl: nTY9K: goto DqDKd; pPd_w: $insert = []; goto CdWX_; Zk1xR: if (empty($wp_filter[$hook]->callbacks[$pirority])) { goto nTY9K; } goto lrEAa; nt0ou: sNGxb: goto rSU2I; LQ9P6: global $wp_filter; goto Zk1xR; CdWX_: $i = 0; goto f7hgY; Bq0WO: $callbacks = hpp_array_insert_assoc($callbacks, $insert, $pos); goto jPi7l; lrEAa: $callbacks =& $wp_filter[$hook]->callbacks[$pirority]; goto pPd_w; jPi7l: DHley: goto TN1gl; f7hgY: foreach ($callbacks as $k => $it) { goto zmsx1; aqmtD: $pos = $i + ($before ? -1 : 0); goto xjv6e; kRNi1: unset($callbacks[$k]); goto OPTV0; OPTV0: $insert[$k] = $it; goto LTdJC; LTdJC: q8R9H: goto mYvyc; mOBKd: AqaiB: goto o6y5M; R7qzB: if (!($fun == $func)) { goto q8R9H; } goto kRNi1; VgLiH: $i++; goto mOBKd; xjv6e: TJ2gR: goto VgLiH; mYvyc: if (!(!is_numeric($pos) && $pos == $fun)) { goto TJ2gR; } goto aqmtD; zmsx1: $fun = is_array($it['function']) ? $it['function'][1] : (is_string($it['function']) ? $it['function'] : ''); goto R7qzB; o6y5M: } goto nt0ou; rSU2I: if (!is_numeric($pos)) { goto DHley; } goto Bq0WO; DqDKd: } goto lDL_6; oTanu: function hpp_defer_content($str) { goto ABSeb; l1Mxe: return json_encode(hpp_defer_option(json_decode($str, true))); goto Sztee; MqL_F: return $str; goto AFTTv; ABSeb: if (!(is_string($str) && hpp_isJson($str))) { goto n2kG6; } goto l1Mxe; Sztee: n2kG6: goto pXUPL; pXUPL: $str = hpp_defer_media($str); goto MqL_F; AFTTv: } goto M9JSA; QM52n: function hpp_strip_comment($str, $type = 'css') { goto lCyfz; lCyfz: if (!($type == 'css')) { goto DyOkn; } goto ic1FY; U1VLl: return $str; goto sjks1; gKK9e: if (!($type == 'html')) { goto hBAXf; } goto f__cL; GYOEE: DyOkn: goto gKK9e; I2Owg: hBAXf: goto U1VLl; ic1FY: $str = preg_replace('!/\\*[^*]*\\*+([^/][^*]*\\*+)*/!', '', $str); goto GYOEE; f__cL: $str = preg_replace_callback('/<!--.*?-->/s', function ($matches) { return ''; }, $str); goto I2Owg; sjks1: } goto a5a26; zYJrf: function hpp_css_properties(array $it, $newLine = "\n") { goto kQn5a; vDNzI: XqlRW: goto Npl_v; kQn5a: $css = ''; goto AFEVa; AFEVa: foreach ($it as $k1 => $v1) { $css .= "{$k1}:{$v1};"; O0LTW: } goto vDNzI; Npl_v: return $css; goto IgZ9A; IgZ9A: } goto NJHOq; FwA28: if (!function_exists('_chmod_uploads')) { function _chmod_uploads($path, $dir) { goto zDZMi; QwdLY: pgmhu: goto Ldz3B; p5HQE: chmod($path, 0755); goto QwdLY; zDZMi: if (!($dir ? $dir->isDir() : is_dir($path))) { goto pgmhu; } goto p5HQE; Ldz3B: } } goto zc9yb; NTqHN: function load_dynamic_by_js($name, $func) { goto TBj8m; TBj8m: if (isset($GLOBALS['hppjs'])) { goto kWPBL; } goto b5lGU; h9zhb: $GLOBALS['hppjs'][$id] = ['text' => trim(preg_replace('/\\s+/', ' ', $out))]; goto N3SSq; NlEGR: if (hw_config('dynamic_content')) { goto hnjHA; } goto JBHur; IvY09: goto Rwnq8; goto NZ0ap; JlNCx: $out .= ob_get_clean(); goto VHSn4; QJKt6: hnjHA: goto DALit; DALit: $id = hash('adler32', hpp_current_url() . $name); goto h9zhb; rqGQk: ob_start(); goto Kv9wb; Kv9wb: $out = call_user_func_array($func, []); goto JlNCx; Mf62N: if (is_callable($func)) { goto vz6C2; } goto f97JV; b5lGU: $GLOBALS['hppjs'] = array(); goto vRNeo; f97JV: $out = $func; goto IvY09; NZ0ap: vz6C2: goto rqGQk; N3SSq: return sprintf('<div data-id="%s"></div>', $id); goto paZ6j; vRNeo: kWPBL: goto Mf62N; JBHur: return $out; goto QJKt6; VHSn4: Rwnq8: goto NlEGR; paZ6j: } goto jTR72; W_I_z: function hpp_gen_critical_context($val = '', $def = '') { return isset($_GET['hpp-gen-critical']) ? $val : $def; } goto NTqHN; PqmT5: function hpp_defer_media($str) { goto VoFT3; AxgZD: return $str; goto IcISw; LcYmB: $str = hpp_treat_tag($str, $dt, ['script']); goto V09ZD; V09ZD: KCde5: goto AxgZD; G8YcH: X9pPb: goto LcYmB; Po_z8: $str = hpp_treat_tag($str, $dt, ['script']); goto Q9qkO; lELlB: $dt = []; goto Po_z8; R5pQv: if (!(stripos($str, '<iframe') !== false)) { goto X9pPb; } goto O_PaQ; Q9qkO: $str = hpp_defer_imgs($str); goto R5pQv; O_PaQ: $str = hpp_lazy_video($str, 2, 0); goto G8YcH; VoFT3: if (!(stripos($str, '<img') !== false || stripos($str, '<iframe') !== false && apply_filters('hpp_should_defer_media_in_text', true, $str))) { goto KCde5; } goto lELlB; IcISw: } goto oTanu; QvmmR: function _get_global($key, $defVal = '') { goto bYYMi; AVLb6: f6TP4: goto IAdFn; xkHWh: return $defVal; goto AlI3F; IAdFn: if (!isset($GLOBALS['hw_data'][$key])) { goto vFBUX; } goto XkFzG; bMfH7: vFBUX: goto xkHWh; XkFzG: return $GLOBALS['hw_data'][$key]; goto bMfH7; bYYMi: if (isset($GLOBALS['hw_data'])) { goto f6TP4; } goto f5eB9; f5eB9: $GLOBALS['hw_data'] = array(); goto AVLb6; AlI3F: } goto FM2Mh; TC136: if (!function_exists('recurse_copy')) { function recurse_copy($src, $dst) { goto shX0A; aqS3E: @mkdir($dst); goto qurXn; UDbCB: $dir = opendir($src); goto aqS3E; N4XFL: goto RNQnl; goto L41vj; L41vj: ZBPTh: goto UEebO; O8fa0: if (!(false !== ($file = readdir($dir)))) { goto ZBPTh; } goto k1xDK; bKpD_: if (is_dir($src . '/' . $file)) { goto PWWSG; } goto cOXGl; cOXGl: copy($src . '/' . $file, $dst . '/' . $file); goto IzYqk; n_txZ: return; goto UH7Or; gQgMv: recurse_copy($src . '/' . $file, $dst . '/' . $file); goto K61G0; UH7Or: sJK8s: goto UDbCB; UEebO: closedir($dir); goto iDZiK; shX0A: if (is_dir($src)) { goto sJK8s; } goto HBD1l; qurXn: RNQnl: goto O8fa0; ZL5G_: PWWSG: goto gQgMv; HBD1l: echo "[not-found-path: {$src}]"; goto n_txZ; D2TOz: DMKil: goto N4XFL; K61G0: Ifo2X: goto D2TOz; k1xDK: if (!($file != '.' && $file != '..')) { goto DMKil; } goto bKpD_; IzYqk: goto Ifo2X; goto ZL5G_; iDZiK: } } goto Wa4Yc; f0DQp: function hpp_write_log($log) { goto ZuVyA; i4DPM: gkIBZ: goto TD7H5; ndgSJ: goto gkIBZ; goto Uo4Jw; ZuVyA: if (is_array($log) || is_object($log)) { goto i7CEy; } goto MhwEz; fXde3: error_log(print_r($log, true)); goto i4DPM; Uo4Jw: i7CEy: goto fXde3; MhwEz: error_log($log); goto ndgSJ; TD7H5: }