<?php
namespace Claromentis\Core\CDN;

$GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] ?: array()) + array("_0c519e721cc3079fbb252fbd60fd" . "7904" => base64_decode("dGltZQ=" . "="), "_63a117fb5" . "116e5097bb" . "ca2923a2b7" . "f0a" => base64_decode("Tm8gc3BhY2UgbGVmdCBpbiBDRE4gZmlsZX" . "N5c3RlbQ=="), "_2d4443be8a52387964f583e31c27bf8" . "3" => base64_decode("c2lnbmVkX3" . "VybHM="), "_49e2743b4c2285763c271dd" . "90a839201" => base64_decode("RmlsZXN5c3RlbSBmb3IgQ0ROIGRvZXMgbm90IHN1cHBvcnQgYnVja2V0L" . "WxldmVsIEFDTCBwZXJtaXNzaW9ucywgQ0ROIG9wdGlvbiAidW5pZm9ybV" . "9idWNrZXRfYWNsIiBpcyBlbmFibGVk"), "_b5f182e4a" . "2b9403a89a" . "55f7772144" . "fdc" => base64_decode("Tm8gbG9jYWwgc3RvcmFnZSBpcyBjb25maWd1cmVkIGZvciB0aGUgZGVmYXV" . "sdCBwdWJsaWMgcGF0aA=="), "si" . "ze" => base64_decode("c2l6Z" . "Q=="), "_f73dab606630b388645c4f7" . "d3fbb13bb" => base64_decode("YXJyYXlfbWV" . "yZ2U="), "_67cb753c80e9b2398bb2aa8933a3" . "8f93" => base64_decode("dW5pZm9ybV9idWNrZXRfYWN" . "s"), "_bd71c3b5c2" . "01fc11db82e" . "d14ce424de5" => base64_decode("aW5fYXJyYXk" . "="), "_e46a1b6a2fd927d61637" . "7ae17620d766" => base64_decode("dmlza" . "WJpbG" . "l0eQ=" . "="), "_ccf41a0" . "e4e3b3f2" . "caa88e77" . "32a47eba" . "4" => base64_decode("Iiwgd2hpY2ggYWxyZWFkeSB" . "leGlzdHMgYXMgYSBmaWxl"), "_d309525a2b4f031fc" . "c540ce03232665c" => base64_decode("cHJpdmF0ZQ=" . "="), "_f67a7d77bc266c012bc96b811" . "53a32e1" => base64_decode("dW5" . "saW" . "5r"), "_8aa39710a39f226efce78e97" . "c7bcd786" => base64_decode("X" . "C" . "8" . "="), "_b1140f3f139d32" . "232fcfb15435abe" . "70c" => base64_decode("SW5zdWZmaWN" . "pZW50IHNwYW" . "NlIGluIENET" . "iBzdG9yYWdl"), "_c91b0ff19f81a887" . "3a4593a23719472c" => base64_decode("cnRya" . "W0="), "_70979d287fa2" . "c98d21aa07834" . "c259a52" => base64_decode("c3RydG9sb3d" . "lcg=="), "_20d37f0eb6b" . "b81870b33a21" . "133355feb" => base64_decode("VHJpZWQgdG8gY3JlYXRlIGRpcmVjdG9ye" . "SAi"), "_21a1fe21d8697ea7f0871" . "5e014ebf4b8" => base64_decode("Tm8gcHVibGljIFVSTCBpcyBjb25maW" . "d1cmVkIGZvciB0aGUgZGVmYXVsdCBw" . "dWJsaWMgcGF0aA=="), "_f365d394f839fddd4250d517ee" . "1ca5ea" => base64_decode("cHVi" . "bGlj"), "_87daa84" . "e346f642" . "0a3f3426" . "e05d16a7" . "b" => base64_decode("Lw" . "=="), "_2666c98231ca50e786f03" . "632c650de50" => base64_decode("RGlyZWN0b3J5I" . "HBhc3NlZCB0by" . "BEZWxldGUoKQ=" . "="), "_ce946a27565ffb4895b60f8" . "02e78aa0f" => base64_decode("Zmls" . "ZXNp" . "emU="));
use Claromentis\Core\Filesystem\Exception\FileNotFoundException;
use Claromentis\Core\Filesystem\Exception\FilesystemException;
use Claromentis\Core\Filesystem\Exception\InsufficientSpaceException;
use Claromentis\Core\Filesystem\Filesystem;
use Claromentis\Core\Filesystem\SubdirectoryFilesystem;
use Claromentis\Core\DAL\Interfaces\DbInterface;
use League\Flysystem\AdapterInterface;
class FilesystemCDN implements CDNInterface
{
    use DbCacheTrait;
    
    
    
    
    protected $fs;
    
    
    
    
    protected $supported = [];
    protected bool $use_signed_urls;
    protected bool $uniform_bucket_acl;
    public function __construct(Filesystem $_7e8610c412db0fdb44a0dd5327c3669d, string $prefix, DbInterface $db, array $options)
    {
        $this->fs = new SubdirectoryFilesystem($_7e8610c412db0fdb44a0dd5327c3669d, $prefix, AdapterInterface::VISIBILITY_PUBLIC);
        $this->db = $db;
        $this->cache = \ClaCache::I(\ClaCache::MEMORY);
        $options = $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_f73dab606630b388645c4f7d3f" . "bb13bb"]([$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_2d4443be8a52387964f583e31c27b" . "f83"] => false, $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_67cb753c8" . "0e9b2398bb" . "2aa8933a38" . "f93"] => false], $options);
        $this->use_signed_urls = (bool) $options[$GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_2d4443be8a52387964f" . "583e31c27bf83"]];
        $this->uniform_bucket_acl = (bool) $options[$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_67cb753c80e9b2398bb2" . "aa8933a38f93"]];
        if ($this->uniform_bucket_acl) {
            throw new CDNSystemException($GLOBALS["__65da1b1ec2d66" . "53e8a0ab7848e53" . "6215"]["_49e2743b4c228576" . "3c271dd90a839201"]);
        }
    }
    public function Add($_ae8e42e810cbf0b10959f936565fec21, $_e92e7f17b8595d96c5298d5f664033ab, $_1b5f84a1d7d087d113cfba03354c61c7 = true, $_d5676b5b316193ae5e61929faaa83ee3 = true)
    {
        try {
            $config = $this->use_signed_urls ? [$GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_e46a1b6a2fd927d616377ae" . "17620d766"] => $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_d309525a2b4f0" . "31fcc540ce0323" . "2665c"]] : [$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_e46a1b6a2fd927d616377ae17620d" . "766"] => $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_f365d394f839fddd4250d517ee1ca" . "5ea"]];
            if ($_1b5f84a1d7d087d113cfba03354c61c7) {
                $this->fs->PutFromFile($_e92e7f17b8595d96c5298d5f664033ab, $_ae8e42e810cbf0b10959f936565fec21, $config);
            } else {
                $this->fs->WriteFromFile($_e92e7f17b8595d96c5298d5f664033ab, $_ae8e42e810cbf0b10959f936565fec21, $config);
            }
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (InsufficientSpaceException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_b1140f3f139d322" . "32fcfb15435abe70" . "c"], $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (\Claromentis\Core\Filesystem\Exception\FileExistsException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new FileExistsException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
        try {
            $this->StoreInCache($_e92e7f17b8595d96c5298d5f664033ab, $this->fs->GetUrl($_e92e7f17b8595d96c5298d5f664033ab), $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_ce946a27565ffb489" . "5b60f802e78aa0f"]($_ae8e42e810cbf0b10959f936565fec21), $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_0c519e721cc3079f" . "bb252fbd60fd7904"]());
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
        if ($_d5676b5b316193ae5e61929faaa83ee3) {
            $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_f67a7d77bc266c01" . "2bc96b81153a32e1"]($_ae8e42e810cbf0b10959f936565fec21);
        }
    }
    public function RenameFile($path, $_d074d7b344040d95fcad55b4694d9fec)
    {
        try {
            $this->fs->Rename($path, $_d074d7b344040d95fcad55b4694d9fec);
        } catch (\Claromentis\Core\Filesystem\Exception\FileExistsException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
        } catch (FileNotFoundException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new NotFoundException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
        try {
            $this->RenameInCache($path, $_d074d7b344040d95fcad55b4694d9fec, $this->fs->GetUrl($_d074d7b344040d95fcad55b4694d9fec), $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_0c519e721cc3079" . "fbb252fbd60fd790" . "4"]());
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function RenameDir($path, $_d074d7b344040d95fcad55b4694d9fec)
    {
        $path = $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_c91b0ff19f81a" . "8873a4593a2371" . "9472c"]($path, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_8aa39710a39f226efce78" . "e97c7bcd786"]);
        $_d074d7b344040d95fcad55b4694d9fec = $GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_c91b0ff19f81a8873a4593a" . "23719472c"]($_d074d7b344040d95fcad55b4694d9fec, $GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_8aa39710a39f226e" . "fce78e97c7bcd786"]);
        try {
            $_414bd78c344503f4d9a81c17a1e0b473 = $this->fs->ListDirs($path);
            $_00f2055c7cbd408ef56949f35c62b721 = $this->fs->ListFiles($path);
            foreach ($_414bd78c344503f4d9a81c17a1e0b473 as $_c4f3321d131869e51a8844b6bcd8fb86) {
                $this->RenameDir($path . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5" . "36215"]["_87daa84e" . "346f6420a" . "3f3426e05" . "d16a7b"] . $_c4f3321d131869e51a8844b6bcd8fb86, $_d074d7b344040d95fcad55b4694d9fec . $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_87daa84e346f6420a3f3426e" . "05d16a7b"] . $_c4f3321d131869e51a8844b6bcd8fb86);
            }
            foreach ($_00f2055c7cbd408ef56949f35c62b721 as $_6ae3783b9ad544a6c31a979683fed870) {
                $this->RenameFile($path . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e5362" . "15"]["_87daa84e346f6420a3f3426e05d16a7" . "b"] . $_6ae3783b9ad544a6c31a979683fed870, $_d074d7b344040d95fcad55b4694d9fec . $GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_87daa84e346f6420a3f3426e05d" . "16a7b"] . $_6ae3783b9ad544a6c31a979683fed870);
            }
            $this->fs->Delete($path);
            
            
        } catch (FileNotFoundException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new NotFoundException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function Delete($_93469c9375390f862eebb779f8b740e4)
    {
        if (!$this->Exists($_93469c9375390f862eebb779f8b740e4)) {
            return;
        }
        if ($this->fs->IsDir($_93469c9375390f862eebb779f8b740e4)) {
            throw new CDNSystemException($GLOBALS["__65da1b1" . "ec2d6653e" . "8a0ab7848" . "e536215"]["_2666c9823" . "1ca50e786f" . "03632c650d" . "e50"]);
        }
        try {
            $this->fs->Delete($_93469c9375390f862eebb779f8b740e4);
            $this->DeleteFromCache($_93469c9375390f862eebb779f8b740e4);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function IsDir($path)
    {
        return $this->fs->IsDir($path);
    }
    public function GetFileInfo($_93469c9375390f862eebb779f8b740e4)
    {
        try {
            return $this->fs->GetMetadata($_93469c9375390f862eebb779f8b740e4);
        } catch (FileNotFoundException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new NotFoundException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function AddFromStream($_350f078340c45010af00a46f691848ee, $_e92e7f17b8595d96c5298d5f664033ab, $_1b5f84a1d7d087d113cfba03354c61c7 = true)
    {
        try {
            if ($_1b5f84a1d7d087d113cfba03354c61c7) {
                $this->fs->PutFromStream($_e92e7f17b8595d96c5298d5f664033ab, $_350f078340c45010af00a46f691848ee);
            } else {
                $this->fs->WriteFromStream($_e92e7f17b8595d96c5298d5f664033ab, $_350f078340c45010af00a46f691848ee);
            }
            $_b7a7a5a5d79166bf026158b3e69ba5f7 = $this->fs->GetMetadata($_e92e7f17b8595d96c5298d5f664033ab)[$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["s" . "i" . "z" . "e"]];
        } catch (\Claromentis\Core\Filesystem\Exception\FileExistsException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new FileExistsException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (InsufficientSpaceException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_63a117fb5116e5097bbca2" . "923a2b7f0a"], $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        } catch (FileNotFoundException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
        try {
            $this->StoreInCache($_e92e7f17b8595d96c5298d5f664033ab, $this->fs->GetUrl($_e92e7f17b8595d96c5298d5f664033ab), $_b7a7a5a5d79166bf026158b3e69ba5f7, $GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"]["_0c519e72" . "1cc3079fb" . "b252fbd60" . "fd7904"]());
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function GetFiles($path)
    {
        try {
            return $this->fs->ListFiles($path);
        } catch (FileNotFoundException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            return [];
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function GetDirs($path)
    {
        try {
            return $this->fs->ListDirs($path);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function CreateDir($path)
    {
        try {
            if ($this->fs->Exists($path) && !$this->fs->IsDir($path)) {
                throw new FileExistsException($GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"]["_20d37f0eb6bb81870b33a21133355" . "feb"] . $path . $GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_ccf41a0e4e3b3f2c" . "aa88e7732a47eba4"]);
            }
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function DeleteDir($path)
    {
        try {
            $_414bd78c344503f4d9a81c17a1e0b473 = $this->fs->ListDirs($path);
            $_00f2055c7cbd408ef56949f35c62b721 = $this->fs->ListFiles($path);
            foreach ($_414bd78c344503f4d9a81c17a1e0b473 as $_c4f3321d131869e51a8844b6bcd8fb86) {
                $this->DeleteDir($path . $GLOBALS["__65da1b1ec2d6653e8a0ab7848e53621" . "5"]["_87daa84e346f6420a3" . "f3426e05d16a7b"] . $_c4f3321d131869e51a8844b6bcd8fb86);
            }
            foreach ($_00f2055c7cbd408ef56949f35c62b721 as $_6ae3783b9ad544a6c31a979683fed870) {
                $this->Delete($path . $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_87daa84e" . "346f6420a" . "3f3426e05" . "d16a7b"] . $_6ae3783b9ad544a6c31a979683fed870);
            }
            $this->fs->Delete($path);
            
            
        } catch (FileNotFoundException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            
            
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            
            
        } catch (CDNException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            
            
        }
    }
    public function Exists($_93469c9375390f862eebb779f8b740e4)
    {
        try {
            return $this->fs->Exists($_93469c9375390f862eebb779f8b740e4);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function GetUrl($_93469c9375390f862eebb779f8b740e4)
    {
        try {
            return $this->fs->GetUrl($_93469c9375390f862eebb779f8b740e4);
        } catch (FilesystemException $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            if ($_fe441aa3ef350bfb1a1a1ad8520dd530->getPrevious() instanceof \BadMethodCallException) {
                throw new CDNSystemException($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_21a1fe21d8697ea7f08715e0" . "14ebf4b8"], $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
            }
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    
    
    
    
    
    
    
    
    public function GetLocalPath($_93469c9375390f862eebb779f8b740e4)
    {
        try {
            return $this->fs->GetLocalPath($_93469c9375390f862eebb779f8b740e4);
        } catch (\Exception $_fe441aa3ef350bfb1a1a1ad8520dd530) {
            if ($_fe441aa3ef350bfb1a1a1ad8520dd530->getPrevious() instanceof \BadMethodCallException) {
                throw new CDNSystemException($GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_b5f182e4a2b9403a89a55f7772144" . "fdc"], $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
            }
            throw new CDNSystemException($_fe441aa3ef350bfb1a1a1ad8520dd530->getMessage(), $_fe441aa3ef350bfb1a1a1ad8520dd530->getCode(), $_fe441aa3ef350bfb1a1a1ad8520dd530);
        }
    }
    public function Supports($_3bf6f785d3520dfd17a871d18d745880 = null)
    {
        return $_3bf6f785d3520dfd17a871d18d745880 ? $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["_bd71c3b5c201fc11db82ed14ce424" . "de5"]($GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["_70979d287fa2c98d21aa0" . "7834c259a52"]($_3bf6f785d3520dfd17a871d18d745880), $this->supported) : $this->supported;
    }
}