<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?>
<?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('title', null, []); ?> <?php echo e(translate('Dashboard')); ?> <?php $__env->endSlot(); ?>
    <div class="grid grid-cols-12 gap-x-4">
        <!-- Start Intro -->
        <?php if (isset($component)) { $__componentOriginald60a98b935dc4d8d40a4d349afae7f32 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald60a98b935dc4d8d40a4d349afae7f32 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.admin.intro','data' => ['name' => ''.e(auth()->user()->name).'','courseLink' => ''.e(route('course.create')).'']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.admin.intro'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => ''.e(auth()->user()->name).'','courseLink' => ''.e(route('course.create')).'']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald60a98b935dc4d8d40a4d349afae7f32)): ?>
<?php $attributes = $__attributesOriginald60a98b935dc4d8d40a4d349afae7f32; ?>
<?php unset($__attributesOriginald60a98b935dc4d8d40a4d349afae7f32); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald60a98b935dc4d8d40a4d349afae7f32)): ?>
<?php $component = $__componentOriginald60a98b935dc4d8d40a4d349afae7f32; ?>
<?php unset($__componentOriginald60a98b935dc4d8d40a4d349afae7f32); ?>
<?php endif; ?>
        <!-- End Intro -->

        <!-- Start Short Progress Card -->
        <?php if (isset($component)) { $__componentOriginal90412a5df3a8680862241dee22d01ca8 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal90412a5df3a8680862241dee22d01ca8 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.admin.overview','data' => ['data' => $data]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.admin.overview'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['data' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($data)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal90412a5df3a8680862241dee22d01ca8)): ?>
<?php $attributes = $__attributesOriginal90412a5df3a8680862241dee22d01ca8; ?>
<?php unset($__attributesOriginal90412a5df3a8680862241dee22d01ca8); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal90412a5df3a8680862241dee22d01ca8)): ?>
<?php $component = $__componentOriginal90412a5df3a8680862241dee22d01ca8; ?>
<?php unset($__componentOriginal90412a5df3a8680862241dee22d01ca8); ?>
<?php endif; ?>
        <!-- End Short Progress Card -->

        <!-- Start Statistics instructor & student  -->
        <?php if (isset($component)) { $__componentOriginalabede0fb9063f411f218175861015eb9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalabede0fb9063f411f218175861015eb9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.admin.chat-instructor-student','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.admin.chat-instructor-student'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalabede0fb9063f411f218175861015eb9)): ?>
<?php $attributes = $__attributesOriginalabede0fb9063f411f218175861015eb9; ?>
<?php unset($__attributesOriginalabede0fb9063f411f218175861015eb9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalabede0fb9063f411f218175861015eb9)): ?>
<?php $component = $__componentOriginalabede0fb9063f411f218175861015eb9; ?>
<?php unset($__componentOriginalabede0fb9063f411f218175861015eb9); ?>
<?php endif; ?>
        <!-- End Average Statistics  Rate Chart -->

        <!-- Start Trending Category -->
        <?php if (isset($component)) { $__componentOriginale18d9cb90717164e029c3fa75ae0438a = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale18d9cb90717164e029c3fa75ae0438a = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.admin.trending-category','data' => ['topCategories' => $data['top_category_courses']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.admin.trending-category'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['topCategories' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($data['top_category_courses'])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale18d9cb90717164e029c3fa75ae0438a)): ?>
<?php $attributes = $__attributesOriginale18d9cb90717164e029c3fa75ae0438a; ?>
<?php unset($__attributesOriginale18d9cb90717164e029c3fa75ae0438a); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale18d9cb90717164e029c3fa75ae0438a)): ?>
<?php $component = $__componentOriginale18d9cb90717164e029c3fa75ae0438a; ?>
<?php unset($__componentOriginale18d9cb90717164e029c3fa75ae0438a); ?>
<?php endif; ?>
        <!-- End Trending Category -->

        <div class="col-span-full 2xl:col-span-4 card">
            <div class="flex-center-between mb-6">
                <h6 class="card-title"> <?php echo e(translate('Top performing courses')); ?> </h6>
                <?php if(count($data['top_courses']) > 0): ?>
                    <a href="<?php echo e(route('course.index')); ?>"
                        class="btn b-solid btn-primary-solid btn-sm dk-theme-card-square">
                        <?php echo e(translate('See all')); ?>

                    </a>
                <?php endif; ?>
            </div>
            <!-- Start Top Performing Course -->
            <?php if (isset($component)) { $__componentOriginal58f51a37e0321f449e7dabcf36e712e5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal58f51a37e0321f449e7dabcf36e712e5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.admin.top-course','data' => ['topCourses' => $data['top_courses']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.admin.top-course'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['topCourses' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($data['top_courses'])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal58f51a37e0321f449e7dabcf36e712e5)): ?>
<?php $attributes = $__attributesOriginal58f51a37e0321f449e7dabcf36e712e5; ?>
<?php unset($__attributesOriginal58f51a37e0321f449e7dabcf36e712e5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal58f51a37e0321f449e7dabcf36e712e5)): ?>
<?php $component = $__componentOriginal58f51a37e0321f449e7dabcf36e712e5; ?>
<?php unset($__componentOriginal58f51a37e0321f449e7dabcf36e712e5); ?>
<?php endif; ?>
            <!-- End Top Performing Course -->
        </div>

        <!-- Start Support -->
        <?php if (isset($component)) { $__componentOriginal1006ce5297c449a459676f940512cebf = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1006ce5297c449a459676f940512cebf = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.admin.support','data' => ['supports' => $data['latest_supports']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('portal::admin.admin.support'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['supports' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($data['latest_supports'])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1006ce5297c449a459676f940512cebf)): ?>
<?php $attributes = $__attributesOriginal1006ce5297c449a459676f940512cebf; ?>
<?php unset($__attributesOriginal1006ce5297c449a459676f940512cebf); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1006ce5297c449a459676f940512cebf)): ?>
<?php $component = $__componentOriginal1006ce5297c449a459676f940512cebf; ?>
<?php unset($__componentOriginal1006ce5297c449a459676f940512cebf); ?>
<?php endif; ?>
        <!-- End Support -->
    </div>

    <?php
        $instructorMonth = [];
        $getInstructorByMonth = [];
        if (count($data['instructor_reports']) > 0) {
            foreach ($data['instructor_reports'] as $key => $value) {
                $getInstructorByMonth[] = $value->total;
                $instructorMonth[] = "$value->dayMonthYears";
            }
        }
        $registerDate = [];
        $getStudentByDate = [];
        if (count($data['student_reports']) > 0) {
            foreach ($data['student_reports'] as $key => $value) {
                $getStudentByDate[] = $value->total;
                $registerDate[] = "$value->dayMonthYears";
            }
        }
    ?>
    <input type="hidden" id="instructorMonth" value="<?php echo e(json_encode($instructorMonth)); ?>">
    <input type="hidden" id="getInstructorByMonth" value="<?php echo e(json_encode($getInstructorByMonth)); ?>">
    <input type="hidden" id="studentDate" value="<?php echo e(json_encode($registerDate)); ?>">
    <input type="hidden" id="getStudentByDate" value="<?php echo e(json_encode($getStudentByDate)); ?>">
    <?php $__env->startPush('js'); ?>
        <script src="<?php echo e(asset('lms/assets/js/vendor/apexcharts.min.js')); ?>"></script>
        <script src="<?php echo e(edulab_asset('lms/assets/js/pages/dashboard-admin.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?>
<?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?>
<?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?>
<?php endif; ?>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\dashboard.blade.php ENDPATH**/ ?>