<?php
$GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"] ?: array()) + array("_ed0a92347cd909e44" . "675776b13d6b3af" => base64_decode("aGVscGRlc2sucHJv" . "amVjdC5zdGF0dXNf" . "YWN0aXZl"), "_1136b531f76a618cabf8599f43b2a" . "8c9" => base64_decode("aGVscGRlc2su" . "cHJvamVjdC5z" . "dGF0dXNfdGVz" . "dGluZw=="), "_49c6565477ee9f" . "822b499a53e6d29" . "95f" => base64_decode("YXJyYXlfa2V5X2V" . "4aXN0cw=="), "_74e38f6cf25f23337eeae4cf52eee3f" . "4" => base64_decode("aGVscGRlc2sucHJvamVjdC5zdGF0dXNfYmxvY2" . "tlZA=="), "_bd71c3b5c201fc11db82ed14ce424" . "de5" => base64_decode("aW5" . "fYX" . "JyY" . "Xk="), "ac" . "ti" . "ve" => base64_decode("YWN" . "0aX" . "Zl"), "_50f3d86f340336be672ef20f" . "6b0f501c" => base64_decode("YmxvY" . "2tlZA" . "=="), "_e08ee4eab8406b76b83733182" . "68d3b35" => base64_decode("dW5rbm" . "93bg=="), "_abc92ea12f6" . "427cd462421d" . "64fa5617f" => base64_decode("LVVua25vd24" . "t"), "_822680520327" . "e9387ae2d5c06" . "5ea52e1" => base64_decode("YXJyYXlfZmxpcA" . "=="), "_3f7951e8c3bbc7d8ebfdb6" . "2a955de0f6" => base64_decode("dGVz" . "dGlu" . "Zw=="), "_a591754a8ddcdbda9c80f1" . "db4d911e14" => base64_decode("aXNfb" . "nVsbA" . "=="));




class ICProjectStatus
{
    
    
    
    
    
    
    protected static $all = null;
    
    
    
    
    
    
    protected static $rest = null;
    protected static function Init() : void
    {
        $lmsg = \Claromentis\Core\Services::I()->lmsg;
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_a591754a8ddcdbda9c80f1db4d9" . "11e14"](self::$all)) {
            self::$all = array(HD_PROJECT_ACTIVE => $lmsg($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_ed0a92347cd909e44675776b13" . "d6b3af"]), HD_PROJECT_TESTING => $lmsg($GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"]["_1136b531f76a618cabf" . "8599f43b2a8c9"]), HD_PROJECT_BLOCKED => $lmsg($GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_74e38f6cf25f23337eeae4cf52eee3" . "f4"]));
        }
        if ($GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_a591754a8ddcdbda9c80f1db4d91" . "1e14"](self::$rest)) {
            self::$rest = [HD_PROJECT_BLOCKED => $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_50f3d86f340336be672" . "ef20f6b0f501c"], HD_PROJECT_ACTIVE => $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["ac" . "ti" . "ve"], HD_PROJECT_TESTING => $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_3f7951e8c3bbc7d8ebfdb62a" . "955de0f6"]];
        }
    }
    public static function GetAll() : array
    {
        self::Init();
        return self::$all;
    }
    public static function GetAllRest() : array
    {
        self::Init();
        return self::$rest;
    }
    public static function GetName($status) : string
    {
        self::Init();
        return self::$all[$status] ?? $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_abc92ea12f6427cd462421" . "d64fa5617f"];
    }
    public static function GetRestName($status) : string
    {
        self::Init();
        return self::$rest[$status] ?? $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_e08ee4eab8406" . "b76b8373318268" . "d3b35"];
    }
    public static function FromRestName($_f7bd13ad0005434f6d6cc7b0a0c078d4) : ?int
    {
        self::Init();
        $_631ec41f278f45da4f2591ca70c72e0f = $GLOBALS["__65da1b1ec2d6653e8" . "a0ab7848e536215"]["_822680520327e93" . "87ae2d5c065ea52e" . "1"](self::$rest);
        return $_631ec41f278f45da4f2591ca70c72e0f[$_f7bd13ad0005434f6d6cc7b0a0c078d4] ?? null;
    }
    public static function IsValid(int $status) : bool
    {
        self::Init();
        return $GLOBALS["__65da1b1ec2d6653e8a0ab7848" . "e536215"]["_49c6565477ee9f822b49" . "9a53e6d2995f"]($status, self::$all);
    }
    public static function IsValidRest(string $status) : bool
    {
        self::Init();
        return $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_bd71c3b5c201fc11db82ed14ce424de" . "5"]($status, self::$rest);
    }
}