1import{_ as B}from"./C7VX0i3G.js";import{_ as L}from"./DgAK1XwS.js";import{u as N}from"./DEocnPsA.js";import{d as R,m as _,z as x,B as C,n as z,o as t,f as o,k as r,g as D,p as n,h as p,j as u,v as b,t as d,e as l,G as U,i,s as V,F as h,r as $,_ as j}from"./Bk_0yVAb.js";const I={key:0},E=["srcset"],F=["srcset"],M={key:1,class:"billboard-banner__video"},O=["src"],S={class:"billboard-banner__group"},T={class:"billboard-banner__group__content"},W={key:1,class:n("billboard-banner__group__content__buttons")},G=R({__name:"BillboardBanner",props:{data:{}},setup(P){const f=_(null),{width:c}=N(),s=_(!1);x(()=>{typeof window<"u"&&(s.value=!(window.innerWidth>890))}),C(c,()=>{c.value>890?s.value=!1:s.value=!0});const w=a=>new URL(a).searchParams.get("v");return(a,g)=>{const y=B,v=L,m=z("dompurify-html");return t(),o("div",{ref_key:"billboardBannerRef",ref:f,class:"billboard-banner"},[!a.data.videoURL||a.data.videoURL.trim()===""?(t(),o("picture",I,[r("source",{type:"image/webp",media:"(min-width: 769px)",srcset:a.data.images.desktop.src},null,8,E),r("source",{type:"image/webp",media:"(max-width: 768px)",srcset:a.data.images.mobile.src},null,8,F),D(y,{class:n(["billboard-banner__image"]),fetchpriority:"high",width:"768",height:"432",loading:"eager",sizes:"(max-width: 768px) 100vw, (max-width:1200px) 50vw, 33vw",src:a.data.images.desktop.src,alt:a.data.images.desktop.alt||"",title:a.data.images.desktop.title},null,8,["src","alt","title"])])):(t(),o("div",M,[r("iframe",{ref:"iframeElement",width:"100%",height:"850",title:"video",src:`https://www.youtube.com/embed/${w(a.data.videoURL||"")}?autoplay=1&loop=1&mute=1&controls=1&modestbranding=1&rel=0&showsearch=0, 2 )}`,frameborder:"0",allow:"accelerometer; autoplay; modestbranding; clipboard-write; showinfo; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},null,8,O)])),r("div",S,[r("div",T,[a.data.title?(t(),p(U(a.data.titleTag||"p"),{key:0,class:n(["billboard-banner__group__content__title font-white",{title3:l(s),display1:!l(s)}])},{default:u(()=>[b(d(a.data.title),1)]),_:1},8,["class"])):i("",!0),V(r("div",{class:n(["billboard-banner__group__content__description font-white",{body:l(s),title3:!l(s)}])},null,2),[[m,a.data.subtitle]]),a.data.ctas?(t(),o("div",W,[(t(!0),o(h,null,$(a.data.ctas,(e,k)=>(t(),o(h,{key:k},[e!=null&&e.cta.link?(t(),p(v,{key:0,class:n(`btn btn--${(e==null?void 0:e.cta.type)||"primary"}`),to:e==null?void 0:e.cta.link,target:e==null?void 0:e.cta.target},{default:u(()=>[b(d(e.cta.text),1)]),_:2},1032,["class","to","target"])):e!=null&&e.cta.text?(t(),o("button",{key:1,class:n(`btn btn--${(e==null?void 0:e.cta.type)||"primary"}`),type:"button"},d(e==null?void 0:e.cta.text),3)):i("",!0)],64))),128))])):i("",!0)])])],512)}}}),K=j(G,[["__scopeId","data-v-b30a8393"]]);export{K 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.