',this.convoEl=this.convoWrapper.querySelector(`.${this.baseClass}__placeholder`),t?t.parentNode.insertBefore(this.convoWrapper,t):(this.convoWrapper.classList.remove(e),this.el.appendChild(this.convoWrapper))};insertAd=()=>{let t=document.createElement("div");t.classList.add(`${this.baseClass}__ad`),t.setAttribute("data-openweb-ad",""),t.setAttribute("data-row",1),t.setAttribute("data-column",1);let e=document.querySelector(".layout-with-rail__rail");if(this.isMobileView||!e){let e=this.convoWrapper.querySelector(`.${this.baseClass}__placeholder`);this.convoWrapper.insertBefore(t,e)}else e.appendChild(t)};init=async()=>{this.SSOEnabled&&await this.setupSSO(),document.addEventListener("spot-im-conversation-viewed",()=>{this.trackAnalytics({interaction:"module load",componentName:"commenting module",componentStellarId:this.el.dataset?.uri||""})}),document.addEventListener("spot-im-show-more-comments-clicked",()=>{this.trackAnalytics({interaction:"commenting:load more comments"})}),document.addEventListener("spot-im-current-user-sent-message-succeed",t=>{let{detail:{message_type:e}}=t;this.trackAnalytics({interaction:`commenting:message success:${"comment"===e?"post":"reply"}`})}),document.addEventListener("spot-im-user-up-vote-click",()=>{this.trackAnalytics({interaction:"commenting:upvote comment"})}),document.addEventListener("spot-im-user-down-vote-click",()=>{this.trackAnalytics({interaction:"commenting:downvote comment"})}),document.addEventListener("ow-open-custom-user-profile",()=>{window.location.assign("/account/settings")}),this.openwebCommentCounter=new c({ssoEnabled:this.SSOEnabled,convoEl:this.convoEl,convoAboveOBR:this.convoAboveOBR,convoWrapper:this.convoWrapper,ctaTracking:this.trackAnalytics,isMobileView:this.isMobileView}),await this.openwebCommentCounter.init(),this.adEnabled&&r(()=>{this.insertAd()})};setupSSO=async()=>{let{registerRedirect:t,loginRedirect:e}=this.el.dataset;document.addEventListener("spot-im-signup-start",()=>{let t=this.redirectClient.appendParams({targetUrl:O(e||"/account/log-in/commenting"),customParams:{redirect:window.location.pathname}});window.location.assign(t)}),document.addEventListener("spot-im-login-start",()=>{let e=this.redirectClient.appendParams({targetUrl:O(t||"/account/register/commenting"),customParams:{redirect:window.location.pathname}});window.location.assign(e)}),document.addEventListener("spot-im-api-ready",()=>{this.spotIM=window.SPOTIM}),i.tokenWithAuthn()?(document.addEventListener("spot-im-renew-sso",this.startOWSSO,!1),window.SPOTIM?.startSSO?await this.startOWSSO():document.addEventListener("spot-im-api-ready",this.startOWSSO,!1),document.addEventListener("spot-im-user-logout",()=>{i.tokenWithAuthn()&&(S(v.LOGOUT_SUCCESS),y({type:"user-account",data:{action:"logout_success",component:"openweb-convo",method:"spotImEventListener_user-logged-out"}}))})):this.logoutOW(),w(v.LOGOUT_SUCCESS,()=>{this.logoutOW()})};startOWSSO=async()=>{let t=async(t,e)=>{try{let{data:s}=await i.openwebSSO({codeA:t},i.getToken());e(s.codeB)}catch(t){a("error","Error starting OpenWeb SSO",t),e(null,t);return}};try{await this.spotIM?.startSSO({callback:t,userId:i.getStoredUID()})}catch(t){a("error","Error starting OpenWeb SSO",t)}};logoutOW=()=>{this.spotIM&&this.spotIM.logout?this.spotIM.logout():document.addEventListener("spot-im-api-ready",()=>{this.spotIM.logout()},!1)};trackAnalytics=t=>{try{y({type:"user-interaction",data:t})}catch(t){a("error","Could not track metrics",t)}};formatPostId=t=>t?t.replace(/=/g,""):""}let _=()=>{window.__SPOTIM_ADS_DISABLED__=!0,window.__SPOTIM_DISABLE_ADS__&&window.__SPOTIM_DISABLE_ADS__()},I=()=>{if(p(u.UNDERSCORED)){_();return}o({[n.FOCUS_MODE]:_})};t.exports=async t=>{I();let e="true"===t.dataset.showModule||window.optimizelyTest?.showCommentModule;if(h("US")&&window.WM.UserConsent.inUserConsentState(["iab","data-share","data-sell","data-store","ads-contextual","ads-person-prof","ads-person","measure-ads","product-develop"])&&e){let e=new C(t);await e.init()}}},"user-account-reg-wall.client":(t,e,s)=>{let{authClient:i}=s("21"),{zionEventHandler:o}=s("19"),{trackMetrics:n}=s("10"),{suppressToasts:a,getUrlObj:l}=s("22"),{defaultManageWallVisibility:c}=s("87"),{smallMaxWidthListener:r}=s("9"),d=s("formfield-radio-buttons.client"),{actions:h,subscribe:p}=s("36"),{RADIO_BUTTONS:u}=h;class m{constructor(t,e=t=>()=>c(t)()){this.el=t,this.manageWallVisibility=e,this.class="user-account-reg-wall",this.componentType="regwall",this.hideClass=`${this.class}--hide`,this.open=!1}init=()=>{this.userIsLoggedIn=i.tokenWithAuthn();let{source:t,componentId:e,componentName:s,dismissible:o,componentStellarId:a,interactionBase:c,wallCount:r,wallMax:h}=this.el.dataset;this.componentId=e,this.source=t,this.wallCount=r??1,this.wallMax=h??1,this.signUpBtn=this.el.querySelector("#regwall-cta-btn"),this.signInLink=this.el.querySelector("#regwall-cta-link"),this.tooltip=this.el.querySelector(`.${this.class}__info`),this.componentName=s,this.componentStellarId=a,this.interactionBase=c,this.dismissible=o,this.wallCountAnalyticsValue=this.wallCount?`:${this.wallCount}`:"";let m=document.querySelector(this.class);m&&m.remove(),this.el.querySelector(`.${this.class}__content`).addEventListener("click",t=>{let e=t.target,s=e===this.signInLink;(s||e===this.signUpBtn)&&n({type:"user-interaction",data:{interaction:`${this.interactionBase}:${s?"sign in":"sign up"}${this.wallCountAnalyticsValue}`}})},!0),this.tooltip?.addEventListener("mouseover",()=>{n({type:"user-interaction",data:{interaction:`${this.interactionBase}:what-is-this${this.wallCountAnalyticsValue}`}})}),o&&this.el.querySelectorAll(`.${this.class}__dismiss, .${this.class}__overlay`).forEach(t=>t.addEventListener("click",()=>{this.handleClose()}));let S="formfield-radio-buttons",w=this.el.querySelector(`.${S}`);if(w&&(d(w),this.signUpBtn)){let t=w.querySelector(`.${S}__option--selected .${S}__option-input`)?.value||"",e=l(this.signUpBtn.href);e.pathname="/account/payment/subscription";let s=t=>{t&&(e.searchParams.set("selected",t),this.signUpBtn.href=e.toString())};s(t),p(u.SELECTED,({selectedItem:t})=>{s(t?.querySelector(".formfield-radio-buttons__option-input")?.value)})}this.manageWallVisibility?.(this.showWall)()};triggerZionTracking=()=>{o({component_id:this.componentId,component_type:"banner",traits:{source:this.source}},"ComponentOnScreen")};restrictView=()=>{this.updateInitialOverflow(),document.documentElement.style.overflow="hidden",r(t=>{t&&!this.dismissible&&(document.body.style.overflow="hidden",document.body.style.position="static",document.body.style.height="100vh")}),this.istyle=document.createElement("style"),this.istyle.type="text/css",this.istyle.id="cnnrwhideiframe",this.istyle.appendChild(document.createTextNode(".obp-rec { display: none !important; }")),document.head.appendChild(this.istyle)};showWall=()=>{this.open||(a(),this.handleOpen(),this.restrictView(),this.triggerZionTracking(),n({type:"user-interaction",data:{interaction:"module load",componentStellarId:this.componentStellarId,componentViewCount:this.wallCount,componentName:this.componentName,componentType:this.componentType}}))};handleOpen=()=>{this.el.classList.remove(this.hideClass),this.open=!0};handleClose=()=>{n({type:"user-interaction",data:{interaction:`${this.componentType}:${this.componentName}:dismiss${this.wallCountAnalyticsValue}`}}),this.el.classList.add(this.hideClass),this.open=!1,document.getElementById(this.istyle.id)?.remove(),document.documentElement.style.overflowX=this.initialOverflowX,document.documentElement.style.overflowY=this.initialOverflowY,r(t=>{t&&!this.dismissible&&(document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.height="unset")})};updateInitialOverflow=()=>{this.initialOverflowX=document.documentElement.style.overflowX,this.initialOverflowY=document.documentElement.style.overflowY}}t.exports=(t,e)=>{let s=new m(t,e);return s.init(),s}}},t=>{var e=e=>t(t.s=e);t.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","2207","549","2040","3041","92","1639","2987","2213","2986","477","125","317","644","2051","478","496","32","495","435","489","11","432","221","80","534","433","470","36","532","108","2010","81","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","68","486","485","2056","2057","9","93","19","6","475","22","474","74","59","494","49","436","1794","50","45","2","472","481","2042","90","2043","488","491","487","493","492","87","2328","1804","3033","2327","430","23","195","521","250","278","1802","2436","2437","2438","1853","1803","2326","196"],()=>e("openweb-convo.client"));var s=t.O();(modules=void 0===modules?{}:modules)["openweb-convo.client"]=s}]);
/* window.modules["timestamp.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["timestamp.client"],{"timestamp.client":(e,t,s)=>{let{ClientModel:a,initializeOnExec:i}=s("36"),{formatLastUpdatedElevate:l}=s("91"),{getSite:n}=s("92");e.exports=i(class extends a{constructor(e){if(super(e),window.CNN.isElevated){let t=e.querySelector(".timestamp__time-since"),s=l(t.dataset.firstPublish,t.dataset.lastPublish,n(window.CNN.contentModel)),a=document.createElement("span");a.className="timestamp__expand-btn",t.innerHTML=s,t.insertAdjacentElement("afterend",a),e.addEventListener("click",()=>e.classList.add("timestamp-elevate--expanded"),{once:!0})}}})}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","437","1811","1870","82","2040","3041","92","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","432","221","80","534","433","36","532","108","2010","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","305","458","2056","2057","4747","4210","5149","5150","5154","5155","4737","1831","355","1823","354","4333","4851","531","91","4727","4803","2597","2889","2950","2930","2790","2899","2624","2622","2969","2800","2610","4885","2933","2738","2600","4804","2611","2925","2788","2928","2837","2728","2910","2814","2802","4806","2894","2929","2798","2939","2938","2934","2783","4763","2953","2612","2804","2739","2822","2970","2799","2826","2740","2915","2696","4812","2892","2838","2794","2718","2733","2643","2729","4838","2778","2758","4845","2913","2793","2660","4809","2907","2948","2601","2955","2591","2893","2867","2759","2823","2868","2977","2993","2982","2576","2655","2653","2590","2734","4829","2650","2623","2824","2959","4810","2897","2682","2596","2694","2785","2659","2571","2949","2691","2595","2842","2914","2903","2627","2827","2628","2605","2581","2586","4943","2763","2575","2743","2898","2585","2570","2580","2789","2615","2965","2819","2744","484","2918","2944","2582","2577","2567","2644","2606","2878","2654","2818","2833","2719","2754","2883","2648","2564","2681","2923","2848","4778","2724","2888","2572","2769","2616","2864","2701","2808","2774","2882","2768","2649","2592","2706","2919","2764","2853","2873","2784","2685","2908","2978","2994","2983","2960","2847","2843","4805","2924","2773","2749","4964","2817","2686","2877","2887","4928","2902","2858","2863","2690","2943","2566","2714","4783","2723","4768","2834","2779","2700","4877","2809","2748","2619","2705","2697","2753","4834","4930","4756","2730","2964","4835","4942","4904","2832","4766","4775","4774","4767","4883","4963","4800","2715","2857","2862","4920","4779","2680","2852","2872","4780","2735","2713","2607","2935","2780","4777","2725","4782","4935","4824","2604","4891","4886","2920","2869","2656","2602","2775","4860","4887","2640","4811","2599","2829","2945","2891","4781","4772","4790","2844","2961","2755","4755","4794","2831","2677","4880","2896","2692","4969","2765","4859","2562","2849","2760","2587","4769","2940","2770","2687","2668","2952","2702","2874","4836","4870","2866","2854","2859","4771","2884","4855","2839","2720","2879","2966","2904","4787","2710","2645","2745","2990","2979","2971","2956","2750","2805","4939","4825","4856","4788","4823","2792","4933","4773","4950","2772","4776","4853","4882","4858","4857","4934","4764","4854","4758","4940","4791","4757","4972","4973","4971","4759","4789","4760","4968","2795","4976","4974","4944","2159","4761","4936","4762","4967","4865","4931","2183","4929","2177","4869","2143","4866","4953","4941","4938","4797","2097","4873","2122","4864","4816","4906","4868","4817","4861","4867","4879","4881","4878","4932","2140","2093","4871","2121","4949","2162","2160","2096","4884","4896","4965","4945","4793","4821","4822","4813","4802","2472","2172","2158","2142","444","2828","2726","2138","2185","4954","4952","2801","2967","4951","2165","2119","4796","2136","4795","2149","2114","2094","2182","2104","2176","4948","2736","2101","4792","2083","2895","2164","2125","2137","4826","2179","2152","2091","2090","2168","2154","2098","2163","2141","2089","4850","2529","2166","2099","2145","2157","2120","2815","2651","2926","4820","2100","4847","2912","2113","2084","4876","2102","2103","4833","4832","4815","4889","2976","2144","2085","2161","4831","4828","4890","4814","2123","2086","2148","2181","2088","2151","2128","2118","2184","2171","2092","2153","2124","2170","2155","2117","2931","4888","2126","2147","2116","2139","2082","2175","2180","2167","2174","4818","2095","2169","2178","2156","2146","2127","4827","2614","2901","4875","2936","4872","4862","4895","4927","2115","4874","2835","4919","2917","2742","4863","4848","4966","2688","2875","4801","2825","4962","2573","2608","4921","2880","4852","2781","4840","2786","2588","4799","4892","2796","2669","2583","2578","2568","2674","2911","2951","2946","2676","2675","2666","2641","2620","2991","2980","2975","2916","2613","2905","2716","2885","2731","2721","2693","2673","2563","2806","2756","2746","2870","2850","2820","2766","2646","2625","2741","2683","2941","2840","2761","2087","2921","2593","4897","2845","2707","2698","2855","2860","2711","2703","2708","2776","2657","2900","2865","2751","4955","2771","4798","4770","4846","4893","4917","4841","4915","4909","4916","4918","4914","4908","4907","4894","2678","2791","4905","2890","2598","2830","2603","4902","4900","4979","2957","2962","4903","4844","4842","4901","4899","4898","4978","4977","4348","2752","2816","2658","2626","2621","2722","2881","2797","2689","2927","2727","2932","2574","2609","2836","2937","2709","2594","2803","2584","2579","2569","2782","2787","2589","2942","2704","2762","2767","2679","2652","2737","2968","2777","2757","2807","2732","2947","2963","2565","2841","2717","2695","2684","2747","2699","2846","2647","2886","2876","2851","2871","2856","2958","2906","2861","2712","2922","2642","2992","2981","2821","5148"],()=>t("timestamp.client"));var s=e.O();(modules=void 0===modules?{}:modules)["timestamp.client"]=s}]);
/* window.modules["paragraph.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["paragraph.client"],{"paragraph.client":(a,e,l)=>{let{initProductClickEventListener:r}=l("194");a.exports=a=>{r(a)}}},a=>{var e=e=>a(a.s=e);a.O(0,["82","194"],()=>e("paragraph.client"));var l=a.O();(modules=void 0===modules?{}:modules)["paragraph.client"]=l}]);
/* window.modules["follow-topics-bar.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["follow-topics-bar.client"],{"follow-topics-bar.client":(t,i,s)=>{let{authClient:e}=s("21"),l=s("63"),o=s("33"),{getStickyHeaderRect:a}=s("203"),{trackMetrics:c}=s("10"),{handleFollowTopicTracking:r,shouldShowFollowModule:h}=s("54"),{actions:n,subscribe:d}=s("36"),{ACCOUNT_NAV:p}=n;class u{constructor(t){this.el=t,this.class="follow-topics-bar",this.followChipVariation="follow-topics-chip",this.hideClass=`${this.class}--hide`,this.scrollWrapper=this.el.querySelector(`.${this.class}__scroll-wrapper`),this.fade=this.el.querySelector(`.${this.class}__fade`),this.followClient=new l(e),this.topicsList=this.el.querySelectorAll(".chip"),this.topics=[],this.userLoggedIn=e.tokenWithAuthn(),this.chipUnauthRedirectQueryParams="source=acq_web_experiments_follow_card-social-bar-topic",this.initListeners()}initListeners=()=>{d(p.LOGOUT_SUCCESS,()=>{this.el.classList.add(this.hideClass)})};init=async()=>{try{this.topicsData=JSON.parse(this.el.getAttribute("data-topics"))||[]}catch{this.topicsData=[]}this.follows=await this.followClient.initFollows(),this.addFollowListeners(),this.unauthRedirect=this.el.dataset.unauthRedirect||"/account/log-in",this.setupTopicsList(this.topicsList,this.followChipVariation),this.scrollWrapper&&this.handleScroll(),this.scrollWrapper?.addEventListener("scroll",this.handleScroll),this.toast=new o(this.el),this.initAnalytics(),this.addSeeAllTopicsTracking()};handleScroll=()=>{this.scrollWrapper.scrollWidth-this.scrollWrapper.offsetWidth-this.scrollWrapper.scrollLeft>30?this.fade.classList.remove(`${this.class}__fade--hide`):this.fade.classList.add(`${this.class}__fade--hide`)};setupTopicsList=(t,i)=>{t.forEach((t,s)=>{let{id:e}=t.dataset;this.topics.includes(e)||this.topics.push(e),this.followClient.findFollow(e)&&document.dispatchEvent(new CustomEvent("preselect-chip",{detail:{id:e,targetVariation:i}})),s+1===this.topicsList.length&&this.el.classList.remove(this.hideClass)})};addFollowListeners=()=>{document.addEventListener("chip-click",async t=>{let{id:i,label:s,eventType:e,targetVariation:l}=t.detail;this.topics.includes(i)&&l===this.followChipVariation&&await this.handleFollow({id:i,label:s},e)})};handleFollow=async(t,i)=>{if(this.userLoggedIn){let s="select"===i?this.followClient.addFollow:this.followClient.removeFollow;await s(t)?(document.dispatchEvent(new CustomEvent("chip-click-success",{detail:{id:t.id,eventType:i,targetVariation:this.followChipVariation}})),r({eventType:i,id:t.id,label:t.label,type:"article byline"})):(document.dispatchEvent(new CustomEvent("chip-click-error",{detail:{id:t.id}})),this.showToast())}else{let{unauthRedirect:i}=this.el.dataset;await this.followClient.queueUnauthFollows([t]),window.location.assign(`${i}?${this.chipUnauthRedirectQueryParams}`)}};showToast=()=>{let t=a("bottom");document.querySelector(".toast-container").style.top=`${t+10}px`,this.toast.show({text:"Error",subtext:"Due to a technical issue, the topic cannot be followed. Please try again later."})};initAnalytics=()=>{this.topicsData.length&&c({type:"user-interaction",data:{interaction:"module load",componentName:"Follow topic module",componentStellarId:this.el.getAttribute("data-uri"),followTopicNames:this.topicsData.map(t=>t.label)}})};addSeeAllTopicsTracking=()=>{this.el.querySelectorAll(".follow-topics-bar__explore-more-link, .follow-topics-bar_overlay__explore-more-link").forEach(t=>{t.addEventListener("click",()=>{c({type:"user-interaction",data:{interaction:"follow:see all topics:click"}})})})}}t.exports=async t=>{let i=new u(t);return h(i.userLoggedIn)&&await i.init(),i}}},t=>{var i=i=>t(t.s=i);t.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","434","92","477","317","2051","478","496","32","495","435","489","11","432","221","80","433","36","1","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","68","486","485","9","93","19","6","33","43","203","54","63"],()=>i("follow-topics-bar.client"));var s=t.O();(modules=void 0===modules?{}:modules)["follow-topics-bar.client"]=s}]);
/* window.modules["social-share.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["social-share.client"],{"social-share.client":(e,t,a)=>{let{trackMetrics:c}=a("10");e.exports=e=>{let t=e.classList.contains("social-share_compact"),a=e.querySelector("[data-type=open]"),s=e.querySelector("[data-type=close]"),l=e.querySelector("[data-type=facebook]"),r=e.querySelector("[data-type=x]"),o=e.querySelector("[data-type=email]"),i=e.querySelector("[data-type=share-links]"),d=e.querySelector("[data-type=copy]"),n=e.querySelector("[data-type=message]"),p=()=>{t&&s.click()};d.addEventListener("click",()=>{let e=d.dataset.url;if(navigator.clipboard)navigator.clipboard.writeText(e);else{let t=document.createElement("input");t.value=e,d.parentNode.appendChild(t),t.select(),document.execCommand("copy"),d.parentNode.removeChild(t)}n.classList.add("show"),u("link","copy"),setTimeout(()=>{n.classList.remove("show"),p()},1e3)}),[l,r].forEach(e=>{e.addEventListener("click",()=>{window.open(e.dataset.url,"_blank","width=600,height=600,scrollbars=no,resizable=no,noopener,noreferrer"),u(e.dataset.type,"share"),p()})}),o.addEventListener("click",()=>{u("email","share"),p()}),a.addEventListener("click",()=>[a,s,i].forEach(e=>e.classList.add("active"))),s.addEventListener("click",()=>[a,s,i].forEach(e=>e.classList.remove("active")));let u=(e,t)=>{try{c({type:"social-click",data:{clickObj:{component:"sharing",socialType:e,action:t}}})}catch(e){return}}}}},e=>{var t=t=>e(e.s=t);e.O(0,["10"],()=>t("social-share.client"));var a=e.O();(modules=void 0===modules?{}:modules)["social-share.client"]=a}]);
/* window.modules["footer.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["footer.client"],{"footer.client":(e,t,o)=>{let{setAdobeAnalyticsGenericDataCookie:n}=o("66"),{initializeSubscribeButtons:r}=o("222"),{trackMetrics:i}=o("10"),l=o("15").setup({file:"/index.js"}),{isSection:s,SECTIONS:c}=o("6"),a=e=>{let t=e.querySelector(".footer__links .uclink");window.WM&&window.WM.UserConsent&&0!==window.WM.UserConsent.getLinkTitle().length&&t&&(t.text=window.WM.UserConsent.getLinkTitle(),t.onclick=window.WM.UserConsent.getLinkAction(),t.style.display="block",t.style.textAlign="center")},d=()=>window.matchMedia("(min-width: 960px)").matches;e.exports=e=>{let t=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,target:o})=>{if(e)try{i({type:"user-interaction",data:{interaction:"module load",componentName:"Footer",componentStellarId:o.dataset.uri}}),t.unobserve(o)}catch(e){l("error",e.message,{stack:e.stack})}})});a(e),function(e,t){let{section:o,templateType:n}=window.CNN.contentModel;Array.from(e.querySelectorAll("a[href]")).forEach(e=>{let r=e.innerText;r&&t(e,["footer",o,n,r.trim(),d()?"footer_DT":"footer_MW"])})}(e,n),r(e),s(c.HOMEPAGE)&&t.observe(e)}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","434","92","477","317","2051","478","496","32","495","435","489","11","432","221","80","534","433","36","532","108","2010","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","68","486","485","93","19","6","59","494","96","44","66","222"],()=>t("footer.client"));var o=e.O();(modules=void 0===modules?{}:modules)["footer.client"]=o}]);
/* window.modules["header.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["header.client"],{"header.client":(e,t,o)=>{let n,a,r,i;let l=["headerMenuIcon","headerSearchIcon","headerCloseIcon"],{calculateNavLeftMaxWidth:d}=o("237"),{calculatePageStickyThreshold:s}=o("203"),c=o("51"),{setAdobeAnalyticsDataForCookie:u}=o("66"),{initializeSubscribeButtons:h}=o("222"),{isDomesticPage:_,isEditionPage:m,checkGeoCountry:v}=o("1"),y=window.scrollY,p=0,w=40,f=document.querySelector(".header__wrapper-outer"),g=!!f&&"video_leaf"!==window.CNN.contentModel.templateType,{isAuthenticated:b}=o("44"),{getCookie:S,setCookie:L,removeCookie:q}=o("1"),{trackMetrics:k}=o("10"),{initializeProgressBar:E}=o("238"),C=e=>{let t=e.classList;l.map(e=>document.getElementById(e)).filter(e=>e).forEach(e=>{e.addEventListener("click",()=>{t.toggle("header--active");let e=window.document.documentElement;t.contains("header--active")?e.style.overflowY="hidden":e.style.overflowY="unset",document.getElementById("headerSubNav").scrollTop=0})})},x=e=>{e.querySelectorAll(".header__nav-item-accordion").forEach(e=>{e.addEventListener("click",()=>{e.classList.toggle("header__nav-item-accordion--open"),e.querySelector(".header__nav-item-dropdown")?.classList.toggle("header__nav-item-dropdown--open")})})},A=e=>{let t=e.querySelectorAll(".header__editionizer");[...e.querySelectorAll(".header__editionizer-button")].forEach(e=>e.addEventListener("click",()=>{e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true"),[...t].forEach(e=>e.classList.toggle("header__editionizer--active"))}))},N=e=>{let t=e.querySelector(".header__right");if(e.getBoundingClientRect().width<960){t&&(t.style.visibility="visible");return}if(window.location.pathname.startsWith("/webview")||e.classList.contains("header_sponsorship"))return;let o=e=>e.style.display="block",n=e=>e.style.display="none",a=()=>e.querySelector(".header__left").getBoundingClientRect().width,r=e=>{c.querySelectorAll(`.header__nav-item:nth-child(n+${c.childElementCount-e})`).forEach(n)},i=e.querySelector(".header__nav");i&&(i.style.visibility="hidden");let l=e.querySelector(".header__nav-more"),s=e.querySelector(".header__nav-more > .header__nav-item-dropdown"),c=e.querySelector(".header__left .header__nav-container");if(c){c.querySelectorAll(".header__nav-item").forEach(o),s.querySelectorAll(".header__nav-item-dropdown-item").forEach(n),n(l);let u=d(e),h=a(),_=!1,m=1;for(;h>u;)_=!0,r(m),h=a(),m++;_&&(o(l),(h=a())>u&&(r(m),h=a(),m++));let v=c.querySelector(".promotion-link")?0:1;s.querySelectorAll(`.header__nav-item-dropdown-item:nth-child(n+${c.childElementCount-m+v})`).forEach(o),i&&(i.style.visibility="visible"),t&&(t.style.visibility="visible")}},z={},M=()=>{i=Date.now()},T=()=>{i&&(window.zion_analytics.track(new window.ZION_SDK.GenericHover({traits:{canonical_url:c(window,"CNN.contentModel.canonicalUrl",null),component_id:z.zjsComponent_id,cms_id:z.zjsContainer_id,component_text:z.zjsComponent_text,component_type:z.zjsComponent_type,hover_time:Date.now()-i}})),i=0)},j=e=>{e?(n.addEventListener("mouseenter",M,!0),n.addEventListener("mouseleave",T,!0)):(n.removeEventListener("mouseenter",M,!0),n.removeEventListener("mouseleave",T,!0))},I=window.matchMedia("(any-hover: none)"),$=e=>`data-${e.split(/(?=[A-Z])/).join("-").toLowerCase()}`,D=()=>{let e=I.matches;if(j(!e),e)for(let[e,t]of Object.entries(z))n.setAttribute($(e),t);else for(let e of Object.keys(z))n.removeAttribute($(e))},O=()=>{a.addEventListener("mouseover",()=>{r.classList.remove("header__nav-more--toggle-caret-down"),r.classList.add("header__nav-more--toggle-caret-up")},!0),a.addEventListener("mouseout",()=>{r.classList.remove("header__nav-more--toggle-caret-up"),r.classList.add("header__nav-more--toggle-caret-down")},!0)},B=()=>{if(n=document.getElementById("moreDropdown"),a=document.querySelector(".header__nav-more"),r=document.querySelector(".header__nav-more--toggle-caret"),n?.dataset){for(let e in n.dataset)0===e.indexOf("zjs")&&(z[e]=n.dataset[e]);I.onchange=D,D(),O()}},H=()=>window.matchMedia("(min-width: 960px)").matches,R=e=>t=>e.closest(t);function U(e){if("A"===e.target.nodeName){let t=function(e){let t=null,o=R(e);return null===t&&o(".header__nav-more")&&(t="header_more_DT"),null===t&&o(".header__subnav")&&(t=H()?"hamburger_menu_DT":"hamburger_menu_MW"),null===t&&o("#pageHeader")&&(t=H()?"header_DT":"header_MW"),t}(e.target);u(["header",window.CNN.contentModel.section,window.CNN.contentModel.templateType,e.target.textContent.trim(),t]),e.target.classList.contains("subnav__section-link")&&"watch"===e.target.textContent.trim().toLowerCase()?k({type:"user-interaction",data:{interaction:"nav:watch:hamburger:subnav"}}):e.target.classList.contains("header__video-link-mobile")?k({type:"user-interaction",data:{interaction:"nav:watch:hamburger"}}):e.target.classList.contains("header__video-link-desktop")&&k({type:"user-interaction",data:{interaction:"nav:watch"}})}}let W=new Map([[".user-account-nav__text-button--unauth","user-account-nav__text-button--domestic"],[".header__video-link","header__video-link--domestic"],[".user-account-nav__icon-button--auth","user-account-nav__icon-button--domestic"],[".header__audio-link-desktop","header__audio-link-desktop--domestic"],["#headerSearchIcon","header__search-icon--domestic"]]);function Y(e,t){if(!e||0===e.length)return;let o=["href","data-zjs-component_id","data-zjs-destination_url"],n=`${new URL(e[0].href).origin}${t}`;e.forEach(e=>{o.forEach(t=>{e.setAttribute(t,n)})})}function G(e,t,o){e&&e.length&&e.forEach(e=>e.classList.add("header__live-tv-link--hidden")),t?.classList.add("header__right--international"),o?.classList.add("header__audio-link--no-margin")}e.exports=e=>{e.addEventListener("click",U),C(e),function(e){let t=e.querySelector(".header__right");new ResizeObserver(()=>{N(e)}).observe(t)}(e),h(e,()=>{!function(e){let t=e.querySelector(".header__right"),o=t?.querySelector(".user-account-nav__icon-button--auth");if(t&&_()&&!document.body.classList.contains("underscored")&&!m()){t.classList.replace("header__right--default","header__right--domestic"),W.forEach((e,o)=>{t.querySelector(`${o}`)?.classList.add(e)});let o=e.querySelectorAll(".header__video-link"),n="true"===localStorage.getItem("tveAuthType");b()&&n&&o&&Y(o,"/videos/live")}else o?.classList.contains("hide")||o?.classList.add("show")}(e)}),A(e),x(e),B(),s(),N(e),function(e){let t=()=>{let t=e.querySelector(".header__navigation-separator"),o=e.querySelector(".header__subnav-mount");0===p?(t?.classList.remove("hide"),o?.classList.remove("header__subnav-mount--scrolled")):(t?.classList.add("hide"),o?.classList.add("header__subnav-mount--scrolled"))},o="video_leaf"===window.CNN.contentModel.templateType&&!!document.querySelector('[data-uri*="horizon-header"]'),n=document.querySelector(".layout__sub-header"),a=(n||document.body.classList.contains("watch"))&&"video_leaf"!==window.CNN.contentModel.templateType,r=f||e;r.style.position=a&&!g?"fixed":"sticky",0===document.querySelectorAll(".politics-secondary-nav, .secondary-header, .market-quote-nav").length&&["scroll","scrollend"].forEach(e=>{window.addEventListener(e,()=>{t(),(a||o)&&"scroll"===e&&function(e,t){let o=e?.offsetHeight||40,n=window.scrollY,a=n>y,r=g?f.offsetHeight:40;e.style.transition?.includes("top")||e.classList.add("header--smooth"),t.style.transition?.includes("top")||t.classList.add("header--smooth"),0===n?(p=0,w=o):a&&n>(g?r/2:50)?(p=-r,w=0):!a&&y-n>(g?r/4:10)&&(p=0,w=o),(g&&p<=0||!g)&&(e.style.top=`${p}px`,t.style.top=`${w}px`),y=n}(r,n)})})}(e),function(e){let t=e.querySelectorAll(".header__video-link"),o=e.querySelector(".header__right"),n=e.querySelectorAll(".header__live-tv-link"),a=e.querySelector(".header__audio-link.header__audio-link-desktop");if(v("GB"))Y(n,"/specials/live-cnni-uk"),function(e){let t=e.querySelector(".brand-logo__theme-link .brand-logo__section-text");return t&&"Watch"===t.textContent.trim()}(e)&&!document.querySelector("html[data-layout-uri*='layout-video-hub/instances/uklive-experience']")&&n?.length>0&&n.forEach(e=>e.classList.add("header__live-tv-link--show-gb"));else if(v("CA")){G(n,o);let e="true"===localStorage.getItem("tveAuthType");b()&&e&&t&&Y(t,"/videos/live")}else(!v("US")||m())&&G(n,o,m()?a:void 0)}(e),window.addEventListener("resize",()=>{N(e)}),function(){if(/^[^/]+:\/\/[^/]+\/watch\b/.test(window.CNN.contentModel.canonicalUrl)){L("cnn_watch_xp=1; max-age=86400;");return}let e=S("cnn_watch_xp");if("video_leaf"===window.CNN.contentModel.templateType){let t=document.querySelector('.layout__sub-header:has([data-uri*="new-watch-subheader-product-zone-1"])'),o=document.querySelector('.header__wrapper-inner .dynamic > [data-uri*="instances/horizon-"]'),n=document.querySelector('.header__wrapper-inner .dynamic > div:not([data-uri*="instances/horizon-"])');"1"===e?o&&(o.style.display="block",t&&(t.style.display="block"),n?.remove()):n&&(n.style.display="block",o?.remove())}else e&&q("cnn_watch_xp")}(),window.CNN.isElevated&&E()}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","434","92","477","317","2051","478","496","32","495","435","489","11","432","221","80","534","433","36","532","108","2010","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","68","486","485","9","93","19","6","59","494","96","44","66","203","222","237","238"],()=>t("header.client"));var o=e.O();(modules=void 0===modules?{}:modules)["header.client"]=o}]);
/* window.modules["chip.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["chip.client"],{"chip.client":(e,t,s)=>{let{actions:i,subscribe:l}=s("36"),{ACCOUNT_NAV:a}=i;class h{constructor(e,t){this.el=e,this.class="chip",this.selectedClass=`${this.class}__selected`,this.interstitialClass=`${this.class}__interstitial`,this.lastFollowedClass=`${this.class}__last-followed`,this.labelElement=this.el.querySelector(`.${this.class}__label`),this.enableInterstitial=!1,this.successEventCaptured=!1,this.isEmbed=t,this.resetOnLogOut=e.dataset.resetOnLogOut}init=()=>{let{enableInterstitial:e,id:t,label:s,componentVariation:i,overrideSuccess:h,checkedStateLabel:c,uncheckedStateLabel:n}=this.el.dataset;this.componentVariation=i,this.enableInterstitial=e,this.overrideSuccess=h,this.checkedStateLabel=c,this.label=s,this.uncheckedStateLabel=n||s,this.id=t,this.el.addEventListener("click",this.selectChip),this.el.addEventListener("mouseout",this.removeLastFollowedState),document.addEventListener("preselect-chip",e=>{let{id:t,targetVariation:s}=e.detail;t===this.id&&this.componentVariation===s&&(this.el.classList.add(this.selectedClass),this.checkedStateLabel&&(this.labelElement.innerText=this.checkedStateLabel))}),document.addEventListener("chip-click-success",e=>{let{id:t,eventType:s,targetVariation:i}=e.detail;if(t===this.id&&(this.successEventCaptured=!0,this.handleSelectClasses(s),this.componentVariation!==i&&this.removeLastFollowedState(),this.minTimeExpired)){if(this.el.classList.remove(this.interstitialClass),this.checkedStateLabel){let e="select"===s?this.checkedStateLabel:this.uncheckedStateLabel;this.labelElement.innerText=e}this.minTimeExpired=!1,this.successEventCaptured=!1}}),document.addEventListener("chip-click-error",e=>{let{id:t}=e.detail;t===this.id&&this.el.classList.remove(this.interstitialClass)}),this.resetOnLogOut&&l(a.LOGOUT_SUCCESS,()=>{this.handleSelectClasses("unselect"),this.labelElement.innerText=this.uncheckedStateLabel})};handleSelectClasses=e=>{"select"===e&&(this.el.classList.add(this.selectedClass),this.el.classList.add(this.lastFollowedClass)),"unselect"===e&&this.el.classList.remove(this.selectedClass)};selectChip=()=>{let{el:e}=this,t={id:this.id,label:this.label,targetVariation:this.componentVariation},s=this.el.classList.contains(this.selectedClass)?"unselect":"select";document.dispatchEvent(new CustomEvent("chip-click",{detail:{...t,eventType:s,el:e}})),this.enableInterstitial?(this.el.classList.add(this.interstitialClass),this.successEventCaptured=this.overrideSuccess,this.minTimeExpired=!1,setTimeout(()=>{if(this.minTimeExpired=!0,this.successEventCaptured){if(this.el.classList.remove(this.interstitialClass),this.checkedStateLabel){let e="select"===s?this.checkedStateLabel:this.uncheckedStateLabel;this.labelElement.innerText=e}this.handleSelectClasses(s),this.minTimeExpired=!1,this.successEventCaptured=!1}},350)):this.handleSelectClasses(s)};removeLastFollowedState=()=>{this.el.classList.remove(this.lastFollowedClass)}}e.exports=(e,t)=>{let s=new h(e,t);return s.init(),s}}},e=>{var t=t=>e(e.s=t);e.O(0,["432","221","80","433","36"],()=>t("chip.client"));var s=e.O();(modules=void 0===modules?{}:modules)["chip.client"]=s}]);
/* window.modules["subnav.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["subnav.client"],{"subnav.client":e=>{e.exports=async e=>{let s={};for(let[t,l]of Object.entries({zjsNavigationLocation:"header,footer"})){let a=l.split(",").filter(s=>e.parentNode.className.includes(s));1===a.length&&(s[t]=a[0])}e.querySelectorAll('[data-zjs-navigation-location=""]').forEach(e=>Object.assign(e.dataset,s))}}},e=>{var s=e(e.s="subnav.client");(modules=void 0===modules?{}:modules)["subnav.client"]=s}]);
/* window.modules["search-bar.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["search-bar.client"],{"search-bar.client":e=>{e.exports=e=>{let r=e.querySelector(".search-bar__input"),a=e.querySelector(".search-bar__submit");r.addEventListener("keydown",e=>{"Enter"===e.key&&(a.click(),e.preventDefault())}),a.addEventListener("click",e=>{e.target.dataset.analyticsPropSearchTerm=r.value})}}},e=>{var r=e(e.s="search-bar.client");(modules=void 0===modules?{}:modules)["search-bar.client"]=r}]);
/* window.modules["content-recs.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["content-recs.client"],{"card.client":(e,t,n)=>{let a=n("3"),{clickDTCChannelCard:r,checkLockIconVisibility:o}=n("239"),l=!1;e.exports=e=>{let t=e.querySelector(".container__item-media-wrapper");if(t&&a.observe(t),!l){let e=document.querySelector(".container_dtc-shelf-carousel__item-media");e&&(e.classList.add("is-selected"),l=!0)}let n=e.querySelector(".card__timestamp"),i=e.querySelector(".container__text");if(n&&n.dataset.publishedTime){let e=Date.now()-Date.parse(n.dataset.publishedTime),t=e=>{i.classList.add("card__headline-with-timestamp"),e.includes("h")||n.classList.add("card__timestamp-recent"),n.textContent=e};switch(!0){case e<6e4:t("0m");break;case e>=6e4&&e<36e5:t(`${Math.floor(e/6e4)}m`);break;case e>=36e5&&e<144e5:t(`${Math.ceil(e/36e5)}h`);break;default:n.style.display="none"}}let c=e.querySelector(".container_dtc-shelf-carousel__card-wrapper")||e.querySelector(".container_shelf-carousel__card-wrapper");c&&c.dataset?.dtcVod==="true"&&(c.dataset?.clickPlay==="true"&&r(e,c),o(c))}},"container.client":(e,t,n)=>{let{setAdobeAnalyticsCookie:a}=n("66"),{getPersonalizedContent:r,getPopularContent:o,getHomepagePersonalizedContent:l,getThumbnailUrl:i}=n("244"),{lineClamp:c}=n("5"),{trackMetrics:s}=n("10"),{setAdobeAnalyticsGenericDataCookie:d}=n("66"),_=n("15").setup({file:"/index.js"}),{addComponentLoadedAnalytics:u,addZJSClickAttributes:m}=n("19"),{getStellarId:h}=n("240"),{isPageVariant:p,PAGE_VARIANTS:f}=n("89");e.exports=async e=>{function t(e){let t={inline:()=>document.querySelector(".layout__main"),"article end":()=>document.querySelector(".layout__end"),"right rail":()=>document.querySelector(".layout__rail")};return Object.keys(t).find(n=>t[n]()?.contains(e))||""}function E(e,a,r,o){let{layout:l,title:i,numberOfItems:u,tenantId:p}=r,f=n("116")(e,a,r),E=t(f),y=f.querySelectorAll('[data-uri*="/card/"]');if(y.length>0&&(function(e,n){let{recsModel:a,title:r,uri:o}=e.dataset,l=t(e),i=h(o),c=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,intersectionRatio:t,target:o})=>{e&&t>=.5&&t<1&&(function({recsModel:e,title:t,numberOfItems:n,componentStellarId:a,locationOnPage:r}){try{s({type:"user-interaction",data:{interaction:"module load",componentName:t,componentStellarId:a,componentAttributes:{type:"content rec",apiType:e,locationOnPage:r,numberOfItems:n,title:t}}})}catch(e){_("error",e.message,{stack:e.stack})}}({recsModel:a,title:r,numberOfItems:n,componentStellarId:i,locationOnPage:l}),c.unobserve(o))})},{threshold:.5});c.observe(e),Array.from(e.querySelectorAll("a[href]")).forEach((e,t)=>{let o=e.querySelector(".container__headline-text")?.innerHTML;d(e,["container",r,a,l,n,t+1,o,i])})}(f,u),y.forEach(t=>{t.querySelectorAll("a").forEach(t=>{(function(e,{location:t,recsType:n,tenantId:a}){let r=new URLSearchParams({iid:"cnn_buildContentRecirc_end_recirc",recs_exp:`${n} ${t}`.split(" ").join("-").toLowerCase(),tenant_id:a});e.href=`${e.href}?${r.toString()}`})(t,{location:E,recsType:o,tenantId:p}),m(t,{page_stellar_id:window.CNN.contentModel.pageStellarId,component_type:"container",component_id:f.dataset.uri,component_text:i,location:E,stellar_id:e.find(({url:e})=>e===t.href)?.stellar_id})})})),"container_list-headlines-ranked"===l){let e=document.createElement("div");e.classList.add(`${l}__field-links--col-1`);let t=document.createElement("div");t.classList.add(`${l}__field-links--col-2`);let n=u%2==0;y.forEach((a,r)=>{n&&r<=u/2-1||!n&&r<=Math.floor(u/2)?e.append(a):t.append(a)}),f.querySelector(".container__field-links").append(e,t)}"container_list-headlines-with-read-times"!==l&&y.forEach(e=>{c(e.querySelector('[data-editable="headline"]'),5," ...")})}async function y(e){let{recsModel:n="popular",title:a,numberOfItems:l=4,recsContentTypes:i="article",recsSections:c="",layout:s="container_list-headlines-with-images",source:d}=e.dataset,m=""===i?[]:i.split(","),h=""===c?[]:c.split(","),p=t(e),f={personalized:r,popular:o},y=f[n]||f.popular;try{let{recommendations:t,tenantId:r}=await y(l,m,h,"autofill");E(t,e,{instance:"autofill",layout:s,location:p,title:a,numberOfItems:l,recsModel:n,recsContentTypes:i,recsSections:c,source:d,tenantId:r},"autofill"),u({componentType:"container",componentId:e.dataset.uri,traits:{page_stellar_id:window?.CNN?.contentModel?.pageStellarId,canonical_url:window?.CNN?.contentModel?.canonicalUrl,cms_id:window?.CNN?.contentModel?.cmsId,recommendation_ids:t.map(({stellar_id:e})=>e),tenant_id:r,component_text:a,item_count:l,location:p,layout:s}})}catch(e){_("error",e.message,{stack:e.stack})}}async function w(n){let a;let{mlPinnedCardsCount:r,mlRecommendedCardsCount:o,title:c,layout:s}=n.dataset,d=parseInt(o),m=parseInt(r),p=Array.from(n.querySelectorAll('[data-uri*="/card/"]')),f=[],y=[],w={},C=new Set,L=t(n);for(let e=0;e
Math.random()-.5).slice(0,d):b.sort((e,t)=>t.score-e.score).map(({stellarId:e})=>y.find(t=>w[t.dataset.uri]===e)),v=f.concat(R).map(e=>({url:e.dataset.url,thumbnail:e.dataset.thumbnail&&i(e.dataset.thumbnail),headline:e.dataset.headline,type:e.dataset.type,lastModifiedDate:e.dataset.lastModifiedDate,word_count:e.dataset.wordCount,stellar_id:w[e.dataset.uri],label:e.dataset.label,labelText:e.dataset.labelText}));E(v,n,{instance:"personalized",layout:s,location:L,title:c,numberOfItems:null,recsModel:A,recsContentTypes:"",recsSections:[],source:S,tenantId:T},"personalized"),u({componentType:"container",componentId:e.dataset.uri,traits:{page_stellar_id:window?.CNN?.contentModel?.pageStellarId,canonical_url:window?.CNN?.contentModel?.canonicalUrl,cms_id:window?.CNN?.contentModel?.cmsId,recommendation_ids:b.map(({stellarId:e})=>e),tenant_id:T,component_text:c,item_count:v.length,location:L,layout:s}})}let C=e=>{e.classList.remove("hide")},N=e=>{e.classList.add("hide")},{source:S,contentRecsCalled:L,mlEnablePersonalizedContent:b}=e.dataset;"true"===b?w(e):"contentRecs"==S&&"true"!==L&&await y(e);let g=(e,t,n)=>{try{s({type:"user-interaction",data:{interaction:`${e}:${t}:${n}`}})}catch(e){(void 0).log("error",e.message,{stack:e.stack})}},T=(e,t)=>{let n=0;e.addEventListener("touchstart",e=>{n=e.touches[0].clientX}),e.addEventListener("touchend",e=>{let a=e.changedTouches[0].clientX-n;a>30?g(t,"left","swipe"):a<-30&&g(t,"right","swipe")})},A={CONTAINER_HEADLINE_CAROUSEL:"container_headline-carousel",CONTAINER_RIBBON:"container_ribbon",CONTAINER_SHELF_CAROUSEL:"container_shelf-carousel",CONTAINER_EVENT_TRAY:"container_event-tray",CONTAINER_VERTICAL_SHELF_CAROUSEL:"container_vertical-shelf-carousel",CONTAINER_DTC_SHELF_CAROUSEL:"container_dtc-shelf-carousel",CONTAINER_DTC_LOCK_SHELF_CAROUSEL:"container_dtc-lock-shelf-carousel"};Object.values(A).forEach(t=>{let n=e.querySelector(`.${t}__field-links`),r=e.querySelector(`.${t}__cards-wrapper`),o=document.createElement("div"),l=document.createElement("div");o.classList.add(`${t}__carousel-button-prev`,"hide","carousel-button-prev"),l.classList.add(`${t}__carousel-button-next`,"carousel-button-next");let i=()=>{let e=Math.round(n.scrollLeft),a=n.scrollWidth,r=n.clientWidth;0===e?N(o):(C(o),t!==A.CONTAINER_VERTICAL_SHELF_CAROUSEL&&t!==A.CONTAINER_DTC_SHELF_CAROUSEL&&(a-r<=e?N(l):C(l)))},c=e=>{if(!e)return 0;let t=e.getBoundingClientRect(),n=0;for(let a of e.children){let e=a.getBoundingClientRect();e.left>=t.left-1&&e.right<=t.right+1&&n++}return n},s=()=>{if(!n)return;let e=n.children.length,t=c(n);if(e>0&&t===e){N(o),N(l);return}let a=Math.round(n.scrollLeft),r=n.scrollWidth-n.clientWidth<=a;0===a?N(o):C(o),r?N(l):C(l)},d=e=>{let a,r;let i=n.children,c=n.scrollLeft,s=n.offsetWidth,d=o.offsetWidth,_=n.children[0].offsetWidth,u=parseInt(window.getComputedStyle(n).gap,10)||0;if(t===A.CONTAINER_VERTICAL_SHELF_CAROUSEL||t===A.CONTAINER_DTC_SHELF_CAROUSEL){let r;let o=_+u,d=Math.floor(s/o)||1,m=n.children.length,h=Math.floor(c/o);if("right"===e?(r=h+d)>m-d&&(r=m-d):(r=h-d)<0&&(r=0),t===A.CONTAINER_DTC_SHELF_CAROUSEL){let e=r+d-1;Array.from(i).forEach(e=>{e.classList.remove("container__item-extra-margin")}),i[e]&&e{if(e.classList.contains(t)){if("container_ribbon"===t){let n=e.querySelectorAll(".card");n.forEach((e,r)=>{let o=e.querySelector("a[href]"),l={zone_position_number:1,zone_total_number:1,container_position_number:1,container_name:t,container_total_number:1,card_name:o.innerText,card_position_number:r+1,card_total_number:n.length};a(o,l)})}if(r.insertBefore(o,r.firstChild),r.appendChild(l),t===A.CONTAINER_DTC_SHELF_CAROUSEL){let t=e.querySelectorAll(".card"),a=Math.floor(n.offsetWidth/t[0].offsetWidth)||1;t.length<=a?(t[a-1].style.paddingRight="0px",N(o),N(l)):t[a-1].classList.add("container__item-extra-margin")}if(p(f.TVE_DTC_VIDEO)?n.addEventListener("scroll",s,{passive:!0}):n.addEventListener("scroll",()=>{i()}),o.addEventListener("click",()=>{d("left"),p(f.TVE_DTC_VIDEO)&&requestAnimationFrame(s)}),l.addEventListener("click",()=>{d("right"),p(f.TVE_DTC_VIDEO)&&requestAnimationFrame(s)}),p(f.TVE_DTC_VIDEO)&&n.addEventListener("touchend",()=>{requestAnimationFrame(s)}),T(n,t),n&&p(f.TVE_DTC_VIDEO)){try{new ResizeObserver(()=>s()).observe(n)}catch(e){window.addEventListener("resize",()=>s())}s()}else n.scrollWidth===n.clientWidth?l.classList.add("hide"):"container_ribbon"===t&&(n.style.justifyContent="normal")}})()}),function(e){let t=e.querySelector(".container_spotlight-package__description, .container_side-by-side-feature__description");t&&c(t,2," ...")}(e)}},"content-recs.client":(e,t,n)=>{let{getRelatedContent:a,getPersonalizedContent:r,getPopularContent:o}=n("244"),l=n("18"),i=n("116"),{lineClamp:c}=n("5"),{trackMetrics:s}=n("10"),{setAdobeAnalyticsGenericDataCookie:d}=n("66"),_=n("15").setup({file:"/index.js"}),{getCookie:u}=n("1"),{getComponentInstance:m}=n("189"),{addComponentLoadedAnalytics:h,addZJSClickAttributes:p}=n("19"),f={"container_list-headlines-with-read-times":{breakpointCropRatios:{xlDesktop:"16x9",desktop:"16x9",tablet:"16x9",mobile:"16x9",upToSmall:"1x1"},breakpointCropCommands:{xlDesktop:"c_thumb,g_auto,w_450,h_253",desktop:"c_thumb,g_auto,w_450,h_253",tablet:"c_thumb,g_auto,w_450,h_253",mobile:"c_thumb,g_auto,w_450,h_253",upToSmall:"c_thumb,g_auto,w_200,h_200"},ratios:{xlDesktop:{w:"450",h:"253"},desktop:{w:"450",h:"253"},tablet:{w:"450",h:"253"},mobile:{w:"450",h:"253"},upToSmall:{w:"200",h:"200"}}}};function E(e){let t={inline:()=>document.querySelector(".layout__main"),"article end":()=>document.querySelector(".layout__end"),"right rail":()=>document.querySelector(".layout__rail")};return Object.keys(t).find(n=>t[n]()?.contains(e))||""}let y=(e,t)=>{let n=e.querySelector(".container");window?.CNN?.isElevated&&n.classList.replace(t,`${t}-elevate`)};async function w(e){let{recsModel:t,title:n,numberOfItems:l=1,contentTypes:u="article",recsSections:m="",layout:w="container_list-headlines-with-images"}=e.dataset,C=u.split(","),N=""===m?[]:m.split(","),S=E(e),L={related:(e,t)=>a(e,t),personalized:(e,t)=>r(e,t),popularity:(e,t,n)=>o(e,t,n)},b=L[t]||L.related;try{let{recommendations:a,tenantId:r}=await b(l,C,N);!function(e,t,n){let a=f[n.layout],{layout:r,title:o,numberOfItems:l}=n;(function(e,{location:t,title:n,tenantId:a}){let r=new URLSearchParams({iid:"cnn_buildContentRecirc_end_recirc",recs_exp:`${n} ${t}`.split(" ").join("-").toLowerCase(),tenant_id:a});e.forEach(e=>e.url=`${e.url}?${r.toString()}`)})(e,n={...n,...window?.CNN?.isElevated&&a}),i(e,t,n);let u=t.querySelectorAll('[data-uri*="/card/"]');if(u.length>0&&(function(e,t){let{recsModel:n,title:a,uri:r}=e.dataset,o=E(e),l=new IntersectionObserver(e=>{e.forEach(({isIntersecting:e,intersectionRatio:i,target:c})=>{e&&i>=.5&&i<1&&(function({recsModel:e,title:t,numberOfItems:n,componentStellarId:a,locationOnPage:r}){try{s({type:"user-interaction",data:{interaction:"module load",componentName:t,componentStellarId:a,componentAttributes:{type:"content rec",apiType:e,locationOnPage:r,numberOfItems:n,title:t}}})}catch(e){_("error",e.message,{stack:e.stack})}}({recsModel:n,title:a,numberOfItems:t,componentStellarId:r,locationOnPage:o}),l.unobserve(c))})},{threshold:.5});l.observe(e),Array.from(e.querySelectorAll("a[href]")).forEach((e,l)=>{let i=e.querySelector(".container__headline-text")?.innerHTML;d(e,["content rec",a,n,o,t,l+1,i,r])})}(t,l),u.forEach(n=>{n.querySelectorAll("a").forEach(n=>{p(n,{page_stellar_id:window?.CNN?.contentModel?.pageStellarId,component_type:"content rec",component_id:t.dataset.uri,component_text:o,location:E(t),stellar_id:e.find(({url:e})=>e===n.href)?.stellarId})})})),"container_list-headlines-ranked"===r){let e=document.createElement("div");e.classList.add(`${r}__field-links--col-1`);let n=document.createElement("div");n.classList.add(`${r}__field-links--col-2`);let a=l%2==0;u.forEach((t,r)=>{a&&r<=l/2-1||!a&&r<=Math.floor(l/2)?e.append(t):n.append(t)}),t.querySelector(".container__field-links").append(e,n)}window?.CNN?.isElevated||"container_list-headlines-with-read-times"===r||u.forEach(e=>{c(e.querySelector('[data-editable="headline"]'),5," ...")})}(a,e,{instance:"content-recs",layout:w,location:S,title:n,numberOfItems:l,recsModel:t,recsContentTypes:C,recsSections:m,tenantId:r}),y(e,w),h({componentType:"content rec",componentId:e.dataset.uri,traits:{page_stellar_id:window?.CNN?.contentModel?.pageStellarId,canonical_url:window?.CNN?.contentModel?.canonicalUrl,cms_id:window?.CNN?.contentModel?.cmsId,recommendation_ids:a.map(({stellar_id:e})=>e),tenant_id:r,component_text:n,item_count:l,location:S,layout:w}})}catch(e){_("error",e.message,{stack:e.stack})}}e.exports=async e=>{l.get("ENABLE_CONTENT_RECS")&&(window.CNN.launchContentRecs||(window.CNN.launchContentRecs=w),("up-next-v1"!==m(e.dataset?.uri)||"active"===u("_endrecirc_testing"))&&await w(e))}},"image.client":(e,t,n)=>{let{ClientModel:a,initializeOnExec:r}=n("36"),o=n("3");e.exports=r(class extends a{constructor(e){super(e),o.observe(e)}})}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","82","2207","549","2040","3041","92","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","477","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","125","317","644","2051","478","496","32","495","435","489","11","314","432","221","80","534","433","470","36","532","197","108","2010","81","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","10","431","417","522","541","65","21","2041","67","305","68","486","485","458","2056","2057","93","19","4747","4210","5149","5150","5154","5155","4737","1831","355","1823","354","4333","4851","531","91","4727","4803","2597","2889","2950","2930","2790","2899","2624","2622","2969","2800","2610","4885","2933","2738","2600","4804","2611","2925","2788","2928","2837","2728","2910","2814","2802","4806","2894","2929","2798","2939","2938","2934","2783","4763","2953","2612","2804","2739","2822","2970","2799","2826","2740","2915","2696","4812","2892","2838","2794","2718","2733","2643","2729","4838","2778","2758","4845","2913","2793","2660","4809","2907","2948","2601","2955","2591","2893","2867","2759","2823","2868","2977","2993","2982","2576","2655","2653","2590","2734","4829","2650","2623","2824","2959","4810","2897","2682","2596","2694","2785","2659","2571","2949","2691","2595","2842","2914","2903","2627","2827","2628","2605","2581","2586","4943","2763","2575","2743","2898","2585","2570","2580","2789","2615","2965","2819","2744","484","2918","2944","2582","2577","2567","2644","2606","2878","2654","2818","2833","2719","2754","2883","2648","2564","2681","2923","2848","4778","2724","2888","2572","2769","2616","2864","2701","2808","2774","2882","2768","2649","2592","2706","2919","2764","2853","2873","2784","2685","2908","2978","2994","2983","2960","2847","2843","4805","2924","2773","2749","4964","2817","2686","2877","2887","4928","2902","2858","2863","2690","2943","2566","2714","4783","2723","4768","2834","2779","2700","4877","2809","2748","2619","2705","2697","2753","4834","4930","4756","2730","2964","4835","4942","4904","2832","4766","4775","4774","4767","4883","4963","4800","2715","2857","2862","4920","4779","2680","2852","2872","4780","2735","2713","2607","2935","2780","4777","2725","4782","4935","4824","2604","4891","4886","2920","2869","2656","2602","2775","4860","4887","2640","4811","2599","2829","2945","2891","4781","4772","4790","2844","2961","2755","4755","4794","2831","2677","4880","2896","2692","4969","2765","4859","2562","2849","2760","2587","4769","2940","2770","2687","2668","2952","2702","2874","4836","4870","2866","2854","2859","4771","2884","4855","2839","2720","2879","2966","2904","4787","2710","2645","2745","2990","2979","2971","2956","2750","2805","4939","4825","4856","4788","4823","2792","4933","4773","4950","2772","4776","4853","4882","4858","4857","4934","4764","4854","4758","4940","4791","4757","4972","4973","4971","4759","4789","4760","4968","2795","4976","4974","4944","2159","4761","4936","4762","4967","4865","4931","2183","4929","2177","4869","2143","4866","4953","4941","4938","4797","2097","4873","2122","4864","4816","4906","4868","4817","4861","4867","4879","4881","4878","4932","2140","2093","4871","2121","4949","2162","2160","2096","4884","4896","4965","4945","4793","4821","4822","4813","4802","2472","2172","2158","2142","444","2828","2726","2138","2185","4954","4952","2801","2967","4951","2165","2119","4796","2136","4795","2149","2114","2094","2182","2104","2176","4948","2736","2101","4792","2083","2895","2164","2125","2137","4826","2179","2152","2091","2090","2168","2154","2098","2163","2141","2089","4850","2529","2166","2099","2145","2157","2120","2815","2651","2926","4820","2100","4847","2912","2113","2084","4876","2102","2103","4833","4832","4815","4889","2976","2144","2085","2161","4831","4828","4890","4814","2123","2086","2148","2181","2088","2151","2128","2118","2184","2171","2092","2153","2124","2170","2155","2117","2931","4888","2126","2147","2116","2139","2082","2175","2180","2167","2174","4818","2095","2169","2178","2156","2146","2127","4827","2614","2901","4875","2936","4872","4862","4895","4927","2115","4874","2835","4919","2917","2742","4863","4848","4966","2688","2875","4801","2825","4962","2573","2608","4921","2880","4852","2781","4840","2786","2588","4799","4892","2796","2669","2583","2578","2568","2674","2911","2951","2946","2676","2675","2666","2641","2620","2991","2980","2975","2916","2613","2905","2716","2885","2731","2721","2693","2673","2563","2806","2756","2746","2870","2850","2820","2766","2646","2625","2741","2683","2941","2840","2761","2087","2921","2593","4897","2845","2707","2698","2855","2860","2711","2703","2708","2776","2657","2900","2865","2751","4955","2771","4798","4770","4846","4893","4917","4841","4915","4909","4916","4918","4914","4908","4907","4894","2678","2791","4905","2890","2598","2830","2603","4902","4900","4979","2957","2962","4903","4844","4842","4901","4899","4898","4978","4977","4348","2752","2816","2658","2626","2621","2722","2881","2797","2689","1794","2927","2727","2932","2574","2609","2836","2937","2709","2594","2803","2584","2579","2569","2782","2787","2589","2942","2704","2762","2767","2679","2652","2737","2968","2777","2757","2807","2732","2947","2963","2565","2841","2717","2695","2684","2747","2699","2846","2647","2886","2876","2851","2871","2856","2958","2906","2861","2712","2922","2642","2992","2981","2821","5148","490","2050","61","2049","2069","96","300","89","325","347","1779","516","13","2070","185","44","2047","500","66","2048","2046","511","512","2045","271","502","126","505","510","2055","503","501","504","3","5","400","2269","1727","519","1867","1866","1865","319","2293","240","1763","2294","524","523","515","329","423","88","1725","244","239","520","517","116"],()=>t("content-recs.client"));var n=e.O();(modules=void 0===modules?{}:modules)["content-recs.client"]=n}]);
/* window.modules["user-account-nav.client"] */ "use strict";var modules;(self.modules=self.modules||[]).push([["user-account-nav.client"],{"user-account-nav.client":(e,t,n)=>{let{authClient:a,getUserInfo:o,loginUser:i,needsConsent:c,getSSOIdentityTypes:s,REMEMBER_ME_DURATION:r}=n("21"),l=n("18"),{actions:u,dispatch:d,subscribe:_}=n("36"),{ACCOUNT_NAV:g,PAYWALL:m}=u,{AvatarSDKClient:p}=n("53"),E=n("23"),v=n("15").setup({file:"/index.js"}),{userAccountEnabled:S}=n("34"),{showFollowNotification:h,clearFollowData:L,shouldShowTooltip:w,setTooltipDismissed:O,shouldShowFollowModule:y}=n("54"),f=n("55"),{addZJSClickAttributes:A,addGenericClickAnalytics:T,addGenericMetricAnalytics:N}=n("19"),{trackMetrics:k}=n("10"),{IDENTITY_TYPES:b}=n("67"),{initCustomGoogleButton:I}=n("68"),{addScriptTag:C,getCookie:G,setCookie:U,removeCookie:D}=n("1"),{VIEWPORT_SMALL_WIDTH:$,smallMaxWidthListener:q}=n("9"),B=n("33"),{getInitOneTapForMW:x}=n("56");e.exports=async e=>{if(S){let t;let n=l.get("DALTON_TKN_HEADER_CHECK_ENABLED")||!1,u=l.get("US_SUBSCRIPTIONS_ENABLED")&&l.get("HEADER_SUBSCRIPTIONS_BUTTON_ENABLED"),S="click",P=document.getElementById("headerMenuIcon"),R=document.getElementById("headerCloseIcon"),j=document.getElementById("headerSearchIcon"),H="header__editionizer",W=document.querySelector(`.${H}`),z=W&&W.querySelector(`.${H}-button`),M=document.getElementById("pageHeader"),F="user-account-nav",K=`${F}__menu--active`,X=e.querySelectorAll(".userAccountButton"),J=e.querySelector(".userAccountNavMenu"),Q=J.querySelector(".userAccountNavOptions"),V=Q.querySelector("[data-name='settings']"),Y=Q.querySelector("[data-name='logout']"),Z=e.querySelector(`.${F}__override-link`),ee=new E({}),et=e.querySelector(".userAccountFollowDot"),en=e.querySelector(`.${F}__menu-link[data-name="follow"]`),ea=e.querySelector(`.${F}__menu-notification-dot`),eo=e.parentNode?.classList.contains("header__user-account-nav-desktop"),ei=e.parentNode?.classList.contains("header__user-account-nav-mobile"),{avatarEnabled:ec,followTooltipEnabled:es,oneTapEnabled:er,oneTapEnabledMw:el}=e.dataset,eu=er?.toLowerCase()==="true",ed=el?.toLowerCase()==="true",e_=a.tokenWithAuthn(),eg=new p,em=l.get("SSO_GOOGLE_ONE_TAP_DISABLE_AUTOSIGNIN_COOKIE"),ep=l.get("SSO_GOOGLE_ONE_TAP_ENABLED"),eE=G(l.get("SSO_GOOGLE_ONE_TAP_DISABLE_AUTOSIGNIN_COOKIE")),ev=ep&&l.get("SSO_GOOGLE_ONE_TAP_AUTO_SIGNIN_ENABLED")&&!eE,eS=G("countryCode"),eh=new URL(e.querySelector("[data-login-href]")?.dataset?.loginHref||"/account/log-in",window.location.href);eh=ee.appendParams({targetUrl:eh,paramAllowlist:["redirect"]});let eL=V&&V.href?V.href:"/account/settings",ew=e=>{if(e_&&M){let t=M.classList.contains("header--active");!e&&t&&window.innerWidth>$&&R.click(),J.classList.toggle(K)}else window.location.assign(eh)},eO=()=>{(eo||e.parentNode?.classList.contains("footer__user-account-nav-desktop"))&&J?.classList.contains(K)&&X&&(J.classList.remove(K),[...X].forEach(e=>{e.setAttribute("aria-expanded","false")}))},ey=e=>{e.preventDefault(),d(g.LOGOUT_SUCCESS),k({type:"user-account",data:{action:"logout_success",component:"user-account-nav",method:"invokeLogout_user-logged-out-from-nav"}})},ef=async()=>{eo&&n&&e_&&(await o(),(e_=a.tokenWithAuthn())||(d(g.LOGOUT_SUCCESS),k({type:"user-account",data:{action:"logout_success_account-check-failed",component:"user-account-nav",method:"updateAuthStatus_user-logged-out-due-to-failed-account-check"}}))),a.tokenWithAuthn()&&await a.storeToken(a.getToken(),r)},eA=()=>{let e=e_?"addEventListener":"removeEventListener";R&&R[e](S,eO),P&&P[e](S,()=>{M.classList.contains("header--active")&&eO()}),j&&j[e](S,eO),Y&&Y[e](S,e=>ey(e),{once:!0})},eT=()=>{e_=a.tokenWithAuthn(),eO(),eA(),Z&&(Z.href=e_?eL:eh),e.classList.add(`${F}--${e_?"auth":"unauth"}`),e.classList.remove(`${F}--${e_?"unauth":"auth"}`),e.style.visibility="visible"},eN=e=>{let n=new Boolean("true"!==e.getAttribute("aria-expanded"));e.setAttribute("aria-expanded",n.toString()),t&&!t.isSuppressed&&n.valueOf()&&(t.setSuppressed(),O())},ek=async()=>{if(!e_)return;let t=e.querySelector(".user-account-nav__icon-button--auth");try{await eg.init();let e=eg.getProfileAvatar(),n=p.generateUrl(e);if(n){let e=document.createElement("img");e.src=n,e.classList.add("user-account-nav__avatar"),e.alt="User Avatar",e.ariaLabel="User Avatar",t.innerHTML="",t.appendChild(e)}}catch(e){v("error","Could not retrieve avatar",e)}t.classList.remove("hide")},eb=()=>{M.classList.contains("header--active")&&R.click(),P.click()},eI=()=>{if(u&&eo){let t=e.querySelector(`.${F}__icon-button--auth`);q(e=>{e?t?.addEventListener("click",eb):t?.removeEventListener("click",eb)})}},eC=()=>{en?.classList.remove(`${F}__menu-link--hide`),A(en,{click_action:"topics you follow"}),en.addEventListener("click",()=>{k({type:"user-interaction",data:{interaction:"account nav:topics you can follow"}})}),et&&h()&&y(e_)&&(et.classList.add(".userAccountFollowDot--show"),ea?.classList.add(`${F}__menu-notification-dot--show`));let{shouldShow:n,newCount:a}=w(eo);es&&e.parentNode.classList.contains("header__user-account-nav-icon")&&n&&(t=new f({text:"Find more topics that matter to you in your account menu",emphasisText:"NEW",showDismiss:!0,attachToEl:eo?e:document.getElementById("headerMenuIcon"),variations:eo?["cnn-tooltip--follow-desktop"]:["cnn-tooltip--left","cnn-tooltip--follow-mobile"],onDismiss:()=>{t.setSuppressed(),O(),T({componentId:"tooltip",componentType:"navigation",traits:{click_action:`close tooltip ${a}`}}),k({type:"user-interaction",data:{interaction:`tool tip:close ${a}`}})}})).toggle(!0)},eG=()=>{_(g.LOGOUT_SUCCESS,()=>{window.google?.accounts?.id?.disableAutoSelect(),em&&U(`${em}=true; max-age=86400; path=/`)})},eU=()=>{q(t=>{let n=t?ed&&ei:eo,a=!window.google&&!document.querySelector(".user-account-reg-wall");if(n&&(e_&&eG(),document.addEventListener("login",()=>{em&&D(em),eG()})),a&&n){if(t&&!e_&&!x()||(C({src:l.get("SSO_GOOGLE_SRC"),async:!0,id:"google-sso"}),e_))return;k({type:"user-interaction",data:{interaction:"module load",componentName:"google one tap",componentStellarId:e.getAttribute("data-uri")}}),I({containerEl:e.parentNode,credentialHandler:async t=>{let n=t?.credential,a=t?.select_by;k({type:"user-interaction",data:{interaction:"cnn account:sign in with google:one tap:initiate:click"}});let{success:o,errorStatus:r,userInfo:u}=await i({password:n,ssoType:b.GOOGLE,disableRegFallback:!0,autoLogin:a?.includes("auto"),source:"one-tap"});if(o)c(u)?window.location.assign("/account/log-in?view=tos-update"):document.dispatchEvent(new CustomEvent("login"));else if(420===r){let e=await s({credential:n,identityType:b.GOOGLE}),t=e?.data;t?.length&&N("user-account",[{metric_name:"attempt-account-type",metric_value:b.GOOGLE},{metric_name:"existing-account-type",metric_value:t.map(({identityType:e})=>e).join("_")},{metric_name:"account-action",metric_value:"login"}]),window.sessionStorage.setItem(l.get("SSO_GOOGLE_ID_STORAGE"),t?.length?"420":n),window.location.assign("/account/onboarding/sso")}else new B(e).show({text:"Error",subtext:"Google sign in is having technical issues. Please try again later."})},enableAutoSignIn:ev,enableOneTap:!0})}})},eD=async()=>{eo&&await a.checkAndRefreshToken(r),await ef(),eT(),eI(),[...X].forEach(t=>{t.addEventListener(S,n=>{n.preventDefault(),ew(!1),eN(t),e.focus({preventScroll:!0})})}),W&&X.length&&[...X].forEach(e=>{e.addEventListener(S,()=>{W.classList.contains(`${H}--active`)&&z.click()})}),e?.addEventListener("blur",e=>{let t=e.relatedTarget||document.activeElement;!e?.currentTarget?.contains(t)&&window.innerWidth>$&&eO()}),z?.addEventListener(S,()=>{J?.classList.contains(K)&&W?.classList.contains(`${H}--active`)&&eO()}),document.addEventListener("login",()=>{eT()}),_(g.LOGOUT_SUCCESS,()=>{eo&&document.dispatchEvent(new CustomEvent("logout")),a.removeToken(),eT(),L()}),"true"===ec&&await ek(),y(e_)&&eC();let t=l.get("ONE_TAP_EXCLUDED_COUNTRIES",[]);ep&&!t.includes(eS)&&eu&&q(e=>{let{isPageType:t,PAGE_TYPES:n}=window.CNN.helpers;if(t(n.ARTICLE)&&e){let e=document.querySelector('[data-uri*="_components/article/"]')?.dataset,t=e?.subscriberOnly==="true";e?.paywallDisabled==="true"?eU():t||_(m.UPDATE_STATUS,e=>{e.fired||eU()})}else eU()})};await eD(),window.addEventListener("resize",()=>{eI()})}let t={};for(let[n,a]of Object.entries({zjsNavigationType:"mobile:sub,desktop:main",zjsNavigationLocation:"header,footer"})){let o=a.split(",").filter(t=>e.parentNode.className.includes(t.split(":")[0]));1===o.length&&(o=o[0].split(":"),t[n]=o[1]??o[0])}e.querySelectorAll('[data-zjs-navigation-type=""]').forEach(e=>Object.assign(e.dataset,t))}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","434","2207","549","92","477","125","317","644","2051","478","496","32","495","435","489","11","432","221","80","433","470","36","81","1","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","68","486","485","9","93","19","6","475","22","474","74","1794","2328","1804","3033","2327","430","23","33","54","55","439","53","56"],()=>t("user-account-nav.client"));var n=e.O();(modules=void 0===modules?{}:modules)["user-account-nav.client"]=n}]);
/* window.modules["adfuel.legacy"] */ var modules;(self.modules=self.modules||[]).push([["adfuel.legacy"],{"formfield-radio-buttons.client":(e,t,s)=>{"use strict";let{actions:i,dispatch:l,subscribe:o}=s("36"),{RADIO_BUTTONS:n}=i,{keyNavigationUtility:a}=s("45");class d{constructor(e){this.el=e,this.className="formfield-radio-buttons",this.radioClassName=`${this.className}__option`,this.selectedRadioClassName=`${this.radioClassName}--selected`,this.radioInputClassName=`.${this.radioClassName}-input`,this.optionTagShowClassName=`${this.radioClassName}__option-tag--show`,this.selectedItem=null,this.selectedItemInput=null,this.lastSelectedRadio=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.options=this.el.querySelectorAll(`.${this.radioClassName}`),this.options.forEach(e=>e.addEventListener("click",this.handleOptionClick)),this.options.forEach(e=>e.addEventListener("keydown",this.handleOptionSelection)),o(n.SET_SELECTED,({selectedItem:e})=>{this.selectedItem=e,this.setSelectedItem()}),o(n.TOGGLE_SHOW_PILL,({itemToTogglePill:e})=>{let t=e.classList.contains(this.optionTagShowClassName)?"remove":"add";e.classList[t](this.optionTagShowClassName)})}handleOptionClick=e=>{e.preventDefault(),this.selectedItem=e.target.closest(`.${this.radioClassName}`),this.setSelectedItem()};handleOptionSelection=e=>a(e,{Enter:this.handleOptionClick," ":this.handleOptionClick,ArrowDown:this.focusNextOption,ArrowRight:this.focusNextOption,ArrowUp:this.focusPreviousOption,ArrowLeft:this.focusPreviousOption});getFocusedOption=()=>[...this.options].find(e=>document.activeElement===e);focusOption=e=>{let t=this.getFocusedOption(),s=e(Array.from(this.options).indexOf(t));this.options[s].focus()};focusNextOption=()=>this.focusOption(e=>e>=this.options.length-1?this.options.length-1:e+1);focusPreviousOption=()=>this.focusOption(e=>e<=0?0:e-1);setSelectedItem=()=>{this.lastSelectedRadio??=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.lastSelectedRadio&&this.clearLastSelection(),this.selectedItemInput=this.selectedItem.querySelector(this.radioInputClassName),this.selectedItem.classList.add(`${this.selectedRadioClassName}`),this.selectedItem.focus(),this.selectedItem.setAttribute("aria-checked","true"),this.selectedItemInput.checked=!0,this.lastSelectedRadio=this.selectedItem,this.lastSelectedRadioInput=this.selectedItemInput,l(n.SELECTED,{selectedItem:this.selectedItem})};getSelectedItem=()=>this.el.querySelector(`.${this.selectedRadioClassName}`);clearLastSelection=()=>{this.lastSelectedRadio.classList.remove(`${this.selectedRadioClassName}`),this.lastSelectedRadio.setAttribute("aria-checked","false"),this.lastSelectedRadioInput.checked=!1};clearSelection=()=>{this.lastSelectedRadio&&(this.clearLastSelection(),this.lastSelectedRadio=null,this.lastSelectedRadioInput=null),this.selectedItem=null,this.selectedItemInput=null};removeAllEventListeners=()=>this.options.forEach(e=>e.removeEventListener("click",this.handleOptionClick))}e.exports=e=>new d(e)},"user-account-reg-wall.client":(e,t,s)=>{"use strict";let{authClient:i}=s("21"),{zionEventHandler:l}=s("19"),{trackMetrics:o}=s("10"),{suppressToasts:n,getUrlObj:a}=s("22"),{defaultManageWallVisibility:d}=s("87"),{smallMaxWidthListener:c}=s("9"),h=s("formfield-radio-buttons.client"),{actions:r,subscribe:u}=s("36"),{RADIO_BUTTONS:m}=r;class p{constructor(e,t=e=>()=>d(e)()){this.el=e,this.manageWallVisibility=t,this.class="user-account-reg-wall",this.componentType="regwall",this.hideClass=`${this.class}--hide`,this.open=!1}init=()=>{this.userIsLoggedIn=i.tokenWithAuthn();let{source:e,componentId:t,componentName:s,dismissible:l,componentStellarId:n,interactionBase:d,wallCount:c,wallMax:r}=this.el.dataset;this.componentId=t,this.source=e,this.wallCount=c??1,this.wallMax=r??1,this.signUpBtn=this.el.querySelector("#regwall-cta-btn"),this.signInLink=this.el.querySelector("#regwall-cta-link"),this.tooltip=this.el.querySelector(`.${this.class}__info`),this.componentName=s,this.componentStellarId=n,this.interactionBase=d,this.dismissible=l,this.wallCountAnalyticsValue=this.wallCount?`:${this.wallCount}`:"";let p=document.querySelector(this.class);p&&p.remove(),this.el.querySelector(`.${this.class}__content`).addEventListener("click",e=>{let t=e.target,s=t===this.signInLink;(s||t===this.signUpBtn)&&o({type:"user-interaction",data:{interaction:`${this.interactionBase}:${s?"sign in":"sign up"}${this.wallCountAnalyticsValue}`}})},!0),this.tooltip?.addEventListener("mouseover",()=>{o({type:"user-interaction",data:{interaction:`${this.interactionBase}:what-is-this${this.wallCountAnalyticsValue}`}})}),l&&this.el.querySelectorAll(`.${this.class}__dismiss, .${this.class}__overlay`).forEach(e=>e.addEventListener("click",()=>{this.handleClose()}));let y="formfield-radio-buttons",f=this.el.querySelector(`.${y}`);if(f&&(h(f),this.signUpBtn)){let e=f.querySelector(`.${y}__option--selected .${y}__option-input`)?.value||"",t=a(this.signUpBtn.href);t.pathname="/account/payment/subscription";let s=e=>{e&&(t.searchParams.set("selected",e),this.signUpBtn.href=t.toString())};s(e),u(m.SELECTED,({selectedItem:e})=>{s(e?.querySelector(".formfield-radio-buttons__option-input")?.value)})}this.manageWallVisibility?.(this.showWall)()};triggerZionTracking=()=>{l({component_id:this.componentId,component_type:"banner",traits:{source:this.source}},"ComponentOnScreen")};restrictView=()=>{this.updateInitialOverflow(),document.documentElement.style.overflow="hidden",c(e=>{e&&!this.dismissible&&(document.body.style.overflow="hidden",document.body.style.position="static",document.body.style.height="100vh")}),this.istyle=document.createElement("style"),this.istyle.type="text/css",this.istyle.id="cnnrwhideiframe",this.istyle.appendChild(document.createTextNode(".obp-rec { display: none !important; }")),document.head.appendChild(this.istyle)};showWall=()=>{this.open||(n(),this.handleOpen(),this.restrictView(),this.triggerZionTracking(),o({type:"user-interaction",data:{interaction:"module load",componentStellarId:this.componentStellarId,componentViewCount:this.wallCount,componentName:this.componentName,componentType:this.componentType}}))};handleOpen=()=>{this.el.classList.remove(this.hideClass),this.open=!0};handleClose=()=>{o({type:"user-interaction",data:{interaction:`${this.componentType}:${this.componentName}:dismiss${this.wallCountAnalyticsValue}`}}),this.el.classList.add(this.hideClass),this.open=!1,document.getElementById(this.istyle.id)?.remove(),document.documentElement.style.overflowX=this.initialOverflowX,document.documentElement.style.overflowY=this.initialOverflowY,c(e=>{e&&!this.dismissible&&(document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.height="unset")})};updateInitialOverflow=()=>{this.initialOverflowX=document.documentElement.style.overflowX,this.initialOverflowY=document.documentElement.style.overflowY}}e.exports=(e,t)=>{let s=new p(e,t);return s.init(),s}},"adfuel.legacy":(e,t,s)=>{e.exports=()=>{"use strict";let{initializeAds:e}=s("406"),{AD_VARIANTS:t,setAdVariant:i,handleAdVariant:l}=s("195"),{initializeFocusModeAds:o,isEligibleForFocusMode:n,FOCUS_MODE_EVENT:a}=s("405"),{getAdfuelSrc:d}=s("310"),{addScriptTag:c}=s("1");function h(){c({src:d("head"),async:!0,data:{uid:"adfuel"},onload:()=>window.dispatchEvent(new CustomEvent("adfuel.loaded",{detail:{bundle:"head"}}))}),c({src:d("body"),async:!0,data:{uid:"adfuel-body"},onload:()=>window.dispatchEvent(new CustomEvent("adfuel-body.loaded",{detail:{bundle:"body"}}))})}function r(e){let{isFocusMode:s}=e.detail;s?i(t.FOCUS_MODE):i(t.DEFAULT)}window.addEventListener("adfuel-body.loaded",t=>{let{isFocusMode:s}=t.detail;s?o():e()}),l({[t.DEFAULT]:function(){let e=new URLSearchParams(window.location.search||"").get("afcdn");e?c({src:`/unstable-adfuel-injector.js?profile=${e}`,async:!0,onerror:e=>{console.error(`Error loading experimental adfuel bundles: ${e} - falling back to default bundles`),h()}}):h()},[t.FOCUS_MODE]:function(){c({src:d("lite"),async:!0,data:{uid:"adfuel-lite"},onload:()=>(document.removeEventListener(a,r),window.dispatchEvent(new CustomEvent("adfuel-body.loaded",{detail:{isFocusMode:!0}})))})}}),n()?document.addEventListener(a,r):i(t.DEFAULT)}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","82","2040","3041","92","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","477","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","317","2051","478","496","32","495","435","489","11","314","432","221","80","534","433","470","36","532","197","108","2010","81","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","305","68","486","485","458","2056","2057","9","93","19","6","475","22","474","74","59","494","4747","4210","49","5149","5150","5154","5155","4737","436","1831","355","1823","354","4333","4851","531","91","4727","4803","2597","2889","2950","2930","2790","2899","2624","2622","2969","2800","2610","4885","2933","2738","2600","4804","2611","2925","2788","2928","2837","2728","2910","2814","2802","4806","2894","2929","2798","2939","2938","2934","2783","4763","2953","2612","2804","2739","2822","2970","2799","2826","2740","2915","2696","4812","2892","2838","2794","2718","2733","2643","2729","4838","2778","2758","4845","2913","2793","2660","4809","2907","2948","2601","2955","2591","2893","2867","2759","2823","2868","2977","2993","2982","2576","2655","2653","2590","2734","4829","2650","2623","2824","2959","4810","2897","2682","2596","2694","2785","2659","2571","2949","2691","2595","2842","2914","2903","2627","2827","2628","2605","2581","2586","4943","2763","2575","2743","2898","2585","2570","2580","2789","2615","2965","2819","2744","484","2918","2944","2582","2577","2567","2644","2606","2878","2654","2818","2833","2719","2754","2883","2648","2564","2681","2923","2848","4778","2724","2888","2572","2769","2616","2864","2701","2808","2774","2882","2768","2649","2592","2706","2919","2764","2853","2873","2784","2685","2908","2978","2994","2983","2960","2847","2843","4805","2924","2773","2749","4964","2817","2686","2877","2887","4928","2902","2858","2863","2690","2943","2566","2714","4783","2723","4768","2834","2779","2700","4877","2809","2748","2619","2705","2697","2753","4834","4930","4756","2730","2964","4835","4942","4904","2832","4766","4775","4774","4767","4883","4963","4800","2715","2857","2862","4920","4779","2680","2852","2872","4780","2735","2713","2607","2935","2780","4777","2725","4782","4935","4824","2604","4891","4886","2920","2869","2656","2602","2775","4860","4887","2640","4811","2599","2829","2945","2891","4781","4772","4790","2844","2961","2755","4755","4794","2831","2677","4880","2896","2692","4969","2765","4859","2562","2849","2760","2587","4769","2940","2770","2687","2668","2952","2702","2874","4836","4870","2866","2854","2859","4771","2884","4855","2839","2720","2879","2966","2904","4787","2710","2645","2745","2990","2979","2971","2956","2750","2805","4939","4825","4856","4788","4823","2792","4933","4773","4950","2772","4776","4853","4882","4858","4857","4934","4764","4854","4758","4940","4791","4757","4972","4973","4971","4759","4789","4760","4968","2795","4976","4974","4944","2159","4761","4936","4762","4967","4865","4931","2183","4929","2177","4869","2143","4866","4953","4941","4938","4797","2097","4873","2122","4864","4816","4906","4868","4817","4861","4867","4879","4881","4878","4932","2140","2093","4871","2121","4949","2162","2160","2096","4884","4896","4965","4945","4793","4821","4822","4813","4802","2472","2172","2158","2142","444","2828","2726","2138","2185","4954","4952","2801","2967","4951","2165","2119","4796","2136","4795","2149","2114","2094","2182","2104","2176","4948","2736","2101","4792","2083","2895","2164","2125","2137","4826","2179","2152","2091","2090","2168","2154","2098","2163","2141","2089","4850","2529","2166","2099","2145","2157","2120","2815","2651","2926","4820","2100","4847","2912","2113","2084","4876","2102","2103","4833","4832","4815","4889","2976","2144","2085","2161","4831","4828","4890","4814","2123","2086","2148","2181","2088","2151","2128","2118","2184","2171","2092","2153","2124","2170","2155","2117","2931","4888","2126","2147","2116","2139","2082","2175","2180","2167","2174","4818","2095","2169","2178","2156","2146","2127","4827","2614","2901","4875","2936","4872","4862","4895","4927","2115","4874","2835","4919","2917","2742","4863","4848","4966","2688","2875","4801","2825","4962","2573","2608","4921","2880","4852","2781","4840","2786","2588","4799","4892","2796","2669","2583","2578","2568","2674","2911","2951","2946","2676","2675","2666","2641","2620","2991","2980","2975","2916","2613","2905","2716","2885","2731","2721","2693","2673","2563","2806","2756","2746","2870","2850","2820","2766","2646","2625","2741","2683","2941","2840","2761","2087","2921","2593","4897","2845","2707","2698","2855","2860","2711","2703","2708","2776","2657","2900","2865","2751","4955","2771","4798","4770","4846","4893","4917","4841","4915","4909","4916","4918","4914","4908","4907","4894","2678","2791","4905","2890","2598","2830","2603","4902","4900","4979","2957","2962","4903","4844","4842","4901","4899","4898","4978","4977","4348","2752","2816","2658","2626","2621","2722","2881","2797","2689","2927","2727","2932","2574","2609","2836","2937","2709","2594","2803","2584","2579","2569","2782","2787","2589","2942","2704","2762","2767","2679","2652","2737","2968","2777","2757","2807","2732","2947","2963","2565","2841","2717","2695","2684","2747","2699","2846","2647","2886","2876","2851","2871","2856","2958","2906","2861","2712","2922","2642","2992","2981","2821","5148","50","45","2","472","481","2042","90","2043","488","491","487","493","492","87","456","7","415","249","195","344","405","310","406"],()=>t("adfuel.legacy"));var s=e.O();(modules=void 0===modules?{}:modules)["adfuel.legacy"]=s}]);
/* window.modules["adfuel-metrics.legacy"] */ var modules;(self.modules=self.modules||[]).push([["adfuel-metrics.legacy"],{"adfuel-metrics.legacy":(e,t,i)=>{e.exports=()=>{"use strict";let e=i("51"),t=i("81"),r=i("418"),n=i("18"),a={},d={performance:{AFCreated:["[ADFUEL TS] AdFuel Created"],"AFBuildStart[].id":["[ADFUEL TS] Building Slot","START"],"AFBuildEnd[].id":["[ADFUEL TS] Building Slot","END"],AFReqStart:["[ADFUEL TS] Processing Request","START"],AFReqEnd:["[ADFUEL TS] Processing Request","END"],AFQRegStart:["[ADFUEL TS] Queueing Registry","START"],AFQRegEnd:["[ADFUEL TS] Processing Registry"],GPTFirstAdReq:["[ADFUEL TS] Configuring GPT","START"],GPTFirstAdRend:["[ADFUEL TS] Configuring GPT","END"]},event:{"GPTRC[].id":"GPTRenderComplete","GPTSL[].id":"GPTSlotLoaded"}},s=(e,i)=>{r(a,t({},e.replace("[]","[0]"),i),(e,t)=>{if(Array.isArray(e))return e.concat(t)})},o=(t,i,r)=>{let n=t;if(n.includes(".")){let[t,a]=n.split(".");n=`${t}.${e({...r,id:i},a,"")}`}s(n,parseFloat(r.startTime.toFixed(2)))},l=(e,t)=>(Object.entries(e).find(([,e])=>new RegExp(e.join(".+").replace(/\[/g,"\\[")).test(t))||[]).shift(),c=e=>{let t={...e,page_variant:window.CNN.contentModel.templateType,event_source:"stellar"};window.zion_analytics.track(new window.ZION_SDK.AdPerformance(t))},T=()=>{window.performance.getEntriesByType("mark").forEach(e=>{let t=l(d.performance,e.name);if(t){let i=e.name.match(/\[([a-z_\d]+)]/);o(t,i?i[1]:"",e)}}),c(a),window.removeEventListener("visibilitychange",T)};if(n.get("ENABLE_ADFUEL_METRICS")){let e=new Map;Object.entries(d.event).forEach(([t,i])=>{document.addEventListener(i,({detail:r})=>{let n=r.divId||r.slot.getSlotId().getDomId(),a=`${n}_${i}`,d=e.get(a);e.has(a)?(e.set(a,d+1),o(t,`${n}_refresh_${String(e.get(a)).padStart(2,"0")}`,{startTime:window.performance.now()})):(o(t,n,{startTime:window.performance.now()}),e.set(a,0))})}),window.addEventListener("visibilitychange",T)}}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","2513","2511","4288","2022","1857","18","429","1859","1645","468","470","81","469","2391","1826","1827","4050","2389","2392","418"],()=>t("adfuel-metrics.legacy"));var i=e.O();(modules=void 0===modules?{}:modules)["adfuel-metrics.legacy"]=i}]);
/* window.modules["ad-feedback-events.legacy"] */ var modules;(self.modules=self.modules||[]).push([["ad-feedback-events.legacy"],{"ad-feedback-events.legacy":(e,t,d)=>{e.exports=()=>{"use strict";let{ENABLE_AD_FEEDBACK_DISPLAY_ADS:e}=d("7"),{ShowAdFeedbackDispatcher:t}=d("415"),{AdDataType:a}=d("456");window.CNN.AdFeedback={openModal:d=>{e&&d&&d.currentTarget&&d.currentTarget.previousElementSibling&&d.currentTarget.previousElementSibling.getAttribute("id")&&new t().showFeedback({adType:a.DISPLAY,adIdentifier:d.currentTarget.previousElementSibling.getAttribute("id")})}}}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","2408","1858","1857","18","429","1859","432","221","80","433","36","456","7","415"],()=>t("ad-feedback-events.legacy"));var d=e.O();(modules=void 0===modules?{}:modules)["ad-feedback-events.legacy"]=d}]);
/* window.modules["focus-mode-gpt-service.legacy"] */ var modules;(self.modules=self.modules||[]).push([["focus-mode-gpt-service.legacy"],{"formfield-radio-buttons.client":(e,t,s)=>{"use strict";let{actions:i,dispatch:o,subscribe:a}=s("36"),{RADIO_BUTTONS:l}=i,{keyNavigationUtility:n}=s("45");class d{constructor(e){this.el=e,this.className="formfield-radio-buttons",this.radioClassName=`${this.className}__option`,this.selectedRadioClassName=`${this.radioClassName}--selected`,this.radioInputClassName=`.${this.radioClassName}-input`,this.optionTagShowClassName=`${this.radioClassName}__option-tag--show`,this.selectedItem=null,this.selectedItemInput=null,this.lastSelectedRadio=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.options=this.el.querySelectorAll(`.${this.radioClassName}`),this.options.forEach(e=>e.addEventListener("click",this.handleOptionClick)),this.options.forEach(e=>e.addEventListener("keydown",this.handleOptionSelection)),a(l.SET_SELECTED,({selectedItem:e})=>{this.selectedItem=e,this.setSelectedItem()}),a(l.TOGGLE_SHOW_PILL,({itemToTogglePill:e})=>{let t=e.classList.contains(this.optionTagShowClassName)?"remove":"add";e.classList[t](this.optionTagShowClassName)})}handleOptionClick=e=>{e.preventDefault(),this.selectedItem=e.target.closest(`.${this.radioClassName}`),this.setSelectedItem()};handleOptionSelection=e=>n(e,{Enter:this.handleOptionClick," ":this.handleOptionClick,ArrowDown:this.focusNextOption,ArrowRight:this.focusNextOption,ArrowUp:this.focusPreviousOption,ArrowLeft:this.focusPreviousOption});getFocusedOption=()=>[...this.options].find(e=>document.activeElement===e);focusOption=e=>{let t=this.getFocusedOption(),s=e(Array.from(this.options).indexOf(t));this.options[s].focus()};focusNextOption=()=>this.focusOption(e=>e>=this.options.length-1?this.options.length-1:e+1);focusPreviousOption=()=>this.focusOption(e=>e<=0?0:e-1);setSelectedItem=()=>{this.lastSelectedRadio??=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.lastSelectedRadio&&this.clearLastSelection(),this.selectedItemInput=this.selectedItem.querySelector(this.radioInputClassName),this.selectedItem.classList.add(`${this.selectedRadioClassName}`),this.selectedItem.focus(),this.selectedItem.setAttribute("aria-checked","true"),this.selectedItemInput.checked=!0,this.lastSelectedRadio=this.selectedItem,this.lastSelectedRadioInput=this.selectedItemInput,o(l.SELECTED,{selectedItem:this.selectedItem})};getSelectedItem=()=>this.el.querySelector(`.${this.selectedRadioClassName}`);clearLastSelection=()=>{this.lastSelectedRadio.classList.remove(`${this.selectedRadioClassName}`),this.lastSelectedRadio.setAttribute("aria-checked","false"),this.lastSelectedRadioInput.checked=!1};clearSelection=()=>{this.lastSelectedRadio&&(this.clearLastSelection(),this.lastSelectedRadio=null,this.lastSelectedRadioInput=null),this.selectedItem=null,this.selectedItemInput=null};removeAllEventListeners=()=>this.options.forEach(e=>e.removeEventListener("click",this.handleOptionClick))}e.exports=e=>new d(e)},"user-account-reg-wall.client":(e,t,s)=>{"use strict";let{authClient:i}=s("21"),{zionEventHandler:o}=s("19"),{trackMetrics:a}=s("10"),{suppressToasts:l,getUrlObj:n}=s("22"),{defaultManageWallVisibility:d}=s("87"),{smallMaxWidthListener:r}=s("9"),c=s("formfield-radio-buttons.client"),{actions:u,subscribe:h}=s("36"),{RADIO_BUTTONS:p}=u;class m{constructor(e,t=e=>()=>d(e)()){this.el=e,this.manageWallVisibility=t,this.class="user-account-reg-wall",this.componentType="regwall",this.hideClass=`${this.class}--hide`,this.open=!1}init=()=>{this.userIsLoggedIn=i.tokenWithAuthn();let{source:e,componentId:t,componentName:s,dismissible:o,componentStellarId:l,interactionBase:d,wallCount:r,wallMax:u}=this.el.dataset;this.componentId=t,this.source=e,this.wallCount=r??1,this.wallMax=u??1,this.signUpBtn=this.el.querySelector("#regwall-cta-btn"),this.signInLink=this.el.querySelector("#regwall-cta-link"),this.tooltip=this.el.querySelector(`.${this.class}__info`),this.componentName=s,this.componentStellarId=l,this.interactionBase=d,this.dismissible=o,this.wallCountAnalyticsValue=this.wallCount?`:${this.wallCount}`:"";let m=document.querySelector(this.class);m&&m.remove(),this.el.querySelector(`.${this.class}__content`).addEventListener("click",e=>{let t=e.target,s=t===this.signInLink;(s||t===this.signUpBtn)&&a({type:"user-interaction",data:{interaction:`${this.interactionBase}:${s?"sign in":"sign up"}${this.wallCountAnalyticsValue}`}})},!0),this.tooltip?.addEventListener("mouseover",()=>{a({type:"user-interaction",data:{interaction:`${this.interactionBase}:what-is-this${this.wallCountAnalyticsValue}`}})}),o&&this.el.querySelectorAll(`.${this.class}__dismiss, .${this.class}__overlay`).forEach(e=>e.addEventListener("click",()=>{this.handleClose()}));let g="formfield-radio-buttons",y=this.el.querySelector(`.${g}`);if(y&&(c(y),this.signUpBtn)){let e=y.querySelector(`.${g}__option--selected .${g}__option-input`)?.value||"",t=n(this.signUpBtn.href);t.pathname="/account/payment/subscription";let s=e=>{e&&(t.searchParams.set("selected",e),this.signUpBtn.href=t.toString())};s(e),h(p.SELECTED,({selectedItem:e})=>{s(e?.querySelector(".formfield-radio-buttons__option-input")?.value)})}this.manageWallVisibility?.(this.showWall)()};triggerZionTracking=()=>{o({component_id:this.componentId,component_type:"banner",traits:{source:this.source}},"ComponentOnScreen")};restrictView=()=>{this.updateInitialOverflow(),document.documentElement.style.overflow="hidden",r(e=>{e&&!this.dismissible&&(document.body.style.overflow="hidden",document.body.style.position="static",document.body.style.height="100vh")}),this.istyle=document.createElement("style"),this.istyle.type="text/css",this.istyle.id="cnnrwhideiframe",this.istyle.appendChild(document.createTextNode(".obp-rec { display: none !important; }")),document.head.appendChild(this.istyle)};showWall=()=>{this.open||(l(),this.handleOpen(),this.restrictView(),this.triggerZionTracking(),a({type:"user-interaction",data:{interaction:"module load",componentStellarId:this.componentStellarId,componentViewCount:this.wallCount,componentName:this.componentName,componentType:this.componentType}}))};handleOpen=()=>{this.el.classList.remove(this.hideClass),this.open=!0};handleClose=()=>{a({type:"user-interaction",data:{interaction:`${this.componentType}:${this.componentName}:dismiss${this.wallCountAnalyticsValue}`}}),this.el.classList.add(this.hideClass),this.open=!1,document.getElementById(this.istyle.id)?.remove(),document.documentElement.style.overflowX=this.initialOverflowX,document.documentElement.style.overflowY=this.initialOverflowY,r(e=>{e&&!this.dismissible&&(document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.height="unset")})};updateInitialOverflow=()=>{this.initialOverflowX=document.documentElement.style.overflowX,this.initialOverflowY=document.documentElement.style.overflowY}}e.exports=(e,t)=>{let s=new m(e,t);return s.init(),s}},"focus-mode-gpt-service.legacy":(e,t,s)=>{e.exports=()=>{"use strict";let t=s("18"),{PAGE_VARIANTS:i,isPageVariant:o}=s("89"),{isEdition:a}=s("197"),{FOCUS_MODE_EVENT:l,getFocusModeConfigs:n,isEligibleForFocusMode:d}=s("405"),{getCookie:r}=s("1"),c=t.get("FOCUS_MODE_TIMEOUT"),u=t.get("PRISM_SRC"),h=t.get("FOCUS_MODE_GPT_SCRIPT_SRC"),p=t.get("ENABLE_FOCUS_MODE"),m=["data-store","ads-contextual","ads-person-prof","ads-person","vendor"],g="GPTScript",y="focus-mode-sponsored",w=`
:is(html[data-layout-uri*='layout-with-rail'], html[data-layout-uri*='layout-article-elevate']) .${y} .ad-slot:not(.adSlotLoaded)[data-uri*="/_components/ad-slot/"]:not([data-desktop-slot-id="ad_focus_btf_01"]),
:is(html[data-layout-uri*='layout-with-rail'], html[data-layout-uri*='layout-article-elevate']) .${y} .qtm-element,
:is(html[data-layout-uri*='layout-with-rail'], html[data-layout-uri*='layout-article-elevate']) .${y} [data-uri*="/_components/bizdev"],
:is(html[data-layout-uri*='layout-with-rail'], html[data-layout-uri*='layout-article-elevate']) .${y} .teads-inread,
html .${y} .ad-slot-rail,
html .${y} .ad-slot-rail_right {
display: none;
}
html .${y} .ad-slot-dynamic[data-uri*='cnn-focus-mode-inline-ad'] {
display: flex;
}
html body.${y}:not(.layout-homepage-mobile.kiln-edit-mode):not(.layout-homepage-mobile-app.kiln-edit-mode).layout-article-elevate .openweb-convo__placeholder-wrapper {
flex-direction: row;
justify-content: center;
}
`,S=window.CNN.contentModel.section,f=n(),v=({isFocusMode:e})=>{e||$(),void 0===window.CNN.ads.isFocusMode&&(document.dispatchEvent(new CustomEvent(l,{detail:{isFocusMode:e}})),window.CNN.ads.isFocusMode=e)},I=()=>v({isFocusMode:!0}),C=()=>v({isFocusMode:!1}),_=()=>{if(window.googletag=window.googletag||{cmd:[]},document.querySelector(`#${g}`)){console.warn("Focus Mode: GPT script already exists");return}window.WM.UserConsent.addScript({src:h,async:!0,id:g},m)},b=()=>{let e=document.createElement("style");e.textContent=w,document.head.appendChild(e)},E=()=>{let e=q("adsqa")?.split("=");if(e&&"status"===e[0]&&e[1])return e[1]},T=()=>{let e=r("datid");if(e){googletag?.pubads().setPublisherProvidedId(e);return}let t=r("WMUKID_STABLE");if(t){googletag?.pubads().setTargeting("wmuk",t);return}window.addEventListener("message",e=>{let t=document.getElementById("prism_toolkit")?.contentWindow;e.source==t&&googletag?.pubads().setPublisherProvidedId(e.data)}),window.WM.UserConsent.addScript({src:u},m)},O=(e,t,s=window)=>{if(void 0!==s[e]){t(s[e]);return}Object.defineProperty(s,e,{configurable:!0,set(i){delete s[e],s[e]=i,t?.(i)}})},N=()=>{let e=window.CNN.contentModel?.branding?.spec;if(void 0!==e&&googletag?.pubads().setTargeting("spec",e),a(window.location.hostname)){O("proximicData",e=>{e&&googletag?.pubads().setTargeting("pconid",e)}),O("permutive",e=>{O("config",e=>{O("viewId",e=>{googletag?.pubads().setTargeting("prmtvvid",e)},e),O("workspaceId",e=>{googletag?.pubads().setTargeting("prmtvwid",e)},e)},e)});let e=window.localStorage.getItem("_pdfps"),t=e?JSON.parse(e):[],s=window.localStorage.getItem("permutive-id");if(t&&s)googletag?.pubads().setTargeting("puid",s),googletag?.pubads().setTargeting("ptime",Date.now().toString()),googletag?.pubads().setTargeting("permutive",t);else{let e=localStorage.setItem;localStorage.setItem=function(t,s){return"permutive-id"===t&&(googletag?.pubads().setTargeting("puid",s),googletag?.pubads().setTargeting("ptime",Date.now().toString())),"_pdfps"===t&&googletag?.pubads().setTargeting("permutive",s?JSON.parse(s):[]),e.apply(this,arguments)}}}},$=()=>{let e=document.querySelector(".ad-slot-dynamic[data-uri*='cnn-focus-mode-inline-ad']");e?.remove()},L=e=>{let{networkId:t,adDimensions:s,elementId:i,targeting:o}=e,a=S?`${t}/${S}/leaf`:t,l=E(),{cep_brsf:n=[],cep_iabt:d=[],cep_sent:r=[],cep_tags:c=[],short_source_id:u="",source_id:h=""}=window.CNN.cep_topics||{};l&&(o.status=[l]);let p=document.createElement("div");p.id=i,p.classList.add("focus-mode-top-ad"),document.querySelector(".ad-slot-header__container").appendChild(p),googletag.cmd.push(()=>{o.status?googletag.defineSlot(a,s,i).setTargeting("pos",o.pos).setTargeting("status",o.status).addService(googletag.pubads()):googletag.defineSlot(a,s,i).setTargeting("pos",o.pos).addService(googletag.pubads()),googletag.pubads().setTargeting("cep_brsf",n).setTargeting("cep_iabt",d).setTargeting("cep_sent",r).setTargeting("cep_tags",c).setTargeting("short_source_id",u).setTargeting("source_id",h).collapseEmptyDivs(),googletag.enableServices(),T(),N()})},R=(e,t,s)=>{if(e.slot.getSlotElementId()===t){let t=e.slot.getTargeting("pos"),i=e.isEmpty;t.includes(s[0])&&!i?(b(),document.body.classList.add(y),I()):C()}},k=async(e,t)=>{await new Promise(e=>{window.googletag&&googletag.apiReady?e():googletag.cmd.push(e)}),googletag.cmd.push(()=>{googletag.display(e)}),googletag.cmd.push(()=>{googletag.pubads().addEventListener("slotRenderEnded",s=>{R(s,e,t)})})},q=e=>new URLSearchParams(window.location.search).get(e),P=()=>{let e=q("focus_mode");return!d()||"false"===e||null===e&&!E()&&!1===p},x=()=>{let e=q("focus_mode"),t=q("adsqa");"true"!==e||t||(window.location.search+=`${window.location.search?"&":""}adsqa=status%3Dlimited_ads`)},A=async(e,t)=>{let s;return Promise.race([e,new Promise((e,i)=>{s=setTimeout(()=>i(Error("Operation timed out")),t)})]).then(e=>(clearTimeout(s),e)).catch(e=>{console.error("Focus Mode Error:",e),clearTimeout(s),C()})},M=()=>new Promise(e=>{_(),L(f.gptSlot),k(f.gptSlot.elementId,f.gptSlot.targeting.pos),e()}),D=async()=>{P()?C():(x(),await A(M(),c))};o(i.LIVESTORY)||D(),e.exports={handleSlotRenderEnded:R,withTimeout:A,FOCUS_MODE_CLASS:y,GPT_SCRIPT_ID:g}}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","82","2040","3041","92","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","477","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","317","2051","478","496","32","495","435","489","11","314","432","221","80","534","433","470","36","532","197","108","2010","81","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","305","68","486","485","458","2056","2057","9","93","19","6","475","22","474","74","59","494","4747","4210","49","5149","5150","5154","5155","4737","436","1831","355","1823","354","4333","4851","531","91","4727","4803","2597","2889","2950","2930","2790","2899","2624","2622","2969","2800","2610","4885","2933","2738","2600","4804","2611","2925","2788","2928","2837","2728","2910","2814","2802","4806","2894","2929","2798","2939","2938","2934","2783","4763","2953","2612","2804","2739","2822","2970","2799","2826","2740","2915","2696","4812","2892","2838","2794","2718","2733","2643","2729","4838","2778","2758","4845","2913","2793","2660","4809","2907","2948","2601","2955","2591","2893","2867","2759","2823","2868","2977","2993","2982","2576","2655","2653","2590","2734","4829","2650","2623","2824","2959","4810","2897","2682","2596","2694","2785","2659","2571","2949","2691","2595","2842","2914","2903","2627","2827","2628","2605","2581","2586","4943","2763","2575","2743","2898","2585","2570","2580","2789","2615","2965","2819","2744","484","2918","2944","2582","2577","2567","2644","2606","2878","2654","2818","2833","2719","2754","2883","2648","2564","2681","2923","2848","4778","2724","2888","2572","2769","2616","2864","2701","2808","2774","2882","2768","2649","2592","2706","2919","2764","2853","2873","2784","2685","2908","2978","2994","2983","2960","2847","2843","4805","2924","2773","2749","4964","2817","2686","2877","2887","4928","2902","2858","2863","2690","2943","2566","2714","4783","2723","4768","2834","2779","2700","4877","2809","2748","2619","2705","2697","2753","4834","4930","4756","2730","2964","4835","4942","4904","2832","4766","4775","4774","4767","4883","4963","4800","2715","2857","2862","4920","4779","2680","2852","2872","4780","2735","2713","2607","2935","2780","4777","2725","4782","4935","4824","2604","4891","4886","2920","2869","2656","2602","2775","4860","4887","2640","4811","2599","2829","2945","2891","4781","4772","4790","2844","2961","2755","4755","4794","2831","2677","4880","2896","2692","4969","2765","4859","2562","2849","2760","2587","4769","2940","2770","2687","2668","2952","2702","2874","4836","4870","2866","2854","2859","4771","2884","4855","2839","2720","2879","2966","2904","4787","2710","2645","2745","2990","2979","2971","2956","2750","2805","4939","4825","4856","4788","4823","2792","4933","4773","4950","2772","4776","4853","4882","4858","4857","4934","4764","4854","4758","4940","4791","4757","4972","4973","4971","4759","4789","4760","4968","2795","4976","4974","4944","2159","4761","4936","4762","4967","4865","4931","2183","4929","2177","4869","2143","4866","4953","4941","4938","4797","2097","4873","2122","4864","4816","4906","4868","4817","4861","4867","4879","4881","4878","4932","2140","2093","4871","2121","4949","2162","2160","2096","4884","4896","4965","4945","4793","4821","4822","4813","4802","2472","2172","2158","2142","444","2828","2726","2138","2185","4954","4952","2801","2967","4951","2165","2119","4796","2136","4795","2149","2114","2094","2182","2104","2176","4948","2736","2101","4792","2083","2895","2164","2125","2137","4826","2179","2152","2091","2090","2168","2154","2098","2163","2141","2089","4850","2529","2166","2099","2145","2157","2120","2815","2651","2926","4820","2100","4847","2912","2113","2084","4876","2102","2103","4833","4832","4815","4889","2976","2144","2085","2161","4831","4828","4890","4814","2123","2086","2148","2181","2088","2151","2128","2118","2184","2171","2092","2153","2124","2170","2155","2117","2931","4888","2126","2147","2116","2139","2082","2175","2180","2167","2174","4818","2095","2169","2178","2156","2146","2127","4827","2614","2901","4875","2936","4872","4862","4895","4927","2115","4874","2835","4919","2917","2742","4863","4848","4966","2688","2875","4801","2825","4962","2573","2608","4921","2880","4852","2781","4840","2786","2588","4799","4892","2796","2669","2583","2578","2568","2674","2911","2951","2946","2676","2675","2666","2641","2620","2991","2980","2975","2916","2613","2905","2716","2885","2731","2721","2693","2673","2563","2806","2756","2746","2870","2850","2820","2766","2646","2625","2741","2683","2941","2840","2761","2087","2921","2593","4897","2845","2707","2698","2855","2860","2711","2703","2708","2776","2657","2900","2865","2751","4955","2771","4798","4770","4846","4893","4917","4841","4915","4909","4916","4918","4914","4908","4907","4894","2678","2791","4905","2890","2598","2830","2603","4902","4900","4979","2957","2962","4903","4844","4842","4901","4899","4898","4978","4977","4348","2752","2816","2658","2626","2621","2722","2881","2797","2689","2927","2727","2932","2574","2609","2836","2937","2709","2594","2803","2584","2579","2569","2782","2787","2589","2942","2704","2762","2767","2679","2652","2737","2968","2777","2757","2807","2732","2947","2963","2565","2841","2717","2695","2684","2747","2699","2846","2647","2886","2876","2851","2871","2856","2958","2906","2861","2712","2922","2642","2992","2981","2821","5148","50","45","2","472","481","2042","90","2043","488","491","487","493","492","87","89","456","7","415","249","344","405"],()=>t("focus-mode-gpt-service.legacy"));var s=e.O();(modules=void 0===modules?{}:modules)["focus-mode-gpt-service.legacy"]=s}]);
/* window.modules["bizdev-wunderkind.legacy"] */ var modules;(self.modules=self.modules||[]).push([["bizdev-wunderkind.legacy"],{"formfield-radio-buttons.client":(e,t,s)=>{"use strict";let{actions:i,dispatch:l,subscribe:o}=s("36"),{RADIO_BUTTONS:n}=i,{keyNavigationUtility:a}=s("45");class c{constructor(e){this.el=e,this.className="formfield-radio-buttons",this.radioClassName=`${this.className}__option`,this.selectedRadioClassName=`${this.radioClassName}--selected`,this.radioInputClassName=`.${this.radioClassName}-input`,this.optionTagShowClassName=`${this.radioClassName}__option-tag--show`,this.selectedItem=null,this.selectedItemInput=null,this.lastSelectedRadio=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.options=this.el.querySelectorAll(`.${this.radioClassName}`),this.options.forEach(e=>e.addEventListener("click",this.handleOptionClick)),this.options.forEach(e=>e.addEventListener("keydown",this.handleOptionSelection)),o(n.SET_SELECTED,({selectedItem:e})=>{this.selectedItem=e,this.setSelectedItem()}),o(n.TOGGLE_SHOW_PILL,({itemToTogglePill:e})=>{let t=e.classList.contains(this.optionTagShowClassName)?"remove":"add";e.classList[t](this.optionTagShowClassName)})}handleOptionClick=e=>{e.preventDefault(),this.selectedItem=e.target.closest(`.${this.radioClassName}`),this.setSelectedItem()};handleOptionSelection=e=>a(e,{Enter:this.handleOptionClick," ":this.handleOptionClick,ArrowDown:this.focusNextOption,ArrowRight:this.focusNextOption,ArrowUp:this.focusPreviousOption,ArrowLeft:this.focusPreviousOption});getFocusedOption=()=>[...this.options].find(e=>document.activeElement===e);focusOption=e=>{let t=this.getFocusedOption(),s=e(Array.from(this.options).indexOf(t));this.options[s].focus()};focusNextOption=()=>this.focusOption(e=>e>=this.options.length-1?this.options.length-1:e+1);focusPreviousOption=()=>this.focusOption(e=>e<=0?0:e-1);setSelectedItem=()=>{this.lastSelectedRadio??=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.lastSelectedRadio&&this.clearLastSelection(),this.selectedItemInput=this.selectedItem.querySelector(this.radioInputClassName),this.selectedItem.classList.add(`${this.selectedRadioClassName}`),this.selectedItem.focus(),this.selectedItem.setAttribute("aria-checked","true"),this.selectedItemInput.checked=!0,this.lastSelectedRadio=this.selectedItem,this.lastSelectedRadioInput=this.selectedItemInput,l(n.SELECTED,{selectedItem:this.selectedItem})};getSelectedItem=()=>this.el.querySelector(`.${this.selectedRadioClassName}`);clearLastSelection=()=>{this.lastSelectedRadio.classList.remove(`${this.selectedRadioClassName}`),this.lastSelectedRadio.setAttribute("aria-checked","false"),this.lastSelectedRadioInput.checked=!1};clearSelection=()=>{this.lastSelectedRadio&&(this.clearLastSelection(),this.lastSelectedRadio=null,this.lastSelectedRadioInput=null),this.selectedItem=null,this.selectedItemInput=null};removeAllEventListeners=()=>this.options.forEach(e=>e.removeEventListener("click",this.handleOptionClick))}e.exports=e=>new c(e)},"user-account-reg-wall.client":(e,t,s)=>{"use strict";let{authClient:i}=s("21"),{zionEventHandler:l}=s("19"),{trackMetrics:o}=s("10"),{suppressToasts:n,getUrlObj:a}=s("22"),{defaultManageWallVisibility:c}=s("87"),{smallMaxWidthListener:d}=s("9"),h=s("formfield-radio-buttons.client"),{actions:r,subscribe:u}=s("36"),{RADIO_BUTTONS:m}=r;class p{constructor(e,t=e=>()=>c(e)()){this.el=e,this.manageWallVisibility=t,this.class="user-account-reg-wall",this.componentType="regwall",this.hideClass=`${this.class}--hide`,this.open=!1}init=()=>{this.userIsLoggedIn=i.tokenWithAuthn();let{source:e,componentId:t,componentName:s,dismissible:l,componentStellarId:n,interactionBase:c,wallCount:d,wallMax:r}=this.el.dataset;this.componentId=t,this.source=e,this.wallCount=d??1,this.wallMax=r??1,this.signUpBtn=this.el.querySelector("#regwall-cta-btn"),this.signInLink=this.el.querySelector("#regwall-cta-link"),this.tooltip=this.el.querySelector(`.${this.class}__info`),this.componentName=s,this.componentStellarId=n,this.interactionBase=c,this.dismissible=l,this.wallCountAnalyticsValue=this.wallCount?`:${this.wallCount}`:"";let p=document.querySelector(this.class);p&&p.remove(),this.el.querySelector(`.${this.class}__content`).addEventListener("click",e=>{let t=e.target,s=t===this.signInLink;(s||t===this.signUpBtn)&&o({type:"user-interaction",data:{interaction:`${this.interactionBase}:${s?"sign in":"sign up"}${this.wallCountAnalyticsValue}`}})},!0),this.tooltip?.addEventListener("mouseover",()=>{o({type:"user-interaction",data:{interaction:`${this.interactionBase}:what-is-this${this.wallCountAnalyticsValue}`}})}),l&&this.el.querySelectorAll(`.${this.class}__dismiss, .${this.class}__overlay`).forEach(e=>e.addEventListener("click",()=>{this.handleClose()}));let y="formfield-radio-buttons",S=this.el.querySelector(`.${y}`);if(S&&(h(S),this.signUpBtn)){let e=S.querySelector(`.${y}__option--selected .${y}__option-input`)?.value||"",t=a(this.signUpBtn.href);t.pathname="/account/payment/subscription";let s=e=>{e&&(t.searchParams.set("selected",e),this.signUpBtn.href=t.toString())};s(e),u(m.SELECTED,({selectedItem:e})=>{s(e?.querySelector(".formfield-radio-buttons__option-input")?.value)})}this.manageWallVisibility?.(this.showWall)()};triggerZionTracking=()=>{l({component_id:this.componentId,component_type:"banner",traits:{source:this.source}},"ComponentOnScreen")};restrictView=()=>{this.updateInitialOverflow(),document.documentElement.style.overflow="hidden",d(e=>{e&&!this.dismissible&&(document.body.style.overflow="hidden",document.body.style.position="static",document.body.style.height="100vh")}),this.istyle=document.createElement("style"),this.istyle.type="text/css",this.istyle.id="cnnrwhideiframe",this.istyle.appendChild(document.createTextNode(".obp-rec { display: none !important; }")),document.head.appendChild(this.istyle)};showWall=()=>{this.open||(n(),this.handleOpen(),this.restrictView(),this.triggerZionTracking(),o({type:"user-interaction",data:{interaction:"module load",componentStellarId:this.componentStellarId,componentViewCount:this.wallCount,componentName:this.componentName,componentType:this.componentType}}))};handleOpen=()=>{this.el.classList.remove(this.hideClass),this.open=!0};handleClose=()=>{o({type:"user-interaction",data:{interaction:`${this.componentType}:${this.componentName}:dismiss${this.wallCountAnalyticsValue}`}}),this.el.classList.add(this.hideClass),this.open=!1,document.getElementById(this.istyle.id)?.remove(),document.documentElement.style.overflowX=this.initialOverflowX,document.documentElement.style.overflowY=this.initialOverflowY,d(e=>{e&&!this.dismissible&&(document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.height="unset")})};updateInitialOverflow=()=>{this.initialOverflowX=document.documentElement.style.overflowX,this.initialOverflowY=document.documentElement.style.overflowY}}e.exports=(e,t)=>{let s=new p(e,t);return s.init(),s}},"bizdev-wunderkind.legacy":(e,t,s)=>{e.exports=()=>{"use strict";let{handleDefaultAdVariant:e}=s("195"),t=s("18"),{isEditionPage:i,isEspanolPage:l}=s("1"),{isEligibleForFocusMode:o}=s("405"),n=["data-share","data-sell","data-store","ads-contextual","ads-person-prof","ads-person","measure-ads","measure-market","product-develop"],a=()=>{let e=l()?t.get("ENABLE_WUNDERKIND_ES"):t.get("ENABLE_WUNDERKIND"),s=!!l()&&t.get("WUNDERKIND_SRC_ES")||(i()?t.get("WUNDERKIND_SRC_EDITION"):t.get("WUNDERKIND_SRC"));e&&window.WM.UserConsent.addScript({src:s,id:"wunderkind_script",async:!0},n)};o()?e(()=>{a()}):a()}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","82","2040","3041","92","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","477","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","317","2051","478","496","32","495","435","489","11","314","432","221","80","534","433","470","36","532","197","108","2010","81","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","305","68","486","485","458","2056","2057","9","93","19","6","475","22","474","74","59","494","4747","4210","49","5149","5150","5154","5155","4737","436","1831","355","1823","354","4333","4851","531","91","4727","4803","2597","2889","2950","2930","2790","2899","2624","2622","2969","2800","2610","4885","2933","2738","2600","4804","2611","2925","2788","2928","2837","2728","2910","2814","2802","4806","2894","2929","2798","2939","2938","2934","2783","4763","2953","2612","2804","2739","2822","2970","2799","2826","2740","2915","2696","4812","2892","2838","2794","2718","2733","2643","2729","4838","2778","2758","4845","2913","2793","2660","4809","2907","2948","2601","2955","2591","2893","2867","2759","2823","2868","2977","2993","2982","2576","2655","2653","2590","2734","4829","2650","2623","2824","2959","4810","2897","2682","2596","2694","2785","2659","2571","2949","2691","2595","2842","2914","2903","2627","2827","2628","2605","2581","2586","4943","2763","2575","2743","2898","2585","2570","2580","2789","2615","2965","2819","2744","484","2918","2944","2582","2577","2567","2644","2606","2878","2654","2818","2833","2719","2754","2883","2648","2564","2681","2923","2848","4778","2724","2888","2572","2769","2616","2864","2701","2808","2774","2882","2768","2649","2592","2706","2919","2764","2853","2873","2784","2685","2908","2978","2994","2983","2960","2847","2843","4805","2924","2773","2749","4964","2817","2686","2877","2887","4928","2902","2858","2863","2690","2943","2566","2714","4783","2723","4768","2834","2779","2700","4877","2809","2748","2619","2705","2697","2753","4834","4930","4756","2730","2964","4835","4942","4904","2832","4766","4775","4774","4767","4883","4963","4800","2715","2857","2862","4920","4779","2680","2852","2872","4780","2735","2713","2607","2935","2780","4777","2725","4782","4935","4824","2604","4891","4886","2920","2869","2656","2602","2775","4860","4887","2640","4811","2599","2829","2945","2891","4781","4772","4790","2844","2961","2755","4755","4794","2831","2677","4880","2896","2692","4969","2765","4859","2562","2849","2760","2587","4769","2940","2770","2687","2668","2952","2702","2874","4836","4870","2866","2854","2859","4771","2884","4855","2839","2720","2879","2966","2904","4787","2710","2645","2745","2990","2979","2971","2956","2750","2805","4939","4825","4856","4788","4823","2792","4933","4773","4950","2772","4776","4853","4882","4858","4857","4934","4764","4854","4758","4940","4791","4757","4972","4973","4971","4759","4789","4760","4968","2795","4976","4974","4944","2159","4761","4936","4762","4967","4865","4931","2183","4929","2177","4869","2143","4866","4953","4941","4938","4797","2097","4873","2122","4864","4816","4906","4868","4817","4861","4867","4879","4881","4878","4932","2140","2093","4871","2121","4949","2162","2160","2096","4884","4896","4965","4945","4793","4821","4822","4813","4802","2472","2172","2158","2142","444","2828","2726","2138","2185","4954","4952","2801","2967","4951","2165","2119","4796","2136","4795","2149","2114","2094","2182","2104","2176","4948","2736","2101","4792","2083","2895","2164","2125","2137","4826","2179","2152","2091","2090","2168","2154","2098","2163","2141","2089","4850","2529","2166","2099","2145","2157","2120","2815","2651","2926","4820","2100","4847","2912","2113","2084","4876","2102","2103","4833","4832","4815","4889","2976","2144","2085","2161","4831","4828","4890","4814","2123","2086","2148","2181","2088","2151","2128","2118","2184","2171","2092","2153","2124","2170","2155","2117","2931","4888","2126","2147","2116","2139","2082","2175","2180","2167","2174","4818","2095","2169","2178","2156","2146","2127","4827","2614","2901","4875","2936","4872","4862","4895","4927","2115","4874","2835","4919","2917","2742","4863","4848","4966","2688","2875","4801","2825","4962","2573","2608","4921","2880","4852","2781","4840","2786","2588","4799","4892","2796","2669","2583","2578","2568","2674","2911","2951","2946","2676","2675","2666","2641","2620","2991","2980","2975","2916","2613","2905","2716","2885","2731","2721","2693","2673","2563","2806","2756","2746","2870","2850","2820","2766","2646","2625","2741","2683","2941","2840","2761","2087","2921","2593","4897","2845","2707","2698","2855","2860","2711","2703","2708","2776","2657","2900","2865","2751","4955","2771","4798","4770","4846","4893","4917","4841","4915","4909","4916","4918","4914","4908","4907","4894","2678","2791","4905","2890","2598","2830","2603","4902","4900","4979","2957","2962","4903","4844","4842","4901","4899","4898","4978","4977","4348","2752","2816","2658","2626","2621","2722","2881","2797","2689","2927","2727","2932","2574","2609","2836","2937","2709","2594","2803","2584","2579","2569","2782","2787","2589","2942","2704","2762","2767","2679","2652","2737","2968","2777","2757","2807","2732","2947","2963","2565","2841","2717","2695","2684","2747","2699","2846","2647","2886","2876","2851","2871","2856","2958","2906","2861","2712","2922","2642","2992","2981","2821","5148","50","45","2","472","481","2042","90","2043","488","491","487","493","492","87","456","7","415","249","195","344","405"],()=>t("bizdev-wunderkind.legacy"));var s=e.O();(modules=void 0===modules?{}:modules)["bizdev-wunderkind.legacy"]=s}]);
/* window.modules["relevance-user.legacy"] */ var modules;(self.modules=self.modules||[]).push([["relevance-user.legacy"],{"relevance-user.legacy":(e,l,s)=>{e.exports=()=>{"use strict";let{trackUserViewedContent:e}=s("423");e(window.CNN.contentModel)}}},e=>{var l=l=>e(e.s=l);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","82","2040","3041","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","11","314","470","197","305","1779","271","2269","1727","2293","240","1763","2294","423"],()=>l("relevance-user.legacy"));var s=e.O();(modules=void 0===modules?{}:modules)["relevance-user.legacy"]=s}]);
/* window.modules["analytics-events.legacy"] */ var modules;(self.modules=self.modules||[]).push([["analytics-events.legacy"],{"analytics-events.legacy":(e,t,n)=>{e.exports=()=>{"use strict";let e=n("345"),{getComponentName:t,getComponentInstance:o}=n("189"),{authClient:l}=n("21"),i=n("18"),{isPageVariant:r}=n("89"),c="analytics",a={default:.5,"bizdev-outbrain":.1},d=i.get("ZION_BEHAVIOURAL_ENABLED_PAGE_VARIANTS",[]),s=i.get("ZION_CLICK_OBSERVED_COMPONENTS",[]),u=i.get("ZION_ON_OFF_OBSERVED_COMPONENTS",[]),_="zone";function m(){return{canonical_url:window.CNN.contentModel.canonicalUrl,cms_id:window.CNN.contentModel.cmsId,cnn_uid:l.getStoredUID()||"",event_source:window.CNN.contentModel.techStack||"stellar",page_variant:window.CNN.contentModel.templateType||"",raw_url:window.location.href,sourceId:window.CNN.contentModel.sourceId||""}}function w(t){let{dataset:n}=t,o=`${c}Prop`,l=RegExp(`^${o}`),i=RegExp("^zjs"),r=/_index$|_length$/,a=(t,o)=>{let l=e(t.replace(o,""));if(!l)return null;let i=r.test(l)?parseInt(n[t],10):n[t];return[l,i]};return Object.keys(n).reduce((e,t)=>{if(l.test(t)){let n=a(t,o);if(n){let[t,o]=n;return{...e,[t]:o}}}if(i.test(t)){let n=a(t,"zjs");if(n){let[t,o]=n;return{...e,[t]:o}}}return e},{})}function f(e){let t=Array.from(document.querySelectorAll(`[data-uri*="/_components/${_}/"]`)),n=t.length>0?t.length:"",o=e.closest(`[data-${c}-collection]`)||document.body,l=o===document.body?"body":o.dataset[`${c}Collection`],i="";l===_&&(i=t.indexOf(o));let r=Array.from(o.querySelectorAll('[data-uri*="/_components/"]')),a=r.length;return{collection_type:l,collection_type_index:i,collection_type_length:n,collection_item_index:r.indexOf(e),collection_item_length:a}}function N(e){return e.innerText?e.innerText.match(/\w+/g).length:0}function O(e){window.zion_analytics&&window.zion_analytics.track(e)}function g(){r(d)&&(!function(){if(!i.get("ENABLE_ZION_ANALYTICS_ON_OFF_EVENTS"))return;let e=e=>{window.ZION_SDK&&e.forEach(({target:e,isIntersecting:n})=>{let l=e.dataset[`${c}Observe`];if("on"===l&&n||"off"===l&&!n){let l=n?window.ZION_SDK.ComponentOnScreen:window.ZION_SDK.ComponentOffScreen,{uri:i}=e.dataset,r=()=>setTimeout(()=>O(new l({component_type:t(i),component_id:o(i),traits:{...m(),...f(e),...function(e){let t={};return e.dataset.componentDescription&&(t.component_text=e.dataset.componentDescription),t}(e),word_count:N(e)}})),1500);window.requestIdleCallback?window.requestIdleCallback(r,{timeout:500}):r(),e.dataset[`${c}Observe`]=n?"off":"on"}})},n=Object.keys(a).reduce((t,n)=>({...t,[n]:new IntersectionObserver(e,{threshold:a[n]})}),{});u.forEach(e=>{document.querySelectorAll(`[data-uri*="/_components/${e}/"]`).forEach(t=>{t.dataset[`${c}Observe`]="on",n[e]?n[e].observe(t):n.default.observe(t)})})}(),i.get("ENABLE_ZION_ANALYTICS_CLICK_EVENTS")&&document.body.addEventListener("click",e=>{let n="",l="",i="",r=e.target,a=r.closest("a[href]"),d=r.closest("[data-uri]"),u=r.closest(`[data-${c}-aggregate-events="true"]`);a&&a.href&&(i=a.href);let _={...w(r=u||d),...u?w(d):{},...a?w(a):{}},g=e.target!==r?w(e.target):{};if(r){if("gallery"===(n=t(l=r.dataset.uri))){let t;let n=e.target.classList[0];n.includes("next")?t=_.carousel_item_index===_.carousel_item_length?1:_.carousel_item_index+1:n.includes("prev")&&(t=1===_.carousel_item_index?_.carousel_item_length:_.carousel_item_index-1),_.carousel_item_index=t}s.includes(n)&&O(new window.ZION_SDK.GenericClick({component_id:o(l),component_type:t(l),traits:{...m(),...f(r),...{...g,..._},word_count:N(r),destination_url:i}}))}}))}window.ZION_SDK?g():window.addEventListener("zion.loaded",g)}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","82","2040","3041","92","1639","2334","3043","3042","2987","2213","2986","2212","2006","2985","2005","2386","2204","1816","4014","477","2215","189","1368","2214","1403","1367","1410","1409","1387","1401","1380","1417","1406","2989","1407","1408","1381","1371","1372","1405","1366","1375","1376","1369","1389","1370","1374","1414","1377","1394","2209","1378","1396","1390","1415","1393","1391","1404","1416","1386","1411","1379","1388","1402","1397","1400","1398","1392","1399","1384","1395","1385","1382","1373","1383","317","2051","478","496","32","495","435","489","432","221","80","433","36","1","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","10","431","417","522","541","65","21","2041","67","305","68","486","485","3878","3881","2372","2373","1813","3880","3879","4526","89","345"],()=>t("analytics-events.legacy"));var n=e.O();(modules=void 0===modules?{}:modules)["analytics-events.legacy"]=n}]);
/* window.modules["zeta.legacy"] */ var modules;(self.modules=self.modules||[]).push([["zeta.legacy"],{"zeta.legacy":e=>{e.exports=()=>{"use strict";let e=window.zeta.client_hash_key,t=window.zeta.partner_hash_key,o=window.zeta.tag_short_name,s=window.zeta.site_id,n=window.CNN.contentModel.sourceId,a=window.CNN.contentModel.pageType,d=window.CNN.contentModel.section,c=Date.now(),r=`https://live.rezync.com/sync?c=${e}&p=${t}&k=${o}&zmpID=${s}&custom1=${n}&custom2=${a}&custom3=${d}&cache_buster=${c}`,l=["data-share","data-sell","data-store","ads-contextual","ads-person-prof","ads-person","content-person-prof","content-person","measure-ads","measure-content","measure-market","product-develop"];function w(){window.WM.UserConsent.addScript({src:r,async:!0},l)}window.WM.UserConsent?w():window.addEventListener("user-consent.loaded",w)}}},e=>{var t=e(e.s="zeta.legacy");(modules=void 0===modules?{}:modules)["zeta.legacy"]=t}]);
/* window.modules["campaign-promo-events.legacy"] */ var modules;(self.modules=self.modules||[]).push([["campaign-promo-events.legacy"],{"campaign-promo-events.legacy":(e,n,o)=>{e.exports=()=>{"use strict";let{authClient:e}=o("21"),n=o("42"),t=document.createElement("campaignPromos"),s=new n(e),a=(e,n)=>{let{campaign_id:o,campaign_type:t,campaign_name:s,campaign_objective:a}=n;window.zion_analytics.track(new e({component_id:"promo_body",component_type:`${t}_promo`,traits:{campaign_id:o,campaign_type:t,campaign_name:s,campaign_objective:a}}))};t.addEventListener("close",({detail:e})=>{a(window.ZION_SDK.ComponentOffScreen,e)}),t.addEventListener("impression",({detail:e})=>{a(window.ZION_SDK.ComponentOnScreen,e)}),t.addEventListener("submission",({detail:e})=>{a(window.ZION_SDK.GenericSubmit,e)}),t.addEventListener("activation",({detail:e})=>{a(window.ZION_SDK.ComponentLoaded,e)}),t.getSubscribedNewsletters=async()=>(await s.retrieveSubscriptions({useCache:!0})).filter(e=>e.subscribed).map(e=>e.newsletterName),window.CNN.campaignPromos=t,window.dispatchEvent(new CustomEvent("CNN.campaignPromos.loaded"))}}},e=>{var n=n=>e(e.s=n);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","434","92","477","317","2051","478","496","32","495","435","489","432","221","80","534","433","36","532","108","2010","1","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","10","431","417","522","541","65","21","2041","67","68","486","485","458","2338","2337","1808","1810","2335","2318","1784","286","42"],()=>n("campaign-promo-events.legacy"));var o=e.O();(modules=void 0===modules?{}:modules)["campaign-promo-events.legacy"]=o}]);
/* window.modules["chartbeat-setup.legacy"] */ var modules;(self.modules=self.modules||[]).push([["chartbeat-setup.legacy"],{"chartbeat-setup.legacy":(e,t,i)=>{e.exports=()=>{"use strict";let{isSection:t,SECTIONS:a}=i("6"),r=!1;class n{_cbPlayer=null;_currentAdPosition=null;_ready=!1;_strategyName="CNN";_videoPlayed=!1;_videoStartTime=null;_viewStartTime=this._now();static verify=e=>"function"==typeof e.fromFave;constructor(e){this._cbPlayer=e,this._subscribeEvents()}_now(){return new Date().getTime()}_onPlaybackReady=()=>{this._ready=!0};_onVideoPlaying=()=>{this._videoPlayed||(this._videoStartTime=this._now(),this._videoPlayed=!0)};_subscribeEvents(){this._cbPlayer.readyState>2&&this._onPlaybackReady(),!(this._cbPlayer.currentTime>0)||this._cbPlayer.paused||this._cbPlayer.ended||this._onVideoPlaying(),this._cbPlayer.canplay.add(this._onPlaybackReady),this._cbPlayer.playing.add(this._onVideoPlaying)}getAdPosition(){return this._cbPlayer.getAdPosition()}getAutoplayType(){return this._cbPlayer.getAutoplayType()}getBitrate(){return this._cbPlayer.getBitrate()}getContentType(){return this._cbPlayer.getContentType()}getCurrentPlayTime(){return this._cbPlayer.getCurrentPlayTime()}getPlayerType(){return this._cbPlayer.getPlayerType()}getSections(){return this._cbPlayer.getSections()}getState(){return this._cbPlayer.getState()}getStrategyName(){return this._strategyName}getThumbnailPath(){return this._cbPlayer.getThumbnailPath()}getTitle(){return this._cbPlayer.getTitle()}getTotalDuration(){return this._cbPlayer.getTotalDuration()}getVideoPath(){return this._cbPlayer.getVideoPath()}getViewAdPlayTime(){return this.timeElapsed(this._viewStartTime)}getViewPlayTime(){if(this._videoPlayed)return this.timeElapsed(this._viewStartTime)}getViewStartTime(){return this.timeElapsed(this._viewStartTime)||0}isReady(){return this._ready}timeElapsed(e){return void 0===e?0:this._now()-e}}!function(){let e;function i(){window.WM.UserConsent.addScript({src:"//static.chartbeat.com/js/chartbeat_video.js",async:!0},["data-store","content-person","measure-content"])}let o=(window.CNN||{}).contentModel||{},s=(window.CNN||{}).omniture||{};!0!==r&&(window._cbv_strategies=window._cbv_strategies||[],window._cbv_strategies.push(n),r=!0);let l=window._sf_async_config=window._sf_async_config||{};l.uid=37612,l.domain=(e="cnn.com",window.CNN.contentModel?.brandSite==="es"&&(e=`cnnespanol.${e}`),-1!=window.location.hostname.indexOf("edition")&&(e=`edition.${e}`),window.CNN?.contentModel?.environment!="prod"&&(e=`dev.${e}`),e),l.sections=o.vertical,l.authors=s.cap_author,l.title=function(e=""){return t(a.HOMEPAGE)?e.replace(" Desktop","").replace(" Mobile",""):e}(s.headline),l.flickerControl=!1,l.articleBlockSelector="div.card,div.container__item,p.paragraph>a",l.autoDetect=!1,l.path=function(){let e=window.location.hostname,t=document.querySelector("[rel=canonical]").getAttribute?.("href");try{let i=new URL(t);return e+i.pathname}catch(t){return e+document.location.pathname}}(),window.WM.UserConsent?i():window.addEventListener("user-consent.loaded",i)}(),e.exports={CnnChartbeatVideoStrategy:n}}}},e=>{var t=t=>e(e.s=t);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","358","69","1860","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","11","187","6"],()=>t("chartbeat-setup.legacy"));var i=e.O();(modules=void 0===modules?{}:modules)["chartbeat-setup.legacy"]=i}]);
/* window.modules["article-scroll-metrics.legacy"] */ var modules;(self.modules=self.modules||[]).push([["article-scroll-metrics.legacy"],{"article-scroll-metrics.legacy":(e,t,a)=>{e.exports=()=>{"use strict";let{trackMetrics:e}=a("10"),t=[{value:1,type:"article-start",data:{interaction:"article start"}},{value:25,type:"article-twentyfive",data:{interaction:"article 25"}},{value:50,type:"article-fifty",data:{interaction:"article 50"}},{value:75,type:"article-seventyfive",data:{interaction:"article 75"}},{value:100,type:"article-complete",data:{interaction:"article complete"}}],r=t.map(e=>e.value),l=[...t];function i(a){let i=e=>l.find(({value:t})=>t===e);r.forEach(r=>{if(a>=r&&i(r)){let{type:a,data:i}=t.find(e=>e.value===r);e({type:a,data:i}),l=l.filter(({value:e})=>e!==r)}})}window.addEventListener("load",function(){let e=document.querySelector(".article__content");e&&function(e){let t=e.querySelectorAll("p.paragraph, p.paragraph-elevate"),a=t.length,r=Math.round(.25*a),l=Math.round(.5*a),c=Math.round(.75*a),n=new IntersectionObserver((e,t)=>{e.forEach(e=>{if(e.isIntersecting){let n=e.target.para_index;n===a||1===a?(i(100),t.disconnect()):n===c?i(75):n===l?i(50):n===r?i(25):1===n&&i(1),t.unobserve(e.target)}})});t.forEach((e,t)=>{e.para_index=t+1,n.observe(e)})}(e)})}}},e=>{var t=t=>e(e.s=t);e.O(0,["10"],()=>t("article-scroll-metrics.legacy"));var a=e.O();(modules=void 0===modules?{}:modules)["article-scroll-metrics.legacy"]=a}]);
/* window.modules["shared-arkose-newsletters.legacy"] */ var modules;(self.modules=self.modules||[]).push([["shared-arkose-newsletters.legacy"],{"shared-arkose-newsletters.legacy":(e,s,t)=>{e.exports=()=>{"use strict";let e,s;let{createArkoseScript:a,getDaexData:n,enforcementOnError:r,MAX_RETRY_COUNT:o}=t("26"),l=0,d="setupArkoseDualNewsletters",c="cnn-nl-arkose-loaded",m=({arkoseOnReady:t,arkoseOnCompleted:a,arkoseOnError:n,setBy:c})=>{e.setConfig({data:s&&{blob:s}||{},onReady:()=>{t&&t({enforcement:e})},onCompleted:a,onError:async()=>{l++,await r({enforcementInstance:e,callbackFnName:d,retryTimes:l}),l===o&&n&&n()}}),window.arkoseEnforcementCNN.lastSetBy=c,e.reset()},w=async t=>{s||(s=await n("NEWSLETTERS")),e?m(t):(a({srcEnvVar:"ARKOSE_NEWSLETTERS_SRC",callbackFnName:d,id:"arkose-newsletters-script"}),document.addEventListener(c,()=>{m(t)}))};window.arkoseEnforcementCNN={},window[d]=s=>{e=s,document.dispatchEvent(new CustomEvent(c))},window.arkoseEnforcementCNN.enforcementSetup=w}}},e=>{var s=s=>e(e.s=s);e.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","434","2207","549","92","477","125","317","644","2051","478","496","32","495","435","489","432","221","80","433","36","1","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","10","431","417","522","541","65","21","2041","67","68","486","485","26"],()=>s("shared-arkose-newsletters.legacy"));var t=e.O();(modules=void 0===modules?{}:modules)["shared-arkose-newsletters.legacy"]=t}]);
/* window.modules["live-story-updates.legacy"] */ var modules;(self.modules=self.modules||[]).push([["live-story-updates.legacy"],{"formfield-radio-buttons.client":(t,e,s)=>{"use strict";let{actions:i,dispatch:l,subscribe:o}=s("36"),{RADIO_BUTTONS:n}=i,{keyNavigationUtility:a}=s("45");class c{constructor(t){this.el=t,this.className="formfield-radio-buttons",this.radioClassName=`${this.className}__option`,this.selectedRadioClassName=`${this.radioClassName}--selected`,this.radioInputClassName=`.${this.radioClassName}-input`,this.optionTagShowClassName=`${this.radioClassName}__option-tag--show`,this.selectedItem=null,this.selectedItemInput=null,this.lastSelectedRadio=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.options=this.el.querySelectorAll(`.${this.radioClassName}`),this.options.forEach(t=>t.addEventListener("click",this.handleOptionClick)),this.options.forEach(t=>t.addEventListener("keydown",this.handleOptionSelection)),o(n.SET_SELECTED,({selectedItem:t})=>{this.selectedItem=t,this.setSelectedItem()}),o(n.TOGGLE_SHOW_PILL,({itemToTogglePill:t})=>{let e=t.classList.contains(this.optionTagShowClassName)?"remove":"add";t.classList[e](this.optionTagShowClassName)})}handleOptionClick=t=>{t.preventDefault(),this.selectedItem=t.target.closest(`.${this.radioClassName}`),this.setSelectedItem()};handleOptionSelection=t=>a(t,{Enter:this.handleOptionClick," ":this.handleOptionClick,ArrowDown:this.focusNextOption,ArrowRight:this.focusNextOption,ArrowUp:this.focusPreviousOption,ArrowLeft:this.focusPreviousOption});getFocusedOption=()=>[...this.options].find(t=>document.activeElement===t);focusOption=t=>{let e=this.getFocusedOption(),s=t(Array.from(this.options).indexOf(e));this.options[s].focus()};focusNextOption=()=>this.focusOption(t=>t>=this.options.length-1?this.options.length-1:t+1);focusPreviousOption=()=>this.focusOption(t=>t<=0?0:t-1);setSelectedItem=()=>{this.lastSelectedRadio??=this.el.querySelector(`.${this.selectedRadioClassName}`),this.lastSelectedRadioInput=this.lastSelectedRadio?.querySelector(this.radioInputClassName),this.lastSelectedRadio&&this.clearLastSelection(),this.selectedItemInput=this.selectedItem.querySelector(this.radioInputClassName),this.selectedItem.classList.add(`${this.selectedRadioClassName}`),this.selectedItem.focus(),this.selectedItem.setAttribute("aria-checked","true"),this.selectedItemInput.checked=!0,this.lastSelectedRadio=this.selectedItem,this.lastSelectedRadioInput=this.selectedItemInput,l(n.SELECTED,{selectedItem:this.selectedItem})};getSelectedItem=()=>this.el.querySelector(`.${this.selectedRadioClassName}`);clearLastSelection=()=>{this.lastSelectedRadio.classList.remove(`${this.selectedRadioClassName}`),this.lastSelectedRadio.setAttribute("aria-checked","false"),this.lastSelectedRadioInput.checked=!1};clearSelection=()=>{this.lastSelectedRadio&&(this.clearLastSelection(),this.lastSelectedRadio=null,this.lastSelectedRadioInput=null),this.selectedItem=null,this.selectedItemInput=null};removeAllEventListeners=()=>this.options.forEach(t=>t.removeEventListener("click",this.handleOptionClick))}t.exports=t=>new c(t)},"user-account-reg-wall.client":(t,e,s)=>{"use strict";let{authClient:i}=s("21"),{zionEventHandler:l}=s("19"),{trackMetrics:o}=s("10"),{suppressToasts:n,getUrlObj:a}=s("22"),{defaultManageWallVisibility:c}=s("87"),{smallMaxWidthListener:d}=s("9"),r=s("formfield-radio-buttons.client"),{actions:h,subscribe:u}=s("36"),{RADIO_BUTTONS:m}=h;class p{constructor(t,e=t=>()=>c(t)()){this.el=t,this.manageWallVisibility=e,this.class="user-account-reg-wall",this.componentType="regwall",this.hideClass=`${this.class}--hide`,this.open=!1}init=()=>{this.userIsLoggedIn=i.tokenWithAuthn();let{source:t,componentId:e,componentName:s,dismissible:l,componentStellarId:n,interactionBase:c,wallCount:d,wallMax:h}=this.el.dataset;this.componentId=e,this.source=t,this.wallCount=d??1,this.wallMax=h??1,this.signUpBtn=this.el.querySelector("#regwall-cta-btn"),this.signInLink=this.el.querySelector("#regwall-cta-link"),this.tooltip=this.el.querySelector(`.${this.class}__info`),this.componentName=s,this.componentStellarId=n,this.interactionBase=c,this.dismissible=l,this.wallCountAnalyticsValue=this.wallCount?`:${this.wallCount}`:"";let p=document.querySelector(this.class);p&&p.remove(),this.el.querySelector(`.${this.class}__content`).addEventListener("click",t=>{let e=t.target,s=e===this.signInLink;(s||e===this.signUpBtn)&&o({type:"user-interaction",data:{interaction:`${this.interactionBase}:${s?"sign in":"sign up"}${this.wallCountAnalyticsValue}`}})},!0),this.tooltip?.addEventListener("mouseover",()=>{o({type:"user-interaction",data:{interaction:`${this.interactionBase}:what-is-this${this.wallCountAnalyticsValue}`}})}),l&&this.el.querySelectorAll(`.${this.class}__dismiss, .${this.class}__overlay`).forEach(t=>t.addEventListener("click",()=>{this.handleClose()}));let y="formfield-radio-buttons",S=this.el.querySelector(`.${y}`);if(S&&(r(S),this.signUpBtn)){let t=S.querySelector(`.${y}__option--selected .${y}__option-input`)?.value||"",e=a(this.signUpBtn.href);e.pathname="/account/payment/subscription";let s=t=>{t&&(e.searchParams.set("selected",t),this.signUpBtn.href=e.toString())};s(t),u(m.SELECTED,({selectedItem:t})=>{s(t?.querySelector(".formfield-radio-buttons__option-input")?.value)})}this.manageWallVisibility?.(this.showWall)()};triggerZionTracking=()=>{l({component_id:this.componentId,component_type:"banner",traits:{source:this.source}},"ComponentOnScreen")};restrictView=()=>{this.updateInitialOverflow(),document.documentElement.style.overflow="hidden",d(t=>{t&&!this.dismissible&&(document.body.style.overflow="hidden",document.body.style.position="static",document.body.style.height="100vh")}),this.istyle=document.createElement("style"),this.istyle.type="text/css",this.istyle.id="cnnrwhideiframe",this.istyle.appendChild(document.createTextNode(".obp-rec { display: none !important; }")),document.head.appendChild(this.istyle)};showWall=()=>{this.open||(n(),this.handleOpen(),this.restrictView(),this.triggerZionTracking(),o({type:"user-interaction",data:{interaction:"module load",componentStellarId:this.componentStellarId,componentViewCount:this.wallCount,componentName:this.componentName,componentType:this.componentType}}))};handleOpen=()=>{this.el.classList.remove(this.hideClass),this.open=!0};handleClose=()=>{o({type:"user-interaction",data:{interaction:`${this.componentType}:${this.componentName}:dismiss${this.wallCountAnalyticsValue}`}}),this.el.classList.add(this.hideClass),this.open=!1,document.getElementById(this.istyle.id)?.remove(),document.documentElement.style.overflowX=this.initialOverflowX,document.documentElement.style.overflowY=this.initialOverflowY,d(t=>{t&&!this.dismissible&&(document.body.style.overflow="unset",document.body.style.position="unset",document.body.style.height="unset")})};updateInitialOverflow=()=>{this.initialOverflowX=document.documentElement.style.overflowX,this.initialOverflowY=document.documentElement.style.overflowY}}t.exports=(t,e)=>{let s=new p(t,e);return s.init(),s}},"live-story-updates.legacy":(t,e,s)=>{t.exports=()=>{"use strict";let{PAGE_VARIANTS:t,isPageVariant:e}=s("89"),{updatePostsTimestampLive:i}=s("217"),l=()=>i(document.querySelectorAll(".liveStoryUpdatesItem, .liveStoryUpdates"));!async function(){async function i(){if(e(t.HOMEPAGE)||e(t.SECTION))return;let s=document.querySelector('[data-uri*="live-story-updates"]');s&&s.classList.contains("hide")||(s?await o(s):await n())}async function o(t){let e=await s("278"),i=t.parentNode.removeChild(t),l=e.calculateOpenSlots(),o=l?.findIndex(t=>t>4),n=document.querySelector(".article__content");l&&-1!==o?n.children[l[o]].insertAdjacentElement("afterEnd",i):n.appendChild(i)}async function n(){let t=new MutationObserver(async()=>{let e=document.querySelector('[data-uri*="live-story-updates"]');if(e&&window.CNN?.ads?.quantum){if(t.disconnect(),e.classList.contains("hide"))return;await o(e)}});t.observe(document.body,{childList:!0,subtree:!0}),setTimeout(()=>{t&&t.disconnect()},1e4)}e(t.LIVESTORY)||(document.querySelector(".liveStoryUpdates time")?.setAttribute("datetime",document.querySelector(".liveStoryUpdatesItem time").getAttribute("datetime")||new Date().toUTCString()),l(),await i(),setInterval(l,6e4))}()}}},t=>{var e=e=>t(t.s=e);t.O(0,["2320","1787","1786","2321","1869","2414","2319","425","426","1871","1817","4185","1855","4728","1995","1780","2490","4186","1991","5138","1807","2508","3018","4460","5141","4732","5142","5143","1783","4463","4287","5000","4222","5140","5144","4461","4462","4733","4221","4286","4223","5139","4459","5686","4465","2324","2325","3032","438","1796","1872","462","1997","1999","463","461","2003","2030","465","1996","464","2339","2002","1998","2406","459","4174","1987","460","3023","2304","287","3020","1637","3022","3021","3019","1990","1993","1992","1994","4464","2317","3016","2302","2988","2311","2008","3017","4118","2393","4119","4117","1828","2004","4726","2509","4725","4015","2007","2510","1812","336","51","358","4049","2390","2995","2227","3035","1644","2228","2329","2226","3006","3005","1861","3007","3009","3034","3008","69","2408","1860","1858","2409","2023","2308","1797","2407","1856","3029","3028","4175","2314","2210","3024","2021","2512","1638","2513","2511","2305","4288","2022","1782","2313","2303","2312","2316","2315","3027","3025","1781","2307","3031","3030","2310","2306","2309","3026","533","1795","2323","2322","299","467","2009","1726","1798","1799","285","374","12","1760","1759","455","427","335","248","1857","18","429","1859","1645","468","428","2561","4997","4433","4417","4406","4419","4994","4379","5243","15","2812","5002","5003","4396","4989","2810","2811","4364","476","4437","4416","4402","4405","4995","4438","4442","4993","4421","4409","4988","4389","4412","4439","4990","4363","2034","4980","4441","4443","4403","4440","4996","4371","4387","4404","4366","4390","4365","4451","4434","5001","4413","4430","4374","4420","4415","4991","4445","5239","4388","4407","4429","4377","4992","4392","4378","4453","4435","4411","4380","4423","4381","4449","4395","4410","4391","4375","4427","2150","2813","4450","4393","4368","4444","4400","4399","4384","4386","4446","4984","4370","4424","4376","5005","4426","4428","4418","4383","4422","4447","4373","5238","4385","4431","4372","4382","4432","4408","4401","4394","4414","4998","4367","4369","4452","257","1819","1820","437","1811","1870","434","2040","3041","92","1639","2987","2213","2986","477","317","2051","478","496","32","495","435","489","11","432","221","80","534","433","470","36","532","108","2010","81","1","2421","2422","2401","1825","2418","2430","1833","2999","4181","4180","2399","1822","1832","2400","2398","2997","2419","1821","4179","4178","2998","2420","2996","200","353","1824","2403","1830","1834","2427","2428","2397","2402","94","529","2197","2201","2196","2191","2190","537","2189","539","2205","2200","2076","3003","2199","2186","530","2198","528","2202","3001","3004","3000","2080","535","3002","4487","536","4488","2194","2187","538","2188","2195","2077","2665","2079","2106","2110","2111","2072","2073","29","4354","2078","2075","2081","2112","2546","2074","2107","2105","2109","506","2108","2071","2635","4362","2637","4970","2630","4357","2638","2634","2664","4957","2632","4958","4353","2639","2633","4351","2636","4349","4358","4352","4350","4959","4356","4355","2631","2629","2667","34","187","10","431","417","522","541","65","21","2041","67","305","68","486","485","2056","2057","9","93","19","6","475","22","474","74","59","494","49","436","50","45","2","472","481","2042","90","2043","488","491","487","493","492","87","89","521","250","278","1802","2436","2437","2438","1853","1803","217","2326"],()=>e("live-story-updates.legacy"));var s=t.O();(modules=void 0===modules?{}:modules)["live-story-updates.legacy"]=s}]);
/* window.modules end */
/* window.modules["_webpack-runtime"] */ (()=>{"use strict";var e={},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=e,o.amdO={},(()=>{var e=[];o.O=(r,t,n,i)=>{if(t){i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[t,n,i];return}for(var a=1/0,l=0;l=i)&&Object.keys(o.O).every(e=>o.O[e](t[d]))?t.splice(d--,1):(s=!1,i{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={"_webpack-runtime":0,"styles-node_modules_openplayerjs_dist_openplayer_min_css-services_kiln_components_accordion_v-c5dcef":0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[l,a,s]=t,d=0;if(l.some(r=>0!==e[r])){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(s)var u=s(o)}for(r&&r(t);d typeof key === 'string' && key.match(/\.legacy$/))
.forEach((key) => window.require(key));
}
function tryToMount(fn, el, name) {
try {
fn(el); // init the controller
} catch (e) {
const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));
console.error(`Error initializing controller for "${name}" on "${elementTag}"`, e);
}
}
/**
* mount client.js component controllers
*/
function mountComponentModules() {
Object.keys(window.modules)
.filter((key) => typeof key === 'string' && key.match(/\.client$/))
.forEach((key) => {
let controllerFn = window.require(key);
if (typeof controllerFn === 'function') {
const name = key.replace('.client', ''),
instancesSelector = `[data-uri*="_components/${name}/"]`,
defaultSelector = `[data-uri$="_components${name}"]`,
instances = document.querySelectorAll(instancesSelector),
defaults = document.querySelectorAll(defaultSelector);
for (let el of instances) {
tryToMount(controllerFn, el, name);
}
for (let el of defaults) {
tryToMount(controllerFn, el, name);
}
}
});
}
// Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,
// services, or components that could require it
// note: the `#NODE_ENV#` value is swapped for the actual environment variable in webpack.common.js - WebpackShellPluginNext
window.process = window.process || {};
window.process.env = window.process.env || {};
if (!window.process.env.NODE_ENV) {
window.process.env.NODE_ENV = '#NODE_ENV#';
}
// note: legacy controllers that require legacy services (e.g. dollar-slice) must
// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first
mountLegacyServices();
mountComponentModules();
// ]]