TV

Crisis on Infinite Earths Must Be the Final Adaptation



“)),[e.width,e.height]=g[o.size_id].split(“x”).map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(o.targeting)?o.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:s.adUnitCode}),t.push(e)}else(0,r.logError)(“Rubicon: bidRequest undefined at index position:”.concat(n),i,e);var p,u;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0)))},getUserSyncs:function(e,t,i,o){if(!C&&e.iframeEnabled){let e={};return i&&(“boolean”==typeof i.gdprApplies&&(e.gdpr=Number(i.gdprApplies)),”string”==typeof i.consentString&&(e.gdpr_consent=i.consentString)),o&&(e.us_privacy=encodeURIComponent(o)),e=Object.keys(e).length?”?”.concat((0,r.formatQS)(e)):””,C=!0,{type:”iframe”,url:”https://”.concat(m.syncHost||”eus”,”.rubiconproject.com/usync.html”)+e}}},transformBidParams:function(e,t){return(0,r.convertTypes)({accountId:”number”,siteId:”number”,zoneId:”number”},e)}};function x(e,t){let i;return i=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?i.replace(/^http:/i,”https:”):i}function b(e){const t=document.getElementById(e.adUnitCode);!function(e){const t=e.querySelector(“div[id^=’google_ads’]”);t&&t.style.setProperty(“display”,”none”)}(t),function(e){const t=e.querySelector(“script[id^=’sas_script’]”),i=t&&t.nextSibling;i&&”iframe”===i.localName&&i.style.setProperty(“display”,”none”)}(t);const i=e.renderer.getConfig();e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:t,align:i.align||”center”,position:i.position||”append”},closeButton:i.closeButton||!1,label:i.label||void 0,collapse:i.collapse||!0})}))}function y(e,t){let i=e.params;if(“video”===t){let t=[];return i.video&&i.video.playerWidth&&i.video.playerHeight?t=[i.video.playerWidth,i.video.playerHeight]:Array.isArray((0,o.Z)(e,”mediaTypes.video.playerSize”))&&1===e.mediaTypes.video.playerSize.length?t=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&e.sizes.length>0&&Array.isArray(e.sizes[0])&&e.sizes[0].length>1&&(t=e.sizes[0]),t}let n=[];return Array.isArray(i.sizes)?n=i.sizes:void 0!==(0,o.Z)(e,”mediaTypes.banner.sizes”)?n=h(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?n=h(e.sizes):(0,r.logWarn)(“Rubicon: no sizes are setup or found”),function(e){const t=[15,2,9];return e.sort(((e,i)=>{const r=t.indexOf(e),o=t.indexOf(i);return r>-1||o>-1?-1===r?1:-1===o?-1:r-o:e-i}))}(n)}function v(e,t,i){const n={user:{ext:{data:{…e.params.visitor}}},site:{ext:{data:{…e.params.inventory}}}};e.params.keywords&&(n.site.keywords=(0,r.isArray)(e.params.keywords)?e.params.keywords.join(“,”):e.params.keywords);let a=(0,r.mergeDeep)({},e.ortb2||{},n),s=(0,o.Z)(e.ortb2Imp,”ext”)||{},c=(0,o.Z)(e.ortb2Imp,”ext.data”)||{};const p=(0,o.Z)(e,”ortb2Imp.ext.gpid”),u={user:[4],site:[1,2,5,6]},l={user:”tg_v.”,site:”tg_i.”,adserver:”tg_i.dfp_ad_unit_code”,pbadslot:”tg_i.pbadslot”,keywords:”kw”},m=function(e,t,n){let a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=function(e,t,i){return”data”===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,o.Z)(e,”ext.segtax”)&&u[i]&&-1!==u[i].indexOf((0,o.Z)(e,”ext.segtax”)))).map((e=>{let t=e.segment.filter((e=>e.id)).reduce(((e,t)=>(e.push(t.id),e)),[]);if(t.length>0)return t.toString()})).toString():”object”==typeof e&&!Array.isArray(e)||void 0===e?void 0:Array.isArray(e)?e.filter((e=>{if(“object”!=typeof e&&void 0!==e)return e.toString();(0,r.logWarn)(“Rubicon: Filtered value: “,e,”for key”,t,”: Expected value to be string, integer, or an array of strings/ints”)})).toString():e.toString()}(e,n,t),d=l[n]&&a?””.concat(l[n]):”data”===n?””.concat(l[t],”iab”):””.concat(l[t]).concat(n);i[d]=i[d]?i[d].concat(“,”,s):s};t===d.Mk?([“site”,”user”].forEach((e=>{Object.keys(a[e]).forEach((t=>{“site”===e&&”content”===t&&a[e][t].data?m(a[e][t].data,e,”data”):”ext”!==t?m(a[e][t],e,t):a[e][t].data&&Object.keys(a[e].ext.data).forEach((t=>{m(a[e].ext.data[t],e,t,!1)}))}))})),Object.keys(c).forEach((e=>{“adserver”!==e?m(c[e],”site”,e):”gam”===c[e].name&&m(c[e].adslot,name,e)})),p&&(i.p_gpid=p),i[“tg_i.pbadslot”]&&delete i[“tg_i.dfp_ad_unit_code”]):(Object.keys(s).length&&(0,r.mergeDeep)(i.imp[0].ext,s),p&&(i.imp[0].ext.gpid=p),(0,r.mergeDeep)(i,a))}function h(e){return(0,r.parseSizesInput)(e).reduce(((e,t)=>{let i=parseInt(g[t],10);return i&&e.push(i),e}),[])}function _(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){let t=void 0!==(0,o.Z)(e,”mediaTypes.”.concat(d.pX)),i=void 0!==(0,o.Z)(e,”mediaTypes.”.concat(d.Mk)),r=”object”!=typeof(0,o.Z)(e,”params.video”);return i&&r&&(t=!1),t&&r&&(0,n.N)(e,”params.video”,{}),t}(e)?-1===[“outstream”,”instream”].indexOf((0,o.Z)(e,”mediaTypes.”.concat(d.pX,”.context”)))?void(t&&(0,r.logError)(“Rubicon: mediaTypes.video.context must be outstream or instream”)):y(e,”video”).length<2?void(t&&(0,r.logError)(“Rubicon: could not determine the playerSize of the video”)):(t&&(0,r.logMessage)(“Rubicon: making video request for adUnit”,e.adUnitCode),”video”):0===y(e,”banner”).length?void(t&&(0,r.logError)(“Rubicon: could not determine the sizes for banner request”)):(t&&(0,r.logMessage)(“Rubicon: making banner request for adUnit”,e.adUnitCode),”banner”)}function j(e){let t=!1;const i=[“asi”,”sid”,”hp”];return e.nodes?(t=e.nodes.reduce(((e,t)=>e?i.every((e=>t.hasOwnProperty(e))):e),!0),t||(0,r.logError)(“Rubicon: required schain params missing”),t):t}function k(e,t){return”rp_schain”===e?”rp_schain=”.concat(t):””.concat(e,”=”).concat(encodeURIComponent(t))}var C=!1;(0,a.dX)(f),window.pbjs.installedModules.push(“rubiconBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return t=40060,e(e.s=t);var t}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[2972],{54834:(o,e,t)=>{var n=t(64358),i=t(92797),r=t(51039),d=t(15164),a=t(34516);const u=(0,d.df)({moduleName:”pubCommonId”,gvlid:a.$P}),c=”cookie”,l=”html5″,s=”_pubcid_optout”,f=”PublisherCommonId”;function m(o,e){if(e===c)return u.getCookie(o);if(e===l&&u.hasLocalStorage()){const e=u.getDataFromLocalStorage(“”.concat(o,”_exp”));if(!e)return u.getDataFromLocalStorage(o);if(new Date(e).getTime()-Date.now()>0)return u.getDataFromLocalStorage(o)}}function g(o,e){return function(t){“function”==typeof e&&e(),t(o)}}function p(o){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:””;if(!o)return;const t=(0,n.parseUrl)(o);t.search.id=encodeURIComponent(“pubcid:”+e);const i=(0,n.buildUrl)(t);return function(){(0,n.triggerPixel)(i)}}function I(){return!!(u.cookiesAreEnabled()&&m(s,c)||u.hasLocalStorage()&&m(s,l))}const v={name:”sharedId”,aliasName:”pubCommonId”,gvlid:a.$P,decode(o,e){if(I())return void(0,n.logInfo)(“PubCommonId decode: Has opted-out”);(0,n.logInfo)(” Decoded value PubCommonId “+o);return{pubcid:o}},getId:function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(I())return void(0,n.logInfo)(“PubCommonId: Has opted-out”);if(r.VP.getCoppa())return void(0,n.logInfo)(“PubCommonId: IDs not provided for coppa requests, exiting PubCommonId”);const{params:{create:t=!0,pixelUrl:i}={}}=o;let d=e;if(!d){try{“object”==typeof window[f]&&(d=window[f].getId())}catch(o){}d||(d=t&&(0,n.hasDeviceAccess)()?(0,n.generateUUID)():void 0)}return{id:d,callback:g(d,p(i,d))}},extendId:function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>2?arguments[2]:void 0;if(I())return(0,n.logInfo)(“PubCommonId: Has opted-out”),{id:void 0};if(r.VP.getCoppa())return void(0,n.logInfo)(“PubCommonId: IDs not provided for coppa requests, exiting PubCommonId”);const{params:{extend:t=!1,pixelUrl:i}={}}=o;if(t){if(i){return{callback:p(i,e)}}return{id:e}}},domainOverride:function(){const o=document.domain.split(“.”),e=”_gd”.concat(Date.now());for(let t,n,i=0;i{o.O(0,[6866],(()=>{return e=54834,o(o.s=e);var e}));o.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[8029],{76401:(e,t,n)=>{var r=n(64358),i=n(20265),a=n(14699),s=n(15164);const d=”teads”,o=12,p=11,c=0,u=22,g=(0,s.df)({gvlid:132,bidderCode:d}),I={code:d,gvlid:132,supportedMediaTypes:[“video”,”banner”],isBidRequestValid:function(e){let t=!1;if(void 0!==e.params){let n=v((0,r.getValue)(e.params,”placementId”)),i=v((0,r.getValue)(e.params,”pageId”));t=n&&i}return t||(0,r.logError)(“Teads placementId and pageId parameters are required. Bid aborted.”),t},buildRequests:function(e,t){const n=e.map(y),r={referrer:f(t),pageReferrer:document.referrer,networkBandwidth:(a=window.navigator,a&&a.connection&&a.connection.downlink>=0?a.connection.downlink.toString():””),timeToFirstByte:m(window),data:n,deviceWidth:screen.width,hb_version:”7.37.0″,…l(e),…b(e)};var a;const s=e[0];s.schain&&(r.schain=s.schain);let d=t.gdprConsent;if(t&&d){let e=”boolean”==typeof d.gdprApplies,t=”string”==typeof d.consentString,n=e?function(e,t){let n=o;e?t&&!t.isServiceSpecific&&(n=p):n=c;return n}(d.gdprApplies,d.vendorData):u;r.gdpr_iab={consent:t?d.consentString:””,status:n,apiVersion:d.apiVersion}}t&&t.uspConsent&&(r.us_privacy=t.uspConsent);const g=(0,i.Z)(s,”ortb2.device.sua”);g&&(r.userAgentClientHints=g);return{method:”POST”,url:”https://a.teads.tv/hb/bid-request”,data:JSON.stringify(r)}},interpretResponse:function(e,t){const n=[];return(e=e.body).responses&&e.responses.forEach((function(e){const t={cpm:e.cpm,width:e.width,height:e.height,currency:e.currency,netRevenue:!0,ttl:e.ttl,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]},ad:e.ad,requestId:e.bidId,creativeId:e.creativeId,placementId:e.placementId};e.dealId&&(t.dealId=e.dealId),n.push(t)})),n}};function l(e){const t={unifiedId2:”uid2.id”,liveRampId:”idl_env”,lotamePanoramaId:”lotamePanoramaId”,id5Id:”id5id.uid”,criteoId:”criteoId”,yahooConnectId:”connectId”,quantcastId:”quantcastId”,epsilonPublisherLinkId:”publinkId”,publisherFirstPartyViewerId:”pubcid”,merkleId:”merkleId.id”,kinessoId:”kpuid”};let n={};for(const r in t){const a=t[r],s=(0,i.Z)(e,”0.userId.”.concat(a));s&&(n[r]=s)}return n}function f(e){let t=””;return e&&e.refererInfo&&e.refererInfo.page&&(t=e.refererInfo.page),t}function m(e){const t=e.performance||e.webkitPerformance||e.msPerformance||e.mozPerformance,n=t&&”function”==typeof t.getEntriesByType&&”[object Function]”===Object.prototype.toString.call(t.getEntriesByType)&&t.getEntriesByType(“navigation”)[0]&&t.getEntriesByType(“navigation”)[0].responseStart&&t.getEntriesByType(“navigation”)[0].requestStart&&t.getEntriesByType(“navigation”)[0].responseStart>0&&t.getEntriesByType(“navigation”)[0].requestStart>0&&Math.round(t.getEntriesByType(“navigation”)[0].responseStart-t.getEntriesByType(“navigation”)[0].requestStart);if(n)return n.toString();const r=t&&t.timing.responseStart&&t.timing.requestStart&&t.timing.responseStart>0&&t.timing.requestStart>0&&t.timing.responseStart-t.timing.requestStart;return r?r.toString():””}function y(e){const t={};let n=(0,r.getValue)(e.params,”placementId”),a=(0,r.getValue)(e.params,”pageId”);const s=(0,i.Z)(e,”ortb2Imp.ext.gpid”);return t.sizes=function(e){return(0,r.parseSizesInput)(function(e){let t=(0,i.Z)(e,”mediaTypes.video.playerSize”),n=(0,i.Z)(e,”mediaTypes.video.sizes”),a=(0,i.Z)(e,”mediaTypes.banner.sizes”);if((0,r.isArray)(a)||(0,r.isArray)(t)||(0,r.isArray)(n)){return[a,n,t].reduce((function(e,t){return(0,r.isArray)(t)&&((0,r.isArray)(t[0])?t.forEach((function(t){e.push(t)})):e.push(t)),e}),[])}return e.sizes}(e))}(e),t.bidId=(0,r.getBidIdParameter)(“bidId”,e),t.bidderRequestId=(0,r.getBidIdParameter)(“bidderRequestId”,e),t.placementId=parseInt(n,10),t.pageId=parseInt(a,10),t.adUnitCode=(0,r.getBidIdParameter)(“adUnitCode”,e),t.auctionId=(0,r.getBidIdParameter)(“auctionId”,e),t.transactionId=(0,r.getBidIdParameter)(“transactionId”,e),s&&(t.gpid=s),t}function v(e){return parseInt(e)>0}function b(e){const t=(0,i.Z)(e,”0.userId.teadsId”);if(t)return{firstPartyCookieTeadsId:t};if(g.cookiesAreEnabled(null)){const e=g.getCookie(“_tfpvi”,null);if(e)return{firstPartyCookieTeadsId:e}}return{}}(0,a.dX)(I),window.pbjs.installedModules.push(“teadsBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return t=76401,e(e.s=t);var t}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[2599],{70789:(e,t,r)=>{var n=r(64358),i=r(24679),o=r(14699),d=r(3193),a=r(15164);const s=”triplelift”;let u=!0,p=null;const c=(0,a.df)({gvlid:28,bidderCode:s}),l={gvlid:28,code:s,supportedMediaTypes:[i.Mk,i.pX],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){let r=”https://tlx.3lift.com/header/auction?”,i=function(e,t){var r,i;let o={},{schain:d}=e[0];const a=function(e){const t={},r={},i={},o=e.ortb2||{},d=function(){const e=c.getDataFromLocalStorage(“opecloud_ctx”);if(!e)return null;try{return JSON.parse(e)}catch(e){return(0,n.logError)(“Triplelift: error parsing JSON: “,e),null}}(),a=Object.assign({},o.site),s=Object.assign({},o.user);if(d){s.data=s.data||[];try{s.data.push({name:”www.1plusx.com”,ext:d})}catch(e){(0,n.logError)(“Triplelift: error adding 1plusX segments: “,e)}}v(r,a),v(i,s),(0,n.isEmpty)(r)||(t.context=r);(0,n.isEmpty)(i)||(t.user=i);return t}(t);o.imp=e.map((function(e,t){let r={id:t,tagid:e.params.inventoryCode,floor:y(e)};return m(e)&&(r.video=function(e){let t={…e.params.video,…e.mediaTypes.video};try{t.w||(t.w=t.playerSize[0][0]),t.h||(t.h=t.playerSize[0][1])}catch(e){(0,n.logWarn)(“Video size not defined”,e)}”instream”===t.context&&(t.placement=1);”outstream”===t.context&&(t.placement?-1===[3,4,5].indexOf(t.placement)&&((0,n.logMessage)(“video.placement value of “.concat(t.placement,” is invalid for outstream context. Setting placement to 3″)),t.placement=3):t.placement=3);return delete t.playerSize,t}(e)),e.mediaTypes.banner&&!f(e)&&(r.banner={format:_(e.sizes)}),(0,n.isEmpty)(e.ortb2Imp)||(r.fpd=function(e){const t={},r={};v(r,e.ext),(0,n.isEmpty)(r)||(t.context=r);return t}(e.ortb2Imp)),r}));let s=[…b([e[0]]),…h([e[0]]),…S([e[0]]),…x([e[0]]),…A(e[0])];s.length>0&&(o.user={ext:{eids:s}});let u=function(e,t){let r={};(0,n.isEmpty)(e)||(r.schain={…e});(0,n.isEmpty)(t)||(r.fpd={…t});return r}(d,a);(0,n.isEmpty)(u)||(o.ext=u);null!=t&&null!==(r=t.ortb2)&&void 0!==r&&null!==(i=r.regs)&&void 0!==i&&i.gpp&&(o.regs=Object.assign({},t.ortb2.regs));return o}(e,t);if(r=(0,n.tryAppendQueryString)(r,”lib”,”prebid”),r=(0,n.tryAppendQueryString)(r,”v”,”7.37.0″),t&&t.refererInfo){let e=t.refererInfo.page;r=(0,n.tryAppendQueryString)(r,”referrer”,e)}return t&&t.timeout&&(r=(0,n.tryAppendQueryString)(r,”tmax”,t.timeout)),t&&t.gdprConsent&&(void 0!==t.gdprConsent.gdprApplies&&(u=t.gdprConsent.gdprApplies,r=(0,n.tryAppendQueryString)(r,”gdpr”,u.toString())),void 0!==t.gdprConsent.consentString&&(p=t.gdprConsent.consentString,r=(0,n.tryAppendQueryString)(r,”cmp_cs”,p))),t&&t.uspConsent&&(r=(0,n.tryAppendQueryString)(r,”us_privacy”,t.uspConsent)),!0===d.config.getConfig(“coppa”)&&(r=(0,n.tryAppendQueryString)(r,”coppa”,!0)),r.lastIndexOf(“&”)===r.length-1&&(r=r.substring(0,r.length-1)),(0,n.logMessage)(“tlCall request built: “+r),{method:”POST”,url:r,data:i,bidderRequest:t}},interpretResponse:function(e,t){let{bidderRequest:r}=t;return(e.body.bids||[]).map((function(e){return function(e,t){let r={},n=t.width||1,i=t.height||1,o=t.deal_id||””,d=t.crid||””,a=e.bids[t.imp_id];0!=t.cpm&&t.ad&&(r={requestId:a.bidId,cpm:t.cpm,width:n,height:i,netRevenue:!0,ad:t.ad,creativeId:d,dealId:o,currency:”USD”,ttl:300,tl_source:t.tl_source,meta:{}},m(a)&&”video”===t.media_type&&(r.vastXml=t.ad,r.mediaType=”video”,r.ttl=3600),t.advertiser_name&&(r.meta.advertiserName=t.advertiser_name),t.adomain&&t.adomain.length&&(r.meta.advertiserDomains=t.adomain),t.tl_source&&”hdx”==t.tl_source&&(m(a)&&”video”===t.media_type?r.meta.mediaType=”video”:r.meta.mediaType=”banner”),t.tl_source&&”tlx”==t.tl_source&&(r.meta.mediaType=”native”),d&&(r.meta.networkId=d.slice(0,d.indexOf(“_”))));return r}(r,e)}))},getUserSyncs:function(e,t,r,i){let o=function(e){if(!e)return;if(e.iframeEnabled)return”iframe”;if(e.pixelEnabled)return”image”}(e);if(!o)return;let d=”https://eb2.3lift.com/sync?”;return”image”===o&&(d=(0,n.tryAppendQueryString)(d,”px”,1),d=(0,n.tryAppendQueryString)(d,”src”,”prebid”)),null!==p&&(d=(0,n.tryAppendQueryString)(d,”gdpr”,u),d=(0,n.tryAppendQueryString)(d,”cmp_cs”,p)),i&&(d=(0,n.tryAppendQueryString)(d,”us_privacy”,i)),[{type:o,url:d}]}};function m(e){return g(e)&&(f(e)||function(e){return g(e)&&”outstream”===e.mediaTypes.video.context.toLowerCase()}(e))}function f(e){return g(e)&&”instream”===e.mediaTypes.video.context.toLowerCase()}function g(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function y(e){let t=null;if(“function”==typeof e.getFloor)try{const r=e.getFloor({currency:”USD”,mediaType:m(e)?”video”:”banner”,size:”*”});”object”!=typeof r||”USD”!==r.currency||isNaN(parseFloat(r.floor))||(t=parseFloat(r.floor))}catch(e){(0,n.logError)(“Triplelift: getFloor threw an error: “,e)}return null!==t?t:e.params.floor}function v(e,t){(0,n.isEmpty)(t)||Object.keys(t).forEach((r=>{null!=t[r]&&(e[r]=t[r])}))}function b(e){return E(e,”tdid”,”adserver.org”,”TDID”)}function h(e){return E(e,”idl_env”,”liveramp.com”,”idl”)}function S(e){return E(e,”criteoId”,”criteo.com”,”criteoId”)}function x(e){return E(e,”pubcid”,”pubcid.org”,”pubcid”)}function A(e){let t=[“adserver.org”,”liveramp.com”,”criteo.com”,”pubcid.org”],r=[];return e.userIdAsEids&&e.userIdAsEids.forEach((e=>{try{if(-1===t.indexOf(e.source)){let t=e.uids.map((t=>({id:t.id,ext:{rtiPartner:e.source}})));r.push({source:e.source,uids:t})}}catch(t){(0,n.logWarn)(“Triplelift: Error attempting to add “.concat(e,” to bid request”),t)}})),r}function E(e,t,r,n){return e.map(function(e){return t=>t&&t.userId&&t.userId[e]}(t)).filter(T(t)).map(function(e,t){return r=>({source:e,uids:[{id:r.id?r.id:r,ext:{rtiPartner:t}}]})}(r,n))}const T=e=>(t,r,i)=>{let o=!!t&&((0,n.isStr)(t)?!!t:(0,n.isPlainObject)(t)&&!(0,n.isArray)(t)&&!(0,n.isEmpty)(t)&&t.id&&(0,n.isStr)(t.id)&&!!t.id);return o||void 0===i[0]||(0,n.logWarn)(“Triplelift: invalid “.concat(e,” userId format”)),o};function _(e){return e.filter(I).map((function(e){return{w:e[0],h:e[1]}}))}function I(e){return 2===e.length&&”number”==typeof e[0]&&”number”==typeof e[1]}(0,o.dX)(l),window.pbjs.installedModules.push(“tripleliftBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return t=70789,e(e.s=t);var t}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[4579],{98709:(r,e,t)=>{var n=t(64358),o=t(48928),s=t(92797);const d=”unifiedId”,i={name:d,gvlid:21,decode:r=>r&&”string”==typeof r.TDID?{tdid:r.TDID}:void 0,getId(r){const e=r&&r.params||{};if(!e||”string”!=typeof e.partner&&”string”!=typeof e.url)return void(0,n.logError)(“User ID – unifiedId submodule requires either partner or url to be defined”);const t=e.url||”https://match.adsrvr.org/track/rid?ttd_pid=”.concat(e.partner,”&fmt=json”);return{callback:function(r){const e={success:e=>{let t;if(e)try{t=JSON.parse(e)}catch(r){(0,n.logError)(r)}r(t)},error:e=>{(0,n.logError)(“”.concat(d,”: ID fetch encountered an error”),e),r()}};(0,o.h)(t,e,void 0,{method:”GET”,withCredentials:!0})}}}};(0,s.Bx)(“userId”,i),window.pbjs.installedModules.push(“unifiedIdSystem”)}},r=>{r.O(0,[6866],(()=>{return e=98709,r(r.s=e);var e}));r.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[9039],{83806:(e,r,n)=>{var t=n(20265),i=n(64358),d=n(35706),o=n(14699),s=n(24679);const a=(e,r,n)=>{const{bids:i,bidderRequestId:d,auctionId:o,bidderCode:s,…a}=n,u=n.bids.length-r.length;let l={};r.forEach((e=>{const r=e.params.siteId;(e=>{Object.keys(e.mediaTypes).forEach((r=>{let n;n=”function”==typeof e.getFloor?e.getFloor({currency:”USD”,mediaType:r,size:”*”}).floor||0:e.params.floor||0,e.mediaTypes[r].floor=n}))})(e),(e=>{let r=(0,t.Z)(e,”mediaTypes.banner”);if(r){let e={},n=[];r.sizes.forEach((r=>{e[r.toString()]||(e[r.toString()]=!0,n.push(r))})),r.sizes=n}})(e),l[r]=l[r]||[],l[r].push(e)}));let p=[];return Object.keys(l).forEach((r=>{let n={bidderRequest:Object.assign({},{bids:l[r],invalidBidsCount:u,…a})};p.push(Object.assign({},{data:n,…e}))})),p},u=e=>{if(e.ad)return e;(0,i.logError)(new Error(“UnrulyBidAdapter: Missing ad config.”))},l=e=>{if(e.vastUrl||e.vastXml)return e;(0,i.logError)(new Error(“UnrulyBidAdapter: Missing vastUrl or vastXml config.”))},p=e=>{const r=!!(0,t.Z)(e,”ext.renderer.config”),n=!!(0,t.Z)(e,”ext.renderer.config.siteId”);if(!r)return void(0,i.logError)(new Error(“UnrulyBidAdapter: Missing renderer config.”));if(!n)return void(0,i.logError)(new Error(“UnrulyBidAdapter: Missing renderer siteId.”));const o=(0,t.Z)(e,”ext.renderer”);!function(e,r){if(!e.config)throw new Error(“UnrulyBidAdapter: Missing renderer config.”);if(!e.config.siteId)throw new Error(“UnrulyBidAdapter: Missing renderer siteId.”);parent.window.unruly=parent.window.unruly||{},parent.window.unruly.native=parent.window.unruly.native||{},parent.window.unruly.native.siteId=parent.window.unruly.native.siteId||e.config.siteId,parent.window.unruly.native.adSlotId=r,parent.window.unruly.native.supplyMode=”prebid”}(o,e.requestId),parent.window.unruly.native.prebid=parent.window.unruly.native.prebid||{},parent.window.unruly.native.prebid.uq=parent.window.unruly.native.prebid.uq||[];const s=d.Th.install(Object.assign({},o)),a=Object.assign({},e,{renderer:s,adUnitCode:(0,t.Z)(e,”ext.adUnitCode”)});return s.setRender((()=>{var e;e=a,parent.window.unruly.native.prebid.uq.push([“render”,e])})),e.renderer=e.renderer||s,e},c=e=>{if(!e.context)return!1;return-1!==[“outstream”,”instream”].indexOf(e.context)},y=e=>e.sizes,w={code:”unruly”,supportedMediaTypes:[s.pX,s.Mk],gvlid:36,isBidRequestValid:function(e){let r=(0,t.Z)(e,”params.siteId”)&&(e=>{const r=(0,t.Z)(e,”mediaTypes.video”),n=(0,t.Z)(e,”mediaTypes.banner”);let i=!(!r&&!n);return i&&r&&(i=c(r)),i&&n&&(i=y(n)),i})(e);return!!r},buildRequests:function(e,r){let n=”https://targeting.unrulymedia.com/unruly_prebid”;e[0]&&(n=(0,t.Z)(e[0],”params.endpoint”)||n);return a({url:n,method:”POST”,options:{contentType:”application/json”}},e,r)},interpretResponse:function(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).body;return!e||!e.bids?[]:(e=>{let r=[];return e.forEach((e=>{let n,i=(0,t.Z)(e,”meta.mediaType”);if(i&&”banner”===i.toLowerCase())e.mediaType=s.Mk,n=u(e);else if(i&&”video”===i.toLowerCase()){let r=(0,t.Z)(e,”meta.videoContext”);e.mediaType=s.pX,”instream”===r?n=l(e):”outstream”===r&&(n=p(e))}n&&r.push(n)})),r})(e.bids)}};(0,o.dX)(w),window.pbjs.installedModules.push(“unrulyBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return r=83806,e(e.s=r);var r}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[9215],{4192:(e,t,n)=>{n.d(t,{HQ:()=>s,Pv:()=>a,UR:()=>i});var o=n(64358),r=n(20265);const i={growthCodeId:{getValue:function(e){return e.gc_id},source:”growthcode.io”,atype:1,getUidExt:function(e){const t=(0,o.pick)(e,[“h1″,”h2″,”h3″]);if(Object.keys(t).length)return t}},trustpid:{source:”trustpid.com”,atype:1,getValue:function(e){return e}},intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},justId:{source:”justtag.com”,atype:1},pubcid:{source:”pubcid.org”,atype:1},tdid:{source:”adserver.org”,atype:1,getUidExt:function(){return{rtiPartner:”TDID”}}},id5id:{getValue:function(e){return e.uid},source:”id5-sync.com”,atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:”flashtalking.com”,atype:1,getValue:function(e){let t=””;return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){const t=(0,o.pick)(e,[“ibaOptout”,”ccpaOptout”]);if(Object.keys(t).length)return t}},idl_env:{source:”liveramp.com”,atype:3},lipb:{getValue:function(e){return e.lipbid},source:”liveintent.com”,atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:”britepool.com”,atype:3},dmdId:{source:”hcn.health”,atype:3},lotamePanoramaId:{source:”crwdcntrl.net”,atype:1},criteoId:{source:”criteo.com”,atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?””.concat(e.ext.ssp,”.merkleinc.com”):”merkleinc.com”},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:”netid.de”,atype:1},IDP:{source:”zeotap.com”,atype:1},hadronId:{source:”audigent.com”,atype:1},quantcastId:{source:”quantcast.com”,atype:1},idx:{source:”idx.lat”,atype:1},connectid:{source:”verizonmedia.com”,atype:3},fabrickId:{source:”neustar.biz”,atype:1},mwOpenLinkId:{source:”mediawallahscript.com”,atype:1},tapadId:{source:”tapad.com”,atype:1},novatiq:{getValue:function(e){return e.snowflake},source:”novatiq.com”,atype:1},uid2:{source:”uidapi.com”,atype:3,getValue:function(e){return e.id}},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxdt.net”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imppid:{source:”ppid.intimatemerger.com”,atype:1},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3},qid:{source:”adquery.io”,atype:1},dacId:{source:”impact-ad.jp”,atype:1},”33acrossId”:{source:”33across.com”,atype:1,getValue:function(e){return e.envelope}},tncid:{source:”thenewco.it”,atype:3},gravitompId:{source:”gravito.net”,atype:1},cpexId:{source:”czechadid.cz”,atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:”paf”,atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){const t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function c(e,t){const n=i[t];if(n&&e){let t={};t.source=(0,o.isFn)(n.getSource)?n.getSource(e):n.source;const r=(0,o.isFn)(n.getValue)?n.getValue(e):e;if((0,o.isStr)(r)){const i={id:r,atype:n.atype};if((0,o.isFn)(n.getUidExt)){const t=n.getUidExt(e);t&&(i.ext=t)}if(t.uids=[i],(0,o.isFn)(n.getEidExt)){const o=n.getEidExt(e);o&&(t.ext=o)}return t}}return null}function s(e){let t=[];for(const n in e)if(e.hasOwnProperty(n))if(“pubProvidedId”===n)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[n]))e[n].forEach(((e,o,r)=>{const i=c(e,n);i&&t.push(i)}));else{const o=c(e[n],n);o&&t.push(o)}return t}function a(e){let t=[];return e.filter((e=>(0,o.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length)).forEach((e=>{Object.keys(e.idObj).forEach((n=>{(0,r.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&(0,r.Z)(i,n+”.source”)&&t.push({source:i[n].source,bidders:e.config.bidders})}))})),t}},34727:(e,t,n)=>{var o=n(34614),r=n(3193),i=n(52021),c=n(78640),s=n(51039),a=n(5644),u=n(92797),d=n(4192),l=n(15164),g=n(64358),f=n(20265),p=n(96475),m=n(7563),y=n(68792),b=n(17673),h=n(26372),I=n(99128),v=n(38196);const E=”User ID”,w=”cookie”,O=”html5″,D={name:”_pbjs_userid_consent_data”,expires:30},k=”_pbjs_id_optout”,j=(0,l.eA)(“userid”);let S,x,P,A,U,C,T=!1,V=[],R=[],N=[];const _=(()=>{let e;return()=>(null==e&&(e=(0,I.V6)()),e)})();function q(e){return _().fork().renameWith((t=>[“userId.mod.”.concat(t),”userId.mods.”.concat(e,”.”).concat(t)]))}function Z(e){const t=”function”==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,n=e.config.storage.name;return function(e,o,r){j.setCookie(n+(e||””),o,r,”Lax”,t)}}function L(e,t){const n=e.config.storage;try{const o=new Date(Date.now()+864e5*n.expires).toUTCString(),r=(0,g.isPlainObject)(t)?JSON.stringify(t):t;if(n.type===w){const t=Z(e);t(null,r,o),”number”==typeof n.refreshInSeconds&&t(“_last”,(new Date).toUTCString(),o)}else n.type===O&&(j.setDataInLocalStorage(“”.concat(n.name,”_exp”),o),j.setDataInLocalStorage(n.name,encodeURIComponent(r)),”number”==typeof n.refreshInSeconds&&j.setDataInLocalStorage(“”.concat(n.name,”_last”),(new Date).toUTCString()))}catch(e){(0,g.logError)(e)}}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const n=t?””.concat(e.name,”_”).concat(t):e.name;let o;try{if(e.type===w)o=j.getCookie(n);else if(e.type===O){const t=j.getDataFromLocalStorage(“”.concat(e.name,”_exp”));””===t?o=j.getDataFromLocalStorage(n):t&&new Date(t).getTime()-Date.now()>0&&(o=decodeURIComponent(j.getDataFromLocalStorage(n)))}”string”==typeof o&&”{“===o.trim().charAt(0)&&(o=JSON.parse(o))}catch(e){(0,g.logError)(e)}return o}function G(e){const t={consentString:””,gdprApplies:!1,apiVersion:0};return e&&(t.consentString=e.consentString,t.gdprApplies=e.gdprApplies,t.apiVersion=e.apiVersion),(0,g.cyrb53Hash)(JSON.stringify(t))}function z(e,t){t=_().fork().startTiming(“userId.callbacks.total”).stopBefore(t);const n=(0,g.delayExecution)((()=>{clearTimeout(x),t()}),e.length);e.forEach((function(e){const t=q(e.submodule.name).startTiming(“callback”).stopBefore(n);try{e.callback((function(n){n?(e.config.storage&&L(e,n),e.idObj=e.submodule.decode(n,e.config),ie(e.idObj)):(0,g.logInfo)(“”.concat(E,”: “).concat(e.submodule.name,” – request id responded with an empty value”)),t()}))}catch(n){(0,g.logError)(“Error in userID module ‘”.concat(e.submodule.name,”‘:”),n),t()}e.callback=void 0}))}function W(e,t){[e].some((e=>!Array.isArray(e)||!e.length))||e.forEach((e=>{e.bids&&(0,g.isArray)(e.bids)&&e.bids.forEach((e=>{const n=function(e,t){return Array.isArray(e)&&e.length&&t?e.filter((e=>!e.config.bidders||!(0,g.isArray)(e.config.bidders)||(0,o.q9)(e.config.bidders,t))).filter((e=>(0,g.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length)).reduce(((e,t)=>(Object.keys(t.idObj).forEach((n=>{e[n]=t.idObj[n]})),e)),{}):{}}(t,e.bidder);Object.keys(n).length&&(e.userId=n,e.userIdAsEids=(0,d.HQ)(n))}))}))}const B={};let H;function J(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K()||[];const t=U&&e.find((e=>e.source===U));if(t&&”string”==typeof(0,f.Z)(t,”uids.0.id”)){const e=t.uids[0].id.replace(/[W_]/g,””);if(e.length>=32&&e.length<=150)return e;(0,g.logWarn)(“User ID – Googletag Publisher Provided ID for “.concat(U,” is not between 32 and 150 characters – “).concat(e))}}const Q=(0,I.g3)(“userId”,(function(e,t){let{delay:n=y.Z.timeout,getIds:o=ne}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y.Z.race([o().catch((()=>null)),n(A)]).then((()=>{W(t.adUnits||(0,c.R)().adUnits,S),_().join((0,I.Bf)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(this,t)}))}));function M(){return function(e){return Array.isArray(e)&&e.length?e.filter((e=>(0,g.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length)).reduce(((e,t)=>(Object.keys(t.idObj).forEach((n=>{e[n]=t.idObj[n]})),e)),{}):{}}(S)}function K(){return(0,d.HQ)(M())}function Y(e){return(0,d.HQ)(function(e,t){if(!Array.isArray(e)||!e.length)return{};const n=e.filter((e=>{var n;return(0,g.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length&&(null===(n=d.UR[Object.keys(e.idObj)[0]])||void 0===n?void 0:n.source)===t}));return(0,g.isEmpty)(n)?[]:n[0].idObj}(S,e))[0]}function X(e,t,n){return H().then((()=>{let o={};if((0,g.isFn)(n)){(0,g.logInfo)(“”.concat(E,” – Getting encrypted signal from custom function : “).concat(n.name,” & source : “).concat(e,” “));const t=n(e);o[e]=t?$(t):null}else{const n=Y(e);(0,g.logInfo)(“”.concat(E,” – Getting encrypted signal for eids :”).concat(JSON.stringify(n))),(0,g.isEmpty)(n)||(o[n.source]=!0===t?$(n):n.uids[0].id)}return(0,g.logInfo)(“”.concat(E,” – Fetching encrypted eids: “).concat(o[e])),o[e]}))}function $(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=””;if(1===t)n=”object”==typeof e?window.btoa(JSON.stringify(e)):window.btoa(e);return””.concat(t,”||”).concat(n)}function ee(){if(!(0,g.isGptPubadsDefined)())return;window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[];const e=r.config.getConfig(“userSync.encryptedSignalSources”);if(e){const t=e.registerDelay||0;setTimeout((()=>{e.sources&&e.sources.forEach((e=>{let{source:t,encrypt:n,customFunc:o}=e;t.forEach((e=>{window.googletag.encryptedSignalProviders.push({id:e,collectorFunction:()=>X(e,n,o)})}))}))}),t)}else(0,g.logWarn)(“”.concat(E,” – ESP : encryptedSignalSources config not defined under userSync Object”))}function te(){let{submoduleNames:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return H({refresh:!0,submoduleNames:e}).then((()=>(t&&(0,g.isFn)(t)&&t(),M())))}function ne(){return H().then((()=>M()),(e=>e===B?Promise.resolve().then(ne):((0,g.logError)(“Error initializing userId”,e),y.Z.reject(e))))}const oe=(0,u.z3)(“sync”,(function(e,t){return{userIdModules:e,hasValidated:t&&t.hasValidated}}),”validateGdprEnforcement”);function re(e,t,n,o){if(e.config.storage){let r,i=F(e.config.storage),c=!1;if(“number”==typeof e.config.storage.refreshInSeconds){const t=new Date(F(e.config.storage,”last”));c=t&&Date.now()-t.getTime()>1e3*e.config.storage.refreshInSeconds}!i||c||o||!function(e,t){return null!=e&&e===G(t)}(n,t)?r=e.submodule.getId(e.config,t,i):”function”==typeof e.submodule.extendId&&(r=e.submodule.extendId(e.config,t,i)),(0,g.isPlainObject)(r)&&(r.id&&(L(e,r.id),i=r.id),”function”==typeof r.callback&&(e.callback=r.callback)),i&&(e.idObj=e.submodule.decode(i,e.config))}else if(e.config.value)e.idObj=e.config.value;else{const n=e.submodule.getId(e.config,t,void 0);(0,g.isPlainObject)(n)&&(“function”==typeof n.callback&&(e.callback=n.callback),n.id&&(e.idObj=e.submodule.decode(n.id,e.config)))}ie(e.idObj)}function ie(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M();if(e&&U){const t=J((0,d.HQ)(e));t&&((0,g.isGptPubadsDefined)()?window.googletag.pubads().setPublisherProvidedId(t):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(t)}))))}}function ce(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return _().fork().measureTime(“userId.init.modules”,(function(){if(!t.length)return[];const r=function(){const e=[];let t=!1;j.localStorageIsEnabled()&&(e.push(O),j.getDataFromLocalStorage(k)&&((0,g.logInfo)(“”.concat(E,” – opt-out localStorage found, storage disabled”)),t=!0));j.cookiesAreEnabled()&&(e.push(w),j.getCookie(k)&&((0,g.logInfo)(“”.concat(E,” – opt-out cookie found, storage disabled”)),t=!0));return new Set(t?[]:e)}();if(!(t=t.filter((e=>!e.config.storage||r.has(e.config.storage.type)))).length)return(0,g.logWarn)(“”.concat(E,” – no ID module is configured for one of the available storage types:”),Array.from(r)),[];let{userIdModules:i,hasValidated:c}=oe(t,n);if(!c&&!(0,b.h)(n))return(0,g.logWarn)(“”.concat(E,” – gdpr permission not valid for local storage or cookies, exit module”)),[];const s=function(){try{return j.getCookie(D.name)}catch(e){(0,g.logError)(e)}}();!function(e){try{const t=new Date(Date.now()+864e5*D.expires).toUTCString();j.setCookie(D.name,G(e),t,”Lax”)}catch(e){(0,g.logError)(e)}}(n);const a=i.reduce(((e,t)=>q(t.submodule.name).measureTime(“init”,(()=>{try{re(t,n,s,o),e.push(t)}catch(e){(0,g.logError)(“Error in userID module ‘”.concat(t.submodule.name,”‘:”),e)}return e}))),[]);return a.length&&function(e){let t=(0,g.getPrebidInternal)().setEidPermissions;”function”==typeof t&&(0,g.isArray)(e)&&t((0,d.Pv)(e))}(a),a.forEach(se.bind(null,e)),a}))}function se(e,t){let n=!1;for(let o=0;o(!t||(0,g.isEmptyStr)(t.name)||(t.storage&&!(0,g.isEmptyStr)(t.storage.type)&&!(0,g.isEmptyStr)(t.storage.name)&&ae.has(t.storage.type)||(0,g.isPlainObject)(t.value)?e.push(t):t.storage||t.value||e.push(t)),e)),[]):[]}(R);if(!e.length)return;const t=N.filter((e=>!(0,o.sE)(V,(t=>t.name===e.name))));V.splice(0,V.length),t.map((t=>{const n=(0,o.sE)(e,(e=>e.name&&(e.name.toLowerCase()===t.name.toLowerCase()||t.aliasName&&e.name.toLowerCase()===t.aliasName.toLowerCase())));return n&&t.name!==n.name&&(n.name=t.name),t.findRootDomain=v.W,n?{submodule:t,config:n,callback:void 0,idObj:void 0}:null})).filter((e=>null!==e)).forEach((e=>V.push(e))),!T&&V.length&&((0,c.R)().requestBids.before(Q,40),s.ZP.callDataDeletionRequest.before(de),m.G.after((e=>e(J()))),(0,g.logInfo)(“”.concat(E,” – usersync config updated for “).concat(V.length,” submodules: “),V.map((e=>e.submodule.name))),T=!0)}function de(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{if(“function”==typeof e.submodule.onDataDeletionRequest)try{e.submodule.onDataDeletionRequest(e.config,e.idObj,…n)}catch(t){(0,g.logError)(“Error calling onDataDeletionRequest for ID submodule “.concat(e.submodule.name),t)}!function(e){var t,n;let o,r;switch(null===(t=e.config)||void 0===t||null===(n=t.storage)||void 0===n?void 0:n.type){case w:const t=Z(e),n=new Date(Date.now()-864e5).toUTCString();o=e=>t(e,””,n),r=[“”,”_last”];break;case O:o=t=>j.removeDataFromLocalStorage(e.config.storage.name+t),r=[“”,”_last”,”_exp”]}o&&r.forEach((e=>{try{o(e)}catch(e){(0,g.logError)(e)}}))}(e)})),e.apply(this,n)}function le(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){let{delay:t=y.Z.timeout}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};U=void 0,V=[],R=[],T=!1,S=[],H=function(){let{delay:e=y.Z.timeout}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,y.P)(),n=(0,y.P)();let o,r,c=!1;function d(e){return r=_().fork(),null!=o&&o.reject(B),o=(0,y.P)(),y.Z.race([e,o.promise]).finally(r.startTiming(“userId.total”))}let l=S,f=V;function p(e){return function(){if(l===S&&f===V)return e(…arguments)}}function m(){return s.rp.promise.finally(r.startTiming(“userId.init.gdpr”))}let b=d(y.Z.all([u.Cd,t.promise]).then(m).then(p((e=>{ce(l,f,e)}))).then((()=>n.promise.finally(r.startTiming(“userId.callbacks.pending”)))).then(p((()=>{const e=l.filter((e=>(0,g.isFn)(e.callback)));if(e.length)return new y.Z((t=>z(e,t)))}))));return function(){let{refresh:o=!1,submoduleNames:r=null,ready:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s&&!c&&(c=!0,t.resolve(),A>0?n.resolve():i.on(a.EVENTS.AUCTION_END,(function t(){i.off(a.EVENTS.AUCTION_END,t),e(P).then(n.resolve)}))),o&&c&&(b=d(b.catch((()=>null)).then(m).then(p((e=>{const t=ce(l,f.filter((e=>null==r||r.includes(e.submodule.name))),e,!0).filter((e=>null!=e.callback));if(t.length)return new y.Z((e=>z(t,e)))}))))),b}}({delay:t}),null!=C&&C(),N=[],C=e.getConfig(“userSync”,(e=>{const t=e.userSync;U=t.ppid,t&&t.userIds&&(R=t.userIds,P=(0,g.isNumber)(t.syncDelay)?t.syncDelay:500,A=(0,g.isNumber)(t.auctionDelay)?t.auctionDelay:0,ue(),H({ready:!0}))})),(0,c.R)().getUserIds=M,(0,c.R)().getUserIdsAsEids=K,(0,c.R)().getEncryptedEidsForSource=le(X),(0,c.R)().registerSignalSources=ee,(0,c.R)().refreshUserIds=le(te),(0,c.R)().getUserIdsAsync=le(ne),(0,c.R)().getUserIdsAsEidBySource=Y}(r.config),(0,u.bA)(“userId”,(function(e){(0,o.sE)(N,(t=>t.name===e.name))||(N.push(e),ue(),H({refresh:!0,submoduleNames:[e.name]}))})),(0,h.f8)({type:h.Z,name:”userExtEids”,fn:function(e,t,n){const o=(0,f.Z)(n,”bidRequests.0.userIdAsEids”);o&&(0,p.N)(e,”user.ext.eids”,o)}}),window.pbjs.installedModules.push(“userId”)},7563:(e,t,n)=>{n.d(t,{G:()=>o});const o=(0,n(92797).z3)(“sync”,(()=>{}))},26372:(e,t,n)=>{n.d(t,{DZ:()=>i,Px:()=>c,TP:()=>a,YC:()=>s,Z:()=>r,f8:()=>l,fP:()=>g,gm:()=>o,md:()=>u});const o=[“request”,”imp”,”bidResponse”,”response”],[r,i,c,s]=o,[a,u]=[“default”,”pbs”],d=new Set(o);const{registerOrtbProcessor:l,getProcessors:g}=function(){const e={};return{registerOrtbProcessor(t){let{type:n,name:r,fn:i,priority:c=0,dialects:s=[a]}=t;if(!d.has(n))throw new Error(“ORTB processor type must be one of: “.concat(o.join(“, “)));s.forEach((t=>{e.hasOwnProperty(t)||(e[t]={}),e[t].hasOwnProperty(n)||(e[t][n]={}),e[t][n][r]={priority:c,fn:i}}))},getProcessors:t=>e[t]||{}}}()},17673:(e,t,n)=>{n.d(t,{h:()=>r});var o=n(20265);function r(e){return null==e||!e.gdprApplies||!0===(0,o.Z)(e,”vendorData.purpose.consents.1″)}}},e=>{e.O(0,[6866],(()=>{return t=34727,e(e.s=t);var t}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[6635],{63273:(e,t,n)=>{var o=n(64358),r=n(20265),i=n(14699),d=n(24679),c=n(15164),a=n(55975),s=n(3193);const p=”prebid”,u=”vidazoo”,l=”1.0.0″,g=9e5,b=36e5,f=”vidSid”,h=”vdzwopt”,I={britepoolid:1,criteoId:1,id5id:1,idl_env:1,lipb:1,netId:1,parrableId:1,pubcid:1,tdid:1,pubProvidedId:1},m=”wsid_”+parseInt(Date.now()*Math.random()),v=(0,c.df)({gvlid:744,bidderCode:u});function C(){try{return(0,o.parseUrl)(window.top.document.URL,{decodeSearchAsString:!0}).search}catch(e){return””}}function S(){return”https://”.concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,”.cootlogix.com”)}function y(e){return e.cId||e.CID||e.cID||e.CId||e.cid||e.ciD||e.Cid||e.CiD}function D(e){return e.pId||e.PID||e.pID||e.PId||e.pid||e.piD||e.Pid||e.PiD}function w(e,t,n,i,d){var c,s;const{params:p,bidId:w,userId:q,adUnitCode:x,schain:A,mediaTypes:_,auctionId:k,transactionId:O,bidderRequestId:T,bidRequestsCount:M,bidderRequestsCount:z,bidderWinsCount:F}=e,{ext:P}=p;let{bidFloor:j}=p;const L=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:”_”;const n=e.length;let o=0,r=0;if(n>0)for(;r1&&void 0!==arguments[1]?arguments[1]:g;try{const n=R(e);let o,r=0;n&&n.value&&Date.now()-n.created1&&void 0!==arguments[1]?arguments[1]:b;const n=”u_”.concat(e),o=Date.now(),r=R(n);let i;!r||!r.value||o-r.created>t?(i=””.concat(e,”_”).concat(o.toString()),U(n,i)):i=r.value;return i}(L),N=R(f)||””,X=y(p),B=D(p),V=function(e){return e.subDomain||e.SubDomain||e.Subdomain||e.subdomain||e.SUBDOMAIN||e.subDOMAIN}(p),J=function(){let e=v.getDataFromLocalStorage(h);e||(e=String(Date.now()),v.setDataInLocalStorage(h,e));return e}(),W=a.S.get(u,”storageAllowed”),G=(0,r.Z)(e,”ortb2Imp.ext.gpid”,(0,r.Z)(e,”ortb2Imp.ext.data.pbadslot”,””)),H=(0,r.Z)(i,”ortb2.site.cat”,[]),K=(0,r.Z)(i,”ortb2.site.pagecat”,[]);if((0,o.isFn)(e.getFloor)){const t=e.getFloor({currency:”USD”,mediaType:”*”,size:”*”});”USD”===t.currency&&(j=t.floor)}let Q={url:encodeURIComponent(t),uqs:C(),cb:Date.now(),bidFloor:j,bidId:w,referrer:i.refererInfo.ref,adUnitCode:x,publisherId:B,sessionId:N,sizes:n,dealId:Z,uniqueDealId:E,bidderVersion:l,prebidVersion:”7.37.0″,res:””.concat(screen.width,”x”).concat(screen.height),schain:A,mediaTypes:_,ptrace:J,isStorageAllowed:W,gpid:G,cat:H,pagecat:K,auctionId:k,transactionId:O,bidderRequestId:T,bidRequestsCount:M,bidderRequestsCount:z,bidderWinsCount:F,bidderTimeout:d,webSessionId:m};!function(e,t){let n;(0,o._each)(t,((t,o)=>{if(I[o])switch(n=”uid.”.concat(o),o){case”digitrustid”:e[n]=(0,r.Z)(t,”data.id”);break;case”lipb”:e[n]=t.lipbid;break;case”parrableId”:e[n]=t.eid;break;case”id5id”:e[n]=t.uid;break;default:e[n]=t}}))}(Q,q),i.gdprConsent&&(i.gdprConsent.consentString&&(Q.gdprConsent=i.gdprConsent.consentString),void 0!==i.gdprConsent.gdprApplies&&(Q.gdpr=i.gdprConsent.gdprApplies?1:0)),i.uspConsent&&(Q.usPrivacy=i.uspConsent),i.gppConsent?(Q.gppString=i.gppConsent.gppString,Q.gppSid=i.gppConsent.applicableSections):null!==(c=i.ortb2)&&void 0!==c&&null!==(s=c.regs)&&void 0!==s&&s.gpp&&(Q.gppString=i.ortb2.regs.gpp,Q.gppSid=i.ortb2.regs.gpp_sid);const Y={method:”POST”,url:””.concat(S(V),”/prebid/multi/”).concat(X),data:Q};return(0,o._each)(P,((e,t)=>{Y.data[“ext.”+t]=e})),Y}function R(e){try{return function(e){try{return JSON.parse(e)}catch(t){return e}}(v.getDataFromLocalStorage(e))}catch(e){}return null}function U(e,t,n){try{const o=n||Date.now(),r=JSON.stringify({value:t,created:o});v.setDataInLocalStorage(e,r)}catch(e){}}const q={code:u,version:l,gvlid:744,supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){const t=e.params||{};return!(!y(t)||!D(t))},buildRequests:function(e,t){const n=t.refererInfo.page||t.refererInfo.topmostLocation,r=s.config.getConfig(“bidderTimeout”),i=[];return e.forEach((e=>{const d=(0,o.parseSizesInput)(e.sizes),c=w(e,n,d,t,r);i.push(c)})),i},interpretResponse:function(e,t){if(!e||!e.body)return[];const{bidId:n}=t.data,{results:o}=e.body;let r=[];try{return o.forEach((e=>{const{creativeId:t,ad:o,price:i,exp:c,width:a,height:s,currency:p,advertiserDomains:u,mediaType:l=d.Mk}=e;if(!o||!i)return;const g={requestId:n,cpm:i,width:a,height:s,creativeId:t,currency:p||”USD”,netRevenue:!0,ttl:c||300,meta:{advertiserDomains:u||[]}};l===d.Mk?Object.assign(g,{ad:o}):Object.assign(g,{vastXml:o,mediaType:d.pX}),r.push(g)})),r}catch(e){return[]}},getUserSyncs:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:””,d=[];const{iframeEnabled:c,pixelEnabled:a}=e,{gdprApplies:s,consentString:p=””}=n,u=t.filter((e=>(0,r.Z)(e,”body.cid”))).map((e=>e.body.cid)).filter(o.uniques),l=”?cid=”.concat(encodeURIComponent(u.join(“,”)),”&gdpr=”).concat(s?1:0,”&gdpr_consent=”).concat(encodeURIComponent(p||””),”&us_privacy=”).concat(encodeURIComponent(i||””));return c&&d.push({type:”iframe”,url:”https://sync.cootlogix.com/api/sync/iframe/”.concat(l)}),a&&d.push({type:”image”,url:”https://sync.cootlogix.com/api/sync/image/”.concat(l)}),d}};(0,i.dX)(q),window.pbjs.installedModules.push(“vidazooBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return t=63273,e(e.s=t);var t}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[608],{39595:(e,s,t)=>{var n=t(20265),r=t(64358),i=t(14699),d=t(24679),a=t(35706),o=t(34614);const c=”https://player.sync.viewdeos.com/outstream-unit/2.01/outstream.min.js”,u=”outstream”,p=”display”,l={code:”viewdeosDX”,aliases:[“viewdeos”],gvlid:924,supportedMediaTypes:[d.pX,d.Mk],isBidRequestValid:function(e){return!!(0,n.Z)(e,”params.aid”)},getUserSyncs:function(e,s){const t=[];function n(s){const n=s.cookieURLs,r=s.cookieURLSTypes||[];Array.isArray(n)&&n.forEach(((s,n)=>{const i=r[n]||”image”;!e.pixelEnabled&&”image”===i||!e.iframeEnabled&&”iframe”===i||t.push({type:i,url:s})}))}return(e.pixelEnabled||e.iframeEnabled)&&(0,r.isArray)(s)&&s.forEach((e=>{e.body&&((0,r.isArray)(e.body)?e.body.forEach((e=>{n(e)})):n(e.body))})),t},buildRequests:function(e,s){return{data:f(e,s),bidderRequest:s,method:”GET”,url:”https://ghb.sync.viewdeos.com/auction/”}},interpretResponse:function(e,s){let{bidderRequest:t}=s;e=e.body;let n=[];return(0,r.isArray)(e)?(e.forEach((e=>{n=(0,r.flatten)(n,m(e,t))})),n):m(e,t)}};function m(e,s){const t=!e||!(0,r.isArray)(e.bids),i=[];if(t){const t=e&&e.ext&&e.ext.message?”: “.concat(e.ext.message):””,n=”in response for “.concat(s.bidderCode,” adapter “).concat(t);return(0,r.logError)(n),i}return e.bids.forEach((e=>{const t=(0,o.cx)(s.bids,(s=>s.bidId===e.requestId));if(0!==e.cpm&&-1!==t){const r=s.bids[t],a=function(e,s,t){const n={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:s,ttl:3600,meta:{advertiserDomains:e.adomain||[]}};if(s===p)return Object.assign(n,{ad:e.ad});Object.assign(n,{vastUrl:e.vastUrl}),s===u&&Object.assign(n,{mediaType:”video”,adResponse:e,renderer:h(e.requestId,t)});return n}(e,function(e){const s=(0,n.Z)(e,”mediaTypes.video”),t=(0,n.Z)(e,”mediaTypes.video.context”);return s?t===u?u:d.pX:p}(r),r.params);i.push(a)}})),i}function f(e,s){const t={domain:(0,n.Z)(s,”refererInfo.page”)};(0,n.Z)(s,”gdprConsent.gdprApplies”)&&(t.gdpr=1,t.gdpr_consent=(0,n.Z)(s,”gdprConsent.consentString”)),(0,n.Z)(s,”bidderRequest.uspConsent”)&&(t.us_privacy=s.uspConsent);for(let s=0,n=e.length;s{const s=Object.assign({},e.renderer.getConfig(),{width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode});window.VOutstreamAPI.initOutstreams([s])}))}(0,i.dX)(l),window.pbjs.installedModules.push(“viewdeosDXBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return s=39595,e(e.s=s);var s}));e.O()}]); (self.pbjsChunk=self.pbjsChunk||[]).push([[5337],{4192:(e,t,r)=>{r.d(t,{HQ:()=>c,Pv:()=>d,UR:()=>o});var i=r(64358),n=r(20265);const o={growthCodeId:{getValue:function(e){return e.gc_id},source:”growthcode.io”,atype:1,getUidExt:function(e){const t=(0,i.pick)(e,[“h1″,”h2″,”h3″]);if(Object.keys(t).length)return t}},trustpid:{source:”trustpid.com”,atype:1,getValue:function(e){return e}},intentIqId:{source:”intentiq.com”,atype:1},naveggId:{source:”navegg.com”,atype:1},justId:{source:”justtag.com”,atype:1},pubcid:{source:”pubcid.org”,atype:1},tdid:{source:”adserver.org”,atype:1,getUidExt:function(){return{rtiPartner:”TDID”}}},id5id:{getValue:function(e){return e.uid},source:”id5-sync.com”,atype:1,getUidExt:function(e){if(e.ext)return e.ext}},ftrackId:{source:”flashtalking.com”,atype:1,getValue:function(e){let t=””;return e&&e.ext&&e.ext.DeviceID&&(t=e.ext.DeviceID),t},getUidExt:function(e){return e&&e.ext}},parrableId:{source:”parrable.com”,atype:1,getValue:function(e){return e.eid?e.eid:e.ccpaOptout?””:null},getUidExt:function(e){const t=(0,i.pick)(e,[“ibaOptout”,”ccpaOptout”]);if(Object.keys(t).length)return t}},idl_env:{source:”liveramp.com”,atype:3},lipb:{getValue:function(e){return e.lipbid},source:”liveintent.com”,atype:3,getEidExt:function(e){if(Array.isArray(e.segments)&&e.segments.length)return{segments:e.segments}}},britepoolid:{source:”britepool.com”,atype:3},dmdId:{source:”hcn.health”,atype:3},lotamePanoramaId:{source:”crwdcntrl.net”,atype:1},criteoId:{source:”criteo.com”,atype:1},merkleId:{atype:3,getSource:function(e){var t;return null!=e&&null!==(t=e.ext)&&void 0!==t&&t.ssp?””.concat(e.ext.ssp,”.merkleinc.com”):”merkleinc.com”},getValue:function(e){return e.id},getUidExt:function(e){return e.keyID?{keyID:e.keyID}:e.ext?e.ext:void 0}},netId:{source:”netid.de”,atype:1},IDP:{source:”zeotap.com”,atype:1},hadronId:{source:”audigent.com”,atype:1},quantcastId:{source:”quantcast.com”,atype:1},idx:{source:”idx.lat”,atype:1},connectid:{source:”verizonmedia.com”,atype:3},fabrickId:{source:”neustar.biz”,atype:1},mwOpenLinkId:{source:”mediawallahscript.com”,atype:1},tapadId:{source:”tapad.com”,atype:1},novatiq:{getValue:function(e){return e.snowflake},source:”novatiq.com”,atype:1},uid2:{source:”uidapi.com”,atype:3,getValue:function(e){return e.id}},deepintentId:{source:”deepintent.com”,atype:3},admixerId:{source:”admixer.net”,atype:3},adtelligentId:{source:”adtelligent.com”,atype:3},amxId:{source:”amxdt.net”,atype:1},publinkId:{source:”epsilon.com”,atype:3},kpuid:{source:”kpuid.com”,atype:3},imppid:{source:”ppid.intimatemerger.com”,atype:1},imuid:{source:”intimatemerger.com”,atype:1},connectId:{source:”yahoo.com”,atype:3},qid:{source:”adquery.io”,atype:1},dacId:{source:”impact-ad.jp”,atype:1},”33acrossId”:{source:”33across.com”,atype:1,getValue:function(e){return e.envelope}},tncid:{source:”thenewco.it”,atype:3},gravitompId:{source:”gravito.net”,atype:1},cpexId:{source:”czechadid.cz”,atype:1},oneKeyData:{getValue:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0])return e.identifiers[0].value},source:”paf”,atype:1,getEidExt:function(e){if(e&&e.preferences)return{preferences:e.preferences}},getUidExt:function(e){if(e&&Array.isArray(e.identifiers)&&e.identifiers[0]){const t=e.identifiers[0];return{version:t.version,type:t.type,source:t.source}}}}};function a(e,t){const r=o[t];if(r&&e){let t={};t.source=(0,i.isFn)(r.getSource)?r.getSource(e):r.source;const n=(0,i.isFn)(r.getValue)?r.getValue(e):e;if((0,i.isStr)(n)){const o={id:n,atype:r.atype};if((0,i.isFn)(r.getUidExt)){const t=r.getUidExt(e);t&&(o.ext=t)}if(t.uids=[o],(0,i.isFn)(r.getEidExt)){const i=r.getEidExt(e);i&&(t.ext=i)}return t}}return null}function c(e){let t=[];for(const r in e)if(e.hasOwnProperty(r))if(“pubProvidedId”===r)t=t.concat(e.pubProvidedId);else if(Array.isArray(e[r]))e[r].forEach(((e,i,n)=>{const o=a(e,r);o&&t.push(o)}));else{const i=a(e[r],r);i&&t.push(i)}return t}function d(e){let t=[];return e.filter((e=>(0,i.isPlainObject)(e.idObj)&&Object.keys(e.idObj).length)).forEach((e=>{Object.keys(e.idObj).forEach((r=>{(0,n.Z)(e,”config.bidders”)&&Array.isArray(e.config.bidders)&&(0,n.Z)(o,r+”.source”)&&t.push({source:o[r].source,bidders:e.config.bidders})}))})),t}},55511:(e,t,r)=>{var i=r(64358),n=r(20265),o=r(96475),a=r(24679),c=r(14699),d=r(35706),s=r(34614),u=r(4192);const p=”USD”,l=300,m=!0,f=”https://prebid-outstream.yieldmo.com/bundle.js”,y=[“mimes”,”startdelay”,”placement”,”startdelay”,”skipafter”,”protocols”,”api”,”playbackmethod”,”maxduration”,”minduration”,”pos”,”skip”,”skippable”],g=[“name”,”domain”,”cat”,”keywords”],v=(0,i.getWindowTop)(),h=2,b=0,I=[“description”,”title”,”pr”,”page_url”],x={code:”yieldmo”,supportedMediaTypes:[a.Mk,a.pX],gvlid:173,isBidRequestValid:function(e){return!!(e&&e.adUnitCode&&e.bidId&&(k(e)||w(e))&&function(e){if(!w(e))return!0;const t=(e,t,r)=>{let i='”‘.concat(e,'” is required’);throw r&&(i+=” when “+r),new Error(i)},r=(e,t,r)=>{throw r=r?”, expected: “+r:””,t=JSON.stringify(t),new Error(‘”‘.concat(e,'”=’).concat(t,” is invalid”).concat(r))},o=e=>void 0!==e,a=(t,r,i,o)=>{if(0===t.indexOf(“video”)){const a=”params.”+t,c=”mediaTypes.”+t,d=(0,n.Z)(e,a),s=(0,n.Z)(e,c),u=r(d),p=r(s);return u?d:p||(u?p||i(c,s,o):i(a,d,o),d||s)}{const a=(0,n.Z)(e,t);return r(a)||i(t,a,o),a}};try{a(“video.context”,(e=>!(0,i.isEmpty)(e)),t),a(“params.placementId”,(e=>!(0,i.isEmpty)(e)),t),a(“video.playerSize”,(e=>(0,i.isArrayOfNums)(e,2)||(0,i.isArray)(e)&&e.every((e=>(0,i.isArrayOfNums)(e,2)))),r,”array of 2 integers, ex: [640,480] or [[640,480]]”),a(“video.mimes”,(e=>o(e)),t),a(“video.mimes”,(e=>(0,i.isArray)(e)&&e.every((e=>(0,i.isStr)(e)))),r,’array of strings, ex: [“video/mp4”]’);const e=a(“video.placement”,(e=>o(e)),t);return a(“video.placement”,(e=>e>=1&&e<=5),r),1===e&&(a(“video.startdelay”,(e=>o(e)),((e,r)=>t(e,r,”placement == 1″))),a(“video.startdelay”,(e=>(0,i.isNumber)(e)),r,”number, ex: 5″)),a(“video.protocols”,(e=>o(e)),t),a(“video.protocols”,(e=>(0,i.isArrayOfNums)(e)&&e.every((e=>e>=1&&e<=6))),r,”array of numbers, ex: [2,3]”),a(“video.api”,(e=>o(e)),t),a(“video.api”,(e=>(0,i.isArrayOfNums)(e)&&e.every((e=>e>=1&&e<=6))),r,”array of numbers, ex: [2,3]”),a(“video.playbackmethod”,(e=>!o(e)||(0,i.isArrayOfNums)(e)),r,”array of integers, ex: [2,6]”),a(“video.maxduration”,(e=>o(e)),t),a(“video.maxduration”,(e=>(0,i.isInteger)(e)),r),a(“video.minduration”,(e=>!o(e)||(0,i.isNumber)(e)),r),a(“video.skippable”,(e=>!o(e)||(0,i.isBoolean)(e)),r),a(“video.skipafter”,(e=>!o(e)||(0,i.isNumber)(e)),r),a(“video.pos”,(e=>!o(e)||(0,i.isNumber)(e)),r),a(“params.badv”,(e=>!o(e)||(0,i.isArray)(e)),r,’array of strings, ex: [“ford.com”,”pepsi.com”]’),a(“params.bcat”,(e=>!o(e)||(0,i.isArray)(e)),r,’array of strings, ex: [“IAB1-5″,”IAB1-6”]’),!0}catch(e){return(0,i.logError)(e.message),!1}}(e))},buildRequests:function(e,t){const r=function(e){var t,r;return!(null===(t=e.refererInfo)||void 0===t||null===(r=t.referer)||void 0===r||!r.includes(“pb_force_a”))}(t),c=S(“/exchange/prebid”,r),d=S(“/exchange/prebidvideo”,r),p=e.filter((e=>k(e))),l=e.filter((e=>w(e)));let m=[];const f=function(e){if((0,n.Z)(e,”userId”))return(0,u.HQ)(e.userId)||[]}(e[0])||[];if(p.length>0){let e={pbav:”7.37.0″,p:[],page_url:t.refererInfo.page,bust:(new Date).getTime().toString(),dnt:”1″===window.doNotTrack||”1″===window.navigator.doNotTrack||!1,description:E(),userConsent:JSON.stringify({gdprApplies:(0,n.Z)(t,”gdprConsent.gdprApplies”)||””,cmp:(0,n.Z)(t,”gdprConsent.consentString”)||””}),us_privacy:(0,n.Z)(t,”uspConsent”)||””};(function(){try{if((0,i.getWindowTop)().location.href)return!0}catch(e){return!1}})()&&(e.pr=v.document&&v.document.referrer||””,e.scrd=v.devicePixelRatio||0,e.title=v.document.title||””,e.w=v.innerWidth,e.h=v.innerHeight);const r=window.navigator.maxTouchPoints;r&&(e.mtp=r),p.forEach((t=>{e.p.push(function(e){const t=(0,n.Z)(e,”ortb2Imp.ext.data.pbadslot”),r={placement_id:e.adUnitCode,callback_id:e.bidId,sizes:e.mediaTypes.banner.sizes};if(e.params){e.params.placementId&&(r.ym_placement_id=e.params.placementId);const t=O(e,a.Mk);t&&(r.bidFloor=t)}t&&(r.gpid=t);const i=(0,n.Z)(e,”ortb2Imp.ext.tid”);i&&(r.tid=i);e.auctionId&&(r.auctionId=e.auctionId);return JSON.stringify(r)}(t));const r=A(t,”pubcid”);r?e.pubcid=r:t.crumbs&&t.crumbs.pubcid&&(e.pubcid=t.crumbs.pubcid);const i=A(t,”tdid”);i&&(e.tdid=i);const o=A(t,”criteoId”);o&&(e.cri_prebid=o),t.schain&&(e.schain=JSON.stringify(t.schain)),(0,n.Z)(t,”params.lr_env”)&&(e.ats_envelope=t.params.lr_env)})),e.p=”[“+e.p.toString()+”]”,f.length&&(e.eids=JSON.stringify(f));let o=””.concat(c,”?”).concat((0,i.parseQueryStringParameters)(e)).length-8e3;if(o>0)for(let t=0;t0){const e=function(e,t){const r=e[0].schain;let c={id:e[0].bidderRequestId,tmax:t.timeout||400,at:1,imp:e.map((e=>function(e){const t=(0,n.Z)(e,”ortb2Imp.ext.data.pbadslot”),r=function(e){const t=(0,n.Z)(e,”mediaTypes.video.playerSize”);if((0,i.isArrayOfNums)(t,2))return t;if((0,i.isArray)(t)&&(0,i.isArrayOfNums)(t[0],2))return t[0];return null}(e),o={id:e.bidId,tagid:e.adUnitCode,bidfloor:O(e,a.pX),ext:{placement_id:e.params.placementId,tid:(0,n.Z)(e,”ortb2Imp.ext.tid”)},video:{w:r[0],h:r[1],linearity:1}},c=(0,n.Z)(e,”mediaTypes.video”);Object.keys(c).filter((e=>(0,s.q9)(y,e))).forEach((e=>o.video[e]=c[e]));const d=(0,n.Z)(e,”params.video”);Object.keys(d).filter((e=>(0,s.q9)(y,e))).forEach((e=>o.video[e]=d[e])),o.video.skippable&&(o.video.skip=1,delete o.video.skippable);1!==o.video.placement&&(o.video.startdelay=b,o.video.playbackmethod=[h]);t&&(o.ext.gpid=t);return o}(e))),site:Z(e[0],t),device:(0,n.Z)(t,”ortb2.device”),badv:e[0].params.badv||[],bcat:(0,n.Z)(t,”bcat”)||e[0].params.bcat||[],ext:{prebid:”7.37.0″},ats_envelope:e[0].params.lr_env};r&&(c.schain=r);e[0].auctionId&&(c.auctionId=e[0].auctionId);return function(e,t){const r=t.gdprConsent;r&&”gdprApplies”in r&&((0,o.N)(e,”regs.ext.gdpr”,r.gdprApplies?1:0),(0,o.N)(e,”user.ext.consent”,r.consentString));const i=(0,n.Z)(t,”uspConsent”);i&&(0,o.N)(e,”regs.ext.us_privacy”,i)}(c,t),c}(l,t);f.length&&(e.user={eids:f}),m.push({method:”POST”,url:d,data:e})}return m},interpretResponse:function(e,t){let r=[];const i=e.body;if(i.length>0&&i.forEach((e=>{e.cpm>0&&r.push(function(e){return{dealId:e.publisherDealId,requestId:e.callback_id,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creative_id,currency:p,netRevenue:m,ttl:300,ad:e.ad,meta:{advertiserDomains:e.adomain||[],mediaType:a.Mk}}}(e))})),i.seatbid){i.seatbid.reduce(((e,t)=>e.concat(t.bid)),[]).forEach((e=>r.push(function(e,t){const r=(0,s.sE)((0,n.Z)(t,”data.imp”)||[],(t=>t.id===e.impid));let i={dealId:e.dealid,requestId:r.id,cpm:e.price,width:r.video.w,height:r.video.h,creativeId:e.crid||e.adid,currency:p,netRevenue:m,mediaType:a.pX,ttl:l,vastXml:e.adm,meta:{advertiserDomains:e.adomain||[],mediaType:a.pX}};if(r.video.placement&&1!==r.video.placement){const e=d.Th.install({url:f,config:{width:i.width,height:i.height,vastTimeout:15e3,maxAllowedVastTagRedirects:5,allowVpaid:!0,autoPlay:!0,preload:!0,mute:!0},id:r.tagid,loaded:!1});e.setRender((function(e){e.renderer.push((()=>{const{id:t,config:r}=e.renderer;window.YMoutstreamPlayer(e,t,r)}))})),i.renderer=e}return i}(e,t))))}return r},getUserSyncs:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:””;const n=[],o=”&gdpr=”.concat(r.gdprApplies?1:0),a=”&gdpr_consent=”.concat(encodeURIComponent(r.consentString||””)),c=”us_privacy=”.concat(encodeURIComponent(i)),d=””.concat(“https://ads.yieldmo.com/pbcas”,”?”).concat(c).concat(o).concat(a);return e.iframeEnabled?n.push({type:”iframe”,url:d+”&type=iframe”}):e.pixelEnabled&&n.push({type:”image”,url:d+”&type=image”}),n}};function k(e){return!!(0,n.Z)(e,”mediaTypes.banner”)}function w(e){return!!(0,n.Z)(e,”mediaTypes.video”)}function E(){return document.querySelector(‘meta[name=”description”]’)&&document.querySelector(‘meta[name=”description”]’).getAttribute(“content”)||””}function A(e,t){return”object”==typeof(0,n.Z)(e,”userId”)?e.userId[t]:void 0}function O(e,t){let r={};return”function”==typeof e.getFloor&&(r=e.getFloor({currency:p,mediaType:t,size:”*”})),r.floor||e.params.bidfloor||e.params.bidFloor||0}function Z(e,t){var r;let o={};const a=(0,i.parseUrl)((0,n.Z)(t,”refererInfo.page”));(0,i.isEmpty)(a)||(o.page=””.concat(a.protocol,”://”).concat(a.hostname).concat(a.pathname)),null!==(r=t.refererInfo)&&void 0!==r&&r.ref&&(o.ref=t.refererInfo.ref);const c=document.getElementsByTagName(“meta”).keywords;c&&c.content&&(o.keywords=c.content);const d=(0,n.Z)(e,”params.site”);return d&&Object.keys(d).filter((e=>(0,s.q9)(g,e))).forEach((e=>o[e]=d[e])),o}function T(e,t,r){if(t[r].length>e)return t[r]=t[r].substring(0,t[r].length-e),0;const i=e-t[r].length;return t[r]=””,i}function S(e,t){return””.concat(t?”https://ads-stg.yieldmo.com”:”https://ads.yieldmo.com”).concat(e)}(0,c.dX)(x),window.pbjs.installedModules.push(“yieldmoBidAdapter”)}},e=>{e.O(0,[6866],(()=>{return t=55511,e(e.s=t);var t}));e.O()}]); })(),pbjs.processQueue();



Source link

Products You May Like

Leave a Reply

Your email address will not be published. Required fields are marked *