1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53160,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(4231),s=e.i(96792);e.s(["default",0,function({initialEmail:e}){let[l,i]=(0,r.useState)(e),[n,o]=(0,r.useState)(""),[c,d]=(0,r.useState)(null),[u,m]=(0,r.useState)(!1),[x,h]=(0,r.useState)(null),[p,v]=(0,r.useState)(0),f=async e=>{if(e.preventDefault(),!u){if(!x)return void d({type:"error",message:"Please wait while browser verification finishes, then try again."});m(!0),d(null);try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,message:n,turnstileToken:x})}),t=await e.json();e.ok?(d({type:"success",message:"Your message has been sent successfully, and we will respond promptly."}),i(""),o("")):d({type:"error",message:function(e){if("string"==typeof e&&e.trim())return e;if(e&&"object"==typeof e){let t=e.message;if("string"==typeof t&&t.trim())return t}return"Something went wrong. Please try again."}(t?.error)})}catch(e){console.error("Error submitting form:",e),d({type:"error",message:"Failed to send message. Please try again later."})}finally{m(!1),h(null),v(e=>e+1)}}};return(0,t.jsxs)("div",{className:"mt-10 rounded-[28px] border border-[var(--border-subtle)] bg-[var(--bg-elev)] p-7 sm:p-10",style:{boxShadow:"var(--surface-shadow)"},children:[c&&"success"!==c.type&&(0,t.jsxs)("div",{role:"alert",className:`mb-6 rounded-xl border p-4 ${"warning"===c.type?"border-yellow-500/40 bg-yellow-100 text-yellow-900":"border-red-500/40 bg-red-100 text-red-900"}`,children:[c.message,(0,t.jsx)("div",{className:"mt-3 border-t border-[var(--border-subtle)] pt-3 text-sm text-[var(--text-muted)]",children:"Need help right away? Contact us directly at [email protected]."})]}),(0,t.jsxs)("form",{onSubmit:f,className:"space-y-6","aria-busy":u,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"email",className:"mb-2 block text-sm font-medium text-[var(--text)] sm:text-base",children:"Email Address"}),(0,t.jsx)("input",{type:"email",id:"email",value:l,onChange:e=>i(e.target.value),className:"w-full rounded-2xl border border-[var(--border-strong)] bg-[var(--bg-elev-2)] px-4 py-3 text-base text-[var(--text)] outline-none transition-colors placeholder:text-[var(--text-muted)] focus:border-[var(--accent-border)] sm:px-5",placeholder:"Your email address",required:!0,disabled:u})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"message",className:"mb-2 block text-sm font-medium text-[var(--text)] sm:text-base",children:"Message"}),(0,t.jsx)("textarea",{id:"message",value:n,onChange:e=>o(e.target.value),rows:6,className:"w-full rounded-2xl border border-[var(--border-strong)] bg-[var(--bg-elev-2)] px-4 py-3 text-base text-[var(--text)] outline-none transition-colors placeholder:text-[var(--text-muted)] focus:border-[var(--accent-border)] sm:px-5",placeholder:"How can we help you?",required:!0,disabled:u})]}),(0,t.jsx)(s.default,{action:"contact",onToken:h,resetKey:p}),(0,t.jsx)(a.default,{type:"submit",variant:"primary",className:"w-full justify-center",disabled:u||!x,children:u?"Sending...":"Send Message"})]}),c?.type==="success"&&(0,t.jsx)("div",{role:"status","aria-live":"polite",className:"mt-6 rounded-xl border border-[var(--accent-border)] bg-[var(--accent-soft)] p-4 text-[var(--accent)]",children:c.message})]})}])},3056,e=>{"use strict";var t=e.i(43476),r=e.i(56420);let a=(0,r.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),s=(0,r.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),l=(0,r.default)("phone",[["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"}]]);var i=e.i(57688),n=e.i(22016),o=e.i(18566),c=e.i(42546),d=e.i(22969);
1let u=[{src:"/linkedin-icon.svg",href:"https://www.linkedin.com/company/cashtreeai",label:"LinkedIn"},{src:"/X-icon.svg",href:"https://x.com/CashTreeAI",label:"X"},{src:"/youtube-icon.svg",href:"https://www.youtube.com/@cashtreeai",label:"YouTube"}];function m({title:e,links:r,getHref:a,onSectionNav:s}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-5 text-sm font-semibold tracking-normal text-[var(--accent)]",children:e}),(0,t.jsx)("ul",{className:"space-y-3",children:r.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:a(e.href),onClick:t=>s(t,e.href),className:"text-sm text-[var(--text-muted)] transition-colors hover:text-[var(--text)]",children:e.label})},e.label))})]})}e.s(["default",0,function(){let[e,r,x]=d.FOOTER_COLUMNS,h=(0,o.usePathname)(),p=(0,o.useRouter)(),v=e=>{let t=e.replace(/^#/,"");return"faqs"===t?"faq":t},f=e=>e.startsWith("#")?`/?section=${v(e)}`:e,b=(e,t)=>{if(!t.startsWith("#"))return;let r=v(t);if(e.preventDefault(),"/"!==h)return void p.push(`/?section=${r}`);let a=document.getElementById(r);if(!a)return;let s=a.getBoundingClientRect().top+window.pageYOffset+-100;window.scrollTo({top:s,behavior:"smooth"})};return(0,t.jsx)("footer",{className:"relative isolate overflow-hidden border-t border-[var(--border-subtle)] pt-10 pb-6 xl:pt-16",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1280px] px-5 sm:px-8",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-10 sm:grid-cols-3 xl:grid-cols-6",children:[(0,t.jsxs)("div",{className:"col-span-2 sm:col-span-3 xl:col-span-2",children:[(0,t.jsx)(c.default,{size:28}),(0,t.jsx)("p",{className:"mt-5 max-w-xs text-sm leading-relaxed text-[var(--text-muted)]",children:"AI-powered automation for growing businesses. Save time, reduce costs, and unlock real growth."}),(0,t.jsxs)("div",{className:"mt-6 flex items-center gap-2",children:[u.map(e=>(0,t.jsx)("a",{href:e.href,"aria-label":e.label,target:"_blank",rel:"noopener noreferrer",className:"flex h-9 w-9 items-center justify-center rounded-full border border-[var(--border-subtle)] bg-[var(--bg-elev)] transition-all hover:border-[var(--accent-border)] hover:opacity-100",children:(0,t.jsx)(i.default,{src:e.src,alt:"",width:16,height:16,className:"h-4 w-4 object-contain opacity-75 transition-opacity hover:opacity-100",style:{filter:"var(--social-icon-filter)"}})},e.label)),(0,t.jsx)(n.default,{href:"/contact","aria-label":"Contact CashTree",className:"flex h-9 w-9 items-center justify-center rounded-full border border-[var(--border-subtle)] bg-[var(--bg-elev)] text-[var(--text-muted)] transition-all hover:border-[var(--accent-border)] hover:text-[var(--accent)]",children:(0,t.jsx)(a,{className:"h-4 w-4"})})]})]}),(0,t.jsx)(m,{title:e.title,links:e.links,getHref:f,onSectionNav:b}),(0,t.jsx)(m,{title:r.title,links:r.links,getHref:f,onSectionNav:b}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-5 text-sm font-semibold tracking-normal text-[var(--accent)]",children:"Contact"}),(0,t.jsxs)("ul",{className:"space-y-3 text-sm text-[var(--text-muted)]",children:[(0,t.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(a,{className:"h-4 w-4 shrink-0 text-[var(--accent)]"}),(0,t.jsx)("a",{href:"mailto:[email protected]",className:"hover:text-[var(--text)]",children:"[email protected]"})]}),(0,t.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(l,{className:"h-4 w-4 shrink-0 text-[var(--accent)]"}),(0,t.jsx)("a",{href:"tel:+14802696515",className:"hover:text-[var(--text)]",children:"(480) 269-6515"})]}),(0,t.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,t.jsx)(s,{className:"h-4 w-4 shrink-0 text-[var(--accent)]"}),(0,t.jsx)("a",{href:"https://share.google/mmoDQXNgz1V1NjzOl",target:"_blank",rel:"noopener noreferrer",className:"hover:text-[var(--text)]",children:"Scottsdale, AZ"})]})]})]}),(0,t.jsx)(m,{title:x.title,links:x.links,getHref:f,onSectionNav:b})]}),(0,t.jsxs)("div",{className:"mt-14 flex flex-col items-center justify-between gap-3 border-t border-[var(--border-subtle)] pt-6 sm:flex-row",children:[(0,t.jsxs)("p",{className:"text-xs text-[var(--text-muted)]",children:["© ",new Date().getFullYear()," CashTree. All rights reserved."]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6",children:[(0,t.jsx)(n.default,{href:"/privacy-policy",className:"text-xs text-[var(--text-muted)] hover:text-[var(--text)]",children:"Privacy Policy"}),(0,t.jsx)(n.default,{href:"/terms-of-service",className:"text-xs text-[var(--text-muted)] hover:text-[var(--text)]",children:"Terms of Service"})]})]})]})})}],3056)},96792,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let a=null;e.s(["default",0,function({action:e,onToken:s,resetKey:l}){let i="0x4AAAAAABABRou2QRZCXNbg",n=(0,r.useRef)(null),o=(0,r.useRef)(s),[c,d]=(0,r.useState)(0),[u,m]=(0,r.useState)("pending");return(0,r.useEffect)(()=>{o.current=s},[s]),(0,r.useEffect)(()=>{let t,r,s,l=!1,c=(e,t=null)=>{l||(window.clearTimeout(s),o.current(t),m(e),"pending"===e&&(s=window.setTimeout(()=>c("error"),3e4)))};return c("pending"),!i||/^[123]x0+/.test(i)?c("error"):(window.turnstile?Promise.resolve(window.turnstile):a||(a=new Promise((e,t)=>
1{let r=document.createElement("script"),a=()=>{window.clearTimeout(s),r.remove(),t(Error("Turnstile script unavailable"))},s=window.setTimeout(a,15e3);r.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",r.async=!0,r.onload=()=>{window.clearTimeout(s),window.turnstile?e(window.turnstile):a()},r.onerror=a,document.head.appendChild(r)}).catch(e=>{throw a=null,e}))).then(a=>{!l&&n.current&&(t=(r=a).render(n.current,{sitekey:i,action:e,appearance:"interaction-only",size:"flexible",retry:"auto","refresh-expired":"auto","refresh-timeout":"auto","response-field":!1,callback:e=>c("ready",e),"error-callback":e=>(c("error"),console.warn("Turnstile challenge failed",e),!0),"expired-callback":()=>c("pending"),"timeout-callback":()=>c("pending")}))}).catch(()=>c("error")),()=>{l=!0,window.clearTimeout(s),void 0!==t&&r?.remove(t),o.current(null)}},[e,i,l,c]),(0,t.jsxs)("div",{className:"mx-auto w-full max-w-[360px] text-center",children:[(0,t.jsx)("div",{ref:n}),(0,t.jsxs)("div",{"aria-live":"polite",className:"error"===u?"my-5 text-xs leading-5 text-[var(--text-muted)]":"sr-only",children:["pending"===u?"Verifying your browserâ¦":null,"error"===u?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:"Verification could not finish. Check your connection and try again."}),(0,t.jsx)("button",{type:"button",onClick:()=>d(e=>e+1),className:"mt-2 cursor-pointer rounded px-2 py-2 font-medium underline underline-offset-2 focus-visible:outline-2 focus-visible:outline-[var(--accent)]",children:"Retry verification"}),(0,t.jsxs)("p",{children:["If this continues, email ",(0,t.jsx)("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"}),"."]})]}):null]})]})}],96792)}]);
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.