(function(a){"use strict";a('a.js-scroll-trigger[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var s=a(this.hash);if(s=s.length?s:a("[name="+this.hash.slice(1)+"]"),s.length)return a("html, body").animate({scrollTop:s.offset().top-48},1e3,"easeInOutExpo"),!1}}),a(".js-scroll-trigger").click(function(){a(".navbar-collapse").collapse("hide")}),a("body").scrollspy({target:"#mainNav",offset:54});var s=function(){a("#mainNav").offset().top>100?a("#mainNav").addClass("navbar-shrink"):a("#mainNav").removeClass("navbar-shrink")};s(),a(window).scroll(s)})(jQuery),$(function(){$(window).scroll(function(){$(this).scrollTop()>50&&$(".navbar-brand img").attr("src","assets/img/logo-white.png"),$(this).scrollTop()<50&&$(".navbar-brand img").attr("src","assets/img/logo-black.png")})});