<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
 -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Magento\ReCaptchaUi\Model\CaptchaTypeResolverInterface"
                type="Magento\ReCaptchaFrontendUi\Model\CaptchaTypeResolver"/>
    <preference for="Magento\ReCaptchaUi\Model\ErrorMessageConfigInterface"
                type="Magento\ReCaptchaFrontendUi\Model\ErrorMessageConfig"/>
    <type name="Magento\Framework\View\Asset\Minification">
        <plugin name="exclude-recaptcha-from-minification"
                type="Magento\ReCaptchaFrontendUi\Plugin\ExcludeFromMinification"/>
    </type>
</config>
