PageSourceSearch

https://justinwelsh.me/_next/static/chunks/pages/guides/fifteen-million-solo-8a43cc4d7b4c39d8.js

js justinwelsh.me collected 2026-10-03 21:29:51 UTC 10,075 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5980],{552:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guides/fifteen-million-solo",function(){return n(3984)}])},5837:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(5893),s=n(7294),a=n(8416),o=n(8499);let r={homepage_hero:"Subscribed — Homepage Hero",homepage_cta:"Subscribed — Homepage CTA",about_cta:"Subscribed — About CTA",subscribe_hero:"Subscribed — Subscribe Hero",subscribe_cta:"Subscribed — Subscribe CTA",essay_aside:"Subscribed — Essay Aside"},l="dbe9ab6270",c=new Set(["ambition-audit","free-up-ten-hours","fifteen-million-solo"]);function u(e){try{var t;let n=r[e]||"Subscribed — ".concat(e);null===(t=window.fathom)||void 0===t||t.trackEvent(n)}catch(e){}}function d(e){let{buttonLabel:t=null,autoFocus:n=!1,source:s="unknown",magnet:a=null,redirectTo:o=null}=e;return l&&(!a||c.has(a))?(0,i.jsx)(h,{source:s,autoFocus:n,magnet:a,redirectTo:o,buttonLabel:a?t:null}):(0,i.jsx)(m,{buttonLabel:t,autoFocus:n,source:s,magnet:a,redirectTo:o})}function m(e){let{buttonLabel:t,autoFocus:n,source:o,magnet:r,redirectTo:l}=e,[c,d]=(0,s.useState)(""),[m,h]=(0,s.useState)("idle"),[g,f]=(0,s.useState)(""),p=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(!n||window.matchMedia("(max-width: 720px)").matches)return;let e=setTimeout(()=>{var e;null===(e=p.current)||void 0===e||e.focus({preventScroll:!0})},60);return()=>clearTimeout(e)},[n]);let b=async e=>{if(e.preventDefault(),c&&"loading"!==m){h("loading"),f("");try{let e=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:o,magnet:r,utm:(0,a.o)()})}),t=await e.json().catch(()=>({}));if(e.ok){u(o);let e=l||"/essay-ty",t=e.includes("?")?"&":"?";window.location.assign("".concat(e).concat(t,"email=").concat(encodeURIComponent(c)));return}h("error"),f((null==t?void 0:t.error)||"Something went wrong. Please try again.")}catch(e){h("error"),f("Network error. Please try again.")}}};return(0,i.jsxs)("div",{children:[(0,i.jsxs)("form",{className:"sub-form",onSubmit:b,children:[(0,i.jsx)("input",{ref:p,type:"email",value:c,onChange:e=>d(e.target.value),placeholder:"[email protected]",required:!0,"aria-label":"Email",inputMode:"email",autoComplete:"email",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",enterKeyHint:"go"}),(0,i.jsx)("button",{type:"submit",disabled:"loading"===m,children:"loading"===m?"Joining…":t||"Join 200,000+ readers"})]}),g&&(0,i.jsx)("p",{className:"sub-status ".concat("error"===m?"error":"success"),children:g})]})}function h(e){let{source:t,autoFocus:n=!1,magnet:a=null,redirectTo:r=null,buttonLabel:c=null}=e,d=(0,s.useRef)(null),m=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{let e=d.current;if(!e)return;if(!m.current){m.current=!0;let t=document.createElement("script");t.async=!0,t.setAttribute("data-uid",l),t.src="https://justinwelsh.kit.com/".concat(l,"/index.js"),e.appendChild(t)}let i=()=>{var n;if(u(t),!a)return;let i=e.querySelector('.formkit-input[name="email_address"]');(0,o.xz)({dest:r,magnet:a,source:t,email:null==i?void 0:null===(n=i.value)||void 0===n?void 0:n.trim()}),(0,o.QH)()};e.addEventListener("submit",i,!0);let s=null;if(c){let t=()=>{let t=e.querySelector(".formkit-submit > span:not(.formkit-spinner)");return!!t&&(t.textContent=c,!0)};t()||((s=new MutationObserver(()=>{t()&&s.disconnect()})).observe(e,{childList:!0,subtree:!0}),setTimeout(()=>null==s?void 0:s.disconnect(),8e3))}let h=null;if(n&&!window.matchMedia("(max-width: 720px)").matches){let t=()=>{let t=e.querySelector(".formkit-input");return!!t&&(t.focus({preventScroll:!0}),!0)};t()||((h=new MutationObserver(()=>{t()&&h.disconnect()})).observe(e,{childList:!0,subtree:!0}),setTimeout(()=>null==h?void 0:h.disconnect(),5e3))}return()=>{e.removeEventListener("submit",i,!0),null==h||h.disconnect(),null==s||s.disconnect()}},[t,n,a,r,c]),(0,i.jsx)("div",{ref:d,className:"kit-embed"})}},8499:function(e,t,n){"use strict";n.d(t,{CD:function(){return c},Jd:function(){return d},QH:function(){return u},xz:function(){return l}});var i=n(8416);let s="jw_magnet_handoff";function a(e){return"string"==typeof e&&e.startsWith("/")&&!e.startsWith("//")}function o(){try{let e=sessionStorage.getItem(s);return e?JSON.parse(e):null}catch(e){return null}}function r(e){try{sessionStorage.setItem(s,JSON.stringify(e))}catch(e){}}function l(e){let{dest:t,magnet:n,source:i,email:s}=e;a(t)&&r({dest:t,magnet:n,source:i,email:s,tagged:!1})}function c(){let e=o();if(!e||e.tagged||!e.email||!e.magnet)return;r({...e,tagged:!0});
1let t=JSON.stringify({email:e.email,source:e.source,magnet:e.magnet,utm:(0,i.o)()});try{var n,s;let e=new Blob([t],{type:"application/json"});if(null===(n=(s=navigator).sendBeacon)||void 0===n?void 0:n.call(s,"/api/subscribe",e))return}catch(e){}try{fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:t,keepalive:!0}).catch(()=>{})}catch(e){}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1200,t=!1,n=()=>{t||(t=!0,window.removeEventListener("pagehide",n),document.removeEventListener("visibilitychange",i),clearTimeout(s),c())},i=()=>{"hidden"===document.visibilityState&&n()},s=setTimeout(n,e);window.addEventListener("pagehide",n),document.addEventListener("visibilitychange",i)}function d(){let e=o();try{sessionStorage.removeItem(s)}catch(e){}return a(null==e?void 0:e.dest)?e.dest:""}},1776:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});let i="https://justinwelsh.me".replace(/\/$/,"")||"https://justinwelsh.me"},3984:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var i=n(5893),s=n(9008),a=n.n(s),o=n(5675),r=n.n(o),l=n(5837),c=n(1776);let u=["Cheap Experimentation","Signal Reading","Content-Product Alignment","Time Over Money","Compounding Assets","Knowing When to Quit Something That’s Working","Identity Clarity"];function d(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:"How I built a $15M Solo Business without destroying my life. — Free Guide by Justin Welsh"}),(0,i.jsx)("meta",{name:"description",content:"A free guide on the 7 capacities that built a $15M one-person business without destroying my life."}),(0,i.jsx)("link",{rel:"canonical",href:"".concat(c._,"/guides/fifteen-million-solo")}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:title",content:"How I built a $15M Solo Business without destroying my life."}),(0,i.jsx)("meta",{property:"og:description",content:"The 7 capacities behind a $15M one-person business built without destroying your life. Free PDF guide."}),(0,i.jsx)("meta",{property:"og:url",content:"".concat(c._,"/guides/fifteen-million-solo")}),(0,i.jsx)("meta",{property:"og:image",content:"".concat(c._,"/og/fifteen-million-solo.png")}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"})]}),(0,i.jsx)("div",{className:"magnet-masthead",role:"presentation",children:(0,i.jsx)("span",{className:"brand",children:"justinwelsh."})}),(0,i.jsxs)("article",{className:"magnet-page",children:[(0,i.jsxs)("header",{className:"magnet-header",children:[(0,i.jsx)("span",{className:"magnet-eyebrow",children:"A Free Guide"}),(0,i.jsxs)("h1",{className:"magnet-title",children:["How I built a $15M Solo Business ",(0,i.jsx)("br",{}),"without destroying my life."]}),(0,i.jsx)("p",{className:"magnet-subtitle",children:"I distilled 250+ essays, hours of voice notes, and 10+ interviews into a free 30-page field manual on the 7 capacities that actually compounded."})]}),(0,i.jsxs)("div",{className:"magnet-form",children:[(0,i.jsx)(l.Z,{buttonLabel:"Send me the guide",source:"magnet_fifteen_million_solo",magnet:"fifteen-million-solo",redirectTo:"/guides/fifteen-million-solo/thanks",autoFocus:!0}),(0,i.jsx)("p",{className:"magnet-form-note",children:"Delivered straight to your inbox. You’ll also start getting The Saturday Essay each week. Unsubscribe anytime."})]}),(0,i.jsx)("div",{className:"magnet-cover","aria-hidden":"true",children:(0,i.jsx)(r(),{src:"/guides/fifteen-million-solo-cover.png",alt:"",width:850,height:1100,sizes:"(max-width: 720px) 88vw, 480px"})}),(0,i.jsxs)("section",{className:"magnet-inside",children:[(0,i.jsx)("h2",{className:"magnet-inside-title",children:"What’s inside"}),(0,i.jsx)("p",{className:"magnet-inside-lede",children:"Seven capacities I had to develop, in the order I developed them. Each one comes with an exercise and a clear output, so by the end you have a sharper picture of your business and a cleaner sense of where to put your energy next."}),(0,i.jsx)("ol",{className:"magnet-inside-list",children:u.map((e,t)=>(0,i.jsxs)("li",{children:[(0,i.jsxs)("span",{className:"magnet-inside-num",children:["Capacity ",t+1]}),(0,i.jsx)("span",{className:"magnet-inside-name",children:e})]},e))})]}),(0,i.jsxs)("section",{className:"magnet-author",children:[(0,i.jsx)(r(),{className:"magnet-author-portrait",src:"/justin.jpg",alt:"Justin Welsh",width:600,height:600,sizes:"(max-width: 720px) 88px, 96px"}),(0,i.jsx)("p",{children:"I’m Justin. I write The Saturday Essay for around 200,000 readers, and I’ve spent the last seven years building a $15M one-person business. This guide is what I wish I’d had at the start."}),(0,i.jsx)(r(),{className:"magnet-author-signature",src:"/signature.png",alt:"Justin Welsh",width:600,height:160,sizes:"180px"})]}),(0,i.jsxs)("section",{className:"magnet-cta",children:[(0,i.jsx)("h2",{className:"magnet-cta-title",children:"Get your free copy."}),(0,i.jsxs)("div",{className:"magnet-form",children:[(0,i.jsx)(l.Z,{buttonLabel:"Send me the guide",source:"magnet_fifteen_million_solo_bottom",magnet
1:"fifteen-million-solo",redirectTo:"/guides/fifteen-million-solo/thanks"}),(0,i.jsx)("p",{className:"magnet-form-note",children:"Delivered straight to your inbox. You’ll also start getting The Saturday Essay each week. Unsubscribe anytime."})]})]})]})]})}d.bare=!0}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=552)}),_N_E=e.O()}]);

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.