<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
 * @var \Magento\Framework\View\Element\Template $block
 * @var \Magento\Framework\Escaper $escaper
 * @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer
 */

?>
<div data-role="main-css-loader" class="loading-mask">
    <div class="loader">
        <img src="<?= $escaper->escapeUrl($block->getViewFileUrl('images/loader-1.gif')); ?>"
             alt="<?= $escaper->escapeHtml(__('Loading...')); ?>">
    </div>
    <?= /* @noEscape */ $secureRenderer->renderStyleAsTag(
        "position: absolute;",
        "div.loader img"
    ) ?>
</div>
