<link rel="stylesheet" href="<?php echo e(asset('assets/adminlte/plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('assets/adminlte/plugins/toastr/toastr.min.css')); ?>">
<script src="<?php echo e(asset('assets/adminlte/plugins/jquery/jquery.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/adminlte/plugins/sweetalert2/sweetalert2.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/adminlte/plugins/toastr/toastr.min.js')); ?>"></script>

<?php
    $flashTypes = [
        'success' => 'success',
        'info' => 'info',
        'error' => 'error',
    ];
?>

<?php $__currentLoopData = $flashTypes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $type => $toastrType): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if(Session::get($type, false)): ?>
        <?php $data = Session::get($type); ?>

        <?php if(is_array($data)): ?>
            <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $msg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="alert alert-<?php echo e($type); ?>" role="alert">
                    <i class="fa fa-<?php echo e($type == 'error' ? 'times' : 'check'); ?>"></i>
                    <?php echo e($msg); ?>

                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php else: ?>
            <script>
                $(function () {
                    toastr.<?php echo e($toastrType); ?>('<?php echo e($data); ?>');
                });
            </script>
        <?php endif; ?>
    <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH D:\LSM\resources\views/layouts/partials/messages.blade.php ENDPATH**/ ?>