"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[722],{82929:function(e,n,t){t.d(n,{$K:function(){return s},Cz:function(){return r},PS:function(){return c},Q1:function(){return y},Se:function(){return o},Sy:function(){return d},_6:function(){return g},c9:function(){return a},dq:function(){return v},hg:function(){return p},jL:function(){return f},jY:function(){return m},nC:function(){return i},tn:function(){return h},u4:function(){return l},xH:function(){return u}}),t(96740);var r="_1yq350v2",a="_1yq350v3",i="_1yq350v0",s="_1yq350vc",o="_1yq350vg",c="_1yq350v6",l="_1yq350v7",u={nativeAdContentLink:"_1yq350v4",nativeAdLinkset:"_1yq350v5"},d="_1yq350v8",m="_1yq350ve",h="_1yq350vf",f="_1yq350v1",g="_1yq350v9",p="_1yq350va",y="_1yq350vd",v="_1yq350vb"},30846:function(e,n,t){t.d(n,{Lu:function(){return c},_X:function(){return i},gU:function(){return r},nC:function(){return a},zC:function(){return o},zU:function(){return s}}),t(27578);var r="x2c1mg7",a="x2c1mg0",i="x2c1mg1",s={sectionOne:"x2c1mg4",sectionTwo:"x2c1mg5",sectionFour:"x2c1mg6"},o="x2c1mg2",c="x2c1mg3"},29778:function(e,n,t){var r=t(912),a=t(82201),i=t(92783),s=t(47382),o=t(45293),c=t(31218);n.Z=(0,c.n)(e=>{let{networkConfig:{concertAds:{gam:n,network:t}},communityConfig:{communityDomain:c}}=(0,o.q)(),l=(0,s.aC)();return(0,a.useEffect)(()=>{if(l.userLoading)return;let a=()=>{if(window.concertAdsInstalled){console.log("We are not installing Concert Ads because it has already been installed.");return}if(window.concertAdsInstalled=!0,!window.ConcertAds){(0,r.Tb)("ConcertAds instance is not available on the window to install");return}let a=new URLSearchParams(window.location.search),s=a.get("concert_config_url"),{title:o,dek:u=null,seoHeadline:d=null,nodeId:m=null,chorusId:h=null,pageType:f="interior_page",permalink:g=null,authors:p=null,originalPublishedAt:y=null,categories:v=null,hubPages:w=null,affiliation:k=["general"],adSlugParts:x=[],template:_=null,resourceType:j=null,campaign:C=null}=e;if("page"===j&&!["how to pitch","masthead"].some(e=>o&&o.toLowerCase().includes(e)))return;let N={page_type:[f],keywords:[...new Set([...(d||o||"").replace(/[^a-z]/gi," ").replace(/\s+/g," ").trim().toLowerCase().split(" "),...v||[]])],affiliation:k,network:[t],pageload_id:(0,i.m3)(),hostname:location.hostname};l.user?.entitlements&&l.user.entitlements.length>0&&(N.entitlements=l.user.entitlements),g&&(N.entry_slug=[new URL(g).pathname.substring(1)]),(h||m)&&(N.entry_id=[],h&&N.entry_id.push(h),m&&N.entry_id.push(m)),p&&p.length>0&&(N.author=p),y&&(N.entry_published_date=[y]),v&&v.length>0&&(N.entry_group=v),w&&w.length>0&&(N.hub_page=w),j&&(v&&v.includes("reviews")?N.entry_type=["review"]:"post"===j?N.entry_type=[null===_?"article":"feature"]:N.entry_type=[j.toLowerCase()]),C&&(N.branded_content=!0,N.vox_creative_advertiser=C.advertiserName,N.vox_creative_campaign=C.title),o&&(N.entry_title=[o]),u&&(N.entry_blurb=[u]);let b=Date.now()+2e4;(0,i.dG)(b);let A=null!==a.get("concert_preview")||!!e.preview,P={cmd:[],slug:`${function(e,n,t){let r=t.split("."),a=r.slice(r.length-2).join(".");return`/${e}/${n}/${a}`}(n,t,c)}/${x.join("/")}`,isPreview:A,dfpVariables:N},q=new window.ConcertAds(P);window.concertAds=q,q.loadRemoteConfig(s||"https://concertads-configs.vox-cdn.com/duet/vox/config.json").then(()=>{q.install(),window.CONCERT_ADS_CONFIG=q.settings,window.dfpVariables=q.getAllVariables()}).catch(e=>(0,r.Tb)(e,{extra:{message:"There was an error loading the ConcertAds remote config"}}))};if(!window.ConcertAds)return window.addEventListener("concertAdsReady",a),()=>{window.removeEventListener("concertAdsReady",a)};a()},[l.userLoading]),null},{context:"ConcertAdsErrorBoundary"})},731:function(e,n,t){t.d(n,{F:function(){return r}});let r=["EmbedStoryResourceType","LinkPostResourceType","PackageResourceType","PostResourceType","StreamResourceType","VaultResourceType"]},24696:function(e,n,t){var r=t(82201),a=t(60699);n.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.F.layout.bodyBg;return(0,r.useEffect)(()=>(document.body.classList.add(e),()=>{document.body.classList.remove(e)}),[e]),e}},60025:function(e,n,t){t.d(n,{Z:function(){return b}});var r=t(31561),a=t(35458),i=t(82201),s=t(69135),o=t(31994),c=t(98989),l=t(85056),u=t(31218),d=t(1855),m=t(60699),h=t(88321),f=t(83412),g=(e,n,t,r,a)=>{var i,s,o,c;return i=void 0,s=void 0,o=void 0,c=function*(){let i=yield fetch("/api/newsletter",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:a,email:e,source:t,pageUrl:r,lists:n.reduce((e,n)=>(e[n]=!0,e),{})})});return new Promise((e,n)=>{i.ok||n("Could not subscribe"),e()})},new(o||(o=Promise))(function(e,n){function t(e){try{a(c.next(e))}catch(e){n(e)}}function r(e){try{a(c.throw(e))}catch(e){n(e)}}function a(n){var a;n.done?e(n.value):((a=n.value)instanceof o?a:new o(function(e){e(a)})).then(t,r)}a((c=c.apply(i,s||[])).next())})};t(80343);var p={standard:"mr4kua4",homepage:"mr4kua5",newslettersPage:"mr4kua6"},y={standard:"mr4kuav",homepage:"mr4kuaw",newslettersPage:"mr4kuax"},v={standard:"mr4kua7",homepage:"mr4kua8",newslettersPage:"mr4kua9"},w={standard:"mr4kuao",homepage:"mr4kuap",newslettersPage:"mr4kuaq"},k={standard:"mr4kuar",homepage:"mr4kuas",newslettersPage:"mr4kuat"},x={standard:"mr4kuaf",homepage:"mr4kuag",newslettersPage:"mr4kuah"},_={standard:"mr4kuaa",homepage:"mr4kuab",newslettersPage:"mr4kuac"},j="mr4kuay",C={standard:"mr4kua0",homepage:"mr4kua2 mr4kua0",newslettersPage:"mr4kua0"};let N=e=>(0,r.jsx)("div",{className:"mr4kuai",children:e});var b=(0,u.n)(({name:e,text:n,lists:t,source:u,borderTop:b=!0,placeholder:A="Enter your email",variation:P="standard",label:q})=>{let T=(0,h.z$)(),{CaptchaScript:Z,fetchCaptchaToken:S}=(0,f.m)("NEWSLETTER_SUBSCRIBE"),[L,E]=(0,i.useState)(null),[R,B]=(0,i.useState)(null),F=(0,i.createRef)(),$=(0,i.useRef)(null),I=`${"homepage"===P?"homepage":u}_NewsletterComponent`;return(0,d.Z)(F,{event:"newsletter",newsletter:{action:"newsletter_view",name:t.join(","),component:I}}),(0,r.jsxs)("div",{ref:F,children:[(0,r.jsx)(Z,{}),(0,r.jsx)("form",{onSubmit:e=>{e.preventDefault();let n=$.current?.value||"";(async function(){try{let e=await S();await g(n,t,I,window.location.href,e),E(n),T?.emit({event:"newsletter",newsletter:{action:"newsletter_signup",name:t.join(","),component:I}})}catch(e){e instanceof Error&&B(e.message)}})()},className:(0,a.Z)(C[P],m.F.layout.fancyBorder,m.F.layout.blockSpacing.large,b&&p[P]),children:(0,r.jsx)("div",{className:(0,a.Z)(l.I.Newsletter,v[P]),children:null!==L?(0,r.jsx)("div",{className:(0,a.Z)("mr4kuaj",!e&&"mr4kuak"),children:e?(0,r.jsxs)(r.Fragment,{children:["Thanks for signing up for ",e,"!",(0,r.jsx)("br",{}),"Check your inbox for a confirmation message."]}):(0,r.jsx)(r.Fragment,{children:"Success! Please check your email and confirm your subscription."})}):(0,r.jsxs)(r.Fragment,{children:[e&&(0,r.jsxs)("div",{className:_[P],children:[(0,r.jsx)("h2",{className:"mr4kuad",children:e}),n&&(0,r.jsx)("p",{className:"mr4kuae",children:(0,r.jsx)(s.Z,{html:n,component:"span"})})]}),(0,r.jsxs)("div",{className:(0,a.Z)("mr4kual",e?"mr4kuam":"mr4kuan"),children:[(0,r.jsxs)("fieldset",{children:[(0,r.jsxs)("div",{className:w[P],children:[(0,r.jsx)(c.Z,{ref:$,id:"email",name:"email",type:"email",required:!0,label:q||"Email (required)",hideLabel:!q,placeholder:A,className:(0,a.Z)(k[P],R&&"mr4kuau")}),(0,r.jsx)(o.Z,{type:"submit",displayType:"primary",text:"Sign Up",className:y[P]})]}),R&&N(R)]}),(0,r.jsx)("div",{className:(0,a.Z)("mr4kuaz"),children:(0,r.jsxs)("div",{className:x[P],children:["By submitting your email, you agree to our"," ",(0,r.jsx)("a",{href:"https://www.voxmedia.com/legal/terms-of-use",className:j,children:"Terms"})," and ",(0,r.jsx)("a",{href:"https://www.voxmedia.com/legal/privacy-notice",className:j,children:"Privacy Notice"}),". ","This site is protected by reCAPTCHA and the Google"," ",(0,r.jsx)("a",{href:"https://policies.google.com/privacy",className:j,children:"Privacy Policy"})," ","and"," ",(0,r.jsx)("a",{href:"https://policies.google.com/terms",className:j,children:"Terms of Service"})," ","apply."]})})]})]})})})]})},{context:"NewsletterErrorBoundary"})},94802:function(e,n,t){t.d(n,{Z:function(){return r.Z}});var r=t(60025)},88312:function(e,n,t){t.d(n,{Z:function(){return m}});var r=t(31561),a=t(35458),i=t(66952),s=t.n(i),o=t(82201),c=t(31994),l=t(85056),u=t(43158),d=t(31218);t(5420);var m=(0,d.n)(e=>{let[n,t]=o.useState(!1),i=(0,u.dj)("headerPattern",e.componentContext||""),{className:d,header:m,pattern:h,indent:f,topSpacing:g,collapse:p}=s()({},i,e);return(0,r.jsxs)("div",{className:(0,a.Z)(l.I.HeaderPattern,p&&!n&&"_1iaikll0",g&&"_1iaikll1",d),children:[(0,r.jsx)("div",{className:"_1iaikll2",children:m}),(0,r.jsx)("div",{className:(0,a.Z)("_1iaikll3",f&&"_1iaikll4"),children:h}),p&&!n&&(0,r.jsx)("div",{className:"_1iaikll5",children:(0,r.jsx)(c.Z,{displayType:"secondary",onClick:()=>t(!0),text:"More Stories",className:"_1iaikll6"})})]})},{context:"HeaderPatternErrorBoundary"})},1939:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(31561),a=t(35458),i=t(85056),s=t(31218),o=t(30846),c=(0,s.n)(({className:e,hideOnMobile:n=!0,children:t})=>(0,r.jsx)("div",{className:(0,a.Z)(i.I.Rail,o.nC,n&&o._X,e),children:t}),{context:"RailErrorBoundary"})},6822:function(e,n,t){t.d(n,{Z:function(){return l}});var r=t(31561),a=t(79348),i=t(98343),s=t(88321);t(9237),t(11827),t(82012),t(51510),t(45002),t(51140),t(699),t(21405);var o={standard:"clkeg30",homepage:"clkeg31"},c={standard:"clkeg33 clkeg32 _1agbrixx",homepage:"clkeg34 clkeg32"},l=({articles:e,variation:n="standard",gaComponentName:t="most_popular"})=>{let l=(0,s.z$)();return(0,r.jsx)("ol",{className:o[n],children:e.map((e,s)=>{let o=e.tags?.some(e=>e.startsWith("members-only"))&&(0,r.jsx)("div",{className:"clkeg36",children:(0,r.jsx)(a.Z,{})});return(0,r.jsx)("li",{className:c[n],children:e.url&&(0,r.jsxs)(i.Z,{href:e.url,onClick:()=>l?.emit({event:"article_click",article_click:{index:s,article_uri:e.url,article_title:e.title,author:e.author.fullName,article_component_name:t}}),children:[(0,r.jsx)("div",{className:"clkeg35",children:e.title}),o]})},s)})})}},83412:function(e,n,t){t.d(n,{m:function(){return o}});var r=t(31561),a=t(11439),i=t.n(a),s=t(82201);function o(e){let n="6LeCFmwfAAAAAA4qBtkgg3WVJWVYGkt05yKT6gi1",t="https://www.google.com/recaptcha/api.js?render=6LeCFmwfAAAAAA4qBtkgg3WVJWVYGkt05yKT6gi1";return{fetchCaptchaToken:(0,s.useMemo)(()=>()=>{var t,r,a,i;return t=this,r=void 0,a=void 0,i=function*(){return n?grecaptcha.execute(n,{action:e}):null},new(a||(a=Promise))(function(e,n){function s(e){try{c(i.next(e))}catch(e){n(e)}}function o(e){try{c(i.throw(e))}catch(e){n(e)}}function c(n){var t;n.done?e(n.value):((t=n.value)instanceof a?t:new a(function(e){e(t)})).then(s,o)}c((i=i.apply(t,r||[])).next())})},[e,n]),CaptchaScript:(0,s.useMemo)(()=>()=>t?(0,r.jsx)(i(),{strategy:"beforeInteractive",async:!0,src:t}):null,[t])}}},12850:function(e,n,t){t.d(n,{mt:function(){return a},nf:function(){return r}});let r=e=>null!=e,a=(e,n)=>e.filter(e=>n.includes(e.__typename))}}]);