"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3494],{44359:function(e,l,n){n.d(l,{Z:function(){return y}});var a=n(53520),r=n(97458),t=n(28934),i=n(56503),s=n.n(i),o=n(52983),u=n(60980),c=n(36935),d=n(70094),m=n(20672),p=n(37782),g={dark:{textColor:"text-franklin",borderColor:"border-franklin",placeholderTextColor:"placeholder:text-franklin",buttonHoverColor:"hover:bg-franklin hover:text-black",inputBackgroundColor:"bg-black"},light:{textColor:"text-blurple",borderColor:"border-blurple",placeholderTextColor:"placeholder:text-blurple",buttonHoverColor:"hover:bg-blurple hover:text-white",inputBackgroundColor:"bg-white"}},y=(0,p.n)(function(e){var l=e.name,n=e.text,i=e.lists,p=e.source,y=g[e.colorTheme],h=y.textColor,f=y.borderColor,k=y.placeholderTextColor,b=y.buttonHoverColor,v=y.inputBackgroundColor,x=(0,c.z$)(),F=(0,a._)((0,o.useState)(null),2),S=F[0],C=F[1],K=(0,a._)((0,o.useState)(null),2),w=K[0],T=K[1],G=(0,o.useRef)(null),E=(0,o.createRef)(),N=(0,o.useMemo)(function(){return"https://www.google.com/recaptcha/api.js?render=".concat("6LeCFmwfAAAAAA4qBtkgg3WVJWVYGkt05yKT6gi1")},[]);return(0,o.useEffect)(function(){var e=E.current;if("undefined"!=typeof IntersectionObserver&&e){var n=new IntersectionObserver(function(e){var n=(0,a._)(e,1)[0];(null==n?void 0:n.isIntersecting)&&!S&&(null==x||x.emit({event:"newsletter",newsletter:{action:"newsletter_view",name:l,component:p}}))});return n.observe(e),function(){n.unobserve(e)}}},[E,S,x,l,p]),(0,r.jsxs)("div",{children:[N&&(0,r.jsx)(s(),{strategy:"lazyOnload",src:N}),(0,r.jsx)("form",{onSubmit:function(e){e.preventDefault();var n,a="".concat(p,"_NewsletterComponent"),r=(null===(n=G.current)||void 0===n?void 0:n.value)||"";(0,u.Z)(r,i,a,window.location.href).then(function(){C(r),null==x||x.emit({event:"newsletter",newsletter:{action:"newsletter_signup",name:l,component:a}})}).catch(function(e){e instanceof Error&&T(e.message)})},className:"",children:(0,r.jsx)("div",{className:(0,t.Z)(m.Z.Newsletter,"flex w-full flex-col border-t px-12 pt-16 font-polysans-mono text-14 font-light leading-130 -tracking-2 md:text-15","entryBodyComponent"===p&&"mb-20 md:flex-row",h,f),ref:E,children:null!==S?(0,r.jsxs)("div",{className:"my-16 w-full text-center",children:["Thanks for signing up for ",l,"!",(0,r.jsx)("br",{}),"Check your inbox for a confirmation message."]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,t.Z)("mb-10","entryBodyComponent"===p&&"md:pr-10"),children:[(0,r.jsx)("h2",{className:"inline font-medium",children:l}),(0,r.jsxs)("p",{className:"inline",children:[" / ",(0,r.jsx)(d.Z,{html:n,component:"span"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("fieldset",{children:[(0,r.jsxs)("div",{className:"mb-4 flex",children:[(0,r.jsx)("label",{className:"sr-only",htmlFor:"email",children:"Email (required)"}),(0,r.jsx)("input",{id:"email",type:"email",name:"email",ref:G,placeholder:"Enter your email",className:(0,t.Z)("mr-8 rounded-sm border px-10 font-polysans text-15 font-light focus:outline-none",w&&"border-hot-brick","entryBodyComponent"===p?"w-full md:w-[175px]":"w-full",k,v)}),(0,r.jsx)("button",{type:"submit",className:(0,t.Z)("whitespace-nowrap rounded-sm border px-18 py-12 text-12 font-medium uppercase tracking-12 no-underline",f,b),children:"Sign up"})]}),w&&(0,r.jsx)("div",{className:"mb-[6px] mt-2 font-polysans text-12 font-light text-hot-brick",children:w})]}),(0,r.jsxs)("div",{className:"mt-2 font-polysans text-11 leading-110",children:["By submitting your email, you agree to our"," ",(0,r.jsx)("a",{href:"https://www.voxmedia.com/legal/terms-of-use",className:"underline",children:"Terms"})," and ",(0,r.jsx)("a",{href:"https://www.voxmedia.com/legal/privacy-notice",className:"underline",children:"Privacy Notice"}),". ","This site is protected by reCAPTCHA and the Google"," ",(0,r.jsx)("a",{href:"https://policies.google.com/privacy",className:"underline",children:"Privacy Policy"})," ","and"," ",(0,r.jsx)("a",{href:"https://policies.google.com/terms",className:"underline",children:"Terms of Service"})," ","apply."]})]})]})})})]})},{context:"NewsletterErrorBoundary"})},60980:function(e,l,n){var a,r=n(80762),t=n(92869),i=(a=(0,r._)(function(e,l,n,a){var r,i;return(0,t.Jh)(this,function(t){switch(t.label){case 0:return r=null,[4,grecaptcha.execute("6LeCFmwfAAAAAA4qBtkgg3WVJWVYGkt05yKT6gi1",{action:"NEWSLETTER_SUBSCRIBE"})];case 1:r=t.sent(),t.label=2;case 2:return[4,fetch("/api/newsletter",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:r,email:e,source:n,pageUrl:a,lists:l.reduce(function(e,l){return e[l]=!0,e},{})})})];case 3:return i=t.sent(),[2,new Promise(function(e,l){i.ok||l("Could not subscribe"),e()})]}})}),function(e,l,n,r){return a.apply(this,arguments)});l.Z=i},49046:function(e,l,n){var a,r,t;n.r(l);let i=(r=[{alias:null,args:null,kind:"ScalarField",name:"fullName",storageKey:null}],t=[a={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null}],{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"EntryPageAds_entryRevision",selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seoHeadline",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"legacyId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"layoutTemplate",storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"author",plural:!1,selections:r,storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"contributors",plural:!0,selections:r,storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"communityGroups",plural:!0,selections:[a,{alias:null,args:null,concreteType:"HubPage",kind:"LinkedField",name:"hubPage",plural:!1,selections:t,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"primaryCommunityGroup",plural:!1,selections:[a,{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"parentEntryGroup",plural:!1,selections:t,storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"originalPublishDate",storageKey:null}],type:"Entry",abstractKey:null}],type:"EntryRevision",abstractKey:"__isEntryRevision"});i.hash="377f5b5f28d6af1ef91af8eaf2859ca5",l.default=i},18545:function(e,l,n){var a,r,t,i,s;n.r(l);let o={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"EntryPageAnalytics_entry",selections:[{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"seoHeadline",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"socialHeadline",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"promoHeadline",storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"legacyId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"hasAffiliateLinks",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publishDate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"originalPublishDate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"wordCount",storageKey:null},{alias:null,args:null,concreteType:"Entry",kind:"LinkedField",name:"streams",plural:!0,selections:[a],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"author",plural:!1,selections:r=[{alias:null,args:null,kind:"ScalarField",name:"fullName",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"Community",kind:"LinkedField",name:"community",plural:!1,selections:[t={alias:null,args:null,kind:"ScalarField",name:"domain",storageKey:null},{alias:null,args:null,concreteType:"Network",kind:"LinkedField",name:"network",plural:!1,selections:[t],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"contributors",plural:!0,selections:r,storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"primaryCampaignGroup",plural:!1,selections:s=[i={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"advertiserName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"advertiserDfpOrderName",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"campaignGroups",plural:!0,selections:s,storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"communityGroups",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isInternal",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"primaryCommunityGroup",plural:!1,selections:[i],storageKey:null},{alias:null,args:null,concreteType:"EntryGroup",kind:"LinkedField",name:"primaryPackageGroup",plural:!1,selections:[{alias:"packageID",args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"EntryBody",kind:"LinkedField",name:"body",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"components",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null}],type:"EntryRevision",abstractKey:"__isEntryRevision"},{alias:null,args:null,kind:"ScalarField",name:"liveCoverageStart",storageKey:null}],type:"Entry",abstractKey:null};o.hash="1baefd337e56610d97973c3a2ba9fd0e",l.default=o},89697:function(e,l,n){var a,r=n(61198),t=n(9326),i=n(80604),s=n(383),o=n(97458);l.Z=e=>{let l=(0,r.useFragment)((void 0!==a||(a=n(49046)).hash&&"377f5b5f28d6af1ef91af8eaf2859ca5"!==a.hash&&console.error("The definition of 'EntryPageAds_entryRevision' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),a),e.entryRevision),u=[];l.primaryCommunityGroup?.parentEntryGroup?.slug&&u.push(l.primaryCommunityGroup.parentEntryGroup.slug),l.primaryCommunityGroup?.slug&&u.push(l.primaryCommunityGroup.slug);let c=l.contributors?.map(e=>{let{fullName:l}=e;return l}).filter(e=>"string"==typeof e)||[],d=[...l.author.fullName?[l.author.fullName]:[],...c],m=l.communityGroups.map(e=>e?.slug).filter(e=>"string"==typeof e),p=l.communityGroups.map(e=>e?.hubPage?.slug).filter(e=>"string"==typeof e&&e.length>0),{communityName:g}=(0,t.q)().communityConfig;return(0,o.jsx)(s.Z,{adSlugParts:u,legacyId:l.legacyId,slug:l.slug,title:(0,i.F)([l.seoHeadline,l.title],g),authors:d,entryGroups:m,hubPages:p,originalPublishDate:l.originalPublishDate,entryType:l.type,layoutTemplate:l.layoutTemplate})}},58443:function(e,l,n){var a,r=n(52983),t=n(61198),i=n(80821),s=n(24714),o=n(2868),u=n(36935),c=n(29565),d=n(37782),m=n(87514);l.Z=(0,d.n)(e=>{let l=(0,t.useFragment)((void 0!==a||(a=n(18545)).hash&&"1baefd337e56610d97973c3a2ba9fd0e"!==a.hash&&console.error("The definition of 'EntryPageAnalytics_entry' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),a),e.entry),d=(0,u.z$)(),p=(0,c.aC)(),g=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{if(!d||!p||g.current)return;let e=l.contributors?[l.author,...l.contributors]:[l.author],n=l.communityGroups.reduce((e,n)=>(n&&n.slug&&(l.primaryPackageGroup?.packageID&&e.Groups.push(`package-${l.primaryPackageGroup.packageID}`),n.isInternal?e.Internal.push(n.slug):e.Groups.push(n.slug)),e),{Groups:[],Internal:[]}),a=l.community.domain.replace(/\.com$/,""),r=l.community.network.domain.replace(/\.com$/,""),t=l.primaryCampaignGroup?.name,u=[...new Set(n.Groups)].join(","),c=[...new Set(n.Internal)].join(","),y="STREAM"!==l.type&&l.streams?.length?l.streams.map(e=>e?.legacyId):null,h=[a,r,t,u,c,y],f=l.body?.components.filter(e=>"EntryBodyProduct"===e.__typename||"EntryBodyScorecard"===e.__typename),k={event:"dataLayer-initalized",Community:a,Network:r,"All Categories":h.filter(Boolean).join(","),"SEO Headline":l.seoHeadline,"Social Headline":l.socialHeadline,"Promo Headline":l.promoHeadline,Author:e.map(e=>e.fullName).join(","),Headline:l.title,"Original Publish Time":l.originalPublishDate,"Modified Date":l.publishDate,"Page ID":l.legacyId,"Page Type":l.type.toLowerCase(),"Page Type Category":"storytelling","Story Streams":y?y.join(","):null,"Word Count":l.wordCount,"Unique Pageload ID":(0,i.m3)(),"Inclusion of Commerce Disclosure":l.hasAffiliateLinks,"User ID":p.viewer?.id??"Logged Out","Live Blog":!!l.liveCoverageStart,...s.HW,...(0,o.A)()};n.Groups.length>0&&(k.Groups=u),n.Internal.length>0&&(k["Internal Groups"]=c);let b=l.primaryCampaignGroup||l.campaignGroups[0];b?.advertiserName&&(k["Sponsored Post Advertiser"]=b.advertiserName,k={...k,...s.Hm}),b?.advertiserDfpOrderName&&(k["Sponsored Post Campaign"]=b.advertiserDfpOrderName),t&&(k["Primary Group"]=t);let v=(0,m.e)("sailthru_hid");v&&(k["Sailthru User ID"]=v),k["Scroll Subscription"]=!!(0,m.e)("scroll0"),f?.length&&(k["Number of Product Cards"]=f.length);let x=(0,o.X)();x&&(k={...k,...x}),g.current=!0,d.emit(k)},[d,p,l]),null},{context:"EntryPageAnalyticsErrorBoundary"})},98613:function(e,l,n){var a=n(57090),r=n.n(a),t=n(97458);l.Z=e=>{let{schema:l}=e;return(0,t.jsx)(r(),{children:(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}})})}}}]);