<li class="onclick-dropdown-notification" wire:click="markAllNotificationsAsRead()">
    <div class="notification-box"><i class="far fa-bell" style="font-size:1.1rem;"></i> <?php if(auth()->user()->notification): ?> <span class="dot-animated"></span><?php endif; ?></div>
    <ul class="notification-dropdown onhover-show-div" wire:ignore.self>
        <li>
            <?php if($count): ?>
            <p class="f-w-700 mb-0">Tienes <?php echo e($count); ?> Notificaci<?php echo e($count == 1 ? "ón" : "ones"); ?> sin leer <span class="pull-right badge badge-primary badge-pill"><?php echo e($count); ?></span></p>
            <?php else: ?>
            <p class="f-w-700 mb-0">No tienes notificaciones</p>
            <?php endif; ?>
        </li>
        <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li class="<?php echo e(! $notification->read_at ? 'noti-primary' : 'noti-success'); ?>" wire:click="markNotificationAsRead('<?php echo e($notification->id); ?>')"
                onclick="location.href='<?php echo e($notification->data['url']); ?>'" style="cursor:pointer;">
                <div class="media">
                    <span class="notification-bg <?php echo e(! $notification->read_at ? 'bg-light-primary' : 'bg-light-success'); ?>"><i class="fas <?php echo e(! $notification->read_at ? 'fa-check' : 'fa-check-double'); ?> "></i></span>
                    <div class="media-body">
                        <p <?php echo e($notification->read_at ? 'style=color:gray!important;' : ''); ?>><?php echo e($notification->data['message']); ?></p>
                        <span><?php echo e($notification->created_at->diffForHumans()); ?></span>
                    </div>
                </div>
            </li>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php if($count_all > 0): ?>
            <li class="text-center p-10">
                <a href="<?php echo e(route('notificaciones')); ?>" class="btn btn-primary btn-sm btn-block">Ver todas las notificaciones</a>
            </li>
        <?php endif; ?>
    </ul>
</li>
<?php /**PATH /var/www/html/resources/views/livewire/notifications/delivery/component.blade.php ENDPATH**/ ?>