window.OBR = window.OBR||{};(function(OBR){OBR.error=function(c){if(!0!==c){var a,b=document,e=window.OB_releaseVer;if(!b.getElementById("obMntor")){var d=function(){a=b.createElement("iframe");a.setAttribute("id","obMntor");a.style.display="none";b.body.appendChild(a);a.src="https://widgets.outbrain.com/widgetMonitor/monitor.html?name="+encodeURIComponent(c.name)+"&message="+encodeURIComponent(c.message)+"&stack="+encodeURIComponent(c.stack)+"&ver="+encodeURIComponent(e)};b.body?d():setTimeout(function(){b.body&&d()},1E4)}}};
;try{
if(window.OB_releaseVer&&"01001134"!==window.OB_releaseVer)throw!0;window.OB_releaseVer="01001134";window.OBR=window.OBR||{};OBR.j=OBR.j||[];OBR.Ra=OBR.Ra||{};window.OBR$=function(c){return document.getElementById(c)};OBR.e=OBR.e||function(){var c={},a={B:function(){return c},i:function(a){c.W=a;c.sb=[];c.startTime=(new Date).getTime()},startTime:function(){return c.startTime},log:function(a){var f=((new Date).getTime()-c.startTime)/1E3;1E3>c.sb.length&&c.sb.push(f+" >"+a)},printLog:function(){if(c.W.c.Wj)window.console.log(c.sb.join("\n"));else{var a=c.W.b.Oa();a&&(a.innerHTML=c.sb.join("<br>"),a.style.display="block")}return c.sb.join("\n")}};a.i(OBR);return a}();OBR.printLog=OBR.e.printLog;OBR.F=function(){this.M=[]};OBR.F.prototype.add=function(c,a){var d;"string"===typeof c&&"function"===typeof a&&(d={},d.name=c,d.eb=a,this.M.push(d))};OBR.F.prototype.tg=function(c){var a,d;OBR.e.log("remove event :"+c);a=0;for(d=this.M.length;a<d;a+=1)if(this.M[a]&&this.M[a].name&&this.M[a].name===c)try{this.M.splice(a,1)}catch(f){OBR.e.log("rm evnt err: "+f),OBR.error(ex)}};
OBR.F.prototype.n=function(c,a,d,f){var b,e,h;a=a||[];d=!!d;this.ck||OBR.pd.Oi(c,f);OBR.e.log("event fire:"+c);f=0;for(b=this.M.length;f<b;f+=1)if(e=this.M&&this.M[f]?this.M[f].name:"",h=this.M&&this.M[f]?this.M[f].eb:null,e===c&&h)try{h.apply(this,a)}catch(g){OBR.e.log("fire event *"+c+"* error: "+g),OBR.error(g)}!0===d&&this.tg(c)};OBR.F.prototype.bk=function(){this.ck=!0};OBR.F.prototype.wa=function(){this.M=[]};
OBR.pd=OBR.pd||function(){var c,a,d={},f,b={onHtmlReturn:"widgetDataReturned",afterRender:"widgetRendered"},e;d.i=function(b,d,k){c=d;a=b;e=k;e.bk();f={}};d.Oi=function(h,d){var k=b[h];if(d&&k){var l=c.OBREvents;if(l&&!(1>l.length))for(var m=0,p=l.length;m<p;m+=1){var n=l.shift();n&&n.event&&"string"===typeof n.widgetId&&"function"===typeof n.func?(e.add(n.event+"_"+n.widgetId,n.func),f[n.event]=!0):a.e.log("Bad global event"+n)}f[k]&&e.n(k+"_"+d.q(),[{idx:d.H(),widgetId:d.q(),container:OBR.b.C(d.H()),
recsNumber:d.g("tcr",-1)}])}};d.A=function(){d.i(OBR,window,new OBR.F)};d.i(OBR,window,new OBR.F);return d}();OBR.b=OBR.b||function(){var c={},a={},d=document,f=OBR,b=null;c.Wm="function"===typeof window.URLSearchParams;a.B=function(){c.W=f;return c};a.i=function(e){f=e};a.Ha=function(){return function(){}};a.xf=function(){var e=window.jQuery;return void 0!==e?!(/1\.(0|1|2|3|4)\.(0|1)/.test(e.fn.jquery)||/^1\.1/.test(e.fn.jquery)||/^1\.2/.test(e.fn.jquery)||/^1\.3/.test(e.fn.jquery)):!1};a.C=function(e){return null===e||isNaN(e)?null:f.p("outbrain_widget_"+e)};a.Oa=function(){return f.p("ob_holder")};a.Le=
function(e){var b=a.Oa();null===b&&(b=f.b.createElement("div","ob_holder"),b.style.display="none",e?f.b.insertBefore(b,e):document.body.appendChild(b));return b};a.sd=function(e){var b=f.p(e);b||(b=f.b.createElement("iframe",e),e=b.style,e.display="none",e.width="1px",e.height="1px",b.src="about:blank",(e=a.Oa())||(e=a.gb()),f.b.S(b,e))};a.gb=function(){if(d.body)return d.body;var e;e=f.b.N("","","body",!0);return 0>=e.length?d.lastChild:e[0]};a.createElement=function(e,b,a,c){var f;e=d.createElement(e);
"string"===typeof b&&e.setAttribute("id",b);"string"===typeof a&&(e.style.cssText=a);for(f in c)c.hasOwnProperty(f)&&e.setAttribute(f,c[f]);return e};a.J=function(e){if(f.c.ye===f.c.pe)try{d.createStyleSheet().cssText=e}catch(b){OBR.e.log(b)}else{var a=d.createElement("style"),c=d.body?"string"===typeof d.body.style.WebkitAppearance:!1;a.type="text/css";d.getElementsByTagName("head")[0].appendChild(a);a[c?"innerText":"innerHTML"]=e}};a.L=function(e,b,a,c,l){e=d.createElement("script");e.type=f.c.qk;
e.src=b;e.charset="UTF-8";e.async=!!a;e.defer=!1;c&&f.b.u(e,"load",function(e){var b=e.target;b&&setTimeout(function(){b.parentNode.removeChild(b)},3E3)});typeof l===f.c.eb&&f.b.u(e,"load",l);return e};a.Jm=function(e,b){var a=f.b.createElement("link",e);a.setAttribute("rel","stylesheet");a.setAttribute("type",f.c.si);b&&a.setAttribute("href",b);return a};a.Wh=function(e){var b=f.p("ob_iframe");b&&(b.src=e)};a.jg=function(){var e;e=isNaN(e)?1E5:e;return Math.floor(Math.random()*e)};a.ql=function(e,
b,a){return e.replace(b,a)};a.Tm=function(){var e;if(e=OBR.p("objsonpp"))if(a.dk())a.Qa(e.parentNode)&&e.parentNode.removeChild(e);else return OBR.p("objsonpp");e=d.createElement("iframe");e.id="objsonpp";e.wl&&(e.wl="seamless");(e.frameElement||e).style.cssText="width: 0; height: 0; border: 0";e.src="";d.body.appendChild(e);return e};a.R=function(e){var b,a;a=d.getElementsByTagName("head");try{a&&0<a.length?a[0].insertBefore(e,a[0].firstChild):(b=d.getElementsByTagName("script"),b[0].insertBefore(e,
b[0].firstChild))}catch(c){f.e.log("Err insertToHead:"+c)}};a.Sm=function(e){e=e||OBR;return"function"!==typeof e.F?(OBR.e.log("namespace.EventManager not function"),null):new e.F};a.Q=function(e){return encodeURIComponent(e)};a.Qa=function(e){return null!==e};a.ik=function(e){var b,c=!1;if(a.xd(e))return!1;b=e.lb().recMode||"";e=e.lb().dynamicWidgetLayout||"";b=f.c.ul[b]||"";"2"===b&&"1"===(f.c.vl[e]||"")&&(c=!0);c||"1"!==b&&"3"!==b||(c=!0);return c};a.xd=function(e){return void 0===e||null===e};
a.nk=function(e){return a.xd(e)||""===e};a.getElementsByClassName=function(e,b){b||(b=document);return b.getElementsByClassName?b.getElementsByClassName(e):a.N("class",e,"*",!0,!0,b)};a.N=function(e,b,c,f,l,m){var p,n,q;p=[];c=c||"*";f=!!f;l=!!a.nk(l);c=m?m.getElementsByTagName(c):d.getElementsByTagName(c);m=0;for(n=c.length;m<n;m+=1)q="class"===e?c[m].className:c[m].getAttribute(e),null!==q&&(!1===l&&(q=q.toLowerCase(),b=b.toLowerCase()),(q=""===e?!0:f?-1<q.indexOf(b):q===b)&&p.push(c[m]));return p};
a.Ua=function(e,b,a){e.removeEventListener?e.removeEventListener(b,a,!0):e.detachEvent&&e.detachEvent("on"+b,a)};a.u=function(e,b,a){e.addEventListener?e.addEventListener(b,a,!0):e.attachEvent&&typeof e.attachEvent===f.c.eb&&e.attachEvent("on"+b,function(){a.call(e)})};a.S=function(e,b){try{b.appendChild(e)}catch(a){f.e.log("Fail insert into Dom:"+a)}};a.zb=function(e){e=f.p(e);!a.xd(e)&&a.Qa(e.parentNode)&&e.parentNode.removeChild(e)};a.insertBefore=function(e,b){return b.parentNode.insertBefore(e,
b)};a.isArray=function(e){return e instanceof Array?!0:"[object Array]"===Object.prototype.toString.call(e)};a.Hb=function(e,b){var a=/htt(p|ps)?:\/\/127\.0\.0\.1(:\d\d\d\d)?/i;return/^htt(p|ps)?:\/\/([\w\-]*|[\w\-]*\.[\w\-]*)\.outbrain\.com(:\d\d\d\d)?/i.test(e)||a.test(e)?e:b};a.im=function(e){e=e.replace(/^(\s*)/g,"");var b=d.createElement("div");b.innerHTML=e;return b.childNodes};a.fb=function(e,b){return e?e.getAttribute(b):null};a.ra=function(e,b,a){e&&e.setAttribute(b,a)};a.P=function(e,b){var a=
RegExp("[ '\"|]"+b+"[ '\"|]");e&&!a.test("|"+e.className+"|")&&(e.className+=" "+b)};a.Aa=function(e,b){e&&typeof b===f.c.hm&&(e.classList?e.classList.remove(b):e.className=e.className.replace(RegExp("(^|\\b)"+b+"(\\b|$)","gi")," "))};a.ea=function(e,b){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a,c;try{return a=RegExp("[\\?&]"+e+"=([^&#]*)","i"),c=a.exec(decodeURIComponent(window.location.href.replace(/\+/g," "))),null===c?b:c[1]}catch(d){return b}};a.fi=function(e){"string"===typeof e&&
0<e.indexOf("#")&&(e=e.substr(0,e.lastIndexOf("#")));return e};a.He=function(e){var b=f.c.ba+"/strip_default.png";e.src!==b&&(e.alt="",e.title="",e.src=b,e.parentElement&&(e.parentElement.style.overflow="hidden"))};a.Fi=function(){var e=null,b,a,c=null;if("string"===typeof window.OB_MP_feed)e=window.OB_MP_feed;else if((b=d.getElementsByTagName("head"))&&0<b.length)for(a=b[0].getElementsByTagName("link"),b=0;b<a.length;b+=1)if(c=a[b],null!==c.type&&("application/rss+xml"===c.type||"application/atom+xml"===
c.type)&&null!==c.href&&""!==c.href){e=c.href;break}return e};a.G=function(e,b){var a=null;if(!e)return a;e.currentStyle?a=e.currentStyle[b]:window.getComputedStyle&&(a=document.defaultView.getComputedStyle(e,null).getPropertyValue(b));return a};a.Dl=function(){var e=a.Oa(),b,c;a.Qa(e)&&(b=f.b.createElement("span","ob_a"),a.insertBefore(b,e),b.innerHTML=".",c=a.G(b,"color"),a.zb("ob_a"),b=f.b.createElement("a","ob_a"),b.setAttribute("href","void(0)"),b.innerHTML=".",a.insertBefore(b,e),e=a.G(b,"color"),
a.zb("ob_a"),c="rgb(0, 0, 0)"===c||"#000000"===c?"#555":c,a.J(".ob-tcolor{color:"+c+"} .ob-lcolor{color:"+e+"} .ob-bgtcolor{background-color:"+c+"} .item-link-container:hover .ob-tcolor{border-color:"+c+"} "+(document.addEventListener?"":".odb_li:hover .ob-zapping-icon,.odb_div:hover .ob-zapping-icon,.item-container:hover .ob-zapping-icon,.ob-dynamic-rec-container:hover .ob-zapping-icon,.odb_li:hover .ob-textual-zapping-icon,.odb_div:hover .ob-textual-zapping-icon,.item-container:hover .ob-textual-zapping-icon,.ob-dynamic-rec-container:hover .ob-textual-zapping-icon{display:none !important;}")))};
a.mf=function(e){var b=a.jf("property","og:url","meta","content");null===b&&(b=a.jf("rel","canonical","link","href"));null!==b||e||(b=window.location.href);null===b&&(b="");return b};a.jf=function(e,b,c,d){var f=null;e=a.N(e,b,c,!1);null!==e&&0<e.length&&(f=e[0].getAttribute(d));return f};a.Xh=function(e){var b,c,d,l;b=e.h("tracking",!1);l=e.h("isDMPEnabled",!0)&&!e.g("oo",!1);c=e.h("comScoreEnabled",!0);d=f.c.Zf;!1===b&&((!0===c||!0===l)&&!1===d&&!e.pf())&&(a.sd(f.c.nb),b=e.g("enu",""),d=e.g("pid",
""),e=f.p(f.c.nb))&&(e.src=f.c.ba+"/nanoWidget/externals/obFrame/obFrame.htm#pid="+d+"&dmpenabled="+l+"&csenabled="+c+"&d="+b,f.c.Zf=!0)};a.wj=function(){var e=a.kb(8);"string"===typeof window.name&&(""===window.name||-1<window.name.indexOf("frame"))?(window.name=e,e=window.name):"string"===typeof window.name&&""!==window.name&&(e=window.name);return e=f.b.Q(e.substring(0,9))};a.kb=function(e){var b,a;b=[];e="number"===typeof e?e:8;for(a=0;a<e;a+=1)b.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".charAt(Math.floor(61*
Math.random())));return b.join("")};a.Ke=function(e){for(var b="",a=0;a<e.length;a++)b=b.concat(e[a]?"1":"0");return parseInt(b,2)};a.ud=function(e){var b=e.getElementsByTagName("a")[0];if(null===e.offsetParent||0===e.offsetHeight||0===e.offsetWidth||0===e.clientHeight||0===e.clientWidth||"none"===a.G(e,"display")||"hidden"===a.G(e,"visibility"))return!1;var c=parseInt(a.G(e,"padding-top"),10)+parseInt(a.G(e,"padding-bottom"),10);return 0===e.clientHeight-c||b&&"none"===a.G(b,"display")?!1:!0};a.jd=
function(e){for(var b in f.Ra)if(f.Ra.hasOwnProperty(b)&&f.Ra[b].m===e)return f.Ra[b];return null};a.an=function(b){for(var a in b)if(b.hasOwnProperty(a))return!1;return!0};a.Ma=function(b,a){return"function"!==typeof b?null:void 0===a?b():b(a)};a.dk=function(){return"Microsoft Internet Explorer"===navigator.appName};a.ui=function(b,a){return b*a};a.ff=function(b){if(!b||""===b)return[];b=b.replace("","").replace("http://","").replace("https://","").replace("www.","").replace("www2.","").split("/");
b.pop();return 0<b.length?b:[]};a.aj=function(b,c){var d=a.ff(b),f=[],l="";if(c>=d.length)l=d.join(".");else{f[0]=d[0];for(l=1;l<=c;l+=1)f[l]=d[l];l=f.join(".")}return l};a.lj=function(){return"http"+("https:"===d.location.protocol?"s":"")};a.kj=function(){var b,c;b=d.getElementById("widgetVersionSync");null===b&&(b=a.createElement("iframe","widgetVersionSync"),c=a.createElement("div",null,"display:none; height:0px; width:0px; border:none;"),c.appendChild(b),a.gb().appendChild(c));return b};a.ym=
function(b){var c;c=window.OB_releaseVer;isNaN(c)||(isNaN(b)||c>=b)||(b=a.lj()+"://widgets.outbrain.com/external/sync/outbrainjs.html?needToBeVer="+b.toString(),c=a.kj(),c.src=b)};a.Fh=function(b){b=b.h("widgetVersionSync",0);isNaN(b)||""===b||(b=parseInt(b,10)||0,a.ym(b))};c.nd=function(){if(b)return b;var e;try{var a=window.localStorage;a.setItem("OBtst","");a.removeItem("OBtst");e=a}catch(c){e={rc:{},setItem:function(b,e){this.rc[b]=e},removeItem:function(b){this.rc[b]=void 0},getItem:function(b){return"undefined"!==
typeof this.rc[b]?this.rc[b]:null}}}return b=e};a.Lg=function(b,a){c.nd().setItem(b,a)};a.md=function(b){return(b=c.nd().getItem(b))?b:null};a.vi=function(){c.nd().removeItem("OB-USER-TOKEN")};a.tm=function(b){var a={};a.cpv=b[0];a.convPerc=b[1];a.convPixel=b[2];a.vidId=b[3];a.player=b[4];a.pos=b[5];a.adId=b[6];a.docEncId=b[7];a.origUrl=b[8];a.trafficUrl=b[9];a.duration=b[10];a.widgetIdx=b[11];a.title=b[12];a.sourceName=b[13];a.reqId=b[14];a.platform=b[15];a.lang=b[16];a.uuid=b[17];a.publisherId=
b[18];a.sourceId=b[19];a.widgetNumberId=b[20];a.campaignId=b[21];a.location=b[22];a.timestamp=b[23];return a};a.i(OBR);return a}();OBR.Ca=function(c,a,d,f,b,e,h,g,k){var l,m;l=this;m=0;k="function"===typeof k?k:OBR.b.ui;l.start=function(){var p;m+=1;OBR.b.Ma(c,m)?OBR.b.Ma(a,m):(p=OBR.b.Ma(g,m))?OBR.b.Ma(f,m):(p=m===e&&1E3!==e)?OBR.b.Ma(f,m):(OBR.b.Ma(d,m),p=h?k(m,b):b,setTimeout(function(){l.start()},p))};l.start()};OBR.Re=OBR.Re||{Yj:function(){return"complete"===document.readyState}};
OBR.dd=function(){var c={},a=[];c.add=function(c){a.push(c)};c.remove=function(c){a.splice(c,1)};c.top=function(){return 0<a.length?a.shift():null};c.ak=function(){return 0>=a.length};c.Qm=function(){return a};c.di=function(){a=[]};return c};
OBR.Za=function(){function c(c,b){a.Fb="resolve"===c?function(a){a&&a(b)}:function(a,e){e&&e(b)};a.Wa=a.ll=function(){throw Error("Promise already completed.");};for(var e,h=0;e=d[h++];)e[c]&&e[c](b);delete d}var a={},d=[];a.Fb=function(a,b){d.push({resolve:a,reject:b})};a.Wa=function(a){c("resolve",a)};a.ll=function(a){c("reject",a)};return a};
OBR.jh=function(c){var a={},d=null,f,b;a.onClickOrAutoplay=void 0;a.onDisplayReady=void 0;a.onError=void 0;a.fetch=function(a){null===d?(d=a,b&&b(d,this),b=null):(d=a,OBR.Ja.Sf([this]))};a.shown=function(b){f=b;OBR.Ja&&OBR.Ja.xm(c.widgetId,c.playerId,f)};a.stopTimer=function(){if(this.Vg){window.clearInterval(this.Vg);var b=document.querySelector('[data-ob-player-id="'+c.playerId+'"] .timerNumber');b&&(b.textContent=b.parentElement.getAttribute("data-time"))}};a.fullscreenChange=function(b){OBR.Ja.xj(b,
c.playerId)};a.placed=function(){OBR.Ja.wm(c.playerId)};a.ok=function(a){b=a;d&&b(d,this)};a.mb=function(){return c};a.Om=function(){return f};a.Vm=function(){return c.when};return a};OBR.qh=function(){var c={},a="00.000",d=null,f=null,b=0;c.start=function(){null===d&&(d=new Date);null!==f&&(b+=new Date-f)};c.stop=function(){var e=new Date(new Date-d-b),c=e.getUTCSeconds(),e=e.getUTCMilliseconds();f=new Date;return a=(9<c?c:"0"+c)+"."+(99<e?e:9<e?"0"+e:"00"+e)};return c};
OBR.Ud=OBR.Ud||function(){function c(){var b=window;b.googletag=b.googletag||{};b.googletag.cmd=b.googletag.cmd||[]}function a(a,c,d,f,l){var m=window;m.$revee&&m.googletag.cmd.push(function(){m.$revee.track({obpid:a,obsid:c,obdid:d,obpu:f,obmisc:l});b.e.log("revee fire:"+f);b.e.log("revee fire id:"+d)})}var d={},f=!0,b;d.i=function(a){b=a;d.tc={}};d.oc=function(e){if(e&&!1!==e.h("activateRevee",!1)){c();var h=e.g("pid",0),g=e.g("sid",0),k=e.g("did",0),l=e.pa(),m=e.g("lsd","NA"),p=e.g("pvId","NA"),
n=e.g("preqid","NA"),q=e.g("pdid",0),r=e.g("ppos",0),s=e.g("pwid",0),u=e.g("readerPlatform","NA"),w=e.g("ref",0),v=e.g("prevpid",0),t=e.g("prevsid",0),y=e.g("gl","NA");e=e.g("revenueopt","NA");var x={obuuid:m,obpvid:p,obprevreqid:n,obprevdocid:q,prevpos:r,obprevwid:s,obplatf:u,obref:w,obprevpid:v,obprevsid:t,obgeo:y,obrevenueopt:e,obprmurl:l};f||d.tc[k]?f&&(f=!1,m=b.b.L(0,b.c.I+"rva.outbrain.com/analytics-v1.js",!0,!0,function(){l=document.location.href;a(h,g,k,l,x)}),b.b.R(m)):a(h,g,k,l,x);d.tc[k]||
(d.tc[k]=!0)}};d.A=function(){f=!0;d.tc={}};d.i(OBR);return d}();OBR.c=OBR.c||function(){var c={},a={},d=OBR,f,b;a.mh="opera";a.pe="msie";a.hh="firefox";a.ah="chrome";a.oh="safari";a.lh="mozilla";a.Im="boolean";a.hm="string";a.gn="object";a.om="undefined";a.dn="number";a.eb="function";a.nb="ob_iframe";a.Ff=!0;a.hg=0;a.vc="outbrain_widget_";a.qk="text/javascript";a.si="text/css";a.Lm=document;a.Nf=void 0!==document.createElement("script").async;a.Yg=d.b.wj();a.fl=document.referrer;a.el=d.b.Q(document.referrer);a.vk=document.location.href;a.cn=d.b.Q(a.vk);a.Rb=!1;
a.ce="";a.Rc=navigator.userAgent.toLowerCase();a.Ok=navigator.platform.toLowerCase();b=a.Rc;a.ye=/opera/.test(b)?a.mh:/msie/.test(b)?a.pe:/firefox/.test(b)?a.hh:/chrome/.test(b)?a.ah:/safari/.test(b)?a.oh:a.lh;a.dc=!!/(iphone|ipod|symbian|android|windows ce|blackberry|palm|ipad)/.test(b);a.kc="";a.Jf="Microsoft Internet Explorer"===navigator.appName||"Netscape"===navigator.appName&&null!==/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/.exec(navigator.userAgent);a.Kf=a.Rc.match(/msie 8/)||a.Rc.match(/msie 7/);
a.Wk=window.OB_platformType||null;a.fc="number"===typeof a.Wk;a.Bg=null;a.We=null;a.fm=function(){a.fc&&(a.Bg&&a.We)&&(a.Bg(),a.We())};a.Ib="string"===typeof window.OB_releaseVer?window.OB_releaseVer:"0";a.Dk=!0===window.OB_disable_odbl;a.Gd="nanoWidget/";a.Kg=function(b){a.I=("https:"===b?"https":"http")+"://";a.Cj=d.b.Hb(d.b.ea("wiodb",a.I+"hpr."+f),a.I+"hpr."+f);a.Hd=d.b.Hb(d.b.ea("wiodb",a.I+"odb."+f),a.I+"odb."+f);a.Vh=a.I+"storage.outbrain.com/";a.ba=d.b.Hb(d.b.ea("wihost",a.I+"widgets."+f),
a.I+"widgets."+f);a.Qk=d.b.Hb(d.b.ea("wiout",a.I+f),a.I+f);a.gg=a.I+"log."+f+"/";a.Pk=a.I+"eventlog."+f+"/";a.zk=a.ba+"/"+a.Gd+a.Ib+(a.fc?"/moduleLT":"/module");a.Fd=a.ba+"/"+a.Gd+"3rd";a.Ak=a.ba+"/nativeVideoPlayer"};f="outbrain.com";a.Kg(document.location.protocol);a.Uh="/blogutils/ExcludeRec.action?bocr=";a.hn="html";a.Tk=a.fc?"NANOWDGTLT13":"NANOWDGT01";a.Wj="object"===typeof window.console;a.Qg=d.b.fi(d.b.Fi());a.Pg=null===a.Qg?"":d.b.Q(a.Qg);a.Zf=!1;a.Xj="true"===d.b.ea("widebug","false");a.Ue=
d.b.ea("wixp",null);a.Ek="true"===d.b.ea("obdraft",!1)?"&obDraft=true":"";a.sh=!1!==d.b.ea("obAbtest",!1)?"&obAbtest="+d.b.ea("obAbtest",""):"";a.mi="true"===d.b.ea("obCrDraft","false")?"&crDraft=true":"";a.hc=0;a.ub=null;a.Ag="data-obscrollable";a.ul={touch_strip:"1",odb_dynamic:"2","odb_dynamic_touch-strip":"3"};a.vl={"touch-strip":"1"};a.Eh=!!window.OB_ampMode;a.lm=!!window.OB_testMode;a.Cm={KALTURA:"kaltura",BRIGHTCOVE:"brightcove"};a.V={ih:"get",ma:"post",kh:"jsonp"};a.B=function(){c.W=d;return c};
return a}();OBR.d=OBR.d||function(){var c={},a,d;c.i=function(f,b){a=f;d=b?b:c.bl()};c.f={Dc:"POPUPDESCRIPTION",te:"STATISTICS",Pb:"WHATIS",zc:"FLYTHROUGH",Pc:"VIDEOPLUGIN",Oc:"VIDEO",Ec:"POSCUL",Jc:"SCROLL",Kc:"SCROLLEXTERNAL",Gc:"RECINIFRAME",re:"REGISTER",xc:"D2C",yc:"D2CPROXY",Hc:"REFRESHWIDGET",Lc:"SKYLANDER",Nb:"LOADMORE",Bm:"DYNAMICTEXTTRUNCATION",Mc:"TOPBOX",Ac:"PAGER",Bc:"PAGEREXTERNAL",Cc:"PAGEREXTERNALNEW",Nc:"USERZAPPING",Mb:"INPLAYERWIDGET",Fc:"READMORE",Ya:"NATIVEVIDEOPLAYER"};c.nh=function(a,b){var e=
{Km:a,url:b,version:-1,state:0,Sb:[],Ie:this,ci:function(){if(2===e.state)e.Rf();else if(0===e.state){var b=OBR.b.L(0,e.url,!0);e.state=1;OBR.b.R(b)}},Rf:function(){e.state=2;for(var b=0;b<e.Sb.length;b+=1){var a=e.Sb[b];"function"===typeof a.Ce&&a.Ce.call(e.Ie,a.Gh)}e.Sb=[]}};return e};c.bl=function(){function d(b){return a.c.zk+"/"+b}function b(b,a){e[b]||(e[b]=new c.nh(b,a))}var e={};b(c.f.Dc,d("popupDescription.js"));b(c.f.te,d("statistics.js"));b(c.f.Pb,d("whatis.js"));b(c.f.Nc,d("userZapping.js"));
b(c.f.zc,d("flyThrough.js"));b(c.f.Pc,d("videoPlugin.js"));b(c.f.Oc,d("video.js"));b(c.f.Ec,d("positionCalculation.js"));b(c.f.Gc,d("recInIframe.js"));b(c.f.re,d("registration.js"));b(c.f.Hc,d("refreshWidget.js"));b(c.f.Lc,d("skyLander.js"));b(c.f.Mc,d("topBox.js"));b(c.f.Nb,d("loadMore.js"));b(c.f.Mb,d("inPlayerWidget.js"));b(c.f.Fc,d("readMore.js"));b(c.f.yc,d("d2cProxy.js"));b(c.f.xc,a.c.I+"libs.sphere.com/d2c/dist/js/d2c.js");b(c.f.Jc,d("scroll.js"));b(c.f.Kc,a.c.Fd+"/scroll/scrollExternal.js");
b(c.f.Ac,d("pager.js"));b(c.f.Bc,a.c.Fd+"/pager/pagerExternal.js");b(c.f.Cc,a.c.Fd+"/pager/pagerExternalNew.js");b(c.f.Ya,a.c.Ak+"/NVPInjector.min.js");return e};c.gj=function(a){return d[a]};c.r=function(a,b,e,d){if(a=c.gj(a))a.Sb.push({Ce:b||OBR.b.Ha(),Gh:d}),a.Ie=e,a.ci()};c.hj=function(a){return d[a].state};c.v=function(c){if("-1"!==a.c.Ib)try{d[c].Rf()}catch(b){throw a.error({name:"obm-MakeHandShakeError",message:"Error in module: "+c+", Err: "+b,stack:b.stack||"None"}),b;}};c.i(OBR);return c}();OBR.i=OBR.i||void 0;OBR.p=function(c){return document.getElementById(c)};OBR.ia=OBR.ia||function(){var c={},a={},d,f;a.i=function(b){d=b=b||OBR;c.wb=new d.F;f=!1};a.B=function(){return c};c.Rj=function(){var b,a;b=d.b.createElement("iframe","ob_ping");b.setAttribute("id","ob_ping");b.style.border="0px";b.style.width="0px";b.style.height="0px";b.setAttribute("src",d.c.Hd+"/utils/ping.html?r="+d.b.jg());d.b.u(b,"load",function(){d.e.log("ping returned");d.c.hg=2;c.wb.n("success");d.ia.vg()});a=d.b.Oa();null!==a&&(d.e.log("ping inserted"),d.b.S(b,a))};c.Vk=function(){d.e.log("ping Wait");
new d.Ca(function(){return 2===d.c.hg},function(){},d.b.Ha(),function(){c.wb.n("fail");d.ia.vg()},50,200,!1)};a.vg=function(){d.b.zb("ob_ping")};a.Mk=function(b){c.wb.add("success",b)};a.Lk=function(b){c.wb.add("fail",b)};a.gk=function(){return f};a.Jg=function(){f=!0};a.Uk=function(){c.Rj();c.Vk()};a.A=function(){c.wb.wa()};a.i(OBR);return a}();OBR.Na=OBR.Na||function(){var c,a={},d={},f;a.i=function(b){c=b=b||OBR;f=new c.F};a.B=function(){return d};d.Xc=function(b){var a,d;a=0;for(d=b.length;a<d;a+=1)c.b.ra(b[a],"data-ob-mark","true"),c.b.ra(b[a],"data-browser",c.c.ye),c.b.ra(b[a],"data-os",c.c.Ok),f.n("find",[b[a]])};d.bf=function(){return c.b.N("class","OUTBRAIN","div",!0)};d.$i=function(b){var a,d=[],f=[];for(a=0;a<b.length;a++){var k=b[a];if("string"===typeof k.containerId)if(c.p(k.containerId)){var l=c.p(k.containerId);OBR.ua.oi(k,
l);f.push(l)}else d.push(b[a])}window.OB_elements=d;return f};d.jj=function(){var b=[];"object"===typeof window.OB_elements&&0<window.OB_elements.length&&(b=window.OB_elements);return b};d.ij=function(){var b=[],a=d.bf(),f,g;f=0;for(g=a.length;f<g;f+=1){var k=c.b.fb(a[f],"data-ob-mark");null!==k&&"true"===k||!a[f]||b.push(a[f])}f=d.jj();if(0<f.length)for(c.e.log("Array of elements found!"),a=d.$i(f),f=0,g=a.length;f<g;f+=1)b.push(a[f]);return b};a.Fm=function(b){d.Ye(b)};d.Ye=function(b){if(void 0===
b){var a=!1;c.e.log("searching for containers");new c.Ca(function(){return a},c.b.Ha(),function(){a=c.Re.Yj();var b=d.ij();a&&c.e.log("checking:("+a+")");0<b.length&&d.Xc(b)},f.n("stopSearch"),50,1E3,!1)}else 0<(b.length||0)&&d.Xc(b)};a.$m=function(){return 0<d.bf().length};a.Kk=function(b){f.add("find",b)};a.kn=function(b){f.add("stopSearch",b)};a.Xe=function(){d.Ye()};a.Li=function(b){var a=[],f,g;f=0;for(g=c.j.length;f<g;f+=1){var k=c.b.C(f);null!==k&&("string"===typeof b&&c.b.ra(k,"data-src",
b),c.b.ra(k,"data-ob-mark","false"),a.push(k))}0<a.length&&(c.j=[],d.Xc(a))};a.A=function(){f.wa();c.j=[]};a.i(OBR);return a}();OBR.ca=OBR.ca||function(){var c={},a={},d=OBR,f;a.i=function(b){d=b;c.O=d.b.md("OB-AD-BLOCKER-STAT");null!==c.O&&d.e.log("AdBlock - status from local storage is: "+c.O);c.xe=0;c.Uc=0;c.ve=!1;f=d.c.Jf?1500:300;c.Qc=new d.F;a.da={Pd:0,cd:3,ge:6,be:7,Cf:8};null===c.O&&a.Rg()};a.Rd=function(b){c.Qc.add("onAdBlockStatusReady",b)};a.Rg=function(){c.wi()};c.wi=function(){document.body?c.Qj():(OBR.e.log("AdBlock - Don't have body. Stop full check"),c.O=c.O?c.O:"false",c.Qc.n("onAdBlockStatusReady",[c.O]))};
c.Qj=function(){var b;b=d.b.createElement("div","ob_ad","width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important; border:none; padding: 0 0 0 0;");b.className="Ads_4 AD_area ADBox AdsRec";document.body.appendChild(b);var a=c.uh();a.push(b);OBR.e.log("AdBlock - Start long status check for Ad Blocker existence");setTimeout(function(){c.xi(a);c.O=(0<c.Uc).toString();d.e.log("AdBlock - finish long status check. adBlock = "+c.O);
c.ve=!0;d.b.Lg("OB-AD-BLOCKER-STAT",c.O);c.Qc.n("onAdBlockStatusReady",[c.O])},f)};c.uh=function(){for(var b=["abp_ob_exist","abp_ob_wl"],a=[],c=d.b.gb(),f=0;f<b.length;f+=1)a.push(d.b.createElement("div",b[f],"width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important; border:none; padding: 0 0 0 0;",{"class":b[f]})),a[f].innerHTML=".",d.b.S(a[f],c);return a};c.xi=function(b){for(var a=[],f=[],g=0;g<b.length;g+=2){var k=b[g]?!d.b.ud(b[g]):
!1,l=b[g+1]?d.b.ud(b[g+1]):!1;f.push(k);k&&b.length>g+1&&a.push(l)}a.push(!1);for(g=0;g<b.length;g++)d.b.zb(b[g].id);c.xe=d.b.Ke(a);c.Uc=d.b.Ke(f)};a.uj=function(){return c.xe};a.Wi=function(){return c.Uc};c.zj=function(b,e){if(e===a.da.be||e===a.da.ge)return!1;var c=d.b.getElementsByClassName("ob-p",d.b.C(b));if(0<c.length)for(var f=0;f<c.length;f+=1)if(10<c[f].offsetHeight&&d.b.ud(c[f]))return!0;return!1};a.ai=function(b,a,f){var g=d.j[b];"undefined"===typeof g.Lf()&&g.Pl(0<a?c.zj(b,f):!1)};a.Sj=
function(){return c.O};a.Tj=function(){return null!==c.O};a.Xm=function(){return c.ve};a.B=function(){c.W=d;return c};a.i(OBR);return a}();OBR.D=OBR.D||function(){var c={},a={},d;a.i=function(a){d=a=a||OBR;c.Kd=new d.dd;c.vb=new d.F;c.pb=!1;c.Gm=null;c.$e=!0};c.Ui=function(a){var b,e,h=a.H(),g=d.b.ql;b=a.vj();var k=d.b.md("OB-USER-TOKEN"),l=d.w.Z(),l="&winW="+l.width+"&winH="+l.height,m=""!==d.c.ce&&0!==h?"&t="+d.c.ce:"",p=!0===d.c.lm||!0===a.pf(),n=a.rf()?"&videoId="+a.rf():"",q=a.of()?"&playerSrcId="+a.of():"",r=a.af()?"&api_user_id="+a.af():"",s=d.c.Ue?"&xp="+d.b.Q(d.c.Ue):"",u=d.c.Xj?"&wrDebug=true":"",w="true"===d.ca.Sj()?"&adblck=true":
"&adblck=false",v=a.kf()?a.kf():d.c.Tk,t="https://"===d.c.I?"&secured=true":"";b=b&&"hp"===b?d.c.Cj+"/utils/get?url=$LNK$SRC$VDOID$PLYSRCID&settings=$SET&recs=$REC&widgetJSId=$WID&key=$KEY$INSTYPE$APPVER&idx=$IDX&version=$VER&ref=$REF&apv=$APV&sig=$SIG&format=$FRT&rand=$RND$LSD$DRFT$ABTEST$XP$TOKEN$WINDOWSIZE$TST$USRID$CRDRFT$WRDBG$ADBLCK$SECURED":d.c.Hd+"/utils/get?url=$LNK$SRC$VDOID$PLYSRCID&settings=$SET&recs=$REC&widgetJSId=$WID&key=$KEY$INSTYPE$APPVER&idx=$IDX&version=$VER&ref=$REF&apv=$APV&sig=$SIG&format=$FRT&rand=$RND$LSD$DRFT$ABTEST$XP$TOKEN$WINDOWSIZE$TST$USRID$CRDRFT$WRDBG$ADBLCK$SECURED";
e=a.gd();b=g(b+(""!==e&&null!==e?"&fbk="+e:""),"$LNK",d.b.Q(a.pa()));b=g(b,"$SRC",c.qj(a));b=g(b,"$IDX",h);b=g(b,"$SET",!0);b=g(b,"$REC",!0);b=g(b,"$KEY",v);b=g(b,"$INSTYPE",a.lf()?"&installationType="+a.lf():"");b=g(b,"$APPVER",a.cf()?"&app_ver="+a.cf():"");b=g(b,"$WID",a.q());b=g(b,"$VER",d.c.Ib);b=g(b,"$REF",d.c.el);b=g(b,"$SIG",d.c.Yg);b=g(b,"$APV",d.c.Rb);b=g(b,"$FRT",a.bj());b=g(b,"$RND",d.b.jg());b=g(b,"$DRFT",d.c.Ek);b=g(b,"$ABTEST",d.c.sh);b=g(b,"$CRDRFT",d.c.mi);b=g(b,"$XP",s);b=g(b,"$LSD",
k?"&lsd="+d.b.Q(k):"");b=g(b,"$TOKEN",m);b=g(b,"$WINDOWSIZE",l);b=g(b,"$TST",p?"&testMode=true":"");b=g(b,"$USRID",r);b=g(b,"$VDOID",n);b=g(b,"$PLYSRCID",q);b=g(b,"$WRDBG",u);b=g(b,"$ADBLCK",w);return b=g(b,"$SECURED",t)};c.qj=function(a){var b="&srcUrl=";a=a.rj();return b=null!==a&&"string"===typeof a&&0<a.length?b+d.b.Q(a):0<d.c.Pg.length?b+d.c.Pg:""};c.Hj=function(a,b){var e=b.m,h=b.q(),g=d.b.L(0,a,!0);d.b.u(g,"error",function(){c.vb.n("onOdbFail_"+e+"_"+h,[b],!0)});d.b.R(g);c.vb.n("onOdbFire_"+
e+"_"+h,[b],!0);d.e.log("fire this src "+a)};c.Ol=function(a){d.c.Nf&&setTimeout(function(){c.ug(a.m,a.q())},1E4)};c.ug=function(a,b){d.b.zb("ob_odbCall_"+a+b)};c.Uj=function(){var f=d.ca.Tj();if(c.$e)if(c.$e=!1,f)d.e.log("AdBlock ODB detected immediately");else{var b=new d.qh;d.e.log("AdBlock ODB start stopwatch");b.start();d.ca.Rd(function(){d.e.log("AdBlock ODB detected after "+b.stop());a.n()})}return f};a.n=function(){if(!0!==c.pb&&!0===d.ia.gk()&&c.Uj()){c.pb=!0;var a=c.Kd.top(),b;a?(d.e.log("fire odb for "+
a.pa()),b=c.Ui(a),c.Hj(b,a),c.Ol(a)):c.pb=!1}};a.eg=function(a,b){c.vb.add("onOdbFire_"+a.m+"_"+a.q(),b)};a.dg=function(a,b){c.vb.add("onOdbFail_"+a.m+"_"+a.q(),b)};a.he=function(a,b){c.pb=!1;c.ug(a,b)};a.Cl=function(a){!0===a&&(OBR.c.Rb=a)};a.Vl=function(a){a&&(d.c.ce=a)};a.Fj=function(){d.c.Rb=!1};a.Qd=function(f){c.Kd.add(f);d.e.log("register odb for "+f.pa());a.n()};a.Oh=function(c){a.he(c.m,c.q());a.n()};a.A=function(){c.Kd.di();c.vb.wa();c.pb=!1};a.B=function(){c.W=d;return c};a.i(OBR);return a}();OBR.k=OBR.k||function(){function c(){d.e.log("ping fail")}function a(){d.e.log("ping success");d.ia.Jg();d.D.n()}var d,f={},b={},e;f.ic="manualDataReady";f.Uf="manualEditorialDataReady";f.Ad="manualClickReady";f.i=function(b){d=b=b||OBR;e=new d.F};f.B=function(){return b};f.ln=function(b){e.add("onHtmlReturn",b)};f.jl=function(b){e.add("noRecs",b)};b.$a=function(a){d.e.log("rec "+a+" was rendered");var e=d.j[a];e.sa(!0);0===a&&d.b.Dl();b.Ae(e);d.b.Fh(e);d.display.Mj(e);b.Sk(e);b.ti(e)};b.ti=function(b){!0===
b.h("d2cFunnelEnabled",!1)&&OBR.d.r(OBR.d.f.yc,function(b){OBR.Pe.tk(b)},this,b)};b.Sk=function(b){var a=b.h("recMode",""),e=b.h("dynamicWidgetLayout","");(-1<a.indexOf("top-box")||-1<a.indexOf("bottom-box")&&-1===a.indexOf("bottom-box-vertical")||"odb_dynamic"===a&&-1<e.indexOf("top-box"))&&OBR.d.r(OBR.d.f.Ac,function(b){OBR.za.Dd(b)},this,b)};b.Um=function(b){return Math.floor(Math.random()*b)+1};b.Ae=function(b){b.h("globalWidgetStatistics",!0)&&d.ta&&d.ta.Bh(b)};b.vm=function(a){d.e.log("widget was found");
a=d.Jb.Ah(a);0===a.m&&b.Ph();!0===a.Zj()?d.e.log("Dynamic loader - stop odb!"):d.D.Qd(a)};f.$f=function(b,a){var e="NA",c=b&&b.response?b.response:null,m;m=d.b.jd(a);m.qb()||(c&&(c.request&&c.request.widgetJsId)&&(e=c.request.widgetJsId),d.D.he(a,e),m&&(c&&c.documents)&&(m.sa(!0),m.vd()?f.Xb(f.Uf,a,m.q(),b):f.Xb(f.ic,a,m.q(),b.response.documents)),d.D.n())};f.Xb=function(b,a,c,d){e.n(b+a+c,[d,a],!0)};f.rg=function(b,a,c,d){e.add(b+a+c,d)};f.Bd=function(b,a){if(null!==b){var e=0,e=b.permalink,c=b.widgetId,
m=d.ua.ri(b);(b.videoId||e&&"string"===typeof e)&&(c&&"string"===typeof c)&&(d.e.log("manual Odb call"),e=f.yk(b),m.idx=e,m.isManualWidget=!0,m=d.Jb.Me(m),m.Il(),d.Ra[e]=m,m.vd()&&d.xa.Kh(m),f.rg(f.ic,e,m.q(),a),d.ia.Jg(),d.D.Qd(m))}};f.yk=function(b){var a=0,e=d.c;if(b.videoId)return 0;b=b.permalink;null===e.ub&&(e.ub=0<d.j.length?d.j[0].pa():null);e.ub===b?(0===e.hc&&(e.hc=100),a=e.hc+1):e.ub=b;return e.hc=a};f.tb=function(a,c){var f=OBR.p(d.c.nb);d.b.Qa(f)&&d.b.Qa(f.parentNode)&&f.parentNode.removeChild(f);
d.b.sd(d.c.nb);"function"===typeof c&&e.add(b.Ad,c);if(null!==a&&(f=a.link)&&"string"===typeof f){d.e.log("manual Click");if(null!==f.match(/http:\/\/.+outbrain.com/i))d.b.Wh(f+"&noRedirect=true");else throw"Wrong redirect link: "+f;e.n(b.Ad);e.tg(b.Ad)}};b.Mf=function(b){return b.h("stopRater",!1)};b.Ph=function(){d.c.Dk||d.c.Nf?(d.e.log("async - no ping"),a()):d.ia.Uk()};f.Id=function(a,c){var k,l;OBR.e.log("HTML returned");c=b.Yf(c);(k=d.j[c])?(0>=k.oj(a)&&e.n("noRecs",[k]),k.qb()||(k.setData(a),
d.D.Vl(k.g("t",null)),d.c.dc="mobile"===k.g("readerPlatform","desktop"),d.c.kc=k.g("readerPlatform","desktop"),l=k.q(),e.n("odbRtn_"+l,[k]),e.n("odbRtn_"+c,[k]),e.n("onHtmlReturn",[k],!1,k),b.Mf(k)||k.wd()||b.pk(k.hd())?b.Ae(k):(d.D.Cl(k.h("apv",!1)),f.hk(k)?f.Va(c):f.yj(k),b.$h(k),b.Zh(k))),f.Pi(k)):d.e.log("odbHtmlReturned : Widget not found")};b.Yf=function(b){return 1E3>b?b:b%1E3};b.pk=function(b){var a=!1;null!==b.match(/(<\/?met|<\/?scr)/i)&&(a=!0,d.e.log("SECURITY"));return a};f.Pi=function(a){b.Mf(a)||
(d.D.he(a.m,a.q()),d.D.n())};b.$h=function(b){!d.c.dc&&b.mk()&&b.jk()?d.d.r(d.d.f.Lc,function(b){d.Og.i(b)},this,b):b.lk()&&d.d.r(d.d.f.Mc,function(b){d.Xa.i(b)},this,b)};b.Zh=function(b){d.c.dc&&!0===b.h("isReadMoreEnabled",!1)&&d.d.r(d.d.f.Fc,function(b){d.kg.i(b)},this,b)};f.hk=function(b){var a=!0;if(b.Pf()||b.Hf()||b.s&&b.s.reason&&b.s.reason===OBR.xa.Ea.qe)a=!1;return a};f.yj=function(b){var a=b.m;b.Pf()?d.d.r(d.d.f.Pc,function(){d.uc.pi(a)},this):b.Hf()&&d.display.Jj(b)};f.Va=function(b){b=
d.j[b];d.display.Va(b);d.e.log("HTML - Render");f.Zk(b);f.pl(b)};f.pl=function(b){if(!0===b.fj()){var a={};a.platform=d.c.kc;a.lang=b.g("lang","en");a.uuid=b.g("lsd",null);a.publisherId=b.g("pid",null);a.sourceId=b.g("sid",null);a.widgetNumberId=b.g("wnid",null);a.location=b.g("gl","");a.timestamp=b.od();d.d.r(d.d.f.Ya,function(){window.NVPInjector.main.widgetLoad(d.b.C(b.H()),b.lb(),a)})}};f.Zk=function(b){d.b.Xh(b);d.Ud.oc(b);d.Ub.qd(b.H())};f.mg=function(b,a){d.b.P(a,"ob_clicked");var e=d.b.fb(a,
"data-redirect");null!==e&&(a.href=e);return!0};f.Ta=function(a){b.ei();d.Na.Li(a);return!0};f.A=function(){e.wa()};f.oc=function(){d.Na.Kk(b.vm);d.display.Sa(b.$a);d.ia.Mk(a);d.ia.Lk(c);d.c.fc?d.c.fm():d.Na.Xe()};f.Th=function(b,a,e){if(window.confirm("Removing this recommendation will remove it permanently for this section and will refresh the recommendations.\n Are you sure you want to remove this recommendation?")){var c="https://my.outbrain.com/manage/",c=!1===e?c+("add-zapped-document?publisherId="+
a+"&docUrl="+d.b.Q(b)):c+("add-rule?publisherId="+a+"&ruleValue="+d.b.Q(b)+"&ruleType="+e);b=d.b.L(0,c,!0);d.b.R(b)}};f.Sh=function(b){window.confirm("Removing this recommendation will remove it permanently for this section and will refresh the recommendations.\n Are you sure you want to remove this recommendation?")&&(b=d.b.L(0,d.c.Hd+d.c.Uh+b+"&index=1&templateIndex=1&sig="+d.c.Yg,!0),d.b.R(b))};f.sl=function(b){b&&(b.ob_exclude_resp&&"number"===typeof b.ob_exclude_resp.code&&1!==b.ob_exclude_resp.code)&&
f.Ta()};f.il=function(b,a){if(a&&"function"===typeof a){var c="odbRtn_"+b;e.add(c,a);var f=d.ua.uf(b);f&&f.Ef()&&e.n(c,[f])}};f.hl=function(b,a){if(a&&"function"===typeof a){var c="odbRtn_"+b;e.add(c,a);var f=d.ua.sf(b);f&&f.Ef()&&e.n(c,[f])}};f.Xi=function(b){return(b=d.ua.uf(b))?b.g("tcr",-1):null};f.Ab=function(){d.Na.Xe()};f.wa=function(){d.display.A();d.D.A();d.ia.A();this.A();d.Na.A();d.ta.A();d.Ud.A();d.pd.A();d.xa&&d.xa.A();d.Xa&&d.Xa.A();d.c.Rb=!1};f.ml=function(){this.wa();this.oc()};b.ei=
function(){d.D.Fj();d.ta.A()};f.pg=function(a,e){a=b.Yf(a);var c=d.j[a];c.gl(e);OBR.Ta&&OBR.Ta.Zd(c);d.D.Qd(c)};f.Vf=function(b,a,c,d,m){a&&b&&(f.tb({link:a},null),e.n("videoClick_"+b,[{videoUrl:c,videoId:d,widgetId:b,widgetIdx:m}]))};f.cg=function(b,a){e.add("videoClick_"+b,a)};f.i(OBR);return f}();OBR.display=OBR.display||function(){var c,a={},d;a.i=function(a){c=a=a||OBR;d=new c.F};a.Af=function(d,b){var e=c.b.im(d),h=c.b.C(b.m);h&&(e&&0<e.length)&&(0<b.ld()?a.Hi(h,e[0],b.m,b):a.Eg(e[0],h,b.m,b),c.e.log("element inserted"))};a.Hi=function(d,b,e,h){function g(){a.Aj(d).Fb(function(c){a.Nl(c,b,e,h).Fb(function(b){a.Gi(b)})})}var k=new c.Za;k.Fb(function(){a.Ii(d).Fb(g)});k.Wa()};a.Ii=function(a){var b=new c.Za,e=1,d=setInterval(function(){0.1>=e?(clearInterval(d),b.Wa(a)):(a.style.opacity=e,
c.c.Kf?e=0:(a.style.filter="alpha(opacity="+100*e+")",e-=0.1*e))},10);return b};a.Aj=function(a){var b=new c.Za;a.style.opacity=0;setTimeout(function(){b.Wa(a)},0);return b};a.Nl=function(d,b,e,h){var g=new c.Za;a.Eg(b,d,e,h);setTimeout(function(){g.Wa(d)},0);return g};a.Eg=function(a,b,e,h){b.innerHTML="";c.b.S(a,b);d.n("afterRender",[e],!1,h)};a.Gi=function(a){var b=new c.Za,e=0.1,d=setInterval(function(){1<=e?(clearInterval(d),a.removeAttribute("style"),b.Wa(a)):(a.style.opacity=e,c.c.Kf?e=1:(a.style.filter=
"alpha(opacity="+100*e+")",e+=1.6*e))},50)};a.jn=function(a){d.add("beforeRender",a)};a.Sa=function(a){d.add("afterRender",a)};a.Mj=function(a){c.b.ik(a)&&OBR.d.r(OBR.d.f.Jc,function(b){OBR.scroll.Dd(b)},this,a)};a.Jj=function(d){OBR.d.r(OBR.d.f.Ec,c.b.Ha(),this);OBR.d.r(OBR.d.f.zc,function(){a.Si(d)},this)};a.Si=function(c){a.Af(OBR.Yb.Ej(c),c);OBR.Yb.i()};a.Va=function(d){c.e.log("HTML - render widget");a.Af(d.hd(),d);d.sa(!0)};a.A=function(){d.wa()};a.i(OBR);return a}();OBR.ue=OBR.ue||function(c){var a={},d=OBR,f={},b={},e={},h="",g=null,k=null,l=null,m=null,p=!1,n=0,q="html",r=!1,s=4E3,u="nano",w=!1,v=!1,t=0,y=!1,x=null,z=null,A=null,B=null,C=null,D=null,E=!1,F=!1,G;a.Em=0;a.Dm=1E3;a.Am=2;a.m=c;a.Wb="";a.s={};a.Ki={slow:7E3,normal:5E3,fast:3E3,qa:5};a.setData=function(c){c&&c.response&&(c=c.response,c.request&&(b=c.request),c.settings&&(f=c.settings),c.meta&&(e=c.meta),c.timestamp&&(g=c.timestamp),c.html&&(h=c.html),r=!0);a.Dh()};a.lb=function(){return f};a.Rm=
function(){return e};a.h=function(b,a){var c;c=f[b];return"undefined"!==typeof c&&null!==c?c:a};a.fj=function(){var b;b=e.inlineNVP;return"undefined"!==typeof b&&null!==b?b:!1};a.Dh=function(){a.Xl()};a.oj=function(b){var a={};return b&&(b.response&&b.response.request)&&(a=b.response.request,b=a.tcr)?b:-1};a.g=function(a,c){var e=b[a];return e?e:c};a.hd=function(){return h};a.od=function(){return g};a.$l=function(b){a.Ig(b.permalink);a.bm(b.widgetId);a.Gl(b.dynLoad);a.cm(b.widgetType);a.am(b.fbk);
a.Hl(b.timeout);a.Tl(b.srcUrl);a.Ul(b.testMode);a.Kl(b.installationKey);a.Ll(b.installationType);a.Bl(b.appVer);a.Al(b.userId);a.Zl(b.videoId);a.Rl(b.playerSrcId);a.Jl(b.inPlayer);"boolean"===typeof b.isManualWidget&&a.Ml(b.isManualWidget)};a.q=function(){return k};a.bm=function(b){k="string"===typeof b?b:"NA"};a.Il=function(){q="vjapi"};a.bj=function(){return q};a.pn=function(b){n=b};a.Nm=function(){return n};a.pa=function(){return l};a.Ig=function(b){l=b};a.rf=function(){return C};a.Zl=function(b){C=
b};a.of=function(){return D};a.Rl=function(b){D=b};a.Jl=function(b){E=b};a.If=function(){return E};a.Ul=function(b){y="true"===b||!0===b};a.pf=function(){return y};a.Kl=function(b){x=b};a.Ll=function(b){z=b};a.Bl=function(b){A=b};a.Al=function(b){B=b};a.af=function(){return B};a.Tl=function(b){m=b};a.rj=function(){return m};a.Zj=function(){return p};a.Gl=function(b){p="true"===b||!0===b};a.Hf=function(){return"flyThrough"===a.h("displayMode","")};a.Pf=function(){return"video"===a.h("displayMode",
"")};a.bn=function(){return"recInIframe"===a.h("displayMode","")};a.wd=function(){return!0===a.h("stopRater",!1)||!0===a.h("stopWidget",!1)};a.Ef=function(){return r};a.jk=function(){return!0===a.h("isSkylandersInjectionEnabled",!1)};a.lk=function(){return!0===a.h("isTopBoxInjectionEnabled",!1)};a.mk=function(){return!0===a.h("isUIExperimentsEnabled",!1)};a.vj=function(){return u};a.kf=function(){return x};a.lf=function(){return z};a.cf=function(){return A};a.cm=function(b){"string"===typeof b&&(u=
b.toLowerCase())};a.Fg=function(){F=!0};a.Pl=function(b){G=b};a.Lf=function(){return G};a.Ym=function(){return!!F};a.am=function(b){"string"===typeof b&&""!==b&&(a.Wb=b)};a.vd=function(){return""!==a.gd()};a.$j=function(){return!isNaN(parseInt(a.Wb,10))};a.gd=function(){var b;b=parseInt(a.Wb,10);return a.$j()&&"number"===typeof b&&0<=b&&10>b?OBR.b.aj(l,b):a.Wb};a.qb=function(){return w};a.sa=function(b){w=!!b};a.Zm=function(){return"hp"===u};a.Pm=function(){return a.s};a.qn=function(b){"object"===
typeof b&&(a.s=b)};a.ek=function(){return v};a.hf=function(){return s};a.Hl=function(b){s=a.Ki[b]||6E3};a.Ml=function(b){v=!!b};a.Xl=function(){var b=a.g("lsd",null),c=!0===a.g("oo",!1),e="string"===typeof b&&0<b.length,f=!0===a.h("isUseLocalStorageForUUID",!0);f&&!c&&e?d.b.Lg("OB-USER-TOKEN",b):f||d.b.vi()};a.H=function(){return 0===t?a.m:1E3*t+a.m};a.gl=function(b){"string"===typeof b?(OBR.b.ra(OBR.b.C(a.m),"data-src",b),a.Ig(b),t=0):t+=1;a.sa(!1)};a.ld=function(){return t};return a};
OBR.Jb=OBR.Jb||function(){var c=OBR,a={},d=new c.F;a.Me=function(a){a.idx=a.idx||0;var b=new c.ue(a.idx);b.$l(a);return b};a.Ah=function(f){var b,e,h=c.ua.qi(f);c.b.ra(f,"data-dynLoad","");h.permalink=c.ua.bi(h.permalink);b=0===c.j.length&&c.c.ub===h.permalink?1:c.j.length;h.idx=b;e=a.Me(h);c.j[b]=e;c.b.ra(f,"data-idx",b);!0===h.isSecured&&"https://"!==c.c.I&&(c.c.Kg("https:"),c.d.i(OBR));0===b&&(c.b.Le(f),c.b.sd(c.c.nb));f.id=c.c.vc+b;d.n("onWidgetCreate",[e]);return e};a.fg=function(a){d.add("onWidgetCreate",
a)};return a}();
OBR.ua=OBR.ua||function(){var c=OBR,a={X:{widgetId:{a:"data-widget-id",t:"string"},permalink:{a:"data-src",t:"string"},srcUrl:{a:"data-ob-srcUrl",t:"string"},dynLoad:{a:"data-dynLoad",t:"boolean"},widgetType:{a:"data-widget-type",t:"string"},timeout:{a:"data-timeout",t:"string"},fbk:{a:"data-fbk",t:"string"},testMode:{a:"data-ob-test",t:"boolean"},installationKey:{a:"data-ob-installation-key",t:"string"},userId:{a:"data-ob-user-id",t:"string"},videoId:{a:"data-ob-video-id",t:"string"},playerSrcId:{a:"data-ob-player-src-id",
t:"string"},inPlayer:{a:"data-ob-in-player",t:"boolean"},installationType:{a:"data-ob-installation-type",t:"string"},appVer:{a:"data-ob-app-ver",t:"string"},isSecured:{a:"data-is-secured",t:"boolean"}},uf:function(a){var f,b,e;if(c.j)for(b=c.j.length,f=0;f<b;f+=1)if((e=c.j[f])&&e.q()===a)return e;return null},sf:function(a){return c.j[a]?c.j[a]:null},ri:function(c){var f={},b;for(b in a.X)a.X.hasOwnProperty(b)&&typeof c[b]===a.X[b].t&&(f[b]=c[b]);return f},qi:function(d){var f={},b;for(b in a.X)if(a.X.hasOwnProperty(b)){var e=
c.b.fb(d,a.X[b].a);"true"===e||"false"===e?f[b]="true"===e:typeof e===a.X[b].t&&"null"!==e&&(f[b]=e)}return f},bi:function(a){if("string"!==typeof a||"null"===a)a=c.b.mf(!1);else if(0===a.length||0===a.indexOf("DROP")||0===a.indexOf("INSERT"))a=c.b.mf(!0);return a},oi:function(d,f){for(var b in a.X)a.X.hasOwnProperty(b)&&typeof d[b]===a.X[b].t&&c.b.ra(f,a.X[b].a,d[b])}};return a}();OBR.xa=OBR.xa||function(){var c={},a=OBR,d={},f=new a.F;c.Ea={Ic:0,TIMEOUT:1,fh:2,qe:3};d.Jh=function(b){b.vd()&&(b.Fg(),d.we(b),OBR.D.dg(b,function(){d.Gg(b)}),OBR.D.eg(b,function(){d.Hg(b)}),OBR.k.hl(b.H(),d.Jk))};c.Kh=function(b){b.Fg();d.we(b);a.D.dg(b,function(){d.Gg(b)});a.D.eg(b,function(){d.Hg(b)});a.k.rg(a.k.Uf,b.H(),b.q(),function(b,a){d.Ik(a,b)})};d.we=function(b){b.s={reason:c.Ea.Ic,Wc:!1,ag:!1,Ee:0,Fe:0}};d.Gg=function(b){b&&b.s.reason===c.Ea.Ic&&(a.e.log("ODB failed - using IronDome "),
b.s.reason=c.Ea.fh,d.Vd(b))};d.Jk=function(b){clearTimeout(b.s.Jd);OBR.e.log("Editorial ODB returned for "+b.H());b.s.Wc||(!0===b.h("ispartialrecs",!1)?(a.e.log("ODB partial - using IronDome "),b.s.reason=c.Ea.qe,d.Vd(b)):b.s.ag=!0)};d.Vd=function(b){clearTimeout(b.s.Jd);if(b.wd())a.e.log("CDN canceled stop setting");else{var c=d.Ti(b);d.Ij(c,b)}};d.Ti=function(b){var c;c=a.c.Vh;b=b.gd()+"_"+b.q()+"_"+b.m;return c+b};d.Ij=function(b,c){var d=a.b.L(0,b,!1);c.s.Fe=(new Date).getTime();a.b.R(d);a.e.log("Inject CDN call: "+
b)};d.Hg=function(b){b.s.Jd=setTimeout(function(){d.Hk(b)},b.hf())};d.Hk=function(b){b.s.reason=c.Ea.TIMEOUT;a.e.log("ODB Timeout - using IronDome ");d.Vd(b)};c.De=function(b,c){var f;if(b&&b.response){OBR.e.log("Cdn response returned");f=a.ua.sf(c);if(!f&&(f=a.b.jd(c),!f))return;f.s.Ee=(new Date).getTime()-f.s.Fe;a.D.Oh(f);d.ol(f,b);d.Kj(f)}};d.ol=function(b,c){b.s.Wc=!0;c.response&&c.response.request&&(c.response.request.req_id="");b.s.ag||(b.ek()&&c.response.documents?a.k.Xb(OBR.k.ic,b.m,b.q(),
c.response.documents):(b.setData(c),a.j[b.m]=b,OBR.k.Va(b.m)),b.sa(!0))};d.Kj=function(b){var c=a.b.Q(b.pa()),d=b.h("irdfb","");""!==d&&(d+="&reason="+b.s.reason,d=d+("&url="+c)+("&at="+b.s.Ee),d+="&to="+b.hf()||"",d+="&ir="+(b.s.Wc?1:0),b=OBR.b.L(0,d,!1,!0),OBR.b.R(b))};d.Ik=function(b,c){var f=a.b.jd(b);clearTimeout(f.s.Jd);c&&c.settings&&!0===c.settings.ispartialrecs?d.mn(f):a.k.Xb(a.k.ic,b,f.q(),c.response.documents)};a.Jb.fg(d.Jh);c.A=function(){f.wa()};c.B=function(){return d};return c}();OBR.w=OBR.w||function(){var c={},a=OBR,d={height:0,width:0},f=300;c.$=function(b){a=b};c.B=function(){var b={};b.W=a;return b};c.kd=function(){return new OBR.Ob({})};c.Mg=function(){var b,a,c;c={height:0,width:0};b=void 0!==window.innerWidth;a=void 0!==document.documentElement&&void 0!==document.documentElement.clientWidth&&0!==document.documentElement.clientWidth;b?(c.height=window.innerHeight,c.width=window.innerWidth):a?(c.height=document.documentElement.clientHeight,c.width=document.documentElement.clientWidth):
!1===b&&!1===a&&(c.height=document.getElementsByTagName("body")[0].clientHeight,c.width=document.getElementsByTagName("body")[0].clientWidth);d=c};c.Z=function(){return d};c.Dg=function(){document&&document.body&&(f=Math.max(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.offsetHeight,document.documentElement.offsetHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight)))};c.ef=function(){return f};c.gf=function(b){var a=
0;if(!b)return c.Md.oe;try{if(b.offsetParent)for(;;){a+=b.offsetTop;if(!b.offsetParent)break;b=b.offsetParent}else b.y&&(a+=b.y)}catch(d){return OBR.error(d),c.Md.oe}return parseInt(a,10)};c.qf=function(){return document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop};c.fk=function(){return OBR.w.Z().height+10>=OBR.w.ef()};OBR.b.u(window,"resize",function(){c.Mg();c.Dg()});c.Mg();c.Dg();return c}();
OBR.Ob=OBR.Ob||function(c){var a,d={Md:{oe:1E4}};if(c)for(a in c)c.hasOwnProperty(a)&&(d.Md[a]=c[a]);d.bb=function(a,b){if(!a||0>b||100<b)return!1;var c=a.getBoundingClientRect(),d=OBR.w.Z().height,g;g=Math.round(a.clientHeight*b/100);g=g>d?d-1:g;return c.top+g<=d&&0<=c.bottom-g};return d};OBR.d.v(OBR.d.f.Ec);OBR.ta=OBR.ta||function(){var c={},a={},d=OBR,f=(new Date).getTime(),b;a.i=function(e){d=e;c.xb=null;c.jc=null;c.wf="function"===typeof window.IntersectionObserver;c.T=!1;c.Kb=[];c.Nd=new d.Ob;c.Tb=new d.dd;c.Qb=!1;c.Te=0;c.Gf=!0;a.da={Pd:0,cd:3,ge:6,be:7,Cf:8};b="loggerServices/widgetGlobalEvent?";c.Df=d.c.Eh};c.start=function(){c.Gf&&(c.Gf=!1,OBR.e.log("Starting Statistics"),c.Vi(),!0!==c.Df&&(c.wf||d.b.u(window,"scroll",c.yd)))};c.Vi=function(){d.ca.Rd(function(){c.Qb=!0});OBR.e.log("AdBlock - Start full check for stats");
d.ca.Rg()};a.Bh=function(b){OBR.e.log("Adding stats for: "+b.H());var f=b.s;c.start();b.h("tracking",!1)?c.Cb(b,a.da.ge,!1):b.wd()?c.Cb(b,a.da.be,!1):-1<b.h("recMode","").indexOf("top-box")||-1<b.h("recMode","").indexOf("bottom-box")?c.Cb(b,a.da.Pd,!1):f&&f.reason&&f.reason!==d.xa.Ea.Ic?c.Cb(b,a.da.Cf,!0):c.Cb(b,a.da.Pd,!0)};c.sg=function(b){b=b.H();c.Kb[b]||(c.Kb[b]=d.b.C(b))};c.Cb=function(b,a,f){function k(){f&&(c.Df?c.sg(b):c.wf?(OBR.e.log("Observe "+b.H()),c.Fk(b)):(c.sg(b),c.yd()))}c.Qb?(c.Je(b.H(),
a),k()):d.ca.Rd(function(){c.Qb=!0;c.Je(b.H(),a);k()})};c.Je=function(b,a){var d;d=c.Oe(b,a);c.yg(d)};a.qc=function(){var b,d,f=c.Kb,k=f.length||0;for(b=0;b<k;b+=1)void 0!==f[b]&&f[b]&&(d=c.Nd.bb(f[b],0),!0===d&&a.wc(b));return null};a.wc=function(b){var d=c.Oe(b,a.da.cd);c.yg(d);c.Kb[b]=null};a.Ei=function(){c.yd()};c.yg=function(b){OBR.e.log("Stats waiting list: "+b);c.Tb.add(b);c.Qb&&c.Ni()};c.Ni=function(){var b=d.b.Oa(),a;for(b||(b=d.b.gb());!c.Tb.ak();)a=c.Tb.top(),a+="&ab="+d.ca.Wi()+"&wl="+
d.ca.uj(),a=d.b.L(0,a,!0,!1),d.b.S(a,b)};c.mj=function(b,a){var f=b.g("pvId",""),k=f,l=0<f.length;0===a&&null===c.jc&&null===c.xb?k=l?c.jc=f:c.xb="irondome"+d.b.kb(24):f?c.xb&&(k=c.xb):k=c.jc?c.jc:c.xb;return k};c.Oe=function(e,h){var g=d.j[e],k=c.mj(g,e),l=g.g("org","0"),m=g.g("pad","0");d.ca.ai(e,m,h);var p=g.Lf()?"1":"0",n=[];n.push(d.c.gg+b);n.push("eT="+h);n.push("&tm=");n.push((new Date).getTime()-f);n.push("&pid="+g.g("pid",-1));n.push("&sid="+g.g("sid",-1));n.push("&wId="+g.g("wnid",-1));
n.push("&wRV="+d.c.Ib);n.push("&rId="+g.g("req_id",-1));n.push("&idx="+g.m);n.push("&pvId="+k);n.push("&org="+l);n.push("&pad="+m);n.push("&pVis="+p);n.push("&eIdx=");h===a.da.cd&&n.push(c.Te++);return n.join("")};c.yd=function(){c.T||(a.qc(),setTimeout(function(){c.T=!1},150),c.T=!0)};c.Fk=function(b){b=d.b.C(b.H());(new window.IntersectionObserver(c.Gk,{on:"0px",rn:[0]})).observe(b)};c.Gk=function(b,c){var d;b.forEach(function(b){d=b.target.dataset.idx;c.unobserve(b.target);c.disconnect()});d&&
!isNaN(d)&&(a.wc(d),OBR.e.log("Callback Observe "+d))};a.A=function(){c.T=!1;c.Kb=[];c.Tb=new d.dd;c.Te=0;f=(new Date).getTime()};a.i(OBR);return a}();OBR.d.v(OBR.d.f.te);OBR.Ub=OBR.Ub||function(){var c={},a={},d=OBR;c.$=function(a){d=a};a.wk=function(c,b){var e=c.style;e.fontSize=a.G(b,"font-size");e.fontWeight=a.G(b,"font-weight");e.fontFamily=a.G(b,"font-family");e.lineHeight=a.G(b,"line-height");e.textTransform=a.G(b,"text-transform");e.letterSpacing=a.G(b,"letter-spacing");var d=a.G(b,"padding-right").replace("px",""),g=a.G(b,"padding-left").replace("px","");e.display="block";e.visibility="hidden";e.width=b.clientWidth-g-d+"px"};a.Zb=function(a){return a.innerText||
a.textContent};a.nm=function(c,b){for(var e=a.Zb(c),d;0<b&&c.offsetHeight>b&&0<e.length;)e=e.substring(0,e.length-1),c.innerHTML=e,d=!0;if(0===e.length)d=!1;else{var g=c.offsetHeight;a.xg(c,d);g<c.offsetHeight&&(e=e.substring(0,e.length-1),c.innerHTML=e,a.xg(c,d))}return d};a.indexOf=function(a,b){a.indexOf||"indexOf"in Array.prototype||(Array.prototype.indexOf=function(b,a){void 0===a&&(a=0);0>a&&(a+=this.length);0>a&&(a=0);for(var c=this.length;a<c;a++)if(a in this&&this[a]===b)return a;return-1});
return a.indexOf(b)};a.Ci=function(c){var b=!1;-1<a.indexOf(".,-_' ".split(""),c.substring(c.length-1,c.length))&&(b=!0);return b};a.G=function(a,b){var c="";document.defaultView&&document.defaultView.getComputedStyle?c=document.defaultView.getComputedStyle(a,"").getPropertyValue(b):a.currentStyle&&(b=b.replace(/\-(\w)/g,function(b,a){return a.toUpperCase()}),c=a.currentStyle[b]);return c};a.xg=function(c,b){if(b){var e=a.Zb(c),e=0<e.lastIndexOf(" ")?e.substring(0,e.lastIndexOf(" ")):e.substring(0,
e.length-3);a.Ci(e)&&(e=e.substring(0,e.length-1));c.innerHTML=e+"&hellip;"}};a.ni=function(){var a=document.createElement("div");a.style.position="absolute";a.style.top="-1000px";a.style.left="-1000px";document.body.appendChild(a);return a};a.mm=function(c){function b(){for(var b=0;b<e.length;b++){var c=e[b];c.title=a.Zb(c);var d=c.clientHeight,f=parseInt(a.G(c,"max-height").replace("px",""));if(!(d<f)){var d=c.cloneNode(!0),m=a.ni();a.wk(d,c);m.appendChild(d);f=a.nm(d,f);!0===f?c.innerHTML=a.Zb(d):
!1===f&&(OBR.e.log("Truncation - External CSS broke the calculation, truncation is canceled."),OBR.error({name:"obm-TruncationError",message:"External CSS broke the calculation, truncation is canceled."}));m.parentNode.removeChild(m)}}}var e=d.b.getElementsByClassName("ob-rec-text",c);0===d.b.getElementsByClassName("ob-touch-strip-layout",c).length?b():setTimeout(b,1E3)};a.zi=function(a){var b=!1;a=d.b.getElementsByClassName("ob-widget",a);0<a.length&&(a=a[0],a.attributes["data-dynamic-truncate"]&&
"true"===a.attributes["data-dynamic-truncate"].value&&(b=!0));return b};c.qd=function(c){(c=d.b.C(c))&&a.zi(c)&&function(b){setTimeout(function(){a.mm(b)},500)}(c)};return c}();OBR.ab=OBR.ab||function(){var c={},a={},d;a.i=function(a){d=a=a||OBR};c.vf=function(){if("undefined"!==typeof XMLHttpRequest)return new XMLHttpRequest;for(var a=["MSXML2.XmlHttp.6.0","MSXML2.XmlHttp.3.0"],b,c=0;c<a.length;c++)try{b=new ActiveXObject(a[c]);break}catch(d){}return b};c.send=function(a,b,c,h,g,k){void 0===k&&(k=!0);a.addEventListener("error",function(){d.error({name:"obm-AjaxError",message:"Ajax error failed, method:"+h+" With data: "+g})});a.open(h,b,k);a.onreadystatechange=function(){4===
a.readyState&&typeof c===d.c.eb&&c(a.responseText)};h===d.c.V.ma&&a.setRequestHeader("Content-type","application/x-www-form-urlencoded");a.send(g)};c.bd=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")};a.get=function(a,b,e,d){var g=c.vf();b=c.bd(b);c.send(g,a+(b.length?"?"+b:""),e,"GET",null,d)};a.Yk=function(a,b,e){var h=c.vf();b=c.bd(b);c.send(h,a,e,d.c.V.ma,b,!0)};a.rk=function(a,b,e){b=c.bd(b);a=d.b.L("dataBI"+
d.b.kb(),a+(b.length?"?"+b:""),!0,!0,e);d.b.R(a)};a.kk=function(){return"withCredentials"in new XMLHttpRequest?!0:"undefined"!==typeof XDomainRequest};a.B=function(){c.W=d;return c};a.i(OBR);return a}();OBR.Y=function(c,a){this.K=c;this.Di=a;this.ad=OBR.c.Pk+"logger/v1/widget/";this.zl=this.K.g("req_id",-1)+(new Date).getTime()};
OBR.Y.prototype.n=function(c,a,d,f){var b={},e;if("undefined"!==typeof c&&(d=OBR.ab.kk()?d:OBR.c.V.kh,e=f&&f.callback?f.callback:function(){},b.sessionId=this.zl,b.eventGroup=this.Di,b.eventTypeId=c.ID,b.requestId=f&&f.requestId?f.requestId:this.K.g("req_id",-1),a.ajaxMethod=d,a.clientTimestamp=Date.now(),b.attributes=JSON.stringify(a),c.FIRED=c.FIRED?c.FIRED:0,!(c.LIMIT&&c.FIRED>=c.LIMIT)))switch(c.FIRED+=1,d){case OBR.c.V.ih:OBR.ab.get(this.ad,b,e,!0);break;case OBR.c.V.ma:OBR.ab.Yk(this.ad,b,e);
break;default:OBR.ab.rk(this.ad,b,e)}};OBR.extern=OBR.extern||function(){var c=OBR,a={ob:[],getStat:function(){},showDescription:function(a,f){c.d.r(OBR.d.f.Dc,function(){OBR.ig.sk(a,f)},this)},returnedHtmlData:function(a,f){c.k.Id(a,f)},returnedIrdData:function(a,f){c.xa.De(a,f)},returnedJsonData:function(a,f){c.k.$f(a,f)},returnedError:function(a){OBR.e.log("Call made using extern class");c.e.log("Callback error"+a)},callRecs:function(a,f){OBR.e.log("Call made using extern class");c.k.Bd(a,f)},callClick:function(a,f){OBR.e.log("Call made using extern class");
c.k.tb(a,f)},callWhatIs:function(a,c,b,e,h,g){OBR.d.r(OBR.d.f.Pb,function(){OBR.le.Be(a,c,b,e,h,g)},this);return!1},callUserZapping:function(a,c,b,e,h){OBR.d.r(OBR.d.f.Nc,function(){OBR.ie.Qh(a,c,b,e,h)},this);return!1},zappingFormAction:function(a,c,b,e,h){OBR.ie.Zg(a,c,b,e,h);return!1},userZappingMessage:function(a){OBR.e.log(a.message)},recClicked:function(a,f){OBR.e.log("Call made using extern class");c.k.mg(a,f)},imageError:function(a){OBR.e.log("Call made using extern class");OBR.error({name:"obm-ImageError",
message:"Error loading as image: "+a.src});c.b.He(a)},showRecInIframe:function(a,f,b,e,h){c.d.r(c.d.f.Gc,function(){c.ng.dm(a,f,b,e,h)},this)},openNativeVideoPlayer:function(a,f,b,e,h,g,k,l,m,p,n,q,r,s,u,w,v){c.d.r(c.d.f.Ya,function(){v=v?v:c.j[q].g("req_id",null);var t=c.j[q].g("lang","en"),y=c.j[q].g("lsd",null),x=c.j[q].g("pid",null),z=c.j[q].g("sid",null),A=c.j[q].g("wnid",null),B=c.j[q].g("gl","");window.NVPInjector.main.init(c.b.tm([a,f,b,e,h,g,k,l,m,p,n,q,r,s,v,c.c.kc,t,y,x,z,A,u,B,c.j[q].od()]),
c.j[q].lb(),w)},this);return!1},openOverlay:function(a){c.d.r(c.d.f.Ya,function(){var f=a.getAttribute("data-nvp");if(null!==f&&"string"===typeof f){var f=window.JSON.parse(a.getAttribute("data-nvp").replace(/\"/g,"#$#").replace(/'/g,'"').replace(/\\\"/g,"'").replace("#$#",'\\"')),b=c.j[f.widgetIdx];f.platform=c.c.kc;f.lang=b.g("lang","en");f.uuid=b.g("lsd",null);f.publisherId=b.g("pid",null);f.sourceId=b.g("sid",null);f.widgetNumberId=b.g("wnid",null);f.location=b.g("gl","");f.timestamp=b.od();window.NVPInjector.main.recClicked(f,
b.lb())}else c.error({name:"obm-nvpError",message:"Error parsing data-nvp: "+f,stack:"None"})},this);return!1},handshakeNVP:function(){c.d.v(OBR.d.f.Ya)},onVideoClick:function(a,f){c.k.cg(a,f)},manualVideoClicked:function(a,f,b,e,h){c.k.Vf(a,f,b,e,h)},errorInjectionHandler:function(a){OBR.j[a].Mm(a)},reloadWidget:function(){OBR.e.log("reload widget");c.k.ml()},researchWidget:function(){OBR.e.log("research widget");c.k.Ab()},cancelRecommendation:function(a){OBR.e.log("cancel recommendation with bocr "+
a);c.k.Sh(a)},cancelRecs:function(a,f,b){OBR.e.log("cancel recommendation by doc url "+a+" publisher id = "+f+" isAd = "+b);c.k.Th(a,f,b)},refreshWidget:function(a){OBR.e.log("refresh widget");c.k.Ta(a)},refreshSpecificWidget:function(a,f){OBR.e.log("refresh SPECIFIC widget");"string"!==typeof f?c.d.r(c.d.f.Hc,function(){OBR.k.pg(a,f)},this):OBR.k.pg(a,f)},getCountOfRecs:function(a){return c.k.Xi(a)},onOdbReturn:function(a,f){c.k.il(a,f)},closeCard:function(){c.Yb.gi()},closeModal:function(){try{c.modal.hideModal()}catch(a){OBR.error(a)}},
scrollLoad:function(){try{OBR.d.v(OBR.d.f.Kc)}catch(a){OBR.error(a)}},pagerLoad:function(){try{OBR.d.v(OBR.d.f.Bc)}catch(a){OBR.error(a)}},newPagerLoad:function(){try{OBR.d.v(OBR.d.f.Cc)}catch(a){OBR.error(a)}},callLoadMore:function(a,c){OBR.d.r(OBR.d.f.Nb,function(){OBR.zd.Bf(c)},this)},closeTbx:function(){OBR.Xa.ii()},scrollIntoView:function(){OBR.ta.Ei()},video:{}};a.video.getVideoRecs=function(a,c,b,e,h,g,k){OBR.d.r(OBR.d.f.Oc,function(){OBR.je.tj(a,c,b,e,h,g,k)},this)};a.video.videoClicked=function(a){OBR.je.um(a)};
a.video.initInPlayerWidget=function(d){d=new OBR.jh(d);a.ob.push(d);1!==c.d.hj(c.d.f.Mb)&&c.d.r(c.d.f.Mb,function(){c.Ja.Sf(a.ob)},this);return d};return a}();window.outbrain=window.outbrain||{};window.outbrain.returnedHtmlData=function(c,a){OBR.k.Id(c,a)};window.outbrain.returnedIrdJsonData=function(c,a){OBR.xa.De(c,a)};window.outbrain.returnedJsonData=function(c,a){OBR.k.$f(c,a)};window.outbrain.returnedError=function(c){OBR.e.log("Callback error"+c)};
window.outbrain.callRecs=function(c,a){OBR.k.Bd(c,a)};window.outbrain.callClick=function(c,a){OBR.k.tb(c,a)};window.outbrain.callWhatIs=function(c,a,d,f,b,e){OBR.d.r(OBR.d.f.Pb,function(){OBR.le.Be(c,a,d,f,b,e)},this)};window.outbrain.callLoadMore=function(c,a){OBR.d.r(OBR.d.f.Nb,function(){OBR.zd.Bf(a)},this)};window.outbrain.recClicked=function(c,a){OBR.k.mg(c,a)};window.outbrain.imageError=function(c){OBR.b.He(c)};window.outbrain.closeModal=function(){try{OBR.modal.hideModal()}catch(c){OBR.error(c)}};
window.outbrain_rater=window.outbrain_rater||{};window.outbrain_rater.returnedHtmlData=function(c,a){OBR.k.Id(c,a)};window.outbrain_rater.returnedCancelOdbData=function(c){OBR.k.sl(c)};!0===OBR.c.Ff&&(OBR.e.log("Widget Start!"),OBR.c.Ff=!1,"boolean"===typeof window.OB_PASSIVE_MODE&&!0===window.OB_PASSIVE_MODE?OBR.e.log("passive"):OBR.k.oc());}
catch(ex){
OBR.error(ex);}})(window.OBR);
