text: pbjsChunk([82],{299:function(e,r,t){e.exports=t(300)},300:function(e,r,t){"use strict";var a,d=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},i=t(1),n=(a=i)&&a.__esModule?a:{default:a};var o=t(3),l=t(0),s=t(5),p=t(2),u=t(4),c=t(9).default,b=function(){var i=new c("realvu");i.callBids=function(e){var d=e.bids;!(function(){var a=window;try{for(var e=window;a!=top&&void 0!==e.document;)e=(a=e).parent}catch(e){}a.boost_fifo=a.boost_fifo||[],a.boost_fifo.push((function(){for(var e=0;e<d.length;e++){var r=d[e],t=l.parseSizesInput(r.sizes);a.realvu_boost.addUnitById({partner_id:r.params.partnerId,unit_id:r.placementCode,callback:i.boostCall,pbjs_bid:r,size:t[0],mode:"kvp"})}}))})(),s.loadScript("//ac.realvu.net/realvu_boost.js",null,1)},i.boostCall=function(e){var r=e.pin.pbjs_bid,t=new a;s.loadScript(t.buildCall(r,e.realvu))};var a=function(){this.buildCall=function(e,r){var t=l.getBidIdParameter("placementId",e.params),a="//ssp.nuviad.com/publishers?";a=l.tryAppendQueryString(a,"placementId",t),a=l.tryAppendQueryString(a,"realvu",r),a=l.tryAppendQueryString(a,"callback","pbjs.handleRvCallback"),a=l.tryAppendQueryString(a,"bid_id",e.bidId);var d=l.getTopWindowUrl(),i=l.getTopWindowReferrer();return a=l.tryAppendQueryString(a,"doc_url",d),(a=l.tryAppendQueryString(a,"doc_ref",i)).lastIndexOf("&")===a.length-1&&(a=a.substring(0,a.length-1)),l.logMessage("rv url: "+a),e.startTime=(new Date).getTime(),a},pbjs.handleRvCallback=function(e){var r=void 0;if(e&&e.bid_id){var t=e.bid_id,a="",d=l.getBidRequest(t);d&&(r=d.bidder,a=d.placementCode,d.status=o.STATUS.GOOD),l.logMessage("JSONP callback function called for ad ID: "+t);var i=void 0;if(0!==e.price)(i=u.createBid(1,d)).bidderCode=r,i.cpm=e.price,i.ad=e.tag,i.width=e.width,i.height=e.height,p.addBidResponse(a,i);else{var n=u.createBid(2,d);n.bidderCode=r,p.addBidResponse(a,n)}}else l.logMessage("No prebid response for placement %%PLACEMENT%%")}};return d(this,{callBids:i.callBids,setBidderCode:i.setBidderCode,boostCall:i.boostCall})};n.default.registerBidAdapter(new b,"realvu"),e.exports=b}},[299]);