-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),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var r=this.__data__,a=assocIndexOf(r,e);return!(a<0)&&(a==r.length-1?r.pop():splice.call(r,a,1),--this.size,!0)}module.exports=listCacheDelete;
}, {"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(3130),mapCacheSet=require(3129);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(3236),baseMatchesProperty=require(3237),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 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["3237"] = [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["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;r0)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["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["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["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(144),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,"144":144,"161":161}];
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["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();
// ]]