1import{a as M,_ as P}from"./8hjt6Qt3.js";import{_ as j}from"./RCEh6aV7.js";import{u as w}from"./DdGhHiyS.js";import{N as B,a0 as z,a6 as r,a7 as o,a8 as u,at as m,aa as N,au as V,af as s,ap as $,aG as D,W as L,ai as O,aj as S,ak as _,ah as g,av as A}from"./C4DTFQLm.js";import{_ as E}from"./DlAUqK2U.js";import"./CnffHLoe.js";import"./C7omXjIn.js";import"./WjvoOl1_.js";import"./BQM3aigP.js";import"./D0RPKx-r.js";import"./p0lNNOe1.js";import"./nuPXTILC.js";import"./D6exqEJX.js";import"./CVLVhzRH.js";import"./DQSqsE9U.js";const F={class:"lg:col-span-6"},G={class:"rounded-theme-card-radius mx-auto aspect-[310/410] lg:h-[413px]"},I={key:0,"aria-hidden":!0,class:"absolute bottom-0 right-0 z-10 bg-no-repeat max-lg:h-[345px] max-lg:w-[304px] md:max-h-[679px] md:max-w-[600px] lg:bg-contain lg:bg-center"},R=["src"],W=B({__name:"ContentType",props:{item:{}},setup(C){const{getResolvedCardData:t}=w(),n=z();return(l,a)=>{var p,d,i;const c=j;return o(),r("div",{class:"relative overflow-hidden max-lg:px-[70px] max-lg:py-[80px] lg:col-span-6 lg:grid lg:h-full lg:grid-cols-subgrid lg:place-content-center",style:$({backgroundColor:(p=l.item)==null?void 0:p.backgroundColor})},[u("div",F,[u("div",G,[N(c,V({style:"--theme-card-bg:var(--theme-billboard-contenttypes-bg)",class:"z-top text-[var(--theme-billboard-contenttypes-text)]"},s(t)(l.item)),null,16)])]),s(n)==="frilandsmuseet"&&((d=l.item)!=null&&d.element)?(o(),r("div",I,[u("img",{class:"h-full w-full",alt:"",src:`/elements/${(i=l.item)==null?void 0:i.element}.png`},null,8,R)])):m("",!0)],4)}}}),q=Object.assign(W,{__name:"BlocksBillboardPartialsContentType"}),H=B({__name:"Multiple",setup(C){const t=D("data"),n=a=>(a==null?void 0:a.contentType)==="article"||(a==null?void 0:a.contentType)==="podcast"||(a==null?void 0:a.contentType)==="video",l=L(()=>{var a;return(a=t==null?void 0:t.content)==null?void 0:a.some(c=>n(c))});return(a,c)=>{var h,x,b;const p=P,d=M,i=q;return o(),r("div",{class:_(["multiple relative lg:grid lg:grid-cols-12",{compact:((x=(h=s(t))==null?void 0:h.layout)==null?void 0:x.mode)=="compact"}])},[(o(!0),r(O,null,S((b=s(t))==null?void 0:b.content,(e,T)=>{var y,f,v,k;return o(),r("div",{key:T,class:_(["relative grid",[s(l)?"lg:h-svh":e.media?"lg:min-h-svh":"h-svh [@media(max-height:600px)]:h-auto [@media(max-height:600px)]:min-h-[750px]",{"max-lg:h-full":((f=(y=s(t))==null?void 0:y.layout)==null?void 0:f.mode)=="compact"},((k=(v=s(t))==null?void 0:v.content)==null?void 0:k.length)==1?"lg:col-span-full":"grid-cols-subgrid lg:col-span-6"]])},[e!=null&&e.media&&!n(e)?(o(),g(p,{key:0,item:e},null,8,["item"])):m("",!0),e&&!n(e)?(o(),g(d,{key:1,item:e,class:_(("cn"in a?a.cn:s(A))(e!=null&&e.media?"has-media":""))},null,8,["item","class"])):m("",!0),n(e)?(o(),g(i,{key:2,item:e},null,8,["item"])):m("",!0)],2)}),128))],2)}}}),ca=Object.assign(E(H,[["__scopeId","data-v-fc66b244"]]),{__name:"BlocksBillboardLayoutsMultiple"});export{ca 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.