1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,353501,e=>{"use strict";var t=e.i(6159),s=e.i(529723),i=e.i(341807),a=e.i(569298),r=e.i(883079),l=e.i(62169),n=e.i(818178),o=e.i(509736);e.s(["default",0,function({title:e,subtitle:c}){let[d,m]=(0,s.useState)(""),[x,u]=(0,s.useState)(!1),[h,f]=(0,s.useState)(!1),[p,b]=(0,s.useState)(""),[g,j]=(0,s.useState)(0),y=async e=>{if(e.preventDefault(),d&&p&&!h){f(!0);try{(await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:d,turnstileToken:p})})).ok?(u(!0),(0,o.setSubscribed)()):console.error("Failed to subscribe")}catch(e){console.error("Error subscribing:",e)}finally{f(!1),j(e=>e+1)}}};return(0,t.jsxs)("section",{className:"relative flex flex-col pt-38 pb-10 md:pt-37 md:pb-12 overflow-hidden",id:"header",children:[(0,t.jsx)("div",{className:"mb-16 mx-auto max-w-[1400px] px-6 md:mb-20 md:px-10 w-full relative z-10",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row lg:items-center justify-between gap-8 lg:gap-16",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:w-[60%]",children:[(0,t.jsx)("h1",{className:"font-bold text-primary",style:{fontSize:"clamp(2.2rem, 6vw, 4.5rem)",lineHeight:1,letterSpacing:"-0.04em"},children:e||"AI is changing the world. Here is how to stay ahead."}),(0,t.jsx)("p",{className:"font-serif text-secondary text-[17px] md:text-xl mt-4 md:mt-4",children:c||n.siteConfig.description})]}),(0,t.jsxs)("div",{className:"lg:w-[35%] mt-6 lg:mt-0",children:[(0,t.jsx)("div",{className:"flex items-center gap-4 mb-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"flex -space-x-1.5",children:["/trusted/avatar-builder-1.jpg","/trusted/avatar-builder-2.jpg","/trusted/avatar-builder-3.jpg","/trusted/avatar-builder-4.jpg"].map((e,s)=>(0,t.jsx)(a.default,{src:e,alt:"Community builder",width:24,height:24,className:"w-6 h-6 rounded-full border-2 border-background object-cover",style:{zIndex:4-s}},s))}),(0,t.jsx)("span",{className:"font-mono text-[14px] uppercase text-tertiary tracking-wide",children:n.siteConfig.audienceProof})]})}),(0,t.jsx)("p",{className:"font-serif text-secondary mb-4 max-w-[40ch] text-[17px] md:text-xl",children:"Get the daily brief on what AI is changing, why it matters, and what to do next."}),x?(0,t.jsxs)(i.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.5,ease:[.16,1,.3,1]},className:"text-left mt-11",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-3",children:[(0,t.jsx)("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-accent/20 shrink-0",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,t.jsx)("path",{d:"M4 10l4 4 8-8",stroke:"var(--accent)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("h3",{className:"font-sans text-2xl font-medium text-primary",children:"Welcome aboard"})]}),(0,t.jsx)("p",{className:"font-serif text-lg text-secondary",children:"Check your inbox - your first brief arrives tomorrow morning."})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{className:"flex flex-col gap-1.5",onSubmit:y,children:[(0,t.jsx)("label",{htmlFor:"header-email",className:"sr-only",children:"Email Address"}),(0,t.jsx)("input",{id:"header-email",type:"email",value:d,onChange:e=>m(e.target.value),placeholder:"[email protected]",className:"w-full rounded-full border border-medium bg-background/50 px-5 py-3 text-base text-primary placeholder:text-tertiary focus:outline-none focus:border-strong transition-colors duration-300 font-sans",style:{transitionTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)"},required:!0}),(0,t.jsx)(l.default,{action:"newsletter_subscribe",onTokenChange:b,resetKey:g}),(0,t.jsx)(r.Button,{type:"submit",disabled:!p||h,className:"w-full rounded-full bg-surface-inverse px-7 py-3 text-base font-medium text-inverse text-center",children:h?"Subscribing...":"Subscribe - it's free"})]}),(0,t.jsx)("p",{className:"mt-3 font-mono text-[13px] text-tertiary tracking-wide",children:"No spam, ever. Unsubscribe in one click."})]})]})]})}),(0,t.jsx)("div",{className:"mx-auto max-w-[1400px] px-6 md:px-10 w-full relative z-10",children:(0,t.jsx)("div",{className:"editorial-line editorial-line-animated w-full"})})]})}])}]);
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.