1import{D as e,On as t,Zn as n,_ as r,b as i,bt as a,g as o,k as s,mt as c,o as l,qt as u,v as d,y as f}from"./DPmoNEl9.js";import{t as p}from"./BDNMzG2s.js";import{t as m}from"./JWLXofi2.js";import{t as h}from"./Dui8UZWu.js";import{t as g}from"./Cj75pSUR.js";import{t as _}from"./dN_L9_AB.js";var v=Object.assign(p(s({__name:`HeroLaunchers`,props:{small:{type:Boolean},slides:{}},setup(s){let p=s,v=o(()=>p.slides.length===1&&p.slides[0]?.media.length===0);return(o,p)=>{let y=m,b=h,x=g,S=_;return c(),d(S,{class:n([`heroLaunchers`,{compact:t(v)}])},{default:u(()=>[(c(!0),i(l,null,a(s.slides,(t,n)=>(c(),i(`figure`,{key:t.id,class:`size-full relative`},[t?.media?.length>0?(c(),d(y,{key:0,class:`media size-full object-cover`,alt:t?.heading||t?.title||t?.subtitle,"img-props":{sizes:`600px lg:100vw`,preload:{fetchPriority:!s.small&&n===0?`high`:`auto`},loading:!s.small&&n===0?`eager`:`lazy`},"video-props":{autoplay:!0,muted:!0,controls:!1,loop:!0},media:t?.media?.[0]||null},null,8,[`alt`,`img-props`,`media`])):f(``,!0),e(b,{small:s.small,as:`figcaption`,"title-as":`h1`,title:t?.heading||t?.title,subtitle:t?.subtitle,"average-color":t?.media?.[0]?.averageColor,class:`container text-center flex flex-col items-center inset-0 justify-center absolute z-1`},null,8,[`small`,`title`,`subtitle`,`average-color`]),e(x,{class:`inset-0 absolute z-1`,link:t?.customLink,"aria-label":t?.customLink?.label||t?.customLink?.elementTitle||t?.heading||t?.title||t?.subtitle||o.$t(`Open slide`)},{default:u(()=>[...p[0]||=[r(`span`,{"aria-hidden":`true`},null,-1)]]),_:1},8,[`link`,`aria-label`])]))),128))]),_:1},8,[`class`])}}}),[[`__scopeId`,`data-v-9f21a22e`]]),{__name:`HeroLaunchers`});export{v as t};
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.