1import{F as C,r as o,G as f,c as E,j as e,L as k}from"./index-DBNypItS.js";import{a as F,c as R,H as I,F as T}from"./createServerFn-DltFNCBR.js";const L=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],M=F("phone",L);function P(n){const i=C();return o.useCallback(async(...d)=>{try{const t=await n(...d);if(f(t))throw t;return t}catch(t){if(f(t))return t.options._fromLocation=i.stores.location.get(),i.navigate(i.resolveRedirect(t).options);throw t}},[i,n])}const A=["eCommerce Platform & Implementation","ERP & System Integrations","UI/UX Design","Technology Strategy & Roadmapping","Project Recovery & Engineering Support","Not sure yet / Other"],_=R({method:"POST"}).handler(E("24d672fb73584c0403d628777d6e29971e34c8317bf1373db52c3b2cb37fcb61")),O=new Set(["gmail.com","googlemail.com","yahoo.com","yahoo.co.uk","ymail.com","outlook.com","hotmail.com","hotmail.co.uk","live.com","msn.com","icloud.com","me.com","mac.com","aol.com","proton.me","protonmail.com","gmx.com","gmx.net","mail.com","comcast.net","sbcglobal.net","att.net","verizon.net","yandex.com","qq.com","163.com"]),j="Please use your business email address so we can route your request.";function D(n){return n.split("@")[1]?.trim().toLowerCase()??""}function N(n){return O.has(D(n))}const c="w-full rounded-md border border-white/20 bg-white/5 px-4 py-3 text-base text-white placeholder:text-white/40 outline-none transition focus:border-cyan-accent focus:ring-1 focus:ring-cyan-accent",l="mb-2 block text-sm font-semibold text-white";function H(){const n=P(_),[i,d]=o.useState([]),[t,m]=o.useState("idle"),[x,u]=o.useState(null),y=o.useRef(Date.now()),[h,g]=o.useState(null);function p(s){g(s.includes("@")&&N(s)?j:null)}function w(s){d(a=>a.includes(s)?a.filter(r=>r!==s):[...a,s])}async function v(s){s.preventDefault();const a=s.currentTarget,r=new FormData(a),S=String(r.get("email")??"");if(N(S)){g(j),m("idle");return}m("sending"),u(null);try{await n({data:{firstName:String(r.get("firstName")??""),lastName:String(r.get("lastName")??""),email:String(r.get("email")??""),phone:String(r.get("phone")??""),interests:i,message:String(r.get("message")??""),website:String(r.get("website")??""),renderedAt:y.current}}),m("sent"),a.reset(),d([])}catch(b){m("error"),u(b instanceof Error?b.message:"Something went wrong. Please email [email protected].")}}return t==="sent"?e.jsxs("div",{className:"rounded-md border border-white/15 bg-white/5 p-8 text-center",children:[e.jsx("h3",{className:"display text-2xl text-white",children:"Thanks, we got it."}),e.jsxs("p",{className:"mt-3 text-base text-white/80",children:["A member of our team will reach out shortly. Need something sooner? Email"," ",e.jsx("a",{href:"mailto:[email protected]",className:"font-semibold text-cyan-accent",children:"[email protected]"}),"."]})]}):e.jsxs("form",{onSubmit:v,className:"space-y-6",children:[e.jsxs("div",{"aria-hidden":"true",className:"absolute left-[-9999px] h-0 w-0 overflow-hidden",children:[e.jsx("label",{htmlFor:"website",children:"Website"}),e.jsx("input",{id:"website",name:"website",tabIndex:-1,autoComplete:"off"})]}),e.jsxs("div",{className:"grid gap-6 sm:grid-cols-2",children:[e.jsxs("div",{children:[e.jsxs("label",{className:l,htmlFor:"firstName",children:["First Name ",e.jsx("span",{className:"text-cyan-accent",children:"*"})]}),e.jsx("input",{id:"firstName",name:"firstName",required:!0,className:c})]}),e.jsxs("div",{children:[e.jsx("label",{className:l,htmlFor:"lastName",children:"Last Name"}),e.jsx("input",{id:"lastName",name:"lastName",className:c})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:l,htmlFor:"email",children:["Email ",e.jsx("span",{className:"text-cyan-accent",children:"*"})]}),e.jsx("input",{id:"email",name:"email",type:"email",required:!0,placeholder:"[email protected]",onBlur:s=>p(s.currentTarget.value),onChange:s=>{h&&p(s.currentTarget.value)},className:`${c} ${h?"border-destructive focus:border-destructive focus:ring-destructive":""}`}),h?e.jsx("p",{className:"mt-2 text-sm font-semibold text-destructive",children:h}):null]}),e.jsxs("div",{children:[e.jsx("label",{className:l,htmlFor:"phone",children:"Phone Number"}),e.jsx("input",{id:"phone",name:"phone",type:"tel",className:c})]}),e.jsxs("fieldset",{children:[e.jsx("legend",{className:l,children:"What can we help you with?"}),e.jsx("div",{className:"grid gap-2 sm:grid-cols-2",children:A.map(s=>{const a=i.includes(s);return e.jsxs("label",{className:`flex cursor-pointer items-center gap-3 rounded-md border px-3 py-2.5 text-sm transition ${a?"border-cyan-accent bg-cyan-accent/10 text-white":"border-white/15 bg-white/5 text-white/80 hover:border-white/35"}`,children:[e.jsx("input",{type:"checkbox",className:"h-4 w-4 shrink-0 accent-cyan-accent",checked:a,onChange:()=>w(s)}),s]},s)})})]}),e.jsxs("div",{children:[e.jsx("label",{className:l,htmlFor:"message",children:"Tell us about your project"}),e.jsx("textarea",{id:"message",name:"message",rows:5,placeholder:"What are you working on, and where could you use some help?",className:`${c} resize-y`})]}),x?e.jsx("p",{className:"text-sm font-semibold text-destructive",children:x}):null,e.jsx("button",{type:"submit",disabled:t==="sending",className:"inline-flex w-full items-center justify-center rounded-md bg-brand px-6 py-3.5 text-sm font-semibold text-brand-foreground transition hover:opacity-90 disabled:opacity-60 sm:w-auto",children:t==="sending"?"Sending...":"Send message â"})]})}function G(){return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(I,{}),e.jsx("section",{className:"on-brand bg-brand",children:e.jsx("div",{className:"mx-auto max-w-7xl px-6 py-16 lg:px-10 lg:py-24",children:e.jsxs("div",{className:"grid gap-10 lg:grid-cols-2 lg:gap-16",children:[e.jsxs("div",{className:"text-white",children:[e.jsx("div",{className:"mb-8 flex h-20 w-20 items-center justify-center rounded-full text-[#7fdfe8]",children:e.jsx("svg",{viewBox:"0 0 64 64",f
1ill:"none",className:"h-20 w-20","aria-hidden":!0,children:e.jsx("path",{d:"M32 6c14.36 0 26 10.97 26 24.5 0 13.53-11.64 24.5-26 24.5-3.2 0-6.27-.55-9.1-1.55L8 58l3.7-12.4C8.16 41.4 6 36.18 6 30.5 6 16.97 17.64 6 32 6Z",stroke:"currentColor",strokeWidth:"5",strokeLinejoin:"round"})})}),e.jsx("h1",{className:"display text-5xl sm:text-6xl",children:"Let's Talk"}),e.jsx("p",{className:"mt-6 max-w-xl text-base leading-relaxed text-white/90",children:"From strategy to implementation, Fusionary excels at partnering with companies to identify their challenges, define their objectives, and establish system solutions that add value and promote growth. Reach out and we can discuss your needs and help you find the right combo of engagements and deliverables to achieve your goals."}),e.jsx("div",{className:"mt-10 space-y-4",children:e.jsxs("a",{href:"tel:6164694424",className:"flex items-center gap-3 text-base font-semibold text-white hover:opacity-90",children:[e.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full border-2 border-white",children:e.jsx(M,{className:"h-4 w-4"})}),"616-469-4424"]})}),e.jsxs("div",{className:"mt-10 grid gap-8 border-t border-white/30 pt-8 sm:grid-cols-2",children:[e.jsxs("div",{children:[e.jsxs("h3",{className:"text-base font-bold",children:["Grand Rapids ",e.jsx("span",{className:"text-[#7fdfe8]",children:"(HQ)"})]}),e.jsxs("p",{className:"mt-2 text-sm leading-relaxed text-white/90",children:["89 Monroe Center St. NW Suite 400",e.jsx("br",{}),"Grand Rapids, MI 49503"]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-base font-bold",children:"Farmington Hills"}),e.jsxs("p",{className:"mt-2 text-sm leading-relaxed text-white/90",children:["28423 Orchard Lake Rd. Ste. 295",e.
1jsx("br",{}),"Farmington Hills, MI 48334"]})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-base font-bold",children:"Traverse City"}),e.jsxs("p",{className:"mt-2 text-sm leading-relaxed text-white/90",children:["309 W Front St.",e.jsx("br",{}),"Traverse City, MI 49684"]})]})]})]}),e.jsxs("div",{className:"overflow-hidden rounded-lg bg-[#1e2b3e] text-white shadow-2xl",children:[e.jsxs("div",{className:"border-b border-white/10 px-8 py-6 lg:px-10",children:[e.jsx("p",{className:"eyebrow mb-2",children:"Send a message"}),e.jsxs("h2",{className:"display text-2xl text-white sm:text-3xl",children:["Tell us what you are ",e.jsx("span",{className:"display-italic",children:"building"})]})]}),e.jsx("div",{className:"px-6 py-8 lg:px-10 lg:py-10",children:e.jsx(H,{})})]})]})})}),e.jsx("section",{className:"border-t border-border bg-background",children:e.jsxs("div",{className:"mx-auto grid max-w-7xl items-center gap-8 px-6 py-16 lg:grid-cols-2 lg:px-10 lg:py-20",children:[e.jsxs("div",{children:[e.jsx("p",{className:"eyebrow mb-4",children:"Partners"}),e.jsxs("h2",{className:"display text-3xl sm:text-4xl",children:["Have a deal to ",e.jsx("span",{className:"display-italic",children:"register?"})]}),e.jsx("p",{className:"mt-4 max-w-xl text-muted-foreground",children:"Partners and referral sources can submit an opportunity registration with the representative, prospect, and project details."})]}),e.jsx("div",{className:"lg:justify-self-end",children:e.jsx(k,{to:"/register-a-deal",className:"inline-flex rounded-md bg-brand px-6 py-3 text-sm font-semibold text-brand-foreground transition hover:opacity-90",children:"Opportunity Registration Form â"})})]})}),e.jsx(T,{})]})}export{G as component};
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.