<?php

// scoper-autoload.php @generated by PhpScoper

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

    $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-category-library'] = \array_merge(
        $existingComposerAutoloadFiles,
        \array_fill_keys(['0fb57bef01bf634fb01f154b00afe962', 'b8f3e9d6befa81422d6297437ac4bc1f', 'ba7f0d36044291cd3dc1701487b5ba1d', '539e6a7b3dbc75f0cbca9212e4a47d20', 'aef0ba5e48128d6bfd2443d1ffd6d97e', 'c8472dc6a0f20e34b02f7c4975203541', 'a91ce56b52ca00ce2db0b98e23da7cce', '9d51596ff8b3235677d992760edd9fdc'], 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\RealCategoryLibrary\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_rcl_active')) { function wp_rcl_active() { return \DevOwl\RealCategoryLibrary\Vendor\wp_rcl_active(...func_get_args()); } }

return $loader;
