1import{d as b,o as v,f as x,C as s,D as r,h as u,i as l,v as d,E as i,H as w,p as m,s as C}from"./CWXzWxAq.js";const p="w-full rounded-xl border bg-surface px-4 py-3 text-foreground placeholder:text-muted/70 outline-none focus:border-brand",y=b({__name:"ContactForm",setup(_){const o=m(""),n=m(""),a=m("");function f(){const c=encodeURIComponent(`Contact from ${o.value||"visitor"}`),e=encodeURIComponent(`${a.value} 2 3From: ${o.value} <${n.value}>`);window.location.href=`mailto:${C.contactEmail}?subject=${c}&body=${e}`}return(c,e)=>(v(),x("form",{class:"space-y-3",onSubmit:w(f,["prevent"])},[s(l("input",{"onUpdate:modelValue":e[0]||(e[0]=t=>i(o)?o.value=t:null),class:d(p),placeholder:"Your name",required:""},null,512),[[r,u(o)]]),s(l("input",{"onUpdate:modelValue":e[1]||(e[1]=t=>i(n)?n.value=t:null),class:d(p),type:"email",placeholder:"Your email",required:""},null,512),[[r,u(n)]]),s(l("textarea",{"onUpdate:modelValue":e[2]||(e[2]=t=>i(a)?a.value=t:null),class:d(p),rows:5,placeholder:"How can we help?",required:""},null,512),[[r,u(a)]]),e[3]||(e[3]=l("button",{type:"submit",class:"brand-gradient rounded-full px-6 py-3 font-semibold text-white"}," Send message ",-1))],32))}}),g=Object.assign(y,{__name:"ContactForm"});export{g as _};
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.