PageSourceSearch

https://www.aalborg2032.dk/_nuxt/Dx8QoOtI.js

js aalborg2032.dk collected 2026-10-09 01:18:42 UTC 4,114 bytes, 1 lines download raw bytes

1import{$a as e,B as a,Dt as l,Pa as t,Ta as o,W as r,Wa as s,Y as i,ca as n,da as m,di as d,do as c,ha as u,ja as f,kt as y,la as h,na as p,oo as b,ot as g,ra as v,sa as B,ua as N,wa as k}from"./qvYoQFqT.js";import{b as A}from"#entry";import{t as x}from"./CxryGJG4.js";import{t as _}from"./CR11bWK6.js";var w=l("PostListItem"),j={class:"d-post-list"},L={key:0,class:"rounded-lg border border-medium overflow-hidden my-md"},O={key:1,class:"overflow-hidden"},S=["innerHTML"],z={key:0,class:"flex >=960:justify-between 960:flex-row flex-col gap-xs mx-auto mt-2xl"},V={class:"text-medium text-body-md-regular"},T=Object.assign({inheritAttrs:!1},{__name:"PostList",props:{id:[String,Number],content:String,image:Object,title:String,teaser:String,items:Array,name:String,header:Object,contentElements:Array,settings:Object,search:Object,feedback:{type:Object,default:void 0},hideFeedback:{type:Boolean,default:!1}},setup(l){x();const T=l,C=d(),H=e(null),I=e(r(T.search,{populate:C.query})),M=e(null);function P(){M.value&&M.value?.closeAll(),o(()=>{H.value?.submit()})}function U(){window.scrollTo({top:0,behavior:"smooth"})}const E=B(()=>{const e=new Date(I.value.fieldByName.month.value),a=I.value.fieldByName.year.value,l=e.toLocaleString("da",{month:"long"}).toLowerCase();return(l||"")+", "+a});return(e,o)=>{const r=i,d=a,B=w,x=g,T=_,C=A;return f(),m("article",j,[u(C,{name:"list-page-layout","block-list":l.contentElements},{afterHeader:s(()=>[b(I)?(f(),h(d,{key:0,role:"search",action:b(I).endpointUrl,method:b(I).method,class:"mt-lg w-12/12col mx-auto >=960:flex 960:gap-3xs grid >=656:grid-cols-3 656:gap-md gap-lg",onSubmit:o[6]||(o[6]=p(()=>{},["prevent"]))},{default:s(()=>[b(I).fieldByName.year?(f(),h(r,{key:0,modelValue:b(I).fieldByName.year.value,"onUpdate:modelValue":o[0]||(o[0]=e=>b(I).fieldByName.year.value=e),name:b(I).fieldByName.year.name,placeholder:b(I).fieldByName.year.placeholder,color:"surface",label:b(I).fieldByName.year.label,items:b(I).fieldByName.year.items,onChange:o[1]||(o[1]=e=>P())},null,8,["modelValue","name","placeholder","label","items"])):N("",!0),b(I).fieldByName.month?(f(),h(r,{key:1,modelValue:b(I).fieldByName.month.value,"onUpdate:modelValue":o[2]||(o[2]=e=>b(I).fieldByName.month.value=e),name:b(I).fieldByName.month.name,placeholder:b(I).fieldByName.month.placeholder,color:"surface",label:b(I).fieldByName.month.label,items:b(I).fieldByName.month.items,onChange:o[3]||(o[3]=e=>P())},null,8,["modelValue","name","placeholder","label","items"])):N("",!0),b(I).fieldByName.directorArea?(f(),h(r,{key:2,modelValue:b(I).fieldByName.directorArea.value,"onUpdate:modelValue":o[4]||(o[4]=e=>b(I).fieldByName.directorArea.value=e),name:b(I).fieldByName.directorArea.name,placeholder:b(I).fieldByName.directorArea.placeholder,color:"surface",label:b(I).fieldByName.directorArea.label,items:b(I).fieldByName.directorArea.items,onChange:o[5]||(o[5]=e=>P())},null,8,["modelValue","name","placeholder","label","items"])):N("",!0)]),_:1},8,["action","method"])):N("",!0)]),default:s(()=>[u(T,{ref_key:"searchManager",ref:H,class:"mt-beforeBlocks mb-afterBlocks","search-filters":b(I),"result-noun":{singular:("localize"in e?e.localize:b(y))("MAIL"),plural:("localize"in e?e.localize:b(y))("MAILS")}},{default:s(({data:e})=>[u(x,{ref_key:"postAccordion",ref:M,elements:e,class:"w-full"},{panel:s(({item:e})=>[e.items?(f(),m("ul",L,[(f(!0),m(v,null,t(e.items,(a,l)=>(f(),h(B,k({key:a.key,ref_for:!0},{...a},{class:{"border-b-0":l===e.items.length-1}}),null,16,["class"]))),128))])):(f(),m("div",O,[n("p",{class:"my-md",innerHTML:e.message},null,8,S)]))]),_:1},8,["elements"])]),footer:s(({data:a,state:l})=>[l.hasFetchedOnce&&a?.length?(f(),m("div",z,[n("p",V,c(("localize"in e?e.localize:b(y))("PHRASE_MAIL_LIST_CURRENTLY_SHOWING",{capitalize:!0,populate:[b(E)]})),1),n("button",{class:"h-fit w-fit text-body-md-strong text-interactive hover:text-interactiveHover active:text-interactiveActive",onClick:U},c(("localize"in e?e.localize:b(y))("GO_TO_TOP",{capitalize:!0})),1)])):N("",!0)]),_:1},8,["search-filters","result-noun"])]),_:1},8,["block-list"])])}}});
1export{T 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.