"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["5581"],{82034:function(e,t,n){n.d(t,{x:()=>d});var i=n(16584),r=n(94184),a=n.n(r),o=n(12620),l=n(7523),s=n(19081),c=n(47929);let d=e=>{let{isOpen:t,selectedNewsletters:n,user:r,pub:d,disabled:h,endpointOverride:u,onSuccess:p}=e;return(0,i.tZ)(s.hs,{className:a()("fixedSubscribeBar-X5I6UT",{"open-CGNCgZ":t}),alignItems:"center",justifyContent:"center",children:(0,i.tZ)(s.hs,{direction:"column",className:"fixedSubscribeBarInner-l5Soh3",alignItems:"center",justifyContent:"center",children:(0,i.BX)(s.hs,{direction:"column",alignItems:"start",justifyContent:"start",gap:8,children:[(0,i.tZ)(l.Z,{preset:"detail-large",color:"white",children:"Enter your email to subscribe:"}),(0,i.tZ)(o.Z,{onAccentBackground:!0,pub:d,source:c.b3.newsletterPageFixedBar,submitButtonText:"Subscribe",user:r,onSuccess:p,inputClassName:"emailInput-c9dJvv",subscribeButtonClassName:"subscribeButton-mRGW3e",promptClassName:"prompt-CndLXc",subscribeToSpecificSectionIds:Array.from(n),placeholder:"YOUR EMAIL",disabled:null!=h&&h,endpointOverride:u})]})})})}},24202:function(e,t,n){n.d(t,{$9:()=>g,Z4:()=>v,dz:()=>Z,iv:()=>C,sp:()=>b,yU:()=>w});var i=n(7409),r=n(16584),a=n(30396),o=n(94184),l=n.n(o),s=n(10968),c=n(51938),d=n(3880),h=n(20888),u=n(27625),p=n(19081),m=n(74312),f=n(54796);function b(e){let t=e.assets.filter(e=>"string"!=typeof e&&"number"==typeof e.width&&"number"==typeof e.height&&e.width>0&&e.height>0);return t.length<=1||e.readOnly||e.isDm?(0,r.tZ)(d.E,(0,i._)({},e)):2===t.length?(0,r.tZ)(c.V,(0,i._)({},e)):(0,r.tZ)(s.Li,(0,i._)({},e))}function g(e){let{assets:t,imageViewer:i,setImageViewer:a,readOnly:o}=e;return o||!i?null:(0,r.tZ)(m.cr,{module:"./ImageViewerModal",resolve:e=>e.ImageViewerModal,onRequest:()=>Promise.resolve().then(n.bind(n,2563)),showModal:!!i,modalContent:t.map(e=>({attrs:{src:e.src}})),onClose:()=>a(null),step:i.index,includeDownloadButton:!1})}function w(e,t){let[n,i]=(0,a.eJ)(0);return(0,a.bt)(()=>{let n=new ResizeObserver(e=>{for(let n of e)i(n.contentRect.width-t)});return e.current&&n.observe(e.current),()=>{n.disconnect()}},[t,e]),n}function v(e){var t;let{asset:n,explicit:a,onClick:o,readOnly:s,width:c,height:d,children:m,className:b,imageProps:g,maxWidth:w,flex:v="auto",radius:Z,style:C,outline:y="detail"}=e,{isHidden:_,onShow:P}=(0,u.Sl)(a),x=null!==(t=null!=w?w:c)&&void 0!==t?t:500;return(0,r.BX)(p.hs,{position:"relative",className:l()(f.Z.imageBubble,!s&&f.Z.clickable,b),flex:v,radius:Z,onClick:_?void 0:o,bg:"secondary",outline:y,style:(0,i._)({width:c,height:d},C),overflow:"hidden",draggable:!1,children:[(0,r.tZ)(h.e,{src:n,maxWidth:x,useRetinaSizing:!0,imageIsFixedWidth:!0,imageProps:(0,i._)({smartCrop:!1},g),width:c,height:d,loading:"lazy",ignorePicture:!0,draggable:!1}),m,_&&(0,r.tZ)(u.HU,{onShow:P})]})}function Z(e){return e.map(e=>"string"==typeof e?{src:e,explicit:!1}:e)}function C(e){let t=e.some(e=>e.explicit),{isHidden:n}=(0,u.Sl)(t);return n}},22072:function(e,t,n){n.d(t,{Z:()=>l});var i=n(27412),r=n(16584),a=n(6400),o=n(98914);class l extends a.Component{componentDidMount(){this.rebalance(),"undefined"!=typeof window&&window.addEventListener("resize",this.debouncedRebalance,!0)}componentDidUpdate(){this.rebalance()}componentWillUnmount(){"undefined"!=typeof window&&window.removeEventListener("resize",this.debouncedRebalance,!0)}shouldComponentUpdate(e){return e.children!==this.props.children}rebalance(){if("undefined"!=typeof window&&(0,o.G6)()&&this.base){var e;(function(e){var t;let n=e.innerHTML;if(!e.textContent)return!1;let i=e.textContent.split(" "),r=document.createElement("span");r.id="element-first-word",r.textContent=i.shift(),e.innerHTML="",e.appendChild(r),e.appendChild(document.createTextNode(" ".concat(i.join(" "))));let a=(null===(t=document.getElementById("element-first-word"))||void 0===t?void 0:t.offsetHeight)||r.offsetHeight,o=e.offsetHeight;return e.innerHTML=n,o-10>a})(e=this.base)&&(e.style.maxWidth="",function e(t,n,i,r){if(r-i<4){t.clientHeight>n?t.style.maxWidth="".concat(r,"px"):t.style.maxWidth="".concat(t.scrollWidth+1,"px");return}if(i>=r){t.style.maxWidth="".concat(r,"px");return}let a=(i+r)/2;t.style.maxWidth="".concat(a,"px"),t.clientHeight>n?e(t,n,a,r):e(t,n,i,a)}(e,e.clientHeight,0,e.clientWidth)),e.classList.add("visible")}}render(e){let{text:t}=e;return(0,o.G6)()?(0,r.tZ)("span",{"data-testid":"balanced-text",className:"balance-text",style:{display:"inline-block"},children:t}):(0,r.tZ)("span",{"data-testid":"balanced-text",style:{textWrap:"balance"},children:t})}constructor(e,t){super(e,t),(0,i._)(this,"debouncedRebalance",void 0),this.debouncedRebalance=(0,o.Ds)(()=>this.rebalance(),100)}}},71978:function(e,t,n){n.d(t,{Z:()=>l});var i=n(7409),r=n(99282),a=n(16584),o=n(64515);let l=e=>(0,a.tZ)(o.l,(0,r._)((0,i._)({},e),{name:"CreditCardIcon",svgParams:{height:21,width:32},children:(0,a.tZ)("g",{fill:"none",fillRule:"evenodd",children:(0,a.tZ)("g",{fill:e.fill||"#515e80",stroke:"none",children:(0,a.BX)("g",{transform:"translate(0 2)",children:[(0,a.tZ)("path",{d:"M26.58 19H2.42A2.4 2.4 0 0 1 0 16.62V2.38A2.4 2.4 0 0 1 2.42 0h24.16A2.4 2.4 0 0 1 29 2.38v14.25A2.4 2.4 0 0 1 26.58 19zM10 5.83c0-.46-.35-.83-.78-.83H3.78c-.43 0-.78.37-.78.83v3.34c0 .46.35.83.78.83h5.44c.43 0 .78-.37.78-.83V5.83z",opacity:".2"}),(0,a.tZ)("path",{d:"M25 15h-3c-.65 0-1-.3-1-1s.35-1 1-1h3c.65 0 1 .3 1 1s-.35 1-1 1zm-6 0h-3c-.65 0-1-.3-1-1s.35-1 1-1h3c.65 0 1 .3 1 1s-.35 1-1 1zm-6 0h-3c-.65 0-1-.3-1-1s.35-1 1-1h3c.65 0 1 .3 1 1s-.35 1-1 1zm-6 0H4c-.65 0-1-.3-1-1s.35-1 1-1h3c.65 0 1 .3 1 1s-.35 1-1 1z",opacity:".3"})]})})})}))},41286:function(e,t,n){n.d(t,{Z:()=>l});var i=n(7409),r=n(99282),a=n(16584),o=n(64515);let l=e=>(0,a.tZ)(o.l,(0,r._)((0,i._)({},e),{name:"FacebookIcon",svgParams:{height:24,width:24},children:(0,a.tZ)("path",{d:"M18 2H15C13.6739 2 12.4021 2.52678 11.4645 3.46447C10.5268 4.40215 10 5.67392 10 7V10H7V14H10V22H14V14H17L18 10H14V7C14 6.73478 14.1054 6.48043 14.2929 6.29289C14.4804 6.10536 14.7348 6 15 6H18V2Z"})}))},34057:function(e,t,n){n.d(t,{Z:()=>l});var i=n(7409),r=n(99282),a=n(16584),o=n(64515);let l=e=>(0,a.BX)(o.l,(0,r._)((0,i._)({},e),{name:"FilledCircleCheckmarkIcon",svgParams:{height:24,width:24},children:[(0,a.tZ)("circle",{className:"filled-checkmark-icon-circle",cx:"12",cy:"12",r:"12",fill:"#419E4E",stroke:"none"}),(0,a.tZ)("path",{d:"M7 11.7222L10.8462 16L17 9",stroke:e.stroke||"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))},23485:function(e,t,n){n.d(t,{Q:()=>w});var i=n(16584),r=n(6400),a=n(41286),o=n(23365),l=n(39535),s=n(33425),c=n(55438),d=n(347),h=n(7523),u=n(95441),p=n(39648),m=n(98422),f=n(19081),b=n(6911);let g="footerLink-_5lFCC",w=()=>{let{iString:e}=(0,u.M1)(),{isDesktop:t}=(0,m.v9)(),{open:n}=(0,p.O4)(),w=[{label:e("Latest"),href:"/archive"},{label:e("Search"),href:"#",handleOnClick:()=>{n()}},{label:e("About"),href:"/about"},{label:e("Careers"),href:"/p/careers"},{label:e("Shop"),href:"https://shop.thefp.com/"},{label:e("Podcasts"),href:"/podcasts"},{label:e("Video"),href:"/videos"},{label:e("Events"),href:"/events"}],v=[{href:"https://www.facebook.com/readthefreepress/",icon:(0,i.tZ)(a.Z,{fill:"white",height:28,stroke:"white",strokeWidth:.5,width:28})},{href:"https://x.com/TheFP",icon:(0,i.tZ)(l.Z,{fill:"white",size:24})},{href:"https://www.instagram.com/thefreepress",icon:(0,i.tZ)(o.Z,{fill:"white",size:24})},{href:"https://www.youtube.com/channel/UCSRRURbKlPf1HwPUhjmufTg",icon:(0,i.tZ)(s.Z,{fill:"white",size:24})}],Z=[{label:e("Privacy"),href:"https://www.thefp.com/p/privacy-notice"},{label:e("Terms"),href:(0,b._Q)()},{label:e("Collection notice"),href:(0,b.WF)()}];return(0,i.tZ)(d.h,{children:(0,i.tZ)("div",{className:"footer-cRMYS1",children:(0,i.BX)(f.tu,{alignItems:"stretch",className:"footerContent-TTn9F6",gap:t?80:40,paddingBottom:40,paddingTop:t?80:40,paddingX:32,children:[(0,i.tZ)(h.Z,{className:"footerHed-xgaXnM",color:"white",preset:"h1-serif",children:e("For Free People.")}),(0,i.BX)(f.hs,{direction:t?"row-reverse":"column",gap:40,justifyContent:"space-between",children:[(0,i.tZ)(f.hs,{direction:t?"row":"column",gap:t?64:32,children:w.map(e=>{let{label:t,href:n,handleOnClick:r}=e;return(0,i.tZ)(h.Z,{as:"a",className:g,color:"white",href:r?void 0:n,preset:"detail-large",onClick:r,children:t})})}),(0,i.tZ)(f.gq,{alignItems:"center",gap:24,justifyContent:"center",children:v.map(e=>{let{href:t,icon:n}=e;return(0,i.tZ)(h.Z,{as:"a",color:"white",href:t,native:!0,preset:"h7-sans",children:n})})})]}),(0,i.BX)(f.hs,{direction:t?"row":"column",gap:12,justifyContent:"space-between",children:[(0,i.BX)(h.Z,{color:"white",preset:"caption",children:["\xa9",new Date().getFullYear()," ",e("The Free Press. All Rights Reserved."),(0,i.BX)("span",{style:{whiteSpace:"nowrap"},children:[(0,i.tZ)(c.Z,{className:"substackIcon-aS8sUQ",fill:"white",height:15}),e("Powered by")," ",(0,i.tZ)("a",{href:"https://substack.com",native:!0,style:{color:"inherit"},children:e("Substack")}),"."]})]}),(0,i.tZ)(h.Z,{className:g,color:"white",preset:"caption",children:Z.map((e,t)=>{let{label:n,href:a}=e;return(0,i.BX)(r.Fragment,{children:[(0,i.tZ)("a",{href:a,native:!0,style:{color:"inherit"},children:n}),tB});var i=n(58865),r=n(16584),a=n(30396),o=n(94184),l=n.n(o),s=n(84146),c=n(79721),d=n(347),h=n(95441),u=n(68833),p=n(94874),m=n(15771),f=n(19081),b=n(38841),g=n(58175),w=n(52735),v=n(60308),Z=n(70408),C=n(63651),y=n(23945),_=n(47929);let P={innerFaceContainer:"innerFaceContainer-c1mODk",primaryFace:"primaryFace-tUpmRt",pubLogo:"pubLogo-KAzK2Q",appButton:"appButton-PcI7xD",chatMessageContainer:"chatMessageContainer-sV4x4I",chatMessage:"chatMessage-pW8jRF",chatMessageReadMore:"chatMessageReadMore-DthKRv"};function x(){let e=(0,i._)(["Join ","’s chat in the Substack app"]);return x=function(){return e},e}function k(){let e=(0,i._)(["Complete your subscription to "," in the Substack app"]);return k=function(){return e},e}let B=e=>{let{pub:t,onNext:n,canSkip:i,hasAppInstalled:o,postSlugForRedirect:B,upsellGroup:S,chatInformation:I,redirectToChat:N}=e,{iString:M,iTemplate:R}=(0,h.M1)();(0,a.d4)(()=>{(0,u.j)(u.FP.MOBILE_SUBSCRIPTION_APP_TAKEOVER_SCREEN_SEEN,{canSkip:i,upsellGroup:S}),fetch("/api/v1/app_intended_state",{headers:{"Content-Type":"application/json"},body:JSON.stringify({data:{publicationId:t.id,category:w.J.SubscribeFlow,isAppMode:!0}}),method:"POST"})},[]);let E=N?(0,C.ZVW)({pubKey:t.subdomain,utm_campaign:_.VX.threadsPage,redirect:o?void 0:"app-store-no-desktop"}):B&&o?(0,v.K8_)(t.subdomain,B,{params:{utm_campaign:_.VX.subscribe},source:"mobile-subscription-app-takeover"}):(0,C.HQ5)({subdomain:t.subdomain,utm_campaign:_.VX.subscribe,redirect:o?void 0:"app-store-no-desktop"});return(0,r.tZ)(f.tu,{gap:(null==I?void 0:I.lastAuthorPost)?32:28,alignItems:"center",justifyContent:"center",children:(0,r.BX)(d.h,{children:[(0,r.BX)(f.tu,{gap:(null==I?void 0:I.lastAuthorPost)?12:28,alignItems:"center",justifyContent:"center",children:[(0,r.tZ)("div",{className:P.innerFaceContainer,children:I&&(!t.author_photo_url||(0,Z.YL)(t.author_photo_url))?(0,r.tZ)(b.wk,{pub:t,size:160}):(0,r.tZ)(p.qE,{className:l()(P.face,!(null==I?void 0:I.lastAuthorPost)&&P.primaryFace),size:(null==I?void 0:I.lastAuthorPost)?80:160,photoUrl:t.author_photo_url})}),(0,r.tZ)(g.xv.H3,{textAlign:"center",children:I?R(x(),t.author_name||t.name):R(k(),t.name)})]}),!!(null==I?void 0:I.lastAuthorPost)&&(0,r.BX)(f.gq,{gap:12,className:P.chatMessageContainer,flex:"grow",children:[(0,r.tZ)(p.qE,{className:l()(P.face),size:32,showProfileHovercard:!0,user:{id:t.author_id,name:t.author_name,handle:t.author_handle,photo_url:t.author_photo_url}}),(0,r.BX)(f.tu,{gap:8,flex:"grow",minWidth:0,children:[(0,r.BX)(f.gq,{gap:4,alignItems:"center",children:[(0,r.tZ)(s.Z,{size:16}),(0,r.BX)(g.xv.B5,{translated:!0,fontSize:11,lineHeight:16,weight:"semibold",color:"pub-secondary-text",children:["From ",I18N.p((0,y.Q1)(t.author_name)),"’s subscriber chat"]})]}),(0,r.BX)(f.tu,{className:P.chatMessage,radius:"sm",gap:8,padding:12,children:[(0,r.BX)(g.xv.B4,{fontSize:13,lineHeight:20,clamp:2,children:[(0,r.tZ)("b",{children:I18N.p(t.author_name)})," ",I.lastAuthorPost.body]}),(0,r.BX)(g.xv.B3,{className:P.chatMessageReadMore,as:"a",color:"select",paddingTop:2,translated:!0,display:"flex",alignItems:"center",gap:2,href:E,children:["Read more",(0,r.tZ)(c.Z,{color:"var(--color-accent-fg-blue)",size:16})]})]})]})]}),(0,r.BX)(f.tu,{gap:12,style:{width:"100%"},children:[(0,r.tZ)(m.zx,{onClick:async()=>{(0,u.j)(u.FP.MOBILE_SUBSCRIPTION_APP_TAKEOVER_SCREEN_APP_STORE_VISITED,{canSkip:i,upsellGroup:S}),window.location.href=E,window.setTimeout(()=>{n()},5e3)},className:P.appButton,priority:"primary",size:"lg",children:M(o?"Continue":"Get the app")}),i&&(0,r.tZ)(m.zx,{onClick:()=>{(0,u.j)(u.FP.MOBILE_SUBSCRIPTION_APP_TAKEOVER_SCREEN_SKIPPED,{upsellGroup:S}),n()},priority:"tertiary",children:M("No thanks")})]})]})})}},52735:function(e,t,n){n.d(t,{J:()=>r});var i,r=((i={}).UnlockPost="unlock-post",i.SubscribeFlow="publication-subscribe-flow",i.AcceptGift="accept-gift",i.Publication="publication",i.Post="post",i.UserProfile="user-profile",i.Note="note",i.FeedNotePrepended="feed-note-prepended",i.FeedModulePrepended="feed-module-prepended",i.Chat="chat",i.LiveStream="live-stream",i.LiveStreamInvite="live-stream-invite",i.None="none",i)}}]);