PageSourceSearch

https://www.roskilde.dk/_nuxt/DxoJW7pM.js

js roskilde.dk collected 2026-09-24 09:24:56 UTC 11,183 bytes, 1 lines download raw bytes

1import{C as e,D as t,E as a,G as l,Gt as s,Lt as r,M as i,N as n,St as o,T as c,Tt as u,_ as d,ct as m,fn as p,hn as f,it as g,mn as y,q as h,st as x,tt as b,vt as v,w as k}from"./B8XHxhss.js";import{D as w,Ht as _,M as S,O as z,_ as j,at as $,j as C}from"#entry";import{t as O}from"./DnRsJ2ze.js";import{t as A}from"./BeUuO7ch.js";import{t as T}from"./DXNx4Ry-.js";import{n as L,t as D}from"./B-LgYetl.js";import{n as H}from"./Bw1DG2ER.js";import{t as M}from"./61JeOhw3.js";import{t as N}from"./tqTN72Kp.js";import{t as B}from"./CqvLaLzd.js";var I=["type","poster","aria-label","aria-hidden","autoplay","muted","width","height"],V=["src"],E=["textContent"],P={__name:"BaseHtmlAutoplayVideo",props:h({video:Object,muted:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},oncanplay:String,ariaLabel:String},{playState:{type:Boolean,default:!0},playStateModifiers:{}}),emits:["update:playState"],setup(l,{expose:i}){const n=l,c=v(l,"playState"),u=e(()=>n.autoplay&&c.value),d=r(null),m=()=>{const e=[];return n.muted&&e.push("this.muted = true"),u.value&&e.push("this.play()"),n.oncanplay&&e.push(n.oncanplay),e.join("; ")};function p(e){d.value&&(e&&d.value.paused?d.value.play():e||d.value.paused||d.value.pause())}return o(c,p),b(()=>{p(c.value)}),i({$el:d,playState:c}),(e,r)=>l.video?(g(),t("video",{key:0,ref_key:"$el",ref:d,class:"c-base-html-autoplay-video",type:[l.video?.type??"video",l.video?.extension??"mp4"].join("/"),poster:l.video?.posterUrl,"aria-label":l.ariaLabel,"aria-hidden":l.ariaLabel?null:"true",autoplay:s(u),muted:l.muted,width:l.video?.width,height:l.video?.height,loop:"",playsinline:"",oncanplay:m},[k("source",{src:l.video.url,type:"video/mp4"},null,8,V),l.ariaLabel?(g(),t("p",{key:0,textContent:f(l.ariaLabel)},null,8,E)):a("",!0)],8,I)):a("",!0)}};var F={class:"flex items-center"},U={class:"flex flex-wrap items-center gap-5xs"},X={key:"button",class:"relative flex-shrink-0 flex-grow-0"},q={__name:"BaseBreadcrumb",props:{frontpageName:String,breadcrumb:{type:Array,default:void 0},mode:{type:String,default:"collapse",validator:e=>["collapse","multiline"].includes(e)}},setup(l){const r=l,o=e(()=>{if(!r.breadcrumb)return[];const e=JSON.parse(JSON.stringify(r.breadcrumb))?.filter?.(({name:e,url:t,key:a})=>e&&t&&a)?.map?.(e=>{if(e?.url?.startsWith?.("http")&&e.url?.includes("/localhost/")){const{url:t}=$()?.site||{};return{...e,url:t}}return e})??[];if(r.frontpageName){const t=e.shift(),{url:a}=$()?.site||{};t.url&&a.includes(t.url)&&(t.name=r.frontpageName),e.unshift(t)}return e});return(e,r)=>{const m=T,h=z,b=w,v=L,_=D,S=H;return s(o)?.length?(g(),c(S,{key:0,tag:"nav","aria-label":"Brødkrumme",class:"c-base-breadcrumb",force:s(o).length<3||"multiline"===l.mode?"content":null},{collapsed:u(()=>[k("ul",U,[k("li",X,[n(b,{tag:s(M),size:"xs",color:"surfaceVariant","aria-label":("localize"in e?e.localize:s(j))("MORE_OPTIONS",{capitalize:!0}),"aria-owns":"base-breadcrumb-list","additional-click-query":"#base-breadcrumb-list--scrollbars",class:"aria-expanded:bg-surfaceVariantActive"},{icon:u(()=>[n(m,{name:"more-horiz",class:"w-full h-full"})]),_:1},8,["tag","aria-label"]),n(_,{id:"base-breadcrumb-list",class:"absolute left-0 top-full min-w-244 max-h-[min(400px,80vh)] mt-5xs z-2",color:"surfaceVariant",options:{suppressScrollX:!0}},{default:u(()=>[(g(!0),t(d,null,x(s(o).slice(0,-2),({key:e,name:t,url:a},l)=>(g(),c(v,{id:`breadcrumb-${e}-${l}`,key:`breadcrumb-${e}-${l}`,class:"text-caption-md-regular text-subtle",to:a},{default:u(()=>[k("span",{class:"inline-flex gap-5xs items-center",style:y({paddingLeft:`calc(var(--theme-spacing-4xs) * ${l})`})},[i(f(t)+" ",1),n(m,{name:"chevron-right",class:"w-1.33em h-1.33em"})],4)]),_:2},1032,["id","to"]))),128))]),_:1})]),(g(!0),t(d,null,x(s(o).slice(-2),({key:e,name:a,url:l},s)=>(g(),t("li",{key:e,class:"c-base-breadcrumb__item text-caption-md-regular text-subtle inline-flex gap-5xs flex-shrink flex-grow-0 items-center"},[n(m,{name:"chevron-right"}),n(h,{to:l,class:p({"text-disabled":1===s,"hover:text-interactiveHover active:text-interactiveActive":1!==s})},{default:u(()=>[i(f(a),1)]),_:2},1032,["to","class"])]))),128))])]),default:u(()=>[k("ul",F,[(g(!0),t(d,null,x(s(o),({key:e,name:l,url:r},d)=>(g(),t("li",{key:e,class:"c-base-breadcrumb__item text-caption-md-regular text-strong inline-flex gap-5xs flex-shrink-0 flex-grow-0 items-center"},[d?(g(),c(m,{key:0,name:"chevron-right",class:"opacity-35"}
1)):a("",!0),n(h,{to:r,class:p(["text-subtle",{"hover:text-interactiveHover active:text-interactiveActive":d!==s(o).length-1}])},{default:u(()=>[i(f(l),1)]),_:2},1032,["to","class"])]))),128))])]),_:1},8,["force"])):a("",!0)}}};var G=["textContent"];var J=Object.assign(C({},[["render",function(e,a){return g(),t("a",{id:"start-of-main-content",class:"c-start-of-main-content",tabindex:"-1",textContent:f(("localize"in e?e.localize:s(j))("START_OF_MAIN_CONTENT"))},null,8,G)}]]),{__name:"StartOfMainContent"}),R=S("BaseTag"),Y=["aria-labelledby"],W={key:0,class:"c-page-header__image"},K={key:0,class:"absolute bottom-sm left-0 mx-sm px-2xs py-4xs rounded-full bg-surface text-medium"},Q={role:"doc-credit",class:"flex items-center gap-4xs"},Z={class:"text-caption-md-strong"},ee={class:"text-caption-md-regular"},te={key:0,class:"w-full h-full relative"},ae={key:1,class:"text-caption-md-regular mt-2xs h-1lh"},le=["innerHTML"],se=["innerHTML"],re={key:2,class:"inline-flex gap-3xs mt-sm pt-2xs"},ie=["datetime","textContent"],ne={key:1,class:"text-body-sm-regular text-subtle"},oe=["textContent"],ce=["textContent"],ue=["datetime","textContent"],de={key:0,class:"mt-md flex gap-10 justify-start w-12/12col >=1280:w-8/12col flex-wrap empty:hidden print:mr-auto"},me={key:1,class:"mt-md flex gap-4xs justify-start w-12/12col >=1280:w-8/12col flex-wrap empty:hidden"},pe={key:2,class:"w-full flex flex-col items-center mt-2xl empty:hidden"},fe={__name:"PageHeader",props:{color:{type:String,default:null,validate:e=>!e||["surface","primary","canvas"].includes(e)},alignment:{type:String,default:"center",validates:e=>["center","left"].includes(e)},image:Object,video:Object,breadcrumb:{type:Array,default:void 0},title:String,titleId:String,description:String,teaser:String,date:{type:String,default:void 0},author:Object,category:[String,Array],tags:Array},setup(o){const{intro:y={},breadcrumb:h}=l("pageContent",{}),b=o,v=r(!0),{updateDate:S}=l("pageContent",{}),$=e(()=>b.color??l("defaultPageHeaderColor",void 0)??void 0),C=e(()=>void 0===b.image?y.image:b.image),L=e(()=>void 0===b.video?y.video:b.video),D=e(()=>void 0===b.breadcrumb?h:b.breadcrumb),H=e(()=>void 0===b.title?y.title:b.title),M=e(()=>b.teaser?b.teaser:y.teaser?y.teaser:void 0===b.description?y.description:b.description),I=e(()=>void 0===b.date?y.date:b.date),V=e(()=>{const e=void 0===b.category?y.category:b.category;return Array.isArray(e)&&e.length>0?e.map(e=>e.name).join(", "):e});function E(){v.value=!v.value}return(e,l)=>{const r=A,y=P,h=T,b=w,F=q,U=J,X=O,G=z,fe=R;return g(),t("header",{class:p(["c-page-header",[s($)&&`c-page-header--color--${s($)}`,("hasSlot"in e?e.hasSlot:s(N))("filters")&&"c-page-header--has-filters"]]),"aria-labelledby":s(H)&&o.titleId?o.titleId:null},[!s(C)&&!e.$slots.image||s(L)||e.$slots.video?a("",!0):m(e.$slots,"image",{},()=>[s(C)||e.$slots.image?(g(),t("figure",W,[n(r,{class:"!w-full h-full",fit:"cover",sizes:"100vw",loading:"eager","img-attrs":{fetchpriority:"high"},src:s(C).cropUrl||s(C).url,width:s(C).width,height:s(C).height,alt:s(C).altText,ratio:3},{attribution:u(()=>[s(C)?.attribution?(g(),t("figcaption",K,[k("div",Q,[k("span",Z,f(("localize"in e?e.localize:s(j))("PHOTO",{capitalize:!0})),1),k("span",ee," © "+f(s(C).attribution),1)])])):a("",!0)]),_:1},8,["src","width","height","alt"])])):a("",!0)],void 0,0),m(e.$slots,"video",{},()=>[s(L)||e.$slots.video?(g(),t("div",te,[n(y,{class:"w-full max-h-40vh","play-state":s(v),video:s(L),preload:"meta",loading:"eager"},null,8,["play-state","video"]),n(b,{role:"button",class:"absolute right-sm bottom-sm p-3xs",color:"secondary","aria-label":s(v)?("localize"in e?e.localize:s(j))("PAUSE_VIDEO",{capitalize:!0}):("localize"in e?e.localize:s(j))("PLAY_VIDEO",{capitalize:!0}),onClick:_(E,["prevent"])},{icon:u(()=>[s(v)?(g(),c(h,{key:0,name:"pause-circle"})):(g(),c(h,{key:1,name:"play"}))]),_:1},8,["aria-label"])])):a("",!0)]),m(e.$slots,"breadcrumb",{},()=>[s(D)?.length?(g(),c(F,{key:0,class:"w-full px-20 mt-2xs",breadcrumb:s(D)},null,8,["breadcrumb"])):(g(),t("div",ae))]),n(U),k("div",{class:p(["c-page-header__headings w-12/12col >=1280:w-8/12col print:!w-full flex flex-col",{"items-center text-center >=656:max-w-10/12col":"center"===o.alignment,"items-start":"left"===o.alignment}])},[s(H)?(g(),c(X,{key:0,id:o.titleId,class:p(["text-display-lg text-strong whitespace-pre-line hyphens-auto max-w-full mt-xl",{"max-w-18.4em":"center"===o.alignment}])},{default:u(()=>[k("span",{innerHTML:s(H)},null,8,le)]),_:1},8,["id","class"])):a("",!0),s(M)?(g(),t("p",{key:1,class:p(["text-heading-md-regular text-medium whitespace-pre-line mt-sm",{"max-w-33.5em":"center"===o.alignment}]),innerHTML:s(M)},null,10,se)):a("",!0),s(I)||o.author||s(V)?(g(),t("span",re,[s(I)?(g(),t("time",{key:0,class:"text-body-sm-regular text-subtle",datetime:s(I),textContent:f(("useFormatDate"in e?e.useFormatDate:s(B))(s(I)))},null,8,ie)):a("",!0),o.author?.name?(g(),t("address",ne,[k("span",null,[k("span",{textContent:f(("localize"in e?e.localize:s(j))("BY_X",{capitalize:!0,populate:[""]}))},null,8,oe),n(G,{href:o.author.url,rel:o.author.url?"author":null,class:
1p(["inline-flex gap-3xs items-center",o.author.url?"text-body-sm-link text-interactive":null])},{default:u(()=>[i(f(o.author.name)+" ",1),k("figure",{class:p(["flex-shrink-0 relative w-24 h-24 -my-100% rounded-full text-strong inline-flex justify-center items-center",{"bg-surfaceVariant":!["location","department"].includes(o.author.type),"bg-primary":["location","department"].includes(o.author.type)}])},[o.author.image?(g(),c(r,{key:0,fit:"cover",class:"absolute inset-0 hover:brightness-110 active:brightness-90 rounded-full overflow-hidden",sizes:"24px",src:o.author.image.cropUrl||o.author.image.url,ratio:1},null,8,["src"])):"location"===o.author.type?(g(),c(h,{key:1,name:"location-on"})):"department"===o.author.type?(g(),c(h,{key:2,name:"department"})):"member"===o.author.type?(g(),c(h,{key:3,name:"user"})):a("",!0)],2)]),_:1},8,["href","rel","class"])])])):a("",!0),s(V)?(g(),t("small",{key:2,class:"text-body-sm-regular text-subtle",textContent:f(s(V))},null,8,ce)):a("",!0)])):a("",!0),s(S)?(g(),t("time",{key:3,class:"sr-only",datetime:s(S),textContent:f(("localize"in e?e.localize:s(j))("LAST_UPDATED_X",{populate:[("useFormatDate"in e?e.useFormatDate:s(B))(s(S))]}))},null,8,ue)):a("",!0),e.$slots.tags||o.tags?.length?m(e.$slots,"tags",{},()=>[o.tags?.length?(g(),t("div",de,[(g(!0),t(d,null,x(o.tags,e=>(g(),c(fe,{key:e,color:"surfaceVariant"},{default:u(()=>[i(f(e),1)]),_:2},1024))),128))])):a("",!0)],void 0,4):a("",!0)],2),e.$slots.actions?(g(),t("div",me,[m(e.$slots,"actions")])):a("",!0),("hasSlot"in e?e.hasSlot:s(N))("filters")?(g(),t("div",pe,[m(e.$slots,"filters")])):a("",!0)],10,Y)}}};export{fe as t};

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.