PageSourceSearch

https://www.kirche-aulendorf.de/_assets/4ce5648499b52c3df9d0e51bd2…/JavaScript/smooth_scroll.min.js?1790137521

js kirche-aulendorf.de collected 2026-10-09 01:47:11 UTC 1,760 bytes, 1 lines download raw bytes

1function scrollToDiv(){let e=document.querySelectorAll(".anchor_links a");for(let t=0;t<e.length;t++)e[t].addEventListener("click",(function(e){let t,o;e.preventDefault();try{t=document.querySelector("header.fixed-header"),o=t.classList.contains("is--fixed")?t.offsetHeight:t.offsetHeight+document.querySelector(".top-toolbar").offsetHeight+document.querySelector(".main-navigation-toolbar").offsetHeight}catch(e){o=0}let l=e.target.getAttribute("data-anchor"),n=document.getElementById(l);const r=n.getBoundingClientRect().top+window.scrollY-o;if(r>0)e.preventDefault(),window.scroll({top:r,left:0,behavior:"smooth"});else{let t=n.closest('[class*="element-container"]');null===t&&(t=n.closest('[class*="element-multiteaser"]'));const l=t.getBoundingClientRect().top+window.scrollY-o;l>0&&(e.preventDefault(),window.scroll({top:l,left:0,behavior:"smooth"}))}}))}function scrollToAnchor(){let e=document.querySelectorAll(".to-anchor");for(let t=0;t<e.length;t++)e[t].onclick=e=>{let t=e.target.getAttribute("data-anchor"),o=document.getElementById(t);
1e.preventDefault(),window.scroll({top:o.offsetTop+-140,left:0,behavior:"smooth"})}}function scrollToJumpLabel(){const e=document.getElementById(urlArray[1]);let t=e.offsetTop,o=e.getBoundingClientRect().top+document.documentElement.scrollTop;t!==o&&(t=Math.max(t,o));let l=0;const n=document.querySelector("header.fixed-header");n&&(l=n.offsetHeight);(t-l>600&&l>0||0===l)&&window.scroll({top:t-l,left:0,behavior:"smooth"})}scrollToDiv(),scrollToAnchor();const url=window.location.href,urlArray=url.split("#");urlArray[1]&&document.getElementById(urlArray[1])&&document.addEventListener("DOMContentLoaded",(function(){let e=0,t=setInterval((function(){scrollToJumpLabel(),e++,e>2&&clearInterval(t)}),300)}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.