November 23, 2024

Nintendo’s Doug Bowser tells us all about The Super Mario Bros. Movie — and what’s next for Switch

Mario #Mario

-1}module.exports=listCacheHas; }, {“2484”:2484}]; window.modules[“2441″] = [function(require,module,exports){var getNative=require(2424),root=require(2423),Map=getNative(root,”Map”);module.exports=Map; }, {“2423″:2423,”2424”:2424}]; window.modules[“2442”] = [function(require,module,exports){var mapCacheClear=require(2447),mapCacheDelete=require(2446),mapCacheGet=require(2443),mapCacheHas=require(2445),mapCacheSet=require(2444);function MapCache(e){var a=-1,p=null==e?0:e.length;for(this.clear();++a

-1&&e%1==0&&e0&&r(u)?e>1?baseFlatten(u,e-1,r,t,l):arrayPush(l,u):t||(l[l.length]=u)}return l}module.exports=baseFlatten; }, {“2473″:2473,”2512”:2512}]; window.modules[“2512”] = [function(require,module,exports){var Symbol=require(2459),isArguments=require(2467),isArray=require(333),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;function isFlattenable(e){return isArray(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}module.exports=isFlattenable; }, {“333″:333,”2459″:2459,”2467”:2467}]; window.modules[“2513”] = [function(require,module,exports){var createBaseFor=require(2514),baseFor=createBaseFor();module.exports=baseFor; }, {“2514”:2514}]; window.modules[“2514”] = [function(require,module,exports){function createBaseFor(e){return function(r,t,a){for(var n=-1,o=Object(r),c=a(r),u=c.length;u–;){var f=c[e?u:++n];if(!1===t(o[f],f,o))break}return r}}module.exports=createBaseFor; }, {}]; window.modules[“2515”] = [function(require,module,exports){var castPath=require(2516),toKey=require(2517);function baseGet(e,t){for(var a=0,r=(t=castPath(t,e)).length;null!=e&&an))return!1;var f=u.get(e),o=u.get(r);if(f&&o)return f==r&&o==e;var _=-1,s=!0,R=a&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(u.set(e,r),u.set(r,e);++_-1&&e%1==0&&en?n:a)a?0:a-r>>>0,r>>>=0;for(var o=Array(n);++l=a?e:baseSlice(e,c,i)}module.exports=castSlice; }, {“2582”:2582}]; window.modules[“2597”] = [function(require,module,exports){var Uint8Array=require(2460);function cloneArrayBuffer(r){var e=new r.constructor(r.byteLength);return new Uint8Array(e).set(new Uint8Array(r)),e}module.exports=cloneArrayBuffer; }, {“2460”:2460}]; window.modules[“2598”] = [function(require,module,exports){var cloneArrayBuffer=require(2597);function cloneDataView(e,r){var f=r?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.byteLength)}module.exports=cloneDataView; }, {“2597”:2597}]; window.modules[“2599”] = [function(require,module,exports){var reFlags=/w*$/;function cloneRegExp(e){var r=new e.constructor(e.source,reFlags.exec(e));return r.lastIndex=e.lastIndex,r}module.exports=cloneRegExp; }, {}]; window.modules[“2600”] = [function(require,module,exports){var Symbol=require(2459),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol(o){return symbolValueOf?Object(symbolValueOf.call(o)):{}}module.exports=cloneSymbol; }, {“2459”:2459}]; window.modules[“2602”] = [function(require,module,exports){var arrayFilter=require(2465),stubArray=require(2634),objectProto=Object.prototype,propertyIsEnumerable=objectProto.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(r){return null==r?[]:(r=Object(r),arrayFilter(nativeGetSymbols(r),function(e){return propertyIsEnumerable.call(r,e)}))}:stubArray;module.exports=getSymbols; }, {“2465″:2465,”2634”:2634}]; window.modules[“2603”] = [function(require,module,exports){var arrayPush=require(2473),getPrototype=require(2632),getSymbols=require(2602),stubArray=require(2634),nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(r){for(var e=[];r;)arrayPush(e,getSymbols(r)),r=getPrototype(r);return e}:stubArray;module.exports=getSymbolsIn; }, {“2473″:2473,”2602″:2602,”2632″:2632,”2634”:2634}]; window.modules[“2604”] = [function(require,module,exports){var root=require(2423),coreJsData=root[“__core-js_shared__”];module.exports=coreJsData; }, {“2423”:2423}]; window.modules[“2605”] = [function(require,module,exports){var baseRest=require(2577),isIterateeCall=require(2606);function createAssigner(e){return baseRest(function(t,r){var a=-1,i=r.length,s=i>1?r[i-1]:void 0,n=i>2?r[2]:void 0;for(s=e.length>3&&”function”==typeof s?(i–,s):void 0,n&&isIterateeCall(r[0],r[1],n)&&(s=i<3?void 0:s,i=1),t=Object(t);++a-1?a[n?r[s]:s]:void 0}}module.exports=createFind; }, {"2487":2487,"2544":2544,"2554":2554}]; window.modules["2615"] = [function(require,module,exports){var flatten=require(2625),overRest=require(2578),setToString=require(2579);function flatRest(e){return setToString(overRest(e,void 0,flatten),e+"")}module.exports=flatRest; }, {"2578":2578,"2579":2579,"2625":2625}]; window.modules["2620"] = [function(require,module,exports){var toNumber=require(2652),INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308;function toFinite(e){return e?(e=toNumber(e))===INFINITY||e===-INFINITY?(e=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}module.exports=shortOut; }, {}]; window.modules[“2645″] = [function(require,module,exports){var rsAstralRange=”\ud800-\udfff”,rsComboMarksRange=”\u0300-\u036f”,reComboHalfMarksRange=”\ufe20-\ufe2f”,rsComboSymbolsRange=”\u20d0-\u20ff”,rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsVarRange=”\ufe0e\ufe0f”,rsAstral=”[“+rsAstralRange+”]”,rsCombo=”[“+rsComboRange+”]”,rsFitz=”\ud83c[\udffb-\udfff]”,rsModifier=”(?:”+rsCombo+”|”+rsFitz+”)”,rsNonAstral=”[^”+rsAstralRange+”]”,rsRegional=”(?:\ud83c[\udde6-\uddff]){2}”,rsSurrPair=”[\ud800-\udbff][\udc00-\udfff]”,rsZWJ=”\u200d”,reOptMod=rsModifier+”?”,rsOptVar=”[“+rsVarRange+”]?”,rsOptJoin=”(?:”+rsZWJ+”(?:”+[rsNonAstral,rsRegional,rsSurrPair].join(“|”)+”)”+rsOptVar+reOptMod+”)*”,rsSeq=rsOptVar+reOptMod+rsOptJoin,rsSymbol=”(?:”+[rsNonAstral+rsCombo+”?”,rsCombo,rsRegional,rsSurrPair,rsAstral].join(“|”)+”)”,reUnicode=RegExp(rsFitz+”(?=”+rsFitz+”)|”+rsSymbol+rsSeq,”g”);function unicodeToArray(r){return r.match(reUnicode)||[]}module.exports=unicodeToArray; }, {}]; window.modules[“2646″] = [function(require,module,exports){var rsAstralRange=”\ud800-\udfff”,rsComboMarksRange=”\u0300-\u036f”,reComboHalfMarksRange=”\ufe20-\ufe2f”,rsComboSymbolsRange=”\u20d0-\u20ff”,rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange=”\u2700-\u27bf”,rsLowerRange=”a-z\xdf-\xf6\xf8-\xff”,rsMathOpRange=”\xac\xb1\xd7\xf7″,rsNonCharRange=”\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf”,rsPunctuationRange=”\u2000-\u206f”,rsSpaceRange=” \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000″,rsUpperRange=”A-Z\xc0-\xd6\xd8-\xde”,rsVarRange=”\ufe0e\ufe0f”,rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos=”[‘’]”,rsBreak=”[“+rsBreakRange+”]”,rsCombo=”[“+rsComboRange+”]”,rsDigits=”\d+”,rsDingbat=”[“+rsDingbatRange+”]”,rsLower=”[“+rsLowerRange+”]”,rsMisc=”[^”+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+”]”,rsFitz=”\ud83c[\udffb-\udfff]”,rsModifier=”(?:”+rsCombo+”|”+rsFitz+”)”,rsNonAstral=”[^”+rsAstralRange+”]”,rsRegional=”(?:\ud83c[\udde6-\uddff]){2}”,rsSurrPair=”[\ud800-\udbff][\udc00-\udfff]”,rsUpper=”[“+rsUpperRange+”]”,rsZWJ=”\u200d”,rsMiscLower=”(?:”+rsLower+”|”+rsMisc+”)”,rsMiscUpper=”(?:”+rsUpper+”|”+rsMisc+”)”,rsOptContrLower=”(?:”+rsApos+”(?:d|ll|m|re|s|t|ve))?”,rsOptContrUpper=”(?:”+rsApos+”(?:D|LL|M|RE|S|T|VE))?”,reOptMod=rsModifier+”?”,rsOptVar=”[“+rsVarRange+”]?”,rsOptJoin=”(?:”+rsZWJ+”(?:”+[rsNonAstral,rsRegional,rsSurrPair].join(“|”)+”)”+rsOptVar+reOptMod+”)*”,rsOrdLower=”\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])”,rsOrdUpper=”\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])”,rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji=”(?:”+[rsDingbat,rsRegional,rsSurrPair].join(“|”)+”)”+rsSeq,reUnicodeWord=RegExp([rsUpper+”?”+rsLower+”+”+rsOptContrLower+”(?=”+[rsBreak,rsUpper,”$”].join(“|”)+”)”,rsMiscUpper+”+”+rsOptContrUpper+”(?=”+[rsBreak,rsUpper+rsMiscLower,”$”].join(“|”)+”)”,rsUpper+”?”+rsMiscLower+”+”+rsOptContrLower,rsUpper+”+”+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join(“|”),”g”);function unicodeWords(r){return r.match(reUnicodeWord)||[]}module.exports=unicodeWords; }, {}]; window.modules[“2649”] = [function(require,module,exports){var toString=require(2593),upperFirst=require(2650);function capitalize(r){return upperFirst(toString(r).toLowerCase())}module.exports=capitalize; }, {“2593″:2593,”2650”:2650}]; window.modules[“2650”] = [function(require,module,exports){var createCaseFirst=require(2607),upperFirst=createCaseFirst(“toUpperCase”);module.exports=upperFirst; }, {“2607”:2607}]; window.modules[“2652”] = [function(require,module,exports){var baseTrim=require(2585),isObject=require(332),isSymbol=require(2509),NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber(e){if(“number”==typeof e)return e;if(isSymbol(e))return NAN;if(isObject(e)){var r=”function”==typeof e.valueOf?e.valueOf():e;e=isObject(r)?r+””:r}if(“string”!=typeof e)return 0===e?e:+e;e=baseTrim(e);var t=reIsBinary.test(e);return t||reIsOctal.test(e)?freeParseInt(e.slice(2),t?2:8):reIsBadHex.test(e)?NAN:+e}module.exports=toNumber; }, {“332″:332,”2509″:2509,”2585”:2585}]; window.modules[“2653”] = [function(require,module,exports){var root=require(2423),now=function(){return root.Date.now()};module.exports=now; }, {“2423”:2423}]; window.modules[“2655”] = [function(require,module,exports){var baseRest=require(2577),eq=require(2482),isIterateeCall=require(2606),keysIn=require(2489),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,defaults=baseRest(function(e,r){e=Object(e);var t=-1,o=r.length,a=o>2?r[2]:void 0;for(a&&isIterateeCall(r[0],r[1],a)&&(o=1);++t-1?u:0,r.charCodeAt(b+1)){case 100:case 102:if(o>=c)break;if(null==e[o])break;u=c)break;if(null==e[o])break;u=c)break;if(void 0===e[o])break;u“,u=b+2,b++;break}s+=a(e[o]),u=b+2,b++;break;case 115:if(o>=c)break;u]*>/i,t=function(e,t){var f,v,d,m,x;void 0===e&&(e=””),void 0===t&&(t=”1″);var h=0;if(“0″===(t=”number”==typeof t?t.toString():t.replace(/s/g,””)))return e;if(“1″===t)f=1,v=1,d=1,m=1;else if(“2″===t)f=1,v=1,d=2,m=1;else if(“3″===t)f=1,v=1,d=3,m=1;else if(“-1″===t)x=1;else for(var b=0;b[‘”]$/.test(e)&&(n=1,e+=” “);for(var p=o(e),c=””,g=0,l=””,s=0;s?@[\]^_`{|}~]”;return e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp(“^'(?=”+r+”\B)”),”’”)).replace(new RegExp(‘^”(?=’+r+”\B)”),”””)).replace(/”‘(?=w)/,”“‘”)).replace(/'”(?=w)/,”‘“”)).replace(/'(?=dd)/,”’”)).replace(new RegExp(“(\s| |–|&[mn]dash;|–|—|ȁ[34])'(?=\w)”,”g”),”$1‘”)).replace(new RegExp(“([^\ \t\r\n\[\{\(\-])'”,”g”),”$1’”)).replace(new RegExp(“([\ \t\r\n\[\{\(\-]?)'(?=\s|s\b)”,”g”),”$1’”)).replace(/’/g,”‘”)).replace(new RegExp(‘(\s| |–|&[mn]dash;|–|—|ȁ[34])”(?=\w)’,”g”),”$1“”)).replace(new RegExp(‘([^\ \t\r\n\[\{\(\-])”‘,”g”),”$1””)).replace(new RegExp(‘([\ \t\r\n\[\{\(\-]?)”(?=\s)’,”g”),”$1””)).replace(/”/g,”“”)},n=function(e){return e=(e=e.replace(/“/g,”“”)).replace(/”/g,”””)},p=function(e){return e=(e=e.replace(/`/g,”‘”)).replace(/’/g,”’”)},c=function(e){return e=e.replace(/–/g,”—”)},g=function(e){return e=(e=e.replace(/—/g,”—”)).replace(/–/g,”–”)},l=function(e){return e=(e=e.replace(/—/g,”–”)).replace(/–/g,”—”)},s=function(e){return e=(e=e.replace(/…/g,”…”)).replace(/. . ./g,”…”)},i=function(e){return e=(e=(e=(e=(e=(e=(e=e.replace(/–/g,”-“)).replace(/—/g,”–“)).replace(/‘/g,”‘”)).replace(/’/g,”‘”)).replace(/“/g,'”‘)).replace(/”/g,'”‘)).replace(/…/g,”…”)},u=function(e){return e=(e=(e=(e=(e=(e=e.replace(/\\/g,””)).replace(/\”/g,”””)).replace(/\’/g,”‘”)).replace(/\./g,”.”)).replace(/\-/g,”-“)).replace(/\`/g,”`”)},o=function(e){for(var r=0,t=e.length,a=[],n=/||]*>/g,p=null;p=n.exec(e);){if(r”:”akbar-men”,”∑”:”majmou”,”¤”:”omla”},az:{},ca:{“∆”:”delta”,”∞”:”infinit”,”♥”:”amor”,”&”:”i”,”|”:”o”,””:”mes que”,”∑”:”suma dels”,”¤”:”moneda”},cs:{“∆”:”delta”,”∞”:”nekonecno”,”♥”:”laska”,”&”:”a”,”|”:”nebo”,””:”vetsi nez”,”∑”:”soucet”,”¤”:”mena”},de:{“∆”:”delta”,”∞”:”unendlich”,”♥”:”Liebe”,”&”:”und”,”|”:”oder”,””:”groesser als”,”∑”:”Summe von”,”¤”:”Waehrung”},dv:{“∆”:”delta”,”∞”:”kolunulaa”,”♥”:”loabi”,”&”:”aai”,”|”:”noonee”,””:”ah vure bodu”,”∑”:”jumula”,”¤”:”faisaa”},en:{“∆”:”delta”,”∞”:”infinity”,”♥”:”love”,”&”:”and”,”|”:”or”,””:”greater than”,”∑”:”sum”,”¤”:”currency”},es:{“∆”:”delta”,”∞”:”infinito”,”♥”:”amor”,”&”:”y”,”|”:”u”,””:”mas que”,”∑”:”suma de los”,”¤”:”moneda”},fa:{“∆”:”delta”,”∞”:”bi-nahayat”,”♥”:”eshgh”,”&”:”va”,”|”:”ya”,””:”bishtar-az”,”∑”:”majmooe”,”¤”:”vahed”},fi:{“∆”:”delta”,”∞”:”aarettomyys”,”♥”:”rakkaus”,”&”:”ja”,”|”:”tai”,””:”suurempi kuin”,”∑”:”summa”,”¤”:”valuutta”},fr:{“∆”:”delta”,”∞”:”infiniment”,”♥”:”Amour”,”&”:”et”,”|”:”ou”,””:”superieure a”,”∑”:”somme des”,”¤”:”monnaie”},ge:{“∆”:”delta”,”∞”:”usasruloba”,”♥”:”siqvaruli”,”&”:”da”,”|”:”an”,””:”meti”,”∑”:”jami”,”¤”:”valuta”},gr:{},hu:{“∆”:”delta”,”∞”:”vegtelen”,”♥”:”szerelem”,”&”:”es”,”|”:”vagy”,””:”nagyobb mint”,”∑”:”szumma”,”¤”:”penznem”},it:{“∆”:”delta”,”∞”:”infinito”,”♥”:”amore”,”&”:”e”,”|”:”o”,””:”maggiore di”,”∑”:”somma”,”¤”:”moneta”},lt:{“∆”:”delta”,”∞”:”begalybe”,”♥”:”meile”,”&”:”ir”,”|”:”ar”,””:”daugiau nei”,”∑”:”suma”,”¤”:”valiuta”},lv:{“∆”:”delta”,”∞”:”bezgaliba”,”♥”:”milestiba”,”&”:”un”,”|”:”vai”,””:”lielaks neka”,”∑”:”summa”,”¤”:”valuta”},my:{“∆”:”kwahkhyaet”,”∞”:”asaonasme”,”♥”:”akhyait”,”&”:”nhin”,”|”:”tho”,””:”kyithaw”,”∑”:”paungld”,”¤”:”ngwekye”},mk:{},nl:{“∆”:”delta”,”∞”:”oneindig”,”♥”:”liefde”,”&”:”en”,”|”:”of”,””:”groter dan”,”∑”:”som”,”¤”:”valuta”},pl:{“∆”:”delta”,”∞”:”nieskonczonosc”,”♥”:”milosc”,”&”:”i”,”|”:”lub”,””:”wieksze niz”,”∑”:”suma”,”¤”:”waluta”},pt:{“∆”:”delta”,”∞”:”infinito”,”♥”:”amor”,”&”:”e”,”|”:”ou”,””:”maior que”,”∑”:”soma”,”¤”:”moeda”},ro:{“∆”:”delta”,”∞”:”infinit”,”♥”:”dragoste”,”&”:”si”,”|”:”sau”,””:”mai mare ca”,”∑”:”suma”,”¤”:”valuta”},ru:{“∆”:”delta”,”∞”:”beskonechno”,”♥”:”lubov”,”&”:”i”,”|”:”ili”,””:”bolshe”,”∑”:”summa”,”¤”:”valjuta”},sk:{“∆”:”delta”,”∞”:”nekonecno”,”♥”:”laska”,”&”:”a”,”|”:”alebo”,””:”viac ako”,”∑”:”sucet”,”¤”:”mena”},sr:{},tr:{“∆”:”delta”,”∞”:”sonsuzluk”,”♥”:”ask”,”&”:”ve”,”|”:”veya”,””:”buyuktur”,”∑”:”toplam”,”¤”:”para birimi”},uk:{“∆”:”delta”,”∞”:”bezkinechnist”,”♥”:”lubov”,”&”:”i”,”|”:”abo”,””:”bilshe”,”∑”:”suma”,”¤”:”valjuta”},vn:{“∆”:”delta”,”∞”:”vo cuc”,”♥”:”yeu”,”&”:”va”,”|”:”hoac”,””:”lon hon”,”∑”:”tong”,”¤”:”tien te”}},u=[“;”,”?”,”:”,”@”,”&”,”=”,”+”,”$”,”,”,”/”].join(“”),s=[“;”,”?”,”:”,”@”,”&”,”=”,”+”,”$”,”,”].join(“”),l=[“.”,”!”,”~”,”*”,”‘”,”(“,”)”].join(“”),r=function(a,r){var m,d,g,k,y,f,p,z,b,A,v,E,O,j,S=”-“,w=””,U=””,C=!0,N={},R=””;if(“string”!=typeof a)return””;if(“string”==typeof r&&(S=r),p=o.en,z=i.en,”object”==typeof r)for(v in m=r.maintainCase||!1,N=r.custom&&”object”==typeof r.custom?r.custom:N,g=+r.truncate>1&&r.truncate||!1,k=r.uric||!1,y=r.uricNoSlash||!1,f=r.mark||!1,C=!1!==r.symbols&&!1!==r.lang,S=r.separator||S,k&&(R+=u),y&&(R+=s),f&&(R+=l),p=r.lang&&o[r.lang]&&C?o[r.lang]:C?o.en:{},z=r.lang&&i[r.lang]?i[r.lang]:!1===r.lang||!0===r.lang?{}:i.en,r.titleCase&&”number”==typeof r.titleCase.length&&Array.prototype.toString.call(r.titleCase)?(r.titleCase.forEach(function(a){N[a+””]=a+””}),d=!0):d=!!r.titleCase,r.custom&&”number”==typeof r.custom.length&&Array.prototype.toString.call(r.custom)&&r.custom.forEach(function(a){N[a+””]=a+””}),Object.keys(N).forEach(function(e){var n;n=e.length>1?new RegExp(“\b”+h(e)+”\b”,”gi”):new RegExp(h(e),”gi”),a=a.replace(n,N[e])}),N)R+=v;for(R=h(R+=S),O=!1,j=!1,A=0,E=(a=a.replace(/(^s+|s+$)/g,””)).length;A=0?(U+=v,v=””):!0===j?(v=t[U]+e[v],U=””):v=O&&e[v].match(/[A-Za-z0-9]/)?” “+e[v]:e[v],O=!1,j=!1):v in t?(U+=v,v=””,A===E-1&&(v=t[U]),j=!0):!p[v]||k&&-1!==u.indexOf(v)||y&&-1!==s.indexOf(v)?(!0===j?(v=t[U]+v,U=””,j=!1):O&&(/[A-Za-z0-9]/.test(v)||w.substr(-1).match(/A-Za-z0-9]/))&&(v=” “+v),O=!1):(v=O||w.substr(-1).match(/[A-Za-z0-9]/)?S+p[v]:p[v],v+=void 0!==a[A+1]&&a[A+1].match(/[A-Za-z0-9]/)?S:””,O=!0),w+=v.replace(new RegExp(“[^\w\s”+R+”_-]”,”g”),S);return d&&(w=w.replace(/(w)(S*)/g,function(a,e,n){var t=e.toUpperCase()+(null!==n?n:””);return Object.keys(N).indexOf(t.toLowerCase())g&&(b=w.charAt(g)===S,w=w.slice(0,g),b||(w=w.slice(0,w.lastIndexOf(S)))),m||d||(w=w.toLowerCase()),w},m=function(a){return function(e){return r(e,a)}},h=function(a){return a.replace(/[-\^$*+?.()|[]{}/]/g,”\$&”)},c=function(a,e){for(var n in e)if(e[n]===a)return!0};if(“undefined”!=typeof module&&module.exports)module.exports=r,module.exports.createSlug=m;else if(“undefined”!=typeof define&&define.amd)define([],function(){return r});else try{if(a.getSlug||a.createSlug)throw”speakingurl: globals exists /(getSlug|createSlug)/”;a.getSlug=r,a.createSlug=m}catch(a){}}(this); }, {}]; window.modules[“2764”] = [function(require,module,exports){“use strict”;var _interopRequireDefault=require(9),_typeof2=_interopRequireDefault(require(22)),_classCallCheck2=_interopRequireDefault(require(10)),_createClass2=_interopRequireDefault(require(12)),AdDataType={DISPLAY:”display_ad”,VIDEO:”video”},AdFuelDataAllowlist=[“adUnitPath”,”parentRegistry”,”response”,”rktr_ad_id”,”rktr_slot_id”],AdData=function(){function e(){(0,_classCallCheck2.default)(this,e),this.adList={},this.registerAdActions={},this.getAdDetailsActions={};for(var t=0,i=Object.values(this.TYPE);t2&&void 0!==arguments[2]&&arguments[2],n=r||this.el;return Array.from(n.querySelectorAll(e)).reduce(function(e,r){return _objectSpread((0,_defineProperty2.default)({},t(unpackDataset(r.dataset)),r),e)},{})}},{key:”startSSE”,value:function(e,t){this.sseUri=t||this.el.dataset.uri,this.sseName=e,this.connectSSE()}},{key:”connectSSE”,value:function(){console.log(“”.concat(this.sseName,” SSE Connecting…”)),this.sseClient=new EventSource(this.sseUri),this.registerSSEListeners()}},{key:”registerSSEListeners”,value:function(){var e=this;this.sseClient.addEventListener(“publish”,function(){var t=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function t(r){return _regenerator.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.onSSEPublish(r);case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.log(“”.concat(e.sseName,” onSSEPublish ERROR”),t.t0);case 8:case”end”:return t.stop()}},t,null,[[0,5]])}));return function(e){return t.apply(this,arguments)}}()),this.sseClient.addEventListener(“error”,function(t){e.onSSEError(t)}),this.sseClient.addEventListener(“open”,function(t){e.onSSEOpen(t)})}},{key:”onSSEOpen”,value:function(){console.log(“”.concat(this.sseName,” SSE Open”))}},{key:”onSSEReconnecting”,value:function(){var e=this;setTimeout(function(){console.log(“”.concat(e.sseName,” SSE Reconnecting…”)),e.connectSSE()},1e3)}},{key:”onSSEPublish”,value:function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:console.log(“”.concat(this.sseName,” SSE Publish”));case 1:case”end”:return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:”onSSEError”,value:function(e){console.log(“”.concat(this.sseName,” An error occurred while attempting to connect.”),e),this.sseClient.close(),this.onSSEReconnecting()}},{key:”sseFetchUpdates”,value:function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){var t;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=window.location.pathname+window.location.search,e.abrupt(“return”,fetch(t).then(function(e){return e.text()}).then(function(e){return e}).catch(function(e){return console.log(e)}));case 2:case”end”:return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()}]),e}(),addEventListener=function(e,t,r,n){return e.addEventListener(t,function(e){var t=e.currentTarget;r.call(n,unpackDataset(t.dataset),t,e)})},unpackDataset=function(e){return Object.keys(e).reduce(function(t,r){return r.startsWith(SERIALIZED_DATA_PREFIX)?_objectSpread(_objectSpread({},t),{},(0,_defineProperty2.default)({},r.slice(PREFIX_LENGTH),function(){try{return JSON.parse(e[r])}catch(e){}}())):_objectSpread(_objectSpread({},t),{},(0,_defineProperty2.default)({},r,e[r]))},{})};module.exports=ClientModel; }, {“9″:9,”10″:10,”12″:12,”19″:19,”26″:26,”27″:27,”2768”:2768}]; window.modules[“2768”] = [function(require,module,exports){“use strict”;var CACHE_SIZE=1,ANY_ACTION=”_any”,EMPTY=Symbol(“empty”),dispatcher=function(){var n={},t={};function i(i,o){if(!i)throw new Error(“Invalid action format”);n[i]=n[i]||{},n[i][o]=n[i][o]||[],t[i]=t[i]||{},t[i][o]=t[i][o]||new Array(CACHE_SIZE)}return{dispatch:function(o){var r=o.ns,c=o.action,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:EMPTY;i(r,c),n[r][c].concat(n[r][ANY_ACTION]||[]).forEach(function(n){setTimeout(function(){n(e,{ns:r,action:c})})}),t[r][c].shift(),t[r][c].push(e)},subscribe:function(o,r){var c=o.ns,e=o.action,a=void 0===e?ANY_ACTION:e,u=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];i(c,a),n[c][a].push(r),u&&t[c][a].filter(function(n){return void 0!==n}).forEach(function(n){setTimeout(function(){r(n)})})},reset:function(){t={},n={}}}}();dispatcher.CACHE_SIZE=CACHE_SIZE,module.exports=dispatcher; }, {}]; window.modules[“2774”] = [function(require,module,exports){“use strict”;var _interopRequireDefault=require(9),_defineProperty2=_interopRequireDefault(require(19));function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r|(]*>|]*>|]+>)+/i,full=new RegExp(htmlTags.map(t=>`]*>`).join(“|”),”i”);module.exports=(t=>basic.test(t)||full.test(t)); }, {“2960”:2960}]; window.modules[“2827”] = [function(require,module,exports){“use strict”;exports.byteLength=byteLength,exports.toByteArray=toByteArray,exports.fromByteArray=fromByteArray;for(var lookup=[],revLookup=[],Arr=”undefined”!=typeof Uint8Array?Uint8Array:Array,code=”ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/”,i=0,len=code.length;i0)throw new Error(“Invalid string. Length must be a multiple of 4”);var e=o.indexOf(“=”);return-1===e&&(e=r),[e,e===r?0:4-e%4]}function byteLength(o){var r=getLens(o),e=r[0],t=r[1];return 3*(e+t)/4-t}function _byteLength(o,r,e){return 3*(r+e)/4-e}function toByteArray(o){var r,e,t=getLens(o),n=t[0],u=t[1],p=new Arr(_byteLength(o,n,u)),a=0,h=u>0?n-4:n;for(e=0;e>16&255,p[a++]=r>>8&255,p[a++]=255&r;return 2===u&&(r=revLookup[o.charCodeAt(e)]<>4,p[a++]=255&r),1===u&&(r=revLookup[o.charCodeAt(e)]<<10|revLookup[o.charCodeAt(e+1)]<>2,p[a++]=r>>8&255,p[a++]=255&r),p}function tripletToBase64(o){return lookup[o>>18&63]+lookup[o>>12&63]+lookup[o>>6&63]+lookup[63&o]}function encodeChunk(o,r,e){for(var t,n=[],u=r;up?p:u+16383));return 1===t?(r=o[e-1],n.push(lookup[r>>2]+lookup[r<<4&63]+"==")):2===t&&(r=(o[e-2]<>10]+lookup[r>>4&63]+lookup[r<<2&63]+"=")),n.join("")}revLookup["-".charCodeAt(0)]=62,revLookup["_".charCodeAt(0)]=63; }, {}]; window.modules["2889"] = [function(require,module,exports){exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(11,i=-7,N=t?h-1:0,n=t?-1:1,s=a[o+N];for(N+=n,M=s&(1<>=-i,i+=w;i>0;M=256*M+a[o+N],N+=n,i-=8);for(p=M&(1<>=-i,i+=r;i>0;p=256*p+a[o+N],N+=n,i-=8);if(0===M)M=1-e;else{if(M===f)return p?NaN:1/0*(s?-1:1);p+=Math.pow(2,r),M-=e}return(s?-1:1)*p*Math.pow(2,M-r)},exports.write=function(a,o,t,r,h,M){var p,w,f,e=8*M-h-1,i=(11,n=23===h?Math.pow(2,-24)-Math.pow(2,-77):0,s=r?0:M-1,u=r?1:-1,l=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(w=isNaN(o)?1:0,p=i):(p=Math.floor(Math.log(o)/Math.LN2),o*(f=Math.pow(2,-p))=1?n/f:n*Math.pow(2,1-N))*f>=2&&(p++,f/=2),p+N>=i?(w=0,p=i):p+N>=1?(w=(o*f-1)*Math.pow(2,h),p+=N):(w=o*Math.pow(2,N-1)*Math.pow(2,h),p=0));h>=8;a[t+s]=255&w,s+=u,w/=256,h-=8);for(p=p<0;a[t+s]=255&p,s+=u,p/=256,e-=8);a[t+s-u]|=128*l}; }, {}]; window.modules["2959"] = [function(require,module,exports){module.exports=[ "a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "math", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rb", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "section", "select", "slot", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr" ] }, {}]; window.modules["2960"] = [function(require,module,exports){"use strict";module.exports=require(2959); }, {"2959":2959}]; window.modules["header.client"] = [function(require,module,exports){"use strict";var moreDropdownLink,hoverStartTime,_interopRequireDefault=require(9),_slicedToArray2=_interopRequireDefault(require(21)),_toConsumableArray2=_interopRequireDefault(require(20)),HEADER_ICON_IDS=["headerMenuIcon","headerSearchIcon","headerCloseIcon"],MORE_DROPDOWN_LINK_ID="moreDropdown",_require=require(116),calculateNavLeftMaxWidth=_require.calculateNavLeftMaxWidth,_require2=require(117),calculatePageStickyThreshold=_require2.calculatePageStickyThreshold,_get=require(1),initializeMenu=function(e){var o=e.classList;HEADER_ICON_IDS.map(function(e){return document.getElementById(e)}).filter(function(e){return e}).forEach(function(e){e.addEventListener("click",function(){o.toggle("header–active");var e=window.document.body;if(o.contains("header–active"))e.style.top="-".concat(window.scrollY,"px"),e.classList.toggle("menu-opened");else{e.classList.toggle("menu-opened");var r=e.style.top;e.style.top="",window.scrollTo(0,-1*parseInt(r||"0"))}})})},initializeAccordion=function(e){e.querySelectorAll(".header__nav-item-accordion").forEach(function(e){e.addEventListener("click",function(){var o;e.classList.toggle("header__nav-item-accordion–open"),null===(o=e.querySelector(".header__nav-item-dropdown"))||void 0===o||o.classList.toggle("header__nav-item-dropdown–open")})})},initializeEditionizers=function(e){var o=e.querySelectorAll(".header__editionizer"),r=e.querySelectorAll(".header__editionizer-button");(0,_toConsumableArray2.default)(r).forEach(function(e){return e.addEventListener("click",function(){e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true"),(0,_toConsumableArray2.default)(o).forEach(function(e){return e.classList.toggle("header__editionizer–active")})})})},formatNavBar=function(e){if(!(e.getBoundingClientRect().width .header__nav-item-dropdown”),d=e.querySelector(“.header__left .header__nav-container”);d.querySelectorAll(“.header__nav-item”).forEach(o),a.querySelectorAll(“.header__nav-item-dropdown-item”).forEach(r),r(i);for(var l=calculateNavLeftMaxWidth(e),c=t(),u=!1,s=1;c>l;)u=!0,n(s),c=t(),s++;u&&(o(i),(c=t())>l&&(n(s),c=t(),s++));var m=d.querySelector(“.promotion-link”)?0:1;a.querySelectorAll(“.header__nav-item-dropdown-item:nth-child(n+”.concat(d.childElementCount-s+m,”)”)).forEach(o),e.querySelector(“.header__nav”).style.visibility=”visible”}},moreDropdownLinkZJSAttrs={},onMoreDropdownMouseEnter=function(){hoverStartTime=Date.now()},onMoreDropdownMouseLeave=function(){hoverStartTime&&(window.zion_analytics.track(new window.ZION_SDK.GenericHover({traits:{canonical_url:_get(window,”CNN.contentModel.canonicalUrl”,null),component_id:moreDropdownLinkZJSAttrs.zjsComponent_id,cms_id:moreDropdownLinkZJSAttrs.zjsContainer_id,component_text:moreDropdownLinkZJSAttrs.zjsComponent_text,component_type:moreDropdownLinkZJSAttrs.zjsComponent_type,hover_time:Date.now()-hoverStartTime}})),hoverStartTime=0)},updateMoreDropdownHoverEvent=function(e){e?(moreDropdownLink.addEventListener(“mouseenter”,onMoreDropdownMouseEnter,!0),moreDropdownLink.addEventListener(“mouseleave”,onMoreDropdownMouseLeave,!0)):(moreDropdownLink.removeEventListener(“mouseenter”,onMoreDropdownMouseEnter,!0),moreDropdownLink.removeEventListener(“mouseleave”,onMoreDropdownMouseLeave,!0))},mediaQueryHoverNone=window.matchMedia(“(any-hover: none)”),convertDatasetToAttributeName=function(e){return”data-“.concat(e.split(/(?=[A-Z])/).join(“-“).toLowerCase())},updateMoreDropdownZJS=function(){var e=mediaQueryHoverNone.matches;if(updateMoreDropdownHoverEvent(!e),e)for(var o=0,r=Object.entries(moreDropdownLinkZJSAttrs);oe?o.classList.add(“show”):o.classList.remove(“show”)}o.addEventListener(“click”,function(){window.scrollTo({top:0,behavior:”smooth”})}),window.addEventListener(“scroll”,n),window.addEventListener(“load”,n)}; }, {}]; window.modules[“bizdev-outbrain.client”] = [function(require,module,exports){“use strict”;var _require=require(16),positionElement=_require.positionElement,_require2=require(17),mediumMaxWidthListener=_require2.mediumMaxWidthListener,isVisibleViewport=_require2.isVisibleViewport,ucStates=[“iab”,”data-store”,”ads-contextual”,”ads-person-prof”,”ads-person”,”content-person-prof”,”content-person”,”measure-ads”,”measure-content”,”measure-market”,”product-develop”,”vendor”],addScript=!0;module.exports=function(e){var i=e.dataset,t=i.visibleViewport,r=i.placement,n=e.innerHTML;addScript&&(addScript=!1,window.WM.UserConsent.addScript({src:”//widgets.outbrain.com/outbrain.js”,async:!0},ucStates),mediumMaxWidthListener(function(){window.OBR&&window.OBR.extern&&window.OBR.extern.reloadWidget()},{last:!0})),r?positionElement(e,{onRefreshPosition:function(){return window.OBR.extern.reloadWidget()}}):mediumMaxWidthListener(function(i){e.innerHTML=isVisibleViewport(t,i)?n:””})}; }, {“16″:16,”17”:17}]; window.modules[“newsletter.client”] = [function(require,module,exports){“use strict”;var _require=require(8),validateInput=_require.validateInput;module.exports=function(e){var t=e.querySelector(“.newsletter__form”),n=e.querySelector(“.newsletter__status”),r=t.querySelector(“.newsletter__email-input”),i=t.getAttribute(“data-subsection”),s=e.querySelector(“.newsletter__container”),u=e.querySelector(“.newsletter__success”);function a(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?(s.classList.add(“hide”),u.classList.remove(“hide”)):(s.classList.remove(“hide”),u.classList.add(“hide”))}var o=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=validateInput(e,{type:”email”,required:!0,customMsg:”Enter a valid email address”});if(n){if(!t&&!e.length)return n;if(e.length)return n}return!1},c=function(){var e=r.value;o(e)||(n.innerHTML=””)},l=function(e){n.innerHTML=e,n.classList.add(“newsletter__status-invalid”)};t.addEventListener(“focusout”,function(e){e.preventDefault(),c()}),r.addEventListener(“input”,function(e){e.preventDefault(),c()}),t.addEventListener(“focusin”,function(e){e.preventDefault();var t=o(r.value);t&&l(t)}),t.addEventListener(“submit”,function(e){e.preventDefault(),function(){var e=r.value,t=o(e,!1);if(e.length&&!t){var s={user_id:e.toLowerCase(),email:e,underscored:!0,underscored_source:”underscored”.concat(i?”_”.concat(i):””),underscored_subscribe:new Date};bt(“updateUser”,s,{onFailure:function(){n.innerHTML=”Something went wrong sign in, try again later”},onSuccess:function(){a(!0),r.value=””,setTimeout(function(){a(!1)},7e3)}})}else l(t)}()})}; }, {“8”:8}]; window.modules[“article.client”] = [function(require,module,exports){“use strict”;var _require=require(32),addScrollDepthAnalytics=_require.addScrollDepthAnalytics;function addAnalytics(e){addScrollDepthAnalytics(e,{“scroll-25″:.25,”scroll-50″:.5,”scroll-75″:.75,”scroll-100″:1},{event_type:”article_scroll”,author:window.CNN.contentModel.author,cms_id:window.CNN.contentModel.cmsId,headline:window.CNN.contentModel.headline,source_id:window.CNN.contentModel.sourceId,subsection:window.CNN.contentModel.subsection,view_name:window.CNN.contentModel.canonicalUrl})}module.exports=function(e){addAnalytics(e)}; }, {“32”:32}]; window.modules[“image.client”] = [function(require,module,exports){“use strict”;var _interopRequireDefault=require(9),_createClass2=_interopRequireDefault(require(12)),_classCallCheck2=_interopRequireDefault(require(10)),_inherits2=_interopRequireDefault(require(11)),_possibleConstructorReturn2=_interopRequireDefault(require(13)),_getPrototypeOf2=_interopRequireDefault(require(14));function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,i=(0,_getPrototypeOf2.default)(e);if(t){var l=(0,_getPrototypeOf2.default)(this).constructor;r=Reflect.construct(i,arguments,l)}else r=i.apply(this,arguments);return(0,_possibleConstructorReturn2.default)(this,r)}}function _isNativeReflectConstruct(){if(“undefined”==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(“function”==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}var _require=require(15),ClientModel=_require.ClientModel,initializeOnExec=_require.initializeOnExec,elementResizeObserver=require(48),Image=function(e){(0,_inherits2.default)(r,e);var t=_createSuper(r);function r(e){var i;return(0,_classCallCheck2.default)(this,r),i=t.call(this,e),elementResizeObserver.observe(e),i}return(0,_createClass2.default)(r)}(ClientModel);module.exports=initializeOnExec(Image); }, {“9″:9,”10″:10,”11″:11,”12″:12,”13″:13,”14″:14,”15″:15,”48”:48}]; window.modules[“paragraph.client”] = [function(require,module,exports){“use strict”;var _require=require(125),initProductClickEventListener=_require.initProductClickEventListener;module.exports=function(e){initProductClickEventListener(e)}; }, {“125”:125}]; window.modules[“product-card.client”] = [function(require,module,exports){“use strict”;var _require=require(67),getComponentUri=_require.getComponentUri;module.exports=function(e){var t,r;t=e.querySelectorAll(“.product-card_expanded__images .image”),r=e.querySelectorAll(“.product-card_expanded__image .image”),t.forEach(function(e){e.addEventListener(“click”,function(e){var t=getComponentUri(e.target);r.forEach(function(e){e.style.display=e.getAttribute(“data-uri”)===t?”inline-block”:”none”})})}),e.querySelectorAll(“.sticker”).forEach(function(t){var r=t.getAttribute(“data-component-variation”);”true”===t.getAttribute(“data-sticker-expired-or-unsupported”)?t.style.display=”none”:e.classList.add(“”.concat(r,”__sticker-spacing”))})}; }, {“67”:67}]; window.modules[“product-card-container.client”] = [function(require,module,exports){“use strict”;var carouselSelector=”.product-card-container_carousel”,PRODUCT_CARD_VARIATIONS=require(75),_require=require(17),VIEWPORT_MEDIUM_WIDTH=_require.VIEWPORT_MEDIUM_WIDTH,throttle=require(18);module.exports=function(t){var e,c=t.querySelector(“”.concat(carouselSelector,”__prev”)),i=t.querySelector(“”.concat(carouselSelector,”__next”)),n=t.classList[0],r=”product-card-container_carousel”===n,l=t.querySelector(“.”.concat(n,”__container-items”)),o=l.querySelectorAll(“.”.concat(PRODUCT_CARD_VARIATIONS[n],”__button-link”)),d=null==i?void 0:i.clientWidth,a=0,s=function(){“product-card-container_landing-page”!==n&&(e=Math.trunc((l.clientWidth-d)/l.children[0].clientWidth)-1)},u=function(){if(!(“product-card-container_landing-page”===n&&window.innerWidtht&&(t=e.clientHeight)}),o.forEach(function(e){e.style.height=””.concat(t,”px”)})}},h=function(){c&&i&&(0===l.scrollLeft?c.classList.add(“hide”):c.classList.remove(“hide”),l.clientWidth+l.scrollLeft>=l.scrollWidth?i.classList.add(“hide”):i.classList.remove(“hide”),a=Math.trunc((l.scrollLeft+c.clientWidth)/l.children[0].clientWidth))};u(),r&&(h(),s(),c.addEventListener(“click”,function(){a=(a-=e||1)=l.childElementCount?l.childElementCount-1:a,l.scrollLeft=l.children[a].offsetLeft-i.clientWidth+20})),window.addEventListener(“resize”,throttle(function(){r&&(s(),h()),u()},300)),r&&l.addEventListener(“scroll”,throttle(function(){h()},300))}; }, {“17″:17,”18″:18,”75”:75}]; window.modules[“social-share.client”] = [function(require,module,exports){“use strict”;module.exports=function(e){var t=e.classList.contains(“social-share_compact”),a=e.querySelector(“[data-type=open]”),c=e.querySelector(“[data-type=close]”),r=e.querySelector(“[data-type=facebook]”),n=e.querySelector(“[data-type=twitter]”),o=e.querySelector(“[data-type=email]”),i=e.querySelector(“[data-type=share-links]”),s=e.querySelector(“[data-type=copy]”),d=e.querySelector(“[data-type=message]”),l=function(){t&&c.click()};s.addEventListener(“click”,function(){var e=document.createElement(“input”);e.value=s.dataset.url,s.parentNode.appendChild(e),e.select(),document.execCommand(“copy”),s.parentNode.removeChild(e),d.classList.add(“show”),setTimeout(function(){d.classList.remove(“show”),l()},1e3)}),[r,n].forEach(function(e){e.addEventListener(“click”,function(){window.open(e.dataset.url,”_blank”,”width=600,height=600,scrollbars=no,resizable=no,noopener,noreferrer”),l()})}),o.addEventListener(“click”,l),a.addEventListener(“click”,function(){return[a,c,i].forEach(function(e){return e.classList.add(“active”)})}),c.addEventListener(“click”,function(){return[a,c,i].forEach(function(e){return e.classList.remove(“active”)})})}; }, {}]; window.modules[“ad-slot.client”] = [function(require,module,exports){“use strict”;var _interopRequireDefault=require(9),_slicedToArray2=_interopRequireDefault(require(21)),_toConsumableArray2=_interopRequireDefault(require(20)),_defineProperty2=_interopRequireDefault(require(19));function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t0?t.length:””,o=e.closest(“[data-“.concat(DATA_ATTRIBUTE_PREFIX,”-collection]”))||document.body,r=o===document.body?”body”:o.dataset[“”.concat(DATA_ATTRIBUTE_PREFIX,”Collection”)],i=””;r===ZONE_COMPONENT_NAME&&(i=t.indexOf(o));var a=Array.from(o.querySelectorAll(‘[data-uri*=”/_components/”]’)),c=a.length;return{collection_type:r,collection_type_index:i,collection_type_length:n,collection_item_index:a.indexOf(e),collection_item_length:c}}function getWordCount(e){return e.innerText?e.innerText.match(/w+/g).length:0}function getAggregateComponentElement(e){return e.closest(“[data-“.concat(DATA_ATTRIBUTE_PREFIX,’-aggregate-events=”true”]’))}function trackZionEvent(e){window.zion_analytics&&window.zion_analytics.track(e)}function initializeOnOffEvents(){if(EnvVars.get(“ENABLE_ZION_ANALYTICS_ON_OFF_EVENTS”)){var e=function(e){window.ZION_SDK&&e.forEach(function(e){var t=e.target,n=e.isIntersecting,o=t.dataset[“”.concat(DATA_ATTRIBUTE_PREFIX,”Observe”)];if(o===COMPONENT_ON_EVENT&&n||o===COMPONENT_OFF_EVENT&&!n){var r=n?window.ZION_SDK.ComponentOnScreen:window.ZION_SDK.ComponentOffScreen,i=t.dataset.uri,a=function(){return setTimeout(function(){return trackZionEvent(new r({component_type:getComponentName(i),component_id:getComponentInstance(i),traits:_objectSpread(_objectSpread(_objectSpread(_objectSpread({},getCommonEventProperties()),getCollectionProperties(t)),getOptionalOnOffProperties(t)),{},{word_count:getWordCount(t)})}))},1500)};window.requestIdleCallback?window.requestIdleCallback(a,{timeout:500}):a(),t.dataset[“”.concat(DATA_ATTRIBUTE_PREFIX,”Observe”)]=n?COMPONENT_OFF_EVENT:COMPONENT_ON_EVENT}})},t=Object.keys(OBSERVED_COMPONENT_THRESHOLDS).reduce(function(t,n){return _objectSpread(_objectSpread({},t),{},(0,_defineProperty2.default)({},n,new IntersectionObserver(e,{threshold:OBSERVED_COMPONENT_THRESHOLDS[n]})))},{});ZION_ON_OFF_OBSERVED_COMPONENTS.forEach(function(e){document.querySelectorAll(‘[data-uri*=”/_components/’.concat(e,’/”]’)).forEach(function(n){n.dataset[“”.concat(DATA_ATTRIBUTE_PREFIX,”Observe”)]=COMPONENT_ON_EVENT,t[e]?t[e].observe(n):t.default.observe(n)})})}}function initializeClickEvents(){EnvVars.get(“ENABLE_ZION_ANALYTICS_CLICK_EVENTS”)&&document.body.addEventListener(“click”,function(e){var t=””,n=””,o=””,r=e.target,i=r.closest(“a[href]”),a=r.closest(“[data-uri]”),c=getAggregateComponentElement(r);i&&i.href&&(o=i.href);var _=_objectSpread(_objectSpread({},getCustomProperties(r=c||a)),c?getCustomProperties(a):{}),E=e.target!==r?getCustomProperties(e.target):{};if(r){if(n=r.dataset.uri,”gallery”===(t=getComponentName(n))){var s,l=e.target.classList[0];l.includes(“next”)?s=_.carousel_item_index===_.carousel_item_length?1:_.carousel_item_index+1:l.includes(“prev”)&&(s=1===_.carousel_item_index?_.carousel_item_length:_.carousel_item_index-1),_.carousel_item_index=s}ZION_CLICK_OBSERVED_COMPONENTS.includes(t)&&trackZionEvent(new window.ZION_SDK.GenericClick({component_id:getComponentInstance(n),component_type:getComponentName(n),traits:_objectSpread(_objectSpread(_objectSpread(_objectSpread({},getCommonEventProperties()),getCollectionProperties(r)),_objectSpread(_objectSpread({},E),_)),{},{word_count:getWordCount(r),destination_url:o})}))}})}function initializeAnalyticsEvents(){(Array.isArray(ZION_BEHAVIOURAL_ENABLED_PAGE_VARIANTS)?ZION_BEHAVIOURAL_ENABLED_PAGE_VARIANTS.includes(window.CNN.contentModel.templateType):ZION_BEHAVIOURAL_ENABLED_PAGE_VARIANTS===window.CNN.contentModel.templateType)&&(initializeOnOffEvents(),initializeClickEvents())}window.ZION_SDK?initializeAnalyticsEvents():window.addEventListener(“zion.loaded”,initializeAnalyticsEvents); }, {“2″:2,”5″:5,”9″:9,”19″:19,”108″:108,”2673”:2673}]; window.modules[“campaign-promo-events.legacy”] = [function(require,module,exports){“use strict”;var _interopRequireDefault=require(9),_regenerator=_interopRequireDefault(require(27)),_asyncToGenerator2=_interopRequireDefault(require(26)),_require=require(108),authClient=_require.authClient,NewsletterClient=require(183),campaignPromos=document.createElement(“campaignPromos”),newsletterClient=new NewsletterClient(authClient),trackCampaignPromoEvent=function(e,n){var t=n.campaign_id,r=n.campaign_type,a=n.campaign_name,i=n.campaign_objective;window.zion_analytics.track(new e({component_id:”promo_body”,component_type:””.concat(r,”_promo”),traits:{campaign_id:t,campaign_type:r,campaign_name:a,campaign_objective:i}}))};campaignPromos.addEventListener(“close”,function(e){var n=e.detail;trackCampaignPromoEvent(window.ZION_SDK.ComponentOffScreen,n)}),campaignPromos.addEventListener(“impression”,function(e){var n=e.detail;trackCampaignPromoEvent(window.ZION_SDK.ComponentOnScreen,n)}),campaignPromos.addEventListener(“submission”,function(e){var n=e.detail;trackCampaignPromoEvent(window.ZION_SDK.GenericSubmit,n)}),campaignPromos.addEventListener(“activation”,function(e){var n=e.detail;trackCampaignPromoEvent(window.ZION_SDK.ComponentLoaded,n)}),campaignPromos.getSubscribedNewsletters=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){var n;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,newsletterClient.retrieveSubscriptions({useCache:!0});case 2:return n=e.sent,e.abrupt(“return”,n.filter(function(e){return e.subscribed}).map(function(e){return e.newsletterName}));case 4:case”end”:return e.stop()}},e)})),window.CNN.campaignPromos=campaignPromos,window.dispatchEvent(new CustomEvent(“CNN.campaignPromos.loaded”)); }, {“9″:9,”26″:26,”27″:27,”108″:108,”183”:183}]; window.modules[“chartbeat-setup.legacy”] = [function(require,module,exports){“use strict”;var registerChartbeatVideoStrategy=require(319).default;!function(){function t(){window.WM.UserConsent.addScript({src:”//static.chartbeat.com/js/chartbeat_video.js”,async:!0},[“data-store”,”content-person”,”measure-content”])}var e=(window.CNN||{}).contentModel||{},n=(window.CNN||{}).omniture||{};registerChartbeatVideoStrategy();var o,i,a,c=window._sf_async_config=window._sf_async_config||{};c.uid=37612,c.domain=(a=”cnn.com”,-1!=window.location.hostname.indexOf(“edition”)&&(a=”edition.”.concat(a)),”prod”!=(null===(o=window.CNN)||void 0===o?void 0:null===(i=o.contentModel)||void 0===i?void 0:i.environment)&&(a=”dev.”.concat(a)),a),c.sections=e.vertical,c.authors=n.cap_author,c.title=n.headline,c.flickerControl=!1,c.articleBlockSelector=”div.card,div.container__item”,c.autoDetect=!1,c.path=document.location.hostname+document.location.pathname,window.WM.UserConsent?t():window.addEventListener(“user-consent.loaded”,t)}(); }, {“319”:319}]; window.modules[“scroll-metrics.legacy”] = [function(require,module,exports){“use strict”;var throttle=require(18),_require=require(98),trackMetrics=_require.trackMetrics,METRICS=[{value:25,type:”article-twentyfive”,data:{interaction:”content: 25% article viewed”}},{value:50,type:”article-fifty”,data:{interaction:”content: 50% article viewed”}},{value:75,type:”article-seventyfive”,data:{interaction:”content: 75% article viewed”}},{value:100,type:”article-complete”,data:{interaction:”article complete”}}],TRACK_PERCENTAGES=METRICS.map(function(t){return t.value});function manageMetrics(){var t=[].concat(METRICS),e=function(e){return t.find(function(t){return t.value===e})};return{get:e,track:function(n){var r=e(n),i=r.type,c=r.data;trackMetrics({type:i,data:c}),function(e){t=t.filter(function(t){return t.value!==e})}(n)}}}function getWindowHeight(){return window.innerHeight||(document.documentElement||document.body).clientHeight}function getScrollTop(){return document.documentElement.scrollTop||document.body.scrollTop}function trackPercentageSeen(t){var e=t.offsetTop,n=t.offsetHeight,r=(e+n-(getScrollTop()+getWindowHeight()))/n;return 100-Math.floor(100*r)}window.addEventListener(“load”,function(){var t=document.querySelector(“.layout__main”),e=manageMetrics(),n=e.get,r=e.track;t&&(getWindowHeight()>t.getBoundingClientRect().bottom?TRACK_PERCENTAGES.forEach(r):window.addEventListener(“scroll”,throttle(function(){var e=trackPercentageSeen(t);TRACK_PERCENTAGES.forEach(function(t){if(e>=t){if(!n(t))return;r(t)}})},250)))}); }, {“18″:18,”98”:98}]; window.modules[“zeta.legacy”] = [function(require,module,exports){“use strict”;var clientHashKey=window.zeta.client_hash_key,partnerHashKey=window.zeta.partner_hash_key,tagShortName=window.zeta.tag_short_name,siteId=window.zeta.site_id,resourceId=window.CNN.contentModel.sourceId,resourceType=window.CNN.contentModel.pageType,section=window.CNN.contentModel.section,cacheBuster=Date.now(),src=”https://live.rezync.com/sync?”+”c=”.concat(clientHashKey)+”&p=”.concat(partnerHashKey)+”&k=”.concat(tagShortName)+”&zmpID=”.concat(siteId)+”&custom1=”.concat(resourceId)+”&custom2=”.concat(resourceType)+”&custom3=”.concat(section)+”&cache_buster=”.concat(cacheBuster),async=!0,ucStates=[“vendor”,”data-store”,”ads-contextual”,”ads-person-prof”,”ads-person”,”content-person-prof”,”content-person”,”measure-ads”,”measure-content”,”measure-market”,”product-develop”];function init(){window.WM.UserConsent.addScript({src:src,async:async},ucStates)}window.WM.UserConsent?init():window.addEventListener(“user-consent.loaded”,init); }, {}]; require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”function”&&require;for(var o=0;o 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 `production` value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js window.process = window.process || {}; window.process.env = window.process.env || {}; if (!window.process.env.NODE_ENV) { window.process.env.NODE_ENV = ‘production’; } // 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(); // ]]

Leave a Reply