1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1483],{93117:function(e,t,a){a.d(t,{V:function(){return i}});var n=a(57437),r=a(80908),l=a(33923),o=a(93448);function i(e){let{className:t}=e;return(0,n.jsx)(r.SafePhone,{onClick:()=>(0,l.RD)(),className:(0,o.cn)("text-primary font-bold",t),children:(0,n.jsx)(r.SafePhoneText,{})})}},51483:function(e,t,a){a.d(t,{a:function(){return S}});var n=a(57437),r=a(2265),l=a(30401),o=a(40875),i=a(92934),s=a(99397),c=a(76865),d=a(51817),u=a(76858),m=a(44743),h=a(84286),p=a(33923),f=a(11926),x=a(93117),b=a(30157);let g="w-full bg-card/20 border border-border/20 rounded-xl px-4 py-3.5 text-base text-foreground font-medium placeholder:text-muted-foreground focus:outline-none focus:border-primary/50 focus:ring-1 focus:ring-primary/30 transition-colors",v="!border-destructive/70",y="block text-[13px] font-black uppercase tracking-[0.2em] text-muted-foreground mb-2";function j(e,t){try{t?window.localStorage.setItem("lead-sent:".concat(e),JSON.stringify(t)):window.localStorage.removeItem("lead-sent:".concat(e))}catch(e){}}function N(e){try{let t=window.localStorage.getItem("lead-draft:".concat(e));if(!t)return null;let a=JSON.parse(t);if(!a||"number"!=typeof a.at||Date.now()-a.at>2592e5)return null;return a}catch(e){return null}}function w(e,t){try{t?window.localStorage.setItem("lead-draft:".concat(e),JSON.stringify(t)):window.localStorage.removeItem("lead-draft:".concat(e))}catch(e){}}let k=e=>e.length<2?e.join(""):"".concat(e.slice(0,-1).join(", ")," and ").concat(e[e.length-1]);function S(e){let{source:t,pageSlug:a,heading:S,subheading:C,ctaLabel:I="Get My Call Back",ctaClassName:F="",privacyNote:E="No spam, no list. One human reads it.",showBusiness:O=!1,compact:q=!1,detailsLabel:T="Add a note or email (optional)",detailsClassName:B="min-h-[44px] mb-3 lg:min-h-0 lg:mb-6 inline-flex items-center gap-1.5 text-left text-sm font-bold text-muted-foreground hover:text-primary transition-colors",ctaArrow:L=!1,successNote:D="Trevor will call you back.",onSuccess:W,hold:Z,onHold:A,beforeFields:P,qualify:_="optional",initialBand:J,trailLines:R,messageLabel:z="What do you need?",messagePlaceholder:U="Tell us how your business runs today: the software, the paper, the workarounds.",redirectToThankYou:V=!0,extras:G,fixedExtras:M,phoneLabel:Y="Phone",business:$,phoneNote:H,reach:K,bare:Q=!1,beforeSubmit:X,afterFields:ee,showEmail:et=!0,prepare:ea,showMessage:en=!0,asksFirst:er=!1,className:el="",sleepUntilTouch:eo=!1,sleepHeight:ei,draftKey:es,markAll:ec=!1,holdWord:ed="state",onAnswers:eu,pixelStart:em=!1,sleepHeightLg:eh,keepSent:ep=!1,recovery:ef,sendLines:ex}=e,eb=(0,r.useId)(),eg=Q?"w-full h-[52px] bg-card/20 border border-white/20 rounded-xl px-4 text-base text-foreground font-medium placeholder:text-muted-foreground focus:outline-none focus:border-primary/60 focus:ring-1 focus:ring-primary/30 transition-colors":g,ev=Q?"mb-3":"mb-4",ey=$&&!er?(null!=M?M:[]).findIndex(e=>e.besideBusiness):-1,[ej,eN]=(0,r.useState)(eo),ew=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!ej)return;let e=ew.current;if(!e||"undefined"==typeof IntersectionObserver||"#lp-form"===window.location.hash){eN(!1);return}let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&eN(!1)},{rootMargin:"700px 0px"});return t.observe(e),()=>t.disconnect()},[ej]);let[ek,eS]=(0,r.useState)("idle"),[eC,eI]=(0,r.useState)(""),[eF,eE]=(0,r.useState)(!q),[eO,eq]=(0,r.useState)(!1),[eT,eB]=(0,r.useState)(null!=J?J:""),[eL,eD]=(0,r.useState)({}),[eW,eZ]=(0,r.useState)(!1),eA=(0,r.useRef)(""),[eP,e_]=(0,r.useState)({}),[eJ,eR]=(0,r.useState)(!1),[ez,eU]=(0,r.useState)({name:"",phone:"",email:"",businessName:"",message:"",hp:""});(0,r.useEffect)(()=>{(0,p.Gx)()},[]);let[eV,eG]=(0,r.useState)(!es);(0,r.useEffect)(()=>{if(!es)return;let e=ep?function(e){try{let t=window.localStorage.getItem("lead-sent:".concat(e));if(!t)return null;let a=JSON.parse(t);if(!a||"number"!=typeof a.at||"number"!=typeof a.until||Date.now()>a.until||Date.now()-a.at>6048e5)return null;return{...a,reply:a.reply&&"object"==typeof a.reply?a.reply:{},extras:a.extras&&"object"==typeof a.extras?a.extras:{}}}catch(e){return null}}(es):null;if(e){eD(Object.fromEntries(Object.entries(e.extras).filter(e=>{let[,t]=e;return"string"==typeof t}))),e_(e.reply),eS("success"),null==W||W(),eG(!0);return}ep&&j(es,null);let t=N(es);t&&(eU(e=>{var a;return{...e,...Object.fromEntries(Object.entries(null!==(a=t.fields)&&void 0!==a?a:{}).filter(t=>{let[a,n]=t;return"hp"!==a&&a in e&&"string"==typeof n}))}}),eD(e=>{var a;return{...Object.fromEntries(Object.entries(null!==(a=t.extras)&&void 0!==a?a:{}).filter(e=>{let[,t]=e;return"string"==typeof t})),...e}}),ep&&"string"==typeof t.token&&/^[A-Za-z0-9-]{8,64}$/.test(t.token)&&(eA.current=t.token)),eG(!0)},[es,ep]),(0,r.useEffect)(()=>
1{if(!es||!eV||"success"===ek)return;let e={name:ez.name,phone:ez.phone,email:ez.email,businessName:ez.businessName,message:ez.message};w(es,Object.values(e).some(e=>e.trim())||Object.keys(eL).length>0?{at:Date.now(),fields:e,extras:eL,...ep&&eA.current?{token:eA.current}:{}}:null)},[es,eV,ez,eL,ek,ep]),(0,r.useEffect)(()=>{null==eu||eu(eL)},[eL,eu]);let eM=e=>t=>eU(a=>({...a,[e]:t.target.value})),eY=e=>{e&&(e.scrollIntoView({block:"center"}),e.focus({preventScroll:!0}))},e$=()=>{var e;let t=[];Z&&t.push({key:"hold",word:ed,line:Z,focus:()=>null==A?void 0:A()}),$&&!ez.businessName.trim()&&t.push({key:"company",word:$.label.toLowerCase(),line:$.missing,focus:()=>eY(document.getElementById("".concat(eb,"-company")))});let a=(e,a)=>{var n,r;let l="".concat(eb,"-fixed-").concat(a);t.push({key:"fixed-".concat(a),word:null!==(n=e.short)&&void 0!==n?n:e.label.toLowerCase(),line:null!==(r=e.missing)&&void 0!==r?r:"".concat(e.label," is required."),focus:()=>{var e;return eY(null!==(e=document.querySelector('[aria-labelledby="'.concat(CSS.escape(l),'"] button')))&&void 0!==e?e:document.getElementById(l))}})},n=ey>-1?null==M?void 0:M[ey]:void 0;return(null==n?void 0:n.required)&&!(null===(e=eL[n.label])||void 0===e?void 0:e.trim())&&a(n,ey),ez.name.trim()||t.pu
1sh({key:"name",word:"your name",line:"Add your name.",focus:()=>eY(document.getElementById("".concat(eb,"-name")))}),ez.phone.trim()||t.push({key:"phone",word:"your ".concat(Y.toLowerCase()),line:"Add your ".concat(Y.toLowerCase(),"."),focus:()=>eY(document.getElementById("".concat(eb,"-phone")))}),(null!=M?M:[]).forEach((e,t)=>{var n;t===ey||!e.required||(null===(n=eL[e.label])||void 0===n?void 0:n.trim())||a(e,t)}),t},eH=ec&&eJ?e$():[],eK=e=>eH.some(t=>t.key===e),eQ=1===eH.length?eH[0].line:eH.length>1?"Still needed: ".concat(k(eH.map(e=>e.word)),"."):"";async function eX(e){var n,r,l;if(e.preventDefault(),"submitting"===ek||"success"===ek)return;if(ec){let e=e$();if(e.length){eR(!0),eZ(!1),eS("idle"),eI(""),e[0].focus();return}eR(!1)}if(Z){eZ(!0),eS("error"),eI(Z),null==A||A();return}if(eZ(!1),$&&!ez.businessName.trim()){eS("error"),eI($.missing);return}if(!ez.name.trim()||!ez.phone.trim()){eS("error"),eI("Name and phone number are required. That's how Trevor calls you back.");return}let o=(null!=M?M:[]).find(e=>{var t;return e.required&&!(null===(t=eL[e.label])||void 0===t?void 0:t.trim())});if(o){eS("error"),eI(null!==(n=o.missing)&&void 0!==n?n:"".concat(o.label," is required."));return}if(!0===_&&!eT){eS("error"),eI("Pick the closest revenue range. It tells us whether this is a fit.");return}let i=ez.email.trim();if(i&&!/^\S+@\S+\.\S{2,}$/.test(i)){eS("error"),eI("That email doesn't look right. Fix it or leave it blank.");return}eS("submitting"),eI("");let s=[];if(ea)try{s=await ea()}catch(e){eS("error"),eI(e instanceof Error&&e.message?e.message:"Something went wrong sending that.");return}let c=b.cf.find(e=>e.label===eT),d=(0,f.xA)([...null!=M?M:[],...null!=G?G:[]],eL),u=(0,p.ol)(),m=[c?"Revenue: ".concat(c.label).concat(c.qualified?"":" (BELOW BAR)"):"",...null!=R?R:[],...s,...[...null!=M?M:[],...null!=G?G:[]].map(e=>{var t,a;return(null===(t=eL[e.label])||void 0===t?void 0:t.trim())?"".concat(null!==(a=e.trail)&&void 0!==a?a:e.label,": ").concat(eL[e.label].trim()):""}),a?"Page: ".concat(a):"",...Object.entries(u).map(e=>{let[t,a]=e;return"".concat(t,": ").concat(a)})].filter(Boolean),h=[ez.message.trim(),m.join(" \xb7 ")].filter(Boolean).join("\n\n"),x=new AbortController,g=window.setTimeout(()=>x.abort(),12e3),v={};if(eA.current||(eA.current="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,12))),ep&&es){let e=N(es);w(es,{at:Date.now(),fields:null!==(r=null==e?void 0:e.fields)&&void 0!==r?r:{},extras:null!==(l=null==e?void 0:e.extras)&&void 0!==l?l:eL,token:eA.current})}if(ex&&"undefined"!=typeof navigator&&!1===navigator.onLine){window.clearTimeout(g),eS("error"),eI(ex.offline);return}let y={source:t,name:ez.name.trim(),phone:ez.phone.trim(),email:i,businessName:ez.businessName.trim(),message:h,hp:ez.hp,token:eA.current},k=!1;try{let e=await fetch("/api/lead",{method:"POST",headers:{"Content-Type":"application/json"},signal:x.signal,body:JSON.stringify(y)});if(!e.ok){let t=await e.json().catch(()=>({}));throw!1===t.sent&&(eA.current=""),k=!1===t.sent||400===e.status||429===e.status,Error("lead_failed")}if(v=await e.json().catch(()=>({})),e_(v),ep&&es){let e=v.promise,t=Date.now();j(es,{at:t,until:t+6048e5,reply:{promise:null!=e?e:null,sentAt:t},extras:eL}),e_({...v,sentAt:t}),function(e){if(e)try{window.localStorage.removeItem("lead-start:".concat(e))}catch(e){}}(es),!1===v.stored&&window.setTimeout(()=>{fetch("/api/lead",{method:"POST",headers:{"Content-Type":"application/json"},keepalive:!0,body:JSON.stringify({...y,restore:!0})}).catch(()=>{})},2e4)}}catch(e){eS("error"),eI(ex?k?ex.refused:ex.maybeIn:x.signal.aborted?"Something stalled sending that. Try again.":"Something went wrong sending that.");return}finally{window.clearTimeout(g)}eS("success"),es&&w(es,null),null==W||W();try{(0,p.fd)(t,v.eventId),(0,p.B1)(t,c?{qualified:c.qualified}:d?{qualified:!0}:void 0)}catch(e){}if(d)try{(0,p.FC)(t,v.eventId)}catch(e){}V&&window.setTimeout(()=>{window.location.href="/thank-you"},900)}let e0=(e,t,a)=>{var r,i,s;return(0,n.jsx)("div",{className:a,children:e.options&&e.buttons?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{id:t,className:y,children:[e.label," ",e.required?"*":(0,n.jsx)("span",{className:"opacity-50 normal-case tracking-normal",children:"(optional)"})]}),(0,n.jsx)("div",{className:"grid ".concat(3===e.columns?"grid-cols-3":1===e.columns?"grid-cols-1":"grid-cols-2"," ").concat(Q?"gap-3":"gap-2"," ").concat(ec&&eH.some(e=>t.endsWith("-".concat(e.key)))?"rounded-xl outline outline-2 outline-offset-4 outline-destructive/70":""),role:"radiogroup","aria-labelledby":t,"aria-invalid":!!(ec&&eH.some(e=>t.endsWith("-".concat(e.key))))||void 0,children:e.options.map(t=>{let a=eL[e.label]===t;return(0,n.jsxs)("button",{type:"button",role:"radio","aria-checked":a,onClick:()=>eD(a=>({...a,[e.label]:t})),className:"flex ".concat(e.columns?"min-h-[52px] py-1.5 leading-[20px]":"h-[52px]"," items-center justify-center gap-2 rounded-xl border px-3 text-base font-bold text-foreground transition-colors text-center focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary ").concat(a?"border-primary":"border-white/30 hover:border-white/60"),children:[a&&(0,n.jsx)(l.Z,{className:"h-4 w-4 shrink-0 text-primary",strokeWidth:3,"aria-hidden":"true"}),t]},t)}
1)})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("label",{htmlFor:t,className:y,children:[e.label," ",e.required?"*":(0,n.jsx)("span",{className:"opacity-50 normal-case tracking-normal",children:"(optional)"})]}),e.options?(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("select",{id:t,required:e.required,value:null!==(r=eL[e.label])&&void 0!==r?r:"",onChange:t=>eD(a=>({...a,[e.label]:t.target.value})),"aria-invalid":!!(ec&&eH.some(e=>t.endsWith("-".concat(e.key))))||void 0,className:"".concat(eg," appearance-none pr-12 ").concat(eL[e.label]?"":"text-muted-foreground"," ").concat(ec&&eH.some(e=>t.endsWith("-".concat(e.key)))?v:""),children:[(0,n.jsx)("option",{value:"",children:null!==(i=e.placeholder)&&void 0!==i?i:"Pick one"}),e.options.map(e=>(0,n.jsx)("option",{value:e,className:"text-foreground",children:e},e))]}),(0,n.jsx)(o.Z,{className:"pointer-events-none absolute right-4 top-1/2 h-5 w-5 -translate-y-1/2 text-muted-foreground","aria-hidden":"true"})]}):(0,n.jsx)("input",{id:t,type:"text",required:e.required,maxLength:200,value:null!==(s=eL[e.label])&&void 0!==s?s:"",onChange:t=>eD(a=>({...a,[e.label]:t.target.value})),placeholder:e.placeholder,"aria-invalid":!!(ec&&eH.some(e=>t.endsWith("-".concat(e.key))))||void 0,className:"".concat(eg," ").concat(ec&&eH.some(e=>t.endsWith("-".concat(e.key)))?v:"")})]})},e.label)};if("success"===ek)return(0,n.jsxs)("div",{role:"status",className:"bg-card/15 backdrop-blur-xl border border-primary/25 rounded-2xl p-8 lg:p-10 text-center ".concat(el),children:[(0,n.jsx)("div",{className:"w-14 h-14 mx-auto bg-primary/10 rounded-full flex items-center justify-center mb-5 border border-primary/20",children:(0,n.jsx)(i.Z,{className:"w-7 h-7 text-primary"})}),(0,n.jsx)("h3",{className:"text-xl font-black uppercase italic tracking-tighter text-foreground mb-2",children:"Got It."}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground font-medium",children:"function"==typeof D?D(eL,eP):D})]});if(ej)return(0,n.jsx)("div",{className:el,"data-lead-form":!0,children:(0,n.jsxs)("div",{ref:ew,className:"relative flex flex-col justify-center rounded-2xl border border-border/20 bg-card/15 p-6 backdrop-blur-xl lg:p-8 ".concat(eh?"min-h-[var(--sleep-h)] lg:min-h-[var(--sleep-lg)]":""),style:eh?{"--sleep-h":"".concat(null!=ei?ei:q?380:620,"px"),"--sleep-lg":"".concat(eh,"px")}:{minHeight:null!=ei?ei:q?380:620},children:[S?(0,n.jsx)("h3",{className:"font-heading text-2xl font-black uppercase italic tracking-tighter text-foreground",children:S}):null,C?(0,n.jsx)("p",{className:"mt-2 text-sm font-medium text-muted-foreground",children:C}):null,(0,n.jsx)("button",{type:"button",onClick:()=>eN(!1),className:"mt-6 flex h-14 w-full items-center justify-center rounded-xl bg-primary px-6 font-heading text-base font-black uppercase italic tracking-tighter text-black ".concat(F),children:I})]})});let e1=null==M?void 0:M.map((e,t)=>e0(e,"".concat(eb,"-fixed-").concat(t),"mb-4")),e2=(0,n.jsxs)(n.Fragment,{children:[!eF&&(0,n.jsxs)("button",{type:"button",onClick:()=>eE(!0),className:B,children:[(0,n.jsx)(s.Z,{className:"w-3.5 h-3.5 shrink-0","aria-hidden":"true"})," ",T]}),eF&&(0,n.jsxs)(n.Fragment,{children:[(et||O)&&(0,n.jsxs)("div",{className:O&&et?"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4":ev,children:[et&&(0,n.jsxs)("div",{children:[(0,n.jsxs)("label",{htmlFor:"".concat(eb,"-email"),className:y,children:["Email ",(0,n.jsx)("span",{className:"opacity-50 normal-case tracking-normal",children:"(optional)"})]}),(0,n.jsx)("input",{id:"".concat(eb,"-email"),name:"email",type:"email",autoComplete:"email",maxLength:254,value:ez.email,onChange:eM("email"),placeholder:"[email protected]",className:eg})]}),O&&(0,n.jsxs)("div",{children:[(0,n.jsxs)("label",{htmlFor:"".concat(eb,"-business"),className:y,children:["Business ",(0,n.jsx)("span",{className:"opacity-50 normal-case tracking-normal",children:"(optional)"})]}),(0,n.jsx)("input",{id:"".concat(eb,"-business"),name:"businessName",type:"text",autoComplete:"organization",maxLength:200,value:ez.businessName,onChange:eM("businessName"),placeholder:"Your business",className:eg})]})]}),null==G?void 0:G.map((e,t)=>
1e0(e,"".concat(eb,"-extra-").concat(t),en||t<G.length-1?"mb-4":"mb-6")),en&&(0,n.jsxs)("div",{className:"mb-6",children:[(0,n.jsxs)("label",{htmlFor:"".concat(eb,"-message"),className:y,children:[z," ",(0,n.jsx)("span",{className:"opacity-50 normal-case tracking-normal",children:"(optional)"})]}),(0,n.jsx)("textarea",{id:"".concat(eb,"-message"),name:"message",rows:q?2:4,maxLength:4e3,value:ez.message,onChange:eM("message"),placeholder:U,className:"".concat(g," resize-y ").concat(q?"min-h-[64px]":"min-h-[110px]")})]})]})]});return(0,n.jsxs)("div",{className:el,...eo?{"data-lead-form":!0}:{},children:[(0,n.jsxs)("form",{onSubmit:eX,noValidate:!0,"data-lead-form":!0,onFocusCapture:()=>{eO||(eq(!0),(0,p.od)(t,em&&function(e){if(!e)return!0;try{let t=Number(window.localStorage.getItem("lead-start:".concat(e)));if(Number.isFinite(t)&&t>0&&Date.now()-t<2592e5)return!1;window.localStorage.setItem("lead-start:".concat(e),String(Date.now()))}catch(e){}return!0}(es)?{pixel:!0}:void 0))},className:Q?"relative":"relative bg-card/15 backdrop-blur-xl border border-border/20 rounded-2xl p-6 lg:p-8",children:[S&&(0,n.jsx)("h3",{className:"text-xl lg:text-2xl font-black uppercase italic tracking-tighter text-foreground mb-1 leading-tight",children:S}),C&&(0,n.jsx)("p",{className:"text-sm text-muted-foreground font-medium mb-6",children:C}),S&&!C&&(0,n.jsx)("div",{className:"mb-6"}),P,er&&e2,er&&e1,$&&(0,n.jsxs)("div",{className:ey>-1?"grid grid-cols-2 gap-x-3":void 0,children:[(0,n.jsxs)("div",{className:ev,children:[(0,n.jsxs)("label",{htmlFor:"".concat(eb,"-company"),className:y,children:[$.label," *"]}),(0,n.jsx)("input",{id:"".concat(eb,"-company"),name:"businessName",type:"text",autoComplete:"organization",required:!0,maxLength:200,value:ez.businessName,onChange:eM("businessName"),placeholder:$.placeholder,"aria-invalid":eK("company")||void 0,className:"".concat(eg," ").concat(eK("company")?v:"")})]}),ey>-1&&M?e0(M[ey],"".concat(eb,"-fixed-").concat(ey),ev):null]}),(0,n.jsxs)("div",{className:Q?"grid grid-cols-2 gap-3 mb-3":"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{htmlFor:"".concat(eb,"-name"),className:y,children:"Name *"}),(0,n.jsx)("input",{id:"".concat(eb,"-name"),name:"name",type:"text",autoComplete:"name",required:!0,maxLength:200,value:ez.name,onChange:eM("name"),placeholder:"Your name","aria-invalid":eK("name")||void 0,className:"".concat(eg," ").concat(eK("name")?v:"")})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("label",{htmlFor:"".concat(eb,"-phone"),className:y,children:[Y," *"]}),(0,n.jsx)("input",{id:"".concat(eb,"-phone"),name:"phone",type:"tel",autoComplete:"tel",required:!0,maxLength:40,value:ez.phone,onChange:eM("phone"),placeholder:"(318) 555-0123","aria-invalid":eK("phone")||void 0,className:"".concat(eg," ").concat(eK("phone")?v:"")})]})]}),H&&(0,n.jsx)("div",{className:Q?"-mt-1 mb-4":"-mt-2 mb-4",children:H}),K&&(0,n.jsxs)("div",{className:ev,children:[(0,n.jsx)("span",{id:"".concat(eb,"-reach"),className:y,children:K.label}),(0,n.jsx)("div",{className:"grid grid-cols-2 ".concat(Q?"gap-3":"gap-2"),role:"radiogroup","aria-labelledby":"".concat(eb,"-reach"),children:K.options.map(e=>(0,n.jsxs)("button",{type:"button",role:"radio","aria-checked":K.value===e,onClick:()=>K.onChange(e),className:"flex min-h-[48px] items-center justify-center gap-2 rounded-xl border px-3 text-base font-bold text-foreground transition-colors text-center focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary ".concat(K.value===e?"border-primary":"border-white/30 hover:border-white/60"),children:[K.value===e&&(0,n.jsx)(l.Z,{className:"h-4 w-4 shrink-0 text-primary",strokeWidth:3,"aria-hidden":"true"}),e]},e))})]}),!er&&(0,n.jsx)(n.Fragment,{children:null==M?void 0:M.map((e,t)=>t===ey?null:e0(e,"".concat(eb,"-fixed-").concat(t),"mb-4"))}),_&&(0,n.jsxs)("div",{className:"mb-5",children:[(0,n.jsxs)("span",{className:y,children:["What's the business doing a year, roughly?"," ",!0===_?"*":(0,n.jsx)("span",{className:"opacity-50 normal-case tracking-normal",children:"(optional)"})]}),(0,n.jsx)("div",{className:"grid grid-cols-2 gap-2",role:"radiogroup","aria-label":"Yearly revenue range",children:b.cf.map(e=>(0,n.jsx)("button",{type:"button",role:"radio","aria-checked":eT===e.label,onClick:()=>eB(e.label),className:"rounded-xl border px-3 py-2.5 text-sm font-bold transition-colors text-center ".concat(eT===e.label?"bg-primary text-primary-foreground border-primary":"bg-card/20 border-border/20 text-foreground hover:border-primary/40"),children:e.label},e.label))})]}),!er&&e2,ee,(0,n.jsxs)("div",{className:"absolute -left-[9999px] top-auto w-px h-px overflow-hidden","aria-hidden":"true",children:[(0,n.jsx)("label",{htmlFor:"".concat(eb,"-fim-extra"),children:"Leave this field empty"}),(0,n.jsx)("input",{id:"".concat(eb,"-fim-extra"),name:"fim_extra_field",type:"text",tabIndex:-1,autoComplete:"off",value:ez.hp,onChange:eM("hp")})]}),eQ&&(0,n.jsxs)("div",{role:"alert",className:"flex items-start gap-3 bg-destructive/10 border border-destructive/30 rounded-xl px-4 py-3 ".concat(Q?"mb-3":"mb-5"),children:[(0,n.jsx)(c.Z,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"}),(0,n.jsx)("p",{className:"text-sm text-foreground font-medium",children:eQ})]}),"error"===ek&&!(eW&&!Z)&&(0,n.jsxs)("div",{role:"alert",className:"flex items-start gap-3 bg-destructive/10 border border-destructive/30 rounded-xl px-4 py-3 ".concat(Q?"mb-3":"mb-5"),children:[(0,n.jsx)(c.Z,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"}),(0,n.jsxs)("p",{className:"text-sm text-foreground font-medium",children:[eC," ",eC.startsWith("Something")&&(null!=ef?ef:(0,n.jsxs)(n.Fragment,{children:["Call or text Trevor directly instead: ",(0,n.jsx)(x.V,{})]}))]})]}),X&&(0,n.jsx)("div",{className:ev,children:X}),(0,n.jsx)("button",{type:"submit",disabled:"submitting"===ek,className:"w-full flex items-center justify-center gap-2 bg-primary text-primary-foreground font-black uppercase italic tracking-tighter text-base rounded-xl hover:opacity-90 active:scale-[0.99] transition-all disabled:opacity-60 disabled:cursor-not-allowed ".concat(Q?"h-[52px]":"py-4 shadow-lg shadow-primary/20"," ").concat(F),children:"submitting"===ek?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.Z,{className:"w-5 h-5 animate-spin","aria-hidden":"true"})," Sendingâ¦"]}):(0,n.jsx)(n.Fragment,{children:L?(0,n.jsxs)(n.Fragment,{children:[I," ",(0,n.jsx)(u.Z,{className:"w-5 h-5","aria-hidden":"true"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.Z,{className:"w-4 h-4","aria-hidden":"true"})," ",I]})})})]}),E&&(0,n.jsxs)("p",{className:"mt-4 flex items-center justify-center gap-2 text-[13px] text-faint font-medium",children:[(0,n.jsx)(h.Z,{className:"w-3.5 h-3.5 text-primary/70 shrink-0","aria-hidden":"true"}),E]})]})}},80908:function(e,t,a){a.d(t,{SafePhone:function(){return d},SafePhoneText:function(){return u}});var n=a(57437),r=a(2265),l=a(32292);let o=e=>e.split("").map(e=>e.charCodeAt(0)),i=e=>e.map(e=>String.fromCharCode(e)).join(""),s=o(l.gc),c=o(l.aS);function d(e){let{className:t,children:a,onClick:o,ariaLabel:d}=e,[u,m]=(0,r.useState)(!1);(0,r.useEffect)(()=>m(!0),[]);
1let h=[l.v5,t].filter(Boolean).join(" ");return u?(0,n.jsx)("a",{href:i(c),onClick:o,className:h,"aria-label":null!=d?d:"Call ".concat(i(s)),children:null!=a?a:i(s)}):(0,n.jsx)("span",{className:h,"aria-hidden":"true",children:null!=a?a:"Call us"})}function u(e){let{className:t}=e,[a,o]=(0,r.useState)(!1);return((0,r.useEffect)(()=>o(!0),[]),a)?(0,n.jsx)("span",{className:[l.v5,t].filter(Boolean).join(" "),children:i(s)}):(0,n.jsx)("span",{className:t,"aria-hidden":"true",children:"â¦"})}},93448:function(e,t,a){a.d(t,{cn:function(){return l}});var n=a(61994),r=a(53335);function l(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.m6)((0,n.W)(t))}}}]);
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.