https://agence-anode.fr/wp-content/plugins/nextbricks/elements/js/bc_scroll_reading.min.js?ver=2.3.5
1function scroll_reading(){document.querySelectorAll(".bc-scroll-reading__element").forEach((e)=>{e.classList.remove("bc-scroll-reading__to-hide");let r=e.getAttribute("data-start"),t=parseFloat(e.getAttribute("data-duration")),l=e.getAttribute("data-end"),i=e.getAttribute("data-type"),readingType=e.getAttribute("data-reading-type")||"fill",fadeOp=parseFloat(e.getAttribute("data-fade-opacity")),a=[];if(isNaN(fadeOp))fadeOp=0.2;function s(){void e.offsetHeight;requestAnimationFrame(()=>{let r=new SplitText(e,{type:"lines, words, chars",linesClass:"line",wordsClass:"word",charsClass:"char",});(lines=r.lines),(words=r.words),(chars=r.chars),a.push(r);if(readingType==="fade"){fadeSplit(i,lines,words,chars)}else{"lines"==i?lines.forEach((e)=>{let r=document.createElement("div");(r.className="bc-scroll-reading__line-mask"),e.appendChild(r)}):"words"==i?words.forEach((e)=>{let r=document.createElement("div");(r.className="bc-scroll-reading__line-mask"),e.appendChild(r)}):"chars"==i&&chars.forEach((e)=>{let r=document.createElement("div");(r.className="bc-scroll-reading__line-mask"),e.appendChild(r)})}c()})}(scroller=e.getAttribute("data-scroller"));let n=window.innerWidth;function fadeSplit(type,lines,words,chars){var targets="lines"==type?lines:"words"==type?words:"chars"==type?chars:words;targets.forEach((el)=>{gsap.set(el,{opacity:fadeOp})})}function c(){if(readingType==="fade"){var targets="lines"==i?lines:"words"==i?words:"chars"==i?chars:words;gsap.to(targets,{opacity:1,stagger:0.1,scrollTrigger:{trigger:e,start:r,end:l,scrub:t,scroller:scroller}})}else{"lines"==i?lines.forEach((e)=>{gsap.timeline({scrollTrigger:{trigger:e,start:r,end:l,scrub:t,scroller:scroller},}).to(e.querySelector(".bc-scroll-reading__line-mask"),{width:"0%",duration:1})}):"words"==i?words.forEach((e)=>{gsap.timeline({scrollTrigger:{trigger:e,start:r,end:l,scrub:t,scroller:scroller},}).to(e.querySelector(".bc-scroll-reading__line-mask"),{width:"0%",duration:1})}):"chars"==i&&chars.forEach((e)=>{gsap.timeline({scrollTrigger:{trigger:e,start:r,end:l,scrub:t,scroller:scroller},}).to(e.querySelector(".bc-scroll-reading__line-mask"),{width:"0%",duration:1})})}} 2window.addEventListener("resize",()=>{n!==window.innerWidth&&((n=window.innerWidth),a.forEach((e)=>{e.revert()}),s())}),gsap.registerPlugin(ScrollTrigger),s()})} 3document.addEventListener("DOMContentLoaded",()=>{document.fonts.ready.then(function(){if(bricksIsFrontend){setTimeout(()=>{scroll_reading()},50)}})})
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.