<?php

namespace ContainerAyoJmP9;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getMassUpdateDefinitionHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ViewDefinitions\LegacyHandler\MassUpdateDefinitionHandler' shared autowired service.
     *
     * @return \App\ViewDefinitions\LegacyHandler\MassUpdateDefinitionHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/Service/MassUpdateDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/FieldDefinitionsInjectorTrait.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/Service/MassUpdate/MassUpdateFieldDefinitionsInjectorTrait.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/MassUpdateDefinitionHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Module/Service/ModuleAwareRegistry.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/Service/MassUpdateDefinitionMappers.php';

        $a = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? self::getFieldDefinitionsHandlerService($container));

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\MassUpdateDefinitionHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\MassUpdateDefinitionHandler'];
        }

        $instance = new \App\ViewDefinitions\LegacyHandler\MassUpdateDefinitionHandler($a, new \App\ViewDefinitions\Service\MassUpdateDefinitionMappers(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\Module\\Accounts\\Service\\MassUpdate\\AccountsEmailOptoutMapper'] ?? $container->load('getAccountsEmailOptoutMapperService'));
            yield 1 => ($container->privates['App\\Module\\Contacts\\Service\\MassUpdate\\ContactSyncMapper'] ?? $container->load('getContactSyncMapperService'));
            yield 2 => ($container->privates['App\\Module\\Contacts\\Service\\MassUpdate\\ContactsEmailOptoutMapper'] ?? $container->load('getContactsEmailOptoutMapperService'));
            yield 3 => ($container->privates['App\\Module\\Leads\\Service\\MassUpdate\\LeadsEmailOptoutMapper'] ?? $container->load('getLeadsEmailOptoutMapperService'));
            yield 4 => ($container->privates['App\\Module\\Prospects\\Service\\MassUpdate\\ProspectsEmailOptoutMapper'] ?? $container->load('getProspectsEmailOptoutMapperService'));
        }, 5)), ($container->privates['App\\ViewDefinitions\\Service\\FieldAliasMapper'] ?? $container->load('getFieldAliasMapperService')), $container->parameters['massupdate']);

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\MassUpdateDefinitionHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\MassUpdateDefinitionHandler'];
        }

        return $container->privates['App\\ViewDefinitions\\LegacyHandler\\MassUpdateDefinitionHandler'] = $instance;
    }
}
