text: pbjsChunk([56],{224:function(n,e,o){n.exports=o(225)},225:function(n,e,o){"use strict";var r=o(4),i=o(0),t=o(3),d=o(2),s=o(5),a=function(){var n="r.rxthdr.com";return pbjs.roxotResponseHandler=function(n){i.logInfo("roxotResponseHandler invoking");var e=[];if(!n||!n.bids||!Array.isArray(n.bids)||n.bids.length<=0)return s();n.bids.forEach((function(n){var o="",i=pbjs._bidsRequested.find((function(n){return"roxot"===n.bidderCode})).bids.find((function(e){return e.bidId===n.bidId}));if(!i)return a(o);i.status=r.STATUS.GOOD,o=i.placementCode,e.push(o);var s=n.cpm,c='<img src="'+n.nurl+'">';if(!s)return a(o);var u=t.createBid(1,i);u.creative_id=n.id,u.bidderCode="roxot",u.cpm=s,u.ad=decodeURIComponent(n.adm+c),u.width=parseInt(n.w),u.height=parseInt(n.h),d.addBidResponse(o,u)}));var o=s(e);return i.logInfo("roxotResponse handler finish"),o;function s(n){pbjs._bidsRequested.find((function(n){return"roxot"===n.bidderCode})).bids.forEach((function(e){if(i.contains(n,e.placementCode))return null;a(e)}))}function a(n){var e=t.createBid(2,n);e.bidderCode="roxot",d.addBidResponse(n.placementCode,e)}},{callBids:function(e){i.logInfo("callBids roxot adapter invoking");var o=window.location.host,t=window.location.pathname+location.search+location.hash,d={id:i.getUniqueIdentifierStr(),bids:e,site:{domain:o,page:t}},a="//"+n+"?callback=pbjs.roxotResponseHandler&src="+r.REPO_AND_VERSION+"&br="+encodeURIComponent(JSON.stringify(d));s.loadScript(a)}}};o(1).registerBidAdapter(new a,"roxot"),n.exports=a}},[224]);