1import{g as t,S as r}from"./ScrollTrigger.C8IefbVz.js";import{i as v}from"./lhm-blend-shift.55qURWHb.js";t.registerPlugin(r);function x(h={}){const{start:i="top 50%",duration:u=1,markers:s=!1}=h,e=document.querySelector(".expanding-takeover"),a=e?.querySelector(".takeover-content"),n=document.querySelector(".takeover-spacer");if(!e||!a||!n){console.warn("ExpandingTakeover: container or content not found");return}e.classList.remove("is-expanded"),e.setAttribute("aria-expanded","false"),t.set(e,{height:0}),n.style.height="0px";const p=window.matchMedia("(prefers-reduced-motion: reduce)").matches;let c=!1,o=!1;const d=Math.max(0,u),f=()=>{if(o)return;o=!0;const m=(a.scrollHeight||a.offsetHeight||0)+64;if(e.classList.add("is-expanded"),e.setAttribute("aria-expanded","true"),!c){c=!0;try{e.scrollIntoView({behavior:p?"auto":"smooth",block:"start"})}catch{}}t.set(e,{height:0}),t.to(e,{height:m,duration:d,ease:"power1.inOut",onComplete:()=>r.refresh()})},g=()=>{o&&(o=!1,e.classList.remove("is-expanded"),e.setAttribute("aria-expanded","false"),n.style.height="0px",t.to(e,{height:0,duration:d,ease:"power1.inOut",onComplete:()=>{requestAnimationFrame(()=>r.refresh())}}))};r.create({id:"expanding-takeover-expand",trigger:e,start:i,onEnter:f,onLeaveBack:()=>g(),markers:s,invalidateOnRefresh:!0});const l=document.querySelector(".homepage-takeover");l&&(r.getById("homepage-takeover-shift")?.kill(),t.fromTo(l,{yPercent:0},{yPercent:15,ease:"none",scrollTrigger:{id:"homepage-takeover-shift",trigger:e,start:i,end:"+=100%",scrub:!0,markers:s,invalidateOnRefresh:!0}})),r.refresh()}typeof window<"u"&&(v(),x({start:"top 50%",duration:1}));
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.