PageSourceSearch

https://kongernesjelling.dk/_nuxt/8hjt6Qt3.js

js kongernesjelling.dk collected 2026-10-02 12:48:21 UTC 10,392 bytes, 1 lines download raw bytes

1import{_ as ze}from"./CnffHLoe.js";import{_ as je}from"./C7omXjIn.js";import{aG as Ce,W as G,a0 as Te,a6 as s,at as n,a7 as o,a8 as r,ah as W,af as l,ak as m,av as A,a9 as h,au as $e,ap as J,ai as we,aj as xe,aa as Be,ab as Se}from"./C4DTFQLm.js";import{u as b}from"./WjvoOl1_.js";import{_ as Fe}from"./DlAUqK2U.js";import Ve from"./BQM3aigP.js";import{_ as Ne}from"./D0RPKx-r.js";import{_ as Ie}from"./nuPXTILC.js";import{u as Me}from"./D6exqEJX.js";import{g as D}from"./CVLVhzRH.js";const Pe={class:"rotate-180 transform"},qe={class:"absolute bottom-0 left-0 right-0 top-0 h-full w-full"},Ee={__name:"BlocksBillboardPartialsMedia",props:{item:{type:Object,required:!0}},setup(e){const a=Ce("data"),i=e,X=G(()=>{var c,d,t;switch((c=a==null?void 0:a.layout)==null?void 0:c.mode){case"split":return((d=a==null?void 0:a.layout)==null?void 0:d.mediaBackgroundColor)||"";case"split-reversed":return((t=a==null?void 0:a.layout)==null?void 0:t.mediaBackgroundColor)||"";default:return}}),k=Te(),Z=G(()=>{var d;let c=((d=i==null?void 0:i.item)==null?void 0:d.textColor)||"var(--primary-color-1)";return(a==null?void 0:a.layout.mode)=="full-media"?"absolute text-[var(--primary-color-2)] bottom-0 right-0 lg:right-[var(--theme-billboard-media-padding)] max-lg:h-4  lg:bottom-5 z-top flex origin-bottom-right -translate-y-0 rotate-90 transform items-center text-right lg:text-white":`text-[${c}] absolute bottom-[var(--theme-billboard-media-padding)] right-[var(--theme-billboard-media-padding)] z-top flex h-4 origin-bottom-right -translate-y-0 rotate-90 transform items-center text-right lg:bottom-0 lg:right-0 lg:h-8'`});return(c,d)=>{var g,w,x,f,p,v,C,T,F,z,j,$,S,V,N,I,M,P,q,E,H,L,O,R;const t=ze,y=je;return(w=(g=e.item)==null?void 0:g.media)!=null&&w.src||(f=(x=e.item)==null?void 0:x.media)!=null&&f.playbackId?(o(),s("div",{key:0,class:m(["media relative overflow-hidden",l(a).layout.mediaBackgroundColor?"flex items-center justify-center":""]),style:J({backgroundColor:l(X)})},[r("figure",{class:m(["media-type relative z-20 col-span-full h-full w-full",[(v=(p=l(a))==null?void 0:p.layout)!=null&&v.mediaBackgroundColor?"with-bg":"lg:max-h-svh",l(k)==="frilandsmuseet"&&((C=e.item)!=null&&C.element)||l(k)==="krigsmuseet"?"with-floaty-element":""]])},[d[0]||(d[0]=r("div",{"aria-hidden":!0,class:"overlay absolute inset-x-0 inset-y-0 hidden bg-black opacity-30"},null,-1)),((T=e.item)==null?void 0:T.media.type)==="image"?(o(),W(t,{key:0,crop:(z=(F=e.item)==null?void 0:F.media)==null?void 0:z.crop,hotspot:($=(j=e.item)==null?void 0:j.media)==null?void 0:$.hotspot,src:(S=e.item)==null?void 0:S.media.src,alt:(V=e.item)==null?void 0:V.media.alt,sizes:((I=(N=l(a))==null?void 0:N.layout)==null?void 0:I.mode)=="full-media"?"xs:100vw sm:100vw md:100vw lg:100vw xl:100vw 2xl:100vw":"xs:100vw sm:100vw md:100vw lg:50vw xl:50vw 2xl:50vw",class:"image h-full w-full object-cover"},null,8,["crop","hotspot","src","alt","sizes"])):n("",!0),(P=(M=e.item)==null?void 0:M.media)!=null&&P.caption?(o(),s("figcaption",{key:1,class:m([l(Z),("cn"in c?c.cn:l(A))(("useTypography"in c?c.useTypography:l(b))("label"))])},[r("div",Pe,h((E=(q=e.item)==null?void 0:q.media)==null?void 0:E.caption),1)],2)):n("",!0),((H=e.item)==null?void 0:H.media.type)==="video"?(o(),W(y,$e({key:2},e.item.media,{autoplay:"",loop:"",muted:"",class:"aspect-video h-full w-full object-cover",controls:!1}),null,16)):n("",!0)],2),r("div",qe,[l(k)==="frilandsmuseet"||l(k)=="krigsmuseet"&&((L=e.item)!=null&&L.element)?(o(),s("div",{key:0,"aria-hidden":"true",class:"h-full w-full",style:J({"-webkit-mask-image":"url(/elements/frilands-004.svg)","-webkit-mask-repeat":"no-repeat","-webkit-mask-size":"cover","-webkit-mask-position":"center","mask-image":`url(/elements/${(O=e.item)==null?void 0:O.element}.svg)`,"mask-repeat":"no-repeat","mask-size":"cover","mask-position":"center","background-color":`${(R=e.item)==null?void 0:R.textColor}`,transform:l(k)==="krigsmuseet"?"scale(1)":"scaleX(-1)"})},null,4)):n("",!0)])],6)):n("",!0)}}},lt=Fe(Ee,[["__scopeId","data-v-15143078"]]),He={class:"px-spacing-margin flex w-full items-start justify-between"},Le={class:"grid"},Oe={key:1,class:"space-y-spacing-2 flex flex-col"},Re={key:2,class:"space-y-spacing-2 mt-10 flex w-fit flex-col lg:mt-20"},De={class:"text-left"},Ge={class:"flex w-3 justify-center"},We={class:"space-x-spacing-2 flex items-center"},Xe=["to"],Ze={__name:"BlocksBillboardPartialsText",props:{item:{type:Object,required:!0}},setup(e){const a=e,i=Ce("data"),X=Te(),{isFamily:k}=Me(),Z=G(()=>{var w,x,f,p,v;const t=((w=i==null?void 0:i.layout)==null?void 0:w.view)==="multiple",y=((x=i==null?void 0:i.layout)==null?void 0:x.view)==="single"&&((f=i==null?void 0:i.layout)==null?void 0:f.mode)==="full-media";return((p=a==null?void 0:a.item)==null?void 0:p.media)&&!((v=a==null?void 0:a.item)!=null&&v.backgroundColor)&&(t||y)}),c=G(()=>{var t;if(Z.value){switch(X.value){case"frilandsmuseet":return"var(--primary-color-1)";case"kommandoergaarden":return"var(--primary-color-1)";case"frihedsmuseet":return"var(--light-color)"}return"#FFFFFF"}return(t=a==null?void 0:a.item)==null?void 0:t.textColor}),d=G(()=>{var y,g;
1const t={impactBackground:((y=a==null?void 0:a.item)==null?void 0:y.textColor)||"var(--primary-color-2)",impactForeground:((g=a==null?void 0:a.item)==null?void 0:g.backgroundColor)||"var(--primary-color-1)"};if(Z.value)switch(X.value){case"krigsmuseet":case"frihedsmuseet":return D({impactBackground:"var(--primary-color-3)",impactForeground:"var(--primary-color-4)"});case"kronborg":return D({impactBackground:"var(--primary-color-1)",impactForeground:"var(--primary-color-3)"});case"frilandsmuseet":return D({impactBackground:"var(--primary-color-1)",impactForeground:"var(--primary-color-2)"});default:return D({impactBackground:"var(--primary-color-1)",impactForeground:"var(--primary-color-2)"})}return D(t)});return(t,y)=>{var f,p,v,C,T,F,z,j,$,S,V,N,I,M,P,q,E,H,L,O,R,K,Q,U,Y,_,ee,te,ae,le,oe,ie,re,se,ne,me,ce,ue,de,ge,ye,he,fe,pe,ve,be,ke;const g=Ve,w=Ne,x=Ie;return o(),s("div",{class:m(["content relative z-20 grid h-full grid-cols-subgrid flex-col justify-end overflow-hidden lg:col-span-6",[{"lg:pb-10":((p=(f=l(i))==null?void 0:f.layout)==null?void 0:p.mode)!=="compact"},{"lg:pt-20":(C=(v=e.item)==null?void 0:v.topbar)==null?void 0:C.text},{"border-stroke-neutral-secondary border-y max-lg:border-x":!((T=e.item)!=null&&T.backgroundColor)&&((z=(F=l(i))==null?void 0:F.layout)==null?void 0:z.mode)=="compact"}]]),style:J({color:l(c),backgroundColor:(($=(j=l(i))==null?void 0:j.layout)==null?void 0:$.view)=="multiple"&&((S=e.item)!=null&&S.media)?"":(V=e.item)==null?void 0:V.backgroundColor})},[(I=(N=e.item)==null?void 0:N.topbar)!=null&&I.text?(o(),s("div",{key:0,class:m(["top-container absolute inset-x-0",{"mx-0 max-lg:top-5":((P=(M=l(i))==null?void 0:M.layout)==null?void 0:P.mode)=="compact"}])},[r("div",He,[r("span",{class:m(("useTypography"in t?t.useTypography:l(b))("h6"))},h(e.item.topbar.text),3),(E=(q=e.item)==null?void 0:q.topbar)!=null&&E.heart?(o(),W(g,{key:0,name:"custom-icon:heart",class:"bg-theme-impact-background h-[33px] w-10 lg:h-[62px] lg:w-[73px]"})):n("",!0)])],2)):n("",!0),r("div",{class:m(["max-lg:px-spacing-margin lg:pl-spacing-margin col-span-full mt-auto lg:col-span-5",[((L=(H=l(i))==null?void 0:H.layout)==null?void 0:L.mode)=="compact"?"pb-spacing-5 max-lg:pt-[120px]":"max-lg:py-spacing-5"]])},[r("div",Le,[(O=e.item)!=null&&O.headline?(o(),s("h2",{key:0,class:m(["row-start-2",("cn"in t?t.cn:l(A))(("useTypography"in t?t.useTypography:l(b))((R=e.item)!=null&&R.headlineStyle?(K=e.item)==null?void 0:K.headlineStyle:l(k)("kronborg")?"h3s":"h2"),"pb-spacing-4 z-20")]),style:{"-webkit-hyphens":"auto","-ms-hyphens":"auto","-moz-hyphens":"auto",hyphens:"auto","word-break":"break-word"}},h((Q=e.item)==null?void 0:Q.headline),3)):n("",!0),(U=e.item)!=null&&U.subheadline?(o(),s("div",{key:1,class:m(["pb-spacing-3 row-start-1",("useTypography"in t?t.useTypography:l(b))("h6")])},h((Y=e.item)==null?void 0:Y.subheadline),3)):n("",!0)]),(_=e.item)!=null&&_.text?(o(),s("div",{key:0,class:m(("cn"in t?t.cn:l(A))(("useTypography"in t?t.useTypography:l(b))("lg")))},h((ee=e.item)==null?void 0:ee.text),3)):n("",!0),(ae=(te=e.item)==null?void 0:te.bulletpoints)!=null&&ae.length?(o(),s("ul",Oe,[(o(!0),s(we,null,xe((le=e.item)==null?void 0:le.bulletpoints,(u,B)=>(o(),s("li",{key:B,class:m([("useTypography"in t?t.useTypography:l(b))("md"),"space-x-spacing-2 flex items-center"])},[y[0]||(y[0]=r("span",null,[r("svg",{width:"11",height:"2",viewBox:"0 0 11 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:"M0.48 1.64V0.2H10.38V1.64H0.48Z",fill:"currentColor"})])],-1)),r("span",null,h(u),1)],2))),128))])):n("",!0),(ie=(oe=e.item)==null?void 0:oe.options)!=null&&ie.length?(o(),s("ul",Re,[(o(!0),s(we,null,xe((re=e.item)==null?void 0:re.options,(u,B)=>(o(),s("li",{key:B,class:m(["gap-x-spacing-2 grid grid-cols-[1fr,auto,1fr] items-center",("useTypography"in t?t.useTypography:l(b))("md")])},[r("div",De,h(u==null?void 0:u.key),1),r("div",Ge,[Be(g,{name:"custom-icon:arrow"})]),r("div",We,[r("div",null,h(u==null?void 0:u.value),1)])],2))),128))])):n("",!0),(ne=(se=e.item)==null?void 0:se.cta)!=null&&ne.url?(o(),s("div",{key:3,to:(me=e.item)==null?void 0:me.cta.url,class:m(("cn"in t?t.cn:l(A))("mt-spacing-3 block min-h-[48px] min-w-[48px] lg:w-fit"))},[((ce=e.item)==null?void 0:ce.buttonVariant)!=="tertiary"?(o(),W(w,{key:0,tag:"a",to:(de=(ue=e.item)==null?void 0:ue.cta)==null?void 0:de.url,label:(ye=(ge=e.item)==null?void 0:ge.cta)==null?void 0:ye.label,class:"h-full w-full min-w-[240px] xl:w-fit",style:J(l(d)),"nothing-on-leave":!0,target:(fe=(he=e.item)==null?void 0:he.cta)!=null&&fe.openInNewTab?"_blank":"_self"},null,8,["to","label","style","target"])):n("",!0),((pe=e.item)==null?void 0:pe.buttonVariant)==="tertiary"?(o(),W(x,{key:1,to:(ve=e.item)==null?void 0:ve.cta.url,target:(ke=(be=e.item)==null?void 0:be.cta)!=null&&ke.openInNewTab?"_blank":"_self",class:"inline-block"},{default:Se(()=>{var u,B;return[r("div",{class:m([("useTypography"in t?t.useTypography:l(b))("sm"),"space-x-spacing-2 flex items-center"])},[r("span",null,h((B=(u=e.item)==null?void 0:u.cta)==null?void 0:B.label),1),Be(g,{name:"custom-icon:arrow"})],2)]}),_:1},8,["to","target"])):n("",!0)],10,Xe)):n("",!0)],2)],6)}}},ot=Fe(Ze,[["__scopeId","data-v-09970f56"]]);export{lt as _,ot as a};

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.