text: pbjsChunk([250],{173:function(t,e,r){t.exports=r(174)},174:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r.d(e,"spec",function(){return c});var n=r(2),i=r(1),o=r(0);function a(t){return function(t){if(Array.isArray(t))return d(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u="https://eu-ads.adpone.com";var c={code:"adpone",supportedMediaTypes:[n.b],getUserSyncs:function(t){return t&&t.iframeEnabled?{type:"iframe",url:u}:[]},isBidRequestValid:function(t){return!!t.params.placementId&&!!t.bidId&&"adpone"===t.bidder},buildRequests:function(t){return t.map(function(r){return{method:"POST",url:"https://rtb.adpone.com/bid-request?pid="+r.params.placementId,data:{at:1,id:r.bidId,imp:r.sizes.map(function(t,e){return{id:r.bidId+"_"+e,banner:{w:t[0],h:t[1]}}})},options:{withCredentials:!0}}})},interpretResponse:function(e,r){if(!e||!e.body)return[];var n=[];return e.body.seatbid.forEach(function(t){t.bid.length&&(n=[].concat(a(n),a(t.bid.filter(function(t){return 0<t.price}).map(function(t){return{id:t.id,requestId:r.data.id,cpm:t.price,ad:t.adm,width:t.w||0,height:t.h||0,currency:e.body.cur||"EUR",netRevenue:!0,ttl:300,creativeId:t.crid||0}}))))}),n},onBidWon:function(t){var e=JSON.stringify(t),r=window.btoa(e);Object(o.triggerPixel)("https://rtb.adpone.com/prebid/analytics?q=".concat(r))}};Object(i.registerBidder)(c)}},[173]);