PageSourceSearch

https://www.theverge.com/_next/static/chunks/2pyww3rdt6f9o.js

js theverge.com collected 2026-10-01 07:48:47 UTC 35,448 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="9e16315f-c479-fb79-619b-36970885fb70")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,224217,954555,e=>{"use strict";var a=e.i(478902),t=e.i(197649),l=e.i(389959);e.i(7004);var n=e.i(177440),r=e.i(753511),i=e.i(933322),o=e.i(767636),s=e.i(315),u=e.i(80687),c=e.i(229722);e.i(807738);var d=e.i(738886),p={author:"_1gfiq7f1 _1gfiq7f0",category:"_1gfiq7f2 _1gfiq7f0"},m={category:"_1gfiq7f6 _1gfiq7f5",author:"_1gfiq7f7 _1gfiq7f5"};e.s(["default",0,({resourceId:e,name:g,type:k,className:h,followingClassName:f,gaComponentName:y,overrideText:v,PlusIcon:_,CheckIcon:j,RightIcon:w,onButtonClick:C=()=>{},isOnboarding:F=!1})=>{let q=(0,s.useIsFollowing)(e||""),{canFollow:T,followResource:S,unfollowResource:b}=(0,s.useFollows)(),[x,L]=(0,l.useState)(null),R=e=>{L((0,o.getFollowsErrorMessage)(e))};return(0,l.useEffect)(()=>{T&&(0,u.isFollowRedirectTriggeredByComponent)(g,y)&&((0,u.clearFollowQueryParam)(),C("follow"),S({resourceId:e,name:g,type:k,gaComponentName:y}).catch(R))},[e,g,k,S,T,y,C]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{text:v||(q?"Following":"Follow"),className:(0,t.default)(p[k],x&&"_1gfiq7f3",h,q&&f,r.followItemHoverGroup),iconLeft:q?j||(0,a.jsx)(c.default,{height:20,width:20,className:"_1gfiq7f4"}):_||(0,a.jsx)(i.default,{height:20,width:20}),fullWidth:!0,onClick:()=>{if(!e||!g)return!1;if(T&&q)C("unfollow"),b({resourceId:e,type:k,name:g,gaComponentName:y}).catch(R);else{if(!T)return(0,u.loginAndFollow)(g,y,F);C("follow"),S({resourceId:e,name:g,type:k,gaComponentName:y}).catch(R)}},iconRight:w}),x&&(0,a.jsx)(n.default,{className:m[k],msg:x})]})}],954555),e.s([],224217)},7004,177440,933322,e=>{"use strict";var a=e.i(478902),t=e.i(197649);e.s(["default",0,({msg:e,className:l})=>(0,a.jsx)("p",{className:(0,t.default)("_1wh05fc0",l),children:e})],177440),e.s([],7004),e.s(["default",0,({className:e="",fill:t="currentColor",width:l="100%",height:n="100%",title:r="Follow"})=>(0,a.jsxs)("svg",{width:l,height:n,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,"aria-label":"Follow",children:[(0,a.jsx)("title",{children:r}),(0,a.jsx)("path",{d:"M11.5 3H9.5V8.99999H3.5V11L9.5 11V17H11.5V11L17.5 11V9H11.5V3Z",fill:t})]})],933322)},753511,e=>{"use strict";e.s(["followItemHoverGroup",0,"gnx4pm0"])},478225,180144,e=>{"use strict";var a=e.i(478902),t={articleMetaStandard:"_1ajq89ke _1ajq89k1 _1ajq89k0",articleMetaStandardDarkSurface:"_1ajq89kf _1ajq89k1 _1ajq89k0",homepageFollowChip:"_1ajq89kg _1ajq89k1 _1ajq89k0",articleMetaFeature:"_1ajq89kh _1ajq89ka _1ajq89k1 _1ajq89k0",articleMetaFeatureSplit:"_1ajq89ki _1ajq89k1 _1ajq89k0",articleMetaSpecial:"_1ajq89kj _1ajq89k6 _1ajq89k1 _1ajq89k0",articleMetaSpecialSplit:"_1ajq89kk _1ajq89k6 _1ajq89k1 _1ajq89k0",articleMetaSpecialOverlay:"_1ajq89kl _1ajq89k1 _1ajq89k0",pageHeader:"_1ajq89km _1ajq89k1 _1ajq89k0",checkoutOnBoarding:"_1ajq89kn _1ajq89k1 _1ajq89k0"},l={articleMetaStandard:"_1ajq89ko _1ajq89k4 _1ajq89k3 ftptba0",articleMetaStandardDarkSurface:"_1ajq89kp _1ajq89k4 _1ajq89k3 ftptba0",homepageFollowChip:"_1ajq89kq _1ajq89k4 _1ajq89k3 ftptba0",articleMetaFeature:"_1ajq89kr _1ajq89kb _1ajq89k4 _1ajq89k3 ftptba0",articleMetaFeatureSplit:"_1ajq89ks _1ajq89k4 _1ajq89k3 ftptba0",articleMetaSpecial:"_1ajq89kt _1ajq89k7 _1ajq89k4 _1ajq89k3 ftptba0",articleMetaSpecialSplit:"_1ajq89ku _1ajq89k7 _1ajq89k4 _1ajq89k3 ftptba0",articleMetaSpecialOverlay:"_1ajq89kv _1ajq89k4 _1ajq89k3 ftptba0",pageHeader:"_1ajq89kw _1ajq89k4 _1ajq89k3 ftptba0",checkoutOnBoarding:"_1ajq89kx _1ajq89k4 _1ajq89k3 ftptba0"},n={articleMetaStandard:"_1ajq89ky _1ajq89k2 _1ajq89k0",articleMetaStandardDarkSurface:"_1ajq89kz _1ajq89k2 _1ajq89k0",homepageFollowChip:"_1ajq89k10 _1ajq89k2 _1ajq89k0",articleMetaFeature:"_1ajq89k11 _1ajq89kc _1ajq89k2 _1ajq89k0",articleMetaFeatureSplit:"_1ajq89k12 _1ajq89k2 _1ajq89k0",articleMetaSpecial:"_1ajq89k13 _1ajq89k8 _1ajq89k2 _1ajq89k0",articleMetaSpecialSplit:"_1ajq89k14 _1ajq89k8 _1ajq89k2 _1ajq89k0",articleMetaSpecialOverlay:"_1ajq89k15 _1ajq89k2 _1ajq89k0",pageHeader:"_1ajq89k16 _1ajq89k2 _1ajq89k0",checkoutOnB
2oarding:"_1ajq89k17 _1ajq89k2 _1ajq89k0"},r={articleMetaStandard:"_1ajq89k18 _1ajq89k5 _1ajq89k3 ftptba0",articleMetaStandardDarkSurface:"_1ajq89k19 _1ajq89k5 _1ajq89k3 ftptba0",homepageFollowChip:"_1ajq89k1a _1ajq89k5 _1ajq89k3 ftptba0",articleMetaFeature:"_1ajq89k1b _1ajq89kd _1ajq89k5 _1ajq89k3 ftptba0",articleMetaFeatureSplit:"_1ajq89k1c _1ajq89k5 _1ajq89k3 ftptba0",articleMetaSpecial:"_1ajq89k1d _1ajq89k9 _1ajq89k5 _1ajq89k3 ftptba0",articleMetaSpecialSplit:"_1ajq89k1e _1ajq89k9 _1ajq89k5 _1ajq89k3 ftptba0",articleMetaSpecialOverlay:"_1ajq89k1f _1ajq89k5 _1ajq89k3 ftptba0",pageHeader:"_1ajq89k1g _1ajq89k5 _1ajq89k3 ftptba0",checkoutOnBoarding:"_1ajq89k1h _1ajq89k5 _1ajq89k3 ftptba0"};e.s(["default",0,({layout:e,tooltipRef:t})=>(0,a.jsx)("span",{ref:t,className:n[e],children:(0,a.jsxs)("svg",{className:r[e],width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Following",children:[(0,a.jsx)("title",{children:"Following"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8004 1.78498L3.604 7.79332L0.599609 5.14239L1.39356 4.24259L3.48917 6.09166L7.89276 1L8.8004 1.78498Z"})]})})],478225),e.s(["default",0,({layout:e,tooltipRef:n})=>(0,a.jsx)("span",{ref:n,className:t[e],children:(0,a.jsx)("svg",{className:l[e],width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Follow",children:(0,a.jsx)("path",{d:"M5 0H4V4H0V5H4V9H5V5H9V4H5V0Z"})})})],180144)},767636,e=>{"use strict";let a={FOLLOW_CATEGORY:"Error: Could not follow this topic. Try again.",UNFOLLOW_CATEGORY:"Error: Could not unfollow this topic. Try again.",FOLLOW_AUTHOR:"Error: Could not follow this author. Try again.",UNFOLLOW_AUTHOR:"Error: Could not unfollow this author. Try again.",MAX_FOLLOWS_REACHED:"Error: You have reached the maximum number of follows.",DEFAULT:"Error: An error occurred. Please try again."};e.s(["ERRORS",0,a,"FollowsError",0,class extends Error{code;originalError;constructor(e,a){super(),this.name="FollowsError",this.code=e,this.originalError=a}},"getFollowsErrorMessage",0,e=>{let t=a[e.code]||null;return console.error(`FOLLOWS ERROR: ${t}`," ORIGINAL:",!e.originalError&&e.message?e.message:e.originalError),t}])},315,e=>{"use strict";var a=e.i(478902),t=e.i(389959),l=e.i(80687),n=e.i(767636),r=e.i(210982),i=e.i(597406);let o=(0,t.createContext)({followResource:async()=>!0,unfollowResource:async()=>!0,sendAnalyticsEvent:()=>{},canFollow:!1,loading:!0});e.s(["FollowsProvider",0,({children:e})=>{let[s,u]=(0,t.useState)(null),[c,d]=(0,t.useState)(!0),[p,m]=(0,t.useState)(!1),{user:g}=(0,i.useAuth)(),k=(0,r.useAnalytics)();(0,t.useEffect)(()=>{window.location.search.match("errorTestMode")&&m(!0)},[]),(0,t.useEffect)(()=>{var e;if(!g)return;let a=(e=g.uid,`user:${e.slice(0,6)}:production:follows`),t=localStorage.getItem(a);t&&u(JSON.parse(t)),(0,l.getFollows)({userId:g.uid}).then(e=>{u(e),d(!1);try{localStorage.setItem(a,JSON.stringify(e))}catch{}}).catch(()=>u(null))},[g]);let h=(0,t.useCallback)(e=>{u({categories:s?.categories||[],authors:e})},[s]),f=(0,t.useCallback)(e=>{u({authors:s?.authors||[],categories:e})},[s]),y=(0,t.useCallback)(({eventType:e,type:a,name:t,gaComponentName:l})=>{k?.emit({event:e,[e]:{click_text:t.toLowerCase(),type:"author"===a?"author":"topic",position:l}})},[k]),v=(0,t.useCallback)(async({resourceId:e,name:a,type:t,gaComponentName:r})=>{if(p)throw new n.FollowsError("author"===t?"FOLLOW_AUTHOR":"FOLLOW_CATEGORY","TEST: FOLLOW");if(!g)return!1;let i="author"===t?h:f,o="author"===t?"authors":"categories",u=[...s?.[o]||[]];if(u.find(a=>a.id===e))return!1;if((s?.authors||[]).length+(s?.categories||[]).length>=40)throw new n.FollowsError("MAX_FOLLOWS_REACHED","");i([...u,{id:e,metadata:{name:a}}]);try{let a=await (0,l.follow)({userId:g.uid,resourceId:e,type:t});i(a)}catch(e){throw i(u),new n.FollowsError("author"===t?"FOLLOW_AUTHOR":"FOLLOW_CATEGORY",e)}return y({eventType:"follow",type:t,name:a,gaComponentName:r}),!0},[s,g,f,h,p,y]),_=(0,t.useCallback)(async({resourceId:e,name:a,type:t,gaComponentName:r})=>{if(p)throw new n.FollowsError("author"===t?"UNFOLLOW_AUTHOR":"UNFOLLOW_CATEGORY","TEST: UNFOLLOW");if(!g)return!1;let i="author"===t?h:f,o="author"===t?"authors":"categories",u=[...s?.[o]||[]];i(u.filter(a=>a.id!==e));try{let a=await (0,l.unfollow)({userId:g.uid,resourceId:e,type:t});i(a)}catch(e){throw i(u),new n.FollowsError("author"===t?"UNFOLLOW_AUTHOR":"UNFOLLOW_CATEGORY",e)}return y({eventType:"unfollow",type:t,name:a,gaComponentName:r}),!0},[s,g,f,h,p,y]);
2return(0,a.jsx)(o.Provider,{value:{...s,followResource:v,unfollowResource:_,sendAnalyticsEvent:y,canFollow:!!g,loading:c},children:e})},"useFollows",0,()=>(0,t.useContext)(o),"useIsFollowing",0,e=>{let a=(0,t.useContext)(o),l=a.authors?.find(a=>a.id===e);return!!(l=a.categories?.find(a=>a.id===e)||l)}])},80687,e=>{"use strict";let a=async(e,a)=>{if(a.ok)return(await a.json()).data;throw Error(`Unable to complete ${e} action, HTTP ${a.status} response`)},t=e=>({id:e.id,metadata:{name:e.name}}),l=async({userId:e,action:t,resourceId:l,type:n})=>{let r=await fetch(`/api/follows/latest/${encodeURIComponent(e)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:t,resource:{id:l,type:n}})});return await a(t,r)},n=async({userId:e,resourceId:a,type:n})=>(await l({userId:e,action:"follow",resourceId:a,type:n}))["author"===n?"authors":"categories"].map(t),r=async({userId:e,resourceId:a,type:n})=>(await l({userId:e,action:"unfollow",resourceId:a,type:n}))["author"===n?"authors":"categories"].map(t),i=async({userId:e})=>{let l,n=await fetch(`/api/follows/latest/${encodeURIComponent(e)}`,{method:"GET"});return{authors:(l=await a("get follows",n)).authors.map(t),categories:l.categories.map(t)}},o="followItem",s="followItemSource";e.s(["clearFollowQueryParam",0,()=>{let e=new URL(window.location.href);e.search="",window.history.replaceState({},"",e)},"follow",0,n,"getFollowId",0,(e,a,t,l)=>`follow-${e}-${t}${l?`_${l}`:""}-${a}`,"getFollows",0,i,"isFollowRedirectTriggeredByComponent",0,(e,a)=>{let t,l,n=(t=new URLSearchParams(window.location.search)).has(o)?t.get(o):null;return((l=new URLSearchParams(window.location.search)).has(s)?l.get(s):null)===a&&n===e},"loginAndFollow",0,(e,a,t)=>{let l=new URLSearchParams({[o]:e,[s]:a});t&&l.set("followOnboarding","1");let n=encodeURIComponent(`${window.location.pathname}?${l.toString()}`);window.location.href=`/auth/login?returnPath=${n}&itm_campaign=follow&itm_medium=site`},"unfollow",0,r])},229722,e=>{"use strict";var a=e.i(478902);e.s(["default",0,({className:e="",fill:t="currentColor",width:l=24,height:n=24,title:r="Checkmark"})=>(0,a.jsxs)("svg",{className:e,width:l,height:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:r}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4077 6.78505L10.0149 18.8017L4.0061 13.4999L5.594 11.7003L9.78522 15.3984L18.5924 5.21509L20.4077 6.78505Z",fill:t})]})])},653957,(e,a,t)=>{var l=/\s/;a.exports=function(e){for(var a=e.length;a--&&l.test(e.charAt(a)););return a}},593460,(e,a,t)=>{var l=e.r(653957),n=/^\s+/;a.exports=function(e){return e?e.slice(0,l(e)+1).replace(n,""):e}},533066,(e,a,t)=>{var l=e.r(377882),n=e.r(850154),r=e.r(889695),i=Math.max,o=Math.min;a.exports=function(e,a,t){var s,u,c,d,p,m,g=0,k=!1,h=!1,f=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(a){var t=s,l=u;return s=u=void 0,g=a,d=e.apply(l,t)}function v(e){var t=e-m,l=e-g;return void 0===m||t>=a||t<0||h&&l>=c}function _(){var e,t,l,r=n();if(v(r))return j(r);p=setTimeout(_,(e=r-m,t=r-g,l=a-e,h?o(l,c-t):l))}function j(e){return(p=void 0,f&&s)?y(e):(s=u=void 0,d)}function w(){var e,t=n(),l=v(t);if(s=arguments,u=this,m=t,l){if(void 0===p)return g=e=m,p=setTimeout(_,a),k?y(e):d;if(h)return clearTimeout(p),p=setTimeout(_,a),y(m)}return void 0===p&&(p=setTimeout(_,a)),d}return a=r(a)||0,l(t)&&(k=!!t.leading,c=(h="maxWait"in t)?i(r(t.maxWait)||0,a):c,f="trailing"in t?!!t.trailing:f),w.cancel=function(){void 0!==p&&clearTimeout(p),g=0,s=m=u=p=void 0},w.flush=function(){return void 0===p?d:j(n())},w}},850154,(e,a,t)=>{var l=e.r(971640);a.exports=function(){return l.Date.now()}},889695,(e,a,t)=>{var l=e.r(593460),n=e.r(377882),r=e.r(983631),i=0/0,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;a.exports=function(e){if("number"==typeof e)return e;if(r(e))return i;if(n(e)){var a="function"==typeof e.valueOf?e.valueOf():e;e=n(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;e=l(e);var t=s.test(e);return t||u.test(e)?c(e.slice(2),t?2:8):o.test(e)?i:+e}},865935,e=>{"use strict";var a=e.i(389959);let t=(0,a.createContext)(null);e.s(["default",0,t,"useAuthorList",0,()=>{let e=(0,a.useContext)(t);return e&&e.authorList||null},"useCategoryList",0,()=>{let e=(0,a.useContext)(t);return e&&e.categoryList||null}])},251961,e=>{"use strict";let a={argumentDefinitions:[{defaultValue:!1,kind:"LocalArgument",name:"skipBlocks"},{defaultValue:!1,kind:"LocalArgument",name:"skipStreams"}
2],kind:"Fragment",metadata:null,name:"ContentCardContainer_contentResource",selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{args:[{kind:"Variable",name:"skipBlocks",variableName:"skipBlocks"},{kind:"Variable",name:"skipStreams",variableName:"skipStreams"}],kind:"FragmentSpread",name:"useContentCardDataMapper_contentResource"},{args:null,kind:"FragmentSpread",name:"QuickPostContainer_contentResource"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"template",storageKey:null}],type:"PostResourceType",abstractKey:null}],type:"ContentResourceInterface",abstractKey:"__isContentResourceInterface"};a.hash="5cb91e66ce3a8a46f591f54f6346805d",e.s(["default",0,a])},668885,e=>{"use strict";var a=e.i(251961),t=e.i(389959),l=e.i(434937),n=e.i(410186),r=e.i(556591),i=e.i(608439);e.i(271832);var o=e.i(466518);e.i(571350);var s=e.i(226338),u=e.i(67655),c=e.i(478902);let d=["PackageResourceType","customStory"],p=(0,t.memo)(({contentResource:e,firstChild:t,gaComponentName:p,lastChild:m,showBorderOnLastContentCard:g=!1,componentContext:k,ignoreTemplate:h,customContentCardPropsForResource:f})=>{let y,v,{communityConfig:_}=(0,i.useConfigContext)(),j=(0,l.useFragment)((a.default.hash&&"5cb91e66ce3a8a46f591f54f6346805d"!==a.default.hash&&console.error("The definition of 'ContentCardContainer_contentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),a.default),e),[w]=(0,r.default)([j],f);if("QuickPostResourceType"===j.__typename)return(0,c.jsx)(n.default,{contentResource:j,compact:h,gaComponentName:p,contentCardComponentContext:k});if(!w)return null;let C={gaComponentName:p,firstChild:t,lastChild:m,showBorderOnLastContentCard:g,componentContext:"linkPost"===w.contentType?(y=new URL(w.permalink),v=new URL(_.communityOrigin),(0,u.getDomainApex)(y.hostname)===(0,u.getDomainApex)(v.hostname))?`${k}CrossCommunityPost`:`${k}LinkPost`:k};return(d.includes(w.contentType)&&"river"===k||j.template&&!h)&&!w.adFlag?(0,c.jsx)(s.default,{...w,...C}):(0,c.jsx)(o.default,{...w,...C})});e.s(["default",0,p])},659899,e=>{"use strict";e.i(668885),e.s([])},299438,541840,403570,e=>{"use strict";let a={argumentDefinitions:[{defaultValue:!1,kind:"LocalArgument",name:"skipBlocks"},{defaultValue:!1,kind:"LocalArgument",name:"skipStreams"}],kind:"Fragment",metadata:null,name:"ContentCardRiverContainer_posts",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{args:[{kind:"Variable",name:"skipBlocks",variableName:"skipBlocks"},{kind:"Variable",name:"skipStreams",variableName:"skipStreams"}],kind:"FragmentSpread",name:"ContentCardContainer_contentResource"}],storageKey:null}],type:"FeedContentResourceInterfaceConnection",abstractKey:"__isFeedContentResourceInterfaceConnection"};a.hash="35dd5f08f9e36c28a595896b1f1b0555";var t=e.i(434937);e.i(659899);var l=e.i(668885);e.i(663298);var n=e.i(921390),r=e.i(478902),i=e.i(197649),o=e.i(599901),s=e.i(874766),u=e.i(962973);let c=()=>(0,r.jsx)("div",{className:(0,i.default)(u.SELECTORS.NativeAdContentLink,"hidden",s.cardLayoutBase,o.mobileFullWidthContentCard,o.backgroundColor),"data-native-ad-id":"container",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"visually-hidden",children:(0,r.jsx)("div",{className:"dynamic-native-ad-native_ad_content_link"})}),(0,r.jsx)("a",{href:"/","aria-label":"Native Ad Placement",children:(0,r.jsxs)("div",{className:(0,i.default)(o.container),children:[(0,r.jsxs)("div",{className:(0,i.default)(o.textColumn),children:[(0,r.jsxs)("div",{className:(0,i.default)(o.labelWrapper.nativeAdContentLink),children:[(0,r.jsx)("span",{"data-native-ad-id":"preamble",className:(0,i.default)(o.label,o.labelMarginRight),children:"Advertiser Content From"}),(0,r.jsx)("div",{className:(0,i.default)(o.logoContainer),children:(0,r.jsx)("img",{"data-native-ad-id":"logo",src:"",alt:"Sponsor Logo",className:(0,i.default)(o.logo)})})]}),(0,r.jsx)("p",{className:(0,i.default)(o.headline),"data-native-ad-id":"title",children:"This is the title for the native ad"})]}),(0,r.jsx)("div",{className:(0,i.default)(o.thumbnailColumn),children:(0,r.jsx)("div",{className:(0,i.default)(s.imageAspectRatio.squareMobile,s.imageContainerBase,s.imageBorderRadius),children:(0,r.jsx)("img",{"data-native-ad-id":"thumbnail",src:"",alt:"Sponsor thumbnail",className:(0,i.default)(o.thumbnail)})})})]})})]})},"native-ad-content-link"),d=({nodes:e,gaComponentName:a,layout:t,componentContext:i="river",nativeAdContentLinkPlacement:o,renderNativeAdContentLink:s=!0,showBorderOnLastContentCard:u=!1,customContentCardPropsForResource:d,mediumRectangleRiverAfterCardPositions:p})=>(0,r.jsx)("div",{children:e.map((m,g)=>{let k=[];"homepage"===t&&"categoryRiver"===a&&g===o&&s&&k.push((0,r.jsx)(c,{},"native-ad-link")),k.push((0,r.jsx)(l.default,{contentResource:m,firstChild:0===g,gaComponentName:a,lastChild:g===e.length-1,showBorderOnLastContentCard:u,componentContext:i,customContentCardPropsForResource:d},g));let h=g+1;return p?.includes(h)&&k.push((0,r.jsx)(n.default,{adType:"rightRailNetworkRiverInline"},`right-rail-medium-rectangle-river-after-card-${h}`)),k})});e.s(["default",0,d],541840),e.s(["default",0,({posts:e,gaComponentName:l,layout:n,nativeAdContentLinkPlacement:i,skipPostsCount:o=0})=>{let{nodes:s}
2=(0,t.useFragment)((a.hash&&"35dd5f08f9e36c28a595896b1f1b0555"!==a.hash&&console.error("The definition of 'ContentCardRiverContainer_posts' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),a),e),u=s.slice(o);return(0,r.jsx)(d,{nodes:u,gaComponentName:l,layout:n,nativeAdContentLinkPlacement:i})}],403570),e.s([],299438)},556591,e=>{"use strict";let a=(t={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"wpId",storageKey:null},r=[{alias:null,args:null,kind:"ScalarField",name:"html",storageKey:null}],i={alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},s=[o={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null}],u={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"headline",storageKey:null},m={alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:p=[{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:d=[{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:d,storageKey:null}],storageKey:null}],storageKey:null},k={alias:null,args:null,kind:"ScalarField",name:"template",storageKey:null},h=[g={alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[l,i,{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"shortBio",plural:!0,selections:r,storageKey:null}],storageKey:null}],{argumentDefinitions:[{defaultValue:!1,kind:"LocalArgument",name:"skipBlocks"},{defaultValue:!1,kind:"LocalArgument",name:"skipStreams"}],kind:"Fragment",metadata:{plural:!0},name:"useContentCardDataMapper_contentResource",selections:[t,l,n,{alias:null,args:null,kind:"ScalarField",name:"globalId",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:"resourceType",storageKey:null},{alias:null,args:null,concreteType:"ResolvedResourceSiteDataType",kind:"LinkedField",name:"site",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"isCrossCommunity",storageKey:null},n],storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"dek",plural:!1,selections:r,storageKey:null},i,o,{alias:null,args:null,kind:"ScalarField",name:"publishedAt",storageKey:null},{alias:null,args:null,concreteType:"AuthorProfileResourceType",kind:"LinkedField",name:"authors",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"primaryCategory",plural:!1,selections:s,storageKey:null},{alias:null,args:null,concreteType:"CategoryResourceType",kind:"LinkedField",name:"categories",plural:!0,selections:[l,o,u],storageKey:null},{alias:null,args:null,concreteType:"InternalCategoryResourceType",kind:"LinkedField",name:"internalCategories",plural:!0,selections:[u],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"liveBadge",storageKey:null},{alias:null,args:null,concreteType:"PackageResourceType",kind:"LinkedField",name:"package",plural:!1,selections:[i,o,{alias:null,args:null,concreteType:"PromoDataType",kind:"LinkedField",name:"promo",plural:!1,selections:[c],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"PromoDataType",kind:"LinkedField",name:"promo",plural:!1,selections:[c,{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"description",plural:!1,selections:r,storageKey:null},m],storageKey:null},{alias:null,args:null,concreteType:"CampaignResourceType",kind:"LinkedField",name:"primaryCampaign",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"advertiserName",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"advertiserPreamble",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"ledeMedia",plural:!1,selections:[t,{kind:"InlineFragment",selections:[m],type:"LedeMediaImageType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"VolumeVideoResourceType",kind:"LinkedField",name:"video",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"volumeUuid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"player",storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"poster",plural:!1,selections:p,storageKey:null}],storageKey:null}],type:"LedeMediaVideoType",abstractKey:null}],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},{condition:"skipStreams",kind:"Condition",passingValue:!1,selections:[{alias:null,args:[{kind:"Literal",name:"first",value:1}],concreteType:"FeedContentStreamsConnection",kind:"LinkedField",name:"streams",plural:!1,selections:[{alias:null,args:null,concreteType:"StreamResourceType",kind:"LinkedField",name:"nodes",plural:!0,selections:s,storageKey:null}],storageKey:"streams(first:1)"}]},{condition:"skipBlocks",kind:"Condition",passingValue:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"blocks",plural:!0,selections:[t,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"ProductBlockProductType",kind:"LinkedField",name:"product",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"score",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"showScores",storageKey:null}],storageKey:null}],type:"ProductBlockType",abstractKey:null}],storageKey:null}]},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"customBadgeEnabled",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"customBadgeName",storageKey:null},g,k],type:"PostResourceType",abstractKey:null},{kind:"InlineFragment",selections:h,type:"VideoPostResourceType",abstractKey:null},{kind:"InlineFragment",selections:h,type:"MapResourceType",abstractKey:null},{kind:"InlineFragment",selections:[g,{alias:null,args:null,kind:"ScalarField",name:"authorByLine",storageKey:null}],type:"LinkPostResourceType",abstractKey:null},{kind:"InlineFragment",selections:h,type:"VaultResourceType",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"streamPublishedAt",storageKey:null}],type:"StreamResourceType",abstractKey:null},{kind:"InlineFragment",selections:[g,k],type:"DiningReportResourceType",abstractKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"});a.hash="747aa8673c07c597992bc19de8b948d3";var t,l,n,r,i,o,s,u,c,d,p,m,g,k,h,f=e.i(434937),y=e.i(346559),v=e.i(470672),_=e.i(608439),j=e.i(671238),w=e.i(968779);let C=v.FEED_CONTENT_RESOURCE_TYPES.filter(e=>"QuickPostResourceType"!==e);e.s(["default",0,(e,t)=>{let l=(0,f.useFragment)((a.hash&&"747aa8673c07c597992bc19de8b948d3"!==a.hash&&console.error("The definition of 'useContentCardDataMapper_contentResource' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),a),e),n=(0,_.useConfigContext)().crossPostConfig,r=(0,j.useIsCycloneCommentsProvider)()?"cyclone":"coral";return(0,w.filterByTypenames)([...l],C).map(e=>{let a=(({cardData:e,crossPostConfig:a})=>{let{__typename:t,authors:l,authorByLine:n,blocks:r,categories:i,chorusId:o,chorusUuid:s,comments:u,globalId:c,id:d,ledeMedia:p,liveBadge:m,package:g,permalink:k,primaryCampaign:h,primaryCategory:f,promo:y,publishedAt:v,streamPublishedAt:_,resourceType:j,site:w,streams:C,template:F,wpId:q}=e,T="LinkPostResourceType"===t&&a?(({link:e,crossPostConfig:a})=>{let t=new URL(e),l=a.find(e=>e.host===t.host.replace("www.","")&&(!e.path||t.pathname.startsWith(e.path)));return l?{crossPostSource:l.name,crossPostUrl:l.url}:{}})({link:k,crossPostConfig:a}):{},S="PostResourceType"===t?e.customBadgeEnabled:null,b="PostResourceType"===t&&e.customBadgeName?.trim()||void 0,x=r?.filter(e=>"ProductBlockType"===e.__typename&&e.product.showScores),L=x?.length===1?x[0]:void 0;return{adFlag:!!h?.advertiserName,advertiserName:h?.advertiserName,advertiserPreamble:h?.advertiserPreamble,authorByLine:n,authors:"LinkPostResourceType"===t?[]:l.map(e=>({name:e.name})),comments:u,...u.enabled&&"standard"===u.mode?{commentUrl:`${k}#comments`}:{},dek:y.description.html,chorusId:o,chorusUuid:s,contentType:j,permalink:k,id:d,wpId:q,globalId:c,category:f.title,headline:y.headline,mediaVariation:"PackageResourceType"===t||"StreamResourceType"===t||L?.product.score||p?.__typename!=="LedeMediaVideoType"?i.some(e=>"podcasts"===e.slug)?"podcast":null:"video",thumbnails:{horizontal:y.image?.thumbnails.horizontal.url||null,square:y.image?.thumbnails.square.url||null},live:S??m,liveBadgeName:b,packageName:g?.promo.headline,packageUrl:g?.permalink,postTemplate:F?`${F}`:void 0,timestamp:_||v||void 0,score:L?.product.score,site:w,streamName:C?.nodes[0]?.title,...T}})({cardData:e,crossPostConfig:n}),l=t?t(e,a):a;return l.comments.enabled&&"standard"===l.comments.mode?{...l,commentCountId:(0,y.getCommentCountId)({chorusId:e.chorusId,chorusUuid:e.chorusUuid,globalId:e.globalId,nodeId:e.id},r)}:l})}],556591)},571350,226338,e=>{"use strict";var a=e.i(478902),t=e.i(197649),l=e.i(860303),n=e.i(566544);e.i(55336);var r=e.i(183821);e.i(865898);var i=e.i(731191),o=e.i(452914);e.i(116032);var s=e.i(545198);e.i(162228);var u=e.i(303460),c=e.i(564182),d=e.i(278012),p=e.i(713363),m=e.i(867563),g=e.i(79878),k=e.i(641824),h=e.i(970060),f=e.i(476299),y=e.i(210982),v=e.i(714060),_=e.i(666308),j={one:"up4voob",two:"up4vooc",three:"up4vood",four:"up4vooe",five:"up4voof"},w={one:"up4vooh up4voog",two:"up4vooi up4voog",three:"up4vooj up4voog",four:"up4vook up4voog",five:"up4vool up4voog"},C={square:"up4voom",squareLarge:"up4voon",semiWide:"up4vooo",wide:"up4voop",fourThree:"up4vooq"},F={default:"up4voor",river:"up4voos",categoryPillar:"up4voot",none:"up4voou",container:"up4voov"};e.s(["default",0,e=>{let{componentContext:q="river"}=e,T=(0,p.combineComponentContexts)(["prominentContentCard",q]),S=(0,p.useComponentConfig)("prominentContentCard",q),b=(0,y.useAnalytics)(),{metadata:x}=(0,d.useAnalyticsEventMetadataContext)(),{placeholderImageUrl:L}=(0,v.useGlobalDataContext)().siteSettings,{adFlag:R,advertiserName:K,advertiserPreamble:O,authors:N,authorByLine:P,category:M,chorus
2Id:E,chorusUuid:A,className:I,commentCountId:B,commentUrl:U,comments:V,contentBlockSize:D,contentBlockVariation:W,contentType:H,coverLink:$,crossPostSource:z,dek:G,dekClassName:Y,extraContentBlockStyles:Q,extraImageStyles:Z,gaComponentName:J,globalId:X,headline:ee,headlineClassName:ea,id:et,imageAspectRatio:el,imageTreatment:en,imageOverlay:er,imageSquareSizes:ei,lastChild:eo,live:es,liveBadgeName:eu,lowerMetaFirstComponent:ec,lowerMetaSecondComponent:ed,lowerMetaThirdComponent:ep,mediaIconInset:em,mediaVariation:eg,mediaVariationIconPlacement:ek,metaVariation:eh,overlap:ef,overlapStyle:ey="default",packageName:ev,permalink:e_,postTemplate:ej,priorityImage:ew,score:eC,showAuthorBy:eF,showCommentCallout:eq,showBorder:eT,showBorderOnLastContentCard:eS,borderVariant:eb="prominent",showDek:ex,showScore:eL,site:eR,streamName:eK,thumbnails:eO,timestamp:eN,upperMetaFirstComponent:eP,upperMetaSecondComponent:eM,upperMetaThirdComponent:eE,logo:eA,imagePosition:eI,imageLeftTablet:eB}=(0,k.default)(e,S),eU=eP;void 0===eU&&(eU=R?"ContentBlockAdvertiserFlag":"map"===H?"ContentBlockMap":ev?"ContentBlockPackage":z&&!eR?.isCrossCommunity?"ContentBlockCrossPost":es?"LiveBadge":"Category");let eV=(0,a.jsx)("div",{className:(0,t.default)(ef&&F[ey||"default"]),children:(0,a.jsx)("div",{className:Q||"up4voo6",children:(0,a.jsx)(l.default,{adFlag:R,advertiserName:K,advertiserPreamble:O,authorByLine:P,authors:N,category:M,chorusId:E,chorusUuid:A,commentCountId:B,commentUrl:U,componentContext:T,contentBlockSize:D,contentBlockVariation:W,contentType:H,coverLink:$,crossPostSource:z,dek:G,dekClassName:Y,gaComponentName:J,globalId:X,headline:ee,headlineClassName:ea,id:et,live:es,liveBadgeName:eu,lowerMetaFirstComponent:ec,lowerMetaSecondComponent:ed,lowerMetaThirdComponent:ep,mediaVariation:eg,mediaVariationIconPlacement:ek,metaVariation:eh,packageName:ev,permalink:e_,postTemplate:ej,showAuthorBy:eF,showDek:ex,site:eR,streamName:eK,timestamp:eN,upperMetaFirstComponent:eU,upperMetaSecondComponent:eM,upperMetaThirdComponent:eE})})}),eD="square"===el?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.default,{src:eO?.horizontal||L.horizontal,alt:ee,priority:!!ew,sizes:"100vw",className:h.sharedStyles.layout.hideTabletPlus}),(0,a.jsx)(r.default,{src:eO?.square||L.square,alt:ee,priority:!!ew,sizes:ei||"250px",className:h.sharedStyles.layout.showTabletPlus})]}):(0,a.jsx)(r.default,{src:eO?.horizontal||L.horizontal,alt:ee,priority:!!ew,sizes:"(max-width: 768px) 100vw, (max-width: 1180px) 50vw, 640px"}),{generateContentCardAttributes:eW}=(0,m.useContentCardAttributeContext)();return(0,a.jsxs)("div",{className:(0,t.default)(c.default.ContentCard,eT&&(!eo||eS)?"standard"===eb?"up4voo5 up4voo3":"up4voo4 up4voo3":"",eB?"up4voo2 up4voo0":"up4voo1 up4voo0",$?h.sharedStyles.contentCard.coverLinkContentCardContainer:h.sharedStyles.contentCard.contentCardContainer,I),...(0,g.useDataAttributes)(e),...eW(e),children:["imageBelow"===eI&&eV,eA,(0,a.jsxs)("div",{className:(0,t.default)(eB?"up4voo9 up4voo7":"up4voo8 up4voo7",C[el],en&&j[en],er&&w[er],!en&&!er&&"up4vooa",o.thumbnailContainerContext,Z),children:[$?eD:(0,a.jsx)(u.default,{href:e_,hrefSiteData:eR,className:h.sharedStyles.contentCard.thumbnailLink,onClick:e=>{b?.emit({event:"article_click",article_click:{article_component_name:J,article_uri:e_,article_title:ee,author:N[0]?.name,page_type:(0,_.getPageType)(H,!!ej),position:(0,f.getContentCardPosition)(e.currentTarget),...x}})},children:eD}),eg&&"thumbnail"===ek&&(0,a.jsx)(i.default,{placement:"thumbnail",variation:eg,inset:em}),eC&&eL&&(0,a.jsx)(n.default,{score:eC}),V?.enabled&&eq&&B&&(0,a.jsx)(s.default,{countId:B})]}),"imageAbove"===eI&&eV]})}],226338),e.s([],571350)},258175,657880,e=>{"use strict";var a=e.i(478902),t=e.i(197649);e.i(444461);var l=e.i(33703),n=e.i(962973),r=e.i(713363),i=e.i(741490),o=e.i(641824);let s=(0,i.withGracefulErrorBoundary)(e=>{let i=(0,r.useComponentConfig)("river",e.componentContext||""),{className:s,header:u,headerSize:c,indent:d,borderBottom:p,borderTop:m,createContainerContext:g,headingLevel:k,headerClassName:h,headerTitleClassName:f,innerContainerClassName:y}=(0,o.default)(e,i);return(0,a.jsxs)("div",{className:(0,t.default)(n.SELECTORS.River,"x96f282",g&&"x96f281",s),children:[u&&(0,a.jsx)(l.default,{headingLevel:k,size:c,title:u,borderBottom:p,borderTop:m,classNameTitle:f,className:h}),(0,a.jsx)("div",{className:(0,t.default)(d&&"x96f283",y),children:e.children})]})},{context:"RiverErrorBoundary"});e.s(["default",0,s],657880),e.s([],258175)},961026,e=>{"use strict";e.s(["BREAKPOINTS",0,{mobile:0,productCard:335,productCardDesktop:550,river:700,narrowRiver:600,tablet:768,navigation:901,desktop:1180}])},666308,e=>{"use strict";e.s(["getPageType",0,(e,a)=>"post"===e&&a?"feature":"post"===e?"story":"quickPost"===e?"quick_post":e])},733577,e=>{"use strict";e.s(["isMobileOrTabletUserAgent",0,()=>/BlackBerry|webOS|iPhone|IEMobile|Android|Windows Phone|iPad|iPod/i.test(window.navigator.userAgent),"isMobileWidth",0,()=>{let e;return 90===(e=!!window.screen.orientation&&window.screen.orientation.angle||window.orientation||0)||270===e||window.screen.height<window.screen.width?window.screen.height<768:window.screen.width<768},"isTouchDevice",0,()=>"ontouchstart"in window||window.navigator.maxTouchPoints>0])}]);
3
4//# debugId=9e16315f-c479-fb79-619b-36970885fb70
5//# sourceMappingURL=3s42twv0fr8n_.js.map

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.