(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93],{39901:function(t,e,n){"use strict";n.d(e,{FW:function(){return N},f_:function(){return ht},R3:function(){return k},qO:function(){return S},f0:function(){return o},Lj:function(){return I},Vn:function(){return V},gb:function(){return it},q2:function(){return b},YC:function(){return st},nu:function(){return p},vp:function(){return ft},RM:function(){return P},og:function(){return E},bG:function(){return j},cS:function(){return _},Jv:function(){return y},VO:function(){return g},u2:function(){return m},gC:function(){return ut},Lo:function(){return ct},dv:function(){return rt},S1:function(){return pt},$T:function(){return x},sB:function(){return s},oL:function(){return L},ye:function(){return lt},ZT:function(){return i},H3:function(){return F},j7:function(){return u},N8:function(){return l},UF:function(){return z},rT:function(){return Z},Dh:function(){return O},Jn:function(){return d},bi:function(){return C},fL:function(){return T},VH:function(){return B},Ui:function(){return ot},et:function(){return at},km:function(){return v},G_:function(){return $}});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 c(){return Object.create(null)}function u(t){t.forEach(a)}function s(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 p(t,e,n,r){if(t){const i=h(t,e,n,r);return t[0](i)}}function h(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=C(e.nodeName):this.e=j(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=D;U(t);const d=t.$$={fragment:null,ctx:[],props:a,update:i,not_equal:o,bound:c(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(f?f.$$.context:[])),callbacks:c(),dirty:l,skip_bound:!1,root:e.target||f.$$.root};s&&s(d.root);let p=!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),p&&dt(t,e)),n})):[],d.update(),p=!0,u(d.before_update),d.fragment=!!r&&r(d.ctx),e.target){if(e.hydrate){const t=M(e.target);d.fragment&&d.fragment.l(t),t.forEach(E)}else d.fragment&&d.fragment.c();e.intro&&ot(t.$$.fragment),lt(t,e.target,e.anchor,e.customElement),K()}U(f)}let ht=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(!s(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)}}])}()},42719:function(t,e){"use strict";e.Z=function(){for(var t=[],e=0;e=0?s(l):i(this.length)-s(u(l));e=55296&&y<=56319&&(k+=t[++n]),k=S?d.call(S,x,k,m):k,e?(p.value=k,h(v,m,p)):v[m]=k,++m;g=m}if(void 0===g)for(g=a(t.length),e&&(v=new e(g)),n=0;n0?1:-1}},31382:function(t,e,n){"use strict";t.exports=n(23919)()?Number.isNaN:n(88968)},23919:function(t){"use strict";t.exports=function(){var t=Number.isNaN;return"function"===typeof t&&(!t({})&&t(NaN)&&!t(34))}},88968:function(t){"use strict";t.exports=function(t){return t!==t}},66329:function(t,e,n){"use strict";var r=n(66545),i=Math.abs,o=Math.floor;t.exports=function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?r(t)*o(i(t)):t}},23701:function(t,e,n){"use strict";var r=n(66329),i=Math.max;t.exports=function(t){return i(0,r(t))}},83507:function(t,e,n){"use strict";var r=n(82678),i=n(32977),o=Function.prototype.bind,a=Function.prototype.call,c=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(t,e){return function(n,s){var l,f=arguments[2],d=arguments[3];return n=Object(i(n)),r(s),l=c(n),d&&l.sort("function"===typeof d?o.call(d,n):void 0),"function"!==typeof t&&(t=l[t]),a.call(t,l,(function(t,r){return u.call(n,t)?a.call(s,f,n[t],t,n,r):e}))}}},24185:function(t,e,n){"use strict";t.exports=n(98041)()?Object.assign:n(42250)},98041:function(t){"use strict";t.exports=function(){var t,e=Object.assign;return"function"===typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},42250:function(t,e,n){"use strict";var r=n(98809),i=n(32977),o=Math.max;t.exports=function(t,e){var n,a,c,u=o(arguments.length,2);for(t=Object(i(t)),c=function(r){try{t[r]=e[r]}catch(i){n||(n=i)}},a=1;a"}}},64623:function(t,e,n){"use strict";t.exports=n(50785)()?String.prototype.contains:n(77062)},50785:function(t){"use strict";var e="razdwatrzy";t.exports=function(){return"function"===typeof e.contains&&(!0===e.contains("dwa")&&!1===e.contains("foo"))}},77062:function(t){"use strict";var e=String.prototype.indexOf;t.exports=function(t){return e.call(this,t,arguments[1])>-1}},13774:function(t){"use strict";var e=Object.prototype.toString,n=e.call("");t.exports=function(t){return"string"===typeof t||t&&"object"===typeof t&&(t instanceof String||e.call(t)===n)||!1}},98797:function(t,e,n){"use strict";var r=n(40528),i=/[\n\r\u2028\u2029]/g;t.exports=function(t){var e=r(t);return e.length>100&&(e=e.slice(0,99)+"\u2026"),e=e.replace(i,(function(t){return JSON.stringify(t).slice(1,-1)}))}},29724:function(t,e,n){"use strict";t.exports=n(3031)()?n(6898).Symbol:n(52086)},3031:function(t,e,n){"use strict";var r=n(6898),i={object:!0,symbol:!0};t.exports=function(){var t,e=r.Symbol;if("function"!==typeof e)return!1;t=e("test symbol");try{String(t)}catch(n){return!1}return!!i[typeof e.iterator]&&(!!i[typeof e.toPrimitive]&&!!i[typeof e.toStringTag])}},28841:function(t){"use strict";t.exports=function(t){return!!t&&("symbol"===typeof t||!!t.constructor&&("Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag]))}},30978:function(t,e,n){"use strict";var r=n(45214),i=Object.create,o=Object.defineProperty,a=Object.prototype,c=i(null);t.exports=function(t){for(var e,n,i=0;c[t+(i||"")];)++i;return c[t+=i||""]=!0,o(a,e="@@"+t,r.gs(null,(function(t){n||(n=!0,o(this,e,r(t)),n=!1)}))),e}},34997:function(t,e,n){"use strict";var r=n(45214),i=n(6898).Symbol;t.exports=function(t){return Object.defineProperties(t,{hasInstance:r("",i&&i.hasInstance||t("hasInstance")),isConcatSpreadable:r("",i&&i.isConcatSpreadable||t("isConcatSpreadable")),iterator:r("",i&&i.iterator||t("iterator")),match:r("",i&&i.match||t("match")),replace:r("",i&&i.replace||t("replace")),search:r("",i&&i.search||t("search")),species:r("",i&&i.species||t("species")),split:r("",i&&i.split||t("split")),toPrimitive:r("",i&&i.toPrimitive||t("toPrimitive")),toStringTag:r("",i&&i.toStringTag||t("toStringTag")),unscopables:r("",i&&i.unscopables||t("unscopables"))})}},63669:function(t,e,n){"use strict";var r=n(45214),i=n(19673),o=Object.create(null);t.exports=function(t){return Object.defineProperties(t,{for:r((function(e){return o[e]?o[e]:o[e]=t(String(e))})),keyFor:r((function(t){var e;for(e in i(t),o)if(o[e]===t)return e}))})}},52086:function(t,e,n){"use strict";var r,i,o,a=n(45214),c=n(19673),u=n(6898).Symbol,s=n(30978),l=n(34997),f=n(63669),d=Object.create,p=Object.defineProperties,h=Object.defineProperty;if("function"===typeof u)try{String(u()),o=!0}catch(m){}else u=null;i=function(t){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return r(t)},t.exports=r=function t(e){var n;if(this instanceof t)throw new TypeError("Symbol is not a constructor");return o?u(e):(n=d(i.prototype),e=void 0===e?"":String(e),p(n,{__description__:a("",e),__name__:a("",s(e))}))},l(r),f(r),p(i.prototype,{constructor:a(r),toString:a("",(function(){return this.__name__}))}),p(r.prototype,{toString:a((function(){return"Symbol ("+c(this).__description__+")"})),valueOf:a((function(){return c(this)}))}),h(r.prototype,r.toPrimitive,a("",(function(){var t=c(this);return"symbol"===typeof t?t:t.toString()}))),h(r.prototype,r.toStringTag,a("c","Symbol")),h(i.prototype,r.toStringTag,a("c",r.prototype[r.toStringTag])),h(i.prototype,r.toPrimitive,a("c",r.prototype[r.toPrimitive]))},19673:function(t,e,n){"use strict";var r=n(28841);t.exports=function(t){if(!r(t))throw new TypeError(t+" is not a symbol");return t}},47545:function(t,e,n){"use strict";var r,i,o,a,c,u,s,l=n(45214),f=n(82678),d=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};i=function(t,e){var n,i;return f(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),d.call(e,this,arguments)}),n.__eeOnceListener__=e,this},a=function(t){var e,n,r,i,o;if(g.call(this,"__ee__")&&(i=this.__ee__[t]))if("object"===typeof i){for(n=arguments.length,o=new Array(n-1),e=1;e":7,"=":8,_v:9,"{":10,"&":11,_t:12},t.scan=function(n,r){var i=n.length,o=0,a=null,c=null,f="",d=[],p=!1,h=0,m=0,v="{{",g="}}";function y(){f.length>0&&(d.push({tag:"_t",text:new String(f)}),f="")}function b(n,r){if(y(),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"});p=!1,m=d.length}function w(t,e){var n="="+g,r=t.indexOf(n,e),i=s(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]),h=0;h0;){if(u=e.shift(),o&&"<"==o.tag&&!(u.tag in f))throw new Error("Illegal content in < super tag.");if(t.tags[u.tag]<=t.tags.$||p(u,i))r.push(u),u.nodes=d(e,u.tag,r,i);else{if("/"==u.tag){if(0===r.length)throw new Error("Closing tag without opener: /"+u.n);if(c=r.pop(),u.n!=c.n&&!h(u.n,c.n,i))throw new Error("Nesting error: "+c.n+" vs. "+u.n);return c.end=u.i,a}"\n"==u.tag&&(u.last=0==e.length||"\n"==e[0].tag)}a.push(u)}if(r.length>0)throw new Error("missing closing tag: "+r.pop().n);return a}function p(t,e){for(var n=0,r=e.length;n":b,"<":function(e,n){var r={partials:{},code:"",subs:{},inPartial:!0};t.walk(e.nodes,r);var i=n.partials[b(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+=A('"\\n"'+(t.last?"":" + i"))},_v:function(t,e){e.code+="t.b(t.v(t."+y(t.n)+'("'+g(t.n)+'",c,p,0)));'},_t:function(t,e){e.code+=A('"'+g(t.text)+'"')},"{":w,"&":w},t.walk=function(e,n){for(var r,i=0,o=e.length;i=0;u--)if(void 0!==(o=e(t,n[u],c))){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(u(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 c,u=e[e.length-1],s=t.call(u);return"function"==typeof s?!!r||(c=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(s,u,n,c.substring(i,o),a)):s},mv:function(t,e,n){var r=e[e.length-1],i=t.call(r);return"function"==typeof i?this.ct(u(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,c=/[&<>\"\']/;function u(t){return String(null===t||void 0===t?"":t)}var s=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}}(e)},99320:function(t){function e(t){return!!t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof t.then}t.exports=e,t.exports.default=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,c,u=e.prefix||"__jp",s=e.name||u+i++,l=e.param||"callback",f=null!=e.timeout?e.timeout:6e4,d=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;f&&(c=setTimeout((function(){h(),n&&n(new Error("Timeout"))}),f));function h(){a.parentNode&&a.parentNode.removeChild(a),window[s]=o,c&&clearTimeout(c)}return window[s]=function(t){r("jsonp got",t),h(),n&&n(null,t)},t=(t+=(~t.indexOf("?")?"&":"?")+l+"="+d(s)).replace("?&","?"),r('jsonp req "%s"',t),(a=document.createElement("script")).src=t,p.parentNode.insertBefore(a,p),function(){window[s]&&h()}};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),c=0;c0)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 c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*o;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(t);if("number"===s&&!1===isNaN(t))return c.long?a(u=t,i,"day")||a(u,r,"hour")||a(u,n,"minute")||a(u,e,"second")||u+" 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,c=arguments,u=n&&!r;return o(),i=function(){t.apply(a,c)},r=setTimeout((function(){if(r=null,!u){var t=i;return i=null,t()}}),e),u?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},24027:function(t,e,n){"use strict";n.d(e,{$w:function(){return r},PA:function(){return a},qH:function(){return u},_x:function(){return s},U2:function(){return h},IP:function(){return f},XW:function(){return l}});function r(t,e,n){return e=f(e),function(t,e){if(e&&("object"===typeof e||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,i()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function i(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!t})()}function o(t){var e,n=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==("undefined"===typeof n?"undefined":(e=n)&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)?n:n+""}function a(t,e){if(n=t,!(null!=(r=e)&&"undefined"!==typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](n):n instanceof r))throw new TypeError("Cannot call a class as a function");var n,r}function c(t,e){for(var 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&&void 0!==arguments[0]?arguments[0]:{},e=t.force,n=void 0!==e&&e,r=t.stickMod,i=void 0===r?0:r,o=t.unstickMod,a=void 0===o?0:o;if(this.canStick){var c=this.getPosition().inViewport,u=window.scrollY,s=u-this.pageScrollPosition>=10,l=this.pageScrollPosition-u>=10,f=!1;(s&&this.stickyConfig.directions.includes("down")||l&&this.stickyConfig.directions.includes("up"))&&(f=!0),(!this.isFixed||n)&&c=this.fixAt+a?this.unstick():!this.isFixed&&!n||f||!l&&!s||this.unstick(),this.pageScrollPosition=u}}},{key:"adjustFixedPosition",value:function(t){if(!(t.priority0&&void 0!==arguments[0]?arguments[0]:{}).breakpoint;if(this.stickyConfig.breakpoints.indexOf("ALL")>-1?t=!0:(e||(e=i.Z.getBreakPoint()),t=this.stickyConfig.breakpoints.indexOf(e)>-1),t){var n=this;this.canStick=!0,this.fixAt=this.context.stickyRegistry.getAvailableTop(this.element,this.stickyRegistryOpts),this.scrollListenerId=b({throttleTimeout:150,callback:function(){return n.manageSticky()}})}else this.canStick=!1,w(this.scrollListenerId),this.unstick()}},{key:"getPosition",value:function(){var t=(this.isFixed?this.filler:this.element).getBoundingClientRect().top;return{inViewport:t,inDocument:t+window.pageYOffset}}},{key:"setPosition",value:function(t){if("translate"===this.stickyConfig.positionMode){var e="translateY(".concat(t,"px)");this.element.style.WebkitTransform=e,this.element.style.transform=e}else this.element.style.top="".concat(t,"px")}},{key:"toggleFiller",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"stick";"stick"===t&&this.filler?this.filler.classList.remove("xs-hide"):"unstick"===t&&this.filler&&this.filler.classList.add("xs-hide")}},{key:"stick",value:function(){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)}},{key:"unstick",value:function(){this.isFixed=!1,this.toggleFiller("unstick"),this.element.classList.remove("xs-fixed","sticky--fixed"),this.setPosition(0),this.context.stickyRegistry.remove(this.element)}},{key:"destroy",value:function(){this.unstick(),this.context.stickyRegistry.remove(this.element),this.context.stickyRegistry.unsubscribe(this._adjustFixedPositionBound),w(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}}],n&&k(e.prototype,n),r&&k(e,r),t}()),C=n(11608),T=n(93802),O=n(39901),_=n(17480),L=n(93468);function I(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,T.Z)({template:B,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.U2)((0,r.IP)(e.prototype),"setup",this).call(this)}},{key:"initSticky",value:function(){(0,r.U2)((0,r.IP)(e.prototype),"initSticky",this).apply(this,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.U2)((0,r.IP)(e.prototype),"getPosition",this).call(this);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.U2)((0,r.IP)(e.prototype),"manageSticky",this).call(this,{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.U2)((0,r.IP)(e.prototype),"stick",this).apply(this,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.U2)((0,r.IP)(e.prototype),"unstick",this).apply(this,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"),G.detectTransitionEnd(this.element,{properties:["any"]}).then((function(){t.context.stickyRegistry.add(t.element,t.stickyRegistryOpts)})),this.context.env.isBFN&&G.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"),G.detectTransitionEnd(this.element,{properties:["any"]}).then((function(){t.context.stickyRegistry.remove(t.element)})),this.element.classList.add("sticky--hide"))}},{key:"destroy",value:function(){j.prototype.destroy.call(this),(0,r.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}}])}(W),X=function(t){function e(){var t,n,i,a;return(0,r.PA)(this,e),a=(0,r.$w)(this,e,arguments),(0,r._x)(a,"onStickyManagerEvent",(function(t){var e=t.shouldStick;return a.isSticky=!1,a.lifecycleState!==o.Sx.DESTROYED&&(a.isDismissed?(a.stickyElement.classList.remove("sticky"),!1):e?(a.isSticky=!0,a.stickyElement.classList.add("sticky"),a.stickyElement.classList.remove("sticky--dismissed"),a.context.stickyRegistry.add(a.stickyElement,a.stickyRegistryOpts),!0):(a.dismiss(),!1))})),(0,r._x)(a,"adjustTopPos",(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{priority:a.stickyRegistryOpts.priority}).priority;if(!(tt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0,h=s&&s.length>0;return(p||h)&&(!u&&s&&(u=s),i=u,r=(0,_.TV)(i,l||"")),t.$$set=function(t){"advertiserUrl"in t&&n(3,u=t.advertiserUrl),"clickThroughUrl"in t&&n(4,s=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,c=t.$$scope)},[f,d,r,u,s,l,c,a]}var it=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,O.S1)(n,t,rt,nt,O.N8,{advertiserUrl:3,clickThroughUrl:4,dfpClickTracker:5,target:0,linkClasses:1}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(O.f_);function ot(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,O.f0)((0,O.f0)({},e),(0,O.Jv)(t))),"context"in t&&n(5,a=t.context),"wid"in t&&n(0,c=t.wid),"stickyViewPixel"in t&&n(1,s=t.stickyViewPixel),"$$scope"in t&&n(7,o=t.$$scope)},e=(0,O.Jv)(e),[c,s,f,d,e,a,i,o]}var mt=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,O.S1)(n,t,ht,pt,O.N8,{context:5,wid:0,stickyViewPixel:1}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(O.f_);function vt(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-1;return a&&o&&c?(this.bfpFormatName=o,this.loadRenderKit(o,a).then((function(){return(0,r.U2)((0,r.IP)(e.prototype),"buildFormat",n).apply(n,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,s.TV)(r,e),t.target="_blank")}))}},{key:"destroy",value:function(){this.eventBus.trigger("ad-content-error:".concat(this.config.wid)),(0,r.U2)((0,r.IP)(e.prototype),"destroy",this).call(this),this.bfpInstance&&this.bfpInstance.destroy&&(this.bfpInstance.destroy(),delete this.bfpInstance)}}])}(a.Z);(0,r._x)(b,"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.U2)((0,r.IP)(e.prototype),"buildFormat",this).call(this)}},{key:"initBFP",value:function(){(0,r.U2)((0,r.IP)(e.prototype),"initBFP",this).call(this),this.eventBus.trigger("ad-tpl:".concat(this.config.wid),{type:c.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))}}])}(b.withMixins(u.B));(0,r._x)(w,"formatType","bfp_video")},50320:function(t,e,n){"use strict";n.d(e,{Z:function(){return St}});var r=n(24027),i=n(80150),o=n(83323),a=(n(37083),n(99404),n(58451),n(48705),n(63396)),c=(n(32249),n(84714),n(84030),n(85648)),u=(n(17807),n(20848)),s=n(17748),l=(n(70833),n(60736)),f=n(34686),d=(n(93557),n(11608),n(81383)),p=n(99945);function h(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?c:null,A=d.length>0?(0,x.TV)(d,m):null,k={assetCover:i,assetImage:o,brandName:u,ctaUrl:A,wid:b},S={adPos:r,brandAvatar:a,brandName:u,cardDescription:s,ctaText:p,ctaUrl:A,creativeId:l,disclosure:v,moreClasses:y,url:w,wid:b},E={creativeId:l,ctaBackground:f,ctaTextColor:h};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,c=t.brandLinkOut),"brandName"in t&&n(11,u=t.brandName),"cardDescription"in t&&n(6,s=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,p=t.ctaText),"ctaTextColor"in t&&n(16,h=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,y=t.moreClasses),"wid"in t&&n(20,b=t.wid)},[o,g,A,k,S,E,s,r,i,a,c,u,l,f,d,p,h,m,v,y,b]}var Q=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,A.S1)(n,t,X,Y,A.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)}(A.f_),J=n(60655);function K(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?c:null,g=f.length>0?(0,x.TV)(f,d):null,y={assetCover:i,assetImage:o,brandName:u,ctaUrl:g,wid:m},b={brandAvatar:a,brandName:u,disclosure:p,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,c=t.brandLinkOut),"brandName"in t&&n(13,u=t.brandName),"cardDescription"in t&&n(0,s=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,p=t.disclosure),"isMp4"in t&&n(4,h=t.isMp4),"wid"in t&&n(5,m=t.wid)},[s,r,o,l,h,m,v,g,y,b,i,a,c,u,f,d,p]}var st=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,A.S1)(n,t,ut,ct,A.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)}(A.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)?st:Q}},{key:"buildFormat",value:function(){(0,r.U2)((0,r.IP)(e.prototype),"buildFormat",this).call(this),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,b.nZ)(n)),t}}])}(w.Z);(0,r._x)(lt,"formatType","display_card");var ft=n(97498),dt=n(41871),pt=n(31675),ht=(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",c="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),u=!0},p:function(t,r){var o={};1&r&&(o.config=t[0]),n.$set(o),(!u||1&r&&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 s(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=[s,u],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 u=c(o,1)[0],s=e;(e=a(t))===s?f[e].p(t,u):((0,i.dv)(),(0,i.et)(f[s],1,1,(function(){f[s]=null})),(0,i.gb)(),(n=f[e])?n.p(t,u):(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 k}});var r=n(24027),i=(n(80150),n(83323)),o=(n(37083),n(99404),n(58451),n(48705),n(63396)),a=(n(32249),n(84714)),c=(n(84030),n(85648),n(17807),n(20848)),u=n(17748),s=(n(70833),n(60736),n(41871)),l=n(31675),f=n(33791),d=(n(186),n(39901)),p=n(17480),h=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",u="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),s=!0},p:function(t,r){var o=c(r,1)[0],a={};1&o&&(a.config=t[0]),n.$set(a),(!s||1&o&&u!==(u="BF_WIDGET_"+t[0].wid))&&(0,i.Lj)(e,"id",u)},i:function(t){s||((0,i.Ui)(n.$$.fragment,t),s=!0)},o:function(t){(0,i.et)(n.$$.fragment,t),s=!1},d:function(t){t&&(0,i.og)(e),(0,i.vp)(n)}}}function s(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,s,u,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);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 u=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,i.S1)(n,t,c,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),s=t[0].length>0&&g(t),l=[t[4]],f={},p=0;p0&&null!==t[2]?u?(u.p(t,o),6&o&&(0,i.Ui)(u,1)):((u=m(t)).c(),(0,i.Ui)(u,1),u.m(e,n)):u&&((0,i.dv)(),(0,i.et)(u,1,1,(function(){u=null})),(0,i.gb)()),t[0].length>0?s?s.p(t,o):((s=g(t)).c(),s.m(e,null)):s&&(s.d(1),s=null);var c=16&o?(0,i.Lo)(l,[(0,i.gC)(t[4])]):{};a.$set(c)},i:function(t){c||((0,i.Ui)(u),(0,i.Ui)(a.$$.fragment,t),c=!0)},o:function(t){(0,i.et)(u),(0,i.et)(a.$$.fragment,t),c=!1},d:function(t){t&&(0,i.og)(e),u&&u.d(),s&&s.d(),t&&(0,i.og)(r),t&&(0,i.og)(o),(0,i.vp)(a)}}}function b(t,e,n){var r=e.adPos,i=e.brandAvatar,o=e.brandLinkOut,a=e.brandName,c=e.cardDescription,u=e.creativeId,s=e.ctaText,l=e.ctaUrl,f=e.disclosure,d=e.wid,p={adPos:r,creativeId:u,ctaUrl:l},h={brandAvatar:i,brandLinkOut:o,brandName:a,disclosure:f,wid:d};return c=(c||"").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,c=t.cardDescription),"creativeId"in t&&n(9,u=t.creativeId),"ctaText"in t&&n(1,s=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)},[c,s,l,p,h,r,i,o,a,u,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,b,y,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(85648),o=(n(80150),n(83323),n(37083),n(99404),n(58451),n(48705),n(63396),n(32249)),a=(n(84714),n(84030),n(17807),n(186),n(70833),n(60736),n(39901)),c=n(32766),u=n(62751),s=n(17480);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?(0,s.TV)(u,o):null,h={creativeId:c,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:[s]},$$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=u(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(83323),n(83351)),o=(n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(85648),n(17807),n(186),n(70833),n(60736),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(83323),n(83351)),o=(n(99404),n(39901)),a=n(17480);function c(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 h}});var r=n(24027),i=n(60736),o=(n(80150),n(83323)),a=(n(37083),n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(85648),n(17807),n(20848)),c=n(17748),u=n(64544),s=(n(34686),n(93557),n(11608),n(70833),n(81383)),l=n(2282),f=n(82545),d=n(97498),p=n(41871),h=function(t){function e(){var t;return(0,r.PA)(this,e),(t=(0,r.$w)(this,e,arguments)).config.refreshOptions={infinite:!0},t.plugins.add(s.Z),t.plugins.add(l.Z),t.context.env.isBFO&&i.Z.isAny(["xs"])&&t.addFormat(d.Z.formatType,d.Z),t.addFormat(f.C.formatType,f.C),t.addFormat(f.f.formatType,f.f),t.context.env.isAdPost()&&t.addFormat(p.Z.formatType,p.Z),t.context.env.hasQuiz&&t.element.classList.add("ad-on-quiz"),"promo-inline1"!==t.config.adPos&&"promo-quiz-inline1"!==t.config.adPos||(t.noLazyRendering=!0),t}return(0,r.XW)(e,t),(0,r.qH)(e,[{key:"setupSizes",value:function(){(0,r.U2)((0,r.IP)(e.prototype),"setupSizes",this).call(this);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,c=e[Symbol.iterator]();!(r=(a=c.next()).done);r=!0){var u=a.value;u.addedNodes&&"script"===u.addedNodes[0].tagName.toLowerCase()&&u.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(s){i=!0,o=s}finally{try{r||null==c.return||c.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.U2)((0,r.IP)(e.prototype),"handleAdContentLoaded",this).apply(this,arguments),void this.handleAdSurveyContentLoaded();(0,r.U2)((0,r.IP)(e.prototype),"handleAdContentLoaded",this).apply(this,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.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}}])}(o.Z.withMixins(a.Z_,c.Q,u.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,c=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(u){c=!0,i=u}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return s(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 s(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,c.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,c.km)(r,n,t,t[4],e?(0,c.u2)(n,t[4],i,null):(0,c.VO)(t[4]),null)},i:function(t){e||((0,c.Ui)(r,t),e=!0)},o:function(t){(0,c.et)(r,t),e=!1},d:function(t){r&&r.d(t)}}}function p(t){for(var e,n,r=t[5].default,i=(0,c.nu)(r,t,t[4],null),o=[t[2]],a={},u=0;ut.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?(0,u.TV)(s,l):null,m={tag:"span",attributes:{class:"ad-story-video__title-cta"}},v=c.length>0?c:null,g={tag:"span",attributes:{class:"ad-disclosure-text"}},y={tag:"none",attributes:{}};return h&&(m.tag="a",m.attributes.href=h,m["data-bfa"]=i,m["data-bfa-position"]=r),v&&(g.attributes.id="ad-disclosure-mobile--".concat(f),y.tag="a",y.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,c=t.brandLinkOut),"ctaLinkOut"in t&&n(10,s=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,y,p,r,i,c,s,l,f]}var x=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,c.S1)(n,t,S,k,c.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)}(c.f_);function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&t[3]&&j(t);return{c:function(){n&&n.c(),e=(0,c.cS)()},m:function(t,r){n&&n.m(t,r),(0,c.$T)(t,e,r)},p:function(t,r){var i=P(r,1)[0];t[1].length>0&&t[3]?n?n.p(t,i):((n=j(t)).c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:c.ZT,o:c.ZT,d:function(t){n&&n.d(t),t&&(0,c.og)(e)}}}function T(t,e,n){var r=e.bfa,i=e.ctaLinkOut,o=e.ctaText,a=e.dfpClickTracker,c=e.adPos,s=i.length>0?(0,u.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,c=t.adPos)},[r,o,c,s,i,a]}var O=function(t){function e(t){var n;return(0,r.PA)(this,e),n=(0,r.$w)(this,e),(0,c.S1)(n,t,T,C,c.N8,{bfa:0,ctaLinkOut:4,ctaText:1,dfpClickTracker:5,adPos:2}),n}return(0,r.XW)(e,t),(0,r.qH)(e)}(c.f_);function _(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'),e.insertAdjacentHTML("afterend",'');var n=this.element.querySelector(".js-header"),r=this.element.querySelector(".js-footer");this.headerTemplate=this.templateRender(n,x),this.footerTemplate=this.templateRender(r,O),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:L({},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 c}});var r=n(24027),i=(n(80150),n(83323)),o=(n(37083),n(99404),n(58451),n(48705),n(63396),n(32249),n(84714),n(84030),n(85648),n(17807),n(20848)),a=(n(186),n(70833),n(60736),n(41871)),c=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 updated config ->"),t.refreshConfig)),t.refreshConfig.pages.forEach((function(e,n){t.pages[n]=y({},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.addListeners(e.wid)})),t.addListeners(a),t.onPublicEvent("post-message:creativeSnippet",t.handleSnippetMessage.bind(t)),(0,u.A)("info","lifecycle","SwapRefresh ".concat(a," : Pages:"),t.pages)}else t.destroy();(0,r.U2)((0,r.IP)(e.prototype),"setup",t).call(t)}))}catch(n){return Promise.reject(n)}}},{key:"isViewable",value:function(){return this.inViewPercent>=l.q$}},{key:"refreshAd",value:function(){try{var t=this,e=(-1===t.currentPage?t.config:t.pages[t.currentPage]).wid;return b(x((function(){if(t.isViewable())return x((function(){var n;if(null===(n=t.scrollFetchInfo)||void 0===n||!n.isFast){var r=t.currentPage;return t.currentPage=t.currentPage===t.pages.length-1?0:t.currentPage+1,(0,u.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"Page ".concat(t.currentPage+1,"/").concat(t.pages.length),t.debugInfo),function(t,e){var n=t();return n&&n.then?n.then(e):e(n)}((function(){if(!t.elements[t.currentPage]){var e={template:w[t.config.adType],props:{slot:t.pages[t.currentPage],isListItem:!1}},n=-1===r?t.element:t.elements[r];(0,p.Z)(y({},e,{target:n.parentElement,anchor:n.nextElementSibling}));var i=n.nextElementSibling;return t.elements[t.currentPage]=i,i.classList.add("ad--refreshable"),new("awareness"===(o=t.config.adType)?v.Z:"toolbar"===o?O:null)(y({},t.context,{config:t.pages[t.currentPage],element:i})).init(),function(t,e){if(!e)return t&&t.then?t.then(A):Promise.resolve()}(a.Z.renderWidget(y({},t.pages[t.currentPage])))}var o;a.Z.refreshWidget(t.pages[t.currentPage]),t.elements[t.currentPage].classList.remove("ad--collapse-vertical")}),(function(){t.eventBus.trigger("ad-refresh:".concat(e)),t.refreshCount++,(0,u.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"Refreshed!",t.debugInfo)}))}(0,u.A)("info","lifecycle","SwapRefresh ".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,e=this,n=-1===this.currentPage?this.config:this.pages[this.currentPage],r=n.wid;this.emptyCount++,(0,u.A)("info","lifecycle","SwapRefresh ".concat(r," : ad came up empty"),y({emptyCount:this.emptyCount},this.debugInfo)),this.eventBus.trigger("ad-refresh-reset:".concat(r)),this.timeout=setTimeout((t=function(){return a.Z.refreshWidget(n),e.timeout=null,b()},function(){for(var e=[],n=0;n=i&&(this.complete=!0,(0,u.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;if(0===this.currentPage&&this.elements.length!==this.pages.length)(0,u.A)("info","lifecycle","SwapRefresh ".concat(e," : removing ad"),this.config.wid),this.element.remove();else if(this.currentPage>=0){var n=0===this.currentPage?this.pages.length-1:this.currentPage-1;this.elements[n].classList.add("ad--collapse-vertical"),(0,u.A)("info","lifecycle","SwapRefresh ".concat(e," : hiding ad"),this.pages[n].wid)}t.isEmpty?((0,u.A)("info","lifecycle","SwapRefresh ".concat(e," : empty ad trying again"),this.debugInfo),this.isCurrentlyEmpty=!0,this.refreshEmptyAd()):this.context.element&&((0,u.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;this.inViewPercent=n,(0,u.A)("info","lifecycle","SwapRefresh ".concat(e," :"),"SlotVisibilityChanged",this.debugInfo),!this.timeout&&this.isViewable()&&this.impressionCount>this.refreshCount&&!this.isCurrentlyEmpty?((0,u.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&&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 b(e.creativeId,(function(o){"".concat(o)===i&&r===l.nC?((0,u.A)("info","lifecycle","SwapRefresh ".concat(n," -> Disabled by creative: ").concat(i),e.debugInfo),e.destroy()):"".concat(o)===i&&r===l.Ii&&((0,u.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,u.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.U2)((0,r.IP)(e.prototype),"isEnabled",this).call(this),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;a.Z.clearTargeting(n,["refreshable"]),(0,u.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.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}},{key:"debugInfo",get:function(){return{currentPage:"".concat(this.currentPage+1),creativeId:this.creativeId,inViewPercent:this.inViewPercent,impressionCount:this.impressionCount,refreshCount:this.refreshCount,timeout:this.timeout}}}])}(i.ZP);var P=n(15332);function j(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;e> disabled on desktop, all flags off"),t.removeToolbarAd()),n=!0,e||r||i||o}))}))}))}))}),(function(e){return n?e:!!(0,P.R)(t.context)||(t.removeToolbarAd(),!1)})):(!0,!1)}))}catch(n){return Promise.reject(n)}}}])}(o.Z.withMixins(c.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):((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 c},i7:function(){return u},y0:function(){return s}});var r=50,i=32,o="stopRefresh",a="pauseRefresh",c={default:{inViewSeconds:32,maxRefreshes:9999,infinite:!0},globalOverride:{edition:{"ja-jp":{inViewSeconds:32}}}},u={infinite:!0,inViewSeconds:30},s={maxRefreshes:9999,inViewSeconds:32,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"]}}]}},85648:function(t,e,n){"use strict";n.d(e,{Z:function(){return yn}});var r=n(42235),i=n(20238),o=n(94776),a=n.n(o),c=n(21038),u=(n(40237),n(71288));function s(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function l(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 f="permutive-test"in({queryStringToObject:i.jH}.queryStringToObject(window.location.search)||{});function d(t){return p.apply(this,arguments)}function p(){return(p=l(a().mark((function t(e){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.abeagle,!f){t.next=3;break}return t.abrupt("return",Promise.resolve(!0));case 3:if(!c.MS.needsConsent()){t.next=9;break}return t.next=6,c.jQ.hasConsented("permutive");case 6:if(t.sent&&!u.ZP.isMobileApp()){t.next=9;break}return t.abrupt("return",Promise.resolve(!1));case 9:return t.abrupt("return",n.getExperimentVariant("ADSGROUP-442-permutive").catch((function(t){return t&&"ExperimentNotFound"===t.type?"on":null})).then((function(t){return Promise.resolve("on"===t)})));case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var h,m=n(60736),v=n(34686),g=!1;function y(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})}g=!1,h=void 0;var b={start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};g||(g=!0,h=function(e){return b.handleMessageEvent(e,t.eventBus)},window.addEventListener("message",h))},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)&&y(t,e)},stop:function(){window.removeEventListener("message",h)}},w=n(5654),A=["2162785669"],k=["10226773"],S=["20072413","102536773","35253013","495329533","12342133","263657533","12340813","135123253","235801453"],x=n(24027),E=n(58451),P=n(84030),j=n(41559),C=n(3379),T=n(70833),O=n(4702),_=n(14871),L=function(t,e){var n=function(t,e){var n=e.env,r=e.lang,i=t.adPos,o=t.adType,a=t.zone1||O.ds,c=t.dfpNetwork||O.M9;"undefined"===typeof t.noExCalls&&(t.noExCalls=!1);var s=(0,_.jP)(t,{env:n}),l=(0,_.gZ)(),f=(0,_.fd)(t),d="";t.advertiserContext?d="partner":/^awareness/.test(i)||/^awareness/.test(o)?d="awareness":/^infinite_post/.test(i)?(d="recirc",t.advertiserContext=!1):"ex"!==o||a===O.uY||a===O.aL||"giftguide"===s||t.noExCalls||(d="ex"),t.advertiserContext&&(d="partnerpost",u.ZP.isMobileApp()&&(f="mobile"));var p=[l,d,f].filter((function(t){return t})).join(".");return{network:c,zone1Obj:{test:l,type:d,platform:f},zone1:"".concat(a,".").concat(p),zone2:r,zone3:s,zone4:i}}(t,e),r=n.adPos,i=n.network,o=n.zone1,a=n.zone2,c=n.zone3,s=n.zone4,l=e.bidder;if((0,T.A)("info","adCall","default: buildAdCallObj",{adPos:r,network:i,zone1:o,zone2:a,zone3:c,zone4:s,advertiserContext:t.advertiserContext}),t.advertiserContext){var f="/".concat(i,"/").concat(o,"/").concat(c);return(0,T.A)("info","adCall","legacy advertiser ad call",f),f}var d="amazon"===l?"/".concat(i,"/").concat(o,"/").concat(c,"/").concat(s):"aiquizzes"===r?"/".concat(i,"/").concat(o,"/").concat(a,"/").concat(s):"/".concat(i,"/").concat(o,"/").concat(a,"/").concat(c,"/").concat(s);return(0,T.A)("info","adCall","is bidder amazon?","amazon"===l),(0,T.A)("info","adCall","Ad is built:",d),d};function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}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}var z=["gb","uk","ie","au","nz"],$=["ja-ja"],M={buildAdCall:function(t,e){var n=O.ds;return"tasty"===e.env.destination&&(n=O.aL),L(function(t){for(var e=1;e-1}));l.dfp_platform=f.join(".")}l.pos&&(l.pos=l.pos.replace(/-bp$/,"").replace(/[0-9]/g,"")),l.edition=u.localization.edition,Object.assign(l,c);var d,p=(d={samplingRate:U(r)},(0,P.pickBy)(d,(function(t){return void 0!==t})));n?n({eventName:r,tags:l,bfaConfig:p}):window.bfa&&(0,j.x)("ads",r,l,p)}function U(t){return/bid/.test(t)?.01:/click/.test(t)?1:void 0}var F,H,V={};function G(t){H=t||[]}function q(){H&&H.length&&(H=[])}var W=function(t){var e=function(t,e,n){return N({eventName:t,unitOptions:e,tagOptions:n},{env:r,localization:i},o&&o.trackPrebidEvents?o.trackPrebidEvents:null)},n=t.pbjs,r=t.env,i=t.localization,o=t.tracking;V={bidTimeout:G,bidResponse:function(t){return function(t,e){if(e){var n=H&&H.includes(e.bidder);if(n){var r=e.bidder,i=e.adUnitCode;window.raven&&window.raven.captureMessage("bidTimeout",{bidder:r,adUnitCode:i})}t("bid",F,{bidder:e.bidder,bidTimeToRespond:e.timeToRespond,bidTimeout:n?1:0})}}(e,t)},bidWon:function(t){return function(t,e){var n;e&&t("winningbid",F,{bidder:e.bidder,cpm:(n=e.cpm,Math.ceil(20*n)/20)})}(e,t)},auctionEnd:q},Object.keys(V).forEach((function(t){n.onEvent(t,V[t])}))},Y=function(t){F=t},X="web_performance_metric",Q="ad_slot_render",J="ad_slot_request",K="gpt_tag_end",tt="gpt_tag_load_time",et="adlib_init_start",nt="adlib_init_end",rt="adlib_init_time",it="prebid_bid_request",ot="prebid_bid_response",at="prebid_duration",ct="tam_bid_request",ut="tam_bid_response",st="tam_duration",lt=n(60896),ft=function(){var t=window;return"function"===typeof t.describe&&"function"===typeof t.expect},dt=function(){return window._isAdsServiceTest},pt=function(){var t="undefined"!==typeof navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection);return t?t.effectiveType:""},ht=function(){return{connection_type:pt()}},mt=function(t){var e=t.destination,n=t.localization,r=t.pageId,i=t.analyticsPageType,o=t.pageCategory,a=t.webRoot,c=t.isBFO,u=t.isBFN,s=t.isBPage,l=t.isFeedPage,f=t.isHomePage,d="web_".concat(e);(c||u)&&(d="web_bf");var p=i||o;s&&(p="buzz"),(l||f)&&(p="feed");var h=["bfnews","buzzfeednews","buzzfeed_news"],m=e;return Array.isArray(m)&&m.some((function(t){return h.includes(t)}))&&(m="buzzfeed_news"),{destination:m,source:d,context_page_id:r,context_page_type:p,page_edition:n.country,referrer_uri:a||document.referrer||""}};function vt(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);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);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{};if(!ft()&&!dt()){i.isProd?e="prod":i.isDev&&(e="dev"),t||(t=(0,lt.H)({env:e,source:"adlib"}),(0,T.A)("info","performance","trackPerformanceEvent: env: ".concat(e)));var o=mt(i),a=ht();(0,T.A)("info","performance","trackPerformanceEvent: ".concat(r),o),Mt[r]?(n[r]||(n[r]=Mt[r](t)),n[r](o,a)):(0,T.A)("warn","performance","trackPerformanceEvent: ".concat(r," not found"))}}}();function Bt(){var t=C.Z.get("hem");if(t)return Dt(t);var e=C.Z.get("bf2-b_info");return(0,T.A)("info","general","user info (bf2-b_info cookie)",e),e&&fetch("/auth/ad-track-token/hem",{credentials:"same-origin"}).then((function(e){return e.ok?(t=C.Z.get("hem"),window.dispatchEvent(new CustomEvent("hemCookieSet",{detail:{cookieValue:t}})),Dt(t)):(console.error("Failed to fetch HEM"),null)})).catch((function(t){return console.error(t)})),null}function Dt(t){return t=t.replace(/"/g,""),atob(t)}function Nt(t,e){return null!=e&&"undefined"!==typeof Symbol&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var Ut,Ft={loadScript:r.v},Ht=["subbuzz","pixel"],Vt=new v.BH;function Gt(t){var e=t.abeagle;return/\bs=mobile_app\b/.test(window.location.search)?Promise.reject(new E.x9):e.isOn("ads_prebid").then((function(t){return t?Promise.resolve(!0):Promise.reject(new E.x9)}))}var qt=function(){return(0,x.qH)((function t(e){var n=e.env,r=e.localization,i=e.abeagle,o=e.gdpr,a=e.ccpa,c=e.tracking;(0,x.PA)(this,t),this._env=n,this._localization=r,this._abeagle=i,this._gdpr=o,this._ccpa=a,this._tracking=c}),[{key:"init",value:function(){var t=this;return Ut||(Bt(),Ut=Gt({abeagle:this._abeagle}).then((function(){return t._loadLib()})).then((function(){return Vt})).then((function(e){var n,r,i,o=e.getConfig();o.ortb2={site:{ext:{data:{cms_tag:(0,w.kw)({env:t._env}),section:(0,w.Zy)({env:t._env}),zone3:(0,_.jP)({},{env:t._env}),bsc:null===(n=window)||void 0===n||null===(n=n.PQ)||void 0===n||null===(n=n.PTS)||void 0===n?void 0:n.BSC,ids:null===(r=window)||void 0===r||null===(r=r.PQ)||void 0===r||null===(r=r.PTS)||void 0===r?void 0:r.IDS,pagetype:null!==(i=t._env)&&void 0!==i&&i.isBPage?"B":"A"}}}},e.setConfig(o),(0,T.A)("info","prebid","_prebidConfig:",e.getConfig()),(0,T.A)("info","prebid","pbjs:",e),W({pbjs:e,env:t._env,localization:t._localization,tracking:t._tracking})})).catch((function(t){return Nt(t,E.x9)?null:(console.error(t),Promise.reject(t))})))}},{key:"_loadLib",value:function(){return Ft.loadScript("https://micro.rubiconproject.com/prebid/dynamic/13062.js").then((function(){return window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[],new Promise((function(t){window.pbjs.que.push((function(){Vt.resolve(window.pbjs),t()}))}))}))}}])}(),Wt=function(){return(0,x.qH)((function t(e){var n=e.env,r=e.gdpr,i=e.ccpa,o=e.abeagle;(0,x.PA)(this,t),this._env=n,this._gdpr=r,this._ccpa=i,this._abeagle=o}),[{key:"requestBid",value:function(t,e){var n=this,r=e.adPos,i=e.path,o=e.slot;return Ht.includes(r)?Promise.resolve(null):Gt({abeagle:this._abeagle}).then((function(){return Vt})).then((function(t){var a=new v.BH,c=n._env,u=function(){$t(ot,{detail:{slot:i}}),Zt(at,c),a.resolve(null)};return Y(e),setTimeout((function(){$t(it,{detail:{slot:i}}),Zt(it,n._env),t.rp.requestBids({callback:u,data:{adserver:{adslot:i,name:"gam"},pbadslot:i,cmsTags:(0,w.kw)({env:n._env}),section:(0,w.Zy)({env:n._env}),zone3:(0,_.jP)({adPos:r},{env:n._env}),visitor:{permutive:JSON.parse(window.localStorage._prubicons||"[]").slice(0,250)}},gptSlotObjects:[o]})}),0),a})).catch((function(t){return Nt(t,E.x9)||Nt(t,E.$j)?null:(console.error(t),Promise.reject(t))}))}}])}(),Yt=n(84952),Xt=n(89809),Qt={automotive_and_vehicles:[{id:"1",name:"Automotive"}],books_and_literature:[{id:"42",name:"Books and Literature"}],business_and_industrial:[{id:"52",name:"Business and Finance"}],careers:[{id:"123",name:"Careers"}],education:[{id:"132",name:"Education"}],shows_and_events:[{id:"150",name:"Events and Attractions"}],family_and_parenting:[{id:"186",name:"Family and Relationships"}],art_and_entertainment:[{id:"201",name:"Fine Art"}],food_and_drink:[{id:"210",name:"Food & Drink"}],health_and_fitness:[{id:"223",name:"Healthy Living"},{id:"286",name:"Medical Health"}],hobbies_and_interests:[{id:"239",name:"Hobbies & Interests"}],home_and_garden:[{id:"274",name:"Home & Garden"}],science_medicine_medical_research:[{id:"286",name:"Medical Health"}],movies:[{id:"324",name:"Movies"}],music:[{id:"338",name:"Music and Audio"}],law_govt_and_politics:[{id:"379",name:"News and Politics"}],finance:[{id:"391",name:"Personal Finance"}],pets:[{id:"422",name:"Pets"}],art_and_entertainment_movies_and_tv_television:[{id:"432",name:"Pop Culture"},{id:"640",name:"Television"}],real_estate:[{id:"441",name:"Real Estate"}],religion_and_spirituality:[{id:"453",name:"Religion & Spirituality"}],science:[{id:"464",name:"Science"}],shopping:[{id:"473",name:"Shopping"}],sports:[{id:"483",name:"Sports"}],style_and_fashion:[{id:"552",name:"Style & Fashion"}],technology_and_computing:[{id:"596",name:"Technology & Computing"}],travel:[{id:"653",name:"Travel"}],games:[{id:"680",name:"Video Gaming"}]},Jt=function(t){var e;return(null===(e=Qt[t])||void 0===e?void 0:e.map((function(t){return t.id})))||[]},Kt=function(t){var e;return(null===(e=Qt[t])||void 0===e?void 0:e.map((function(t){return t.name})))||[]},te=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",n={id:Jt,name:Kt};return t.map((function(t){return n[e](t)})).reduce((function(t,e){return t.concat(e)}),[]).filter((function(t,e,n){return t&&n.indexOf(t)===e}))},ee=function(t){return Object.values((null===t||void 0===t?void 0:t.watson)||[]).reduce((function(t,e){return t.concat(e.map((function(t){return t.tag_name})))}),[])},ne=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id";return te(ee(t),e)};function re(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]:"page",e=arguments.length>1?arguments[1]:void 0;return Oe.tagReady.then((function(n){try{"page"===t?n.loadSignals(Ee,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);n dependencies RESOLVED"),(0,T.A)("info","consent","ccpaConsent",o),(0,T.A)("info","consent","personalizationConsent",a),(0,T.A)("info","adCall","permutiveOn",c),Fe(qe(c),(function(){i.cmd.push(Ve((function(){if(hn({googletag:i,targeting:u}),vn({googletag:i,settings:mn({env:n})}),i.pubads().setPrivacySettings({nonPersonalizedAds:dn(a),restrictDataProcessing:pn(o)}),i.pubads().disableInitialLoad(),i.pubads().enableAsyncRendering(),i.pubads().enableSingleRequest(),i.pubads().addEventListener("slotOnload",Ke),i.pubads().addEventListener("slotRenderEnded",en),i.pubads().addEventListener("slotRequested",tn),i.pubads().addEventListener("slotVisibilityChanged",Je),i.pubads().addEventListener("impressionViewable",nn),c){var t=i.pubads().getTargeting("permutive");if(0===(null===t||void 0===t?void 0:t.length)){var e=localStorage.getItem("_pdfps");i.pubads().setTargeting("permutive",e?JSON.parse(e):[])}}return i.enableServices(),Fe(Oe.isOn({abeagle:r}),(function(t){(0,T.A)("info","thirdparty","doubleverify #configureGPT: is on?",t),t&&Oe.loadSignals("page")}))})))}))}))}))}));function Ve(t){return function(){for(var e=[],n=0;n=10||window&&window.permutive)return clearInterval(i),void e();r++}),50);(0,T.A)("info","adCall","permutive defined ,interval:",i)}))}));var We,Ye,Xe,Qe,Je=Ve((function(t){var e=String(t.slot.getTargeting("wid"));return Fe(an.get("eventBus"),(function(n){De(n,1)[0].trigger("gpt:slotVisibilityChanged:".concat(e),t)}))})),Ke=Ve((function(t){var e=String(t.slot.getTargeting("wid"));if(ln(e)&&e)return Fe(an.get("eventBus"),(function(n){De(n,1)[0].trigger("gpt:slotOnload:".concat(e),t)}));window.raven&&window.raven.captureMessage("onSlotLoad error",{tags:{gptEvent:t}})})),tn=Ve((function(t){return Fe(an.get("env"),(function(e){var n=De(e,1)[0],r=String(t.slot.getTargeting("wid")),i=cn[r].getAdUnitPath(),o=De(i.split("/"),6),a=o[2],c=o[3],u=o[4],s=o[5];$t(J,{detail:{wid:r,unitPath:i,zone1:a,edition:c,vertical:u,pos:s}}),Zt(J,n)}))})),en=Ve((function(t){var e=String(t.slot.getTargeting("wid"));delete un[e];var n=ln(e);if((0,T.A)("info","adCall","slot is",n),n&&e)return Fe(an.get("eventBus"),(function(n){De(n,1)[0].trigger("gpt:slotRenderEnded:".concat(e),t)}));window.raven&&window.raven.captureMessage("onSlotRenderEnded error",{tags:{gptEvent:t}})})),nn=Ve((function(t){var e=String(t.slot.getTargeting("wid"));if(ln(e)&&e)return Fe(an.get("eventBus","env"),(function(n){var r=De(n,2),i=r[0],o=r[1];i.trigger("gpt:impressionViewable:".concat(e),t);var a=cn[e].getAdUnitPath(),c=De(a.split("/"),6),u=c[2],s=c[3],l=c[4],f=c[5];$t(Q,{detail:{wid:e,unitPath:a,zone1:u,edition:s,vertical:l,pos:f}}),Zt(Q,o)}));window.raven&&window.raven.captureMessage("impressionViewable error",{tags:{gptEvent:t}})})),rn={checkIsOn:d},on="https://securepubads.g.doubleclick.net/tag/js/gpt.js",an={_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 hn(t){var e=t.googletag,n=t.targeting,r=void 0===n?{}:n;e.pubads().clearTargeting(),Object.keys(r).forEach((function(t){e.pubads().setTargeting(t,r[t])}))}function mn(t){var e=t.env;return e.isAdPost()||e.cmsTags.includes("commerce-partnership")?{fetchMarginPercent:-1,renderMarginPercent:-1,mobileScaling:-1}:m.Z.isAny(["md","lg"])?Promise.resolve({fetchMarginPercent:1e3,renderMarginPercent:200}):null}function vn(t){var e=t.googletag,n=t.settings;e.pubads().enableLazyLoad(n)}We=null,Ye=new v.BH,an._eventBusGetter=new v.BH,an._envGetter=new v.BH,an._localizationGetter=new v.BH,an._abeagleGetter=new v.BH,an._gdprGetter=new v.BH,an._ccpaGetter=new v.BH,an._trackingGetter=new v.BH,cn={},un={},Qe={getPageTargeting:function(){return Promise.resolve(null)},getSlotTargeting:function(){return Promise.resolve(null)}};var gn=function(){var t=window;return"function"===typeof t.describe&&"function"===typeof t.expect};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 yn={AdError:E.ZP,thumbnailReady:he.qB,buildAdCall:D,getAdCallCategory:_.jP,inject:function(t){"eventBus"in t&&an._eventBusGetter.resolve(t.eventBus),"env"in t&&an._envGetter.resolve(t.env),"localization"in t&&an._localizationGetter.resolve(t.localization),"abeagle"in t&&an._abeagleGetter.resolve(t.abeagle),"gdpr"in t&&an._gdprGetter.resolve(t.gdpr),"ccpa"in t&&an._ccpaGetter.resolve(t.ccpa),"tracking"in t&&an._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,Ne(e))})).catch((function(){return{}}))}},n=t.customTargetingPage,r=t.customTargetingSlot;"function"===typeof n&&(Qe.getPageTargeting=e(n)),"function"===typeof r&&(Qe.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(gn()&&!window._isAdsServiceTest)throw new Error("Unit tests should not make real ad calls! Make sure mock `ads` methods");if(We)return We;$t(et);var e=(0,_.gZ)();return(e+=(e?" + ":"")+w.ZP.getDFPKeyword())&&document.body.insertAdjacentHTML("beforeend",'\n
\n '.concat(e,"\n
\n ")),We=an.get("eventBus","env","localization","abeagle","gdpr","ccpa","tracking").then((function(e){var n=De(e,7),r=n[0],i=n[1],o=n[2],a=n[3],c=n[4],u=n[5],s=n[6];b.start({eventBus:r});var l,f={env:i,localization:o,abeagle:a,gdpr:c,ccpa:u,tracking:s,googletagReady:Ye},d=t.bind(null,f);l=i.localization.language?i.localization.language:"getRawPageLanguage"in o?o.getRawPageLanguage():"en",(0,T.A)("info","adCall","language set",l),(0,Re.m0)(l);var p,h=Promise.all([fn(),(p={gdpr:c},p.gdpr.fetchAdPurposeConsent().then((function(t){if(!t)throw new E.ZP("Did not consent, not loading ads.")}))),d("doubleverify",Oe).then((function(){return Oe.targetingDataReady.then((function(){return d("prebid",new qt(f))}))})),d("amazon",new fe(f)),d("ad_lightning",ge)]);return d("teads",Ie),d("liveRamp",$e),h.then((function(){r.trigger("ads:initialized"),$t(nt),Zt(rt,i)}))})),We},start:function(){return this.init().catch((function(t){return e=t,(null!=(n=E.ZP)&&"undefined"!==typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](e):e instanceof n)?Promise.resolve():Promise.reject(t);var e,n}))},reset:Ve((function(){return cn={},un={},Fe(an.get("env","abeagle","gdpr"),(function(t){var e=De(t,3),n=e[0],r=e[1],i=e[2];return Promise.all([Ye,Ge({env:n,abeagle:r,gdpr:i})]).then((function(t){var e=De(t,2),r=e[0],i=e[1];r.destroySlots(),hn({googletag:r,targeting:i}),vn({googletag:r,settings:mn({env:n})})}))}))})),clearTargeting:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(cn[t]){var n=cn[t];e.forEach((function(t){return n.clearTargeting(t)}))}},renderWidget:function(t){var e=this,n=t.wid;return un[n]?un[n]:(this.createAdSlotContainer(n),un[n]=an.get("env","gdpr","ccpa","abeagle","localization").then((function(n){var r=De(n,5),i=r[0],o=r[1],a=r[2],c=r[3],u=r[4],s={env:i,gdpr:o,ccpa:a,abeagle:c,googletagReady:Ye},l=D(t,{env:i,localization:u}),f=[new Wt(s),new de(s)];return Promise.all([e.init(),e.defineSlot(t)]).then((function(n){var r=De(n,2)[1];return e.requestHeaderBid(f,Be({},t,{path:l,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(un[r])return un[r];if(!cn[r]||!cn[r].getSlotElementId())return this.renderWidget(t,!1,n);(0,T.A)("info","lifecycle","renderWidget ".concat(r," refresh"),{slotStatus:un[r],slot:cn[r]});var i=cn[r].getTargetingKeys().filter((function(t){return/^hb_|amzn/.test(t)}));return yn.clearTargeting(r,i),Object.keys(n).forEach((function(t){cn[r].setTargeting(t,n[t])})),un[r]=an.get("env","gdpr","ccpa","abeagle","localization").then((function(n){var i=De(n,5),o=i[0],a=i[1],c=i[2],u=i[3],s=i[4],l={env:o,gdpr:a,ccpa:c,abeagle:u,googletagReady:Ye},f=D(t,{env:o,localization:s}),d=[new Wt(l),new de(l)];return Promise.all([e.requestHeaderBid(d,Be({},t,{path:f,slot:cn[r]})),Ye])})).then((function(t){De(t,2)[1].pubads().refresh([cn[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=cn[e];return a?Promise.resolve(a):Promise.all([an.get("env","localization"),Ye,Qe.getSlotTargeting(t),new Promise((function(t){"cookieDeprecationLabel"in navigator?navigator.cookieDeprecationLabel.getValue().then((function(e){t(void 0!==e)})):t(!1)}))]).then((function(n){var i=De(n,4),a=De(i[0],2),c=a[0],u=a[1],s=i[1],l=i[2],f=i[3];Object.assign(o,l);var d=s.defineSlot(D(t,{env:c,localization:u}),r,sn(e));Object.keys(o).forEach((function(t){d.setTargeting(t,[].concat(o[t]))}));var p=yn.getAdCallCategory(t,{env:c});return p&&d.setTargeting("zone3",p),d.setTargeting("addressable",C.Z.get("hem")?"true":"false"),d.setTargeting("cookieDeprecation",f?"true":"false"),d.addService(s.pubads()),cn[e]=d,d}))},display:Ve((function(t){var e=t.wid,n=t.isGAMNativeVideo,r=void 0!==n&&n,i=[cn[e]],o=!1;return Fe(an.get("abeagle"),(function(t){var n,a,c=De(t,1)[0];return n=function(t,e){try{var n=t()}catch(r){return e(r)}return n&&n.then?n.then(void 0,e):n}((function(){return Fe(Oe.isOn({abeagle:c}),(function(t){o=t||!1,(0,T.A)("info","thirdparty","doubleverify #display: is on?",o)}))}),(function(t){(0,T.A)("error","thirdparty","doubleverify #display error",t)})),a=function(){return r&&(0,T.A)("info","thirdparty","doubleverify #display: isGAMNativeVid",r),Ye.then((function(t){!function(t,e){if(!o||r)t.call(null,e);else{var n=Oe.runOnce(t,e);Oe.loadSignals(e,n),setTimeout(n,750)}}((function(e){return t.pubads().refresh(e,{changeCorrelator:!1})}),i),t.display(sn(e))}))},n&&n.then?n.then(a):a(n)}))})),destroySlot:function(t){var e=t.wid,n=cn[e];return n?(delete cn[e],delete un[e],Ye.then((function(t){t.destroySlots([n])}))):Promise.resolve()},createAdSlotContainer:function(t){var e=sn(t);document.querySelectorAll(".js-ad-".concat(t)).forEach((function(n){if(n&&!n.querySelector("#".concat(e))){var r='\n
\n '),i=n.querySelector("script:first-child");i?i.insertAdjacentHTML("afterend",r):n.insertAdjacentHTML("afterbegin",r)}}))},isEmpty:function(t){var e=t.size,n=t.isEmpty,r=t.campaignId,i=t.creativeTemplateId;return n||null===e||void 0===e||A.indexOf(String(r))>-1||k.indexOf(String(i))>-1},isBackfillSlot:function(t){if(yn.isEmpty(t))return!1;var e=t.advertiserId;return!(e&&!t.isBackfill)||S.indexOf(String(e))>-1},isProgrammaticSlot:Ve((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(yn.isEmpty(t))return!1;var n=t.size,r=De(n,2),i=r[0],o=r[1];return Fe(an.get("env"),(function(t){var r=De(t,1)[0];return(!Xt.Z.isEqual(n,r.adSizes.RESEARCH_PIXEL)||!Xt.Z.contains(e,n))&&(1===i&&1===o||Xt.Z.isProgrammatic(r.programmaticSizes,n,{strict:!1}))}))})),isIframeContent:Ve((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(yn.isEmpty(t))return!1;var n=t.size,r=De(n,2),i=r[0],o=r[1];return 0===i&&0===o||yn.isProgrammaticSlot(t,e)})),getRenderedAdSize:function(t,e){if(yn.isEmpty(t))return(0,T.A)("warn","adCall","ad is empty"),{};(0,T.A)("info","adCall","gptEv:",t),(0,T.A)("info","adCall","options",e);var n=De(t.size||[1,1],2),r=n[0],i=n[1];if(1===r&&r===i){var o=e.wid,a=document.getElementById(sn(o)).querySelector("iframe");r=a.offsetWidth,i=a.offsetHeight}return{width:r,height:i}},detectAdBlock:function(){return Xe?((0,T.A)("info","adCall","ad block enabled. Please disable to see the ads"),Xe):Xe=new Promise(Ve((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)})),Fe()})))},notifyBFA:Ve((function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Fe(an.get("tracking"),(function(r){var i=De(r,1)[0],o=i&&i.track?i.track:window.bfa;(0,ye.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(yn,e)}));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 ln(t)},getSlotContainerId:function(t){return sn(t)},isGPTPrefetch:Ve((function(){return Fe(an.get("env","abeagle"),(function(t){var e=De(t,2),n=e[0],r=e[1];return Fe(Promise.all([r.isOn("ADS-1791-new-bpage-gpt-lazyload"),mn({env:n})]),(function(t){var e=De(t,2),n=e[0],r=e[1];return(0,T.A)("info","adCall","isGPTLazyLoad",n),(0,T.A)("info","adCall","lazyLoadSettings",r),n&&null!==r}))}))}))};Ve((function(){if(!gn())return Fe(an.get("abeagle"),(function(t){var e=De(t,1)[0];yn.detectAdBlock().then((function(t){t&&(be.Z.init({abeagle:e}),document.body.classList.add("has-lego"))})),be.Z.detectAcceptableAds()}))}))()},80150:function(t,e,n){"use strict";n.d(e,{ZP:function(){return c},Sx:function(){return o}});var r=n(48705),i=n(58451),o={CREATED:"CREATED",INITIALIZING:"INITIALIZING",INITIALIZED:"INITIALIZED",DESTROYED:"DESTROYED"};Object.freeze(o);var a=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=a(),this.privateEvents=new r.Z,this.plugins=new Set,this.lifecycleState=o.CREATED;var n=this.destroy;this.destroy=function(){e.lifecycleState!==o.DESTROYED&&n.call(e)}}c.prototype.init=function(){var t=this;return this.initializing?this.initializing:(this.lifecycleState=o.INITIALIZING,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===o.DESTROYED)throw new i.$j})).then((function(){return t.setup()})).then((function(){return t.lifecycleState=o.INITIALIZED})).catch((function(e){return t.destroy(),Promise.reject(e)})))},c.prototype.isEnabled=function(){return!0},c.prototype.setup=function(){return 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!==o.DESTROYED&&(this.privateEvents.trigger("destroying"),this.privateEvents.destroy(),delete this.privateEvents,delete this.eventBus,this.lifecycleState=o.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 u(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 c,!e||u(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 c;"currPlacement"in this._state||(this._state.currPlacement={idx:-1,placement:-1,usePrev:!1});var e,n=this._state.currPlacement;if(u(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,s=this.density,l=++n.idx;if(i>0)if(-1===n.placement)-1===(e=r.findIndex((function(t){return t})))&&(e=new c);else{var f,d=n.placement%i,p=r.findIndex((function(t,e){return t&&e>d}));p>-1?f=p-d:(p=r.findIndex((function(t,e){return t&&e<=d})),f=i-d+p),e=n.placement+f}else e=l0?n.placement+s:new c}return n.placement=e,n.usePrev=t,e}},{key:"getAdForPlacement",value:function(t){var e=this.getNextPlacement();return u(e)?new c: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);s.Done=c,s.isDone=u},83323:function(t,e,n){"use strict";n.d(e,{Z:function(){return Y}});var r=n(24027),i=n(84030);function o(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[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)}var c=function(){if("undefined"===typeof document||!document.body)return 0;var 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);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}();function u(t){t&&(0===c?t.classList.add("scrollbar--overlay"):t.classList.add("scrollbar--".concat(Math.ceil(c),"px")))}u("undefined"!==typeof document?document.documentElement:null);var s=n(60736),l=n(73931),f=n(71288),d=n(11608),p=n(34686),h=n(46658),m=function(){var t=p.ZP.getQueryParams().sub;return t?parseInt(t.split("_")[1],10):null}();var v={getUrl:function(){var 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;n0&&(e=d.ZP.getAttr(r[0],"content"))&&(n=e),n}("author").replace(/,$/g,"")},getTitle:function(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:function(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:function(){var t=document.domain,e=this.getAuthor();return e&&(t+=" | By ".concat(e)),t},getPicture:function(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:function(){return{url:this.getUrl(),author:this.getAuthor(),title:this.getTitle(),description:this.getDescription(),caption:this.getCaption(),picture:this.getPicture()}},renderString:function(t,e,n){var r=p.ZP.extend({},this.getAll(),e||{});return h.Z.renderString(t,r,n)},isLinkedSubbuzz:function(t){return null!==m&&m===t},getSubbuzzShareData:function(t,e){var n=p.ZP.removeHash(this.getUrl()),r=p.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:function(t,e){var n=p.ZP.removeHash(this.getUrl()),r=p.ZP.addQueryParam(n,"quiz_result",t+"_"+e)+"#"+t;return{url:n+"#"+t,shareMetaUpdatedUrl:r,fbUrl:r}},getSubbuzzMedia:function(t){var e=d.ZP.findOne(t,".js-subbuzz__media");if(!e)return"";var n=d.ZP.getAttr(e,"data-src"),r=d.ZP.getAttr(e,"data-gif-src");return s.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={},y=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=y;var b=function(t){return encodeURIComponent(JSON.stringify(t))};g.encodePixiedustData=b;var w=function(t){var e="";return Object.keys(t).forEach((function(n){e&&(e+="&"),e+=n+"="+encodeURIComponent(t[n])})),e};g.encodeData=w;g.share=function(t,e){var n=e;if("pinterest"===t&&(n=function(t){return{media:t.media,url:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"pinterest"}),description:t.text}}(e)),"facebook"===t&&(n=function(t){return{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=function(t){return{text:t.text,url:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"twitter"})}}(e)),"email"===t&&(n=function(t){return{subject:t.text,body:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"email"})}}(e)),"copy"===t&&(n=function(t){return{url:(0,l.X)({shareUrl:t.shareMetaUpdatedUrl||t.url,platform:"copy"})}}(e)),n=function(t,e){return t.quizId&&t.itemId&&(e.ga_label=t.quizId+"="+t.itemId,e.result_id=t.itemId),e}(e,n),f.ZP.isIOS()){var r="bf://share/"+t+"?"+w(n);y(r)}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=function(t,e){var n;if(f.ZP.isIOS())"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="+b(e),y(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.")};var A=function(){var t=!1;return window.bf&&window.bf.optOut&&(t=window.bf.optOut()),t};g.optOut=A;var k=n(6294),S=n(89809),x=n(85648),E=n(58451),P=n(51761),j=n(52824),C=n(40979),T=(n(186),n(84714),n(70833)),O=n(93557);function _(t,e){var n=e.env,r=e.localization;return(0,O.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 L(t){if("Failed to fetch"!==t.message)throw t}var I=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,c=e.buzzes,u=void 0===c?[]:c,s=e.creativeId,l=arguments.length>1?arguments[1]:void 0,f=l.env,d=l.localization;if(i)t=Promise.resolve([i]);else if(u.length>0)t=Promise.resolve(u);else if(n||0!==a.length){n&&(a=[n]);var p="en-us";d?p=d.edition:f.localization&&(p=f.localization.country);var h=function(t){return _(t,{env:f,localization:{getEdition:function(){return p}}})};t=Promise.all(a.map(h))}else t=Promise.reject(new x.Z.AdError("Missing buzz id for creative #".concat(s)));return t.catch(L),t},R=n(80150);function z(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=x.Z.isProgrammaticSlot(t,o.config.size),n=function(e){x.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(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["".concat(t,"Trackers")]||[]).forEach((function(n){return e.create3rdPartyPixel(n,t)}))}},{key:"normalize3rdPartyTrackers",value:function(){var t=this.ad;if("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.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}}])}(R.ZP),N=n(99945),U=n(22299),F=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.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,N.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!==R.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&&t.children)for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&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=x.Z.getSlotContainer(n);i&&i.classList.add("ad-slot","js-ad-slot","js-ad-slot-".concat(n))}},{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)||s.Z.isAny(t)}},{key:"handleSlotRenderEnded",value:function(t){try{var e=x.Z.getSlotContainer(this.config.wid);return n=x.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(){x.Z.destroySlot(this.config);try{delete this.element.dataset.instanceId}catch(E){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(){x.Z.destroySlot(this.config),(0,r.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}}])}(R.ZP.withMixins(j.$,C.Z,P.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)"}},58451:function(t,e,n){"use strict";n.d(e,{$j:function(){return a},x9:function(){return o},ZP:function(){return i}});var r=n(24027);function i(t){Error.apply(this,arguments),this.message=t}i.prototype=Object.create(Error.prototype),i.prototype.constructor=i;var o=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),a=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)},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,c={};return c.flexproVariation=r,o&&(c.title=o),a&&(c.images={big:a.url,dblbig:a.url,wide:a.wide_url,dblwide:a.wide_url}),c}},{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 c},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.U2)((0,r.IP)(e.prototype),"setup",this).call(this);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.$))},c=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)(c,"formatType","dfp_native_video")},84714:function(t,e,n){"use strict";n.d(e,{M:function(){return h},P:function(){return m}});var r=n(24027),i=n(85648),o=n(83351),a=n(39901),c=n(17480);function u(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);nu,e.scrollDirection=i>0,e.speed=i,t&&t.getBoundingClientRect){var o=t.getBoundingClientRect(),a=o.top,s=o.bottom;return e.scrollDirection?!e.isFast&&a>0&&a<2*window.innerHeight:!e.isFast&&s-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,c,u=this;return!o.Z.isAny(["xs","sm"])||o.Z.isAny(["xs","sm"])&&this.noLazyRendering||"us"!==(null===(t=this.context)||void 0===t||null===(t=t.env)||void 0===t?void 0:t.userCountry)||"us"!==(null===(n=this.context)||void 0===n||null===(n=n.env)||void 0===n||null===(n=n.localization)||void 0===n?void 0:n.country)||null!==(c=this.context)&&void 0!==c&&null!==(c=c.env)&&void 0!==c&&c.isHomePage?((0,i.A)("info","lifecycle","ScrollFetch feature is not eligible"),(0,r.U2)((0,r.IP)(e.prototype),"setup",this).call(this)):(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"),u.deferRender(new Promise((function(t){u.onPublicEvent(u.scrollFetchInfo.adFetchActiveEvent,t)}))),window.addEventListener("scroll",(0,a.throttle)(s.bind(u,t),1e3))):(0,i.A)("info","lifecycle","ScrollFetch feature is not enabled")})),(0,r.U2)((0,r.IP)(e.prototype),"setup",this).call(this))}},{key:"destroy",value:function(){window.removeEventListener("scroll",s),(0,r.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}}])}(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(c),"")},[o,r,c]}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,s,u,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 p}});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 s=((null===(o=t.context)||void 0===o?void 0:o.localization)||(null===(a=t.context)||void 0===a||null===(a=a.env)||void 0===a?void 0:a.localization)||{}).edition;h.edition[s]&&(t.refreshConfig=l({},t.refreshConfig,h.edition[s]),(0,c.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.U2)((0,r.IP)(e.prototype),"setup",t).call(t)}))}catch(n){return Promise.reject(n)}}},{key:"isViewable",value:function(){return this.inViewPercent>=u.q$}},{key:"refreshAd",value:function(){try{var t=this,e=t.config.wid;return f(m((function(){if(t.isViewable())return m((function(){var n;if(null===(n=t.scrollFetchInfo)||void 0===n||!n.isFast)return f(o.Z.refreshWidget(t.config,{tbr:1}),(function(){t.eventBus.trigger("ad-refresh:".concat(e)),t.refreshCount++,(0,c.A)("info","lifecycle","InViewRefresh ".concat(e," :"),"Refreshed!",t.debugInfo)}));(0,c.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,e=this,n=this.config.wid;this.emptyCount++,(0,c.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((t=function(){return o.Z.refreshWidget(e.config),e.timeout=null,f()},function(){for(var e=[],n=0;n=i&&(this.complete=!0,(0,c.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,c.A)("info","lifecycle","InViewRefresh ".concat(e," : empty ad trying again"),this.debugInfo),this.isCurrentlyEmpty=!0,this.refreshEmptyAd()):this.context.element&&((0,c.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,c.A)("info","lifecycle","InViewRefresh ".concat(e," :"),"SlotVisibilityChanged",this.debugInfo),!this.timeout&&this.isViewable()&&this.impressionCount>this.refreshCount&&!this.isCurrentlyEmpty?((0,c.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===u.nC?((0,c.A)("info","lifecycle","InViewRefresh ".concat(n," -> Disabled by creative: ").concat(i),e.debugInfo),e.destroy()):"".concat(o)===i&&r===u.Ii&&((0,c.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,c.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.U2)((0,r.IP)(e.prototype),"isEnabled",this).call(this),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,c.A)("info","lifecycle","InViewRefresh ".concat(t," :"),"Destroying listeners/timers & disabling refresh."),delete this.config.refreshOptions,this.removeListeners(),(0,r.U2)((0,r.IP)(e.prototype),"destroy",this).call(this)}},{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 u}});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.U2)((0,r.IP)(e.prototype),"setup",this).call(this)}}])}(i.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 c},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 c={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 u}});var r=n(24027),i=n(84030),o=0,a={};a={};var c=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}}])}(),u={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 c({throttleTimeout:n,parent:r}));var u=o.add(i);return o.trigger(u),u},remove:function(t){Object.keys(a).forEach((function(e){var n=a[e];n.remove(t),n.isEmpty&&(n.destroy(),delete a[e])}))}}},89809:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(84030);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?e-1:0),i=1;i1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return t=t.map(JSON.stringify),e.filter((function(e){return-1===t.indexOf(JSON.stringify(e))||n(e)}))},filterProgrammatic:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.min,i=void 0===r?null:r,o=n.max,a=void 0===o?null:o;return this._filterProgrammatic(t,e,(function(t){return!!(i&&t[0]>=i[0]||a&&t[0]<=a[0])}))},excludeProgrammatic:function(t,e){return this._filterProgrammatic(t,e,(function(){return!1}))},getProgrammatic:function(t,e){return(0,r.differenceBy)(e,this.excludeProgrammatic(t,e),JSON.stringify)},isProgrammatic:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.strict,i=void 0===r||r,a=this.getProgrammatic(t,[e]),c=1===a.length;if(c)return!0;if(!i)try{var u=o(e,2),s=u[0],l=u[1];return s>15&&l>15}catch(f){return!1}return!1},isEqual:function(t,e){return t===e||JSON.stringify(t)===JSON.stringify(e)},contains:function(t,e){var n=this;return t.filter((function(t){return n.isEqual(t,e)})).length>0}}},17480:function(t,e,n){"use strict";n.d(e,{U6:function(){return a},bb:function(){return c},KV:function(){return s},xw:function(){return u},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 c(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 u={"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 s(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(37083);function i(t){var e,n,i=t.template,o=t.props,a=t.target,c=t.anchor;if("function"===typeof i&&"$set"in i.prototype)return new i({props:o,target:a,anchor:c});if("env"in i){var u=(0,r.Z)(i).render(o);if(c){if(e=c,!(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(c.parentElement!==a)throw new Error("`anchor` is not a child of `target`");c.insertAdjacentHTML("beforebegin",u)}else a.insertAdjacentHTML("beforeend",u);return null}return null}},99945:function(t,e,n){"use strict";n.d(e,{qB:function(){return c}});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 c(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(34686);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 s},NJ:function(){return l},Wy:function(){return f},mG:function(){return d},tF:function(){return p},mL:function(){return b},aj:function(){return S}});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)\..*$/))},c=function(t){return/^https?:\/\/out(-stage)?.buzzfeed.com\/v1\/?.+/.test(t)},u=function(t){return/^https?:\/\/r.bttn.io/.test(t)},s=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)},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=d(t.href,e)},h=function(t){var e={},n=l(t);if(n.ascsubtag){var r=decodeURIComponent(n.ascsubtag).split(","),a=!0,c=!1,u=void 0;try{for(var s,f=i[Symbol.iterator]();!(a=(s=f.next()).done);a=!0){var d=s.value;e[d]=r.length?r.shift():o[d]}}catch(p){c=!0,u=p}finally{try{a||null==f.return||f.return()}finally{if(c)throw u}}}return e},m=function(t){return a(t)?h(t):c(t)?function(t){var e=new URL(t).searchParams.get("url");return h(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},y=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},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(t)?v(t,e):c(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)},A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=g(t.href,e)},k=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.href=y(t.href,e)},S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.href;return a(n)?w(t,e):c(n)?A(t,e):u(n)&&k(t,e),t}},51405:function(t,e,n){"use strict";n.d(e,{Il:function(){return m},Or:function(){return y}});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!==u[1]?u[1]:{},r=n.fixOrientation,o=void 0===r||r,e){t.next=3;break}throw l;case 3:if(y(e)){t.next=5;break}throw f;case 5:return t.prev=6,t.next=9,p(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,b(e);case 20:return c=t.sent,t.next=23,A(a,c);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 y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=["image/jpg","image/jpeg","image/png","image/gif"].concat(u(e));return!(!t||!t.type)&&-1!==n.indexOf(t.type)}function b(t){return w.apply(this,arguments)}function w(){return(w=c(i().mark((function t(e){var n,r,o,a,c,u,s,l;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x(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,S(e);case 4:r=t.sent,o=r.width,a=r.height,c=document.createElement("canvas"),u=c.getContext("2d"),40)return[[_name+"-engaged","true"]]}catch(f){}})())&&typeof f.forEach===n&&(e=o[t].pubads())&&f.forEach((function(o){o&&o[0]&&e.setTargeting(o[0],o[1]||"")}))}(i=o[t]=o[t]||{}).cmd=i.cmd||[],typeof i.pubads===n?c():typeof i.cmd.unshift===n?i.cmd.unshift(c):i.cmd.push(c)})(window,"googletag","function");})(window,String.fromCharCode(97,100,109,105,114,97,108));!(function(t,c,i){i=t.createElement(c),t=t.getElementsByTagName(c)[0],i.async=1,i.src="https://playfulriver.com/chunks/0ebfc720f5d7ca0609cff0676558c1692f85.min.js",t.parentNode.insertBefore(i,t)})(document,"script");',buzzfeed_news:'!(function(o,_name){o[_name]=o[_name]||function n(){(n.q=n.q||[]).push(arguments)},o[_name].v=o[_name].v||2;!(function(o,t,n,f,e,i){function c(f,e){(f=(function(t,n){try{if(n=(t=o.localStorage).getItem("_aQS02NERGQzhCOUUyMkIwNzExRTU2RTQzRDMtMw"))return JSON.parse(n).lgk||[];if((t.getItem("v4ac1eiZr0")||"").split(",")[4]>0)return[[_name+"-engaged","true"]]}catch(f){}})())&&typeof f.forEach===n&&(e=o[t].pubads())&&f.forEach((function(o){o&&o[0]&&e.setTargeting(o[0],o[1]||"")}))}(i=o[t]=o[t]||{}).cmd=i.cmd||[],typeof i.pubads===n?c():typeof i.cmd.unshift===n?i.cmd.unshift(c):i.cmd.push(c)})(window,"googletag","function");})(window,String.fromCharCode(97,100,109,105,114,97,108));!(function(t,c,i){i=t.createElement(c),t=t.getElementsByTagName(c)[0],i.async=1,i.src="https://playfulriver.com/build/e5359619cd5801/0f9d94b8cd6fffe6328ac8.min.js",t.parentNode.insertBefore(i,t)})(document,"script");',huffington_post:'!(function(o,_name){o[_name]=o[_name]||function n(){(n.q=n.q||[]).push(arguments)},o[_name].v=o[_name].v||2;!(function(o,t,n,f,e,i){function c(f,e){(f=(function(t,n){try{if(n=(t=o.localStorage).getItem("_aQS02NERGQzhCOUUyMkIwNzExRTU2RTQzRDMtMg"))return JSON.parse(n).lgk||[];if((t.getItem("v4ac1eiZr0")||"").split(",")[4]>0)return[[_name+"-engaged","true"]]}catch(f){}})())&&typeof f.forEach===n&&(e=o[t].pubads())&&f.forEach((function(o){o&&o[0]&&e.setTargeting(o[0],o[1]||"")}))}(i=o[t]=o[t]||{}).cmd=i.cmd||[],typeof i.pubads===n?c():typeof i.cmd.unshift===n?i.cmd.unshift(c):i.cmd.push(c)})(window,"googletag","function");})(window,String.fromCharCode(97,100,109,105,114,97,108));!(function(t,c,i){i=t.createElement(c),t=t.getElementsByTagName(c)[0],i.async=1,i.src="https://playfulriver.com/static/2c75499c/94dabc70e62cc90ae15501f4b1e9",t.parentNode.insertBefore(i,t)})(document,"script");',tasty:'!(function(o,_name){o[_name]=o[_name]||function n(){(n.q=n.q||[]).push(arguments)},o[_name].v=o[_name].v||2;!(function(o,t,n,f,e,i){function c(f,e){(f=(function(t,n){try{if(n=(t=o.localStorage).getItem("_aQS02NERGQzhCOUUyMkIwNzExRTU2RTQzRDMtNA"))return JSON.parse(n).lgk||[];if((t.getItem("v4ac1eiZr0")||"").split(",")[4]>0)return[[_name+"-engaged","true"]]}catch(f){}})())&&typeof f.forEach===n&&(e=o[t].pubads())&&f.forEach((function(o){o&&o[0]&&e.setTargeting(o[0],o[1]||"")}))}(i=o[t]=o[t]||{}).cmd=i.cmd||[],typeof i.pubads===n?c():typeof i.cmd.unshift===n?i.cmd.unshift(c):i.cmd.push(c)})(window,"googletag","function");})(window,String.fromCharCode(97,100,109,105,114,97,108));!(function(t,c,i){i=t.createElement(c),t=t.getElementsByTagName(c)[0],i.async=1,i.src="https://playfulriver.com/public/db84721/a276f3d061edb2d3bfbe328a9a684-prod.js",t.parentNode.insertBefore(i,t)})(document,"script");'},p={init:function(t){if(d[t]){var e=document.createElement("script");e.type="text/javascript",e.innerHTML=d[t],document.head.appendChild(e)}}}},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")}},42235:function(t,e,n){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.head,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return new Promise((function(r,i){var o=document.createElement("script");o.onload=function(){return r(o)},o.onerror=function(){i("Script at url ".concat(t," failed to load"))},o.src=t,o.async=n,o.type="text/javascript",e.appendChild(o)}))}n.d(e,{v:function(){return r}})},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,{O1:function(){return o},BN:function(){return d}});var r=n(6294),i=n(20238),o=function(t,e,n){var o="",a={},c="?";if("email"===e){var u=n.body,s=n.title;o="mailto:",a={body:u||t},s&&(a.subject=s)}if("facebook"===e){var l=n.fbAppId,f=n.quote,d=n.redirectUri;o="https://www.facebook.com/dialog/share",a={href:t,app_id:l},f&&(a.quote=f),d&&(a.redirect_uri=d)}else if("lineapp"===e){var p=n.title;o="https://line.me/R/msg/text/?".concat(encodeURIComponent(p),"%0A%0A").concat(encodeURIComponent(t)),c="",a={}}else if("pinterest"===e){var h=n.images,m=n.title,v=h&&h[0]&&h[0].url?h[0].url:"";o="https://pinterest.com/pin/create/button/",a={url:t},m&&(a.description=m),v&&(a.media=v)}else if("sms"===e){var g=n.title;o="sms:",a={body:"".concat(g?g+"\n\n":"").concat(t)},c=(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,b=n.title;o="https://twitter.com/intent/tweet",a={url:t},b&&(a.text=b),y&&(a.via=y)}else if("vk"===e){var w=n.image,A=n.title;o="https://vk.com/share.php",a={url:t},w&&(a.image=w),A&&(a.title=A)}else if("whatsapp"===e){var k=n.title;o="https://wa.me/",a={text:"".concat(k?k+"\n\n":"").concat(t)}}return o?"".concat(o).concat((0,i.nZ)(a,c)):""},a={getShareUrl:o,redirect:function(t){"string"===typeof t&&t&&(window.location.href=t)}},c=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},u=n(57651);function s(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,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 f={copy:function(t,e,n){var r=e.getCopyText,i=l(e,["getCopyText"]);if("function"===typeof r){var o=r(function(t){for(var e=1;e0&&void 0!==s[0]?s[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((c=t.sent).ok){t.next=8;break}throw Error({type:"error",status:c.status,statusText:c.statusText});case 8:return t.next=10,c.json();case 10:if((u=t.sent)&&u.uploaded&&"false"!==u.uploaded){t.next=13;break}throw Error("Server error");case 13:return t.abrupt("return",u);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 c(t){o(a,r,i,c,u,"next",t)}function u(t){o(a,r,i,c,u,"throw",t)}c(void 0)}))});return function(){return e.apply(this,arguments)}}()},53407:function(t,e,n){"use strict";n.d(e,{bG:function(){return c},nH:function(){return u}});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))}},40237:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var r=n(94776),i=n.n(r),o=n(29644),a=n(20238),c="track/abtest",u="track/abeagle/request";var s=n(80352),l=n(18215),f=n(76635);function d(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function p(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,c,"next",t)}function c(t){d(o,r,i,a,c,"throw",t)}a(void 0)}))}}var h,m=[],v={},g={},y={},b=[],w=function(){return l.Z.getBuzzfeedSubdomainOrWildcard(window.location.hostname)},A=null;function k(t,e){g[t]=e,v[t]&&v[t].forEach((function(t){return t.resolve(e)}))}function S(t,e){return x.apply(this,arguments)}function x(){return(x=p(i().mark((function t(e,n){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.asyncIsEligible){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.asyncIsEligible();case 4:if(!t.sent){t.next=6;break}k(e.name,n);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function E(){m.forEach((function(t){t.asyncIsEligible?S(t,A):t.isEligible()&&k(t.name,A)}))}function P(t,e){var n=window.location.hostname.replace("www","");l.Z.remove(t,".".concat(n));var r=w(),i=r==="www.".concat(n)?14:1;l.Z.set({name:t,value:e,days:i,domain:r})}function j(t,e){window.bfa(t,{data:e})}function C(t){return Object.keys(t).forEach((function(e){var n="".concat(e,"_version"),r=t[e],i=r.value,o=r.version,a=r.error,u=r.resolved;if(a){var s={type:"ExperimentServerError",name:e,error:a};return y[e]=s,void(v[e]&&v[e].forEach((function(t){return t.resolve(A)})))}if(u&&(i=i||"control"),k(e,i),null===i){var f=w();return l.Z.remove(e,f),void l.Z.remove(n,f)}b.push([e,r.id,r.version,r.value,r.variant_id].join("|"));var d=l.Z.get(e)===String(i),p=l.Z.get(n)===String(o);d&&p||(P(e,i),P(n,o),j("".concat(c,"/").concat(e),{experiment:e,variation:r}))})),b}function T(t,e){var n=[];m.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)k(t,A);else{var i=t+"_metadata",o=r;o=JSON.stringify(o),o=escape(o),l.Z.get(i)!==o&&P(i,o)}}}))}function O(t){return(0,a.jH)(window.location.search)["abeagle_".concat(t)]}var _={registerExperiments:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];m=t,h=null},getExperimentMetaData:function(t){var e={};return t.forEach((function(t){var n=l.Z.get(t+"_metadata");try{n=unescape(n),n=JSON.parse(n),e[t]=n}catch(r){return}})),e},getExperimentVariant:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.rejectErrors,r=void 0===n||n,i=e.defaultVariantIfUnbucketed,o=void 0===i?"control":i,a=e.errorVariant,c=void 0===a?A:a,u=O(t);if(u)return Promise.resolve(u);var s,l=m.filter((function(e){return e.name===t}))[0],f=y[t];return l?l.isEligible()||l.asyncIsEligible||(f={type:"ExperimentNotEligible",name:t}):f={type:"ExperimentNotFound",name:t},f?!1===r?(this.defaultErrorHandler(f),s=Promise.resolve(c)):s=Promise.reject(f):s=t in g?Promise.resolve(g[t]):new Promise((function(e,n){v[t]?v[t].push({resolve:e,reject:n}):v[t]=[{resolve:e,reject:n}]})),o!==A&&(s=s.then((function(t){return t===A?o:t}))),s},isOn:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"on";return(0,f.isNil)(e)?Promise.reject("onValue cannot be null or undefined"):this.getExperimentVariant(t,{rejectErrors:!1}).then((function(t){return t===e}))},defaultErrorHandler:function(t){if(e=t,null!=(n=Error)&&"undefined"!==typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](e):e instanceof n)throw t;var e,n;if("prod"!==window.BZFD.Config.env)switch(t.type){case"ExperimentNotFound":console.log('Experiment "'.concat(t.name,'" is not registered'));break;case"ExperimentNotEligible":console.log('Experiment "'.concat(t.name,'" is not eligible'));break;case"ExperimentServerError":console.log("Experiment ".concat(t.name," error: ").concat(t.error))}},getVariants:function(t){if(t)return m.forEach((function(t){var e=l.Z.get(t.name);t.asyncIsEligible?S(t,e):t.isEligible()&&k(t.name,e)})),Promise.resolve();if(h)return Promise.resolve();var e=m.filter((function(t){return t.isEligible()})).map((function(t){return t.name}));return e.length?this.requestVariants(e):Promise.resolve()},requestVariants:function(t){var e=(new Date).getTime(),n=(0,o.TQ)();return s.Z.get("".concat(window.BZFD.Config.abeagle.url,"/public/v2/experiment_variants"),{data:{experiment_names:t.join(";"),user_id:n,client_id:"buzz_web"},timeout:1500}).then((function(n){j(u,{responseTime:Date.now()-e}),C(n),T(t,n)})).catch(E)},requestVariantsAsync:function(t){return p(i().mark((function e(){var n,r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.asyncIsEligible){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.asyncIsEligible();case 4:n=e.sent,delete t.asyncIsEligible,n?(t.isEligible=function(){return!0},(r=l.Z.get(t.name))?k(t.name,r):this.requestVariants([t.name])):k(t.name,A);case 7:case"end":return e.stop()}}),e,this)}))).apply(this)},saveExperiments:function(t){"undefined"!==typeof t.experimentsMap&&"undefined"!==typeof t.experimentNames&&(C(t.experimentsMap),T(t.experimentNames,t.experimentsMap))},start:function(t){var e=this;this.getVariants(t),t?t.start(m):m.forEach((function(t){if(t.asyncIsEligible)e.requestVariantsAsync(t);else if(t.isEligible()){var n=l.Z.get(t.name);n&&k(t.name,n)}else k(t.name,A)}))},reset:function(){m=[],v={},y={},g={},h=null,b=[]}}},80352:function(t,e,n){"use strict";var r=n(26528),i=n.n(r),o=n(41559),a=n(2601),c=n.n(a);function u(t){var e=[];for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];null!==r&&""!==r&&"undefined"!==typeof r&&e.push(n+"="+r)}return e.join("&")}function s(t){return new Promise((function(e,n){setTimeout((function(){return n({type:"timeout",msg:"".concat(t,"ms timeout exceeded")})}),t)}))}function l(t){var e=t.url;return function(t){return(0,o.x)("xhr",t.type||"error",{url:e,status:t.status||0}),Promise.reject(t)}}function f(t){return new Promise((function(e,n){c()(t,(function(t,r){return t?n(t):e(r)}))}))}function d(t){return t.ok?Promise.resolve(t):Promise.reject({type:"error",status:t.status,statusText:t.statusText,response:t})}function p(t){return t.json()}function h(t){return t.text()}function m(t){if("dev"!==BZFD.Config.env)return t;var e=t.indexOf("?")>-1?"&":"?";return t+e+"aW50ZWdyYWxpc3RfZGlkX3RoaXNfb25fMjAxOV8xMV8xMQ=="}e.Z={get:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.type,o=void 0===r?"json":r,a=n.data,c=void 0===a?{}:a,v=n.params,g=void 0===v?{}:v,y=n.skipAuth,b=n.timeout;if(!t)return Promise.reject("URL parameter is required");var w=Object.assign({credentials:"same-origin"},g),A=t,k=u(c);switch(k&&(A+=(A.indexOf("?")>-1?"&":"?")+k),y&&(A=m(A)),o){case"json":e=i()(A,w).then(d).then(p);break;case"text":e=i()(A,w).then(d).then(h);break;case"jsonp":e=f(A);break;default:e=Promise.reject("Unsupported type ".concat(o))}return(b?Promise.race([s(b),e]):e).catch(l({url:t}))},post:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.data,o=n.type,a=void 0===o?"json":o,c=n.params,f=void 0===c?{}:c,v=n.skipAuth,g=void 0!==v&&v,y=n.raw,b=void 0!==y&&y,w=n.timeout;if(!t)return Promise.reject("URL parameter is required");if(!r)return Promise.reject("Can not send POST request without data");g&&(t=m(t));var A=Object.assign({headers:{"Content-type":"application/x-www-form-urlencoded"},credentials:"same-origin"},f);switch(A.method="POST",A.body=b?r:u(r),a){case"json":e=i()(t,A).then(d).then(p);break;case"text":e=i()(t,A).then(d).then(h);break;default:e=Promise.reject("Unsupported type ".concat(a))}return(w?Promise.race([s(w),e]):e).catch(l({url:t}))}}},95609: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}})},93557:function(t,e,n){"use strict";n.d(e,{z:function(){return d}});var r=n(20238),i=(n(40237),n(80352)),o=n(76635),a=n(95609);var c={get isBPage(){try{return"buzz"in window.BZFD.Context}catch(t){return!1}},get hasQuizBadge(){try{return window.BZFD.Context.buzz.badges.filter((function(t){return"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 c.isFeedPage},get isFeed(){return!!window.BZFD.Context.isFeed},get isHomePage(){return!!BZFD.Context.homepage||"home"===c.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"===c.author},get author(){try{return c.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(e){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{var t,e=BZFD.Context.page.filters;for(var n in e)if(e[n].is_main){t=n;break}return t||null}catch(r){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(){var t="article";return c.hasQuiz?t="quiz":c.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(){var t,e;try{t=BZFD.Context.buzz.destination}catch(n){t=null}try{e=BZFD.Context.page.destination}catch(r){e=null}return t||e||"buzzfeed"},get isShopping(){try{return"Shopping"===c.pageCategory||-1!==c.allPageSections.indexOf("Shopping")}catch(t){return!1}},get isCommerce(){try{return!(!this.isShopping&&!c.buzzTags.some((function(t){return"intlcomtent"===t||"comtent"===t})))}catch(t){return!1}},get isCommunity(){return"Community"===c.pageCategory},get isAsIs(){try{return c.isBPage&&/^(As\/?Is)/im.test(c.pageClassification.section)||"asis"===c.pageName}catch(t){return!1}},get isBFO(){try{return"buzzfeed"===c.contextDestination}catch(t){return!1}},get isBFN(){try{return"buzzfeed_news"===c.contextDestination}catch(t){return!1}},get buzzId(){try{return BZFD.Context.buzz.id}catch(t){return""}},isAdPost:function(t){try{var e=function(t){var e=null;try{var n=(0,a.Z)(t,".js-buzz",!0);n&&(e=JSON.parse(n.querySelector("script").textContent).context)}catch(r){}return e}(t);return!!e.buzz.flags.ad}catch(n){}try{return!!BZFD.Context.buzz.flags.ad}catch(r){return!1}}},u=c,s=(n(43790),n(42252)),l="/site-component",f=function(t){var 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((function(n,r){var i=e[r],o=t[r];return o&&(n[i]=o),n}),{})};function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"v1",a=n&&"control"!==n?"".concat(t.uri,"/").concat(n):t.uri,c=e.origin||u.webRoot,d="".concat(c).concat(l,"/").concat(o),p=e.localization&&e.localization.getEdition?e.localization.getEdition():s.ZP.getEdition(e.service),h=t.edition(p,n);h&&(d="".concat(d,"/").concat(h));var m=f(e);Object.assign(m,e.extraParams);var v=Object.keys(m).length>0?(0,r.nZ)(m):"";return i.Z.get("".concat(d,"/").concat(a).concat(v),{skipAuth:!0}).then((function(e){return Promise.resolve(t.view(e))}))}},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;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.properties,r=void 0===n?["any"]:n,i=function(t){"any"in a?a.any(t):t.propertyName in a&&a[t.propertyName](t)},o=["transitionend","webkitTransitionEnd","mozTransitionEnd","oTransitionEnd"],a={},c=[];r.forEach((function(t){var e,n=new Promise((function(t){return e=t}));c.push(n),a[t]=e})),o.forEach((function(e){return t.addEventListener(e,i)}));var u=Promise.all(c);return u.unsubscribe=function(){o.forEach((function(e){return t.removeEventListener(e,i)}))},u.then(u.unsubscribe),u}"undefined"!==typeof document&&(function(){if(!c(document.createElementNS("http://www.w3.org/2000/svg","g").classList,DOMTokenList))try{Object.defineProperty(SVGElement.prototype,"classList",Object.getOwnPropertyDescriptor(HTMLElement.prototype,"classList")||Object.getOwnPropertyDescriptor(Element.prototype,"classList"))}catch(t){}}(),function(){try{var t=document.createElement("div");if(t.classList.add("foo","bar"),t.classList.contains("bar"))return;var e=DOMTokenList.prototype.add,n=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var t=arguments.length,n=new Array(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:0;"undefined"===typeof e&&(e=t,t=document.body);var r=t.children[n],i=function(e){return t.insertBefore(e,r)};return this.withNodeList(e,i)},remove:function(){for(var t=arguments.length,e=new Array(t),n=0;n-1};return function(t,n){return e.call(t,n)}}(),getViewPosition:function(t,e,n){var r=t.getBoundingClientRect(),i=o();n=n||0;var a=0-(e=e||0),c=i+e,u={top:r.top-n,bottom:r.bottom-n};return{isHidden:function(){return!t.offsetParent},isWithinViewport:function(){return u.top>=0&&u.bottom<=i},isWithinLookahead:function(){return u.top>=a&&u.bottom<=c},isPartiallyInViewport:function(){return u.top>=0&&u.top<=i||u.bottom>0&&u.bottom0?u.top0||Math.abs(u.bottom)t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e={useCountryCookie:!0};(0,r.isString)(t)&&(t="feedpager"===t?{useCountryCookie:!1}:{}),t=Object.assign({},e,t);var n=u().country,o=c(n.split("-"),2),a=o[0],s=o[1],f=void 0===s?"":s;if("en"===u().language&&t.useCountryCookie){var d,p=i.Z.get("country");p||(p=f||"us"),d=c(p.split("-"),2),a=d[0],(f=d[1])||"es"===a||(f=a,a=Object.keys(l).filter((function(t){return-1!==l[t].indexOf(a)}))[0])}return l[a]&&-1!==l[a].indexOf(f)?"".concat(a,"-").concat(f):"es"===a?"es":"en-us"},getRawPageLanguage:function(){return-1!==Object.keys(l).indexOf(u().language)?u().language:"en"},getPageLocale:function(){return u().locale},getUserCountry:function(){return i.Z.get("country")||"us"},getUserGeoCountry:function(){return i.Z.get("bf-geo-country")||"US"},getTranslation:function(t,e,n){if(!s()[t])throw new Error("Missing translation "+t+" for "+this.getRawPageLanguage());var r=n?{delimiters:n}:{};return o.Z.renderString(s()[t],e,r)},getTranslationStr:f,getDateFormatTemplate:function(){switch(u().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}}"}}}},41559:function(t,e,n){"use strict";n.d(e,{x:function(){return o}});n(76635);var r="track/website/instrumentation";var i=["samplingRate"];function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"===typeof window.bfa){i.some((function(t){return n.hasOwnProperty(t)}))&&(o=n,n={});var a=o.samplingRate,c=o.platform,u={data:{target:t,value:e,tags:n}};c&&(u.data.platform=o.platform),a&&(a>1?"dev"===window.BZFD.Config.env&&console.error("Your sampling rate is above 100%."):Object.assign(u,{opts:{samplingRate:a}})),window.bfa(r,u)}else"undefined"!==typeof window.raven&&window.raven.captureException(new Error("Instrumentation tracking issue: BFA is not available"))}},37083:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(42252);function i(t){return t.env?(t.env.addFilter("tojson",t.env.filters.dump),t.env.addFilter("prependClickTracker",(function(t,e){return function(t,e){return!t||t.length<0?e:t+encodeURIComponent(e)}(e,t)})),t.env.addFilter("l10n",(function(t,e){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{var n=(0,r.ME)(t);return n.length<=0?e:n}catch(i){console.error("error fetching translation: "+i)}return e}(e,t)})),t.env.addFilter("regex_match",(function(t,e){return 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}},46658:function(t,e,n){"use strict";var r=n(50112),i=n.n(r);e.Z={renderString:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i().compile(t,n).render(e)}}},34686:function(t,e,n){"use strict";n.d(e,{MA:function(){return h},Ul:function(){return g},BH:function(){return y}});var r=n(76635),i=n(41559);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function c(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function u(t,e){return null!=e&&"undefined"!==typeof Symbol&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function s(t,e){return!e||"object"!==f(e)&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t,e){return l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},l(t,e)}var f=function(t){return t&&"undefined"!==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=a(t);if(e){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}var p={};function h(t,e){return t+"-"+e.id}p.getKeys=function(t){var e;if(Object.keys)return Object.keys(t);for(var n in e=[],t)t.hasOwnProperty(n)&&e.push(n);return e},p.getUniqueEventName=h,p.capitalize=function(t){return"string"!==typeof t?t:t.replace(/\w+/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))},p.hasQueryString=function(t){return t.indexOf("?")>-1},p.removeHash=function(t){return(t+="").indexOf("#")>-1?t.substr(0,t.indexOf("#")):t},p.removeQueryString=function(t){return(t+="").indexOf("?")>-1?-1===t.indexOf("#")?t.substr(0,t.indexOf("?")):t.substr(0,t.indexOf("?"))+t.substr("#",t.length):t},p.getQueryString=function(t){var e="";return(t=p.removeHash(t)).indexOf("?")>-1&&(e=t.substr(t.indexOf("?"),t.length)),e},p.getHash=function(t){return(t+="").indexOf("#")>-1?t.substr(t.indexOf("#"),t.length):""},p.queryStringToObject=function(t){if(""===t||void 0===t||null===t)return{};var e,n=t.split("&"),r={};return p.each(n,(function(t,n){""===(e=n.split("="))[1]&&(e[1]=null),r[e[0]]=e[1]})),r},p.objectToQueryString=function(t){var e=[];return p.each(t,(function(t,n){e.push(t+"="+n)})),"?"+e.join("&")},p.getBaseUrl=function(t){return t=p.removeHash(t),t=p.removeQueryString(t)},p.addParams=function(t,e){var n,r,i=p.getQueryString(t),o=p.getHash(t);return t=p.removeHash(t),t=p.removeQueryString(t),i=p.queryStringToObject(i.substr(1,i.length)),p.each(e,(function(t,e){n=e[0],r=e[1],i[n]=r})),t+p.objectToQueryString(i)+o},p.removeParams=function(t,e){var n=p.getBaseUrl(t),r=p.getQueryString(t),i=p.getHash(t),o=p.queryStringToObject(r.substr(1,r.length));return p.each(e,(function(t,e){delete o[e]})),n+p.objectToQueryString(o)+i},p.prepareUrl=function(t,e){var n=[];return p.each(e,(function(t,e){"undefined"!==typeof e&&n.push([t,encodeURIComponent(e)])})),p.addParams(t,n)},p.redirect=function(t){"string"===typeof t&&t&&(window.location.href=t)},p.openPopup=function(t,e){if("string"===typeof t&&t){var n="_blank",r="";if(e&&e.height&&e.width){var i=window.screen.height/2-e.height/2,o=window.screen.width/2-e.width/2;r="scrollbars=yes, toolbar=0, status=0, width="+e.width+", height="+e.height+", top="+i+", left="+o,n=e.name?e.name:n}window.open(t,n,r)}},p.urlToId=function(t){var e=t;try{e=new URL(t).pathname}catch(n){}return"/"===e.charAt(0)&&(e=e.slice(1,e.length)),e.replace(/\//g,"_")},p.each=function(t,e){if(Array.isArray(t))t.forEach((function(t,n){return e(n,t)}));else for(var n in t)t.hasOwnProperty(n)&&e(n,t[n])},p.extend=r.merge,p.getQueryParams=function(){var t=window.location.search.substring(1),e={};return t&&t.split("&").forEach((function(t){var n=t.split("="),r=decodeURIComponent(n[0]),i=decodeURIComponent(n.slice(1).join("="));e[r]=i})),e},p.addQueryParam=function(t,e,n){return(t=t||window.location.href)+(t.split("?")[1]?"&":"?")+e+"="+n},p.largeNumberNotation=function(t){return t<1e3?t:t<1e4?t.toString().charAt(0)+","+t.toString().substring(1):t>=1e6?(t/1e6).toFixed(t%1e6!==0)+"M":(t/1e3).toFixed(t%1e3!==0)+"K"},p.numberWithCommas=function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},p.min=function(){return Math.min.apply(Math,Array.prototype.filter.call(arguments,(function(t){return!isNaN(+t)})))},p.toQueryString=function(t){var e=[];return this.each(t,(function(t,n){null!==n&&""!==n&&"undefined"!==typeof n&&e.push(t+"="+n)})),e.join("&")},p.getMessageHandler=function(t){return function(e,n){var r=t[e];"function"===typeof r&&r.call(this,n)}},p.getEventHandler=function(t){return function(e,n,r){var i=t[r];"function"===typeof i&&i.call(this,e,n)}},p.padLeft=function(t,e,n){for(var r=n-t.toString().length,i="",o=0;o=1?{type:"year",value:e,text:e+" "+(1===e?n[0]:n[1])+" ago"}:(e=Math.floor(u/2592e3))>=1?{type:"month",value:e,text:e+" "+(1===e?r[0]:r[1])+" ago"}:(e=Math.floor(u/86400))>=1?{type:"day",value:e,text:e+" "+(1===e?i[0]:i[1])+" ago"}:(e=Math.floor(u/3600))>=1?{type:"hour",value:e,text:e+" "+(1===e?o[0]:o[1])+" ago"}:(e=Math.floor(u/60))>1?{type:"minute",value:e,text:e+" "+(1===e?a[0]:a[1])+" ago"}:{type:"now",value:"",text:c[0]}},p.bulkDelete=function(t,e){p.each(t,(function(t,n){delete e[n]}))},p.bfaTrack=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.bfa&&u(window.bfa,Function)&&window.bfaBinder&&window.bfa(t,e)},p.getScreenOrientation=function(){if(screen.orientation&&screen.orientation.type)return screen.orientation.type.replace("-primary","");if(window.orientation)return 90===Math.abs(window.orientation)?"landscape":"portrait";if(window.matchMedia){if(window.matchMedia("(orientation: portrait)").matches)return"portrait";if(window.matchMedia("(orientation: landscape)").matches)return"landscape"}return"landscape"},p.isIOSIPad="undefined"!==typeof navigator&&!!navigator.userAgent.toLowerCase().match(/ipad/),p.isIOSMobile="undefined"!==typeof navigator&&!!navigator.userAgent.toLowerCase().match(/iphone|ipod/);var m=p.isIOSIPad||p.isIOSMobile;p.isIOS=m;var v=/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!==typeof safari&&safari.pushNotification).toString();function g(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=t;return function(){return e++}}p.isSafari=v,p.createScript=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.head,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return new Promise((function(o,a){var c=document.createElement("script");c.onload=function(){return o(c)},c.onerror=function(t){(0,i.x)("script","error",{url:(0,r.get)(t,"currentTarget.src","").split("?")[0]}),a("Script failed to load")},c.src=t,c.async=n,e.appendChild(c)}))},p.createStyleSheet=function(t){return new Promise((function(e,n){var r=document.createElement("link");r.rel="stylesheet",r.href=t,r.onload=function(){return e(r)},r.onerror=function(){return n("".concat(t," failed to load"))},document.head.appendChild(r)}))},p.stripHTML=function(t){var e=Array.isArray(t)?[]:{},n=document.createElement("div");switch("undefined"===typeof t?"undefined":f(t)){case"string":return n.innerHTML=t,n.textContent||"";case"object":return p.each(t,(function(t,n){return e[t]=p.stripHTML(n)})),e}return t},p.truncate=function(t,e){if(!t||!t.textContent||!t.textContent.length)return 0;var n=t.textContent,r=t.textContent.substring(0,e),i=t.innerHTML?t.innerHTML.substring(0,e):null;if(!t.innerHTML||r===i)return t.textContent=n===r?r:r.replace(/\s*$/,"")+"...",r.length;var o=0;return p.each(t.childNodes,(function(n,r){o>=e?t.removeChild(r):o+=p.truncate(r,e-o)})),t.textContent.length},p.decorateWithMixins=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{},i=r.unsubscribe,a=void 0===i?function(){}:i;o(this,t);var c=new Promise((function(t,r){e=t,n=r}));return c.resolve=e,c.reject=n,c.unsubscribe=a,c};p.Deferred=y,p.moduleIsInContext=function(){return!0},e.ZP=p},21038:function(t,e,n){"use strict";n.d(e,{Yx:function(){return C},TD:function(){return P},Xw:function(){return E},hi:function(){return i},ZP:function(){return gt},MS:function(){return r},jQ:function(){return o}});var r={};n.r(r),n.d(r,{doesConsentApply:function(){return O},getConsentFramework:function(){return z},getConsentFrameworkAsString:function(){return $},isConsentStringCookieSet:function(){return R},needsCCPAConsent:function(){return I},needsConsent:function(){return _},needsGDPRConsent:function(){return L}});var i={};n.r(i),n.d(i,{configure:function(){return Q},getInAppTCData:function(){return nt},getTCData:function(){return rt},getUSPData:function(){return ot},init:function(){return tt},setTCFListener:function(){return et},setUSPDefaultData:function(){return at},uspApi:function(){return it}});var o={};n.r(o),n.d(o,{fetchAdPurposeConsent:function(){return st},fetchCCPAOptOut:function(){return dt},fetchCCPAValue:function(){return ft},fetchRawPublisherConsents:function(){return ht},fetchRawVendorConsents:function(){return pt},fetchTrackingConsent:function(){return mt},hasConsented:function(){return vt},isEligibleForCCPA:function(){return lt}});var a=n(3379),c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.CDN_URL?window.CDN_URL:window.location.href;return-1!==t.search("[?&]?s=mobile_app([&#]|$)")},u=n(20238);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n>",p="bf-consent-debug",h="ccpa",m="gdpr",v=c()?{}:(0,u.dn)(window.location.search),g=function(){return!c()&&"true"===v[p]},y=function(){for(var t=arguments.length,e=new Array(t),n=0;n using BF Cookie":"Force -> ".concat(v.ccpa)),t=!0),"true"===v.ccpa):r===m?(e||(y("isDebugModeFor('".concat(m,"')"),"undefined"===typeof v.gdpr?"Unset -> using BF Cookie":"Force -> ".concat(v.gdpr)),e=!0),"true"===v.gdpr):(n||(y("isDebugModeFor('".concat(r,"')"),"No Setup for '".concat(r,"'")),n=!0),!1)}}(),w=[754],A=[359,360],k={INFORMATION_STORAGE:0,BASIC_ADS:1,CREATE_PERSONALISED_ADS:2,SELECT_PERSONALISED_ADS:3,CREATE_PERSONALISED_CONTENT_PROFILE:4,SELECT_PERSONALISED_CONTENT:5,MEASURE_AD_PERFORMANCE:6,MEASURE_CONTENT_PERFORMANCE:7,APPLY_MARKET_RESEARCH:8,DEVELOP_PRODUCTS:9},S="gdpr",x="ccpa",E="bf-rev-geo",P="eupubconsent-v2",j={"buzzfeed.bio":"30e86c5d-cf1a-40d8-b336-0b96685da11b","buzzfeed.com":"92123775-81ac-4a1b-b056-24d62d0e177f","buzzfeed.io":"39435fbf-e858-4eac-a529-5e12c567dc68","buzzfeednews.com":"38444766-23c0-4265-b9b9-49714f31124a","tasty.co":"0fb7adfb-5bc5-42bf-b659-28c1c288282c"},C={name:"consent_management_onetrust",variations:["on","off"],isEligible:function(){return!0}},T=function(t){return t&&"undefined"!==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ccpa";return b(t)?"true":"ccpa"===t?a.Z.get(x):"gdpr"===t?a.Z.get(S):"false"},_=function(){if(c())return!1;var t=O("gdpr"),e=O("ccpa");return"true"===t||"true"===e},L=function(){return!c()&&"true"===O("gdpr")},I=function(){return!c()&&"true"===O("ccpa")},R=function(){var t=a.Z.get(P),e=a.Z.get("usprivacy");return"string"===typeof t||"string"===typeof e&&"Y"===e.charAt(2)},z=function(){return function(){!function(){var t,e="__tcfapiLocator",n=[],r=window;for(;r;){try{if(r.frames.__tcfapiLocator){t=r;break}}catch(i){}if(r===window.top)break;r=r.parent}t||(!function t(){var n=r.document,i=!!r.frames.__tcfapiLocator;if(!i)if(n.body){var o=n.createElement("iframe");o.style.cssText="display:none",o.name=e,n.body.appendChild(o)}else setTimeout(t,5);return!i}(),r.__tcfapi=function(){var t,e=arguments;if(!e.length)return n;if("setGdprApplies"===e[0])e.length>3&&2===e[2]&&"boolean"===typeof e[3]&&(t=e[3],"function"===typeof e[2]&&e[2]("set",!0));else if("ping"===e[0]){var r={gdprApplies:t,cmpLoaded:!1,cmpStatus:"stub"};"function"===typeof e[2]&&e[2](r)}else n.push(e)},r.addEventListener("message",(function(t){var e="string"===typeof t.data,n={};try{n=e?JSON.parse(t.data):t.data}catch(i){}var r=n.__tcfapiCall;r&&window.__tcfapi(r.command,r.version,(function(n,i){var o={__tcfapiReturn:{returnValue:n,success:i,callId:r.callId}};e&&(o=JSON.stringify(o)),t.source.postMessage(o,"*")}),r.parameter)}),!1))}();var t=function(){var e=arguments;T(window.__uspapi)!==t&&setTimeout((function(){"undefined"!==typeof window.__uspapi&&window.__uspapi.apply(window.__uspapi,e)}),500)};"undefined"===typeof window.__uspapi&&(window.__uspapi=t);var e=1e4,n=window.Promise;return n.all([n.race([new n((function(t){window.__tcfapi("getInAppTCData",2,t)})),new n((function(t,n){setTimeout((function(){n("__tcfapi stub is defined, but CMP has not loaded within 10000ms")}),e)}))]),n.race([new n((function(t){window.__uspapi("getUSPData",1,t)})),new n((function(t,n){setTimeout((function(){n("__uspapi stub is defined, but CMP has not loaded within 10000ms")}),e)}))])])}},$=function(){return"(".concat(z().toString(),")();")},M=n(94776),Z=n.n(M),B=n(60567),D=n.n(B);function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var U=function t(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.unsubscribe,o=void 0===i?function(){}:i;N(this,t);var a=new Promise((function(t,r){e=t,n=r}));return a.resolve=e,a.reject=n,a.unsubscribe=o,a};function F(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function H(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){F(o,r,i,a,c,"next",t)}function c(t){F(o,r,i,a,c,"throw",t)}a(void 0)}))}}var V=1e4,G="https://cdn.cookielaw.org",q=new U,W=new U;W.then((function(t){y("=== OT READY ===",t)})),q.then((function(t){y("=== CMP READY ===",t)}));var Y,X=function(){if(window.location.search.includes("display-consent")){y("forcing display consent");var t=setInterval((function(){window.OneTrust&&document.getElementsByClassName("onetrust-pc-dark-filter").length>0&&(window.OneTrust.ToggleInfoDisplay(),clearInterval(t))}),500)}};function Q(){Y.set({useFallback:!1})}function J(){return new Promise((function(t,e){if(I()){var n=document.createElement("script");n.setAttribute("ccpa-opt-out-ids","SPD_BG"),n.setAttribute("ccpa-opt-out-geo","us"),n.setAttribute("ccpa-opt-out-lspa","false"),n.onerror=function(){e("CMP script otCCPAiab.js failed to load")},n.src="".concat(G,"/opt-out/otCCPAiab.js"),n.type="text/javascript",document.head.appendChild(n)}var r=document.createElement("script"),i=document.createElement("script"),o=function(){var t=g()?"-test":"",e=window.location.hostname;if(!e)return"".concat(j["buzzfeed.com"]).concat(t);var n=Object.keys(j).find((function(t){return e.includes(t)}));return n?"".concat(j[n]).concat(t):"".concat(j["buzzfeed.com"]).concat(t)}();y("OneTrust script ID:",o),r.setAttribute("data-domain-script",o),r.onload=function(){return t()},r.onerror=function(){e("CMP script stub failed to load")},r.src="".concat(G,"/scripttemplates/otSDKStub.js"),r.async=!0,r.type="text/javascript",i.text="function OptanonWrapper() { }",i.onerror=function(){e("CMP script OptanonWrapper failed to load")},i.type="text/javascript",document.head.appendChild(r),document.head.appendChild(i)}))}function K(){return(K=H(Z().mark((function t(){var e;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!document.querySelector('script[src*="'.concat(G,'"]'))){t.next=3;break}return t.abrupt("return");case 3:return t.prev=3,t.next=6,J();case 6:t.next=12;break;case 8:t.prev=8,t.t0=t.catch(3),y("CMP load error! throwing error..."),console.error("Error loading CMP",t.t0);case 12:e=setInterval((function(){if(window.OneTrust&&"function"===typeof window.OneTrust.getGeolocationData){clearInterval(e);var t=window.OneTrust.getGeolocationData();t&&(null===t||void 0===t?void 0:t.country)&&a.Z.set({name:E,value:null===t||void 0===t?void 0:t.country,days:30,domain:window.location.hostname}),window.__uspapi?W.resolve({ccpaApplies:!0,gdprApples:!1,tcfapi:null,uspapi:window.__uspapi}):window.__tcfapi?W.resolve({ccpaApplies:!1,gdprApples:!0,tcfapi:window.__tcfapi,uspapi:null}):W.resolve({ccpaApplies:!1,gdprApplies:!1,tcfapi:null,uspapi:null})}}),10),X(),Promise.race([W,new Promise((function(t){var e=setInterval((function(){window.__uspapi&&(t({ccpaApplies:!0,gdprApples:!1,tcfapi:null,uspapi:window.__uspapi}),clearInterval(e))}),10)})),new Promise((function(t){var e=setInterval((function(){window.__tcfapi&&(t({ccpaApplies:!1,gdprApplies:!0,tcfapi:window.__tcfapi,uspapi:null}),clearInterval(e))}),10)})),new Promise((function(t,e){setTimeout((function(){y("CMP timed out! throwing error..."),e("CMP has not loaded within 10000ms")}),V)}))]).then((function(t){q.resolve(t)}));case 15:case"end":return t.stop()}}),t,null,[[3,8]])})))).apply(this,arguments)}!function(){var t;(Y=new Promise((function(e){return t=e}))).set=t}();var tt=D()((function(){return K.apply(this,arguments)})),et=function(){var t=H(Z().mark((function t(e){var n,r,i;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q;case 2:if(n=t.sent,r=n.gdprApplies,i=n.tcfapi,r){t.next=8;break}return y("setTCFListener -- gdpr does not apply"),t.abrupt("return");case 8:i("addEventListener",2,(function(t,n){e({tcData:t,success:n})}));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),nt=function(){var t=H(Z().mark((function t(){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q;case 2:if(t.sent.gdprApplies){t.next=6;break}return y("getInAppTCData -- gdpr does not apply"),t.abrupt("return",Promise.resolve({tcData:{gdprApplies:!1}}));case 6:return t.abrupt("return",new Promise((function(t,e){window.__tcfapi("getInAppTCData",2,(function(n,r){r?(y("getInAppTCData Success",n,r),t({tcData:n,success:r})):(y("getInAppTCData Failed",n,r),e(r))}))})));case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),rt=nt,it=function(){var t=H(Z().mark((function t(e){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q;case 2:if(t.sent.ccpaApplies){t.next=5;break}return t.abrupt("return",{uspData:{version:1,uspString:"1---"}});case 5:return t.abrupt("return",new Promise((function(t){window.__uspapi(e,1,(function(e,n){t({uspData:e,success:n})}))})));case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ot=function(){var t=H(Z().mark((function t(){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q;case 2:return y("getUSPData",it("getUSPData")),t.abrupt("return",it("getUSPData"));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),at=function(){var t=H(Z().mark((function t(){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,q;case 2:return t.abrupt("return",it("setUspDftData"));case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function ct(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function ut(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ct(o,r,i,a,c,"next",t)}function c(t){ct(o,r,i,a,c,"throw",t)}a(void 0)}))}}var st=function(){var t=ut(Z().mark((function t(){var e,n,r,i,o,a,c,u=arguments;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:null,t.next=3,nt();case 3:if(n=t.sent,r=n.success,!(i=n.tcData)||!("gdprApplies"in i)||i.gdprApplies){t.next=8;break}return t.abrupt("return",!0);case 8:if("1"===(o=i.purpose.consents)[k.INFORMATION_STORAGE]){t.next=11;break}return t.abrupt("return",!1);case 11:return a=i.vendor.consents||"",c=null===e||e&&a&&e.every((function(t){return"1"===a[t]})),t.abrupt("return",r&&o&&"1"===o[k.INFORMATION_STORAGE]&&"1"===o[k.CREATE_PERSONALISED_ADS]&&"1"===o[k.SELECT_PERSONALISED_ADS]&&"1"===o[k.APPLY_MARKET_RESEARCH]&&"1"===o[k.DEVELOP_PRODUCTS]&&c);case 14:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),lt=function(){var t=ut(Z().mark((function t(){var e,n,r,i;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(y("isEligibleForCCPA...",I()),I()){t.next=3;break}return t.abrupt("return",!1);case 3:return t.next=5,ot();case 5:return e=t.sent,n=e.success,r=e.uspData,i=r.uspString,y("uspData",r,n),t.abrupt("return","1---"!==i);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),ft=function(){var t=ut(Z().mark((function t(){return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,lt();case 2:return t.sent&&document.querySelector("html").classList.add("show-ccpa"),t.abrupt("return",a.Z.get("usprivacy"));case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),dt=function(){var t=ut(Z().mark((function t(){var e;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ft();case 2:return e=t.sent,t.abrupt("return","string"===typeof e&&"Y"===e.charAt(2));case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),pt=function(){var t=ut(Z().mark((function t(e){var n,r,i;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt();case 2:if(n=t.sent.tcData,r=n.vendor.consents,e){t.next=6;break}return t.abrupt("return",r);case 6:return i={},e.forEach((function(t){i[t]=r[t]})),t.abrupt("return",i);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ht=function(){var t=ut(Z().mark((function t(e){var n,r,i;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,nt();case 2:if(n=t.sent.tcData,r=n.publisher.consents,e){t.next=6;break}return t.abrupt("return",r);case 6:return i={},e.forEach((function(t){i[t]=r[t]})),t.abrupt("return",i);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),mt=function(){var t=ut(Z().mark((function t(){var e,n,r,i,o,a,c,u=arguments;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:null,t.next=3,dt();case 3:if(!t.sent){t.next=6;break}return t.abrupt("return",!1);case 6:if(L()){t.next=8;break}return t.abrupt("return",!0);case 8:return t.next=10,nt();case 10:if(n=t.sent,r=n.tcData,i=n.success,t.prev=13,!("gdprApplies"in r)||r.gdprApplies){t.next=16;break}return t.abrupt("return",!0);case 16:return o=r.vendor.consents||"",a=r.purpose.consents||"",c=null===e||e&&o&&e.every((function(t){return"1"===o[t]})),t.abrupt("return",i&&a&&"1"===a[k.INFORMATION_STORAGE]&&"1"===a[k.CREATE_PERSONALISED_CONTENT_PROFILE]&&c);case 22:return t.prev=22,t.t0=t.catch(13),t.abrupt("return",!1);case 25:case"end":return t.stop()}}),t,null,[[13,22]])})));return function(){return t.apply(this,arguments)}}(),vt=function(){var t=ut(Z().mark((function t(e){var n,r;return Z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n={ads:st,google:st.bind(null,w),tracking:mt,permutive:mt.bind(null,A)},!(r=n[e])){t.next=8;break}return t.next=5,r();case 5:t.t0=t.sent,t.next=9;break;case 8:t.t0=!1;case 9:return t.abrupt("return",t.t0);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),gt={framework:r,rules:o,api:i}},76021:function(t,e,n){"use strict";n.d(e,{z:function(){return l}});var r=n(2784),i=n(13980),o=n.n(i),a=n(81298),c=(n(10513),{backToTop:"backToTop__2VLzb",default:"default__1EElP",arrow:"arrow__2fsrk",inverted:"inverted__SQ4aq",visible:"visible__2UC0u",showSlow:"showSlow__1iRjw"}),u=n(56828),s=n.n(u),l=function(t){var e=t.theme,n=void 0===e?"default":e,i=t.label,o=void 0===i?"Back to top":i,u=t.className,l=void 0===u?"":u,f=t.scrollRef,d=t.track,p=(0,r.useState)(""),h=p[0],m=p[1],v=(0,r.useState)(!1),g=v[0],y=v[1],b=(0,r.useState)(),w=b[0],A=b[1];return(0,r.useEffect)((function(){var t=window;f&&f.current&&f.current.id&&(t=f.current,m(t.id));var e=s()((function(){var e=t.scrollTop,n=t.scrollY,r=t.pageYOffset;y(e>20||n>20||r>20)}),100);return t.addEventListener("scroll",e),A(t),function(){t.removeEventListener("scroll",e)}}),[f]),w?r.createElement("a",{href:"#".concat(h),onClick:function(t){w&&w.scroll&&(t.preventDefault(),t.stopPropagation(),w.scroll({top:0,left:0,behavior:"smooth"}),h&&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(c.backToTop," ").concat(c[n]," ").concat(l," ").concat(g?c.visible:""),title:o},r.createElement(a.Hf,{className:c.arrow,"aria-hidden":!0,title:o})):null};l.propTypes={theme:o().oneOf(["default","inverted"]),label:o().string,className:o().string}},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 p},Hf:function(){return h},VA:function(){return m},BN:function(){return v},QU:function(){return g},KM:function(){return y},ow:function(){return b},P7:function(){return w},iH:function(){return S},k$:function(){return A},EJ:function(){return k},qt:function(){return X},Vq:function(){return x},JT:function(){return E},UR:function(){return P},U6:function(){return Q},_8:function(){return j},rg:function(){return T},h_:function(){return C},Yk:function(){return O},zb:function(){return _},xP:function(){return L},bV:function(){return I},e2:function(){return R},$K:function(){return Y},fu:function(){return K},fp:function(){return z},Tk:function(){return M},rC:function(){return Z},cH:function(){return B},o1:function(){return D},HA:function(){return J},rK:function(){return $},Zr:function(){return N},sF:function(){return U},XH:function(){return F},Zm:function(){return H},Wr:function(){return V},Oo:function(){return G},yB:function(){return q},b0:function(){return W}});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 s(t){var e=t.viewBox,n=t.title,o=t.path,a=u(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(s,t)}function f(t){if(!t.contentFill)return i.createElement(s,t);var e=t.viewBox,n=t.title,o=t.path,a=t.contentFill,c=u(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"},c),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(c({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))},p=function(t){return l(c({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))},h=function(t){return l(c({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){return l(c({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 l(c({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))},g=function(t){return l(c({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(c({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))},b=function(t){return f(c({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))},w=function(t){return f(c({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))},A=function(t){return f(c({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))},k=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,c=u(t,["title","fill"]),s=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"},c),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:s},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(s,")")}),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"})))},x=function(t){return l(c({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))},E=function(t){return l(c({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))},P=function(t){return l(c({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))},j=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"}))},C=function(t){return l(c({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))},T=function(t){return l(c({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))},O=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"}))},_=function(t){return l(c({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))},L=function(t){return l(c({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))},I=function(t){return l(c({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))},R=function(t){var e=t.title,n=void 0===e?"Menu":e,o=t.width,a=void 0===o?18:o,c=t.height,s=void 0===c?4:c,l=u(t,["title","width","height"]);return i.createElement("svg",(0,r.Z)({width:a,height:s,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"})))},z=function(t){return l(c({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))},$=function(t){return l(c({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))},M=function(t){return l(c({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))},Z=function(t){return l(c({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))},B=function(t){return l(c({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))},D=function(t){return l(c({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))},N=function(t){return l(c({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))},U=function(t){return l(c({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))},F=function(t){return l(c({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))},H=function(t){return l(c({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))},V=function(t){return l(c({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))},G=function(t){return l(c({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(c({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))},W=function(t){return l(c({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))},Y=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"}))},X=function(t){var e=t.color,n=void 0===e?"#000000":e,o=u(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"}))},Q=function(t){var e=t.color,n=void 0===e?"#000000":e,o=u(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"}))},J=function(t){var e=t.color,n=void 0===e?"#000000":e,o=u(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"}))},K=function(t){var e=t.color,n=void 0===e?"#000000":e,o=u(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"}))}},17967:function(t,e,n){"use strict";n.d(e,{T:function(){return V}});var r=n(2784),i=n(13980),o=n.n(i);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1)R({type:"SHOW_PINTEREST_IMAGE_CHOOSER"});else{var r=(0,l.BN)(z,d,k,M);if("copy"===d){var i=Date.now(),o={position:k.tooltipPosition?k.tooltipPosition:"top",text:e(r?"copySuccessText":"copyFailText"),themes:r?["dark","success"]:["error"]};R({type:"SHOW_TOOLTIP",id:i,tooltip:o}),setTimeout((function(){R({type:"HIDE_TOOLTIP",id:i})}),3e3)}}E&&"function"===typeof E&&E()},href:$},r.createElement("div",{"aria-hidden":!0,className:N.iconContainer},r.createElement("div",{className:N.icon},r.createElement(U[d],{className:N.svg}))),x?r.createElement("span",{className:N.shareText},s||F):null),V,G)}V.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","square","outlineMonochrome","fillBlue"])}},52114:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var r=n(2784),i=n(13980),o=n.n(i),a=n(83199),c=n(6294),u=n(59855),s=n(27625),l=n(85953),f=(n(85266),"aBeagleFlipper__1Sq4F"),d="aBeagleFlipperTitle__2tWV1",p="toggleOpen__2iMAk",h="toggleClosed__11-zU",m="visuallyHidden__TCHEd",v="panel__3Hima",g="controls__20xVx",y="experimentList__EunKK",b="experimentListItem__-wLwY",w="actions__1Anym",A="primary__3JC83",k="empty__27yvl",S=n(81298);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}var E="abeagle_";function P(t){var e=function(t){return function(e){var n=e.target,r=n.options[n.selectedIndex].value;r!==T[t]&&O(function(t){for(var e=1;e0,l=(0,r.useState)(!1),P=l[0],j=l[1],C=(0,r.useState)({}),T=C[0],O=C[1],_=(0,r.useState)(!c),L=_[0],I=_[1],R=(0,r.useState)(""),z=R[0],$=R[1],M=(0,r.useState)(""),Z=M[0],B=M[1];return(0,r.useEffect)((function(){var t=Object.keys(u).reduce((function(t,e){return t[e]=u[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(E)&&(t[n.replace(E,"")]=e,r.delete(n))})),n+="?".concat(r.toString())}O(t),B(n),j(!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(E).concat(e)]=T[e])})),Object.keys(t).length>0){var e=new URLSearchParams(t),r=Z.includes("?")?"".concat(Z,"&"):"".concat(Z,"?");$("".concat(r).concat(e.toString()))}else $(Z)}),[T,Z,L]),P?r.createElement("section",{className:"".concat(f," ").concat(o),"aria-labelledby":"abeagle-flipper-title"},r.createElement("div",{className:d},r.createElement("h2",{id:"abeagle-flipper-title"},"Active A/B Tests on Current Page"),r.createElement("button",{type:"button",onClick:function(){I(!L)},title:L?"Hide All":"Show All",className:L?p:h},r.createElement("span",{className:m},L?"Hide":"Show"," All"),r.createElement(S.VA,{width:30,title:L?"Hide All":"Show All","aria-hidden":"true"}))),L&&r.createElement("div",{className:v},s&&r.createElement("div",{className:g},r.createElement("ul",{className:y},Object.keys(u).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:w},r.createElement("a",{href:z,className:A},"Save and Reload"),r.createElement("a",{href:Z},"Reset All"))),!s&&r.createElement("p",{className:k},"No experiments active on this page."))):null}function j(t){var e=t.experiments,n=t.className,i=t.collapse;return e&&e.loaded?r.createElement(P,{experiments:e,className:n,collapse:i}):null}P.propTypes={experiments:o().object,className:o().string,collapse:o().bool};var C=n(81550),T=n(410);function O(t){var e=t.css,n=t.html,i=t.js,o=t.stickyHeaderClass,f=void 0===o?"js-main-nav":o,d=t.stickyRegistry,p=void 0===d?u.Z:d,h=(0,r.useRef)(null);(0,r.useEffect)((function(){(0,a.ve)(i)}),[i]),(0,r.useEffect)((function(){if(!h.current||!f)return function(){};var t=h.current.querySelector(".".concat(f));return t&&((0,c.tq)()?p.remove(t):p.add(t,{priority:"high"})),function(){t&&p.remove(t)}}),[f,p]);var m=(0,r.useContext)(s.Z).experiments,v=!l.sk&&window.location.search.includes("abdebug"),g=!l.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"}),v?r.createElement(j,{experiments:m,collapse:g}):"",r.createElement("div",{dangerouslySetInnerHTML:{__html:n}}))}O.propTypes={css:o().string,html:o().string.isRequired,js:o().string.isRequired,stickyRegistry:o().object,stickyHeaderClass:o().string};var _=(0,C.Z)(O,{onError:T.Tb})},31781:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(2784),i=n(13980),o=n.n(i),a=n(81298),c=(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 u(t){var e,n=t.className,i=void 0===n?"":n,o=t.container,u=t.position,s=void 0===u?"top":u,l=t.shouldShow,f=void 0===l||l,d=t.text,p=void 0===d?"":d,h=t.themes,m=void 0===h?["default"]:h,v=(0,r.useState)("hide"),g=v[0],y=v[1],b=(0,r.useState)({width:0,height:0}),w=b[0],A=b[1],k=w.width,S=w.height,x=m.map((function(t){return c[t]})).filter((function(t){return t})).join(" ");m.includes("error")?e=r.createElement(a.k$,{className:c.icon}):m.includes("success")&&(e=r.createElement(a.ow,{className:c.icon})),(0,r.useEffect)((function(){f?y("full"):"hide"!==g&&y("fadeout")}),[f]),(0,r.useEffect)((function(){if(o&&o.current){var t=o.current.getBoundingClientRect();A({width:t.width,height:t.height})}}),[o]);var E={};return S&&k&&("top"===s||"bottom"===s?E.left="".concat(k/2,"px"):"right"===s&&(E.left="".concat(k,"px")),"bottom"===s?E.top="".concat(S,"px"):"top"===s&&(E.bottom="".concat(S,"px"))),"hide"!==g&&r.createElement("div",{className:"".concat(c.tooltip," ").concat(c[s]," ").concat(x," ").concat(c[g]||""," ").concat(i),onAnimationEnd:function(){y("hide")},role:"alert",style:E},r.createElement("div",{className:c.tooltipContents},e,r.createElement("span",{className:c.tooltipText},p)))}u.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}},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 c=i.value,u=c.target,s=c.contentRect;o.get(u).call(null,s)}}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}},10558: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 c(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,u,"next",t)}function u(t){c(o,r,i,a,u,"throw",t)}a(void 0)}))}}var s=a.ZP.framework,l=a.ZP.rules;function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tracking",e=s.needsConsent(),n=(0,o.useState)(!e||s.isConsentStringCookieSet()),r=n[0],a=n[1],c=(0,o.useState)(!e),f=c[0],d=c[1],p=(0,o.useState)(!e),h=p[0],m=p[1];return(0,o.useEffect)((function(){var n=function(){var e=u(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:h,isConsentKnown:r,isConsentReady:f}}},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,c=t.rootMargin,u=void 0===c?"0px":c,s=t.threshold,l=void 0===s?0:s,f=t.defaultValue,d=void 0!==f&&f,p=(0,r.useState)(null),h=p[0],m=p[1],v=(0,r.useState)(d),g=v[0],y=v[1],b=(0,r.useRef)(null);return(0,r.useEffect)((function(){return h?(b.current?b.current.disconnect():b.current=new IntersectionObserver((function(t){var e;(null===(e=t[0])||void 0===e?void 0:e.isIntersecting)?(y(!0),i&&b.current&&b.current.disconnect()):g&&y(!1)}),{root:a,rootMargin:u,threshold:l}),b.current.observe(h),function(){b.current.disconnect()}):function(){}}),[h,e]),{isIntersecting:g,setObservable:m}}},85953:function(t,e,n){"use strict";n.d(e,{ge:function(){return s},Kl:function(){return a},sk:function(){return r},vV:function(){return l},tY:function(){return u},nk:function(){return i},O2:function(){return c},Dn:function(){return o}});var r=!1,i=function(){return!r&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches},o=function(){return!r&&HTMLImageElement&&"loading"in HTMLImageElement.prototype},a=function(t){return t.includes(".gif")},c=function(t){if(!t)return[t,[]];var e=t.split("?"),n=e[1]?e[1].split("&"):[];return[e[0],n]},u=function(t,e){if(!t)return"";var n=e.length>0?"?".concat(e.join("&")):"";return"".concat(t).concat(n)},s=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)}},74967:function(t,e,n){"use strict";n.d(e,{ts:function(){return f},F7:function(){return d}});n(94776),n(3379);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),s=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:u.notFound,experimentName:e,rejectErrors:s});if(!t.eligible[e])return l({errorType:u.notEligible,experimentName:e,rejectErrors:s});if(!t.returned[e])return l({errorType:u.missing,experimentName:e,rejectErrors:s});if(t.returned[e].error)return l({errorType:u.error,experimentName:e,rejectErrors:s,serverError:t.returned[e].error});var p=t.returned[e];return p.value===c&&f!==c?f:p.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 c},Uz:function(){return u},wp:function(){return s},o6:function(){return l},P$:function(){return f},b5:function(){return d},hp:function(){return p},pw:function(){return h},d8:function(){return m},nz:function(){return v},B$:function(){return g}});var r=n(20238),i=n(6294),o=n(99377),a=n(3379),c=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},u=function(t){var e=t.hostname;return t.hasAttribute("data-affiliate")&&!(e===document.location.hostname||e.match(/buzzfeed\.(com|io)/))},s=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"},p=function(){var t,e=window.location.search;return null!==(t=(0,r.jH)(e).d_id)&&void 0!==t?t:"0"},h=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)}},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())},c=6768151,u=n(21038),s=n(83199);function l(t,e,n,r,i,o,a){try{var c=t[o](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,i)}function f(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-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())}]:[])}))}},28813:function(t,e,n){"use strict";var r=n(73417),i=n(99591),o=n(42869),a=n(33864),c=n(7325),u=Array.prototype.slice,s=Function.prototype.apply,l=Object.create;n(44512).async=function(t,e){var n,f,d,p=l(null),h=l(null),m=e.memoized,v=e.original;e.memoized=a((function(t){var e=arguments,r=e[e.length-1];return"function"===typeof r&&(n=r,e=u.call(e,0,-1)),m.apply(f=this,d=e)}),m);try{o(e.memoized,m)}catch(g){}e.on("get",(function(t){var r,i,o;if(n){if(p[t])return"function"===typeof p[t]?p[t]=[p[t],n]:p[t].push(n),void(n=null);r=n,i=f,o=d,n=f=d=null,c((function(){var a;hasOwnProperty.call(h,t)?(a=h[t],e.emit("getasync",t,o,i),s.call(r,a.context,a.args)):(n=r,f=i,d=o,m.apply(i,o))}))}})),e.original=function(){var t,i,o,a;return n?(t=r(arguments),i=function t(n){var i,o,u=t.id;if(null!=u){if(delete t.id,i=p[u],delete p[u],i)return o=r(arguments),e.has(u)&&(n?e.delete(u):(h[u]={context:this,args:o},e.emit("setasync",u,"function"===typeof i?1:i.length))),"function"===typeof i?a=s.call(i,this,o):i.forEach((function(t){a=s.call(t,this,o)}),this),a}else c(s.bind(t,this,arguments))},o=n,n=f=d=null,t.push(i),a=s.call(v,this,t),i.cb=o,n=i,a):s.call(v,this,arguments)},e.on("set",(function(t){n?(p[t]?"function"===typeof p[t]?p[t]=[p[t],n.cb]:p[t].push(n.cb):p[t]=n.cb,delete n.cb,n.id=t,n=null):e.delete(t)})),e.on("delete",(function(t){var n;hasOwnProperty.call(p,t)||h[t]&&(n=h[t],delete h[t],e.emit("deleteasync",t,u.call(n.args,1)))})),e.on("clear",(function(){var t=h;h=l(null),e.emit("clearasync",i(t,(function(t){return u.call(t.args,1)})))}))}},44948:function(t,e,n){"use strict";var r=n(82678),i=n(69506),o=n(44512),a=Function.prototype.apply;o.dispose=function(t,e,n){var c;if(r(t),n.async&&o.async||n.promise&&o.promise)return e.on("deleteasync",c=function(e,n){a.call(t,null,n)}),void e.on("clearasync",(function(t){i(t,(function(t,e){c(e,t)}))}));e.on("delete",c=function(e,n){t(n)}),e.on("clear",(function(t){i(t,(function(t,e){c(e,t)}))}))}},21211:function(t,e,n){"use strict";var r=n(73417),i=n(69506),o=n(7325),a=n(99320),c=n(47987),u=n(44512),s=Function.prototype,l=Math.max,f=Math.min,d=Object.create;u.maxAge=function(t,e,n){var p,h,m,v;(t=c(t))&&(p=d(null),h=n.async&&u.async||n.promise&&u.promise?"async":"",e.on("set"+h,(function(n){p[n]=setTimeout((function(){e.delete(n)}),t),"function"===typeof p[n].unref&&p[n].unref(),v&&(v[n]&&"nextTick"!==v[n]&&clearTimeout(v[n]),v[n]=setTimeout((function(){delete v[n]}),m),"function"===typeof v[n].unref&&v[n].unref())})),e.on("delete"+h,(function(t){clearTimeout(p[t]),delete p[t],v&&("nextTick"!==v[t]&&clearTimeout(v[t]),delete v[t])})),n.preFetch&&(m=!0===n.preFetch||isNaN(n.preFetch)?.333:l(f(Number(n.preFetch),1),0))&&(v={},m=(1-m)*t,e.on("get"+h,(function(t,i,c){v[t]||(v[t]="nextTick",o((function(){var o;"nextTick"===v[t]&&(delete v[t],e.delete(t),n.async&&(i=r(i)).push(s),o=e.memoized.apply(c,i),n.promise&&a(o)&&("function"===typeof o.done?o.done(s,s):o.then(s,s)))})))}))),e.on("clear"+h,(function(){i(p,(function(t){clearTimeout(t)})),p={},v&&(i(v,(function(t){"nextTick"!==t&&clearTimeout(t)})),v={})})))}},31954:function(t,e,n){"use strict";var r=n(23701),i=n(17694),o=n(44512);o.max=function(t,e,n){var a,c,u;(t=r(t))&&(c=i(t),a=n.async&&o.async||n.promise&&o.promise?"async":"",e.on("set"+a,u=function(t){void 0!==(t=c.hit(t))&&e.delete(t)}),e.on("get"+a,u),e.on("delete"+a,c.delete),e.on("clear"+a,c.clear))}},13367:function(t,e,n){"use strict";var r=n(99591),i=n(19343),o=n(5570),a=n(98797),c=n(99320),u=n(7325),s=Object.create,l=i("then","then:finally","done","done:finally");n(44512).promise=function(t,e){var n=s(null),i=s(null),f=s(null);if(!0===t)t=null;else if(t=o(t),!l[t])throw new TypeError("'"+a(t)+"' is not valid promise mode");e.on("set",(function(r,o,a){var s=!1;if(!c(a))return i[r]=a,void e.emit("setasync",r,1);n[r]=1,f[r]=a;var l=function(t){var o=n[r];if(s)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");o&&(delete n[r],i[r]=t,e.emit("setasync",r,o))},d=function(){s=!0,n[r]&&(delete n[r],delete f[r],e.delete(r))},p=t;if(p||(p="then"),"then"===p){var h=function(){u(d)};"function"===typeof(a=a.then((function(t){u(l.bind(this,t))}),h)).finally&&a.finally(h)}else if("done"===p){if("function"!==typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");a.done(l,d)}else if("done:finally"===p){if("function"!==typeof a.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!==typeof a.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");a.done(l),a.finally(d)}})),e.on("get",(function(t,r,i){var o;if(n[t])++n[t];else{o=f[t];var a=function(){e.emit("getasync",t,r,i)};c(o)?"function"===typeof o.done?o.done(a):o.then((function(){u(a)})):a()}})),e.on("delete",(function(t){if(delete f[t],n[t])delete n[t];else if(hasOwnProperty.call(i,t)){var r=i[t];delete i[t],e.emit("deleteasync",t,[r])}})),e.on("clear",(function(){var t=i;i=s(null),n=s(null),f=s(null),e.emit("clearasync",r(t,(function(t){return[t]})))}))}},881:function(t,e,n){"use strict";var r=n(45214),i=n(44512),o=Object.create,a=Object.defineProperties;i.refCounter=function(t,e,n){var c,u;c=o(null),u=n.async&&i.async||n.promise&&i.promise?"async":"",e.on("set"+u,(function(t,e){c[t]=e||1})),e.on("get"+u,(function(t){++c[t]})),e.on("delete"+u,(function(t){delete c[t]})),e.on("clear"+u,(function(){c={}})),a(e.memoized,{deleteRef:r((function(){var t=e.get(arguments);return null===t?null:c[t]?!--c[t]&&(e.delete(t),!0):null})),getRefCount:r((function(){var t=e.get(arguments);return null===t?0:c[t]?c[t]:0}))})}},60567:function(t,e,n){"use strict";var r=n(96872),i=n(81920),o=n(21779);t.exports=function(t){var e,a=r(arguments[1]);return a.normalizer||0!==(e=a.length=i(a.length,t.length,a.async))&&(a.primitive?!1===e?a.normalizer=n(57211):e>1&&(a.normalizer=n(57361)(e)):a.normalizer=!1===e?n(36866)():1===e?n(58320)():n(88529)(e)),a.async&&n(28813),a.promise&&n(13367),a.dispose&&n(44948),a.maxAge&&n(21211),a.max&&n(31954),a.refCounter&&n(881),o(t,a)}},66730:function(t,e,n){"use strict";var r=n(28455),i=n(33864),o=n(45214),a=n(47545).methods,c=n(30035),u=n(61665),s=Function.prototype.apply,l=Function.prototype.call,f=Object.create,d=Object.defineProperties,p=a.on,h=a.emit;t.exports=function(t,e,n){var a,m,v,g,y,b,w,A,k,S,x,E,P,j,C,T=f(null);return m=!1!==e?e:isNaN(t.length)?1:t.length,n.normalizer&&(S=u(n.normalizer),v=S.get,g=S.set,y=S.delete,b=S.clear),null!=n.resolvers&&(C=c(n.resolvers)),j=v?i((function(e){var n,i,o=arguments;if(C&&(o=C(o)),null!==(n=v(o))&&hasOwnProperty.call(T,n))return x&&a.emit("get",n,o,this),T[n];if(i=1===o.length?l.call(t,this,o[0]):s.call(t,this,o),null===n){if(null!==(n=v(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=g(o)}else if(hasOwnProperty.call(T,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return T[n]=i,E&&a.emit("set",n,null,i),i}),m):0===e?function(){var e;if(hasOwnProperty.call(T,"data"))return x&&a.emit("get","data",arguments,this),T.data;if(e=arguments.length?s.call(t,this,arguments):l.call(t,this),hasOwnProperty.call(T,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return T.data=e,E&&a.emit("set","data",null,e),e}:function(e){var n,i,o=arguments;if(C&&(o=C(arguments)),i=String(o[0]),hasOwnProperty.call(T,i))return x&&a.emit("get",i,o,this),T[i];if(n=1===o.length?l.call(t,this,o[0]):s.call(t,this,o),hasOwnProperty.call(T,i))throw r("Circular invocation","CIRCULAR_INVOCATION");return T[i]=n,E&&a.emit("set",i,null,n),n},a={original:t,memoized:j,profileName:n.profileName,get:function(t){return C&&(t=C(t)),v?v(t):String(t[0])},has:function(t){return hasOwnProperty.call(T,t)},delete:function(t){var e;hasOwnProperty.call(T,t)&&(y&&y(t),e=T[t],delete T[t],P&&a.emit("delete",t,e))},clear:function(){var t=T;b&&b(),T=f(null),a.emit("clear",t)},on:function(t,e){return"get"===t?x=!0:"set"===t?E=!0:"delete"===t&&(P=!0),p.call(this,t,e)},emit:h,updateEnv:function(){t=a.original}},w=v?i((function(t){var e,n=arguments;C&&(n=C(n)),null!==(e=v(n))&&a.delete(e)}),m):0===e?function(){return a.delete("data")}:function(t){return C&&(t=C(arguments)[0]),a.delete(t)},A=i((function(){var t,n=arguments;return 0===e?T.data:(C&&(n=C(n)),t=v?v(n):String(n[0]),T[t])})),k=i((function(){var t,n=arguments;return 0===e?a.has("data"):(C&&(n=C(n)),null!==(t=v?v(n):String(n[0]))&&a.has(t))})),d(j,{__memoized__:o(!0),delete:o(w),clear:o(a.clear),_get:o(A),_has:o(k)}),a}},44512:function(){},81920:function(t,e,n){"use strict";var r=n(23701);t.exports=function(t,e,n){var i;return isNaN(t)?(i=e)>=0?n&&i?i-1:i:1:!1!==t&&r(t)}},61665:function(t,e,n){"use strict";var r=n(82678);t.exports=function(t){var e;return"function"===typeof t?{set:t,get:t}:(e={get:r(t.get)},void 0!==t.set?(e.set=r(t.set),t.delete&&(e.delete=r(t.delete)),t.clear&&(e.clear=r(t.clear)),e):(e.set=e.get,e))}},30035:function(t,e,n){"use strict";var r,i=n(64089),o=n(11353),a=n(82678),c=Array.prototype.slice;r=function(t){return this.map((function(e,n){return e?e(t[n]):t[n]})).concat(c.call(t,this.length))},t.exports=function(t){return(t=i(t)).forEach((function(t){o(t)&&a(t)})),r.bind(t)}},58320:function(t,e,n){"use strict";var r=n(45148);t.exports=function(){var t=0,e=[],n=[];return{get:function(t){var i=r.call(e,t[0]);return-1===i?null:n[i]},set:function(r){return e.push(r[0]),n.push(++t),t},delete:function(t){var i=r.call(n,t);-1!==i&&(e.splice(i,1),n.splice(i,1))},clear:function(){e=[],n=[]}}}},88529:function(t,e,n){"use strict";var r=n(45148),i=Object.create;t.exports=function(t){var e=0,n=[[],[]],o=i(null);return{get:function(e){for(var i,o=0,a=n;oi)throw new TypeError(t+" exceeds maximum possible timeout");return t}},61998:function(t,e,n){"use strict";var r=n(87840);t.exports=function(t){if("function"!==typeof t)return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if("number"!==typeof t.length)return!1;if("function"!==typeof t.call)return!1;if("function"!==typeof t.apply)return!1}catch(e){return!1}return!r(t)}},34601:function(t,e,n){"use strict";var r=n(14704),i={object:!0,function:!0,undefined:!0};t.exports=function(t){return!!r(t)&&hasOwnProperty.call(i,typeof t)}},56983:function(t,e,n){"use strict";var r=n(61998),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;t.exports=function(t){return!!r(t)&&!i.test(o.call(t))}},87840:function(t,e,n){"use strict";var r=n(34601);t.exports=function(t){if(!r(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(e){return!1}}},14704:function(t){"use strict";t.exports=function(t){return undefined!==t&&null!==t}},48186:function(t,e,n){"use strict";var r=n(4079),i=n(2784);e.useSubscription=function(t){var e=t.getCurrentValue,n=t.subscribe,o=i.useState((function(){return{getCurrentValue:e,subscribe:n,value:e()}}));t=o[0];var a=o[1];return o=t.value,t.getCurrentValue===e&&t.subscribe===n||(o=e(),a({getCurrentValue:e,subscribe:n,value:o})),i.useDebugValue(o),i.useEffect((function(){function t(){if(!i){var t=e();a((function(i){return i.getCurrentValue!==e||i.subscribe!==n||i.value===t?i:r({},i,{value:t})}))}}var i=!1,o=n(t);return t(),function(){i=!0,o()}}),[e,n]),o}},36718:function(t,e,n){"use strict";t.exports=n(48186)},12524:function(t,e){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t="",e=0;e