text: pbjsChunk([125],{70:function(e,i,d){e.exports=d(71)},71:function(e,i,d){"use strict";var c=d(0),o=d(4),b=d(2),u=d(5),a=function(){var s="adblade",i="//rtb.adblade.com/prebidjs/bid?",p=1e-10;return pbjs.adbladeResponse=function(e){var r=/\$(%7B|\{)AUCTION_ID(%7D|\})/gi,n=/\$(%7B|\{)AUCTION_PRICE(%7D|\})/gi,t=/\$(%7B|\{)CLICK_URL(%7D|\})/gi;if(void 0!==e&&e.hasOwnProperty("seatbid")&&!c.isEmpty(e.seatbid))c._each(e.seatbid,(function(e){c._each(e.bid,(function(e){var i=c.getBidRequest(e.impid),d=e.adm+c.createTrackPixelHtml(e.nurl);d=(d=(d=d.replace(r,e.impid)).replace(t,"")).replace(n,e.price);var a=o.createBid(1);a.bidderCode=s,a.cpm=e.price,a.ad=d,a.width=e.w,a.height=e.h,b.addBidResponse(i.placementCode,a)}))}));else{var i=pbjs._bidsRequested.find((function(e){return e.bidderCode===s})).bids;if(0<i.length){var d=o.createBid(2);d.bidderCode=s,b.addBidResponse(i[0].placementCode,d)}}},{callBids:function(a){var e=a.bids||[],r=c.getTopWindowUrl(),n=c.getTopWindowLocation(),t=n.hostname,s=0,o={};0<e.length&&(s=""+e[0].params.partnerId),c._each(e,(function(d){d.sizes[0]instanceof Array||(d.sizes=[d.sizes]),c._each(d.sizes,(function(e){var i=e[0]+"x"+e[1];o[i]=o[i]||{site:{id:s,page:r,domain:t,publisher:{id:s,name:r,domain:t}},id:a.requestId,imp:[],device:{ua:window.navigator.userAgent},cur:["USD"],user:{}},o[i].imp.push({id:d.bidId,bidfloor:d.params.bidFloor||p,tag:d.placementCode,banner:{w:e[0],h:e[1]},secure:0+("https"===n.protocol)})}))})),c._each(o,(function(e){u.loadScript(c.tryAppendQueryString(c.tryAppendQueryString(i,"callback","pbjs.adbladeResponse"),"json",JSON.stringify(e)))}))}}};d(1).registerBidAdapter(new a,"adblade"),e.exports=a}},[70]);