<?php
$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"] ?: array()) + array("_50f3d86f340336be672ef" . "20f6b0f501c" => base64_decode("YmxvY2t" . "lZA=="), "_abc92ea12f6427cd4624" . "21d64fa5617f" => base64_decode("LVVua25vd24" . "t"), "_822680520327e9387a" . "e2d5c065ea52e1" => base64_decode("YXJyYXlf" . "ZmxpcA=="), "_49c6565477ee9f8" . "22b499a53e6d2995" . "f" => base64_decode("YXJyYXlfa2V5X2" . "V4aXN0cw=="), "activ" . "e" => base64_decode("YWN0aX" . "Zl"), "_ed0a92347cd909e44" . "675776b13d6b3af" => base64_decode("aGVscGRlc2sucHJvamVjdC5zdGF0d" . "XNfYWN0aXZl"), "_1136b531f76a618cab" . "f8599f43b2a8c9" => base64_decode("aGVscGRlc2sucHJvamVjdC5zdGF0dXNfdGVzdGlu" . "Zw=="), "_bd71c3b5c201fc11db82ed14ce42" . "4de5" => base64_decode("aW5fYXJyYXk" . "="), "_74e38f6cf25f23337ee" . "ae4cf52eee3f4" => base64_decode("aGVscGRlc2sucHJvamVjdC5zdG" . "F0dXNfYmxvY2tlZA=="), "_3f7951e8c3bb" . "c7d8ebfdb62a9" . "55de0f6" => base64_decode("dGVzdG" . "luZw=="), "_e08ee4eab8406" . "b76b8373318268" . "d3b35" => base64_decode("dW5rbm" . "93bg=="), "_a591754a8ddcdbda9c80" . "f1db4d911e14" => base64_decode("aXNfbnVsbA=" . "="));




class ICProjectStatus
{
    
    
    
    
    
    
    protected static $all = null;
    
    
    
    
    
    
    protected static $rest = null;
    protected static function Init() : void
    {
        $lmsg = \Claromentis\Core\Services::I()->lmsg;
        if ($GLOBALS["__65da1b1e" . "c2d6653e8a" . "0ab7848e53" . "6215"]["_a591754a8d" . "dcdbda9c80f" . "1db4d911e14"](self::$all)) {
            self::$all = array(HD_PROJECT_ACTIVE => $lmsg($GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_ed0a92347cd909e4467" . "5776b13d6b3af"]), HD_PROJECT_TESTING => $lmsg($GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_1136b531f76a618ca" . "bf8599f43b2a8c9"]), HD_PROJECT_BLOCKED => $lmsg($GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"]["_74e38f6cf25f23" . "337eeae4cf52eee" . "3f4"]));
        }
        if ($GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_a591754a8ddcdbda9c80f1db4d911" . "e14"](self::$rest)) {
            self::$rest = [HD_PROJECT_BLOCKED => $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_50f3d86f340336be672ef20f6b" . "0f501c"], HD_PROJECT_ACTIVE => $GLOBALS["__65da1b1ec2d6653e8a0" . "ab7848e536215"]["ac" . "ti" . "ve"], HD_PROJECT_TESTING => $GLOBALS["__65da1b1ec2d6653e8a0ab784" . "8e536215"]["_3f7951e8c3bbc7d8e" . "bfdb62a955de0f6"]];
        }
    }
    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["__65da1b1ec2d6653e8a0ab7" . "848e536215"]["_abc92ea12" . "f6427cd462" . "421d64fa56" . "17f"];
    }
    public static function GetRestName($status) : string
    {
        self::Init();
        return self::$rest[$status] ?? $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_e08ee4eab8406b76b8373318268d3" . "b35"];
    }
    public static function FromRestName($_f7bd13ad0005434f6d6cc7b0a0c078d4) : ?int
    {
        self::Init();
        $_631ec41f278f45da4f2591ca70c72e0f = $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["_822680520327e9387ae2d5c065ea" . "52e1"](self::$rest);
        return $_631ec41f278f45da4f2591ca70c72e0f[$_f7bd13ad0005434f6d6cc7b0a0c078d4] ?? null;
    }
    public static function IsValid(int $status) : bool
    {
        self::Init();
        return $GLOBALS["__65da1b1ec2d6653" . "e8a0ab7848e536215"]["_49c6565477ee9f822b499a5" . "3e6d2995f"]($status, self::$all);
    }
    public static function IsValidRest(string $status) : bool
    {
        self::Init();
        return $GLOBALS["__65da1b1ec2d6653e" . "8a0ab7848e536215"]["_bd71c3b5c201fc11db82ed14ce424d" . "e5"]($status, self::$rest);
    }
}