<!-- Bootstrap core JavaScript -->
<script src="<?php echo e(asset('assets/js/jquery-3.6.0.min.js')); ?>"></script>
<script src="<?php echo e(asset('backend/assets/libs/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script>

<!-- JQuery UI -->
<script src="<?php echo e(asset('backend/assets/libs/jquery-easing/jquery.easing.min.js')); ?>"></script>
<script src="<?php echo e(asset('backend/assets/libs/jquery-ui/jquery-ui.min.js')); ?>"></script>

<script src="<?php echo e(asset('user/assets/libs/bootstrap-select/bootstrap-select.min.js')); ?>"></script>

<!-- Owl Carousel JavaScript -->
<script src="<?php echo e(asset('backend/assets/libs/owl-carousel/owl.carousel.min.js')); ?>"></script>

<!--Venobox-->
<script src="<?php echo e(asset('backend/assets/libs/venobox/venobox.min.js')); ?>"></script>

<!--Iconify Icon-->
<script src="<?php echo e(asset('backend/assets/js/iconify.min.js')); ?>"></script>

<!-- Plugin JavaScript -->
<script src="<?php echo e(asset('backend/assets/libs/metismenu/metisMenu.min.js')); ?>"></script>
<script src="<?php echo e(asset('backend/assets/libs/simplebar/simplebar.min.js')); ?>"></script>

<!-- Dropzone js -->
<script src="<?php echo e(asset('backend/assets/libs/dropzone/dropzone.js')); ?>"></script>
<script src="<?php echo e(asset('backend/assets/js/pages/form-file-upload.init.js')); ?>"></script>

<script src="<?php echo e(asset('assets/sweetalert2/sweetalert2.all.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/toastr.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/custom/common.js')); ?>"></script>


<script src="<?php echo e(asset('backend/assets/js/moment.js')); ?>"></script>
<script src="<?php echo e(asset('backend/assets/js/dropify.js')); ?>"></script>

<!-- Select2 -->
<script src="<?php echo e(asset('backend/assets/js/select2.min.js')); ?>"></script>

<script>
    "use strict";

    // select2 initial
    $('.select2').select2();

    var currencySymbol = "<?php echo e(getCurrencySymbol()); ?>";
    var currencyPlacement = "<?php echo e(getCurrencyPlacement()); ?>";

    toastr.options = {
        "closeButton": false,
        "debug": false,
        "newestOnTop": false,
        "progressBar": false,
        "positionClass": "toast-bottom-right",
        "preventDuplicates": false,
        "onclick": null,
        "showDuration": "300",
        "hideDuration": "1000",
        "timeOut": "5000",
        "extendedTimeOut": "1000",
        "showEasing": "swing",
        "hideEasing": "linear",
        "showMethod": "fadeIn",
        "hideMethod": "fadeOut"
    };
    <?php if(Session::has('success')): ?>
        toastr.success("<?php echo e(session('success')); ?>");
    <?php endif; ?>
    <?php if(Session::has('error')): ?>
        toastr.error("<?php echo e(session('error')); ?>");
    <?php endif; ?>
    <?php if(Session::has('info')): ?>
        toastr.info("<?php echo e(session('info')); ?>");
    <?php endif; ?>
    <?php if(Session::has('warning')): ?>
        toastr.warning("<?php echo e(session('warning')); ?>");
    <?php endif; ?>

    <?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; ?>

    $.ajaxSetup({
        headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
        }
    });
</script>
<?php /**PATH /Users/masumbd/project/ZaiwriteAI/resources/views/admin/layouts/script.blade.php ENDPATH**/ ?>