var __IntegralASDiagnosticCall = function(){};

try {
	var __IntegralASConfig = {
		jsDoSplit : "false",
		cocaPuffsPath : "",
		debug : "false",
		killPhrases : "",
		useAdTalk : "true",
		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'},
		protocol:'http',
		jsref : "http://motherboard.vice.com/read/activists-are-camping-out-at-the-fcc-until-it-upholds-net-neutrality",
		asid : "61d6e816-9068-11e4-a6e9-0025904ea2ce",
		allowViewability : "true",
		jsFeatures : "mousetrack:0,viewabilityready,consecutive,cachebust:0,forcecocoa:10,rattie:100,exch,recordalternate:100,cocoapuffs,usedtdomain,nextcocoa,bapiDiag,cookie,postDts:0,videotwoseconds,getPl,decodePl,resolution,usetpl,usesca:1,tpiLookupURL,hundredpct,jloadDiag:0,cdnTest:1",
		adTalkDtCall : "true",
		adsafeDomain : "adsafeprotected.com:80",
		minimizeCalls : "false",
		adWidth : "",
		adHeight : "",
		forceAppend : "true",
		requrl : "http://pixel.adsafeprotected.com/",
		reqquery : "anId=6202&advId=en_us&campId=net+neutrality&pubId=activists-are-camping-out-at-the-fcc-until-it-upholds-net-neutrality&placementId=net+neutrality%2C+activism%2C+Open+Internet%2C+fcc%2C+power&chanId=motherboard.vice.com",
		mode : "jload",
		adsafeSrc : "",
		adsafeSep : "",
		_onAPIResult : __IntegralASConfig && __IntegralASConfig.onAPIResult,
		_onInViewMRC15 : __IntegralASConfig && __IntegralASConfig.onInViewMRC15,
		_onMeasurable : __IntegralASConfig && __IntegralASConfig.onMeasurable,
		_onSuspicious : __IntegralASConfig && __IntegralASConfig.onSuspicious,
		_onInViewMRC : __IntegralASConfig && __IntegralASConfig.onInViewMRC,
		_onInViewMRC5 : __IntegralASConfig && __IntegralASConfig.onInViewMRC5,
		getTpl: "false",
		use100v: false,
		useBapiCallback: "",
		useViewabilityNotification: "",
		scriptUrl : "http://pixel.adsafeprotected.com/jload?anId=6202&advId=en_us&campId=net+neutrality&pubId=activists-are-camping-out-at-the-fcc-until-it-upholds-net-neu",
		accountForSadImps:'',
		sendCookie:'false',
		tpiLookupURL:"",
		fwMonitoring:'',
		cdnTestUrl: "//cdn.adsafeprotected.com/cdn-test.js",
		colloTestUrl: "//pixel.adsafeprotected.com/jload?campId=cdnTest&anId=100",
		doNothing: false,
		cdnTestEnabled: false,
		mn: "app16dal",
		videoId : ''
	};

	if (__IntegralASConfig.jsFeatures.indexOf('asidJsDiagnostic') !== -1) {
		var fakeErr = { message: __IntegralASConfig.asid };
		__IntegralASDiagnosticCall('asid', fakeErr);
	}

	__IntegralASConfig.birthdate = new Date().getTime();
	__IntegralASConfig.thisScriptNode = (function() {
		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('<span id="s' + __IntegralASConfig.asid + '"/>');
				result = document.getElementById('s' + __IntegralASConfig.asid).parentNode;
			}
		} catch(e) { }
	
		return result;
	}());

} catch(err) {
	__IntegralASConfig = {};
	__IntegralASDiagnosticCall('bootstrapper', err);
}

