import{d as u,T as _,c as g,o as h,a as t,u as n,t as o,x as p,l as c,v as r,F as v}from"./app-Do7K7VDV.js";import{_ as f}from"./DefaultLayout-tPR1Yb-q.js";import"./SeoMeta-CwZrnyua.js";import"./ToastrContainer-CtYDvNPN.js";const b={class:"map-banner-one mt-140 sm-mt-80"},w={class:"gmap_canvas h-100 w-100"},x=["src"],y={class:"lg-mt-80 mt-100"},q={class:"container"},j={class:"title-three mb-10 text-center"},k={class:"row gx-lg-5 justify-content-center"},S={class:"col-lg-4 col-md-6"},V={class:"card-style-eight mt-40 text-center"},U={class:"icon rounded-circle d-flex align-items-center justify-content-center m-auto"},B=["src"],M={class:"m0 pt-30 pb-5"},z={class:"col-lg-4 col-md-6"},D={class:"card-style-eight mt-40 text-center"},E={class:"icon rounded-circle d-flex align-items-center justify-content-center m-auto"},F=["src"],N={class:"m0 pt-30 pb-5"},T={class:"col-lg-4 col-md-6"},$={class:"card-style-eight mt-40 text-center"},C={class:"icon rounded-circle d-flex align-items-center justify-content-center m-auto"},H=["src"],A={class:"m0 pt-30 pb-5"},J={class:"contact-section-one theme-bg-dark-two mt-100 lg-mt-80 pt-90 lg-pt-40 pb-100 lg-pb-60"},O={class:"container"},P={class:"row"},W={class:"col-xl-10 m-auto"},G={class:"title-three lg-mb-40 mb-70 text-center"},I={class:"form-style-one"},K={class:"row controls"},L={class:"col-12"},Q={class:"input-group-meta form-group mb-40"},R={for:""},X={class:"col-12"},Y={class:"input-group-meta form-group mb-40"},Z={for:""},tt={class:"col-12"},et={class:"input-group-meta form-group mb-40"},st={for:""},ot={class:"col-12"},it={class:"input-group-meta form-group mb-35"},nt={class:"col-12"},lt={class:"btn-eight tran3s w-100"},at=u({layout:f}),ut=Object.assign(at,{__name:"Contact",props:["contact_page"],setup(s){const i=_({name:"",email:"",subject:"",message:""}),d=()=>{i.post("/contact-us",{preserveScroll:!0,onSuccess:()=>{i.reset()}})},m=window.location.origin;return(a,e)=>(h(),g(v,null,[t("div",b,[t("div",w,[t("iframe",{class:"gmap_iframe h-100 w-100",src:`https://maps.google.com/maps?width=600&height=400&hl=en&q=${s.contact_page.map_location}&t=&z=12&ie=UTF8&iwloc=B&output=embed&origin=${n(m)}`},null,8,x)])]),t("div",y,[t("div",q,[t("div",j,[t("h2",null,o(s.contact_page.title),1)]),t("div",k,[t("div",S,[t("div",V,[t("div",U,[t("img",{src:a.sanitizeHtml(s.contact_page.feature_one_icon),alt:"icon"},null,8,B)]),t("h5",M,o(s.contact_page.feature_one_title),1),t("span",null,o(s.contact_page.feature_one_description),1)])]),t("div",z,[t("div",D,[t("div",E,[t("img",{src:s.contact_page.feature_two_icon,alt:""},null,8,F)]),t("h5",N,o(s.contact_page.feature_two_title),1),t("span",null,o(s.contact_page.feature_two_description),1)])]),t("div",T,[t("div",$,[t("div",C,[t("img",{src:a.sanitizeHtml(s.contact_page.feature_three_icon),alt:"icon"},null,8,H)]),t("h5",A,o(s.contact_page.feature_three_title),1),t("span",null,o(s.contact_page.feature_three_description),1)])])])])]),t("div",J,[t("div",O,[t("div",P,[t("div",W,[t("div",G,[t("h2",null,o(s.contact_page.form_title),1)])])]),t("div",I,[t("form",{onSubmit:p(d,["prevent"]),id:"contact-form","data-toggle":"validator"},[e[8]||(e[8]=t("div",{class:"messages"},null,-1)),t("div",K,[t("div",L,[t("div",Q,[t("label",R,o(a.trans("Name"))+"*",1),c(t("input",{type:"text",placeholder:"Jhone Doe","onUpdate:modelValue":e[0]||(e[0]=l=>n(i).name=l),required:"required","data-error":"Name is required."},null,512),[[r,n(i).name]]),e[4]||(e[4]=t("div",{class:"help-block with-errors"},null,-1))])]),t("div",X,[t("div",Y,[t("label",Z,o(a.trans("Email"))+"*",1),c(t("input",{type:"email",placeholder:"Email Address*","onUpdate:modelValue":e[1]||(e[1]=l=>n(i).email=l),required:"required","data-error":"Valid email is required."},null,512),[[r,n(i).email]]),e[5]||(e[5]=t("div",{class:"help-block with-errors"},null,-1))])]),t("div",tt,[t("div",et,[t("label",st,o(a.trans("Subject"))+"*",1),c(t("input",{type:"text",placeholder:"Subject*","onUpdate:modelValue":e[2]||(e[2]=l=>n(i).subject=l),required:"required","data-error":"Valid subject is required."},null,512),[[r,n(i).subject]]),e[6]||(e[6]=t("div",{class:"help-block with-errors"},null,-1))])]),t("div",ot,[t("div",it,[c(t("textarea",{placeholder:"Write Message here..","onUpdate:modelValue":e[3]||(e[3]=l=>n(i).message=l),required:"required","data-error":"Please,leave us a message."},null,512),[[r,n(i).message]]),e[7]||(e[7]=t("div",{class:"help-block with-errors"},null,-1))])]),t("div",nt,[t("button",lt,o(s.contact_page.form_button_text??"Send Message"),1)])])],32)])])])],64))}});export{ut as default};
