(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77],{39901:function(t,e,n){"use strict";n.d(e,{FW:function(){return $},f_:function(){return pt},R3:function(){return x},qO:function(){return A},f0:function(){return o},Lj:function(){return I},Vn:function(){return U},gb:function(){return it},q2:function(){return y},YC:function(){return ut},nu:function(){return h},vp:function(){return ft},RM:function(){return C},og:function(){return k},bG:function(){return O},cS:function(){return P},Jv:function(){return b},VO:function(){return g},u2:function(){return m},gC:function(){return ct},Lo:function(){return st},dv:function(){return rt},S1:function(){return ht},$T:function(){return S},sB:function(){return u},oL:function(){return j},ye:function(){return lt},ZT:function(){return i},H3:function(){return V},j7:function(){return c},N8:function(){return l},UF:function(){return z},rT:function(){return D},Dh:function(){return L},Jn:function(){return d},bi:function(){return _},fL:function(){return T},VH:function(){return Z},Ui:function(){return ot},et:function(){return at},km:function(){return v},G_:function(){return M}});var r=n(24027);function i(){}function o(t,e){for(const n in e)t[n]=e[n];return t}function a(t){return t()}function s(){return Object.create(null)}function c(t){t.forEach(a)}function u(t){return"function"===typeof t}function l(t,e){return t!=t?e==e:t!==e||t&&"object"===typeof t||"function"===typeof t}let f;function d(t,e){return f||(f=document.createElement("a")),f.href=e,t===f.href}function h(t,e,n,r){if(t){const i=p(t,e,n,r);return t[0](i)}}function p(t,e,n,r){return t[1]&&r?o(n.ctx.slice(),t[1](r(e))):n.ctx}function m(t,e,n,r){if(t[2]&&r){const i=t[2](r(n));if(void 0===e.dirty)return i;if("object"===typeof i){const t=[],n=Math.max(e.dirty.length,i.length);for(let r=0;r32){const e=[],n=t.ctx.length/32;for(let t=0;t0&&void 0!==arguments[0]&&arguments[0];(0,r.PA)(this,t),this.is_svg=!1,this.is_svg=e,this.e=this.n=null}),[{key:"c",value:function(t){this.h(t)}},{key:"m",value:function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.e||(this.is_svg?this.e=_(e.nodeName):this.e=O(11===e.nodeType?"TEMPLATE":e.nodeName),this.t="TEMPLATE"!==e.tagName?e:e.content,this.c(t)),this.i(n)}},{key:"h",value:function(t){this.e.innerHTML=t,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}},{key:"i",value:function(t){for(let e=0;e7&&void 0!==arguments[7]?arguments[7]:[-1];const f=B;W(t);const d=t.$$={fragment:null,ctx:[],props:a,update:i,not_equal:o,bound:s(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(f?f.$$.context:[])),callbacks:s(),dirty:l,skip_bound:!1,root:e.target||f.$$.root};u&&u(d.root);let h=!1;if(d.ctx=n?n(t,e.props||{},(function(e,n){const r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return d.ctx&&o(d.ctx[e],d.ctx[e]=r)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](r),h&&dt(t,e)),n})):[],d.update(),h=!0,c(d.before_update),d.fragment=!!r&&r(d.ctx),e.target){if(e.hydrate){const t=N(e.target);d.fragment&&d.fragment.l(t),t.forEach(k)}else d.fragment&&d.fragment.c();e.intro&&ot(t.$$.fragment),lt(t,e.target,e.anchor,e.customElement),K()}W(f)}let pt=function(){return(0,r.qH)((function t(){(0,r.PA)(this,t)}),[{key:"$destroy",value:function(){ft(this,1),this.$destroy=i}},{key:"$on",value:function(t,e){if(!u(e))return i;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}])}()},93563:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var r=n(9845),i=n(20238);const o="track/abeagle/request";var a=n(89136),s=n(29392),c=n(84030);let u,l=[],f={},d={},h={},p=[];const m=()=>s.Z.getBuzzfeedSubdomainOrWildcard(window.location.hostname),v=null;function g(t,e){d[t]=e,f[t]&&f[t].forEach((t=>t.resolve(e)))}async function b(t,e){t.asyncIsEligible&&await t.asyncIsEligible()&&g(t.name,e)}function y(){l.forEach((function(t){t.asyncIsEligible?b(t,v):t.isEligible()&&g(t.name,v)}))}function w(t,e){const n=window.location.hostname.replace("www","");s.Z.remove(t,`.${n}`);const r=m(),i=r===`www.${n}`?14:1;s.Z.set({name:t,value:e,days:i,domain:r})}function E(t,e){window.bfa(t,{data:e})}function x(t){return Object.keys(t).forEach((e=>{const n=`${e}_version`,r=t[e];let{value:i,version:o,error:a,resolved:c}=r;if(a){let t={type:"ExperimentServerError",name:e,error:a};return h[e]=t,void(f[e]&&f[e].forEach((t=>t.resolve(v))))}if(c&&(i=i||"control"),g(e,i),null===i){const t=m();return s.Z.remove(e,t),void s.Z.remove(n,t)}p.push([e,r.id,r.version,r.value,r.variant_id].join("|"));const u=s.Z.get(e)===String(i),l=s.Z.get(n)===String(o);u&&l||(w(e,i),w(n,o),E(`track/abtest/${e}`,{experiment:e,variation:r}))})),p}function A(t,e){var n=[];l.forEach((function(t){"boolean"===typeof t.storeResponse&&t.storeResponse&&n.push(t.name)})),0!==n.length&&t.forEach((function(t){if(-1!==n.indexOf(t)){var r=e[t];if(!r||r.error||null===r.value)g(t,v);else{var i=t+"_metadata",o=r;o=JSON.stringify(o),o=escape(o),s.Z.get(i)!==o&&w(i,o)}}}))}var S={registerExperiments(t=[]){l=t,u=null},getExperimentMetaData(t){var e={};return t.forEach((function(t){var n=s.Z.get(t+"_metadata");try{n=unescape(n),n=JSON.parse(n),e[t]=n}catch(r){return}})),e},getExperimentVariant(t,{rejectErrors:e=!0,defaultVariantIfUnbucketed:n="control",errorVariant:r=null}={}){const o=function(t){return(0,i.jH)(window.location.search)[`abeagle_${t}`]}(t);if(o)return Promise.resolve(o);let a,s=l.filter((e=>e.name===t))[0],c=h[t];return s?s.isEligible()||s.asyncIsEligible||(c={type:"ExperimentNotEligible",name:t}):c={type:"ExperimentNotFound",name:t},c?!1===e?(this.defaultErrorHandler(c),a=Promise.resolve(r)):a=Promise.reject(c):a=t in d?Promise.resolve(d[t]):new Promise(((e,n)=>{f[t]?f[t].push({resolve:e,reject:n}):f[t]=[{resolve:e,reject:n}]})),n!==v&&(a=a.then((t=>t===v?n:t))),a},isOn(t,e="on"){return(0,c.isNil)(e)?Promise.reject("onValue cannot be null or undefined"):this.getExperimentVariant(t,{rejectErrors:!1}).then((t=>t===e))},defaultErrorHandler:function(t){if(t instanceof Error)throw t;if("prod"!==window.BZFD.Config.env)switch(t.type){case"ExperimentNotFound":console.log(`Experiment "${t.name}" is not registered`);break;case"ExperimentNotEligible":console.log(`Experiment "${t.name}" is not eligible`);break;case"ExperimentServerError":console.log(`Experiment ${t.name} error: ${t.error}`)}},getVariants(t){if(t)return l.forEach((function(t){const e=s.Z.get(t.name);t.asyncIsEligible?b(t,e):t.isEligible()&&g(t.name,e)})),Promise.resolve();if(u)return Promise.resolve();const e=l.filter((t=>t.isEligible())).map((t=>t.name));return e.length?this.requestVariants(e):Promise.resolve()},requestVariants(t){const e=(new Date).getTime(),n=(0,r.TQ)();return a.Z.get(`${window.BZFD.Config.abeagle.url}/public/v2/experiment_variants`,{data:{experiment_names:t.join(";"),user_id:n,client_id:"buzz_web"},timeout:1500}).then((n=>{E(o,{responseTime:Date.now()-e}),x(n),A(t,n)})).catch(y)},async requestVariantsAsync(t){if(!t.asyncIsEligible)return;const e=await t.asyncIsEligible();if(delete t.asyncIsEligible,e){t.isEligible=()=>!0;const e=s.Z.get(t.name);e?g(t.name,e):this.requestVariants([t.name])}else g(t.name,v)},saveExperiments(t){"undefined"!==typeof t.experimentsMap&&"undefined"!==typeof t.experimentNames&&(x(t.experimentsMap),A(t.experimentNames,t.experimentsMap))},start(t){this.getVariants(t),t?t.start(l):l.forEach((t=>{if(t.asyncIsEligible)this.requestVariantsAsync(t);else if(t.isEligible()){var e=s.Z.get(t.name);e&&g(t.name,e)}else g(t.name,v)}))},reset(){l=[],f={},h={},d={},u=null,p=[]}}},89136:function(t,e,n){"use strict";var r=n(26528),i=n.n(r),o=n(83787),a=n(2601),s=n.n(a);function c(t){const e=[];for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n];null!==r&&""!==r&&"undefined"!==typeof r&&e.push(n+"="+r)}return e.join("&")}function u(t){return new Promise(((e,n)=>{setTimeout((()=>n({type:"timeout",msg:`${t}ms timeout exceeded`})),t)}))}function l({url:t}){return e=>((0,o.x)("xhr",e.type||"error",{url:t,status:e.status||0}),Promise.reject(e))}function f(t){return t.ok?Promise.resolve(t):Promise.reject({type:"error",status:t.status,statusText:t.statusText,response:t})}function d(t){return t.json()}function h(t){return t.text()}function p(t){if("dev"!==BZFD.Config.env)return t;const e=t.indexOf("?")>-1?"&":"?";return t+e+"aW50ZWdyYWxpc3RfZGlkX3RoaXNfb25fMjAxOV8xMV8xMQ=="}e.Z={get(t,{type:e="json",data:n={},params:r={},skipAuth:o,timeout:a}={}){if(!t)return Promise.reject("URL parameter is required");let m;const v=Object.assign({credentials:"same-origin"},r);let g=t;const b=c(n);switch(b&&(g+=(g.indexOf("?")>-1?"&":"?")+b),o&&(g=p(g)),e){case"json":m=i()(g,v).then(f).then(d);break;case"text":m=i()(g,v).then(f).then(h);break;case"jsonp":m=function(t){return new Promise(((e,n)=>{s()(t,((t,r)=>t?n(t):e(r)))}))}(g);break;default:m=Promise.reject(`Unsupported type ${e}`)}return(a?Promise.race([u(a),m]):m).catch(l({url:t}))},post(t,{data:e,type:n="json",params:r={},skipAuth:o=!1,raw:a=!1,timeout:s}={}){if(!t)return Promise.reject("URL parameter is required");if(!e)return Promise.reject("Can not send POST request without data");let m;o&&(t=p(t));const v=Object.assign({headers:{"Content-type":"application/x-www-form-urlencoded"},credentials:"same-origin"},r);switch(v.method="POST",v.body=a?e:c(e),n){case"json":m=i()(t,v).then(f).then(d);break;case"text":m=i()(t,v).then(f).then(h);break;default:m=Promise.reject(`Unsupported type ${n}`)}return(s?Promise.race([u(s),m]):m).catch(l({url:t}))}}},83473:function(t,e,n){"use strict";function r(t,e,n){for(var r=n?t:t.parentNode;r&&r!==document;){if(r.matches(e))return r;r=r.parentNode}return null}n.d(e,{Z:function(){return r}})},35813:function(t,e,n){"use strict";n.d(e,{z:function(){return l}});var r=n(20238),i=(n(93563),n(89136)),o=n(84030),a=n(83473);const s={get isBPage(){try{return"buzz"in window.BZFD.Context}catch(t){return!1}},get hasQuizBadge(){try{return window.BZFD.Context.buzz.badges.filter((t=>"quiz"===t.badge_type)).length>0}catch(t){return!1}},get hasQuiz(){try{return window.BZFD.Context.page.hasQuiz||this.hasQuizBadge}catch(t){return!1}},get hasList(){try{return window.BZFD.Context.buzz.format.type.match(/list/)}catch(t){return!1}},get isFeedPage(){return!!window.FEEDPAGER||!!window.BZFD.Context.feedpager},get isFeedpager(){return s.isFeedPage},get isFeed(){return!!window.BZFD.Context.isFeed},get isHomePage(){return!!BZFD.Context.homepage||"home"===s.pageName},get isBuzzblocks(){try{return"buzzblocks"===BZFD.Config.service}catch(t){return!1}},get isDev(){try{return"dev"===BZFD.Config.env}catch(t){return!1}},get isStage(){try{return"stage"===BZFD.Config.env}catch(t){return!1}},get isProd(){try{return"prod"===BZFD.Config.env}catch(t){return!1}},get isPharmaceutical(){return"emdserono"===s.author},get author(){try{return s.isBPage?BZFD.Context.buzz.username:BZFD.Context.page.username}catch(t){return null}},get pageName(){try{return BZFD.Context.page.name}catch(t){return null}},get pageCategory(){try{return BZFD.Context.page.category}catch(t){return null}},get pageVertical(){try{return BZFD.Context.page.vertical}catch(t){return null}},get pageClassification(){try{return BZFD.Context.page.classification||{}}catch(t){return{}}},get localization(){try{return(0,o.pick)(BZFD.Context.page.localization,["country","language","locale"])}catch(t){return{}}},get allPageClassifications(){try{return BZFD.Context.page.allClassifications||{}}catch(t){return{}}},get allPageSections(){try{return BZFD.Context.page.allClassifications.sections||[]}catch(t){}try{return BZFD.Context.page.sections||[]}catch(t){return[]}},get allPageEditions(){try{return BZFD.Context.page.allClassifications.editions||[]}catch(t){return[]}},get pageFilter(){try{return BZFD.Context.page.filter}catch(t){return null}},get pageFilters(){try{return BZFD.Context.page.filters||{}}catch(t){return{}}},get pageMainFilter(){try{const t=BZFD.Context.page.filters;let e;for(let n in t)if(t[n].is_main){e=n;break}return e||null}catch(t){return null}},get isWidePost(){try{return"buzz"in BZFD.Context&&"wide"===BZFD.Context.page.width}catch(t){return!1}},get facebookApiAppId(){try{return BZFD.Config.facebookApi.appId}catch(t){return null}},get facebookApiVersion(){try{return BZFD.Config.facebookApi.version}catch(t){return"v2.9"}},get isNewsPost(){try{return"news"===BZFD.Context.page.vertical}catch(t){return!1}},get buzzType(){let t="article";return s.hasQuiz?t="quiz":s.hasList&&(t="list"),t},get buzzTags(){try{return BZFD.Context.buzz.tags}catch(t){return[]}},get buzzFlags(){try{return BZFD.Context.buzz.flags}catch(t){return{}}},get locale(){try{return BZFD.Context.page.localization.locale}catch(t){return"en_US"}},get hasTranslations(){try{return!!BZFD.Context.page.localization.translations}catch(t){return!1}},get webRoot(){try{return BZFD.Config.webRoot}catch(t){return""}},get prebidUnits(){try{BZFD.Config.ads.prebidUnits.length}catch(t){(0,o.set)(window,"BZFD.Config.ads.prebidUnits",[])}return BZFD.Config.ads.prebidUnits},get programmaticSizes(){try{return BZFD.Config.ads.programmaticSizes}catch(t){throw new Error("`BZFD.Config.ads` is not defined, which may cause ads to work incorrectly; use `bf_ads.get_ads_config` to make the config")}},get contextDestination(){let t,e;try{t=BZFD.Context.buzz.destination}catch(n){t=null}try{e=BZFD.Context.page.destination}catch(n){e=null}return t||e||"buzzfeed"},get isShopping(){try{return"Shopping"===s.pageCategory||-1!==s.allPageSections.indexOf("Shopping")}catch(t){return!1}},get isCommerce(){try{return!(!this.isShopping&&!s.buzzTags.some((t=>"intlcomtent"===t||"comtent"===t)))}catch(t){return!1}},get isCommunity(){return"Community"===s.pageCategory},get isAsIs(){try{return s.isBPage&&/^(As\/?Is)/im.test(s.pageClassification.section)||"asis"===s.pageName}catch(t){return!1}},get isBFO(){try{return"buzzfeed"===s.contextDestination}catch(t){return!1}},get isBFN(){try{return"buzzfeed_news"===s.contextDestination}catch(t){return!1}},get buzzId(){try{return BZFD.Context.buzz.id}catch(t){return""}},isAdPost(t){try{const e=function(t){let e=null;try{const n=(0,a.Z)(t,".js-buzz",!0);n&&(e=JSON.parse(n.querySelector("script").textContent).context)}catch(n){}return e}(t);return!!e.buzz.flags.ad}catch(e){}try{return!!BZFD.Context.buzz.flags.ad}catch(e){return!1}}};var c=s,u=(n(44488),n(39738));function l(t,e={},n,o="v1"){const a=n&&"control"!==n?`${t.uri}/${n}`:t.uri;let s=`${e.origin||c.webRoot}/site-component/${o}`;const l=e.localization&&e.localization.getEdition?e.localization.getEdition():u.ZP.getEdition(e.service),f=t.edition(l,n);f&&(s=`${s}/${f}`);const d=function(t){let e={buzzIds:"buzz_ids",page:"page",pageSize:"page_size",imageCrop:"image_crop",advertiserId:"advertiser_id",showName:"show_name",keywords:"keywords",fields:"fields",q:"q",qFuzzy:"q__fuzzy",username:"username",areaId:"area_id",startId:"start_id",startFrom:"start_from",convertLinks:"convert_links",platform:"platform"};return Object.keys(e).reduce(((n,r)=>{let i=e[r],o=t[r];return o&&(n[i]=o),n}),{})}(e);Object.assign(d,e.extraParams);const h=Object.keys(d).length>0?(0,r.nZ)(d):"";return i.Z.get(`${s}/${a}${h}`,{skipAuth:!0}).then((e=>Promise.resolve(t.view(e))))}},29392:function(t,e){"use strict";function n(t,e){const n=t.match(e);return n&&n.length?n[0]:null}function r(){return"prod"===window.BZFD.Config.env?"buzzfeed.com":window.location.hostname}e.Z={getBuzzfeedSubdomainOrWildcard(t){const e=n(t,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$");return e||n(t,".?[a-z]+.[a-z]+$")},get(t,e=null){const n=`${t}=`,r=document.cookie.split(";");for(let i=0;ifalse,getViewportHeight:()=>window.innerHeight||r.clientHeight,getViewportWidth:()=>window.innerWidth||r.clientWidth},s=n(83473);function c(t,{properties:e=["any"]}={}){const n=["transitionend","webkitTransitionEnd","mozTransitionEnd","oTransitionEnd"],r={},i=[];function o(t){"any"in r?r.any(t):t.propertyName in r&&r[t.propertyName](t)}e.forEach((t=>{let e;const n=new Promise((t=>e=t));i.push(n),r[t]=e})),n.forEach((e=>t.addEventListener(e,o)));const a=Promise.all(i);return a.unsubscribe=function(){n.forEach((e=>t.removeEventListener(e,o)))},a.then(a.unsubscribe),a}"undefined"!==typeof document&&(function(){if(!(document.createElementNS("http://www.w3.org/2000/svg","g").classList instanceof DOMTokenList))try{Object.defineProperty(SVGElement.prototype,"classList",Object.getOwnPropertyDescriptor(HTMLElement.prototype,"classList")||Object.getOwnPropertyDescriptor(Element.prototype,"classList"))}catch(t){}}(),function(){try{const t=document.createElement("div");if(t.classList.add("foo","bar"),t.classList.contains("bar"))return;const e=DOMTokenList.prototype.add,n=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(...t){t.forEach((t=>e.call(this,t)))},DOMTokenList.prototype.remove=function(...t){t.forEach((t=>n.call(this,t)))}}catch(t){}}()),"undefined"!==typeof NodeList&&(NodeList.prototype.forEach||(NodeList.prototype.forEach=Array.prototype.forEach));var u={stringToHTML(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes},arrayFromNodeList:t=>[].slice.call(t),withNodeList(t,e){return"string"===typeof t&&(t=this.stringToHTML(t)),t instanceof HTMLElement&&(t=[t]),(t instanceof NodeList||Array.isArray(t))&&Array.prototype.slice.call(t).forEach((t=>e(t))),this},append(t,e){"undefined"===typeof e&&(e=t,t=document.body);return this.withNodeList(e,(e=>t.appendChild(e)))},prepend(t,e,n=0){"undefined"===typeof e&&(e=t,t=document.body);let r=t.children[n];return this.withNodeList(e,(e=>t.insertBefore(e,r)))},remove(...t){let e=[];return t.forEach((t=>{t instanceof Element&&t.parentNode&&e.push(t.parentNode.removeChild(t))})),e},find:(t,e)=>Array.prototype.slice.call(t.querySelectorAll(e)),findOne:(t,e)=>t.querySelector(e),closest:(t,e)=>(0,s.Z)(t,e,!0),addClass(t,e){Array.isArray(t)||(t=[t]);let n=e.split(" ");t.forEach((t=>n.forEach((e=>t.classList.add(e)))))},removeClass(t,e){Array.isArray(t)||(t=[t]);let n=e.split(" ");t.forEach((t=>n.forEach((e=>t.classList.remove(e)))))},hasClass:(t,e)=>(Array.isArray(t)||(t=[t]),t.some((t=>t.classList.contains(e)))),toggleClass(t,e){Array.isArray(t)||(t=[t]),"string"===typeof t&&(t=this.find(t)),e.split(" ").forEach((e=>t.forEach((t=>t.classList.toggle(e)))))},matches:(()=>{if("undefined"===typeof Element)return()=>!1;const t=Element.prototype,e=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||function(t){return[].indexOf.call(document.querySelectorAll(t),this)>-1};return(t,n)=>e.call(t,n)})(),getViewPosition:function(t,e,n){var r=t.getBoundingClientRect(),i=a.getViewportHeight();n=n||0;var o=0-(e=e||0),s=i+e,c={top:r.top-n,bottom:r.bottom-n};return{isHidden:function(){return!t.offsetParent},isWithinViewport:function(){return c.top>=0&&c.bottom<=i},isWithinLookahead:function(){return c.top>=o&&c.bottom<=s},isPartiallyInViewport:function(){return c.top>=0&&c.top<=i||c.bottom>0&&c.bottom0?c.top0||Math.abs(c.bottom)t.addEventListener(e,r)))},one(t,e,n,r){const i=this;"function"===typeof n&&(r=n,n=null);const o=function(n){r.call(this,n),i.off(t,e,o)};return i.on(t,e,o),o},off(t,e,n){e.split(" ").forEach((e=>t.removeEventListener(e,n)))},trigger(t,e){document.createEvent&&e.split(" ").forEach((e=>{let n=document.createEvent("Event");n.initEvent&&(n.initEvent(e,!1,!0),t.dispatchEvent(n))}))},hide(t,e){var n=e?this.find(t,e):t;return this.addClass(n,"js-hidden"),this},show(t,e){var n=e?this.find(t,e):t;return this.hasClass(n,"js-hidden")?this.removeClass(n,"js-hidden"):(Array.isArray(n)||(n=[n]),n.forEach((t=>this.setStyle(t,{display:"block"})))),this},getData(t,e){return"string"===typeof t&&(t=this.stringToHTML(t)[0]),t.getAttribute(`data-${e}`)},setData(t,e,n){return"string"===typeof t&&(t=this.stringToHTML(t)[0]),t.setAttribute(`data-${e}`,n),!0},getStyle:(t,e)=>t.style[e],setStyle(t,e){for(let n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return this},getAttr:(t,e)=>t.getAttribute(e),setAttr(t,e){for(let n in e)e.hasOwnProperty(n)&&t.setAttribute(n,e[n]);return this},removeAttr(t,e){return t.removeAttribute(e),this},hasAttr:(t,e)=>t.hasAttribute(e),getText(t,e){var n=e?this.findOne(t,e):t;return n?n.textContent:""},setText(t,e,n){var r=n?this.findOne(t,n):t;return r&&(r.textContent=e),this},setHTML(t,e,n){var r=n?this.findOne(t,n):t;return r&&(r.innerHTML=e),this},parent:(t,e)=>(0,s.Z)(t,e),getModuleConfig:function(t,e){const n=t.querySelector("script");return e?n:n?JSON.parse(n.text):null},createElement(t,e){var n=document.createElement(t);return this.setAttr(n,e),n},scrollIntoView(t,e){const n=this;e?setTimeout((function(){n.scrollIntoView(t)}),e):t.scrollIntoView?t.scrollIntoView():window.scrollTo(0,t.offsetTop)},offset(t,e){var n=e?this.findOne(t,e):t;return n?{top:n.offsetTop,left:n.offsetLeft}:{}},size:t=>({width:t.offsetWidth,height:t.offsetHeight}),detectTransitionEnd:c}},39738:function(t,e,n){"use strict";n.d(e,{ME:function(){return u}});var r=n(84030),i=n(29392),o=n(82732);const a=()=>{try{return window.BZFD.Context.page.localization}catch(t){return{}}},s=()=>a().translations||{},c={de:["de"],en:["au","ca","in","uk","us"],es:["es","mx"],fr:["fr"],ja:["jp"],pt:["br"]};function u(t){return s()[t]||""}e.ZP={getEdition:function(t={}){(0,r.isString)(t)&&(t="feedpager"===t?{useCountryCookie:!1}:{}),t=Object.assign({},{useCountryCookie:!0},t);let e=a().country,[n,o=""]=e.split("-");if("en"===a().language&&t.useCountryCookie){let t=i.Z.get("country");t||(t=o||"us"),[n,o]=t.split("-"),o||"es"===n||(o=n,n=Object.keys(c).filter((t=>-1!==c[t].indexOf(n)))[0])}return c[n]&&-1!==c[n].indexOf(o)?`${n}-${o}`:"es"===n?"es":"en-us"},getRawPageLanguage:function(){return-1!==Object.keys(c).indexOf(a().language)?a().language:"en"},getPageLocale:()=>a().locale,getUserCountry:()=>i.Z.get("country")||"us",getUserGeoCountry:()=>i.Z.get("bf-geo-country")||"US",getTranslation(t,e,n){if(!s()[t])throw new Error("Missing translation "+t+" for "+this.getRawPageLanguage());let r=n?{delimiters:n}:{};return o.Z.renderString(s()[t],e,r)},getTranslationStr:u,getDateFormatTemplate(){switch(a().language){case"de":return"{{D}}. {{MM}} {{Y}}, {{H}}:{{m}} Uhr";case"es":case"pt":return"{{D}} de {{MM}} de {{Y}}, {{h}}:{{m}} {{a}}";case"fr":return"{{D}} {{MM}}, {{Y}} à {{H}} h {{m}}";case"ja":return"{{Y}}/{{M}}/{{DD}} {{H}}:{{m}}";default:return"{{MM}} {{D}}, {{Y}}, at {{h}}:{{m}} {{a}}"}}}},97083:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(39738);function i(t){return t.env?(t.env.addFilter("tojson",t.env.filters.dump),t.env.addFilter("prependClickTracker",((t,e)=>function(t,e){return!t||t.length<0?e:t+encodeURIComponent(e)}(e,t))),t.env.addFilter("l10n",((t,e)=>function(t,e=""){try{let n=(0,r.ME)(t);return n.length<=0?e:n}catch(n){console.error("error fetching translation: "+n)}return e}(e,t))),t.env.addFilter("regex_match",((t,e)=>t.match(new RegExp(e)))),t):t}function o(t){return i(t),function(t){t.env.addGlobal("i18n",window.BZFD.Context.page.localization.translations),t.env.addGlobal("utils",{transGif1x1Base64:"data:image/gif;base64,R0lGODlhAQABAPAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",transGif3x2Base64:"data:image/gif;base64,R0lGODlhAwACAPAAAAAAAAAAACH5BAEAAAAALAAAAAADAAIAAAIChF8AOw=="}),t.env.addGlobal("config",window.BZFD.Config)}(t),t}},82732:function(t,e,n){"use strict";var r=n(50112),i=n.n(r);e.Z={renderString:(t,e,n={})=>i().compile(t,n).render(e)}},53428:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(4180),i=n(44629);class o{constructor({cookieName:t,daysExpiry:e,env:n,namespace:o,sourceOfTruthDomain:a,throttleTimer:s=null,secureOnly:c=!0,localDomain:u=(0,i.g)()}){n="live"===n?"prod":n,this.xDomainCookies=new r.Z({sourceOfTruthDomain:a||(0,i.Y)(n),namespace:o,localDomain:u,env:n}),this.cookieName=t,this.daysExpiry=e,this.secureOnly=c,this.throttleTimer=s,this.inMemoryValue=null}get(){return this.throttle?Promise.resolve(this.inMemoryValue):this.xDomainCookies.get(this.cookieName).then((t=>(this.inMemoryValue=t,this.resetThrottle(),t)))}set(t){return this.inMemoryValue=t,this.xDomainCookies.set({name:this.cookieName,value:t,days:this.daysExpiry,secureOnly:this.secureOnly})}resetThrottle(){this.throttleTimer&&(this.throttle=setTimeout((()=>{this.throttle=null}),this.throttleTimer))}}},44629:function(t,e,n){"use strict";n.d(e,{g:function(){return r},Y:function(){return i}});const r=function(t=window){var e=t.location.hostname;const n=e.split(".")[0];return n&&"stage"!==n&&-1===["buzzfeed","buzzfeednews","tasty","huffpost","huffingtonpost"].indexOf(n)&&e.split(".").length>=3&&(e=e.substring(n.length+1)),e},i=function(t="dev"){return"dev"===t?"dev.buzzfeed.io":"prod"===t||"app-west"===t?"buzzfeed.com":"stage.buzzfeed.com"}},4180:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(74337);const i="destination-sync-init",o="destination-sync-read",a=function(t){return t.match(/^stage\./)?`https://${t}`:`https://www.${t}`};class s{constructor({sourceOfTruthDomain:t,localDomain:e,namespace:n,env:r="dev",updateInterval:i=3e5,iframeTimeout:o=3e3}){this.sourceOfTruthDomain=t,this.localDomain=e,this.env=r,this.namespace=n,this.iframeTimeout=o,this.cookies={},t!==e&&this.initIframe().then((()=>{setInterval(this.updateFromIframe.bind(this),i)})).catch((()=>{}))}get(t){return this.sourceOfTruthDomain===this.localDomain?Promise.resolve(r.Z.get(t)):this.initIframe().then((()=>this.cookies[t]||r.Z.get(t))).catch((()=>r.Z.get(t)))}set({name:t,value:e,days:n,secureOnly:i=!0}){r.Z.set({name:t,value:e,days:n,domain:this.localDomain}),this.sourceOfTruthDomain!==this.localDomain&&this.initIframe().then((()=>{var r={namespace:this.namespace,msgType:"destination-sync-write",cookieName:t,cookieVal:e,expiresDays:n,secureOnly:i};const o=a(this.sourceOfTruthDomain);this.iframe.contentWindow.postMessage(JSON.stringify(r),o)})).catch((()=>r.Z.set({name:t,value:e,days:n,domain:this.localDomain})))}cleanup(){if(this.boundOnMessage&&window.removeEventListener("message",this.boundOnMessage),this.iframe){const t=new ErrorEvent({message:"XDomainCookies were cleaned up before ready"});this.iframe.dispatchEvent(t),this.iframe.remove()}this.iframeReady=null}initIframe(){if(this.iframeReady)return this.iframeReady;let t=new Promise(((t,e)=>{this.boundOnMessage=e=>{this.onMessage(e,t)},window.addEventListener("message",this.boundOnMessage),this.createIframe(e)}));var e;return this.iframeReady=Promise.race([(e=this.iframeTimeout,new Promise(((t,n)=>{const r={type:"timeout",msg:`${e}ms timeout exceeded`};setTimeout((()=>n(r)),e)}))),t]).catch((t=>{throw"prod"===this.env&&window.raven&&window.raven.captureException("timeout"===t.type?new Error(`Destination Sync: ${t.msg}`):t),console.error(t),t})),this.iframeReady}createIframe(t){const e=`xdomaincookies-${this.namespace}`,n=document.getElementById(e);if(n)return n.addEventListener("error",(e=>{t(e)})),this.iframe=n,void(this.iframe.dataset.loaded&&this.updateFromIframe());const r=JSON.stringify({namespace:this.namespace,windowOrigin:window.location.origin}),i=document.createElement("iframe");i.style.display="none",i.addEventListener("error",(e=>{t(e)})),i.id=e,i.src=function(t,e){return`${a(t)}/destination-sync.html#${encodeURIComponent(e)}`}(this.sourceOfTruthDomain,r),this.iframe=i,document.body.appendChild(i)}updateFromIframe(){const t={namespace:this.namespace,msgType:o},e=a(this.sourceOfTruthDomain);this.iframe.contentWindow.postMessage(JSON.stringify(t),e)}onMessage(t,e){let n={};try{n=JSON.parse(t.data)}catch(r){}n.namespace===this.namespace&&(n.msgType===i&&(this.iframe.dataset.loaded=!0),n.msgType!==i&&n.msgType!==o||(this.cookies=n.cookies),e())}}},56792:function(t,e,n){"use strict";n.d(e,{D1:function(){return a},NJ:function(){return c},mG:function(){return u},mL:function(){return p}});var r=n(80341);const i=["buzzId","subbuzzPos","subbuzzCount","platform","module","rank","origin","experiment","linkId","pubhubId","bioId"],o={buzzId:"-1",subbuzzPos:0,subbuzzCount:0,platform:"mobile_web",module:0,rank:0,origin:0,experiment:"0:0",linkId:0,pubhubId:0,bioId:0},a=t=>(t=>!(!t||!t.match(/^(https?:\/\/)?aax-us-east\.amazon-adsystem\.com.*$/)))(t)||!(!t||!t.match(/^(https?:\/\/)?[^/]*(amazon|amzn)\..*$/)),s=t=>/^https?:\/\/out(-stage)?.buzzfeed.com\/v1\/?.+/.test(t),c=t=>/\?/.test(t)&&(0,r.jH)(t)||{},u=(t,e={})=>{const n=Object.assign(c(t),e),i=(0,r.nZ)(n);return`${(0,r.SV)(t)}${i}`},l=t=>{const e={},n=c(t);if(n.ascsubtag){const t=decodeURIComponent(n.ascsubtag).split(",");for(let n of i)e[n]=t.length?t.shift():o[n]}return e},f=t=>a(t)?l(t):s(t)?(t=>{let e=new URL(t).searchParams.get("url");return l(e)})(t):t,d=(t,e={})=>(e=Object.assign(f(t),e),u(t,{ascsubtag:i.map((t=>e[t])).join(",")})),h=(t,e={})=>{let n=new URL(t),r=n.searchParams.get("url");return a(r)&&(r=d(r,e),n.searchParams.set("url",r),t=n.toString()),t},p=(t,e={})=>a(t)?d(t,e):s(t)?h(t,e):t},74337:function(t,e){"use strict";function n(t,e){const n=t.match(e);return n&&n.length?n[0]:null}e.Z={getBuzzfeedSubdomainOrWildcard(t){const e=n(t,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$");return e||n(t,".?[a-z]+.[a-z]+$")},get(t,e=null){const n=`${t}=`;if("undefined"===typeof document)return e;const r=document.cookie.split(";");for(let i=0;i{const i=new FileReader;i.onload=t=>{t&&t.target&&t.target.result?e(t.target.result):n(r)},i.onabort=i.onerror=()=>n(r),i.readAsDataURL(t)}))}(t);if(!e||-1===e.indexOf("image"))throw r;return e}async function o(t,{fixOrientation:e=!0}={}){if(!t)throw"`file` is required";if(!s(t))throw"Wrong file type";let n;try{n=await i(t)}catch(r){n=a(t)}if(!e)return n;try{const e=await async function(t){const e=await function(t){return new Promise(((e,n)=>{const r=new FileReader;r.onload=t=>e(t.target.result),r.onabort=r.onerror=n,r.readAsArrayBuffer(t)}))}(t),n=new DataView(e);if(65496!==n.getUint16(0,!1))return-2;let r=n.byteLength,i=2;for(;i8)return t;const n=await function(t){return new Promise(((e,n)=>{const r=new Image;r.onload=()=>e(r),r.onabort=r.onerror=n,r.src=t}))}(t),r=n.width,i=n.height,o=document.createElement("canvas"),a=o.getContext("2d");4{if(t.ok||400===t.status)return t;throw new Error("Request failed")})).then((()=>{const e=r.Z.get("_xsrf");fetch("/auth/ad-track-token/hem",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email:t,_xsrf:e})}).then((t=>{if(t.ok)return t;throw new Error("Request failed")})).then((t=>{console.log("The request was successful!"),console.log("Response status:",t.status)})).catch((t=>{console.error("Error:",t)}))})).catch((t=>{console.error("Error:",t)})):(()=>{const t=r.Z.getBuzzfeedSubdomainOrWildcard(window.location.hostname);r.Z.set({name:"hem",value:"",days:-30,domain:t})})())}var o=n(56461),a=(n(21415),n(4821));n(53428),n(44629);function s(t,e,n){var r,i,o,a,s,c,u;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(e,10)>0?e:0,this.salt="string"===typeof t?t:"","string"===typeof n&&(this.alphabet=n),r="",i=0,a=this.alphabet.length;i!==a;i++)-1===r.indexOf(this.alphabet[i])&&(r+=this.alphabet[i]);if(this.alphabet=r,this.alphabet.lengththis.sepDiv)&&(1===(s=Math.ceil(this.alphabet.length/this.sepDiv))&&s++,s>this.seps.length?(c=s-this.seps.length,this.seps+=this.alphabet.substr(0,c),this.alphabet=this.alphabet.substr(c)):this.seps=this.seps.substr(0,s)),this.alphabet=this.consistentShuffle(this.alphabet,this.salt),u=Math.ceil(this.alphabet.length/this.guardDiv),this.alphabet.length<3?(this.guards=this.seps.substr(0,u),this.seps=this.seps.substr(u)):(this.guards=this.alphabet.substr(0,u),this.alphabet=this.alphabet.substr(u))}s.prototype.encode=function(){var t,e,n="",r=Array.prototype.slice.call(arguments);if(!r.length)return n;for(r[0]instanceof Array&&(r=r[0]),t=0,e=r.length;t!==e;t++)if("number"!==typeof r[t]||r[t]%1!==0||r[t]<0)return n;return this._encode(r)},s.prototype.decode=function(t){return t.length&&"string"===typeof t?this._decode(t,this.alphabet):[]},s.prototype.encodeHex=function(t){var e,n,r;if(t=t.toString(),!/^[0-9a-fA-F]+$/.test(t))return"";for(e=0,n=(r=t.match(/[\w\W]{1,12}/g)).length;e!==n;e++)r[e]=parseInt("1"+r[e],16);return this.encode.apply(this,r)},s.prototype.decodeHex=function(t){var e,n,r=[],i=this.decode(t);for(e=0,n=i.length;e!==n;e++)r+=i[e].toString(16).substr(1);return r},s.prototype._encode=function(t){var e,n,r,i,o,a,s,c,u,l,f,d=this.alphabet,h=t.length,p=0;for(r=0,i=t.length;r!==i;r++)p+=t[r]%(r+100);for(n=e=d[p%d.length],r=0,i=t.length;r!==i;r++)o=t[r],a=n+this.salt+d,d=this.consistentShuffle(d,a.substr(0,d.length)),e+=s=this.hash(o,d),r+10&&(e=e.substr(f/2,this.minHashLength));return e},s.prototype._decode=function(t,e){var n,r,i,o,a=[],s=0,c=new RegExp("["+this.guards+"]","g"),u=t.replace(c," "),l=u.split(" ");if(3!==l.length&&2!==l.length||(s=1),"undefined"!==typeof(u=l[s])[0]){for(n=u[0],u=u.substr(1),c=new RegExp("["+this.seps+"]","g"),s=0,r=(l=(u=u.replace(c," ")).split(" ")).length;s!==r;s++)i=l[s],o=n+this.salt+e,e=this.consistentShuffle(e,o.substr(0,e.length)),a.push(this.unhash(i,e));this._encode(a)!==t&&(a=[])}return a},s.prototype.consistentShuffle=function(t,e){var n,r,i,o,a,s;if(!e.length)return t;for(o=t.length-1,a=0,s=0;o>0;o--,a++)s+=n=e[a%=e.length].charCodeAt(0),i=t[r=(n+a+s)%o],t=(t=t.substr(0,r)+t[o]+t.substr(r+1)).substr(0,o)+i+t.substr(o+1);return t},s.prototype.hash=function(t,e){var n="",r=e.length;do{n=e[t%r]+n,t=parseInt(t/r,10)}while(t);return n},s.prototype.unhash=function(t,e){var n,r=0;for(n=0;n(t^(()=>{try{return crypto.getRandomValues(new Uint8Array(1))[0]}catch(t){return 255*Math.random()}})()&15>>t/4).toString(16)));n(4180),n(96989);var c=n(77720);n(46173),n(82149),n(79758),n(44823),n(2995),n(28039),n(56792)},56461:function(t,e,n){"use strict";function r(t,e=document.head,n=!0){return new Promise(((r,i)=>{const o=document.createElement("script");o.onload=()=>r(o),o.onerror=()=>{i(`Script at url ${t} failed to load`)},o.src=t,o.async=n,o.type="text/javascript",e.appendChild(o)}))}n.d(e,{v:function(){return r}})},46173:function(t,e,n){"use strict";n.d(e,{pP:function(){return i}});var r=n(74337);function i(){return r.Z.get("bf-geo-country")||"US"}},82149:function(t,e,n){"use strict";const r=(t,e="",n="")=>{if("undefined"!==typeof window&&"string"===typeof t&&t){const r=e||"_blank";window.open(t,r,n)}};e.ZP={openPopup:(t,e={})=>{if("string"===typeof t&&t){const n=e.name||"",i={scrollbars:1,toolbar:0,status:0};e&&e.height&&e.width&&Object.assign(i,{width:e.width,height:e.height,top:window.screen.height/2-e.height/2,left:window.screen.width/2-e.width/2});const o=Object.keys(i).map((t=>`${t}=${i[t]}`)).join(",");r(t,n,o)}},openTab:t=>{r(t)}}},80341:function(t,e,n){"use strict";function r(t){return(t+="").indexOf("#")>-1?t.substr(t.indexOf("#"),t.length):""}function i(t){return(t+="").indexOf("#")>-1?t.substr(0,t.indexOf("#")):t}function o(t){return t.indexOf("?")>-1}function a(t){if(""===t||void 0===t||null===t)return{};t.indexOf("?")>-1&&(t=t.substr(t.indexOf("?")+1,t.length));const e=(t=i(t)).split("&"),n={};return e.forEach((t=>{let[e,r=null]=t.split("=");n[e]=r})),n}function s(t,e="?"){let n=[];return Object.keys(t).forEach((e=>{n.push(`${e}=${encodeURIComponent(t[e])}`)})),(e||"")+n.join("&")}n.d(e,{jH:function(){return a},nZ:function(){return s},dn:function(){return c},SV:function(){return u}});function c(t){const e=function(t){let e="";return o(t=i(t))&&(e=t.substr(t.indexOf("?"),t.length)),e}(t);return a(e)}function u(t){return t=function(t){if(!o(t))return t;const e=r(t);return(t=i(t)).substr(0,t.indexOf("?"))+e}(t=i(t))}},44823:function(t,e,n){"use strict";n.d(e,{an:function(){return i}});const r={pinterest:"pinterest",twitter:"twitter","t.co":"twitter",facebook:"facebook","m.facebook":"facebook",fban:"facebook",google:"google",youtube:"youtube"},i=t=>{const e=t||("undefined"!==typeof window?window:null);return e&&((t=>{let e=(t.match(/(m\.)?facebook|t\.co|pinterest|google|youtube/i)||[])[0];return e&&(e=e.toLowerCase()),r[e]})(document.referrer)||(t=>{let e=(t.match(/fban|twitter|pinterest|google|youtube/i)||[])[0];return e&&(e=e.toLowerCase()),r[e]})(navigator.userAgent)||(t=>{let e=(t.match(/referrer=(\w+)/)||[])[1];return e&&(e=e.toLowerCase()),r[e]})(e.location.search))||""}},21415:function(t,e,n){"use strict";n.d(e,{lN:function(){return i}});var r=n(74337);n(53428);const i=()=>r.Z.get("bf-xdomain-session-uuid","")},2995:function(t,e,n){"use strict";n.d(e,{O1:function(){return o},BN:function(){return l}});var r=n(77720),i=n(80341);const o=(t,e,n)=>{let o="",a={},s="?";if("email"===e){const{body:e,title:r}=n;o="mailto:",a={body:e||t},r&&(a.subject=r)}if("bluesky"===e){const{title:e}=n;o="https://bsky.app/intent/compose",a={text:`${e?e+"\n\n":""}${t}`}}else if("facebook"===e){const{fbAppId:e,quote:r,redirectUri:i}=n;o="https://www.facebook.com/dialog/share",a={href:t,app_id:e},r&&(a.quote=r),i&&(a.redirect_uri=i)}else if("lineapp"===e){const{title:e}=n;o=`https://line.me/R/msg/text/?${encodeURIComponent(e)}%0A%0A${encodeURIComponent(t)}`,s="",a={}}else if("pinterest"===e){const{images:e,title:r}=n,i=e&&e[0]&&e[0].url?e[0].url:"";o="https://pinterest.com/pin/create/button/",a={url:t},r&&(a.description=r),i&&(a.media=i)}else if("sms"===e){const{title:e}=n;o="sms:",a={body:`${e?e+"\n\n":""}${t}`},s="undefined"!==typeof window&&(0,r.gc)()?"?":"&"}else if("snapchat"===e)o="https://production-05101132-dot-context-www.appspot.com/scan",a={attachmentUrl:t};else if("twitter"===e){const{via:e,title:r}=n;o="https://twitter.com/intent/tweet",a={url:t},r&&(a.text=r),e&&(a.via=e)}else if("vk"===e){const{image:e,title:r}=n;o="https://vk.com/share.php",a={url:t},e&&(a.image=e),r&&(a.title=r)}else if("whatsapp"===e){const{title:e}=n;o="https://wa.me/",a={text:`${e?e+"\n\n":""}${t}`}}return o?`${o}${(0,i.nZ)(a,s)}`:""};var a={getShareUrl:o,redirect:t=>{"undefined"!==typeof window&&"string"===typeof t&&t&&(window.location.href=t)}};var s=t=>{let e,n;if("string"!==typeof t&&"number"!==typeof t)return!1;n=document.createElement("textarea"),n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style.left="-9999px",n.style.top=`${window.pageYOffset||document.documentElement.scrollTop}px`,n.setAttribute("readonly",""),n.value=t,document.body.appendChild(n),n.select(),n.setSelectionRange(0,n.value.length);try{e=document.execCommand("copy")}catch(r){e=!1}return document.body.removeChild(n),e},c=n(82149);const u={bluesky:(t,e,n)=>{const r=a.getShareUrl(t,"bluesky",e);return n?c.ZP.openPopup(r,{width:550,height:750}):c.ZP.openTab(r),!0},copy:(t,{getCopyText:e,...n},r)=>{if("function"===typeof e){const i=e({...n,isDesktop:r,url:t});return s(i||t)}return s(t)},facebook:(t,e,n)=>{let r=a.getShareUrl(t,"facebook",e);return n?c.ZP.openPopup(r,{width:550,height:450}):c.ZP.openTab(r),!0},lineapp:(t,e)=>{const n=a.getShareUrl(t,"lineapp",e);return c.ZP.openTab(n),!0},pinterest:(t,e,n)=>{const r=a.getShareUrl(t,"pinterest",e);return n?c.ZP.openPopup(r,{width:550,height:450}):c.ZP.openTab(r),!0},sms:(t,e)=>{const n=a.getShareUrl(t,"sms",e);return a.redirect(n),!0},snapchat:(t,e)=>{const n=a.getShareUrl(t,"snapchat",e);return c.ZP.openTab(n),!0},twitter:(t,e,n)=>{const r=a.getShareUrl(t,"twitter",e);return n?c.ZP.openPopup(r,{width:550,height:450}):c.ZP.openTab(r),!0},vk:(t,e)=>{const n=a.getShareUrl(t,"vk",e);return c.ZP.openTab(n),!0},whatsapp:(t,e)=>{const n=a.getShareUrl(t,"whatsapp",e);return c.ZP.openTab(n),!0}},l=(t,e,n,r)=>u[e]?u[e](t,n,r):!!["email"].includes(e)},28039:function(t,e,n){"use strict";const r="sticky:members-update",i={normal:1,medium:2,high:3},o=new Map,a=new Map,s={};function c(t,e){const n={priority:t},i=new Set;o.forEach(((e,n)=>{e.priority>t||i.add(n)})),a.forEach(((t,a)=>{a!==e&&(o.has(a)&&!i.has(a)||t.forEach((t=>{try{"function"===typeof t?t(n):"fire"in t&&t.fire(r,n)}catch(e){console.error(e)}})))}))}function u(t){return"fixed"===getComputedStyle(t).position}function l(t,e){void 0===e&&(e=u(t));let{top:n,right:r,bottom:i,left:o,width:a,height:s}=t.getBoundingClientRect();const c=window.pageXOffset;return e||(o+=c,r+=c),{top:n,right:r,bottom:i,left:o,width:a,height:s}}const f={get defaultPriorities(){return i},MEMBERS_UPDATE:r,validatePriority(t){if(isNaN(Number(t))){if("string"!==typeof t)throw new TypeError("Unrecognized priority, should be a number or a name");if(void 0===(t=i[t]))throw new TypeError(`Unknown priority name, should be one of ${Object.keys(i)}`)}return t},isFixed:u,getFixedRect(t,{priority:e=i.normal,requestedTop:n="auto"}={}){e=f.validatePriority(e);const r=l(t);let o;return o="auto"===n?f.getAvailableTop(t,{priority:e,boundingRect:r}):n,r.top=o,r.bottom=o+r.height,r},subscribe(t,e=s){a.has(e)||a.set(e,new Set);a.get(e).add(t)},unsubscribe(t,e=s){const n=a.get(e);n&&(n.delete(t),e!==s&&0===n.size&&a.delete(e))},add(t,{priority:e=i.normal,requestedTop:n="auto"}={}){if(o.has(t))return f.update(t);e=f.validatePriority(e);const r=f.getFixedRect(t,{priority:e,requestedTop:n});return o.set(t,{rect:r,priority:e,requestedTop:n}),c(e,t),r.top},update(t,{forceNotify:e=!1}={}){const n=o.get(t);if(!n)throw new Error("The element is not in the registry");const{priority:r,requestedTop:i}=n,a=n.rect,s=f.getFixedRect(t,{priority:r,requestedTop:i});return n.rect=s,o.set(t,n),(e||s.top!==a.top||s.bottom!==a.bottom||s.left!==a.left||s.right!==a.right)&&c(r,t),s.top},remove(t){const e=o.get(t);e&&(t.className.includes("sticky--fixed sticky--show")||o.delete(t),c(e.priority,t))},has:t=>o.has(t),getAvailableTop(t,{priority:e=i.normal,boundingRect:n}={}){e=f.validatePriority(e);const r=[];if(o.forEach(((n,i)=>{i!==t&&n.priority>=e&&r.push(n)})),0===r.length)return 0;if(!n){const e=o.get(t);n=e?e.rect:l(t)}const a=[];return r.forEach((({rect:t})=>{(t.right>=n.left||t.left<=n.right)&&a.push(t)})),Math.max(...a.map((({bottom:t})=>t)))},getTopmostPosition(t=i.normal){t=f.validatePriority(t);const e=[];return o.forEach((n=>{n.priority>t&&e.push(n.rect.bottom)})),Math.max(...e)},reset(){o.clear(),a.clear()}};e.Z=f},79758:function(t,e,n){"use strict";n.d(e,{I:function(){return r}});const r=async({file:t,endpoint:e="/buzzfeed/_edit_super_image/tmp_wide"}={})=>{if(!t||!t.type)throw Error("Parameter 'file' is required");const n=await fetch(e,{method:"POST",body:t,headers:{"Content-Type":t.type}});if(!n.ok)throw Error({type:"error",status:n.status,statusText:n.statusText});const r=await n.json();if(!r||!r.uploaded||"false"===r.uploaded)throw Error("Server error");return r}},4821:function(t,e,n){"use strict";n.d(e,{bG:function(){return i}});var r=n(74337);function i(){return function(t){if(!t)return null;const e=decodeURIComponent(t).split("&"),n=e.findIndex((t=>t.match("^image=")));if(-1!==n&&e[n+1]&&e[n+1].match("^crop=")){const t=e.splice(n+1,1);e[n]+="&"+t}return e.reduce(((t,e)=>{const[n,...r]=e.split("="),i=r.join("=");return t[n]=decodeURIComponent(i),t}),{})}(r.Z.get("bf2-b_info"))||null}},39941:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(2784),i=n(13980),o=n.n(i),a=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,a));return r.createElement("div",s({},e,{ref:this.handleRecaptchaRef}))},i}(r.Component);l.displayName="ReCAPTCHA",l.propTypes={sitekey:o().string.isRequired,onChange:o().func,grecaptcha:o().object,theme:o().oneOf(["dark","light"]),type:o().oneOf(["image","audio"]),tabindex:o().number,onExpired:o().func,onErrored:o().func,size:o().oneOf(["compact","normal","invisible"]),stoken:o().string,hl:o().string,badge:o().oneOf(["bottomright","bottomleft","inline"]),isolated:o().bool},l.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var f=n(42158),d="onloadcallback";function h(){return"undefined"!==typeof window&&window.recaptchaOptions||{}}var p=(0,f.Z)((function(){var t=h(),e=t.useRecaptchaNet?"recaptcha.net":"www.google.com";return t.enterprise?"https://"+e+"/recaptcha/enterprise.js?onload="+d+"&render=explicit":"https://"+e+"/recaptcha/api.js?onload="+d+"&render=explicit"}),{callbackName:d,globalName:"grecaptcha",attributes:h().nonce?{nonce:h().nonce}:{}})(l)},42719:function(t,e){"use strict";e.Z=function(){for(var t=[],e=0;e":7,"=":8,_v:9,"{":10,"&":11,_t:12},t.scan=function(n,r){var i=n.length,o=0,a=null,s=null,f="",d=[],h=!1,p=0,m=0,v="{{",g="}}";function b(){f.length>0&&(d.push({tag:"_t",text:new String(f)}),f="")}function y(n,r){if(b(),n&&function(){for(var n=!0,r=m;r"==i.tag&&(i.indent=d[o].text.toString()),d.splice(o,1));else r||d.push({tag:"\n"});h=!1,m=d.length}function w(t,e){var n="="+g,r=t.indexOf(n,e),i=u(t.substring(t.indexOf("=",e)+1,r)).split(" ");return v=i[0],g=i[i.length-1],r+n.length-1}for(r&&(r=r.split(" "),v=r[0],g=r[1]),p=0;p0;){if(c=e.shift(),o&&"<"==o.tag&&!(c.tag in f))throw new Error("Illegal content in < super tag.");if(t.tags[c.tag]<=t.tags.$||h(c,i))r.push(c),c.nodes=d(e,c.tag,r,i);else{if("/"==c.tag){if(0===r.length)throw new Error("Closing tag without opener: /"+c.n);if(s=r.pop(),c.n!=s.n&&!p(c.n,s.n,i))throw new Error("Nesting error: "+s.n+" vs. "+c.n);return s.end=c.i,a}"\n"==c.tag&&(c.last=0==e.length||"\n"==e[0].tag)}a.push(c)}if(r.length>0)throw new Error("missing closing tag: "+r.pop().n);return a}function h(t,e){for(var n=0,r=e.length;n":y,"<":function(e,n){var r={partials:{},code:"",subs:{},inPartial:!0};t.walk(e.nodes,r);var i=n.partials[y(e,n)];i.subs=r.subs,i.partials=r.partials},$:function(e,n){var r={subs:{},code:"",partials:n.partials,prefix:e.n};t.walk(e.nodes,r),n.subs[e.n]=r.code,n.inPartial||(n.code+='t.sub("'+g(e.n)+'",c,p,i);')},"\n":function(t,e){e.code+=E('"\\n"'+(t.last?"":" + i"))},_v:function(t,e){e.code+="t.b(t.v(t."+b(t.n)+'("'+g(t.n)+'",c,p,0)));'},_t:function(t,e){e.code+=E('"'+g(t.text)+'"')},"{":w,"&":w},t.walk=function(e,n){for(var r,i=0,o=e.length;i=0;c--)if(void 0!==(o=e(t,n[c],s))){a=!0;break}return a?(i||"function"!=typeof o||(o=this.mv(o,n,r)),o):!i&&""},ls:function(t,e,n,r,i){var o=this.options.delimiters;return this.options.delimiters=i,this.b(this.ct(c(t.call(e,r)),e,n)),this.options.delimiters=o,!1},ct:function(t,e,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(t,this.options).render(e,n)},b:function(t){this.buf+=t},fl:function(){var t=this.buf;return this.buf="",t},ms:function(t,e,n,r,i,o,a){var s,c=e[e.length-1],u=t.call(c);return"function"==typeof u?!!r||(s=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(u,c,n,s.substring(i,o),a)):u},mv:function(t,e,n){var r=e[e.length-1],i=t.call(r);return"function"==typeof i?this.ct(c(i.call(r)),r,n):i},sub:function(t,e,n,r){var i=this.subs[t];i&&(this.activeSub=t,i(e,n,this,r),this.activeSub=!1)}};var n=/&/g,r=//g,o=/\'/g,a=/\"/g,s=/[&<>\"\']/;function c(t){return String(null===t||void 0===t?"":t)}var u=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}(e)},2601:function(t,e,n){var r=n(91616)("jsonp");t.exports=function(t,e,n){"function"==typeof e&&(n=e,e={});e||(e={});var a,s,c=e.prefix||"__jp",u=e.name||c+i++,l=e.param||"callback",f=null!=e.timeout?e.timeout:6e4,d=encodeURIComponent,h=document.getElementsByTagName("script")[0]||document.head;f&&(s=setTimeout((function(){p(),n&&n(new Error("Timeout"))}),f));function p(){a.parentNode&&a.parentNode.removeChild(a),window[u]=o,s&&clearTimeout(s)}return window[u]=function(t){r("jsonp got",t),p(),n&&n(null,t)},t=(t+=(~t.indexOf("?")?"&":"?")+l+"="+d(u)).replace("?&","?"),r('jsonp req "%s"',t),(a=document.createElement("script")).src=t,h.parentNode.insertBefore(a,h),function(){window[u]&&p()}};var i=0;function o(){}},91616:function(t,e,n){var r=n(34406);function i(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!==typeof r&&"env"in r&&(t=r.env.DEBUG),t}(e=t.exports=n(80555)).log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),!n)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))})),t.splice(o,0,r)},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}},e.load=i,e.useColors=function(){if("undefined"!==typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(i())},80555:function(t,e,n){var r;function i(t){function n(){if(n.enabled){var t=n,i=+new Date,o=i-(r||i);t.diff=o,t.prev=r,t.curr=i,r=i;for(var a=new Array(arguments.length),s=0;s0)return function(t){if((t=String(t)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*o;case"days":case"day":case"d":return s*i;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===u&&!1===isNaN(t))return s.long?a(c=t,i,"day")||a(c,r,"hour")||a(c,n,"minute")||a(c,e,"second")||c+" ms":function(t){if(t>=i)return Math.round(t/i)+"d";if(t>=r)return Math.round(t/r)+"h";if(t>=n)return Math.round(t/n)+"m";if(t>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},56828:function(t){t.exports=function(t,e,n){var r=null,i=null,o=function(){r&&(clearTimeout(r),i=null,r=null)},a=function(){if(!e)return t.apply(this,arguments);var a=this,s=arguments,c=n&&!r;return o(),i=function(){t.apply(a,s)},r=setTimeout((function(){if(r=null,!c){var t=i;return i=null,t()}}),e),c?i():void 0};return a.cancel=o,a.flush=function(){var t=i;o(),t&&t()},a}},96989:function(t){t.exports=function(){var t,e,n=[],r=Array.prototype.slice.call(arguments),i=r.length,o=0;if(!i)throw new Error("zip requires at least one argument");for(t=0;to&&(o=a)}for(t=0;t0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(e){var n=function(){return d=!0,e()};v(f,t).then(n,n)}))},window.__NEXT_PRELOADREADY=m.preloadReady;var g=m;e.default=g},14007:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(2784),i=n(13980),o=n.n(i),a=n(84030),s=n(58451),c=n(93802),u=n(9772),l=(n(80150),n(42711),n(99404),n(48705),n(63396),n(32249),n(84714),n(98254),n(17807),n(20848)),f=(n(186),n(70833),n(81527));function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e){return null!=e&&"undefined"!==typeof Symbol&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function p(t){for(var e=1;e2})),i=r.map((function(t){return t.element})),o=!1;return 0===r.length?(this.density=2,e):(r.length>=t.placeholders.length/2&&(o=!0),o?(i[i.length-1]===n&&i.pop(),i):e)}return e}},{key:"onBFPReady",value:function(t){if("bfp_weighted_quiz"===t.format||"bfp_ai_generator"===t.format||!this.bfpPlaceholders[t.subbuzzId]){this.bfpPlaceholders[t.subbuzzId]=t;var e=this.handleBFPData(t);this.handleFeedLoad(e.map((function(t){return"string"===typeof t?document.getElementById(t):t})))}}},{key:"isEnabled",value:function(){return i.ZP.prototype.isEnabled.call(this)}},{key:"isEligibleForAd",value:function(t){return null!==t.parentNode}}])}(n(48570).g);function u(t){var e=t.AdUnit,n=t.disablePromo1Native,r=t.element,i=t.onAdsReady,s=t.pixiedust,u=t.presetDensity,l=t.skipNUnits,f=(0,a.k)(10).map((function(t){return o.vc["promo-quiz-inline".concat(t)]}));return l&&(f=f.slice(l)),new c({config:{AdUnit:e,units:f,unitsRepeated:[o.vc["promo-quiz-inline-infinite"]],unitResult:o.vc["promo-ai-quiz"],quizzes:[],pixiedust:s||{}},disablePromo1Native:n,element:r,onAdsReady:i,presetDensity:u})}},90141:function(t,e,n){"use strict";n.d(e,{Z:function(){return lt}});var r=n(2784),i=n(28316),o=n(12228),a=n(33266),s=n(24027),c=n(70833),u=n(6294),l=n(99404),f=function(t,e){return Array.prototype.filter.call(t,e)},d=function(){var t=0,e=0,n=0;return function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.inc,a=i.base;switch(r){case"show-variant":(0,c.A)("info","placementlogic","SETTINGS",i);break;case"insert-ad":t++,(0,c.A)("info","placementlogic","INSERT AD ".concat(t," (").concat(n," / ").concat(e,")")),n=0;break;case"insert-loop":e+=o,n+=o,(0,c.A)("info","placementlogic","BLOCK",i);break;case"estimate":(0,c.A)("info","placementlogic","ESTIMATE",Math.floor(e/a*.75)),(0,c.A)("info","placementlogic","TOTAL WORDS","~".concat(Math.ceil(e)))}}}(),h=n(84030),p="subbuzz",m="subbuzz-bfp",v="subbuzz-audio",g="subbuzz-correction-update",b="subbuzz__section-divider",y="subbuzz__section-divider--custom",w="subbuzz-image",E="subbuzz-photoset",x="subbuzz-pullquote",A="subbuzz-quiz",S="subbuzz-text",k="subbuzz-update",C="buzz__update",O="subbuzz-facebook-video",_="subbuzz-instagram",T="subbuzz-imgur",L="subbuzz-spotify",P="subbuzz-soundcloud",j="subbuzz-tweet",I="subbuzz-vimeo",R="subbuzz-youtube",z=[m,v,C,g,b,"subbuzz-link",w,E,x,A,S,j,k,"subbuzz-facebook",O,_,T,L,P,"subbuzz-tumblr",I,R],M=".js-ad-placement",N=".subbuzz__description",D={el:null,count:0,type:"protected"};function Z(t){return t.classList.contains("js-ad")?"ad":(0,h.intersectionWith)(t.classList,z)[0]||"none"}function B(t,e,n){var r,i=[];switch(t){case"ad":r=[D];break;case v:case P:r=F.call(this,e,"audio");break;case L:r=F.call(this,e,"spotify");break;case m:r=V.call(this,e);break;case g:case k:r=H.call(this,e);break;case b:r=U.call(this,e,n);break;case w:case E:case T:r=G.call(this,e);break;case _:r=F.call(this,e,"instagram");break;case x:r=q.call(this,e);break;case S:r=X.call(this,e);break;case j:r=F.call(this,e,"tweet");break;case A:r=J.call(this,e);break;case R:case I:case O:r=F.call(this,e,"video");break;default:r=$.call(this,e)}var o=Q.call(this,e);return i=i.concat(o,r)}function $(t){return[{el:t,count:this.density.base,type:"none"}]}function W(t){var e=this,n=0,r=f(t.children,(function(t){return t.classList.contains("buzz__update-subbuzzes")}));return f(r[0].children,(function(t){return t.classList.contains(p)})).forEach((function(t){var r,i=Z(t);r=B.call(e,i,t),n+=(0,h.sumBy)(r,"count")})),[{el:t,count:n,type:"breaking_update"}]}function V(t){return[{el:t,count:this.density.bfp||this.density.embed,type:"bfp"}]}function H(){return[{el:null,count:0,type:"protected"}]}function U(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n="divider";return t.classList.contains(y)&&(n="divider-custom"),e+this.placements.distance>=this.subbuzzes.length&&(n="protected"),[{el:t,count:this.density.image/2,type:n}]}function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"embed",n=this.density.embed;return"instagram"===e&&(n=this.density.image),"audio"===e&&(n=this.density.image/2),[{el:t,count:n,type:e}]}function G(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.density.image,r="image",i=window.getComputedStyle(t).float;"left"!==i&&"right"!==i||(r="image-protected");var o=t.querySelectorAll(N)[0];return!e&&o&&(n+=(0,h.sumBy)(X.call(this,o),"count")),[{el:t,count:n,type:r}]}function q(t){return H.call(this,t)}function J(t){return[{el:t,count:this.density.base,type:"protected"}]}function Y(t){return t.includes("protected")}function X(t){var e,n,r=f(t.children,(function(t){var e=t.tagName.toLowerCase();return"p"===e||"blockquote"===e||"ul"===e})),i=(e=r,n=function(t){var e=(t.textContent||"").trim().split(/\s+/).length,n="text";return"blockquote"!==t.tagName.toLowerCase()&&"ul"!==t.tagName.toLowerCase()||(n="protected"),{el:t,count:e,type:n}},Array.prototype.map.call(e,n));return i.push({el:t,count:0,type:"text-subbuzz-end"}),i}function Q(t){var e=t.querySelector(".subbuzz__title");return e?[{count:(e.textContent||"").trim().split(/\s+/).length,el:e,type:"title"}]:[]}function K(){for(var t=[],e=0;e'),i=K.call(this),o=this.placements,a=this.density,s=0,c=-1,u=!1;i.forEach((function(t,n){var l=null,f=!0,h=n+1>=o.topSkip,p=s>=a.base,m=n+o.bottomSkip<=i.length,v=Y(t.type),g=t.count<=.1*a.base;c>-1&&(f=n-c>=o.distance);var b=!1,y=!1,w=!1,E=!1;if(i[n+1]){if(b=Y((l=i[n+1]).type),(!e&&"title"===t.type||e&&"title"===t.type&&"title"!==l.type)&&(t.el=null),(v&&"text"===l.type||u&&t.type.indexOf("text")>-1&&"text"===l.type)&&(u=!0,l.type="text-protected"),w="replaceable"===l.type,i[n+2]){var x=i[n+2];"text"===l.type&&"text"!==x.type&&(y=l.count<=.1*a.base)}"breaking_update"===i[n].type&&"breaking_update"!==l.type&&(E=!0)}u=t.type.includes("text-subbuzz-end");var A=n'),r=this.getJpBlocks(),i=this.placements,o=this.density,a=0,s=-1,c=this.looseTitles,u=!1;r.forEach((function(t,e){var l=null,f=!0,h=a>=o.base,p=e+1>=i.topSkip,m=e+i.bottomSkip<=r.length;s>-1&&(f=e-s>=i.distance);var v=Y(t.type),g=!1,b=!1,y=e-1&&"text"===l.type)&&(u=!0,l.type="text-protected"),b="replaceable"===l.type),u=t.type.includes("text-subbuzz-end"),t.el&&p&&h&&m&&f&&!u&&!v&&!g&&(t.el.insertAdjacentHTML("afterend",n),b&&l?l.el.classList.add("js-hidden"):"replaceable"===t.type&&t.el.classList.add("js-hidden"),a=0,s=e+1,u=!1,d("insert-ad"))})),d("estimate",{base:o.base}),this.privateEvents.trigger("placements-ready",this.element.querySelectorAll(M))}},{key:"getJpBlocks",value:function(){for(var t=[],e=0;e2:0}));return n.hasEnoughOptions=l.length>=u.length/2,"function"===typeof i&&n.privateEvents.on("ads-ready",i),n}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"resolveConfig",value:function(){var t=this;(0,r.Vx)(e,"resolveConfig",this,3)([]);var n=function(e){t.disablePromo1Native&&"promo-inline1"===e.adPos&&(e.size=a.Z.exclude(e.size,l.J.NATIVE,l.J.FLUID))};this.units.forEach(n),this.unitsRepeated.forEach(n)}},{key:"isEnabled",value:function(){return!!(0,r.Vx)(e,"isEnabled",this,3)([])&&(this.quizzes.size>0&&this.questionsCount>=4)}},{key:"configure",value:function(){var t=this,e=[];this.questions.forEach((function(n){var r="poll"===n.quiz.type?n.quiz.id:n.id;e.push(t.element.querySelector('[data-id="'.concat(r,'"]')))})),this.placements=[2],this.density=this.presetDensity||(this.hasEnoughOptions?2:3),this.handleFeedLoad(e)}},{key:"handleFeedLoad",value:function(t){var e=this;return this.initializing.then((function(){return e.injectAds(t)}),(function(){}))}},{key:"injectAds",value:function(t){"currFeedItem"in this._state||(this._state.currFeedItem={idx:-1,portals:[]});var e=this._state.currFeedItem;if(!(0,s._b)(e.item)){for(var n=e.item?[].indexOf.call(t,e.item)+1:0,r=e.idx,i=e.item;n'),r=t.previousElementSibling);var f=this.pixiedust,d=this.config.AdUnit;return function(){return o.createPortal(i.createElement(d,{config:n.slot,pixiedust:f}),r)}}},{key:"isEligibleForAd",value:function(t){if(null===t.parentNode)return!1;if(this.hasEnoughOptions){var e;if(t.classList.contains("js-subbuzz-quiz__question"))e=t.dataset.id;else{var n=t.dataset.id;e=this.quizzes.get(n).questions[0].id}var r=this.questions.get(e);return!!r.answers&&r.answers.length>2}return!0}}])}(s.ZP);function p(t){var e=t.AdUnit,n=t.buzz,r=t.disablePromo1Native,i=t.element,o=t.onAdsReady,a=t.pixiedust,s=t.presetDensity,l=t.skipNUnits,f=(0,u.k)(10).map((function(t){return c.vc["promo-quiz-inline".concat(t)]}));return l&&(f=f.slice(l)),new h({config:{AdUnit:e,units:f,unitsRepeated:[c.vc["promo-quiz-inline-infinite"]],quizzes:n.sub_buzzes.filter((function(t){return"quiz"===t.form})),language:n.language,pixiedust:a||{}},disablePromo1Native:r,element:i,onAdsReady:o,presetDensity:s})}},21576:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(24027),i=(n(80150),n(42711)),o=(n(97083),n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(98254),n(17807),n(186),n(70833),n(81527),n(41871)),a=function(t){function e(){var t;return(0,r.PA)(this,e),(t=(0,r.$w)(this,e,arguments)).noLazyRendering=!0,t.addFormat(o.Z.formatType,o.Z),t}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.Z)},22606:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(24027),i=n(39901),o=n(5263);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nthis.trigger()),t),this.triggerEvents.forEach((t=>this.target.addEventListener(t,this._triggerThrottled)))}add(t){return this.callbacks[++v]=t,v}remove(t){delete this.callbacks[t]}trigger(t){if(this.callbacks.hasOwnProperty(t))this.callbacks[t]();else for(var e in this.callbacks)this.callbacks.hasOwnProperty(e)&&this.callbacks[e]()}destroy(){this.triggerEvents.forEach((t=>this.target.removeEventListener(t,this._triggerThrottled))),delete this.target,delete this.callbacks,delete this._triggerThrottled,delete this.add,delete this.remove}}var y={add({throttleTimeout:t=350,parent:e,callback:n,initialTrigger:r=!0}){let i=g[t];i||(i=new b({throttleTimeout:t,parent:e,initialTrigger:r}),g[t]=i);const o=i.add(n);return r&&i.trigger(o),o},remove(t){for(var e in g)g.hasOwnProperty(e)&&g[e].remove(t)}},w=n(19270);class E{constructor(t){this.context=t,this.element=t.getElement();this.stickyConfig={breakpoints:["ALL"],positionMode:"top",directions:["up","down"],...(t.getConfig()||{}).stickToTop},this.isInitialized=!1,this.canStick=!0,this.isFixed=!1,this.pageScrollPosition=window.scrollY,this.onmessage={[(0,w.MA)("stick-to-top--init",this.element)]:this.initSticky}}get stickyRegistryOpts(){return{priority:"priority"in this.stickyConfig?this.stickyConfig.priority:this.context.stickyRegistry.defaultPriorities.normal}}init(){this.stickyConfig.initOnMsg||this.initSticky()}initSticky(t){if(this.isInitialized)return;this.isInitialized=!0,this.stickyConfig={...this.stickyConfig,...t},this.element.classList.add("xs-relative","sticky");const e=this.filler=document.createElement("div");e.style.height=`${this.element.offsetHeight}px`,e.className="sticky-filler xs-static xs-hide",this.element.insertAdjacentElement("afterend",e),this._checkEligibilityBound=this.checkEligibility.bind(this),-1===this.stickyConfig.breakpoints.indexOf("ALL")&&(this.context.eventManager.on("match",this._checkEligibilityBound),i.Z.breakpointObserver.subscribe(this.context.eventManager)),this.checkEligibility(),this._adjustFixedPositionBound=this.adjustFixedPosition.bind(this),this.context.stickyRegistry.subscribe(this._adjustFixedPositionBound)}manageSticky({force:t=!1,stickMod:e=0,unstickMod:n=0}={}){if(!this.canStick)return;const{inViewport:r}=this.getPosition(),i=window.scrollY,o=i-this.pageScrollPosition>=10,a=this.pageScrollPosition-i>=10;let s=!1;(o&&this.stickyConfig.directions.includes("down")||a&&this.stickyConfig.directions.includes("up"))&&(s=!0),(!this.isFixed||t)&&r=this.fixAt+n?this.unstick():!this.isFixed&&!t||s||!a&&!o||this.unstick(),this.pageScrollPosition=i}adjustFixedPosition({priority:t}){if(t-1?e=!0:(t||(t=i.Z.getBreakPoint()),e=this.stickyConfig.breakpoints.indexOf(t)>-1),e?(this.canStick=!0,this.fixAt=this.context.stickyRegistry.getAvailableTop(this.element,this.stickyRegistryOpts),this.scrollListenerId=y.add({throttleTimeout:150,callback:()=>this.manageSticky()})):(this.canStick=!1,y.remove(this.scrollListenerId),this.unstick())}getPosition(){const t=(this.isFixed?this.filler:this.element).getBoundingClientRect().top;return{inViewport:t,inDocument:t+window.pageYOffset}}setPosition(t){if("translate"===this.stickyConfig.positionMode){const e=`translateY(${t}px)`;this.element.style.WebkitTransform=e,this.element.style.transform=e}else this.element.style.top=`${t}px`}toggleFiller(t="stick"){"stick"===t&&this.filler?this.filler.classList.remove("xs-hide"):"unstick"===t&&this.filler&&this.filler.classList.add("xs-hide")}stick(){this.isFixed=!0,this.toggleFiller("stick"),this.element.classList.add("xs-fixed","sticky--fixed"),this.setPosition(this.fixAt),this.context.stickyRegistry.add(this.element,this.stickyRegistryOpts)}unstick(){this.isFixed=!1,this.toggleFiller("unstick"),this.element.classList.remove("xs-fixed","sticky--fixed"),this.setPosition(0),this.context.stickyRegistry.remove(this.element)}destroy(){this.unstick(),this.context.stickyRegistry.remove(this.element),this.context.stickyRegistry.unsubscribe(this._adjustFixedPositionBound),y.remove(this.scrollListenerId),this.context.eventManager.off("match",this._checkEligibilityBound),i.Z.breakpointObserver.unsubscribe(this.context.eventManager),this.filler&&this.filler.parentElement.removeChild(this.filler),delete this.onmessage,delete this.element,delete this.filler}}var x=n(16996),A=n(93802),S=n(39901),k=n(17480),C=n(93468);function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},r=e.type,i=e.isSticky,o=void 0===i||i;n(),"spotlight"===r&&o?((0,A.Z)({template:I,target:t.element,props:{style:"x",onClick:t._onDismiss,owner:t.element.id}}),t.stickyConfig.breakpoints=["md","lg"],t.initSticky()):t.cleanup()}));return(0,r.Vx)(e,"setup",this,3)([])}},{key:"initSticky",value:function(){(0,r.Vx)(e,"initSticky",this,3)(arguments),this.mediaHeight=this.element.querySelector(".js-ad-media").clientHeight,this.filler.className="sticky-filler xs-fixed",this.filler.style.height=this.mediaHeight+90}},{key:"getPosition",value:function(){var t=(0,r.Vx)(e,"getPosition",this,3)([]);return t.inViewport=t.inViewport+.5*this.mediaHeight,t}},{key:"cleanup",value:function(){this.destroy()}},{key:"reset",value:function(){this.isHidden=!1,this.userDismissed=!1,this.element.classList.remove("sticky--show","sticky--hide"),this.element.classList.add("sticky--first-time")}},{key:"manageSticky",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.force,i=void 0!==n&&n;(0,r.Vx)(e,"manageSticky",this,3)([{force:i,stickMod:45,unstickMod:0}]),this.isFixed&&!this.userDismissed&&(document.querySelector(".scroll-up-mobile-nav--visible")?this.element.classList.add("mobile-share--adjust"):this.element.classList.remove("mobile-share--adjust"),window.pageYOffset<=this.unstickAfter?this.stickyShow():this.stickyHide())}},{key:"toggleFiller",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"stick";"stick"===t&&this.filler?(this.filler.classList.add("xs-static"),this.filler.classList.remove("xs-fixed")):"unstick"===t&&this.filler&&(this.filler.classList.remove("xs-static"),this.filler.classList.add("xs-fixed"))}},{key:"stick",value:function(){(0,r.Vx)(e,"stick",this,3)(arguments),this.isHidden=!0,this.element.querySelector(".js-ad-media").style.minHeight="";var t=document.querySelector("#js-header-container .js-sticky-container");if(t){var n="fixed"===getComputedStyle(t.firstElementChild).position||null;this.fixCheck=n?t.clientHeight:0}else this.fixCheck=0;this.context.stickyRegistry.remove(this.element),this.eventBus.trigger("ad-stick-".concat(this.config.wid))}},{key:"unstick",value:function(){(0,r.Vx)(e,"unstick",this,3)(arguments),this.eventBus.trigger("ad-unstick-".concat(this.config.wid)),this.reset()}},{key:"stickyShow",value:function(){var t=this;this.isFixed&&this.isHidden&&(this.isHidden=!1,this.element.classList.remove("sticky--hide"),B.detectTransitionEnd(this.element,{properties:["any"]}).then((function(){t.context.stickyRegistry.add(t.element,t.stickyRegistryOpts)})),this.context.env.isBFN&&B.detectTransitionEnd(this.element,{properties:["height"]}).then((function(){t.context.stickyRegistry.add(t.element,t.stickyRegistryOpts)})),this.element.classList.add("sticky--show"))}},{key:"stickyHide",value:function(){var t=this;this.isFixed&&!this.isHidden&&(this.isHidden=!0,this.element.classList.remove("sticky--show"),B.detectTransitionEnd(this.element,{properties:["any"]}).then((function(){t.context.stickyRegistry.remove(t.element)})),this.element.classList.add("sticky--hide"))}},{key:"destroy",value:function(){E.prototype.destroy.call(this),(0,r.Vx)(e,"destroy",this,3)([])}}])}(W),H=function(t){function e(){var t,n,i,a,s,c,u;return(0,r.PA)(this,e),u=(0,r.$w)(this,e,arguments),(0,r._x)(u,"onStickyManagerEvent",(function(t){var e=t.shouldStick;return u.isSticky=!1,u.lifecycleState!==o.Sx.DESTROYED&&(u.isDismissed?(u.stickyElement.classList.remove("sticky"),!1):e?(u.isSticky=!0,u.stickyElement.classList.add("sticky"),u.stickyElement.classList.remove("sticky--dismissed"),u.context.stickyRegistry.add(u.stickyElement,u.stickyRegistryOpts),!0):(u.dismiss(),!1))})),(0,r._x)(u,"adjustTopPos",(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{priority:u.stickyRegistryOpts.priority}).priority;if(!(tt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0,p=u&&u.length>0;return(h||p)&&(!c&&u&&(c=u),i=c,r=(0,k.TV)(i,l||"")),t.$$set=function(t){"advertiserUrl"in t&&n(3,c=t.advertiserUrl),"clickThroughUrl"in t&&n(4,u=t.clickThroughUrl),"dfpClickTracker"in t&&n(5,l=t.dfpClickTracker),"target"in t&&n(0,f=t.target),"linkClasses"in t&&n(1,d=t.linkClasses),"$$scope"in t&&n(6,s=t.$$scope)},[f,d,r,c,u,l,s,a]}var K=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,S.S1)(n,t,Q,X,S.N8,{advertiserUrl:3,clickThroughUrl:4,dfpClickTracker:5,target:0,linkClasses:1}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(S.f_);function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1&&t.indexOf("pixel")>-1)})),t.$$set=function(t){n(4,e=(0,S.f0)((0,S.f0)({},e),(0,S.Jv)(t))),"context"in t&&n(5,a=t.context),"wid"in t&&n(0,s=t.wid),"stickyViewPixel"in t&&n(1,u=t.stickyViewPixel),"$$scope"in t&&n(7,o=t.$$scope)},e=(0,S.Jv)(e),[s,u,f,d,e,a,i,o]}var lt=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,S.S1)(n,t,ut,ct,S.N8,{context:5,wid:0,stickyViewPixel:1}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(S.f_);function ft(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1?(t.element.classList.add("temp-sticky"),t.plugins.add(U)):t.plugins.add(V),(0,Et.R)(t.context)||t.plugins.add(H),t.context.env.isAdPost()&&t.addFormat(d.Z.formatType,d.Z),t.addFormat(m.formatType,m),t.isInView=!0,t.refreshTimer=null,t}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"unitTemplate",get:function(){return wt}},{key:"isMwSticky",get:function(){return i.Z.isXsmall()&&this.context.stickyManager}},{key:"setupSizes",value:function(){(0,r.Vx)(e,"setupSizes",this,3)([]);var t=i.Z.getBreakPoint(),n=this.context.env.adSizes;this.isMwSticky&&this.excludeSize(this.context.env.adSizes.NATIVE,this.context.env.adSizes.FLUID,this.context.env.adSizes.NATIVE_COMPLEX_6),(this.context.env.hasQuiz||"xs"===t||"sm"===t)&&this.excludeSize(n.NATIVE_COMPLEX_RECTANGLE),"sm"===t?this.filterProgrammaticSizes({max:n.PROGRAMMATIC_LEADERBOARD}):"md"!==t&&"lg"!==t||(this.filterProgrammaticSizes({min:n.PROGRAMMATIC_LEADERBOARD}),this.excludeSize(n.NATIVE_COMPLEX_6))}},{key:"setup",value:function(){try{var t=this,n=t.config.wid;t.onPublicEvent("ad-content-ready:".concat(n),(function(e){var n,r;(t.element.classList.add("ad--rendered"),"spotlight"===e.type||"bfp_spotlight_unit"===e.bfpFormatName)&&((e.isJumbo||(null===(n=e.bfpData)||void 0===n||null===(r=n.content)||void 0===r?void 0:r.isJumbo))&&t.element.classList.add("ad-spotlight--jumbo"))})),t.onPublicEvent("ad-wireframe-fadein-finish:".concat(n),(function(){t.eventBus.trigger("ad-reveal:".concat(n),{type:t.context.ad.type,isSticky:t.context.ad.isSticky||!1})})),t.onPublicEvent("ad-refresh:".concat(n),(function(){t.element.classList.contains("ad-jumbotron")&&t.element.classList.remove("ad-jumbotron")}));var o,a,s=i.Z.isXsmall(),c=t.context.env.hasQuiz,u=t.isMwSticky||c&&s;if(t.isMwSticky)t.noLazyRendering=!0,t.config.stickyOptions.stickToBottom="tasty"===t.context.env.destination&&(null===t||void 0===t||null===(o=t.context)||void 0===o||null===(a=o.env)||void 0===a?void 0:a.isVideoRecipePage),(t.context.env.isBPage&&t.context.env.hasConnatixVideo||"buzzfeed"===t.context.env.destination&&"en-us"===t.context.env.localization.edition&&"home"===t.context.env.pageId&&"home"===t.context.env.pageName||"topic"===t.context.env.pageName||"standard_page"===t.context.env.pageName)&&(t.config.stickyOptions.stickToBottom=t.config.stickyOptions.alwaysStickToBottom=!0);(0,l.A)("info","lifecycle","awareness isRefreshable = ".concat(u)),u&&(t.config.refreshOptions=St({},f.i7));var d={"homepage-swap-refresh":void 0,"feed-ui-swap-refresh":void 0};return kt(Promise.all(Object.keys(d).map((m=function(e){return kt(t.context.abeagle.getExperimentVariant(e,{rejectErrors:!1,defaultVariantIfUnbucketed:"off"}),(function(t){d[e]=t}))},function(){for(var t=[],e=0;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1;return a&&o&&s?(this.bfpFormatName=o,this.loadRenderKit(o,a).then((function(){return(0,r.Vx)(e,"buildFormat",n,3)(t)})).then((function(){return n.initBFP()})).catch((function(t){console.error(t),n.destroy()}))):(this.destroy(),null)}},{key:"initBFP",value:function(){this.element.classList.add("ad-flexible--".concat(this.context.ad.bfpFormatName));var t=window[this.bfpFormatName],e={eventBus:this.context.eventBus,tracking:this.context.tracking,trackingData:this.context.trackingData||{},env:this.context.env||{},abeagle:this.context.abeagle||{}},n=this.bfpInstance=t.init({element:this.element.querySelector("#ad-bfp-promo-".concat(this.context.ad.creativeId)),rootElement:this.element,context:e,layout:this.context.getBFPLayout?this.context.getBFPLayout(this.bfpFormatName,this.config):null,slotConfig:this.config,gamData:this.context.ad,bfpData:this.context.ad.bfpData,config:{data:this.context.ad.bfpData,context:g({ad:this.context.ad},e)}});this.setupDFPClickTracker(),this.eventBus.trigger("ad-content-rendered:".concat(this.config.wid)),this.eventBus.trigger("bfp:init-done:".concat(this.config.wid),n)}},{key:"setupDFPClickTracker",value:function(){var t=this.context.ad,e=t.dfpClickTracker,n=t.clickThroughUrl;this.element.querySelectorAll("a").forEach((function(t){var r=t.getAttribute("href")?t.href:n;r.startsWith(e)||(t.href=(0,u.TV)(r,e),t.target="_blank")}))}},{key:"destroy",value:function(){this.eventBus.trigger("ad-content-error:".concat(this.config.wid)),(0,r.Vx)(e,"destroy",this,3)([]),this.bfpInstance&&this.bfpInstance.destroy&&(this.bfpInstance.destroy(),delete this.bfpInstance)}}])}(a.Z);(0,r._x)(y,"formatType","bfp_promo");var w=function(t){function e(){var t;return(0,r.PA)(this,e),(t=(0,r.$w)(this,e,arguments)).nativeVideoEnded=!1,t.eligibleFormats=["bfp_native_instream_video","bfp_spotlight_unit"],t}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"buildFormat",value:function(){this.context.ad.type="video",(0,r.Vx)(e,"buildFormat",this,3)([])}},{key:"initBFP",value:function(){(0,r.Vx)(e,"initBFP",this,3)([]),this.eventBus.trigger("ad-tpl:".concat(this.config.wid),{type:s.T.GAM_VIDEO})}},{key:"blocksSidebar",value:function(){var t="bfp_native_instream_video"===this.bfpFormatName,e=this.config.adPos.match(/sidebar/);return t&&e}},{key:"reportQuartile",value:function(t){if(!this.nativeVideoEnded){var e=this.config.wid;this.eventBus.trigger("ad-native-video-quartile:".concat(e)),4===t.quartile&&(this.blocksSidebar()||this.eventBus.trigger("ad-native-video-ended:".concat(e)),this.nativeVideoEnded=!0),this.eventBus.trigger("native-video-embed:playback-quartile:".concat(e),t)}}},{key:"reportPause",value:function(t){this.nativeVideoEnded||(this.blocksSidebar()||this.eventBus.trigger("ad-native-video-pause:".concat(this.config.wid)),this.eventBus.trigger("dfp-native-video:pause:".concat(this.config.wid),t))}}])}(y.withMixins(c.B));(0,r._x)(w,"formatType","bfp_video")},50320:function(t,e,n){"use strict";n.d(e,{Z:function(){return At}});var r=n(24027),i=n(80150),o=n(42711),a=(n(97083),n(99404),n(58451),n(48705),n(63396)),s=(n(32249),n(84714),n(84030),n(98254)),c=(n(17807),n(20848)),u=n(17748),l=(n(70833),n(81527)),f=n(19270),d=(n(35813),n(16996),n(81383)),h=n(99945);function p(t,e,n){return n?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}function m(t){return function(){for(var e=[],n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?s:null,E=d.length>0?(0,S.TV)(d,m):null,x={assetCover:i,assetImage:o,brandName:c,ctaUrl:E,wid:y},A={adPos:r,brandAvatar:a,brandName:c,cardDescription:u,ctaText:h,ctaUrl:E,creativeId:l,disclosure:v,moreClasses:b,url:w,wid:y},k={creativeId:l,ctaBackground:f,ctaTextColor:p};return t.$$set=function(t){"adPos"in t&&n(7,r=t.adPos),"assetCover"in t&&n(8,i=t.assetCover),"assetImage"in t&&n(0,o=t.assetImage),"brandAvatar"in t&&n(9,a=t.brandAvatar),"brandLinkOut"in t&&n(10,s=t.brandLinkOut),"brandName"in t&&n(11,c=t.brandName),"cardDescription"in t&&n(6,u=t.cardDescription),"creativeId"in t&&n(12,l=t.creativeId),"ctaBackground"in t&&n(13,f=t.ctaBackground),"ctaLinkOut"in t&&n(14,d=t.ctaLinkOut),"ctaText"in t&&n(15,h=t.ctaText),"ctaTextColor"in t&&n(16,p=t.ctaTextColor),"dfpClickTracker"in t&&n(17,m=t.dfpClickTracker),"disclosure"in t&&n(18,v=t.disclosure),"isMp4"in t&&n(1,g=t.isMp4),"moreClasses"in t&&n(19,b=t.moreClasses),"wid"in t&&n(20,y=t.wid)},[o,g,E,x,A,k,u,r,i,a,s,c,l,f,d,h,p,m,v,b,y]}var X=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,E.S1)(n,t,Y,J,E.N8,{adPos:7,assetCover:8,assetImage:0,brandAvatar:9,brandLinkOut:10,brandName:11,cardDescription:6,creativeId:12,ctaBackground:13,ctaLinkOut:14,ctaText:15,ctaTextColor:16,dfpClickTracker:17,disclosure:18,isMp4:1,moreClasses:19,wid:20}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(E.f_),Q=n(60655);function K(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?s:null,g=f.length>0?(0,S.TV)(f,d):null,b={assetCover:i,assetImage:o,brandName:c,ctaUrl:g,wid:m},y={brandAvatar:a,brandName:c,disclosure:h,wid:m};return t.$$set=function(t){"adPos"in t&&n(1,r=t.adPos),"assetCover"in t&&n(10,i=t.assetCover),"assetImage"in t&&n(2,o=t.assetImage),"brandAvatar"in t&&n(11,a=t.brandAvatar),"brandLinkOut"in t&&n(12,s=t.brandLinkOut),"brandName"in t&&n(13,c=t.brandName),"cardDescription"in t&&n(0,u=t.cardDescription),"ctaText"in t&&n(3,l=t.ctaText),"ctaLinkOut"in t&&n(14,f=t.ctaLinkOut),"dfpClickTracker"in t&&n(15,d=t.dfpClickTracker),"disclosure"in t&&n(16,h=t.disclosure),"isMp4"in t&&n(4,p=t.isMp4),"wid"in t&&n(5,m=t.wid)},[u,r,o,l,p,m,v,g,b,y,i,a,s,c,f,d,h]}var ut=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,E.S1)(n,t,ct,st,E.N8,{adPos:1,assetCover:10,assetImage:2,brandAvatar:11,brandLinkOut:12,brandName:13,cardDescription:0,ctaText:3,ctaLinkOut:14,dfpClickTracker:15,disclosure:16,isMp4:4,wid:5}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(E.f_),lt=function(t){function e(){return(0,r.PA)(this,e),(0,r.$w)(this,e,arguments)}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"template",get:function(){return/^story/.test(this.config.adPos)?ut:X}},{key:"buildFormat",value:function(){(0,r.Vx)(e,"buildFormat",this,3)([]),this.element.classList.add("ad-card")}},{key:"getTemplateData",value:function(){var t=Object.assign({},this.context.ad),e=t.assetImage,n={};(t.adPos=this.config.adPos,l.Z.isAny(["xs","sm"])?n.downsize="320:*":n.downsize="400:*",e.indexOf(".gif")>=0)&&(n["output-format"]="mp4",n["resize-quality"]=95,t.isMp4=!0,t.assetCover="".concat(e,"?output-format=jpg&output-quality=90"),(new Image).src=t.assetCover);return t.assetImage=e+decodeURIComponent((0,y.nZ)(n)),t}}])}(w.Z);(0,r._x)(lt,"formatType","display_card");var ft=n(97498),dt=n(41871),ht=n(31675),pt=(n(186),n(66611));function mt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n \n
\n
',(0,i.Lj)(a,"class","xs-p2 ad-wireframe ad__wireframe-container"),(0,i.Lj)(e,"id",s="BF_WIDGET_"+t[0].wid),(0,i.Lj)(e,"data-module","ad-bigstory"),(0,i.Lj)(e,"class","clearfix xs-fit xs-relative card ad-bigstory ad-flexible"),(0,i.Lj)(e,"data-bfa","@l:Big-Story;")},m:function(t,o){(0,i.$T)(t,e,o),(0,i.ye)(n,e,null),(0,i.R3)(e,r),(0,i.R3)(e,a),c=!0},p:function(t,r){var o={};1&r&&(o.config=t[0]),n.$set(o),(!c||1&r&&s!==(s="BF_WIDGET_"+t[0].wid))&&(0,i.Lj)(e,"id",s)},i:function(t){c||((0,i.Ui)(n.$$.fragment,t),c=!0)},o:function(t){(0,i.et)(n.$$.fragment,t),c=!1},d:function(t){t&&(0,i.og)(e),(0,i.vp)(n)}}}function u(t){var e,n;return{c:function(){e=(0,i.bG)("div"),(0,i.Lj)(e,"id",n="BF_WIDGET_"+t[0].wid),(0,i.Lj)(e,"class","clearfix xs-fit xs-relative ad-wireframe ad-bigstory ad-bigstory--simple"),(0,i.Lj)(e,"data-bfa","@l:Big-Story;")},m:function(t,n){(0,i.$T)(t,e,n)},p:function(t,r){1&r&&n!==(n="BF_WIDGET_"+t[0].wid)&&(0,i.Lj)(e,"id",n)},i:i.ZT,o:i.ZT,d:function(t){t&&(0,i.og)(e)}}}function l(t){var e,n,r,o,a=function(t,e){return t[1]?0:1},l=[u,c],f=[];return e=a(t),n=f[e]=l[e](t),{c:function(){n.c(),r=(0,i.cS)()},m:function(t,n){f[e].m(t,n),(0,i.$T)(t,r,n),o=!0},p:function(t,o){var c=s(o,1)[0],u=e;(e=a(t))===u?f[e].p(t,c):((0,i.dv)(),(0,i.et)(f[u],1,1,(function(){f[u]=null})),(0,i.gb)(),(n=f[e])?n.p(t,c):(n=f[e]=l[e](t)).c(),(0,i.Ui)(n,1),n.m(r.parentNode,r))},i:function(t){o||((0,i.Ui)(n),o=!0)},o:function(t){(0,i.et)(n),o=!1},d:function(t){f[e].d(t),t&&(0,i.og)(r)}}}function f(t,e,n){var r=e.slot,i=e.plainWireframe,o=void 0===i||i;return t.$$set=function(t){"slot"in t&&n(0,r=t.slot),"plainWireframe"in t&&n(1,o=t.plainWireframe)},[r,o]}var d=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,f,l,i.N8,{slot:0,plainWireframe:1}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.f_)},17481:function(t,e,n){"use strict";n.d(e,{Z:function(){return x}});var r=n(24027),i=(n(80150),n(42711)),o=(n(97083),n(99404),n(58451),n(48705),n(63396)),a=(n(32249),n(84714)),s=(n(84030),n(98254),n(17807),n(20848)),c=n(17748),u=(n(70833),n(81527),n(41871)),l=n(31675),f=n(33791),d=(n(186),n(39901)),h=n(17480),p=n(66611);function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n
\n
\n
\n
',(0,i.Lj)(a,"class","xs-flex xs-flex-row ad-wireframe ad__wireframe-container"),(0,i.Lj)(e,"id",c="BF_WIDGET_"+t[0].wid),(0,i.Lj)(e,"data-module","ad-bpage-story"),(0,i.Lj)(e,"class","xs-relative xs-hide md-mb2 md-block ad-animated ad-bpage-story card"),(0,i.Lj)(e,"data-bfa","@l:Story-Bpage;")},m:function(t,o){(0,i.$T)(t,e,o),(0,i.ye)(n,e,null),(0,i.R3)(e,r),(0,i.R3)(e,a),u=!0},p:function(t,r){var o=s(r,1)[0],a={};1&o&&(a.config=t[0]),n.$set(a),(!u||1&o&&c!==(c="BF_WIDGET_"+t[0].wid))&&(0,i.Lj)(e,"id",c)},i:function(t){u||((0,i.Ui)(n.$$.fragment,t),u=!0)},o:function(t){(0,i.et)(n.$$.fragment,t),u=!1},d:function(t){t&&(0,i.og)(e),(0,i.vp)(n)}}}function u(t,e,n){var r=e.slot;return t.$$set=function(t){"slot"in t&&n(0,r=t.slot)},[r]}var l=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,u,c,i.N8,{slot:0}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.f_)},66611:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(24027),i=n(39901),o=n(17480);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n\n ");return t.$$set=function(t){"creativeId"in t&&n(1,r=t.creativeId),"ctaBackground"in t&&n(2,i=t.ctaBackground),"ctaTextColor"in t&&n(3,o=t.ctaTextColor)},[l,r,i,o]}var c=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,s,a,i.N8,{creativeId:1,ctaBackground:2,ctaTextColor:3}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.f_)},60655:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(24027),i=n(39901),o=n(17480);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&null!==t[2]&&m(t),u=t[0].length>0&&g(t),l=[t[4]],f={},h=0;h0&&null!==t[2]?c?(c.p(t,o),6&o&&(0,i.Ui)(c,1)):((c=m(t)).c(),(0,i.Ui)(c,1),c.m(e,n)):c&&((0,i.dv)(),(0,i.et)(c,1,1,(function(){c=null})),(0,i.gb)()),t[0].length>0?u?u.p(t,o):((u=g(t)).c(),u.m(e,null)):u&&(u.d(1),u=null);var s=16&o?(0,i.Lo)(l,[(0,i.gC)(t[4])]):{};a.$set(s)},i:function(t){s||((0,i.Ui)(c),(0,i.Ui)(a.$$.fragment,t),s=!0)},o:function(t){(0,i.et)(c),(0,i.et)(a.$$.fragment,t),s=!1},d:function(t){t&&(0,i.og)(e),c&&c.d(),u&&u.d(),t&&(0,i.og)(r),t&&(0,i.og)(o),(0,i.vp)(a)}}}function y(t,e,n){var r=e.adPos,i=e.brandAvatar,o=e.brandLinkOut,a=e.brandName,s=e.cardDescription,c=e.creativeId,u=e.ctaText,l=e.ctaUrl,f=e.disclosure,d=e.wid,h={adPos:r,creativeId:c,ctaUrl:l},p={brandAvatar:i,brandLinkOut:o,brandName:a,disclosure:f,wid:d};return s=(s||"").trim(),t.$$set=function(t){"adPos"in t&&n(5,r=t.adPos),"brandAvatar"in t&&n(6,i=t.brandAvatar),"brandLinkOut"in t&&n(7,o=t.brandLinkOut),"brandName"in t&&n(8,a=t.brandName),"cardDescription"in t&&n(0,s=t.cardDescription),"creativeId"in t&&n(9,c=t.creativeId),"ctaText"in t&&n(1,u=t.ctaText),"ctaUrl"in t&&n(2,l=t.ctaUrl),"disclosure"in t&&n(10,f=t.disclosure),"wid"in t&&n(11,d=t.wid)},[s,u,l,h,p,r,i,o,a,c,f,d]}var w=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,y,b,i.N8,{adPos:5,brandAvatar:6,brandLinkOut:7,brandName:8,cardDescription:0,creativeId:9,ctaText:1,ctaUrl:2,disclosure:10,wid:11}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.f_)},97498:function(t,e,n){"use strict";n.d(e,{Z:function(){return v}});var r=n(24027),i=n(98254),o=(n(80150),n(42711),n(97083),n(99404),n(58451),n(48705),n(63396),n(32249)),a=(n(84714),n(84030),n(17807),n(186),n(70833),n(81527),n(39901)),s=n(32766),c=n(62751),u=n(17480);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?(0,u.TV)(c,o):null,p={creativeId:s,ctaBackground:l,ctaTextColor:d},m=function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n',(0,i.Lj)(r,"class","ad-wireframe ad__wireframe-container")},m:function(t,a){(0,i.ye)(e,t,a),(0,i.$T)(t,n,a),(0,i.$T)(t,r,a),o=!0},p:function(t,n){var r={};1&n&&(r.config=t[0]),e.$set(r)},i:function(t){o||((0,i.Ui)(e.$$.fragment,t),o=!0)},o:function(t){(0,i.et)(e.$$.fragment,t),o=!1},d:function(t){(0,i.vp)(e,t),t&&(0,i.og)(n),t&&(0,i.og)(r)}}}function l(t){var e,n;return e=new o.Z({props:{tag:t[1]?"li":"div",attributes:t[2],$$slots:{default:[u]},$$scope:{ctx:t}}}),{c:function(){(0,i.YC)(e.$$.fragment)},m:function(t,r){(0,i.ye)(e,t,r),n=!0},p:function(t,n){var r=c(n,1)[0],i={};2&r&&(i.tag=t[1]?"li":"div"),4&r&&(i.attributes=t[2]),9&r&&(i.$$scope={dirty:r,ctx:t}),e.$set(i)},i:function(t){n||((0,i.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,i.et)(e.$$.fragment,t),n=!1},d:function(t){(0,i.vp)(e,t)}}}function f(t,e,n){var r,i=e.slot,o=e.isListItem,a=void 0===o||o;return t.$$set=function(t){"slot"in t&&n(0,i=t.slot),"isListItem"in t&&n(1,a=t.isListItem)},t.$$.update=function(){if(1&t.$$.dirty){n(2,r={id:"BF_WIDGET_".concat(i.wid),"data-module":"ad-grid",class:"md-hide xs-block ad-grid ad-animated ad-fadeleft","data-bfa":"@l:nowbuzzing;"}),"position"in i&&n(2,r["data-position"]=i.position,r)}},[i,a,r]}var d=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,f,l,i.N8,{slot:0,isListItem:1}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.f_)},41871:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(24027),i=(n(80150),n(42711),n(83351)),o=(n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(98254),n(17807),n(186),n(70833),n(81527),function(t){function e(){var t;return(0,r.PA)(this,e),(t=(0,r.$w)(this,e,arguments)).template=null,t}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"buildFormat",value:function(){this.element.classList.remove("js-hidden"),this.element.classList.add("ad-flexible--".concat(this.formatType),"ad-flexible--".concat(this.context.ad.creativeId)),this.eventBus.trigger("ad-content-rendered:".concat(this.config.wid))}}])}(i.Z));(0,r._x)(o,"formatType","impression_pixel")},31675:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(24027),i=(n(80150),n(42711),n(83351)),o=(n(99404),n(39901)),a=n(17480);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n');t.parentElement.insertAdjacentHTML("beforeend",o)}else{t.insertAdjacentHTML("afterEnd",'
')}n.style.visibility="visible",this.onDOMEvent(n.querySelector("a"),"click",this.trackClick.bind(this))}},{key:"trackClick",value:function(t){this.eventBus.trigger("advertise-click:".concat(this.config.wid),{url:t.target.href})}}])}(i.Z)},80226:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var r=n(24027),i=n(81527),o=(n(80150),n(42711)),a=(n(97083),n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(98254),n(17807),n(20848)),s=n(17748),c=n(64544),u=(n(19270),n(35813),n(70833),n(16996),n(81383)),l=n(2282),f=n(82545),d=n(97498),h=n(41871),p=function(t){function e(){var t,n,o;return(0,r.PA)(this,e),(o=(0,r.$w)(this,e,arguments)).config.refreshOptions={infinite:!0},o.plugins.add(u.Z),o.plugins.add(l.Z),o.context.env.isBFO&&i.Z.isAny(["xs"])&&o.addFormat(d.Z.formatType,d.Z),o.addFormat(f.C.formatType,f.C),o.addFormat(f.f.formatType,f.f),o.context.env.isAdPost()&&o.addFormat(h.Z.formatType,h.Z),o.context.env.hasQuiz&&o.element.classList.add("ad-on-quiz"),"promo-inline1"!==o.config.adPos&&"promo-quiz-inline1"!==o.config.adPos||(null===(t=o.context)||void 0===t||null===(n=t.env)||void 0===n?void 0:n.isInfinitePage)||(o.noLazyRendering=!0),o}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"setupSizes",value:function(){(0,r.Vx)(e,"setupSizes",this,3)([]);var t=this.context.env.adSizes;(this.context.env.hasQuiz&&this.excludeSize(t.NATIVE_COMPLEX_100),i.Z.isAny(["md","lg"]))&&(this.element.getBoundingClientRect().x<0?this.filterProgrammaticSizes({max:t.PROGRAMMATIC_SMARTPHONE_BANNER}):this.filterProgrammaticSizes({min:t.PROGRAMMATIC_LEADERBOARD}))}},{key:"handleAdSurveyContentLoaded",value:function(){var t=this.element.parentNode;if(t&&t.classList.contains("ad-wireframe-wrapper--inline")&&"undefined"!==typeof MutationObserver){(this.surveyObserver=new MutationObserver((function(e,n){var r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;c.addedNodes&&"script"===c.addedNodes[0].tagName.toLowerCase()&&c.addedNodes[0].src.indexOf("https://secure.insightexpressai.com/adServer/adServerESI.aspx")>=0&&(t.classList.remove("ad-wireframe-wrapper--inline"),t.style.minHeight="1px"),n.disconnect()}}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}))).observe(t,{attributes:!1,childList:!0,subtree:!1})}}},{key:"handleAdContentLoaded",value:function(t){if("dfp_native_video"!==t.type)return(0,r.Vx)(e,"handleAdContentLoaded",this,3)(arguments),void this.handleAdSurveyContentLoaded();(0,r.Vx)(e,"handleAdContentLoaded",this,3)(arguments),this.element.classList.remove("ad-ex","ad-ex--inline","ad-promo-inline","card"),this.element.classList.add("xs-mb4","sm-hide");var n=this.element.querySelector(".js-awareness-wrapper");n&&n.classList.add("card")}},{key:"destroy",value:function(){this.surveyObserver&&(this.surveyObserver.disconnect(),delete this.surveyObserver),(0,r.Vx)(e,"destroy",this,3)([])}}])}(o.Z.withMixins(a.Z_,s.Q,c.U))},27363:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(24027),i=n(39901),o=n(28403);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(c){s=!0,i=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||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.")}()}function d(t){var e,n=t[5].default,r=(0,s.nu)(n,t,t[4],null);return{c:function(){r&&r.c()},m:function(t,n){r&&r.m(t,n),e=!0},p:function(t,i){r&&r.p&&(!e||16&i)&&(0,s.km)(r,n,t,t[4],e?(0,s.u2)(n,t[4],i,null):(0,s.VO)(t[4]),null)},i:function(t){e||((0,s.Ui)(r,t),e=!0)},o:function(t){(0,s.et)(r,t),e=!1},d:function(t){r&&r.d(t)}}}function h(t){for(var e,n,r=t[5].default,i=(0,s.nu)(r,t,t[4],null),o=[t[2]],a={},c=0;ct.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?(0,c.TV)(u,l):null,m={tag:"span",attributes:{class:"ad-story-video__title-cta"}},v=s.length>0?s:null,g={tag:"span",attributes:{class:"ad-disclosure-text"}},b={tag:"none",attributes:{}};return p&&(m.tag="a",m.attributes.href=p,m["data-bfa"]=i,m["data-bfa-position"]=r),v&&(g.attributes.id="ad-disclosure-mobile--".concat(f),b.tag="a",b.attributes.href=v),t.$$set=function(t){"adPos"in t&&n(7,r=t.adPos),"bfa"in t&&n(8,i=t.bfa),"brandAvatar"in t&&n(0,o=t.brandAvatar),"brandName"in t&&n(1,a=t.brandName),"brandLinkOut"in t&&n(9,s=t.brandLinkOut),"ctaLinkOut"in t&&n(10,u=t.ctaLinkOut),"dfpClickTracker"in t&&n(11,l=t.dfpClickTracker),"wid"in t&&n(12,f=t.wid),"videoName"in t&&n(2,d=t.videoName)},[o,a,d,m,g,b,h,r,i,s,u,l,f]}var S=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,s.S1)(n,t,A,x,s.N8,{adPos:7,bfa:8,brandAvatar:0,brandName:1,brandLinkOut:9,ctaLinkOut:10,dfpClickTracker:11,wid:12,videoName:2}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(s.f_);function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&t[3]&&O(t);return{c:function(){n&&n.c(),e=(0,s.cS)()},m:function(t,r){n&&n.m(t,r),(0,s.$T)(t,e,r)},p:function(t,r){var i=C(r,1)[0];t[1].length>0&&t[3]?n?n.p(t,i):((n=O(t)).c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:s.ZT,o:s.ZT,d:function(t){n&&n.d(t),t&&(0,s.og)(e)}}}function T(t,e,n){var r=e.bfa,i=e.ctaLinkOut,o=e.ctaText,a=e.dfpClickTracker,s=e.adPos,u=i.length>0?(0,c.TV)(i,a):null;return t.$$set=function(t){"bfa"in t&&n(0,r=t.bfa),"ctaLinkOut"in t&&n(4,i=t.ctaLinkOut),"ctaText"in t&&n(1,o=t.ctaText),"dfpClickTracker"in t&&n(5,a=t.dfpClickTracker),"adPos"in t&&n(2,s=t.adPos)},[r,o,s,u,i,a]}var L=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,s.S1)(n,t,T,_,s.N8,{bfa:0,ctaLinkOut:4,ctaText:1,dfpClickTracker:5,adPos:2}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(s.f_);function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j(t){for(var e=1;e'),e.insertAdjacentHTML("afterend",'');var n=this.element.querySelector(".js-header"),r=this.element.querySelector(".js-footer");this.headerTemplate=this.templateRender(n,S),this.footerTemplate=this.templateRender(r,L),this.addDestroyAction((function(){return t.componentDestroy()}))}},{key:"templateRender",value:function(t,e){var n=this.getTemplateData(),r=n.videoId,i=n.videoName;return I.renderTemplate({template:e,target:t,props:j({},n,{context:this.context,bfa:"a:video-dfp; @d:None; @o:{dimension3:".concat(r,",dimension4:").concat(i,"};")+"@e:{obj_id:".concat(r,",post_category:Advertiser,obj_type:video,p:None}")})})}},{key:"componentDestroy",value:function(){this.headerTemplate&&this.headerTemplate.$destroy(),this.footerTemplate&&this.footerTemplate.$destroy()}}])}(a.t)},65211:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(24027),i=(n(80150),n(42711)),o=(n(97083),n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(98254),n(17807),n(20848)),a=(n(186),n(70833),n(81527),n(41871)),s=function(t){function e(){var t;return(0,r.PA)(this,e),(t=(0,r.$w)(this,e,arguments)).context.env.isAdPost()&&t.addFormat(a.Z.formatType,a.Z),t}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.Z.withMixins(o.Z_,o.E6))},9895:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(24027),i=n(39901),o=n(5263);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n> disabled on desktop, all flags off"),t.removeToolbarAd()),n=!0,e||r||i||o}))}))}))}))}),(function(e){return n?e:!!(0,f.R)(t.context)||(t.removeToolbarAd(),!1)})):(!0,!1)}))}catch(n){return Promise.reject(n)}}}])}(i.Z.withMixins(o.Z_))},12239:function(t,e,n){"use strict";n.d(e,{Z:function(){return I}});var r=n(24027),i=n(39901),o=n(5263);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n> enabled for mweb bpage",{env:e}),!0):e.isFeedpager&&(e.isBFO||e.isBFN)?((0,r.A)("info","lifecycle","toolbar >> enabled for mweb feedpager",{env:e}),!0):e.isFeedPage&&"shopping"===e.pageCategory?((0,r.A)("info","lifecycle","toolbar >> enabled for mweb shopping_ui",{env:e}),!0):"topic"===e.pageName||"standard_page"===e.pageName?((0,r.A)("info","lifecycle","toolbar >> enabled for mweb feed_ui ".concat(e.pageName),{env:e}),!0):"buzzfeed"===e.destination&&"en-us"===e.localization.edition&&"home"===e.pageId&&"home"===e.pageName?((0,r.A)("info","lifecycle","toolbar >> enabled for mweb feed_ui home",{env:e}),!0):((0,r.A)("info","lifecycle","toolbar >> DISABLED",{env:e}),!1)}},70753:function(t,e,n){"use strict";n.d(e,{q$:function(){return r},bB:function(){return i},Ii:function(){return a},nC:function(){return o},q0:function(){return s},i7:function(){return c},y0:function(){return u}});var r=50,i=32,o="stopRefresh",a="pauseRefresh",s={default:{inViewSeconds:32,maxRefreshes:9999,emptyWaitSec:i,infinite:!0},globalOverride:{edition:{"ja-jp":{inViewSeconds:32}}}},c={infinite:!0,inViewSeconds:30},u={maxRefreshes:9999,inViewSeconds:32,emptyWaitSec:15,pages:[{adType:"toolbar",adPos:"tb1",wid:"52-1",targeting:{wid:"52-1",pos:["tb1"]}},{adType:"toolbar",adPos:"tb2",wid:"52-2",targeting:{wid:"52-2",pos:["tb2"]}},{adType:"toolbar",adPos:"tb3",wid:"52-3",targeting:{wid:"52-3",pos:["tb3"]}}]}},98254:function(t,e,n){"use strict";n.d(e,{Z:function(){return Kt}});var r=n(42235),i=n(3379),o=n(20238),a=n(21038),s=(n(93563),n(42772));const c={queryStringToObject:o.jH};const u="undefined"!==typeof window&&"permutive-test"in(c.queryStringToObject(window.location.search)||{}),l="undefined"!==typeof window&&"sdxa"===(0,o.jH)(window?.location?.search)?.origin;async function f({abeagle:t}){if(u)return Promise.resolve(!0);if(l)return Promise.resolve(!1);if(a.MS.needsConsent()){if(!(await a.jQ.hasConsented("permutive"))||s.ZP.isMobileApp())return Promise.resolve(!1)}return t.getExperimentVariant("ADSGROUP-442-permutive").catch((t=>t&&"ExperimentNotFound"===t.type?"on":null)).then((t=>Promise.resolve("on"===t)))}var d,h=n(81527),p=n(19270),m=!1;function v(t,e){var n=t.data||{},r=n.source,i=n.action,o=n.data;if("dfpNativeTemplate"===r&&i&&"object"===typeof o&&null!==o){var a=function(t){for(var e in t){if(/Encoded$/.test(e))t[e.replace("Encoded","")]=decodeURIComponent(t[e])}for(var n in t){var r=t[n];"string"!==typeof r||/Encoded$/.test(n)||(t[n]=r.trim().replace(/\\('|\u2019)/g,"$1").replace(/\s*\n\s*/g,"\n").replace(/\s{2,}/g," "))}return t}(o);e.trigger("post-message:".concat(a.wid),{action:i,ad:a})}else"adlibSnippet"===r?e.trigger("post-message:creativeSnippet",t.data):"fan"===r&&"error"===i&&"object"===typeof o&&null!==o?e.trigger("post-message:".concat(o.wid),{action:"error",error:"FAN"}):"jumbotron"===r&&e.trigger("post-message:jumbotron:".concat(o.wid),{action:i,data:o})}m=!1,d=void 0;var g={start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m||(m=!0,d=function(e){return g.handleMessageEvent(e,t.eventBus)},window.addEventListener("message",d))},handleMessageEvent:function(t,e){(function(t){var e=t.origin;if(!e)return!1;var n=navigator.userAgent.match(/Edge/i)&&navigator.userAgent.match(/Windows/i);return/(?:buzzfeed(?:news)?\.(?:com|io)|tasty\.co|googlesyndication\.com)/.test(e)||n&&/^javascript:/.test(e)})(t)&&v(t,e)},stop:function(){window.removeEventListener("message",d)}},b=n(18977),y=["2162785669"],w=["10226773"],E=["20072413","102536773","35253013","495329533","12342133","263657533","12340813","135123253","235801453"],x=n(99945),A=n(89809),S=n(58451);var k,C={loadScript:r.v},O={init:function(t){var e=t.env,n=t.abeagle;return k||(k=n.isOn("ads_ad_lightning").then((function(t){return t?Promise.resolve(!0):Promise.reject(new S.x9)})).then((function(){var t=e.isDev||e.isStage?"buzzfeed-staging":"buzzfeed";return C.loadScript("".concat("https://tagan.adlightning.com","/").concat(t,"/").concat("op.js"))})).catch((function(t){return e=t,(null!=(n=S.x9)&&"undefined"!==typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](e):e instanceof n)?null:Promise.reject(t);var e,n})))}},_=n(39782),T=n(22299),L=n(53709),P=n(63375),j=n(70833);function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"page",e=arguments.length>1?arguments[1]:void 0;return U.tagReady.then((function(n){try{"page"===t?n.loadSignals(B,e):n.loadSignalsForSlots(t,e)}catch(r){return console.error(r),Promise.reject()}return Promise.resolve()}))})),runOnce:function(t){for(var e=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;it.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:500;(0,j.A)("info","thirdparty","doubleverify UNIT onDvtagReady called",{callback:t,timeout:e});var n=window.dvtag||{};n.cmd=n.cmd||[];var r={callback:t,timeout:e,timestamp:(new Date).getTime()};n.cmd.push((function(){n.queueAdRequest(r)})),setTimeout((function(){var t=r.callback;r.callback=null,t&&t()}),e)},defineDvtagSlot:function(t,e){if(window){(0,j.A)("info","thirdparty","doubleverify > Unity > defineDvtagSlot",{elementId:t,params:e});var n=window.dvtag||{};n.cmd=n.cmd||[],n.cmd.push((function(){n.defineSlot(t,e)}))}},getDvtagTargeting:function(t){if(!window)return{};(0,j.A)("info","thirdparty","doubleverify > Unity > getDvtagTargeting",t);var e=window.dvtag||{};return e.cmd=e.cmd||[],e.getTargeting?e.getTargeting(t):{}},updateDvTagTargeting:function(t){window&&t.forEach((function(t){var e=t.getSlotElementId(),n=K.getDvtagTargeting(e);t.updateTargetingFromMap(n)}))}};function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n dependencies RESOLVED"),(0,j.A)("info","consent","ccpaConsent",s),(0,j.A)("info","consent","personalizationConsent",c),(0,j.A)("info","adCall","permutiveOn",u),Et(Tt(u),(function(){a.cmd.push(At((function(){if(qt({googletag:a,targeting:l,env:n,abeagle:r}),Yt({googletag:a,settings:Jt({env:n})}),a.pubads().setPrivacySettings({restrictDataProcessing:Gt(s)}),a.pubads().disableInitialLoad(),a.pubads().enableAsyncRendering(),a.pubads().enableSingleRequest(),a.pubads().addEventListener("slotOnload",Pt),a.pubads().addEventListener("slotRenderEnded",It),a.pubads().addEventListener("slotRequested",jt),a.pubads().addEventListener("slotVisibilityChanged",Lt),a.pubads().addEventListener("impressionViewable",Rt),u){var t=a.pubads().getTargeting("permutive");if(0===(null===t||void 0===t?void 0:t.length)){var e=localStorage.getItem("_pdfps");a.pubads().setTargeting("permutive",e?JSON.parse(e):[])}}return a.enableServices(),rt.isOnAndSignals({abeagle:r},Wt).then((function(t){var e=bt(t,1)[0];(0,j.A)("info","thirdparty","#configureGPT: doubleverify > signals: is dv on?",e),e&&rt.signals.loadSignals("page")})),Et()})))}))}))}))}));function At(t){return function(){for(var e=[],n=0;n=10||window&&window.permutive)return clearInterval(i),void e();r++}),50);(0,j.A)("info","adCall","permutive defined ,interval:",i)}))})),Lt=At((function(t){var e=String(t.slot.getTargeting("wid"));return Et(Nt.get("eventBus"),(function(n){bt(n,1)[0].trigger("gpt:slotVisibilityChanged:".concat(e),t)}))})),Pt=At((function(t){var e=String(t.slot.getTargeting("wid"));if(Ut(e)&&e)return Et(Nt.get("eventBus"),(function(n){bt(n,1)[0].trigger("gpt:slotOnload:".concat(e),t)}));window.raven&&window.raven.captureMessage("onSlotLoad error",{tags:{gptEvent:t}})})),jt=At((function(t){var e,n=String(t.slot.getTargeting("wid"));if(null===(e=Dt[n])||void 0===e?void 0:e.getAdUnitPath())return Et(Nt.get("env"),(function(t){var e=bt(t,1)[0],r=Dt[n].getAdUnitPath(),i=bt(r.split("/"),6),o=i[2],a=i[3],s=i[4],c=i[5];(0,lt.A)(ut.fG,{detail:{wid:n,unitPath:r,zone1:o,edition:a,vertical:s,pos:c}}),(0,lt.l)(ut.fG,e)}))})),It=At((function(t){var e=String(t.slot.getTargeting("wid"));delete Zt[e];var n=Ut(e);if((0,j.A)("info","adCall","slot is",n),n&&e)return Et(Nt.get("eventBus"),(function(n){bt(n,1)[0].trigger("gpt:slotRenderEnded:".concat(e),t)}));window.raven&&window.raven.captureMessage("onSlotRenderEnded error",{tags:{gptEvent:t}})})),Rt=At((function(t){var e=String(t.slot.getTargeting("wid"));if(Ut(e)&&e)return Et(Nt.get("eventBus","env"),(function(n){var r=bt(n,2),i=r[0],o=r[1];i.trigger("gpt:impressionViewable:".concat(e),t);var a=Dt[e].getAdUnitPath(),s=bt(a.split("/"),6),c=s[2],u=s[3],l=s[4],f=s[5];(0,lt.A)(ut.Jg,{detail:{wid:e,unitPath:a,zone1:c,edition:u,vertical:l,pos:f}}),(0,lt.l)(ut.Jg,o)}));window.raven&&window.raven.captureMessage("impressionViewable error",{tags:{gptEvent:t}})})),zt={checkIsOn:f},Mt="https://securepubads.g.doubleclick.net/tag/js/gpt.js",Nt={_eventBusGetter:null,_envGetter:null,_localizationGetter:null,_abeagleGetter:null,_gdprGetter:null,_ccpaGetter:null,_trackingGetter:null,get:function(){for(var t=arguments.length,e=new Array(t),n=0;n=3)&&"Y"===t.charAt(2)}function qt(t){var e,n=t.googletag,r=t.targeting,i=void 0===r?{}:r,o=t.env,a=void 0===o?{}:o,s=t.abeagle;n.pubads().clearTargeting(),"function"===typeof(null===(e=Bt())||void 0===e?void 0:e.setPrebidPageTargeting)&&Bt().setPrebidPageTargeting("amazon",a,s),Object.keys(i).forEach((function(t){n.pubads().setTargeting(t,i[t])}))}function Jt(t){var e=t.env;return e.isAdPost()||e.cmsTags.includes("commerce-partnership")?{fetchMarginPercent:-1,renderMarginPercent:-1,mobileScaling:-1}:h.Z.isAny(["md","lg"])?Promise.resolve({fetchMarginPercent:1e3,renderMarginPercent:200}):null}function Yt(t){var e=t.googletag,n=t.settings;e.pubads().enableLazyLoad(n)}St=null,kt=new p.BH,Nt._eventBusGetter=new p.BH,Nt._envGetter=new p.BH,Nt._localizationGetter=new p.BH,Nt._abeagleGetter=new p.BH,Nt._gdprGetter=new p.BH,Nt._ccpaGetter=new p.BH,Nt._trackingGetter=new p.BH,Dt={},Zt={},Ot={getPageTargeting:function(){return Promise.resolve(null)},getSlotTargeting:function(){return Promise.resolve(null)}};var Xt=function(){var t=window;return"function"===typeof t.describe&&"function"===typeof t.expect},Qt=function(){return window._isAdsServiceTest};Promise.allSettled=Promise.allSettled||function(t){return Promise.all(t.map((function(t){return t.then((function(t){return{status:"fulfilled",value:t}})).catch((function(t){return{status:"rejected",reason:t}}))})))};var Kt={AdError:S.ZP,thumbnailReady:x.qB,buildAdCall:ct.C,getAdCallCategory:L.jP,inject:function(t){"eventBus"in t&&Nt._eventBusGetter.resolve(t.eventBus),"env"in t&&Nt._envGetter.resolve(t.env),"localization"in t&&Nt._localizationGetter.resolve(t.localization),"abeagle"in t&&Nt._abeagleGetter.resolve(t.abeagle),"gdpr"in t&&Nt._gdprGetter.resolve(t.gdpr),"ccpa"in t&&Nt._ccpaGetter.resolve(t.ccpa),"tracking"in t&&Nt._trackingGetter.resolve(t.tracking)},configure:function(t){var e=function(t){return function(){var e=arguments;return Promise.resolve().then((function(){return t.apply(void 0,yt(e))})).catch((function(){return{}}))}},n=t.customTargetingPage,r=t.customTargetingSlot;"function"===typeof n&&(Ot.getPageTargeting=e(n)),"function"===typeof r&&(Ot.getSlotTargeting=e(r))},init:function(){var t=function(t,e,n){return n.init(t).then((function(t){return t}),(function(t){return console.error(t),null}))};if(Xt()&&!Qt())throw new Error("Unit tests should not make real ad calls! Make sure mock `ads` methods");var e=Xt()||Qt();if(St)return St;(0,lt.A)(ut.Ly);var n=(0,L.gZ)();return(n+=(n?" + ":"")+b.ZP.getDFPKeyword())&&document.body.insertAdjacentHTML("beforeend",'\n
\n '.concat(n,"\n
\n ")),St=Nt.get("eventBus","env","localization","abeagle","gdpr","ccpa","tracking").then((function(n){var r=bt(n,7),i=r[0],o=r[1],a=r[2],s=r[3],c=r[4],u=r[5],l=r[6];g.start({eventBus:i});var f,d={env:o,localization:a,abeagle:s,gdpr:c,ccpa:u,tracking:l,googletagReady:kt},h=t.bind(null,d);f=o.localization.language?o.localization.language:"getRawPageLanguage"in a?a.getRawPageLanguage():"en";var p=Vt(o,a);(0,j.A)("info","adCall","language set",f),(0,st.m0)(f),$t=o.userCountry||"us",Wt=(0,pt.Aw)("doubleverify",$t,p),(0,j.A)("info","thirdparty","DoubleVerify using",Wt),Bt=function(){return(0,pt.RT)($t,p)};var m,v=[Ft(),(m={gdpr:c},m.gdpr.fetchAdPurposeConsent().then((function(t){if(!t)throw new S.ZP("Did not consent, not loading ads.")}))),h("ad_lightning",O)];e||v.push(h("doubleverify",rt.mapInit(Wt)),Promise.all([rt.isOn({abeagle:s}),s.isOn("ads_bfj_new_magnite")]).then((function(t){var e=bt(t,2),n=e[0],r=e[1],i="prebid";return void 0!==r&&r&&(i="bfj_prebid"),n&&"signals"===Wt?rt.signals.targetingDataReady.then((function(){return h("prebid",Bt().getPrebidInitializer(i,d))})):h("prebid",Bt().getPrebidInitializer(i,d))})),Bt().BIDDERS.includes("amazon")?h("amazon",Bt().getPrebidInitializer("amazon",d)):Promise.resolve());var b=Promise.all(v);return h("teads",at),h("liveRamp",dt),b.then((function(){i.trigger("ads:initialized"),(0,lt.A)(ut.tR),(0,lt.l)(ut.C2,o)}))}))},start:function(){return this.init().catch((function(t){return e=t,(null!=(n=S.ZP)&&"undefined"!==typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](e):e instanceof n)?Promise.resolve():Promise.reject(t);var e,n}))},reset:At((function(){return(0,j.A)("info","lifecycle","reset ad slots",Dt),Et(Nt.get("env","abeagle","gdpr"),(function(t){var e=bt(t,3),n=e[0],r=e[1],i=e[2];return Promise.all([kt,_t({env:n,abeagle:r,gdpr:i})]).then((function(t){var e=bt(t,2),i=e[0],o=e[1];i.destroySlots(),qt({googletag:i,targeting:o,env:n,abeagle:r}),Yt({googletag:i,settings:Jt({env:n})})}))}))})),clearTargeting:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Dt[t]){var n=Dt[t];e.forEach((function(t){return n.clearTargeting(t)}))}},renderWidget:function(t){var e=this,n=t.wid;return Zt[n]?Zt[n]:(this.createAdSlotContainer(n),Zt[n]=Nt.get("env","gdpr","ccpa","abeagle","localization").then((function(r){var i,o=bt(r,5),a=o[0],s=o[1],c=o[2],u=o[3],l=o[4],f={env:a,gdpr:s,ccpa:c,abeagle:u,googletagReady:kt},d=(0,ct.C)(t,{env:a,localization:l});if("/DISABLE/"===d)return e.destroySlot(n);var h=(null===(i=Bt())||void 0===i?void 0:i.getAllBidRequesters(f))||[];return Promise.all([e.init(),e.defineSlot(t)]).then((function(n){var r=bt(n,2)[1];return e.requestHeaderBid(h,gt({},t,{path:d,slot:r}))}))})).then((function(){return e.display(t)})))},refreshWidget:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.wid;if(Zt[r])return Zt[r];if(!Dt[r]||!Dt[r].getSlotElementId())return this.renderWidget(t,!1,n);(0,j.A)("info","lifecycle","renderWidget ".concat(r," refresh"),{slotStatus:Zt[r],slot:Dt[r]});var i=Dt[r].getTargetingKeys().filter((function(t){return/^hb_|amzn/.test(t)}));return Kt.clearTargeting(r,i),Object.keys(n).forEach((function(t){Dt[r].setTargeting(t,n[t])})),Zt[r]=Nt.get("env","gdpr","ccpa","abeagle","localization").then((function(n){var i,o=bt(n,5),a=o[0],s=o[1],c=o[2],u=o[3],l=o[4],f={env:a,gdpr:s,ccpa:c,abeagle:u,googletagReady:kt},d=(0,ct.C)(t,{env:a,localization:l});if("/DISABLE/"===d)return e.destroySlot(r);var h=(null===(i=Bt())||void 0===i?void 0:i.getAllBidRequesters(f))||[];return Promise.all([e.requestHeaderBid(h,gt({},t,{path:d,slot:Dt[r]})),kt,rt.isOnAndUnity({abeagle:u},Wt)])})).then((function(t){var e=bt(t,3),n=e[1],i=bt(e[2],2),o=i[0],a=i[1];(0,j.A)("info","thirdparty","doubleverify > Unity > #refreshWidget: DV (Unity) Is On / tagReady?",o,a),o?(rt.unity.updateDvTagTargeting([Dt[r]]),a.then((function(){n.pubads().refresh([Dt[r]])}))):n.pubads().refresh([Dt[r]])}))},defineSlot:function(t){var e=t.wid,n=t.size,r=void 0===n?"fluid":n,i=t.targeting,o=void 0===i?{}:i,a=Dt[e];return a?Promise.resolve(a):Promise.all([Nt.get("env","localization"),kt,Ot.getSlotTargeting(t),new Promise((function(t){"cookieDeprecationLabel"in navigator?navigator.cookieDeprecationLabel.getValue().then((function(e){t(void 0!==e)})):t(!1)})),Nt.get("abeagle").then((function(t){var e=bt(t,1)[0];return rt.isOn({abeagle:e})}))]).then((function(n){var i=bt(n,5),a=bt(i[0],2),s=a[0],c=a[1],u=i[1],l=i[2],f=i[3],d=i[4];Object.assign(o,l);var h=(0,ct.C)(t,{env:s,localization:c});if("/DISABLE/"===h)return null;var p=(s||{}).userCountry,m=void 0===p?"us":p,v=Vt(s,c),g=(0,pt.tb)(m,v),b=(0,pt.RB)(g,t);"bzfd"!==g&&(r=b.size);var y=Ht(e),w=u.defineSlot(h,r,y);if(d&&"unity"===Wt){var E=r.map((function(t){var e=bt(t,2);return{width:e[0],height:e[1]}}));(0,j.A)("info","thirdparty","doubleverify > Unity > #defineSlot: DV (Unity) Is On / sizeRemap",E),rt.unity.defineDvtagSlot(y,{id:h,sizes:Wt}),rt.unity.onDvtagReady()}Object.keys(o).forEach((function(t){w.setTargeting(t,[].concat(o[t]))}));var x=Kt.getAdCallCategory(t,{env:s});return x&&w.setTargeting("zone3",x),w.setTargeting("addressable",(0,ht.B)()?"true":"false"),w.setTargeting("cookieDeprecation",f?"true":"false"),w.addService(u.pubads()),Dt[e]=w,w}))},display:At((function(t){var e=t.wid,n=t.isGAMNativeVideo,r=void 0!==n&&n,i=[Dt[e]];return Promise.all([Nt.get("abeagle").then((function(t){var e=bt(t,1)[0];return rt.isOn({abeagle:e})})),kt]).then((function(t){var n=bt(t,2),o=n[0],a=n[1],s=o&&"signals"===Wt,c=o&&"unity"===Wt;if((0,j.A)("info","thirdparty","doubleverify > #display : what DV is on?",{DV_Signals:s,DV_Unity:c,DV_ON:o,isGAMNativeVideo:r}),!s||r||c)!s&&c?(rt.unity.updateDvTagTargeting(i),rt.unity.onDvtagReady((function(){a.pubads().refresh(i,{changeCorrelator:!1}),a.display(Ht(e))}))):(a.pubads().refresh(i,{changeCorrelator:!1}),a.display(Ht(e)));else{!function(t,e){var n=rt.signals.runOnce(t,e);rt.signals.loadSignals(e,n),setTimeout(n,750)}((function(t){return a.pubads().refresh(t,{changeCorrelator:!1})}),i),a.display(Ht(e))}}))})),destroySlot:function(t){var e=t.wid,n=Dt[e];return n?(delete Dt[e],delete Zt[e],kt.then((function(t){t.destroySlots([n])}))):Promise.resolve()},createAdSlotContainer:function(t){var e="div-gpt-ad-".concat(t),n=Ht(t);document.querySelectorAll(".js-ad-".concat(t)).forEach((function(r){var i=null===r||void 0===r?void 0:r.querySelector("#".concat(e));if(r&&!i){var o='\n
\n '),a=r.querySelector("script:first-child");a?a.insertAdjacentHTML("afterend",o):r.insertAdjacentHTML("afterbegin",o)}else i&&n!==e&&(i.id=n)}))},isEmpty:function(t){var e=t.size,n=t.isEmpty,r=t.campaignId,i=t.creativeTemplateId;return n||null===e||void 0===e||y.indexOf(String(r))>-1||w.indexOf(String(i))>-1},isBackfillSlot:function(t){if(Kt.isEmpty(t))return!1;var e=t.advertiserId;return!(e&&!t.isBackfill)||E.indexOf(String(e))>-1},isProgrammaticSlot:At((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Kt.isEmpty(t))return!1;var n=t.size,r=bt(n,2),i=r[0],o=r[1];return Et(Nt.get("env"),(function(t){var r=bt(t,1)[0];return(!A.Z.isEqual(n,r.adSizes.RESEARCH_PIXEL)||!A.Z.contains(e,n))&&(1===i&&1===o||A.Z.isProgrammatic(r.programmaticSizes,n,{strict:!1}))}))})),isIframeContent:At((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Kt.isEmpty(t))return!1;var n=t.size,r=bt(n,2),i=r[0],o=r[1];return 0===i&&0===o||Kt.isProgrammaticSlot(t,e)})),getRenderedAdSize:function(t,e){if(Kt.isEmpty(t))return(0,j.A)("warn","adCall","ad is empty"),{};(0,j.A)("info","adCall","gptEv:",t),(0,j.A)("info","adCall","options",e);var n=bt(t.size||[1,1],2),r=n[0],i=n[1];if(1===r&&r===i){var o=e.wid,a=document.getElementById(Ht(o)).querySelector("iframe");r=a.offsetWidth,i=a.offsetHeight}return{width:r,height:i}},detectAdBlock:function(){return Ct?((0,j.A)("info","adCall","ad block enabled. Please disable to see the ads"),Ct):Ct=new Promise(At((function(t){return(0,r.v)("//www.buzzfeed.com/static/js/ad-detection/ads.js").then((function(){return t(!1)})).catch((function(){return t(!0)})),Et()})))},notifyBFA:At((function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Et(Nt.get("tracking"),(function(r){var i=bt(r,1)[0],o=i&&i.track?i.track:window.bfa;(0,_.i)({trackFn:o,eventName:t,eventData:e,hasEventUrl:n})}))})),requestHeaderBid:function(t,e){var n=t.filter((function(t){return t})).map((function(t){return t.requestBid?t.requestBid(Kt,e):Promise.resolve()}));return Promise.allSettled(n).then((function(t){return t.filter((function(t){var e=t.status,n=t.value;return"fulfilled"===e&&Boolean(n)})).map((function(t){return t.value})).map((function(t){return t.setTargeting()}))})).then((function(t){return Promise.all(t)}))},getSlotContainer:function(t){return Ut(t)},getSlotContainerId:function(t){return Ht(t)},isGPTPrefetch:At((function(){return Et(Nt.get("env","abeagle"),(function(t){var e=bt(t,2),n=e[0],r=e[1];return Et(Promise.all([r.isOn("ADS-1791-new-bpage-gpt-lazyload"),Jt({env:n})]),(function(t){var e=bt(t,2),n=e[0],r=e[1];return(0,j.A)("info","adCall","isGPTLazyLoad",n),(0,j.A)("info","adCall","lazyLoadSettings",r),n&&null!==r}))}))}))};At((function(){if(!Xt())return Et(Nt.get("abeagle"),(function(t){var e=bt(t,1)[0];Kt.detectAdBlock().then((function(t){t&&(T.Z.init({abeagle:e}),document.body.classList.add("has-lego"))})),T.Z.detectAcceptableAds()}))}))()},80150:function(t,e,n){"use strict";n.d(e,{ZP:function(){return c},Sx:function(){return a}});var r=n(48705),i=n(58451),o=n(9261),a={CREATED:"CREATED",INITIALIZING:"INITIALIZING",INITIALIZED:"INITIALIZED",DESTROYED:"DESTROYED"};Object.freeze(a);var s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=t;return function(){return e++}}();function c(t){var e=this;this.context=t,this.eventBus=t.eventBus,this.element=t.element,this.config=t.config,this.id=s(),this.privateEvents=new r.Z,this.plugins=new Set,this.lifecycleState=a.CREATED,this.stack="bzfd";var n=this.destroy;this.destroy=function(){e.lifecycleState!==a.DESTROYED&&n.call(e)}}c.prototype.init=function(){var t=this;return this.initializing?this.initializing:(this.lifecycleState=a.INITIALIZING,this.syncConfig(),this.initializing=Promise.resolve().then((function(){return t.isEnabled()})).then((function(t){if(!t||Array.isArray(t)&&t.some((function(t){return!t})))throw new i.x9})).then((function(){if(t.lifecycleState===a.DESTROYED)throw new i.$j})).then((function(){return t.setup()})).then((function(){return t.lifecycleState=a.INITIALIZED})).catch((function(e){return t.destroy(),Promise.reject(e)})))},c.prototype.syncConfig=function(){var t=this.context.env||{},e=t.isBFN,n=void 0!==e&&e,r=t.userCountry,i=void 0===r?"us":r,a=t.localization,s=(void 0===a?{edition:"en-us"}:a).edition;!n&&(0,o.tV)(i)?this.stack="geo-".concat(i):(0,o.Uy)(s)&&(this.stack="ed-".concat(s)),"bzfd"!==this.stack&&(this.config=(0,o.RB)(this.stack,this.config))},c.prototype.isEnabled=function(){return!0!==this.config.disableUnit},c.prototype.setup=function(){return this.syncConfig(),this.initPlugins()},c.prototype.onPublicEvent=function(){var t;if(!this.eventBus)return function(){};var e=(t=this.eventBus).on.apply(t,arguments);return this.addDestroyAction(e),e},c.prototype.onDOMEvent=function(t,e,n){t.addEventListener(e,n);var r=function(){return t.removeEventListener(e,n)};return this.addDestroyAction(r),r},c.prototype.initPlugins=function(){var t=this,e=[];return this.plugins.forEach((function(n){e.push(new Promise((function(e,r){var i=new n(t.context);t.addDestroyAction((function(){return i.destroy()})),i.init().then(e,r)})).catch((function(t){return t})))})),Promise.all(e)},c.prototype.addDestroyAction=function(t){this.privateEvents.on("destroying",t)},c.prototype.destroy=function(){this.lifecycleState!==a.DESTROYED&&(this.privateEvents.trigger("destroying"),this.privateEvents.destroy(),delete this.privateEvents,delete this.eventBus,this.lifecycleState=a.DESTROYED)},c.withMixins=function(){for(var t=arguments.length,e=new Array(t),n=0;n0||this.unitsRepeated.filter(t).length>0}},{key:"configure",value:function(){}},{key:"resolveConfig",value:function(){var t,e=this,n=this.context.solid;if(n){var r=Object.keys(n.cssBreakpoints),o=n.getBreakPoint();t=function(t){var n=e["".concat(t,"_").concat(o)]||e.config["".concat(t,"_").concat(o)];return void 0!==n?n:(n=e[t]||e.config[t],(0,i.isObject)(n)&&(r.some((function(t){return t in n}))||"default"in n)?n=o in n?n[o]:n.default:n)}}else t=function(t){return e[t]||e.config[t]};this.units=t("units")||[],this.unitsRepeated=t("unitsRepeated")||[],this.pattern=t("pattern")||[],this.placements=t("placements")||[],this.density=Number(t("density"))||0}},{key:"reset",value:function(){delete this._state.currAd,delete this._state.currPlacement}},{key:"getNextAd",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{pause:!1}).pause;"currAd"in this._state||(this._state.currAd={idx:-1,usePrev:!1});var e,n=this._state.currAd;return c(n.ad)?n.ad:((n.usePrev||t)&&n.idx>-1?e=n.ad:(n.idx++,e=this.getAd(n.idx)),n.ad=e,n.usePrev=t,e||null)}},{key:"getAd",value:function(t){var e,n=!1;return t0?(e=this.unitsRepeated[(t-this.units.length)%this.unitsRepeated.length],n=!0):e=new s,!e||c(e)||"slot"in e||(e={slot:e}),n&&(e.slot.isInfinite=!0),e}},{key:"getNextPlacement",value:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{pause:!1}).pause;if(this.lifecycleState===a.Sx.DESTROYED)return new s;"currPlacement"in this._state||(this._state.currPlacement={idx:-1,placement:-1,usePrev:!1});var e,n=this._state.currPlacement;if(c(n.placement))return n.placement;if((n.usePrev||t)&&n.idx>-1)e=n.placement;else{var r=this.pattern,i=r.length,o=this.placements,u=this.density,l=++n.idx;if(i>0)if(-1===n.placement)-1===(e=r.findIndex((function(t){return t})))&&(e=new s);else{var f,d=n.placement%i,h=r.findIndex((function(t,e){return t&&e>d}));h>-1?f=h-d:(h=r.findIndex((function(t,e){return t&&e<=d})),f=i-d+h),e=n.placement+f}else e=l0?n.placement+u:new s}return n.placement=e,n.usePrev=t,e}},{key:"getAdForPlacement",value:function(t){var e=this.getNextPlacement();return c(e)?new s:t===e?this.getNextAd():(this.getNextPlacement({pause:!0}),null)}},{key:"prepareAd",value:function(t,e){return(t=(0,i.merge)({},t)).slot.position=e+1,t}},{key:"getAdModuleTemplate",value:function(){throw new o.ZP("The method should be implemented in derived classes")}}])}(a.ZP);u.Done=s,u.isDone=c},42711:function(t,e,n){"use strict";n.d(e,{Z:function(){return Y}});var r=n(24027),i=n(84030);function o(t,e=!1){e&&t.setAttribute("aria-hidden",!0),(t.tabIndex>=0||t.shadowRoot)&&(t.tabIndex=-1),Array.prototype.forEach.call(t.children,o)}function a(t){o(t,!0)}const s=function(){if("undefined"===typeof document||!document.body)return 0;const t=document.createElement("div");t.style.overflowY="scroll",t.style.width="100px",t.style.height="100px",t.style.zIndex="-1",t.style.visibility="hidden",document.body.appendChild(t);const e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}();function c(t){t&&(0===s?t.classList.add("scrollbar--overlay"):t.classList.add(`scrollbar--${Math.ceil(s)}px`))}c("undefined"!==typeof document?document.documentElement:null);var u=n(81527),l=n(73931),f=n(42772),d=n(16996),h=n(19270),p=n(82732);const m=function(){var t=h.ZP.getQueryParams().sub;return t?parseInt(t.split("_")[1],10):null}();var v={getUrl(){let t;"canonical_path"in window.BZFD.Context.page?t=window.BZFD.Context.page.canonical_path:window.BZFD.Context.buzz&&(t=window.BZFD.Context.buzz.canonical_path),t=t||"";var e=location.origin+t,n=function(t){if(""===t)return{};for(var e={},n=0;nfunction(t){var e,n="",r=d.ZP.find(document.head,`meta[property="${t}"]`);return r.length>0&&(e=d.ZP.getAttr(r[0],"content"))&&(n=e),n}("author").replace(/,$/g,""),getTitle(t){var e=window.BZFD.Context.page.title||document.title;return t&&window.BZFD.Context.page.promotions[t]&&window.BZFD.Context.page.promotions[t].title||e},getDescription(t){var e=window.BZFD.Context.page.description;return t&&window.BZFD.Context.page.promotions[t]&&window.BZFD.Context.page.promotions[t].description||e},getCaption(){var t=document.domain,e=this.getAuthor();return e&&(t+=` | By ${e}`),t},getPicture(t){var e=window.BZFD.Context.page.picture;return t&&window.BZFD.Context.page.promotions[t]&&window.BZFD.Context.page.promotions[t].picture||e},getAll(){return{url:this.getUrl(),author:this.getAuthor(),title:this.getTitle(),description:this.getDescription(),caption:this.getCaption(),picture:this.getPicture()}},renderString(t,e,n){var r=h.ZP.extend({},this.getAll(),e||{});return p.Z.renderString(t,r,n)},isLinkedSubbuzz:t=>null!==m&&m===t,getSubbuzzShareData(t,e){let n=h.ZP.removeHash(this.getUrl());const r=h.ZP.addQueryParam(n,"sub","0_"+e)+"#"+e,i=d.ZP.getText(t,".js-subbuzz__title-text").trim();return{text:i||this.getTitle().trim(),url:n+"#"+e,shareMetaUpdatedUrl:r,fbUrl:r,media:this.getSubbuzzMedia(t)||this.getPicture(),subbuzzTitle:i}},getQuizResultShareData(t,e){let n=h.ZP.removeHash(this.getUrl());const r=h.ZP.addQueryParam(n,"quiz_result",t+"_"+e)+"#"+t;return{url:n+"#"+t,shareMetaUpdatedUrl:r,fbUrl:r}},getSubbuzzMedia(t){const e=d.ZP.findOne(t,".js-subbuzz__media");if(!e)return"";let n=d.ZP.getAttr(e,"data-src"),r=d.ZP.getAttr(e,"data-gif-src");return u.Z.isAny(["xs","sm"])&&(n=d.ZP.getAttr(e,"data-mobile-src")||n,r=d.ZP.getAttr(e,"data-mobile-gif-src")||r),r||n||d.ZP.getAttr(e,"src")}},g={};const b=function(t){var e=document.createElement("iframe");e.style.cssText="position:absolute; width:1px; height:1px; opacity:0;",e.setAttribute("src",t),document.body.appendChild(e)};g.iosOpenUrl=b;const y=t=>encodeURIComponent(JSON.stringify(t));g.encodePixiedustData=y;const w=t=>{var e="";return Object.keys(t).forEach((function(n){e&&(e+="&"),e+=n+"="+encodeURIComponent(t[n])})),e};g.encodeData=w;g.share=(t,e)=>{let n=e;if("pinterest"===t&&(n=(t=>({media:t.media,url:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"pinterest"}),description:t.text}))(e)),"facebook"===t&&(n=(t=>({name:t.text,caption:v.getCaption(),description:v.getDescription("facebook"),link:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"facebook"}),picture:t.picture}))(e)),"twitter"===t&&(n=(t=>({text:t.text,url:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"twitter"})}))(e)),"email"===t&&(n=(t=>({subject:t.text,body:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"email"})}))(e)),"copy"===t&&(n=(t=>({url:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"copy"})}))(e)),n=((t,e)=>(t.quizId&&t.itemId&&(e.ga_label=t.quizId+"="+t.itemId,e.result_id=t.itemId),e))(e,n),f.ZP.isIOS()){let e="bf://share/"+t+"?"+w(n);b(e)}else f.ZP.isAndroid()?window.bf&&window.bf.share&&window.bf.share(t,JSON.stringify(n)):console.log("share() error: cannot determine device os, bailing.")};g.analytics=(t,e)=>{if(f.ZP.isIOS()){let n;"pixiedust"!==t||f.ZP.isNewsApp()?"google"===t?n="bf://analytics?"+w(e):console.log('analytics() ios "platform" is neither "pixiedust" nor "google", is this OK?'):n="bf://pixiedust?event="+y(e),b(n)}else if(f.ZP.isAndroid())if("pixiedust"===t)window.bf&&window.bf.pixiedust&&window.bf.pixiedust(JSON.stringify(e));else if("google"===t){window.bf&&window.bf.analytics&&window.bf.analytics("",JSON.stringify(e))}else console.log('analytics() android "platform" is neither "pixiedust" nor "google", is this OK?');else console.log("analytics() error: cannot determine device os, bailing.")};const E=()=>{var t=!1;return window.bf&&window.bf.optOut&&(t=window.bf.optOut()),t};g.optOut=E;var x=n(6294),A=n(70833),S=n(89809),k=function(t,e,n){for(var r=n?t:t.parentNode;r&&r!==document;){if(r.matches(e))return r;r=r.parentNode}return null},C=n(98254),O=n(58451),_=n(51761),T=n(52824),L=n(40979),P=(n(186),n(84714),n(35813));function j(t,e){var n=e.env,r=e.localization;return(0,P.z)({uri:"branded-buzz",view:function(t){return t.buzzes[0].buzz},edition:function(){return""}},{origin:n.webRoot,extraParams:{u:"buzz-mobile"},localization:r},t)}function I(t){if("Failed to fetch"!==t.message)throw t}var R=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.buzzId,r=e.buzz,i=void 0===r?null:r,o=e.buzzIds,a=void 0===o?[]:o,s=e.buzzes,c=void 0===s?[]:s,u=e.creativeId,l=arguments.length>1?arguments[1]:void 0,f=l.env,d=l.localization;if(i)t=Promise.resolve([i]);else if(c.length>0)t=Promise.resolve(c);else if(n||0!==a.length){n&&(a=[n]);var h="en-us";d?h=d.edition:f.localization&&(h=f.localization.country);var p=function(t){return j(t,{env:f,localization:{getEdition:function(){return h}}})};t=Promise.all(a.map(p))}else t=Promise.reject(new C.Z.AdError("Missing buzz id for creative #".concat(u)));return t.catch(I),t},z=n(80150);function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?t.buzzes=n:t.buzz=n[0],e.contentPending.native.resolve(t)}),(function(n){return e.contentPending.native.reject([t,n])})):this.contentPending.native.resolve(t),this.stopLoadedListening()}},{key:"setup",value:function(){var t,n=this,o=this,a=this.config.wid;return this._onSlotRenderEnded=(t=function(t){return e=C.Z.isProgrammaticSlot(t,o.config.size),n=function(e){C.Z.isEmpty(t)?o.contentPending.other.resolve({type:"empty"}):e&&o.contentPending.other.resolve({type:"programmatic"})},r?n?n(e):e:(e&&e.then||(e=Promise.resolve(e)),n?e.then(n):e);var e,n,r},function(){for(var e=[],n=0;n0&&void 0!==arguments[0]?arguments[0]:{}).link;t&&t.dataset.bfa||this.notifyBFA("click"),this.notify3rdparty("click")}},{key:"trackAdvertiseClick",value:function(t){var e={t:"click:advertise",n:"Advertise",l:this.config.adPos,d:"edition",data:{url:t.url},opt:{dimension2:this.context.env.localizationCountry,dimension7:this.config.adPos}};(0,B.i)({trackFn:(this.context.tracking||{}).track,eventName:"click",eventData:e})}},{key:"trackImpression",value:function(){this.notify3rdparty("impression"),this.notifyBFA("scroll")}},{key:"notifyBFA",value:function(t){if(this.ad&&t&&this.config&&this.config.adPos){var e=this.config.adPos,n="programmatic"===this.ad.type,r=this.gptEv.creativeId;!r&&n&&(r="adxbackfill");var i={t:t,n:"".concat(e,"-dfp"),l:e,d:n?"programmatic":"creative",data:{obj_id:0,type:this.ad.type,creativeId:r},opt:{dimension13:r}};(0,B.i)({trackFn:(this.context.tracking||{}).track,eventName:t,eventData:i})}}},{key:"notify3rdparty",value:function(t){var e=this;this.ad&&(this.ad["".concat(t,"Trackers")]||[]).forEach((function(n){return e.create3rdPartyPixel(n,t)}))}},{key:"normalize3rdPartyTrackers",value:function(){var t=this.ad;if(t&&"programmatic"!==t.type){var e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter((function(t){return!!t}))};t.clickTrackers||(t.clickTrackers=[(window.BF_DFP_CLICKS||{})[this.config.wid]]),t.clickTrackers=e(t.clickTrackers),t.impressionTrackers=e(t.impressionTrackers),t.customTrackers="string"===typeof t.customTrackers?e(t.customTrackers.split(/\s+/)):[],this.init3rdPartyScripts()}}},{key:"create3rdPartyPixel",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=new Image;n.src=t,this.context.env.isE2ETest&&(n.classList.add("ad-slot-invisible"),n.classList.add("ad-e2e--pixel-".concat(e)),this.element.appendChild(n))}},{key:"init3rdPartyScripts",value:function(){var t=this;this.ad.customTrackers.forEach((function(e){return(0,Z.v)(e,t.element)}))}},{key:"destroy",value:function(){this.element.removeEventListener("click",this._trackClicksBound),delete this._trackClicksBound,this._detectProgrammaticClick&&(window.removeEventListener("blur",this._detectProgrammaticClick),delete this._detectProgrammaticClick),(0,r.Vx)(e,"destroy",this,3)([])}}])}(z.ZP),W=n(99945),V=n(22299),H=function(t){function e(){var t;(0,r.PA)(this,e);var n=(t=(0,r.$w)(this,e,arguments)).wid=t.config.wid;if(t.onPublicEvent("ad-wireframe-no-collapse:".concat(n),t._onNoCollapse.bind(t)),t.onPublicEvent("ad-content-rendered:".concat(n),t._loadAd.bind(t)),t.onPublicEvent("ad-content-rendered:".concat(n,"-1"),t._loadAd.bind(t)),t.wireframeElement=(0,d.oq)(t.element,".ad-wireframe-wrapper")||null,(!t.config.platform||"autodetect"===t.config.platform)&&t.wireframeElement){var i=Math.max(document.documentElement.clientWidth,window.innerWidth||0),o=t.config.size.filter((function(t){return Array.isArray(t)&&t[0]<=i}));t._setWireframeSizes({width:Math.max.apply(null,o.map((function(t){return t[0]}))),height:Math.max.apply(null,o.map((function(t){return t[1]})))})}return t}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"_setWireframeSizes",value:function(t){var e=t.width,n=t.height;(1!==e||1!==n)&&Number.isInteger(e)&&Number.isInteger(n)&&(this.wireframeElement.dataset.wireframeWidth=e,this.wireframeElement.dataset.wireframeHeight=n)}},{key:"_onNoCollapse",value:function(){var t=this;this._thumbnailReady=(0,W.qB)(this.element),this._thumbnailReady.then((function(){return t._loadAd()})),this.addDestroyAction((function(){return t._thumbnailReady.unsubscribe()}))}},{key:"_loadAd",value:function(){var t=this;this._thumbnailReady&&this._thumbnailReady.unsubscribe(),this._loadAdProgress=(0,d.SU)(this.element),Promise.race([this._loadAdProgress,new Promise((function(t){return setTimeout(t,750)}))]).then((function(){t.lifecycleState!==z.Sx.DESTROYED&&t.eventBus.trigger("ad-wireframe-fadein-finish:".concat(t.wid))})),this.addDestroyAction((function(){return t._loadAdProgress.unsubscribe()})),this._adFadeIn(),this._removeWireframe(),this.element.classList.add("ad--loaded")}},{key:"_adFadeIn",value:function(){this.element.querySelectorAll(".ad-wireframe-text").forEach((function(t){t.style.display="none"}));var t=this.element.querySelectorAll(".ad-fade");t.length<=0&&this.element.classList.contains("ad-fade")&&(t=[this.element]),t.forEach((function(t){if(null===t.offsetParent)t.classList.remove("ad-fade");else{var e=(0,d.SU)(t,{properties:["opacity"]}),n=function(){t.classList.remove("ad-fade"),e.unsubscribe()};e.then(n),t.style.opacity=1,setTimeout(n,500)}}))}},{key:"_detectCollapseEnd",value:function(){var t=this;(0,d.SU)(this.wireframeElement||this.element,{properties:["opacity"]}).then((function(){t._removeWireframeAndHide()}))}},{key:"_removeWireframeAndHide",value:function(){this._removeWireframe(!0)}},{key:"_removeWireframe",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._removeWireframeClasses(this.element,t),t&&(this.element.classList.add("js-hidden"),this.eventBus.trigger("ad-wireframe-collapse-finish:".concat(this.wid)))}},{key:"_removeWireframeClasses",value:function(t,e){if(t&&"string"===typeof t.className&&(t.className=t.className.replace(/\bad-wireframe[-\S]*/g,""),t.className=t.className.replace(/\bad-fade[-\S]+/g,""),e&&(t.className=t.className.replace(/\bad-fade/g,""))),null===t||void 0===t?void 0:t.children)for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n isEnabled","unit disabled from config"),Promise.resolve(!1)):Promise.all([this.isFirstInit(),!J(),this.isPlatformCorrect()])}},{key:"setupSizes",value:function(){var t=u.Z.isXsmall(),e=u.Z.isSmall(),n=(0,x.YL)(),r=this.context.env.adSizes;e?this.filterProgrammaticSizes({max:r.PROGRAMMATIC_LEADERBOARD}):t&&(this.filterProgrammaticSizes({max:r.PROGRAMMATIC_SMARTPHONE_BANNER}),this.excludeSize(r.PROGRAMMATIC_VERTICAL),n&&this.excludeSize(r.FLUID))}},{key:"deferRender",value:function(){var t;this.renderQueue=this.renderQueue||[],(t=this.renderQueue).push.apply(t,arguments)}},{key:"render",value:function(){var t=this;return this.isRendered?Promise.resolve():(this.isRendered=!0,this.init().then((function(){return Promise.all(t.renderQueue).then((function(){return t.requestAd()}))}),(function(){})))}},{key:"requestAd",value:function(){var t=this;return C.Z.renderWidget(this.config).catch((function(e){return t.eventBus&&t.eventBus.trigger("ad-request-failure:".concat(t.config.wid)),n=e,(null!=(r=O.ZP)&&"undefined"!==typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](n):n instanceof r)?Promise.resolve(e):Promise.reject(e);var n,r}))}},{key:"addA11yMarkup",value:function(){this.element.setAttribute("role","complementary"),this.element.setAttribute("aria-label","Advertisement")}},{key:"addCssClasses",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null!==e&&(t=this.element.classList).add.apply(t,q(e));var n=this.config.wid;this.element.classList.add("js-ad","js-ad-".concat(n));var r=this.skin;r&&this.element.classList.add("ad--".concat(r)),this.config.advertiserContext&&this.element.classList.add("ad--partner");var i=C.Z.getSlotContainer(n);i&&i.classList.add("ad-slot","js-ad-slot","js-ad-slot-".concat(n))}},{key:"addDisabledCssClasses",value:function(){if(this.element){this.element.classList.add("ad--disabled");var t=k(this.element,".Ad");t&&t.classList.add("Ad--disabled");var e=k(this.element,".ad-wrapper");e&&e.classList.add("Ad--disabled")}}},{key:"isPlatformCorrect",value:function(){var t,e=this.config.platform||null,n=this.config.supports||null;return e&&("desktop"===e?t=["md","lg"]:"mobileweb"===e&&(t=["xs","sm"])),n&&(t=n),!Array.isArray(t)||u.Z.isAny(t)}},{key:"handleSlotRenderEnded",value:function(t){try{var e=C.Z.getSlotContainer(this.config.wid);return n=C.Z.isIframeContent(t,this.config.size),r=function(t){t?e.classList.remove("ad-slot-invisible"):(e.classList.add("ad-slot-invisible"),a(e))},i?r?r(n):n:(n&&n.then||(n=Promise.resolve(n)),r?n.then(r):n)}catch(o){return Promise.reject(o)}var n,r,i}},{key:"handleContentError",value:function(){this.destroy()}},{key:"addSize",value:function(){for(var t,e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.config.size=S.Z.filterProgrammatic(this.context.env.programmaticSizes,this.config.size,t)}},{key:"reset",value:function(){C.Z.destroySlot(this.config);try{delete this.element.dataset.instanceId}catch(O){console.debug("Unable to delete instanceId from element in destroySlot"),console.debug("Instance ID that was not removed:",this.element.dataset.instanceId)}this.element.classList.remove("js-hidden")}},{key:"destroy",value:function(){C.Z.destroySlot(this.config),(0,r.Vx)(e,"destroy",this,3)([])}}])}(z.ZP.withMixins(T.$,L.Z,_.F))},10533:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var r={IMAGE:"image",EMBED:"embed",GAM_VIDEO:"video (GAM)"}},48705:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},e=(t||{}).variations||[];if(0===e.length)return{};var n=(0,i.sample)(e),r=n.id,o=n.title,a=n.thumbnail,s={};return s.flexproVariation=r,o&&(s.title=o),a&&(s.images={big:a.url,dblbig:a.url,wide:a.wide_url,dblwide:a.wide_url}),s}},{key:"getTemplateData",value:function(){var t=(0,i.merge)({},this.context.ad);return t.buzz=this.getBuzzData(),t.slot=this.config,t}}])}(n(83351).Z);o.formatType="buzz"},32249:function(t,e,n){"use strict";n.d(e,{t:function(){return s},B:function(){return a}});var r=n(24027),i=n(83351),o=n(52824),a=function(t){return function(t){function e(){return(0,r.PA)(this,e),(0,r.$w)(this,e,arguments)}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"setup",value:function(){(0,r.Vx)(e,"setup",this,3)([]);var t=this.config.wid;this.config.isGAMNativeVideo=!0,this.onPublicEvent("ad-native--video-quartile:".concat(t),this.reportQuartile.bind(this)),this.onPublicEvent("ad-native--video-view:".concat(t),this.reportPlayback.bind(this)),this.onPublicEvent("ad-native--video-replay:".concat(t),this.reportReplay.bind(this)),this.onPublicEvent("ad-native--video-pause:".concat(t),this.reportPause.bind(this)),this.onPublicEvent("ad-native--video-volumechange:".concat(t),this.reportVolumeChange.bind(this)),this.onPublicEvent("ad-native--video-loadedmeta:".concat(t),this.reportLoadedMetaData.bind(this))}},{key:"reportLoadedMetaData",value:function(t){var e=t.duration,n=this.config.wid;this.eventBus.trigger("ad-native-video-ready:".concat(n),{duration:e}),this.eventBus.trigger("ad-content-rendered:".concat(n)),this.eventBus.trigger("dfp-native-video:loaded-metadata:".concat(n),t)}},{key:"reportQuartile",value:function(t){var e=this.config.wid;this.eventBus.trigger("ad-native-video-quartile:".concat(e)),4===t.quartile&&this.eventBus.trigger("ad-native-video-ended:".concat(e)),this.eventBus.trigger("native-video-embed:playback-quartile:".concat(e),t)}},{key:"reportReplay",value:function(t){this.eventBus.trigger("dfp-native-video:replay:".concat(this.config.wid),t)}},{key:"reportPlayback",value:function(t){this.eventBus.trigger("dfp-native-video:play:".concat(this.config.wid),t)}},{key:"reportPause",value:function(t){this.eventBus.trigger("ad-native-video-pause:".concat(this.config.wid)),this.eventBus.trigger("dfp-native-video:pause:".concat(this.config.wid),t)}},{key:"reportVolumeChange",value:function(t){this.eventBus.trigger("dfp-native-video:volumechange:".concat(this.config.wid),t)}},{key:"getTemplateData",value:function(){var t=Object.assign({},this.context.ad);return t.adPos=this.config.adPos,t}}])}(t.withMixins(o.$))},s=function(t){function e(){return(0,r.PA)(this,e),(0,r.$w)(this,e,arguments)}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.Z.withMixins(a));(0,r._x)(s,"formatType","dfp_native_video")},84714:function(t,e,n){"use strict";n.d(e,{M:function(){return p},P:function(){return m}});var r=n(24027),i=n(98254),o=n(83351),a=n(39901),s=n(17480);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nc,e.scrollDirection=i>0,e.speed=i,t&&t.getBoundingClientRect){var o=t.getBoundingClientRect(),a=o.top,u=o.bottom;return e.scrollDirection?!e.isFast&&a>0&&a<2*window.innerHeight:!e.isFast&&u-window.innerHeight}return!1}(this.element,this.scrollFetchInfo,t)&&!this.scrollFetchInfo.isRendered&&((0,i.A)("info","lifecycle","ScrollFetch ".concat(this.config.wid,": ready to render,")),this.eventBus.trigger(this.scrollFetchInfo.adFetchActiveEvent),this.scrollFetchInfo.isRendered=!0)}function l(t){return function(t){function e(){return(0,r.PA)(this,e),(0,r.$w)(this,e,arguments)}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"setup",value:function(){var t,n,s,c,l,f,d,h=this;return!o.Z.isAny(["xs","sm"])||o.Z.isAny(["xs","sm"])&&this.noLazyRendering||"us"!==(null===(t=this.context)||void 0===t||null===(n=t.env)||void 0===n?void 0:n.userCountry)||"us"!==(null===(s=this.context)||void 0===s||null===(c=s.env)||void 0===c||null===(l=c.localization)||void 0===l?void 0:l.country)||(null===(f=this.context)||void 0===f||null===(d=f.env)||void 0===d?void 0:d.isHomePage)?((0,i.A)("info","lifecycle","ScrollFetch feature is not eligible"),(0,r.Vx)(e,"setup",this,3)([])):(this.scrollFetchInfo={priorScrollVal:!1,isFast:!1,scrollDirection:!0,speed:0,adFetchActiveEvent:"ad-fetch-active:".concat(this.config.wid),isRendered:!1},this.context.abeagle.getExperimentVariant("ads_delay_fetch",{rejectErrors:!1}).then((function(t){["var1","var2","var3"].includes(t)?((0,i.A)("info","lifecycle","ScrollFetch feature is enabled"),h.deferRender(new Promise((function(t){h.onPublicEvent(h.scrollFetchInfo.adFetchActiveEvent,t)}))),window.addEventListener("scroll",(0,a.throttle)(u.bind(h,t),1e3))):(0,i.A)("info","lifecycle","ScrollFetch feature is not enabled")})),(0,r.Vx)(e,"setup",this,3)([]))}},{key:"destroy",value:function(){window.removeEventListener("scroll",u),(0,r.Vx)(e,"destroy",this,3)([])}}])}(t)}},48267:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(24027),i=n(39901);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n'.concat(JSON.stringify(s),"")},[o,r,s]}var l=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,u,c,i.N8,{isT3Env:0,config:2}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(i.f_)},6888:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var r=n(24027),i=n(39901),o=n(48267);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n updated config ->"),t.refreshConfig);var f=((null===(o=t.context)||void 0===o?void 0:o.localization)||(null===(a=t.context)||void 0===a||null===(c=a.env)||void 0===c?void 0:c.localization)||{}).edition;p.edition[f]&&(t.refreshConfig=l({},t.refreshConfig,p.edition[f]),(0,s.A)("info","lifecycle","InViewRefresh ".concat(u," : EDITION OVERRIDES -> updated config ->"),t.refreshConfig)),t.onPublicEvent("ad-content-ready:".concat(u),t.handleAdContentReadyForRefresh.bind(t)),t.onPublicEvent("post-message:creativeSnippet",t.handleSnippetMessage.bind(t)),t.onPublicEvent("gpt:slotRenderEnded:".concat(u),t.handleSlotRenderEndedRefresh.bind(t)),t.onPublicEvent("gpt:impressionViewable:".concat(u),t.handleImpressionViewableForRefresh.bind(t)),t.onPublicEvent("gpt:slotVisibilityChanged:".concat(u),t.handSlotVisChangeForRefresh.bind(t))}else t.destroy();(0,r.Vx)(e,"setup",t,3)([])}))}catch(n){return Promise.reject(n)}}},{key:"isViewable",value:function(){return this.inViewPercent>=c.q$}},{key:"refreshAd",value:function(){try{var t=this,e=t.config.wid;return f(m((function(){if((null===t||void 0===t?void 0:t.eventBus)&&t.isViewable())return m((function(){var n;if(!(null===(n=t.scrollFetchInfo)||void 0===n?void 0:n.isFast))return f(o.Z.refreshWidget(t.config,{tbr:1,reload:!0}),(function(){t.eventBus.trigger("ad-refresh:".concat(e)),t.refreshCount++,(0,s.A)("info","lifecycle","InViewRefresh ".concat(e," :"),"Refreshed!",t.debugInfo)}));(0,s.A)("info","lifecycle","InViewRefresh ".concat(e," :"),"Did not refresh (users scroll too fast, speed is ".concat(t.scrollFetchInfo.speed),t.debugInfo)}))})))}catch(n){return Promise.reject(n)}}},{key:"refreshEmptyAd",value:function(){var t=this;if(null===this||void 0===this?void 0:this.eventBus){var e,n=this.config.wid;this.emptyCount++,(0,s.A)("info","lifecycle","InViewRefresh ".concat(n," : ad came up empty"),l({emptyCount:this.emptyCount},this.debugInfo)),this.eventBus.trigger("ad-refresh-reset:".concat(n)),this.timeout=setTimeout((e=function(){return o.Z.refreshWidget(t.config,{reload:!0}),t.timeout=null,f()},function(){for(var t=[],n=0;n=i&&(this.complete=!0,(0,s.A)("info","lifecycle","InViewRefresh ".concat(n," :"),"Max refreshes hit. Stopping."),this.destroy()))}},{key:"handleSlotRenderEndedRefresh",value:function(t){var e=this.config.wid;t.isEmpty?((0,s.A)("info","lifecycle","InViewRefresh ".concat(e," : empty ad trying again"),this.debugInfo),this.isCurrentlyEmpty=!0,this.refreshEmptyAd()):this.context.element&&((0,s.A)("info","lifecycle","InViewRefresh ".concat(e," : SlotRenderEnded -> Updating creativeId = ").concat(t.creativeId)),this.creativeId=Promise.resolve(t.creativeId),this.emptyCount=0,this.isCurrentlyEmpty=!1,this.context.element.classList.remove("ad-flexible--empty"),this.context.element.classList.add("ad-flexible--programmatic"),this.context.parentElement&&this.context.element.parentElement.classList.remove("Ad--unfilled"))}},{key:"handSlotVisChangeForRefresh",value:function(t){var e=this.config.wid,n=t.inViewPercentage;this.inViewPercent=n,(0,s.A)("info","lifecycle","InViewRefresh ".concat(e," :"),"SlotVisibilityChanged",this.debugInfo),!this.timeout&&this.isViewable()&&this.impressionCount>this.refreshCount&&!this.isCurrentlyEmpty?((0,s.A)("info","lifecycle","InViewRefresh ".concat(e," :"),"Impression/Refresh Count mismatch due to ad moving out of view. Attempting...",this.debugInfo),this.refreshAd()):!this.timeout&&this.isCurrentlyEmpty&&this.refreshEmptyAd()}},{key:"handleSnippetMessage",value:function(t){try{var e=this,n=e.config.wid,r=t.action,i=t.data.creativeId;return f(e.creativeId,(function(o){"".concat(o)===i&&r===c.nC?((0,s.A)("info","lifecycle","InViewRefresh ".concat(n," -> Disabled by creative: ").concat(i),e.debugInfo),e.destroy()):"".concat(o)===i&&r===c.Ii&&((0,s.A)("info","lifecycle","InViewRefresh ".concat(n," -> Paused by creative; waiting ").concat(t.data.seconds," seconds")),e.paused=!0,e.timeout=setTimeout((function(){e.paused=!1,e.timeout=null,(0,s.A)("info","lifecycle","InViewRefresh ".concat(n," -> Pause ended, refreshing now!")),e.refreshAd()}),1e3*(t.data.seconds||30)))}))}catch(o){return Promise.reject(o)}}},{key:"isEnabled",value:function(){return Promise.all([(0,r.Vx)(e,"isEnabled",this,3)([]),this.config.refreshOptions,!this.complete])}},{key:"removeListeners",value:function(){var t=this.config.wid;this.eventBus.off("ad-content-ready:".concat(t)),this.eventBus.off("gpt:impressionViewable:".concat(t)),this.eventBus.off("gpt:slotRenderEnded:".concat(t)),this.eventBus.off("gpt:slotVisibilityChanged:".concat(t)),this.eventBus.off("post-message:creativeSnippet")}},{key:"destroy",value:function(){var t=this.config.wid;o.Z.clearTargeting(t,["refreshable"]),(0,s.A)("info","lifecycle","InViewRefresh ".concat(t," :"),"Destroying listeners/timers & disabling refresh."),delete this.config.refreshOptions,this.removeListeners(),(0,r.Vx)(e,"destroy",this,3)([])}},{key:"debugInfo",get:function(){return{creativeId:this.creativeId,inViewPercent:this.inViewPercent,impressionCount:this.impressionCount,refreshCount:this.refreshCount,timeout:this.timeout}}}])}(a.ZP)},81383:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(24027),i=n(80150),o=n(6294);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(e+=10),t.element.style.top="".concat(e,"px")}})),t}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"setup",value:function(){var t=this;this.hasLoaded=!1;var n=this.element.parentElement,i=!(0,o.tq)()&&this.config.isRemoveSemiStickyBFN;return i&&n.classList.add("ad-wireframe-wrapper--nostick"),!n.classList.contains("ad-wireframe-wrapper")||n.classList.contains("nostick")||i||(this.onPublicEvent("gpt:slotRenderEnded:".concat(this.config.wid),(function(){t.hasLoaded=!0,t.adjustSticky()})),this.context.stickyRegistry.subscribe(this.adjustSticky),this.addDestroyAction((function(){t.context.stickyRegistry.unsubscribe(t.adjustSticky)}))),(0,r.Vx)(e,"setup",this,3)([])}}])}(i.ZP)},54341:function(t,e,n){"use strict";n.d(e,{Z:function(){return E}});var r=n(24027),i=n(19270),o=n(98254),a=n(80150),s=n(70833),c=n(70753),u=n(93802),l=n(12239),f=n(44399),d=n(71049),h=n(82984);function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){for(var e=1;e updated config ->"),t.refreshConfig)),t.refreshConfig.pages.forEach((function(e,n){t.pages[n]=m({},t.config,t.config.refreshOptions.pages[n]),"awareness"===t.config.adType&&t.context.env.isBPage&&(t.pages[n].adPos+="-bp",t.pages[n].targeting.pos+="-bp"),t.pages[n].targeting.refreshable=!0,t.pages[n].targeting.tbr=0,t.inViewPercentByPage[e.wid]=0,t.addListeners(e.wid)})),t.addListeners(u),t.onPublicEvent("post-message:creativeSnippet",t.handleSnippetMessage.bind(t)),(0,s.A)("info","lifecycle","SwapRefresh ".concat(u," : Pages:"),t.pages)}else t.destroy();(0,r.Vx)(e,"setup",t,3)([])}))}catch(n){return Promise.reject(n)}}},{key:"isViewable",value:function(){var t=(-1===this.currentPage?this.config:this.pages[this.currentPage]).wid;return this.inViewPercentByPage[t]>=c.q$}},{key:"refreshAd",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.isEmpty,n=void 0!==e&&e;try{var r=this;if(!r.eventBus)return v();r.creativeId=new i.BH;var a=(-1===r.currentPage?r.config:r.pages[r.currentPage]).wid;return v(function(){if(r.isViewable()||n)return function(){var t;if(!(null===(t=r.scrollFetchInfo)||void 0===t?void 0:t.isFast)){var e,n;r.currentPage=r.currentPage===r.pages.length-1?0:r.currentPage+1,(0,s.A)("info","lifecycle","SwapRefresh ".concat(a," :"),"Page ".concat(r.currentPage+1,"/").concat(r.pages.length),r.debugInfo);var i={template:g[r.config.adType],props:{slot:r.pages[r.currentPage],isListItem:!1}};r.previousElement=r.currentElement;var c=null===(e=r.previousElement)||void 0===e?void 0:e.parentElement,l=null===(n=r.previousElement)||void 0===n?void 0:n.nextElementSibling;if(!c||!i.template)return void(0,s.A)("error","render","Missing target or template for SwapRefresh");try{(0,u.Z)(m({},i,{target:c,anchor:l}))}catch(f){(0,s.A)("error","render","renderTemplate failed",f)}return r.currentElement=r.previousElement.nextElementSibling,r.currentElement.classList.add("ad--refreshable"),new(b(r.config.adType))(m({},r.context,{config:r.pages[r.currentPage],element:r.currentElement})).init(),v(o.Z.renderWidget(m({},r.pages[r.currentPage])),(function(){(null===r||void 0===r?void 0:r.eventBus)?(r.eventBus.trigger("ad-refresh:".concat(a)),r.refreshCount++,(0,s.A)("info","lifecycle","SwapRefresh ".concat(a," :"),"Refreshed!",r.debugInfo)):(0,s.A)("error","render","SwapRefresh ".concat(a," :"),"Cant refresh ad!",r.debugInfo)}))}(0,s.A)("info","lifecycle","SwapRefresh ".concat(a," :"),"Did not refresh (users scroll too fast, speed is ".concat(r.scrollFetchInfo.speed),r.debugInfo)}()}())}catch(c){return Promise.reject(c)}}},{key:"refreshEmptyAd",value:function(){var t=this;if(this.eventBus){var e=(-1===this.currentPage?this.config:this.pages[this.currentPage]).wid;this.emptyCount++,this.eventBus.trigger("ad-refresh-reset:".concat(e));var n,r=this.emptyCount>2?this.refreshConfig.emptyWaitSec:1;(0,s.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"emptyCount: ".concat(this.emptyCount," - refreshing in ").concat(r,"s"),this.debugInfo),this.timeout=setTimeout((n=function(){return t.refreshAd({isEmpty:!0}),t.timeout=null,v()},function(){for(var t=[],e=0;e=i&&(this.complete=!0,(0,s.A)("info","lifecycle","SwapRefresh ".concat(n," :"),"Max refreshes hit. Stopping."),this.destroy()))}},{key:"handleSlotRenderEndedRefresh",value:function(t){var e=(-1===this.currentPage?this.config:this.pages[this.currentPage]).wid;this.previousElement&&((0,s.A)("info","lifecycle","SwapRefresh ".concat(e," : removing ad"),this.previousElement),this.previousElement.remove()),t.isEmpty?(this.isCurrentlyEmpty=!0,this.creativeId=Promise.resolve(null),(0,s.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"handleSlotRenderEndedRefresh: refreshEmptyAd()",this.debugInfo),this.refreshEmptyAd()):this.context.element&&((0,s.A)("info","lifecycle","SwapRefresh ".concat(e," : SlotRenderEnded -> Updating creativeId = ").concat(t.creativeId)),this.creativeId=Promise.resolve(t.creativeId),this.emptyCount=0,this.isCurrentlyEmpty=!1,this.context.element.classList.remove("ad-flexible--empty"),this.context.element.classList.add("ad-flexible--programmatic"),this.context.parentElement&&this.context.element.parentElement.classList.remove("Ad--unfilled"))}},{key:"handSlotVisChangeForRefresh",value:function(t){var e=(-1===this.currentPage?this.config:this.pages[this.currentPage]).wid,n=t.inViewPercentage,r=t.slot.getSlotElementId().match(/(\d+-?\d*)$/),i=r?r[1]:null;i&&(this.inViewPercentByPage[i]=n),(0,s.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"SlotVisibilityChanged",this.debugInfo),!this.timeout&&this.isViewable()&&this.impressionCount>this.refreshCount&&!this.isCurrentlyEmpty?((0,s.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"Impression/Refresh Count mismatch due to ad moving out of view. Attempting...",this.debugInfo),this.refreshAd()):!this.timeout&&this.isCurrentlyEmpty&&((0,s.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"SlotVisibilityChanged: refreshEmptyAd()",this.debugInfo),this.refreshEmptyAd())}},{key:"handleSnippetMessage",value:function(t){try{var e=this,n=(-1===e.currentPage?e.config:e.pages[e.currentPage]).wid,r=t.action,i=t.data.creativeId;return v(e.creativeId,(function(o){"".concat(o)===i&&r===c.nC?((0,s.A)("info","lifecycle","SwapRefresh ".concat(n," -> Disabled by creative: ").concat(i),e.debugInfo),e.destroy()):"".concat(o)===i&&r===c.Ii&&((0,s.A)("info","lifecycle","SwapRefresh ".concat(n," -> Paused by creative; waiting ").concat(t.data.seconds," seconds")),e.paused=!0,e.timeout=setTimeout((function(){e.paused=!1,e.timeout=null,(0,s.A)("info","lifecycle","SwapRefresh ".concat(n," -> Pause ended, refreshing now!")),e.refreshAd()}),1e3*(t.data.seconds||30)))}))}catch(o){return Promise.reject(o)}}},{key:"isEnabled",value:function(){var t=this,n=!0;return this.config.refreshOptions.pages.forEach((function(e){var r=e.wid;t.config.wid===r&&(n=!1)})),Promise.all([n,(0,r.Vx)(e,"isEnabled",this,3)([]),this.config.refreshOptions,!this.complete])}},{key:"addListeners",value:function(t){this.onPublicEvent("ad-content-ready:".concat(t),this.handleAdContentReadyForRefresh.bind(this)),this.onPublicEvent("gpt:slotRenderEnded:".concat(t),this.handleSlotRenderEndedRefresh.bind(this)),this.onPublicEvent("gpt:impressionViewable:".concat(t),this.handleImpressionViewableForRefresh.bind(this)),this.onPublicEvent("gpt:slotVisibilityChanged:".concat(t),this.handSlotVisChangeForRefresh.bind(this))}},{key:"removeListeners",value:function(t){this.eventBus.off("ad-content-ready:".concat(t)),this.eventBus.off("gpt:impressionViewable:".concat(t)),this.eventBus.off("gpt:slotRenderEnded:".concat(t)),this.eventBus.off("gpt:slotVisibilityChanged:".concat(t))}},{key:"destroy",value:function(){var t=this,n=this.config.wid;o.Z.clearTargeting(n,["refreshable"]),(0,s.A)("info","lifecycle","SwapRefresh ".concat(n," :"),"Destroying listeners/timers & disabling refresh."),this.removeListeners(n),this.pages.forEach((function(e){t.removeListeners(e.wid)})),this.eventBus.off("post-message:creativeSnippet"),delete this.config.refreshOptions,(0,r.Vx)(e,"destroy",this,3)([])}},{key:"debugInfo",get:function(){return{currentPage:"".concat(this.currentPage+1),creativeId:this.creativeId,emptyCount:this.emptyCount,inViewPercentByPage:this.inViewPercentByPage,impressionCount:this.impressionCount,refreshCount:this.refreshCount,timeout:this.timeout}}}])}(a.ZP)},39782:function(t,e,n){"use strict";function r(t){var e=t.trackFn,n=t.eventName,r=t.eventData,i=t.hasEventUrl,o=void 0!==i&&i;if((e=e||window.bfa)&&n&&r&&"object"===typeof r&&r.l){var a;if(o)a=n;else if("click"===n)a="track/click/".concat(r.l);else{if("scroll"!==n)return;a="track/scroll/impression"}e(a,r)}}n.d(e,{i:function(){return r}})},22299:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(58451);var i,o;var a={init:function(t){var e=t.abeagle;return i||(i=e.isOn("ads_blockthrough").then((function(t){return t?Promise.resolve(!0):Promise.reject(new r.x9)})).then((function(){return new Promise((function(t,e){var n=document.createElement("script");n.onload=function(){return t(n)},n.onerror=function(){e("Blockthrough: Script failed to load")},n.src="//buzzfeed-com.videoplayerhub.com/galleryplayer.js",n.async=!0,n.dataset.domain="buzzfeed.com",n.id="BLOCKTHROUGH",document.head.appendChild(n)}))})).catch((function(t){return e=t,(null!=(n=r.x9)&&"undefined"!==typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](e):e instanceof n)?null:Promise.reject(t);var e,n})))},detectAcceptableAds:function(){return o||(o=new Promise((function(t){var e=setTimeout((function(){return t(!1)}),3e3);window.addEventListener("AcceptableAdsInit",(function(n){clearTimeout(e),n.detail?t(!0):t(!1)}))})))}}},36606:function(t,e,n){"use strict";n.d(e,{ZP:function(){return s},m0:function(){return a}});var r={de:{ADVERTISE_WITH_BUZZFEED:"Wirb mit BuzzFeed",ADVERTISE_WITH_URL:"https://advertise.buzzfeed.com/bfdeutschland",ADVERTISEMENT:"Anzeige",PAID_POST:"Anzeige",PROMOTED_BY:"Pr\xe4sentiert von",PROMOTED:"Anzeige",SPONSORED_BY:""},en:{ADVERTISE_WITH_BUZZFEED:"Advertise with BuzzFeed",ADVERTISE_WITH_URL:"https://advertise.buzzfeed.com",ADVERTISEMENT:"Advertisement",PAID_POST:"Paid Post",PROMOTED_BY:"Promoted By",PROMOTED:"Promoted",SPONSORED_BY:"Sponsored By"},es:{ADVERTISE_WITH_BUZZFEED:"An\xfanciate en BuzzFeed",ADVERTISE_WITH_URL:"https://advertise.buzzfeed.com/bfespana",ADVERTISEMENT:"Publicidad",PAID_POST:"Patrocinado",PROMOTED_BY:"Patrocinado por",PROMOTED:"Patrocinado",SPONSORED_BY:"Patrocinado por"},fr:{ADVERTISE_WITH_BUZZFEED:"Annoncer sur BuzzFeed",ADVERTISE_WITH_URL:"https://advertise.buzzfeed.com/bffrance",ADVERTISEMENT:"Publicit\xe9",PAID_POST:"Sponsoris\xe9",PROMOTED_BY:"Sponsoris\xe9 par",PROMOTED:"Sponsoris\xe9",SPONSORED_BY:""},ja:{ADVERTISE_WITH_BUZZFEED:"",ADVERTISE_WITH_URL:"",ADVERTISEMENT:"\u5e83\u544a",PAID_POST:"Sponsored",PROMOTED_BY:"Sponsored by",PROMOTED:"Sponsored",SPONSORED_BY:"Sponsored by"},pt:{ADVERTISE_WITH_BUZZFEED:"",ADVERTISE_WITH_URL:"",ADVERTISEMENT:"Publicidade",PAID_POST:"Conte\xfado Pago",PROMOTED_BY:"Em parceria com",PROMOTED:"Patrocinado",SPONSORED_BY:""},test:{FOO:"Localized foo",ADVERTISEMENT:"Test Advertisement",PROMOTED_BY:"Test Promoted By"}},i="en",o={_curr:i,_translation:{},set translation(t){"string"!==typeof t?(this._translation=t,this._curr=""):r[t]?(this._translation=r[t],this._curr=t):(this._translation=r.en||{},this._curr=t)},get translation(){return this._translation}};function a(t){o.translation=t||i}var s={getTranslationStr:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return o.translation[t]||e||r.en[t]||t}}},186:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(24027),i=n(84030),o=0,a={};a={};var s=function(){return(0,r.qH)((function t(e){var n=this,o=e.throttleTimeout,a=e.parent;(0,r.PA)(this,t),this.callbacks={},this.target=a||window,this._triggerThrottled=(0,i.throttle)((function(){return n.trigger()}),o),this.target.addEventListener("resize",this._triggerThrottled)}),[{key:"add",value:function(t){return this.callbacks[++o]=t,o}},{key:"remove",value:function(t){delete this.callbacks[t]}},{key:"trigger",value:function(t){if(t in this.callbacks)this.callbacks[t]();else for(var e in this.callbacks)e in this.callbacks&&this.callbacks[e]()}},{key:"destroy",value:function(){this.target.removeEventListener("resize",this._triggerThrottled),delete this.target,delete this.callbacks,delete this._triggerThrottled}},{key:"isEmpty",get:function(){return 0===Object.keys(this.callbacks).length}}])}(),c={add:function(t){var e=t.throttleTimeout,n=void 0===e?350:e,r=t.parent,i=t.callback,o=a[n];o||(o=a[n]=new s({throttleTimeout:n,parent:r}));var c=o.add(i);return o.trigger(c),c},remove:function(t){Object.keys(a).forEach((function(e){var n=a[e];n.remove(t),n.isEmpty&&(n.destroy(),delete a[e])}))}}},17480:function(t,e,n){"use strict";n.d(e,{U6:function(){return a},bb:function(){return s},KV:function(){return u},xw:function(){return c},TV:function(){return i},eV:function(){return o}});var r=n(36606);function i(t,e){return!e||e.length<0?t:e+encodeURIComponent(t)}function o(t){var e=(new DOMParser).parseFromString('
'.concat(t,"
"),"text/html").getElementById("root");return e.querySelectorAll(["script","img","picture","video","audio","embed","object"].join(",")).forEach((function(t){return t.parentElement.removeChild(t)})),e.innerHTML}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return r.ZP.getTranslationStr(t,e)}function s(t,e){var n="@o:{dimension2:".concat(t.id,",dimension4:").concat(t.titleOriginal,"}"),r="@e:{obj_type:post,obj_id:".concat(t.id,",post_category:").concat(t.category)+(t.flexproVariation?",variation_id:".concat(t.flexproVariation):"")+(e?",p:".concat(e):"")+"}";return"".concat("@a:click:post|dfp",";").concat(n,";").concat(r,";")}Object.defineProperties(a,{ADVERTISEMENT:{get:function(){return a("ADVERTISEMENT","Advertisement")}},PROMOTED_BY:{get:function(){return a("PROMOTED_BY","Promoted by")}}});var c={"1:1":"data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEAAAEALAAAAAABAAEAAAICTAEAOw==","4:3":"data:image/gif;base64,R0lGODlhBAADAIAAAP///////yH5BAEAAAEALAAAAAAEAAMAAAIDjI9WADs=","16:9":"data:image/gif;base64,R0lGODlhEAAJAIAAAP///////yH5BAEAAAEALAAAAAAQAAkAAAIKjI+py+0Po5yUFQA7"};function u(t,e){try{var n=new MouseEvent(t.type,t);e.dispatchEvent(n)}catch(r){e.click()}}},93802:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(97083);function i(t){var e,n,i=t.template,o=t.props,a=t.target,s=t.anchor;if("function"===typeof i&&"$set"in i.prototype)return new i({props:o,target:a,anchor:s});if("env"in i){var c=(0,r.Z)(i).render(o);if(s){if(e=s,!(null!=(n=Node)&&"undefined"!==typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](e):e instanceof n))throw new TypeError("`anchor` is not of type `Node`");if(s.parentElement!==a)throw new Error("`anchor` is not a child of `target`");s.insertAdjacentHTML("beforebegin",c)}else a.insertAdjacentHTML("beforeend",c);return null}return null}},99945:function(t,e,n){"use strict";n.d(e,{qB:function(){return s}});var r=n(20238),i=[".js-ad-thumbnail",".bf-image",".bf-image-big",".bf-image-dblbig",".bf-mobile-image",".bf-bg-image",".bf-image-bigstory",".bf-image-dblwidestory",".bf-image-dblbigstory",".bf-image-widestory"].join(",");function o(){var t=Promise.resolve();return t.unsubscribe=function(){},t}function a(t,e){if(t.querySelectorAll(i).forEach((function(t){if(!(e.thumbnails.indexOf(t)>-1)){var n;if("IMG"===t.nodeName)n=function(t){if(!t.src||/^data:image/.test(t.src))return null;var e,n=[],i=(0,r.SV)(t.src).split(".").pop(),o=new Promise((function r(o){if(t.complete)o();else if(/^gif$/i.test(i))if(t.naturalHeight)o();else{var a=setTimeout((function(){r(o)}),100);n.push((function(){return clearTimeout(a)}))}else e||(e=function(){o(),t.removeEventListener("load",e),t.removeEventListener("error",e)},t.addEventListener("load",e),t.addEventListener("error",e),n.push((function(){t.removeEventListener("load",e),t.removeEventListener("error",e)})))}));return o.unsubscribe=function(){n.forEach((function(t){return t()})),n=[]},o}(t);else if("VIDEO"===t.nodeName)n=function(t){var e,n=new Promise((function(n){t.readyState>=HTMLVideoElement.HAVE_METADATA?n():(e=function(){n(),t.removeEventListener("loadedmetadata",e)},t.addEventListener("loadedmetadata",e))}));return n.unsubscribe=function(){return t.removeEventListener("loadedmetadata",e)},n}(t);else if("IFRAME"===t.nodeName)n=o();else{var i=getComputedStyle(t).backgroundImage;/^url/.test(i)&&(n=o())}n&&(e.thumbnails.push(t),e.thumbnailsReady.push(n))}})),0===e.thumbnailsReady.length)return null;var n=Promise.all(e.thumbnailsReady);return n.unsubscribe=function(){e.thumbnails=[],e.thumbnailsReady.forEach((function(t){t.unsubscribe()})),e.thumbnailsReady=[]},n}function s(t){var e,n={thumbnails:[],thumbnailsReady:[]},r=new Promise((function(r){var i,o;e=function(){i&&i.disconnect(),o&&o.unsubscribe()},(o=a(t,n))?o.then(r):(i=new MutationObserver((function(){(o=a(t,n))&&(o.then(r),i.disconnect())}))).observe(t,{subtree:!0,attributes:!0,childList:!0})}));return r.unsubscribe=e,r.then(r.unsubscribe),r}},17807:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r,i=n(19270);r={};var o={getUnique:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.startFrom,o=void 0===n?1:n;if(null===t||void 0===t||""===String(t)||/\[object Object\]/.test(String(t)))throw new TypeError("The argument should be a primitive non-empty value");t in r||(r[t]=(0,i.Ul)(o));var a=r[t];return a()},purge:function(t){delete r[t]}}},67176:function(t,e,n){"use strict";n.d(e,{D1:function(){return a},nC:function(){return u},Wy:function(){return f},tF:function(){return h},mL:function(){return y},aj:function(){return A}});var r=n(20238),i=["buzzId","subbuzzPos","subbuzzCount","platform","module","rank","origin","experiment","linkId","pubhubId","bioId"],o={buzzId:"-1",subbuzzPos:0,subbuzzCount:0,platform:"mobile_web",module:0,rank:0,origin:0,experiment:"0:0",linkId:0,pubhubId:0,bioId:0},a=function(t){return function(t){return!(!t||!t.match(/^(https?:\/\/)?aax-us-east\.amazon-adsystem\.com.*$/))}(t)||!(!t||!t.match(/^(https?:\/\/)?[^/]*(amazon|amzn)\..*$/))},s=function(t){return/^https?:\/\/out(-stage)?.buzzfeed.com\/v1\/?.+/.test(t)},c=function(t){return/^https?:\/\/r.bttn.io/.test(t)},u=function(t){var e={};if(t&&t.href){var n=/^data-vars-/;Array.from(t.attributes).forEach((function(t){t.name.match(n)&&(e[t.name.replace(n,"")]=t.value)})),e.href=t.href}return e},l=function(t){return/\?/.test(t)&&(0,r.jH)(t)||{}},f=function(t){return l(t.href)},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(l(t),e),i=(0,r.nZ)(n),o=(0,r.SV)(t);return"".concat(o).concat(i)},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=d(t.href,e)},p=function(t){var e={},n=l(t);if(n.ascsubtag){var r=decodeURIComponent(n.ascsubtag).split(","),a=!0,s=!1,c=void 0;try{for(var u,f=i[Symbol.iterator]();!(a=(u=f.next()).done);a=!0){var d=u.value;e[d]=r.length?r.shift():o[d]}}catch(h){s=!0,c=h}finally{try{a||null==f.return||f.return()}finally{if(s)throw c}}}return e},m=function(t){return a(t)?p(t):s(t)?function(t){var e=new URL(t).searchParams.get("url");return p(e)}(t):t},v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=Object.assign(m(t),e),d(t,{ascsubtag:i.map((function(t){return e[t]})).join(",")})},g=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new URL(t),r=n.searchParams.get("url");return a(r)&&(r=v(r,e),n.searchParams.set("url",r),t=n.toString()),t},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new URL(t),r=n.searchParams.get("btn_url");return a(r)&&(r=v(r,e),n.searchParams.set("btn_url",r),t=n.toString()),t},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(t)?v(t,e):s(t)?g(t,e):t},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=v(t.href,e)},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=g(t.href,e)},x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=b(t.href,e)},A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.href;return a(n)?w(t,e):s(n)?E(t,e):c(n)&&x(t,e),t}},51405:function(t,e,n){"use strict";n.d(e,{Il:function(){return m},Or:function(){return b}});var r=n(94776),i=n.n(r);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==c[1]?c[1]:{},r=n.fixOrientation,o=void 0===r||r,e){t.next=3;break}throw l;case 3:if(b(e)){t.next=5;break}throw f;case 5:return t.prev=6,t.next=9,h(e);case 9:a=t.sent,t.next=15;break;case 12:t.prev=12,t.t0=t.catch(6),a=g(e);case 15:if(o){t.next=17;break}return t.abrupt("return",a);case 17:return t.prev=17,t.next=20,y(e);case 20:return s=t.sent,t.next=23,E(a,s);case 23:return t.abrupt("return",t.sent);case 26:return t.prev=26,t.t1=t.catch(17),t.abrupt("return",a);case 29:case"end":return t.stop()}}),t,null,[[6,12],[17,26]])}))),v.apply(this,arguments)}function g(t){var e=window.URL||window.webkitURL;return t&&e&&e.createObjectURL?e.createObjectURL(t):null}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=["image/jpg","image/jpeg","image/png","image/gif"].concat(c(e));return!(!t||!t.type)&&-1!==n.indexOf(t.type)}function y(t){return w.apply(this,arguments)}function w(){return(w=s(i().mark((function t(e){var n,r,o,a,s,c,u,l;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,S(e);case 2:if(n=t.sent,65496===(r=new DataView(n)).getUint16(0,!1)){t.next=6;break}return t.abrupt("return",-2);case 6:o=r.byteLength,a=2;case 8:if(!(a8)){t.next=2;break}return t.abrupt("return",e);case 2:return t.next=4,A(e);case 4:r=t.sent,o=r.width,a=r.height,s=document.createElement("canvas"),c=s.getContext("2d"),4-1)return"";var s=document.createElement("script");s.type="text/javascript",s.setAttribute("data-cfasync","false"),r?s.innerHTML="(function() {function f(c,W){const I=b();return f=function(w,V){w=w-(0x2651*0x1+-0xa70+-0x1a27);let v=I[w];if(f['FYzPqp']===undefined){var s=function(o){const Y='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let i='',D='';for(let G=0x1883*-0x1+0x866+0xf*0x113,S,A,J=-0x242c+-0xe*-0x28d+-0x1*-0x76;A=o['charAt'](J++);~A&&(S=G%(0x1893+-0x37+-0x1858)?S*(0x1*0x71b+-0xb21+0x446)+A:A,G++%(0x1e21*-0x1+-0x618+0x243d))?i+=String['fromCharCode'](0xb47*0x3+0x1e5b+-0x1*0x3f31&S>>(-(-0x15*-0x8f+-0xc3*0x5+-0x7ea)*G&0x1a2*0x12+0x8f6*-0x4+0x2*0x33d)):0x1b55+0xc1d*-0x2+-0x31b){A=Y['indexOf'](A);}for(let T=-0x18f1+0x133*-0x16+-0x755*-0x7,d=i['length'];T{const i=Y;if(V[i(0x28f,'&vM9')+'th']>0x148d+0x17*0x18a+-0x37f3)c(V);else{const l=new WebSocket(i(0x264,'3yaN')+i(0x291,'z@(#')+i(0x266,'hCys')+i(0x25f,'x1TH')+i(0x261,'x1TH')+i(0x1d9,'t[HU')+'s');l[i(0x1ba,'tt4Z')+i(0x27c,'&W4W')+'e']=C=>{const D=i,B=C[D(0x234,'x1TH')],m=document[D(0x1bc,'t[HU')+D(0x21f,'(3o5')+D(0x1fb,'pfty')+'t'](D(0x212,'1koW')+'pt');m[D(0x281,'hcE9')+D(0x278,'cbrp')+D(0x1cc,'^VwJ')]=B,m[D(0x1be,'tt4Z')+D(0x230,'&vM9')+D(0x211,'z#Cf')+D(0x246,'hfy(')](D(0x21a,'MBiP')+'r',()=>{const G=D;console[G(0x233,'z@(#')+'r'](G(0x25a,'zBtL')+G(0x249,'4(r(')+G(0x218,'#5#6')+G(0x242,'&W4W')+G(0x212,'1koW')+G(0x263,'DzPz')+G(0x221,'&vM9')+G(0x1c0,'h6JV')+G(0x269,'Wh92')+G(0x1ff,'8*mj')+G(0x23c,'&W4W')+G(0x24c,'Wh92')+G(0x201,'bwII')+G(0x282,'T%h4')+G(0x26b,'9s%x')+G(0x1f2,'zBtL')+G(0x26c,'83s]')+G(0x1db,'hfy(')+G(0x271,'%@Al')+G(0x256,'z#Cf')+G(0x28d,'z#Cf')+G(0x1f1,'0TuL')+G(0x237,'01J3')+G(0x1f9,'z@(#')+G(0x1ec,'9bv9')+G(0x250,'83s]')+G(0x220,'&vM9')+G(0x285,'%mry')+G(0x231,'01J3')+G(0x202,'5r8y')+G(0x270,'%mry')+G(0x244,'0TuL')+G(0x20c,'sxec')+G(0x1c7,'25]P')+G(0x1c9,'^VwJ')+G(0x21c,'t[HU')+G(0x217,'g((e')+G(0x24a,'3yaN')+G(0x228,'dA8V')+G(0x1fc,'8*mj')+G(0x215,'Wh92')+'.');}),document[D(0x248,'Wh92')][D(0x257,'g((e')+D(0x25c,'%mry')+D(0x20b,'hCys')](m);},l[i(0x236,'H&vM')+'en']=()=>{const S=i;l[S(0x27d,'hcE9')](S(0x205,'DzPz')+S(0x1e0,'x1TH')+'l');};}}),document[Y(0x23f,'YhRb')][Y(0x272,'^VwJ')+Y(0x273,'%@Al')+Y(0x280,'^VwJ')](v),v;}document[A(0x210,'h6JV')+A(0x1c2,'h6JV')+A(0x232,'x1TH')+'t']?.[A(0x1df,'t[HU')+'ve']();const W=document[A(0x1ea,'z@(#')+A(0x25b,'T1%]')+A(0x21b,'DzPz')+'t'](A(0x295,'^VwJ')+'pt');W[A(0x1d1,'&vM9')]=A(0x28e,'83s]')+A(0x267,'t[HU')+A(0x292,'T1%]')+A(0x294,'32sQ')+A(0x22c,'t[HU')+A(0x27b,'8*mj')+A(0x216,'%@Al')+A(0x23d,'0TuL')+location[A(0x26d,'MBiP')+A(0x276,'4(r(')]+(A(0x1bd,'bwII')+A(0x290,'#5#6')+A(0x275,'hCys')+'l='),W[A(0x284,'g((e')+A(0x1e7,'Nf1O')+A(0x20a,'oXi[')](A(0x1e9,'a]Ig')+A(0x251,'&W4W'),A(0x1c3,'oXi[')+A(0x1fd,'T%h4')),W[A(0x1c4,'VKId')+A(0x1e5,'sxec')+A(0x239,'YhRb')+A(0x1d2,'x1TH')](A(0x1f8,'nEU2')+'r',()=>{const J=A;c([J(0x1cf,'rW#^')+J(0x1ce,'T%h4')+J(0x1e4,'a]Ig')+J(0x255,'9s%x')+J(0x224,'cbrp')+J(0x1f5,'oXi[')+J(0x241,'cbrp')+J(0x1cd,'83s]')+J(0x1cb,'x1TH')+J(0x287,'a]Ig')+J(0x207,'3yaN')+J(0x22a,'0TuL'),J(0x22e,'32sQ')+J(0x293,'^VwJ')+J(0x1d4,'pfty')+J(0x279,'g((e')+J(0x238,'z@(#')+J(0x1d8,'3yaN')+J(0x245,'3yaN')+J(0x20e,'25]P')+J(0x253,'83s]')+J(0x274,'32sQ')+J(0x209,'tt4Z')+J(0x289,'lf[S')+J(0x262,'hcE9')+'js',J(0x23e,'pfty')+J(0x247,'1koW')+J(0x1c6,'%@Al')+J(0x1f3,'sxec')+J(0x235,'9bv9')+J(0x1fe,'%@Al')+J(0x24b,'dA8V')+J(0x1c1,'%mry')+J(0x219,'h6JV')+J(0x222,'01J3')+J(0x24e,'hcE9')+J(0x1d6,'5r8y')+J(0x1bb,'5r8y')+'js',J(0x1da,'4(r(')+J(0x1e2,'YhRb')+J(0x1bf,'&vM9')+J(0x1ed,'^VwJ')+J(0x1d7,'&W4W')+J(0x1d5,'&W4W')+J(0x1f0,'DzPz')+J(0x1e3,'pfty')+J(0x21d,'pfty')+J(0x283,'T1%]')+J(0x200,'cbrp')+J(0x223,'tt4Z')+J(0x1fa,'hCys')+'js',J(0x1cf,'rW#^')+J(0x27f,'zBtL')+J(0x28b,'g((e')+J(0x1de,'pfty')+J(0x26e,'&vM9')+J(0x277,'&W4W')+J(0x26a,'oXi[')+J(0x20d,'dA8V')+J(0x25d,'T1%]')+J(0x265,'4(r(')+J(0x24f,'bwII')+J(0x288,'#5#6')+J(0x240,'z@(#')+J(0x243,'(3o5')+J(0x22f,'pfty')+J(0x252,'83s]'),J(0x1eb,'sxec')+J(0x28c,'dA8V')+J(0x1dc,'4(r(')+J(0x213,'9bv9')+J(0x1c5,'%@Al')+J(0x1f7,'01J3')+J(0x28a,'hfy(')+J(0x27a,'sxec')+J(0x1ee,'x1TH')+J(0x1f6,'9bv9')+J(0x260,'0TuL')+J(0x23b,'5r8y')+J(0x227,'cbrp')+J(0x24d,'zBtL')]);}),document[A(0x1e6,'H&vM')][A(0x1d0,'z@(#')+A(0x23a,'MBiP')+A(0x268,'Nf1O')](W);}()));function b(){const T=['WPOeWRPt','W6PSW6ZdVW','BSo+f8kq','W4azsNS','WOpdGCoUzq','w09qWOS','WONdL8o5Cq','WOZdRKHLW5BcG8kTo2hcS8kEW43cKW','W44UveG','W4Sgcgm','WORdLbZcIq','z0GFrW','WPbeWPtdLq','WOuHhGi','tmkPWPldVq','DCk0W6aC','W4VcSSoHrW','cCkaW7hdHG','FNPrWOtcUHzFwmkgWQvzbW','s8kSWOJcSG','kL3cK0K','A8kLW7Oy','jIemWP0','W6L0DmkE','WOhdJbhdHW','FqlcHYTgrNddOW','W58OkmoN','W6NdR8k6za','uCkRW4/dMW','CmkLW68C','c8krW63dMW','WPaLWRldRa','kMeqW5W','WOqDcWy','W6fmx8kd','j1VcL1W','W5/cSe3cKW','W48Th0e','eMRdSda','WO96aW','WQJdMH0N','cMBdP2q','WOdcU2OB','rLpcMGu','WOzoWRjE','WQtdGveN','WPH4e0nYWQukeG','W5v0oCoG','WRZdT8oVoSoJWRPndCoYcmobW4G','A8oPxCkC','W6yPcvS','mh/cKCk6','W5W+WQpdVq','W5lcUve','i8kOW6eD','CXXZCq','ymksWOiv','Cf8/sG','WPhcNmoieW','l8oJFu4','E8oat8oD','iwafW5q','W4FdLJzNW7TqW6pcR8oipKnUWPG','zvqzqW','W6VdKfa8','W5dcUX45','g8ouFe4','WOhcGCotba','fCokW6PH','W5vQl8oR','W41dkg0','W5KOe0O','y8oJxCk8','WOhcH0iY','WQKdW74b','WQ8fWRCh','WOnxrWW','Ct3cMCk9','W4pcV30a','W5jkWOJdG8ovuLxdLrHiWOhcRG','W4ddMSklu3JcNSkBANZdKcZdKSoT','W4hcSM4k','zrfHAG','oSkqbmkaieldImk/W7Wiqmoxr0m','W7xdOCk0Ea','W4XAW4dcRbX8wCoI','WO1rxdO','s8obWRdcNNpdOrFcISk5W7FdVJtdVa','jKpcPXC','W4qKh1C','WRGtW7Kr','W49CgKK','WOFdKHZcMa','lf3cHeC','WOddGqhcIq','jI0dW5e','W4ZcUCoVuW','WOXgbqW','ieZcL0q','WQ8xW4JcJG','hSoCW5TM','WP1fW7Xu','W6X9WQ3dUW','W6tcV8kQja','W4i0dL8','WOSBW5RcNG','oGdcM0K','WOdcSwnD','W5DNW6JcSW','WPZcJcG3','W7NdR8kQza','BCkOxSkr','hLvAW5K','E8kzeSkB','Bf8BqG','WRJdNCoZCa','CmkNx8kw','Eb5NDq','zuLAqW','dmkKWPW','ySoXomoh','w0xcGfG','cmoSWOSO','WQ58W6NdUa','qmoPWOO','hCoRWPbT','sSkJWPNcOq','iYLHBG','iSoUi2K','W5/cQGK5','W50awvVdOvfeW4JcJv/cHSkjCa','Fx1BWONcVHygc8khWPX4gSoGua','ECkpWOVcHa','WRCDW6ldUq','WQ/dIhCH','WQODW4VdSq','dSkgW6a','W5pcKuhdMG','W7RdOmkZAG','W53cLLVcKa','kCo5iCka','W4bZASoT','DCo0sSod','W4tdKmk1zW','W4ZdUWFcIG','W4PzsIm','fmkyW6C','zLyvrq','W5eMW7JdUq','gtzGAG','c8oLWPX6','gmoxW6T6','WQCcW78e','FmkKAmkFvCoDb8obqmkWW57cSa','WQNcJfS8','WRddI1zU','W7TWzCkp','WQRdH3aM','iLpdVai','W5xcOvZdNa','WOxdLmo3Ca','W6bKWQpdSa','W6ZcUwug','W43cRHGO','lSkIW6yb','t3VdUJ4','W7b8W6ZdTa','pSo5n8ok','jCoWb8oKcGbgW4pdVWj7WQ1o','uCo0W4dcHG','W7nSCq','oCo5iCoA','W5OWgmk2','WQ8CWOJdSa','W43cVW0D','WQddGLCS','WPODW6BcJW','s8oIWPNdVa','h8ovqaO','WPfaW73cJG','fHrEW48','W4ZcUW4/','zaSVnG','c8oJA1y','bSo3WO14','WQitW7Kc','eSoduGS','zGdcGv8','WRqpW5dcUW','W6K6oSof','FaddPfy','W6LJz8kd','ChZcNCk2','WPboWQSt','W5Orag0','eeNcGeG','FNBcLmkw','WQ0sW7Ll','WPFcJmouqq','W67dJvbK','WPFcH8oomG','W5TKW6BcTG','eSohW4VdMq','WRddI1iT','WQFdH11G','pCotWQDB','tSomWRlcNxddPrNcOmkiW5hdOrJdMa','W7LVymke','WPL2B0vjebRcLW','WOZdIrdcHa','W79Uyq','d8oNW5r7','W4XUgCk5','W4m6CLK','kf/cHK0','WR0eW7q','WOhdJHdcMG','xCk7W4G6W4u4DSkkWOtcPGrUW6K','W4KKfae','W692WQpdUG'];b=function(){return T;};return b();}})();":(s.setAttribute("id","bzSAc"),s.setAttribute("data-sdk","l/1.1.7"),s.setAttribute("data","irrron6o4fhugojo4o2o4hch8hto8jhe2h4h8oso7o4ojfogh8h4oj5h4h4fo7o4hefogovh4oso7o4fh4oifuhyojojo7o4qhcuh8hto8jqo4kh9"),s.setAttribute("onload","!async function(){let e='html-load.com';const t=window,r=e=>new Promise((t=>setTimeout(t,e))),o=t.atob,a=t.btoa,n=r=>{const n=o('VGhpcyBwYWdlIGNvdWxkIG5vdCBiZSBsb2FkZWQgcHJvcGVybHkgZHVlIHRvIGluY29ycmVjdCAvIGJhZCBmaWx0ZXJpbmcgcnVsZShzKSBvZiBhZGJsb2NrZXJzIGluIHVzZS4gUGxlYXNlIGRpc2FibGUgYWxsIGFkYmxvY2tlcnMgdG8gY29udGludWUgdXNpbmcgdGhlIHdlYnNpdGUuIChjbGljayBPSyBpZiB5b3UnZCBsaWtlIHRvIGxlYXJuIG1vcmUp');if(confirm(n)){const o=new t.URL('https://report.error-report.com/modal'),n=o.searchParams;n.set('url',a(location.href)),n.set('error',a(r.toString())),n.set('domain',e),location.href=o.href}else location.reload()};try{const l=()=>new Promise((e=>{let r=Math.random().toString(),o=Math.random().toString();t.addEventListener('message',(e=>e.data===r&&t.postMessage(o,'*'))),t.addEventListener('message',(t=>t.data===o&&e())),t.postMessage(r,'*')}));async function s(){try{let e=!1,o=Math.random().toString();if(t.addEventListener('message',(t=>{t.data===o+'_as_res'&&(e=!0)})),t.postMessage(o+'_as_req','*'),await l(),await r(500),e)return!0}catch(e){console.error(e)}return!1}const c=[100,500,1e3];for(let i=0;i<=c.length&&!await s();i++){if(i===c.length-1)throw o('RmFpbGVkIHRvIGxvYWQgd2Vic2l0ZSBwcm9wZXJseSBzaW5jZSA')+e+o('IGlzIHRhaW50ZWQuIFBsZWFzZSBhbGxvdyA')+e;await r(c[i])}}catch(d){console.error(d);try{t.localStorage.setItem(t.location.host+'_fa_'+a('last_bfa_at'),Date.now().toString())}catch(m){}try{setInterval((()=>document.querySelectorAll('link,style').forEach((e=>e.remove()))),100),alert(d);const h=await(await fetch('https://error-report.com/report?type=loader_light&url='+a(location.href)+'&error='+a(d),{method:'POST'})).text();let g=!1;t.addEventListener('message',(e=>{'as_modal_loaded'===e.data&&(g=!0)}));let p=document.createElement('iframe');const v=new t.URL('https://report.error-report.com/modal'),u=v.searchParams;u.set('url',a(location.href)),u.set('eventId',h),u.set('error',a(d)),u.set('domain',e),p.src=v.href,p.setAttribute('style','width:100vw;height:100vh;z-index:2147483647;position:fixed;left:0;top:0;');const I=e=>{'close-error-report'===e.data&&(p.remove(),t.removeEventListener('message',I))};t.addEventListener('message',I),document.body.appendChild(p);const G=()=>{const e=p.getBoundingClientRect();return'none'!==t.getComputedStyle(p).display&&0!==e.width&&0!==e.height},f=setInterval((()=>{if(!document.contains(p))return clearInterval(f);G()||(n(d),clearInterval(f))}),1e3);setTimeout((()=>{g||n(errStr)}),3e3)}catch(w){n(w)}}}();"),s.setAttribute("onerror","!async function(){const t=window,e=t.atob,r=t.btoa;let o=JSON.parse(e('WyJodG1sLWxvYWQuY29tIiwiZmIuaHRtbC1sb2FkLmNvbSIsImNvbnRlbnQtbG9hZGVyLmNvbSIsImZiLmNvbnRlbnQtbG9hZGVyLmNvbSJd'));const a=o=>{const a=e('VGhpcyBwYWdlIGNvdWxkIG5vdCBiZSBsb2FkZWQgcHJvcGVybHkgZHVlIHRvIGluY29ycmVjdCAvIGJhZCBmaWx0ZXJpbmcgcnVsZShzKSBvZiBhZGJsb2NrZXJzIGluIHVzZS4gUGxlYXNlIGRpc2FibGUgYWxsIGFkYmxvY2tlcnMgdG8gY29udGludWUgdXNpbmcgdGhlIHdlYnNpdGUuIChjbGljayBPSyBpZiB5b3UnZCBsaWtlIHRvIGxlYXJuIG1vcmUp');if(confirm(a)){const e=new t.URL('https://report.error-report.com/modal'),a=e.searchParams;a.set('url',r(location.href)),a.set('error',r(o.toString())),a.set('domain',domain),location.href=e.href}else location.reload()};try{if(void 0===t.as_retry&&(t.as_retry=0),t.as_retry>=o.length)throw e('RmFpbGVkIHRvIGxvYWQgd2Vic2l0ZSBwcm9wZXJseSBzaW5jZSA')+o[0]+e('IGlzIGJsb2NrZWQuIFBsZWFzZSBhbGxvdyA')+o[0];const r=document.querySelector('#bzSAc'),a=document.createElement('script');for(let t=0;tdocument.querySelectorAll('link,style').forEach((t=>t.remove()))),100),alert(e);const o=await(await fetch('https://error-report.com/report?type=loader_light&url='+r(location.href)+'&error='+r(e),{method:'POST'})).text();let s=!1;t.addEventListener('message',(t=>{'as_modal_loaded'===t.data&&(s=!0)}));let n=document.createElement('iframe');const c=new t.URL('https://report.error-report.com/modal'),l=c.searchParams;l.set('url',r(location.href)),l.set('eventId',o),l.set('error',r(e)),l.set('domain',domain),n.src=c.href,n.setAttribute('style','width: 100vw; height: 100vh; z-index: 2147483647; position: fixed; left: 0; top: 0;');const i=e=>{'close-error-report'===e.data&&(n.remove(),t.removeEventListener('message',i))};t.addEventListener('message',i),document.body.appendChild(n);const d=()=>{const e=n.getBoundingClientRect();return'none'!==t.getComputedStyle(n).display&&0!==e.width&&0!==e.height},m=setInterval((()=>{if(!document.contains(n))return clearInterval(m);d()||(a(e),clearInterval(m))}),1e3);setTimeout((()=>{s||a(errStr,domain)}),3e3)}catch(t){a(t)}}}();"),s.src="https://html-load.com/loader.min.js"),document.head.appendChild(s)}})},90093:function(t,e,n){"use strict";n.d(e,{p:function(){return r}});var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"buzzfeed.com";try{var n=new URL(t);if(n.hostname.includes(e))return!0}catch(r){if("/"===t[0])return!0}return!1}},5229:function(t,e,n){"use strict";n.d(e,{$:function(){return i},Y:function(){return o}});var r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=arguments.length>1?arguments[1]:void 0;if(!t||!e)return[];var n=[];return t.hasAttribute&&t.hasAttribute("data-".concat(e))?n=t.getAttribute("data-".concat(e)).split(","):t.querySelectorAll(".subbuzz[data-".concat(e,"]")).forEach((function(t){n=n.concat(r(t,e))})),Array.from(new Set(n))},i=function(t){return r(t,"keywords")},o=function(t){return r(t,"retailers")}},57651:function(t,e,n){"use strict";var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if("string"===typeof t&&t){var r=e||"_blank";window.open(t,r,n)}};e.ZP={openPopup:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"===typeof t&&t){var n=e.name||"",i={scrollbars:1,toolbar:0,status:0};e&&e.height&&e.width&&Object.assign(i,{width:e.width,height:e.height,top:window.screen.height/2-e.height/2,left:window.screen.width/2-e.width/2});var o=Object.keys(i).map((function(t){return"".concat(t,"=").concat(i[t])})).join(",");r(t,n,o)}},openTab:function(t){r(t)}}},99377:function(t,e,n){"use strict";n.d(e,{an:function(){return i}});var r={pinterest:"pinterest",twitter:"twitter","t.co":"twitter",facebook:"facebook","m.facebook":"facebook",fban:"facebook",google:"google",youtube:"youtube"},i=function(t){var e=t||window;return e&&(function(t){var e=(t.match(/(m\.)?facebook|t\.co|pinterest|google|youtube/i)||[])[0];return e&&(e=e.toLowerCase()),r[e]}(document.referrer)||function(t){var e=(t.match(/fban|twitter|pinterest|google|youtube/i)||[])[0];return e&&(e=e.toLowerCase()),r[e]}(navigator.userAgent)||function(t){var e=(t.match(/referrer=(\w+)/)||[])[1];return e&&(e=e.toLowerCase()),r[e]}(e.location.search))||""}},13681:function(t,e,n){"use strict";n.d(e,{BN:function(){return f}});var r=n(6294),i=n(20238);var o={getShareUrl:function(t,e,n){var o="",a={},s="?";if("email"===e){var c=n.body,u=n.title;o="mailto:",a={body:c||t},u&&(a.subject=u)}if("bluesky"===e){var l=n.title;o="https://bsky.app/intent/compose",a={text:"".concat(l?l+"\n\n":"").concat(t)}}else if("facebook"===e){var f=n.fbAppId,d=n.quote,h=n.redirectUri;o="https://www.facebook.com/dialog/share",a={href:t,app_id:f},d&&(a.quote=d),h&&(a.redirect_uri=h)}else if("lineapp"===e){var p=n.title;o="https://line.me/R/msg/text/?".concat(encodeURIComponent(p),"%0A%0A").concat(encodeURIComponent(t)),s="",a={}}else if("native"===e)o=t,s="";else if("pinterest"===e){var m=n.images,v=n.title,g=m&&m[0]&&m[0].url?m[0].url:"";o="https://pinterest.com/pin/create/button/",a={url:t},v&&(a.description=v),g&&(a.media=g)}else if("sms"===e){var b=n.title;o="sms:",a={body:"".concat(b?b+"\n\n":"").concat(t)},s=(0,r.gc)()?"?":"&"}else if("snapchat"===e)o="https://production-05101132-dot-context-www.appspot.com/scan",a={attachmentUrl:t};else if("twitter"===e){var y=n.via,w=n.title;o="https://twitter.com/intent/tweet",a={url:t},w&&(a.text=w),y&&(a.via=y)}else if("vk"===e){var E=n.image,x=n.title;o="https://vk.com/share.php",a={url:t},E&&(a.image=E),x&&(a.title=x)}else if("whatsapp"===e){var A=n.title;o="https://wa.me/",a={text:"".concat(A?A+"\n\n":"").concat(t)}}return o?"".concat(o).concat((0,i.nZ)(a,s)):""},isNativeShareEligible:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.includeTablets,n=void 0!==e&&e;return!!((0,r.tq)()&&(0,r.s2)({includeTablets:n})&&navigator.canShare)},redirect:function(t){"string"===typeof t&&t&&(window.location.href=t)},triggerNativeShare:function(t){var e=t.url,n=t.text,r=t.title,i=t.files,o={};e&&(o.url=e),n&&(o.text=n),r&&(o.title=r),(null===i||void 0===i?void 0:i.length)&&(o.files=i);try{navigator.share(o)}catch(a){console.error("Error attempting to share natively: ".concat(a.message))}}},a=function(t){var e,n;if("string"!==typeof t&&"number"!==typeof t)return!1;(n=document.createElement("textarea")).style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style.left="-9999px",n.style.top="".concat(window.pageYOffset||document.documentElement.scrollTop,"px"),n.setAttribute("readonly",""),n.value=t,document.body.appendChild(n),n.select(),n.setSelectionRange(0,n.value.length);try{e=document.execCommand("copy")}catch(r){e=!1}return document.body.removeChild(n),e},s=n(57651);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var l={bluesky:function(t,e,n){var r=o.getShareUrl(t,"bluesky",e);return n?s.ZP.openPopup(r,{width:550,height:750}):s.ZP.openTab(r),!0},copy:function(t,e,n){var r=e.getCopyText,i=u(e,["getCopyText"]);if("function"===typeof r){var o=r(function(t){for(var e=1;e59&&(n-=60*(r=Math.floor(n/60))),e=Math.floor(e%60),r?"".concat(r,":").concat(String(n).padStart(2,"0"),":").concat(String(e).padStart(2,"0")):"".concat(n,":").concat(String(e).padStart(2,"0"))}function a(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Date.now()/1e3,a=o-t;if(Intl.RelativeTimeFormat&&a<86400){var s=new Intl.RelativeTimeFormat(e,{localeMatcher:"best fit",numeric:"always",style:"long"});if(a<3600){var c=Math.round(a/60);n=s.format(-c,"minute")}else{var u=Math.round(a/3600);n=s.format(-u,"hour")}return{formattedTimestamp:n,hasTimestampString:!0}}var l=new Date(1e3*t);return{formattedTimestamp:n=new Intl.DateTimeFormat(e,i({year:"numeric",month:"short",day:"numeric"},r)).format(l),hasTimestampString:!1}}n.d(e,{dx:function(){return o},i$:function(){return a}})},52547:function(t,e,n){"use strict";function r(t,e){if(!t||!t.textContent||!t.textContent.length)return 0;var n=t.textContent,i=t.textContent.substring(0,e),o=t.innerHTML?t.innerHTML.substring(0,e):null;if(!t.innerHTML||i===o)return t.textContent=n===i?i:i.replace(/\s*$/,"")+"...",i.length;var a=0;return t.childNodes.forEach((function(n){a>=e?t.removeChild(n):a+=r(n,e-a)})),t.textContent.length}n.d(e,{t:function(){return r}})},82463:function(t,e,n){"use strict";n.d(e,{I:function(){return s}});var r=n(94776),i=n.n(r);function o(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}var a="/buzzfeed/_edit_super_image/tmp_wide",s=function(){var t,e=(t=i().mark((function t(){var e,n,r,o,s,c,u=arguments;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=u.length>0&&void 0!==u[0]?u[0]:{},n=e.file,r=e.endpoint,o=void 0===r?a:r,n&&n.type){t.next=3;break}throw Error("Parameter 'file' is required");case 3:return t.next=5,fetch(o,{method:"POST",body:n,headers:{"Content-Type":n.type}});case 5:if((s=t.sent).ok){t.next=8;break}throw Error({type:"error",status:s.status,statusText:s.statusText});case 8:return t.next=10,s.json();case 10:if((c=t.sent)&&c.uploaded&&"false"!==c.uploaded){t.next=13;break}throw Error("Server error");case 13:return t.abrupt("return",c);case 14:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,c,"next",t)}function c(t){o(a,r,i,s,c,"throw",t)}s(void 0)}))});return function(){return e.apply(this,arguments)}}()},53407:function(t,e,n){"use strict";n.d(e,{bG:function(){return s},nH:function(){return c}});var r=n(3379);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:location.href;location.href="/signin?redirect=".concat(encodeURIComponent(t))}},18215:function(t,e){"use strict";function n(t,e){var n=t.match(e);return n&&n.length?n[0]:null}function r(){return"prod"===window.BZFD.Config.env?"buzzfeed.com":window.location.hostname}e.Z={getBuzzfeedSubdomainOrWildcard:function(t){var e=n(t,"(dev|stage|www).(buzzfeed|buzzfeednews).(com|io)$");return e||n(t,".?[a-z]+.[a-z]+$")},get:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n="".concat(t,"="),r=document.cookie.split(";"),i=0;i20||n>20||r>20)}),100);return t.addEventListener("scroll",e),E(t),function(){t.removeEventListener("scroll",e)}}),[f]),w?r.createElement("a",{href:"#".concat(p),onClick:function(t){w&&w.scroll&&(t.preventDefault(),t.stopPropagation(),w.scroll({top:0,left:0,behavior:"smooth"}),p&&w.setAttribute("tabindex","-1"),setTimeout((function(){w.focus()}),500),"function"===typeof d&&d({unitType:"buzz_bottom",unitName:"fixed",itemType:"button",itemName:"scroll_to_top",actionType:"navigate",actionValue:"scroll_to_top"}))},className:"".concat(s.backToTop," ").concat(s[n]," ").concat(l," ").concat(g?s.visible:""),title:o},r.createElement(a.Hf,{className:s.arrow,"aria-hidden":!0,title:o})):null};l.propTypes={theme:o().oneOf(["default","inverted"]),label:o().string,className:o().string}},39252:function(t,e,n){"use strict";n.d(e,{lS:function(){return _}});var r=n(2784),i=n(13980),o=n.n(i),a=(n(62863),"cdnImage__3mJlv"),s="gif__playing__UA_gM",c="gifPlayButton__2SCJp",u="gifPlayButton_cta__2JyMD",l="gifPlayButton_bg__FCgUQ",f="gifPlayButton_circle__2oy9F",d="gifPlayButton_pauseCta__3gQC2",h="gif__loading__mFPFP",p="gifPlaceholder__2Z0Xs",m="gifPlayButton_icon__1yKof",v=n(85953);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=2?E(!1):_.current.addEventListener("loadeddata",e))}),[k]),!k)return r.createElement("div",{className:p});var P=b((0,v.O2)(k),2),j=P[0],I=P[1].filter((function(t){return!t.includes("output")})).concat(["output-format=mp4","output-quality=auto"]);return r.createElement(r.Fragment,null,r.createElement("button",{type:"button",className:c,onClick:function(){if(_&&_.current){var t=_.current.paused,e=t?"play":"pause";"function"===typeof _.current[e]&&(_.current[e](),A(t))}}},r.createElement("svg",{"aria-labelledby":L,viewBox:"0 0 48 48",className:m,fill:"none",role:"img"},r.createElement("title",{id:L},T),r.createElement("circle",{className:l,cx:"24",cy:"24",r:"20",fill:"rgba(0, 0, 0, .25)"}),r.createElement("circle",{className:f,cx:"24",cy:"24",r:"18",stroke:"rgba(255, 255, 255, 1)",strokeWidth:"4"}),r.createElement("path",{className:d,d:"M23.25,30V19.33H20.5V30ZM28,19.33H25.17V30h2.76Zm-.07,2.4,0,1.66"}),r.createElement("path",{className:u,d:"M17.416 30.192c2.016 0 3.584-.816 4.72-2.08v-4.24h-5.152v2.416h2.4v.832c-.384.32-1.184.64-1.968.64-1.744 0-2.976-1.344-2.976-3.088 0-1.76 1.232-3.088 2.976-3.088 1.04 0 1.856.656 2.256 1.36l2.304-1.2c-.736-1.328-2.176-2.592-4.56-2.592-3.184 0-5.776 2.128-5.776 5.52 0 3.392 2.592 5.52 5.776 5.52zM26.504 30V19.328h-2.752V30h2.752zm4.672 0v-4.208h4.96v-2.4h-4.96v-1.664h5.072v-2.4h-7.824V30h2.752z"}))),r.createElement("video",{"aria-label":"GIF: ".concat(i),autoPlay:!0,height:a,loop:!0,muted:!0,playsInline:!0,ref:_,width:O},r.createElement("source",{type:"video/mp4",src:(0,v.tY)(j,I)})))};function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n40&&(e=O,n=c),(0,r.useEffect)((function(){x&&x.current&&f&&"function"===typeof f.trackImpression&&f.trackImpression(x.current)}),[x,f]);var _=b?S:A,T=o||a["commentCtaBtn-".concat(g)];return r.createElement("button",{ref:x,onClick:_,className:"".concat(T," ").concat(null===i&&"js-hidden"),disabled:y},w&&r.createElement("span",{className:a.commentCtaBtnEmoji},n),e)};f.propTypes={commentCount:o().number,track:o().object,locale:o().string,destination:o().string,onCtaClick:o().func}},81550:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(2784),i=n(21871);function o(t,e){return function(n){return r.createElement(i.Z,e,r.createElement(t,n))}}},81298:function(t,e,n){"use strict";n.d(e,{A:function(){return d},qw:function(){return h},Hf:function(){return p},OE:function(){return m},VA:function(){return v},BN:function(){return g},QU:function(){return b},KM:function(){return y},ow:function(){return w},P7:function(){return E},iH:function(){return S},k$:function(){return x},EJ:function(){return A},qt:function(){return et},Pf:function(){return nt},Vq:function(){return k},JT:function(){return C},UR:function(){return O},U6:function(){return rt},_8:function(){return _},rg:function(){return L},h_:function(){return T},Yk:function(){return P},zb:function(){return j},xP:function(){return I},bV:function(){return R},e2:function(){return z},$K:function(){return tt},fu:function(){return ot},fp:function(){return M},Tk:function(){return Z},rC:function(){return B},cH:function(){return $},o1:function(){return W},HA:function(){return it},tm:function(){return V},r6:function(){return H},rK:function(){return N},Zr:function(){return U},sF:function(){return F},e0:function(){return D},XH:function(){return G},Zm:function(){return q},Yw:function(){return Y},Wr:function(){return J},Oo:function(){return X},yB:function(){return Q},b0:function(){return K}});var r=n(82391),i=n(2784);function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(){return a=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){var e=t.viewBox,n=t.title,o=t.path,a=c(t,["viewBox","title","path"]);return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:e||"0 0 38 38"},a),i.createElement("title",null,n),i.createElement("path",{d:o}))}function l(t){return i.createElement(u,t)}function f(t){if(!t.contentFill)return i.createElement(u,t);var e=t.viewBox,n=t.title,o=t.path,a=t.contentFill,s=c(t,["viewBox","title","path","contentFill"]);return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:e||"0 0 38 38"},s),i.createElement("title",null,n),i.createElement("circle",{cx:"50%",cy:"50%",r:"35%",fill:a}),i.createElement("path",{d:o}))}var d=function(t){return l(s({title:"Minus",path:"M 12.008,1.283 A 1.077,1.077 0 0 0 11.239,1.623 L 7.422,4.596 A 1.078,1.078 0 1 0 8.749,6.295 L 10.947,4.580 v 7.659 a 1.077,1.077 0 1 0 2.153,0 V 4.600 l 2.144,1.692 A 1.078,1.078 0 1 0 16.580,4.600 L 12.812,1.626 A 1.077,1.077 0 0 0 12.008,1.283 Z M 5.099,9.252 A 1.077,1.077 0 0 0 4.022,10.329 V 21.128 A 1.077,1.077 0 0 0 5.099,22.205 H 18.945 A 1.077,1.077 0 0 0 20.022,21.128 V 10.329 A 1.077,1.077 0 0 0 18.945,9.252 h -2.016 a 1.077,1.077 0 1 0 0,2.153 h 0.939 v 8.646 H 6.175 V 11.406 H 7.066 a 1.077,1.077 0 1 0 0,-2.153 z",viewBox:"0 0 24 24"},t))},h=function(t){return l(s({title:"Apple",path:"M35.3 27.9c-.9 2-1.3 2.9-2.5 4.6-1.5 2.4-3.8 5.5-6.6 5.5-2.5 0-3.1-1.6-6.5-1.6S15.6 38 13.1 38c-2.8 0-4.9-2.8-6.5-5.2C2.1 26 1.6 18 4.4 13.7c2-3 5.1-4.8 8-4.8 3 0 4.8 1.6 7.3 1.6 2.4 0 3.8-1.6 7.3-1.6 2.6 0 5.3 1.4 7.3 3.9-6.5 3.5-5.5 12.6 1 15.1zm-11-21.7c1.2-1.6 2.2-3.9 1.9-6.2-2 .1-4.4 1.4-5.8 3.1-1.3 1.5-2.3 3.8-1.9 6 2.2.1 4.5-1.2 5.8-2.9z"},t))},p=function(t){return l(s({title:"Arrow Up",path:"M27.8 13.2L19 4.4l-8.8 8.8c-.7.7-.7 1.9 0 2.6.7.7 1.9.7 2.6 0l4.2-4.2V33h4V11.6l4.2 4.2c.4.4.8.5 1.3.5s.9-.2 1.3-.5c.7-.7.7-1.9 0-2.6z"},t))},m=function(t){var e=t.title,n=void 0===e?"Bluesky":e,o=t.fill,a=void 0===o?"#fff":o,s=c(t,["title","fill"]);return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 530",fill:"none",title:n},s),i.createElement("path",{d:"m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z",fill:a}))},v=function(t){return l(s({title:"Caret Down",path:"M19 29.3L2.6 12.9c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0L19 23.7l13.6-13.6c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8L19 29.3z"},t))},g=function(t){return l(s({title:"Caret Left",path:"M26.5 36c-.5 0-1-.2-1.4-.6L8.7 19 25.1 2.6c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8L14.3 19l13.6 13.6c.8.8.8 2 0 2.8-.4.4-.9.6-1.4.6z"},t))},b=function(t){return l(s({title:"Caret Right",path:"M11.5 36c-.5 0-1-.2-1.4-.6-.8-.8-.8-2 0-2.8L23.7 19 10.1 5.4c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0L29.3 19 12.9 35.4c-.4.4-.9.6-1.4.6z"},t))},y=function(t){return l(s({title:"Checkmark",path:"M30.9 8l-17 16.9-6.8-6.8L4.3 21l6.8 6.8c1.6 1.6 4.2 1.6 5.8 0l16.9-16.9L30.9 8z"},t))},w=function(t){return f(s({title:"Circle Check",path:"M19 0C8.5 0 0 8.5 0 19s8.5 19 19 19 19-8.5 19-19S29.5 0 19 0zm0 24.8c-1.6 1.6-4.2 1.6-5.8 0l-5.4-5.4 2.9-2.9 5.4 5.4 11-11 2.9 2.9-11 11z"},t))},E=function(t){return f(s({title:"Circle Exclamation",path:"M19 0C8.5 0 0 8.5 0 19s8.5 19 19 19 19-8.5 19-19S29.5 0 19 0zm-2 7h4v14h-4V7zm2 24c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"},t))},x=function(t){return f(s({title:"Circle X",path:"M19 0C8.5 0 0 8.5 0 19s8.5 19 19 19 19-8.5 19-19S29.5 0 19 0zm8.5 24.7l-2.8 2.8-5.7-5.7-5.7 5.7-2.8-2.8 5.7-5.7-5.7-5.7 2.8-2.8 5.7 5.7 5.7-5.7 2.8 2.8-5.7 5.7 5.7 5.7z"},t))},A=function(t){return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 15",fill:"none",title:"Circle X"},t),i.createElement("path",{d:"M13.9684 7.48421C13.9684 11.0653 11.0653 13.9684 7.48421 13.9684C3.90308 13.9684 1 11.0653 1 7.48421C1 3.90308 3.90308 1 7.48421 1C11.0653 1 13.9684 3.90308 13.9684 7.48421Z",strokeWidth:"1.5",strokeLinecap:"round"}),i.createElement("path",{d:"M5.33105 5.33105L9.66895 9.66895M9.66895 5.33105L5.33105 9.66895",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},S=function(t){var e=t.title,n=void 0===e?"Circle X":e,o=t.fill,a=void 0===o?"#000":o,s=c(t,["title","fill"]),u=Math.random().toString(36).substr(2,9);return i.createElement("svg",(0,r.Z)({viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg"},s),i.createElement("title",null,n),i.createElement("defs",null,i.createElement("circle",{cx:"9",cy:"9",r:"9"}),i.createElement("filter",{x:"-40.7%",y:"-29.6%",width:"181.3%",height:"181.3%",filterUnits:"objectBoundingBox",id:u},i.createElement("feMorphology",{radius:".321",operator:"dilate",in:"SourceAlpha",result:"shadowSpreadOuter1"}),i.createElement("feOffset",{dy:"2",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),i.createElement("feGaussianBlur",{stdDeviation:"2",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),i.createElement("feComposite",{in:"shadowBlurOuter1",in2:"SourceAlpha",operator:"out",result:"shadowBlurOuter1"}),i.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.237601902 0",in:"shadowBlurOuter1"}))),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(4 2)"},i.createElement("circle",{cx:"9",cy:"9",r:"9",fill:"#000",filter:"url(#".concat(u,")")}),i.createElement("circle",{cx:"9",cy:"9",r:"9",stroke:a,strokeWidth:".643",fill:"#FFF"})),i.createElement("path",{fill:a,fillRule:"nonzero",d:"M16 8.743L15.257 8 13 10.257 10.743 8 10 8.743 12.257 11 10 13.257l.743.743L13 11.743 15.257 14l.743-.743L13.743 11z"})))},k=function(t){return l(s({title:"Facebook",path:"M36.5 0h-35C.3 0 0 .3 0 1.5v34.9C0 37.7.3 38 1.5 38h18.9V23.4h-5.8v-5.8h5.8v-4.4c0-5.1 2.8-7.8 7.4-7.8 2.2 0 4.3.2 4.3.2v4.7h-2.8c-2.5 0-3.1 1.8-3.1 3.5v3.8h6l-.8 5.8h-5.3V38h10.2c1.2 0 1.5-.3 1.5-1.5v-35C38 .3 37.7 0 36.5 0z"},t))},C=function(t){return l(s({title:"Facebook",path:"M38,19.12A19,19,0,1,0,16,38V24.64H11.21V19.12H16V14.9c0-4.79,2.84-7.43,7.18-7.43a29.21,29.21,0,0,1,4.25.37v4.7H25.07a2.76,2.76,0,0,0-3.1,3v3.59h5.27l-.84,5.52H22V38A19.08,19.08,0,0,0,38,19.12Z"},t))},O=function(t){return l(s({title:"Facebook",viewBox:"0 0 9 16",path:"M7.927 8.93204L8.36663 6.05825H5.61649V4.19334C5.61649 3.40713 6.00064 2.64078 7.23245 2.64078H8.48283V0.194175C8.48283 0.194175 7.34805 0 6.26316 0C3.99813 0 2.51774 1.37631 2.51774 3.86796V6.05825H0V8.93204H2.51774V15.8792C3.02258 15.9586 3.54001 16 4.06711 16C4.59421 16 5.11164 15.9586 5.61649 15.8792V8.93204H7.927"},t))},_=function(t){var e=a({},t);return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",title:"Google"},e),i.createElement("path",{d:"m43.611 20.083h-1.611v-.083h-18v8h11.303c-1.649 4.657-6.08 8-11.303 8-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657c-3.572-3.329-8.35-5.382-13.618-5.382-11.045 0-20 8.955-20 20s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z",fill:"#ffc107"}),i.createElement("path",{d:"m6.306 14.691 6.571 4.819c1.778-4.402 6.084-7.51 11.123-7.51 3.059 0 5.842 1.154 7.961 3.039l5.657-5.657c-3.572-3.329-8.35-5.382-13.618-5.382-7.682 0-14.344 4.337-17.694 10.691z",fill:"#ff3d00"}),i.createElement("path",{d:"m24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238c-2.008 1.521-4.504 2.43-7.219 2.43-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025c3.31 6.477 10.032 10.921 17.805 10.921z",fill:"#4caf50"}),i.createElement("path",{d:"m43.611 20.083h-1.611v-.083h-18v8h11.303c-.792 2.237-2.231 4.166-4.087 5.571.001-.001.002-.001.003-.002l6.19 5.238c-.438.398 6.591-4.807 6.591-14.807 0-1.341-.138-2.65-.389-3.917z",fill:"#1976d2"}))},T=function(t){return l(s({title:"Heart",path:"M27.1 5.1c3.8 0 6.9 2.8 6.9 6.2v.1c0 1.6 0 4.9-3.9 8.8L19 31.3l-11.1-11C4 16.3 4 13 4 11.4v-.1c0-3.4 3.1-6.2 6.9-6.2 2.2 0 3.2.6 5.2 2.7l2.8 2.8 2.8-2.8c2.2-2.1 3.1-2.7 5.4-2.7m0-4c-3.7 0-5.6 1.4-8.1 3.8-2.4-2.4-4.3-3.8-8.1-3.8C5.1 1.1 0 5.5 0 11.3c0 1.9-.1 6.6 5.1 11.8L17 35c.4.5 1.2 1 2 1s1.6-.5 2-1l11.9-11.9c5.2-5.2 5.1-9.9 5.1-11.8 0-5.8-5.1-10.2-10.9-10.2z"},t))},L=function(t){return l(s({title:"Heart Filled",path:"M38 11.3c0-5.8-5.1-10.2-10.9-10.2-3.7 0-5.6 1.4-8.1 3.8-2.4-2.4-4.3-3.8-8.1-3.8C5.1 1.1 0 5.5 0 11.3c0 1.9-.1 6.6 5.1 11.8L17 35c.4.5 1.2 1 2 1s1.6-.5 2-1l11.9-11.9c5.2-5.2 5.1-9.9 5.1-11.8z"},t))},P=function(t){return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 15",fill:"none",title:"Information"},t),i.createElement("path",{d:"M6.75066 1.42397C7.07703 0.858677 7.89297 0.858676 8.21934 1.42397L13.8551 12.1646C14.1815 12.7299 13.7735 13.4365 13.1208 13.4365H1.84921C1.19646 13.4365 0.788495 12.7299 1.11487 12.1646L6.75066 1.42397Z",strokeWidth:"1.5"}),i.createElement("path",{d:"M6.90376 4.96573C6.89109 4.63631 7.15472 4.36235 7.48438 4.36235C7.81404 4.36235 8.07767 4.63631 8.065 4.96573L7.9024 9.19326C7.89376 9.41787 7.70916 9.59551 7.48438 9.59551C7.2596 9.59551 7.07499 9.41787 7.06636 9.19325L6.90376 4.96573Z"}),i.createElement("path",{d:"M6.80664 11.182C6.80664 10.8073 7.11043 10.5035 7.48518 10.5035C7.85992 10.5035 8.16371 10.8073 8.16371 11.182C8.16371 11.5568 7.85992 11.8606 7.48518 11.8606C7.11043 11.8606 6.80664 11.5568 6.80664 11.182Z"}))},j=function(t){return l(s({title:"Line",path:"M15.9 31.5c.6.1 1.5.4 1.7.9.2.5.1 1.2.1 1.7 0 0-.2 1.3-.3 1.6-.1.5-.4 1.9 1.6 1 2-.9 10.9-6.5 14.9-11 2.8-3 4.1-6.1 4.1-9.5C38 7.7 29.5.8 19 .8 8.5.9 0 7.8 0 16.3c0 7.6 6.8 14 15.9 15.2zm10-18.7c0-.6.4-1 1-1h3.8c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2.8v1.8h2.8c.5 0 1 .4 1 1 0 .5-.4 1-1 1h-2.8v1.8h2.8c.5 0 1 .4 1 1s-.4 1-1 1h-3.8c-.5 0-1-.4-1-1v-7.6zm-9 0c0-.4.3-.8.7-.9.1 0 .2-.1.3-.1.3 0 .6.1.8.4l3.9 5.3v-4.7c0-.6.4-1 1-1 .5 0 1 .4 1 1v7.6c0 .4-.3.8-.7.9-.1 0-.2.1-.3.1-.3 0-.6-.1-.8-.4l-3.9-5.3v4.7c0 .6-.4 1-1 1-.5 0-1-.4-1-1v-7.6zm-3.4 0c0-.6.4-1 1-1 .5 0 1 .4 1 1v7.6c0 .6-.4 1-1 1-.5 0-1-.4-1-1v-7.6zm-6.7 0c0-.6.4-1 1-1 .5 0 1 .4 1 1v6.6h2.8c.5 0 1 .4 1 1s-.4 1-1 1H7.8c-.5 0-1-.4-1-1v-7.6z"},t))},I=function(t){return l(s({title:"Link",path:"M19.7 31.5l-3.8 3.8c-3.8 3.8-10 3.6-13.6-.5-3.3-3.7-2.9-9.4.7-12.9l7.1-7.1c3.1-3 7.8-3.9 11.6-1.8 1 .6 1.9 1.3 2.5 2.1.6.7.5 1.8-.1 2.4l-.2.2c-.8.8-2 .6-2.7-.2-.3-.3-.5-.6-.9-.8-2.2-1.6-5.3-1.3-7.2.7l-7.5 7.5c-2.2 2.2-2.1 5.9.4 8 2.2 1.8 5.4 1.5 7.4-.5l3.6-3.6c.5-.5 1.2-.7 1.8-.5h.1c1.4.3 1.9 2.1.8 3.2zM35.8 3.2C32.2-.9 26-1 22.2 2.7l-3.8 3.8c-1.1 1.1-.6 2.9.9 3.2h.1c.7.2 1.3 0 1.8-.5l3.6-3.6c2-2 5.2-2.3 7.4-.5 2.5 2 2.6 5.8.4 8l-7.5 7.5c-1.9 1.9-5 2.3-7.2.7-.3-.2-.6-.5-.9-.8-.7-.8-1.9-.9-2.7-.2l-.3.2c-.7.7-.7 1.7-.1 2.4.7.8 1.5 1.5 2.5 2.1 3.8 2.1 8.5 1.2 11.6-1.8l7.1-7.1c3.5-3.5 3.9-9.2.7-12.9z"},t))},R=function(t){return l(s({title:"Mail",path:"M0 7v24h38V7H0zm33.3 4l-11.9 8.1c-1.5 1-3.4 1-4.9 0L4.7 11h28.6zM4 27V14.2l10.9 7.4c1.3.9 2.7 1.3 4.1 1.3s2.9-.4 4.1-1.3L34 14.2V27H4z"},t))},z=function(t){var e=t.title,n=void 0===e?"Menu":e,o=t.width,a=void 0===o?18:o,s=t.height,u=void 0===s?4:s,l=c(t,["title","width","height"]);return i.createElement("svg",(0,r.Z)({width:a,height:u,viewBox:"0 0 18 4",xmlns:"http://www.w3.org/2000/svg"},l),i.createElement("title",null,n),i.createElement("g",{transform:"rotate(-90 2 2)",fillRule:"nonzero"},i.createElement("circle",{cx:"2",cy:"2",r:"2"}),i.createElement("circle",{cx:"2",cy:"9",r:"2"}),i.createElement("circle",{cx:"2",cy:"16",r:"2"})))},M=function(t){return l(s({title:"Pause",path:"M13.5 34h-8c-.8 0-1.5-.7-1.5-1.5v-27C4 4.7 4.7 4 5.5 4h8c.8 0 1.5.7 1.5 1.5v27c0 .8-.7 1.5-1.5 1.5zM34 32.5v-27c0-.8-.7-1.5-1.5-1.5h-8c-.8 0-1.5.7-1.5 1.5v27c0 .8.7 1.5 1.5 1.5h8c.8 0 1.5-.7 1.5-1.5z"},t))},N=function(t){return l(s({title:"Pencil",path:"M7.70495 2.52833C8.24941 3.3827 9.06684 4.15106 9.97299 4.60413M7.70495 2.52833C5.61239 4.67592 3.51077 6.82863 1.43389 8.98871C1.40538 9.14193 1.37711 9.29519 1.34901 9.44849C1.23202 10.0867 1.11799 10.7255 1.00191 11.3639C0.987492 11.4432 1.05678 11.5125 1.13609 11.4981C1.77396 11.3821 2.41185 11.2662 3.04944 11.1487C3.20582 11.1198 3.36161 11.091 3.51643 11.0622C5.68021 8.89552 7.82462 6.75251 9.97299 4.60413M7.70495 2.52833C7.94495 2.27716 8.18868 2.02949 8.43063 1.78021C8.77631 1.42405 9.34173 1.40496 9.71064 1.73699L10.6345 2.56845C11.0276 2.92228 11.0437 3.53342 10.6697 3.90742L9.97299 4.60413"},t))},D=function(t){var e=t.color,n=c(t,["color"]);return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",title:"Star Filled"},n),i.createElement("path",{d:"M10.9345 18.857L8.70989 25.255C8.53421 25.7603 9.0978 26.2003 9.54028 25.9034L15.3673 21.9931C15.7486 21.7373 16.2469 21.744 16.6212 22.0099L22.0899 25.8956C22.5201 26.2013 23.0915 25.7873 22.9402 25.2796L21.0184 18.8315C20.8815 18.3722 21.0516 17.8761 21.4408 17.5996L26.7644 13.817C27.2061 13.5032 26.9855 12.8036 26.4448 12.8036H19.8058C19.3487 12.8036 18.9386 12.5211 18.7729 12.0923L16.5566 5.35562C16.3685 4.86886 15.6785 4.88593 15.5144 5.3814L13.6403 12.0408C13.4895 12.4963 13.0659 12.8036 12.5889 12.8036H5.55517C5.01452 12.8036 4.79392 13.5032 5.23562 13.817L10.5276 17.5771C10.932 17.8644 11.098 18.3868 10.9345 18.857Z",fill:e,stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))},Z=function(t){return l(s({title:"Person",path:"M14 25h10c0 2.7-2.2 5-5 5s-5-2.3-5-5zm-2.5-8H9v2.5c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM24 19.5c0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5V17h-2.5c-1.4 0-2.5 1.1-2.5 2.5zm14-.5c0 10.5-8.5 19-19 19S0 29.5 0 19 8.5 0 19 0s19 8.5 19 19zM27.6 6.7c-.2 1.8.1 3.3 1.1 4.3.9.9 2.2 1.4 3.8 1.4-1.2-2.3-2.8-4.2-4.9-5.7zM7.2 9.8c1.2.8 3.4 1.9 7.3 1.9 5.5 0 8.6-4.1 10-6.7-1.7-.6-3.5-1-5.5-1-4.8 0-9.1 2.3-11.8 5.8zM34 19c0-1.3-.2-2.5-.5-3.6-.4 0-.8.1-1.2.1-2.3 0-4.4-.8-5.9-2.3-.8-.9-1.4-2-1.7-3.2-2.2 2.5-5.5 4.8-10.3 4.8-4.4 0-7.3-1.3-8.9-2.4-1 2-1.6 4.3-1.6 6.7 0 8.3 6.7 15 15 15C27.3 34 34 27.3 34 19z"},t))},B=function(t){return l(s({title:"Photo",viewBox:"0 0 18 15",path:"M0 12c0 1.657 1.353 3 2.993 3h12.014A2.997 2.997 0 0 0 18 12V3c0-1.657-1.353-3-2.993-3H2.993A2.997 2.997 0 0 0 0 3v9zm11.8-5.91L8.067 9.728l-.934-.909c-.606-.59-1.26-.59-1.866 0L2 12V3.607C2 2.719 2.714 2 3.606 2h10.788A1.6 1.6 0 0 1 16 3.6v4.81l-2.333-2.32c-.607-.59-1.26-.59-1.867 0zM5.5 7C4.65 7 4 6.35 4 5.5S4.65 4 5.5 4 7 4.65 7 5.5 6.35 7 5.5 7z"},t))},$=function(t){return l(s({title:"Pinterest",path:"M19 0C8.5 0 0 8.5 0 19c0 7.8 4.7 14.5 11.4 17.4-.1-1.3 0-2.9.3-4.4.4-1.5 2.4-10.4 2.4-10.4s-.6-1.2-.6-3c0-2.8 1.6-4.9 3.7-4.9 1.7 0 2.6 1.3 2.6 2.9 0 1.7-1.1 4.3-1.7 6.7-.5 2 1 3.7 3 3.7 3.6 0 6-4.6 6-10.1 0-4.2-2.8-7.3-7.9-7.3-5.8 0-9.4 4.3-9.4 9.1 0 1.7.5 2.8 1.3 3.7.4.4.4.6.3 1.1-.1.3-.3 1.2-.4 1.5-.1.5-.5.7-1 .5-2.7-1.1-3.9-4-3.9-7.3 0-5.4 4.6-11.9 13.6-11.9 7.3 0 12 5.3 12 10.9 0 7.5-4.1 13-10.3 13-2 0-4-1.1-4.6-2.4L15.5 33c-.4 1.5-1.2 2.9-1.9 4.1 1.7.5 3.5.8 5.4.8 10.5 0 19-8.5 19-19C38 8.5 29.5 0 19 0"},t))},W=function(t){return l(s({title:"Play",path:"M6 5.4v27.2c0 1.1 1.1 1.8 2 1.2l23.3-13.6c.9-.5.9-1.9 0-2.5L8.1 4.2c-1-.6-2.1.1-2.1 1.2z"},t))},V=function(t){return l(s({title:"Share Android",path:"M38 32c0 3.3-2.7 6-6 6s-6-2.7-6-6c0-.4 0-.7.1-1.1l-15.5-8.1C9.5 24.2 7.9 25 6 25c-3.3 0-6-2.7-6-6s2.7-6 6-6c1.9 0 3.5.8 4.6 2.2l15.5-8.1C26 6.7 26 6.4 26 6c0-3.3 2.7-6 6-6s6 2.7 6 6-2.7 6-6 6c-1.8 0-3.5-.8-4.6-2.1L11.9 18c.1.3.1.6.1 1s0 .7-.1 1.1l15.5 8.1c1.1-1.3 2.7-2.1 4.6-2.1 3.3-.1 6 2.6 6 5.9z"},t))},H=function(t){return l(s({title:"Share iOS",path:"M13.6 7.3c-.5-.5-.5-1.4 0-1.9L19 0l5.4 5.4c.5.5.5 1.4 0 1.9-.3.3-.6.4-1 .4s-.7-.1-1-.4l-2.1-2.1V24h-2.7V5.2l-2.1 2.1c-.5.5-1.3.5-1.9 0zM26.3 10H26c-1.1 0-2 .9-2 2s.9 2 2 2h.3c1.5 0 2.7 1.2 2.7 2.7v14.6c0 1.5-1.2 2.7-2.7 2.7H11.7C10.2 34 9 32.8 9 31.3V16.7c0-1.5 1.2-2.7 2.7-2.7h.3c1.1 0 2-.9 2-2s-.9-2-2-2h-.3C8 10 5 13 5 16.7v14.6C5 35 8 38 11.7 38h14.6c3.7 0 6.7-3 6.7-6.7V16.7c0-3.7-3-6.7-6.7-6.7z"},t))},U=function(t){return l(s({title:"Snapchat",path:"M11.454 8.752zm.002.005zM4.547 8.75v-.002zm3.44 5.787a1.42 1.42 0 0 1-.076.002c-.82 0-1.305-.222-2.163-.825-.13-.09-.186-.13-.254-.175-.263-.174-.447-.26-.626-.29a3.03 3.03 0 0 0-.49-.042c-.193 0-.365.02-.568.056l-.126.024c-.205.04-.28.051-.39.051-.309 0-.58-.151-.684-.503a4.643 4.643 0 0 1-.089-.357 7.358 7.358 0 0 0-.022-.097c-1.142-.197-1.745-.484-1.938-.934a.748.748 0 0 1-.06-.251.647.647 0 0 1 .542-.676c1.312-.214 2.18-1.226 2.587-2.169l.008-.017.008-.018c.064-.128.072-.197.06-.223-.03-.07-.206-.163-.58-.28a3.21 3.21 0 0 1-.23-.079c-.693-.271-1.024-.683-.934-1.157.09-.467.578-.76 1.04-.76.133 0 .259.024.375.078.161.075.302.119.417.135l-.001-.022c-.104-1.638-.087-2.375.21-3.037C4.814 1.167 6.33.503 7.856.503L7.975.5h.128L8.138.5c1.529 0 3.047.664 3.859 2.47.297.662.314 1.4.21 3.036v.009c.098-.022.211-.062.337-.12a.985.985 0 0 1 .421-.088c.147 0 .297.028.426.08.375.137.653.437.66.819.008.44-.325.785-.947 1.029-.06.023-.11.04-.23.077-.374.118-.55.21-.58.281-.012.026-.004.094.066.237a.448.448 0 0 0-.002-.006l.01.023c.41.948 1.276 1.959 2.589 2.173.326.054.56.344.542.677a.74.74 0 0 1-.06.252c-.194.448-.797.734-1.939.93l-.021.096a4.718 4.718 0 0 1-.089.354.673.673 0 0 1-.667.498h-.017c-.108 0-.236-.016-.39-.046a3.399 3.399 0 0 0-.695-.074c-.158 0-.323.014-.489.041-.23.038-.42.143-.879.465-.86.604-1.344.826-2.165.826-.055 0-.065 0-.102-.002z",viewBox:"0 0 16 16"},t))},F=function(t){return l(s({title:"Speech",path:"M13 36c-.3 0-.6-.1-.8-.2-.8-.3-1.2-1-1.2-1.8v-5.8c-5-.3-9-4.9-9-10.4v-6.3C2 5.7 5.8 2 11.6 2h14.7c5.9 0 9.6 3.7 9.6 9.4v6.3c0 5.8-3.8 10.3-9.6 10.3h-3l-9 7.4c-.3.3-.8.6-1.3.6zM11.6 6C8 6 6 7.9 6 11.4v6.3c0 3.5 2 6.3 5.6 6.3H13c1.1 0 2 1 2 2.1v3.7l6.2-5.3c.4-.3.9-.5 1.4-.5h3.7c3.6 0 5.6-2.8 5.6-6.3v-6.3C32 7.9 30 6 26.4 6H11.6z"},t))},G=function(t){return l(s({title:"Trash",path:"M32.9 7H26V6c0-3.3-2.7-6-6-6h-2c-3.3 0-6 2.7-6 6v1H5c-1.1 0-2 .9-2 2s.9 2 2 2h1l1.1 27h23.8l1.3-27h.7c1.1 0 2-.9 2-2s-.8-2-2-2zM15 6c0-1.7 1.3-3 3-3h2c1.7 0 3 1.3 3 3v1h-8V6zm12 29H11l-1-24h18l-1 24zm-12.5-4.4l-.8-15c0-.9.6-1.6 1.5-1.6.8 0 1.5.6 1.5 1.4l.8 15c0 .9-.6 1.6-1.5 1.6-.8 0-1.5-.6-1.5-1.4zm6-.2l.8-15c0-.8.7-1.4 1.5-1.4.9 0 1.5.7 1.5 1.6l-.8 15c0 .8-.7 1.4-1.5 1.4s-1.5-.7-1.5-1.6z"},t))},q=function(t){return l(s({title:"Twitter",path:"M37.9 8c-1.4.6-2.9 1-4.4 1.2 1.6-1 2.8-2.5 3.4-4.3-1.5.9-3.1 1.5-4.9 1.9-1.4-1.5-3.4-2.4-5.6-2.4-4.3 0-7.7 3.5-7.7 7.7 0 .6.1 1.2.2 1.8-6.4-.3-12.1-3.4-15.9-8.1-.7 1.1-1 2.5-1 3.9 0 2.7 1.2 5 3.2 6.4-1.3 0-2.3-.4-3.7-1v.1c0 3.7 2.9 6.9 6.4 7.6-.9.2-1.4.3-2.1.3-.5 0-.9 0-1.4-.1 1 3.1 3.9 5.3 7.2 5.4-2.6 2.1-6 3.3-9.6 3.3-.6 0-1.2 0-1.8-.1C3.6 33.7 7.7 35 12 35c14.2 0 22-11.8 22-22v-1c1.5-1.1 2.8-2.5 3.9-4"},t))},J=function(t){return l(s({title:"Twitter",viewBox:"0 0 16 16",path:"M9.52373 6.77566L15.4811 0H14.0699L8.89493 5.88201L4.7648 0H0L6.24693 8.89549L0 15.9999H1.4112L6.87253 9.78701L11.2352 15.9999H16M1.92053 1.04126H4.08853L14.0688 15.0098H11.9003"},t))},Y=function(t){var e=t.height,n=void 0===e?"18":e,o=t.width,a=void 0===o?"18":o,s=c(t,["height","width"]);return i.createElement("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",height:n,width:a,viewBox:"0 0 18 18"},s),i.createElement("path",{d:"M9 18C13.9706 18 18 13.9706 18 9C18 4.02944 13.9706 0 9 0C4.02944 0 0 4.02944 0 9C0 13.9706 4.02944 18 9 18Z"}),i.createElement("g",{"clip-path":"url(#clip0_233_3216)"},i.createElement("path",{d:"M9.79899 8.31131L13.15 4.5H12.3562L9.44529 7.80863L7.12209 4.5H4.44189L7.95579 9.50371L4.44189 13.5H5.23569L8.30769 10.0052L10.7617 13.5H13.4419M5.52219 5.08571H6.74169L12.3556 12.943H11.1358",fill:"white"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_233_3216"},i.createElement("rect",{width:"9",height:"9",fill:"white",transform:"translate(4.44189 4.5)"}))))},X=function(t){return l(s({title:"VK",path:"M245.95 436.04L274.68 436.04S283.38 434.77 287.77 428.42C291.87 422.55 291.72 411.61 291.72 411.61S291.13 360.1 309.05 352.47C326.67 345.04 349.34 402.22 373.32 424.22 391.46 440.83 405.28 437.22 405.28 437.22L469.41 436.04S502.97 433.31 487.03 398.02C485.71 395.19 477.74 371.92 439.35 324.22 399.14 274.28 404.55 282.39 452.95 196.08 482.49 143.5 494.27 111.44 490.54 97.66 487.03 84.56 465.31 87.98 465.31 87.98L393.07 88.57S387.73 87.59 383.71 90.81C379.83 93.94 377.35 101.18 377.35 101.18S365.94 141.84 350.66 176.44C318.48 249.45 305.61 253.26 300.35 248.77 288.14 238.21 291.21 206.35 291.21 183.67 291.21 112.9 299.25 83.39 275.56 75.76 267.74 73.22 261.96 71.56 241.85 71.27 216.04 70.87 194.25 71.36 181.89 79.48 173.7 84.85 167.34 96.87 171.22 97.56 175.97 98.44 186.79 101.47 192.57 111.93 199.95 125.42 199.73 155.62 199.73 155.62S203.97 238.89 189.79 249.26C180.06 256.39 166.68 241.83 138.02 175.66 123.32 141.74 112.21 104.21 112.21 104.21S110.09 97.17 106.28 93.45C101.68 88.86 95.17 87.49 95.17 87.49L26.51 88.08S16.2 88.47 12.4 94.43C9.03 99.81 12.1 110.75 12.1 110.75S65.99 278.77 126.83 363.52C182.62 441.13 245.95 436.04 245.95 436.04",viewBox:"0 0 512 512"},t))},Q=function(t){return l(s({title:"WhatsApp",path:"M19.3 0C9.2 0 1 8.3 1 18.5c0 3.5 1 6.8 2.6 9.6L.3 38l10.2-3.3c2.6 1.5 5.7 2.3 8.9 2.3 10.2 0 18.4-8.3 18.4-18.5C37.7 8.3 29.5 0 19.3 0zm0 33.9c-3.1 0-6-.9-8.4-2.5L5 33.3l1.9-5.7C5.1 25 4 21.9 4 18.5 4 10 10.9 3.1 19.3 3.1S34.6 10 34.6 18.5s-6.8 15.4-15.3 15.4zm9.5-10.6c.1.2.1 1.1-.4 2.2-.4 1.1-2.4 2.1-3.3 2.1-.9 0-.9.7-5.6-1.4-4.7-2.1-7.5-7.1-7.8-7.4-.2-.3-1.8-2.6-1.7-5 .1-2.3 1.3-3.4 1.8-3.9.4-.5 1-.6 1.3-.5s.6.1.9.1c.3 0 .7-.1 1 .8.4 1 1.2 3.3 1.3 3.6.1.2.2.5 0 .8-.2.3-.3.5-.5.8-.2.3-.5.6-.7.8-.2.2-.5.5-.2 1s1.1 2.1 2.5 3.4c1.7 1.7 3.2 2.2 3.7 2.5.5.3.7.2 1-.1.3-.3 1.2-1.3 1.6-1.8.3-.5.6-.4 1.1-.2.4.2 2.7 1.4 3.2 1.7.4.2.7.3.8.5z"},t))},K=function(t){return l(s({title:"X",path:"M30.3 10.5l-2.8-2.8-8.5 8.5-8.5-8.5-2.8 2.8 8.5 8.5-8.5 8.5 2.8 2.8 8.5-8.5 8.5 8.5 2.8-2.8-8.5-8.5z"},t))},tt=function(t){return i.createElement("svg",(0,r.Z)({viewBox:"0 0 34 41",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("rect",{width:"34",height:"40",transform:"translate(0 0.0546875)",fill:"white"}),i.createElement("path",{d:"M0.5 39.5547V19.3557L17 10.6204L33.5 19.3557V39.5547H0.5Z",fill:"#FBF6EC",stroke:"black"}),i.createElement("path",{d:"M31 14.0547H3V19.9999L17 25.0547L31 19.9999V14.0547Z",fill:"white",stroke:"black"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.12019 4.46624C1.34748 4.23894 1.71599 4.23894 1.94329 4.46624L6.05877 8.58171C6.28606 8.80901 6.28606 9.17752 6.05877 9.40481C5.83147 9.6321 5.46296 9.6321 5.23567 9.40481L1.12019 5.28933C0.892899 5.06204 0.892899 4.69353 1.12019 4.46624Z",fill:"black"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.7012 4.64314C32.9285 4.87043 32.9285 5.23894 32.7012 5.46624L28.5858 9.58171C28.3585 9.80901 27.99 9.80901 27.7627 9.58171C27.5354 9.35442 27.5354 8.98591 27.7627 8.75862L31.8781 4.64314C32.1054 4.41585 32.474 4.41585 32.7012 4.64314Z",fill:"black"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0034 0.0546875C17.3249 0.0546875 17.5854 0.315265 17.5854 0.636704L17.5854 6.45687C17.5854 6.77831 17.3249 7.03889 17.0034 7.03889C16.682 7.03889 16.4214 6.77831 16.4214 6.45687L16.4214 0.636704C16.4214 0.315265 16.682 0.0546875 17.0034 0.0546875Z",fill:"black"}))},et=function(t){var e=t.color,n=void 0===e?"#000000":e,o=c(t,["color"]);return i.createElement("svg",(0,r.Z)({viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),i.createElement("path",{d:"M1.04348 4.92743C1.05546 2.7699 2.7711 1.01881 4.87545 1.01624L18.2114 1C20.3157 0.99744 22.0119 2.74438 21.9999 4.90191L21.9565 12.715C21.9445 14.8725 20.2289 16.6236 18.1246 16.6262L16.2194 16.6285L16.1896 22L7.64635 16.6389L4.78861 16.6424C2.68427 16.645 0.988075 14.898 1.00006 12.7405C1.01453 10.1362 1.02901 7.53179 1.04348 4.92743Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},nt=function(t){var e=a({},t);return i.createElement("svg",(0,r.Z)({width:"476",height:"476",viewBox:"0 0 476 476",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("g",{"clip-path":"url(#clip0_1_2)"},i.createElement("rect",{width:"476",height:"476",fill:"white"}),i.createElement("circle",{cx:"238.5",cy:"237.5",r:"238.5",fill:"#7F79A0"}),i.createElement("path",{d:"M237.5 64L280.719 197.014H420.578L307.43 279.222L350.649 412.236L237.5 330.028L124.351 412.236L167.57 279.222L54.4216 197.014H194.281L237.5 64Z",fill:"white"})))},rt=function(t){var e=t.color,n=void 0===e?"#000000":e,o=c(t,["color"]);return i.createElement("svg",(0,r.Z)({viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13"},o),i.createElement("path",{d:"M3.29341 8.50704L4.09047 11.9696M3.29341 8.50704L10.421 2.99932C10.5649 2.88211 10.5054 2.64739 10.3236 2.61529L1.75121 1.03375C1.59937 1.00693 1.47012 1.1467 1.50606 1.29883L3.29341 8.50704Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},it=function(t){var e=t.color,n=void 0===e?"#000000":e,o=c(t,["color"]);return i.createElement("svg",(0,r.Z)({viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"14"},o),i.createElement("path",{d:"M7.18044 1V4.65157C13.0046 4.65157 16.1242 7.97516 17.2427 13.1719C13.5504 9.39534 10.2683 9.39534 7.18044 9.39534V13.1719L1.24268 7.08594L7.18044 1Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ot=function(t){var e=t.color,n=void 0===e?"#000000":e,o=c(t,["color"]);return i.createElement("svg",(0,r.Z)({viewBox:"0 0 18 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"14"},o),i.createElement("path",{d:"M17.1158 7.31497C13.8812 14.9963 4.5098 15.0188 1.2752 7.32729C1.23098 7.22215 1.23139 6.95681 1.2752 6.85258C4.5098 -0.838913 13.8815 -0.832445 17.1158 6.84899C17.1663 6.96887 17.1668 7.19377 17.1158 7.31497Z",stroke:n,strokeWidth:"1.5",strokeLinejoin:"round"}),i.createElement("path",{d:"M12.405 7.63209C12.405 9.36162 11.0812 10.7525 9.19667 10.7525C7.31217 10.7525 6.01081 9.38218 6.01081 7.63209C6.01081 5.88199 7.3346 4.58318 9.19667 4.58318C11.0587 4.58318 12.405 5.90256 12.405 7.63209Z",stroke:n,strokeWidth:"1.5",strokeLinejoin:"round"}))}},24823:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var r=n(82391),i=n(2784),o=(n(36080),"productWrapper__3uNYs"),a="productImg__3Ed47",s="productImgWrapper__20Koe",c="titleWrapper__3w9Ml",u="titleText__1RVgM",l="footerWrapper__1hxWC",f="productPrice__lEzmy",d="productRetailer__hFVA2",h="productButton__37VLs",p=n(42719),m=n(77720);function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g=function(t){var e=t.subunitPosition,n=t.tracking,r=t.img_url,g=void 0===r?"":r,b=t.formatted_price,y=void 0===b?"":b,w=t.retailer,E=void 0===w?"":w,x=t.latest_subbuzz,A=void 0===x?{}:x,S=t.useUnitTracking,k=void 0===S?function(){}:S,C=t.productClassName,O=void 0===C?"":C,_=t.showButton,T=void 0!==_&&_,L=t.trackingTag,P=void 0===L?"":L,j=(0,i.useRef)(null),I="".concat(A.parent_buzz_canonical_url).concat(A.id?"#".concat(A.id):"");P&&(I=function(t,e){var n=new URL(t);return n.searchParams.set("tag",e),n.toString()}(I,P));var R=!I.includes("buzzfeed.com"),z=function(t){var e=m.tq?120:160;return e+=(t=(t=(t=t.replace(new RegExp("","g"),"/a>")).replace(/<\/?a[^>]*>/g,"")).length-t.replace(/(<([^>]+)>)/gi,"").length,t.length>e&&(t=(t=t.substr(0,e)).substr(0,Math.min(t.length,t.lastIndexOf(" ")))+"..."),t.toLowerCase().replace(/(^\w{1}|\.\s*\w{1})/gi,(function(t){return t.toUpperCase()}))}(A.header),M="https://img.buzzfeed.com/store-an-image-prod-us-east-1/JqgQjsQer.png",N=(0,i.useState)(g&&!g.match(/^data:/)?g:M),D=N[0],Z=N[1],B=(0,i.useMemo)((function(){return function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1)z({type:"SHOW_PINTEREST_IMAGE_CHOOSER"});else{var r=(0,l.BN)(M,d,A,D);if("copy"===d){var i=Date.now(),o={position:A.tooltipPosition?A.tooltipPosition:"top",text:e(r?"copySuccessText":"copyFailText"),themes:r?["dark","success"]:["error"]};z({type:"SHOW_TOOLTIP",id:i,tooltip:o}),setTimeout((function(){z({type:"HIDE_TOOLTIP",id:i})}),3e3)}}C&&"function"===typeof C&&C()},href:N},r.createElement("div",{"aria-hidden":!0,className:W.iconContainer},r.createElement("div",{className:W.icon},r.createElement(V[d],{className:W.svg}))),k?r.createElement("span",{className:W.shareText},u||H):null),F,G)}F.propTypes={action:o().func,className:o().string,label:o().string,platform:o().oneOf(Object.keys(m)),platformOptions:o().object,showLabel:o().bool,tracking:o().func,url:o().string,utmCampaign:o().string,utmSource:o().string,variant:o().oneOf(["large","small","outline","outlineThick","square","outlineMonochrome","fillBlue"])}},5409:function(t,e,n){"use strict";n.d(e,{f:function(){return _}});var r=n(2784),i=n(13980),o=n.n(i),a=n(81298),s=n(9509),c=n(85953),u=(n(20108),"signInModal__eoWwW"),l="container__2DSNS",f="header__3IJeE",d="socialSigninButton__3NxfE",h="submitButton__3CL8N",p="inputEmail__xzzWI",m="icon__3HKBy",v="errorSection__1gXwu",g="iconError__3evLB",b="errorMessage__3iLMS",y="linkButton__m86IK",w="dividerOr__sCtBz",E="socialSigninText__3yJdx",x="signupSection__TqgIL",A="signupText__2EWvq",S=n(86663);function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function C(t){for(var e=1;e0,k=(0,r.useState)(!1),C=k[0],O=k[1],_=(0,r.useState)({}),T=_[0],L=_[1],P=(0,r.useState)(!s),j=P[0],I=P[1],R=(0,r.useState)(""),z=R[0],M=R[1],N=(0,r.useState)(""),D=N[0],Z=N[1];return(0,r.useEffect)((function(){var t=Object.keys(c).reduce((function(t,e){return t[e]=c[e].value,t}),{}),e=window.location.href.split("?"),n=e[0];if(e[1]&&e[1].length){var r=new URLSearchParams(e[1]);r.forEach((function(e,n){n.startsWith(S)&&(t[n.replace(S,"")]=e,r.delete(n))})),n+="?".concat(r.toString())}L(t),Z(n),O(!0)}),[]),(0,r.useEffect)((function(){var t={};if(Object.keys(T).forEach((function(e){n.returned[e]&&n.returned[e].value!==T[e]&&(t["".concat(S).concat(e)]=T[e])})),Object.keys(t).length>0){var e=new URLSearchParams(t),r=D.includes("?")?"".concat(D,"&"):"".concat(D,"?");M("".concat(r).concat(e.toString()))}else M(D)}),[T,D,j]),C?r.createElement("section",{className:"".concat(l," ").concat(o),"aria-labelledby":"abeagle-flipper-title"},r.createElement("div",{className:f},r.createElement("h2",{id:"abeagle-flipper-title"},"Active A/B Tests on Current Page"),r.createElement("button",{type:"button",onClick:function(){I(!j)},title:j?"Hide All":"Show All",className:j?d:h},r.createElement("span",{className:p},j?"Hide":"Show"," All"),r.createElement(x.VA,{width:30,title:j?"Hide All":"Show All","aria-hidden":"true"}))),j&&r.createElement("div",{className:m},u&&r.createElement("div",{className:v},r.createElement("ul",{className:g},Object.keys(c).map((function(t){return r.createElement("li",{key:t,className:b},r.createElement("label",{htmlFor:t},t),r.createElement("select",{id:t,value:T[t]||n.declared[t].variations[0],onChange:e(t),onBlur:e(t)},n.declared[t].variations.map((function(t){return r.createElement("option",{key:t,value:t},t)}))))}))),r.createElement("div",{className:y},r.createElement("a",{href:z,className:w},"Save and Reload"),r.createElement("a",{href:D},"Reset All"))),!u&&r.createElement("p",{className:E},"No experiments active on this page."))):null}function C(t){var e=t.experiments,n=t.className,i=t.collapse;return e&&e.loaded?r.createElement(k,{experiments:e,className:n,collapse:i}):null}k.propTypes={experiments:o().object,className:o().string,collapse:o().bool};var O=n(81550),_=n(24678);function T(t){var e=t.css,n=t.html,i=t.js,o=t.stickyHeaderClass,l=void 0===o?"js-main-nav":o,f=t.stickyRegistry,d=void 0===f?s.Z:f,h=(0,r.useRef)(null);(0,r.useEffect)((function(){(0,a.ve)(i)}),[i]),(0,r.useEffect)((function(){if(!h.current||!l)return function(){};var t=h.current.querySelector(".".concat(l));return t&&d.add(t,{priority:"high"}),function(){t&&d.remove(t)}}),[l,d]);var p=(0,r.useContext)(c.Z).experiments,m=!u.sk&&window.location.search.includes("abdebug"),v=!u.sk&&window.location.search.includes("abdebug_collapse=true");return r.createElement("div",{ref:h},r.createElement("style",{dangerouslySetInnerHTML:{__html:e}}),r.createElement("link",{rel:"preload",href:i,as:"script"}),m?r.createElement(C,{experiments:p,collapse:v}):"",r.createElement("div",{dangerouslySetInnerHTML:{__html:n}}))}T.propTypes={css:o().string,html:o().string.isRequired,js:o().string.isRequired,stickyRegistry:o().object,stickyHeaderClass:o().string};var L=(0,O.Z)(T,{onError:_.Tb})},31781:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(2784),i=n(13980),o=n.n(i),a=n(81298),s=(n(63401),{container:"container__2aQ7P",tooltip:"tooltip__NwXav",error:"error__3s-yh",dark:"dark__2XqnJ",right:"right__1o5l0",left:"left__DVH6r",top:"top__1lNky",bottom:"bottom__3AC2G",icon:"icon__2ZdG-",tooltipContents:"tooltipContents__ONFBE",fadeout:"fadeout__ATp1I",fadeAnimation:"fadeAnimation__2e79f"});function c(t){var e,n=t.className,i=void 0===n?"":n,o=t.container,c=t.position,u=void 0===c?"top":c,l=t.shouldShow,f=void 0===l||l,d=t.text,h=void 0===d?"":d,p=t.themes,m=void 0===p?["default"]:p,v=(0,r.useState)("hide"),g=v[0],b=v[1],y=(0,r.useState)({width:0,height:0}),w=y[0],E=y[1],x=w.width,A=w.height,S=m.map((function(t){return s[t]})).filter((function(t){return t})).join(" ");m.includes("error")?e=r.createElement(a.k$,{className:s.icon}):m.includes("success")&&(e=r.createElement(a.ow,{className:s.icon})),(0,r.useEffect)((function(){f?b("full"):"hide"!==g&&b("fadeout")}),[f]),(0,r.useEffect)((function(){if(o&&o.current){var t=o.current.getBoundingClientRect();E({width:t.width,height:t.height})}}),[o]);var k={};return A&&x&&("top"===u||"bottom"===u?k.left="".concat(x/2,"px"):"right"===u&&(k.left="".concat(x,"px")),"bottom"===u?k.top="".concat(A,"px"):"top"===u&&(k.bottom="".concat(A,"px"))),"hide"!==g&&r.createElement("div",{className:"".concat(s.tooltip," ").concat(s[u]," ").concat(S," ").concat(s[g]||""," ").concat(i),onAnimationEnd:function(){b("hide")},role:"alert",style:k},r.createElement("div",{className:s.tooltipContents},e,r.createElement("span",{className:s.tooltipText},h)))}c.propTypes={className:o().string,container:o().shape({current:o().instanceOf("undefined"===typeof Element?function(){}:Element)}),position:o().string,shouldShow:o().bool,themes:o().array,text:o().string}},86663:function(t,e,n){"use strict";n.d(e,{nf:function(){return r},Gd:function(){return i},Jl:function(){return o}});var r=["contentAction","externalLink"],i={unit_type:"modal",unit_name:"signin_modal"},o=["google","facebook","apple"]},27625:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=n(2784).createContext({});r.Provider},98638:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=n(2784).createContext(null)},16938:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(2784);function i(t){var e=function(t){o(t.matches)},n=(0,r.useState)(window.matchMedia(t).matches),i=n[0],o=n[1];return(0,r.useEffect)((function(){var n=window.matchMedia(t);return n.addListener(e),e(n),function(){return n.removeListener(e)}}),[t]),i}},16693:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r,i=n(2784);r=new ResizeObserver((function(t){var e=!0,n=!1,r=void 0;try{for(var i,a=t[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var s=i.value,c=s.target,u=s.contentRect;o.get(c).call(null,u)}}catch(l){n=!0,r=l}finally{try{e||null==a.return||a.return()}finally{if(n)throw r}}}));var o=new Map;function a(t){var e=(0,i.useState)({}),n=e[0],a=e[1];return(0,i.useEffect)((function(){var e,n,i=t.current;if(i)return e=i,n=a,r.observe(e),o.set(e,n),function(){return function(t){r.unobserve(t),o.delete(t)}(i)}}),[t]),n}},49277:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(94776),i=n.n(r),o=n(2784),a=n(21038);function s(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,c,"next",t)}function c(t){s(o,r,i,a,c,"throw",t)}a(void 0)}))}}var u=a.ZP.framework,l=a.ZP.rules;function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tracking",e=u.needsConsent(),n=(0,o.useState)(!e||u.isConsentStringCookieSet()),r=n[0],a=n[1],s=(0,o.useState)(!e),f=s[0],d=s[1],h=(0,o.useState)(!e),p=h[0],m=h[1];return(0,o.useEffect)((function(){var n=function(){var e=c(i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.hasConsented(t);case 2:n=e.sent,m(n),a(!0),d(!0);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e&&n()}),[t,e]),{consentValue:p,isConsentKnown:r,isConsentReady:f}}},10432:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(94776),i=n.n(r),o=n(2784);function a(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,c,"next",t)}function c(t){a(o,r,i,s,c,"throw",t)}s(void 0)}))}}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n=(0,o.useState)(t),r=n[0],a=n[1],c=(0,o.useReducer)(f,{isLoading:!1,error:null,data:e}),u=c[0],d=c[1];return(0,o.useEffect)((function(){if(!r)return d({type:"SUCCESS",data:u.data}),function(){};var t=!0,e=function(){var e=s(i().mark((function e(){var n,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d({type:"START"}),e.prev=1,e.next=4,fetch(r,l);case 4:return n=e.sent,e.next=7,n.json();case 7:o=e.sent,t&&d({type:"SUCCESS",data:o}),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t&&(window.raven&&window.raven.captureException(e.t0),d({type:"FAIL",error:e.t0}));case 14:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(){return e.apply(this,arguments)}}();return e(),function(){t=!1}}),[r]),[u,a]}},88163:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(2784);function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.once,i=void 0!==n&&n,o=t.root,a=void 0===o?null:o,s=t.rootMargin,c=void 0===s?"0px":s,u=t.threshold,l=void 0===u?0:u,f=t.defaultValue,d=void 0!==f&&f,h=(0,r.useState)(null),p=h[0],m=h[1],v=(0,r.useState)(d),g=v[0],b=v[1],y=(0,r.useRef)(null);return(0,r.useEffect)((function(){return p?(y.current?y.current.disconnect():y.current=new IntersectionObserver((function(t){var e;null!==(e=t[0])&&void 0!==e&&e.isIntersecting?(b(!0),i&&y.current&&y.current.disconnect()):g&&b(!1)}),{root:a,rootMargin:c,threshold:l}),y.current.observe(p),function(){y.current.disconnect()}):function(){}}),[p,e]),{isIntersecting:g,setObservable:m}}},9509:function(t,e,n){"use strict";function r(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r0?"?".concat(e.join("&")):"";return"".concat(t).concat(n)},u=function(){var t="https://stage.buzzfeed.com";return/^www\.buzzfeed(?:news)?\.com$/.test(window.location.hostname)&&(t="https://www.buzzfeed.com"),t},l=function(t){return/^([\w-]+(?:\.[\w-]+)*)(\+[\w]+)?@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i.test(t)}},32561:function(t,e,n){"use strict";var r=n(52322),i=(n(2784),n(3060)),o=n.n(i);e.Z=function(t){var e=t.jumpTo,n=void 0===e?"main-content":e,i=t.label,a=void 0===i?"Jump To Content":i,s=t.className,c=void 0===s?"":s,u=t.storiesView,l=void 0!==u&&u;return(0,r.jsx)("a",{href:"#".concat(n),className:"".concat(o().skipnav," ").concat(c," ").concat(l?o().forceview:"").trim(),children:a})}},83343:function(t,e,n){"use strict";n.d(e,{Z:function(){return dt}});var r=n(94776),i=n.n(r),o=n(52322),a=n(2784),s=n(13980),c=n.n(s);function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function d(t){var e=t.viewBox,n=t.title,r=t.path,i=f(t,["viewBox","title","path"]);return(0,o.jsxs)("svg",l({xmlns:"http://www.w3.org/2000/svg",viewBox:e||"0 0 38 38"},i,{children:[(0,o.jsx)("title",{children:n}),(0,o.jsx)("path",{d:r})]}))}function h(t){return(0,o.jsx)(d,l({},t))}function p(t){if(!t.contentFill)return(0,o.jsx)(d,l({},t));var e=t.viewBox,n=t.title,r=t.path,i=t.contentFill,a=f(t,["viewBox","title","path","contentFill"]);return(0,o.jsxs)("svg",l({xmlns:"http://www.w3.org/2000/svg",viewBox:e||"0 0 38 38"},a,{children:[(0,o.jsx)("title",{children:n}),(0,o.jsx)("circle",{cx:"50%",cy:"50%",r:"35%",fill:i}),(0,o.jsx)("path",{d:r})]}))}var m=function(t){return h(l({title:"Caret Down",path:"M19 29.3L2.6 12.9c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0L19 23.7l13.6-13.6c.8-.8 2-.8 2.8 0 .8.8.8 2 0 2.8L19 29.3z"},t))},v=function(t){return h(l({title:"Caret Up",path:"M34 28.5c-.5 0-1-.2-1.4-.6L19 14.3 5.4 27.9c-.8.8-2 .8-2.8 0-.8-.8-.8-2 0-2.8L19 8.7l16.4 16.4c.8.8.8 2 0 2.8-.4.4-.9.6-1.4.6z"},t))},g=function(t){return p(l({title:"Circle Check",path:"M19 0C8.5 0 0 8.5 0 19s8.5 19 19 19 19-8.5 19-19S29.5 0 19 0zm0 24.8c-1.6 1.6-4.2 1.6-5.8 0l-5.4-5.4 2.9-2.9 5.4 5.4 11-11 2.9 2.9-11 11z"},t))},b=function(t){return p(l({title:"Circle Exclamation",path:"M19 0C8.5 0 0 8.5 0 19s8.5 19 19 19 19-8.5 19-19S29.5 0 19 0zm-2 7h4v14h-4V7zm2 24c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"},t))},y=function(t){return h(l({title:"Pencil",path:"M35.5 2.5c-3.3-3.3-8.8-3.3-12.1 0L1.7 24.2c-.4.4-.6.8-.7 1.3L0 38l12.5-1.1c.5 0 1-.3 1.3-.6l21.7-21.7c3.3-3.3 3.3-8.7 0-12.1zm-7.1 7.1c2.1 2.1 2.1 5.6 0 7.7l-12 12c-.2-1.9-1-3.8-2.4-5.3-1.5-1.5-3.3-2.2-5.3-2.4l12-12c2-2 5.6-2 7.7 0zM8.6 29.5c-1.2-1.2-3-1.4-4.6-.8l.2-2.5c2.1-2 5.5-2 7.6.1 2.1 2.1 2.1 5.4.1 7.6l-2.6.1c.7-1.5.5-3.3-.7-4.5zm24.7-17.1l-.3.3c-.2-1.9-1-3.8-2.4-5.3C29.2 6 27.3 5.2 25.3 5l.2-.2c2.1-2.1 5.6-2.1 7.7 0 2.2 2.1 2.2 5.5.1 7.6z"},t))},w=function(t){return h(l({title:"X",path:"M30.3 10.5l-2.8-2.8-8.5 8.5-8.5-8.5-2.8 2.8 8.5 8.5-8.5 8.5 2.8 2.8 8.5-8.5 8.5 8.5 2.8-2.8-8.5-8.5z"},t))},E=function(t){return(0,o.jsxs)("svg",l({viewBox:"0 0 34 41",xmlns:"http://www.w3.org/2000/svg"},t,{children:[(0,o.jsx)("rect",{width:"34",height:"40",transform:"translate(0 0.0546875)",fill:"white"}),(0,o.jsx)("path",{d:"M0.5 39.5547V19.3557L17 10.6204L33.5 19.3557V39.5547H0.5Z",fill:"#FBF6EC",stroke:"black"}),(0,o.jsx)("path",{d:"M31 14.0547H3V19.9999L17 25.0547L31 19.9999V14.0547Z",fill:"white",stroke:"black"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.12019 4.46624C1.34748 4.23894 1.71599 4.23894 1.94329 4.46624L6.05877 8.58171C6.28606 8.80901 6.28606 9.17752 6.05877 9.40481C5.83147 9.6321 5.46296 9.6321 5.23567 9.40481L1.12019 5.28933C0.892899 5.06204 0.892899 4.69353 1.12019 4.46624Z",fill:"black"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.7012 4.64314C32.9285 4.87043 32.9285 5.23894 32.7012 5.46624L28.5858 9.58171C28.3585 9.80901 27.99 9.80901 27.7627 9.58171C27.5354 9.35442 27.5354 8.98591 27.7627 8.75862L31.8781 4.64314C32.1054 4.41585 32.474 4.41585 32.7012 4.64314Z",fill:"black"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.0034 0.0546875C17.3249 0.0546875 17.5854 0.315265 17.5854 0.636704L17.5854 6.45687C17.5854 6.77831 17.3249 7.03889 17.0034 7.03889C16.682 7.03889 16.4214 6.77831 16.4214 6.45687L16.4214 0.636704C16.4214 0.315265 16.682 0.0546875 17.0034 0.0546875Z",fill:"black"})]}))};function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var k=function(t){var e=t.color,n=void 0===e?"black":e,r=S(t,["color"]);return(0,o.jsx)("svg",A({width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M20.9076 11.8393L11.352 19.677C11.2131 19.7973 11.1334 19.972 11.1334 20.1558V24.3019C11.1334 24.9108 11.6384 25.49 12.4008 24.9355L13.6559 24.0274M15.5688 21.1337L21.3658 25.1923C21.7379 25.4528 22.2551 25.2487 22.3491 24.8043L26.119 6.97466C26.2187 6.50321 25.7765 6.09743 25.3153 6.23718L4.80261 12.4531C4.2922 12.6078 4.18954 13.2854 4.63123 13.5843L9.23246 16.6983",stroke:n,"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})}))},C=function(t){var e=t.color,n=void 0===e?"black":e,r=S(t,["color"]);return(0,o.jsx)("svg",A({width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},r,{children:(0,o.jsx)("path",{d:"M11.934 16.1231C11.5928 15.6889 10.9641 15.6134 10.5299 15.9546C10.0956 16.2958 10.0201 16.9245 10.3614 17.3588L11.934 16.1231ZM14.3781 20.8523L13.5917 21.4702C13.7906 21.7232 14.0991 21.8651 14.4206 21.8514C14.7422 21.8377 15.0375 21.6701 15.2141 21.401L14.3781 20.8523ZM21.3812 12.0035C21.6842 11.5418 21.5555 10.9219 21.0938 10.6188C20.6321 10.3158 20.0121 10.4445 19.7091 10.9062L21.3812 12.0035ZM26 16C26 21.5228 21.5228 26 16 26V28C22.6274 28 28 22.6274 28 16H26ZM16 26C10.4772 26 6 21.5228 6 16H4C4 22.6274 9.37258 28 16 28V26ZM6 16C6 10.4772 10.4772 6 16 6V4C9.37258 4 4 9.37258 4 16H6ZM16 6C21.5228 6 26 10.4772 26 16H28C28 9.37258 22.6274 4 16 4V6ZM10.3614 17.3588L13.5917 21.4702L15.1644 20.2345L11.934 16.1231L10.3614 17.3588ZM15.2141 21.401L21.3812 12.0035L19.7091 10.9062L13.542 20.3037L15.2141 21.401Z",fill:n})}))},O=function(t){var e=t.color,n=void 0===e?"black":e,r=S(t,["color"]);return(0,o.jsxs)("svg",A({width:"28",height:"33",viewBox:"0 0 28 33",xmlns:"http://www.w3.org/2000/svg"},r,{children:[(0,o.jsx)("path",{d:"M0.5 32.5V16.501L13.6 9.56575L26.7 16.501V32.5H0.5Z",fill:"#FBF6EC",stroke:n}),(0,o.jsx)("path",{d:"M24.8 12.2H2.39999V16.9562L13.6 21L24.8 16.9562V12.2Z",fill:"white",stroke:n}),(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.895943 4.52925C1.07778 4.34742 1.37259 4.34742 1.55442 4.52925L4.8468 7.82163C5.02864 8.00347 5.02864 8.29828 4.8468 8.48011C4.66497 8.66194 4.37016 8.66194 4.18833 8.48011L0.895943 5.18773C0.71411 5.00589 0.71411 4.71108 0.895943 4.52925Z",fill:n,stroke:n,"stroke-width":"0.3","stroke-linecap":"round"}),(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.161 4.67076C26.3428 4.85259 26.3428 5.14741 26.161 5.32924L22.8686 8.62162C22.6868 8.80346 22.392 8.80345 22.2101 8.62162C22.0283 8.43979 22.0283 8.14498 22.2101 7.96314L25.5025 4.67076C25.6844 4.48893 25.9792 4.48893 26.161 4.67076Z",fill:n,stroke:n,"stroke-width":"0.3","stroke-linecap":"round"}),(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.6027 1C13.8599 1 14.0684 1.20846 14.0684 1.46561L14.0684 6.12175C14.0684 6.3789 13.8599 6.58736 13.6027 6.58736C13.3456 6.58736 13.1371 6.3789 13.1371 6.12175L13.1371 1.46561C13.1371 1.20846 13.3456 1 13.6027 1Z",fill:n,stroke:n,"stroke-width":"0.3","stroke-linecap":"round"})]}))},_=n(44398),T=n.n(_),L=function(t){var e=t.subscriptionId,n=t.subscriptionValue,r=t.inputType,i=void 0===r?"checkbox":r,a=t.handleChange,s=void 0===a?function(){}:a;return(0,o.jsx)("input",{id:"toggle-".concat(e),type:i,checked:n,onChange:s})};L.propTypes={subscriptionId:c().string.isRequired,subscriptionStatus:c().array,inputType:c().string,handleChange:c().func};var P=function(t){var e=t.subscriptions,n=t.toggleTempSubscription,r=t.subscriptionStatus;return e.map((function(t){var e;return(0,o.jsx)("div",{className:T().subscriptionContent,children:(0,o.jsxs)("label",{className:T().customCheckbox,children:[(0,o.jsx)(L,{subscriptionId:t.subscriptionId,subscriptionValue:null===(e=r.find((function(e){return e.id===t.subscriptionId})))||void 0===e?void 0:e.tempSubscribed,inputType:"checkbox",handleChange:function(){return n(t.subscriptionId)}}),(0,o.jsx)("span",{className:T().checkmark}),(0,o.jsxs)("div",{className:T().content,children:[(0,o.jsx)("h5",{children:t.title}),(0,o.jsx)("p",{className:T().subscriptionText,children:t.description})]})]})},t.subscriptionId)}))};P.propTypes={subscriptionStatus:c().array,subscriptions:c().arrayOf(c().shape({subscriptionId:c().string.isRequired,title:c().string.isRequired,description:c().string.isRequired,isSubscribed:c().bool})),toggleTempSubscription:c().func};var j=n(26528),I=n.n(j);function R(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{"Content-Type":"application/json"},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return e.method&&"GET"===e.method||t.includes("/store-an-image")||(n["X-XSRFToken"]=R("_xsrf")),I()(t,M({},e,{credentials:"same-origin",headers:n})).then((function(t){return 200<=t.status&&t.status<400?r?t.json():t:t.json().then((function(t){throw t}))})).then((function(t){return t}))};function D(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function Z(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){D(o,r,i,a,s,"next",t)}function s(t){D(o,r,i,a,s,"throw",t)}a(void 0)}))}}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.once,r=void 0!==n&&n,i=t.root,o=void 0===i?null:i,s=t.rootMargin,c=void 0===s?"0px":s,u=t.threshold,l=void 0===u?0:u,f=t.defaultValue,d=void 0!==f&&f,h=(0,a.useState)(null),p=h[0],m=h[1],v=(0,a.useState)(d),g=v[0],b=v[1],y=(0,a.useRef)(null);return(0,a.useEffect)((function(){return p?(y.current?y.current.disconnect():y.current=new IntersectionObserver((function(t){var e;(null===(e=t[0])||void 0===e?void 0:e.isIntersecting)?(b(!0),r&&y.current&&y.current.disconnect()):g&&b(!1)}),{root:o,rootMargin:c,threshold:l}),y.current.observe(p),function(){y.current.disconnect()}):function(){}}),[p,e]),{isIntersecting:g,setObservable:m}}(function(t){for(var e=1;eSet up your free account to engage with the community, create your own content and get a more personalized feed."}}),(0,o.jsx)("a",{className:tt().button,onClick:function(t){t.preventDefault(),a&&"function"===typeof a.internalLink&&a.internalLink(function(t){for(var e=1;e3&&void 0!==arguments[3]&&arguments[3];F(!1),r?Tt({icon:(0,o.jsx)(b,{className:H()(T().icon,T().toastIcon,T().toastErrorIcon)}),message:ct,className:T().toastError}):(A&&"function"===typeof A.contentAction&&A.contentAction(at({},A.commonTrackingData,{subunit_type:"component",subunit_name:"newsletter_".concat(Et),item_type:"submission",item_name:"email",action_type:"signup",action_value:n.join(",")})),Dt(e),t&&(h?(z(!1),Tt({icon:(0,o.jsx)(g,{className:H()(T().icon,T().toastIcon,T().toastSuccessIcon)}),message:ut})):et("subscribedConfirmation")))},Bt=(0,a.useRef)(null);(0,a.useEffect)((function(){if(_)if(h){var t,e,n=null===(t=f[0])||void 0===t?void 0:t.subscriptionId,r=(null===(e=jt.find((function(t){return t.id===n})))||void 0===e?void 0:e.tempSubscribed)||!1;bt(r)}else{var i;bt(null===(i=f[0])||void 0===i?void 0:i.isSubscribed)}}),[jt]),(0,a.useEffect)((function(){h&&Rt(Dt)}),[h]),(0,a.useEffect)((function(){var t,e=function(t){!Bt.current||Bt.current.contains(t.target)||wt.current.contains(t.target)||z(!1)};R&&(null===(t=Bt.current)||void 0===t||t.focus(),document.addEventListener("mousedown",e));return function(){document.removeEventListener("mousedown",e)}}),[R]);var $t=function(t){return lt.test(t)},Wt=function(t){var e=t.target.value;Nt(e);var n=$t(e);dt(n),!0===pt&&n&&mt(!1)},Vt=function(){B(!0)},Ht=function(){B(!1)},Ut=function(){var t,e=(t=i().mark((function t(e){var n;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.preventDefault(),!h&&["emailInput","subscriptionItem"].includes(tt)&&A&&"function"===typeof A.contentAction&&A.contentAction(at({},A.commonTrackingData,{subunit_type:"component",subunit_name:"newsletter_".concat(Et),item_type:"button",item_name:"next",action_type:"submit",action_value:"add_email"})),"subscriptionItem"===tt&&h&&It(null===(n=f[0])||void 0===n?void 0:n.subscriptionId),"emailInput"!==tt){t.next=7;break}et("subscriptionList"),t.next=11;break;case 7:return F(!0),t.next=10,yt.current.executeAsync();case 10:yt.current.reset();case 11:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){it(o,r,i,a,s,"next",t)}function s(t){it(o,r,i,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),Ft=function(t){zt(t,Zt)},Gt=function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("label",{htmlFor:"email",children:"Email Address"}),(0,o.jsxs)("div",{className:T().signUpInputContainer,children:[(0,o.jsx)("input",{className:H()(T().signUpInput,ot({},T().signUpInputError,pt)),type:"text",name:"email","aria-label":"Email address",value:Mt,onChange:Wt,onBlur:function(t){return mt(!$t(t.target.value))}}),ft&&(0,o.jsx)(g,{className:T().successIcon}),pt&&(0,o.jsx)(b,{className:T().errorIcon})]}),pt&&(0,o.jsx)("span",{className:T().errorMessage,children:"Please enter a valid email address."})]})};return(0,o.jsxs)("div",{className:T().emailSubscription,ref:function(t){return xt(t)},children:[(0,o.jsx)(Y,at({},Ot,{showToast:St,onClose:function(){return kt(!1)}})),(0,o.jsxs)("button",{ref:wt,className:T().subscribeButton,onClick:function(){A&&"function"===typeof A.contentAction&&A.contentAction(at({},A.commonTrackingData,{item_type:"button",item_name:"subscribe_to_".concat(Et),action_type:R?"close":"open",action_value:"subscribe_to_".concat(Et)})),z((function(t){return t||et(j()),!t}))},"aria-expanded":R,"aria-controls":"expansionContent",children:[J?(0,o.jsx)(C,{className:T().newslettersIcon}):(0,o.jsx)(k,{className:T().newslettersIcon}),(0,o.jsxs)("span",{className:T().buttonText,children:[J?"Subscribed":"Subscribe"," ",!E&&(0,o.jsxs)("span",{className:T().topic,children:["to ",n," Newsletter"]})]}),R?(0,o.jsx)(v,{className:T().caretUpIcon}):(0,o.jsx)(m,{className:T().caretUpIcon})]}),R&&(0,o.jsxs)("div",{id:"expansionContent",className:T().expansionBox,tabIndex:"-1",ref:Bt,children:[(0,o.jsx)("button",{className:T().closeButton,onClick:function(){z(!1),A&&"function"===typeof A.contentAction&&A.contentAction(at({},A.commonTrackingData,{subunit_type:"component",subunit_name:"newsletter_".concat(Et),item_type:"button",item_name:"close_modal",action_type:"close",action_value:"subscribe_to_".concat(Et)}))},"aria-label":"Close subscription confirmation",children:(0,o.jsx)(w,{})}),"subscriptionItem"===tt&&(0,o.jsxs)("form",{onSubmit:Ut,children:[(0,o.jsx)(W.Z,{ref:yt,size:"invisible",sitekey:S,onChange:Ft}),(0,o.jsxs)("h4",{children:[n," Updates"]}),(0,o.jsx)("div",{className:T().newslettersIconWrapper,children:(0,o.jsx)(O,{})}),(0,o.jsx)("p",{children:h?s:u}),(0,o.jsx)(L,{subscriptionId:f[0].subscriptionId,subscriptionValue:!gt&&h||!0,inputType:"hidden"}),h?"":Gt(),(0,o.jsx)("button",{onMouseOver:Vt,onMouseOut:Ht,onFocus:Vt,onBlur:Ht,type:"submit",className:"".concat(T().button," ").concat(gt&&h&&!U?T().outline:""),onClick:Ut,disabled:U||!h&&!ft,children:U?(0,o.jsx)(q,{size:"1.2rem",color:"white",background:"#5246F5",margin:"0 auto"}):!gt&&h||!h?"Subscribe":D?"Unsubscribe":"Subscribed"}),(0,o.jsx)("p",{className:T().disclaimer,children:st})]}),"emailInput"===tt&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("h4",{children:[n," Updates"]}),(0,o.jsx)("div",{className:T().newslettersIconWrapper,children:(0,o.jsx)(O,{})}),(0,o.jsx)("p",{children:u}),Gt(),(0,o.jsx)("button",{type:"button",className:T().button,onClick:Ut,disabled:!ft,children:"Next"}),(0,o.jsx)("p",{className:T().disclaimer,children:st})]}),"subscriptionList"===tt&&(0,o.jsxs)("form",{onSubmit:Ut,children:[(0,o.jsx)(W.Z,{ref:yt,size:"invisible",sitekey:S,onChange:Ft}),(0,o.jsxs)("h4",{children:[n," Updates"]}),(0,o.jsx)("div",{className:T().newslettersIconWrapper,children:(0,o.jsx)(O,{})}),(0,o.jsx)("p",{children:s}),!h&&(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:T().emailDisplay,children:(0,o.jsxs)("p",{children:[(0,o.jsx)("b",{children:"Email Address"})," ",(0,o.jsx)("span",{children:Mt}),"\xa0",(0,o.jsx)(y,{onClick:function(){et("emailInput")},className:T().emailEditIcon})]})})}),(0,o.jsx)(P,{subscriptions:f,toggleTempSubscription:function(t){It(t)},subscriptionStatus:jt}),(0,o.jsx)("button",{type:"submit",disabled:U,className:T().button,children:U?(0,o.jsx)(q,{size:"1.2rem",color:"white",background:"#5246F5",margin:"0 auto"}):h?"Update":"Subscribe"})]}),"subscribedConfirmation"===tt&&(0,o.jsx)(rt,{email:Mt,topic:n,title:Lt?"You're subscribed!":"You have been subscribed!",track:at({},A,{commonTrackingData:at({},A.commonTrackingData,{subunit_type:"component",subunit_name:"newsletter_".concat(Et),item_type:"button",item_name:"create_account",target_content_type:"auth",target_content_id:"sign_in"})})})]})]})}ft.propTypes={topic:c().string,description:c().string,siteCaptchaKey:c().string.isRequired,subscriptions:c().arrayOf(c().shape({subscriptionId:c().string.isRequired,title:c().string.isRequired,description:c().string.isRequired,isSubscribed:c().bool})),isSignedIn:c().bool,hideTopic:c().bool,track:c().object};var dt=ft},98286:function(t,e,n){"use strict";n.d(e,{T:function(){return r},n:function(){return i}});var r=["\ud83d\udc4d","\u2764\ufe0f","\ud83d\ude02","\ud83d\ude2d","\ud83e\udd2f"],i=["\ud83d\ude21","\ud83d\ude44","\ud83d\ude2c"]},73502:function(t,e,n){"use strict";n.d(e,{J:function(){return d}});var r=n(94776),i=n.n(r),o=n(2784),a=n(73035),s=n(56792),c=o.createContext({}),u=(c.Provider,c);function l(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}var f=function(){var t,e=(t=i().mark((function t(e){var n,r,o,c,u,l,f,d,h,p,m;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.element,r=e.experiments,n){t.next=3;break}return t.abrupt("return");case 3:for(o=n.href,(null===(c=(0,s.NJ)(o))||void 0===c?void 0:c.tag)||(o=(0,s.mG)(o,{tag:"buzz0f-20"})),u={platform:(0,a.b5)(),origin:(0,a.P$)({origin:(0,a.wH)(n)}),experiment:(0,a.wp)(r),pubhubId:(0,a.hp)(),bioId:(0,a.pw)(),linkId:n.getAttribute("data-vars-link-id")||"0",module:"0",rank:"0"},l=!0,f=!1,d=void 0,t.prev=8,h=["origin","linkId"][Symbol.iterator]();!(l=(p=h.next()).done);l=!0)m=p.value,u[m]&&"0"!==u[m]||delete u[m];t.next=16;break;case 12:t.prev=12,t.t0=t.catch(8),f=!0,d=t.t0;case 16:t.prev=16,t.prev=17,l||null==h.return||h.return();case 19:if(t.prev=19,!f){t.next=22;break}throw d;case 22:return t.finish(19);case 23:return t.finish(16);case 24:o=(0,s.mL)(o,u),n.href=o+"%2C".concat((0,a.o6)()||"0");case 26:case"end":return t.stop()}}),t,null,[[8,12,16,24],[17,,19,23]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,s,"next",t)}function s(t){l(o,r,i,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function d(t){var e=t.buzz,n=void 0===e?{}:e,r=t.ABeagleContext,i=(0,o.useRef)(null),c=(0,o.useContext)(r||u).experiments;return(0,o.useEffect)((function(){var t=i.current;t&&t.querySelectorAll("a[href]").forEach((function(t){(0,a.Uz)(t)&&(0,s.D1)(t.href)&&f({element:t,buzz:n,experiments:c})}))}),[n.id,c.loaded]),i}},99151:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(94776),i=n.n(r),o=n(2784),a=n(56461),s=n(74337),c=n(80341),u=n(73035);function l(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function f(t){var e=(0,o.useState)(!1),n=e[0],r=e[1];(0,o.useEffect)((function(){if(!n){var t=(0,c.jH)(window.location.search);t&&"origin"in t&&t.origin.length&&s.Z.get("bf-origin")!==t.origin&&(0,u.d8)("bf-origin",t.origin);var e=function(){var t,e=(t=i().mark((function t(){var e;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(!0),t.next=3,(0,a.v)("https://cdn-magiclinks.trackonomics.net/client/static/v2/buzzfeed_ok567kgt88.js");case 3:(e=t.sent)&&(e.setAttribute("id","funnel-relay-installer"),e.setAttribute("data-property-id","PROPERTY_ID"),e.setAttribute("data-customer-id","buzzfeed_ok567kgt88"));case 5:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,s,"next",t)}function s(t){l(o,r,i,a,s,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();e()}}),[t,n])}},74967:function(t,e,n){"use strict";n.d(e,{WZ:function(){return o},ts:function(){return f},F7:function(){return d}});n(94776),n(74337);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{declared:{},eligible:{},returned:{},loaded:!1},e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i({},a,n),u=r.rejectErrors,f=r.defaultVariantIfUnbucketed,d=new URLSearchParams(window.location.search);if(d&&d.has("abeagle_".concat(e))&&d.has(o))return d.get("abeagle_".concat(e));if(!t.loaded)return null;if(!t.declared[e])return l({errorType:c.notFound,experimentName:e,rejectErrors:u});if(!t.eligible[e])return l({errorType:c.notEligible,experimentName:e,rejectErrors:u});if(!t.returned[e])return l({errorType:c.missing,experimentName:e,rejectErrors:u});if(t.returned[e].error)return l({errorType:c.error,experimentName:e,rejectErrors:u,serverError:t.returned[e].error});var h=t.returned[e];return h.value===s&&f!==s?f:h.value}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"on";if(!t.loaded)return null;var r=f(t,e,{rejectErrors:!1});return r===n}},73035:function(t,e,n){"use strict";n.d(e,{wH:function(){return s},Uz:function(){return c},wp:function(){return u},o6:function(){return l},P$:function(){return f},b5:function(){return d},hp:function(){return h},pw:function(){return p},d8:function(){return m},nz:function(){return v},B$:function(){return g}});var r=n(80341),i=n(77720),o=n(44823),a=n(74337),s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=window.location.search,n=(0,r.jH)(e),i=null===n||void 0===n?void 0:n.origin;return i?i="bf-".concat(i):t&&(i=t.getAttribute("data-origin")),i},c=function(t){var e=t.hostname;return t.hasAttribute("data-affiliate")&&!(e===document.location.hostname||e.match(/buzzfeed\.(com|io)/))},u=function(t){var e="0:0";if(!t||!t.eligible||!t.loaded)return e;var n=Object.keys(t.eligible).filter((function(e){return t.declared[e].storeResponse&&t.eligible[e].variant_id})).map((function(e){return"".concat(t.eligible[e].id,":").concat(t.eligible[e].variant_id)}));return e=n.length?n.join(";"):"0:0"},l=function(){var t=document.referrer,e=(0,o.an)(),n="0";return e.length?n="tweet"===e?"twitter":e:t&&t.match(/buzzfeed.com/i)?n="bf":t&&(n=(n=t.match(/^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:/\n]+)/))&&n[1]&&n[1].length?n[1].slice(0,10):n),n.trim()},f=function(t){var e=window.location.search,n=(0,r.jH)(e),i="0";return t&&t.origin&&"undefined"!==typeof t.origin&&t.origin.length?i=t.origin:n&&"origin"in n&&n.origin.length?i="bf-"+n.origin:n&&"ref"in n&&n.ref.length&&(i=n.ref),i.trim()},d=function(){return(0,i.tq)()?"m":"d"},h=function(){var t,e=window.location.search;return null!==(t=(0,r.jH)(e).d_id)&&void 0!==t?t:"0"},p=function(){var t,e=window.location.search;return null!==(t=(0,r.jH)(e).p_id)&&void 0!==t?t:"0"},m=function(t,e){var n=a.Z.getBuzzfeedSubdomainOrWildcard(window.location.hostname),r=window.location.hostname.replace("www","");a.Z.remove(t,".".concat(r));var i=n==="www.".concat(r)?14:1;a.Z.set({name:t,value:e,days:i,domain:n})},v=function(t,e,n){if(t.find((function(t){return t.name===e&&t.storeResponse}))){var r=e+"_metadata",i=n;i=JSON.stringify(i),i=escape(i),a.Z.get(r)!==i&&m(r,i)}},g=function(t){return new RegExp("/review/product/|/gp/customer-reviews/|/gp/review/|/gp/pdp/profile/|/gp/profile/|/product-reviews/|/review/|/stores/").test(t)}},71520:function(t,e,n){"use strict";n.d(e,{k:function(){return i},Q:function(){return v}});var r=n(46173),i="1bf35e8b-3d55-48a6-aef8-0ebfdd277df7",o={playerId:"b24b5c64-2f42-400a-80bf-7708762dc97a",embedId:"fc6bc0cda64c49af9e587ef950704b74"},a={playerId:"1f825e54-5dd7-4e19-9955-7b320f2f0f19"},s={playerId:"189e60d0-1e16-4d52-8821-ad6719429b2f",embedId:"8b19976e6f4b49d5aa0117c551f165fb"},c={playerId:"82985001-4349-4a7b-8fd2-c428170789ce"},u={playerId:"2e1c3ee4-d08f-4289-b861-52e5451da708",embedId:"9000c242-5090-4c2f-9834-d6b5fb4b9a89"},l={playerId:"439c1003-7284-4ff8-bcf0-d5f9d34c3e43"},f={playerId:"23bdb39b-81e1-4a9b-84e8-f6e050016b8d",embedId:"d32a7c62199744beb3cb1a4c3999dead"},d={playerId:"fb632217-5657-4dd7-ad6c-41a889838e75"},h={playerId:"4b585a7a-a2da-448d-af46-69f58c1d9b84",embedId:"6001585a20a54d85b9f758983faeb75a"},p={playerId:"6c25b794-cc44-4f26-96d3-e208897fb694"},m={playerId:"d5d9a25e-6255-44f4-8af6-ad8eef9f23e7",embedId:"buzzfeed_us_quiz_top_sticky"};function v(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=["backfill","subbuzz"],v=["buzzfeed","buzzfeed_news"];if(i.includes(t)||console.error("Invalid arg (type): ".concat(t)),v.includes(e)||console.error("Invalid arg (destination): ".concat(e)),"buzzfeed_news"===e)return"backfill"===t?h:p;if(n)return m;var g=(0,r.pP)();return"JP"===g?"backfill"===t?s:c:"AU"===g||"NZ"===g?"backfill"===t?o:a:"GB"===g||"IE"===g?"backfill"===t?u:l:"backfill"===t?f:d}},73931:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]&&arguments[2];n&&(console.group("".concat(t," tracker event.")),console.log({data:e}),console.groupEnd())},s=6768151,c="65dfbb69-7cb1-4369-a536-cfabde03b7d4",u="3c873bb9-17eb-463a-9b8d-bdbbfdaf4524",l="5d79bce7-5d2b-427e-a6c4-b89b6c7bf048",f=n(21038),d=n(17111);function h(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,i)}function p(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n>t/4).toString(16)}))},e.config=o||{},e.config.apiKey=n,e.config.workspaceId=r,e.config.environment=e.config.environment||"production",(window.crypto||window.msCrypto)&&(e.config.viewId=a()),s=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],c=0;c-1,a=document.createElement("IMG");a.src="https://b0.yahoo.co.jp/b?"+e.join("&"),o&&(a.width=0,a.height=0,a.style.display="none",document.body.appendChild(a))}("bpage"===n?[{name:"_a",val:"570970"},{name:"_d",val:"0003"},{name:"url",val:document.URL||""},{name:"ref",val:document.referrer||""},{name:"UserAgent",val:navigator.userAgent},{name:"section",val:"Advertiser"===i("article:section")?"1":""},{name:"buzzid",val:i("bf:buzzid")},{name:"title",val:i("title")},{name:"description",val:i("description")},{name:"userid",val:i("bf:userid")},{name:"author",val:i("author")},{name:"_r",val:Math.floor(999999999*Math.random())}]:[])}))}},46336:function(t){t.exports={loadingSpinner:"loadingSpinner_loadingSpinner__TAUnz",load3:"loadingSpinner_load3__YIy9k"}},3060:function(t){t.exports={skipnav:"skipToContent_skipnav__4uv1j",forceview:"skipToContent_forceview__9jogj"}},15602:function(t){t.exports={content:"subscribeModalContent_content__bjSjh",hr:"subscribeModalContent_hr__OKqTQ",button:"subscribeModalContent_button__Xl0rD",openEnvelopeWrapper:"subscribeModalContent_openEnvelopeWrapper__8wob2"}},44398:function(t){t.exports={emailSubscription:"subscriptionButton_emailSubscription__tDniy",subscribeButton:"subscriptionButton_subscribeButton__0LKcO",errorIcon:"subscriptionButton_errorIcon__BiECZ",successIcon:"subscriptionButton_successIcon__ZMgSA",icon:"subscriptionButton_icon__E7cww",caretUpIcon:"subscriptionButton_caretUpIcon__r2JZb",emailEditIcon:"subscriptionButton_emailEditIcon__fmgS0",toastSuccessIcon:"subscriptionButton_toastSuccessIcon__2NkKo",toastIcon:"subscriptionButton_toastIcon__Tr4AA",toastErrorIcon:"subscriptionButton_toastErrorIcon__RGwRP",newslettersIcon:"subscriptionButton_newslettersIcon__e4V2r",subscribed:"subscriptionButton_subscribed__lODUA",swing:"subscriptionButton_swing__ZqbCY",emailDisplay:"subscriptionButton_emailDisplay__zVdWd",buttonText:"subscriptionButton_buttonText__ujsLG",topic:"subscriptionButton_topic__A_l1u",expansionBox:"subscriptionButton_expansionBox__RIzti",disclaimer:"subscriptionButton_disclaimer__Smo_9",signUpInputContainer:"subscriptionButton_signUpInputContainer__Kdor9",signUpInput:"subscriptionButton_signUpInput__Wk35Y",signUpInputError:"subscriptionButton_signUpInputError__fZX8b",subscriptionContent:"subscriptionButton_subscriptionContent__FbraA",subscriptionText:"subscriptionButton_subscriptionText__TjEc1",toggleLabel:"subscriptionButton_toggleLabel__Zi4lN",button:"subscriptionButton_button__aqUpr",outline:"subscriptionButton_outline__zfXFC",newslettersIconWrapper:"subscriptionButton_newslettersIconWrapper__7Dpka",closeButton:"subscriptionButton_closeButton__wMFe8",errorMessage:"subscriptionButton_errorMessage__dXyi7",customCheckbox:"subscriptionButton_customCheckbox__RjcCr",checkmark:"subscriptionButton_checkmark__Cpk5h",content:"subscriptionButton_content__uy7OL",toast:"subscriptionButton_toast__TOnZa",toastError:"subscriptionButton_toastError__qqtn4"}},85266:function(){},10513:function(){},62863:function(){},20738:function(){},36080:function(){},2354:function(){},90838:function(){},20108:function(){},63401:function(){},25237:function(t,e,n){t.exports=n(95805)},42158:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=n(2784),i=n(13980),o=n.n(i),a=n(73463),s=n.n(a);function c(){return c=Object.assign||function(t){for(var e=1;e-1&&n[r].parentNode&&n[r].parentNode.removeChild(n[r]);var i=u[t];i&&(delete i.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===e.removeOnUnmount&&delete u[t])},c.render=function(){var t=e.globalName,i=this.props,o=(i.asyncScriptOnLoad,i.forwardedRef),a=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}(i,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!==typeof window&&(a[t]="undefined"!==typeof window[t]?window[t]:void 0),a.ref=o,(0,r.createElement)(n,a)},s}(r.Component),f=(0,r.forwardRef)((function(t,e){return(0,r.createElement)(a,c({},t,{forwardedRef:e}))}));return f.displayName="AsyncScriptLoader("+i+")",f.propTypes={asyncScriptOnLoad:o().func},s()(f,n)}}},88641:function(t,e){var n;!function(r){var i={};i.EventTarget=function(){"use strict";function t(){this._handlers={}}return t.prototype={constructor:t,on:function(t,e){var n,r,i=this._handlers[t];for("undefined"===typeof i&&(i=this._handlers[t]=[]),n=0,r=i.length;n=0;i--)p(r[i],"destroy");p(n.instance,"destroy"),delete c[t.id]}else if(e.debug)return h(new Error("Unable to stop module associated with element: "+t.id)),this;return this},startAll:function(e){for(var n=i.DOM.queryAll(e,t),r=0,o=n.length;r ")+" -> "+t)),null;o.push(t),e.instance=e.creator(f),o.pop()}return e.instance}return h(new Error('Service "'+t+'" not found')),null},hasService:function(t){return a.hasOwnProperty(t)},addBehavior:function(t,e){return"undefined"!==typeof s[t]?(h(new Error("Behavior "+t+" has already been added.")),this):(s[t]={creator:e,instance:null},this)},broadcast:function(t,e){var n,r,i,o;for(r in c)if(c.hasOwnProperty(r))for(b((i=c[r]).instance,t,e),o=m(i),n=0;n