<!doctype html>
<html lang="<?php echo e(config('app.locale')); ?>" itemscope itemtype="http://schema.org/WebPage">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title> <?php echo e(gs()->siteName(__($pageTitle))); ?></title>
    <?php echo $__env->make('partials.seo', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/bootstrap.min.css')); ?>">

    <link href="<?php echo e(asset('assets/global/css/all.min.css')); ?>" rel="stylesheet">

    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/line-awesome.min.css')); ?>">

    <!-- Quill -->
    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/quill.snow.css')); ?>">

    <link rel="stylesheet" href="<?php echo e(asset('assets/global/css/select2.min.css')); ?>">

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

    <link rel="stylesheet" href="<?php echo e(asset($activeTemplateTrue . 'css/custom.css')); ?>">
    <?php echo $__env->yieldPushContent('style-lib'); ?>
    <?php echo $__env->yieldPushContent('style'); ?>
    <link rel="stylesheet" href="<?php echo e(asset($activeTemplateTrue . 'css/color.php')); ?>?color=<?php echo e(gs('base_color')); ?>">
</head>

<body>

    <div class="preloader">
        <div class="loader-p"></div>
    </div>
    <!--==================== Preloader End ====================-->
    <!--==================== Overlay Start ====================-->
    <div class="body-overlay"></div>
    <!--==================== Overlay End ====================-->

    <!--==================== Sidebar Overlay End ====================-->
    <div class="sidebar-overlay"></div>
    <!--==================== Sidebar Overlay End ====================-->

    <!-- ==================== Scroll to Top End Here ==================== -->
    <a class="scroll-top"><i class="fas fa-angle-up"></i></a>
    <!-- ==================== Scroll to Top End Here ==================== -->

    <?php echo $__env->yieldContent('panel'); ?>

    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="<?php echo e(asset('assets/global/js/jquery-3.7.1.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/global/js/bootstrap.bundle.min.js')); ?>"></script>
    <!-- Quill -->
    <script src="<?php echo e(asset('assets/global/js/quill.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/global/js/select2.min.js')); ?>"></script>

    <script src="<?php echo e(asset($activeTemplateTrue . 'js/main.js')); ?>"></script>

    <?php echo $__env->yieldPushContent('script-lib'); ?>

    <?php echo loadExtension('tawk-chat') ?>

    <?php echo $__env->make('partials.notify', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <?php echo $__env->yieldPushContent('script'); ?>

    <script>
        (function($) {
            "use strict";
            $(".langSel").on("change", function() {
                window.location.href = "<?php echo e(route('home')); ?>/change/" + $(this).val();
            });

            var inputElements = $('[type=text],[type=password],[type=checkbox],select,textarea');
            $.each(inputElements, function(index, element) {
                element = $(element);
                element.closest('.form-group').find('label').attr('for', element.attr('name'));
                element.attr('id', element.attr('name'))
            });

            $.each($('input, select, textarea'), function(i, element) {
                var elementType = $(element);
                if (elementType.attr('type') != 'checkbox') {
                    if (element.hasAttribute('required')) {
                        $(element).closest('.form-group').find('label').addClass('required');
                    }
                }
            });

            $('.imageInput').on('change', function(e) {
                const file = e.target.files[0];
                const $container = $(this).closest('.imageUploader');

                if (file) {
                    const reader = new FileReader();
                    reader.onload = function(evt) {
                        $container.find('.imagePreview').attr('src', evt.target.result);
                    };
                    reader.readAsDataURL(file);
                }
            });

            let disableSubmission = false;
            $('.disableSubmission').on('submit', function(e) {
                if (disableSubmission) {
                    e.preventDefault()
                } else {
                    disableSubmission = true;
                }
            });

            $('.toggle-password').on('click', function() {
                $(this).toggleClass('fa-eye');
                var input = $($(this).attr('id'));
                if (input.attr('type') == 'password') {
                    input.attr('type', 'text');
                } else {
                    input.attr('type', 'password');
                }
            });

            $('.bg-img').css('background-image', function() {
                return `url(${$(this).data('background-image')})`;
            });

            $(window).on('load', function() {
                $('.preloader').fadeOut();
            });

            $('.statusName').each(function() {
                const jsonString = $(this).attr('data-hsl_color');
                try {
                    const hsl = JSON.parse(jsonString);
                    const hslString = `${hsl.h} ${hsl.s}% ${hsl.l}%`;
                    $(this).css('--badge-color', hslString);
                } catch (e) {
                    console.error('Invalid HSL data:', jsonString);
                }
            });

            $('.priorityName').each(function() {
                const jsonString = $(this).attr('data-hsl_color');
                try {
                    const hsl = JSON.parse(jsonString);
                    const hslString = `${hsl.h} ${hsl.s}% ${hsl.l}%`;
                    $(this).find('.animated-circle').css('--circle-color', hslString);
                    $(this).css('--circle-color', hslString);
                } catch (e) {
                    console.error('Invalid HSL data:', jsonString);
                }
            });

        })(jQuery);
    </script>

</body>

</html>
<?php /**PATH C:\laragon\www\projects\custom_viserdesk\Files\core\resources\views/templates/basic/layouts/app.blade.php ENDPATH**/ ?>