1import{D as s,E as t,Gt as e,Lt as l,M as d,N as a,Tt as r,_ as o,fn as i,hn as n,it as c,st as x,w as m}from"./B8XHxhss.js";import{t as p}from"./DXNx4Ry-.js";import{t as g}from"./BEDGnSvs.js";var u={class:"grid gap-4xs"},y={key:0,class:"block mb-3xs text-heading-sm-strong text-strong"},f={class:"grid gap-5xs"},b={key:0,class:"flex flex-col gap-5xs pb-xs"},k={key:0,class:"flex text-body-md-regular text-strong"},v={key:1,class:"flex"},w={key:2,class:"flex"},h={key:1,class:"text-body-md-regular"},A={key:0},B={class:"overflow-hidden"},_={key:0,class:"pb-sm text-body-md-regular text-strong"},j={key:0,class:"flex text-body-md-regular text-strong"},I={key:1,class:"flex text-body-md-regular text-strong"},L=["onClick"],C={__name:"BlockListBlocksBlockListKultunautActivitiesDemo",props:{title:String,items:{type:Array,default:()=>[]}},setup(C){const D=l(C.items.map(()=>!1));return(l,S)=>{const T=g,z=p;return c(),s("div",null,[a(T,null,{default:r(()=>[d(n(C.title),1)]),_:1}),m("ul",u,[(c(!0),s(o,null,x(C.items,(l,r)=>(c(),s("li",{key:r,class:i(["px-cardInset pt-cardInset pb-xs bg-surface col-span-full w-12/12col >=1280:w-8/12col 1280:max-w-8/12col",{"pb-cardInsetBottom":e(D)}])},[l.title?(c(),s("span",y,n(l.title),1)):t("",!0),m("div",f,[l.time||l.place||l.address?(c(),s("dl",b,[l.time?(c(),s("div",k,[S[0]||(S[0]=m("dt",{class:"text-body-md-strong mr-4xs"},"Tid",-1)),m("dd",null,n(l.time),1)])):t("",!0),l.place?(c(),s("div",v,[S[1]||(S[1]=m("dt",{class:"text-body-md-strong mr-4xs"},"Sted",-1)),m("dd",null,n(l.place),1)])):t("",!0),l.address?(c(),s("div",w,[S[2]||(S[2]=m("dt",{class:"text-body-md-strong mr-4xs"},"Adresse",-1)),m("dd",null,n(l.address),1)])):t("",!0)])):t("",!0),l.description&&l.description.length>200?(c(),s("p",h,[d(n(l.description.slice(0,200)),1),e(D)[r]?t("",!0):(c(),s("span",A,"..."))])):t("",!0),m("div",{class:i(["grid duration-500 ease-in-out",[e(D)[r]?"grid-rows-[1fr]":"grid-rows-[0fr]"]])},[m("div",B,[l.description?(c(),s("p",_,n(l.description.slice(200)),1)):t("",!0),m("dl",null,[l.period?(c(),s("div",j,[S[3]||(S[3]=m("dt",{class:"text-body-md-strong mr-4xs"}," Periode ",-1)),m("dd",null,n(l.period),1)])):t("",!0),l.age?(c(),s("div",I,[S[4]||(S[4]=m("dt",{class:"text-body-md-strong mr-4xs"}," Alder ",-1)),m("dd",null,n(l.age),1)])):t("",!0)])])],2),e(D)[r]?t("",!0):(c(),s("button",{key:2,class:"flex items-center gap-x-4xs text-body-md-strong",onClick:s=>function(s){D.value[s]=!0}(r)},[S[5]||(S[5]=m("span",null,"Vis flere informationer",-1)),a(z,{name:"expand-more",class:"shrink-0 size-20"})],8,L))])],2))),128))])])}}};export{C 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.