"use strict";!function(o,t){var e;o(t),e=o(document),o(".js-sectionscroll").length&&e.on("click",".js-sectionscroll",function(t){t.preventDefault();var e=o(t.currentTarget).attr("href");e=e.substr(e.indexOf("#"));var r=o(e);if(r.length)var n=Math.round(r.offset().top)-0;else n=0;o("html, body").animate({scrollTop:n},500)})}(jQuery,window);