import{_ as S}from"./nuxt-link.JwgsQDBT.js";import{_ as K,c as P}from"./cookieStore.QUjCS5aa.js";import{o as a,c as m,e,d as v,b as Z,_ as $,r as l,y as f,i as n,h as s,C as q,v as Q,t as p,F as x,f as k,j as d,B as ee,w as te,l as oe,a as se,g as D,n as z,m as ne,L as ae}from"./entry.z5bahjUr.js";import{l as ie}from"./locationsAPI.khotWX7G.js";import{V as le}from"./vue3-lottie.es.Q32Q15G_.js";import{r as T}from"./XMarkIcon.xMdyvhf2.js";import{r as B,a as j}from"./InformationCircleIcon.EuJuS4Fo.js";import{F as re,A as ce,j as de,I as me}from"./listbox.K2SfIMP7.js";import{_ as L,Y as A,z as R,h as O,S as E}from"./transition.3u4ZjZ1D.js";import{r as pe}from"./Bars3Icon.dyfsYkor.js";import{I as ue,b as fe,S as he,g as _e}from"./menu.AWQz2hy0.js";import{r as ge}from"./MagnifyingGlassIcon.TOYsrniN.js";import{r as ye}from"./UserPlusIcon.feHBQ39Z.js";import{r as be}from"./CheckIcon.lXJuyMhb.js";import"./lottie.BDhEqam0.js";import"./_commonjsHelpers.1J56E-h6.js";import"./keyboard.6bhxII5A.js";import"./use-outside-click.jdB7oEP4.js";import"./use-resolve-button-type.Dt8eqU6X.js";import"./use-text-value.bAXyg1rk.js";import"./hidden.409vYjjy.js";function xe(t,o){return a(),m("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})])}const ke=v({name:"searchModal",components:{Vue3Lottie:le,ListboxOption:re,ListboxOptions:ce,ListboxButton:de,Listbox:me,Dialog:L,DialogPanel:A,DialogTitle:R,TransitionChild:O,TransitionRoot:E,XMarkIcon:T,ExclamationTriangleIcon:B,InformationCircleIcon:j},props:{},data(){return{open:!0,locations:[],search:""}},mounted(){this.getLocations()},computed:{filteredLocations(){const t=this.search.toLowerCase();return this.locations.filter(o=>o.region.toLowerCase().includes(t)||o.bezirk.toLowerCase().includes(t)||o.name.toLowerCase().includes(t))}},emits:["action","closeAction"],methods:{close(){this.open=!1,setTimeout(()=>{this.$emit("closeAction")},300)},async getLocations(){const t=await ie.read();if(!t.success)return Z().error(t.error);this.locations=t.data}}}),ve=e("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"},null,-1),$e={class:"fixed inset-0 z-10 overflow-y-auto"},we={class:"flex min-h-full justify-center p-4 text-center items-center sm:p-0"},Ce={class:"absolute right-0 top-0 hidden pr-4 pt-4 sm:block"},Ie=e("span",{class:"sr-only"},"Close",-1),Me=e("div",{class:"pb-2 border-b-2 border-gray-200 mn-2"},[e("h4",{class:"font-bold text-gray-800 text-xl"},"Standort Suche")],-1),Se={key:0},De=e("p",{class:"text-gray-600 text-center px-4 py-8 text-l"}," Bitte gib den Namen oder Ort eines unserer Standorte in die Suche ein, um ein Ergebnis angezeigt zu bekommen. ",-1),Te=[De],Le={key:1},Ae={class:"text-gray-600 text-sm my-2 mt-4"},Pe={class:"max-h-[500px] overflow-y-scroll"},ze={class:"flex gap-2 mb-4"},Be={class:"text-primary truncate bg-primary/20 rounded-full px-3 py-1 text-sm"},je={class:"font-bold text-primary mb-2 text-2xl"},Re={class:"text-gray-600 mb-2 line-clamp-2"},Oe={class:"text-gray-600"},Ee=e("span",{class:"font-bold mr-1"},"Anschrift:",-1),Fe={class:"mt-4 mb-4"},Ne=["target","href"],Ue={key:2},Ve=e("p",{class:"text-gray-600 text-center px-4 py-8 text-l"},[d(" Wir konnten leider keine passende Einrichtung zu deiner Eingabe finden."),e("br"),d(" Bitte versuche es erneut. ")],-1),Xe=[Ve],He={class:"flex justify-center align-middle py-6"};function Ge(t,o,w,C,I,M){const i=l("TransitionChild"),g=l("XMarkIcon"),h=l("DialogPanel"),y=l("Dialog"),b=l("TransitionRoot");return a(),f(b,{as:"template",show:t.open},{default:n(()=>[s(y,{as:"div",class:"relative z-20",onClose:t.close},{default:n(()=>[s(i,{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:n(()=>[ve]),_:1}),e("div",$e,[e("div",we,[s(i,{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:n(()=>[s(h,{class:"relative transform overflow-hidden rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-3xl sm:p-6"},{default:n(()=>[e("div",Ce,[e("button",{type:"button",class:"rounded-full bg-primary p-0.5 text-white hover:opacity-50 focus:outline-none focus:ring-2 focus:ring-transparent duration-300 focus:ring-offset-2",onClick:o[0]||(o[0]=(...c)=>t.close&&t.close(...c))},[Ie,s(g,{class:"h-5 w-5","aria-hidden":"true"})])]),Me,e("div",null,[Q(e("input",{type:"search","onUpdate:modelValue":o[1]||(o[1]=c=>t.search=c),placeholder:"Gesuchter Standort...",class:"px-4 py-2 rounded-md border-2 border-gray-200 w-full mt-4"},null,512),[[q,t.search]])]),t.search.length?t.filteredLocations.length?(a(),m("div",Le,[e("p",Ae,"Ergebnisse ("+p(t.filteredLocations.length)+")",1),e("ul",Pe,[(a(!0),m(x,null,k(t.filteredLocations,c=>(a(),m("li",{key:c.id,class:"mb-2 bg-primary/20 rounded-md p-4"},[e("div",ze,[(a(!0),m(x,null,k(c.services,u=>(a(),m("span",Be,p(u.name),1))),256))]),e("div",null,[e("h3",je,p(c.name),1),e("p",Re,p(c.description),1),e("p",Oe,[Ee,e("span",null,p(c.address),1)])]),e("div",Fe,[e("a",{target:c.locationURL.startsWith("/")?"_self":"_blank",href:c.locationURL.startsWith("/")?"/standorte"+c.locationURL:c.locationURL,class:"text-white px-6 py-2 bg-primary rounded-md duration-300 hover:opacity-50"}," Standort öffnen ",8,Ne)])]))),128))])])):(a(),m("div",Ue,Xe)):(a(),m("div",Se,Te)),e("div",He,[e("button",{onClick:o[2]||(o[2]=(...c)=>t.close&&t.close(...c)),class:"text-white px-6 py-2 bg-primary rounded-md duration-300 hover:opacity-50"},"Schließen")])]),_:1})]),_:1})])])]),_:1},8,["onClose"])]),_:1},8,["show"])}const F=$(ke,[["render",Ge]]),N=""+globalThis.__publicAssetsURL("assets/images/pflegediakonie-main-logo.png"),Je=v({name:"PublicNavBar",setup(){return{auth:ee()}},methods:{},components:{Dialog:L,DialogPanel:A,Bars3Icon:pe,XMarkIcon:T,Menu:ue,MenuItem:fe,MenuItems:he,MenuButton:_e,ChevronDownIcon:xe,searchModal:F,MagnifyingGlassIcon:ge},data(){return{navigation:[{name:"Start",href:"/"},{name:"Standort",href:"/standorte"},{name:"Über uns",href:"/ueber-uns",children:[{name:"Jobs",href:"/jobs"},{name:"Ausbildung",href:"/ausbildung"},{name:"Aktuelles",href:"/aktuelles"},{name:"Spenden",href:"/spendenformular"}]},{name:"Unser Angebot",href:"/unser-angebot"},{name:"Pflegewissen",href:"/pflegewissen"}],mobileMenuOpen:!1,openSearchModal:!1}}}),We={class:"bg-white mainHeader"},Ye={class:"mx-auto flex max-w-7xl items-center justify-between gap-x-6 p-6 lg:px-8","aria-label":"Global"},Ke=e("span",{class:"sr-only"},"Pflegediakonie",-1),Ze=e("img",{class:"h-20 md:h-30 w-auto",src:N,alt:""},null,-1),qe={class:"hidden lg:flex lg:gap-x-8"},Qe={class:"flex flex-1 items-center justify-end gap-x-6"},et=e("a",{href:"https://jobs.pflegediakonie.de/",target:"_blank",class:"rounded-md bg-primary px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-secondary hover:text-primary transition duration-300 focus-visible:outline-none"}," Jetzt bewerben! ",-1),tt={class:"flex lg:hidden"},ot=e("span",{class:"sr-only"},"Open main menu",-1),st=e("div",{class:"fixed inset-0 z-10"},null,-1),nt={class:"flex items-center gap-x-6"},at=e("a",{href:"#",class:"-m-1.5 p-1.5"},[e("span",{class:"sr-only"},"Pflegediakonie Hamburg-West/Südholstein"),e("img",{class:"h-8 w-auto",src:"",alt:""})],-1),it=e("span",{class:"sr-only"},"Close menu",-1),lt={class:"mt-6 flow-root"},rt={class:"-my-6 divide-y divide-gray-500/10"},ct={class:"py-6"},dt={class:"-mx-3 w-full block rounded-lg px-3 py-2 text-base font-semibold text-left leading-7 text-gray-900 hover:bg-gray-50"},mt={class:"-mx-3 w-full block rounded-lg px-3 py-2 text-base font-semibold text-left leading-7 text-gray-900 hover:bg-gray-50"},pt=e("p",{class:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"},"Login",-1),ut=e("div",{class:"py-6 flex justify-center"},[e("a",{href:"https://jobs.pflegediakonie.de/",target:"_blank",class:"px-3 py-2 text-base font-semibold text-white bg-primary hover:bg-secondary hover:text-primary duration-300 rounded-md"}," Jetzt bewerben! ")],-1);function ft(t,o,w,C,I,M){const i=S,g=l("ChevronDownIcon"),h=l("MenuButton"),y=l("MenuItem"),b=S,c=l("MenuItems"),u=l("Menu"),U=l("MagnifyingGlassIcon"),V=l("Bars3Icon"),X=l("XMarkIcon"),H=K,G=l("DialogPanel"),J=l("Dialog"),W=F;return a(),m("div",null,[e("header",We,[e("nav",Ye,[e("div",{class:"flex lg:flex-1",onContextmenu:o[0]||(o[0]=te(r=>("useRouter"in t?t.useRouter:oe(se))().push("/intern/dashboard"),["right","exact"]))},[s(i,{to:"/",class:"-m-1.5 p-1.5"},{default:n(()=>[Ke,Ze]),_:1})],32),e("div",qe,[(a(!0),m(x,null,k(t.navigation,r=>(a(),m("div",{key:r.name,class:"text-sm font-semibold leading-6 text-gray-900 hover:bg-gray-100 py-1 px-3 rounded-lg transition"},[r.children?(a(),f(u,{key:0,as:"div",class:"relative"},{default:n(()=>[s(h,{class:"flex items-center gap-1",id:r.children+"-id"},{default:n(()=>[e("p",null,p(r.name),1),s(g,{class:"h-5 w-5 text-gray-500"})]),_:2},1032,["id"]),s(c,{as:"ul",class:"p-2 absolute top-8 right-0 bg-white shadow rounded-md flex flex-col gap-2 z-[99]"},{default:n(()=>[s(y,{as:"li"},{default:n(({close:_})=>[s(i,{to:r.href,onClick:_,class:"px-5 py-1 w-full hover:bg-gray-100 py-1 px-3 rounded-lg transition"},{default:n(()=>[d(p(r.name),1)]),_:2},1032,["to","onClick"])]),_:2},1024),(a(!0),m(x,null,k(r.children,_=>(a(),f(y,{as:"li"},{default:n(({close:Y})=>[s(b,{to:_.href,onClick:Y,class:"px-5 py-1 w-full hover:bg-gray-100 py-1 px-3 rounded-lg transition"},{default:n(()=>[d(p(_.name),1)]),_:2},1032,["to","onClick"])]),_:2},1024))),256))]),_:2},1024)]),_:2},1024)):(a(),f(i,{key:1,to:r.href},{default:n(()=>[d(p(r.name),1)]),_:2},1032,["to"]))]))),128))]),e("div",Qe,[e("button",{onClick:o[1]||(o[1]=r=>t.openSearchModal=!0)},[s(U,{class:"text-primary w-7 h-7"})]),et]),e("div",tt,[e("button",{type:"button",class:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",onClick:o[2]||(o[2]=r=>t.mobileMenuOpen=!0)},[ot,s(V,{class:"h-6 w-6","aria-hidden":"true"})])])]),s(J,{as:"div",class:"lg:hidden",onClose:o[5]||(o[5]=r=>t.mobileMenuOpen=!1),open:t.mobileMenuOpen},{default:n(()=>[st,s(G,{class:"fixed inset-y-0 right-0 z-10 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10"},{default:n(()=>[e("div",nt,[at,e("button",{type:"button",class:"-m-2.5 rounded-md p-2.5 text-gray-700",onClick:o[3]||(o[3]=r=>t.mobileMenuOpen=!1)},[it,s(X,{class:"h-6 w-6","aria-hidden":"true"})])]),e("div",lt,[e("div",rt,[e("div",ct,[(a(!0),m(x,null,k(t.navigation,r=>(a(),f(i,{to:r.href,key:r.name,class:"w-full text-left",onClick:o[4]||(o[4]=_=>t.mobileMenuOpen=!1)},{default:n(()=>[e("button",dt,p(r.name),1),(a(!0),m(x,null,k(r.children,_=>(a(),m("button",mt,[s(b,{to:_.href,onClick:t.close,class:"ml-4"},{default:n(()=>[d(p(_.name),1)]),_:2},1032,["to","onClick"])]))),256))]),_:2},1032,["to"]))),128)),s(H,null,{default:n(()=>[pt]),_:1})]),ut])])]),_:1})]),_:1},8,["open"])]),t.openSearchModal?(a(),f(W,{key:0,onCloseAction:o[6]||(o[6]=r=>t.openSearchModal=!1)})):D("",!0)])}const ht=$(Je,[["render",ft]]),_t=v({name:"cookieBanner",components:{XMarkIcon:T,ExclamationTriangleIcon:B,InformationCircleIcon:j,Dialog:L,DialogPanel:A,DialogTitle:R,TransitionChild:O,TransitionRoot:E,UserPlusIcon:ye,CheckIcon:be},setup(){return{cookie:P()}},props:{},emits:["updateUser","closeAction"],data(){return{open:!0,optional:!0,analytic:!0}},mounted(){},methods:{close(){this.open=!1,setTimeout(()=>{this.$emit("closeAction")},300)},acceptAll(){this.cookie.optional=!0,this.cookie.analytic=!0,this.close()},denyAll(){this.cookie.optional=!1,this.cookie.analytic=!1,this.close()},save(){this.cookie.optional=this.optional,this.cookie.analytic=this.analytic,this.close()}}}),gt=e("div",{class:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"},null,-1),yt={class:"fixed inset-0 z-10 overflow-y-auto"},bt={class:"flex min-h-full items-center justify-center p-4 text-center sm:p-0"},xt={class:"flex flex-col gap-5 py-5"},kt={class:"flex justify-between items-center"},vt=e("p",null,"Optionale Cookies",-1),$t={class:"flex justify-between items-center"},wt=e("p",null,"Technisch erforderliche Cookies",-1),Ct={class:z(["h-5 w-5 rounded-md ring-1 ring-gray-400 bg-gray-400"])},It={class:"grid grid-cols-2 gap-5 my-5"};function Mt(t,o,w,C,I,M){const i=l("TransitionChild"),g=l("DialogTitle"),h=l("CheckIcon"),y=l("DialogPanel"),b=l("Dialog"),c=l("TransitionRoot");return a(),f(c,{as:"template",show:t.open},{default:n(()=>[s(b,{as:"div",class:"relative z-20",onClose:t.close},{default:n(()=>[s(i,{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:n(()=>[gt]),_:1}),e("div",yt,[e("div",bt,[s(i,{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:n(()=>[s(y,{class:"relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-sm transition-all sm:my-8 sm:w-full sm:max-w-md sm:p-6"},{default:n(()=>[e("div",null,[s(g,{class:"text-xl text-center font-semibold"},{default:n(()=>[d("Cookie Einstellungen")]),_:1}),e("div",xt,[e("div",kt,[vt,e("div",{class:z([t.optional?"bg-primary":"","h-5 w-5 rounded-md ring-1 ring-primary"]),onClick:o[0]||(o[0]=u=>t.optional=!t.optional)},[t.optional?(a(),f(h,{key:0,class:"text-white"})):D("",!0)],2)]),e("div",$t,[wt,e("div",Ct,[s(h,{class:"text-white"})])])]),e("div",It,[e("button",{class:"col-span-full bg-primary text-white py-1.5 font-semibold rounded-md",onClick:o[1]||(o[1]=(...u)=>t.acceptAll&&t.acceptAll(...u))},"Alle annehmen"),e("button",{class:"bg-gray-100 text-gray-500 py-1.5 font-semibold rounded-md",onClick:o[2]||(o[2]=(...u)=>t.denyAll&&t.denyAll(...u))},"Ablehnen"),e("button",{class:"bg-gray-100 text-gray-500 py-1.5 font-semibold rounded-md",onClick:o[3]||(o[3]=(...u)=>t.save&&t.save(...u))},"Speichern")])])]),_:1})]),_:1})])])]),_:1},8,["onClose"])]),_:1},8,["show"])}const St=$(_t,[["render",Mt]]),Dt=v({name:"Footer"}),Tt={class:""},Lt=e("div",{class:"p-6"},null,-1),At={class:"px-6 max-w-screen-xl !mx-auto md:grid md:grid-cols-6 grid-cols-1 md:gap-x-12 md:items-start"},Pt=e("div",{class:"col-span-2"},[e("img",{class:"w-full",style:{"max-width":"160px"},src:N,alt:"Logo der Pflegediakonie"}),e("p",{class:"text-gray-500 text-sm"},"Wir sind die Pflegediakonie und stehen Ihnen in Hamburg und Schleswig-Holstein mit Pflege, Betreuung und Begleitung zur Seite.")],-1),zt={class:"mt-4 md:mt-0"},Bt=e("h4",{class:"text-primary font-bold mb-2"},"Linksammlung",-1),jt={class:"space-y-2"},Rt=e("a",{href:"/ueber-uns",class:"text-gray-500 text-sm block"},"Über uns",-1),Ot={class:"mt-4 md:mt-0"},Et=e("h4",{class:"text-primary font-bold mb-2"},"Rechtliches",-1),Ft={class:"space-y-2"},Nt=ne('<div class="mt-4 md:mt-0"><h4 class="text-primary font-bold mb-2">Social-Media</h4><div class="space-y-2"><a href="https://www.instagram.com/pflegediakonie/" class="text-gray-500 text-sm block">Instagram</a><a href="https://www.tiktok.com/@pflegediakonie" class="text-gray-500 text-sm block">TikTok</a><a href="https://www.facebook.com/Pflegediakonie/?locale=de_DE" class="text-gray-500 text-sm block">Facebook</a><a href="https://www.linkedin.com/company/pflegediakonie" class="text-gray-500 text-sm block">LinkedIn</a></div></div>',1),Ut={class:"mt-4 md:mt-0"},Vt=e("h4",{class:"text-primary font-bold mb-2"},"Kontaktiere uns",-1),Xt={class:"space-y-2"},Ht=e("p",{class:"text-gray-500 text-sm block"},"info@pflegediakonie.de",-1),Gt=e("p",{class:"text-gray-500 text-sm block"},[d("Max-Zelck-Straße 1"),e("br"),d("22459 Hamburg")],-1),Jt=e("div",{class:"p-6"},null,-1);function Wt(t,o,w,C,I,M){const i=S;return a(),m("div",Tt,[Lt,e("div",At,[Pt,e("div",zt,[Bt,e("div",jt,[s(i,{to:"/",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Homepage")]),_:1}),s(i,{to:"/ausbildung",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Ausbildung")]),_:1}),s(i,{to:"/pflegewissen",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Pflegewissen")]),_:1}),s(i,{to:"/spendenformular",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Jetzt spenden")]),_:1}),Rt,s(i,{to:"/jobs",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Offene Stellen")]),_:1}),s(i,{to:"/hinweis-geben",class:"text-gray-500 text-sm block"},{default:n(()=>[d(" Meldestelle der Pflegediakonie ")]),_:1})])]),e("div",Ot,[Et,e("div",Ft,[s(i,{to:"/impressum",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Impressum")]),_:1}),s(i,{to:"/datenschutz",class:"text-gray-500 text-sm block"},{default:n(()=>[d("Datenschutz")]),_:1})])]),Nt,e("div",Ut,[Vt,e("div",Xt,[Ht,Gt,s(i,{to:"/kontakt",class:"text-gray-500 text-sm block font-semibold"},{default:n(()=>[d("Jetzt kontaktieren")]),_:1})])])]),Jt])}const Yt=$(Dt,[["render",Wt]]),Kt=v({name:"default",setup(){return{cookie:P()}}}),Zt={class:"min-h-screen flex flex-col justify-between"};function qt(t,o,w,C,I,M){const i=ht,g=St,h=Yt;return a(),m("div",Zt,[e("div",null,[s(i),t.cookie.cookiesSet?D("",!0):(a(),f(g,{key:0,onCloseAction:o[0]||(o[0]=()=>{t.cookie.cookiesSet=!0})})),ae(t.$slots,"default")]),s(h)])}const ko=$(Kt,[["render",qt]]);export{ko as default};
