var __IntegralASDiagnosticCall = function(){}; try { var __IntegralASConfig = { jsDoSplit : true, cocaPuffsPath : "", debug : "false", killPhrases : "", jsDiag:'false', version:'17.4.20', mtCell: 10, mtSample: 5, 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', sp_cdnDomain:'cdn.adsafeprotected.com', sp_cdnScripts:{xsca: "cdn.adsafeprotected.com/xsca.17.4.1.js", sca: "cdn.adsafeprotected.com/sca.17.4.1.js" , main: "static.adsafeprotected.com/main.17.4.20.js"}, protocol:'https', jsref : "https:\/\/www.networkworld.com\/article\/3229751\/servers\/americas-first-exascale-supercomputer-set-for-2021-debut.html?idg_eid=364a52d5b929c3efd5fea28ebf84c7fc&email_SHA1_lc=711153b5e987f01875bda29a9514e99431ac2a0a&cid=nww_nlt_networkworld_daily_news_alert_2017-10-03&utm_source=Sailthru&utm_medium=email&utm_campaign=NWW%20Daily%20AM%20Alert%202017-10-03&utm_term=networkworld_daily_news_alert", asid : "744f8192-a8d4-11e7-a790-382c4ac63055", allowViewability : "true", jsFeatures : "cocoapuffs,viewabilityready,consecutive,cachebust:0,forcecocoa:0,rattie,exch,recordalternate:0,usedtdomain,nextcocoa:100,bapiDiag,postDts:0,videotwoseconds,getPl,decodePl,resolution,usetpl,tpiLookupURL,hundredpct,jloadDiag:0,blur:0,sendclogs,zeroPing,idMap,offscreen,everySecond:1,sdkdetection,moreAdTalkCalls,slid,fm2:1,largeAd,nextcocoaie:100,usevh,fxdet:0,mmsb:0,bigmon:0,chromeNativeIO:100,oddet:0,ios:100,ancestor:100,avmm:100,avgrn:100,useScreenLocationInfoAdaptor:100,swapids:100,pIntervals:10,firewall_cdn_domain,forceid:0,usesca:10,usexsca:0,bustediframe:100,impFailSafe:100,yieldmo:100,displayCustomView:0,sfdetect,pmdetect:100,novidnodeerr:5,diagnosticCM:0,viewabilityOptimization:100,usehaps:100,customMetric:100,sizmek,celtra,groupmCM,avidPropertiesInImpression,abcAudit,useMraidGeometricMeasurement,useAvidGeometricMeasurement", adsafeDomain : "adsafeprotected.com:80", minimizeCalls : "false", adWidth : "", adHeight : "", forceAppend : "true", sp_imp_maxLength: 6000, sp_imp_jsInfo_minLength: 200, _onInViewMRC15 : __IntegralASConfig && __IntegralASConfig.onInViewMRC15, _onInViewMRC : __IntegralASConfig && __IntegralASConfig.onInViewMRC, _onMeasurable : __IntegralASConfig && __IntegralASConfig.onMeasurable, _onAPIResult : __IntegralASConfig && __IntegralASConfig.onAPIResult, _onInViewFull : __IntegralASConfig && __IntegralASConfig.onInViewFull, _onSuspicious : __IntegralASConfig && __IntegralASConfig.onSuspicious, _onInViewMRC5 : __IntegralASConfig && __IntegralASConfig.onInViewMRC5, reqquery : "anId=8879&campId=1x1&pubId=25398656&chanId=22351376&placementId=152957576&pubCreative=84831156176&pubOrder=199759016&cb=451775536&custom=inread&custom2=networkworld.com", mode : "jload", requrl : "https:\/\/pixel.adsafeprotected.com\/mon", dtBaseURL: "https:\/\/dt.adsafeprotected.com\/dt?anId=8879", adsafeSrc : "", tpiLookupURL:"", getTpl: "false", use100v: true, useBapiCallback: "", useViewabilityNotification: "", scriptUrl : "https:\/\/pixel.adsafeprotected.com\/jload?anId=8879&campId=1x1&pubId=25398656&chanId=22351376&placementId=152957576&pubCreative=84831156176&pubOrder=199", accountForSadImps:'', sendCookie:'false', cookieBaseURL:'sc.iasds01.com\/dtc?anId=8879&pubId=25398656', fwMonitoring:'', doNothing: false, mn: "app27ami", mobOrTab: false, mobFwUrl : "https://mobile.adsafeprotected.com/external/monitoring/app/initial/8879/", anId : '8879', advEntityId : '', pubEntityId : '', videoId : '', videoChannel : '', customViewability: [{ "id":"publ1", "tiv": 1, "minunit":1, "thresholds": [{"piv":100, "ub":242499}, {"piv":30, "lb":242500}], "mediaTypes":["display"], "distributionChannels":["web","app"] }, { "id":"publ2", "tiv": 2, "minunit":2, "thresholds": [{"piv":100, "ub": 242499}, {"piv":50, "lb": 242500}], "mediaTypes":["video"], "distributionChannels":["web","app"] },{ "id":"grpm1", "tiv": 1, "minunit":1, "thresholds": [{"piv":100, "ub": 242499}, {"piv": 50, "lb": 242500}], "mediaTypes":["display"], "deviceGroups":["desktop","mobile"], "distributionChannels":["web","app"], "rts":"_onInViewGroupM" }, { "id":"grpm2", "tiv": "15|50%", "minunit":1, "sound": "on", "soundExcl": "groupm_native", "thresholds": [{"piv":100, "ub": 299999},{"piv":80, "lb": 300000} ], "mediaTypes":["video"], "deviceGroups":["desktop","mobile"], "distributionChannels":["web","app"] },{ "id":"fiv1", "tiv": 1, "minunit":1, "thresholds": [{"piv":100, "lb": 0}], "mediaTypes":["display"], "deviceGroups":["desktop","mobile"], "distributionChannels":["web","app"], "type": "pf" }, { "id":"fiv2", "tiv": 2, "minunit":1, "thresholds": [{"piv":100, "lb": 0}], "mediaTypes":["video"], "deviceGroups":["desktop","mobile"], "distributionChannels":["web","app"], "type": "pf" },{ "id":"sky1", "tiv": 1, "minunit":1, "thresholds": [{"piv": 75, "lb": 0}], "mediaTypes":["display"], "deviceGroups":["desktop","mobile"], "distributionChannels":["web","app"]}, { "id":"sky2", "tiv": 2, "minunit":1, "thresholds": [{"piv":50, "lb": 0} ], "mediaTypes":["video"], "deviceGroups":["desktop","mobile"], "distributionChannels":["web","app"]}], validBundleId: false }; 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); } // This is an immediately invoked bootstrapper extension, rather than an anonymous IIFE to enable unit testing. window.__IntegralASConfig = window.__IntegralASConfig || {}; window.__IntegralASConfig.mainScriptAppender = function(params, appenderScope) { "use strict"; // TODO: minification for this file var mainScriptScope, mainScriptDoc; function isDef(obj) { return typeof obj !== 'undefined'; } function isFunc(obj) { return typeof obj === 'function'; } function sendDiag(point, err) { if (isFunc(appenderScope.__IntegralASDiagnosticCall)) { appenderScope.__IntegralASDiagnosticCall('appender-' + point, err, params); } } function getInitializerIfAvailable() { // TODO: future enhancement - look in top when available and consider storing in top when possible to increase availability. // Also consider potential timing issues between when a version of __IntegralASExec would be // loaded by another script vs. when this code checks. (E.g. three tags on a page all direct. // When the Bootstrapper Script runs for all three, none have had time to load an __IntegralASExec // yet, so all three wind up requesting it. (The browser may combine the requests into one due to browser caching.) // Perhaps the three tags should coordinate somehow?) var result = false; var functionExists = isDef(mainScriptScope.__IntegralASExec) && isDef(mainScriptScope.__IntegralASExec[params.version]) && isFunc(mainScriptScope.__IntegralASExec[params.version].initialize); if (functionExists) { result = mainScriptScope.__IntegralASExec[params.version].initialize; } return result; } // TODO: add an onload handler so we can short-circuit polling https://stackoverflow.com/questions/4845762/onload-handler-for-script-tag-in-internet-explorer function appendScript(scriptUrl) { var script = mainScriptDoc.createElement('script'); script.type = 'text/javascript'; script.src = scriptUrl; mainScriptDoc.head.appendChild(script); } function lookForMainScriptAndRun() { var intervalId, initializerFn, shouldSendTimeout, timePassed, timeoutExceeded; var TIMEOUT_MS = 5000; var INTERVAL_MS = 25; var timeoutDiagSent = false; intervalId = setInterval(function() { try { initializerFn = getInitializerIfAvailable(); if (initializerFn) { clearInterval(intervalId); initializerFn(params, mainScriptScope, mainScriptDoc); } else { timePassed = new Date().getTime() - params.birthdate; timeoutExceeded = timePassed > TIMEOUT_MS; shouldSendTimeout = !timeoutDiagSent && timeoutExceeded; if (shouldSendTimeout) { sendDiag('timeout', new Error('Exceeded 5s time limit on loading static script.')); timeoutDiagSent = true; } } } catch(err) { sendDiag('interval', err); clearInterval(intervalId); } }, INTERVAL_MS); } function loadMainScript(scriptUrl) { // In jss,jsi,jspix modes, when params.forceAppend is "false", we need to use document.write instead of document.append // TODO: check for docWrite mode and properly invoke when we move beyond "jload only" appendScript(scriptUrl); lookForMainScriptAndRun(); } function beginAppending() { var mainScriptUrl = params.protocol + '://' + params.sp_cdnScripts.main; mainScriptScope = params.useFIF ? appenderScope.parent : appenderScope; mainScriptDoc = mainScriptScope.document; // TODO: add functionality here to getInitializerIfAvailable() and only requst the main script if necessary // Not doing now because: // 1) it adds a lot of complexity to testing // 2) in most of the initial use cases, our script will be in its own iframe and // I don't want to add the complexity of looking in other scopes yet loadMainScript(mainScriptUrl); } function isValidToAppend() { var configIsValid = params.protocol && params.sp_cdnScripts && params.sp_cdnScripts.main, tagTypeIsValid = params.mode === 'jload'; return configIsValid && tagTypeIsValid; } function start() { try { params.isSplitMode = true; if (isValidToAppend()) { beginAppending(); } else { throw new Error("incorrect configuration for split mode"); } } catch(err) { sendDiag('start', err); } } start(); }; window.__IntegralASConfig.mainScriptAppender(window.__IntegralASConfig, window);