PageSourceSearch

https://sparxpres.dk/_nuxt/n8-VL31b.js

js sparxpres.dk collected 2026-10-04 00:26:19 UTC 3,877 bytes, 1 lines download raw bytes

1import E from"./BF2kn1yG.js";import V from"./Bu8d8UAP.js";import{_ as S}from"./B0ApTMxj.js";import $ from"./CM4nhpYr.js";import{f as H,k as U,h as v,r as z,o as s,c as n,y as a,i as d,$ as A,a0 as D,b as r,w as u,E as F,a as i,t as c,d as I}from"./C20c5uje.js";const L={key:0,class:"search-item-label mb-2.5 flex items-center gap-3 text-sm font-bold text-theme-primary"},M={key:1,class:"mb-10 grid auto-rows-fr gap-5 md:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-3"},O=["src"],T={class:"flex w-full flex-col justify-between"},q={key:0,class:"mb-2 space-x-1 font-bold"},G={key:1,class:"mb-2 space-x-1 font-bold"},J={key:2,class:"mb-1 break-all text-sm"},K={class:"mb-4 text-xs opacity-80"},P={key:0},Q={key:1},R={key:3,class:"flex flex-col space-y-[2px] text-sm"},W={class:"mb-2 flex flex-col items-start space-y-1"},X={key:0,class:"flex space-x-2"},Y={class:"text-theme-secondary"},Z=["href"],p={key:1,class:"flex space-x-2"},y={class:"text-theme-secondary"},tt=["href"],st=["href"],nt={class:"text-theme-secondary"},at={class:"duration-50 transition-colors ease-in-out hover:text-theme-secondary"},ct=["href"],it={class:"text-theme-secondary"},rt={class:"duration-50 transition-colors ease-in-out hover:text-theme-secondary"},ot={key:2,class:"show-more my-10 flex justify-center"},lt=H({__name:"index",props:{item:{type:Object,default:()=>{}},showHeadline:{type:Boolean,default:!0}},setup(x){const _=x,h=U(!1),o=v(()=>(_==null?void 0:_.item)||[]),w=v(()=>o.value.slice(0,h.value?o.value.length:6)),m=l=>l.replace("NaN",200);return(l,e)=>{const N=z("spa-image"),f=E,b=V,j=S,B=$;return s(),n("div",null,[x.showHeadline?(s(),n("label",L,"Medarbejdere")):a("",!0),d(o).length?(s(),n("div",M,[(s(!0),n(A,null,D(d(w),(t,C)=>(s(),n("div",{key:`employee-${C}`,class:"bg-theme-backdrop"},[r(j,{class:"h-full",noindex:!!(t!=null&&t.noIndex)},{media:u(()=>[typeof t.image=="string"?(s(),n("img",{key:0,class:"h-full w-full",src:m(t.image),alt:"medarbejder"},null,8,O)):(s(),F(N,{key:1,class:"h-full w-full object-cover",image:t.image,sizes:"xs:460px sm:460px md:460px lg:460px xl:460px xxl:460px"},null,8,["image"]))]),content:u(()=>{var k,g;return[i("div",null,[i("div",T,[t!=null&&t.name?(s(),n("div",q,c(t.name),1)):a("",!0),t!=null&&t.firstname?(s(),n("div",G,c(t==null?void 0:t.firstname)+" "+c(t==null?void 0:t.lastname),1)):a("",!0),t.position?(s(),n("div",J,c(t.position),1)):a("",!0),i("div",K,[t!=null&&t.relations?(s(),n("span",P,c(t==null?void 0:t.relations),1)):a("",!0),(k=t==null?void 0:t.branch)!=null&&k.nodeName?(s(),n("span",Q,c((g=t==null?void 0:t.branch)==null?void 0:g.nodeName),1)):a("",!0)]),t.phone||t.email||t.mail||t.mobile?(s(),n("div",R,[i("span",W,[t.phone?(s(),n("div",X,[i("span",Y,[r(f,{class:"h-3 w-3 text-theme-secondary"})]),t.phone?(s(),n("a",{key:0,class:"duration-50 transition-colors ease-in-out hover:text-theme-secondary",href:"tel:"+t.phone},c(t.phone),9,Z)):a("",!0)])):a("",!0),t.mobile?(s(),n("div",p,[i("span",y,[r(f,{class:"h-3 w-3 text-theme-secondary"})]),t.mobile?(s(),n("a",{key:0,class:"duration-50 transition-colors ease-in-out hover:text-theme-secondary",href:"tel:"+t.mobile},c(t.mobile),9,tt)):a("",!0)])):a("",!0)]),t!=null&&t.email?(s(),n("a",{key:0,class:"flex items-center space-x-2",href:"mailto:"+(t==null?void 0:t.email)},[i("span",nt,[r(b,{class:"h-3 w-3 text-theme-secondary"})]),i("span",at,c(t==null?void 0:t.email),1)],8,st)):a("",!0),t!=null&&t.mail?(s(),n("a",{key:1,class:"flex items-center space-x-2",href:"mailto:"+(t==null?void 0:t.mail)},[i("span",it,[r(b,{class:"h-3 w-3 text-theme-secondary"})]),i("span",rt,c(t==null?void 0:t.mail),1)],8,ct)):a("",!0)])):a("",!0)])])]}),_:2},1032,["noindex"])]))),128))])):a("",!0),d(o).length>8&&!d(h)?(s(),n("div",ot,[r(B,{onClick:e[0]||(e[0]=t=>h.value=!0)},{default:u(()=>[I("Vis alle medarbejdere ("+c(d(o).length)+")",1)]),_:1})])):a("",!0)])}}});export{lt 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.