1import{_ as A}from"./Qq56hrAn.js";import L from"./BJbB7qfZ.js";import{_ as D}from"./BWGh1zHh.js";import T from"./Dq2x5qhE.js";import{B as z}from"./CwkhEqtG.js";import{u as I}from"./kzE0eaZ-.js";import{d as N,a as S,w as V,x as j,h as i,y as E,g as o,z as F,H,j as l,l as t,D as a,A as r,F as d,B as h,C,E as b,k as f}from"./Cq0hlUt0.js";import"./CYAfaeHR.js";import"./DpjrwDRf.js";import"./Bc8JoegZ.js";import"./BG5yIfiu.js";import"./C-ZjsMNB.js";import"./BZBIqrfa.js";import"./Cci09Cp_.js";import"./C_PLPB60.js";import"./CA1NS36I.js";const O={class:"flex flex-col items-start lg:flex-row lg:gap-25"},$={class:"BlockBigCase__image-group"},q={key:1,class:"BlockBigCase__label-group"},G={class:"BlockBigCase__image"},J={class:"BlockBigCase__image-title"},K={class:"BlockBigCase__content"},M={key:1,class:"BlockBigCase__label-group"},P={class:"BlockBigCase__content-title"},Q=N({__name:"BlockBigCase",props:{blok:{}},async setup(e){let s,g;const n=e,{t:m}=S(),{translateCaseTag:_}=([s,g]=V(()=>I()),s=await s,g(),s),p=f(()=>n.blok.backgroundColor?[n.blok.backgroundColor,"background-dark"]:""),B=f(()=>n.blok.casesLink?.id?{_uid:"cases-button",component:"AtomButton",link:n.blok.casesLink}:null);return(R,U)=>{const c=A,x=L,y=D,v=T,w=E("editable");return typeof e.blok.case!="string"?j((t(),o(z,{key:0,class:H(["BlockBigCase",l(p)])},{default:F(()=>[a("div",O,[a("div",$,[e.blok.label?(t(),o(c,{key:0,label:e.blok.label,class:"BlockBigCase__label white background-light_dark-blue"},null,8,["label"])):e.blok.case.content.tags.length?(t(),r("div",q,[(t(!0),r(d,null,h(e.blok.case.content.tags,(k,u)=>(t(),o(c,{key:u,label:l(_)(k.toString()),class:"BlockBigCase__label white background-light_dark-blue"},null,8,["label"]))),128))])):i("",!0),a("div",G,[C(x,{class:"rounded-xl",asset:e.blok.case.content.heroImage,width:"500",height:"583",sizes:"xs:100vw sm:100vw md:100vw lg:500px"},null,8,["asset"]),a("div",J,b(e.blok.case.content.title),1)])]),a("div",K,[e.blok.label?(t(),o(c,{key:0,label:e.blok.label,class:"BlockBigCase__label white background-light_dark-blue"},null,8,["label"])):e.blok.case.content.tags.length?(t(),r("div",M,[(t(!0),r(d,null,h(e.blok.case.content.tags,(k,u)=>(t(),o(c,{key:u,label:l(_)(k.toString()),class:"BlockBigCase__label white background-light_dark-blue"},null,8,["label"]))),128))])):i("",!0),a("h2",P,b(e.blok.case.content.mainTitle),1),a("p",null,b(e.blok.case.content.shortDescription),1),C(y,{class:"primary-green mt-8",label:l(m)("BlockBigCase.caseButtonLabel"),link:{to:`/${e.blok.case.full_slug}`}},null,8,["label","link"]),l(B)?(t(),o(v,{key:2,label:l(m)("BlockBigCase.allCasesButtonLabel"),blok:l(B),class:"mt-8"},null,8,["label","blok"])):i("",!0)])])]),_:1},8,["class"])),[[w,e.blok]]):i("",!0)}}}),be=Object.assign(Q,{__name:"BlockBigCase"});export{be 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.