var impressionTagOptions = {"creatives":{"380143":{"size":{"width":728,"height":90},"processors":{},"channels":{"externalPage":true,"nav":{"expansionType":"float","expandInitially":null,"animationLength":0.75,"adTagId":51391180,"panelSettings":{"zIndex":"9999"}},"feature":{"dynodeBaseUrl":"https://dynode.spongecell.com","studioAssetBaseUrl":"https://live-ssl.cdn.spongecell.com","ipLocateUrl":"https://dynamic.spongecell.com/location.js","locationsUrl":"https://locations-ssl.cdn.spongecell.com/api/locations.js","features":[{"id":47476,"featureType":"video","name":"Video","feedId":null,"importId":null,"processorId":null,"masterAssetId":943337,"type":"video"},{"id":47477,"featureType":"video","name":"video2","feedId":null,"importId":null,"processorId":null,"masterAssetId":null,"type":"video"}]},"mraid":{"mraid":true},"setup":{"features":[{"id":47476,"featureType":"video","name":"Video","label":"Video","masterAssetId":943337,"processorId":null,"itemIndex":null,"dynamicContent":false,"settings":{"autoLaunch":"never"},"swfUrl":"/flash/video-js.swf"},{"id":47477,"featureType":"video","name":"video2","label":"Video 2","masterAssetId":null,"processorId":null,"itemIndex":null,"dynamicContent":false,"settings":{"autoLaunch":"afterEngagement"},"swfUrl":"/flash/video-js.swf"}],"landingPages":{"55215":"https://ad.doubleclick.net/ddm/clk/312470079;140238925;c","56089":"https://ad.doubleclick.net/ddm/clk/312470079;140238925;c","":"https://ad.doubleclick.net/ddm/clk/312470079;140238925;c"},"api":{"landingPages":{"55215":{"id":55215,"url":"https://www.americanfunds.com/individual/our-company/capital-system.html"},"56089":{"id":56089,"url":"https://www.americanfunds.com/individual/our-company/capital-system.html"}}},"studioAssetBaseUrl":"https://live-ssl.cdn.spongecell.com","border":{"thickness":2,"color":"rgb(0, 0, 0)"},"assets":{"911494":{"label":"index.html","path":"/studio/assets/1162429/original/index.html","width":null,"height":null,"contentType":"text/html"},"911528":{"label":"index.html","path":"/studio/assets/1162476/original/index.html","width":null,"height":null,"contentType":"text/html"},"911533":{"label":"300x250video.jpg","path":"/studio/assets/1162492/full/300x250video.jpg","width":500,"height":250,"contentType":"image/jpeg"},"911534":{"label":"300x250expandedstatic.jpg","path":"/studio/assets/1162493/full/300x250expandedstatic.jpg","width":500,"height":250,"contentType":"image/jpeg"},"911536":{"label":"CapSys_Main_Video_Full_NoSubtitles_1080p_(1)_1.mp4","path":"/studio/assets/1162495/original/CapSys_Main_Video_Full_NoSubtitles_1080p_(1)_1.mp4","width":null,"height":null,"contentType":"video/mp4","children":[{"path":"/studio/assets/1162495/original/assets/video.mp4","width":null,"height":null,"contentType":"video/mp4","bitrate":null},{"path":"/studio/assets/1162495/original/assets/video.webm","width":null,"height":null,"contentType":"video/webm","bitrate":null}]},"911546":{"label":"300x250backup.jpg","path":"/studio/assets/1162501/full/300x250backup.jpg","width":300,"height":250,"contentType":"image/jpeg"},"911547":{"label":"index.html","path":"/studio/assets/1162502/original/index.html","width":null,"height":null,"contentType":"text/html"},"911551":{"label":"728x90video.jpg","path":"/studio/assets/1162514/full/728x90video.jpg","width":728,"height":180,"contentType":"image/jpeg"},"911556":{"label":"728x90static.jpg","path":"/studio/assets/1162519/full/728x90static.jpg","width":728,"height":180,"contentType":"image/jpeg"},"911561":{"label":"728x90backup.jpg","path":"/studio/assets/1162524/full/728x90backup.jpg","width":728,"height":90,"contentType":"image/jpeg"},"911564":{"label":"index.html","path":"/studio/assets/1162527/original/index.html","width":null,"height":null,"contentType":"text/html"},"911565":{"label":"160backup.jpg","path":"/studio/assets/1162536/full/160backup.jpg","width":160,"height":600,"contentType":"image/jpeg"},"911570":{"label":"160x600video.jpg","path":"/studio/assets/1162541/full/160x600video.jpg","width":320,"height":600,"contentType":"image/jpeg"},"911571":{"label":"160x600static.jpg","path":"/studio/assets/1162542/full/160x600static.jpg","width":320,"height":600,"contentType":"image/jpeg"},"911580":{"label":"index.html","path":"/studio/assets/1162551/original/index.html","width":null,"height":null,"contentType":"text/html"},"911583":{"label":"300x600backup.jpg","path":"/studio/assets/1162562/full/300x600backup.jpg","width":300,"height":600,"contentType":"image/jpeg"},"911587":{"label":"300x600video.jpg","path":"/studio/assets/1162566/full/300x600video.jpg","width":500,"height":600,"contentType":"image/jpeg"},"911588":{"label":"300x600static.jpg","path":"/studio/assets/1162567/full/300x600static.jpg","width":500,"height":600,"contentType":"image/jpeg"},"943337":{"label":"CapSys_compressed.mp4","path":"/studio/assets/1265252/original/CapSys_compressed.mp4","width":null,"height":null,"contentType":"video/mp4","children":[{"path":"/studio/assets/1265252/original/assets/video.mp4","width":1920,"height":1080,"contentType":"video/mp4","bitrate":284},{"path":"/studio/assets/1265252/original/assets/video.webm","width":1920,"height":1080,"contentType":"video/webm","bitrate":245}]},"946587":{"label":"CapGroup_RichMedia_Main_300x600_Expanded2.png","path":"/studio/assets/1176402/full/CapGroup_RichMedia_Main_300x600_Expanded2.png","width":1000,"height":1200,"contentType":"image/png"},"946589":{"label":"mainbanner.jpg","path":"/studio/assets/1176404/full/mainbanner.jpg","width":500,"height":600,"contentType":"image/jpeg"},"973192":{"label":"main160test.jpg","path":"/studio/assets/1204306/full/main160test.jpg","width":160,"height":91,"contentType":"image/jpeg"},"973193":{"label":"main300.jpg","path":"/studio/assets/1204307/full/main300.jpg","width":205,"height":76,"contentType":"image/jpeg"},"973194":{"label":"main600.jpg","path":"/studio/assets/1204308/full/main600.jpg","width":180,"height":113,"contentType":"image/jpeg"},"973195":{"label":"main728.jpg","path":"/studio/assets/1204315/full/main728.jpg","width":131,"height":90,"contentType":"image/jpeg"},"979331":{"label":"capital_system_main_thumbnail_720.jpg","path":"/studio/assets/1215432/full/capital_system_main_thumbnail_720.jpg","width":720,"height":377,"contentType":"image/jpeg"},"979332":{"label":"capital_system_main_thumbnail_720.jpg","path":"/studio/assets/1215466/full/capital_system_main_thumbnail_720.jpg","width":720,"height":377,"contentType":"image/jpeg"},"979342":{"label":"Thumbnail300.jpg","path":"/studio/assets/1215509/full/Thumbnail300.jpg","width":445,"height":250,"contentType":"image/jpeg"},"979347":{"label":"Thumbnail728.jpg","path":"/studio/assets/1215547/full/Thumbnail728.jpg","width":320,"height":180,"contentType":"image/jpeg"},"979355":{"label":"Thumbnail160.jpg","path":"/studio/assets/1215555/full/Thumbnail160.jpg","width":320,"height":186,"contentType":"image/jpeg"},"979357":{"label":"Thumbnail600.jpg","path":"/studio/assets/1215557/full/Thumbnail600.jpg","width":500,"height":282,"contentType":"image/jpeg"},"984320":{"label":"RichMedia_Main_300x250_click.png","path":"/studio/assets/1220722/full/RichMedia_Main_300x250_click.png","width":198,"height":75,"contentType":"image/png"},"984321":{"label":"RichMedia_Main_300x250_click.png","path":"/studio/assets/1220723/full/RichMedia_Main_300x250_click.png","width":198,"height":75,"contentType":"image/png"},"984322":{"label":"RichMedia_Main_300x600_click.png","path":"/studio/assets/1220724/full/RichMedia_Main_300x600_click.png","width":172,"height":114,"contentType":"image/png"},"984323":{"label":"RichMedia_Main_160x600_click.png","path":"/studio/assets/1220725/full/RichMedia_Main_160x600_click.png","width":160,"height":80,"contentType":"image/png"},"984326":{"label":"RichMedia_Main_728x90_click.png","path":"/studio/assets/1220774/full/RichMedia_Main_728x90_click.png","width":120,"height":90,"contentType":"image/png"},"984414":{"label":"videomain300.jpg","path":"/studio/assets/1220859/full/videomain300.jpg","width":445,"height":250,"contentType":"image/jpeg"},"984415":{"label":"videomain728.jpg","path":"/studio/assets/1220860/full/videomain728.jpg","width":320,"height":180,"contentType":"image/jpeg"},"984417":{"label":"videomain600.jpg","path":"/studio/assets/1220861/full/videomain600.jpg","width":500,"height":282,"contentType":"image/jpeg"},"1":{"label":"SC_LeftArrow_up.png","path":"/studio/assets/102777/full/SC_LeftArrow_up.png","width":40,"height":40,"contentType":"image/png"},"2":{"label":"SC_LeftArrow_over.png","path":"/studio/assets/102778/full/SC_LeftArrow_over.png","width":40,"height":40,"contentType":"image/png"},"3":{"label":"SC_RightArrow_up.png","path":"/studio/assets/102779/full/SC_RightArrow_up.png","width":40,"height":40,"contentType":"image/png"},"4":{"label":"SC_RightArrow_over.png","path":"/studio/assets/102780/full/SC_RightArrow_over.png","width":40,"height":40,"contentType":"image/png"},"5":{"label":"SC_CloseBtn_up.png","path":"/studio/assets/102781/full/SC_CloseBtn_up.png","width":26,"height":26,"contentType":"image/png"},"6":{"label":"SC_CloseBtn_over.png","path":"/studio/assets/102782/full/SC_CloseBtn_over.png","width":26,"height":26,"contentType":"image/png"},"7":{"label":"SC_CloseBtn_down.png","path":"/studio/assets/102783/full/SC_CloseBtn_down.png","width":26,"height":26,"contentType":"image/png"},"8":{"label":"SC_MapMarker_active.png","path":"/studio/assets/102784/full/SC_MapMarker_active.png","width":18,"height":30,"contentType":"image/png"},"9":{"label":"SC_MapMarker_inactive.png","path":"/studio/assets/102785/full/SC_MapMarker_inactive.png","width":18,"height":30,"contentType":"image/png"},"873612":{"label":"Placeholder.mp4 (15s)","path":"/studio/assets/1128951/original/Placeholder.mp4","width":null,"height":null,"contentType":"video/mp4"},"873613":{"label":"Placeholder.mp4 (30s)","path":"/studio/assets/1128952/original/Placeholder.mp4","width":null,"height":null,"contentType":"video/mp4"}},"loading":{"strategy":"home"},"formatSettings":{"mobile":null},"panel[zIndex]":"9999"},"tracking":{"heatMapBaseUrl":"https://fire.spongecell.com","trackingBaseUrl":"https://analytics.spongecell.com/ad_tags","coreIid":"JqtRv5gX1IJ-ot6I6aFSGJC","srParams":"targetingContainerId=17975&loc=02138%2C506%2Ccambridge%2Cma%2Cus","heatMapEnabled":true,"trackingEnabled":true,"macros":{"placementId":["SPONGECELL_PLACEMENT_ID"],"siteId":["SPONGECELL_SITE_ID"],"activityPixel":["SPONGECELL_ACTIVITY_PIXEL"]},"pixels":{"impression":null,"impressions":["https://analytics.spongecell.com/sync/3/?r=https%3A%2F%2Ftags.bluekai.com%2Fsite%2F18432%3Fid%3D%5BSPONGEKEY%5D","https://analytics.spongecell.com/sync/4/?r=https%3A%2F%2Faa.agkn.com%2Fadscores%2Fg.pixel%3Fsid%3D9212268118%26sc%3D%5BSPONGEKEY%5D","https://analytics.spongecell.com/sync/6/?r=https%3A%2F%2Fdpm.demdex.net%2Fibs%3Adpid%3D22053%26dpuuid%3D%5BSPONGEKEY%5D","https://analytics.spongecell.com/sync/14/?r=https%3A%2F%2Fhttp%3A%2F%2Fd.turn.com%2Fr%2Fdd%2Fid%2FL21rdC85MjcvY2lkLzI4NjE1NjQxL3QvMg%2Fdpuid%2F%5BSPONGEKEY%5D%2Furl%2Fhttps%3A%2F%2Fwww.spongecell.com%2Fturnid%3D%24%21%7BTURN_UUID%7D","https://analytics.spongecell.com/sync/10/?r=https%3A%2F%2Fbcp.crwdcntrl.net%2Fmap%2Fc%3D7222%2Ftp%3DSGRS%2Ftpid%3D%5BSPONGEKEY%5D"],"dynode":null,"dynodes":[],"core":null,"cores":[],"engagement":null,"engagements":[],"completion":null,"completions":[],"expansion":null,"expansions":[],"clickThrough":null,"clickThroughs":[],"start":null,"starts":[],"firstQuartile":null,"firstQuartiles":[],"midpoint":null,"midpoints":[],"thirdQuartile":null,"thirdQuartiles":[],"complete":null,"completes":[]},"adTag":{"id":51391180,"name":"Investor_Synced Medium Rectangle-Leaderboard in Markets_RichMedia_728x90_1x1"},"brand":{"id":13259},"campaign":{"id":13433},"container":{"id":13838},"creative":{"id":380143,"name":"Capital Systems Animations","width":728,"height":90},"concept":{"id":33248},"weight":{"value":1.0},"rotationGroup":{"id":49931},"frequencyEnabled":false,"flight":{"id":36996,"name":"NYT"},"placement":{"id":"140238925","name":"Investor_Synced Medium Rectangle-Leaderboard in Markets_RichMedia_728x90_1x1"},"site":{"id":""}},"loading":{"animation":{"type":"circle","bgColor":"rgb(255, 255, 255)","fgColor":"rgb(0, 0, 0)"}}},"tags":{"backup":{"imageUrl":"https://live-ssl.cdn.spongecell.com/studio/assets/1162524/full/728x90backup.jpg","linkUrl":"https://www.americanfunds.com/individual/our-company/capital-system.html","border":{"thickness":2,"color":"rgb(0, 0, 0)"},"html5":true,"size":{"width":728,"height":90}},"studioScript":{"loading":"initial","expansionRequired":true,"border":{"thickness":2,"color":"rgb(0, 0, 0)"},"adTagId":51391180,"jsUrl":"https://royale-ssl.cdn.spongecell.com/studio/ads/51500/568934.js","cssUrl":"https://royale-ssl.cdn.spongecell.com/studio/ads/51500/568934.css"}},"weight":1.0}},"channels":{"externalPage":true,"nav":true,"modern_feature":true,"mraid":true,"setup":true,"tracking":true,"loading":true,"hooks":{"beforeAdLoad":"var setupPanel = function() {\r\n try {\r\n window.frameElement.parentNode.style.width = '728px';\r\n window.frameElement.parentNode.style.height = '90px';\r\n } catch(e) {}\r\n}\r\nsetTimeout(setupPanel, 200);","afterPageLoad":""}},"tags":{"backup":true,"studioScript":true}}; (function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Cookie=function(){function e(){}return e.createCookie=function(e,t,n){var i,r;return null==n&&(n=24),navigator.cookieEnabled?(i=new Date,i.setTime(i.getTime()+60*parseInt(n)*60*1e3),r="; expires="+i.toGMTString(),document.cookie=e+"="+t+r+"; path=/"):null},e.readCookie=function(e){var t,n,i,r,a,o;if(!navigator.cookieEnabled)return null;for(o=e+"=",n=document.cookie.split(";"),i=0,r=0,a=n.length;a>r;r++)if(t=n[r]," "===t[0]&&(t=t.substring(1,t.length)),0===t.indexOf(o))return t.substring(o.length,t.length);return null},e}()}).call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Browser=function(){function e(){}var t,n;return t=/Android ([2].?[3-9].?[0-9]?|[4-6].?[0-9].?[0-9]?)/i,e.detect=function(e){var n,i,r,a,o,s,l,u,c;return null==e&&(e=navigator.userAgent),o=null!=(s=e.match(/(ipod|iphone|ipad)/i))&&null!=(l=s[1])?l.toLowerCase():void 0,n=/android/i.test(e),a=function(t){var n;return n=e.match(t),parseFloat(null!=n?n[1]:void 0)||""},c=a(/version\/(\d+(\.\d+)?)/i),i=/chrome.+? edge/i.test(e)?{msedge:!0,version:a(/edge\/(\d+(\.\d+)?)/i)}:/chrome|crmo|spotify|crios/i.test(e)?{chrome:!0,version:a(/(?:chrome|crmo|spotify)\/(\d+(\.\d+)?)/i)}:/firefox/i.test(e)?{firefox:!0,version:a(/(?:firefox)[ \/](\d+(\.\d+)?)/i)}:/msie|trident/i.test(e)?(u=a(/(?:msie |rv:)(\d+(\.\d+)?)/i),r={msie:!0,version:u},10>u?r.unsupported=!0:void 0,r):/phantom/i.test(e)?{phantom:!0}:/safari/i.test(e)&&!/android/i.test(e)?{safari:!0,version:c,unsupported:5.2>c}:void 0,o?(null==i&&(i={}),i.ios=!0,i.iosVersion=c,delete i.unsupported,i.mobile=!0):n&&(null==i&&(i={}),i.android=!0,i.androidVersion=a(/android (\d+(\.\d+)?)/i),i.mobile=!0,t.test(e)||(i.unsupported=!0)),null==i&&(i={unsupported:!0}),i},n=e.detect(),e.supported=function(){return!n.unsupported},e.isAndroidSupported=function(){return n.android&&t.test(navigator.userAgent)},e.isAndroidGingerbread=function(){return n.android&&n.androidVersion>=2.3&&n.androidVersion<3},e.isAndroidIceCreamSandwich=function(){return n.android&&n.androidVersion>=4&&n.androidVersion<4.1},e.isAndroidJellyBean=function(){return n.android&&n.androidVersion>=4.1&&n.androidVersion<4.4},e.isAndroidLollipop=function(){return n.android&&n.androidVersion>=5&&n.androidVersion<6},e.isAndroid=function(){return n.android},e.isiOS=function(){return n.ios},e.isIE8=function(){return n.msie&&8===+n.version},e.isIE9=function(){return n.msie&&9===+n.version},e.isIE10=function(){return n.msie&&10===+n.version},e.isIE11=function(){return n.msie&&11===+n.version},e.isIE9Below=function(){return n.msie&&+n.version<=9},e.isIE10Below=function(){return n.msie&&+n.version<=10},e.isIE=function(){return n.msie},e.isiOS5=function(){return n.ios&&5===+n.iosVersion},e.isMobile=function(){return n.android||n.ios||/tablet|[^-]mobi/i.test(navigator.userAgent)},e.isChrome=function(){return n.chrome},e.isFirefox=function(){return n.firefox},e.isSafari=function(){return n.safari},e.isPhantom=function(){return n.phantom},e.isWindowsSafari=function(){return/Windows.*AppleWebKit.*Safari/.test(navigator.userAgent)&&!/Chrome|Spotify/.test(navigator.userAgent)},e.supportsFullscreen=function(){return!this.isIE()&&!this.isWindowsSafari()},e.supportsSrcdoc=function(){return!this.isSafari()&&!this.isChrome()},e.supportsLinkOnload=function(){return!(n.android&&!n.chrome||n.safari&&n.version<6)},e.detectsSrcdoc=function(){return"about:srcdoc"===window.location.href},e}()}.call(this),function(){var e,t,n=[].slice;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Console=function(){function e(){}return e.ENABLED=function(){var e,n;try{return!!(null!=(n=t.Cookie)?n.readCookie("_console_logging"):void 0)}catch(i){return e=i,!1}}(),e.log=function(){var e,t,i;return t=arguments[0],e=2<=arguments.length?n.call(arguments,1):[],this.ENABLED&&window.console?null!=window.console.log.apply?(i=window.console).log.apply(i,[t].concat(n.call(e))):window.console.log(t):void 0},e.debug=function(){var e,i,r,a,o;return i=arguments[0],e=2<=arguments.length?n.call(arguments,1):[],this.ENABLED&&window.console?null!=(null!=(r=window.console.debug)?r.apply:void 0)?(a=window.console).debug.apply(a,[i].concat(n.call(e))):(o=t.Console).log.apply(o,[i].concat(n.call(e))):void 0},e.pad=function(e,t){var n;for(n=e||"";n.length\n'},e.removeWrappers=function(e){var t,n,i,r,a,o;for(null==e&&(e=null),e?n=[document.getElementById(e)]:null==n&&(n=document.querySelectorAll(".outer-wrapper")),o=[],i=0,r=n.length;r>i;i++)t=n[i],o.push(null!=t&&null!=(a=t.parentNode)?a.removeChild(t):void 0);return o},e.onHover=function(e,t){var n,i,r,a,o,s,l,u,c,d,h,p,f;return u=null!=t?t:{},o=u.node,c=u.repeatInterval,o||(this.topOnHoverCallback=e,null==o&&(o=document.querySelectorAll(".wrapper")[0])),a=200,h=32,n=null,i=null,f=function(e){return n=e.pageX,i=e.pageY},p=null,s=null,l=null,d=function(e){return s=n,l=i,p=setTimeout(function(){return r(e)},a)},r=function(t){return function(a){var u,g,m;return g=r.prev,null==n||null==i||null==s||null==l?d(a):(u=Math.abs(n-s)+Math.abs(i-l),m=null==g&&0===u,h>u&&!m?(null!=t.topOnHoverCallback&&(t.topOnHoverCallback(),t.topOnHoverCallback=null),o.removeEventListener("mousemove",f),e!==t.topOnHoverCallback&&(e(),r.prev=null),null!=c?p=setTimeout(function(){return r(a)},c):void 0):(r.prev=m?null:u,d(a)))}}(this),o.addEventListener("mouseenter",function(){return function(e){return s=e.pageX,l=e.pageY,o.addEventListener("mousemove",f),p=setTimeout(function(){return r(e)},a)}}(this)),o.addEventListener("mouseleave",function(){return function(){return o.removeEventListener("mousemove",f),n=i=null,clearTimeout(p)}}(this))},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Event=function(){function e(){}return e.onLoad=function(e){return document&&"complete"===document.readyState?void setTimeout(function(){return e()},0):"undefined"!=typeof document.addEventListener?document.addEventListener("DOMContentLoaded",e,!1):"undefined"!=typeof window.addEventListener?window.addEventListener("DOMContentLoaded",e,!1):"undefined"!=typeof window.attachEvent?window.attachEvent("onload",e):void 0},e.on=function(e,t,n){return"undefined"!=typeof document.addEventListener?e.addEventListener(t,n,!1):"undefined"!=typeof document.attachEvent?e.attachEvent("on"+t,n):void 0},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Expansion=function(){function n(){}return n.getWindow=function(){var t;return this.allowedAccessToTop()?null!=e&&null!=(t=e.top)?t:window:null!=e?e:window},n.getDocument=function(t){return null==t&&(t="expandable"),this.inIframe()&&"overlay"!==t?e.document:this.getWindow().document},n.documentDimensions=function(){var e,n;return t.Browser.isMobile()?{height:screen.height,width:screen.width}:(e=this.getDocument(),n=this.getWindow(),{height:n.innerHeight||e.documentElement.clientHeight||e.body.clientHeight,width:n.innerWidth||e.documentElement.clientWidth||e.body.clientWidth})},n.inIframe=function(){var t;try{return e!==top}catch(n){return t=n,!0}},n.inFriendlyIframe=function(){var t;try{return void 0===e.parent.location.host?!1:!0}catch(n){return t=n,!1}},n.allowedAccessToTop=function(){return!this.inIframe()||this.inFriendlyIframe()?(t.Console.log("allowed access to parent window"),!0):!1},n.fixedPositionSupported=function(){var e,t,n,i;return t=this.getDocument(),n=1,i=!1,e=t.createElement("div"),e.style.position="fixed",e.style.top="0px",e.style.right="0px",t.body.appendChild(e),"number"==typeof e.offsetTop&&null!==e.offsetTop&&"undefined"!==e.offsetTop&&(n=parseInt(e.offsetTop)),0===n&&(i=!0),e.parentNode.removeChild(e),i},n.panelLargerThanWindow=function(e){var t,n,i;return i=this.getWindow(),t=i.innerHeight?i.document.documentElement.clientHeight:i.document.body.scrollHeight,n=i.innerWidth?i.document.documentElement.clientWidth:i.document.body.scrollWidth,ts?0:s,o=(r-l)/2-1,c=0>o?0:o,t.Browser.isMobile()?["absolute",0,0]:["fixed",Math.round(c),Math.round(d)]},n.calcAbsolutePositions=function(e,n){var i,r,a,o,s,l,u,c,d,h,p,f,g;return null==n&&(n={}),i=this.getDocument(),p=this.getWindow(),o=e.height,h=e.width,n.x=n.x?parseInt(n.x):0,n.y=n.y?parseInt(n.y):0,r=this.documentDimensions().height,a=this.documentDimensions().width,c=this.scrollPositions(),u=c[0],d=c[1],l=d+(r-o)/2-1,g=this.panelLargerThanWindow(e)||0>l?0:l,s=u+(a-h)/2-1,f=0>s?0:s,t.Browser.isMobile()?["absolute",0,0]:["absolute",Math.round(f+n.x),Math.round(g+n.y)]},n.scrollPositions=function(){var e,t,n;return t=this.getDocument(),n=this.getWindow(),e=t.body,"number"==typeof n.pageYOffset?[n.pageXOffset,n.pageYOffset]:e&&(e.scrollLeft||e.scrollTop)?[e.scrollLeft,e.scrollTop]:t.documentElement&&(t.documentElement.scrollLeft||t.documentElement.scrollTop)?[t.documentElement.scrollLeft,t.documentElement.scrollTop]:[0,0]},n.safeFrameExpansionParams=function(e){var t,n,i,r,a,o,s,l,u,c,d,h,p;if(r=e.coords,u=e.initialDims,s=e.expansionDims,a=e.direction,h=e.type,l={push:"push"===h&&$sf.ext.supports()["exp-push"]},"overlay"===h)p=r.win,o=r.exp,c=(p.w-s.width)/2,d=(p.h-s.height)/2,t=r.self,n=o.l>c?c-o.l:o.l-c,i=o.t>d?d-o.t:o.t-d,l.l=-1*n,l.r=+o.l-l.l+s.width-(+o.l+u.width),l.t=-1*i,l.b=+o.t-l.t+s.height-(+o.t+u.height);else switch(null==a&&(a="down"),a){case"left":l.l=s.width-u.width,l.t=s.height>=u.height?u.height-s.height:s.height-u.height;break;case"right":l.r=s.width-u.width,l.t=s.height>=u.height?u.height-s.height:s.height-u.height;break;case"up":l.t=u.height-s.height,l.l=s.width>=u.width?u.width-s.width:s.width-u.width;break;case"down":l.b=s.height-u.height,l.l=s.width>=u.width?u.width-s.width:s.width-u.width}return l},n}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Flash=function(){function e(){}return e.isIE=-1!==navigator.appVersion.indexOf("MSIE")?!0:!1,e.isWin=-1!==navigator.appVersion.toLowerCase().indexOf("win")?!0:!1,e.isOpera=-1!==navigator.userAgent.indexOf("Opera")?!0:!1,e.controlVersion=function(){var e,t,n;n=void 0,e=void 0,t=void 0;try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),n=e.GetVariable("$version")}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),n="WIN 6,0,21,0",e.AllowScriptAccess="always",n=e.GetVariable("$version")}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),n=e.GetVariable("$version")}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"),n="WIN 3,0,18,0"}catch(i){}if(!n)try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),n="WIN 2,0,0,11"}catch(i){t=i,n=-1}return n},e.getSwfVer=function(){var e,t,n,i,r,a,o,s;return n=-1,null!=navigator.plugins&&navigator.plugins.length>0?(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"])&&(i=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"",t=navigator.plugins["Shockwave Flash"+i].description,e=t.split(" "),r=e[2].split("."),a=r[0],o=r[1],s=e[3],""===s&&(s=e[4]),"d"===s[0]?s=s.substring(1):"r"===s[0]&&(s=s.substring(1),s.indexOf("d")>0&&(s=s.substring(0,s.indexOf("d")))),n=a+"."+o+"."+s):-1!==navigator.userAgent.toLowerCase().indexOf("webtv/2.6")?n=4:-1!==navigator.userAgent.toLowerCase().indexOf("webtv/2.5")?n=3:-1!==navigator.userAgent.toLowerCase().indexOf("webtv")?n=2:this.isIE&&this.isWin&&!this.isOpera&&(n=this.controlVersion()),n},e.detectFlashVer=function(e,t,n){var i,r,a,o,s,l,u;if(u=this.getSwfVer(),a=null,-1===u)return!1;if(0!==u){if(this.isIE&&this.isWin&&!this.isOpera?(i=u.split(" "),r=i[1],a=r.split(",")):a=u.split("."),o=a[0],s=a[1],l=a[2],o>parseFloat(e))return!0;if(o===parseFloat(e)){if(s>parseFloat(t))return!0;if(s===parseFloat(t)&&l>=parseFloat(n))return!0}return!1}},e.html=function(e,n,i,r,a){return null==a&&(a=""),t.Browser.isIE11()?'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n':'\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'},e}()}.call(this),function(){var e,t=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=["extended","included"],spongecell.Module=function(){function n(){}return n.extend=function(n){var i,r,a;for(i in n)a=n[i],t.call(e,i)<0&&(this[i]=a);return null!=(r=n.extended)&&r.apply(this),this},n.include=function(n){var i,r,a;for(i in n)a=n[i],t.call(e,i)<0&&(this.prototype[i]=a);return null!=(r=n.included)&&r.apply(this),this},n}()}.call(this),!function(e){function t(e,t){return function(){e.apply(t,arguments)}}function n(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(e,t(r,this),t(a,this))}function i(e){var t=this;return null===this._state?void this._deferreds.push(e):void u(function(){var n=t._state?e.onFulfilled:e.onRejected;if(null===n)return void(t._state?e.resolve:e.reject)(t._value);var i;try{i=n(t._value)}catch(r){return void e.reject(r)}e.resolve(i)})}function r(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void l(t(n,e),t(r,this),t(a,this))}this._state=!0,this._value=e,o.call(this)}catch(i){a.call(this,i)}}function a(e){this._state=!1,this._value=e,o.call(this)}function o(){for(var e=0,t=this._deferreds.length;t>e;e++)i.call(this,this._deferreds[e]);this._deferreds=null}function s(e,t,n,i){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.resolve=n,this.reject=i}function l(e,t,n){var i=!1;try{e(function(e){i||(i=!0,t(e))},function(e){i||(i=!0,n(e))})}catch(r){if(i)return;i=!0,n(r)}}var u=n.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};n.prototype["catch"]=function(e){return this.then(null,e)},n.prototype.then=function(e,t){var r=this;return new n(function(n,a){i.call(r,new s(e,t,n,a))})},n.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&c(arguments[0])?arguments[0]:arguments);return new n(function(t,n){function i(a,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(e){i(a,e)},n)}e[a]=o,0===--r&&t(e)}catch(l){n(l)}}if(0===e.length)return t([]);for(var r=e.length,a=0;ai;i++)e[i].then(t,n)})},"undefined"!=typeof module&&module.exports?module.exports=n:e.Promise||(e.Promise=n)}(this),function(){"use strict";var e,t;t=null!=window.spongecell?window.spongecell:window.spongecell={},e=null!=t.requestMap?t.requestMap:t.requestMap={},t.Net=function(){function n(){}return n.isSSL=function(){var e;return"https:"===document.location.protocol||(null!=(e=document.baseURI)?e.indexOf("https"):void 0)>-1},n.isHttp=function(e){return!!/^https?\:\/\//i.test(e)},n.isHttpEncoded=function(e){return/^https?\%3a\%2f\%2f/i.test(e)},n.encode=function(e){return e?encodeURIComponent(e):null},n.writePixel=function(e,n){var i,r;return t.Net.isHttp(e)?(i=document.createElement("div"),i.setAttribute("style","position:absolute;left:0px;top:0px;visibility:hidden;"),r=document.createElement("img"),r.setAttribute("width",0),r.setAttribute("height",0),r.setAttribute("style","width:0px;height:0px;"),r.setAttribute("src",e),i.appendChild(r),(null!=n?n:document.body).appendChild(i)):void 0},n.writeRequest=function(e){var n;return n=this,new Promise(function(i,r){return t.Browser.isIE9Below()?n.writeScript(e,i,r):n.ajax(e,i,r)})},n.writeScript=function(n,i,r,a,o){var s,l,u;if(null==o&&(o=null),o=null!=o?o:document,this.isSSL()&&(n=n.replace(/^http:\/\//,"https://")),null!=i){if(n+=n.indexOf("?")>0?"&":"?",e[n])return this.nestCallbackFn(e[n],i);n+="callback="+(e[n]=t.Broker.registerCallbackFn(i))}return u=o.createElement("script"),u.defer=u.async=!0,u.src=n,null!=r&&(u.onload=r),u.onerror=null!=a?a:null!=r?r:void 0,(null!=(l=t.Browser)?l.isIE8():void 0)&&(u.onreadystatechange=function(){return"loaded"===this.readyState?r():void 0}),s=o.getElementsByTagName("head")[0],s.appendChild(u)},n.ajax=function(e,t,n,i,r,a){var o,s,l,u;if(null==i&&(i=!1),null==r&&(r={}),null==a&&(a="function"==typeof(o="undefined"!=typeof XMLHttpRequest&&null!==XMLHttpRequest?XMLHttpRequest:ActiveXObject)?new o("MSXML2.XMLHTTP.3.0"):void 0),!a)return this.writeScript.apply(this,arguments);if(l=setTimeout(function(){return a.abort(),n({error:"AJAX request timed out"})},2e3),a.withCredentials=!0,a.onreadystatechange=function(){var e,i,r;if(!(a.readyState<4)){clearTimeout(l);try{e=JSON.parse(a.responseText)}catch(o){return i=o,n({error:i})}switch(r=a.status){case 200:return t(e,a);default:return n({error:"AJAX request responded with a "+r})}}},a.open("GET",e,!0),a.setRequestHeader){for(s in r)u=r[s],a.setRequestHeader(s,u);i&&a.setRequestHeader("X-Requested-With","XMLHttpRequest")}return a.send(""),a},n.getParam=function(e,t,n){var i;return null==n&&(n="&"),null!=(i=this.getParams(t,n)[e])?i:""},n.getParams=function(e,t){var n,i,r,a,o,s;for(o={},s=e.split(t),n=0,r=s.length;r>n;n++)a=s[n],i=a.split("="),2===i.length&&(o[i[0]]=i[1]);return o},n.nestCallbackFn=function(e,n){var i,r;return i=e.split(".").pop(),r=t.callbacks[i],t.callbacks[i]=function(){var e,i,a;e=[];for(i in arguments)a=arguments[i],e[i]="object"==typeof a?t.Utils.extend({},a):a;return r.apply(null,arguments),void n.apply(null,e)}},n.scrubTargeting=function(e,t){var n;return"ysa"===e&&(n=decodeURIComponent(t).match(/yud=(.*)/))?n[1]:t},n}()}.call(this),function(){"use strict";var e,t,n=[].slice;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Utils=function(){function e(){}var i;return i=new RegExp('^(http|https)://[^ "]+$'),e.intervals={},e.extend=function(e){var t,n,i,r,a,o;if(arguments.length>1)for(t=Array.prototype.slice.call(arguments,1,arguments.length),i=0,r=t.length;r>i;i++)if(a=t[i],"object"==typeof a)for(n in a)o=a[n],e[n]=o;return e},e.generateIID=function(){return"xxxx-xxxx-Axxx-xxxx".replace(/x/g,function(){return new Number(36*Math.random()|0).toString(36)})},e.generateElementIID=function(){return"xxxxxxxx".replace(/x/g,function(){return new Number(36*Math.random()|0).toString(36)})},e.flashSupported=function(){return t.Flash.detectFlashVer(9,0,0)},e.getUrl=function(e){return t.Utils.isString(e)?e:t.Utils.isObject(e)?t.Net.isSSL()?null!=e?e.ssl:void 0:null!=e?e.no_ssl:void 0:void 0},e.convertUrls=function(e,n){var i,r,a,o,s,l,u;if(n){for(o=[],r=0,a=n.length;a>r;r++)i=n[r],l=e[i],o.push(null!=l?e[i]=t.Utils.getUrl(l):void 0);return o}s=[];for(i in e)u=e[i],s.push(null!=u?e[i]=t.Utils.getUrl(u):void 0);return s},e.toQueryString=function(e){var t,n,i;if(n=[],null!=e)for(t in e)i=e[t],n.push(t+"="+i);return n.join("&")},e.toCamelCase=function(e){return e.toLowerCase().replace(/_(.)/g,function(e,t){return t.toUpperCase()})},e.isFunction=function(e){return"function"==typeof e},e.isObject=function(e){return"object"==typeof e},e.isString=function(e){return"string"==typeof e},e.compact=function(e){var t,n,i,r;for(null==e&&(e=[]),t=[],n=0,i=e.length;i>n;n++)r=e[n],r&&t.push(r);return t},e.shuffle=function(e){var t,n,i;for(t=e.length;--t>0;)n=~~(Math.random()*(t+1)),i=e[n],e[n]=e[t],e[t]=i;return e},e.random=function(e){return null==e&&(e=1e9),Math.floor(Math.random()*e)},e.keys=function(e){var t,n,i;n=[];for(t in e)i=e[t],e.hasOwnProperty(t)&&n.push(t);return n},e.include=function(e,t){return-1!==e.join("|").indexOf(t)?!0:!1},e.isUrl=function(e){return i.test(e)},e.debounce=function(e,t,i){var r;return r=null,function(){var a,o,s;return a=1<=arguments.length?n.call(arguments,0):[],s=this,o=function(){return i||e.apply(s,a),r=null},r?clearTimeout(r):i&&e.apply(s,a),r=setTimeout(o,t||100)}},e.setInterval=function(e,t,n){var i,r,a;return r=this.random(),a=this,i=function(t,n,r){return function(){var o;if(a.intervals[r])return!1;if("undefined"==typeof n||n-->0){setTimeout(i,t);try{e.call(null)}catch(s){throw o=s,n=0,o.toString()}}}}(t,n,r),setTimeout(i,t),r},e.clearInterval=function(e){return this.intervals[e]=1},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Iframe=function(){function e(){}var n,i,r;return n="&",e.parse=function(e,r){var a,o,s,l,u,c,d,h,p,f,g,m,v,w,y,k,E,T,b,I,C,x;if(null==e&&(e=""),null==r&&(r={}),e.indexOf(";$;")>=0&&(n=";$;"),-1!==e.indexOf("?")){e=e.replace(/.+?\?/,""),i(e,r),d=t.Net.getParams(e,n),p=null!=(f=null!=(g=d.placementId)?g:d.external_placement_id)?f:"",p&&p.length>0&&(r.placementId=p),b=null!=(m=null!=(v=d.siteId)?v:d.external_site_id)?m:"",b&&b.length>0&&(r.siteId=b),I=null!=(w=d.targeting)?w:"",I&&I.length>0&&(r.targeting=I),T=null!=(y=d.signalData)?y:"",T&&T.length>0&&(r.targeting={ysa:T}),o=null!=(k=d.adTagId)?k:"",o&&o.length>0&&(r.adTagId=o),a=null!=(E=d.activeCreativeId)?E:"",a&&a.length>0&&(r.activeCreativeId=a),c=d.heatMapStartDate,u=d.heatMapStartDate,((null!=c?c.length:void 0)||(null!=u?u.length:void 0))&&(null==r.channels&&(r.channels={}),null==(s=r.channels).remote&&(s.remote={}),r.channels.remote.heatMapStartDate=c,r.channels.remote.heatMapEndDate=u),C=d.trackingEnabled,(null!=C?C.length:void 0)&&(null==r.channels&&(r.channels={}),null==(l=r.channels).tracking&&(l.tracking={}),r.channels.tracking.trackingEnabled="true"===C);for(h in d)x=d[h],r[h]=x}return r},i=function(e,t){var i,r,a,o,s,l,u;if(l="clickTag.?.?.?.?.?=([^("+n+")#]*)",s=new RegExp(l,"g"),o=e.match(s),null!=o){for(i=0,u=[];i0&&(t[a.slice(0,r)]=a.slice(r+1)),u.push(++i);return u}},e.addMessageListener=function(e,t){return null==t&&(t=window),null!=t.addEventListener?t.addEventListener("message",r(e),!1):null!=t.attachEvent?t.attachEvent("onmessage",r(e)):void 0},r=function(e){return function(n){var i,r;if("mocha-zero-timeout"!==n.data)try{i=JSON.parse(n.data)}catch(a){return r=a,void t.Console.debug("Iframe parse error: %o",r)}return e(i,n)}},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Macros=function(){function e(){this.dynodeObjects={},this.dynamicValues={},this.values={},this.thirdPartyMacroValues={},this.defaultDynamicValues={},this.defaultDynamicValues[r("signal.id")]="",this.defaultDynamicValues[r("signal.name")]="",this.defaultDynamicValues[r("sv.id")]="fallback",this.defaultDynamicValues[r("sv.name")]="fallback",this.defaultDynamicValues[r("item.id")]="",this.defaultDynamicValues[r("item.name")]=""}var n,i,r,a;return e.THIRD_PARTY_PIXEL_NAMES=["impression","dynode","engagement","completion","expansion","clickThrough","landingPages","start","firstQuartile","midpoint","thirdQuartile","complete"],i=null,e.get=function(){return i||(i=new t.Macros),i},e.prototype.dynodeResponse=function(e){var t,n,i,a,o,s,l,u,c,d,h,p,f,g,m,v,w,y,k,E,T;if(t={},v=[],w=[],k=[],E=[],e.signals){for(p=e.signals,n=0,c=p.length;c>n;n++)if(m=p[n],v.push(m.id),w.push(m.name),m.signalValues){for(f=m.signalValues,s=0,d=f.length;d>s;s++)y=f[s],k.push(y.id);for(g=m.signalValues,l=0,h=g.length;h>l;l++)y=g[l],E.push(y.value)}v.length>0&&(t[r("signal.id")]=v),w.length>0&&(t[r("signal.name")]=w),k.length>0&&(t[r("sv.id")]=k),E.length>0&&(t[r("sv.name")]=E)}if(a=[],o=[],e.items&&e.items.length>0){i=e.items[0],a.push(i.id);for(u in i)if(T=i[u],null!=T?T.text:void 0){o.push(T.text);break}t[r("item.id")]=a,t[r("item.name")]=o}return this.addDynodeObject(e.id,t)},e.prototype.addDynodeObject=function(e,t){var n,i,r;this.dynodeObjects[e]=t,i=[];for(n in t)r=t[n],i.push(r instanceof Array?this.dynamicValues[n]?this.dynamicValues[n]=this.dynamicValues[n].concat(r):this.dynamicValues[n]=r:void 0);return i},e.prototype.init=function(e,i){var r,o,s,l,u,c,d,h,p,f,g,m,v,w,y,k,E,T,b,I;n(this.values,"flight.id",null!=(l=e.flight)?l.id:void 0),n(this.values,"flight.name",null!=(u=e.flight)?u.name:void 0),n(this.values,"creative.id",null!=(g=e.creative)?g.id:void 0),n(this.values,"creative.name",null!=(m=e.creative)?m.name:void 0),n(this.values,"creative.width",null!=(v=e.creative)?v.width:void 0),n(this.values,"creative.height",null!=(w=e.creative)?w.height:void 0),n(this.values,"tag.id",null!=(y=e.adTag)?y.id:void 0),n(this.values,"tag.name",null!=(k=e.adTag)?k.name:void 0),n(this.values,"placement.id",null!=(E=e.placement)?E.id:void 0),n(this.values,"placement.name",null!=(T=e.placement)?T.name:void 0),n(this.values,"weight",null!=(c=e.weight)?c.value:void 0),n(this.values,"concept.id",null!=(d=e.concept)?d.id:void 0),n(this.values,"site.name",null!=(h=e.site)?h.id:void 0),n(this.values,"brand.id",null!=(p=e.brand)?p.id:void 0),n(this.values,"campaign.id",null!=(f=e.campaign)?f.id:void 0),n(this.values,"spongekey",t.Cookie.readCookie("spongekey")),s=new RegExp("^([A-Za-z]+)[0-9]+$"),b=[];for(r in i)I=i[r],o=r.match(s),b.push(o&&t.Macros.THIRD_PARTY_PIXEL_NAMES.indexOf(o[1])>-1?this.thirdPartyMacroValues[a(r)]=I:void 0);return b},e.prototype.replace=function(e,t){return e=this.replaceValues(e,this.values),e=this.replaceValues(e,this.thirdPartyMacroValues),e=(null!=t?t.sp_id:void 0)?this.replaceValues(e,this.dynodeObjects[t.sp_id]):this.replaceValues(e,this.dynamicValues),e=this.replaceValues(e,this.defaultDynamicValues),e=e.replace(/\[clickTag.*?\]/g,""),e=e.replace(/\[rand\]/g,Math.floor(1e10*Math.random())),e=e.replace(/\[timestamp\]/g,(new Date).getTime().toString())},e.prototype.replaceValues=function(e,t){var n,i;for(n in t)i=t[n],e=e.replace(RegExp(n,"g"),this.macroToValue(i));return e},e.prototype.macroToValue=function(e){var t;return t=e instanceof Array?encodeURIComponent(e.join(",")):e},n=function(e,t,n){return e[r(t)]=encodeURIComponent(n)},r=function(e){return"\\$\\{"+e+"\\}"},a=function(e){return"%"+e+"%"},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Tracker=function(){function e(e){var t,n;for(t in e)n=e[t],this[t]=n;this.adVersion=this.AD_VERSION_PLATFORM,null==this.iid&&(this.iid="xxxx-xxxx-Axxx-xxxx".replace(/x/g,function(){return new Number(36*Math.random()|0).toString(36)})),this._setupSrParams(),this.trackOnce={ENGAGEMENT:!1,MOUSEOVER:!1},this.featureEvents={},this.defaultOptions={},this.dynamicItems={},this.itemsByScreen={},this.itemsByUuid={}}return e.prototype.METRIC={IMPRESSION:"IMPRESSION",ENGAGEMENT:"ENGAGEMENT",MOUSEOVER:"MOUSEOVER",START:"START",COMPLETION:"COMPLETION",CLICK_THROUGH:"CLICK_THROUGH",DYNODE:"DYNODE",CORE:"CORE",INTERACTION:"INTERACTION",TIME:"TIME",EXPANSION:"EXPANSION",ITEMS_REQUEST:"ITEMS_REQUEST"},e.prototype.AD_VERSION_PLATFORM="PLATFORM",e.prototype.SINGLE_ITEM_METRICS=["INTERACTION"],e.prototype.SCREEN_METRICS=["TIME"],e.prototype.trackEvent=function(e){switch(this.cacheUuids(e),e.action){case"clickThrough":return this.trackClickThrough(e);case"mouseOver":return this.track("MOUSEOVER",{feature:e.feature,description:"Mouse over "+e.feature,data:e.data});case"clickEvent":return this.trackHeatMap(e);case"play":return this.trackPlay(e.feature,e.baseFeature,e.engaged);case"pause":return this.trackPause(e.feature,e.baseFeature);case"unpause":return this.trackUnpause(e.feature,e.baseFeature);case"replay":return this.trackReplay(e.feature,e.baseFeature);case"played":return this.trackPlayed(e.feature,e.percentage,e.baseFeature);case"seek":return this.track("INTERACTION",{feature:e.feature,description:"Seek Video",data:e.data,baseFeature:e.baseFeature});case"mute":return this.track("INTERACTION",{feature:e.feature,description:"Muted Video",data:e.data,baseFeature:e.baseFeature});case"unmute":return this.track("INTERACTION",{feature:e.feature,description:"Unmuted Video",data:e.data,baseFeature:e.baseFeature});case"enterFullscreen":return this.track("INTERACTION",{feature:e.feature,description:"Entered Full Screen",data:e.data});case"exitFullscreen":return this.track("INTERACTION",{feature:e.feature,description:"Exited Full Screen",data:e.data});case"timeStart":return this.timerStart();case"timeStop":return this.timerStop();case"engagement":return this.track("ENGAGEMENT",e);case"start":return this.trackStart(e.feature,e);case"completion":return this.trackCompletion(e.feature,e);case"mobileMapSwipe":return this.track("INTERACTION",{feature:e.feature,description:"Map Swipe",data:e.data});case"mobileMapClickThrough":return this.track("CLICK_THROUGH",{feature:e.feature,description:e.description,data:e.data}),this.track("INTERACTION",{feature:e.feature,description:e.description,data:e.data}),this.trackCompletion(e.feature,e);case"mapGeocoded":return this.track("INTERACTION",{feature:e.feature,description:"IP Geocoded",data:e.data,baseFeature:e.baseFeature,featureId:e.featureId});case"slideView":return this.track("ENGAGEMENT",e),this.track("INTERACTION",{feature:e.feature,description:e.description,data:e.data,i:e.i,baseFeature:e.baseFeature,featureId:e.featureId,item_id:e.item_id}),this.trackStart(e.feature,e); case"mapInteraction":return this.track("INTERACTION",{feature:e.feature,description:e.description,data:e.data,baseFeature:e.baseFeature}),this.trackCompletion(e.feature,e);case"itemsRequest":return this.trackItemsRequest(e);case"screenChange":return this.currentScreen=e.screen;default:return this.track(e.action,e)}},e.prototype.trackClickThrough=function(e){return this.track("ENGAGEMENT",e),this.track("INTERACTION",e),this.track("CLICK_THROUGH",e),this.trackHeatMap(e)},e.prototype.trackHeatMap=function(e){var n,i,r,a,o;return null==e&&(e={}),a=e.x,o=e.y,n=null!=(i=e.partition)?i:"Creative",null!=a&&null!=o?(t.Console.log("HEATMAP POINT ("+n+"): "+a+", "+o),r=this.heatmapBaseURL+"/create_point?x="+a+"&y="+o+"&partition="+n+"&event=click&heatmap="+this.creative.id,null!=e.elapsed&&(r+="&elapsed="+e.elapsed),this.writePixel(r)):void 0},e.prototype.trackItemsRequest=function(e){return this.track(this.METRIC.ITEMS_REQUEST,e)},e.prototype.trackPlay=function(e,t,n){return null==n&&(n=!0),n&&this.track("ENGAGEMENT",{feature:e,baseFeature:t}),this.trackStart(e,{baseFeature:t}),this.track("INTERACTION",{feature:e,description:"Started Video",baseFeature:t})},e.prototype.trackReplay=function(e,t){return this.track("INTERACTION",{feature:e,description:"Replayed "+e,baseFeature:t})},e.prototype.trackPause=function(e,t){return this.track("INTERACTION",{feature:e,description:"Paused "+e,baseFeature:t})},e.prototype.trackUnpause=function(e,t){return this.track("INTERACTION",{feature:e,description:"Unpaused "+e,baseFeature:t})},e.prototype.trackPlayed=function(e,t,n){return this.trackOncePerFeature("INTERACTION",e,{description:"Viewed "+t+"%",baseFeature:n,eventName:"INTERACTION"+t}),100===t?this.trackCompletion(e,{description:"Viewed 100%",baseFeature:n}):void 0},e.prototype.trackOncePerFeature=function(e,t,n){var i,r,a,o,s,l;return null==n&&(n={}),i=null!=(s=n.baseFeature)?s:"unknown",null==n.feature&&(n.feature=t),null==(r=this.featureEvents)[i]&&(r[i]={}),null==(a=this.featureEvents[i])[t]&&(a[t]={START:!1,COMPLETION:!1}),o=null!=(l=n.eventName)?l:e,delete n.eventName,this.featureEvents[i][t][o]!==!0&&this.track(e,n),this.featureEvents[i][t][o]=!0},e.prototype.trackStart=function(e,t){return null==t&&(t={}),this.trackOncePerFeature("START",e,t)},e.prototype.trackCompletion=function(e,t){return null==t&&(t={}),this.trackStart(e,t),this.trackOncePerFeature("COMPLETION",e,t)},e.prototype.trackDynamic=function(e,t){return null==e&&(e={}),null==t&&(t=this.METRIC.DYNODE),this.track(t,e)},e.prototype.timerStart=function(){return this.timer=t.Utils.setInterval(function(e){return function(){return e.trackTime()}}(this),500,180)},e.prototype.timerStop=function(){return t.Utils.clearInterval(this.timer)},e.prototype.trackTime=function(){return null==this.timeSpent&&(this.timeSpent=0),this.timeSpent+=.5,this.timeSpent%5===0&&this.timeSpent<=90?this.track("TIME",{duration:this.timeSpent}):void 0},e.prototype.trackOpen=function(){return this.track("EXPANSION"),this.timerStart()},e.prototype.trackClose=function(e){return this.track("INTERACTION",{description:e}),this.timerStop()},e.prototype.track=function(e,n){var i,r,a,o,s,l,u,c,d,h,p,f,g,m,v,w,y,k;if(null==n&&(n={}),e=e.toUpperCase(),this.uuids&&(n=this.addUuids(n,e)),this.trackOnce[e]===!1)this.trackOnce[e]=!0;else if(this.trackOnce[e]===!0)return;if(u=t.Console.pad("Tracking "+e+":",24),w=n.feature||"",n.feature&&n.baseFeature&&(w+=" ("+n.baseFeature+")"),u+=t.Console.pad(w,24),n.description&&(u+=t.Console.pad(n.description,32)),n.data&&(u+=t.Console.pad("("+n.data+")",32)),null!=n.i&&(u+=t.Console.pad("("+n.i+")",32)),n.pixel&&(u+=n.pixel),t.Console.group(u),y=this.reportBaseURL+"/"+this.adTag.id+"?",c=[],i=function(){return function(e,n,i){return null==i&&(i=!1),c.push([e,encodeURIComponent(n)].join("=")),t.Console.groupCollapsedSupported()?t.Console.log(e+": "+n):void 0}}(this),i("type",e),n.creativeOptions){h=n.creativeOptions;for(l in h)k=h[l],i(l,k)}p=this.defaultOptions;for(l in p)k=p[l],"items"!==l&&("item_id"===l?(a=(null!=(f=this.dynamicItems[n.processorId])?f.length:void 0)>0&&null!=(null!=(g=n.elementAction)?g.itemIndex:void 0),r=a?n.elementAction.itemIndex:0,n.processorId&&["INTERACTION","CLICK_THROUGH"].indexOf(e)>-1&&(o=null!=(m=this.dynamicItems[n.processorId][r])?m.id:void 0,s=null!=(v=this.dynamicItems[n.processorId][r])?v.item_id:void 0,null!=o&&i("item_id",o),null!=s&&i("item_uuid",s),delete n.item_id,delete n.item_uuid)):null==n[l]&&i(l,k));return n.feature&&i("screen",n.feature),n.featureId&&i("screen_id",n.featureId),n.baseFeature&&i("base_screen",n.baseFeature),n.description&&i("description",n.description),n.duration&&i("duration",n.duration),n.item_id&&i("item_id",n.item_id),n.item_uuid&&i("item_uuid",n.item_uuid),n.elementId&&i("element_id",n.elementId),n.sp_id&&i("sp_id",n.sp_id),n.srcdoc&&i("srcdoc",n.srcdoc),n.sv_id&&i("sv_id",n.sv_id),n.data&&i("data",n.data),null!=n.i&&i("i",n.i),i("flight_id",this.flight.id),i("creative_id",this.creative.id),i("iid",this.iid),this.container&&i("container_id",this.container.id),this.concept&&i("concept_id",this.concept.id),this.rotationGroup&&i("rg_id",this.rotationGroup.id),this.weight&&i("weight",this.weight.value),i("ad_version",n.adVersion?n.adVersion:this.adVersion),this.placement.id&&i("external_placement_id",this.placement.id),this.site.id&&i("external_site_id",this.site.id),this.ysa&&i("ysa",this.ysa),this.idfa&&i("idfa",this.idfa),this.aaid&&i("aaid",this.aaid),this.puid&&i("puid",this.puid),this.xaid&&i("xaid",this.xaid),this.xcid&&i("xcid",this.xcid),this.xcrv&&i("xcrv",this.xcrv),this.xauc&&i("xauc",this.xauc),i("anticache",(new Date).getTime()),i("e","mc2"),d=c.join("&"),this.srParams&&""!==this.srParams&&(d=d.replace(/e=mc2$/,this.srParams+"&e=mc2"),t.Console.groupCollapsedSupported()&&t.Console.log("srParams: "+this.srParams)),y+=d,t.Console.groupCollapsedSupported()&&t.Console.log("Analytics URL: "+y),this.writePixel(y),this.trackExternalPixels(e,n),t.Console.groupEnd()},e.prototype.trackExternalPixels=function(e,n){var i,r,a,o,s,l,u,c,d,h,p;if(e=t.Utils.toCamelCase(e),null!=(null!=(d=this.pixels[n.feature])?d[e]:void 0)){if(i=this.pixels[n.feature][e],i.match(/\|https?/)){for(u=i.split("|"),h=[],r=0,o=u.length;o>r;r++)c=u[r],h.push(this.trackPixel(c,e,n));return h}return this.trackPixel(this.pixels[n.feature][e],e,n)}if(u=this.pixels[e+"s"]){for(p=[],a=0,s=u.length;s>a;a++)l=u[a],p.push(this.trackPixel(l,e,n));return p}return this.trackPixel(this.pixels[e],e,n)},e.prototype.trackPixel=function(e,n,i){return e&&(e=t.Macros.get().replace(e,i),t.Console.log("PIXEL: "+e),this.writePixel(e)),this.trackActivityPixel(n,i)},e.prototype.trackActivityPixel=function(e,n){var i;return i=this.pixels.activity,i?(i=t.Macros.get().replace(i,n),i=i.replace("[activity]",e),i=i.replace("[feature]",n.feature||""),i=i.replace("[base_feature]",n.baseFeature||n.feature||""),this.writePixel(i),t.Console.log("Activity pixel: "+i)):void 0},e.prototype.writePixel=function(e){return this.trackingDisabled?void 0:t.Net.writePixel(e,document.getElementById("spongecell-ad-"+this.iid))},e.prototype.trackImpression=function(e){return this.track(this.METRIC.IMPRESSION,e),this.frequencyEnabled?this.increaseFrequencyPixel():void 0},e.prototype.increaseFrequencyPixel=function(){var e,n;return e=t.Utils.generateIID(),n="https://rt.spongecell.com/v1/r/"+this.brand.id+"?"+this.container.id+"-"+this.concept.id+"_frequency="+e,this.writePixel(n)},e.prototype.inspect=function(){return"Campaign: "+this.campaign.id+" Flight: "+(this.flight.id||"")+" Ad Tag: "+(this.adTag.id||"")+" Creative: "+this.creative.id+" Placement: "+(this.placement.id||"")+" Site: "+this.site.id+" IID: "+this.iid},e.prototype.cacheUuids=function(e){return(null!=e?e.uuids:void 0)&&(this.uuids=e.uuids),(null!=e?e.screen:void 0)?this.currentScreen=e.screen:void 0},e.prototype.addUuids=function(e,t){var n,i,r,a,o,s,l,u,c;if(n=function(e){return e&&null!=e.split?e.split(","):e instanceof Array?e:[]},this.uuids&&this.SINGLE_ITEM_METRICS.indexOf(t)>-1?e.item_uuid=null!=(s=this.uuids.single)?s:this.uuids.all:this.uuids&&this.SCREEN_METRICS.indexOf(t)>-1?e.item_uuid=null!=(l=this.uuidsByScreen())?l.join(","):void 0:this.uuids?null==e.item_uuid&&(e.item_uuid=this.uuids.all):e.item_uuid=null!=(u=this.uuidsByScreen())?u.join(","):void 0,e.item_uuid){for(r=[],c=n(e.item_uuid),i=0,o=c.length;o>i;i++)a=c[i],r.push(this.itemsByUuid[a]);e.item_id=r.length?r.join(","):null}return delete e.uuids,e},e.prototype.uuidsByScreen=function(){return this.currentScreen?this.itemsByScreen[this.currentScreen]:void 0},e.prototype._setupSrParams=function(){var e,t;if(this.srParams)return e="${sr",t="Params}",this.srParams=this.srParams===e+t?null:encodeURI(this.srParams.replace(/\&$/,""))},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.BaseChannel=function(){function e(e,t,n){this.iid=e,this.options=t,this.impTag=n,this._init()}return e.prototype._init=function(){},e.prototype.start=function(){},e.prototype.send=function(e){return t.Console.log("BaseChannel received %o",e)},e.prototype.findClickTags=function(e){var n,i,r;n={};for(i in e)r=e[i],0===i.indexOf("clickTag")&&(t.Net.isHttp(r)||t.Net.isHttpEncoded(r)?t.Net.isHttpEncoded(r)&&(r=decodeURIComponent(r)):r="",n[i]=r);return n},e.prototype.mergeClickTagsAndLandingPages=function(e,n,i){var r,a,o,s,l,u,c,d,h,p,f,g;null==i&&(i=!1),u={},r=e.clickTag;for(s in n){g=n[s],a=null!=(d=null!=(h=e["clickTag"+s])?h:r)?d:"",c=a&&(null!=g&&"function"==typeof g.indexOf?g.indexOf(a):void 0)<0?a+g:g,c=t.Macros.get().replace(c),p=this.impTag.params;for(o in p)f=p[o],c=c.replace("%"+o+"%",f);u[s]=c}if(!i)for(s in e)g=e[s],l=s.replace("clickTag",""),null==u[l]&&(u[l]=g);return u},e}()}.call(this),function(){"use strict";var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.Broker=function(){function e(){}var n,i,r,a,o,s,l;return n=null!=t.brokerChannels?t.brokerChannels:t.brokerChannels={},i=null!=t.brokerClients?t.brokerClients:t.brokerClients={},s=null!=t.brokerChannels?t.brokerChannels:t.brokerChannels={},a=function(){return t.Utils.random(1e5)+"_"+ +new Date},o=function(e){return s[e]},l=function(e,t){return s[e]=t},r=function(e){var n;return n="call"+e,null==t.callbacks&&(t.callbacks={}),t.callbacks[n]=function(t){return s[e](t)},"spongecell.callbacks."+n},e.registerCallbackFn=function(e){var n;return n=a(),l(n,function(){var i,r,a,o;e.apply(null,arguments),r=t.requestMap,a=[];for(i in r)o=r[i],a.push(o.indexOf(n)>-1?delete r[i]:void 0);return a}),r(n)},e.registerChannels=function(e,i,r){var a,o,s,l,u;t.Console.group("Registering Channels for %s, %o",e,i),o={};for(u in i)l=i[u],a=function(){switch(u){case"feature":return t.FeatureChannel;case"hooks":return t.HooksChannel;case"loading":return t.LoadingChannel;case"mraid":return t.MRAIDChannel;case"nav":return t.NavChannel;case"panel":return t.PanelChannel;case"remote":return t.RemoteChannel;case"setup":return t.SetupChannel;case"tracking":return t.TrackingChannel;case"vpaid":return t.VPAIDChannel;case"externalPage":return t.ExternalPageChannel}}(),null!=a&&(t.Console.debug("Initializing Channel: %s with %o",u,l),o[u]=new a(e,l,r));n[e]=o;for(u in o)s=o[u],t.Console.debug("Starting Channel: %s",u),s.start();return t.Console.groupEnd(),o},e.registerClient=function(e,t){return null==i[e]&&(i[e]=[]),i[e].push(t)},e.clientRegistered=function(e){var t;return(null!=(t=i[e])?t.length:void 0)>0},e.sendOnChannel=function(e,t){var r,a,o,s,l,u;if(e.iid&&(r=n[e.iid]),null!=r&&(o=r[e.topic],null!=o&&o.send(e,t)),null!=(a=i[e.topic])){for(u=[],s=0,l=a.length;l>s;s++)t=a[s],u.push(t(e));return u}},e}()}.call(this),function(){var e,t;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.CreativeTag=function(){function e(e,n){this.iid=e,t.Utils.extend(this,n),this._init()}return e.prototype._init=function(){},e.prototype.html=function(){},e}()}.call(this),function(){var e,t,n=function(e,t){return function(){return e.apply(t,arguments)}};e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.ImpressionTag=function(){function e(e,i){var r,a,o,s,l,u,c,d,h,p,f,g,m,v,w,y;this.params=i,this._trackEngagement=n(this._trackEngagement,this),this.params.iframeSrc&&t.Iframe.parse(this.params.iframeSrc,this.params),window.scJsUrl&&t.Iframe.parse(window.scJsUrl,this.params),this.creativeSettings=o=this.rotate(e.creatives),this.creativeImpressionTrackingOptions={},this.canvasMode="true"===this.params.canvas,a=null!=(d=o.channels.tracking)?d.coreIid:void 0,u="${",c="iid}",s=a&&a!==u+c?a:t.Utils.generateIID(),this.iid=s,this.size=o.size,this.processors=null!=(h=o.processors)?h:{},t.Console.debug("Impression Tag %s initializing with %o rotated to %o",this.iid,e,o),p=e.channels;for(y in p)l=p[y],"object"==typeof l&&(null==(r=o.channels)[y]&&(r[y]={}),t.Utils.extend(o.channels[y],l));f=o.channels;for(y in f)e=f[y],null!=(null!=(g=this.params)&&null!=(m=g.channels)?m[y]:void 0)&&t.Utils.extend(e,this.params.channels[y]);t.Broker.registerChannels(this.iid,o.channels,this),t.Browser.isMobile()&&this.sendChannelMessage("mraid",{fn:"loadMraid"}),this.sendDebugMessage({description:"tag_init",type:"start"}),this._initTags(o.tags),t.Console.group(null!=(v=this.tracker)?v.inspect():void 0),t.Console.log("Ad Tag: %O",this),t.Console.log("Ad Server Parameters: %O",this.params),t.Console.groupEnd(),(null!=(w=this.params.targeting)?w.ysa:void 0)&&(this.creativeImpressionTrackingOptions.ysa=this.params.targeting.ysa),this.sendChannelMessage("hooks",{description:"before_ad_load_hook",type:"beforeAdLoad"})}return e.prototype._initTags=function(e){var n,i,r,a,o,s;this._chooseStudioTagType(e),r=[];for(o in e)switch(a=e[o],t.Console.debug("Initializing Tag: %s tag with %o",o,a),o){case"backup":a.clickTags=this.clickTags,a.tracker=this.tracker,a.macros={},i=this.params;for(n in i)s=i[n],a.macros[n]=s;r.push(this.backupTag=new t.BackupTag(this.iid,a));break;case"flash":r.push(this.flashTag=new t.FlashTag(this.iid,a));break;case"studioIframe":r.push(this.studioTag=new t.StudioIframeTag(this.iid,a,this.params));break;case"studioScript":r.push(this.studioTag=new t.StudioScriptTag(this.iid,a,this.params));break;case"panel":this.panelTag=new t.PanelTag(t.Utils.generateIID(),a,this),r.push(this.sendChannelMessage("panel",{description:"setup_panel_or_site_window",action:"setup"}));break;case"vpaid":this.vpaid=!0,r.push(this.studioTag=new t.VPAIDTag(this.iid,a,this.params));break;default:r.push(void 0)}return r},e.prototype._chooseStudioTagType=function(e){return e.studioScript&&(e.studioScript.expansionRequired||this.useSafeFrames())&&delete e.studioIframe,e.studioIframe?delete e.studioScript:void 0},e.prototype.render=function(){var e,n;return e=function(e){return function(){var n,i,r,a,o,s,l,u,c;return n=null!=document.body?e._html():""+e._html()+"",e.studioTag&&e.studioTag.size&&(e.topDimensions={width:null!=(i=e.studioTag.size)?i.width:void 0,height:null!=(r=e.studioTag.size)?r.height:void 0}),(null!=(a=e.studioTag)?a.iframeBusted:0)?void 0:(null!=e.params.currentScript?(t.Console.debug("Rendering self after %o: %o",e.params.currentScript),e.params.currentScript.insertAdjacentHTML("afterEnd",n)):document.write(n),e._addLoadListeners(),e.hasBackup||null!=(o=e.studioTag)&&o.delegateEvents(),document.close(),e.studioTag&&!e.hasBackup&&e.sendChannelMessage("loading",{action:"renderPreloader"}),null!=(s=e.tracker)&&s.trackImpression(e.creativeImpressionTrackingOptions),e._setupEngagementTracking(),e.sendChannelMessage("panel",{description:"setup_initial_expansion",action:"initialExpansion"}),e.sendDebugMessage({description:null!=(l=null!=(u=e.creativeImpressionTrackingOptions.creativeOptions)?u.screen:void 0)?l:null!=(c=e.creativeImpressionTrackingOptions.creativeOptions)?c.feature:void 0,type:"IMPRESSION"}),e.sendDebugMessage({description:"tag_init",type:"stop"}))}}(this),n=function(e){return function(){var t;return t=function(){var t,n,i;return e.studioTag.setDimensions(),i=null!=(t=e.studioTag["interface"])?t._slot:void 0,i.insertAdjacentHTML("beforeend",e._html()),e.hasBackup||e.studioTag.delegateEvents(),null!=(n=e.tracker)?n.trackImpression(e.creativeImpressionTrackingOptions):void 0},e.studioTag["interface"].subscribe(t,"initAd",e)}}(this),this.vpaid&&!this.canvasMode?n():window.mraid&&window.mraid.addEventListener?this.sendChannelMessage("mraid",{fn:"setup"},e):e()},e.prototype._setupEngagementTracking=function(){var e;return e=document.querySelectorAll(".outer-wrapper")[0],null==e&&(e=document.getElementById("spongecell-ad-"+this.iid)),t.Engagement.onHover(this._trackEngagement,{node:e})},e.prototype._trackEngagement=function(){var e;return null!=(e=this.tracker)?e.trackEvent({action:"engagement"}):void 0},e.prototype._html=function(){var e,t,n,i,r,a,o,s,l,u,c,d,h,p;if(null==(e=this.creativeImpressionTrackingOptions).creativeOptions&&(e.creativeOptions={}),!(null!=(o=this.panelTag)?o.director:void 0)||this.panelTag.director.allowedAccessToTop()){for(s=[this.flashTag,this.studioTag,this.backupTag],r=0,a=s.length;a>r;r++)if(h=s[r],null!=h?h.checkEnvironment(this.creativeImpressionTrackingOptions.creativeOptions):void 0){t=h;break}}else t=this.backupTag;return t===this.backupTag&&(this.hasBackup=!0),p=null!=(l=null!=t&&null!=(u=t.size)?u.width:void 0)?l:this.size.width,n=null!=(c=null!=t&&null!=(d=t.size)?d.height:void 0)?c:this.size.height,i='
\n '+(null!=t?t.html():void 0)+"\n
"},e.prototype.random=function(){return Math.floor(1e9*Math.random())},e.prototype.rotate=function(e){var n,i,r,a,o,s,l,u;if(l={},null!=this.params.activeCreativeId)return e[this.params.activeCreativeId];s=function(){var t;t=[];for(a in e)u=e[a],t.push(a);return t}().length>1,r=0,o=Math.random(),s&&t.Console.group("Rotating");for(i in e){if(n=e[i],r+=n.weight,r>o){l=n;break}s&&t.Console.log(i+": "+100*n.weight+"%")}return s&&t.Console.groupEnd(),l},e.prototype._addLoadListeners=function(){var e;return t.Event.onLoad(function(e){return function(){return e.panelTag&&e.sendChannelMessage("panel",{description:"start_auto_expand_timer",action:"autoExpand"}),e.sendChannelMessage("hooks",{description:"after_page_load_hook",type:"afterPageLoad"})}}(this)),null!=(e=this.backupTag)?e.addClickthroughListener():void 0},e.prototype.sendDebugMessage=function(e){return this.sendChannelMessage("debug",e)},e.prototype.sendChannelMessage=function(e,n,i){return null==i&&(i=null),null!=t.Broker?(null==n.iid&&(n.iid=this.iid),null==n.topic&&(n.topic=e),t.Broker.sendOnChannel(n,i)):void 0},e.prototype.useSafeFrames=function(){return!!("undefined"!=typeof $sf&&null!==$sf?$sf.ext:void 0)},e}()}.call(this); (function(){var e,t,n=function(e,t){function n(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.ExternalPageChannel=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return n(t,e),t.prototype._init=function(){},t.prototype.send=function(e){var t,n;return n=window,"dynamicItems"===e.action?t={topic:"ExternalPage:Items",dynamicItems:e.data}:"previewComplete"===e.action&&(t={topic:"ExternalPage:PreviewComplete",data:"previewComplete"}),n.parent.postMessage(JSON.stringify(t),"*")},t}(t.BaseChannel)}).call(this); (function(){var e,t,n=function(e,t){return function(){return e.apply(t,arguments)}},o=function(e,t){function n(){this.constructor=e}for(var o in t)i.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;e="undefined"!=typeof window&&null!==window?window:global,t=null!=e.spongecell?e.spongecell:e.spongecell={},t.NavChannel=function(e){function i(){return this._closePanel=n(this._closePanel,this),this._openPanel=n(this._openPanel,this),this.safeFramesCallback=n(this.safeFramesCallback,this),i.__super__.constructor.apply(this,arguments)}return o(i,e),i.prototype._init=function(){return this.options.autoOpened=this.options.expandInitially&&!this.hasCookie()},i.prototype.setupPanel=function(e){return this.openCallback=e.openCallback,this.closeCallback=e.closeCallback,this.initialDimensions=e.initialDimensions,this.expansionDimensions=e.expansionDimensions,(this.safeFrames=this.impTag.useSafeFrames())?this.setupSafeFrames():void 0},i.prototype.hasCookie=function(e){return null==e&&(e=this.options.adTagId),t.Cookie.readCookie(e)},i.prototype.writeCookie=function(e,n,o){return t.Cookie.createCookie(e,n,o)},i.prototype.isPushdown=function(){return"push"===this.options.expansionType&&!this.options.expandInitially},i.prototype.setupInitialExpansion=function(){return this.options.autoOpened?this._openPanel():void 0},i.prototype.setupAutoExpandTimer=function(){var e,t;return e=null!=(t=this.options.panelSettings)?t.autoExpand:void 0,this.isPushdown()&&e&&!this.hasCookie()?(setTimeout(function(e){return function(){return e._openPanel()}}(this),2e3),setTimeout(function(e){return function(){return e._closePanel()}}(this),8e3),this.setOverrideCookie("pushdown")):void 0},i.prototype.setOverrideCookie=function(e){var t,n,o,i;return n=null!=(o=this.options)&&null!=(i=o.panelSettings)?i.frequencyCapOverride:void 0,t=n?n:24,setTimeout(function(n){return function(){return n.writeCookie(n.options.adTagId,e,t)}}(this))},i.prototype.send=function(e,t){var n;switch(e.action){case"open":return this._openPanel();case"close":return this._closePanel();case"setup":return this.setupPanel(e),"function"==typeof t&&t(this.options),setTimeout(function(e){return function(){return e.setupInitialExpansion(),e.setupAutoExpandTimer()}}(this),1);case"initTimer":return n=this.options.killTimer?{killTimer:!0,useCustomClose:this.options.useCustomClose}:{initialTimer:this.options.initialTimer,engageTimer:this.options.engageTimer,useCustomClose:this.options.useCustomClose},"function"==typeof t?t(n):void 0;case"remove":return this._removeAd()}},i.prototype.safeFramesCallback=function(e,n){switch(e){case"failed":t.Console.debug("SafeFrames ext call failed %o",n);break;case"expanded":this.expanded=!0;break;case"collapsed":this.expanded=!1;break;default:t.Console.debug("SafeFrames status updated %s %o",e,n)}return this.status=e},i.prototype.setupSafeFrames=function(){var e;try{return this.options.safeFrames=!0,$sf.ext.register(this.initialDimensions.width,this.initialDimensions.height,this.safeFramesCallback)}catch(n){return e=n,this.options.safeFrames=!1,this.safeFrames=!1,t.Console.debug("Error registering SafeFrames %o",e)}},i.prototype._openPanel=function(){return this.safeFrames&&this.expanded?void 0:this.openCallback()},i.prototype._closePanel=function(){return!this.hasCookie()&&this.options.expandInitially&&this.setOverrideCookie("billboard"),this.closeCallback()},i.prototype._removeAd=function(){var e,n;try{return e=document.querySelectorAll(".spongecell-ad")[0],null!=e?e.parentNode.removeChild(e):void 0}catch(o){return n=o,t.Console.log("Remove failed: "+n)}},i}(t.BaseChannel)}).call(this); (function(){"use strict";var e,t,r,n,o=function(e,t){return function(){return e.apply(t,arguments)}};r=null!=window.spongecell?window.spongecell:window.spongecell={},t=null!=r.providers?r.providers:r.providers={},e=null!=t.ExternalContent?t.ExternalContent:t.ExternalContent=function(){function e(){}return e}(),n=r.Utils,t.ExternalContent=function(){function e(e,t,r,n){this.impTag=e,this.options=t,this.iid=r,this.feature=n,this.requestErrorCallback=o(this.requestErrorCallback,this),this.timeout=1e3,this.providerRequests={}}return e.prototype._setupRequestCallback=function(e){var t,n,o,i,s;return null!=(t=this.feature.fallback)&&(t.dynamic=!0),i=this.providerRequests[this.feature.id]={response:null!=(n=this.feature.fallback)?n:{},processorId:null!=(o=this.feature.processorId)?o:this.processorId},s=function(t){return function(n){var o,s;if(!i.responded){if(i.responded=!0,i.response=n,n)try{(null!=(s=n.processor)?s.id:void 0)&&(n.id=n.processor.id),r.Macros.get().dynodeResponse(n,t.impTag)}catch(u){o=u,r.Console.log("Error replacing macros on dynamic response: ",o)}return t.logRequest("complete",i),"function"==typeof e?e(n):void 0}}}(this)},e.prototype.requestErrorCallback=function(){return this.logRequest.apply(this,arguments)},e.prototype.logRequest=function(){return r.Console.log.apply(r.Console,arguments)},e.prototype.checkRequest=function(e){var t;return null==e&&(e=!1),t=this.providerRequests[this.feature.id],((null!=t?t.responded:void 0)||e)&&null!=t.handleResponse&&(t.handleResponse(t.response),w.clearTimeout(this.providerRequests[this.feature.id].timer)),t.responded},e.prototype.writeRequest=function(e){return this.feature.processorId&&this.feature.id?null==this.feature.url?r.Console.log("No dynamic url specified; using static fallback"):this._setupRequestCallback(e):void 0},e.prototype.buildFeatureUrl=function(){},e.prototype.rebuildFeatureUrl=function(){},e.locationRequest=function(t,n){var o;return null==n&&(n={}),o=e._mapUrl(t,n),new Promise(function(){return r.Net.writeScript(o,arguments[0],arguments[1])})},e.ipLocationRequest=function(t,o,i){var s;return null==o&&(o={}),null==i&&(i=!1),o.origin?e.locationRequest(t,o):(s=e._mapUrl(t,o),new Promise(function(){return r.Net.writeScript(s,arguments[0],arguments[1])}).then(function(r){return i&&r?(o=n.extend(o,{origin:r.city+", "+r.region+", "+r.country,lat:r.latitude,lng:r.longitude}),e.locationRequest(t,o)):r}))},e._mapUrl=function(e,t){return t.origin?e.locationsUrl+"?"+n.toQueryString(t):e.ipLocateUrl},e}()}).call(this); (function(){"use strict";var e,t,i,r,s,a,n=function(e,t){function i(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},o={}.hasOwnProperty;a=window,r=null!=a.spongecell?a.spongecell:a.spongecell={},i=null!=r.providers?r.providers:r.providers={},e=null!=i.ExternalContent?i.ExternalContent:i.ExternalContent=function(){function e(){}return e}(),s=r.Utils,t={},i.CreativeServerContent=function(e){function i(e,t,r,s){this.impTag=e,this.options=t,this.iid=r,this.feature=s,i.__super__.constructor.apply(this,arguments),this.provider=this.impTag.tracker.METRIC.CORE}return n(i,e),i.prototype.writeRequest=function(){var e;return e=this._setupRequestCallback(),r.Net.writeRequest(this.feature.url).then(e)["catch"](this.requestErrorCallback)},i.prototype.buildFeatureUrl=function(){return r.Utils.convertUrls(this.feature,["creativeServerUrl"]),this.feature.url=this.feature.creativeServerUrl,this.feature.url=this._rebuildFeatureUrl()},i.prototype._rebuildFeatureUrl=function(){var e,t,i,s,a,n,o,p,l,u,d,h,c,m,g,f;g="iid="+this.iid+"&tzo="+(new Date).getTimezoneOffset(),p=null!=(n=null!=(o=this.impTag.params)?o.flashData:void 0)?n:{};for(t in p)f=p[t],t.match(/^signals\[\d+\]$/)&&(g+="&"+t+"="+f);for(this.impTag.params.idfa&&(g+="&idfa="+this.impTag.params.idfa),this.impTag.params.aaid&&(g+="&aaid="+this.impTag.params.aaid),this.impTag.params.puid&&(g+="&puid="+this.impTag.params.puid),this.impTag.params.xaid&&(g+="&xaid="+this.impTag.params.xaid),this.impTag.params.xcid&&(g+="&xcid="+this.impTag.params.xcid),this.impTag.params.xcrv&&(g+="&xcrv="+this.impTag.params.xcrv),this.impTag.params.xauc&&(g+="&xauc="+this.impTag.params.xauc),u=null!=(l=this.feature.signalValues)?l:[],e=0,i=u.length;i>e;e++){c=u[e],s=new RegExp("signals["+c.signalId+"]").test(g)?void 0:c.value,h=null!=(d=this.impTag.params)?d:{};for(t in h){f=h[t],a=new RegExp("%"+t+"%","g");try{s=s.replace(a,decodeURIComponent(f))}catch(v){r.Console.log("Ignoring unsubstituted macro passed through spongecellParams: "+f)}}m=c.catalogKey?"&signals["+c.signalId+"]="+c.catalogKey+":"+encodeURIComponent(s):"&signals["+c.signalId+"]="+encodeURIComponent(s),new RegExp("signals\\["+c.signalId+"\\]").test(this.feature.url)||(g+=m)}return this.impTag.params.parentUrl&&(g=g+"url="+this.impTag.params.parentUrl),this.feature.url.indexOf("?")>-1?this.feature.url+"&"+g:this.feature.url+"?"+g},i.prototype.checkRequest=function(e){var t;return null==e&&(e=!1),t=this.providerRequests[this.feature.id],e&&!t.responded&&this.logRequest("timeout",t),((null!=t?t.responded:void 0)||e)&&null!=t.handleResponse&&(t.handleResponse(t.response),window.clearTimeout(this.providerRequests[this.feature.id].timer)),t.responded},i.prototype.logRequest=function(e,i){var s,a,n,o,p,l,u,d,h,c,m,g,f,v,T,_,y,x,R,C,k;if(i){if(e&&!t.hasOwnProperty(this.feature.url)){if(t[this.feature.url]=e,(null!=(g=i.response)&&null!=(f=g.items)?f.length:void 0)&&(a=i.response.items.map(function(e){return e.id}),n=i.response.items.map(function(e){return e.item_id}),o=i.response.items),i.response)try{r.Macros.get().dynodeReponse(i.response,this.impTag)}catch(w){}for(k=[],_=null!=(v=null!=(T=i.response)?T.signals:void 0)?v:[],p=0,u=_.length;u>p;p++)if(x=_[p],x.signalValues)for(y=x.signalValues,l=0,d=y.length;d>l;l++)R=y[l],k.push(R.id);if(C=k.length?k.slice(0,5).join(","):null,m={description:e,sp_id:i.processorId,item_id:null!=a?a.join(","):void 0,item_uuid:null!=n?n.join(","):void 0,sv_id:C},this.impTag.tracker.trackDynamic(m,this.provider),this.impTag.sendChannelMessage("debug",{description:"tag_dynode",type:e}),a&&(this.impTag.tracker.defaultOptions.item_id=a.join(",")),null!=o?o.length:void 0){for(c=0,h=o.length;h>c;c++)s=o[c],s.item_id=s.item_id?s.item_id+":"+i.processorId:null;this.impTag.tracker.defaultOptions.items=o,this.impTag.tracker.dynamicItems[i.processorId]=o}C&&(this.impTag.tracker.defaultOptions.sv_id=this.impTag.tracker.defaultOptions.sv_id?this.impTag.tracker.defaultOptions.sv_id+","+C:C)}return void 0}},i._featureTracked=function(){return void(t={})},i}(e)}).call(this); (function(){var e,r,n=function(e,r){function n(){this.constructor=e}for(var t in r)i.call(r,t)&&(e[t]=r[t]);return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e},i={}.hasOwnProperty;e="undefined"!=typeof window&&null!==window?window:global,r=null!=e.spongecell?e.spongecell:e.spongecell={},r.MRAIDChannel=function(e){function i(){return i.__super__.constructor.apply(this,arguments)}return n(i,e),i.prototype.init=function(){return this.resizeListener=!1},i.prototype.send=function(e,n){var i,t,a,d,o,s,l,u,p,m,c;switch(c=function(e){return function(){return e.resizeListener?void 0:(e.resizeListener=!0,mraid.addEventListener("stateChange",function(r){return"default"===r?e.closeCallback():void 0}))}}(this),e.fn){case"setup":return d=function(){return mraid.isViewable()?(n(),mraid.removeEventListener("ready",d)):mraid.addEventListener("viewableChange",function(e){return e?(n(),mraid.removeEventListener("viewableChange",arguments.callee)):void 0})},mraid&&"loading"===mraid.getState()?mraid.addEventListener("ready",d):n();case"resize":return this.resize=!0,this.closeCallback=null!=(o=e.params)?o.closeCallback:void 0,"undefined"!=typeof mraid&&null!==mraid&&mraid.resize(),c();case"expand":return this.resize=!0,this.closeCallback=null!=(s=e.params)?s.closeCallback:void 0,"undefined"!=typeof mraid&&null!==mraid&&mraid.expand(),c();case"openLink":return"undefined"!=typeof mraid&&null!==mraid?mraid.open(e.params):void 0;case"checkVideoSupport":return i="undefined"!=typeof mraid&&null!==mraid?mraid.supports("inlineVideo"):void 0,n(i);case"playVideo":return"undefined"!=typeof mraid&&null!==mraid?mraid.playVideo(e.params):void 0;case"setResizeProperties":return a="undefined"!=typeof mraid&&null!==mraid&&"function"==typeof mraid.getCurrentPosition?mraid.getCurrentPosition():void 0,e.params.offsetY||(e.params.offsetY=(null!=a?a.y:void 0)>e.params.height-e.params.baseHeight?e.params.height-e.params.baseHeight:0),delete e.params.baseHeight,delete e.params.baseWidth,"undefined"!=typeof mraid&&null!==mraid?mraid.setResizeProperties(e.params):void 0;case"setExpandProperties":return"undefined"!=typeof mraid&&null!==mraid?mraid.setExpandProperties({width:null!=(l=e.params.width)?l:screen.width,height:null!=(u=e.params.height)?u:screen.height}):void 0;case"close":return"default"===("undefined"!=typeof mraid&&null!==mraid?mraid.getState():void 0)&&this.resize?!1:"undefined"!=typeof mraid&&null!==mraid?mraid.close():void 0;case"useCustomClose":return"undefined"!=typeof mraid&&null!==mraid?mraid.useCustomClose(null!=(p=e.params)?p:!0):void 0;case"loadMraid":return t=document.createElement("script"),t.setAttribute("type","text/javascript"),t.setAttribute("src","mraid.js"),t.onerror=function(){return console.error("MRAID not found, serving Mobile Web")},t.onload=function(){return console.log("MRAID found, serving Mobile In-App")},document.head.appendChild(t);default:return null!=(m=r.Console)?m.log("mraid request: Unknown Function: "+e.fn):void 0}},i}(r.BaseChannel)}).call(this); (function(){var t,e,n=function(t,e){function n(){this.constructor=t}for(var i in e)s.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},s={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,e=null!=t.spongecell?t.spongecell:t.spongecell={},e.SetupChannel=function(s){function i(){return i.__super__.constructor.apply(this,arguments)}return n(i,s),i.prototype._init=function(){return this.checkFullScreenAccess(),e.Utils.convertUrls(this.options,["creativeSwfUrl","sharedBaseUrl","studioAssetBaseUrl"]),e.Utils.convertUrls(this.options.urls),null!=this.options.assets?this.baseAssets():void 0},i.prototype.start=function(){var t,n,s,i;return t=this.findClickTags(this.impTag.params),this.options.flashData=null!=(n=null!=(s=this.impTag.params)?s.flashData:void 0)?n:{},this.options.mergedLandingPages=this.mergeClickTagsAndLandingPages(t,this.options.landingPages),this.options.clickTagsAndLandingPages=this.flashifyLandingPages(t,this.options.mergedLandingPages),e.Console.log("ClickTags + Landing Pages: %o",this.options.clickTagsAndLandingPages),e.Utils.extend(this.options,this.options.clickTagsAndLandingPages),0===(null!=(i=this.options.features)?i.length:void 0)&&(this.options.features=null),this.impTag.clickTags=t},i.prototype.send=function(t,n){var s,i;return t.action?"polite"===t.action?(this.impTag.sendDebugMessage({description:"tag_polite",type:"start"}),i=!!document&&"complete"===document.readyState,s=function(t){return function(){return n(),t.impTag.sendDebugMessage({description:"tag_polite",type:"stop"})}}(this),i?s():e.Event.onLoad(s)):void 0:(e.Engagement.removeWrappers(),this.options.mraid="undefined"!=typeof mraid&&null!==mraid,this.options.topDimensions=this.impTag.topDimensions,n(this.options))},i.prototype.baseAssets=function(){var t,e,n,s,i;s=this.options.assets,i=[];for(n in s)t=s[n],t.url=""+this.options.studioAssetBaseUrl+t.path,i.push(function(){var n,s,i,o,r;for(o=null!=(i=t.children)?i:[],r=[],n=0,s=o.length;s>n;n++)e=o[n],r.push(e.url=""+this.options.studioAssetBaseUrl+e.path);return r}.call(this));return i},i.prototype.flashifyLandingPages=function(t,e){var n,s,i,o,r,a;i={};for(s in e)a=e[s],s="clickTag"+s,i[s]=a;for(s=n=1;20>=n;s=++n)null==i[o="clickTag"+s]&&(i[o]=null!=(r=t.clickTag)?r:"");return i},i.prototype.checkFullScreenAccess=function(){var n,s,i,o;if(t!==top)try{if(s=null!=t?t.frameElement:void 0,i=t,!s)return void(this.options.disableFullScreen=!0);for(o=[];s&&i&&i!==top;)s.setAttribute("allowfullscreen","true"),s.setAttribute("webkitallowfullscreen","true"),s.setAttribute("mozallowfullscreen","true"),i=i.parent,o.push(s=i.frameElement);return o}catch(r){return n=r,e.Console.log("Iframe not configured for full-screen video"),this.options.disableFullScreen=!0}},i}(e.BaseChannel)}).call(this); (function(){var t,i,s=function(t,i){function s(){this.constructor=t}for(var o in i)a.call(i,o)&&(t[o]=i[o]);return s.prototype=i.prototype,t.prototype=new s,t.__super__=i.prototype,t},a={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,i=null!=t.spongecell?t.spongecell:t.spongecell={},i.TrackingChannel=function(t){function a(){return a.__super__.constructor.apply(this,arguments)}return s(a,t),a.prototype._init=function(){var t;t=this.impTag.params,this._checkParam(t,"activityPixel")&&(this.options.pixels.activity=t.activityPixel),this._checkParam(t,"placementId")&&(this.options.placement.id=t.placementId),this._checkParam(t,"siteId")&&(this.options.site.id=t.siteId),this._checkParam(t,"idfa")&&(this.options.idfa=t.idfa),this._checkParam(t,"aaid")&&(this.options.aaid=t.aaid),this._checkParam(t,"puid")&&(this.options.puid=t.puid),this._checkParam(t,"xaid")&&(this.options.xaid=t.xaid),this._checkParam(t,"xcid")&&(this.options.xcid=t.xcid),this._checkParam(t,"xcrv")&&(this.options.xcrv=t.xcrv),this._checkParam(t,"xauc")&&(this.options.xauc=t.xauc);try{i.Macros.get().init(this.options,this.impTag.params)}catch(s){}return i.Utils.convertUrls(this.options,["heatMapBaseUrl","trackingBaseUrl"]),this.options.heatMapTrackingEnabled=this.options.heatMapEnabled,this.options.heatmapBaseURL=this.options.heatMapBaseUrl,this.options.reportBaseURL=this.options.trackingBaseUrl,this.options.trackingDisabled=!this.options.trackingEnabled,this.options.iid=this.iid,this.impTag.tracker=this.tracker=new i.Tracker(this.options),this.impTag.creativeImpressionTrackingOptions={}},a.prototype.send=function(t){return this.tracker.trackEvent(t)},a.prototype._checkParam=function(t,i){return t[i]&&!this._isMacro(i,t.activityPixel)},a.prototype._assignThirdPartyPixel=function(t){var i,s;return i=t+"s",(null!=(s=this.options.pixels[i])?s.length:void 0)>0?this.options.pixels[t]=this.options.pixels[i][0]:void 0},a.prototype._isMacro=function(t,i){var s,a,o;o=this.options.macros[t]||[];for(s in o)if(a=o[s],i===a)return!0;return!1},a}(i.BaseChannel)}).call(this); (function(){var n,e,t=function(n,e){function t(){this.constructor=n}for(var i in e)r.call(e,i)&&(n[i]=e[i]);return t.prototype=e.prototype,n.prototype=new t,n.__super__=e.prototype,n},r={}.hasOwnProperty;n="undefined"!=typeof window&&null!==window?window:global,e=null!=n.spongecell?n.spongecell:n.spongecell={},e.LoadingChannel=function(n){function e(){return e.__super__.constructor.apply(this,arguments)}return t(e,n),e.prototype._init=function(){},e.prototype.start=function(){},e.prototype.send=function(n){return this[n.action]()},e.prototype.styleTag=function(n){var e,t,r,i,s,a,o;return s=n.preloaderType,o=n.width,i=n.height,e=n.bgColor,r=n.fgColor,a=document.createElement("style"),t="#preloader-container {\n background: "+e+";\n margin: auto;\n width: '100%';\n height: '100%';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.centered-container {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}",t+=function(){switch(s){case"circle":return this.circleCss(r);case"bars":return this.barsCss(r);case"dots":return this.dotsCss(r)}}.call(this),a.innerHTML=t,a},e.prototype.preloaderContainer=function(n){var e,t;return t=document.createElement("div"),t.id="preloader-container",e=document.createElement("div"),e.className="centered-container",e.innerHTML=function(){switch(n){case"circle":return this.circleHtml();case"bars":return this.barsHtml();case"dots":return this.dotsHtml()}}.call(this),t.appendChild(e),t},e.prototype.removeLoader=function(){var n;return n=document.getElementById("preloader-container"),null!=n?n.parentNode.removeChild(n):void 0},e.prototype.renderPreloader=function(){var n,e,t;if("none"!==this.options.animation.type&&document.body&&window!==top)return e=this.options.animation.fgColor,n=this.options.animation.bgColor,t=this.options.animation.type,document.head.appendChild(this.styleTag({preloaderType:t,width:this.impTag.size.width,height:this.impTag.size.height,bgColor:n,fgColor:e})),document.body.appendChild(this.preloaderContainer(t))},e.prototype.circleHtml=function(){return'
'},e.prototype.barsHtml=function(){return'
\n
\n
\n
\n
\n
\n
'},e.prototype.dotsHtml=function(){return'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'},e.prototype.dotsCss=function(n){return".sk-circle {\n margin: 100px auto;\n width: 40px;\n height: 40px;\n position: relative;\n}\n.sk-circle .sk-child {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n}\n.sk-circle .sk-child:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 15%;\n height: 15%;\n background-color: "+n+";\n border-radius: 100%;\n -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;\n animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;\n}\n.sk-circle .sk-circle2 {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg); }\n.sk-circle .sk-circle3 {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg); }\n.sk-circle .sk-circle4 {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n.sk-circle .sk-circle5 {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg); }\n.sk-circle .sk-circle6 {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg); }\n.sk-circle .sk-circle7 {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n.sk-circle .sk-circle8 {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg); }\n.sk-circle .sk-circle9 {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg); }\n.sk-circle .sk-circle10 {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n.sk-circle .sk-circle11 {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg); }\n.sk-circle .sk-circle12 {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg); }\n.sk-circle .sk-circle2:before {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s; }\n.sk-circle .sk-circle3:before {\n -webkit-animation-delay: -1s;\n animation-delay: -1s; }\n.sk-circle .sk-circle4:before {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s; }\n.sk-circle .sk-circle5:before {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s; }\n.sk-circle .sk-circle6:before {\n -webkit-animation-delay: -0.7s;\n animation-delay: -0.7s; }\n.sk-circle .sk-circle7:before {\n -webkit-animation-delay: -0.6s;\n animation-delay: -0.6s; }\n.sk-circle .sk-circle8:before {\n -webkit-animation-delay: -0.5s;\n animation-delay: -0.5s; }\n.sk-circle .sk-circle9:before {\n -webkit-animation-delay: -0.4s;\n animation-delay: -0.4s; }\n.sk-circle .sk-circle10:before {\n -webkit-animation-delay: -0.3s;\n animation-delay: -0.3s; }\n.sk-circle .sk-circle11:before {\n -webkit-animation-delay: -0.2s;\n animation-delay: -0.2s; }\n.sk-circle .sk-circle12:before {\n -webkit-animation-delay: -0.1s;\n animation-delay: -0.1s; }\n\n@-webkit-keyframes sk-circleBounceDelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n } 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n\n@keyframes sk-circleBounceDelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n } 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}"},e.prototype.barsCss=function(n){return".spinner {\n margin: 100px auto;\n width: 50px;\n height: 70px;\n text-align: center;\n font-size: 10px;\n}\n\n.spinner > div {\n background-color: "+n+";\n height: 100%;\n width: 6px;\n display: inline-block;\n\n -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;\n animation: sk-stretchdelay 1.2s infinite ease-in-out;\n}\n\n.spinner .rect2 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s;\n}\n\n.spinner .rect3 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s;\n}\n\n.spinner .rect4 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s;\n}\n\n.spinner .rect5 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s;\n}\n\n@-webkit-keyframes sk-stretchdelay {\n 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }\n 20% { -webkit-transform: scaleY(1.0) }\n}\n\n@keyframes sk-stretchdelay {\n 0%, 40%, 100% {\n transform: scaleY(0.4);\n -webkit-transform: scaleY(0.4);\n } 20% {\n transform: scaleY(1.0);\n -webkit-transform: scaleY(1.0);\n }\n}"},e.prototype.circleCss=function(n){return".sp {\n width: 32px;\n height: 32px;\n clear: both;\n margin: 25% auto;\n}\n\n/* Spinner Circle Rotation */\n.sp-circle {\n border: 5px rgba(0, 0, 0, 0.25) solid;\n border-top: 5px "+n+" solid;\n border-radius: 50%;\n -webkit-animation: spCircRot .6s infinite linear;\n animation: spCircRot .6s infinite linear;\n}\n\n@-webkit-keyframes spCircRot {\n from {\n -webkit-transform: rotate(0deg);\n }\n to {\n -webkit-transform: rotate(359deg);\n }\n}\n@keyframes spCircRot {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n}"},e}(e.BaseChannel)}).call(this); impressionTagOptions.channels.hooks.beforeAdLoad = function(){ var setupPanel = function() { try { window.frameElement.parentNode.style.width = '728px'; window.frameElement.parentNode.style.height = '90px'; } catch(e) {} } setTimeout(setupPanel, 200); }; impressionTagOptions.channels.hooks.afterPageLoad = function(){ }; (function(){var o,t,n=function(o,t){function n(){this.constructor=o}for(var e in t)r.call(t,e)&&(o[e]=t[e]);return n.prototype=t.prototype,o.prototype=new n,o.__super__=t.prototype,o},r={}.hasOwnProperty;o="undefined"!=typeof window&&null!==window?window:global,t=null!=o.spongecell?o.spongecell:o.spongecell={},t.HooksChannel=function(o){function t(){return t.__super__.constructor.apply(this,arguments)}return n(t,o),t.prototype._init=function(){var o,t,n,r;if(this.hooks={},null!=this.options){n=this.options,r=[];for(o in n)t=n[o],r.push(this.registerHook(o,t));return r}},t.prototype.send=function(o){var t,n,r,e,s,i,p;if(n=o.type,null!=this.hooks[n])try{for(i=this.hooks[n],p=[],e=0,s=i.length;s>e;e++)r=i[e],p.push(r.call(this));return p}catch(u){return t=u,!1}},t.prototype.registerHook=function(o,t){var n;return null==(n=this.hooks)[o]&&(n[o]=[]),this.hooks[o].push(t)},t}(t.BaseChannel)}).call(this); (function(){"use strict";var e,t,r,n,i,s=function(e,t){return function(){return e.apply(t,arguments)}},l=function(e,t){function r(){this.constructor=e}for(var n in t)o.call(t,n)&&(e[n]=t[n]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=null!=window.spongecell?window.spongecell:window.spongecell={},r=null!=n.providers?n.providers:n.providers={},null==r.callbacks&&(r.callbacks={}),null==r.responses&&(r.responses={}),null==r.sent&&(r.sent={}),null==r.written&&(r.written={}),e=null!=r.ExternalContent?r.ExternalContent:r.ExternalContent=function(){function e(){}return e}(),i=n.Utils,t=n.Net,n.ModernFeatureChannel=function(t){function o(e,t,r){this._setupUuids=s(this._setupUuids,this),this._featureCallbackFn=s(this._featureCallbackFn,this);var l,u,a,p,c,d,f,h,m,g,v,y,_,k;if(o.__super__.constructor.call(this,e,t,r),this.options)for(this.features=null!=(l=this.options).features?l.features:l.features=[],i.convertUrls(this.options,["ipLocateUrl","locationsUrl","studioAssetBaseUrl"]),m=this.features,a=0,f=m.length;f>a;a++)if(u=m[a],i.convertUrls(u,["url"]),n.Net.isSSL()&&u.fallback)for(v=null!=(g=u.fallback.items)?g:[],c=0,h=v.length;h>c;c++){p=v[c],y=!1,_=!1;for(d in p)k=p[d],"src"===d?y=!0:"src.https"===d&&(_=!0);y&&_&&(p.src=p["src.https"])}}return l(o,t),o.prototype.buildAssetUrls=function(e){var t,r,n,i;for(i=[],r=0,n=e.length;n>r;r++)t=e[r],i.push(t.url=""+this.options.studioAssetBaseUrl+t.path);return i},o.prototype.start=function(){var e,t,n,i,s;for(i=this.features,t=0,n=i.length;n>t;t++)e=i[t],e.provider=new r[null!=(s=e.provider)?s:"ExternalContent"](this.impTag,this.options,this.iid,e),e.provider.buildFeatureUrl(),e.processorId&&r.written[e.url]||(e.processorId&&(r.written[e.url]=!0),e.provider.writeRequest());return void 0},o.prototype.send=function(e,t){var s,l,o,u,a,p,c,d,f;if(o=i.isObject(e.feature)?e.feature:{id:e.featureId,name:e.featureName,type:e.featureType},o.name=null!=(p=o.name)?p.toLowerCase():void 0,o.type=null!=(c=o.type)?c.toLowerCase():void 0,l=this._findFeature(o)||n.Console.debug("No Feature matching %o found in settings",o)||o,l.url){if(r.responses[l.url])return void t(r.responses[l.url]);if(l.processorId&&r.sent[l.url])return null==(s=r.callbacks)[u=l.url]&&(s[u]=[]),void r.callbacks[l.url].push(t);l.processorId&&!r.sent[l.url]&&(r.sent[l.url]=!0)}return f=function(r){return function(n){var i,s,o,u,a;return(null!=n?n.items:void 0)&&null!=(a=null!=(i=n.items)?i.length:void 0)&&a<(null!=(s=null!=l?l.minItems:void 0)?s:0)&&(u=null!=(o=(null!=l?l.minItems:void 0)-a)?o:0,n.items=n.items.concat(l.fallback.items.slice(0,u))),r._doFeature({feature:l,message:e,callback:t,response:n})}}(this),void(null!=l.processorId?null!=l.url?(a=l.provider,d=l.provider.providerRequests[l.id],d.handleResponse=f,a.checkRequest()||(d.timer=window.setTimeout(function(){return a.checkRequest(!0)},a.timeout))):f(l.fallback):l.url&&"feed"===l.type?(n.callbacks["fed"+l.feedId]=f,n.Net.writeScript(l.url)):f())},o.prototype._replaceMacros=function(e){var t,r,i;if("object"==typeof e){r=[];for(t in e)i=e[t],r.push("href"===t&&"string"==typeof i?e[t]=n.Macros.get().replace(i):"object"==typeof i?this._replaceMacros(i):void 0);return r}},o.prototype._featureCallbackFn=function(e,t){return function(n){return function(i){var s,l,o,u;if(i&&"function"==typeof n._replaceMacros&&n._replaceMacros(i),n._setupUuids(i,t),"function"==typeof e&&e(null!=i?i:t),r.responses[t.url]=i,r.callbacks[t.url])for(u=r.callbacks[t.url],l=0,o=u.length;o>l;l++)(s=u[l])(i);return void 0}}(this)},o.prototype._doFeature=function(e){var t,r,n,i,s;return r=e.feature,n=e.message,t=e.callback,s=e.response,"map"===r.type?this._doMap(r,null!=(i=n.params)?i:{},this._featureCallbackFn(t,r)):this._featureCallbackFn(t,r)(s&&n.studio?this._doStudio(r,s):s)},o.prototype._doMap=function(t,r,n){var i,s,l,o,u;return r.upload_id=null!=(i=null!=(s=t.importId)?s:null!=(l=t["import"])?l.id:void 0)?i:null!=(o=t.settings)&&null!=(u=o["import"])?u.id:void 0,e.ipLocationRequest(this.options,r,!0).then(function(e){return n(e)})},o.prototype._doStudio=function(e,t){var r,n,s,l,o,u,a,p,c,d,f,h,m,g,v,y,_,k,b,w,C,T,U,F,I,M,S;for(n=null!=(m=e.dynamicAssets)?m:{},p=null!=(g=e.dynamicLandingPages)?g:{},_=null!=(y=t.items)?y:[],F=[],o=0,c=_.length;c>o;o++){for(u=_[o],I={assets:{},landingPages:{},properties:{},item_id:u.item_id,id:u.id},C=null!=(k=null!=(b=t.properties)?b:null!=(w=e.fallback)?w.properties:void 0)?k:[],a=0,d=C.length;d>a;a++)h=C[a],M=u[h.name],M&&null!=h.variant&&(M=M[h.variant]),M&&(S=i.isObject(M)?null!=(T=null!=(U=M.src)?U:M.href)?T:M.text:M,null!=n[h.id]?(r=i.extend({},n[h.id],"object"==typeof M?M:{},{name:h.name},{url:S}),delete r.src,r.children&&this.buildAssetUrls(r.children),I.assets[r.id]=r):null!=(f=p[h.id])?(S&&(l=S.replace(/\[clickTag.*?\]/g,null!=(v=this.impTag.clickTags.clickTag)?v:"")),I.landingPages[f.key]=l):null!=M&&(M=I.properties[h.id]={name:h.name,text:S},"layout"===h.name&&null!=M&&(I.layout=M.text)));s=this.findClickTags(this.impTag.params),I.landingPages=this.mergeClickTagsAndLandingPages(s,I.landingPages,!0),F.push(I)}return F},o.prototype._findFeature=function(e){var t,r,n,i,s,l;if(this.options.features&&(null!=(i=null!=(s=e.id)?s:e.name)?i:e.type))for(l=this.options.features,r=0,n=l.length;n>r;r++)if(t=l[r],e.id&&e.id===t.id||e.name&&e.name===t.name||e.type&&e.type===t.type)return t;return void 0},o.prototype._setupUuids=function(e,t){var r,n,i,s,l,o,u,a,p,c,d,f,h;for(null==(r=this.impTag.tracker).itemsByScreen&&(r.itemsByScreen={}),p=null!=e?e:[],d=[],i=0,o=p.length;o>i;i++){for(s=p[i],h={},a=null!=(c=this.impTag.processors[t.processorId])?c:[],l=0,u=a.length;u>l;l++)f=a[l],null==h[f]&&(h[f]=[]),h[f].push(s.item_id),null==(n=this.impTag.tracker.itemsByScreen)[f]&&(n[f]=[]),this.impTag.tracker.itemsByScreen[f].push(s.item_id);this.impTag.tracker.itemsByUuid[s.item_id]=s.id,d.push(s.screenMap=h)}return d},o}(n.BaseChannel),window.__karma__||(n.FeatureChannel=n.ModernFeatureChannel)}).call(this); (function(){var t,e,i=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},r={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,e=null!=t.spongecell?t.spongecell:t.spongecell={},e.BackupTag=function(t){function r(){return r.__super__.constructor.apply(this,arguments)}return i(r,t),r.prototype._init=function(){return e.Utils.convertUrls(this,["imageUrl"])},r.prototype.checkEnvironment=function(t){return t.screen="DEFAULT",!0},r.prototype.html=function(){var t,i,r,n,c,o,s,l,a,h,u;if(i=(null!=(o=this.border)?o.thickness:void 0)?this.size.height-2*this.border.thickness:this.size.height-2,r=(null!=(s=this.border)?s.thickness:void 0)?this.size.width-2*this.border.thickness:this.size.width-2,t=(null!=(l=this.border)?l.thickness:void 0)?"border: "+this.border.thickness+"px solid "+this.border.color+";":"border: 1px solid #000;",n='',null!=this.linkUrl){h=this.linkUrl,h=h.replace(/\*\*click_tag\*\*/g,encodeURIComponent(this.clickTags.clickTag)),h=h.replace(/\*\*iid\*\*/g,this.tracker.iid),h=h.replace(/\*\*random\*\*/g,e.Utils.random()),h=h.replace(/\*\*placement_id\*\*/g,this.tracker.placement.id?e.Net.encode(this.tracker.placement.id):""),h=h.replace(/\*\*site_id\*\*/g,this.tracker.site.id?e.Net.encode(this.tracker.site.id):""),this.html5&&e.Utils.isUrl(this.clickTags.clickTag)&&(h=this.clickTags.clickTag+h),a=this.macros;for(c in a)u=a[c],h=h.replace("%"+c+"%",u);return''+n+""}return n},r.prototype.addClickthroughListener=function(){var t,i;return i=function(t){return function(){return t.clicked?(event.preventDefault(),event.stopPropagation()):t.tracker.trackExternalPixels("click_through",{}),t.clicked=!0,setTimeout(function(){return t.clicked=!1},400)}}(this),t=document.getElementById("backup_link"),t?e.Event.on(t,"click",function(){return function(){return i()}}(this)):void 0},r}(e.CreativeTag)}).call(this); (function(){var t,e,r=function(t,e){function r(){this.constructor=t}for(var i in e)s.call(e,i)&&(t[i]=e[i]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},s={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,e=null!=t.spongecell?t.spongecell:t.spongecell={},e.StudioTag=function(t){function s(t,e,r){this.iid=t,this.params=r,s.__super__.constructor.apply(this,arguments)}return r(s,t),s.prototype.checkEnvironment=function(t){return this.checkBrowser()?!0:(t.nohtml5=!0,!1)},s.prototype.checkBrowser=function(){return this.platform=e.Browser.isMobile()?"mobile":"desktop",e.Browser.supported()},s.prototype._setupMRAIDDimensions=function(){var t;return t=mraid.getMaxSize&&mraid.getMaxSize(),t?(null==this.size&&(this.size={}),this.size.width=t.width,this.size.height=t.height):void 0},s}(e.CreativeTag)}).call(this),function(){var t,e,r=function(t,e){function r(){this.constructor=t}for(var i in e)s.call(e,i)&&(t[i]=e[i]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},s={}.hasOwnProperty;t="undefined"!=typeof window&&null!==window?window:global,e=null!=t.spongecell?t.spongecell:t.spongecell={},e.StudioScriptTag=function(s){function i(){return i.__super__.constructor.apply(this,arguments)}return r(i,s),i.prototype._init=function(){return e.Utils.convertUrls(this,["cssUrl","jsUrl"]),null==this.safeFrames&&(this.safeFrames="undefined"!=typeof $sf&&null!==$sf?$sf.ext:void 0),null==this.size&&(this.size={}),null!=this.size?this.size:this.size={}},i.prototype.checkEnvironment=function(t){var r,s;return this.checkBrowser()?!this.expansionRequired||e.Expansion.allowedAccessToTop()||this.safeFrames?!0:this.params.busterUrl||this.params.busterPath?(this.redirectToIframeBuster(),this.iframeBusted=!0):(null==t.creativeOptions&&(t.creativeOptions={}),null==(r=t.creativeOptions).noflash&&(r.noflash=!0),null==(s=t.creativeOptions).screen&&(s.screen="DEFAULT"),!1):(t.nohtml5=!0,!1)},i.prototype.html=function(){return window.mraid&&this._setupMRAIDDimensions(),""},i.prototype.delegateEvents=function(){var t,r,s,i,o,n,l,a,p;if(p=document.createElement("script"),p.type="text/javascript",p.src=this.jsUrl,i=document.getElementById("spongecell-ad-"+this.iid),r=null!=(o=null!=(n=this.border)?n.thickness:void 0)?o:1,t=null!=(l=null!=(a=this.border)?a.color:void 0)?l:"transparent",s="0 0 0 "+r+"px "+t,e.Expansion.inIframe()&&e.Expansion.allowedAccessToTop())try{window.frameElement.style.boxShadow=s}catch(u){i.style.boxShadow=s}else i.style.boxShadow=s;return"polite"===this.loading?e.Event.onLoad(function(){return i.appendChild(p)}):i.appendChild(p)},i.prototype.redirectToIframeBuster=function(){return this.params.busterDomain||this.params.busterUrl?this.redirect(this.params.busterUrl?this._getBusterUrl()+"?"+this.buildBusterQS():location.protocol+"//"+this.params.busterDomain+"/"+this.params.busterPath+"?"+this.buildBusterQS()):e.Console.log("Iframe Buster Params not set")},i.prototype.redirect=function(r){return this.redirected?void 0:(e.Console.log("Iframe buster redirect: "+r),t.location.replace(r),this.redirected=!0)},i.prototype.buildBusterQS=function(){var t,e,r,s;e=[],e.push("adTagId="+this.adTagId),delete this.params.busterUrl,delete this.params.busterDomain,delete this.params.busterPath,r=this.params;for(t in r)s=r[t],e.push(t+"="+s);return e.join("&")},i.prototype._getBusterUrl=function(){var t,e,r,s,i,o,n;if("*"===this.params.busterUrl){o=document.referrer;try{for(;window.parent&&window.parent!==top;)n=window.parent,s=n.document.referrer,o=s}catch(l){e=l,o=document.referrer}return t=this._getDomain(o),r=null!=(i=this.params.busterPath)?i:"spongecell/spongecell_iframebuster.html",window.location.protocol+"//"+t+"/"+r}return this.params.busterUrl},i.prototype._getDomain=function(t){var e;return e=t.indexOf("://")>-1?t.split("/")[2]:t.split("/")[0],e=e.split(":")[0]},i}(e.StudioTag)}.call(this); window.spongecellParams = window.spongecellParams || {}; var impressionTag = new spongecell.ImpressionTag(impressionTagOptions, window.spongecellParams); impressionTag.render();