Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  | 
    |              on 2023-09-25 01:13:58              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 namespace GDPlayer; use Done\Subtitles\Subtitles; use GDPlayer\{Core, Helper, Security}; ini_set("max_execution_time", -1); ini_set("zlib.output_compression", "Off"); ini_set("output_buffering", "Off"); class StreamHelper extends \GDPlayer\StreamCacheHelper { protected $ch; protected $core; protected $helper; protected $mantas; protected $security; protected $writeCallback = false; protected $videoEmail; protected $videoTitle = ''; protected $header = []; protected $allowResHeaders = ["content-length", "content-range"]; protected $resHeaders = []; protected $slashReplacement = "-gdpSlash-"; protected $tmpPath = "tmp/hosts/"; protected $bypassRateLimit = false; protected $isMP4 = false; public function __construct(string $vHost = '', string $vID = '', string $url = '', bool $bypassRateLimit = false) { goto v2jCjt_rKHYVP5OW; jSdu9LAxkmad3byR: header("Accept-Ranges: bytes", true); 
 goto adf2pQMXfV9R9S3v; zJWMvjiPmjfvNAcf: $this->cacheMaxAge = $this->core->timeout($this->videoHost); 
 goto IOBeHbz1GL9a9seG; GWNtsjZrgPy2_GDt: $this->videoId = $vID; 
 goto muMvY1sDhSKHZfZC; v2jCjt_rKHYVP5OW: session_write_close(); 
 goto J4DPqSh34Qk6j7or; adf2pQMXfV9R9S3v: header("Connection: close", true); 
 goto aFZGwfg2O4tXfhYB; FjlOiqlpBFkWU95Z: session_write_close(); 
 goto xBuZ4nUm0CRICnmR; tLt7Y1jozCsKQ4sq: $this->allowResHeaders[] = "content-type"; 
 goto ym6Vyf1U0WPB_ya8; xjhLgMFXtO_RYvFn: $prevIpHeaders = $this->iCache->get($ipLimitKey); 
 goto AIPOvo2ElHxS79bj; ztSB7BsRaRWHct4z: session_write_close(); 
 goto jSSLSNyhxAd23gnL; zCkL72zIrfLhlmR6: if (!$bypassRateLimit) { goto JS3Z81M1HOessDpx; } goto ThC5DDBAjhiuKEr4; LLZnVi_wqlbLY4ET: JS3Z81M1HOessDpx: goto KvRwJDEQhottGOzs; CM37nUMPffcOw8d8: $this->core = new Core(); 
 goto xOngDOh84gtmV1jR; rIQnEngDbuoTOu8l: curl_setopt($this->ch, CURLOPT_HEADER, false); 
 goto JSngnx2Gg2QeHjHP; aRyQ42Qavh1RKxPw: $url = trim(strtr($url, ["ext={$qry["ext"]}" => '', $baseName . "?" => $fileName . "." . $qry["ext"] . "?"]), "?&#"); 
 goto tlyTXPPSS7ICbpKb; eETPETcjl1JuSs7m: curl_setopt($this->ch, CURLOPT_URL, $this->videoURL); 
 goto JC3xc3fSIUqtbPhS; muMvY1sDhSKHZfZC: $this->bypassRateLimit = $bypassRateLimit; 
 goto MX921CSHGqby4xVJ; dZlhZ_fIhut2QWZ3: $this->header = array_merge($this->header, $ipHeaders); 
 goto LLZnVi_wqlbLY4ET; tlyTXPPSS7ICbpKb: u8MURowbTtpa603Y: goto pguqzPQBaR1hmqfV; bJTnP5uU6C4B5Ut4: qMdPXUUjRBCKhdvm: goto dZlhZ_fIhut2QWZ3; xBuZ4nUm0CRICnmR: ob_end_clean(); 
 goto nTj28MQ4I9LDeokW; urt9dR6KP019lGE1: TsVt3pEdWCW4DhBQ: goto eQfdzV0UhRSilMxF; nTj28MQ4I9LDeokW: MUSJTMvoS1MPkAeE: goto fAy0jKqmXMC3_Nla; fAy0jKqmXMC3_Nla: ob_start(); 
 goto QKlymGZE1GnP0XBS; cq_92i6PYiIXXxMi: $ipHeaders = $prevIpHeaders; 
 goto bJTnP5uU6C4B5Ut4; ThC5DDBAjhiuKEr4: session_write_close(); 
 goto df2edQsv0XiqHKYS; xOngDOh84gtmV1jR: $this->helper = new Helper(); 
 goto AYiWvwuYcQhzUg8h; JC3xc3fSIUqtbPhS: curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, "GET"); 
 goto rIQnEngDbuoTOu8l; wjfgJIJkhM7GKwIR: $this->security = new Security(); 
 goto KmnOZn4NMi3LvAgK; eQfdzV0UhRSilMxF: session_write_close(); 
 goto cq_92i6PYiIXXxMi; MX921CSHGqby4xVJ: if ($this->cfFriendly) { goto WVNgau21Lrs8okhj; } goto LvFyHhonm_eKDxnN; BSdfM8CeLacRltA4: curl_setopt($this->ch, CURLOPT_HEADERFUNCTION, array($this, "headerCallback")); 
 goto mX91QZgXZsdrSdTF; jjy972QC5NuuVUKS: $baseName = basename($path); 
 goto CduHVKYx2Lx_d27R; LvFyHhonm_eKDxnN: session_write_close(); 
 goto tLt7Y1jozCsKQ4sq; CduHVKYx2Lx_d27R: $fileName = pathinfo($path, PATHINFO_FILENAME); 
 goto aRyQ42Qavh1RKxPw; g5AWz63gVJ1Nut8o: @parse_str(parse_url($url, PHP_URL_QUERY), $qry); 
 goto aFHbVFAehJK9TPKJ; AIPOvo2ElHxS79bj: if (!empty($prevIpHeaders)) { goto TsVt3pEdWCW4DhBQ; } goto AGa4q72nVbDBm81U; jSSLSNyhxAd23gnL: $path = parse_url($url, PHP_URL_PATH); 
 goto jjy972QC5NuuVUKS; ocRlIM2FLMORmx1w: $this->ch = $this->helper->getCurlDefaultConfig(curl_init(), 0); 
 goto eETPETcjl1JuSs7m; df2edQsv0XiqHKYS: $ipLimitKey = "rate_limit_" . $this->videoHost . "_" . keyFilter($this->videoId); 
 goto xjhLgMFXtO_RYvFn; IOBeHbz1GL9a9seG: $this->cacheBaseDir = getVideoCacheFileDir($this->videoHost, $this->videoId); 
 goto EiuwHbfX8V24cKlr; wGXnFC2ULYOLgHe8: goto qMdPXUUjRBCKhdvm; 
 goto urt9dR6KP019lGE1; AYiWvwuYcQhzUg8h: $this->mantas = new Subtitles(); 
 goto wjfgJIJkhM7GKwIR; EiuwHbfX8V24cKlr: $this->cacheFile = $this->getCacheFile(); 
 goto Ioi86Cwr2_ScOllU; pguqzPQBaR1hmqfV: $this->videoURL = trim(strtr($url, ["slave%5B0%5D" => "slave%5B%5D", "slave[0]" => "slave[]", $this->slashReplacement => "%2f", " " => "%20", "?&" => "?"]), "?#"); 
 goto zJWMvjiPmjfvNAcf; AGa4q72nVbDBm81U: session_write_close(); 
 goto xTMVmiMomD2I0I67; xTMVmiMomD2I0I67: $ipHeaders = $this->helper->bypassRateLimit(); 
 goto y6y1c61iO2SRSrja; y6y1c61iO2SRSrja: $this->iCache->save($ipLimitKey, $ipHeaders, 2592000, "rate_limit_ips"); 
 goto wGXnFC2ULYOLgHe8; aFHbVFAehJK9TPKJ: if (!isset($qry["ext"])) { goto u8MURowbTtpa603Y; } goto ztSB7BsRaRWHct4z; KvRwJDEQhottGOzs: $this->header[] = "Host: " . $this->helper->getHostOrigin($this->videoURL); 
 goto ocRlIM2FLMORmx1w; JSngnx2Gg2QeHjHP: curl_setopt($this->ch, CURLOPT_NOBODY, false); 
 goto BSdfM8CeLacRltA4; QKlymGZE1GnP0XBS: header_remove("Connection"); 
 goto jSdu9LAxkmad3byR; mX91QZgXZsdrSdTF: if (!ob_get_status()) { goto MUSJTMvoS1MPkAeE; } goto FjlOiqlpBFkWU95Z; KmnOZn4NMi3LvAgK: $this->videoHost = $vHost; 
 goto GWNtsjZrgPy2_GDt; J4DPqSh34Qk6j7or: parent::__construct(); 
 goto CM37nUMPffcOw8d8; ym6Vyf1U0WPB_ya8: WVNgau21Lrs8okhj: goto g5AWz63gVJ1Nut8o; Ioi86Cwr2_ScOllU: $this->header = $this->core->defaultHeaders($this->videoHost); 
 goto zCkL72zIrfLhlmR6; aFZGwfg2O4tXfhYB: } public function setCookie($cookie) { goto NUY5ouyOEJzY_WJH; NUY5ouyOEJzY_WJH: session_write_close(); 
 goto XbLcHCD7hcdEUSwX; XbLcHCD7hcdEUSwX: if (empty($cookie)) { goto si9BrkmCfo2StXP0; } goto VTDtNIVg18qxV8mH; VTDtNIVg18qxV8mH: session_write_close(); 
 goto lR1imjXZqEtl8aCp; aIM9veXrlwfCDjMj: si9BrkmCfo2StXP0: goto bdbMs3q1riLCuq3P; lR1imjXZqEtl8aCp: curl_setopt($this->ch, CURLOPT_COOKIE, $cookie); 
 goto aIM9veXrlwfCDjMj; bdbMs3q1riLCuq3P: } public function setReferer(string $referer = '') { goto lv6Vngy7DC2TW0Sl; j0Y0TKysUp4EBKub: $origin = $this->helper->getHostOrigin($referer, true); 
 goto U4L4PO8wSuD8h4Lk; U4L4PO8wSuD8h4Lk: $this->header[] = "Origin: " . $origin; 
 goto KhJyLUWf4IqG2IIs; KhJyLUWf4IqG2IIs: $this->header[] = "Referer: " . $referer . "/"; 
 goto Hj3vYQ8_rd3DvYlr; lv6Vngy7DC2TW0Sl: session_write_close(); 
 goto j0Y0TKysUp4EBKub; Hj3vYQ8_rd3DvYlr: } public function setCache(int $created = 0, int $expired = 0) { goto ISOMBrm9N_4m0a_W; Norbm0e1CKBIrkEC: $this->cacheCreated = $created; 
 goto QFW6fJorCkrTEJyV; ISOMBrm9N_4m0a_W: session_write_close(); 
 goto Norbm0e1CKBIrkEC; QFW6fJorCkrTEJyV: $this->cacheExpires = $expired; 
 goto beoSbN_9kKm3877w; beoSbN_9kKm3877w: } public function setLiveToken(bool $live = false, string $token = null) { goto Sq4z7rBlW0choUWd; NHl_olzJw4hRw6jN: $this->live = $live; 
 goto s4yvNR707S_3klnw; s4yvNR707S_3klnw: $this->token = $token; 
 goto m_gI2reuthAQSwE3; Sq4z7rBlW0choUWd: session_write_close(); 
 goto NHl_olzJw4hRw6jN; m_gI2reuthAQSwE3: } protected function headerCallback($ch, $header) { goto HfhavymusUWxugnn; qWDjU6IhoDXz3Jjc: if (!in_array($key, $this->allowResHeaders)) { goto cyrG6kpHMcV6PY6m; } goto JbcUReP3phomXAb8; EmS_X7ZWyw_0KFcu: list($key, $val) = array_pad(explode(":", $header), 2, ''); 
 goto qWDjU6IhoDXz3Jjc; HfhavymusUWxugnn: session_write_close(); 
 goto MfqiiHSS6ht0QMjc; MfqiiHSS6ht0QMjc: $header = strtolower($header); 
 goto EmS_X7ZWyw_0KFcu; EyjjU4LoTieyLx5h: $this->resHeaders[$key] = trim($val); 
 goto dGUjKx1Wo0a9zl8P; TUC3QTpJyre7V4Qc: return strlen($header); 
 goto R6pPeuQqZq0QTmPT; JbcUReP3phomXAb8: session_write_close(); 
 goto EyjjU4LoTieyLx5h; UtfUwQzw_aFG5Hs4: cyrG6kpHMcV6PY6m: goto TUC3QTpJyre7V4Qc; dGUjKx1Wo0a9zl8P: header($header, true); 
 goto UtfUwQzw_aFG5Hs4; R6pPeuQqZq0QTmPT: } protected function writeCallback($ch, $chunk) { goto eFO7ypW36dXD13dw; eFO7ypW36dXD13dw: session_write_close(); 
 goto A9b6PPlB5XinClDD; A9b6PPlB5XinClDD: $this->writeCallback = true; 
 goto JZzX9TFm6CFm8dwK; qeQJVCUzFvmdLPYc: ob_flush(); 
 goto nDnBSYvKtFC4wram; JZzX9TFm6CFm8dwK: echo $chunk; 
 goto qeQJVCUzFvmdLPYc; U73AZPi3vyrVj60s: return strlen($chunk); 
 goto ofvM2COdQQ9qCh18; nDnBSYvKtFC4wram: flush(); 
 goto U73AZPi3vyrVj60s; ofvM2COdQQ9qCh18: } protected function writeCacheCallback($ch, $chunk) { goto ybbMn75iwP9l3SNZ; ybbMn75iwP9l3SNZ: session_write_close(); 
 goto VBww6D70dAepiz0Q; d8IqhkCBbpFbYjKx: ob_flush(); 
 goto sm1Xclq9c1WXH_sk; FQo3_1mDfayODZLZ: if (!(!empty($this->resHeaders["content-length"]) && strlen($this->cacheContent) === intval($this->resHeaders["content-length"]))) { goto ek4p16b4yOLeeytt; } goto UM03tqbz7J5D4N33; enH3qD9aRg4YiuLV: $this->cacheContent .= $chunk; 
 goto FQo3_1mDfayODZLZ; Z5T1moZjeu0QA1ig: echo $chunk; 
 goto d8IqhkCBbpFbYjKx; VBww6D70dAepiz0Q: $length = strlen($chunk); 
 goto kKapflcON4xiZ7CX; kKapflcON4xiZ7CX: $this->writeCallback = true; 
 goto enH3qD9aRg4YiuLV; BrRZCLk2SRwAOf5k: ek4p16b4yOLeeytt: goto Z5T1moZjeu0QA1ig; sm1Xclq9c1WXH_sk: flush(); 
 goto hquauMmVs7mbkoQq; UUpZzwbuu0PmgShH: create_file($this->cacheFile, $this->cacheContent, "wb"); 
 goto BrRZCLk2SRwAOf5k; hquauMmVs7mbkoQq: return $length; 
 goto gwf1XOE3OGNB_1n4; UM03tqbz7J5D4N33: session_write_close(); 
 goto UUpZzwbuu0PmgShH; gwf1XOE3OGNB_1n4: } private function parseCFUrl(string $path = '', string $query = '', string $fragment = '') { goto XMnPHgDM5Umar8Lt; kc5DATqBq_l_A26_: session_write_close(); 
 goto zgg0xcRfSLD4fJbC; UdCGySW377aT8Fn4: $baseName = basename($path); 
 goto MqmHdi0itwhZJErQ; YSCWmt8ZRJGax9jn: YNKaUcNVBksHzoSb: goto X_obzVKTVT3bKF5b; MqmHdi0itwhZJErQ: $query = "?ext=" . $fileExt . "&" . ltrim($query, "?"); 
 goto cXkoMpl897wAV00m; vz0I1cFeJyDdAzE6: session_write_close(); 
 goto UdCGySW377aT8Fn4; cXkoMpl897wAV00m: $path = in_array($fileExt, $videoExt) ? strtr($path, [$baseName => $fileName . ".js"]) : strtr($path, [$baseName => $fileName . ".txt"]); 
 goto T6Bg0nj3FGJq3MFR; XMnPHgDM5Umar8Lt: session_write_close(); 
 goto WPaii0SRYR0gbbtc; zgg0xcRfSLD4fJbC: $fileName = pathinfo($path, PATHINFO_FILENAME); 
 goto ikIOLWcCkSuRITOW; T6Bg0nj3FGJq3MFR: hby7oBJLra4JAkzw: goto YSCWmt8ZRJGax9jn; ikIOLWcCkSuRITOW: $fileExt = pathinfo($path, PATHINFO_EXTENSION); 
 goto ov2btIrT2db1YYgS; Q3GSCXyQezn39tdd: $excludeExt = ["mpd", "srt", "vtt", "txt", "js"]; 
 goto nfgkHHSIUPIdC3fQ; WPaii0SRYR0gbbtc: if (!$this->cfFriendly) { goto YNKaUcNVBksHzoSb; } goto kc5DATqBq_l_A26_; ov2btIrT2db1YYgS: $videoExt = ["ts", "mp4", "m4s", "m4v", "m4a", "aac", "mp3", "ac3"]; 
 goto Q3GSCXyQezn39tdd; nfgkHHSIUPIdC3fQ: if (!(!empty($query) && !in_array($fileExt, $excludeExt))) { goto hby7oBJLra4JAkzw; } goto vz0I1cFeJyDdAzE6; X_obzVKTVT3bKF5b: return trim($path . $query . $fragment, "?#"); 
 goto pK6vZYxR3nfeFpHG; pK6vZYxR3nfeFpHG: } protected function bypassURL(string $val = '', string $separator = "/segments/") { goto SbQrO6DIBL8Laip4; c3apIA2zTCg3TQyE: if (empty($urlParser["query"])) { goto LNk7PQXkpGEenQcO; } goto sZV8XOdOgEPVzMuH; olCRh0bWvpE5Ljbl: $originURLEncoded = $this->security->encryptURL($ref); 
 goto SOvvQTzNe7kjteW1; cphDbDsIDb6Ma2oB: hMZbAc3zthxkLZP3: goto Qnray4pIRuvAhyoU; CuadgNUcWRqxB9nc: $path = ltrim($path, "/"); 
 goto R2CIALCIoGOkNENb; d9LMx72QxCGWJCbx: goto sEvX1OuUuJHQ7GE6; 
 goto rND8CIllW4rrQn_u; j3sFyvzd483MVPh7: $ref = $scheme . "://" . trim(implode("/", $exUrl), "/") . "/"; 
 goto ySd_Yz_QBwt4meyp; hGPSy5s9SOIaj2wQ: $path = ltrim($path, "./"); 
 goto d9LMx72QxCGWJCbx; FmraMdlt3eF0mKCe: $fragment = "#" . $urlParser["fragment"]; 
 goto pnUGVfU8vH48kM1b; F27bGh5vqK52zL4k: $query = "?data=" . $key; 
 goto c3apIA2zTCg3TQyE; HbCE12QZ1HSD9rZC: $query .= $this->getAmp() . "live=" . ($this->live ? "true" : "false"); 
 goto G_BES5RTQ_W20CUe; SbQrO6DIBL8Laip4: session_write_close(); 
 goto B1sm3ur2j0R2AtIr; rND8CIllW4rrQn_u: oPQ2_IpQdkxqsbfX: goto vY9ynVe06QoJTV57; K608RxVHq4yUeWRT: $cPath = count($exPath) - 1; 
 goto dtcPZC_3uhjCYV7f; UcLas89ldeKKXxmx: session_write_close(); 
 goto VwthvXEr4xeFLmZC; EomfueQBPMNM2kTg: $scheme = parse_url($masterURL, PHP_URL_SCHEME); 
 goto fGQbxzCk_vKmpyyg; TmLJtxv_BrN0roWo: $key = $this->security->encryptURL($this->videoHost . "~" . $this->videoId); 
 goto F27bGh5vqK52zL4k; sZV8XOdOgEPVzMuH: session_write_close(); 
 goto BV7z4Drt1G00pOuD; t4f2C3hkAEp0A2HX: goto zo0gitTuPVvRo7FE; 
 goto d53pv3uwnqvSbguE; WzF1rlxBB_3HYoXy: return $val; 
 goto cphDbDsIDb6Ma2oB; CpkvsFkUkGH6YFBV: session_write_close(); 
 goto lP8c0AoWWaXLXktp; uro8IkmDmirM66XB: goto sEvX1OuUuJHQ7GE6; 
 goto F81JHVCkM3v3qWCR; ykE7BZtpX9mhqb1Z: session_write_close(); 
 goto ndO7s1COGNXeAGtL; OEV1cTuNWi3OzP_E: session_write_close(); 
 goto A2WblA2C6ALNgw4q; BV7z4Drt1G00pOuD: $query .= "&" . $urlParser["query"]; 
 goto AjRgvIONBaaNp1pZ; GjVM_yF20PJ0ycng: $ref = $this->helper->getHostOrigin($val, true) . "/"; 
 goto oTalL3pvsDnvmaM5; dtcPZC_3uhjCYV7f: $exUrl = array_reverse(array_slice($exUrl, 0, $cPath)); 
 goto j3sFyvzd483MVPh7; R2CIALCIoGOkNENb: sEvX1OuUuJHQ7GE6: goto TmLJtxv_BrN0roWo; SOvvQTzNe7kjteW1: $path = ltrim($path, "/"); 
 goto G3d0bjTLO1DnjX_m; AHDpqe3K0SboxmCv: goto sEvX1OuUuJHQ7GE6; 
 goto SavqpfRwB7DwY9LZ; vtkSEya0lVaSin0u: $path = strtr($urlParser["path"], ["%2f" => $this->slashReplacement, "%2F" => $this->slashReplacement]); 
 goto F4GUC9jaKDKYzuRj; ySJSqRSqo5Y5L8K2: session_write_close(); 
 goto WzF1rlxBB_3HYoXy; Q3z5LgullwNOR0CW: $baseURL = trim($this->helper->replaceURLScheme(BASE_URL), "/"); 
 goto k_n811bMGkx5Gs5j; k_n811bMGkx5Gs5j: $separator = trim($separator, "/"); 
 goto olCRh0bWvpE5Ljbl; O9TRiLH1_nOva5cI: return $this->parseCFUrl($path, $query, $fragment); 
 goto zRXsHpXv7Q8LLwAR; F59NNHASJZaoDJEq: if (substr($path, 0, 2) === "./") { goto LqF2v0lpM6HCnu5i; } goto H372CwUHOgfhvMXe; T_BjyNdTAYOqB3Vm: session_write_close(); 
 goto MHIOTpBU9JXgxzji; oTalL3pvsDnvmaM5: $scheme = parse_url($val, PHP_URL_SCHEME); 
 goto bUJIhRUapJpQKw8L; Lsu_CBKzUN50iPeV: $masterURL = $ref . ltrim($val, "/"); 
 goto hctfsCS47691XtE6; F81JHVCkM3v3qWCR: PsNRVfw7WvZ5TnMp: goto CpkvsFkUkGH6YFBV; DzDB8S50AwDEOIPr: if (empty($urlParser["path"])) { goto Pcf3m6JWoUOXfLKZ; } goto q6qYZwPSPDdAPgzy; hctfsCS47691XtE6: bmh6V5ejUrZ5KLtR: goto NgeWwL6OX4qONB0O; fGQbxzCk_vKmpyyg: $xUrl = $this->helper->replaceURLScheme($masterURL); 
 goto yN71de9zAsoage3V; pwkDxdmi0oUXLZcl: fFIwtYWmqJUT4w_Y: goto UcLas89ldeKKXxmx; Qnray4pIRuvAhyoU: $path = ''; 
 goto DzDB8S50AwDEOIPr; aFeNHL5fQgwub44Q: $urlParser = []; 
 goto Ms4mOhlu3_Kbgqv6; G_BES5RTQ_W20CUe: $fragment = ''; 
 goto n9Tp_eDCEOsknfxY; ySd_Yz_QBwt4meyp: $path = strtr($path, ["../" => '']); 
 goto uro8IkmDmirM66XB; A2WblA2C6ALNgw4q: $masterURL = rtrim(strtr($masterURL, [basename($masterURL) => '']), "/") . "/" . ltrim($val, "/"); 
 goto ZYNS1lbufCJRlTxL; Xot6Hwhomv4b5_l_: session_write_close(); 
 goto hGPSy5s9SOIaj2wQ; MHIOTpBU9JXgxzji: $urlParser = parse_url($val); 
 goto GjVM_yF20PJ0ycng; F4GUC9jaKDKYzuRj: Pcf3m6JWoUOXfLKZ: goto F59NNHASJZaoDJEq; G3d0bjTLO1DnjX_m: if (!$this->isMPD) { goto TzVOcOQn4BzamYgc; } goto ykE7BZtpX9mhqb1Z; HvgM1ONxYgi0O5yl: session_write_close(); 
 goto FmraMdlt3eF0mKCe; SavqpfRwB7DwY9LZ: LqF2v0lpM6HCnu5i: goto Xot6Hwhomv4b5_l_; AjRgvIONBaaNp1pZ: LNk7PQXkpGEenQcO: goto HbCE12QZ1HSD9rZC; FUtJhkPay1zgXxoK: session_write_close(); 
 goto Lsu_CBKzUN50iPeV; Y7vcUtKMpNEk2eYV: TzVOcOQn4BzamYgc: goto R472qnrUnDb9HyBu; B1sm3ur2j0R2AtIr: $masterURL = $this->videoURL; 
 goto aFeNHL5fQgwub44Q; rTVgz5RwDoyplLKM: $exUrl = array_reverse(explode("/", rtrim($xUrl, "/"))); 
 goto mF73misZmYG5B1OX; H372CwUHOgfhvMXe: if (substr($path, 0, 3) === "../") { goto oPQ2_IpQdkxqsbfX; } goto FWFWZpK1GlqdtZdi; R472qnrUnDb9HyBu: $path = sprintf("%s/%s/%s/%s", $baseURL, $separator, $originURLEncoded, $path); 
 goto O9TRiLH1_nOva5cI; NgeWwL6OX4qONB0O: $urlParser = parse_url($masterURL); 
 goto EomfueQBPMNM2kTg; eLVV0PJgy70TSj02: goto zo0gitTuPVvRo7FE; 
 goto pwkDxdmi0oUXLZcl; UxIucMU3TJCcxATh: if (substr($val, 0, 1) === "/") { goto IPobH5GQOH2QkLM8; } goto OEV1cTuNWi3OzP_E; ZYNS1lbufCJRlTxL: goto bmh6V5ejUrZ5KLtR; 
 goto DjtghvYbmUXlQpsF; ndO7s1COGNXeAGtL: $path = ltrim(strtr($path, [$this->tmpPath . $this->videoHost => '', "//" => "/"]), "/"); 
 goto Y7vcUtKMpNEk2eYV; mF73misZmYG5B1OX: $exPath = explode("../", $path); 
 goto K608RxVHq4yUeWRT; FWFWZpK1GlqdtZdi: if (substr($path, 0, 1) === "/") { goto PsNRVfw7WvZ5TnMp; } goto AHDpqe3K0SboxmCv; LgI86PYWge3bzrwA: if (validate_url($val)) { goto mLDF0yvIk5Rp04UZ; } goto QEUKFmrRpUwbzl4P; pnUGVfU8vH48kM1b: pmjFvboZi2UURzQJ: goto Q3z5LgullwNOR0CW; n9Tp_eDCEOsknfxY: if (empty($urlParser["fragment"])) { goto pmjFvboZi2UURzQJ; } goto HvgM1ONxYgi0O5yl; DjtghvYbmUXlQpsF: IPobH5GQOH2QkLM8: goto FUtJhkPay1zgXxoK; lP8c0AoWWaXLXktp: $ref = $this->helper->getHostOrigin($ref, true) . "/"; 
 goto CuadgNUcWRqxB9nc; VwthvXEr4xeFLmZC: $ref = $this->helper->getHostOrigin($masterURL, true) . "/"; 
 goto UxIucMU3TJCcxATh; yN71de9zAsoage3V: zo0gitTuPVvRo7FE: goto iVofRf00J9vNlWJ6; Ms4mOhlu3_Kbgqv6: $ref = ''; 
 goto xRIdug15OuW4iPmy; vY9ynVe06QoJTV57: session_write_close(); 
 goto rTVgz5RwDoyplLKM; q6qYZwPSPDdAPgzy: session_write_close(); 
 goto vtkSEya0lVaSin0u; xRIdug15OuW4iPmy: $xUrl = ''; 
 goto LgI86PYWge3bzrwA; d53pv3uwnqvSbguE: mLDF0yvIk5Rp04UZ: goto T_BjyNdTAYOqB3Vm; bUJIhRUapJpQKw8L: $xUrl = $this->helper->replaceURLScheme($val); 
 goto eLVV0PJgy70TSj02; QEUKFmrRpUwbzl4P: if (validate_url($masterURL)) { goto fFIwtYWmqJUT4w_Y; } goto t4f2C3hkAEp0A2HX; iVofRf00J9vNlWJ6: if (!empty($urlParser)) { goto hMZbAc3zthxkLZP3; } goto ySJSqRSqo5Y5L8K2; zRXsHpXv7Q8LLwAR: } protected function subtitleStream($extension = null) { goto uSmPu2yF1FnAZ53V; vsgg38_qFs0FnvAm: if ($status >= 200 && $status < 400) { goto GtqHnPnInamMIN3v; } goto NyWh9YTMEGG22FCN; ZCsLntGR9tOsM2X_: if (!($extension !== "vtt" && $extension !== "webvtt" && substr(trim($content), 0, 6) !== "WEBVTT")) { goto WNRhWK_3Z4NfI41_; } goto OULJWA2mV9eAaqyy; ThBEUYVU94cbSGGZ: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true); 
 goto w2M2ugQqvjolUowz; h02pf9wGLDQL0Aj2: header("Content-Type: text/vtt;charset=UTF-8", true); 
 goto LoQameSAYZalLM5p; uSmPu2yF1FnAZ53V: session_write_close(); 
 goto ThBEUYVU94cbSGGZ; FpNEC4Dhn4q7siCi: $content = preg_replace("/{(.*?)}/", '', $content); 
 goto WLTPzROerMjKSYFs; e6Pu21L9MXFts_Yw: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); 
 goto hhk7QRVJ2rSPdad5; hagHo9EC0Jt8OLz2: $content = trim($content); 
 goto ZCsLntGR9tOsM2X_; xI13qgzP62g0O6jk: session_write_close(); 
 goto hagHo9EC0Jt8OLz2; O2Ux4I3jhy0L07ka: $content = curl_exec($this->ch); 
 goto e6Pu21L9MXFts_Yw; WLTPzROerMjKSYFs: WNRhWK_3Z4NfI41_: goto h02pf9wGLDQL0Aj2; LoQameSAYZalLM5p: $this->createResponseHeaders(200, $content); 
 goto HlXV_U_7E8JzXBN6; cLqQfAWGe75pEEuh: $content = $content->content("vtt"); 
 goto FpNEC4Dhn4q7siCi; piv_EhaM42bxOZKI: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]); 
 goto IFNK07gXoPs2OOqh; IFNK07gXoPs2OOqh: goto GcUDGAgWOb0LtU10; 
 goto f6JLSiK5GG81vaZJ; w2M2ugQqvjolUowz: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header); 
 goto O2Ux4I3jhy0L07ka; OULJWA2mV9eAaqyy: session_write_close(); 
 goto FNFu2la4HgQ4Txvq; NyWh9YTMEGG22FCN: session_write_close(); 
 goto piv_EhaM42bxOZKI; FNFu2la4HgQ4Txvq: $content = $this->mantas::loadString(strip_tags($content), $extension); 
 goto cLqQfAWGe75pEEuh; hhk7QRVJ2rSPdad5: $err = curl_error($this->ch); 
 goto vsgg38_qFs0FnvAm; HlXV_U_7E8JzXBN6: GcUDGAgWOb0LtU10: goto EUyXT7_icYN2D0wb; f6JLSiK5GG81vaZJ: GtqHnPnInamMIN3v: goto xI13qgzP62g0O6jk; EUyXT7_icYN2D0wb: } protected function videoStream() { goto vwrgwuRu836XfZq3; E3OiQmrgjkvjmC37: if (!$cache) { goto K76NEHggR6baW1ui; } goto eQSuEf6FF1osqfGD; DYVqwRQxlRZt6Khp: exit; 
 goto B1VCntuXufWhjotU; qUo2lQvPd32sB5BF: if (empty($_SERVER["HTTP_RANGE"]) && !$this->live && $this->enableCacheFile) { goto gprsm3zwTpOSUX09; } goto T6JwE0GxeX3lepmq; EFjlBX7hdKG3ElEa: goto ub1PRKihWnpd0Id0; 
 goto fmyF028RUXWJ1Hr_; NJqHRVh5FpH3cwz3: goto ULDStm5MBJMUSHpV; 
 goto fBKsjXwVo7YwQmC6; RR6kShcsywGrKBQI: $this->sendHttpCode = 200; 
 goto RdZ9407s2_Kg4U9o; OIQw27UBbbDYteJt: LAFUIZc2KmQtfqvF: goto tMfsxd9cEPPJU7Tc; tMfsxd9cEPPJU7Tc: curl_setopt($this->ch, CURLOPT_WRITEFUNCTION, array($this, "writeCacheCallback")); 
 goto abkwqqoBVWRF2Y0q; B1VCntuXufWhjotU: K76NEHggR6baW1ui: goto aAGbnnC6ubpdfx7w; VhPRqCJ8EdoOu4T7: curl_setopt($this->ch, CURLOPT_BUFFERSIZE, $this->bufferSize); 
 goto OoQvnRfbBto5uUYQ; aAGbnnC6ubpdfx7w: ULDStm5MBJMUSHpV: goto y1SMVDzaplUEJXUg; FBFPmqozOpQcvse_: create_dir($dir); 
 goto OIQw27UBbbDYteJt; UbVBj92K71KYR0kJ: curl_setopt($this->ch, CURLOPT_HEADER, false); 
 goto FseBNY9c8D0XJ1Sg; lUla6V4AJDuk3lQJ: if (is_dir($dir)) { goto LAFUIZc2KmQtfqvF; } goto riqUGdyzHB81ZbVx; gSyWZ6zqwVVs_Nwq: curl_setopt($this->ch, CURLOPT_WRITEFUNCTION, array($this, "writeCallback")); 
 goto EFjlBX7hdKG3ElEa; p9alHxMZVg18doZJ: flush(); 
 goto DYVqwRQxlRZt6Khp; eQSuEf6FF1osqfGD: session_write_close(); 
 goto DxeJQMeaT4Jny6n7; ikjOnGr1l8aOhQfn: kxlSiXluViqyMBkD: goto uXxbGwyn4zdxDsNx; JBvbIzLmCNnOxGjk: session_write_close(); 
 goto ErLus1MpBnwDp6n1; O4IhKrf6yTCTKYFi: if ($this->enableCacheFile) { goto kxlSiXluViqyMBkD; } goto NJqHRVh5FpH3cwz3; CbuiAY4ekXc3sy2f: $cache = $this->getCacheContent(); 
 goto E3OiQmrgjkvjmC37; B4uAaSJEopOjRCvS: H4FCAefF1UHpYhrp: goto nhgV2WHWxILaVy4t; vwrgwuRu836XfZq3: session_write_close(); 
 goto RR6kShcsywGrKBQI; fmyF028RUXWJ1Hr_: gprsm3zwTpOSUX09: goto UUPIaxLf_qIorj74; YhuqF1cWprYW30f1: curl_exec($this->ch); 
 goto bR5pe_at1mW83ENY; xdpm9aQkcSKVbPxa: ob_flush(); 
 goto p9alHxMZVg18doZJ; F9t0326NbEundKvR: goto ULDStm5MBJMUSHpV; 
 goto ikjOnGr1l8aOhQfn; bR5pe_at1mW83ENY: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE); 
 goto Hp0cuzC4n6tJACVV; UUPIaxLf_qIorj74: session_write_close(); 
 goto e0GkGCUJB0_EkOVG; DxeJQMeaT4Jny6n7: echo $cache; 
 goto xdpm9aQkcSKVbPxa; FseBNY9c8D0XJ1Sg: curl_setopt($this->ch, CURLOPT_NOBODY, false); 
 goto qUo2lQvPd32sB5BF; IKZ5v1GehQBKjU18: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]); 
 goto gH9DMQWySVLpJS8k; gH9DMQWySVLpJS8k: $this->createResponseHeaders($status); 
 goto B4uAaSJEopOjRCvS; abkwqqoBVWRF2Y0q: ub1PRKihWnpd0Id0: goto YhuqF1cWprYW30f1; XMocN7We1JGtyQ6V: $this->sendHttpCode = 206; 
 goto F9t0326NbEundKvR; y1SMVDzaplUEJXUg: $this->createResponseHeaders($this->sendHttpCode); 
 goto lgeBosdatADozGVg; riqUGdyzHB81ZbVx: session_write_close(); 
 goto FBFPmqozOpQcvse_; fBKsjXwVo7YwQmC6: pt4mAFr03sC2gSEe: goto JBvbIzLmCNnOxGjk; Uq1rw2NUmT3KyJ_v: session_write_close(); 
 goto IKZ5v1GehQBKjU18; e0GkGCUJB0_EkOVG: $dir = pathinfo($this->cacheFile, PATHINFO_DIRNAME); 
 goto lUla6V4AJDuk3lQJ; lgeBosdatADozGVg: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, false); 
 goto VhPRqCJ8EdoOu4T7; OoQvnRfbBto5uUYQ: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header); 
 goto UbVBj92K71KYR0kJ; RdZ9407s2_Kg4U9o: if (!empty($_SERVER["HTTP_RANGE"])) { goto pt4mAFr03sC2gSEe; } goto O4IhKrf6yTCTKYFi; Hp0cuzC4n6tJACVV: $err = curl_error($this->ch); 
 goto Rj1kP4UPL0Kxk8jF; ErLus1MpBnwDp6n1: $this->header[] = "range: " . $_SERVER["HTTP_RANGE"]; 
 goto XMocN7We1JGtyQ6V; Rj1kP4UPL0Kxk8jF: if (!($status < 200 || $status >= 400)) { goto H4FCAefF1UHpYhrp; } goto Uq1rw2NUmT3KyJ_v; uXxbGwyn4zdxDsNx: session_write_close(); 
 goto CbuiAY4ekXc3sy2f; T6JwE0GxeX3lepmq: session_write_close(); 
 goto gSyWZ6zqwVVs_Nwq; nhgV2WHWxILaVy4t: } public function setVerbose(string $vHost = '', string $vID = '') { goto rmqcq1RpY_vByCS2; rmqcq1RpY_vByCS2: session_write_close(); 
 goto UnxZM0S0zeWMZZoc; cBak0YsZQbjF8etY: curl_setopt($this->ch, CURLOPT_VERBOSE, $verbose); 
 goto N4jmY1PsqGZ82Zh2; FNHoCBwUaiJOmqHE: $baseDir = sprintf("%s/cache/streaming/%s/", rtrim(BASE_DIR, "\/"), $vHost); 
 goto c0KzbfrchiAtH3iX; UnxZM0S0zeWMZZoc: $verbose = $this->prodMode ? false : true; 
 goto FNHoCBwUaiJOmqHE; c0KzbfrchiAtH3iX: create_dir($baseDir); 
 goto cBak0YsZQbjF8etY; N4jmY1PsqGZ82Zh2: curl_setopt($this->ch, CURLOPT_STDERR, fopen($baseDir . keyFilter($vID) . ".txt", "w+")); 
 goto JAjTG7stSN_bmAhi; JAjTG7stSN_bmAhi: } public function stream() { goto MBSu0E2nN95pmcFW; C4_4lxVJqvOMYkFl: goto GEqBvRqVmSk9VsMB; 
 goto TcmNfCiuRcEQ1tZJ; T8ed5IM4dvXF3O3x: session_write_close(); 
 goto U_GMnDRgUNU5a9xD; SJwTx0kBkOZHMxg6: GEqBvRqVmSk9VsMB: goto NbHhT9SZCApzLPHu; FcYor3N1BKP3sI31: if (in_array($extension, $subtitleExtensions)) { goto aTVBrlrM3Wh3M14P; } goto T8ed5IM4dvXF3O3x; TcmNfCiuRcEQ1tZJ: aTVBrlrM3Wh3M14P: goto DI3NAEpmjrEfvGs0; bMIJRs38Ar2iZpT0: $path = parse_url($this->videoURL, PHP_URL_PATH); 
 goto ah4lnx5YZixNlb3G; ah4lnx5YZixNlb3G: $extension = pathinfo(basename($path), PATHINFO_EXTENSION); 
 goto FcYor3N1BKP3sI31; TJP_98BpsyNGFqoc: $this->subtitleStream($extension); 
 goto SJwTx0kBkOZHMxg6; U_GMnDRgUNU5a9xD: $this->videoStream(); 
 goto C4_4lxVJqvOMYkFl; MBSu0E2nN95pmcFW: session_write_close(); 
 goto OROiUYpT0zxw2Ptq; DI3NAEpmjrEfvGs0: session_write_close(); 
 goto TJP_98BpsyNGFqoc; OROiUYpT0zxw2Ptq: $subtitleExtensions = ["srt", "vtt", "ass", "sub", "stl", "dfxp", "ttml", "sbv"]; 
 goto bMIJRs38Ar2iZpT0; NbHhT9SZCApzLPHu: } protected function retry() { goto FVfsu1N5ARVMyU5Y; H_2rlhm4MIbX997E: $this->vSources->delete(); 
 goto KcHRbDX40frha1M0; KcHRbDX40frha1M0: goto OedLWOmH5PfSmavN; 
 goto jRZuTox3aenSg6_P; zcEdWEtxAtKCEK5a: $this->vSources->setCriteria("host", $this->videoHost); 
 goto HPcRSqabeG12AvcI; qi8HeyT1WkdTRxyg: header("location: " . $path, true); 
 goto Hp88c2lTckrDwQS3; jKCRD060oU7hnQCG: session_write_close(); 
 goto TzDe6ZFa4YtmAxQ3; ozdxn7GMebaHIEUW: goto wvplYn6WhZ_pFwoO; 
 goto JFzf6orI814czQpW; HERkuzwYKxxS2P_3: if (in_array($this->videoHost, $this->core->getBadHosts())) { goto Gpkvcr7sw8vmvC8n; } goto OvZ8NtnxXIofhCsw; zFO9zARD0kRLJWEG: $this->core->setDownload($this->isMP4); 
 goto om5OErJuln63vNo1; rUdRFC5x8HmShikQ: usleep(random_int(3000000, 7000000)); 
 goto HqWU2L2Kqp5mT728; kkP9fXZvu3wwlxDJ: $this->createResponseHeaders(404); 
 goto ozdxn7GMebaHIEUW; FVfsu1N5ARVMyU5Y: session_write_close(); 
 goto gYevchU5sjTQu3Pa; KXw2LFCb0Ort2rAA: vZkIjUd3kuOK4avk: goto HERkuzwYKxxS2P_3; OvZ8NtnxXIofhCsw: session_write_close(); 
 goto zcEdWEtxAtKCEK5a; Hp88c2lTckrDwQS3: wvplYn6WhZ_pFwoO: goto DISIYmmrqoJ7MuGx; rOLSm1tVTU6arahM: $qry["_"] = $now; 
 goto tTfYApoVArEUOaOJ; HPcRSqabeG12AvcI: $this->vSources->setCriteria("host_id", $this->videoId, "=", "AND"); 
 goto H_2rlhm4MIbX997E; Kqt_WnpzDPUxBDYx: if (!isset($_SERVER["HTTP_RANGE"])) { goto vZkIjUd3kuOK4avk; } goto jKCRD060oU7hnQCG; TzDe6ZFa4YtmAxQ3: $qry["range"] = strtr($_SERVER["HTTP_RANGE"], ["bytes=" => '']); 
 goto KXw2LFCb0Ort2rAA; xcHIMkwNyGofSXUk: $qry = is_array($qry) ? $qry : []; 
 goto Kqt_WnpzDPUxBDYx; jRZuTox3aenSg6_P: Gpkvcr7sw8vmvC8n: goto GuAD1_B4PQzjU_dD; gYevchU5sjTQu3Pa: parse_str(parse_url($_SERVER["REQUEST_URI"], PHP_URL_QUERY), $qry); 
 goto xcHIMkwNyGofSXUk; BltrxuYrUu7LnJQU: session_write_close(); 
 goto kkP9fXZvu3wwlxDJ; pjBVu8Aq_WSO0vDl: $this->core->setQuery(["host" => $this->videoHost, "id" => $this->videoId, "email" => $this->videoEmail]); 
 goto zFO9zARD0kRLJWEG; MchpWt0APRv5JaoP: session_write_close(); 
 goto iLsIOwqACAGOk3WX; JFzf6orI814czQpW: KC3vOxiahoOuBPC_: goto MchpWt0APRv5JaoP; tTfYApoVArEUOaOJ: $path = parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH) . "?" . http_build_query($qry); 
 goto yVj_SXNnA3vL1qQO; HqWU2L2Kqp5mT728: OedLWOmH5PfSmavN: goto pjBVu8Aq_WSO0vDl; iLsIOwqACAGOk3WX: $now = time(); 
 goto rOLSm1tVTU6arahM; JLhXgU3IG2H3OesO: if (!empty($result["sources"])) { goto KC3vOxiahoOuBPC_; } goto BltrxuYrUu7LnJQU; om5OErJuln63vNo1: $result = $this->core->result(); 
 goto JLhXgU3IG2H3OesO; wegioi4tkkT8eiH3: header("Expires: " . gmdate($this->cacheDateTimeFormat, $now), true); 
 goto qi8HeyT1WkdTRxyg; yVj_SXNnA3vL1qQO: header("Cache-Control: no-cache, no-store, {$this->defaultCacheControl}", true); 
 goto wegioi4tkkT8eiH3; GuAD1_B4PQzjU_dD: session_write_close(); 
 goto rUdRFC5x8HmShikQ; DISIYmmrqoJ7MuGx: } public function __destruct() { goto rWg9argl8Ve6PAzU; xcNfPfBcLfbU3mqt: if (!($this->ch && !$this->writeCallback)) { goto Q8O1EKDUWR9kZX9L; } goto nBD8ZUzUU7mmL32h; xxeWcj4m5ouqokq2: curl_close($this->ch); 
 goto Mczw1gmKdE1DBFrh; rWg9argl8Ve6PAzU: session_write_close(); 
 goto xcNfPfBcLfbU3mqt; nBD8ZUzUU7mmL32h: session_write_close(); 
 goto xxeWcj4m5ouqokq2; Mczw1gmKdE1DBFrh: Q8O1EKDUWR9kZX9L: goto PxfPNhXDv0pPcRh5; PxfPNhXDv0pPcRh5: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-09-25 01:13:58              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 namespace GDPlayer; use Done\Subtitles\Subtitles; use GDPlayer\{Core, Helper, Security}; ini_set("\x6d\141\x78\137\145\x78\145\x63\x75\164\151\157\x6e\137\x74\x69\155\x65", -1); ini_set("\x7a\x6c\151\142\x2e\157\x75\x74\x70\165\164\x5f\x63\157\x6d\160\162\145\x73\163\x69\x6f\x6e", "\x4f\146\146"); ini_set("\157\165\164\x70\x75\164\x5f\x62\165\146\146\145\x72\x69\x6e\x67", "\117\x66\x66"); class StreamHelper extends \GDPlayer\StreamCacheHelper { protected $ch; protected $core; protected $helper; protected $mantas; protected $security; protected $writeCallback = false; protected $videoEmail; protected $videoTitle = ''; protected $header = []; protected $allowResHeaders = ["\143\157\x6e\x74\145\156\x74\x2d\x6c\x65\x6e\147\164\150", "\x63\x6f\156\x74\x65\x6e\x74\x2d\162\141\156\x67\x65"]; protected $resHeaders = []; protected $slashReplacement = "\x2d\147\144\160\123\x6c\141\x73\150\x2d"; protected $tmpPath = "\164\155\160\57\150\x6f\163\x74\163\x2f"; protected $bypassRateLimit = false; protected $isMP4 = false; public function __construct(string $vHost = '', string $vID = '', string $url = '', bool $bypassRateLimit = false) { goto v2jCjt_rKHYVP5OW; jSdu9LAxkmad3byR: header("\x41\x63\143\145\x70\x74\55\122\141\x6e\x67\x65\163\72\x20\142\x79\x74\x65\163", true);
 goto adf2pQMXfV9R9S3v; zJWMvjiPmjfvNAcf: $this->cacheMaxAge = $this->core->timeout($this->videoHost);
 goto IOBeHbz1GL9a9seG; GWNtsjZrgPy2_GDt: $this->videoId = $vID;
 goto muMvY1sDhSKHZfZC; v2jCjt_rKHYVP5OW: session_write_close();
 goto J4DPqSh34Qk6j7or; adf2pQMXfV9R9S3v: header("\103\157\156\x6e\145\143\x74\x69\x6f\x6e\72\x20\x63\154\x6f\163\145", true);
 goto aFZGwfg2O4tXfhYB; FjlOiqlpBFkWU95Z: session_write_close();
 goto xBuZ4nUm0CRICnmR; tLt7Y1jozCsKQ4sq: $this->allowResHeaders[] = "\x63\157\156\x74\x65\x6e\x74\55\x74\171\160\x65";
 goto ym6Vyf1U0WPB_ya8; xjhLgMFXtO_RYvFn: $prevIpHeaders = $this->iCache->get($ipLimitKey);
 goto AIPOvo2ElHxS79bj; ztSB7BsRaRWHct4z: session_write_close();
 goto jSSLSNyhxAd23gnL; zCkL72zIrfLhlmR6: if (!$bypassRateLimit) { goto JS3Z81M1HOessDpx; } goto ThC5DDBAjhiuKEr4; LLZnVi_wqlbLY4ET: JS3Z81M1HOessDpx: goto KvRwJDEQhottGOzs; CM37nUMPffcOw8d8: $this->core = new Core();
 goto xOngDOh84gtmV1jR; rIQnEngDbuoTOu8l: curl_setopt($this->ch, CURLOPT_HEADER, false);
 goto JSngnx2Gg2QeHjHP; aRyQ42Qavh1RKxPw: $url = trim(strtr($url, ["\145\170\164\x3d{$qry["\145\170\164"]}" => '', $baseName . "\77" => $fileName . "\x2e" . $qry["\145\x78\164"] . "\x3f"]), "\77\x26\43");
 goto tlyTXPPSS7ICbpKb; eETPETcjl1JuSs7m: curl_setopt($this->ch, CURLOPT_URL, $this->videoURL);
 goto JC3xc3fSIUqtbPhS; muMvY1sDhSKHZfZC: $this->bypassRateLimit = $bypassRateLimit;
 goto MX921CSHGqby4xVJ; dZlhZ_fIhut2QWZ3: $this->header = array_merge($this->header, $ipHeaders);
 goto LLZnVi_wqlbLY4ET; tlyTXPPSS7ICbpKb: u8MURowbTtpa603Y: goto pguqzPQBaR1hmqfV; bJTnP5uU6C4B5Ut4: qMdPXUUjRBCKhdvm: goto dZlhZ_fIhut2QWZ3; xBuZ4nUm0CRICnmR: ob_end_clean();
 goto nTj28MQ4I9LDeokW; urt9dR6KP019lGE1: TsVt3pEdWCW4DhBQ: goto eQfdzV0UhRSilMxF; nTj28MQ4I9LDeokW: MUSJTMvoS1MPkAeE: goto fAy0jKqmXMC3_Nla; fAy0jKqmXMC3_Nla: ob_start();
 goto QKlymGZE1GnP0XBS; cq_92i6PYiIXXxMi: $ipHeaders = $prevIpHeaders;
 goto bJTnP5uU6C4B5Ut4; ThC5DDBAjhiuKEr4: session_write_close();
 goto df2edQsv0XiqHKYS; xOngDOh84gtmV1jR: $this->helper = new Helper();
 goto AYiWvwuYcQhzUg8h; JC3xc3fSIUqtbPhS: curl_setopt($this->ch, CURLOPT_CUSTOMREQUEST, "\107\105\x54");
 goto rIQnEngDbuoTOu8l; wjfgJIJkhM7GKwIR: $this->security = new Security();
 goto KmnOZn4NMi3LvAgK; eQfdzV0UhRSilMxF: session_write_close();
 goto cq_92i6PYiIXXxMi; MX921CSHGqby4xVJ: if ($this->cfFriendly) { goto WVNgau21Lrs8okhj; } goto LvFyHhonm_eKDxnN; BSdfM8CeLacRltA4: curl_setopt($this->ch, CURLOPT_HEADERFUNCTION, array($this, "\x68\145\141\x64\x65\x72\103\x61\x6c\x6c\142\x61\143\153"));
 goto mX91QZgXZsdrSdTF; jjy972QC5NuuVUKS: $baseName = basename($path);
 goto CduHVKYx2Lx_d27R; LvFyHhonm_eKDxnN: session_write_close();
 goto tLt7Y1jozCsKQ4sq; CduHVKYx2Lx_d27R: $fileName = pathinfo($path, PATHINFO_FILENAME);
 goto aRyQ42Qavh1RKxPw; g5AWz63gVJ1Nut8o: @parse_str(parse_url($url, PHP_URL_QUERY), $qry);
 goto aFHbVFAehJK9TPKJ; AIPOvo2ElHxS79bj: if (!empty($prevIpHeaders)) { goto TsVt3pEdWCW4DhBQ; } goto AGa4q72nVbDBm81U; jSSLSNyhxAd23gnL: $path = parse_url($url, PHP_URL_PATH);
 goto jjy972QC5NuuVUKS; ocRlIM2FLMORmx1w: $this->ch = $this->helper->getCurlDefaultConfig(curl_init(), 0);
 goto eETPETcjl1JuSs7m; df2edQsv0XiqHKYS: $ipLimitKey = "\x72\x61\x74\145\x5f\154\151\155\x69\x74\137" . $this->videoHost . "\137" . keyFilter($this->videoId);
 goto xjhLgMFXtO_RYvFn; IOBeHbz1GL9a9seG: $this->cacheBaseDir = getVideoCacheFileDir($this->videoHost, $this->videoId);
 goto EiuwHbfX8V24cKlr; wGXnFC2ULYOLgHe8: goto qMdPXUUjRBCKhdvm;
 goto urt9dR6KP019lGE1; AYiWvwuYcQhzUg8h: $this->mantas = new Subtitles();
 goto wjfgJIJkhM7GKwIR; EiuwHbfX8V24cKlr: $this->cacheFile = $this->getCacheFile();
 goto Ioi86Cwr2_ScOllU; pguqzPQBaR1hmqfV: $this->videoURL = trim(strtr($url, ["\x73\154\x61\166\x65\x25\65\102\x30\45\65\104" => "\x73\154\x61\166\145\x25\65\x42\45\65\x44", "\163\x6c\141\166\145\x5b\x30\x5d" => "\163\x6c\141\166\145\133\x5d", $this->slashReplacement => "\x25\62\x66", "\40" => "\x25\62\x30", "\77\x26" => "\x3f"]), "\x3f\x23");
 goto zJWMvjiPmjfvNAcf; AGa4q72nVbDBm81U: session_write_close();
 goto xTMVmiMomD2I0I67; xTMVmiMomD2I0I67: $ipHeaders = $this->helper->bypassRateLimit();
 goto y6y1c61iO2SRSrja; y6y1c61iO2SRSrja: $this->iCache->save($ipLimitKey, $ipHeaders, 2592000, "\162\x61\x74\x65\x5f\154\x69\155\x69\164\137\151\x70\163");
 goto wGXnFC2ULYOLgHe8; aFHbVFAehJK9TPKJ: if (!isset($qry["\145\170\164"])) { goto u8MURowbTtpa603Y; } goto ztSB7BsRaRWHct4z; KvRwJDEQhottGOzs: $this->header[] = "\x48\157\x73\x74\72\40" . $this->helper->getHostOrigin($this->videoURL);
 goto ocRlIM2FLMORmx1w; JSngnx2Gg2QeHjHP: curl_setopt($this->ch, CURLOPT_NOBODY, false);
 goto BSdfM8CeLacRltA4; QKlymGZE1GnP0XBS: header_remove("\103\157\156\156\x65\143\x74\151\x6f\x6e");
 goto jSdu9LAxkmad3byR; mX91QZgXZsdrSdTF: if (!ob_get_status()) { goto MUSJTMvoS1MPkAeE; } goto FjlOiqlpBFkWU95Z; KmnOZn4NMi3LvAgK: $this->videoHost = $vHost;
 goto GWNtsjZrgPy2_GDt; J4DPqSh34Qk6j7or: parent::__construct();
 goto CM37nUMPffcOw8d8; ym6Vyf1U0WPB_ya8: WVNgau21Lrs8okhj: goto g5AWz63gVJ1Nut8o; Ioi86Cwr2_ScOllU: $this->header = $this->core->defaultHeaders($this->videoHost);
 goto zCkL72zIrfLhlmR6; aFZGwfg2O4tXfhYB: } public function setCookie($cookie) { goto NUY5ouyOEJzY_WJH; NUY5ouyOEJzY_WJH: session_write_close();
 goto XbLcHCD7hcdEUSwX; XbLcHCD7hcdEUSwX: if (empty($cookie)) { goto si9BrkmCfo2StXP0; } goto VTDtNIVg18qxV8mH; VTDtNIVg18qxV8mH: session_write_close();
 goto lR1imjXZqEtl8aCp; aIM9veXrlwfCDjMj: si9BrkmCfo2StXP0: goto bdbMs3q1riLCuq3P; lR1imjXZqEtl8aCp: curl_setopt($this->ch, CURLOPT_COOKIE, $cookie);
 goto aIM9veXrlwfCDjMj; bdbMs3q1riLCuq3P: } public function setReferer(string $referer = '') { goto lv6Vngy7DC2TW0Sl; j0Y0TKysUp4EBKub: $origin = $this->helper->getHostOrigin($referer, true);
 goto U4L4PO8wSuD8h4Lk; U4L4PO8wSuD8h4Lk: $this->header[] = "\117\x72\151\147\x69\156\x3a\x20" . $origin;
 goto KhJyLUWf4IqG2IIs; KhJyLUWf4IqG2IIs: $this->header[] = "\122\145\x66\x65\x72\145\x72\x3a\40" . $referer . "\x2f";
 goto Hj3vYQ8_rd3DvYlr; lv6Vngy7DC2TW0Sl: session_write_close();
 goto j0Y0TKysUp4EBKub; Hj3vYQ8_rd3DvYlr: } public function setCache(int $created = 0, int $expired = 0) { goto ISOMBrm9N_4m0a_W; Norbm0e1CKBIrkEC: $this->cacheCreated = $created;
 goto QFW6fJorCkrTEJyV; ISOMBrm9N_4m0a_W: session_write_close();
 goto Norbm0e1CKBIrkEC; QFW6fJorCkrTEJyV: $this->cacheExpires = $expired;
 goto beoSbN_9kKm3877w; beoSbN_9kKm3877w: } public function setLiveToken(bool $live = false, string $token = null) { goto Sq4z7rBlW0choUWd; NHl_olzJw4hRw6jN: $this->live = $live;
 goto s4yvNR707S_3klnw; s4yvNR707S_3klnw: $this->token = $token;
 goto m_gI2reuthAQSwE3; Sq4z7rBlW0choUWd: session_write_close();
 goto NHl_olzJw4hRw6jN; m_gI2reuthAQSwE3: } protected function headerCallback($ch, $header) { goto HfhavymusUWxugnn; qWDjU6IhoDXz3Jjc: if (!in_array($key, $this->allowResHeaders)) { goto cyrG6kpHMcV6PY6m; } goto JbcUReP3phomXAb8; EmS_X7ZWyw_0KFcu: list($key, $val) = array_pad(explode("\72", $header), 2, '');
 goto qWDjU6IhoDXz3Jjc; HfhavymusUWxugnn: session_write_close();
 goto MfqiiHSS6ht0QMjc; MfqiiHSS6ht0QMjc: $header = strtolower($header);
 goto EmS_X7ZWyw_0KFcu; EyjjU4LoTieyLx5h: $this->resHeaders[$key] = trim($val);
 goto dGUjKx1Wo0a9zl8P; TUC3QTpJyre7V4Qc: return strlen($header);
 goto R6pPeuQqZq0QTmPT; JbcUReP3phomXAb8: session_write_close();
 goto EyjjU4LoTieyLx5h; UtfUwQzw_aFG5Hs4: cyrG6kpHMcV6PY6m: goto TUC3QTpJyre7V4Qc; dGUjKx1Wo0a9zl8P: header($header, true);
 goto UtfUwQzw_aFG5Hs4; R6pPeuQqZq0QTmPT: } protected function writeCallback($ch, $chunk) { goto eFO7ypW36dXD13dw; eFO7ypW36dXD13dw: session_write_close();
 goto A9b6PPlB5XinClDD; A9b6PPlB5XinClDD: $this->writeCallback = true;
 goto JZzX9TFm6CFm8dwK; qeQJVCUzFvmdLPYc: ob_flush();
 goto nDnBSYvKtFC4wram; JZzX9TFm6CFm8dwK: echo $chunk;
 goto qeQJVCUzFvmdLPYc; U73AZPi3vyrVj60s: return strlen($chunk);
 goto ofvM2COdQQ9qCh18; nDnBSYvKtFC4wram: flush();
 goto U73AZPi3vyrVj60s; ofvM2COdQQ9qCh18: } protected function writeCacheCallback($ch, $chunk) { goto ybbMn75iwP9l3SNZ; ybbMn75iwP9l3SNZ: session_write_close();
 goto VBww6D70dAepiz0Q; d8IqhkCBbpFbYjKx: ob_flush();
 goto sm1Xclq9c1WXH_sk; FQo3_1mDfayODZLZ: if (!(!empty($this->resHeaders["\x63\x6f\x6e\164\145\156\164\55\154\145\156\147\164\150"]) && strlen($this->cacheContent) === intval($this->resHeaders["\x63\157\x6e\x74\145\x6e\x74\x2d\x6c\x65\x6e\x67\164\150"]))) { goto ek4p16b4yOLeeytt; } goto UM03tqbz7J5D4N33; enH3qD9aRg4YiuLV: $this->cacheContent .= $chunk;
 goto FQo3_1mDfayODZLZ; Z5T1moZjeu0QA1ig: echo $chunk;
 goto d8IqhkCBbpFbYjKx; VBww6D70dAepiz0Q: $length = strlen($chunk);
 goto kKapflcON4xiZ7CX; kKapflcON4xiZ7CX: $this->writeCallback = true;
 goto enH3qD9aRg4YiuLV; BrRZCLk2SRwAOf5k: ek4p16b4yOLeeytt: goto Z5T1moZjeu0QA1ig; sm1Xclq9c1WXH_sk: flush();
 goto hquauMmVs7mbkoQq; UUpZzwbuu0PmgShH: create_file($this->cacheFile, $this->cacheContent, "\167\142");
 goto BrRZCLk2SRwAOf5k; hquauMmVs7mbkoQq: return $length;
 goto gwf1XOE3OGNB_1n4; UM03tqbz7J5D4N33: session_write_close();
 goto UUpZzwbuu0PmgShH; gwf1XOE3OGNB_1n4: } private function parseCFUrl(string $path = '', string $query = '', string $fragment = '') { goto XMnPHgDM5Umar8Lt; kc5DATqBq_l_A26_: session_write_close();
 goto zgg0xcRfSLD4fJbC; UdCGySW377aT8Fn4: $baseName = basename($path);
 goto MqmHdi0itwhZJErQ; YSCWmt8ZRJGax9jn: YNKaUcNVBksHzoSb: goto X_obzVKTVT3bKF5b; MqmHdi0itwhZJErQ: $query = "\77\x65\170\164\x3d" . $fileExt . "\x26" . ltrim($query, "\77");
 goto cXkoMpl897wAV00m; vz0I1cFeJyDdAzE6: session_write_close();
 goto UdCGySW377aT8Fn4; cXkoMpl897wAV00m: $path = in_array($fileExt, $videoExt) ? strtr($path, [$baseName => $fileName . "\x2e\x6a\x73"]) : strtr($path, [$baseName => $fileName . "\56\164\x78\x74"]);
 goto T6Bg0nj3FGJq3MFR; XMnPHgDM5Umar8Lt: session_write_close();
 goto WPaii0SRYR0gbbtc; zgg0xcRfSLD4fJbC: $fileName = pathinfo($path, PATHINFO_FILENAME);
 goto ikIOLWcCkSuRITOW; T6Bg0nj3FGJq3MFR: hby7oBJLra4JAkzw: goto YSCWmt8ZRJGax9jn; ikIOLWcCkSuRITOW: $fileExt = pathinfo($path, PATHINFO_EXTENSION);
 goto ov2btIrT2db1YYgS; Q3GSCXyQezn39tdd: $excludeExt = ["\x6d\160\144", "\163\162\164", "\166\x74\164", "\x74\x78\164", "\x6a\163"];
 goto nfgkHHSIUPIdC3fQ; WPaii0SRYR0gbbtc: if (!$this->cfFriendly) { goto YNKaUcNVBksHzoSb; } goto kc5DATqBq_l_A26_; ov2btIrT2db1YYgS: $videoExt = ["\164\x73", "\155\160\x34", "\155\64\163", "\x6d\64\x76", "\155\x34\141", "\x61\141\143", "\x6d\160\63", "\x61\x63\x33"];
 goto Q3GSCXyQezn39tdd; nfgkHHSIUPIdC3fQ: if (!(!empty($query) && !in_array($fileExt, $excludeExt))) { goto hby7oBJLra4JAkzw; } goto vz0I1cFeJyDdAzE6; X_obzVKTVT3bKF5b: return trim($path . $query . $fragment, "\77\x23");
 goto pK6vZYxR3nfeFpHG; pK6vZYxR3nfeFpHG: } protected function bypassURL(string $val = '', string $separator = "\x2f\163\145\147\155\145\156\x74\163\57") { goto SbQrO6DIBL8Laip4; c3apIA2zTCg3TQyE: if (empty($urlParser["\x71\165\145\162\x79"])) { goto LNk7PQXkpGEenQcO; } goto sZV8XOdOgEPVzMuH; olCRh0bWvpE5Ljbl: $originURLEncoded = $this->security->encryptURL($ref);
 goto SOvvQTzNe7kjteW1; cphDbDsIDb6Ma2oB: hMZbAc3zthxkLZP3: goto Qnray4pIRuvAhyoU; CuadgNUcWRqxB9nc: $path = ltrim($path, "\x2f");
 goto R2CIALCIoGOkNENb; d9LMx72QxCGWJCbx: goto sEvX1OuUuJHQ7GE6;
 goto rND8CIllW4rrQn_u; j3sFyvzd483MVPh7: $ref = $scheme . "\72\x2f\57" . trim(implode("\x2f", $exUrl), "\x2f") . "\x2f";
 goto ySd_Yz_QBwt4meyp; hGPSy5s9SOIaj2wQ: $path = ltrim($path, "\56\x2f");
 goto d9LMx72QxCGWJCbx; FmraMdlt3eF0mKCe: $fragment = "\43" . $urlParser["\x66\162\x61\147\x6d\145\x6e\164"];
 goto pnUGVfU8vH48kM1b; F27bGh5vqK52zL4k: $query = "\77\144\141\x74\141\x3d" . $key;
 goto c3apIA2zTCg3TQyE; HbCE12QZ1HSD9rZC: $query .= $this->getAmp() . "\154\151\166\145\75" . ($this->live ? "\x74\x72\x75\x65" : "\x66\141\154\163\145");
 goto G_BES5RTQ_W20CUe; SbQrO6DIBL8Laip4: session_write_close();
 goto B1sm3ur2j0R2AtIr; rND8CIllW4rrQn_u: oPQ2_IpQdkxqsbfX: goto vY9ynVe06QoJTV57; K608RxVHq4yUeWRT: $cPath = count($exPath) - 1;
 goto dtcPZC_3uhjCYV7f; UcLas89ldeKKXxmx: session_write_close();
 goto VwthvXEr4xeFLmZC; EomfueQBPMNM2kTg: $scheme = parse_url($masterURL, PHP_URL_SCHEME);
 goto fGQbxzCk_vKmpyyg; TmLJtxv_BrN0roWo: $key = $this->security->encryptURL($this->videoHost . "\x7e" . $this->videoId);
 goto F27bGh5vqK52zL4k; sZV8XOdOgEPVzMuH: session_write_close();
 goto BV7z4Drt1G00pOuD; t4f2C3hkAEp0A2HX: goto zo0gitTuPVvRo7FE;
 goto d53pv3uwnqvSbguE; WzF1rlxBB_3HYoXy: return $val;
 goto cphDbDsIDb6Ma2oB; CpkvsFkUkGH6YFBV: session_write_close();
 goto lP8c0AoWWaXLXktp; uro8IkmDmirM66XB: goto sEvX1OuUuJHQ7GE6;
 goto F81JHVCkM3v3qWCR; ykE7BZtpX9mhqb1Z: session_write_close();
 goto ndO7s1COGNXeAGtL; OEV1cTuNWi3OzP_E: session_write_close();
 goto A2WblA2C6ALNgw4q; BV7z4Drt1G00pOuD: $query .= "\x26" . $urlParser["\161\165\145\x72\x79"];
 goto AjRgvIONBaaNp1pZ; GjVM_yF20PJ0ycng: $ref = $this->helper->getHostOrigin($val, true) . "\57";
 goto oTalL3pvsDnvmaM5; dtcPZC_3uhjCYV7f: $exUrl = array_reverse(array_slice($exUrl, 0, $cPath));
 goto j3sFyvzd483MVPh7; R2CIALCIoGOkNENb: sEvX1OuUuJHQ7GE6: goto TmLJtxv_BrN0roWo; SOvvQTzNe7kjteW1: $path = ltrim($path, "\x2f");
 goto G3d0bjTLO1DnjX_m; AHDpqe3K0SboxmCv: goto sEvX1OuUuJHQ7GE6;
 goto SavqpfRwB7DwY9LZ; vtkSEya0lVaSin0u: $path = strtr($urlParser["\160\x61\164\150"], ["\45\x32\x66" => $this->slashReplacement, "\45\62\106" => $this->slashReplacement]);
 goto F4GUC9jaKDKYzuRj; ySJSqRSqo5Y5L8K2: session_write_close();
 goto WzF1rlxBB_3HYoXy; Q3z5LgullwNOR0CW: $baseURL = trim($this->helper->replaceURLScheme(BASE_URL), "\57");
 goto k_n811bMGkx5Gs5j; k_n811bMGkx5Gs5j: $separator = trim($separator, "\x2f");
 goto olCRh0bWvpE5Ljbl; O9TRiLH1_nOva5cI: return $this->parseCFUrl($path, $query, $fragment);
 goto zRXsHpXv7Q8LLwAR; F59NNHASJZaoDJEq: if (substr($path, 0, 2) === "\56\x2f") { goto LqF2v0lpM6HCnu5i; } goto H372CwUHOgfhvMXe; T_BjyNdTAYOqB3Vm: session_write_close();
 goto MHIOTpBU9JXgxzji; oTalL3pvsDnvmaM5: $scheme = parse_url($val, PHP_URL_SCHEME);
 goto bUJIhRUapJpQKw8L; Lsu_CBKzUN50iPeV: $masterURL = $ref . ltrim($val, "\57");
 goto hctfsCS47691XtE6; F81JHVCkM3v3qWCR: PsNRVfw7WvZ5TnMp: goto CpkvsFkUkGH6YFBV; DzDB8S50AwDEOIPr: if (empty($urlParser["\x70\141\164\150"])) { goto Pcf3m6JWoUOXfLKZ; } goto q6qYZwPSPDdAPgzy; hctfsCS47691XtE6: bmh6V5ejUrZ5KLtR: goto NgeWwL6OX4qONB0O; fGQbxzCk_vKmpyyg: $xUrl = $this->helper->replaceURLScheme($masterURL);
 goto yN71de9zAsoage3V; pwkDxdmi0oUXLZcl: fFIwtYWmqJUT4w_Y: goto UcLas89ldeKKXxmx; Qnray4pIRuvAhyoU: $path = '';
 goto DzDB8S50AwDEOIPr; aFeNHL5fQgwub44Q: $urlParser = [];
 goto Ms4mOhlu3_Kbgqv6; G_BES5RTQ_W20CUe: $fragment = '';
 goto n9Tp_eDCEOsknfxY; ySd_Yz_QBwt4meyp: $path = strtr($path, ["\56\56\57" => '']);
 goto uro8IkmDmirM66XB; A2WblA2C6ALNgw4q: $masterURL = rtrim(strtr($masterURL, [basename($masterURL) => '']), "\57") . "\57" . ltrim($val, "\57");
 goto ZYNS1lbufCJRlTxL; Xot6Hwhomv4b5_l_: session_write_close();
 goto hGPSy5s9SOIaj2wQ; MHIOTpBU9JXgxzji: $urlParser = parse_url($val);
 goto GjVM_yF20PJ0ycng; F4GUC9jaKDKYzuRj: Pcf3m6JWoUOXfLKZ: goto F59NNHASJZaoDJEq; G3d0bjTLO1DnjX_m: if (!$this->isMPD) { goto TzVOcOQn4BzamYgc; } goto ykE7BZtpX9mhqb1Z; HvgM1ONxYgi0O5yl: session_write_close();
 goto FmraMdlt3eF0mKCe; SavqpfRwB7DwY9LZ: LqF2v0lpM6HCnu5i: goto Xot6Hwhomv4b5_l_; AjRgvIONBaaNp1pZ: LNk7PQXkpGEenQcO: goto HbCE12QZ1HSD9rZC; FUtJhkPay1zgXxoK: session_write_close();
 goto Lsu_CBKzUN50iPeV; Y7vcUtKMpNEk2eYV: TzVOcOQn4BzamYgc: goto R472qnrUnDb9HyBu; B1sm3ur2j0R2AtIr: $masterURL = $this->videoURL;
 goto aFeNHL5fQgwub44Q; rTVgz5RwDoyplLKM: $exUrl = array_reverse(explode("\57", rtrim($xUrl, "\57")));
 goto mF73misZmYG5B1OX; H372CwUHOgfhvMXe: if (substr($path, 0, 3) === "\56\56\57") { goto oPQ2_IpQdkxqsbfX; } goto FWFWZpK1GlqdtZdi; R472qnrUnDb9HyBu: $path = sprintf("\45\163\x2f\45\163\57\45\163\x2f\45\x73", $baseURL, $separator, $originURLEncoded, $path);
 goto O9TRiLH1_nOva5cI; NgeWwL6OX4qONB0O: $urlParser = parse_url($masterURL);
 goto EomfueQBPMNM2kTg; eLVV0PJgy70TSj02: goto zo0gitTuPVvRo7FE;
 goto pwkDxdmi0oUXLZcl; UxIucMU3TJCcxATh: if (substr($val, 0, 1) === "\57") { goto IPobH5GQOH2QkLM8; } goto OEV1cTuNWi3OzP_E; ZYNS1lbufCJRlTxL: goto bmh6V5ejUrZ5KLtR;
 goto DjtghvYbmUXlQpsF; ndO7s1COGNXeAGtL: $path = ltrim(strtr($path, [$this->tmpPath . $this->videoHost => '', "\57\57" => "\57"]), "\x2f");
 goto Y7vcUtKMpNEk2eYV; mF73misZmYG5B1OX: $exPath = explode("\x2e\56\57", $path);
 goto K608RxVHq4yUeWRT; FWFWZpK1GlqdtZdi: if (substr($path, 0, 1) === "\x2f") { goto PsNRVfw7WvZ5TnMp; } goto AHDpqe3K0SboxmCv; LgI86PYWge3bzrwA: if (validate_url($val)) { goto mLDF0yvIk5Rp04UZ; } goto QEUKFmrRpUwbzl4P; pnUGVfU8vH48kM1b: pmjFvboZi2UURzQJ: goto Q3z5LgullwNOR0CW; n9Tp_eDCEOsknfxY: if (empty($urlParser["\x66\162\141\x67\x6d\x65\x6e\164"])) { goto pmjFvboZi2UURzQJ; } goto HvgM1ONxYgi0O5yl; DjtghvYbmUXlQpsF: IPobH5GQOH2QkLM8: goto FUtJhkPay1zgXxoK; lP8c0AoWWaXLXktp: $ref = $this->helper->getHostOrigin($ref, true) . "\x2f";
 goto CuadgNUcWRqxB9nc; VwthvXEr4xeFLmZC: $ref = $this->helper->getHostOrigin($masterURL, true) . "\57";
 goto UxIucMU3TJCcxATh; yN71de9zAsoage3V: zo0gitTuPVvRo7FE: goto iVofRf00J9vNlWJ6; Ms4mOhlu3_Kbgqv6: $ref = '';
 goto xRIdug15OuW4iPmy; vY9ynVe06QoJTV57: session_write_close();
 goto rTVgz5RwDoyplLKM; q6qYZwPSPDdAPgzy: session_write_close();
 goto vtkSEya0lVaSin0u; xRIdug15OuW4iPmy: $xUrl = '';
 goto LgI86PYWge3bzrwA; d53pv3uwnqvSbguE: mLDF0yvIk5Rp04UZ: goto T_BjyNdTAYOqB3Vm; bUJIhRUapJpQKw8L: $xUrl = $this->helper->replaceURLScheme($val);
 goto eLVV0PJgy70TSj02; QEUKFmrRpUwbzl4P: if (validate_url($masterURL)) { goto fFIwtYWmqJUT4w_Y; } goto t4f2C3hkAEp0A2HX; iVofRf00J9vNlWJ6: if (!empty($urlParser)) { goto hMZbAc3zthxkLZP3; } goto ySJSqRSqo5Y5L8K2; zRXsHpXv7Q8LLwAR: } protected function subtitleStream($extension = null) { goto uSmPu2yF1FnAZ53V; vsgg38_qFs0FnvAm: if ($status >= 200 && $status < 400) { goto GtqHnPnInamMIN3v; } goto NyWh9YTMEGG22FCN; ZCsLntGR9tOsM2X_: if (!($extension !== "\x76\x74\164" && $extension !== "\x77\x65\142\166\x74\164" && substr(trim($content), 0, 6) !== "\x57\105\x42\x56\x54\x54")) { goto WNRhWK_3Z4NfI41_; } goto OULJWA2mV9eAaqyy; ThBEUYVU94cbSGGZ: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, true);
 goto w2M2ugQqvjolUowz; h02pf9wGLDQL0Aj2: header("\x43\x6f\156\164\145\156\164\55\x54\171\x70\145\x3a\40\x74\x65\x78\x74\57\x76\164\164\x3b\x63\150\x61\162\163\145\x74\75\x55\124\106\55\70", true);
 goto LoQameSAYZalLM5p; uSmPu2yF1FnAZ53V: session_write_close();
 goto ThBEUYVU94cbSGGZ; FpNEC4Dhn4q7siCi: $content = preg_replace("\x2f\x7b\x28\56\x2a\x3f\x29\175\57", '', $content);
 goto WLTPzROerMjKSYFs; e6Pu21L9MXFts_Yw: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE);
 goto hhk7QRVJ2rSPdad5; hagHo9EC0Jt8OLz2: $content = trim($content);
 goto ZCsLntGR9tOsM2X_; xI13qgzP62g0O6jk: session_write_close();
 goto hagHo9EC0Jt8OLz2; O2Ux4I3jhy0L07ka: $content = curl_exec($this->ch);
 goto e6Pu21L9MXFts_Yw; WLTPzROerMjKSYFs: WNRhWK_3Z4NfI41_: goto h02pf9wGLDQL0Aj2; LoQameSAYZalLM5p: $this->createResponseHeaders(200, $content);
 goto HlXV_U_7E8JzXBN6; cLqQfAWGe75pEEuh: $content = $content->content("\166\164\x74");
 goto FpNEC4Dhn4q7siCi; piv_EhaM42bxOZKI: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]);
 goto IFNK07gXoPs2OOqh; IFNK07gXoPs2OOqh: goto GcUDGAgWOb0LtU10;
 goto f6JLSiK5GG81vaZJ; w2M2ugQqvjolUowz: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header);
 goto O2Ux4I3jhy0L07ka; OULJWA2mV9eAaqyy: session_write_close();
 goto FNFu2la4HgQ4Txvq; NyWh9YTMEGG22FCN: session_write_close();
 goto piv_EhaM42bxOZKI; FNFu2la4HgQ4Txvq: $content = $this->mantas::loadString(strip_tags($content), $extension);
 goto cLqQfAWGe75pEEuh; hhk7QRVJ2rSPdad5: $err = curl_error($this->ch);
 goto vsgg38_qFs0FnvAm; HlXV_U_7E8JzXBN6: GcUDGAgWOb0LtU10: goto EUyXT7_icYN2D0wb; f6JLSiK5GG81vaZJ: GtqHnPnInamMIN3v: goto xI13qgzP62g0O6jk; EUyXT7_icYN2D0wb: } protected function videoStream() { goto vwrgwuRu836XfZq3; E3OiQmrgjkvjmC37: if (!$cache) { goto K76NEHggR6baW1ui; } goto eQSuEf6FF1osqfGD; DYVqwRQxlRZt6Khp: exit;
 goto B1VCntuXufWhjotU; qUo2lQvPd32sB5BF: if (empty($_SERVER["\x48\124\124\120\x5f\122\x41\x4e\107\105"]) && !$this->live && $this->enableCacheFile) { goto gprsm3zwTpOSUX09; } goto T6JwE0GxeX3lepmq; EFjlBX7hdKG3ElEa: goto ub1PRKihWnpd0Id0;
 goto fmyF028RUXWJ1Hr_; NJqHRVh5FpH3cwz3: goto ULDStm5MBJMUSHpV;
 goto fBKsjXwVo7YwQmC6; RR6kShcsywGrKBQI: $this->sendHttpCode = 200;
 goto RdZ9407s2_Kg4U9o; OIQw27UBbbDYteJt: LAFUIZc2KmQtfqvF: goto tMfsxd9cEPPJU7Tc; tMfsxd9cEPPJU7Tc: curl_setopt($this->ch, CURLOPT_WRITEFUNCTION, array($this, "\x77\162\151\x74\x65\x43\141\x63\x68\x65\103\141\x6c\x6c\x62\x61\143\x6b"));
 goto abkwqqoBVWRF2Y0q; B1VCntuXufWhjotU: K76NEHggR6baW1ui: goto aAGbnnC6ubpdfx7w; VhPRqCJ8EdoOu4T7: curl_setopt($this->ch, CURLOPT_BUFFERSIZE, $this->bufferSize);
 goto OoQvnRfbBto5uUYQ; aAGbnnC6ubpdfx7w: ULDStm5MBJMUSHpV: goto y1SMVDzaplUEJXUg; FBFPmqozOpQcvse_: create_dir($dir);
 goto OIQw27UBbbDYteJt; UbVBj92K71KYR0kJ: curl_setopt($this->ch, CURLOPT_HEADER, false);
 goto FseBNY9c8D0XJ1Sg; lUla6V4AJDuk3lQJ: if (is_dir($dir)) { goto LAFUIZc2KmQtfqvF; } goto riqUGdyzHB81ZbVx; gSyWZ6zqwVVs_Nwq: curl_setopt($this->ch, CURLOPT_WRITEFUNCTION, array($this, "\167\x72\151\x74\145\103\141\x6c\154\x62\141\x63\153"));
 goto EFjlBX7hdKG3ElEa; p9alHxMZVg18doZJ: flush();
 goto DYVqwRQxlRZt6Khp; eQSuEf6FF1osqfGD: session_write_close();
 goto DxeJQMeaT4Jny6n7; ikjOnGr1l8aOhQfn: kxlSiXluViqyMBkD: goto uXxbGwyn4zdxDsNx; JBvbIzLmCNnOxGjk: session_write_close();
 goto ErLus1MpBnwDp6n1; O4IhKrf6yTCTKYFi: if ($this->enableCacheFile) { goto kxlSiXluViqyMBkD; } goto NJqHRVh5FpH3cwz3; CbuiAY4ekXc3sy2f: $cache = $this->getCacheContent();
 goto E3OiQmrgjkvjmC37; B4uAaSJEopOjRCvS: H4FCAefF1UHpYhrp: goto nhgV2WHWxILaVy4t; vwrgwuRu836XfZq3: session_write_close();
 goto RR6kShcsywGrKBQI; fmyF028RUXWJ1Hr_: gprsm3zwTpOSUX09: goto UUPIaxLf_qIorj74; YhuqF1cWprYW30f1: curl_exec($this->ch);
 goto bR5pe_at1mW83ENY; xdpm9aQkcSKVbPxa: ob_flush();
 goto p9alHxMZVg18doZJ; F9t0326NbEundKvR: goto ULDStm5MBJMUSHpV;
 goto ikjOnGr1l8aOhQfn; bR5pe_at1mW83ENY: $status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE);
 goto Hp0cuzC4n6tJACVV; UUPIaxLf_qIorj74: session_write_close();
 goto e0GkGCUJB0_EkOVG; DxeJQMeaT4Jny6n7: echo $cache;
 goto xdpm9aQkcSKVbPxa; FseBNY9c8D0XJ1Sg: curl_setopt($this->ch, CURLOPT_NOBODY, false);
 goto qUo2lQvPd32sB5BF; IKZ5v1GehQBKjU18: createErrorLog([__FILE__, __FUNCTION__, $this->videoURL, $status, $err]);
 goto gH9DMQWySVLpJS8k; gH9DMQWySVLpJS8k: $this->createResponseHeaders($status);
 goto B4uAaSJEopOjRCvS; abkwqqoBVWRF2Y0q: ub1PRKihWnpd0Id0: goto YhuqF1cWprYW30f1; XMocN7We1JGtyQ6V: $this->sendHttpCode = 206;
 goto F9t0326NbEundKvR; y1SMVDzaplUEJXUg: $this->createResponseHeaders($this->sendHttpCode);
 goto lgeBosdatADozGVg; riqUGdyzHB81ZbVx: session_write_close();
 goto FBFPmqozOpQcvse_; fBKsjXwVo7YwQmC6: pt4mAFr03sC2gSEe: goto JBvbIzLmCNnOxGjk; Uq1rw2NUmT3KyJ_v: session_write_close();
 goto IKZ5v1GehQBKjU18; e0GkGCUJB0_EkOVG: $dir = pathinfo($this->cacheFile, PATHINFO_DIRNAME);
 goto lUla6V4AJDuk3lQJ; lgeBosdatADozGVg: curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, false);
 goto VhPRqCJ8EdoOu4T7; OoQvnRfbBto5uUYQ: curl_setopt($this->ch, CURLOPT_HTTPHEADER, $this->header);
 goto UbVBj92K71KYR0kJ; RdZ9407s2_Kg4U9o: if (!empty($_SERVER["\x48\124\x54\120\x5f\122\x41\116\107\x45"])) { goto pt4mAFr03sC2gSEe; } goto O4IhKrf6yTCTKYFi; Hp0cuzC4n6tJACVV: $err = curl_error($this->ch);
 goto Rj1kP4UPL0Kxk8jF; ErLus1MpBnwDp6n1: $this->header[] = "\162\141\x6e\147\x65\72\40" . $_SERVER["\x48\124\124\120\x5f\x52\x41\116\x47\x45"];
 goto XMocN7We1JGtyQ6V; Rj1kP4UPL0Kxk8jF: if (!($status < 200 || $status >= 400)) { goto H4FCAefF1UHpYhrp; } goto Uq1rw2NUmT3KyJ_v; uXxbGwyn4zdxDsNx: session_write_close();
 goto CbuiAY4ekXc3sy2f; T6JwE0GxeX3lepmq: session_write_close();
 goto gSyWZ6zqwVVs_Nwq; nhgV2WHWxILaVy4t: } public function setVerbose(string $vHost = '', string $vID = '') { goto rmqcq1RpY_vByCS2; rmqcq1RpY_vByCS2: session_write_close();
 goto UnxZM0S0zeWMZZoc; cBak0YsZQbjF8etY: curl_setopt($this->ch, CURLOPT_VERBOSE, $verbose);
 goto N4jmY1PsqGZ82Zh2; FNHoCBwUaiJOmqHE: $baseDir = sprintf("\45\x73\57\x63\141\x63\x68\x65\57\163\164\162\x65\141\x6d\x69\156\147\57\x25\x73\57", rtrim(BASE_DIR, "\134\57"), $vHost);
 goto c0KzbfrchiAtH3iX; UnxZM0S0zeWMZZoc: $verbose = $this->prodMode ? false : true;
 goto FNHoCBwUaiJOmqHE; c0KzbfrchiAtH3iX: create_dir($baseDir);
 goto cBak0YsZQbjF8etY; N4jmY1PsqGZ82Zh2: curl_setopt($this->ch, CURLOPT_STDERR, fopen($baseDir . keyFilter($vID) . "\x2e\164\170\x74", "\167\x2b"));
 goto JAjTG7stSN_bmAhi; JAjTG7stSN_bmAhi: } public function stream() { goto MBSu0E2nN95pmcFW; C4_4lxVJqvOMYkFl: goto GEqBvRqVmSk9VsMB;
 goto TcmNfCiuRcEQ1tZJ; T8ed5IM4dvXF3O3x: session_write_close();
 goto U_GMnDRgUNU5a9xD; SJwTx0kBkOZHMxg6: GEqBvRqVmSk9VsMB: goto NbHhT9SZCApzLPHu; FcYor3N1BKP3sI31: if (in_array($extension, $subtitleExtensions)) { goto aTVBrlrM3Wh3M14P; } goto T8ed5IM4dvXF3O3x; TcmNfCiuRcEQ1tZJ: aTVBrlrM3Wh3M14P: goto DI3NAEpmjrEfvGs0; bMIJRs38Ar2iZpT0: $path = parse_url($this->videoURL, PHP_URL_PATH);
 goto ah4lnx5YZixNlb3G; ah4lnx5YZixNlb3G: $extension = pathinfo(basename($path), PATHINFO_EXTENSION);
 goto FcYor3N1BKP3sI31; TJP_98BpsyNGFqoc: $this->subtitleStream($extension);
 goto SJwTx0kBkOZHMxg6; U_GMnDRgUNU5a9xD: $this->videoStream();
 goto C4_4lxVJqvOMYkFl; MBSu0E2nN95pmcFW: session_write_close();
 goto OROiUYpT0zxw2Ptq; DI3NAEpmjrEfvGs0: session_write_close();
 goto TJP_98BpsyNGFqoc; OROiUYpT0zxw2Ptq: $subtitleExtensions = ["\x73\x72\164", "\x76\x74\x74", "\x61\x73\163", "\163\x75\142", "\163\164\154", "\x64\146\x78\160", "\x74\164\x6d\154", "\163\x62\x76"];
 goto bMIJRs38Ar2iZpT0; NbHhT9SZCApzLPHu: } protected function retry() { goto FVfsu1N5ARVMyU5Y; H_2rlhm4MIbX997E: $this->vSources->delete();
 goto KcHRbDX40frha1M0; KcHRbDX40frha1M0: goto OedLWOmH5PfSmavN;
 goto jRZuTox3aenSg6_P; zcEdWEtxAtKCEK5a: $this->vSources->setCriteria("\150\157\x73\164", $this->videoHost);
 goto HPcRSqabeG12AvcI; qi8HeyT1WkdTRxyg: header("\154\157\x63\141\164\151\157\x6e\72\x20" . $path, true);
 goto Hp88c2lTckrDwQS3; jKCRD060oU7hnQCG: session_write_close();
 goto TzDe6ZFa4YtmAxQ3; ozdxn7GMebaHIEUW: goto wvplYn6WhZ_pFwoO;
 goto JFzf6orI814czQpW; HERkuzwYKxxS2P_3: if (in_array($this->videoHost, $this->core->getBadHosts())) { goto Gpkvcr7sw8vmvC8n; } goto OvZ8NtnxXIofhCsw; zFO9zARD0kRLJWEG: $this->core->setDownload($this->isMP4);
 goto om5OErJuln63vNo1; rUdRFC5x8HmShikQ: usleep(random_int(3000000, 7000000));
 goto HqWU2L2Kqp5mT728; kkP9fXZvu3wwlxDJ: $this->createResponseHeaders(404);
 goto ozdxn7GMebaHIEUW; FVfsu1N5ARVMyU5Y: session_write_close();
 goto gYevchU5sjTQu3Pa; KXw2LFCb0Ort2rAA: vZkIjUd3kuOK4avk: goto HERkuzwYKxxS2P_3; OvZ8NtnxXIofhCsw: session_write_close();
 goto zcEdWEtxAtKCEK5a; Hp88c2lTckrDwQS3: wvplYn6WhZ_pFwoO: goto DISIYmmrqoJ7MuGx; rOLSm1tVTU6arahM: $qry["\x5f"] = $now;
 goto tTfYApoVArEUOaOJ; HPcRSqabeG12AvcI: $this->vSources->setCriteria("\x68\157\x73\164\137\151\144", $this->videoId, "\x3d", "\x41\116\104");
 goto H_2rlhm4MIbX997E; Kqt_WnpzDPUxBDYx: if (!isset($_SERVER["\x48\x54\x54\x50\x5f\122\101\x4e\107\x45"])) { goto vZkIjUd3kuOK4avk; } goto jKCRD060oU7hnQCG; TzDe6ZFa4YtmAxQ3: $qry["\x72\141\156\x67\x65"] = strtr($_SERVER["\110\124\124\120\x5f\122\x41\116\107\x45"], ["\x62\171\x74\145\163\x3d" => '']);
 goto KXw2LFCb0Ort2rAA; xcHIMkwNyGofSXUk: $qry = is_array($qry) ? $qry : [];
 goto Kqt_WnpzDPUxBDYx; jRZuTox3aenSg6_P: Gpkvcr7sw8vmvC8n: goto GuAD1_B4PQzjU_dD; gYevchU5sjTQu3Pa: parse_str(parse_url($_SERVER["\x52\105\121\x55\x45\x53\124\137\x55\122\111"], PHP_URL_QUERY), $qry);
 goto xcHIMkwNyGofSXUk; BltrxuYrUu7LnJQU: session_write_close();
 goto kkP9fXZvu3wwlxDJ; pjBVu8Aq_WSO0vDl: $this->core->setQuery(["\x68\157\x73\164" => $this->videoHost, "\x69\x64" => $this->videoId, "\x65\155\141\151\154" => $this->videoEmail]);
 goto zFO9zARD0kRLJWEG; MchpWt0APRv5JaoP: session_write_close();
 goto iLsIOwqACAGOk3WX; JFzf6orI814czQpW: KC3vOxiahoOuBPC_: goto MchpWt0APRv5JaoP; tTfYApoVArEUOaOJ: $path = parse_url($_SERVER["\x52\105\121\x55\105\x53\x54\137\x55\122\111"], PHP_URL_PATH) . "\x3f" . http_build_query($qry);
 goto yVj_SXNnA3vL1qQO; HqWU2L2Kqp5mT728: OedLWOmH5PfSmavN: goto pjBVu8Aq_WSO0vDl; iLsIOwqACAGOk3WX: $now = time();
 goto rOLSm1tVTU6arahM; JLhXgU3IG2H3OesO: if (!empty($result["\163\x6f\165\162\143\x65\163"])) { goto KC3vOxiahoOuBPC_; } goto BltrxuYrUu7LnJQU; om5OErJuln63vNo1: $result = $this->core->result();
 goto JLhXgU3IG2H3OesO; wegioi4tkkT8eiH3: header("\x45\170\x70\x69\x72\145\x73\x3a\40" . gmdate($this->cacheDateTimeFormat, $now), true);
 goto qi8HeyT1WkdTRxyg; yVj_SXNnA3vL1qQO: header("\103\141\143\150\145\55\x43\157\156\x74\162\x6f\x6c\72\40\156\157\x2d\x63\x61\143\150\145\x2c\x20\156\157\55\163\x74\x6f\x72\145\54\40{$this->defaultCacheControl}", true);
 goto wegioi4tkkT8eiH3; GuAD1_B4PQzjU_dD: session_write_close();
 goto rUdRFC5x8HmShikQ; DISIYmmrqoJ7MuGx: } public function __destruct() { goto rWg9argl8Ve6PAzU; xcNfPfBcLfbU3mqt: if (!($this->ch && !$this->writeCallback)) { goto Q8O1EKDUWR9kZX9L; } goto nBD8ZUzUU7mmL32h; xxeWcj4m5ouqokq2: curl_close($this->ch);
 goto Mczw1gmKdE1DBFrh; rWg9argl8Ve6PAzU: session_write_close();
 goto xcNfPfBcLfbU3mqt; nBD8ZUzUU7mmL32h: session_write_close();
 goto xxeWcj4m5ouqokq2; Mczw1gmKdE1DBFrh: Q8O1EKDUWR9kZX9L: goto PxfPNhXDv0pPcRh5; PxfPNhXDv0pPcRh5: } }

Function Calls

None

Variables

None

Stats

MD5 e1b1f0763d5cdb2ce68107aac527d66a
Eval Count 0
Decode Time 61 ms