PageSourceSearch

https://broadgate.co.uk/wp-content/themes/blackbird-core/src/dist/hero-fade-in-DGoE4X7q.js

js broadgate.co.uk collected 2026-10-01 12:19:35 UTC 1,085 bytes, 1 lines download raw bytes

1import{g as e,i as u,b as d}from"./script-CaOlpxEq.js";function m(o=!0){const n=document.querySelectorAll(".hero__bg"),c=o?.5:0,i=o?2:.8;e.set(n,{x:60,scale:1.1,opacity:o?0:1}),o&&e.fromTo(n,{opacity:0},{opacity:1,duration:1,ease:"power3.inOut"}),e.fromTo(n,{x:o?60:0,scale:1.1},{x:0,scale:1,duration:1.5,delay:c,ease:"power3.inOut"});const a=document.querySelectorAll(".hero__inner, .hero__cards, .hero__news");a.length&&(e.set(a,{opacity:0}),e.fromTo(a,{opacity:0},{opacity:1,duration:1,delay:i}));const s=document.querySelector(".main");if(s){const r=document.body.classList.contains("post-type-archive")||document.body.classList.contains("archive");e.fromTo(s,{backgroundColor:"var(--brand-4)"},{backgroundColor:r?"var(--white)":"var(--brand-2)",duration:1,ease:"power3.inOut",delay:i-1})}const t=document.querySelector(".hero");if(t){const r=t.classList.contains("hero--short"),h=t.classList.contains("hero--listing");if(r||h){const l=u.w>d.large?r?"85vh":"80vh":"75vh";e.fromTo(t,{height:"100vh"},{height:l,duration:1.5,delay:i-1,ease:"power3.inOut"})}}}export{m as heroFadeIn};

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.