PageSourceSearch

https://jpmichael.fr/wp-content/plugins/greenshift-animation-and-p…/libs/inview/index.js?ver=1.4

js jpmichael.fr collected 2026-09-26 07:21:46 UTC 1,095 bytes, 1 lines download raw bytes

1"use strict";const gspbInviewObserves=document.getElementsByClassName("gspb-inview"),gspbInviewMotionObserves=document.getElementsByClassName("gs-motion-inview"),gspbInviewMotionChildObserves=document.querySelectorAll(".gs-motion-inview-child > *");function GSgreenThrottle(e,n){let t;return function(){let i=arguments;t||(e.apply(this,i),t=!0,setTimeout(()=>t=!1,n))}}function GSgreenIsElementInViewport(e){let n=e.getBoundingClientRect();return n.top<=(window.innerHeight||document.documentElement.clientHeight)&&n.bottom>=0&&n.left<=(window.innerWidth||document.documentElement.clientWidth)&&n.right>=0}function GSgreenHandleScroll(){[...gspbInviewObserves,...gspbInviewMotionObserves,...gspbInviewMotionChildObserves].forEach(e=>{GSgreenIsElementInViewport(e)&&!e.classList.contains("gspb-inview-active")&&setTimeout(()=>{e.classList.add("gspb-inview-active")},10)})}const GSgreenThrottledHandleScroll=GSgreenThrottle(GSgreenHandleScroll,100);GSgreenHandleScroll(),window.addEventListener("scroll",GSgreenThrottledHandleScroll),window.addEventListener("resize",GSgreenThrottledHandleScroll);

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.