/*Copyright (c) 2011-2017 Moat Inc. All Rights Reserved.*/ try{(function(x,y){function ua(b){w.l.b.sxaz("trackingReady",{callback:ua});N=z.h;z.h++;z.i[N]=!1;w.v.j();w.c.m.b||(w.c.m.b=!0,z.dcsx.ynds(window,"unload","unload-"+w.c.m.a,"unloadFn"+w.c.m.a),z.dcsx.ynds(window,"beforeunload","unload-"+w.c.m.a,"beforeunloadFn"+w.c.m.a));z.swde.azsx("unload-"+w.c.m.a,va,{once:!0});w.l.b.azsx("allLocalAdsKilled",function(){z.swde.sxaz("unload-"+w.c.m.a,{callback:va})},{once:!0});w.h.e(w.z.e,100);w.a.m()&&w.h.f(R,3E5);"undefined"===typeof b&&(b=w.g.d(G));var k=G.parentNode; "undefined"===typeof b&&(b={});Aa(b,1E4);w.k.bb(b);w.ab.b(17,b);w.aa.c(k,b)}function Aa(b,k){w.h.f(function(){b&&b.shouldKillTimeout||!1!==z.i[N]||(w.ab.b(11,b),w.l.b.zaxs("adNotFoundTimeout"),R())},k)}var w={},na,oa,pa,N=0,qa={},la=[],B={},U=[],A={},ma=!1,wa={15:"",12:"",6:"",7:""},P,xa=function(){for(var b=0;bb&&14y.abs(r.width/b.c.d.innerWidth-q)&&(m=q);return{w:r.width/m,h:r.height/m}}return{w:r.width,h:r.height}};b.a.al=function(){var b=window;try{return"undefined"!==typeof b.external&&"undefined"!==typeof b.external.InPrivateFilteringEnabled&&b.external.InPrivateFilteringEnabled()||"undefined"!==typeof b.external&&"undefined"!==typeof b.external.msTrackingProtectionEnabled&&b.external.msTrackingProtectionEnabled()||"undefined"!==typeof b._gaUserPrefs&&b._gaUserPrefs.ioo&&b._gaUserPrefs.ioo()|| "undefined"!==typeof navigator.doNotTrack&&("yes"===navigator.doNotTrack||!0===navigator.doNotTrack||"1"===navigator.doNotTrack)||"undefined"!==typeof b._gaUserPrefs&&!0===b._gaUserPrefs}catch(q){return!1}};b.a.getAttribute=function(b,q){return b[q]||b.getAttribute(q)};b.a.am=function(b){var q=0,m;for(m in b)b.hasOwnProperty(m)&&(q+=1);return q};var h=[function(b){if(!b||"IFRAME"!==b.nodeName)return!1;var q=b.offsetHeight;return isNaN(q)||15=b.a.c};var f={};b.a.as=function(e){if(!e||!e.nodeName||"IMG"==!e.nodeName|| !e.complete)return!1;var q=e.getAttribute("src");if(!q)return!1;if(f[q])return f[q];try{if("undefined"!==typeof e.naturalHeight&&"undefined"!==typeof e.naturalWidth){var m={width:e.naturalWidth,height:e.naturalHeight};return f[e.src]=m}}catch(c){}return b.c.a&&(b.c.a.src=q,b.c.a.a)?(m={width:parseInt(b.c.a.b),height:parseInt(b.c.a.c)},f[q]=m):!1};b.a.at=function(b,q){var e=!1,c=q.body,l=c&&c.firstChild;c&&l&&(c.insertBefore(b,l),e=!0);return e};b.a.au=function(){var b;return function(){if(!b)a:{for(var q= document.getElementsByTagName("script"),e=q.length-1;-1e;)if(e++,b&&1===b.nodeType)return b}};b.a.bc=function(b,e,m){"undefined"!==typeof m&& (b[e]=m)};b.a.filter=function(b,e){for(var m=[],c=0;cl;l++)if(q!=q.parent){if(c=b.f.b(e,q))m.push(c);else break;q=q.parent;e=c}else break;return m};b.a.ca=function(b){b=y.max(4,b);return((1+y.random())*y.pow(16,b)|0).toString(16).substring(0,b)};b.a.cb=function(){var e=b.a.ca;return e(4)+"-"+e(4)+"-"+e(4)+"-"+e(4)};b.a.a=function(b){window&&window.clearTimeout&&window.clearTimeout(b)};b.a.b=function(b){window&&window.clearInterval&&window.clearInterval(b)};var e=function(e,q){if(b.a.bn(q.toString))return q.toString(); if(b.a.bn(e&&e.Function.prototype.toString))return q.toString=e.Function.prototype.toString,q.toString();var m=b.c.d!==e&&b.c.d&&b.c.d.Function.prototype.toString;if(b.a.bn(m))return q.toString=m,q.toString();if(b.c.g&&8>=b.a.n())return q.toString();var m=e||window,c=m.document.createElement("IFRAME");c.style.display="none";c.style.width="0px";c.style.height="0px";c.width="0";c.height="0";b.a.bh(c,m.document.documentElement);c.contentWindow&&(q.toString=c.contentWindow.Function.prototype.toString); var l=q.toString();m.document.documentElement.removeChild(c);return l};b.a.toString=function(c,q){q=q||b.c.d;var m;try{m=e(q,c)}catch(l){m=c.toString()}return m};b.a.cc=function(e,q,m){e=b.a.toString(e,m);if(b.c.h())m.eval("("+e+")("+q+")");else if(m.Function)(new m.Function("("+e+")("+q+")"))();else{var c=m.document.createElement("script");c.type="text/javascript";c.text="("+e+")("+q+")";b.a.bh(c,m.document.body)}};b.a.cd=function(e){var q=[];b.a.forEach(e,function(b,e){q.push(e)});return q};b.a.ce= function(e,q,m,c){var l=document.createElement("script"),n=document.body||document.getElementsByTagName("head")[0]||document.getElementsByTagName("script")[0];window[q]=m;l.onerror=c;b.a.bj(e,n,l)};b.a.cf=function(){if(window.XMLHttpRequest)return new window.XMLHttpRequest;try{return new ActiveXObject("MSXML2.XMLHTTP.3.0")}catch(b){return null}};b.a.cg=function(e,q,m){function c(b,e){try{return e[b]}catch(m){}}var l,n;if("string"!==typeof e)return!1;l=window;n=c(e,l);if(!n){q=b.f.c(l,"number"===typeof q? q:20);if(!q)return!1;for(var f=0,h=q.length;fk;){k++;if(d===window.top||b.f.h(d.parent))break;d=d.parent}return d}})(w);(function(b){function k(b){return function(){var d=!1;return function(h){try{return b&& b.apply?b.apply(null,arguments):b(h)}catch(v){if(!d){d=!0;var f=(new x).getTime();window["Moat#ETS"]||(window["Moat#ETS"]=f);window["Moat#EMC"]||(window["Moat#EMC"]=0);var u=36E5<=f-window["Moat#ETS"],n="";try{n=b.toString()}catch(e){n="failed"}n=v.name+" in closure (cb): "+v.message+", stack="+v.stack+", \ncb="+n+"\n";if(!u&&10>window["Moat#EMC"]){window["Moat#EMC"]++;try{var t="https://px.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("IDG2")+"&ac=1&k="+escape(n)+"&ar="+escape("0e0dea2-clean")+ "&j="+escape(document.referrer)+"&cs="+(new x).getTime(),l=new Image(1,1);l.src=t}catch(e){}}else if(u){window["Moat#EMC"]=1;window["Moat#ETS"]=f;try{t="https://px.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("IDG2")+"&ac=1&k="+escape(n)+"&ar="+escape("0e0dea2-clean")+"&j="+escape(document.referrer)+"&cs="+(new x).getTime(),l=new Image(1,1),l.src=t}catch(e){}}}}}}()}b.h={};var d={};b.h.a=d;b.h.b=function(c,d){if(!c||"string"!==typeof d||!c[d]||c==window)return!1;if("string"=== typeof c.nodeName&&("OBJECT"===c.nodeName||"EMBED"===c.nodeName)){var h=b&&b.b&&b.b[d];if(h&&h!==c[d])return h}return!1};b.h.c=function(c,g,h,f){var u,n=k(h),t;c.addEventListener?(h="addEventListener",u=""):(h="attachEvent",u="on");if(t=b.h.b(c,h))try{t.call(c,u+g,n,!1)}catch(l){c[h](u+g,n,!1)}else if(c&&h&&c[h])try{c[h](u+g,n,!1)}catch(l){}!1!==f&&(d[g+f]=n)};b.h.d=function(c,g,h,f){var u,n=g+f,t;if(!c)return delete d[n],!1;h=!1!==f?d[n]:h;c.removeEventListener?(f="removeEventListener",u=""):(f= "detachEvent",u="on");if(t=b.h.b(c,f))try{t.call(c,u+g,h,!1)}catch(l){c[f](u+g,h,!1)}else try{c[f](u+g,h,!1)}catch(l){}delete d[n]};b.h.e=function(b,d){b=k(b);var h;window&&window.setInterval&&(h=window.setInterval(b,d),U.push(h));return h};b.h.f=function(b,d){b=k(b);var h;window&&window.setTimeout&&(h=window.setTimeout(b,d),la.push(h));return h};b.h.g=function(c,d,h,f){if(!f)return!1;f+="";B[f]&&b.a.a(B[f].tid);B[f]={};B[f].callback=k(c);B[f].params=d;B[f].interval=h;B[f].tid=b.h.f(b.h.h(f),h);callbacks= null};b.h.h=function(c){return function(){if(!B||!B[c])return!1;var d=B[c].callback(B[c].params);if("boolean"===typeof d&&!1===d)return b.a.a(B[c].tid),B[c]=!1;B[c].tid=b.h.f(b.h.h(c),B[c].interval);time=c=null}};b.h.i=function(c){b.a.a(B[c].tid);B[c]=!1};b.h.j=function(){return B};b.h.k=function(c,d,h,f){var u=0,n=function(){u+=1;!0!==c()&&(u=e[l]}catch(E){}return!1}, e=function(){var b=c&&c.getVendor&&c.getVendor();return E&&"AdMarvel"===b},r=document,q=window,m=l(q),E=d(q),h=e(),g=c&&c.getVendor&&c.getVendor(),u=c&&c.getVendorVersion&&c.getVendorVersion();if(!m&&b.c.y)for(var k=0;20>k&&!m;k++){r=b.f.b(r.body);if(!1!==r&&!r)break;r=(q=b.a.w(r))&&q.document;m=m||l(q);E=E||d(q);h=h||e()}b.c.z=function(){return m&&q};b.c.aa=function(){return m};b.c.ab=function(){return!1};b.c.ac=function(){return E};b.c.ad=function(){return c};b.c.ae=function(){return h};b.c.af= function(){return g};b.c.ag=function(){return u}};b.c.z=function(){d();return b.c.z()};b.c.aa=function(){d();return b.c.aa()};b.c.ab=function(){d();return b.c.ab()};b.c.ac=function(){d();return b.c.ac()};b.c.ah=function(){return b.c.aa()&&b.c.ac()};b.c.ad=function(){d();return b.c.ad()};b.c.ai=function(){if(b.c.aa()&&b.c.ac()&&b.h&&b.h.g){var c="___mraid_loop___"+(new x).getTime(),f=b.a.bk(b.c.z(),["mraid","isViewable"]);f&&b.h.g(function(){return f()?(b.c.ab=function(){return!0},!1):!0},{},300,c)}}; var c=function(){var c=function(e){if(b.c.p().isInApp)return!1;e=b.a.bk(e,["$sf"]);if(!e)return!1;var m=e.ext;e=m&&m.geom;var c=[["exp","b","t","l","r"],"self b t l r h w xiv yiv".split(" ")],l,n=!1;if(m&&e&&"function"===typeof e)try{if((e=e())&&e.win){if(b.a.forEach(e.win,function(b){if(b&&("number"===typeof b||"string"===typeof b)&&0!==parseFloat(b,10))return n=!0,!1}),!n)return!1}else return!1;if(e.par)return!0;for(var m=0,f=c.length;mr&&!d;r++){l=b.f.b(l.body);if(!1!==l&&!l)break;l=(f=b.a.w(l))&&f.document;d=d||c(f);e=e||d||f.$sf}b.c.aj=function(){return d&&f};b.c.ak=function(){return d};b.c.al=function(){return e}};b.c.am=!1;b.c.aj=function(){c();return b.c.aj()};b.c.al=function(){c();return b.c.al()};b.c.ak=function(){c();return b.c.ak()};var g=function(){var c=function(e){return b.c.p().isInApp? !1:b.a.bk(e,["context","observeIntersection"])?!0:!1},f=window,l=document,d=c(f),e=!(!d&&!f.context);if(!d&&b.c.y)for(var r=0;20>r&&!d;r++){l=b.f.b(l.body);if(!1!==l&&!l)break;l=(f=b.a.w(l))&&f.document;d=d||c(f);e=e||d||f.context}b.c.an=function(){return d&&f};b.c.ao=function(b){"boolean"===typeof b&&(d=b);return d};b.c.ap=function(){return e}};b.c.an=function(){g();return b.c.an()};b.c.ap=function(){g();return b.c.ap()};b.c.ao=function(){g();return b.c.ao()};var h=function(){var c,f=function(e){return(c= b.a.bk(e,["amazonmobileadsviewablebridge"]))&&"function"===typeof c.addEventListener&&"function"===typeof c.getVersion?!0:c=!1},l=document,d=window,e=f(d),r=c&&1.1<=c.getVersion();if(!e&&b.c.y)for(var q=0;20>q&&!e;q++){l=b.f.b(l.body);if(!1!==l&&!l)break;l=(d=b.a.w(l))&&d.document;e=e||f(d);r=r||c&&1.1<=c.getVersion()}b.c.aq=function(){return e&&d};b.c.ar=function(){return e};b.c.as=function(){return r};b.c.at=function(){return c}};b.c.aq=function(){h();return b.c.aq()};b.c.ar=function(){h();return b.c.ar()}; b.c.as=function(){h();return b.c.as()};b.c.at=function(){h();return b.c.at()};b.c.au=function(){return b.c.ar()&&b.c.as()};b.c.av=!1;b.c.aw=function(){var c;return function(){if("undefined"!==typeof c)return c;var f=b.c.d,l=b.a.ak();if(b.c.d.navigator.standalone)c=!0;else{var d=f.innerWidth/l.w,f=f.innerHeight/l.h,d=!isNaN(d)&&isFinite(d)&&.9<=d&&1.1>=d,f=!isNaN(f)&&isFinite(f)&&.75<=f&&1.1>=f;c=d&&f}if(b.c.d.MoatMAK){if(d=b.c.d.MoatMAK.namespace,"MPUB"===d||"INM"===d)c=!1}else(d=b.c.d)&&d.imraid&& "function"===typeof d.imraid.getVendorName&&"inmobi"===d.imraid.getVendorName()&&(c=!1);return c}}();b.c.ax=function(){b.c.p();return b.c.aw()?b.c.ay()?1:2:0};b.c.ay=function(){var c=b.c.aw(),f=b.a.i(),l=b.c.aa(),d="applewebdata:"===window.location.protocol||"data:"===window.location.protocol,f="-"===f||""===f.replace(/^\s+|\s+$/gm,"");return c&&!(f||l||d)};b.c.az=function(){var c;return function(){if("undefined"!==typeof c)return c;c=b.c.ba();b.c.ay()&&(c=!1);b.c.d.MoatMAK&&"MPUB"===b.c.d.MoatMAK.namespace&& (c=!1);return c}}();b.c.bb=function(){return b.c.d.webkit&&b.c.d.webkit.messageHandlers&&b.c.d.webkit.messageHandlers.__z_moat_bridge__};b.c.ba=function(){return!1};b.c.bc=function(){return!1};b.c.bd=function(){return b.c.ay()||b.c.ah()||b.c.au()};b.c.protocol=b.a.az();b.c.be="z.moatads.com";b.c.e=window!=window.parent;var f=b.f.h(window.parent);b.c.y=b.c.e&&!f;b.c.bf=b.a.ac();b.c.b=f?!1:!b.f.h(window.top);b.c.d=b.c.b?window.top:b.c.y?window.parent:window;b.c.d[b.c.n]||(b.c.d[b.c.n]=new b.c.d.Object); b.c.p().isInApp&&(b.c.b=b.c.bd()||b.c.az());b.c.c=b.c.d.document.referrer||"";try{b.c.bg=b.c.d.history&&b.c.d.history.length}catch(n){}try{if(!b.c.b){var f=window,u;for(u=0;20>u&&f!=window.top;u++)f=f.parent;b.c.bh=u}}catch(n){}b.c.bi=function(){var c=b.c.d;if(!c)return!1;try{var f=c.document&&c.document.body,l=c.document&&c.document.documentElement}catch(e){}try{c.screen&&(b.c.bj=c.screen.availWidth,b.c.bk=c.screen.availHeight,b.c.bl=c.screen.width,b.c.bm=c.screen.height)}catch(e){b.c.bj=b.c.bj|| 0,b.c.bk=b.c.bk||0,b.c.bl=b.c.bl||0,b.c.bm=b.c.bm||0}var d=b.c.bn(c);b.c.bo=d.width;b.c.bp=d.height;try{b.c.bq=c.outerWidth||c.document&&c.document.body&&c.document.body.offsetWidth||0,b.c.br=c.outerHeight||c.document&&c.document.body&&c.document.body.offsetHeight||0}catch(e){b.c.bq=0,b.c.br=0}f&&l&&(b.c.bs=y.max(f.scrollHeight,f.offsetHeight,l.clientHeight,l.scrollHeight,l.offsetHeight),b.c.bt=f.scrollTop||l.scrollTop||c.pageYOffset||0)};b.c.bn=function(b){var c,l,f,e=0,d=0;try{(c=b.document,l=c.documentElement, f=c.body,"undefined"!==typeof b.innerWidth)?(e=b.innerWidth,d=b.innerHeight):"CSS1Compat"===c.compatMode&&5!==c.documentMode||!f||"undefined"===typeof f.clientWidth?l&&"undefined"!==typeof l.clientWidth&&(e=l.clientWidth,d=l.clientHeight):(e=f.clientWidth,d=f.clientHeight)}catch(q){}return{width:e,height:d,left:0,right:e,top:0,bottom:d}};b.c.bi();b.c.bu=function(){if(A)for(var b in A)if(A.hasOwnProperty(b))return!0;return!1};b.c.bv=function(c){var f=!0;b.a.forEach(c&&c.parentNode&&c.parentNode.childNodes, function(c){if(b.a.q(["DIV","IFRAME","A","EMBED","OBJECT"],c.nodeName))return f=!1});return f};b.c.bw=function(){for(var b in A)if(A.hasOwnProperty(b)){var c=A[b];if(c&&c.aa&&c.aa[F])return!0}return!1};b.c.bx=function(){return b.c.b};b.c.by=function(){return b.c.bz&&b.c.bz()};b.c.ca=function(){return b.c.am||b.c.ak&&b.c.ak()};b.c.cb=function(){return b.c.ao&&b.c.ao()};b.c.cc=function(){return b.i&&b.i.a()};b.c.cd=function(c){var f=!1;b.j&&b.j.a&&(c&&c.periscopeManager?c.periscopeManager.measurable&& (f=!0):f=!0);return f};b.c.ce=function(c){return b.c.cc()||b.c.cd(c)};b.c.cf=function(c){return c?b.c.bx()||b.c.by()||b.c.ca()||b.c.ce(c)||b.c.cb()||b.c.ah()||b.c.au()?!0:!1:!1};b.c.cg=function(){b.c.v=!1;b.c.w=!0;b.c.x=!0};b.c.ch=!0;b.c.ci=function(){return b.c.az()?!!document.getElementById(APPSCOPE_CONTAINER_ID):!1};(function(){var c=b.a.bk(window,["IntersectionObserver"]),f=k(),l=b.c.p().isInApp,d=f&&!l&&c&&"function"===typeof c;b.c.bz=function(b){"boolean"===typeof b&&(d=b);return d};b.c.cj= function(){return d&&c}})();b.c.w=k();b.c.a=new b.c.d.Image;b.c.h=function(){if("undefined"!==typeof b.c.d["Moat#EVA"])return!0;try{if("undefined"!==typeof b.c.d.eval&&(b.c.d.eval("(function(win){ win['Moat#EVA'] = true; })(window)"),"undefined"!==typeof b.c.d["Moat#EVA"]))return!0}catch(c){}return!1};(function(){var c=b.a.cg("context"),f=!b.c.p().isInApp&&!(!c||!c.observeIntersection),l,d,e,r,q,m;if(!f&&window.JSON&&"function"===typeof window.JSON.parse&&(l=location.hash.match(/amp3pSentinel=((\d+)-\d+)/))){d= l[1];l=Number(l[2]);e=[];for(r=window;r&&r!=r.parent;r=r.parent)e.unshift(r.parent);q=e[l];f=m=!!q}b.c.ck=function(){return f&&c};b.c.ao=function(b){"boolean"===typeof b&&(f=b);return f};b.c.cl=function(){return{isDfp:m,win:q,sentinel:d}};b.c.cm=function(){return q&&q.postMessage&&d?(q.postMessage({sentinel:d,type:"send-intersections"},"*"),!0):!1}})();b.c.cn=function(){return!1};b.c.co=function(){return!1};b.c.cp=function(){return!1};b.c.cq=function(){return!1};b.c.cr=function(){return!1};b.c.cs= function(){return!1};b.c.ct=function(){if(b.k.a!==b.k.b.toString())return!1;var c=b.k.c([28,33,43,40,38,30]),f=b.k.c([43,46,39,45,34,38,30]),l=b.k.c([28,40,39,39,30,28,45]);return"undefined"!==typeof window[c]&&!(window[c]&&window[c][f]&&window[c][f][l])};b.c.cu=function(){if(b.k.a!==b.k.d.toString())return!1;var c=b.k.c([48,30,27,29,43,34,47,30,43]);return window&&window.navigator&&window.navigator[c]};b.c.cv=function(){if(b.k.a!==b.k.e.toString())return!1;var c=b.k.c([26,37,30,43,45]),f=b.k.c([28, 40,39,31,34,43,38]),l=b.k.c([41,43,40,38,41,45]);return!b.c.p().isInApp&&b.c.i&&b.c.f&&!b.a.bn(window[c],!0)&&!b.a.bn(window[f],!0)&&!b.a.bn(window[l],!0)};b.c.cw=function(){var b=navigator&&navigator.appVersion&&navigator.appVersion.match(/Windows NT (\d\.\d)/);return b?parseFloat(b[1]):-1};b.c.cx=function(){return 6.1===b.c.cw()};b.c.cy=function(){return b.c.bz()||b.c.ak()||b.c.am||b.c.ao()||b.c.ah()||b.c.au()||!1}})(w);(function(b){function k(b,c,g){function h(b,c){for(var f in b)b.hasOwnProperty(f)&& c.call(null,b[f],f)}function f(b){var c=[];h(b,function(b,l){c.push(l)});return c}b=c[b];b&&b.xa.sode||(b.xa.sode=function(){this.desw={};this.xfgf=[];this.publishing_=!1;this.xkcd={};this.edws=[]},b.xa.sode.prototype.uxin=function(){var b=function(b){b=g.max(4,b);return((1+g.random())*g.pow(16,b)|0).toString(16).substring(0,b)};return function(c){return b(4)+"-"+b(4)+"-"+b(4)+"-"+b(4)}}(),b.xa.sode.prototype.xsza=function(b){this.desw[b]||(this.desw[b]={});return this.desw[b]},b.xa.sode.prototype.esgf= function(b,c){this.publishing_?this.xfgf.push(arguments):this.zaxs.apply(this,arguments)},b.xa.sode.prototype.kswa=function(b,c){for(var f=this.xkcd[b]||[],l=f&&f.length,d=0;dr;)r++,l=this.uxin();e[d]||(e[d]={});this.kswa(b,d);f.priority=d;e[d][l]={cb:c,options:f};return l},b.xa.sode.prototype.zaxs=function(b,c){if(!this.desw[b])return!1;this.publishing_=!0;for(var f=this.edws.slice.call(arguments,1),l=this._getEventPriorities_(b).slice(0),d=0,e=l.length;df;f++)this.zaxs.apply(this,this.xfgf.pop())},b.xa.sode.prototype.swaq=function(b,c,d){var l=!1;if(this.desw[b]&&this.desw[b][d])try{delete this.desw[b][d][c], l=!0}catch(h){}0===f(this.desw[b][d]).length&&this.aksw(b,d);return l},b.xa.sode.prototype.sxaz=function(b,c){if(!c||"object"!=typeof c||!this.desw[b])return!1;if(c.id&&void 0!==c.priority)return this.swaq(b,c.id,c.priority);if(c.id||c.callback)for(var f=this._getEventPriorities_(b),l=0,d=f.length;lt.top&&0C.height&&t.topb?[b,c]:[0,0]}function u(b,c){c||(c=window);try{var e=c.document.documentElement,d=c.document.body;return"left"===b?c.pageXOffset||e&&e.scrollLeft||d&&d.scrollLeft:c.pageYOffset||e&&e.scrollTop||d&&d.scrollTop}catch(q){return!1}}b.o={};var n=b.c.b,t={};b.o.a=.5;b.o.b=.3;b.o.c=.98;b.o.d=void 0;b.o.e=function(d,f){f=f||!1;return function(e,h){var q=e.ao.skin?b.o.f(e,h):c(e, h);q.isVisible=f?q.percv>d:q.percv>=d;q.elGeo&&(q.elGeo.threshold=d);return q}};b.o.f=function(d,f){if(1==d.ao.skin){var e={},h=b.c.d.scrollY||b.c.d.document.documentElement.scrollTop;if("width"==b.p.a&&b.p.b<=d.adContent&&45=h;e.isFullyVisible=e.percv>=q;e.elGeo&&(e.elGeo.threshold=h);d.videoIsFullscreen&&0b.o.d&&(b.o.d=e.percv):b.o.d= e.percv;return e};b.o.g=function(c,d){return b.q.a(c.area)?(d.viewstats||(d.viewstats={}),d.viewstats.isBigAd=!0,b.o.b):b.o.a};b.o.h=function(){return n};b.o.i=c;b.o.j=function(b,c){n&&t.hasOwnProperty(c)||d(b);return t[c]};b.o.l=b.c.bn;b.o.k=function(c,d,e,f){try{this.rect=e||c.getBoundingClientRect&&c.getBoundingClientRect()||{}}catch(m){this.rect=e||c&&{top:c.offsetTop,left:c.offsetLeft,width:c.offsetWidth,height:c.offsetHeight,bottom:c.offsetTop+c.offsetHeight,right:c.offsetLeft+c.offsetWidth}|| {}}e="left right top bottom width height".split(" ");for(f=0;f', b.j.k){if(!k(A[h.adNum],f,t,{width:e,height:q,style:n,id:g,frameborder:d}))return!1;h.measurable=!0;h.fullyMeasurable=!0;h.dentsuMeasurable=!0;h.anyMeasurable=!0}else f.innerHTML=l;return this.inserted=!0};this.startIntervals=function(){var c=this.getPixelElement();if(!c)return!1;if(8==d&&(this.manager.getTargetViewState()===n.STAGE_WIDTH||this.manager.getTargetViewState()===n.ACTIVE_STAGE_WIDTH)){var e="positionToggle#"+this.config.id;this.loopIds.push(e);b.h.j()[e]||(this.positionTogglingEnabled= !0,this.positionOffsets||(this.positionOffsets={}),b.h.g(this.positionToggle,{pxSwf:c,pxRef:this},100,e))}this.manager.getTargetViewState()===n.STAGE_WIDTH&&(e="stageWidthLoop#"+this.config.id,this.loopIds.push(e),b.h.j()[e]||b.h.g(this.stageWidthToggle,{pxSwf:c,pxRef:this,originalWidth:c.style.width,widthRe:/^[0-9\.]+/i,updates:0},150,e));this.manager.getTargetViewState()===n.ACTIVE_STAGE_WIDTH&&(e="activeStageWidthLoop#"+this.config.id,this.loopIds.push(e),b.h.j()[e]||b.h.g(this.stageWidthToggle, {pxSwf:c,pxRef:this,originalWidth:c.style.width,widthRe:/^[0-9\.]+/i,updates:0,active:!0,onWidthCheck:this.config.onWidthCheck},200,e))};this.stageWidthToggle=function(b){if(!(b.pxSwf&&b.pxSwf.parentNode&&b.pxRef))return!1;if(b.onWidthCheck&&(b.onWidthCheck(b.pxRef),b.pxRef.skipWidthCheck))return!0;var c;if(b.parsedWidth||(c=b.pxSwf.style.width.match(b.widthRe)))if(b.parsedWidth||(b.parsedWidth=parseInt(c[0],10)),1==b.updates?(b.updates=0,b.pxSwf.style.width=b.originalWidth,c=b.parsedWidth):(b.updates= 1,c=1b.pxRef.positionOffsets.yOffset?(b.pxRef.positionOffsets.yOffset=0,b.pxRef.positionOffsets.xOffset=0):(b.pxRef.positionOffsets.yOffset=-2E3,b.pxRef.positionOffsets.xOffset=-2E3);b.pxRef.updatePosition(!0)};this.onStateChange=function(c){if(!this.measurable){this.measurable=!0;var e; c&&c[0]&&c[0].rev&&(e=c[0].rev.match(b.j.ai))&&3==e.length&&(b.j.aj=e[1],b.j.i=e[2]);this.updateFocusState();this.startIntervals()}this.inserted&&this.killed?(this.killed=!1,this.updateFocusState(),this.startIntervals()):(b.a.forEach(c,function(b){this.viewstates[b.name]=b},this),this.manager.onStateChange(this,c))};this.calcPosition=function(){var c={},e=this.config.position.left,q=b.j.ag(this.config.position.top),e=b.j.ag(e),d,f;this.config.positionTarget?this.config.positionTargetWindow?this.targetRect= new b.o.k(this.config.positionTarget,this.config.positionTargetWindow,null,!0):(this.targetRect=new b.o.k(this.config.positionTarget,null,null,!0),this.config.positionTargetWindow=this.targetRect.win):(this.targetRect=this.targetRect?new b.o.k(this.config.target,this.targetRect.win,null,!0):new b.o.k(this.config.target,null,null,!0),0==this.targetRect.left&&0==this.targetRect.right&&0==this.targetRect.top&&0==this.targetRect.bottom&&"EMBED"==this.targetRect.el.nodeName&&null==this.targetRect.el.offsetParent&& this.config.target.parentNode&&(this.targetRect=new b.o.k(this.config.target.parentNode,null,null,!0),this.config.positionTarget=this.config.target.parentNode));d=b.o.p("left",this.targetRect.win);f=b.o.p("top",this.targetRect.win);var h;this.wrapperDiv&&(h=this.wrapperDiv.offsetParent)&&"BODY"!==h.nodeName?this.offsetRect=this.offsetRect?new b.o.k(h,this.offsetRect.win,null,!0):new b.o.k(h,null,null,!0):this.offsetRect={left:-d,top:-f};if(!q||!e)return!1;if("%"==q.type)c.relativeTop=q.val/100*this.targetRect.height, c.top=this.targetRect.top-this.offsetRect.top+q.val/100*this.targetRect.height;else if("px"==q.type)c.relativeTop=q.val,c.top=this.targetRect.top-this.offsetRect.top+q.val;else return!1;if("%"==e.type)c.relativeLeft=e.val/100*this.targetRect.width,c.left=this.targetRect.left-this.offsetRect.left+e.val/100*this.targetRect.width;else if("px"==e.type)c.relativeLeft=e.val,c.left=this.targetRect.left-this.offsetRect.left+e.val;else return!1;return c};this.maxPositionUpdateInterval=200;this.getStyle=function(b){var c; try{c=b&&b.style}catch(e){}return c};this.updatePosition=function(b){var c=(new x).getTime(),e;if(!this.element||!(e=this.getStyle(this.element))||this.killed||!b&&c-this.lastPositionUpdatethis.targetRect.width?y.floor(b.left-this.width)+"px":0==b.relativeLeft? y.floor(b.left)+"px":y.floor(b.left-.5*this.width)+"px";e.top=this.height+b.relativeTop>this.targetRect.height?y.floor(b.top-this.height)+"px":0==b.relativeTop?y.floor(b.top)+"px":y.floor(b.top-.5*this.height)+"px";return!0};this.updateFocusState=function(){var b=this.getPixelElement();if(b&&this.measurable)try{b.updateFocusState(this.currentFocusState)}catch(c){}};this.kill=function(){var c=this.getPixelElement(),e=b.a.w(c);e&&c&&c.dataMoatTIDS&&b.a.forEach(c.dataMoatTIDS,function(b){e.clearTimeout(b)}); b.a.forEach(this.loopIds,function(b){B&&B[b]&&(window.clearTimeout(B[b].tid),B[b]=!1)});for(var c=0,q=this.cbNames.length;cc.bc&&(c.bc=c.bu);c.bg+=b-c.bq;500<=c.bc&&"undefined"===typeof c.bw&&(c.bk+=b-c.bo,c.bw=c.bk);c.bq=b}function l(b,c){"undefined"===typeof c.bh&& (c.bh=0);"undefined"===typeof c.bd&&(c.bd=0);c.bv=b-c.bt;c.bv>c.bd&&(c.bd=c.bv);c.bh+=b-c.br;500<=c.bd&&"undefined"===typeof c.bx&&(c.bl+=b-c.bp,c.bx=c.bl);c.br=b}b.w={};b.w.a={};b.w.a.a={};b.w.a.a.a=0;b.w.a.a.b=1;b.w.a.b={};b.w.a.b.a=0;b.w.a.b.b=1;b.w.a.c={};b.w.a.c.a=0;b.w.a.c.b=1;b.w.a.d={};b.w.a.d.a=0;b.w.a.d.b=1;b.w.a.e={};b.w.a.e.a=0;b.w.a.e.b=1;b.w.a.f={};b.w.a.f.a=0;b.w.a.f.b=1;b.w.a.f.c=2;b.w.b=function(b){k(b,b.aj,"x");k(b,b.ak,"y");b.IR5.AREA=(b.IR5.MAX.x-b.IR5.MIN.x)*(b.IR5.MAX.y-b.IR5.MIN.y)}; b.w.c=function(c){function e(){500<=(new x).getTime()-oa&&(b.w.d({type:"park"},c),clearInterval(q),c.au=b.w.a.a.a)}var d=c.au;if(d===b.w.a.a.a){oa=(new x).getTime();var q=b.h.e(e,50);c.au=b.w.a.a.b}else d===b.w.a.a.b&&(oa=(new x).getTime())};b.w.e=function(c){function e(){3E3<=(new x).getTime()-pa&&(b.w.f({type:"park"},c),clearInterval(q),c.av=b.w.a.a.a)}var d=c.av;if(d===b.w.a.a.a){pa=(new x).getTime();var q=b.h.e(e,50);c.av=b.w.a.a.b}else d===b.w.a.a.b&&(pa=(new x).getTime())};b.w.g=function(d, e){var f=d.type;if(e.az===b.w.a.d.a){if("mouseover"===f||"mousemove"===f)e.bo=(new x).getTime(),c(e)}else if(e.az===b.w.a.d.b){"mousemove"===f&&u((new x).getTime(),e);if("mouseout"===f||"blur"===f)u((new x).getTime(),e),c(e);"scooper"===f&&u((new x).getTime(),e)}};b.w.h=function(c,e){var d=c.type;if(e.ba===b.w.a.d.a){if("mouseover"===d||"mousemove"===d)e.bp=(new x).getTime(),g(e)}else if(e.ba===b.w.a.d.b){"mousemove"===d&&n((new x).getTime(),e);if("mouseout"===d||"blur"===d)n((new x).getTime(),e), g(e);"scooper"===d&&n((new x).getTime(),e)}};b.w.d=function(c,e){if(2!=e.an){var d=c.type;if(e.ax===b.w.a.b.a){if("mouseover"===d||"mousemove"===d)e.bq=(new x).getTime(),e.bs=(new x).getTime(),h(e)}else e.ax===b.w.a.b.b&&("mousemove"!==d&&"mouseout"!==d||t((new x).getTime(),e),"park"===d&&t((new x).getTime()-500,e),"mouseout"!==d&&"park"!==d||h(e))}};b.w.f=function(c,e){if(2!=e.an){var d=c.type;if(e.ay===b.w.a.c.a){if("mouseover"===d||"mousemove"===d)e.br=(new x).getTime(),e.bt=(new x).getTime(), f(e)}else e.ay===b.w.a.c.b&&("mousemove"!==d&&"mouseout"!==d||l((new x).getTime(),e),"park"===d&&l((new x).getTime()-3E3,e),"mouseout"!==d&&"park"!==d||f(e))}};b.w.i=function(c,e){var f=c.type;if(e.bb==b.w.a.e.a){if("mouseover"==f||"mousemove"==f)e.bf=(new x).getTime(),e.bb=b.w.a.e.b}else e.bb==b.w.a.e.b&&("mouseout"==f?(d((new x).getTime(),e),e.bb=b.w.a.e.a):"mousemove"!=f&&"scooper"!=f||d((new x).getTime(),e))}})(w);(function(b){function k(c){b.focus.pageIsPrerendered()||b.h.d(document,t,k,"pr")} function d(b){"undefined"==typeof f&&(f=b)}b.focus={};var c=navigator.userAgent,c=-1(new x).getTime()-L;if(g&&h)return d(2),document.hasFocus();d(3);return!0};_lastFocusState=!1;b.focus.pageIsVisible=function(){var c=b.focus.checkFocus();if(_lastFocusState!=c&&z&&z.swde)try{z.swde.zaxs("focusStateChange",c)}catch(e){}return _lastFocusState=c};b.focus.pageIsPrerendered=function(){return"undefined"!==typeof l?"prerender"==document[l]:!1};b.focus.pageIsVisible();b.focus.pageIsPrerendered()&&(b.h.c(document,t,k,"pr"),b.l.b.azsx("allLocalAdsKilled",function(){b.h.d(document, t,k,"pr")},{once:!0}));var D=b.focus.pageIsPrerendered()})(w);(function(b){function k(b,c,d){this.collapsedEl=b;this.expandedURL=this.expandedEl=null;this.expandedIsOpen=!1;this.adNum=c;this.configIndex=d}function d(e,d){var q=l[d];if(!0!==q.findingExpanded){q.findingExpanded=!0;var f=function(){q.findingExpanded=!1},h=A[d].aa;b.h.k(function(){var q=e.findExpanded(h);if(q)return b.aa.c(q,d,c,!1,f),!0},5,500,f)}}function c(b,c,d,m){b[J]=m;b[F]=!0;c=A[m];m=l[m];m.expandedIsOpen=!0;f(b,c);m.findingExpanded= !1;return!0}function g(b,c){f(b.collapsedEl,A[b.adNum],!0);b.expandedIsOpen=!1;c||(b.expandedEl&&(b.expandedEl[J]=void 0,b.expandedEl[F]=void 0),b.expandedEl=null)}function h(b,c,d,m){if(!b)return!1;b[J]=m;b[F]=!0;l[m].expandedIsOpen=!1;f(b,A[m]);return!0}function f(c,d,q){b.z.b(d,"remove");!0===q&&d.aa&&(d.aa[J]=void 0,d.aa[F]=void 0);!d.hasIframeListener&&c.tagName&&"iframe"===c.tagName.toLowerCase()&&(d.hasIframeListener=!0);d.components&&d.components.splice(0,1,c);d.aa=c;b.l.b.zaxs("adElementUpdate"); b.a.bs(d.aa);b.z.b(d);d.periscopeManager&&d.periscopeManager.rebuildPixelTargets(c,c.parentNode)}function u(c,d,q){q=q||{};var f=c.getElementsByTagName("div");q.inclSearchableEl&&(f=b.a.bb(f),f.push(c));for(c=0;c/div[id='panelContainerDiv']"],t);b.c.af&&b.c.af()&&"AdMarvel"==b.c.af()&&(n(["div#normal","div#expanded",["noInitialValidation"]],t),n(["div#normal","div#resized",["noInitialValidation"]],t));t.push({onFindAd:function(c,d,q){if((c=b.c.bf?b.y.a(["div[id^='ptela_unitWrapper']"],c)[0]:b.y.a(["div[id^='ptelaswfholder']"],c)[0])&&b.a.an(c))return c}},{collapsedRe:/ftdiv\d+/,expandedRe:/ftin\d+/,clipRe:/rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)/, onFindAd:function(b,c,d){var f=u(b,this.collapsedRe);b=u(b,this.expandedRe);if(f&&b)return l[c]=new k(f,c,d),l[c].expandedEl=b,f},onLoop:function(b){var d=!1,q=b.expandedEl.style.clip,q=q&&q.match(this.clipRe);"0"===(q&&q[4])&&(d=!0);d&&!b.expandedIsOpen?c(b.expandedEl,"div",null,b.adNum):!d&&b.expandedIsOpen&&g(b,!0)}},{re:/(DIV)_(\d{6})_1_(\d{13})/,onFindAd:function(b,c,d){if(b=u(b,this.re))return l[c]=new k(b,c,d),b},findExpanded:function(b){if(b=b.id.match(this.re))for(var c=[b[3],Number(b[3])+ 1],d=0;df.ar.length||100>f.as.length||100>f.at.length)f.ar.push(f.aj),f.as.push(f.ak),f.at.push(b.a.t(f));f.al=f.aj;f.am=f.ak}f.ai!==r(f)&&1c.cn?1E3:2*d,h={e:22};c.cm=b.h.f(function(){f(c,h,e)},e)}else f(c,{e:7},0)}function n(c,d){d.q=c.aq[d.e]++;d.m=b.a.t(c);c.cl=d.m;b.ab.a(c,d);c.cn++}function t(c,d,e){b.l.b.zaxs("mouseEvent",e);b.l.b.zaxs("mouseEventOnAd",e);c=c||window.event; d=c.target||c.srcElement;1==e.ao.skin&&b.p.c(d,e.adContent,c)||(b.w.d(c,e),b.w.f(c,e),b.w.g(c,e),b.w.i(c,e),b.w.h(c,e),f(e,{e:6},0),b.x.e(c.type,e.zr))}function l(c,d,e){b.l.b.zaxs("mouseEventOnAd",e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.p.c(d,e.adContent,c)||(b.w.d(c,e),b.w.f(c,e),b.w.g(c,e),b.w.i(c,e),b.w.h(c,e),f(e,{e:7},0))}function v(c,d,e){b.l.b.zaxs("mouseEvent",e);b.l.b.zaxs("mouseEventOnAd",e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.p.c(d,e.adContent, c)||(c={e:3},c.q=e.aq[3]++,c.x=e.aj,c.y=e.ak,b.ab.a(e,c))}function e(c,d){c.ai=r(c);var e={e:1};e.q=c.aq[1]++;e.x=c.ar.join("a");e.y=c.as.join("a");for(var f=b.a.t(c),h=c.at,g=[],l=0;l=t,v.isFullyVisible=g.percv>=l,v.percv=g.percv,.8<=g.percv&&(v.isDentsuVisible=!0));return v};b.i.a=function(){return h};b.i.c=function(){var b={};b.dl=Number(h);"number"!==typeof c||isNaN(c)||(b.dm=c);"number"!==typeof g||isNaN(g)||(b.dn=g);return b}})(w);(function(b){function k(b){var c=0,d;return function(){var g=(new x).getTime();150=d.counters.query().bu?Z&&(A=!0):A=!1);(d.el=X)&&"undefined"===typeof T&&2!==l&&3!==l&&I.elGeo&&(M=c().y+I.elGeo.foldTop,O=I.elGeo.threshold*I.elGeo.elHeight,M=M>b.t.c()-O,0r&&(m=r);E>q&&(E=q);b[O]=Number(C);b[Q]=r;b[aa]=m;if(0===l||2===l||3===l||5===l||("number"===typeof l?l:l.type))w&&fa&&(b[fa]=1),c=0===l&&d&&"sframe"=== d,ga&&!c&&(b[ga]=q,b[ka]=E),G&&ha&&(b[ha]=1);"undefined"!==typeof sa&&(b[ba]=sa);"undefined"!==typeof z&&(b[ca]=z);"undefined"!==typeof A&&(b[ea]=Number(A));!0===F&&(c=y.round(100*B),d=y.round(100*I),b[N]=c,b[R]=d,I=B);"undefined"!==typeof T&&(b.ib=Number(T));m=r;E=q}}function c(){var c=b.c.d,d=c.document;return{y:void 0!==c.pageYOffset?c.pageYOffset:(d.documentElement||d.body.parentNode||d.body).scrollTop}}b.t={};var g={};b.t.c=function(){return T?b.c.bn(b.c.d).height:750};b.t.d=function(){if(!b.a.ag()&& !b.a.ah())return!1;var c=b.c.aa();return c=c||b.c.au()};b.t.e=function(){if(!b.t.d())return!1;var c=b.c.ab();return c|=b.c.av};b.t.f=function(c){var f=c.zr;b.l.b.azsx("adKilled",b.t.b,{once:!0,condition:function(b){return b.zr==c.zr}});g[f]=g[f]||{};c.viewstats={isBigAd:!1};if(b.c.bx()){var u=k(b.o.f),n;n=new d({isVisibleFn:u,isMeasurableFn:b.c.bx,pauseCheckingFn:b.v.b,careFoc:!0,qsKeys:0,counterLabel:"strict"});g[f].strict=n;u=new d({isVisibleFn:u,isMeasurableFn:b.c.bx,pauseCheckingFn:b.v.b,careFoc:!1, qsKeys:1,counterLabel:"lax"});g[f].lax=u}else!0!==c.isSkin&&b.i&&b.i.a()&&(u=new d({isVisibleFn:b.i.b,isMeasurableFn:b.c.cc,pauseCheckingFn:b.v.b,careFoc:!0,qsKeys:3,counterLabel:"pscope"}),g[f].pscope=u);b.j&&b.j.o()&&!g[f].pscope&&(u=new d({isVisibleFn:b.j.ac,isMeasurableFn:b.c.cd,pauseCheckingFn:b.v.b,careFoc:!0,qsKeys:2,counterLabel:"pscope"}),g[f].pscope=u);u=b.c.ak();n=b.c.ak;u||(u=b.c.ao(),n=b.c.ao);u&&(u=new d({isVisibleFn:b.ac.a,isMeasurableFn:n,pauseCheckingFn:b.v.b,careFoc:!0,qsKeys:5, counterLabel:"sframe"}),g[f].sframe=u);b.l.b.azsx("view:tick",b.a.by([c],b.t.g),{priority:5});b.l.b.zaxs("viewCounterStarted",c);(b.a.ag()||b.a.ah())&&(f=b.t.h(c.zr))&&f.addListener({_wasAnyPixelInView:!1,onInViewTimeCount:function(d,f,g){return this._wasAnyPixelInView?!1:b.t.e()?(b.v.a(c),this._wasAnyPixelInView=!0,!1):!0}})};b.t.i=function(c,d,g){return(c||opt_counters)&&d&&g?(c=b.t.j(c.zr,d))&&"function"==typeof c[g]&&c[g]():!1};b.t.k=function(c,f){if(c&&f){var u,n;f.sframe||(n=(u=b.c.bz())&&(n|| b.c.by),n=(u=u||b.c.am)&&(n||b.c.ca),n=(u=u||b.c.ao())&&(n||b.c.cb),n=(u=u||b.c.ah())&&(n||b.c.ah),n=(u=u||b.c.ar())&&(n||b.c.au),u&&(g[c.zr].sframe=new d({isVisibleFn:b.ac.a,isMeasurableFn:n,pauseCheckingFn:b.v.b,careFoc:!0,qsKeys:5,counterLabel:"sframe"}),b.l.b.zaxs("viewCounterStarted",c)))}};b.t.g=function(c,d,u){var n=g[c.zr],k;b.t.k(c,n);for(var l in n)n.hasOwnProperty(l)&&n[l].update(c,d,u)&&(k=!0);k&&b.v.c(c);b.q.b(c);c.ao&&1==c.ao.skin&&"width"==b.p.a&&b.p.d();b.d.c(c)&&b.v.a(c)};b.t.l=function(c, d,g){"undefined"==typeof g&&(g=!1);c=!g&&b.c.bx()?(c=c&&"undefined"!=typeof c.zr&&b.t&&b.t.m&&b.t.m(c.zr))&&c.lax&&c.lax.getInViewTime()||0:b.t.n(c);return c>=d};b.t.n=function(c){var d=0,g=c&&"undefined"!=typeof c.zr&&b.t&&b.t.m&&b.t.m(c.zr);g&&(b.c.bx()?d=g.strict&&g.strict.getInViewTime()||0:b.c.cy()?d=g.sframe&&g.sframe.getInViewTime()||0:b.c.ce(c)&&(d=g.pscope&&g.pscope.getInViewTime()||0));return d};b.t.o=function(){return"hadOTS"};b.t.p=function(c,d){var g=b.t.o();return c&&c&&"undefined"!= typeof c.zr?d?b.t.i(c,d,g):b.t.i(c,b.t.q(c.zr),g):null};b.t.r=function(c,d){var g=b.t.m(c.zr);return b.j&&b.j.a&&g&&g.pscope&&g.pscope[d?"hadVideo2SecOTS":"hadOTS"]()};b.t.a=function(c,d){var g=b.t.m(c.zr);return b.j&&b.j.a&&g&&g.pscope&&g.pscope[d?"hadDentsuVideoOTS":"hadDentsuDisplayOTS"]()};b.t.s=function(c,d){var g=b.t&&b.t.m(c.zr);return b.j&&b.j.a&&g&&g.pscope&&g.pscope.getFullInviewTimeTotal()>=d};b.t.t=function(c){var d=0,g=c&&"undefined"!=typeof c.zr&&b.t&&b.t.m&&b.t.m(c.zr);g&&(b.c.bx()? d=g.strict&&g.strict.getFullInviewTimeTotal()||0:b.c.cy()?d=g.sframe&&g.sframe.getFullInviewTimeTotal()||0:b.c.ce(c)&&(d=g.pscope&&g.pscope.getFullInviewTimeTotal()||0));return d};b.t.u=function(c,d,g){"undefined"==typeof g&&(g=!1);c=!g&&b.c.bx()?(c=c&&"undefined"!=typeof c.zr&&b.t&&b.t.m&&b.t.m(c.zr))&&c.lax&&c.lax.getInViewTime()||0:b.t.t(c);return c>=d};b.t.b=function(b){delete g[b.zr]};b.t.m=function(b){var c;g[b]?c=g[b]:g[b]=c={};return c};b.t.j=function(c,d){var g=b.t.m(c);return g&&g[d]};b.t.v= function(c){var d,g,n;if(!c||!c.strict)return!1;c=b.c.p().isInApp;d=b.c.ay();g=b.c.ba();n=b.c.bc();return c&&(d||g)||!(c||n)};b.t.q=function(){var c;return function(d){var k=null,n=g[d];b.t.v(n)?k="strict":n&&n.sframe?k="sframe":n&&n.pscope&&(k="pscope");c!=k&&(c=k,b.l.b.esgf("preferredViewCounterUpdate",A[d]));return k}}();b.t.h=function(c){var d=b.t.q(c);return(c=g[c])&&d&&c[d]};b.t.w=function(c,d){var k={},n=g[c],t=b.t.q(c),l;for(l in n)n.hasOwnProperty(l)&&n[l].getQS(k,d,t);b.t.h(c)&&b.t.h(c).hadDentsuDisplayOTS()&& (k.nb=1);(n=A[c])&&n.viewstats&&n.viewstats.isBigAd&&(k.el=1);return k}})(w);(function(b){b.ad={};b.ad.a=function(b,d){var c;d.outerHTML?c=d.outerHTML:(c=document.createElement("div"),c.appendChild(d.cloneNode(!0)),c=c.innerHTML);c=[/flashvars\s*=\s*(".*?"|'.*?')/i.exec(c),/name\s*=\s*["']flashvars["']\s*value\s*=\s*(".*?"|'.*?')/i.exec(c),/value\s*=\s*(".*?"|'.*?')\s*name\s*=\s*["']flashvars["']/i.exec(c),b];for(var g,h,f={},u=0;uh.length||"function"==h[0].slice(0,8)||(f[h[0]]=[h[1]])}}return f}})(w);(function(b){b.p={};b.p.e={};b.p.a="divs";b.p.e.a||(b.p.a="width",b.p.e.a=function(b){return 1E3});b.p.d=function(){var k=b.c.d,d=b.c.y&&k.document||document,c=d.documentElement,d=d.getElementsByTagName("body")[0]; try{b.p.b=k&&k.innerWidth||c&&c.clientWidth||d&&d.clientWidth}catch(g){}};b.p.c=function(k,d,c){if("divs"==b.p.a){if(k._Mt_wIC)return!0;if(k._Mt_wOC)return!1;var g=c.currentTarget,h=k;for(c=0;1E3>c&&!b.a.q(d,h);c++){if(h==g||null==h)return k._Mt_wOC=!0,!1;h=h.parentElement}return k._Mt_wIC=!0}if("width"==b.p.a){k=d/2;g=b.p.b/2;h=c.clientX;c=c.clientY;var f=b.c.d.scrollY||b.c.d.document.documentElement.scrollTop;return b.p.b>d&&(h>g+k||hc+f?!1:!0}if("ad-els"===b.p.a){if(k._Mt_wIC)return!0; if(k._Mt_wOC)return!1;g=c.currentTarget;h=k;for(c=0;1E3>c;c++){if(b.a.q(d,h))return k._Mt_wOC=!0,!1;if(h==g||null==h)break;h=h.parentElement}return k._Mt_wIC=!0}}})(w);(function(b){b.ae={};var k=[];b.ae.a=function(b,c){k.push({query:b,callback:c});return!1}})(w);(function(b){function k(c){var d=[];b.a.forEach(c,function(b,c){d.push(c+":"+("(function(){try{return("+b.toString()+")()}catch(e){return false}})()"))});return a="{"+d.join(",")+"}"}function d(b){for(var c="",d=0;dg;++g)d=0===g?d|(q&65280)/256<>=13,e-=13):(f=d&16383,d>>=14,e-=14),c+=v.charAt(f%91),c+=v.charAt(f/91|0));0=n){c.doa.shift();var k=c.es.length?c.es[0]:60;if(nc.cc?(c.cc*=2,!0):!1};b.d.f=function(b,c){for(var d=0;dg&&(g=u))}return{top:d+c,w:g,h:e,left:f}};d.resize=function(b){this.dims=b;this.style.top=b.top+ "px";this.style.left=b.left+"px";this.style.width=b.w+"px";this.style.height=b.h+"px"};d.getSpecialBoundingClientRect=function(){var b=this.dims;return{top:b.top,height:b.h,width:b.w,left:b.left,right:b.left+b.w,bottom:b.top+b.h}};d.areEqualDims=function(b,c){for(var d in b)if(b.hasOwnProperty(d)&&b[d]-c[d])return!1;return!0};d.lastCheckedSize=0;d.respondToWinResize=function(){return function(){var b=+new x;if(150<=b-d.lastCheckedSize){var c=d.dims,g=d.getComponentDims();d.areEqualDims(c,g)||d.resize(g)}d.lastCheckedSize= b}}();d.resize(d.getComponentDims());document.body.appendChild(d);var g=b.h.e(function(){d.lastCheckedSize=+new x;var c=d.getComponentDims();d.areEqualDims(d.dims,c)||d.resize(c);c=d.getSpecialBoundingClientRect();if(0>c.top&&0>c.bottom||!(c.height*c.width)||0>c.left&&0>c.right)b.v.d(A[d.zr]),document.body.removeChild(d),clearInterval(g)},250);b.h.c(window,"resize",d.respondToWinResize);return d}})(w);(function(b){function k(b){var c=[];if("string"!==typeof b)return!1;var d;d=4>b.length?!1:".../"=== b.substring(b.length-4);if(d)return!1;var g;for(d=!1;b;){if(h(b,".../"))g=".../";else if(h(b,"...../"))g="...../";else if(h(b,"../")||h(b,"..../")){g=h(b,"../")?"../":"..../";for(var k=g.length;h(b.substring(k),g);)k+=g.length;g=b.substring(0,k)}else h(b,"=>/")?g="=>/":h(b,"-/")?g="-/":h(b,"+/")?g="+/":h(b,"$[")?(g=b.length,k=f(b,"]/")+2,g=b.substring(0,y.min(g,k))):h(b,"^/")?g="^/":h(b,"IN_IFRAME/")?g="IN_IFRAME/":h(b,"IN_X_FRAME/")?g="IN_X_FRAME/":(g=b.length,k=f(b,"/")+1,g=b.substring(0,y.min(g, k)),d=!0);if(("../"===g||".../"===g)&&".../"===(c.length&&c[c.length-1])||".../"===g&&"../"===(c.length&&c[c.length-1]))return!1;if(b=b.substring(g.length)){if("/"!==g.substring(g.length-1))return!1;d&&(g=g.substring(0,g.length-1),d=!1)}c.push(g)}return c}function d(c){if(!c)return!1;if(!b.c.g||10e;H++){var D=c[H];if(h(D,"../")|| h(D,"..../")){var K,S;h(D,"../")?(K="../",S=m):(K="..../",S=q);if(0!==D.length%K.length)return!1;for(var C=0;Ce;){if(v&&l(v,c[H+1])){H++;break}if(!v||"HTML"===v.nodeName)return!1;v=v.parentElement;e++}else if("...../"===D){v=b.c.d&&b.c.d.document&&b.c.d.document.body;if(!v)return!1;e++}else if("=>/"===D){v=E(v);if(!v)return!1;e++}else if("-/"===D){v=b.a.previousElementSibling(v);if(!v)return!1;e++}else if("+/"=== D){if(v=b.a.nextElementSibling(v),!v)return!1}else if(h(D,"$["))if(D=(C=(D=D.substring(2,D.length-2))&&D.split("|"))&&C[0],C=C&&C[1],D&&C)if(D=L(v,D,C))r.push(D),e++;else return!1;else return!1;else if("^/"===D){v=f;if(!v)return!1;e++}else if("IN_IFRAME/"===D){if(!b.c.e)return!1;e++}else if("IN_X_FRAME/"===D){if(!b.c.db)return!1;e++}else{if(r&&0d?b.length+1:d};b.y.a=function(d,f){var g=[];b.a.forEach(d,function(b){(b=c(b,f))&&g.push(b)});return g};b.y.c=function(d,f){var g=[];b.a.forEach(d,function(b){if(b=c(b,f,!0))for(var d=0;d/div[id*='ad_is']"],g,k),g;if((c=c.ownerDocument.getElementById("gg-main"))&&b.a.an(c)&&f(c)&&(g=b.d.d(c,c.src,!1,void 0,d,e)))return g}function u(c,d,e,f,g){if(f&&(c=b.aa.h(["...../div[id^='scr_"+f+"'][id*='remotediv'] iframe"],c,d,e)))return c}function n(c,d,e,f){var g,l,h,k=c.childNodes,n=!1;for(g=k.length-1;0<=g;g--){var u=k[g];"#comment"===u.nodeName&&/undertone/i.test(u.nodeValue)?n=!0:"STYLE"===u.nodeName&&(u=u.innerHTML.match(/(utpga\d+).+/i))&&2=== u.length&&(h=u[1])}if(n){g=b.c.y?(g=b.f.f(c))&&g.ownerDocument?g.ownerDocument:document:document;h&&(l=g.getElementById(h),!l&&b.c.y&&(l=document.getElementsById(h)));l||(h=g.getElementsByTagName("div"),b.a.forEach(h,function(b){if(b&&b.id&&b.id.match("utpga"))return l=b,!1}),!l&&b.c.y&&(h=document.getElementsByTagName("div"),b.a.forEach(h,function(b){if(b&&b.id&&b.id.match("utpga"))return l=b,!1})));if(l&&((ad=v(l,d,e,f))||b.a.an(l)&&f(l)&&(ad=b.d.d(l,l.nodeName,!1,void 0,d,e)))||(h=document.getElementById("utbanner")|| b.c.y&&b.c.d.document.getElementById("utbanner"))&&(h=b.f.d(h))&&h.body&&(ad=v(h.body,d,e,f)))return ad;if((h=b.a.getElementsByClassName("ut_container","DIV")[0]||b.c.y&&b.a.getElementsByClassName("ut_container","DIV",b.c.d.document)[0])&&b.a.an(h)&&f(h))return b.d.d(h,h.nodeName,!1,void 0,d,e,{adType:2});if(e=document.getElementById("eyeDiv")||b.c.y&&b.c.d.document.getElementById("eyeDiv"))for(e=e.getElementsByTagName("object"),g=0;gg;if(!l)for(var h=c.getElementsByTagName("embed"),g=0;ge&&(b.aa.o(d),c.shouldKillAd=!1)}};var r=b.l.b.azsx("beforeAdKilled",b.aa.n);b.l.b.azsx("allLocalAdsKilled",function(){b.l.b.sxaz("beforeAdKilled", {id:r})},{once:!0});b.aa.p=function(b){};b.aa.o=function(c){if(!0!==c.em){delete A[c.zr];b.a.a(c.cc);c.periscopeManager&&c.periscopeManager.killAllPixels();var d;(d=G&&G.parentNode)&&b.aa.c(d,c.ao,c,void 0,function(){b.v.d(c)})}};b.aa.h=function(c,d,e,g){c=b.y.a(c,d);var f;b.a.forEach(c,function(c){if(b.a.an(c))return f=c,!1});if(f)return c=b.a.x(f)||f.src||"DIV",b.d.d(f,c,!1,void 0,e,g)};b.aa.m=function(c,d,e,g){c=b.y.a(c,d);var f=[];b.a.forEach(c,function(c){b.a.an(c)&&f.push(c)});if(f&&0/div.content",".../body/iframe#verve-expandable","iframe#verve-banner/=>/div.content","iframe#verve-banner"],e,m,r))?(m.cadf="Verve",x):(x=b.aa.h(["div.flex-player","..../../div[id^='google_ads_iframe']/+/div.flex-player"], e,m,r))?(m.cadf="WashPost",x):B&&"adrcdn"===B&&(y=A&&A[1])&&(x=u(e,m,r,y,w))?(m.cadf="ADRCDN",x):!1:x};b.aa.a=e;b.aa.q=1;b.aa.b=2;b.aa.r=500;b.aa.e=20;b.aa.s={object:1,embed:1,img:1,iframe:1}})(w);(function(b){function k(d,c,g){g={};d=d.replace(/&/g,"&").replace(/(^\s+|\s+$)/g,"");d=d.split("&");for(var h=0;hl&&(n=decodeURIComponent(n), t!=n)&&!n.match(/^http(s)?\:/);l++)t=n}catch(e){}n=n.replace(/(^\s+|\s+$)/g,"");k[1]=n}else f[1]="";g[f[0]]=f[1]}var v;if(h=b.c.d.document.getElementsByTagName("body")[0])d=h.id,h=h.className,d&&(d.match(/homepage/)?v="Homepage":d.match(/videoIndex/)?v="Video":d.match(/business_index/)?v="Category/Index":d.match(/search/)?v="Search":d.match(/product/)&&(v="Product Detail")),!v&&h&&(h.match(/slideshow/)?v="Slideshow":h.match(/article/)?v="Article":h.match(/category/)?v="index page":h.match(/mediaresource/)? v="editorial leadgen registration":h.match(/browse/)?v="Content type index":h.match(/directory/)?v="Product Directory":h.match(/related-products-page/)?v="Product Compare":h.match(/product-buy/)&&(v="Product Where to Buy"));g.zMoatTemplate=v;"undefined"!==typeof c&&(g.clientZone="undefined"!==c?c:"");return g=b.g.f(g)}b.g={};b.g.b=function(d,c){if(!d)return!1;if("undefined"===typeof d.startTime||c)d.startTime=b.c.u;if("undefined"===typeof d.rand||c)d.rand=y.floor(y.random()*y.pow(10,12));"undefined"=== typeof d.adNum&&(d.adNum=z.zr,z.zr++)};b.g.c=function(d){if(!d)return!1;var c=b.a.e();b.a.i();decodeURIComponent(c);return d};b.g.d=function(d){if(d=b.g.a(d))d.zMoatOrigSlicer1=d.moatClientSlicer1||"N/A",d.zMoatOrigSlicer2=d.moatClientSlicer2||"N/A";return d};b.g.a=function(b){try{var c=b.className,g=b.getAttribute("src");c.split("\n").join(" ");if(-1!==c.indexOf("moatfooter"))return!1;var h=g.split("?"),f=g.split("#");b=!1;1c.bg&&(c.bg=c.bi);c.bm>c.bk&&(c.bk=c.bm);g.i="IDG2";b.a.ax(g,b.k.p(!0));g.bq=b.c.l;1===c.ao.skin&&(g.wp=1===c.ao.isSkin?1:1===c.ao.isAolSkin?2:3);g.g=c.aq.g++;b.c.dc?(t=b.c.bn(b.c.d),f=t.width,t=t.height):c.compositeAdAreaPx?(f=c.compositeAdAreaPx,t=1):(f=c.INITIAL_WIDTH,t=c.INITIAL_HEIGHT);g.hq=b.c.i?1:0;g.hs=b.c.g?1:0;g.hu=b.c.s?1:0;g.hr=b.c.q?1:0;g.ht=b.c.t?1:0;g.h=t;g.w=f;try{b.c.bx()&&c&&c.elementRect&&(g.fy=c.elementRect.left,g.gp=c.elementRect.top)}catch(l){}g.cm= ta;(function(d){var f={zMoatPS:"Position",zMoatSlot:"Slot",zMoatST:"Site",zMoatAT:"Ad Type",zMoatAC:"Ad Classification",zMoatPT:"Page Type",zMoatSL:"Slot",zMoatLL:"Lazy Load",zMoatPos:"Position",zMoatDealID:"Deal ID",zMoatAType:"Article Type",zMoatLoad:"Load",zMoatCall:"Call",zMoatTP:"Template",zMoatSECT:"Section"};b.a.forEach(c.ao,function(b,c){0===c.indexOf(d)&&(g[c]=b||f[c]&&f[c]+" Not Defined"||"Value Not Defined")})})("zMoat");g.f=Number(!ya);d(g,g.e);g.o=3;g.t=c.ao.startTime;g.de=c.ao.rand; g.cu=X;g.m=g.m||b.a.t(c);g.ar="0e0dea2-clean";g.cb=T?1:0;g.ll=b.c.bg||0;b.a.bc(g,"lm",b.c.bh);g.ln=b.c.e?1:0;g.r=b.j.i;b.a.ax(g,b.i.c());b.c.b&&(g.gh=1);b.c.bi();g.qa=b.c.bl;g.qb=b.c.bm;g.qi=b.c.bj;g.qj=b.c.bk;g.qf=b.c.bo;g.qe=b.c.bp;g.qh=b.c.bq;g.qg=b.c.br;try{g.lk=c&&c.elementRect&&c.elementRect.top+b.c.bt||"undefined"}catch(l){}g.lb=b.c.bs;g.le=za?1:0;b.k&&void 0!==b.k.aw&&(g.lf=b.k.aw);b.k&&void 0!==b.k.bf&&(g.lj=b.k.bf);b.k&&void 0!==b.k.bg&&(g.li=b.k.bg);b.k&&void 0!==b.k.an&&(g.lg=b.k.an); b.k&&void 0!==b.k.ay&&(g.lh=b.k.ay);b.t.d()&&(g.mn=1,b.t.e()&&(g.mo=1));b.c.cy()&&(g.gm=1,b.c.b&&"sframe"===n&&(g.fq=0));b.c.bz()&&(g.io=1);b.c.am&&(g.fa=1);b.c.ao()&&(g.fx=1);b.c.aa()&&b.c.ac()&&(g.mm=1);b.c.au()&&(g.hx=1);if(b.i&&b.i.a())g.ch=1,g.gh=1;else if(b.j&&b.j.a){g.ct=b.j.aj;b.j.k&&(g.ss=1);if(c&&c.periscopeManager){f=!b.focus.pageIsVisible()&&c&&c.counters&&c.counters.strictDwell&&0==c.counters.strictDwell.tCur&&21==g.e;t="0"!=b.a.r();if(c.periscopeManager.measurable||!b.c.b&&f&&t)g.ch= 1;c.periscopeManager.fullyMeasurable&&c.ao&&1!=c.ao.skin&&(g.ga=1)}else g.ch=1;"undefined"!==typeof b.j.ak&&c&&c.ao&&c.ao.startTime&&!isNaN(c.ao.startTime)&&(f=b.j.ak-c.ao.startTime,g.fg=0<=f?f:0)}else g.ch=0;b.a.ax(g,b.t.w(c.zr,g));b.a.ax(g,b.focus.getQueryString());b.a.ax(g,c.counters.getQs());b.aj.a(c,g);b.u.b(c,g);b.a.bc(g,"ai",z.z);b.a.bc(g,"wr",z.ACTIVETIMEUNTILSCROLL);b.a.bc(g,"ap",c.cb);b.a.bc(g,"ax",c.bg);b.a.bc(g,"ay",c.bi);b.a.bc(g,"az",c.bk);b.a.bc(g,"ba",c.bm);b.a.bc(g,"aw",c.bc);b.a.bc(g, "bg",c.bd);b.a.bc(g,"be",c.be);b.a.bc(g,"bc",c.bw);b.a.bc(g,"bf",c.by);b.a.bc(g,"bh",c.bx);b.a.bc(g,"bz",c.cu);g.cl=y.round(100*c.IR5.AREA/(g.w*g.h));0b&&(b=0);this.tCur+=b;this.tContinuous+=b;"number"===e&&0f&&(this.tCur=f):"function"===e&&(b=f(),"number"===typeof b&&this.tCur>b&&0this.tCur&&(this.tLast=this.tCur);d&&h&&(b[d]=this.tCur,b[h]=this.tLast);return b}}b.v={};b.v.f={};b.v.f.a=[];b.v.f.b=[];var d=!1;b.v.g=function(){if(!d){d=!0;try{var c=z.swde.azsx("scroll",b.v.h);b.l.b.azsx("allLocalAdsKilled",function(){z.swde.sxaz("scroll",{id:c})},{once:!0})}catch(g){}}};b.v.i=function(c, d){try{var h=c.aa,f=b.a.y(h,5),k=f&&(6==f.length||1<=f.length&&"HTML"===f[f.length-1].nodeName);d=d||c.WINDOW||b.a.w(h);return!(h&&d&&k)||"Unicast Generic"===P&&b.x.c(c.zr)&&(3>h.offsetWidth||3>h.offsetHeight)||h.ownerDocument&&h.ownerDocument.body&&!h.ownerDocument.body.contains(h)?!1:!0}catch(n){return!1}};b.v.j=function(){function c(){if(!t)try{t=!0,d(n),t=!1}catch(b){throw t=!1,b;}}function d(b){var c=b.Moat;b=b.domNodesIdToAd;for(var g in b)b.hasOwnProperty(g)&&c.x.e("loop",g);c.v.k();g=(new x).getTime(); b=y.max(y.min(g-f,k),0);c.l.b.zaxs("view:tick",b,g);f=g}var h,f=(new x).getTime(),k=1E4;b.c.p().isInApp&&(k=500);var n={Moat:b,domNodesIdToAd:A},t=!1;b.l.b.azsx("periscope:onStateChange",c);b.l.b.azsx("viewCounterStarted",c);for(var l=0,v=U.length;lc.aq[29])return!1;for(var f=0;fd||3>c||b.focus.pageIsPrerendered()?!0:!1};b.v.o=function(b){var d=1;screen.deviceXDPI?d=screen.deviceXDPI/screen.systemXDPI:b.devicePixelRatio&&"undefined"!==typeof b.mozInnerScreenX&&(d=b.devicePixelRatio);return{w:d*screen.width,h:d*screen.height}};b.v.e=function(c){c.counters={};c.counters.laxDwell=new k(function(){return!b.focus.pageIsPrerendered()},"bu","cd");c.counters.strictDwell=new k(b.focus.pageIsVisible, "ah","am");c.counters.query=function(){var b={},c;for(c in this)if(this.hasOwnProperty(c)){var d=this[c];"function"===typeof d.query&&d.query(b)}return b};c.counters.getQs=function(){var b={},c;for(c in this)if(this.hasOwnProperty(c)){var d=this[c];"function"===typeof d.getQs&&d.getQs(b)}return b};c.counters.update=function(b){for(var c in this)if(this.hasOwnProperty(c)){var d=this[c];"function"===typeof d.update&&!0!==b.ep&&d.update(b)}};b.l.b.azsx("startAdTracking",b.v.g)};b.v.p=function(){z.z= void 0;z.ACTIVETIMEUNTILSCROLL=void 0;z.zs=!1;z.xz=!1;z.dcsx.wsqa("globalScrollevent"+z.dcsx.uid);b.a.forEach(b.v.f.a,function(b){if(b&&"function"===typeof b)try{b()}catch(d){}})};b.v.h=function(c){if(b.focus.pageIsVisible()){c=(new x).getTime();"undefined"===typeof z.z&&(z.z=c-X);if("undefined"===typeof z.ACTIVETIMEUNTILSCROLL){var d=b.focus.focusStartTime||X;db.failedAttempts?k(b):y&&c>z&&n(b)},d.onload=function(){n(this.toSend)});d.src=b.jsd+"/pixel.gif?"+b.qs}function n(b){var c=b&&b.uid&&w&&w[b.uid];if(b&&b.qs&&"tracer="==b.qs)return!1;if(c){w[b.uid]=null;try{delete w[b.uid]}catch(d){}try{clearTimeout(c.timeoutId)}catch(d){}if("boolean"!=typeof c.sending||c.sending)c.sending=!1;else return!1}0x=n;n=!g||b.focus.pageIsVisible();b.u.g&&"function"===typeof b.u.g&&(k=b.u.g(k));b.u.h&&"function"===typeof b.u.h&& (n=b.u.h(n));k=k&&n&&!d;n=h.get("visOnLastCheck");if(k&&n)h.increment("inViewTime",c),h.increment("continuousInViewTime",c);else if(k||n)c=y.round(c/2),h.increment("inViewTime",c),h.increment("continuousInViewTime",c);k||(this.alwaysInview=!1);h.set("visOnLastCheck",k);h.get("continuousInViewTime")>h.get("maxContinuousInViewTime")&&h.set("maxContinuousInViewTime",h.get("continuousInViewTime"));k||h.set("continuousInViewTime",0);this.inViewTimeReached()&&(this.reachedInViewTimeThreshold=!0)}}};k.prototype.getInViewTime= function(){var d=b.al.b(this.counterState,"customInViewCounter");return this.continuous?d.get("maxContinuousInViewTime"):d.get("inViewTime")};k.prototype.inViewTimeReached=function(){return"undefined"!==this.timeThreshold&&this.getInViewTime()>=this.timeThreshold};k.prototype.isMeasurable=function(d){if(!d)return!1;var c=!1;"undefined"!==this.timeThreshold&&("pscope"==b.t.q(d.zr)&&d.custominview.periscopeThresholds?b.a.q(d.custominview.periscopeThresholds,this.rawPercThreshold)&&b.c.cf(d)&&(c=!0): b.c.cf(d)&&(c=!0));return c};b.u.i=function(d){b.u.e("full_vis_2_sec_continuous",d,{percThreshold:100,timeThreshold:2E3,video:!1,continuous:!0,queryStringKey:"wb"})};b.u.j=function(d){b.u.i(d);d.custominview={};d.custominview.eventIds={};for(var c=(d.periscopeConfig||b.j.n(d)).pixels,g=[],h=0,f=c.length;h=d;d++)g.push(0===d?0:d/100);try{c=new IntersectionObserver(b,{rootMargin:"0px",threshold:g})}catch(h){return!1}return c}function d(b){return function(c,d){var g=c.length;1>g||(b.percentVisible=c[g-1].intersectionRatio)}}function c(b){var c=b&&b.intersectionObserver,c=c&&c.observer;try{c&&(c.disconnect(),b.intersectionObserver=null)}catch(d){}}function g(b){b&&b.intersectionObserver&&(c(b),h(b))}function h(f){var h,n,t;h={started:!1,observer:null, percentVisible:null,element:function(b){return function(){return b&&b.aa}}(f)};f.intersectionObserver=h;n=h.element();if(n&&(t=k(d(h))))h.observer=t,t.observe(n);else return!1;h.started=!0;b.l.b.azsx("adKilled",b.a.by([f],c),{condition:function(b){return f.zr==b.zr},once:!0});b.l.b.azsx("adElementUpdate",b.a.by([f],g),{condition:function(){return f.intersectionObserver.started},once:!0});return!0}b.am={};b.am.a=function(c){if(b.c.bz()){if(c.intersectionObserver&&c.intersectionObserver.started)return c.intersectionObserver.percentVisible; h(c)||b.c.bz(!1)}}})(w);(function(b){function k(d){var c=!1;if(b.c.bz())return b.am.a(d);if(b.c.am){if(c=b.ag.a.b){var g=b.o.i(d.aa);d=b.o.n(g.visibleRect,c.el,c.et);c=b.o.m(d,{left:c.vl,right:c.vr,top:c.vt,bottom:c.vb});c=(c.right-c.left)*(c.bottom-c.top)/g.area}else c=!1;return c}if(b.c.ao())return b.an.a(d);if(b.c.ah())return b.ao.a(d);if(b.c.au())return c=b.ap.a(d),0k.l?f.r-f.w*f.xiv:f.l-k.l,f=1===f.yiv||k.t>k.b?f.t-k.t:f.b-k.b+(k.b-f.h*f.yiv));d=b.o.n(d,-1*h,-1*f);h=Number(g.win.l);f=Number(g.win.t);g={left:h,right:Number(g.win.r),top:f,bottom:Number(g.win.b)};d=b.o.n(d,h,f);g=b.o.m(d,g);c=(g.right-g.left)*(g.bottom-g.top)/((c.width||c.right-c.left)*(c.height|| c.bottom-c.top))}else c=!1;return c}b.ac={};b.ac.a=function(b){var c=(b=k(b))&&!isNaN(b)&&.5<=b,c={isVisible:c,isFullyVisible:c&&.98<=b,percv:b};.8<=b&&(c.isDentsuVisible=!0);return c}})(w);(function(b){function k(){b.c.ao(!1)}function d(c){return function(d){var f;if(c.dfp)a:{var g;if(d&&c&&"message"===d.type&&d.source==c.win&&d.data&&0==d.data.indexOf("amp-"))try{if(g=JSON.parse(d.data.substring(4)),g.sentinel==c.sentinel&&"intersection"==g.type){f=g.changes;break a}}catch(e){}f=!1}else f=d;if(d= f)f=d.length,1>f||(c.context&&c.context.hidden?d=0:(d=d[f-1],f=d.rootBounds,f={left:0,right:f.width,top:0,bottom:f.height},d=b.o.o(c.element(),d.boundingClientRect,f)),c.percentVisible=d)}}function c(c,d){c.amp={dfp:d.isDfp,win:d.win,sentinel:d.sentinel,started:!1,unlisten:null,eventHandler:null,percentVisible:null,context:b.c.ck(),element:function(b){return function(){return b&&b.aa}}(c)};return c.amp}function g(b){var c=b.context.observeIntersection;if(!c)return k(),!1;b.eventHandler=d(b);b.unlisten= c(b.eventHandler);b.unlisten||(b.unlisten=function(){b.unlisten=function(){}});b.started=!0}function h(c){if(b.c.cm()){var f="amp-message-"+c.sentinel;c.messageId=f;c.eventHandler=d(c);z.dcsx.ynds(window,"message",f,"ampMessageFn"+f);z.swde.azsx(f,c.eventHandler);return c.started=!0}k();return!1}function f(d,f){if(!d||!d.aa)return k(),!1;var l=c(d,f);f.isDfp?h(l):g(l);l.started&&b.l.b.azsx("adKilled",u,{condition:function(b){return d.zr==b.zr},once:!0})}function u(c){var d=c&&c.amp;if(!d)return!1; try{d.dfp?(z.dcsx.engn(window,"message",d.messageId),b.l.b.sxaz(d.messsageId,d.eventHandler)):d.unlisten&&"function"==typeof d.unlisten&&d.unlisten()}catch(f){k()}c.amp=null}b.an={};b.an.a=function(c){c.amp&&c.amp.started||f(c,b.c.cl());return c.amp.percentVisible}})(w);(function(b){b.ao={};b.ao.b=function(k,d){if(!k||!d)return!1;var c,g;c=d.getCurrentPosition();g=d.getScreenSize();c.top=c.y;c.bottom=c.y+c.height;c.left=c.x;c.right=c.x+c.width;g.top=0;g.bottom=g.height;g.left=0;g.right=g.width;return b.o.o(k, c,g)};b.ao.c=function(k,d){var c=function(b){return function(c){b.percv=c}}(d);d.api.addEventListener("viewablePercentageChange",c);b.l.b.azsx("adKilled",function(){k.mraid.api.removeEventListener("viewablePercentageChange",c);k.mraid=null},{condition:function(b){return k.zr==b.zr},once:!0})};b.ao.d=function(){var k={},d=b.c.ad();k.api=d;k.percv=-1;return k};b.ao.a=function(k){var d;if(!k.mraid){k.mraid=b.ao.d();if(!k.mraid.api)return!1;b.c.ae()&&b.ao.c(k,k.mraid)}d=k.mraid.api;if(!d)return!1;d=b.ao.b(k.aa, d);return b.c.ae()&&(k=k.mraid.percv/100,0<=k)?y.min(d,k):d};b.l.b.azsx("startAdTracking",b.c.ai)})(w);(function(b){b.ap={};b.ap.a=function(k){k.amazon&&k.amazon.started||b.ap.b(k);return k.amazon.percentVisible};b.ap.b=function(k){var d=b.c.at(),c=b.c.aq(),g=c&&c.mraid,h=c&&c.Event&&c.Event.Viewability,f=g&&"function"===typeof g.getScreenSize&&g.getScreenSize,u;k.amazon={api:d,element:k.aa,event:null,eventListener:null,getScreenSize:f,mraid:g,percentVisible:null,started:!1,win:c};if(!d||!h||!f)return!1; u=k.amazon;u.event=h;try{return u.eventListener=function(c){var d=u.getScreenSize();u.percentVisible=0===c.viewable?0:u.element&&d?b.o.o(u.element,{left:c.x,right:c.x+c.width,top:c.y,bottom:c.y+c.height},{left:0,right:d.width,top:0,bottom:d.height}):null},u.api.addEventListener(h,u.eventListener),k.amazon.started=!0,b.l.b.azsx("adKilled",b.ap.c,{condition:function(b){return k.zr==b.zr},once:!0}),!0}catch(n){return!1}};b.ap.c=function(b){if((b=b.amazon)&&b.eventListener&&"function"==typeof b.eventListener&& b.event){try{b.api.removeEventListener(b.event,b.eventListener)}catch(d){}b.started=!1}}})(w);(function(b){b.q={};b.q.d=242500;b.q.e=1;b.q.f=function(k){return b.c.b||b.i&&b.i.a&&b.i.a()||b.j&&b.j.a&&k&&k.periscopeManager&&k.periscopeManager.fullyMeasurable};b.q.a=function(k){return"number"!==typeof k||b.a.ac()?!1:236425<=k};b.q.g=function(b){return b&&b.ao?"slave"==b.ao.moatClientAT?!0:!1:!1};b.q.h=function(b){return b&&b.ao?"cpc"==b.ao.moatClientBT?!0:!1:!1};b.q.i=function(b){return b&&b.ao?"cpcv"== b.ao.moatClientBT?!0:!1:!1};b.q.j=function(b){return b&&b.ao?"flatrate"==b.ao.moatClientBT?!0:!1:!1};b.q.k=function(b){return b&&b.ao?"skin"==b.ao.moatClientAT||"hpto"==b.ao.moatClientAT?!0:!1:!1};b.q.c=function(k){if(!k||!k.aa)return!1;if("undefined"!=typeof k.er)return k.er;k.video?!b.q.f(k)||b.q.i(k)&&!k.video.reachedComplete||(k.er=!0):b.q.g(k)||b.q.h(k)||b.q.j(k)?k.er=!1:b.q.k(k)||b.q.a(b.a.br(k))?k.er=!0:b.q.f(k)&&b.t.u(k,b.q.e,!0)&&(k.er=!0);return k.er||!1};b.q.b=function(k){if(!k||k.SENT_FIT&& k.et||!b.q.f(k))return!1;var d,c,g=b.t.q(k.zr);k.SENT_FIT||(d=b.t.i(k,g,"hadFIT"));k.et||(c=b.t.i(k,g,"hadFullOTS"));if(d||c)b.v.l(k),k.SENT_FIT=k.SENT_FIT||!!d,k.et=k.et||!!c;return d||c}})(w);(function(b){b.aq={};b.aq.a="1.2";b.aq.prefix="MSFAPI";b.aq.b={};b.aq.c={};b.aq.d=y.floor(y.random()*y.pow(10,12));b.aq.e=!1;b.aq.f=/([a-z]+)#([a-z0-9.-]+)#([0-9]+)#([a-z]+)#([0-9]+)#(.+)/i;b.aq.g=/@([a-z0-9]+)@@(.*)/i;b.aq.h=function(k){if(k){var d=b.aq.i(k);d.listening||(z.dcsx.ynds(k,"message","message-"+ d.id,"ME-"+d.id),d.listening=!0,d.tags[b.c.o].listening=!0);if(!d.tags[b.c.o].sub){d.tags[b.c.o].sub=!0;var c=z.swde.azsx("message-"+d.id,b.aq.j);b.l.b.azsx("allLocalAdsKilled",function(){z.swde.sxaz("message-"+d.id,{id:c});d.tags[b.c.o].sub=!1},{once:!0})}}};b.aq.i=function(k){var d="Moat#PML#"+b.c.j+"#"+b.aq.a;k[d]||(k[d]={id:y.floor(y.random()*y.pow(10,12)),listening:!1,tags:{}});k[d].tags[b.c.o]||(k[d].tags[b.c.o]={sub:!1,listening:!1});return k[d]};b.aq.k=function(k){var d=k&&b.aq.i(k),c=d&& d.listening,g=d&&d.tags[b.c.o].listening;k&&c&&g&&(b.h.d(k,"message",b.aq.j),d.tags[b.c.o].listening=!1,d.listening=!1)};b.aq.l=function(k){return b.aq.prefix+"#"+k+"#"};b.aq.m=function(k){var d=k.match(b.aq.f);k=!1;d&&7==d.length&&(k={prefix:d[1],version:d[2],uid:d[3],type:d[4],request:d[5],data:d[6]},(d=k.data.match(b.aq.g))&&3==d.length&&(k.cmd=d[1],k.arg=d[2]));return k};b.aq.j=function(k){if(!(k&&k.origin&&k.data&&"string"===typeof k.data))return!1;if((msgData=b.aq.m(k.data))&&(!msgData||msgData.uid!= b.aq.d.toString())&&msgData.version==b.aq.a&&(k.msgData=msgData,msgData.request in b.aq.c&&(k.triggerCallback=function(){b.aq.c[msgData.request]&&(b.aq.c[msgData.request](k),b.aq.c[msgData.request]=null,delete b.aq.c[msgData.request])}),b.aq.b[msgData.type]))for(var d=0,c=b.aq.b[msgData.type].length;d