1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[763],{5763:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return u}});var t=a(5893),n=a(8152),i=a(9152),r=a(7294),l=a(6128),o=a(9498),m=a(2640),c=a.n(m),d=e=>{let{primary:s}=e,[a,m]=(0,r.useState)(null),[d,u]=(0,r.useState)(!1),[h,p]=(0,r.useState)(null),[x,j]=(0,r.useState)({state:!1,message:""}),b=(0,r.useRef)(null),f=e=>{e.target.value.length>0&&e.target.setAttribute("data-active","active"),0===e.target.value.length&&e.target.setAttribute("data-active","inactive")},g=async()=>{if(h)return;let e=await fetch("/api/verify-us-ip"),s=await e.json();p(s),console.log("IP DATA",s)},v=async e=>{if(e.preventDefault(),!1===h.isUS){console.log(h),j({state:"error",message:"Sorry! We currently do not support outside of the US."});return}if(d.score<.6){j({state:"error",message:"Oh no! There was an error submitting your message. We could not verify your information. Please try again later or give us a call at 1-866-976-9744!"});return}let s=new FormData(b.current);s.append("type","application-submission");let a={};s.forEach((e,s)=>{a[s]=e}),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"form_submit",event_category:"engagement",event_label:"Application Form",user_firstname:a.firstname,user_lastname:a.lastname,user_email:a.email,page_location:window.location.href});try{let e=await fetch("/api/sendgrid-send-email",{method:"POST",body:s});if(e.ok){console.log("Form submitted successfully"),s.set("type","application-confirmation");let e=await fetch("/api/sendgrid-send-email",{method:"POST",body:s});e.ok&&console.log("User confirmation email sent successfully"),b.current.reset(),j({state:"success",message:"Thanks for your message. We will get back to you shortly!"})}else console.error("Failed to submit form"),j({state:"error",message:"Oh no! There was an error submitting your message. Please try again later or give us a call!"})}catch(e){console.error("Network error during form submission:",e),j({state:"error",message:"Oh no! There was an error submitting your message. Please try again later or give us a call!"})}};return(0,r.useEffect)(()=>{a&&(0,l.RJ)({token:a,setRecaptchaVerified:u})},[a]),(0,t.jsx)("div",{className:c().wrapper,children:(0,t.jsxs)("div",{className:c().container,"data-contain":"true",children:[(0,t.jsxs)("div",{className:c().header,children:[(0,t.jsx)("span",{className:c().heading,children:(0,t.jsx)(n.v,{field:null==s?void 0:s.heading})}),(0,t.jsx)(n.v,{field:null==s?void 0:s.description})]}),(0,t.jsxs)("form",{className:c().form,"data-form":"true",name:"Application Form",id:"Application Form",ref:b,onSubmit:v,onFocus:()=>{g()},"data-hs-cf-bound":"true",children:[(0,t.jsx)(o.ee,{onValidate:m,action:"page_view"}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"firstname",id:"firstname",required:!0,onChange:f}),(0,t.jsx)("label",{htmlFor:"firstname",children:"First Name"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"lastname",id:"lastname",required:!0,onChange:f}),(0,t.jsx)("label",{htmlFor:"lastname",children:"Last Name"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"tel",name:"phone",id:"phone",onChange:f}),(0,t.jsx)("label",{htmlFor:"phone",children:"Phone"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"email",name:"email",id:"email",required:!0,onChange:f}),(0,t.jsx)("label",{htmlFor:"email",children:"Email"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"legalbusinessname",id:"legalbusinessname",onChange:f}),(0,t.jsx)("label",{htmlFor:"legalbusinessname",children:"Legal Business Name"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"dbaname",id:"dbaname",onChange:f}),(0,t.jsx)("label",{htmlFor:"dbaname",children:"DBA Name"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"businessaddress",id:"businessaddress",onChange:f}),(0,t.jsx)("label",{htmlFor:"businessaddress",children:"Business Address"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"businesscity",id:"businesscity",onChange:f}),(0,t.jsx)("label",{htmlFor:"businesscity",children:"Business City"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"tel",name:"businessphone",id:"businessphone",onChange:f}),(0,t.jsx)("label",{htmlFor:"businessphone",children:"Business Phone"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"businessstate",id:"businessstate",onCh
1ange:f}),(0,t.jsx)("label",{htmlFor:"businessstate",children:"Business State"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"businesszip",id:"businesszip",onChange:f}),(0,t.jsx)("label",{htmlFor:"businesszip",children:"Business Zip"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"ein",id:"ein",onChange:f}),(0,t.jsx)("label",{htmlFor:"ein",children:"EIN Federal Tax ID"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"date",name:"businessstartdate",id:"businessstartdate","data-active":"inactive",onChange:f}),(0,t.jsx)("label",{htmlFor:"businessstartdate",children:"Business Start Date"})]}),(0,t.jsx)("div",{className:"formGroup",children:(0,t.jsx)(i.Ph,{label:"Business Type",name:"businesstype",options:[{value:"llc",label:"LLC"},{value:"sole",label:"Sole Proprietorship"},{value:"corp",label:"Corporation"}]})})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"bankname",id:"bankname",onChange:f}),(0,t.jsx)("label",{htmlFor:"bankname",children:"Bank Name"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"accountnumber",id:"accountnumber",onChange:f}),(0,t.jsx)("label",{htmlFor:"accountnumber",children:"Account #"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"routingnumber",id:"routingnumber",onChange:f}),(0,t.jsx)("label",{htmlFor:"routingnumber",children:"Routing #"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"homeaddress",id:"homeaddress",onChange:f}),(0,t.jsx)("label",{htmlFor:"homeaddress",children:"Home Address"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"homecity",id:"homecity",onChange:f}),(0,t.jsx)("label",{htmlFor:"homecity",children:"Home City"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"homestate",id:"homestate",onChange:f}),(0,t.jsx)("label",{htmlFor:"homestate",children:"Home State"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"homezip",id:"homezip",onChange:f}),(0,t.jsx)("label",{htmlFor:"homezip",children:"Home Zip"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"date",name:"dateofbirth",id:"dateofbirth",onChange:f,"data-active":"inactive"}),(0,t.jsx)("label",{htmlFor:"dateofbirth",children:"Date of Birth"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"ssn",id:"ssn",onChange:f}),(0,t.jsx)("label",{htmlFor:"ssn",children:"SSN #"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"driverslicense",id:"driverslicense",onChange:f}),(0,t.jsx)("label",{htmlFor:"driverslicense",children:"Drivers License #"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)(i.u,{message:"Enter the total monthly credit card volume."}),(0,t.jsx)("input",{type:"text",name:"totalmonthlyvolume",id:"totalmonthlyvolume",onChange:f}),(0,t.jsx)("label",{htmlFor:"totalmonthlyvolume",children:"Total Monthly CC Volume"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)(i.u,{message:"What is your average credit card transaction?"}),(0,t.jsx)("input",{type:"text",name:"averageticket",id:"averageticket",onChange:f}),(0,t.jsx)("label",{htmlFor:"averageticket",children:"Average Ticket"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)(i.u,{message:"What is the highest credit card transaction you would ever process?"}),(0,t.jsx)("input",{type:"text",name:"highticket",id:"highticket",onChange:f}),(0,t.jsx)("label",{htmlFor:"highticket",children:"High Ticket"})]})]}),(0,t.jsx)("div",{className:"formRow"}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsx)("div",{className:"formGroup",children:(0,t.jsx)(i.Ph,{label:"% Swiped - % Hand Keyed",name:"percentageswiped",options:[{value:"99%-1%",label:"99% / 1%"},{value:"90%-10%",label:"90% / 10%"},{value:"80%-20%",label:"80% / 20%"},{value:"50%-50%",label:"50% / 50%"}]})}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)(i.u,{message:"What time do you want to batch your terminal out?"}),(0,t.jsx)("input",{type:"text",name:"autobatchtime",id:"autobatchtime",onChange:f}),(0,t.jsx)("label",{htmlFor:"autobatchtime",children:"Auto Batch Time"})]}),(0,t.jsx)("div",{className:"formGroup",children:(0,t.jsx)(i.Ph,{label:"Connection Type",name:"connection",options:[{value:"ethernet",label:"Ethernet"},{value:"wifi",label:"WiFi"},{value:"wireless",label:"Wireless"}]})})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"ebtfsn",id:"ebtfsn",onChange:f}),(0,t.jsx)("label",{htmlFor:"ebtfsn",children:"EBT FSN #"})]}),(0,t.jsxs)("div",{className:"formGroup",children:[(0,t.jsx)("input",{type:"text",name:"productssold",id:"productssold",onChange:f}),(0,t.jsx)("label",{htmlFor:"productssold",children:"Products Sold"})]})]}),(0,t.jsxs)("div",{className:"formRow",children:[(0,t.jsxs)("div",{className:"formGroup","data-switch":"true",children:[(0,t.jsx)("label",{htmlFor:"acceptwexfleet",children:"Do You Accept Wex/Fleet Cards"}),(0,t.jsx)(i.rs,{name:"acceptwexfleet",id:"acceptwexfleet"})]}),(0,t.jsxs)("div",{className:"formGroup","data-switch":"true",children:[(0,t.jsx)("label",{htmlFor:"currentlyacceptingcards",children:"Are You Currently Accepting Cards"}),(0,t.jsx)(i.rs,{name:"currentlyacceptingcards",id:"currentlyacceptingcards"})]})]}),(0,t.jsx)(i.zx,{type:"button",submit:!0,disabled:"success"===x.state,label:"Submit",className:c().submitBtn})]}),x.state&&(0,t.jsx)(i.FN,{state:x.state,message:x.message})]})})},u=e=>{let{slice:{primary:s,variation:a}}=e;if("default"===a)return(0,t.jsx)(d,{primary:s})}},2640:function(e){e.exports={wrapper:"Default_wrapper__x2ufK",container:"Default_container__n_0rc",header:"Default_header__MmIp0",heading:"Default_heading__Z58Oz",submitBtn:"Default_submitBtn__mB4Eg"}}}]);
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.