<!doctype html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>" dir="ltr">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <title><?php echo e(config('app.name', 'CMFRI')); ?> - Admin Portal</title>

    <!-- FAVICON -->
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo e(asset('images/merlin.png')); ?>">

    <!-- BOOTSTRAP CSS -->
    <link id="style" href="<?php echo e(asset('admin/assets/plugins/bootstrap/css/bootstrap.min.css')); ?>" rel="stylesheet">

    <!-- STYLE CSS -->
    <link href="<?php echo e(asset('admin/assets/css/style.css')); ?>" rel="stylesheet">

    <!-- Plugins CSS -->
    <link href="<?php echo e(asset('admin/assets/css/plugins.css')); ?>" rel="stylesheet">

    <!--- FONT-ICONS CSS -->
    <link href="<?php echo e(asset('admin/assets/css/icons.css')); ?>" rel="stylesheet">

    <!-- Animate css -->
    <link href="<?php echo e(asset('admin/assets/css/animated.css')); ?>" rel="stylesheet">

    <!-- TOASTR CSS -->
    <link href="<?php echo e(asset('admin/assets/css/toastr/toastr.min.css')); ?>" rel="stylesheet">
</head>

<body class="app sidebar-mini ltr login-img">
    <!-- GLOABAL LOADER -->
    <div id="global-loader">
        <img src="<?php echo e(asset('admin/assets/images/loader.svg')); ?>" class="loader-img" alt="Loader">
    </div>
    <!-- /GLOABAL LOADER -->

    <!-- PAGE -->
    <div class="page">
        <div>
            <!-- CONTAINER OPEN -->
            <div class="col col-login mx-auto mt-7">
                <div class="text-center">
                    <a href="/">
                        <img src="<?php echo e(asset('images/merlin.png')); ?>" class="header-brand-img" alt="logo" style="max-height: 60px;">
                    </a>
                </div>
            </div>

            <div class="container-login100">
                <div class="wrap-login100 p-6">
                    <?php echo e($slot); ?>

                </div>
            </div>
            <!-- CONTAINER CLOSED -->
        </div>
    </div>
    <!-- End PAGE -->

    <!-- JQUERY JS -->
    <script src="<?php echo e(asset('admin/assets/js/jquery.min.js')); ?>"></script>

    <!-- BOOTSTRAP JS -->
    <script src="<?php echo e(asset('admin/assets/plugins/bootstrap/js/popper.min.js')); ?>"></script>
    <script src="<?php echo e(asset('admin/assets/plugins/bootstrap/js/bootstrap.min.js')); ?>"></script>

    <!-- SHOW PASSWORD JS -->
    <script src="<?php echo e(asset('admin/assets/js/show-password.min.js')); ?>"></script>

    <!-- Perfect SCROLLBAR JS-->
    <script src="<?php echo e(asset('admin/assets/plugins/p-scroll/perfect-scrollbar.js')); ?>"></script>

    <!-- Color Theme js -->
    <script src="<?php echo e(asset('admin/assets/js/themeColors.js')); ?>"></script>

    <!-- CUSTOM JS -->
    <script src="<?php echo e(asset('admin/assets/js/custom.js')); ?>"></script>

    <!-- TOASTR JS -->
    <script src="<?php echo e(asset('admin/assets/js/toastr/toastr.min.js')); ?>"></script>

    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($errors->any() || Session::has('message') || Session::has('status') || Session::has('success') || Session::has('error')): ?>
        <script>
            $(document).ready(function() {
                toastr.options = {
                    "positionClass": "toast-top-right",
                    "timeOut": 5000,
                    "closeButton": true,
                    "progressBar": true
                };

                <?php if($errors->any()): ?>
                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        toastr.error("<?php echo e($error); ?>");
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>

                <?php if(Session::has('message')): ?>
                    var type = "<?php echo e(Session::get('alert-type', 'info')); ?>";
                    switch(type){
                        case 'info':
                            toastr.info("<?php echo e(Session::get('message')); ?>");
                            break;
                        case 'warning':
                            toastr.warning("<?php echo e(Session::get('message')); ?>");
                            break;
                        case 'success':
                            toastr.success("<?php echo e(Session::get('message')); ?>");
                            break;
                        case 'error':
                            toastr.error("<?php echo e(Session::get('message')); ?>");
                            break;
                    }
                <?php endif; ?>

                <?php if(Session::has('status')): ?>
                    toastr.success("<?php echo e(Session::get('status')); ?>");
                <?php endif; ?>

                <?php if(Session::has('success')): ?>
                    toastr.success("<?php echo e(Session::get('success')); ?>");
                <?php endif; ?>

                <?php if(Session::has('error')): ?>
                    toastr.error("<?php echo e(Session::get('error')); ?>");
                <?php endif; ?>
            });
        </script>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
</body>
</html>
<?php /**PATH C:\laragon\www\cmfri-admin\resources\views/layouts/guest.blade.php ENDPATH**/ ?>