PageSourceSearch

https://bran-castle.com/cdn/shop/t/14/assets/scroll-utils.js?v=3998315379308013881784820925

js bran-castle.com collected 2026-09-24 18:19:14 UTC 554 bytes, 2 lines download raw bytes

1export function getStickyOffset(){return(parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--sticky-area-height"))||0)+16}export function maxScrollTop(){return Math.max(document.documentElement.scrollHeight-window.innerHeight,0)}export function targetScrollTop(el){return Math.min(Math.max(el.offsetTop-getStickyOffset(),0),maxScrollTop())}export function scrollToElement(el){window.scrollTo({top:targetScrollTop(el),behavior:"smooth"})}
2//# sourceMappingURL=/cdn/shop/t/14/assets/scroll-utils.js.map?v=3998315379308013881784820925

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.