<?php if($announcements->isNotEmpty()): ?>
    <div
        class="<?php echo \Illuminate\Support\Arr::toCssClasses(['ae-anno-announcement-wrapper', 'hide-on-mobile' => \ArchiElite\Announcement\AnnouncementHelper::isHideOnMobile()]); ?>"
        style="
            --background-color: <?php echo e(setting('announcement_background_color', theme_option('primary_color', '#000'))); ?>;
            --text-color: <?php echo e(setting('announcement_text_color', '#fff')); ?>;
            --font-size: <?php echo e(\ArchiElite\Announcement\AnnouncementHelper::getFontSize()); ?>;
        "
        <?php if($autoPlay = setting('announcement_autoplay', false)): ?>
            data-announcement-autoplay="<?php echo e($autoPlay); ?>"
            data-announcement-autoplay-delay="<?php echo e(setting('announcement_autoplay_delay', 5000)); ?>"
        <?php endif; ?>
    >
        <div
            class="ae-anno-announcement__items"
            style="
            justify-content: <?php echo e(\ArchiElite\Announcement\AnnouncementHelper::getTextAlignment()); ?>;
            <?php if(setting('announcement_text_alignment') === \ArchiElite\Announcement\Enums\TextAlignment::CENTER): ?> text-align: center; <?php endif; ?>
           max-width: <?php echo e(\ArchiElite\Announcement\AnnouncementHelper::getMaxWidth()); ?>;
        "
        >
            <?php if($announcements->count() > 1): ?>
                <?php echo $__env->make('plugins/announcement::partials.controls', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php endif; ?>

            <?php echo $__env->renderEach('plugins/announcement::partials.item', $announcements, 'announcement'); ?>
        </div>

        <?php if(setting('announcement_dismissible', false)): ?>
            <?php echo $__env->make('plugins/announcement::partials.dismiss', [
                'announcementIds' => $announcements->pluck('id')->toJson(),
            ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php endif; ?>
    </div>
<?php endif; ?>
<?php /**PATH /home/gyannewsoftware/public_html/realestate13_FlexHome/platform/plugins/announcement/resources/views/announcements.blade.php ENDPATH**/ ?>