June 27, 2019 at 07:02AM
'):""},t.getDefinedParams=function(n,e){return e.filter(function(e){return n[e]}).reduce(function(e,t){return l(e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,n[t]))},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every(function(e){return s()(t,e)}))return!1;if(e.video&&e.video.context)return s()(["instream","outstream","adpod"],e.video.context);return!0},t.getBidderRequest=function(e,t,n){return c()(e,function(e){return 0t[n]?-1:0}};var r=n(3),i=n(91),o=n.n(i),a=n(11),c=n.n(a),u=n(8),s=n.n(u),d=n(10);function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t\n ')):""}function se(e,t,n){return null==t?n:X(t)?t:Z(t)?t.toString():void C.logWarn("Unsuported type for param: "+e+" required type: String")}function de(e,t,n){return n.indexOf(e)===t}function fe(e,t){return e.concat(t)}function le(e){return Object.keys(e)}function pe(e,t){return e[t]}var ge=ye("timeToRespond",function(e,t){return ti;)a(r,n=t[i++])&&(~u(o,n)||o.push(n));return o}},142:function(e,t,n){var r=n(18).document;e.exports=r&&r.documentElement},143:function(e,t,n){var r=n(26),i=n(41),o=n(50)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},144:function(e,t,n){n(145);for(var r=n(18),i=n(20),o=n(28),a=n(15)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},146:function(e,t,n){"use strict";var r=n(147),i=n(78);e.exports=n(149)("Set",function(e){return function(){return e(this,0=c.syncsPerBidder?s.logWarn('Number of user syncs exceeded for "'.concat(t,'"')):r.canBidderRegisterSync(e,t)?(i[e].push([t,n]),void(o=function(e,t){return e[t]?e[t]+=1:e[t]=1,e}(o,t))):s.logWarn('Bidder "'.concat(t,'" not permitted to register their "').concat(e,'" userSync pixels.')):s.logWarn("Bidder is required for registering sync"):s.logWarn('User sync type "'.concat(e,'" not supported'))},r.syncUsers=function(){var e=0i&&(r=!1)),!r}),r&&e.run(),r}function c(e,t){void 0===e[t]?e[t]=1:e[t]++}},addWinningBid:function(e){S=S.concat(e),B.callBidWonBidder(e.bidder,e,c)},setBidTargeting:function(e){B.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return S},getTimeout:function(){return m},getAuctionId:function(){return y},getAuctionStatus:function(){return u},getAdUnits:function(){return f},getAdUnitCodes:function(){return p},getBidRequests:function(){return g},getBidsReceived:function(){return b},getNoBids:function(){return v}}},n.d(t,"c",function(){return G}),t.f=d,t.d=v,n.d(t,"e",function(){return h}),t.g=S;var w=n(0),s=n(10),f=n(52),a=n(27),o=n(64),l=n(12),_=n(3),r=n(24),i=n(17),c=n(11),p=n.n(c),u=n(46);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(){return(b=Object.assign||function(e){for(var t=1;te.getTimeout()+_.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function v(e,t){var n=e.getBidRequests(),r=p()(n,function(e){return e.bidderCode===t.bidderCode});!function(t,e){var n;if(t.bidderCode&&(0t.max?e:t},{max:0}),t=a()(e.buckets,function(e){if(n>o.max*r){var t=e.precision;void 0===t&&(t=s),i=(e.max*r).toFixed(t)}else if(n=e.min*r)return e});return t&&(i=function(e,t,n){var r=void 0!==t.precision?t.precision:s,i=t.increment*n,o=t.min*n,a=Math.pow(10,r+2),c=(e*a-o*a)/(i*a),u=Math.floor(c)*i+o;return(u=Number(u.toFixed(10))).toFixed(r)}(n,t,r)),i}function g(e){if(i.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)}),t}},53:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},54:function(e,t,n){var r=n(16),i=n(18).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},55:function(e,t,n){var r=n(31);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},56:function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return"Array"==r(e)}},57:function(e,t,n){var r=n(14),i=n(18),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(58)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},58:function(e,t){e.exports=!0},59:function(e,t,n){var u=n(44),s=n(33),d=n(89);e.exports=function(c){return function(e,t,n){var r,i=u(e),o=s(i.length),a=d(n,o);if(c&&t!=t){for(;at.cpm/t.video.durationBucket)return-1;return 0};var s=n(0),d=n(36),r=n(65),i=n(46),o=n(17),f=n(64),c=n(3),u=n(2),a=n(134),l=n.n(a),p=n(11),g=n.n(p);function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"):"";return'\n \n \n prebid.org wrapper\n \n ").concat(n,"\n \n \n \n ")}(e.vastUrl,e.vastImpUrl),ttlseconds:Number(e.ttl)};return"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(t.key=e.customCacheKey),t}},65:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"checkAdUnitSetup",function(){return G});var r=n(48),c=n(0),i=n(132),o=n(24),a=n(47),d=n(3),v=n(37),f=n(66),u=n(17),s=n(133),l=n(8),p=n.n(l),g=n(61),y=n(12),b=n(22);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(){return(m=Object.assign||function(e){for(var t=1;t (eg mediaTypes.banner.sizes)."),e.sizes=n);if(t&&t.video){var i=t.video;if(i.playerSize)if(Array.isArray(i.playerSize)&&1===i.playerSize.length&&i.playerSize.every(function(e){return Object(c.isArrayOfNums)(e,2)}))e.sizes=i.playerSize;else if(Object(c.isArrayOfNums)(i.playerSize,2)){var o=[];o.push(i.playerSize),A.logInfo("Transforming video.playerSize from [".concat(i.playerSize,"] to [[").concat(o,"]] so it's in the proper format.")),e.sizes=i.playerSize=o}else A.logError("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete e.mediaTypes.video.playerSize}if(t&&t.native){var a=t.native;a.image&&a.image.sizes&&!Array.isArray(a.image.sizes)&&(A.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),a.image&&a.image.aspect_ratios&&!Array.isArray(a.image.aspect_ratios)&&(A.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),a.icon&&a.icon.sizes&&!Array.isArray(a.icon.sizes)&&(A.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}}),e},"checkAdUnitSetup");function W(e){var n=v.a[e]().filter(A.bind.call(c.adUnitsFilter,this,v.a.getAdUnitCodes())),r=v.a.getLastAuctionId();return n.map(function(e){return e.adUnitCode}).filter(c.uniques).map(function(t){return n.filter(function(e){return e.auctionId===r&&e.adUnitCode===t})}).filter(function(e){return e&&e[0]&&e[0].adUnitCode}).map(function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e[0].adUnitCode,{bids:e})}).reduce(function(e,t){return m(e,t)},{})}function L(e,t,n){var r={};r.reason=e,r.message=t,n&&(r.bid=n),A.logError(t),I.emit(U,r)}function z(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){A.logError("Error processing command :","prebid.js",e)}})}S.getAdserverTargetingForAdUnitCodeStr=function(e){if(A.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=S.getAdserverTargetingForAdUnitCode(e);return A.transformAdServerTargetingObj(t)}A.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},S.getAdserverTargetingForAdUnitCode=function(e){return S.getAdserverTargeting(e)[e]},S.getAdserverTargeting=function(e){return A.logInfo("Invoking pbjs.getAdserverTargeting",arguments),f.b.getAllTargeting(e)},S.getNoBids=function(){return A.logInfo("Invoking pbjs.getNoBids",arguments),W("getNoBids")},S.getBidResponses=function(){return A.logInfo("Invoking pbjs.getBidResponses",arguments),W("getBidsReceived")},S.getBidResponsesForAdUnitCode=function(t){return{bids:v.a.getBidsReceived().filter(function(e){return e.adUnitCode===t})}},S.setTargetingForGPTAsync=function(e,t){if(A.logInfo("Invoking
'):""},t.getDefinedParams=function(n,e){return e.filter(function(e){return n[e]}).reduce(function(e,t){return l(e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,n[t]))},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];if(!Object.keys(e).every(function(e){return s()(t,e)}))return!1;if(e.video&&e.video.context)return s()(["instream","outstream","adpod"],e.video.context);return!0},t.getBidderRequest=function(e,t,n){return c()(e,function(e){return 0t[n]?-1:0}};var r=n(3),i=n(91),o=n.n(i),a=n(11),c=n.n(a),u=n(8),s=n.n(u),d=n(10);function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t\n ')):""}function se(e,t,n){return null==t?n:X(t)?t:Z(t)?t.toString():void C.logWarn("Unsuported type for param: "+e+" required type: String")}function de(e,t,n){return n.indexOf(e)===t}function fe(e,t){return e.concat(t)}function le(e){return Object.keys(e)}function pe(e,t){return e[t]}var ge=ye("timeToRespond",function(e,t){return ti;)a(r,n=t[i++])&&(~u(o,n)||o.push(n));return o}},142:function(e,t,n){var r=n(18).document;e.exports=r&&r.documentElement},143:function(e,t,n){var r=n(26),i=n(41),o=n(50)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},144:function(e,t,n){n(145);for(var r=n(18),i=n(20),o=n(28),a=n(15)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},146:function(e,t,n){"use strict";var r=n(147),i=n(78);e.exports=n(149)("Set",function(e){return function(){return e(this,0=c.syncsPerBidder?s.logWarn('Number of user syncs exceeded for "'.concat(t,'"')):r.canBidderRegisterSync(e,t)?(i[e].push([t,n]),void(o=function(e,t){return e[t]?e[t]+=1:e[t]=1,e}(o,t))):s.logWarn('Bidder "'.concat(t,'" not permitted to register their "').concat(e,'" userSync pixels.')):s.logWarn("Bidder is required for registering sync"):s.logWarn('User sync type "'.concat(e,'" not supported'))},r.syncUsers=function(){var e=0i&&(r=!1)),!r}),r&&e.run(),r}function c(e,t){void 0===e[t]?e[t]=1:e[t]++}},addWinningBid:function(e){S=S.concat(e),B.callBidWonBidder(e.bidder,e,c)},setBidTargeting:function(e){B.callSetTargetingBidder(e.bidder,e)},getWinningBids:function(){return S},getTimeout:function(){return m},getAuctionId:function(){return y},getAuctionStatus:function(){return u},getAdUnits:function(){return f},getAdUnitCodes:function(){return p},getBidRequests:function(){return g},getBidsReceived:function(){return b},getNoBids:function(){return v}}},n.d(t,"c",function(){return G}),t.f=d,t.d=v,n.d(t,"e",function(){return h}),t.g=S;var w=n(0),s=n(10),f=n(52),a=n(27),o=n(64),l=n(12),_=n(3),r=n(24),i=n(17),c=n(11),p=n.n(c),u=n(46);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(){return(b=Object.assign||function(e){for(var t=1;te.getTimeout()+_.config.getConfig("timeoutBuffer")&&e.executeCallback(!0)}function v(e,t){var n=e.getBidRequests(),r=p()(n,function(e){return e.bidderCode===t.bidderCode});!function(t,e){var n;if(t.bidderCode&&(0t.max?e:t},{max:0}),t=a()(e.buckets,function(e){if(n>o.max*r){var t=e.precision;void 0===t&&(t=s),i=(e.max*r).toFixed(t)}else if(n=e.min*r)return e});return t&&(i=function(e,t,n){var r=void 0!==t.precision?t.precision:s,i=t.increment*n,o=t.min*n,a=Math.pow(10,r+2),c=(e*a-o*a)/(i*a),u=Math.floor(c)*i+o;return(u=Number(u.toFixed(10))).toFixed(r)}(n,t,r)),i}function g(e){if(i.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.min&&e.max&&e.increment||(t=!1)}),t}},53:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},54:function(e,t,n){var r=n(16),i=n(18).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},55:function(e,t,n){var r=n(31);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},56:function(e,t,n){var r=n(31);e.exports=Array.isArray||function(e){return"Array"==r(e)}},57:function(e,t,n){var r=n(14),i=n(18),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(58)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},58:function(e,t){e.exports=!0},59:function(e,t,n){var u=n(44),s=n(33),d=n(89);e.exports=function(c){return function(e,t,n){var r,i=u(e),o=s(i.length),a=d(n,o);if(c&&t!=t){for(;at.cpm/t.video.durationBucket)return-1;return 0};var s=n(0),d=n(36),r=n(65),i=n(46),o=n(17),f=n(64),c=n(3),u=n(2),a=n(134),l=n.n(a),p=n(11),g=n.n(p);function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"):"";return'\n \n \n prebid.org wrapper\n \n ").concat(n,"\n \n \n \n ")}(e.vastUrl,e.vastImpUrl),ttlseconds:Number(e.ttl)};return"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(t.key=e.customCacheKey),t}},65:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"checkAdUnitSetup",function(){return G});var r=n(48),c=n(0),i=n(132),o=n(24),a=n(47),d=n(3),v=n(37),f=n(66),u=n(17),s=n(133),l=n(8),p=n.n(l),g=n(61),y=n(12),b=n(22);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(){return(m=Object.assign||function(e){for(var t=1;t (eg mediaTypes.banner.sizes)."),e.sizes=n);if(t&&t.video){var i=t.video;if(i.playerSize)if(Array.isArray(i.playerSize)&&1===i.playerSize.length&&i.playerSize.every(function(e){return Object(c.isArrayOfNums)(e,2)}))e.sizes=i.playerSize;else if(Object(c.isArrayOfNums)(i.playerSize,2)){var o=[];o.push(i.playerSize),A.logInfo("Transforming video.playerSize from [".concat(i.playerSize,"] to [[").concat(o,"]] so it's in the proper format.")),e.sizes=i.playerSize=o}else A.logError("Detected incorrect configuration of mediaTypes.video.playerSize. Please specify only one set of dimensions in a format like: [[640, 480]]. Removing invalid mediaTypes.video.playerSize property from request."),delete e.mediaTypes.video.playerSize}if(t&&t.native){var a=t.native;a.image&&a.image.sizes&&!Array.isArray(a.image.sizes)&&(A.logError("Please use an array of sizes for native.image.sizes field. Removing invalid mediaTypes.native.image.sizes property from request."),delete e.mediaTypes.native.image.sizes),a.image&&a.image.aspect_ratios&&!Array.isArray(a.image.aspect_ratios)&&(A.logError("Please use an array of sizes for native.image.aspect_ratios field. Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete e.mediaTypes.native.image.aspect_ratios),a.icon&&a.icon.sizes&&!Array.isArray(a.icon.sizes)&&(A.logError("Please use an array of sizes for native.icon.sizes field. Removing invalid mediaTypes.native.icon.sizes property from request."),delete e.mediaTypes.native.icon.sizes)}}),e},"checkAdUnitSetup");function W(e){var n=v.a[e]().filter(A.bind.call(c.adUnitsFilter,this,v.a.getAdUnitCodes())),r=v.a.getLastAuctionId();return n.map(function(e){return e.adUnitCode}).filter(c.uniques).map(function(t){return n.filter(function(e){return e.auctionId===r&&e.adUnitCode===t})}).filter(function(e){return e&&e[0]&&e[0].adUnitCode}).map(function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e[0].adUnitCode,{bids:e})}).reduce(function(e,t){return m(e,t)},{})}function L(e,t,n){var r={};r.reason=e,r.message=t,n&&(r.bid=n),A.logError(t),I.emit(U,r)}function z(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){A.logError("Error processing command :","prebid.js",e)}})}S.getAdserverTargetingForAdUnitCodeStr=function(e){if(A.logInfo("Invoking pbjs.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=S.getAdserverTargetingForAdUnitCode(e);return A.transformAdServerTargetingObj(t)}A.logMessage("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},S.getAdserverTargetingForAdUnitCode=function(e){return S.getAdserverTargeting(e)[e]},S.getAdserverTargeting=function(e){return A.logInfo("Invoking pbjs.getAdserverTargeting",arguments),f.b.getAllTargeting(e)},S.getNoBids=function(){return A.logInfo("Invoking pbjs.getNoBids",arguments),W("getNoBids")},S.getBidResponses=function(){return A.logInfo("Invoking pbjs.getBidResponses",arguments),W("getBidsReceived")},S.getBidResponsesForAdUnitCode=function(t){return{bids:v.a.getBidsReceived().filter(function(e){return e.adUnitCode===t})}},S.setTargetingForGPTAsync=function(e,t){if(A.logInfo("Invoking pbjs.setTargetingForGPTAsync",arguments),Object(c.isGptPubadsDefined)()){var n=f.b.getAllTargeting(e);f.b.resetPresetTargeting(e),f.b.setTargetingForGPT(n,t),Object.keys(n).forEach(function(t){Object.keys(n[t]).forEach(function(e){"hb_adid"===e&&v.a.setStatusForBids(n[t][e],E.BID_STATUS.BID_TARGETING_SET)})}),I.emit(B,n)}else A.logError("window.googletag is not defined on the page")},S.setTargetingForAst=function(e){A.logInfo("Invoking pbjs.setTargetingForAn",arguments),f.b.isApntagDefined()?(f.b.setTargetingForAst(e),I.emit(B,f.b.getAllTargeting())):A.logError("window.apntag is not defined on the page")},S.renderAd=function(e,t){if(A.logInfo("Invoking pbjs.renderAd",arguments),A.logMessage("Calling renderAd with adId :"+t),e&&t)try{var n=v.a.findBidByAdId(t);if(n){n.status=E.BID_STATUS.RENDERED,n.ad=A.replaceAuctionPrice(n.ad,n.cpm),n.adUrl=A.replaceAuctionPrice(n.adUrl,n.cpm),v.a.addWinningBid(n),I.emit(C,n);var r=n.height,i=n.width,o=n.ad,a=n.mediaType,c=n.adUrl,u=n.renderer,s=document.createComment("Creative ".concat(n.creativeId," served by ").concat(n.bidder," Prebid.js Header Bidding"));if(A.insertElement(s,e,"body"),Object(y.c)(u))Object(y.b)(u,n);else if(e===document&&!A.inIframe()||"video"===a){var d="Error trying to write ad. Ad render call ad id ".concat(t," was prevented from writing to the main document.");L(R,d,n)}else if(o)e.open("text/html","replace"),e.write(o),e.close(),q(e,i,r),A.callBurl(n);else if(c){var f=A.createInvisibleIframe();f.height=r,f.width=i,f.style.display="inline",f.style.overflow="hidden",f.src=c,A.insertElement(f,e,"body"),q(e,i,r),A.callBurl(n)}else{var l="Error trying to write ad. No ad for bid response id: ".concat(t);L(N,l,n)}}else{var p="Error trying to write ad. Cannot find ad by given id : ".concat(t);L(x,p)}}catch(e){var g="Error trying to write ad Id :".concat(t," to the page:").concat(e.message);L(k,g)}else{var b="Error trying to write ad Id :".concat(t," to the page. Missing document or adId");L(P,b)}},S.removeAdUnit=function(e){(A.logInfo("Invoking pbjs.removeAdUnit",arguments),e)?(A.isArray(e)?e:[e]).forEach(function(e){for(var t=0;tObject(f.timestamp)()},O=function(e){return e&&(e.status&&!v()([E.BID_STATUS.BID_TARGETING_SET,E.BID_STATUS.RENDERED],e.status)||!e.status)};function w(e,n){var r=[],i=Object(f.groupBy)(e,"adUnitCode");return Object.keys(i).forEach(function(e){var t=Object(f.groupBy)(i[e],"bidderCode");Object.keys(t).forEach(function(e){return r.push(t[e].reduce(n))})}),r}var o=function(n){var i={},r={};function o(e){return"string"==typeof e?[e]:S.isArray(e)?e:n.getAdUnitCodes()||[]}function a(){var e=n.getBidsReceived();return l.config.getConfig("useBidCache")||(e=e.filter(function(e){return r[e.adUnitCode]===e.auctionId})),w(e=e.filter(function(e){return Object(f.deepAccess)(e,"video.context")!==b.a}).filter(function(e){return"banner"!==e.mediaType||Object(g.c)([e.width,e.height])}).filter(O).filter(I),f.getOldestHighestCpmBid)}function c(){return n.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(T).filter(f.uniques)}function u(t,n,e,r){return Object.keys(n.adserverTargeting).filter(s()).forEach(function(e){t.length&&t.filter(function(t){return function(e){return e.adUnitCode===n.adUnitCode&&e.adserverTargeting[t]}}(e)).forEach(function(t){return function(e){S.isArray(e.adserverTargeting[t])||(e.adserverTargeting[t]=[e.adserverTargeting[t]]),e.adserverTargeting[t]=e.adserverTargeting[t].concat(n.adserverTargeting[t]).filter(f.uniques),delete n.adserverTargeting[t]}}(e))}),t.push(n),t}function s(){var t=c();return function(e){return-1===t.indexOf(e)}}function d(t){return m({},t.adUnitCode,Object.keys(t.adserverTargeting).filter(s()).map(function(e){return m({},e.substring(0,20),[t.adserverTargeting[e]])}))}return i.setLatestAuctionForAdUnit=function(e,t){r[e]=t},i.resetPresetTargeting=function(e){if(Object(f.isGptPubadsDefined)()){var t=o(e),r=n.getAdUnits().filter(function(e){return v()(t,e.code)});window.googletag.pubads().getSlots().forEach(function(n){A.forEach(function(t){r.forEach(function(e){e.code!==n.getAdUnitPath()&&e.code!==n.getSlotElementId()||n.setTargeting(t,null)})})})}},i.resetPresetTargetingAST=function(e){o(e).forEach(function(e){var t=window.apntag.getTag(e);if(t&&t.keywords){var n=Object.keys(t.keywords),r={};n.forEach(function(e){v()(A,e.toLowerCase())||(r[e]=t.keywords[e])}),window.apntag.modifyTag(e,{keywords:r})}})},i.getAllTargeting=function(e){var t=1=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},68:function(e,t,r){var i=r(25),o=r(139),a=r(69),c=r(50)("IE_PROTO"),u=function(){},s="prototype",d=function(){var e,t=r(54)("iframe"),n=a.length;for(t.style.display="none",r(142).appendChild(t),t.src="http://www.beras.website/javascript:",(e=t.contentWindow.document).open(),e.write("