var __IntegralASDiagnosticCall = function(){};
try {
var __IntegralASConfig = {
jsDoSplit : "false",
cocaPuffsPath : "",
debug : "false",
killPhrases : "",
jsDiag:'false',
version:'0',
mtCell: 10,
sp_imp_maxLength: 2000,
sp_imp_jload_maxLength: 2000,
sp_imp_jsInfo_minLength: 0,
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','p41':'vcvalbh.pbz','p42':'c0lwferaqre'},
killFlash: 'true',
protocol:'http',
jsref : "http:\/\/www.computerworld.com\/article\/3104822\/security\/supercomputers-give-a-glimpse-of-cybersecuritys-automated-future.html?token=%23tk.CTWNLE_nlt_computerworld_enterprise_apps_2016-08-09&idg_eid=364a52d5b929c3efd5fea28ebf84c7fc&utm_source=Sailthru&utm_medium=email&utm_campaign=Computerworld%20Enterprise%20Apps%202016-08-09&utm_term=computerworld_enterprise_apps",
asid : "ab2cef9e-608e-11e6-875f-0025908827e8",
allowViewability : "true",
jsFeatures : "mousetrack,cocoapuffs,viewabilityready,consecutive,cachebust:0,forcecocoa:0,rattie,exch,recordalternate:0,usedtdomain,nextcocoa:100,bapiDiag,cookie,postDts:0,videotwoseconds,getPl,decodePl,resolution,usetpl,usesca:1,tpiLookupURL,hundredpct,jloadDiag:0,blur:0,sendclogs,zeroPing,idMap,offscreen,everySecond:1,sdkdetection,moreAdTalkCalls,slid,fm2:1,largeAd,nextcocoaie:100,usevh,fxdet,mmsb:100,bigmon:0,chromeNativeIO:100,oddet:100,ios:0,ancestor:100,avmm:100,avgrn:100,useScreenLocationInfoAdaptor:100,swapids:100,pIntervals:10,forceid:0",
adsafeDomain : "adsafeprotected.com:80",
minimizeCalls : "false",
adWidth : "",
adHeight : "",
forceAppend : "true",
_onInViewMRC15 : __IntegralASConfig && __IntegralASConfig.onInViewMRC15,
_onAPIResult : __IntegralASConfig && __IntegralASConfig.onAPIResult,
_onMeasurable : __IntegralASConfig && __IntegralASConfig.onMeasurable,
_onSuspicious : __IntegralASConfig && __IntegralASConfig.onSuspicious,
_onInViewMRC : __IntegralASConfig && __IntegralASConfig.onInViewMRC,
_onInViewFull : __IntegralASConfig && __IntegralASConfig.onInViewFull,
_onInViewMRC5 : __IntegralASConfig && __IntegralASConfig.onInViewMRC5,
reqquery : "anId=8879&campId=300x250&pubId=25335176&chanId=22368176&placementId=677691896",
mode : "jload",
requrl : "http:\/\/pixel.adsafeprotected.com\/mon",
dtBaseURL: "http:\/\/dt.adsafeprotected.com\/dt?anId=8879",
adsafeSrc : "",
adsafeSep : "",
tpiLookupURL:"",
getTpl: "false",
use100v: false,
useBapiCallback: "",
useViewabilityNotification: "",
scriptUrl : "http://pixel.adsafeprotected.com/jload?anId=8879&campId=300x250&pubId=25335176&chanId=22368176&placementId=677691896",
accountForSadImps:'',
sendCookie:'false',
cookieBaseURL:'sc.iasds01.com/dtc?anId=8879',
fwMonitoring:'',
doNothing: false,
mn: "app09ami",
mobOrTab: false,
mobFwUrl : "http://mobile.adsafeprotected.com/external/monitoring/app/initial/8879/",
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(q,s,A){var l,Eb=function(){l=new Y;var a;l.provide("mobileApp",function(){return a=a||new wa(b)});var b=l.provide("features",xa()),c=ya(),d=za(c),e=new Aa(l),h=function(){var a=new Ba(n.getWindow(),new M),c=new Ca(n.getWindow()),d=new Da(n.getWindow(),c,q.mode),e=new Ea(a,new M),m=new Fa(n.getWindow(),new M),c=new Ga(n.getWindow(),c,q.mode),a=new Ha(a,m,new M),d=(new Ia([{environment:d,measurementStrategy:e},{environment:c,measurementStrategy:a}])).resolve(),
e=new Ja(d);return new Ka(b.on("useScreenLocationInfoAdaptor"),d,e)}();b.on("swapids")&&(q.oid=q.asid,q.asid=d.unq);var k,r,p,m,w=La(),u=Ma(),t=Na(b),x=Oa(),B=Pa(l),D=l.provide("mPage",Qa()),P=Ra(),G=Sa(),C=Ta(),F=Ua(c,C),V=Va(c),C=l.provide("browser",Wa()),ma=l.provide("intersectionWatcher",Xa(n.getDoc().body)),s=Ya();l.provide("ieXDomainViewability",Za(C));var L=$a(C),y=ab(C),z=l.provide("video",v.isVideo()&&!v.isAvid()?bb(q.videoId,b,G):{});cb(db.build());var s=eb(s,c,y,L,b),A=fb(s,c,D),E=gb(B),
x=hb(s,c,b,d,e,C,G,x),Q=ib(c,b,l,B),B=jb(F,x,c,d,e),K=kb(F,x),Q=lb(Q,b,h.isImmediate()),I=mb(h,C,x,c,b,y,l,d,L,e,E,D,A,G,z),G=nb(F,c,b,d,Q,e,C,I),F=ob(l),D=pb(),E=qb(C,d,I),d=rb(),L=sb(),y=tb(),z=ub(),A=vb();x.setViewabilityMod(I);var R;if(!function(){var a=!1,d,b;try{f.isDef(q)&&f.isDef(q.killPhrases)&&""!==q.killPhrases&&(d=q.adsafeSrc?q.adsafeSrc:q.requrl+q.reqquery,b=q.killPhrases.split(","),f(b).each(function(c,e){e=decodeURIComponent(b[c]).replace(/^\s+|\s+$/g,"");-1!==d.search(e)&&(a=!0)})),
q.doNothing&&(a=!0)}catch(e){c.add(g.ERROR_CODES.KILL_IT)}return a}()){if(t.isApplicable(v))try{t.start(),e.addItem(t.getFrameMap(),"fm"),b.on("fm2")&&e.addItem(t.getFrameMapIncludingPeerCase(),"fm2"),b.on("idMap")&&(k=t.getIdMap())&&e.addItem(k,"idMap")}catch(S){c.add(g.ERROR_CODES.ADTALK_GENERAL)}k=wb();k.isApplicable()&&k.start();var T;try{ma.isApplicable(C,b,v)&&ma.start();"true"!==q.minimizeCalls&&I.init();b.on("mousetrack")&&(m=xb(s,e),m.init());T=P.detectTopURL();b.on("exch")&&(r=yb(c,e),r.parse(T));
if(b.on("getPl")&&navigator&&navigator.plugins){p=zb(navigator.plugins);var N=p.hash();e.addItem({output:N.join(".")},"pl",{type:g.DT_CODES.ADTALK});if(b.on("decodePl")&&N.length){var H=p.decode(N);e.addItem({output:H.join(".")},"pd",{type:g.DT_CODES.ADTALK})}}var O=V.getProps();f(O).each(function(a,c){e.addItem({output:c},a,{type:"UFO"})})}catch(Z){c.add(g.ERROR_CODES.IMPRESSION_LEADUP)}b.bootstrapOn("use100v")&&Ab();x.sendCookie();G.send(T);E.isApplicable(b)&&E.start();b.bootstrapOn("getTpl")&&
b.on("usetpl")&&B.init();q.tpiLookupURL&&K.init(q.tpiLookupURL);Bb(b);"true"!==q.minimizeCalls&&(R=(new Date).getTime(),n.execAtEndOfThread(function(){n.execAtEndOfThread(function(){var a={output:(new Date).getTime()-R};e.addItem(a,"sinceFw",{type:g.DT_CODES.ADTALK});f.isDef(I.readyFired())&&e.addItem({output:I.readyFired()},"readyFired",{type:g.DT_CODES.ADTALK});t.isApplicable(v)&&t.sendAdTalkCall()})}));b.on("usesca")&&F.load()}r=!b.bootstrapOn("mobOrTab");b.on("fxdet")&&r&&C.hasFlashEnabled()&&
!b.bootstrapOn("killFlash")&&Cb(C);d.isApplicable(b,C)&&d.start();z.isApplicable(b,C)&&z.start();A.isApplicable(b,C)&&A.start();L.isApplicable(b)&&L.start();y.isApplicable(b,C)&&y.start();b.on("usevh")&&r&&Db();D.isApplicable(C,b,v)&&D.start();h&&h.start();w.isApplicable(b)&&(w.start(),u.start(),u.addFieldTypes(["im"]),J.recordBlockingTime(),J.setupOnLoadTracking(),J.setupBrowserDelayTracking())},f=function(a){var b=function(d){var b=null===a,b="object"===typeof a&&!b,e=!c()&&b;return d?b:e},c=function(){return a instanceof
Array},d=function(c,d){if(a.length===+a.length)for(var b=0,e=a.length;ba,e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),h=[];a=d?-a:a;do c=a%b,h.push(e[c]),a=(a-c)/b;while(0=g.MRC_LARGE_AD_SIZE;e()});l.on("impressionsent",function(){b=!0;e()});d.onHiddenChange(e)},Oa=function(){var a=[],b={},c={percentInView:"piv",sl:"vs",reason:"r",width:"w",height:"h"};l.on("newScreenEvent",function(d){d=f(d).selectProperties(f(c).keys());d=
f(d).asStrings();var e=f(d).compareTo(b);e&&(e.t=v.getTagTime(),a.push(e));f(b).mixin(d)});return{toString:function(){return f(a).toION(c)}}},Fb=function(a,b,c,d,e,h,k){var r;(function(){var h=c.getRounded(),f=h.width-5,w=h.height-5,g=0.5*h.width+1,h=0.5*h.height+1;r=[new a(b,f,w,e,k,d),new a(b,f,5,e,k,d),new a(b,5,w,e,k,d),new a(b,5,5,e,k,d),new a(b,g,h,e,k,d)]})();return{getNumInView:function(){var a=[],c=0;f(r).each(function(c,b){var d=b.isInView()?1:0;a.push(d)});h.addItem({output:a.join(".")},
"pvs");f(a).each(function(a,b){c+=b});return c},getPctInView:function(a){return 5===a?100:3<=a?51:0},isReady:function(){var a=!0;f(r).each(function(c,b){b.isNotReadyToReport()&&(a=!1)});return a},remove:function(){f(r).each(function(a,c){try{c.remove()}catch(b){}})}}},Gb=function(a,b,c,d,e,h,k,r){var p=e.on("nextcocoa")?na:oa,m=new a(p,A.body,b,d,e,k,r),w,u,t=0;c=c||f.noop;w=setInterval(function(){m.isReady()&&!u?(u=!0,c(),clearInterval(w)):(5===++t||u)&&clearInterval(w)},50);return{checkViewable:function(){var a=
m.isReady(),b=m.getNumInView(),b=m.getPctInView(b),d=h.calcInitialViewState(b,!0);a&&!u&&(u=!0,c());return{str:a?d:g.NA,pct:a?b:-1}},removePixels:function(){m.remove()}}},Z=function(a,b,c,d,e,h){var k,r,p=b.getRounded(),m=[],w=!1,u=0,t=d.on("largeAd")&&b.isMrcLarge()&&!v.isVideo()?Hb(p):Ib(p),x=function(){var a;if(!w)for(w=!0,a=0;a=e?g.IN_VIEW:g.OUT_OF_VIEW);a&&!r&&(r=!0,c());return{str:a?e:g.NA,pct:a?B():-1}},removePixels:function(){f(m).each(function(a,c){try{c.remove()}catch(b){}})}}},Y=function(){var a=new Jb,b=new M;return f(a).mixin(b)},
M=function(){var a={},b=function(c,b){a[c]=a[c]||new $;a[c].push(b)};return{on:function(a,d){d?b(a,d):f(a).each(b)},trigger:function(c){var b,e=f(arguments).toArray();if(b=a[c])e.shift(),b.run.apply({},e)}}},wb=function(){var a={},b={ox:0},c=n.getWindow(),d=f.isDef(c.JSON)&&f.isDef(c.postMessage),e=function(c){var d=c.uniqueId;c=b[c.vendorKey];var e=!1;f.isDef(c)&&1>c&&d&&!a[d]&&(e=!0);return e},h=function(a,c){if(c)return c.type="receipt",c},k=function(c,d,e){b[d.vendorKey]++;e();a[d.uniqueId]=!0;
r(d)&&(e="false"===d.isSampling,c=["ext",d.vendorKey,d.dataKey].join("_"),e={encode:!0,minDt:e,type:e?g.DT_CODES.EXTERNAL:g.DT_CODES.UNLOAD},l.trigger("addOutputItem",{output:d.dataValue},c,e),l.trigger("addOutputItem",{output:d.vendorKey},"ext_vendor",e),"false"===d.isSampling&&l.trigger("sendMinDt",g.DT_CODES.EXTERNAL))},r=function(a){var c=function(a){return f.isStr(a)&&100>a.length};return c(a.vendorKey)&&c(a.dataKey)&&c(a.dataValue)};return{isApplicable:function(){return d},start:function(){(new X).listen(e,
k,h)}}},U=function(a,b,c,d){var e=l.request("browser");if(l.request("features").bootstrapOn("killFlash"))return{style:{},isPlaceholder:!0};var h=function(a,c){return''};return function(){var k,f,p,m=q.dtBaseURL,w=q.cocaPuffsPath,m=new K(m);m.sub(b||"static");m.master(m.master().split(":")[0]);m.path("");w&&(m.master(w),m.sub(""));m+=a;w=h("allowscriptaccess","always");k=h("movie",m)+h("play","true")+h("loop","true");p=e.browserIs(g.BROWSERS.IE)||e.browserIs(g.BROWSERS.MSEDGE);
f=e.browserIs(g.BROWSERS.IE);p&&(p=d?"window":"transparent",k+=h("wmode",p));c&&(w+=h("FlashVars",c));f?(f=A.createElement("div"),p="blag"+q.birthdate+n.random(),f.innerHTML="",k=f.firstChild):(k=A.createElement("object"),k.data=m,k.type=g.FLASH_MIME,k.innerHTML=w);m=k;m.style.position="absolute";m.style.width="1px";m.style.opacity="0";m.style.height="0px";
return k}()},na=function(a,b,c,d,e,h,k,r){var p=h.browserIs(g.BROWSERS.IE)||h.browserIs(g.BROWSERS.MSEDGE),m="_IASflashPixelCallback"+(q.birthdate+""+n.round(1E6*n.random())),w=!1,u=!1,t,x,B,D,P=function(){if(t&&f.isFunction(t.jsHandshake)&&!w){t.style.height="1px"===t.style.height?"2px":"1px";try{t.confirmResize()}catch(a){w=!0,l.trigger("error",g.ERROR_CODES.FLASH_API_ACCESS)}}},G=function(){if(w)return!1;var a,c;try{(a=D||t&&f.isFunction(t.jsHandshake))&&!u&&(D=!0,s[m]=C,c=t.jsHandshake(m),u=!0,
C(c))}catch(b){a=!1,w=!0,l.trigger("error",g.ERROR_CODES.FLASH_API_ACCESS)}return a},C=function(a){try{if(f.isUndef(a.isInView))throw"corrupted Flash pixel message received";B=1===+a.isInView}catch(c){l.trigger("error",g.ERROR_CODES.FLASH_API_ACCESS)}},F=function(a,c,b){var d=new U(p?"/detector_4_5_IE.pix":"/detector_4_5.pix"),e=d.style;d[g.IAS_DETECTOR]="true";e.left=c+"px";e.top=b+"px";d.isPlaceholder||a.appendChild(d);e.height="1px";t=d;p&&!d.isPlaceholder&&setInterval(P,100);return d}(a,b,c);
return{isInView:function(){var a;if(G()){try{a=B}catch(c){D=!1,l.trigger("error",g.ERROR_CODES.COCOA_GONE)}h.browserIs("w")&&void 0!==a&&(t.style.height=x?"1px":"2px",x=!x)}return G()&&a},isNotReadyToReport:function(){return!G()},createdFlash:t,remove:function(){F.parentNode&&F.parentNode.removeChild(F)}}},oa=function(a,b,c,d,e,h,k){var r=h.browserIs(g.BROWSERS.IE)||h.browserIs(g.BROWSERS.MSEDGE),p=!1,m,w,u,t,x,B=function(a,c){return''},D=function(a,c){return a+
'="'+c+'" '},P=function(){if(G()&&!p){m.style.height="1px"===m.style.height?"2px":"1px";try{m.confirmResize()}catch(a){p=!0,l.trigger("error",g.ERROR_CODES.FLASH_API_ACCESS)}}},G=function(){var a=!1;try{a=m&&f.isFunction(m.jsHandshake)}catch(c){}return a},C=function(){if(p)return!1;var a;try{if((a=x||G())&&!u){x=!0;var c=f.flatJSONParse(m.jsHandshake());u=c.id;if(f.isUndef(u))throw"corrupted Flash pixel message received";t=1===+c.isInView}}catch(b){a=!1,p=!0,l.trigger("error",g.ERROR_CODES.FLASH_API_ACCESS)}return a};
z.addEvent(s,"message",function(a){try{var c=f.flatJSONParse(a.data);"IASCOCOA"===c.type&&c.id===u&&(t=1===+c.isInView)}catch(b){l.trigger("error",g.ERROR_CODES.FLASH_API_ACCESS)}});var F=function(a,c,b){var d;d=new K;var e=q.cocaPuffsPath;d.sub("static");d.master(d.master().split(":")[0]);e&&(d.master(e),d.sub(""));var e=d+(r?"/detector_4_2_IE.pix":"/detector_4_1.pix"),k=B("allowscriptaccess","always"),f=B("movie",e)+B("play","true")+B("loop","true");r&&(f+=B("wmode","transparent"));h.browserIs(g.BROWSERS.IE)?
(d=A.createElement("div"),d.innerHTML="",m=d.firstChild):(m=A.createElement("object"),m.data=e,m.type=g.FLASH_MIME,m.innerHTML=k,m[g.IAS_DETECTOR]="true");m.style.position="absolute";m.style.width="1px";m.style.opacity="0";m.style.height="0px";d=m;e=d.style;e.left=c+"px";e.top=b+"px";a.appendChild(d);e.height="1px";
r&&setInterval(P,100);return d}(a,b,c);return{isInView:function(){var a;if(C()){try{a=t}catch(c){x=!1,l.trigger("error",g.ERROR_CODES.COCOA_GONE)}h.browserIs("w")&&void 0!==a&&(m.style.height=w?"1px":"2px",w=!w)}return C()&&a},isNotReadyToReport:function(){return!C()},createdFlash:m,remove:function(){F.parentNode&&F.parentNode.removeChild(F)}}},aa=function(){var a=function(c,b,e){var h=b.length,k=c.frames;e&&e(c,b);if(k.length){for(c=0;c=d&&(c.task(),a.shift())},getNextJob:function(){return a[0]}}},X=function(){var a=function(a,c,d,e){var h,k=f.noop,r,p;if(JSON&&JSON.parse)try{h=JSON.parse(a.data),r=a.source,c(h)&&
(e&&(p=e(r,h))&&(k=function(){(new ba(r)).send(function(){return p})}),d(a,h,k))}catch(m){h&&l.trigger("error",g.ERROR_CODES.MESSAGE_LISTENER)}};return{listen:function(b,c,d){z.addEvent(s,"message",function(e){a(e,b,c,d)})}}},ba=function(a){var b=function(a){return f(a).mapToObj(function(a,c){var b;f.isFunction(c)||(b={},b[a]=c);return b})};return{send:function(c){if(JSON&&JSON.stringify){var d=f(a).isObj()?[a]:(new aa).getFrames(a);f(d).each(function(a,d){var k;k=f.resolve(c,d)||{};k.sentTime=n.now();
k=b(k);d.postMessage(f(k).JSONStringify(),"*")})}}}},Kb=function(a,b){return{onAll:function(c){var d={};f(b).each(function(e,h){a.on(h,function(){d[h]=1;f(d).keys().length===b.length&&(d={},c())})})}}},Aa=function(a){var b=0,c={},d=function(a,c,d){if(f.isUndef(a.output))throw Error("item with id "+c+' must have "output" method');this.item=a;this.id=c||++b;this.props=d||{};this.output=function(){var c=f.resolve(a.output);this.props.asION&&(c=f(c).toION());return c}},e=function(a){var b,d,e=[];for(b in c)c.hasOwnProperty(b)&&
(d=a(b,c[b]))&&e.push(d);return e},h=function(a,b,e){e=e||b;e="string"!==typeof e?e:{};var h=function(a,b,e){a=new d(a,b,e);c[a.id]=a};f(a.output).isObj()?f(a.output).each(function(a,c){h({output:c},a,e)}):h(a,b,e)};a.on("addOutputItem",function(a,c,b){h(a,c,b)});return{addItem:h,filterOutput:function(a,c){return e(function(b,d){var e=d.props,h=d.output();a(e)&&(e.encode&&(b=encodeURIComponent(b),h=encodeURIComponent(h)),f.isFunction(c)?c(b,h):c[b]=h)})},iterate:e,cleanup:function(){e(function(a,
b){b.props.flagForRemoval&&delete c[a]})},getItem:function(a){return c[a]}}},Hb=function(a){var b=a.width-5,c=a.height-5,d=0.5*a.width+1,e=0.5*a.height+1,h=0.3*a.width+1,f=0.7*a.width+1,r=0.3*a.height+1,p=0.7*a.height+2,m,g=function(c,b){1>c&&(c=1);1>b&&(b=1);c>a.width&&(c=0!==a.width?a.width:1);b>a.height&&(b=0!==a.height?a.height:1);return{x:n.floor(c),y:n.floor(b)}};m=[g(b,c),g(b,5),g(5,c),g(5,5),g(d,e),g(h,r),g(f,r),g(h,p),g(f,p)];return{get:function(){return m},getPctInView:function(a){var c;
0===a?c=0:1===a?c=10:2===a?c=20:5>a?c=30:7>a?c=50:9>a?c=70:9===a&&(c=100);return c}}},Ib=function(a,b){var c=0.5*a.width+1,d;d=[{y:n.floor(0.5*a.height+1),x:n.floor(c)}];return{get:function(){return d},getPctInView:function(a){return 1===a?50:0}}},Jb=function(){var a={},b=function(c,b){a[c]=b};return{request:function(c){var b,e=a[c],h=f(arguments).toArray();h.shift();f.isUndef(e)||(b=f.isFunction(e)?e.apply({},h):e);return b},provide:function(c,d){d?a[c]=d:f(c).each(b);return d}}},fb=function(a,b,
c){return{collect:function(){var b=a.find(),e=b.getOutOfViewReasons(),h=c.isHidden(),k=E(y.calcWinDims()),r=b.getDims();if(!b.hasAd()||!k.hasValidDims()||!r.hasValidDims())return{viewState:g.NA,posViewState:g.NA,embedded:v.embedded,winDimensions:k,adDimensions:r};!0===h&&e.push(g.OUT_OF_VIEW_REASONS.FOCUS);return{winDimensions:k,adDimensions:r,containerDimensions:b.getContainerDims(),method:b.getDetectionMethod(),viewState:e.length?g.OUT_OF_VIEW:b.getViewState(),percentInView:b.getPercentInView(),
reason:e.join("."),obstructed:f.stringifyTriState(b.isObstructed()),isHidden:f.stringifyTriState(b.isHidden()),tabHidden:f.stringifyTriState(h),posViewState:b.getViewState(),adCompCount:b.getComponentCount()}}}},Lb=function(a){a=a||f.identity;var b=[],c=n.now(),d=function(){var a=n.now();b.length&&(b[b.length-1].duration+=a-c,c=a)};return{clear:function(){d();b=[]},fastForward:d,get:function(){return b},hasAlwaysBeen:function(a){return 1===b.length&&b[0].state===a},addState:function(c){var h=b[b.length-
1];c=a(c);d();0!==b.length&&c===h.state||b.push({state:c,duration:0})}}},pa=function(a,b){var c=a||1,d=0,e=0,h,f=0;return{start:function(){0===d%c&&(h=n.now())},stop:function(){var a=h||b;0===d%c&&(f+=n.now()-a,e++);d++},getTime:function(){return f},getCount:function(){return e}}},qa=function(){var a,b=0,c=0,d=new M(!0),e=function(){a&&(b++,d.trigger(b),c>b?n.execAtEndOfThread(e):h())},h=function(){a=!1;b=0};return{onTick:function(a,b){var e=f.collapseArgsIntoHash(a,b);f(e).each(function(a,b){a=parseInt(a);
c=a>c?a:c});d.on(e)},start:function(){a||(a=!0,n.execAtEndOfThread(e))},kill:h,isActive:function(){return a}}},ia=function(a){var b=0,c=v.getTagTime(),d=0,e,h;return{getTotalTime:function(){return d},stop:function(){b=0;c=v.getTagTime()},mark:function(){e=v.getTagTime()-c;b+=e;b>a&&(h=b-e\x3c/script>'],iframe:[''],img:['']}[a];d=b[0]+c+b[1];"true"===q.forceAppend?"script"!==a?(b=A.createElement("DIV"),b.innerHTML=d,e.appendChild(b.childNodes[0])):(b=A.createElement("SCRIPT"),b.src=c,e.appendChild(b)):A.write(d)},d=function(a,c,b){var d=
!b&&z.getXHR2();d?(d.open("POST",a),d.onreadystatechange=function(){4===d.readyState&&200===d.status&&c&&c()},d.send()):(b=y.createImage(),c&&(b.onload=c),b.src=a)},e=function(a,c){var b=A.createElement("script");b.type="text/javascript";b.src=a;c&&(b.onload=c);f.isDef(q.contextNode.parentNode)&&q.contextNode.parentNode.appendChild(b)},h=function(a){f.isFunction(a)?a({iasImpId:q.asid}):a&&"string"===typeof a&&d(a,void 0,!0)},k=function(a,c,d,h){e(b.wrap(a,c,d,h))};l.on({addNode:c,send:d,exec:e,notify:h,
jsonp:k});return{addNode:c,send:d,exec:e,notify:h,jsonp:k}},g={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",PIV_NA:-1,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",AVIREEN:"r",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",SPECIFIED_AD:"sp"},OUT_OF_VIEW_REASONS:{GEOM:"l",OBSTRUCTION:"o",FOCUS:"f",COLLAPSED:"c",HIDDEN:"h",VIDEO:"v"},VIDEO_CHANNELS:{VANS:{AS3_ADAPTOR:"av3",JS_ADAPTOR:"jv3"},WRAPPERS:{JS:"jvw"}},PERF_TIMELINE_TRACKER_CONFIG:{VANS:{TYPE:"vans",COUNT:4},WRAPPERS:{JS:{TYPE:"jswrapper",COUNT:15},AS:{TYPE:"aswrapper"}}},ERROR_CODES:{GET_AD_DIMENSIONS:"a",AD_SLOT_ID:"A",BAPI_CALLBACK:"b",BROWSER_NOT_HTML5_COMPATIBLE:"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",GREEN:"g",INIT_ADS_MANAGER:"G",PHONE_HOME:"h",UID_GENERATION:"i",IMPRESSION_URLS:"I",NOT_VPAID_EVENT_OBJECT:"j",JSINFO:"J",KILL_IT:"k",LOCATION_DETAILS:"l",IMPRESSION_LEADUP:"L",MESSAGE_LISTENER:"m",MOBILE_APP:"M",AT_INIT:"N",OFF_DESKTOP:"O",ANCESTOR_ORIGINS:"o",GET_SCREEN_LOC_PIV_CALC:"p",PLUGIN_PARSING:"P",NO_ORIGINAL_VAST:"q",AVIREEN:"r",AD_ERROR:"R",GET_ELEM_STYLE:"s",
AT_SEND:"S",ADS_MANAGER_START_AD:"t",NO_VIDEO_AD_INTERFACE:"u",UNRECOGNIZED_EVENT_TYPE:"U",ENVIRONMENT:"v",CHECK_SCREEN_LOC:"V",GET_WIN_DIMENSIONS:"w",AC_WATCHER:"W",EXCHANGE_PARSING:"x",FLASH_API_ACCESS:"z"},BROWSERS:{WEBKIT:"w",OPERA:"o",GECKO:"g",CHROME:"c",IE:"i",MSEDGE:"e"},MEDIA_TYPE_CODE:"mtp",MEDIA_TYPE:{DISPLAY:"display",DISPLAY_CODE:"d",VIDEO:"video",VIDEO_CODE:"v"},MEASUREMENT_STRATEGY:{DISPLAY:"display",VIDEO:"video"},IMPRESSION_EVENT:"impression",AD_IDENTIFIER:"data-integralas-id",IAS_DETECTOR:"iasdetector"},
v=function(){var a=s!=top,b=function(){var a;try{a=!!top.document}catch(c){a=!1}return a}(),c=function(){return f.isDef(n.getWindow().avid)};return{embedded:a,friendly:b,friendlyIframe:a&&b,xDomainIframe:a&&!b,getTagTime:function(){return n.now()-q.birthdate},getPageTime:function(){return f.isDef(s.chrome)&&f.isDef(s.chrome.csi)&&f.isFunction(s.chrome.csi)?n.round(chrome.csi().pageT):g.NA},isVideo:function(){var a;if(!(a=-1!==q.mode.indexOf("jsvid"))){var b;a=!1;if(c())try{b=n.getWindow().avid.getAvidAdSessionContext(),
a=b.mediaType===g.MEDIA_TYPE.VIDEO}catch(h){}}return a},isMobileApp:function(){return f.isDef(s.mraid)},isSpecifiedAd:function(){var a=q._cl_adpath;return a&&f.isStr(a)},isAvid:c}}(),z={addEvent:function(a,b,c,d){f.isDef(a.addEventListener)?"mouseenter"===b?a.addEventListener("mouseover",z.mouseEnter(c),d):"mouseleave"===b?a.addEventListener("mouseout",z.mouseEnter(c),d):a.addEventListener(b,c,d):f.isDef(a.attachEvent)&&("DOMContentLoaded"===b&&(b="load"),a.attachEvent("on"+b,c))},removeEvent:function(a,
b,c){f.isDef(a.removeEventListener)?("mouseenter"===b?(b="mouseover",c=z.mouseEnter):"mouseleave"===b&&(b="mouseout",c=z.mouseEnter),a.removeEventListener(b,c)):f.isDef(a.detachEvent)&&a.detachEvent("on"+b,c)},mouseEnter:function(a){var b=this;return function(c){var d=c.relatedTarget;this===d||b.isAChildOf(this,d)||a.call(this,c)}},isAChildOf:function(a,b){if(a===b)return!1;for(;b&&b!==a;)b=b.parentNode;return b===a},getStyle:function(a,b,c){var d="";c=c||"";A.defaultView&&A.defaultView.getComputedStyle?
d=A.defaultView.getComputedStyle(a,c).getPropertyValue(b):a.currentStyle&&(b=b.replace(/\-(\w)/g,function(a,c){return c.toUpperCase()}),d=a.currentStyle[b]);return d},getXHR2:function(a,b){var c,d;f.isDef(s.XMLHttpRequest)?(d=new XMLHttpRequest,"withCredentials"in d&&(c=d)):f.isDef(XDomainRequest)&&(c=new XDomainRequest);return c},whenReady:function(a,b){var c=b||(v.xDomainIframe?A:n.getTop().document);"complete"==c.readyState||"loaded"==c.readyState||"interactive"==c.readyState?n.execAtEndOfThread(a):
this.addEvent(c,"DOMContentLoaded",a,!1)}},hb=function(a,b,c,d,e,h,k,r){var p=0,m=0,w=!1,u,t={},x=[g.DT_CODES.ADTALK],B=function(a,b,h,r,x,u){h=h||!c.on("postDts");var B=a===g.DT_CODES.VH||a===g.DT_CODES.DIAGNOSTIC||a===g.DT_CODES.ADTALK;if(d.impressionIsIdentifiable()&&(B||"n"!==k.getCurrentLoc()))try{var D=q.dtBaseURL,s=new K(D,!0),v=n.now(),y=t[a];l.trigger("preSendDt",a);D||(s.path("dt"),c.on("usedtdomain")&&s.sub("dt"));P(s,a,b);x&&x.field&&s.setParam(x.field,x.value);r||G(s,a);l.trigger("send",
s,function(){m+=1;p=n.now()-v;f.isFunction(u)&&u()},h);a===g.DT_CODES.UNLOAD&&(w=!0);t[a]=f.isDef(y)?y+1:1;e.cleanup()}catch(z){__IntegralASDiagnosticCall("dt-"+a,z),l.trigger("error",g.ERROR_CODES.PHONE_HOME)}};a=function(a,b){var d={bapi:"a",bapiClient:"b",jload:"c",jss:"d",jsi:"e"},e=q.mode,d=d[a]||d[e];c.on(b||e+"Diag")&&d&&B(g.DT_CODES.DIAGNOSTIC,-5,!0,!0,{field:"bkp",value:d})};var D=function(a){var c;a===g.DT_CODES.UNLOAD?c=-1:a===g.DT_CODES.ADTALK?c=-2:a===g.DT_CODES.VIEWABILITY_READY?c=-3:
a===g.DT_CODES.VIDEO_EVENTS?c=-4:a===g.DT_CODES.DIAGNOSTIC?c=-5:a===g.DT_CODES.THIRD_PARTY?c=-6:a===g.DT_CODES.QUARTILE_FULLY_INVIEW?c=-7:a===g.DT_CODES.LARGE_BILLABLE?c=-8:a===g.DT_CODES.AVIREEN&&(c=-9);var b=t[a];f.isDef(b)&&-1!==x.indexOf(a)&&0!==b&&(c=c+"."+b);return c},P=function(a,c,b){b=f.isDef(b)?b:D(c);a.setParam("asId",q.asid);b={c:d.getCacheBustId(),pingTime:b,time:v.getTagTime(),type:c};e.filterOutput(function(a){var b=a.minDt&&(!a.type||a.type===c);b&&a.oneTime&&(a.flagForRemoval=!0);
return b},b);a.setParam("tv",b)},G=function(a,d){var f,t={};e.filterOutput(function(a){return a.standalone&&!a.minDt&&a.type===d},function(c,b){a.setParam(c,b.replace("%3A",":"))});k.fastForward();d===g.DT_CODES.VIDEO_EVENTS&&(f=l.request("videoEventsString"))&&(t.ve=f,t.clog=r);d===g.DT_CODES.UNLOAD&&(t.ndt=m);-1!==q.mode.indexOf("jsvid")&&(t.vv=l.request("videoVersion"));t.NULL1=c.output();t.NULL2=k.stringify(10);t.em=v.embedded;t.fr=v.friendly;t.uf=u.useFlash()?1:0;t.e=b.toString();t.tt=q.mode;
t.dtt=p;e.filterOutput(function(a){var c=!a.standalone&&!a.minDt&&(!a.type||a.type===d);c&&a.oneTime&&(a.flagForRemoval=!0);return c},t);a.setParam("tv",t);a.setParam("br",h.getBrowserType())};l.on({sendDt:B,sendMinDt:function(a,c){B(a,c,void 0,!0)},sendDiag:a});return{send:B,sendCookie:function(){var a;c.on("cookie")&&"true"===q.sendCookie&&q.protocol&&q.cookieDomain&&q.asid&&(a=q.protocol+"://"+q.cookieDomain+"?asid="+q.asid,l.trigger("send",a,f.noop,!0),m++)},unload:function(){w||B(g.DT_CODES.UNLOAD,
-1,!0)},diagnostic:a,setViewabilityMod:function(a){u=a}}},E=function(a){var b={},c=!1,d=function(){var a={};f(b).each(function(c,b){a[c]=n.round(b)});return a},e=function(){return n.round(b.width)*n.round(b.height)};(function(){var c;a!==s.parent&&(1!==a.nodeType?b=a:f.isDef(a.getBoundingClientRect)&&(c=y.getRect(a),f(b).mixin({x:f.useIfDef(c.x)||c.scrX,y:f.useIfDef(c.y)||c.scrY,scrX:c.scrX,scrY:c.scrY,width:c.width,height:c.height})))})();return{hasValidDims:function(){var a,c=f(b).find(function(c,
b){a=!0;return isNaN(b)});return f.isDef(a)&&f.isUndef(c)},toString:function(){var a=d();return[a.scrX,a.scrY,a.width,a.height].join(".")},getRounded:d,set:function(a,c){b[a]=c},isHidden:function(){var b=1===a.nodeType?y.nodeIsHidden(a):0===a.width||0===a.height;return c?!1:b},treatAsPlaceholder:function(){c=!0},area:e,isMrcLarge:function(){return e()>=g.MRC_LARGE_AD_SIZE}}},Ya=function(){return{calcDims:function(a,b){var c=new E(a),d=y.getClippedDimensions(a,b),e=c.getRounded();c.set("height",d.height<
e.height?d.height:e.height||1);c.set("width",d.widthg){u=void 0;if(u=m.parentNode===a)if(u=void 0,u="DIV"===m.nodeName)if(u=void 0,u=""===m.style.backgroundImage){var t=
u=void 0,x=m.childNodes;for(u=0;u100*n.random());return a[c]},c={fc:"forcecocoa",rt:"rattie",cb:"cachebust",np:"nextcocoa",th:"tabHiddenDtCall",es:"everySecond",sa:"swapids"},d={gm:"use100v",fif:"useFIF"},e=function(){var b,e;b=f(c).mapToObj(function(c,b){var d={};d[c]=a[b]?1:0;return d});e=f(d).mapToObj(function(a,c){var b={};b[a]=h(c)?1:0;return b});return f(b).mixin(e)},h=function(a){a=q[a];return!0===a||"true"===a||f.isFunction(a)};f(c).each(function(a,
c){b(c)});return{on:b,bootstrapOn:h,output:function(){return f(e()).toParams()}}},ab=function(a){var b=g.BROWSERS,c=l.request("intersectionWatcher");return{calcInitialViewState:function(d,e,f){var k={IN_VIEW:65,OUT_OF_VIEW:25,PARTIAL_VIEW:30},r={IN_VIEW:75,OUT_OF_VIEW:25,PARTIAL_VIEW:50},p=g.NA,m=!v.xDomainIframe||c.isStarted()||a.browserIs(b.GECKO)||a.browserIs(b.IE);f=f?k:r;if(m||e)p=d===g.PIV_NA?g.NA:d>=f.IN_VIEW?g.IN_VIEW:d<=f.OUT_OF_VIEW?g.OUT_OF_VIEW:d>=f.PARTIAL_VIEW?g.PARTIAL_VIEW_PLUS:g.PARTIAL_VIEW_MINUS;
return p},calcPercentInView:function(a,b,h,k){var g=0,p=a;c.isStarted()?g=c.getPiv():a.hasValidDims()&&!a.isHidden()&&(f([b,h,k]).each(function(a,c){if(c.hasValidDims()){var b=p.getRounded(),d=c.getRounded(),e=Math.max(b.scrX,d.scrX),f=Math.max(b.scrY,d.scrY),h=Math.min(b.scrX+b.width,d.scrX+d.width),b=Math.min(b.scrY+b.height,d.scrY+d.height),h=h-e,b=b-f;p=E({scrX:e,scrY:f,width:0c.length;)e?(b=new Uint32Array(1),s.crypto.getRandomValues(b),c+=b[0].toString(16)):c+=(16*n.random()|0).toString(16);
c=c.slice(0,32)}catch(f){a.add(g.ERROR_CODES.UID_GENERATION)}return c}())}},$a=function(a){var b,c,d,e=l.request("features"),h=function(){var b,h,k,p,x=n.getMaxNumber();b=n.getMaxNumber();h=n.getWindow();n.getDoc();v.friendly?(b=r(),k=b.left,p=b.top,x=b.width,b=b.height,h=y.windowPosition(),k=h.scrX+k,p=h.scrY+p):e.on("rattie")&&a.browserIs(g.BROWSERS.IE)?(d=d||l.request("ieXDomainViewability"),c=d.determineFramePosition(),k=c.scrX,p=c.scrY):f.isDef(h.mozInnerScreenX)&&(k=n.round(h.mozInnerScreenX),
p=n.round(h.mozInnerScreenY));return{scrX:k,scrY:p,iFrameClippingWidth:x,iFrameClippingHeight:b}},k=function(){var a,c,d=b||y.getIeDimObj(),e=n.getWindow();f.isDef(e.innerWidth)?(a=e.innerWidth,c=e.innerHeight):d&&f.isDef(d.clientWidth)?(a=d.clientWidth,c=d.clientHeight,0===a&&0a||""===a?c:a},m=function(a,b){var d,e,h=[],k=function(a){return-1!==a.key.indexOf("q")||-1!==a.key.indexOf("g")};
d=f(a).map(function(a,c){if(k(c))return c});e=f(a).map(function(a,c){if(!k(c))return c});f(d.concat(e)).each(function(a,d){var e;e=d.val;var f=d.key,k;k=24+h.join("&").length+f.length+14;k=b-k;c.on("forceid")&&k")),d;if(d=f.isDef(c))if(d=!1,f.isDef(s.navigator)&&f.isDef(s.navigator.userAgent)){var e=s.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},d={};try{d.a=encodeURIComponent(top.location.href)}catch(e){}try{d.b=encodeURIComponent(parent.location.href)}catch(h){}if(v.embedded){try{d.c=
encodeURIComponent(parent.document.referrer)}catch(k){}try{d.e=encodeURIComponent(s.document.referrer)}catch(g){}}try{"jsi"!==q.mode&&(d.d=encodeURIComponent(s.location.href))}catch(p){}try{d.f=encodeURIComponent(q.jsref)}catch(m){}try{var l=c();d.g=encodeURIComponent(l.g);d.q=encodeURIComponent(l.q)}catch(n){}var d=a(d),d=b(d),c=[],t;for(t in d)d.hasOwnProperty(t)&&c.push({key:t,val:d[t]});c.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 b=0,c,d,e;if(0===a.length)return b;c=0;for(e=a.length;c
b.unifiedId&&(a.unifiedId=b.unifiedId)},k=function(a){return n.now()-a.sentTime},r=function(){var c=g.DT_CODES.ADTALK;a.request("frameCollection");b||(b=!0);l.trigger("sendDt",c)},p=function(a){return f.isUndef(a)||f.isUndef(a.selfDescription)},m=function(c,d,e){var f,m,n,q,s;try{f=a.request("frameCollection"),m=d.messageContent.self,h(f.getMe(),m),d.transferDuration=k(d),n=f.getFrame(m.id),a.request("adTalkMessageCollection").add(d,function(){q=!0}),p(n)||q&&(d.messageContent.srcIsEmbedded||v.embedded)?
(n=n||f.addFrame(c.source,m.id.split("-"),d),n.addInformationFromSrc(d,m),e()):n.addInformationFromSrc(d,m),d.positionStr||(d.positionStr=n.getStringifiedPosition()),(s=b&&q&&a.request("idMapModule").isCandidateForMyIdMap(d))&&r()}catch(C){l.trigger("error",g.ERROR_CODES.ADTALK_DUBIOUS)}};return{sendAdTalkCall:r,sendToKnownFrames:function(){(new ba).send(e)},startListening:function(){(new X).listen(d,m,e)},validateMessage:d,processMessage:m,createMessage:e}},Tb=function(a){a=a||q;var b;a.reqquery?
b=a.reqquery.split(/(?:anId=|anid=|ANID=)([^&]*)/)[1]:(b=a.adsafeSrc.split("/"),b=b[5]+"-"+b[6]);return{tagId:b,adSafeId:a.asid}},Ob=function(){var a,b=[],c=function(a){a=new Tb(a);b.push(a);return a};a=c();return{createNew:c,getAll:function(){return b},myIdCard:a}},Za=function(a){var b,c,d=!1,e=n.getDoc().documentElement,f=function(a){var e=!0;d&&(d=!1,a.stopPropagation(),a.preventDefault(),b=a.screenX-a.clientX,c=a.screenY-a.clientY,e=!1);return e};a.browserIs(g.BROWSERS.IE)&&z.addEvent(e,"click",
f,!0);return{determineFramePosition:function(){a.browserIs(g.BROWSERS.IE)&&(d=!0,e.click());return{scrX:b,scrY:c}}}},Xa=function(a){var b=g.NA,c=!1,d=function(a){if(!f.isUndef(a)){var b=(new E(a)).getRounded(),c;0===b.width*b.height&&(c=A.createElement("div"),f(c.style).mixin({position:"absolute",width:"100%",opacity:"0",height:"100%",zIndex:-999,top:"0px",left:"0px"}),c[g.IAS_DETECTOR]=!0,a.appendChild(c));return c||a}};return{getPiv:function(){return b},isApplicable:function(a,b,c){return a.browserIs(g.BROWSERS.CHROME)&&
a.hasIntersectionObserver()&&c.xDomainIframe&&b.on("chromeNativeIO")},start:function(){var e=n.getIntersectionObserver(function(a){a=a.pop();b=a.intersectionRect.width*a.intersectionRect.height/(a.boundingClientRect.width*a.boundingClientRect.height)*100},{threshold:[0,0.01,0.25,0.3,0.5,0.75,0.99,1]});n.execAtEndOfThread(function(){b=0});e.observe(d(a));n.execAtEndOfThread(function(){l.trigger("delayedViewabilityReady")});c=!0},isStarted:function(){return c}}},Ub=function(){return{start:function(a){l.on("measurable",
function(){a()})},isApplicable:function(a,b){return!b.browserIs(g.BROWSERS.WEBKIT)}}},Vb=function(){return{start:function(a){a()},isApplicable:function(a){return a.isImmediatelyMeasurable()}}},qb=function(a,b,c){var d=!1,e=function(){b.impressionIsIdentifiable()&&!d&&(d=!0,l.trigger("notify",q._onMeasurable))};return{start:function(){var b;b=[Wb(),Xb(),Vb(),Ub()];(b=f(b).findFirst(function(b,d){return d.isApplicable(c,a)}))&&b.start(e)},isApplicable:function(a){return a.bootstrapOn("useViewabilityNotification")&&
f.isDef(q._onMeasurable)}}},Xb=function(){return{start:function(a){Kb(l,["adImpression","measurable"]).onAll(function(){a()})},isApplicable:function(a,b){return!b.browserIs(g.BROWSERS.WEBKIT)&&v.isVideo()}}},Wb=function(){return{start:function(a){l.on("adImpression",function(){a()})},isApplicable:function(a){return a.isImmediatelyMeasurable()&&v.isVideo()}}},Da=function(a,b,c){var d=["rjss","jss","jload"],e=function(){var a=!1,c=b.getAvidContext();f.isDef(c)&&(a=c.isDeferred);return!a};return{accepts:function(){var a=
f.isDef(f(d).find(function(a,b){return b===c}));return b.accepts()&&b.isMediaType(g.MEDIA_TYPE.DISPLAY)&&a},isImmediate:e,isMediaType:b.isMediaType,start:function(){try{var b=a.avid;e()||b.addEventListener("ready",function(){l.trigger("adImpression")})}catch(c){}}}},Ca=function(a){var b=function(){var b;try{b=a.avid.getAvidAdSessionContext()}catch(d){}return b};return{accepts:function(){return f.isDef(a.avid)},isMediaType:function(a){var d,e=b();f.isDef(e)&&(d=e.mediaType||g.MEDIA_TYPE.DISPLAY);return a===
d},getAvidContext:b}},Ba=function(a,b){var c,d=function(a){var d,f,g;try{d=a.eventData.percentageInView,f=c&&95<=d,g={windowDimensions:{x:0,y:0,width:0,height:0},adDimensions:{x:0,y:0,width:0,height:0},containerDimensions:{x:0,y:0,width:0,height:0},shouldDelegateToDomBasedViewability:f,isMeasurable:0===d||95<=d,isObstructed:!1,isHidden:!1,numberOfAdverts:1,percentageInView:d,detectionMethod:"av"},b.trigger("screenLocationChanged",g)}catch(p){}};return{start:function(){try{var b=a.avid,f=b.getAvidAdSessionContext().avidAdSessionType;
c="display"===f||"video"===f;b.addEventListener("viewability",d)}catch(g){}},addScreenLocationChangedListener:function(a){b.on("screenLocationChanged",a)}}},Ga=function(a,b,c){var d=["jload"];return{accepts:function(){var a=f.isDef(f(d).find(function(a,b){return b===c}));return b.accepts()&&b.isMediaType(g.MEDIA_TYPE.VIDEO)&&a},isImmediate:function(){return!1},isMediaType:b.isMediaType,start:function(){try{a.avid.addEventListener("video",function(a){"AdImpression"===a.eventSubType&&l.trigger("adImpression")})}catch(b){}}}},
Fa=function(a,b){var c=function(a){try{b.trigger("videoPlaybackEvent",{eventType:a.eventSubType,eventData:a.eventData})}catch(c){}};return{start:function(){try{a.avid.addEventListener("video",c)}catch(b){}},addVideoPlaybackEventListener:function(a){b.on("videoPlaybackEvent",a)}}},Ea=function(a,b){var c=function(a){var c=a.percentageInView;a.viewState=50<=c?g.IN_VIEW:g.OUT_OF_VIEW;a.outOfViewReason=50<=c?"":g.OUT_OF_VIEW_REASONS.GEOM;b.trigger("measurementChanged",a)};return{start:function(){l.trigger("addOutputItem",
{output:g.MEDIA_TYPE.DISPLAY_CODE},g.MEDIA_TYPE_CODE,{type:g.IMPRESSION_EVENT});a.addScreenLocationChangedListener(c);a.start()},getStrategyName:function(){return g.MEASUREMENT_STRATEGY.DISPLAY},addMeasurementChangedListener:function(a){b.on("measurementChanged",a)}}},Ka=function(a,b,c){var d=f.isDef(b)?b.environment:void 0,e=f.isDef(b)?b.measurementStrategy:void 0,h=function(){return f.isDef(e)};a&&f.isDef(c)&&c.start();return{isEnabled:function(){return a},hasMeasurementStrategy:h,getScreenLocationInfo:function(a){return c.create(a)},
isImmediate:function(){return a&&h()?d.isImmediate():!0},isMediaType:function(b){return a&&h()?d.isMediaType(b):!1},start:function(){a&&h()&&d.start()}}},Ia=function(a){return{resolve:function(){var b=f(a).findFirst(function(a,b){return b.environment.accepts()});if(f.isDef(b))return b}}},Ja=function(a){var b,c=!1,d=!0,e,h={winDimensions:E({scrX:0,scrY:0,width:0,height:0}),adDimensions:E({scrX:0,scrY:0,width:0,height:0}),containerDimensions:E({scrX:0,scrY:0,width:0,height:0}),method:g.NA,viewState:g.NA,
percentInView:g.NA,reason:"",obstructed:g.NA,isHidden:g.NA,tabHidden:g.NA,posViewState:g.NA,adCompCount:1},k=function(a){return new E({scrX:a.x,scrY:a.y,width:a.width,height:a.height})},r=function(a){e={winDimensions:k(a.windowDimensions),adDimensions:k(a.adDimensions),containerDimensions:k(a.containerDimensions),method:a.detectionMethod||g.NA,viewState:a.viewState||g.NA,percentInView:f.isDef(a.percentageInView)?a.percentageInView:g.NA,reason:a.outOfViewReason||"",obstructed:g.NA,isHidden:g.NA,tabHidden:g.NA,
posViewState:a.viewState||g.NA,adCompCount:a.numberOfAdverts||1,shouldDelegateToDomBasedViewability:a.shouldDelegateToDomBasedViewability};a.isMeasurable&&(b=!0,c&&(c=!1,l.trigger("delayedViewabilityReady")))};return{create:function(a){var g=h;d&&!b&&(c=!0,d=!1);if(f.isDef(e))if(e.shouldDelegateToDomBasedViewability)g=a,g.method=e.method;else if(0===e.percentInView||95<=e.percentInView)g=e;return g},start:function(){var b;f.isDef(a)&&f.isDef(a.measurementStrategy)&&(b=a.measurementStrategy,b.addMeasurementChangedListener(r),
b.start())}}},Ha=function(a,b,c){var d=!1,e=!1,h,k,r,p,m=function(){if(!f.isUndef(k)){var a=[],b,m;d?(e?(m=!1,b=100):(m=p,b=r),50>b&&a.push(g.OUT_OF_VIEW_REASONS.GEOM)):(m=!1,b=0,a.push(g.OUT_OF_VIEW_REASONS.VIDEO));k.shouldDelegateToDomBasedViewability=m;k.percentageInView=b;k.viewState=50>b?g.OUT_OF_VIEW:g.IN_VIEW;k.outOfViewReason=a.join(".");h=k;c.trigger("measurementChanged",h)}},n=function(a){k=a;r=a.percentageInView;p=a.shouldDelegateToDomBasedViewability;m()},q=function(a){a=a.eventType;"AdEnteredFullscreen"===
a?e=!0:"AdExitedFullscreen"===a?e=!1:-1!=="AdStarted|AdVideoStart|AdPlaying".indexOf(a)?d=!0:-1!=="AdSkipped|AdUserClose|AdPaused|AdVideoComplete|AdStopped".indexOf(a)&&(d=!1);m()};return{start:function(){l.trigger("addOutputItem",{output:g.MEDIA_TYPE.VIDEO_CODE},g.MEDIA_TYPE_CODE,{type:g.IMPRESSION_EVENT});a.addScreenLocationChangedListener(n);a.start();b.addVideoPlaybackEventListener(q);b.start()},getStrategyName:function(){return g.MEASUREMENT_STRATEGY.VIDEO},addMeasurementChangedListener:function(a){c.on("measurementChanged",
a)}}},mb=function(a,b,c,d,e,h,k,l,p,m,w,u,t,x,B){var D,y,G,C,F,V=0,J=0,K=!1,L=v.isVideo(),H=k.request("mobileApp"),M=L?200:100;d=q.mobOrTab;var U=!d&&e.on("recordalternate")&&!e.bootstrapOn("killFlash"),W=b.hasFlashEnabled(),Q=e.on("forcecocoa")&&W,Y=e.on("nextcocoa");b.getDocumentMode();var I=k.request("intersectionWatcher"),I=b.browserIs(g.BROWSERS.GECKO)||b.browserIs(g.BROWSERS.IE)&&e.on("rattie")||I.isApplicable(b,e,v),R=v.friendlyIframe&&Q||v.xDomainIframe&&I&&Q||v.xDomainIframe&&!I,S=!d&&R&&
e.on("cocoapuffs")&&W&&!e.bootstrapOn("killFlash"),T=!1,N=new pa(10),ga=Y?na:oa,O=[L&&e.on("videotwoseconds")?2E3:1E3,5E3,15E3];e.on("everySecond")&&(O=[1E3,2E3,3E3,4E3,5E3,6E3,7E3,8E3,9E3,1E4,11E3,12E3,13E3,14E3,15E3]);var $=f(O).map(function(a,b){return b/1E3}).join("-"),da=new ia(1E3),X=new ha(w.getPingJobs(O));if(e.on("hundredpct")&&q.use100v)var ea=new ia(1E3),aa=new ha(w.getFullyInViewPingJobs(O));if(e.on("tabHiddenDtCall"))var fa=new ia(1E3),ba=new ha(w.getPosInViewPingJobs([O[0]]));var ja=
function(){ca();e.on("viewabilityready")&&!K&&(c.send(g.DT_CODES.VIEWABILITY_READY),k.trigger("measurable"),K=!0)};k.on("delayedViewabilityReady",ja);var ca=function(d){try{N.start();var p,l,r,s,w,z;if(a.isEnabled()&&a.hasMeasurementStrategy())r=a.getScreenLocationInfo(t.collect());else{r=t.collect();U&&(r.gState=r.viewState);if(H.isMobileAppEnvironment())r.viewState=H.getViewabilityResult(),r.method=H.getDetectionMethod(),r.percentInView=H.getPercentageInView();else if(S){D=D||new Z(ga,r.adDimensions,
ja,e,u,b)||{};s=D.checkViewable();e.on("hundredpct")&&q.use100v&&(C=C||new Gb(Fb,r.adDimensions,ja,b,e,h,m,u)||{},w=C.checkViewable(),r.fullPercentInView=w.pct,r.useCocoa=S);if(1!==r.tabHidden||s.str===g.NA)r.viewState=s.str;r.percentInView=s.pct;e.on("unreliabilityDetection")&&W&&(G=G||new Z(ga,E({height:0,width:-2E4}),f.noop,e,u,b)||{},z=G.checkViewable(),z.str!==g.OUT_OF_VIEW&&(J+=1),V+=1,m.addItem({output:J+"/"+V},"fu"))}else R&&(r.viewState=g.NA,r.percentInView=g.PIV_NA);U&&(y||d||!W||(y=S?D:
new Z(ga,r.adDimensions,f.noop,e,u,b,h)),r.fState=d||!W?g.NA:y.checkViewable().str);if(L&&!v.isAvid()&&(l=B.getViewStateOverride())){if(l===g.OUT_OF_VIEW){var A=r.reason?r.reason.split("."):[];A[A.length]=g.OUT_OF_VIEW_REASONS.VIDEO;r.reason=A.join(".")}r.viewState=l}}p=x.registerLocation(r);e.on("hundredpct")&&q.use100v&&(p.isFullyInView()?(ea.mark(),aa.doEligibleJobs(ea.getTotalTime()),T||d||(c.send(g.DT_CODES.FULLY_INVIEW,0),k.trigger("notify",q._onInViewFull),T=!0)):ea.stop());p.isInView()?(da.mark(),
X.doEligibleJobs(da.getTotalTime())):da.stop();var F=X.getNextJob();F&&F.time===O[0]&&e.on("tabHiddenDtCall")&&(r.posViewState===g.IN_VIEW||r.posViewState===g.PARTIAL_VIEW_PLUS?(fa.mark(),ba.doEligibleJobs(fa.getTotalTime())):fa.stop());N.stop();var I=n.round(N.getTime()/N.getCount());m.addItem({output:I},"lt",{type:g.DT_CODES.UNLOAD});return p}catch(K){k.trigger("error",g.ERROR_CODES.CHECK_SCREEN_LOC)}},ka,la=function(a){var b;F=!0;var d=!1,e=function(){d||(d=!0,c.send(g.DT_CODES.VIDEO_EVENTS,void 0,
void 0,void 0,void 0,function(){s.postMessage(JSON.stringify({id:q.videoId,msg:"unloadComplete",messageType:"misc"}),"*")}))};a=function(){e();if(!ka){var a=[D,C,y,G];b&&clearInterval(b);f(a).each(function(a,b){b&&"function"===typeof b.removePixels&&b.removePixels()});ka=!0}};l.impressionIsIdentifiable()&&(ca(),b=setInterval(ca,M),ka=!1,k.on("adStopped",a),k.on("adVideoComplete",a),k.on("skipAd",a),z.addEvent(s,"beforeunload",c.unload,!1),L&&!v.isAvid()&&z.addEvent(s,"beforeunload",e,!1))};return{checkScreenLoc:ca,
init:function(){"true"===q.allowViewability&&f.isFunction(A.addEventListener)?(F=!1,"complete"==A.readyState||"loaded"==A.readyState||"interactive"==A.readyState?n.execAtEndOfThread(la):A.addEventListener("DOMContentLoaded",la,!1)):p.waitForBody(la)},needsFlash:function(){return R},readyFired:function(){return F},useFlash:function(){return S},stringifyPingTimes:function(){return $},isImmediatelyMeasurable:function(){return H.isMobileAppEnvironment()?H.isMeasurable():!S}}},Yb=function(a,b,c,d,e,h,
k){var r,p,m=n.getWindow(),w=n.getDoc(),u=g.AD_IDENTIFIER,t;h=h||d.parentNode||d.parent;var x=function(){if(!r)if(r=v.embedded?a.calcDims():b.calcDims(d,h),e===g.DETECTION_METHODS.VIDEO&&v.embedded){var c=r,f=(new E(d)).getRounded();try{c.set("width",f.width),c.set("height",f.height)}catch(k){l.trigger("error",g.ERROR_CODES.VIDEO_IN_IFRAME_DIMS_CALC)}}else e===g.DETECTION_METHODS.AD_PLACEHOLDER&&r.treatAsPlaceholder();return r},B=function(){var b,d,h,m;d=q.mobOrTab;f.isUndef(p)&&(b=!d&&(v.friendly||
f.isDef(s.mozInnerScreenX))&&k.on("offscreen"),h=x(),d=new E(y.calcWinDims()),b=new E(b?y.calcMonDims():{}),m=e===g.DETECTION_METHODS.VIDEO&&v.embedded?a.getClippedDims():new E({}),p=c.calcPercentInView(h,d,b,m));return p},D=function(){return c.calcInitialViewState(B())},H=function(){return d===s?!1:x().isHidden()};(function(){var a=d===m?w.body:d;t=v.friendlyIframe?m.frameElement:a;z.addEvent(a,"click",function(){l.trigger("adComponentClicked")});z.addEvent(a,"mouseover",function(){l.trigger("adComponentMousedOver")})})();
return{getAdNode:function(){return d},mark:function(){y.setAttributeOf(t,u,q.asid)},cleanup:function(){y.removeAttributeOf(t,u)},isNode:function(a){return d===a},isHidden:H,isObstructed:function(){return!1},getDims:x,getPercentInView:B,getLocationState:D,getOnPageViewability:function(){return H()?g.OUT_OF_VIEW:D()},getDetectionMethod:function(){return e},getContainerDims:function(){return E(h)},refresh:function(){p=r=void 0;var a,b=d.parentNode;if(b){for(;d!==s&&b&&b!==A&&!a;)a=b===h,b=b.parentNode;
a||(h=d.parentNode)}}}},Zb=function(a,b,c,d){var e=[],h=function(){return e[0]&&e[0].getDetectionMethod()===g.DETECTION_METHODS.AD_PLACEHOLDER},k=function(f,k,p){var m=h()||0===e.length;f=Yb(a,b,c,f,k,p,d);m&&k!==g.DETECTION_METHODS.AD_PLACEHOLDER&&l.trigger("primaryadfound",f);m&&f.mark();h()&&(k=e.shift(),k.cleanup());e.push(f)},r=function(){var a,b=!1,c=0,d=0;f(e).each(function(e,f){var h;h=f.getDims();h.hasValidDims()&&(a=f.getPercentInView(),b=a!==g.NA,h=h.area(),c+=h,d+=a/100*h)});return{totalArea:c,
totalInView:d,hasMeasurement:b}},p=function(){var a=r();return a.hasMeasurement?n.round(a.totalInView/a.totalArea*100):g.PIV_NA},m=function(){var a=r().totalArea>=g.MRC_LARGE_AD_SIZE&&d.on("largeAd")&&!v.isVideo();return c.calcInitialViewState(p(),!1,a)},q=function(a){var b=-1;f(e).each(function(c,d){d.isNode(a)&&(b=c)});return b},u=function(a){return function(){return e[0]&&e[0][a]()}};l.on("adComponentAdded",function(a){f(a).each(function(a,b){-1===q(b)&&k(b,g.DETECTION_METHODS.MUTATION)})});l.on("adComponentRemoved",
function(a){f(a).each(function(a,b){var c=q(b);-1=e&&d++;a=b;c++},100),h=function(){b++;e()},k=function(){l.trigger("addOutputItem",{output:{tmm:function(){return b},tma:function(){return c},sma:function(){return d}}},{type:g.DT_CODES.UNLOAD})};return{start:function(){k();z.addEvent(n.getTop().document,"mousemove",h)},isApplicable:function(a){return a.on("mmsb")&&!a.bootstrapOn("mobOrTab")&&!v.xDomainIframe}}},rb=function(){var a={},b=function(b,e){var f;b[e]=function(b,d,
e){e&&(a[e]={x:b,y:d},a.ul&&a.lsr&&(f=va().getOffDesktopResult(a.ul,a.lsr),c(f)))}},c=function(a){try{l.trigger("addOutputItem",{output:a},"od")}catch(b){l.trigger("error",g.ERROR_CODES.OFF_DESKTOP)}};return{isApplicable:function(a,b){var c=a.on("oddet"),f=b.hasFlashEnabled(),l=b.getBrowserType()===g.BROWSERS.IE,n=b.isOnWin7(),m=b.isIEVersion(8);return!a.bootstrapOn("killFlash")&&c&&f&&l&&n&&!m},start:function(){try{xc().setupPixels(b),setTimeout(function(){a.ul&&a.lsr||c(va().getOffDesktopResult())},
1E4)}catch(d){l.trigger("error",g.ERROR_CODES.OFF_DESKTOP)}}}},va=function(){var a=function(a){var c=g.NA;return a?{x:a.x-250,y:a.y-188}:{x:c,y:c}};return{getOffDesktopResult:function(b,c){b=a(b);c=a(c);return f({mc:[b.x,b.y,c.x,c.y].join("|")}).toION()}}},xc=function(){var a="_postPosition_"+q.asid.replace(/-/g,""),b=function(b){var d=U("/PixelB.swf","cdn","name="+b+"&jsPostFn="+a,!0);b=yc[b];d.style.width=b.WIDTH+"px";d.style.height=b.HEIGHT+"px";d.style.position="fixed";d.style.top=b.TOP+"px";
d.style.left=b.LEFT+"px";return d};return{setupPixels:function(c){var d=n.getDoc(),d=d.body||d.contentElement,e;e=n.getDoc().createElement("div");e.innerHTML='';e=e.firstChild;d.appendChild(e);d=e.contentWindow;d.document.open().close();e=d.document.body;var f=b("ul"),g=b("lsr");e.appendChild(f);e.appendChild(g);c(d,a)}}},wc=function(a,b){var c=[],d=!0,e=function(f){var g=
n.getTop();f=f||g.event;c.push({x:n.round(f.clientX),y:n.round(f.clientY)});d&&g.setTimeout(function(){z.removeEvent(g.document,"mousemove",e);b(c)},a);d=!1};(function(){var a=n.getTop();z.addEvent(a.document,"mousemove",e)})()},tb=function(){return{start:function(){var a=n.getTop().status;n.getTop().status=n.getTop().status+" ";n.getTop().status===a+" "&&(n.getTop().status=a,l.trigger("addOutputItem",{output:1},"sb"))},isApplicable:function(a,b){return a.on("mmsb")&&!a.bootstrapOn("mobOrTab")&&!v.xDomainIframe&&
b.browserIs(g.BROWSERS.IE)}}},Db=function(){var a=y.appendElement("iframe",{name:"hpif",style:"display:none"}),b=[{pieces:["jwp","la","yer"],abbr:"j"},{pieces:["flo","wpl","ayer"],abbr:"f"}],c=function(b){a.contentWindow[b.pieces.join("")]=function(){return{play:function(){l.trigger("addOutputItem",{output:b.abbr},"vh",{minDt:!0,type:g.DT_CODES.VH});l.trigger("sendMinDt",g.DT_CODES.VH)}}}},d=5E3;(function h(){a.contentWindow?f(b).each(function(a,b){c(b)}):(d-=100,0<=d&&s.setTimeout(h,100))})()},yc=
{ul:{WIDTH:3,HEIGHT:3,TOP:-3600,LEFT:-3600},lsr:{WIDTH:3,HEIGHT:3,TOP:32767,LEFT:32767}};try{Eb()}catch(zc){__IntegralASDiagnosticCall("main",zc,q)}};try{(function(){var q=__IntegralASConfig.useFIF?window.parent:window;__IntegralASConfig.initialize(__IntegralASConfig,q,q.document)})()}catch(err$$12){__IntegralASDiagnosticCall("initialize",err$$12,__IntegralASConfig)};