PageSourceSearch

https://www.arnoldventures.org/dist/assets/rollover-b63d383c.js

js arnoldventures.org collected 2026-10-01 09:04:24 UTC 1,326 bytes, 1 lines download raw bytes

1import{d as m}from"./debounce-cbba491c.js";const u=window.matchMedia("(min-width: 960px)");function f(){document.querySelectorAll(".js-home-work-rollover").forEach(o=>{const e=o.querySelector(".rollover__list"),l=o.querySelectorAll(".rollover__item-poster"),s=o.querySelectorAll(".rollover__item-text");if(!e||l.length<=0||s.length<=0)return;const i=()=>{if(!u.matches){e.style.minHeight="";return}e.style.minHeight="0px";const a=Math.ceil(e.scrollHeight),n=Math.max(...Array.from(s).map(c=>Math.ceil(c.scrollHeight))),r=Math.max(...Array.from(l).map(c=>Math.ceil(c.getBoundingClientRect().width))),h=Math.ceil(r*.75);e.style.minHeight=`${Math.max(a,n,h)}px`},t=()=>{window.requestAnimationFrame(i)};t(),window.addEventListener("load",t),window.addEventListener("resize",m(t,100)),document.fonts&&document.fonts.ready&&document.fonts.ready.then(t)})}function y(){f(),document.querySelectorAll(".js-rollover").forEach(o=>{const e=o.querySelectorAll(".js-rollover-tab"),l=o.querySelectorAll(".js-rollover-panel");e.forEach(s=>{s.addEventListener("click",i=>{const t=i.target,a=t.getAttribute("aria-controls");e.forEach(r=>r.setAttribute("aria-selected","false")),t.setAttribute("aria-selected","true"),l.forEach(r=>{r.style.display="none"});const n=document.getElementById(a);n&&(n.style.display="")})})})}export{y as default};

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.