<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
    <title>
        <?php echo $__env->yieldContent('title'); ?>
    </title>


    <link rel="icon" type="image/x-icon" href="<?php echo e(asset('favicon-logo.ico')); ?>" />
    <!-- ENABLE LOADERS -->
    <link href="<?php echo e(asset('layouts/modern-light-menu/css/light/loader.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('layouts/modern-light-menu/css/dark/loader.css')); ?>" rel="stylesheet" type="text/css" />
    <script src="<?php echo e(asset('layouts/modern-light-menu/loader.js')); ?>"></script>
    <!-- /ENABLE LOADERS -->
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="https://fonts.googleapis.com/css?family=Nunito:400,600,700" rel="stylesheet">
    <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
    <link href="<?php echo e(asset('src/bootstrap/css/bootstrap.min.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('layouts/modern-light-menu/css/light/plugins.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('layouts/modern-light-menu/css/dark/plugins.css')); ?>" rel="stylesheet" type="text/css" />
    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN PAGE LEVEL PLUGINS/CUSTOM STYLES -->
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('src/assets/css/light/elements/alert.css')); ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('src/assets/css/dark/elements/alert.css')); ?>">
    <link rel="stylesheet" type="text/css" href="<?php echo e(asset('src/assets/css/light/components/modal.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('scss/style.css')); ?>">

    <link rel="stylesheet" type="text/css"
        href="<?php echo e(asset('src/plugins/src/notification/snackbar/snackbar.min.css')); ?>">
    <link rel="stylesheet" type="text/css"
        href="<?php echo e(asset('src/plugins/css/light/notification/snackbar/custom-snackbar.css')); ?>">
    <link rel="stylesheet" type="text/css"
        href="<?php echo e(asset('src/plugins/css/dark/notification/snackbar/custom-snackbar.css')); ?>">


    <?php echo $__env->yieldContent('header'); ?>



    <style>
        body.dark .layout-px-spacing,
        .layout-px-spacing {
            min-height: calc(100vh - 155px) !important;
        }
    </style>

</head>

