/* prebid.js v0.34.1 Updated : 2018-10-05 */ !(function(e){var t=window.pbjsChunk;window.pbjsChunk=function(n,o,a){for(var d,s,c,u=0,l=[];u0)if(2===a&&"number"==typeof e[0]&&"number"==typeof e[1])t.push(m(e));else for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:pbjs.adUnits).map((function(e){return e.bids.map((function(e){return e.bidder})).reduce(_,[])})).reduce(_).filter(I)},t.isGptPubadsDefined=function(){if(window.googletag&&t.isFn(window.googletag.pubads)&&t.isFn(window.googletag.pubads().getSlots))return!0},t.getHighestCpm=function(e,t){if(e.cpm===t.cpm)return e.timeToRespond>t.timeToRespond?t:e;return e.cpm0;){var n=Math.floor(Math.random()*t),r=e[--t];e[t]=e[n],e[n]=r}return e},t.adUnitsFilter=function(e,t){return e.includes(t&&t.placementCode||t&&t.adUnitCode)},t.isSrcdocSupported=function(e){return e.defaultView&&e.defaultView.frameElement&&"srcdoc"in e.defaultView.frameElement&&!/firefox/i.test(navigator.userAgent)},t.deepClone=function(e){return(0,s.default)(e)},t.inIframe=function(){try{return window.self!==window.top}catch(e){return!0}},t.isSafariBrowser=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},t.replaceAuctionPrice=function(e,t){if(!e)return;return e.replace(/\$\{AUCTION_PRICE\}/g,t)},t.getBidderRequestAllAdUnits=function(e){return pbjs._bidsRequested.find((function(t){return t.bidderCode===e}))},t.getBidderRequest=function(e,t){return pbjs._bidsRequested.find((function(n){return n.bids.filter((function(n){return n.bidder===e&&n.placementCode===t})).length>0}))||{start:null,requestId:null}},t.cookiesAreEnabled=function(){if(window.navigator.cookieEnabled||document.cookie.length)return!0;return window.document.cookie="prebid.cookieTest",-1!=window.document.cookie.indexOf("prebid.cookieTest")},t.delayExecution=function(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got "+t);var n=0;return function(){++n===t&&e.apply(null,arguments)}},t.groupBy=function(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})},t.deepAccess=function(e,t){t=String(t).split(".");for(var n=0;n