<div class="home-featured">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="featured-slider-1 border-radius-10">
                    <div class="featured-slider-1-items">
                        <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="slider-single">
                                <div class="row no-gutters">
                                    <div class="col-lg-6 col-md-12 order-lg-1 order-2 align-center-vertical">
                                        <div class="slider-caption">
                                            <?php $category = $post->categories->first(); ?>
                                            <?php if($category): ?>
                                                <div class="entry-meta meta-0 mb-25">
                                                    <a href="<?php echo e($category->url); ?>">
                                                        <span
                                                            class="post-in background1 color-white font-small"><?php echo e($category->name); ?></span>
                                                    </a>
                                                </div>
                                            <?php endif; ?>
                                            <h2 class="post-title"><a href="<?php echo e(get_external_link($post)); ?>" <?php echo e(is_external_link($post) ? 'target="_blank"' : ''); ?>><?php echo e($post->name); ?></a></h2>
                                            <div class="entry-meta meta-1 font-small color-grey mt-20 mb-20">
                                                <span class="post-on">
                                                    <i class="ti-marker-alt"></i><?php echo e($post->created_at->format(post_date_format())); ?>

                                                </span>
                                                <span class="hit-count">
                                                    <i class="ti-bolt"></i><?php echo e(number_format($post->views)); ?> <?php echo e(__('views')); ?>

                                                </span>
                                            </div>
                                            <p class="excerpt font-medium mt-25 mb-25"><?php echo e(clean($post->description )); ?> </p>
                                            <?php if(theme_option('enable_show_post_author_detail', 'yes') == 'yes' && class_exists($post->author_type) && $post->author && $post->author->id): ?>
                                                <div class="entry-meta meta-2">
                                                    <a class="float-left mr-10 author-img"
                                                       href="<?php echo e($post->author->url); ?>">
                                                        <img
                                                            src="<?php echo e(RvMedia::getImageUrl($post->author->avatar->url, 'thumb', false, RvMedia::getDefaultImage())); ?>"
                                                            alt="<?php echo e($post->author->name); ?>">
                                                    </a>
                                                    <a href="<?php echo e($post->author->url); ?>">
                                                        <span class="author-name mt-10"><?php echo e($post->author->name); ?></span>
                                                    </a>
                                                    <br>
                                                    <span class="author-add color-grey"></span>
                                                </div>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                    <div class="slider-img col-lg-6 order-lg-2 order-1 col-md-12">
                                        <div class="img-hover-scale">
                                            <span class="top-right-icon background8">
                                                <i class="ti-heart"></i>
                                            </span>
                                            <?php if(is_external_link($post)): ?>
                                                <span class="top-right-icon background10"><i class="ti-link" aria-hidden="true"></i></span>
                                            <?php endif; ?>
                                            <a href="<?php echo e(get_external_link($post)); ?>" <?php echo e(is_external_link($post) ? 'target="_blank"' : ''); ?>>
                                                <?php if($key): ?>
                                                    <img class="img-fluid <?php echo e($key ? 'lazy' : ''); ?>"
                                                         data-lazy="<?php echo e(RvMedia::getImageUrl($post->image, 'medium_large', false, RvMedia::getDefaultImage())); ?>"
                                                         src="<?php echo e(RvMedia::getImageUrl(theme_option('img_loading'))); ?>"
                                                         alt="<?php echo e($post->name); ?>">
                                                <?php else: ?>
                                                    <img class="img-fluid"
                                                         src="<?php echo e(RvMedia::getImageUrl($post->image, 'medium_large', false, RvMedia::getDefaultImage())); ?>"
                                                         alt="<?php echo e($post->name); ?>">
                                                <?php endif; ?>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <div class="row">
                        <div class="col-lg-6 col-md-12">
                            <div class="arrow-cover"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\Users\Admin\Documents\UltraNews v4.0.0 Nulled\UltraNews v4.0.0 Nulled\ultra-news\platform\themes/ultra/partials/shortcodes/posts-slider-style-1.blade.php ENDPATH**/ ?>