1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7507,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},26660,e=>{"use strict";var t=e.i(46882),s=e.i(55118);let r=[{key:"dont_understand",label:"I don't understand what TeamCopilot does"},{key:"already_use_n8n",label:"I already use n8n"},{key:"already_use_claude_code",label:"I already use Claude Code"},{key:"too_complicated",label:"Looks too complicated"},{key:"no_use_case",label:"I don't have a use case"},{key:"just_browsing",label:"Just browsing"},{key:"other",label:"Other"}];function a(){let[e,a]=(0,s.useState)(""),[o,n]=(0,s.useState)(""),[l,i]=(0,s.useState)("idle"),[d,c]=(0,s.useState)(""),u=(0,s.useMemo)(()=>r.find(t=>t.key===e),[e]),p="submitting"!==l&&!!u&&("other"!==e||o.trim().length>0);async function m(t){if(t.preventDefault(),!u){i("error"),c("Pick one option first.");return}if("other"===e&&!o.trim()){i("error"),c("Please add a short note for Other.");return}i("submitting"),c("");try{let t=await fetch("https://api.teamcopilot.ai/homepage-question",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({answerKey:e,answerLabel:u.label,otherText:"other"===e?o.trim():void 0})});if(!t.ok){let e=await t.json().catch(()=>null);throw Error(e?.error??"Unable to submit response.")}i("success"),c("Thanks. Your answer was recorded."),a(""),n("")}catch(e){i("error"),c(e instanceof Error?e.message:"Something went wrong.")}}return(0,t.jsx)("section",{className:"px-4 pt-10 pb-24 sm:px-6",children:(0,t.jsx)("div",{className:"mx-auto max-w-5xl overflow-hidden rounded-[36px] border border-[#2d5c9e]/30 bg-[radial-gradient(circle_at_top,rgba(17,58,110,0.42),rgba(17,17,13,0.98)_58%)] p-6 shadow-[0_0_120px_rgba(45,92,158,0.24)] sm:p-8 lg:p-10",children:(0,t.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[0.9fr_1.1fr] lg:items-start",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.3em] text-[#9bb8e0]/80",children:"Not ready to try TeamCopilot?"}),(0,t.jsx)("h2",{className:"mt-4 text-4xl font-black tracking-[-0.05em] text-white sm:text-6xl",children:"What's stopping you?"})]}),(0,t.jsxs)("form",{onSubmit:m,className:"rounded-[28px] border border-stone-700/80 bg-[#0d0d0a]/90 p-5 shadow-[0_30px_100px_rgba(0,0,0,0.45)] sm:p-6",children:[(0,t.jsx)("div",{className:"grid gap-3",children:r.map(s=>{let r=e===s.key;return(0,t.jsxs)("label",{className:`group flex cursor-pointer items-start gap-3 rounded-2xl border px-4 py-3 transition ${r?"border-[#2d5c9e]/70 bg-[#113a6e]/25 shadow-[0_0_0_1px_rgba(155,184,224,0.15)]":"border-stone-700 bg-black/30 hover:border-stone-500 hover:bg-stone-950/80"}`,children:[(0,t.jsx)("input",{type:"radio",name:"homepage-question",value:s.key,checked:r,onChange:()=>{a(s.key),i("idle"),c("")},className:"mt-1 h-4 w-4 border-stone-500 bg-transparent text-[#9bb8e0] focus:ring-[#9bb8e0]"}),(0,t.jsx)("span",{className:"text-sm leading-6 text-stone-100",children:s.label})]},s.key)})}),"other"===e?(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{className:"mb-2 block text-xs font-bold uppercase tracking-[0.2em] text-stone-400",children:"Other"}),(0,t.jsx)("input",{type:"text",value:o,onChange:e=>{n(e.target.value),i("idle"),c("")},placeholder:"Tell us what is missing",className:"w-full rounded-2xl border border-stone-700 bg-black/40 px-4 py-3 text-sm text-stone-100 outline-none transition placeholder:text-stone-500 focus:border-[#9bb8e0]/70 focus:ring-2 focus:ring-[#113a6e]/40"})]}):null,(0,t.jsxs)("div",{className:"mt-5 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,t.jsx)("p",{className:"text-xs leading-6 text-stone-500",children:"We only store the choice itself so we can see what to improve."}),(0,t.jsx)("button",{type:"submit",disabled:!p,className:"inline-flex items-center justify-center rounded-full bg-white px-6 py-3 text-sm font-bold text-stone-950 transition hover:bg-stone-200 disabled:cursor-not-allowed disabled:bg-stone-500 disabled:text-stone-800",children:"submitting"===l?"Submitting...":"Submit"})]}),d?(0,t.jsx)("p",{className:`mt-4 rounded-2xl border px-4 py-3 text-sm ${"success"===l?"border-emerald-500/30 bg-emerald-500/10 text-emerald-200":"border-rose-500/30 bg-rose-500/10 text-rose-200"}`,children:d}):null]})]})})})}e.s(["default",()=>a])},1792,e=>{"use strict";var t=e.i(46882),s=e.i(55118),r=e.i(54249);let a=[{text:"When a WhatsApp message comes in, draft a reply â but if the customer sounds angry, ask @Sarah what to do before replying.",builds:"always-on service + asks @Sarah"},{text:"Check my server logs every 5 minutes and ping @Dev on Slack if a new error shows up.",builds:"scheduled job + Slack ping to @Dev"},{text:"Review every GitHub PR when it opens â and get @Priya's sign-off before approving anything that touches payments.",builds:"webhook service + @Priya's sign-off"},{text:"Pull failed Stripe payments each morning, skip the small ones, and have @Maya in finance approve the rest before emailing customers.",builds:"scheduled job + @Maya's approval"},{text:"Triage incoming support tickets by urgency and route each one to whoever on the team owns that area.",builds:"hosted API + owner routing"},{text:"Every Friday, compile a report from Postgres, GitHub, and Zendesk, and ask me before sending it to the team.",builds:"scheduled job + asks you first"}];function o(e,s){let r=void 0===s?e.length:s,a=[],o=0;
1for(let s of e.split(/(@[A-Za-z]+)/)){if(o>=r||0===s.length)break;let e=s.slice(0,r-o);o+=s.length,a.push(s.startsWith("@")?(0,t.jsx)("span",{className:"rounded-[5px] bg-[#113a6e]/70 px-1 py-px font-semibold text-[#9bb8e0]",children:e},o):(0,t.jsx)("span",{children:e},o))}return a}function n(){let[e,n]=(0,s.useState)(0),[l,i]=(0,s.useState)(0),[d,c]=(0,s.useState)("typing"),u=a[e],p=l===u.text.length;return(0,s.useEffect)(()=>{let e;return e="typing"===d?l<u.text.length?window.setTimeout(()=>i(e=>e+1),26):window.setTimeout(()=>c("deleting"),3e3):l>0?window.setTimeout(()=>i(e=>e-1),7):window.setTimeout(()=>{n(e=>(e+1)%a.length),c("typing")},350),()=>window.clearTimeout(e)},[d,l,u.text.length]),(0,t.jsxs)("div",{className:"glow-border relative rounded-[28px] bg-[#0d0d0a]/90 p-5 shadow-[0_30px_100px_rgba(0,0,0,0.5)] backdrop-blur sm:p-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-xs font-semibold text-stone-500",children:[(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-[#5c8fd6] opacity-60"}),(0,t.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-[#5c8fd6]"})]}),"Ask TeamCopilot to automate something"]}),(0,t.jsxs)("p",{className:"mt-4 min-h-[84px] text-base leading-7 text-stone-100 sm:min-h-[56px] sm:text-lg sm:leading-8","aria-live":"off",children:[o(u.text,l),(0,t.jsx)("span",{className:"caret-blink ml-0.5 inline-block h-[1.15em] w-[2px] translate-y-[0.2em] rounded-full bg-white","aria-hidden":"true"})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-end justify-between gap-4",children:[(0,t.jsxs)("span",{className:`inline-flex items-center gap-2 rounded-full border border-stone-700/80 bg-stone-950/80 px-3 py-1.5 text-xs text-stone-400 transition-opacity duration-500 ${p?"opacity-100":"opacity-0"}`,children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"text-[#9bb8e0]",children:"â³"}),"builds: ",o(u.builds)]}),(0,t.jsx)(r.default,{href:"/book-demo","aria-label":"Book a demo to see your automation built",className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-white text-stone-950 transition hover:bg-stone-200 hover:shadow-[0_0_30px_rgba(255,255,255,0.2)]",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,className:"h-5 w-5","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19V5m0 0-6 6m6-6 6 6"})})})]})]})}e.s(["default",()=>n])},15492,e=>{"use strict";var t=e.i(46882),s=e.i(55118);function r({children:e,className:r}){let a=(0,s.useRef)(null);return(0,t.jsx)("div",{ref:a,onMouseMove:e=>{if(a.current)for(let t of a.current.querySelectorAll(".spotlight-card")){let s=t.getBoundingClientRect();t.style.setProperty("--spot-x",`${e.clientX-s.left}px`),t.style.setProperty("--spot-y",`${e.clientY-s.top}px`)}},className:r,children:e})}e.s(["default",()=>r])}]);
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.