Loading...
")},match:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r0){var g=(0,c.delayExecution)(i,u.length);u.forEach((function(e){var t=e.rule.replace(e.bid,r),i=e.rule.options.delay;n.logger.logMessage("Intercepted bid request (matching rule #".concat(e.rule.no,"), mocking response in ").concat(i,"ms. Request, response:"),e.bid,t),n.setTimeout((function(){o(t,e.bid),g()}),i)})),t=(r=(0,c.deepClone)(r)).bids=f}else this.setTimeout(i,0);return{bids:t,bidRequest:r}}});var g,l,h=t(5644);function b(e,n){var t=n.hook,r=n.logger;g=E.bind({overrides:e,logger:r}),t.get("addBidResponse").before(g,5),l=O.bind({overrides:e,logger:r}),t.get("addBidderRequests").before(l,5)}function p(e){var n=e.hook;n.get("addBidResponse").getHooks({hook:g}).remove(),n.get("addBidderRequests").getHooks({hook:l}).remove()}function v(e,n,t){return!(!e.bidder||e.bidder===n)||!(!e.adUnitCode||e.adUnitCode===t)}function y(e,n){return Array.isArray(e)&&-1===e.indexOf(n)}function m(e,n,t,r){return Object.keys(e).filter((function(e){return-1===["adUnitCode","bidder"].indexOf(e)})).reduce((function(n,o){return r.logMessage("bidder overrides changed '".concat(n.adUnitCode,"/").concat(n.bidderCode,"' ").concat(t,".").concat(o," from '").concat(n[o],".js' to '").concat(e[o],"'")),n[o]=e[o],n.isDebug=!0,n}),n)}function E(e,n,t){var r=this.overrides,o=this.logger;y(r.bidders,t.bidderCode)?o.logWarn("bidder '".concat(t.bidderCode,"' excluded from auction by bidder overrides")):(Array.isArray(r.bids)&&r.bids.forEach((function(e){v(e,t.bidderCode,n)||m(e,t,"bidder",o)})),e(n,t))}function O(e,n){var t=this.overrides,r=this.logger,o=n.filter((function(e){return!y(t.bidders,e.bidderCode)||(r.logWarn("bidRequest '".concat(e.bidderCode,"' excluded from auction by bidder overrides")),!1)}));Array.isArray(t.bidRequests)&&o.forEach((function(e){t.bidRequests.forEach((function(n){e.bids.forEach((function(t){v(n,e.bidderCode,t.adUnitCode)||m(n,t,"bidRequest",r)}))}))})),e(o)}function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function k(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},t=n.sessionStorage,r=void 0===t?window.sessionStorage:t,o=n.DEBUG_KEY;if(e.enabled){e.intercept&&((e=(0,c.deepClone)(e)).intercept=C.serializeConfig(e.intercept));try{r.setItem(o,JSON.stringify(e))}catch(e){}}else try{r.removeItem(o)}catch(e){}}function x(e){j.forEach((function(e){var n=(0,d.Z)(e,2),t=n[0],r=n[1];t().getHooks({hook:r}).remove()})),e&&j.forEach((function(e){var n=(0,d.Z)(e,2),t=n[0],r=n[1];t().before(r)}))}function A(e,n){var t=function(){var e;return(e=C).intercept.apply(e,arguments)};j.push([e,function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i0}))).length>0){var v=new Set;o.forEach((function(e){return e.bids.forEach((function(e){return v.add(e.bidId)}))})),(r=(0,c.deepClone)(r)).ad_units.forEach((function(e){e.bids=e.bids.filter((function(e){return v.has(e.bid_id)}))})),r.ad_units=r.ad_units.filter((function(e){return e.bids.length>0})),e(r,o,i,{onResponse:b,onError:f,onBid:g})}else b(!0,[])}}({createBid:o});A((function(){return r.get("processBidderRequests")}),q),A((function(){return r.get("processPBSRequest")}),d),function(e){var n,t=e.DEBUG_KEY,r=e.storage,o=e.config,i=e.hook,d=e.logger;try{r=r||window.sessionStorage,n=JSON.parse(r.getItem(t))}catch(e){}n&&R(n,{fromSession:!0,config:o,hook:i,logger:d})}({DEBUG_KEY:n,config:t,hook:r,logger:i}),t.getConfig("debugging",(function(e){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.sessionStorage,r=void 0===t?window.sessionStorage:t,o=n.DEBUG_KEY,i=n.config,d=n.hook,c=n.logger;null!=e&&(U(e,{sessionStorage:r,DEBUG_KEY:o}),e.enabled?R(e,{config:i,hook:d,logger:c}):D({hook:d,logger:c}))}(e.debugging,{DEBUG_KEY:n,config:t,hook:r,logger:i})}),{init:!0})}({DEBUG_KEY:t(53777).Jc,config:r.vc,hook:o.z3,createBid:S.m,logger:(0,c.prefixLog)("DEBUG:")}),window.pbjs.installedModules.push("debugging")}},function(e){var n;n=4713,e(e.s=n)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[6656],{43642:function(e,r,n){var a=n(4942),t=n(54284),o=n(18621),s=n(64358),i=n(20265),d=n(3193),c=n(92797),p=n(78653),u=n(9528),l=n(52021),_=n(5644),g=n(7563),v={env:"vp",gdfp_req:1,output:"vast",unviewed_position_start:1},f={};function T(e,r,n){if(!d.vc.getConfig("cache.url"))if((0,i.Z)(r,"".concat(n,".description_url")))(0,s.logError)("input cannnot contain description_url");else{var a=e&&e.vastUrl;if(a)return encodeURIComponent(a)}}function b(e,r,n){var t=e&&e.adserverTargeting||{},d={},c=r&&r.adUnit;if(c){var p=o.q0.getAllTargeting(c.code);d=p?p[c.code]:{}}var u=Object.assign({},{hb_uuid:e&&e.videoCacheKey},{hb_cache_id:e&&e.videoCacheKey},d,t);l.j8(_.FP.SET_TARGETING,(0,a.Z)({},c.code,u));var g=(0,i.Z)(r,"params.cust_params"),v=Object.assign({},u,g),f=encodeURIComponent((0,s.formatQS)(v));return n&&(f=n+"%26"+f),f}d.vc.getConfig("brandCategoryTranslation.translationFile")&&(0,c.v5)("registerAdserver").before((function(e){e.call(this,"dfp")})),(0,t.W)("dfp",{buildVideoUrl:function(e){if(e.params||e.url){var r=e.adUnit,n=e.bid||o.q0.getWinningBids(r.code)[0],a={};if(e.url&&(a=(0,s.parseUrl)(e.url,{noDecodeWholeURL:!0}),(0,s.isEmpty)(e.params)))return function(e,r,n){var a=T(r,e,"search");a&&(e.search.description_url=a);return e.search.cust_params=b(r,n,e.search.cust_params),(0,s.buildUrl)(e)}(a,n,e);var t={correlator:Date.now(),sz:(0,s.parseSizesInput)((0,i.Z)(r,"mediaTypes.video.playerSize")).join("|"),url:encodeURIComponent(location.href)},d=a.search,c=d&&d.sz;c&&(t.sz=c+"|"+t.sz);var p=b(n,e,d&&d.cust_params),l=Object.assign({},v,a.search,t,e.params,{cust_params:p}),_=T(n,e,"params");_&&(l.description_url=_);var f=u.rp.getConsentData();f&&("boolean"==typeof f.gdprApplies&&(l.gdpr=Number(f.gdprApplies)),f.consentString&&(l.gdpr_consent=f.consentString),f.addtlConsent&&(l.addtl_consent=f.addtlConsent));var A=u.nX.getConsentData();if(A&&(l.us_privacy=A),!l.ppid){var C=(0,g.G)();null!=C&&(l.ppid=C)}return(0,s.buildUrl)(Object.assign({protocol:"https",host:"securepubads.g.doubleclick.net",pathname:"/gampad/ads"},a,{search:l}))}(0,s.logError)("A params object or a url is required to use pbjs.adServers.dfp.buildVideoUrl")},buildAdpodVideoUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.code,n=e.params,t=e.callback;if(n&&t){var o={correlator:Date.now(),sz:d(r),url:encodeURIComponent(location.href)};f.getTargeting({codes:[r],callback:c})}else(0,s.logError)("A params object and a callback is required to use pbjs.adServers.dfp.buildAdpodVideoUrl");function d(e){var r=p.K.getAdUnits().filter((function(r){return r.code===e})),n=(0,i.Z)(r[0],"mediaTypes.video.playerSize");return(0,s.parseSizesInput)(n).join("|")}function c(e,i){var d;if(e)t(e,null);else{var c=(d={},(0,a.Z)(d,f.TARGETING_KEY_PB_CAT_DUR,void 0),(0,a.Z)(d,f.TARGETING_KEY_CACHE_ID,void 0),d),p={};i[r]&&(p=i[r].reduce((function(e,r){return Object.keys(r)[0]===f.TARGETING_KEY_PB_CAT_DUR?e[f.TARGETING_KEY_PB_CAT_DUR]=void 0!==e[f.TARGETING_KEY_PB_CAT_DUR]?e[f.TARGETING_KEY_PB_CAT_DUR]+","+r[f.TARGETING_KEY_PB_CAT_DUR]:r[f.TARGETING_KEY_PB_CAT_DUR]:Object.keys(r)[0]===f.TARGETING_KEY_CACHE_ID&&(e[f.TARGETING_KEY_CACHE_ID]=r[f.TARGETING_KEY_CACHE_ID]),e}),c));var l=encodeURIComponent((0,s.formatQS)(p)),_=Object.assign({},v,o,n,{cust_params:l}),g=u.rp.getConsentData();g&&("boolean"==typeof g.gdprApplies&&(_.gdpr=Number(g.gdprApplies)),g.consentString&&(_.gdpr_consent=g.consentString),g.addtlConsent&&(_.addtl_consent=g.addtlConsent));var T=u.nX.getConsentData();T&&(_.us_privacy=T);var b=(0,s.buildUrl)({protocol:"https",host:"securepubads.g.doubleclick.net",pathname:"/gampad/ads",search:_});t(null,b)}}},getAdpodTargeting:function(e){return f.getTargeting(e)}}),(0,c.Bx)("adpod",f),window.pbjs.installedModules.push("dfpAdServerVideo")},54284:function(e,r,n){n.d(r,{W:function(){return s}});var a=n(78640),t=n(64358),o=(0,a.R)();function s(e,r){o.adServers=o.adServers||{},o.adServers[e]=o.adServers[e]||{},Object.keys(r).forEach((function(n){o.adServers[e][n]?(0,t.logWarn)("Attempting to add an already registered function property ".concat(n," for AdServer ").concat(e,".")):o.adServers[e][n]=r[n]}))}},7563:function(e,r,n){n.d(r,{G:function(){return a}});var a=(0,n(92797).z3)("sync",(function(){}))}},function(e){var r;r=43642,e(e.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[8806],{19749:function(e,n,t){var i=t(64358),o=t(92797),r=t(25102),d=t(15164),c={},a=window===window.top?window:window.top,m=(0,d.eA)("enrichmentFpd");function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;if(!m.cookiesAreEnabled())return e;var n,t,o=e.split(".");if(2==o.length)return e;var r=-2,d="_rdc".concat(Date.now()),c="writeable";do{n=o.slice(r).join(".");var a=new Date((0,i.timestamp)()+1e4).toUTCString();m.setCookie(d,c,a,"Lax",n,void 0);var l=m.getCookie(d,void 0);l===c?(t=!1,m.setCookie(d,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(r+=-1,t=Math.abs(r)<=o.length)}while(t);return n}function u(){var e;return(0,r.nH)().ref&&(0,i.mergeDeep)(c,{site:{ref:(0,r.nH)().ref}}),(0,r.nH)().page&&(0,i.mergeDeep)(c,{site:{page:(0,r.nH)().page}}),(e=(0,r.hh)((0,r.nH)().page,{noLeadingWww:!0}))&&((0,i.mergeDeep)(c,{site:{domain:e}}),(0,i.mergeDeep)(c,{site:{publisher:{domain:l(e)}}})),function(){var e,n;try{e=a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth,n=a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight}catch(t){e=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,n=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight}(0,i.mergeDeep)(c,{device:{w:e,h:n}})}(),function(){var e;try{e=a.document.querySelector("meta[name='keywords']")}catch(n){e=window.document.querySelector("meta[name='keywords']")}e&&e.content&&(0,i.mergeDeep)(c,{site:{keywords:e.content.replace(/\s/g,"")}})}(),navigator.globalPrivacyControl&&(0,i.mergeDeep)(c,{regs:{ext:{gpc:1}}}),c}var w={name:"enrichments",queue:2,processFpd:function(e,n){var t=n.global;return c={},{global:e.skipEnrichments?t:(0,i.mergeDeep)(u(),t)}}};(0,o.Bx)("firstPartyData",w),window.pbjs.installedModules.push("enrichmentFpdModule")}},function(e){var n;n=19749,e(e.s=n)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[7910],{63410:function(n,r,t){var o=t(3193),e=t(92797),i=t(64358),u=t(68792),a=t(99128),l=[];var s=(0,a.g3)("fpd",(function(n,r){var t=this;(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.global,t=void 0===r?{}:r,e=n.bidder,a=void 0===e?{}:e,s=o.vc.getConfig("firstPartyData")||{},d=u.Z.resolve({global:t,bidder:a});return l.sort((function(n,r){return(n.queue||1)-(r.queue||1)})).forEach((function(n){d=d.then((function(r){var t=r.global,o=r.bidder;return u.Z.resolve(n.processFpd(s,{global:t,bidder:o})).catch((function(r){return(0,i.logError)("Error in FPD module ".concat(n.name),r),{}})).then((function(n){return{global:n.global||t,bidder:n.bidder||o}}))}))})),d})(r.ortb2Fragments).then((function(o){Object.assign(r.ortb2Fragments,o),n.call(t,r)}))}));(0,e.bA)("firstPartyData",(function(n){l.push(n)})),(0,e.v5)("startAuction").before(s,10),window.pbjs.installedModules.push("fpdModule")}},function(n){var r;r=63410,n(n.s=r)}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[7083],{31498:function(e,n,r){var t=r(4942),o=r(71002),a=r(64358),i=r(20265),c=r(3193),s=r(9528),l=r(34614),u=r(14699),d=r(92797),p=r(15164),f=r(52021),v=r(5644);function g(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function b(e){for(var n=1;n4&&void 0!==arguments[4]?arguments[4]:O.has.bind(O),a=P[Object.keys(P).filter((function(n){return P[n].name===e.purpose}))[0]].id;if((0,l.q9)(e.vendorExceptions||[],r))return!0;var c=(0,i.Z)(n,"vendorData.purpose.consents.".concat(a)),s=(0,i.Z)(n,"vendorData.vendor.consents.".concat(t)),u=(0,i.Z)(n,"vendorData.purpose.legitimateInterests.".concat(a)),d=!1===e.enforcePurpose||!0===c,p=o(r)||!1===e.enforceVendor||!0===s;return 2===a?d&&p||!0===u:d&&p}function W(e,n,r,t,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},l=i.validate,u=void 0===l?I:l;if(o=Object.assign({},{hasEnforcementHook:!0}),(0,a.hasDeviceAccess)())if(n&&!F)o.valid=!0;else{var d=s.rp.getConsentData();if(B(d,1,t)){var p=c.vc.getCurrentBidder();r=p&&p!=t&&s.ZP.aliasRegistry[p]===t?Z(p):Z(t)||r;var f=t||p,v=u(h,d,f,r,n?function(){return!0}:void 0);v?o.valid=!0:(f&&(0,a.logWarn)("TCF2 denied device access for ".concat(f)),o.valid=!1,j.push(f))}else o.valid=!0}else(0,a.logWarn)("Device access is disabled by Publisher"),o.valid=!1;e.call(this,n,r,t,o)}function G(e){for(var n=s.rp.getConsentData(),r=c.vc.getCurrentBidder(),t=arguments.length,o=new Array(t>1?t-1:0),i=1;i2?t-2:0),i=2;i2?d-2:0),s=2;s<\/script>')}}))):(n.impressionTrackers=i.imptrackers||[],n.javascriptTrackers=i.jstracker),i.assets.map((function(e){var t=I.getAssetById(e.id);switch(t.assetType){case I.ASSET_TYPES.TITLE:n.title=e.title.text;break;case I.ASSET_TYPES.DATA:n[t.name]=e.data.value;break;case I.ASSET_TYPES.IMG:n[t.name]={url:e.img.url,width:e.img.w,height:e.img.h}}})),e.native=n}},x={RENDERER_URL:"https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",createRenderer:function(e){var t=p.Th.install({id:e.adUnitCode,url:this.RENDERER_URL,config:(0,s.Z)(e,"renderer.options"),adUnitCode:e.adUnitCode});try{t.setRender(this.render)}catch(e){(0,a.logWarn)("Prebid Error calling setRender on renderer",e)}return t},render:function(e){e.renderer.push((function(){window.ANOutstreamVideo.renderAd({sizes:[e.width,e.height],targetId:e.adUnitCode,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},x.handleRendererEvents.bind(null,e))}))},handleRendererEvents:function(e,t,r){e.renderer.handleVideoEvent({id:t,eventName:r})}},k={RENDERER_URL:"https://cdn.360yield.com/razr/tag.js",forwardBid:function(e){var t=e.bidRequest,r=e.bid;if(r.mediaType===u.Mk){var i={prebid:{bidRequest:t,bid:r}},n=JSON.stringify(i).replace(/<\/script>/g,"\\x3C/script>"),a="