!function(){"use strict";function n(n){var e,i,a=document.getElementById(n.replace(/^#/,""));a&&(i=a.getBoundingClientRect(),e=i.top+window.pageYOffset,setTimeout(function(){window.scrollTo(0,e-o)},t))}var t=5,o=50;window.addEventListener("load",function(){var t=window.location.hash;t&&"#"!==t&&n(t),window.addEventListener("hashchange",function(){n(window.location.hash)})})}();