<?php if(!empty($stickyCta)): ?>
    <div
        class="sticky-cta <?php echo e(empty($stickyCta->image) ? 'sticky-cta--no-image' : ''); ?> sticky-cta--<?php echo e($stickyCta->color_scheme); ?>"
        data-controller="layout/sticky-cta"
    >
        <div class="sticky-cta__box">
            <div class="sticky-cta__wrapper" data-role="shutter">
                <div class="sticky-cta__content" data-role="content">
                    <?php if($stickyCta->title_frontend): ?>
                        <div class="sticky-cta__title"><?php echo e($stickyCta->title_frontend); ?></div>
                    <?php endif; ?>
                    <?php if($stickyCta->subtitle): ?>
                        <div class="sticky-cta__subtitle"><?php echo e($stickyCta->subtitle); ?></div>
                    <?php endif; ?>
                    <?php if($stickyCta->cta): ?>
                        <div class="sticky-cta__cta">
                            <?php echo generateLink($stickyCta->cta, 'std-button std-button--small std-button--orange'); ?>

                        </div>
                    <?php endif; ?>
                    <a href="#" class="sticky-cta__close" data-action="close-sticky"></a>
                </div>
            </div>
            <div class="sticky-cta__image" data-action="open-sticky">
                <div>
                    <?php if(!empty($stickyCta->image)): ?>
                        <picture>
                            <source srcset="<?php echo e(getMediaUrl($stickyCta->image['filename'], '200x200')); ?>.webp" type="image/webp">
                            <img src="<?php echo e(getMediaUrl($stickyCta->image['filename'], '200x200')); ?>">
                        </picture>
                    <?php endif; ?>
                </div>
            </div>
            <a class="sticky-cta__open" data-action="open-sticky">
                <?php if(!empty($stickyCta->icon) && file_exists(Storage::path(config('path.internal.media')) . '/' . $stickyCta->icon->filename)): ?>
                    <?php echo file_get_contents(Storage::path(config('path.internal.media')) . '/' . $stickyCta->icon->filename); ?>

                <?php else: ?>
                    <?php echo $__env->make('frontend.templates.icons.email', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </a>

        </div>
    </div>
<?php endif; ?>
<?php /**PATH /var/www/html-staging/resources/views/frontend/includes/sticky-cta.blade.php ENDPATH**/ ?>