<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title> <?php echo $__env->yieldContent('title'); ?> </title>
    <meta content="width=device-width, initial-scale=1.0, shrink-to-fit=no" name="viewport" />
    <link rel="icon" type="image/x-icon" href="<?php echo e(asset('frontendAssets')); ?>/img/passport-fill.svg">

    <!-- Fonts and icons -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/webfont/webfont.min.js"></script>
    <script>
        WebFont.load({
            google: {
                families: ["Public Sans:300,400,500,600,700"]
            }
            , custom: {
                families: [
                    "Font Awesome 5 Solid"
                    , "Font Awesome 5 Regular"
                    , "Font Awesome 5 Brands"
                    , "simple-line-icons"
                , ]
                , urls: ["<?php echo e(asset('backendAssets')); ?>/css/fonts.min.css"]
            , }
            , active: function() {
                sessionStorage.fonts = true;
            }
        , });

    </script>

    <!-- Dropify CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Dropify/0.2.2/css/dropify.min.css" />
    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
    <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
    <!-- CSS Files -->
    <link rel="stylesheet" href="<?php echo e(asset('backendAssets')); ?>/css/bootstrap.min.css" />
    <link rel="stylesheet" href="<?php echo e(asset('backendAssets')); ?>/css/plugins.min.css" />
    <link rel="stylesheet" href="<?php echo e(asset('backendAssets')); ?>/css/kaiadmin.min.css" />

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
    <?php echo $__env->yieldPushContent('style'); ?>
</head>
<body>
    <div class="wrapper">
        <!-- Sidebar -->
        <?php echo $__env->make('backend.include.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        <!-- End Sidebar -->

        <div class="main-panel">
            <?php echo $__env->make('backend.include.header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            <?php echo $__env->yieldContent('content'); ?>
        </div>
    </div>
    <!--   Core JS Files   -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/core/jquery-3.7.1.min.js"></script>
    <script src="<?php echo e(asset('backendAssets')); ?>/js/core/popper.min.js"></script>
    <script src="<?php echo e(asset('backendAssets')); ?>/js/core/bootstrap.min.js"></script>

    <!-- jQuery Scrollbar -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>

    <!-- Chart JS -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/chart.js/chart.min.js"></script>

    <!-- jQuery Sparkline -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/jquery.sparkline/jquery.sparkline.min.js"></script>

    <!-- Chart Circle -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/chart-circle/circles.min.js"></script>

    <!-- Datatables -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/datatables/datatables.min.js"></script>

    <!-- Bootstrap Notify -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/bootstrap-notify/bootstrap-notify.min.js"></script>

    <!-- jQuery Vector Maps -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/jsvectormap/jsvectormap.min.js"></script>
    <script src="<?php echo e(asset('backendAssets')); ?>/js/plugin/jsvectormap/world.js"></script>

    <!-- Dropify JS -->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Dropify/0.2.2/js/dropify.min.js"></script>

    <script src="<?php echo e(asset('backendAssets')); ?>/tinymce/tinymce.min.js"></script>
    <script src="<?php echo e(asset('backendAssets')); ?>/tinymce/plugins/code/plugin.min.js"></script>

       <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>

    <!-- Kaiadmin JS -->
    <script src="<?php echo e(asset('backendAssets')); ?>/js/kaiadmin.min.js"></script>

    <script>
        $(document).ready(function() {
            $("#basic-datatables").DataTable({});
        });

    </script>

    <script>
        $(document).ready(function() {
            $('.dropify').dropify({});
        });

    </script>

<script>
    $(document).ready(function () {
        flatpickr(".flat_date", {
            dateFormat: "Y-m-d",
            allowInput: true
        });
    });
</script>

    <script>
        $('.delete_sweet_alert').click(function(event) {
            var form = $(this).closest("form");
            event.preventDefault();

            Swal.fire({
                title: 'Do you want to delete this?',
                text: "Once deleted, you will not be able to recover this!",
                icon: 'warning',
                showCancelButton: true,
                confirmButtonColor: '#3085d6',
                cancelButtonColor: '#d33',
                confirmButtonText: 'Yes, delete it',
                reverseButtons: false
            }).then((result) => {
                if (result.isConfirmed) {
                    form.submit();
                }
            });
        });
    </script>
    <script>
        $(document).ready(function(){
            var notifySettings = {
                allow_dismiss: true,
                delay: 3000,
                placement: {
                    from: "top",
                    align: "right"
                },
                z_index: 99999
            };

            <?php if(session('success')): ?>
                $.notify(
                    {
                        message: "<strong><?php echo e(session('success')); ?></strong>",
                        icon: 'fas fa-check-circle',
                    },
                    $.extend({}, notifySettings, {
                        type: "success",
                        delay: 3000
                    })
                );
            <?php endif; ?>

            <?php if(session('danger')): ?>
                $.notify(
                    {
                        message: "<strong><?php echo e(session('danger')); ?></strong>",
                        icon: 'fas fa-exclamation-circle',
                    },
                    $.extend({}, notifySettings, {
                        type: "danger",
                        delay: 3000
                    })
                );
            <?php endif; ?>

            <?php if(session('error')): ?>
                $.notify(
                    {
                        message: "<strong><?php echo e(session('error')); ?></strong>",
                        icon: 'fas fa-times-circle',
                    },
                    $.extend({}, notifySettings, {
                        type: "danger",
                        delay: 6000
                    })
                );
            <?php endif; ?>

            <?php if($errors->any()): ?>
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    $.notify(
                        {
                            message: "<strong><?php echo e($error); ?></strong>",
                            icon: 'fas fa-exclamation-circle',
                        },
                        $.extend({}, notifySettings, {
                            type: "warning",
                            delay: 6000
                        })
                    );
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
        });
    </script>
<script>
    tinymce.init({ selector: '#default' });
    tinymce.init({ selector: '#dark', toolbar: 'undo redo styleselect bold italic alignleft aligncenter alignright bullist numlist outdent indent code', plugins: 'code' });
</script>
<?php echo $__env->yieldPushContent('script'); ?>
</body>
</html>
<?php /**PATH D:\xampp\htdocs\view-trip-update\resources\views/backend/master.blade.php ENDPATH**/ ?>