PageSourceSearch

https://www.vejle.dk/_nuxt/Cuuft2LD2.js

js vejle.dk collected 2026-09-24 17:41:08 UTC 7,753 bytes, 1 lines download raw bytes

1import{C as e,D as t,E as l,Gt as i,J as a,Lt as r,M as s,N as n,T as o,Tt as c,_ as d,_t as m,ct as g,fn as u,hn as x,it as f,st as b,tt as p,w}from"./B8XHxhss.js";import{k,x as h}from"#entry";import{t as v}from"./DnRsJ2ze.js";import{t as y}from"./DXNx4Ry-.js";import{t as _}from"./tKPW4sCS.js";import{t as S}from"./BHxXZfbq.js";import{t as j}from"./Dcux_0w4.js";import{t as $}from"./B3PfnTaX2.js";import{t as O}from"./BRpjZp-x.js";import{n as T,r as A,t as C}from"./DJr6ok2h.js";import{t as L}from"./d4Kgj7Zw.js";var B={class:"c-related-content-card__info-container flex-grow flex flex-col"},I={class:"flex flex-col gap-cardStack p-cardInset pb-cardInsetBottom text-medium"},H={class:"text-body-sm-regular"},q={class:"flex flex-col gap-5xs mb-5xs"},N={key:0,class:"text-body-sm-strong"},z=["textContent"],G={key:2,class:"text-body-sm-strong text-medium"},M=["id","innerHTML"],P={key:0,class:"text-interactive hover:text-interactiveHover active:text-interactiveActive text-body-sm-link flex gap-5xs"},E={key:1,class:"text-interactive hover:text-interactiveHover active:text-interactiveActive text-body-sm-link flex gap-5xs"},R={key:2,class:"text-interactive hover:text-interactiveHover active:text-interactiveActive text-body-sm-link flex gap-5xs break-all"},V=["href"],D={__name:"RelatedContentCard",props:{id:[Number,String],link:Object,url:String,buttonText:String,clickAction:Function,showImage:{type:Boolean,default:!1},image:Object,name:String,role:[String,Number],party:Object,phone:Object,mobile:Object,email:Object,title:String,text:String,address:Object,committees:Object,department:String,layout:{type:String,default:"col",validate:e=>["col","row"].includes(e)},color:{type:String,default:"surface",validate:e=>["surface","primary"].includes(e)}},setup(a){const r=a,d=m(),g=e(()=>r.id&&"string"==typeof r.id?r.id:"number"==typeof r.id?`related-content-card-${r.id.toString()}`:`related-content-card-${d}`),b=e(()=>r.link||r.url);return e(()=>r.buttonText??r.link?.name??k("GO_TO_PAGE",{capitalize:!0})),(e,r)=>{const d=$,m=v,p=y,k=h,_=A;return f(),o(_,{tag:"article",class:u(["c-related-content-card group",{[`c-related-content-card--color--${a.color}`]:a.color,[`c-related-content-card--layout--${a.layout}`]:a.layout}]),to:a.link?a.link.url:a.url,target:i(b)?a.link?.target??"_self":null,external:i(b)?a.link?.external??!1:null,"clickable-elements-query":("getLinkTileClickables"in e?e.getLinkTileClickables:i(T))(),"link-partials-query":("getLinkTilePartials"in e?e.getLinkTilePartials:i(C))(),"aria-labelledby":i(g)?`${i(g)}__title`:null,"aria-describedby":i(g)&&a.text?`${i(g)}__description`:null,"label-wrapper":"",onClick:a.clickAction},{default:c(()=>[a.showImage?(f(),t("figure",{key:0,class:u(["relative flex-shrink-0 aspect-ratio-8/5",{">=656:w-4/12col >=1280:w-3/12col":"row"===a.layout,"bg-surfaceVariant":!a.image}])},[a.image?(f(),o(d,{key:0,fit:"cover",class:"absolute inset-0 !aspect-ratio-unset !w-full !max-h-full",sizes:"100vw >=656:50vw >=960:33vw >=1280:430px >=1920:540px","load-color":"transparent","hover-effect":"",src:a.image.cropUrl||a.image.url,width:a.image.width,height:a.image.height,alt:a.image.altText,ratio:1.6},null,8,["src","width","height","alt"])):l("",!0)],2)):l("",!0),w("div",B,[w("div",I,[a.name?(f(),o(m,{key:0,id:`${i(g)}__title`,class:"text-heading-lg text-strong"},{default:c(()=>[s(x(a.name),1)]),_:1},8,["id"])):l("",!0),w("div",H,[w("div",q,[a.title?(f(),t("span",N,x(a.title),1)):l("",!0),a.party?(f(),t("p",{key:1,class:"text-medium",textContent:x(a.party.name)},null,8,z)):l("",!0),a.department?(f(),t("span",G,x(a.department),1)):l("",!0)]),a.text?(f(),t("p",{key:0,id:`${i(g)}__description`,class:"whitespace-pre-line",innerHTML:a.text},null,8,M)):l("",!0)]),w("div",{class:u(["flex flex-wrap gap-cardStack",{"flex-col":"col"===a.layout}])},[a.phone?(f(),t("div",P,[n(p,{name:"call",class:"mt-6xs"}),n(k,{to:a.phone.link?a.phone.link:"/"},{default:c(()=>[s(x(a.phone.text),1)]),_:1},8,["to"])])):l("",!0),a.mobile?(f(),t("div",E,[n(p,{name:"call",class:"mt-6xs"}),n(k,{to:a.mobile.link?a.mobile.link:"/"},{default:c(()=>[s(x(a.mobile.text),1)]),_:1},8,["to"])])):l("",!0),a.email?(f(),t("div",R,[n(p,{name:"mail",class:"mt-5xs shrink-0"}),w("a",{href:a.email.link},x(a.email.text),9,V)])):l("",!0)],2)])])]),_:1},8,["class","to","target","external","clickable-elements-query","link-partials-query","aria-labelledby","aria-describedby","onClick"])}}},F=["id"],J=Object.assign({inheritAttrs:!1},{__name:"BlockListBlocksBlockListRelatedContent",props:{id:[String,Number],settings:Object,name:String,title:String,label:String,link:Object,context:String,isLastBlock:Boolean,view:String,items:Array},setup(s){const m=s,x=r(0),k=e(()=>(m.items?.length?m.items?.filter?.(e=>e.image):[]).length>0),h=e(()=>
1{if("grid"!==m.view){let e="";return x.value<1280&&2===m.items.length||2===m.items.length&&"with-aside"===m.context?e="row":2===m.items.length?e="col":1===m.items.length&&(e="row"),e}});function v(){window&&(x.value=window.innerWidth)}const y=e(()=>`${m.id}--scrollbars`);return S("resize",v),p(()=>v()),(e,r)=>{const m=O,x=D,p=L,v=j;return f(),t("div",a({id:s.id,class:["c-block-list-related-content",[`c-block-list-related-content--ctx--${s.context}`,`c-block-list-related-content--view--${s.view}`,e.$attrs.class]]},("useAttrsSome"in e?e.useAttrsSome:i(_))(["style","data-n-ids"],e.$attrs)),[n(m,{id:s.id,title:s.title,label:s.label,link:s.link,"include-in-toc":s.settings?.includeInToc},{default:c(()=>[g(e.$slots,"headerAdditions")]),_:3},8,["id","title","label","link","include-in-toc"]),n(v,{level:s.title?"+0":"-1"},{default:c(()=>[s.items?.length?(f(),o(p,{key:0,id:i(y),narrow:"slider"===s.view&&!["wide","end-block"].includes(s.context),"use-button-navigation":"","floating-buttons":s.isLastBlock},{default:c(({getItemViewState:e})=>[w("div",{class:u(["gap-layout-gutter !print:w-full !print:flex-wrap !print:gap-layout-gutter",{flex:"grid"!==s.view,">=656:flex-col":2===s.items.length,">=1280:flex-row":"grid"!==s.view&&2===s.items.length&&["wide","end-block","regular"].includes(s.context),"grid px-[--scrollbar-offset] w-full >=1280:grid-cols-4":"grid"===s.view,"grid-cols-1 >=656:grid-cols-2 >=960:grid-cols-3":"grid"===s.view," !>=1280:grid-cols-2 !w-fit":!["wide","end-block","regular"].includes(s.context)}])},[(f(!0),t(d,null,b(s.items,(t,l)=>(f(),o(x,a({id:t.id,key:t.id,ref_for:!0,ref:"contactCard",class:["snap-start",[{"w-12/12col >=656:w-6/12col >=960:w-4/12col":"grid"===s.view&&"with-aside"===s.context},"grid"!==s.view&&{"flex-grow-0 w-12/12col":1===s.items.length,"flex-grow w-10/12col":s.items.length>1,">=656:w-12/12col":2===s.items.length&&!["wide","end-block"].includes(s.context),">=656:w-12/12col !>=1280:w-4/12col":2===s.items.length&&["wide","end-block","regular"].includes(s.context),">=656:w-6/12col":s.items.length>2,">=960:w-4/12col":s.items.length>2,">=1280:w-8/12col":s.items.length<=2&&!["wide","end-block"].includes(s.context),">=1280:w-6/12col":s.items.length<=2&&["wide","end-block"].includes(s.context),">=1280:w-3/12col":s.items.length>2&&["wide","end-block"].includes(s.context),"scroll-mx-[--scrollbar-offset]":!0,"ml-[--scrollbar-offset]":!l,"mr-[--scrollbar-offset]":l===s.items.length-1,">=656:ml-[--scrollbar-offset] >=1280:ml-0 1280:scroll-ml-0":l&&2===s.items.length,">=656:mr-[--scrollbar-offset] >=1280:mr-0 1280:scroll-mr-0":l<s.items.length-1&&2===s.items.length,">=1280:ml-0 1280:scroll-ml-0":!["wide","end-block"].includes(s.context)}]],inert:"outside"===e(l)},{ref_for:!0},{showImage:i(k),layout:i(h),clickableArea:"card",image:t.image,url:t.url,name:t.title,text:t.teaser}),null,16,["id","class","inert"]))),128))],2)]),_:1},8,["id","narrow","floating-buttons"])):l("",!0)]),_:1},8,["level"])],16,F)}}});export{J 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.