<?php

// scoper-autoload.php @generated by PhpScoper

$loader = (static function () {
    // Backup the autoloaded Composer files
    $existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $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 and ensure the excluded files are properly marked as loaded
    $GLOBALS['__composer_autoload_files'] = \array_merge(
        $existingComposerAutoloadFiles,
        \array_fill_keys([], 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('DateMalformedPeriodStringException', 'GDAVSCOPE\DateMalformedPeriodStringException');
humbug_phpscoper_expose_class('DateInvalidOperationException', 'GDAVSCOPE\DateInvalidOperationException');
humbug_phpscoper_expose_class('DateObjectError', 'GDAVSCOPE\DateObjectError');
humbug_phpscoper_expose_class('DateMalformedIntervalStringException', 'GDAVSCOPE\DateMalformedIntervalStringException');
humbug_phpscoper_expose_class('SQLite3Exception', 'GDAVSCOPE\SQLite3Exception');
humbug_phpscoper_expose_class('DateRangeError', 'GDAVSCOPE\DateRangeError');
humbug_phpscoper_expose_class('DateInvalidTimeZoneException', 'GDAVSCOPE\DateInvalidTimeZoneException');
humbug_phpscoper_expose_class('DateException', 'GDAVSCOPE\DateException');
humbug_phpscoper_expose_class('DateMalformedStringException', 'GDAVSCOPE\DateMalformedStringException');
humbug_phpscoper_expose_class('DateError', 'GDAVSCOPE\DateError');
humbug_phpscoper_expose_class('Override', 'GDAVSCOPE\Override');
humbug_phpscoper_expose_class('ReflectionConstant', 'GDAVSCOPE\ReflectionConstant');
humbug_phpscoper_expose_class('Deprecated', 'GDAVSCOPE\Deprecated');

// Function aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
if (!function_exists('array_all')) { function array_all() { return \GDAVSCOPE\array_all(...func_get_args()); } }
if (!function_exists('array_any')) { function array_any() { return \GDAVSCOPE\array_any(...func_get_args()); } }
if (!function_exists('array_find')) { function array_find() { return \GDAVSCOPE\array_find(...func_get_args()); } }
if (!function_exists('array_find_key')) { function array_find_key() { return \GDAVSCOPE\array_find_key(...func_get_args()); } }
if (!function_exists('bcdivmod')) { function bcdivmod() { return \GDAVSCOPE\bcdivmod(...func_get_args()); } }
if (!function_exists('fpow')) { function fpow() { return \GDAVSCOPE\fpow(...func_get_args()); } }
if (!function_exists('grapheme_str_split')) { function grapheme_str_split() { return \GDAVSCOPE\grapheme_str_split(...func_get_args()); } }
if (!function_exists('json_validate')) { function json_validate() { return \GDAVSCOPE\json_validate(...func_get_args()); } }
if (!function_exists('ldap_connect_wallet')) { function ldap_connect_wallet() { return \GDAVSCOPE\ldap_connect_wallet(...func_get_args()); } }
if (!function_exists('ldap_exop_sync')) { function ldap_exop_sync() { return \GDAVSCOPE\ldap_exop_sync(...func_get_args()); } }
if (!function_exists('mb_lcfirst')) { function mb_lcfirst() { return \GDAVSCOPE\mb_lcfirst(...func_get_args()); } }
if (!function_exists('mb_ltrim')) { function mb_ltrim() { return \GDAVSCOPE\mb_ltrim(...func_get_args()); } }
if (!function_exists('mb_rtrim')) { function mb_rtrim() { return \GDAVSCOPE\mb_rtrim(...func_get_args()); } }
if (!function_exists('mb_str_pad')) { function mb_str_pad() { return \GDAVSCOPE\mb_str_pad(...func_get_args()); } }
if (!function_exists('mb_trim')) { function mb_trim() { return \GDAVSCOPE\mb_trim(...func_get_args()); } }
if (!function_exists('mb_ucfirst')) { function mb_ucfirst() { return \GDAVSCOPE\mb_ucfirst(...func_get_args()); } }
if (!function_exists('str_decrement')) { function str_decrement() { return \GDAVSCOPE\str_decrement(...func_get_args()); } }
if (!function_exists('str_increment')) { function str_increment() { return \GDAVSCOPE\str_increment(...func_get_args()); } }
if (!function_exists('stream_context_set_options')) { function stream_context_set_options() { return \GDAVSCOPE\stream_context_set_options(...func_get_args()); } }

return $loader;
