PageSourceSearch

https://broekhuis.nl/themes/broekhuis_base/dist/js/hero-taxatie/hero-taxatie.min.js?tluu1t

js broekhuis.nl collected 2026-09-24 12:24:26 UTC 1,291 bytes, 1 lines download raw bytes

1const g=(h,l,c)=>{const i=l.reduce((e,o)=>Math.max(e,o.getBoundingClientRect().width),0);if(i<=0)return 1;const t=Math.floor((h+c)/(i+c));return Math.min(l.length,Math.max(1,t))};(function(h,l){h.behaviors.heroTaxatieUsps={attach:function(c){l("heroTaxatieUsps",".bs-hero-taxatie__usps",c).forEach(i=>{const t=Array.from(i.querySelectorAll(".bs-hero-taxatie__usp"));if(!t.length)return;const e={timer:null,index:0},o=a=>{t.forEach((r,s)=>{const n=a.has(s);r.style.display=n?"":"none",r.classList.toggle("is-active",n),r.classList.remove("is-exiting")})},w=()=>{e.timer!==null&&(window.clearInterval(e.timer),e.timer=null)},u=()=>{if(w(),o(new Set(t.map((n,d)=>d))),i.scrollWidth<=i.clientWidth)return;const a=window.getComputedStyle(i),r=i.clientWidth-(parseFloat(a.paddingLeft)||0)-(parseFloat(a.paddingRight)||0),s=g(r,t,parseFloat(a.columnGap)||0);e.index=s%t.length,o(new Set(Array.from({length:s},(n,d)=>d))),!(t.length<=s)&&(e.timer=window.setInterval(()=>{t.forEach(n=>{n.classList.contains("is-active")&&(n.classList.remove("is-active"),n.classList.add("is-exiting"))}),window.setTimeout(()=>{const n=new Set(Array.from({length:s},(d,f)=>(e.index+f)%t.length));o(n),e.index=(e.index+s)%t.length},250)},5e3))};u(),window.addEventListener("resize",u)})}}})(window.Drupal,window.once);

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.