text: pbjsChunk([75],{84:function(i,e,n){i.exports=n(85)},85:function(i,e,n){"use strict";var d=n(4),t=n(0),r=n(3),o=n(2),a=n(5);function s(){var i="http://ht-integration.c1exchange.com:9000/ht",e="//px.c1exchange.com/pubpixel/",n=3e3,s={invalidBid:"C1X: ERROR bidder returns an invalid bid",noSite:"C1X: ERROR no site id supplied",noBid:"C1X: INFO creating a NO bid for Adunit: ",bidWin:"C1X: INFO creating a bid for Adunit: "},c="c1x",p=window.pbjs;function u(){var i=r.createBid(d.STATUS.NO_BID);return i.bidderCode=c,i}return p._c1xResponse=function(i){var e=i;if("string"==typeof e)try{e=JSON.parse(i)}catch(i){t.logError(i)}if(e&&!e.error)for(var n=0;n<e.length;n++){var a=e[n],l=null;a.bid?((l=r.createBid(d.STATUS.GOOD)).bidderCode=c,l.cpm=a.cpm,l.ad=a.ad,l.width=a.width,l.height=a.height,t.logInfo(s.bidWin+a.adId+" size: "+a.width+"x"+a.height),o.addBidResponse(a.adId,l)):(t.logInfo(s.noBid+a.adId),o.addBidResponse(a.adId,u()))}else{var h=p.adUnits;for(t.logWarn(s.invalidBid),n=0;n<h.length;n++)o.addBidResponse(h[n].code,u())}},{callBids:function(d){var r,o=d.bids,c=o[0].params;if(c.pixelId){var u=c.pixelId;r=u,window.setTimeout((function(){var i=document.createElement("img");i.width=1,i.height=1,i.style="display:none;";var n=document.location.protocol;i.src=(n?"https:":"http:")+e+r,document.body.insertBefore(i,null)}),n)}var l=c.siteId;if(l){var h=["adunits="+o.length];h.push("site="+l);for(var f=0;f<o.length;f++){h.push("a"+(f+1)+"="+o[f].placementCode);var g=o[f].sizes,v=g.reduce((function(i,e){return i+(""===i?"":",")+e.join("x")}),""),x=c.floorPriceMap;if(x){var b=g[0].join("x");b in x&&h.push("a"+(f+1)+"p="+x[b])}h.push("a"+(f+1)+"s=["+v+"]")}h.push("rid="+(new Date).getTime());var m=i;c.endpoint&&(m=c.endpoint);var B=c.dspid;B&&h.push("dspid="+B);var w=m+"?"+h.join("&");window._c1xResponse=function(i){p._c1xResponse(i)},a.loadScript(w)}else t.logWarn(s.noSite)}}}n(1).registerBidAdapter(new s,"c1x"),i.exports=s}},[84]);