1(function ($) { 2 $(document).ready(function () { 3 // code goes here 4 var swiper = new Swiper('.home-slider', { 5 spaceBetween: 0, 6 centeredSlides: true, 7 loop: true, 8 speed: 2000, 9 autoplay: { 10 delay: 3500, 11 disableOnInteraction: false, 12 }, 13 }); 14 15 var swiper = new Swiper('.about-slider', { 16 spaceBetween: 0, 17 centeredSlides: true, 18 loop: true, 19 speed: 2000, 20 autoplay: { 21 delay: 3500, 22 disableOnInteraction: false, 23 }, 24 navigation: { 25 nextEl: '.swiper-button-next', 26 prevEl: '.swiper-button-prev', 27 }, 28 }); 29 30 $('[data-background]').each(function () { 31 $(this).css({ 32 'background-image': 'url(' + $(this).attr('data-background') + ')', 33 'background-size': 'cover', 34 'background-position': 'center center', 35 'background-repeat': 'no-repeat', 36 }); 37 }); 38 39 var menuitemSelector = '.main-header .main-header-items ul li a'; 40 41 $(document).on('click', menuitemSelector, function () { 42 $(menuitemSelector).removeClass('active'); 43 44 $(this).addClass('active'); 45 }); 46 47 // header sticky start 48 $(window).scroll(function () { 49 var navbar = $('#main-header'); 50 if ($(window).scrollTop() >= 110) { 51 navbar.addClass('sticky'); 52 } else { 53 navbar.removeClass('sticky'); 54 } 55 }); 56 // header sticky ends 57 58 // Mobile menu start 59 $('.main-header .main-header-items').meanmenu(); 60 61 $(document).on('click', '#header-bar', function () { 62 $(this).toggleClass('active'); 63 64 $('#targetElement').slideToggle(600); 65 }); 66 67 // Mobile menu ends 68 69 $('.popup-video').magnificPopup({ 70 disableOn: 700, 71 type: 'iframe', 72 mainClass: 'mfp-fade', 73 removalDelay: 160, 74 preloader: false, 75 76 fixedContentPos: false, 77 }); 78 79 var backtoTop = $('.back-to-top'); 80 backtoTop.hide(); 81 $(window).on('scroll', function () { 82 if ($(this).scrollTop() > 400) { 83 backtoTop.fadeIn(600); 84 } else { 85 backtoTop.fadeOut(600); 86 } 87 }); 88 89 backtoTop.on('click', function () { 90 $('html, body').animate({ scrollTop: 0 }, 800); 91 }); 92 93 // auto year update 94 var d = new Date(); 95 var year = d.getFullYear(); 96 document.getElementById('year').innerHTML = year; 97 // auto year update ends 98 99 // service accordion start 100 $('.accordion').each(function () { 101 const $accordion = $(this); 102 $accordion.find('.accordion-header').click(function () { 103 const $header = $(this); 104 const $content = $header.next('.accordion-content'); 105 const $chevron = $header.find('.chevron'); 106 $content.slideToggle(300); 107 $chevron.toggleClass('open'); 108 $accordion.find('.accordion-content').not($content).slideUp(300); 109 $accordion.find('.chevron').not($chevron).removeClass('open'); 110 }); 111 }); 112 // service accordion ends 113 }); 114})(jQuery); 115 116 117// document.addEventListener('DOMContentLoaded', function () { 118// const checkboxLabel = document.querySelector('.cti_checkbox_inf span.wpcf7-list-item-label'); 119// if (checkboxLabel) { 120// checkboxLabel.innerHTML = 'I have read and agree to the <a href="https://www.iubenda.com/privacy-policy/76760774" class="iubend
120a-nostyle no-brand iubenda-noiframe iubenda-embed iubenda-noiframe" title="Privacy Policy" target="_blank">Privacy Policy</a>.'; 121// } 122// }); 123 124 125 126// document.addEventListener('DOMContentLoaded', function () { 127// const container = document.querySelector('.privacy_cokie_policy'); 128// if (container) { 129// container.innerHTML = ` 130// <ul><li><a href="https://www.iubenda.com/privacy-policy/76760774" 131// class="iubenda-nostyle no-brand iubenda-noiframe iubenda-embed iubenda-noiframe" 132// title="Privacy Policy">Privacy Policy</a></li> 133// <li><a href="https://www.iubenda.com/privacy-policy/76760774/cookie-policy" 134// class="iubenda-nostyle no-brand iubenda-noiframe iubenda-embed iubenda-noiframe" 135// title="Cookie Policy">Cookie Policy</a></li></ul> 136// `; 137 138// // Load iubenda popup script dynamically 139// const iubendaScript = document.createElement('script'); 140// iubendaScript.src = 'https://cdn.iubenda.com/iubenda.js'; 141// iubendaScript.type = 'text/javascript'; 142// document.body.appendChild(iubendaScript); 143// } 144// }); 145 146 147document.addEventListener("DOMContentLoaded", function () { 148 const menu = document.querySelector("ul#menu-main-menu"); 149 if (menu) { 150 const lastLink = menu.querySelector("li#menu-item-187 a"); 151 if (lastLink) { 152 lastLink.setAttribute("target", "_blank"); 153 } 154 } 155});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.