import{C as e,O as t,S as n,T as r,i,k as a,kt as o,ot as s,q as c,w as l,wt as u}from"./framework-CFqPLBV8.js";import{t as d}from"./arrow-left-CMu6dfzA.js";import{t as f}from"./calendar-clock-qnL7qJ7e.js";import{d as p,v as m}from"./app-DPANCdgI.js";import{t as h}from"./FormRenderer-DnVuauE4.js";var g={class:`mx-auto max-w-3xl`},_={class:`text-3xl font-semibold tracking-tight`},v={key:0,class:`mt-3 leading-relaxed whitespace-pre-line text-muted-foreground`},y={key:1,class:`mt-3 inline-flex items-center gap-1.5 text-[13px] text-muted-foreground`},b={class:`@container mt-8 rounded-lg border bg-card p-5 sm:p-8`},x={__name:`Show`,props:{form:{type:Object,required:!0}},setup(x){return(S,C)=>(c(),e(p,{title:x.form.title},{default:s(()=>[n(`div`,g,[a(u(i),{href:`/formulare`,class:`mb-6 inline-flex items-center gap-1.5 text-sm font-medium text-muted-foreground hover:text-foreground`},{default:s(()=>[a(u(d),{class:`size-4`}),C[0]||=t(` Alle Formulare `,-1)]),_:1}),n(`h1`,_,o(x.form.title),1),x.form.description?(c(),r(`p`,v,o(x.form.description),1)):l(``,!0),x.form.closes_at&&x.form.open?(c(),r(`p`,y,[a(u(f),{class:`size-4`}),t(` Einsendeschluss: `+o(u(m)(x.form.closes_at)),1)])):l(``,!0),n(`div`,b,[a(h,{form:x.form},null,8,[`form`])])])]),_:1},8,[`title`]))}};export{x as default};