<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="icon" href="<?php echo e(asset('icon/favicon.png')); ?>">
        <title><?php echo e($title ?? 'Marketing Data Analysis'); ?></title>
        <link href="<?php echo e(asset('css/styles.css')); ?>" rel="stylesheet" data-navigate-track/>
        <link rel="stylesheet" href="<?php echo e(asset('assets/font-awesome/css/fontawesome-v6.3.0.all.min.css')); ?>" data-navigate-track>
        <?php echo \Livewire\Mechanisms\FrontendAssets\FrontendAssets::styles(); ?>

        <script src="<?php echo e(asset('assets/font-awesome/fontawesome-v6.3.0.all.js')); ?>" crossorigin="anonymous"></script>
        <script src="<?php echo e(asset('js/jquery-3.5.1.min.js')); ?>"></script>
        <script src="<?php echo e(asset('js/bootstrap-5.2.3.bundle.min.js')); ?>" crossorigin="anonymous"></script>
        <script src="<?php echo e(asset('js/highcharts-v11.4.3.min.js')); ?>"></script>
    </head>
    <body class="sb-nav-fixed">
        
        <?php if(auth()->guard()->check()): ?>
            <?php echo $__env->make('components.layouts.auth.navbar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div id="layoutSidenav">
                <div  wire:ignore>
                <?php echo $__env->make('components.layouts.auth.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
                <div id="layoutSidenav_content">
                    <div class="m-5">
                        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('offline-state', []);

$__html = app('livewire')->mount($__name, $__params, 'lw-2068253219-0', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
                        <?php echo e($slot); ?>

                    </div>
                    <?php echo $__env->make('components.layouts.auth.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            </div>
        <?php endif; ?>

        
        <?php if(auth()->guard()->guest()): ?>
            
            <?php echo e($slot); ?>

        <?php endif; ?>

        <?php if(session()->has('success') || session()->has('error')): ?>
            <div class="position-fixed top-0 right-0 p-3 mt-5" style="z-index: 1100; right: 0; bottom: 0;">
                <div class="toast <?php echo e(!empty(session('success')) ?  'text-white bg-success' : 'text-white bg-danger'); ?> border-0" role="alert" aria-live="assertive" aria-atomic="true" data-delay="4000">
                    <div class="d-flex">
                        <div class="toast-body">
                            <?php echo e(session('success') ??  session('error')); ?>

                        </div>
                        <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
                    </div>
                </div>
            </div>
            <script>
                $(document).ready(function(){
                    $('.toast').toast('show');
                });
            </script>
        <?php endif; ?>
        <script>
            function showData(id) {
                $.ajax({
                    url: '<?php echo e(URL('view-table-data')); ?>',
                    type: "GET",
                    data:  {data_id: id},
                    beforeSend:function(){					

                    },
                    success: function (response) {
                        if (response.success) {
                            $("#dataModal").modal('show');
                            $(".contentBody").html(response.html);
                        }
                    },
                    error: function (error) {
                        console.error('Error submitting form:', error);
                    }
                });
            }
        </script>
        <script src="<?php echo e(asset('js/scripts.js')); ?>" data-navigate-track></script>
        <?php echo \Livewire\Mechanisms\FrontendAssets\FrontendAssets::scripts(); ?>

    </body>
</html><?php /**PATH /home3/newhospv/project1.neways3.com/resources/views/components/layouts/app.blade.php ENDPATH**/ ?>