‘) : “”;
}, 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”, “native”, “video”];
if (!Object.keys(e).every(function (e) {
return s()(t, e);
})) return !1;
if (e.video && e.video.context) return s()([“instream”, “outstream”, “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 ‘)) : “”;
}
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 “‘.concat(t, ‘”‘)) : 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 “‘.concat(t, ‘” not permitted to register their “‘).concat(e, ‘” userSync pixels.’)) : a.logWarn(“Bidder is required for registering sync”) : a.logWarn(‘User sync type “‘.concat(e, ‘” 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) || !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 || 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(“
“));
var s = v(b[r.size_id].split(“x”).map(function (e) {
return Number(e);
}), 2);
a.width = s[0], a.height = s[1];
}
a.rubiconTargeting = (Array.isArray(r.targeting) ? r.targeting : []).reduce(function (e, r) {
return e[r.key] = r.values[0], e;
}, {
rpfl_elemid: o.adUnitCode
}), e.push(a);
} else u.logError(“Rubicon: bidRequest undefined at index position:”.concat(t), d, c);
return e;
}, []).sort(function (e, r) {
return (r.cpm || 0) – (e.cpm || 0);
});
},
getUserSyncs: function getUserSyncs(e, r, t, i) {
if (!R && e.iframeEnabled) {
var n = “”;
return t && “string” == typeof t.consentString && (“boolean” == typeof t.gdprApplies ? n += “?gdpr=”.concat(Number(t.gdprApplies), “&gdpr_consent=”).concat(t.consentString) : n += “?gdpr_consent=”.concat(t.consentString)), i && (n += “”.concat(n ? “&” : “?”, “us_privacy=”).concat(encodeURIComponent(i))), R = !0, {
type: “iframe”,
url: o + n
};
}
},
transformBidParams: function transformBidParams(e) {
return u.convertTypes({
accountId: “number”,
siteId: “number”,
zoneId: “number”
}, e);
}
};
function y(e, r) {
var t,
i = 0 969,
isMobile = window.innerWidth b ? a : b;
}
/**
* Fast loop through watched elements
*/
function onScroll() {
list.forEach(updateVisibility);
}
/**
* updates seen property
* @param {Visble} item
* @param {{}} evt
* @fires Visible#shown
* @fires Visible#hidden
*/
function updateSeen(item, evt) {
var px = evt.visiblePx,
percent = evt.visiblePercent; // if some pixels are visible and we’re greater/equal to threshold
if (px && percent >= item.shownThreshold && !item.seen) {
item.seen = true;
setTimeout(function () {
item.trigger(“shown”, new VisibleEvent(“shown”, evt));
}, 15); // if no pixels or percent is less than threshold
} else if ((!px || percent = 0 && rect.left >= 0 && rect.bottom 1) {
result += getLinearSpacialHash(remainder, Math.floor(stepSize / base), optimalK – 1, base);
}
return result;
}
/**
* @param {ClientRect} rect
* @param {number} innerHeight
* @returns {number}
*/
function getVerticallyVisiblePixels(rect, innerHeight) {
return min(innerHeight, max(rect.bottom, 0)) – min(max(rect.top, 0), innerHeight);
}
/**
* Get offset of element relative to entire page
*
* @param {Element} el
* @returns {{left: number, top: number}}
* @see http://jsperf.com/offset-vs-getboundingclientrect/7
*/
function getPageOffset(el) {
var offsetLeft = el.offsetLeft,
offsetTop = el.offsetTop;
while (el = el.offsetParent) {
offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop;
}
return {
left: offsetLeft,
top: offsetTop
};
}
/**
* Create a new Visible class to observe when elements enter and leave the viewport
*
* Call destroy function to stop listening (this is until we have better support for watching for Node Removal)
* @param {Element} el
* @param {{shownThreshold: number, hiddenThreshold: number}} [options]
* @class
* @example this.visible = new $visibility.Visible(el);
*/
Visible = function Visible(el, options) {
options = options || {};
this.el = el;
this.seen = false;
this.preload = false;
this.preloadThreshhold = options && options.preloadThreshhold || 0;
this.shownThreshold = options && options.shownThreshold || 0;
this.hiddenThreshold = options && min(options.shownThreshold, options.hiddenThreshold) || 0;
list.push(this);
updateVisibility(this); // set immediately to visible or not
};
Visible.prototype = {
/**
* Stop triggering.
*/
destroy: function destroy() {
// remove from list
list.splice(list.indexOf(this), 1);
}
/**
* @name Visible#on
* @function
* @param {‘shown’|’hidden’} e EventName
* @param {function} cb Callback
*/
/**
* @name Visible#trigger
* @function
* @param {‘shown’|’hidden’} e
* @param {{}}
*/
};
Eventify.enable(Visible.prototype);
VisibleEvent = function VisibleEvent(type, options) {
var _this = this;
this.type = type;
Object.keys(options).forEach(function (key) {
_this[key] = options[key];
});
}; // listen for scroll events (throttled)
$document.addEventListener(“scroll”, _throttle(onScroll, 200)); // public
this.getPageOffset = getPageOffset;
this.getLinearSpacialHash = getLinearSpacialHash;
this.getVerticallyVisiblePixels = getVerticallyVisiblePixels;
this.getViewportHeight = getViewportHeight;
this.getViewportWidth = getViewportWidth;
this.isElementNotHidden = isElementNotHidden;
this.isElementInViewport = isElementInViewport;
this.Visible = Visible;
}]);
}, {}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”function”&&require;for(var o=0;o