PageSourceSearch

https://www.getepidemiologistjobs.com/_nuxt/contact-us.a923ca36.js

js getepidemiologistjobs.com collected 2026-09-26 13:44:28 UTC 6,629 bytes, 1 lines download raw bytes

1import{I as F,o as r,c as l,a as e,b as _,z as M,d as V,C as N,i as U,v as q,m as d,y as u,g as o,e as m,J as x,K as g,t as p,L as E,N as H,D as L,F as R,p as z,q as D,u as I,s as P,w as j,H as J,T as W,M as A}from"./entry.0884becb.js";import{u as G,r as b,e as K}from"./index.a2e01803.js";const O={},Y={class:"box flex bg-gray-100 border border-gray-300 py-5 md:w-[600px] mt-5 px-4"},Z={class:"flex items-center lg:mr-2 mb-2 lg:mb-0"},Q=e("div",null,[e("div",{class:"flex text-darkBlue text-center font-bold text-lg"},"Thank you!"),e("div",{class:"flex text-[13px]"}," Thanks for taking the time to contact us. We have received your message and a representative will follow up shortly if you require further assistance. ")],-1);function X($,t){const c=M;return r(),l("div",Y,[e("div",Z,[_(c,{name:"ic:twotone-check-circle-outline",class:"text-lightBlue text-[55px]"})]),Q])}const ee=F(O,[["render",X]]),te={key:0,class:"box border border-gray-300 py-8 md:w-[600px] mt-5 px-8 rounded-lg shadow mx-auto"},se=e("h1",{class:"text-darkBlue text-center font-bold text-lg"},"Contact Us",-1),oe={key:0},ne={class:"flex text-[13px] text-[#a94442] bg-[#f2dede] border rounded border-[#ebccd1] mt-4 py-4 px-2"},re=e("p",null,"Could not send your message. Please try again later",-1),ae={class:"ml-auto mr-2"},le=e("p",{class:"text-[13px] my-3"}," What can we help you with today? Have a question, comment or something you'd like assistance with? Let us know here. ",-1),ce=e("hr",null,null,-1),de=["onSubmit"],ie={class:"mb-2"},ue=e("strong",{class:"text-red-700"},"*",-1),me={key:0,class:"text-[#a94442] text-[13px] font-bold"},pe={class:"mb-2"},_e=e("strong",{class:"text-red-700"},"*",-1),xe={key:0,class:"text-[#a94442] text-[13px] font-bold"},be={class:"mb-2"},fe=e("strong",{class:"text-red-700"},"*",-1),ge=e("option",{disabled:"",label:" "},null,-1),ye=e("option",null,"Jobseeker",-1),he=e("option",null,"Employer",-1),ve=e("option",null,"Visitor",-1),$e=e("option",null,"Unsubscrible Request",-1),ke=[ge,ye,he,ve,$e],we={key:0,class:"text-[#a94442] text-[13px] font-bold"},Te={class:"mb-2"},Ce=e("strong",{class:"text-red-700"},"*",-1),Se={key:0,class:"text-[#a94442] text-[13px] font-bold"},Ue={class:"mb-2"},je=e("strong",{class:"text-red-700"},"*",-1),Me={key:0,class:"text-[#a94442] text-[13px] font-bold"},Ve=e("button",{class:"text-white mt-2 w-full text-sm font-bold py-2 px-4 rounded bg-gradient-to-b from-[#F49B61] to-[#F06E18] hover:from-[#F06E18] hover:to-[#F49B61]",type:"submit"}," Send Comments ",-1),Be=V({__name:"ContactForm",setup($){const t=N({name:"",email:"",userType:"",subject:"",message:""}),c=U(!1),i=U(!1),k=q(()=>({name:{required:b},email:{required:b,email:K},userType:{required:b},subject:{required:b},message:{required:b}})),s=G(k,t),y=async()=>{const f=`${t==null?void 0:t.name}, ${t.email}, ${t.userType}, ${t.subject}, ${t.message}`,n=`https://api.${z()}/v1/contactus`,{error:v}=await D(n,{method:"POST",body:{contact_us:{content:f}}},"$YPaoaiTZ4w");v.value&&(i.value=!0)},h=async()=>{s.value.$validate(),!s.value.$error&&(await y(),!i.value&&(c.value=!0,i.value=!1))};return(f,n)=>{var w,T,C,S;const v=M,B=ee;return r(),l(R,null,[c.value?d("",!0):(r(),l("div",te,[se,i.value?(r(),l("div",oe,[e("div",ne,[re,e("p",ae,[e("button",{class:"text-gray-400 hover:text-gray-500",onClick:n[0]||(n[0]=a=>i.value=!1)},[_(v,{name:"mdi:close-thick"})])])])])):d("",!0),le,ce,e("form",{class:"items-center mt-4",novalidate:"",onSubmit:H(h,["prevent"])},[e("div",ie,[e("label",{for:"name",class:u(["font-bold text-[13px]",{"text-[#a94442]":(w=o(s))==null?void 0:w.name.$error}])},[m("Name "),ue],2),x(e("input",{id:"name","onUpdate:modelValue":n[1]||(n[1]=a=>t.name=a),class:u(["text-sm mr-2 py-1 border-solid border border-gray-300 focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500 rounded pl-2 w-full disabled:bg-gray-200",{" text-[#a94442] border-red-700 rounded outline-none focus:ring-[#a94442] focus:border-[#a94442] focus:ring-1":(T=o(s))==null?void 0:T.name.$error}]),name:"name",type:"text"},null,2),[[g,t.name]]),(C=o(s))!=null&&C.name.$error?(r(),l("p",me,p((S=o(s))==null?void 0:S.name.$errors[0].$message),1)):d("",!0)]),e("div",pe,[e("label",{for:"email",class:u(["font-bold text-[13px]",{"text-[#a94442]":o(s).email.$error}])},[m("Email "),_e],2),x(e("input",{id:"email","onUpdate:modelValue":n[2]||(n[2]=a=>t.email=a),class:"w-full text-sm mr-2 py-1 border-solid border border-gray-300 focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500 rounded pl-2",name:"email",type:"email"},null,512),[[g,t.email]]),o(s).email.$error?(r(),l("p",xe,p(o(s).email.$errors[0].$message),1)):d("",!0)]),e("div",be,[e("label",{for:"user-type",class:u(["font-bold text-[13px]",{"text-[#a94442]":o(s).userType.$error}])},[m("User Type "),fe],2),x(e("select",{id:"user-type","onUpdate:modelValue":n[3]||(n[3]=a=>t.userType=a),class:"block w-full text-sm text-gray-700 py-1.5 pl-1 border rounded border-gray-300 focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500",name:"user-type"},ke,512),[[E,t.userType]]),o(s).userType.$error?(r(),l("p",we,p(o(s).userType.$errors[0].$message),1)):d("",!0)]),e("div",Te,[e("label",{for:"subject",class:u(["font-bold text-[13px]",{"text-[#a94442]":o(s).subject.$error}])},[m("Subject "),Ce],2),x(e("input",{id:"subject","onUpdate:modelValue":n[4]||(n[4]=a=>t.subject=a),class:"w-full text-sm mr-2 py-1 border-solid border border-gray-300 focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500 rounded pl-2",name:"subject",type:"text"},null,512),[[g,t.subject]]),o(s).subject.$error?(r(),l("p",Se,p(o(s).subject.$errors[0].$message),1)):d("",!0)]),e("div",Ue,[e("label",{for:"message",class:u(["font-bold text-[13px]",{"text-[#a94442]":o(s).message.$error}])},[m(" Message "),je],2),x(e("textarea",{id:"message","onUpdate:modelValue":n[5]||(n[5]=a=>t.message=a),name:"message",rows:"4",class:"block resize-none w-full pl-2 pt-2 h-[200px] text-sm rounded-lg border border-gray-300 focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500"},null,512),[[g,t.message]]),o(s).message.$error?(r(),l("p",Me,p(o(s).message.$errors[0].$message),1)):d("",!0)]),Ve],40,de)])),c.value?(r(),L(B,{key:1})):d("",!0)],64)}}}),Fe={class:"mx-auto mb-20 max-w-3xl px-4"}
1,Ee=V({__name:"contact-us",setup($){const t=I(),{getSiteConfig:c}=P(t);return(i,k)=>{const s=W,y=A,h=J,f=Be;return r(),l("div",Fe,[_(h,null,{default:j(()=>[_(s,null,{default:j(()=>[m("Contact "+p(o(c).name||"Get.it"),1)]),_:1}),_(y,{name:"description",content:o(c).description},null,8,["content"])]),_:1}),_(f)])}}});export{Ee 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.