1import{N as W,a6 as o,a7 as a,a8 as c,ak as i,af as n,av as y,W as $,at as s,aa as x,ah as u,ai as Q,aj as se,a9 as L,aD as H,ab as q,aB as re,ax as Ge,P as Ie,a2 as Qe,az as Be,a0 as He,ag as je,ap as Z,aM as We,au as oe,aN as Je}from"./Cc1FFHbL.js";import{_ as Le}from"./Ty0STikc.js";import{_ as Ke}from"./CWcgGPZi.js";import{_ as Ue}from"./DRhMHzPk.js";import{_ as Ce}from"./PAEN7sJp.js";import{u as Y}from"./CD0xSsDw.js";import{u as le,_ as Xe}from"./BCITlCRn.js";import{u as Ze}from"./C1WT1-gB.js";import{_ as De}from"./DrnkggSU.js";import{_ as Ae}from"./DlAUqK2U.js";import xe from"./BIMK04SE.js";import{_ as _e}from"./XnNGS9zF.js";import{g as et}from"./CVLVhzRH.js";import"./BQGX-fw6.js";const tt=W({__name:"Arc",props:{position:{},parentType:{},isSlider:{type:Boolean},reserveSpaceTop:{type:Boolean},hasCta:{type:Boolean}},setup(g){return(r,b)=>(a(),o("div",{class:i(("cn"in r?r.cn:n(y))("absolute w-full lg:w-1/2 top-0 lg:top-0 bottom-0 z-20 pointer-events-none",{"left-0":r.position==="left","right-0":r.position==="right","lg:top-4":r.isSlider&&r.position==="right","max-lg:top-[calc(50%+1.25rem)]":r.parentType==="split","max-lg:md:top-[var(--navigation-height)]":r.parentType==="full","max-lg:md:top-[calc(var(--navigation-height)+1.25rem)]":r.parentType==="full"&&r.isSlider,"lg:top-[var(--navigation-height)]":r.reserveSpaceTop,"bottom-20 lg:bottom-[4.25rem]":r.hasCta,"top-6":r.isSlider}))},[c("div",{class:i(("cn"in r?r.cn:n(y))("absolute rounded-t-full border border-white inset-0 my-5 mx-4 lg:my-[1.875rem] lg:mx-[1.875rem]"))},null,2)],2))}}),nt=Object.assign(tt,{__name:"ElementsArc"}),at={key:0},lt=["innerHTML"],st=["innerHTML"],ot=["innerHTML"],rt=["innerHTML"],it=["innerHTML"],pt=["innerHTML"],yt=["innerHTML"],ut={key:1,class:"pb-spacing-3"},mt={class:"flex items-start justify-start space-x-2"},dt={class:"flex items-center space-x-2"},gt={key:0},ht={key:2,class:"mt-spacing-4 md:hidden"},ft=W({__name:"EntrySlideContent",props:{entry:{},type:{},isSlider:{type:Boolean},index:{},headingType:{default:"div"},textPosition:{},ctaTag:{default:"button"}},setup(g){const r=g,{sitename:b,isFamily:l,traits:m}=Ze(),T=$(()=>{var t;return r.entry.type=="event"&&(!!r.entry.specialTag||!!((t=r.entry.timeframes)!=null&&t.length))}),h=$(()=>m.value.centeredText||l("frilandsmuseet")),f=$(()=>b.value=="kronborg");return(t,v)=>{var I,p,z,P,E,F,w,V,_,ee,te,ne,e,k,ae,j;const d=Le,S=Ue,C=Ce;return a(),o("div",{class:i(("cn"in t?t.cn:n(y))({"relative flex h-full w-full flex-col items-center justify-center":n(h),"max-lg:justify-end":n(l)("krigsmuseet")&&t.type==="full"&&t.textPosition==="seperate","pt-[var(--navigation-height)] lg:w-[calc(50%-1.875rem)]":n(b)==="kronborg"&&t.type==="full"&&t.textPosition==="overlay"}))},[c("div",{class:i(["grid",{"w-full justify-items-center":n(h)}])},[c("div",{class:i(["row-start-3",("cn"in t?t.cn:n(y))(("useTypography"in t?t.useTypography:n(Y))(t.entry.style),"w-full",{"text-center":n(h),"hyphens-auto":n(f),"w-full px-[17.35px]":!!t.entry.titleImage})])},[t.entry.titleImage?(a(),o("div",ut,[x(d,{title:t.entry.title,"aria-label":t.entry.title,class:"w-full object-contain",src:t.entry.titleImage.src,crop:(I=t.entry.titleImage)==null?void 0:I.crop,hotspot:(p=t.entry.titleImage)==null?void 0:p.hotspot,sizes:"xs:100vw sm:100vw md:100vw lg:100vw xl:100vw 2xl:100vw",alt:(z=t.entry.titleImage)==null?void 0:z.alt,loading:t.index===0?void 0:"eager",preload:t.index===0},null,8,["title","aria-label","src","crop","hotspot","alt","loading","preload"])])):(a(),o("div",at,[t.headingType==="h1"?(a(),o("h1",{key:0,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,lt)):s("",!0),t.headingType==="h2"?(a(),o("h2",{key:1,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,st)):s("",!0),t.headingType==="h3"?(a(),o("h3",{key:2,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,ot)):s("",!0),t.headingType==="h4"?(a(),o("h4",{key:3,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,rt)):s("",!0),t.headingType==="h5"?(a(),o("h5",{key:4,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,it)):s("",!0),t.headingType==="h6"?(a(),o("h6",{key:5,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,pt)):s("",!0),t.headingType==="div"?(a(),o("div",{key:6,innerHTML:t.entry.title,class:"hyphens-auto text-balance"},null,8,yt)):s("",!0)]))],2),c("div",{class:i(["row-start-1",("cn"in t?t.cn:n(y))("flex justify-start",{"flex-col items-start gap-spacing-3":n(T),"items-center space-x-4":!n(T),"mb-spacing-4":!t.entry.titleImage,"mb-spacing-2":t.entry.titleImage})])},[c("div",mt,[t.entry.type=="event"&&t.entry.tags&&t.entry.tags[0]?(a(),u(S,{key:0,class:"border-theme-text text-theme-text",label:t.entry.tags&&t.entry.tags[0]||""},null,8,["label"])):(a(!0),o(Q,{key:1},se(t.entry.type!=="text"&&((P=t.entry)==null?void 0:P.tags)||[],B=>(a(),u(S,{class:"border-theme-text text-theme-text",key:`${t.entry.id}.${B}`,label:B},null,8,["label"]))),128)),t.entry.type=="event"&&t.entry.specialTag?(a(),u(S,{key:2,class:"bg-theme-primary-3 text-theme-primary-4 border-theme-primary-3",label:t.entry.specialTag},null,8,["label"])):s("",!0)]),t.entry.type!=="text"&&t.entry.type!=="podcast"&&!n(h)?(a(),o("div",{key:0,class:i(("cn"in t?t.cn:n(y))(("useTypography"in t?t.useTypography:n(Y))("md"),"space-y-spacing-1"))},[c("div",dt,[(F=(E=t.entry)==null?void 0:E.date)!=null&&F.from?(a(),o("span",gt,L(("useFormatDate"in t?t.useFormatDate:n(le))((V=(w=t.entry)==null?void 0:w.date)==null?void 0:V.from)),1)):s("",!0),(ee=(_=t.entry)==null?void 0:_.date)!=null&&ee.to?(a(),o(Q,{key:1},[v[0]||(v[0]=c("span",null,"â",-1)),c("span",null,L(("useFormatDate"in t?t.useFormatDate:n(le))((ne=(te=t.entry)==null?void 0:te.date)==null?void 0:ne.to)),1)],64)):s("",!0)]),t.entry.type=="event"&&((e=t.entry.timeframes)!=null&&e.length)?(a(!0),o(Q,{key:0},se(t.entry.timeframes,(B,G)=>(a(),o("div",{key:G},L(B),1))),128)):s("",!0)],2)):s("",!0),t.entry.type=="podcast"&&t.entry.duration?(a(),o("div",{key:1,class:i(("cn"in t?t.cn:n(y))(("useTypography"in t?t.useTypography:n(Y))("md"),"flex items-center space-x-2"))},[c("span",null,L(t.entry.duration),1)],2)):s("",!0)],2),t.entry.type=="podcast"&&t.entry.prefix?(a(),o("div",{key:0,class:i(["row-start-2",("cn"in t?t.cn:n(y))(("useTypography"in t?t.useTypography:n(Y))("h3"),"leading-none opacity-40")])},L(t.entry.prefix),3)):s("",!0)],2),t.entry.type!=="text"&&t.entry.type!=="podcast"&&n(h)&&((k=t.entry)!=null&&k.date)?(a(),o("div",{key:0,class:i(("cn"in t?t.cn:n(y))(("useTypography"in t?t.useTypography:n(Y))("md"),"pt-spacing-2 flex items-center space-x-2"))},[c("span",null,L(("useFormatDate"in t?t.useFormatDate:n(le))(t.entry.date.from)),1),t.entry.date.to?(a(),o(Q,{key:0},[v[1]||(v[1]=c("span",null,"â",-1)),c("span",null,L(("useFormatDate"in t?t.useFormatDate:n(le))(t.entry.date.to)),1)],64)):s("",!0)],2)):s("",!0),n(h)&&t.entry.type=="event"&&((ae=t.entry.timeframes)!=null&&ae.length)?(a(),o("div",{key:1,class:i(("cn"in t?t.cn:n(y))(("useTypography"in t?t.useTypography:n(Y))("md"),"pt-spacing-1 space-y-spacing-1 text-center"))},[(a(!0),o(Q,null,se(t.entry.timeframes,(B,G)=>(a(),o("div",{key:G},L(B),1))),128))],2)):s("",!0),t.entry.type=="exhibition"&&t.entry.isExhibitionTeaser?(a(),o("div",ht,[t.entry.cta?(a(),u(C,{key:0,tag:t.ctaTag,"aria-hidden":t.ctaTag!=="button"&&t.ctaTag!=="a"?!0:void 0,"nothing-on-leave":!0,label:(j=t.entry.cta)==null?void 0:j.label},null,8,["tag","aria-hidden","label"])):s("",!0)])):s("",!0)],2)}}}),vt=Object.assign(ft,{__name:"BlocksHeroSlidesEntrySlideContent"}),ct=W({__name:"EntrySlide",props:{entry:{},isSlider:{type:Boolean},index:{},elevateMobileButton:{type:Boolean}},setup(g,{expose:r}){const b=H("$card");return r({$card:b}),(l,m)=>{const T=Ce,h=Xe;return a(),u(h,{class:i(("cn"in l?l.cn:n(y))({"has-cta":l.entry.cta&&!l.isSlider,"has-elevated-cta":l.entry.cta&&!l.isSlider&&l.elevateMobileButton})),ref_key:"$card",ref:b,overlay:l.isSlider},{media:q(({classes:f})=>[re(l.$slots,"image",{classes:f},void 0,!0)]),belowContent:q(()=>{var f;return[l.entry.cta&&!l.isSlider?(a(),u(T,{key:0,tag:"div","aria-hidden":"true",class:i(("cn"in l?l.cn:n(y))(l.elevateMobileButton?"bottom-[calc(var(--container-px)*2+var(--fifth-element-height,3px))] left-spacing-3 right-spacing-3 absolute md:hidden":"bottom-sp
1acing-4 left-spacing-3 right-spacing-3 absolute md:hidden")),"nothing-on-leave":!0,label:(f=l.entry.cta)==null?void 0:f.label},null,8,["class","label"])):s("",!0)]}),cta:q(({classes:f})=>{var t;return[l.entry.cta?(a(),u(T,{key:0,tag:"div","aria-hidden":"true",class:i(("cn"in l?l.cn:n(y))(f,{"max-md:hidden":(l.entry.type==="event"||l.entry.type==="exhibition")&&l.entry.isExhibitionTeaser})),"nothing-on-leave":!0,label:(t=l.entry.cta)==null?void 0:t.label,style:{"--button-radius":"0px"}},null,8,["class","label"])):s("",!0)]}),default:q(()=>[re(l.$slots,"default",{},void 0,!0)]),_:3},8,["class","overlay"])}}}),bt=Object.assign(Ae(ct,[["__scopeId","data-v-b3f9fa97"]]),{__name:"BlocksHeroSlidesEntrySlide"}),wt={key:0,class:"absolute left-0 top-0 z-0 h-full w-full bg-black opacity-40"},kt={class:"w-full"},Tt={class:"relative z-10"},$t=["innerHTML"],St=W({__name:"TextSlide",props:{entry:{},index:{}},emits:["mouseenter","mouseleave"],setup(g,{expose:r,emit:b}){const l=H("$content"),m=H("$cta"),T=H("$media"),h=b,f=Ge("(min-width: 1024px)");let t=[];const v=Ie(null),d=Ie(null);Qe("resize",()=>{v.value=null,d.value=null});const S=Be(),C=()=>{var E,F;if(!f)return;if(h("mouseenter"),v.value===null){const w=(E=m.value)==null?void 0:E.getBoundingClientRect();v.value=(w==null?void 0:w.height)||null}if(d.value===null){const w=(F=l.value)==null?void 0:F.getBoundingClientRect();d.value=(w==null?void 0:w.height)||null}if(!v.value||!l.value||!d.value)return;const p=[{height:`${d.value}px`},{height:`${d.value+v.value}px`}],z=[{transform:"translateY(100%)"},{transform:"translateY(calc(-100% - 5px))"}],P={duration:S.value=="reduce"?0:255,easing:"cubic-bezier(0.23,1,0.32,1)",fill:"forwards"};t=[l.value.animate(p,P),m.value.animate(z,P)]},I=()=>{f&&(h("mouseleave"),l.value&&t.forEach(p=>{var P,E;const z=(P=p.effect)==null?void 0:P.getTiming();z&&((E=p.effect)==null||E.updateTiming({...z,easing:"cubic-bezier(0.76,0.05,0.86,0.06)"})),p.reverse()}))};return r({$media:T}),(p,z)=>{var E,F,w;const P=xe;return a(),o("div",{class:"w-full",onMouseenter:C,onMouseleave:I},[c("div",{ref_key:"$media",ref:T,class:"absolute left-0 top-0 z-0 h-full w-full"},[re(p.$slots,"image")],512),(E=p.$slots.image)!=null&&E.length?(a(),o("div",wt)):s("",!0),c("div",kt,[c("div",Tt,[c("div",{ref_key:"$content",ref:l,class:"bg-theme-impact-background text-theme-impact-text px-spacing-margin py-spacing-5 relative space-y-4 lg:w-2/3 lg:p-10"},[c("div",{class:i(("cn"in p?p.cn:n(y))(("useTypography"in p?p.useTypography:n(Y))(p.entry.style))),innerHTML:p.entry.title},null,10,$t),p.entry.cta?(a(),o("span",{key:0,ref_key:"$cta",ref:m,class:i(("cn"in p?p.cn:n(y))("bottom-0 left-4 z-10 flex w-full items-center justify-start space-x-2 md:absolute md:left-10 md:translate-y-full md:opacity-80",("useTypography"in p?p.useTypography:n(Y))("md")))},[c("span",null,L((F=p.entry.cta)==null?void 0:F.label),1),x(P,{name:`custom-icon:${((w=p.entry.cta)==null?void 0:w.icon)||"arrow"}`},null,8,["name"])],2)):s("",!0)],512)])])],32)}}}),Et=Object.assign(St,{__name:"BlocksHeroSlidesTextSlide"});function Ne(g){const r=He(),b=je(),l=$(()=>r.value==="frihedsmuseet"&&g.type==="split"&&g.textPosition==="seperate"),m=$(()=>{var t;return r.value==="frihedsmuseet"&&((t=b.value)==null?void 0:t.type)!=="frontPage"&&g.type!=="full"}),T=$(()=>{var t;return r.value==="frihedsmuseet"&&g.type==="split"&&g.index===0&&((t=b.value)==null?void 0:t.type)!=="exhibitionOverview"}),h=$(()=>{var t,v,d;return r.value==="frihedsmuseet"&&g.type==="full"&&g.textPosition==="seperate"&&g.index===0&&((d=(v=(t=b.value)==null?void 0:t.blocks)==null?void 0:v[0])==null?void 0:d._type)==="heroModule"}),f=$(()=>{var t,v,d;return g.type==="full"&&g.textPosition==="seperate"?{top:"calc(var(--navbar-height, 3.75rem) + 2 * var(--fifth-element-height, 6px))",bottom:"calc(var(--button-height, 3.75rem) + var(--fifth-element-height, 6px))"}:{top:g.index===0&&((d=(v=(t=b.value)==null?void 0:t.blocks)==null?void 0:v[0])==null?void 0:d._type)==="heroModule"?"calc(var(--navbar-height, 3.75rem) + var(--container-px))":"var(--container-px)",bottom:"var(--container-px)"}});return{isFrihedsmuseetSplitSeperate:l,isFrihedsmuseetNotFrontPage:m,isFrihedsmuseetFirstSplit:T,isFrihedsmuseetFirstFullSeperate:h,fifthElementPositionStyle:f}}const Pt=W({__name:"FrihedsmuseetFifthElement",props:{type:{},textPosition:{default:"overlay"},index:{},isSlider:{type:Boolean,default:!1}},setup(g){const r=g,b=je(),{fifthElementPositionStyle:l}=Ne(r);return(m,T)=>{var f;const h=De;return a(),o(Q,null,[m.type==="full"&&m.textPosition==="overlay"?s("",!0):(a(),u(h,{key:0,vertical:"",class:i(("cn"in m?m.cn:n(y))("absolute left-1/2 z-50 hidden -translate-x-[calc(50%+3px)] lg:block",{"bg-current":m.type==="split"})),style:Z(n(l))},null,8,["class","style"])),((f=n(b))==null?void 0:f.type)==="frontPage"&&m.isSlider||m.type==="full"&&m.textPosition==="seperate"?(a(),u(h,{key:1,class:i(["mx-container pointer-events-none absolute inset-x-0 bottom-[calc(var(--container-px,1.25rem)-var(--fifth-element-height,3px))] z-[5] lg:bottom-[calc(var(--button-height,3.75rem)-var(--fifth-element-height,3px))]",m.type==="full"&&m.textPosition==="seperate"?"block":"hidden lg:block"])},null,8,["class"])):s("",!0)],64)}}}),Ft=Object.assign(Pt,{__name:"BlocksHeroFrihedsmuseetFifthElement"}),Mt={key:0,class:"absolute left-0 top-0 z-[1] h-full w-full bg-black opacity-40"},zt={key:1,class:"absolute left-0 top-0 z-0 h-full w-full"},It={key:3,class:"relative z-50 max-lg:row-start-2 lg:hidden",style:{height:"calc(var(--fifth-element-height, 3px))"}},Bt=["data-text-slide"],Ht={key:0,class:"absolute left-0 top-0 z-[1] h-full w-full bg-black opacity-40"},jt=W({__name:"HeroSlide",props:{entry:{},type:{default:"split"},textPosition:{default:"overlay"},index:{},headingType:{default:"h2"},isSlider:{type:Boolean,default:!1},imagePosition:{default:"right"}},emits:["mouseenter","mouseleave"],setup(g,{expose:r,emit:b}){const l=g,m=H("$left"),T=H("$right"),h=H("$el"),f=H("$entrySlide"),t=H("$floatyElement"),v=He(),d=$(()=>l.type==="full"&&l.textPosition==="seperate"),S=$(()=>l.type==="split"||l.type==="full"&&l.textPosition==="seperate"),C=b,I=H("$video"),p=Be(),{top:z,height:P,bottom:E}=We(h),F=$(()=>p.value==="reduce"?0:E.value<0||z.value>window.innerHeight?void 0:(1-(z.value+P.value)/window.innerHeight)*-1*10),w=$(()=>{var e;return((e=l.entry)==null?void 0:e.theme)||{}}),V=$(()=>!l.isSlider&&l.type==="split"&&l.textPosition==="seperate"&&l.entry.type!=="text"&&l.entry.type!=="podcast"&&!(l.entry.type==="exhibition"&&l.entry.isExhibitionTeaser)&&v.value!=="frihedsmuseet"),{isFrihedsmuseetSplitSeperate:_,isFrihedsmuseetNotFrontPage:ee,isFrihedsmuseetFirstSplit:te,isFrihedsmuseetFirstFullSeperate:ne}=Ne(l);return r({$right:T,$left:m,$el:h,$entrySlide:f,duration:$(()=>{var e,k;return(e=I.value)!=null&&e.duration?Math.max(0,(((k=I.value)==null?void 0:k.duration)||0)-2.5)*1e3:5e3}),$video:I}),(e,k)=>{var ie,pe,ye,ue,me,de,ge,he,fe,ve,ce,be,we,ke,Te,$e,Se,Ee,Pe,Fe,Me,ze;
1const ae=nt,j=Le,B=Ke,G=vt,Oe=De,Re=bt,Ye=Et,qe=_e,Ve=Ft;return a(),o("div",{ref_key:"$el",ref:h,style:Z({...("getThemeStyles"in e?e.getThemeStyles:n(et))(n(w))}),class:i(("cn"in e?e.cn:n(y))("b-hero-slide text-theme-text absolute left-0 top-0 z-0 h-full max-h-[100vh] w-full",{"max-lg:relative max-lg:h-auto max-lg:max-h-none max-lg:min-h-[inherit]":n(V),"max-sm:h-auto":e.entry.type==="podcast"||e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser}))},[n(v)==="kronborg"&&e.entry.type!=="text"?(a(),u(ae,{key:0,position:n(S)?"right":"left","parent-type":e.type,"is-slider":e.isSlider,"reserve-space-top":!n(S)&&!e.entry.cta,"has-cta":!!e.entry.cta},null,8,["position","parent-type","is-slider","reserve-space-top","has-cta"])):s("",!0),c("div",{class:i(("cn"in e?e.cn:n(y))("grid h-full grid-cols-1",{"lg:grid-cols-2":n(S),"max-lg:h-auto max-lg:min-h-[inherit]":n(V)}))},[n(d)?(a(),o("div",Mt)):s("",!0),n(d)&&e.entry.media?(a(),o("div",zt,[((ie=e.entry.media)==null?void 0:ie.type)==="image"?(a(),u(j,{key:0,loading:e.index===0?"eager":"lazy",preload:e.index===0,src:(pe=e.entry.media)==null?void 0:pe.src,alt:(ye=e.entry.media)==null?void 0:ye.alt,crop:(me=(ue=e.entry)==null?void 0:ue.media)==null?void 0:me.crop,hotspot:(ge=(de=e.entry)==null?void 0:de.media)==null?void 0:ge.hotspot,sizes:"xs:100vw sm:100vw md:100vw lg:50vw xl:50vw 2xl:50vw",class:i(("cn"in e?e.cn:n(y))("h-full w-full object-cover"))},null,8,["loading","preload","src","alt","crop","hotspot","class"])):s("",!0),((he=e.entry.media)==null?void 0:he.type)==="video"?(a(),u(B,oe({key:1,ref_key:"$video",ref:I},e.entry.media,{controls:!1,autoplay:"",loop:"",muted:"",playsinline:"",class:("cn"in e?e.cn:n(y))("h-full w-full object-cover")}),null,16,["class"])):s("",!0)])):s("",!0),n(S)?(a(),o("div",{key:2,ref_key:"$left",ref:m,class:i(("cn"in e?e.cn:n(y))("px-spacing-3 py-spacing-4 col-span-1 flex h-full w-full items-end justify-start overflow-clip lg:z-20 lg:px-10 lg:py-10",{"bg-theme-background":!n(d),"max-lg:row-span-1 max-lg:row-start-1 max-lg:aspect-square sm:max-lg:aspect-auto max-lg:overflow-hidden":e.entry.type!=="text"&&e.textPosition==="seperate"&&n(S),"order-2":e.imagePosition==="left","max-lg:hidden":e.textPosition==="seperate"&&e.type==="full"},{"max-lg:row-start-2 max-lg:aspect-auto max-lg:h-auto max-lg:p-4 max-lg:pt-2.5":e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser},{"max-lg:aspect-auto max-lg:overflow-visible max-sm:min-h-[100vw]":n(V)}))},[e.imagePosition=="right"?(a(),o("div",{key:0,ref_key:"$floatyElement",ref:t,class:i(("cn"in e?e.cn:n(y))("pointer-events-none absolute right-0 -translate-x-full transform lg:right-1/2",{"max-lg:bottom-auto max-lg:overflow-hidden":e.entry.type==="podcast"||e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"h-[176px] w-[234px] translate-x-1/2 max-lg:top-40 max-sm:aspect-square sm:max-lg:aspect-auto lg:top-10 lg:h-[360px] lg:w-[480px]":!e.entry.titleImage&&e.entry.type==="podcast"||e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"h-[calc((100vh/12)*10)] w-[200vw] translate-x-[35%] max-lg:top-[65px] lg:top-20 lg:h-[calc((100vh/12)*10)] lg:w-[calc((100vw/12)*7)] lg:translate-x-1/2":e.entry.titleImage})),"aria-hidden":"true"},[(fe=e.entry)!=null&&fe.floatyImage?(a(),u(j,{key:0,class:"h-full w-full object-contain",src:e.entry.floatyImage.src,crop:(ce=(ve=e.entry)==null?void 0:ve.floatyImage)==null?void 0:ce.crop,hotspot:(we=(be=e.entry)==null?void 0:be.floatyImage)==null?void 0:we.hotspot,sizes:"xs:100vw sm:100vw md:100vw lg:100vw xl:100vw 2xl:100vw",alt:(ke=e.entry.floatyImage)==null?void 0:ke.alt,loading:e.index===0?void 0:"eager",preload:e.index===0,style:Z({transform:`translateY(${n(F)}vmin)`})},null,8,["src","crop","hotspot","alt","loading","preload","style"])):s("",!0)],2)):s("",!0),e.entry.type!=="text"&&e.textPosition==="seperate"&&e.type==="split"?(a(),u(G,{key:1,index:e.index,"heading-type":e.headingType,entry:e.entry,type:e.type,isSlider:e.isSlider},null,8,["index","heading-type","entry","type","isSlider"])):s("",!0)],2)):s("",!0),n(v)==="frihedsmuseet"&&e.type==="split"&&e.textPosition==="seperate"?(a(),o("div",It,[x(Oe,{class:"inset-x-container absolute top-0 bg-current"})])):s("",!0),c("div",{ref_key:"$right",ref:T,"data-text-slide":e.entry.type==="text"?"":void 0,class:i(("cn"in e?e.cn:n(y))("b-hero-slide-column col-span-1 flex h-full w-full items-end justify-start max-md:overflow-clip lg:relative",{"bg-theme-background":!n(d),"absolute left-0 top-0 z-10":e.textPosition!=="seperate"&&n(S),"max-lg:row-span-1 max-lg:row-start-2 max-sm:aspect-[386/343] sm:max-lg:aspect-auto max-lg:overflow-hidden":e.textPosition==="seperate"&&n(S),"max-lg:row-start-3":n(_),"max-lg:row-start-1 max-lg:p-4":e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"z-[50] order-1":e.imagePosition==="left","z-[10]":e.imagePosition==="right","p-container":n(ee),"self-end max-lg:row-start-3 lg:!h-[calc(100svh-var(--navbar-height))]":n(te),"row-span-2 max-lg:row-start-1":e.textPosition==="seperate"&&e.type==="full"}))}
1,[e.imagePosition=="left"?(a(),o("div",{key:0,ref_key:"$floatyElement",ref:t,class:i(("cn"in e?e.cn:n(y))("pointer-events-none absolute left-auto right-0 z-[1] transform lg:right-full",{"max-lg:bottom-auto max-lg:overflow-hidden":e.entry.type==="podcast"||e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"h-[176px] w-[234px] translate-x-1/2 max-lg:top-40 max-sm:aspect-square sm:max-lg:aspect-auto lg:top-10 lg:h-[360px] lg:w-[480px]":!e.entry.titleImage&&e.entry.type==="podcast"||e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"h-[calc((100vh/12)*10)] w-[200vw] translate-x-[35%] max-lg:top-[65px] lg:top-20 lg:h-[calc((100vh/12)*10)] lg:w-[calc((100vw/12)*7)] lg:translate-x-1/2":e.entry.titleImage,"max-lg:hidden":e.entry.type==="exhibition"})),"aria-hidden":"true"},[(Te=e.entry)!=null&&Te.floatyImage?(a(),u(j,{key:0,class:"h-full w-full object-contain",src:e.entry.floatyImage.src,crop:(Se=($e=e.entry)==null?void 0:$e.floatyImage)==null?void 0:Se.crop,hotspot:(Pe=(Ee=e.entry)==null?void 0:Ee.floatyImage)==null?void 0:Pe.hotspot,sizes:"xs:100vw sm:100vw md:100vw lg:100vw xl:100vw 2xl:100vw",alt:(Fe=e.entry.floatyImage)==null?void 0:Fe.alt,loading:e.index===0?void 0:"eager",preload:e.index===0,style:Z({transform:`translateY(${n(F)}vmin)`})},null,8,["src","crop","hotspot","alt","loading","preload","style"])):s("",!0)],2)):s("",!0),x(qe,{to:(Me=e.entry.cta)==null?void 0:Me.url,"aria-label":(ze=e.entry.cta)!=null&&ze.label&&e.entry.title?`${e.entry.cta.label}: ${e.entry.title}`:void 0,class:i(["w-full",{"h-full":e.entry.type!=="text"}])},{default:q(()=>[e.entry.type!=="text"?(a(),u(Re,{key:0,index:e.index,onMouseenter:k[0]||(k[0]=M=>C("mouseenter")),onMouseleave:k[1]||(k[1]=M=>C("mouseleave")),entry:e.entry,"elevate-mobile-button":n(ne),ref_key:"$entrySlide",ref:f},Je({default:q(()=>{var M,D,A,N,O,R;return[e.imagePosition=="left"&&e.entry.type==="exhibition"?(a(),o("div",{key:0,ref_key:"$floatyElement",ref:t,class:i(("cn"in e?e.cn:n(y))("pointer-events-none absolute left-auto right-0 z-0 transform lg:right-full lg:hidden",{"max-lg:bottom-auto max-lg:overflow-hidden":e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"h-[176px] w-[234px] translate-x-1/2 max-lg:top-40 max-sm:aspect-square sm:max-lg:aspect-auto lg:top-10 lg:h-[360px] lg:w-[480px]":!e.entry.titleImage||e.entry.type==="exhibition"&&e.entry.isExhibitionTeaser,"h-[calc((100vh/12)*10)] w-[200vw] translate-x-[35%] max-lg:top-[65px] lg:top-20 lg:h-[calc((100vh/12)*10)] lg:w-[calc((100vw/12)*7)] lg:translate-x-1/2":e.entry.titleImage})),"aria-hidden":"true"},[(M=e.entry)!=null&&M.floatyImage?(a(),u(j,{key:0,class:"h-full w-full object-contain",src:e.entry.floatyImage.src,crop:(A=(D=e.entry)==null?void 0:D.floatyImage)==null?void 0:A.crop,hotspot:(O=(N=e.entry)==null?void 0:N.floatyImage)==null?void 0:O.hotspot,sizes:"xs:100vw sm:100vw md:100vw lg:100vw xl:100vw 2xl:100vw",alt:(R=e.entry.floatyImage)==null?void 0:R.alt,loading:e.index===0?void 0:"eager",preload:e.index===0,style:Z({transform:`translateY(${n(F)}vmin)`})},null,8,["src","crop","hotspot","alt","loading","preload","style"])):s("",!0)],2)):s("",!0),e.textPosition==="overlay"||e.type==="full"&&e.textPosition==="seperate"?(a(),u(G,{key:1,index:e.index,entry:e.entry,type:e.type,"is-slider":e.isSlider,"text-position":e.textPosition,"heading-type":e.headingType,"cta-tag":"div"},null,8,["index","entry","type","is-slider","text-position","heading-type"])):s("",!0)]}),_:2},[n(d)?void 0:{name:"image",fn:q(({classes:M})=>{var D,A,N,O,R,J,K,U,X;return[((D=e.entry)==null?void 0:D.overlay)!==!1?(a(),o("div",Ht)):s("",!0),((A=e.entry.media)==null?void 0:A.type)==="image"?(a(),u(j,{key:1,loading:e.index===0?"eager":"lazy",preload:e.index===0,src:(N=e.entry.media)==null?void 0:N.src,alt:(O=e.entry.media)==null?void 0:O.alt,crop:(J=(R=e.entry)==null?void 0:R.media)==null?void 0:J.crop,hotspot:(U=(K=e.entry)==null?void 0:K.media)==null?void 0:U.hotspot,sizes:"xs:100vw sm:100vw md:100vw lg:50vw xl:50vw 2xl:50vw",class:i(M)},null,8,["loading","preload","src","alt","crop","hotspot","class"])):s("",!0),((X=e.entry.media)==null?void 0:X.type)==="video"?(a(),u(B,oe({key:2,ref_key:"$video",ref:I},e.entry.media,{controls:!1,autoplay:"",loop:"",muted:"",playsinline:"",class:M}),null,16,["class"])):s("",!0)]}),key:"0"}]),1032,["index","entry","elevate-mobile-button"])):(a(),u(Ye,{key:1,index:e.index,onMouseenter:k[2]||(k[2]=M=>C("mouseenter")),onMouseleave:k[3]||(k[3]=M=>C("mouseleave")),entry:e.entry,ref_key:"$entrySlide",ref:f},{image:q(()=>{var M,D,A,N,O,R,J,K,U,X;return[((M=e.entry.media)==null?void 0:M.type)==="image"&&!n(d)?(a(),u(j,{key:0,src:(D=e.entry.media)==null?void 0:D.src,alt:(N=(A=e.entry)==null?void 0:A.media)==null?void 0:N.alt,crop:(R=(O=e.entry)==null?void 0:O.media)==null?void 0:R.crop,hotspot:(K=(J=e.entry)==null?void 0:J.media)==null?void 0:K.hotspot,class:"absolute left-0 top-0 z-0 h-full w-full object-cover",sizes:"xs:100vw sm:100vw md:100vw lg:50vw xl
1:50vw 2xl:50vw",loading:e.index===0?"lazy":"eager",preload:e.index===0},null,8,["src","alt","crop","hotspot","loading","preload"])):s("",!0),((U=e.entry.media)==null?void 0:U.type)==="video"&&!n(d)?(a(),u(B,oe({key:1},(X=e.entry)==null?void 0:X.media,{controls:!1,autoplay:"",loop:"",muted:"",playsinline:"",restrict:"",class:"absolute left-0 top-0 z-0 h-full w-full object-cover"}),null,16)):s("",!0)]}),_:1},8,["index","entry"]))]),_:1},8,["to","aria-label","class"])],10,Bt)],2),x(Ve,{type:e.type,"text-position":e.textPosition,index:e.index,"is-slider":e.isSlider},null,8,["type","text-position","index","is-slider"])],6)}}}),Kt=Object.assign(Ae(jt,[["__scopeId","data-v-02fd7757"]]),{__name:"BlocksHeroSlide"});export{Kt 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.