PageSourceSearch

https://edmwarriors.com/_nuxt/tI1lxBVH.js

js edmwarriors.com collected 2026-10-04 07:47:33 UTC 5,195 bytes, 2 lines download raw bytes

1import{_ as c}from"./CRwKBJgY.js";import{_ as h}from"./BK5ZpevN.js";import{_ as f}from"./DsRRN0kT.js";import{_}from"./BP1sjB8t.js";import{_ as b}from"./CtovSXeu.js";import{_ as g}from"./DnqTXfRn.js";import{_ as y}from"./kbZ6rl6-.js";import{aL as S,aO as D,aP as l,aQ as p,aR as r,aS as s,aW as i,b6 as j,aN as I}from"./DGfe1mPV.js";import{h as x}from"./Cx27IZB1.js";import{u as m}from"./CWWgcEB8.js";import"./DRnbzGmH.js";import"./v33dYHEJ.js";import"./CYV-VOaX.js";import"./DVU4-FXT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="dd70583f-d491-48c1-9847-6d18b0a64ed1",e._sentryDebugIdIdentifier="sentry-dbid-dd70583f-d491-48c1-9847-6d18b0a64ed1")}catch{}})();const E={name:"ContactPage",components:{Block:y,FormBlock:f,FormText:b,FormSelect:_,FormInput:h,Honeypot:c,Turnstile:g},head(){return x.formatResponse("Contact Us | Edmwarriors","Contact us for any questions or concerns you may have. We will be happy to help you at Edmwarriors.",this.getCanonicalUrl())},data(){return{data:{},error:{},logged:!1,turnstileToken:null,authStore:j()}},watch:{"authStore.logged"(){this.setData()}},mounted(){this.setData(),(this._.provides[i]||this.$route).query.error&&this.$toast.error((this._.provides[i]||this.$route).query.error)},methods:{setData(){if(this.authStore.logged){let e=this.authStore.userData;this.data.name=e.username,this.data.email=e.email,this.logged=!0}else this.data.name="",this.data.email="",this.logged=!1;this.data.subject="",this.data.department=void 0,this.applyPaymentVerificationPrefill()},applyPaymentVerificationPrefill(){if((this._.provides[i]||this.$route).query.issue!=="payment_verification")return;const e=(this._.provides[i]||this.$route).query.token||"",o=(this._.provides[i]||this.$route).query.PayerID||"";this.data.department="administration",this.data.subject="Payment verification issue",this.data.message=["I completed checkout but the site could not verify my payment automatically.","",`PayPal token: ${e||"(not available)"}`,`PayPal PayerID: ${o||"(not available)"}`,"","Please check whether the payment was captured and complete my order if it was."].join(`
2`)},async submit(){const e=await m.getToken({token:this.turnstileToken,turnstileRef:this.$refs.turnstile});if(!e){this.$toast.error("Please complete the verification");return}this.data.token=e,this.$axios.post("web/contact",this.data).then(()=>{m.reset(this.$refs.turnstile),this.$toast.success("Your ticket has been sent. Thanks. We'll keep in touch!"),this.data.department=null,this.data.subject="",this.data.message="",this.logged||(this.data.name="",this.data.email=""),this.error={}}).catch(o=>{m.reset(this.$refs.turnstile),this.errorValidation(o,this.error)})}}},F={class:"container mt-30px"},U={class:"text-6xl font-semibold mb-20px"},B={class:"fgrid"},q={class:"fcol-6_md-12"},C={class:"flex justify-center"},R=["disabled"];function $(e,o,k,N,t,u){const V=c,d=h,n=f,v=_,w=b,P=g,T=y;return I(),D("section",F,[l("h1",U,p(e.$t("contact.title")),1),l("div",B,[l("div",q,[r(T,null,{buttons:s(()=>[l("button",{disabled:!t.turnstileToken,class:"btn color full set-bg mt-20px",onClick:o[6]||(o[6]=(...a)=>u.submit&&u.submit(...a))},p(e.$t("contact.submit")),9,R)]),default:s(()=>[r(V),r(n,{label:e.$t("contact.name_username"),"on-top":!0},{default:s(()=>[r(d,{modelValue:t.data.name,"onUpdate:modelValue":o[0]||(o[0]=a=>t.data.name=a),placeholder:e.$t("contact.name_username"),disabled:t.logged,error:t.error.name,init:t.data.name},null,8,["modelValue","placeholder","disabled","error","init"])]),_:1},8,["label"]),r(n,{label:e.$t("global.email"),"on-top":!0},{default:s(()=>[r(d,{modelValue:t.data.email,"onUpdate:modelValue":o[1]||(o[1]=a=>t.data.email=a),placeholder:e.$t("global.email"),disabled:t.logged,error:t.error.email,init:t.data.email},null,8,["modelValue","placeholder","disabled","error","init"])]),_:1},8,["label"]),r(n,{label:e.$t("contact.department"),"on-top":!0},{default:s(()=>[r(v,{modelValue:t.data.department,"onUpdate:modelValue":o[2]||(o[2]=a=>t.data.department=a),error:t.error.department,options:e.$t("contact.departments"),placeholder:"Select a department",name:"department"},null,8,["modelValue","error","options"])]),_:1},8,["label"]),r(n,{label:e.$t("contact.subject"),"on-top":!0},{default:s(()=>[r(d,{modelValue:t.data.subject,"onUpdate:modelValue":o[3]||(o[3]=a=>t.data.subject=a),placeholder:e.$t("contact.subject"),error:t.error.subject,init:t.data.subject},null,8,["modelValue","placeholder","error","init"])]),_:1},8,["label"]),r(n,{label:e.$t("global.message"),"on-top":!0},{default:s(()=>[r(w,{modelValue:t.data.message,"onUpdate:modelValue":o[4]||(o[4]=a=>t.data.message=a),placeholder:e.$t("global.message"),error:t.error.message,init:t.data.message},null,8,["modelValue","placeholder","error","init"])]),_:1},8,["label"]),l("div",C,[r(P,{ref:"turnstile",modelValue:t.turnstileToken,"onUpdate:modelValue":o[5]||(o[5]=a=>t.turnstileToken=a)},null,8,["modelValue"])])]),_:1})])])])}const ee=S(E,[["render",$]]);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.