"use strict";!function(n,t){var e;n(t),e=n(document),n(".js-sectionscroll").length&&e.on("click",".js-sectionscroll",function(t){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var e=n(this.hash);(e=e.length?e:n("[name="+this.hash.slice(1)+"]")).length&&(t.preventDefault(),n("html, body").animate({scrollTop:e.offset().top},400,function(){var t=n(e);if(t.focus(),t.is(":focus"))return!1;t.attr("tabindex","-1"),t.focus()}))}})}(jQuery,window);