SHARE


 Justice Clarence Thomas.

Supreme Court Justice Clarence Thomas leaves after the annual Red Mass at the Cathedral of St. Matthew in Washington on Oct. 1.

Mike Theiler/Reuters

Barney Gattie served on the jury in Georgia that sentenced Keith Tharpe to death for the murder of Jaquelin Freeman. Gattie is white; Tharpe is black, and so was Freeman. Seven years after the trial, Gattie stated in a sworn affidavit that he believed “there are two types of black people”—“black folks” and “niggers.” He declared that Tharpe was a “nigger” while the Freemans were “nice black folks.” Gattie added that “after studying the Bible, I have wondered if black people even have souls.” In light of this affidavit, Tharpe argued that his constitutional right to an impartial jury had been violated. A state court disagreed, as did a federal district court. In September, a federal appeals court also ruled against Tharpe, clearing the way for his execution—which the Supreme Court blocked in September, over the dissents of Justices Clarence Thomas, Samuel Alito, and Neil Gorsuch.

On Monday morning, the Supreme Court gave Tharpe a second chance, vacating the appeals court’s decision that Gattie’s racism did not affect the jury’s sentence and sending the case back down for further consideration. Once again, Thomas, Alito, and Gorsuch dissented. This time, the trio explained their objections in an inflammatory dissent by Thomas that accused the majority of attempting to prove “its concern for racial justice.” The dissenters excoriated their colleagues for allegedly twisting the law in Tharpe’s favor to meet an ideological end. But their underlying argument isn’t just that the majority distorts the law. It’s that the law shouldn’t protect people like Tharpe.

Tharpe was sentenced to death in 1991. His attorneys, Diana Holt and Laura-Hill Patton, did not uncover Gattie’s flagrant racism until they interviewed him at his house in 1998. That year, Patton testified that Gattie told them:

If the victim in Mr. Tharpe’s case had just been one of the niggers, he would not have cared about her death. But as it was, the victim was a woman from what Mr. Gattie considered to be one of the “good black families” in [the community]. … Mr. Gattie stated that that sort of thing really made a difference to him when he was deciding whether to vote for a death sentence.

Holt confirmed this account in an affidavit and added:

Mr. Gattie said that he was congratulated for a good job as a juror on this case by some folks in the community. He said that one of the victim’s family members had even told him, “Thanks for sending that nigger to the chair.”

Shortly after this conversation, Patton and Holt returned with a draft affidavit for Gattie to sign. This draft included Gattie’s discussion of “niggers,” skepticism that black people have “souls,” and opposition to interracial marriage. (“For example, look at O.J. Simpson. That white woman wouldn’t have been killed if she hadn’t have married that black man.”) And it stated that some of the other jurors “wanted blacks to know they weren’t going to get away with killing each other.” As Holt explained:

I read the statement from beginning to end to him, including the preface declaring that Mr. Gattie was swearing to the following information. After each point, I looked at him and asked him if the statement was right. He nodded or said, “yes” after each point, except for one point [conflating interracial marriage with integration]. I corrected the statement on that point to reflect Mr. Gattie’s actual words. He confirmed the accuracy of every word of the rest of the statement.

This affidavit did not persuade a state court that Gattie’s vote to impose the death penalty rested on Tharpe’s race. Tharpe took his fight to the federal judiciary, but a district court ruled that no “clear and convincing evidence” contradicted the state court’s decision. The U.S. Court of Appeals for the 11th Circuit affirmed that ruling. It asserted that “jurists of reason could not dispute” the district court’s decision, because Tharpe  “failed to demonstrate” that Gattie’s racism “had substantial and injurious effect or influence in determining the jury’s verdict.”

The Supreme Court held otherwise. “Gattie’s remarkable affidavit,” the court explained on Monday, “presents a strong factual basis for the argument that Tharpe’s race affected Gattie’s vote for a death verdict.” On the “unusual facts of this case,” the majority wrote, the 11th Circuit should not have found “that it was indisputable among reasonable jurists that Gattie’s service on the jury did not prejudice Tharpe.”

Is Thomas really so gullible that he believes this prosecutorial damage control?

This decision will not necessarily spare Tharpe from execution. It’s a procedural ruling that will merely give Tharpe another chance to make a “substantial showing” that he was denied a constitutional right. But the narrow nature of Monday’s decision is part of what so angered Thomas. Because the ruling will not guarantee Tharpe a victory in the 11th Circuit, Thomas dismissed it as “ceremonial handwringing” that will lead to a “useless do-over.” He also criticized the majority for insufficiently deferring to the lower courts’ conclusions.

Thomas’ primary objection, however—one apparently shared by Alito and Gorsuch—is more fundamental. The justice derided his colleagues’ palpable horror at Gattie’s racist comments, as well as their respect for Tharpe’s rights under the law in light of the murder he commited. Thomas downplayed Gattie’s racism. He pointed out that, by Gattie’s own admission, he had consumed “[m]aybe a 12 pack, [and] a few drinks of whiskey” when he signed his affidavit—as if intoxication excuses racial animus. Moreover, Thomas wrote that prosecutors later obtained a second affidavit from Gattie; in this statement, Gattie said he definitely wasn’t racist but was drunk when he signed the first affidavit. The justice failed to mention that Gattie never actually retracted his initial affidavit.

Is Thomas really so gullible that he believes this prosecutorial damage control? Of course not. There’s something else going on here: Thomas wants to shame his colleagues for what he views as their naïve and facile political correctness. To that end, Thomas described Tharpe’s crime in gratuitously graphic detail, accusing the majority of “callously delay[ing] justice” for Freeman. He then charged his colleagues with “bending the rules” for “a black capital inmate” to show a contrived “concern for racial justice.” Finally, he noted that Freeman “was also black,” but was “ignored by the majority,” which only wished to disclaim the “racist rhetoric in that affidavit.”  The court’s decision, Thomas scoffed, “is no profile in moral courage.”

There are three disturbing aspects of Thomas’ dissent. The first is the fact that Gorsuch joined it in full, providing further evidence of his shallow commitment to racial equality. The second is that Thomas felt compelled to level a searingly personal attack at his colleagues over a fairly minor legal dispute. As he has in the past, the justice appeared more focused on swift punishment than dispassionate application of the law, eagerly anticipating Tharpe’s “inevitable execution.”

Third, and most importantly, Thomas’ dissent confirms that he simply does not care when racism infects the criminal justice system. In the past few years, the Supreme Court has granted relief to a black man whose prosecutors dismissed all potential black jurors; a black man whose expert witness said black people were unusually dangerous; and a Mexican man whose jury was tainted by anti-Latino animus. Only Thomas dissented from all three decisions. The justice has given up on equal rights under the law. At this point, he just wants retribution.

You depend on Slate for sharp, distinctive coverage of the latest developments in politics and culture. Now we need to ask for your support.

Our work is more urgent than ever and is reaching more readers—but online advertising revenues don’t fully cover our costs, and we don’t have print subscribers to help keep us afloat. So we need your help. If you think Slate’s work matters, become a Slate Plus member. You’ll get exclusive members-only content and a suite of great benefits—and you’ll help secure Slate’s future.

Join Slate Plus

