<?php











namespace Composer;

use Composer\Semver\VersionParser;






class InstalledVersions
{
private static $installed = array (
  'root' => 
  array (
    'pretty_version' => '9.0.x-dev',
    'version' => '9.0.9999999.9999999-dev',
    'aliases' => 
    array (
    ),
    'reference' => '7c9129e17708ddde24fd75abb189cf3e2ab4b457',
    'name' => 'wp-seopress-pro/wp-seopress-pro',
  ),
  'versions' => 
  array (
    'firebase/php-jwt' => 
    array (
      'pretty_version' => 'v6.10.0',
      'version' => '6.10.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'a49db6f0a5033aef5143295342f1c95521b075ff',
    ),
    'google/analytics-data' => 
    array (
      'pretty_version' => 'v0.16.1',
      'version' => '0.16.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '79a19f66a1c9fb7bc99a35502ae75323769a7423',
    ),
    'google/apiclient' => 
    array (
      'pretty_version' => 'v2.16.1',
      'version' => '2.16.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd7066f3a205aaeb83cce439613770e69394a43c8',
    ),
    'google/apiclient-services' => 
    array (
      'pretty_version' => 'v0.355.0',
      'version' => '0.355.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '235e6a45ecafd77accc102b5ab6d529aab54da23',
    ),
    'google/auth' => 
    array (
      'pretty_version' => 'v1.37.1',
      'version' => '1.37.1.0',
      'aliases' => 
      array (
      ),
      'reference' => '1a7de77b72e6ac60dccf0e6478c4c1005bb0ff46',
    ),
    'google/common-protos' => 
    array (
      'pretty_version' => 'v4.5.0',
      'version' => '4.5.0.0',
      'aliases' => 
      array (
      ),
      'reference' => 'dfc232e90823cedca107b56e7371f2e2f35b9427',
    ),
    'google/gax' => 
    array (
      'pretty_version' => 'v1.29.2',
      'version' => '1.29.2.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e400e2432475f0ab85d3fdd6eddbc995ba787a21',
    ),
    'google/grpc-gcp' => 
    array (
      'pretty_version' => 'v0.3.0',
      'version' => '0.3.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '4d8b455a45a89f57e1552cadc41a43bc34c40456',
    ),
    'google/longrunning' => 
    array (
      'pretty_version' => '0.4.7',
      'version' => '0.4.7.0',
      'aliases' => 
      array (
      ),
      'reference' => '624cabb874c10e5ddc9034c999f724894b70a3d3',
    ),
    'google/protobuf' => 
    array (
      'pretty_version' => 'v3.25.8',
      'version' => '3.25.8.0',
      'aliases' => 
      array (
      ),
      'reference' => '57d440fc54a00fda5b8781e8d9bf0140ea6d8e52',
    ),
    'grpc/grpc' => 
    array (
      'pretty_version' => '1.74.0',
      'version' => '1.74.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '32bf4dba256d60d395582fb6e4e8d3936bcdb713',
    ),
    'guzzlehttp/guzzle' => 
    array (
      'pretty_version' => '7.9.3',
      'version' => '7.9.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77',
    ),
    'guzzlehttp/promises' => 
    array (
      'pretty_version' => '2.2.0',
      'version' => '2.2.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '7c69f28996b0a6920945dd20b3857e499d9ca96c',
    ),
    'guzzlehttp/psr7' => 
    array (
      'pretty_version' => '2.7.1',
      'version' => '2.7.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'c2270caaabe631b3b44c85f99e5a04bbb8060d16',
    ),
    'matthiasmullie/minify' => 
    array (
      'pretty_version' => '1.3.75',
      'version' => '1.3.75.0',
      'aliases' => 
      array (
      ),
      'reference' => '76ba4a5f555fd7bf4aa408af608e991569076671',
    ),
    'matthiasmullie/path-converter' => 
    array (
      'pretty_version' => '1.1.3',
      'version' => '1.1.3.0',
      'aliases' => 
      array (
      ),
      'reference' => 'e7d13b2c7e2f2268e1424aaed02085518afa02d9',
    ),
    'monolog/monolog' => 
    array (
      'pretty_version' => '2.10.0',
      'version' => '2.10.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '5cf826f2991858b54d5c3809bee745560a1042a7',
    ),
    'paragonie/constant_time_encoding' => 
    array (
      'pretty_version' => 'v2.7.0',
      'version' => '2.7.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '52a0d99e69f56b9ec27ace92ba56897fe6993105',
    ),
    'paragonie/random_compat' => 
    array (
      'pretty_version' => 'v9.99.100',
      'version' => '9.99.100.0',
      'aliases' => 
      array (
      ),
      'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
    ),
    'phpseclib/phpseclib' => 
    array (
      'pretty_version' => '3.0.46',
      'version' => '3.0.46.0',
      'aliases' => 
      array (
      ),
      'reference' => '56483a7de62a6c2a6635e42e93b8a9e25d4f0ec6',
    ),
    'psr/cache' => 
    array (
      'pretty_version' => '1.0.1',
      'version' => '1.0.1.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd11b50ad223250cf17b86e38383413f5a6764bf8',
    ),
    'psr/http-client' => 
    array (
      'pretty_version' => '1.0.3',
      'version' => '1.0.3.0',
      'aliases' => 
      array (
      ),
      'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90',
    ),
    'psr/http-client-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'psr/http-factory' => 
    array (
      'pretty_version' => '1.1.0',
      'version' => '1.1.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a',
    ),
    'psr/http-factory-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'psr/http-message' => 
    array (
      'pretty_version' => '2.0',
      'version' => '2.0.0.0',
      'aliases' => 
      array (
      ),
      'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71',
    ),
    'psr/http-message-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0',
      ),
    ),
    'psr/log' => 
    array (
      'pretty_version' => '1.1.4',
      'version' => '1.1.4.0',
      'aliases' => 
      array (
      ),
      'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11',
    ),
    'psr/log-implementation' => 
    array (
      'provided' => 
      array (
        0 => '1.0.0 || 2.0.0 || 3.0.0',
      ),
    ),
    'ralouphie/getallheaders' => 
    array (
      'pretty_version' => '3.0.3',
      'version' => '3.0.3.0',
      'aliases' => 
      array (
      ),
      'reference' => '120b605dfeb996808c31b6477290a714d356e822',
    ),
    'symfony/deprecation-contracts' => 
    array (
      'pretty_version' => 'v2.5.4',
      'version' => '2.5.4.0',
      'aliases' => 
      array (
      ),
      'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918',
    ),
    'wp-seopress-pro/wp-seopress-pro' => 
    array (
      'pretty_version' => '9.0.x-dev',
      'version' => '9.0.9999999.9999999-dev',
      'aliases' => 
      array (
      ),
      'reference' => '7c9129e17708ddde24fd75abb189cf3e2ab4b457',
    ),
  ),
);







public static function getInstalledPackages()
{
return array_keys(self::$installed['versions']);
}









public static function isInstalled($packageName)
{
return isset(self::$installed['versions'][$packageName]);
}














public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));

return $provided->matches($constraint);
}










public static function getVersionRanges($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}

$ranges = array();
if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
}

return implode(' || ', $ranges);
}





public static function getVersion($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}

if (!isset(self::$installed['versions'][$packageName]['version'])) {
return null;
}

return self::$installed['versions'][$packageName]['version'];
}





public static function getPrettyVersion($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}

if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
return null;
}

return self::$installed['versions'][$packageName]['pretty_version'];
}





public static function getReference($packageName)
{
if (!isset(self::$installed['versions'][$packageName])) {
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}

if (!isset(self::$installed['versions'][$packageName]['reference'])) {
return null;
}

return self::$installed['versions'][$packageName]['reference'];
}





public static function getRootPackage()
{
return self::$installed['root'];
}







public static function getRawData()
{
return self::$installed;
}



















public static function reload($data)
{
self::$installed = $data;
}
}