<body class="layout-boxed" page="starter-pack">

    <!-- BEGIN LOADER -->
    <div id="load_screen">
        <div class="loader">
            <div class="loader-content">
                <div class="spinner-grow align-self-center"></div>
            </div>
        </div>
    </div>
    <!--  END LOADER -->

    <!--  BEGIN NAVBAR  -->
    <div class="header-container container-xxl">
        <header class="header navbar navbar-expand-sm expand-header">


            <a href="javascript:void(0);" class="nav-link theme-toggle p-0">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                    class="feather feather-moon dark-mode">
                    <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
                </svg>
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
                    stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                    class="feather feather-sun light-mode">
                    <circle cx="12" cy="12" r="5"></circle>
                    <line x1="12" y1="1" x2="12" y2="3"></line>
                    <line x1="12" y1="21" x2="12" y2="23"></line>
                    <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
                    <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
                    <line x1="1" y1="12" x2="3" y2="12"></line>
                    <line x1="21" y1="12" x2="23" y2="12"></line>
                    <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
                    <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
                </svg>
            </a>


            <div class="pt-3" style="width: 100%">
                <center>
                    <p style="font-size: 18px; font-weight:900" data-bs-placement="top" title="This is you mailing address." class="bs-tooltip">
                        <strong>Your Mail Address:</strong> RID#<?php echo e(Auth::user()->user_id); ?>, <?php echo e(env('COMPANY_ADDRESS')); ?>

                        <span style="cursor: pointer;" onclick="copyAddress('<?php echo e(Auth::user()->full_name); ?>'+', RID#'+'<?php echo e(Auth::user()->user_id); ?>, <?php echo e(env('COMPANY_ADDRESS')); ?>')">
                            <svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor"
                                stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"
                                class="css-i6dzq1">
                                <rect x="9" y="9" width="13" height="13" rx="2" ry="2">
                                </rect>
                                <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
                            </svg>
                        </span>
                    </p>
                </center>
            </div>



            <a href="javascript:void(0);" class="sidebarCollapse">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
                    fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
                    stroke-linejoin="round" class="feather feather-menu">
                    <line x1="3" y1="12" x2="21" y2="12"></line>
                    <line x1="3" y1="6" x2="21" y2="6"></line>
                    <line x1="3" y1="18" x2="21" y2="18"></line>
                </svg>
            </a>

            <ul class="navbar-item flex-row ms-lg-auto ms-0">


                <li class="nav-item dropdown user-profile-dropdown  order-lg-0 order-1">
                    <a href="javascript:void(0);" class="nav-link dropdown-toggle user" id="userProfileDropdown"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <div class="avatar-container">
                            <div class="avatar avatar-sm avatar-indicators avatar-online">
                                <img alt="avatar" src="<?php echo e(asset('src/assets/images/user-profile.jpg')); ?>"
                                    class="rounded-circle">
                            </div>
                        </div>
                    </a>

                    <div class="dropdown-menu position-absolute" aria-labelledby="userProfileDropdown">
                        <div class="user-profile-section">
                            <div class="media mx-auto">
                                <div class="media-body">
                                    <h5>
                                        <?php echo e(Auth::user()->full_name); ?>

                                    </h5>
                                </div>
                            </div>
                        </div>
                        <div class="dropdown-item">
                            <a href="<?php echo e(route('profile')); ?>">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                    viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
                                    stroke-linecap="round" stroke-linejoin="round" class="feather feather-user">
                                    <path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path>
                                    <circle cx="12" cy="7" r="4"></circle>
                                </svg> <span>Profile</span>
                            </a>
                        </div>
                        <div class="dropdown-item">
                            <a href="<?php echo e(url('app/welcome-wiz')); ?>">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-info"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg> <span>Help</span>
                            </a>
                        </div>

                        <div class="dropdown-item">
                            <a href="<?php echo e(url('app/logout')); ?>">
                                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                    viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
                                    stroke-linecap="round" stroke-linejoin="round" class="feather feather-log-out">
                                    <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
                                    <polyline points="16 17 21 12 16 7"></polyline>
                                    <line x1="21" y1="12" x2="9" y2="12"></line>
                                </svg> <span>Log Out</span>
                            </a>
                        </div>
                    </div>


                </li>

            </ul>
        </header>
    </div>
    <!--  END NAVBAR  -->

    <!--  BEGIN MAIN CONTAINER  -->
    <div class="main-container " id="container">

        <div class="overlay"></div>
        <div class="search-overlay"></div>

        <!--  BEGIN SIDEBAR  -->
        <div class="sidebar-wrapper sidebar-theme">

            <nav id="sidebar">

                <div class="navbar-nav theme-brand flex-row  text-center">
                    <div class="nav-logo">
                        <div class="nav-item theme-logo">
                            <a href="<?php echo e(url('/app')); ?>">
                                <img src="<?php echo e(asset('rent-a-mailbox-512x512.png')); ?>" alt="logo">
                            </a>
                        </div>
                        <div class="nav-item theme-text">
                            <a href="<?php echo e(url('/app')); ?>" class="nav-link p-0" style="font-size: 22px !important;">
                                <?php echo e(env('COMPANY_NAME')); ?>

                            </a>
                        </div>
                    </div>

                </div>

                <ul class="list-unstyled menu-categories" id="accordionExample">
                    <li class="menu menu-heading">
                        <div class="heading"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
                                stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus">
                                <line x1="5" y1="12" x2="19" y2="12"></line>
                            </svg><span>FEATURE</span></div>
                    </li>

                    <?php
                        $permission = Session::get('permission');

                    ?>

                    <?php $__currentLoopData = $permission; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu => $index): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($menu == 'Root'): ?>
                            <?php $__currentLoopData = $index; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li class="menu">
                                    <a href="<?php echo e(route($item->name)); ?>" aria-expanded="false"
                                        class="dropdown-toggle">
                                        <div class="">
                                            <span class="material-symbols-outlined">
                                                <?php echo e($item->icon); ?>

                                            </span>
                                            <span>
                                                <?php echo e($item->display_name); ?>

                                            </span>
                                        </div>
                                    </a>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php else: ?>
                            <li class="menu">
                                <a href="#menuLevel1" data-bs-toggle="collapse" aria-expanded="false"
                                    class="dropdown-toggle collapsed">
                                    <div class="">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                            viewBox="0 0 24 24" fill="none" stroke="currentColor"
                                            stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                                            class="feather feather-cpu">
                                            <rect x="4" y="4" width="16" height="16" rx="2"
                                                ry="2">
                                            </rect>
                                            <rect x="9" y="9" width="6" height="6"></rect>
                                            <line x1="9" y1="1" x2="9" y2="4">
                                            </line>
                                            <line x1="15" y1="1" x2="15" y2="4">
                                            </line>
                                            <line x1="9" y1="20" x2="9" y2="23">
                                            </line>
                                            <line x1="15" y1="20" x2="15" y2="23">
                                            </line>
                                            <line x1="20" y1="9" x2="23" y2="9">
                                            </line>
                                            <line x1="20" y1="14" x2="23" y2="14">
                                            </line>
                                            <line x1="1" y1="9" x2="4" y2="9">
                                            </line>
                                            <line x1="1" y1="14" x2="4" y2="14">
                                            </line>
                                        </svg>
                                        <span>
                                            <?php echo e($menu); ?>

                                        </span>
                                    </div>
                                    <div>
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
                                            viewBox="0 0 24 24" fill="none" stroke="currentColor"
                                            stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                                            class="feather feather-chevron-right">
                                            <polyline points="9 18 15 12 9 6"></polyline>
                                        </svg>
                                    </div>
                                </a>
                                <ul class="submenu list-unstyled collapse" id="menuLevel1"
                                    data-bs-parent="#accordionExample" style="">
                                    <?php $__currentLoopData = $index; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sub_item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li>
                                            <a href="<?php echo e(route($sub_item->name)); ?>">
                                                <?php echo e($sub_item->display_name); ?>

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

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

            </nav>

        </div>
        <!--  END SIDEBAR  -->

        <!--  BEGIN CONTENT AREA  -->
        <div id="content" class="main-content">


            <?php echo $__env->yieldContent('content'); ?>



            <div class="footer-wrapper">
                <div class="footer-section f-section-1">
                    <p class="">Copyright © <span class="dynamic-year">2024</span> <a target="_blank"
                            href="https://netlexer.com">NETLEXER</a>, All rights reserved.</p>
                </div>

            </div>

        </div>


        <!--  END CONTENT AREA  -->
    </div>

    <script src="<?php echo e(asset('src/plugins/src/global/vendors.min.js')); ?>"></script>
    <script src="<?php echo e(asset('src/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script>
    <script src="<?php echo e(asset('src/plugins/src/perfect-scrollbar/perfect-scrollbar.min.js')); ?>"></script>
    <script src="<?php echo e(asset('layouts/modern-light-menu/app.js')); ?>"></script>
    <script src="<?php echo e(asset('src/assets/js/custom.js')); ?>"></script>


    <script src="<?php echo e(asset('src/plugins/src/notification/snackbar/snackbar.min.js')); ?>"></script>
    <script src="<?php echo e(asset('src/assets/js/components/notification/custom-snackbar.js')); ?>"></script>
    <script src="<?php echo e(asset('src/custom.js')); ?>"></script>


    <?php echo $__env->yieldContent('footer'); ?>

    <script>
        function copyAddress(address) {
            navigator.clipboard.writeText(address);
            success_alert('Mail Address copied to clipboard')
        }
    </script>

    <?php if(session('error')): ?>
        <script>
            error_alert('<?php echo e(session('error')); ?>');
        </script>
    <?php endif; ?>

        <?php if(session('success')): ?>
        <script>
            success_alert('<?php echo e(session('success')); ?>');
        </script>
    <?php endif; ?>

</body>

</html>
<?php /**PATH /home/ferdous-ahmed-khan/Project/rent-a-mailbox/resources/views/app/layouts/app.blade.php ENDPATH**/ ?>