\n"+(null!=(t=(m(e,"ifAll")||l&&m(l,"ifAll")||c).call(r,(t=(t=o&&m(o,"root"))&&m(t,"locals"))&&m(t,"modal"),(m(e,"compare")||l&&m(l,"compare")||c).call(r,null!=l?m(l,"url"):l,"",{name:"compare",hash:{},data:o,loc:{start:{line:37,column:30},end:{line:37,column:46}}}),{name:"ifAll",hash:{},fn:n.program(21,o,0),inverse:n.program(23,o,0),data:o,loc:{start:{line:37,column:2},end:{line:62,column:12}}}))?t:"")+"\n"},useData:!0}}}]);
/* window.modules["511"] */ "use strict";(self.modules=self.modules||[]).push([["511"],{511:(e,t,a)=>{let i=a("49"),l=a("2065"),r=a("2067"),o=a("54"),n=a("18"),{isArticle:s}=a("11"),{toPlainText:d}=a("28"),h={HYPATIA:"hypatia",CLOUDINARY:"cloudinary",STELLAR:o.DAM_TYPE},x="cnn-placeholder-image",m={upToSmall:{breakpointRule:"(max-width: 479px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"479",h:"479"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},mobile:{breakpointRule:"(min-width: 480px) and (max-width: 767px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"480",h:"480"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"},max16x9:{w:"959",h:"539"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},tablet:{breakpointRule:"(min-width: 768px) and (max-width: 1023px)",defaultWidth:"960",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"960",h:"960"},"3x4":{w:"720",h:"960"},small4x3:{w:"256",h:"192"},"4x3":{w:"960",h:"720"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"960",h:"540"},original:{w:"960"},max16x9:{w:"1279",h:"719"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}},desktop:{breakpointRule:"(min-width: 1024px) and (max-width: 1279px)",defaultWidth:"1280",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"1280",h:"1280"},"3x4":{w:"960",h:"1280"},small4x3:{w:"256",h:"192"},"4x3":{w:"1280",h:"960"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},medium9x16:{w:"526",h:"935"},large16x9:{w:"780",h:"438"},"16x9":{w:"1280",h:"720"},original:{w:"1280"},max16x9:{w:"1439",h:"809"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}},xlDesktop:{breakpointRule:"(min-width: 1280px)",defaultWidth:"1280",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"1280",h:"1280"},"3x4":{w:"960",h:"1280"},small4x3:{w:"256",h:"192"},"4x3":{w:"1280",h:"960"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"1280",h:"720"},original:{w:"1280"},max16x9:{w:"1439",h:"809"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}}},u={upToSmall:{breakpointRule:"(max-width: 479px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"479",h:"479"},"2x3":{w:"320",h:"479"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},mobile:{breakpointRule:"(min-width: 480px)",defaultWidth:"480",defaultCutToken:"large-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"480",h:"480"},"3x2":{w:"800",h:"533"},"3x4":{w:"360",h:"480"},small4x3:{w:"256",h:"192"},"4x3":{w:"480",h:"360"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"480",h:"270"},"16x9":{w:"480",h:"270"},original:{w:"480"},max16x9:{w:"959",h:"539"}},hypatiaCutKeys:{"1x1":"largeto1","4x3":"large4to3","16x9":"large16to9",original:"large16to9"}},tablet:{breakpointRule:"(min-width: 960px)",defaultWidth:"960",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"960",h:"960"},"3x4":{w:"720",h:"960"},small4x3:{w:"256",h:"192"},"4x3":{w:"960",h:"720"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"960",h:"540"},original:{w:"960"},max16x9:{w:"1279",h:"719"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}},desktop:{breakpointRule:"(min-width: 1280px)",defaultWidth:"1280",defaultCutToken:"exlarge-169",ratioSizes:{extraSmall1x1:{w:"128",h:"128"},small1x1:{w:"256",h:"256"},"1x1":{w:"1280",h:"1280"},"3x4":{w:"960",h:"1280"},small4x3:{w:"256",h:"192"},"4x3":{w:"1280",h:"960"},medium9x16:{w:"270",h:"480"},small16x9:{w:"256",h:"144"},medium16x9:{w:"480",h:"270"},large16x9:{w:"780",h:"438"},"16x9":{w:"1280",h:"720"},original:{w:"1280"},max16x9:{w:"1439",h:"809"}},hypatiaCutKeys:{"1x1":"exlarge1to1","4x3":"exlarge4to3","16x9":"exlarge16to9",original:"exlarge16to9"}}},c=u,w={upToSmall:"16x9",mobile:"16x9",tablet:"16x9",desktop:"16x9"},g=(e,...t)=>t.reduce(r,e);function p(e){let{image:t}=e,a=g(i(t,"fixedHeight"),e.fixedHeight),l=g(i(t,"fixedWidth"),e.fixedWidth),r=g(i(t,"rawQuery"),e.rawQuery),o={};return void 0!==a&&(o.h=a),void 0!==l&&(o.w=l),void 0!==r&&(o.rawQuery=r),o}function f(e){e?(c=m,w.xlDesktop="16x9"):(c=u,delete w.xlDesktop)}function $(e,t,a=null,{fixedRatio:i=null,overrides:l,extraCropCommands:r}={}){!a&&(a="mobile",i&&(a="desktop")),e.cropRatio&&e.breakpointCropRatios&&(e.cropRatio=e.breakpointCropRatios[a]);let o=i||t[a];return C(e,a,o,l,r)}function _(e,t,a,l,r=!1,{fixedRatio:o=null,overrides:s,extraCropCommands:d,hasCustomRatios:h,cropRatio:x},m=!1,u=!1){let w="",g="",p=m&&n.get("FORCE_WEBP_IMAGES");if(i(e,"url")||i(e,"uri")){let i=$(e,t,o?void 0:"desktop",{fixedRatio:o,overrides:s,extraCropCommands:d,hasCustomRatios:h}),n=[],m=[];if(!o||x&&h){if(p){let e=l?"f_avif":"f_webp";d=d?d.concat(`,${e}`):e}Object.entries(t).reverse().forEach(([a])=>{let i=$(e,t,a,{extraCropCommands:d,hasCustomRatios:h}),r={w:null,h:null},o=e.isElevated&&e.extraCropCommands?e.extraCropCommands[a]:d;if(o.includes("w_")||o.includes("h_")){let e=[...o.matchAll(/w_([^,]*)/g)],t=[...o.matchAll(/h_([^,]*)/g)];r.w=e[e.length-1]?.[1],r.h=t[t.length-1]?.[1]}else r=x&&h?e.customRatios[a]:"original"===t[a]||h?{w:e.originalWidth,h:e.originalHeight}:c[a].ratioSizes[t[a]];let s=c[a].breakpointRule,g={height:r.h,width:r.w,media:s,srcset:i};p&&(g.type=l?"image/avif":"image/webp");let f=Object.entries(g).map(([e,t])=>`${e}='${t}'`).join(" ");u&&(n.push(`--image-${a}-url:url("${i}");`),m.push(`--image-${a}-url`)),w+=`
`})}let f=e?.metadata?.alt||e?.metadata?.caption||e.name||"",_=`${e.componentVariation}__dam-img--loading`,C={src:i,alt:f,class:l?`${e.componentVariation}__dam-img`:`${e.componentVariation}__dam-img ${_}`,onload:`this.classList.remove('${_}')`,onerror:"imageLoadError(this)"};o?(C.height=e.originalHeight?.toString()||c.mobile.ratioSizes[t.mobile]?.h?.toString(),C.width=e.originalWidth?.toString()||c.mobile.ratioSizes[t.mobile]?.w?.toString()):(C.height=e.originalHeight?.toString()||c.desktop.ratioSizes[t.desktop]?.h?.toString(),C.width=e.originalWidth?.toString()||c.desktop.ratioSizes[t.desktop]?.w?.toString()),a&&(C.loading="lazy"),r&&!/f_(webp|avif)$/.test(C.src)&&(p?C.src=`${C.src}/f_webp`:C.src=`${C.src}/f_avif`),l&&(delete C.onerror,delete C.onload,delete C.loading,C.fetchpriority="high"),n.length>0&&(C.style=n.join(" "),C["data-img-css-vars"]=m.join(","));let S=Object.entries({src:i,...C}).map(([e,t])=>`${e}='${t?.replace(/'/g,"'")}'`).join(" ");g+=`
`}return`${w}${g}`}function C(e,t,a,i={},r=[]){let n=!!e.customRatios;if(e.damType===h.HYPATIA)return S(e,t,a);if(e.damType===h.CLOUDINARY){if("original"===a||n){let a=i.w||c[t].defaultWidth;return y(e.url,"",a)}{let{h:l,w:r}={...c[t].ratioSizes[a],...i};return y(e.url,l,r)}}if(e.damType!==h.STELLAR)return e.url;{let s=function(e){if(e&&"string"==typeof e){for(let t of["mini","small","medium","large","exlarge"])if(e.includes(t))return e.replace(t,"")}return e}(a),d=n?a:{...c[t].ratioSizes[a],...i};if(e.isElevated&&e.extraCropCommands){let e=r[t];if(e.includes("w_")||e.includes("h_")){let t=[...e.matchAll(/w_([^,]*)/g)],a=[...e.matchAll(/h_([^,]*)/g)],i=t[t.length-1]?.[1],l=a[a.length-1]?.[1];d.w=i||d.w,d.h=l||d.h}}return function(e,t,a,i=null,r){let n=e.isElevated&&e.extraCropCommands?e.extraCropCommands[t]:r;if(e.isElevated&&e.extraCropCommands){let a=new URL(e.url),i=e.breakpointCropRatios[t];i&&(a.searchParams.set("c",i),e.url=a.toString())}return o.buildUrl(e,{ratio:e.cropRatio||a,ratioSize:i||c[t].ratioSizes[a],extraCropCommands:"string"==typeof n?l(n.split(",")):n})}(e,t,s,d,r)}}function S(e,t,a){let l=c[t].hypatiaCutKeys[a],r={};return i(e,"cuts")&&(r=e.cuts.find(e=>e.key===l)||e.cuts.sort(function(e,t){let a=e.width*e.height;return t.width*t.height-a}).find(e=>e.ratio===a)),i(r,"url",e.url)}function y(e,t,a){if(!e)return"";let i=["/upload/","/fetch/"],l=["c_fill","f_auto"];return t&&l.push(`h_${t}`),a&&l.push(`w_${a}`),i.find(t=>e.includes(t))||(e.startsWith("http")||(e=`https:${e}`),e=`https://res.cloudinary.com/coredev-test/image/fetch/${encodeURIComponent(e)}`),i.reduce((e,t)=>e.replace(t,`${t}${l.join(",")}/`),e)}function v({componentVariation:e,titleDiv:t,imageCaption:a,inlineCreditFig:i}){return`
${t||""}
${a||""}
${i||""}
`}t.renderImage=function({hash:e,data:t}){let{image:a}=e,i=e.isElevated||a.isElevated||!1;f(i),a.componentVariation=g(e.componentVariationOverride,a.componentVariation,"image");let l=!!a.customRatios,r=function(e){function t(e){let t="/media/sites/cnn/cnn-fallback-image.jpg";e.removeAttribute("onerror"),e.src=t;let a=e.previousElementSibling;for(;a&&"SOURCE"===a.tagName;)a.srcset=t,a=a.previousElementSibling;e.dataset?.imgCssVars.split(",").forEach(t=>{e.style.removeProperty(t)})}return!e.locals||e.locals.edit||e.locals._imageErrorHandlerAdded?("object"!=typeof window||window.imageLoadError||(window.imageLoadError=t),""):(e.locals._imageErrorHandlerAdded=!0,"