__IntegralASConfig.initialize=function(k){var Ia=function(){var a=-1!==k.mode.indexOf("jsvid"),c=g.isDef(window.JSON)&&g.isDef(window.postMessage),c="true"===k.useAdTalk&&c,d,b,e,f,h=U(),l=V(),n=new ba,p=ca(n),q=new da(n),y=ea(),u=fa(),v=ga(),B=ha(),x=ia(),x=ja(p,h,x,n),D=ka(p),w=la(p),A=ma(p),C=na(),K=oa(A,p),L=pa(A),F=a?qa(v):{},t=a?ra(k.videoId,h,n,v,F):{},a=sa(C,L,n,K,B,t),C=ta(a,p,y),s=ua(a,x,p,h,n,w,q,A,v,t,F),z=va(x,s,l),G=wa(p,h,n,l),l=xa(x,s,p,w,q),F=ya(x,s),G=za(G,x,n),E=Aa(A,s,p,h,L,n,
w,K,q,z,B,y,C,v,t),y=Ba(x,p,h,w,G,q,A,E),v=Ca(n),n=Da(n);s.setViewabilityMod(E);c&&(d=Ea(p));var A="0"!==A.getFlashVersion(),I,B=!E.useFlash();if(!function(){var b=!1,a,d;try{g.isDef(k)&&g.isDef(k.killPhrases)&&""!==k.killPhrases&&(a=k.adsafeSrc?k.adsafeSrc:k.requrl+k.reqquery,d=k.killPhrases.split(","),g(d).each(function(c,n){n=decodeURIComponent(d[c]).replace(/^\s+|\s+$/g,"");-1!==a.search(n)&&(b=!0)})),k.doNothing&&(b=!0)}catch(c){p.add(p.ERROR_KILL_IT)}return b}()){if(c)try{d.createAdProxy(k),
d.findFrames(),d.listen(),d.sendMessages(),q.addItem(d.getFrameStore(),"fm")}catch(P){p.add(p.ERROR_ADTALK_GENERAL)}var H;try{"true"!==k.minimizeCalls&&E.init();h.on("mousetrack")&&(f=Fa(a,q),f.init());H=u.detectTopURL();h.on("exch")&&(b=Ga(p,q),b.parse(H));if(h.on("getPl")&&navigator&&navigator.plugins){e=Ha(navigator.plugins);var Q=e.hash();q.addItem({output:Q.join(".")},"pl",{type:m.DT_CODES.ADTALK});if(h.on("decodePl")&&Q.length){var R=e.decode(Q);q.addItem({output:R.join(".")},"pd",{type:m.DT_CODES.ADTALK})}}var N=
D.getProps();g(N).each(function(b,a){q.addItem({output:a},b,{type:"UFO"})})}catch(J){p.add(p.ERROR_IMPRESSION_LEADUP)}s.sendCookie();y.send(H);h.on("cdnTest")&&k.cdnTestEnabled&&n.init();"true"===k.useViewabilityNotification&&k._onMeasurable&&(B||A)&&x.notify(k._onMeasurable);"http"===k.protocol&&"true"===k.getTpl&&h.on("usetpl")&&l.init();k.tpiLookupURL&&F.init(k.tpiLookupURL);"true"===k.adTalkDtCall&&"true"!==k.minimizeCalls&&(I=(new Date).getTime(),r.execAtEndOfThread(function(){r.execAtEndOfThread(function(){var b=
{output:(new Date).getTime()-I};q.addItem(b,"sinceFw",{type:m.DT_CODES.ADTALK});g.isDef(E.readyFired())&&q.addItem({output:E.readyFired()},"readyFired",{type:m.DT_CODES.ADTALK});s.send(m.DT_CODES.ADTALK)})}));h.on("usesca")&&v.load()}},g=function(a){var c=function(b){return a instanceof Object&&(b||!(a instanceof Array))},d=function(b,d){if(a.length===+a.length)for(var c=0,e=a.length;c<e;++c)b(c,a[c]);else for(c in a)(a.hasOwnProperty(c)||d)&&b(c,a[c])},b=function(b,a){var c=[];d(function(d,e){var f=
b(d,e);if(void 0!==f||a)c[c.length]=f});return c},e=function(b,a){a=a||",";var c=[];d(function(a,d){var n=b(a,d);g.isDef(n)&&c.push(n)});return c.join(a)},f=function(b,a,d){for(var c in a)if(d||a.hasOwnProperty(c))b[c]=a[c];return b},h=function(b){var a={};d(function(d,e){var h=b(d,e);c(h)&&f(a,h)});return a};return{each:d,isObj:c,invert:function(){return h(function(b,a){var d={};d[a]=b;return d})},mapToObj:h,map:b,toParams:function(b){return e(function(b,a){return"string"===typeof b&&-1!==b.indexOf("NULL")?
a:b+":"+a},b)},stringify:e,mixin:function(b,d,c){!0!==b?(c=d,d=f(a,b,c)):(b=f({},a,c),d=f(b,d,c));return d},find:function(b){var a;d(function(d,c){b(d,c)&&(a=c)});return a},toArray:function(){return b(function(b,a){return a})}}};g.toBase=function(a,c){var d,b=0>a,e="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),f=[];a=b?-a:a;do d=a%c,f.push(e[d]),a=(a-d)/c;while(0<a);f=f.reverse().join("");return b?"-"+f:f};g.isDef=function(a){return"undefined"!==typeof a};g.isUndef=function(a){return!g.isDef(a)};
g.noop=function(){};g.identity=function(a){return a};g.isFunction=function(a){return"function"===typeof a};g.useIfDef=function(a){return g.isDef(a)?a:!1};g.stringifyTriState=function(a){return!0===a?1:!1===a?0:"na"};var Ja=function(a,c,d,b,e,f){f=f||b.parentNode||b.parent;var h=function(){var d=t.embedded?a.calcDims():c.calcDims(b,f);return d.hasValidDims()?d.getRounded():-1},l=function(a){var d=null;if(b&&!t.embedded&&a&&g.isDef(document.elementFromPoint)){var c=r.floor(a.x+a.width/2);a=r.floor(a.y+
a.height/2);c=document.elementFromPoint(c-1,a-1);null!==c&&(d=c!==b)}return d},n=function(){return d.calcPercentInView(s.calcWinDims(),h())},p=function(){return d.calcInitialViewState(n())},q=function(){return 1>=b.height||1>=b.width},y=function(){return b===window?!1:"none"===z.getStyle(b,"display")};return{getAdNode:function(){return b},isCollapsed:q,isHidden:y,isObstructed:l,getDims:h,getPercentInView:n,getLocationState:p,getOnPageViewability:function(){return l()||q()||y()?m.OUT_OF_VIEW:p()},
getDetectionMethod:function(){return e},getContainerDims:function(){return M(f).get()},refresh:function(){var a,d=b.parentNode;if(d){for(;b!==window&&d&&d!==document&&!a;)a=d===f,d=d.parentNode;a||(f=b.parentNode)}}}},Ka=function(a,c,d){var b=[],e=function(){return b[0]&&b[0].getDetectionMethod()===m.DETECTION_METHODS.SPAN},f=function(a){return function(){return b[0]&&b[0][a]()}};return{getOriginatingNode:f("getAdNode"),getDims:f("getDims"),isObstructed:f("isObstructed"),isCollapsed:f("isCollapsed"),
getDetectionMethod:f("getDetectionMethod"),getContainerDims:f("getContainerDims"),getViewState:f("getOnPageViewability"),getPercentInView:f("getPercentInView"),isHidden:f("isHidden"),isUsingPlaceholder:e,hasAd:function(){return!!b.length},refresh:function(){g(b).each(function(a,b){b.refresh()})},addAdComponent:function(f,g,n){f=Ja(a,c,d,f,g,n);e()&&b.shift();b.push(f)},getOffPageReasons:function(){var a=[],d=b[0],c=m.OUT_OF_VIEW_REASONS;d.getOnPageViewability()===m.OUT_OF_VIEW&&a.push(c.GEOM);g({isObstructed:c.OBSTRUCTION,
isCollapsed:c.COLLAPSED,isHidden:c.HIDDEN}).each(function(b,c){d[b]()&&a.push(c)});return a}}},La=function(a,c,d,b,e,f,h){var l;(function(){var n=d.width-5,f=d.height-5,q=0.5*d.width+1,g=0.5*d.height+1;l=[new a(c,n,f,e,h,b),new a(c,n,5,e,h,b),new a(c,5,f,e,h,b),new a(c,5,5,e,h,b),new a(c,q,g,e,h,b)]})();return{getNumInView:function(){var a=[],b=0;g(l).each(function(b,d){var c=d.isInView()?1:0;a.push(c)});f.addItem({output:a.join(".")},"pvs");g(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;g(l).each(function(b,d){d.isNotReadyToReport()&&(a=!1)});return a}}},Ma=function(a,c,d,b,e,f,h,l){var n=new a(N,document.body,c,b,e,h,l),p,q,y=0;d=d||g.noop;p=setInterval(function(){n.isReady()&&!q?(q=!0,d(),clearInterval(p)):(5===++y||q)&&clearInterval(p)},50);return{checkViewable:function(){var a=n.isReady(),b=n.getNumInView(),b=n.getPctInView(b),c=f.calcInitialViewState(b,!0);a&&!q&&(q=!0,d());return{str:a?c:m.NA,pct:a?b:-1}}}},Z=function(a,c,d,b,e,
f){var h=new a(document.body,c.width/2,c.height/2,b,e,f),l,n,p=0;d=d||g.noop;l=setInterval(function(){h.isNotReadyToReport()||n?(5===++p||n)&&clearInterval(l):(n=!0,d(h.createdFlash),clearInterval(l))},50);return{checkViewable:function(){var a=!h.isNotReadyToReport(),b=h.isInView(),c=b?m.IN_VIEW:m.OUT_OF_VIEW,b=b?100:0;a&&!n&&(n=!0,d(h.createdFlash));return{str:a?c:m.NA,pct:a?b:-1}}}},ba=function(){var a={},c=function(d,b){a[d]=a[d]||new S;a[d].push(b)};return{on:function(a,b){b?c(a,b):g(a).each(c)},
trigger:function(){var d=g(arguments).toArray(),b=a[d.shift()];b&&b.run.apply({},d)}}},N=function(a,c,d,b,e,f){var h,l,n,p=function(a,b){return'<param name="'+a+'" value="'+b+'"/>'},q=function(){var a;a=new J;var d=k.cocaPuffsPath;a.sub("static");a.master(a.master().split(":")[0]);d&&(a.master(d),a.sub(""));var d=a+(b.on("nextcocoa")?"/detector3.pix":"/detector2.pix"),c=p("allowscriptaccess","always"),e=p("movie",d)+p("play","true")+p("loop","true");f.browserIs("i")?(a=document.createElement("div"),
a.innerHTML="<object "+('id="blag'+k.birthdate+'" ')+'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+('type="'+m.FLASH_MIME+'" ')+('data="'+d+'" ')+">"+e+c+"</object>",h=a.firstChild):(h=document.createElement("object"),h.data=d,h.type=m.FLASH_MIME,h.innerHTML=c);h.style.position="absolute";h.style.width="1px";h.style.opacity="0";h.style.height="0px";return h},y=function(a){a.style.height=n?"1px":"2px";n=!n;r.execAtEndOfThread(function(){u()&&(l=a.isInView())})},u=function(){return h&&g.isFunction(h.isInView)};
(function(a,b,d){var c=q(),f=c.style;f.left=b+"px";f.top=d+"px";a.appendChild(c);f.height="1px";e.onHiddenChange(function(a){a?f.height="0px":y(c)})})(a,c,d);return{isInView:function(){var a;u()&&(a=h.isInView(),f.browserIs("w")&&a!==l&&y(h));return u()&&a},isNotReadyToReport:function(){return!u()},createdFlash:h}},$=function(a){return{doEligibleJobs:function(c){var d=a[0],b=d&&d.time;b&&c>=b&&(d.task(),a.shift())},getNextJob:function(){return a[0]}}},da=function(a){var c=0,d={},b=function(a,b,d){if(g.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 g.isFunction(a.output)?a.output():a.output}},e=function(a,c,e){a=new b(a,c,e||{});d[a.id]=a};a.on("addOutputItem",function(a,b,d){e(a,b,d)});return{addItem:e,iterate:function(a){var b,c,e=[];for(b in d)d.hasOwnProperty(b)&&(c=a(b,d[b]))&&e.push(c);return e},getItem:function(a){return d[a]}}},S=function(){var a=[];return{push:function(c){a[a.length]=c},run:function(){var c=arguments;g(a).each(function(a,
b){b.apply({},c)})}}},ta=function(a,c,d){return{collect:function(){var b,e=a.find(),f=e.getOffPageReasons(),h=d.isHidden();try{b=s.calcWinDims()}catch(l){c.add(c.ERROR_GET_WIN_DIMENSIONS),b=-1}if(-1===b||-1===e.getDims())return e=e.getDims(),{viewState:m.NA,posViewState:m.NA,embedded:t.embedded,winDimensions:b,adDimensions:e};!0===h&&f.push(m.OUT_OF_VIEW_REASONS.FOCUS);return{winDimensions:b,adDimensions:e.getDims(),containerDimensions:e.getContainerDims(),method:e.getDetectionMethod(),viewState:!0===
h?m.OUT_OF_VIEW:e.getViewState(),percentInView:e.getPercentInView(),reason:f.join("."),obstructed:g.stringifyTriState(e.isObstructed()),isCollapsed:g.stringifyTriState(e.isCollapsed()),isHidden:g.stringifyTriState(e.isHidden()),tabHidden:g.stringifyTriState(h),posViewState:e.getViewState()}}}},Na=function(a){a=a||g.identity;var c=[],d=r.now(),b=function(){var a=r.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 f=c[c.length-1];d=a(d);b();0!==c.length&&d===f.state||c.push({state:d,duration:0})}}},Oa=function(a){var c=a||1,d=0,b=0,e=0,f=0;return{start:function(){0===d%c&&(e=r.now())},stop:function(){0===d%c&&(f+=r.now()-e,b++);d++},getTime:function(){return f},getCount:function(){return b}}},aa=function(a){var c=0,d=t.getTagTime(),b=0,e,f;return{getTotalTime:function(){return b},stop:function(){c=0;d=t.getTagTime()},mark:function(){e=t.getTagTime()-d;c+=e;
c>a&&(f=c-e<a,b+=f?c:e);d=t.getTagTime()}}},J=function(a){a=a||k.adsafeSrc||k.requrl;a=/^(http|https):\/\/(([^\/\.]*)\.([^\/]*))/.exec(a);var c=a[1],d=a[3],b=a[4],e,f,h=function(a){g.isDef(a)&&(d=a);return d},l=function(a){g.isDef(a)&&(b=a);return b},n=function(){var a="";g(f).each(function(b,d){a+="&"+b+"=";a=g(d).isObj()?a+("{"+g(d).toParams()+"}"):a+d});return"?"+a.substr(1)};return{fullDom:a[0],sub:h,master:l,setField:function(a,b){f=f||{};g(b).isObj()&&g.isDef(f[a])&&(b=g(f[a]).mixin(!0,b));
f[a]=b},path:function(a){e=a},toString:function(){var a=h()?h()+".":"",b=e?"/"+e:"",d=f?n():"";return c+"://"+a+l()+b+d}}},Pa=function(a,c){var d=!1,b=!1,e,f=function(){d||(d=!0,e=c.createViewabilityTracker("mpt",function(a){return a.isFullyInView()}))},h=function(a){if(!g.isUndef(a.eventData)){var b=-1;g.isDef(a.eventData.volume)?b=a.eventData.volume:g.isDef(a.eventData.adVolume)&&(b=a.eventData.adVolume);return b}},l=function(a){a=h(a);d||0!==a?d&&(b||0===a)&&(a={isFullyInView:function(){return!1}},
e.addState(a)):b=!0};return{init:function(){var b=function(a){l(a)};a.on({adStarted:f,adVideoStart:f,adVideoStarted:f,volumeChanged:b,adVolumeChange:b,adVideoMidpoint:function(){e&&e.hasAlwaysBeen(!0)&&a.trigger("sendDt",m.DT_CODES.QUARTILE_FULLY_INVIEW)}})}}},sa=function(a,c,d,b,e,f){var g=-1!==k.mode.indexOf("jsvid"),l=k.thisScriptNode.parentNode,n=Ka(b,a,c);return{find:function(){var a,b=m.DETECTION_METHODS,d=function(d){var c=s.findLargestChildNode(l);1<s.getNodeArea(c)?n.addAdComponent(c,d||
b.AD_HUNT,l):n.hasAd()||(a=s.getPlaceholderSpan(),l.insertBefore(a,k.thisScriptNode.nextSibling),n.addAdComponent(a,d||b.SPAN))};if(n.isUsingPlaceholder()||!n.hasAd())e.isMobileApp()?d(e.getDetectionMethod()):g?n.addAdComponent(f.findVideo(),b.VIDEO):t.embedded?n.addAdComponent(window,b.IFRAME):d();return n},getDetectionMethod:function(){},isAdDetected:function(){return!0!==n.isUsingPlaceholder()},getOriginatingElement:function(){return n.getOriginatingNode()},getParent:function(){return l}}},Ea=
function(a){var c=[],d=function(a){var b;a=a||k;a.reqquery?b=a.reqquery.split(/(?:anId=|anid=|ANID=)([^&]*)/)[1]:(b=a.adsafeSrc.split("/"),b=b[5]+"-"+b[6]);a={adId:b,adSafeId:a.asid};c.push(a);return a},b=function(){var a=[],b={},d={noMe:!0};return{addFrame:function(c){a.push(c);b[c.pageId]=c;c.isMe&&(d=c)},list:a,lookup:b,me:function(){return d},output:function(){var b,c,e,f,h=[];for(b=0;b<a.length;b++)if(e=a[b],e.isLeaf||e.isMe||g.isDef(e.selfDescription)){f="";for(c=0;c<e.position.length;c++)f+=
(Number(e.position[c])+1).toString(36);f+=e.isMe?"*":"";f+=0!==e.adProxies.length?"."+e.adProxies[0].adId:"";h.push(f)}return g.toBase(d.unifiedId,62)+"+"+h.join("|")}}},b=new b,e=function(a,d){var e=a===window,f={position:d.slice(0),pageId:d.join("-"),domObj:function(){return a},isMe:e,isLeaf:!a.frames.length,adProxies:e?c:[],selfDescription:void 0,unifiedId:k.birthdate,toString:function(){return JSON.stringify(f)},addDescription:function(a){f.selfDescription=a;f.adProxies=a.adProxies}};b.addFrame(f);
return f},f;f=new function(){var a=function(b,d){var c=d.length,f=b.frames;if(!(new e(b,d)).isLeaf){for(var g=0;g<f.length;g++)d[c]=g,a(f[g],d);d.pop()}};return{start:function(){a(top,[0])}}};var h=function(a){var b={srcId:k.asid,srcKey:k.asid.split("-")[2],srcStart:k.birthdate,getMessageTime:void 0,replyTo:document.location,sendMessage:function(d,c){c=c||"*";a.getMessageTime=r.now();delete b.updateMessage;delete b.sendMessage;d.postMessage(JSON.stringify(b),c)},updateMessage:function(b){a=b(a)},
messageContent:a||{}};return b},l;l=new function(){var d=[],c=function(a){var d=b.me();(new h({self:d,expectedPageId:a.pageId,unifiedId:d.unifiedId})).sendMessage(a.domObj())};return{sendMessages:function(){var a,d;for(a=0;a<b.list.length;a++)d=b.list[a],d.isMe||c(d)},listen:function(){z.addEvent(window,"message",function(f){var h,l,v,B=b.me();try{h=JSON.parse(f.data);l=h.messageContent;if(k.asid.split("-")[2]!==h.srcKey||!h.hasOwnProperty("messageContent"))return;l.unifiedId<B.unifiedId&&(B.unifiedId=
l.unifiedId)}catch(m){return}d.push(h);try{if(l.expectedPageId!==b.me().pageId)a.add(a.ERROR_ADTALK_DUBIOUS);else{v=b.lookup[l.self.pageId];if(g.isUndef(v)||g.isUndef(v.selfDescription))v=v||new e(f.source,l.self.pageId.split("-")),c(v);v.addDescription(l.self)}}catch(D){a.add(a.ERROR_ADTALK_DUBIOUS)}})}}};return{sendMessages:l.sendMessages,listen:l.listen,findFrames:f.start,createAdProxy:function(a){return new d(a)},getFrameStore:function(){return b||""}}},xa=function(a,c,d,b,e){var f=function(a,
b,d){e.addItem({output:a+"."+b+"."+d},"ctpl")},h=function(e){try{c.diagnostic("c");var h=e.length,p=0,q=0;f(h,0,0);g(e).each(function(d,c){a.send(c.replace("%%CBS%%",b.getCacheBustId()),function(){f(h,p,++q)},!0);f(h,++p,q)})}catch(y){d.add(d.ERROR_AT_SEND)}};return{init:function(){try{var b=(new J).fullDom;"/"!==b.slice(-1)&&(b+="/");b+="tpl?asId="+k.asid;a.jsonp(b,h)}catch(c){d.add(d.ERROR_AT_INIT)}}}},wa=function(a,c,d,b){return{enabled:"true"===k.useBapiCallback,callback:function(c){d.trigger("sendDiag");
try{"true"===k.accountForSadImps&&b.measure(c),k._onAPIResult&&k._onAPIResult(c)}catch(f){a.add(a.ERROR_BAPI_CALLBACK),d.trigger("sendDiag","bapiClient")}}}},ma=function(a){var c=function(){var a=function(a){return a.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(",").join(".")};try{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{b.AllowScriptAccess="always"}catch(d){return"6"}}catch(c){}return a((new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version"))}catch(e){try{if(navigator.mimeTypes[m.FLASH_MIME].enabledPlugin)return a((navigator.plugins["Shockwave Flash 2.0"]||
navigator.plugins["Shockwave Flash"]).description)}catch(g){}}return"0"},d=function(a){return e()===a},b=function(){return document&&document.documentMode?document.documentMode:m.NA},e=function(){var a="u";try{if(g.isDef(window.opera)&&g.isDef(window.opera.buildNumber))a="o";else if(g.isDef(window.mozInnerScreenY))a="g";else if(g.isDef(window.chrome)&&g.isDef(window.chrome.csi))a="c";else if(g.isDef(window.WebKitPoint))a="w";else if(g.isDef(window.attachEvent)||g.isDef(window.msCrypto))a="i"}catch(b){}return a};
return{browserIs:d,getFlashVersion:c,getDocumentMode:b,getBrowserVendor:e,params:function(){var a=e(),h=c(),l=5;d("i")?window.msCrypto?l=11:window.atob?l=10:document.addEventListener?l=9:window.JSON&&document.querySelector?l=8:window.XMLHttpRequest?l=7:document.compatMode&&(l=6):l=m.NA;var n=b(),p;p=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];var q=m.NA,k=document.createElement("div");try{if("-ms-ime-align"in document.documentElement.style)q=
"11";else{k.style.behavior="url(#default#clientcaps)";for(var u=0;u<p.length&&!(q=k.getComponentVersion(p[u],"componentid").replace(/,/g,"."));u++);}}catch(v){}p=q;q=m.NA;g.isDef(window.navigator)&&g.isDef(window.navigator.appName)&&(q=window.navigator.appName.toLowerCase()[0]);return{br:a,fv:h,bv:l,dm:n,abv:p,an:q}}}},Da=function(a){var c=0.5<=r.random()?"cdn":"collo",d=function(){a.trigger("sendDiag",c+"Test","cdnTest")};return{init:function(){var b,e=k[c+"TestUrl"];e&&(b=-1===e.indexOf("?")?"?":
"&",e=e+b+"asid="+k.asid,a.trigger("exec",e,d))}}},ja=function(a,c,d,b){var e=function(a,b){var d,c,e=k.thisScriptNode.parentNode;b=b||a;a=1<arguments.length?a:"script";d={script:['<script type="text/javascript" src="','">\x3c/script>'],iframe:['<iframe width="100%" height="100%" frameborder="0" vspace="0" hspace="0" scrolling="no" marginheight="0" marginwidth="0" src="','"></iframe>'],img:['<img src="','"/>']}[a];c=d[0]+b+d[1];"true"===k.forceAppend?"script"!==a?(d=document.createElement("DIV"),
d.innerHTML=c,e.appendChild(d.childNodes[0])):(d=document.createElement("SCRIPT"),d.src=b,e.appendChild(d)):document.write(c)},f=function(a,b,d){var e=!d&&c.on("postDts")&&z.getXHR2();e?(e.open("POST",a),e.onreadystatechange=function(){4===e.readyState&&200===e.status&&b&&b()},e.send()):(d=new Image,b&&(d.onload=b),d.src=a)},h=function(a,b){var d=document.createElement("script");d.type="text/javascript";d.src=a;b&&(d.onload=b);g.isDef(k.thisScriptNode.parentNode)&&k.thisScriptNode.parentNode.appendChild(d)},
l=function(b){g.isFunction(b)?b():"string"===typeof b?f(b):a.add(a.ERROR_NOTIFY_CLIENT)};b.on({addNode:e,send:f,exec:h,notify:l});return{addNode:e,send:f,exec:h,notify:l,jsonp:function(a,b,c,e){h(d.wrap(a,b,c,e))}}},m={MAX_URL_LENGTH:2E3,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:{UNLOAD:"u",PING:"p",FULLY_INVIEW:"pf",QUARTILE_FULLY_INVIEW:"qf",ADTALK:"a",VIEWABILITY_READY:"v",
VIDEO_EVENTS:"m",DIAGNOSTIC:"b",POS_INVIEW:"t",THIRD_PARTY:"i",SCA:"s"},DETECTION_METHODS:{SPAN:"s",AD_HUNT:"a",IFRAME:"i",VIDEO:"v"},OUT_OF_VIEW_REASONS:{GEOM:"l",OBSTRUCTION:"o",FOCUS:"f",COLLAPSED:"c",HIDDEN:"h"}},t=function(){var a=window!=top,c=function(){var a;try{a=!!top.document}catch(b){a=!1}return a}();return{embedded:a,friendly:c,getTagTime:function(){return r.now()-k.birthdate},getPageTime:function(){return g.isDef(window.chrome)&&g.isDef(window.chrome.csi)&&g.isFunction(window.chrome.csi)?
r.round(chrome.csi().pageT):m.NA},friendlyIframe:a&&c,xDomainIframe:a&!c}}(),z={addEvent:function(a,c,d,b){g.isDef(a.addEventListener)?"mouseenter"===c?a.addEventListener("mouseover",z.mouseEnter(d),b):"mouseleave"===c?a.addEventListener("mouseout",z.mouseEnter(d),b):a.addEventListener(c,d,b):g.isDef(a.attachEvent)&&a.attachEvent("on"+c,d)},removeEvent:function(a,c,d){g.isDef(a.removeEventListener)?("mouseenter"===c?(c="mouseover",d=z.mouseEnter):"mouseleave"===c&&(c="mouseout",d=z.mouseEnter),a.removeEventListener(c,
d)):g.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="";document.defaultView&&document.defaultView.getComputedStyle?d=document.defaultView.getComputedStyle(a,"").getPropertyValue(c):a.currentStyle&&(c=c.replace(/\-(\w)/g,function(a,d){return d.toUpperCase()}),d=
a.currentStyle[c]);return d},getXHR2:function(a,c){var d,b;g.isDef(window.XMLHttpRequest)?(b=new XMLHttpRequest,"withCredentials"in b&&(d=b)):g.isDef(XDomainRequest)&&(d=new XDomainRequest);return d}},ua=function(a,c,d,b,e,f,g,l,n,p,q){var y=0,u=0,v=!1,B,x=function(a,b,e,g,h){if(f.impressionIsIdentifiable()&&(a===m.DT_CODES.DIAGNOSTIC||a===m.DT_CODES.ADTALK||"n"!==n.getCurrentLoc()))try{var l=new J,q=r.now();l.path("dt");l=A(l,a,b,h);g||(l=w(l,a,b));c.send(l.toString(),function(){u+=1;y=r.now()-q},
e);a===m.DT_CODES.UNLOAD&&(v=!0)}catch(p){__IntegralASDiagnosticCall("dt-"+a,p),d.add(d.ERROR_PHONE_HOME)}},D=function(a,d){var c={bapi:"a",bapiClient:"b",jload:"c",jss:"d",jsi:"e",cdnTest:"f",colloTest:"g"},e=k.mode,c=c[a]||c[e];b.on(d||e+"Diag")&&c&&x(m.DT_CODES.DIAGNOSTIC,-5,!0,!0,{field:"bkp",value:c})},w=function(a,c){n.fastForward();var e={};c===m.DT_CODES.VIDEO_EVENTS&&q&&p&&(e.ve=q.stringify());c===m.DT_CODES.UNLOAD&&(e.ndt=u);-1!==k.mode.indexOf("jsvid")&&p&&(e.vv=p.version);e.NULL1=b.output();
e.NULL2=n.stringify(10);e.em=t.embedded;e.fr=t.friendly;e.uf=B.useFlash()?1:0;e.e=d.toString();e.tt=k.mode;e.dtt=y;g.iterate(function(a,b){b.props.type&&b.props.type!==c||(e[a]=b.output())});a.setField("tv",e);a.setField("br",l.getBrowserVendor());a.setField("adsafePrivacyPolicy","http://integr.al/privacy-policy");return a},A=function(a,d,c,e){b.on("usedtdomain")&&a.sub("dt");a.setField("asId",k.asid);a.setField("tv",{c:f.getCacheBustId(),pingTime:c||C(d),time:t.getTagTime(),type:d});e&&a.setField(e.field,
e.value);return a},C=function(a){var b;a===m.DT_CODES.UNLOAD?b=-1:a===m.DT_CODES.ADTALK?b=-2:a===m.DT_CODES.VIEWABILITY_READY?b=-3:a===m.DT_CODES.VIDEO_EVENTS&&q&&p?b=-4:a===m.DT_CODES.DIAGNOSTIC?b=-5:a===m.DT_CODES.THIRD_PARTY?b=-6:a===m.DT_CODES.QUARTILE_FULLY_INVIEW&&(b=-7);return b};e.on({sendDt:function(a,b){x(a,b)},sendDiag:function(a,b){D(a,b)}});return{send:x,sendCookie:function(){var a;b.on("cookie")&&"true"===k.sendCookie&&k.protocol&&k.cookieDomain&&k.asid&&(a=k.protocol+"://"+k.cookieDomain+
"?asid="+k.asid,c.send(a,void 0,!0),u++)},unload:function(){v||x(m.DT_CODES.UNLOAD,-1,!0)},diagnostic:D,setViewabilityMod:function(a){B=a}}},M=function(a){var c,d=function(){var b;if(a!==window.parent)return 1!==a.nodeType?c=a:g.isDef(a.getBoundingClientRect)&&(b=s.getRect(a),c={x:b.left,y:b.top,width:b.width,height:b.height}),c};d(!0);return{hasValidDims:function(){var b=1===a.nodeType?s.getRect(a):a;return!(isNaN(b.x)||isNaN(b.y)||isNaN(b.height)||isNaN(b.width))},get:d,getRounded:function(){d();
return{x:r.round(c.x),y:r.round(c.y),width:r.round(c.width),height:r.round(c.height)}},set:function(a,d){c[a]=d}}},na=function(){return{calcDims:function(a,c){var d=M(a),b=s.getClippedDimensions(a,c),e=d.get();d.set("height",b.height<e.height?b.height:e.height||1);d.set("width",b.width<e.width?b.width:e.width||1);return d}}},s={calcWinDims:function(){var a,c,d,b;b=s.windowSize();d=b.width;b=b.height;t.friendly?a=c=0:(g.isDef(window.screenX)&&(a=window.screenX),g.isDef(window.screenY)&&(c=window.screenY));
return isNaN(a)||isNaN(c)||isNaN(d)||isNaN(b)?-1:{x:r.round(a),y:r.round(c),width:r.round(d),height:r.round(b)}},windowSize:function(){var a={},c,d;if(t.friendly)if(c=top.document,d=c.documentElement,c=c.getElementsByTagName("body")[0],g.isDef(top.innerWidth))a.width=top.innerWidth,a.height=top.innerHeight;else if(g.isDef(d.clientWidth))a.width=d.clientWidth,a.height=d.clientHeight;else if(g.isDef(c.clientWidth))a.width=c.clientWidth,a.height=c.clientHeight;else throw a.width=a.height=0,"";else g.isDef(window.outerWidth)&&
(a.width=window.outerWidth,a.height=window.outerHeight);return a},screenSize:function(){try{var a=-1,c=-1;g.isDef(window.screen)&&(a=window.screen.width,c=window.screen.height);return{width:a,height:c}}catch(d){}},getNodeArea:function(a){var c=-1;a&&(a=s.getRect(a),c=a.width*a.height);return c},getRect:function(a){var c={};a=a.getBoundingClientRect();g.isUndef(a.x)&&(c={x:a.left,y:a.top});g.isUndef(a.width)&&g(c).mixin({width:a.right-a.left,height:a.bottom-a.top});g(c).mixin(a,!0);return c},getIeDimObj:function(){return document.documentElement&&
g.isDef(document.documentElement.clientWidth)&&document.documentElement||document.body},getPlaceholderSpan:function(){var a=document.createElement("span");g(a.style).mixin({width:"0px",height:"0px",display:"block",overflow:"hidden",visibiility:"hidden"});a.innerHTML=".";return a},getClippedDimensions:function(a,c){var d=1E4,b=1E4,e,f;if(null!==a.parentNode){do a=a.parentNode,e="OBJECT"!==a.tagName.toUpperCase(),f="inline"!==z.getStyle(a,"display"),e&&f&&(e=s.getRect(a),d=e.width<d?e.width:d,b=e.height<
b?e.height:b);while(a.parentNode!==document&&a!==c)}return{width:r.round(d),height:r.round(b)}},findLargestChildNode:function(a){var c,d="iframe img a object embed div".split(" "),b,e,f,h,l=[],n=-1;b=0;for(e=d.length;b<e;b++){var p=a.getElementsByTagName(d[b]);if(p.length)for(f=0,h=p.length;f<h;f++)l.push(p[f])}if(l.length)for(b=0,e=l.length;b<e;b++)a=l[b],d=s.getNodeArea(a),d>n&&(c=a,n=d);return g.isUndef(c)?null:g.isDef(c.nodeName)&&"DIV"==c.nodeName?s.findLargestChildNode(c):c}},ka=function(a){return{getProps:function(){var c=
{};try{var d=document.createElement("span");g(d.style).mixin({position:"absolute",top:"150"});c={rpx:""===d.style.top?1:0}}catch(b){a.add(a.ERROR_ENVIRONMENT)}return c}}},ca=function(a){var c={},d=function(a){g.isDef(c[a])?c[a]++:c[a]=1};a.on("error",function(a){d(a)});return{list:c,add:d,toString:function(){var a="",d;for(d in c)c.hasOwnProperty(d)&&(a+=d);return a},hasErrors:function(){for(var a in c)return!0;return!1},ERROR_GET_AD_DIMENSIONS:"a",ERROR_ADTALK_GENERAL:"c",ERROR_GET_SCREEN_LOC_GET_DIMENSIONS:"d",
ERROR_EXCHANGE_PARSING:"x",ERROR_PHONE_HOME:"h",ERROR_KILL_IT:"k",ERROR_LOCATION_DETAILS:"l",ERROR_GET_SCREEN_LOC_PIV_CALC:"p",ERROR_GET_WIN_DIMENSIONS:"w",ERROR_ADTALK_DUBIOUS:"D",ERROR_ENVIRONMENT:"v",ERROR_UID_GENERATION:"i",ERROR_NOTIFY_CLIENT:"n",ERROR_IMPRESSION_URLS:"I",ERROR_JSINFO:"J",ERROR_IMPRESSION_LEADUP:"L",ERROR_GET_ELEM_STYLE:"s",ERROR_PLUGIN_PARSING:"P",ERROR_AT_SEND:"S",ERROR_AT_INIT:"N",ERROR_BAPI_CALLBACK:"b"}},Ga=function(a,c){var d=function(a){var d=[];if(a&&a instanceof Array)d=
g(a).map(function(a,b){return b.val}),d.push(k.adsafeSrc,k.requrl,k.reqquery);else throw Error("Unexpected data type in ExchangeParser.getUrlList");return d};return{parse:function(b){try{var e,f=d(b),h=f&&f.length&&f.join("|"),l=k.exchList;h&&(e=g(l).map(function(a,b){return 0<=h.indexOf(O.rot(b))?a:void 0}),e.length&&c.addItem({output:e.join(".")},"ex",{type:"UFO"}))}catch(n){a.add(a.ERROR_EXCHANGE_PARSING)}}}},U=function(){var a={},c=function(b,d){var c=RegExp(b+"(?=$|,)|"+b+":(?!,|$)(.?\\d*(?=,|$))").exec(k.jsFeatures);
if(g.isUndef(a[b])||d)a[b]=!!(c&&!c[1]||c&&c[1]>100*r.random());return a[b]},d={fc:"forcecocoa",rt:"rattie",cb:"cachebust",np:"nextcocoa",th:"tabHiddenDtCall"},b=function(){return g(d).mapToObj(function(b,d){var c={};c[b]=a[d]?1:0;return c})};g(d).each(function(a,b){c(b)});return{on:c,output:function(){return g(b()).toParams()}}},pa=function(a){var c=a.browserIs("g")||a.browserIs("i")||t.friendlyIframe||!t.embedded;return{calcPercentInView:function(a,b){var c;c=a.x;var f=b.x;c=Math.min(a.x+a.width,
b.x+b.width)-Math.max(f,c);var f=a.y,g=b.y,f=Math.min(a.y+a.height,b.y+b.height)-Math.max(g,f),g=0>=b.width;c=0>=c||g?0:r.round(c/b.width*100);f=0>=f||g?0:r.round(f/b.height*100);return r.round(c*f/100)},calcInitialViewState:function(a,b){var e=m.NA;if(c||b)e=75<=a?m.IN_VIEW:25>=a?m.OUT_OF_VIEW:50<=a?m.PARTIAL_VIEW_PLUS:m.PARTIAL_VIEW_MINUS;return e},getOverlappingDims:function(a,b){a.x2=a.x+a.width;a.y2=a.y+a.height;b.x2=b.x+b.width;b.y2=b.y+b.height;var c=Math.max(a.x,b.x),f=Math.max(a.y,b.y),g=
Math.min(a.x2,b.x2),l=Math.min(a.x2,b.x2);return c>g||f>l?void 0:a.x<=b.x2&&a.x2>=b.x&&a.y<=b.y2&&a.y2>=b.y}}},la=function(a){var c=!1;return{getCacheBustId:function(){var a=new Date,b=Date.parse("Jan 1 "+a.getFullYear()),a=a.getTime()-b;return g.toBase(a,62)},impressionIsIdentifiable:function(a){a&&(c=!0);return c},unq:function(){var d="";try{for(var b,c=window.Uint32Array&&window.crypto&&window.crypto.getRandomValues;30>d.length;)c?(b=new Uint32Array(1),window.crypto.getRandomValues(b),d+=b[0].toString(16)):
d+=(16*r.random()|0).toString(16);d=d.slice(0,30)}catch(f){a.add(a.ERROR_UID_GENERATION)}return d}()}},oa=function(a,c){var d,b=function(){try{var b,d;if(t.friendly){var c=f(window);b=c.left;d=c.top}else a.browserIs("i")&&11!==a.getDocumentMode()?(c=function(a){b=a.screenX-a.clientX;d=a.screenY-a.clientY},document.documentElement.attachEvent("onmousemove",c),document.documentElement.fireEvent("onmousemove"),document.documentElement.detachEvent("onmousemove",c)):g.isUndef(window.mozInnerScreenX)?(b=
window.screenLeft,d=window.screenTop):(b=r.round(window.mozInnerScreenX),d=r.round(window.mozInnerScreenY));return{x:b,y:d}}catch(e){}},e=function(){var a,b,c=d||s.getIeDimObj();g.isDef(window.innerWidth)?(a=window.innerWidth,b=window.innerHeight):c&&g.isDef(c.clientWidth)?(a=c.clientWidth,b=c.clientHeight,0===a&&0<c.offsetWidth&&(a=c.offsetWidth),0===b&&0<c.offsetHeight&&(b=c.offsetHeight)):window.frameElement&&g.isDef(window.frameElement.clientWidth)&&(a=window.frameElement.clientWidth,b=window.frameElement.clientHeight);
return{width:a,height:b}},f=function(a,b){g.isUndef(b)&&(b={top:0,left:0});for(var d=a.parent.document.getElementsByTagName("iframe"),c,e=!1,k=0,m=d.length;k<m;k++)if(c=d[k],c.contentWindow==a){e=!0;break}e&&(d=s.getRect(c),b.left+=d.left,b.top+=d.top,a!==top&&f(a.parent,b));return b};return{calcDims:function(){var a={};try{a=g(b()).mixin(e())}catch(d){c.add(c.ERROR_GET_AD_DIMENSIONS)}return M(a)},waitForBody:function(a){var b=setInterval(function(){document.body&&(d=s.getIeDimObj(),clearInterval(b),
a())},50)}}},Ba=function(a,c,d,b,e,f,h,l){var n=function(a,b){if(b>=m.MAX_URL_LENGTH)return"";var d,c,e=[],f=function(a){return-1!==a.key.indexOf("q")||-1!==a.key.indexOf("g")};d=g(a).map(function(a,b){if(f(b))return b});c=g(a).map(function(a,b){if(!f(b))return b});g(d.concat(c)).each(function(a,d){var c="adsafe_url="+d.val+"&adsafe_type="+d.key,f=e.join("&").length;c.length+f+b<=m.MAX_URL_LENGTH&&e.push(c)});return e.join("&")},p=function(a){var e=0,n=O.hashCode(k.asid),p="adsafe_jsinfo=",B=l.needsFlash()?
{viewState:m.NA}:l.checkScreenLoc(!0),x="c:"+b.getCacheBustId()+",sl:"+B.viewState+",em:"+t.embedded+",fr:"+t.friendly,D=d.on("postDts")&&z.getXHR2()?"p":"i",w=["pt:"+l.stringifyPingTimes()+(B.viewState!=m.NA?B.details:""),g(h.params()).toParams(),"id:"+k.asid];f.iterate(function(a,b){w.push(a+":"+b.output())});c.toString()&&w.push("e:"+c.toString());w.push(d.output());w.push("uf:"+(l.useFlash()?1:0));w.push("tt:"+k.mode);w.push("et:"+(r.now()-k.birthdate));w.push("uid:"+b.unq);w.push("v:8.4");w.push("sp:"+
("true"===k.jsDoSplit?1:0));w.push("ct:"+t.getPageTime());w.push("dtm:"+D);w.push("mn:"+k.mn);w.push("gtpl:"+("true"===k.getTpl?1:0));d.on("resolution")&&(w.push("wr:"+g(s.windowSize()).toArray().join(".")),w.push("sr:"+g(s.screenSize()).toArray().join(".")));-1===(""+n).indexOf(h.params().br.toUpperCase().charCodeAt(0))&&w.push("mf:"+n);var A=function(b){return p.length+a+b.length+5<=m.MAX_URL_LENGTH},C=function(a){if(a)return","+a};A(x)&&(p+=C(x),g(w).each(function(a,d){-1!==d.indexOf("id:")&&A(d)?
(p+=C(d),b.impressionIsIdentifiable(!0)):A(d)?p+=C(d):e+=1}),C("sp:"+("true"===k.jsDoSplit?1:0)));return p+=",ov:"+e};return{send:function(a){var b=e.baseUrl;try{b+=n(a,b.length)}catch(d){c.add(c.ERROR_IMPRESSION_URLS)}b+="&"===b.slice(-1)?"":"&";try{b+=p(b.length)}catch(f){c.add(c.ERROR_JSINFO),b+="adsafe_jsinfo=e:"+c.toString()}e.macroUrl&&(b+="&"===b.slice(-1)?"":"&",b+=e.macroUrl);try{e.sendImpression(b)}catch(g){__IntegralASDiagnosticCall("impsend",g,k)}}}},ya=function(a,c){return{init:function(d){a.jsonp(d,
function(a){c.send(m.DT_CODES.THIRD_PARTY,void 0,!1,!0,{field:"tpiLookup",value:a})},!1,"callback")}}},va=function(a,c,d){var b=function(a,b){return{time:a,task:b}},e=function(a,d){d=d||g.noop;return function(e){return g(e).map(function(e,g){var l=g/1E3;return new b(g,function(){var b;b="";1!==l&&(b+=l);b=k["_onInViewMRC"+b];c.send(a,l);d(b)})})}};return{getJob:function(a,d){return new b(a,d)},getPingJobs:e(m.DT_CODES.PING,function(b){"true"===k.useViewabilityNotification&&!d.skipAsFraudulent()&&
b&&a.notify(b)}),getFullyInViewPingJobs:e(m.DT_CODES.FULLY_INVIEW),getPosInViewPingJobs:e(m.DT_CODES.POS_INVIEW)}},ia=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 g="__IntegralAS_"+k.asid.replace(/\-/g,"")+"_"+r.round(1E4*Math.random()),l,n,p;f=f||"ias_callback";RegExp(f).test(d)&&(l=RegExp("("+f+"=)(.[^&]*)").exec(d)[0],
n=l.split("=")[1],p=O.stringToFn(n),d=a(d,l));window[g]=function(a){b(a);e&&p&&p(a);window[g]=void 0};return d=c(d,f,g)}}},ha=function(){var a=function(){return void 0!==window.mraid};return{isInView:function(){var c=m.NA;a()&&void 0!==window.mraid.isViewable&&(c=window.mraid.isViewable()?m.IN_VIEW:m.OUT_OF_VIEW);return c},getDetectionMethod:function(){return a()?"m":m.NA},isMobileApp:function(){return a()}}},za=function(a,c,d){var b={jss:{isFW:!0,nodeType:"script"},jsi:{isFW:!0,nodeType:"iframe"},
jload:{impressionMethod:function(a){c.send(a,function(){d.trigger("sendDiag")},!0)}},bapi:{impressionMethod:function(b){c.jsonp(b,a.enabled?a.callback:g.noop,a.enabled?!0:!1)}},jsapi:{isFW:!0,impressionMethod:function(b){c.jsonp(b,a.enabled?a.callback:g.noop,a.enabled?!0:!1)}},jsvid:{impressionMethod:function(a){d.on("adImpression",function(){c.send(a)})}},fwjsvid:{isFW:!0,processUrl:function(a){"false"===k.fwMonitoring&&(a=a.split("/"),a[3]="db2",a[4]="video",a=a.join("/"));return a},impressionMethod:function(a){"false"===
k.fwMonitoring&&c.jsonp(a,function(a){d.trigger("videoBlockResult",a)});d.on("adImpression",function(){c.send(a)})}},jspix:{nodeType:"img"}};return new function(){var a=b[k.mode],d=!!a.isFW,g=d?k.adsafeSrc:k.requrl+"?"+k.reqquery,l=g.indexOf("BEGIN__ADSAFE"),n=-1!==l,p=n?g.slice(l):"",g=n?g.slice(0,l):g+(d?k.adsafeSep:"&");return{isFW:d,baseUrl:g,macroUrl:p,sendImpression:function(b){b=a.processUrl?a.processUrl(b):b;a.nodeType?c.addNode(a.nodeType,b):a.impressionMethod(b)}}}},Fa=function(a,c){var d,
b=k.mtCell,e=k.mtSample,f=0,h=0,l=[],n=null,p=null,q,y=function(a){try{var d=r.now()-n;f+=d;z.removeEvent("mousemove",v);l.push("{ht:"+f+",mm:{"+g(q).toParams()+"}}");c.addItem({output:"{cs:"+b+",sr:"+e+",ec:"+l.length+",me:["+l.slice(-10).join(",")+"]}"},"mt",{type:m.DT_CODES.UNLOAD})}catch(h){}},u=function(a){try{f=0,q={},n=r.now(),z.addEvent(d,"mousemove",v)}catch(b){}},v=function(c){var f,l,n,k,m,v,y;try{null===p&&(p=d&&g.isDef(c.clientX)&&g.isDef(c.clientY));if(p&&0===h%e&&(m=a.calcDims(),-1!==
m)){y=r.ceil(m.width/b);var u=c.clientX,s=c.clientY;n=t.embedded?u:u-m.x;k=t.embedded?s:s-m.y;f=r.floor(n/b);l=r.floor(k/b);v=f+l*y;q[v]?q[v]++:q[v]=1}h++}catch(z){}};return{init:function(){var b=setInterval(function(){try{a.isAdDetected()&&(d=a.getOriginatingElement(),z.addEvent(d,"mouseenter",u),z.addEvent(d,"mouseleave",y),clearInterval(b))}catch(c){}},250)}}},r={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)}},ea=function(){var a={},c=r.now(),d=!0,b=new S,e=function(){var a=function(){c=r.now();window.webkitRequestAnimationFrame(a)};window.webkitRequestAnimationFrame(a);setInterval(function(){var a=100<r.now()-c;d!==a&&(d=a,b.run(a))},100)},f=function(){var a=null;g.isDef(document.hidden)?a=document.hidden:g.isDef(document.mozHidden)?a=document.mozHidden:g.isDef(document.msHidden)?a=document.msHidden:g.isDef(document.webkitHidden)&&
(a=document.webkitHidden);if(null!==a){var c=a;d!==c&&(d=c,b.run(c))}return a};a.onHiddenChange=function(a){b.push(a)};a.isHidden=f;null===f()&&g.isDef(window.webkitRequestAnimationFrame)&&(e(),a.isHidden=function(){return d});return a},fa=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||g.isUndef(c))&&delete a[b]}return a},c=function(a){var b={},c,f;for(f in a)a.hasOwnProperty(f)&&(c=a[f],g.isUndef(b[c])?b[c]=f:b[c]+=f);
a={};for(f in b)b.hasOwnProperty(f)&&(c=b[f],a[c]=f);return a};return{detectTopURL:function(){var d=function(){var a={g:"",q:""};try{a.q=window.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=g.isDef(c))if(d=!1,g.isDef(window.navigator)&&g.isDef(window.navigator.userAgent)){var e=window.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(f){}if(t.embedded){try{b.c=encodeURIComponent(parent.document.referrer)}catch(h){}try{b.e=encodeURIComponent(window.document.referrer)}catch(l){}}try{"jsi"!==k.mode&&(b.d=encodeURIComponent(window.location.href))}catch(n){}try{b.f=encodeURIComponent(k.jsref)}catch(p){}try{var m=
d();b.g=encodeURIComponent(m.g);b.q=encodeURIComponent(m.q)}catch(r){}var b=a(b),b=c(b),d=[],u;for(u in b)b.hasOwnProperty(u)&&d.push({key:u,val:b[u]});d.sort(function(a,b){return a.val.length>b.val.length?1:a.val.length<b.val.length?-1:0});return d}}},Ha=function(a){return{hash:function(){for(var c=0,d=a.length,b=[],e;c<d;c++)e=a[c].filename.replace(/\.plugin$/,""),e=O.hashCode(e),e=g.toBase(e,62).slice(-4),b.push(e);return b},decode:function(c){var d,b;d=r.floor(r.random()*c.length);b=encodeURIComponent(a[d].filename.replace(/\.plugin$/,
""));return[c[d],b]}}},V=function(){var a=!1;return{measure:function(c){a=0===c.rsa},skipAsFraudulent:function(){return a}}},ga=function(){var a=[],c={},d={sl:"n",gsl:"gn",fsl:"fn"},b=0,e,f,h={i:0,o:0,n:0,pp:0,pm:0,gpp:0,gpm:0,gi:0,go:0,gn:0,fi:0,fo:0,fn:0},l=function(a){var b={},c=a.winDimensions,d=a.adDimensions,e=function(a){var b="";g.isDef(a)&&g.isDef(a.x)&&g.isDef(a.y)&&g.isDef(a.width)&&g.isDef(a.height)&&(b=[a.x,a.y,a.width,a.height].join("."));return b};g.isDef(c)&&-1!==c&&(b.wc=e(c));g.isDef(d)&&
-1!==d&&(b.ac=e(d),b.am=a.method,b.cc=e(a.containerDimensions));g({piv:"percentInView",obst:"obstructed",th:"tabHidden",reas:"reason"}).each(function(c,d){var e=a[d];g.isDef(e)&&(b[c]=e)});c=g(b).toParams();return""===c?"":","+c},n=function(a,b){var d=new Na(b);return c[a]=d},k=function(a,b){return(b||"")+{inView:"i",outOfView:"o",na:"n",partialViewMinus:"pm",partialViewPlus:"pp"}[a]},q=function(){g(d).each(function(c,d){h[d]+=a.length?f-b:f});b=f},r=function(b){a.length&&q();g(b).each(function(a,
b){var c=d[a];c!==b&&"n"===c&&(h[b]+=h.n);d[a]=b});a.length||q()},u=function(a){var b;b=l(a);var d={sl:k(a.viewState),fsl:k(a.fState||m.NA,"f"),gsl:k(a.gState||m.NA,"g")};f=t.getTagTime();r(d);d.t=f;b=g({toString:function(){g(c).each(function(a,b){b.fastForward()});return"{"+g(d).toParams()+this.details+this.breakdowns+"}"},details:b,breakdowns:{piv:[],as:[],toString:function(){var a,b=function(a,b){return b.duration+"~"+b.state};a=""+("piv:["+g(this.piv).stringify(b)+"]");a+=",as:["+g(this.as).stringify(b)+
"]";return",bkn:{"+a+"}"}},isInView:function(){return-1!==(m.IN_VIEW+"|"+m.PARTIAL_VIEW_PLUS).indexOf(a.viewState)},isFullyInView:function(){var b=a.useCocoa?a.fullPercentInView:a.percentInView;return this.isInView()&&100===b}}).mixin(d);g(b).mixin(a);return b};(function(){n("piv",function(a){var b,c=a.percentInView,d=[1,30,50];100===c||0===c?b=c:(g(d).each(function(a,e){g.isUndef(b)&&c<e&&(b=d[a-1])}),g.isUndef(b)&&(b=d[d.length-1]));return b});n("as",function(a){return a.adDimensions.width+"."+
a.adDimensions.height})})();return{fastForward:function(){f=t.getTagTime();q()},registerLocation:function(b){var f,l=!1;d.sl==k(b.viewState)&&a.length?(f=new u(b),a[a.length-1].details=f.details):(f=new u(b),a.push(f),e=b.viewState,l=!0);g(c).each(function(b,c){-1!=="piv|as".indexOf(b)?(l&&c.clear(),c.addState(f),a[a.length-1].breakdowns[b]=c.get()):c.addState(f)});return f},stringify:function(b){var c="";a.length&&(c=g({slTimes:"{"+g(h).toParams()+"}",slEvents:"["+a.slice(-b).join(",")+"]",slEventCount:a.length}).toParams());
return c},createViewabilityTracker:n,getCurrentLoc:function(){return k(e)}}},Ca=function(a){var c=k.asid,d=[0,1,4],b,e=function(){var a=setInterval(function(){window.postMessage({asid:c,ksca:"acsk",sender:"main"},"*")},50);window.addEventListener("message",function(b){b=b.data;"acsk"===b.ksca&&b.asid===c&&"main"!==b.sender&&("ack"===b.type&&clearInterval(a),"complete"===b.type&&(b.timeReturned=r.now(),f(b)),d.length&&(b=d.shift(),window.postMessage(h(b),"*")))})},f=function(b){var c=-5-0.1*b.targets,
d=m.DT_CODES.SCA;b="{"+g(b).stringify(function(a,b){var c;0===a.indexOf("time")?c=a+":"+b:"resultList"===a&&(c="rl:"+g(b).map(function(a,b){return"{"+g(b).toParams()+"}"}).join("."));return c})+"}";a.trigger("addOutputItem",{output:b},"sc",{type:d});a.trigger("sendDt",d,c)},h=function(){var a=0,d=c.replace("-",""),e=d.substr(-6);return function(g){for(var f=b,h=r.now(),k=g,m=[];k--;)m.push(d.substr(++a,3));return{scaUrl:f,targets:g,timeBegun:h,src:e,targetList:m,asid:c,ksca:"acsk",sender:"main",cap:1E6}}}();
return{load:function(){if(!g.isUndef(window.Worker)&&!g.isUndef(window.Blob)){var c=new J;c.sub("static");c.master(c.master().split(":")[0]);c.path("/sca.js");b=c.toString();a.trigger("exec",b);e()}}}},O={rot:function(a){return a.replace(/[a-zA-Z]/g,function(a){return String.fromCharCode(("Z">=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;d<e;d++)b=a.charCodeAt(d),c=(c<<5)-c+b,c|=0;return c},stringToFn:function(a){var c,
d=window,b=a.split(".");for(a=0;a<b.length;a++)if(c=d,d=d[b[a]],g.isUndef(d)||a===b.length-1&&!g.isFunction(d))return!1;return function(){d.apply(c,arguments)}}},ra=function(a,c,d,b,e){var f=m.OUT_OF_VIEW,h,l=function(){if(h)return h;var b=g(document.getElementsByTagName("object")).toArray(),c=g(document.getElementsByTagName("embed")).toArray(),d="IASid"+a;return h=g(b.concat(c)).find(function(b,c){var e=g.isFunction(c[d]);if(e)c[d](a);return e})};d.on("videoBlockResult",function(b){var c=l(),d=!1,
e="blockAd"+a;"failed"===b.action&&(d=!0);if(c&&g.isDef(c.blockAd))c.blockAd(d);else if(c&&g.isDef(c[e]))c[e](d)});(function(){var g=!1,h=!1;c.on("hundredpct")&&k.use100v&&(new Pa(d,b)).init();z.addEvent(window,"message",function(b){var c={};try{c=JSON.parse(unescape(b.data))}catch(k){c={}}c.recordType="video";c.id===a&&(b=c.messageType,-1!=="showAd|adStarted|adVideoStart|adVideoStarted|resumeAd".indexOf(b)?(g=!0,f=h?m.IN_VIEW:!1):-1!=="adVideoComplete|adStopped|stopAd|pauseAd".indexOf(b)?(g=!1,f=
m.OUT_OF_VIEW):"resizeAd"===b&&("fullscreen"===c.viewMode?(h=!0,f=g?m.IN_VIEW:m.OUT_OF_VIEW):(h=!1,f=g?!1:m.OUT_OF_VIEW)),e.addRecord(c),d.trigger(b,c))})})();return{findVideo:l,version:l().getVersion(),forceViewState:function(){return f}}},qa=function(a){var c=[],d=function(b){var c=g({t:b.time-k.birthdate,tp:b.messageType,vid:b.id,sl:a.getCurrentLoc()}).mixin(b.eventData);return g({toString:function(){return"{"+g(c).toParams()+"}"}}).mixin(c)};return{getEvents:function(){return c},addRecord:function(a){a=
new d(a);c.push(a)},stringify:function(){return"{"+g({vEventCount:c.length,vEvents:"["+c.join(",")+"]"}).toParams()+"}"}}},Aa=function(a,c,d,b,e,f,h,l,n,p,q,s,u,v,B){var x,D,w,A,C=0,K=0,L,F=-1!==k.mode.indexOf("jsvid"),J=q.isMobileApp(),O=F?200:100,M=b.on("recordalternate");d=b.on("forcecocoa");var G=a.getDocumentMode(),G=a.browserIs("g")||a.browserIs("i")&&(9===G||10===G)&&b.on("rattie"),E=t.friendlyIframe&&d||t.xDomainIframe&&G&&d||t.xDomainIframe&&!G,I=E&&b.on("cocoapuffs"),P=new Oa(10),H=[F&&
b.on("videotwoseconds")?2E3:1E3,5E3,15E3],Q=g(H).map(function(a,b){return b/1E3}).join("-"),R=new aa(1E3),S=new $(p.getPingJobs(H));if(b.on("hundredpct")&&k.use100v)var Y=new aa(1E3),U=new $(p.getFullyInViewPingJobs(H));if(b.on("tabHiddenDtCall"))var W=new aa(1E3),V=new $(p.getPosInViewPingJobs([H[0]]));var T=function(d){P.start();var f,h,l;f=u.collect();l=function(){T();b.on("viewabilityready")&&c.send(m.DT_CODES.VIEWABILITY_READY)};M&&(f.gState=f.viewState);if(I){x=x||new Z(N,f.adDimensions,l,b,
s,a)||{};h=x.checkViewable();b.on("hundredpct")&&k.use100v&&(A=A||new Ma(La,f.adDimensions,l,a,b,e,n,s)||{},l=A.checkViewable(),f.fullPercentInView=l.pct,f.useCocoa=I);if(1!==f.tabHidden||h.str===m.NA)f.viewState=h.str;f.percentInView=h.pct;b.on("unreliabilityDetection")&&(w=w||new Z(N,{height:0,width:-2E4},g.noop,b,s,a)||{},h=w.checkViewable(),h.str!==m.OUT_OF_VIEW&&(K+=1),C+=1,n.addItem({output:K+"/"+C},"fu"))}else E&&(f.viewState=m.NA,f.percentInView=-1);M&&(D||d||(D=I?x:new Z(N,f.adDimensions,
g.noop,b,s,a,e)),f.fState=d?m.NA:D.checkViewable().str);if(F){if(d=B.forceViewState())f.viewState=d}else J&&(f.viewState=q.isInView());d=v.registerLocation(f);b.on("hundredpct")&&k.use100v&&(d.isFullyInView()?(Y.mark(),U.doEligibleJobs(Y.getTotalTime())):Y.stop());d.isInView()?(R.mark(),S.doEligibleJobs(R.getTotalTime())):R.stop();(h=S.getNextJob())&&h.time===H[0]&&b.on("tabHiddenDtCall")&&(f.posViewState===m.IN_VIEW||f.posViewState===m.PARTIAL_VIEW_PLUS?(W.mark(),V.doEligibleJobs(W.getTotalTime())):
W.stop());P.stop();f=r.round(P.getTime()/P.getCount());n.addItem({output:f},"lt",{type:m.DT_CODES.UNLOAD});return d},X=function(a){L=!0;var b=!1;a=function(){b||(b=!0,c.send(m.DT_CODES.VIDEO_EVENTS))};h.impressionIsIdentifiable()&&(T(),setInterval(T,O),f.on("adStopped",a),f.on("adVideoComplete",a),z.addEvent(window,"beforeunload",c.unload,!1),F&&z.addEvent(window,"beforeunload",a,!1))};return{checkScreenLoc:T,init:function(){"true"===k.allowViewability&&g.isFunction(document.addEventListener)?(L=
!1,"complete"==document.readyState||"loaded"==document.readyState||"interactive"==document.readyState?r.execAtEndOfThread(X):document.addEventListener("DOMContentLoaded",X,!1)):l.waitForBody(X)},needsFlash:function(){return E},readyFired:function(){return L},useFlash:function(){return I},stringifyPingTimes:function(){return Q}}};try{Ia()}catch(Qa){__IntegralASDiagnosticCall("main",Qa,k)}};
try{__IntegralASConfig.initialize(__IntegralASConfig)}catch(err$$13){__IntegralASDiagnosticCall("initialize",err$$13,__IntegralASConfig)};
