1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bf170484-9d31-1772-cc16-2871753dbb0b")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let l=e.r(271645);function n(e,t){let r=(0,l.useRef)(null),n=(0,l.useRef)(null);return(0,l.useCallback)(l=>{if(null===l){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=s(e,l)),t&&(n.current=s(t,l))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return i}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let s=e.r(190809)._(e.r(998183)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,l=e.protocol||"",n=e.pathname||"",o=e.hash||"",i=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),i&&"object"==typeof i&&(i=String(s.urlQueryToSearchParams(i)));let c=e.search||i&&`?${i}`||"";return l&&!l.endsWith(":")&&(l+=":"),e.slashes||(!l||a.test(l))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),n=n.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${l}${u}${n}${c}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let l=e.r(718967),n=e.r(652817);function s(e){if(!(0,l.isAbsoluteUrl)(e))return!0;try{let t=(0,l.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return l}});let l=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return g},useLinkStatus:function(){return y}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let s=e.r(190809),a=e.r(843476),o=s._(e.r(271645)),i=e.r(195057),u=e.r(8372),c=e.r(818581),d=e.r(718967),m=e.r(405550);e.r(233525);let f=e.r(388540),p=e.r(91949),h=e.r(573668),x=e.r(509396);function g(t){var r,l;let n,s,g,[y,j]=(0,o.useOptimistic)(p.IDLE_LINK_STATUS),w=(0,o.useRef)(null),{href:v,as:N,children:k,prefetch:S=null,passHref:C,replace:T,shallow:_,scroll:O,onClick:P,onMouseEnter:R,onTouchStart:M,legacyBehavior:E=!1,onNavigate:L,transitionTypes:U,ref:A,unstable_dynamicOnHover:$,...B}=t;n=k,E&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let I=o.default.useContext(u.AppRouterContext),F=!1!==S,K=!1!==S?null===(l=S)||"auto"===l?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,D="string"==typeof(r=N||v)?r:(0,i.formatUrl)(r);if(E){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
2` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=o.default.Children.only(n)}let q=E?s&&"object"==typeof s&&s.ref:A,W=o.default.useCallback(e=>(null!==I&&(w.current=(0,p.mountLinkInstance)(e,D,I,K,F,j)),()=>{w.current&&((0,p.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,p.unmountPrefetchableInstance)(e)}),[F,D,I,K,j]),X={ref:(0,c.useMergedRef)(W,q),onClick(t){E||"function"!=typeof P||P(t),E&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!I||t.defaultPrevented||function(t,r,l,n,s,a,i){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(699781);o.default.startTransition(()=>{d(r,n?"replace":"push",!1===s?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,l.current,i)})}}(t,D,w,T,O,L,U)},onMouseEnter(e){E||"function"!=typeof R||R(e),E&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),I&&F&&(0,p.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){E||"function"!=typeof M||M(e),E&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),I&&F&&(0,p.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,d.isAbsoluteUrl)(D)?X.href=D:E&&!C&&("a"!==s.type||"href"in s.props)||(X.href=(0,m.addBasePath)(D)),g=E?o.default.cloneElement(s,X):(0,a.jsx)("a",{...B,...X,children:n}),(0,a.jsx)(b.Provider,{value:y,children:g})}e.r(284508);let b=(0,o.createContext)(p.IDLE_LINK_STATUS),y=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},643531,e=>{"use strict";let t=(0,e.i(475254).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],643531)},263488,e=>{"use strict";let t=(0,e.i(475254).default)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);e.s(["Mail",0,t],263488)},862111,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(263488),n=e.i(972520),s=e.i(643531);function a({variant:e}){return"hero"===e?(0,t.jsx)("section",{className:"rounded-3xl bg-lp-dark px-8 py-16 text-white sm:px-16 sm:py-20",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-2xl flex-col items-center text-center",children:[(0,t.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-lime-400 text-lp-dark",children:(0,t.jsx)(s.Check,{className:"h-6 w-6"})}),(0,t.jsxs)("h2",{className:"mt-6 text-4xl font-medium tracking-[-0.015em] sm:text-5xl",children:["Youâre ",(0,t.jsx)("em",{className:"italic font-normal text-lime-400",children:"in"}),"."]}),(0,t.jsx)("p",{className:"mt-4 text-white/70",children:"Check your inbox for a hello â the first issue lands next Tuesday."})]})}):(0,t.jsx)("aside",{className:"not-prose my-12 rounded-2xl border border-purple-200 bg-purple-50 p-8 shadow-sm",children:(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-purple-600 text-white",children:(0,t.jsx)(s.Check,{className:"h-5 w-5"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-gray-900",children:"You're in."}),(0,t.jsx)("p",{className:"mt-1 text-sm text-gray-700",children:"Check your inbox for a hello â the first issue lands next Tuesday."})]})]})})}e.s(["NewsletterForm",0,function({variant:e}){let[s,o]=(0,r.useState)(""),[i,u]=(0,r.useState)("idle");async function c(t){if(t.preventDefault(),"submitting"!==i&&"success"!==i){u("submitting");try{let t=await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s,source:"hero"===e?"index-hero":"inline"})});if(!t.ok)throw Error(`HTTP ${t.status}`);u("success")}catch(e){console.error("[NewsletterForm] subscribe failed:",e),u("error")}}}return"success"===i?(0,t.jsx)(a,{variant:e}):"hero"===e?(0,t.jsxs)("section",{className:"relative overflow-hidden rounded-3xl bg-lp-dark px-8 py-16 text-white sm:px-16 sm:py-20",children:[(0,t.jsxs)("p",{className:"absolute left-8 top-8 text-[11px] font-medium uppercase tracking-[0.28em] text-lime-400 sm:left-16 sm:top-12",children:[(0,t.jsx)("span",{className:"text-white/40",children:"No. 01 ·"})," Subscribe"]}),(0,t.jsxs)("div",{className:"relative mx-auto grid max-w-5xl items-end gap-10 pt-10 lg:grid-cols-[1.4fr_1fr] lg:gap-16 lg:pt-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h2",{className:"text-4xl font-medium leading-[1.04] tracking-[-0.015em] sm:text-5xl lg:text-6xl",children:["Weekly tactics for the marketers who actually ",(0,t.jsx)("em",{className:"italic font-normal text-lime-400",children:"ship"}),"."]}),(0,t.jsx)("p",{className:"mt-6 max-w-lg text-base leading-relaxed text-white/70 sm:text-lg",children:"CRO breakdowns, landing-page teardowns, and the data behind what works. One email. Tuesday mornings. No filler."})]}),(0,t.jsxs)("form",{onSubmit:c,className:"space-y-3",children:[(0,t.jsx)("label",{htmlFor:"newsletter-hero-email",className:"block text-[11px] font-medium uppercase tracking-[0.2em] text-white/60",children:"Your email"}),(0,t.jsx)("input",{id:"newsletter-hero-email",type:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",value:s,onChange:e=>o(e.target.value),disabled:"submitting"===i,className:"w-full border-0 border-b border-white/30 bg-transparent px-0 py-3 text-base text-white placeholder:text-white/30 focus:border-lime-400 focus:outline-none focus:ring-0 disabled:opacity-60"}),(0,t.jsxs)("button",{type:"submit",disabled:"submitting"===i,className:"group inline-flex w-full items-center justify-center gap-2 rounded-full bg-lime-400 px-6 py-3.5 text-sm font-semibold text-lp-dark transition-colors hover:bg-lime-300 disabled:opacity-60 sm:w-auto",children:["submitting"===i?"Subscribingâ¦":"Subscribe","submitting"!==i&&(0,t.jsx)(n.ArrowRight,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5"})]}),"error"===i&&(0,t.jsx)("p",{className:"text-sm text-lime-300",role:"alert",children:"Something went wrong. Mind trying again in a moment?"}),(0,t.jsx)("p",{className:"pt-1 text-[11px] text-white/40",children:"Unsubscribe anytime. No spam, ever."})]})]})]}):(0,t.jsx)("aside",{className:"not-prose my-12 rounded-2xl border border-gray-200 bg-white p-8 shadow-sm",children:(0,t.jsxs)("div",{className:"flex flex-col items-start gap-6 sm:flex-row",children:[(0,t.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-purple-50 text-purple-600",children:(0,t.jsx)(l.Mail,{className:"h-6 w-6"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-gray-900",children:"Want more like this?"}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-gray-600",children:"Get our weekly newsletter â CRO breakdowns and landing-page teardowns from the team. One email, no filler."}),(0,t.jsxs)("form",{onSubmit:c,className:"mt-4 flex flex-col gap-2 sm:flex-row sm:gap-3",children:[(0,t.jsx)("label",{htmlFor:"newsletter-inline-email",className:"sr-only",children:"Email address"}),(0,t.jsx)("input",{id:"newsletter-inline-email",type:"email",required:!0,autoComplete:"email",placeholder:"[email protected]",value:s,onChange:e=>o(e.target.value),disabled:"submitting"===i,className:"flex-1 rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm text-gray-900 placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-purple-500 disabled:opacity-60"}),(0,t.jsxs)("button",{type:"submit",disabled:"submitting"===i,className:"inline-flex items-center justify-center gap-2 rounded-lg bg-purple-600 px-4 py-2 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-purple-700 disabled:opacity-60",children:["submitting"===i?"Subscribingâ¦":"Subscribe","submitting"!==i&&(0,t.jsx)(n.ArrowRight,{className:"h-4 w-4"})]})]}),"error"===i&&(0,t.jsx)("p",{className:"mt-3 text-sm text-red-600",role:"alert",children:"Something went wrong. Mind trying again in a moment?"})]})]})})}])},68135,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(618566),n=e.i(555436),s=e.i(37727);e.s(["BlogSearchBar",0,function({initialQuery:e,totalPosts:a}){let o=(0,l.useRouter)(),i=(0,l.usePathname)(),[u,c]=(0,r.useState)(e),[,d
2]=(0,r.useTransition)(),m=(0,r.useRef)(null);return(0,r.useEffect)(()=>{document.activeElement!==m.current&&c(e)},[e]),(0,r.useEffect)(()=>{if(u===e)return;let t=setTimeout(()=>{let e=u.trim(),t=new URLSearchParams;e&&t.set("q",e);let r=t.toString();d(()=>{o.push(r?`${i}?${r}`:i,{scroll:!1})})},300);return()=>clearTimeout(t)},[u,e,o,i]),(0,t.jsx)("div",{className:"mx-auto mt-8 max-w-2xl",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(n.Search,{className:"pointer-events-none absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)("input",{ref:m,type:"text",autoComplete:"off",value:u,onChange:e=>c(e.target.value),placeholder:`Search ${a.toLocaleString()} articlesâ¦`,className:"w-full rounded-full border border-border bg-background py-3.5 pl-12 pr-12 text-base shadow-sm placeholder:text-muted-foreground focus:border-purple-600 focus:outline-none focus:ring-2 focus:ring-purple-600/20","aria-label":"Search blog posts"}),u&&(0,t.jsx)("button",{onClick:()=>{c(""),m.current?.focus()},type:"button","aria-label":"Clear search",className:"absolute right-4 top-1/2 -translate-y-1/2 rounded-full p-1 text-muted-foreground hover:bg-muted hover:text-foreground transition-colors",children:(0,t.jsx)(s.X,{className:"h-4 w-4"})})]})})}])}]); 3 4//# debugId=bf170484-9d31-1772-cc16-2871753dbb0b
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.