<div class="aside aside-left  aside-fixed  d-flex flex-column flex-row-auto" id="kt_aside">
    <div class="brand flex-column-auto " id="kt_brand" style="padding: 0 20px !important;">
        <div class="brand-logo" style="background: white;
        padding: 5px;
        box-shadow: 0 0px 0px 5px rgba(255, 255, 255, 0.5);">
            <?php if(config('settings.logo')): ?>
            <a href="<?php echo e(url('/')); ?>"><img src="<?php echo e(asset('storage/'.LOGO_PATH.config('settings.logo'))); ?>" style="max-width: 170px;" alt="Logo" /></a>
            <?php else: ?>
            <h3 class="text-white"><?php echo e(config('settings.title') ? config('settings.title') : env('APP_NAME')); ?></h3>
            <?php endif; ?>
        </div>
        <button class="brand-toggle btn btn-sm px-0" id="kt_aside_toggle">
            <span class="svg-icon svg-icon-xl">
                <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
                    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                        <polygon points="0 0 24 0 24 24 0 24" />
                        <path d="M5.29288961,6.70710318 C4.90236532,6.31657888 4.90236532,5.68341391 5.29288961,5.29288961 C5.68341391,4.90236532 6.31657888,4.90236532 6.70710318,5.29288961 L12.7071032,11.2928896 C13.0856821,11.6714686 13.0989277,12.281055 12.7371505,12.675721 L7.23715054,18.675721 C6.86395813,19.08284 6.23139076,19.1103429 5.82427177,18.7371505 C5.41715278,18.3639581 5.38964985,17.7313908 5.76284226,17.3242718 L10.6158586,12.0300721 L5.29288961,6.70710318 Z" fill="#000000" fill-rule="nonzero" transform="translate(8.999997, 11.999999) scale(-1, 1) translate(-8.999997, -11.999999) " />
                        <path d="M10.7071009,15.7071068 C10.3165766,16.0976311 9.68341162,16.0976311 9.29288733,15.7071068 C8.90236304,15.3165825 8.90236304,14.6834175 9.29288733,14.2928932 L15.2928873,8.29289322 C15.6714663,7.91431428 16.2810527,7.90106866 16.6757187,8.26284586 L22.6757187,13.7628459 C23.0828377,14.1360383 23.1103407,14.7686056 22.7371482,15.1757246 C22.3639558,15.5828436 21.7313885,15.6103465 21.3242695,15.2371541 L16.0300699,10.3841378 L10.7071009,15.7071068 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" transform="translate(15.999997, 11.999999) scale(-1, 1) rotate(-270.000000) translate(-15.999997, -11.999999) " />
                    </g>
                </svg>
            </span>
        </button>
    </div>
    <div class="aside-menu-wrapper flex-column-fluid" id="kt_aside_menu_wrapper">
        <div id="kt_aside_menu" class="aside-menu my-4 " data-menu-vertical="1" data-menu-scroll="1" data-menu-dropdown-timeout="500">
            <ul class="menu-nav ">
                <?php if(Session::get('user_menu')): ?>
                <?php $__currentLoopData = Session::get('user_menu'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($menu->children->isEmpty()): ?>
                        <?php if($menu->type == 1): ?>
                            <li class="menu-section "><h4 class="menu-text"><?php echo e($menu->divider_title); ?></h4></li>
                        <?php else: ?>
                            <li class="menu-item  <?php echo e((request()->is($menu->url)) ? 'menu-item-active' : ''); ?>" aria-haspopup="true">
                                <a href="<?php echo e($menu->url ? url($menu->url) : ''); ?>" class="menu-link" target="<?php echo e($menu->target ?? '_self'); ?>">
                                    <span class="svg-icon menu-icon"><i class="<?php echo e($menu->icon_class); ?>"></i></span>
                                    <span class="menu-text"><?php echo e($menu->module_name); ?></span>
                                </a>
                            </li>
                        <?php endif; ?>
                    <?php else: ?>
                        <li class="menu-item  menu-item-submenu
                        <?php $__currentLoopData = $menu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php echo e((request()->is($submenu->url)) ? 'menu-item-open' : ''); ?>

                            <?php if(!$submenu->children->isEmpty()): ?>
                                <?php $__currentLoopData = $submenu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub_submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php echo e((request()->is($sub_submenu->url)) ? 'menu-item-open' : ''); ?>

                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        " aria-haspopup="true" data-menu-toggle="hover">
                            <a href="javascript:void();" class="menu-link menu-toggle">
                                <span class="svg-icon menu-icon"><i class="<?php echo e($menu->icon_class); ?>"></i></span>
                                <span class="menu-text"><?php echo e($menu->module_name); ?></span>
                                <i class="menu-arrow"></i>
                            </a>
                            <div class="menu-submenu ">
                                <span class="menu-arrow"></span>
                                <ul class="menu-subnav">
                                    <?php $__currentLoopData = $menu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php if($submenu->children->isEmpty()): ?>
                                            <li class="menu-item <?php echo e((request()->is($submenu->url)) ? 'menu-item-active' : ''); ?>" aria-haspopup="true">
                                                <a href="<?php echo e($submenu->url ? url($submenu->url) : ''); ?>" class="menu-link ">
                                                    <i class="menu-bullet menu-bullet-dot"><span></span></i>
                                                    <span class="menu-text"><?php echo e($submenu->module_name); ?></span>
                                                </a>
                                            </li>
                                        <?php else: ?>
                                            <li class="menu-item  menu-item-submenu
                                                <?php $__currentLoopData = $submenu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub_submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php echo e((request()->is($sub_submenu->url)) ? 'menu-item-open' : ''); ?>

                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                " aria-haspopup="true" data-menu-toggle="hover">
                                                <a href="javascript:void();" class="menu-link menu-toggle">
                                                    <i class="menu-bullet menu-bullet-dot"><span></span></i>
                                                    <span class="menu-text"><?php echo e($submenu->module_name); ?></span>
                                                    <i class="menu-arrow"></i>
                                                </a>
                                                <div class="menu-submenu ">
                                                    <span class="menu-arrow"></span>
                                                    <ul class="menu-subnav">
                                                        <?php $__currentLoopData = $submenu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub_submenu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <li class="menu-item <?php echo e((request()->is($sub_submenu->url)) ? 'menu-item-active' : ''); ?>" aria-haspopup="true">
                                                            <a href="<?php echo e($sub_submenu->url ? url($sub_submenu->url) : ''); ?>" class="menu-link ">
                                                                <i class="menu-bullet menu-bullet-dot"><span></span></i>
                                                                <span class="menu-text"><?php echo e($sub_submenu->module_name); ?></span>
                                                            </a>
                                                        </li>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                    </ul>
                                                </div>
                                            </li>
                                        <?php endif; ?>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        </li>
                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
            </ul>
        </div>
    </div>
</div>
<?php /**PATH /home/iconshoppercom/iconshopper/resources/views/components/sidebar.blade.php ENDPATH**/ ?>