View file upload/src/addons/AddonFlare/PaidRegistrations/IDs.php

File size: 1.47Kb
<?php
namespace AddonFlare\PaidRegistrations;

class IDs
{
    public static function get($id)
    {
        return array_values(self::getSetA($id))[$id];
    }

    public static function getSetA($ID1 = "ac71865bb6f62b71394aed87e446f9f1", $ID2 = "90d29d050c85f4bdb1b2a411b1bdd6f6", $ID3 = "3076c53e24322515036d847f1309b80d")
    {
        return [
            '$ID1' => "d2eb17596661eaf35d6f8f6ec179ad5a",
            '$ID2' => "e9a1ffff7de5f0392362458303134c7b",
            '$ID3' => "180ee0a38423f196a41b488718fa4bd5",
        ];
    }

    public static function getSetB($setType = null)
    {
        $ID1 = "a7a533e4a69d13015799f50fb8113238";
        $ID2 = strtolower(preg_replace("#https?:\/\/(www\.)?#i", "", trim(\XF::app()->container(self::getSetC(null, 9))->offsetGet(self::getSetC(8)), "/")));
        $ID = '$ID1';
        return !isset($setType) ? md5(self::getSetA("09a53ad98993e6942f5dbad8ff855d34", "75ef961554d11b018686bf2306dc5cbb", "55633680b95bbb29dd928a09edcaf52b")[$ID] . $ID2) : $ID2;
    }

    public static function getSetC($n = null, $o = 0, $f = "implode")
    {
        return call_user_func_array($f, ["", array_map(self::getSetD(), array_slice(self::$IDS, $o, $n))]);
    }

    public static function getSetD()
    {
        return function($x) {return chr("{$x}");};
    }

    protected static $IDS = [0 => 98, 1 => 111, 2 => 97, 3 => 114, 4 => 100, 5 => 85, 6 => 114, 7 => 108, 8 => 45, 9 => 111, 10 => 112, 11 => 116, 12 => 105, 13 => 111, 14 => 110, 15 => 115,];
}