<nav class="navbar-wrapper">
    <div class="dashboard-title-part">
        <div class="left">
            <div class="icon">
                <button class="sidebar-menu-bar">
                    <i class="fas fa-exchange-alt"></i>
                </button>
            </div>
            <div class="dashboard-path">
                <span class="main-path"><a href="<?php echo e(setRoute('user.profile.index')); ?>"><?php echo e(__("Dashboard")); ?></a></span>
                <i class="las la-angle-right"></i>
                <span class="active-path"><?php echo e($breadcrumb ?? ""); ?></span>
            </div>
            
        </div>
        <div class="right">
            <div class="user-lang-wrapper">
                <?php
                    $__current_local = session("local") ?? get_default_language_code();
                ?>
                <select class="form--control nice-select" name="lang_switcher" id="">
                    <?php $__currentLoopData = $__languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $__item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <option value="<?php echo e($__item->code); ?>" <?php if($__current_local == $__item->code): ?>
                            <?php if(true): echo 'selected'; endif; ?>
                        <?php endif; ?>><?php echo e($__item->name); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </select>
            </div>
            <div class="header-push-wrapper">
                <button class="push-icon">
                    <i class="las la-bell"></i>
                </button>
                <div class="push-wrapper">
                    <div class="push-header">
                        <h5 class="title"><?php echo e(__("Notification")); ?></h5>
                    </div>
                    <ul class="push-list">
                        <?php $__empty_1 = true; $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                            <li>
                                <div class="thumb">
                                    <img src="<?php if($user->image): ?><?php echo e(get_image($user->image ?? '', 'user-profile') ?? ''); ?><?php else: ?><?php echo e(asset('public/frontend/')); ?>/images/user/2.jpg  <?php endif; ?>" alt="user">
                                </div>
                                <div class="content">
                                    <div class="title-area">
                                        <strong class="title"><?php echo e($item->message ?? ""); ?></strong>
                                        <span class="time"><?php echo e(Carbon\Carbon::createFromFormat('Y-m-d H:i:s',$item->created_at ?? "")->format('h:i A')); ?></span>
                                    </div>
                                </div>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                        <li><strong class="title text--danger"><?php echo e(__("Notification Not Found!")); ?></strong></li>
                        <?php endif; ?>
                    </ul>
                </div>
            </div>
            <div class="header-user-wrapper">
                <a class="header-user-thumb" href="<?php echo e(setRoute('user.profile.index')); ?>"><img src="<?php echo e(auth()->user()->userImage ?? asset('public/frontend/images/user/2.jpg')); ?>" alt="client"></a>
            </div>
        </div>
    </div>
</nav>
<?php $__env->startPush('script'); ?>
<script>
    $("select[name=lang_switcher]").change(function(){
        var selected_value = $(this).val();
        var submitForm = `<form action="<?php echo e(setRoute('languages.switch')); ?>" id="local_submit" method="POST"> <?php echo csrf_field(); ?> <input type="hidden" name="target" value="${$(this).val()}" ></form>`;
        $("body").append(submitForm);
        $("#local_submit").submit();
    });
</script>
<?php $__env->stopPush(); ?><?php /**PATH D:\xampp\htdocs\adoctor-update_version\resources\views/user/partials/top-nav.blade.php ENDPATH**/ ?>