<?php

// scoper-autoload.php @generated by PhpScoper

$loader = (static function () {
    // Backup the autoloaded Composer files
    $existingComposerAutoloadFiles = $GLOBALS['__composer_autoload_files_real-cookie-banner'] ?? [];

    $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 and ensure the excluded files are properly marked as loaded
    $GLOBALS['__composer_autoload_files_real-cookie-banner'] = \array_merge(
        $existingComposerAutoloadFiles,
        \array_fill_keys(['a91ce56b52ca00ce2db0b98e23da7cce', 'b8f3e9d6befa81422d6297437ac4bc1f', '0fb57bef01bf634fb01f154b00afe962', 'c8472dc6a0f20e34b02f7c4975203541', '9d51596ff8b3235677d992760edd9fdc', '539e6a7b3dbc75f0cbca9212e4a47d20', 'aef0ba5e48128d6bfd2443d1ffd6d97e'], true)
    );

    return $loader;
})();

// Class aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#class-aliases
if (!function_exists('humbug_phpscoper_expose_class')) {
    function humbug_phpscoper_expose_class($exposed, $prefixed) {
        if (!class_exists($exposed, false) && !interface_exists($exposed, false) && !trait_exists($exposed, false)) {
            spl_autoload_call($prefixed);
        }
    }
}
humbug_phpscoper_expose_class('JsonException', 'DevOwl\RealCookieBanner\Vendor\JsonException');

// Function aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
// if (!function_exists('wp_rcb_consent_given')) { function wp_rcb_consent_given() { return \DevOwl\RealCookieBanner\Vendor\wp_rcb_consent_given(...func_get_args()); } }
// if (!function_exists('wp_rcb_invalidate_presets_cache')) { function wp_rcb_invalidate_presets_cache() { return \DevOwl\RealCookieBanner\Vendor\wp_rcb_invalidate_presets_cache(...func_get_args()); } }
// if (!function_exists('wp_rcb_invalidate_templates_cache')) { function wp_rcb_invalidate_templates_cache() { return \DevOwl\RealCookieBanner\Vendor\wp_rcb_invalidate_templates_cache(...func_get_args()); } }
// if (!function_exists('wp_rcb_service_groups')) { function wp_rcb_service_groups() { return \DevOwl\RealCookieBanner\Vendor\wp_rcb_service_groups(...func_get_args()); } }
// if (!function_exists('wp_rcb_services_by_group')) { function wp_rcb_services_by_group() { return \DevOwl\RealCookieBanner\Vendor\wp_rcb_services_by_group(...func_get_args()); } }

return $loader;
