<aside id="aside">

    <a href="" class="aside-brand d-block ">
        <img src="<?php echo e(website_logo()); ?>" alt="">
        <span class="name"></span>
    </a>


    <ul class="side-menu">


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('interest_allow_view')): ?>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'رسائل الاهتمام',
                'icon' => '<i class=\'fa-solid fa-envelope\'></i>',
                'link' => 'interests',
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?>
        <?php endif; ?>



        <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
            'name' => 'الإعلانات العقارية',
            'icon' => '<i class=\'fa-solid fa-house\'></i>',
            'link' => 'properties',
        ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?>

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('properties_create')): ?>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'اضافة إعلان جديد',
                'icon' => '<i class=\'fa fa-plus\'></i>',
                'link' => 'properties/create',
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?>
        <?php endif; ?>




        <!--
         |
         | Start System Tabs
         |
        -->

        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admins')): ?>
            <li class="side-item-category">الإدارة</li>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'المستخدمين',
                'icon' => '<i class=\'fa-solid fa-users\'></i>',
                'link' => 'admins',
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?><!-- End Admins -->
        <?php endif; ?>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('create_admin')): ?>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'اضافة مستخدم جديد',
                'icon' => '<i class=\'fa-solid fa-user-plus\'></i>',
                'link' => 'admins/create',
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?><!-- End Admins -->
        <?php endif; ?>




        <li class="side-item-category">النظام</li>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->any(['city_view', 'neighborhood_view', 'property_status_view', 'property_furnishing_view',
            'property_features_view', 'property_amenities_view'])): ?>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'بيانات النظام',
                'icon' => '<i class=\'fa-solid fa-circle-question\'></i>',
                'sub_menu' => [
                    [
                        'name' => 'المدن',
                        'link' => 'cities',
                        'can' => 'city_view',
                    ],
                    [
                        'name' => 'المناطق',
                        'link' => 'neighborhoods',
                        'can' => 'neighborhood_view',
                    ],
                    [
                        'name' => 'الحالة & الغرض',
                        'link' => 'property-status',
                        'can' => 'property_status_view',
                    ],
                    [
                        'name' => 'مستويات التشطيب',
                        'link' => 'property-furnishing',
                        'can' => 'property_furnishing_view',
                    ],
                    [
                        'name' => 'أنواع المميزات',
                        'link' => 'property-features',
                        'can' => 'property_features_view',
                    ],
                    [
                        'name' => 'وسائل الراحة',
                        'link' => 'property-amenities',
                        'can' => 'property_amenities_view',
                    ],
                ],
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?>
            <!-- settings -->
        <?php endif; ?>

        <?php if(\Spatie\Permission\PermissionServiceProvider::bladeMethodWrapper('hasRole', owner())): ?>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'الأدوار & الصلاحيات',
                'icon' => '<i class=\'fa-solid fa-unlock\'></i>',
                'link' => 'roles',
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?><!-- End roles -->
        <?php endif; ?>


        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('website_setting_allow_edit_and_view')): ?>
            <?php if (isset($component)) { $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2 = $component; } ?>
<?php $component = App\View\Components\Dashboard\Aside::resolve(['details' => [
                'name' => 'إعدادات الموقع',
                'icon' => '<i class=\'fa-solid fa-gear\'></i>',
                'link' => 'settings/general',
            ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('dashboard.aside'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Dashboard\Aside::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2)): ?>
<?php $component = $__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2; ?>
<?php unset($__componentOriginal6a03b8d6a61a5798dd9f638fbcad6adbfcad50e2); ?>
<?php endif; ?>
            <!-- settings -->
        <?php endif; ?>



        <li class="side-item ">
            <a href="<?php echo e(url('')); ?>" target="__blank" class=" w-100 d-block">
                <span class="side-icon"><i class='fa-solid fa-chart-simple'></i></span>
                <span class="side-name-lable">صفحة التسويق</span>
            </a>
        </li>

        <li class="side-item mb-5">
            <form action="<?php echo e(route('logout')); ?>" method="POST">
                <?php echo csrf_field(); ?>
                <button type="submit" class=" w-100 d-block">
                    <a class=" w-100 d-block">
                        <span class="side-icon"><i class="fa-solid fa-arrow-right-to-bracket"></i></span>
                        <span class="side-name-lable"><?php echo e(trans('aside.Logout')); ?></span>
                    </a>
                </button>
            </form>
        </li>
        <!-- End Logout -->

    </ul>

    <a style="font-size: 15px;position: absolute;bottom: 15px;left: 30%;" class="text-secondary" href="https://salehmegawer.com/" target="_blank"><i class="fa-solid fa-arrow-right ml-2" style="font-size: 13px"></i>By Saleh Megawer</a>
</aside><!-- End Aside Bar  -->

<div class="aside-overlay"></div>
<!---OverLay -->
<?php /**PATH C:\xampp\htdocs\internal-real-estate\resources\views/dashboard/layouts/menus/aside.blade.php ENDPATH**/ ?>