Home | WebMail |

      Calgary | Regions | Local Traffic Report | Advertise on Action News | Contact

Posted: | Updated:

/*! For license information please see news.0998c429b29c14ec6f65.js.LICENSE.txt */(()=>{var e,t,n={84853:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91203),o=n(73182);class i{constructor({cookieName:e,daysExpiry:t,env:n,namespace:i,sourceOfTruthDomain:a,throttleTimer:u=null,secureOnly:l=!0,localDomain:s=(0,o.O)()}){n="live"===n?"prod":n,this.xDomainCookies=new r.A({sourceOfTruthDomain:a||(0,o.M)(n),namespace:i,localDomain:s,env:n}),this.cookieName=e,this.daysExpiry=t,this.secureOnly=l,this.throttleTimer=u,this.inMemoryValue=null}get(){return this.throttle?Promise.resolve(this.inMemoryValue):this.xDomainCookies.get(this.cookieName).then((e=>(this.inMemoryValue=e,this.resetThrottle(),e)))}set(e){return this.inMemoryValue=e,this.xDomainCookies.set({name:this.cookieName,value:e,days:this.daysExpiry,secureOnly:this.secureOnly})}resetThrottle(){this.throttleTimer&&(this.throttle=setTimeout((()=>{this.throttle=null}),this.throttleTimer))}}},73182:(e,t,n)=>{"use strict";n.d(t,{M:()=>o,O:()=>r});const r=function(e=window){var t=e.location.hostname;const n=t.split(".")[0];return n&&"stage"!==n&&-1===["buzzfeed","buzzfeednews","tasty","huffpost","huffingtonpost"].indexOf(n)&&t.split(".").length>=3&&(t=t.substring(n.length+1)),t},o=function(e="dev"){return"dev"===e?"dev.buzzfeed.io":"prod"===e||"app-west"===e?"buzzfeed.com":"stage.buzzfeed.com"}},91203:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(42519);const o="destination-sync-init",i="destination-sync-read",a=function(e){return e.match(/^stage\./)?`https://${e}`:`https://www.${e}`};class u{constructor({sourceOfTruthDomain:e,localDomain:t,namespace:n,env:r="dev",updateInterval:o=3e5,iframeTimeout:i=3e3}){this.sourceOfTruthDomain=e,this.localDomain=t,this.env=r,this.namespace=n,this.iframeTimeout=i,this.cookies={},e!==t&&this.initIframe().then((()=>{setInterval(this.updateFromIframe.bind(this),o)})).catch((()=>{}))}get(e){return this.sourceOfTruthDomain===this.localDomain?Promise.resolve(r.A.get(e)):this.initIframe().then((()=>this.cookies[e]||r.A.get(e))).catch((()=>r.A.get(e)))}set({name:e,value:t,days:n,secureOnly:o=!0}){r.A.set({name:e,value:t,days:n,domain:this.localDomain}),this.sourceOfTruthDomain!==this.localDomain&&this.initIframe().then((()=>{var r={namespace:this.namespace,msgType:"destination-sync-write",cookieName:e,cookieVal:t,expiresDays:n,secureOnly:o};const i=a(this.sourceOfTruthDomain);this.iframe.contentWindow.postMessage(JSON.stringify(r),i)})).catch((()=>r.A.set({name:e,value:t,days:n,domain:this.localDomain})))}cleanup(){if(this.boundOnMessage&&window.removeEventListener("message",this.boundOnMessage),this.iframe){const e=new ErrorEvent({message:"XDomainCookies were cleaned up before ready"});this.iframe.dispatchEvent(e),this.iframe.remove()}this.iframeReady=null}initIframe(){if(this.iframeReady)return this.iframeReady;let e=new Promise(((e,t)=>{this.boundOnMessage=t=>{this.onMessage(t,e)},window.addEventListener("message",this.boundOnMessage),this.createIframe(t)}));var t;return this.iframeReady=Promise.race([(t=this.iframeTimeout,new Promise(((e,n)=>{const r={type:"timeout",msg:`${t}ms timeout exceeded`};setTimeout((()=>n(r)),t)}))),e]).catch((e=>{throw"prod"===this.env&&window.raven&&window.raven.captureException("timeout"===e.type?new Error(`Destination Sync: ${e.msg}`):e),console.error(e),e})),this.iframeReady}createIframe(e){const t=`xdomaincookies-${this.namespace}`,n=document.getElementById(t);if(n)return n.addEventListener("error",(t=>{e(t)})),this.iframe=n,void(this.iframe.dataset.loaded&&this.updateFromIframe());const r=JSON.stringify({namespace:this.namespace,windowOrigin:window.location.origin}),o=document.createElement("iframe");o.style.display="none",o.addEventListener("error",(t=>{e(t)})),o.id=t,o.src=function(e,t){return`${a(e)}/destination-sync.html#${encodeURIComponent(t)}`}(this.sourceOfTruthDomain,r),this.iframe=o,document.body.appendChild(o)}updateFromIframe(){const e={namespace:this.namespace,msgType:i},t=a(this.sourceOfTruthDomain);this.iframe.contentWindow.postMessage(JSON.stringify(e),t)}onMessage(e,t){let n={};try{n=JSON.parse(e.data)}catch(e){}n.namespace===this.namespace&&(n.msgType===o&&(this.iframe.dataset.loaded=!0),n.msgType!==o&&n.msgType!==i||(this.cookies=n.cookies),t())}}},42519:(e,t,n)=>{"use strict";function r(e,t){const n=e.match(t);return n&&n.length?n[0]:null}n.d(t,{A:()=>o});const o={getBuzzfeedSubdomainOrWildcard:e=>r(e,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$")||r(e,".?[a-z]+.[a-z]+$"),get(e,t=null){const n=`${e}=`;if("undefined"==typeof document)return t;const r=document.cookie.split(";");for(let e=0;e{"use strict";n.d(t,{bs:()=>s}),n(84853);var r=n(42519),o=n(73182);function i(e,t,n){var r,o,i,a,u,l,s;for(this.version="1.0.1",this.minAlphabetLength=16,this.sepDiv=3.5,this.guardDiv=12,this.errorAlphabetLength="error: alphabet must contain at least X unique characters",this.errorAlphabetSpace="error: alphabet cannot contain spaces",this.alphabet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",this.seps="cfhistuCFHISTU",this.minHashLength=parseInt(t,10)>0?t:0,this.salt="string"==typeof e?e:"","string"==typeof n&&(this.alphabet=n),r="",o=0,a=this.alphabet.length;o!==a;o++)-1===r.indexOf(this.alphabet[o])&&(r+=this.alphabet[o]);if(this.alphabet=r,this.alphabet.lengththis.sepDiv)&&(1===(u=Math.ceil(this.alphabet.length/this.sepDiv))&&u++,u>this.seps.length?(l=u-this.seps.length,this.seps+=this.alphabet.substr(0,l),this.alphabet=this.alphabet.substr(l)):this.seps=this.seps.substr(0,u)),this.alphabet=this.consistentShuffle(this.alphabet,this.salt),s=Math.ceil(this.alphabet.length/this.guardDiv),this.alphabet.length0&&(t=t.substr(f/2,this.minHashLength));return t},i.prototype._decode=function(e,t){var n,r,o,i,a=[],u=0,l=new RegExp("["+this.guards+"]","g"),s=e.replace(l," "),c=s.split(" ");if(3!==c.length&&2!==c.length||(u=1),void 0!==(s=c[u])[0]){for(n=s[0],s=s.substr(1),l=new RegExp("["+this.seps+"]","g"),u=0,r=(c=(s=s.replace(l," ")).split(" ")).length;u!==r;u++)o=c[u],i=n+this.salt+t,t=this.consistentShuffle(t,i.substr(0,t.length)),a.push(this.unhash(o,t));this._encode(a)!==e&&(a=[])}return a},i.prototype.consistentShuffle=function(e,t){var n,r,o,i,a,u;if(!t.length)return e;for(i=e.length-1,a=0,u=0;i>0;i--,a++)u+=n=t[a%=t.length].charCodeAt(0),o=e[r=(n+a+u)%i],e=(e=e.substr(0,r)+e[i]+e.substr(r+1)).substr(0,i)+o+e.substr(i+1);return e},i.prototype.hash=function(e,t){var n="",r=t.length;do{n=t[e%r]+n,e=parseInt(e/r,10)}while(e);return n},i.prototype.unhash=function(e,t){var n,r=0;for(n=0;n(e^(()=>{try{return crypto.getRandomValues(new Uint8Array(1))[0]}catch(e){return 255*Math.random()}})()&15>>e/4).toString(16))),l=e=>{if(0!==e.indexOf(".")){const t=/[0-9A-Za-z]+/.exec(e);return null!==t&&t[0]===e&&parseInt(e,36)}const t=e.substr(1,2);return((e,{salt:t=null}={})=>new i(t).decode(e)[0])(e.substr(3),{salt:t})},s=({legacy:e=!1}={})=>{const t={name:"bf_visit",days:1e4,domain:(0,o.O)()},n=r.A.get(t.name),{legacyIdentifier:s,identifier:c}=(e=>{const{u:t,uuid:n}=decodeURIComponent(e).split("&").map((e=>e.split("="))).reduce(((e,[t,n])=>({...e,[t]:n})),{});return{legacyIdentifier:l(t||""),identifier:n}})(n),f=(e=>{const t=parseInt(25*Math.random()+10,10).toString(36)+parseInt(25*Math.random()+10,10).toString(36);return`.${t}${((e,{salt:t=null,length:n=32}={})=>new i(t,n).encode(e))(e,{salt:t,length:0})}`})(a);return e?s||(r.A.set({...t,value:encodeURIComponent(`u=${f}&uuid=${c||u}&v=2`)}),a):c||s?c||String(s):(r.A.set({...t,value:encodeURIComponent(`u=${f}&uuid=${u}&v=2`)}),u)}},96522:(e,t,n)=>{"use strict";n.d(t,{e:()=>Q});var r=n(36567),o=n.n(r),i=n(68652),a=n.n(i),u=n(15448),l=n(11467),s=n(89280),c=n.n(s),f=n(12004),d=n.n(f),p=n(7506),m={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},h=Array.prototype.slice;function v(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:h.call(e,0):[]}function y(e,t){return e===t||e!=e&&t!=t}function g(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}var b=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:v(this.keys),size:this.size,values:v(this.values)}},enumerable:!0,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,n=t.isMatchingKey,r=t.maxSize,o=this.keys,i=o.length;if(!i)return-1;if(n(o[0],e))return 0;if(r>1)for(var a=1;a1){for(var u=0;u1){for(var i=0;i=u&&(r.length=o.length=u)},e.prototype.updateAsyncCache=function(e){var t=this,n=this.options,r=n.onCacheChange,o=n.onCacheHit,i=this.keys[0],a=this.values[0];this.values[0]=a.then((function(n){return t.shouldUpdateOnHit&&o(t,t.options,e),t.shouldUpdateOnChange&&r(t,t.options,e),n}),(function(e){var n=t.getKeyIndex(i);throw-1!==n&&(t.keys.splice(n,1),t.values.splice(n,1)),e}))},e}();const w=function e(t,n){if(void 0===n&&(n={}),function(e){return"function"==typeof e&&e.isMemoized}(t))return e(t.fn,g(t.options,n));if("function"!=typeof t)throw new TypeError("You must pass a function to `memoize`.");var r=n.isEqual,o=void 0===r?y:r,i=n.isMatchingKey,a=n.isPromise,u=void 0!==a&&a,l=n.maxSize,s=void 0===l?1:l,c=n.onCacheAdd,f=n.onCacheChange,d=n.onCacheHit,p=n.transformKey,h=g({isEqual:o,isMatchingKey:i,isPromise:u,maxSize:s,onCacheAdd:c,onCacheChange:f,onCacheHit:d,transformKey:p},function(e){var t={};for(var n in e)m[n]||(t[n]=e[n]);return t}(n)),w=new b(h),_=w.keys,x=w.values,k=w.canTransformKey,S=w.shouldCloneArguments,E=w.shouldUpdateOnAdd,P=w.shouldUpdateOnChange,T=w.shouldUpdateOnHit,O=function e(){var n=S?v(arguments):arguments;k&&(n=p(n));var r=_.length?w.getKeyIndex(n):-1;if(-1!==r)T&&d(w,h,e),r&&(w.orderByLru(_[r],x[r],r),P&&f(w,h,e));else{var o=t.apply(this,arguments),i=S?n:v(arguments);w.orderByLru(i,o,_.length),u&&w.updateAsyncCache(e),E&&c(w,h,e),P&&f(w,h,e)}return x[0]};return O.cache=w,O.fn=t,O.isMemoized=!0,O.options=h,O};function _(e){return(e+="").indexOf("#")>-1?e.substr(0,e.indexOf("#")):e}function x(e){return e=function(e){if(!function(e){return e.indexOf("?")>-1}(e))return e;var t=function(e){return(e+="").indexOf("#")>-1?e.substr(e.indexOf("#"),e.length):""}(e);return(e=_(e)).substr(0,e.indexOf("?"))+t}(e=_(e)),e}var k=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).location.hostname,t=e.split(".")[0];return t&&"stage"!==t&&-1===["buzzfeed","buzzfeednews","tasty","huffpost","huffingtonpost"].indexOf(t)&&e.split(".").length>=3&&(e=e.substring(t.length+1)),e};function S(e,t,n){var r,o,i,a,u,l,s;for(this.version="1.0.1",this.minAlphabetLength=16,this.sepDiv=3.5,this.guardDiv=12,this.errorAlphabetLength="error: alphabet must contain at least X unique characters",this.errorAlphabetSpace="error: alphabet cannot contain spaces",this.alphabet="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",this.seps="cfhistuCFHISTU",this.minHashLength=parseInt(t,10)>0?t:0,this.salt="string"==typeof e?e:"","string"==typeof n&&(this.alphabet=n),r="",o=0,a=this.alphabet.length;o!==a;o++)-1===r.indexOf(this.alphabet[o])&&(r+=this.alphabet[o]);if(this.alphabet=r,this.alphabet.lengththis.sepDiv)&&(1===(u=Math.ceil(this.alphabet.length/this.sepDiv))&&u++,u>this.seps.length?(l=u-this.seps.length,this.seps+=this.alphabet.substr(0,l),this.alphabet=this.alphabet.substr(l)):this.seps=this.seps.substr(0,u)),this.alphabet=this.consistentShuffle(this.alphabet,this.salt),s=Math.ceil(this.alphabet.length/this.guardDiv),this.alphabet.length0&&(t=t.substr(f/2,this.minHashLength));return t},S.prototype._decode=function(e,t){var n,r,o,i,a=[],u=0,l=new RegExp("["+this.guards+"]","g"),s=e.replace(l," "),c=s.split(" ");if(3!==c.length&&2!==c.length||(u=1),void 0!==(s=c[u])[0]){for(n=s[0],s=s.substr(1),l=new RegExp("["+this.seps+"]","g"),u=0,r=(c=(s=s.replace(l," ")).split(" ")).length;u!==r;u++)o=c[u],i=n+this.salt+t,t=this.consistentShuffle(t,i.substr(0,t.length)),a.push(this.unhash(o,t));this._encode(a)!==e&&(a=[])}return a},S.prototype.consistentShuffle=function(e,t){var n,r,o,i,a,u;if(!t.length)return e;for(i=e.length-1,a=0,u=0;i>0;i--,a++)u+=n=t[a%=t.length].charCodeAt(0),o=e[r=(n+a+u)%i],e=(e=e.substr(0,r)+e[i]+e.substr(r+1)).substr(0,i)+o+e.substr(i+1);return e},S.prototype.hash=function(e,t){var n="",r=t.length;do{n=t[e%r]+n,e=parseInt(e/r,10)}while(e);return n},S.prototype.unhash=function(e,t){var n,r=0;for(n=0;n1&&void 0!==arguments[1]?arguments[1]:{}).salt;return new S(void 0===t?null:t).decode(e)[0]}(e.substr(3),{salt:n})},A=function(){var e,t,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).legacy,r=void 0!==n&&n,o={name:"bf_visit",days:1e4,domain:k()},i=function(e){var t=decodeURIComponent(e).split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n=c()(t,2),r=n[0],o=n[1];return P(P({},e),{},d()({},r,o))}),{}),n=t.u,r=t.uuid;return{legacyIdentifier:C(n||""),identifier:r}}(u.A.get(o.name)),a=i.legacyIdentifier,l=i.identifier,s=(e=T,t=parseInt(25*Math.random()+10,10).toString(36)+parseInt(25*Math.random()+10,10).toString(36),".".concat(t).concat(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.salt,r=void 0===n?null:n,o=t.length;return new S(r,void 0===o?32:o).encode(e)}(e,{salt:t,length:0})));return r?a||(u.A.set(P(P({},o),{},{value:encodeURIComponent("u=".concat(s,"&uuid=").concat(l||O,"&v=2"))})),T):l||a?l||String(a):(u.A.set(P(P({},o),{},{value:encodeURIComponent("u=".concat(s,"&uuid=").concat(O,"&v=2"))})),O)};function j(e){return e+"|expiration"}var L=function(){try{return localStorage.setItem("ls_test",!0),localStorage.removeItem("ls_test"),!0}catch(e){return!1}}();const I={set:function(e){L&&void 0!==e&&(localStorage.setItem(e.key,e.value),e.expires&&localStorage.setItem(j(e.key),Date.now()+e.expires))},get:function(e){return L?function(e){var t=localStorage.getItem(j(e));return t&&t0&&void 0!==arguments[0]?arguments[0]:{},t=e.track_amp,n=void 0!==t&&t,r=z()(e,U);return n?w((function(){return{amp_id:(0,l.ZA)(r)}}),{transformKey:JSON.stringify}):{}}),{transformKey:JSON.stringify}),B=function(e){var t=e.page_edition,n=void 0===t?(0,l.gx)("page_edition"):t;return function(){return{mode:window.matchMedia("screen and (max-width:51.9rem)").matches?"mobile":"desktop",page_edition:n,viewport_size:{width:Number(window.screen.width),height:Number(window.screen.height)}}}},$=function(e){var t=e.type,n=void 0===t?(0,l.gx)("type"):t,r=e.source,o=void 0===r?(0,l.gx)("source"):r;return function(){return{type:n,source:o}}};var W=n(1859),V=n.n(W),K=["page_edition"];function G(){var e="true"===u.A.get("is_bot");if(window.location.search.includes("e2e_test"))try{return{e2e_test:new URLSearchParams(window.location.search).get("e2e_test"),is_bot:!0}}catch(e){}return e?{is_bot:!0}:{}}var Q=function(e){var t=e.amp_options,n=void 0===t?{}:t,r=e.env,i=e.source;if("undefined"==typeof window)return function(){};var u=function(e){var t=e.env,n=void 0===t?"dev":t,r=function(e){var t,n=e.debug,r=e.tracking_url,o=[],i=function(){if(o.length&&"undefined"!=typeof window){var e=JSON.stringify(o),i=document.createEvent("CustomEvent");if(i.initCustomEvent("cet-event",!1,!1,o),dispatchEvent(i),n)window.fetch("".concat(r,"/events"),{method:"POST",body:e,keepalive:!0}).then((function(e){return e.json()})).then((function(e){e.errors&&e.debug&&(console.group("%c Rejected client events ","background-color: #250201; color: #ee8783; border: 1px solid #540b06"),e.debug.forEach((function(e){return console.table(e.validation)})),console.groupEnd())})).catch((function(){var t=JSON.parse(e);console.group("%cClient Event Tracking: %crun nsq_api_public to verify events","font-weight: bold;","color: gray; font-size: .5rem;"),t.forEach((function(e){console.groupCollapsed('"%c'.concat(e.type,'"'),"font-weight: bold; font-family: monospace;"),console.table(e),console.groupEnd()})),console.groupEnd()}));else{var a;if(navigator&&navigator.sendBeacon)a=navigator.sendBeacon("".concat(r,"/events"),e);else{var u=new XMLHttpRequest;u.open("POST","".concat(r,"/events"),!1),u.onerror=function(){},u.setRequestHeader("Accept","*/*"),u.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),a=u.send(e)}!a&&window.raven&&Math.random()<.1 event tracking: sendbeacon could not process a queue. function t="(arguments.length">1&&void 0!==arguments[1]?arguments[1]:{}).flush,r=void 0!==t&&t,o=(0,l.KO)(e,{debug:F[n].debug});i(o),r&&a()}}({env:r});return function(){var e=a()(o().mark((function e(t){var a,s,c,f,d,m,h,v,y,g,b,w,_,x,k,S=arguments;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(a=t.flush,s=void 0!==a&&a,c=t.required_layers,f=void 0===c?[]:c,d=t.sample_rate,m=void 0===d?1:d,h=t.type,v=S.length,y=new Array(v>1?v-1:0),g=1;g{"use strict";n.d(t,{HI:()=>T,K3:()=>O,KO:()=>M,P3:()=>C,Pv:()=>j,ZA:()=>L,_e:()=>A,gx:()=>F});var r=n(89280),o=n.n(r),i=n(10556),a=n.n(i),u=n(58810),l=n.n(u),s=n(52170),c=n.n(s),f=n(57459),d=n.n(f),p=n(553),m=n.n(p),h=n(18706),v=n.n(h),y=n(36567),g=n.n(y),b=n(12004),w=n.n(b),_=n(68652),x=n.n(_),k=n(15448),S=n(7506);function E(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 P(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[];return e&&Array.isArray(e)?e:t},j=function(){var e=x()(g().mark((function e(t){var n,r,o,i,a,u;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.context,r=t.layers,o=void 0===r?[]:r,i={},a=0;case 3:if(!(a0&&void 0!==arguments[0]?arguments[0]:{},t=e.client_id_cookie_name,n=void 0===t?"_amp_pd":t,r=e.expires,o=void 0===r?365:r,i=k.A.get(n);if(!i){var a=window.location.hostname.split(".").splice(-2,2).join(".");i="amp-".concat((0,S.A)()),k.A.set({name:n,value:i,days:o,domain:a})}return i},I=function(e){c()(o,e);var t,n,r=(t=o,n=function(){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}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return l()(this,o),(t=r.call(this,e)).name="ClientEventSchemaLayerError",t}return a()(o)}(v()(Error)),F=function(){return new I('Missing required field: "'.concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",'"'))},M=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).debug,n=void 0!==t&&t;return Object.entries(e).filter((function(e){var t=o()(e,2)[1];return!(t instanceof I&&(n&&console.warn(t),1))})).reduce((function(e,t){var n=o()(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}},15448:(e,t,n)=>{"use strict";function r(e,t){var n=e.match(t);return n&&n.length?n[0]:null}n.d(t,{A:()=>o});const o={getBuzzfeedSubdomainOrWildcard:function(e){return r(e,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$")||r(e,".?[a-z]+.[a-z]+$")},get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="".concat(e,"=");if("undefined"==typeof document)return t;for(var r=document.cookie.split(";"),o=0;o{"use strict";n.d(t,{A:()=>r});const r=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^function(){try{return crypto.getRandomValues(new Uint8Array(1))[0]}catch(e){return 255*Math.random()}}()&15>>e/4).toString(16)}))}},35658:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{e.exports=function(e){if(Array.isArray(e))return e}},97982:(e,t,n)=>{var r=n(35658);e.exports=function(e){if(Array.isArray(e))return r(e)}},68764:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},68652:e=>{function t(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function u(e){t(a,o,i,u,l,"next",e)}function l(e){t(a,o,i,u,l,"throw",e)}u(void 0)}))}}},58810:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},18069:(e,t,n)=>{var r=n(23685),o=n(65783);function i(t,n,a){return o()?e.exports=i=Reflect.construct:e.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},i.apply(null,arguments)}e.exports=i},10556:e=>{function t(e,t){for(var n=0;n{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},553:e=>{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},52170:(e,t,n)=>{var r=n(23685);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},9049:e=>{e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},65783:e=>{e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},29900:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},6125:e=>{e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}},64819:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},10150:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},89820:(e,t,n)=>{var r=n(99144);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},99144:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},57459:(e,t,n)=>{var r=n(1263),o=n(68764);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},23685:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},89280:(e,t,n)=>{var r=n(57426),o=n(6125),i=n(6307),a=n(64819);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},1859:(e,t,n)=>{var r=n(97982),o=n(29900),i=n(6307),a=n(10150);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},1263:e=>{function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},6307:(e,t,n)=>{var r=n(35658);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},18706:(e,t,n)=>{var r=n(553),o=n(23685),i=n(9049),a=n(18069);function u(t){var n="function"==typeof Map?new Map:void 0;return e.exports=u=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},u(t)}e.exports=u},36567:(e,t,n)=>{e.exports=n(25748)},25748:e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),u=new A(r||[]);return o(a,"_invoke",{value:P(e,n,u)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",m="executing",h="completed",v={};function y(){}function g(){}function b(){}var w={};s(w,a,(function(){return this}));var _=Object.getPrototypeOf,x=_&&_(_(j([])));x&&x!==n&&r.call(x,a)&&(w=x);var k=b.prototype=y.prototype=Object.create(w);function S(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,i,a,u){var l=f(e[o],e,i);if("throw"!==l.type){var s=l.arg,c=s.value;return c&&"object"==typeof c&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(c).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function P(e,t,n){var r=d;return function(o,i){if(r===m)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=T(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=m;var l=f(e,t,n);if("normal"===l.type){if(r=n.done?h:p,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}function T(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function j(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc=0;--n){var o=this.tryEntries[n];if(o.tryLoc=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},87577:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=function(e){return e},t.defineMessages=function(e){return e}},18832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.findEditionIdFromHostname=t.ClientSafeConfig=void 0;const o=r(n(13911));t.ClientSafeConfig=o.default;const i=n(46005);Object.defineProperty(t,"findEditionIdFromHostname",{enumerable:!0,get:function(){return i.findEditionIdFromHostname}})},73436:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={}},43748:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.com.au"}},92718:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffpostbrasil.com"}},69034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.ca"}},13911:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ClientSafeEditionMap=void 0;const o=r(n(73436)),i=r(n(43748)),a=r(n(92718)),u=r(n(69034)),l=r(n(59306)),s=r(n(78354)),c=r(n(11251)),f=r(n(67957)),d=r(n(46927)),p=r(n(55816)),m=r(n(73511)),h=r(n(49622)),v=r(n(15046)),y=r(n(20360)),g=r(n(50002)),b=r(n(23962));t.ClientSafeEditionMap={au:i.default,br:a.default,ca:u.default,es:l.default,fr:s.default,gr:c.default,in:f.default,it:d.default,jp:p.default,kr:m.default,mg:h.default,qc:v.default,spoilsuk:y.default,uk:g.default,us:b.default};const w=Object.keys(t.ClientSafeEditionMap),_=Object.entries(t.ClientSafeEditionMap).reduce(((e,[t,n])=>{const r={...o.default,...n};return Object.assign(e,{[t]:r})}),{});t.default={isEditionId:function(e){return w.includes(e)},byEdition:_}},59306:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.es"}},78354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.fr"}},11251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.gr"}},67957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.in"}},46927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.it"}},55816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.jp"}},73511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.kr"}},49622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffpostmaghreb.com"}},15046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"quebec.huffingtonpost.ca"}},20360:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"thespoils.huffpost.co.uk"}},50002:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffingtonpost.co.uk"}},23962:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={hostname:"huffpost.com",additional_hostnames:["huffingtonpost.com","buzzfeed.io","huffpost.net"]}},46005:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.findEditionIdFromHostname=void 0;const o=r(n(13911)),i=Object.entries(o.default.byEdition).reduce(((e,[t,n])=>{const r=[n.hostname,...Array.isArray(n.additional_hostnames)?n.additional_hostnames:[]].map((e=>[t,e]));return e.concat(r)}),[]).sort((([e],[t])=>t.split("").reverse().join().localeCompare(e.split("").reverse().join())));t.findEditionIdFromHostname=function(e){const[t=null]=i.find((([,t])=>e.endsWith(t)))||[];return t}},80197:(e,t,n)=>{"use strict";n.r(t),n.d(t,{carmotProviderEnabled:()=>F,primeOrder:()=>I});var r=n(41705),o=n(18832),i=n(2211),a=n.n(i),u=n(21671),l=n.n(u),s=n(78071),c=n.n(s),f=n(18187),d=n.n(f),p=n(35383),m=n.n(p),h=n(5761),v=n.n(h),y=n(95285),g=n.n(y),b=n(59985),w=n.n(b),_=n(32155),x=n.n(_),k=n(88321),S=n.n(k),E=n(26819),P=n.n(E),T=n(41563),O=n.n(T),C=n(51691),A=n.n(C),j=n(55851);function L(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}var I=[n.n(j)(),c(),A(),a(),l(),d(),m(),v(),g(),w(),x(),S(),P(),O()].map((function(e){return function(e){for(var t=1;t-1}},5228:()=>{var e=["H1","H2","H3","H4","H5","H6"];window.addEventListener("hydration-complete",(function(){(function(){var t=document.querySelectorAll(".entry #newsletter-bottom"),n=document.querySelector(".js-entry-content"),r=document.querySelector("#js-newsletter-placeholder");if(n&&t.length){var o,i,a=t[0];o=r||function(e){return Array.prototype.slice.call(e.children).reduce((function(e,t){return t.classList.contains("cli-listicle")?e.concat(Array.prototype.slice.call(t.children)):(e.push(t),e)}),[])}(n).find((function(t,r){return i=n.children[r-1],t.offsetTop>=1e3&&function(t,n){return!(!t||t.lastChild&&e.includes(t.lastChild.nodeName)||[t,n].some((function(e){return e.classList.contains("js-no-inject")})))}(i,t)})),o&&o.parentElement.insertBefore(a,o)}})(),function(){var e=document.querySelectorAll(".a-page__content #newsletter-bottom .newsletter"),t=document.querySelector("#zone-twilight .zone__content");if(t&&1===e.length){var n=e[0],r=t.children[4]||null;t.insertBefore(n,r)}}(),function(){var e=document.querySelectorAll(".feature .newsletter"),t=document.querySelector(".js-entry-content"),n=document.querySelector("#js-newsletter-placeholder");if(t&&1===e.length){var r=e[0],o=n;o&&o.parentElement.insertBefore(r,o)}}()}))},12442:(e,t,n)=>{"use strict";n.d(t,{Jo:()=>i,dJ:()=>l,fO:()=>o,oM:()=>c,v3:()=>s});var r=n(80197);function o(e){if(!e)return null;var t=Array.from(e.attributes).filter((function(e){return e.name.match(/^data-vars-/)&&e.value}));if(0===t.length)return null;var n=t.map((function(e){return[e.name.match(/^data-vars-(.*)/)[1].replace(/-/g,"_"),e.value]}));return Object.fromEntries(n)}function i(e){if(!e)return null;var t=e.closest(".o2-cvs-carousel-tile");if(!t)return null;var n,r=[].slice.call(t.parentElement.children).indexOf(t),o=t.querySelector(".o2-cvs-video-thumbnail");if(o&&o.hasAttribute("style")){var i=o.getAttribute("style").match(/url\(['"](.+?)['"]\)/);i&&(n=i[1].split("/").slice(-2,-1)[0])}return{item_name:n,item_type:"card",position_in_subunit:r,target_content_id:n,target_content_type:"video",type:"web_internal_link"}}function a(e){var t=!0;return"function"==typeof window.matchMedia&&(t=window.matchMedia("(min-width: 1024px)").matches),t&&!!e.closest(".js-right-container")}function u(e,t){var n="";return t.forEach((function(t,r,o){n+="".concat(e," ").concat(t),r!==o.length-1&&(n+=", ")})),n}function l(e,t,n,r){var o,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],l=0,s="",c=i.length>0?i:[".js-card[data-vars-type]","a[data-vars-type]:not(.js-card[data-vars-type] a)","button[data-vars-type]",".js-cet-item",".js-cet-subbuzz"],f=e.closest(".js-cet-subunit");if(!f)return null;if("buzz"===t)s="sidebar"===n?"left"===r?".js-cet-unit-left":".js-cet-unit-right":"site_header"===r||"nav_bar"===n?".js-cet-unit-site-header":"top_ad"===r?".js-cet-unit-top-ad":".js-cet-unit-".concat(n);else if(a(f)||"sidebar"===n)s=".js-cet-unit-right";else if(o=!1,"function"==typeof window.matchMedia&&(o=!window.matchMedia("(min-width: 1024px)").matches),o)s=".js-cet-unit-main";else if("site_header"===r||"nav_bar"===n)s=".js-cet-unit-site-header";else if("top_ad"===r)s=".js-cet-unit-top-ad";else{var d=u(".js-cet-unit-main",c),p=u(".js-cet-unit-right",c),m=Array.from(document.querySelectorAll(d)),h=new Set(Array.from(document.querySelectorAll(p)));if((l=m.filter((function(e){return!h.has(e)})).indexOf(e))>=0)return l}return(l=Array.from(document.querySelectorAll(u(s,c))).indexOf(e))>=0?l:null}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t&&t.unit_name?t.unit_name:"main",r=t&&t.unit_type?t.unit_type:"feed";return a(e)?{unit_name:"right",unit_type:"sidebar"}:{unit_name:n,unit_type:r}}function c(e){var t,n=e&&"native"===e.type,o=e&&"linkout"===e.type&&e.url&&(e.url.startsWith("/")||r.primeOrder.some((function(t){return e.url.startsWith(t.link)}))),i=n||o,a=i?"web_internal_link":"web_external_link",u=null;i&&(u=e.url.includes("/entry/")?"buzz":"feed");try{t=i?e.url.includes("/entry/")?e.entry_id:new URL(e.url).pathname:e.url}catch(e){}return{contentType:u,contentId:t,type:a}}},55523:()=>{!function(){if(window.location.search.includes("display-consent")&&["us","uk"].includes(window.HP.params.edition)){console.log("forcing display consent");var e=setInterval((function(){window.OneTrust&&document.getElementsByClassName("onetrust-pc-dark-filter").length>0&&(window.OneTrust.ToggleInfoDisplay(),clearInterval(e))}),500)}}()},4603:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=function(){try{return new CustomEvent("test"),!0}catch(e){return!1}}();const o=function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,n=function(e,t){if(!r){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}return new CustomEvent(e,{detail:t})}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return t.dispatchEvent(n)}},8388:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(61790),o=n.n(r),i=n(41705),a=n(45841),u=n(40694),l=n(48183),s=n(92099),c=n(72367),f=n(50171),d=n(42912),p=n(74572),m=n(91576);function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function v(e){var t="function"==typeof Map?new Map:void 0;return v=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,m.A)(o,n.prototype),o}(e,arguments,(0,p.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,m.A)(n,e)},v(e)}var y=n(14639);function g(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 b(e){for(var t=1;t1&&void 0!==v[1]?v[1]:{},i=(r=v.length>2&&void 0!==v[2]?v[2]:{}).method,a=void 0===i?"POST":i,u=r.anonymous,l=void 0===u?"disallow":u,s=!document.cookie.includes("hp-auth-session=")&&!document.cookie.includes("hp-authd="),c=document.cookie.includes("fp.auth"),"allow"===l||!s){e.next=9;break}return console.warn("Warning: mapi request with path ".concat(t," not being sent")),c&&(document.cookie="fp.auth= ; expires = Thu, 01 Jan 1970 00:00:00 GMT"),e.abrupt("return",null);case 9:return t=0===t.indexOf("/")?t.slice(1):t,f=n.edition?n.edition:"us",d={credentials:"include",headers:{Accept:"application/json"}},n.body&&(d.method=a,d.headers["Content-Type"]="application/json",d.body=JSON.stringify(n.body)),p=(0,y.A)(b({device:"desktop"},n.queryParams)),e.next=16,fetch("https://".concat(k,"/mapi/v4/").concat(f,"/").concat(t,"?").concat(p),d);case 16:if(!(m=e.sent).ok){e.next=19;break}return e.abrupt("return",m.json());case 19:return e.prev=19,e.next=22,m.json();case 22:h=e.sent,e.next=27;break;case 25:e.prev=25,e.t0=e.catch(19);case 27:throw new x(m,h);case 28:case"end":return e.stop()}}),e,null,[[19,25]])}))),E.apply(this,arguments)}},46171:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r,o=n(8388);function i(){return r||(r=(0,o.A)("user/profile").then((function(e){return e.profile})).catch((function(){return null}))),r}},37381:()=>{var e=window.HP.params.isEntry,t=e&&document.querySelector(".js-main-content-list");if(e&&t){var n=/xid:\{xid\}/gi,r=Array.from(t.querySelectorAll("a")).filter((function(e){return decodeURIComponent(e.getAttribute("href")).match(n)}));r.length&&r.forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();try{var r=e.href,o=decodeURIComponent(r).replace(n,"xid:".concat((i=Date.now(),a=String.fromCharCode(Math.floor(26*Math.random())+97),u=String.fromCharCode(Math.floor(26*Math.random())+97),l=String.fromCharCode(Math.floor(26*Math.random())+97),"fr".concat(i).concat(a).concat(u).concat(l))));window.open(o,"_blank")}catch(t){console.error("XID Replace Error:",t),window.open(e.href,"_blank")}var i,a,u,l}))}))}},27013:()=>{var e=document.querySelector(".js-site-header-fixed"),t=document.querySelector(".right-rail-sticky"),n=t&&t.closest(".rail"),r=document.body.classList.contains("entry")?30:0,o=document.querySelector(".js-main-content-list"),i=document.querySelector(".js-main-content-list .cli-slideshow"),a=document.querySelector(".js-zone-twilight"),u=HP&&HP.params&&HP.params.features&&HP.params.features.rightRailSticky&&"us"!==HP.params.edition;t&&n&&u&&(document.addEventListener("scroll",(function(){var u,l,s=n.getBoundingClientRect();if(i){var c=i.getBoundingClientRect(),f=o.getBoundingClientRect();u=c.top,l=s.height-(c.top-f.top)}else if(o){var d=o.getBoundingClientRect();u=d.bottom,l=s.height-d.height}else a&&(u=a.getBoundingClientRect().bottom,l=0);var p=78;if(e){var m=e.getBoundingClientRect();p=m.top+m.height}var h=s.top{"use strict";n.d(t,{A:()=>f});var r=function(){try{var e="test";return window.sessionStorage.setItem(e,"1"),window.sessionStorage.removeItem(e),window.sessionStorage}catch(e){return null}}(),o=!!r;function i(){}var a=i,u=i,l=i,s=i,c=function(){return!1};o&&(u=function(e,t){try{r.setItem(e,(n=t,JSON.stringify(n)))}catch(e){}var n},l=function(e){r.removeItem(e)},s=function(){r.clear()},c=function(e){return!!r.getItem(e)},(a=function(e){return function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}}(r.getItem(e))})("lastPurge"){document.querySelector("body.entry")&&document.querySelector(".rail--left")&&document.addEventListener("scroll",(function(){var e=document.querySelector(".rail--left"),t=e.querySelector(".share-bar--side"),n=document.querySelector(".advertisement.ad-leaderboard-flex.treated"),r=document.querySelector(".entry-head-container"),o=document.body.classList.contains("video"),i=o?document.querySelector(".js-video-entry-content"):document.querySelector(".js-main-content-list");if(e&&t){var a=n?n.offsetHeight:0,u=o?0:.5*(a+r.offsetHeight),l=t.getBoundingClientRect(),s=i.getBoundingClientRect();window.scrollY>=u&&l.bottom{window.__SPOTIM_SPOTLIGHT_GO_TO_COMMENTS__=function(){window.document.dispatchEvent(new Event("open-comments"))}},19095:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=function(){try{var e="test";return window.localStorage.setItem(e,"1"),window.localStorage.removeItem(e),window.localStorage}catch(e){return null}}(),o=!!r;function i(){}var a=i,u=i,l=i,s=i,c=function(){return!1};o&&(a=function(e){return function(e){if("string"==typeof e)try{return JSON.parse(e)}catch(t){return e||void 0}}(r.getItem(e))},u=function(e,t){try{r.setItem(e,(n=t,JSON.stringify(n)))}catch(e){}var n},l=function(e){r.removeItem(e)},s=function(){r.clear()},c=function(e){return void 0!==r.getItem(e)});const f={enabled:o,get:a,set:u,remove:l,clear:s,has:c}},14639:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return Object.keys(e).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")}},12319:()=>{window.HUFFPOST.YouTubeIframeAPIReady=new Promise((function(e){window.onYouTubeIframeAPIReady=function(){return e()}}))},58486:(e,t,n)=>{"use strict";var r=n(84271),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var u=l(t),h=l(n),v=0;v{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(e,t){return void 0===t&&(t={}),function(){for(var n,r=[],o=0;o{"use strict";function r(e,t){if("undefined"==typeof Intl)return!1;if(!e)throw new Error("locales must be supplied.");Array.isArray(e)||(e=[e]);var n=t||[Intl.DateTimeFormat,Intl.NumberFormat,Intl.PluralRules];return!(0===(n=n.filter(Boolean)).length||t&&n.length!==t.length)&&n.every((function(t){return t.supportedLocalesOf(e).length===e.length}))}n.r(t),n.d(t,{default:()=>r})},77725:(e,t,n)=>{"use strict";var r;function o(e){return e.type===r.literal}function i(e){return e.type===r.argument}function a(e){return e.type===r.number}function u(e){return e.type===r.date}function l(e){return e.type===r.time}function s(e){return e.type===r.select}function c(e){return e.type===r.plural}function f(e){return!(!e||"object"!=typeof e||0!==e.type)}function d(e){return!(!e||"object"!=typeof e||1!==e.type)}n.r(t),n.d(t,{IntlMessageFormat:()=>Z,createDefaultFormatters:()=>J,default:()=>Y,formatHTMLMessage:()=>G,formatToParts:()=>R,formatToString:()=>H}),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural"}(r||(r={}));var p,m=(p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},p(e,t)},function(e,t){function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(){return h=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){for(t=1,n=1;tKe&&(Ke=$e,Ge=[]),Ge.push(e))}function it(){return at()}function at(){var e,t;for(e=[],t=ut();t!==u;)e.push(t),t=ut();return e}function ut(){var t;return(t=function(){var e,t;return e=$e,(t=lt())!==u&&(We=e,t=f(t)),e=t}())===u&&(t=function(){var t,n,r,o;return Qe++,t=$e,123===e.charCodeAt($e)?(n=p,$e++):(n=u,0===Qe&&ot(m)),n!==u&&gt()!==u&&(r=kt())!==u&&gt()!==u?(125===e.charCodeAt($e)?(o=y,$e++):(o=u,0===Qe&&ot(g)),o!==u?(We=t,t=n=b(r)):($e=t,t=u)):($e=t,t=u),Qe--,t===u&&(n=u,0===Qe&&ot(d)),t}())===u&&(t=function(){var t;return(t=function(){var t,n,r,o,i,a,l,s,c;return t=$e,123===e.charCodeAt($e)?(n=p,$e++):(n=u,0===Qe&&ot(m)),n!==u&&gt()!==u&&(r=kt())!==u&&gt()!==u?(44===e.charCodeAt($e)?(o=M,$e++):(o=u,0===Qe&&ot(N)),o!==u&&gt()!==u?(e.substr($e,6)===D?(i=D,$e+=6):(i=u,0===Qe&&ot(R)),i!==u&&gt()!==u?(a=$e,44===e.charCodeAt($e)?(l=M,$e++):(l=u,0===Qe&&ot(N)),l!==u&&(s=gt())!==u?(c=function(){var t,n,r;return t=$e,e.substr($e,2)===j?(n=j,$e+=2):(n=u,0===Qe&&ot(L)),n!==u?(r=function(){var e,t,n;if(e=$e,t=[],(n=ft())!==u)for(;n!==u;)t.push(n),n=ft();else t=u;return t!==u&&(We=e,t=A(t)),e=t}(),r!==u?(We=t,t=n=I(r)):($e=t,t=u)):($e=t,t=u),t===u&&(t=$e,(n=lt())!==u&&(We=t,n=F(n)),t=n),t}(),c!==u?a=l=[l,s,c]:($e=a,a=u)):($e=a,a=u),a===u&&(a=null),a!==u&&(l=gt())!==u?(125===e.charCodeAt($e)?(s=y,$e++):(s=u,0===Qe&&ot(g)),s!==u?(We=t,t=n=H(r,i,a)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u),t}())===u&&(t=function(){var t,n,r,o,i,a,l,s,c;return t=$e,123===e.charCodeAt($e)?(n=p,$e++):(n=u,0===Qe&&ot(m)),n!==u&&gt()!==u&&(r=kt())!==u&&gt()!==u?(44===e.charCodeAt($e)?(o=M,$e++):(o=u,0===Qe&&ot(N)),o!==u&&gt()!==u?(e.substr($e,4)===Q?(i=Q,$e+=4):(i=u,0===Qe&&ot(J)),i===u&&(e.substr($e,4)===Z?(i=Z,$e+=4):(i=u,0===Qe&&ot(Y))),i!==u&&gt()!==u?(a=$e,44===e.charCodeAt($e)?(l=M,$e++):(l=u,0===Qe&&ot(N)),l!==u&&(s=gt())!==u?(c=function(){var t,n,r;return t=$e,e.substr($e,2)===j?(n=j,$e+=2):(n=u,0===Qe&&ot(L)),n!==u?(r=function(){var t,n,r,o;if(t=$e,n=$e,r=[],(o=dt())===u&&(o=pt()),o!==u)for(;o!==u;)r.push(o),(o=dt())===u&&(o=pt());else r=u;return(n=r!==u?e.substring(n,$e):r)!==u&&(We=t,n=G(n)),t=n}(),r!==u?(We=t,t=n=I(r)):($e=t,t=u)):($e=t,t=u),t===u&&(t=$e,(n=lt())!==u&&(We=t,n=F(n)),t=n),t}(),c!==u?a=l=[l,s,c]:($e=a,a=u)):($e=a,a=u),a===u&&(a=null),a!==u&&(l=gt())!==u?(125===e.charCodeAt($e)?(s=y,$e++):(s=u,0===Qe&&ot(g)),s!==u?(We=t,t=n=H(r,i,a)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u),t}()),t}())===u&&(t=function(){var t,n,r,o,i,a,l,s,c,f,d;if(t=$e,123===e.charCodeAt($e)?(n=p,$e++):(n=u,0===Qe&&ot(m)),n!==u)if(gt()!==u)if((r=kt())!==u)if(gt()!==u)if(44===e.charCodeAt($e)?(o=M,$e++):(o=u,0===Qe&&ot(N)),o!==u)if(gt()!==u)if(e.substr($e,6)===X?(i=X,$e+=6):(i=u,0===Qe&&ot(ee)),i===u&&(e.substr($e,13)===te?(i=te,$e+=13):(i=u,0===Qe&&ot(ne))),i!==u)if(gt()!==u)if(44===e.charCodeAt($e)?(a=M,$e++):(a=u,0===Qe&&ot(N)),a!==u)if(gt()!==u)if(l=$e,e.substr($e,7)===re?(s=re,$e+=7):(s=u,0===Qe&&ot(oe)),s!==u&&(c=gt())!==u&&(f=bt())!==u?l=s=[s,c,f]:($e=l,l=u),l===u&&(l=null),l!==u)if((s=gt())!==u){if(c=[],(f=ht())!==u)for(;f!==u;)c.push(f),f=ht();else c=u;c!==u&&(f=gt())!==u?(125===e.charCodeAt($e)?(d=y,$e++):(d=u,0===Qe&&ot(g)),d!==u?(We=t,t=n=ie(r,i,l,c)):($e=t,t=u)):($e=t,t=u)}else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;return t}())===u&&(t=function(){var t,n,r,o,i,a,l,s,c;if(t=$e,123===e.charCodeAt($e)?(n=p,$e++):(n=u,0===Qe&&ot(m)),n!==u)if(gt()!==u)if((r=kt())!==u)if(gt()!==u)if(44===e.charCodeAt($e)?(o=M,$e++):(o=u,0===Qe&&ot(N)),o!==u)if(gt()!==u)if(e.substr($e,6)===ae?(i=ae,$e+=6):(i=u,0===Qe&&ot(ue)),i!==u)if(gt()!==u)if(44===e.charCodeAt($e)?(a=M,$e++):(a=u,0===Qe&&ot(N)),a!==u)if(gt()!==u){if(l=[],(s=mt())!==u)for(;s!==u;)l.push(s),s=mt();else l=u;l!==u&&(s=gt())!==u?(125===e.charCodeAt($e)?(c=y,$e++):(c=u,0===Qe&&ot(g)),c!==u?(We=t,t=n=le(r,l)):($e=t,t=u)):($e=t,t=u)}else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;else $e=t,t=u;return t}()),t}function lt(){var e,t,n;if(e=$e,t=[],(n=wt())===u&&(n=_t())===u&&(n=xt()),n!==u)for(;n!==u;)t.push(n),(n=wt())===u&&(n=_t())===u&&(n=xt());else t=u;return t!==u&&(We=e,t=c(t)),t}function st(){var t,n,r,o,i;if(Qe++,t=$e,n=[],r=$e,o=$e,Qe++,(i=vt())===u&&(_.test(e.charAt($e))?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(x))),Qe--,i===u?o=void 0:($e=o,o=u),o!==u?(e.length>$e?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(k)),i!==u?r=o=[o,i]:($e=r,r=u)):($e=r,r=u),r!==u)for(;r!==u;)n.push(r),r=$e,o=$e,Qe++,(i=vt())===u&&(_.test(e.charAt($e))?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(x))),Qe--,i===u?o=void 0:($e=o,o=u),o!==u?(e.length>$e?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(k)),i!==u?r=o=[o,i]:($e=r,r=u)):($e=r,r=u);else n=u;return t=n!==u?e.substring(t,$e):n,Qe--,t===u&&(n=u,0===Qe&&ot(w)),t}function ct(){var t,n,r;return Qe++,t=$e,47===e.charCodeAt($e)?(n=E,$e++):(n=u,0===Qe&&ot(P)),n!==u&&(r=st())!==u?(We=t,t=n=T(r)):($e=t,t=u),Qe--,t===u&&(n=u,0===Qe&&ot(S)),t}function ft(){var e,t,n,r;if(Qe++,e=$e,gt()!==u)if((t=st())!==u){for(n=[],r=ct();r!==u;)n.push(r),r=ct();n!==u?(We=e,e=C(t,n)):($e=e,e=u)}else $e=e,e=u;else $e=e,e=u;return Qe--,e===u&&0===Qe&&ot(O),e}function dt(){var t,n,r,o;if(t=$e,39===e.charCodeAt($e)?(n=z,$e++):(n=u,0===Qe&&ot(U)),n!==u){if(r=[],(o=wt())===u&&(q.test(e.charAt($e))?(o=e.charAt($e),$e++):(o=u,0===Qe&&ot(B))),o!==u)for(;o!==u;)r.push(o),(o=wt())===u&&(q.test(e.charAt($e))?(o=e.charAt($e),$e++):(o=u,0===Qe&&ot(B)));else r=u;r!==u?(39===e.charCodeAt($e)?(o=z,$e++):(o=u,0===Qe&&ot(U)),o!==u?t=n=[n,r,o]:($e=t,t=u)):($e=t,t=u)}else $e=t,t=u;if(t===u)if(t=[],(n=wt())===u&&($.test(e.charAt($e))?(n=e.charAt($e),$e++):(n=u,0===Qe&&ot(W))),n!==u)for(;n!==u;)t.push(n),(n=wt())===u&&($.test(e.charAt($e))?(n=e.charAt($e),$e++):(n=u,0===Qe&&ot(W)));else t=u;return t}function pt(){var t,n;if(t=[],V.test(e.charAt($e))?(n=e.charAt($e),$e++):(n=u,0===Qe&&ot(K)),n!==u)for(;n!==u;)t.push(n),V.test(e.charAt($e))?(n=e.charAt($e),$e++):(n=u,0===Qe&&ot(K));else t=u;return t}function mt(){var t,n,r,o,i;return t=$e,gt()!==u&&(n=Et())!==u&&gt()!==u?(123===e.charCodeAt($e)?(r=p,$e++):(r=u,0===Qe&&ot(m)),r!==u&&(o=at())!==u?(125===e.charCodeAt($e)?(i=y,$e++):(i=u,0===Qe&&ot(g)),i!==u?(We=t,t=fe(n,o)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u),t}function ht(){var t,n,r,o,i;return t=$e,gt()!==u?(n=function(){var t,n,r,o;return t=$e,n=$e,61===e.charCodeAt($e)?(r=se,$e++):(r=u,0===Qe&&ot(ce)),r!==u&&(o=bt())!==u?n=r=[r,o]:($e=n,n=u),(t=n!==u?e.substring(t,$e):n)===u&&(t=Et()),t}(),n!==u&&gt()!==u?(123===e.charCodeAt($e)?(r=p,$e++):(r=u,0===Qe&&ot(m)),r!==u&&(o=at())!==u?(125===e.charCodeAt($e)?(i=y,$e++):(i=u,0===Qe&&ot(g)),i!==u?(We=t,t=de(n,o)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u)):($e=t,t=u),t}function vt(){var t;return Qe++,me.test(e.charAt($e))?(t=e.charAt($e),$e++):(t=u,0===Qe&&ot(he)),Qe--,t===u&&0===Qe&&ot(pe),t}function yt(){var t;return Qe++,ye.test(e.charAt($e))?(t=e.charAt($e),$e++):(t=u,0===Qe&&ot(ge)),Qe--,t===u&&0===Qe&&ot(ve),t}function gt(){var t,n,r;for(Qe++,t=$e,n=[],r=vt();r!==u;)n.push(r),r=vt();return t=n!==u?e.substring(t,$e):n,Qe--,t===u&&(n=u,0===Qe&&ot(be)),t}function bt(){var t,n,r;return Qe++,t=$e,45===e.charCodeAt($e)?(n=_e,$e++):(n=u,0===Qe&&ot(xe)),n===u&&(n=null),n!==u&&(r=St())!==u?(We=t,t=n=ke(n,r)):($e=t,t=u),Qe--,t===u&&(n=u,0===Qe&&ot(we)),t}function wt(){var t,n;return Qe++,t=$e,e.substr($e,2)===Ee?(n=Ee,$e+=2):(n=u,0===Qe&&ot(Pe)),n!==u&&(We=t,n=Te()),Qe--,(t=n)===u&&(n=u,0===Qe&&ot(Se)),t}function _t(){var t,n,r,o,i,a;if(t=$e,39===e.charCodeAt($e)?(n=z,$e++):(n=u,0===Qe&&ot(U)),n!==u)if(Oe.test(e.charAt($e))?(r=e.charAt($e),$e++):(r=u,0===Qe&&ot(Ce)),r!==u){for(o=$e,i=[],e.substr($e,2)===Ee?(a=Ee,$e+=2):(a=u,0===Qe&&ot(Pe)),a===u&&(q.test(e.charAt($e))?(a=e.charAt($e),$e++):(a=u,0===Qe&&ot(B)));a!==u;)i.push(a),e.substr($e,2)===Ee?(a=Ee,$e+=2):(a=u,0===Qe&&ot(Pe)),a===u&&(q.test(e.charAt($e))?(a=e.charAt($e),$e++):(a=u,0===Qe&&ot(B)));(o=i!==u?e.substring(o,$e):i)!==u?(39===e.charCodeAt($e)?(i=z,$e++):(i=u,0===Qe&&ot(U)),i!==u?(We=t,t=n=Ae(r,o)):($e=t,t=u)):($e=t,t=u)}else $e=t,t=u;else $e=t,t=u;return t}function xt(){var t,n;return t=$e,je.test(e.charAt($e))?(n=e.charAt($e),$e++):(n=u,0===Qe&&ot(Le)),n!==u?e.substring(t,$e):n}function kt(){var t,n;return Qe++,t=$e,(n=St())===u&&(n=Et()),t=n!==u?e.substring(t,$e):n,Qe--,t===u&&(n=u,0===Qe&&ot(Ie)),t}function St(){var t,n,r,o,i;if(Qe++,t=$e,48===e.charCodeAt($e)?(n=Me,$e++):(n=u,0===Qe&&ot(Ne)),n!==u&&(We=t,n=De()),(t=n)===u){if(t=$e,n=$e,Re.test(e.charAt($e))?(r=e.charAt($e),$e++):(r=u,0===Qe&&ot(He)),r!==u){for(o=[],ze.test(e.charAt($e))?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(Ue));i!==u;)o.push(i),ze.test(e.charAt($e))?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(Ue));o!==u?n=r=[r,o]:($e=n,n=u)}else $e=n,n=u;n!==u&&(We=t,n=qe(n)),t=n}return Qe--,t===u&&(n=u,0===Qe&&ot(Fe)),t}function Et(){var t,n,r,o,i;if(Qe++,t=$e,n=[],r=$e,o=$e,Qe++,(i=vt())===u&&(i=yt()),Qe--,i===u?o=void 0:($e=o,o=u),o!==u?(e.length>$e?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(k)),i!==u?r=o=[o,i]:($e=r,r=u)):($e=r,r=u),r!==u)for(;r!==u;)n.push(r),r=$e,o=$e,Qe++,(i=vt())===u&&(i=yt()),Qe--,i===u?o=void 0:($e=o,o=u),o!==u?(e.length>$e?(i=e.charAt($e),$e++):(i=u,0===Qe&&ot(k)),i!==u?r=o=[o,i]:($e=r,r=u)):($e=r,r=u);else n=u;return t=n!==u?e.substring(t,$e):n,Qe--,t===u&&(n=u,0===Qe&&ot(Be)),t}function Pt(){return t&&t.captureLocation?{location:Ze()}:{}}if((n=s())!==u&&$e===e.length)return n;throw n!==u&&$e1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(P,(function(e,n,r){return"."===e?t.maximumFractionDigits=0:"+"===r?t.minimumFractionDigits=r.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"==typeof r?r.length:0)),""})),o.options.length&&(t=k(k({},t),O(o.options[0])))}else if(T.test(o.stem))t=k(k({},t),O(o.stem));else{var i=C(o.stem);i&&(t=k(k({},t),i))}}return t}var L,I=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),F=function(){for(var e=0,t=0,n=arguments.length;t(.*?))|()/,W=Date.now()+"@@",V=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function K(e,t,n){var r=e.tagName,o=e.outerHTML,i=e.textContent,a=e.childNodes;if(!r)return B(i||"",t);r=r.toLowerCase();var u=~V.indexOf(r),l=n[r];if(l&&u)throw new D(r+" is a self-closing tag and can not be used, please use another tag name.");if(!a.length)return[o];var s=Array.prototype.slice.call(a).reduce((function(e,r){return e.concat(K(r,t,n))}),[]);return l?"function"==typeof l?[l.apply(void 0,s)]:[l]:F([""],s,[""+r+">"])}function G(e,t,n,r,o,i){var a=R(e,t,n,r,o,void 0,i),u={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++q;return u[n]=t.value,e+""+z+n+z}),"");if(!$.test(l))return B(l,u);if(!o)throw new D("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new D("Cannot format XML message without DOMParser");L||(L=new DOMParser);var s=L.parseFromString(''+l+"","text/html").getElementById(W);if(!s)throw new D("Malformed HTML message "+l);var c=Object.keys(o).filter((function(e){return!!s.getElementsByTagName(e).length}));if(!c.length)return B(l,u);var f=c.filter((function(e){return e!==e.toLowerCase()}));if(f.length)throw new D("HTML tag must be lowercased but the following tags are not: "+f.join(", "));return Array.prototype.slice.call(s.childNodes).reduce((function(e,t){return e.concat(K(t,u,o))}),[])}var Q=function(){return Q=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,u],c=0;(l=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},2211:e=>{const t=[{id:"au",name:"Australia",active:!1,isHuffPostMainSite:!0,locale:"en_AU",link:"https://www.huffingtonpost.com.au"}];e.exports=t.length{const t=[{id:"br",name:"Brazil",active:!1,isHuffPostMainSite:!0,locale:"pt_BR",link:"https://www.huffpostbrasil.com"}];e.exports=t.length{const t=[{id:"ca",name:"Canada",active:!1,isHuffPostMainSite:!0,locale:"en_CA",link:"https://www.huffingtonpost.ca"}];e.exports=t.length{const t=[{id:"es",name:"Espaa",active:!0,isHuffPostMainSite:!0,locale:"es_ES",link:"https://www.huffingtonpost.es"}];e.exports=t.length{const t=[{id:"fr",name:"France",active:!0,isHuffPostMainSite:!0,locale:"fr_FR",link:"https://www.huffingtonpost.fr"}];e.exports=t.length{const t=[{id:"gr",name:" (Greece)",active:!0,isHuffPostMainSite:!0,locale:"el_GR",link:"https://www.huffingtonpost.gr"}];e.exports=t.length{const t=[{id:"in",name:"India",active:!1,isHuffPostMainSite:!0,locale:"en_IN",link:"https://www.huffingtonpost.in"}];e.exports=t.length{const t=[{id:"it",name:"Italia",active:!0,isHuffPostMainSite:!0,locale:"it_IT",link:"https://www.huffingtonpost.it"}];e.exports=t.length{const t=[{id:"jp",name:" (Japan)",active:!0,isHuffPostMainSite:!0,locale:"ja_JP",link:"https://www.huffingtonpost.jp",omitAppsCTA:!0}];e.exports=t.length{const t=[{id:"kr",name:" (Korea)",active:!0,isHuffPostMainSite:!0,locale:"ko_KR",link:"https://www.huffingtonpost.kr"}];e.exports=t.length{const t=[{id:"qc",name:"Qubec",active:!1,isHuffPostMainSite:!0,locale:"fr_CA",link:"https://quebec.huffingtonpost.ca"}];e.exports=t.length{const t=[{id:"spoilsuk",name:"The Spoils U.K.",active:!0,locale:"en_GB",link:"https://thespoils.huffpost.co.uk"}];e.exports=t.length{const t=[{id:"uk",name:"U.K.",active:!0,isHuffPostMainSite:!0,locale:"en_GB",link:"https://www.huffingtonpost.co.uk"}];e.exports=t.length{const t=[{id:"us",name:"U.S.",active:!0,isHuffPostMainSite:!0,locale:"en_US",link:"https://action.news"}];e.exports=t.length{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n{"use strict";var r=n(63696),o=n(21664),i=n(91434);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rthis.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ce,e.release=fe}o(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ue)},persist:function(){this.isPersistent=ue},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,de(n),n},de(se);var pe=se.extend({data:null}),me=se.extend({data:null}),he=[9,13,27,32],ve=V&&"CompositionEvent"in window,ye=null;V&&"documentMode"in document&&(ye=document.documentMode);var ge=V&&"TextEvent"in window&&!ye,be=V&&(!ve||ye&&8=ye),we=String.fromCharCode(32),_e={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function ke(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ee=!1,Pe={eventTypes:_e,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ve)e:{switch(e){case"compositionstart":o=_e.compositionStart;break e;case"compositionend":o=_e.compositionEnd;break e;case"compositionupdate":o=_e.compositionUpdate;break e}o=void 0}else Ee?ke(e,n)&&(o=_e.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=_e.compositionStart);return o?(be&&"ko"!==n.locale&&(Ee||o!==_e.compositionStart?o===_e.compositionEnd&&Ee&&(i=ae()):(oe="value"in(re=r)?re.value:re.textContent,Ee=!0)),o=pe.getPooled(o,t,n,r),(i||null!==(i=Se(n)))&&(o.data=i),W(o),i=o):i=null,(e=ge?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(xe=!0,we);case"textInput":return(e=t.data)===we&&xe?null:e;default:return null}}(e,n):function(e,t){if(Ee)return"compositionend"===e||!ve&&ke(e,t)?(e=ae(),ie=oe=re=null,Ee=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1

component higher in the tree to provide a loading indicator or placeholder to display."+st(c))}Ia=!0,f=aa(f,c),l=s;do{switch(l.tag){case 3:l.effectTag|=2048,l.expirationTime=u,ea(l,u=xa(l,f,u));break e;case 1:if(p=f,m=l.type,c=l.stateNode,!(64&l.effectTag||"function"!=typeof m.getDerivedStateFromError&&(null===c||"function"!=typeof c.componentDidCatch||null!==Ha&&Ha.has(c)))){l.effectTag|=2048,l.expirationTime=u,ea(l,u=ka(l,p,u));break e}}l=l.return}while(null!==l)}Ca=Ka(i);continue}o=!0,Nu(t)}}break}if(Oa=!1,Ea.current=n,Hi=Ri=Di=null,ei(),o)Aa=null,e.finishedWork=null;else if(null!==Ca)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&a("281"),Aa=null,Ia){if(o=e.latestPendingTime,i=e.latestSuspendedTime,u=e.latestPingedTime,0!==o&&ot?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Ja(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ha||!Ha.has(r)))return Xi(n,e=ka(n,e=aa(t,e),1073741823)),void tu(n,1073741823);break;case 3:return Xi(n,e=xa(n,e=aa(t,e),1073741823)),void tu(n,1073741823)}n=n.return}3===e.tag&&(Xi(e,n=xa(e,n=aa(t,e),1073741823)),tu(e,1073741823))}function Za(e,t){var n=i.unstable_getCurrentPriorityLevel(),r=void 0;if(1&t.mode)if(Oa&&!Ma)r=ja;else{switch(n){case i.unstable_ImmediatePriority:r=1073741823;break;case i.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:r=1;break;default:a("313")}null!==Aa&&r===ja&&--r}else r=1073741823;return n===i.unstable_UserBlockingPriority&&(0===cu||r=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),oo(n,e),0!==(n=e.expirationTime)&&Tu(e,n)))}function Xa(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=eu(e,t=Za(t=Pu(),e)))&&(to(e,t),0!==(t=e.expirationTime)&&Tu(e,t))}function eu(e,t){e.expirationTimeja&&za(),to(e,t),Oa&&!Ma&&Aa===e||Tu(e,e.expirationTime),wu>bu&&(wu=0,a("185")))}function nu(e,t,n,r,o){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){return e(t,n,r,o)}))}var ru=null,ou=null,iu=0,au=void 0,uu=!1,lu=null,su=0,cu=0,fu=!1,du=null,pu=!1,mu=!1,hu=null,vu=i.unstable_now(),yu=1073741822-(vu/10|0),gu=yu,bu=50,wu=0,_u=null;function xu(){yu=1073741822-((i.unstable_now()-vu)/10|0)}function ku(e,t){if(0!==iu){if(te.expirationTime&&(e.expirationTime=t),uu||(pu?mu&&(lu=e,su=1073741823,Fu(e,1073741823,!1)):1073741823===t?Lu(1073741823,!1):ku(e,t))}function Ou(){var e=0,t=null;if(null!==ou)for(var n=ou,r=ru;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===ou)&&a("244"),r===r.nextScheduledRoot){ru=ou=r.nextScheduledRoot=null;break}if(r===ru)ru=o=r.nextScheduledRoot,ou.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===ou){(ou=n).nextScheduledRoot=ru,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===ou)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}lu=t,su=e}var Cu=!1;function Au(){return!!Cu||!!i.unstable_shouldYield()&&(Cu=!0)}function ju(){try{if(!Au()&&null!==ru){xu();var e=ru;do{var t=e.expirationTime;0!==t&&yusu);)Fu(lu,su,yu>su),Ou(),xu(),gu=yu;else for(;null!==lu&&0!==su&&e=n&&(null===hu?hu=[r]:hu.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===_u?wu++:(_u=e,wu=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){Va(e,t)}))}function Nu(e){null===lu&&a("246"),lu.expirationTime=0,fu||(fu=!0,du=e)}function Du(e,t){var n=pu;pu=!0;try{return e(t)}finally{(pu=n)||uu||Lu(1073741823,!1)}}function Ru(e,t){if(pu&&!mu){mu=!0;try{return e(t)}finally{mu=!1}}return e(t)}function Hu(e,t,n){pu||uu||0===cu||(Lu(cu,!1),cu=0);var r=pu;pu=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,(function(){return e(t,n)}))}finally{(pu=r)||uu||Lu(1073741823,!1)}}function zu(e,t,n,r,o){var i=t.current;e:if(n){t:{2===nn(n=n._reactInternalFiber)&&1===n.tag||a("170");var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Nr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);a("171"),u=void 0}if(1===n.tag){var l=n.type;if(Nr(l)){n=zr(n,l,u);break e}}n=u}else n=jr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Zi(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Wa(),Xi(i,o),tu(i,r),r}function Uu(e,t,n,r){var o=t.current;return zu(e,t,n,o=Za(Pu(),o),r)}function qu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Bu(e){var t=1073741822-25*(1+((1073741822-Pu()+500)/25|0));t>=Ta&&(t=Ta-1),this._expirationTime=Ta=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function $u(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Wu(e,t,n){e={current:t=Kr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Vu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ku(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=qu(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Wu(e,!1,t)}(n,r),"function"==typeof o){var u=o;o=function(){var e=qu(i._internalRoot);u.call(e)}}Ru((function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}))}return qu(i._internalRoot)}function Gu(e,t){var n=2=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ie=Du,Fe=Hu,Me=function(){uu||0===cu||(Lu(cu,!1),cu=0)};var Qu={createPortal:Gu,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?a("188"):a("268",Object.keys(e))),null===(e=on(t))?null:e.stateNode},hydrate:function(e,t,n){return Vu(t)||a("200"),Ku(null,e,t,!0,n)},render:function(e,t,n){return Vu(t)||a("200"),Ku(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return Vu(n)||a("200"),(null==e||void 0===e._reactInternalFiber)&&a("38"),Ku(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Vu(e)||a("40"),!!e._reactRootContainer&&(Ru((function(){Ku(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return Gu.apply(void 0,arguments)},unstable_batchedUpdates:Du,unstable_interactiveUpdates:Hu,flushSync:function(e,t){uu&&a("187");var n=pu;pu=!0;try{return nu(e,t)}finally{pu=n,Lu(1073741823,!1)}},unstable_createRoot:function(e,t){return Vu(e)||a("299","unstable_createRoot"),new Wu(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=pu;pu=!0;try{nu(e)}finally{(pu=t)||uu||Lu(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[D,R,H,A.injectEventPluginsByName,b,W,function(e){T(e,$)},je,Le,Cn,L]}};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Br=Wr((function(e){return t.onCommitFiberRoot(n,e)})),$r=Wr((function(e){return t.onCommitFiberUnmount(n,e)}))}catch(e){}}(o({},e,{overrideProps:null,currentDispatcherRef:We.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}({findFiberByHostInstance:N,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"});var Ju={default:Qu},Zu=Ju&&Qu||Ju;e.exports=Zu.default||Zu},78325:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(76067)},7759:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63696),o=n(78030),i=function(e){var t=e.value,n=e.other,o=e.children,i=e.intl,a=i.formatPlural,u=i.textComponent,l=e[a(t,e)]||n;return"function"==typeof o?o(l):u?r.createElement(u,null,l):l};i.defaultProps={type:"cardinal"},i.displayName="FormattedPlural",t.default=o.default(i)},57881:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=i?s-l:s,f=Math.abs(c-i);this._updateTimer=setTimeout((function(){return n.setState({currentValueInSeconds:c})}),1e3*f)}}},t.prototype.componentDidMount=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentDidUpdate=function(){this.scheduleNextUpdate(this.props,this.state)},t.prototype.componentWillUnmount=function(){clearTimeout(this._updateTimer),this._updateTimer=null},t.getDerivedStateFromProps=function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:v(e.unit)?m(e.value,e.unit):0}:null},t.prototype.render=function(){var e=this;return a.createElement(u.Context.Consumer,null,(function(t){l.invariantIntlContext(t);var n=t.formatRelativeTime,r=t.textComponent,o=e.props,u=o.children,s=o.value,c=o.unit,f=o.updateIntervalInSeconds,m=e.state.currentValueInSeconds,h=s||0,y=c;if(v(c)&&"number"==typeof m&&f){var g=p(y=d(m));h=Math.round(m/g)}var b=n(h,y,i({},e.props));return"function"==typeof u?u(b):r?a.createElement(r,null,b):b}))},t.displayName="FormattedRelativeTime",t.defaultProps={value:0,unit:"second"},t}(a.PureComponent);t.FormattedRelativeTime=y,t.default=y},48874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63696),o=n(78030),i=n(77976);t.default=function(){var e=r.useContext(o.Context);return i.invariantIntlContext(e),e}},82684:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["localeMatcher","type","style"],i=Date.now();t.formatList=function(e,t,n,a){var u=e.locale,l=e.onError;void 0===a&&(a={}),Intl.ListFormat||l(r.createError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));var s=r.filterProps(a,o);try{var c={},f=n.map((function(e,t){if("object"==typeof e){var n=function(e){return i+"_"+e+"_"+i}(t);return c[n]=e,n}return String(e)}));return Object.keys(c).length?t(u,s).formatToParts(f).reduce((function(e,t){var n=t.value;return c[n]?e.push(c[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]):t(u,s).format(f)}catch(e){l(r.createError("Error formatting list.",e))}return n}},37562:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function i(e,t,n){var i=e.locale,a=e.formats,u=e.onError;void 0===n&&(n={});var l=n.format,s=l&&r.getNamedFormat(a,"number",l,u)||{};return t(i,r.filterProps(n,o,s))}t.getFormatter=i,t.formatNumber=function(e,t,n,o){void 0===o&&(o={});try{return i(e,t,o).format(n)}catch(t){e.onError(r.createError("Error formatting number.",t))}return String(n)},t.formatNumberToParts=function(e,t,n,o){void 0===o&&(o={});try{return i(e,t,o).formatToParts(n)}catch(t){e.onError(r.createError("Error formatting number.",t))}return[]}},18235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["localeMatcher","type"];t.formatPlural=function(e,t,n,i){var a=e.locale,u=e.onError;void 0===i&&(i={}),Intl.PluralRules||u(r.createError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));var l=r.filterProps(i,o);try{return t(a,l).select(n)}catch(e){u(r.createError("Error formatting plural.",e))}return"other"}},38824:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(77976),o=["numeric","style"];t.formatRelativeTime=function(e,t,n,i,a){void 0===a&&(a={}),i||(i="second"),Intl.RelativeTimeFormat||e.onError(r.createError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function(e,t,n){var i=e.locale,a=e.formats,u=e.onError;void 0===n&&(n={});var l=n.format,s=!!l&&r.getNamedFormat(a,"relative",l,u)||{};return t(i,r.filterProps(n,o,s))}(e,t,a).format(n,i)}catch(t){e.onError(r.createError("Error formatting relative time.",t))}return String(n)}},41485:(e,t,n)=>{"use strict";var r=n(87577);t.defineMessages=r.defineMessages;var o=n(7759),i=n(78030);t.injectIntl=i.default,t.RawIntlProvider=i.Provider,i.Context,n(48874).default;var a=n(57881);a.default,t.createIntl=a.createIntl,o.createFormattedComponent("formatDate"),o.createFormattedComponent("formatTime"),o.createFormattedComponent("formatNumber"),o.createFormattedComponent("formatList"),o.createFormattedDateTimePartsComponent("formatDate"),o.createFormattedDateTimePartsComponent("formatTime"),n(7759).FormattedNumberParts,n(12036).default,n(16774).default;var u=n(64881);t.FormattedMessage=u.default,n(11539).default,n(77976).createIntlCache},77976:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(63696),o=n(77725),i=n(37613),a=n(32091),u=a.default||a,l={38:"&",62:">",60:" needs to exist in the component ancestry.")},t.createError=c,t.defaultErrorHandler=f,t.DEFAULT_INTL_CONFIG={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:f},t.createIntlCache=function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}}},t.createFormatters=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat;return{getDateTimeFormat:i.default(Intl.DateTimeFormat,e.dateTime),getNumberFormat:i.default(Intl.NumberFormat,e.number),getMessageFormat:i.default(o.default,e.message),getRelativeTimeFormat:i.default(t,e.relativeTime),getPluralRules:i.default(Intl.PluralRules,e.pluralRules),getListFormat:i.default(n,e.list)}},t.getNamedFormat=function(e,t,n,r){var o,i=e&&e[t];if(i&&(o=i[n]),o)return o;r(c("No "+t+" format named: "+n))}},38299:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case i:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case v:case h:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||_(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===s},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===h},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===u},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===u||e===a||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===l||e.$$typeof===s||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=_},84271:(e,t,n)=>{"use strict";e.exports=n(38299)},14403:(e,t,n)=>{"use strict";var r=n(21664),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,p=o?Symbol.for("react.forward_ref"):60112,m=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,v=o?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rL.length&&L.push(e)}function M(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var u=!1;if(null===e)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case a:u=!0}}if(u)return n(r,e,""===t?"."+D(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l{"use strict";e.exports=n(14403)},77699:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=null,o=!1,i=3,a=-1,u=-1,l=!1,s=!1;function c(){if(!l){var e=r.expirationTime;s?S():s=!0,k(p,e)}}function f(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,a=u;i=e,u=t;try{var l=n()}finally{i=o,u=a}if("function"==typeof l)if(l={callback:l,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=l.next=l.previous=l;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=l,c()),(t=n.previous).next=n.previous=l,l.next=n,l.previous=t}}function d(){if(-1===a&&null!==r&&1===r.priorityLevel){l=!0;try{do{f()}while(null!==r&&1===r.priorityLevel)}finally{l=!1,null!==r?c():s=!1}}}function p(e){l=!0;var n=o;o=e;try{if(e)for(;null!==r;){var i=t.unstable_now();if(!(r.expirationTime=M-r){if(!(-1!==n&&nt&&(t=8),D=tt?H.postMessage(void 0):I||(I=!0,_(z))},S=function(){A=null,j=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,d()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,o=a;i=n,a=t.unstable_now();try{return e()}finally{i=r,a=o,d()}},t.unstable_scheduleCallback=function(e,n){var o=-1!==a?a:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=o+n.timeout;else switch(i){case 1:n=o+-1;break;case 2:n=o+250;break;case 5:n=o+1073741823;break;case 4:n=o+1e4;break;default:n=o+5e3}if(e={callback:e,priorityLevel:i,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,c();else{o=null;var u=r;do{if(u.expirationTime>n){o=u;break}u=u.next}while(u!==r);null===o?o=r:o===r&&(r=e,c()),(n=o.previous).next=o.previous=e,e.next=o,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,o=a;i=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,a=o,d()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime{"use strict";e.exports=n(77699)},40797:e=>{"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i{var r=n(10564).default;function o(){"use strict";e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},s=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",f=l.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new I(r||[]);return u(i,"_invoke",{value:C(e,n,a)}),i}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var h="suspendedStart",v="suspendedYield",y="executing",g="completed",b={};function w(){}function _(){}function x(){}var k={};d(k,s,(function(){return this}));var S=Object.getPrototypeOf,E=S&&S(S(F([])));E&&E!==i&&a.call(E,s)&&(k=E);var P=x.prototype=w.prototype=Object.create(k);function T(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,u,l){var s=m(e[o],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,l)}),(function(e){n("throw",e,u,l)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,l)}))}l(s.arg)}var o;u(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function C(e,n,r){var o=h;return function(i,a){if(o===y)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var l=A(u,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var s=m(e,n,r);if("normal"===s.type){if(o=r.done?g:v,s.arg===b)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=m(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function F(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc=0;--n){var r=this.tryEntries[n];if(r.tryLoc=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),L(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:F(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},10564:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},61790:(e,t,n)=>{var r=n(53051)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},17451:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},5249:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17451);function o(e){if(Array.isArray(e))return(0,r.A)(e)}},72367:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},45841:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,l,"next",e)}function l(e){r(a,o,i,u,l,"throw",e)}u(void 0)}))}}n.d(t,{A:()=>o})},92099:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},48183:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92162);function o(e,t){for(var n=0;n{"use strict";n.d(t,{A:()=>o});var r=n(92162);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},74572:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},50171:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(91576);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},12863:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},71833:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},42912:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(40694),o=n(72367);function i(e,t){if(t&&("object"===(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},91576:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},82480:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(5249),o=n(12863),i=n(16438),a=n(71833);function u(e){return(0,r.A)(e)||(0,o.A)(e)||(0,i.A)(e)||(0,a.A)()}},92162:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(40694);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},40694:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},16438:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(17451);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>({799:"TimeAgo",939:"EditionsMenu",1054:"Newsletter",1362:"Corrections",1419:"Bookmark",2022:"EditProfile",2037:"Liveblog",2083:"AppsCTA",2148:"Vidible",2383:"OfferModule",2685:"Banner",2790:"SubNav",2952:"Looper",2981:"Zone",3008:"UpdatedTimestamp",4001:"Slideshow",4367:"MemberStatus",5037:"ChangeEmail",5432:"SpoilsNav",5569:"NotificationCenter",5850:"YouTube",5875:"SeeMore",5897:"Connatix",6086:"HighlineNavControls",6510:"Contribute",6709:"CookieConsent",7566:"Image",7742:"VotingToaster",8082:"FrontSupportHuffpost",8362:"Modal",8403:"NewsletterHub",8840:"PrivacyLinks",9105:"SocialButtons",9186:"FeedbackToaster",9397:"Comments",9812:"LeftNavTop",9937:"AlertBanner",9945:"LatestInZone"}[e]+"."+{799:"844d59cfb1ee9d6ea151",939:"78064c3da6c617a13b82",1054:"dba195871ee69c78c477",1362:"61ab00a15be955b4ff1d",1419:"2d7845f364ac6887fdf3",2022:"d3b6ca119b57e5eedbe8",2037:"b92d36dd580cca23d027",2083:"d1bff741746c2d0f60d1",2148:"9b497dd071fd3cc2ca7a",2383:"30d6dcf18f7c4439b1ea",2685:"8aba4a2dea7cfae77118",2790:"41c251ba936f5d18c6f3",2952:"3f9ef20207e17472db01",2981:"8f0914a082d788654229",3008:"8a095eb649f84ff6f51f",4001:"b7a9e933a3e929d88d39",4367:"e831498a576619a11809",5037:"791cae8d911a5a8d90ff",5432:"b7e7b9e5d8bd8100647d",5569:"141b9d77b802f436a586",5850:"82127b9269120a49f09d",5875:"076205cad4b84d76a757",5897:"7f4d91d1088d4d430686",6086:"130195c0c8e8c02d69bf",6510:"9322ae6e2c3d37b480c0",6709:"c2af9a974a7ae788243e",7566:"e2e89942f499ac382d75",7742:"002526843d77782fe4d9",8082:"4519f7c07590c7397f7c",8362:"09b2120467693e1b09ab",8403:"30eb08609596556521de",8840:"152e286a1261bf45a9ca",9105:"35f7f464c11e427922d4",9186:"62104e213dbb21490ad4",9397:"09725fa554874960ff8e",9812:"07b18acea08150b29887",9937:"d0ba5f9a92c326169e3b",9945:"673d1385c9d636b13ca9"}[e]+".js"),o.miniCssF=e=>"news.3a6f6e85822ee3ace925.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="cambria:",o.l=(n,r,i,a)=>{if(e[n])e[n].push(r);else{var u,l;if(void 0!==i)for(var s=document.getElementsByTagName("script"),c=0;c{u.onerror=u.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((e=>e(r))),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),l&&document.head.appendChild(u)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.j=6946,o.p="https://action.news/static-assets/cambria/app/",(()=>{var e={6946:0,6180:0,4644:0,6587:0,2960:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=i);var a=o.p+o.u(t),u=new Error;o.l(a,(n=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,r[1](u)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,i,[a,u,l]=n,s=0;if(a.some((t=>0!==e[t]))){for(r in u)o.o(u,r)&&(o.m[r]=u[r]);l&&l(o)}for(t&&t(n);s{"use strict";var e=o(61790),t=o.n(e),n=o(45841),r=o(63696),i=o.n(r),a=o(78325),u=o.n(a),l=o(41485);const s={OfferModule:function(){return o.e(2383).then(o.bind(o,70964))},MemberStatus:function(){return o.e(4367).then(o.bind(o,41809))},SeeMore:function(){return o.e(5875).then(o.bind(o,29586))},NewsletterHub:function(){return o.e(8403).then(o.bind(o,36273))},Newsletter:function(){return o.e(1054).then(o.bind(o,80447))},PrivacyLinks:function(){return o.e(8840).then(o.bind(o,98456))},CookieConsent:function(){return o.e(6709).then(o.bind(o,54135))},LatestInZone:function(){return o.e(9945).then(o.bind(o,86))},Image:function(){return o.e(7566).then(o.bind(o,93461))},SubNav:function(){return o.e(2790).then(o.bind(o,15976))},LeftNavTop:function(){return o.e(9812).then(o.bind(o,16590))},Modal:function(){return o.e(8362).then(o.bind(o,24528))},SocialButtons:function(){return o.e(9105).then(o.bind(o,52352))},FeedbackToaster:function(){return o.e(9186).then(o.bind(o,42440))},AppsCTA:function(){return o.e(2083).then(o.bind(o,64827))},VotingToaster:function(){return o.e(7742).then(o.bind(o,59272))},TimeAgo:function(){return o.e(799).then(o.bind(o,43091))},UpdatedTimestamp:function(){return o.e(3008).then(o.bind(o,74632))},Comments:function(){return o.e(9397).then(o.bind(o,7397))},Bookmark:function(){return o.e(1419).then(o.bind(o,79597))},YouTube:function(){return o.e(5850).then(o.bind(o,65903))},Vidible:function(){return o.e(2148).then(o.bind(o,88877))},Connatix:function(){return o.e(5897).then(o.bind(o,24044))},Looper:function(){return o.e(2952).then(o.bind(o,69145))},Slideshow:function(){return o.e(4001).then(o.bind(o,27521))},Corrections:function(){return o.e(1362).then(o.bind(o,47500))},HighlineNavControls:function(){return o.e(6086).then(o.bind(o,22438))},SpoilsNav:function(){return o.e(5432).then(o.bind(o,29099))},ChangeEmail:function(){return o.e(5037).then(o.bind(o,30272))},EditProfile:function(){return o.e(2022).then(o.bind(o,68832))},EditionsMenu:function(){return o.e(939).then(o.bind(o,44761))},Banner:function(){return o.e(2685).then(o.bind(o,30102))},Liveblog:function(){return o.e(2037).then(o.bind(o,80258))},Zone:function(){return o.e(2981).then(o.bind(o,32043))},FrontSupportHuffpost:function(){return o.e(8082).then(o.bind(o,80878))},Contribute:function(){return o.e(6510).then(o.bind(o,18710))},AlertBanner:function(){return o.e(9937).then(o.bind(o,30593))},NotificationCenter:function(){return o.e(5569).then(o.bind(o,25479))}};var c=function(e){try{return JSON.parse(e)}catch(e){return null}};function f(e){var t=Array.prototype.map.call(e,(function(e){return{reactWrapper:e,componentProps:c(e.getAttribute("data-component-props")),componentName:e.getAttribute("data-component-name"),componentId:e.getAttribute("data-component-id")}})),n=t.map((function(e){return e.componentName})).reduce((function(e,t){return-1===e.indexOf(t)&&e.push(t),e}),[]);return console.info("Hydrating ".concat(t.length," components: ").concat(n.join(", "))),t.map((function(e){return s[e.componentName]().then((function(t){return Object.assign(e,{Component:t.default})})).catch((function(t){return console.error(t),e}))}))}function d(){var e=document.getElementById("intl-messages"),t=JSON.parse(e.text);return(0,l.createIntl)(t)}document.addEventListener("DOMContentLoaded",(0,n.A)(t().mark((function e(){var r,o,a,s;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=d(),o=f(document.querySelectorAll(".js-react-hydrator")),e.next=4,Promise.all(o);case 4:a=e.sent,s=a.map(function(){var e=(0,n.A)(t().mark((function e(n){var o,a,s,c,f;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=n.reactWrapper,a=n.componentProps,s=n.componentName,c=n.componentId,f=n.Component,c){e.next=4;break}return console.error("Unable to hydrate react component, no id found."),e.abrupt("return",null);case 4:if(!f||!a){e.next=6;break}return e.abrupt("return",new Promise((function(e,t){try{var n=i().createElement(l.RawIntlProvider,{value:r},i().createElement(f,a));u().hydrate(n,o,(function(){var t=o.firstChild;o.parentElement.replaceChild(t,o),e()}))}catch(t){console.error('Error while hydrating "'.concat(s,'" with id (').concat(c,")"),t),e()}})));case 6:return console.error('Unable to hydrate "'.concat(s,'" with id (').concat(c,")"),a),e.abrupt("return",null);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Promise.all(s).then((function(){return window.dispatchEvent(new Event("hydration-complete"))}));case 7:case"end":return e.stop()}}),e)})))),o(12319);var p=o(41705),m=o(82480),h=o(96522),v=o(11467),y=function(e){var t=e.context_page_id,n=void 0===t?(0,v.gx)("context_page_id"):t,r=e.context_page_type,o=void 0===r?(0,v.gx)("context_page_type"):r,i=e.destination,a=void 0===i?(0,v.gx)("destination"):i;return function(){return{context_page_id:String(n),context_page_type:o,destination:a}}};const g=function(e){var t=e.item_name,n=void 0===t?(0,v.gx)("item_name"):t,r=e.item_type,o=void 0===r?(0,v.gx)("item_type"):r,i=e.position_in_subunit,a=e.position_in_unit;return function(){return{item_name:String(n),item_type:o,position_in_subunit:(0,v.P3)(i),position_in_unit:(0,v.P3)(a)}}},b=function(e){var t=e.subunit_name,n=void 0===t?"":t,r=e.subunit_type,o=void 0===r?"":r;return function(){return{subunit_name:(0,v.HI)(n.toString()),subunit_type:o}}},w=function(e){var t=e.unit_name,n=void 0===t?(0,v.gx)("unit_name"):t,r=e.unit_type,o=void 0===r?(0,v.gx)("unit_type"):r;return function(){return{unit_type:o,unit_name:(0,v.HI)(n)}}},_={flush:!0,required_layers:[function(e){var t=e.action_type,n=void 0===t?(0,v.gx)("action_type"):t,r=e.action_value,o=void 0===r?(0,v.gx)("action_value"):r;return function(){return{action_type:n,action_value:o.toString()}}},y,g,b,w],type:"web_content_action"},x=function(e){var t=e.data_source_algorithm,n=e.data_source_algorithm_version,r=e.data_source_name,o=void 0===r?"":r;return function(){return{data_source_algorithm:(0,v.K3)((0,v._e)(t)),data_source_algorithm_version:(0,v.K3)((0,v._e)(n)),data_source_name:decodeURIComponent(o)}}},k=function(e){var t=e.item_name,n=void 0===t?(0,v.gx)("item_name"):t,r=e.target_content_id,o=void 0===r?n:r,i=e.target_content_type,a=void 0===i?(0,v.gx)("target_content_type"):i;return function(){return{target_content_id:String(o),target_content_type:a}}},S={flush:!0,required_layers:[y,x,k,g,b,w],type:"web_internal_link"},E={required_layers:[y,x,k,g,b,w],type:"web_impression"},P={required_layers:[y,g,b,w],type:"web_subbuzz_impression"},T={flush:!0,required_layers:[y,function(e){var t=e.target_content_url,n=void 0===t?(0,v.gx)("target_content_url"):t;return function(){return{target_content_url:n}}},g,b,w],type:"web_external_link"},O={required_layers:[y,function(e){var t=e.total_duration,n=void 0===t?(0,v.gx)("total_duration"):t,r=e.active_duration,o=void 0===r?(0,v.gx)("active_duration"):r;return function(){return{total_duration:n,active_duration:o}}}],type:"web_time_spent"},C={required_layers:[y],type:"web_pageview"},A={required_layers:[y,function(e){var t=e.experiment_id,n=void 0===t?(0,v.gx)("experiment_id"):t;return{experiment_id:(0,v._e)(n)}}],type:"web_ab_test"},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.threshold,r=void 0===n?.5:n,o=t.visibility_time,i=void 0===o?1e3:o;if("undefined"==typeof window)return function(){};var a=new Map,u=new Map,l=new IntersectionObserver((function(e,t){e.forEach((function(e){if(a.has(e.target)){if(!e.isIntersecting)return clearTimeout(u.get(e.target)),void u.delete(e.target);if(!(u.has(e.target)||e.intersectionRatio1?n-1:0),o=1;o1?t-1:0),r=1;r1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{},o=Date.now(),i={active_duration:o-r,total_duration:o-n};i.total_duration>0&&e.apply(void 0,[{layers:[i,t]}].concat(s)),n=Date.now(),r=Date.now()},p=function(){"hidden"===document.visibilityState?(u=!0,d({time_spent_event_type:"page_visibility"}),cancelAnimationFrame(f)):"visible"===document.visibilityState&&(r=Date.now(),setTimeout((function(){return u=!1}),2e3),h(i,a))},m=function(e){var o=e.detail;if(o.find((function(e){return t.includes(e.type)}))){var i=o[0];r=n;var a=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1;i=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)||Date.now(),function e(t){var n=Date.now()-i;Math.floor(n/1e3)>=t&&!u&&(u=!0,d({time_spent_event_type:"heartbeat"}),setTimeout((function(){return u=!1}),1e3),i=Date.now(),t=t{const e="undefined"!=typeof navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection);return e?e.effectiveType:""},z=()=>()=>({connection_type:H()}),U=(e,{flush:t=!1,layers:n=[],sample_rate:r=.1,type:o})=>async(...i)=>{await e({flush:t,required_layers:[y,z],sample_rate:r,type:o},...n,...i)};var q,B,$,W,V,K=-1,G=function(e){addEventListener("pageshow",(function(t){t.persisted&&(K=t.timeStamp,e(t))}),!0)},Q=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},J=function(){var e=Q();return e&&e.activationStart||0},Z=function(e,t){var n=Q(),r="navigate";return K>=0?r="back-forward-cache":n&&(document.prerendering||J()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},Y=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},X=function(e,t,n,r){var o,i;return function(a){t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},ee=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},te=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},ne=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},re=-1,oe=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},ie=function(e){"hidden"===document.visibilityState&&re>-1&&(re="visibilitychange"===e.type?e.timeStamp:0,ue())},ae=function(){addEventListener("visibilitychange",ie,!0),addEventListener("prerenderingchange",ie,!0)},ue=function(){removeEventListener("visibilitychange",ie,!0),removeEventListener("prerenderingchange",ie,!0)},le=function(){return rer.value&&(r.value=o,r.entries=i,n())},u=Y("layout-shift",a);u&&(n=X(e,r,de,t.reportAllChanges),te((function(){a(u.takeRecords()),n(!0)})),G((function(){o=0,r=Z("CLS",0),n=X(e,r,de,t.reportAllChanges),ee((function(){return n()}))})),setTimeout(n,0))})))},me={passive:!0,capture:!0},he=new Date,ve=function(e,t){q||(q=t,B=e,$=new Date,be(removeEventListener),ye())},ye=function(){if(B>=0&&B1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){ve(e,t),o()},r=function(){o()},o=function(){removeEventListener("pointerup",n,me),removeEventListener("pointercancel",r,me)};addEventListener("pointerup",n,me),addEventListener("pointercancel",r,me)}(t,e):ve(t,e)}},be=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,ge,me)}))},we=[100,300],_e=function(e,t){t=t||{},se((function(){var n,r=le(),o=Z("FID"),i=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};Le[r.id]=r,je.push(r)}je.sort((function(e,t){return t.latency-e.latency})),je.splice(10).forEach((function(e){delete Le[e.id]}))}},Fe=[2500,4e3],Me={};const Ne=(e,t=250)=>{let n="";try{for(;e&&9!==e.nodeType;){const r=e.id?`#${e.id}`:e.nodeName.toLowerCase()+(e.className&&e.className.length?`.${Array.from(e.classList.values()).join(".")}`:"");if(n.length+r.length>t-1)return n||r;if(n=n?`${r} > ${n}`:r,e.id)break;e=e.parentNode}}catch(e){}return n},De=(e,{layers:t=[],profiling:n={},sample_rate:r=.1}={})=>{const o={layers:t,sample_rate:r,type:"web_performance_metric"},i=U(e,{...o,flush:!0}),a=U(e,o),u=U(e,{...o,sample_rate:1});"__trackAbandons"in window&&document.removeEventListener("visibilitychange",window.__trackAbandons),(e=>{!function(e,t){t=t||{},se((function(){Te();var n,r=Z("INP"),o=function(e){e.forEach((function(e){e.interactionId&&Ie(e),"first-input"===e.entryType&&!je.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&Ie(e)}));var t,o=(t=Math.min(je.length-1,Math.floor(Ae()/50)),je[t]);o&&o.latency!==r.value&&(r.value=o.latency,r.entries=o.entries,n())},i=Y("event",o,{durationThreshold:t.durationThreshold||40});n=X(e,r,Oe,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),te((function(){o(i.takeRecords()),r.value0&&(r.value=0,r.entries=[]),n(!0)})),G((function(){je=[],Ce=Pe(),r=Z("INP"),n=X(e,r,Oe,t.reportAllChanges)})))}))}((t=>{e({metric_name:"interaction-to-next-paint",metric_type:"custom",metric_value:t.value})}))})(a),(e=>{pe((({entries:t})=>{if(t.length)try{const n=[...t];n.sort(((e,t)=>e&&e.value>t.value?-1:1)),n.slice(0,3).forEach(((t,n)=>{if(t&&t.sources&&t.sources.length){const r=t.sources.reduce(((e,t)=>!!e.node&&(e.previousRect.width*e.previousRect.height>t.previousRect.width*t.previousRect.height?e:t)));e({metric_name:`largest-layout-shift-node-${n}`,metric_type:"custom",metric_value:t.value,metric_metadata_type:"css-selector",metric_metadata_value:Ne(r.node)||""})}}))}catch(e){}}))})(i),(e=>{_e((function(){if("PerformanceLongTaskTiming"in window){const t=new PerformanceObserver((n=>{const r=n.getEntries(),o=r.length,i=r.reduce(((e,{duration:t})=>e+t-50),0);o&&(e({metric_name:"cumulative-longtask-count",metric_type:"custom",metric_value:o}),e({metric_name:"cumulative-blocking-time",metric_type:"custom",metric_value:i})),t.disconnect()}));t.observe({type:"longtask",buffered:!0})}}))})(a),((e,{ignore_pattern:t,limit:n=10}={})=>{_e((function(){"__jsProfiler"in window&&window.scheduler.postTask((async()=>{performance.mark("__jsProfiler_start");const r=await window.__jsProfiler.stop();performance.measure("__jsProfiler","__jsProfiler_start");const o=new PerformanceObserver((async function(i){o.disconnect();const a=((e,t,{ignore_pattern:n="chunks/(?:framework|main|webpack)"}={})=>{performance.mark("getLongestRunningFrames_start");const r=[],o=[],i=new RegExp(n),a=t.samples.entries();for(const n of e){const e={};for(const[,r]of a)if(r.stackId&&r.timestamp>=n.startTime){if(r.timestamp>n.startTime+n.duration)break;let o=t.stacks[r.stackId];for(;"parentId"in o;)e[o.frameId]=(e[o.frameId]||0)+1,o=t.stacks[o.parentId]}Object.keys(e).length&&o.push([n,e])}o.sort(((e,t)=>t[0].duration-e[0].duration));const u=(e,n)=>{if(n[1]n[1])return e;const r=t.frames[n[0]];if(!("resourceId"in r))return e;const o=t.resources[r.resourceId];return i&&i.test(o)?e:n};for(const[e,n]of o){const[o]=Object.entries(n).reduce(u,[]);if(o){const n=t.frames[o],i=t.resources[n.resourceId];r.push([e,n,i])}}return performance.measure("getLongestRunningFrames","getLongestRunningFrames_start"),r})(i.getEntries(),r,{ignore_pattern:t});for(const[t,r,o]of a){if(! --n)break;e({metric_name:"longtask-longest-frame",metric_type:"custom",metric_value:t.duration,metric_metadata_type:"stacktrace",metric_metadata_value:`${o}:${r.line}:${r.column}`})}}));o.observe({type:"longtask",buffered:!0})}),{priority:"background"})}))})(u,n),(e=>{pe((function(){if(!performance.memory)return;const t=performance.memory,n={jsHeapSizeLimit:t.jsHeapSizeLimit,totalJSHeapSize:t.totalJSHeapSize,usedJSHeapSize:t.usedJSHeapSize};e({metric_name:"memory",metric_type:"custom",metric_value:0,metric_metadata_type:"json",metric_metadata_value:JSON.stringify(n)})}))})(i)},Re=(e,{layers:t=[],sample_rate:n=.1}={})=>{const r={layers:t,sample_rate:n,type:"web_performance_metric"},o=U(e,r),i=U(e,{...r,flush:!0});(e=>{pe((t=>{e({metric_name:"cumulative-layout-shift",metric_type:"web-vital",metric_value:t.value})}))})(i),(e=>{fe((t=>{e({metric_name:"first-contentful-paint",metric_type:"web-vital",metric_value:t.value})}))})(o),(e=>{_e((({entries:t,value:n})=>{const{startTime:r,target:o}=t[t.length-1],i={css:Ne(o),timeStamp:r};e({metric_name:"first-input-delay",metric_type:"web-vital",metric_value:n,metric_metadata_type:"json",metric_metadata_value:JSON.stringify(i)})}))})(i),(e=>{!function(e,t){t=t||{},se((function(){var n,r=le(),o=Z("LCP"),i=function(e){var t=e[e.length-1];t&&t.startTime{const{element:r,size:o,url:i=""}=t[t.length-1],a={css:Ne(r),size:o,url:i};e({metric_name:"largest-contentful-paint",metric_type:"web-vital",metric_value:n,metric_metadata_type:"json",metric_metadata_value:JSON.stringify(a)})}))})(i)},He=(e,{layers:t=[],sample_rate:n=.1}={})=>{(e=>{if("PerformanceNavigationTiming"in window){const t=()=>{const[t]=performance.getEntriesByType("navigation");e({timing_duration:t.duration,timing_name:t.name,timing_start_time:t.startTime,timing_type:t.entryType,resource_connect_end:t.connectEnd,resource_connect_start:t.connectStart,resource_decoded_body_size:void 0===t.decodedBodySize?null:t.decodedBodySize,resource_domain_lookup_end:t.domainLookupEnd,resource_domain_lookup_start:t.domainLookupStart,resource_encoded_body_size:void 0===t.encodedBodySize?null:t.encodedBodySize,resource_fetch_start:t.fetchStart,resource_initiator_type:t.initiatorType,resource_next_hop_protocol:void 0===t.nextHopProtocol?null:t.nextHopProtocol,resource_redirect_end:t.redirectEnd,resource_redirect_start:t.redirectStart,resource_request_start:t.requestStart,resource_response_end:t.responseEnd,resource_response_start:t.responseStart,resource_secure_connection_start:void 0===t.secureConnectionStart?null:t.secureConnectionStart,resource_transfer_size:void 0===t.transferSize?null:t.transferSize,resource_worker_start:void 0===t.workerStart?null:t.workerStart,navigation_dom_complete:t.domComplete,navigation_dom_content_loaded_event_end:t.domContentLoadedEventEnd,navigation_dom_content_loaded_event_start:t.domContentLoadedEventStart,navigation_dom_interactive:t.domInteractive,navigation_load_event_end:t.loadEventEnd,navigation_load_event_start:t.loadEventStart,navigation_redirect_count:t.redirectCount,navigation_type:t.type,navigation_unload_event_end:t.unloadEventEnd,navigation_unload_event_start:t.unloadEventStart})};"complete"===document.readyState?t():window.addEventListener("load",(()=>requestAnimationFrame(t)))}})(U(e,{layers:t,sample_rate:n,type:"web_performance_navigation_timing"}))};function ze(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 Ue(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"default",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Be&&0===Object.keys(i).length&&window.HPApp&&"liveblog"===r&&(i={client_uuid:null===(e=window.HPApp)||void 0===e?void 0:e.clientId,client_session_id:null===(t=window.HPApp)||void 0===t?void 0:t.sessionId,referrer_uri:null===(n=window.HPApp)||void 0===n?void 0:n.referrerUri});var a={default:{impressionSelector:".js-card[data-vars-type], .js-entry-link[data-vars-type]",subbuzzImpressionSelector:".js-cet-subbuzz"},mobile_app_promo:{impressionSelector:".apps-cta .js-cet-impresssion[data-vars-type]"},liveblog:{impressionSelector:".liveblog .js-card[data-vars-type], .liveblog .js-entry-link[data-vars-type]",subbuzzImpressionSelector:".liveblog .js-cet-subbuzz"},recirc:{impressionSelector:"".concat(o," .js-card[data-vars-type], ").concat(o," .js-entry-link[data-vars-type]")},alertBanner:{impressionSelector:".alert-banner a[data-vars-type]"},notificationCenter:{impressionSelector:".notification-center .js-card[data-vars-type]"}},u=a[r]?a[r].impressionSelector:a.default.impressionSelector,l=a[r]?a[r].subbuzzImpressionSelector:a.default.subbuzzImpressionSelector,s=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_id||"",c=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_type||"",f=!document.body.classList.contains("cet-events-disabled")&&s&&c,d=".js-card[data-vars-type], .js-entry-link[data-vars-type], .js-cet-subbuzz, button[data-vars-type], a[data-vars-type]:not(.js-card[data-vars-type] a)";if(f){var p=j((function(e){var t=e;"support-huffpost"===t.item_name_overwritable&&(t.item_name=document.body.classList.contains("contributor_canceled")?"Support HuffPost (Canceled)":document.body.classList.contains("contributor_once")?"Support HuffPost (Once)":"Support HuffPost",delete t.item_name_overwritable),t=Object.assign(t,i),$e(E,t)}));if(document.querySelectorAll(u).forEach((function(e){var t=(0,R.fO)(e);t&&(t.position_in_unit=(0,R.dJ)(e,c,t.unit_type,t.unit_name,d.split(",")),Object.assign(t,(0,R.v3)(e,t),window.HUFFPOST.tracking,{type:"web_impression"},i)),p(e,t)})),"recirc"!==r){var m=j((function(e){Object.assign(e,i),$e(P,e)}));document.querySelectorAll(l).forEach((function(e){var t=(0,R.fO)(e);t&&(t.position_in_unit=(0,R.dJ)(e,c,t.unit_type,t.unit_name,d.split(",")),Object.assign(t,(0,R.v3)(e,t),window.HUFFPOST.tracking,{type:"web_subbuzz_impression"},i)),m(e,t)}))}}};var We=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_id||"",n=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.context_page_type||"",r=window.HUFFPOST.tracking&&window.HUFFPOST.tracking.page_edition||"",o={context_page_id:t,context_page_type:n,destination:"huffpost",page_edition:r};if(!document.body.classList.contains("cet-events-disabled")&&t&&n){var i=L((function(t){var r=t.event.target.closest('a[data-vars-type], button[data-vars-type], div[role="button"][data-vars-type]'),o=r?r.closest(".js-card[data-vars-type]"):null;r=o||r;var i=(0,R.fO)(r);if(i){var a;switch(i.position_in_unit=(0,R.dJ)(r,n,i.unit_type,i.unit_name),Object.assign(i,(0,R.v3)(r,i),window.HUFFPOST.tracking,e),i.type){case"web_content_action":a=_;break;case"web_internal_link":default:a=S;break;case"web_external_link":a=T}$e(a,i)}})),a=L((function(t){var r=t.event,o=r.target.closest(".vdb_player");if(!o)return null;var i=Object.assign((0,R.fO)(o),window.HUFFPOST.tracking),a=(0,R.Jo)(r.target);return a?(Object.assign(a,i,e),a.position_in_unit=(0,R.dJ)(o,n,i.unit_type,i.unit_name),$e(S,a)):null}));i(document.body);var u=document.getElementById("zone-video");u&&a(u),window.doImpressions("default",e),window.HUFFPOST.pvDisabled||function(){for(var t=arguments.length,n=new Array(t),r=0;r{const o={layers:t,sample_rate:n};Re(e,o),He(e,o),De(e,{...o,profiling:r})})($e,{layers:[].concat(n,[e]),sample_rate:1})}(o)}var l,s=(l=O,function(){for(var t=arguments.length,n=new Array(t),r=0;r1?n-1:0),o=1;o0?it.classList.add("transparent"):it.classList.remove("transparent")},st=function(){at&&"showRecirc"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown")&&(window.removeEventListener("scroll",lt),it.classList.remove("transparent"),it.addEventListener("transitionend",ut)),setTimeout((function(){(0,Ve.A)("unstick-leaderboard")}),5e3)},ct=function(){if(Xe){var e=document.querySelector(".ad-leaderboard-flex.temp-sticky");if(at){it.classList.remove("sticking");var t=it.offsetHeight;it.style.top="-".concat(t,"px")}else if(e){var n=e.offsetHeight;e.classList.add("unstick"),e.style.top="-".concat(n,"px")}}},ft=function(){document.body.classList.remove("hamburger-open"),Ge.classList.add("transition-active")},dt=function(){document.body.addEventListener("click",(function(e){document.body.classList.contains("hamburger-open")?e.target.closest(".left-nav")&&!e.target.closest(".left-nav__close")||(ft(),Qe&&Qe.removeAttribute("aria-hidden")):e.target.closest(".hamburger")&&(document.body.classList.add("hamburger-open"),Qe&&Qe.setAttribute("aria-hidden",!0))})),et&&et.addEventListener("keydown",(function(e){e.target===tt&&"Tab"===e.key&&e.shiftKey?(e.preventDefault(),nt.focus()):e.target!==nt||"Tab"!==e.key||e.shiftKey||(e.preventDefault(),tt.focus()),"Escape"===e.key&&document.body.classList.contains("hamburger-open")&&ft()})),document.body.addEventListener("transitionend",(function(e){document.body.classList.contains("hamburger-open")&&Je.focus(),"left"===e.propertyName&&Ge.classList.contains("transition-active")&&(Ge.classList.remove("transition-active"),Ke.focus())}))};if(Xe&&ot&&at)document.addEventListener("unstick-leaderboard",ct,{once:!0}),function(){var e=document.querySelector(".top-ad-recirc");if(e){var t,n,r=e.querySelector(".ad-leaderboard-flex #ad_leaderboard_flex");e.querySelector(".zone--ad-recirc").classList.add("js-cet-subunit");var o=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&console.debug("leaderboardAd monitor expired"),setTimeout((function(){return n.disconnect()}),1e4);var t=r.offsetHeight;if(t>=251)e.classList.remove("recirc--half-display","recirc--no-display","recirc--full-display"),e.classList.add("recirc--flex-display");else if(t>120&&t0?(e.classList.remove("recirc--full-display","recirc--no-display"),e.classList.add("recirc--half-display")):(e.classList.remove("recirc--half-display","recirc--no-display"),e.classList.add("recirc--full-display"));e.classList.remove("ad-fetching"),st("showRecirc")};n=new ResizeObserver((function(e){e.forEach((function(){clearTimeout(t);var e=r.querySelector("iframe");(null==e?void 0:e.offsetHeight)>85&&o(),t=setTimeout((function(){return o(!0)}),5e3)}))})),r&&n.observe(r)}}(),window.addEventListener("scroll",lt);else if(Xe&&ot&&!at)if(rt.classList.contains("always-sticky")){var pt=document.querySelector(".ad-leaderboard-flex__dismiss");window.addEventListener("scroll",(function(){window.scrollY>=40?pt.classList.add("show"):(pt.classList.remove("show"),rt.classList.remove("sticky-dismissed"))})),pt.addEventListener("click",(function(){rt.classList.add("sticky-dismissed")}))}else document.addEventListener("unstick-leaderboard",ct),document.addEventListener("leaderboard-treated",(function(){return st("else")}));var mt="MutationObserver"in window&&"ResizeObserver"in window,ht=document.querySelector(".ad-bottom-right-sticky__close"),vt=document.querySelector(".bottom-right-sticky-container"),yt=!1,gt=function(e){var t,n,r=e.parentNode.classList.contains("advertisement-sticky-wrapper")?e.parentNode.parentNode:e.parentNode,o=e.classList.contains("ad-leaderboard-flex"),i=o&&e.classList.contains("temp-sticky"),a="desktop"===(null===(t=window.HUFFPOST)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.device),u=o?a?85:40:0,l=Math.max(e.height||e.offsetHeight)>u;if(i){if(yt)return;!function(e){yt=!0;var t=e.offsetHeight,n=setInterval((function(){var r=e.querySelector("iframe");r&&t===r.offsetHeight&&t>=40?(e.classList.add("treated"),(0,Ve.A)("leaderboard-treated"),clearInterval(n)):t=(null==r?void 0:r.offsetHeight)||e.offsetHeight}),1e3)}(e)}else e.classList.toggle("treated",l);r&&r.classList.contains("advertisement-holder")&&r.classList.toggle("loaded",l)};if(mt){var bt=new ResizeObserver((function(e){e.forEach((function(e){var t=e.target;gt(t)}))}));document.querySelectorAll(".advertisement").forEach((function(e){gt(e),bt.observe(e)})),document.addEventListener("ad-injected",(function(e){gt(e.detail.ad),bt.observe(e.detail.ad)}))}else setInterval((function(){document.querySelectorAll(".advertisement").forEach((function(e){gt(e)}))}),50);var wt=document.querySelector(".zone--more-in-life");wt&&document.addEventListener("scroll",(function(){var e=wt.getBoundingClientRect(),t=parseInt(window.getComputedStyle(wt,":after").height,10);wt.classList.toggle("sticky",e.topt),wt.classList.toggle("sticky-bottom",e.tope.clientHeight?(e.querySelector(".js-open").addEventListener("click",Ht,{capture:!0,once:!0}),e.addEventListener("see-more-button",zt,{capture:!0,once:!0})):e.classList.add("open")})),o(5228);var Ut=o(19095),qt=Math.round((new Date).valueOf()/864e5);function Bt(){return Ut.A.get("cohort_lists")||{}}function $t(){return Object.keys(Bt())}function Wt(e){return Ut.A.get("cohort-".concat(e))||{}}function Vt(e,t){var n=Bt();n[e]=!0,Ut.A.set("cohort_lists",n),Ut.A.set("cohort-".concat(e),t)}function Kt(e,t){var n=Wt(e);return n[qt]=(n[qt]||0)+t,Vt(e,n),n[qt]}function Gt(e){return parseInt(e,10)}function Qt(e){return qt-31>=e}function Jt(){return Ut.A.get("cohort_start")||Math.min.apply(Math,(0,m.A)(Object.keys(Wt("pv"))))||qt}Ut.A.get("cohort_start")||Ut.A.set("cohort_start",Jt()),$t().forEach((function(e){!function(e){var t=Wt(e);Object.keys(t).map(Gt).filter(Qt).forEach((function(e){delete t[e]})),Vt(e,t)}(e)}));const Zt={increment:function(e){Kt(e,1)},add:Kt,total:function(e){var t=Wt(e),n=0;return Object.keys(t).forEach((function(e){n+=t[e]})),n},cohorts:$t,raw:Wt,allRaw:function(){return $t().reduce((function(e,t){return e[t]=Wt(t),e}),{})},age:function(){return qt-Jt()}};if(Ut.A.enabled){var Yt=Math.round((new Date).valueOf()/864e5);(Ut.A.get("lastCohortPhoneHome")||0)0&&void 0!==arguments[0]?arguments[0]:{},t=document.getElementById("server-experiment-data"),n={};t&&(n=JSON.parse(t.innerHTML),Object.keys(n).forEach((function(e){n[e].id=0,n[e].variant_id=0,n[e].version=0})));var r=function(e){for(var t=1;t0&&Object.keys(e).forEach((function(n){var r=e[n].id,o=e[n].variant_id,i=o?"".concat(r,":").concat(o):"0:0";t.push(i)}));var n=t.join(";");document.querySelector("body.entry")&&t.length&&document.querySelectorAll("a[data-amazon-link]").forEach((function(e){var t=decodeURIComponent(e.attributes.href.textContent),r=new URL(t),o=r.searchParams.get("ascsubtag").replace(",0:0,",",".concat(n,","));r.searchParams.set("ascsubtag",o),r.search=new URLSearchParams(r.search).toString();var i=r.toString();if("mobile"===window.HP.params.device){var a=i.split("&ascsubtag");a.length>1&&(a[1]=encodeURIComponent(a[1])),i=a.join("%26ascsubtag")}e.attributes.href.textContent=i}))}));var mn=o(95298),hn="object"===("undefined"==typeof window?"undefined":(0,en.A)(window))&&window.HP&&"production"===window.HP.env;window.HUFFPOST.params.clientUUID=window.HUFFPOST.cetEnabled?(0,mn.bs)({env:hn?"prod":"stage",legacy:!1}):" ";var vn=o(42519);if(!document.cookie.match(/_lr_env=/)&&document.cookie.match(/hem=/)){var yn=atob(vn.A.get("hem").replace(/"/g,""));window.addEventListener("envelopeModuleReady",(function(){atsenvelopemodule.setAdditionalData({type:"emailHashes",id:[yn]})}))}var gn="hp_outbrain_test";if(window.HP.params.isEntry||window.HP.params.isFront){var bn=window.HP.params.isEntry&&(window.HP.entry.modulousTags.includes("@nooutbrain")||window.HP.entry.modulousTags.includes("@notaboola"));bn&&(window.HP.params.abOutbrainTest.doNotPublishEvent=!0),window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(gn)&&(document.addEventListener("abeagleEvent",(function(){var e=dn(gn);if(e){var t=document.querySelectorAll(".outbrain-module");t.length&&"outbrain_placement_hidden"!==e&&!bn&&t.forEach((function(e){return e.classList.add("show")}))}})),window.HP.params.abOutbrainTest.ready=!0)}var wn="hp_support_huffpost_test";if(window.HP.params.isEntry){var _n=document.getElementsByClassName("cli-support-huffpost");0===_n.length&&(window.HP.params.abSupportHuffpostTest.doNotPublishEvent=!0),window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(wn)&&(_n.length>0&&document.addEventListener("abeagleEvent",(function(){var e=dn(wn);if(e){var t="",n="",r=!1;"generic_long"===e?(t=".cli-support-huffpost__generic-long",n=".cli-support-huffpost__title-generic",r=!0):"tailored_long"===e&&(t=".cli-support-huffpost__tailored-long",n=".cli-support-huffpost__title-tailored",r=!0),r&&(document.querySelector(n).classList.remove("hidden"),document.querySelector(t).classList.remove("hidden"),document.querySelector(".cli-support-huffpost").classList.remove("hidden"))}})),window.HP.params.abSupportHuffpostTest.ready=!0)}var xn="hp_revenue_login_test",kn=window.HP.params,Sn=kn.edition,En=kn.isEntry,Pn=kn.isFront;"us"===Sn&&(En||Pn)&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(xn)&&(document.addEventListener("abeagleEvent",(function(){var e=dn(xn);if(e){var t=document.querySelectorAll(".ab-revenue-link");t.length&&"control"!==e&&t.forEach((function(e){return e.classList.remove("hidden")}))}})),window.HP.params.abRevenueLoginTest.ready=!0);var Tn=window.HP.params.edition,On="hp_alert_see_more_test";"us"===Tn&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(On)&&(document.addEventListener("abeagleEvent",(function(){"control"===dn(On)&&document.body.classList.add("ab-hide-see-more-variant")})),window.HP.params.abAlertSeeMoreTest.ready=!0);var Cn=window.HP.params,An=Cn.edition,jn=Cn.isEntry,Ln="hp_ow_test";"us"===An&&jn&&window.HP.params.abeagle&&Array.isArray(window.HP.params.abeagle)&&window.HP.params.abeagle.includes(Ln)&&(document.addEventListener("abeagleEvent",(function(){var e=dn(Ln);if("control"===e){var t=document.querySelector(".openweb-container");t&&(t.style.display="initial");var n=document.querySelector("#spot_spotlight");n&&(n.style.display="initial")}else if("remove-ow"===e){var r=document.querySelector(".spotlight-replacement-ad");r&&r.classList.remove("hidden");var o=document.querySelector(".pitc-replacement-ad");o&&o.classList.remove("hidden")}})),window.HP.params.abOpenWebTest.ready=!0);var In,Fn,Mn,Nn=window.HP.params,Dn=Nn.edition,Rn=Nn.isEntry,Hn=Nn.device,zn="hp_cta_rr_test";function Un(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 qn(e){for(var t=1;t=n}(o.roleCreatedAt,n)?document.body.classList.add(e):document.body.classList.add("is-contributor"),r=o.expires,new Date(r)1?o[1]:null);case 19:return e.abrupt("return",o.length>1?o[1]:null);case 20:return console.error("Error updating subscriber data, could not get fpUserData"),e.abrupt("return",o.length>1?o[1]:null);case 22:case"end":return e.stop()}}),e,null,[[9,15]])})));return function(t,n){return e.apply(this,arguments)}}();if(Zn){Jn&&document.body.addEventListener("fpMemberCenterAction",tr);var ir=new URLSearchParams(window.location.search).get("hp_auth_done");(0,D.A)().then(function(){var e=(0,n.A)(t().mark((function e(n){var r,o,i,a,u,l,s;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n&&(t=n.email,t&&"string"==typeof t&&t.includes("@")))){e.next=39;break}if(r=n.roles.length>1?n.roles[1]:null,o=new Date,"1"!==ir&&!Qn&&!Jn){e.next=19;break}return e.prev=4,e.next=7,Xn(n);case 7:if(i=e.sent,a=i.data.createdAt,Jn){e.next=13;break}return e.next=12,or(i,n);case 12:r=e.sent;case 13:o=a,e.next=19;break;case 16:e.prev=16,e.t0=e.catch(4),console.error("Error trying to get flip pay user access token",e.t0);case 19:if(!Yn.includes(r)){e.next=38;break}u=document.querySelector(".front-support-huffpost__support-button, .cli-support-huffpost__support-button"),e.t1=r,e.next="contributor_monthly"===e.t1||"contributor_annually"===e.t1?25:"contributor_once"===e.t1?29:"contributor_canceled"===e.t1?32:35;break;case 25:return Ut.A.has("hp-contributor")&&Ut.A.remove("hp-contributor"),document.body.classList.add("is-contributor"),document.body.classList.add(r),e.abrupt("break",36);case 29:return rr(r,o,2),u&&(l=u.getAttribute("data-vars-item-name"),u.setAttribute("data-vars-item-name","".concat(l," (Once)")).removeAttribute("data-vars-item-name-overwritable")),e.abrupt("break",36);case 32:return rr(r,o,1),u&&(s=u.getAttribute("data-vars-item-name"),u.setAttribute("data-vars-item-name","".concat(s," (Canceled)")).removeAttribute("data-vars-item-name-overwritable")),e.abrupt("break",36);case 35:document.body.classList.add("non-contributor");case 36:e.next=39;break;case 38:document.body.classList.add("non-contributor");case 39:case"end":return e.stop()}var t}),e,null,[[4,16]])})));return function(t){return e.apply(this,arguments)}}())}o(37381),"loading"!==document.readyState?dt():document.addEventListener("DOMContentLoaded",dt),function(){var e=document.getElementById("zone-trending");if(e){function t(){var t=e.querySelector("#trending-topics-header");if(t){var n=t.offsetTop+t.offsetHeight;Array.prototype.forEach.call(e.children,(function(e){var t=e.querySelector("a");t&&(e.offsetTop>n?(t.setAttribute("tabIndex",-1),t.setAttribute("aria-hidden",!0)):(t.removeAttribute("tabIndex"),t.removeAttribute("aria-hidden")))}))}}function n(e,t){var n;return e(),function(){clearTimeout(n),n=setTimeout(e,t)}}window.addEventListener("resize",n(t,1e3))}}(),window.getProfile=D.A})()})();//# sourceMappingURL=news.0998c429b29c14ec6f65.js.map