PageSourceSearch

https://trainasdi.com/build/assets/Contact-CNUKeRQR.js

js trainasdi.com collected 2026-10-07 19:30:05 UTC 7,545 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-the-mask-BGz9jZlE.js","assets/app-DTJRR0iT.js"])))=>i.map(i=>d[i]);
2import{_ as D,r as b,a as N,c as y,l as _,m as C,d as e,f as S,b as R,i as V,w as m,v as u,e as U,F as A,p as F,Q as P,q as E,z as T,k as I,u as x,o as w}from"./app-DTJRR0iT.js";let p=null;async function k(){if(p)return p;const c=await I(()=>import("./vue-the-mask-BGz9jZlE.js").then(t=>t.v),__vite__mapDeps([0,1]));return p=c.mask||c.default||null,p}const B={directives:{mask:{async mounted(c,t){if(typeof window>"u")return;const n=await k();n&&(typeof n=="function"?n(c,t):n.mounted&&n.mounted(c,t))},async updated(c,t){if(typeof window>"u")return;const n=await k();n&&(typeof n=="function"?n(c,t):n.updated&&n.updated(c,t))}}},setup(){const t=T({first_name:"",last_name:"",email:"",phone:"",message:"",captcha_token:""}),n=E(!1);let o=async()=>f();function v(){return o()}async function h(r){var a;(a=window.grecaptcha)!=null&&a.execute||(await new Promise((i,s)=>{const d="grecaptcha-v3";if(document.getElementById(d))return i();const l=document.createElement("script");l.id=d,l.src=`https://www.google.com/recaptcha/api.js?render=${encodeURIComponent(r)}`,l.async=!0,l.defer=!0,l.onload=i,l.onerror=s,document.head.appendChild(l)}),await new Promise(i=>{var s;if(!((s=window.grecaptcha)!=null&&s.ready))return i();window.grecaptcha.ready(i)}))}F(async()=>{var i;const r=P(),a=((i=r==null?void 0:r.props)==null?void 0:i.recaptcha_site_key)||"";await h(a),o=async()=>{const s=window.grecaptcha?await window.grecaptcha.execute(a,{action:"contact"}):"";t.captcha_token=s,await f()},n.value=!0});async function g(){t.first_name="",t.last_name="",t.email="",t.phone="",t.message="",t.captcha_token=""}async function f(){var a,i;const r=(await I(async()=>{const{default:s}=await import("./sweetalert2.esm.all-RcyeNO3Y.js");return{default:s}},[])).default;if(!t.captcha_token){r&&await r.fire({icon:"error",title:"Security check not ready",text:"Please wait a moment and try again.",customClass:{confirmButton:"btn btn-primary"}});return}await x.get("/sanctum/csrf-cookie");try{const s=await x.post("/contact-us",t);return await g(),r&&r.fire({icon:"success",title:"Message Submitted",text:"Someone from our team will get back with you shortly",timer:5e3,customClass:{confirmButton:"btn btn-primary"}}),s}catch(s){let d=s.response&&s.response.data&&s.response.data.message||"There was a problem.";const l=(i=(a=s.response)==null?void 0:a.data)==null?void 0:i.errors;throw l&&typeof l=="object"&&(d=Object.values(l).flat().shift()||d),r&&r.fire({icon:"error",title:"Something went wrong",text:d,customClass:{confirmButton:"btn btn-primary"}}),s}}return{recaptcha:v,form:t,recaptchaReady:n,isSSR:!1}}},L={key:0,class:"alert alert-danger fw-bold fs-5 text-center"},M={class:"container"},q={class:"row"},H={class:"col-12 col-md-7"},j={class:"row"},O={class:"col-12 col-md-6"},J={class:"mb-3 form-floating"},Q={class:"col-12 col-md-6"},W={class:"mb-3 form-floating"},z={class:"mb-3 form-floating"},G={class:"mb-3 form-floating"},K={class:"form-floating"},X={class:"my-3 text-center"},Y={class:"col-auto"},Z=["disabled"],$={key:0,class:"mt-2 small text-muted"},tt={class:"col-12 col-md-5"},et={class:"py-3 text-center"};function at(c,t,n,o,v,h){const g=b("Head"),f=b("Link"),r=N("mask");return w(),y(A,null,[_(g,null,{default:C(()=>[...t[6]||(t[6]=[e("title",null,"Contact Us | Customer Service | Armed Self Defense Institute",-1),e("meta",{property:"og:title",content:"Contact Us | Customer Service | Armed Self Defense Institute"},null,-1),e("meta",{name:"twitter:title",content:"Contact Us | Customer Service | Armed Self Defense Institute"},null,-1),e("meta",{name:"keywords",content:"CFP, CCW, CWP, Contact Us, Customer Service, Concealed Carry Class"},null,-1),e("meta",{property:"og:description",content:"Contact us here to get support regarding your ASDI concealed carry class."},null,-1),e("meta",{name:"twitter:description",content:"Contact us here to get support regarding your ASDI concealed carry class."},null,-1),e("meta",{name:"description",content:"Contact us here to get support regarding your ASDI concealed carry class."},null,-1),e("meta",{property:"og:image",content:"https://files.trainasdi.com/global/FirearmsClassInstruction.webp"},null,-1),e("meta",{itemprop:"image",content:"https://files.trainasdi.com/global/FirearmsClassInstruction.webp"},null,-1),e("meta",{name:"twitter:image",content:"https://files.trainasdi.com/global/FirearmsClassInstruction.webp"},null,-1),e("meta",{name:"twitter:site",content:"@TrainASDI"},null,-1),e("meta",{name:"twitter:creator",content:"@TrainASDI"},null,-1)])]),_:1}),e("div",null,[o.isSSR?(w(),y("div",L,"Javascript is required to register for a class on this website. If you are seeing this message and need help registering, please contact us at (801) 613-2734.")):S("",!0),t[20]||(t[20]=R('<div class="mb-3 bg-cover bg-classroom bg-norepeat bg-cc"><div class="text-white cover-image bg-blue"><div class="py-5 container-fluid"><div class="py-5 row"><div class="py-5 text-center col"><h1 class="mb-4 text-center text-feature">Staying in <span class="text-highlight">contact.</span></h1></div></div></div></div></div>',1)),e("div",M,[e("div",q,[e("div",H,[t[12]||(t[12]=e("div",{class:"py-3 text-center"},[e("h2",{class:"text-center h3"}
2,"Contact Us")],-1)),e("form",{class:"form",onSubmit:t[5]||(t[5]=V(a=>o.recaptcha(),["prevent"]))},[e("div",j,[e("div",O,[e("div",J,[m(e("input",{type:"text",class:"form-control",id:"firstName",placeholder:"John",required:"","onUpdate:modelValue":t[0]||(t[0]=a=>o.form.first_name=a)},null,512),[[u,o.form.first_name]]),t[7]||(t[7]=e("label",{for:"firstName"},"First Name",-1))])]),e("div",Q,[e("div",W,[m(e("input",{type:"text",class:"form-control",id:"lastName",placeholder:"Doe",required:"","onUpdate:modelValue":t[1]||(t[1]=a=>o.form.last_name=a)},null,512),[[u,o.form.last_name]]),t[8]||(t[8]=e("label",{for:"lastName"},"Last Name",-1))])])]),e("div",z,[m(e("input",{type:"email",class:"form-control",id:"email",placeholder:"[email protected]",required:"","onUpdate:modelValue":t[2]||(t[2]=a=>o.form.email=a)},null,512),[[u,o.form.email]]),t[9]||(t[9]=e("label",{for:"email"},"Email address",-1))]),e("div",G,[m(e("input",{type:"tel",class:"form-control",id:"phone",placeholder:"(800) 555-1212","onUpdate:modelValue":t[3]||(t[3]=a=>o.form.phone=a),pattern:"\\(\\d{3}\\) \\d{3}-\\d{4}"},null,512),[[u,o.form.phone],[r,"(###) ###-####"]]),t[10]||(t[10]=e("label",{for:"phone"},"Phone Number",-1))]),e("div",K,[m(e("textarea",{class:"form-control contact-message",placeholder:"How can we help you?",id:"message",required:"","onUpdate:modelValue":t[4]||(t[4]=a=>o.form.message=a)},null,512),[[u,o.form.message]]),t[11]||(t[11]=e("label",{for:"message"},"Message",-1))]),e("div",X,[e("div",Y,[e("button",{type:"submit",class:"btn btn-primary",disabled:!o.recaptchaReady}," Submit ",8,Z),o.recaptchaReady?S("",!0):(w(),y("div",$,"Loading security check…"))])])],32)]),e("div",tt,[e("div",et,[t[14]||(t[14]=e("h2",{class:"text-center h3"},"Still Have Questions?",-1)),t[15]||(t[15]=e("hr",null,null,-1)),t[16]||(t[16]=e("h3",{class:"h5"},"Give us a call",-1)),t[17]||(t[17]=e("a",{href:"tel:(801) 613-2734"},"(801) 613-2734",-1)),t[18]||(t[18]=e("hr",null,null,-1)),t[19]||(t[19]=e("h3",{class:"h5"},"Lookup your registration",-1)),_(f,{href:"/account",class:"btn btn-primary"},{default:C(()=>[...t[13]||(t[13]=[U("Find My Registration",-1)])]),_:1})])])])])])],64)}const st=D(B,[["render",at]]);export{st 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.