<ul <?php echo $options; ?>>
    <?php $__currentLoopData = $menu_nodes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <li class="cat-item <?php if($row->has_child): ?> menu-item-has-children <?php endif; ?> <?php if($row->css_class): ?> <?php echo e($row->css_class); ?> <?php endif; ?> <?php if($row->active): ?> current-menu-item <?php endif; ?>">
            <a href="<?php echo e(url($row->url)); ?>" <?php if($row->target !== '_self'): ?> target="<?php echo e($row->target); ?>" <?php endif; ?>>
                <?php if($row->icon_font): ?> <i class="<?php echo e(trim($row->icon_font)); ?>"></i> <?php endif; ?> <?php echo e($row->title); ?>

            </a>
            <?php if($row->has_child): ?>
                <?php echo Menu::generateMenu([
                    'menu'       => $menu,
                    'menu_nodes' => $row->child,
                    'view'       => 'menu',
                    'options' => [
                        'class' => 'sub-menu font-small',
                    ]
                ]); ?>

            <?php endif; ?>
        </li>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

    <?php if(strpos($options, 'is-main-menu') !== false): ?>
        <?php if(theme_option('allow_account_login', '') == 'yes'): ?>
            <li class="text-left d-block d-md-none">
                <?php if(!auth('member')->check()): ?>
                    <a href="<?php echo e(route('public.member.login')); ?>" role="button"
                       class="<?php echo e($color ?? ''); ?>">
                        <i class="ti-user mr-1"></i>
                        <span><?php echo e(__('Login')); ?></span>
                    </a>
                <?php else: ?>
                    <a class="dropdown-toggle" href="#" role="button"
                       class="<?php echo e($color ?? ''); ?>"
                       id="userMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="ti-user mr-1"></i>
                        <span><?php echo e(__('Account')); ?></span>
                    </a>
                    <div id="userMenuDropdow" class="dropdown-menu dropdown-menu-right"
                         aria-labelledby="userMenu">
                        <a class="dropdown-item" href="<?php echo e(route('public.member.dashboard')); ?>">
                            <i class="ti-pencil-alt"></i><?php echo e(__('Your Dashboard')); ?>

                        </a>
                        <a class="dropdown-item" href="<?php echo e(route('public.member.settings')); ?>">
                            <i class="ti-stats-up"></i><?php echo e(__('Edit profile')); ?>

                        </a>

                        <?php if(is_plugin_active('favorite-posts')): ?>
                            <a class="dropdown-item" href="<?php echo e(route('public.favorite-post-listing')); ?>">
                                <i class="ti-heart"></i><?php echo e(__('Your Favorites')); ?>

                            </a>
                        <?php endif; ?>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="#"
                           onclick="event.preventDefault(); document.getElementById('logout-form').submit();" t>
                            <i class="ti-share"></i><?php echo e(__('Logout')); ?>

                        </a>
                        <form id="logout-form" action="<?php echo e(route('public.member.logout')); ?>" method="POST"
                              style="display: none;">
                            <?php echo csrf_field(); ?>
                        </form>
                    </div>
                <?php endif; ?>
            </li>
        <?php endif; ?>

        <?php if(is_plugin_active('language')): ?>
            <li class="text-left d-block d-md-none">
                <?php
                    $supportedLocales = Language::getSupportedLocales();
                ?>
                <?php if($supportedLocales && count($supportedLocales) > 1): ?>
                    <?php
                        $languageDisplay = setting('language_display', 'all');
                    ?>

                    <div class="mb-2 language">
                        <?php $__currentLoopData = $supportedLocales; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $localeCode => $properties): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php if($localeCode != Language::getCurrentLocale()): ?>
                                <a rel="alternate" hreflang="<?php echo e($localeCode); ?>"
                                   href="<?php echo e(setting('language_show_default_item_if_current_version_not_existed', true) ? Language::getLocalizedURL($localeCode) : url($localeCode)); ?>">
                                    <?php if(($languageDisplay == 'all' || $languageDisplay == 'flag')): ?><?php echo language_flag($properties['lang_flag'], $properties['lang_name']); ?><?php endif; ?>
                                    <?php if(($languageDisplay == 'all' || $languageDisplay == 'name')): ?><span
                                        class="ml-2"><?php echo e($properties['lang_name']); ?></span><?php endif; ?>
                                </a>
                            <?php endif; ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                <?php endif; ?>
            </li>
        <?php endif; ?>

        <?php if(!empty(theme_option('social_links'))): ?>
            <li class="text-left d-block d-md-none">
                <div class="header-social-network d-inline-block list-inline <?php echo e($color ?? ''); ?>">
                    <?php $__currentLoopData = json_decode(theme_option('social_links'), true); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $socialLink): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="list-inline-item">
                            <a href="<?php echo e($socialLink[2]['value']); ?>"
                               target="_blank"
                               class="social-icon <?php echo e($color ?? ''); ?> <?php echo e($socialLink[1]['value']); ?>-icon text-xs-center"
                               title="<?php echo e($socialLink[0]['value']); ?>">
                                <i class="ti-<?php echo e($socialLink[1]['value']); ?>"></i>
                            </a>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </li>
        <?php endif; ?>
    <?php endif; ?>
</ul>
<?php /**PATH C:\Users\Admin\Documents\UltraNews v4.0.0 Nulled\UltraNews v4.0.0 Nulled\ultra-news\platform\themes/ultra/partials/menu.blade.php ENDPATH**/ ?>