<?php

// scoper-autoload.php @generated by PhpScoper

// Backup the autoloaded Composer files
if (isset($GLOBALS['__composer_autoload_files'])) {
    $existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files'];
}

$loader = require_once __DIR__.'/autoload.php';
// Ensure InstalledVersions is available
$installedVersionsPath = __DIR__.'/composer/InstalledVersions.php';
if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;

// Restore the backup
if (isset($existingComposerAutoloadFiles)) {
    $GLOBALS['__composer_autoload_files'] = $existingComposerAutoloadFiles;
} else {
    unset($GLOBALS['__composer_autoload_files']);
}

// Function aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
if (!function_exists('uuid_compare')) { function uuid_compare() { return \Matomo\Dependencies\McpServer\uuid_compare(...func_get_args()); } }
if (!function_exists('uuid_create')) { function uuid_create() { return \Matomo\Dependencies\McpServer\uuid_create(...func_get_args()); } }
if (!function_exists('uuid_generate_md5')) { function uuid_generate_md5() { return \Matomo\Dependencies\McpServer\uuid_generate_md5(...func_get_args()); } }
if (!function_exists('uuid_generate_sha1')) { function uuid_generate_sha1() { return \Matomo\Dependencies\McpServer\uuid_generate_sha1(...func_get_args()); } }
if (!function_exists('uuid_is_null')) { function uuid_is_null() { return \Matomo\Dependencies\McpServer\uuid_is_null(...func_get_args()); } }
if (!function_exists('uuid_is_valid')) { function uuid_is_valid() { return \Matomo\Dependencies\McpServer\uuid_is_valid(...func_get_args()); } }
if (!function_exists('uuid_mac')) { function uuid_mac() { return \Matomo\Dependencies\McpServer\uuid_mac(...func_get_args()); } }
if (!function_exists('uuid_parse')) { function uuid_parse() { return \Matomo\Dependencies\McpServer\uuid_parse(...func_get_args()); } }
if (!function_exists('uuid_time')) { function uuid_time() { return \Matomo\Dependencies\McpServer\uuid_time(...func_get_args()); } }
if (!function_exists('uuid_type')) { function uuid_type() { return \Matomo\Dependencies\McpServer\uuid_type(...func_get_args()); } }
if (!function_exists('uuid_unparse')) { function uuid_unparse() { return \Matomo\Dependencies\McpServer\uuid_unparse(...func_get_args()); } }
if (!function_exists('uuid_variant')) { function uuid_variant() { return \Matomo\Dependencies\McpServer\uuid_variant(...func_get_args()); } }

return $loader;