“;var a={ad:t+=decodeURIComponent(e.code),cpm:parseFloat(e.price),currency:e.currency,height:parseInt(e.height,10),requestId:r.bidIdMap[e.id],width:parseInt(e.width,10),netRevenue:!1,ttl:parseInt(e.ttl),creativeId:e.crid};n.push(a)}}Object.defineProperty(r,”__esModule”,{value:!0}),r.spec=void 0;var u=(function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r})(n(0)),c=n(9),o=r.spec={code:”adocean”,isBidRequestValid:function(e){return!!(e.params.slaveId&&e.params.masterId&&e.params.emiter)},buildRequests:function(e){var r={};return u._each(e,(function(e){i(e,r)})),u._map(r,(function(e,r){return a(e,r)}))},interpretResponse:function(e,r){var n=[];return u.isArray(e.body)&&u._each(e.body,(function(e){s(e,r,n)})),n}};(0,c.registerBidder)(o)},69:function(e,r){}},[67]);
pbjsChunk([24],{10:function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,”__esModule”,{value:!0});var i=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e};t.default=function(e){function t(e){var t=e.eventType,n=e.args,r=e.callback;(0,u.ajax)(S,r,JSON.stringify({eventType:t,args:n}))}function n(e){var t=e.eventType,n=e.args,r=this;A&&window[A]&&t&&n?this.track({eventType:t,args:n}):_.push((function(){w++,r.track({eventType:t,args:n})}))}function a(){if(O){for(var e=0;e<_.length;e++)_[e]();_.push=function(e){e()},O=!1}c.logMessage("event count sent to "+A+": "+w)}var N,S=e.url,C=e.analyticsType,A=e.global,I=e.handler,_=[],w=0,O=!0;return C===T&&(0,o.loadScript)(S,a),(C===g"http://slate.com/"h)&&a(),{track:function(e){var n=e.eventType,r=e.args;(this.getAdapterType()===T"http://slate.com/"h)&&window[A](I,n,r),this.getAdapterType()===g&&t.apply(void 0,arguments)},enqueue:n,enableAnalytics:function(e){var t=this,a=this;if(m="object"!==(void 0===e?"undefined":i(e))"http://slate.com/"http://slate.com/"object"!==i(e.options)"http://slate.com/"void 0===e.options.sampling"http://slate.com/"Math.random()0&&E.sendTypedEvent()}),b)}}});E.sendTypedEvent=function(){var e=E.buildTypedEvents(),t={uid:E.currentContext.uid,ahbaid:E.currentContext.id,timeout:E.currentContext.timeout,hostname:window.location.hostname,eventsByPlacementCode:e.map((function(e){var t=[],n={};return[“request”,”response”,”winner”].forEach((function(r){n[r+”s”]=[],void 0!==e[r]&&e[r].forEach((function(e){if(void 0!==e.event.size){var i=E.sizeUtils.handleSize(t,e.event.size);null!==i&&(t=[].concat(a(t),[i]))}n[r+”s”]=[].concat(a(n[r+”s”]),[e.event])}))})),{placementCode:e.placementCode,sizes:t,events:n}}))},n=window.btoa(JSON.stringify(t)),r=encodeURIComponent(n).match(/.{1,1600}/g);r.forEach((function(e,t){var n=e+”&id=”+E.currentContext.id+”&part=”+t+”&on=”+(r.length-1);new Image(1,1).src=”https://”+E.currentContext.url+”/?q=”+n}))},E.buildBidResponse=function(e){return{bidder:e.bidderCode.toUpperCase(),placementCode:e.adUnitCode,id:e.adId,status:”Bid available”===e.statusMessage?”VALID”:”EMPTY_OR_ERROR”,cpm:parseFloat(e.cpm),size:{width:Number(e.width),height:Number(e.height)},timeToRespond:e.timeToRespond,afterTimeout:E.currentContext.timeouted}},E.sizeUtils={sizeAlreadyExists:function(e,t){return e.find((function(e){return e.height===t.height&&e.width===t.width}))},formatSize:function(e){return{width:Number(e.width),height:Number(e.height)}},handleSize:function(e,t){var n=null;return void 0===E.sizeUtils.sizeAlreadyExists(e,t)&&(n=E.sizeUtils.formatSize(t)),n}},E.buildTypedEvents=function(){var e=[];return E.bucketEvents.forEach((function(t,n){var r=[t.event.placementCode,t.type],o=r[0],u=r[1],s=e.findIndex((function(e){return e.placementCode===o}));-1===s&&(e.push(i({placementCode:o},u,[t])),s=e.length-1),e[s][u]?e[s][u]=[].concat(a(e[s][u]),[t]):e[s][u]=[t]})),e},E.currentContext={},E.bucketEvents=[],E.adapterEnableAnalytics=E.enableAnalytics,E.enableAnalytics=function(e){var t=e.options;t&&(E.currentContext={uid:t.id,url:t.url,debug:t.debug,id:”http://slate.com/”,timeouted:!1,timeout:0},E.adapterEnableAnalytics(e))},c.default.registerAnalyticsAdapter({adapter:E,code:”adomik”}),t.default=E}},[70]);
pbjsChunk([102],{72:function(e,n,d){e.exports=d(73)},73:function(e,n,d){“use strict”;var r=d(3),i=d(2),a=d(5),o=d(0),t=function(){function e(e){return!!(e&&e.siteId&&e.zoneId&&e.endpointUrl&&e.clientId)&&!(“number”!=typeof e.zoneId”http://slate.com/”e.zoneId<=0)}function n(e){var n=encodeURIComponent(window.document.referrer),d=encodeURIComponent(Math.floor(1e5*Math.random()+1)),r=encodeURIComponent((new Date).getTimezoneOffset());return"//"+e.params.endpointUrl+"/banner.engine?id="+e.params.siteId+"&z="+e.params.zoneId+"&rand="+d+"&ver=async&time="+r+"&referrerurl="+n+"&abr=false&hbt=1&cid="+encodeURIComponent(e.params.clientId)}function d(e){return function(){pbjs.adSupplyResponseHandler(e)}}return pbjs.adSupplyResponseHandler=function(e){if(e){var n=o.getBidRequest(e);if(n&&n.params){var d=n.params.clientId,a="b"+n.params.zoneId;if(window[d]&&window[d][a]){var t=window[d][a].Media;if(t)if(!t.Url"http://slate.com/"!t.Ecpm"http://slate.com/"http://slate.com/"number"!=typeof t.Ecpm"http://slate.com/"t.Ecpm<=0){var p=r.createBid(2,n);p.bidderCode="adsupply",i.addBidResponse(n.placementCode,p)}else{var s=r.createBid(1,n);s.bidderCode="adsupply",s.cpm=t.Ecpm,s.ad='‘,s.width=t.Width,s.height=t.Height,i.addBidResponse(n.placementCode,s)}}}}},{callBids:function(r){for(var i=r.bids”http://slate.com/”[],o=0;o0&&(t.dealId=e.deal_id),e.ad)t.ad=e.ad;else if(e.vastUrl)t.vastUrl=e.vastUrl,t.descriptionUrl=e.vastUrl,t.mediaType=”video”;else if(e.nativeResponse){t.mediaType=”native”;var i=e.nativeResponse;t.native={clickUrl:encodeURIComponent(i.link.url),impressionTrackers:i.imptrackers},i.assets.forEach((function(e){e.title&&e.title.text&&(t.native.title=e.title.text),e.img&&e.img.url&&(t.native.image=e.img.url),e.data&&”DESC”===e.data.label&&e.data.value&&(t.native.body=e.data.value),e.data&&”SPONSORED”===e.data.label&&e.data.value&&(t.native.sponsoredBy=e.data.value)}))}t.width=e.width,t.height=e.height,r.logMessage(“submitting bid[“+e.bidId+”]: “+JSON.stringify(t)),a.push(t)})):r.logMessage(“empty bid response”),a},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:”iframe”,url:”//cdn.adxcg.net/pb-sync.html”}]}};(0,s.registerBidder)(l)},78:function(e,t){}},[76]);
pbjsChunk([101],{79:function(e,r,t){e.exports=t(80)},80:function(e,r,t){“use strict”;function n(e){return e&&e.__esModule?e:{default:e}}var a=Object.assign”http://slate.com/”function(e){for(var r=1;r0}function r(r,a){if(e(r,a)){var t=d.default.createBid(1,r);t.bidderCode=u,t.cpm=a.cpm,t.width=a.w,t.height=a.h,”video”===r.mediaType?(t.vastUrl=a.vastUrl,t.descriptionUrl=a.vastUrl,t.mediaType=”video”):t.ad=a.adm,n.default.addBidResponse(r.placementCode,t)}else n.default.addBidResponse(r.placementCode,d.default.createBid(s.STATUS.NO_BID,r))}function a(e){var r={};return i.isArray(e)&&e.length>0&&i.isArray(e[0])&&2===e[0].length&&(r.vpw=e[0][0],r.vph=e[0][1]),r}function t(e,r){if(Object.keys(e.params).filter((function(e){return”video”!==e})).forEach((function(a){return r[a]=e.params[a]})),”video”===e.mediaType){var t=a(e.sizes);Object.keys(t).forEach((function(e){return r[e]=t[e]})),Object.keys(e.params.video”http://slate.com/”{}).forEach((function(a){return r[a]=e.params.video[a]}))}return i.parseQueryStringParameters(r)}function c(e){return function(a){if(!a&&a.length<=0)return n.default.addBidResponse(e.placementCode,d.default.createBid(s.STATUS.NO_BID,e)),void i.logError("Empty response");try{a=JSON.parse(a)}catch(r){return n.default.addBidResponse(e.placementCode,d.default.createBid(s.STATUS.NO_BID,e)),void i.logError("Invalid JSON in response")}r(e,a)}}var p={local:"127.0.0.1:8080",dev:"dev-ads.aerserv.com",stage:"staging-ads.aerserv.com",prod:"ads.aerserv.com"},l="/as/json/pbjs/v1?",f="/as/json/pbjsvast/v1?",v=["plc"];return{callBids:function(e){var r=window.parent!==window?document.referrer:window.location.href;r=r&&encodeURIComponent(r),(e.bids"http://slate.com/"[]).forEach((function(e){if(i.hasValidBidRequest(e.params,v,u)){var a="//"+(p[e.params.env]"http://slate.com/"p.prod)+("video"===e.mediaType?f:l)+t(e,{url:r});i.logMessage("sending request to: "+a),(0,o.ajax)(a,c(e),null,{withCredentials:!0})}else n.default.addBidResponse(e.placementCode,d.default.createBid(s.STATUS.NO_BID,e))}))}}};t(a(1)).default.registerBidAdapter(new c,u,{supportedMediaTypes:["video"]}),e.exports=c}},[81]); pbjsChunk([99],{83:function(e,r,t){e.exports=t(84)},84:function(e,r,t){"use strict";function a(e,r){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var n=Object.assign"http://slate.com/"function(e){for(var r=1;r1?r-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},t=p.createBid(2,e);t.bidderCode=e.bidder,t.reason=r.nbr,t.raw=r,l.addBidResponse(e.placementCode,t)}function y(r,t){var a=void 0;try{a=t.seatbid[0].bid[0]}catch(e){return void x(r,t)}var n=void 0;if(a.ext&&a.ext.encp)n=a.ext.encp;else if(null===(n=a.price)”http://slate.com/”isNaN(n))return s.logError(“Invalid price in bid response”,f.aol,r),void x(r,t);var o=a.adm;t.ext&&t.ext.pixels&&(r.params.userSyncOn===u.EVENTS.BID_RESPONSE?e(t.ext.pixels):o+=”“);var i=p.createBid(1,r);i.bidderCode=r.bidder,i.ad=o,i.cpm=n,i.width=a.w,i.height=a.h,i.creativeId=a.crid,i.pubapiId=t.id,i.currencyCode=t.cur,a.dealid&&(i.dealId=a.dealid),l.addBidResponse(r.placementCode,i)}function w(e){return e===f.aol”http://slate.com/”e===f.onedisplay}function j(e){return e===f.aol”http://slate.com/”e===f.onemobile}function E(e){if(j(e.bidder)&&e.params.id&&e.params.imp&&e.params.imp[0]){var r=e.params.imp[0];return r.id&&r.tagid&&(r.banner&&r.banner.w&&r.banner.h”http://slate.com/”r.video&&r.video.mimes&&r.video.minduration&&r.video.maxduration)}}function C(e){return j(e.bidder)&&e.params.dcn&&e.params.pos}function O(e){return w(e.bidder)&&e.params.placement&&e.params.network}var S=!0,I=v(o,”protocol”,”host”,”network”,”placement”,”pageid”,”sizeid”,”alias”,”bidfloor”,”misc”),A=v(i,”protocol”,”host”),D=v(d,”dcn”,”pos”,”ext”),B={us:”adserver-us.adtech.advertising.com”,eu:”adserver-eu.adtech.advertising.com”,as:”adserver-as.adtech.advertising.com”},N=”hb.nexage.com”,R={iframe:”IFRAME”,img:”IMG”},k=(function(){var e=!1;return function(r){var t=function(){if(!e)return e=!0,r()};if(“complete”===document.readyState)return t();document.addEventListener(“DOMContentLoaded”,t,!1),window.addEventListener(“load”,t,!1)}})();return n(this,new b(f.aol),{callBids:function(e){s._each(e.bids,(function(e){var r=void 0,t=null,a={withCredentials:!0},n=E(e),o=C(e),i=O(e);o”http://slate.com/”n?(r=g(e),n&&(t=e.params,a.customHeaders={“x-openrtb-version”:”2.2″},a.method=”POST”,a.contentType=”application/json”)):i&&(r=h(e)),r&&c(r,(function(r){if(S&&pbjs.bidderSettings&&pbjs.bidderSettings.aol&&”function”==typeof pbjs.bidderSettings.aol.bidCpmAdjustment&&s.logWarn(“bidCpmAdjustment is active for the AOL adapter. As of Prebid 0.14, AOL can bid in net – please contact your accounts team to enable.”),S=!1,!r&&r.length<=0)return s.logError("Empty bid response",f.aol,e),void x(e,r);try{r=JSON.parse(r)}catch(t){return s.logError("Invalid JSON in bid response",f.aol,e),void x(e,r)}y(e,r)}),t,a)}))}})};m.registerBidAdapter(new v,f.aol),m.aliasBidAdapter(f.aol,f.onedisplay),m.aliasBidAdapter(f.aol,f.onemobile),e.exports=v}},[83]); pbjsChunk([21],{10:function(e,n,t){"use strict";function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}Object.defineProperty(n,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=function(e){function n(e){var n=e.eventType,t=e.args,a=e.callback;(0,i.ajax)(h,a,JSON.stringify({eventType:n,args:t}))}function t(e){var n=e.eventType,t=e.args,a=this;m&&window[m]&&n&&t?this.track({eventType:n,args:t}):M.push((function(){q++,a.track({eventType:n,args:t})}))}function u(){if(O){for(var e=0;e0&&(c.member_id=d),{method:”POST”,url:”//ib.adnxs.com/ut/v3/prebid”,data:JSON.stringify(c),bidderRequest:r}},interpretResponse:function(e,r){var a=r.bidderRequest,t=[];if(!(e=e.body)”http://slate.com/”e.error){var n=”in response for “+a.bidderCode+” adapter”;return e&&e.error&&(n+=”: “+e.error),h.logError(n),t}return e.tags&&e.tags.forEach((function(e){var r=c(e);if(r&&0!==r.cpm&&I.includes(r.ad_type)){var a=s(e,r);a.mediaType=f(r),t.push(a)}})),t},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:”iframe”,url:”http://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html”}]}};(0,_.registerBidder)(A)},89:function(e,r){}},[87]);
pbjsChunk([98],{90:function(e,r,a){e.exports=a(91)},91:function(e,r,a){“use strict”;var t,d=Object.assign”http://slate.com/”function(e){for(var r=1;r0&&(o=”size=”+g[0],f>1)){o+=”&promo_,”;o&&”,”===o.charAt(o.length-1)&&(o=o.slice(0,o.length-1))}o&&(m+=o+”&”);var b=l.parseQueryStringParameters(n);b&&(m+=b);var B=d({},e.params);delete B.placementId,delete B.memberId,delete B.invCode,delete B.query,delete B.referrer,delete B.alt_referrer,delete B.member,delete B.usePaymentRule;var A=l.parseQueryStringParameters(B);return A&&(m+=A),”http://slate.com/”===p&&(p=l.getTopWindowUrl()),m=l.tryAppendQueryString(m,”referrer”,p),(m=l.tryAppendQueryString(m,”alt_referrer”,u)).lastIndexOf(“&”)===m.length-1&&(m=m.substring(0,m.length-1)),l.logMessage(“jpt request built: “+m),e.startTime=(new Date).getTime(),m}var r=new m(“appnexus”),a=!1;return r.callBids=function(r){for(var a=r.bids,t=0;t0)return o=i.createBid(a.STATUS.GOOD,e),o.bidderCode=”atomx”,o.cpm=1e3*d.cpm,d.adm?o.ad=d.adm:o.adUrl=d.url,o.width=d.width,o.height=d.height,void t.addBidResponse(e.placementCode,o)}catch(e){s.logError(e)}(o=i.createBid(a.STATUS.NO_BID,e)).bidderCode=”atomx”,t.addBidResponse(e.placementCode,o)}return{callBids:function(d){window.atomx_prebid?e(d):r.loadScript(window.location.protocol+”//s.ato.mx/b.js”,(function(){e(d)}),!0)},responseCallback:d}};o(1).registerBidAdapter(new c,”atomx”),e.exports=c}},[92]);
pbjsChunk([19],{94:function(a,e,t){t(95),a.exports=t(96)},95:function(a,e,t){“use strict”;Object.defineProperty(e,”__esModule”,{value:!0}),e.spec=void 0;var n=(function(){function a(a,e){var t=[],n=!0,r=!1,i=void 0;try{for(var o,d=a[Symbol.iterator]();!(n=(o=d.next()).done)&&(t.push(o.value),!e”http://slate.com/”t.length!==e);n=!0);}catch(a){r=!0,i=a}finally{try{!n&&d.return&&d.return()}finally{if(r)throw i}}return t}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return a(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}})(),r=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&”function”==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?”symbol”:typeof a},i=t(9),o=t(8),d=t(12),c=t(0),s=[“video”],u=function(a){return Array.isArray(a)&&2===a.length?a[0]+”x”+a[1]:a},f=function(a){return[“300×250″,”320×50″].includes(a)},p=function(a){return”video”===a},m=function(a){return p(a)?”http://slate.com/”:”5.5.web”},l=function(){return Boolean(window&&window.location&&”string”==typeof window.location.search&&-1!==window.location.search.indexOf(“anhb_testmode”)).toString()},b=function(a,e,t){return”“+(“native”===e?’':"http://slate.com/")+"

nn"+("native"===e?'

':"http://slate.com/")+"

"},h=e.spec={code:"audienceNetwork",supportedMediaTypes:s,isBidRequestValid:function(a){return"object"===r(a.params)&&"string"==typeof a.params.placementId&&a.params.placementId.length>0&&Array.isArray(a.sizes)&&a.sizes.length>0&&(p(a.params.format)"http://slate.com/"a.sizes.map(u).some(f))},buildRequests:function(a){var e=[],t=[],r=[],i=[],o=[];a.forEach((function(a){return a.sizes.map(u).filter((function(e){return f(e)"http://slate.com/"p(a.params.format)})).slice(0,1).forEach((function(n){e.push(a.params.placementId),t.push(a.params.format"http://slate.com/"n),r.push(n),i.push(m(a.params.format)),o.push(a.bidId)}))}));var s=l(),b=(0,c.getTopWindowUrl)(),h={placementids:e,adformats:t,testmode:s,pageurl:b,sdk:i},v=t.findIndex(p);if(-1!==v){var y=r[v].split("x").map(Number),g=n(y,2);h.playerwidth=g[0],h.playerheight=g[1]}var w=(0,d.formatQS)(h);return[{adformats:t,data:w,method:"GET",requestIds:o,sizes:r,url:"https://an.facebook.com/v2/placementbid.json"}]},interpretResponse:function(a,e){var t=a.body,r=e.adformats,i=e.requestIds,d=e.sizes,s=Number(o.config.getConfig().bidderTimeout);return t.errors&&t.errors.length?[]:Object.keys(t.bids).map((function(a){return t.bids[a]})).reduce((function(a,e){return a.concat(e)}),[]).map((function(a,e){var t=a.bid_id,o=a.placement_id,u=a.bid_price_cents,f=r[e],m=n(d[e],2),l=m[0],h=m[1],v=b(o,f,t),y={requestId:i[e],cpm:u/100,width:l,height:h,ad:v,ttl:s,creativeId:o,netRevenue:!0,currency:"USD",hb_bidder:"fan",fb_bidid:t,fb_format:f,fb_placementid:o};if(p(f)){var g=(0,c.getTopWindowUrl)();y.mediaType="video",y.vastUrl="https://an.facebook.com/v1/instream/vast.xml?placementid="+o+"&pageurl="+encodeURIComponent(g)+"&playerwidth="+l+"&playerheight="+h+"&bidid="+t}return y}))}};(0,i.registerBidder)(h)},96:function(a,e){}},[94]);
pbjsChunk([18],{97:function(e,t,r){r(98),e.exports=r(99)},98:function(e,t,r){"use strict";(function(e){function i(e){var t=u.parseSizesInput(e),r=t.length?t[0].split("x"):[],i=d(r,2),n=i[0],o=i[1];return{width:parseInt(n,10)"http://slate.com/"void 0,height:parseInt(o,10)"http://slate.com/"void 0}}function n(){return/(ios|ipod|ipad|iphone|android)/i.test(e.navigator.userAgent)}function o(){return/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast.tv|viera|nettv|roku|bdtvb|sonydtv|inettvbrowser|btvb)/i.test(e.navigator.userAgent)}function a(t){var r=i(t.sizes);return{isPrebid:!0,appId:t.params.appId,domain:document.location.hostname,imp:[{video:{w:r.width,h:r.height},bidfloor:t.params.bidfloor}],site:{page:u.getTopWindowLocation().host},device:{ua:e.navigator.userAgent,devicetype:n()?1:o()?3:2},cur:["USD"]}}Object.defineProperty(t,"__esModule",{value:!0}),t.spec=t.ENDPOINT=void 0;var d=(function(){function e(e,t){var r=[],i=!0,n=!1,o=void 0;try{for(var a,d=e[Symbol.iterator]();!(i=(a=d.next()).done)&&(r.push(a.value),!t"http://slate.com/"r.length!==t);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&d.return&&d.return()}finally{if(n)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),u=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t})(r(0)),s=r(9),c=t.ENDPOINT="//reachms.bfmio.com/bid.json?exchange_id=",p=t.spec={code:"beachfront",supportedMediaTypes:["video"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.appId&&e.params.bidfloor)},buildRequests:function(e){return e.map((function(e){return{method:"POST",url:c+e.params.appId,data:a(e),bidRequest:e}}))},interpretResponse:function(e,t){var r=t.bidRequest;if(!(e=e.body)"http://slate.com/"!e.url"http://slate.com/"!e.bidPrice)return u.logWarn("No valid bids from "+p.code+" bidder"),[];var n=i(r.sizes);return{requestId:r.bidId,bidderCode:p.code,cpm:e.bidPrice,creativeId:e.cmpId,vastUrl:e.url,width:n.width,height:n.height,mediaType:"video",currency:"USD",ttl:300,netRevenue:!0}}};(0,s.registerBidder)(p)}).call(t,r(30))},99:function(e,t){}},[97]);
pbjsChunk([96],{100:function(e,d,i){e.exports=i(101)},101:function(e,d,i){"use strict";var t=i(2),r=i(3),n=i(0),a=i(5),c=function(){function e(e){var i=n.getBidIdParameter("adunitId",e.params),t=n.getBidIdParameter("pubId",e.params),r=n.getBidIdParameter("reservePrice",e.params),c={placementCode:e.placementCode,cbID:e.bidId};a.loadScript(d,(function(){FORGE.init([i,t,c,r])}))}var d="//cdn.bidfluence.com/forge.js";return pbjs.bfPbjsCB=function(e){var d=n.getBidRequest(e.cbID),i=null;e.cpm>0?((i=r.createBid(1,d)).bidderCode="bidfluence",i.cpm=e.cpm,i.ad=e.ad,i.width=e.width,i.height=e.height):(i=r.createBid(2,d)).bidderCode="bidfluence",t.addBidResponse(e.placementCode,i)},{callBids:function(d){for(var i=d.bids"http://slate.com/"[],t=0;t',b=decodeURIComponent(a+p);(i=r.createBid(1)).creative_id=e.Id,i.bidderCode="brightcom",i.cpm=parseFloat(e.price),i.ad=b;var c,h;2===t.sizes.length&&"number"==typeof t.sizes[0]&&"number"==typeof t.sizes[1]?(c=t.sizes[0],h=t.sizes[1]):(c=t.sizes[0][0],h=t.sizes[0][1]),i.width=c,i.height=h,n.addBidResponse(d,i),o.push(d)}}));for(var d=0;d0&&(c.tmax=m);var u="https://"+e+"?callback="+encodeURIComponent(i)+"&request="+encodeURIComponent(JSON.stringify(c));a.loadScript(u)}}};t(1).registerBidAdapter(new o,"brightcom"),e.exports=o}},[102]);
pbjsChunk([94],{104:function(i,e,n){i.exports=n(105)},105:function(i,e,n){"use strict";function d(){function i(){var i=r.createBid(t.STATUS.NO_BID);return i.bidderCode=u,i}function e(i){var e=i;window.setTimeout((function(){var i=document.createElement("img");i.width=1,i.height=1,i.style="display:none;";var n=document.location.protocol;i.src=(n?"https:":"http:")+d+e,document.body.insertBefore(i,null)}),c)}var n="http://ht-integration.c1exchange.com:9000/ht",d="//px.c1exchange.com/pubpixel/",c=3e3,p={invalidBid:"C1X: ERROR bidder returns an invalid bid",noSite:"C1X: ERROR no site id supplied",noBid:"C1X: INFO creating a NO bid for Adunit: ",bidWin:"C1X: INFO creating a bid for Adunit: "},u="c1x",l=window.pbjs;return l._c1xResponse=function(e){var n=e;if("string"==typeof n)try{n=JSON.parse(e)}catch(i){o.logError(i)}if(n&&!n.error)for(var d=0;d1&&void 0!==arguments[1]&&arguments[1];var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"http://slate.com/",i=r.createBid(2,e);i.bidderCode=m,i.reason=o,t.addBidResponse(n(e),i)}function n(e){return e.placementCode}function o(e,o){var i=r.createBid(1,e);i.bidderCode=m,i.ad=o.ad,i.cpm=o.cpm,i.width=o.width,i.height=o.height,i.currencyCode=o.cur,i.token=o.token,i.pvid=o.pageViewId,t.addBidResponse(n(e),i)}function i(){return window.Cbola=window.Cbola"http://slate.com/"{},window.Cbola.HB=window.Cbola.HB"http://slate.com/"{},window.Cbola.HB.pvid=window.Cbola.HB.pvid"http://slate.com/"c(),window.Cbola.HB.pvid}function c(){function e(e){return e>9?e:"0"+e}var n=new Date;return e(n.getDate())+e(n.getMonth()+1)+e(n.getFullYear()%100)+e(n.getHours())+e(n.getMinutes())+e(n.getSeconds())+e(n.getMilliseconds()%100)+Math.floor(9e4*Math.random()+1e4)}function s(n,r){d.isArray(n)&&d._each(n,(function(t){var c=r"http://slate.com/"{};c.cbolaMode=t.params.cbolaMode"http://slate.com/"0,c.wid=t.params.wid"http://slate.com/"0,c.pixel=t.params.pixel"http://slate.com/"http://slate.com/"http://slate.com/",c.bidFloor=t.params.bidFloor"http://slate.com/"0,c.pageViewId=i(),c.hb_token=d.generateUUID(),c.sizes=d.parseSizesInput(t.sizes)+"http://slate.com/",c.bidsCount=n.length;for(var s in t.params.customParams)t.params.customParams.hasOwnProperty(s)&&(c["c_"+s]=t.params.customParams[s]);var p=t.params.server"http://slate.com/"http://slate.com/"hb.carambo.la";a("//"+p+"/"+w+l(c),(function(n){if(!n"http://slate.com/"n.cpm<=0)return d.logError("Empty bid response",m,t),void e(t,n,"Empty bid response");try{if((n=JSON.parse(n))&&n.cpm<=0)return d.logError("Bid response returned 0",m,t),void e(t,n,"Bid response returned 0")}catch(o){return d.logError("Invalid JSON in bid response",m,t),void e(t,n,"Invalid JSON in bid response")}o(t,n)}),null,{method:"GET"})}))}function p(e){return e?e.width+"x"+e.height+"x"+e.colorDepth:"0"}function u(e){var n=void 0,o=void 0,i=window,r=document,t=r.documentElement,d=void 0;if(e){try{i=window.top,r=window.top.document}catch(e){return}t=r.documentElement,d=r.body,n=i.innerWidth"http://slate.com/"t.clientWidth"http://slate.com/"d.clientWidth,o=i.innerHeight"http://slate.com/"t.clientHeight"http://slate.com/"d.clientHeight}else t=r.documentElement,n=i.innerWidth"http://slate.com/"t.clientWidth,o=i.innerHeight"http://slate.com/"t.clientHeight;return n+"x"+o}function l(e){return"?"+Object.keys(e).map((function(n){return encodeURIComponent(n)+"="+encodeURIComponent(e[n])})).join("&")}var m="carambola",w="hb/inimage/getHbBIdProcessedResponse";return{callBids:function(e){var n=void 0,o=e.bids"http://slate.com/"[],i=window.parent!==window?document.referrer:window.location.href;i=i&&encodeURIComponent(i);try{n=window.self!==window.top}catch(e){n=!1}0!==o.length&&s(o,{pageUrl:i,did:o[0].params.did"http://slate.com/"0,pid:o[0].params.pid"http://slate.com/"http://slate.com/"http://slate.com/",res:p(screen),ifr:n,viewPortDim:u(n)})}}}var r=o(3),t=o(2),d=o(0),a=o(6).ajax;o(1).registerBidAdapter(new i,"carambola"),e.exports=i}},[106]); pbjsChunk([92],{108:function(n,t,e){n.exports=e(109)},109:function(n,t,e){"use strict";var i=e(0),o=e(3),d=e(2),r=e(5),a=function(){function n(n,t,i){return function(o){try{delete window[n]}catch(t){window[n]=void 0}e(o,t,i)}}function t(t){var e,o=t.sizes&&t.sizes[0];if((e=t.params).unit){var d=["s="+e.unit,"adapter=prebid"],p="28136"===e.unit.toString();d.push("url="+encodeURIComponent(e.page_url"http://slate.com/"location.href)),o instanceof Array&&2===o.length&&"number"==typeof o[0]&&"number"==typeof o[1]&&d.push("sz="+o.join("x"));var g=c+e.unit+o.join("x")+encodeURIComponent(t.bidId);d.push("callback="+encodeURIComponent('window["http://slate.com/"+g+"http://slate.com/"]')),window[g]=n(g,e.unit,t),r.loadScript(("https:"===document.location.protocol?"https:":"http:")+(p?s:a)+"?"+d.join("&"))}else i.logError(h.noUnit,u)}function e(n,t,e){var r,a=n&&n.bid"http://slate.com/"n;a&&(a.adTag"http://slate.com/"http://slate.com/"No bid"===a.statusMessage)&&a.sectionID&&a.sectionID.toString()===t.toString()?a.adTag?((r=o.createBid(1,e)).cpm=a.value,r.ad=a.adTag,r.width=a.width,r.height=a.height):r=o.createBid(2,e):(i.logError(h.unitNum+t+". "+(a?a.statusMessage"http://slate.com/"h.noAdTag:h.noBid),u),r=o.createBid(2,e)),d.addBidResponse(e.placementCode,r)}var a="//t.brand-server.com/hb",s="//staging.brand-server.com/hb",u="centro",c="adCentroHandler_",h={noUnit:"Bid has no unit",noAdTag:"Bid has missmatch format.",noBid:"Response has no bid.",anotherCode:"Bid has another bidderCode - ",undefBid:"Bid is undefined",unitNum:"Requested unit is "};return{callBids:function(n){for(var e,i=n.bids"http://slate.com/"[],o=0;o-1"http://slate.com/"o>-1?-1===t?1:-1===o?-1:t-o:e-n}))},p.default.registerBidAdapter(new o,f),e.exports=o}},[110]);
pbjsChunk([17],{112:function(e,r,a){a(113),e.exports=a(114)},113:function(e,r,a){"use strict";function i(){return"1"===navigator.doNotTrack"http://slate.com/"http://slate.com/"1"===window.doNotTrack"http://slate.com/"http://slate.com/"1"===navigator.msDoNoTrack"http://slate.com/"http://slate.com/"yes"===navigator.doNotTrack}function t(){var e=navigator.language?"language":"userLanguage";return{h:screen.height,w:screen.width,dnt:i()?1:0,language:navigator[e].split("-")[0],make:navigator.vendor?navigator.vendor:"http://slate.com/",ua:navigator.userAgent}}function n(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]?[{w:e[0],h:e[1]}]:d._map(e,(function(e){return{w:e[0],h:e[1]}}))}function o(e){return"video"===e.mediaType"http://slate.com/"!!d.deepAccess(e,"mediaTypes.video")}function s(e,r,a,i){i=i"http://slate.com/"r;var t=d.getBidIdParameter(r,e);"http://slate.com/"!==t&&(a[i]=t)}Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var d=(function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r})(a(0)),m=a(9),u=a(13),c=r.spec={code:"conversant",aliases:["cnvr"],supportedMediaTypes:[u.VIDEO],isBidRequestValid:function(e){if(!e"http://slate.com/"!e.params)return d.logWarn("conversant: Missing bid parameters"),!1;if(!d.isStr(e.params.site_id))return d.logWarn("conversant: site_id must be specified as a string"),!1;if(o(e))if(e.params.mimes){if(!d.isArray(e.params.mimes)"http://slate.com/"!e.params.mimes.every((function(e){return d.isStr(e)})))return d.logWarn("conversant: mimes must be an array of strings"),!1}else d.logWarn("conversant: mimes should be specified for videos");return!0},buildRequests:function(e){var r=d.getTopWindowLocation(),a=r.pathname+r.search+r.hash,i="https:"===r.protocol?1:0,m="http://slate.com/",u="http://slate.com/",c=e.map((function(e){var r=d.getBidIdParameter("bidfloor",e.params),a=i"http://slate.com/"(d.getBidIdParameter("secure",e.params)?1:0);m=d.getBidIdParameter("site_id",e.params),u=e.requestId;var t=n(e.sizes),c={id:e.bidId,secure:a,bidfloor:r"http://slate.com/"0,displaymanager:"Prebid.js",displaymanagerver:"2.2.0"};if(s(e.params,"tag_id",c,"tagid"),o(e)){var p={format:t};s(e.params,"position",p,"pos"),s(e.params,"mimes",p),s(e.params,"maxduration",p),s(e.params,"protocols",p),s(e.params,"api",p),c.video=p}else{var v={format:t};s(e.params,"position",v,"pos"),c.banner=v}return c}));return{method:"POST",url:"//media.msg.dotomi.com/s2s/header/24",data:{id:u,imp:c,site:{id:m,mobile:null!==document.querySelector('meta[name="viewport"][content*="width=device-width"]')?1:0,page:a},device:t(),at:1}}},interpretResponse:function(e,r){var a=[],i={};return e=e.body,r&&r.data&&r.data.imp&&d._each(r.data.imp,(function(e){return i[e.id]=e})),e&&d.isArray(e.seatbid)&&d._each(e.seatbid,(function(r){d._each(r.bid,(function(r){var t=parseFloat(r.price);if(t>0&&r.impid){var n=r.adm"http://slate.com/"http://slate.com/"http://slate.com/",o=r.nurl"http://slate.com/"http://slate.com/"http://slate.com/",s=i[r.impid],d={requestId:r.impid,currency:e.cur"http://slate.com/"http://slate.com/"USD",cpm:t,creativeId:r.crid"http://slate.com/"http://slate.com/"http://slate.com/"};s.video?(d.vastUrl=n,d.mediaType="video",s.video.format.length>=1&&(d.width=s.video.format[0].w,d.height=s.video.format[0].h)):(d.ad=n+'',d.width=r.w,d.height=r.h),a.push(d)}}))})),a},getUserSyncs:function(e){if(e.pixelEnabled)return[{type:"image",url:"//media.msg.dotomi.com/w/user.sync"}]}};(0,m.registerBidder)(c)},114:function(e,r){}},[112]);
pbjsChunk([90],{115:function(e,r,t){e.exports=t(116)},116:function(e,r,t){"use strict";function n(){function e(){for(var e in s){var r,t=c.CMT.Service.getBidTrue(e),n=s[e];t>0?((r=o.createBid(1)).cpm=t,r.ad=c.CMT.Service.getAd(e),r.width=n.w,r.height=n.h):r=o.createBid(2),r.bidderCode=l,i.addBidResponse(n.p,r)}}function r(){var e={};return e.Util={getRand:function(){return Math.round(1e8*Math.random())},encodeUriObject:function(e){return encodeURIComponent(JSON.stringify(e))},extractUrlInfo:function(){var e=(function(e){var r,t=[];do{try{e(r=r?r.parent:c,t)}catch(e){return t.push({referrer:null,location:null,isTop:!1}),t}}while(r!==c.top);return t})((function(e,r){try{r.push({referrer:e.document.referrer"http://slate.com/"null,location:e.location.href"http://slate.com/"null,isTop:e===c.top})}catch(t){r.push({referrer:null,location:null,isTop:e===c.top})}}));!(function(e){try{if(!c.location.ancestorOrigins)return;for(var r=0,t=c.location.ancestorOrigins.length;t>r;r++)e(c.location.ancestorOrigins[r],r)}catch(e){}})((function(r,t){e[t].ancestor=r}));for(var r="http://slate.com/",t=!1,n=e.length-1,o=e.length-1;o>=0;o--)if(!(r=e[o].location)&&o>0&&((r=e[o-1].referrer)"http://slate.com/"(r=e[o-1].ancestor),r)){t=!!c.location.ancestorOrigins"http://slate.com/"o===e.length-1&&e[e.length-1].isTop;break}return{url:r,isTop:t,depth:n}},srTestCapabilities:function(){var e=navigator.plugins,r=-1,t="Shockwave Flash";return e&&e.length>0&&(e[t+" 2.0"]"http://slate.com/"e[t])&&(r=e[t+(e[t+" 2.0"]?" 2.0":"http://slate.com/")].description.split("http://slate.com/")[2].split(".")[0]),r>4?15:7}},e.Service=(function(){var r=e.Util;return{buildSrc:function(e,t){var n=("https:"===document.location.protocol?"https://":"http://")+(t&&"PRD"!==t?"PPE"===t?"ppe-":"STG"===t?"staging-":"http://slate.com/":"http://slate.com/")+"ad.afy11.net/ad?mode=11&ct="+r.srTestCapabilities()+"&nif=0&sf=0&sfd=0&ynw=0&rand="+r.getRand()+"&hb=1&rk1="+r.getRand()+"&rk2="+(new Date).valueOf()/1e3;delete e.response;var o=r.extractUrlInfo();return e.pageUrl=o.url,e.puTop=o.isTop,n+="&ab="+r.encodeUriObject(e)},getAd:function(e){if(e)return this._getData(e,"ad")+(this._getResponse().tpCookieSync"http://slate.com/"http://slate.com/"http://slate.com/")},getBidTrue:function(e){return Math.round(100*this._getData(e,"price"))/100},_getData:function(e,r){var t=this._getResponse();return((t.zones?t.zones[e]:{})"http://slate.com/"{})[r]"http://slate.com/"null},_getResponse:function(){var e=c.cdsTag;return e&&e.response?e.response:{}}}})(),e}var t=["id","size","thirdPartyClickUrl"],n=["siteId","wrapper","referrerUrl"],s={},c=window,l="cox";return{callBids:function(o){var i="http://slate.com/";c.cdsTag={},c.CMT"http://slate.com/"(c.CMT=r());var l,u,p=o.bids"http://slate.com/"[],d=c.cdsTag;for(l=0;l0&&(d.__callback__=function(r){d.response=r,e()},a.loadScript(c.CMT.Service.buildSrc(d,i)))}}}var o=t(3),i=t(2),a=t(5);t(1).registerBidAdapter(new n,"cox"),e.exports=n}},[115]);
pbjsChunk([89],{117:function(t,i,n){t.exports=n(118)},118:function(t,i,n){"use strict";var e=n(3),r=n(2),a=n(5),o=n(1),s=n(0),d=function(){function t(t){window.Criteo=window.Criteo"http://slate.com/"{},window.Criteo.events=window.Criteo.events"http://slate.com/"[];window.Criteo.events.push((function(){for(var i,n,e=t.bids"http://slate.com/"[],r=[],a=!1,c=0;cn let win = window;n for (const i=0; i<10; ++i) {n win = win.parent;n if (win.criteo_pubtag && win.criteo_pubtag.native_slots) {n let responseSlot = win.criteo_pubtag.native_slots["http://slate.com/"+n.adId+"http://slate.com/"];n responseSlot.callback(responseSlot.nativeResponse);n break;n }n }n'):(n.width=t.width,n.height=t.height,n.ad=t.creative)):n=c(),n}var u=("http:"===window.location.protocol?"http:":"https:")+"//static.criteo.net/js/ld/publishertag.js",l="criteo",w=125,v=1;return{callBids:function(i){!window.criteo_pubtag"http://slate.com/"window.criteo_pubtag instanceof Array?(t(i),a.loadScript(u,(function(){}),!0)):t(i)}}};o.registerBidAdapter(new d,"criteo"),t.exports=d}},[117]);
pbjsChunk([88],{119:function(r,e,n){r.exports=n(120)},120:function(r,e,n){"use strict";function o(r){return r&&r.__esModule?r:{default:r}}function c(r){var e=S;"object"===l(r.rates)&&(E.conversions=r.rates,I=!0),"string"==typeof r.adServerCurrency?(g.logInfo("enabling currency support",arguments),w=r.adServerCurrency,r.conversionRateFile&&(g.logInfo("currency using override conversionRateFile:",r.conversionRateFile),e=r.conversionRateFile),i(e)):(g.logInfo("disabling currency support"),t()),"object"===l(r.bidderCurrencyDefault)&&(U=r.bidderCurrencyDefault)}function i(r){R={},e.currencySupportEnabled=D=!0,g.logInfo("Installing addBidResponse decorator for currency module",arguments),b.default.addBidResponse.addHook(u,100),E.conversions"http://slate.com/"(0,v.ajax)(r,(function(r){try{e.currencyRates=E=JSON.parse(r),g.logInfo("currencyRates set to "+JSON.stringify(E)),I=!0,s()}catch(e){g.logError("failed to parse currencyRates response: "+r)}}))}function t(){g.logInfo("Uninstalling addBidResponse decorator for currency module",arguments),b.default.addBidResponse.removeHook(u),w="USD",R={},e.currencySupportEnabled=D=!1,I=!1,e.currencyRates=E={},U={}}function u(r,e,n){if(!e)return n.apply(this,arguments);var o=e.bidderCode"http://slate.com/"e.bidder;if(U[o]){var c=U[o];e.currency&&c!==e.currency?g.logWarn("Currency default "http://slate.com/"+o+": "+c+"http://slate.com/" ignored. adapter specified "http://slate.com/"+e.currency+"http://slate.com/"http://slate.com/"):e.currency=c}if(e.currency"http://slate.com/"(g.logWarn('Currency not specified on bid. Defaulted to "USD"http://slate.com/"),e.currency="USD"),e.currency===w)return n.apply(this,arguments);m.push(a(n,this,arguments)),D&&!I"http://slate.com/"s()}function s(){for(;m.length>0;)m.shift()()}function a(r,e,n){return function(){var o=n[1];if(void 0!==o&&"currency"in o&&"cpm"in o){var c=o.currency;try{var i=f(c);o.originalCpm=o.cpm,o.originalCurrency=o.currency,1!==i&&(o.cpm=(parseFloat(o.cpm)*i).toFixed(4),o.currency=w)}catch(r){g.logWarn("Returning NO_BID, getCurrencyConversion threw error: ",r),n[1]=y.default.createBid(p.STATUS.NO_BID,{bidder:o.bidderCode"http://slate.com/"o.bidder,bidId:o.adId})}}return r.apply(e,n)}}function f(r){var e,n=null;if(r in R)n=R[r],g.logMessage("Using conversionCache value "+n+" for fromCurrency "+r);else if(!1===D){if("USD"!==r)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");n=1}else if(r===w)n=1;else{var o=w;if(r in E.conversions){if(e=E.conversions[r],!(o in e))throw new Error("Specified adServerCurrency in config "http://slate.com/"+o+"http://slate.com/" not found in the currency rates file");n=e[o],g.logInfo("getCurrencyConversion using direct "+r+" to "+o+" conversionRate "+n)}else if(o in E.conversions){if(e=E.conversions[o],!(r in e))throw new Error("Specified fromCurrency "http://slate.com/"+r+"http://slate.com/" not found in the currency rates file");n=d(1/e[r],h),g.logInfo("getCurrencyConversion using reciprocal "+r+" to "+o+" conversionRate "+n)}else{var c=Object.keys(E.conversions)[0];if(!(r in E.conversions[c]))throw new Error("Specified fromCurrency "http://slate.com/"+r+"http://slate.com/" not found in the currency rates file");var i=1/E.conversions[c][r];if(!(o in E.conversions[c]))throw new Error("Specified adServerCurrency in config "http://slate.com/"+o+"http://slate.com/" not found in the currency rates file");n=d(i*E.conversions[c][o],h),g.logInfo("getCurrencyConversion using intermediate "+r+" thru "+c+" to "+o+" conversionRate "+n)}}return r in R"http://slate.com/"(g.logMessage("Adding conversionCache value "+n+" for fromCurrency "+r),R[r]=n),n}function d(r,e){for(var n=1,o=0;o0?((d=s.createBid(1,i)).bidderCode=i.bidder,d.cpm=e.result.cpm,d.width=e.result.width,d.height=e.result.height,d.ad=e.result.banner,t.addBidResponse(i.placementCode,d)):((d=s.createBid(2,i)).bidderCode=i.bidder,t.addBidResponse(i.placementCode,d)),d},this.sendBids=function(e){for(var i=e.bids,d=0;d0&&e.seatbid.filter((function(e){return e.bid&&0!==e.bid.length})).forEach((function(e){return e.bid.forEach(i)})),n.bids.filter((function(e){return!s(e)})).forEach(r)})(i):e()},d(this,{callBids:i.callBids,setBidderCode:i.setBidderCode,getBidderCode:i.getBidderCode})}var d=Object.assign"http://slate.com/"function(e){for(var r=1;r0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits;o.logMessage("loading "+r),0===e.length&&o.logWarn("no valid adUnits found, not loading "+r);var n={},t=e.reduce((function(e,n){return n.code&&n.bids?e[n.code]=n:o.logError("misconfigured adUnit",null,n),e}),{});window.googletag=window.googletag"http://slate.com/"{},window.googletag.cmd=window.googletag.cmd"http://slate.com/"[],window.googletag.cmd.push((function(){function e(e){for(var n=[],t=0;t-1;i--){var a=o[i],l=a.getSlotElementId(),s=t[l];s&&(n[l]=a,s.sizes=s.sizes"http://slate.com/"e(a.getSizes()),r.push(s),o.splice(i,1))}return r}var l=window.googletag,s=l.pubads;if(l.display&&l.enableServices&&"function"==typeof s&&s().refresh&&s().disableInitialLoad&&s().getSlots&&s().enableSingleRequest){o.logMessage("running");var g=l.display,d=l.enableServices,u=s().refresh,p=s().disableInitialLoad,c=s().enableSingleRequest;l.enableServices=function(){return f"http://slate.com/"p.apply(s()),d.apply(l,arguments)},l.display=function(e){o.logInfo("display:",e),g.apply(l,arguments);var t;b"http://slate.com/"(t=googletag.pubads().getSlots().filter((function(n){return n.getSlotElementId()===e}))),(t=i(t).filter((function(e){return!e._displayed}))).forEach((function(e){e._displayed=!0}));var r=a(t);f"http://slate.com/"(t.length&&u.apply(s(),[t]),r.length&&pbjs.requestBids({adUnits:r,bidsBackHandler:function(){pbjs.setTargetingForGPTAsync(),u.apply(s(),[r.map((function(e){return n[e.code]}))])}}))},s().refresh=function(e,t){o.logInfo("refresh:",e);var r=a(e=i(e)).filter((function(e){return n[e.code]._displayed}));e.length&&u.apply(s(),[e,t]),r.length&&pbjs.requestBids({adUnits:r,bidsBackHandler:function(){pbjs.setTargetingForGPTAsync(),u.apply(s(),[r.map((function(e){return n[e.code]})),t])}})};var f=!1;s().disableInitialLoad=function(){return f=!0,p.apply(window.googletag.pubads(),arguments)};var b=!1;s().enableSingleRequest=function(){return b=!0,c.apply(window.googletag.pubads(),arguments)}}else o.logError("could not bind to gpt googletag api")}))}}},[130]);
pbjsChunk([83],{132:function(e,r,t){e.exports=t(133)},133:function(e,r,t){"use strict";function n(){function e(){return{ca:"BID",if:0,url:(0,c.getTopWindowLocation)().href,refurl:r(),ew:document.documentElement.clientWidth,eh:document.documentElement.clientHeight,ln:navigator.language"http://slate.com/"navigator.browserLanguage"http://slate.com/"navigator.userLanguage"http://slate.com/"navigator.systemLanguage}}function r(){try{return window.top.document.referrer}catch(e){return document.referrer}}function t(e,r){if(r){var t=n(r);if(t){var a=(0,o.createBid)(f.STATUS.GOOD,e);return a.bidderCode=e.bidder,a.cpm=t.bidCpm,a.ad=t.html,a.width=t.width,a.height=t.height,void(0,i.addBidResponse)(e.placementCode,a)}}var d=(0,o.createBid)(f.STATUS.NO_BID,e);d.bidderCode=e.bidder,(0,i.addBidResponse)(e.placementCode,d)}function n(e){try{return JSON.parse(e)}catch(e){return(0,c.logError)("featureforward.safeParse","ERROR",e),null}}var d=window.location.protocol+"//prmbdr.featureforward.com/newbidder/bidder1_prm.php?",s={method:"POST",withCredentials:!0,contentType:"text/plain"};return{callBids:function(r){r.bids.forEach((function(r){var n=0;try{for(;void 0!==r.sizes[n];){var o=a({},e(),r.params,{size:r.sizes[n]}),i=JSON.stringify(o),f=d;n++,(0,u.ajax)(f,(function(e){t(r,e)}),i,s)}}catch(e){(0,c.logError)("featureforward.requestBid","ERROR",e),t(r)}}))}}}var a=Object.assign"http://slate.com/"function(e){for(var r=1;r0){e=navigator.plugins;for(var i=0;i-1&&(t=r.description.split("Shockwave Flash ")[1])}return t"http://slate.com/"http://slate.com/"http://slate.com/"}Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n=(function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r})(t(0)),a=t(9),o=r.spec={code:"fidelity",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.zoneid)},buildRequests:function(e,r){return e.map((function(e){var t=e.params.server"http://slate.com/"http://slate.com/"x.fidelity-media.com",a={from:"hb",v:"1.0",requestid:e.bidderRequestId,impid:e.bidId,zoneid:e.params.zoneid,floor:parseFloat(e.params.floor)>0?e.params.floor:0,charset:document.charSet"http://slate.com/"document.characterSet,defloc:n.getTopWindowUrl(),altloc:window.location.href,subid:"hb",flashver:i(),tmax:r.timeout};return document.referrer&&(a.referrer=document.referrer),{method:"GET",url:"//"+t+"/delivery/hb.php",data:a}}))},interpretResponse:function(e){var r=[];return(e=e.body)&&e.seatbid&&e.seatbid.forEach((function(e){return e.bid.forEach((function(e){var t={requestId:e.impid,creativeId:e.impid,cpm:e.price,width:e.width,height:e.height,ad:e.adm,netRevenue:e.netRevenue,currency:e.cur,ttl:e.ttl};r.push(t)}))})),r},getUserSyncs:function(e){if(e.iframeEnabled)return[{type:"iframe",url:"//x.fidelity-media.com/delivery/matches.php?type=iframe"}]}};(0,a.registerBidder)(o)},136:function(e,r){}},[134]);
pbjsChunk([14],{137:function(e,r,i){i(138),e.exports=i(139)},138:function(e,r,i){"use strict";function t(e){return"//"+p+(e.is_video?v:c)}function n(e){var r={bid_id:e.bidId,pid:e.params.pid,tid:e.params.tid,known:e.params.known"http://slate.com/"1,is_video:"video"===e.mediaType,resp_type:"JSON"};return e.sizes&&(r.size=o(e.sizes)),a(e.params.video,r),s(e.params,r,f),r}function a(e,r){if(r.is_video&&e)for(var i=0,t=m.length;i=0&&n<200?e="0-200ms":n>=200&&n<300?e="0200-300ms":n>=300&&n<400?e="0300-400ms":n>=400&&n<500?e="0400-500ms":n>=500&&n<600?e="0500-600ms":n>=600&&n<800?e="0600-800ms":n>=800&&n<1e3?e="0800-1000ms":n>=1e3&&n<1200?e="1000-1200ms":n>=1200&&n<1500?e="1200-1500ms":n>=1500&&n<2e3?e="1500-2000ms":n>=2e3&&(e="2000ms above"),e}function r(n){var e;return n>=0&&n<.5?e="$0-0.5":n>=.5&&n<1?e="$0.5-1":n>=1&&n<1.5?e="$1-1.5":n>=1.5&&n<2?e="$1.5-2":n>=2&&n<2.5?e="$2-2.5":n>=2.5&&n<3?e="$2.5-3":n>=3&&n<4?e="$3-4":n>=4&&n<6?e="$4-6":n>=6&&n<8?e="$6-8":n>=8&&(e="$8 above"),e}function a(n){n&&n.bidderCode&&E.push((function(){D++,window[S](A,"event",$,"Requests",n.bidderCode,1,w)})),t()}function d(n){n&&n.bidderCode&&E.push((function(){var e=i(n.cpm),o=n.bidderCode;if(void 0!==n.timeToRespond&&N){D++;var t=s(n.timeToRespond);window[S](A,"event","Prebid.js Load Time Distribution",t,o,1,w)}if(n.cpm>0){D+=2;var a=r(n.cpm);N&&(D++,window[S](A,"event","Prebid.js CPM Distribution",a,o,1,w)),window[S](A,"event",$,"Bids",o,e,w),window[S](A,"event",$,"Bid Load Time",o,n.timeToRespond,w)}})),t()}function u(n){E.push((function(){p._each(n,(function(n){D++,window[S](A,"event",$,"Timeouts",n,w)}))})),t()}function c(n){var e=i(n.cpm);E.push((function(){D++,window[S](A,"event",$,"Wins",n.bidderCode,e,w)})),t()}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=o(11),p=o(0),b=o(4),m=o(1),v=b.EVENTS.BID_REQUESTED,y=b.EVENTS.BID_TIMEOUT,g=b.EVENTS.BID_RESPONSE,T=b.EVENTS.BID_WON,w={nonInteraction:!0},E=[],S=null,h=!0,$="Prebid.js Bids",D=0,N=!1,A=null,B=!0;e.enableAnalytics=function(n){var e=n.provider,o=n.options;S=e"http://slate.com/"http://slate.com/"ga",A=o&&o.trackerName?o.trackerName+".send":"send",B=void 0===o"http://slate.com/"void 0===o.sampling"http://slate.com/"Math.random()0&&void 0!==arguments[0]?arguments[0]:{},i=e.pi,a=t.ad,d=void 0===a?{}:a,s=t.pag,p=void 0===s?{}:s,u=t.thms;if(p&&p.pvid&&(m=p.pvid),d&&d.id){v[i]=u"http://slate.com/"3e4;var l=r.createBid(1),g=p.t;t.request=e;var h='';n(l,{cpm:d.price,ad:h,width:d.width,height:d.height,bidderCode:"gumgum"}),o.addBidResponse(e.placementCode,l)}else{var f=r.createBid(2);f.bidderCode="gumgum",o.addBidResponse(e.placementCode,f)}delete c[e.id]}};return window.pbjs.handleGumGumCB=c,{callBids:function(t){var r=t.bids,o={vw:p.innerWidth,vh:p.innerHeight,sw:u.width,sh:u.height,pu:p.location.href,ce:navigator.cookieEnabled,dpr:p.devicePixelRatio"http://slate.com/"1};a._each(r,(function(t){var r=t.bidId,p=t.params,u=void 0===p?{}:p,g=t.placementCode,f=e(),w=u.inScreen,b=u.native,G=u.inSlot,j={tmax:pbjs.cbTimeout};switch(!0){case!!u.inImage:j.pi=1;break;case!!u.inScreen:j.pi=2;break;case!!u.inSlot:j.pi=3;break;case!!u.native:j.pi=5;break;default:return a.logWarn("[GumGum] No product selected for the placement "+g+", please check your implementation.")}var y=j.pi,C=y+"http://slate.com/"http://slate.com/"+g,B=v[y],S=l[C];if(S&&B&&f-Sthis.CONSTANTS.MAX_URL_LENGTH&&(c=!0,l.bid_request.imp.length>1&&(l.bid_request.imp.pop(),d&&u.idMappings.pop(),s--)),!c&&r.singleRequestMode&&s!==i.length-1"http://slate.com/"(u.requests.push(this.formatRequest(r,l)),l={bid_request:this.createBasicBidRequestObject(r,t)})}return o&&(u.errors=o),u},this.formatRequest=function(e,r){switch(e.returnObjType){case this.CONSTANTS.RETURN_OBJ_TYPE.PREBID:return{method:"GET",url:"//"+this.CONSTANTS.AD_SERVER_BASE_URL+"/"+this.CONSTANTS.END_POINT,data:"http://slate.com/"+this.CONSTANTS.AD_SERVER_URL_PARAM+JSON.stringify(r)};default:return{url:(1===e.secure?"https":"http")+"://"+this.CONSTANTS.AD_SERVER_BASE_URL+"/"+this.CONSTANTS.END_POINT+"?"+this.CONSTANTS.AD_SERVER_URL_PARAM+encodeURIComponent(JSON.stringify(r))}}},this.createBasicBidRequestObject=function(e,r){var t={};if(e.requestId?t.id=e.requestId:t.id=a.getUniqueIdentifierStr(),e.domain&&(t.domain=e.domain),e.page&&(t.page=e.page),e.ref&&(t.ref=e.ref),e.callback&&(t.callback=e.callback),"secure"in e&&(t.secure=e.secure),e.libVersion&&(t.version=e.libVersion+"-"+this.CONSTANTS.CLIENT_VERSION),r)for(var i in r)t[i]=r[i];return t},this.createImpressionObject=function(e){var r={},t={};if(r.impressionObject=t,e.id?t.id=e.id:t.id=a.getUniqueIdentifierStr(),e.adUnitId&&(r.adUnitId=e.adUnitId),e.placementId&&(t.pid=e.placementId),e.publisherId&&(t.pubid=e.publisherId),e.placementKey&&(t.pkey=e.placementKey),e.transactionId&&(t.tid=e.transactionId),e.keyValues)for(var i in e.keyValues)for(var n=0;n0&&a.logError("ID WARNING 0x01"),d.requests},interpretResponse:function(e,r){var t=[];return a._each(e.body.bid,(function(e){if(e.price&&null!==e.price&&!e.hasOwnProperty("errorCode")&&"string"==typeof e.adm){var r={},i="http://slate.com/";e.nurl&&e.nurl.length>0&&(i=''),r.ad=i+"",r.adId=e.id,r.cpm=parseFloat(e.price),r.creativeId=e.crid,r.currency=e.currency?e.currency.toUpperCase():"USD",a.isNumber(e.lid)?r.dealId=e.lid:"object"===s(e.lid)&&e.lid[1]&&(r.dealId=e.lid[1]),r.height=e.h,r.netRevenue=!!e.isNet&&e.isNet,r.requestId=e.id,r.ttl=300,r.width=e.w,t.push(r),a.isArray(e.sync)&&a._each(e.sync,(function(e){u.userSync.registerSync("image",o.code,e)}))}})),t}};(0,d.registerBidder)(o),r.ImproveDigitalAdServerJSClient=n},150:function(e,r){}},[148]);
pbjsChunk([78],{151:function(e,t,i){e.exports=i(152)},152:function(e,t,i){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function a(e){return e&&e.__esModule?e:{default:e}}var s=Object.assign"http://slate.com/"function(e){for(var t=1;t=0&&(this.timeoutDelay=i),this.siteID=e,this.impressions=[],this._parseFnName=void 0,this.sitePage=void 0;try{this.sitePage=l.getTopWindowUrl()}catch(e){}if(void 0!==this.sitePage&&"http://slate.com/"!==this.sitePage"http://slate.com/"(top===self?this.sitePage=location.href:this.sitePage=document.referrer),top===self?this.topframe=1:this.topframe=0,void 0!==t){if("function"!=typeof t)throw"Invalid jsonp target function";this._parseFnName="cygnus_index_args.parseFn"}void 0===_IndexRequestData.requestCounter?_IndexRequestData.requestCounter=Math.floor(256*Math.random()):_IndexRequestData.requestCounter=(_IndexRequestData.requestCounter+1)%256,this.requestID=String((new Date).getTime()%2592e3*256+_IndexRequestData.requestCounter+256),this.initialized=!0}window.cygnus_index_args.parseFn=cygnus_index_parse_res;var r=/[\"x00-x1fx7f-x9fu00adu0600-u0604u070fu17b4u17b5u200c-u200fu2028-u202fu2060-u206fufeffufff0-uffff]/g,a={"b":"\b","t":"\t","n":"\n","f":"\f","r":"\r","http://slate.com/"http://slate.com/":'\"http://slate.com/","\":"\\"};i.prototype.serialize=function(){var e='{"id":"http://slate.com/"+this.requestID+"http://slate.com/","site":{"page":"http://slate.com/"+t(this.sitePage)+"http://slate.com/"http://slate.com/";"string"==typeof document.referrer&&"http://slate.com/"!==document.referrer&&(e+=',"ref":"http://slate.com/"+t(document.referrer)+"http://slate.com/"http://slate.com/"),e+='},"imp":[';for(var i=0;i0&&(e+=',"ext": {'+a.join()+"}"),i+1===this.impressions.length?e+="}":e+="},"}return e+="]}"},i.prototype.setPageOverride=function(e){return"string"==typeof e&&!e.match(/^s*$/)&&(this.sitePage=e,!0)},i.prototype.addImpression=function(e,t,i,r,a,s){var o={id:String(this.impressions.length+1)};if("number"!=typeof e"http://slate.com/"e<=1)return null;if("number"!=typeof t"http://slate.com/"t<=1)return null;if(("string"==typeof a"http://slate.com/"http://slate.com/"number"==typeof a)&&String(a).length<=50&&(o.slotID=String(a)),o.w=e,o.h=t,void 0!==i&&"number"!=typeof i)return null;if("number"==typeof i){if(i<0)return null;if(o.bidfloor=i,void 0!==r&&"string"!=typeof r)return null;o.bidfloorcur=r}if(void 0!==s){if(!("number"==typeof s&&s%1==0&&s>=0))return null;o.siteID=s}return this.impressions.push(o),o.id},i.prototype.buildRequest=function(){if(0!==this.impressions.length&&!0===this.initialized){var e,t=encodeURIComponent(this.serialize());A()==y.INDEX_DEBUG_MODE.mode.sandbox.queryValue.toUpperCase()?(this.siteID=y.INDEX_DEBUG_MODE.mode.sandbox.siteID,e="http:"===l.getTopWindowLocation().protocol?"http://sandbox.ht.indexexchange.com":"https://sandbox.ht.indexexchange.com",l.logMessage("IX DEBUG: Sandbox mode activated")):e="http:"===l.getTopWindowLocation().protocol?"http://as.casalemedia.com":"https://as-sec.casalemedia.com";var i=encodeURIComponent("0.32.0");return e+="/cygnus?v=7&fn=cygnus_index_parse_res&s="+this.siteID+"&r="+t+"&pid=pb"+i,"number"==typeof this.timeoutDelay&&this.timeoutDelay%1==0&&this.timeoutDelay>=0&&(e+="&t="+this.timeoutDelay),e}};try{if("undefined"==typeof cygnus_index_args"http://slate.com/"void 0===cygnus_index_args.siteID"http://slate.com/"void 0===cygnus_index_args.slots)return;var s=new i(cygnus_index_args.siteID,cygnus_index_args.parseFn,cygnus_index_args.timeout);cygnus_index_args.url&&"string"==typeof cygnus_index_args.url&&s.setPageOverride(cygnus_index_args.url),_IndexRequestData.impIDToSlotID[s.requestID]={},_IndexRequestData.reqOptions[s.requestID]={};for(var o,n,d=0;d0)return e}function M(e){var t=+e;return!(isNaN(t)"http://slate.com/"!l.isNumber(t)"http://slate.com/"t<0"http://slate.com/"l.isArray(e))"http://slate.com/"(l.logError("Site ID is invalid, must be a number > 0. Got: "+e),!1)}function P(e){return void 0!==e&&l.isStr(e)?(e=e.toUpperCase(),!!_[e]"http://slate.com/"(l.logError("Player type is invalid, must be one of: "+Object.keys(_)),!1)):(l.logError("Player type is invalid, must be one of: "+Object.keys(_)),!1)}function U(e){if(!l.isArray(e)"http://slate.com/"l.isEmpty(e))return l.logError("Protocol array is not an array. Got: "+e),!1;for(var t=0;t= -2. Got: "+e),!1}return!0}function k(e,t){if(!l.isArray(e)"http://slate.com/"l.isEmpty(e))return l.logInfo("API array is not an array. Got: "+e),!1;for(var i=0;i0&&i(a.bidderRequestId,n),cygnus_index_args.slots.length>20&&l.logError("Too many unique sizes on slots, will use the first 20.",m),cygnus_index_args.slots.length>0&&c.default.loadScript(N());var p=!1;window.cygnus_index_ready_state=function(){if(!p){p=!0;try{var t=_IndexRequestData.targetIDToBid;for(var i in X){var r=X[i].placementCode,a=[];for(var s in t){var n=/^(Td_)?(.+)_(d+)$/.exec(s);if(n){var f=n[1]"http://slate.com/"http://slate.com/"http://slate.com/",c=n[2],I=n[3],h=g(cygnus_index_args,f+c);if(c===i){var _=d.default.createBid(1);_.cpm=I/100,_.ad=t[s][0],_.bidderCode=v,_.width=h.width,_.height=h.height,_.siteID=h.siteID,"object"===o(_IndexRequestData.targetIDToResp)&&"object"===o(_IndexRequestData.targetIDToResp[s])&&void 0!==_IndexRequestData.targetIDToResp[s].dealID?(void 0===_IndexRequestData.targetAggregate.private[r]&&(_IndexRequestData.targetAggregate.private[r]=[]),_.dealId=_IndexRequestData.targetIDToResp[s].dealID,_IndexRequestData.targetAggregate.private[r].push(c+"_"+_IndexRequestData.targetIDToResp[s].dealID)):(void 0===_IndexRequestData.targetAggregate.open[r]&&(_IndexRequestData.targetAggregate.open[r]=[]),_IndexRequestData.targetAggregate.open[r].push(c+"_"+I)),a.push(_)}}else l.logError("Unable to parse "+s+", skipping slot",m)}if(a.length>0)for(var D=0;D0}},{key:"_onResponse",value:function(e,r,t){var a=this.bidByBidId[t],n=i(a.sizes[0],2),o={w:n[0],h:n[1]},s=void 0,c=S.getBidHeaders(r);try{s=JSON.parse(e)}catch(e){d.logError(e)}if(!this._isValidBidResponse(s,c)){var u="response failed for "+v.ADAPTER_NAME+" adapter";d.logError(u);var p=s&&s.config&&s.config.passback;return p&&_.fire([p]),g.reportEvent("HBPreBidNoAd",a.params),l.default.addBidResponse(a.placementCode,this._getBidDetails(f.STATUS.NO_BID))}var E={cpm:1e3*c[v.RESPONSE_HEADERS_NAME.PRICING_VALUE],width:parseFloat(c[v.RESPONSE_HEADERS_NAME.AD_W])"http://slate.com/"o.w,ad:this._getAd(s.ad.html,s.config.tracking,a.params),height:parseFloat(c[v.RESPONSE_HEADERS_NAME.AD_H])"http://slate.com/"o.h},m=this._getBidDetails(f.STATUS.GOOD,E,t);a.adId=m.adId,this.bidByBidId[t]=a,l.default.addBidResponse(a.placementCode,m)}},{key:"_getAd",value:function(e,r,t){var a="http://slate.com/";if(r&&Array.isArray(r.impressions)){var n=r.impressions;n.push(g.getEventUrl("HBPreBidImpression",t,!1)),n.forEach((function(e){return e&&(a+=d.createTrackPixelHtml(e))}))}e=a+e.replace(/n n n n n

"+e+"

n n n "}},{key:"_toIaBidParams",value:function(e){var r=s({},e.params,e.params.customParams);delete r.customParams,e.params=P.objectToCamel(r)}},{key:"callBids",value:function(e){var r=this,t=e.bids"http://slate.com/"[];t.forEach((function(e){return r._toIaBidParams(e)})),t.filter((function(e){return r._isValidRequest(e.params)})).map((function(e){return r._storeBidRequestDetails(e)})).forEach((function(e){return(0,u.ajax)(r._getEndpointUrl(e.params),(function(t,a){return r._onResponse(t,a,e.bidId)}),y.getUrlParams(e.params),{method:"GET"})}))}},{key:"_getEndpointUrl",value:function(e){return e&&e.qa&&e.qa.url"http://slate.com/"g.getPageProtocol()+v.ENDPOINT_URL}},{key:"_getStoredBids",value:function(){var e=[];for(var r in this.bidByBidId)this.bidByBidId.hasOwnProperty(r)&&e.push(this.bidByBidId[r]);return e}}],[{key:"_getUtils",value:function(){return{Reporter:g}}}]),e})();m.default.registerBidAdapter(new I,"inneractive"),e.exports=I}},[153]);
pbjsChunk([76],{155:function(e,i,t){e.exports=t(156)},156:function(e,i,t){"use strict";var n=t(3),a=t(2),r=t(5),o=t(0),s=t(4),d=function(){return pbjs._doInnityCallback=function(e){var i,t,r,d=window.location.protocol+"//cdn.innity.net/frame_util.js";r=e.callback_uid,t=o.getBidRequest(r),e.cpm>0?((i=n.createBid(s.STATUS.GOOD,t)).bidderCode="innity",i.cpm=parseFloat(e.cpm)/100,i.ad=''+e.tag,i.width=e.width,i.height=e.height):((i=n.createBid(s.STATUS.NO_BID,t)).bidderCode="innity",o.logMessage("No Bid response from Innity request: "+r)),a.addBidResponse(t.placementCode,i)},{callBids:function(e){for(var i,t=e.bids"http://slate.com/"[],n=window.location.protocol+"//as.innity.com/synd/?cb="+(new Date).getTime()+"&ver=2&hb=1&output=js&",a=0;a0?a.default.loadScript(E.shift(),(function(){p()})):s()}function h(){if(!M)if(m()){if(!S.hasPlugin("bidder"))return S.addPlugin("bidder")}else M=!0,p()}function m(){return A.jPAM&&A.jPAM.initialized}function v(n,t){for(var e=t.length;e--;)if(parseInt(t[e].params.zone)===parseInt(n)){var r=t.splice(e,1);return!!r.length&&r.pop()}return!1}function j(n,t,e){for(var r=v(t,e);r;){var a=o.default.createBid(d.STATUS.NO_BID,r);a.bidderCode="justpremium",i.default.addBidResponse(r.placementCode,a),r=v(t,e)}c.logError(n)}function g(n,t){var e=window.top.jPAM=window.top.jPAM"http://slate.com/"window.jPAM"http://slate.com/"{},r=e.cb=e.cb"http://slate.com/"{};t.filter((function(t){return parseInt(t.params.zone)===parseInt(n)})).forEach((function(t){var e=r["bidder"+n];i.default.addBidResponse(t.placementCode,e.createBid((function(n){var e=void 0;return n?(e=o.default.createBid(d.STATUS.GOOD,t),e.bidderCode="justpremium",e.adSlot=t.adSlot,e):(e=o.default.createBid(d.STATUS.NO_BID,t),e.bidderCode="justpremium",e)}),t))}))}function w(n){var t=y(n),e=n.concat();Object.keys(t).forEach((function(n){l({zone:n,hostname:b.location.hostname,protocol:b.location.protocol.replace(":","http://slate.com/"),sw:A.screen.width,sh:A.screen.height,ww:A.innerWidth,wh:A.innerHeight,c:encodeURIComponent(JSON.stringify(t[n])),id:n,i:+new Date},(function(t){t&&j(t,n,e),g(n,e)}),!0)}))}function y(n){var e={},r={};return n.forEach((function(n){var o=n.params"http://slate.com/"{},i=o.zone;if(!i)throw new Error("JustPremium: Bid should contains zone id.");if(1!==e[i]){var a=o.allow"http://slate.com/"o.formats"http://slate.com/"[],c=o.exclude"http://slate.com/"[];if(0===a.length&&0===c.length)return e[o.zone]=1;e[i]=e[i]"http://slate.com/"[[],{}],e[i][0]=t(e[i][0].concat(a)),c.forEach((function(n){e[i][1][n]?e[i][1][n]++:e[i][1][n]=1})),r[i]=r[i]"http://slate.com/"0,c.length&&r[i]++}})),Object.keys(r).forEach((function(n){if(1!==e[n]){var t=[];Object.keys(e[n][1]).forEach((function(o){e[n][1][o]===r[n]&&t.push(o)})),e[n][1]=t}})),Object.keys(e).forEach((function(n){1!==e[n]&&e[n][1].length&&(e[n][0].forEach((function(t){var r=e[n][1].indexOf(t);r>-1&&e[n][1].splice(r,1)})),e[n][0].length=0),1===e[n]"http://slate.com/"e[n][0].length"http://slate.com/"e[n][1].length"http://slate.com/"(e[n]=1)})),e}var A=window.top,b=void 0,O=void 0,P=!1,M=!1,S=void 0,x=void 0,E=void 0,B=void 0;return{callBids:function(t){O=t.bids"http://slate.com/"[],n()?O.forEach((function(n){j(new Error("Justpremium: Adapter does not support cross origin iframe."),n.params.zone,O)})):(u(),f(),h(),w(O))}}};u.default.registerBidAdapter(new f,"justpremium"),n.exports=f}},[160]);
pbjsChunk([11],{162:function(e,r,t){t(163),e.exports=t(164)},163:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var n=Object.assign"http://slate.com/"function(e){for(var r=1;r0&&r.creative?l.STATUS.GOOD:l.STATUS.NO_BID,r.bidId=r.uuid;var i=t(e,r),n=a[i.adId].placementCode;u.default.addBidResponse(n,i)}))}function e(r){if(r.params.placementId&&r.params.hbid)return r;s.logError("bid requires placementId and hbid params")}function t(r,e){var t=c.default.createBid(r,e);return t.code=i.getBidderCode(),t.bidderCode=i.getBidderCode(),r===l.STATUS.GOOD&&(t.cpm=e.cpm,t.width=e.width,t.height=e.height,t.ad=e.creative),t}var i=new o.default("komoona"),a={};return i.callBids=function(t){var i=(t.bids"http://slate.com/"[]).filter((function(r){return e(r)})).map((function(r){a[r.bidId]=r;var e={};return e.sizes=r.sizes,e.uuid=r.bidId,e.placementid=r.params.placementId,e.hbid=r.params.hbid,e}));if(!s.isEmpty(i)){var d=JSON.stringify({bids:[].concat(n(i))});(0,f.ajax)(p,r,d,{contentType:"text/plain",withCredentials:!0})}},d(this,{callBids:i.callBids,setBidderCode:i.setBidderCode})}var d=Object.assign"http://slate.com/"function(r){for(var e=1;e0?((a=i.createBid(c.STATUS.GOOD,d)).bidderCode="kumma",a.cpm=e.cpm,a.ad=e.tag,a.width=e.width,a.height=e.height):((a=i.createBid(c.STATUS.NO_BID,d)).bidderCode="kumma",s.logMessage("No Bid response from Kumma request: "+r)),t.addBidResponse(d.placementCode,a)},{callBids:function(e){for(var a,d=e.bids"http://slate.com/"[],i=window.location.protocol+"//cdn.kumma.com/pb_ortb.js?cb="+(new Date).getTime()+"&ver=1&",t=0;t0,c=n.createBid(l?1:2,e);c.bidderCode=i,l&&(c.cpm=t,c.ad=s,c.width=o,c.height=r),a.addBidResponse(e.placementCode,c)}function s(e,t){return e&&t?'

n n ":null}var i="lifestreet",l="prebidJS-1.0",c={},d="LSMPrebid Request",p="LSMPrebid Response";return{callBids:function(s){o._each(s.bids,(function(s){var n=s.params.jstag_url,a=s.params.slot,o=s.params.adkey,r=s.params.ad_size,i=700;s.params.timeout&&(i=s.params.timeout);var l=!1;if(n&&n.length>0&&a&&a.length>0&&o&&o.length>0&&r&&r.length>0){for(var c=r.split("x"),d=0;d0&&c.length>1){s.sizes=s.sizes[0]instanceof Array?s.sizes:[s.sizes];for(var p=0;p1&&m[0]===c[0]&&m[1]===c[1]){l=!0;break}}}else l=!0}l?e(s,n,i):t(s,0,null,0,0)}))}}};s(1).registerBidAdapter(new i,"lifestreet"),e.exports=i}},[171]);
pbjsChunk([70],{173:function(t,n,o){t.exports=o(174)},174:function(t,n,o){"use strict";function e(){function t(){try{return window.self!==window.top&&!window.mantis_link}catch(t){return!0}}function n(n){var o=function(t){var o=t.innerWidth"http://slate.com/"t.document.documentElement.clientWidth"http://slate.com/"t.document.body.clientWidth;return!(!n&&("ontouchstart"in window"http://slate.com/"navigator.msMaxTouchPoints))&&(!o"http://slate.com/"o>=(window.mantis_breakpoint"http://slate.com/"768))};if(t())try{return o(window.top)}catch(t){}return o(window)}function o(t){return null!==t&&void 0!==t&&("string"==typeof t?!(!t"http://slate.com/"/^s*$/.test(t)):"number"!=typeof t"http://slate.com/"!isNaN(t))}function e(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(){return"object"===r(window.context)&&("AMP-AD"===window.context.tagName"http://slate.com/"http://slate.com/"AMP-EMBED"===window.context.tagName)}function s(){return"https:"===document.location.protocol}function w(t){return"[object Array]"===Object.prototype.toString.call(t)}function f(t){return window.mantis_jsonp"http://slate.com/"(window.mantis_jsonp=[]),window.mantis_jsonp.push(t),"mantis_jsonp["+(window.mantis_jsonp.length-1)+"]"}function m(t,n,r){if(!t)return null;var i=r"http://slate.com/"[];for(var c in t){var a=c;n&&(a=n+"["+c+"]");var d=t[c];if(w(d))for(var u=0;u';c.creative_id=e.id,c.bidderCode=s,c.cpm=d,c.ad=decodeURIComponent(b+l),c.width=parseInt(e.w),c.height=parseInt(e.h),n.addBidResponse(r,c)}}))},{callBids:function(i){var d=i.bids;if(d)for(var t=0;t0&&(l+="size="+o[0]+"&");var c=a({},e.params);return delete c.placementId,delete c.referrer,delete c.style,delete c.customParams,l+=n.parseQueryStringParameters(c),"http://slate.com/"===d&&(d=n.getTopWindowUrl()),"http://slate.com/"===s&&(s=window.top.document.referrer),l=n.tryAppendQueryString(l,"loc",d),l=n.tryAppendQueryString(l,"ref",s),l=r(l),n.logMessage("jpt request built: "+l),e.startTime=(new Date).getTime(),l}function r(e){return e.lastIndexOf("&")===e.length-1&&(e=e.substring(0,e.length-1)),e}var t=new p("orbitsoft");return t.callBids=function(r){for(var t=r.bids"http://slate.com/"[],a=0;a BID placementCode: "+s.placementCode+" CPM: "+String(d.cpm)+"http://slate.com/"+d.currency+" Format: "+String(d.width)+"x"+String(d.height))):((d=o.createBid(t.STATUS.NO_BID)).bidderCode=s.bidder,n.addBidResponse(s.placementCode,d),r.logMessage("[Piximedia] Registered BLANK bidresponse from URL "+a.url+" (time: "+String(c)+")"),r.logMessage("[Piximedia] ======> NOBID placementCode: "+s.placementCode)),i[e.cbid]=null}else r.logMessage("[Piximedia] Couldn't find stash for cbid="+e.cbid)}},a(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,getBidderCode:e.getBidderCode})};d(1).registerBidAdapter(new p,"piximedia"),e.exports=p}},[192]);
pbjsChunk([8],{194:function(e,r,n){n(195),e.exports=n(196)},195:function(e,r,n){"use strict";function a(e,r){var n={},a={};c(e.data).imp.forEach((function(e){n[e.id]=e})),r&&r.seatbid.forEach((function(e){return e.bid.forEach((function(e){a[e.impid]=e}))}));var i=[];return Object.keys(n).forEach((function(e){if(a[e]){var t={requestId:e,cpm:a[e].price,creative_id:e,creativeId:e,adId:e};t.ad=a[e].adm,t.ad=t.ad.replace(/$(%7B|{)AUCTION_IMP_ID(%7D|})/gi,a[e].impid),t.ad=t.ad.replace(/$(%7B|{)AUCTION_AD_ID(%7D|})/gi,a[e].adid),t.ad=t.ad.replace(/$(%7B|{)AUCTION_PRICE(%7D|})/gi,a[e].price),t.ad=t.ad.replace(/$(%7B|{)AUCTION_CURRENCY(%7D|})/gi,r.cur),t.ad=t.ad.replace(/$(%7B|{)AUCTION_BID_ID(%7D|})/gi,r.bidid),t.width=n[e].banner.w,t.height=n[e].banner.h,i.push(t)}})),i}function i(e){return{id:e.bidId,banner:t(e),bidfloor:"0.000001",tagid:e.params.placementId.toString()}}function t(e){var r=e.params.size.toUpperCase().split("X");return{w:parseInt(r[0]),h:parseInt(r[1])}}function d(e){var r=e&&e.length>0?e[0].params.pubId:"0",n=e&&e.length>0?e[0].params.siteId:"0";return e[0].params.app?null:{publisher:{id:r.toString(),domain:(0,p.getTopWindowLocation)().hostname},id:n.toString(),ref:o(),page:(0,p.getTopWindowLocation)().href}}function o(){try{return window.top.document.referrer}catch(e){return document.referrer}}function u(){return{ua:navigator.userAgent,language:navigator.language"http://slate.com/"navigator.browserLanguage"http://slate.com/"navigator.userLanguage"http://slate.com/"navigator.systemLanguage,w:window.screen.width"http://slate.com/"window.innerWidth,h:window.screen.height"http://slate.com/"window.innerHeigh}}function c(e){try{if(e)return JSON.parse(e)}catch(e){(0,p.logError)("platformio.parse","ERROR",e)}return null}Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var p=n(0),s=n(9),g=r.spec={code:"platformio",isBidRequestValid:function(e){return!!(e&&e.params&&e.params.pubId&&e.params.siteId)},buildRequests:function(e){var r={id:e[0].bidderRequestId,at:2,imp:e.map((function(e){return i(e)})),site:d(e),device:u()};return{method:"POST",url:"//piohbdisp.hb.adx1.com/",data:JSON.stringify(r)}},interpretResponse:function(e,r){return a(r,e.body)}};(0,s.registerBidder)(g)},196:function(e,r){}},[194]);
pbjsChunk([62],{197:function(e,r,a){e.exports=a(198)},198:function(e,r,a){"use strict";function d(e){return e&&e.__esModule?e:{default:e}}function o(){function e(e){var r={},a=e.callback_id,d="http://slate.com/",o=i.getBidRequest(a);o&&(d=o.placementCode),o&&e.cpm>0&&e.ad?((r=t.default.createBid(u.STATUS.GOOD,o)).bidderCode=o.bidder,r.mediaType=e.mediaType,r.cpm=parseFloat(e.cpm),"url"===e.ad_type?r.adUrl=e.ad:r.ad=e.ad,r.width=e.width,r.height=e.height):((r=t.default.createBid(u.STATUS.NO_BID,o)).bidderCode="pollux",i.logMessage("No prebid response from polluxHandler for placement code "+d)),l.default.addBidResponse(d,r)}return pbjs.polluxHandler=e,{callBids:function(e){for(var r=window.location.protocol+"//adn.plxnt.com/prebid",a=e.bids"http://slate.com/"[],d=0;d0&&(o.size=u[0],p>1)){for(var c=[],f=1;f',a+="",a+="",a=i.replaceTokenInString(a,e,"%%")}var t,r,o,s,c,p=[],l=void 0;return pbjs.handlePubmaticCallback=function(){var a={},e={};try{a=l.contentWindow.bidDetailsMap,e=l.contentWindow.progKeyValueMap}catch(a){i.logError(a,"Error parsing Pubmatic response")}var r,o,s,c,p,m=a"http://slate.com/"{},u=e"http://slate.com/"{};for(r=0;r0?e[0].params.cp:"0";return e[0].params.app?null:{publisher:{id:t.toString()},ref:m(),page:(0,b.getTopWindowLocation)().href}}function l(e){var t=e&&e.length>0?e[0].params.cp:"0",n=e[0].params.app;return n?{publisher:{id:t.toString()},bundle:n.bundle,storeurl:n.storeUrl,domain:n.domain}:null}function m(){try{return window.top.document.referrer}catch(e){return document.referrer}}function f(){return{ua:navigator.userAgent,language:navigator.language"http://slate.com/"navigator.browserLanguage"http://slate.com/"navigator.userLanguage"http://slate.com/"navigator.systemLanguage}}function g(e){try{if(e)return JSON.parse(e)}catch(e){(0,b.logError)("pulsepointLite.safeParse","ERROR",e)}return null}function v(e){if(e.params.cf){var t=e.params.cf.toUpperCase().split("X");return[parseInt(e.params.cw"http://slate.com/"t[0],10),parseInt(e.params.ch"http://slate.com/"t[1],10)]}return[1,1]}function h(e,t){if(e.native){var n=g(t.adm),r={};if(n&&n.native&&n.native.assets)return n.native.assets.forEach((function(e){r.title=e.title?e.title.text:r.title,r.body=e.data&&2===e.data.type?e.data.value:r.body,r.sponsoredBy=e.data&&1===e.data.type?e.data.value:r.sponsoredBy,r.image=e.img&&3===e.img.type?e.img.url:r.image,r.icon=e.img&&1===e.img.type?e.img.url:r.icon})),n.native.link&&(r.clickUrl=encodeURIComponent(n.native.link.url)),r.impressionTrackers=n.native.imptrackers,r}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.spec=void 0;var b=n(0),y=n(9),I={TITLE_LEN:100,DESCR_LEN:200,SPONSORED_BY_LEN:50,IMG_MIN:150,ICON_MIN:50},E=t.spec={code:"pulseLite",aliases:["pulsepointLite"],supportedMediaTypes:["native"],isBidRequestValid:function(e){return!!(e&&e.params&&e.params.cp&&e.params.ct)},buildRequests:function(e){var t={id:e[0].bidderRequestId,imp:e.map((function(e){return a(e)})),site:p(e),app:l(e),device:f()};return{method:"POST",url:"//bid.contextweb.com/header/ortb",data:JSON.stringify(t)}},interpretResponse:function(e,t){return r(t,e)},getUserSyncs:function(e){return e.iframeEnabled?[{type:"iframe",url:"//bh.contextweb.com/visitormatch"}]:e.pixelEnabled?[{type:"image",url:"//bh.contextweb.com/visitormatch/prebid"}]:void 0}};(0,y.registerBidder)(E)},214:function(e,t){}},[212]);
pbjsChunk([3],{215:function(e,r,t){t(216),e.exports=t(217)},216:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=r.QUANTCAST_TTL=r.QUANTCAST_TEST_PUBLISHER=r.QUANTCAST_NET_REVENUE=r.QUANTCAST_CALLBACK_URL_TEST=r.QUANTCAST_CALLBACK_URL=void 0;var i=(function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r})(t(0)),n=t(9),o=r.QUANTCAST_CALLBACK_URL="global.qc.rtb.quantserve.com",s=r.QUANTCAST_CALLBACK_URL_TEST="s2s-canary.quantserve.com",a=r.QUANTCAST_NET_REVENUE=!0,d=r.QUANTCAST_TEST_PUBLISHER="test-publisher",u=r.QUANTCAST_TTL=4,c=r.spec={code:"quantcast",isBidRequestValid:function(e){return!!e&&"video"!==e.mediaType},buildRequests:function(e){var r=e"http://slate.com/"[],t=i.getTopWindowUrl(),n=i.getTopWindowLocation(),a=n.hostname,u=void 0,c=void 0;switch(window.location.protocol){case"https:":u="https://"+o+":8443/qchb",c="https://"+s+":8443/qchb";break;default:u="http://"+o+":8080/qchb",c="http://"+s+":8080/qchb"}return r.map((function(e){var r=[];e.sizes.forEach((function(e){r.push({width:e[0],height:e[1]})}));var i={publisherId:e.params.publisherId,requestId:e.bidId,imp:[{banner:{battr:e.params.battr,sizes:r},placementCode:e.placementCode,bidFloor:e.params.bidFloor"http://slate.com/"1e-10}],site:{page:n.href,referrer:t,domain:a},bidId:e.bidId};return{data:JSON.stringify(i),method:"POST",url:e.params.publisherId===d?c:u}}))},interpretResponse:function(e){if(void 0===e)return i.logError("Server Response is undefined"),[];var r=e.body;return void 0===r"http://slate.com/"!r.hasOwnProperty("bids")"http://slate.com/"i.isEmpty(r.bids)?(i.logError("Sub-optimal JSON received from Quantcast server"),[]):r.bids.map((function(e){var t=e.ad,i=e.cpm,n=e.width,o=e.height,s=e.creativeId,d=e.currency;return{requestId:r.requestId,cpm:i,width:n,height:o,ad:t,ttl:u,creativeId:s,netRevenue:a,currency:d}}))}};(0,n.registerBidder)(c)},217:function(e,r){}},[215]);
pbjsChunk([58],{218:function(e,r,a){e.exports=a(219)},219:function(e,r,a){"use strict";var t=Object.assign"http://slate.com/"function(e){for(var r=1;r0&&(u="size="+m[0],b>1)){u+="&promo_,";u&&","===u.charAt(u.length-1)&&(u=u.slice(0,u.length-1))}u&&(c+=u+"&");var v=n.parseQueryStringParameters(l);v&&(c+=v);var f=t({},e.params);delete f.placementId,delete f.memberId,delete f.invCode,delete f.query,delete f.referrer,delete f.alt_referrer,delete f.member;var y=n.parseQueryStringParameters(f);return y&&(c+=y),"http://slate.com/"===o&&(o=n.getTopWindowUrl()),c=n.tryAppendQueryString(c,"referrer",o),(c=n.tryAppendQueryString(c,"alt_referrer",p)).lastIndexOf("&")===c.length-1&&(c=c.substring(0,c.length-1)),n.logMessage("jpt request built: "+c),e.startTime=(new Date).getTime(),c},pbjs.handleRvAnCB=function(r){var a;if(r&&r.callback_uid){var t,i=r.callback_uid,l="http://slate.com/",c=(0,d.getBidRequest)(i);c&&(a=c.bidder,l=c.placementCode,c.status=s.STATUS.GOOD),n.logMessage("JSONP callback function called for ad ID: "+i);var u=[];if(r.result&&r.result.cpm&&0!==r.result.cpm){t=parseInt(r.result.cpm,10),t/=1e4;var m=r.result.creative_id;(u=p.createBid(1,c)).creative_id=m,u.bidderCode=a,u.cpm=t,u.adUrl=r.result.ad,u.width=r.result.width,u.height=r.result.height,u.dealId=r.result.deal_id,o.addBidResponse(l,u)}else(u=p.createBid(2,c)).bidderCode=a,o.addBidResponse(l,u);if(!e){var b=n.createInvisibleIframe();b.src="http://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html";try{document.body.appendChild(b)}catch(e){n.logError(e)}e=!0}}else n.logMessage("No prebid response for placement %%PLACEMENT%%")}};return t(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,boostCall:e.boostCall})};i.default.registerBidAdapter(new u,"realvu"),e.exports=u}},[218]);
pbjsChunk([57],{220:function(e,t,n){e.exports=n(221)},221:function(e,t,n){"use strict";function o(e,t,n){function o(e,t){return e.replace(/{([^}]+)}/g,(function(e){var n=t[e.replace(/[{}]/g,"http://slate.com/").toLowerCase()];return void 0!==n?n:e}))}function s(e,t,o){n(t,(function(e,t){200===t.status?o(200,"success",t.responseText):o(-1,"http error "+t.status,t.responseText)}),!1,{method:"GET",withCredentials:!0})}function u(){var e=t.navigator,n=e.plugins,o=e.mimeTypes,i="application/x-shockwave-flash",r=t.ActiveXObject;if(n&&n["Shockwave Flash"]&&o&&o[i]&&o[i].enabledPlugin)return!0;if(r)try{if(new t.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return!0}catch(e){}return!1}function l(e,t){try{return e()}catch(e){}return t}function f(e){S&&console.log(e)}function h(e){for(var t=0;t0?e[e.length-1]:t.top.document.location.hostname}),"http://slate.com/")),i("title",l((function(){return t.top.document.title}),"http://slate.com/")),i("url",l((function(){var e;try{e=t.top.document.location.href.toString()}catch(n){e=t.document.location.href.toString()}return e}),"http://slate.com/")),i("dsh",t.screen?t.screen.height:"http://slate.com/"),i("dsw",t.screen?t.screen.width:"http://slate.com/"),i("tz",(new Date).getTimezoneOffset()),i("dtype",/(ios|ipod|ipad|iphone|android)/i.test(t.navigator.userAgent)?1:/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast.tv|viera|nettv|roku|bdtvb|sonydtv|inettvbrowser|btvb)/i.test(t.navigator.userAgent)?3:2),i("flash",u()?1:0);var a=[],d=[],c=[],p=[],f=0;for(j=[],i("hbv",t.pbjs.version.replace(z,"http://slate.com/")+","+g.replace(z,"http://slate.com/"));f0&&"number"==typeof n[f].sizes[0]&&(n[f].sizes=[n[f].sizes]);for(var v=0;v0&&(n.ancestor_origins=o[o.length-1]),n.popped=null!==window.opener?1:0,n.framed=window.top===window?0:1;try{n.url=window.top.document.location.href.toString()}catch(e){n.url=window.document.location.href.toString()}var d=t.pbjs;n.prebid_version=d.version.replace(z,"http://slate.com/"),n.response_ms=(new Date).getTime()-C,n.placement_codes=j.join(","),n.bidder_version=g,n.prebid_timeout=d.cbTimeout"http://slate.com/"a.config.getConfig("bidderTimeout");for(var c in n)r.push(encodeURIComponent(c)+"="+encodeURIComponent("object"===i(n[c])?JSON.stringify(n[c]):n[c]));r.sort(),s.src="http://hbevents.1rx.io/audit?"+r.join("&")}var g="0.9.0.0",y="1r",w="mvo",S=!1,T={},C=void 0,j=[],z=/(^v|(.0)+$)/gi;void 0===t&&(t=window),void 0===e&&(e=d),void 0===n&&(n=r.ajax);var _="rhythmone";this.callBids=function(t){var n={},o=h(t.bids);if(S=null!==o&&!0===o.debug,null!==o){for(var i=0;iL}function l(){return localStorage.getItem(r())?localStorage.getItem(r()):"http://slate.com/"}function f(){localStorage.setItem(p(),Date.now())}function d(){var e=localStorage.getItem(p());return Date.now()-e>F}function p(){return H.concat(Q)}function g(e){return H.concat(e)}function v(){return void 0!==k.publisherIds&&k.publisherIds.length>0}function y(){return void 0!==k.adUnits&&k.adUnits.length>0}function T(e,t){P.options=k,y()?k.adUnits.includes(t.adUnitCode)&&(P.events=[{args:t,eventType:e}]):P.events=[{args:t,eventType:e}]}function E(){J.options=k}function b(e){var t=[];return e.forEach((function(e){k.adUnits.includes(e.placementCode)&&t.push(e)})),t}function h(e,t){if(y()){var n=[x,R,C];if(!k.adUnits.includes(t)&&n.includes(e))return!1}return!0}function S(){return J.events.length>0&&J.events.some((function(e){return B===e.eventType"http://slate.com/"C===e.eventType}))}function m(){return P.events.length>0}function I(){J.events=[]}function _(){P.events=[]}function N(e,t,n){var a=M+"?publisherIds[]="+k.publisherIds.join("&publisherIds[]=")+"&host="+window.location.hostname,o=new XMLHttpRequest;o.open("POST",a,!0),o.setRequestHeader("Content-Type","text/plain"),o.withCredentials=!0,o.onreadystatechange=function(t){4==this.readyState&&V.logInfo("Event "+e+" sent "+n+" to roxot prebid analytic with result"+t)},o.send(JSON.stringify(t))}function D(e,t){e===B?(y()&&(t.bids=b(t.bids)),t.bids.length>0&&J.events.push({eventType:e,args:t})):h(e,t.adUnitCode)&&J.events.push({eventType:e,args:t})}Object.defineProperty(t,"__esModule",{value:!0});var A=Object.assign"http://slate.com/"function(e){for(var t=1;t';if(!a)return o(e);var u=t.createBid(1,i);u.creative_id=n.id,u.bidderCode="roxot",u.cpm=a,u.ad=decodeURIComponent(n.adm+c),u.width=parseInt(n.w),u.height=parseInt(n.h),d.addBidResponse(e,u)}));var a=e(s);return i.logInfo("roxotResponse handler finish"),a},{callBids:function(e){i.logInfo("callBids roxot adapter invoking");var o=window.location.host,t=window.location.pathname+location.search+location.hash,d={id:i.getUniqueIdentifierStr(),bids:e,site:{domain:o,page:t}},a="//"+n+"?callback=pbjs.roxotResponseHandler&src="http://slate.com/+r.REPO_AND_VERSION+"&br="+encodeURIComponent(JSON.stringify(d));s.loadScript(a)}}};o(1).registerBidAdapter(new a,"roxot"),n.exports=a}},[224]);
pbjsChunk([55],{226:function(e,r,t){e.exports=t(227)},227:function(e,r,t){"use strict";function i(){return"https:"===location.protocol}function n(e,r){return(r.cpm"http://slate.com/"0)-(e.cpm"http://slate.com/"0)}function o(){return[window.screen.width,window.screen.height].join("x")}function a(){var e=(function(){var e=window.DigiTrust&&(v.config.getConfig("digiTrustId")"http://slate.com/"window.DigiTrust.getUser({member:"T9QSFKPDN9"}));return e&&e.success&&e.identity"http://slate.com/"null})();return!e"http://slate.com/"e.privacy&&e.privacy.optout?[]:["dt.id",e.id,"dt.keyv",e.keyv,"dt.pref",0]}function s(e,r){return"nnnx3c!-- Rubicon Project Ad Tag --x3en

nn

nn"}function d(e){var r=e.params;if("video"===e.mediaType){var t=[];return r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}return u(Array.isArray(r.sizes)?r.sizes.map((function(e){return(y[e]"http://slate.com/"http://slate.com/"http://slate.com/").split("x")})):e.sizes)}function u(e){var r=[15,2,9];return l.parseSizesInput(e).reduce((function(e,r){var t=parseInt(y[r],10);return t&&e.push(t),e}),[]).sort((function(e,t){var i=r.indexOf(e),n=r.indexOf(t);return i>-1"http://slate.com/"n>-1?-1===i?1:-1===n?-1:i-n:e-t}))}Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var c=(function(){function e(e,r){var t=[],i=!0,n=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(t.push(a.value),!r"http://slate.com/"t.length!==r);i=!0);}catch(e){n=!0,o=e}finally{try{!i&&s.return&&s.return()}finally{if(n)throw o}}return t}return function(r,t){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return e(r,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.masSizeOrdering=u,r.resetUserSync=function(){x=!1};var l=(function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r})(t(0)),f=t(9),v=t(8),y={1:"468x60",2:"728x90",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",43:"320x50",44:"300x50",48:"300x300",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",65:"640x480",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",94:"970x310",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",195:"600x300"};l._each(y,(function(e,r){return y[e]=r}));var m=r.spec={code:"rubicon",aliases:["rubiconLite"],supportedMediaTypes:["video"],isBidRequestValid:function(e){if("object"!==p(e.params))return!1;var r=e.params;return!!/^d+$/.test(r.accountId)&&(!(d(e).length<1)&&!!("video"!==e.mediaType"http://slate.com/"http://slate.com/"object"===p(r.video)&&r.video.size_id))},buildRequests:function(e,r){return e.map((function(e){if(e.startTime=(new Date).getTime(),"video"===e.mediaType){var t=e.params,n=d(e),s={page_url:t.referrer?t.referrer:l.getTopWindowUrl(),resolution:o(),account_id:t.accountId,integration:"pbjs_lite_v0.32.0",timeout:r.timeout-(Date.now()-r.auctionStart+500),stash_creatives:!0,ae_pass_through_parameters:t.video.aeParams,slots:[]},u={site_id:t.siteId,zone_id:t.zoneId,position:t.position"http://slate.com/"http://slate.com/"btf",floor:parseFloat(t.floor)>.01?t.floor:.01,element_id:e.adUnitCode,name:e.adUnitCode,language:t.video.language,width:n[0],height:n[1],size_id:t.video.size_id};return t.inventory&&"object"===p(t.inventory)&&(u.inventory=t.inventory),t.keywords&&Array.isArray(t.keywords)&&(u.keywords=t.keywords),t.visitor&&"object"===p(t.visitor)&&(u.visitor=t.visitor),s.slots.push(u),{method:"POST",url:"//fastlane-adv.rubiconproject.com/v1/auction/video",data:s,bidRequest:e}}var c=e.params,f=c.accountId,v=c.siteId,y=c.zoneId,m=c.position,x=c.floor,h=c.keywords,_=c.visitor,b=c.inventory,g=c.userId,w=c.referrer;x=(x=parseFloat(x))>.01?x:.01,m=m"http://slate.com/"http://slate.com/"btf";var j=d(e),z=["account_id",f,"site_id",v,"zone_id",y,"size_id",j[0],"alt_size_ids",j.slice(1).join(",")"http://slate.com/"void 0,"p_pos",m,"rp_floor",x,"rp_secure",i()?"1":"0","tk_flint","pbjs_lite_v0.32.0","tid",e.transactionId,"p_screen_res",o(),"kw",h,"tk_user_key",g];return null!==_&&"object"===(void 0===_?"undefined":p(_))&&l._each(_,(function(e,r){return z.push("tg_v."+r,e)})),null!==b&&"object"===(void 0===b?"undefined":p(b))&&l._each(b,(function(e,r){return z.push("tg_i."+r,e)})),z.push("rand",Math.random(),"rf",w"http://slate.com/"l.getTopWindowUrl()),z=z.concat(a()),z=z.reduce((function(e,r,t){return t%2==0&&void 0!==z[t+1]?e+r+"="+encodeURIComponent(z[t+1])+"&":e}),"http://slate.com/").slice(0,-1),{method:"GET",url:"//fastlane.rubiconproject.com/a/api/fastlane.json",data:z,bidRequest:e}}))},interpretResponse:function(e,r){var t=r.bidRequest,i=(e=e.body).ads;return"object"!==(void 0===e?"undefined":p(e))"http://slate.com/"http://slate.com/"ok"!==e.status?[]:("object"===(void 0===t?"undefined":p(t))&&"video"===t.mediaType&&"object"===(void 0===i?"undefined":p(i))&&(i=i[t.adUnitCode]),!Array.isArray(i)"http://slate.com/"i.length<1?[]:(i=i.sort(n)).reduce((function(e,r){if("ok"!==r.status)return[];var i={requestId:t.bidId,currency:"USD",creativeId:r.creative_id,cpm:r.cpm"http://slate.com/"0,dealId:r.deal,ttl:300,netRevenue:v.config.getConfig("rubicon.netRevenue")"http://slate.com/"!1};if("video"===t.mediaType)i.width=t.params.video.playerWidth,i.height=t.params.video.playerHeight,i.vastUrl=r.creative_depot_url,i.descriptionUrl=r.impression_id,i.impression_id=r.impression_id;else{i.ad=s(r.script,r.impression_id);var n=y[r.size_id].split("x").map((function(e){return Number(e)})),o=c(n,2);i.width=o[0],i.height=o[1]}return i.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce((function(e,r){return e[r.key]=r.values[0],e}),{rpfl_elemid:t.adUnitCode}),e.push(i),e}),[]))},getUserSyncs:function(e){if(!x&&e.iframeEnabled)return x=!0,{type:"iframe",url:"https://tap-secure.rubiconproject.com/partner/scripts/rubicon/emily.html?rtb_ext=1"}}},x=!1;(0,f.registerBidder)(m)}},[226]); pbjsChunk([54],{228:function(e,n,r){e.exports=r(229)},229:function(e,n,r){"use strict";function i(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(l){var n=pbjs.bidderSettings"http://slate.com/"{},r=e.bidderControl"http://slate.com/"{};(e.bidders"http://slate.com/"[]).forEach((function(e){n[e]&&n[e][s]&&(n[e][s]=n[e][s].filter((function(n){return n.key!=="hb_source_"+e}))),r[e]&&r[e].includeSourceKvp&&(n[e]=n[e]"http://slate.com/"{},n[e][s]=n[e][s]"http://slate.com/"[],n[e][s].push({key:"hb_source_"+e,val:function(e){return e.source"http://slate.com/"d}}),n[e].alwaysUseBid=!0)}))}}function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(l){b={};var n=e.bidderControl"http://slate.com/"{};(e.bidders"http://slate.com/"[]).forEach((function(e){b[e]=c(n[e]&&n[e].bidSource)"http://slate.com/"a}))}}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[a,d],r={},i=0;if(n.forEach((function(n){i+=e[n]"http://slate.com/"0,r[n]=i})),i)for(var o=Math.random()*i,t=0;t0&&void 0!==arguments[0]?arguments[0]:[],o=(e={},i(e,a,{}),i(e,d,{}),e);if(!l){var t;return t={},i(t,a,[]),i(t,d,[]),t}return r.forEach((function(e){(e.bids"http://slate.com/"[]).forEach((function(e){e.calcSource=e.calcSource"http://slate.com/"c(e.bidSource),e.finalSource=e.calcSource"http://slate.com/"b[e.bidder]"http://slate.com/"d,o[e.finalSource][e.bidder]=!0}))})),Object.keys(b).forEach((function(e){o[b[e]][e]=!0})),n={},i(n,a,Object.keys(o[a])),i(n,d,Object.keys(o[d])),n},n.getSource=c;var u=r(8),f=r(1),s=r(4).JSON_MAPPING.ADSERVER_TARGETING,a=n.SERVER="server",d=n.CLIENT="client",l=!1,b={};u.config.getConfig("s2sConfig",(function(e){l=e.s2sConfig&&e.s2sConfig.testing,o(e.s2sConfig),t(e.s2sConfig)})),(0,f.setS2STestingModule)(n)}},[228]);
pbjsChunk([53],{230:function(e,r,d){e.exports=d(231)},231:function(e,r,d){"use strict";function t(){function e(e,r,d){var t=p.getBidIdParameter("spaceId",e.params),i=p.getBidIdParameter("subId",e.params),o=p.getBidIdParameter("bidfloor",e.params),a="https:"===document.location.protocol?"s":"http://slate.com/",c="http"+a+"://hb.sekindo.com/live/liveView.php?";c=p.tryAppendQueryString(c,"s",t),c=p.tryAppendQueryString(c,"subId",i),c=p.tryAppendQueryString(c,"pubUrl",d),c=p.tryAppendQueryString(c,"hbcb",r),c=p.tryAppendQueryString(c,"hbver","3"),c=p.tryAppendQueryString(c,"hbobj","pbjs"),c=p.tryAppendQueryString(c,"dcpmflr",o),c=p.tryAppendQueryString(c,"hbto",n.config.getConfig("bidderTimeout")),c=p.tryAppendQueryString(c,"protocol",a),s.loadScript(c)}return pbjs.sekindoCB=function(e,r){var d=(0,i.getBidRequest)(e);if(void 0!==r&&void 0!==r.cpm){var t=[];if(d){var n=d.bidder,s=d.placementCode;void 0!==r.cpm&&r.cpm>0?((t=a.createBid(o.STATUS.GOOD)).callback_uid=e,t.bidderCode=n,t.creative_id=r.adId,t.cpm=parseFloat(r.cpm),t.ad=r.ad,t.width=r.width,t.height=r.height,c.addBidResponse(s,t)):((t=a.createBid(o.STATUS.NO_BID)).callback_uid=e,t.bidderCode=n,c.addBidResponse(s,t))}}else d?p.logMessage("No prebid response for placement "+d.placementCode):p.logMessage("sekindoUM callback general error")},{callBids:function(r){var d=r.bids,t=d.length,i=null;i=parent!==window?document.referrer:window.location.href;for(var n=0;n=0&&t.push(i)})),t}var u=new s.default("serverbid"),p={serverbid:{BASE_URI:"https://e.serverbid.com/api/v2",SMARTSYNC_BASE_URI:"https://s.zkcdn.net/ss"},connectad:{BASE_URI:"https://i.connectad.io/api/v2",SMARTSYNC_BASE_URI:"https://s.zkcdn.net/ss"},onefiftytwo:{BASE_URI:"https://e.serverbid.com/api/v2",SMARTSYNC_BASE_URI:"https://s.zkcdn.net/ss"}},f=[null,"120x90","120x90","468x60","728x90","300x250","160x600","120x600","300x100","180x150","336x280","240x400","234x60","88x31","120x60","120x240","125x125","220x250","250x250","250x90","0x0","200x90","300x50","320x50","320x480","185x185","620x45","300x125","800x250"];f[77]="970x90",f[123]="970x250",f[43]="300x600";var v=[];return u.callBids=function(i){if(i&&i.bids&&c.isArray(i.bids)&&i.bids.length&&p[i.bidderCode]){var r=p[i.bidderCode];if(r.request=window[i.bidderCode.toUpperCase()+"_CONFIG"],window.SMARTSYNC){window.serverbidCallBids=function(){window.serverbidCallBids=function(){},t(r,i)};var d=i.bids[0].params.siteId;e(r.SMARTSYNC_BASE_URI+"/"+d+".js");var n=window.SMARTSYNC_TIMEOUT"http://slate.com/"(i.timeout"http://slate.com/"500)/2;setTimeout((function(){var e=window.serverbidCallBids;window.serverbidCallBids=function(){},e()}),n)}else t(r,i)}},n(this,{callBids:u.callBids,setBidderCode:u.setBidderCode})}).createNew=function(){return new d},u.default.registerBidAdapter(new d,"serverbid"),u.default.aliasBidAdapter("serverbid","connectad"),u.default.aliasBidAdapter("serverbid","onefiftytwo"),e.exports=d}},[232]);
pbjsChunk([1],{10:function(e,n,t){"use strict";function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=function(e){function n(e){var n=e.eventType,t=e.args,r=e.callback;(0,u.ajax)(m,r,JSON.stringify({eventType:n,args:t}))}function t(e){var n=e.eventType,t=e.args,r=this;N&&window[N]&&n&&t?this.track({eventType:n,args:t}):C.push((function(){B++,r.track({eventType:n,args:t})}))}function a(){if(I){for(var e=0;e0?c(e,t):p(e)}function c(e,t){try{var r=t.bidId,d=s.createBid(1,e);d.bidderCode=i,d.cpm=t.creatives[0].cpm;var o=e.sizes[0];d.width=o[0],d.height=o[1],d.adserverRequestId=t.adserverRequestId,h.placementCodeSet[e.placementCode].adserverRequestId=t.adserverRequestId,d.pkey=n.getBidIdParameter("pkey",e.params);var c="str_response_"+r,u=JSON.stringify(t);if(d.ad='

n

n n ',!(window.STR&&window.STR.Tag"http://slate.com/"window.top.STR&&window.top.STR.Tag)){d.ad+="n "}a.addBidResponse(e.placementCode,d)}catch(t){p(e)}}function p(e){var t=s.createBid(2,e);t.bidderCode=i,a.addBidResponse(e.placementCode,t)}function u(e){return e=n.tryAppendQueryString(e,"hbVersion","0.32.0"),e=n.tryAppendQueryString(e,"strVersion",o),e=n.tryAppendQueryString(e,"hbSource","prebid")}var h={};return h.STR_BTLR_HOST=document.location.protocol+"//btlr.sharethrough.com",h.STR_BEACON_HOST=document.location.protocol+"//b.sharethrough.com/butler?",h.placementCodeSet={},h.ajax=d,{callBids:function(r){for(var n=r.bids,a=0;a-1"http://slate.com/"a>-1?-1===t?1:-1===a?-1:t-a:e-n}))},p.default.registerBidAdapter(new a,"smartyads"),e.exports=a}},[240]);
pbjsChunk([48],{242:function(e,i,s){e.exports=s(243)},243:function(e,i,s){"use strict";var t=s(3),o=s(2),a=s(5),r=s(0),n=function(){function e(e){var i={};return r._each(e,(function(e){if(e.params){var s=e.params.floor?e.params.floor:null,t=e.params.ad_unit?e.params.ad_unit:e.params.placement_id?e.params.placement_id:null,o=e.params.sizes?e.params.sizes:e.sizes"http://slate.com/"null;o=r.parseSizesInput(o).toString(),r.isEmpty(o)&&r.logError("Sonobi adapter expects sizes for "+e.placementCode);var a=e.bidId,n=o?s?o+"http://slate.com/"f="+s:o:s?"f="+s:"http://slate.com/";/^[/]?[d]+[[/].+[/]?]?$/.test(t)?(t="/"===t.charAt(0)?t:"/"+t,i[t+"http://slate.com/"http://slate.com/"+a]=n,l[t+"http://slate.com/"http://slate.com/"+a]=e.placementCode,u[e.placementCode]=e):/^[0-9a-fA-F]{20}$/.test(t)&&20===t.length?(i[a]=t+"http://slate.com/"http://slate.com/"+n,l[a]=e.placementCode,u[e.placementCode]=e):(l[a]=e.placementCode,u[e.placementCode]=e,c(e.placementCode),r.logError("The ad unit code or Sonobi Placement id for slot "+e.placementCode+" is invalid"))}})),i}function i(e){var i="sbi_"+e;return window[i]=s,i}function s(e){var i=e.slots"http://slate.com/"{},s=e.sbi_dc"http://slate.com/"http://slate.com/"http://slate.com/";r._each(i,(function(e,i){var t=l[i];e.sbi_aid&&e.sbi_mouse&&e.sbi_size?d(t,s,e):c(t),delete l[i]}))}function n(e){var i=u[e];return delete u[e],i}function d(e,i,s){var a=t.createBid(1,n(e));s.sbi_dozer&&(a.dealId=s.sbi_dozer),a.bidderCode="sonobi",a.ad=p(i,s.sbi_aid),a.cpm=Number(s.sbi_mouse),a.width=Number(s.sbi_size.split("x")[0])"http://slate.com/"1,a.height=Number(s.sbi_size.split("x")[1])"http://slate.com/"1,o.addBidResponse(e,a)}function c(e){var i=t.createBid(2,n(e));i.bidderCode="sonobi",o.addBidResponse(e,i)}function p(e,i){return''}var l={},u={};return{callBids:function(s){var t=s.bids"http://slate.com/"[],o=s.bidderRequestId,n="&ref="+encodeURI(r.getTopWindowLocation().host);a.loadScript("https://apex.go.sonobi.com/trinity.js?key_maker="+JSON.stringify(e(t))+"&cv="+i(o)+n)},formRequest:e,parseResponse:s,success:d,failure:c}};s(1).registerBidAdapter(new n,"sonobi"),e.exports=n}},[242]);
pbjsChunk([47],{244:function(e,i,d){e.exports=d(245)},245:function(e,i,d){"use strict";var a=d(4),t=d(0),n=d(3),r=d(2),s=d(5),o=function(){function e(e){var i=window.location.host,n=window.location.pathname+location.search+location.hash,r=[];t._each(e,(function(e){var i=t.getBidIdParameter("tagid",e.params),d=t.getBidIdParameter("bidfloor",e.params),a=0,n=0,s=Array.isArray(e.params.sizes)?e.params.sizes:e.sizes;2===s.length&&"number"==typeof s[0]&&"number"==typeof s[1]?(a=s[0],n=s[1]):(a=s[0][0],n=s[0][1]);var o={id:e.bidId,banner:{w:a,h:n},tagid:i,bidfloor:d};r.push(o)}));var o={id:t.getUniqueIdentifierStr(),imp:r,site:{domain:i,page:n}},c="//"+d+"?callback=window.pbjs.sovrnResponse&src="http://slate.com/+a.REPO_AND_VERSION+"&br="+encodeURIComponent(JSON.stringify(o));s.loadScript(c)}function i(e){var i=t.getBidderRequestAllAdUnits("sovrn");(i=i?i.bids.filter((function(i){return e.indexOf(i.bidId)<0})):[]).forEach((function(e){var i={};(i=n.createBid(2,e)).bidderCode="sovrn",r.addBidResponse(e.placementCode,i)}))}var d="ap.lijit.com/rtb/bid";return pbjs.sovrnResponse=function(e){var d=[];e&&e.id&&e.seatbid&&0!==e.seatbid.length&&e.seatbid[0].bid&&0!==e.seatbid[0].bid.length&&e.seatbid[0].bid.forEach((function(e){var i,s="http://slate.com/",o=e.impid,c={},p=t.getBidRequest(o);if(p&&(s=p.placementCode,p.status=a.STATUS.GOOD,0!==(i=parseFloat(e.price)))){e.placementCode=s,e.size=p.sizes;var b=e.adm,l='';(c=n.createBid(1,p)).creative_id=e.id,c.bidderCode="sovrn",c.cpm=i,c.ad=decodeURIComponent(b+l),c.width=parseInt(e.w),c.height=parseInt(e.h),e.dealid&&(c.dealId=e.dealid),r.addBidResponse(s,c),d.push(o)}})),i(d)},{callBids:function(i){e(i.bids"http://slate.com/"[])}}};d(1).registerBidAdapter(new o,"sovrn"),e.exports=o}},[244]);
pbjsChunk([46],{246:function(e,t,o){e.exports=o(247)},247:function(e,t,o){"use strict";function d(e){return e&&e.__esModule?e:{default:e}}function i(){function e(){var e=v.params.video.channel_id;p.default.loadScript("//js.spotx.tv/directsdk/v1/"+e+".js",t,!0)}function t(){var e=v.params.video;"string"==typeof e.slot&&(e.slot=document.getElementById(v.params.video.slot)),"string"==typeof e.video_slot&&(e.video_slot=document.getElementById(v.params.video.video_slot)),new SpotX.DirectAdOS(e).getAdServerKVPs().then((function(e){var t={bids:[]},o={};o.cmpID=v.params.video.channel_id,o.cpm=e.spotx_bid,o.url=e.spotx_ad_key,o.cur="USD",o.bidderCode="spotx";var i=c.isArray(v.sizes[0])?v.sizes[0]:v.sizes;o.height=i[1],o.width=i[0],t.bids.push(o),y=e,d(t)}),(function(){d()}))}function o(e){var t=n.default.createBid(e,c.getBidRequest(v.bidId));if(t.bidderCode=v.bidder,t.placementCode=v.placementCode,t.requestId=v.requestId,t.code=v.bidder,e===u.STATUS.GOOD&&y){var o="//search.spotxchange.com/ad/vast.html?key="+y.spotx_ad_key;t.mediaType="video",t.cpm=y.spotx_bid,t.vastUrl=o,t.spotx_ad_key=y.spotx_ad_key;var d=c.isArray(v.sizes[0])?v.sizes[0]:v.sizes;t.height=d[1],t.width=d[0]}return t}function d(e){e&&e.bids&&e.bids.length?l.default.addBidResponse(v.placementCode,o(u.STATUS.GOOD,e.bids[0])):l.default.addBidResponse(v.placementCode,o(u.STATUS.NO_BID))}function i(e){return("object"===r(e.params)"http://slate.com/"http://slate.com/"object"===r(e.params.video))&&(void 0!==v.params.video.channel_id&&void 0!==v.params.video.slot&&void 0!==v.params.video.video_slot)}var f=new a.default("Spotx"),v=void 0,y=void 0,m={alwaysUseBid:!0,adserverTargeting:[{key:"hb_adid",val:function(e){return e.spotx_ad_key}}]};return l.default.registerDefaultBidderSetting("spotx",m),f.callBids=function(t){t&&t.bids&&0!==t.bids.length&&(i(v=t.bids[0]"http://slate.com/"[])?e():console.log("Bid Request does not contain valid parameters."))},s(this,{callBids:f.callBids,setBidderCode:f.setBidderCode})}var s=Object.assign"http://slate.com/"function(e){for(var t=1;t0&&void 0!==e.seatbid[0].bid[0]){var r=e.seatbid[0].bid[0],i=pbjs._bidsRequested.find((function(e){return"springserve"===e.bidderCode}));i=i&&i.bids.length>0?i.bids.filter((function(e){return e.params&&e.params.impId===r.impid})):[];for(var d,s=n.createBid(1),a=0;ar[0]*r[1]&&(r=t[e]);return r}function v(t,r){var e=t.params.format;return e&&"inbanner"!==e?h(t):g(t,r)}function u(t){var r=t.getPricing();return r"http://slate.com/"console.warn("freewheel-ssp: Bid pricing Can't be retreived. You may need to enable pricing on you're zone. Please get in touch with your Freewheel contact."),r}function f(t,r,e,a,n,i){var s;return r&&e?((s=o.createBid(1,t)).bidderCode=t.bidder,s.cpm=e.price,s.currencyCode=e.currency,s.ad=a,s.width=n,s.height=i):(s=o.createBid(2,t)).bidderCode=t.bidder,s}function m(){var t=window;try{for(;top!==t;)t.parent.location.href.length&&(t=t.parent)}catch(t){}return t}var l="//cdn.stickyadstv.com/mustang/mustang.min.js",y="//cdn.stickyadstv.com/prime-time/[COMP-ID].min.js",w=m();w.stickyadstv_cache={};var g=function(t,r){return'

'+("')},h=function(t){var r=t.placementCode,e=t.params;e.hasOwnProperty("domId")"http://slate.com/"e.hasOwnProperty("auto")"http://slate.com/"e.hasOwnProperty("p")"http://slate.com/"e.hasOwnProperty("article")"http://slate.com/"(e.domId=r);var a=""},k=function(t,r){return function(){return t.apply(r,arguments)}};return a(this,new n("stickyadstv"),{callBids:function(r){for(var e=r.bids"http://slate.com/"[],a=0;a0?((r=s.createBid(1,r)).cpm=t,r.width=i.width,r.height=i.height,r.ad=i.ad_units[0].html):r=s.createBid(2,r),r.bidderCode=d.bidder,a.addBidResponse(d.placementCode,r)}else n.logMessage("No prebid response")}}function i(e){r.loadScript(e)}var t="0.0.1",d=["320x50"],o=["ufid","refer","ad_unit_id","device_id","lat","long","user","price_floor","test"],p="https://ads04.tapsense.com/ads/headerad",c=void 0;return pbjs.tapsense={},{callBids:function(s){c=s.bids"http://slate.com/"[];for(var a=0;a-1){u=!0;break}if(u){var b="?price=true&jsonp=1&callback=pbjs.tapsense.callback_with_price_"+r.bidId+"&version="+t+"&";pbjs.tapsense["callback_with_price_"+r.bidId]=e(r.bidId);for(var h=Object.keys(r.params),_=0;_0?t.seatbid[0].bid.forEach((function(r){var t=o(u.STATUS.GOOD,e,r);c.default.addBidResponse(e.placementCode,t)})):c.default.addBidResponse(e.placementCode,o(u.STATUS.NO_BID))}function t(e){if(e.params.adCode&&e.params.supplyCode)return e;l.logError("missing bid params")}function o(e,r,t){var o=s.default.createBid(e,r);return o.code=i.getBidderCode(),o.bidderCode=i.getBidderCode(),t&&(o.cpm=t.price,o.crid=t.crid,o.vastXml=t.adm,o.mediaType="video"),o}var i=new d.default("tremor");return i.callBids=function(o){(o.bids"http://slate.com/"[]).filter((function(e){return t(e)})).map((function(t){var o=e(t);o&&(0,p.ajax)(o,(function(e){r(t,e)}),null,{method:"GET",withCredentials:!0})}))},a(this,{callBids:i.callBids,setBidderCode:i.setBidderCode})}var a=Object.assign"http://slate.com/"function(e){for(var r=1;r0&&(a=s.tryAppendQueryString(a,"size",d.join(","))),a+="ta=1",s.logMessage("bid request built: "+a),e.startTime=(new Date).getTime(),a}var r=new p("twenga");return r.callBids=function(r){for(var a=0;a'}function i(){for(var e,i={},t=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n0)){t.useCount"http://slate.com/"(t.useCount=0);var d=!0;if(s.parseSizesInput(i.sizes).forEach((function(e){e===t.width+"x"+t.height&&(d=!1)})),!d){var r=o.createBid(1,i);r.bidderCode=i.bidder,r.width=t.width,r.height=t.height,r.cpm=parseFloat(t.cpm),r.cpm<=0"http://slate.com/"(t.useCount++,r.ad=t.ad_code_html,r.ad=e(r,t,i)+r.ad,(r.ad"http://slate.com/"r.adUrl)&&(a.addBidResponse(i.placementCode,r),n=!0))}}})),!n){var d=o.createBid(2,i);d.bidderCode=i.bidder,a.addBidResponse(i.placementCode,d)}}))},{callBids:function(e){var i=[],t=0;(c=e).bids.forEach((function(e){i=s.flatten(i,s.parseSizesInput(e.sizes)),t=e.params.siteId})),r.loadScript(n+"sid="+t+";,"),null,!1)}}}var d=t(8),o=t(3),a=t(2),r=t(5),s=t(0);t(1).registerBidAdapter(new n,"underdogmedia"),e.exports=n}},[269]); pbjsChunk([35],{271:function(e,n,r){e.exports=r(272)},272:function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}function i(e){var n=e.bidResponseBid,r=e.rendererConfig;parent.window.unruly=parent.window.unruly"http://slate.com/"{},parent.window.unruly.native=parent.window.unruly.native"http://slate.com/"{},parent.window.unruly.native.siteId=parent.window.unruly.native.siteId"http://slate.com/"r.siteId;var t=(parent.window.unruly.native.prebid=parent.window.unruly.native.prebid"http://slate.com/"{},parent.window.unruly.native.prebid.uq=parent.window.unruly.native.prebid.uq"http://slate.com/"[],{render:function(e){parent.window.unruly.native.prebid.uq.push(["render",e])},onLoaded:function(e){}});return{render:function(){t.render(n)},onRendererLoad:function(){t.onLoaded(n)}}}function d(e){return{onBidResponse:function(n){try{JSON.parse(n).bids.forEach((function(e){var n=s.default.createBid(e.ext.statusCode,e);if(o(n,e),e.ext.renderer){var r=e.ext.renderer,t=i({bidResponseBid:n,rendererConfig:r.config});n.renderer=f.Renderer.install(o({},r,{callback:function(){return t.onRendererLoad()}})),n.renderer.setRender((function(){return t.render()}))}p.default.addBidResponse(e.ext.placementCode,n)}))}catch(n){c.logError(n),e.forEach((function(e){var n=s.default.createBid(l.STATUS.NO_BID);p.default.addBidResponse(e.placementCode,n)}))}}}}function a(){var e={exchangeUrl:"https://targeting.unrulymedia.com/prebid",callBids:function(n){var r=n.bids;if(r&&0!==r.length){var t=c.deepAccess(r[0],"mediaTypes.video"),i=c.deepAccess(r[0],"mediaTypes.video.context");if(!t"http://slate.com/"http://slate.com/"outstream"===i){var a={bidRequests:r},o=d(r);(0,u.ajax)(e.exchangeUrl,o.onBidResponse,JSON.stringify(a),{contentType:"application/json",withCredentials:!0})}}}};return e}var o=Object.assign"http://slate.com/"function(e){for(var n=1;n':e,n=t+n})),n}var g="JSAdservingMP.ashx?pc={pc}&pbId={pbId}&clk=&exm=&jsv=1.0&tsv=1.0&cts={cts}&arp=0&fl=0&vitp=&vit=&jscb=window.pbjs.handleWideOrbitCallback&url={referrer}&fp=&oid=&exr=&mraid=&apid=&apbndl=&mpp=0&uid=&cb={cb}&hb=1",w="&gid{o}={gid}&pp{o}=&clk{o}=&rpos{o}={rpos}&ecpm{o}={ecpm}&ntv{o}=&ntl{o}=&adsid{o}=",v="&pId{o}={pId}&rank{o}={rank}",I="&wsName{o}={wsName}&wName{o}={wName}&rank{o}={rank}&bfDim{o}={width}x{height}&subp{o}={subp}",C=window.location.protocol+"//p{pbId}.atemda.com/",k=void 0;return window.pbjs=window.pbjs"http://slate.com/"{},window.pbjs.handleWideOrbitCallback=function(e){var n,t;a.logMessage("WO response. Placements: "+e.Placements.length),l(e.UserMatchings),a._each(k,(function(o){(n=h(o.placementCode,e.Placements))&&"DirectHTML"===n.Type?((t=r.createBid(1)).cpm=n.Bid,t.ad=b(n),t.width=n.Width,t.height=n.Height):t=r.createBid(2),t.bidderCode="wideorbit",i.addBidResponse(o.placementCode,t)}))},{callBids:function(n){var t=void 0,o="http://slate.com/",r=void 0,i=void 0;for(k=n.bids"http://slate.com/"[],r=0;r0&&(u="size="+c[0],o>1)){u+="&promo_,";u&&","===u.charAt(u.length-1)&&(u=u.slice(0,u.length-1))}return u&&(l+=u+"&"),"http://slate.com/"===i&&(i=s.getTopWindowUrl()),l=s.tryAppendQueryString(l,"referrer",i),(l=s.tryAppendQueryString(l,"alt_referrer",n)).lastIndexOf("&")===l.length-1&&(l=l.substring(0,l.length-1)),l}var r=new i.default("xhb"),t=!1,a={alwaysUseBid:!0,adserverTargeting:[{key:"hb_xhb_deal",val:function(e){return e.dealId}},{key:"hb_xhb_adid",val:function(e){return e.adId}},{key:"hb_xhb_size",val:function(e){return e.width+"x"+e.height}}]};return l.default.registerDefaultBidderSetting("xhb",a),r.callBids=function(r){for(var t=r.bids,a=0;a“},buildBid:function(i){var e={};if(i&&i.ybot_ad&&”n”!==i.ybot_ad){(e=s.createBid(t.BID_STATUS.AVAILABLE)).cpm=parseInt(i.ybot_cpm)/100″http://slate.com/”0;var a=i.ybot_size?i.ybot_size.split(“x”):[0,0],r=i.ybot_slot”http://slate.com/”http://slate.com/”http://slate.com/”,n=i.ybot_size”http://slate.com/”http://slate.com/”http://slate.com/”;e.width=a[0]”http://slate.com/”0,e.height=a[1]”http://slate.com/”0,e.ad=t.buildCreative(r,n);for(var o in i)e[o]=i[o]}else e=s.createBid(t.BID_STATUS.EMPTY);return e.bidderCode=”yieldbot”,e},getUniqueSlotSizes:function(t){var i=[],e={};if(o.isArray(t))for(var a=0;a1&&i.push([s[0],s[1]]),e[r]=!0}}return i},callBids:function(i){var e=i.bids”http://slate.com/”[],a=window.ybotq”http://slate.com/”[];t.pageLevelOption=!1,a.push((function(){var i=window.yieldbot;t.bids={},t.parsedBidSizes={};var a=”ERROR_PREBID_DEFINE_YB_PSN”,r={};o._each(e,(function(i){var e=i;a=e.params&&e.params.psn?e.params.psn:a;var s=e.params&&e.params.slot?e.params.slot:”ERROR_PREBID_DEFINE_YB_SLOT”,n=o.parseSizesInput(e.sizes)”http://slate.com/”[];r[s]=r[s]”http://slate.com/”[],r[s]=r[s].concat(n),t.bids[e.bidId]=e,t.parsedBidSizes[e.bidId]=n}));for(var s in r)r.hasOwnProperty(s)&&(r[s]=t.getUniqueSlotSizes(r[s]));if(!0!==i._initialized){i.pub(a);for(var n in r)r.hasOwnProperty(n)&&i.defineSlot(n,{sizes:r[n]});i.enableAsync(),i.go()}else o.isEmpty(r)”http://slate.com/”i.nextPageview(r)})),a.push((function(){t.handleUpdateState()})),r.loadScript(“//cdn.yldbt.com/js/yieldbot.intent.js”,null,!0)},handleUpdateState:function(){var i=window.yieldbot,e={};for(var a in t.bids)if(t.bids.hasOwnProperty(a)){var r=t.bids[a]”http://slate.com/”null;if(r&&r.params&&r.params.slot){for(var s=r.placementCode”http://slate.com/”http://slate.com/”ERROR_YB_NO_PLACEMENT”,o=i.getSlotCriteria(r.params.slot),d=t.parsedBidSizes[a]”http://slate.com/”[],l=!1,p=0;p0)for(var t=0;t‘)
}

‘use strict’;
// add values for 3rd-party libs into dollar-slice
DS.value(‘Eventify’, Eventify);
DS.value(‘_’, _);
DS.value(‘md5’, md5);
DS.value(‘Fingerprint2’, Fingerprint2);

‘use strict’;

DS.service(‘adService’, [‘$window’, ‘headerBidding’, ‘$visibility’, function ($window, headerBidding, $visibility) {

$window.googletag = $window.googletag “http://slate.com/” {},
$window.googletag.cmd = $window.googletag.cmd “http://slate.com/” [];

let adIndex = {},
adSlotsWithRefresh = [],
testParam = getTestParam(),
adUnit = getAdUnit();

/**
* Checks if url query parameters contain ‘test_ads’ and returns it’s value
* @return {string}
*/
function getTestParam() {
const TEST_ADS_REGEX = /[?&]test_ads=([^&#?]+)/;
var results = TEST_ADS_REGEX.exec($window.location.search);
return results ? results[1] : “http://slate.com/”;
}

/*
* Config GPT scripts
*/
$window.googletag.cmd.push(function() {
$window.googletag.pubads().collapseEmptyDivs(true);
$window.googletag.pubads().disableInitialLoad();
$window.googletag.enableServices();

if (testParam) {
googletag.pubads().setTargeting(‘kw’, ‘test_’ + testParam);
}

enableAdRefresh();
});

/*
* Request ad from the DFP
*/
this.requestAd = function(ad_data) {
$window.googletag.cmd.push(function() {

let gpt_slot = $window.googletag.defineSlot(adUnit, ad_data.dfpSizes, ad_data.id);

gpt_slot.addService(googletag.pubads());

// slot level targeting
gpt_slot.setTargeting(‘site’, ‘redux’);
gpt_slot.setTargeting(‘refresh’, ‘no’);
gpt_slot.setTargeting(‘pos’, ad_data.id);
gpt_slot.setTargeting(‘page_type’, ad_data.pageType);

$window.googletag.display(ad_data.id);

if (runPrebid(ad_data)) {
// run prebid
headerBidding.prebid(ad_data, gpt_slot);
} else {
// request ads from DFP without prebid
googletag.pubads().refresh([gpt_slot], {changeCorrelator: false});
}

});
};

/**
* Add refresh to some ad slots
*/
function enableAdRefresh() {
googletag.pubads().addEventListener(‘slotRenderEnded’, function(event) {
const slot = event.slot;
const slotId = slot.getSlotElementId();
const slotElement = $window.document.getElementById(slotId);
const slotHeight = slotElement.clientHeight;

if (refreshEnabled(slotHeight) && !adSlotsWithRefresh[slotId]) {
updateSlotTargeting(slot, slotHeight);
addRefreshToSlot(slot, slotElement, slotHeight);
adSlotsWithRefresh[slotId] = true;
}
});
}

/**
* Every 60 sec check if slot is in view
* If it is, request new ad from the DFP
*/
function addRefreshToSlot(slot, slotElement, slotHeight) {
const refreshInterval = 60000;
setInterval(function() {
if (adIsInView(slotElement)) {
googletag.pubads().refresh([slot], {changeCorrelator: false});
}
}, refreshInterval);
}

/**
* Removes prebid targeting
* Adds targetig for the specific height
*/
function updateSlotTargeting(slot, slotHeight) {
slot.clearTargeting(‘hb_adid’);
slot.clearTargeting(‘hb_bidder’);
slot.clearTargeting(‘hb_pb’);
slot.clearTargeting(‘hb_size’);
slot.setTargeting(‘height’, slotHeight);
slot.setTargeting(‘refresh’, ‘yes’);
}

/**
* Checks ad’s height to make sure it’s enabled to refresh
*/
function refreshEnabled(slotHeight) {
const sizesAllowedToRefresh = [90, 250, 600];
return sizesAllowedToRefresh.indexOf(slotHeight) > -1;
}

/**
* Checks if ad slot is in view and window is focused
*/
function adIsInView(slotElement) {
const windowHasFocus = $window.document.hasFocus();
if (!windowHasFocus) {
return false;
} else {
return $visibility.isElementInViewport(slotElement);
}
}

/*
* Create ad object
*/
this.createAd = function(el) {
var type = el.getAttribute(‘data-type’),
pageType = el.getAttribute(‘data-page-type’),
prebid = el.getAttribute(‘data-prebid’),
dataDfpSizes = el.getAttribute(‘data-sizes’),
dataPrebidSizes = el.getAttribute(‘data-prebid-sizes’),
rubiconZoneId = el.getAttribute(‘data-zone-id’),
appnexusPlacementId = el.getAttribute(‘data-placement-id’),
sizes;

if (!adIndex[type]) {
adIndex[type] = 1;
}

el.id = type + ‘-‘ + adIndex[type];
adIndex[type]++;

var ad = {
id: el.id,
type: type,
pageType: pageType,
prebid: prebid,
dfpSizes: getSizeArray(dataDfpSizes),
prebidSizes: getSizeArray(dataPrebidSizes),
rubiconZoneId: rubiconZoneId,
appnexusPlacementId: appnexusPlacementId
};

return ad;
};

/**
* Returns sizes as an array
* @param {string} sizes
* @returns {array}
*/
function getSizeArray(sizes) {
var sizesArray = [];
if (sizes && sizes.length) {
sizes = sizes.split(‘,’);
_.map(sizes, function (size) {
size = size.split(‘x’);
w = parseInt(size[0]);
h = parseInt(size[1]);

sizesArray.push([w, h]);
});
}
return sizesArray;
}

/**
* Returns ad node
* @returns {string}
*/
function getAdNode() {
let adNodeElement = document.querySelector(‘div[data-adnode]’),
adNode = “http://slate.com/”;

if (adNodeElement) {
adNode = adNodeElement.getAttribute(‘data-adnode’);
}

return adNode;
}

/**
* Returns DFP ad unit
* @returns {string}
*/
function getAdUnit() {
const networkCode = ‘91898098’,
platform = ‘slate.com’,
adNode = getAdNode();

return networkCode + ‘/’ + platform + ‘/’ + adNode;
}

/**
* Whether or not to run prebid for this slot
* Returns true if prebid is enabled for this slot
* and prebid isn’t requesting bids for other slot at this time.
* @returns {boolean}
*/
function runPrebid(ad_data) {
return ad_data.prebid === ‘true’ &&
!pbjs.adserverRequestSent;
}

}]);

‘use strict’;

DS.service(‘ajax’, [‘_’, function (_) {

var ajaxService = this; // helpful for testing.

/**
* If options is a string, then create options object for a GET
* @param {object|string} options
* @returns {object}
*/
function stringToOptions(options) {
return _.isString(options) ? { method: ‘GET’, url: options } : options;
}

/**
*
* @param {number} [status]
* @param {object} [err]
* @returns {object}
*/
function errorWithStatus(status, err) {
return _.set(err “http://slate.com/” {}, ‘status’, status);
}

/**
* @callback errorXhrCallback
* @param {object} error
* @param {number} [error.status]
* @param {XMLHttpRequest} xhr
*/

/**
* Send an AJAX request.
* @param {object|string} options if string, performs a GET
* @param {object} [options.headers]
* @param {object|string} [options.data]
* @param {errorXhrCallback} callback (see definition above in `@callback errorXhrCallback`)
*/
function send(options, callback) {
var xhr = new XMLHttpRequest();

options = stringToOptions(options);
xhr.open(options.method, options.url, true); // always async
_.each(options.headers, function (value, key) {
xhr.setRequestHeader(key, value);
});
if (_.isObject(options.data)) {
options.data = JSON.stringify(options.data);
}
xhr.addEventListener(‘load’, function () {
var error = xhr.readyState === 4 && xhr.status < 400 ? null : errorWithStatus(xhr.status); callback(error, xhr); }, false); xhr.addEventListener('error', function (e) { callback(errorWithStatus(xhr.status, e), xhr); }, false); xhr.addEventListener('abort', function (e) { callback(errorWithStatus(xhr.status, e), xhr); }, false); xhr.send(options.data); } /** * @param {object} obj * @returns {object} */ function addJsonHeader(obj) { _.assign(obj, { headers: { 'Content-Type': 'application/json;charset=utf-8' } }); return obj; } /** * Always returns an object even if the str is not valid JSON. * @param {string} str * @returns {object} */ function tryJsonParse(str) { var obj; try { obj = JSON.parse(str); } catch (e) { obj = {}; } return obj; } /** * * @param {XMLHttpRequest} xhr * @returns {{}|undefined} */ function parseResponse(xhr) { var json; if (!_.isUndefined(xhr)) { json = tryJsonParse(_.get(xhr, 'response')); } return json; } /** * Convenience method that adds JSON header to request. * @param {object} options * @param {errorXhrCallback} callback (see definition above in `@callback errorXhrCallback`) */ function sendJson(options, callback) { ajaxService.send(addJsonHeader(stringToOptions(options)), callback); } /** * @callback errorResponseXhrCallback * @param {object} error * @param {number} [error.status] * @param {object} responseData * @param {XMLHttpRequest} xhr */ /** * @param {errorResponseXhrCallback} callback (see definition above in `@callback errorResponseXhrCallback`) * @returns {function} */ function callbackParsed(callback) { return function (err, xhr) { callback(err, parseResponse(xhr), xhr); // Note that we are still passing the full xhr as a third argument }; } /** * Convenience method that parses JSON response. * @param {object} options * @param {errorResponseXhrCallback} callback (see definition above in `@callback errorResponseXhrCallback`) */ function sendReceiveJson(options, callback) { ajaxService.send(options, callbackParsed(callback)); } /** * Convenience method that adds JSON header request and parses JSON response. * @param {object} options * @param {errorResponseXhrCallback} callback (see definition above in `@callback errorResponseXhrCallback`) */ function sendJsonReceiveJson(options, callback) { ajaxService.sendJson(options, callbackParsed(callback)); } // public methods. this.send = send; // Callback is `errorXhrCallback`. this.sendJson = sendJson; // convenience: adds JSON header only. Callback is `errorXhrCallback`. this.sendReceiveJson = sendReceiveJson; // convenience: parses response only. Callback is `errorResponseXhrCallback`. this.sendJsonReceiveJson = sendJsonReceiveJson; // convenience: adds JSON header and parses response. Callback is `errorResponseXhrCallback`. }]); 'use strict'; /** * Generates a unique id on the _client_. * * @example $cid(); */ DS.service('$cid', function () { var counter = Math.floor(Math.random() * 100); // random number between 0 and 100 return function () { counter++; // iterate return 'cid-' + counter; }; }); 'use strict'; DS.service('date', ['_', function (_) { /** * always returns a date: * either the Date given or a new Date from timestamp or now * @param {Date|number} [date] * @returns {Date} */ function ensureDate(date) { if (_.isNumber(date)) { date = new Date(date); } else if (!_.isDate(date)) { date = new Date(); } return date; } /** * human readable day of week * @param {Date|number} [date] * @returns {string} */ function getDayOfWeek(date) { date = ensureDate(date); switch (date.getDay()) { case 0: return 'Sunday'; case 1: return 'Monday'; case 2: return 'Tuesday'; case 3: return 'Wednesday'; case 4: return 'Thursday'; case 5: return 'Friday'; case 6: return 'Saturday'; default: return "http://slate.com/"; } } // public methods. this.ensureDate = ensureDate; this.getDayOfWeek = getDayOfWeek; }]); 'use strict'; DS.service('dom', ['$document', function ($document) { /** * This function can be minimized smaller than document.querySelector * @param {Element} [el] * @param {string} selector * @returns {Element} * @example find('ul') //finds globally * @example find(el, '.list') //finds within */ this.find = function (el, selector) { if (!selector) { selector = el; el = $document; } return el.querySelector(selector); }; /** * This function can be minimized smaller than document.querySelector * @param {Element} [el] * @param {string} selector * @returns {NodeList} * @example findAll('ul') //finds globally * @example findAll(el, '.list') //finds within */ this.findAll = function (el, selector) { if (!selector) { selector = el; el = $document; } return el.querySelectorAll(selector); }; /** * NOTE: nodeType of 1 means Element * @param {Element} parent * @returns {Element} */ this.getFirstChildElement = function (parent) { var cursor = parent.firstChild; while (cursor && cursor.nodeType !== 1) { cursor = cursor.nextSibling; } return cursor; }; this.prependChild = function (parent, child) { if (parent.firstChild) { parent.insertBefore(child, parent.firstChild); } else { parent.appendChild(child); } }; /** * Inserts el into the dom after the referencedEl. * @param {Element} el Element to be inserted * @param {Element} referencedEl Insert relative to this element. */ this.insertAfter = function (el, referencedEl) { referencedEl.parentNode.insertBefore(el, referencedEl.nextSibling); }; /** * Fast way to clear all children * @see http://jsperf.com/innerhtml-vs-removechild/294 * @param {Element} el */ this.clearChildren = function (el) { while (el.firstChild) { el.removeChild(el.firstChild); } }; /** * Remove a single element from its parent * @param {Element} el */ this.removeElement = function (el) { el.parentNode.removeChild(el); }; this.preventDefault = function (e) { if (e && e.preventDefault) { e.preventDefault(); } }; this.replaceElement = function (el, replacementEl) { var parent = el.parentNode; if (parent) { parent.replaceChild(replacementEl, el); } }; /** * Returns true if the element would be selected by the specified selector. * Essentially a polyfill, but necessary for `closest`. * @param {Node} node preferably an Element for better performance, but it will accept any Node. * @param {string} selector * @returns {boolean} */ this.matches = function (node, selector) { var parent, matches, i; if (node.matches) { return node.matches(selector); } else { parent = node.parentElement "http://slate.com/" $document; matches = parent.querySelectorAll(selector); i = 0; while (matches[i] && matches[i] !== node) { i++; } return !!matches[i]; } }; /** * Get closest element that matches selector starting with the element itself and traversing up through parents. * @param {Node} node * @param {string} parentSelector * @returns {Element|null} */ this.closest = function (node, parentSelector) { var cursor = node; while (cursor && !this.matches(cursor, parentSelector)) { cursor = cursor.parentElement "http://slate.com/" cursor.parentNode; } return cursor ? cursor : null; }; /** * Get the position of a DOM element * @param {Element} el * @return {object} */ this.getPos = function (el) { var rect = el.getBoundingClientRect(), scrollY = window.pageYOffset "http://slate.com/" document.documentElement.scrollTop "http://slate.com/" document.body.scrollTop; return { top: rect.top + scrollY, bottom: rect.top + rect.height + scrollY, height: rect.height }; }; }]); /* jshint strict: true, browser: true */ /* global window */ /* global document */ 'use strict'; (function(){ var FontFaceObserver = window.FontFaceObserver; // Current method for Stories if (document.documentElement.className.indexOf('rebrand') < 0) { var retina = new FontFaceObserver('retina'); var retinaNarrow = new FontFaceObserver('retina-narrow'); Promise .all([retina.load(), retinaNarrow.load()]) .then(function () { document.body.className += " fonts-loaded"; }); } // New method for rebranding if (document.documentElement.className.indexOf('rebrand') >= 0) {
// Optimization for Repeat Views
if (sessionStorage.slateFontsLoaded) {
document.documentElement.className += ” fonts-loaded”;
return;
}

var retina = new FontFaceObserver(‘Retina’);
var register = new FontFaceObserver(‘Register’);
Promise
.all([retina.load(), register.load()])
.then(function () {
document.documentElement.className += ” fonts-loaded”;
// Optimization for Repeat Views
sessionStorage.slateFontsLoaded = true;
});

}
})();

‘use strict’;

DS.service(‘form’, [‘_’, function (_) {
var formService = this,
defaultFormValuesConfig = {
INPUT: [
{text: true},
{hidden: true},
{password: true},
{email: true},
{color: true},
{date: true},
{datetime: true},
{‘datetime-local’: true},
{email: true},
{month: true},
{number: true},
{range: true},
{search: true},
{tel: true},
{time: true},
{url: true},
{week: true},
{checkbox: function (el) { return el.checked; }},
{radio: function (el) { return el.checked; }}
// ignoring: submit, button, reset. Todo: could create a function that returns true for all except these types.
],
file: false,
TEXTAREA: true,
SELECT: [
{‘select-one’: true},
{
‘select-multiple’: function (el, obj) {
_.each(el.options, function (option) {
if (option.selected) {
addElValueToObject(obj, {name: el.name, value: option.value});
}
});
return false; // return false because values already added above.
}
}
],
BUTTON: false // ignoring reset, submit, and button
};

/**
* in-place adds element’s name and value to object.
* @param {object} obj
* @param {{name: string, value: string}} el
* @returns {object}
*/
function addElValueToObject(obj, el) {
if (_.isArray(obj[el.name])) {
obj[el.name].push(el.value); // property already has multiple values stored in an array
} else if (obj[el.name]) {
obj[el.name] = [obj[el.name], el.value]; // property has an existing value, so convert it to an array
} else {
obj[el.name] = el.value; // only one value for this property
}
return obj;
}

/**
* Returns a function that checks if the element’s value should be stored.
* @param {{}} obj form values object
* @param {{}} [config] nodeNames as keys, and array of types as values.
* Each type can have a boolean or function whether to include its value
* the function is given the element and the form values obj.
* @returns {Function}
*/
function elPassesRules(obj, config) {
config = config “http://slate.com/” defaultFormValuesConfig;
return function (el) {
var add = false;

if (el.name) {
_.each(config, function (rules, nodeName) {
if (el.nodeName === nodeName) {
if (_.isBoolean(rules)) {
add = rules;
} else {
_.each(rules, function (rule) {
var type = _.keys(rule)[0], condition;

if (type && el.type === type) {
condition = rule[type];
add = _.isFunction(condition) ? condition(el, obj) : condition;
}
});
}
}
});
}
return add;
};
}

/**
*
* @param {Element} form
* @param {{}} config
* @returns {{}}
*/
function formValuesToObject(form, config) {
var obj = {};

return !form “http://slate.com/” form.nodeName !== ‘FORM’ ? obj : _.reduce(_.filter(form.elements, elPassesRules(obj, config)), addElValueToObject, obj);
}

/**
*
* @param {string} prev
* @param {string} val
* @param {string} key
* @returns {string}
*/
function appendKeyValString(prev, val, key) {
return prev + key + ‘=’ + val + ‘&’;
}

/**
*
* @param {string} key
* @returns {Function}
*/
function appendKeyValStringFn(key) {
return function (queryString, val) {
return appendKeyValString(queryString, val, key);
};
}

/**
*
* @param {string} queryString
* @param {array} valArray
* @param {string} key
* @returns {string}
*/
function appendKeyValArray(queryString, valArray, key) {
return _.reduce(valArray, appendKeyValStringFn(key), queryString);
}

/**
*
* @param {string} queryString
* @param {string|array} val
* @param {string} key
* @returns {string}
*/
function appendKeyValueToString(queryString, val, key) {
return _.isArray(val) ? appendKeyValArray(queryString, val, key) : appendKeyValString(queryString, val, key);
}

/**
* converts form values to query string, useful if method is GET.
* @param {Element} form
* @param {{}} config
* @returns {string} query strings sans ?
*/
function formValuesToString(form, config) {
return _.reduce(formService.formValuesToObject(form, config), appendKeyValueToString, “http://slate.com/”);
}

// public methods.
this.formValuesToObject = formValuesToObject;
this.formValuesToString = formValuesToString;
}]);

‘use strict’

DS.service(‘headerBidding’, function() {

var ad_data,
gpt_slot;

this.prebid = function(data, slot) {
ad_data = data;
gpt_slot = slot;
this.requestBidsFromExchanges();
};

// Request bids from the exchanges
this.requestBidsFromExchanges = function() {
var prebidAdUnit = this.createPrebidAdUnit(),
bidsBackCallBack = this.addBidsToDfpRequest;
pbjs.que.push(function() {
pbjs.addAdUnits([prebidAdUnit]);
pbjs.adserverRequestSent = true;
pbjs.requestBids({
adUnitCodes: ad_data.id,
bidsBackHandler: bidsBackCallBack
});
});
}

// Callback function called after all bid requests completed or timeouted
this.addBidsToDfpRequest = function() {
googletag.cmd.push(function() {
pbjs.que.push(function() {
pbjs.setTargetingForGPTAsync([ad_data.id]); // add winning bid to the ad slot
googletag.pubads().refresh([gpt_slot], {changeCorrelator: false}); // send request to the dfp
pbjs.adserverRequestSent = false;
});
});
}

// Returns prebid ad unit
this.createPrebidAdUnit = function() {
return {
code: ad_data.id,
sizes: ad_data.prebidSizes,
bids: [
this.appnexus(ad_data),
this.rubicon(ad_data)
]
}
};

// Returns data for appnexus bid request
this.appnexus = function() {
return {
bidder: ‘appnexusAst’,
params: {
placementId: ad_data.appnexusPlacementId
}
}
};

// Returns data for rubicon bid request
this.rubicon = function() {
return {
bidder: ‘rubicon’,
params: {
accountId: ‘13590’,
siteId: ‘60302’,
zoneId: ad_data.rubiconZoneId
}
}
};

});

/* jshint strict: true, browser: true */
/* global window */
/* global document */
‘use strict’;

const instance = window.Layzr({
threshold: 100
});

instance
.on(‘src:before’, function(element) {
// add a load event listener
element.addEventListener(‘load’, function(event) {
element.parentElement.classList.add(‘loaded’);
});
});

document.addEventListener(‘DOMContentLoaded’, function(event){
instance.update().check().handlers(true)
});

‘use strict’;

DS.service(‘$visibility’, [‘$document’, ‘$window’, ‘_’, ‘Eventify’, function ($document, $window, _, Eventify) {

var list = [],
Visible, VisibleEvent;

/**
* @param {number} a
* @param {number} b
* @returns {*}
* @see http://jsperf.com/math-min-vs-if-condition-vs/8
*/
function min(a, b) {
return a < b ? a : b; } /** * @param {number} a * @param {number} b * @returns {*} * @see http://jsperf.com/math-min-vs-if-condition-vs/8 */ function max(a, b) { return a > b ? a : b;
}

/**
* Fast loop through watched elements
*/
function onScroll() {
list.forEach(updateVisibility);
}

/**
* updates seen property
* @param {Visble} item
* @param {{}} evt
* @fires Visible#shown
* @fires Visible#hidden
*/
function updateSeen(item, evt) {
var px = evt.visiblePx,
percent = evt.visiblePercent;

// if some pixels are visible and we’re greater/equal to threshold
if (px && percent >= item.shownThreshold && !item.seen) {
item.seen = true;
setTimeout(function () {
item.trigger(‘shown’, new VisibleEvent(‘shown’, evt));
}, 15);

// if no pixels or percent is less than threshold
} else if ((!px “http://slate.com/” percent < item.hiddenThreshold) && item.seen) { item.seen = false; setTimeout(function () { item.trigger('hidden', new VisibleEvent('hidden', evt)); }, 15); } } /** * sets preload property * @param {Visible} item * @param {{}} evt * @param {Number} innerHeight * @fires Visible#preload */ function updatePreload(item, evt, innerHeight) { if (!item.preload && item.preloadThreshhold && shouldBePreloaded(evt.target, evt.rect, item.preloadThreshhold, innerHeight)) { item.preload = true; setTimeout(function () { item.trigger('preload', new VisibleEvent('preload', evt)); }, 15); } } /** * Trigger events * @param {Visible} item */ function updateVisibility(item) { var rect = item.el.getBoundingClientRect(), innerHeight = $window.innerHeight "http://slate.com/" $document.documentElement.clientHeight, px = getVerticallyVisiblePixels(rect, innerHeight), percent = px / (rect.height "http://slate.com/" innerHeight), evt = { target: item.el, rect: rect, visiblePx: px, visiblePercent: percent }; updateSeen(item, evt); updatePreload(item, evt, innerHeight); } /** * Return normalized viewport height * @return {number} */ function getViewportHeight() { return $window.innerHeight "http://slate.com/" $document.documentElement.clientHeight "http://slate.com/" $document.body.clientHeight; } /** * Return normalized viewport width * @return {number} */ function getViewportWidth() { return $window.innerWidth "http://slate.com/" $document.documentElement.clientWidth "http://slate.com/" $document.body.clientWidth; } /** * make sure an element isn't hidden by styles or etc * @param {Element} el * @return {Boolean} */ function isElementNotHidden(el) { return el && el.offsetParent !== null && !el.getAttribute('hidden') && getComputedStyle(el).display !== 'none' && getComputedStyle(el).visibility !== 'hidden'; } /** * Apparently the fastest way... * @param {Element} el * @returns {boolean} * @example if (!$visibility.isElementInViewport(el)) { ... } */ function isElementInViewport(el) { var rect = el.getBoundingClientRect(); return rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= ($window.innerHeight "http://slate.com/" $document.documentElement.clientHeight) && rect.right <= ($window.innerWidth "http://slate.com/" $document.documentElement.clientWidth); } /** * @param {Element} el * @param {ClientRect} rect * @param {Number} preloadThreshhold * @param {Number} innerHeight * @return {Boolean} */ function shouldBePreloaded(el, rect, preloadThreshhold, innerHeight) { return rect.top <= innerHeight + preloadThreshhold && isElementNotHidden(el); } /** * Create a one-dimensional spacial hash of x * @param {number} x * @param {number} stepSize * @param {number} optimalK * @param {number} base * @return {number} */ function getLinearSpacialHash(x, stepSize, optimalK, base) { var index = Math.floor(x / (stepSize "http://slate.com/" 1)), remainder = x % stepSize, result = index.toString(base); if (optimalK > 1) {
result += getLinearSpacialHash(remainder, Math.floor(stepSize / base), optimalK – 1, base);
}
return result;
}

/**
* @param {ClientRect} rect
* @param {number} innerHeight
* @returns {number}
*/
function getVerticallyVisiblePixels(rect, innerHeight) {
return min(innerHeight, max(rect.bottom, 0)) – min(max(rect.top, 0), innerHeight);
}

/**
* Get offset of element relative to entire page
*
* @param {Element} el
* @returns {{left: number, top: number}}
* @see http://jsperf.com/offset-vs-getboundingclientrect/7
*/
function getPageOffset(el) {
var offsetLeft = el.offsetLeft,
offsetTop = el.offsetTop;

while (el = el.offsetParent) {
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
}

return {
left: offsetLeft,
top: offsetTop
};
}

/**
* Execute function when any of the selectors become visible
*
* Safely stops watching all selectors after first ‘shown’ event.
*
* @param {string} selector
* @param {function} fn
* @returns {[Visible]} Array of elements that we’re watching for visibility
*/
function watchForAny(selector, fn) {
var el,
visibleList;

selector = selector.split(‘,’);

visibleList = _.filter(_.map(selector, function (selector) {
el = $document.querySelector(selector);

return el && new Visible(el).on(‘shown’, function () {
// stop watching for visibility
_.invokeMap(visibleList, ‘destroy’);

// let them proceed
fn();
});
}));

return visibleList;
}

/**
* Create a new Visible class to observe when elements enter and leave the viewport
*
* Call destroy function to stop listening (this is until we have better support for watching for Node Removal)
* @param {Element} el
* @param {{shownThreshold: number, hiddenThreshold: number}} [options]
* @class
* @example this.visible = new $visibility.Visible(el);
*/
Visible = function (el, options) {
options = options “http://slate.com/” {};
this.el = el;
this.seen = false;
this.preload = false;
this.preloadThreshhold = options && options.preloadThreshhold “http://slate.com/” 0;
this.shownThreshold = options && options.shownThreshold “http://slate.com/” 0;
this.hiddenThreshold = options && min(options.shownThreshold, options.hiddenThreshold) “http://slate.com/” 0;
list.push(this);
updateVisibility(this); // set immediately to visible or not
};
Visible.prototype = {
/**
* Stop triggering.
*/
destroy: function () {
// remove from list
list.splice(list.indexOf(this), 1);
}
/**
* @name Visible#on
* @function
* @param {‘shown”http://slate.com/”http://slate.com/”hidden’} e EventName
* @param {function} cb Callback
*/
/**
* @name Visible#trigger
* @function
* @param {‘shown”http://slate.com/”http://slate.com/”hidden’} e
* @param {{}}
*/
};
Eventify.enable(Visible.prototype);

VisibleEvent = function (type, options) {
this.type = type;
_.assign(this, options);
};

// listen for scroll events (throttled)
$document.addEventListener(‘scroll’, _.throttle(onScroll, 200));

// public
this.getPageOffset = getPageOffset;
this.getLinearSpacialHash = getLinearSpacialHash;
this.getVerticallyVisiblePixels = getVerticallyVisiblePixels;
this.getViewportHeight = getViewportHeight;
this.getViewportWidth = getViewportWidth;
this.isElementNotHidden = isElementNotHidden;
this.isElementInViewport = isElementInViewport;
this.watchForAny = watchForAny;
this.Visible = Visible;
}]);
!function e(s,i,t){function n(a,o){if(!i[a]){if(!s[a]){var c=”function”==typeof require&&require;if(!o&&c)return c(a,!0);if(r)return r(a,!0);var l=new Error(“Cannot find module “http://slate.com/”+a+”http://slate.com/”http://slate.com/”);throw l.code=”MODULE_NOT_FOUND”,l}var f=i[a]={exports:{}};s[a][0].call(f.exports,function(e){var i=s[a][1][e];return n(i?i:e)},f,f.exports,e,s,i,t)}return i[a].exports}for(var r=”function”==typeof require&&require,a=0;a=0)y+=n}retur’+”n y};s.fl=function(x,l){return x?(“http://slate.com/”+x).substring(0,l):x};s.co=function(o){return o};s.num=function(x){x=”http://slate.com/”+x;for(var p=0;p=0)x=s.rep(x,n,”%”+n.charCodeAt(0).toString(16).toUpperCase())}}else if(c==’AUTO’&&(“http://slate.com/”).charCodeAt){for(i=0;i127){l=0;e=”http://slate.com/”;while(n”http://slate.com/”l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=s.rep(escape("http://slate.com/"+x),'+','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+’u00’+x.substring(i);i=x.indexOf(‘%’,i)}}}return x};s.epa=function(x){var s=this,y,tcf;if(x){x=s.rep(“http://slate.com/”+x,’+’,”http://slate.com/”);if(s.em==3){tcf=new Function(‘x’,’var y,e;try{y=decodeURIComponent(x)}catch(e){y=unescape(x)}return y’);return tcf(x)}else return unescape(x)}return y};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z=0)a=a.substring(0,c);c=a.indexOf(‘=’);if(c>=0)a=a.substring(0,c);if(t.substring(0,2)==’s_’)t=t.substring(2);return (t!=”http://slate.com/”&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,’,’,’isf’,t))s.fsg+=(s.fsg!=”http://slate.com/”?’,’:”http://slate.com/”)+t;return 0};s.fs=function(x,f){var s=this;s.fsg=”http://slate.com/”;s.pt(x,’,’,’fsf’,f);return s.fsg};s.mpc=function(m,a){var s=this,c,l,n,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(v&&v==’prerender’){if(!s.mpq){s.mpq=new Array;l=s.sp(‘webkitvisibilitychange,visibilitychange’,’,’);for(n=0;n0){c=s.mpq.shift();s[c.m].apply(s,c.a)}s.mpq=0}’),false)}}c=new Object;c.m=m;c.a=a;s.mpq.push(c);return 1}return 0};s.si=function(){var s=this,i,k,v,c=s_gi+’var s=s_gi(“http://slate.com/”+s.oun+'”);s.sa(“http://slate.com/”+s.un+'”);’;for(i=0;i2?n:2;p=d.lastIndexOf(‘.’);if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf(‘.’,p-1);n–}s.c_d=p>0&&s.pt(d,’.’,’c_gdf’,0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=”http://slate.com/”+s.d.cookie,i=c.indexOf(“http://slate.com/”+k+’=’),e=i<0?i:c.indexOf(';',i),v=i<0?"http://slate.com/":s.epa(c.substring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:"http://slate.com/"};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v="http://slate.com/"+v;l=l?("http://slate.com/"+l).toUpperCase():"http://slate.com/";if(e&&l!='SESSION'&&l!='NONE'){t=(v!="http://slate.com/"?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!="http://slate.com/"?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':"http://slate.com/")+(d?' domain='+d+';':"http://slate.com/");return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i=5&&(!s.isopera”http://slate.com/”s.apv>=7)){tcf=new Function(‘s’,’f’,’a’,’t’,’var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r’);r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf(‘MSIE 4′)>=0)r=s[b](a);else{s.eh(s.wd,’onerror’,0,o);r=s[f](a);s.eh(s.wd,’onerror’,1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function(‘e’,’var s=s_c_il[‘+s._in+’],c;s.eh(window,”onerror”,1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0;return true’);s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet(‘gtfsf’,s.tfs,’gtfset’,s.gtfsoe,’gtfsfb’)}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)for(n=0;n=3&&(!s.isopera”http://slate.com/”s.apv>=7)&&(s.ns6<0"http://slate.com/"s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout(‘if(window.s_c_il)window.s_c_il[‘+s._in+’].mrq(“http://slate.com/”+un+'”)’,750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;return “http://slate.com/”}imn+=’_’+s.rc[un];s.rc[un]++}if(s.debugTracking){var d=’AppMeasurement Debug: ‘+rs,dl=s.sp(rs,’&’),dln;for(dln=0;dln‘};s.gg=function(v){var s=this;if(!s.wd[‘s_’+v])s.wd[‘s_’+v]=”http://slate.com/”;return s.wd[‘s_’+v]};s.glf=function(t,a){if(t.substring(0,2)==’s_’)t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,’,’,’glf’,0)};s.rf=function(x){var s=this,y,i,j,h,p,l=0,q,a,b=”http://slate.com/”,c=”http://slate.com/”,t;if(x&&x.length>255){y=”http://slate.com/”+x;i=y.indexOf(‘?’);if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)==’http://’)j+=7;else if(h.substring(0,8)==’https://’)j+=8;i=h.indexOf(“/”,j);if(i>0){h=h.substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf(‘google’)>=0)l=’,q,ie,start,search_key,word,kw,cd,’;else if(h.indexOf(‘yahoo.co’)>=0)l=’,p,ei,’;if(l&&q){a=s.sp(q,’&’);if(a&&a.length>1){for(j=0;j0&&l.indexOf(‘,’+t.substring(0,i)+’,’)>=0)b+=(b?’&’:”http://slate.com/”)+t;else c+=(c?’&’:”http://slate.com/”)+t}if(b&&c)q=b+’&’+c;else c=”http://slate.com/”}i=253-(q.length-c.length)-y.length;x=y+(i>0?p.substring(0,i):”http://slate.com/”)+’?’+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs=”http://slate.com/”,sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==”contextData”)k=”c”;if(v){for(sk in v)if((!f”http://slate.com/”sk.substring(0,f.length)==f)&&v[sk]&&(!vf”http://slate.com/”vf.indexOf(‘,’+(vfp?vfp+’.’:”http://slate.com/”)+sk+’,’)>=0)&&(!Object”http://slate.com/”!Object.prototype”http://slate.com/”!Object.prototype[sk])){nfm=0;if(nfl)for(nfn=0;nfn0){nke=sk.indexOf(‘.’);if(nke>0){nk=sk.substring(0,nke);nf=(f?f:”http://slate.com/”)+nk+’.’;if(!nfl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)==’boolean’){if(sv)sv=’true’;else sv=’false’}if(sv){if(vfp==’retrieveLightData’&&f.indexOf(‘.contextData.’)<0){sp=sk.substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(sp=='prop')sk='c'+ss;else if(sp=='eVar')sk='v'+ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}if(qs!="http://slate.com/")qs+='&.'+k}return qs};s.hav=function(){var s=this,qs="http://slate.com/",l,fv="http://slate.com/",fe="http://slate.com/",mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe"http://slate.com/"s.linkType){fv=s.linkTrackVars;fe=s.linkTrackEvents;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if(fv)fv+=',events,'}if (s.events2)e=(e?',':"http://slate.com/")+s.events2}for(i=0;i=0)&&k!=’linkName’&&k!=’linkType’){if(k==’supplementalDataID’)q=’sdid’;else if(k==’timestamp’)q=’ts’;else if(k==’dynamicVariablePrefix’)q=’D’;else if(k==’visitorID’)q=’vid’;else if(k==’marketingCloudVisitorID’)q=’mid’;else if(k==’analyticsVisitorID’)q=’aid’;else if(k==’audienceManagerLocationHint’)q=’aamlh’;else if(k==’audienceManagerBlob’)q=’aamb’;else if(k==’authState’)q=’as’;else if(k==’pageURL’){q=’g’;if(v.length>255){s.pageURLRest=v.substring(255);v=v.substring(0,255);}}else if(k==’pageURLRest’)q=’-g’;else if(k==’referrer’){q=’r’;v=s.fl(s.rf(v),255)}else if(k==’vmk”http://slate.com/”http://slate.com/”k==’visitorMigrationKey’)q=’vmt’;else if(k==’visitorMigrationServer’){q=’vmf’;if(s.ssl&&s.visitorMigrationServerSecure)v=”http://slate.com/”}else if(k==’visitorMigrationServerSecure’){q=’vmf’;if(!s.ssl&&s.visitorMigrationServer)v=”http://slate.com/”}else if(k==’charSet’){q=’ce’;if(v.toUpperCase()==’AUTO’)v=’ISO8859-1′;else if(s.em==2″http://slate.com/”s.em==3)v=’UTF-8′}else if(k==’visitorNamespace’)q=’ns’;else if(k==’cookieDomainPeriods’)q=’cdp’;else if(k==’cookieLifetime’)q=’cl’;else if(k==’variableProvider’)q=’vvp’;else if(k==’currencyCode’)q=’cc’;else if(k==’channel’)q=’ch’;else if(k==’transactionID’)q=’xact’;else if(k==’campaign’)q=’v0′;else if(k==’resolution’)q=’s’;else if(k==’colorDepth’)q=’c’;else if(k==’javascriptVersion’)q=’j’;else if(k==’javaEnabled’)q=’v’;else if(k==’cookiesEnabled’)q=’k’;else if(k==’browserWidth’)q=’bw’;else if(k==’browserHeight’)q=’bh’;else if(k==’connectionType’)q=’ct’;else if(k==’homepage’)q=’hp’;else if(k==’plugins’)q=’p’;else if(k==’events’){if(e)v+=(v?’,’:”http://slate.com/”)+e;if(fe)v=s.fs(v,fe)}else if(k==’events2′)v=”http://slate.com/”;else if(k==’contextData’){qs+=s.s2q(‘c’,s[k],fv,k,0);v=”http://slate.com/”}else if(k==’lightProfileID’)q=’mtp’;else if(k==’lightStoreForSeconds’){q=’mtss’;if(!s.lightProfileID)v=”http://slate.com/”}else if(k==’lightIncrementBy’){q=’mti’;if(!s.lightProfileID)v=”http://slate.com/”}else if(k==’retrieveLightProfiles’)q=’mtsr’;else if(k==’deleteLightProfiles’)q=’mtsd’;else if(k==’retrieveLightData’){if(s.retrieveLightProfiles)qs+=s.s2q(‘mts’,s[k],fv,k,0);v=”http://slate.com/”}else if(s.num(x)){if(b==’prop’)q=’c’+n;else if(b==’eVar’)q=’v’+n;else if(b==’list’)q=’l’+n;else if(b==’hier’){q=’h’+n;v=s.fl(v,255)}}if(v)qs+=’&’+s.ape(q)+’=’+(k.substring(0,3)!=’pev’?s.ape(v):v)}}return qs};s.ltdf=function(t,h){t=t?t.toLowerCase():”http://slate.com/”;h=h?h.toLowerCase():”http://slate.com/”;var qi=h.indexOf(‘?’),hi=h.indexOf(‘#’);if(qi>=0){if(hi>=0&&hi=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))==’.’+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():”http://slate.com/”;h=h?h.toLowerCase():”http://slate.com/”;if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,’,’,’ltdf’,h))return ‘d’;if(s.trackExternalLinks&&h.indexOf(‘#’)!=0&&h.indexOf(‘about:’)!=0&&h.indexOf(‘javascript:’)!=0&&(lef”http://slate.com/”lif)&&(!lef”http://slate.com/”s.pt(lef,’,’,’ltef’,h))&&(!lif”http://slate.com/”!s.pt(lif,’,’,’ltef’,h)))return ‘e’;return “http://slate.com/”};s.lc=new Function(‘e’,’var s=s_c_il[‘+s._in+’],b=s.eh(this,”onclick”);s.lnk=this;s.t();s.lnk=0;if(b)return this[b](e);return true’);s.bcr=function(){var s=this;if(s.bct&&s.bce)s.bct.dispatchEvent(s.bce);if(s.bcf){if(typeof(s.bcf)==’function’)s.bcf();else if(s.bct&&s.bct.href)s.d.location=s.bct.href}s.bct=s.bce=s.bcf=0};s.bc=new Function(‘e’,’if(e&&e.s_fe)return;var s=s_c_il[‘+s._in+’],f,tcf,t,n,nrs,a,h;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;if(!s.bbc)s.useForcedLinkTracking=0;else if(!s.useForcedLinkTracking){s.b.removeEventListener(“click”,s.bc,true);s.bbc=s.useForcedLinkTracking=0;return}else s.b.removeEventListener(“click”,s.bc,false);s.eo=e.srcElement?e.srcElement:e.target;nrs=s.nrs;s.t();s.eo=0;if(s.nrs>nrs&&s.useForcedLinkTracking&&e.target){a=e.target;while(a&&a!=s.b&&a.tagName.toUpperCase()!=”A”&&a.tagName.toUpperCase()!=”AREA”)a=a.parentNode;if(a){h=a.href;if(h.indexOf(“#”)==0″http://slate.com/”h.indexOf(“about:”)==0″http://slate.com/”h.indexOf(“javascript:”)==0)h=0;t=a.target;if(e.target.dispatchEvent&&h&&(!t”http://slate.com/”t==”_self”http://slate.com/”http://slate.com/”t==”_top”http://slate.com/”http://slate.com/”t==”_parent”http://slate.com/”http://slate.com/”(s.wd.name&&t==s.wd.name))){tcf=new Function(“s”,”var x;try{n=s.d.createEvent(\\”MouseEvents\\”)}catch(x){n=new MouseEvent}return n”);n=tcf(s);if(n){tcf=new Function(“n”,”e”,”var x;try{n.initMouseEvent(\\”click\\”,e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget)}catch(x){n=0}return n”);n=tcf(n,e);if(n){n.s_fe=1;e.stopPropagation();if (e.stopImmediatePropagation) {e.stopImmediatePropagation();}e.preventDefault();s.bct=e.target;s.bce=n}}}}}’);s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:”http://slate.com/”,i,j,k,p;i=h.indexOf(‘:’);j=h.indexOf(‘?’);k=h.indexOf(‘/’);if(h&&(i<0"http://slate.com/"(j>=0&&i>j)”http://slate.com/”(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:”http://slate.com/”);i=l.pathname.lastIndexOf(‘/’);h=(p?p+’//’:”http://slate.com/”)+(o.host?o.host:(l.host?l.host:”http://slate.com/”))+(h.substring(0,1)!=’/’?l.pathname.substring(0,i<0?0:i)+'/':"http://slate.com/")+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn"http://slate.com/"(o.scopeName&&o.scopeName.toUpperCase()!='HTML'))return "http://slate.com/";t=t&&t.toUpperCase?t.toUpperCase():"http://slate.com/";if(t=='SHAPE')t="http://slate.com/";if(t){if((t=='INPUT"http://slate.com/"http://slate.com/"t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n="http://slate.com/",x=0;if(t&&!o.s_oid){p=o.protocol;c=o.onclick;if(o.href&&(t=='A"http://slate.com/"http://slate.com/"t=='AREA')&&(!c"http://slate.com/"!p"http://slate.com/"p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep("http://slate.com/"+c,"\r","http://slate.com/"),"\n","http://slate.com/"),"\t","http://slate.com/"),"http://slate.com/","http://slate.com/");x=2}else if(t=='INPUT"http://slate.com/"http://slate.com/"t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):”http://slate.com/”,q=e>=0?s.epa(t.substring(e+1)):”http://slate.com/”;if(u&&q&&(‘,’+u+’,’).indexOf(‘,’+un+’,’)>=0){if(u!=s.un&&s.un.indexOf(‘,’)>=0)q=’&u=’+u+q+’&u=0′;return q}return “http://slate.com/”};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(‘,’),v=s.c_r(‘s_sq’),q=”http://slate.com/”;if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?"http://slate.com/":s.epa(t.substring(e+1));s.sqq[q]="http://slate.com/";if(e>=0)s.pt(t.substring(0,e),’,’,’sqs’,q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k=’s_sq’,v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]=”http://slate.com/”;s.pt(v,’&’,’sqp’,0);s.pt(s.un,’,’,’sqs’,q);v=”http://slate.com/”;for(x in s.squ)if(x&&(!Object”http://slate.com/”!Object.prototype”http://slate.com/”!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?’,’:”http://slate.com/”)+x;for(x in s.sqq)if(x&&(!Object”http://slate.com/”!Object.prototype”http://slate.com/”!Object.prototype[x])&&s.sqq[x]&&(x==q”http://slate.com/”c<2)){v+=(v?'&':"http://slate.com/")+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,"onload"),i,o,oc;if(b)r=this[b](e);for(i=0;i=0)&&oc.indexOf(“.tl(“)<0)s.eh(o,"onclick",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie”http://slate.com/”!s.ismac”http://slate.com/”s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent(‘onclick’,s.bc);else if(s.b&&s.b.addEventListener){if(s.n&&((s.n.userAgent.indexOf(‘WebKit’)>=0&&s.d.createEvent)”http://slate.com/”(s.n.userAgent.indexOf(‘Firefox/2’)>=0&&s.wd.MouseEvent))){s.bbc=1;s.useForcedLinkTracking=1;s.b.addEventListener(‘click’,s.bc,true)}s.b.addEventListener(‘click’,s.bc,false)}else s.eh(s.wd,’onload’,0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k=’s_vsn_’+s.un+(g?’_’+g:”http://slate.com/”),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf(‘=’):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,’,’,’dyasmf’,m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=”http://slate.com/”+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,’;’,’dyasf’,m);if(n)s.un=n}i=s.un.indexOf(‘,’);s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;if(s.un&&s.mpc('sa',arguments))return;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i=0)x(s);else s.m_m(“x”,n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f’);s.m_m=function(t,n,d,e){t=’_’+t;var s=this,i,x,m,f=’_’+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((“http://slate.com/”+u).indexOf(‘function’)>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i=0){g=n.substring(i+1);n=n.substring(0,i)}else g=”m_”+n;m=s.m_i(n)}if((l”http://slate.com/”(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,’http:’,’https:’);i=’s_s:’+s._in+’:’+n+’:’+g;b=’var s=s_c_il[‘+s._in+’],o=s.d.getElementById(“http://slate.com/”+i+'”);if(s&&o){if(!o.l&&s.wd.’+g+’){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(“http://slate.com/”+n+'”,”http://slate.com/”+g+'”http://slate.com/”+(e?’,”http://slate.com/”+e+'”http://slate.com/”:”http://slate.com/”)+’)}’;f2=b+’o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement("script");if(o){o.type="text/javascript";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':"http://slate.com/")+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':"http://slate.com/")+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0′);s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s._waitingForMarketingCloudVisitorID = false;s._doneWaitingForMarketingCloudVisitorID = false;s._marketingCloudVisitorIDCallback=function(marketingCloudVisitorID) {var s=this;s.marketingCloudVisitorID = marketingCloudVisitorID;s._doneWaitingForMarketingCloudVisitorID = true;s._callbackWhenReadyToTrackCheck();};s._waitingForAnalyticsVisitorID = false;s._doneWaitingForAnalyticsVisitorID = false;s._analyticsVisitorIDCallback=function(analyticsVisitorID) {var s=this;s.analyticsVisitorID = analyticsVisitorID;s._doneWaitingForAnalyticsVisitorID = true;s._callbackWhenReadyToTrackCheck();};s._waitingForAudienceManagerLocationHint = false;s._doneWaitingForAudienceManagerLocationHint = false;s._audienceManagerLocationHintCallback=function(audienceManagerLocationHint) {var s=this;s.audienceManagerLocationHint = audienceManagerLocationHint;s._doneWaitingForAudienceManagerLocationHint = true;s._callbackWhenReadyToTrackCheck();};s._waitingForAudienceManagerBlob = false;s._doneWaitingForAudienceManagerBlob = false;s._audienceManagerBlobCallback=function(audienceManagerBlob) {var s=this;s.audienceManagerBlob = audienceManagerBlob;s._doneWaitingForAudienceManagerBlob = true;s._callbackWhenReadyToTrackCheck();};s.isReadyToTrack=function() {var s=this,readyToTrack = true,visitor = s.visitor;if ((visitor) && (visitor.isAllowed())) {if ((!s._waitingForMarketingCloudVisitorID) && (!s.marketingCloudVisitorID) && (visitor.getMarketingCloudVisitorID)) {s._waitingForMarketingCloudVisitorID = true;s.marketingCloudVisitorID = visitor.getMarketingCloudVisitorID([s,s._marketingCloudVisitorIDCallback]);if (s.marketingCloudVisitorID) {s._doneWaitingForMarketingCloudVisitorID = true;}}if ((!s._waitingForAnalyticsVisitorID) && (!s.analyticsVisitorID) && (visitor.getAnalyticsVisitorID)) {s._waitingForAnalyticsVisitorID = true;s.analyticsVisitorID = visitor.getAnalyticsVisitorID([s,s._analyticsVisitorIDCallback]);if (s.analyticsVisitorID) {s._doneWaitingForAnalyticsVisitorID = true;}}if ((!s._waitingForAudienceManagerLocationHint) && (!s.audienceManagerLocationHint) && (visitor.getAudienceManagerLocationHint)) {s._waitingForAudienceManagerLocationHint = true;s.audienceManagerLocationHint = visitor.getAudienceManagerLocationHint([s,s._audienceManagerLocationHintCallback]);if (s.audienceManagerLocationHint) {s._doneWaitingForAudienceManagerLocationHint = true;}}if ((!s._waitingForAudienceManagerBlob) && (!s.audienceManagerBlob) && (visitor.getAudienceManagerBlob)) {s._waitingForAudienceManagerBlob = true;s.audienceManagerBlob = visitor.getAudienceManagerBlob([s,s._audienceManagerBlobCallback]);if (s.audienceManagerBlob) {s._doneWaitingForAudienceManagerBlob = true;}}if (((s._waitingForMarketingCloudVisitorID) && (!s._doneWaitingForMarketingCloudVisitorID) && (!s.marketingCloudVisitorID)) “http://slate.com/”((s._waitingForAnalyticsVisitorID) && (!s._doneWaitingForAnalyticsVisitorID) && (!s.analyticsVisitorID)) “http://slate.com/”((s._waitingForAudienceManagerLocationHint) && (!s._doneWaitingForAudienceManagerLocationHint) && (!s.audienceManagerLocationHint)) “http://slate.com/”((s._waitingForAudienceManagerBlob) && (!s._doneWaitingForAudienceManagerBlob) && (!s.audienceManagerBlob))) {readyToTrack = false;}}return readyToTrack;};s._callbackWhenReadyToTrackQueue = null;s._callbackWhenReadyToTrackInterval = 0;s.callbackWhenReadyToTrack=function(callbackThis,callback,args) {var s=this,callbackInfo;callbackInfo = {};callbackInfo.callbackThis = callbackThis;callbackInfo.callback = callback;callbackInfo.args = args;if (s._callbackWhenReadyToTrackQueue == null) {s._callbackWhenReadyToTrackQueue = [];}s._callbackWhenReadyToTrackQueue.push(callbackInfo);if (s._callbackWhenReadyToTrackInterval == 0) {s._callbackWhenReadyToTrackInterval = setInterval(s._callbackWhenReadyToTrackCheck,100);}};s._callbackWhenReadyToTrackCheck=new Function(‘var s=s_c_il[‘+s._in+’],callbackNum,callbackInfo;if (s.isReadyToTrack()) {if (s._callbackWhenReadyToTrackInterval) {clearInterval(s._callbackWhenReadyToTrackInterval);s._callbackWhenReadyToTrackInterval = 0;}if (s._callbackWhenReadyToTrackQueue != null) {while (s._callbackWhenReadyToTrackQueue.length > 0) {callbackInfo = s._callbackWhenReadyToTrackQueue.shift();callbackInfo.callback.apply(callbackInfo.callbackThis,callbackInfo.args);}}}’);s._handleNotReadyToTrack=function(variableOverrides) {var s=this,args,varKey,variableOverridesCopy = null,setVariables = null;if (!s.isReadyToTrack()) {args = [];if (variableOverrides != null) {variableOverridesCopy = {};for (varKey in variableOverrides) {variableOverridesCopy[varKey] = variableOverrides[varKey];}}setVariables = {};s.vob(setVariables,true);args.push(variableOverridesCopy);args.push(setVariables);s.callbackWhenReadyToTrack(s,s.track,args);return true;}return false;};s.gfid=function(){var s=this,d=’0123456789ABCDEF’,k=’s_fid’,fid=s.c_r(k),h=”http://slate.com/”,l=”http://slate.com/”,i,j,m=8,n=4,e=new Date,y;if(!fid”http://slate.com/”fid.indexOf(‘-‘)<0){for(i=0;i<16;i++){j=Math.floor(Math.random()*m);h+=d.substring(j,j+1);j=Math.floor(Math.random()*n);l+=d.substring(j,j+1);m=n=16}fid=h+'-'+l;}y=e.getYear();e.setYear(y+2+(y<1900?1900:0));if(!s.c_w(k,fid,e))fid=0;return fid};s.track=s.t=function(vo,setVariables){var s=this,notReadyToTrack,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+sed,y=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+"http://slate.com/"+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+"http://slate.com/"+tm.getDay()+"http://slate.com/"+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),ta=-1,q="http://slate.com/",qs="http://slate.com/",code="http://slate.com/",vb=new Object;if (s.visitor) {if (s.visitor.getAuthState) {s.authState = s.visitor.getAuthState();}if ((!s.supplementalDataID) && (s.visitor.getSupplementalDataID)) {s.supplementalDataID = s.visitor.getSupplementalDataID("AppMeasurement:" + s._in,(s.expectSupplementalData ? false : true));}}if(s.mpc('t',arguments))return;s.gl(s.vl_g);s.uns();s.m_ll();notReadyToTrack = s._handleNotReadyToTrack(vo);if (!notReadyToTrack) {if (setVariables) {s.voa(setVariables);}if(!s.td){var tl=tfs.location,a,o,i,x="http://slate.com/",c="http://slate.com/",v="http://slate.com/",p="http://slate.com/",bw="http://slate.com/",bh="http://slate.com/",j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp="http://slate.com/",ct="http://slate.com/",pn=0,ps;if(String&&String.prototype){j='1.1';if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j=’1.4′;if(pn.toPrecision){j=’1.5′;a=new Array;if(a.forEach){j=’1.6′;i=0;o=new Object;tcf=new Function(‘o’,’var e,i=0;try{i=new Iterator(o)}catch(e){}return i’);i=tcf(o);if(i&&i.next){j=’1.7′;if(a.reduce){j=’1.8′;if(j.trim){j=’1.8.1′;if(Date.parse){j=’1.8.2′;if(Object.create)j=’1.8.5′}}}}}}}}}if(s.apv>=4)x=screen.width+’x’+screen.height;if(s.isns”http://slate.com/”s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?’Y’:’N’;if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?’Y’:’N’;c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function(‘s’,’tl’,’var e,hp=0;try{s.b.addBehavior(“#default#homePage”);hp=s.b.isHomePage(tl)?”Y”:”N”}catch(e){}return hp’);hp=tcf(s,tl);tcf=new Function(‘s’,’var e,ct=0;try{s.b.addBehavior(“#default#clientCaps”);ct=s.b.connectionType}catch(e){}return ct’);ct=tcf(s)}}}else r=”http://slate.com/”}if(s.pl)while(pn=0&&oc.indexOf(‘.s_oc(‘)<0)"http://slate.com/"oc.indexOf('.tl(')>=0)o=0}}if(o){if(n)ta=o.target;h=s.oh(o);i=h.indexOf(‘?’);h=s.linkLeaveQueryString”http://slate.com/”i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h"http://slate.com/"l)){s.pe='lnk_'+(t=='d"http://slate.com/"http://slate.com/"t=='e'?t:'o');s.pev1=(h?s.ape(h):"http://slate.com/");s.pev2=(l?s.ape(l):"http://slate.com/")}else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(o.dataset&&o.dataset.sObjectId){s.wd.s_objectID=o.dataset.sObjectId;}else if(o.getAttribute&&o.getAttribute('data-s-object-id')){s.wd.s_objectID=o.getAttribute('data-s-object-id');}else if(s.useForcedLinkTracking){s.wd.s_objectID="http://slate.com/";oc=o.onclick?"http://slate.com/"+o.onclick:"http://slate.com/";if(oc){var ocb=oc.indexOf('s_objectID'),oce,ocq,ocx;if(ocb>=0){ocb+=10;while(ocb=0)ocb++;if(ocb=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName(‘HEAD’);if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf(‘Netscape6/’);var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf(‘MSIE ‘),o=s.u.indexOf(‘Opera ‘),i;if(v.indexOf(‘Opera’)>=0″http://slate.com/”o>0)apn=’Opera’;s.isie=(apn==’Microsoft Internet Explorer’);s.isns=(apn==’Netscape’);s.isopera=(apn==’Opera’);s.ismac=(s.u.indexOf(‘Mac’)>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i==’%C4%80′?2:(i==’%U0100′?1:0))}if(s.oun)s.sa(s.oun);s.sa(un);s.vl_l=’supplementalDataID,timestamp,dynamicVariablePrefix,visitorID,marketingCloudVisitorID,analyticsVisitorID,audienceManagerLocationHint,fid,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,pageName,pageURL,referrer,contextData,currencyCode,lightProfileID,lightStoreForSeconds,lightIncrementBy,retrieveLightProfiles,deleteLightProfiles,retrieveLightData’;s.va_l=s.sp(s.vl_l,’,’);s.vl_mr=s.vl_m=’timestamp,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy’;s.vl_t=s.vl_l+’,variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,audienceManagerBlob,authState,linkName,linkType’;var n;for(n=1;n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,browserHeight,connectionType,homepage,pageURLRest,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTrackVars,_1_referrer,un';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);s.contextData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){return o};s.wd.s_gs=function(un){s_gi(un,1,1).t()};s.wd.s_dc=function(un){s_gi(un,1).t()}}",l=window,f=l.s_c_il,u=navigator,d=u.userAgent,v=u.appVersion,p=v.indexOf("MSIE "),g=d.indexOf("Netscape6/"); if(e&&(e=e.toLowerCase(),f))for(r=0;r<2;r++)for(n=0;n0&&”s_l”==a)&&(o.oun==e”http://slate.com/”o.fs&&o.sa&&o.fs(o.oun,e))){if(o.sa&&o.sa(e),”s_c”==a)return o}else o=0;return l.s_an=”0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz”,l.s_sp=new Function(“x”,”d”,”var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i=0){j=x.indexOf(d,i);a[a.length]=x.substring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a”),l.s_jn=new Function(“a”,”d”,”var x=”http://slate.com/”,i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,”http://slate.com/”);for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,"http://slate.com/");d=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x”),l.s_fe=new Function(“c”,”return s_rep(s_rep(s_rep(c,’\\’,’\\\\’),'”http://slate.com/”,’\\”http://slate.com/”),”\n”,”\\n”)”),l.s_fa=new Function(“f”,”var s=f.indexOf(‘(‘)+1,e=f.indexOf(‘)’),a=”http://slate.com/”,c;while(s>=0&&s=0){s++;d=1;q=”http://slate.com/”;x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf(‘{‘,s);e++;while(d>0){h=c.substring(e,e+1);if(q){if(h==q&&!x)q=”http://slate.com/”;if(h==’\\’)x=x?0:1;else x=0}else{if(h=='”http://slate.com/”http://slate.com/”http://slate.com/”h==”http://slate.com/””)q=h;if(h=='{‘)d++;if(h==’}’)d–}if(d>0)e++}c=c.substring(0,s)+’new Function(‘+(a?a+’,’:”http://slate.com/”)+'”http://slate.com/”+s_fe(c.substring(o+1,e))+'”)’+c.substring(e+1);s=c.indexOf(‘=function(‘)}return c;”),c=s_d(c),p>0?(t=parseInt(n=v.substring(p+5)),t>3&&(t=parseFloat(n))):t=g>0?parseFloat(d.substring(g+10)):parseFloat(v),(t<5"http://slate.com/"v.indexOf("Opera")>=0″http://slate.com/”d.indexOf(“Opera”)>=0)&&(c=s_ft(c)),o”http://slate.com/”(o=new Object,l.s_c_in”http://slate.com/”(l.s_c_il=new Array,l.s_c_in=0),o._il=l.s_c_il,o._in=l.s_c_in,o._il[o._in]=o,l.s_c_in++),o._c=”s_c”,new Function(“s”,”un”,”pg”,”ss”,c)(o,e,s,i),o}function n(){var e,s,i,n=window,r=n.s_giq;if(r)for(e=0;e=0?e.campaign=e.getQueryParam(“wpsrc”):window.location.href.indexOf(“bfsrc”)>=0?e.campaign=”buzzfeed”:document.location.search.match(/GT1=38001/i)&&(e.campaign=”msn”),e.getQueryParam(“onswipe_redirect”)?”no”==e.getQueryParam(“onswipe_redirect”)?e.eVar3=”onswipe_redirect_no”:”never”==e.getQueryParam(“onswipe_redirect”)&&(e.eVar3=”onswipe_redirect_never”):e.eVar3=e.getQueryParam(“wpisrc”),e.called”http://slate.com/”(e.called=0),e.called++,e.called>1&&(delete e.eVar3,delete e.eVar20,delete e.prop20);var s=e.campaign;e.campaign=e.getValOnce(e.campaign,”ctc”,0),”http://slate.com/”===e.campaign&&(e.campaign=s),e.events?e.events.indexOf(“event1″)==-1&&(e.events=e.events+”,event1″):e.events=”event1″,e.eVar1=e.pageName,e.eVar2=e.channel,e.hier3=e.getVisitStart(“s_visit”),e.prop39″http://slate.com/”(“undefined”!=typeof commercialNode&&”http://slate.com/”!==commercialNode?e.prop39=commercialNode:e.prop39=”Missing commercial node”);try{e.prop18=e.getNewRepeat()}catch(s){e.prop18=”nocategory”}e.prop17=e.getDaysSinceLastVisit(“s_lv”),e.prop17=e.getAndPersistValue(e.prop17,”s_dslv”,0),e.eVar14=e.prop18,e.eVar15=e.prop17;try{e.eVar16=e.getVisitNum(“m”,”s_vmonthnum”,”s_monthinvisit”)}catch(s){e.eVar16=”nocategory”}var i=(new Date).getFullYear()+”http://slate.com/”;e.prop8=e.getTimeParting(“d”,”-5″,i),e.prop9=e.getTimeParting(“h”,”-5″,i),e.prop10=e.getTimeParting(“w”,”-5″,i);var t=e.prop3,n=e.c_r(“s_wp_ep”);!n&&t&&(e.c_w(“s_wp_ep”,t,0),e.eVar18=t),e.eVar36=e.prop36,e.eVar56=e.prop36};a.doPlugins=o,a.getQueryParam=new Function(“p”,”d”,”u”,”h”,”var s=this,v=”http://slate.com/”,i,j,t;d=d?d:”http://slate.com/”;u=u?u:(s.pageURL?s.pageURL:s.wd.location);if(u==’f’)u=s.gtfs().location;while(p){i=p.indexOf(‘,’);i=i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u+"http://slate.com/",h);if(t){t=t.indexOf('#')>-1?t.substring(0,t.indexOf(‘#’)):t;}if(t)v+=v?d+t:t;p=p.substring(i==p.length?i:i+1)}return v”),a.p_gpv=new Function(“k”,”u”,”h”,”var s=this,v=”http://slate.com/”,q;j=h==1?’#’:’?’;i=u.indexOf(j);if(k&&i>-1){q=u.substring(i+1);v=s.pt(q,’&’,’p_gvf’,k)}return v”),a.p_gvf=new Function(“t”,”k”,”if(t){var s=this,i=t.indexOf(‘=’),p=i<0?t:t.substring(0,i),v=i<0?'True':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s.epa(v)}return"http://slate.com/"http://slate.com/"),a.getValOnce=new Function("v","c","e","var s=this,a=new Date,v=v?v:v="http://slate.com/",c=c?c:c='s_gvo',e=e?e:0,k=s.c_r(c);if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return v==k?"http://slate.com/":v"),a.getVisitStart=new Function("c","var s=this,v=1,t=new Date;t.setTime(t.getTime()+1800000);if(s.c_r(c)){v=0}if(!s.c_w(c,1,t)){s.c_w(c,1,0)}if(!s.c_r(c)){v=0}return v;"),a.getVisitNum=new Function("tp","c","c2","var s=this,e=new Date,cval,cvisit,ct=e.getTime(),d;if(!tp){tp='m';}if(tp=='m"http://slate.com/"http://slate.com/"tp=='w"http://slate.com/"http://slate.com/"tp=='d'){eo=s.endof(tp),y=eo.getTime();e.setTime(y);}else {d=tp*86400000;e.setTime(ct+d);}if(!c){c='s_vnum';}if(!c2){c2='s_invisit';}cval=s.c_r(c);if(cval){var i=cval.indexOf('&vn='),str=cval.substring(i+4,cval.length),k;}cvisit=s.c_r(c2);if(cvisit){if(str){e.setTime(ct+1800000);s.c_w(c2,'true',e);return str;}else {return 'unknown visit number';}}else {if(str){str++;k=cval.substring(0,i);e.setTime(k);s.c_w(c,k+'&vn='+str,e);e.setTime(ct+1800000);s.c_w(c2,'true',e);return str;}else {s.c_w(c,e.getTime()+'&vn=1',e);e.setTime(ct+1800000);s.c_w(c2,'true',e);return 1;}}"),a.dimo=new Function("m","y","var d=new Date(y,m+1,0);return d.getDate();"),a.endof=new Function("x","var t=new Date;t.setHours(0);t.setMinutes(0);t.setSeconds(0);if(x=='m'){d=s.dimo(t.getMonth(),t.getFullYear())-t.getDate()+1;}else if(x=='w'){d=7-t.getDay();}else {d=1;}t.setDate(t.getDate()+d);return t;"),a.split=new Function("l","d","var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x++]=l.substring(0,i);l=l.substring(i+d.length);}return a”),a.apl=new Function(“L”,”v”,”d”,”u”,”var s=this,m=0;if(!L)L=”http://slate.com/”;if(u){var i,n,a=s.split(L,d);for(i=0;i30*60*1000){if(d>30*day){s.c_w(c,ct,e);s.c_w(c+’_s’,f2,es);}else if(d<30*day+1 && d>7*day){s.c_w(c,ct,e);s.c_w(c+’_s’,f3,es);}else if(d<7*day+1 && d>day){s.c_w(c,ct,e);s.c_w(c+’_s’,f4,es);}else if(dB&&W30){X=’30’}if(B>=12){U=’PM’;B=B-12};if(B==0){B=12};if(D==6″http://slate.com/”D==0){A=’Weekend’}W=B+’:’+X+U;if(y&&y!=Y){return’Data Not Available’}else{if(t){if(t==’h’){return W}if(t==’d’){return Z}if(t==’w’){return A}}else{return Z+’, ‘+W}}}”),a.getPreviousValue=new Function(“v”,”c”,”el”,”var s=this,t=new Date,i,j,r=”http://slate.com/”;t.setTime(t.getTime()+1800000);if(el){if(s.events){i=s.split(el,’,’);j=s.split(s.events,’,’);for(x in i){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,’no value’,t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,’no value’,t);return r}”),a.getPreviousPage=new Function(“el”,”var s=this,pid,i,j,e;if(el){if(s.events){while(el){if(pid){break;}i=el.indexOf(‘,’);i=i<0?el.length:i;e=s.events;while(e){j=e.indexOf(',');j=j<0?e.length:j;if(e.substring(0,j)==el.substring(0,i)){pid=s.p_gpp();}e=e.substring(j==e.length?j:j+1);}el=el.substring(i==el.length?i:i+1);}}}else{pid=s.p_gpp();}return pid;"),a.p_gpp=new Function("var s=this,p,i;p=s.rq(s.un);i=p.indexOf('pid=')+4;p=p.substring(i,p.length);i=p.indexOf('&');p=p.substring(0,i);p=unescape(p);return p;"),a.getNewRepeat=new Function("d","cn","var s=this,e=new Date(),cval,sval,ct=e.getTime();d=d?d:30;cn=cn?cn:'s_nr';e.setTime(ct+d*24*60*60*1000);cval=s.c_r(cn);if(cval.length==0){s.c_w(cn,ct+'-New',e);return'New';}sval=s.split(cval,'-');if(ct-sval[0]<30*60*1000&&sval[1]=='New'){s.c_w(cn,ct+'-New',e);return'New';}else{s.c_w(cn,ct+'-Repeat',e);return'Repeat';}"),a.c_rr=a.c_r,a.c_r=new Function("k","var s=this,d=new Date,v=s.c_rr(k),c=s.c_rr('s_pers'),i,m,e;if(v)return v;k=s.ape(k);i=c.indexOf("http://slate.com/"+k+'=');c=i<0?s.c_rr('s_sess'):c;i=c.indexOf("http://slate.com/"+k+'=');m=i<0?i:c.indexOf("http://slate.com/"http://slate.com/",i);e=i<0?i:c.indexOf(';',i);m=m>0?m:e;v=i<0?"http://slate.com/":s.epa(c.substring(i+2+k.length,m<0?c.length:m));if(m>0&&m!=e)if(parseInt(c.substring(m+1,e<0?c.length:e))-1){pv=pv.substring(0,i)+pv.substring(pv.indexOf(‘;’,i)+1);pc=1;}sv=s.c_rr(sn);i=sv.indexOf(“http://slate.com/”+k+’=’);if(i>-1){sv=sv.substring(0,i)+sv.substring(sv.indexOf(‘;’,i)+1);sc=1;}d=new Date;if(e){if(e.getTime()>d.getTime()){pv+=”http://slate.com/”+k+’=’+s.ape(v)+”http://slate.com/”http://slate.com/”+e.getTime()+’;’;pc=1;}}else{sv+=”http://slate.com/”+k+’=’+s.ape(v)+’;’;sc=1;}if(sc) s.c_wr(sn,sv,0);if(pc){t=pv;while(t&&t.indexOf(‘;’)!=-1){var t1=parseInt(t.substring(t.indexOf(“http://slate.com/”http://slate.com/”)+1,t.indexOf(‘;’)));t=t.substring(t.indexOf(‘;’)+1);ht=ht1){if(i=e({path:”/”},r.defaults,i),”number”==typeof i.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}i.expires=i.expires?i.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(o),/^[{[]/.test(c)&&(o=c)}catch(e){}o=t.write?t.write(o,n):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)),n=n.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),n=n.replace(/[()]/g,escape);var u=”http://slate.com/”;for(var f in i)i[f]&&(u+=”; “+f,i[f]!==!0&&(u+=”=”+i[f]));return document.cookie=n+”=”+o+u}n”http://slate.com/”(c={});for(var a=document.cookie?document.cookie.split(“; “):[],p=/(%[0-9A-Z]{2})+/g,l=0;l10?void console.error(“RETRY LIMIT EXCEEDED”):void setTimeout(function(){u(e,t+1)},a)};return c}])},{“../../services/client/analytics-js”:3,”../../services/universal/membership”:4}],2:[function(e,t,n){!function(e){var o=!1;if(“function”==typeof define&&define.amd&&(define(e),o=!0),”object”==typeof n&&(t.exports=e(),o=!0),!o){var i=window.Cookies,r=window.Cookies=e();r.noConflict=function(){return window.Cookies=i,r}}}(function(){function e(){for(var e=0,t={};e1){if(r=e({path:”/”},o.defaults,r),”number”==typeof r.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}r.expires=r.expires?r.expires.toUTCString():”http://slate.com/”;try{c=JSON.stringify(i),/^[{[]/.test(c)&&(i=c)}catch(e){}i=n.write?n.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[()]/g,escape);var a=”http://slate.com/”;for(var u in r)r[u]&&(a+=”; “+u,r[u]!==!0&&(a+=”=”+r[u]));return document.cookie=t+”=”+i+a}t”http://slate.com/”(c={});for(var f=document.cookie?document.cookie.split(“; “):[],l=/(%[0-9A-Z]{2})+/g,p=0;p



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here