1jQuery(document).ready(function($) { 2 'use strict'; 3 4 // Search Block Start 5 6 $('.desktop-search-button').on('click', function(){ 7 'use strict'; 8 $('.space-header-search-block').addClass('active'); 9 setTimeout( function() { 10 'use strict'; 11 $('.space-header-search-block input').focus(); 12 }, 500 ); 13 }); 14 15 $('.desktop-search-close-button').on('click', function(){ 16 'use strict'; 17 $('.space-header-search-block').removeClass('active'); 18 }); 19 20 // Search Block End 21 22 // Mobile Menu Open Start 23 24 $('.space-mobile-menu-icon').on('click', function(){ 25 'use strict'; 26 $('.space-mobile-menu').addClass('active'); 27 }); 28 29 $('.space-mobile-menu-close-button').on('click', function(){ 30 'use strict'; 31 $('.space-mobile-menu').removeClass('active'); 32 }); 33 34 // Mobile Menu Open End 35 36 // Mobile Children Start 37 38 $(".menu-item-has-children a").on('click', function(event){ 39 'use strict'; 40 event.stopPropagation(); 41 location.href = this.href; 42 }); 43 44 $(".menu-item-has-children").on('click', function(){ 45 'use strict'; 46 $(this).addClass("toggled"); 47 if($(".menu-item-has-children").hasClass("toggled")) 48 { 49 $(this).children("ul").toggle(); 50 } 51 $(this).toggleClass("space-up"); 52 return false; 53 }); 54 55 // Mobile Children End 56 57 // Owl Carousel Start 58 59 $('.space-news-8-items').owlCarousel({ 60 animateOut: 'fadeOut', 61 animateIn: 'fadeIn', 62 loop: true, 63 margin: 0, 64 nav: true, 65 dots: false, 66 autoHeight: false, 67 navText: ['<i class="fas fa-chevron-left"></i>','<i class="fas fa-chevron-right"></i>'], 68 responsive: { 69 0:{ 70 items: 1 71 }, 72 600:{ 73 items: 1 74 }, 75 1000:{ 76 items: 1 77 } 78 } 79 }); 80 81 $('.space-news-9-items').owlCarousel({ 82 animateOut: 'fadeOut', 83 animateIn: 'fadeIn', 84 loop: true, 85 margin: 0, 86 nav: true, 87 dots: false, 88 autoHeight: true, 89 navText: ['<i class="fas fa-chevron-left"></i>','<i class="fas fa-chevron-right"></i>'], 90 responsive: { 91 0:{ 92 items: 1 93 }, 94 600:{ 95 items: 1 96 }, 97 1000:{ 98 items: 1 99 } 100 } 101 }); 102 103 // Owl Carousel End 104 105 // Scroll To Top Start 106 107 if ($('#scrolltop').length) { 108 109 var scrollTrigger = 100, // px 110 111 backToTop = function () { 112 'use strict'; 113 var scrollTop = $(window).scrollTop(); 114 if (scrollTop > scrollTrigger) { 115 $('#scrolltop').addClass('show'); 116 } else { 117 $('#scrolltop').removeClass('show'); 118 } 119 }; 120 121 backToTop(); 122 123 $(window).on('scroll', function () { 124 'use strict'; 125 backToTop(); 126 }); 127 128 $('#scrolltop').on('click', function (e) { 129 'use strict'; 130 e.preventDefault(); 131 $('html,body').animate({ 132 scrollTop: 0 133 }, 1000); 134 }); 135 136 } 137 138 // Scroll To Top End 139 140});
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.