1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63811,e=>{"use strict";var s=e.i(43476),a=e.i(22016),t=e.i(23548);let r=["Dunmore","Kirkwood","Orchard Park","Rochester","Syracuse","Waterford","Williamsport"];function l(){let{registerWithTracking:e,handleSubmit:l,errors:i,isSubmitSuccessful:n,submitCompletedForm:o}=(0,t.useFormSubmission)({formId:"69cc129a",formName:"product-support-request-evaluation",trackingFields:["name","phone","email","make","model","year","location","smsConsent"],successMessage:"Equipment evaluation request has been submitted successfully"});return(0,s.jsxs)("div",{className:"border border-[var(--light-gray)] bg-white p-6 shadow-[0_24px_80px_rgba(0,0,0,0.08)] md:p-8",children:[(0,s.jsxs)("div",{className:"mb-8 flex flex-col gap-4 border-b border-[var(--light-gray)] pb-6 md:flex-row md:items-end md:justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"sub-title sub-title-on-light",children:"Form"}),(0,s.jsx)("h2",{className:"h2-type mt-4 text-[var(--navy)]",children:"What would you like to have evaluated?"})]}),(0,s.jsx)("p",{className:"max-w-sm text-sm leading-6 text-[var(--mid-gray)]",children:"If you are looking for something specific or have a question, please fill out the form below and we will be happy to respond right away."})]}),(0,s.jsxs)("form",{className:"space-y-8",onSubmit:l(o),children:[(0,s.jsxs)("div",{className:"grid gap-5 md:grid-cols-2",children:[(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Full Name*"}),(0,s.jsx)("input",{type:"text",className:"input-field-primary",placeholder:"Your full name",...e("name",{required:"Full name is required"})}),i?.name&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.name?.message)})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Address"}),(0,s.jsx)("input",{type:"text",className:"input-field-primary",placeholder:"Street address",...e("address")})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Phone*"}),(0,s.jsx)("input",{type:"tel",className:"input-field-primary",placeholder:"Best callback number",...e("phone",{required:"Phone is required"})}),i?.phone&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.phone?.message)})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Email*"}),(0,s.jsx)("input",{type:"email",className:"input-field-primary",placeholder:"[email protected]",...e("email",{required:"Email is required"})}),i?.email&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.email?.message)})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Make*"}),(0,s.jsx)("input",{type:"text",className:"input-field-primary",placeholder:"Equipment make",...e("make",{required:"Make is required"})}),i?.make&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.make?.message)})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Model*"}),(0,s.jsx)("input",{type:"text",className:"input-field-primary",placeholder:"Equipment model",...e("model",{required:"Model is required"})}),i?.model&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.model?.message)})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Year*"}),(0,s.jsx)("input",{type:"text",className:"input-field-primary",placeholder:"Year",...e("year",{required:"Year is required"})}),i?.year&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.year?.message)})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Added Accessories"}),(0,s.jsx)("input",{type:"text",className:"input-field-primary",placeholder:"Attachments or upgrades",...e("addedAccessories")})]}),(0,s.jsxs)("label",{className:"block md:col-span-2",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Please Select Your Location*"}),(0,s.jsxs)("select",{defaultValue:"",className:"input-field-primary appearance-none",...e("location",{required:"Location is required"}),children:[(0,s.jsx)("option",{value:"",disabled:!0,children:"Select One"}),r.map(e=>(0,s.jsx)("option",{value:e,children:e},e))]}),i?.location&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.location?.message)})]})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"Comments"}),(0,s.jsx)("textarea",{rows:6,className:"input-field-primary resize-y",placeholder:"Share any condition details, hours, upgrades, or notes about the machine.",...e("comments")})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-bold uppercase tracking-[0.18em] text-[var(--navy)]",children:"SMS Consent Agreement*"}),(0,s.jsxs)("fieldset",{className:"bg-[var(--steel)] px-5 py-6 text-white md:px-6",children:[(0,s.jsxs)("div",{className:"mt-4 grid gap-3",children:[(0,s.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 border border-white/10 bg-white/5 px-4 py-4 transition hover:border-[var(--primary)]/60",children:[(0,s.jsx)("input",{type:"radio",value:"yes",className:"mt-1 h-5 w-5 border-white/30 text-[var(--primary)] focus:ring-[var(--primary)]",...e("smsConsent",{required:"SMS consent selection is required"})}),(0,s.jsx)("span",{className:"leading-7 text-white/88",children:"Yes, I consent to having Five Star Equipment contact me via SMS messaging."})]}),(0,s.jsxs)("label",{className:"flex cursor-pointer items-start gap-3 border border-white/10 bg-white/5 px-4 py-4 transition hover:border-[var(--primary)]/60",children:[(0,s.jsx)("input",{type:"radio",value:"no",className:"mt-1 h-5 w-5 border-white/30 text-[var(--primary)] focus:ring-[var(--primary)]",...e("smsConsent",{required:"SMS consent selection is required"})}),(0,s.jsx)("span",{className:"leading-7 text-white/88",children:"No, I do n
1ot consent to having Five Star Equipment contact me via SMS messaging."})]})]}),(0,s.jsx)("p",{className:"mt-5 text-sm leading-6 text-white/65",children:"By providing your mobile phone number and selecting consent, you consent to receive SMS messages from Five Star Equipment for informational and promotional purposes. Message and data rates may apply, and you may opt out at any time by replying STOP. Consent is not a condition of purchasing goods or services."})]}),i?.smsConsent&&(0,s.jsx)("span",{className:"mt-2 block text-sm text-red-500",children:String(i.smsConsent?.message)})]}),(0,s.jsx)("input",{type:"text",tabIndex:-1,autoComplete:"off",style:{position:"absolute",left:"-9999px",width:"1px",height:"1px",opacity:0,pointerEvents:"none"},"aria-hidden":"true",...e("honeypot")}),(0,s.jsxs)("div",{className:"flex flex-col gap-4 border-t border-[var(--light-gray)] pt-6 sm:flex-row sm:items-center sm:justify-between",children:[(0,s.jsx)("button",{type:"submit",className:"main-btn primary-btn w-full sm:w-auto",disabled:n,children:"Submit Request"}),(0,s.jsx)(a.default,{href:"/contact-five-star",className:"main-btn dark-btn w-full sm:w-auto",children:"Need General Support?"})]})]})]})}e.s(["default",()=>l])}]);
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.