var __IntegralASDiagnosticCall = function(){};
try {
var __IntegralASConfig = {
jsDoSplit : "false",
cocaPuffsPath : "",
debug : "false",
killPhrases : "",
jsDiag:'false',
version:'0',
mtCell: 10,
mtSample: 5,
cookieDomain:'sc.iasds01.com/dtc',
trackMouse : "true",
exchList:{'e1':'nqzryq','e2':'tbbtyrnqf.t.qbhoyrpyvpx','e3':'ehovpbacebwrpg','e4':'chozngvp','e5':'bcrak','e6':'nqoevgr.pbz','e7':'tynz.pbz','e8':'lvryqznantre.pbz','e9':'yvwvg','e10':'nqakf','p11':'ghea.pbz','p12':'zngugnt','p13':'vaivgrzrqvn','p14':'qngnkh','n15':'zrqvn6qrterrf','n16':'dhnagfreir','n17':'esvuho.arg','a18':'napubeserr','a19':'eff2frnepu','a20':'mgfgngvp.pbz','n21':'ovq.npr.nqiregvfvat','e22':'wnfba','v23':'fcbgkpqa','v24':'ogeyy','v25':'yvirenvy','v26':'nqncgi','v27':'nqnc.gi','n29':'qbzqrk.pbz','n30':'ernyih.arg','d31':'cvengronl','d32':'cebklonl','d33':'onlcebkl','d34':'cvengrcebkl','d35':'cebklcvengr','d36':'onlcvengr','n37':'tjnyyrg','p39':'j55p.arg','p40':'c0l.pa'},
protocol:'https',
jsref : "https:\/\/x.vindicosuite.com\/serve\/?v=5;m=3;l=472709;c=913199;b=3942591;ts=1459044541;u=%3Cpage_url_escaped%3E;r=%3Creferrer_escaped%3E;ad=CIXtHBD0nwwY5gsgASgEMP0CONSXAUC2%2BRFIx%2BoQUK%2FeN1i%2F0fABYABoj%2B0gcAF4AYgBAJABAJgBAKIBEzEwNzQxODg2OTk2NDM2ODIwNziyAQhDUkVBVElWRbgBAMABAsgBDdABANgBAA%3D%3D;z=CK%2FeNxC%2F0fABZQAAyEJtAAAAAHUAAAA%2FzQEAAAA%2F0AEA2AEA4AEA6AEA8AEAkAIAmAIAtQIAAMhCvQIAAAAAxQIAAAA%2F0AIA;xid=1074188699643682078;ep=1;pasmc=https:\/\/adclick.g.doubleclick.net\/aclk%3Fsa%3DL%26ai%3DC7NZYuED3Vuf5N4f7BcG6hLgFmPfXkwSYgsHUZ8CNtwEQASAAYMn25YbIo5AZggEXY2EtcHViLTE3MDgxODU2OTc4MzE5NzPIAQngAgCoAwGqBMMBT9AJroI5_HbIUo4vCs-A0aDqpeLxcrhYP91glSzInySCEKaQ0M6D821LqIQm6YvePsMXy--25g4GPr4NPmrWViepwefHsNOlEPxNOGm2aodoMvJmnJJtAjjj4y4blBkx1WyK-SSYLDGbN6ri6zHRtNw3cjrHFi2mUIaQn-BNz4O1aZR1J8DKjeKrp_dK1R32JtbWZveyqpZ3TXRBdpxpXIKyjfJWsAqbruHCeV_H49EUWdFdfo2uIFDd32ECHAcvRghz4AQBgAaOyYuG4PSN6Y4BoAYh2AcA%26num%3D1%26sig%3DAOD64_3iW0J0AGYoL93eilzG6MNtu63itg%26client%3Dca-pub-1708185697831973%26adurl%3Dhttps:\/\/bid.g.doubleclick.net\/xbbe\/creative\/click%253Fd%253DAPEucNUq36meTn1HU8unfZdZePOe8DXW6rF4Y9tFq94TDfeiysRRvwX8gdyGB0oS6AjTu5S8G1ip_HUToGDVJDtcegKBllE30A%2526r1%253D",
asid : "e01ac869-f3c0-11e5-b294-f0795936afc8",
allowViewability : "true",
jsFeatures : "mousetrack,cocoapuffs,viewabilityready,consecutive,cachebust:0,forcecocoa:0,rattie:0,exch,recordalternate:0,usedtdomain,nextcocoa:100,bapiDiag,cookie,postDts:0,videotwoseconds,getPl,decodePl,resolution,usetpl,usesca:1,tpiLookupURL,hundredpct,jloadDiag:0,cdnTest:1,blur,sendclogs,zeroPing,idMap,offscreen,everySecond:1,sdkdetection,moreAdTalkCalls,slid,fm2:1,largeAd,nextcocoaie:100,usevh,mraidinjection,fxdet",
adsafeDomain : "adsafeprotected.com:80",
minimizeCalls : "false",
adWidth : "",
adHeight : "",
forceAppend : "true",
mode : "bapi",
_onAPIResult : __IntegralASConfig && __IntegralASConfig.onAPIResult,
_onInViewMRC15 : __IntegralASConfig && __IntegralASConfig.onInViewMRC15,
_onMeasurable : __IntegralASConfig && __IntegralASConfig.onMeasurable,
_onInViewMRC : __IntegralASConfig && __IntegralASConfig.onInViewMRC,
_onSuspicious : "//mpp.vindicosuite.com/fd/fdp=1&eip=6DD4DA8D96C751C3D533B9D972900D4C&hug=0754bc6ff097e659ad216f60c3ec4a3d&xid=1074188699643682078&ts=42",
_onInViewMRC5 : __IntegralASConfig && __IntegralASConfig.onInViewMRC5,
requrl : "https:\/\/pixel.adsafeprotected.com\/dbapi",
reqquery : "anId=9406&advId=381&campId=913199&pubId=6DD4DA8D96C751C3D533B9D972900D4C&chanId=0754bc6ff097e659ad216f60c3ec4a3d&placementId=1074188699643682078",
dtBaseURL: "https:\/\/dt.adsafeprotected.com\/dt",
adsafeSrc : "",
adsafeSep : "",
tpiLookupURL:"",
getTpl: "false",
use100v: false,
useBapiCallback: "true",
useViewabilityNotification: "true",
scriptUrl : "https://pixel.adsafeprotected.com/bapi?anId=9406&advId=381&campId=913199&pubId=6DD4DA8D96C751C3D533B9D972900D4C&chanId=0754bc6ff097e659ad216f60c3ec4a3",
accountForSadImps:'true',
sendCookie:'false',
fwMonitoring:'',
cdnTestUrl: "//cdn.adsafeprotected.com/cdn-test.js",
colloTestUrl: "//pixel.adsafeprotected.com/jload?campId=cdnTest&anId=100",
doNothing: false,
cdnTestEnabled: false,
mn: "app33sje",
cdnTestEnabled: false,
mobOrTab: false,
mobFwUrl : "",
videoId : ''
};
if (__IntegralASConfig.jsFeatures.indexOf('asidJsDiagnostic') !== -1) {
var fakeErr = { message: __IntegralASConfig.asid };
__IntegralASDiagnosticCall('asid', fakeErr);
}
__IntegralASConfig.birthdate = new Date().getTime();
__IntegralASConfig.useFIF = (!!window.__IntegralASUseFIF) && __IntegralASConfig.mode === 'jload';
__IntegralASConfig.contextNode = (function() {
if (__IntegralASConfig.useFIF) {
return window.frameElement; // Early exit if using FIF
}
var tempScript,
embedded = window != top,
scripts = document.getElementsByTagName('script'),
result = scripts[scripts.length - 1],
scriptIndex = scripts.length,
useDocWrite = 'jss,jsi,jspix'.indexOf(__IntegralASConfig.mode) !== -1,
scriptUrl = __IntegralASConfig.scriptUrl;
try {
while (--scriptIndex >= 0) {
tempScript = scripts[scriptIndex];
if (tempScript.src && tempScript.src.indexOf(scriptUrl) === 0 && tempScript.getAttribute('data-ias-script-tag') === null) {
result = tempScript;
tempScript.setAttribute('data-ias-script-tag', 'found');
break;
}
}
if (scriptIndex === 0 && useDocWrite && !embedded) {
document.write('');
result = document.getElementById('s' + __IntegralASConfig.asid).parentNode;
}
} catch(e) { }
return result;
}());
} catch(err) {
__IntegralASConfig = {};
__IntegralASDiagnosticCall('bootstrapper', err);
}
__IntegralASConfig.initialize=function(n,u,w){var q,db=function(){q=new R;var a;q.provide("mobileApp",function(){return a=a||new oa(g)});var c,d,b,e,g=pa(),k=qa(g),l=ra(),r=sa(q),m=ta(),p=new ua(q),s=q.provide("mPage",va()),B=wa(),x=xa(),v=ya(),D=za(m,v),v=Aa(m),E=Ba(m),z=q.provide("browser",Ca()),G=Da(),u=Ea(z),ka=Fa(z),M=y.isVideo()?Ga(n.videoId,g,x):{};Ha(Ia.build());var G=Ja(G,m,ka,u,M,g),w=Ka(G,m,s),$=La(r),l=Ma(G,m,g,E,p,z,x,l),A=Na(m,g,q,r),r=Oa(D,l,m,E,p),C=Pa(D,l),A=Qa(A,g),J=Ra(z,l,m,g,
ka,q,E,u,p,$,s,w,x,M),s=Sa(D,m,g,E,A,p,z,J),x=Ta(q),D=Ua(q),E=Va(z,E,J);l.setViewabilityMod(J);var H;if(!function(){var a=!1,b,d;try{f.isDef(n)&&f.isDef(n.killPhrases)&&""!==n.killPhrases&&(b=n.adsafeSrc?n.adsafeSrc:n.requrl+n.reqquery,d=n.killPhrases.split(","),f(d).each(function(c,e){e=decodeURIComponent(d[c]).replace(/^\s+|\s+$/g,"");-1!==b.search(e)&&(a=!0)})),n.doNothing&&(a=!0)}catch(c){m.add(h.ERROR_CODES.KILL_IT)}return a}()){if(k.isApplicable())try{k.start(),p.addItem(k.getFrameMap(),"fm"),
g.on("fm2")&&p.addItem(k.getFrameMapIncludingPeerCase(),"fm2"),g.on("idMap")&&(c=k.getIdMap())&&p.addItem(c,"idMap")}catch(N){m.add(h.ERROR_CODES.ADTALK_GENERAL)}c=Wa();c.isApplicable()&&c.start();var O;try{"true"!==n.minimizeCalls&&J.init();g.on("mousetrack")&&(e=Xa(G,p),e.init());O=B.detectTopURL();g.on("exch")&&(d=Ya(m,p),d.parse(O));if(g.on("getPl")&&navigator&&navigator.plugins){b=Za(navigator.plugins);var L=b.hash();p.addItem({output:L.join(".")},"pl",{type:h.DT_CODES.ADTALK});if(g.on("decodePl")&&
L.length){var I=b.decode(L);p.addItem({output:I.join(".")},"pd",{type:h.DT_CODES.ADTALK})}}var Q=v.getProps();f(Q).each(function(a,b){p.addItem({output:b},a,{type:"UFO"})})}catch(K){m.add(h.ERROR_CODES.IMPRESSION_LEADUP)}g.bootstrapOn("use100v")&&$a();l.sendCookie();s.send(O);g.on("cdnTest")&&n.cdnTestEnabled&&D.init();E.isApplicable(g)&&E.start();g.bootstrapOn("getTpl")&&g.on("usetpl")&&r.init();n.tpiLookupURL&&C.init(n.tpiLookupURL);ab(g);"true"!==n.minimizeCalls&&(H=(new Date).getTime(),t.execAtEndOfThread(function(){t.execAtEndOfThread(function(){var a=
{output:(new Date).getTime()-H};p.addItem(a,"sinceFw",{type:h.DT_CODES.ADTALK});f.isDef(J.readyFired())&&p.addItem({output:J.readyFired()},"readyFired",{type:h.DT_CODES.ADTALK});k.sendAdTalkCall()})}));g.on("usesca")&&x.load()}g.on("usevh")&&bb();g.on("fxdet")&&z.hasFlashEnabled()&&cb(z)},f=function(a){var c=function(b){var c=null===a,c="object"===typeof a&&!c,e=!d()&&c;return b?c:e},d=function(){return a instanceof Array},b=function(b,d){if(a.length===+a.length)for(var c=0,e=a.length;ca,e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),g=[];a=b?-a:a;do d=a%c,g.push(e[d]),a=(a-d)/c;while(0=h.MRC_LARGE_AD_SIZE&&b.on("largeAd")&&!y.isVideo();return d.calcInitialViewState(r(),!1,a)},p=function(a){var b=-1;f(e).each(function(d,c){c.isNode(a)&&(b=d)});return b},s=function(a){return function(){return e[0]&&e[0][a]()}};q.on("adComponentAdded",function(a){f(a).each(function(a,b){-1===p(b)&&k(b,h.DETECTION_METHODS.MUTATION)})});q.on("adComponentRemoved",function(a){f(a).each(function(a,b){var d=p(b);-1=h.MRC_LARGE_AD_SIZE;e()});q.on("impressionsent",function(){c=!0;e()});b.onHiddenChange(e)},ra=function(){var a=[],c={},d={percentInView:"piv",sl:"vs",reason:"r",width:"w",height:"h"};q.on("newScreenEvent",function(b){b=
f(b).selectProperties(f(d).keys());b=f(b).asStrings();var e=f(b).compareTo(c);e&&(e.t=y.getTagTime(),a.push(e));f(c).mixin(b)});return{toString:function(){return f(a).toION(d)}}},hb=function(a,c,d,b,e,g,k){var l;(function(){var g=d.getRounded(),f=g.width-5,p=g.height-5,s=0.5*g.width+1,g=0.5*g.height+1;l=[new a(c,f,p,e,k,b),new a(c,f,5,e,k,b),new a(c,5,p,e,k,b),new a(c,5,5,e,k,b),new a(c,s,g,e,k,b)]})();return{getNumInView:function(){var a=[],b=0;f(l).each(function(b,d){var c=d.isInView()?1:0;a.push(c)});
g.addItem({output:a.join(".")},"pvs");f(a).each(function(a,d){b+=d});return b},getPctInView:function(a){return 5===a?100:3<=a?51:0},isReady:function(){var a=!0;f(l).each(function(b,d){d.isNotReadyToReport()&&(a=!1)});return a},remove:function(){f(l).each(function(a,b){try{b.remove()}catch(d){}})}}},ib=function(a,c,d,b,e,g,k,l){var r=e.on("nextcocoa")?la:ma,m=new a(r,w.body,c,b,e,k,l),p,s,B=0;d=d||f.noop;p=setInterval(function(){m.isReady()&&!s?(s=!0,d(),clearInterval(p)):(5===++B||s)&&clearInterval(p)},
50);return{checkViewable:function(){var a=m.isReady(),b=m.getNumInView(),b=m.getPctInView(b),c=g.calcInitialViewState(b,!0);a&&!s&&(s=!0,d());return{str:a?c:h.NA,pct:a?b:-1}},removePixels:function(){m.remove()}}},da=function(a,c,d,b,e,g){var k,l,r=c.getRounded(),m=[],p=!1,s=0,B=b.on("largeAd")&&c.isMrcLarge()&&!y.isVideo()?jb(r):kb(r),x=function(){var a;if(!p)for(p=!0,a=0;a=e?h.IN_VIEW:h.OUT_OF_VIEW);a&&!l&&(l=!0,d());return{str:a?e:h.NA,pct:a?v():-1}},removePixels:function(){f(m).each(function(a,b){try{b.remove()}catch(d){}})}}},
R=function(){var a=new lb,c=new mb;return f(a).mixin(c)},mb=function(){var a={},c=function(d,b){a[d]=a[d]||new V;a[d].push(b)};return{on:function(a,b){b?c(a,b):f(a).each(c)},trigger:function(d){var b,c=f(arguments).toArray();if(b=a[d])c.shift(),b.run.apply({},c)}}},Wa=function(){var a,c={},d={ox:0},b=t.getWindow(),e=f.isDef(b.JSON)&&f.isDef(b.postMessage),g=function(a){var b=a.uniqueId;a=d[a.vendorKey];var e=!1;f.isDef(a)&&1>a&&b&&!c[b]&&(e=!0);return e},k=function(){if(a)return a.type="receipt",
a},l=function(b,e,g){a=e;d[e.vendorKey]++;g();c[e.uniqueId]=!0;r(e)&&(g="false"===e.isSampling,b=["ext",e.vendorKey,e.dataKey].join("_"),g={encode:!0,minDt:g,type:g?h.DT_CODES.EXTERNAL:h.DT_CODES.UNLOAD},q.trigger("addOutputItem",{output:e.dataValue},b,g),q.trigger("addOutputItem",{output:e.vendorKey},"ext_vendor",g),"false"===e.isSampling&&q.trigger("sendMinDt",h.DT_CODES.EXTERNAL))},r=function(a){var b=function(a){return f.isStr(a)&&50>a.length};return b(a.vendorKey)&&b(a.dataKey)&&b(a.dataValue)};
return{isApplicable:function(){return e},start:function(){(new T).listen(g,l,k)}}},W=function(a,c){var d,b=q.request("browser"),e=new I,g=n.cocaPuffsPath;e.sub(c||"static");e.master(e.master().split(":")[0]);g&&(e.master(g),e.sub(""));var k=function(a,b){return''};return function(){var c,g=e+a,f=k("allowscriptaccess","always");c=k("movie",g)+k("play","true")+k("loop","true");var p=b.browserIs(h.BROWSERS.IE)||b.browserIs(h.BROWSERS.MSEDGE),s=b.browserIs(h.BROWSERS.IE);
p&&(c+=k("wmode","transparent"));s?(p=d=w.createElement("div"),s="blag"+n.birthdate+t.random(),p.innerHTML="",c=d.firstChild):(c=w.createElement("object"),c.data=g,c.type=h.FLASH_MIME,c.innerHTML=f);c.style.position="absolute";c.style.width="1px";c.style.opacity="0";c.style.height="0px";return c}()},la=function(a,c,d,b,e,g,k,l){var r=g.browserIs(h.BROWSERS.IE)||
g.browserIs(h.BROWSERS.MSEDGE),m="_IASflashPixelCallback"+(n.birthdate+""+t.round(1E6*t.random())),p=!1,s=!1,B,x,v,D,E=function(){if(B&&f.isFunction(B.jsHandshake)&&!p){B.style.height="1px"===B.style.height?"2px":"1px";try{B.confirmResize()}catch(a){p=!0,q.trigger("error",h.ERROR_CODES.FLASH_API_ACCESS)}}},z=function(){if(p)return!1;var a,b;try{(a=D||B&&f.isFunction(B.jsHandshake))&&!s&&(D=!0,u[m]=G,b=B.jsHandshake(m),s=!0,G(b))}catch(d){a=!1,p=!0,q.trigger("error",h.ERROR_CODES.FLASH_API_ACCESS)}return a},
G=function(a){try{if(f.isUndef(a.isInView))throw"corrupted Flash pixel message received";v=1===+a.isInView}catch(b){q.trigger("error",h.ERROR_CODES.FLASH_API_ACCESS)}},F=function(a,b,d){var c=new W(r?"/detector_4_5_IE.pix":"/detector_4_5.pix"),e=c.style;c[h.IAS_DETECTOR]="true";e.left=b+"px";e.top=d+"px";a.appendChild(c);e.height="1px";B=c;r&&setInterval(E,100);return c}(a,c,d);return{isInView:function(){var a;if(z()){try{a=v}catch(b){D=!1,q.trigger("error",h.ERROR_CODES.COCOA_GONE)}g.browserIs("w")&&
void 0!==a&&(B.style.height=x?"1px":"2px",x=!x)}return z()&&a},isNotReadyToReport:function(){return!z()},createdFlash:B,remove:function(){F.parentNode&&F.parentNode.removeChild(F)}}},ma=function(a,c,d,b,e,g,k){var l=g.browserIs(h.BROWSERS.IE)||g.browserIs(h.BROWSERS.MSEDGE),r=!1,m,p,s,B,x,v=function(a,b){return''},D=function(a,b){return a+'="'+b+'" '},E=function(){if(z()&&!r){m.style.height="1px"===m.style.height?"2px":"1px";try{m.confirmResize()}catch(a){r=!0,q.trigger("error",
h.ERROR_CODES.FLASH_API_ACCESS)}}},z=function(){var a=!1;try{a=m&&f.isFunction(m.jsHandshake)}catch(b){}return a},G=function(){if(r)return!1;var a;try{if((a=x||z())&&!s){x=!0;var b=f.flatJSONParse(m.jsHandshake());s=b.id;if(f.isUndef(s))throw"corrupted Flash pixel message received";B=1===+b.isInView}}catch(d){a=!1,r=!0,q.trigger("error",h.ERROR_CODES.FLASH_API_ACCESS)}return a};C.addEvent(u,"message",function(a){try{var b=f.flatJSONParse(a.data);"IASCOCOA"===b.type&&b.id===s&&(B=1===+b.isInView)}catch(d){q.trigger("error",
h.ERROR_CODES.FLASH_API_ACCESS)}});var F=function(a,b,d){var c;c=new I;var e=n.cocaPuffsPath;c.sub("static");c.master(c.master().split(":")[0]);e&&(c.master(e),c.sub(""));var e=c+(l?"/detector_4_2_IE.pix":"/detector_4_1.pix"),f=v("allowscriptaccess","always"),k=v("movie",e)+v("play","true")+v("loop","true");l&&(k+=v("wmode","transparent"));g.browserIs(h.BROWSERS.IE)?(c=w.createElement("div"),c.innerHTML="",m=c.firstChild):(m=w.createElement("object"),m.data=e,m.type=h.FLASH_MIME,m.innerHTML=f,m[h.IAS_DETECTOR]="true");m.style.position="absolute";m.style.width="1px";m.style.opacity="0";m.style.height="0px";c=m;e=c.style;e.left=b+"px";e.top=d+"px";a.appendChild(c);e.height="1px";l&&setInterval(E,100);return c}(a,c,d);return{isInView:function(){var a;if(G()){try{a=B}catch(b){x=!1,q.trigger("error",h.ERROR_CODES.COCOA_GONE)}g.browserIs("w")&&
void 0!==a&&(m.style.height=p?"1px":"2px",p=!p)}return G()&&a},isNotReadyToReport:function(){return!G()},createdFlash:m,remove:function(){F.parentNode&&F.parentNode.removeChild(F)}}},U=function(){var a=function(d,b,c){var g=b.length,f=d.frames;c&&c(d,b);if(f.length){for(d=0;d=b&&(d.task(),a.shift())},getNextJob:function(){return a[0]}}},T=function(){var a=function(a,d,b,e){var g,k=f.noop,l,r;if(JSON&&JSON.parse)try{g=JSON.parse(a.data),l=a.source,d(g)&&(e&&(r=e(l))&&(k=function(){(new X(l)).send(function(){return r})}),b(a,g,k))}catch(m){g&&q.trigger("error",h.ERROR_CODES.MESSAGE_LISTENER)}};return{listen:function(c,
d,b){C.addEvent(u,"message",function(e){a(e,c,d,b)})}}},X=function(a){var c=function(a){return f(a).mapToObj(function(a,d){var c;f.isFunction(d)||(c={},c[a]=d);return c})};return{send:function(d){if(JSON&&JSON.stringify){var b=f(a).isObj()?[a]:(new U).getFrames(a);f(b).each(function(a,b){var k;k=f.resolve(d,b)||{};k.sentTime=t.now();k=c(k);b.postMessage(f(k).JSONStringify(),"*")})}}}},ua=function(a){var c=0,d={},b=function(a,b,d){if(f.isUndef(a.output))throw Error("item with id "+b+' must have "output" method');
this.item=a;this.id=b||++c;this.props=d||{};this.output=function(){return f.isFunction(a.output)?a.output():a.output}},e=function(a){var b,c,e=[];for(b in d)d.hasOwnProperty(b)&&(c=a(b,d[b]))&&e.push(c);return e},g=function(a,c,e){a=new b(a,c,e||{});d[a.id]=a};a.on("addOutputItem",function(a,b,c){g(a,b,c)});return{addItem:g,filterOutput:function(a,b){return e(function(c,d){var e=d.props,g=d.output();a(e)&&(e.encode?b[encodeURIComponent(c)]=encodeURIComponent(g):b[c]=g)})},iterate:e,getItem:function(a){return d[a]}}},
jb=function(a){var c=a.width-5,d=a.height-5,b=0.5*a.width+1,e=0.5*a.height+1,g=0.3*a.width+1,f=0.7*a.width+1,l=0.3*a.height+1,r=0.7*a.height+2,m,p=function(b,c){1>b&&(b=1);1>c&&(c=1);b>a.width&&(b=0!==a.width?a.width:1);c>a.height&&(c=0!==a.height?a.height:1);return{x:t.floor(b),y:t.floor(c)}};m=[p(c,d),p(c,5),p(5,d),p(5,5),p(b,e),p(g,l),p(f,l),p(g,r),p(f,r)];return{get:function(){return m},getPctInView:function(a){var b;0===a?b=0:1===a?b=10:2===a?b=20:5>a?b=30:7>a?b=50:9>a?b=70:9===a&&(b=100);return b}}},
kb=function(a,c){var d=0.5*a.width+1,b;b=[{y:t.floor(0.5*a.height+1),x:t.floor(d)}];return{get:function(){return b},getPctInView:function(a){return 1===a?50:0}}},lb=function(){var a={},c=function(c,b){a[c]=b};return{request:function(c){var b,e=a[c],g=f(arguments).toArray();g.shift();f.isUndef(e)||(b=f.isFunction(e)?e.apply({},g):e);return b},provide:function(d,b){b?a[d]=b:f(d).each(c);return b}}},Ka=function(a,c,d){return{collect:function(){var b=a.find(),c=b.getOutOfViewReasons(),g=d.isHidden(),
k=H(A.calcWinDims()),l=b.getDims();if(!k.hasValidDims()||!l.hasValidDims())return{viewState:h.NA,posViewState:h.NA,embedded:y.embedded,winDimensions:k,adDimensions:l};!0===g&&c.push(h.OUT_OF_VIEW_REASONS.FOCUS);return{winDimensions:k,adDimensions:l,containerDimensions:b.getContainerDims(),method:b.getDetectionMethod(),viewState:c.length?h.OUT_OF_VIEW:b.getViewState(),percentInView:b.getPercentInView(),reason:c.join("."),obstructed:f.stringifyTriState(b.isObstructed()),isHidden:f.stringifyTriState(b.isHidden()),
tabHidden:f.stringifyTriState(g),posViewState:b.getViewState(),adCompCount:b.getComponentCount()}}}},nb=function(a){a=a||f.identity;var c=[],d=t.now(),b=function(){var a=t.now();c.length&&(c[c.length-1].duration+=a-d,d=a)};return{clear:function(){b();c=[]},fastForward:b,get:function(){return c},hasAlwaysBeen:function(a){return 1===c.length&&c[0].state===a},addState:function(d){var g=c[c.length-1];d=a(d);b();0!==c.length&&d===g.state||c.push({state:d,duration:0})}}},ob=function(a){var c=a||1,d=0,b=
0,e=0,g=0;return{start:function(){0===d%c&&(e=t.now())},stop:function(){0===d%c&&(g+=t.now()-e,b++);d++},getTime:function(){return g},getCount:function(){return b}}},fa=function(a){var c=0,d=y.getTagTime(),b=0,e,g;return{getTotalTime:function(){return b},stop:function(){c=0;d=y.getTagTime()},mark:function(){e=y.getTagTime()-d;c+=e;c>a&&(g=c-e\x3c/script>'],iframe:[''],img:['']}[a];
d=c[0]+b+c[1];"true"===n.forceAppend?"script"!==a?(c=w.createElement("DIV"),c.innerHTML=d,e.appendChild(c.childNodes[0])):(c=w.createElement("SCRIPT"),c.src=b,e.appendChild(c)):w.write(d)},b=function(a,b,c){var d=!c&&C.getXHR2();d?(d.open("POST",a),d.onreadystatechange=function(){4===d.readyState&&200===d.status&&b&&b()},d.send()):(c=new Image,b&&(c.onload=b),c.src=a)},e=function(a,b){var c=w.createElement("script");c.type="text/javascript";c.src=a;b&&(c.onload=b);f.isDef(n.contextNode.parentNode)&&
n.contextNode.parentNode.appendChild(c)},g=function(c){f.isFunction(c)?c():"string"===typeof c?b(c,void 0,!0):a.add(h.ERROR_CODES.NOTIFY_CLIENT)},k=function(a,b,d,g){e(c.wrap(a,b,d,g))};q.on({addNode:d,send:b,exec:e,notify:g,jsonp:k});return{addNode:d,send:b,exec:e,notify:g,jsonp:k}},h={MAX_URL_LENGTH:2E3,MRC_LARGE_AD_SIZE:242500,FLASH_MIME:"application/x-shockwave-flash",IN_VIEW:"inView",OUT_OF_VIEW:"outOfView",PARTIAL_VIEW_PLUS:"partialViewPlus",PARTIAL_VIEW_MINUS:"partialViewMinus",NA:"na",DT_CODES:{ADTALK:"a",
DIAGNOSTIC:"b",PERFORMANCE:"e",THIRD_PARTY:"i",LARGE_BILLABLE:"l",VIDEO_EVENTS:"m",PING:"p",FULLY_INVIEW:"pf",QUARTILE_FULLY_INVIEW:"qf",SCA:"s",POS_INVIEW:"t",UNLOAD:"u",VIEWABILITY_READY:"v",VH:"vh",EXTERNAL:"x"},DETECTION_METHODS:{AD_PLACEHOLDER:"s",AD_HUNT:"a",IFRAME:"i",VIDEO:"v",MRAID:"m",AVID:"av",MUTATION:"c"},OUT_OF_VIEW_REASONS:{GEOM:"l",OBSTRUCTION:"o",FOCUS:"f",COLLAPSED:"c",HIDDEN:"h",VIDEO:"v"},VIDEO_CHANNELS:{VANS:{AS3_ADAPTOR:"av3"}},PERF_TRACKER_TYPES:{VANS:{TYPE:"vans",COUNT:4},
JSVIDWRAPPER:"jsvidwrap",ASVIDWRAPPER:"asvidwrap"},ERROR_CODES:{GET_AD_DIMENSIONS:"a",AD_SLOT_ID:"A",BAPI_CALLBACK:"b",ADTALK_GENERAL:"c",COCOA_GONE:"C",GET_SCREEN_LOC_GET_DIMENSIONS:"d",ADTALK_DUBIOUS:"D",NO_CONTAINER:"e",VIDEO_IN_IFRAME_DIMS_CALC:"F",PHONE_HOME:"h",UID_GENERATION:"i",IMPRESSION_URLS:"I",JSINFO:"J",KILL_IT:"k",LOCATION_DETAILS:"l",IMPRESSION_LEADUP:"L",MESSAGE_LISTENER:"m",NOTIFY_CLIENT:"n",AT_INIT:"N",GET_SCREEN_LOC_PIV_CALC:"p",PLUGIN_PARSING:"P",GET_ELEM_STYLE:"s",AT_SEND:"S",
NO_VIDEO_AD_INTERFACE:"u",ENVIRONMENT:"v",GET_WIN_DIMENSIONS:"w",AC_WATCHER:"W",EXCHANGE_PARSING:"x",CHECK_SCREEN_LOC:"V",MOBILE_APP:"M",FLASH_API_ACCESS:"z"},IAS_DETECTOR:"iasdetector",BROWSERS:{WEBKIT:"w",OPERA:"o",GECKO:"g",CHROME:"c",IE:"i",MSEDGE:"e"}},y=function(){var a=u!=top,c=function(){var a;try{a=!!top.document}catch(b){a=!1}return a}();return{embedded:a,friendly:c,friendlyIframe:a&&c,xDomainIframe:a&&!c,getTagTime:function(){return t.now()-n.birthdate},getPageTime:function(){return f.isDef(u.chrome)&&
f.isDef(u.chrome.csi)&&f.isFunction(u.chrome.csi)?t.round(chrome.csi().pageT):h.NA},isVideo:function(){return-1!==n.mode.indexOf("jsvid")},isMobileApp:function(){return f.isDef(u.mraid)}}}(),C={addEvent:function(a,c,d,b){f.isDef(a.addEventListener)?"mouseenter"===c?a.addEventListener("mouseover",C.mouseEnter(d),b):"mouseleave"===c?a.addEventListener("mouseout",C.mouseEnter(d),b):a.addEventListener(c,d,b):f.isDef(a.attachEvent)&&a.attachEvent("on"+c,d)},removeEvent:function(a,c,d){f.isDef(a.removeEventListener)?
("mouseenter"===c?(c="mouseover",d=C.mouseEnter):"mouseleave"===c&&(c="mouseout",d=C.mouseEnter),a.removeEventListener(c,d)):f.isDef(a.detachEvent)&&a.detachEvent("on"+c,d)},mouseEnter:function(a){var c=this;return function(d){var b=d.relatedTarget;this===b||c.isAChildOf(this,b)||a.call(this,d)}},isAChildOf:function(a,c){if(a===c)return!1;for(;c&&c!==a;)c=c.parentNode;return c===a},getStyle:function(a,c){var d="";w.defaultView&&w.defaultView.getComputedStyle?d=w.defaultView.getComputedStyle(a,"").getPropertyValue(c):
a.currentStyle&&(c=c.replace(/\-(\w)/g,function(a,c){return c.toUpperCase()}),d=a.currentStyle[c]);return d},getXHR2:function(a,c){var d,b;f.isDef(u.XMLHttpRequest)?(b=new XMLHttpRequest,"withCredentials"in b&&(d=b)):f.isDef(XDomainRequest)&&(d=new XDomainRequest);return d}},Ma=function(a,c,d,b,e,g,k,l){var r=0,m=0,p=!1,s,B={},x=[h.DT_CODES.ADTALK],v=function(a,c,e,g,l,s){e=e||!d.on("postDts");var x=a===h.DT_CODES.VH||a===h.DT_CODES.DIAGNOSTIC||a===h.DT_CODES.ADTALK;if(b.impressionIsIdentifiable()&&
(x||"n"!==k.getCurrentLoc()))try{var v=n.dtBaseURL,D=new I(v),y=t.now(),w=B[a];v||(D.path("dt"),d.on("usedtdomain")&&D.sub("dt"));a===h.DT_CODES.PERFORMANCE&&D.sub("dtias");u(D,a,c);l&&l.field&&D.setParam(l.field,l.value);g||z(D,a);q.trigger("send",D,function(){m+=1;r=t.now()-y;f.isFunction(s)&&s()},e);a===h.DT_CODES.UNLOAD&&(p=!0);B[a]=f.isDef(w)?w+1:1}catch(A){__IntegralASDiagnosticCall("dt-"+a,A),q.trigger("error",h.ERROR_CODES.PHONE_HOME)}};a=function(a,b){var c={bapi:"a",bapiClient:"b",jload:"c",
jss:"d",jsi:"e",cdnTest:"f",colloTest:"g"},e=n.mode,c=c[a]||c[e];d.on(b||e+"Diag")&&c&&v(h.DT_CODES.DIAGNOSTIC,-5,!0,!0,{field:"bkp",value:c})};var D=function(a){var b;a===h.DT_CODES.UNLOAD?b=-1:a===h.DT_CODES.ADTALK?b=-2:a===h.DT_CODES.VIEWABILITY_READY?b=-3:a===h.DT_CODES.VIDEO_EVENTS?b=-4:a===h.DT_CODES.DIAGNOSTIC?b=-5:a===h.DT_CODES.THIRD_PARTY?b=-6:a===h.DT_CODES.QUARTILE_FULLY_INVIEW?b=-7:a===h.DT_CODES.LARGE_BILLABLE&&(b=-8);var c=B[a];f.isDef(c)&&-1!==x.indexOf(a)&&0!==c&&(b=b+"."+c);return b},
u=function(a,c,d){d=f.isDef(d)?d:D(c);a.setParam("asId",n.asid);d={c:b.getCacheBustId(),pingTime:d,time:y.getTagTime(),type:c};e.filterOutput(function(a){return a.minDt&&(!a.type||a.type===c)},d);a.setParam("tv",d)},z=function(a,b){var f,p={};k.fastForward();b===h.DT_CODES.VIDEO_EVENTS&&(f=q.request("videoEventsString"))&&(p.ve=f,p.clog=l);b===h.DT_CODES.UNLOAD&&(p.ndt=m);-1!==n.mode.indexOf("jsvid")&&(p.vv=q.request("videoVersion"));p.NULL1=d.output();p.NULL2=k.stringify(10);p.em=y.embedded;p.fr=
y.friendly;p.uf=s.useFlash()?1:0;p.e=c.toString();p.tt=n.mode;p.dtt=r;e.filterOutput(function(a){return!a.minDt&&(!a.type||a.type===b)},p);a.setParam("tv",p);a.setParam("br",g.getBrowserType())};q.on({sendDt:v,sendMinDt:function(a,b){v(a,b,void 0,!0)},sendDiag:a});return{send:v,sendCookie:function(){var a;d.on("cookie")&&"true"===n.sendCookie&&n.protocol&&n.cookieDomain&&n.asid&&(a=n.protocol+"://"+n.cookieDomain+"?asid="+n.asid,q.trigger("send",a,f.noop,!0),m++)},unload:function(){p||v(h.DT_CODES.UNLOAD,
-1,!0)},diagnostic:a,setViewabilityMod:function(a){s=a}}},H=function(a){var c={},d=!1,b=function(){var a={};f(c).each(function(b,c){a[b]=t.round(c)});return a},e=function(){return t.round(c.width)*t.round(c.height)};(function(){var b;a!==u.parent&&(1!==a.nodeType?c=a:f.isDef(a.getBoundingClientRect)&&(b=A.getRect(a),f(c).mixin({x:f.useIfDef(b.x)||b.scrX,y:f.useIfDef(b.y)||b.scrY,scrX:b.scrX,scrY:b.scrY,width:b.width,height:b.height})))})();return{hasValidDims:function(){var a,b=f(c).find(function(b,
c){a=!0;return isNaN(c)});return f.isDef(a)&&f.isUndef(b)},toString:function(){var a=b();return[a.scrX,a.scrY,a.width,a.height].join(".")},getRounded:b,set:function(a,b){c[a]=b},isHidden:function(){var b=1===a.nodeType?A.nodeIsHidden(a):0===a.width||0===a.height;return d?!1:b},treatAsPlaceholder:function(){d=!0},area:e,isMrcLarge:function(){return e()>=h.MRC_LARGE_AD_SIZE}}},Da=function(){return{calcDims:function(a,c){var d=new H(a),b=A.getClippedDimensions(a,c),e=d.getRounded();d.set("height",b.height<
e.height?b.height:e.height||1);d.set("width",b.widthr){s=void 0;if(s=m.parentNode===a)if(s=void 0,s="DIV"===m.nodeName)if(s=void 0,s=""===m.style.backgroundImage){var h=s=void 0,x=m.childNodes;for(s=0;s100*t.random());return a[b]},d={fc:"forcecocoa",rt:"rattie",cb:"cachebust",np:"nextcocoa",th:"tabHiddenDtCall",es:"everySecond"},b={gm:"use100v",fif:"useFIF"},e=function(){var c,e;c=f(d).mapToObj(function(b,c){var d={};d[b]=a[c]?1:0;return d});e=f(b).mapToObj(function(a,b){var c={};c[a]=g(b)?1:0;return c});return f(c).mixin(e)},
g=function(a){a=n[a];return!0===a||"true"===a||f.isFunction(a)};f(d).each(function(a,b){c(b)});return{on:c,bootstrapOn:g,output:function(){return f(e()).toParams()}}},Fa=function(a){var c=h.BROWSERS,d=a.browserIs(c.GECKO)||a.browserIs(c.IE)||y.friendlyIframe||!y.embedded;return{calcInitialViewState:function(a,c,f){var k={IN_VIEW:65,OUT_OF_VIEW:25,PARTIAL_VIEW:30},l={IN_VIEW:75,OUT_OF_VIEW:25,PARTIAL_VIEW:50},r=h.NA;f=f?k:l;if(d||c)r=a>=f.IN_VIEW?h.IN_VIEW:a<=f.OUT_OF_VIEW?h.OUT_OF_VIEW:a>=f.PARTIAL_VIEW?
h.PARTIAL_VIEW_PLUS:h.PARTIAL_VIEW_MINUS;return r},calcPercentInView:function(a,c,d,k){var l=0,r=a;a.hasValidDims()&&!a.isHidden()&&(f([c,d,k]).each(function(a,b){if(b.hasValidDims()){var c=r.getRounded(),d=b.getRounded(),e=Math.max(c.scrX,d.scrX),f=Math.max(c.scrY,d.scrY),g=Math.min(c.scrX+c.width,d.scrX+d.width),c=Math.min(c.scrY+c.height,d.scrY+d.height),g=g-e,c=c-f;r=H({scrX:e,scrY:f,width:0c.length;)e?(b=new Uint32Array(1),u.crypto.getRandomValues(b),c+=b[0].toString(16)):c+=(16*t.random()|0).toString(16);c=c.slice(0,30)}catch(f){a.add(h.ERROR_CODES.UID_GENERATION)}return c}()}},Ea=function(a){var c,d=function(){var b,c,d,g,p,s,n=t.getMaxNumber();b=
t.getMaxNumber();d=t.getWindow();y.friendly?(b=e(),d=b.left,g=b.top,n=b.width,b=b.height,c=A.windowPosition(),p=c.scrX+d,s=c.scrY+g):a.browserIs(h.BROWSERS.IE)&&11!==a.getDocumentMode()?(s=p=0,d=function(a){p=a.screenX-a.clientX;s=a.screenY-a.clientY},w.documentElement.attachEvent("onmousemove",d),w.documentElement.fireEvent("onmousemove"),w.documentElement.detachEvent("onmousemove",d)):f.isDef(d.mozInnerScreenX)&&(p=t.round(d.mozInnerScreenX),s=t.round(d.mozInnerScreenY));return{scrX:p,scrY:s,iFrameClippingWidth:n,
iFrameClippingHeight:b}},b=function(){var a,b,d=c||A.getIeDimObj(),e=t.getWindow();f.isDef(e.innerWidth)?(a=e.innerWidth,b=e.innerHeight):d&&f.isDef(d.clientWidth)?(a=d.clientWidth,b=d.clientHeight,0===a&&0=h.MAX_URL_LENGTH)return"";var c,d,e=[],g=function(a){return-1!==a.key.indexOf("q")||-1!==a.key.indexOf("g")};c=f(a).map(function(a,b){if(g(b))return b});d=f(a).map(function(a,b){if(!g(b))return b});f(c.concat(d)).each(function(a,
c){var d="adsafe_url="+c.val+"&adsafe_type="+c.key,f=e.join("&").length;d.length+f+b<=h.MAX_URL_LENGTH&&e.push(d)});return e.join("&")},m=function(a){var e=0,m=K.hashCode(n.asid),r="adsafe_jsinfo=",v=l.needsFlash()?{viewState:h.NA}:l.checkScreenLoc(!0),q="c:"+b.getCacheBustId()+",sl:"+v.viewState+",em:"+y.embedded+",fr:"+y.friendly,u=d.on("postDts")&&C.getXHR2()?"p":"i",z=["pt:"+l.stringifyPingTimes()+(v.viewState!=h.NA?v.details:""),f(k.params()).toParams(),"id:"+n.asid];g.iterate(function(a,b){z.push(a+
":"+b.output())});c.toString()&&z.push("e:"+c.toString());z.push(d.output());z.push("uf:"+(l.useFlash()?1:0));z.push("tt:"+n.mode);z.push("et:"+(t.now()-n.birthdate));z.push("uid:"+b.unq);z.push("v:1.68.0");z.push("sp:"+("true"===n.jsDoSplit?1:0));z.push("ct:"+y.getPageTime());z.push("dtm:"+u);z.push("mn:"+n.mn);z.push("gtpl:"+("true"===n.getTpl?1:0));d.on("resolution")&&(z.push("wr:"+f(A.windowSize()).toArray().join(".")),z.push("sr:"+f(A.screenSize()).toArray().join(".")));-1===(""+m).indexOf(k.params().br.toUpperCase().charCodeAt(0))&&
z.push("mf:"+m);var w=function(b){return r.length+a+b.length+5<=h.MAX_URL_LENGTH},F=function(a){if(a)return","+a};w(q)&&(r+=F(q),f(z).each(function(a,c){-1!==c.indexOf("id:")&&w(c)?(r+=F(c),b.impressionIsIdentifiable(!0)):w(c)?r+=F(c):e+=1}),F("sp:"+("true"===n.jsDoSplit?1:0)));return r+=",ov:"+e};return{send:function(a){var b=e.baseUrl;try{b+=r(a,b.length)}catch(d){c.add(h.ERROR_CODES.IMPRESSION_URLS)}b+="&"===b.slice(-1)?"":"&";try{b+=m(b.length)}catch(f){c.add(h.ERROR_CODES.JSINFO),b+="adsafe_jsinfo=e:"+
c.toString()}e.macroUrl&&(b+="&"===b.slice(-1)?"":"&",b+=e.macroUrl);try{e.sendImpression(b),q.trigger("impressionsent")}catch(g){__IntegralASDiagnosticCall("impsend",g,n)}}}},Pa=function(a,c){return{init:function(d){a.jsonp(d,function(a){c.send(h.DT_CODES.THIRD_PARTY,void 0,!1,!0,{field:"tpiLookup",value:a})},!1,"callback")}}},La=function(a){var c=function(a,c){return{time:a,task:c}},d=function(a,d){d=d||f.noop;return function(g){return f(g).map(function(f,g){var h=g/1E3;return new c(g,function(){var c;
c="";var f=y.isVideo()?2:1;h!==f&&(c+=h);c=n["_onInViewMRC"+c];q.trigger("sendDt",a,h);d(c)})})}};return{getJob:function(a,d){return new c(a,d)},getPingJobs:d(h.DT_CODES.PING,function(b){"true"===n.useViewabilityNotification&&!a.skipAsFraudulent()&&b&&q.trigger("notify",b)}),getFullyInViewPingJobs:d(h.DT_CODES.FULLY_INVIEW),getPosInViewPingJobs:d(h.DT_CODES.POS_INVIEW)}},ya=function(){var a=function(a,b){-1!==a.indexOf(b+"&")&&(b+="&");return a.replace(b,"")},c=function(a,b,c){var f=a.indexOf("?");
b=b+"="+c;if(-1===f)return a+"?"+b;f++;return a.slice(0,f)+b+"&"+a.slice(f)};return{wrap:function(d,b,e,f){var k="__IntegralAS_"+n.asid.replace(/\-/g,"")+"_"+t.round(1E4*Math.random()),h,r,m;f=f||"ias_callback";RegExp(f).test(d)&&(h=RegExp("("+f+"=)(.[^&]*)").exec(d)[0],r=h.split("=")[1],m=K.stringToFn(r),d=a(d,h));u[k]=function(a){b(a);e&&m&&m(a);u[k]=void 0};return d=c(d,f,k)}}},Qa=function(a,c){var d={jss:{isFW:!0,nodeType:"script"},jsi:{isFW:!0,nodeType:"iframe"},jload:{impressionMethod:function(a){q.trigger("send",
a,function(){q.trigger("sendDiag")},!c.on("postMon"))}},bapi:{impressionMethod:function(b){q.trigger("jsonp",b,a.enabled?a.callback:f.noop,a.enabled?!0:!1)}},jsapi:{isFW:!0,impressionMethod:function(b){q.trigger("jsonp",b,a.enabled?a.callback:f.noop,a.enabled?!0:!1)}},jsvid:{impressionMethod:function(a){q.on("adImpression",function(){q.trigger("send",a,f.noop,!c.on("postMon"))})}},fwjsvid:{isFW:!0,impressionMethod:function(a){var c="false"===n.fwMonitoring,d=function(a){a=a.split("/");a[3]="db2";
a[4]="video";return a.join("/")};c&&q.trigger("jsonp",d(a),function(a){q.trigger("videoBlockResult",a)});q.on("adImpression",function(d){var g;if(g=c)g=d&&f.isBool(d.integral_didBlock)&&0<=d.integral_timeToDecision;g&&(a=a.replace(/(adsafe_jsinfo=)([^&]*)/,"$1$2,abc:"+(d.integral_didBlock?1:0)+",abct:"+d.integral_timeToDecision));q.trigger("send",a,f.noop,!0)})}},jspix:{nodeType:"img"}};return new function(){var a=function(a){var b=-1===a.indexOf("?")?"?":"&";return a+b},c=d[n.mode],f=!!c.isFW,k=
function(a){var b;b=q.request("mobileApp").isMobileAppEnvironment()&&n.mobFwUrl?n.mobFwUrl:a?n.adsafeSrc:n.requrl;a||(b+="?"+n.reqquery);return b}(f),h=k.indexOf("BEGIN__ADSAFE"),r=-1!==h,m=r?k.slice(h):"",a=r?k.slice(0,h):a(k);return{isFW:f,baseUrl:a,macroUrl:m,sendImpression:function(a){c.nodeType?q.trigger("addNode",c.nodeType,a):c.impressionMethod(a)}}}},Xa=function(a,c){var d,b=n.mtCell,e=n.mtSample,g=0,k=0,l=[],r=null,m=null,p,s=function(a){try{var d=t.now()-r;g+=d;C.removeEvent("mousemove",
x);l.push("{ht:"+g+",mm:{"+f(p).toParams()+"}}");c.addItem({output:"{cs:"+b+",sr:"+e+",ec:"+l.length+",me:["+l.slice(-10).join(",")+"]}"},"mt",{type:h.DT_CODES.UNLOAD})}catch(k){}},q=function(a){try{g=0,p={},r=t.now(),C.addEvent(d,"mousemove",x)}catch(b){}},x=function(c){var g,h,r,l,s,n,x;try{null===m&&(m=d&&f.isDef(c.clientX)&&f.isDef(c.clientY));if(m&&0===k%e&&(s=a.calcDims(),-1!==s)){x=t.ceil(s.width/b);var q=c.clientX,B=c.clientY;r=y.embedded?q:q-s.x;l=y.embedded?B:B-s.y;g=t.floor(r/b);h=t.floor(l/
b);n=g+h*x;p[n]?p[n]++:p[n]=1}k++}catch(u){}};return{init:function(){var b=setInterval(function(){try{a.isAdDetected()&&(d=a.getOriginatingElement(),C.addEvent(d,"mouseenter",q),C.addEvent(d,"mouseleave",s),clearInterval(b))}catch(c){}},250)}}},t={execAtEndOfThread:function(a){setTimeout(a,0)},now:function(){return(new Date).getTime()},random:function(){return Math.random()},round:function(a){return Math.round(a)},ceil:function(a){return Math.ceil(a)},floor:function(a){return Math.floor(a)},min:function(){return Math.min.apply(null,
arguments)},getWindow:function(){return u},getMaxNumber:function(){return Number.MAX_VALUE},getTop:function(){return top},getNewActiveXObject:function(a){return new ActiveXObject(a)},getDoc:function(){return w}},va=function(){var a,c=!1,d=new V,b=function(){var b=t.getWindow();return y.friendly&&b.top.document&&(f.isFunction(b.top.document.hasFocus)||f(b.top.document.hasFocus).isObj())&&!b.top.document.hasFocus()||(f.isDef(a.prop)?t.getDoc()[a.prop]:null)},e=function(){var c=t.getWindow(),e=function(){d.run(b())};
C.addEvent(c,"focus",e,!0);C.addEvent(c,"blur",e,!0);a.event&&C.addEvent(t.getDoc(),a.event,e,!0)};a=function(){var a,b="hidden",c="visibilitychange",d=t.getDoc();f.isUndef(d.hidden)?f(["moz","ms","webkit"]).each(function(e,h){var s=h+"Hidden";f.isDef(d[s])&&(b=s,c=h+c,a=!0)}):a=!0;return a?{prop:b,event:c}:{}}();return{isHidden:b,onHiddenChange:function(a){d.push(a);c||(c=!0,e())}}},wa=function(){var a=function(a){for(var b in a)if(a.hasOwnProperty(b)){var c=a[b];(""===c||"null"===c||"undefined"===
c||null===c||f.isUndef(c))&&delete a[b]}return a},c=function(a){var b={},c,g;for(g in a)a.hasOwnProperty(g)&&(c=a[g],f.isUndef(b[c])?b[c]=g:b[c]+=g);a={};for(g in b)b.hasOwnProperty(g)&&(c=b[g],a[c]=g);return a};return{detectTopURL:function(){var d=function(){var a={g:"",q:""};try{a.q=u.parent.parent.parent.parent.parent.parent.parent.parent.parent.parent.location.href}catch(b){var c=b.message,c=c.substring(c.lastIndexOf("<")+1,c.lastIndexOf(">")),d;if(d=f.isDef(c))if(d=!1,f.isDef(u.navigator)&&f.isDef(u.navigator.userAgent)){var e=
u.navigator.userAgent.match(/Firefox\/([\.0-9]+)/);null!==e&&2==e.length&&(e=e[1].split("."),3==parseInt(e[0],10)&&6>=parseInt(e[1],10)&&(3==e.length?13>=parseInt(e[2],10)&&(d=!0):d=!0))}d&&(a.g=c)}return a},b={};try{b.a=encodeURIComponent(top.location.href)}catch(e){}try{b.b=encodeURIComponent(parent.location.href)}catch(g){}if(y.embedded){try{b.c=encodeURIComponent(parent.document.referrer)}catch(k){}try{b.e=encodeURIComponent(u.document.referrer)}catch(h){}}try{"jsi"!==n.mode&&(b.d=encodeURIComponent(u.location.href))}catch(r){}try{b.f=
encodeURIComponent(n.jsref)}catch(m){}try{var p=d();b.g=encodeURIComponent(p.g);b.q=encodeURIComponent(p.q)}catch(s){}var b=a(b),b=c(b),d=[],q;for(q in b)b.hasOwnProperty(q)&&d.push({key:q,val:b[q]});d.sort(function(a,b){return a.val.length>b.val.length?1:a.val.length=a?90:122)>=(a=a.charCodeAt(0)+13)?a:a-26)})},hashCode:function(a){var c=
0,d,b,e;if(0===a.length)return c;d=0;for(e=a.length;dx.unifiedId&&(w.unifiedId=x.unifiedId);var A;A=t.now()-e.sentTime;e.transferDuration=A;v=l.getFrame(x.id);f.isUndef(v)||f.isUndef(v.selfDescription)||
(u.srcIsEmbedded||y.embedded)&&g(v.inbox,e)?(v=v||l.addFrame(b.source,x.id.split("-"),e),v.addInformationFromSrc(e,x),n()):v.addInformationFromSrc(e,x);var z;b=v;if(c.on("moreAdTalkCalls")){var C=a.request("idMapModule");z=d&&b.hasUnreportedTag()&&C.isCandidateForMyIdMap(b)}else z=!1;z&&k()}catch(F){q.trigger("error",h.ERROR_CODES.ADTALK_DUBIOUS)}};return{sendAdTalkCall:k,sendToKnownFrames:function(){(new X).send(e)},startListening:function(){(new T).listen(b,l,e)},validateMessage:b,processMessage:l,
createMessage:e}},vb=function(a){a=a||n;var c;a.reqquery?c=a.reqquery.split(/(?:anId=|anid=|ANID=)([^&]*)/)[1]:(c=a.adsafeSrc.split("/"),c=c[5]+"-"+c[6]);return{tagId:c,adSafeId:a.asid,isReported:!1}},qb=function(){var a=[];return{createNew:function(c){c=new vb(c);a.push(c);return c},getAll:function(){return a}}},Va=function(a,c,d){var b=!1,e=function(){c.impressionIsIdentifiable()&&!b&&(b=!0,q.trigger("notify",n._onMeasurable))};return{start:function(){var b=q.request("mobileApp");if(b.isMobileAppEnvironment()?
b.isMeasurable():!d.useFlash())e();else q.on("measurable",function(){a.browserIs(h.BROWSERS.WEBKIT)||e()})},isApplicable:function(a){return a.bootstrapOn("useViewabilityNotification")&&f.isDef(n._onMeasurable)}}},Ra=function(a,c,d,b,e,g,k,l,r,m,p,s,q,x){var v,A,E,z,G=0,F=0,I,M=-1!==n.mode.indexOf("jsvid"),K=g.request("mobileApp"),$=M?200:100;d=n.mobOrTab;var R=!d&&b.on("recordalternate"),S=a.hasFlashEnabled(),J=b.on("forcecocoa")&&S,V=b.on("nextcocoa"),N=a.getDocumentMode(),N=a.browserIs(h.BROWSERS.GECKO)||
a.browserIs(h.BROWSERS.IE)&&(9===N||10===N)&&b.on("rattie"),O=y.friendlyIframe&&J||y.xDomainIframe&&N&&J||y.xDomainIframe&&!N,L=!d&&O&&b.on("cocoapuffs")&&S,T=!1,Q=new ob(10),ca=V?la:ma,P=[M&&b.on("videotwoseconds")?2E3:1E3,5E3,15E3];b.on("everySecond")&&(P=[1E3,2E3,3E3,4E3,5E3,6E3,7E3,8E3,9E3,1E4,11E3,12E3,13E3,14E3,15E3]);var W=f(P).map(function(a,b){return b/1E3}).join("-"),aa=new fa(1E3),U=new ea(m.getPingJobs(P));if(b.on("hundredpct")&&n.use100v)var ba=new fa(1E3),X=new ea(m.getFullyInViewPingJobs(P));
if(b.on("tabHiddenDtCall"))var ga=new fa(1E3),Y=new ea(m.getPosInViewPingJobs([P[0]]));var ha=function(){Z();b.on("viewabilityready")&&(c.send(h.DT_CODES.VIEWABILITY_READY),g.trigger("measurable"))};g.on("delayedViewabilityReady",ha);var Z=function(d){try{Q.start();var k,m,l,u,w,y;l=s.collect();R&&(l.gState=l.viewState);if(K.isMobileAppEnvironment())l.viewState=K.getViewabilityResult(),l.method=K.getDetectionMethod(),l.percentInView=K.getPercentageInView();else if(L){v=v||new da(ca,l.adDimensions,
ha,b,p,a)||{};u=v.checkViewable();b.on("hundredpct")&&n.use100v&&(z=z||new ib(hb,l.adDimensions,ha,a,b,e,r,p)||{},w=z.checkViewable(),l.fullPercentInView=w.pct,l.useCocoa=L);if(1!==l.tabHidden||u.str===h.NA)l.viewState=u.str;l.percentInView=u.pct;b.on("unreliabilityDetection")&&S&&(E=E||new da(ca,H({height:0,width:-2E4}),f.noop,b,p,a)||{},y=E.checkViewable(),y.str!==h.OUT_OF_VIEW&&(F+=1),G+=1,r.addItem({output:F+"/"+G},"fu"))}else O&&(l.viewState=h.NA,l.percentInView=-1);R&&(A||d||!S||(A=L?v:new da(ca,
l.adDimensions,f.noop,b,p,a,e)),l.fState=d||!S?h.NA:A.checkViewable().str);if(M&&(m=x.getViewStateOverride())){if(m===h.OUT_OF_VIEW){var C=l.reason?l.reason.split("."):[];C[C.length]=h.OUT_OF_VIEW_REASONS.VIDEO;l.reason=C.join(".")}l.viewState=m}k=q.registerLocation(l);b.on("hundredpct")&&n.use100v&&(k.isFullyInView()?(ba.mark(),X.doEligibleJobs(ba.getTotalTime()),!b.on("zeroPing")||T||d||(c.send(h.DT_CODES.FULLY_INVIEW,0),T=!0)):ba.stop());k.isInView()?(aa.mark(),U.doEligibleJobs(aa.getTotalTime())):
aa.stop();var I=U.getNextJob();I&&I.time===P[0]&&b.on("tabHiddenDtCall")&&(l.posViewState===h.IN_VIEW||l.posViewState===h.PARTIAL_VIEW_PLUS?(ga.mark(),Y.doEligibleJobs(ga.getTotalTime())):ga.stop());Q.stop();var J=t.round(Q.getTime()/Q.getCount());r.addItem({output:J},"lt",{type:h.DT_CODES.UNLOAD});return k}catch(N){g.trigger("error",h.ERROR_CODES.CHECK_SCREEN_LOC)}},ia,ja=function(a){var b;I=!0;var d=!1,e=function(){d||(d=!0,c.send(h.DT_CODES.VIDEO_EVENTS,void 0,void 0,void 0,void 0,function(){u.postMessage(JSON.stringify({id:n.videoId,
msg:"unloadComplete",messageType:"misc"}),"*")}))};a=function(){e();if(!ia){var a=[v,z,A,E];b&&clearInterval(b);f(a).each(function(a,b){b&&"function"===typeof b.removePixels&&b.removePixels()});ia=!0}};k.impressionIsIdentifiable()&&(Z(),b=setInterval(Z,$),ia=!1,g.on("adStopped",a),g.on("adVideoComplete",a),g.on("skipAd",a),C.addEvent(u,"beforeunload",c.unload,!1),M&&C.addEvent(u,"beforeunload",e,!1))};return{checkScreenLoc:Z,init:function(){"true"===n.allowViewability&&f.isFunction(w.addEventListener)?
(I=!1,"complete"==w.readyState||"loaded"==w.readyState||"interactive"==w.readyState?t.execAtEndOfThread(ja):w.addEventListener("DOMContentLoaded",ja,!1)):l.waitForBody(ja)},needsFlash:function(){return O},readyFired:function(){return I},useFlash:function(){return L},stringifyPingTimes:function(){return W}}},oa=function(a){function c(){var b=a.on("mraidinjection")&&e.isSafeToInjectMraid();d=wb().resolve(b)}var d,b=new xb,e=new yb;try{a.bootstrapOn("mobOrTab")&&(b.detect(),b.hasDetectedMobileApp()&&
(e.detect(),c()))}catch(g){q.trigger("error",h.ERROR_CODES.MOBILE_APP)}return{isMobileAppEnvironment:function(){return b.hasDetectedMobileApp()},isMeasurable:function(){return f.isDef(d)&&d.isMeasurable()},getPercentageInView:function(){var a=h.NA;f.isDef(d)&&d.isMeasurable()&&(a=d.getPercentageInView());return a},getViewabilityResult:function(){var a=h.NA;f.isDef(d)&&d.isMeasurable()&&(a=d.getViewabilityResult());return a},getDetectionMethod:function(){var a=h.NA;f.isDef(d)&&d.isViewabilitySupported()&&
(a=d.getDetectionMethod());return a}}},zb=function(){var a=!1,c=!1,d=t.getWindow(),b=function(){var a=d.avid;return f.isDef(a)&&f.isDef(a.getPercentageInView)},e=function(){return b()&&c},g=function(){c=!0;a&&e()&&q.trigger("delayedViewabilityReady")};(function(){var c=d.avid;b()&&("loading"===c.getState()?(a=!0,c.addEventListener("ready",function(){g()})):g())})();return{isViewabilitySupported:b,isMeasurable:e,getViewabilityResult:function(){return 50<=d.avid.getPercentageInView()?h.IN_VIEW:h.OUT_OF_VIEW},
getPercentageInView:function(){return d.avid.getPercentageInView()},getDetectionMethod:function(){return h.DETECTION_METHODS.AVID}}},Ab={url:{STRINGIFIED_METHOD:"u",detect:function(a){return!!f(a).findFirst(function(a,d){return-1!==t.getWindow().location.href.indexOf(d)})}},userAgent:{STRINGIFIED_METHOD:"a",detect:function(a){return!!f(a).findFirst(function(a,d){var b;b=!1;var e=t.getWindow();f.isDef(e.navigator)&&f.isDef(e.navigator.userAgent)&&(b=(b=e.navigator.userAgent)&&-1!==b.indexOf(d));return b})}},
javascript:{STRINGIFIED_METHOD:"j",detect:function(a){return!!f(a).findFirst(function(a,d){return f.isDef(t.getWindow()[d])})}},scriptSrc:{STRINGIFIED_METHOD:"s",detect:function(a){return!!f(a).findFirst(function(a,d){return A.containsScriptTagWithSrc(function(a){return f.isDef(a)&&-1!==a.indexOf(d)})})}}},na=function(){var a=function(a,d){var b,e=Ab[a];e.detect(d)&&(b=e.STRINGIFIED_METHOD);return b};return{process:function(c){return f(c).map(a).join("")}}},Bb={url:["file:","content:","applewebdata:",
"afma-sdk"],userAgent:["QuantcastSDK","afma-sdk"],scriptSrc:["file:"],javascript:["ADMARVEL","mopubFinishLoad","InmobiObj"]},xb=function(){var a,c=function(){return void 0!==a&&""!==a};return{detect:function(){a=na().process(Bb);c()&&q.trigger("addOutputItem",{output:"1"},"mapp",{type:"impression"})},hasDetectedMobileApp:c}},wb=function(){var a=t.getWindow();return{resolve:function(c){var d;f.isDef(a.avid)?d=new zb:f.isDef(a.mraid)||c?d=new Cb:q.trigger("addOutputItem",{output:"na"},"mi",{type:"impression"});
return d}}},Cb=function(){var a=!1,c=!1,d=!1,b=t.getWindow(),e=function(){var a=b.mraid;return f.isDef(a)&&f.isDef(a.isViewable)},g=function(){return e()&&d},k=function(){d=!0;c&&g()&&q.trigger("delayedViewabilityReady")},l=function(){var d=b.mraid;e()&&(a=!0,"loading"===d.getState()?(c=!0,d.addEventListener("ready",function(){k()})):k())},n=function(){a||(c=!0,l())};(function(){var a=!0;if(t.getWindow().mraid||A.containsScriptTagWithSrc("mraid.js"))a=!1;q.trigger("addOutputItem",{output:f.stringifyTriState(a)},
"mi",{type:"impression"});return a})()?q.trigger("exec","mraid.js",n):l();return{isViewabilitySupported:e,isMeasurable:g,getViewabilityResult:function(){return b.mraid.isViewable()?h.IN_VIEW:h.OUT_OF_VIEW},getPercentageInView:function(){return b.mraid.isViewable()?100:0},getDetectionMethod:function(){return h.DETECTION_METHODS.MRAID}}},yb=function(){var a=[],c=[],d=function(b,c){var d,f=na().process(c.detectionRules);f&&(a.push(c.STRINGIFIED_SDK+"*"+f),d=c);return d};return{detect:function(){c=f(Db).map(d);
0