public static function parseChartMask($mask)
    {
        $result     = [];
        $arrayParts = explode('|', $mask);
        foreach ($arrayParts as $partOfMask) {
            $arrayLib = explode('~', $partOfMask);
            $result[] = ['size' => (int)$arrayLib[0], 'suffixe' => $arrayLib[1]];
        }

        return $result;
    }