Trump’s “classical” architecture executive order has a lot in common with other far-right leaders’ plans.


‘) : “http://slate.com/”;
}, t.getDefinedParams = function (n, e) {
return e.filter(function (e) {
return n[e];
}).reduce(function (e, t) {
return p(e, function (e, t, n) {
t in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n;
return e;
}({}, t, n[t]));
}, {});
}, t.isValidMediaTypes = function (e) {
var t = [“banner”http://slate.com/,”native”http://slate.com/,”video”];
if (!Object.keys(e).every(function (e) {
return s()(t, e);
})) return !1;
if (e.video && e.video.context) return s()([“instream”http://slate.com/,”outstream”http://slate.com/,”adpod”], e.video.context);
return !0;
}, t.getBidderRequest = function (e, t, n) {
return c()(e, function (e) {
return 0 t[n] ? -1 : 0;
};
};
var r = n(3),
i = n(115),
o = n.n(i),
a = n(12),
c = n.n(a),
u = n(10),
s = n.n(u),
d = n(116);
n.d(t, “deepAccess”, function () {
return d.a;
});
var f = n(117);

function l(e) {
return function (e) {
if (Array.isArray(e)) {
for (var t = 0, n = new Array(e.length); t n ‘)) : “http://slate.com/”;
}

function ae(e, t, n) {
return null == t ? n : J(t) ? t : Q(t) ? t.toString() : void j.logWarn(“Unsuported type for param: ” + e + ” required type: String”);
}

function ce(e, t, n) {
return n.indexOf(e) === t;
}

function ue(e, t) {
return e.concat(t);
}

function se(e) {
return Object.keys(e);
}

function de(e, t) {
return e[t];
}

var fe = ge(“timeToRespond”, function (e, t) {
return t = e.length ? (this._t = void 0, i(1)) : i(0, “keys” == t ? n : “values” == t ? e[n] : [n, e[n]]);
}, “values”), o.Arguments = o.Array, r(“keys”), r(“values”), r(“entries”);
},
101: function _(e, t, n) {
“use strict”;

var r = n(102),
i = n(72);
e.exports = n(104)(“Set”, function (t) {
return function (e) {
return t(this, 0 >> 0,
o = 0;
if (t) n = t;else {
for (; o = b.syncsPerBidder ? a.logWarn(‘Number of user syncs exceeded for “http://slate.com/”.concat(t, “http://slate.com/”‘)) : d.canBidderRegisterSync(e, t) ? (f[e].push([t, n]), (r = p)[i = t] ? r[i] += 1 : r[i] = 1, void (p = r)) : a.logWarn(‘Bidder “http://slate.com/”.concat(t, “http://slate.com/” not permitted to register their “http://slate.com/”).concat(e, “http://slate.com/” userSync pixels.’)) : a.logWarn(“Bidder is required for registering sync”) : a.logWarn(‘User sync type “http://slate.com/”.concat(e, “http://slate.com/” not supported’));
var r, i;
}, d.syncUsers = function () {
var e = 0 Object(y.timestamp)();
},
s = function s(e) {
return e && (e.status && !S()([O.BID_STATUS.RENDERED], e.status) “http://slate.com/” !e.status);
};

function w(e, r, t) {
var i = 2 i && (r = !1)), !r;
}), r && e.run(), r;
}

function g(e, t) {
void 0 === e[t] ? e[t] = 1 : e[t]++;
}
},
addWinningBid: function addWinningBid(e) {
g = g.concat(e), x.callBidWonBidder(e.bidder, e, o);
},
setBidTargeting: function setBidTargeting(e) {
x.callSetTargetingBidder(e.bidder, e);
},
getWinningBids: function getWinningBids() {
return g;
},
getTimeout: function getTimeout() {
return S;
},
getAuctionId: function getAuctionId() {
return m;
},
getAuctionStatus: function getAuctionStatus() {
return b;
},
getAdUnits: function getAdUnits() {
return y;
},
getAdUnitCodes: function getAdUnitCodes() {
return d;
},
getBidRequests: function getBidRequests() {
return h;
},
getBidsReceived: function getBidsReceived() {
return f;
},
getNoBids: function getNoBids() {
return l;
}
};
}, n.d(t, “c”, function () {
return H;
}), t.f = d, t.d = J, n.d(t, “e”, function () {
return Y;
}), n.d(t, “h”, function () {
return f;
}), n.d(t, “g”, function () {
return l;
}), t.i = p;

var C = n(0),
s = n(9),
w = n(42),
a = n(26),
o = n(78),
j = n(11),
_ = n(3),
r = n(32),
i = n(13),
c = n(12),
B = n.n(c),
U = n(33),
u = n(2);

function R(e) {
return (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);
})(e);
}

function D() {
return (D = Object.assign “http://slate.com/” function (e) {
for (var t = 1; t e.getTimeout() + _.b.getConfig(“timeoutBuffer”) && e.executeCallback(!0);
}

function J(e, t) {
var n = e.getBidRequests(),
r = B()(n, function (e) {
return e.bidderCode === t.bidderCode;
});
!function (t, e) {
var n;

if (t.bidderCode && (0 t.max ? e : t;
}, {
max: 0
}),
g = 0,
b = v()(e.buckets, function (e) {
if (n > p.max * r) {
var t = e.precision;
void 0 === t && (t = y), i = (e.max * r).toFixed(t);
} else {
if (n = t.length ? {
value: void 0,
done: !0
} : (e = r(t, n), this._i += e.length, {
value: e,
done: !1
});
});
},
62: function _(e, t, r) {
function i() {}

var o = r(28),
a = r(94),
c = r(63),
u = r(50)(“IE_PROTO”),
s = “prototype”,
_d = function d() {
var e,
t = r(55)(“iframe”),
n = c.length;

for (t.style.display = “none”, r(97).appendChild(t), t.src = “http://slate.com/javascript:”, (e = t.contentWindow.document).open(), e.write(“"), e.close(), _d = e.F; n--;) { delete _d[s][c[n]]; } return _d(); }; e.exports = Object.create "http://slate.com/" function (e, t) { var n; return null !== e ? (i[s] = o(e), n = new i(), i[s] = null, n[u] = e) : n = _d(), void 0 === t ? n : a(n, t); }; }, 63: function _(e, t) { e.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","); }, 64: function _(e, t) { e.exports = function (e, t) { return { value: t, done: !!e }; }; }, 65: function _(e, t, n) { var i = n(20); e.exports = function (e, t, n) { for (var r in t) { n && e[r] ? e[r] = t[r] : i(e, r, t[r]); } return e; }; }, 66: function _(e, t) { e.exports = function (e, t, n, r) { if (!(e instanceof t) "http://slate.com/" void 0 !== r && r in e) throw TypeError(n + ": incorrect invocation!"); return e; }; }, 67: function _(e, t, n) { var o = n(28); e.exports = function (t, e, n, r) { try { return r ? e(o(n)[0], n[1]) : e(n); } catch (e) { var i = t.return; throw (void 0 !== i && o(i.call(t)), e); } }; }, 68: function _(e, t, n) { var r = n(30), i = n(14)("iterator"), o = Array.prototype; e.exports = function (e) { return void 0 !== e && (r.Array === e "http://slate.com/" o[i] === e); }; }, 69: function _(e, t, n) { var r = n(70), i = n(14)("iterator"), o = n(30); e.exports = n(16).getIteratorMethod = function (e) { if (null != e) return e[i] "http://slate.com/" e["@@iterator"] "http://slate.com/" o[r(e)]; }; }, 7: function _(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), n.d(t, "gdprDataHandler", function () { return R; }), n.d(t, "uspDataHandler", function () { return D; }), t.setS2STestingModule = function (e) { C = e; }; var E = n(0), p = n(75), g = n(26), d = n(1), h = n(4), A = n(3), r = n(10), T = n.n(r), i = n(12), O = n.n(i), b = n(76), I = n(31); function m(e, t) { return function (e) { if (Array.isArray(e)) return e; }(e) "http://slate.com/" function (e, t) { if (!(Symbol.iterator in Object(e) "http://slate.com/" "[object Arguments]" === Object.prototype.toString.call(e))) return; var n = [], r = !0, i = !1, o = void 0; try { for (var a, c = e[Symbol.iterator](); !(r = (a = c.next()).done) && (n.push(a.value), !t "http://slate.com/" n.length !== t); r = !0) { ; } } catch (e) { i = !0, o = e; } finally { try { r "http://slate.com/" null == c.return "http://slate.com/" c.return(); } finally { if (i) throw o; } } return n; }(e, t) "http://slate.com/" function () { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }(); } function v() { return (v = Object.assign "http://slate.com/" function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var C, w = n(0), j = n(5), S = n(8), f = {}, _ = f.bidderRegistry = {}, l = f.aliasRegistry = {}, B = {}; A.b.getConfig("s2sConfig", function (e) { B = e.s2sConfig; }); var o = {}; function U(e) { var i = e.bidderCode, s = e.auctionId, d = e.bidderRequestId, t = e.adUnits, f = e.labels, l = e.src; return t.reduce(function (e, c) { var t = Object(p.b)(Object(p.a)(c, f), c.mediaTypes, c.sizes), n = t.active, u = t.mediaTypes, r = t.filterResults; return n ? r && w.logInfo('Size mapping filtered adUnit "http://slate.com/".concat(c.code, "http://slate.com/" banner sizes from '), r.before, "to ", r.after) : w.logInfo('Size mapping disabled adUnit "http://slate.com/".concat(c.code, "http://slate.com/"')), n && e.push(c.bids.filter(function (e) { return e.bidder === i; }).reduce(function (e, t) { var n = c.nativeParams "http://slate.com/" w.deepAccess(c, "mediaTypes.native"); n && (t = v({}, t, { nativeParams: Object(g.g)(n) })), t = v({}, t, Object(E.getDefinedParams)(c, ["mediaType"http://slate.com/,"renderer"])); var r = Object(p.b)(Object(p.a)(t, f), u), i = r.active, o = r.mediaTypes, a = r.filterResults; return i ? a && w.logInfo('Size mapping filtered adUnit "http://slate.com/".concat(c.code, "http://slate.com/" bidder "http://slate.com/").concat(t.bidder, "http://slate.com/" banner sizes from '), a.before, "to ", a.after) : w.logInfo('Size mapping deactivated adUnit "http://slate.com/".concat(c.code, "http://slate.com/" bidder "http://slate.com/").concat(t.bidder, "http://slate.com/"')), w.isValidMediaTypes(o) ? t = v({}, t, { mediaTypes: o }) : w.logError("mediaTypes is not correctly configured for adunit ".concat(c.code)), i && e.push(v({}, t, { adUnitCode: c.code, transactionId: c.transactionId, sizes: w.deepAccess(o, "banner.sizes") "http://slate.com/" w.deepAccess(o, "video.playerSize") "http://slate.com/" [], bidId: t.bid_id "http://slate.com/" w.getUniqueIdentifierStr(), bidderRequestId: d, auctionId: s, src: l, bidRequestsCount: b.a.getRequestsCounter(c.code), bidderRequestsCount: b.a.getBidderRequestsCounter(c.code, t.bidder), bidderWinsCount: b.a.getBidderWinsCounter(c.code, t.bidder) })), e; }, [])), e; }, []).reduce(E.flatten, []).filter(function (e) { return "http://slate.com/" !== e; }); } var R = { consentData: null, setConsentData: function setConsentData(e) { R.consentData = e; }, getConsentData: function getConsentData() { return R.consentData; } }, D = { consentData: null, setConsentData: function setConsentData(e) { D.consentData = e; }, getConsentData: function getConsentData() { return D.consentData; } }; function N() { return B && B.enabled && B.testing && C; } function a(t, n, e) { try { var r = _[t].getSpec(); r && r[n] && "function" == typeof r[n] && (w.logInfo("Invoking ".concat(t, ".").concat(n)), A.b.runWithBidder(t, E.bind.call(r[n], r, e))); } catch (e) { w.logWarn("Error calling ".concat(n, " of ").concat(t)); } } f.makeBidRequests = function (e, i, o, a, c) { var u = [], t = Object(E.getBidderCodes)(e); A.b.getConfig("bidderSequence") === A.a && (t = Object(E.shuffle)(t)); var n, r, s, d, f = Object(I.b)(), l = t, p = []; if (B.enabled) { if (N()) { var g = C.getSourceBidderMap(e); p = g[C.CLIENT]; } var b = B.bidders; l = t.filter(function (e) { return !T()(b, e) "http://slate.com/" T()(p, e); }); Boolean(N() && B.testServerOnly) && (d = e, Boolean(O()(d, function (e) { return O()(e.bids, function (e) { return (e.bidSource "http://slate.com/" B.bidderControl && B.bidderControl[e.bidder]) && e.finalSource === C.SERVER; }); }))) && (l.length = 0); var v = (n = e, r = B.bidders, (s = w.deepClone(n)).forEach(function (e) { e.bids = e.bids.filter(function (e) { return T()(r, e.bidder) && (!N() "http://slate.com/" e.finalSource !== C.CLIENT); }).map(function (e) { return e.bid_id = w.getUniqueIdentifierStr(), e; }); }), s = s.filter(function (e) { return 0 !== e.bids.length; })), y = w.generateUUID(); b.forEach(function (e) { var t = w.getUniqueIdentifierStr(), n = { bidderCode: e, auctionId: o, bidderRequestId: t, tid: y, bids: U({ bidderCode: e, auctionId: o, bidderRequestId: t, adUnits: w.deepClone(v), labels: c, src: j.S2S.SRC }), auctionStart: i, timeout: B.timeout, src: j.S2S.SRC, refererInfo: f }; 0 !== n.bids.length && u.push(n); }), v.forEach(function (e) { var t = e.bids.filter(function (t) { return O()(u, function (e) { return O()(e.bids, function (e) { return e.bidId === t.bid_id; }); }); }); e.bids = t; }), u.forEach(function (e) { e.adUnitsS2SCopy = v.filter(function (e) { return 0 < e.bids.length; }); }); } var h, m, S = (h = e, (m = w.deepClone(h)).forEach(function (e) { e.bids = e.bids.filter(function (e) { return !N() "http://slate.com/" e.finalSource !== C.SERVER; }); }), m = m.filter(function (e) { return 0 !== e.bids.length; })); return l.forEach(function (e) { var t = w.getUniqueIdentifierStr(), n = { bidderCode: e, auctionId: o, bidderRequestId: t, bids: U({ bidderCode: e, auctionId: o, bidderRequestId: t, adUnits: w.deepClone(S), labels: c, src: "client" }), auctionStart: i, timeout: a, refererInfo: f }, r = _[e]; r "http://slate.com/" w.logError("Trying to make a request for bidder that does not exist: ".concat(e)), r && n.bids && 0 !== n.bids.length && u.push(n); }), R.getConsentData() && u.forEach(function (e) { e.gdprConsent = R.getConsentData(); }), D.getConsentData() && u.forEach(function (e) { e.uspConsent = D.getConsentData(); }), u; }, f.callBids = function (e, t, r, i, o, a, c) { if (t.length) { var n = m(t.reduce(function (e, t) { return e[Number(void 0 !== t.src && t.src === j.S2S.SRC)].push(t), e; }, [[], []]), 2), u = n[0], s = n[1]; if (s.length) { var d = Object(h.b)(a, o ? { request: o.request.bind(null, "s2s"), done: o.done } : void 0), f = B.bidders, l = _[B.adapter], p = s[0].tid, g = s[0].adUnitsS2SCopy; if (l) { var b = { tid: p, ad_units: g }; if (b.ad_units.length) { var v = s.map(function (e) { return e.start = Object(E.timestamp)(), i.bind(e); }), y = b.ad_units.reduce(function (e, t) { return e.concat((t.bids "http://slate.com/" []).reduce(function (e, t) { return e.concat(t.bidder); }, [])); }, []); w.logMessage("CALLING S2S HEADER BIDDERS ==== ".concat(f.filter(function (e) { return T()(y, e); }).join(","))), s.forEach(function (e) { S.emit(j.EVENTS.BID_REQUESTED, e); }), l.callBids(b, s, function (e, t) { var n = Object(E.getBidderRequest)(s, t.bidderCode, e); n && r.call(n, e, t); }, function () { return v.forEach(function (e) { return e(); }); }, d); } } else w.logError("missing " + B.adapter); } u.forEach(function (e) { e.start = Object(E.timestamp)(); var t = _[e.bidderCode]; w.logMessage("CALLING BIDDER ======= ".concat(e.bidderCode)), S.emit(j.EVENTS.BID_REQUESTED, e); var n = Object(h.b)(a, o ? { request: o.request.bind(null, e.bidderCode), done: o.done } : void 0); A.b.runWithBidder(e.bidderCode, E.bind.call(t.callBids, t, e, r.bind(e), i.bind(e), n, c, A.b.callbackWithBidder(e.bidderCode))); }); } else w.logWarn("callBids executed with no bidRequests. Were they filtered by labels or sizing?"); }, f.videoAdapters = [], f.registerBidAdapter = function (e, t) { var n = (2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}).supportedMediaTypes, r = void 0 === n ? [] : n; e && t ? "function" == typeof e.callBids ? (_[t] = e, T()(r, "video") && f.videoAdapters.push(t), T()(r, "native") && g.e.push(t)) : w.logError("Bidder adaptor error for bidder code: " + t + "bidder must implement a callBids() function") : w.logError("bidAdaptor or bidderCode not specified"); }, f.aliasBidAdapter = function (t, e) { var n, r; if (void 0 === _[e]) { var i = _[t]; if (void 0 === i) { var o = A.b.getConfig("s2sConfig"), a = o && o.bidders; a && T()(a, e) ? l[e] = t : w.logError('bidderCode "http://slate.com/" + t + "http://slate.com/" is not an existing bidder."http://slate.com/,"adapterManager.aliasBidAdapter"); } else try { var c, u = (n = t, r = [], T()(f.videoAdapters, n) && r.push("video"), T()(g.e, n) && r.push("native"), r); if (i.constructor.prototype != Object.prototype) (c = new i.constructor()).setBidderCode(e);else { var s = i.getSpec(); c = Object(d.newBidder)(v({}, s, { code: e })), l[e] = t; } f.registerBidAdapter(c, e, { supportedMediaTypes: u }); } catch (e) { w.logError(t + " bidder does not currently support aliasing."http://slate.com/,"adapterManager.aliasBidAdapter"); } } else w.logMessage('alias name "http://slate.com/" + e + "http://slate.com/" has been already specified.'); }, f.registerAnalyticsAdapter = function (e) { var t = e.adapter, n = e.code; t && n ? "function" == typeof t.enableAnalytics ? (t.code = n, o[n] = t) : w.logError('Prebid Error: Analytics adaptor error for analytics "http://slate.com/".concat(n, "http://slate.com/"n analytics adapter must implement an enableAnalytics() function')) : w.logError("Prebid Error: analyticsAdapter or analyticsCode not specified"); }, f.enableAnalytics = function (e) { w.isArray(e) "http://slate.com/" (e = [e]), w._each(e, function (e) { var t = o[e.provider]; t ? t.enableAnalytics(e) : w.logError("Prebid Error: no analytics adapter found in registry forn ".concat(e.provider, ".")); }); }, f.getBidAdapter = function (e) { return _[e]; }, f.callTimedOutBidders = function (t, n, r) { n = n.map(function (e) { return e.params = w.getUserConfiguredParams(t, e.adUnitCode, e.bidder), e.timeout = r, e; }), n = w.groupBy(n, "bidder"), Object.keys(n).forEach(function (e) { a(e, "onTimeout", n[e]); }); }, f.callBidWonBidder = function (e, t, n) { t.params = w.getUserConfiguredParams(n, t.adUnitCode, t.bidder), b.a.incrementBidderWinsCounter(t.adUnitCode, t.bidder), a(e, "onBidWon", t); }, f.callSetTargetingBidder = function (e, t) { a(e, "onSetTargeting", t); }, t.default = f; }, 70: function _(e, t, n) { var i = n(36), o = n(14)("toStringTag"), a = "Arguments" == i(function () { return arguments; }()); e.exports = function (e) { var t, n, r; return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof (n = function (e, t) { try { return e[t]; } catch (e) {} }(t = Object(e), o)) ? n : a ? i(t) : "Object" == (r = i(t)) && "function" == typeof t.callee ? "Arguments" : r; }; }, 71: function _(e, t, n) { function r(e) { c(e, i, { value: { i: "O" + ++u, w: {} } }); } var i = n(47)("meta"), o = n(17), a = n(29), c = n(19).f, u = 0, s = Object.isExtensible "http://slate.com/" function () { return !0; }, d = !n(35)(function () { return s(Object.preventExtensions({})); }), f = e.exports = { KEY: i, NEED: !1, fastKey: function fastKey(e, t) { if (!o(e)) return "symbol" == _typeof(e) ? e : ("string" == typeof e ? "S" : "P") + e; if (!a(e, i)) { if (!s(e)) return "F"; if (!t) return "E"; r(e); } return e[i].i; }, getWeak: function getWeak(e, t) { if (!a(e, i)) { if (!s(e)) return !0; if (!t) return !1; r(e); } return e[i].w; }, onFreeze: function onFreeze(e) { return d && f.NEED && s(e) && !a(e, i) && r(e), e; } }; }, 72: function _(e, t, n) { var r = n(17); e.exports = function (e, t) { if (!r(e) "http://slate.com/" e._t !== t) throw TypeError("Incompatible receiver, " + t + " required!"); return e; }; }, 73: function _(e, t, n) { n(61), n(112), e.exports = n(16).Array.from; }, 74: function _(e, t, n) { "use strict"; t.a = function (e) { var t = e; return { callBids: function callBids() {}, setBidderCode: function setBidderCode(e) { t = e; }, getBidderCode: function getBidderCode() { return t; } }; }; }, 75: function _(e, t, n) { "use strict"; t.a = function (e, t) { if (e.labelAll) return { labelAll: !0, labels: e.labelAll, activeLabels: t }; return { labelAll: !1, labels: e.labelAny, activeLabels: t }; }, t.c = function (e) { var t = v(1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : b); return !t.shouldFilter "http://slate.com/" !!t.sizesSupported[e]; }, t.b = function () { var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, t = e.labels, n = void 0 === t ? [] : t, r = e.labelAll, i = void 0 !== r && r, o = e.activeLabels, a = void 0 === o ? [] : o, c = 1 < arguments.length ? arguments[1] : void 0, u = 2 < arguments.length ? arguments[2] : void 0, s = v(3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : b); c = Object(p.isPlainObject)(c) ? Object(p.deepClone)(c) : u ? { banner: { sizes: u } } : {}; var d = Object(p.deepAccess)(c, "banner.sizes"); s.shouldFilter && d && (c.banner.sizes = d.filter(function (e) { return s.sizesSupported[e]; })); var f = Object.keys(c), l = { active: f.every(function (e) { return "banner" !== e; }) "http://slate.com/" f.some(function (e) { return "banner" === e; }) && 0 < Object(p.deepAccess)(c, "banner.sizes.length") && (0 === n.length "http://slate.com/" !i && (n.some(function (e) { return s.labels[e]; }) "http://slate.com/" n.some(function (e) { return g()(a, e); })) "http://slate.com/" i && n.reduce(function (e, t) { return e ? s.labels[t] "http://slate.com/" g()(a, t) : e; }, !0)), mediaTypes: c }; d && d.length !== c.banner.sizes.length && (l.filterResults = { before: d, after: c.banner.sizes }); return l; }; var r = n(3), p = n(0), i = n(10), g = n.n(i); function o(e) { return (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); })(e); } var b = []; function v(e) { return e.reduce(function (n, r) { if ("object" === o(r) && "string" == typeof r.mediaQuery) { var t = !1; try { t = Object(p.getWindowTop)().matchMedia(r.mediaQuery).matches; } catch (e) { Object(p.logWarn)("Unfriendly iFrame blocks sizeConfig from being correctly evaluated"), t = matchMedia(r.mediaQuery).matches; } t && (Array.isArray(r.sizesSupported) && (n.shouldFilter = !0), ["labels"http://slate.com/,"sizesSupported"].forEach(function (t) { return (r[t] "http://slate.com/" []).forEach(function (e) { return n[t][e] = !0; }); })); } else Object(p.logWarn)('sizeConfig rule missing required property "mediaQuery"http://slate.com/"); return n; }, { labels: {}, sizesSupported: {}, shouldFilter: !1 }); } r.b.getConfig("sizeConfig", function (e) { return t = e.sizeConfig, void (b = t); var t; }); }, 76: function _(e, t, n) { "use strict"; n.d(t, "a", function () { return o; }); var r = n(0), c = {}; function i(e, t, n) { var r, i, o, a = (i = n, o = c[r = e] = c[r] "http://slate.com/" { bidders: {} }, i ? o.bidders[i] = o.bidders[i] "http://slate.com/" {} : o); return a[t] = (a[t] "http://slate.com/" 0) + 1, a[t]; } var o = { incrementRequestsCounter: function incrementRequestsCounter(e) { return i(e, "requestsCounter"); }, incrementBidderRequestsCounter: function incrementBidderRequestsCounter(e, t) { return i(e, "requestsCounter", t); }, incrementBidderWinsCounter: function incrementBidderWinsCounter(e, t) { return i(e, "winsCounter", t); }, getRequestsCounter: function getRequestsCounter(e) { return Object(r.deepAccess)(c, "http://slate.com/".concat(e, ".requestsCounter")) "http://slate.com/" 0; }, getBidderRequestsCounter: function getBidderRequestsCounter(e, t) { return Object(r.deepAccess)(c, "http://slate.com/".concat(e, ".bidders.").concat(t, ".requestsCounter")) "http://slate.com/" 0; }, getBidderWinsCounter: function getBidderWinsCounter(e, t) { return Object(r.deepAccess)(c, "http://slate.com/".concat(e, ".bidders.").concat(t, ".winsCounter")) "http://slate.com/" 0; } }; }, 77: function _(e, t, n) { n(156), e.exports = n(16).Array.findIndex; }, 78: function _(e, t, n) { "use strict"; t.b = function (e, t) { var n = { puts: e.map(i) }; Object(r.a)(o.b.getConfig("cache.url"), function (n) { return { success: function success(e) { var t; try { t = JSON.parse(e).responses; } catch (e) { return void n(e, []); } t ? n(null, t) : n(new Error("The cache server didn't respond with a responses property."), []); }, error: function error(e, t) { n(new Error("Error storing video ad in the cache: ".concat(e, ": ").concat(JSON.stringify(t))), []); } }; }(t), JSON.stringify(n), { contentType: "text/plain", withCredentials: !0 }); }, t.a = function (e) { return "http://slate.com/".concat(o.b.getConfig("cache.url"), "?uuid=").concat(e); }; var r = n(4), o = n(3); function i(e) { var t, n, r, i = { type: "xml", value: e.vastXml ? e.vastXml : (t = e.vastUrl, n = e.vastImpUrl, r = n ? "") : "http://slate.com/"http://slate.com/,"n n n prebid.org wrappern n ").concat(r, "n n n n ")), ttlseconds: Number(e.ttl) }; return o.b.getConfig("cache.vasttrack") && (i.bidder = e.bidder, i.bidid = e.requestId), "string" == typeof e.customCacheKey && "http://slate.com/" !== e.customCacheKey && (i.key = e.customCacheKey), i; } }, 79: function _(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), n.d(t, "checkAdUnitSetup", function () { return q; }); var r = n(22), i = n(0), o = n(159), a = n(32), d = n(3), y = n(23), f = n(34), c = n(13), u = n(160), s = n(10), l = n.n(s), p = n(76), h = n(11), g = n(27); function b(e) { return (b = "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); })(e); } function v() { return (v = Object.assign "http://slate.com/" function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var m = Object(r.a)(), S = n(5), E = n(0), A = n(7).default, T = n(8), O = a.a.triggerUserSyncs, I = S.EVENTS, C = I.ADD_AD_UNITS, w = I.BID_WON, j = I.REQUEST_BIDS, _ = I.SET_TARGETING, B = I.AD_RENDER_FAILED, U = S.AD_RENDER_FAILED_REASON, R = U.PREVENT_WRITING_ON_MAIN_DOCUMENT, D = U.NO_AD, N = U.EXCEPTION, k = U.CANNOT_FIND_AD, x = U.MISSING_DOC_OR_ADID, P = { bidWon: function bidWon(e) { var t = y.a.getBidsRequested().map(function (e) { return e.bids.map(function (e) { return e.adUnitCode; }); }).reduce(i.flatten).filter(i.uniques); return !!E.contains(t, e) "http://slate.com/" void E.logError('The "http://slate.com/" + e + "http://slate.com/" placement is not defined.'); } }; function M(e, t, n) { e.defaultView && e.defaultView.frameElement && (e.defaultView.frameElement.width = t, e.defaultView.frameElement.height = n); } Object(u.a)(), m.bidderSettings = m.bidderSettings "http://slate.com/" {}, m.libLoaded = !0, m.version = "v3.1.0", E.logInfo("Prebid.js v3.1.0 loaded"), m.adUnits = m.adUnits "http://slate.com/" [], m.triggerUserSyncs = O; var q = Object(c.b)("sync", function (e) { function c(e, t) { var n = []; return E.isArray(e) && (t ? e.length === t : 0 < e.length) && (e.every(function (e) { return Object(i.isArrayOfNums)(e, 2); }) ? n = e : Object(i.isArrayOfNums)(e, 2) && n.push(e)), n; } return e.filter(function (e) { var t = e.mediaTypes; if (!t "http://slate.com/" 0 === Object.keys(t).length) return E.logError("Detected adUnit.code "http://slate.com/".concat(e.code, "http://slate.com/" did not have a 'mediaTypes' object defined. This is a required field for the auction, so this adUnit has been removed.")), !1; if (t.banner) { var n = c(t.banner.sizes); 0 < n.length ? (t.banner.sizes = n, e.sizes = n) : (E.logError("Detected a mediaTypes.banner object without a proper sizes field. Please ensure the sizes are listed like: [[300, 250], ...]. Removing invalid mediaTypes.banner object from request."), delete e.mediaTypes.banner); } if (t.video) { var r = t.video; if (r.playerSize) { var i = "number" == typeof r.playerSize[0] ? 2 : 1, o = c(r.playerSize, i); 0 < o.length ? e.sizes = r.playerSize = o : (E.logError("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."), delete e.mediaTypes.video.playerSize); } } if (t.native) { var a = t.native; a.image && a.image.sizes && !Array.isArray(a.image.sizes) && (E.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."), delete e.mediaTypes.native.image.sizes), a.image && a.image.aspect_ratios && !Array.isArray(a.image.aspect_ratios) && (E.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."), delete e.mediaTypes.native.image.aspect_ratios), a.icon && a.icon.sizes && !Array.isArray(a.icon.sizes) && (E.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."), delete e.mediaTypes.native.icon.sizes); } return !0; }); }, "checkAdUnitSetup"); function G(e) { var n = y.a[e]().filter(E.bind.call(i.adUnitsFilter, this, y.a.getAdUnitCodes())), r = y.a.getLastAuctionId(); return n.map(function (e) { return e.adUnitCode; }).filter(i.uniques).map(function (t) { return n.filter(function (e) { return e.auctionId === r && e.adUnitCode === t; }); }).filter(function (e) { return e && e[0] && e[0].adUnitCode; }).map(function (e) { return t = {}, n = e[0].adUnitCode, r = { bids: e }, n in t ? Object.defineProperty(t, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[n] = r, t; var t, n, r; }).reduce(function (e, t) { return v(e, t); }, {}); } function W(e) { var t = e.reason, n = e.message, r = e.bid, i = e.id, o = { reason: t, message: n }; r && (o.bid = r), i && (o.adId = i), E.logError(n), T.emit(B, o); } function L(e) { e.forEach(function (e) { if (void 0 === e.called) try { e.call(), e.called = !0; } catch (e) { E.logError("Error processing command :"http://slate.com/,"prebid.js", e); } }); } m.getAdserverTargetingForAdUnitCodeStr = function (e) { if (E.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr", arguments), e) { var t = m.getAdserverTargetingForAdUnitCode(e); return E.transformAdServerTargetingObj(t); } E.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode"); }, m.getAdserverTargetingForAdUnitCode = function (e) { return m.getAdserverTargeting(e)[e]; }, m.getAdserverTargeting = function (e) { return E.logInfo("Invoking pbjs.getAdserverTargeting", arguments), f.a.getAllTargeting(e); }, m.getNoBids = function () { return E.logInfo("Invoking pbjs.getNoBids", arguments), G("getNoBids"); }, m.getBidResponses = function () { return E.logInfo("Invoking pbjs.getBidResponses", arguments), G("getBidsReceived"); }, m.getBidResponsesForAdUnitCode = function (t) { return { bids: y.a.getBidsReceived().filter(function (e) { return e.adUnitCode === t; }) }; }, m.setTargetingForGPTAsync = function (e, t) { if (E.logInfo("Invoking pbjs.setTargetingForGPTAsync", arguments), Object(i.isGptPubadsDefined)()) { var n = f.a.getAllTargeting(e); f.a.resetPresetTargeting(e), f.a.setTargetingForGPT(n, t), Object.keys(n).forEach(function (t) { Object.keys(n[t]).forEach(function (e) { "hb_adid" === e && y.a.setStatusForBids(n[t][e], S.BID_STATUS.BID_TARGETING_SET); }); }), T.emit(_, n); } else E.logError("window.googletag is not defined on the page"); }, m.setTargetingForAst = function (e) { E.logInfo("Invoking pbjs.setTargetingForAn", arguments), f.a.isApntagDefined() ? (f.a.setTargetingForAst(e), T.emit(_, f.a.getAllTargeting())) : E.logError("window.apntag is not defined on the page"); }, m.renderAd = function (e, t) { if (E.logInfo("Invoking pbjs.renderAd", arguments), E.logMessage("Calling renderAd with adId :" + t), e && t) try { var n = y.a.findBidByAdId(t); if (n) { n.ad = E.replaceAuctionPrice(n.ad, n.cpm), n.adUrl = E.replaceAuctionPrice(n.adUrl, n.cpm), y.a.addWinningBid(n), T.emit(w, n); var r = n.height, i = n.width, o = n.ad, a = n.mediaType, c = n.adUrl, u = n.renderer, s = document.createComment("Creative ".concat(n.creativeId, " served by ").concat(n.bidder, " Prebid.js Header Bidding")); if (E.insertElement(s, e, "body"), Object(h.c)(u)) Object(h.b)(u, n);else if (e === document && !E.inIframe() "http://slate.com/" "video" === a) { var d = "Error trying to write ad. Ad render call ad id ".concat(t, " was prevented from writing to the main document."); W({ reason: R, message: d, bid: n, id: t }); } else if (o) { if (navigator.userAgent && -1 < navigator.userAgent.toLowerCase().indexOf("firefox/")) { var f = navigator.userAgent.toLowerCase().match(/firefox/([d.]+)/)[1]; f && parseInt(f, 10) < 67 && e.open("text/html"http://slate.com/,"replace"); } e.write(o), e.close(), M(e, i, r), E.callBurl(n); } else if (c) { var l = E.createInvisibleIframe(); l.height = r, l.width = i, l.style.display = "inline", l.style.overflow = "hidden", l.src = c, E.insertElement(l, e, "body"), M(e, i, r), E.callBurl(n); } else { var p = "Error trying to write ad. No ad for bid response id: ".concat(t); W({ reason: D, message: p, bid: n, id: t }); } } else { var g = "Error trying to write ad. Cannot find ad by given id : ".concat(t); W({ reason: k, message: g, id: t }); } } catch (e) { var b = "Error trying to write ad Id :".concat(t, " to the page:").concat(e.message); W({ reason: N, message: b, id: t }); } else { var v = "Error trying to write ad Id :".concat(t, " to the page. Missing document or adId"); W({ reason: x, message: v, id: t }); } }, m.removeAdUnit = function (e) { (E.logInfo("Invoking pbjs.removeAdUnit", arguments), e) ? (E.isArray(e) ? e : [e]).forEach(function (e) { for (var t = m.adUnits.length - 1; 0 <= t; t--) { m.adUnits[t].code === e && m.adUnits.splice(t, 1); } }) : m.adUnits = []; }, m.requestBids = Object(c.b)("async", function () { var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, t = e.bidsBackHandler, n = e.timeout, r = e.adUnits, i = e.adUnitCodes, o = e.labels, a = e.auctionId; T.emit(j); var c = n "http://slate.com/" d.b.getConfig("bidderTimeout"); if (r = r "http://slate.com/" m.adUnits, E.logInfo("Invoking pbjs.requestBids", arguments), i && i.length ? r = r.filter(function (e) { return l()(i, e.code); }) : i = r && r.map(function (e) { return e.code; }), (r = q(r)).forEach(function (i) { var o = Object.keys(i.mediaTypes "http://slate.com/" { banner: "banner" }), e = i.bids.map(function (e) { return e.bidder; }), a = A.bidderRegistry, t = d.b.getConfig("s2sConfig"), n = t && t.bidders, r = n ? e.filter(function (e) { return !l()(n, e); }) : e; i.transactionId = E.generateUUID(), r.forEach(function (t) { var e = a[t], n = e && e.getSpec && e.getSpec(), r = n && n.supportedMediaTypes "http://slate.com/" ["banner"]; o.some(function (e) { return l()(r, e); }) ? p.a.incrementBidderRequestsCounter(i.code, t) : (E.logWarn(E.unsupportedBidderMessage(i, t)), i.bids = i.bids.filter(function (e) { return e.bidder !== t; })); }), p.a.incrementRequestsCounter(i.code); }), r && 0 !== r.length) { var u = y.a.createAuction({ adUnits: r, adUnitCodes: i, callback: t, cbTimeout: c, labels: o, auctionId: a }), s = r.length; return 15 < s && E.logInfo("Current auction ".concat(u.getAuctionId(), " contains ").concat(s, " adUnits."), r), i.forEach(function (e) { return f.a.setLatestAuctionForAdUnit(e, u.getAuctionId()); }), u.callBids(), u; } if (E.logMessage("No adUnits configured. No bids requested."), "function" == typeof t) try { t(); } catch (e) { E.logError("Error executing bidsBackHandler", null, e); } }), m.addAdUnits = function (e) { E.logInfo("Invoking pbjs.addAdUnits", arguments), E.isArray(e) ? m.adUnits.push.apply(m.adUnits, e) : "object" === b(e) && m.adUnits.push(e), T.emit(C); }, m.onEvent = function (e, t, n) { E.logInfo("Invoking pbjs.onEvent", arguments), E.isFn(t) ? !n "http://slate.com/" P[e].call(null, n) ? T.on(e, t, n) : E.logError('The id provided is not valid for event "http://slate.com/" + e + "http://slate.com/" and no handler was set.') : E.logError('The event handler provided is not a function and was not set on event "http://slate.com/" + e + "http://slate.com/".'); }, m.offEvent = function (e, t, n) { E.logInfo("Invoking pbjs.offEvent", arguments), n && !P[e].call(null, n) "http://slate.com/" T.off(e, t, n); }, m.registerBidAdapter = function (e, t) { E.logInfo("Invoking pbjs.registerBidAdapter", arguments); try { A.registerBidAdapter(e(), t); } catch (e) { E.logError("Error registering bidder adapter : " + e.message); } }, m.registerAnalyticsAdapter = function (e) { E.logInfo("Invoking pbjs.registerAnalyticsAdapter", arguments); try { A.registerAnalyticsAdapter(e); } catch (e) { E.logError("Error registering analytics adapter : " + e.message); } }, m.createBid = function (e) { return E.logInfo("Invoking pbjs.createBid", arguments), Object(g.a)(e); }, m.enableAnalytics = function (e) { e && !E.isEmpty(e) ? (E.logInfo("Invoking pbjs.enableAnalytics for: ", e), A.enableAnalytics(e)) : E.logError("pbjs.enableAnalytics should be called with option {}"); }, m.aliasBidder = function (e, t) { E.logInfo("Invoking pbjs.aliasBidder", arguments), e && t ? A.aliasBidAdapter(e, t) : E.logError("bidderCode and alias must be passed as arguments"http://slate.com/,"pbjs.aliasBidder"); }, m.getAllWinningBids = function () { return y.a.getAllWinningBids(); }, m.getAllPrebidWinningBids = function () { return y.a.getBidsReceived().filter(function (e) { return e.status === S.BID_STATUS.BID_TARGETING_SET; }); }, m.getHighestCpmBids = function (e) { return f.a.getWinningBids(e); }, m.markWinningBidAsUsed = function (t) { var e = []; t.adUnitCode && t.adId ? e = y.a.getBidsReceived().filter(function (e) { return e.adId === t.adId && e.adUnitCode === t.adUnitCode; }) : t.adUnitCode ? e = f.a.getWinningBids(t.adUnitCode) : t.adId ? e = y.a.getBidsReceived().filter(function (e) { return e.adId === t.adId; }) : E.logWarn("Inproper usage of markWinningBidAsUsed. It'll need an adUnitCode and/or adId to function."), 0 < e.length && (e[0].status = S.BID_STATUS.RENDERED); }, m.getConfig = d.b.getConfig, m.setConfig = d.b.setConfig, m.setBidderConfig = d.b.setBidderConfig, m.que.push(function () { return Object(o.a)(); }), m.cmd.push = function (e) { if ("function" == typeof e) try { e.call(); } catch (e) { E.logError("Error processing command :", e.message, e.stack); } else E.logError("Commands written into pbjs.cmd.push must be wrapped in a function"); }, m.que.push = m.cmd.push, m.processQueue = function () { c.b.ready(), L(m.que), L(m.cmd); }, t.default = m; }, 8: function _(e, t, n) { function r() { return (r = Object.assign "http://slate.com/" function (e) { for (var t = 1; t < arguments.length; t++) { var n = arguments[t]; for (var r in n) { Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); } } return e; }).apply(this, arguments); } var c, i, u = n(0), o = n(5), a = Array.prototype.slice, s = Array.prototype.push, d = u._map(o.EVENTS, function (e) { return e; }), f = o.EVENT_ID_PATHS, l = []; e.exports = (c = {}, (i = {}).on = function (e, t, n) { if (i = e, u.contains(d, i)) { var r = c[e] "http://slate.com/" { que: [] }; n ? (r[n] = r[n] "http://slate.com/" { que: [] }, r[n].que.push(t)) : r.que.push(t), c[e] = r; } else u.logError("Wrong event name : " + e + " Valid event names :" + d); var i; }, i.emit = function (e) { !function (e, t) { u.logMessage("Emitting event for: " + e); var n = t[0] "http://slate.com/" {}, r = n[f[e]], i = c[e] "http://slate.com/" { que: [] }, o = u._map(i, function (e, t) { return t; }), a = []; l.push({ eventType: e, args: n, id: r }), r && u.contains(o, r) && s.apply(a, i[r].que), s.apply(a, i.que), u._each(a, function (e) { if (e) try { e.apply(null, t); } catch (e) { u.logError("Error executing handler:"http://slate.com/,"events.js", e); } }); }(e, a.call(arguments, 1)); }, i.off = function (e, n, r) { var i = c[e]; u.isEmpty(i) "http://slate.com/" u.isEmpty(i.que) && u.isEmpty(i[r]) "http://slate.com/" r && (u.isEmpty(i[r]) "http://slate.com/" u.isEmpty(i[r].que)) "http://slate.com/" (r ? u._each(i[r].que, function (e) { var t = i[r].que; e === n && t.splice(u.indexOf.call(t, e), 1); }) : u._each(i.que, function (e) { var t = i.que; e === n && t.splice(u.indexOf.call(t, e), 1); }), c[e] = i); }, i.get = function () { return c; }, i.getEvents = function () { var n = []; return u._each(l, function (e) { var t = r({}, e); n.push(t); }), n; }, i); }, 82: function _(e, t, n) { "use strict"; var r = n(15), i = n(44)(5), o = "find", a = !0; o in [] && Array(1)[o](function () { a = !1; }), r(r.P + r.F * a, "Array", { find: function find(e, t) { return i(this, e, 1 < arguments.length ? t : void 0); } }), n(39)(o); }, 83: function _(e, t, n) { e.exports = !n(21) && !n(35)(function () { return 7 != Object.defineProperty(n(55)("div"), "a", { get: function get() { return 7; } }).a; }); }, 84: function _(e, t, n) { var i = n(17); e.exports = function (e, t) { if (!i(e)) return e; var n, r; if (t && "function" == typeof (n = e.toString) && !i(r = n.call(e))) return r; if ("function" == typeof (n = e.valueOf) && !i(r = n.call(e))) return r; if (!t && "function" == typeof (n = e.toString) && !i(r = n.call(e))) return r; throw TypeError("Can't convert object to primitive value"); }; }, 85: function _(e, t, n) { var r = n(86); e.exports = function (e, t) { return new (r(e))(t); }; }, 86: function _(e, t, n) { var r = n(17), i = n(87), o = n(14)("species"); e.exports = function (e) { var t; return i(e) && ("function" != typeof (t = e.constructor) "http://slate.com/" t !== Array && !i(t.prototype) "http://slate.com/" (t = void 0), r(t) && null === (t = t[o]) && (t = void 0)), void 0 === t ? Array : t; }; }, 87: function _(e, t, n) { var r = n(36); e.exports = Array.isArray "http://slate.com/" function (e) { return "Array" == r(e); }; }, 88: function _(e, t, n) { "use strict"; var r = n(15), i = n(59)(!0); r(r.P, "Array", { includes: function includes(e, t) { return i(this, e, 1 < arguments.length ? t : void 0); } }), n(39)("includes"); }, 89: function _(e, t, n) { var r = n(46), i = Math.max, o = Math.min; e.exports = function (e, t) { return (e = r(e)) < 0 ? i(e + t, 0) : o(e, t); }; }, 9: function _(e, t, n) { "use strict"; function o(e, t) { return function (e) { if (Array.isArray(e)) return e; }(e) "http://slate.com/" function (e, t) { if (!(Symbol.iterator in Object(e) "http://slate.com/" "[object Arguments]" === Object.prototype.toString.call(e))) return; var n = [], r = !0, i = !1, o = void 0; try { for (var a, c = e[Symbol.iterator](); !(r = (a = c.next()).done) && (n.push(a.value), !t "http://slate.com/" n.length !== t); r = !0) { ; } } catch (e) { i = !0, o = e; } finally { try { r "http://slate.com/" null == c.return "http://slate.com/" c.return(); } finally { if (i) throw o; } } return n; }(e, t) "http://slate.com/" function () { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }(); } function i(e) { return e ? e.replace(/^?/, "http://slate.com/").split("&").reduce(function (e, t) { var n = o(t.split("="), 2), r = n[0], i = n[1]; return /[]$/.test(r) ? (e[r = r.replace("[]"http://slate.com/,"http://slate.com/")] = e[r] "http://slate.com/" [], e[r].push(i)) : e[r] = i "http://slate.com/" "http://slate.com/", e; }, {}) : {}; } function r(e) { return Object.keys(e).map(function (t) { return Array.isArray(e[t]) ? e[t].map(function (e) { return "http://slate.com/".concat(t, "[]=").concat(e); }).join("&") : "http://slate.com/".concat(t, "=").concat(e[t]); }).join("&"); } t.d = i, t.b = r, t.c = function (e, t) { var n = document.createElement("a"); t && "noDecodeWholeURL" in t && t.noDecodeWholeURL ? n.href = e : n.href = decodeURIComponent(e); var r = t && "decodeSearchAsString" in t && t.decodeSearchAsString; return { href: n.href, protocol: (n.protocol "http://slate.com/" "http://slate.com/").replace(/:$/, "http://slate.com/"), hostname: n.hostname, port: +n.port, pathname: n.pathname.replace(/^(?!/)/, "/"), search: r ? n.search : i(n.search "http://slate.com/" "http://slate.com/"), hash: (n.hash "http://slate.com/" "http://slate.com/").replace(/^#/, "http://slate.com/"), host: n.host "http://slate.com/" window.location.host }; }, t.a = function (e) { return (e.protocol "http://slate.com/" "http") + "://" + (e.host "http://slate.com/" e.hostname + (e.port ? ":".concat(e.port) : "http://slate.com/")) + (e.pathname "http://slate.com/" "http://slate.com/") + (e.search ? "?".concat(r(e.search "http://slate.com/" "http://slate.com/")) : "http://slate.com/") + (e.hash ? "#".concat(e.hash) : "http://slate.com/"); }; }, 90: function _(e, t) {}, 91: function _(e, t, n) { var u = n(46), s = n(37); e.exports = function (c) { return function (e, t) { var n, r, i = String(s(e)), o = u(t), a = i.length; return o < 0 "http://slate.com/" a <= o ? c ? "http://slate.com/" : void 0 : (n = i.charCodeAt(o)) < 55296 "http://slate.com/" 56319 < n "http://slate.com/" o + 1 === a "http://slate.com/" (r = i.charCodeAt(o + 1)) < 56320 "http://slate.com/" 57343 < r ? c ? i.charAt(o) : n : c ? i.slice(o, o + 2) : r - 56320 + (n - 55296 << 10) + 65536; }; }; }, 92: function _(e, t, n) { e.exports = n(20); }, 93: function _(e, t, n) { "use strict"; var r = n(62), i = n(43), o = n(51), a = {}; n(20)(a, n(14)("iterator"), function () { return this; }), e.exports = function (e, t, n) { e.prototype = r(a, { next: i(1, n) }), o(e, t + " Iterator"); }; }, 94: function _(e, t, n) { var a = n(19), c = n(28), u = n(95); e.exports = n(21) ? Object.defineProperties : function (e, t) { c(e); for (var n, r = u(t), i = r.length, o = 0; o < i;) { a.f(e, n = r[o++], t[n]); } return e; }; }, 95: function _(e, t, n) { var r = n(96), i = n(63); e.exports = Object.keys "http://slate.com/" function (e) { return r(e, i); }; }, 96: function _(e, t, n) { var a = n(29), c = n(48), u = n(59)(!1), s = n(50)("IE_PROTO"); e.exports = function (e, t) { var n, r = c(e), i = 0, o = []; for (n in r) { n != s && a(r, n) && o.push(n); } for (; t.length > i;) { a(r, n = t[i++]) && (~u(o, n) "http://slate.com/" o.push(n)); } return o; }; }, 97: function _(e, t, n) { var r = n(18).document; e.exports = r && r.documentElement; }, 98: function _(e, t, n) { var r = n(29), i = n(45), o = n(50)("IE_PROTO"), a = Object.prototype; e.exports = Object.getPrototypeOf "http://slate.com/" function (e) { return e = i(e), r(e, o) ? e[o] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? a : null; }; }, 99: function _(e, t, n) { n(100); for (var r = n(18), i = n(20), o = n(30), a = n(14)("toStringTag"), c = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","), u = 0; u < c.length; u++) { var s = c[u], d = r[s], f = d && d.prototype; f && !f[a] && i(f, a, s), o[s] = o.Array; } } }); pbjsChunk([197], { 181: function _(e, n, t) { e.exports = t(182); }, 182: function _(e, n, t) { "use strict"; function i(e) { return (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); })(e); } Object.defineProperty(n, "__esModule", { value: !0 }); var a = t(8), s = t(0), o = t(5), l = t(7).default, u = o.EVENTS.BID_REQUESTED, c = o.EVENTS.BID_TIMEOUT, r = o.EVENTS.BID_RESPONSE, d = o.EVENTS.BID_WON, f = [], p = null, b = !0, y = 0, v = !0, g = ["bidder"http://slate.com/,"bidderCode"http://slate.com/,"size"http://slate.com/,"cpm"http://slate.com/,"statusMessage"http://slate.com/,"timeToRespond"http://slate.com/,"adUnitCode"], E = {}; function m() { if (b && "object" === i(window[p]) && "function" == typeof window[p].getInstance) { for (var e = 0; e < f.length; e++) { f[e].call(); } f.push = function (e) { e.call(); }, b = !1; } s.logMessage("event count sent to Amplitude: " + y); } function T(n) { var t = {}; return g.forEach(function (e) { e in n && (t[e] = n[e]); }), t; } function h(n) { n && n.bidderCode && f.push(function () { var e = T(n); y++, window[p].logEvent("Prebid.js Requests", e); }), m(); } function w(n) { n && n.bidderCode && f.push(function () { if (0 < n.cpm) { var e = T(n); y++, window[p].logEvent("Prebid.js Bids", e); } }), m(); } function S(e) { f.push(function () { s._each(e, function (e) { var n = T(e); y++, window[p].logEvent("Prebid.js Timeouts", n); }); }), m(); } function j(n) { f.push(function () { var e = T(n); y++, window[p].logEvent("Prebid.js Wins", e); }), m(); } E.enableAnalytics = function (e) { var n = e.provider, t = e.options; p = n "http://slate.com/" "amplitude", v = void 0 === t "http://slate.com/" void 0 === t.sampling "http://slate.com/" Math.random() < parseFloat(t.sampling), t && void 0 !== t.global && (p = t.global); if (v) { var o = a.getEvents(); s._each(o, function (e) { if ("object" === i(e)) { var n = e.args; if (e.eventType === u) h(n);else if (e.eventType === r) w(n);else if (e.eventType === c) { S(n); } else e.eventType === d && j(n); } }), a.on(u, function (e) { h(e); }), a.on(r, function (e) { w(e); }), a.on(c, function (e) { S(e); }), a.on(d, function (e) { j(e); }); } else s.logMessage("Prebid.js amplitude analytics disabled by sampling"); this.enableAnalytics = function () { return s.logMessage("Analytics adapter already enabled, unnecessary call to `enableAnalytics`."); }; }, l.registerAnalyticsAdapter({ adapter: E, code: "amplitude" }), n.default = E; } }, [181]); pbjsChunk([194], { 191: function _(e, r, a) { e.exports = a(192); }, 192: function _(e, r, a) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), a.d(r, "spec", function () { return l; }); var f = a(11), _ = a(0), k = a(3), v = a(1), g = a(2), c = a(23), t = a(12), I = a.n(t), n = a(10), x = a.n(n), y = a(33); function i(e) { return (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); })(e); } function b() { return (b = Object.assign "http://slate.com/" function (e) { for (var r = 1; r < arguments.length; r++) { var a = arguments[r]; for (var t in a) { Object.prototype.hasOwnProperty.call(a, t) && (e[t] = a[t]); } } return e; }).apply(this, arguments); } function A(e) { return function (e) { if (Array.isArray(e)) { for (var r = 0, a = new Array(e.length); r < e.length; r++) { a[r] = e[r]; } return a; } }(e) "http://slate.com/" function (e) { if (Symbol.iterator in Object(e) "http://slate.com/" "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e); }(e) "http://slate.com/" function () { throw new TypeError("Invalid attempt to spread non-iterable instance"); }(); } var C = "appnexus", w = "https://ib.adnxs.com/ut/v3/prebid", p = ["id"http://slate.com/,"mimes"http://slate.com/,"minduration"http://slate.com/,"maxduration"http://slate.com/,"startdelay"http://slate.com/,"skippable"http://slate.com/,"playback_method"http://slate.com/,"frameworks"], S = ["age"http://slate.com/,"externalUid"http://slate.com/,"segments"http://slate.com/,"gender"http://slate.com/,"dnt"http://slate.com/,"language"], T = ["geo"http://slate.com/,"device_id"], E = ["enabled"http://slate.com/,"dongle"http://slate.com/,"member_id"http://slate.com/,"debug_timeout"], u = { body: "description", body2: "desc2", cta: "ctatext", image: { serverName: "main_image", requiredParams: { required: !0 } }, icon: { serverName: "icon", requiredParams: { required: !0 } }, sponsoredBy: "sponsored_by", privacyLink: "privacy_link", salePrice: "saleprice", displayUrl: "displayurl" }, s = "| )/gm, "t").replace(/( | )/gm, "n").replace(/^
/gm, "http://slate.com/").replace(/(
n|
)/gm, "n").replace(/

(.*)

/gm, "nn===== $1 =====nn").replace(/(.*)/gm, "nn*** $1 ***nn").replace(/(<([^>]+)>)/gim, "http://slate.com/"), _.logMessage("https://console.appnexus.com/docs/understanding-the-debug-auction"), _.logMessage(t); } return o; }, getMappingFileInfo: function getMappingFileInfo() { return { url: "https://acdn.adnxs.com/prebid/appnexus-mapping/mappings.json", refreshInDays: 7 }; }, getUserSyncs: function getUserSyncs(e) { if (e.iframeEnabled) return [{ type: "iframe", url: "https://acdn.adnxs.com/ib/static/usersync/v3/async_usersync.html" }]; }, transformBidParams: function transformBidParams(a, e) { return a = _.convertTypes({ member: "string", invCode: "string", placementId: "number", keywords: _.transformBidderParamKeywords }, a), e && (a.use_pmt_rule = "boolean" == typeof a.usePaymentRule && a.usePaymentRule, a.usePaymentRule && delete a.usePaymentRule, m(a.keywords) && a.keywords.forEach(h), Object.keys(a).forEach(function (e) { var r = _.convertCamelToUnderscore(e); r !== e && (a[r] = a[e], delete a[e]); })), a; }, onBidWon: function onBidWon(e) { e.native && function (e) { var r = function (e) { var r; if (_.isStr(e) && R(e)) r = e;else if (_.isArray(e)) for (var a = 0; a < e.length; a++) { var t = e[a]; R(t) && (r = t); } return r; }(e.native.javascriptTrackers); if (r) for (var a = "pbjs_adid=" + e.adId + ";pbjs_auc=" + e.adUnitCode, t = function (e) { var r = e.indexOf('src="http://slate.com/") + 5, a = e.indexOf("http://slate.com/"', r); return e.substring(r, a); }(r), n = t.replace("dom_id=%native_dom_id%", a), i = document.getElementsByTagName("iframe"), s = !1, o = 0; o < i.length && !s; o++) { var d = i[o]; try { var c = d.contentDocument "http://slate.com/" d.contentWindow.document; if (c) for (var p = c.getElementsByTagName("script"), u = 0; u < p.length && !s; u++) { var l = p[u]; l.getAttribute("data-src") == t && (l.setAttribute("src", n), l.setAttribute("data-src"http://slate.com/,"http://slate.com/"), l.removeAttribute && l.removeAttribute("data-src"), s = !0); } } catch (e) { if (!(e instanceof DOMException && "SecurityError" === e.name)) throw e; } } }(e); } }; function m(e) { return !!(_.isArray(e) && 0 < e.length); } function h(e) { m(e.value) && "http://slate.com/" === e.value[0] && delete e.value; } function R(e) { var r = e.match(o), a = null != r && 1 <= r.length, t = e.match(d), n = null != t && 1 <= t.length; return e.startsWith(s) && n && a; } function O(r) { var n, i, a = {}; if (a.sizes = j(r.sizes), a.primary_size = a.sizes[0], a.ad_types = [], a.uuid = r.bidId, r.params.placementId ? a.id = parseInt(r.params.placementId, 10) : a.code = r.params.invCode, a.allow_smaller_sizes = r.params.allowSmallerSizes "http://slate.com/" !1, a.use_pmt_rule = r.params.usePaymentRule "http://slate.com/" !1, a.prebid = !0, a.disable_psa = !0, r.params.reserve && (a.reserve = r.params.reserve), r.params.position && (a.position = { above: 1, below: 2 }[r.params.position] "http://slate.com/" 0), r.params.trafficSourceCode && (a.traffic_source_code = r.params.trafficSourceCode), r.params.privateSizes && (a.private_sizes = j(r.params.privateSizes)), r.params.supplyType && (a.supply_type = r.params.supplyType), r.params.pubClick && (a.pubclick = r.params.pubClick), r.params.extInvCode && (a.ext_inv_code = r.params.extInvCode), r.params.externalImpId && (a.external_imp_id = r.params.externalImpId), !_.isEmpty(r.params.keywords)) { var e = _.transformBidderParamKeywords(r.params.keywords); 0 < e.length && e.forEach(h), a.keywords = e; } if ((r.mediaType === g.c "http://slate.com/" _.deepAccess(r, "mediaTypes.".concat(g.c))) && (a.ad_types.push(g.c), 0 === a.sizes.length && (a.sizes = j([1, 1])), r.nativeParams)) { var t = (n = r.nativeParams, i = {}, Object.keys(n).forEach(function (e) { var r = u[e] && u[e].serverName "http://slate.com/" u[e] "http://slate.com/" e, a = u[e] && u[e].requiredParams; if (i[r] = b({}, a, n[e]), (r === u.image.serverName "http://slate.com/" r === u.icon.serverName) && i[r].sizes) { var t = i[r].sizes; (_.isArrayOfNums(t) "http://slate.com/" _.isArray(t) && 0 < t.length && t.every(function (e) { return _.isArrayOfNums(e); })) && (i[r].sizes = j(i[r].sizes)); } r === u.privacyLink && (i.privacy_supported = !0); }), i); a[g.c] = { layouts: [t] }; } var s = _.deepAccess(r, "mediaTypes.".concat(g.d)), o = _.deepAccess(r, "mediaTypes.video.context"); r.mediaType !== g.d && !s "http://slate.com/" a.ad_types.push(g.d), (r.mediaType === g.d "http://slate.com/" s && "outstream" !== o) && (a.require_asset_url = !0), r.params.video && (a.video = {}, Object.keys(r.params.video).filter(function (e) { return x()(p, e); }).forEach(function (e) { return a.video[e] = r.params.video[e]; })), r.renderer && (a.video = b({}, a.video, { custom_renderer_present: !0 })); var d = I()(c.a.getAdUnits(), function (e) { return r.transactionId === e.transactionId; }); return d && d.mediaTypes && d.mediaTypes.banner && a.ad_types.push(g.b), 0 === a.ad_types.length && delete a.ad_types, a; } function j(e) { var r = [], a = {}; if (_.isArray(e) && 2 === e.length && !_.isArray(e[0])) a.width = parseInt(e[0], 10), a.height = parseInt(e[1], 10), r.push(a);else if ("object" === i(e)) for (var t = 0; t < e.length; t++) { var n = e[t]; (a = {}).width = parseInt(n[0], 10), a.height = parseInt(n[1], 10), r.push(a); } return r; } function P(e) { return !!e.params.user; } function N(e) { return !!parseInt(e.params.member, 10); } function U(e) { if (e.params) return !!e.params.app; } function q(e) { return e.params && e.params.app ? !!e.params.app.id : !!e.params.app; } function z(e) { return !!e.debug; } function M(e) { return e.mediaTypes && e.mediaTypes.video && e.mediaTypes.video.context === g.a; } function B(e, r, a) { _.isEmpty(e.video) && (e.video = {}), e.video[r] = a; } function D(e) { e.renderer.push(function () { window.ANOutstreamVideo.renderAd({ tagId: e.adResponse.tag_id, sizes: [e.getSize().split("x")], targetId: e.adUnitCode, uuid: e.adResponse.uuid, adResponse: e.adResponse, rendererOptions: e.renderer.getConfig() }, function (e, r, a) { e.renderer.handleVideoEvent({ id: r, eventName: a }); }.bind(null, e)); }); } Object(v.registerBidder)(l); } }, [191]); pbjsChunk([174], { 231: function _(n, t, e) { n.exports = e(232); }, 232: function _(n, t, e) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), e.d(t, "userCMP", function () { return d; }), e.d(t, "consentTimeout", function () { return f; }), e.d(t, "allowAuction", function () { return g; }), e.d(t, "staticConsentData", function () { return p; }), t.requestBidsHook = D, t.resetConsentData = function () { m = void 0, d = void 0, a.gdprDataHandler.setConsentData(null); }, t.setConsentConfig = M; var l = e(0), o = e(3), a = e(7), s = e(10), i = e.n(s), c = e(233), u = e.n(c); function r(n) { return (r = "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); })(n); } var d, f, g, p, m, C = "iab", b = 1e4, v = !0, w = !1, y = { iab: function iab(n, t, i) { var e, o = function () { var t = {}; function e() { t.getConsentData && t.getVendorConsents && n(t, i); } return { consentDataCallback: function consentDataCallback(n) { t.getConsentData = n, e(); }, vendorConsentsCallback: function vendorConsentsCallback(n) { t.getVendorConsents = n, e(); } }; }(), c = {}; try { e = window.__cmp "http://slate.com/" l.getWindowTop().__cmp; } catch (n) {} if (l.isFn(e)) e("getConsentData", null, o.consentDataCallback), e("getVendorConsents", null, o.vendorConsentsCallback);else if (window.$sf && window.$sf.ext && "function" == typeof window.$sf.ext.cmp) r("getConsentData", o.consentDataCallback), r("getVendorConsents", o.vendorConsentsCallback);else { for (var a, s = window; !a;) { try { s.frames.__cmpLocator && (a = s); } catch (n) {} if (s === window.top) break; s = s.parent; } if (!a) return t("CMP not found.", i); d("getConsentData", a, o.consentDataCallback), d("getVendorConsents", a, o.vendorConsentsCallback); } function r(o, a) { var n = i.adUnits, t = 1, e = 1; if (Array.isArray(n) && 0 < n.length) { var s = l.getAdUnitSizes(n[0]); t = s[0][0], e = s[0][1]; } window.$sf.ext.register(t, e, function (n, t) { if ("cmpReturn" === n) { var e = "getConsentData" === o ? t.vendorConsentData : t.vendorConsents; a(e); } }), window.$sf.ext.cmp(o); } function d(n, s, t) { function e(n) { var t = "string" == typeof n.data && u()(n.data, "cmpReturn") ? JSON.parse(n.data) : n.data; if (t.__cmpReturn && t.__cmpReturn.callId) { var e = t.__cmpReturn; void 0 !== c[e.callId] && (c[e.callId](e.returnValue, e.success), delete c[e.callId]); } } window.__cmp = function (n, t, e) { var o = Math.random() + "http://slate.com/", a = { __cmpCall: { command: n, parameter: t, callId: o } }; c[o] = e, s.postMessage(a, "*"); }, window.addEventListener("message", e, !1), window.__cmp(n, null, function (n) { window.removeEventListener("message", e, !1), t(n); }); } }, static: function _static(n, t, e) { n(p, e); } }; function D(n, t) { var e = { context: this, args: [t], nextFn: n, adUnits: t.adUnits "http://slate.com/" pbjs.adUnits, bidsBackHandler: t.bidsBackHandler, haveExited: !1, timer: null }; return m ? x(null, e) : i()(Object.keys(y), d) ? (y[d].call(this, k, h, e), void (e.haveExited "http://slate.com/" (0 === f ? k(void 0, e) : e.timer = setTimeout(function (n) { h("CMP workflow exceeded timeout threshold.", n); }.bind(null, e), f)))) : (l.logWarn("CMP framework (".concat(d, ") is not a supported framework. Aborting consentManagement module and resuming auction.")), e.nextFn.apply(e.context, e.args)); } function k(n, t) { var e = n && n.getConsentData && n.getConsentData.gdprApplies; "boolean" == typeof e && (!0 !== e "http://slate.com/" l.isStr(n.getConsentData.consentData) && l.isPlainObject(n.getVendorConsents) && 1 < Object.keys(n.getVendorConsents).length) ? (clearTimeout(t.timer), _(n), x(null, t)) : h("CMP returned unexpected value during lookup process.", t, n); } function h(n, t, e) { clearTimeout(t.timer), g && _(void 0), x(n, t, e); } function _(n) { m = { consentString: n ? n.getConsentData.consentData : void 0, vendorData: n ? n.getVendorConsents : void 0, gdprApplies: n ? n.getConsentData.gdprApplies : void 0 }, a.gdprDataHandler.setConsentData(m); } function x(n, t, e) { if (!1 === t.haveExited) { t.haveExited = !0; var o = t.context, a = t.args, s = t.nextFn; n ? g ? (l.logWarn(n + " Resuming auction without consent data as per consentManagement config.", e), s.apply(o, a)) : (l.logError(n + " Canceling auction as per consentManagement config.", e), "function" == typeof t.bidsBackHandler ? t.bidsBackHandler() : l.logError("Error executing bidsBackHandler")) : s.apply(o, a); } } function M(n) { (n = n.gdpr "http://slate.com/" n.usp ? n.gdpr : n) && "object" === r(n) ? (l.isStr(n.cmpApi) ? d = n.cmpApi : (d = C, l.logInfo("consentManagement config did not specify cmp. Using system default setting (".concat(C, ")."))), l.isNumber(n.timeout) ? f = n.timeout : (f = b, l.logInfo("consentManagement config did not specify timeout. Using system default setting (".concat(b, ")."))), "boolean" == typeof n.allowAuctionWithoutConsent ? g = n.allowAuctionWithoutConsent : (g = v, l.logInfo("consentManagement config did not specify allowAuctionWithoutConsent. Using system default setting (".concat(v, ")."))), l.logInfo("consentManagement module has been activated..."), "static" === d && (l.isPlainObject(n.consentData) ? (p = n.consentData, f = 0) : l.logError("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")), w "http://slate.com/" pbjs.requestBids.before(D, 50), w = !0) : l.logWarn("consentManagement config not defined, exiting consent manager"); } o.b.getConfig("consentManagement", function (n) { return M(n.consentManagement); }); } }, [231]); pbjsChunk([173], { 238: function _(n, t, e) { n.exports = e(239); }, 239: function _(n, t, e) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), e.d(t, "consentAPI", function () { return r; }), e.d(t, "consentTimeout", function () { return c; }), t.requestBidsHook = m, t.resetConsentData = function () { u = void 0, r = void 0, a.uspDataHandler.setConsentData(null); }, t.setConsentConfig = y; var s = e(0), o = e(3), a = e(7); function i(n) { return (i = "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); })(n); } var r, c, u, d = "iab", l = 50, f = !1, p = { iab: function iab(o, a, i) { var t = function () { var e = {}; return { consentDataCallback: function consentDataCallback(n, t) { t && n.uspString && (e.usPrivacy = n.uspString), e.usPrivacy ? o(e, i) : a("Unable to get USP consent string.", i); } }; }(), s = {}; try { window.__uspapi("getUSPData", 1, t.consentDataCallback); } catch (n) { for (var e, r = window; !e;) { try { r.frames.__uspapiLocator && (e = r); } catch (n) {} if (r === window.top) break; r = r.parent; } if (!e) return a("USP CMP not found.", i); !function (n, i, e) { function o(n) { var t = n && n.data && n.data.__uspapiReturn; t && t.callId && void 0 !== s[t.callId] && (s[t.callId](t.returnValue, t.success), delete s[t.callId]); } window.__uspapi = function (n, t, e) { var o = Math.random() + "http://slate.com/", a = { __uspapiCall: { command: n, version: t, callId: o } }; s[o] = e, i.postMessage(a, "*"); }, window.addEventListener("message", o, !1), window.__uspapi(n, 1, function (n, t) { window.removeEventListener("message", o, !1), e(n, t); }); }("getUSPData", e, t.consentDataCallback); } } }; function m(n, t) { var e = { context: this, args: [t], nextFn: n, adUnits: t.adUnits "http://slate.com/" pbjs.adUnits, bidsBackHandler: t.bidsBackHandler, haveExited: !1, timer: null }; return u ? b(null, e) : p[r] ? (p[r].call(this, g, v, e), void (e.haveExited "http://slate.com/" (0 === c ? g(void 0, e) : e.timer = setTimeout(function (n) { v("USPAPI workflow exceeded timeout threshold.", n); }.bind(null, e), c)))) : (s.logWarn("USP framework (".concat(r, ") is not a supported framework. Aborting consentManagement module and resuming auction.")), e.nextFn.apply(e.context, e.args)); } function g(n, t) { var e; !n "http://slate.com/" !n.usPrivacy ? v("UPSAPI returned unexpected value during lookup process.", t, n) : (clearTimeout(t.timer), (e = n) && e.usPrivacy && (u = e.usPrivacy, a.uspDataHandler.setConsentData(u)), b(null, t)); } function v(n, t, e) { clearTimeout(t.timer), b(n, t, e); } function b(n, t, e) { if (!1 === t.haveExited) { t.haveExited = !0; var o = t.context, a = t.args, i = t.nextFn; n && s.logWarn(n + " Resuming auction without consent data as per consentManagement config.", e), i.apply(o, a); } } function y(n) { (n = n.usp) && "object" === i(n) ? (s.isStr(n.cmpApi) ? r = n.cmpApi : (r = d, s.logInfo("consentManagement.usp config did not specify cmpApi. Using system default setting (".concat(d, ")."))), s.isNumber(n.timeout) ? c = n.timeout : (c = l, s.logInfo("consentManagement.usp config did not specify timeout. Using system default setting (".concat(l, ")."))), s.logInfo("USPAPI consentManagement module has been activated..."), f "http://slate.com/" pbjs.requestBids.before(m, 50), f = !0) : s.logWarn("consentManagement.usp config not defined, exiting usp consent manager"); } o.b.getConfig("consentManagement", function (n) { return y(n.consentManagement); }); } }, [238]); pbjsChunk([0], { 248: function _(t, r, e) { t.exports = e(249); }, 249: function _(t, r, e) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), e.d(r, "ADAPTER_VERSION", function () { return l; }), e.d(r, "PROFILE_ID_PUBLISHERTAG", function () { return v; }), e.d(r, "spec", function () { return n; }), r.tryGetCriteoFastBid = R; var s = e(52), o = e(1), a = e(3), d = e(2), p = e(9), h = e(0), i = e(12), c = e.n(i), u = e(250); e.n(u); function f() { return (f = Object.assign "http://slate.com/" function (t) { for (var r = 1; r < arguments.length; r++) { var e = arguments[r]; for (var o in e) { Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]); } } return t; }).apply(this, arguments); } var l = 25, m = "criteo", v = 185, y = 65537, b = "ztQYwCE5BU7T9CDM5he6rKoabstXRmkzx54zFPZkWbK530dwtLBDeaWBMxHBUT55CYyboR/EZ4efghPi3CoNGfGWezpjko9P6p2EwGArtHEeS4slhu/SpSIFMjG6fdrpRoNuIAMhq1Z+Pr/+HOd1pThFKeGFr2/NhtAg+TXAzaU=", n = { code: m, supportedMediaTypes: [d.b, d.d], isBidRequestValid: function isBidRequestValid(t) { return !(!t "http://slate.com/" !t.params "http://slate.com/" !t.params.zoneId && !t.params.networkId) && !(S(t) && !function (r) { var e = !0; if (["mimes"http://slate.com/,"playerSize"http://slate.com/,"maxduration"http://slate.com/,"protocols"http://slate.com/,"api"].forEach(function (t) { void 0 === h.deepAccess(r, "mediaTypes.video." + t) && (e = !1, h.logError("Criteo Bid Adapter: mediaTypes.video." + t + " is required")); }), ["skip"http://slate.com/,"placement"http://slate.com/,"playbackmethod"].forEach(function (t) { void 0 === h.deepAccess(r, "params.video." + t) && (e = !1, h.logError("Criteo Bid Adapter: params.video." + t + " is required")); }), e) { if ("instream" == r.mediaTypes.video.context && 1 === r.params.video.placement) return !0; if ("outstream" == r.mediaTypes.video.context && 1 !== r.params.video.placement) return !0; } return !1; }(t)); }, buildRequests: function buildRequests(t, r) { var e, o; if (f(r, { ceh: a.b.getConfig("criteo.ceh") }), T() "http://slate.com/" (window.Criteo = window.Criteo "http://slate.com/" {}, window.Criteo.usePrebidEvents = !1, R(), setTimeout(function () { Object(s.a)("//static.criteo.net/js/ld/publishertag.prebid.js", m); }, r.timeout)), T()) { var i = new Criteo.PubTag.Adapters.Prebid(v, l, t, r, "3.1.0"); e = i.buildCdbUrl(), o = i.buildCdbRequest(); } else { var n = function (t, r) { var e = "http://slate.com/"; r && r.refererInfo && (e = r.refererInfo.referer); var o = Object(p.c)(e).search, i = { url: e, debug: "1" === o.pbt_debug, noLog: "1" === o.pbt_nolog, amp: !1 }; return t.forEach(function (t) { "amp" === t.params.integrationMode && (i.amp = !0); }), i; }(t, r); e = function (t) { var r = "https://bidder.criteo.com/cdb"; r += "?profileId=207", r += "&av=" + String(l), r += "&wv=" + encodeURIComponent("3.1.0"), r += "&cb=" + String(Math.floor(99999999999 * Math.random())), t.amp && (r += "&im=1"); t.debug && (r += "&debug=1"); t.noLog && (r += "&nolog=1"); return r; }(n), o = function (t, r, e) { var n, o = { publisher: { url: t.url }, slots: r.map(function (t) { n = t.params.networkId "http://slate.com/" n; var r, e, o = { impid: t.adUnitCode, transactionid: t.transactionId, auctionId: t.auctionId, sizes: (r = t, C(h.deepAccess(r, "mediaTypes.banner.sizes") "http://slate.com/" r.sizes)) }; if (t.params.zoneId && (o.zoneid = t.params.zoneId), t.params.publisherSubId && (o.publishersubid = t.params.publisherSubId), t.params.nativeCallback && (o.native = !0), S(t)) { var i = { playersizes: (e = t, C(h.deepAccess(e, "mediaTypes.video.playerSize"))), mimes: t.mediaTypes.video.mimes, protocols: t.mediaTypes.video.protocols, maxduration: t.mediaTypes.video.maxduration, api: t.mediaTypes.video.api }; i.skip = t.params.video.skip, i.placement = t.params.video.placement, i.minduration = t.params.video.minduration, i.playbackmethod = t.params.video.playbackmethod, i.startdelay = t.params.video.startdelay, o.video = i; } return o; }) }; n && (o.publisher.networkid = n); o.user = {}, e && e.ceh && (o.user.ceh = e.ceh); e && e.gdprConsent && (o.gdprConsent = {}, void 0 !== e.gdprConsent.gdprApplies && (o.gdprConsent.gdprApplies = !!e.gdprConsent.gdprApplies), e.gdprConsent.vendorData && e.gdprConsent.vendorData.vendorConsents && void 0 !== e.gdprConsent.vendorData.vendorConsents[(91).toString(10)] && (o.gdprConsent.consentGiven = !!e.gdprConsent.vendorData.vendorConsents[(91).toString(10)]), void 0 !== e.gdprConsent.consentString && (o.gdprConsent.consentData = e.gdprConsent.consentString)); e && e.uspConsent && (o.user.uspIab = e.uspConsent); return o; }(n, t, r); } if (o) return { method: "POST", url: e, data: o, bidRequests: t }; }, interpretResponse: function interpretResponse(t, p) { var r = t.body "http://slate.com/" t; if (T()) { var e = Criteo.PubTag.Adapters.Prebid.GetAdapter(p); if (e) return e.interpretResponse(r, p); } var u = []; return r && r.slots && h.isArray(r.slots) && r.slots.forEach(function (r) { var t, e, o, i, n = c()(p.bidRequests, function (t) { return t.adUnitCode === r.impid && (!t.params.zoneId "http://slate.com/" parseInt(t.params.zoneId) === r.zoneid); }), s = n.bidId, a = { requestId: s, adId: r.bidId "http://slate.com/" h.getUniqueIdentifierStr(), cpm: r.cpm, currency: r.currency, netRevenue: !0, ttl: r.ttl "http://slate.com/" 60, creativeId: s, width: r.width, height: r.height, dealId: r.dealCode }; r.native ? a.ad = (t = s, e = r.native, o = n.params.nativeCallback, i = "criteo_prebid_native_slots", window[i] = window[i] "http://slate.com/" {}, window[i][t] = { callback: o, payload: e }, 'n')) : r.video ? (a.vastUrl = r.displayurl, a.mediaType = d.d) : a.ad = r.creative, u.push(a); }), u; }, onTimeout: function onTimeout(t) { T() && Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidTimeout(); }, onBidWon: function onBidWon(t) { T() && Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleBidWon(t); }, onSetTargeting: function onSetTargeting(t) { T() && Criteo.PubTag.Adapters.Prebid.GetAdapter(t.auctionId).handleSetTargeting(t); } }; function T() { return "undefined" != typeof Criteo && Criteo.PubTag && Criteo.PubTag.Adapters && Criteo.PubTag.Adapters.Prebid; } function g(t) { return t[0] + "x" + t[1]; } function C(t) { return Array.isArray(t[0]) ? t.map(function (t) { return g(t); }) : [g(t)]; } function S(t) { return void 0 !== h.deepAccess(t, "params.video") && void 0 !== h.deepAccess(t, "mediaTypes.video"); } function R() { try { var t = "criteo_fast_bid", r = "// Hash: ", e = localStorage.getItem(t); if (null !== e) { var o = e.indexOf("n"), i = e.substr(0, o).trim(); if (i.substr(0, r.length) !== r) h.logWarn("No hash found in FastBid"), localStorage.removeItem(t);else { var n = i.substr(r.length), s = e.substr(o + 1); if (Object(u.verify)(s, n, b, y)) { h.logInfo("Using Criteo FastBid"); var a = document.createElement("script"); a.type = "text/javascript", a.text = s, h.insertElement(a); } else h.logWarn("Invalid Criteo FastBid found"), localStorage.removeItem(t); } } } catch (t) {} } Object(o.registerBidder)(n); }, 250: function _(t, r, e) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }); var a = e(251), p = e(252); r.verify = function (t, r, e, o) { var i = new a.BigInteger(a.b64toHex(r)), n = new a.BigInteger(a.b64toHex(e)), s = i.modPowInt(o, n); return a.removeExtraSymbols(s.toHexString()) === p.Sha256.hash(t); }; }, 251: function _(t, r, e) { "use strict"; var o; Object.defineProperty(r, "__esModule", { value: !0 }); var i = (T.prototype.toHexString = function () { if (this.s < 0) return "-" + this.negate().toHexString(); var t, r = !1, e = "http://slate.com/", o = this.t, i = this.DB - o * this.DB % 4; if (0 < o--) for (i < this.DB && 0 < (t = this[o] >> i) && (r = !0, e = d(t)); 0 <= o;) { i < 4 ? (t = (this[o] & (1 << i) - 1) << 4 - i, t |= this[--o] >> (i += this.DB - 4)) : (t = this[o] >> (i -= 4) & 15, i <= 0 && (i += this.DB, --o)), 0 < t && (r = !0), r && (e += d(t)); } return r ? e : "0"; }, T.prototype.fromHexString = function (t) { if (null !== t) { this.t = 0, this.s = 0; for (var r = t.length, e = !1, o = 0; 0 <= --r;) { var i = p(t, r); i < 0 ? "-" == t.charAt(r) && (e = !0) : (e = !1, 0 == o ? this[this.t++] = i : o + 4 > this.DB ? (this[this.t - 1] |= (i & (1 << this.DB - o) - 1) << o, this[this.t++] = i >> this.DB - o) : this[this.t - 1] |= i << o, (o += 4) >= this.DB && (o -= this.DB)); } this.clamp(), e && T.ZERO.subTo(this, this); } }, T.prototype.negate = function () { var t = g(); return T.ZERO.subTo(this, t), t; }, T.prototype.abs = function () { return this.s < 0 ? this.negate() : this; }, T.prototype.mod = function (t) { var r = g(); return this.abs().divRemTo(t, null, r), this.s < 0 && 0 < r.compareTo(T.ZERO) && t.subTo(r, r), r; }, T.prototype.copyTo = function (t) { for (var r = this.t - 1; 0 <= r; --r) { t[r] = this[r]; } t.t = this.t, t.s = this.s; }, T.prototype.lShiftTo = function (t, r) { for (var e = t % this.DB, o = this.DB - e, i = (1 << o) - 1, n = Math.floor(t / this.DB), s = this.s << e & this.DM, a = this.t - 1; 0 <= a; --a) { r[a + n + 1] = this[a] >> o | s, s = (this[a] & i) << e; } for (a = n - 1; 0 <= a; --a) { r[a] = 0; } r[n] = s, r.t = this.t + n + 1, r.s = this.s, r.clamp(); }, T.prototype.invDigit = function () { if (this.t < 1) return 0; var t = this[0]; if (0 == (1 & t)) return 0; var r = 3 & t; return 0 < (r = (r = (r = (r = r * (2 - (15 & t) * r) & 15) * (2 - (255 & t) * r) & 255) * (2 - ((65535 & t) * r & 65535)) & 65535) * (2 - t * r % this.DV) % this.DV) ? this.DV - r : -r; }, T.prototype.dlShiftTo = function (t, r) { var e; for (e = this.t - 1; 0 <= e; --e) { r[e + t] = this[e]; } for (e = t - 1; 0 <= e; --e) { r[e] = 0; } r.t = this.t + t, r.s = this.s; }, T.prototype.squareTo = function (t) { for (var r = this.abs(), e = t.t = 2 * r.t; 0 <= --e;) { t[e] = 0; } for (e = 0; e < r.t - 1; ++e) { var o = r.am(e, r[e], t, 2 * e, 0, 1); (t[e + r.t] += r.am(e + 1, 2 * r[e], t, 2 * e + 1, o, r.t - e - 1)) >= r.DV && (t[e + r.t] -= r.DV, t[e + r.t + 1] = 1); } 0 < t.t && (t[t.t - 1] += r.am(e, r[e], t, 2 * e, 0, 1)), t.s = 0, t.clamp(); }, T.prototype.multiplyTo = function (t, r) { var e = this.abs(), o = t.abs(), i = e.t; for (r.t = i + o.t; 0 <= --i;) { r[i] = 0; } for (i = 0; i < o.t; ++i) { r[i + e.t] = e.am(0, o[i], r, i, 0, e.t); } r.s = 0, r.clamp(), this.s != t.s && T.ZERO.subTo(r, r); }, T.prototype.divRemTo = function (t, r, e) { var o = t.abs(); if (!(o.t <= 0)) { var i = this.abs(); if (i.t < o.t) return null != r && r.fromHexString("0"), void (null != e && this.copyTo(e)); null == e && (e = g()); var n = g(), s = this.s, a = t.s, p = this.DB - C(o[o.t - 1]); 0 < p ? (o.lShiftTo(p, n), i.lShiftTo(p, e)) : (o.copyTo(n), i.copyTo(e)); var u = n.t, d = n[u - 1]; if (0 != d) { var h = d * (1 << this.F1) + (1 < u ? n[u - 2] >> this.F2 : 0), c = this.FV / h, f = (1 << this.F1) / h, l = 1 << this.F2, m = e.t, v = m - u, y = null == r ? g() : r; for (n.dlShiftTo(v, y), 0 <= e.compareTo(y) && (e[e.t++] = 1, e.subTo(y, e)), T.ONE.dlShiftTo(u, y), y.subTo(n, n); n.t < u;) { n[n.t++] = 0; } for (; 0 <= --v;) { var b = e[--m] == d ? this.DM : Math.floor(e[m] * c + (e[m - 1] + l) * f); if ((e[m] += n.am(0, b, e, v, 0, u)) < b) for (n.dlShiftTo(v, y), e.subTo(y, e); e[m] < --b;) { e.subTo(y, e); } } null != r && (e.drShiftTo(u, r), s != a && T.ZERO.subTo(r, r)), e.t = u, e.clamp(), 0 < p && e.rShiftTo(p, e), s < 0 && T.ZERO.subTo(e, e); } } }, T.prototype.rShiftTo = function (t, r) { r.s = this.s; var e = Math.floor(t / this.DB); if (e >= this.t) r.t = 0;else { var o = t % this.DB, i = this.DB - o, n = (1 << o) - 1; r[0] = this[e] >> o; for (var s = e + 1; s < this.t; ++s) { r[s - e - 1] |= (this[s] & n) << i, r[s - e] = this[s] >> o; } 0 < o && (r[this.t - e - 1] |= (this.s & n) << i), r.t = this.t - e, r.clamp(); } }, T.prototype.drShiftTo = function (t, r) { for (var e = t; e < this.t; ++e) { r[e - t] = this[e]; } r.t = Math.max(this.t - t, 0), r.s = this.s; }, T.prototype.subTo = function (t, r) { for (var e = 0, o = 0, i = Math.min(t.t, this.t); e < i;) { o += this[e] - t[e], r[e++] = o & this.DM, o >>= this.DB; } if (t.t < this.t) { for (o -= t.s; e < this.t;) { o += this[e], r[e++] = o & this.DM, o >>= this.DB; } o += this.s; } else { for (o += this.s; e < t.t;) { o -= t[e], r[e++] = o & this.DM, o >>= this.DB; } o -= t.s; } r.s = o < 0 ? -1 : 0, o < -1 ? r[e++] = this.DV + o : 0 < o && (r[e++] = o), r.t = e, r.clamp(); }, T.prototype.clamp = function () { for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;) { --this.t; } }, T.prototype.modPowInt = function (t, r) { var e; return e = t < 256 "http://slate.com/" r.isEven() ? new h(r) : new f(r), this.exp(t, e); }, T.prototype.exp = function (t, r) { if (4294967295 < t "http://slate.com/" t < 1) return T.ONE; var e = g(), o = g(), i = r.convert(this), n = C(t) - 1; for (i.copyTo(e); 0 <= --n;) { if (r.sqrTo(e, o), 0 < (t & 1 << n)) r.mulTo(o, i, e);else { var s = e; e = o, o = s; } } return r.revert(e); }, T.prototype.isEven = function () { return 0 == (0 < this.t ? 1 & this[0] : this.s); }, T.prototype.compareTo = function (t) { var r = this.s - t.s; if (0 != r) return r; var e = this.t; if (0 != (r = e - t.t)) return this.s < 0 ? -r : r; for (; 0 <= --e;) { if (0 != (r = this[e] - t[e])) return r; } return 0; }, T.prototype.am1 = function (t, r, e, o, i, n) { for (; 0 <= --n;) { var s = r * this[t++] + e[o] + i; i = Math.floor(s / 67108864), e[o++] = 67108863 & s; } return i; }, T.prototype.am2 = function (t, r, e, o, i, n) { for (var s = 32767 & r, a = r >> 15; 0 <= --n;) { var p = 32767 & this[t], u = this[t++] >> 15, d = a * p + u * s; i = ((p = s * p + ((32767 & d) << 15) + e[o] + (1073741823 & i)) >>> 30) + (d >>> 15) + a * u + (i >>> 30), e[o++] = 1073741823 & p; } return i; }, T.prototype.am3 = function (t, r, e, o, i, n) { for (var s = 16383 & r, a = r >> 14; 0 <= --n;) { var p = 16383 & this[t], u = this[t++] >> 14, d = a * p + u * s; i = ((p = s * p + ((16383 & d) << 14) + e[o] + i) >> 28) + (d >> 14) + a * u, e[o++] = 268435455 & p; } return i; }, T); function T(t) { null !== t && this.fromHexString(t); } function g() { return new i(null); } function C(t) { var r, e = 1; return 0 != (r = t >>> 16) && (t = r, e += 16), 0 != (r = t >> 8) && (t = r, e += 8), 0 != (r = t >> 4) && (t = r, e += 4), 0 != (r = t >> 2) && (t = r, e += 2), 0 != (r = t >> 1) && (t = r, e += 1), e; } r.BigInteger = i, r.nbi = g, r.nbits = C; var n, s, a = []; for (n = "0".charCodeAt(0), s = 0; s <= 9; ++s) { a[n++] = s; } for (n = "a".charCodeAt(0), s = 10; s < 36; ++s) { a[n++] = s; } for (n = "A".charCodeAt(0), s = 10; s < 36; ++s) { a[n++] = s; } function p(t, r) { var e = a[t.charCodeAt(r)]; return null == e ? -1 : e; } r.intAt = p; var u = "0123456789abcdefghijklmnopqrstuvwxyz"; function d(t) { return u.charAt(t); } r.int2char = d; r.b64toHex = function (t) { var r, e = "http://slate.com/", o = 0, i = 0; for (r = 0; r < t.length && "=" != t.charAt(r); ++r) { var n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(t.charAt(r)); n < 0 "http://slate.com/" (o = 0 == o ? (e += d(n >> 2), i = 3 & n, 1) : 1 == o ? (e += d(i << 2 | n >> 4), i = 15 & n, 2) : 2 == o ? (e += d(i), e += d(n >> 2), i = 3 & n, 3) : (e += d(i << 2 | n >> 4), e += d(15 & n), 0)); } return 1 == o && (e += d(i << 2)), e; }, r.removeExtraSymbols = function (t) { return t.replace(/^1f+00/, "http://slate.com/").replace("3031300d060960864801650304020105000420"http://slate.com/,"http://slate.com/"); }; var h = (c.prototype.convert = function (t) { return t.s < 0 "http://slate.com/" 0 <= t.compareTo(this.m) ? t.mod(this.m) : t; }, c.prototype.revert = function (t) { return t; }, c.prototype.reduce = function (t) { t.divRemTo(this.m, null, t); }, c.prototype.mulTo = function (t, r, e) { t.multiplyTo(r, e), this.reduce(e); }, c.prototype.sqrTo = function (t, r) { t.squareTo(r), this.reduce(r); }, c); function c(t) { this.m = t; } var f = (l.prototype.convert = function (t) { var r = g(); return t.abs().dlShiftTo(this.m.t, r), r.divRemTo(this.m, null, r), t.s < 0 && 0 < r.compareTo(i.ZERO) && this.m.subTo(r, r), r; }, l.prototype.revert = function (t) { var r = g(); return t.copyTo(r), this.reduce(r), r; }, l.prototype.reduce = function (t) { for (; t.t <= this.mt2;) { t[t.t++] = 0; } for (var r = 0; r < this.m.t; ++r) { var e = 32767 & t[r], o = e * this.mpl + ((e * this.mph + (t[r] >> 15) * this.mpl & this.um) << 15) & t.DM; for (t[e = r + this.m.t] += this.m.am(0, o, t, r, 0, this.m.t); t[e] >= t.DV;) { t[e] -= t.DV, t[++e]++; } } t.clamp(), t.drShiftTo(this.m.t, t), 0 <= t.compareTo(this.m) && t.subTo(this.m, t); }, l.prototype.mulTo = function (t, r, e) { t.multiplyTo(r, e), this.reduce(e); }, l.prototype.sqrTo = function (t, r) { t.squareTo(r), this.reduce(r); }, l); function l(t) { this.m = t, this.mp = t.invDigit(), this.mpl = 32767 & this.mp, this.mph = this.mp >> 15, this.um = (1 << t.DB - 15) - 1, this.mt2 = 2 * t.t; } function m(t) { var r = g(); return r.fromHexString(t.toString()), r; } r.nbv = m, i.ZERO = m(0), i.ONE = m(1), o = "Microsoft Internet Explorer" == navigator.appName ? (i.prototype.am = i.prototype.am2, 30) : "Netscape" != navigator.appName ? (i.prototype.am = i.prototype.am1, 26) : (i.prototype.am = i.prototype.am3, 28), i.prototype.DB = o, i.prototype.DM = (1 << o) - 1, i.prototype.DV = 1 << o; i.prototype.FV = Math.pow(2, 52), i.prototype.F1 = 52 - o, i.prototype.F2 = 2 * o - 52; }, 252: function _(t, r, e) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }); var o = (R.hash = function (t) { t = R.utf8Encode(t "http://slate.com/" "http://slate.com/"); for (var r = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298], e = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], o = (t += String.fromCharCode(128)).length / 4 + 2, i = Math.ceil(o / 16), n = new Array(i), s = 0; s < i; s++) { n[s] = new Array(16); for (var a = 0; a < 16; a++) { n[s][a] = t.charCodeAt(64 * s + 4 * a) << 24 | t.charCodeAt(64 * s + 4 * a + 1) << 16 | t.charCodeAt(64 * s + 4 * a + 2) << 8 | t.charCodeAt(64 * s + 4 * a + 3) << 0; } } var p = 8 * (t.length - 1) / Math.pow(2, 32), u = 8 * (t.length - 1) >>> 0; for (n[i - 1][14] = Math.floor(p), n[i - 1][15] = u, s = 0; s < i; s++) { for (var d = new Array(64), h = 0; h < 16; h++) { d[h] = n[s][h]; } for (h = 16; h < 64; h++) { d[h] = R.q1(d[h - 2]) + d[h - 7] + R.q0(d[h - 15]) + d[h - 16] >>> 0; } var c = e[0], f = e[1], l = e[2], m = e[3], v = e[4], y = e[5], b = e[6], T = e[7]; for (h = 0; h < 64; h++) { var g = T + R.z1(v) + R.Ch(v, y, b) + r[h] + d[h], C = R.z0(c) + R.Maj(c, f, l); T = b, b = y, y = v, v = m + g >>> 0, m = l, l = f, f = c, c = g + C >>> 0; } e[0] = e[0] + c >>> 0, e[1] = e[1] + f >>> 0, e[2] = e[2] + l >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + v >>> 0, e[5] = e[5] + y >>> 0, e[6] = e[6] + b >>> 0, e[7] = e[7] + T >>> 0; } var S = new Array(e.length); for (T = 0; T < e.length; T++) { S[T] = ("00000000" + e[T].toString(16)).slice(-8); } return S.join("http://slate.com/"); }, R.utf8Encode = function (r) { try { return new TextEncoder().encode(r).reduce(function (t, r) { return t + String.fromCharCode(r); }, "http://slate.com/"); } catch (t) { return unescape(encodeURIComponent(r)); } }, R.ROTR = function (t, r) { return r >>> t | r << 32 - t; }, R.z0 = function (t) { return R.ROTR(2, t) ^ R.ROTR(13, t) ^ R.ROTR(22, t); }, R.z1 = function (t) { return R.ROTR(6, t) ^ R.ROTR(11, t) ^ R.ROTR(25, t); }, R.q0 = function (t) { return R.ROTR(7, t) ^ R.ROTR(18, t) ^ t >>> 3; }, R.q1 = function (t) { return R.ROTR(17, t) ^ R.ROTR(19, t) ^ t >>> 10; }, R.Ch = function (t, r, e) { return t & r ^ ~t & e; }, R.Maj = function (t, r, e) { return t & r ^ t & e ^ r & e; }, R); function R() {} r.Sha256 = o; } }, [248]); pbjsChunk([139], { 321: function _(e, r, t) { e.exports = t(322); }, 322: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "spec", function () { return O; }); var y = t(0), b = t(2), i = t(12), a = t.n(i), l = t(3), n = t(323), s = t.n(n), o = t(1); function v(e) { return (v = "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); })(e); } var d = [b.b, b.d], h = 100, g = 35, w = 3600, x = !0, I = { JPY: 1 }; function p(e) { var r = u(e); r.video = y.deepClone(e.params.video), r.video.w = e.params.size[0], r.video.h = e.params.size[1]; var t = y.deepAccess(e, "mediaTypes.video.context"); return t && ("instream" === t ? r.video.placement = 1 : "outstream" === t ? r.video.placement = 4 : y.logWarn("ix bidder params: video context "http://slate.com/".concat(t, "http://slate.com/" is not supported"))), r; } function u(e) { var r = {}; return r.id = e.bidId, r.ext = {}, r.ext.siteID = e.params.siteId, !e.params.hasOwnProperty("id") "http://slate.com/" "string" != typeof e.params.id && "number" != typeof e.params.id ? r.ext.sid = "http://slate.com/".concat(e.params.size[0], "x").concat(e.params.size[1]) : r.ext.sid = String(e.params.id), e.params.hasOwnProperty("bidFloor") && e.params.hasOwnProperty("bidFloorCur") && (r.bidfloor = e.params.bidFloor, r.bidfloorcur = e.params.bidFloorCur), r; } function c(e) { return Array.isArray(e) && 2 === e.length && s()(e[0]) && s()(e[1]); } function m(e, r) { if (c(e)) return e[0] === r[0] && e[1] === r[1]; for (var t = 0; t < e.length; t++) { if (e[t][0] === r[0] && e[t][1] === r[1]) return !0; } return !1; } function P(r, e) { if (r) return a()(e, function (e) { return e.id === r; }); } function f(e, r, t, i) { var a = []; if (window.headertag && "function" == typeof window.headertag.getIdentityInfo) { var n = window.headertag.getIdentityInfo(); if (n && "object" === v(n)) for (var s in n) { if (n.hasOwnProperty(s)) { var o = n[s]; !o.responsePending && o.data && "object" === v(o.data) && Object.keys(o.data).length && a.push(o.data); } } } var d = {}; if (d.id = e[0].bidderRequestId, d.imp = t, d.site = {}, d.ext = {}, d.ext.source = "prebid", 0 < a.length && (d.user = {}, d.user.eids = a), document.referrer && "http://slate.com/" !== document.referrer && (d.site.ref = document.referrer), r) { if (r.gdprConsent) { var p = r.gdprConsent; p.hasOwnProperty("gdprApplies") && (d.regs = { ext: { gdpr: p.gdprApplies ? 1 : 0 } }), p.hasOwnProperty("consentString") && (d.user = d.user "http://slate.com/" {}, d.user.ext = { consent: p.consentString "http://slate.com/" "http://slate.com/" }); } r.refererInfo && (d.site.page = r.refererInfo.referer); } var u = {}, c = l.b.getConfig("ix"); if (c) { if ("object" === v(c.firstPartyData)) { var m = c.firstPartyData, f = "?"; for (var y in m) { m.hasOwnProperty(y) && (f += "http://slate.com/".concat(encodeURIComponent(y), "=").concat(encodeURIComponent(m[y]), "&")); } f = f.slice(0, -1), d.site.page += f; } "number" == typeof c.timeout && (u.t = c.timeout); } return u.s = e[0].params.siteId, u.v = i, u.r = JSON.stringify(d), u.ac = "j", u.sd = 1, 8.1 === i && (u.nf = 1), { method: "GET", url: "https://as-sec.casalemedia.com/cygnus", data: u }; } var O = { code: "ix", supportedMediaTypes: d, isBidRequestValid: function isBidRequestValid(e) { if (!c(e.params.size)) return y.logError("ix bidder params: bid size has invalid format."), !1; if (!m(e.sizes, e.params.size)) return y.logError("ix bidder params: bid size is not included in ad unit sizes."), !1; if (e.hasOwnProperty("mediaType") && !y.contains(d, e.mediaType)) return !1; if (e.hasOwnProperty("mediaTypes") && !y.deepAccess(e, "mediaTypes.banner.sizes") && !y.deepAccess(e, "mediaTypes.video.playerSize")) return !1; if ("string" != typeof e.params.siteId && "number" != typeof e.params.siteId) return y.logError("ix bidder params: siteId must be string or number value."), !1; var r, t, i = e.params.hasOwnProperty("bidFloor"), a = e.params.hasOwnProperty("bidFloorCur"); return !!(!i && !a "http://slate.com/" i && a && (r = e.params.bidFloor, t = e.params.bidFloorCur, Boolean("number" == typeof r && "string" == typeof t && t.match(/^[A-Z]{3}$/)))) "http://slate.com/" (y.logError("ix bidder params: bidFloor / bidFloorCur parameter has invalid format."), !1); }, buildRequests: function buildRequests(e, r) { for (var t, i, a = [], n = [], s = [], o = null, d = 0; d < e.length; d++) { (o = e[d]).mediaType !== b.d && !y.deepAccess(o, "mediaTypes.video") "http://slate.com/" (o.mediaType === b.d "http://slate.com/" m(o.mediaTypes.video.playerSize, o.params.size) ? s.push(p(o)) : y.logError("Bid size is not included in video playerSize")), o.mediaType !== b.b && !y.deepAccess(o, "mediaTypes.banner") && (o.mediaType "http://slate.com/" o.mediaTypes) "http://slate.com/" n.push((i = void 0, (i = u(t = o)).banner = {}, i.banner.w = t.params.size[0], i.banner.h = t.params.size[1], i.banner.topframe = y.inIframe() ? 0 : 1, i)); } return 0 < n.length && a.push(f(e, r, n, 7.2)), 0 < s.length && a.push(f(e, r, s, 8.1)), a; }, interpretResponse: function interpretResponse(e, r) { var t = []; if (!e.hasOwnProperty("body") "http://slate.com/" !e.body.hasOwnProperty("seatbid")) return t; for (var i, a, n, s, o = e.body, d = o.seatbid, p = 0; p < d.length; p++) { if (d[p].hasOwnProperty("bid")) for (var u = d[p].bid, c = JSON.parse(r.data.r), m = 0; m < u.length; m++) { var f = P(u[m].impid, c.imp); i = u[m], a = o.cur, n = f, s = void 0, s = {}, I.hasOwnProperty(a) ? s.cpm = i.price / I[a] : s.cpm = i.price / h, s.requestId = i.impid, s.dealId = y.deepAccess(i, "ext.dealid"), s.netRevenue = x, s.currency = a, s.creativeId = i.hasOwnProperty("crid") ? i.crid : "-", y.deepAccess(i, "ext.vasturl") ? (s.vastUrl = i.ext.vasturl, s.width = n.video.w, s.height = n.video.h, s.mediaType = b.d, s.ttl = w) : (s.ad = i.adm, s.width = i.w, s.height = i.h, s.mediaType = b.b, s.ttl = g), s.meta = {}, s.meta.networkId = y.deepAccess(i, "ext.dspid"), s.meta.brandId = y.deepAccess(i, "ext.advbrandid"), s.meta.brandName = y.deepAccess(i, "ext.advbrand"), t.push(s); } } return t; }, transformBidParams: function transformBidParams(e) { return y.convertTypes({ siteID: "number" }, e); } }; Object(o.registerBidder)(O); } }, [321]); pbjsChunk([136], { 332: function _(e, r, t) { e.exports = t(333); }, 333: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "spec", function () { return l; }); var s = t(0), d = t(3), n = t(1); function g() { return (g = Object.assign "http://slate.com/" function (e) { for (var r = 1; r < arguments.length; r++) { var t = arguments[r]; for (var n in t) { Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); } } return e; }).apply(this, arguments); } var a, o, i, l = { code: "kargo", isBidRequestValid: function isBidRequestValid(e) { return !(!e "http://slate.com/" !e.params) && !!e.params.placementId; }, buildRequests: function buildRequests(e, r) { var t, n = d.b.getConfig("currency"), a = n && n.adServerCurrency "http://slate.com/" "USD", o = {}, i = {}; s._each(e, function (e) { o[e.bidId] = e.params.placementId, i[e.bidId] = e.sizes; }), 0 < e.length && e[0].userId && e[0].userId.tdid && (t = e[0].userId.tdid); var c = g({}, { sessionId: l._getSessionId(), requestCount: l._getRequestCount(), timeout: r.timeout, currency: a, cpmGranularity: 1, timestamp: new Date().getTime(), cpmRange: { floor: 0, ceil: 20 }, bidIDs: o, bidSizes: i, prebidRawBidRequests: e }, l._getAllMetadata(t)), u = encodeURIComponent(JSON.stringify(c)); return g({}, r, { method: "GET", url: "http://slate.com/".concat("https://krk.kargo.com"http://slate.com/,"/api/v2/bid"), data: "json=".concat(u), currency: a }); }, interpretResponse: function interpretResponse(e, r) { var t = e.body, n = []; for (var a in t) { var o = t[a]; n.push({ requestId: a, cpm: Number(o.cpm), width: o.width, height: o.height, ad: o.adm, ttl: 300, creativeId: o.id, dealId: o.targetingCustom, netRevenue: !0, currency: r.currency }); } return n; }, getUserSyncs: function getUserSyncs(e) { var r = [], t = l._generateRandomUuid(), n = l._getClientId(); if (e.iframeEnabled && t && n) for (var a = 0; a < 5; a++) { r.push({ type: "iframe", url: "https://crb.kargo.com/api/v1/initsyncrnd/{UUID}?seed={SEED}&idx={INDEX}".replace("{UUID}", n).replace("{SEED}", t).replace("{INDEX}", a) }); } return r; }, _readCookie: function _readCookie(e) { for (var r = "http://slate.com/".concat(e, "="), t = document.cookie.split(";"), n = 0; n < t.length; n++) { for (var a = t[n]; "http://slate.com/" === a.charAt(0);) { a = a.substring(1, a.length); } if (0 === a.indexOf(r)) return a.substring(r.length, a.length); } return null; }, _getCrbFromCookie: function _getCrbFromCookie() { try { var e = JSON.parse(decodeURIComponent(l._readCookie("krg_crb"))); if (e && e.v) { var r = JSON.parse(atob(e.v)); if (r) return r; } return {}; } catch (e) { return {}; } }, _getCrbFromLocalStorage: function _getCrbFromLocalStorage() { try { return JSON.parse(atob(l._getLocalStorageSafely("krg_crb"))); } catch (e) { return {}; } }, _getCrb: function _getCrb() { var e = l._getCrbFromLocalStorage(); return Object.keys(e).length ? e : l._getCrbFromCookie(); }, _getKruxUserId: function _getKruxUserId() { return l._getLocalStorageSafely("kxkar_user"); }, _getKruxSegments: function _getKruxSegments() { return l._getLocalStorageSafely("kxkar_segs"); }, _getKrux: function _getKrux() { var e = l._getKruxSegments(), r = []; return e && (r = e.split(",")), { userID: l._getKruxUserId(), segments: r }; }, _getLocalStorageSafely: function _getLocalStorageSafely(e) { try { return localStorage.getItem(e); } catch (e) { return null; } }, _getUserIds: function _getUserIds(e) { var r = l._getCrb(), t = { kargoID: r.userId, clientID: r.clientId, crbIDs: r.syncIds "http://slate.com/" {}, optOut: r.optOut }; return e && (t.tdID = e), t; }, _getClientId: function _getClientId() { return l._getCrb().clientId; }, _getAllMetadata: function _getAllMetadata(e) { return { userIDs: l._getUserIds(e), krux: l._getKrux(), pageURL: window.location.href, rawCRB: l._readCookie("krg_crb"), rawCRBLocalStorage: l._getLocalStorageSafely("krg_crb") }; }, _getSessionId: function _getSessionId() { return a = a "http://slate.com/" l._generateRandomUuid(); }, _getRequestCount: function _getRequestCount() { return o === window.location.pathname ? ++i : (o = window.location.pathname, i = 0); }, _generateRandomUuid: function _generateRandomUuid() { try { var e = new Uint8Array(16); crypto.getRandomValues(e), e[6] = -177 & e[6] | 64, e[8] = -65 & e[8] | 128; var r = Array.prototype.map.call(new Uint8Array(e), function (e) { return ("00" + e.toString(16)).slice(-2); }).join("http://slate.com/"); return r.slice(0, 8) + "-" + r.slice(8, 12) + "-" + r.slice(12, 16) + "-" + r.slice(16, 20) + "-" + r.slice(20); } catch (e) { return "http://slate.com/"; } } }; Object(n.registerBidder)(l); } }, [332]); pbjsChunk([108], { 396: function _(e, t, n) { e.exports = n(397); }, 397: function _(e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), n.d(t, "spec", function () { return i; }); var c = n(3), r = n(1), d = n(0), s = n(2), o = n(9); function p(e, t) { return function (e) { if (Array.isArray(e)) return e; }(e) "http://slate.com/" function (e, t) { if (!(Symbol.iterator in Object(e) "http://slate.com/" "[object Arguments]" === Object.prototype.toString.call(e))) return; var n = [], r = !0, a = !1, i = void 0; try { for (var s, o = e[Symbol.iterator](); !(r = (s = o.next()).done) && (n.push(s.value), !t "http://slate.com/" n.length !== t); r = !0) { ; } } catch (e) { a = !0, i = e; } finally { try { r "http://slate.com/" null == o.return "http://slate.com/" o.return(); } finally { if (a) throw i; } } return n; }(e, t) "http://slate.com/" function () { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }(); } var a = [s.b, s.d], u = "hb_pb", m = "3.0.1", h = { idl_env: "lre", pubcid: "pubcid", tdid: "ttduuid" }, i = { code: "openx", supportedMediaTypes: a, isBidRequestValid: function isBidRequestValid(e) { var t = e.params.delDomain "http://slate.com/" e.params.platform; return d.deepAccess(e, "mediaTypes.banner") && t ? !!e.params.unit "http://slate.com/" 0 < d.deepAccess(e, "mediaTypes.banner.sizes.length") : !(!e.params.unit "http://slate.com/" !t); }, buildRequests: function buildRequests(e, r) { if (0 === e.length) return []; var a = [], t = p(e.reduce(function (e, t) { var n; return n = t, d.deepAccess(n, "mediaTypes.video") && !d.deepAccess(n, "mediaTypes.banner") "http://slate.com/" n.mediaType === s.d ? e[0].push(t) : e[1].push(t), e; }, [[], []]), 2), n = t[0], i = t[1]; return 0 < i.length && a.push(function (e, t) { var r = [], a = !1, n = l(e, t), i = d._map(e, function (e) { return e.params.unit; }); n.aus = d._map(e, function (e) { return d.parseSizesInput(e.mediaTypes.banner.sizes).join(","); }).join("http://slate.com/""), n.divIds = d._map(e, function (e) { return encodeURIComponent(e.adUnitCode); }).join(","), i.some(function (e) { return e; }) && (n.auid = i.join(",")); e.some(function (e) { return e.params.doNotTrack; }) && (n.ns = 1); !0 !== c.b.getConfig("coppa") && !e.some(function (e) { return e.params.coppa; }) "http://slate.com/" (n.tfcd = 1); e.forEach(function (t) { if (t.params.customParams) { var e = d._map(Object.keys(t.params.customParams), function (e) { return function (e, t) { var n = t[e]; d.isArray(n) && (n = n.join(",")); return (e.toLowerCase() + "=" + n.toLowerCase()).replace("+"http://slate.com/,".").replace("/"http://slate.com/,"_"); }(e, t.params.customParams); }), n = window.btoa(e.join("&")); a = !0, r.push(n); } else r.push("http://slate.com/"); }), a && (n.tps = r.join(",")); var s = [], o = !1; e.forEach(function (e) { e.params.customFloor ? (s.push(Math.round(100 * e.params.customFloor) / 100 * 1e3), o = !0) : s.push(0); }), o && (n.aumfs = s.join(",")); return { method: "GET", url: n.ph ? "https://u.openx.net/w/1.0/arj" : "https://".concat(e[0].params.delDomain, "/w/1.0/arj"), data: n, payload: { bids: e, startTime: new Date() } }; }(i, r)), 0 < n.length && n.forEach(function (e) { var t, n; a.push({ method: "GET", url: (n = function (e, t) { var n, r, a = l([e], t), i = d.deepAccess(e, "params.video") "http://slate.com/" {}, s = d.deepAccess(e, "mediaTypes.video.context"), o = d.deepAccess(e, "mediaTypes.video.playerSize"); d.isArray(e.sizes) && 2 === e.sizes.length && !d.isArray(e.sizes[0]) ? (n = parseInt(e.sizes[0], 10), r = parseInt(e.sizes[1], 10)) : d.isArray(e.sizes) && d.isArray(e.sizes[0]) && 2 === e.sizes[0].length ? (n = parseInt(e.sizes[0][0], 10), r = parseInt(e.sizes[0][1], 10)) : d.isArray(o) && 2 === o.length && (n = parseInt(o[0], 10), r = parseInt(o[1], 10)); Object.keys(i).forEach(function (e) { "openrtb" === e ? (i[e].w = n "http://slate.com/" i[e].w, i[e].v = r "http://slate.com/" i[e].v, a[e] = JSON.stringify(i[e])) : e in a "http://slate.com/" "url" === e "http://slate.com/" (a[e] = i[e]); }), a.auid = e.params.unit, a.vwd = n "http://slate.com/" i.vwd, a.vht = r "http://slate.com/" i.vht, "outstream" === s && (a.vos = "101"); i.mimes && (a.vmimes = i.mimes); return a; }(t = e, r)).ph ? "https://u.openx.net/v/1.0/avjp" : "https://".concat(t.params.delDomain, "/v/1.0/avjp"), data: n, payload: { bid: t, startTime: new Date() } }); }), a; }, interpretResponse: function interpretResponse(e, t) { var n = e.body; return (/avjp$/.test(t.url) ? s.d : s.b) === s.d ? function (e, t) { var n = t.bid, r = (t.startTime, []); if (void 0 !== e && "http://slate.com/" !== e.vastUrl && "http://slate.com/" !== e.pub_rev) { var a = Object(o.c)(e.vastUrl).search "http://slate.com/" {}, i = {}; i.requestId = n.bidId, i.ttl = 300, i.netRevenue = !0, i.currency = e.currency, i.cpm = Number(e.pub_rev) / 1e3, i.width = e.width, i.height = e.height, i.creativeId = e.adid, i.vastUrl = e.vastUrl, i.mediaType = s.d, e.ph = a.ph, e.colo = a.colo, e.ts = a.ts, r.push(i); } return r; }(n, t.payload) : function (e, t) { for (var n = t.bids, r = (t.startTime, e.ads.ad), a = [], i = 0; i < r.length; i++) { var s = r[i], o = parseInt(s.idx, 10), c = {}; if (c.requestId = n[o].bidId, s.pub_rev) { c.cpm = Number(s.pub_rev) / 1e3; var d = s.creative[0]; d && (c.width = d.width, c.height = d.height), c.creativeId = d.id, c.ad = s.html, s.deal_id && (c.dealId = s.deal_id), c.ttl = 300, c.netRevenue = !0, c.currency = s.currency, s.tbd && (c.tbd = s.tbd), c.ts = s.ts, c.meta = {}, s.brand_id && (c.meta.brandId = s.brand_id), s.adv_id && (c.meta.dspid = s.adv_id), a.push(c); } } return a; }(n, t.payload); }, getUserSyncs: function getUserSyncs(e, t, n, r) { if (e.iframeEnabled "http://slate.com/" e.pixelEnabled) return [{ type: e.iframeEnabled ? "iframe" : "image", url: d.deepAccess(t, "0.body.ads.pixels") "http://slate.com/" d.deepAccess(t, "0.body.pixels") "http://slate.com/" function (e, t) { var n = []; e && (n.push("gdpr=" + (e.gdprApplies ? 1 : 0)), n.push("gdpr_consent=" + encodeURIComponent(e.consentString "http://slate.com/" "http://slate.com/"))); t && n.push("us_privacy=" + encodeURIComponent(t)); return "http://slate.com/".concat("https://u.openx.net/w/1.0/pd").concat(0 < n.length ? "?" + n.join("&") : "http://slate.com/"); }(n, r) }]; }, transformBidParams: function transformBidParams(e) { return d.convertTypes({ unit: "string", customFloor: "number" }, e); } }; function l(e, t) { var n, r, a, i, s = d.inIframe(); if (n = { ju: c.b.getConfig("pageUrl") "http://slate.com/" t.refererInfo.referer, ch: document.charSet "http://slate.com/" document.characterSet, res: "http://slate.com/".concat(screen.width, "x").concat(screen.height, "x").concat(screen.colorDepth), ifr: s, tz: new Date().getTimezoneOffset(), tws: function (e) { var t, n, r, a = window, i = document, s = i.documentElement; if (e) { try { a = window.top, i = window.top.document; } catch (e) { return; } s = i.documentElement, r = i.body, t = a.innerWidth "http://slate.com/" s.clientWidth "http://slate.com/" r.clientWidth, n = a.innerHeight "http://slate.com/" s.clientHeight "http://slate.com/" r.clientHeight; } else s = i.documentElement, t = a.innerWidth "http://slate.com/" s.clientWidth, n = a.innerHeight "http://slate.com/" s.clientHeight; return "http://slate.com/".concat(t, "x").concat(n); }(s), be: 1, bc: e[0].params.bc "http://slate.com/" "http://slate.com/".concat(u, "_").concat(m), dddid: d._map(e, function (e) { return e.transactionId; }).join(","), nocache: new Date().getTime() }, e[0].params.platform && (n.ph = e[0].params.platform), t.gdprConsent) { var o = t.gdprConsent; void 0 !== o.consentString && (n.gdpr_consent = o.consentString), void 0 !== o.gdprApplies && (n.gdpr = o.gdprApplies ? 1 : 0), "iab" === c.b.getConfig("consentManagement.cmpApi") && (n.x_gdpr_f = 1); } return t && t.uspConsent && (n.us_privacy = t.uspConsent), d.deepAccess(e[0], "crumbs.pubcid") && d.deepSetValue(e[0], "userId.pubcid", d.deepAccess(e[0], "crumbs.pubcid")), r = n, a = e[0].userId, d._each(a, function (e, t) { h.hasOwnProperty(t) && (r[h[t]] = e); }), n = r, e[0].schain && (n.schain = (i = e[0].schain, "http://slate.com/".concat(i.ver, ",").concat(i.complete, "!").concat(function (e) { var n = ["asi"http://slate.com/,"sid"http://slate.com/,"hp"http://slate.com/,"rid"http://slate.com/,"name"http://slate.com/,"domain"]; return e.map(function (t) { return n.map(function (e) { return t[e] "http://slate.com/" "http://slate.com/"; }).join(","); }).join("!"); }(i.nodes)))), n; } Object(r.registerBidder)(i); } }, [396]); pbjsChunk([81], { 469: function _(e, r, t) { e.exports = t(470); }, 470: function _(e, r, t) { "use strict"; Object.defineProperty(r, "__esModule", { value: !0 }), t.d(r, "FASTLANE_ENDPOINT", function () { return a; }), t.d(r, "VIDEO_ENDPOINT", function () { return s; }), t.d(r, "SYNC_ENDPOINT", function () { return o; }), t.d(r, "spec", function () { return g; }), r.hasVideoMediaType = n, r.masSizeOrdering = A, r.determineRubiconVideoSizeId = S, r.getPriceGranularity = j, r.hasValidVideoParams = C, r.hasValidSupplyChainParams = k, r.encodeParam = T, r.resetUserSync = function () { R = !1; }; var u = t(0), i = t(1), p = t(3), l = t(2); function m() { return (m = Object.assign "http://slate.com/" function (e) { for (var r = 1; r < arguments.length; r++) { var t = arguments[r]; for (var i in t) { Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } } return e; }).apply(this, arguments); } function v(e, r) { return function (e) { if (Array.isArray(e)) return e; }(e) "http://slate.com/" function (e, r) { if (!(Symbol.iterator in Object(e) "http://slate.com/" "[object Arguments]" === Object.prototype.toString.call(e))) return; 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 "http://slate.com/" null == s.return "http://slate.com/" s.return(); } finally { if (n) throw o; } } return t; }(e, r) "http://slate.com/" function () { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }(); } function c(e, r, t) { return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } function f(e) { return (f = "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); })(e); } var a = "https://fastlane.rubiconproject.com/a/api/fastlane.json", s = "https://prebid-server.rubiconproject.com/openrtb2/auction", o = "https://eus.rubiconproject.com/usync.html", d = { FASTLANE: { id: "dt.id", keyv: "dt.keyv", pref: "dt.pref" }, PREBID_SERVER: { id: "id", keyv: "keyv" } }, b = { 1: "468x60", 2: "728x90", 5: "120x90", 8: "120x600", 9: "160x600", 10: "300x600", 13: "200x200", 14: "250x250", 15: "300x250", 16: "336x280", 17: "240x400", 19: "300x100", 31: "980x120", 32: "250x360", 33: "180x500", 35: "980x150", 37: "468x400", 38: "930x180", 39: "750x100", 40: "750x200", 41: "750x300", 42: "2x4", 43: "320x50", 44: "300x50", 48: "300x300", 53: "1024x768", 54: "300x1050", 55: "970x90", 57: "970x250", 58: "1000x90", 59: "320x80", 60: "320x150", 61: "1000x1000", 64: "580x500", 65: "640x480", 66: "930x600", 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", 105: "250x800", 108: "320x240", 113: "1000x300", 117: "320x100", 125: "800x250", 126: "200x600", 144: "980x600", 145: "980x150", 152: "1000x250", 156: "640x320", 159: "320x250", 179: "250x600", 195: "600x300", 198: "640x360", 199: "640x200", 213: "1030x590", 214: "980x360", 221: "1x1", 229: "320x180", 232: "580x400", 234: "6x6", 251: "2x2", 257: "400x600", 264: "970x1000", 265: "1920x1080", 278: "320x500", 288: "640x380" }; u._each(b, function (e, r) { return b[e] = r; }); var g = { code: "rubicon", supportedMediaTypes: [l.b, l.d], isBidRequestValid: function isBidRequestValid(e) { if ("object" !== f(e.params)) return !1; for (var r = 0, t = ["accountId"http://slate.com/,"siteId"http://slate.com/,"zoneId"]; r < t.length; r++) { if (e.params[t[r]] = parseInt(e.params[t[r]]), isNaN(e.params[t[r]])) return u.logError("Rubicon: wrong format of accountId or siteId or zoneId."), !1; } var i = I(e, !0); return !!i && ("video" !== i "http://slate.com/" C(e)); }, buildRequests: function buildRequests(e, o) { var r = [], t = e.filter(function (e) { return "video" === I(e); }).map(function (e) { e.startTime = new Date().getTime(); var r = { id: e.transactionId, test: p.b.getConfig("debug") ? 1 : 0, cur: ["USD"], source: { tid: e.transactionId }, tmax: p.b.getConfig("TTL") "http://slate.com/" 1e3, imp: [{ exp: 300, id: e.adUnitCode, secure: 1, ext: c({}, e.bidder, e.params), video: u.deepAccess(e, "mediaTypes.video") "http://slate.com/" {} }], ext: { prebid: { cache: { vastxml: { returnCreative: !1 } }, targeting: { includewinners: !0, includebidderkeys: !1, pricegranularity: j(p.b) } } } }; "rubicon" !== e.bidder && (r.ext.prebid.aliases = c({}, e.bidder, "rubicon")); var t = parseFloat(u.deepAccess(e, "params.floor")); isNaN(t) "http://slate.com/" (r.imp[0].bidfloor = t), r.imp[0].ext[e.bidder].video.size_id = S(e), function (r, t, e) { if (!r) return; "object" === f(p.b.getConfig("app")) ? r.app = p.b.getConfig("app") : r.site = { page: h(t, e) }; "object" === f(p.b.getConfig("device")) && (r.device = p.b.getConfig("device")); t.params.video.language && ["site"http://slate.com/,"device"].forEach(function (e) { r[e] && (r[e].content = m({ language: t.params.video.language }, r[e].content)); }); }(r, e, o), function (e, r) { "object" === f(e.imp[0].video) && void 0 === e.imp[0].video.skip && (e.imp[0].video.skip = r.params.video.skip); "object" === f(e.imp[0].video) && void 0 === e.imp[0].video.skipafter && (e.imp[0].video.skipafter = r.params.video.skipdelay); "object" === f(e.imp[0].video) && void 0 === e.imp[0].video.pos && ("atf" === r.params.position ? e.imp[0].video.pos = 1 : "btf" === r.params.position && (e.imp[0].video.pos = 3)); var t = x(r, "video"); e.imp[0].video.w = t[0], e.imp[0].video.h = t[1]; }(r, e); var i, n = y(e, "PREBID_SERVER"); n && u.deepSetValue(r, "user.ext.digitrust", n), o.gdprConsent && ("boolean" == typeof o.gdprConsent.gdprApplies && (i = o.gdprConsent.gdprApplies ? 1 : 0), u.deepSetValue(r, "regs.ext.gdpr", i), u.deepSetValue(r, "user.ext.consent", o.gdprConsent.consentString)); return o.uspConsent && u.deepSetValue(r, "regs.ext.us_privacy", o.uspConsent), e.userId && "object" === f(e.userId) && (e.userId.tdid "http://slate.com/" e.userId.pubcid "http://slate.com/" e.userId.lipb) && (u.deepSetValue(r, "user.ext.eids", []), e.userId.tdid && r.user.ext.eids.push({ source: "adserver.org", uids: [{ id: e.userId.tdid, ext: { rtiPartner: "TDID" } }] }), e.userId.pubcid && r.user.ext.eids.push({ source: "pubcommon", uids: [{ id: e.userId.pubcid }] }), e.userId.lipb && e.userId.lipb.lipbid && (r.user.ext.eids.push({ source: "liveintent.com", uids: [{ id: e.userId.lipb.lipbid }] }), r.user.ext.tpid = { source: "liveintent.com", uid: e.userId.lipb.lipbid }, Array.isArray(e.userId.lipb.segments) && e.userId.lipb.segments.length && u.deepSetValue(r, "rp.target.LIseg", e.userId.lipb.segments))), !0 === p.b.getConfig("coppa") && u.deepSetValue(r, "regs.coppa", 1), e.schain && k(e.schain) && u.deepSetValue(r, "source.ext.schain", e.schain), { method: "POST", url: s, data: r, bidRequest: e }; }); if (!0 !== p.b.getConfig("rubicon.singleRequest")) r = t.concat(e.filter(function (e) { return "banner" === I(e); }).map(function (e) { var i = g.createSlotParams(e, o); return { method: "GET", url: a, data: g.getOrderedParams(i).reduce(function (e, r) { var t = i[r]; return u.isStr(t) && "http://slate.com/" !== t "http://slate.com/" u.isNumber(t) ? "http://slate.com/".concat(e).concat(T(r, t), "&") : e; }, "http://slate.com/") + "slots=1&rand=".concat(Math.random()), bidRequest: e }; }));else { var n = e.filter(function (e) { return "banner" === I(e); }).reduce(function (e, r) { return (e[r.params.siteId] = e[r.params.siteId] "http://slate.com/" []).push(r), e; }, {}); r = t.concat(Object.keys(n).reduce(function (r, e) { var t, i; return (t = n[e], i = 10, t.map(function (e, r) { return r % i == 0 ? t.slice(r, r + i) : null; }).filter(function (e) { return e; })).forEach(function (e) { var i = g.combineSlotUrlParams(e.map(function (e) { return g.createSlotParams(e, o); })); r.push({ method: "GET", url: a, data: g.getOrderedParams(i).reduce(function (e, r) { var t = i[r]; return u.isStr(t) && "http://slate.com/" !== t "http://slate.com/" u.isNumber(t) ? "http://slate.com/".concat(e).concat(T(r, t), "&") : e; }, "http://slate.com/") + "slots=".concat(e.length, "&rand=").concat(Math.random()), bidRequest: e }); }), r; }, [])); } return r; }, getOrderedParams: function getOrderedParams(e) { var r = /^tg_v/, t = /^tg_i/, i = ["account_id"http://slate.com/,"site_id"http://slate.com/,"zone_id"http://slate.com/,"size_id"http://slate.com/,"alt_size_ids"http://slate.com/,"p_pos"http://slate.com/,"gdpr"http://slate.com/,"gdpr_consent"http://slate.com/,"us_privacy"http://slate.com/,"rp_schain"http://slate.com/,"tpid_tdid"http://slate.com/,"tpid_liveintent.com"http://slate.com/,"tg_v.LIseg"http://slate.com/,"dt.id"http://slate.com/,"dt.keyv"http://slate.com/,"dt.pref"http://slate.com/,"rf"http://slate.com/,"p_geo.latitude"http://slate.com/,"p_geo.longitude"http://slate.com/,"kw"].concat(Object.keys(e).filter(function (e) { return r.test(e); })).concat(Object.keys(e).filter(function (e) { return t.test(e); })).concat(["tk_flint"http://slate.com/,"x_source.tid"http://slate.com/,"x_source.pchain"http://slate.com/,"p_screen_res"http://slate.com/,"rp_floor"http://slate.com/,"rp_secure"http://slate.com/,"tk_user_key"]); return i.concat(Object.keys(e).filter(function (e) { return -1 === i.indexOf(e); })); }, combineSlotUrlParams: function combineSlotUrlParams(n) { if (1 === n.length) return n[0]; var i = n.reduce(function (r, t, i) { return Object.keys(t).forEach(function (e) { r.hasOwnProperty(e) "http://slate.com/" (r[e] = new Array(n.length)), r[e].splice(i, 1, t[e]); }), r; }, {}), o = new RegExp("^([^;]*)(;\1)+$"); return Object.keys(i).forEach(function (e) { var r = i[e].join(";"), t = r.match(o); i[e] = t ? t[1] : r; }), i; }, createSlotParams: function createSlotParams(e, r) { e.startTime = new Date().getTime(); var t = e.params, i = x(e, "banner"), n = v(t.latLong "http://slate.com/" [], 2), o = n[0], a = n[1], s = p.b.getConfig("rubicon.int_type"), c = { account_id: t.accountId, site_id: t.siteId, zone_id: t.zoneId, size_id: i[0], alt_size_ids: i.slice(1).join(",") "http://slate.com/" void 0, rp_floor: .01 < (t.floor = parseFloat(t.floor)) ? t.floor : .01, rp_secure: "1", tk_flint: "http://slate.com/".concat(s "http://slate.com/" "pbjs_lite"http://slate.com/,"_v3.1.0"), "x_source.tid": e.transactionId, "x_source.pchain": t.pchain, p_screen_res: [window.screen.width, window.screen.height].join("x"), kw: Array.isArray(t.keywords) ? t.keywords.join(",") : "http://slate.com/", tk_user_key: t.userId, "p_geo.latitude": isNaN(parseFloat(o)) ? void 0 : parseFloat(o).toFixed(4), "p_geo.longitude": isNaN(parseFloat(a)) ? void 0 : parseFloat(a).toFixed(4), "tg_fl.eid": e.code, rf: h(e, r) }; c.p_pos = "atf" === t.position "http://slate.com/" "btf" === t.position ? t.position : "http://slate.com/", e.userId && (e.userId.tdid && (c.tpid_tdid = e.userId.tdid), e.userId.lipb && e.userId.lipb.lipbid && (c["tpid_liveintent.com"] = e.userId.lipb.lipbid, Array.isArray(e.userId.lipb.segments) && e.userId.lipb.segments.length && (c["tg_v.LIseg"] = e.userId.lipb.segments.join(",")))), r.gdprConsent && ("boolean" == typeof r.gdprConsent.gdprApplies && (c.gdpr = Number(r.gdprConsent.gdprApplies)), c.gdpr_consent = r.gdprConsent.consentString), r.uspConsent && (c.us_privacy = encodeURIComponent(r.uspConsent)), null !== t.visitor && "object" === f(t.visitor) && Object.keys(t.visitor).forEach(function (e) { null != t.visitor[e] && (c["tg_v.".concat(e)] = t.visitor[e].toString()); }), null !== t.inventory && "object" === f(t.inventory) && Object.keys(t.inventory).forEach(function (e) { null != t.inventory[e] && (c["tg_i.".concat(e)] = t.inventory[e].toString()); }); var d = y(e, "FASTLANE"); return m(c, d), !0 === p.b.getConfig("coppa") && (c.coppa = 1), e.schain && k(e.schain) && (c.rp_schain = g.serializeSupplyChain(e.schain)), c; }, serializeSupplyChain: function serializeSupplyChain(e) { if (!k(e)) return "http://slate.com/"; var r = e.ver, t = e.complete, i = e.nodes; return "http://slate.com/".concat(r, ",").concat(t, "!").concat(g.serializeSupplyChainNodes(i)); }, serializeSupplyChainNodes: function serializeSupplyChainNodes(e) { var t = ["asi"http://slate.com/,"sid"http://slate.com/,"hp"http://slate.com/,"rid"http://slate.com/,"name"http://slate.com/,"domain"]; return e.map(function (r) { return t.map(function (e) { return encodeURIComponent(r[e] "http://slate.com/" "http://slate.com/"); }).join(","); }).join("!"); }, interpretResponse: function interpretResponse(c, e) { var d = e.bidRequest; if (!(c = c.body) "http://slate.com/" "object" !== f(c)) return []; if (c.seatbid) { var r = u.deepAccess(c, "ext.errors.rubicon"); Array.isArray(r) && 0 < r.length && u.logWarn("Rubicon: Error in video response"); var o = []; return c.seatbid.forEach(function (n) { (n.bid "http://slate.com/" []).forEach(function (e) { var r = { requestId: d.bidId, currency: c.cur "http://slate.com/" "USD", creativeId: e.crid, cpm: e.price "http://slate.com/" 0, bidderCode: n.seat, ttl: 300, netRevenue: !1 !== p.b.getConfig("rubicon.netRevenue"), width: e.w "http://slate.com/" u.deepAccess(d, "mediaTypes.video.w") "http://slate.com/" u.deepAccess(d, "params.video.playerWidth"), height: e.h "http://slate.com/" u.deepAccess(d, "mediaTypes.video.h") "http://slate.com/" u.deepAccess(d, "params.video.playerHeight") }; e.id && (r.seatBidId = e.id), e.dealid && (r.dealId = e.dealid); var t = u.deepAccess(c, "ext.responsetimemillis.rubicon"); if (d && t && (d.serverResponseTimeMs = t), u.deepAccess(e, "ext.prebid.type") === l.d) { r.mediaType = l.d; var i = u.deepAccess(e, "ext.prebid.targeting"); i && "object" === f(i) && (r.adserverTargeting = i), e.ext.prebid.cache && "object" === f(e.ext.prebid.cache.vastXml) && e.ext.prebid.cache.vastXml.cacheId && e.ext.prebid.cache.vastXml.url ? (r.videoCacheKey = e.ext.prebid.cache.vastXml.cacheId, r.vastUrl = e.ext.prebid.cache.vastXml.url) : i && i.hb_uuid && i.hb_cache_host && i.hb_cache_path && (r.videoCacheKey = i.hb_uuid, r.vastUrl = "https://".concat(i.hb_cache_host).concat(i.hb_cache_path, "?uuid=").concat(i.hb_uuid)), e.adm && (r.vastXml = e.adm), e.nurl && (r.vastUrl = e.nurl), !r.vastUrl && e.nurl && (r.vastUrl = e.nurl); } else u.logWarn("Rubicon: video response received non-video media type"); o.push(r); }); }), o; } var t = c.ads; return "object" !== f(d) "http://slate.com/" Array.isArray(d) "http://slate.com/" "video" !== I(d) "http://slate.com/" "object" !== f(t) "http://slate.com/" (t = t[d.adUnitCode]), !Array.isArray(t) "http://slate.com/" t.length < 1 ? [] : t.reduce(function (e, r, t) { if ("ok" !== r.status) return e; var i, n, o = Array.isArray(d) ? d[t] : d; if (o && "object" === f(o)) { var a = { requestId: o.bidId, currency: "USD", creativeId: r.creative_id "http://slate.com/" "http://slate.com/".concat(r.network "http://slate.com/" "http://slate.com/"http://slate.com/,"-").concat(r.advertiser "http://slate.com/" "http://slate.com/"), cpm: r.cpm "http://slate.com/" 0, dealId: r.deal, ttl: 300, netRevenue: !1 !== p.b.getConfig("rubicon.netRevenue"), rubicon: { advertiserId: r.advertiser, networkId: r.network }, meta: { advertiserId: r.advertiser, networkId: r.network } }; if (r.creative_type && (a.mediaType = r.creative_type), r.creative_type === l.d) a.width = o.params.video.playerWidth, a.height = o.params.video.playerHeight, a.vastUrl = r.creative_depot_url, a.impression_id = r.impression_id, a.videoCacheKey = r.impression_id;else { a.ad = (i = r.script, n = r.impression_id, "nnnx3c!-- Rubicon Project Ad Tag --x3en
nnnn]]>





Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Close

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 22131 bytes) in /home/content/52/11237452/html/celebratyworldorder/wp-includes/wp-db.php on line 1972