<script src="<?php echo e(asset('assets/frontend/js/jquery-3.6.0.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/js/bootstrap.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/js/viewport.jquery.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/js/odometer.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/js/lightbox.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/js/owl.min.js')); ?>"></script>
<script src="<?php echo e(asset('assets/frontend/js/main.js')); ?>"></script>
<script src="<?php echo e(asset('assets/dashboard/js/notiflix-aio-2.7.0.min.js')); ?>"></script>

<?php if($basicControl->analytic_status): ?>
	<script async src="https://www.googletagmanager.com/gtag/js?id=<?php echo e($basicControl->MEASUREMENT_ID); ?>"></script>
	<script>
		$(document).ready(function () {
			var MEASUREMENT_ID = "<?php echo e($basicControl->MEASUREMENT_ID); ?>";
			window.dataLayer = window.dataLayer || [];

			function gtag() {
				dataLayer.push(arguments);
			}

			gtag('js', new Date());
			gtag('config', MEASUREMENT_ID);
		});
	</script>
<?php endif; ?>

<?php if($basicControl->tawk_status): ?>
	<script type="text/javascript">
		$(document).ready(function () {
			var Tawk_SRC = 'https://embed.tawk.to/' + "<?php echo e(trim($basicControl->tawk_id)); ?>";
			var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
			(function () {
				var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
				s1.async = true;
				s1.src = Tawk_SRC;
				s1.charset = 'UTF-8';
				s1.setAttribute('crossorigin', '*');
				s0.parentNode.insertBefore(s1, s0);
			})();
		});
	</script>



<?php endif; ?>

<?php if($basicControl->fb_messenger_status): ?>
	<div id="fb-root"></div>
	<script>
		$(document).ready(function () {
			var fb_app_id = "<?php echo e($basicControl->fb_app_id); ?>";
			window.fbAsyncInit = function () {
				FB.init({
					appId: fb_app_id,
					autoLogAppEvents: true,
					xfbml: true,
					version: 'v10.0'
				});
			};
			(function (d, s, id) {
				var js, fjs = d.getElementsByTagName(s)[0];
				if (d.getElementById(id)) return;
				js = d.createElement(s);
				js.id = id;
				js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
				fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));
		});
	</script>
	<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script>
	<div class="fb-customerchat" page_id="<?php echo e($basicControl->fb_page_id); ?>"></div>
<?php endif; ?>

<script defer>
	$('.selectLanguage').change(function () {
		location.href = $(this).val();
	});
</script>


<script>
	"use strict";
	var root = document.querySelector(':root');
	root.style.setProperty('--base-clr', '<?php echo e($basic->primaryColor??'#f05822'); ?>');
	root.style.setProperty('--base-bg', 'linear-gradient(170.04deg, <?php echo e($basic->primaryColor??'#f05822'); ?> -8.91%, <?php echo e($basic->secondaryColor??'#f0aa22'); ?> 99.52%)');


</script>

<?php echo $__env->yieldPushContent('extra_scripts'); ?>
<?php /**PATH E:\xamp\htdocs\pay_secure_update\resources\views/frontend/layouts/scripts.blade.php ENDPATH**/ ?>