PageSourceSearch

https://liselundpark.dk/_nuxt/BbuKqvAA.js

js liselundpark.dk collected 2026-10-08 01:15:14 UTC 10,640 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DJiSB61n.js","./BTLNBQxP.js","./entry.D2zIF95U.css","./Ba3wiqM6.js","./Gc-Tr3Ud.js","./ButtonHeart.BdWLMxtT.css"])))=>i.map(i=>d[i]);
2import{N as ze,a0 as Ae,W as T,aL as oe,P as v,aM as se,aA as Le,a3 as Se,a2 as Be,a6 as r,a7 as o,a8 as s,at as c,aa as b,ak as l,af as t,av as k,a9 as u,ai as h,aj as f,ah as C,ab as N,ac as ne,am as Fe,ap as Pe,al as He}from"./BTLNBQxP.js";import je from"./D1SQsShE.js";import{_ as De}from"./Gc-Tr3Ud.js";import{_ as Ie}from"./DPCGw10B.js";import{u as Ve,_ as xe,a as re}from"./CrJoP4HH.js";import{_ as Ge}from"./vSDepRmr.js";import{u as m}from"./C0PpYqpj.js";import{u as Me}from"./Ba3wiqM6.js";import{u as Oe}from"./D1NL6JWU.js";import"./DlAUqK2U.js";import"./CXZGqsOm.js";const We=Fe(()=>He(()=>import("./DJiSB61n.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(w=>w.default||w)),Ke={class:"b-footer relative mt-auto flex h-full flex-col justify-end"},Re={class:"relative z-10 transition-transform duration-500 ease-in-out-fast max-lg:translate-y-[var(--footer-translate-amount)]"},qe={class:"relative items-start bg-[var(--theme-footer-top-background)] px-4 pb-spacing-5 pt-spacing-8 text-[var(--theme-footer-top-text)] md:grid md:grid-cols-12 lg:px-10"},Je={key:0,"aria-labelledby":"opening-hours",class:"pb-20 lg:pb-32"},Qe={id:"opening-hours",class:"sr-only"},Ue={"aria-labelledby":"address"},Xe={id:"address",class:"sr-only"},Ye={class:"pb-spacing-4"},Ze={key:0},et={key:1},tt=["aria-label"],at={key:0,class:"bg-[var(--theme-footer-background)]"},ot={class:"sr-only"},st={class:"flex flex-wrap items-stretch"},nt=["aria-expanded","aria-label"],rt={class:"text-nowrap"},lt={class:"flex items-center justify-center"},it=["inert"],ut={class:"py-10 md:grid md:grid-cols-12 pb-24"},dt={key:0,class:"col-span-6 md:grid md:grid-cols-2"},ct={key:1,class:"flex flex-col space-y-2.5"},mt=ze({__name:"Footer",props:{root:{}},setup(w,{expose:le}){const _=Ae(),{isFamily:ie,invert:ue}=Me(),E=T(()=>ue("border-stroke-neutral-secondary","border-stroke-neutral-secondary-invert")),{load:de,unload:ce}=oe("body { overflow: hidden; }",{manual:!0}),{load:me,unload:pe}=oe("body { overflow-anchor: none; }",{manual:!0}),ge=Ve(),i=v(!1),he=v(null),S=v(null),z=v(null),B=v(null),$=v(null),{captureTrigger:fe,returnFocus:ye}=Oe(),{height:ve}=se(B),{height:be}=se(S),{width:we,height:_e}=Le(),F=T(()=>i.value?Math.min(ve.value,_e.value-be.value):0);le({drawerOpen:i});const $e=T(()=>{var e,d;return(d=((e=w.root)==null?void 0:e.related)||[])==null?void 0:d.map(p=>p.items.length).reduce((p,g)=>p+g,0)});Se(i,()=>{setTimeout(()=>{i.value&&window.scrollBy({top:F.value,behavior:"smooth"})},100),i.value?me():pe(),we.value>=1024&&(i.value?de():ce())});const A=()=>{i.value=!i.value,i.value?fe($.value):ye()};Be("keydown",e=>{if(!i.value)return;if(e.key==="Escape")return A();if(e.key!=="Tab"||!$.value||!z.value)return;const d=z.value.querySelectorAll("a[href], button:not([disabled])");if(!d.length)return;const p=$.value,g=d[d.length-1];!e.shiftKey&&document.activeElement===g?(e.preventDefault(),p.focus()):e.shiftKey&&document.activeElement===p&&(e.preventDefault(),g.focus())});const Te=T(()=>{var e;return _.value==="nationalmuseet"?"/":`https://www.nationalmuseet.dk/${(e=w.root)==null?void 0:e.locale}`});return(e,d)=>{var P,H,j,D,I,V,x,G,M,O,W,K,R,q,J,Q,U,X,Y,Z,ee,te,ae;const p=je,g=De,ke=Ie,Ce=xe,Ne=We,Ee=Ge;return o(),r("footer",Ke,[s("div",Re,[s("div",qe,[s("div",{onClick:d[0]||(d[0]=a=>A()),"aria-hidden":"true",class:l([t(i)?"pointer-events-none opacity-0 lg:pointer-events-auto lg:opacity-90":"pointer-events-none opacity-0","fixed inset-0 z-10 cursor-pointer bg-[var(--theme-footer-top-background)] transition-opacity duration-300 ease-out"])},null,2),s("div",{class:l(["md:col-span-6",("cn"in e?e.cn:t(k))(("useTypography"in e?e.useTypography:t(m))("h5"),"text-[28px]")])},[(P=e.root)!=null&&P.openingHours?(o(),r("section",Je,[s("h2",Qe,u(e.$t("navigation.opening hours")),1),(o(!0),r(h,null,f(((j=(H=e.root)==null?void 0:H.openingHours)==null?void 0:j.overview)||[],a=>(o(),r(h,{key:"footer.openinghours.overview."+a.key},[s("p",null,u(a.key),1),s("p",null,u(a.value),1)],64))),128))])):c("",!0),s("section",Ue,[s("h2",Xe,u(e.$t("navigation.address")),1),s("div",Ye,[(I=(D=e.root)==null?void 0:D.address)!=null&&I.street?(o(),r("div",Ze,u(e.root.address.street),1)):c("",!0),(x=(V=e.root)==null?void 0:V.address)!=null&&x.city?(o(),r("div",et,u(e.root.address.city),1)):c("",!0)]),(o(!0),r(h,null,f(((M=(G=e.root)==null?void 0:G.footerNavigation)==null?void 0:M.general)||[],a=>(o(),C(g,{key:`footer.navigation.general.${a.label}-${a.url}`,to:a.url,class:l(["flex min-h-[44px] items-center space-x-spacing-2 hover:underline",("useTypography"in e?e.useTypography:t(m))("button")]
2)},{default:N(()=>[s("span",null,u(a.label),1),a.icon?(o(),C(p,{key:0,name:`custom-icon:${a.icon}`,size:"12px"},null,8,["name"])):c("",!0)]),_:2},1032,["to","class"]))),128)),d[2]||(d[2]=s("hr",{class:"my-spacing-6 h-[2px] bg-black opacity-5 md:hidden"},null,-1))])],2),(K=(W=(O=e.root)==null?void 0:O.footerNavigation)==null?void 0:W.groups)!=null&&K.length?(o(),r("nav",{key:0,"aria-label":e.$t("navigation.footer"),class:"grid grid-cols-2 gap-x-5 gap-y-10 md:col-span-6"},[(o(!0),r(h,null,f(e.root.footerNavigation.groups,(a,y)=>(o(),r("ul",{key:`footer.navigation.groups.${y}`,class:"col-span-1 flex w-full flex-col space-y-spacing-2"},[(o(!0),r(h,null,f(a,(n,L)=>(o(),r("li",{key:`footer.navigation.groups.${y}.${L}`},[n!=null&&n.url?(o(),C(g,{key:0,to:n==null?void 0:n.url,target:n!=null&&n.openInNewTab?"_blank":"_self",class:l(["block hover:underline",("useTypography"in e?e.useTypography:t(m))("md")])},{default:N(()=>[ne(u(n==null?void 0:n.label),1)]),_:2},1032,["to","target","class"])):c("",!0)]))),128))]))),128))],8,tt)):c("",!0)]),t(_)=="frihedsmuseet"?(o(),r("div",at,[b(ke,{class:"mx-container"})])):c("",!0),b(g,{ref_key:"$logo",ref:he,to:t(ge),"active-class":" ","exact-active-class":" ",class:l(["relative flex flex-col w-full bg-[var(--theme-footer-background)] px-container py-4 lg:py-12",{"items-center":!["bevaring-nationalmuseet","forskning-nationalmuseet","samling-nationalmuseet"].includes(t(_))}]),"aria-label":e.$t("actions.home link"),style:{color:"var(--theme-footer-text)"}},{default:N(()=>[b(Ce,{"aria-hidden":"true",variant:"primary",class:l([{"lg:w-1/2":["bevaring-nationalmuseet","forskning-nationalmuseet","samling-nationalmuseet"].includes(t(_))},{"w-3/4 mx-auto":t(_)==="frihedsmuseet"}])},null,8,["class"]),s("span",ot,u(e.$t("actions.home link")),1)]),_:1},8,["to","class","aria-label"])]),s("div",{ref_key:"$buttonGroup",ref:S,class:l(["relative z-top bg-theme-primary-1 text-theme-primary-2 transition-transform duration-500 ease-in-out-fast lg:flex",("useTypography"in e?e.useTypography:t(m))("sm")])},[b(Ne,{tag:"nuxtlink",to:t(Te),label:t(ie)("nationalmuseet")?e.$t("general.national museum of denmark"):e.$t("general.a part of the national museum"),class:l(("cn"in e?e.cn:t(k))("lg:max-w-[360px] cursor-pointer",("useTypography"in e?e.useTypography:t(m))("md")))},null,8,["to","label","class"]),s("div",{class:l(["z-top w-full",t(E)])},[s("div",st,[(o(!0),r(h,null,f(((q=(R=e.root)==null?void 0:R.footerNavigation)==null?void 0:q.featured)||[],(a,y)=>(o(),r("div",{key:`footer.navigation.featured.${y}.${a.label}`,class:l(["h-button-height flex shrink-0 grow basis-1/2 border-b border-l first:border-l-0 lg:basis-1/4 lg:border-t",t(E)])},[b(Ee,{style:{"--button-radius":"0px"},icon:"custom-icon:external-link",class:l(("cn"in e?e.cn:t(k))(["w-full items-center justify-center border-none bg-transparent text-current",("useTypography"in e?e.useTypography:t(m))("md")])),label:a.label,target:a.openInNewTab?"_blank":"_self",tag:"a",to:a.url,"nothing-on-leave":!0,align:"center"},null,8,["class","label","target","to"])],2))),128)),s("div",{class:l(["h-button-height flex shrink-0 grow basis-1/2 border-b border-l lg:basis-1/4 lg:border-t",t(E),(U=(Q=(J=e.root)==null?void 0:J.footerNavigation)==null?void 0:Q.featured)!=null&&U.length?"":"lg:ml-auto lg:grow-0"])},[s("button",{ref_key:"$drawerToggle",ref:$,onClick:d[1]||(d[1]=a=>A()),"aria-expanded":t(i),"aria-label":t(i)?e.$t("actions.close")+"  "+e.$t("navigation.all museums"):e.$t("actions.open")+" "+e.$t("navigation.all museums"),class:l(("cn"in e?e.cn:t(k))("h-button-height space-x-spacing-2 relative flex w-full items-center justify-center hover:underline",("useTypography"in e?e.useTypography:t(m))("md"),{"bg-surface-neutral-secondary":t(i)}))},[s("span",rt,u(e.$t("navigation.all museums")),1),s("span",lt,[b(p,{name:"custom-icon:chevron",class:l(t(i)?"lg:rotate-180":"max-lg:rotate-180"),size:"12px"},null,8,["class"])])],10,nt)],2)])],2)],2),s("div",{ref_key:"$drawer",ref:z,role:"dialog","aria-labelledby":"drawerTitle","aria-modal":"true",inert:!t(i)||void 0,class:l(["drawer overflow-auto overscroll-contain w-full bg-theme-primary-1 px-4 text-theme-primary-2 lg:bottom-[calc(var(--button-height))] lg:transition-all lg:duration-500 lg:absolute lg:z-20 lg:px-10",{"transition-all duration-500":!t(i)}]),style:Pe({height:t(F)+"px"})},[s("div",{ref_key:"$drawerContent",ref:B},[s("div",ut,[s("div",{class:l(["mb-spacing-5 md:col-span-6 lg:mb-0",("useAnimatedCl
2ipPath"in e?e.useAnimatedClipPath:t(re))(t(i),(Y=(X=e.root)==null?void 0:X.related)!=null&&Y.length?(((ee=(Z=e.root)==null?void 0:Z.related)==null?void 0:ee.length)+1)*200:0,300),"lg:delay-400"])},[s("h2",{id:"drawerTitle",class:l(["max-w-[300px]",("useTypography"in e?e.useTypography:t(m))("h4")])},u(t($e))+" "+u(e.$t("navigation.museums across the country")),3)],2),(ae=(te=e.root)==null?void 0:te.related)!=null&&ae.length?(o(),r("div",dt,[(o(!0),r(h,null,f(e.root.related,(a,y)=>(o(),r("div",{key:`footer.navigation.related.${a.title}`,class:l(["mb-spacing-4 last:mb-0",("useAnimatedClipPath"in e?e.useAnimatedClipPath:t(re))(t(i),(e.root.related.length-y)*200,300),"lg:delay-500"])},[a!=null&&a.title?(o(),r("h3",{key:0,class:l(["mb-spacing-2",("useTypography"in e?e.useTypography:t(m))("sm")])},u(a.title),3)):c("",!0),a!=null&&a.items?(o(),r("ul",ct,[(o(!0),r(h,null,f(a.items,(n,L)=>(o(),r("li",{class:l(("useTypography"in e?e.useTypography:t(m))("h6")),key:`footer.navigation.related.${a.title}.${L}.${n.label}`},[n!=null&&n.url?(o(),C(g,{key:0,to:n.url,"aria-label":n.label,class:"hover:underline",target:n!=null&&n.openInNewTab?"_blank":"_self"},{default:N(()=>[ne(u(n.label),1)]),_:2},1032,["to","aria-label","target"])):c("",!0)],2))),128))])):c("",!0)],2))),128))])):c("",!0)])],512)],14,it)])}}}),kt=Object.assign(mt,{__name:"BlocksFooter"});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.