1import{D as t,E as e,Gt as i,J as s,M as a,N as n,T as l,Tt as o,fn as c,hn as r,it as d,mn as g,w as m}from"./B8XHxhss.js";import{t as p}from"./CB9WeAtJ.js";import{t as u}from"./BeUuO7ch.js";import{t as h}from"./DXNx4Ry-.js";import{t as x}from"./tKPW4sCS.js";import{t as y}from"./_7FpOfx22.js";var f=["id"],w=["innerHTML"],b=["innerHTML"],k=Object.assign({inheritAttrs:!1},{__name:"BlockListBlocksBlockListCtaBox",props:{id:String,context:String,settings:Object,title:String,label:String,teaser:String,link:Object,image:Object,imagePosition:String,authentication:String,items:Array},setup(k){const v=k;return(j,S)=>{const T=p,P=u,I=h,L=y;return d(),t("div",s({id:k.id,class:["c-block-list-cta-box",[`c-block-list-cta-box--ctx--${k.context}`]]},("useAttrsSome"in j?j.useAttrsSome:i(x))(["class","style","data-n-ids"],j.$attrs)),[m("div",{class:c(["flex-shrink-0 flex justify-items-center w-visual-screen py-lg bg-surface text-strong",{">=1280:w-full 1280:px-cardInset 1280:pt-cardInset 1280:pb-cardInsetBottom":["with-aside","in-accordion","in-step-by-step"].includes(k.context)}])},[m("div",{class:c(["w-12/12col mx-auto grid grid-cols-1 gap-x-lg",{">=1280:w-8/12col":!k.image,">=1280:grid-cols-2 1280:auto-rows-max":k.image&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context)}])},[k.title?(d(),l(T,{key:0,overline:k.label,"long-read-id":k.settings?.includeInToc&&k.id,"long-read-title":k.settings?.includeInToc&&k.title,class:c({">=1280:col-start-1":k.image&&"right"===k.imagePosition&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context),">=1280:col-start-2":k.image&&"left"===k.imagePosition&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context)})},{default:o(()=>[m("span",{innerHTML:k.title},null,8,w)]),_:1},8,["overline","long-read-id","long-read-title","class"])):e("",!0),k.image?(d(),t("figure",{key:1,class:c(["mb-md relative",{">=1280:row-start-1 1280:row-span-3 1280:mb-0":!["with-aside","in-accordion","in-step-by-step"].includes(k.context),">
1=1280:col-start-1":"left"===k.imagePosition&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context),">=1280:col-start-2":"right"===k.imagePosition&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context)}]),style:g({maxHeight:k.image.height?`${k.image.height}px`:null})},[n(P,{class:c(["aspect-ratio-16/9! rounded-mediaSm overflow-hidden max-h-65vh <960:max-h-80vh",{">=1280:aspect-ratio-auto! 1280:absolute 1280:left-0 1280:top-0 1280:w-full 1280:h-full":!["with-aside","in-accordion","in-step-by-step"].includes(k.context)}]),fit:"cover",sizes:"100vw >=1280:640px >=1920:840px","show-background":!0,"img-extension":k.image.extension,src:k.image.cropUrl,width:k.image.width,height:k.image.height,alt:k.image.altText},null,8,["class","img-extension","src","width","height","alt"])],6)):e("",!0),m("div",{class:c(["grid grid-cols-1 gap-y-md",{">=1280:col-start-1":k.image&&"right"===k.imagePosition&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context),">=1280:col-start-2":k.image&&"left"===k.imagePosition&&!["with-aside","in-accordion","in-step-by-step"].includes(k.context)}])},[k.teaser?(d(),t("p",{key:0,class:"text-body-md-regular whitespace-pre-line",innerHTML:k.teaser},null,8,b)):e("",!0),k.link?(d(),l(L,{key:1,class:"mt-auto",to:"media"===k.link.type?null:k.link.url,href:"media"===k.link.type?k.link.url:null,type:k.link.type,tag:"media"===k.link.type?"a":null,target:k.link.target,color:"end-block"===v.context?"secondary":"media"===k.link.type?"surface":"secondary",authentication:k.authentication},{icon:o(()=>["external"===k.link.type?(d(),l(I,{key:0,name:"open-in-new",class:"w-full h-full"})):"media"===k.link.type?(d(),l(I,{key:1,name:"download",class:"w-full h-full"})):(d(),l(I,{key:2,name:"arrow-forward",class:"w-full h-full"}))]),default:o(()=>[a(r(k.link.name)+" ",1)]),_:1},8,["to","href","type","tag","target","color","authentication"])):e("",!0)],2)],2)],2)],16,f)}}});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.