-1}module.exports=listCacheHas;
}, {"3174":3174}];
window.modules["3123"] = [function(require,module,exports){var assocIndexOf=require(3174);function listCacheSet(s,e){var t=this.__data__,a=assocIndexOf(t,s);return a<0?(++this.size,t.push([s,e])):t[a][1]=e,this}module.exports=listCacheSet;
}, {"3174":3174}];
window.modules["3124"] = [function(require,module,exports){var assocIndexOf=require(3174);function listCacheGet(e){var s=this.__data__,a=assocIndexOf(s,e);return a<0?void 0:s[a][1]}module.exports=listCacheGet;
}, {"3174":3174}];
window.modules["3126"] = [function(require,module,exports){var getNative=require(3108),root=require(3109),Map=getNative(root,"Map");module.exports=Map;
}, {"3108":3108,"3109":3109}];
window.modules["3127"] = [function(require,module,exports){var mapCacheClear=require(3132),mapCacheDelete=require(3131),mapCacheGet=require(3128),mapCacheHas=require(3129),mapCacheSet=require(3130);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;
}, {"3162":3162,"3205":3205}];
window.modules["3205"] = [function(require,module,exports){var Symbol=require(3144),isArguments=require(3156),isArray=require(549),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;function isFlattenable(e){return isArray(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}module.exports=isFlattenable;
}, {"549":549,"3144":3144,"3156":3156}];
window.modules["3206"] = [function(require,module,exports){var createBaseFor=require(3207),baseFor=createBaseFor();module.exports=baseFor;
}, {"3207":3207}];
window.modules["3207"] = [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["3208"] = [function(require,module,exports){var castPath=require(3209),toKey=require(3210);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&&e<=MAX_SAFE_INTEGER}module.exports=isLength;
}, {}];
window.modules["3235"] = [function(require,module,exports){var baseMatches=require(3237),baseMatchesProperty=require(3236),identity=require(126),isArray=require(549),property=require(3238);function baseIteratee(e){return"function"==typeof e?e:null==e?identity:"object"==typeof e?isArray(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e):property(e)}module.exports=baseIteratee;
}, {"126":126,"549":549,"3236":3236,"3237":3237,"3238":3238}];
window.modules["3236"] = [function(require,module,exports){var baseIsEqual=require(3221),get=require(1),hasIn=require(3248),isKey=require(3249),isStrictComparable=require(3250),matchesStrictComparable=require(3246),toKey=require(3210),COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(e,r){return isKey(e)&&isStrictComparable(r)?matchesStrictComparable(toKey(e),r):function(a){var t=get(a,e);return void 0===t&&t===r?hasIn(a,e):baseIsEqual(r,t,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}module.exports=baseMatchesProperty;
}, {"1":1,"3210":3210,"3221":3221,"3246":3246,"3248":3248,"3249":3249,"3250":3250}];
window.modules["3237"] = [function(require,module,exports){var baseIsMatch=require(3227),getMatchData=require(3247),matchesStrictComparable=require(3246);function baseMatches(a){var t=getMatchData(a);return 1==t.length&&t[0][2]?matchesStrictComparable(t[0][0],t[0][1]):function(e){return e===a||baseIsMatch(e,a,t)}}module.exports=baseMatches;
}, {"3227":3227,"3246":3246,"3247":3247}];
window.modules["3238"] = [function(require,module,exports){var baseProperty=require(3263),basePropertyDeep=require(3264),isKey=require(3249),toKey=require(3210);function property(e){return isKey(e)?baseProperty(toKey(e)):basePropertyDeep(e)}module.exports=property;
}, {"3210":3210,"3249":3249,"3263":3263,"3264":3264}];
window.modules["3239"] = [function(require,module,exports){var isPrototype=require(3240),nativeKeys=require(3241),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys(e);var r=[];for(var t in Object(e))hasOwnProperty.call(e,t)&&"constructor"!=t&&r.push(t);return r}module.exports=baseKeys;
}, {"3240":3240,"3241":3241}];
window.modules["3240"] = [function(require,module,exports){var objectProto=Object.prototype;function isPrototype(o){var t=o&&o.constructor;return o===("function"==typeof t&&t.prototype||objectProto)}module.exports=isPrototype;
}, {}];
window.modules["3241"] = [function(require,module,exports){var overArg=require(3331),nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys;
}, {"3331":3331}];
window.modules["3242"] = [function(require,module,exports){var isObject=require(548),isPrototype=require(3240),nativeKeysIn=require(3243),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeysIn(e){if(!isObject(e))return nativeKeysIn(e);var r=isPrototype(e),t=[];for(var o in e)("constructor"!=o||!r&&hasOwnProperty.call(e,o))&&t.push(o);return t}module.exports=baseKeysIn;
}, {"548":548,"3240":3240,"3243":3243}];
window.modules["3243"] = [function(require,module,exports){function nativeKeysIn(n){var e=[];if(null!=n)for(var r in Object(n))e.push(r);return e}module.exports=nativeKeysIn;
}, {}];
window.modules["3245"] = [function(require,module,exports){var isFunction=require(3229),isLength=require(3234);function isArrayLike(i){return null!=i&&isLength(i.length)&&!isFunction(i)}module.exports=isArrayLike;
}, {"3229":3229,"3234":3234}];
window.modules["3246"] = [function(require,module,exports){function matchesStrictComparable(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}module.exports=matchesStrictComparable;
}, {}];
window.modules["3247"] = [function(require,module,exports){var isStrictComparable=require(3250),keys=require(3179);function getMatchData(r){for(var e=keys(r),t=e.length;t--;){var a=e[t],i=r[a];e[t]=[a,i,isStrictComparable(i)]}return e}module.exports=getMatchData;
}, {"3179":3179,"3250":3250}];
window.modules["3248"] = [function(require,module,exports){var baseHasIn=require(3216),hasPath=require(3333);function hasIn(a,s){return null!=a&&hasPath(a,s,baseHasIn)}module.exports=hasIn;
}, {"3216":3216,"3333":3333}];
window.modules["3249"] = [function(require,module,exports){var isArray=require(549),isSymbol=require(3202),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(r,e){if(isArray(r))return!1;var s=typeof r;return!("number"!=s&&"symbol"!=s&&"boolean"!=s&&null!=r&&!isSymbol(r))||(reIsPlainProp.test(r)||!reIsDeepProp.test(r)||null!=e&&r in Object(e))}module.exports=isKey;
}, {"549":549,"3202":3202}];
window.modules["3250"] = [function(require,module,exports){var isObject=require(548);function isStrictComparable(e){return e==e&&!isObject(e)}module.exports=isStrictComparable;
}, {"548":548}];
window.modules["3251"] = [function(require,module,exports){var Stack=require(3138),assignMergeValue=require(3170),baseFor=require(3206),baseMergeDeep=require(3253),isObject=require(548),keysIn=require(3181),safeGet=require(3252);function baseMerge(e,r,s,a,i){e!==r&&baseFor(r,function(u,b){if(i||(i=new Stack),isObject(u))baseMergeDeep(e,r,b,s,baseMerge,a,i);else{var g=a?a(safeGet(e,b),u,b+"",e,r,i):void 0;void 0===g&&(g=u),assignMergeValue(e,b,g)}},keysIn)}module.exports=baseMerge;
}, {"548":548,"3138":3138,"3170":3170,"3181":3181,"3206":3206,"3252":3252,"3253":3253}];
window.modules["3252"] = [function(require,module,exports){function safeGet(t,o){if(("constructor"!==o||"function"!=typeof t[o])&&"__proto__"!=o)return t[o]}module.exports=safeGet;
}, {}];
window.modules["3253"] = [function(require,module,exports){var assignMergeValue=require(3170),cloneBuffer=require(3187),cloneTypedArray=require(3255),copyArray=require(3166),initCloneObject=require(3190),isArguments=require(3156),isArray=require(549),isArrayLikeObject=require(3254),isBuffer=require(3157),isFunction=require(3229),isObject=require(548),isPlainObject=require(132),isTypedArray=require(3159),safeGet=require(3252),toPlainObject=require(3256);function baseMergeDeep(e,r,i,s,a,t,n){var u=safeGet(e,i),c=safeGet(r,i),y=n.get(c);if(y)assignMergeValue(e,i,y);else{var o=t?t(u,c,i+"",e,r,n):void 0,l=void 0===o;if(l){var A=isArray(c),f=!A&&isBuffer(c),b=!A&&!f&&isTypedArray(c);o=c,A||f||b?isArray(u)?o=u:isArrayLikeObject(u)?o=copyArray(u):f?(l=!1,o=cloneBuffer(c,!0)):b?(l=!1,o=cloneTypedArray(c,!0)):o=[]:isPlainObject(c)||isArguments(c)?(o=u,isArguments(u)?o=toPlainObject(u):isObject(u)&&!isFunction(u)||(o=initCloneObject(c))):l=!1}l&&(n.set(c,o),a(o,c,s,t,n),n.delete(c)),assignMergeValue(e,i,o)}}module.exports=baseMergeDeep;
}, {"132":132,"548":548,"549":549,"3156":3156,"3157":3157,"3159":3159,"3166":3166,"3170":3170,"3187":3187,"3190":3190,"3229":3229,"3252":3252,"3254":3254,"3255":3255,"3256":3256}];
window.modules["3254"] = [function(require,module,exports){var isArrayLike=require(3245),isObjectLike=require(3220);function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}module.exports=isArrayLikeObject;
}, {"3220":3220,"3245":3245}];
window.modules["3255"] = [function(require,module,exports){var cloneArrayBuffer=require(3294);function cloneTypedArray(r,e){var f=e?cloneArrayBuffer(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.length)}module.exports=cloneTypedArray;
}, {"3294":3294}];
window.modules["3256"] = [function(require,module,exports){var copyObject=require(3178),keysIn=require(3181);function toPlainObject(e){return copyObject(e,keysIn(e))}module.exports=toPlainObject;
}, {"3178":3178,"3181":3181}];
window.modules["3262"] = [function(require,module,exports){var assignValue=require(3173),castPath=require(3209),isIndex=require(3158),isObject=require(548),toKey=require(3210);function baseSet(e,r,t,i){if(!isObject(e))return e;for(var s=-1,a=(r=castPath(r,e)).length,o=a-1,u=e;null!=u&&++sn?0:n+r),(a=a>n?n:a)<0&&(a+=n),n=r>a?0:a-r>>>0,r>>>=0;for(var o=Array(n);++l=a?e:baseSlice(e,c,i)}module.exports=castSlice;
}, {"3278":3278}];
window.modules["3294"] = [function(require,module,exports){var Uint8Array=require(3145);function cloneArrayBuffer(r){var e=new r.constructor(r.byteLength);return new Uint8Array(e).set(new Uint8Array(r)),e}module.exports=cloneArrayBuffer;
}, {"3145":3145}];
window.modules["3295"] = [function(require,module,exports){var cloneArrayBuffer=require(3294);function cloneDataView(e,r){var f=r?cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(f,e.byteOffset,e.byteLength)}module.exports=cloneDataView;
}, {"3294":3294}];
window.modules["3296"] = [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["3297"] = [function(require,module,exports){var Symbol=require(3144),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function cloneSymbol(o){return symbolValueOf?Object(symbolValueOf.call(o)):{}}module.exports=cloneSymbol;
}, {"3144":3144}];
window.modules["3299"] = [function(require,module,exports){var arrayFilter=require(3151),stubArray=require(3332),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;
}, {"3151":3151,"3332":3332}];
window.modules["3300"] = [function(require,module,exports){var arrayPush=require(3162),getPrototype=require(3330),getSymbols=require(3299),stubArray=require(3332),nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(r){for(var e=[];r;)arrayPush(e,getSymbols(r)),r=getPrototype(r);return e}:stubArray;module.exports=getSymbolsIn;
}, {"3162":3162,"3299":3299,"3330":3330,"3332":3332}];
window.modules["3301"] = [function(require,module,exports){var root=require(3109),coreJsData=root["__core-js_shared__"];module.exports=coreJsData;
}, {"3109":3109}];
window.modules["3303"] = [function(require,module,exports){var baseRest=require(3271),isIterateeCall=require(3304);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;
}, {"3179":3179,"3235":3235,"3245":3245}];
window.modules["3313"] = [function(require,module,exports){var flatten=require(3323),overRest=require(3272),setToString=require(3273);function flatRest(e){return setToString(overRest(e,void 0,flatten),e+"")}module.exports=flatRest;
}, {"3272":3272,"3273":3273,"3323":3323}];
window.modules["3318"] = [function(require,module,exports){var toNumber=require(3349),INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308;function toFinite(e){return e?(e=toNumber(e))===INFINITY||e===-INFINITY?(e<0?-1:1)*MAX_INTEGER:e==e?e:0:0===e?e:0}module.exports=toFinite;
}, {"3349":3349}];
window.modules["3319"] = [function(require,module,exports){var isPlainObject=require(132);function customOmitClone(i){return isPlainObject(i)?void 0:i}module.exports=customOmitClone;
}, {"132":132}];
window.modules["3320"] = [function(require,module,exports){var basePropertyOf=require(3265),deburredLetters={"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","Ä°":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Å°":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"},deburrLetter=basePropertyOf(deburredLetters);module.exports=deburrLetter;
}, {"3265":3265}];
window.modules["3321"] = [function(require,module,exports){function mapToArray(r){var a=-1,o=Array(r.size);return r.forEach(function(r,n){o[++a]=[n,r]}),o}module.exports=mapToArray;
}, {}];
window.modules["3323"] = [function(require,module,exports){var baseFlatten=require(3204);function flatten(e){return(null==e?0:e.length)?baseFlatten(e,1):[]}module.exports=flatten;
}, {"3204":3204}];
window.modules["3324"] = [function(require,module,exports){(function (global){(function (){
var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;module.exports=freeGlobal;
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}];
window.modules["3327"] = [function(require,module,exports){var isKeyable=require(3328);function getMapData(a,e){var t=a.__data__;return isKeyable(e)?t["string"==typeof e?"string":"hash"]:t.map}module.exports=getMapData;
}, {"3328":3328}];
window.modules["3328"] = [function(require,module,exports){function isKeyable(e){var o=typeof e;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==e:null===e}module.exports=isKeyable;
}, {}];
window.modules["3329"] = [function(require,module,exports){function getValue(e,u){return null==e?void 0:e[u]}module.exports=getValue;
}, {}];
window.modules["3330"] = [function(require,module,exports){var overArg=require(3331),getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype;
}, {"3331":3331}];
window.modules["3331"] = [function(require,module,exports){function overArg(r,e){return function(n){return r(e(n))}}module.exports=overArg;
}, {}];
window.modules["3332"] = [function(require,module,exports){function stubArray(){return[]}module.exports=stubArray;
}, {}];
window.modules["3333"] = [function(require,module,exports){var castPath=require(3209),isArguments=require(3156),isArray=require(549),isIndex=require(3158),isLength=require(3234),toKey=require(3210);function hasPath(e,r,t){for(var s=-1,i=(r=castPath(r,e)).length,a=!1;++s0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}module.exports=shortOut;
}, {}];
window.modules["3341"] = [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["3343"] = [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["3347"] = [function(require,module,exports){var createCaseFirst=require(3305),upperFirst=createCaseFirst("toUpperCase");module.exports=upperFirst;
}, {"3305":3305}];
window.modules["3349"] = [function(require,module,exports){var baseTrim=require(3281),isObject=require(548),isSymbol=require(3202),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;
}, {"548":548,"3202":3202,"3281":3281}];
window.modules["3350"] = [function(require,module,exports){var root=require(3109),now=function(){return root.Date.now()};module.exports=now;
}, {"3109":3109}];
window.modules["3352"] = [function(require,module,exports){var baseRest=require(3271),eq=require(3172),isIterateeCall=require(3304),keysIn=require(3181),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(/'(?=\d\d)/,"’")).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","<":"menys que",">":"mes que","â":"suma dels","¤":"moneda"},cs:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","â":"soucet","¤":"mena"},de:{"â":"delta","â":"unendlich","â¥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","â":"Summe von","¤":"Waehrung"},dv:{"â":"delta","â":"kolunulaa","â¥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","â":"jumula","¤":"faisaa"},en:{"â":"delta","â":"infinity","â¥":"love","&":"and","|":"or","<":"less than",">":"greater than","â":"sum","¤":"currency"},es:{"â":"delta","â":"infinito","â¥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","â":"suma de los","¤":"moneda"},fa:{"â":"delta","â":"bi-nahayat","â¥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","â":"majmooe","¤":"vahed"},fi:{"â":"delta","â":"aarettomyys","â¥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","â":"summa","¤":"valuutta"},fr:{"â":"delta","â":"infiniment","â¥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","â":"somme des","¤":"monnaie"},ge:{"â":"delta","â":"usasruloba","â¥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","â":"jami","¤":"valuta"},gr:{},hu:{"â":"delta","â":"vegtelen","â¥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","â":"szumma","¤":"penznem"},it:{"â":"delta","â":"infinito","â¥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","â":"somma","¤":"moneta"},lt:{"â":"delta","â":"begalybe","â¥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","â":"suma","¤":"valiuta"},lv:{"â":"delta","â":"bezgaliba","â¥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","â":"summa","¤":"valuta"},my:{"â":"kwahkhyaet","â":"asaonasme","â¥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","â":"paungld","¤":"ngwekye"},mk:{},nl:{"â":"delta","â":"oneindig","â¥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","â":"som","¤":"valuta"},pl:{"â":"delta","â":"nieskonczonosc","â¥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","â":"suma","¤":"waluta"},pt:{"â":"delta","â":"infinito","â¥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","â":"soma","¤":"moeda"},ro:{"â":"delta","â":"infinit","â¥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","â":"suma","¤":"valuta"},ru:{"â":"delta","â":"beskonechno","â¥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","â":"summa","¤":"valjuta"},sk:{"â":"delta","â":"nekonecno","â¥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","â":"sucet","¤":"mena"},sr:{},tr:{"â":"delta","â":"sonsuzluk","â¥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","â":"toplam","¤":"para birimi"},uk:{"â":"delta","â":"bezkinechnist","â¥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","â":"suma","¤":"valjuta"},vn:{"â":"delta","â":"vo cuc","â¥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"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())<0?t:t.toLowerCase()})),w=w.replace(/\s+/g,S).replace(new RegExp("\\"+S+"+","g"),S).replace(new RegExp("(^\\"+S+"+|\\"+S+"+$)","g"),""),g&&w.length>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["3443"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_slicedToArray2=_interopRequireDefault(require(36)),_asyncToGenerator2=_interopRequireDefault(require(24)),AFFILIATE_PARTNER_LIST=[{pattern:/^(https?:\/\/)?(?:(www\.)?amazon\.(com|ca)|amzn\.to)\/.*$/,partner:"Amazon",path:"(?<=tag=)([a-zA-Z0-9_]+)",network:"Amazon"},{pattern:/^(https?:\/\/)?(www\.)?(anrdoezrs|andoezrs)\.(com|net)\/.*$/,partner:"CJ Affiliate (path)",path:"(?<=sid(\\/|\\=))(\\w+)",network:"CJ"},{pattern:/^(https?:\/\/)?(www\.)?(jdoqcy|jdoqocy|tkqlhce|kqzyfj|dpbolvw)\.(com|net)\/.*$/,partner:"CJ Affiliate (param)",path:"(?<=sid\\=)(\\w+)",network:"CJ"},{pattern:/^(https?:\/\/)?(www\.)?shareasale\.com\/.*$/,partner:"Share A Sale",path:"(?<=afftrack\\=)(\\w+)",network:"ShareASale"},{pattern:/^(https?:\/\/)?(\w+\.)?prf\.hn\/.*$/,partner:"Partnerize",path:"(?<=pubref\\:)(\\w+)",network:"Partnerize"},{pattern:/^(https?:\/\/)?(www\.)?(pjtra|pntrs|pjatr|pntrac|pntra|gopjn)\.com\/.*$/,partner:"Pepperjam",path:"(?<=sid\\=)(\\w+)",network:"Pepperjam"},{pattern:/^(https?:\/\/)?click\.linksynergy\.com\/.*$/,partner:"Rakuten",path:"(?<=u1\\=)(\\w+)",network:"Rakuten"},{pattern:/^(https?:\/\/)?(www\.)?shop-links\.co\/.*$/,partner:"Narrativ",path:"(?<=article_name\\=)(\\w+)",network:"Narrativ"},{pattern:/^(https?:\/\/)?(www\.)?howl\.me\/.*$/,partner:"Narrativ",path:"(?<=article_name\\=)(\\w+)",network:"Narrativ"},{pattern:/^(https?:\/\/)?([a-z]+\.)?bttn\.io\/.*$/,partner:"Button",path:"(?<=btn_pub_ref\\=)(\\w+)",network:"Button"},{pattern:/^(https?:\/\/)?(www\.)?comparecards\.com\/.*$/,partner:"Lending Tree (credit cards)",path:"(?<=pla\\=)(\\w+)",network:"Lending Tree"},{pattern:/^(https?:\/\/)?ck\.lendingtree\.com\/.*$/,partner:"Lending Tree (mortgages)",path:"(?<=s2\\=)(\\w+)",network:"Lending Tree"},{pattern:/^(https?:\/\/)?oc\.brcclx\.com\/.*$/,partner:"Red Ventures",path:"(?<=tid\\=)(\\w+)",network:"RV Media"},{pattern:/^(https?:\/\/)?products\.gobankingrates\.com\/.*$/,partner:"ConsumerTrack",path:"(?<=subid\\=)(\\w+)",network:"ConsumerTrack"},{pattern:/^(https?:\/\/)?.+[?&]{1}subId1=.+$/,partner:"Impact (various URLs)",path:"(?<=subId1\\=)(\\w+)",network:"Impact"},{pattern:/^(https?:\/\/)?(www\.)?avantlink\.com\/.*$/,partner:"Avantlink",path:"(?<=ctc\\=)(\\w+)",network:"AvantLink"},{pattern:/^(https?:\/\/)?(www\.)?awin1\.com\/.*$/,partner:"Awin",path:"(?<=clickref\\=)(\\w+)",network:"Awin"},{pattern:/^(https?:\/\/)?(www\.)?go\.shopyourlikes\.com\/.*$/,network:"Connexity",path:"(?<=afPlacementId\\=)(\\w+)"},{pattern:/^(https?:\/\/)?(www\.)?hylxtrk\.com\/.*$/,network:"Helyx"},{pattern:/^(https?:\/\/)?go\.skimresources\.com.+$/,network:"Skimlinks",path:"(?<=xcust\\=)(\\w+)",partner:"Skimlinks"},{pattern:/^(https?:\/\/)?knl\.mntzrlt\.net\/?.*$/,network:"Monetizer"}],AFFILIATE_OPTIONS=["",{label:"Impact",value:"Impact"},{label:"Rakuten",value:"Rakuten"},{label:"CJ",value:"CJ"},{label:"ShareASale",value:"ShareASale"},{label:"Howl",value:"Narrativ"},{label:"AvantLink",value:"AvantLink"},{label:"Pepperjam",value:"Pepperjam"},{label:"Partnerize",value:"Partnerize"},{label:"Awin",value:"Awin"},{label:"Connexity",value:"Connexity"}],AFFILIATE_PARAM_MAPPING=[{pattern:/.*(https?:\/\/)?(www\.)?shop-links\.co\/.*$/,oldParam:"u1",newParam:"article_name"}],getVendorInfoFromMapping=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(t,r){var a,n,p,o,i,w;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",{});case 2:if(a=getDomain(t.trim()),!(n=r[a])){e.next=7;break}return p=(0,_slicedToArray2.default)(n,3),o=p[0],i=p[1],w=p[2],e.abrupt("return",{name:o,networks:i,displayName:w});case 7:return e.abrupt("return",{});case 8:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),getDomain=function(e){try{var t=new URL(e);return null==t?void 0:t.host.replace(/www2?\./,"")}catch(e){return null}};module.exports={AFFILIATE_PARTNER_LIST:AFFILIATE_PARTNER_LIST,AFFILIATE_OPTIONS:AFFILIATE_OPTIONS,AFFILIATE_PARAM_MAPPING:AFFILIATE_PARAM_MAPPING,getVendorInfoFromMapping:getVendorInfoFromMapping,getDomain:getDomain};
}, {"10":10,"24":24,"25":25,"36":36}];
window.modules["3461"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_typeof2=_interopRequireDefault(require(19)),_asyncToGenerator2=_interopRequireDefault(require(24)),_defineProperty2=_interopRequireDefault(require(18)),_classCallCheck2=_interopRequireDefault(require(11)),_createClass2=_interopRequireDefault(require(12));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],r=n||this.el;return Array.from(r.querySelectorAll(e)).reduce(function(e,n){return _objectSpread((0,_defineProperty2.default)({},t(unpackDataset(n.dataset)),n),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(n){return _regenerator.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.onSSEPublish(n);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(t){var n,r,o;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=(new Date).getTime(),r=window.location.pathname+window.location.search,t=t||0,o=r.includes("?")?"&":"?",r="".concat(r).concat(o,"cb=").concat(n,"&rt=").concat(t),e.abrupt("return",fetch(r).then(function(e){return e.text()}).then(function(e){return e}).catch(function(e){return console.log(e)}));case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},{key:"exposeComponent",value:function(e,t){window.CNN&&(window.CNN.components||(window.CNN.components={}),window.CNN.components[e]||(window.CNN.components[e]=[]),window.CNN.components[e].every(function(e){return e.component!==t})&&window.CNN.components[e].push({component:t,proxy:new Proxy(t,{get:function(n,r){return"__target__"===r?t:"log"!==r&&"configureLogger"!==r&&"function"==typeof n[r]?new Proxy(n[r],{apply:function(t,o,c){var a=void 0;try{var i="AsyncFunction"===t.constructor.name;n.log&&n.log("trace","calling ".concat(i?"asynchronous ":"").concat(e,".").concat(r)),a=Reflect.apply(t,o,c),n.log&&(void 0===a||a instanceof Promise||i?n.log("trace","right after calling to ".concat(e,".").concat(r," (which might be asynchronous)")):n.log("trace","result of calling ".concat(e,".").concat(r," of type ").concat((0,_typeof2.default)(a)),{result:a}))}catch(e){throw n.log&&n.log("error"),e}return a}}):Reflect.get(n,r)}})}))}}]),e}(),addEventListener=function(e,t,n,r){return e.addEventListener(t,function(e){var t=e.currentTarget;n.call(r,unpackDataset(t.dataset),t,e)})},unpackDataset=function(e){return Object.keys(e).reduce(function(t,n){return n.startsWith(SERIALIZED_DATA_PREFIX)?_objectSpread(_objectSpread({},t),{},(0,_defineProperty2.default)({},n.slice(PREFIX_LENGTH),function(){try{return JSON.parse(e[n])}catch(e){}}())):_objectSpread(_objectSpread({},t),{},(0,_defineProperty2.default)({},n,e[n]))},{})};module.exports=ClientModel;
}, {"10":10,"11":11,"12":12,"18":18,"19":19,"24":24,"25":25,"3462":3462}];
window.modules["3462"] = [function(require,module,exports){"use strict";var CACHE_SIZE=1,ANY_ACTION="_any",EMPTY=Symbol("empty"),dispatcher=function(){var n={},t={};function o(o,i){if(!o)throw new Error("Invalid action format");n[o]=n[o]||{},n[o][i]=n[o][i]||[],t[o]=t[o]||{},t[o][i]=t[o][i]||new Array(CACHE_SIZE)}return{dispatch:function(i){var c=i.ns,r=i.action,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:EMPTY,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";a&&(r=Symbol.for(r.description.concat(a))),o(c,r),n[c][r].concat(n[c][ANY_ACTION]||[]).forEach(function(n){setTimeout(function(){n(e,{ns:c,action:r})})}),t[c][r].shift(),t[c][r].push(e)},subscribe:function(i,c){var r=i.ns,e=i.action,a=void 0===e?ANY_ACTION:e,s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";u&&(a=Symbol.for(a.description.concat(u))),o(r,a),n[r][a].push(c),s&&t[r][a].filter(function(n){return void 0!==n}).forEach(function(n){setTimeout(function(){c(n)})})},reset:function(){t={},n={}}}}();dispatcher.CACHE_SIZE=CACHE_SIZE,module.exports=dispatcher;
}, {}];
window.modules["3471"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_defineProperty2=_interopRequireDefault(require(18));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=>`<${t}\\b[^>]*>`).join("|"),"i");module.exports=(t=>basic.test(t)||full.test(t));
}, {"3658":3658}];
window.modules["3500"] = [function(require,module,exports){"use strict";var isFinite=require(3360),isString=require(335),isBoolean=require(3358);function propertyValue(r,e,i){var o,t;if(null==r||null===(o=r.trim)||void 0===o||null===(t=o.call(r))||void 0===t||!t.length)throw new Error("Invalid propertyId provided: (".concat(r,", ").concat(e,")"));if(!isValidPropertyValueArgs(r,e))throw new Error("Invalid propertyValue provided: (".concat(r,", ").concat(e,")"));return{"@type":"PropertyValue",propertyID:r,name:i||r,value:e}}function isValidPropertyValueArgs(r,e){return!!(isFinite(e)||isString(e)||isBoolean(e))}module.exports={isValidPropertyValueArgs:isValidPropertyValueArgs,propertyValue:propertyValue};
}, {"335":335,"3358":3358,"3360":3360}];
window.modules["3525"] = [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)]<<2|revLookup[o.charCodeAt(e+1)]>>4,p[a++]=255&r),1===u&&(r=revLookup[o.charCodeAt(e)]<<10|revLookup[o.charCodeAt(e+1)]<<4|revLookup[o.charCodeAt(e+2)]>>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]<<8)+o[e-1],n.push(lookup[r>>10]+lookup[r>>4&63]+lookup[r<<2&63]+"=")),n.join("")}revLookup["-".charCodeAt(0)]=62,revLookup["_".charCodeAt(0)]=63;
}, {}];
window.modules["3587"] = [function(require,module,exports){exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<>1,i=-7,N=t?h-1:0,n=t?-1:1,s=a[o+N];for(N+=n,M=s&(1<<-i)-1,s>>=-i,i+=w;i>0;M=256*M+a[o+N],N+=n,i-=8);for(p=M&(1<<-i)-1,M>>=-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=(1<>1,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&&(p--,f*=2),(o+=p+N>=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["3657"] = [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["3658"] = [function(require,module,exports){"use strict";module.exports=require(3657);
}, {"3657":3657}];
window.modules["product-zone.client"] = [function(require,module,exports){"use strict";var _require=require(344),initCarousel=_require.initCarousel;module.exports=function(e){if(e.classList.contains("layout--slide-carousel")&&initCarousel(e),!CSS.supports("selector(:has(*))")){e.querySelector(".container_ribbon")&&e.classList.add("product-zone__with-ribbon");var r="has-pseudo-class-fix-layout--full-bleed";if(e.querySelector(".".concat(r))){var s=e.closest(".layout-homepage__wrapper");s&&s.classList.add(r)}}};
}, {"344":344}];
window.modules["section.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_defineProperty2=_interopRequireDefault(require(18));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function _objectSpread(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},S=t.querySelectorAll('[data-uri*="/'.concat(o,'/"]'));S.forEach(function(t,n){var l,p,_=t.querySelector(r),y=c?t.querySelector(c):t,f=_get(y,a)||_get(y,"classList.[0]"),N=s?t.querySelector(s):t;u=_objectSpread(_objectSpread({},u),{},(p={},(0,_defineProperty2.default)(p,"".concat(o,"_id"),t.dataset.uri),(0,_defineProperty2.default)(p,"".concat(o,"_name"),null==_?void 0:null===(l=_.innerText)||void 0===l?void 0:l.trim()),(0,_defineProperty2.default)(p,"".concat(o,"_type"),"".concat(d).concat(f)),(0,_defineProperty2.default)(p,"".concat(o,"_position_number"),n+1),(0,_defineProperty2.default)(p,"".concat(o,"_total_number"),S.length),p)),Array.from((null==N?void 0:N.querySelectorAll("a[href]"))||[]).forEach(function(e){setAdobeAnalyticsCookie(e,u),addZJSClickAttributes(e,u)}),i&&e(t,i,u)})},addZoneDepthAnalytics=function(e){if(ENABLE_ZONE_DEPTH_ANALYTICS.includes(window.CNN.contentModel.section)){var t=e.querySelectorAll(".zone, .product-zone");t.forEach(function(n,o){var r,i=getComponentInstance(n.dataset.uri),c="".concat(n.classList[0],"-").concat(o+1,"-observer");n.classList.add(c),addScrollDepthAnalytics(e,(0,_defineProperty2.default)({},c,(n.offsetTop/e.clientHeight).toFixed(2)),{zone_id:i,zone_name:(null===(r=n.querySelector(".".concat(c," .").concat(n.classList[0],"__title")))||void 0===r?void 0:r.innerText)||"",zone_type:n.classList[0],zone_position_number:o+1,zone_total_number:t.length,cms_id:window.CNN.contentModel.cmsId,canonical_url:window.CNN.contentModel.canonicalUrl,event_type:"".concat(window.CNN.contentModel.section,"_scroll")},!1)})}};module.exports=function(e){if(isSection([SECTIONS.HOMEPAGE,SECTIONS.US,SECTIONS.WORLD,SECTIONS.BUSINESS,SECTIONS.POLITICS,SECTIONS.ENTERTAINMENT,SECTIONS.HEALTH,SECTIONS.OPINIONS,SECTIONS.TRAVEL,SECTIONS.STYLE,SECTIONS.SPORTS,SECTIONS.WEATHER])){var t=window.CNN&&window.CNN.contentModel,n=document.querySelector("link[rel='canonical']"),o=t&&t.canonicalUrl||n&&n.href||window.location.href;addZionAttributes(e,{componentName:"zone",nameSelector:'[data-editable="titleAndUrl"]',linkSelector:'[data-editable="titleAndUrl"]',typeSelector:'[data-editable="items"]',typeLocation:"classList.[1]",typePrefix:"zone_",nestedComponent:{componentName:"container",nameSelector:'[data-editable="titleLink"]',linkSelector:'[data-editable="titleLink"]',typeLocation:"classList.[1]",nestedComponent:{componentName:"card",nameSelector:'[data-editable="headline"]',typeLocation:"classList.[0]"}}},{cms_id:null==t?void 0:t.cmsId,canonical_url:o})}addZoneDepthAnalytics(e)};
}, {"1":1,"2":2,"10":10,"18":18,"37":37,"45":45,"97":97}];
window.modules["headline.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_asyncToGenerator2=_interopRequireDefault(require(24)),rest=require(30);module.exports=function(e){var r=e.getAttribute("data-request-headline-data"),t=function(r,t){for(var a in e.classList.add("".concat(e.classList[0],"--updating")),r)if(t){var n=r[a],i=t[n.responseField],o=e.querySelector(n.selector);o&&(o.innerText=i)}};if(r)var a=JSON.parse(r),n=a.endpoint,i=a.elementsToUpdate,o=setInterval((0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){var r;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,rest.get(n);case 3:(r=e.sent).length&&(t(i,r[0]),clearInterval(o)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error("Error fetching profile data for headline: ".concat(e.t0));case 10:case"end":return e.stop()}},e,null,[[0,7]])})),5e3)};
}, {"10":10,"24":24,"25":25,"30":30}];
window.modules["ad-feedback.client"] = [function(require,module,exports){"use strict";var _require=require(7),AdFeedback=_require.AdFeedback,_require2=require(6),ENABLE_AD_FEEDBACK_DISPLAY_ADS=_require2.ENABLE_AD_FEEDBACK_DISPLAY_ADS,ENABLE_AD_FEEDBACK_VIDEO_ADS=_require2.ENABLE_AD_FEEDBACK_VIDEO_ADS,_require3=require(6),shouldHideAdFeedbackLink=_require3.shouldHideAdFeedbackLink;if((ENABLE_AD_FEEDBACK_DISPLAY_ADS||ENABLE_AD_FEEDBACK_VIDEO_ADS)&&!shouldHideAdFeedbackLink){var adFeedback=new AdFeedback;adFeedback.initialize()}
}, {"6":6,"7":7}];
window.modules["ad-slot-header.client"] = [function(require,module,exports){"use strict";var throttle=require(28),_require=require(17),mediumMaxWidthListener=_require.mediumMaxWidthListener,_require2=require(16),subscribe=_require2.subscribe,actions=_require2.actions,_require3=require(9),AD_VARIANTS=_require3.AD_VARIANTS;module.exports=function(e){subscribe(actions.ADS.SET_AD_VARIANT,function(t){if(t.adVariant===AD_VARIANTS.DEFAULT){var r,i=e.querySelector(".ad-slot"),n=e.querySelector(".adSlotHeaderContainer");if(!i)return;var a=function(){"mobile"===r&&(e.style.height="".concat(i.clientHeight,"px"),n.style.height="".concat(i.clientHeight,"px"))};document.addEventListener("GPTRenderComplete",function(e){var t=e.detail;t&&t.divId===(r&&i&&i.dataset["".concat(r,"SlotId")])&&a()}),function(){var e=document.createElement("iframe");e.className="resizeListenerIframe",e.src="about:blank",e.tabIndex=-1,e.frameBorder=0,e.setAttribute("aria-hidden",!0),i.appendChild(e);try{e.contentDocument.defaultView.addEventListener("resize",throttle(a,100))}catch(e){a()}}(),mediumMaxWidthListener(function(e){r=e?"mobile":"desktop",a()})}})};
}, {"9":9,"16":16,"17":17,"28":28}];
window.modules["alerts.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_typeof2=_interopRequireDefault(require(19)),_classCallCheck2=_interopRequireDefault(require(11)),_createClass2=_interopRequireDefault(require(12)),_get=require(1),rest=require(30),STORAGE_KEY="CLOSED_ALERTS",_require=require(16),dispatch=_require.dispatch,_require2=require(31),STICKY_HEADER=_require2.STICKY_HEADER,Alerts=function(){function e(t){var r=this;(0,_classCallCheck2.default)(this,e),_get(window,"kiln.locals",!0)&&(this.banner=t,this.check(),setInterval(function(){return r.check()},3e4))}return(0,_createClass2.default)(e,[{key:"check",value:function(){var e=this,t=this.storageGet();rest.get("/public/api/alerts").then(function(r){r.alerts.filter(function(e){return!t.includes(e.hash)}).forEach(function(t){e.add(t)}),e.banner.childNodes.length?e.showBanner():e.hideBanner(),dispatch(STICKY_HEADER.RECALCULATE)})}},{key:"alertExists",value:function(e){return!!this.banner.querySelector("#".concat(this.instance(e)))}},{key:"instance",value:function(e){return e.uri.split("/").pop().split("@").shift()}},{key:"add",value:function(e){this.alertExists(e)?e.hash!==this.banner.firstChild.getAttribute("data-alert-hash")&&this.banner.replaceChild(this.create(e),this.banner.firstChild):this.banner.appendChild(this.create(e))}},{key:"create",value:function(e){var t=this,r=function(e,t,r){var i=document.createElement("div");return i.className=e,"string"==typeof t&&(i.innerHTML=t),"object"===(0,_typeof2.default)(t)&&i.appendChild(t),r&&(i.id=r),i},i=r("alerts__close","",this.instance(e)),n=r("alerts__container",i);e.title&&n.appendChild(r("alerts__title",e.title)),n.appendChild(r("alerts__content",e.content));var a=r("alerts__item",n);return a.setAttribute("data-alert-hash",e.hash),i.addEventListener("click",function(r){var i=r.target;return t.close(i.id,e.hash)}),a}},{key:"showBanner",value:function(){this.banner.classList.add("alerts--visible")}},{key:"hideBanner",value:function(){this.banner.classList.remove("alerts--visible")}},{key:"close",value:function(e,t){for(var r=this.banner.querySelector("#".concat(e));"alerts__item"!==r.className;)r=r.parentNode;r.parentNode.removeChild(r),this.storageSet(t),dispatch(STICKY_HEADER.RECALCULATE)}},{key:"storageGet",value:function(){var e=window.sessionStorage.getItem(STORAGE_KEY);return e?e.split(",").filter(function(e){return null!=e&&""!=e}):[]}},{key:"storageSet",value:function(e){var t=this.storageGet().join(",");window.sessionStorage.setItem(STORAGE_KEY,t.concat(",",encodeURIComponent(e)))}}]),e}();module.exports=function(e){return new Alerts(e)};
}, {"1":1,"10":10,"11":11,"12":12,"16":16,"19":19,"30":30,"31":31}];
window.modules["market-feature-ribbon.client"] = [function(require,module,exports){"use strict";var _require=require(185),appendUtmSource=_require.appendUtmSource,RIBBON_ADSLOT_ID="ad_ns_atf_01",appendUtmTackingCodeToUrls=function(e){e.querySelectorAll("a").forEach(function(e){var t=e.getAttribute("href");null!==t&&e.setAttribute("href",appendUtmSource(t,"business_ribbon"))})},checkEmptyLatestNews=function(e){var t=e.getAttribute("data-v2");e.querySelector(".market-feature-ribbon__column:nth-child(3) .container__field-links .container__item")||t||e.classList.toggle("market-feature-ribbon--error-latetnews")},addLinks=function(e){e.querySelectorAll(".market-feature-ribbon__column-header").forEach(function(e){e.textContent.includes("Markets")?e.parentNode.addEventListener("click",function(){window.location=appendUtmSource("/markets")}):e.textContent.includes("Fear")?e.parentNode.addEventListener("click",function(){window.location=appendUtmSource("/markets/fear-and-greed")}):e.textContent.includes("News")?e.addEventListener("click",function(){window.location=appendUtmSource("/business/investing")}):e.textContent.includes("Stock")&&e.addEventListener("click",function(){window.location=appendUtmSource("/markets")})})};module.exports=function(e){null===e.querySelector('.market-feature-ribbon__ad [data-mobile-slot-id="'.concat(RIBBON_ADSLOT_ID,'"]'))&&null===e.querySelector('.market-feature-ribbon__ad [data-desktop-slot-id="'.concat(RIBBON_ADSLOT_ID,'"]'))||document.addEventListener("GPTRenderComplete",function(t){var n=t.detail;n&&n.divId===RIBBON_ADSLOT_ID&&"0x0"!==n.renderedSize&&e.classList.toggle("market-feature-ribbon--showingAd")}),addLinks(e),checkEmptyLatestNews(e),appendUtmTackingCodeToUrls(e)};
}, {"185":185}];
window.modules["market-indices.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_toConsumableArray2=_interopRequireDefault(require(23)),_asyncToGenerator2=_interopRequireDefault(require(24)),_classCallCheck2=_interopRequireDefault(require(11)),_createClass2=_interopRequireDefault(require(12)),EnvVars=require(5),marketsFormatting=require(185),rest=require(30),_require=require(185),appendUtmSource=_require.appendUtmSource,_get=require(1),MarketIndices=function(){function e(t){(0,_classCallCheck2.default)(this,e),this.el=t,this.linkUrl=t.getAttribute("data-link-url"),this.sourceRef=t.getAttribute("data-source-ref"),this.INTERVAL=t.getAttribute("data-interval"),this.previousInSession="",this.stopSetInterval=!1,this.entitlements={},this.statuses={REGULAR:"Open",NOTRADE:"Closed",PREMKT:"Closed",POSTMKT:"Closed",UNKNOWN:"Unknown"}}return(0,_createClass2.default)(e,[{key:"getMarketData",value:function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){var t,r,n,a,s,i,c,o=this;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.querySelectorAll(".market-indices__table-row"),r=(0,_toConsumableArray2.default)(t).map(function(e){return e.getAttribute("data-symbol")}),n=(new Date).toISOString().split("T")[0],a="".concat(EnvVars.get("CNN_DATAVIZ_API"),"/markets/index/").concat(r.join(","),"/").concat(n),e.next=6,rest.get(a);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0=[];case 9:return s=e.t0,i={indices:{},inSession:""},s.forEach(function(e){if(e.refresh_interval_in_seconds){var t="markets-indices-".concat(e.symbol),r=1e3*e.refresh_interval_in_seconds;o.setEntitlemnenets(r,t,e),i.indices[e.symbol]=o.entitlements[t]||e}else i.indices[e.symbol]=e}),c=Object.keys(i.indices).reduce(function(e,t){var r=i.indices[t];return e||r.status&&"Closed"===o.statuses[r.status]},!1),i.inSession=c?"closed":"open",this.stopSetInterval=this.previousInSession!==i.inSession,this.previousInSession=i.inSession,e.abrupt("return",i);case 17:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"renderData",value:function(e){var t=this,r=this.el.querySelector(".market-indices__table"),n=this.el.querySelectorAll(".market-indices__table-row"),a=new RegExp("(market-indices__trend--)\\w+","g");r.className=r.className.replace(a,""),r.classList.add("market-indices__trend--".concat(e.inSession)),this.linkUrl&&(r.addEventListener("click",function(){window.location=appendUtmSource(t.linkUrl.trim(),t.sourceRef)}),r.classList.add("market-indices__link")),n.forEach(function(t){var r=t.getAttribute("data-symbol"),n=e.indices[r],s=t.querySelectorAll(".market-indices__table-cell");t.className=t.className.replace(a,"");var i="";n&&(i=marketsFormatting.getTrendClass(_get(n,"price_change_from_prev_close"))),t.classList.add("market-indices__trend--".concat(i)),s[1]&&(s[1].innerHTML=n?marketsFormatting.formatNumber(_get(n,"current_price")):"-"),s[2]&&(s[2].innerHTML=n?marketsFormatting.formatNumber(_get(n,"price_change_from_prev_close"),2,!0):"-"),s[3]&&(s[3].innerHTML=n?marketsFormatting.formatNumber(100*_get(n,"percent_change_from_prev_close"),2,!1,!0,!0):"-")})}},{key:"setMarketInSessionChecks",value:function(){var e,t=this,r=new Date,n=(new Date).toLocaleString("en-US",{timeZone:"America/New_York",timeZoneName:"short"}).split(" "),a=n[0],s=n[3],i=new Date("".concat(a,", 9:30:00 AM ").concat(s)),c=new Date("".concat(a,", 4:00:00 PM ").concat(s)),o=new Date(i);if(o.setDate(o.getDate()+1),i-r>0)e=i-r;else if(c-r>0)e=c-r;else{if(!(o-r>0))return null;e=o-r}var l=setInterval((0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.updateData();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error("Error:",e.t0.message);case 8:t.stopSetInterval&&clearInterval(l);case 9:case"end":return e.stop()}},e,null,[[0,5]])})),this.INTERVAL);setTimeout(function(){t.setMarketInSessionChecks()},e)}},{key:"updateData",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 e.next=2,this.getMarketData();case 2:t=e.sent,this.renderData(t);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"setEntitlemnenets",value:function(e,t,r){if("undefined"!=typeof window){if(window.cnn_markets_entitlements_cache||(window.cnn_markets_entitlements_cache={}),!window.cnn_markets_entitlements_cache[t]){var n=function(){};clearInterval(n),n=setInterval(function(){window.cnn_markets_entitlements_cache[t].ready=!0},e),window.cnn_markets_entitlements_cache[t]={},window.cnn_markets_entitlements_cache[t].initialized=!0,window.cnn_markets_entitlements_cache[t].ready=!1,window.cnn_markets_entitlements_cache[t].cache=r}window.cnn_markets_entitlements_cache[t].ready&&(window.cnn_markets_entitlements_cache[t].cache=r,window.cnn_markets_entitlements_cache[t].ready=!1),this.entitlements[t]=window.cnn_markets_entitlements_cache[t].cache}}},{key:"init",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:return e.prev=0,e.next=3,this.updateData();case 3:this.setMarketInSessionChecks(),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("Market Indices:",e.t0.message);case 9:case"end":return e.stop()}},e,this,[[0,6]])}));return function(){return e.apply(this,arguments)}}()}]),e}();module.exports=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(t){var r;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(r=new MarketIndices(t)).init(),e.abrupt("return",r);case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();
}, {"1":1,"5":5,"10":10,"11":11,"12":12,"23":23,"24":24,"25":25,"30":30,"185":185}];
window.modules["market-data-poller.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_asyncToGenerator2=_interopRequireDefault(require(24)),_slicedToArray2=_interopRequireDefault(require(36)),rest=require(30),initialDataLoaded=!1,setGlobalData=function(e){if(window.CNNB_FNG=window.CNNB_FNG||{},e)if(initialDataLoaded)for(var t=0,r=Object.entries(e);twindow.CNNB_FNG[n].timestamp?void 0!==o.data?(window.CNNB_FNG[n].data.pop(),window.CNNB_FNG[n].data.push(o.data.pop()),window.CNNB_FNG[n]=Object.assign(o,{data:window.CNNB_FNG[n].data})):window.CNNB_FNG[n]=o:e[n].timestamp||window.CNNB_FNG[n].timestamp||(window.CNNB_FNG[n]=o)}else window.CNNB_FNG=Object.assign(window.CNNB_FNG,e),initialDataLoaded=!0},getMarketData=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(t){var r,a,n;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a="".concat(t),initialDataLoaded&&!t.includes("current")&&(n=(new Date).toISOString().split("T")[0],a+="/".concat(n)),e.prev=2,e.next=5,rest.get(a);case 5:r=e.sent,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(2),console.log("Error [Market-data-poller]: Failed to get data from ",a),console.log("Error [Market-data-poller]: message - ",e.t0);case 12:setGlobalData(r);case 13:case"end":return e.stop()}},e,null,[[2,8]])}));return function(t){return e.apply(this,arguments)}}();module.exports=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(t){var r,a,n;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.getAttribute("data-data-url"),a=t.getAttribute("data-update-interval"),n=t.getAttribute("data-stream-market-data"),e.next=5,getMarketData(r);case 5:n&&setInterval((0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,getMarketData(r);case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error("Error:",e.t0.message);case 8:case"end":return e.stop()}},e,null,[[0,5]])})),1e3*parseInt(a));case 6:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();
}, {"10":10,"24":24,"25":25,"30":30,"36":36}];
window.modules["footer.client"] = [function(require,module,exports){"use strict";var _require=require(97),setAdobeAnalyticsGenericDataCookie=_require.setAdobeAnalyticsGenericDataCookie,enableUserConsentLink=function(e){var n=e.querySelector(".footer__links .uclink");window.WM&&window.WM.UserConsent&&0!==window.WM.UserConsent.getLinkTitle().length&&n&&(n.text=window.WM.UserConsent.getLinkTitle(),n.onclick=window.WM.UserConsent.getLinkAction(),n.style.display="block",n.style.textAlign="center")},isLargeBreakpoint=function(){return window.matchMedia("(min-width: 960px)").matches};function setupTracking(e){var n=window.CNN.contentModel,t=n.section,i=n.templateType;Array.from(e.querySelectorAll("a[href]")).forEach(function(e){var n=e.innerText;if(n){var o=["footer",t,i,n.trim(),isLargeBreakpoint()?"footer_DT":"footer_MW"];setAdobeAnalyticsGenericDataCookie(e,o)}})}module.exports=function(e){enableUserConsentLink(e),setupTracking(e)};
}, {"97":97}];
window.modules["container.client"] = [function(require,module,exports){"use strict";var _require=require(97),setAdobeAnalyticsCookie=_require.setAdobeAnalyticsCookie,showDomNode=function(e){e.classList.remove("hide")},hideDomNode=function(e){e.classList.add("hide")};module.exports=function(e){["container_headline-carousel","container_ribbon","container_shelf-carousel","container_event-tray"].forEach(function(t){var o=e.querySelector(".".concat(t,"__field-links")),n=e.querySelector(".".concat(t,"__cards-wrapper")),r=document.createElement("div"),i=document.createElement("div");r.classList.add("".concat(t,"__carousel-button-prev"),"hide","carousel-button-prev"),i.classList.add("".concat(t,"__carousel-button-next"),"carousel-button-next");var a=function(e){var n,i,a=o.scrollLeft,c=o.offsetWidth,s=r.offsetWidth,l=c-s,d=o.children[0].offsetWidth,u=parseInt(window.getComputedStyle(o).gap,10)||0;"left"===e?n="container_event-tray"===t?(i=Math.floor(a/(d+u)))*(d+u)-s:((i=Math.floor(a/d))-Math.floor(l/d)+1)*d-s:(i=Math.floor((a+l)/d),n="container_event-tray"===t?a+(d+u-(a+c-i*(d+u)))+3:i*d-s);o.scrollTo({left:n,behavior:"smooth"})};!function(){if(e.classList.contains(t)){if("container_ribbon"===t){var c=e.querySelectorAll(".card");c.forEach(function(e,o){var n=e.querySelector("a[href]"),r={zone_position_number:1,zone_total_number:1,container_position_number:1,container_name:t,container_total_number:1,card_name:n.innerText,card_position_number:o+1,card_total_number:c.length};setAdobeAnalyticsCookie(n,r)})}n.insertBefore(r,n.firstChild),n.appendChild(i),o.addEventListener("scroll",function(){var e,t,n;e=Math.round(o.scrollLeft),t=o.scrollWidth,n=o.clientWidth,0===e?hideDomNode(r):(showDomNode(r),t-n<=e?hideDomNode(i):showDomNode(i))}),r.addEventListener("click",function(){a("left")}),i.addEventListener("click",function(){a("right")}),o.scrollWidth===o.clientWidth?i.classList.add("hide"):"container_ribbon"===t&&(o.style.justifyContent="normal")}}()})};
}, {"97":97}];
window.modules["market-fng-gauge.client"] = [function(require,module,exports){"use strict";var _get=require(1),_require=require(186),fearAndGreedValueToText=_require.fearAndGreedValueToText,getDialRangeAngle=_require.getDialRangeAngle,_require2=require(187),DateTime=_require2.DateTime;module.exports=function(e){var t=!1,r=null,a=null,i=e.getAttribute("data-update-interval"),n=e.getAttribute("data-initial-fetch-delay"),o=e.getAttribute("data-stream-market-data"),u=e.classList.contains("market-fng-gauge_mini")||e.classList.contains("market-fng-gauge_mini-featured"),l=e.classList.contains("market-fng-gauge_homepage"),g=e.querySelector("#fear-and-greed-dial"),s=e.querySelector("#fear-and-greed-dial title");s&&(g.addEventListener("mouseenter",function(){s.textContent=""}),g.addEventListener("mouseleave",function(){s.textContent="Fear & Greed Index - Investor Sentiment"})),(u||l)&&e.addEventListener("click",function(){return window.location=e.querySelector(".market-fng-gauge__text").getAttribute("href"),!1});r=setInterval(function n(){var g=_get(window,"CNNB_FNG.fear_and_greed",null)||_get(window,"CNNB_FNG",null);if(g){var s=g.score&&Math.round(g.score);if(s>=0){var d=getDialRangeAngle(s),_=e.querySelector(".market-fng-gauge__hand-svg"),m=e.querySelector(".market-fng-gauge__dial-number-value");_.setAttribute("style","transform: rotate(".concat(d,"deg)")),m.innerHTML=parseInt(s);var c=fearAndGreedValueToText(s).toLowerCase();if(c){var f=c.replace("_"," ");e.querySelector(".market-fng-gauge__meter").setAttribute("data-index-label",f),(u||l)&&(e.querySelector(".market-fng-gauge__text").setAttribute("data-index-label",f),e.querySelector(".market-fng-gauge__label").innerHTML=c)}}var v=g.timestamp;if(v&&!u&&!l){var T=e.querySelector(".market-fng-gauge__timestamp"),A=T.getAttribute("data-timestamp"),q=new Date(v).getTime();q>A&&(v=DateTime.fromISO(v).setZone("America/New_York").toFormat("MMM d 'at' h:mm:ss a ZZZZ").replace(/EDT|EST/g,"ET"),T.innerHTML="Last updated ".concat(v),T.setAttribute("data-timestamp",q))}if("true"===e.getAttribute("data-showHistorical")){var k=g.previous_close&&parseInt(g.previous_close),p=g.previous_1_week&&parseInt(g.previous_1_week),x=g.previous_1_month&&parseInt(g.previous_1_month),b=g.previous_1_year&&parseInt(g.previous_1_year),y=e.querySelector(".market-fng-gauge__historical-item--prevClose"),S=e.querySelector(".market-fng-gauge__historical-item--weekClose"),h=e.querySelector(".market-fng-gauge__historical-item--monthClose"),L=e.querySelector(".market-fng-gauge__historical-item--yearClose"),w=y.querySelector(".market-fng-gauge__historical-item-index-value"),C=S.querySelector(".market-fng-gauge__historical-item-index-value"),G=h.querySelector(".market-fng-gauge__historical-item-index-value"),I=L.querySelector(".market-fng-gauge__historical-item-index-value");void 0!==k&&(y.setAttribute("data-index-label",fearAndGreedValueToText(k).toLowerCase()),w.innerHTML=k),void 0!==p&&(S.setAttribute("data-index-label",fearAndGreedValueToText(p).toLowerCase()),C.innerHTML=p),void 0!==x&&(h.setAttribute("data-index-label",fearAndGreedValueToText(x).toLowerCase()),G.innerHTML=x),void 0!==b&&(L.setAttribute("data-index-label",fearAndGreedValueToText(b).toLowerCase()),I.innerHTML=b)}t=!0}t&&!a&&(clearInterval(r),o&&i>=.1&&(a=setInterval(n,1e3*i)))},1e3*n)};
}, {"1":1,"186":186,"187":187}];
window.modules["image.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_createClass2=_interopRequireDefault(require(12)),_classCallCheck2=_interopRequireDefault(require(11)),_inherits2=_interopRequireDefault(require(13)),_possibleConstructorReturn2=_interopRequireDefault(require(15)),_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(16),ClientModel=_require.ClientModel,initializeOnExec=_require.initializeOnExec,elementResizeObserver=require(68),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);
}, {"10":10,"11":11,"12":12,"13":13,"14":14,"15":15,"16":16,"68":68}];
window.modules["header.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_slicedToArray2=_interopRequireDefault(require(36)),_toConsumableArray2=_interopRequireDefault(require(23)),_asyncToGenerator2=_interopRequireDefault(require(24)),HEADER_ICON_IDS=["headerMenuIcon","headerSearchIcon","headerCloseIcon"],MORE_DROPDOWN_LINK_ID="moreDropdown",_require=require(161),calculateNavLeftMaxWidth=_require.calculateNavLeftMaxWidth,isSubscriber=_require.isSubscriber,_require2=require(145),calculatePageStickyThreshold=_require2.calculatePageStickyThreshold,_get=require(1),_require3=require(29),checkGeoCountry=_require3.checkGeoCountry,getCookie=_require3.getCookie,_require4=require(107),trackMetrics=_require4.trackMetrics,_require5=require(97),setAdobeAnalyticsDataForCookie=_require5.setAdobeAnalyticsDataForCookie,EnvVars=require(5),initializeMenu=function(e){var r=e.classList;HEADER_ICON_IDS.map(function(e){return document.getElementById(e)}).filter(function(e){return e}).forEach(function(e){e.addEventListener("click",function(){r.toggle("header--active");var e=window.document.body;if(r.contains("header--active"))e.style.top="-".concat(window.scrollY,"px"),e.classList.toggle("menu-opened");else{e.classList.toggle("menu-opened");var t=e.style.top;e.style.top="",window.scrollTo(0,-1*parseInt(t||"0"))}})})};function fireTrackingMetrics(e){var r=e.interaction,t=e.type;trackMetrics({type:void 0===t?"user-interaction":t,data:{interaction:r}})}var moreDropdownLink,moreSection,moreCaret,hoverStartTime,updateSubscribeView=function(){var e=(0,_asyncToGenerator2.default)(function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return _regenerator.default.mark(function t(){var n,o;return _regenerator.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=6;break}return t.next=3,isSubscriber();case 3:n=t.sent,e.style.display=n?"none":"block",r&&(o=e.closest(".header"),formatNavBar(o));case 6:case"end":return t.stop()}},t)})()});return function(r){return e.apply(this,arguments)}}(),initializeSubscribeButton=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(r){var t,n,o;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.querySelector(".header__subscribe-button"),n=checkGeoCountry("US"),o=getCookie(EnvVars.get("APP_VIEW_COOKIE")),!t||o||!n){e.next=11;break}return r.querySelector(".header__inner").classList.add("header__inner--subscription"),e.next=8,updateSubscribeView(t);case 8:t.addEventListener("click",function(e){var t="".concat(window.location.protocol,"//").concat(window.location.hostname,"/subscription");window.zion_analytics.track(new window.ZION_SDK.GenericLinkClick({href:t,type:e.target.tagName,customAttributes:{Component_id:r.dataset.uri,Component_text:e.target.innerText.trim(),Component_type:"button",Container_type:"navigation"}})),fireTrackingMetrics({interaction:"nav:subscribe"});var n=new URL(t);n.searchParams.append("source","sub_web_nav"),n.searchParams.append("redirect",window.location.href),window.location.href=n.href}),document.addEventListener("login",(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,updateSubscribeView(t,!0);case 2:case"end":return e.stop()}},e)}))),document.addEventListener("logout",(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,updateSubscribeView(t,!0);case 2:case"end":return e.stop()}},e)})));case 11:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}(),initializeAccordion=function(e){e.querySelectorAll(".header__nav-item-accordion").forEach(function(e){e.addEventListener("click",function(){var r;e.classList.toggle("header__nav-item-accordion--open"),null===(r=e.querySelector(".header__nav-item-dropdown"))||void 0===r||r.classList.toggle("header__nav-item-dropdown--open")})})},initializeEditionizers=function(e){var r=e.querySelectorAll(".header__editionizer"),t=e.querySelectorAll(".header__editionizer-button");(0,_toConsumableArray2.default)(t).forEach(function(e){return e.addEventListener("click",function(){e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true"),(0,_toConsumableArray2.default)(r).forEach(function(e){return e.classList.toggle("header__editionizer--active")})})})},formatNavBar=function(e){var r=e.querySelector(".header__right");if(e.getBoundingClientRect().width<960)r&&(r.style.visibility="visible");else if(!window.location.pathname.startsWith("/webview")){var t=function(e){return e.style.display="block"},n=function(e){return e.style.display="none"},o=function(){return e.querySelector(".header__left").getBoundingClientRect().width},i=function(e){d.querySelectorAll(".header__nav-item:nth-child(n+".concat(d.childElementCount-e,")")).forEach(n)},a=e.querySelector(".header__nav");a&&(a.style.visibility="hidden");var c=e.querySelector(".header__nav-more"),u=e.querySelector(".header__nav-more > .header__nav-item-dropdown"),d=e.querySelector(".header__left .header__nav-container");if(d){d.querySelectorAll(".header__nav-item").forEach(t),u.querySelectorAll(".header__nav-item-dropdown-item").forEach(n),n(c);for(var s=calculateNavLeftMaxWidth(e),l=o(),v=!1,_=1;l>s;)v=!0,i(_),l=o(),_++;v&&(t(c),(l=o())>s&&(i(_),l=o(),_++));var m=d.querySelector(".promotion-link")?0:1;u.querySelectorAll(".header__nav-item-dropdown-item:nth-child(n+".concat(d.childElementCount-_+m,")")).forEach(t),a&&(a.style.visibility="visible"),r&&(r.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 r=0,t=Object.entries(moreDropdownLinkZJSAttrs);r=u||c===t?(o.classList.remove("hide"),i.classList.remove("header__subnav-mount--scrolled")):(o.classList.add("hide"),i.classList.add("header__subnav-mount--scrolled"))})})}module.exports=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(r){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.addEventListener("click",setNavigationAdobeAnalytics),initializeMenu(r),e.next=4,initializeSubscribeButton(r);case 4:initializeEditionizers(r),initializeAccordion(r),initializeMoreDropdown(),calculatePageStickyThreshold(),formatNavBar(r),initializeNavBorderStyleUpdate(r),window.addEventListener("resize",function(){formatNavBar(r)});case 11:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}();
}, {"1":1,"5":5,"10":10,"23":23,"24":24,"25":25,"29":29,"36":36,"97":97,"107":107,"145":145,"161":161}];
window.modules["subnav.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_slicedToArray2=_interopRequireDefault(require(36)),_asyncToGenerator2=_interopRequireDefault(require(24));module.exports=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(r){var t,a,n,i,o,u,l,s,c;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(t={},a={zjsNavigationLocation:"header,footer"},n=0,i=Object.entries(a);n=recentLimit&&s=fairlyRecentLimit&&s0?t.length:"",r=e.closest("[data-".concat(DATA_ATTRIBUTE_PREFIX,"-collection]"))||document.body,o=r===document.body?"body":r.dataset["".concat(DATA_ATTRIBUTE_PREFIX,"Collection")],i="";o===ZONE_COMPONENT_NAME&&(i=t.indexOf(r));var a=Array.from(r.querySelectorAll('[data-uri*="/_components/"]')),c=a.length;return{collection_type:o,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,r=t.dataset["".concat(DATA_ATTRIBUTE_PREFIX,"Observe")];if(r===COMPONENT_ON_EVENT&&n||r===COMPONENT_OFF_EVENT&&!n){var o=n?window.ZION_SDK.ComponentOnScreen:window.ZION_SDK.ComponentOffScreen,i=t.dataset.uri,a=function(){return setTimeout(function(){return trackZionEvent(new o({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="",r="",o=e.target,i=o.closest("a[href]"),a=o.closest("[data-uri]"),c=getAggregateComponentElement(o);i&&i.href&&(r=i.href);var _=_objectSpread(_objectSpread({},getCustomProperties(o=c||a)),c?getCustomProperties(a):{}),s=e.target!==o?getCustomProperties(e.target):{};if(o){if(n=o.dataset.uri,"gallery"===(t=getComponentName(n))){var l,E=e.target.classList[0];E.includes("next")?l=_.carousel_item_index===_.carousel_item_length?1:_.carousel_item_index+1:E.includes("prev")&&(l=1===_.carousel_item_index?_.carousel_item_length:_.carousel_item_index-1),_.carousel_item_index=l}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(o)),_objectSpread(_objectSpread({},s),_)),{},{word_count:getWordCount(o),destination_url:r})}))}})}function initializeAnalyticsEvents(){isPageVariant(ZION_BEHAVIOURAL_ENABLED_PAGE_VARIANTS)&&(initializeOnOffEvents(),initializeClickEvents())}window.ZION_SDK?initializeAnalyticsEvents():window.addEventListener("zion.loaded",initializeAnalyticsEvents);
}, {"2":2,"5":5,"10":10,"18":18,"44":44,"89":89,"241":241}];
window.modules["bizdev-wunderkind.legacy"] = [function(require,module,exports){"use strict";var _require=require(9),AD_VARIANTS=_require.AD_VARIANTS,_require2=require(16),subscribe=_require2.subscribe,actions=_require2.actions,EnvVars=require(5),_require3=require(29),isEditionPage=_require3.isEditionPage,isEspanolPage=_require3.isEspanolPage,_require4=require(427),isEligibleForFocusMode=_require4.isEligibleForFocusMode,ucStates=["iab","data-share","data-sell","data-store","ads-contextual","ads-person-prof","ads-person","measure-ads","measure-market","product-develop"],initWunderkind=function(){var e=isEspanolPage()?EnvVars.get("ENABLE_WUNDERKIND_ES"):EnvVars.get("ENABLE_WUNDERKIND"),i=!!isEspanolPage()&&EnvVars.get("WUNDERKIND_SRC_ES")||(isEditionPage()?EnvVars.get("WUNDERKIND_SRC_EDITION"):EnvVars.get("WUNDERKIND_SRC"));e&&window.WM.UserConsent.addScript({src:i,id:"wunderkind_script",async:!0},ucStates)},waitForAdVariant=function(){subscribe(actions.ADS.SET_AD_VARIANT,function(e){e.adVariant===AD_VARIANTS.DEFAULT&&initWunderkind()})};isEligibleForFocusMode()?waitForAdVariant():initWunderkind();
}, {"5":5,"9":9,"16":16,"29":29,"427":427}];
window.modules["campaign-promo-events.legacy"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_asyncToGenerator2=_interopRequireDefault(require(24)),_require=require(44),authClient=_require.authClient,NewsletterClient=require(250),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"));
}, {"10":10,"24":24,"25":25,"44":44,"250":250}];
window.modules["chartbeat-setup.legacy"] = [function(require,module,exports){"use strict";var _interopRequireDefault=require(10),_classCallCheck2=_interopRequireDefault(require(11)),_createClass2=_interopRequireDefault(require(12)),_defineProperty2=_interopRequireDefault(require(18)),_require=require(45),isSection=_require.isSection,SECTIONS=_require.SECTIONS,isStrategyRegistered=!1,CnnChartbeatVideoStrategy=function(){function e(t){var i=this;(0,_classCallCheck2.default)(this,e),(0,_defineProperty2.default)(this,"_cbPlayer",null),(0,_defineProperty2.default)(this,"_currentAdPosition",null),(0,_defineProperty2.default)(this,"_ready",!1),(0,_defineProperty2.default)(this,"_strategyName","CNN"),(0,_defineProperty2.default)(this,"_videoPlayed",!1),(0,_defineProperty2.default)(this,"_videoStartTime",null),(0,_defineProperty2.default)(this,"_viewStartTime",this._now()),(0,_defineProperty2.default)(this,"_onPlaybackReady",function(){i._ready=!0}),(0,_defineProperty2.default)(this,"_onVideoPlaying",function(){i._videoPlayed||(i._videoStartTime=i._now(),i._videoPlayed=!0)}),this._cbPlayer=t,this._subscribeEvents()}return(0,_createClass2.default)(e,[{key:"_now",value:function(){return(new Date).getTime()}},{key:"_subscribeEvents",value:function(){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)}},{key:"getAdPosition",value:function(){return this._cbPlayer.getAdPosition()}},{key:"getAutoplayType",value:function(){return this._cbPlayer.getAutoplayType()}},{key:"getBitrate",value:function(){return this._cbPlayer.getBitrate()}},{key:"getContentType",value:function(){return this._cbPlayer.getContentType()}},{key:"getCurrentPlayTime",value:function(){return this._cbPlayer.getCurrentPlayTime()}},{key:"getPlayerType",value:function(){return this._cbPlayer.getPlayerType()}},{key:"getSections",value:function(){return this._cbPlayer.getSections()}},{key:"getState",value:function(){return this._cbPlayer.getState()}},{key:"getStrategyName",value:function(){return this._strategyName}},{key:"getThumbnailPath",value:function(){return this._cbPlayer.getThumbnailPath()}},{key:"getTitle",value:function(){return this._cbPlayer.getTitle()}},{key:"getTotalDuration",value:function(){return this._cbPlayer.getTotalDuration()}},{key:"getVideoPath",value:function(){return this._cbPlayer.getVideoPath()}},{key:"getViewAdPlayTime",value:function(){return this.timeElapsed(this._viewStartTime)}},{key:"getViewPlayTime",value:function(){if(this._videoPlayed)return this.timeElapsed(this._viewStartTime)}},{key:"getViewStartTime",value:function(){return this.timeElapsed(this._viewStartTime)||0}},{key:"isReady",value:function(){return this._ready}},{key:"timeElapsed",value:function(e){return void 0===e?0:this._now()-e}}]),e}();function registerChartbeatVideoStrategy(){!0!==isStrategyRegistered&&(window._cbv_strategies=window._cbv_strategies||[],window._cbv_strategies.push(CnnChartbeatVideoStrategy),isStrategyRegistered=!0)}(0,_defineProperty2.default)(CnnChartbeatVideoStrategy,"verify",function(e){return"function"==typeof e.fromFave}),function(){function e(){window.WM.UserConsent.addScript({src:"//static.chartbeat.com/js/chartbeat_video.js",async:!0},["data-store","content-person","measure-content"])}var t=(window.CNN||{}).contentModel||{},i=(window.CNN||{}).omniture||{};registerChartbeatVideoStrategy();var n,r,a,o,l=window._sf_async_config=window._sf_async_config||{};l.uid=37612,l.domain=(o="cnn.com","es"===(null===(n=window.CNN.contentModel)||void 0===n?void 0:n.brandSite)&&(o="cnnespanol.".concat(o)),-1!=window.location.hostname.indexOf("edition")&&(o="edition.".concat(o)),"prod"!=(null===(r=window.CNN)||void 0===r?void 0:null===(a=r.contentModel)||void 0===a?void 0:a.environment)&&(o="dev.".concat(o)),o),l.sections=t.vertical,l.authors=i.cap_author,l.title=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return isSection(SECTIONS.HOMEPAGE)?e.replace(" Desktop","").replace(" Mobile",""):e}(i.headline),l.flickerControl=!1,l.articleBlockSelector="div.card,div.container__item,p.paragraph>a",l.autoDetect=!1,l.path=function(){var e,t,i=window.location.hostname,n=null===(e=(t=document.querySelector("[rel=canonical]")).getAttribute)||void 0===e?void 0:e.call(t,"href");try{return i+new URL(n).pathname}catch(e){return i+document.location.pathname}}(),window.WM.UserConsent?e():window.addEventListener("user-consent.loaded",e)}(),module.exports={CnnChartbeatVideoStrategy:CnnChartbeatVideoStrategy};
}, {"10":10,"11":11,"12":12,"18":18,"45":45}];
window.modules["shared-arkose-newsletters.legacy"] = [function(require,module,exports){"use strict";var nlArkoseEnforcement,daexData,_interopRequireDefault=require(10),_regenerator=_interopRequireDefault(require(25)),_asyncToGenerator2=_interopRequireDefault(require(24)),_require=require(251),createArkoseScript=_require.createArkoseScript,getDaexData=_require.getDaexData,enforcementOnError=_require.enforcementOnError,MAX_RETRY_COUNT=_require.MAX_RETRY_COUNT,retryCount=0,setupCbName="setupArkoseDualNewsletters",nlLoadedEvent="cnn-nl-arkose-loaded",setArkoseConfig=function(e){var r=e.arkoseOnReady,n=e.arkoseOnCompleted,t=e.arkoseOnError,a=e.setBy;nlArkoseEnforcement.setConfig({data:daexData&&{blob:daexData}||{},onReady:function(){r&&r({enforcement:nlArkoseEnforcement})},onCompleted:n,onError: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:return retryCount++,e.next=3,enforcementOnError({enforcementInstance:nlArkoseEnforcement,callbackFnName:setupCbName,retryTimes:retryCount});case 3:retryCount===MAX_RETRY_COUNT&&t&&t();case 4:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()}),window.arkoseEnforcementCNN.lastSetBy=a,nlArkoseEnforcement.reset()},resetArkoseConfig=function(){var e=(0,_asyncToGenerator2.default)(_regenerator.default.mark(function e(r){return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(daexData){e.next=4;break}return e.next=3,getDaexData("NEWSLETTERS");case 3:daexData=e.sent;case 4:nlArkoseEnforcement?setArkoseConfig(r):(createArkoseScript({srcEnvVar:"ARKOSE_NEWSLETTERS_SRC",callbackFnName:setupCbName,id:"arkose-newsletters-script"}),document.addEventListener(nlLoadedEvent,function(){setArkoseConfig(r)}));case 5:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}();window.arkoseEnforcementCNN={},window[setupCbName]=function(e){nlArkoseEnforcement=e,document.dispatchEvent(new CustomEvent(nlLoadedEvent))},window.arkoseEnforcementCNN.enforcementSetup=resetArkoseConfig;
}, {"10":10,"24":24,"25":25,"251":251}];
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=["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 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();
// ]]