1import{e as y,g as b,s as g,x as f,r as c,y as v,w as p,z as h,o as w,a as e,d as l,A as k,f as n,u as r,B as m,b as T,t as S,h as M,C as V}from"./Dmo780pL.js";import{_ as j}from"./DIfIzZG6.js";import"./DrWP8YPw.js";const E={class:"container-custom py-12"},q={class:"max-w-3xl mx-auto"},U={class:"grid grid-cols-1 md:grid-cols-2 gap-12"},C={class:"mt-6"},P=y({__name:"contact-us",setup(F){b(()=>{window.scrollTo({top:0,behavior:"instant"});const o=t=>{const s=t.target.closest("a");s&&s.hash&&s.pathname===window.location.pathname&&(t.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{const u=document.querySelector(s.hash);u&&u.scrollIntoView({behavior:"smooth"})},100))};document.addEventListener("click",o),g(()=>{document.removeEventListener("click",o)})}),f(()=>V().path,()=>{M(()=>{window.scrollTo({top:0,behavior:"instant"})})});const a=c({name:"",email:"",subject:"",message:""}),i=c(!1),x=async()=>{i.value=!0;try{await new Promise(o=>setTimeout(o,1500)),console.log("Form submitted:",a.value),a.value={name:"",email:"",subject:"",message:""},alert("Thank you for your message! We will get back to you soon.")}catch(o){console.error("Error submitting form:",o),alert("There was an error sending your message. Please try again.")}finally{i.value=!1}};return(o,t)=>{const d=h;return w(),v(d,{name:"default"},{default:p(()=>[e("div",E,[e("div",q,[t[10]||(t[10]=e("h1",{class:"text-4xl mb-8 text-gray-900"},"Contact Us",-1)),e("div",U,[t[9]||(t[9]=e("div",null,[e("h2",{class:"text-2xl mb-4"},"Get In Touch"),e("p",{class:"text-gray-600 mb-6"}," Have questions or feedback? We'd love to hear from you. Fill out the form and we'll get back to you as soon as possible. "),e("div",{class:"space-y-4 mt-8"},[e("div",{class:"flex items-start"},[e("div",{class:"text-primary text-xl mr-4"},"ð"),e("div",null,[e("h3",{class:"font-semibold text-gray-900"},"Address"),e("p",{class:"text-gray-600"},[l(" 1310 E Primrose St."),e("br"),l(" Springfield, MO 65804 ")])])]),e("div",{class:"flex items-start"},[e("div",{class:"text-primary text-xl mr-4"},"ð±"),e("div",null,[e("h3",{class:"font-semibold text-gray-900"},"Phone"),e("p",{class:"text-gray-600"},[e("a",{href:"tel:4178831226",class:"hover:text-primary-600 transition-colors"}," (417) 883-1226 ")])])]),e("div",{class:"flex items-start"},[e("div",{class:"text-primary text-xl mr-4"},"ð "),e("div",null,[e("h3",{class:"font-semibold text-gray-900"},"Fax"),e("p",{class:"text-gray-600"},[e("a",{href:"tel:4175200977",class:"hover:text-primary-600 transition-colors"}," (417) 520-0977 ")])])]),e("div",{class:"flex items-start"},[e("div",{class:"text-primary text-xl mr-4"},"ð§"),e("div",null,[e("h3",{class:"font-semibold text-gray-900"},"Email"),e("p",{class:"text-gray-600"},[e("a",{href:"mailto:[email protected]",class:"hover:text-primary-600 transition-colors"}," [email protected] ")])])]),e("div",{class:"flex items-start"},[e("div",{class:"text-primary text-xl mr-4"},"ð"),e("div",null,[e("h3",{class:"font-semibold text-gray-900"},"Hours"),e("p",{class:"text-gray-600"},[l(" 8:30am-5pm"),e("br"),l(" Monday - Friday ")])])])])],-1)),e("div",null,[t[8]||(t[8]=e("h2",{class:"text-2xl mb-4"},"Send a Message",-1)),e("form",{class:"space-y-4",onSubmit:k(x,["prevent"])},[e("div",null,[t[4]||(t[4]=e("label",{for:"name",class:"block text-sm text-gray-700 mb-1"},"Name",-1)),n(e("input",{id:"name","onUpdate:modelValue":t[0]||(t[0]=s=>r(a).name=s),type:"text",class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary",placeholder:"Your name",required:""},null,512),[[m,r(a).name]])]),e("div",null,[t[5]||(t[5]=e("label",{for:"email",class:"block text-sm text-gray-700 mb-1"},"Email",-1)),n(e("input",{id:"email","onUpdate:modelValue":t[1]||(t[1]=s=>r(a).email=s),type:"email",class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary",placeholder:"[email protected]",required:""},null,512),[[m,r(a).email]])]),e("div",null,[t[6]||(t[6]=e("label",{for:"subject",class:"block text-sm text-gray-700 mb-1"},"Subject",-1)),n(e("input",{id:"subject","onUpdate:modelValue":t[2]||(t[2]=s=>r(a).subject=s),type:"text",class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary",placeholder:"What is this regarding?",required:""},null,512),[[m,r(a).subject]])]),e("div",null,[t[7]||(t[7]=e("label",{for:"message",class:"block text-sm text-gray-700 mb-1"},"Message",-1)),n(e("textarea",{id:"message","onUpdate:modelValue":t[3]||(t[3]=s=>r(a).message=s),rows:"5",class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-primary focus:border-primary",placeholder:"Your message here...",required:""},null,512),[[m,r(a).message]])]),e("div",C,[T(j,{type:"submit",disabled:r(i),"full-width":"",color:"emerald"},{default:p(()=>[l(S(r(i)?"Sending...":"Send Message"),1)]),_:1},8,["disabled"])])],32)])])])])]),_:1})}}}
vendor: 24 bytes, line 1
1);export{P 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.