<div class="nav-menu d-flex justify-content-end align-items-center">
    <!-- Navbar Close Icon -->
    <div class="navbar-close">
        <div class="cross-wrap"><span class="top"></span><span class="bottom"></span></div>
    </div>
    <!-- nav-menu -->
    <nav class="main-menu">
        <ul>
            <?php
                $links = json_decode($menus, true);
                //  dd($links);
            ?>

            <?php $__currentLoopData = $links; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php
                    $href = getHref($link);
                ?>

                <?php if(strpos($link["type"], '-megamenu') !==  false): ?>
                    <?php if ($__env->exists('front.ecommerce.partials.mega-menu')) echo $__env->make('front.ecommerce.partials.mega-menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php else: ?>
                    <?php if(!array_key_exists("children",$link)): ?>
                        
                        <li class="menu-item"><a href="<?php echo e($href); ?>" target="<?php echo e($link["target"]); ?>"><?php echo e($link["text"]); ?></a></li>
                    <?php else: ?>
                        <li class="menu-item menu-item-has-children">
                            <a href="<?php echo e($href); ?>" target="<?php echo e($link["target"]); ?>"><?php echo e($link["text"]); ?></a>
                            <ul class="sub-menu">
                                
                                <?php $__currentLoopData = $link["children"]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $level2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                        $l2Href = getHref($level2);
                                    ?>

                                    <li <?php if(array_key_exists("children", $level2)): ?> class="submenus" <?php endif; ?>>
                                        <a  href="<?php echo e($l2Href); ?>" target="<?php echo e($level2["target"]); ?>"><?php echo e($level2["text"]); ?></a>

                                        
                                        <?php
                                            if (array_key_exists("children", $level2)) {
                                                create_menu($level2);
                                            }
                                        ?>
                                        

                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                
                            </ul>
                        </li>
                    <?php endif; ?>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php if($bs->is_quote == 1): ?>
            <li>
                <a href="<?php echo e(route('front.quote')); ?>" class="quote-btn"><?php echo e(__('Request A Quote')); ?></a>
            </li>
            <?php endif; ?>
        </ul>
    </nav>
</div>
<!-- Navbar Toggler -->
<div class="navbar-toggler">
    <span></span><span></span><span></span>
</div><?php /**PATH D:\xampp\htdocs\plusagency\without-license\plusagency-3.2\core\resources\views/front/ecommerce/partials/navbar.blade.php ENDPATH**/ ?>