try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5fcb9724-e520-421b-b9d8-536619e2bd5a",e._sentryDebugIdIdentifier="sentry-dbid-5fcb9724-e520-421b-b9d8-536619e2bd5a")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7253],{60232:function(e,n,a){a.r(n);let t={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CoralDrawer_contentResource",selections:[{args:null,kind:"FragmentSpread",name:"CoralSectionContainer_contentResource"}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"};t.hash="a761ae48a16971bb8fe3e62ea91331e4",n.default=t},44671:function(e,n,a){a.r(n);let t={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"CoralSectionContainer_contentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"chorusUuid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"globalId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,concreteType:"CommentsType",kind:"LinkedField",name:"comments",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"enabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mode",storageKey:null}],storageKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"};t.hash="342a129697ecc3dde30b36315d86fc1c",n.default=t},82121:function(e,n,a){var t,r,l,s,i,o,c,d,u,m;a.r(n);let h={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"useLedeMedia_feedContentResource",selections:[t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{alias:null,args:null,concreteType:"FeaturedImageType",kind:"LinkedField",name:"featuredImage",plural:!1,selections:[s={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"caption",plural:!1,selections:[r={alias:null,args:null,kind:"ScalarField",name:"html",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"plaintext",storageKey:null}],storageKey:null},i={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"credit",plural:!1,selections:[l,r],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:d=[c={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:o=[{alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:o,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"vertical",plural:!1,selections:o,storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:"ledeMediaData",args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[t,{kind:"InlineFragment",selections:[s,i,u={alias:null,args:null,kind:"ScalarField",name:"hideCredit",storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[c,m={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},i],storageKey:null}],type:"LedeMediaImageType",abstractKey:null},{kind:"InlineFragment",selections:[s,{alias:null,args:null,kind:"ScalarField",name:"autoplay",storageKey:null},{alias:null,args:null,concreteType:"VolumeVideoResourceType",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"volumeUuid",storageKey:null},m,{alias:null,args:null,kind:"ScalarField",name:"player",storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"poster",plural:!1,selections:d,storageKey:null}],storageKey:null}],type:"LedeMediaVideoType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"gif",plural:!1,selections:[c,u,m,s,i],storageKey:null}],type:"LedeMediaGifType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"provider",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"embedHtml",storageKey:null}],type:"LedeMediaEmbedType",abstractKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"};h.hash="3e2e8e93a58079721fb2f94bacfd47fb",n.default=h},25202:function(e,n,a){a.d(n,{Z:function(){return N}});var t,r=a(4093),l=a(66123),s=a(68705),i=a(35683),o=()=>(0,i.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.3384 2.75609L0.63129 2.04898L2.04551 0.634766L2.75261 1.34187L8.99848 7.58774L15.2443 1.34187L15.9514 0.634766L17.3657 2.04898L16.6586 2.75609L10.4127 9.00195L16.6586 15.2478L17.3657 15.9549L15.9514 17.3691L15.2443 16.662L8.99848 10.4162L2.75261 16.662L2.04551 17.3691L0.63129 15.9549L1.3384 15.2478L7.58426 9.00195L1.3384 2.75609Z",fill:"currentColor"})}),c=a(8033),d=a(84994),u=a(84795),m=a(75525),h=a(42103),g=a(25254),p=a(150),f=a(46374),x=a.n(f);let w=null;function b(){if("undefined"==typeof window)return null;if(w)return w;let e=x().getParser(window.navigator.userAgent),n=e.is(x().OS_MAP.iOS),a=e.is(x().PLATFORMS_MAP.mobile),t=e.is(x().PLATFORMS_MAP.tablet),r=e.is(x().PLATFORMS_MAP.desktop),l=e.getEngineName()===x().ENGINE_MAP.WebKit,s=e.is(x().BROWSER_MAP.safari);return w={mobile:a,ios:n,tablet:t,desktop:r,webkit:l,safari:s,usesSwipeTransitions:s||l&&n}}a(55280);var y="gxrwz07",v="gxrwz06",j={square:"gxrwz01",round:"gxrwz03 gxrwz01"};function C(e){return e&&"coral-drawer"===e.kind?e:null}let k={kind:"coral-drawer",openedThroughHashChange:!1},_={kind:"coral-drawer",openedThroughHashChange:!0};function L(){return"#comments"===window.location.hash||new URLSearchParams(window.location.search).has("commentID")}var N=(0,p.n)(e=>{let n=(0,s.useFragment)((void 0!==t||(t=a(60232)).hash&&"a761ae48a16971bb8fe3e62ea91331e4"!==t.hash&&console.error("The definition of 'CoralDrawer_contentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),t),e.contentResource),{isDrawerOpen:p,isDrawerPrerendered:f,isDrawerTransitionDisabled:x,openDrawer:w,closeDrawer:N}=(0,m.X)(),{networkConfig:T}=(0,u.q)(),[S,F]=(0,l.useState)(!1),I=(0,d.aC)(),R=I.user||I.viewer,{isDrawerOpen:E,closeDrawer:Z}=(0,h.D)();(0,l.useEffect)(()=>{let e=e=>{if(e.target instanceof HTMLElement){let n=e.target;for(;n&&!(n instanceof HTMLAnchorElement);)n=n.parentElement;if(n&&n.href===location.origin+location.pathname+"#comments"){if(location.hash&&"#comments"!==location.hash){let e=new URL(location.href);e.hash="",window.history.pushState({},"",e.toString())}history.scrollRestoration="manual"}}};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}),(0,l.useEffect)(()=>{p&&E&&Z()},[Z,p,E]),(0,l.useEffect)(()=>{let e=b();if(S){R||F(!1);return}R&&(window.matchMedia("(max-device-width: 460px)").matches||e&&(e.mobile||e.tablet))&&F(!0)},[S,R]);let M=(0,l.useRef)(null),U=(0,l.useCallback)(e=>{M.current=e,!e.rendered&&L()&&e.render()},[]);(0,l.useEffect)(()=>{if(!f)return;let e=M.current;e&&!e.rendered&&e.render()},[f]),(0,l.useEffect)(()=>(p&&(document.body.classList.add(v),document.body.classList.remove(y)),()=>{document.body.classList.add(y),document.body.classList.remove(v)}),[p]),(0,l.useEffect)(()=>{let e=e=>{let n=new URL(e.newURL);"#comments"!==new URL(e.oldURL).hash&&"#comments"===n.hash&&window.history.replaceState(_,"")};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[N,w]),(0,l.useEffect)(()=>{L()&&w()},[w]),(0,l.useEffect)(()=>{let e=b(),n=e&&e.usesSwipeTransitions||!1,a=()=>{let e=C(history.state);L()&&!p&&(w({disableTransition:n&&null!==e}),history.replaceState(e||k,"")),!L()&&p&&(N({disableTransition:n}),history.replaceState(k,""))};return window.addEventListener("popstate",a),()=>{window.removeEventListener("popstate",a)}},[N,p,w]);let $=(0,l.useCallback)(()=>{let e=C(history.state);if(e&&e.openedThroughHashChange)N(),window.history.back();else{let e=new URL(window.location.href);e.hash="",e.searchParams.delete("commentID"),history.replaceState(k,""),window.history.pushState(k,"",e),N()}},[N]),{coralConfig:A}=(0,u.q)();return A?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(g.Z,{drawerClassName:"gxrwz00",onClose:$,drawerId:"coral-drawer","aria-label":"Comments Drawer",open:p,scrollToTop:!1,disableTransition:x,children:(0,i.jsxs)("div",{className:(0,r.Z)("gxrwz04",S&&"gxrwz05"),children:[(0,i.jsx)("button",{className:j["duet-network-theverge"===T.appName?"round":"square"],"aria-label":"Close",onClick:$,children:(0,i.jsx)(o,{})}),(0,i.jsx)(c.Z,{contentResource:n,onEmbedLoad:U,containerClassName:"coral-drawer",customScrollerID:"coral-drawer-scroll",coralId:"comments-drawer"})]})})}):null},{context:"CoralDrawerErrorBoundary"})},8033:function(e,n,a){a.d(n,{Z:function(){return _}});var t,r=a(68705),l=a(66123),s=a(84994),i=a(84795),o=a(150),c=a(4093),d=a(47904);a(42799);var u=a(35683),m=()=>{let e=null,{coralConfig:n}=(0,i.q)();if(!n)throw Error("missing coral config");let a=(0,s.aC)();if(a.userLoading||!a.viewer&&!a.user)return null;let t=a.viewer,r=a.user;if(t&&("BANNED"===t.status||"BANNED"===t.communityMembershipStatus?e=(0,u.jsxs)(u.Fragment,{children:["Your commenting account has been frozen, please contact"," ",(0,u.jsx)("a",{href:`mailto:${n.moderationEmail}`,children:n.moderationEmail})," ","for more information."]}):null===t.email?e=(0,u.jsxs)(u.Fragment,{children:["You're signed in, but you must"," ",(0,u.jsx)("a",{href:`/users/${encodeURIComponent(t.username)}/account`,children:"provide and verify your email address"})," ","before you can use the new commenting experience. If you have already provided and verified your email, please allow a couple of minutes for the changes to take effect and"," ",(0,u.jsx)("button",{className:d.F.text.singleLink,onClick:()=>location.reload(),children:"reload the page"}),"."]}):t.emailVerified||(e=(0,u.jsxs)(u.Fragment,{children:["You're signed in, but you must"," ",(0,u.jsx)("a",{href:"/resend_confirmation",children:"verify your email address"})," before you can use the new commenting experience. If you have already verified your email, please allow a couple of minutes for the changes to take effect and"," ",(0,u.jsx)("button",{className:d.F.text.singleLink,onClick:()=>location.reload(),children:"reload the page"}),"."]}))),r){let n;r.emailVerified||r.commentingName?r.emailVerified?r.commentingName||(n="add a commenting name"):n="verify your email address":n="verify your email address and add a commenting name",n?e=(0,u.jsxs)(u.Fragment,{children:["You're signed in, but you must"," ",(0,u.jsx)("a",{href:"/account/profile",children:n}),". If you have already done so, try ",(0,u.jsx)("a",{role:"button",href:"#",className:d.F.text.singleLink,onClick:()=>location.reload(),children:"reloading the page"}),". Your first few comments may be reviewed by a site moderator."]}):r.coral||(e=(0,u.jsxs)(u.Fragment,{children:["You're signed in, but it seems that you have an incomplete profile. Please check your"," ",(0,u.jsx)("a",{href:"/account/profile",children:"account profile page"}),"."]}))}return e?(0,u.jsx)("div",{className:(0,c.Z)("ggyl6i0",d.F.text.linkStyles),children:e}):null},h=a(96853),g=a(48192),p=a.n(g),f=a(75076),x=a(7209),w=a(60998);let b={"createComment.success":"comment","createCommentReply.success":"comment","editComment.success":"edit","reportComment.success":"report","createCommentReaction.success":"respect",showSharePopover:"share",setCommentsOrderBy:"set_sort_order",unmarkAll:"unmark_unread",jumpToNextUnseenComment:"z_key_next",setProfileTab:"set_profile_tab","ignoreUser.success":"ignore_user",copyPermalink:"copy_permalink"};class y{events=null;constructor(e,n){this.client=e,this.ssoConfig=n}handleOnLoginPrompt=()=>{this.client.emit({event:"authentication",authentication:{method:"sign in and join the conversation"}});let e=this.getIdentityAuthLink();window.location.href=e};getIdentityAuthLink=()=>{let{protocol:e,href:n,pathname:a,search:t}=window.location;if(this.ssoConfig?.ssoAuthDomain&&!this.ssoConfig.isPrimaryCommunity)return`${e}//${this.ssoConfig.ssoAuthDomain}/auth/sso?returnTo=${encodeURIComponent(n)}`;let r=encodeURIComponent(a+t+"#comments");return`/auth/login?returnPath=${r}`};handleOnAny=e=>{if(Array.isArray(e))return;let n=b[e];n&&this.client.emit({event:"coral_comment",coral_comment:{action:n}})};connect(e){this.events&&this.disconnect(),this.events=e,this.events.on("loginPrompt",this.handleOnLoginPrompt),this.events.onAny(this.handleOnAny)}disconnect(){this.events&&(this.events.off("loginPrompt",this.handleOnLoginPrompt),this.events.offAny(this.handleOnAny),this.events=null)}}var v=(0,o.n)(e=>{let{contentInit:n,domID:a,customScrollerID:t,onEmbedLoad:r,containerClassName:o}=e,d=(0,l.useRef)(null),m=(0,l.useRef)(null),g=(0,l.useRef)(null),[b,v]=(0,l.useState)(!1),j=(0,s.aC)(),{coralConfig:C}=(0,i.q)(),{updateCommentCount:k,setLastReadCount:_}=(0,w.o)();if(!C)throw Error("missing coral config");let L=(0,x.z$)(),{appConfig:{deployEnv:N},communityConfig:{ssoAuthDomain:T,isPrimaryCommunity:S}}=(0,i.q)(),F=(0,f.w)({chorusId:n.chorusId,chorusUuid:n.chorusUuid,globalId:n.globalId,nodeId:n.nodeId}),I=(0,l.useCallback)(e=>{if(!C.origin||!n.comments.enabled)return;g.current=e;let l=new URL(n.permalink);n.permalink&&"production"!==N&&"staging"!==N&&(l.host=window.location.host,l.protocol=window.location.protocol),window.coralStoryId=F;let s=T?{ssoAuthDomain:T,isPrimaryCommunity:S}:void 0;m.current=L?new y(L,s):null,d.current=g.current.createStreamEmbed({id:a,rootURL:C.origin,storyID:F,storyURL:l.toString(),autoRender:!0,customCSSURL:"/_next/static/coral.a610989e1f5fa0dab2ae46cb80f0b7db.css".includes("://")?"/_next/static/coral.a610989e1f5fa0dab2ae46cb80f0b7db.css":`${location.origin}/_next/static/coral.a610989e1f5fa0dab2ae46cb80f0b7db.css`,customFontsCSSURL:"/_next/static/coral-rte.82b69e3eff73bddbfd93d159a23f2c25.css".includes("://")?"/_next/static/coral-rte.82b69e3eff73bddbfd93d159a23f2c25.css":`${location.origin}/_next/static/coral-rte.82b69e3eff73bddbfd93d159a23f2c25.css`,containerClassName:(0,c.Z)(o,`rec-threshold-${C.commentRecThreshold}`),storyMode:"qa"===n.comments.mode?"QA":"COMMENTS",events:e=>{e.on("count.comments",function(e){let n=e.storyID,a=e.number;n&&(k(n,a,Date.now()),_(n,a))}),m.current?.connect(e)},customScrollContainer:t?document.getElementById(t):null}),window.CoralStreamEmbed=d.current,r&&r(d.current),v(!0)},[C.origin,C.commentRecThreshold,n.comments.enabled,n.comments.mode,n.permalink,N,F,T,S,L,a,o,t,r,k,_]),R=(0,l.useCallback)(()=>{if(!window.Coral){!function(e,n,a=1e3){let t=0,r=()=>{let l=e();if(!l){t+=1;let e="number"==typeof a?a:a(t);if(!e)return;setTimeout(r,e);return}n(l)};r()}(()=>window.Coral,e=>{I(e)});return}I(window.Coral)},[I]);return((0,l.useEffect)(()=>{window.Coral&&!g.current&&I(window.Coral)},[I]),(0,l.useEffect)(()=>()=>{d.current&&(d.current.rendered?d.current.remove():(0,h.Tb)("Trying to remove Coral, while it was not rendered")),m.current?.disconnect(),m.current=null,d.current=null,g.current=null},[]),(0,l.useEffect)(()=>{!j.userLoading&&j.user?.coral&&d.current&&b&&d.current.login(j.user.coral)},[j.userLoading,j.user?.coral,b]),C.origin&&n.comments.enabled)?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("span",{style:{display:"none"},children:"Comments"}),(0,u.jsx)(p(),{src:`${C.origin}/assets/js/embed.js?v=${C.cacheFingerprint}`,onLoad:R,defer:!0})]}):null},{context:"CoralLoaderErrorBoundary"});a(65531);var j="h1703i3",C=e=>{let{isAuthenticating:n,isCoralLoading:a}=e,{main:t,sub:r}=a?{main:"Loading comments",sub:"Getting the conversation ready..."}:n?{main:"Logging in",sub:"Making sure you're you..."}:{main:"",sub:""};return(0,u.jsxs)("div",{className:"h1703i1",children:[(0,u.jsxs)("div",{className:"h1703i2",children:[(0,u.jsx)("div",{className:j}),(0,u.jsx)("div",{className:`${j} h1703i4`}),(0,u.jsx)("div",{className:`${j} h1703i5`})]}),t&&(0,u.jsx)("div",{className:"h1703i6",children:t}),r&&(0,u.jsx)("div",{className:"h1703i7",children:r})]})};a(53779);var k=(0,o.n)(e=>{let{coralConfig:n}=(0,i.q)(),a=(0,s.aC)(),[t,r]=(0,l.useState)(!1),[o,c]=(0,l.useState)(!0),[d,h]=(0,l.useState)(!1),{onEmbedLoad:g}=e,p=(0,l.useCallback)(e=>{r(!0),g?.(e)},[g]);return((0,l.useEffect)(()=>{t&&(!a.userLoading||d)?c(!1):c(!0)},[a.userLoading,t,d]),(0,l.useEffect)(()=>{if(!a.userLoading)return;let e=setTimeout(()=>{h(!0)},1e4);return()=>clearTimeout(e)},[a.userLoading]),n)?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(m,{}),(0,u.jsx)("div",{id:e.coralId,className:"_1ckog2f0",style:{visibility:o?"hidden":"visible",opacity:o?0:1,transition:"opacity 0.3s ease-in-out"}}),(0,u.jsx)(v,{contentInit:e.contentInit,domID:e.coralId,onEmbedLoad:p,containerClassName:e.containerClassName,customScrollerID:e.customScrollerID,nodeId:e.nodeId}),o&&(0,u.jsx)(C,{isAuthenticating:a.userLoading,isCoralLoading:!t})]}):null},{context:"CoralSectionErrorBoundary"}),_=e=>{let{contentResource:n,onEmbedLoad:l,containerClassName:s,customScrollerID:i,coralId:o}=e,c=(0,r.useFragment)((void 0!==t||(t=a(44671)).hash&&"342a129697ecc3dde30b36315d86fc1c"!==t.hash&&console.error("The definition of 'CoralSectionContainer_contentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),t),n);if(!c)throw Error("CoralSectionContainer requires GraphQL data to be passed in.");let d={chorusId:c.chorusId,chorusUuid:c.chorusUuid,globalId:c.globalId,permalink:c.permalink,comments:c.comments};return(0,u.jsx)(k,{contentInit:d,onEmbedLoad:l,containerClassName:s,customScrollerID:i,coralId:o,nodeId:c.id})}},4061:function(e,n,a){a.d(n,{Z:function(){return o}});var t,r=a(68705);let l=(e,n)=>{switch(e){case"overlay":case"standard":return e;case"branded":case"feature":case"specialFeature":return"horizontal"===n?"wideFeature":"squareFeature"}};var s=a(31038),i=a(35683),o=e=>{let{data:n,variant:o="standard",imageType:c="horizontal",mobileImageType:d="horizontal",backgroundImageType:u="horizontal",mobileBackgroundImageType:m="vertical",componentContext:h="standard"}=e,{ledeMediaData:g,featuredImage:p}=(0,r.useFragment)((void 0!==t||(t=a(82121)).hash&&"3e2e8e93a58079721fb2f94bacfd47fb"!==t.hash&&console.error("The definition of 'useLedeMedia_feedContentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),t),n),f=function(e){let n,{ledeMediaData:a,thumbnailSize:t,mobileThumbnailSize:r,featuredImage:s,variant:i="standard",imageType:o="horizontal",mobileImageType:c="horizontal",backgroundImageType:d="horizontal",mobileBackgroundImageType:u="vertical"}=e,m={ledeType:null};if(!a)return m;switch(a.__typename){case"LedeMediaVideoType":n={ledeType:"video",caption:a.caption.html,autoplay:a.autoplay,contentWarning:null,playerType:a.video.player,uuid:a.video.volumeUuid,posterUrl:a.video.poster?.thumbnails[o].url};break;case"LedeMediaImageType":n={ledeType:"image",thumbnailSize:t,mobileThumbnailSize:r,thumbnailUrl:a.image.thumbnails[o].url,mobileThumbnailUrl:a.image.thumbnails[c].url,backgroundImageUrl:a.image.thumbnails[d].url,mobileBackgroundImageUrl:a.image.thumbnails[u].url,...a.image,caption:a.caption,credit:a.credit.html?a.credit:a.image.credit,hideCredit:a.hideCredit,imageSizeVariant:l(i,o)};break;case"LedeMediaGifType":n={ledeType:"image",thumbnailSize:t,mobileThumbnailSize:r,thumbnailUrl:a.gif.thumbnails[o].url,mobileThumbnailUrl:a.gif.thumbnails[c].url,backgroundImageUrl:a.gif.thumbnails[d].url,mobileBackgroundImageUrl:a.gif.thumbnails[u].url,...a.gif,imageSizeVariant:l(i,o)};break;case"LedeMediaEmbedType":n={ledeType:"embed",html:a.embedHtml,type:a.provider,lede:!0,thumbnailSize:t,mobileThumbnailSize:r,thumbnailUrl:s?.image.thumbnails[o].url,mobileThumbnailUrl:s?.image.thumbnails[c].url,caption:s?.caption,credit:s?.credit,imageSizeVariant:l(i,o)};break;default:n=m}return n}({ledeMediaData:g,thumbnailSize:"overlay"===o?"none":c,mobileThumbnailSize:"overlay"===o?"none":d,featuredImage:p,variant:o,imageType:c,mobileImageType:d,backgroundImageType:u,mobileBackgroundImageType:m});return(0,i.jsx)(s.Z,{...f,componentContext:h})}},22375:function(e,n,a){a.d(n,{Z:function(){return eb}});var t=a(35683),r=a(4093),l=a(3610),s=a(65707),i=a(44079),o=a(66123);a(5726);var c={standard:"_9txrgw1",fullWidth:"_9txrgw3 _9txrgw1",split:"_9txrgw4 _9txrgw1",specialFullWidth:"_9txrgw5 _9txrgw1",specialSplit:"_9txrgw6 _9txrgw1",overlay:"_9txrgw7 _9txrgw1",brandedVertical:"_9txrgw1",brandedFullWidth:"_9txrgw1",stream:"_9txrgw1",video:"_9txrgw1"},d="_9txrgw0",u="_9txrgwv",m={standard:"_9txrgwc",fullWidth:"_9txrgwe _9txrgwc",split:"_9txrgwf _9txrgwc",specialFullWidth:"_9txrgwc",specialSplit:"_9txrgwc",overlay:"_9txrgwc",brandedVertical:"_9txrgwc",brandedFullWidth:"_9txrgwc",stream:"_9txrgwc",video:"_9txrgwc"},h="_9txrgw10",g="_9txrgw11",p="_9txrgw12",f="_9txrgw13",x="_9txrgw14",w="_9txrgwu",b="_9txrgwt",y="_9txrgwq",v="_9txrgws",j="_9txrgwr",C="_9txrgww",k="_9txrgwx",_="_9txrgwy",L="_9txrgwz",N=a(3994),T=a(7209),S=({url:e,layout:n,className:a,buttonClassName:l,iconClassName:s,analyticsPayload:i})=>{let d=(0,T.z$)(),[u,h]=(0,o.useState)(!1);return(0,t.jsxs)("div",{className:(0,r.Z)("_9txrgwo",a),children:[(0,t.jsx)("button",{"aria-label":"Copy link",onClick:()=>{d?.emit(i||{event:"social_share",social_share:{platform:"copy link"}}),navigator.clipboard.writeText(e).then(()=>{h(!0),setTimeout(()=>{h(!1)},2e3)}).catch(e=>{console.error(e)})},className:l||c[n],children:(0,t.jsx)(N.Z,{className:s||m[n]})}),u&&(0,t.jsx)("span",{className:"_9txrgwp",children:"Link Copied!"})]})},F=a(55286),I=({url:e,title:n,layout:a})=>{let r=(0,T.z$)();return(0,t.jsx)("button",{"aria-label":"Share on Facebook",onClick:()=>{r?.emit({event:"social_share",social_share:{platform:"facebook"}});let a=`https://www.facebook.com/sharer/sharer.php?u=${e}&text=${n}`;return window.open(a,"share_facebook","width=658, height=354, scrollbars=no")},className:c[a],children:(0,t.jsx)(F.Z,{className:m[a]})})},R=a(16584),E=a(13454),Z=a(96853),M=a(99962),U=a(13759),$=a.n(U),A=a(66342),K=a(60300),z=a(78842),D=a(11078),P=({className:e="",width:n=16,height:a=16,fill:r="#fff"})=>(0,t.jsxs)("svg",{className:e,width:n,height:a,fill:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",children:[(0,t.jsx)("title",{children:"Gift"}),(0,t.jsxs)("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",clipPath:"url(#a)",children:[(0,t.jsx)("path",{fill:r,d:"M13.47 8v6.427a.41.41 0 0 1-.41.41H2.94a.41.41 0 0 1-.41-.41V8M14.427 4.582H1.573a.41.41 0 0 0-.41.41V7.59c0 .227.184.41.41.41h12.854a.41.41 0 0 0 .41-.41V4.992a.41.41 0 0 0-.41-.41ZM8 14.837V4.582"}),(0,t.jsx)("path",{fill:r,d:"M8 4.581H4.923a1.71 1.71 0 1 1 0-3.418C7.316 1.163 8 4.58 8 4.58ZM8 4.581h3.077a1.71 1.71 0 1 0 0-3.418C8.684 1.163 8 4.58 8 4.58Z"})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),q=a(26900),V=a(88764),O=a(47904),B=a(84994),W=a(84795),H=a(43131);let Y=e=>{let[n,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let n=$()(()=>a(window.innerWidth{window.removeEventListener("resize",n)}},[e]),n},G=e=>{(0,o.useEffect)(()=>{document.body.style.overflow=e?"hidden":"unset"},[e])};a(63858);var Q="fme3qn0",J={standard:"fme3qn1",fullWidth:"fme3qn3 fme3qn1",split:"fme3qn4 fme3qn1",specialFullWidth:"fme3qn1",specialSplit:"fme3qn1",overlay:"fme3qn1",brandedVertical:"fme3qn1",brandedFullWidth:"fme3qn1",stream:"fme3qn1",video:"fme3qn1"},X=({url:e,layout:n})=>{let{isPaywallEligible:a}=(0,H.n)(),l=(0,A.useSearchParams)(),i=(0,T.z$)(),d=(0,B.aC)(),{networkConfig:S,membershipConfig:{giftArticleMonthlyLimit:F=0}}=(0,W.q)(),{refs:I,floatingStyles:U,update:X,context:ee}=(0,R.YF)({middleware:[(0,E.cv)(10),(0,E.uY)()]}),{giftLinks:en}=(0,s.dj)("shareButtons"),[ea,et]=(0,o.useState)(!1),[er,el]=(0,o.useState)(null),[es,ei]=(0,o.useState)(null),[eo,ec]=(0,o.useState)(null),ed=d.user?.isEntitled||!1,eu=!!d.user;(0,o.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/account/gifted-articles-count"),{count:n}=await e.json(),a=F-(n||0);ei(Math.max(a,0))}catch(e){(0,Z.Tb)(e,{extra:{message:"Error fetching user metadata:"}})}})()},[F,S]);let em=(0,o.useCallback)(e=>{e&&X(),et(e)},[X]),eh=Y(V.j.tablet),eg=(0,o.useRef)(null),ep=(0,o.useRef)(null);return((0,o.useEffect)(()=>{function e(e){!I.reference.current||I.floating.current?.contains(e.target)||I.reference.current.contains(e.target)||em(!1)}let n=window.scrollY,a=$()(()=>{Math.abs(window.scrollY-n)>50&&e(new Event("scroll")),n=window.scrollY},100);return ea&&(document.addEventListener("click",e),document.addEventListener("scroll",a)),()=>{document.removeEventListener("click",e),document.removeEventListener("scroll",a)}},[I.floating,I.reference,em,ea]),(0,o.useEffect)(()=>{let e=new URL(window.location.href);e.searchParams.set("giftLink","true"),ec(encodeURIComponent(e.pathname+e.search))},[]),(0,o.useEffect)(()=>{l&&l.has("giftLink")&&et(!0)},[l]),G(ea&&eh),a)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:I.setReference,children:(0,t.jsx)("button",{onClick:()=>em(!ea),"aria-expanded":ea,"aria-haspopup":"true","aria-label":"Gift this article",className:c[n],children:(0,t.jsx)(P,{className:(0,r.Z)(m[n],J[n])})})}),(0,t.jsx)(K.Z,{in:ea&&eh,timeout:200,nodeRef:eg,classNames:{enter:g,enterActive:p,exit:f,exitActive:x},unmountOnExit:!0,children:(0,t.jsx)("div",{ref:eg,className:h})}),(0,t.jsx)(K.Z,{in:ea,timeout:200,nodeRef:I.floating,classNames:{enter:C,enterActive:k,exit:_,exitActive:L},unmountOnExit:!0,children:(0,t.jsx)(M.FocusTrap,{active:ea,focusTrapOptions:{fallbackFocus:`#share-popover-${Date.now()}`,escapeDeactivates:!0,clickOutsideDeactivates:!1,allowOutsideClick:!0},children:(0,t.jsxs)("div",{id:`share-popover-${Date.now()}`,style:{...eh?{}:U},ref:I.setFloating,className:y,role:"dialog","aria-modal":"true","aria-label":"Share options",children:[(0,t.jsx)(R.Y$,{ref:ep,context:ee,className:v}),(0,t.jsxs)("div",{className:j,children:[(0,t.jsxs)("div",{className:b,children:[(0,t.jsx)("div",{className:w,children:"Gift this article"}),(0,t.jsx)("button",{onClick:()=>em(!1),children:(0,t.jsx)(D.Z,{className:u,width:16,height:16})})]}),ed?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:Q,children:en.subscriberMessaging(es)}),(0,t.jsx)(z.Z,{onClick:()=>{let{pathname:n}=new URL(e);el("Getting gift link..."),navigator.clipboard.write([new ClipboardItem({"text/plain":fetch("/api/account/generate-article-gift-link",{method:"POST",headers:{"Content-Type":"application/json",origin:window.location.origin},body:JSON.stringify({path:n})}).then(e=>e.json()).then(({data:e})=>{let{giftUrl:n,count:a}=e;return n?(ei(F-a),el("Gift link copied!"),n):(el("Failed to copy gift link"),"")}).catch(e=>(el("Failed to copy gift link"),(0,Z.Tb)(e,{extra:{message:"There was an error generating the gift link"}}),""))})]).catch(e=>{console.error(e),el("Failed to copy")}),i?.emit({event:"gift_link_share",gift_link_share:{article_url:e}})},className:(0,r.Z)((er||0===es)&&"fme3qnd"),displayType:"primary",fullWidth:!0,iconLeft:(0,t.jsx)(N.Z,{className:"fme3qnc"}),text:er||"Copy gift link",disabled:!!er||0===es})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:Q,children:en.nonSubscriberMessaging}),(0,t.jsx)(z.Z,{href:`${en.ctaLink||""}${eo?`?returnUrl=${eo}`:""}`,displayType:"primary",fullWidth:!0,text:en.ctaText||"Become a Member",className:"fme3qne",onClick:()=>{i?.emit({event:"gift_link_share_become_member",gift_link_share_become_member:{article_url:e}})}}),!eu&&(0,t.jsxs)("div",{className:"fme3qnf",children:[en.signInText||"Already a member?"," ",(0,t.jsx)(q.Z,{href:`/auth/login${eo?`?returnPath=${eo}`:""}`,className:O.F.text.singleLink,onClick:()=>{i?.emit({event:"authentication",authentication:{article_url:e,method:"gift_link_login"}})},children:"Sign In"})]})]})]})]})})})]}):null},ee=a(13700),en=({url:e,layout:n})=>(0,t.jsx)("a",{"aria-label":"Open RSS feed",href:e,className:c[n],children:(0,t.jsx)(ee.Z,{className:m[n]})});a(85871);var ea="_1obt71i3",et="_1obt71i2",er="_1obt71i4",el="_1obt71i1",es=a(98301),ei=({url:e,title:n,onPopoverClose:a})=>{let l=(0,T.z$)();return(0,t.jsxs)("button",{onClick:()=>{l?.emit({event:"social_share",social_share:{platform:"bluesky"}});let t=encodeURIComponent(e),r=encodeURIComponent(n),s=`https://bsky.app/intent/compose?text=${r}%20${t}`;window.open(s,"share_bluesky","width=658, height=354, scrollbars=no"),a()},className:el,"aria-label":"Share on Bluesky",children:[(0,t.jsx)("span",{className:(0,r.Z)(c.standard,et),children:(0,t.jsx)(es.Z,{className:ea})}),(0,t.jsx)("span",{className:er,children:"Bluesky"})]})},eo=({url:e})=>{let[n,a]=(0,o.useState)(null),l=(0,T.z$)();return(0,t.jsxs)("button",{onClick:()=>{l?.emit({event:"social_share",social_share:{platform:"copy link"}}),navigator.clipboard.writeText(e).then(()=>{a("Link copied!"),setTimeout(()=>{a(null)},2e3)}).catch(e=>{console.error(e),a("Failed to copy"),setTimeout(()=>{a(null)},2e3)})},className:el,"aria-label":"Copy link",children:[(0,t.jsx)("span",{className:(0,r.Z)(c.standard,et),children:(0,t.jsx)(N.Z,{className:ea})}),(0,t.jsx)("span",{className:er,children:"Copy Link"}),n&&(0,t.jsx)("span",{className:"_1obt71i5",children:n})]})},ec=({url:e,onPopoverClose:n})=>{let a=(0,T.z$)();return(0,t.jsxs)("button",{onClick:()=>{a?.emit({event:"social_share",social_share:{platform:"facebook"}});let t=encodeURIComponent(e),r=`https://www.facebook.com/sharer/sharer.php?u=${t}`;window.open(r,"share_facebook","width=658, height=354, scrollbars=no"),n()},className:el,"aria-label":"Share on Facebook",children:[(0,t.jsx)("span",{className:(0,r.Z)(c.standard,et),children:(0,t.jsx)(F.Z,{className:ea})}),(0,t.jsx)("span",{className:er,children:"Facebook"})]})},ed=a(43385),eu=({url:e,onPopoverClose:n})=>{let a=(0,T.z$)();return(0,t.jsxs)("button",{onClick:()=>{a?.emit({event:"social_share",social_share:{platform:"linkedin"}});let t=encodeURIComponent(e),r=`https://www.linkedin.com/sharing/share-offsite/?url=${t}`;window.open(r,"share_linkedin","width=658, height=354, scrollbars=no"),n()},className:el,"aria-label":"Share on LinkedIn",children:[(0,t.jsx)("span",{className:(0,r.Z)(c.standard,et),children:(0,t.jsx)(ed.Z,{className:ea})}),(0,t.jsx)("span",{className:er,children:"LinkedIn"})]})},em=a(64237),eh=({url:e,title:n,onPopoverClose:a})=>{let l=(0,T.z$)();return(0,t.jsxs)("button",{onClick:()=>{l?.emit({event:"social_share",social_share:{platform:"threads"}});let t=encodeURIComponent(e),r=encodeURIComponent(n),s=`https://threads.net/intent/post?text=${r}&url=${t}&via=Verge`;window.open(s,"share_threads","width=658, height=354, scrollbars=no"),a()},className:el,"aria-label":"Share on Threads",children:[(0,t.jsx)("span",{className:(0,r.Z)(c.standard,et),children:(0,t.jsx)(em.Z,{className:ea})}),(0,t.jsx)("span",{className:er,children:"Threads"})]})},eg=({className:e="",fill:n="",width:a=40,height:r=40})=>(0,t.jsxs)("svg",{className:e,width:a,height:r,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"WhatsApp"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M27.7891 23.391C27.3661 23.1793 25.2865 22.1561 24.8987 22.0148C24.511 21.8736 24.2291 21.8031 23.9471 22.2265C23.6651 22.6499 22.8544 23.6028 22.6076 23.885C22.3609 24.1673 22.1142 24.2028 21.6912 23.9909C21.2682 23.7793 19.9052 23.3326 18.2896 21.8914C17.0322 20.7698 16.1832 19.3846 15.9365 18.9612C15.6897 18.5377 15.9101 18.3088 16.1219 18.0979C16.3123 17.9084 16.5449 17.6038 16.7564 17.3568C16.968 17.1099 17.0384 16.9333 17.1794 16.6511C17.3204 16.3688 17.2499 16.1218 17.1441 15.9101C17.0384 15.6984 16.1925 13.6163 15.84 12.7692C15.4966 11.9445 15.1479 12.0562 14.8882 12.0432C14.6418 12.0309 14.3595 12.0283 14.0776 12.0283C13.7956 12.0283 13.3373 12.1342 12.9495 12.5575C12.5618 12.981 11.4691 14.0045 11.4691 16.0864C11.4691 18.1685 12.9848 20.1798 13.1963 20.4621C13.4078 20.7445 16.179 25.0169 20.4223 26.8492C21.4315 27.285 22.2194 27.5453 22.8337 27.7402C23.847 28.0622 24.7691 28.0168 25.498 27.9078C26.3107 27.7865 28.0006 26.8846 28.3531 25.8966C28.7055 24.9084 28.7055 24.0615 28.5998 23.885C28.4941 23.7086 28.2121 23.6028 27.7891 23.391ZM20.0711 33.9292H20.0654C17.5405 33.9282 15.0642 33.2499 12.9038 31.9679L12.39 31.6629L7.06459 33.0599L8.48602 27.8676L8.15153 27.3352C6.74299 25.095 5.99904 22.5058 6.00017 19.8471C6.00329 12.0892 12.3154 5.77759 20.0767 5.77759C23.835 5.77885 27.3678 7.24437 30.0244 9.90401C32.681 12.5636 34.1431 16.0988 34.1417 19.8584C34.1385 27.6169 27.8264 33.9292 20.0711 33.9292ZM32.0463 7.88307C28.8501 4.68321 24.5996 2.92019 20.0709 2.91833C10.7399 2.91833 3.14563 10.5122 3.14184 19.846C3.14065 22.8298 3.92013 25.742 5.40165 28.3094L3 37.0818L11.9742 34.7277C14.4469 36.0764 17.2309 36.7872 20.0642 36.7882H20.0712C29.4012 36.7882 36.9961 29.1936 37 19.8596C37.0017 15.3362 35.2424 11.0829 32.0463 7.88307Z",fill:n})]}),ep=({url:e,title:n,onPopoverClose:a})=>{let l=(0,T.z$)();return(0,t.jsxs)("button",{onClick:()=>{l?.emit({event:"social_share",social_share:{platform:"whatsapp"}});let t=encodeURIComponent(e),r=encodeURIComponent(n),s=`https://api.whatsapp.com/send?text=${r}%20${t}`;window.open(s,"share_whatsapp","width=658, height=354, scrollbars=no"),a()},className:el,"aria-label":"Share on WhatsApp",children:[(0,t.jsx)("span",{className:(0,r.Z)(c.standard,et),children:(0,t.jsx)(eg,{className:ea})}),(0,t.jsx)("span",{className:er,children:"WhatsApp"})]})},ef=({className:e="",width:n=14,height:a=12,fill:r=""})=>(0,t.jsxs)("svg",{className:e,width:n,height:a,viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"Share"}),(0,t.jsx)("path",{fill:r,stroke:r,strokeLinejoin:"round",d:"M8.857 1.125V3.68S2.5 3 .5 9.714v1.161c1.632-3.482 6.275-3.482 8.357-2.786v2.322L13.5 5.768 8.857 1.125Z"})]}),ex=({url:e,title:n,layout:a,popoverButtons:l,popoverClassname:s})=>{let[i,d]=(0,o.useState)(!1),{refs:N,floatingStyles:T,update:S,context:F}=(0,R.YF)({middleware:[(0,E.cv)(10),(0,E.uY)()]}),I=(0,o.useCallback)(e=>{e&&S(),d(e)},[S]),Z=Y(V.j.tablet),U=(0,o.useRef)(null),A=(0,o.useRef)(null);return(0,o.useEffect)(()=>{function e(e){N.floating.current?.contains(e.target)||N.reference.current.contains(e.target)||I(!1)}let n=window.scrollY,a=$()(()=>{Math.abs(window.scrollY-n)>50&&e(new Event("scroll")),n=window.scrollY},100);return i&&(document.addEventListener("click",e),document.addEventListener("scroll",a)),()=>{document.removeEventListener("click",e),document.removeEventListener("scroll",a)}},[N.floating,N.reference,I,i]),G(i&&Z),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{onClick:()=>I(!i),ref:N.setReference,"aria-expanded":i,"aria-haspopup":"true","aria-label":"Share article",className:c[a],children:(0,t.jsx)(ef,{className:m[a]})}),(0,t.jsx)(K.Z,{in:i&&Z,timeout:200,nodeRef:U,classNames:{enter:g,enterActive:p,exit:f,exitActive:x},unmountOnExit:!0,children:(0,t.jsx)("div",{ref:U,className:h})}),(0,t.jsx)(K.Z,{in:i,timeout:200,nodeRef:N.floating,classNames:{enter:C,enterActive:k,exit:_,exitActive:L},unmountOnExit:!0,children:(0,t.jsx)(M.FocusTrap,{active:i,focusTrapOptions:{fallbackFocus:`#share-popover-${Date.now()}`,escapeDeactivates:!0,clickOutsideDeactivates:!1,allowOutsideClick:!0},children:(0,t.jsxs)("div",{id:`share-popover-${Date.now()}`,style:{...Z?{}:T},ref:N.setFloating,className:(0,r.Z)(y,s),role:"dialog","aria-modal":"true","aria-label":"Share options",children:[(0,t.jsx)(R.Y$,{ref:A,context:F,className:v}),(0,t.jsxs)("div",{className:j,children:[(0,t.jsxs)("div",{className:b,children:[(0,t.jsx)("div",{className:w,children:"Share on:"}),(0,t.jsx)("button",{onClick:()=>I(!1),children:(0,t.jsx)(D.Z,{className:u,width:16,height:16})})]}),(0,t.jsx)("div",{className:"_1obt71i0",children:l.map(a=>{switch(a){case"copy":return(0,t.jsx)(eo,{url:e},a);case"facebook":return(0,t.jsx)(ec,{url:e,onPopoverClose:()=>I(!1)},a);case"threads":return(0,t.jsx)(eh,{url:e,title:n,onPopoverClose:()=>I(!1)},a);case"linkedin":return(0,t.jsx)(eu,{url:e,onPopoverClose:()=>I(!1)},a);case"bluesky":return(0,t.jsx)(ei,{url:e,title:n,onPopoverClose:()=>I(!1)},a);case"whatsapp":return(0,t.jsx)(ep,{url:e,title:n,onPopoverClose:()=>I(!1)},a);default:return null}})})]})]})})})]})},ew=({url:e,title:n,layout:a})=>{let r=(0,T.z$)();return(0,t.jsx)("div",{className:d,children:(0,t.jsx)("button",{"aria-label":"Share on Threads",onClick:()=>{r?.emit({event:"social_share",social_share:{platform:"threads"}});let a=`https://threads.net/intent/post?text=${n}&url=${e}&via=Verge`;return window.open(a,"share_threads","width=658, height=354, scrollbars=no")},className:c[a],children:(0,t.jsx)(em.Z,{className:m[a]})})})},eb=({url:e,title:n,rssUrl:a,layout:o,...c})=>{let u=encodeURIComponent(e),m=encodeURIComponent(n),h=(0,s.dj)("shareButtons",""),{buttons:g,popoverButtons:p,popoverClassname:f}=(0,i.Z)(c,h);return(0,t.jsx)("ul",{className:(0,r.Z)(l.Z.ShareButtons,d),children:g.map(r=>"copy"===r?(0,t.jsx)("li",{children:(0,t.jsx)(S,{url:e,layout:o})},r):"giftLink"===r?(0,t.jsx)("li",{children:(0,t.jsx)(X,{url:e,layout:o})},r):"facebook"===r?(0,t.jsx)("li",{children:(0,t.jsx)(I,{url:u,title:m,layout:o})},r):"threads"===r?(0,t.jsx)("li",{children:(0,t.jsx)(ew,{url:u,title:m,layout:o})},r):"sharePopover"===r?(0,t.jsx)("li",{children:(0,t.jsx)(ex,{url:e,title:n,layout:o,popoverButtons:p,popoverClassname:f})},r):a?(0,t.jsx)("li",{children:(0,t.jsx)(en,{url:a,layout:o})},r):null)})}},98301:function(e,n,a){var t=a(35683);n.Z=({className:e="",fill:n="",width:a=40,height:r=40})=>(0,t.jsxs)("svg",{className:e,width:a,height:r,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"Bluesky"}),(0,t.jsx)("path",{d:"M20 18.4218C18.551 15.6479 14.6052 10.4784 10.9364 7.92885C7.42196 5.48652 6.08124 5.90969 5.20231 6.30064C4.18497 6.75316 4 8.29062 4 9.19518C4 10.0997 4.50378 16.6113 4.83237 17.6982C5.9181 21.2896 9.78314 22.5031 13.3426 22.1136C13.5245 22.087 13.7091 22.0625 13.8959 22.0398C13.7126 22.0687 13.528 22.0933 13.3426 22.1136C8.12626 22.8741 3.49367 24.7454 9.56962 31.4039C16.2532 38.2157 18.7293 29.9432 20 25.7489C21.2707 29.9432 22.7342 37.9174 30.3107 31.4039C36 25.7489 31.8738 22.8744 26.6574 22.1138C26.472 22.0935 26.2874 22.0689 26.1041 22.0401C26.2909 22.0627 26.4755 22.0873 26.6574 22.1138C30.2169 22.5034 34.0819 21.2897 35.1676 17.6985C35.4963 16.6116 36 10.1 36 9.19541C36 8.29085 35.815 6.75339 34.7977 6.30087C33.9188 5.90992 32.578 5.48675 29.0636 7.92908C25.3948 10.4786 21.449 15.6479 20 18.4218Z",fill:n})]})},43385:function(e,n,a){var t=a(35683);n.Z=({className:e="",fill:n="",width:a=40,height:r=40})=>(0,t.jsxs)("svg",{className:e,width:a,height:r,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"LinkedIn"}),(0,t.jsx)("path",{d:"M34 32.9984V22.9409C34 17.5524 31.1451 15.045 27.337 15.045C24.2642 15.045 22.888 16.7477 22.1218 17.9425V15.4564H16.334C16.4105 17.1034 16.334 32.9984 16.334 32.9984H22.1218V23.2014C22.1218 22.6787 22.1592 22.1542 22.3121 21.7806C22.7302 20.7334 23.6818 19.6485 25.2809 19.6485C27.3761 19.6485 28.2138 21.2562 28.2138 23.6144V33L34 32.9984ZM10.2355 13.062C12.2526 13.062 13.5101 11.7133 13.5101 10.0302C13.4726 8.30942 12.2526 7 10.2729 7C8.29323 7 7 8.30779 7 10.0286C7 11.7133 8.25581 13.0604 10.1997 13.0604H10.2355V13.062ZM13.1294 32.9984V15.4564H7.34323V32.9984H13.1294Z",fill:n})]})},54595:function(e,n,a){a.d(n,{Z:function(){return g}});var t=a(35683),r=a(4093),l=a(66123),s=a(2653),i=a(26900),o=a(3610),c=a(65707),d=a(47904),u=a(7209);a(52655);var m={standard:"_15r56j1f",fullWidth:"_15r56j1g",split:"_15r56j1h",specialFullWidth:"_15r56j1i",specialSplit:"_15r56j1j",overlay:"_15r56j1k",brandedVertical:"_15r56j1l",brandedFullWidth:"_15r56j1m",stream:"_15r56j1n"},h={standard:"_15r56j13",fullWidth:"_15r56j14",split:"_15r56j15",specialFullWidth:"_15r56j16",specialSplit:"_15r56j17",overlay:"_15r56j18",brandedVertical:"_15r56j19",brandedFullWidth:"_15r56j1a",stream:"_15r56j1b"},g=({authors:e,additionalBylines:n,gaComponentName:a,overlay:g,layout:p,componentContext:f,CustomAuthorByline:x})=>{let{inlineOnDesktop:w}=(0,c.dj)("ledeByline",f||""),b=(0,u.z$)();return(0,t.jsxs)("div",{className:(0,r.Z)(o.Z.ArticleByline,d.F.text.ledeTextColor[p],"_15r56j10"),children:[(0,t.jsxs)("span",{className:(0,r.Z)(g&&"_15r56j11"),children:[(0,t.jsx)("span",{children:"by"})," ",e.map((n,s)=>{let o="advertiser"===n.name.toLowerCase();return(0,t.jsxs)(l.Fragment,{children:[s===e.length-1&&2===e.length&&" and ",s===e.length-1&&e.length>2&&", and ",0!==s&&s!==e.length-1&&e.length>2&&", "," ",x&&!o?(0,t.jsx)(x,{author:n,layout:p,componentContext:f,isFirst:0===s}):(0,t.jsx)("span",{className:(0,r.Z)("_15r56j12",!o&&h[p]),children:n.permalink&&!o?(0,t.jsx)(i.Z,{href:n.permalink,onClick:()=>{b?.emit({event:"author_click",author_click:{author:n.name,component_name:a}})},children:n.name}):n.name})]},s)})]}),n&&(0,t.jsxs)(t.Fragment,{children:[w&&(0,t.jsx)("span",{className:(0,r.Z)(d.F.layout.pipeSeparator,"_15r56j1c")}),(0,t.jsx)(s.Z,{className:(0,r.Z)("_15r56j1d",m[p],w&&"_15r56j1e"),component:"p",html:n})]})]})}},31038:function(e,n,a){a.d(n,{Z:function(){return d}});var t=a(35683),r=a(4093),l=a(67519),s=a(81546),i=a(92246),o=a(28054);a(31730);var c={high:"cr8c9y2 cr8c9y1",low:"cr8c9y3 cr8c9y1"},d=e=>{let{stickyNavTriggerClassName:n}=(0,o.Q)(),a=null;switch(e.ledeType){case"embed":a=(0,t.jsx)(l.Z,{...e,lede:!0});break;case"image":a=(0,t.jsx)(s.Z,{...e});break;case"video":a=(0,t.jsx)(i.Z,{...e,className:"cr8c9y4"})}return(0,t.jsxs)("div",{className:"cr8c9y0",children:[(0,t.jsx)("div",{className:(0,r.Z)(c[e.stickyNavTriggerPosition||"high"],n)}),a]})}}}]);