1jQuery(document).ready(function($) { 2// Css lazyload 3$('#font-awesome-css').attr('rel', 'stylesheet') 4// Header message height 5$(window).on("load resize",function(){var e=$(".header-target-message").outerHeight(!0),t=$(".header-title").outerHeight(!0),h=$(".header-sub-title").height(),r=$(".header-btn").outerHeight(!0);$(".header-message").css("height",e+t+h+r+"px")}); 6// Loading animation 7$('.loading-wrapper').fadeOut(2500); 8$('.loading-wrapper-section').fadeOut(2500); 9// Image sliders 10var slider=$("#bxslider");slider.bxSlider({randomStart: true,mode:slider.data("animation"),speed:slider.data("speed"),pager:slider.data("pager"),controls:slider.data("controls"),useCSS:!1,auto:slider.data("auto"),infiniteLoop:!0,onSlideAfter:function(){slider.startAuto()}}); 11// Text sliders 12var textSlider=$("#flexslider");textSlider.flexslider({selector:"#slides li",animation:textSlider.data("animation"),slideshowSpeed:textSlider.data("speed"),animationSpeed:700,slideshow:textSlider.data("slideshow"),pauseOnAction:!1,keyboardNav:!0,controlNav:!1,directionNav:!1}); 13// Featured list slider 14$("#featured-slider").slick({slidesToShow:3,slidesToScroll:1,autoplay:true,cssEase:"ease",speed:500,autoplaySpeed:6000,responsive:[{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,arrows:true}}]}); 15// Page box 16$('.pagebox-list').mosaic({animation:'slide',speed:50}); 17// Match height 18$('.archive-list,.user-profile,.box-list').matchHeight(); 19// Breadcrumb 20$("#breadcrumb").rcrumbs(); 21// Modal menu #link 22var o=$("[data-remodal-id=modal-global-nav]").remodal();$(document).on("click",".modal-menu a",function(){return o.open(),!1}),$(document).on("click",".exit-remodal a",function(){o.close()}); 23// Toggle focus on tablets 24$('.menu-item-has-children > a').on('touchstart', function(e){var el = $(this).parent('li');if (!el.hasClass('focus')){e.preventDefault();el.toggleClass('focus');el.siblings('.focus').removeClass('focus');}}); 25//.éé 26$('.toggle-trigger').click(function() {$(this).toggleClass("clicked");$(this).next('.toggle-slide').slideToggle(200);}); 27// Nav fixed 28$(window).scroll(function(){var nav=$(".scroll-nav");$(window).scrollTop()>200?nav.addClass("nav-fixed"):nav.removeClass("nav-fixed")}); 29//header-cta-scroll fixed 30$(window).scroll(function(){var nav=$(".lp-header-cta-scroll");$(window).scrollTop()>80?nav.addClass("nav-fixed"):nav.removeClass("nav-fixed")}); 31// Top scroll 32$(window).scroll(function(){$(this).scrollTop()>300?$(".pagetop").fadeIn():$(".pagetop").fadeOut()}),$(".pagetop").click(function(){return $("html,body").animate({scrollTop:0},800),!1}); 33// Side fixed 34if ( $('.side-widget-fixed').length ){$(".side-widget-fixed").fitSidebar({wrapper:".container",responsiveWidth:993}); 35$(window).load(function() {var widget=$(".side-widget-fixed");var widgetTop=widget.offset();$(window).scroll(function () {if($(window).scrollTop() > widgetTop.top) {widget .addClass("widget-fixed"); 36} else {widget .removeClass("widget-fixed");}});});} 37// Testimonial slider 38$("#slider-for").slick({slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,asNavFor:"#slider-nav"}),$("#slider-nav").slick({slidesToShow:1,slidesToScroll:1,asNavFor:"#slider-for",arrows:!1,speed:150,dots:!0,centerMode:!0,focusOnSelect:!0}); 39// Cta popup fade 40$(window).on("scroll",function(){var o=$(document).height(),n=$(window).height()+$(window).scrollTop();0.05>=(o-n)/o&&$("#cta-popup-fade").removeClass("display-none")}); 41// Share mobile margin 42$(window).on("load resize",function(){var o=$(window).width(),i=768,n=$(".share-mobile").innerHeight();i>o?$(".footer").css("margin-bottom",n):$(".footer").css("margin-bottom","0")}); 43// Cta popup click margin 44$("#cta-popup-btn").on("click",function(){$(".cta-popup").hasClass("popup-max")?($(".cta-
44popup-icon").removeClass("fa-times").addClass("fa-chevron-up"),$(".cta-popup").removeClass("popup-max").addClass("popup-min")):($(".cta-popup-icon").removeClass("fa-chevron-up").addClass("fa-times"),$(".cta-popup").removeClass("popup-min").addClass("popup-max"))}); 45// Mobile cta margin 46$(window).on("load resize",function(){var o=$(window).width(),i=768,n=$(".lp-mobile-cta").innerHeight();i>o?$(".footer").css("margin-bottom",n):$(".footer").css("margin-bottom","0")}); 47// Video section height 48$(window).on("load resize",function(){h=$(window).height(),$(".video-section").css("height",h+"px")}); 49// Modal global nav lp 50var inst=$("[data-remodal-id=modal-global-nav-lp]").remodal();$(".exit-remodal a").on("click",function(){return inst.close(),!1}); 51// End jQuery 52});
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.