PageSourceSearch

https://www.kings.edu/_files/js/scrollEffects.js

js kings.edu collected 2026-09-24 17:52:08 UTC 1,716 bytes, 4 lines download raw bytes

1/*
2  @preserve
3  Don't mess with this file -- it's automatically generated.
4*/const setUpScrollEffects=()=>{const{IntersectionObserver:a}=window;if(!a)return;const b=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(b)return;const c=document.querySelectorAll("[data-fade-me]"),d=document.querySelectorAll("[data-shift-me-up]"),e=a=>{const{top:b,bottom:c,left:d,right:e}=a.getBoundingClientRect();return 0<=c&&0<=e&&b<=(window.innerHeight||document.documentElement.clientHeight)&&d<=(window.innerWidth||document.documentElement.clientWidth)},f=a=>{const b=a.style.transition;a.addEventListener("transitionend",({target:c,currentTarget:d})=>{c===d&&(a.style.transition=b)},{once:!0})};if(c.length){const b=new a((a,b)=>{a.forEach(a=>a.target instanceof HTMLElement?a.isIntersecting||e(a.target)?("0"===a.target.style.opacity&&(f(a.target),a.target.style.transition="opacity 1000ms",a.target.style.opacity="1"),void b.unobserve(a.target)):void("0"!==a.target.style.opacity&&(a.target.style.opacity="0",a.target.classList.add("print:!opacity-100"))):void 0)},{rootMargin:"0px 0px -200px 0px"});c.forEach(a=>b.observe(a)),window.IS_STORYBOOK&&window.observers&&window.observers.add(b)}if(d.length){const b=new a((a,b)=>{a.forEach(a=>a.target instanceof HTMLElement?a.isIntersecting||e(a.target)?("0"!==a.target.style.top&&(f(a.target),a.target.style.transition="top 1000ms",a.target.style.top="0"),void b.unobserve(a.target)):void("50px"!==a.target.style.top&&(a.target.style.top="50px",a.target.classList.add("print:!top-0"))):void 0)},{rootMargin:"0px 0px 0px 0px"});d.forEach(a=>b.observe(a)),window.IS_STORYBOOK&&window.observers&&window.observers.add(b)}};window.IS_STORYBOOK||setUpScrollEffects();

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.