!function($){"use strict";function PagePreloader(){jQuery("body").removeClass("no-js")}jQuery(window).load((function($){for(var animateButton=function(e){e.preventDefault,e.target.classList.remove("animate"),e.target.classList.add("animate"),setTimeout((function(){e.target.classList.remove("animate")}),700)},bubblyButtons=document.getElementsByClassName("bubbly-button"),i=0;ili.opens-right").hover((function(){$(".head-bottom-area .dropdown.menu>li.opens-right>.is-dropdown-submenu>li.is-dropdown-submenu-item").addClass("animated fadeInUp")})),$(".head-bottom-area").on("sticky.zf.stuckto:top",(function(){$(this).addClass(" fadeInDown")})).on("sticky.zf.unstuckfrom:top",(function(){$(this).removeClass(" fadeInDown")})),$(".reveal.reveal-menu").on("open.zf.reveal",(function(){$(this).addClass(" fadeInDown")})).on("closed.zf.reveal",(function(){$(this).removeClass(" fadeInDown")}));var $window=$(window),didScroll,lastScrollTop=20,scrollAmount=10,navbarHeight=$(".mobile-menu .sticky.is-stuck").outerHeight();function hasScrolled(){"use strict";var sup=$(window).scrollTop();Math.abs(lastScrollTop-sup)<=10||(sup>lastScrollTop&&sup>navbarHeight?$(".mobile-menu .sticky.is-stuck").css({top:-$(window).outerHeight()}):sup+$(window).height()<$(document).height()&&$(".mobile-menu .sticky.is-stuck").css({top:0}),lastScrollTop=sup)}$(window).scroll((function(event){didScroll=!0})),setInterval((function(){didScroll&&(hasScrolled(),didScroll=!1)}),250),$(".gallery a[href$='.jpg'], .gallery a[href$='.png'], .gallery a[href$='.jpeg'], .gallery a[href$='.gif']").attr("rel","gallery").fancybox(),jQuery(window).bind("scroll",(function(){jQuery(this).scrollTop()>800?jQuery(".scroll_to_top").fadeIn("slow"):jQuery(".scroll_to_top").fadeOut("fast")})),jQuery(".scroll_to_top").click((function(){return jQuery("html, body").animate({scrollTop:0},"slow"),!1}))})),jQuery(document).ready((function($){var $wrap=$("[open-search]"),$close;$("[close-search]").on("click",(function(){$wrap.toggleClass("open")})),$("#btnStats").click($("#dvStats").css("display","block"))})),function($){"use strict";function slickSliderSetup(){$(".slick-slider").not(".slick-initialized").slick({slidesToShow:1,pauseOnHover:!1,autoplaySpeed:6e3,adaptiveHeight:!1,speed:600,autoplay:!0,prevArrow:'
',nextArrow:'
',responsive:[{breakpoint:1023,settings:{adaptiveHeight:!1,slidesToShow:1,slidesToScroll:1}}]})}$(window).load(slickSliderSetup),$(document).ajaxComplete(slickSliderSetup)}(jQuery);