/* prebid.js v9.23.0
Updated: 2024-12-17
Modules: fpdModule, themoneytizerBidAdapter, nativeRendering, pubProvidedIdSystem, 33acrossIdSystem, topicsFpdModule, lotamePanoramaIdSystem, prebidServerBidAdapter, adagioRtdProvider, rtdModule, sirdataRtdProvider, quantcastIdSystem, priceFloors, moneytizerBidAdapter, justpremiumBidAdapter, userId, id5IdSystem, currency, sharedIdSystem, criteoIdSystem, adagioAnalyticsAdapter, schain, adagioBidAdapter, adfBidAdapter, adtelligentBidAdapter, adyoulikeBidAdapter, amxBidAdapter, appnexusBidAdapter, consentManagementTcf, criteoBidAdapter, eplanningBidAdapter, improvedigitalBidAdapter, luceadBidAdapter, onetagBidAdapter, openxBidAdapter, outbrainBidAdapter, pubmaticBidAdapter, richaudienceBidAdapter, riseBidAdapter, rtbhouseBidAdapter, rubiconBidAdapter, seedtagBidAdapter, sharethroughBidAdapter, smilewantedBidAdapter, sovrnBidAdapter, tripleliftBidAdapter */
if(window.tmzr&&window.tmzr.libLoaded)try{window.tmzr.getConfig("debug")&&console.warn("Attempted to load a copy of Prebid.js that clashes with the existing 'tmzr' instance. Load aborted.")}catch(t){}else (function(){
(()=>{var r,t={433:(r,t,e)=>{function n(r,t,e,n,o){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)r=r?r[t[n]]:o;return r===o?e:r}e.d(t,{A:()=>n})},8128:r=>{
/*
* @license MIT
* Fun Hooks v0.9.10
* (c) @snapwich
*/
u.SYNC=1,u.ASYNC=2,u.QUEUE=4;var t="fun-hooks";var e=Object.freeze({useProxy:!0,ready:0}),n=new WeakMap,o="2,1,0"===[1].reduce((function(r,t,e){return[r,t,e]}),2).toString()?Array.prototype.reduce:function(r,t){var e,n=Object(this),o=n.length>>>0,i=0;if(t)e=t;else{for(;i<o&&!(i in n);)i++;e=n[i++]}for(;i<o;)i in n&&(e=r(e,n[i],i,n)),i++;return e};function i(r,t){return Array.prototype.slice.call(r,t)}var f=Object.assign||function(r){return o.call(i(arguments,1),(function(r,t){return t&&Object.keys(t).forEach((function(e){r[e]=t[e]})),r}),r)};function u(r){var a,c={},l=[];function p(r,t){return"function"==typeof r?h.call(null,"sync",r,t):"string"==typeof r&&"function"==typeof t?h.apply(null,arguments):"object"==typeof r?y.apply(null,arguments):void 0}function y(r,t,e){var n=!0;void 0===t&&(t=Object.getOwnPropertyNames(r),n=!1);var o={},i=["constructor"];do{(t=t.filter((function(t){return!("function"!=typeof r[t]||-1!==i.indexOf(t)||t.match(/^_/))}))).forEach((function(t){var n=t.split(":"),i=n[0],f=n[1]||"sync";if(!o[i]){var u=r[i];o[i]=r[i]=h(f,u,e?[e,i]:void 0)}})),r=Object.getPrototypeOf(r)}while(n&&r);return o}function s(r){var e=Array.isArray(r)?r:r.split(".");return o.call(e,(function(n,o,i){var f=n[o],u=!1;return f||(i===e.length-1?(a||l.push((function(){u||console.warn(t+": referenced '"+r+"' but it was never created")})),n[o]=v((function(r){n[o]=r,u=!0}))):n[o]={})}),c)}function v(r){var t=[],e=[],o=function(){},i={before:function(r,e){return a.call(this,t,"before",r,e)},after:function(r,t){return a.call(this,e,"after",r,t)},getHooks:function(r){var n=t.concat(e);"object"==typeof r&&(n=n.filter((function(t){return Object.keys(r).every((function(e){return t[e]===r[e]}))})));try{f(n,{remove:function(){return n.forEach((function(r){r.remove()})),this}})}catch(r){console.error("error adding `remove` to array, did you modify Array.prototype?")}return n},removeAll:function(){return this.getHooks().remove()}},u={install:function(n,i,f){this.type=n,o=f,f(t,e),r&&r(i)}};return n.set(i.after,u),i;function a(r,n,i,f){var u={hook:i,type:n,priority:f||10,remove:function(){var n=r.indexOf(u);-1!==n&&(r.splice(n,1),o(t,e))}};return r.push(u),r.sort((function(r,t){return t.priority-r.priority})),o(t,e),this}}function h(e,o,c){var p=o.after&&n.get(o.after);if(p){if(p.type!==e)throw t+": recreated hookable with different type";return o}var y,h,d=c?s(c):v(),b={get:function(r,t){return d[t]||Reflect.get.apply(Reflect,arguments)}};return a||l.push(g),r.useProxy&&"function"==typeof Proxy&&Proxy.revocable?h=new Proxy(o,b):(h=function(){return b.apply?b.apply(o,this,i(arguments)):o.apply(this,arguments)},f(h,d)),n.get(h.after).install(e,h,(function(r,t){var n,o=[];r.length||t.length?(r.forEach(f),n=o.push(void 0)-1,t.forEach(f),y=function(r,t,f){var u,a=0,c="async"===e&&"function"==typeof f[f.length-1]&&f.pop();function l(r){"sync"===e?u=r:c&&c.apply(null,arguments)}function p(r){if(o[a]){var n=i(arguments);return p.bail=l,n.unshift(p),o[a++].apply(t,n)}"sync"===e?u=r:c&&c.apply(null,arguments)}return o[n]=function(){var n=i(arguments,1);"async"===e&&c&&(delete p.bail,n.push(p));var o=r.apply(t,n);"sync"===e&&p(o)},p.apply(null,f),u}):y=void 0;function f(r){o.push(r.hook)}g()})),h;function g(){!a&&("sync"!==e||r.ready&u.SYNC)&&("async"!==e||r.ready&u.ASYNC)?"sync"!==e&&r.ready&u.QUEUE?b.apply=function(){var r=arguments;l.push((function(){h.apply(r[1],r[2])}))}:b.apply=function(){throw t+": hooked function not ready"}:b.apply=y}}return(r=f({},e,r)).ready?p.ready=function(){a=!0,function(r){for(var t;t=r.shift();)t()}(l)}:a=!0,p.get=s,p}r.exports=u},3172:(r,t,e)=>{function n(r,t,e){t.split&&(t=t.split("."));for(var n,o,i=0,f=t.length,u=r;i<f&&"__proto__"!=(o=""+t[i++])&&"constructor"!==o&&"prototype"!==o;)u=u[o]=i===f?e:typeof(n=u[o])==typeof t?n:0*t[i]!=0||~(""+t[i]).indexOf(".")?{}:[]}e.d(t,{J:()=>n})},5751:(r,t,e)=>{function n(r){var t,e,o;if(Array.isArray(r)){for(e=Array(t=r.length);t--;)e[t]=(o=r[t])&&"object"==typeof o?n(o):o;return e}if("[object Object]"===Object.prototype.toString.call(r)){for(t in e={},r)"__proto__"===t?Object.defineProperty(e,t,{value:n(r[t]),configurable:!0,enumerable:!0,writable:!0}):e[t]=(o=r[t])&&"object"==typeof o?n(o):o;return e}return r}e.d(t,{Q:()=>n})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.m=t,r=[],n.O=(t,e,o,i)=>{if(!e){var f=1/0;for(l=0;l<r.length;l++){e=r[l][0],o=r[l][1],i=r[l][2];for(var u=!0,a=0;a<e.length;a++)(!1&i||f>=i)&&Object.keys(n.O).every((r=>n.O[r](e[a])))?e.splice(a--,1):(u=!1,i<f&&(f=i));if(u){r.splice(l--,1);var c=o();void 0!==c&&(t=c)}}return t}i=i||0;for(var l=r.length;l>0&&r[l-1][2]>i;l--)r[l]=r[l-1];r[l]=[e,o,i]},n.n=r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return n.d(t,{a:t}),t},n.d=(r,t)=>{for(var e in t)n.o(t,e)&&!n.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:t[e]})},n.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),(()=>{var r={9673:0};n.O.j=t=>0===r[t];var t=(t,e)=>{var o,i,f=e[0],u=e[1],a=e[2],c=0;if(f.some((t=>0!==r[t]))){for(o in u)n.o(u,o)&&(n.m[o]=u[o]);if(a)var l=a(n)}for(t&&t(e);c<f.length;c++)i=f[c],n.o(r,i)&&r[i]&&r[i][0](),r[i]=0;return n.O(l)},e=self.tmzrChunk=self.tmzrChunk||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))})();var o=n.O(void 0,[802,1085],(()=>n(8261)));o=n.O(o)})();
(self.tmzrChunk=self.tmzrChunk||[]).push([[802],{5789:(e,t,n)=>{n.d(t,{A4:()=>u,J7:()=>l,Pg:()=>f});var i=n(1580),r=n(1069),o=n(5901),s=n(7873),a=n(5569);const d=(0,s.m)(),c="outstream";function u(e){const{url:t,config:n,id:s,callback:u,loaded:l,adUnitCode:f,renderNow:g}=e;this.url=t,this.config=n,this.handlers={},this.id=s,this.renderNow=g,this.loaded=l,this.cmd=[],this.push=e=>{"function"==typeof e?this.loaded?e.call():this.cmd.push(e):(0,r.vV)("Commands given to Renderer.push must be wrapped in a function")},this.callback=u||(()=>{this.loaded=!0,this.process()}),this.render=function(){const e=arguments,n=()=>{this._render?this._render.apply(this,e):(0,r.JE)("No render function was provided, please use .setRender on the renderer")};!function(e){const t=d.adUnits,n=(0,o.I6)(t,(t=>t.code===e));if(!n)return!1;const i=n?.renderer,r=!!(i&&i.url&&i.render),s=n?.mediaTypes?.video?.renderer,a=!!(s&&s.url&&s.render);return!!(r&&!0!==i.backupOnly||a&&!0!==s.backupOnly)}(f)?g?n():(this.cmd.unshift(n),(0,i.R)(t,a.tp,c,this.callback,this.documentContext)):((0,r.JE)(`External Js not loaded by Renderer since renderer url and callback is already defined on adUnit ${f}`),n())}.bind(this)}function l(e){return!(!e||!e.url&&!e.renderNow)}function f(e,t,n){let i=null;e.config&&e.config.documentResolver&&(i=e.config.documentResolver(t,document,n)),i||(i=document),e.documentContext=i,e.render(t,e.documentContext)}u.install=function(e){let{url:t,config:n,id:i,callback:r,loaded:o,adUnitCode:s,renderNow:a}=e;return new u({url:t,config:n,id:i,callback:r,loaded:o,adUnitCode:s,renderNow:a})},u.prototype.getConfig=function(){return this.config},u.prototype.setRender=function(e){this._render=e},u.prototype.setEventHandlers=function(e){this.handlers=e},u.prototype.handleVideoEvent=function(e){let{id:t,eventName:n}=e;"function"==typeof this.handlers[n]&&this.handlers[n](),(0,r.OG)(`Prebid Renderer event for id ${t} type ${n}`)},u.prototype.process=function(){for(;this.cmd.length>0;)try{this.cmd.shift().call()}catch(e){(0,r.vV)("Error processing Renderer command: ",e)}}},6811:(e,t,n)=>{n.d(t,{DL:()=>u,Ml:()=>r,Ue:()=>i,VJ:()=>f,hE:()=>l,hq:()=>c,mo:()=>d,pY:()=>g,qX:()=>o,uc:()=>a,yl:()=>s});const i="accessDevice",r="syncUser",o="enrichUfpd",s="enrichEids",a="fetchBids",d="reportAnalytics",c="transmitEids",u="transmitUfpd",l="transmitPreciseGeo",f="transmitTid",g="loadExternalScript"},3441:(e,t,n)=>{n.d(t,{s:()=>r});var i=n(1445);const r=(0,n(2604).ZI)((e=>i.Ay.resolveAlias(e)))},5569:(e,t,n)=>{n.d(t,{Tn:()=>a,fW:()=>o,tW:()=>r,tp:()=>i,zu:()=>s});const i="prebid",r="bidder",o="userId",s="rtd",a="analytics"},2604:(e,t,n)=>{n.d(t,{Dk:()=>s,Ii:()=>o,TQ:()=>g,XG:()=>u,ZI:()=>p,Zw:()=>c,bt:()=>l,e3:()=>f,iK:()=>a});var i=n(5569),r=n(9214);const o="component",s=o+"Type",a=o+"Name",d="adapterCode",c="storageType",u="configName",l="syncType",f="syncUrl",g="_config";function p(e){return function(t,n,r){const c={[s]:t,[a]:n,[o]:`${t}.${n}`};return t===i.tW&&(c[d]=e(n)),m(Object.assign(c,r))}}const m=(0,r.A_)("sync",(e=>e))},6953:(e,t,n)=>{n.d(t,{Vx:()=>d,l7:()=>a,p4:()=>h,$V:()=>m,nl:()=>g,ZP:()=>b,$p:()=>y,uD:()=>p});var i=n(433),r=n(3272),o=n(5139),s=n(6811);const a=["data","ext.data","yob","gender","keywords","kwarray","id","buyeruid","customdata"].map((e=>`user.${e}`)).concat("device.ext.cdep"),d=["user.eids","user.ext.eids"],c=["user.geo.lat","user.geo.lon","device.geo.lat","device.geo.lon"],u=["device.ip"],l=["device.ipv6"];function f(e){return Object.assign({get(){},run(e,t,n,i,r){const o=n&&n[i];if(m(o)&&r()){const e=this.get(o);void 0===e?delete n[i]:n[i]=e}}},e)}function g(e){return e.forEach((e=>{e.paths=e.paths.map((e=>{const t=e.split("."),n=t.pop();return[t.length>0?t.join("."):null,n]}))})),function(t,n){const r=[];for(var o=arguments.length,s=new Array(o>2?o-2:0),a=2;a<o;a++)s[a-2]=arguments[a];const d=p(t,...s);return e.forEach((e=>{if(!1!==t[e.name])for(const[o,s]of e.paths){const a=null==o?n:(0,i.A)(n,o);if(r.push(e.run(n,o,a,s,d.bind(null,e))),!1===t[e.name])return}})),r.filter((e=>null!=e))}}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return function(t){return e.hasOwnProperty(t.name)||(e[t.name]=!!t.applies(...n)),e[t.name]}}function m(e){return null!=e&&("object"!=typeof e||Object.keys(e).length>0)}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.io;return function(n){return!t(e,n)}}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.io;return[{name:s.DL,paths:a,applies:h(s.DL,e)},{name:s.hq,paths:d,applies:h(s.hq,e)},{name:s.hE,paths:c,applies:h(s.hE,e),get:e=>Math.round(100*(e+Number.EPSILON))/100},{name:s.hE,paths:u,applies:h(s.hE,e),get:e=>function(e){if(!e)return null;let t=e.split(".").map(Number);if(4!=t.length)return null;let n=[];for(let e=0;e<4;e++){let t=Math.max(0,Math.min(8,24-8*e));n.push(255<<8-t&255)}return t.map(((e,t)=>e&n[t])).join(".")}(e)},{name:s.hE,paths:l,applies:h(s.hE,e),get:e=>function(e){if(!e)return null;let t=e.split(":").map((e=>parseInt(e,16)));for(t=t.map((e=>isNaN(e)?0:e));t.length<8;)t.push(0);if(8!=t.length)return null;let n=[];for(let e=0;e<8;e++){let t=Math.max(0,Math.min(16,64-16*e));n.push(65535<<16-t&65535)}return t.map(((e,t)=>e&n[t])).map((e=>e.toString(16))).join(":")}(e)},{name:s.VJ,paths:["source.tid"],applies:h(s.VJ,e)}].map(f)}const y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.io;const t=g(b(e)),n=g(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.io;return[{name:s.hq,paths:["userId","userIdAsEids"],applies:h(s.hq,e)},{name:s.VJ,paths:["ortb2Imp.ext.tid"],applies:h(s.VJ,e)}].map(f)}(e));return function(e){const i={};return{ortb2:n=>(t(i,n,e),n),bidRequest:t=>(n(i,t,e),t)}}}();(0,o.qB)(s.VJ,"enableTIDs config",(()=>{if(!r.$W.getConfig("enableTIDs"))return{allow:!1,reason:"TIDs are disabled"}}))},5139:(e,t,n)=>{n.d(t,{io:()=>s,qB:()=>o});var i=n(1069),r=n(2604);const[o,s]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.h0)("Activity control:");const t={};function n(e){return t[e]=t[e]||[]}function o(t,n,i,o){let s;try{s=i(o)}catch(i){e.logError(`Exception in rule ${n} for '${t}'`,i),s={allow:!1,reason:i}}return s&&Object.assign({activity:t,name:n,component:o[r.Ii]},s)}const s={};function a(t){let{activity:n,name:i,allow:r,reason:o,component:a}=t;const d=`${i} ${r?"allowed":"denied"} '${n}' for '${a}'${o?":":""}`,c=s.hasOwnProperty(d);if(c&&clearTimeout(s[d]),s[d]=setTimeout((()=>delete s[d]),1e3),!c){const t=[d];o&&t.push(o),(r?e.logInfo:e.logWarn).apply(e,t)}}return[function(e,t,i){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;const o=n(e),s=o.findIndex((e=>{let[t]=e;return r<t})),a=[r,t,i];return o.splice(s<0?o.length:s,0,a),function(){const e=o.indexOf(a);e>=0&&o.splice(e,1)}},function(e,t){let i,r;for(const[s,d,c]of n(e)){if(i!==s&&r)break;i=s;const n=o(e,d,c,t);if(n){if(!n.allow)return a(n),!1;r=n}}return r&&a(r),!0}]}()},9075:(e,t,n)=>{n.d(t,{$A:()=>w,BS:()=>P,Hh:()=>j,Pk:()=>x,Uc:()=>O,XO:()=>W,bw:()=>U,n6:()=>T,qn:()=>_,vB:()=>N,vW:()=>k,vd:()=>R});var i=n(1069),r=n(5023),o=n(8969),s=n(3272),a=n(5789),d=n(1371),c=n(8462),u=n(6031),l=n(9214),f=n(2449),g=n(5555),p=n(1445),m=n(6894),h=n(7779);const{AD_RENDER_FAILED:b,AD_RENDER_SUCCEEDED:y,STALE_RENDER:v,BID_WON:E,EXPIRED_RENDER:A}=o.qY,{EXCEPTION:I}=o.as,w=(0,l.A_)("sync",(function(e){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.k.resolve()).then((t=>t??c.n.findBidByAdId(e))).catch((()=>{}))})),T=(0,l.A_)("sync",(function(e){r.Ic(E,e),c.n.addWinningBid(e)}));function C(e){let{reason:t,message:n,bid:o,id:s}=e;const a={reason:t,message:n};o&&(a.bid=o,a.adId=o.adId),s&&(a.adId=s),(0,i.vV)(`Error rendering ad (id: ${s}): ${n}`),r.Ic(b,a)}function B(e){let{doc:t,bid:n,id:i}=e;const o={doc:t};n&&(o.bid=n),i&&(o.adId=i),p.Ay.callAdRenderSucceededBidder(n.adapterCode||n.bidder,n),r.Ic(y,o)}function O(e,t){switch(e.event){case o.qY.AD_RENDER_FAILED:C({bid:t,id:t.adId,reason:e.info.reason,message:e.info.message});break;case o.qY.AD_RENDER_SUCCEEDED:B({doc:null,bid:t,id:t.adId});break;default:(0,i.vV)(`Received event request for unsupported event: '${e.event}' (adId: '${t.adId}')`)}}function k(e,t,n){let{resizeFn:i,fireTrackers:r=f.vO}=n;if("resizeNativeHeight"===e.action)i(e.width,e.height);else r(e,t)}const S={[o.nl.EVENT]:O};S[o.nl.NATIVE]=k;const R=(0,l.A_)("sync",(function(e,t){const{ad:n,adUrl:r,cpm:o,originalCpm:s,width:a,height:d}=e,c={AUCTION_PRICE:s||o,CLICKTHROUGH:t?.clickUrl||""};return{ad:(0,i.gM)(n,c),adUrl:(0,i.gM)(r,c),width:a,height:d}})),D=(0,l.A_)("sync",(function(e){let{renderFn:t,resizeFn:n,bidResponse:r,options:s,doc:a,isMainDocument:c=a===document&&!(0,i.al)()}=e;const u=r.mediaType===d.G_;if(c||u)return void C({reason:o.as.PREVENT_WRITING_ON_MAIN_DOCUMENT,message:u?"Cannot render video ad without a renderer":"renderAd was prevented from writing to the main document.",bid:r,id:r.adId});const l=R(r,s);t(Object.assign({adId:r.adId},l));const{width:f,height:g}=l;null!=(f??g)&&n(f,g)}));function U(e){let{renderFn:t,resizeFn:n,adId:a,options:d,bidResponse:c,doc:u}=e;j(c,(()=>{if(null!=c){if((c.status!==o.tl.RENDERED||((0,i.JE)(`Ad id ${a} has been rendered before`),r.Ic(v,c),!s.$W.getConfig("auctionOptions")?.suppressStaleRender))&&(h.uW.isBidNotExpired(c)||((0,i.JE)(`Ad id ${a} has been expired`),r.Ic(A,c),!s.$W.getConfig("auctionOptions")?.suppressExpiredRender)))try{D({renderFn:t,resizeFn:n,bidResponse:c,options:d,doc:u})}catch(e){C({reason:o.as.EXCEPTION,message:e.message,id:a,bid:c})}}else C({reason:o.as.CANNOT_FIND_AD,message:`Cannot find ad '${a}'`,id:a})}))}function _(e){const t=(0,m.BO)(e.metrics);t.checkpoint("bidRender"),t.timeBetween("bidWon","bidRender","render.deferred"),t.timeBetween("auctionEnd","bidRender","render.pending"),t.timeBetween("requestBids","bidRender","render.e2e"),e.status=o.tl.RENDERED}D.before((function(e,t){const{bidResponse:n,doc:i}=t;(0,a.J7)(n.renderer)?((0,a.Pg)(n.renderer,n,i),B({doc:i,bid:n,id:n.adId}),e.bail()):e(t)}),100);const $=new WeakMap,q=new WeakSet;function j(e,t){null!=e?($.set(e,t),e.deferRendering||N(e),x(e)):t()}function x(e){q.has(e)||(q.add(e),T(e))}function N(e){const t=$.get(e);t&&(t(),_(e),$.delete(e))}function P(e,t,n){let r;function s(e,n){C(Object.assign({id:t,bid:r},{reason:e,message:n}))}function a(t,n){e.defaultView&&e.defaultView.frameElement&&(t&&(e.defaultView.frameElement.width=t),n&&(e.defaultView.frameElement.height=n))}const d=(c={resizeFn:a},function(e,t,n){S.hasOwnProperty(e)&&S[e](t,n,c)});var c;function l(t){t.ad?(e.write(t.ad),e.close(),B({doc:e,bid:r,id:r.adId})):(0,u.H)(r).then((n=>n(t,{sendMessage:(e,t)=>d(e,t,r),mkFrame:i.hw},e.defaultView))).then((()=>B({doc:e,bid:r,id:r.adId})),(e=>{s(e?.reason||o.as.EXCEPTION,e?.message),e?.stack&&(0,i.vV)(e)}));const n=document.createComment(`Creative ${r.creativeId} served by ${r.bidder} Prebid.js Header Bidding`);(0,i._s)(n,e,"html")}try{t&&e?w(t).then((i=>{r=i,U({renderFn:l,resizeFn:a,adId:t,options:{clickUrl:n?.clickThrough},bidResponse:i,doc:e})})):s(o.as.MISSING_DOC_OR_ADID,"missing "+(t?"doc":"adId"))}catch(e){s(I,e.message)}}function W(){if(!window.frames[o.IY])if(document.body){const e=(0,i.CA)();e.name=o.IY,document.body.appendChild(e)}else window.requestAnimationFrame(W)}},9759:(e,t,n)=>{function i(e){var t=e;return{callBids:function(){},setBidderCode:function(e){t=e},getBidderCode:function(){return t}}}n.d(t,{A:()=>i})},1445:(e,t,n)=>{n.d(t,{Ay:()=>H,pX:()=>V,K5:()=>x});var i=n(1069),r=n(2449),o=n(7377),s=n(8044),a=n(3272),d=n(9214),c=n(5901);let u={};function l(e,t,n){let i=function(e,t){let n=u[e]=u[e]||{bidders:{}};return t?n.bidders[t]=n.bidders[t]||{}:n}(e,n);return i[t]=(i[t]||0)+1,i[t]}function f(e){return l(e,"auctionsCounter")}function g(e){return u?.[e]?.requestsCounter||0}function p(e,t){return u?.[e]?.bidders?.[t]?.requestsCounter||0}function m(e,t){return u?.[e]?.bidders?.[t]?.winsCounter||0}function h(e){return u?.[e]?.auctionsCounter||0}var b=n(7934),y=n(6916),v=n(5023),E=n(8969),A=n(6894),I=n(8462),w=n(5569),T=n(5139),C=n(6811),B=n(2604),O=n(6953);const k="pbsBidAdapter",S={CLIENT:"client",SERVER:"server"},R={isAllowed:T.io,redact:O.$p};let D={},U=D.bidderRegistry={},_=D.aliasRegistry={},$=[];a.$W.getConfig("s2sConfig",(e=>{e&&e.s2sConfig&&($=(0,i.cy)(e.s2sConfig)?e.s2sConfig:[e.s2sConfig])}));var q={};const j=(0,B.ZI)((e=>D.resolveAlias(e)));function x(e){return j(w.tp,k,{[B.XG]:e.configName})}const N=(0,d.A_)("sync",(function(e){let{bidderCode:t,auctionId:n,bidderRequestId:r,adUnits:o,src:s,metrics:a}=e;return o.reduce(((e,o)=>{const d=o.bids.filter((e=>e.bidder===t));return null==t&&0===d.length&&null!=o.s2sBid&&d.push({bidder:null}),e.push(d.reduce(((e,d)=>{const c=null==(d=Object.assign({},d,{ortb2Imp:(0,i.D9)({},o.ortb2Imp,d.ortb2Imp)},(0,i.SH)(o,["nativeParams","nativeOrtbRequest","mediaType","renderer"]))).mediaTypes?o.mediaTypes:d.mediaTypes;return(0,i.wD)(c)?d=Object.assign({},d,{mediaTypes:c}):(0,i.vV)(`mediaTypes is not correctly configured for adunit ${o.code}`),"client"===s&&function(e,t){l(e,"requestsCounter",t)}(o.code,t),e.push(Object.assign({},d,{adUnitCode:o.code,transactionId:o.transactionId,adUnitId:o.adUnitId,sizes:c?.banner?.sizes||c?.video?.playerSize||[],bidId:d.bid_id||(0,i.s0)(),bidderRequestId:r,auctionId:n,src:s,metrics:a,auctionsCount:h(o.code),bidRequestsCount:g(o.code),bidderRequestsCount:p(o.code,d.bidder),bidderWinsCount:m(o.code,d.bidder),deferBilling:!!o.deferBilling})),e}),[])),e}),[]).reduce(i.Bq,[]).filter((e=>""!==e))}),"getBids");const P=(0,d.A_)("sync",(function(e,t){let{getS2SBidders:n=V}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==t)return e;{const i=n(t);return e.filter((e=>i.has(e.bidder)))}}),"filterBidsForAdUnit");const W=(0,d.A_)("sync",((e,t)=>e),"setupAdUnitMediaTypes");function V(e){(0,i.cy)(e)||(e=[e]);const t=new Set([null]);return e.filter((e=>e&&e.enabled)).flatMap((e=>e.bidders)).forEach((e=>t.add(e))),t}const M=(0,d.A_)("sync",(function(e,t){let{getS2SBidders:n=V}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=n(t);return(0,i.ZA)(e).reduce(((e,t)=>(e[r.has(t)?S.SERVER:S.CLIENT].push(t),e)),{[S.CLIENT]:[],[S.SERVER]:[]})}),"partitionBidders");function G(e,t){const n=U[e],i=n?.getSpec&&n.getSpec();if(i&&i[t]&&"function"==typeof i[t])return[i,i[t]]}function F(e,t,n,r){try{(0,i.fH)(`Invoking ${e}.${t}`);for(var o=arguments.length,s=new Array(o>4?o-4:0),d=4;d<o;d++)s[d-4]=arguments[d];a.$W.runWithBidder(e,r.bind(n,...s))}catch(n){(0,i.JE)(`Error calling ${t} of ${e}`)}}function z(e,t,n){if(n?.source!==E.RW.SRC){const i=G(e,t);null!=i&&F(e,t,...i,n)}}D.makeBidRequests=(0,d.A_)("sync",(function(e,t,n,o,s){let d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6?arguments[6]:void 0;u=(0,A.BO)(u),v.Ic(E.qY.BEFORE_REQUEST_BIDS,e),(0,r.nk)(e),e.map((e=>e.code)).filter(i.hj).forEach(f),e.forEach((e=>{(0,i.Qd)(e.mediaTypes)||(e.mediaTypes={}),e.bids=e.bids.filter((e=>!e.bidder||R.isAllowed(C.uc,j(w.tW,e.bidder)))),l(e.code,"requestsCounter")})),e=W(e,s);let{[S.CLIENT]:g,[S.SERVER]:p}=M(e,$);a.$W.getConfig("bidderSequence")===a.Ov&&(g=(0,i.k4)(g));const m=(0,b.EN)();let h=[];const I=d.global||{},T=d.bidder||{};function B(e,t){const r=R.redact(null!=t?t:j(w.tW,e.bidderCode)),o=Object.freeze(r.ortb2((0,i.D9)({source:{tid:n}},I,T[e.bidderCode])));return e.ortb2=o,e.bids=e.bids.map((e=>(e.ortb2=o,r.bidRequest(e)))),e}$.forEach((r=>{const o=x(r);if(r&&r.enabled&&R.isAllowed(C.uc,o)){let{adUnits:s,hasModuleBids:a}=function(e,t){let n=(0,i.Go)(e),r=!1;return n.forEach((e=>{const n=e.bids.filter((e=>e.module===k&&e.params?.configName===t.configName));1===n.length?(e.s2sBid=n[0],r=!0,e.ortb2Imp=(0,i.D9)({},e.s2sBid.ortb2Imp,e.ortb2Imp)):n.length>1&&(0,i.JE)('Multiple "module" bids for the same s2s configuration; all will be ignored',n),e.bids=P(e.bids,t).map((e=>(e.bid_id=(0,i.s0)(),e)))})),n=n.filter((e=>0!==e.bids.length||null!=e.s2sBid)),{adUnits:n,hasModuleBids:r}}(e,r),d=(0,i.lk)();(0===p.length&&a?[null]:p).forEach((e=>{const a=(0,i.s0)(),c=u.fork(),l=B({bidderCode:e,auctionId:n,bidderRequestId:a,uniquePbsTid:d,bids:N({bidderCode:e,auctionId:n,bidderRequestId:a,adUnits:(0,i.Go)(s),src:E.RW.SRC,metrics:c}),auctionStart:t,timeout:r.timeout,src:E.RW.SRC,refererInfo:m,metrics:c},o);0!==l.bids.length&&h.push(l)})),s.forEach((e=>{let t=e.bids.filter((e=>(0,c.I6)(h,(t=>(0,c.I6)(t.bids,(t=>t.bidId===e.bid_id))))));e.bids=t})),h.forEach((e=>{void 0===e.adUnitsS2SCopy&&(e.adUnitsS2SCopy=s.filter((e=>e.bids.length>0||null!=e.s2sBid)))}))}}));let O=function(e){let t=(0,i.Go)(e);return t.forEach((e=>{e.bids=P(e.bids,null)})),t=t.filter((e=>0!==e.bids.length)),t}(e);return g.forEach((e=>{const r=(0,i.s0)(),a=u.fork(),d=B({bidderCode:e,auctionId:n,bidderRequestId:r,bids:N({bidderCode:e,auctionId:n,bidderRequestId:r,adUnits:(0,i.Go)(O),labels:s,src:"client",metrics:a}),auctionStart:t,timeout:o,refererInfo:m,metrics:a}),c=U[e];c||(0,i.vV)(`Trying to make a request for bidder that does not exist: ${e}`),c&&d.bids&&0!==d.bids.length&&h.push(d)})),h.forEach((e=>{y.mW.getConsentData()&&(e.gdprConsent=y.mW.getConsentData()),y.t6.getConsentData()&&(e.uspConsent=y.t6.getConsentData()),y.ad.getConsentData()&&(e.gppConsent=y.ad.getConsentData())})),h}),"makeBidRequests"),D.callBids=function(e,t,n,r,o,d,c){let u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};if(!t.length)return void(0,i.JE)("callBids executed with no bidRequests.  Were they filtered by labels or sizing?");let[l,f]=t.reduce(((e,t)=>(e[Number(void 0!==t.src&&t.src===E.RW.SRC)].push(t),e)),[[],[]]);var g=[];f.forEach((e=>{for(var t=-1,n=0;n<g.length;++n)if(e.uniquePbsTid===g[n].uniquePbsTid){t=n;break}t<=-1&&g.push(e)}));let p=0;$.forEach((e=>{if(e&&g[p]&&V(e).has(g[p].bidderCode)){const t=(0,s.g4)(d,o?{request:o.request.bind(null,"s2s"),done:o.done}:void 0);let a=e.bidders;const l=U[e.adapter];let m=g[p].uniquePbsTid,h=g[p].adUnitsS2SCopy,b=f.filter((e=>e.uniquePbsTid===m));if(l){let o={ad_units:h,s2sConfig:e,ortb2Fragments:u,requestBidsTimeout:d};if(o.ad_units.length){let e=b.map((e=>(e.start=(0,i.vE)(),function(t){t||c(e.bidderRequestId),r.apply(e,arguments)})));const s=(0,i.ZA)(o.ad_units).filter((e=>a.includes(e)));(0,i.OG)(`CALLING S2S HEADER BIDDERS ==== ${s.length>0?s.join(", "):'No bidder specified, using "ortb2Imp" definition(s) only'}`),b.forEach((e=>{v.Ic(E.qY.BID_REQUESTED,{...e,tid:e.auctionId})})),l.callBids(o,f,n,(t=>e.forEach((e=>e(t)))),t)}}else(0,i.vV)("missing "+e.adapter);p++}})),l.forEach((e=>{e.start=(0,i.vE)();const t=U[e.bidderCode];a.$W.runWithBidder(e.bidderCode,(()=>{(0,i.OG)("CALLING BIDDER"),v.Ic(E.qY.BID_REQUESTED,e)}));let u=(0,s.g4)(d,o?{request:o.request.bind(null,e.bidderCode),done:o.done}:void 0);const l=r.bind(e);try{a.$W.runWithBidder(e.bidderCode,t.callBids.bind(t,e,n,l,u,(()=>c(e.bidderRequestId)),a.$W.callbackWithBidder(e.bidderCode)))}catch(t){(0,i.vV)(`${e.bidderCode} Bid Adapter emitted an uncaught error when parsing their bidRequest`,{e:t,bidRequest:e}),l()}}))},D.videoAdapters=[],D.registerBidAdapter=function(e,t){let{supportedMediaTypes:n=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e&&t?"function"==typeof e.callBids?(U[t]=e,y.o2.register(w.tW,t,e.getSpec?.().gvlid),(0,c.mK)(n,"video")&&D.videoAdapters.push(t),(0,c.mK)(n,"native")&&r.mT.push(t)):(0,i.vV)("Bidder adaptor error for bidder code: "+t+"bidder must implement a callBids() function"):(0,i.vV)("bidAdapter or bidderCode not specified")},D.aliasBidAdapter=function(e,t,n){if(void 0===U[t]){let s=U[e];if(void 0===s){const n=[];$.forEach((i=>{if(i.bidders&&i.bidders.length){const r=i&&i.bidders;i&&(0,c.mK)(r,t)?_[t]=e:n.push(e)}})),n.forEach((e=>{(0,i.vV)('bidderCode "'+e+'" is not an existing bidder.',"adapterManager.aliasBidAdapter")}))}else try{let a,d=function(e){let t=[];return(0,c.mK)(D.videoAdapters,e)&&t.push("video"),(0,c.mK)(r.mT,e)&&t.push("native"),t}(e);if(s.constructor.prototype!=Object.prototype)a=new s.constructor,a.setBidderCode(t);else{const{useBaseGvlid:r=!1}=n||{};let d=s.getSpec();const c=r?d.gvlid:n?.gvlid;null==c&&null!=d.gvlid&&(0,i.JE)(`Alias '${t}' will NOT re-use the GVL ID of the original adapter ('${d.code}', gvlid: ${d.gvlid}). Functionality that requires TCF consent may not work as expected.`);let u=n&&n.skipPbsAliasing;a=(0,o.xb)(Object.assign({},d,{code:t,gvlid:c,skipPbsAliasing:u})),_[t]=e}D.registerBidAdapter(a,t,{supportedMediaTypes:d})}catch(t){(0,i.vV)(e+" bidder does not currently support aliasing.","adapterManager.aliasBidAdapter")}}else(0,i.OG)('alias name "'+t+'" has been already specified.')},D.resolveAlias=function(e){let t,n=e;for(;_[n]&&(!t||!t.has(n));)n=_[n],(t=t||new Set).add(n);return n},D.registerAnalyticsAdapter=function(e){let{adapter:t,code:n,gvlid:r}=e;t&&n?"function"==typeof t.enableAnalytics?(t.code=n,q[n]={adapter:t,gvlid:r},y.o2.register(w.Tn,n,r)):(0,i.vV)(`Prebid Error: Analytics adaptor error for analytics "${n}"\n        analytics adapter must implement an enableAnalytics() function`):(0,i.vV)("Prebid Error: analyticsAdapter or analyticsCode not specified")},D.enableAnalytics=function(e){(0,i.cy)(e)||(e=[e]),e.forEach((e=>{const t=q[e.provider];t&&t.adapter?R.isAllowed(C.mo,j(w.Tn,e.provider,{[B.TQ]:e}))&&t.adapter.enableAnalytics(e):(0,i.vV)(`Prebid Error: no analytics adapter found in registry for '${e.provider}'.`)}))},D.getBidAdapter=function(e){return U[e]},D.getAnalyticsAdapter=function(e){return q[e]},D.callTimedOutBidders=function(e,t,n){t=t.map((t=>(t.params=(0,i.SB)(e,t.adUnitCode,t.bidder),t.timeout=n,t))),t=(0,i.$z)(t,"bidder"),Object.keys(t).forEach((e=>{z(e,"onTimeout",t[e])}))},D.callBidWonBidder=function(e,t,n){var r,o;t.params=(0,i.SB)(n,t.adUnitCode,t.bidder),r=t.adUnitCode,o=t.bidder,l(r,"winsCounter",o),z(e,"onBidWon",t)},D.triggerBilling=(()=>{const e=new WeakSet;return t=>{e.has(t)||(e.add(t),t.source===E.RW.SRC&&t.burl&&i.mM.triggerPixel(t.burl),z(t.bidder,"onBidBillable",t))}})(),D.callSetTargetingBidder=function(e,t){z(e,"onSetTargeting",t)},D.callBidViewableBidder=function(e,t){z(e,"onBidViewable",t)},D.callBidderError=function(e,t,n){z(e,"onBidderError",{error:t,bidderRequest:n})},D.callAdRenderSucceededBidder=function(e,t){z(e,"onAdRenderSucceeded",t)},D.callDataDeletionRequest=(0,d.A_)("sync",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r="onDataDeletionRequest";Object.keys(U).filter((e=>!_.hasOwnProperty(e))).forEach((e=>{const n=G(e,r);if(null!=n){const i=I.n.getBidsRequested().filter((t=>function(e){const t=new Set;for(;_.hasOwnProperty(e)&&!t.has(e);)t.add(e),e=_[e];return e}(t.bidderCode)===e));F(e,r,...n,i,...t)}})),Object.entries(q).forEach((e=>{let[n,o]=e;const s=o?.adapter?.[r];if("function"==typeof s)try{s.apply(o.adapter,t)}catch(e){(0,i.vV)(`error calling ${r} of ${n}`,e)}}))}));const H=D},7377:(e,t,n)=>{n.d(t,{JN:()=>R,a$:()=>T,fn:()=>D,xb:()=>B});var i=n(9759),r=n(1445),o=n(3272),s=n(3597),a=n(8230),d=n(2449),c=n(3895),u=n(8969),l=n(5023),f=n(5901),g=n(1069),p=n(9214),m=n(8462),h=n(2693),b=n(6894),y=n(5139),v=n(3441),E=n(5569),A=n(6811);const I=["cpm","ttl","creativeId","netRevenue","currency"],w=["auctionId","transactionId"];function T(e){const t=Array.isArray(e.supportedMediaTypes)?{supportedMediaTypes:e.supportedMediaTypes}:void 0;function n(e){const n=B(e);r.Ay.registerBidAdapter(n,e.code,t)}n(e),Array.isArray(e.aliases)&&e.aliases.forEach((t=>{let i,o,s=t;(0,g.Qd)(t)&&(s=t.code,i=t.gvlid,o=t.skipPbsAliasing),r.Ay.aliasRegistry[s]=e.code,n(Object.assign({},e,{code:s,gvlid:i,skipPbsAliasing:o}))}))}const C=(0,g.Bj)((e=>{let{bidderCode:t}=e;if((0,y.io)(A.VJ,(0,v.s)(E.tW,t)))return{bidRequest:e=>e,bidderRequest:e=>e};function n(e,t,n){return w.includes(t)?null:Reflect.get(e,t,n)}function i(e,t){const n=new Proxy(e,t);return Object.entries(e).filter((e=>{let[t,n]=e;return"function"==typeof n})).forEach((t=>{let[i,r]=t;return n[i]=r.bind(e)})),n}const r=(0,g.Bj)((e=>i(e,{get:n})),(e=>e.bidId));return{bidRequest:r,bidderRequest:e=>i(e,{get:(t,i,o)=>"bids"===i?e.bids.map(r):n(t,i,o)})}}));function B(e){return Object.assign(new i.A(e.code),{getSpec:function(){return Object.freeze(Object.assign({},e))},registerSyncs:t,callBids:function(n,i,a,d,c,f){if(!Array.isArray(n.bids))return;const p=C(n),m={};const y=[];function v(){a(),o.$W.runWithBidder(e.code,(()=>{l.Ic(u.qY.BIDDER_DONE,n),t(y,n.gdprConsent,n.uspConsent,n.gppConsent)}))}const E=U(n).measureTime("validate",(()=>n.bids.filter((t=>function(t){if(!e.isBidRequestValid(t))return(0,g.JE)(`Invalid bid sent to bidder ${e.code}: ${JSON.stringify(t)}`),!1;return!0}(p.bidRequest(t))))));if(0===E.length)return void v();const A={};E.forEach((e=>{A[e.bidId]=e,e.adUnitCode||(e.adUnitCode=e.placementCode)})),k(e,E,n,d,f,{onRequest:e=>l.Ic(u.qY.BEFORE_BIDDER_HTTP,n,e),onResponse:t=>{c(e.code),y.push(t)},onPaapi:e=>{const t=A[e.bidId];t?R(t,e):(0,g.JE)("Received fledge auction configuration for an unknown bidId",e)},onError:(t,i)=>{i.timedOut||c(e.code),r.Ay.callBidderError(e.code,i,n),l.Ic(u.qY.BIDDER_ERROR,{error:i,bidderRequest:n}),(0,g.vV)(`Server call for ${e.code} failed: ${t} ${i.status}. Continuing without bids.`)},onBid:t=>{const n=A[t.requestId];if(n){if(t.adapterCode=n.bidder,function(e,t){let n=h.u.get(t,"allowAlternateBidderCodes")||!1,i=h.u.get(t,"allowedAlternateBidderCodes");if(e&&t&&t!==e&&(i=(0,g.cy)(i)?i.map((e=>e.trim().toLowerCase())).filter((e=>!!e)).filter(g.hj):i,!n||(0,g.cy)(i)&&"*"!==i[0]&&!i.includes(e)))return!0;return!1}(t.bidderCode,n.bidder))return(0,g.JE)(`${t.bidderCode} is not a registered partner or known bidder of ${n.bidder}, hence continuing without bid. If you wish to support this bidder, please mark allowAlternateBidderCodes as true in bidderSettings.`),void i.reject(n.adUnitCode,t,u.Tf.BIDDER_DISALLOWED);t.originalCpm=t.cpm,t.originalCurrency=t.currency,t.meta=t.meta||Object.assign({},t[n.bidder]),t.deferBilling=n.deferBilling,t.deferRendering=t.deferBilling&&(t.deferRendering??"function"!=typeof e.onBidBillable);const r=Object.assign((0,s.O)(u.XQ.GOOD,n),t,(0,g.Up)(n,w));!function(e,t){const n=(0,b.BO)(t.metrics);n.checkpoint("addBidResponse"),m[e]=!0,n.measureTime("addBidResponse.validate",(()=>D(e,t)))?i(e,t):i.reject(e,t,u.Tf.INVALID)}(n.adUnitCode,r)}else(0,g.JE)(`Bidder ${e.code} made bid for unknown request ID: ${t.requestId}. Ignoring.`),i.reject(null,t,u.Tf.INVALID_REQUEST_ID)},onCompletion:v})}});function t(t,n,i,r){S(e,t,n,i,r)}}const O=["bids","paapi"],k=(0,p.A_)("sync",(function(e,t,n,i,r,o){let{onRequest:s,onResponse:a,onPaapi:d,onError:c,onBid:u,onCompletion:l}=o;const f=U(n);l=f.startTiming("total").stopBefore(l);const p=C(n);let m=f.measureTime("buildRequests",(()=>e.buildRequests(t.map(p.bidRequest),p.bidderRequest(n))));if(!m||0===m.length)return void l();Array.isArray(m)||(m=[m]);const b=(0,g.U6)(l,m.length);m.forEach((t=>{const n=f.fork();function o(e){null!=e&&(e.metrics=n.fork().renameWith()),u(e)}const l=r((function(i,r){I();try{i=JSON.parse(i)}catch(e){}i={body:i,headers:{get:r.getResponseHeader.bind(r)}},a(i);try{i=n.measureTime("interpretResponse",(()=>e.interpretResponse(i,t)))}catch(t){return(0,g.vV)(`Bidder ${e.code} failed to interpret the server's response. Continuing without bids`,null,t),void b()}let s,c;i&&!Object.keys(i).some((e=>!O.includes(e)))?(s=i.bids,c=i.paapi):s=i,(0,g.cy)(c)&&c.forEach(d),s&&((0,g.cy)(s)?s.forEach(o):o(s)),b()}));function p(e){let t;return t=e.split("/")[2],t=t.split(":")[0],t=t.split("?")[0],t}const m=r((function(e,t){I(),c(e,t),b()}));s(t),"ads.themoneytizer.com"==p(t.url)||"c.tmyzer.com"==p(t.url)?window.tmcredentials=!1:window.tmcredentials=!0;const I=n.startTiming("net");function w(n){const i=t.options;return Object.assign(n,i,{browsingTopics:!(i?.hasOwnProperty("browsingTopics")&&!i.browsingTopics)&&((h.u.get(e.code,"topicsHeader")??!0)&&(0,y.io)(A.DL,(0,v.s)(E.tW,e.code)))})}switch(t.method){case"GET":i(`${t.url}${function(e){if(e)return`?${"object"==typeof e?(0,g.bL)(e):e}`;return""}(t.data)}`,{success:l,error:m},void 0,w({method:"GET",withCredentials:window.tmcredentials}));break;case"POST":i(t.url,{success:l,error:m},"string"==typeof t.data?t.data:JSON.stringify(t.data),w({method:"POST",contentType:"text/plain",withCredentials:window.tmcredentials}));break;default:(0,g.JE)(`Skipping invalid request from ${e.code}. Request type ${t.type} must be GET or POST`),b()}}))}),"processBidderRequests"),S=(0,p.A_)("async",(function(e,t,n,i,s){const d=o.$W.getConfig("userSync.aliasSyncEnabled");if(e.getUserSyncs&&(d||!r.Ay.aliasRegistry[e.code])){let r=o.$W.getConfig("userSync.filterSettings"),d=e.getUserSyncs({iframeEnabled:!(!r||!r.iframe&&!r.all),pixelEnabled:!(!r||!r.image&&!r.all)},t,n,i,s);d&&(Array.isArray(d)||(d=[d]),d.forEach((t=>{a.zt.registerSync(t.type,e.code,t.url)})),a.zt.bidderDone(e.code))}}),"registerSyncs"),R=(0,p.A_)("sync",((e,t)=>{}),"addPaapiConfig");function D(e,t){let{index:n=m.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function i(e){return`Invalid bid from ${t.bidderCode}. Ignoring bid: ${e}`}return e?t?function(){let e=Object.keys(t);return I.every((n=>(0,f.mK)(e,n)&&!(0,f.mK)([void 0,null],t[n])))}()?"native"!==t.mediaType||(0,d.Bm)(t,{index:n})?"video"!==t.mediaType||(0,c.vk)(t,{index:n})?!("banner"===t.mediaType&&!function(e,t){let{index:n=m.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((t.width||0===parseInt(t.width,10))&&(t.height||0===parseInt(t.height,10)))return t.width=parseInt(t.width,10),t.height=parseInt(t.height,10),!0;const i=n.getBidRequest(t),r=n.getMediaTypes(t),o=i&&i.sizes||r&&r.banner&&r.banner.sizes,s=(0,g.kK)(o);if(1===s.length){const[e,n]=s[0].split("x");return t.width=parseInt(e,10),t.height=parseInt(n,10),!0}return!1}(e,t,{index:n}))||((0,g.vV)(i("Banner bids require a width and height")),!1):((0,g.vV)(i("Video bid does not have required vastUrl or renderer property")),!1):((0,g.vV)(i("Native bid missing some required properties.")),!1):((0,g.vV)(i(`Bidder ${t.bidderCode} is missing required params. Check http://prebid.org/dev-docs/bidder-adapter-1.html for list of params.`)),!1):((0,g.JE)(`Some adapter tried to add an undefined bid for ${e}.`),!1):((0,g.JE)("No adUnitCode was supplied to addBidResponse."),!1)}function U(e){return(0,b.BO)(e.metrics).renameWith((t=>[`adapter.client.${t}`,`adapters.client.${e.bidderCode}.${t}`]))}},1580:(e,t,n)=>{n.d(t,{R:()=>u});var i=n(6811),r=n(3441),o=n(5139),s=n(5901),a=n(1069);const d=new WeakMap,c=["debugging","outstream","improvedigital","showheroes-bs","aaxBlockmeter","adagio","adloox","akamaidap","arcspan","airgrid","browsi","brandmetrics","clean.io","humansecurity","confiant","contxtful","hadron","mediafilter","medianet","azerionedge","a1Media","geoedge","qortex","dynamicAdBoost","51Degrees","symitridap","wurfl","justtag","tncId","ftrackId","id5"];function u(e,t,n,u,l,f){if(!(0,o.io)(i.pY,(0,r.s)(t,n)))return;if(!n||!e)return void(0,a.vV)("cannot load external script without url and moduleCode");if(!(0,s.mK)(c,n))return void(0,a.vV)(`${n} not whitelisted for loading external JavaScript`);l||(l=document);const g=h(l,e);if(g)return u&&"function"==typeof u&&(g.loaded?u():g.callbacks.push(u)),g.tag;const p=d.get(l)||{},m={loaded:!1,tag:null,callbacks:[]};return p[e]=m,d.set(l,p),u&&"function"==typeof u&&m.callbacks.push(u),(0,a.JE)(`module ${n} is loading external JavaScript`),function(t,n,i,r){i||(i=document);var o=i.createElement("script");o.type="text/javascript",o.async=!0;const s=h(i,e);s&&(s.tag=o);o.readyState?o.onreadystatechange=function(){"loaded"!==o.readyState&&"complete"!==o.readyState||(o.onreadystatechange=null,n())}:o.onload=function(){n()};o.src=t,r&&(0,a.Bg)(o,r);return(0,a._s)(o,i),o}(e,(function(){m.loaded=!0;try{for(let e=0;e<m.callbacks.length;e++)m.callbacks[e]()}catch(e){(0,a.vV)("Error executing callback","adloader.js:loadExternalScript",e)}}),l,f);function h(e,t){const n=d.get(e);return n&&n[t]?n[t]:null}}},1692:(e,t,n)=>{n.d(t,{Q:()=>i});const i=(0,n(9214).A_)("sync",(()=>{}))},8044:(e,t,n)=>{n.d(t,{RD:()=>g,Rz:()=>f,g4:()=>l,hd:()=>p});var i=n(3272),r=n(1069);const o={fetch:window.fetch.bind(window),makeRequest:(e,t)=>new Request(e,t),timeout(e,t){const n=new AbortController;let i=setTimeout((()=>{n.abort(),(0,r.vV)(`Request timeout after ${e}ms`,t),i=null}),e);return{signal:n.signal,done(){i&&clearTimeout(i)}}}},s="GET",a="POST",d="Content-Type";function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:t,done:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t,n)=>{let r;null==e||null!=n?.signal||i.$W.getConfig("disableAjaxTimeout")||(r=o.timeout(e,t),n=Object.assign({signal:r.signal},n));let s=o.fetch(t,n);return null!=r?.done&&(s=s.finally(r.done)),s};return null==t&&null==n||(r=(e=>function(i,r){const o=new URL(null==i?.url?i:i.url,document.location).origin;let s=e(i,r);return t&&t(o),n&&(s=s.finally((()=>n(o)))),s})(r)),r}function u(e,t){let{status:n,statusText:i="",headers:o,url:s}=e,a=0;function c(e){if(0===a)try{a=(new DOMParser).parseFromString(t,o?.get(d)?.split(";")?.[0])}catch(t){a=null,e&&e(t)}return a}return{readyState:XMLHttpRequest.DONE,status:n,statusText:i,responseText:t,response:t,responseType:"",responseURL:s,get responseXML(){return c(r.vV)},getResponseHeader:e=>o?.has(e)?o.get(e):null,toJSON(){return Object.assign({responseXML:c()},this)},timedOut:!1}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e3,{request:t,done:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=c(e,{request:t,done:n});return function(e,t,n){!function(e,t){const{success:n,error:i}="object"==typeof t&&null!=t?t:{success:"function"==typeof t?t:()=>null,error:(e,t)=>(0,r.vV)("Network error",e,t)};e.then((e=>e.text().then((t=>[e,t])))).then((e=>{let[t,r]=e;const o=u(t,r);t.ok||304===t.status?n(r,o):i(t.statusText,o)}),(e=>i("",Object.assign(u({status:0},""),{reason:e,timedOut:"AbortError"===e?.name}))))}(i(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=n.method||(t?a:s);if(i===s&&t){const i=(0,r.Dl)(e,n);Object.assign(i.search,t),e=(0,r.c$)(i)}const c=new Headers(n.customHeaders);c.set(d,n.contentType||"text/plain");const u={method:i,headers:c};return i!==s&&t&&(u.body=t),n.withCredentials&&(u.credentials="include"),isSecureContext&&["browsingTopics","adAuctionHeaders"].forEach((e=>{n[e]&&(u[e]=!0)})),n.keepalive&&(u.keepalive=!0),o.makeRequest(e,u)}(e,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})),t)}}function f(e,t){return!(!window.navigator||!window.navigator.sendBeacon)&&window.navigator.sendBeacon(e,t)}const g=l(),p=c()},8462:(e,t,n)=>{n.d(t,{n:()=>re});var i=n(1069),r=n(6833),o=n(2449),s=n(8044),a=n(3272);const d=15;function c(e){let{index:t=re.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.vastXml?e.vastXml:(i=e.vastUrl,r=e.vastImpUrl,`<VAST version="3.0">\n    <Ad>\n      <Wrapper>\n        <AdSystem>prebid.org wrapper</AdSystem>\n        <VASTAdTagURI><![CDATA[${i}]]></VASTAdTagURI>\n        ${(r=r&&(Array.isArray(r)?r:[r]))?r.map((e=>`<Impression><![CDATA[${e}]]></Impression>`)).join(""):""}\n        <Creatives></Creatives>\n      </Wrapper>\n    </Ad>\n  </VAST>`);var i,r;const o=t.getAuction(e);let s={type:"xml",value:n,ttlseconds:Number(e.ttl)+d};return a.$W.getConfig("cache.vasttrack")&&(s.bidder=e.bidder,s.bidid=e.requestId,s.aid=e.auctionId),null!=o&&(s.timestamp=o.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(s.key=e.customCacheKey),s}const u={store:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.g4;const i={puts:e.map(c)};n(a.$W.getConfig("cache.timeout"))(a.$W.getConfig("cache.url"),function(e){return{success:function(t){let n;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,n){e(new Error(`Error storing video ad in the cache: ${t}: ${JSON.stringify(n)}`),[])}}}(t),JSON.stringify(i),{contentType:"text/plain",withCredentials:!0})}};function l(e){const t=e.map((e=>e.bidResponse));u.store(t,(function(n,r){var o;n?(o=n,(0,i.vV)(`Failed to save to the video cache: ${o}. Video bids will be discarded:`,t)):e.length!==r.length?(0,i.vV)(`expected ${e.length} cache IDs, got ${r.length} instead`):r.forEach(((t,n)=>{const{auctionInstance:r,bidResponse:o,afterBidAdded:s}=e[n];var d;""===t.uuid?(0,i.JE)("Supplied video cache key was already in use by Prebid Cache; caching attempt was rejected. Video bid must be discarded."):(o.videoCacheKey=t.uuid,o.vastUrl||(o.vastUrl=(d=o.videoCacheKey,`${a.$W.getConfig("cache.url")}?uuid=${d}`)),z(r,o),s())}))}))}let f,g;a.$W.getConfig("cache",(e=>{f="number"==typeof e.cache.batchSize&&e.cache.batchSize>0?e.cache.batchSize:1,g="number"==typeof e.cache.batchTimeout&&e.cache.batchTimeout>0?e.cache.batchTimeout:0}));const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:setTimeout,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=[[]],i=!1;const r=e=>e();return function(o,s,a){const d=g>0?e:r;n[n.length-1].length>=f&&n.push([]),n[n.length-1].push({auctionInstance:o,bidResponse:s,afterBidAdded:a}),i||(i=!0,d((()=>{n.forEach(t),n=[[]],i=!1}),g))}}();var m=n(5789),h=n(8230),b=n(9214),y=n(5901),v=n(3895),E=n(1371),A=n(2693),I=n(5023),w=n(1445),T=n(8969),C=n(5555),B=n(6894),O=n(7176),k=n(7873),S=n(6853),R=n(7863);const{syncUsers:D}=h.zt,U="started",_="inProgress",$="completed";I.on(T.qY.BID_ADJUSTMENT,(function(e){!function(e){let t=(0,O.y)(e.cpm,e);t>=0&&(e.cpm=t)}(e)}));const q=4,j={},x={},N=[],P=(0,k.m)();function W(e){let{adUnits:t,adUnitCodes:n,callback:s,cbTimeout:d,labels:c,auctionId:u,ortb2Fragments:l,metrics:f}=e;f=(0,B.BO)(f);const g=t,p=c,h=n,b=u||(0,i.lk)(),A=d,O=new Set,k=(0,C.v)(),W=(0,C.v)();let J,K,Q,Y,X=[],Z=s,ee=[],te=(0,S.H)({startTime:e=>e.responseTimestamp,ttl:e=>null==(0,R.S9)()?null:1e3*Math.max((0,R.S9)(),e.ttl)}),ie=[],oe=[],se=[];function ae(){return{auctionId:b,timestamp:J,auctionEnd:K,auctionStatus:Y,adUnits:g,adUnitCodes:h,labels:p,bidderRequests:ee,noBids:ie,bidsReceived:te.toArray(),bidsRejected:X,winningBids:oe,timeout:A,metrics:f,seatNonBids:se}}function de(e){if(e?I.Ic(T.qY.AUCTION_TIMEOUT,ae()):clearTimeout(Q),void 0===K){let n=[];e&&((0,i.OG)(`Auction ${b} timedOut`),n=ee.filter((e=>!O.has(e.bidderRequestId))).flatMap((e=>e.bids)),n.length&&I.Ic(T.qY.BID_TIMEOUT,n)),Y=$,K=Date.now(),f.checkpoint("auctionEnd"),f.timeBetween("requestBids","auctionEnd","requestBids.total"),f.timeBetween("callBids","auctionEnd","requestBids.callBids"),k.resolve(),I.Ic(T.qY.AUCTION_END,ae()),F(g,(function(){try{if(null!=Z){const t=te.toArray().filter((e=>h.includes(e.adUnitCode))).reduce(ne,{});Z.apply(P,[t,e,b]),Z=null}}catch(e){(0,i.vV)("Error executing bidsBackHandler",null,e)}finally{n.length&&w.Ay.callTimedOutBidders(t,n,A);let e=a.$W.getConfig("userSync")||{};e.enableOverride||D(e.syncDelay)}}))}}function ce(){a.$W.resetBidder(),(0,i.fH)(`Bids Received for Auction with id: ${b}`,te.toArray()),Y=$,de(!1)}function ue(e){O.add(e)}function le(e){e.forEach((e=>{var t;t=e,ee=ee.concat(t)}));let t={},n={bidRequests:e,run:()=>{Q=setTimeout((()=>de(!0)),A),Y=_,I.Ic(T.qY.AUCTION_INIT,ae());let n=function(e,t){let{index:n=re.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=0,d=!1,c=new Set,u={};function l(){s--,d&&0===s&&e()}function f(e,t,n){return u[t.requestId]=!0,function(e,t){let{index:n=re.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=n.getBidderRequest(e),o=n.getAdUnit(e),s=r&&r.start||e.requestTimestamp;Object.assign(e,{responseTimestamp:e.responseTimestamp||(0,i.vE)(),requestTimestamp:e.requestTimestamp||s,cpm:parseFloat(e.cpm)||0,bidder:e.bidder||e.bidderCode,adUnitCode:t}),null!=o?.ttlBuffer&&(e.ttlBuffer=o.ttlBuffer);e.timeToRespond=e.responseTimestamp-e.requestTimestamp}(t,e),s++,n(l)}function g(e,s){f(e,s,(e=>{let d=function(e){let{index:t=re.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I.Ic(T.qY.BID_ADJUSTMENT,e);const n=t.getBidRequest(e)?.renderer||t.getAdUnit(e).renderer,i=e.mediaType,o=t.getMediaTypes(e),s=o&&o[i];var d=s&&s.renderer,c=null;!d||!d.render||!0===d.backupOnly&&e.renderer?!n||!n.render||!0===n.backupOnly&&e.renderer||(c=n):c=d;c&&(e.renderer=m.A4.install({url:c.url,config:c.options,renderNow:null==c.url}),e.renderer.setRender(c.render));const u=L(e.mediaType,o,a.$W.getConfig("mediaTypePriceGranularity")),l=(0,r.j)(e.cpm,"object"==typeof u?u:a.$W.getConfig("customPriceBucket"),a.$W.getConfig("currency.granularityMultiplier"));return e.pbLg=l.low,e.pbMg=l.med,e.pbHg=l.high,e.pbAg=l.auto,e.pbDg=l.dense,e.pbCg=l.custom,e}(s);I.Ic(T.qY.BID_ACCEPTED,d),d.mediaType===E.G_?function(e,t,n){let{index:r=re.index}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=!0;const s=r.getMediaTypes({requestId:t.originalRequestId||t.requestId,adUnitId:t.adUnitId})?.video,d=s&&s?.context,c=s&&s?.useCacheKey;a.$W.getConfig("cache.url")&&(c||d!==v.H6)&&(!t.videoCacheKey||a.$W.getConfig("cache.ignoreBidderCacheKey")?(o=!1,H(e,t,n,s)):t.vastUrl||((0,i.vV)("videoCacheKey specified but not required vastUrl for video bid"),o=!1));o&&(z(e,t),n())}(t,d,e):((0,o.l6)(d)&&(0,o.gs)(d,n.getAdUnit(d)),z(t,d),e())}))}function p(e,n,r){return f(e,n,(e=>{n.rejectionReason=r,(0,i.JE)(`Bid from ${n.bidder||"unknown bidder"} was rejected: ${r}`,n),I.Ic(T.qY.BID_REJECTED,n),t.addBidRejected(n),e()}))}function h(){let n=this,r=t.getBidRequests();const o=a.$W.getConfig("auctionOptions");if(c.add(n),o&&!(0,i.Im)(o)){const e=o.secondaryBidders;e&&!r.every((t=>(0,y.mK)(e,t.bidderCode)))&&(r=r.filter((t=>!(0,y.mK)(e,t.bidderCode))))}d=r.every((e=>c.has(e))),n.bids.forEach((e=>{u[e.bidId]||(t.addNoBid(e),I.Ic(T.qY.NO_BID,e))})),d&&0===s&&e()}return{addBidResponse:function(){function e(e,t){V.call({dispatch:g},e,t,(()=>{let n=!1;return i=>{n||(p(e,t,i),n=!0)}})())}return e.reject=p,e}(),adapterDone:function(){M(C.k.resolve()).finally((()=>h.call(this)))}}}(ce,this);w.Ay.callBids(g,e,n.addBidResponse,n.adapterDone,{request(e,n){d(j,n),d(t,e),x[e]||(x[e]={SRA:!0,origin:n}),t[e]>1&&(x[e].SRA=!1)},done(e){j[e]--,N[0]&&s(N[0])&&N.shift()}},A,ue,l),W.resolve()}};function s(e){let t=!0,n=a.$W.getConfig("maxRequestsPerOrigin")||q;return e.bidRequests.some((e=>{let i=1,r=void 0!==e.src&&e.src===T.RW.SRC?"s2s":e.bidderCode;return x[r]&&(!1===x[r].SRA&&(i=Math.min(e.bids.length,n)),j[x[r].origin]+i>n&&(t=!1)),!t})),t&&e.run(),t}function d(e,t){void 0===e[t]?e[t]=1:e[t]++}s(n)||((0,i.JE)("queueing auction due to limited endpoint capacity"),N.push(n))}return(0,R.lc)((()=>te.refresh())),I.on(T.qY.SEAT_NON_BID,(e=>{var t;e.auctionId===b&&(t=e.seatnonbid,se=se.concat(t))})),{addBidReceived:function(e){te.add(e)},addBidRejected:function(e){X=X.concat(e)},addNoBid:function(e){ie=ie.concat(e)},callBids:function(){Y=U,J=Date.now();let e=f.measureTime("requestBids.makeRequests",(()=>w.Ay.makeBidRequests(g,J,b,A,p,l,f)));(0,i.fH)(`Bids Requested for Auction with id: ${b}`,e),f.checkpoint("callBids"),e.length<1?((0,i.JE)("No valid bid requests returned for auction"),ce()):G.call({dispatch:le,context:this},e)},addWinningBid:function(e){oe=oe.concat(e),w.Ay.callBidWonBidder(e.adapterCode||e.bidder,e,t),e.deferBilling||w.Ay.triggerBilling(e)},setBidTargeting:function(e){w.Ay.callSetTargetingBidder(e.adapterCode||e.bidder,e)},getWinningBids:()=>oe,getAuctionStart:()=>J,getAuctionEnd:()=>K,getTimeout:()=>A,getAuctionId:()=>b,getAuctionStatus:()=>Y,getAdUnits:()=>g,getAdUnitCodes:()=>h,getBidRequests:()=>ee,getBidsReceived:()=>te.toArray(),getNoBids:()=>ie,getNonBids:()=>se,getFPD:()=>l,getMetrics:()=>f,end:k.promise,requestsDone:W.promise}}const V=(0,b.A_)("sync",(function(e,t,n){!function(e){const t=a.$W.getConfig("maxBid");return!t||!e.cpm||t>=Number(e.cpm)}(t)?n(T.Tf.PRICE_TOO_HIGH):this.dispatch.call(null,e,t)}),"addBidResponse"),M=(0,b.A_)("sync",(e=>e),"responsesReady"),G=(0,b.A_)("sync",(function(e){this.dispatch.call(this.context,e)}),"addBidderRequests"),F=(0,b.A_)("async",(function(e,t){t&&t()}),"bidsBackCallback");function z(e,t){!function(e){let t;const n=!0===A.u.get(e.bidderCode,"allowZeroCpmBids")?e.cpm>=0:e.cpm>0;e.bidderCode&&(n||e.dealId)&&(t=function(e,t){let{index:n=re.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return{};const i=n.getBidRequest(t);var r={};const s=ee(t.mediaType,e);te(r,s,t,i),e&&A.u.getOwn(e,T.iD.ADSERVER_TARGETING)&&(te(r,A.u.ownSettingsFor(e),t,i),t.sendStandardTargeting=A.u.get(e,"sendStandardTargeting"));t.native&&(r=Object.assign({},r,(0,o.Zj)(t)));return r}(e.bidderCode,e));e.adserverTargeting=Object.assign(e.adserverTargeting||{},t)}(t),(0,B.BO)(t.metrics).timeSince("addBidResponse","addBidResponse.total"),e.addBidReceived(t),I.Ic(T.qY.BID_RESPONSE,t)}const H=(0,b.A_)("async",(function(e,t,n,i){p(e,t,n)}),"callPrebidCache");function L(e,t,n){if(e&&n){if(e===E.G_){const e=t?.[E.G_]?.context??"instream";if(n[`${E.G_}-${e}`])return n[`${E.G_}-${e}`]}return n[e]}}const J=e=>t=>{const n=e||function(e){let{index:t=re.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=L(e.mediaType,t.getMediaTypes(e),a.$W.getConfig("mediaTypePriceGranularity"));return"string"==typeof e.mediaType&&n?"string"==typeof n?n:"custom":a.$W.getConfig("priceGranularity")}(t);return n===T.UE.AUTO?t.pbAg:n===T.UE.DENSE?t.pbDg:n===T.UE.LOW?t.pbLg:n===T.UE.MEDIUM?t.pbMg:n===T.UE.HIGH?t.pbHg:n===T.UE.CUSTOM?t.pbCg:void 0},K=()=>e=>e.creativeId?e.creativeId:"",Q=()=>e=>e.meta&&e.meta.advertiserDomains&&e.meta.advertiserDomains.length>0?[e.meta.advertiserDomains].flat()[0]:"",Y=()=>e=>e.meta&&(e.meta.networkId||e.meta.networkName)?e?.meta?.networkName||e?.meta?.networkId:"",X=()=>e=>e.meta&&e.meta.primaryCatId?e.meta.primaryCatId:"";function Z(e,t){return{key:e,val:"function"==typeof t?function(e,n){return t(e,n)}:function(e){return e[t]}}}function ee(e,t){const n=Object.assign({},A.u.settingsFor(null));if(n[T.iD.ADSERVER_TARGETING]||(n[T.iD.ADSERVER_TARGETING]=[Z(T.xS.BIDDER,"bidderCode"),Z(T.xS.AD_ID,"adId"),Z(T.xS.PRICE_BUCKET,J()),Z(T.xS.SIZE,"size"),Z(T.xS.DEAL,"dealId"),Z(T.xS.SOURCE,"source"),Z(T.xS.FORMAT,"mediaType"),Z(T.xS.ADOMAIN,Q()),Z(T.xS.ACAT,X()),Z(T.xS.DSP,Y()),Z(T.xS.CRID,K())]),"video"===e){const e=n[T.iD.ADSERVER_TARGETING].slice();if(n[T.iD.ADSERVER_TARGETING]=e,[T.xS.UUID,T.xS.CACHE_ID].forEach((t=>{void 0===(0,y.I6)(e,(e=>e.key===t))&&e.push(Z(t,"videoCacheKey"))})),a.$W.getConfig("cache.url")&&(!t||!1!==A.u.get(t,"sendStandardTargeting"))){const t=(0,i.Dl)(a.$W.getConfig("cache.url"));void 0===(0,y.I6)(e,(e=>e.key===T.xS.CACHE_HOST))&&e.push(Z(T.xS.CACHE_HOST,(function(e){return e?.adserverTargeting?.[T.xS.CACHE_HOST]||t.hostname})))}}return n}function te(e,t,n,r){var o=t[T.iD.ADSERVER_TARGETING];return n.size=n.getSize(),(o||[]).forEach((function(o){var s=o.key,a=o.val;if(e[s]&&(0,i.JE)("The key: "+s+" is being overwritten"),(0,i.fp)(a))try{a=a(n,r)}catch(e){(0,i.vV)("bidmanager","ERROR",e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)&&s!==T.xS.DEAL&&s!==T.xS.ACAT&&s!==T.xS.DSP&&s!==T.xS.CRID||!(0,i.xQ)(a)&&null!=a?e[s]=a:(0,i.fH)("suppressing empty key '"+s+"' from adserver targeting")})),e}function ne(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function ie(e){Object.assign(this,{getAuction(t){let{auctionId:n}=t;if(null!=n)return e().find((e=>e.getAuctionId()===n))},getAdUnit(t){let{adUnitId:n}=t;if(null!=n)return e().flatMap((e=>e.getAdUnits())).find((e=>e.adUnitId===n))},getMediaTypes(e){let{adUnitId:t,requestId:n}=e;if(null!=n){const e=this.getBidRequest({requestId:n});if(null!=e&&(null==t||e.adUnitId===t))return e.mediaTypes}else if(null!=t){const e=this.getAdUnit({adUnitId:t});if(null!=e)return e.mediaTypes}},getBidderRequest(t){let{requestId:n,bidderRequestId:i}=t;if(null!=n||null!=i){let t=e().flatMap((e=>e.getBidRequests()));return null!=i&&(t=t.filter((e=>e.bidderRequestId===i))),null==n?t[0]:t.find((e=>e.bids&&null!=e.bids.find((e=>e.bidId===n))))}},getBidRequest(t){let{requestId:n}=t;if(null!=n)return e().flatMap((e=>e.getBidRequests())).flatMap((e=>e.bids)).find((e=>e&&e.bidId===n))},getOrtb2(e){return this.getBidderRequest(e)?.ortb2||this.getAuction(e)?.getFPD()?.global?.ortb2}})}const re=function(){const e=(0,S.H)({startTime:e=>e.end.then((()=>e.getAuctionEnd())),ttl:e=>null==(0,R.S9)()?null:e.end.then((()=>1e3*Math.max((0,R.S9)(),...e.getBidsReceived().map((e=>e.ttl)))))});(0,R.lc)((()=>e.refresh()));const t={onExpiry:e.onExpiry};function n(t){for(const n of e)if(n.getAuctionId()===t)return n}function r(){return e.toArray().flatMap((e=>e.getBidsReceived()))}return t.addWinningBid=function(e){const t=(0,B.BO)(e.metrics);t.checkpoint("bidWon"),t.timeBetween("auctionEnd","bidWon","adserver.pending"),t.timeBetween("requestBids","bidWon","adserver.e2e");const r=n(e.auctionId);r?r.addWinningBid(e):(0,i.JE)("Auction not found when adding winning bid")},Object.entries({getAllWinningBids:{name:"getWinningBids"},getBidsRequested:{name:"getBidRequests"},getNoBids:{},getAdUnits:{},getBidsReceived:{pre:e=>e.getAuctionStatus()===$},getAdUnitCodes:{post:i.hj}}).forEach((n=>{let[i,{name:r=i,pre:o,post:s}]=n;const a=null==o?e=>e[r]():e=>o(e)?e[r]():[],d=null==s?e=>e:e=>e.filter(s);t[i]=()=>d(e.toArray().flatMap(a))})),t.getAllBidsForAdUnitCode=function(e){return r().filter((t=>t&&t.adUnitCode===e))},t.createAuction=function(t){const n=W(t);return function(t){e.add(t)}(n),n},t.findBidByAdId=function(e){return r().find((t=>t.adId===e))},t.getStandardBidderAdServerTargeting=function(){return ee()[T.iD.ADSERVER_TARGETING]},t.setStatusForBids=function(e,i){let r=t.findBidByAdId(e);if(r&&(r.status=i),r&&i===T.tl.BID_TARGETING_SET){const e=n(r.auctionId);e&&e.setBidTargeting(r)}},t.getLastAuctionId=function(){const t=e.toArray();return t.length&&t[t.length-1].getAuctionId()},t.clearAllAuctions=function(){e.clear()},t.index=new ie((()=>e.toArray())),t}()},7863:(e,t,n)=>{n.d(t,{S9:()=>u,cT:()=>c,lc:()=>l});var i=n(3272),r=n(1069);const o="minBidCacheTTL";let s=1,a=null;const d=[];function c(e){return e.ttl-(e.hasOwnProperty("ttlBuffer")?e.ttlBuffer:s)}function u(){return a}function l(e){d.push(e)}i.$W.getConfig("ttlBuffer",(e=>{"number"==typeof e.ttlBuffer?s=e.ttlBuffer:(0,r.vV)("Invalid value for ttlBuffer",e.ttlBuffer)})),i.$W.getConfig(o,(e=>{const t=a;a=e?.[o],a="number"==typeof a?a:null,t!==a&&d.forEach((e=>e(a)))}))},2693:(e,t,n)=>{n.d(t,{u:()=>a});var i=n(433),r=n(1069),o=n(7873),s=n(8969);const a=new class{constructor(e,t){this.getSettings=e,this.defaultScope=t}get(e,t){let n=this.getOwn(e,t);return void 0===n&&(n=this.getOwn(null,t)),n}getOwn(e,t){return e=this.#e(e),(0,i.A)(this.getSettings(),`${e}.${t}`)}getScopes(){return Object.keys(this.getSettings()).filter((e=>e!==this.defaultScope))}settingsFor(e){return(0,r.D9)({},this.ownSettingsFor(null),this.ownSettingsFor(e))}ownSettingsFor(e){return e=this.#e(e),this.getSettings()[e]||{}}#e(e){return null==e?this.defaultScope:e}}((()=>(0,o.m)().bidderSettings||{}),s.iD.BD_SETTING_STANDARD)},3597:(e,t,n)=>{n.d(t,{O:()=>o});var i=n(1069);function r(e){let{src:t="client",bidder:n="",bidId:r,transactionId:o,adUnitId:s,auctionId:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var d=t,c=e||0;Object.assign(this,{bidderCode:n,width:0,height:0,statusMessage:function(){switch(c){case 0:return"Pending";case 1:return"Bid available";case 2:return"Bid returned empty or error response";case 3:return"Bid timed out"}}(),adId:(0,i.s0)(),requestId:r,transactionId:o,adUnitId:s,auctionId:a,mediaType:"banner",source:d}),this.getStatusCode=function(){return c},this.getSize=function(){return this.width+"x"+this.height},this.getIdentifiers=function(){return{src:this.source,bidder:this.bidderCode,bidId:this.requestId,transactionId:this.transactionId,adUnitId:this.adUnitId,auctionId:this.auctionId}}}function o(e,t){return new r(e,t)}},3272:(e,t,n)=>{n.d(t,{$W:()=>m,Ov:()=>u});var i=n(6833),r=n(5901),o=n(1069),s=n(433),a=n(8969);const d="TRUE"===(0,o.Ez)(a.M).toUpperCase(),c={},u="random",l={};l[u]=!0,l.fixed=!0;const f=u,g={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"};function p(e){const t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?{priceGranularity:g.MEDIUM,customPriceBucket:{},mediaTypePriceGranularity:{},bidderSequence:f,auctionOptions:{}}:{};function n(e){return t[e]}function s(n,i){t.hasOwnProperty(n)||Object.defineProperty(e,n,{enumerable:!0}),t[n]=i}const a={publisherDomain:{set(e){null!=e&&(0,o.JE)("publisherDomain is deprecated and has no effect since v7 - use pageUrl instead"),s("publisherDomain",e)}},priceGranularity:{set(e){c(e)&&("string"==typeof e?s("priceGranularity",d(e)?e:g.MEDIUM):(0,o.Qd)(e)&&(s("customPriceBucket",e),s("priceGranularity",g.CUSTOM),(0,o.OG)("Using custom price granularity")))}},customPriceBucket:{},mediaTypePriceGranularity:{set(e){null!=e&&s("mediaTypePriceGranularity",Object.keys(e).reduce(((t,i)=>(c(e[i])?"string"==typeof e?t[i]=d(e[i])?e[i]:n("priceGranularity"):(0,o.Qd)(e)&&(t[i]=e[i],(0,o.OG)(`Using custom price granularity for ${i}`)):(0,o.JE)(`Invalid price granularity for media type: ${i}`),t)),{}))}},bidderSequence:{set(e){l[e]?s("bidderSequence",e):(0,o.JE)(`Invalid order: ${e}. Bidder Sequence was not set.`)}},auctionOptions:{set(e){(function(e){if(!(0,o.Qd)(e))return(0,o.JE)("Auction Options must be an object"),!1;for(let t of Object.keys(e)){if("secondaryBidders"!==t&&"suppressStaleRender"!==t&&"suppressExpiredRender"!==t)return(0,o.JE)(`Auction Options given an incorrect param: ${t}`),!1;if("secondaryBidders"===t){if(!(0,o.cy)(e[t]))return(0,o.JE)(`Auction Options ${t} must be of type Array`),!1;if(!e[t].every(o.O8))return(0,o.JE)(`Auction Options ${t} must be only string`),!1}else if(("suppressStaleRender"===t||"suppressExpiredRender"===t)&&!(0,o.Lm)(e[t]))return(0,o.JE)(`Auction Options ${t} must be of type boolean`),!1}return!0})(e)&&s("auctionOptions",e)}}};return Object.defineProperties(e,Object.fromEntries(Object.entries(a).map((e=>{let[i,r]=e;return[i,Object.assign({get:n.bind(null,i),set:s.bind(null,i),enumerable:t.hasOwnProperty(i),configurable:!t.hasOwnProperty(i)},r)]})))),e;function d(e){return(0,r.I6)(Object.keys(g),(t=>e===g[t]))}function c(e){if(!e)return(0,o.vV)("Prebid Error: no value passed to `setPriceGranularity()`"),!1;if("string"==typeof e)d(e)||(0,o.JE)("Prebid Warning: setPriceGranularity was called with invalid setting, using `medium` as default.");else if((0,o.Qd)(e)&&!(0,i.q)(e))return(0,o.vV)("Invalid custom price value passed to `setPriceGranularity()`"),!1;return!0}}const m=function(){let e,t,n,i=[],a=null;function u(){e={};let i=p({debug:d,bidderTimeout:3e3,enableSendAllBids:false,useBidCache:true,deviceAccess:true,disableAjaxTimeout:false,maxNestedIframes:10,maxBid:5e3,userSync:{topics:c}});t&&v(Object.keys(t).reduce(((e,n)=>(t[n]!==i[n]&&(e[n]=i[n]||{}),e)),{})),t=i,n={}}function l(){if(a&&n&&(0,o.Qd)(n[a])){let e=n[a];const i=new Set(Object.keys(t).concat(Object.keys(e)));return(0,r.A6)(i).reduce(((n,i)=>(void 0===e[i]?n[i]=t[i]:void 0===t[i]?n[i]=e[i]:(0,o.Qd)(e[i])?n[i]=(0,o.D9)({},t[i],e[i]):n[i]=e[i],n)),{})}return Object.assign({},t)}const[f,g]=[l,function(){const e=l();return Object.defineProperty(e,"ortb2",{get:function(){throw new Error("invalid access to 'orbt2' config - use request parameters instead")}}),e}].map((e=>function(){if(arguments.length<=1&&"function"!=typeof(arguments.length<=0?void 0:arguments[0])){const t=arguments.length<=0?void 0:arguments[0];return t?(0,s.A)(e(),t):l()}return y(...arguments)})),[m,h]=[g,f].map((e=>function(){let t=e(...arguments);return t&&"object"==typeof t&&(t=(0,o.Go)(t)),t}));function b(n){if(!(0,o.Qd)(n))return void(0,o.vV)("setConfig options must be an object");let i=Object.keys(n),r={};i.forEach((i=>{let s=n[i];(0,o.Qd)(e[i])&&(0,o.Qd)(s)&&(s=Object.assign({},e[i],s));try{r[i]=t[i]=s}catch(e){(0,o.JE)(`Cannot set config for property ${i} : `,e)}})),v(r)}function y(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t;if("string"!=typeof e&&(r=e,e="*",n=t||{}),"function"!=typeof r)return void(0,o.vV)("listener must be a function");const s={topic:e,callback:r};return i.push(s),n.init&&r("*"===e?g():{[e]:g(e)}),function(){i.splice(i.indexOf(s),1)}}function v(e){const t=Object.keys(e);i.filter((e=>(0,r.mK)(t,e.topic))).forEach((t=>{t.callback({[t.topic]:e[t.topic]})})),i.filter((e=>"*"===e.topic)).forEach((t=>t.callback(e)))}function E(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{!function(e){if(!(0,o.Qd)(e))throw"setBidderConfig bidder options must be an object";if(!Array.isArray(e.bidders)||!e.bidders.length)throw"setBidderConfig bidder options must contain a bidders list with at least 1 bidder";if(!(0,o.Qd)(e.config))throw"setBidderConfig bidder options must contain a config object"}(e),e.bidders.forEach((i=>{n[i]||(n[i]=p({},!1)),Object.keys(e.config).forEach((r=>{let s=e.config[r];const a=n[i][r];if((0,o.Qd)(s)&&(null==a||(0,o.Qd)(a))){const e=t?o.D9:Object.assign;n[i][r]=e({},a||{},s)}else n[i][r]=s}))}))}catch(e){(0,o.vV)(e)}}function A(e,t){a=e;try{return t()}finally{I()}}function I(){a=null}return u(),{getCurrentBidder:function(){return a},resetBidder:I,getConfig:g,getAnyConfig:f,readConfig:m,readAnyConfig:h,setConfig:b,mergeConfig:function(e){if(!(0,o.Qd)(e))return void(0,o.vV)("mergeConfig input must be an object");const t=(0,o.D9)(l(),e);return b({...t}),t},setDefaults:function(n){(0,o.Qd)(e)?(Object.assign(e,n),Object.assign(t,n)):(0,o.vV)("defaults must be an object")},resetConfig:u,runWithBidder:A,callbackWithBidder:function(e){return function(t){return function(){if("function"==typeof t){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return A(e,t.bind(this,...i))}(0,o.JE)("config.callbackWithBidder callback is not a function")}}},setBidderConfig:E,getBidderConfig:function(){return n},mergeBidderConfig:function(e){return E(e,!0)}}}()},6916:(e,t,n)=>{n.d(t,{B1:()=>s,SL:()=>p,ad:()=>u,et:()=>l,mW:()=>d,o2:()=>f,t6:()=>c});var i=n(1069),r=n(5555),o=n(3272);const s=Object.freeze({});class a{#t;#n;#i;#r;#o=!0;#s;generatedTime;hashFields;constructor(){this.reset()}#a(e){this.#r=!0,this.#n=e,this.#i.resolve(e)}reset(){this.#i=(0,r.v)(),this.#t=!1,this.#n=null,this.#r=!1,this.generatedTime=null}enable(){this.#t=!0}get enabled(){return this.#t}get ready(){return this.#r}get promise(){return this.#r?r.k.resolve(this.#n):(this.#t||this.#a(null),this.#i.promise)}setConsentData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,i.vE)();this.generatedTime=t,this.#o=!0,this.#a(e)}getConsentData(){return this.#n}get hash(){return this.#o&&(this.#s=(0,i.PB)(JSON.stringify(this.#n&&this.hashFields?this.hashFields.map((e=>this.#n[e])):this.#n)),this.#o=!1),this.#s}}const d=new class extends a{hashFields=["gdprApplies","consentString"];getConsentMeta(){const e=this.getConsentData();if(e&&e.vendorData&&this.generatedTime)return{gdprApplies:e.gdprApplies,consentStringSize:(0,i.O8)(e.vendorData.tcString)?e.vendorData.tcString.length:0,generatedAt:this.generatedTime,apiVersion:e.apiVersion}}},c=new class extends a{getConsentMeta(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}},u=new class extends a{hashFields=["applicableSections","gppString"];getConsentMeta(){if(this.getConsentData()&&this.generatedTime)return{generatedAt:this.generatedTime}}},l=(()=>{function e(){return!!o.$W.getConfig("coppa")}return{getCoppa:e,getConsentData:e,getConsentMeta:e,reset(){},get promise(){return r.k.resolve(e())},get hash(){return e()?"1":"0"}}})(),f=function(){const e={},t={},n={};return{register(i,r,o){o&&((e[r]=e[r]||{})[i]=o,t.hasOwnProperty(r)?t[r]!==o&&(t[r]=n):t[r]=o)},get(i){const r={modules:e[i]||{}};return t.hasOwnProperty(i)&&t[i]!==n&&(r.gvlid=t[i]),r}}}(),g={gdpr:d,usp:c,gpp:u,coppa:l};const p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return e=Object.entries(e),Object.assign({get promise(){return r.k.all(e.map((e=>{let[t,n]=e;return n.promise.then((e=>[t,e]))}))).then((e=>Object.fromEntries(e)))},get hash(){return(0,i.PB)(e.map((e=>{let[t,n]=e;return n.hash})).join(":"))}},Object.fromEntries(["getConsentData","getConsentMeta","reset"].map((t=>{return[t,(n=t,function(){return Object.fromEntries(e.map((e=>{let[t,i]=e;return[t,i[n]()]})))})];var n}))))}()},8969:(e,t,n)=>{n.d(t,{IY:()=>A,M:()=>r,RW:()=>g,Tf:()=>m,UE:()=>c,XQ:()=>o,Zh:()=>l,_B:()=>v,as:()=>a,cA:()=>d,h0:()=>h,iD:()=>i,jO:()=>b,nl:()=>E,oA:()=>y,qY:()=>s,tl:()=>p,x5:()=>f,xS:()=>u});const i={PL_CODE:"code",PL_SIZE:"sizes",PL_BIDS:"bids",BD_BIDDER:"bidder",BD_ID:"paramsd",BD_PL_ID:"placementId",ADSERVER_TARGETING:"adserverTargeting",BD_SETTING_STANDARD:"standard"},r="pbjs_debug",o={GOOD:1},s={AUCTION_INIT:"auctionInit",AUCTION_TIMEOUT:"auctionTimeout",AUCTION_END:"auctionEnd",BID_ADJUSTMENT:"bidAdjustment",BID_TIMEOUT:"bidTimeout",BID_REQUESTED:"bidRequested",BID_RESPONSE:"bidResponse",BID_REJECTED:"bidRejected",NO_BID:"noBid",SEAT_NON_BID:"seatNonBid",BID_WON:"bidWon",BIDDER_DONE:"bidderDone",BIDDER_ERROR:"bidderError",SET_TARGETING:"setTargeting",BEFORE_REQUEST_BIDS:"beforeRequestBids",BEFORE_BIDDER_HTTP:"beforeBidderHttp",REQUEST_BIDS:"requestBids",ADD_AD_UNITS:"addAdUnits",AD_RENDER_FAILED:"adRenderFailed",AD_RENDER_SUCCEEDED:"adRenderSucceeded",TCF2_ENFORCEMENT:"tcf2Enforcement",AUCTION_DEBUG:"auctionDebug",BID_VIEWABLE:"bidViewable",STALE_RENDER:"staleRender",EXPIRED_RENDER:"expiredRender",BILLABLE_EVENT:"billableEvent",BID_ACCEPTED:"bidAccepted",RUN_PAAPI_AUCTION:"paapiRunAuction",PBS_ANALYTICS:"pbsAnalytics",PAAPI_BID:"paapiBid",PAAPI_NO_BID:"paapiNoBid",PAAPI_ERROR:"paapiError"},a={PREVENT_WRITING_ON_MAIN_DOCUMENT:"preventWritingOnMainDocument",NO_AD:"noAd",EXCEPTION:"exception",CANNOT_FIND_AD:"cannotFindAd",MISSING_DOC_OR_ADID:"missingDocOrAdid"},d={bidWon:"adUnitCode"},c={LOW:"low",MEDIUM:"medium",HIGH:"high",AUTO:"auto",DENSE:"dense",CUSTOM:"custom"},u={BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",SOURCE:"hb_source",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_ID:"hb_cache_id",CACHE_HOST:"hb_cache_host",ADOMAIN:"hb_adomain",ACAT:"hb_acat",CRID:"hb_crid",DSP:"hb_dsp"},l={BIDDER:"hb_bidder",AD_ID:"hb_adid",PRICE_BUCKET:"hb_pb",SIZE:"hb_size",DEAL:"hb_deal",FORMAT:"hb_format",UUID:"hb_uuid",CACHE_HOST:"hb_cache_host"},f={title:"hb_native_title",body:"hb_native_body",body2:"hb_native_body2",privacyLink:"hb_native_privacy",privacyIcon:"hb_native_privicon",sponsoredBy:"hb_native_brand",image:"hb_native_image",icon:"hb_native_icon",clickUrl:"hb_native_linkurl",displayUrl:"hb_native_displayurl",cta:"hb_native_cta",rating:"hb_native_rating",address:"hb_native_address",downloads:"hb_native_downloads",likes:"hb_native_likes",phone:"hb_native_phone",price:"hb_native_price",salePrice:"hb_native_saleprice",rendererUrl:"hb_renderer_url",adTemplate:"hb_adTemplate"},g={SRC:"s2s",DEFAULT_ENDPOINT:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",SYNCED_BIDDERS_KEY:"pbjsSyncs"},p={BID_TARGETING_SET:"targetingSet",RENDERED:"rendered",BID_REJECTED:"bidRejected"},m={INVALID:"Bid has missing or invalid properties",INVALID_REQUEST_ID:"Invalid request ID",BIDDER_DISALLOWED:"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes",FLOOR_NOT_MET:"Bid does not meet price floor",CANNOT_CONVERT_CURRENCY:"Unable to convert currency",DSA_REQUIRED:"Bid does not provide required DSA transparency info",DSA_MISMATCH:"Bid indicates inappropriate DSA rendering method",PRICE_TOO_HIGH:"Bid price exceeds maximum value"},h={body:"desc",body2:"desc2",sponsoredBy:"sponsored",cta:"ctatext",rating:"rating",address:"address",downloads:"downloads",likes:"likes",phone:"phone",price:"price",salePrice:"saleprice",displayUrl:"displayurl"},b={sponsored:1,desc:2,rating:3,likes:4,downloads:5,price:6,saleprice:7,phone:8,address:9,desc2:10,displayurl:11,ctatext:12},y={ICON:1,MAIN:3},v=["privacyIcon","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"],E={REQUEST:"Prebid Request",RESPONSE:"Prebid Response",NATIVE:"Prebid Native",EVENT:"Prebid Event"},A="__pb_locator__"},6833:(e,t,n)=>{n.d(t,{j:()=>f,q:()=>p});var i=n(5901),r=n(1069),o=n(3272);const s=2,a={buckets:[{max:5,increment:.5}]},d={buckets:[{max:20,increment:.1}]},c={buckets:[{max:20,increment:.01}]},u={buckets:[{max:3,increment:.01},{max:8,increment:.05},{max:20,increment:.5}]},l={buckets:[{max:5,increment:.05},{max:10,increment:.1},{max:20,increment:.5}]};function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)&&(i=""),{low:""===i?"":g(e,a,n),med:""===i?"":g(e,d,n),high:""===i?"":g(e,c,n),auto:""===i?"":g(e,l,n),dense:""===i?"":g(e,u,n),custom:""===i?"":g(e,t,n)}}function g(e,t,n){let a="";if(!p(t))return a;const d=t.buckets.reduce(((e,t)=>e.max>t.max?e:t),{max:0});let c=0,u=(0,i.I6)(t.buckets,(t=>{if(e>d.max*n){let e=t.precision;void 0===e&&(e=s),a=(t.max*n).toFixed(e)}else{if(e<=t.max*n&&e>=c*n)return t.min=c,t;c=t.max}}));return u&&(a=function(e,t,n){const i=void 0!==t.precision?t.precision:s,a=t.increment*n,d=t.min*n;let c=Math.floor,u=o.$W.getConfig("cpmRoundingFunction");"function"==typeof u&&(c=u);let l,f,g=Math.pow(10,i+2),p=(e*g-d*g)/(a*g);try{l=c(p)*a+d}catch(e){f=!0}(f||"number"!=typeof l)&&((0,r.JE)("Invalid rounding function passed in config"),l=Math.floor(p)*a+d);return l=Number(l.toFixed(10)),l.toFixed(i)}(e,u,n)),a}function p(e){if((0,r.Im)(e)||!e.buckets||!Array.isArray(e.buckets))return!1;let t=!0;return e.buckets.forEach((e=>{e.max&&e.increment||(t=!1)})),t}},6031:(e,t,n)=>{n.d(t,{H:()=>a,k:()=>s});var i=n(5555),r=n(1069),o=n(4595);const s=(0,n(9214).A_)("sync",(function(e){return o.G})),a=function(){const e={};return function(t){const n=s(t);return e.hasOwnProperty(n)||(e[n]=new i.k((e=>{const t=(0,r.CA)();t.srcdoc=`<script>${n}<\/script>`,t.onload=()=>e(t.contentWindow.render),document.body.appendChild(t)}))),e[n]}}()},5023:(e,t,n)=>{n.d(t,{AU:()=>h,Ic:()=>v,kQ:()=>y,on:()=>m});var i=n(1069),r=n(8969),o=n(6853),s=n(3272);const a="eventHistoryTTL";let d=null;const c=(0,o.H)({monotonic:!0,ttl:()=>d});s.$W.getConfig(a,(e=>{const t=d;e=e?.[a],d="number"==typeof e?1e3*e:null,t!==d&&c.refresh()}));let u=Array.prototype.slice,l=Array.prototype.push,f=Object.values(r.qY);const g=r.cA,p=function(){let e={},t={};function n(e){return f.includes(e)}return t.has=n,t.on=function(t,r,o){if(n(t)){let n=e[t]||{que:[]};o?(n[o]=n[o]||{que:[]},n[o].que.push(r)):n.que.push(r),e[t]=n}else i.vV("Wrong event name : "+t+" Valid event names :"+f)},t.emit=function(t){!function(t,n){i.OG("Emitting event for: "+t);let r=n[0]||{},o=r[g[t]],s=e[t]||{que:[]};var a=Object.keys(s);let d=[];c.add({eventType:t,args:r,id:o,elapsedTime:i.V()}),o&&a.includes(o)&&l.apply(d,s[o].que),l.apply(d,s.que),(d||[]).forEach((function(e){if(e)try{e.apply(null,n)}catch(e){i.vV("Error executing handler:","events.js",e,t)}}))}(t,u.call(arguments,1))},t.off=function(t,n,r){let o=e[t];i.Im(o)||i.Im(o.que)&&i.Im(o[r])||r&&(i.Im(o[r])||i.Im(o[r].que))||(r?(o[r].que||[]).forEach((function(e){let t=o[r].que;e===n&&t.splice(t.indexOf(e),1)})):(o.que||[]).forEach((function(e){let t=o.que;e===n&&t.splice(t.indexOf(e),1)})),e[t]=o)},t.get=function(){return e},t.addEvents=function(e){f=f.concat(e)},t.getEvents=function(){return c.toArray().map((e=>Object.assign({},e)))},t}();i.cD(p.emit.bind(p));const{on:m,off:h,get:b,getEvents:y,emit:v,addEvents:E,has:A}=p},687:(e,t,n)=>{n.d(t,{w:()=>I});var i=n(9214),r=n(7934),o=n(5973),s=n(1069),a=n(3172),d=n(3272),c=n(5555);const u=["architecture","bitness","model","platformVersion","fullVersionList"],l=["brands","mobile","platform"],f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator?.userAgentData;const t=e&&l.some((t=>void 0!==e[t]))?Object.freeze(p(1,e)):null;return function(){return t}}(),g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator?.userAgentData;const t={},n=new WeakMap;return function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;if(!n.has(i)){const e=Array.from(i);e.sort(),n.set(i,e.join("|"))}const r=n.get(i);if(!t.hasOwnProperty(r))try{t[r]=e.getHighEntropyValues(i).then((e=>(0,s.Im)(e)?null:Object.freeze(p(2,e)))).catch((()=>null))}catch(e){t[r]=c.k.resolve(null)}return t[r]}}();function p(e,t){function n(e,t){const n={brand:e};return(0,s.O8)(t)&&!(0,s.xQ)(t)&&(n.version=t.split(".")),n}const i={source:e};return t.platform&&(i.platform=n(t.platform,t.platformVersion)),(t.fullVersionList||t.brands)&&(i.browsers=(t.fullVersionList||t.brands).map((e=>{let{brand:t,version:i}=e;return n(t,i)}))),void 0!==t.mobile&&(i.mobile=t.mobile?1:0),["model","bitness","architecture"].forEach((e=>{const n=t[e];(0,s.O8)(n)&&(i[e]=n)})),i}var m=n(3858),h=n(5139),b=n(3441),y=n(6811),v=n(5569);const E={getRefererInfo:r.EN,findRootDomain:o.S,getWindowTop:s.mb,getWindowSelf:s.l4,getHighEntropySUA:g,getLowEntropySUA:f},A=(0,m.i8)("FPD"),I=(0,i.A_)("sync",(e=>{const t=[e,T().catch((()=>null)),c.k.resolve("cookieDeprecationLabel"in navigator&&(0,h.io)(y.Ue,(0,b.s)(v.tp,"cdep"))&&navigator.cookieDeprecationLabel.getValue()).catch((()=>null))];return c.k.all(t).then((e=>{let[t,n,i]=e;const r=E.getRefererInfo();if(Object.entries(B).forEach((e=>{let[n,i]=e;const o=i(t,r);o&&Object.keys(o).length>0&&(t[n]=(0,s.D9)({},o,t[n]))})),n&&(0,a.J)(t,"device.sua",Object.assign({},n,t.device.sua)),i){const e={cdep:i};(0,a.J)(t,"device.ext",Object.assign({},e,t.device.ext))}t=A(t);for(let e of m.Dy)if((0,m.O$)(t,e)){t[e]=(0,s.D9)({},O(t,r),t[e]);break}return t}))}));function w(e){try{return e(E.getWindowTop())}catch(t){return e(E.getWindowSelf())}}function T(){const e=d.$W.getConfig("firstPartyData.uaHints");return Array.isArray(e)&&0!==e.length?E.getHighEntropySUA(e):c.k.resolve(E.getLowEntropySUA())}function C(e){return(0,s.SH)(e,Object.keys(e))}const B={site(e,t){if(!m.Dy.filter((e=>"site"!==e)).some(m.O$.bind(null,e)))return C({page:t.page,ref:t.ref})},device:()=>w((e=>{const t=e.screen.width,n=e.screen.height,i=e.innerWidth||e.document.documentElement.clientWidth||e.document.body.clientWidth,r=e.innerHeight||e.document.documentElement.clientHeight||e.document.body.clientHeight,o={w:t,h:n,dnt:(0,s.l9)()?1:0,ua:e.navigator.userAgent,language:e.navigator.language.split("-").shift(),ext:{vpw:i,vph:r}};return e.navigator?.webdriver&&(0,a.J)(o,"ext.webdriver",!0),o})),regs(){const e={};w((e=>e.navigator.globalPrivacyControl))&&(0,a.J)(e,"ext.gpc","1");const t=d.$W.getConfig("coppa");return"boolean"==typeof t&&(e.coppa=t?1:0),e}};function O(e,t){const n=(0,r.gR)(t.page,{noLeadingWww:!0}),i=w((e=>e.document.querySelector("meta[name='keywords']")))?.content?.replace?.(/\s/g,"");return C({domain:n,keywords:i,publisher:C({domain:E.findRootDomain(n)})})}},3858:(e,t,n)=>{n.d(t,{Dy:()=>r,O$:()=>s,i8:()=>o});var i=n(1069);const r=["dooh","app","site"];function o(e){return function(t){return r.reduce(((n,r)=>(s(t,r)&&(null!=n?((0,i.JE)(`${e} specifies both '${n}' and '${r}'; dropping the latter.`),delete t[r]):n=r),n)),null),t}}function s(e,t){return null!=e[t]&&Object.keys(e[t]).length>0}},5973:(e,t,n)=>{n.d(t,{S:()=>o});var i=n(1069);const r=(0,n(2938).CK)("fpdEnrichment"),o=(0,i.Bj)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.host;if(!r.cookiesAreEnabled())return e;const t=e.split(".");if(2===t.length)return e;let n,o,s=-2;const a=`_rdc${Date.now()}`,d="writeable";do{n=t.slice(s).join(".");let e=new Date((0,i.vE)()+1e4).toUTCString();r.setCookie(a,d,e,"Lax",n,void 0);r.getCookie(a,void 0)===d?(o=!1,r.setCookie(a,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,n,void 0)):(s+=-1,o=Math.abs(s)<=t.length)}while(o);return n}))},9214:(e,t,n)=>{n.d(t,{A_:()=>s,Gc:()=>d,Y6:()=>g,Yn:()=>c,bz:()=>f,xG:()=>l});var i=n(8128),r=n.n(i),o=n(5555);let s=r()({ready:r().SYNC|r().ASYNC|r().QUEUE});const a=(0,o.v)();s.ready=(()=>{const e=s.ready;return function(){try{return e.apply(s,arguments)}finally{a.resolve()}}})();const d=a.promise,c=s.get;const u={};function l(e,t){let{postInstallAllowed:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s("async",(function(i){i.forEach((e=>t(...e))),n&&(u[e]=t)}),e)([])}function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];const r=u[e];if(r)return r(...n);c(e).before(((e,t)=>{t.push(n),e(t)}))}function g(e,t){return Object.defineProperties(t,Object.fromEntries(["before","after","getHooks","removeAll"].map((t=>[t,{get:()=>e[t]}])))),t}},1371:(e,t,n)=>{n.d(t,{D4:()=>o,G_:()=>r,LM:()=>s,s6:()=>i});const i="native",r="video",o="banner",s="adpod"},2449:(e,t,n)=>{n.d(t,{Bm:()=>A,Ex:()=>N,Gg:()=>B,IX:()=>S,Nh:()=>l,Xj:()=>q,Zj:()=>T,gs:()=>w,l6:()=>b,mT:()=>u,nk:()=>v,rn:()=>U,vO:()=>I,yl:()=>R});var i=n(1069),r=n(5901),o=n(8462),s=n(8969),a=n(1371),d=n(9075),c=n(6031);const u=[],l=Object.keys(s.x5).map((e=>s.x5[e])),f={image:{ortb:{ver:"1.2",assets:[{required:1,id:1,img:{type:3,wmin:100,hmin:100}},{required:1,id:2,title:{len:140}},{required:1,id:3,data:{type:1}},{required:0,id:4,data:{type:2}},{required:0,id:5,img:{type:1,wmin:20,hmin:20}}]},image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1}}},g=P(s.h0),p=P(s.jO),m={img:1,js:2,1:"img",2:"js"},h={impression:1,"viewable-mrc50":2,"viewable-mrc100":3,"viewable-video50":4};function b(e){return e.native&&"object"==typeof e.native}function y(e){if(e&&e.type&&function(e){if(!e||!(0,r.mK)(Object.keys(f),e))return(0,i.vV)(`${e} nativeParam is not supported`),!1;return!0}(e.type)&&(e=f[e.type]),!e||!e.ortb||E(e.ortb))return e}function v(e){e.forEach((e=>{const t=e.nativeParams||e?.mediaTypes?.native;t&&(e.nativeParams=y(t)),e.nativeParams&&(e.nativeOrtbRequest=e.nativeParams.ortb||U(e.nativeParams))}))}function E(e){const t=e.assets;if(!Array.isArray(t)||0===t.length)return(0,i.vV)("assets in mediaTypes.native.ortb is not an array, or it's empty. Assets: ",t),!1;const n=t.map((e=>e.id));return t.length!==new Set(n).size||n.some((e=>e!==parseInt(e,10)))?((0,i.vV)("each asset object must have 'id' property, it must be unique and it must be an integer"),!1):e.hasOwnProperty("eventtrackers")&&!Array.isArray(e.eventtrackers)?((0,i.vV)("ortb.eventtrackers is not an array. Eventtrackers: ",e.eventtrackers),!1):t.every((e=>function(e){if(!(0,i.Qd)(e))return(0,i.vV)("asset must be an object. Provided asset: ",e),!1;if(e.img){if(!(0,i.Et)(e.img.w)&&!(0,i.Et)(e.img.wmin))return(0,i.vV)("for img asset there must be 'w' or 'wmin' property"),!1;if(!(0,i.Et)(e.img.h)&&!(0,i.Et)(e.img.hmin))return(0,i.vV)("for img asset there must be 'h' or 'hmin' property"),!1}else if(e.title){if(!(0,i.Et)(e.title.len))return(0,i.vV)("for title asset there must be 'len' property defined"),!1}else if(e.data){if(!(0,i.Et)(e.data.type))return(0,i.vV)("for data asset 'type' property must be a number"),!1}else if(e.video&&!(Array.isArray(e.video.mimes)&&Array.isArray(e.video.protocols)&&(0,i.Et)(e.video.minduration)&&(0,i.Et)(e.video.maxduration)))return(0,i.vV)("video asset is not properly configured"),!1;return!0}(e)))}function A(e){let{index:t=o.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.getAdUnit(e);if(!n)return!1;let s=n.nativeOrtbRequest;return function(e,t){if(!e?.link?.url)return(0,i.vV)("native response doesn't have 'link' property. Ortb response: ",e),!1;let n=t.assets.filter((e=>1===e.required)).map((e=>e.id)),o=e.assets.map((e=>e.id));const s=n.every((e=>(0,r.mK)(o,e)));s||(0,i.vV)(`didn't receive a bid with all required assets. Required ids: ${n}, but received ids in response: ${o}`);return s}(e.native?.ortb||x(e.native,s),s)}function I(e,t){const n=t.native.ortb||j(t.native);return"click"===e.action?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{fetchURL:n=i.z$}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t){const i=(e.assets||[]).filter((e=>e.link)).reduce(((e,t)=>(e[t.id]=t.link,e)),{}),r=e.link?.clicktrackers||[];let o=i[t],s=r;o&&(s=o.clicktrackers||[]),s.forEach((e=>n(e)))}else(e.link?.clicktrackers||[]).forEach((e=>n(e)))}(n,e?.assetId):function(e){let{runMarkup:t=(e=>(0,i.ro)(e)),fetchURL:n=i.z$}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(e.eventtrackers||[]).filter((e=>e.event===h.impression));let{img:o,js:s}=r.reduce(((e,t)=>(m.hasOwnProperty(t.method)&&e[m[t.method]].push(t.url),e)),{img:[],js:[]});e.imptrackers&&(o=o.concat(e.imptrackers));o.forEach((e=>n(e))),s=s.map((e=>`<script async src="${e}"><\/script>`)),e.jstracker&&(s=s.concat([e.jstracker]));s.length&&t(s.join("\n"))}(n),e.action}function w(e,t){const n=t?.nativeOrtbRequest,i=e.native?.ortb;if(n&&i){const t=N(i,n);Object.assign(e.native,t)}["rendererUrl","adTemplate"].forEach((n=>{const i=t?.nativeParams?.[n];i&&(e.native[n]=D(i))}))}function T(e){let{index:t=o.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};const i=t.getAdUnit(e),r=null==i?.nativeParams?.ortb&&!1!==i?.nativeParams?.sendTargetingKeys,a=function(e){const t={};e?.nativeParams?.ext&&Object.keys(e.nativeParams.ext).forEach((e=>{t[e]=`hb_native_${e}`}));return{...s.x5,...t}}(i),d={...e.native,...e.native.ext};return delete d.ext,Object.keys(d).forEach((t=>{const o=a[t];let s=D(e.native[t])||D(e?.native?.ext?.[t]);if("adTemplate"===t||!o||!s)return;let d=i?.nativeParams?.[t]?.sendId;if("boolean"!=typeof d&&(d=i?.nativeParams?.ext?.[t]?.sendId),d){s=`${o}:${e.adId}`}let c=i?.nativeParams?.[t]?.sendTargetingKeys;"boolean"!=typeof c&&(c=i?.nativeParams?.ext?.[t]?.sendTargetingKeys);("boolean"==typeof c?c:r)&&(n[o]=s)})),n}function C(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=[];return Object.entries(e).filter((e=>{let[i,r]=e;return r&&(!1===n&&"ext"===i||null==t||t.includes(i))})).forEach((e=>{let[r,o]=e;!1===n&&"ext"===r?i.push(...C(o,t,!0)):(n||s.x5.hasOwnProperty(r))&&i.push({key:r,value:D(o)})})),i}function B(e,t,n){const r={...(0,i.SH)(e.native,["rendererUrl","adTemplate"]),assets:C(e.native,n),nativeKeys:s.x5};return e.native.ortb?r.ortb=e.native.ortb:t.mediaTypes?.native?.ortb&&(r.ortb=x(e.native,t.nativeOrtbRequest)),r}function O(e,t,n){let{index:i=o.n.index}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const r={message:"assetResponse",adId:e.adId};let s=(0,d.vd)(t).native;return s?(r.native=Object.assign({},s),r.renderer=(0,c.k)(t),null!=n&&(s.assets=s.assets.filter((e=>{let{key:t}=e;return n.includes(t)})))):s=B(t,i.getAdUnit(t),n),Object.assign(r,s)}const k=Object.fromEntries(Object.entries(s.x5).map((e=>{let[t,n]=e;return[n,t]})));function S(e,t){const n=e.assets.map((e=>k[e]));return O(e,t,n)}function R(e,t){return O(e,t,null)}function D(e){return e?.url||e}function U(e){if(!e&&!(0,i.Qd)(e))return void(0,i.vV)("Native assets object is empty or not an object: ",e);const t={ver:"1.2",assets:[]};for(let n in e){if(s._B.includes(n))continue;if(!s.x5.hasOwnProperty(n)){(0,i.vV)(`Unrecognized native asset code: ${n}. Asset will be ignored.`);continue}if("privacyLink"===n){t.privacy=1;continue}const r=e[n];let o=0;r.required&&(0,i.Lm)(r.required)&&(o=Number(r.required));const a={id:t.assets.length,required:o};if(n in s.h0)a.data={type:s.jO[s.h0[n]]},r.len&&(a.data.len=r.len);else if("icon"===n||"image"===n){if(a.img={type:"icon"===n?s.oA.ICON:s.oA.MAIN},r.aspect_ratios)if((0,i.cy)(r.aspect_ratios))if(r.aspect_ratios.length){const{min_width:e,min_height:t}=r.aspect_ratios[0];(0,i.Fq)(e)&&(0,i.Fq)(t)?(a.img.wmin=e,a.img.hmin=t):(0,i.vV)("image.aspect_ratios min_width or min_height are invalid: ",e,t);const n=r.aspect_ratios.filter((e=>e.ratio_width&&e.ratio_height)).map((e=>`${e.ratio_width}:${e.ratio_height}`));n.length>0&&(a.img.ext={aspectratios:n})}else(0,i.vV)("image.aspect_ratios was passed, but it's empty:",r.aspect_ratios);else(0,i.vV)("image.aspect_ratios was passed, but it's not a an array:",r.aspect_ratios);r.sizes&&(2===r.sizes.length&&(0,i.Fq)(r.sizes[0])&&(0,i.Fq)(r.sizes[1])?(a.img.w=r.sizes[0],a.img.h=r.sizes[1],delete a.img.hmin,delete a.img.wmin):(0,i.vV)("image.sizes was passed, but its value is not an array of integers:",r.sizes))}else"title"===n?a.title={len:r.len||140}:"ext"===n&&(a.ext=r,delete a.required);t.assets.push(a)}return t}function _(e,t){for(;e&&t&&e!==t;)e>t?e-=t:t-=e;return e||t}function $(e){if(!E(e))return;const t={};for(const n of e.assets){if(n.title){const e={required:!!n.required&&Boolean(n.required),len:n.title.len};t.title=e}else if(n.img){const e={required:!!n.required&&Boolean(n.required)};if(n.img.w&&n.img.h)e.sizes=[n.img.w,n.img.h];else if(n.img.wmin&&n.img.hmin){const t=_(n.img.wmin,n.img.hmin);e.aspect_ratios=[{min_width:n.img.wmin,min_height:n.img.hmin,ratio_width:n.img.wmin/t,ratio_height:n.img.hmin/t}]}n.img.type===s.oA.MAIN?t.image=e:t.icon=e}else if(n.data){let e=Object.keys(s.jO).find((e=>s.jO[e]===n.data.type)),i=Object.keys(s.h0).find((t=>s.h0[t]===e));t[i]={required:!!n.required&&Boolean(n.required)},n.data.len&&(t[i].len=n.data.len)}e.privacy&&(t.privacyLink={required:!1})}return t}function q(e){{if(!e||!(0,i.cy)(e))return e;if(!e.some((e=>(e?.mediaTypes||{})[a.s6]?.ortb)))return e;let t=(0,i.Go)(e);for(const e of t)e.mediaTypes&&e.mediaTypes[a.s6]&&e.mediaTypes[a.s6].ortb&&(e.mediaTypes[a.s6]=Object.assign((0,i.Up)(e.mediaTypes[a.s6],s._B),$(e.mediaTypes[a.s6].ortb)),e.nativeParams=y(e.mediaTypes[a.s6]));return t}}function j(e){const t={link:{},eventtrackers:[]};return Object.entries(e).forEach((e=>{let[n,i]=e;switch(n){case"clickUrl":t.link.url=i;break;case"clickTrackers":t.link.clicktrackers=Array.isArray(i)?i:[i];break;case"impressionTrackers":(Array.isArray(i)?i:[i]).forEach((e=>{t.eventtrackers.push({event:h.impression,method:m.img,url:e})}));break;case"javascriptTrackers":t.jstracker=Array.isArray(i)?i.join(""):i;break;case"privacyLink":t.privacy=i}})),t}function x(e,t){const n={...j(e),assets:[]};function r(e,r){let o=t.assets.find(e);null!=o&&(o=(0,i.Go)(o),r(o),n.assets.push(o))}return Object.keys(e).filter((t=>!!e[t])).forEach((t=>{const n=D(e[t]);switch(t){case"title":r((e=>null!=e.title),(e=>{e.title={text:n}}));break;case"image":case"icon":const e="image"===t?s.oA.MAIN:s.oA.ICON;r((t=>null!=t.img&&t.img.type===e),(e=>{e.img={url:n}}));break;default:t in s.h0&&r((e=>null!=e.data&&e.data.type===s.jO[s.h0[t]]),(e=>{e.data={value:n}}))}})),n}function N(e,t){const n={},i=t?.assets||[];n.clickUrl=e.link?.url,n.privacyLink=e.privacy;for(const t of e?.assets||[]){const e=i.find((e=>t.id===e.id));t.title?n.title=t.title.text:t.img?n[e?.img?.type===s.oA.MAIN?"image":"icon"]={url:t.img.url,width:t.img.w,height:t.img.h}:t.data&&(n[g[p[e?.data?.type]]]=t.data.value)}n.impressionTrackers=[];let r=[];e.imptrackers&&n.impressionTrackers.push(...e.imptrackers);for(const t of e?.eventtrackers||[])t.event===h.impression&&t.method===m.img&&n.impressionTrackers.push(t.url),t.event===h.impression&&t.method===m.js&&r.push(t.url);return r=r.map((e=>`<script async src="${e}"><\/script>`)),e?.jstracker&&r.push(e.jstracker),r.length&&(n.javascriptTrackers=r.join("\n")),n}function P(e){var t={};for(var n in e)t[e[n]]=n;return t}},1e3:(e,t,n)=>{n.d(t,{Cf:()=>a,S3:()=>r,Tb:()=>o,WR:()=>s,e4:()=>c,pS:()=>l,qN:()=>d,yB:()=>f,zt:()=>i});const i=["request","imp","bidResponse","response"],[r,o,s,a]=i,[d,c]=["default","pbs"],u=new Set(i);const{registerOrtbProcessor:l,getProcessors:f}=function(){const e={};return{registerOrtbProcessor(t){let{type:n,name:r,fn:o,priority:s=0,dialects:a=[d]}=t;if(!u.has(n))throw new Error(`ORTB processor type must be one of: ${i.join(", ")}`);a.forEach((t=>{e.hasOwnProperty(t)||(e[t]={}),e[t].hasOwnProperty(n)||(e[t][n]={}),e[t][n][r]={priority:s,fn:o}}))},getProcessors:t=>e[t]||{}}}()},5901:(e,t,n)=>{function i(e,t,n){return e&&e.includes(t,n)||!1}function r(){return Array.from.apply(Array,arguments)}function o(e,t,n){return e&&e.find(t,n)}function s(e,t,n){return e&&e.findIndex(t,n)}n.d(t,{A6:()=>r,I6:()=>o,SL:()=>s,mK:()=>i})},8261:(e,t,n)=>{n.d(t,{gH:()=>oe});var i=n(7873),r=n(1069),o=n(433),s=n(3172),a=n(2449),d=n(8969),c=n(5901),u=n(9075),l=n(6031);const{REQUEST:f,RESPONSE:g,NATIVE:p,EVENT:m}=d.nl,h={[f]:function(e,t,n){(0,u.bw)({renderFn(t){e(Object.assign({message:g,renderer:(0,l.k)(n)},t))},resizeFn:y(t.adId,n),options:t.options,adId:t.adId,bidResponse:n})},[m]:function(e,t,n){if(null==n)return void(0,r.vV)(`Cannot find ad '${t.adId}' for x-origin event request`);if(n.status!==d.tl.RENDERED)return void(0,r.JE)(`Received x-origin event request without corresponding render request for ad '${n.adId}'`);return(0,u.Uc)(t,n)}};function b(){window.addEventListener("message",(function(e){!function(e){var t=e.message?"message":"data",n={};try{n=JSON.parse(e[t])}catch(e){return}if(n&&n.adId&&n.message&&h.hasOwnProperty(n.message))(0,u.$A)(n.adId,n.message===d.nl.REQUEST).then((t=>{var i,o;h[n.message]((i=n.adId,o=function(e){return null==e.origin&&0===e.ports.length?function(){const e="Cannot post message to a frame with null origin. Please update creatives to use MessageChannel, see https://github.com/prebid/Prebid.js/issues/7870";throw(0,r.vV)(e),new Error(e)}:e.ports.length>0?function(t){e.ports[0].postMessage(JSON.stringify(t))}:function(t){e.source.postMessage(JSON.stringify(t),e.origin)}}(e),function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return o(Object.assign({},e,{adId:i}),...n)}),n,t)}))}(e)}),!1)}function y(e,t){return function(n,i){!function(e){let{adId:t,adUnitCode:n,width:i,height:o}=e;function s(e){return e?e+"px":"100%"}function a(e){let i=d(t,n),r=document.getElementById(i);return r&&r.querySelector(e)}function d(e,t){return(0,r.II)()?u(e):(0,r.t1)()?l(t):t}function u(e){const t=(0,c.I6)(window.googletag.pubads().getSlots(),(t=>(0,c.I6)(t.getTargetingKeys(),(n=>(0,c.mK)(t.getTargeting(n),e)))));return t?t.getSlotElementId():null}function l(e){let t=window.apntag.getTag(e);return t&&t.targetId}["div","iframe"].forEach((e=>{let t=a(e+':not([style*="display: none"])');if(t){let e=t.style;e.width=s(i),e.height=s(o)}else(0,r.vV)(`Unable to locate matching page element for adUnitCode ${n}.  Can't resize it to ad's dimensions.  Please review setup.`)}))}({...t,width:n,height:i,adId:e})}}Object.assign(h,{[p]:function(e,t,n){if(null==n)return void(0,r.vV)(`Cannot find ad for x-origin event request: '${t.adId}'`);switch(t.action){case"assetRequest":(0,u.Hh)(n,(()=>e((0,a.IX)(t,n))));break;case"allAssetRequest":(0,u.Hh)(n,(()=>e((0,a.yl)(t,n))));break;default:(0,u.vW)(t,n,{resizeFn:y(t.adId,n)}),(0,u.Pk)(n)}}});var v=n(8230),E=n(3272),A=n(8462),I=n(7779),w=n(9214),T=n(3597),C=n(1580),B=n(5555),O=n(5569);const k="__tmzr_debugging__";function S(){return(0,i.m)().installedModules.includes("debugging")}function R(e){return new B.k((t=>{(0,C.R)(e,O.tp,"debugging",t)}))}function D(){let{alreadyInstalled:e=S,script:t=R}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null;return function(){return null==n&&(n=new B.k(((n,o)=>{setTimeout((()=>{if(e())n();else{const e="https://cdn.jsdelivr.net/npm/prebid.js@9.23.0/dist/debugging-standalone.js";(0,r.OG)(`Debugging module not installed, loading it from "${e}"...`),(0,i.m)()._installDebugging=!0,t(e).then((()=>{(0,i.m)()._installDebugging({DEBUG_KEY:k,hook:w.A_,config:E.$W,createBid:T.O,logger:(0,r.h0)("DEBUG:")})})).then(n,o)}}))}))),n}}const U=function(){let{load:e=D(),hook:t=(0,w.Yn)("requestBids")}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null,i=!1;function r(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return(n||B.k.resolve()).then((()=>e.apply(this,i)))}function o(){t.getHooks({hook:r}).remove(),i=!1}return{enable:function(){i||(n=e(),t.before(r,99),i=!0)},disable:o,reset:function(){n=null,o()}}}();U.reset;E.$W.getConfig("debugging",(function(e){let{debugging:t}=e;t?.enabled?U.enable():U.disable()}));var _=n(2938),$=n(1445),q=n(5023),j=n(6894),x=n(687),N=n(6916),P=n(2713),W=n(3895);const V=new Map([["format",e=>Array.isArray(e)&&e.length>0&&e.every((e=>"object"==typeof e))],["w",r.Fq],["h",r.Fq],["btype",r.Uu],["battr",r.Uu],["pos",r.Fq],["mimes",e=>Array.isArray(e)&&e.length>0&&e.every((e=>"string"==typeof e))],["topframe",e=>[1,0].includes(e)],["expdir",r.Uu],["api",r.Uu],["id",r.O8],["vcm",e=>[1,0].includes(e)]]);var M=n(1371);const G=(0,i.m)(),{triggerUserSyncs:F}=v.zt,{ADD_AD_UNITS:z,REQUEST_BIDS:H,SET_TARGETING:L}=d.qY,J={bidWon:function(e){if(!A.n.getBidsRequested().map((e=>e.bids.map((e=>e.adUnitCode)))).reduce(r.Bq).filter(r.hj).includes(e))return void(0,r.vV)('The "'+e+'" placement is not defined.');return!0}};function K(e,t){let n=[];return(0,r.cy)(e)&&(t?e.length===t:e.length>0)&&(e.every((e=>(0,r.Uu)(e,2)))?n=e:(0,r.Uu)(e,2)&&n.push(e)),n}function Q(e,t){const n=(0,o.A)(e,`ortb2Imp.${t}`),i=(0,o.A)(e,`mediaTypes.${t}`);if(!n&&!i)return;const a={[M.G_]:W.Zy,[M.D4]:V}[t];a&&[...a].forEach((n=>{let[i,a]=n;const d=(0,o.A)(e,`mediaTypes.${t}.${i}`),c=(0,o.A)(e,`ortb2Imp.${t}.${i}`);null==d&&null==c||(null==d?(0,s.J)(e,`mediaTypes.${t}.${i}`,c):null==c?(0,s.J)(e,`ortb2Imp.${t}.${i}`,d):((0,r.JE)(`adUnit ${e.code}: specifies conflicting ortb2Imp.${t}.${i} and mediaTypes.${t}.${i}, the latter will be ignored`,e),(0,s.J)(e,`mediaTypes.${t}.${i}`,c)))}))}function Y(e){const t=(0,r.Go)(e),n=t.mediaTypes.banner,i=K(n.sizes);return i.length>0?(n.sizes=i,t.sizes=i):((0,r.vV)("Detected a mediaTypes.banner object without a proper sizes field.  Please ensure the sizes are listed like: [[300, 250], ...].  Removing invalid mediaTypes.banner object from request."),delete t.mediaTypes.banner),Q(t,"banner"),t}function X(e){const t=(0,r.Go)(e),n=t.mediaTypes.video;if(n.playerSize){let e="number"==typeof n.playerSize[0]?2:1;const i=K(n.playerSize,e);i.length>0?(2===e&&(0,r.fH)("Transforming video.playerSize from [640,480] to [[640,480]] so it's in the proper format."),n.playerSize=i,t.sizes=i):((0,r.vV)("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 t.mediaTypes.video.playerSize)}return(0,W.aP)(t),Q(t,"video"),t}function Z(e){function t(t){return(0,r.vV)(`Error in adUnit "${e.code}": ${t}. Removing native request from ad unit`,e),delete i.mediaTypes.native,i}function n(e){for(const t of["sendTargetingKeys","types"])if(o.hasOwnProperty(t)){const n=e(t);if(n)return n}}const i=(0,r.Go)(e),o=i.mediaTypes.native;if(o.ortb){if(o.ortb.assets?.some((e=>!(0,r.Et)(e.id)||e.id<0||e.id%1!=0)))return t("native asset ID must be a nonnegative integer");if(n((e=>t(`ORTB native requests cannot specify "${e}"`))))return i;const e=Object.keys(d.x5).filter((e=>d.x5[e].includes("hb_native_"))),s=Object.keys(o).filter((t=>e.includes(t)));s.length>0&&((0,r.vV)(`when using native OpenRTB format, you cannot use legacy native properties. Deleting ${s} keys from request.`),s.forEach((e=>delete i.mediaTypes.native[e])))}else n((e=>`mediaTypes.native.${e} is deprecated, consider using native ORTB instead`));return o.image&&o.image.sizes&&!Array.isArray(o.image.sizes)&&((0,r.vV)("Please use an array of sizes for native.image.sizes field.  Removing invalid mediaTypes.native.image.sizes property from request."),delete i.mediaTypes.native.image.sizes),o.image&&o.image.aspect_ratios&&!Array.isArray(o.image.aspect_ratios)&&((0,r.vV)("Please use an array of sizes for native.image.aspect_ratios field.  Removing invalid mediaTypes.native.image.aspect_ratios property from request."),delete i.mediaTypes.native.image.aspect_ratios),o.icon&&o.icon.sizes&&!Array.isArray(o.icon.sizes)&&((0,r.vV)("Please use an array of sizes for native.icon.sizes field.  Removing invalid mediaTypes.native.icon.sizes property from request."),delete i.mediaTypes.native.icon.sizes),i}function ee(e,t){let n=e?.mediaTypes?.[t]?.pos;if(!(0,r.Et)(n)||isNaN(n)||!isFinite(n)){let n=`Value of property 'pos' on ad unit ${e.code} should be of type: Number`;(0,r.JE)(n),delete e.mediaTypes[t].pos}return e}function te(e){const t=t=>`adUnit.code '${e.code}' ${t}`,n=e.mediaTypes,i=e.bids;return null==i||(0,r.cy)(i)?null==i&&null==e.ortb2Imp?((0,r.vV)(t("has no 'adUnit.bids' and no 'adUnit.ortb2Imp'. Removing adUnit from auction")),null):n&&0!==Object.keys(n).length?(null==e.ortb2Imp||null!=i&&0!==i.length||(e.bids=[{bidder:null}],(0,r.OG)(t("defines 'adUnit.ortb2Imp' with no 'adUnit.bids'; it will be seen only by S2S adapters"))),e):((0,r.vV)(t("does not define a 'mediaTypes' object.  This is a required field for the auction, so this adUnit has been removed.")),null):((0,r.vV)(t("defines 'adUnit.bids' that is not an array. Removing adUnit from auction")),null)}!function(){let e=null;try{e=window.sessionStorage}catch(e){}if(null!==e){let t=U,n=null;try{n=e.getItem(k)}catch(e){}null!==n&&t.enable()}}(),G.bidderSettings=G.bidderSettings||{},G.libLoaded=!0,G.version="v9.23.0",(0,r.fH)("Prebid.js v9.23.0 loaded"),G.installedModules=G.installedModules||[],G.adUnits=G.adUnits||[],G.triggerUserSyncs=F;const ne={validateAdUnit:te,validateBannerMediaType:Y,validateSizes:K};Object.assign(ne,{validateNativeMediaType:Z}),Object.assign(ne,{validateVideoMediaType:X});const ie=(0,w.A_)("sync",(function(e){const t=[];return e.forEach((e=>{if(null==(e=te(e)))return;const n=e.mediaTypes;let i,r,o;n.banner&&(i=Y(e),n.banner.hasOwnProperty("pos")&&(i=ee(i,"banner"))),n.video&&(r=X(i||e),n.video.hasOwnProperty("pos")&&(r=ee(r,"video"))),n.native&&(o=Z(r||(i||e)));const s=Object.assign({},i,r,o);t.push(s)})),t}),"checkAdUnitSetup");function re(e){const t=A.n[e]().filter((e=>A.n.getAdUnitCodes().includes(e.adUnitCode))),n=A.n.getLastAuctionId();return t.map((e=>e.adUnitCode)).filter(r.hj).map((e=>t.filter((t=>t.auctionId===n&&t.adUnitCode===e)))).filter((e=>e&&e[0]&&e[0].adUnitCode)).map((e=>({[e[0].adUnitCode]:{bids:e}}))).reduce(((e,t)=>Object.assign(e,t)),{})}G.getAdserverTargetingForAdUnitCodeStr=function(e){if((0,r.fH)("Invoking tmzr.getAdserverTargetingForAdUnitCodeStr",arguments),e){var t=G.getAdserverTargetingForAdUnitCode(e);return(0,r.$D)(t)}(0,r.OG)("Need to call getAdserverTargetingForAdUnitCodeStr with adunitCode")},G.getHighestUnusedBidResponseForAdUnitCode=function(e){if(e){const t=A.n.getAllBidsForAdUnitCode(e).filter(I.Yl);return t.length?t.reduce(P.Vk):{}}(0,r.OG)("Need to call getHighestUnusedBidResponseForAdUnitCode with adunitCode")},G.getAdserverTargetingForAdUnitCode=function(e){return G.getAdserverTargeting(e)[e]},G.getAdserverTargeting=function(e){return(0,r.fH)("Invoking tmzr.getAdserverTargeting",arguments),I.iS.getAllTargeting(e)},G.getConsentMetadata=function(){return(0,r.fH)("Invoking tmzr.getConsentMetadata"),N.SL.getConsentMeta()},G.getNoBids=function(){return(0,r.fH)("Invoking tmzr.getNoBids",arguments),re("getNoBids")},G.getNoBidsForAdUnitCode=function(e){return{bids:A.n.getNoBids().filter((t=>t.adUnitCode===e))}},G.getBidResponses=function(){return(0,r.fH)("Invoking tmzr.getBidResponses",arguments),re("getBidsReceived")},G.getBidResponsesForAdUnitCode=function(e){return{bids:A.n.getBidsReceived().filter((t=>t.adUnitCode===e))}},G.setTargetingForGPTAsync=function(e,t){(0,r.fH)("Invoking tmzr.setTargetingForGPTAsync",arguments),(0,r.II)()?I.iS.setTargetingForGPT(e,t):(0,r.vV)("window.googletag is not defined on the page")},G.setTargetingForAst=function(e){(0,r.fH)("Invoking tmzr.setTargetingForAn",arguments),I.iS.isApntagDefined()?(I.iS.setTargetingForAst(e),q.Ic(L,I.iS.getAllTargeting())):(0,r.vV)("window.apntag is not defined on the page")},G.renderAd=(0,w.A_)("async",(function(e,t,n){(0,r.fH)("Invoking tmzr.renderAd",arguments),(0,r.OG)("Calling renderAd with adId :"+t),(0,u.BS)(e,t,n)})),G.removeAdUnit=function(e){if((0,r.fH)("Invoking tmzr.removeAdUnit",arguments),!e)return void(G.adUnits=[]);let t;t=(0,r.cy)(e)?e:[e],t.forEach((e=>{for(let t=G.adUnits.length-1;t>=0;t--)G.adUnits[t].code===e&&G.adUnits.splice(t,1)}))},G.requestBids=function(){const e=(0,w.A_)("async",(function(){let{bidsBackHandler:e,timeout:t,adUnits:n,adUnitCodes:i,labels:o,auctionId:s,ttlBuffer:a,ortb2:d,metrics:u,defer:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};q.Ic(H);const f=t||E.$W.getConfig("bidderTimeout");(0,r.fH)("Invoking tmzr.requestBids",arguments),null==i||Array.isArray(i)||(i=[i]),i&&i.length?n=n.filter((e=>(0,c.mK)(i,e.code))):i=n&&n.map((e=>e.code)),i=i.filter(r.hj);const g={global:(0,r.D9)({},E.$W.getAnyConfig("ortb2")||{},d||{}),bidder:Object.fromEntries(Object.entries(E.$W.getBidderConfig()).map((e=>{let[t,n]=e;return[t,(0,r.Go)(n.ortb2)]})).filter((e=>{let[t,n]=e;return null!=n})))};return(0,x.w)(B.k.resolve(g.global)).then((t=>(g.global=t,oe({bidsBackHandler:e,timeout:f,adUnits:n,adUnitCodes:i,labels:o,auctionId:s,ttlBuffer:a,ortb2Fragments:g,metrics:u,defer:l}))))}),"requestBids");return(0,w.Y6)(e,(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.adUnits||G.adUnits;return t.adUnits=(0,r.cy)(n)?n.slice():[n],t.metrics=(0,j.K7)(),t.metrics.checkpoint("requestBids"),t.defer=(0,B.v)({promiseFactory:e=>new Promise(e)}),e.call(this,t),t.defer.promise}))}();const oe=(0,w.A_)("async",(function(){let{bidsBackHandler:e,timeout:t,adUnits:n,ttlBuffer:i,adUnitCodes:o,labels:a,auctionId:d,ortb2Fragments:u,metrics:l,defer:f}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const g=(0,$.pX)(E.$W.getConfig("s2sConfig")||[]);function p(t,n,i){if("function"==typeof e)try{e(t,n,i)}catch(e){(0,r.vV)("Error executing bidsBackHandler",null,e)}f.resolve({bids:t,timedOut:n,auctionId:i})}!function(e){e.forEach((e=>(0,W.V0)(e)))}(n),n=(0,j.BO)(l).measureTime("requestBids.validate",(()=>ie(n)));const m={};if(n.forEach((e=>{const t=Object.keys(e.mediaTypes||{banner:"banner"}),n=e.bids.map((e=>e.bidder)),o=$.Ay.bidderRegistry,s=n.filter((e=>!g.has(e)));e.adUnitId=(0,r.lk)();const a=e.ortb2Imp?.ext?.tid;a&&(m.hasOwnProperty(e.code)?(0,r.JE)(`Multiple distinct ortb2Imp.ext.tid were provided for twin ad units '${e.code}'`):m[e.code]=a),null==i||e.hasOwnProperty("ttlBuffer")||(e.ttlBuffer=i),s.forEach((n=>{const i=o[n],s=i&&i.getSpec&&i.getSpec(),a=s&&s.supportedMediaTypes||["banner"];t.some((e=>(0,c.mK)(a,e)))||((0,r.JE)((0,r.bz)(e,n)),e.bids=e.bids.filter((e=>e.bidder!==n)))}))})),n&&0!==n.length){n.forEach((e=>{const t=e.ortb2Imp?.ext?.tid||m[e.code]||(0,r.lk)();m.hasOwnProperty(e.code)||(m[e.code]=t),e.transactionId=t,(0,s.J)(e,"ortb2Imp.ext.tid",t)}));const e=A.n.createAuction({adUnits:n,adUnitCodes:o,callback:p,cbTimeout:t,labels:a,auctionId:d,ortb2Fragments:u,metrics:l});let i=n.length;i>15&&(0,r.fH)(`Current auction ${e.getAuctionId()} contains ${i} adUnits.`,n),o.forEach((t=>I.iS.setLatestAuctionForAdUnit(t,e.getAuctionId()))),e.callBids()}else(0,r.OG)("No adUnits configured. No bids requested."),p()}),"startAuction");G.requestBids.before((function(e,t){function n(e){for(var t;t=e.shift();)t()}n(_.s0),n(se),e.call(this,t)}),49),G.addAdUnits=function(e){(0,r.fH)("Invoking tmzr.addAdUnits",arguments),G.adUnits.push.apply(G.adUnits,(0,r.cy)(e)?e:[e]),q.Ic(z)},G.onEvent=function(e,t,n){(0,r.fH)("Invoking tmzr.onEvent",arguments),(0,r.fp)(t)?!n||J[e].call(null,n)?q.on(e,t,n):(0,r.vV)('The id provided is not valid for event "'+e+'" and no handler was set.'):(0,r.vV)('The event handler provided is not a function and was not set on event "'+e+'".')},G.offEvent=function(e,t,n){(0,r.fH)("Invoking tmzr.offEvent",arguments),n&&!J[e].call(null,n)||q.AU(e,t,n)},G.getEvents=function(){return(0,r.fH)("Invoking tmzr.getEvents"),q.kQ()},G.registerBidAdapter=function(e,t){(0,r.fH)("Invoking tmzr.registerBidAdapter",arguments);try{$.Ay.registerBidAdapter(e(),t)}catch(e){(0,r.vV)("Error registering bidder adapter : "+e.message)}},G.registerAnalyticsAdapter=function(e){(0,r.fH)("Invoking tmzr.registerAnalyticsAdapter",arguments);try{$.Ay.registerAnalyticsAdapter(e)}catch(e){(0,r.vV)("Error registering analytics adapter : "+e.message)}},G.createBid=function(e){return(0,r.fH)("Invoking tmzr.createBid",arguments),(0,T.O)(e)};const se=[],ae=(0,w.A_)("async",(function(e){e&&!(0,r.Im)(e)?((0,r.fH)("Invoking tmzr.enableAnalytics for: ",e),$.Ay.enableAnalytics(e)):(0,r.vV)("tmzr.enableAnalytics should be called with option {}")}),"enableAnalyticsCb");function de(e){if("function"==typeof e)try{e.call()}catch(e){(0,r.vV)("Error processing command :",e.message,e.stack)}else(0,r.vV)("Commands written into tmzr.cmd.push must be wrapped in a function")}function ce(e){e.forEach((function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){(0,r.vV)("Error processing command :","prebid.js",e)}}))}G.enableAnalytics=function(e){se.push(ae.bind(this,e))},G.aliasBidder=function(e,t,n){(0,r.fH)("Invoking tmzr.aliasBidder",arguments),e&&t?$.Ay.aliasBidAdapter(e,t,n):(0,r.vV)("bidderCode and alias must be passed as arguments","tmzr.aliasBidder")},G.aliasRegistry=$.Ay.aliasRegistry,E.$W.getConfig("aliasRegistry",(e=>{"private"===e.aliasRegistry&&delete G.aliasRegistry})),G.getAllWinningBids=function(){return A.n.getAllWinningBids()},G.getAllPrebidWinningBids=function(){return A.n.getBidsReceived().filter((e=>e.status===d.tl.BID_TARGETING_SET))},G.getHighestCpmBids=function(e){return I.iS.getWinningBids(e)},G.clearAllAuctions=function(){A.n.clearAllAuctions()},G.markWinningBidAsUsed=function(e){let t,{adId:n,adUnitCode:i,analytics:o=!1}=e;i&&null==n?t=I.iS.getWinningBids(i):n?t=A.n.getBidsReceived().filter((e=>e.adId===n)):(0,r.JE)("Improper use of markWinningBidAsUsed. It needs an adUnitCode or an adId to function."),t.length>0&&(o?(0,u.n6)(t[0]):A.n.addWinningBid(t[0]),(0,u.qn)(t[0]))},G.getConfig=E.$W.getAnyConfig,G.readConfig=E.$W.readAnyConfig,G.mergeConfig=E.$W.mergeConfig,G.mergeBidderConfig=E.$W.mergeBidderConfig,G.setConfig=E.$W.setConfig,G.setBidderConfig=E.$W.setBidderConfig,G.que.push((()=>b())),G.processQueue=function(){G.que.push=G.cmd.push=de,(0,u.XO)(),w.A_.ready(),ce(G.que),ce(G.cmd)},G.triggerBilling=e=>{let{adId:t,adUnitCode:n}=e;A.n.getAllWinningBids().filter((e=>e.adId===t||null==t&&e.adUnitCode===n)).forEach((e=>{$.Ay.triggerBilling(e),(0,u.vB)(e)}))}},7873:(e,t,n)=>{n.d(t,{E:()=>s,m:()=>o});const i=window,r=i.tmzr=i.tmzr||{};function o(){return r}function s(e){r.installedModules.push(e)}r.cmd=r.cmd||[],r.que=r.que||[],i===window&&(i._pbjsGlobals=i._pbjsGlobals||[],i._pbjsGlobals.push("tmzr"))},7934:(e,t,n)=>{n.d(t,{EN:()=>d,gR:()=>s});var i=n(3272),r=n(1069);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return e;if(/\w+:\/\//.exec(e))return e;let n=t.location.protocol;try{n=t.top.location.protocol}catch(e){}return/^\/\//.exec(e)?n+e:`${n}//${e}`}function s(e){let{noLeadingWww:t=!1,noPort:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{e=new URL(o(e))}catch(e){return}return e=n?e.hostname:e.host,t&&e.startsWith("www.")&&(e=e.substring(4)),e}function a(e){try{const t=e.querySelector("link[rel='canonical']");if(null!==t)return t.href}catch(e){}return null}const d=function(e){let t,n,i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return r.top!==r?e:function(){const o=a(r.document),s=r.location.href;return t===o&&s===n||(t=o,n=s,i=e()),i}}((c=window,function(){const e=[],t=function(e){try{if(!e.location.ancestorOrigins)return;return e.location.ancestorOrigins}catch(e){}}(c),n=i.$W.getConfig("maxNestedIframes");let d,u,l,f,g=!1,p=0,m=!1,h=!1,b=!1;do{const n=d,i=h;let o,s=!1,f=null;h=!1,d=d?d.parent:c;try{o=d.location.href||null}catch(e){s=!0}if(s)if(i){const e=n.context;try{f=e.sourceUrl,u=f,b=!0,m=!0,d===c.top&&(g=!0),e.canonicalUrl&&(l=e.canonicalUrl)}catch(e){}}else{(0,r.JE)("Trying to access cross domain iframe. Continuing without referrer and location");try{const e=n.document.referrer;e&&(f=e,d===c.top&&(g=!0))}catch(e){}!f&&t&&t[p-1]&&(f=t[p-1],d===c.top&&(b=!0)),f&&!m&&(u=f)}else{if(o&&(f=o,u=f,m=!1,d===c.top)){g=!0;const e=a(d.document);e&&(l=e)}d.context&&d.context.sourceUrl&&(h=!0)}e.push(f),p++}while(d!==c.top&&p<n);e.reverse();try{f=c.top.document.referrer}catch(e){}const y=g||b?u:null,v=i.$W.getConfig("pageUrl")||l||null;let E=i.$W.getConfig("pageUrl")||y||o(v,c);return y&&y.indexOf("?")>-1&&-1===E.indexOf("?")&&(E=`${E}${y.substring(y.indexOf("?"))}`),{reachedTop:g,isAmp:m,numIframes:p-1,stack:e,topmostLocation:u||null,location:y,canonicalUrl:v,page:E,domain:s(E)||null,ref:f||null,legacy:{reachedTop:g,isAmp:m,numIframes:p-1,stack:e,referer:u||null,canonicalUrl:v}}}));var c},2938:(e,t,n)=>{n.d(t,{CK:()=>b,X0:()=>g,qk:()=>f,s0:()=>p,vM:()=>h});var i=n(1069),r=n(2693),o=n(5569),s=n(5139),a=n(2604),d=n(6811),c=n(3272),u=n(1445),l=n(3441);const f="html5",g="cookie";let p=[];function m(){let{moduleName:e,moduleType:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isAllowed:n=s.io}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function r(i,r){let s=e;const f=c.$W.getCurrentBidder();f&&t===o.tW&&u.Ay.aliasRegistry[f]===e&&(s=f);return i({valid:n(d.Ue,(0,l.s)(t,s,{[a.Zw]:r}))})}function m(e,t,n){if(!n||"function"!=typeof n)return r(e,t);p.push((function(){let i=r(e,t);n(i)}))}function h(e){const t=e.charAt(0).toUpperCase()+e.substring(1),n=()=>window[e],r=function(t){return m((function(t){if(t&&t.valid)try{return!!n()}catch(t){(0,i.vV)(`${e} api disabled`)}return!1}),f,t)};return{[`has${t}`]:r,[`${e}IsEnabled`]:e=>m((function(e){if(e&&e.valid)try{return n().setItem("prebid.cookieTest","1"),"1"===n().getItem("prebid.cookieTest")}catch(e){}finally{try{n().removeItem("prebid.cookieTest")}catch(e){}}return!1}),f,e),[`setDataIn${t}`]:(e,t,i)=>m((function(i){i&&i.valid&&r()&&n().setItem(e,t)}),f,i),[`getDataFrom${t}`]:(e,t)=>m((function(t){return t&&t.valid&&r()?n().getItem(e):null}),f,t),[`removeDataFrom${t}`]:(e,t)=>m((function(t){t&&t.valid&&r()&&n().removeItem(e)}),f,t)}}return{setCookie:function(e,t,n,i,r,o){return m((function(o){if(o&&o.valid){const o=r&&""!==r?` ;domain=${encodeURIComponent(r)}`:"",s=n&&""!==n?` ;expires=${n}`:"",a=null!=i&&"none"==i.toLowerCase()?"; Secure":"";document.cookie=`${e}=${encodeURIComponent(t)}${s}; path=/${o}${i?`; SameSite=${i}`:""}${a}`}}),g,o)},getCookie:function(e,t){return m((function(t){if(t&&t.valid){let t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null}),g,t)},cookiesAreEnabled:function(e){return m((function(e){return!(!e||!e.valid)&&(0,i.GE)()}),g,e)},...h("localStorage"),...h("sessionStorage"),findSimilarCookies:function(e,t){return m((function(t){if(t&&t.valid){const t=[];if((0,i.N9)()){const n=document.cookie.split(";");for(;n.length;){const i=n.pop();let r=i.indexOf("=");r=r<0?i.length:r;decodeURIComponent(i.slice(0,r).replace(/^\s+/,"")).indexOf(e)>=0&&t.push(decodeURIComponent(i.slice(r+1)))}}return t}}),g,t)}}}function h(){let{moduleType:e,moduleName:t,bidderCode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function i(){throw new Error("Invalid invocation for getStorageManager: must set either bidderCode, or moduleType + moduleName")}return n?((e&&e!==o.tW||t)&&i(),e=o.tW,t=n):t&&e||i(),m({moduleType:e,moduleName:t})}function b(e){return m({moduleName:e,moduleType:o.tp})}(0,s.qB)(d.Ue,"deviceAccess config",(function(){if(!(0,i.N9)())return{allow:!1}})),(0,s.qB)(d.Ue,"bidderSettings.*.storageAllowed",(function(e){if(arguments.length>1&&void 0!==arguments[1]||r.u,e[a.Dk]!==o.tW)return;let t=!0;if(t&&!0!==t){const n=e[a.Zw];t=Array.isArray(t)?t.some((e=>e===n)):t===n}else t=!!t;return t?void 0:{allow:t}}))},7779:(e,t,n)=>{n.d(t,{Yl:()=>w,iS:()=>O,uW:()=>I});var i=n(8462),r=n(7863),o=n(2693),s=n(3272),a=n(8969),d=n(5023),c=n(9214),u=n(1371),l=n(2449),f=n(5901),g=n(1069),p=n(433),m=n(2713),h=[];const b=20,y="targetingControls.allowTargetingKeys",v="targetingControls.addTargetingKeys",E=`Only one of "${y}" or "${v}" can be set`,A=Object.keys(a.xS).map((e=>a.xS[e]));let I={isActualBid:e=>e.getStatusCode()===a.XQ.GOOD,isBidNotExpired:e=>e.responseTimestamp+1e3*(0,r.cT)(e)>(0,g.vE)(),isUnusedBid:e=>e&&(e.status&&!(0,f.mK)([a.tl.RENDERED],e.status)||!e.status)};function w(e){return!Object.values(I).some((t=>!t(e)))}const T=(0,c.A_)("sync",(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.Q0;if(!i){const i=[],o=s.$W.getConfig("sendBidsControl.dealPrioritization");let a=(0,g.$z)(e,"adUnitCode");return Object.keys(a).forEach((e=>{let s=[],d=(0,g.$z)(a[e],"bidderCode");Object.keys(d).forEach((e=>{s.push(d[e].reduce(t))})),n?(s=o?s.sort(C(!0)):s.sort(((e,t)=>t.cpm-e.cpm)),i.push(...s.slice(0,n))):(s=s.sort(r),i.push(...s))})),i}return e}));function C(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n){return void 0!==t.adserverTargeting.hb_deal&&void 0===n.adserverTargeting.hb_deal?-1:void 0===t.adserverTargeting.hb_deal&&void 0!==n.adserverTargeting.hb_deal?1:e?n.cpm-t.cpm:n.adserverTargeting.hb_pb-t.adserverTargeting.hb_pb}}function B(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>window.googletag.pubads().getSlots())().reduce(((e,n)=>{const i=(0,g.fp)(t)&&t(n);return Object.keys(e).filter((0,g.fp)(i)?i:(0,g.iC)(n)).forEach((t=>e[t].push(n))),e}),Object.fromEntries(e.map((e=>[e,[]]))))}const O=function(e){let t={},n={};function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=A.concat(l.Nh),r=s.$W.getConfig("targetingControls.allowSendAllBidsTargetingKeys"),o=r?r.map((e=>a.xS[e])):i;return e.reduce(((e,r)=>{if(t||n&&r.dealId){const t=function(e,t){return t.reduce(((t,n)=>(e.adserverTargeting[n]&&t.push({[`${n}_${e.bidderCode}`.substring(0,20)]:[e.adserverTargeting[n]]}),t)),[])}(r,i.filter((e=>void 0!==r.adserverTargeting[e]&&(n||-1!==o.indexOf(e)))));t&&e.push({[r.adUnitCode]:t})}return e}),[])}function r(t){return"string"==typeof t?[t]:(0,g.cy)(t)?t:e.getAdUnitCodes()||[]}function I(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.Bq,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=e.getBidsReceived().reduce(((e,t)=>{const i=s.$W.getConfig("useBidCache"),r=s.$W.getConfig("bidCacheFilterFunction"),o=n[t.adUnitCode]===t.auctionId,a=!(i&&!o&&"function"==typeof r)||!!r(t);return(i||o)&&a&&(0,p.A)(t,"video.context")!==u.LM&&w(t)&&(t.latestTargetedAuctionId=n[t.adUnitCode],e.push(t)),e}),[]);return T(r,t,void 0,void 0,void 0,i)}function O(){return e.getStandardBidderAdServerTargeting().map((e=>e.key)).concat(A).filter(g.hj)}return t.setLatestAuctionForAdUnit=function(e,t){n[e]=t},t.resetPresetTargeting=function(e,t){if((0,g.II)()){const n=r(e);Object.values(B(n,t)).forEach((e=>{e.forEach((e=>{!function(e){h.forEach((t=>{e.getTargeting(t)&&e.clearTargeting(t)}))}(e)}))}))}},t.resetPresetTargetingAST=function(e){r(e).forEach((function(e){const t=window.apntag.getTag(e);if(t&&t.keywords){const n=Object.keys(t.keywords),i={};n.forEach((e=>{(0,f.mK)(h,e.toLowerCase())||(i[e]=t.keywords[e])})),window.apntag.modifyTag(e,{keywords:i})}}))},t.getAllTargeting=function(t,n,d){let c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m.Vk,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.Q0;d||=I(c,u);const A=r(t),w=s.$W.getConfig("enableSendAllBids"),B=s.$W.getConfig("sendBidsControl.bidLimit"),k=w&&(n||B)||0,{customKeysByUnit:S,filteredBids:R}=function(e,t){const n=[],i={},r=s.$W.getConfig("targetingControls.alwaysIncludeDeals");return t.forEach((t=>{const s=(0,f.mK)(e,t.adUnitCode),a=!0===o.u.get(t.bidderCode,"allowZeroCpmBids")?t.cpm>=0:t.cpm>0,d=r&&t.dealId;s&&(d||a)&&(n.push(t),Object.keys(t.adserverTargeting).filter(function(){let e=O();e=e.concat(l.Nh);return function(t){return-1===e.indexOf(t)}}()).forEach((e=>{const n=e.substring(0,b),r=i[t.adUnitCode]||{},o=[t.adserverTargeting[e]];r[n]?r[n]=r[n].concat(o).filter(g.hj):r[n]=o,i[t.adUnitCode]=r})))})),{filteredBids:n,customKeysByUnit:i}}(A,d);let D=function(t,n){const r=function(e){let t=[],n=e.reduce(((e,n)=>((0,f.mK)(t,n.adUnitCode)||(e.push(n),t.push(n.adUnitCode)),e)),[]),i=O();return n=n.map((e=>({[e.adUnitCode]:Object.keys(e.adserverTargeting).filter((t=>void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===i.indexOf(t))).reduce(((t,n)=>{const i=[e.adserverTargeting[n]],r={[n.substring(0,b)]:i};if(n===a.xS.DEAL){const o=`${n}_${e.bidderCode}`.substring(0,b),s={[o]:i};return[...t,r,s]}return[...t,r]}),[])}))),n}(t).concat(function(e,t){return e.reduce(((e,n)=>{const i=Object.assign({},n),r=t[i.adUnitCode],o=[];return r&&Object.keys(r).forEach((e=>{e&&r[e]&&o.push({[e]:r[e]})})),e.push({[i.adUnitCode]:o}),e}),[])}(t,n)).concat(function(e){const t=s.$W.getConfig("targetingControls.alwaysIncludeDeals");return i(e,s.$W.getConfig("enableSendAllBids"),t)}(t)).concat(function(){function t(e){return(0,p.A)(e,a.iD.ADSERVER_TARGETING)}function n(e){const n=t(e);return Object.keys(n).map((function(e){return(0,g.O8)(n[e])&&(n[e]=n[e].split(",").map((e=>e.trim()))),(0,g.cy)(n[e])||(n[e]=[n[e]]),{[e]:n[e]}}))}return e.getAdUnits().filter((e=>t(e))).reduce(((e,t)=>{const i=n(t);return i&&e.push({[t.code]:i}),e}),[])}());return r.forEach((e=>{!function(e){Object.keys(e).forEach((t=>{e[t].forEach((e=>{const t=Object.keys(e);-1===h.indexOf(t[0])&&(h=t.concat(h))}))}))}(e)})),r}(T(R,c,k,void 0,u),S);const U=Object.keys(Object.assign({},a.Zh,a.x5));let _=s.$W.getConfig(y);const $=s.$W.getConfig(v);if(null!=$&&null!=_)throw new Error(E);_=null!=$?U.concat($):_||U,Array.isArray(_)&&_.length>0&&(D=function(e,t){const n=Object.assign({},a.xS,a.x5),i=Object.keys(n),r={};(0,g.fH)(`allowTargetingKeys - allowed keys [ ${t.map((e=>n[e])).join(", ")} ]`),e.map((e=>{const o=Object.keys(e)[0],s=e[o].filter((e=>{const o=Object.keys(e)[0],s=0===i.filter((e=>0===o.indexOf(n[e]))).length||(0,f.I6)(t,(e=>{const t=n[e];return 0===o.indexOf(t)}));return r[o]=!s,s}));e[o]=s}));const o=Object.keys(r).filter((e=>r[e]));return(0,g.fH)(`allowTargetingKeys - removed keys [ ${o.join(", ")} ]`),e.filter((e=>e[Object.keys(e)[0]].length>0))}(D,_)),D=function(e){let t=e.map((e=>({[Object.keys(e)[0]]:e[Object.keys(e)[0]].map((e=>({[Object.keys(e)[0]]:e[Object.keys(e)[0]].join(",")}))).reduce(((e,t)=>Object.assign(t,e)),{})})));return t=t.reduce((function(e,t){var n=Object.keys(t)[0];return e[n]=Object.assign({},e[n],t[n]),e}),{}),t}(D);const q=s.$W.getConfig("targetingControls.auctionKeyMaxChars");return q&&((0,g.fH)(`Detected 'targetingControls.auctionKeyMaxChars' was active for this auction; set with a limit of ${q} characters.  Running checks on auction keys...`),D=function(e,t){let n=(0,g.Go)(e),i=Object.keys(n).map((e=>({adUnitCode:e,adserverTargeting:n[e]}))).sort(C());return i.reduce((function(e,i,r,o){let s=(a=i.adserverTargeting,Object.keys(a).reduce((function(e,t){return e+`${t}%3d${encodeURIComponent(a[t])}%26`}),""));var a;r+1===o.length&&(s=s.slice(0,-3));let d=i.adUnitCode,c=s.length;return c<=t?(t-=c,(0,g.fH)(`AdUnit '${d}' auction keys comprised of ${c} characters.  Deducted from running threshold; new limit is ${t}`,n[d]),e[d]=n[d]):(0,g.JE)(`The following keys for adUnitCode '${d}' exceeded the current limit of the 'auctionKeyMaxChars' setting.\nThe key-set size was ${c}, the current allotted amount was ${t}.\n`,n[d]),r+1===o.length&&0===Object.keys(e).length&&(0,g.vV)("No auction targeting keys were permitted due to the setting in setConfig(targetingControls.auctionKeyMaxChars).  Please review setup and consider adjusting."),e}),{})}(D,q)),A.forEach((e=>{D[e]||(D[e]={})})),D},s.$W.getConfig("targetingControls",(function(e){null!=(0,p.A)(e,y)&&null!=(0,p.A)(e,v)&&(0,g.vV)(E)})),t.setTargetingForGPT=(0,c.A_)("sync",(function(n,i){let r=t.getAllTargeting(n),o=Object.fromEntries(h.map((e=>[e,null])));Object.entries(B(Object.keys(r),i)).forEach((e=>{let[t,n]=e;n.forEach((e=>{Object.keys(r[t]).forEach((e=>{let n=r[t][e];"string"==typeof n&&-1!==n.indexOf(",")&&(n=n.split(",")),r[t][e]=n})),(0,g.OG)(`Attempting to set targeting-map for slot: ${e.getSlotElementId()} with targeting-map:`,r[t]),e.updateTargetingFromMap(Object.assign({},o,r[t]))}))})),Object.keys(r).forEach((t=>{Object.keys(r[t]).forEach((n=>{"hb_adid"===n&&e.setStatusForBids(r[t][n],a.tl.BID_TARGETING_SET)}))})),t.targetingDone(r),d.Ic(a.qY.SET_TARGETING,r)}),"setTargetingForGPT"),t.targetingDone=(0,c.A_)("sync",(function(e){return e}),"targetingDone"),t.getWinningBids=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.Vk,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.Q0;const a=[],d=t||I(n,i),c=r(e);return d.reduce(((e,t)=>{const n=t.adUnitCode,i=!0===o.u.get(n,"allowZeroCpmBids")?t.cpm>=0:t.cpm>0,r=s.$W.getConfig("targetingControls.alwaysIncludeDeals")&&t.dealId;return(0,f.mK)(c,n)&&!(0,f.mK)(a,n)&&(r||i)&&(e.push(t),a.push(n)),e}),[])},t.setTargetingForAst=function(e){let n=t.getAllTargeting(e);try{t.resetPresetTargetingAST(e)}catch(e){(0,g.vV)("unable to reset targeting for AST"+e)}Object.keys(n).forEach((e=>Object.keys(n[e]).forEach((t=>{if((0,g.OG)(`Attempting to set targeting for targetId: ${e} key: ${t} value: ${n[e][t]}`),(0,g.O8)(n[e][t])||(0,g.cy)(n[e][t])){let i={},r=/pt[0-9]/;t.search(r)<0?i[t.toUpperCase()]=n[e][t]:i[t]=n[e][t],window.apntag.setKeywords(e,i,{overrideKeyValue:!0})}}))))},t.isApntagDefined=function(){if(window.apntag&&(0,g.fp)(window.apntag.setKeywords))return!0},t}(i.n)},8230:(e,t,n)=>{n.d(t,{qh:()=>f,zt:()=>p});var i=n(1069),r=n(3272),o=n(5901),s=n(2938),a=n(5139),d=n(6811),c=n(2604),u=n(5569),l=n(3441);const f={syncEnabled:!0,filterSettings:{image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:3e3,auctionDelay:500};r.$W.setDefaults({userSync:(0,i.Go)(f)});const g=(0,s.CK)("usersync");const p=function(e){let t={},n={image:[],iframe:[]},s=new Set,a={},f={image:!0,iframe:!1},g=e.config;function p(){if(g.syncEnabled&&e.browserSupportsCookies){try{!function(){if(!f.iframe)return;m(n.iframe,(e=>{let[t,r]=e;(0,i.OG)(`Invoking iframe user sync for bidder: ${t}`),(0,i.SG)(r),function(e,t){e.image=e.image.filter((e=>e[0]!==t))}(n,t)}))}(),function(){if(!f.image)return;m(n.image,(e=>{let[t,n]=e;(0,i.OG)(`Invoking image pixel user sync for bidder: ${t}`),(0,i.z$)(n)}))}()}catch(e){return(0,i.vV)("Error firing user syncs",e)}n={image:[],iframe:[]}}}function m(e,t){(0,i.k4)(e).forEach(t)}function h(e,t){let n=g.filterSettings;if(function(e,t){if(e.all&&e[t])return(0,i.JE)(`Detected presence of the "filterSettings.all" and "filterSettings.${t}" in userSync config.  You cannot mix "all" with "iframe/image" configs; they are mutually exclusive.`),!1;let n=e.all?e.all:e[t],r=e.all?"all":t;if(!n)return!1;let o=n.filter,s=n.bidders;if(o&&"include"!==o&&"exclude"!==o)return(0,i.JE)(`UserSync "filterSettings.${r}.filter" setting '${o}' is not a valid option; use either 'include' or 'exclude'.`),!1;if("*"!==s&&!(Array.isArray(s)&&s.length>0&&s.every((e=>(0,i.O8)(e)&&"*"!==e))))return(0,i.JE)(`Detected an invalid setup in userSync "filterSettings.${r}.bidders"; use either '*' (to represent all bidders) or an array of bidders.`),!1;return!0}(n,e)){f[e]=!0;let i=n.all?n.all:n[e],r="*"===i.bidders?[t]:i.bidders;const s={include:(e,t)=>!(0,o.mK)(e,t),exclude:(e,t)=>(0,o.mK)(e,t)};return s[i.filter||"include"](r,t)}return!f[e]}return r.$W.getConfig("userSync",(e=>{if(e.userSync){let t=e.userSync.filterSettings;(0,i.Qd)(t)&&(t.image||t.all||(e.userSync.filterSettings.image={bidders:"*",filter:"include"}))}g=Object.assign(g,e.userSync)})),e.regRule(d.Ml,"userSync config",(e=>{if(!g.syncEnabled)return{allow:!1,reason:"syncs are disabled"};if(e[c.Dk]===u.tW){const n=e[c.bt],i=e[c.iK];if(!t.canBidderRegisterSync(n,i))return{allow:!1,reason:`${n} syncs are not enabled for ${i}`}}})),t.registerSync=(t,r,o)=>s.has(r)?(0,i.OG)(`already fired syncs for "${r}", ignoring registerSync call`):g.syncEnabled&&(0,i.cy)(n[t])?r?0!==g.syncsPerBidder&&Number(a[r])>=g.syncsPerBidder?(0,i.JE)(`Number of user syncs exceeded for "${r}"`):void(e.isAllowed(d.Ml,(0,l.s)(u.tW,r,{[c.bt]:t,[c.e3]:o}))&&(n[t].push([r,o]),a=function(e,t){return e[t]?e[t]+=1:e[t]=1,e}(a,r))):(0,i.JE)("Bidder is required for registering sync"):(0,i.JE)(`User sync type "${t}" not supported`),t.bidderDone=s.add.bind(s),t.syncUsers=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(p,Number(e));p()},t.triggerUserSyncs=()=>{g.enableOverride&&t.syncUsers()},t.canBidderRegisterSync=(e,t)=>!g.filterSettings||!h(e,t),t}(Object.defineProperties({config:r.$W.getConfig("userSync"),isAllowed:a.io,regRule:a.qB},{browserSupportsCookies:{get:function(){return!(0,i.Vt)()&&g.cookiesAreEnabled()}}}))},1069:(e,t,n)=>{n.d(t,{$D:()=>U,$l:()=>ot,$z:()=>We,Bg:()=>at,Bj:()=>st,Bk:()=>ye,Bq:()=>Ee,CA:()=>X,D4:()=>Ae,D9:()=>it,Dl:()=>et,El:()=>dt,Et:()=>re,Ez:()=>Z,Fq:()=>Je,GE:()=>Ne,Go:()=>Oe,II:()=>we,Im:()=>ae,JE:()=>H,Jw:()=>Se,K2:()=>le,Lm:()=>se,N9:()=>xe,O8:()=>ne,OG:()=>F,PB:()=>rt,Q0:()=>Ce,Qd:()=>oe,SB:()=>Ge,SG:()=>he,SH:()=>Ve,Tz:()=>be,U6:()=>Pe,Up:()=>Qe,Uu:()=>Ye,V:()=>qe,Vt:()=>De,ZA:()=>Ie,ZU:()=>_e,_s:()=>fe,al:()=>ke,av:()=>G,bD:()=>nt,bL:()=>D,bu:()=>ce,bz:()=>Le,c$:()=>tt,cD:()=>w,cf:()=>x,cy:()=>ie,dp:()=>Q,eP:()=>Ze,eY:()=>ct,fH:()=>z,fp:()=>te,gM:()=>Ue,gR:()=>ue,h0:()=>J,hj:()=>ve,hw:()=>Y,iC:()=>He,k4:()=>Be,kK:()=>$,l4:()=>V,l9:()=>Fe,lk:()=>S,mM:()=>C,mb:()=>W,n7:()=>j,nX:()=>N,ro:()=>me,s0:()=>k,sC:()=>ze,t1:()=>Te,tT:()=>Ke,tf:()=>je,u5:()=>R,vE:()=>$e,vV:()=>L,wD:()=>Me,xQ:()=>de,xV:()=>Re,y$:()=>_,z$:()=>pe});var i=n(3272),r=n(5751),o=n(5901),s=n(8969),a=n(5555),d=n(7873),c=n(433),u="String",l="Function",f="Number",g="Object",p="Boolean",m=Object.prototype.toString;let h,b=Boolean(window.console),y=Boolean(b&&window.console.log),v=Boolean(b&&window.console.info),E=Boolean(b&&window.console.warn),A=Boolean(b&&window.console.error);const I=(0,d.m)();function w(e){h=e}function T(){null!=h&&h(...arguments)}const C={checkCookieSupport:Ne,createTrackPixelIframeHtml:function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return"";t&&(e=encodeURI(e));n&&(n=`sandbox="${n}"`);return`<iframe ${n} id="${k()}"\n      frameborder="0"\n      allowtransparency="true"\n      marginheight="0" marginwidth="0"\n      width="0" hspace="0" vspace="0" height="0"\n      style="height:0px;width:0px;display:none;"\n      scrolling="no"\n      src="${e}">\n    </iframe>`},getWindowSelf:V,getWindowTop:W,canAccessWindowTop:G,getWindowLocation:M,insertUserSyncIframe:he,insertElement:fe,isFn:te,triggerPixel:pe,logError:L,logWarn:H,logMessage:F,logInfo:z,parseQS:Xe,formatQS:Ze,deepEqual:nt};var B,O=(B=0,function(){return++B});function k(){return O()+Math.random().toString(16).substr(2)}function S(e){return e?(e^(window&&window.crypto&&window.crypto.getRandomValues?crypto.getRandomValues(new Uint8Array(1))[0]%16:16*Math.random())>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,S)}function R(e,t){return t?.[e]||""}function D(e){let t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+"="+encodeURIComponent(e[n])+"&");return t=t.replace(/&$/,""),t}function U(e){return e&&Object.getOwnPropertyNames(e).length>0?Object.keys(e).map((t=>`${t}=${encodeURIComponent(e[t])}`)).join("&"):""}function _(e){return"string"==typeof e?e.split(/\s*,\s*/).map((e=>e.match(/^(\d+)x(\d+)$/i))).filter((e=>e)).map((e=>{let[t,n,i]=e;return[parseInt(n,10),parseInt(i,10)]})):Array.isArray(e)?P(e)?[e]:e.filter(P):[]}function $(e){return _(e).map(q)}function q(e){return e[0]+"x"+e[1]}function j(e){if(P(e))return q(e)}function x(e){return{w:e[0],h:e[1]}}function N(e){if(P(e))return x(e)}function P(e){return ie(e)&&2===e.length&&!isNaN(e[0])&&!isNaN(e[1])}function W(){return window.top}function V(){return window.self}function M(){return window.location}function G(){try{if(C.getWindowTop().location.href)return!0}catch(e){return!1}}function F(){Q()&&y&&console.log.apply(console,K(arguments,"MESSAGE:"))}function z(){Q()&&v&&console.info.apply(console,K(arguments,"INFO:"))}function H(){Q()&&E&&console.warn.apply(console,K(arguments,"WARNING:")),T(s.qY.AUCTION_DEBUG,{type:"WARNING",arguments})}function L(){Q()&&A&&console.error.apply(console,K(arguments,"ERROR:")),T(s.qY.AUCTION_DEBUG,{type:"ERROR",arguments})}function J(e){function t(t){return function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t(e,...i)}}return{logError:t(L),logWarn:t(H),logMessage:t(F),logInfo:t(z)}}function K(e,t){e=[].slice.call(e);let n=i.$W.getCurrentBidder();return t&&e.unshift(t),n&&e.unshift(r("#aaa")),e.unshift(r("#EE164F")),e.unshift("%cThe Moneytizer"+(n?`%c${n}`:"")),e;function r(e){return`display: inline-block; color: #fff; background: ${e}; padding: 1px 4px; border-radius: 3px;`}}function Q(){return!!i.$W.getConfig("debug")}const Y=(()=>{const e={border:"0px",hspace:"0",vspace:"0",marginWidth:"0",marginHeight:"0",scrolling:"no",frameBorder:"0",allowtransparency:"true"};return function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.createElement("iframe");return Object.assign(r,Object.assign({},e,n)),Object.assign(r.style,i),r}})();function X(){return Y(document,{id:k(),width:0,height:0,src:"about:blank"},{display:"none",height:"0px",width:"0px",border:"0px"})}function Z(e){return Xe(M().search)[e]||""}function ee(e,t){return m.call(e)==="[object "+t+"]"}function te(e){return ee(e,l)}function ne(e){return ee(e,u)}const ie=Array.isArray.bind(Array);function re(e){return ee(e,f)}function oe(e){return ee(e,g)}function se(e){return ee(e,p)}function ae(e){return!e||(ie(e)||ne(e)?!(e.length>0):Object.keys(e).length<=0)}function de(e){return ne(e)&&(!e||0===e.length)}function ce(e,t){if(te(e?.forEach))return e.forEach(t,this);Object.entries(e||{}).forEach((e=>{let[n,i]=e;return t.call(this,i,n)}))}function ue(e,t){return te(e?.includes)&&e.includes(t)}function le(e,t){return te(e?.map)?e.map(t):Object.entries(e||{}).map((n=>{let[i,r]=n;return t(r,i,e)}))}function fe(e,t,n,i){let r;t=t||document,r=n?t.getElementsByTagName(n):t.getElementsByTagName("head");try{if(r=r.length?r:t.getElementsByTagName("body"),r.length){r=r[0];let t=i?null:r.firstChild;return r.insertBefore(e,t)}}catch(e){}}function ge(e,t){let n=null;return new a.k((i=>{const r=function(){e.removeEventListener("load",r),e.removeEventListener("error",r),null!=n&&window.clearTimeout(n),i()};e.addEventListener("load",r),e.addEventListener("error",r),null!=t&&(n=window.setTimeout(r,t))}))}function pe(e,t,n){const i=new Image;t&&C.isFn(t)&&ge(i,n).then(t),i.src=e}function me(e){if(!e)return;const t=X();var n;C.insertElement(t,document,"body"),(n=t.contentWindow.document).open(),n.write(e),n.close()}function he(e,t,n){let i=C.createTrackPixelIframeHtml(e,!1,"allow-scripts allow-same-origin"),r=document.createElement("div");r.innerHTML=i;let o=r.firstChild;t&&C.isFn(t)&&ge(o,n).then(t),C.insertElement(o,document,"html",!0)}function be(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:encodeURI;if(!e)return"";let n='<div style="position:absolute;left:0px;top:0px;visibility:hidden;">';return n+='<img src="'+t(e)+'"></div>',n}function ye(e){return Array.from(e.matchAll(/\$({[^}]+})/g)).map((e=>e[1])).reduce(((e,t)=>e.replace("$"+encodeURIComponent(t),"$"+t)),encodeURI(e))}function ve(e,t,n){return n.indexOf(e)===t}function Ee(e,t){return e.concat(t)}function Ae(e,t){if(e)return t.flatMap((e=>e.bids)).find((t=>["bidId","adId","bid_id"].some((n=>t[n]===e))))}function Ie(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:I.adUnits).map((e=>e.bids.map((e=>e.bidder)).reduce(Ee,[]))).reduce(Ee,[]).filter((e=>void 0!==e)).filter(ve)}function we(){if(window.googletag&&te(window.googletag.pubads)&&te(window.googletag.pubads().getSlots))return!0}function Te(){if(window.apntag&&te(window.apntag.getTag))return!0}const Ce=(e,t)=>t.cpm-e.cpm;function Be(e){let t=e.length;for(;t>0;){let n=Math.floor(Math.random()*t);t--;let i=e[t];e[t]=e[n],e[n]=i}return e}function Oe(e){return(0,r.Q)(e)||{}}function ke(){try{return C.getWindowSelf()!==C.getWindowTop()}catch(e){return!0}}function Se(){if(!ke())return!1;const e=C.getWindowSelf();return!(!e.$sf||!e.$sf.ext)}function Re(){try{const e=V();return"function"==typeof e.$sf.ext.geom?e.$sf.ext.geom():void 0}catch(e){return void L("Error getting SafeFrame geometry",e)}}function De(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Ue(e,t){if(e)return Object.entries(t).reduce(((e,t)=>{let[n,i]=t;return e.replace(new RegExp("\\$\\{"+n+"\\}","g"),i||"")}),e)}function _e(e,t){return Ue(e,{AUCTION_PRICE:t})}function $e(){return(new Date).getTime()}function qe(){return window.performance&&window.performance.now&&window.performance.now()||0}function je(e){let t=-1;const n=(e=e||V()).performance;if(e.performance?.timing&&e.performance.timing.navigationStart>0){const e=n.timing.domLoading-n.timing.navigationStart;e>0&&(t=e)}return t}function xe(){return!1!==i.$W.getConfig("deviceAccess")}function Ne(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function Pe(e,t){if(t<1)throw new Error(`numRequiredCalls must be a positive number. Got ${t}`);let n=0;return function(){n++,n===t&&e.apply(this,arguments)}}function We(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})}function Ve(e,t){return t.filter((t=>e[t])).reduce(((t,n)=>Object.assign(t,{[n]:e[n]})),{})}function Me(e){const t=["banner","native","video"],n=["instream","outstream","adpod"];return!!Object.keys(e).every((e=>(0,o.mK)(t,e)))&&(!e.video||!e.video.context||(0,o.mK)(n,e.video.context))}function Ge(e,t,n){return e.filter((e=>e.code===t)).flatMap((e=>e.bids)).filter((e=>e.bidder===n)).map((e=>e.params||{}))}function Fe(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}const ze=(e,t)=>e.getAdUnitPath()===t||e.getSlotElementId()===t;function He(e){return t=>ze(e,t)}function Le(e,t){const n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return`\n    ${e.code} is a ${n} ad unit\n    containing bidders that don't support ${n}: ${t}.\n    This bidder won't fetch demand.\n  `}const Je=Number.isInteger.bind(Number);function Ke(e){return Object.fromEntries(Object.entries(e).filter((e=>{let[t,n]=e;return void 0!==n})))}function Qe(e,t){return"object"!=typeof e?{}:t.reduce(((n,i,r)=>{if("function"==typeof i)return n;let o=i,s=i.match(/^(.+?)\sas\s(.+?)$/i);s&&(i=s[1],o=s[2]);let a=e[i];return"function"==typeof t[r+1]&&(a=t[r+1](a,n)),void 0!==a&&(n[o]=a),n}),{})}function Ye(e,t){return ie(e)&&(!t||e.length===t)&&e.every((e=>Je(e)))}function Xe(e){return e?e.replace(/^\?/,"").split("&").reduce(((e,t)=>{let[n,i]=t.split("=");return/\[\]$/.test(n)?(n=n.replace("[]",""),e[n]=e[n]||[],e[n].push(i)):e[n]=i||"",e}),{}):{}}function Ze(e){return Object.keys(e).map((t=>Array.isArray(e[t])?e[t].map((e=>`${t}[]=${e}`)).join("&"):`${t}=${e[t]}`)).join("&")}function et(e,t){let n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);let i=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:i?n.search:C.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}}function tt(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?`:${e.port}`:""))+(e.pathname||"")+(e.search?`?${C.formatQS(e.search||"")}`:"")+(e.hash?`#${e.hash}`:"")}function nt(e,t){let{checkTypes:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||n&&e.constructor!==t.constructor)return!1;{const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!1;for(let r of i){if(!t.hasOwnProperty(r))return!1;if(!nt(e[r],t[r],{checkTypes:n}))return!1}return!0}}function it(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(!n.length)return e;const r=n.shift();if(oe(e)&&oe(r))for(const t in r)oe(r[t])?(e[t]||Object.assign(e,{[t]:{}}),it(e[t],r[t])):ie(r[t])?e[t]?ie(e[t])&&r[t].forEach((n=>{let i=1;for(let r=0;r<e[t].length;r++)if(nt(e[t][r],n)){i=0;break}i&&e[t].push(n)})):Object.assign(e,{[t]:[...r[t]]}):Object.assign(e,{[t]:r[t]});return it(e,...n)}function rt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=function(e,t){if(te(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},i=3735928559^t,r=1103547991^t;for(let t,o=0;o<e.length;o++)t=e.charCodeAt(o),i=n(i^t,2654435761),r=n(r^t,1597334677);return i=n(i^i>>>16,2246822507)^n(r^r>>>13,3266489909),r=n(r^r>>>16,2246822507)^n(i^i>>>13,3266489909),(4294967296*(2097151&r)+(i>>>0)).toString()}function ot(e){try{return JSON.parse(e)}catch(e){}}function st(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};const n=new Map,i=function(){const i=t.apply(this,arguments);return n.has(i)||n.set(i,e.apply(this,arguments)),n.get(i)};return i.clear=n.clear.bind(n),i}function at(e,t){Object.entries(t).forEach((t=>{let[n,i]=t;return e.setAttribute(n,i)}))}function dt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,i=0,r=e.length&&e.length-1;const o=n(t);for(;r-i>1;){const t=i+Math.round((r-i)/2);o>n(e[t])?i=t:r=t}for(;e.length>i&&o>n(e[i]);)i++;return i}function ct(e,t){for(let n,i=0;i<e.length;i++)if(n=(0,c.A)(e[i],t),n)return n}},7176:(e,t,n)=>{n.d(t,{y:()=>s});var i=n(8462),r=n(2693),o=n(1069);function s(e,t,n){let{index:s=i.n.index,bs:a=r.u}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||s.getBidRequest(t);const d=t?.adapterCode,c=t?.bidderCode||n?.bidder,u=a.get(t?.adapterCode,"adjustAlternateBids"),l=a.getOwn(c,"bidCpmAdjustment")||a.get(u?d:c,"bidCpmAdjustment");if(l&&"function"==typeof l)try{return l(e,Object.assign({},t),n)}catch(e){(0,o.vV)("Error during bid adjustment",e)}return e}},2621:(e,t,n)=>{function i(e){return!e?.gdprApplies||!0===e?.vendorData?.purpose?.consents?.[1]}n.d(t,{C:()=>i})},6894:(e,t,n)=>{n.d(t,{Ak:()=>h,BO:()=>g,K7:()=>p,NL:()=>b});var i=n(3272);const r="performanceMetrics",o=window.performance&&window.performance.now?()=>window.performance.now():()=>Date.now(),s=new WeakMap;function a(){let{now:e=o,mkNode:t=u,mkTimer:n=c,mkRenamer:i=(e=>e),nodes:r=s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return function o(s){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>({forEach(t){t(e)}});a=i(a);const d=(c="timestamps",function(e){return s.dfWalk({visit(t,n){const i=n[c];if(i.hasOwnProperty(e))return i[e]}})});var c;function u(e,t){const n=a(e);s.dfWalk({follow:(e,t)=>t.propagate&&(!e||!e.stopPropagation),visit(e,i){n.forEach((n=>{null==e?i.metrics[n]=t:(i.groups.hasOwnProperty(n)||(i.groups[n]=[]),i.groups[n].push(t))}))}})}function l(t){return n(e,(e=>u(t,e)))}function f(){let e={};return s.dfWalk({visit(t,n){e=Object.assign({},!t||t.includeGroups?n.groups:null,n.metrics,e)}}),e}const g={startTiming:l,measureTime:function(e,t){return l(e).stopAfter(t)()},measureHookTime:function(e,t,n){const i=l(e);return n(function(e){const t=i.stopBefore(e);return t.bail=e.bail&&i.stopBefore(e.bail),t.stopTiming=i,t.untimed=e,t}(t))},checkpoint:function(t){s.timestamps[t]=e()},timeSince:function(t,n){const i=d(t),r=null!=i?e()-i:null;return null!=n&&u(n,r),r},timeBetween:function(e,t,n){const i=d(e),r=d(t),o=null!=i&&null!=r?r-i:null;return null!=n&&u(n,o),o},setMetric:u,getMetrics:f,fork:function(){let{propagate:e=!0,stopPropagation:n=!1,includeGroups:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(t([[s,{propagate:e,stopPropagation:n,includeGroups:i}]]),a)},join:function(e){let{propagate:t=!0,stopPropagation:n=!1,includeGroups:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=r.get(e);null!=o&&o.addParent(s,{propagate:t,stopPropagation:n,includeGroups:i})},newMetrics:function(){return o(s.newSibling(),a)},renameWith:function(e){return o(s,e)},toJSON:()=>f()};return r.set(g,s),g}(t([]))}}function d(e,t,n){return function(){t&&t();try{return e.apply(this,arguments)}finally{n&&n()}}}function c(e,t){const n=e();let i=!1;function r(){i||(t(e()-n),i=!0)}return r.stopBefore=e=>d(e,r),r.stopAfter=e=>d(e,null,r),r}function u(e){return{metrics:{},timestamps:{},groups:{},addParent(t,n){e.push([t,n])},newSibling:()=>u(e.slice()),dfWalk(){let t,{visit:n,follow:i=(()=>!0),visited:r=new Set,inEdge:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!r.has(this)){if(r.add(this),t=n(o,this),null!=t)return t;for(const[s,a]of e)if(i(o,a)&&(t=s.dfWalk({visit:n,follow:i,visited:r,inEdge:a}),null!=t))return t}}}}const l=(()=>{const e=function(){},t=()=>({}),n={forEach:e},i=()=>null;i.stopBefore=e=>e,i.stopAfter=e=>e;const r=Object.defineProperties({dfWalk:e,newSibling:()=>r,addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((e=>[e,{get:t}]))));return a({now:()=>0,mkNode:()=>r,mkRenamer:()=>()=>n,mkTimer:()=>i,nodes:{get:e,set:e}})()})();let f=!0;function g(e){return f&&e||l}i.$W.getConfig(r,(e=>{f=!!e[r]}));const p=(()=>{const e=a();return function(){return f?e():l}})();function m(e,t){return function(n,i){return function(r){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];const d=this;return g(t.apply(d,s)).measureHookTime(e+n,r,(function(e){return i.call(d,e,...s)}))}}}const h=m("requestBids.",(e=>e.metrics)),b=m("addBidResponse.",((e,t)=>t.metrics))},5555:(e,t,n)=>{n.d(t,{k:()=>o,v:()=>s});const i=0,r=1;class o{#d;#c;static timeout(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new o((t=>{0===e?t():setTimeout(t,e)}))}constructor(e){if("function"!=typeof e)throw new Error("resolver not a function");const t=[],n=[];let[o,s]=[i,r].map((e=>function(r){if(e===i&&"function"==typeof r?.then)r.then(o,s);else if(!t.length)for(t.push(e,r);n.length;)n.shift()()}));try{e(o,s)}catch(e){s(e)}this.#d=t,this.#c=n}then(e,t){const n=this.#d;return new this.constructor(((r,o)=>{const s=()=>{let s=n[1],[a,d]=n[0]===i?[e,r]:[t,o];if("function"==typeof a){try{s=a(s)}catch(e){return void o(e)}d=r}d(s)};n.length?s():this.#c.push(s)}))}catch(e){return this.then(null,e)}finally(e){let t;return this.then((n=>(t=n,e())),(n=>(t=this.constructor.reject(n),e()))).then((()=>t))}static#u(e,t,n){let i=e.length;function r(){t.apply(this,arguments),--i<=0&&n&&n()}0===e.length&&n?n():e.forEach(((e,t)=>this.resolve(e).then((e=>r(!0,e,t)),(e=>r(!1,e,t)))))}static race(e){return new this(((t,n)=>{this.#u(e,((e,i)=>e?t(i):n(i)))}))}static all(e){return new this(((t,n)=>{let i=[];this.#u(e,((e,t,r)=>e?i[r]=t:n(t)),(()=>t(i)))}))}static allSettled(e){return new this((t=>{let n=[];this.#u(e,((e,t,i)=>n[i]=e?{status:"fulfilled",value:t}:{status:"rejected",reason:t}),(()=>t(n)))}))}static resolve(e){return new this((t=>t(e)))}static reject(e){return new this(((t,n)=>n(e)))}}function s(){let e,t,{promiseFactory:n=(e=>new o(e))}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function i(e){return t=>e(t)}return{promise:n(((n,i)=>{e=n,t=i})),resolve:i(e),reject:i(t)}}},2713:(e,t,n)=>{function i(e,t){return e===t?0:e<t?-1:1}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e=>e;return(t,n)=>i(e(t),e(n))}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(t,n)=>-e(t,n)||0}function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){for(const i of t){const t=i(e,n);if(0!==t)return t}return 0}}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return(t,n)=>e(n,t)<0?n:t}function d(){return a(o(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i))}n.d(t,{Bp:()=>a,Bq:()=>f,NV:()=>r,Vk:()=>l});const c=r((e=>e.cpm)),u=r((e=>e.responseTimestamp)),l=d(s(c,o(r((e=>e.timeToRespond))))),f=d(s(c,o(u)));d(s(c,u))},6853:(e,t,n)=>{n.d(t,{H:()=>u});var i=n(5555),r=n(1069);let o=null,s=0,a=[];function d(){document.hidden?o=Date.now():(s+=Date.now()-(o??0),o=null,a.forEach((e=>{let{callback:t,startTime:n,setTimerId:i}=e;return i(c(t,s-n)())})),a=[])}function c(e,t){const n=s;let i=setTimeout((()=>{s===n&&null==o?e():null!=o?a.push({callback:e,startTime:n,setTimerId(e){i=e}}):i=c(e,s-n)()}),t);return()=>i}function u(){let{startTime:e=r.vE,ttl:t=(()=>null),monotonic:n=!1,slack:o=5e3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=new Map,a=[],d=[],u=n?e=>d.push(e):e=>d.splice((0,r.El)(d,e,(e=>e.expiry)),0,e);let l,f;function g(){if(f&&clearTimeout(f),d.length>0){const e=(0,r.vE)();l=Math.max(e,d[0].expiry+o),f=c((()=>{const e=(0,r.vE)();let t=0;for(const n of d){if(n.expiry>e)break;a.forEach((e=>{try{e(n.item)}catch(e){(0,r.vV)(e)}})),s.delete(n.item),t++}d.splice(0,t),f=null,g()}),l-e)}else f=null}function p(n){const r={},s=m;let a;const[d,c]=Object.entries({start:e,delta:t}).map((e=>{let t,[d,c]=e;return function(){const e=t={};i.k.resolve(c(n)).then((n=>{e===t&&(r[d]=n,s===m&&null!=r.start&&null!=r.delta&&(a=r.start+r.delta,u(p),(null==f||l>a+o)&&g()))}))}})),p={item:n,refresh:c,get expiry(){return a}};return d(),c(),p}let m={};return{[Symbol.iterator]:()=>s.keys(),add(e){!s.has(e)&&s.set(e,p(e))},clear(){d.length=0,g(),s.clear(),m={}},toArray:()=>Array.from(s.keys()),refresh(){d.length=0,g();for(const e of s.values())e.refresh()},onExpiry:e=>(a.push(e),()=>{const t=a.indexOf(e);t>=0&&a.splice(t,1)})}}document.addEventListener("visibilitychange",d)},3895:(e,t,n)=>{n.d(t,{H6:()=>a,V0:()=>u,Zy:()=>c,aP:()=>l,mn:()=>d,vk:()=>f});var i=n(1069),r=n(3272),o=n(9214),s=n(8462);const a="outstream",d="instream",c=new Map([["mimes",e=>Array.isArray(e)&&e.length>0&&e.every((e=>"string"==typeof e))],["minduration",i.Fq],["maxduration",i.Fq],["startdelay",i.Fq],["maxseq",i.Fq],["poddur",i.Fq],["protocols",i.Uu],["w",i.Fq],["h",i.Fq],["podid",i.O8],["podseq",i.Fq],["rqddurs",i.Uu],["placement",i.Fq],["plcmt",i.Fq],["linearity",i.Fq],["skip",e=>[1,0].includes(e)],["skipmin",i.Fq],["skipafter",i.Fq],["sequence",i.Fq],["slotinpod",i.Fq],["mincpmpersec",i.Et],["battr",i.Uu],["maxextended",i.Fq],["minbitrate",i.Fq],["maxbitrate",i.Fq],["boxingallowed",i.Fq],["playbackmethod",i.Uu],["playbackend",i.Fq],["delivery",i.Uu],["pos",i.Fq],["api",i.Uu],["companiontype",i.Uu],["poddedupe",i.Uu]]);function u(e){const t=e?.mediaTypes?.video;null!=t&&null==t.plcmt&&(t.context===a||[2,3,4].includes(t.placement)?t.plcmt=4:t.context!==a&&[2,6].includes(t.playbackmethod)&&(t.plcmt=2))}function l(e,t){const n=e?.mediaTypes?.video;(0,i.Qd)(n)?null!=n&&Object.entries(n).forEach((r=>{let[o,s]=r;if(!c.has(o))return;c.get(o)(s)||("function"==typeof t?t(o,s,e):(delete n[o],(0,i.JE)(`Invalid prop in adUnit "${e.code}": Invalid value for mediaTypes.video.${o} ORTB property. The property has been removed.`)))})):(0,i.JE)("validateOrtbVideoFields: videoParams must be an object.")}function f(e){let{index:t=s.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.getMediaTypes(e)?.video,i=n&&n?.context,r=n&&n?.useCacheKey,o=t.getAdUnit(e);return g(e,o,n,i,r)}const g=(0,o.A_)("sync",(function(e,t,n,o,s){return n&&(s||o!==a)?r.$W.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.vV)('\n        This bid contains only vastXml and will not work when a prebid cache url is not specified.\n        Try enabling prebid cache with tmzr.setConfig({ cache: {url: "..."} });\n      '),!1):!(o===a&&!s)||!!(e.renderer||t&&t.renderer||n.renderer)}),"checkVideoBidSetup")}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1085],{4595:(d,e,s)=>{s.d(e,{G:()=>t});const t='(()=>{"use strict";window.render=function({ad:d,adUrl:e,width:i,height:r},{mkFrame:n},o){if(!d&&!e)throw{reason:"noAd",message:"Missing ad markup or URL"};{const s=o.document,t={width:i,height:r};e&&!d?t.src=e:t.srcdoc=d,s.body.appendChild(n(s,t))}}})();'}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2764],{2339:(o,n,t)=>{function e(o,n){return function(){const t=document.domain.split("."),e=`_gd${Date.now()}_${n}`;for(let n,i,s=0;s<t.length;s++){const u=t.slice(s).join(".");if(o.setCookie(e,"1",void 0,void 0,u),i=o.getCookie(e),o.setCookie(e,"","Thu, 01 Jan 1970 00:00:01 GMT",void 0,u),"1"!==i)return n;n=u}}}t.d(n,{w:()=>e})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[3005],{1252:(o,t,n)=>{n.d(t,{ho:()=>l,mw:()=>d,p:()=>i});var g=n(5901),e=n(1069);function d(o){return t=>(0,e.sC)(t,o)}function i(o){const t=function(o){let t;return(0,e.II)()&&(t=(0,g.I6)(window.googletag.pubads().getSlots(),d(o))),t}(o);return t?{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()}:{}}function l(o){!function(o,t){const n=()=>window.googletag.pubads().addEventListener(o,t);(0,e.II)()?n():(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push(n))}("slotRenderEnded",o)}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5759],{3978:(A,s,n)=>{n.d(s,{B:()=>D,h:()=>e});var I=n(1069);function e(){return(0,I.av)()?(0,I.mb)():(0,I.l4)()}const D=function(){const A=e();return A.ADAGIO=A.ADAGIO||{},A.ADAGIO.pageviewId=A.ADAGIO.pageviewId||(0,I.lk)(),A.ADAGIO.adUnits=A.ADAGIO.adUnits||{},A.ADAGIO.pbjsAdUnits=A.ADAGIO.pbjsAdUnits||[],A.ADAGIO.queue=A.ADAGIO.queue||[],A.ADAGIO.versions=A.ADAGIO.versions||{},A.ADAGIO.versions.pbjs="9.23.0",A.ADAGIO.windows=A.ADAGIO.windows||[],A.ADAGIO.isSafeFrameWindow=(0,I.Jw)(),A.ADAGIO}()}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2630],{8910:(e,t,n)=>{n.d(t,{Ay:()=>d});var l=n(8969),a=n(8044),s=n(1069),i=n(5023);const r={ajax:a.RD},o="endpoint",c="bundle",p=Object.values(l.qY).filter((e=>e!==l.qY.AUCTION_DEBUG));let u=100;function d(e){let{url:t,analyticsType:n,global:a,handler:d}=e;const y=[];let f,b,g=!1,h=!0;const v=(()=>{let e,t=!1;const n=()=>{if(!t){t=!0;try{let e=0,t=0;for(;y.length>0;){e++;const n=y.length;if(y.shift()(),y.length>=n?t++:t=0,t>=10)return(0,s.vV)("Detected probable infinite loop, discarding events",y),void(y.length=0)}(0,s.OG)(`${b} analytics: processed ${e} events`)}finally{t=!1}}};return function(){null!=e&&(clearTimeout(e),e=null),0===u?n():e=setTimeout(n,u)}})();return Object.defineProperties({track:function(e){let{eventType:n,args:l}=e;this.getAdapterType()===c&&window[a](d,n,l);this.getAdapterType()===o&&function(e){let{eventType:n,args:l,callback:a}=e;r.ajax(t,a,JSON.stringify({eventType:n,args:l}))}(...arguments)},enqueue:T,enableAnalytics:A,disableAnalytics:function(){Object.entries(f||{}).forEach((e=>{let[t,n]=e;i.AU(t,n)})),this.enableAnalytics=this._oldEnable?this._oldEnable:A,g=!1},getAdapterType:()=>n,getGlobal:()=>a,getHandler:()=>d,getUrl:()=>t},{enabled:{get:()=>g}});function T(e){let{eventType:t,args:n}=e;y.push((()=>{this.track({eventType:t,args:n})})),v()}function A(e){b=e?.provider;var t=this;if(h="object"!=typeof e||"object"!=typeof e.options||(void 0===e.options.sampling||Math.random()<parseFloat(e.options.sampling)),h){const n=(()=>{const{includeEvents:t=p,excludeEvents:n=[]}=e||{};return new Set(Object.values(l.qY).filter((e=>t.includes(e))).filter((e=>!n.includes(e))))})();i.kQ().forEach((e=>{if(!e||!n.has(e.eventType))return;const{eventType:l,args:a}=e;T.call(t,{eventType:l,args:a})})),f=Object.fromEntries(Array.from(n).map((e=>{const t=t=>this.enqueue({eventType:e,args:t});return i.on(e,t),[e,t]})))}else(0,s.OG)(`Analytics adapter for "${a}" disabled by sampling`);this._oldEnable=this.enableAnalytics,this.enableAnalytics=function(){return(0,s.OG)(`Analytics adapter for "${a}" already enabled, unnecessary call to \`enableAnalytics\`.`)},g=!0}}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[9147],{9495:(r,e,n)=>{function t(r){return r?.ortb2?.ext?.prebid?.adServerCurrency}n.d(e,{b:()=>t})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4982],{9906:(e,t,l)=>{function h(e,t){let l=[];for(let h=0;h<Math.ceil(e.length/t);h++){let n=h*t,u=n+t;l.push(e.slice(n,u))}return l}l.d(t,{i:()=>h})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[7247],{8656:(r,e,a)=>{a.d(e,{D:()=>o});var t=a(3858),n=a(433);const s=["user.keywords"].concat(t.Dy.flatMap((r=>["keywords","content.keywords"].map((e=>`${r}.${e}`)))));function o(r){for(var e=arguments.length,a=new Array(e>1?e-1:0),t=1;t<e;t++)a[t-1]=arguments[t];return function(){const r=new Set;for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];return a.filter((r=>r)).flatMap((r=>Array.isArray(r)?r:r.split(","))).map((r=>r.replace(/^\s*/,"").replace(/\s*$/,""))).filter((r=>r)).forEach((e=>r.add(e))),Array.from(r.keys())}(...s.map((e=>(0,n.A)(r,e))),...a)}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5444],{554:(e,t,r)=>{r.d(t,{QF:()=>g,T_:()=>f,gg:()=>l});var n=r(1069),o=r(433),i=r(8656),d=r(3858);const c={526:"1plusX",527:"1plusX",541:"captify_segments",540:"perid"},a=["user.data"].concat(d.Dy.map((e=>`${e}.content.data`)));function u(e,t,r){return null==t?r:(0,n.O8)(t)?t:(0,n.Et)(t)?t.toString():void(0,n.JE)("Unsuported type for param: "+e+" required type: String")}function l(e){return(0,n.O8)(e)&&""!==e?s(e.split(/\s*(?:,)\s*/)):{}}function s(e){const t={};return e.forEach((e=>{if(-1!==e.indexOf("=")){let r=e.split("="),n=r[0],o=r[1];t.hasOwnProperty(n)?t[n].push(o):t[n]=[o]}else t.hasOwnProperty(e)||(t[e]=[])})),t}function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords";const r=[];return(0,n.bu)(e,((e,o)=>{if((0,n.cy)(e)){let r=[];(0,n.bu)(e,(e=>{((e=u(t+"."+o,e))||""===e)&&r.push(e)})),e=r}else{if(e=u(t+"."+o,e),!(0,n.O8)(e))return;e=[e]}e=e.filter((e=>""!==e));const i={key:o};e.length>0&&(i.value=e),r.push(i)})),r}((0,n.D9)(...t.map((e=>Object.fromEntries(Object.entries(e||{}).map((e=>{let[t,r]=e;return[t,(0,n.Et)(r)||(0,n.O8)(r)?[r]:r]})))))))}function g(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return f(function(e){return s((0,i.D)(e))}(e),function(e){let t={};return a.forEach((r=>{((0,o.A)(e,r)||[]).forEach((e=>{const r=c[e?.ext?.segtax];r&&e.segment.forEach((e=>{t[r]?t[r].push(e.id):t[r]=[e.id]}))}))})),t}(e),...r)}},2349:(e,t,r)=>{r.d(t,{DX:()=>i,GS:()=>d,vk:()=>o});var n=r(1069);function o(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}const i=[{code:"appnexusAst",gvlid:32},{code:"emxdigital",gvlid:183},{code:"emetriq",gvlid:213},{code:"pagescience",gvlid:32},{code:"gourmetads",gvlid:32},{code:"matomy",gvlid:32},{code:"featureforward",gvlid:32},{code:"oftmedia",gvlid:32},{code:"adasta",gvlid:32},{code:"beintoo",gvlid:618},{code:"projectagora",gvlid:1032},{code:"stailamedia",gvlid:32},{code:"uol",gvlid:32},{code:"adzymic",gvlid:723},{code:"blueroostermedia",gvlid:32}];function d(e,t){let r=[];for(let o=0;o<t;o++){let t=(0,n.Qd)(e)?(0,n.Go)(e):e;r.push(t)}return r}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2126],{5761:(e,r,t)=>{t.d(r,{$:()=>u});var n=t(1069);function u(e,r){return Object.keys(e).forEach((t=>{var u,s;r[t]&&((0,n.fp)(e[t])?r[t]=e[t](r[t]):r[t]=(u=e[t],s=r[t],"string"===u?s&&s.toString():"number"===u?Number(s):s),isNaN(r[t])&&delete r.key)})),r}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2698],{4673:(A,B,I)=>{I.d(B,{n:()=>n});const n={1:"IAB20-3",2:"IAB18-5",3:"IAB10-1",4:"IAB2-3",5:"IAB19-8",6:"IAB22-1",7:"IAB18-1",8:"IAB12-3",9:"IAB5-1",10:"IAB4-5",11:"IAB13-4",12:"IAB8-7",13:"IAB9-7",14:"IAB7-1",15:"IAB20-18",16:"IAB10-7",17:"IAB19-18",18:"IAB13-6",19:"IAB18-4",20:"IAB1-5",21:"IAB1-6",22:"IAB3-4",23:"IAB19-13",24:"IAB22-2",25:"IAB3-9",26:"IAB17-18",27:"IAB19-6",28:"IAB1-7",29:"IAB9-30",30:"IAB20-7",31:"IAB20-17",32:"IAB7-32",33:"IAB16-5",34:"IAB19-34",35:"IAB11-5",36:"IAB12-3",37:"IAB11-4",38:"IAB12-3",39:"IAB9-30",41:"IAB7-44",42:"IAB7-1",43:"IAB7-30",50:"IAB19-30",51:"IAB17-12",52:"IAB19-30",53:"IAB3-1",55:"IAB13-2",56:"IAB19-30",57:"IAB19-30",58:"IAB7-39",59:"IAB22-1",60:"IAB7-39",61:"IAB21-3",62:"IAB5-1",63:"IAB12-3",64:"IAB20-18",65:"IAB11-2",66:"IAB17-18",67:"IAB9-9",68:"IAB9-5",69:"IAB7-44",71:"IAB22-3",73:"IAB19-30",74:"IAB8-5",78:"IAB22-1",85:"IAB12-2",86:"IAB22-3",87:"IAB11-3",112:"IAB7-32",113:"IAB7-32",114:"IAB7-32",115:"IAB7-32",118:"IAB9-5",119:"IAB9-5",120:"IAB9-5",121:"IAB9-5",122:"IAB9-5",123:"IAB9-5",124:"IAB9-5",125:"IAB9-5",126:"IAB9-5",127:"IAB22-1",132:"IAB1-2",133:"IAB19-30",137:"IAB3-9",138:"IAB19-3",140:"IAB2-3",141:"IAB2-1",142:"IAB2-3",143:"IAB17-13",166:"IAB11-4",175:"IAB3-1",176:"IAB13-4",182:"IAB8-9",183:"IAB3-5"}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[10],{3806:(n,r,e)=>{e.d(r,{R:()=>t});var a=e(6894),i=e(1069);function t(n,r,e){return(0,a.Ak)(n,(function(n,a){var t;t=function(r,e){if(e){let n=i.JE;r&&(n=i.vV,e=`${e} Canceling auction as per consentManagement config.`);for(var t=arguments.length,o=new Array(t>2?t-2:0),l=2;l<t;l++)o[l-2]=arguments[l];n(e,...o)}r?(n.stopTiming(),"function"==typeof a.bidsBackHandler?a.bidsBackHandler():(0,i.vV)("Error executing bidsBackHandler")):n.call(this,a)},r()?((0,i.fH)("User consent information already known.  Pulling internally stored information..."),t(!1)):e(t)}))}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[7109],{965:(t,e,n)=>{n.d(e,{c5:()=>o});var a=n(5555);const c=0,l=1,r=2;function o(t){let{apiName:e,apiVersion:n,apiArgs:o=["command","callback","parameter","version"],callbackArgs:s=["returnValue","success"],mode:i=c}=t,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const f={},d=`${e}Call`,p=`${e}Return`;function k(t){const e="string"==typeof t.data&&t.data.includes(p)?JSON.parse(t.data):t.data;if(e?.[p]?.callId){const t=e[p];f.hasOwnProperty(t.callId)&&f[t.callId](...s.map((e=>t[e])))}}const[m,b]=function(){let t,n=u,a=!1;for(;null!=n;){try{if("function"==typeof n[e]){t=n,a=!0;break}}catch(t){}try{if(n.frames[`${e}Locator`]){t=n;break}}catch(t){}if(n===u.top)break;n=n.parent}return[t,a]}();if(!m)return;function g(t){return t=Object.assign({version:n},t),o.map((e=>[e,t[e]]))}function h(t,e,n,a){const c="function"==typeof t;return function(r,o){if(a&&a(),i!==l){(null==o||o?e:n)(c?void 0:r)}c&&t.apply(this,arguments)}}let v;return b?v=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new a.k(((n,a)=>{const o=m[e](...g({...t,callback:t.callback||i===r?h(t.callback,n,a):void 0}).map((t=>{let[e,n]=t;return n})));(i===l||null==t.callback&&i===c)&&n(o)}))}:(u.addEventListener("message",k,!1),v=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new a.k(((n,a)=>{const c=Math.random().toString(),r={[d]:{...Object.fromEntries(g(t).filter((t=>{let[e]=t;return"callback"!==e}))),callId:c}};f[c]=h(t?.callback,n,a,(e||null==t?.callback)&&(()=>{delete f[c]})),m.postMessage(r,"*"),i===l&&n()}))}),Object.assign(v,{isDirect:b,close(){!b&&u.removeEventListener("message",k)}})}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[8498],{9766:(e,t,r)=>{r.d(t,{T:()=>f,A:()=>m});const n=new WeakMap;var i=r(1069),s=r(1371);var o=r(3895);var a=r(5561);var d=r(1e3),p=r(3858);const c={[d.S3]:{fpd:{priority:99,fn(e,t){(0,i.D9)(e,t.ortb2)}},onlyOneClient:{priority:-99,fn:(0,p.i8)("ORTB request")},props:{fn(e,t){Object.assign(e,{id:e.id||(0,i.lk)(),test:e.test||0});const r=parseInt(t.timeout,10);isNaN(r)||(e.tmax=r)}}},[d.Tb]:{fpd:{priority:99,fn(e,t){(0,i.D9)(e,t.ortb2Imp)}},id:{fn(e,t){e.id=t.bidId}},banner:{fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.D4)return;const n=t?.mediaTypes?.banner;if(n){const t={topframe:!0===(0,i.al)()?0:1};n.sizes&&(t.format=(0,i.y$)(n.sizes).map(i.cf)),n.hasOwnProperty("pos")&&(t.pos=n.pos),e.banner=(0,i.D9)(t,e.banner)}}},pbadslot:{fn(e){const t=e.ext?.data?.pbadslot;t&&"string"==typeof t||delete e.ext?.data?.pbadslot}},secure:{fn(e,t){e.secure=e.secure??1}}},[d.WR]:{mediaType:{priority:99,fn:a.K},banner:{fn:function(){let{createPixel:e=(e=>(0,i.Tz)(decodeURIComponent(e),i.Bk))}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r){t.mediaType===s.D4&&(r.adm&&r.nurl?(t.ad=r.adm,t.ad+=e(r.nurl)):r.adm?t.ad=r.adm:r.nurl&&(t.adUrl=r.nurl))}}()},props:{fn(e,t,r){Object.entries({requestId:r.bidRequest?.bidId,seatBidId:t.id,cpm:t.price,currency:r.ortbResponse.cur||r.currency,width:t.w,height:t.h,dealId:t.dealid,creative_id:t.crid,creativeId:t.crid,burl:t.burl,ttl:t.exp||r.ttl,netRevenue:r.netRevenue}).filter((e=>{let[t,r]=e;return void 0!==r})).forEach((t=>{let[r,n]=t;return e[r]=n})),e.meta||(e.meta={}),t.adomain&&(e.meta.advertiserDomains=t.adomain),t.ext?.dsa&&(e.meta.dsa=t.ext.dsa),t.cat&&(e.meta.primaryCatId=t.cat[0],e.meta.secondaryCatIds=t.cat.slice(1)),t.attr&&(e.meta.attr=t.attr)}}}};c[d.Tb].native={fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.s6)return;let n=t.nativeOrtbRequest;n&&(n=Object.assign({},r.nativeRequest,n),n.assets?.length?e.native=(0,i.D9)({},{request:JSON.stringify(n),ver:n.ver},e.native):(0,i.JE)("mediaTypes.native is set, but no assets were specified. Native request skipped.",t))}},c[d.WR].native={fn:function(e,t){if(e.mediaType===s.s6){let r;if(r="string"==typeof t.adm?JSON.parse(t.adm):t.adm,!(0,i.Qd)(r)||!Array.isArray(r.assets))throw new Error("ORTB native response contained no assets");e.native={ortb:r}}}},c[d.Tb].video={fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.G_)return;const n=t?.mediaTypes?.video;if(!(0,i.Im)(n)){const t=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return o.Zy.has(t)})));if(n.playerSize){const e=(0,i.y$)(n.playerSize).map(i.cf);e.length>1&&(0,i.JE)("video request specifies more than one playerSize; all but the first will be ignored"),Object.assign(t,e[0])}e.video=(0,i.D9)(t,e.video)}}},c[d.WR].video={fn:function(e,t,r){e.mediaType===s.G_&&(r?.imp?.video?.w&&r?.imp?.video?.h&&([e.playerWidth,e.playerHeight]=[r.imp.video.w,r.imp.video.h]),t.adm&&(e.vastXml=t.adm),t.nurl&&(e.vastUrl=t.nurl))}};var u=r(9466);function m(){let{context:e={},processors:t=f,overrides:r={},imp:s,request:o,bidResponse:a,response:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const c=new WeakMap;function u(e,i,s,o){let a;return function(){return null==a&&(a=function(){let a=s.bind(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.has(e)){const t=Object.entries(e);t.sort(((e,t)=>(e=e[1].priority||0)===(t=t[1].priority||0)?0:e>t?-1:1)),n.set(e,t.map((e=>{let[t,r]=e;return[t,r.fn]})))}const r=n.get(e).filter((e=>{let[r]=e;return!t.hasOwnProperty(r)||t[r]})).map((function(e){let[r,n]=e;return t.hasOwnProperty(r)?t[r].bind(this,n):n}));return function(){const e=Array.from(arguments);r.forEach((t=>{t.apply(this,e)}))}}(t()[e]||{},r[e]||{}));return i&&(a=i.bind(this,a)),function(){try{return a.apply(this,arguments)}catch(e){o.call(this,e,...arguments)}}}()),a.apply(this,arguments)}}const m=u(d.Tb,s,(function(e,t,r){const n={};return e(n,t,r),n}),(function(e,t,r){(0,i.vV)("Error while converting bidRequest to ORTB imp; request skipped.",{error:e,bidRequest:t,context:r})})),l=u(d.S3,o,(function(e,t,r,n){const i={imp:t};return e(i,r,n),i}),(function(e,t,r,n){throw(0,i.vV)("Error while converting to ORTB request",{error:e,imps:t,bidderRequest:r,context:n}),e})),b=u(d.WR,a,(function(e,t,r){const n={};return e(n,t,r),n}),(function(e,t,r){(0,i.vV)("Error while converting ORTB seatbid.bid to bidResponse; bid skipped.",{error:e,bid:t,context:r})})),y=u(d.Cf,p,(function(e,t,r,n){const i={bids:t};return e(i,r,n),i}),(function(e,t,r,n){throw(0,i.vV)("Error while converting from ORTB response",{error:e,bidResponses:t,ortbResponse:r,context:n}),e}));return{toORTB(t){let{bidderRequest:r,bidRequests:n,context:s={}}=t;n=n||r.bids;const o={req:Object.assign({bidRequests:n},e,s),imp:{}};o.req.impContext=o.imp;const a=n.map((t=>{const n=Object.assign({bidderRequest:r,reqContext:o.req},e,s),a=m(t,n);if(null!=a){if(a.hasOwnProperty("id"))return Object.assign(n,{bidRequest:t,imp:a}),o.imp[a.id]=n,a;(0,i.vV)("Converted ORTB imp does not specify an id, ignoring bid request",t,a)}})).filter(Boolean),d=l(a,r,o.req);return o.req.bidderRequest=r,null!=d&&c.set(d,o),d},fromORTB(e){let{request:t,response:r}=e;const n=c.get(t);if(null==n)throw new Error("ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`");function s(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign(e,{ortbRequest:t},r)}const o=Object.fromEntries((t.imp||[]).map((e=>[e.id,e]))),a=(r.seatbid||[]).flatMap((e=>(e.bid||[]).map((t=>{if(o.hasOwnProperty(t.impid)&&n.imp.hasOwnProperty(t.impid))return b(t,s(n.imp[t.impid],{imp:o[t.impid],seatbid:e,ortbResponse:r}));(0,i.vV)("ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid",t)})))).filter(Boolean);return y(a,r,s(n.req))}}}const f=(0,i.Bj)((()=>(0,u.U)(c,(0,d.yB)(d.qN))))},9466:(e,t,r)=>{r.d(t,{U:()=>i});var n=r(1e3);function i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const s=t.shift(),o=t.length>1?i(...t):t[0];return Object.fromEntries(n.zt.map((e=>[e,Object.assign({},s[e],o[e])])))}},5561:(e,t,r)=>{r.d(t,{K:()=>s,X:()=>i});var n=r(1371);const i={1:n.D4,2:n.G_,4:n.s6};function s(e,t,r){if(e.mediaType)return;const n=r.mediaType;if(!n&&!i.hasOwnProperty(t.mtype))throw new Error("Cannot determine mediaType for response");e.mediaType=n||i[t.mtype]}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5889],{4406:(e,t,r)=>{r.d(t,{FE:()=>i});var n=r(433),s=r(3172),o=r(1069);const u=Object.freeze([...["device.sua","source.schain","regs.gdpr","regs.us_privacy","regs.gpp","regs.gpp_sid","user.consent","user.eids"].map((e=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t)=>`${e}.ext.${t}`;const[r,o]=function(e){const t=e.split(".");return[t.slice(0,t.length-1).join("."),t[t.length-1]]}(e);return t=t(r,o),e=>{const u=(0,n.A)(e,r);if(null!=u?.[o])return(0,s.J)(e,t,u[o]),()=>delete u[o]}}(e))),...["app","content","site","user"].map((function(e){return t=>{const r=t[e]?.kwarray;if(null!=r){let n=(t[e].keywords||"").split(",");return Array.isArray(r)&&n.push(...r),t[e].keywords=n.join(","),()=>delete t[e].kwarray}}}))]);function i(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;return function(r){return t.forEach((t=>{try{const n=t(r);"function"==typeof n&&e&&n()}catch(e){(0,o.vV)("Error translating request to ORTB 2.5",e)}})),r}}i()}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5957],{6400:(t,e,s)=>{function n(){const t=[];return{submit(e,s,n){const u=[s,setTimeout((()=>{t.splice(t.indexOf(u),1),n()}),e)];t.push(u)},resume(){for(;t.length;){const[e,s]=t.shift();clearTimeout(s),e()}}}}s.d(e,{L:()=>n})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1225],{6743:(n,t,e)=>{e.d(t,{hZ:()=>u,x4:()=>h});var r=e(7873),l=e(2713);function u(n,t,e){let l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t===e)return n;let u=n;try{u=(0,r.m)().convertCurrency(n,t,e)}catch(n){if(!l)throw n}return u}function h(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n=>[n.cpm,n.currency],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;return function(r,l){return null==n&&(n=l),e(r,l,n,t)}}();return(0,l.NV)((e=>t.apply(null,n(e))))}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2284],{2728:(e,t,n)=>{n.d(t,{G:()=>r});const r='(()=>{"use strict";const e="Prebid Native",t={title:"text",data:"value",img:"url",video:"vasttag"};function n(e,t){return new Promise(((n,r)=>{const i=t.createElement("script");i.onload=n,i.onerror=r,i.src=e,t.body.appendChild(i)}))}function r(e,t,r,i,o=n){const{rendererUrl:s,assets:a,ortb:d,adTemplate:c}=t,l=i.document;return s?o(s,l).then((()=>{if("function"!=typeof i.renderAd)throw new Error(`Renderer from \'${s}\' does not define renderAd()`);const e=a||[];return e.ortb=d,i.renderAd(e)})):Promise.resolve(r(c??l.body.innerHTML))}window.render=function({adId:n,native:i},{sendMessage:o},s,a=r){const{head:d,body:c}=s.document,l=()=>o(e,{action:"resizeNativeHeight",height:c.offsetHeight,width:c.offsetWidth}),u=function(e,{assets:n=[],ortb:r,nativeKeys:i={}}){const o=Object.fromEntries(n.map((({key:e,value:t})=>[e,t])));let s=Object.fromEntries(Object.entries(i).flatMap((([t,n])=>{const r=o.hasOwnProperty(t)?o[t]:void 0;return[[`##${n}##`,r],[`${n}:${e}`,r]]})));return r&&Object.assign(s,{"##hb_native_linkurl##":r.link?.url,"##hb_native_privacy##":r.privacy},Object.fromEntries((r.assets||[]).flatMap((e=>{const n=Object.keys(t).find((t=>e[t]));return[n&&[`##hb_native_asset_id_${e.id}##`,e[n][t[n]]],e.link?.url&&[`##hb_native_asset_link_id_${e.id}##`,e.link.url]].filter((e=>e))})))),s=Object.entries(s).concat([[/##hb_native_asset_(link_)?id_\\d+##/g]]),function(e){return s.reduce(((e,[t,n])=>e.replaceAll(t,n||"")),e)}}(n,i);return d&&(d.innerHTML=u(d.innerHTML)),a(n,i,u,s).then((t=>{c.innerHTML=t,"function"==typeof s.postRenderAd&&s.postRenderAd({adId:n,...i}),s.document.querySelectorAll(".pb-click").forEach((t=>{const n=t.getAttribute("hb_native_asset_id");t.addEventListener("click",(()=>o(e,{action:"click",assetId:n})))})),o(e,{action:"fireNativeImpressionTrackers"}),"complete"===s.document.readyState?l():s.onload=l}))}})();'}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[7618],{4610:(e,i,d)=>{d.d(i,{m:()=>v});var t=d(9466),r=d(1e3),n=d(433),s=d(1069),a=d(5825),b=d(1445),o=d(3272),p=d(3172);var c=d(3323);var f=d(7873);var g=d(1371);const l={[r.S3]:{extPrebid:{fn:function(e,i){(0,p.J)(e,"ext.prebid",(0,s.D9)({auctiontimestamp:i.auctionStart,targeting:{includewinners:!0,includebidderkeys:!1}},e.ext?.prebid)),o.$W.getConfig("debug")&&(e.ext.prebid.debug=!0)}},extPrebidChannel:{fn:function(e){(0,p.J)(e,"ext.prebid.channel",Object.assign({name:"pbjs",version:(0,f.m)().version},e.ext?.prebid?.channel))}},extPrebidAliases:{fn:function(e,i,d){let{am:t=b.Ay}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t.aliasRegistry[i.bidderCode]){const d=t.bidderRegistry[i.bidderCode];if(!d||!d.getSpec().skipPbsAliasing){(0,p.J)(e,`ext.prebid.aliases.${i.bidderCode}`,t.aliasRegistry[i.bidderCode]);const r=o.$W.getConfig(`gvlMapping.${i.bidderCode}`)||d?.getSpec?.().gvlid;r&&(0,p.J)(e,`ext.prebid.aliasgvlids.${i.bidderCode}`,r)}}}}},[r.Tb]:{params:{fn:c.W},adUnitCode:{fn:function(e,i){const d=i.adUnitCode;d&&(0,p.J)(e,"ext.prebid.adunitcode",d)}}},[r.WR]:{mediaType:{fn:a.o,priority:99},videoCache:{fn:function(e,i){if(e.mediaType===g.G_){let{cacheId:d,url:t}=(0,n.A)(i,"ext.prebid.cache.vastXml")||{};if(!d||!t){const{hb_uuid:e,hb_cache_host:r,hb_cache_path:s}=(0,n.A)(i,"ext.prebid.targeting")||{};e&&r&&s&&(d=e,t=`https://${r}${s}?uuid=${e}`)}d&&t&&Object.assign(e,{videoCacheKey:d,vastUrl:t})}},priority:-10},bidderCode:{fn(e,i,d){e.bidderCode=d.seatbid.seat,e.adapterCode=(0,n.A)(i,"ext.prebid.meta.adaptercode")||d.bidRequest?.bidder||e.bidderCode}},pbsBidId:{fn(e,i){const d=(0,n.A)(i,"ext.prebid.bidid");(0,s.O8)(d)&&(e.pbsBidId=d)}},adserverTargeting:{fn(e,i){const d=(0,n.A)(i,"ext.prebid.targeting");(0,s.Qd)(d)&&(e.adserverTargeting=d)}},extPrebidMeta:{fn(e,i){e.meta=(0,s.D9)({},(0,n.A)(i,"ext.prebid.meta"),e.meta)}},pbsWurl:{fn(e,i){const d=(0,n.A)(i,"ext.prebid.events.win");(0,s.O8)(d)&&(e.pbsWurl=d)}}},[r.Cf]:{serverSideStats:{fn(e,i,d){Object.entries({errors:"serverErrors",responsetimemillis:"serverResponseTimeMs"}).forEach((e=>{let[t,r]=e;const s=(0,n.A)(i,`ext.${t}.${d.bidderRequest.bidderCode}`);s&&(d.bidderRequest[r]=s,d.bidRequests.forEach((e=>e[r]=s)))}))}}}};var u=d(9766);const v=(0,s.Bj)((()=>(0,t.U)((0,u.T)(),l,(0,r.yB)(r.e4))))},5825:(e,i,d)=>{d.d(i,{o:()=>s,s:()=>n});var t=d(1371),r=d(5561);const n={[t.D4]:"banner",[t.s6]:"native",[t.G_]:"video"};function s(e,i,d){let s=d.mediaType;s||(s=r.X.hasOwnProperty(i.mtype)?r.X[i.mtype]:i.ext?.prebid?.type,n.hasOwnProperty(s)||(s=t.D4)),e.mediaType=s}},3323:(e,i,d)=>{d.d(i,{W:()=>r});var t=d(3172);function r(e,i){let d=i.params;d&&(0,t.J)(e,`ext.prebid.bidder.${i.bidder}`,d)}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2183],{7668:(e,t,i)=>{i.d(t,{VU:()=>u,c5:()=>m,q0:()=>l,yP:()=>c});var r=i(1069),n=i(433),o=i(1371),s=i(3272);function a(e,t){if(!(0,r.fp)(e.getFloor))return 0;let i=e.getFloor({currency:"USD",mediaType:t,size:"*"});return(0,r.Qd)(i)&&"USD"===i.currency&&i.floor?i.floor:0}function d(e){return""!==e&&void 0!==e?encodeURIComponent(e):""}function p(e,t){if(!e)return!1;const i="include"===e.filter,n=(0,r.cy)(e.bidders)?e.bidders:[t];return i&&(0,r.gR)(n,t)}function c(e,t,i){const r=t.startsWith("http")?"":"https://",n=t.endsWith("/")?t:`${t}/`;return e?`${r}${n}${i.TEST}`:`${r}${n}${i.PRODUCTION}`}function m(e,t){const i=[];return e.length&&e.forEach((e=>{i.push(function(e,t){const{params:i}=e,s=function(e){return e.mediaTypes&&e.mediaTypes.banner}(e)?o.D4:o.G_,d=function(e,t){let i=[];return(0,n.A)(e,`mediaTypes.${t}.sizes`)?i=e.mediaTypes[t].sizes:Array.isArray(e.sizes)&&e.sizes.length>0&&(i=e.sizes),i}(e,s);isNaN(i.floorPrice)&&(i.floorPrice=0);const p={mediaType:s,adUnitCode:(0,r.u5)("adUnitCode",e),sizes:d,floorPrice:Math.max(a(e,s),i.floorPrice),bidId:(0,r.u5)("bidId",e),loop:e.bidderRequestsCount||0,bidderRequestId:(0,r.u5)("bidderRequestId",e),transactionId:e.ortb2Imp?.ext?.tid||"",coppa:0},c=(0,n.A)(e,`mediaTypes.${s}.pos`);c&&(p.pos=c);const m=(0,n.A)(e,"ortb2Imp.ext.gpid");m&&(p.gpid=m);const u=i.placementId||(0,n.A)(e,`mediaTypes.${s}.name`);u&&(p.placementId=u);const l=(0,n.A)(e,`mediaTypes.${s}.mimes`);l&&(p.mimes=l);const g=(0,n.A)(e,`mediaTypes.${s}.api`);g&&(p.api=g);const f=(0,n.A)(e,"ortb2.device.sua");f&&(p.sua=f);const y=(0,n.A)(e,"ortb2.regs.coppa");y&&(p.coppa=1);if(s===o.G_){const t=(0,n.A)(e,"mediaTypes.video.playbackmethod");let i;Array.isArray(t)&&(0,r.Fq)(t[0])?i=t[0]:(0,r.Fq)(t)&&(i=t),i&&(p.playbackMethod=i);const o=(0,n.A)(e,"mediaTypes.video.placement");o&&(p.placement=o);const s=(0,n.A)(e,"mediaTypes.video.minduration");s&&(p.minDuration=s);const a=(0,n.A)(e,"mediaTypes.video.maxduration");a&&(p.maxDuration=a);const d=(0,n.A)(e,"mediaTypes.video.skip");d&&(p.skip=d);const c=(0,n.A)(e,"mediaTypes.video.linearity");c&&(p.linearity=c);const m=(0,n.A)(e,"mediaTypes.video.protocols");m&&(p.protocols=m);const u=(0,n.A)(e,"mediaTypes.video.plcmt");u&&(p.plcmt=u)}return p}(e))})),i}function u(e,t,i,r,n){const o={requestId:e.requestId,cpm:e.cpm,currency:e.currency||t,width:e.width,height:e.height,ttl:e.ttl||i,creativeId:e.creativeId,netRevenue:e.netRevenue||!0,nurl:e.nurl,mediaType:e.mediaType,meta:{mediaType:e.mediaType}};return e.mediaType===r?o.vastXml=e.vastXml:e.mediaType===n&&(o.ad=e.ad),e.adomain&&e.adomain.length&&(o.meta.advertiserDomains=e.adomain),o}function l(e,t,i){const o=window.location.hostname,{syncEnabled:a,filterSettings:c}=s.$W.getConfig("userSync")||{},{bidderCode:m}=t,u=e.params,l=t.timeout,g={wrapper_type:"prebidjs",wrapper_vendor:"tmzr",wrapper_version:"9.23.0",adapter_version:i||"6.0.0",auction_start:t.auctionStart,publisher_id:u.org,publisher_name:o,site_domain:o,dnt:"yes"===navigator.doNotTrack||"1"===navigator.doNotTrack||"1"===navigator.msDoNotTrack?1:0,device_type:(f=navigator.userAgent,/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(f.toLowerCase())?"5":/iphone|ipod|android|blackberry|opera|mini|windows\\sce|palm|smartphone|iemobile/i.test(f.toLowerCase())?"4":/smart[-_\\s]?tv|hbbtv|appletv|googletv|hdmi|netcast|viera|nettv|roku|\\bdtv\\b|sonydtv|inettvbrowser|\\btv\\b/i.test(f.toLowerCase())?"3":"1"),ua:navigator.userAgent,is_wrapper:!!u.isWrapper,session_id:u.sessionId||(0,r.u5)("bidderRequestId",e),tmax:l};var f;const y=(0,r.u5)("userId",e);y&&(g.userIds=JSON.stringify(y));const v=t.ortb2||{};if(v.site&&(g.site_metadata=JSON.stringify(v.site)),v.user&&(g.user_metadata=JSON.stringify(v.user)),v.device&&(g.device=v.device),a){const e=function(e,t){const i="image";return e&&["all","iframe"].some((i=>p(e[i],t)))?"iframe":e&&e[i]&&!p(e[i],t)?void 0:"pixel"}(c,m);e&&(g.cs_method=e)}return t.uspConsent&&(g.us_privacy=t.uspConsent),t&&t.gdprConsent&&t.gdprConsent.gdprApplies&&(g.gdpr=t.gdprConsent.gdprApplies,g.gdpr_consent=t.gdprConsent.consentString),t.gppConsent?(g.gpp=t.gppConsent.gppString,g.gpp_sid=t.gppConsent.applicableSections):t.ortb2?.regs?.gpp&&(g.gpp=t.ortb2.regs.gpp,g.gpp_sid=t.ortb2.regs.gpp_sid),u.ifa&&(g.ifa=u.ifa),e.schain&&(g.schain=function(e){if((0,r.Im)(e))return"";let t=`${e.ver},${e.complete}`;return e.nodes.forEach((e=>{t+="!",t+=`${d(e.asi)},`,t+=`${d(e.sid)},`,t+=`${d(e.hp)},`,t+=`${d(e.rid)},`,t+=`${d(e.name)},`,t+=`${d(e.domain)}`})),t}(e.schain)),t&&t.refererInfo&&(g.referrer=(0,n.A)(t,"refererInfo.ref"),g.page_url=(0,n.A)(t,"refererInfo.page")||(0,n.A)(window,"location.href"),g.site_domain=(0,n.A)(t,"refererInfo.domain")||(0,n.A)(window,"location.hostname")),g}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2931],{9192:(e,r,i)=>{i.d(r,{xv:()=>s,Qz:()=>T});var t=i(433),a=i(1069),c=i(1371);function n(e,r){return(0,a.ZU)(e,r)}const A=55,s={NATIVE:{IMAGE_TYPE:{ICON:1,MAIN:3},ASSET_ID:{TITLE:1,IMAGE:2,ICON:3,BODY:4,SPONSORED:5,CTA:6},DATA_ASSET_TYPE:{SPONSORED:1,DESC:2,CTA_TEXT:12}}};function T(e){return{requestId:e.impid,mediaType:c.s6,cpm:e.price,creativeId:e.adid||e.crid,width:1,height:1,ttl:A,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD",native:E(n(e.adm,e.price))}}function E(e){try{const r=JSON.parse(e).native;if(r){const e={clickUrl:encodeURI(r.link.url),impressionTrackers:r.imptrackers||r.eventtrackers[0].url};return r.link.clicktrackers&&(e.clickTrackers=r.link.clicktrackers[0]),r.assets.forEach((r=>{switch(r.id){case s.NATIVE.ASSET_ID.TITLE:e.title=(0,t.A)(r,"title.text");break;case s.NATIVE.ASSET_ID.IMAGE:e.image={url:encodeURI(r.img.url),width:(0,t.A)(r,"img.w"),height:(0,t.A)(r,"img.h")};break;case s.NATIVE.ASSET_ID.ICON:e.icon={url:encodeURI(r.img.url),width:(0,t.A)(r,"img.w"),height:(0,t.A)(r,"img.h")};break;case s.NATIVE.ASSET_ID.BODY:e.body=(0,t.A)(r,"data.value");break;case s.NATIVE.ASSET_ID.SPONSORED:e.sponsoredBy=(0,t.A)(r,"data.value");break;case s.NATIVE.ASSET_ID.CTA:e.cta=(0,t.A)(r,"data.value")}})),e}}catch(e){(0,a.fH)("Error in bidUtils interpretNativeAd"+e)}}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[107],{5820:(o,n,i)=>{function t(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}i.d(n,{$:()=>t})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5881],{3937:(e,n,t)=>{t.d(n,{Qo:()=>a});var r=t(5139),o=t(6811),c=t(6953),i=t(1069),l=t(433),u=t(3172);function s(e){return Object.assign({wp:!0,run(e,n,t,r,o){const s=t&&t.hasOwnProperty(r),f=s?t[r]:void 0,a=s&&null!=f&&"object"==typeof f?(0,i.Go)(f):f;return function(){const t=null==n?e:(0,l.A)(e,n),d=t&&(0,c.$V)(t[r]),h=d?t[r]:void 0;!s&&d&&o()?delete t[r]:s===d&&h===f&&(0,i.bD)(h,a)||!o()||(0,u.J)(e,(null==n?[]:[n]).concat(r).join("."),a)}}},e)}const f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.io;return function(e){const n={},t=[];e.forEach((e=>{e.wp&&t.push(e),e.get&&e.paths.forEach((t=>{let r=n;t.split(".").forEach((e=>{r.children=r.children||{},r.children[e]=r.children[e]||{},r=r.children[e]})),r.rule=e}))}));const r=(0,c.nl)(t);function o(e,n,t){return new Proxy(e,{get(e,r,i){const l=Reflect.get(e,r,i);if(n.hasOwnProperty(r)){const{children:e,rule:i}=n[r];if(e&&null!=l&&"object"==typeof l)return o(l,e,t);if(i&&(0,c.$V)(l)&&t(i))return i.get(l)}return l}})}return function(e){const t={};for(var i=arguments.length,l=new Array(i>1?i-1:0),u=1;u<i;u++)l[u-1]=arguments[u];return{obj:o(e,n.children||{},(0,c.uD)(t,...l)),verify:(s=r(t,e,...l),function(){s.forEach((e=>e()))})};var s}}((0,c.ZP)(e).concat(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.io;return[{name:o.yl,paths:c.Vx,applies:(0,c.p4)(o.yl,e)},{name:o.qX,paths:c.l7,applies:(0,c.p4)(o.qX,e)}].map(s)}(e)))}();const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return function(n,t){n.global=n.global||{},n.bidder=n.bidder||{};const r=new Set(Object.keys(n.bidder)),o=[];function c(n){const r=e(n,t);return o.push(r.verify),r.obj}const l={global:c(n.global),bidder:Object.fromEntries(Object.entries(n.bidder).map((e=>{let[n,t]=e;return[n,c(t)]})))};return{obj:l,verify(){Object.entries(l.bidder).filter((e=>{let[n]=e;return!r.has(n)})).forEach((r=>{let[o,c]=r;const l={},u=e(l,t);(0,i.D9)(u.obj,c),u.verify(),n.bidder[o]=l})),o.forEach((e=>e()))}}}}()}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[6550],{8702:(p,n,t)=>{function e(p,n,t){let e={};return p&&("boolean"==typeof p.gdprApplies&&(e.gdpr=Number(p.gdprApplies)),"string"==typeof p.consentString&&(e.gdpr_consent=p.consentString)),n&&(e.us_privacy=encodeURIComponent(n)),t?.gppString&&(e.gpp=t.gppString,e.gpp_sid=t.applicableSections?.toString()),e}t.d(n,{d:()=>e})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[817],{848:(e,n,o)=>{function r(e,n){if(!e?.nodes)return null;return`${e.ver},${e.complete}!`+e.nodes.map((e=>n.map((n=>e[n]?encodeURIComponent(e[n]).replace(/!/g,"%21"):"")).join(","))).join("!")}o.d(n,{v:()=>r})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[9498],{11:(r,e,a)=>{a.d(e,{Z:()=>t});var i=a(1069);const t={mimes:r=>Array.isArray(r)&&r.length>0&&r.every((r=>"string"==typeof r)),minduration:r=>(0,i.Fq)(r),maxduration:r=>(0,i.Fq)(r),protocols:r=>Array.isArray(r)&&r.every((r=>r>=1&&r<=10)),w:r=>(0,i.Fq)(r),h:r=>(0,i.Fq)(r),startdelay:r=>(0,i.Fq)(r),linearity:r=>-1!==[1,2].indexOf(r),skip:r=>-1!==[0,1].indexOf(r),skipmin:r=>(0,i.Fq)(r),skipafter:r=>(0,i.Fq)(r),sequence:r=>(0,i.Fq)(r),battr:r=>Array.isArray(r)&&r.every((r=>r>=1&&r<=17)),maxextended:r=>(0,i.Fq)(r),minbitrate:r=>(0,i.Fq)(r),maxbitrate:r=>(0,i.Fq)(r),boxingallowed:r=>-1!==[0,1].indexOf(r),playbackmethod:r=>Array.isArray(r)&&r.every((r=>r>=1&&r<=6)),playbackend:r=>-1!==[1,2,3].indexOf(r),api:r=>Array.isArray(r)&&r.every((r=>r>=1&&r<=6))}}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4577],{6568:(n,e,t)=>{function u(n,e,t){return t?n+e+"="+encodeURIComponent(t)+"&":n}t.d(e,{v:()=>u})}}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4262],{7024:(e,o,r)=>{var t=r(7873),n=r(1069),s=r(8044),a=r(9214),p=r(6916),i=r(2938),c=r(5569),d=r(2339);const l="33acrossId",u="https://lexicon.33across.com/v1/envelope",g="33acrossIdFp",v="33acrossIdTp",f=!0,m=!0,S=(0,i.vM)({moduleType:c.fW,moduleName:l}),C={domainOverride:(0,d.w)(S,l)};function b(e){if(S.cookiesAreEnabled()){const o=new Date(0).toUTCString();S.setCookie(e,"",o,"Lax",C.domainOverride())}S.removeDataFromLocalStorage(e)}function I(e,o){let r;return o.find((o=>(o===i.X0?r=S.getCookie(e):o===i.qk&&(r=S.getDataFromLocalStorage(e)),!!r))),r}function D(e,o,r){o?function(e,o,r){let{enabledStorageTypes:t,expires:n}=r;t.forEach((r=>{if(r===i.X0){const r=864e5*n,t=new Date(Date.now()+r);S.setCookie(e,o,t.toUTCString(),"Lax",C.domainOverride())}else r===i.qk&&S.setDataInLocalStorage(e,o)}))}(e,o,r):b(e)}const k={name:l,gvlid:58,decode:e=>({[l]:{envelope:e}}),getId(e,o){let{params:r={},enabledStorageTypes:t=[],storage:a={}}=e;if("string"!=typeof r.pid)return void(0,n.vV)(`${l}: Submodule requires a partner ID to be defined`);if(!0===o?.gdprApplies)return void(0,n.JE)(`${l}: Submodule cannot be used where GDPR applies`);const{pid:i,storeFpid:c=f,storeTpid:d=m,apiUrl:S=u}=r;return{callback(e){(0,s.g4)(1e4)(S,{success(o){let r={};try{r=function(e){return e.succeeded?e.data.envelope?{envelope:e.data.envelope,fp:e.data.fp,tp:e.data.tp}:((0,n.OG)(`${l}: No envelope was received`),{}):("Cookied User"==e.error?(0,n.OG)(`${l}: Unsuccessful response`.concat(" ",e.error)):(0,n.vV)(`${l}: Unsuccessful response`.concat(" ",e.error)),{})}(JSON.parse(o))}catch(e){(0,n.vV)(`${l}: ID reading error:`,e)}r.envelope||b(l),c&&D(g,r.fp,{enabledStorageTypes:t,expires:a.expires}),d&&D(v,r.tp,{enabledStorageTypes:t,expires:a.expires}),e(r.envelope)},error(o){(0,n.vV)(`${l}: ID error response`,o),e()}},function(e,o,r){const t=p.t6.getConsentData(),n=p.et.getCoppa(),s=p.ad.getConsentData(),a={pid:e,gdpr:0,src:"pbjs",ver:"9.23.0",coppa:Number(n)};if(t&&(a.us_privacy=t),s){const{gppString:e="",applicableSections:o=[]}=s;a.gpp=e,a.gpp_sid=encodeURIComponent(o.join(","))}o?.consentString&&(a.gdpr_consent=o.consentString);const i=I(g,r);i&&(a.fp=encodeURIComponent(i));const c=I(v,r);return c&&(a.tp=encodeURIComponent(c)),a}(i,o,t),{method:"GET",withCredentials:!0})}}},domainOverride:C.domainOverride,eids:{"33acrossId":{source:"33across.com",atype:1,getValue:function(e){return e.envelope}}}};(0,a.bz)("userId",k),(0,t.E)("33acrossIdSystem")}},e=>{e.O(0,[2764,802,1085],(()=>{return o=7024,e(e.s=o);var o}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[7077],{3577:(t,n,i)=>{var e=i(7873),o=i(3978),d=i(433),a=i(1069),r=i(1371),s=i(8969),c=i(8910),u=i(1445),l=i(8044),p=i(1252);const A=Object.keys(s.qY).map((t=>s.qY[t])),g="https://c.4dex.io/pba.gif",m="USD",b="adagio",f=function(){return o.B},y={auctions:{},getAuction:function(t,n){return this.auctions[t][n]},getBiddersFromAuction:function(t,n){return this.getAuction(t,n).bdrs.split(",")},getAllAdUnitCodes:function(t){return Object.keys(this.auctions[t])},updateAuction:function(t,n,i){this.auctions[t][n]={...this.auctions[t][n],...i}},auctionIdReferences:{},addPrebidAuctionIdRef(t,n){this.auctionIdReferences[t]=n},getAdagioAuctionId(t){return this.auctionIdReferences[t]},auctionByAdunit:{},getAuctionIdByAdunit:(t,n)=>y.auctionByAdunit[t]?{auctionId:y.auctionByAdunit[t],adUnitCode:t}:y.auctionByAdunit[n]?{auctionId:y.auctionByAdunit[n],adUnitCode:n}:{auctionId:null,adUnitCode:null}},_=window.encodeURIComponent,I=t=>E(t),h=(t,n)=>(0,d.A)(y,`auctions.${t}.${n}`,!1),C=t=>(0,d.A)(y,`auctions.${t}`,!1);function v(t,n){const i={};return t.filter((t=>{const e=n(t);return!i.hasOwnProperty(e)&&(i[e]=!0)}))}function E(t){return!!t&&(t+u.Ay.aliasRegistry[t]).toLowerCase().includes(b)}function U(t){return{banner:"ban",outstream:"vidout",instream:"vidin",adpod:"vidadpod",native:"nat"}[t]||t}function w(t,n){return Object.keys(t).reduce(((i,e)=>e.startsWith(n)?(i[e]=t[e],i):(i[`${n}${e}`]=t[e],i)),{})}function R(t,n){let i=t;return"string"==typeof n&&n.toUpperCase()!==m&&(i="function"==typeof(0,e.m)().convertCurrency?parseFloat(Number((0,e.m)().convertCurrency(t,n,m))).toFixed(3):null),i}function j(t){return{netCpm:R(t.cpm,t.currency),orginalCpm:R(t.originalCpm,t.originalCurrency)}}function q(t,n){y.updateAuction(t,n,{v:(y.getAuction(t,n).v||0)+1}),function(t){if(!t.org_id||!t.site)return void(0,a.fH)("request is missing org_id or site, skipping beacon.");t=Object.keys(t).reduce(((n,i)=>(null!==t[i]&&(n[i]=t[i]),n)),{});const n=`${g}?${Object.keys(t).map((n=>`${n}=${_(t[n])}`)).join("&")}`;(0,l.RD)(n,null,null,{method:"GET"})}(y.getAuction(t,n))}function O(t){return(0,d.A)(t,"latestTargetedAuctionId")||(0,d.A)(t,"auctionId")}function k(t){const{auctionId:n,adUnitCode:i}=y.getAuctionIdByAdunit(t.slot.getAdUnitPath(),t.slot.getSlotElementId());if(!n){const n=`${t.slot.getAdUnitPath()} - ${t.slot.getSlotElementId()}`;return void(0,a.JE)("Could not find configured ad unit matching GAM render of slot: "+n)}y.updateAuction(n,i,{adsrv:"gam",adsrv_empty:t.isEmpty});const e=y.getAuction(n,i);void 0!==e?.loa_e&&q(n,i)}let B=Object.assign((0,c.Ay)({emptyUrl:"",analyticsType:"endpoint"}),{track:function(t){const{eventType:n,args:i}=t;try{switch(n){case s.qY.AUCTION_INIT:!function(t){const n=(0,o.h)(),i=t.auctionId,e=new Set(t.bidderRequests.map((t=>t.bids.map((t=>t.adUnitCode)))).flat()),a=t.bidderRequests.find((t=>E(t.bidderCode))),s=(0,d.A)(t.bidderRequests[0],"ortb2.site.ext.data.adg_rtd.uid");y.addPrebidAuctionIdRef(i,s),y.auctions[i]={},e.forEach((e=>{const o=t.adUnits.filter((t=>t.code===e)),c=o.reduce(((t,n)=>t.concat(n.bids.map((t=>t.bidder)))),[]),l=[...new Set(c)],p=o.map((t=>t.mediaTypes)),A=v(p.map((t=>Object.keys(t))).flat(),(t=>t)).map((t=>U(t))).sort(),g=v(p.filter((t=>t.hasOwnProperty(r.D4)&&t[r.D4].hasOwnProperty("sizes"))).map((t=>t[r.D4].sizes.map((t=>t.join("x"))))).flat(),(t=>t)).sort(),m=l.sort(),b=m.map((n=>{const i=t.bidderRequests.find((t=>t.bidderCode===n));return i?i.bids[0].src:null})).join(","),_=m.map((t=>u.Ay.resolveAlias(t))).join(","),I=s||i,h=(0,d.A)(t.bidderRequests[0],"ortb2.site.ext.data.adg_rtd.session",{}),C={org_id:B.options.organizationId,site:B.options.site,v:0,pbjsv:"9.23.0",pv_id:f().pageviewId,auct_id:I,adu_code:e,url_dmn:n.location.hostname,mts:A.join(","),ban_szs:g.join(","),bdrs:m.join(","),pgtyp:(0,d.A)(t.bidderRequests[0],"ortb2.site.ext.data.pagetype",null),plcmt:(0,d.A)(o[0],"ortb2Imp.ext.data.placement",null),t_n:h.testName||null,t_v:h.testVersion||null,s_id:h.id||null,s_new:h.new||null,bdrs_src:b,bdrs_code:_};if(a&&a.bids){const t=a.bids.filter((t=>t.adUnitCode===e));if(t.length>0){const n=v(t.map((t=>Object.keys(t.mediaTypes))).flat(),(t=>t)).flat().map((t=>U(t))).sort();C.adg_mts=n.join(","),C.org_id=C.org_id||t[0].params.organizationId,C.site=C.site||t[0].params.site}}y.auctions[i][e]=C,y.auctionByAdunit[e]=i,q(i,e)}))}(i);break;case s.qY.BID_RESPONSE:!function(t){I(t.bidder)&&h(t.auctionId,t.adUnitCode)&&t.pba&&y.updateAuction(t.auctionId,t.adUnitCode,{...w(t.pba,"e_")})}(i);break;case s.qY.AUCTION_END:!function(t){const{auctionId:n}=t;if(!C(n))return;y.getAllAdUnitCodes(n).forEach((i=>{const e=performance.getEntriesByType("navigation")[0],o=y.getAuction(n,i),d=o.bdrs.split(","),a=o.bdrs_timeout||[];y.updateAuction(n,i,{bdrs_bid:y.getBiddersFromAuction(n,i).map((n=>t.bidsReceived.find((t=>t.adUnitCode===i&&t.bidder===n))?"1":"0")).join(","),bdrs_cpm:y.getBiddersFromAuction(n,i).map((n=>{const e=t.bidsReceived.find((t=>t.adUnitCode===i&&t.bidder===n));return e?j(e).netCpm:null})).join(","),dom_i:Math.round(e.domInteractive)||null,dom_c:Math.round(e.domComplete)||null,loa_e:Math.round(e.loadEventEnd)||null,bdrs_timeout:d.map((t=>a.includes(t)?"1":"0")).join(",")}),q(n,i)}))}(i);break;case s.qY.BID_WON:!function(t){let n=O(t);if(!h(n,t.adUnitCode))return;const i=j(t),e=t.latestTargetedAuctionId&&t.latestTargetedAuctionId!==t.auctionId?y.getAdagioAuctionId(t.auctionId):null,o=performance.getEntriesByType("navigation")[0];y.updateAuction(n,t.adUnitCode,{win_bdr:t.bidder,win_mt:U(t.mediaType),win_ban_sz:t.mediaType===r.D4?`${t.width}x${t.height}`:null,win_net_cpm:i.netCpm,win_og_cpm:i.orginalCpm,dom_i:Math.round(o.domInteractive)||null,dom_c:Math.round(o.domComplete)||null,loa_e:Math.round(o.loadEventEnd)||null,auct_id_c:e}),q(n,t.adUnitCode)}(i);break;case s.qY.AD_RENDER_FAILED:!function(t,n){const{adUnitCode:i}=t.bid;let e=O(t.bid);h(e,i)&&(y.updateAuction(e,i,{rndr:n?1:0}),q(e,i))}(i,n===s.qY.AD_RENDER_SUCCEEDED);break;case s.qY.PBS_ANALYTICS:!function(t){const n=t.atag.find((t=>"adg-pba"===t.module))?.pba;if(!n)return;y.getAllAdUnitCodes(t.auctionId).forEach((i=>{const e=n[i];(0,a.Qd)(e)&&y.updateAuction(t.auctionId,i,{...w(e,"e_")})}))}(i);break;case s.qY.BID_TIMEOUT:!function(t){t.forEach((t=>{const n=y.getAuction(t.auctionId,t.adUnitCode);if(!n)return void(0,a.JE)(`bid timeout on auction ${t.auctionId}, with adunitCode ${t.adUnitCode}: could not retrieve auction from cache`);const i=n.bdrs_timeout||[];i.push(t.bidder),n.bdrs_timeout=i}))}(i)}}catch(t){(0,a.vV)("Error on Adagio Analytics Adapter",t)}try{void 0!==i&&-1!==A.indexOf(n)&&f().queue.push({action:"pb-analytics-event",data:{eventName:n,args:i},ts:Date.now()})}catch(t){(0,a.vV)("Error on Adagio Analytics Adapter - adagio.js",t)}}});B.originEnableAnalytics=B.enableAnalytics,B.enableAnalytics=t=>{f().versions.adagioAnalyticsAdapter="3.0.0";let n=(0,e.m)().installedModules;!n||n.length&&-1!==n.indexOf("adagioRtdProvider")&&-1!==n.indexOf("rtdModule")?(B.options=t.options||{},B.options.organizationId?B.options.organizationId=B.options.organizationId.toString():(0,a.JE)("Adagio Analytics Adapter: organizationId is required and is missing will try to fallback on params."),B.options.site?"string"!=typeof B.options.site&&((0,a.JE)("Adagio Analytics Adapter: site should be a string will try to fallback on params."),B.options.site=void 0):(0,a.JE)("Adagio Analytics Adapter: site is required and is missing will try to fallback on params."),B.originEnableAnalytics(t),(0,p.ho)(k)):(0,a.vV)("Adagio Analytics Adapter requires rtdModule & adagioRtdProvider modules which are not installed. No beacon will be sent")},u.Ay.registerAnalyticsAdapter({adapter:B,code:b,gvlid:617});(0,e.E)("adagioAnalyticsAdapter")}},t=>{t.O(0,[3005,5759,2630,802,1085],(()=>{return n=3577,t(t.s=n);var n}));t.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[7966],{3800:(e,a,t)=>{var r=t(7873),i=t(1371),s=t(1069),n=t(433),d=t(7934),o=t(3895),p=t(5789),m=t(3978),c=t(3272),l=t(2449),u=t(5901),y=t(1252),g=t(7377),f=t(8230);const v="Adagio:",b=[i.D4,i.s6,i.G_],A="adagio",h=`https://${A}.bbvms.com/r/$RENDERER.js`;const I={canAccessWindowTop:s.av,getAdagioNs:function(){return m.B},getDevice:function(){const e=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[e],dnt:(0,s.l9)()?1:0,geo:{},js:1}},getSite:function(e){const{refererInfo:a}=e;return{domain:(0,d.gR)(a.topmostLocation)||"",page:a.topmostLocation||"",referrer:a.ref||(0,s.l4)().document.referrer||"",top:a.reachedTop}},getRefererInfo:d.EN,hasRtd:function(){return(c.$W.getConfig("realTimeData.dataProviders")||[]).find((e=>"adagio"===e.name))},isRendererPreferredFromPublisher:function(e){const a=(0,n.A)(e,"renderer"),t=!!(a&&a.url&&a.render),r=(0,n.A)(e,"mediaTypes.video.renderer"),i=!!(r&&r.url&&r.render);return!!(t&&!0!==a.backupOnly||i&&!0!==r.backupOnly)}};function T(e){const a=(0,n.A)(e,"mediaTypes.video",{}),t=(0,n.A)(e,"params.video",{}),r={};if(Array.isArray(a.playerSize)){const e=Array.isArray(a.playerSize[0])?a.playerSize[0]:a.playerSize;r.w=e[0],r.h=e[1]}const i={...r,...a,...t};i.context&&i.context===o.H6&&(i.playerName=function(e){return I.isRendererPreferredFromPublisher(e)?"other":"adagio"}(e)),e.mediaTypes.video=i,(0,o.aP)(e)}function w(e){if(!e.admNative||!Array.isArray(e.admNative.assets))return void(0,s.vV)(`${v} Invalid native response`);const a={};e.admNative.assets.forEach((e=>{if(e.title)a.title=e.title.text;else if(e.data)!function(e){const t={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"};t.hasOwnProperty(e.type)&&"string"==typeof e.value&&(a[t[e.type]]=e.value)}(e.data);else if(e.img)if(1===e.img.type)a.icon={url:e.img.url,width:e.img.w,height:e.img.h};else a.image={url:e.img.url,width:e.img.w,height:e.img.h}})),e.admNative.link&&(e.admNative.link.url&&(a.clickUrl=e.admNative.link.url),Array.isArray(e.admNative.link.clicktrackers)&&(a.clickTrackers=e.admNative.link.clicktrackers)),Array.isArray(e.admNative.eventtrackers)?(a.impressionTrackers=[],e.admNative.eventtrackers.forEach((e=>{if(1===e.event)switch(e.method){case 1:a.impressionTrackers.push(e.url);break;case 2:const t=`<script async src="${e.url}"><\/script>`;a.javascriptTrackers?a.javascriptTrackers+=`\n${t}`:a.javascriptTrackers=t}}))):(a.impressionTrackers=Array.isArray(e.admNative.imptrackers)?e.admNative.imptrackers:[],e.admNative.jstracker&&(a.javascriptTrackers=e.admNative.jstracker)),e.admNative.privacy&&(a.privacyLink=e.admNative.privacy),e.admNative.ext&&(a.ext={},e.admNative.ext.bvw&&(a.ext.adagio_bvw=e.admNative.ext.bvw)),e.native=a}function k(e,a){if(e.params=e.params||{},e.params[a])return;const t=c.$W.getConfig("adagio")||{},r=e.ortb2,i=t[a]||(0,n.A)(r,`site.ext.data.${a}`,null);if(i){if(Array.isArray(i))return void(i.length&&(e.params[a]=i[0].toString()));e.params[a]=i.toString()}}function U(e){const a=c.$W.getConfig("adagio")||{};e.params=e.params||{},a.siteId&&(e.params.organizationId=a.siteId.split(":")[0],e.params.site=a.siteId.split(":")[1]),e.params.placement=(0,n.A)(e,"ortb2Imp.ext.data.placement",e.params.placement),e.params.placement||!0!==a.useAdUnitCodeAsPlacement&&!0!==e.params.useAdUnitCodeAsPlacement||(e.params.placement=e.adUnitCode),e.params.adUnitElementId=(0,n.A)(e,"ortb2Imp.ext.data.divId",e.params.adUnitElementId),e.params.adUnitElementId||(!0===a.useAdUnitCodeAsAdUnitElementId||!0===e.params.useAdUnitCodeAsAdUnitElementId?e.params.adUnitElementId=e.adUnitCode:e.params.adUnitElementId=function(e){const a=(0,y.p)(e);if(a.divId)return a.divId}(e.adUnitCode)),k(e,"pagetype"),k(e,"category")}const E={bootstrapPlayer:function(e){const a=e.outstreamRendererCode,t={code:e.adUnitCode};if(e.vastXml?t.vastXml=e.vastXml:e.vastUrl&&(t.vastUrl=e.vastUrl),!e.vastXml&&!e.vastUrl)return void(0,s.vV)(`${v} no vastXml or vastUrl on bid`);if(!window.bluebillywig||!window.bluebillywig.renderers||!window.bluebillywig.renderers.length)return void(0,s.vV)(`${v} no BlueBillywig renderers found!`);const r=this.getRendererId(A,a),i={};e.skipOffset&&(i.skipOffset=e.skipOffset.toString());const n=window.bluebillywig.renderers.find((e=>e._id===r));if(!n)return void(0,s.vV)(`${v} couldn't find a renderer with ID ${r}`);const d=document.getElementById(e.adUnitCode);n.bootstrap(t,d,i)},newRenderer:function(e,a){const t=h.replace("$RENDERER",a),r=p.A4.install({url:t,loaded:!1,adUnitCode:e});try{r.setRender(this.outstreamRender)}catch(e){(0,s.vV)(`${v} error trying to setRender`,e)}return r},outstreamRender:function(e){e.renderer.push((()=>{E.bootstrapPlayer(e)}))},getRendererId:function(e,a){return`${e}-${a}`}},C={code:"adagio",gvlid:617,supportedMediaTypes:b,isBidRequestValid:e=>(e.params=e.params||{},U(e),!!(e.params.organizationId&&e.params.site&&e.params.placement)||((0,s.JE)(`${v} at least one required param is missing.`),!1)),buildRequests(e,a){e=(0,l.Xj)(e);const t="https:"===location.protocol?1:0,r=I.getDevice(),d=I.getSite(a),o=I.getAdagioNs().pageviewId,p=function(e){if(!(0,n.A)(e,"gdprConsent"))return!1;const{apiVersion:a,gdprApplies:t,consentString:r,allowAuctionWithoutConsent:i}=e.gdprConsent;return(0,s.tT)({apiVersion:a,consentString:r,consentRequired:t?1:0,allowAuctionWithoutConsent:i?1:0})}(a)||{},m=function(e){return!!(0,n.A)(e,"uspConsent")&&{uspConsent:e.uspConsent}}(a)||{},u={required:!0===c.$W.getConfig("coppa")?1:0},{gpp:y,gpp_sid:g}=(0,n.A)(a,"ortb2.regs",{}),A=(h=e[0],(0,n.A)(h,"schain"));var h;const w=function(e){if((0,n.A)(e,"userIdAsEids"))return e.userIdAsEids}(e[0])||[],k=(0,n.A)(c.$W.getConfig("userSync"),"syncEnabled")&&f.zt.canBidderRegisterSync("iframe","adagio"),U=(0,n.A)(a,"ortb2.regs.ext.dsa"),E=(0,n.A)(a,"ortb2.site.ext.data.adg_rtd.session",{});Object.keys(E).length||((0,s.fH)(v,"No session data provided. A new session is be generated."),E.new=!0,E.rnd=Math.random());const C=(0,n.A)(a,"ortb2.site.ext.data.adg_rtd.uid")||(0,s.lk)(),R=e.map((e=>{const a=(0,s.Go)(e);if(a.auctionId=C,a.params.splitKeyword&&((0,s.O8)(a.params.splitKeyword)||(0,s.Et)(a.params.splitKeyword)?a.params.splitKeyword=a.params.splitKeyword.toString():(delete a.params.splitKeyword,(0,s.JE)(v,"The splitKeyword param have been removed because the type is invalid, accepted type: number or string."))),a.params.organizationId=a.params.organizationId.toString(),a.params.dataLayer)if((0,s.O8)(a.params.dataLayer)||(0,s.Et)(a.params.dataLayer)||(0,s.cy)(a.params.dataLayer)||(0,s.fp)(a.params.dataLayer))(0,s.JE)(v,"The dataLayer param is invalid, only object is accepted as a type."),delete a.params.dataLayer;else{let e=!1;a.params.dl=a.params.dataLayer,delete a.params.dataLayer,Object.keys(a.params.dl).forEach((t=>{a.params.dl[t]&&((0,s.O8)(a.params.dl[t])||(0,s.Et)(a.params.dl[t])?a.params.dl[t]=a.params.dl[t].toString():(e=!0,delete a.params.dl[t]))})),e&&(0,s.JE)(v,"Some parameters of the dataLayer property have been removed because the type is invalid, accepted type: number or string.")}const t=function(e){if(!(0,s.fp)(e.getFloor))return!1;const a=[],t=(t,r)=>{const i=e.getFloor({currency:"USD",mediaType:t,size:r});a.push((0,s.tT)({mt:t,s:(0,s.cy)(r)?`${r[0]}x${r[1]}`:void 0,f:isNaN(i?.floor)||"USD"!==i?.currency?void 0:i?.floor}))};return Object.keys(e.mediaTypes).forEach((a=>{if(-1!==b.indexOf(a)){const r=a===i.G_?"playerSize":"sizes";e.mediaTypes[a][r]&&e.mediaTypes[a][r].length?(0,s.cy)(e.mediaTypes[a][r][0])?e.mediaTypes[a][r].forEach((e=>{t(a,[e[0],e[1]])})):t(a,[e.mediaTypes[a][r][0],e.mediaTypes[a][r][1]]):t(a,"*")}})),a}(e);if((0,s.cy)(t)&&t.length){if(a.floors=t,(0,n.A)(a,"mediaTypes.banner")){const e=a.mediaTypes.banner,t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t={size:e,floor:null},r=a.floors.filter((e=>e.mt===i.D4)),s=r.find((a=>a.s===e.join("x")));return t.floor=r?s?s.f:r[0].f:null,t};a.mediaTypes.banner.bannerSizes=(0,s.cy)(e.sizes[0])?e.sizes.map((e=>t(e))):t(e.sizes)}if((0,n.A)(a,"mediaTypes.video")){const e=a.mediaTypes.video,t=a.floors.filter((e=>e.mt===i.G_)),r=e.playerSize&&(0,s.cy)(e.playerSize[0])?e.playerSize[0]:e.playerSize,n=r?t.find((e=>e.s===r.join("x"))):void 0;a.mediaTypes.video.floor=t?n?n.f:t[0].f:null}if((0,n.A)(a,"mediaTypes.native")){const e=a.floors.filter((e=>e.mt===i.s6));e.length&&(a.mediaTypes.native.floor=e[0].f)}}(0,n.A)(a,"mediaTypes.video")&&T(a);const r=(0,n.A)(a,"ortb2Imp.ext.gpid")||(0,n.A)(a,"ortb2Imp.ext.data.pbadslot");r&&(a.gpid=r);const d={...(0,n.A)(a,"ortb2.site.ext.data.adg_rtd.features",{}),print_number:(a.bidderRequestsCount||1).toString(),adunit_position:(0,n.A)(a,"ortb2Imp.ext.data.adg_rtd.adunit_position",null)};a.features=Object.entries(d).reduce(((e,a)=>{let[t,r]=a;return null==r||(e[t]=r),e}),{}),delete a.params.siteId;return{adUnitCode:a.adUnitCode,auctionId:a.auctionId,bidder:a.bidder,bidId:a.bidId,params:a.params,features:a.features,gpid:a.gpid,mediaTypes:a.mediaTypes,nativeParams:a.nativeParams,score:a.score,transactionId:a.transactionId}})),S=R.reduce(((e,a)=>{const t=a.params.organizationId;return e[t]=e[t]||[],e[t].push(a),e}),{});e.forEach((e=>{e.params.pageviewId=o}));return Object.keys(S).map((e=>({method:"POST",url:"https://mp.4dex.io/prebid",data:{organizationId:e,hasRtd:I.hasRtd()?1:0,secure:t,device:r,site:d,pageviewId:o,adUnits:S[e],data:{session:E},regs:{gdpr:p,coppa:u,ccpa:m,gpp:y||"",gppSid:g||[],dsa:U},schain:A,user:{eids:w},prebidVersion:"9.23.0",usIfr:k},options:{contentType:"text/plain"}})))},interpretResponse(e,a){let t=[];try{const r=e.body;r&&(r.data&&I.hasRtd()&&I.getAdagioNs().queue.push({action:"ssp-data",ts:Date.now(),data:r.data}),r.bids&&r.bids.forEach((e=>{const r=(0,u.I6)(a.data.adUnits,(a=>a.bidId===e.requestId));if(r){if(e.meta=(0,n.A)(e,"meta",{}),e.meta.mediaType=e.mediaType,e.meta.advertiserDomains=Array.isArray(e.aDomain)&&e.aDomain.length?e.aDomain:[],e.mediaType===i.G_){const a=(0,n.A)(r,"mediaTypes.video.context");if(!e.vastUrl&&e.vastXml&&(e.vastUrl="data:text/xml;charset=utf-8;base64,"+window.btoa(e.vastXml.replace(/\\"/g,'"'))),a===o.H6){if(e.outstreamRendererCode=(0,n.A)(r,"params.rendererCode","renderer"),(0,n.A)(r,"mediaTypes.video.skip")){const a=(0,n.A)(r,"mediaTypes.video.skipafter",5);e.skipOffset=a}e.renderer=E.newRenderer(e.adUnitCode,e.outstreamRendererCode)}}e.mediaType===i.s6&&w(e),e.site=r.params.site,e.placement=r.params.placement,e.pagetype=r.params.pagetype,e.category=r.params.category}t.push(e)})))}catch(e){(0,s.vV)(e)}return t},getUserSyncs(e,a){if(!a.length||""===a[0].body||!a[0].body.userSyncs)return!1;return a[0].body.userSyncs.map((e=>({type:"p"===e.t?"image":"iframe",url:e.u})))}};(0,g.a$)(C),(0,r.E)("adagioBidAdapter")}},e=>{e.O(0,[3005,5759,802,1085],(()=>{return a=3800,e(e.s=a);var a}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5601],{2855:(t,e,a)=>{var n=a(7873),i=a(5569),s=a(1445),o=a(1580),d=a(9214),r=a(2938),g=a(1069),c=a(433),u=a(3172),l=a(3978),m=a(1252);const p="adagio",f="https://script.4dex.io/a/latest/adagio.js",h="code",w="gpid",b=(0,r.vM)({moduleType:i.zu,moduleName:p}),{logError:v,logWarn:y}=(0,g.h0)("AdagioRtdProvider:"),x=new Set,A=function(){const t={session:{}};return{init:()=>{b.getDataFromLocalStorage("adagio",(e=>{const{rnd:a,vwSmplg:n,vwSmplgNxt:i,expiry:s,lastActivityTime:o,id:d,pages:r,testName:c,testVersion:u}=I.getSessionFromLocalStorage(e),l=(t=>!(0,g.Et)(t)||Date.now()>t)(s),m=o?void 0:2;t.session={v:m,rnd:a,pages:r||1,new:l,...void 0!==n&&{vwSmplg:n},...void 0!==i&&{vwSmplgNxt:i},...void 0!==s&&{expiry:s},...void 0!==o&&{lastActivityTime:o},...void 0!==d&&{id:d}},l&&(t.session.new=!0,t.session.id=(0,g.lk)(),t.session.rnd=Math.random());const{testName:p,testVersion:f,expiry:h,sessionId:w}=I.getAbTestFromLocalStorage(e);2===m?h&&h>Date.now()&&(!w||w===t.session.id)&&(t.session.testName=p,t.session.testVersion=f):(t.session.testName=c,t.session.testVersion=u),I.getAdagioNs().queue.push({action:"session",ts:Date.now(),data:{session:{...t.session}}})}))},get:function(){return t.session}}}(),S=function(){const t={initialized:!1,data:{}};return{reset:function(){t.initialized=!1,t.data={}},get:function(){const e=(0,l.h)();return t.initialized||(t.data={page_dimensions:E().toString(),viewport_dimensions:z().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:(0,g.tf)(e).toString()},t.initialized=!0),{...t.data}}}}(),I={getAdagioNs:function(){return l.B},getSession:function(){return A},getFeatures:function(){return S},getGuard:function(){return x},isAdagioBidder:function(t){return!!t&&(t+s.Ay.aliasRegistry[t]).toLowerCase().includes("adagio")},getSessionFromLocalStorage:function(t){const e={new:!0,rnd:Math.random()},a=this.getObjFromStorageValue(t);return a&&a.session?a.session:e},getAbTestFromLocalStorage:function(t){const e=this.getObjFromStorageValue(t);return e&&e.abTest?e.abTest:{}},getObjFromStorageValue:function(t){return JSON.parse(t,(function(t,e){if("_"!==t.charAt(0)||""===t)return e}))}};const N={name:p,gvlid:617,init:function(t,e){return(0,g.O8)(t.params?.organizationId)&&(0,g.O8)(t.params?.site)?(I.getAdagioNs().hasRtd=!0,I.getSession().init(),function(t){const e=new Set(["impressionViewable","slotRenderEnded","slotVisibilityChanged"]),a=new Set(["noad","setHeaderBiddingWinner"]),n=new Set(["adLoaded"]),i=(0,g.l4)();Array.isArray(I.getAdagioNs().windows)||(I.getAdagioNs().windows=[]);let s=I.getAdagioNs().windows.find((t=>t.self===i));s||(s={self:i},I.getAdagioNs().windows.push(s));const o=(t,e,a,n,s)=>{try{if(a.adserver===n)return;i[t]=i[t]||{},i[t][e]=i[t][e]||[],s()}catch(t){v(t)}};o("googletag","cmd",i,"gpt",(()=>{i.googletag.cmd.push((()=>{e.forEach((t=>{i.googletag.pubads().addEventListener(t,(e=>{I.getAdagioNs().queue.push({action:"gpt-event",data:{eventName:t,args:e,_window:i},ts:Date.now()})}))})),s.adserver="gpt"}))})),o("sas","cmd",i,"sas",(()=>{i.sas.cmd.push((()=>{a.forEach((t=>{i.sas.events.on(t,(e=>{I.getAdagioNs().queue.push({action:"sas-event",data:{eventName:t,args:e,_window:i},ts:Date.now()})}))})),s.adserver="sas"}))})),o("apntag","anq",i,"ast",(()=>{i.apntag.anq.push((()=>{n.forEach((t=>{i.apntag.onEvent(t,(()=>{I.getAdagioNs().queue.push({action:"ast-event",data:{eventName:t,args:arguments,_window:i},ts:Date.now()})}))})),s.adserver="ast"}))}))}(t),function(t){b.localStorageIsEnabled((e=>{e&&(0,o.R)(f,i.zu,p,void 0,void 0,{id:`adagiojs-${(0,g.s0)()}`,"data-pid":t.params.organizationId})}))}(t),!0):(v("organizationId is required and must be a string."),!1)},getBidRequestData:function(t,e,a){const i=(0,c.A)(a,"params",{}),{site:s}=t.ortb2Fragments.global,o=I.getFeatures().get(),d={uid:(0,g.lk)(),pageviewId:l.B.pageviewId,features:{...o},session:{...A.get()}};(0,u.J)(s,"ext.data.adg_rtd",d),(t.adUnits||(0,n.m)().adUnits||[]).forEach((t=>{t.ortb2Imp=t.ortb2Imp||{};const e=(0,c.A)(t,"ortb2Imp");let a=(0,c.A)(e,"ext.data.divId");a||(a=(0,m.p)(t.code).divId,(0,u.J)(e,"ext.data.divId",a||t.code));const n=function(t){if(!(0,g.Jw)()&&!(0,g.av)())return"";const e={x:0,y:0};if((0,g.Jw)()){const{self:t}=(0,g.xV)()||{};if(!t)return"";e.x=Math.round(t.t),e.y=Math.round(t.l)}else try{const a=(0,g.mb)(),n=a.document;let i;if(!0===(0,g.al)()){const e=(0,g.l4)();i=T(e.document.getElementById(t),e)}else i=a.document.getElementById(t);if(!i)return"";let s=i.getBoundingClientRect();const o=n.documentElement,d=n.body,r=n.clientTop||d.clientTop||0,c=n.clientLeft||d.clientLeft||0,u=a.pageYOffset||o.scrollTop||d.scrollTop,l=a.pageXOffset||o.scrollLeft||d.scrollLeft,m=a.getComputedStyle(i,null);"none"===m.display&&y("The element is hidden. The slot position cannot be computed."),e.x=Math.round(s.left+l-c),e.y=Math.round(s.top+u-r)}catch(t){return v(t),""}return`${e.x}x${e.y}`}(a);if((0,u.J)(e,"ext.data.adg_rtd.adunit_position",n),!(0,c.A)(e,"ext.data.placement")){const{placementSource:a=""}=i;switch(a.toLowerCase()){case h:(0,u.J)(e,"ext.data.placement",t.code);break;case w:(0,u.J)(e,"ext.data.placement",(0,c.A)(e,"ext.gpid"));break;default:y("`ortb2Imp.ext.data.placement` is missing and `params.definePlacement` is not set in the config.")}}const o=t.bids.find((t=>I.isAdagioBidder(t.bidder)));if(o){let t=!1;!(0,c.A)(s,"ext.data.pagetype")&&o.params.pagetype&&((0,u.J)(s,"ext.data.pagetype",o.params.pagetype),t=!0),!(0,c.A)(s,"ext.data.category")&&o.params.category&&((0,u.J)(s,"ext.data.category",o.params.category),t=!0);let a=!1;(0,c.A)(e,"ext.data.placement")||o.params.placement&&((0,u.J)(e,"ext.data.placement",o.params.placement),a=!0),t&&y("`pagetype` and `category` must be defined in the FPD `ortb2.site.ext.data` object. Relying on `adUnits[].bids.adagio.params` is deprecated."),a&&y("`placement` must be defined in the FPD `adUnits[].ortb2Imp.ext.data` object. Relying on `adUnits[].bids.adagio.params` is deprecated.")}})),e()},onBidRequestEvent:function(t,e,a){setTimeout((()=>{t.bids.forEach((t=>{const a=(0,c.A)(t,"ortb2.site.ext.data.adg_rtd.uid");if(!a)return void v("The `uid` is required to store the request in the ADAGIO namespace.");const i=`${t.adUnitCode}-${a}`;I.getGuard().has(i)||(I.getGuard().add(i),function(t,e){try{const{bidder:a,adUnitCode:i,mediaTypes:s,params:o,auctionId:d,bidderRequestsCount:r,ortb2:g,ortb2Imp:u}=t,{organizationId:l,site:m}=e.params,p=(0,c.A)(g,"site.ext.data",{}),f={bidder:a,adUnitCode:i,mediaTypes:s,params:o,auctionId:d,bidderRequestsCount:r,ortb2:p,ortb2Imp:(0,c.A)(u,"ext.data",{}),localPbjs:"tmzr",localPbjsRef:(0,n.m)(),organizationId:l,site:m};I.getAdagioNs().queue.push({action:"store",ts:Date.now(),data:f})}catch(t){v(t)}}(t,e))}))}),1)}};function T(t,e){try{if((0,g.mb)()===e)return t.getAttribute("id")||t.setAttribute("id",`adg-${(0,g.s0)()}`),t;{const a=e.frameElement,n=a.getBoundingClientRect(),i=t.getBoundingClientRect();return n.width===i.width&&n.height===i.height&&T(a,e.parent)}}catch(t){return y(t),!1}}function E(){if((0,g.Jw)()||!(0,g.av)())return"";const t=(0,g.mb)(),e=t.document.querySelector("body");if(!e)return"";const a=t.document.documentElement;return`${Math.max(e.scrollWidth,e.offsetWidth,a.clientWidth,a.scrollWidth,a.offsetWidth)}x${Math.max(e.scrollHeight,e.offsetHeight,a.clientHeight,a.scrollHeight,a.offsetHeight)}`}function z(){if(!(0,g.Jw)()&&!(0,g.av)())return"";const t={w:0,h:0};if((0,g.Jw)()){const{win:e}=(0,g.xV)()||{};if(!e)return"";t.w=Math.round(e.w),t.h=Math.round(e.h)}else{const e=(0,g.mb)();t.w=e.innerWidth,t.h=e.innerHeight}return`${t.w}x${t.h}`}(0,d.bz)("realTimeData",N),(0,n.E)("adagioRtdProvider")}},t=>{t.O(0,[3005,5759,802,1085],(()=>{return e=2855,t(t.s=e);var e}));t.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4332],{7316:(e,t,r)=>{var s=r(7873),n=r(7377),i=r(1371),a=r(1069),d=r(433),o=r(3172),p=r(3272),u=r(5789),m=r(9495);const{getConfig:c}=p.$W,l={code:"adf",aliases:[{code:"adformOpenRTB",gvlid:50},{code:"adform",gvlid:50}],gvlid:50,supportedMediaTypes:[i.s6,i.D4,i.G_],isBidRequestValid:e=>{const t=e.params||{},{mid:r,inv:s,mname:n}=t;return!!(r||s&&n)},buildRequests:(e,t)=>{let r,s;const n=t.ortb2||{};let{user:i}=n;"object"==typeof c("app")?(r=c("app")||{},n.app&&(0,a.D9)(r,n.app)):(s=c("site")||{},n.site&&(0,a.D9)(s,n.site),s.page||(s.page=t.refererInfo.page));const u=c("device")||{};u.w=u.w||window.innerWidth,u.h=u.h||window.innerHeight,u.ua=u.ua||navigator.userAgent;const l=(0,a.eY)(e,"params.adxDomain")||"adx.adform.net",g=(0,a.eY)(e,"params.pt")||(0,a.eY)(e,"params.priceType")||"net",v=t.ortb2?.source?.tid,f=(0,a.eY)(e,"params.test"),b=(0,m.b)(t),h=b&&[b],x=(0,a.eY)(e,"userIdAsEids"),y=(0,a.eY)(e,"schain"),w=n.regs?.ext?.dsa,A=e.map(((e,t)=>{e.netRevenue=g;const r=e.getFloor?e.getFloor({currency:b||"USD",size:"*",mediaType:"*"}):{},s=r?.floor,n=r?.currency,{mid:i,inv:o,mname:p}=e.params,u=e.ortb2Imp?.ext?.data,m={id:t+1,tagid:i,bidfloor:s,bidfloorcur:n,ext:{data:u,bidder:{inv:o,mname:p}}};if(e.nativeOrtbRequest&&e.nativeOrtbRequest.assets){let t=e.nativeOrtbRequest.assets,r=[];for(let e=0;e<t.length;e++){let s=(0,a.Go)(t[e]),n=s.img;if(n){let e=n.ext&&n.ext.aspectratios;if(e){let t=parseInt(e[0].split(":")[0],10),r=parseInt(e[0].split(":")[1],10);n.wmin=n.wmin||0,n.hmin=r*n.wmin/t|0}}r.push(s)}m.native={request:{assets:r}}}const c=(0,d.A)(e,"mediaTypes.banner");if(c&&c.sizes){const e=(0,a.kK)(c.sizes).map((e=>{const[t,r]=e.split("x");return{w:parseInt(t,10),h:parseInt(r,10)}}));m.banner={format:e}}const l=(0,d.A)(e,"mediaTypes.video");return l&&(m.video=l),m})),I={id:t.bidderRequestId,site:s,app:r,user:i,device:u,source:{tid:v,fd:1},ext:{pt:g},cur:h,imp:A};return f&&(I.is_debug=!!f,I.test=1),p.$W.getConfig("coppa")&&(0,o.J)(I,"regs.coppa",1),void 0!==(0,d.A)(t,"gdprConsent.gdprApplies")&&((0,o.J)(I,"user.ext.consent",t.gdprConsent.consentString),(0,o.J)(I,"regs.ext.gdpr",1&t.gdprConsent.gdprApplies)),t.uspConsent&&(0,o.J)(I,"regs.ext.us_privacy",t.uspConsent),x&&(0,o.J)(I,"user.ext.eids",x),y&&(0,o.J)(I,"source.ext.schain",y),w&&(0,o.J)(I,"regs.ext.dsa",w),{method:"POST",url:"https://"+l+"/adx/openrtb",data:JSON.stringify(I),bids:e}},interpretResponse:function(e,t){let{bids:r}=t;if(!e.body)return;const{seatbid:s,cur:n}=e.body,a=(o=s.map((e=>e.bid)),[].concat(...o)).reduce(((e,t)=>(e[t.impid-1]=t,e)),[]);var o;return r.map(((e,t)=>{const r=a[t];if(r){const t=(0,d.A)(r,"ext.prebid.type"),s=(0,d.A)(r,"ext.dsa"),a={requestId:e.bidId,cpm:r.price,creativeId:r.crid,ttl:360,netRevenue:"net"===e.netRevenue,currency:n,mediaType:t,width:r.w,height:r.h,dealId:r.dealid,meta:{mediaType:t,advertiserDomains:r.adomain,dsa:s}};return r.native?a.native={ortb:r.native}:t===i.G_?(a.vastXml=r.adm,r.nurl&&(a.vastUrl=r.nurl)):a.ad=r.adm,e.renderer||t!==i.G_||"outstream"!==(0,d.A)(e,"mediaTypes.video.context")||(a.renderer=u.A4.install({id:e.bidId,url:"https://s2.adform.net/banners/scripts/video/outstream/render.js",adUnitCode:e.adUnitCode}),a.renderer.setRender(g)),a}})).filter(Boolean)}};function g(e){e.renderer.push((()=>{window.Adform.renderOutstream(e)}))}(0,n.a$)(l),(0,s.E)("adfBidAdapter")}},e=>{e.O(0,[9147,802,1085],(()=>{return t=7316,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[78],{278:(e,t,n)=>{var i=n(7873),d=n(433),s=n(1069),a=n(7377),r=n(1371),o=n(3272),c=n(5789),p=n(5901),u=n(9906);const m=["",1,2],l={default:function(){let e=0;return function(){return"ghb"+m[e++%m.length]+".adtelligent.com"}}(),streamkey:()=>"ghb.hb.streamkey.net",janet:()=>"ghb.bidder.jmgads.com",ocm:()=>"ghb.cenarius.orangeclickmedia.com","9dotsmedia":()=>"ghb.platform.audiodots.com",indicue:()=>"ghb.console.indicue.com"},g=function(e){let t=e.split("_")[0];return"https://"+(l[t]||l.default)()+"/v2/auction/"},b="https://player.adtelligent.com/outstream-unit/2.01/outstream.min.js",h="outstream",f="display",y={},A={code:"adtelligent",gvlid:410,aliases:["streamkey","janet",{code:"selectmedia",gvlid:775},{code:"ocm",gvlid:1148},"9dotsmedia","indicue"],supportedMediaTypes:[r.G_,r.D4],isBidRequestValid:function(e){return!!(0,d.A)(e,"params.aid")},getUserSyncs:function(e,t){const n=[];function i(t){const i=t.cookieURLs,d=t.cookieURLSTypes||[];Array.isArray(i)&&i.forEach(((t,i)=>{const s=d[i]||"image";!e.pixelEnabled&&"image"===s||!e.iframeEnabled&&"iframe"===s||y[t]||(y[t]=!0,n.push({type:s,url:t}))}))}return(e.pixelEnabled||e.iframeEnabled)&&(0,s.cy)(t)&&t.forEach((e=>{e.body&&((0,s.cy)(e.body)?e.body.forEach((e=>{i(e)})):i(e.body))})),n},buildRequests:function(e,t){const n=o.$W.getConfig(t.bidderCode),i=(0,d.A)(n,"chunkSize",10),{tag:a,bids:r}=function(e,t){const n={Domain:(0,d.A)(t,"refererInfo.page")};!0===o.$W.getConfig("coppa")&&(n.Coppa=1);(0,d.A)(t,"gdprConsent.gdprApplies")&&(n.GDPR=1,n.GDPRConsent=(0,d.A)(t,"gdprConsent.consentString"));(0,d.A)(t,"uspConsent")&&(n.USP=(0,d.A)(t,"uspConsent"));(0,d.A)(e[0],"schain")&&(n.Schain=(0,d.A)(e[0],"schain"));(0,d.A)(e[0],"userId")&&(n.UserIds=(0,d.A)(e[0],"userId"));(0,d.A)(e[0],"userIdAsEids")&&(n.UserEids=(0,d.A)(e[0],"userIdAsEids"));window.adtDmp&&window.adtDmp.ready&&(n.DMPId=window.adtDmp.getUID());t.gppConsent?(n.GPP=t.gppConsent.gppString,n.GPPSid=t.gppConsent.applicableSections?.toString()):t.ortb2?.regs?.gpp&&(n.GPP=t.ortb2.regs.gpp,n.GPPSid=t.ortb2.regs.gpp_sid);const i=[];for(let t=0,n=e.length;t<n;t++){const n=I(e[t]);i.push(n)}return{tag:n,bids:i}}(e,t),c=(0,u.i)(r,i);return(0,s.K2)(c,(e=>({data:Object.assign({},a,{BidRequests:e}),adapterRequest:t,method:"POST",url:g(t.bidderCode)})))},interpretResponse:function(e,t){let{adapterRequest:n}=t;e=e.body;let i=[];return(0,s.cy)(e)?(e.forEach((e=>{i=(0,s.Bq)(i,v(e,n))})),i):v(e,n)}};function v(e,t){const n=!e||!(0,s.cy)(e.bids),i=[];return n||e.bids.forEach((e=>{const n=(0,p.I6)(t.bids,(t=>t.bidId===e.requestId));if(0!==e.cpm&&void 0!==n){const t=function(e,t){const n=(a=t,(0,d.A)(a,"mediaTypes.video")?r.G_:r.D4),i=(0,d.A)(t,"mediaTypes.video.context"),s={requestId:e.requestId,creativeId:e.cmpId,height:e.height,currency:e.cur,width:e.width,cpm:e.cpm,netRevenue:!0,mediaType:n,ttl:300,meta:{advertiserDomains:e.adomain||[]}};var a;if(n===r.D4)return Object.assign(s,{ad:e.ad,adUrl:e.adUrl});i===r.LM&&Object.assign(s,{meta:{primaryCatId:e.primaryCatId},video:{context:r.LM,durationSeconds:e.durationSeconds}});Object.assign(s,{vastUrl:e.vastUrl}),i===h&&Object.assign(s,{adResponse:e,renderer:C(e.requestId,t.params)});return s}(e,n);i.push(t)}})),i}function I(e){const t=(0,d.A)(e,"mediaTypes.video")?r.G_:f,n=t===r.G_?(0,d.A)(e,"mediaTypes.video.playerSize"):(0,d.A)(e,"mediaTypes.banner.sizes"),i={CallbackId:e.bidId,Aid:e.params.aid,AdType:t,Sizes:(0,s.kK)(n).join(",")};if(i.PlacementId=e.adUnitCode,e.params.iframe&&(i.AdmType="iframe"),e.params.vpb_placement_id&&(i.PlacementId=e.params.vpb_placement_id),t===r.G_){(0,d.A)(e,"mediaTypes.video.context")===r.LM&&(i.Adpod=(0,d.A)(e,"mediaTypes.video"))}return i}function C(e,t){const n=c.A4.install({id:e,url:b,config:t.outstream||{},loaded:!1});return n.setRender(P),n}function P(e){e.renderer.push((()=>{const t=Object.assign({},e.renderer.getConfig(),{width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode});window.VOutstreamAPI.initOutstreams([t])}))}(0,a.a$)(A),(0,i.E)("adtelligentBidAdapter")}},e=>{e.O(0,[4982,802,1085],(()=>{return t=278,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[678],{7510:(e,t,n)=>{var i=n(7873),r=n(433),a=n(1069),o=n(7377),s=n(3272),c=n(5901),d=n(1371),p=n(2449);const u="USD",l={image:{required:!0},title:{required:!0},sponsoredBy:{required:!0},clickUrl:{required:!0},body:{required:!1},icon:{required:!1},cta:{required:!1}},m={code:"adyoulike",gvlid:259,supportedMediaTypes:[d.D4,d.s6,d.G_],aliases:["ayl"],isBidRequestValid:function(e){const t=y(I(e)),n=t.width>0&&t.height>0;return e.params&&e.params.placement&&(n||e.mediaTypes&&e.mediaTypes.native)},buildRequests:function(e,t){e=(0,p.Xj)(e);let n,i=!1;const a={Version:"1.0",Bids:e.reduce(((e,t)=>{let a=function(e){if((0,r.A)(e,"mediaTypes.banner"))return d.D4;if((0,r.A)(e,"mediaTypes.video"))return d.G_;if((0,r.A)(e,"mediaTypes.native"))return d.s6}(t),o=I(t),s=y(o);if(e[t.bidId]={},e[t.bidId].PlacementID=t.params.placement,e[t.bidId].TransactionID=t.ortb2Imp?.ext?.tid,e[t.bidId].Width=s.width,e[t.bidId].Height=s.height,e[t.bidId].AvailableSizes=o.join(","),"function"==typeof t.getFloor&&(e[t.bidId].Pricing=function(e,t,n){const i=e.getFloor({currency:u,mediaType:n,size:[t.width,t.height]});if(!isNaN(i?.floor)&&i?.currency===u)return i.floor}(t,s,a)),t.schain&&(e[t.bidId].SChain=t.schain),!n&&t.userIdAsEids&&t.userIdAsEids.length&&(n=t.userIdAsEids),a===d.s6){let n=t.mediaTypes.native;"image"===n.type&&(n=Object.assign({},l,n)),n.clickUrl={required:!0},e[t.bidId].Native=n}if(a===d.G_){i=!0,e[t.bidId].Video=t.mediaTypes.video;const n=t.mediaTypes.video.playerSize;Array.isArray(n)&&!Array.isArray(n[0])&&(e[t.bidId].Video.playerSize=[n])}return e}),{}),PageRefreshed:g()};t.gdprConsent&&(a.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:"boolean"==typeof t.gdprConsent.gdprApplies?t.gdprConsent.gdprApplies:null}),t.uspConsent&&(a.uspConsent=t.uspConsent),t.ortb2&&(a.ortb2=t.ortb2),n&&(a.eids=n),a.pbjs_version="9.23.0";const o=JSON.stringify(a);return{method:"POST",url:h(e,t,i),data:o,options:{withCredentials:!0}}},interpretResponse:function(e,t){const n=[];var i={};if(!e||!e.body)return n;try{i=JSON.parse(t.data).Bids}catch(e){}return e.body.forEach((e=>{const t=function(e,t){if(!e||!e.Ad&&!e.Native&&!e.Vast)return;const n=t&&t[e.BidID];n&&(e.Width&&"0"!==e.Width||(e.Width=n.Width),e.Height&&"0"!==e.Height||(e.Height=n.Height));const i={requestId:e.BidID,ttl:3600,creativeId:e.CreativeID,cpm:e.Price,netRevenue:!0,currency:u,meta:e.Meta||{advertiserDomains:[]}},a=e.Vast;a?(i.width=e.Width,i.height=e.Height,i.vastXml=window.atob(a),i.mediaType="video"):n.Native?(i.native=function(e,t){if("object"==typeof e.Native)return e.Native;const n={};var i={},a={};if("string"==typeof e.Ad){i=JSON.parse(e.Ad.match(/\/\*PREBID\*\/(.*)\/\*PREBID\*\//)[1]),a=i.Content.Preview.Text;var o=i.TrackingPrefix+"/pixel?event_kind=IMPRESSION&attempt="+i.Attempt,s=i.TrackingPrefix+"/pixel?event_kind=INSERTION&attempt="+i.Attempt;i.Campaign&&(o+="&campaign="+i.Campaign,s+="&campaign="+i.Campaign),n.clickUrl=i.TrackingPrefix+"/ar?event_kind=CLICK&attempt="+i.Attempt+"&campaign="+i.Campaign+"&url="+encodeURIComponent(i.Content.Landing.Url),i.OnEvents?(n.clickTrackers=C(i.OnEvents.CLICK),n.impressionTrackers=C(i.OnEvents.IMPRESSION),n.javascriptTrackers=C(i.OnEvents.IMPRESSION,!0)):n.impressionTrackers=[],n.impressionTrackers.push(o,s)}return Object.keys(t).map((function(o,s){switch(o){case"title":n[o]=a.TITLE;break;case"body":n[o]=a.DESCRIPTION;break;case"cta":n[o]=a.CALLTOACTION;break;case"sponsoredBy":n[o]=i.Content.Preview.Sponsor.Name;break;case"image":const s=t.image.sizes||[];s.length||(s[0]=e.Width||300,s[1]=e.Height||250);const c=v(i,(0,r.A)(i,"Content.Preview.Thumbnail.Image"),s[0],s[1]);c&&(n[o]={url:c,width:s[0],height:s[1]});break;case"icon":const d=t.icon.sizes||[];d.length||(d[0]=50,d[1]=50);const p=v(i,(0,r.A)(i,"Content.Preview.Sponsor.Logo.Resource"),d[0],d[1]);p&&(n[o]={url:p,width:d[0],height:d[1]});break;case"privacyIcon":n[o]=v(i,(0,r.A)(i,"Content.Preview.Credit.Logo.Resource"),25,25);break;case"privacyLink":n[o]=(0,r.A)(i,"Content.Preview.Credit.Url")}})),n}(e,n.Native),i.mediaType="native"):(i.width=e.Width,i.height=e.Height,i.ad=e.Ad);return i}(e,i);t&&n.push(t)})),n},getUserSyncs:function(e,t,n,i,r){if(!e.iframeEnabled)return[];let a="";return n&&(a+="&gdpr="+(n.gdprApplies?1:0),a+="&gdpr_consent="+encodeURIComponent(n.consentString||"")),!0===s.$W.getConfig("coppa")&&(a+="&coppa=1"),i&&(a+="&us_privacy="+encodeURIComponent(i)),r?.gppString&&r?.applicableSections?.length&&(a+="&gpp="+encodeURIComponent(r.gppString),a+="&gpp_sid="+encodeURIComponent(r?.applicableSections?.join(","))),[{type:"iframe",url:`https://visitor.omnitagjs.com/visitor/isync?uid=19340f4f097d16f41f34fc0274981ca4${a}`}]}};function g(){try{if(performance&&performance.navigation)return performance.navigation.type===performance.navigation.TYPE_RELOAD}catch(e){}return!1}function h(e,t,n){let i=function(e){let t=(0,c.I6)(e,(e=>e.params.DC));return t?"-"+t.params.DC:""}(e);const r=n?"/hb-api/prebid-video/v1":"/hb-api/prebid/v1";return(0,a.c$)({protocol:"https",host:`hb-api${i}.omnitagjs.com`,pathname:r,search:f(t)})}function f(e){const t={};if(e){const n=e.refererInfo;n&&(n.location&&(t.RefererUrl=encodeURIComponent(n.location),n.reachedTop||(t.SafeFrame=!0)),t.PageUrl=encodeURIComponent(n.topmostLocation),t.PageReferrer=encodeURIComponent(n.location));const i=e.ortb2?.site;i&&(t.PageUrl=encodeURIComponent(i.page||n?.topmostLocation),t.PageReferrer=encodeURIComponent(i.ref||n?.location))}const n=e?.refererInfo?.canonicalUrl;return n&&(t.CanonicalUrl=encodeURIComponent(n)),t}function I(e){let t=e.sizes||[];return e.mediaTypes&&e.mediaTypes.banner&&(t=e.mediaTypes.banner.sizes||[]),e.params&&Array.isArray(e.params.size)&&(t=e.params.size,Array.isArray(t[0])||(t=[t])),(0,a.kK)(t)}function y(e){const t={},n=e[0];if("string"!=typeof n)return t;const i=n.toUpperCase().split("X"),r=parseInt(i[0],10);r&&(t.width=r);const a=parseInt(i[1],10);return a&&(t.height=a),t}function b(e){return e?"https://blobs.omnitagjs.com/blobs/"+e.substr(16,2)+"/"+e.substr(16)+"/"+e:""}function v(e,t,n,i){let r="";if(t&&t.Kind)switch(t.Kind){case"INTERNAL":r=b(t.Data.Internal.BlobReference.Uid);break;case"EXTERNAL":const a=e.DynamicPrefix;let o=t.Data.External.Url;if(o=o.replace(/\[height\]/i,""+i),o=o.replace(/\[width\]/i,""+n),o.indexOf(a)>=0){const e=/.*url=([^&]*)/gm.exec(o);r=e?e[1]:"",r||(r=b(/.*key=([^&]*)/gm.exec(o)[1]))}else r=o}return r}function C(e,t){const n=[];return e?(e.map(((e,i)=>{(t&&"JAVASCRIPT_URL"===e.Kind||!t&&"PIXEL_URL"===e.Kind)&&n.push(e.Url)})),n):n}(0,o.a$)(m),(0,i.E)("adyoulikeBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return t=7510,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5369],{8835:(e,t,n)=>{var r=n(7873),i=n(7377),s=n(1371),a=n(1069),o=n(433),d=n(3272),u=n(2938),l=n(8044);const c=(0,u.vM)({bidderCode:"amx"}),p=/\.com?\.\w{2,4}$/,m=/^\s*<\??(?:vast|xml)/i,f="https://1x1.a-mo.net/",g=f+"hbx/",b=f+"e",h="__amuidpb";const y=(e,t)=>e.concat((0,o.A)(t,`${s.D4}.sizes`,[])||[]).concat((0,o.A)(t,`${s.G_}.sizes`,[])||[]).sort(((e,t)=>t[0]*t[1]-e[0]*e[1]))[0];function C(e,t){return null==e?[]:e.map(t).reduce(((e,t)=>null!=t&&e.concat(t)),[])}function I(e){return null!=(t=e.adm)&&m.test(t)?s.G_:s.D4;var t}const A=(e,t)=>null==e||typeof e===t;function v(e){const t=e.hostname.split("."),n=t.slice(t.length-(p.test(e.hostname)?3:2)).join(".");return btoa(n).replace(/=+$/,"")}const w=encodeURIComponent;function S(){try{return c.getDataFromLocalStorage(h)}catch(e){return null}}function T(e){const t=[];return Object.keys(e||{}).forEach((n=>{t.push(w(n)+"="+w(String(e[n])))})),w(t.join("&"))}function _(e){const t={};return(0,a.bu)(e,(e=>{t[e.bidId]=function(e){const t=y(e.sizes,e.mediaTypes)||[0,0],n=e.mediaType===s.G_||s.G_ in e.mediaTypes,r=n||t[1]>100,i=(0,o.A)(e,"params.tagId"),a=null!=e.params&&"string"==typeof e.params.adUnitId&&""!==e.params.adUnitId?e.params.adUnitId:e.adUnitCode,d=[e.sizes,(0,o.A)(e,`mediaTypes.${s.D4}.sizes`,[])||[],(0,o.A)(e,`mediaTypes.${s.G_}.sizes`,[])||[]],u=(0,o.A)(e,`mediaTypes.${s.G_}`,{})||{},l={au:a,av:r,vd:u,vr:n,ms:d,aw:t[0],ah:t[1],tf:0,sc:e.schain||{},f:z(D(e)),rtb:e.ortb2Imp};"string"==typeof i&&i.length>0&&(l.i=i);return l}(e)})),t}const $=(e,t)=>(0,a.z$)(`${g}g_${e}?${(0,a.eP)({...t,ts:Date.now(),eid:(0,a.s0)()})}`),x=0;function z(e){return"number"==typeof e&&isFinite(e)&&e>0?e:x}function D(e){if(!(0,a.fp)(e.getFloor))return(0,o.A)(e,"params.floor",x);try{const t=e.getFloor({currency:"USD",mediaType:"*",size:"*",bidRequest:e});return t?.floor}catch(e){return(0,a.vV)("call to getFloor failed: ",e),x}}function O(e,t,n){return(0,o.A)(e,"refererInfo."+t,n)}function U(e,t){if(null==e)return!1;const n=e[t];return null!=n&&(!!("*"===n.bidders||(0,a.cy)(n.bidders)&&-1!==n.bidders.indexOf("amx"))&&(null==n.filter||"include"===n.filter))}function q(){const e=d.$W.getConfig("userSync");if(null==e)return{d:0,l:0,t:0,e:!0};const t={d:e.syncDelay,l:e.syncsPerBidder,t:0,e:e.syncEnabled};return U(e.filterSettings,"all")?(t.t=0,t):(U(e.filterSettings,"iframe")&&(t.t|=2),U(e.filterSettings,"image")&&(t.t|=1),t)}function R(e){return null!=e?.gppConsent?e.gppConsent:e?.ortb2?.regs?.gpp??{gppString:"",applicableSections:""}}function k(e){if(null==e.refererInfo)return{r:"",t:!1,c:"",l:0,s:[]};const t=e.refererInfo;return{r:t.topmostLocation,t:t.reachedTop,l:t.numIframes,s:t.stack,c:t.canonicalUrl}}const G={code:"amx",gvlid:737,supportedMediaTypes:[s.D4,s.G_],isBidRequestValid:e=>A((0,o.A)(e,"params.endpoint",null),"string")&&A((0,o.A)(e,"params.tagId",null),"string"),buildRequests(e,t){const n=(r=t,(0,a.Dl)(r.refererInfo?.topmostLocation||window.location.href));var r;const i=(0,o.A)(e[0],"params.tagId",null),s=(0,o.A)(e[0],"params.testMode",0),u=null!=e[0]?e[0]:{bidderRequestsCount:0,bidderWinsCount:0,bidRequestsCount:0};var l,c;return{data:{a:(0,a.lk)(),B:0,b:n.host,brc:u.bidderRequestsCount||0,bwc:u.bidderWinsCount||0,trc:u.bidRequestsCount||0,tm:(c=s,!0===c||1===c||"true"===c),V:"9.23.0",vg:"tmzr",i:s&&null!=i?i:v(n),l:{},f:.01,cv:"pba1.3.4",st:"prebid",h:screen.height,w:screen.width,gs:(0,o.A)(t,"gdprConsent.gdprApplies",""),gc:(0,o.A)(t,"gdprConsent.consentString",""),gpp:R(t),u:O(t,"page",n.href),do:O(t,"site",n.hostname),re:O(t,"ref"),am:S(),usp:t.uspConsent||"1---",smt:1,d:"",m:_(e),cpp:d.$W.getConfig("coppa")?1:0,fpd2:t.ortb2,tmax:t.timeout,amp:O(t,"isAmp",null),ri:k(t),sync:q(),eids:(l=e.reduce(((e,t)=>(null==t||null==t.userIdAsEids||(0,a.bu)(t.userIdAsEids,(t=>{null!=t&&(e[t.source]=t)})),e)),{}),null!=Object.values?Object.values(l):Object.keys(l).map((e=>l[e])))},method:"POST",browsingTopics:!0,url:(0,o.A)(e[0],"params.endpoint","https://prebid.a-mo.net/a/c"),withCredentials:!0}},getUserSyncs(e,t,n,r,i){const s={gdpr_consent:w(n?.consentString||""),gdpr:w(n?.gdprApplies?1:0),us_privacy:w(r||""),gpp:w(i?.gppString||""),gpp_sid:w(i?.applicableSections||"")},o={url:`https://prebid.a-mo.net/isyn?${(0,a.eP)(s)}`,type:"iframe"};if(null==t||0===t.length)return e.iframeEnabled?[o]:[];const d=[];let u=!1;return(0,a.bu)(t,(function(t){let{body:n}=t;null!=n&&null!=n.p&&n.p.hreq&&(0,a.bu)(n.p.hreq,(function(t){const n=-1!==t.indexOf("__st=iframe")?"iframe":"image";(e.iframeEnabled||"image"===n)&&(u=u||"iframe"===n||-1!==t.indexOf("cchain"),d.push({url:t,type:n}))}))})),!u&&d.length<2&&d.push(o),d},interpretResponse(e,t){const n=e.body;if(null==n||"string"==typeof n)return[];n.am&&"string"==typeof n.am&&function(e){try{c.setDataInLocalStorage(h,e)}catch(e){}}(n.am);const r=d.$W.getConfig("bidderSettings"),i=!!(r?.amx??r?.standard??{}).allowAlternateBidderCodes;return C(Object.keys(n.r),(e=>C(n.r[e],(n=>n.b.map((n=>{const r=I(n),a=n.adm;if(null==a)return null;const o=function(e,t,n){if(null!=e.w&&e.w>1&&null!=e.h&&e.h>1)return[e.w,e.h];const r=t.m[n];return null==r?[0,0]:[r.aw,r.ah]}(n,t.data,e),d=r===s.D4?240:300,{bc:u,ds:l}=n.ext??{};return{...null!=u&&i?{bidderCode:u}:{},requestId:e,cpm:n.price,width:o[0],height:o[1],creativeId:n.crid,currency:"USD",netRevenue:!0,[r===s.G_?"vastXml":"ad"]:a,meta:{advertiserDomains:n.adomain,mediaType:r,...null!=l?{demandSource:l}:{}},mediaType:r,ttl:"number"==typeof n.exp?n.exp:d}})))).filter((e=>null!=e))))},onSetTargeting(e){null!=e&&$("pbst",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,c1:e.mediaType,np:e.cpm,aud:e.requestId,a:e.adUnitCode,c2:T(e.adserverTargeting),cn3:e.timeToRespond})},onTimeout(e){if(null==e||!e.length)return;let t=null;const n=e.map((e=>{const n=e.params||{},r=function(e){return null==e.sizes||0===e.sizes.length?[0,0]:e.sizes[0]}(e),{domain:i,page:s,ref:a}=null!=e.ortb2&&null!=e.ortb2.site?e.ortb2.site:{};return null==t&&(t={do:i,u:s,U:S(),re:a,V:"9.23.0",vg:"tmzr"}),{A:e.bidder,mid:n.tagId,a:n.adunitId||e.adUnitCode,bid:e.bidId,n:"g_pbto",aud:e.transactionId,w:r[0],h:r[1],cn:e.timeout,cn2:e.bidderRequestsCount,cn3:e.bidderWinsCount}})),r=JSON.stringify({c:t,e:n});(0,l.hd)(b,{body:r,keepalive:!0,withCredentials:!0,method:"POST"}).catch((e=>{}))},onBidWon(e){null!=e&&$("pbwin",{A:e.bidder,w:e.width,h:e.height,bid:e.adId,C:e.mediaType===s.D4?0:1,np:e.cpm,a:e.adUnitCode})}};(0,i.a$)(G),(0,r.E)("amxBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return t=8835,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4599],{791:(e,t,r)=>{var i=r(7873),a=r(1069),s=r(433),o=r(5789),n=r(3272),d=r(7377),c=r(1371),p=r(5901),l=r(3895),u=r(2938),m=r(2693),g=r(2621),h=r(2449),_=r(4673),f=r(554),b=r(2349),y=r(5761),v=r(9906);const k="appnexus",w="https://ib.adnxs.com/ut/v3/prebid",I="https://ib.adnxs-simple.com/ut/v3/prebid",x=["id","minduration","maxduration","skippable","playback_method","frameworks","context","skipoffset"],C=["minduration","maxduration","skip","skipafter","playbackmethod","api","startdelay","placement","plcmt"],O=["age","externalUid","external_uid","segments","gender","dnt","language"],T=["geo","device_id"],U=["enabled","dongle","member_id","debug_timeout"],E={apn_debug_dongle:"dongle",apn_debug_member_id:"member_id",apn_debug_timeout:"debug_timeout"},S={playback_method:{unknown:0,auto_play_sound_on:1,auto_play_sound_off:2,click_to_play:3,mouse_over:4,auto_play_sound_unknown:5},context:{unknown:0,pre_roll:1,mid_roll:2,post_roll:3,outstream:4,"in-banner":5,"in-feed":6,interstitial:7,accompanying_content_pre_roll:8,accompanying_content_mid_roll:9,accompanying_content_post_roll:10}},A={body:"description",body2:"desc2",cta:"ctatext",image:{serverName:"main_image",requiredParams:{required:!0}},icon:{serverName:"icon",requiredParams:{required:!0}},sponsoredBy:"sponsored_by",privacyLink:"privacy_link",salePrice:"saleprice",displayUrl:"displayurl"},j="<script",D=/\/\/cdn\.adnxs\.com\/v|\/\/cdn\.adnxs\-simple\.com\/v/,R="trk.js",z=(0,u.vM)({bidderCode:k}),N=new Map([[1,"Mobile/Tablet - General"],[2,"Personal Computer"],[3,"Connected TV"],[4,"Phone"],[5,"Tablet"],[6,"Connected Device"],[7,"Set Top Box"],[8,"OOH Device"]]),q={code:k,gvlid:32,aliases:b.DX,supportedMediaTypes:[c.D4,c.G_,c.s6],isBidRequestValid:function(e){return!!(e.params.placementId||e.params.placement_id||e.params.member&&(e.params.invCode||e.params.inv_code))},buildRequests:function(e,t){const r=(e=(0,h.Xj)(e)).map(G),i=(0,p.I6)(e,M);let s={};!0===n.$W.getConfig("coppa")&&(s={coppa:!0}),i&&Object.keys(i.params.user).filter((e=>(0,p.mK)(O,e))).forEach((e=>{let t=(0,b.vk)(e);if("segments"===e&&(0,a.cy)(i.params.user[e])){let r=[];i.params.user[e].forEach((e=>{(0,a.Et)(e)?r.push({id:e}):(0,a.Qd)(e)&&r.push(e)})),s[t]=r}else"segments"!==e&&(s[t]=i.params.user[e])}));const o=(0,p.I6)(e,B);let d;o&&o.params&&o.params.app&&(d={},Object.keys(o.params.app).filter((e=>(0,p.mK)(T,e))).forEach((e=>d[e]=o.params.app[e])));const c=(0,p.I6)(e,K);let l;c&&c.params&&o.params.app&&o.params.app.id&&(l={appid:c.params.app.id});let u={},m={};const _=z.getCookie("apn_prebid_debug")||null;if(_)try{u=JSON.parse(_)}catch(e){(0,a.vV)("AppNexus Debug Auction Cookie Error:\n\n"+e)}else{Object.keys(E).forEach((e=>{let t=(0,a.Ez)(e);(0,a.O8)(t)&&""!==t&&(u[E[e]]=t,u.enabled=!0)})),u=(0,y.$)({member_id:"number",debug_timeout:"number"},u);const t=(0,p.I6)(e,V);t&&t.debug&&(u=t.debug)}u&&u.enabled&&Object.keys(u).filter((e=>(0,p.mK)(U,e))).forEach((e=>{m[e]=u[e]}));const k=(0,p.I6)(e,$),x=k?parseInt(k.params.member,10):0,C=e[0].schain,S=(0,p.I6)(e,W),A={tags:[...r],user:s,sdk:{source:"pbjs",version:"9.23.0"},schain:C};S&&(A.iab_support={omidpn:"Appnexus",omidpv:"9.23.0"}),x>0&&(A.member_id=x),o&&(A.device=d),c&&(A.app=l),t?.ortb2?.device&&(A.device=A.device||{},(0,a.D9)(A.device,function(e){const t={useragent:e.ua,devicetype:N.get(e.devicetype),make:e.make,model:e.model,os:e.os,os_version:e.osv,w:e.w,h:e.h,ppi:e.ppi,pxratio:e.pxratio};return Object.keys(t).reduce(((e,r)=>(t[r]&&(e[r]=t[r]),e)),{})}(t.ortb2.device)));let j=(0,a.Go)(t&&t.ortb2),D=(0,a.Go)(n.$W.getConfig("appnexusAuctionKeywords"))||{},R=(0,f.QF)(j,D);if(R.length>0&&(A.keywords=R),n.$W.getConfig("adpod.brandCategoryExclusion")&&(A.brand_category_uniqueness=!0),m.enabled&&(A.debug=m,(0,a.fH)("AppNexus Debug Auction Settings:\n\n"+JSON.stringify(m,null,4))),t&&t.gdprConsent&&(A.gdpr_consent={consent_string:t.gdprConsent.consentString,consent_required:t.gdprConsent.gdprApplies},t.gdprConsent.addtlConsent&&-1!==t.gdprConsent.addtlConsent.indexOf("~"))){let e=t.gdprConsent.addtlConsent,r=e.substring(e.indexOf("~")+1);A.gdpr_consent.addtl_consent=r.split(".").map((e=>parseInt(e,10)))}if(t&&t.uspConsent&&(A.us_privacy=t.uspConsent),t?.gppConsent?A.privacy={gpp:t.gppConsent.gppString,gpp_sid:t.gppConsent.applicableSections}:t?.ortb2?.regs?.gpp&&(A.privacy={gpp:t.ortb2.regs.gpp,gpp_sid:t.ortb2.regs.gpp_sid}),t&&t.refererInfo){let e={rd_ref:encodeURIComponent(t.refererInfo.topmostLocation),rd_top:t.refererInfo.reachedTop,rd_ifs:t.refererInfo.numIframes,rd_stk:t.refererInfo.stack.map((e=>encodeURIComponent(e))).join(",")},r=t.refererInfo.canonicalUrl;(0,a.O8)(r)&&""!==r&&(e.rd_can=r),A.referrer_detection=e}(0,p.I6)(e,L)&&e.filter(L).forEach((e=>{const t=function(e,t){const{durationRangeSec:r,requireExactDuration:i}=t.mediaTypes.video,a=function(e){const{adPodDurationSec:t,durationRangeSec:r,requireExactDuration:i}=e,a=Math.min(...r),s=Math.floor(t/a);return i?Math.max(s,r.length):s}(t.mediaTypes.video),s=Math.max(...r),o=e.filter((e=>e.uuid===t.bidId));let n=(0,b.GS)(...o,a);if(i){const e=Math.ceil(a/r.length),t=(0,v.i)(n,e);r.forEach(((e,r)=>{t[r].map((t=>{H(t,"minduration",e),H(t,"maxduration",e)}))}))}else n.map((e=>H(e,"maxduration",s)));return n}(r,e),i=A.tags.filter((t=>t.uuid!==e.bidId));A.tags=[...i,...t]}));if(e[0].userId){let t=[];e[0].userIdAsEids.forEach((e=>{!e||!e.uids||e.uids.length<1||e.uids.forEach((r=>{let i={source:e.source,id:r.id};"adserver.org"==e.source?i.rti_partner="TDID":"uidapi.com"==e.source&&(i.rti_partner="UID2"),t.push(i)}))})),t.length&&(A.eids=t)}if(t?.ortb2?.regs?.ext?.dsa){const e=t.ortb2.regs.ext.dsa,r={};if(["dsarequired","pubrender","datatopub"].forEach((t=>{(0,a.Et)(e[t])&&(r[t]=e[t])})),(0,a.cy)(e.transparency)&&e.transparency.every((e=>(0,a.Qd)(e)))){const t=[];e.transparency.forEach((e=>{(0,a.O8)(e.domain)&&""!=e.domain&&(0,a.cy)(e.dsaparams)&&e.dsaparams.every((e=>(0,a.Et)(e)))&&t.push(e)})),t.length>0&&(r.transparency=t)}(0,a.Im)(r)||(A.dsa=r)}r[0].publisher_id&&(A.publisher_id=r[0].publisher_id);const q=function(e,t){let r=[],i={withCredentials:!0},s=w;(0,g.C)(t?.gdprConsent)||(s=I);"TRUE"!==(0,a.Ez)("apn_test").toUpperCase()&&!0!==n.$W.getConfig("apn_test")||(i.customHeaders={"X-Is-Test":1});if(e.tags.length>15){const o=(0,a.Go)(e);(0,v.i)(e.tags,15).forEach((e=>{o.tags=e;const a=JSON.stringify(o);r.push({method:"POST",url:s,data:a,bidderRequest:t,options:i})}))}else{const a=JSON.stringify(e);r={method:"POST",url:s,data:a,bidderRequest:t,options:i}}return r}(A,t);return q},interpretResponse:function(e,t){let{bidderRequest:r}=t;e=e.body;const i=[];if(!e||e.error){let t=`in response for ${r.bidderCode} adapter`;return e&&e.error&&(t+=`: ${e.error}`),(0,a.vV)(t),i}if(e.tags&&e.tags.forEach((e=>{const t=(n=e)&&n.ads&&n.ads.length&&(0,p.I6)(n.ads,(e=>e.rtb));var n;if(t){if((!0===m.u.get(r.bidderCode,"allowZeroCpmBids")?t.cpm>=0:t.cpm>0)&&(0,p.mK)(this.supportedMediaTypes,t.ad_type)){const n=function(e,t,r){const i=(0,a.D4)(e.uuid,[r]),n=(0,a.s0)(),d={adId:n,requestId:e.uuid,cpm:t.cpm,creativeId:t.creative_id,dealId:t.deal_id,currency:"USD",netRevenue:!0,ttl:300,adUnitCode:i.adUnitCode,appnexus:{buyerMemberId:t.buyer_member_id,dealPriority:t.deal_priority,dealCode:t.deal_code}};t.adomain&&(d.meta=Object.assign({},d.meta,{advertiserDomains:[t.adomain]}));t.advertiser_id&&(d.meta=Object.assign({},d.meta,{advertiserId:t.advertiser_id}));t.dsa&&(d.meta=Object.assign({},d.meta,{dsa:t.dsa}));function u(e){return{ver:"1.0",complete:0,nodes:[{bsid:e.buyer_member_id.toString()}]}}t.buyer_member_id&&(d.meta=Object.assign({},d.meta,{dchain:u(t)}));t.brand_id&&(d.meta=Object.assign({},d.meta,{brandId:t.brand_id}));if(t.rtb.video){Object.assign(d,{width:t.rtb.video.player_width,height:t.rtb.video.player_height,vastImpUrl:t.notify_url,ttl:3600});switch((0,s.A)(i,"mediaTypes.video.context")){case c.LM:const i=_.n[t.brand_category_id]?_.n[t.brand_category_id]:null;d.meta=Object.assign({},d.meta,{primaryCatId:i});const n=t.deal_priority;d.video={context:c.LM,durationSeconds:Math.floor(t.rtb.video.duration_ms/1e3),dealTier:n},d.vastUrl=t.rtb.video.asset_url;break;case l.H6:if(d.adResponse=e,d.adResponse.ad=d.adResponse.ads[0],d.adResponse.ad.video=d.adResponse.ad.rtb.video,d.vastXml=t.rtb.video.content,t.renderer_url){const i=(0,p.I6)(r.bids,(t=>t.bidId===e.uuid));let n=(0,s.A)(i,"mediaTypes.video.renderer.options");n||(n=(0,s.A)(i,"renderer.options")),d.renderer=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=o.A4.install({id:t.renderer_id,url:t.renderer_url,config:r,loaded:!1,adUnitCode:e});try{i.setRender(J)}catch(e){(0,a.JE)("Prebid Error calling setRender on renderer",e)}return i.setEventHandlers({impression:()=>(0,a.OG)("AppNexus outstream video impression event"),loaded:()=>(0,a.OG)("AppNexus outstream video loaded event"),ended:()=>{(0,a.OG)("AppNexus outstream renderer video event"),document.querySelector(`#${e}`).style.display="none"}}),i}(d.adUnitCode,t,n)}break;case l.mn:d.vastUrl=t.notify_url+"&redir="+encodeURIComponent(t.rtb.video.asset_url)}}else if(t.rtb[c.s6]){const e=t.rtb[c.s6];let r;if(function(e){if(!e||""===e)return!1;let t=e.match(D),r=null!=t&&t.length>=1,i=e.match(R),a=null!=i&&i.length>=1;return e.startsWith(j)&&a&&r}(t.viewability.config)){let e="pbjs_adid="+n+";pbjs_auc="+i.adUnitCode;r=t.viewability.config.replace("dom_id=%native_dom_id%",e)}let s=e.javascript_trackers;null==s?s=r:(0,a.O8)(s)?s=[s,r]:s.push(r),d[c.s6]={title:e.title,body:e.desc,body2:e.desc2,cta:e.ctatext,rating:e.rating,sponsoredBy:e.sponsored,privacyLink:e.privacy_link,address:e.address,downloads:e.downloads,likes:e.likes,phone:e.phone,price:e.price,salePrice:e.saleprice,clickUrl:e.link.url,displayUrl:e.displayurl,clickTrackers:e.link.click_trackers,impressionTrackers:e.impression_trackers,video:e.video,javascriptTrackers:s},e.main_img&&(d[c.s6].image={url:e.main_img.url,height:e.main_img.height,width:e.main_img.width}),e.icon&&(d[c.s6].icon={url:e.icon.url,height:e.icon.height,width:e.icon.width}),d[c.s6].ext={video:e.video,customImage1:e.image1&&{url:e.image1.url,height:e.image1.height,width:e.image1.width},customImage2:e.image2&&{url:e.image2.url,height:e.image2.height,width:e.image2.width},customImage3:e.image3&&{url:e.image3.url,height:e.image3.height,width:e.image3.width},customImage4:e.image4&&{url:e.image4.url,height:e.image4.height,width:e.image4.width},customImage5:e.image5&&{url:e.image5.url,height:e.image5.height,width:e.image5.width},customIcon1:e.icon1&&{url:e.icon1.url,height:e.icon1.height,width:e.icon1.width},customIcon2:e.icon2&&{url:e.icon2.url,height:e.icon2.height,width:e.icon2.width},customIcon3:e.icon3&&{url:e.icon3.url,height:e.icon3.height,width:e.icon3.width},customIcon4:e.icon4&&{url:e.icon4.url,height:e.icon4.height,width:e.icon4.width},customIcon5:e.icon5&&{url:e.icon5.url,height:e.icon5.height,width:e.icon5.width},customSocialIcon1:e.socialicon1&&{url:e.socialicon1.url,height:e.socialicon1.height,width:e.socialicon1.width},customSocialIcon2:e.socialicon2&&{url:e.socialicon2.url,height:e.socialicon2.height,width:e.socialicon2.width},customSocialIcon3:e.socialicon3&&{url:e.socialicon3.url,height:e.socialicon3.height,width:e.socialicon3.width},customSocialIcon4:e.socialicon4&&{url:e.socialicon4.url,height:e.socialicon4.height,width:e.socialicon4.width},customSocialIcon5:e.socialicon5&&{url:e.socialicon5.url,height:e.socialicon5.height,width:e.socialicon5.width},customTitle1:e.title1,customTitle2:e.title2,customTitle3:e.title3,customTitle4:e.title4,customTitle5:e.title5,customBody1:e.body1,customBody2:e.body2,customBody3:e.body3,customBody4:e.body4,customBody5:e.body5,customCta1:e.ctatext1,customCta2:e.ctatext2,customCta3:e.ctatext3,customCta4:e.ctatext4,customCta5:e.ctatext5,customDisplayUrl1:e.displayurl1,customDisplayUrl2:e.displayurl2,customDisplayUrl3:e.displayurl3,customDisplayUrl4:e.displayurl4,customDisplayUrl5:e.displayurl5,customSocialUrl1:e.socialurl1,customSocialUrl2:e.socialurl2,customSocialUrl3:e.socialurl3,customSocialUrl4:e.socialurl4,customSocialUrl5:e.socialurl5}}else{Object.assign(d,{width:t.rtb.banner.width,height:t.rtb.banner.height,ad:t.rtb.banner.content});try{if(t.rtb.trackers)for(let e=0;e<t.rtb.trackers[0].impression_urls.length;e++){const r=t.rtb.trackers[0].impression_urls[e],i=(0,a.Tz)(r);d.ad+=i}}catch(e){(0,a.vV)("Error appending tracking pixel",e)}}return d}(e,t,r);n.mediaType=function(e){const t=e.ad_type;return t===c.G_?c.G_:t===c.s6?c.s6:c.D4}(t),i.push(n)}}})),e.debug&&e.debug.debug_info){let t="AppNexus Debug Auction for Prebid\n\n"+e.debug.debug_info;t=t.replace(/(<td>|<th>)/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^<br>/gm,"").replace(/(<br>\n|<br>)/gm,"\n").replace(/<h1>(.*)<\/h1>/gm,"\n\n===== $1 =====\n\n").replace(/<h[2-6]>(.*)<\/h[2-6]>/gm,"\n\n*** $1 ***\n\n").replace(/(<([^>]+)>)/gim,""),(0,a.OG)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,a.OG)(t)}return i},getUserSyncs:function(e,t,r,i,a){if(e.iframeEnabled&&(0,g.C)(r))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}];if(e.pixelEnabled){return["https://px.ads.linkedin.com/setuid?partner=appNexus"].map((e=>({type:"image",url:e})))}}};function G(e){const t={};Object.keys(e.params).forEach((t=>{let r=(0,b.vk)(t);r!==t&&(e.params[r]=e.params[t],delete e.params[t])})),t.sizes=P(e.sizes),t.primary_size=t.sizes[0],t.ad_types=[],t.uuid=e.bidId,e.params.placement_id?t.id=parseInt(e.params.placement_id,10):t.code=e.params.inv_code;const r=(0,a.Ez)("ast_override_div");if((0,a.O8)(r)&&""!==r){const i=decodeURIComponent(r).split(",").find((t=>t.startsWith(`${e.adUnitCode}:`)));if(i){const e=i.split(":")[1];e&&(t.force_creative_id=parseInt(e,10))}}t.allow_smaller_sizes=e.params.allow_smaller_sizes||!1,t.use_pmt_rule="boolean"==typeof e.params.use_payment_rule?e.params.use_payment_rule:"boolean"==typeof e.params.use_pmt_rule&&e.params.use_pmt_rule,t.prebid=!0,t.disable_psa=!0;let i=function(e){if(!(0,a.fp)(e.getFloor))return e.params.reserve?e.params.reserve:null;let t=e.getFloor({currency:"USD",mediaType:"*",size:"*"});if((0,a.Qd)(t)&&!isNaN(t.floor)&&"USD"===t.currency)return t.floor;return null}(e);if(i&&(t.reserve=i),e.params.position)t.position={above:1,below:2}[e.params.position]||1;else{let r=(0,s.A)(e,"mediaTypes.banner.pos")||(0,s.A)(e,"mediaTypes.video.pos");0!==r&&1!==r&&3!==r||(t.position=3===r?2:r)}e.params.traffic_source_code&&(t.traffic_source_code=e.params.traffic_source_code),e.params.private_sizes&&(t.private_sizes=P(e.params.private_sizes)),e.params.supply_type&&(t.supply_type=e.params.supply_type),e.params.pub_click&&(t.pubclick=e.params.pub_click),e.params.ext_inv_code&&(t.ext_inv_code=e.params.ext_inv_code),e.params.publisher_id&&(t.publisher_id=parseInt(e.params.publisher_id,10)),e.params.external_imp_id&&(t.external_imp_id=e.params.external_imp_id);const o=(0,f.T_)((0,f.gg)((0,s.A)(e,"ortb2Imp.ext.data.keywords")),e.params?.keywords);o.length>0&&(t.keywords=o);let n=(0,s.A)(e,"ortb2Imp.ext.gpid")||(0,s.A)(e,"ortb2Imp.ext.data.pbadslot");if(n&&(t.gpid=n),(e.mediaType===c.s6||(0,s.A)(e,`mediaTypes.${c.s6}`))&&(t.ad_types.push(c.s6),0===t.sizes.length&&(t.sizes=P([1,1])),e.nativeParams)){const r=function(e){const t={};return Object.keys(e).forEach((r=>{const i=A[r]&&A[r].serverName||A[r]||r,s=A[r]&&A[r].requiredParams;t[i]=Object.assign({},s,e[r]);if(!(i!==A.image.serverName&&i!==A.icon.serverName)&&t[i].sizes){let e=t[i].sizes;((0,a.Uu)(e)||(0,a.cy)(e)&&e.length>0&&e.every((e=>(0,a.Uu)(e))))&&(t[i].sizes=P(t[i].sizes))}i===A.privacyLink&&(t.privacy_supported=!0)})),t}(e.nativeParams);t[c.s6]={layouts:[r]}}{const r=(0,s.A)(e,`mediaTypes.${c.G_}`),i=(0,s.A)(e,"mediaTypes.video.context");t.hb_source=r&&"adpod"===i?7:1,(e.mediaType===c.G_||r)&&t.ad_types.push(c.G_),(e.mediaType===c.G_||r&&"outstream"!==i)&&(t.require_asset_url=!0),e.params.video&&(t.video={},Object.keys(e.params.video).filter((e=>(0,p.mK)(x,e))).forEach((r=>{switch(r){case"context":case"playback_method":let i=e.params.video[r];i=(0,a.cy)(i)?i[0]:i,t.video[r]=S[r][i];break;case"frameworks":break;default:t.video[r]=e.params.video[r]}})),e.params.video.frameworks&&(0,a.cy)(e.params.video.frameworks)&&(t.video_frameworks=e.params.video.frameworks)),r&&(t.video=t.video||{},Object.keys(r).filter((e=>(0,p.mK)(C,e))).forEach((e=>{switch(e){case"minduration":case"maxduration":"number"!=typeof t.video[e]&&(t.video[e]=r[e]);break;case"skip":"boolean"!=typeof t.video.skippable&&(t.video.skippable=1===r[e]);break;case"skipafter":"number"!=typeof t.video.skipoffset&&(t.video.skippoffset=r[e]);break;case"playbackmethod":if("number"!=typeof t.video.playback_method){let i=r[e];i=(0,a.cy)(i)?i[0]:i,i>=1&&i<=4&&(t.video.playback_method=i)}break;case"api":if(!t.video_frameworks&&(0,a.cy)(r[e])){let i=r[e].map((e=>{let t=4===e?5:5===e?4:e;if(t>=1&&t<=5)return t})).filter((e=>e));t.video_frameworks=i}break;case"startdelay":case"plcmt":case"placement":if("number"!=typeof t.video.context){const e=r.plcmt,i=r.placement,a=r.startdelay,s=function(e,t){if(!e)return;if(2===e){if(void 0===t)return;if(0===t)return"accompanying_content_pre_roll";if(-1===t)return"accompanying_content_mid_roll";if(-2===t)return"accompanying_content_post_roll"}else{if(3===e)return"interstitial";if(4===e)return"outstream"}}(e,a)||function(e){if(!e)return;if(2===e)return"in-banner";if(3===e)return"outstream";if(4===e)return"in-feed";if(5===e)return"intersitial"}(i)||function(e){if(!e)return;if(0===e)return"pre_roll";if(-1===e)return"mid_roll";if(-2===e)return"post_roll"}(a);t.video.context=S.context[s]}}}))),e.renderer&&(t.video=Object.assign({},t.video,{custom_renderer_present:!0}))}return e.params.frameworks&&(0,a.cy)(e.params.frameworks)&&(t.banner_frameworks=e.params.frameworks),(0,s.A)(e,`mediaTypes.${c.D4}`)&&t.ad_types.push(c.D4),0===t.ad_types.length&&delete t.ad_types,t}function P(e){let t=[],r={};if((0,a.cy)(e)&&2===e.length&&!(0,a.cy)(e[0]))r.width=parseInt(e[0],10),r.height=parseInt(e[1],10),t.push(r);else if("object"==typeof e)for(let i=0;i<e.length;i++){let a=e[i];r={},r.width=parseInt(a[0],10),r.height=parseInt(a[1],10),t.push(r)}return t}function M(e){return!!e.params.user}function $(e){return!!parseInt(e.params.member,10)}function B(e){if(e.params)return!!e.params.app}function K(e){return e.params&&e.params.app?!!e.params.app.id:!!e.params.app}function V(e){return!!e.debug}function L(e){return e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context===c.LM}function W(e){let t=!1;const r=e.params,i=e.params.video;return r.frameworks&&(0,a.cy)(r.frameworks)&&(t=(0,p.mK)(e.params.frameworks,6)),!t&&i&&i.frameworks&&(0,a.cy)(i.frameworks)&&(t=(0,p.mK)(e.params.video.frameworks,6)),t}function H(e,t,r){(0,a.Im)(e.video)&&(e.video={}),e.video[t]=r}function J(e,t){!function(e){try{const t=document.getElementById(e).querySelectorAll("div[id^='google_ads']");t[0]&&t[0].style.setProperty("display","none")}catch(e){}}(e.adUnitCode),function(e){try{const t=document.getElementById(e).querySelectorAll("script[id^='sas_script']");t[0].nextSibling&&"iframe"===t[0].nextSibling.localName&&t[0].nextSibling.style.setProperty("display","none")}catch(e){}}(e.adUnitCode),e.renderer.push((()=>{(t?.defaultView||window).ANOutstreamVideo.renderAd({tagId:e.adResponse.tag_id,sizes:[e.getSize().split("x")],targetId:e.adUnitCode,uuid:e.adResponse.uuid,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},Q.bind(null,e))}))}function Q(e,t,r){e.renderer.handleVideoEvent({id:t,eventName:r})}(0,d.a$)(q),(0,i.E)("appnexusBidAdapter")}},e=>{e.O(0,[802,7247,4982,5444,2126,2698,1085],(()=>{return t=791,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5081],{6117:(n,e,t)=>{var o=t(7873),s=t(1069),i=t(3172),r=t(3272),a=t(6916),c=t(5901),d=t(1e3),u=t(687),l=t(965),p=t(3806);const f=2;let g,m,C,b,v,M,y=!1,A=!1;const S={iab:function(n){let{onSuccess:e,onError:t,onEvent:o}=n;const i=(0,l.c5)({apiName:"__tcfapi",apiVersion:f,apiArgs:["command","version","callback","parameter"]});if(!i)return t("TCF2 CMP not found.");i.isDirect?(0,s.fH)("Detected CMP API is directly accessible, calling it now..."):(0,s.fH)("Detected CMP is outside the current iframe where Prebid.js is located, calling it now...");i({command:"addEventListener",callback:function(n,i){(0,s.fH)("Received a response from CMP",n),i?(o(n),!1!==n.gdprApplies&&"tcloaded"!==n.eventStatus&&"useractioncomplete"!==n.eventStatus||h(n,{onSuccess:e,onError:t})):t("CMP unable to register callback function.  Please check CMP setup.")}})},static:function(n){let{onSuccess:e,onError:t}=n;h(b,{onSuccess:e,onError:t})}};function P(n){let e,t,o=!1,s=null,i=!1;function r(n){null!=s&&clearTimeout(s),o||null==n||(0===n?e():s=setTimeout(e,n))}function d(e,t,s){if(r(null),o=!0,a.mW.setConsentData(e),"function"==typeof n){for(var i=arguments.length,c=new Array(i>3?i-3:0),d=3;d<i;d++)c[d-3]=arguments[d];n(t,s,...c)}}if(!(0,c.mK)(Object.keys(S),g))return void d(null,!1,`CMP framework (${g}) is not a supported framework.  Aborting consentManagement module and resuming auction.`);const u={onSuccess:n=>d(n,!1),onError:function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),o=1;o<e;o++)t[o-1]=arguments[o];d(null,!0,n,...t)},onEvent:function(n){t=n,i||(i=!0,null!=v&&r(v))}};e=()=>{const n=n=>{d(n,!1,(i?"Timeout waiting for user action on CMP":"CMP did not load")+", continuing auction...")};h(t,{onSuccess:n,onError:()=>n(w(void 0))})},S[g](u),null!=v&&i||r(m)}const E=(0,p.R)("gdpr",(()=>M),P);function h(n,e){let{onSuccess:t,onError:o}=e;!function(){const e=n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:C,t=n&&n.tcString;return!("boolean"==typeof e&&(!0!==e||t&&(0,s.O8)(t)))}()?t(w(n)):o("CMP returned unexpected value during lookup process.",n)}function w(n){return M={consentString:n?n.tcString:void 0,vendorData:n||void 0,gdprApplies:n&&"boolean"==typeof n.gdprApplies?n.gdprApplies:C},n&&n.addtlConsent&&(0,s.O8)(n.addtlConsent)&&(M.addtlConsent=n.addtlConsent),M.apiVersion=f,M}r.$W.getConfig("consentManagement",(n=>function(n){(n=n&&(n.gdpr||n.usp||n.gpp?n.gdpr:n))&&"object"==typeof n?((0,s.O8)(n.cmpApi)?g=n.cmpApi:(g="iab",(0,s.fH)("consentManagement config did not specify cmp.  Using system default setting (iab).")),(0,s.Et)(n.timeout)?m=n.timeout:(m=1e4,(0,s.fH)("consentManagement config did not specify timeout.  Using system default setting (10000).")),v=(0,s.Et)(n.actionTimeout)?n.actionTimeout:null,C=!0===n.defaultGdprScope,y=!!n.dsaPlatform,(0,s.fH)("consentManagement module has been activated..."),"static"===g&&((0,s.Qd)(n.consentData)?(b=n.consentData,null!=b?.getTCData&&(b=b.getTCData),m=0):(0,s.vV)("consentManagement config with cmpApi: 'static' did not specify consentData. No consents will be available to adapters.")),A||(0,o.m)().requestBids.before(E,50),A=!0,a.mW.enable(),P()):(0,s.JE)("consentManagement (gdpr) config not defined, exiting consent manager")}(n.consentManagement))),u.w.before((function(n,e){return n(e.then((n=>{const e=a.mW.getConsentData();return e&&("boolean"==typeof e.gdprApplies&&(0,i.J)(n,"regs.ext.gdpr",e.gdprApplies?1:0),(0,i.J)(n,"user.ext.consent",e.consentString)),y&&(0,i.J)(n,"regs.ext.dsa.dsarequired",3),n})))})),(0,d.pS)({type:d.S3,name:"gdprAddtlConsent",fn:function(n,e){const t=e.gdprConsent?.addtlConsent;t&&"string"==typeof t&&(0,i.J)(n,"user.ext.ConsentedProvidersSettings.consented_providers",t)}}),(0,o.E)("consentManagementTcf")}},n=>{n.O(0,[802,10,7109,1085],(()=>{return e=6117,n(n.s=e);var e}));n.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1829],{1493:(e,t,i)=>{var a=i(7873),r=i(3172),n=i(1069),o=i(7377),s=i(1371),d=i(2938),p=i(7934),l=i(2621),c=i(5789),u=i(3895),m=i(8044),v=i(9766),g=i(4406);const y="criteo",f="https://grid-bidder.criteo.com/openrtb_2_5/pbjs/auction/request",b=(0,d.vM)({bidderCode:y}),h="Criteo: ",T=(0,g.FE)(),I="https://static.criteo.net/js/ld/publishertag.renderer.js",k="cto_optout",x="cto_bundle",S=(0,v.A)({context:{netRevenue:!0,ttl:60},imp:function(e,t,i){let a=e(t,i);const n=t.params;a.tagid=t.adUnitCode,(0,r.J)(a,"ext",{...t.params.ext,...a.ext,rwdd:a.rwdd,floors:U(t),bidder:{publishersubid:n?.publisherSubId,zoneid:n?.zoneId,uid:n?.uid}}),delete a.rwdd,!i.fledgeEnabled&&a.ext.igs?.ae&&delete a.ext.igs.ae;if(w(t)){const e=t.params.video;void 0!==e&&(0,r.J)(a,"video",{...a.video,skip:a.video.skip||e.skip||0,placement:a.video.placement||e.placement,minduration:a.video.minduration||e.minduration,playbackmethod:a.video.playbackmethod||e.playbackmethod,startdelay:a.video.startdelay||e.startdelay||0}),(0,r.J)(a,"video.ext",{context:t.mediaTypes.video.context,playersizes:E(t?.mediaTypes?.video?.playerSize,R),plcmt:t.mediaTypes.video.plcmt,poddur:t.mediaTypes.video.adPodDurationSec,rqddurs:t.mediaTypes.video.durationRangeSec})}if(a.native&&void 0!==a.native.request){let e=JSON.parse(a.native.request);e.assets&&(1!==e.assets.length||Object.keys(e.assets[0]).length)||delete e.assets,(0,r.J)(a,"native.request_native",e),delete a.native.request}return a},request:function(e,t,i,a){let n=e(t,i,a);void 0!==a.publisherId&&(void 0!==n.app?(0,r.J)(n,"app.publisher.id",a.publisherId):(0,r.J)(n,"site.publisher.id",a.publisherId));i&&i.gdprConsent&&(0,r.J)(n,"regs.ext.gdprversion",i.gdprConsent.apiVersion);return n=T(n),n},bidResponse:function(e,t,i){i.mediaType=t?.ext?.mediatype,i.mediaType===s.s6&&void 0!==t.adm_native&&(t.adm=t.adm_native,delete t.adm_native);let a=e(t,i);const{bidRequest:n}=i;a.currency=t?.ext?.cur,void 0!==t?.ext?.meta&&(0,r.J)(a,"meta",{...a.meta,...t.ext.meta});void 0!==t?.ext?.paf?.content_id&&(0,r.J)(a,"meta.paf.content_id",t.ext.paf.content_id);a.mediaType===s.G_&&(a.vastUrl=t.ext?.displayurl,n?.mediaTypes?.video?.context===u.H6&&(a.renderer=function(e){if(void 0===e.ext?.videoPlayerConfig||void 0===e.ext?.videoPlayerType)return;const t={documentResolver:(e,t,i)=>i??t},i=(t,i)=>{let a={slotid:e.id,vastUrl:e.ext?.displayurl,vastXml:e.adm,documentContext:i},r=e.ext.videoPlayerConfig;window.CriteoOutStream[e.ext.videoPlayerType].play(a,r)},a=c.A4.install({url:I,config:t});return a.setRender(i),a}(t)));return a},response:function(e,t,i,a){let n=e(t,i,a);const o=i?.ext?.paf?.transmission;return n.bids.forEach((e=>{void 0!==o&&void 0!==e?.meta?.paf?.content_id?(0,r.J)(e,"meta.paf.transmission",o):delete e.meta.paf})),n}});const P={code:y,gvlid:91,supportedMediaTypes:[s.D4,s.G_,s.s6],getUserSyncs:function(e,t,i,a){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},{gppString:o="",applicableSections:s=[]}=r;const d=(0,p.EN)(),c="criteoPrebidAdapter";if(e.iframeEnabled&&(0,l.C)(i)){const e=[];if(e.push(`origin=${c}`),e.push(`topUrl=${d.domain}`),i&&(i.gdprApplies&&e.push("gdpr="+(1==i.gdprApplies?1:0)),i.consentString&&e.push(`gdpr_consent=${i.consentString}`)),a&&e.push(`us_privacy=${a}`),e.push(`gpp=${o}`),Array.isArray(s))for(const t of s)e.push(`gpp_sid=${t}`);const t=Math.random().toString(),r={bundle:C(x),cw:b.cookiesAreEnabled(),lsw:b.localStorageIsEnabled(),optoutCookie:C(k),origin:c,requestId:t,tld:d.domain,topUrl:d.domain,version:"9.23.0".replace(/\./g,"_")};window.addEventListener("message",(function e(i){if(!i.data||"https://gum.criteo.com"!=i.origin)return;if(i.data.requestId!==t)return;this.removeEventListener("message",e),i.stopImmediatePropagation();const a=i.data;a.optout?(_(x),q(k,!0,43200,d.domain)):(a.bundle&&q(x,a.bundle,9360,d.domain),a.callbacks&&a.callbacks.forEach(n.z$))}),!0);const p=JSON.stringify(r).replace(/"/g,"%22");return[{type:"iframe",url:`https://gum.criteo.com/syncframe?${e.join("&")}#${p}`}]}if(e.pixelEnabled&&(0,l.C)(i)){const e=[];if(e.push("profile=207"),i&&(!0===i.gdprApplies&&e.push("gdprapplies=true"),i.consentString&&e.push(`gdpr=${i.consentString}`)),a&&e.push(`ccpa=${a}`),e.push(`gpp=${o}`),Array.isArray(s))for(const t of s)e.push(`gpp_sid=${t}`);return[{type:"image",url:`https://ssp-sync.criteo.com/user-sync/redirect?${e.join("&")}`}]}return[]},isBidRequestValid:e=>!(!e||!e.params||!e.params.zoneId&&!e.params.networkId)&&!(w(e)&&!function(e){let t=!0;return["mimes","playerSize","maxduration","protocols","api","skip","placement","playbackmethod"].forEach((function(i){"placement"===i?void 0===e?.mediaTypes?.video?.[i]&&void 0===e?.params?.video?.[i]&&void 0===e?.mediaTypes?.video?.plcmt&&void 0===e?.params?.video?.plcmt&&(t=!1,(0,n.vV)("Criteo Bid Adapter: mediaTypes.video."+i+" or mediaTypes.video.plcmt is required")):void 0===e?.mediaTypes?.video?.[i]&&void 0===e?.params?.video?.[i]&&(t=!1,(0,n.vV)("Criteo Bid Adapter: mediaTypes.video."+i+" is required"))})),t}(e)),buildRequests:(e,t)=>{e.forEach((e=>{(function(e){return void 0!==e?.mediaTypes?.native})(e)&&(function(e){return!(e.nativeParams&&(e.nativeParams.image&&(!0!==e.nativeParams.image.sendId||!0===e.nativeParams.image.sendTargetingKeys)||e.nativeParams.icon&&(!0!==e.nativeParams.icon.sendId||!0===e.nativeParams.icon.sendTargetingKeys)||e.nativeParams.clickUrl&&(!0!==e.nativeParams.clickUrl.sendId||!0===e.nativeParams.clickUrl.sendTargetingKeys)||e.nativeParams.displayUrl&&(!0!==e.nativeParams.displayUrl.sendId||!0===e.nativeParams.displayUrl.sendTargetingKeys)||e.nativeParams.privacyLink&&(!0!==e.nativeParams.privacyLink.sendId||!0===e.nativeParams.privacyLink.sendTargetingKeys)||e.nativeParams.privacyIcon&&(!0!==e.nativeParams.privacyIcon.sendId||!0===e.nativeParams.privacyIcon.sendTargetingKeys)))}(e)||(0,n.JE)(h+"all native assets containing URL should be sent as placeholders with sendId(icon, image, clickUrl, displayUrl, privacyLink, privacyIcon)"),null==e?.nativeOrtbRequest?.assets&&((0,n.JE)(h+"native asset requirements are missing"),(0,r.J)(e,"nativeOrtbRequest.assets",[{}])))}));const i=function(e,t){const i=(0,n.Dl)(t?.refererInfo?.topmostLocation).search;return{url:t?.refererInfo?.page||"",debug:"1"===i.pbt_debug,noLog:"1"===i.pbt_nolog,fledgeEnabled:t.paapi?.enabled,amp:e.some((e=>"amp"===e.params.integrationMode)),networkId:e.find((e=>e.params?.networkId))?.params.networkId,publisherId:e.find((e=>e.params?.pubid))?.params.pubid}}(e,t),a=function(e){let t=f;t+="?profileId=207",t+="&av="+String(37),t+="&wv="+encodeURIComponent("9.23.0"),t+="&cb="+String(Math.floor(99999999999*Math.random())),b.localStorageIsEnabled()?t+="&lsavail=1":t+="&lsavail=0";e.amp&&(t+="&im=1");e.debug&&(t+="&debug=1");e.noLog&&(t+="&nolog=1");const i=C(x);i&&(t+=`&bundle=${i}`);C(k)&&(t+="&optout=1");e.networkId&&(t+="&networkId="+e.networkId);return t}(i),o=S.toORTB({bidderRequest:t,bidRequests:e,context:i});if(o)return{method:"POST",url:a,data:o,bidRequests:e}},interpretResponse:(e,t)=>{if(void 0===e?.body)return[];const i=S.fromORTB({response:e.body,request:t.data}).bids||[],a=e.body?.ext?.igi?.filter((e=>(0,n.cy)(e?.igs))).flatMap((e=>e.igs));return a?.length?{bids:i,paapi:a}:i},onDataDeletionRequest:e=>{const t=C(x);t&&(_(x),(0,m.RD)("https://privacy.criteo.com/api/privacy/datadeletionrequest",null,JSON.stringify({publisherUserId:t}),{contentType:"application/json",method:"POST"}))}};function C(e){const t=b.getCookie(e),i=b.getDataFromLocalStorage(e);return t||i||void 0}function q(e,t,i,a){const r=new Date;r.setTime(r.getTime()+60*i*60*1e3);const n=`expires=${r.toUTCString()}`,o=a.split(".");for(let i=0;i<o.length;++i){const a=o.slice(o.length-i-1,o.length).join(".");try{b.setCookie(e,t,n,null,"."+a);const i=b.getCookie(e);if(i&&i===t)break}catch(e){}}b.setDataInLocalStorage(e,t)}function _(e){b.setCookie(e,"",0),b.removeDataFromLocalStorage(e)}function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return null==e?[]:Array.isArray(e[0])?e.map((e=>t(e))):[t(e)]}function R(e){return e[0]+"x"+e[1]}function w(e){return void 0!==e?.mediaTypes?.video}function U(e){try{const t={},i=function(e){if(e.getFloor)return e.getFloor;if(e.params.bidFloor&&e.params.bidFloorCur)try{const t=parseFloat(e.params.bidFloor);return()=>({currency:e.params.bidFloorCur,floor:t})}catch{}}(e);if(i){if(e.mediaTypes?.banner){t.banner={};E(e?.mediaTypes?.banner?.sizes).forEach((a=>t.banner[R(a).toString()]=i.call(e,{size:a,mediaType:s.D4})))}if(e.mediaTypes?.video){t.video={};E(e?.mediaTypes?.video?.playerSize).forEach((a=>t.video[R(a).toString()]=i.call(e,{size:a,mediaType:s.G_})))}return e.mediaTypes?.native&&(t.native={},t.native["*"]=i.call(e,{size:"*",mediaType:s.s6})),t}}catch(e){(0,n.vV)("Could not parse floors from Prebid: "+e)}}(0,o.a$)(P),(0,a.E)("criteoBidAdapter")}},e=>{e.O(0,[802,8498,5889,1085],(()=>{return t=1493,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[931],{2843:(e,t,o)=>{var n=o(7873),r=o(1069),a=o(8044),c=o(7934),i=o(9214),s=o(2938),d=o(5569),l=o(6916);const p="criteo",g=(0,s.vM)({moduleType:d.fW,moduleName:p}),u="cto_bidid",m="cto_bundle",b="html5",I="cookie",y=new Date(0).toString(),f=new Date((0,r.vE)()+33696e6).toString();function S(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=(0,r.Dl)(e,{noDecodeWholeURL:!0});return t?`${o.hostname}`:`${o.protocol}://${o.hostname}${o.port?":"+o.port:""}/`}function h(e,t){return e?.storage?.type===b?g.getDataFromLocalStorage(t):e?.storage?.type===I?g.getCookie(t):g.getCookie(t)||g.getDataFromLocalStorage(t)}function C(e,t,o,n){t&&o&&(e?.storage?.type===b?g.setDataInLocalStorage(t,o):(e?.storage?.type===I||g.setDataInLocalStorage(t,o),v(t,o,f,n,!0)))}function v(e,t,o,n,r){const a=n.split(".");for(let n=0;n<a.length;++n){const c=a.slice(a.length-n-1,a.length).join(".");try{if(g.setCookie(e,t,o,null,"."+c),r){const o=g.getCookie(e);if(o&&o===t)break}}catch(e){}}}function U(e,t,o){const n=(void 0===e?.storage?.type||e?.storage?.type===I)&&g.cookiesAreEnabled(),i=(void 0===e?.storage?.type||e?.storage?.type===b)&&g.localStorageIsEnabled(),s=S((0,c.EN)().page),d=S(document.location.href,!0),p="undefined"!=typeof criteo_pubtag,f=function(e,t,o,n,r,a,c){let i="https://gum.criteo.com/sid/json?origin=prebid"+(e?"&topUrl="+encodeURIComponent(e):"")+(t?"&domain="+encodeURIComponent(t):"")+(o?"&bundle="+encodeURIComponent(o):"")+(n?"&info="+encodeURIComponent(n):"")+(r?"&cw=1":"")+(c?"&pbt=1":"")+(a?"&lsw=1":"");const s=l.t6.getConsentData();s&&(i+=`&us_privacy=${encodeURIComponent(s)}`);const d=l.mW.getConsentData();d&&(i=i+""+(d.consentString?"&gdprString="+encodeURIComponent(d.consentString):""),i=i+"&gdpr="+(!0===d.gdprApplies?1:0));const p=l.ad.getConsentData();return p&&(i=i+""+(p.gppString?"&gpp="+encodeURIComponent(p.gppString):""),i=i+""+(p.applicableSections?"&gpp_sid="+encodeURIComponent(p.applicableSections):"")),i}(s,d,t.bundle,t.dnaBundle,n,i,p),h={success:t=>{const n=JSON.parse(t);if(n.pixels&&n.pixels.forEach((t=>function(e,t,o){o.writeBundleInStorage&&o.bundlePropertyName&&o.storageKeyName?(0,a.RD)(o.pixelUrl,{success:n=>{if(n){const r=JSON.parse(n);r&&r[o.bundlePropertyName]&&C(e,o.storageKeyName,r[o.bundlePropertyName],t)}},error:e=>{(0,r.vV)("criteoIdSystem: unable to sync user id",e)}},void 0,{method:"GET",withCredentials:!0}):(0,r.z$)(o.pixelUrl)}(e,d,t))),n.acwsUrl){("string"==typeof n.acwsUrl?[n.acwsUrl]:n.acwsUrl).forEach((e=>(0,r.z$)(e)))}else n.bundle&&C(e,m,n.bundle,d);if(n.bidId){C(e,u,n.bidId,d);const t={criteoId:n.bidId};o(t)}else v(c=u,"",y,d,!0),g.removeDataFromLocalStorage(c),o();var c},error:e=>{(0,r.vV)("criteoIdSystem: unable to sync user id",e),o()}};(0,a.RD)(f,h,void 0,{method:"GET",contentType:"application/json",withCredentials:!0})}const D={name:p,gvlid:91,decode:e=>e,getId(e){let t=function(e){return{bundle:h(e,m),dnaBundle:h(e,"cto_dna_bundle"),bidId:h(e,u)}}(e);return{id:t.bidId?{criteoId:t.bidId}:void 0,callback:o=>U(e,t,o)}},eids:{criteoId:{source:"criteo.com",atype:1}}};(0,i.bz)("userId",D),(0,n.E)("criteoIdSystem")}},e=>{e.O(0,[802,1085],(()=>{return t=2843,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[6466],{9236:(e,r,n)=>{var t=n(7873),o=n(1069),c=n(3172),i=n(8969),s=n(8044),u=n(3272),a=n(9214),f=n(5555),l=n(1e3),d=n(6894),y=n(5023),v=n(687),h=n(6400);const C=4;let p,g=[],$={},b=!1,m=!0,R="USD";var O=!1,S={};let E,N={},T=(0,f.v)();const U=(0,h.L)();let w=0;function D(e){if(p="https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json?date=$$TODAY$$",null!==e.rates&&"object"==typeof e.rates&&(S.conversions=e.rates,b=!0,m=!1),null!==e.defaultRates&&"object"==typeof e.defaultRates&&(E=e.defaultRates,S.conversions=E,b=!0),"string"==typeof e.adServerCurrency){w=e.auctionDelay,(0,o.fH)("enabling currency support",arguments),R=e.adServerCurrency,e.conversionRateFile&&((0,o.fH)("currency using override conversionRateFile:",e.conversionRateFile),p=e.conversionRateFile);const r=p.indexOf("$$TODAY$$");if(-1!==r){const e=new Date;let n=`${e.getMonth()+1}`,t=`${e.getDate()}`;n.length<2&&(n=`0${n}`),t.length<2&&(t=`0${t}`);const o=`${e.getFullYear()}${n}${t}`;p=`${p.substring(0,r)}${o}${p.substring(r+9,p.length)}`}$={},O||(O=!0,(0,t.m)().convertCurrency=(e,r,n)=>parseFloat(e)*J(r,n),(0,a.Yn)("addBidResponse").before(A,100),(0,a.Yn)("responsesReady").before(k),v.w.before(j),(0,a.Yn)("requestBids").before(q,50),(0,y.on)(i.qY.AUCTION_TIMEOUT,F),(0,y.on)(i.qY.AUCTION_INIT,I),I())}else w=0,(0,o.fH)("disabling currency support"),O&&((0,a.Yn)("addBidResponse").getHooks({hook:A}).remove(),(0,a.Yn)("responsesReady").getHooks({hook:k}).remove(),v.w.getHooks({hook:j}).remove(),(0,a.Yn)("requestBids").getHooks({hook:q}).remove(),(0,y.AU)(i.qY.AUCTION_TIMEOUT,F),(0,y.AU)(i.qY.AUCTION_INIT,I),delete(0,t.m)().convertCurrency,R="USD",$={},O=!1,b=!1,m=!0,S={},N={},T=(0,f.v)());"object"==typeof e.bidderCurrencyDefault&&(N=e.bidderCurrencyDefault)}function Y(e){E?((0,o.JE)(e),(0,o.JE)("Currency failed loading rates, falling back to currency.defaultRates")):(0,o.vV)(e)}function I(){m?(m=!1,b=!1,(0,s.RD)(p,{success:function(e){try{S=JSON.parse(e),(0,o.fH)("currencyRates set to "+JSON.stringify(S)),$={},b=!0,H(),U.resume()}catch(r){Y("Failed to parse currencyRates response: "+e)}},error:function(){Y(...arguments),b=!0,H(),U.resume(),m=!0}})):H()}function k(e,r){e(r.then((()=>T.promise)))}u.$W.getConfig("currency",(e=>D(e.currency)));const A=(0,d.NL)("currency",(function(e,r,n,t){if(!n)return e.call(this,r,n,t);let c=n.bidderCode||n.bidder;if(N[c]){let e=N[c];n.currency&&e!==n.currency?(0,o.JE)(`Currency default '${c}: ${e}' ignored. adapter specified '${n.currency}'`):n.currency=e}if(n.currency||((0,o.JE)('Currency not specified on bid.  Defaulted to "USD"'),n.currency="USD"),n.getCpmInNewCurrency=function(e){return(parseFloat(this.cpm)*J(this.currency,e)).toFixed(3)},n.currency===R)return e.call(this,r,n,t);g.push([e,this,r,n,t]),O&&!b||H()}));function F(e){let{auctionId:r}=e;g=g.filter((e=>{let[n,t,o,c,s]=e;if(c.auctionId!==r)return!0;s(i.Tf.CANNOT_CONVERT_CURRENCY)}))}function H(){for(;g.length>0;){const[e,r,n,t,c]=g.shift();if(void 0!==t&&"currency"in t&&"cpm"in t){let e=t.currency;try{let r=J(e);1!==r&&(t.cpm=(parseFloat(t.cpm)*r).toFixed(4),t.currency=R)}catch(e){(0,o.JE)("getCurrencyConversion threw error: ",e),c(i.Tf.CANNOT_CONVERT_CURRENCY);continue}}e.call(r,n,t,c)}T.resolve()}function J(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;var n,t=null;let c=`${e}->${r}`;if(c in $)t=$[c],(0,o.OG)("Using conversionCache value "+t+" for "+c);else if(!1===O){if("USD"!==e)throw new Error("Prebid currency support has not been enabled and fromCurrency is not USD");t=1}else if(e===r)t=1;else if(e in S.conversions){if(!(r in(n=S.conversions[e])))throw new Error("Specified adServerCurrency in config '"+r+"' not found in the currency rates file");t=n[r],(0,o.fH)("getCurrencyConversion using direct "+e+" to "+r+" conversionRate "+t)}else if(r in S.conversions){if(!(e in(n=S.conversions[r])))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");t=_(1/n[e],C),(0,o.fH)("getCurrencyConversion using reciprocal "+e+" to "+r+" conversionRate "+t)}else{var i=Object.keys(S.conversions)[0];if(!(e in S.conversions[i]))throw new Error("Specified fromCurrency '"+e+"' not found in the currency rates file");var s=1/S.conversions[i][e];if(!(r in S.conversions[i]))throw new Error("Specified adServerCurrency in config '"+r+"' not found in the currency rates file");t=_(s*S.conversions[i][r],C),(0,o.fH)("getCurrencyConversion using intermediate "+e+" thru "+i+" to "+r+" conversionRate "+t)}return c in $||((0,o.OG)("Adding conversionCache value "+t+" for "+c),$[c]=t),t}function _(e,r){var n=1;for(let e=0;e<r;e++)n+="0";return Math.round(e*n)/n}function j(e,r){return e(r.then((e=>((0,c.J)(e,"ext.prebid.adServerCurrency",R),e))))}(0,l.pS)({type:l.S3,name:"currency",fn:function(e,r,n){O&&(e.cur=e.cur||[n.currency||R])}});const q=(0,d.Ak)("currency",(function(e,r){const n=(t=this,()=>e.call(t,r));var t;!b&&w>0?U.submit(w,n,(()=>{(0,o.JE)(`currency: Fetch attempt did not return in time for auction ${r.auctionId}`),n()})):n()}));(0,t.E)("currency")}},e=>{e.O(0,[802,5957,1085],(()=>{return r=9236,e(e.s=r);var r}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2969],{7371:(e,t,n)=>{var r=n(7873),o=n(1069),i=n(7377),a=n(2938),s=n(1371),d=n(1252);const c="eplanning",u=(0,a.vM)({bidderCode:c}),p=Math.random(),l="i.e-planning.net",f=["ci","sv","t","ml","sn"],m="USD",g="1x1",h="pbsr_",y="pbvi_",v=window.navigator.userAgent.match(/(mobile)|(ip(hone|ad))|(android)|(blackberry)|(nokia)|(phone)|(opera\smini)/i),b=["1x1","300x50","320x50","300x250"],I=["1x1","970x90","970x250","160x600","300x600","728x90","300x250"],x="640x480",C={code:c,supportedMediaTypes:[s.D4,s.G_],isBidRequestValid:function(e){return Boolean(e.params.ci)||Boolean(e.params.t)},buildRequests:function(e,t){let n,o;const i=function(e){if(function(e){for(let t=0;t<e.length;t++)if(e[t].params.t)return!0;return!1}(e))return function(e){let t;return e.forEach((e=>t=t||e.params.isv)),{t:!0,isv:t||l}}(e.filter((e=>e.params.t)));let t={};return e.forEach((e=>{f.forEach((n=>{e.params[n]&&!t[n]&&(t[n]=e.params[n])}))})),t}(e),a=function(){try{return window.top.document.charset||window.top.document.characterSet}catch(e){return document.charset||document.characterSet}}(),d=function(e,t){let n=e.reduce(((e,t)=>t.mediaTypes&&t.mediaTypes[s.G_]?"outstream"==t.mediaTypes[s.G_].context?2|e:1|e:e),0);n&&(e=e.filter((e=>e.mediaTypes&&e.mediaTypes[s.G_]&&(1&n?!e.mediaTypes[s.G_].context||"instream"==e.mediaTypes[s.G_].context:"outstream"==e.mediaTypes[s.G_].context))));let r=function(e){let t={};return e.forEach((e=>{let n=E(e,!0);t[n]=t[n]?t[n]:[],t[n].push(e)})),t}(e),o={str:"",vs:"",map:{},impType:n};return o.str=Object.keys(r).map((e=>r[e].map(((e,r)=>{let i;if(o.vs+=function(e){let t,n="";u.hasLocalStorage()?(t=function(e){let t=u.getDataFromLocalStorage(h+e.adUnitCode)||0,n=u.getDataFromLocalStorage(y+e.adUnitCode)||0,r=t>0?n/t:0;return{render:t,ratio:window.parseInt(10*r,10)}}(e),n+=t.render>=4?t.ratio.toString(16):"F"):n+="F";return n}(e),n){let t=function(e){if(null==e||!Array.isArray(e))return;let t=Array.isArray(e[0])?e[0]:e;return Array.isArray(t)&&2==t.length?t:void 0}(e.mediaTypes[s.G_].playerSize),n=t?t.join("x"):x;return i="video_"+n+"_"+r,o.map[i]=e.bidId,i+":"+n+";1"+S(e)}return i=t?function(e){return e.replace(/_|\.|-|\//g,"").replace(/\)\(|\(|\)|:/g,"_").replace(/^_+|_+$/g,"")}(e.adUnitCode):e.params&&e.params.sn||E(e,!0)+"_"+r,o.map[i]=e.bidId,i+":"+E(e)+S(e)})).join("+"))).join("+"),o}(e,i.ml),c=t.refererInfo.page||t.refererInfo.topmostLocation,m=t.refererInfo.domain||window.location.host;if(i.t)n="https://"+i.isv+"/layers/t_pbjs_2.json",o={};else{n="https://"+(i.sv||"pbjs.e-planning.net")+"/pbjs/1/"+i.ci+"/1/"+m+"/ROS";const s=t.refererInfo.ref||t.refererInfo.topmostLocation;if(u.hasLocalStorage()&&function(e){let t=[];e.forEach((e=>{let n=U(e.adUnitCode);n?T(n,e.adUnitCode):t.push(e.adUnitCode)})),t.length&&function(e){const t=new MutationObserver((function(t,n){let r,o;t&&Array.isArray(t)&&t.forEach((t=>{t&&t.addedNodes&&Array.isArray(t.addedNodes)&&t.addedNodes.forEach((t=>{r=e.indexOf(t.id),o=t,r<0&&e.forEach((n=>{let i=U(n);i&&i.contains(t)&&i.getBoundingClientRect().width>0&&(r=e.indexOf(i.id),o=i)})),r>=0&&(T(o,e[r]),e.splice(r,1),e.length||n.disconnect())}))}))}));document.addEventListener("DOMContentLoaded",(function(e){var n={childList:!0,subtree:!0,characterData:!0};t.observe(document.body,n)}))}(t)}(e),o={rnd:p,e:d.str,ur:A(c||"file"),pbv:"9.23.0",ncb:"1",vs:d.vs},a&&(o.crs=a),s&&(o.fr=A(s)),t&&t.gdprConsent&&void 0!==t.gdprConsent.gdprApplies&&(o.gdpr=t.gdprConsent.gdprApplies?"1":"0",void 0!==t.gdprConsent.consentString&&(o.gdprcs=t.gdprConsent.consentString)),t&&t.uspConsent&&(o.ccpa=t.uspConsent),(0,r.m)().getUserIds&&"function"==typeof(0,r.m)().getUserIds){const e=(0,r.m)().getUserIds();for(var g in e)o["e_"+g]="object"==typeof e[g]?encodeURIComponent(JSON.stringify(e[g])):encodeURIComponent(e[g])}d.impType&&(o.vctx=1&d.impType?1:2,o.vv=3)}return{method:"GET",url:n,data:o,adUnitToBidId:d.map}},interpretResponse:function(e,t){const n=e.body;let r=[];return n&&!(0,o.Im)(n.sp)&&n.sp.forEach((e=>{(0,o.Im)(e.a)||e.a.forEach((n=>{const o={requestId:t.adUnitToBidId[e.k],cpm:n.pr,width:n.w,height:n.h,ttl:120,creativeId:n.crid,netRevenue:true,currency:m};n.adom&&(o.meta={advertiserDomains:n.adom}),t&&t.data&&t.data.vv?(o.vastXml=n.adm,o.mediaType=s.G_):o.ad=n.adm,r.push(o)}))})),r},getUserSyncs:function(e,t){const n=[],r=!(0,o.Im)(t)&&t[0].body;if(r&&!(0,o.Im)(r.cs)){r.cs.forEach((t=>{"string"==typeof t&&e.pixelEnabled?n.push({type:"image",url:t}):"object"==typeof t&&t.ifr&&e.iframeEnabled&&n.push({type:"iframe",url:t.u})}))}return n}};function w(){return(0,o.l4)().innerWidth<=1024||window.orientation||v}function _(e,t){var n=w()?b:I,r=n.indexOf(e),o=n.indexOf(t);return r>-1?o>-1&&r<o?1:-1:o>-1?1:0}function E(e,t){var n,r=e.sizes&&e.sizes.length?(n=e.sizes,(0,o.kK)(n).sort(_)):[];return r.length?t?r[0]:r.join(","):g}function S(e){if("function"==typeof e.getFloor){let t=e.getFloor({currency:m,mediaType:"*",size:"*"})||{};if(t.floor)return"|"+encodeURIComponent(t.floor)}return""}function T(e,t){var n;(n={name:t,div:e}).div&&(R(h+n.name),function(){let e,t,n=5,r=1e3,o=.5,i={};function a(e){e.forEach((function(e){var t=e.target;e.isIntersecting?e.intersectionRatio>=o&&e.boundingClientRect&&e.boundingClientRect.height>0&&e.boundingClientRect.width>0&&(i[t.id]=!0):i[t.id]=!1}))}function s(e){return i[e.id]&&document.visibilityState&&"visible"===document.visibilityState}function d(){if(!t){var e={root:null,rootMargin:"0px",threshold:[o]};t=new IntersectionObserver(a.bind(this),e)}}function c(e,t,o){let i=s(t)?e+1:0;i===n?(u(t),o()):setTimeout(c.bind(this,i,t,o),r/n)}function u(e){delete i[e.id],t.unobserve(e)}function p(e){t.observe(e)}function l(e,t){e&&(d(),p(e),c(0,e,t))}return e={onView:l.bind(this)},e}().onView(n.div,R.bind(void 0,y+n.name)))}function U(e){return document.getElementById(e)||document.getElementById(function(e){if((0,o.II)()){const t=googletag.pubads().getSlots(),n=(0,d.mw)(e);for(let e=0;e<t.length;e++)if(n(t[e]))return t[e].getSlotElementId()}return null}(e))}function A(e){return e.length>255&&(e=e.split("?")[0]).length>255&&(e=e.slice(0,255)),e}function R(e){let t;try{t=u.getDataFromLocalStorage(e),t=t?window.parseInt(t,10)+1:1,u.setDataInLocalStorage(e,t)}catch(e){return!1}return!0}(0,i.a$)(C),(0,r.E)("eplanningBidAdapter")}},e=>{e.O(0,[3005,802,1085],(()=>{return t=7371,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1807],{8178:(e,r,t)=>{var l=t(7873),n=t(3272),o=t(9214),a=t(1069),s=t(5555),d=t(6894);let i=[];const u=(0,d.Ak)("fpd",(function(e,r){(function(){let{global:e={},bidder:r={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.$W.getConfig("firstPartyData")||{},l=s.k.resolve({global:e,bidder:r});return i.sort(((e,r)=>(e.queue||1)-(r.queue||1))).forEach((e=>{l=l.then((r=>{let{global:l,bidder:n}=r;return s.k.resolve(e.processFpd(t,{global:l,bidder:n})).catch((r=>((0,a.vV)(`Error in FPD module ${e.name}`,r),{}))).then((e=>({global:e.global||l,bidder:e.bidder||n})))}))})),l})(r.ortb2Fragments).then((t=>{Object.assign(r.ortb2Fragments,t),e.call(this,r)}))}));(0,o.xG)("firstPartyData",(function(e){i.push(e)})),(0,o.Yn)("startAuction").before(u,10),(0,l.E)("fpdModule")}},e=>{e.O(0,[802,1085],(()=>{return r=8178,e(e.s=r);var r}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[6497],{4263:(e,t,r)=>{var n=r(7873),i=r(1069),o=r(433),a=r(3172),s=r(8044),d=r(9214),c=r(7934),u=r(2938),l=r(6916),p=r(5569),g=r(5555),h=r(1580);const f="id5id",b="User ID - ID5 submodule: ",v="id5-sync.com",w=(0,u.vM)({moduleType:p.fW,moduleName:"id5Id"}),m={name:"id5Id",gvlid:131,decode(e,t){let r,n,s={};if(!e||"string"!=typeof e.universal_uid)return;r=e.universal_uid,s=e.ext||s,n=e.publisherTrueLinkId;let d={id5id:{uid:r,ext:s}};(0,i.Qd)(s.euid)&&(d.euid={uid:s.euid.uids[0].id,source:s.euid.source,ext:{provider:v}}),n&&(d.trueLinkId={uid:n});switch((0,o.A)(e,"ab_testing.result")){case"control":(0,i.fH)(b+"A/B Testing - user is in the Control Group: ID5 ID is NOT exposed"),(0,a.J)(d,"id5id.ext.abTestingControlGroup",!0);break;case"error":(0,i.vV)(b+"A/B Testing ERROR! controlGroupPct must be a number >= 0 and <= 1");break;case"normal":(0,i.fH)(b+"A/B Testing - user is NOT in the Control Group"),(0,a.J)(d,"id5id.ext.abTestingControlGroup",!1)}return(0,i.fH)(b+"Decoded ID",d),d},getId(e,t,r){if(!function(e){if(!e||!e.params||!e.params.partner)return(0,i.vV)(b+"partner required to be defined"),!1;const t=e.params.partner;if("string"==typeof t||t instanceof String){let r=parseInt(t);if(isNaN(r)||r<0)return(0,i.vV)(b+"partner required to be a number or a String parsable to a positive integer"),!1;e.params.partner=r}else if("number"!=typeof t)return(0,i.vV)(b+"partner required to be a number or a String parsable to a positive integer"),!1;if(!e.storage||!e.storage.type||!e.storage.name)return(0,i.vV)(b+"storage required to be set"),!1;e.storage.name!==f&&(0,i.JE)(b+`storage name recommended to be '${f}'.`);return!0}(e))return;if(!D(t))return void(0,i.fH)(b+"Skipping ID5 local storage write because no consent given.");return{callback:function(n){new y(e,t,r,l.t6.getConsentData(),l.ad.getConsentData()).execute().then((e=>{n(e)})).catch((e=>{(0,i.vV)(b+"getId fetch encountered an error",e),n()}))}}},extendId:(e,t,r)=>D(t)?((0,i.fH)(b+"using cached ID",r),r&&(r.nbPage=x(r)),r):((0,i.fH)(b+"No consent given for ID5 local storage writing, skipping nb increment."),r),primaryIds:["id5id","trueLinkId"],eids:{id5id:{getValue:function(e){return e.uid},source:v,atype:1,getUidExt:function(e){if(e.ext)return e.ext}},euid:{getValue:function(e){return e.uid},getSource:function(e){return e.source},atype:3,getUidExt:function(e){if(e.ext)return e.ext}},trueLinkId:{getValue:function(e){return e.uid},getSource:function(e){return"true-link-id5-sync.com"},atype:1,getUidExt:function(e){if(e.ext)return e.ext}}}};class y{constructor(e,t,r,n,i){this.submoduleConfig=e,this.gdprConsentData=t,this.cacheIdObj=r,this.usPrivacyData=n,this.gppData=i}async execute(){const e=this.#e();if(!this.#t())return this.#r(e);try{return await this.#n(e)}catch(t){return(0,i.vV)(b+"Error while performing ID5 external module flow. Continuing with regular flow.",t),this.#r(e)}}#t(){return"string"==typeof this.submoduleConfig.params.externalModuleUrl}async#n(e){await async function(e){return new g.k(((t,r)=>{if(window.id5Prebid)t();else try{(0,h.R)(e,p.fW,"id5",t)}catch(e){r(e)}}))}(this.submoduleConfig.params.externalModuleUrl);const t=await e;return this.#i().fetchId5Id(t,this.submoduleConfig.params,(0,c.EN)(),this.gdprConsentData,this.usPrivacyData,this.gppData)}#i(){return window.id5Prebid&&window.id5Prebid.integration}async#r(e){const t=await e,r=await this.#o(t.extensionsCall),n=await this.#a(t.fetchCall,r);return this.#s(n)}async#e(){let e=this.submoduleConfig.params.configUrl||"https://id5-sync.com/api/config/prebid";const t=await(0,s.hd)(e,{method:"POST",body:JSON.stringify({...this.submoduleConfig,bounce:!0}),credentials:"include"});if(!t.ok)throw new Error("Error while calling config endpoint: ",t);const r=await t.json();return(0,i.fH)(b+"config response received from the server",r),r}async#o(e){if(void 0===e)return;const t=e.url,r=e.method||"GET",n="GET"===r?void 0:JSON.stringify(e.body||{}),o=await(0,s.hd)(t,{method:r,body:n});if(!o.ok)throw new Error("Error while calling extensions endpoint: ",o);const a=await o.json();return(0,i.fH)(b+"extensions response received from the server",a),a}async#a(e,t){const r=e.url,n=e.overrides||{},o=JSON.stringify({...this.#d(),...n,extensions:t}),a=await(0,s.hd)(r,{method:"POST",body:o,credentials:"include"});if(!a.ok)throw new Error("Error while calling fetch endpoint: ",a);const d=await a.json();return(0,i.fH)(b+"fetch response received from the server",d),d}#d(){const e=this.submoduleConfig.params,t=this.gdprConsentData&&"boolean"==typeof this.gdprConsentData.gdprApplies&&this.gdprConsentData.gdprApplies?1:0,r=(0,c.EN)(),n=this.cacheIdObj?this.cacheIdObj.signature:void 0,o=x(this.cacheIdObj),a=window.id5Bootstrap?window.id5Bootstrap.getTrueLinkInfo():{booted:!1},s={partner:e.partner,gdpr:t,nbPage:o,o:"pbjs",tml:r.topmostLocation,ref:r.ref,cu:r.canonicalUrl,top:r.reachedTop?1:0,u:r.stack[0]||window.location.href,v:"9.23.0",storage:this.submoduleConfig.storage,localStorage:w.localStorageIsEnabled()?1:0,true_link:a};!t||void 0===this.gdprConsentData.consentString||(0,i.Im)(this.gdprConsentData.consentString)||(0,i.xQ)(this.gdprConsentData.consentString)||(s.gdpr_consent=this.gdprConsentData.consentString),void 0===this.usPrivacyData||(0,i.Im)(this.usPrivacyData)||(0,i.xQ)(this.usPrivacyData)||(s.us_privacy=this.usPrivacyData),this.gppData&&(s.gpp_string=this.gppData.gppString,s.gpp_sid=this.gppData.applicableSections),void 0===n||(0,i.xQ)(n)||(s.s=n),void 0===e.pd||(0,i.xQ)(e.pd)||(s.pd=e.pd),void 0===e.provider||(0,i.xQ)(e.provider)||(s.provider=e.provider);const d=e.abTesting||{enabled:!1};return d.enabled&&(s.ab_testing={enabled:!0,control_group_pct:d.controlGroupPct}),s}#s(e){try{e.privacy&&window.id5Bootstrap&&window.id5Bootstrap.setPrivacy&&window.id5Bootstrap.setPrivacy(e.privacy)}catch(e){(0,i.vV)(b+"Error while writing privacy info into local storage.",e)}return e}}function x(e){return e&&void 0!==e.nbPage?e.nbPage+1:1}function D(e){const t=e&&"boolean"==typeof e.gdprApplies&&e.gdprApplies,r=(0,o.A)(e,"vendorData.purpose.consents.1"),n=(0,o.A)(e,`vendorData.vendor.consents.${131..toString()}`);return!!(!t||r&&n)}(0,d.bz)("userId",m),(0,n.E)("id5IdSystem")}},e=>{e.O(0,[802,1085],(()=>{return t=4263,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1777],{5377:(e,t,r)=>{var s=r(7873),i=r(433),d=r(1069),n=r(3172),o=r(7377),a=r(3272),p=r(1371),l=r(5789),c=r(2621),u=r(9766),m=r(6743),b=r(1580),h=r(5569);const g="improvedigital",y="USD",f={DEFAULT_MIMES:["video/mp4"]},R={code:g,gvlid:253,aliases:["id"],supportedMediaTypes:[p.D4,p.s6,p.G_],syncStore:{extendMode:!1,placementId:null},isBidRequestValid:e=>!!(e&&e.params&&e.params.placementId&&e.params.publisherId),buildRequests(e,t){return this.syncStore.placementId=this.syncStore.placementId||e[0].params.placementId,E.buildServerRequests(e,t)},interpretResponse(e,t){let{ortbRequest:r}=t;return v.fromORTB({request:r,response:e.body}).bids},getUserSyncs(e,t,r,s){if(!0===a.$W.getConfig("coppa")||!(0,c.C)(r))return[];const d=[];if(!this.syncStore.extendMode&&e.pixelEnabled||!e.iframeEnabled)e.pixelEnabled&&t.forEach((e=>{(0,i.A)(e,`body.ext.${g}.sync`,[]).forEach((e=>{d.some((t=>t.url===e))||d.push({type:"image",url:e})}))}));else{const{gdprApplies:e,consentString:i}=r||{},n=new Set;this.syncStore.extendMode&&t&&t.forEach((e=>{e?.body?.ext?.responsetimemillis&&Object.keys(e.body.ext.responsetimemillis).forEach((e=>n.add(e)))})),d.push({type:"iframe",url:`https://hb.360yield.com/prebid-universal-creative/load-cookie.html?placement_id=${this.syncStore.placementId}`+(this.syncStore.extendMode?"&pbs=1":"")+("boolean"==typeof e?`&gdpr=${Number(e)}`:"")+(i?`&gdpr_consent=${i}`:"")+(s?`&us_privacy=${encodeURIComponent(s)}`:"")+(n.size?`&bidders=${[...n].join(",")}`:"")})}return d}};(0,o.a$)(R);const v=(0,u.A)({context:{ttl:300,nativeRequest:{eventtrackers:[{event:1,methods:[1,2]}]}},imp(e,t,r){const s=e(t,r);s.secure=t.ortb2Imp?.secure??1,!s.bidfloor&&t.params.bidFloor&&(s.bidfloor=t.params.bidFloor,s.bidfloorcur=(0,d.u5)("bidFloorCur",t.params).toUpperCase()||y),s.bidfloor&&s.bidfloorcur&&s.bidfloorcur!==y&&(e=>{try{const t=(0,m.hZ)(e.bidfloor,e.bidfloorcur,y,!1);e.bidfloor=t,e.bidfloorcur=y}catch(e){(0,d.JE)(`Failed to convert bid floor to ${y}. Passing floor price in its original currency.`,e)}})(s);const i=r.extendMode?"ext.prebid.bidder.improvedigital":"ext.bidder",o=t.params.placementId,a=t.params.publisherId;return(0,n.J)(s,`${i}.placementId`,o),(0,n.J)(s,`${i}.publisherId`,a),r.extendMode&&(0,n.J)(s,"ext.prebid.storedrequest.id",""+o),(0,n.J)(s,`${i}.keyValues`,(0,d.u5)("keyValues",t.params)||void 0),s},request(e,t,r,s){const i=e(t,r,s);return(0,d.D9)(i,{id:(0,d.s0)(),source:{},ext:{improvedigital:{sdk:{name:"pbjs",version:"9.23.0"}}}}),i},bidResponse(e,t,r){if(!t.adm||!t.price||t.hasOwnProperty("errorCode"))return;const{bidRequest:s}=r;r.mediaType=(()=>{const e=Object.keys(s.mediaTypes);return 1===e.length?e[0]:-1!==t.adm.search(/^(<\?xml|<vast)/i)?p.G_:"{"===t.adm[0]?p.s6:p.D4})();const d=e(t,r),n=(0,i.A)(t,`ext.${g}`,{});return 1===n.pg&&(d.adserverTargeting={hb_deal_type_improve:"pg"}),Object.assign(d,{dealId:"string"==typeof n.buying_type&&"rtb"!==n.buying_type?n.line_item_id:void 0,netRevenue:n.is_net||!1}),d.mediaType===p.G_&&E.isOutstreamVideo(s)&&Object.assign(d,{adResponse:{content:d.vastXml},renderer:x.createRenderer(s)}),_.forwardBid({bidRequest:s,bid:d}),d},overrides:{imp:{banner(e,t,r,s){if(r.mediaTypes[p.D4]){if(!1===a.$W.getConfig("improvedigital.usePrebidSizes")){const e=Object.assign({},r.mediaTypes[p.D4],{sizes:null});r={...r,mediaTypes:{[p.D4]:e}}}e(t,r,s)}},video(e,t,r,s){if(!r.mediaTypes[p.G_])return;const d=Object.assign({mimes:f.DEFAULT_MIMES},r.mediaTypes[p.G_],r.params?.video);e(t,{...r,mediaTypes:{[p.G_]:d}},s),(0,n.J)(t,"ext.is_rewarded_inventory",1===d.rewarded||1===(0,i.A)(d,"ext.rewarded")||void 0)}}}}),E={buildServerRequests(e,t){const r=!0===a.$W.getConfig("improvedigital.extend"),s=[],i=!0===a.$W.getConfig("improvedigital.singleRequest"),d=[],n=[];function o(e,r){if(e)return"https://pbs.360yield.com/openrtb2/auction";const s=[];return s.push((0,c.C)(t?.gdprConsent)?"https://ad.360yield.com":"https://ad.360yield-basic.com"),r&&s.push(r),s.push("pb"),s.join("/")}function p(e,r,s){const i=v.toORTB({bidRequests:e,bidderRequest:t,context:{extendMode:s}});return{method:"POST",url:o(s,r),data:JSON.stringify(i),ortbRequest:i,bidderRequest:t}}let l=null;return e.map((e=>{const t=e.params.publisherId,o=this.isExtendModeEnabled(r,e.params);if(i){if(l){if(t&&l!==t)throw new Error("All Improve Digital placements in a single call must have the same publisherId. Please check your 'params.publisherId' or turn off the single request mode.")}else l=t;o?d.push(e):n.push(e)}else s.push(p([e],t,o))})),i?(d.length&&s.push(p(d,l,!0)),n.length&&s.push(p(n,l,!1)),s):s},isExtendModeEnabled(e,t){const r="boolean"==typeof t.extend?t.extend:e;return r&&!R.syncStore.extendMode&&(R.syncStore.extendMode=!0),r},isOutstreamVideo:e=>"outstream"===(0,i.A)(e,"mediaTypes.video.context")},x={RENDERER_URL:"https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",createRenderer(e){const t=l.A4.install({id:e.adUnitCode,url:this.RENDERER_URL,config:(0,i.A)(e,"renderer.options"),adUnitCode:e.adUnitCode});try{t.setRender(this.render)}catch(e){(0,d.JE)("Prebid Error calling setRender on renderer",e)}return t},render(e){e.renderer.push((()=>{window.ANOutstreamVideo.renderAd({sizes:[e.width,e.height],targetId:e.adUnitCode,adResponse:e.adResponse,rendererOptions:e.renderer.getConfig()},x.handleRendererEvents.bind(null,e))}))},handleRendererEvents(e,t,r){e.renderer.handleVideoEvent({id:t,eventName:r})}},_={RENDERER_URL:"https://cdn.360yield.com/razr/tag.js",forwardBid(e){let{bidRequest:t,bid:r}=e;if(r.mediaType!==p.D4)return;const s={prebid:{bidRequest:t,bid:r}},i=`<script>window.__razr_config = ${JSON.stringify(s).replace(/<\/script>/gi,"\\x3C/script>")};<\/script>`;r.ad=i+r.ad,this.installListener()},installListener(){this._listenerInstalled||(window.addEventListener("message",(function(e){const t=e.data?.razr?.load;if(!t)return;e.source&&(t.source=e.source,t.id&&e.source.postMessage({razr:{id:t.id}},"*"));const r=window.razr=window.razr||{};r.q=r.q||[],r.q.push(t),r.loaded||(0,b.R)(_.RENDERER_URL,h.tW,g)})),this._listenerInstalled=!0)}};(0,s.E)("improvedigitalBidAdapter")}},e=>{e.O(0,[802,8498,1225,1085],(()=>{return t=5377,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5486],{6822:(e,n,t)=>{var r=t(7873),i=t(7377),s=t(433);const a={code:"justpremium",gvlid:62,time:6e4,isBidRequestValid:e=>!!(e&&e.params&&e.params.zone),buildRequests:(e,n)=>{const t=function(e){const n={},t={};return e.forEach((e=>{const r=e.params,i=r.zone;if(1===n[i])return;const s=r.allow||r.formats||[],a=r.exclude||[];if(0===s.length&&0===a.length)return n[r.zone]=1;n[i]=n[i]||[[],{}],n[i][0]=function(e){const n=e.concat();for(let e=0;e<n.length;++e)for(let t=e+1;t<n.length;++t)n[e]===n[t]&&n.splice(t--,1);return n}(n[i][0].concat(s)),a.forEach((e=>{n[i][1][e]?n[i][1][e]++:n[i][1][e]=1})),t[i]=t[i]||0,a.length&&t[i]++})),Object.keys(t).forEach((e=>{if(1===n[e])return;const r=[];Object.keys(n[e][1]).forEach((i=>{n[e][1][i]===t[e]&&r.push(i)})),n[e][1]=r})),Object.keys(n).forEach((e=>{1!==n[e]&&n[e][1].length&&(n[e][0].forEach((t=>{let r=n[e][1].indexOf(t);r>-1&&n[e][1].splice(r,1)})),n[e][0].length=0),1===n[e]||n[e][0].length||n[e][1].length||(n[e]=1)})),n}(e),r=function(){let e;try{e=window.top}catch(n){e=window}return{screenWidth:e.screen.width,screenHeight:e.screen.height,innerWidth:e.innerWidth,innerHeight:e.innerHeight}}(),i=function(){if(!window.top)return null;const e=new URLSearchParams(window.top.location.search),n={ggAdbuyid:e.get("gg_adbuyid"),ggDealid:e.get("gg_dealid"),ggEadbuyid:e.get("gg_eadbuyid")};return(e=>0===Object.keys(e).length?null:e)((t=n,Object.fromEntries(Object.entries(t).filter((e=>{let[n,t]=e;return null!=t})))));var t}(),a={zone:e.map((e=>parseInt(e.params.zone))).filter(((e,n,t)=>t.indexOf(e)===n)),referer:n.refererInfo.page,sw:r.screenWidth,sh:r.screenHeight,ww:r.innerWidth,wh:r.innerHeight,c:t,id:e[0].params.zone,sizes:{},ggExt:i};e.forEach((e=>{const n=e.params.zone,t=a.sizes;t[n]=t[n]||[],t[n].push.apply(t[n],e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes)})),(0,s.A)(e[0],"userId.pubcid")?a.pubcid=(0,s.A)(e[0],"userId.pubcid"):(0,s.A)(e[0],"crumbs.pubcid")&&(a.pubcid=(0,s.A)(e[0],"crumbs.pubcid")),a.uids=e[0].userId,n&&n.gdprConsent&&(a.gdpr_consent={consent_string:n.gdprConsent.consentString,consent_required:"boolean"!=typeof n.gdprConsent.gdprApplies||n.gdprConsent.gdprApplies}),n&&n.uspConsent&&(a.us_privacy=n.uspConsent),a.version={prebid:"9.23.0",jp_adapter:"1.8.3"},e[0].schain&&(a.schain=e[0].schain);const o=JSON.stringify(a);return{method:"POST",url:"https://pre.ads.justpremium.com/v/2.0/t/xhr?i="+ +new Date,data:o,bids:e}},interpretResponse:(e,n)=>{const t=e.body;let r=[];return n.bids.forEach((e=>{let n=function(e,n){const t=e.zone;if(n[t]){let r=n[t].length;for(;r--;)if(o(e,n[t][r]))return n[t].splice(r,1).pop()}return!1}(e.params,t.bid);if(n){let t=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes&&e.mediaTypes.banner.sizes.length&&e.mediaTypes.banner.sizes[0]||[],i={requestId:e.bidId,creativeId:n.id,width:t[0]||n.width,height:t[1]||n.height,ad:n.adm,cpm:n.price,netRevenue:!0,currency:n.currency||"USD",ttl:n.ttl||a.time,format:n.format,meta:{advertiserDomains:n.adomain&&n.adomain.length>0?n.adomain:[]}};n.ext&&n.ext.pg&&(i.adserverTargeting={hb_deal_justpremium:"jp_pg"}),r.push(i)}})),r},getUserSyncs:(e,n,t,r)=>{let i="https://pre.ads.justpremium.com/v/1.0/t/sync?_c=a"+Math.random().toString(36).substring(7)+Date.now(),s=[];if(t&&"boolean"==typeof t.gdprApplies&&t.gdprApplies&&t.consentString&&(i=i+"&consentString="+encodeURIComponent(t.consentString)),r&&(i=i+"&usPrivacy="+encodeURIComponent(r)),e.iframeEnabled&&s.push({type:"iframe",url:i}),e.pixelEnabled&&0!==n.length){const e=n.map((e=>e?.body?.pxs)).reduce(((e,n)=>e.concat(n)),[]).filter((e=>void 0!==e));s=[...s,...e]}return s}};function o(e,n){const t=n.format;return e.allow&&e.allow.length?e.allow.indexOf(t)>-1:!e.exclude||!e.exclude.length||e.exclude.indexOf(t)<0}(0,i.a$)(a),(0,r.E)("justpremiumBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return n=6822,e(e.s=n);var n}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4426],{5840:(e,t,o)=>{var a=o(7873),i=o(1069),n=o(8044),r=o(9214),s=o(2938),c=o(5569);const d="panoramaId",l=`${d}_expiry`,m="_cc_id",p="lotamePanoramaId",g=!1,u=(0,s.vM)({moduleType:c.fW,moduleName:p});let f,v={name:"lotamePanoramaId",storage:{type:"cookie&html5",name:"panoramaId"}};function y(e){let t=null;return x(g)&&(t=u.getCookie(e,void 0)),null===t&&I(g)&&(t=u.getDataFromLocalStorage(e,void 0)),t}function h(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,i.vE)()+6048e5;if(e&&t){let a=new Date(o).toUTCString();x()&&u.setCookie(e,t,a,"Lax",f,void 0),I()&&u.setDataInLocalStorage(e,t,void 0)}}function _(e){if(e){if(x(g)){let t=new Date(0).toUTCString();u.setCookie(e,"",t,"Lax",f,void 0)}I(g)&&u.removeDataFromLocalStorage(e,void 0)}}function x(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?u.cookiesAreEnabled()&&v.storage.type.includes("cookie"):u.cookiesAreEnabled()}function I(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?u.hasLocalStorage()&&v.storage.type.includes("html5"):u.hasLocalStorage()}const C={name:p,gvlid:95,decode:(e,t)=>(0,i.O8)(e)?{lotamePanoramaId:e}:void 0,getId(e,t,o){if(function(e){let t=null;if(void 0!==e.storage){Object.assign(v.storage,v.storage,e.storage);const o="Lotame ID module",a=["cookie","html5","cookie&html5"];void 0!==e.storage.name&&e.storage.name!==d?((0,i.vV)(`Misconfigured ${o}, "storage.name" is expected to be "${d}", actual is "${e.storage.name}"`),t=!0):"undefined"===e.storage.type||a.includes(e.storage.type)||(0,i.vV)(`Misconfigured ${o}, "storage.type" is expected to be one of "${a.join(", ")}", actual is "${e.storage.type}"`)}return t}(e))return;f=C.findRootDomain();const a=(e&&e.params||{}).clientId,r=!(0,i.Im)(a),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t={data:y(d),expiryTimestampMs:0,clientExpiryTimestampMs:0};try{if(e){const o=y(`${l}_${e}`);(0,i.O8)(o)&&(t.clientExpiryTimestampMs=parseInt(o,10))}const o=y(l);(0,i.O8)(o)&&(t.expiryTimestampMs=parseInt(o,10))}catch(e){(0,i.vV)(e)}return t}(a),c=Date.now()>s.expiryTimestampMs;if(r){if(Date.now()<s.clientExpiryTimestampMs)return{id:void 0,reason:"NO_CLIENT_CONSENT"}}if(!c)return{id:s.data};const p=function(){let e;return x(g)&&(e=u.getCookie(m,void 0)),!e&&I(g)&&(e=u.getDataFromLocalStorage(m,void 0)),e}();return{callback:function(e){let o,s={};p&&(s.fp=p),t&&((0,i.Lm)(t.gdprApplies)&&(s.gdpr_applies=t.gdprApplies),o=t.consentString),o&&(s.gdpr_consent=o),r&&(s.c=a);const c=(0,i.c$)({protocol:"https",host:navigator.userAgent&&-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")?"c.ltmsphrcl.net":"id.crwdcntrl.net",pathname:"/id",search:(0,i.Im)(s)?void 0:s});(0,n.RD)(c,(t=>{let o;if(t)try{let n=JSON.parse(t);const s=!((0,i.cy)(n.errors)&&-1!==n.errors.indexOf(111));if(r)if(s)_(`${l}_${a}`);else if((0,i.O8)(n.no_consent)&&"CLIENT"===n.no_consent)return h(`${l}_${a}`,n.expiry_ts,n.expiry_ts),void e();h(l,n.expiry_ts,n.expiry_ts),(0,i.O8)(n.profile_id)?(s&&function(e){if(x()){let t=new Date((0,i.vE)()+23328e6).toUTCString();u.setCookie(m,e,t,"Lax",f,void 0)}I()&&u.setDataInLocalStorage(m,e,void 0)}(n.profile_id),(0,i.O8)(n.core_id)?(h(d,n.core_id,n.expiry_ts),o=n.core_id):_(d)):(s&&_(m),_(d))}catch(e){(0,i.vV)(e)}e(o)}),void 0,{method:"GET",withCredentials:!0})}}},eids:{lotamePanoramaId:{source:"crwdcntrl.net",atype:1}}};(0,r.bz)("userId",C),(0,a.E)("lotamePanoramaIdSystem")}},e=>{e.O(0,[802,1085],(()=>{return t=5840,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[8283],{159:(e,i,t)=>{var s=t(7873),d=t(9766),n=t(7377),r=t(1069),a=t(3172),o=t(8044);const p="lucead.com";let u=`https://${p}`,c=`https://s.${p}`,l=u;function b(){return location.hash.includes("prebid-dev")}const m={code:"lucead",gvlid:1309,aliases:["adliveplus"],isBidRequestValid:function(e){return!!e?.params?.placementId},buildRequests:function(e,i){const t=e[0]?.params?.region||"eu";l=`https://${t}.${p}`,b()&&(u=location.origin,c=u,l=`${u}`),(0,r.fH)("buildRequests",{bidRequests:e,bidderRequest:i});const s={base_url:u,static_url:c,endpoint_url:l,request_id:i.bidderRequestId,prebid_version:"9.23.0",bidRequests:e,bidderRequest:i,getUniqueIdentifierStr:r.s0,ortbConverter:d.A,deepSetValue:a.J,is_sra:!0,region:t};window.lucead_prebid_data=s;const n=window.lucead_prebid;return n&&"function"==typeof n&&n(s),{method:"POST",url:`${l}/go/prebid/sra`,data:JSON.stringify({request_id:i.bidderRequestId,domain:location.hostname,bid_requests:e.map((e=>({bid_id:e.bidId,sizes:e.sizes,media_types:e.mediaTypes,placement_id:e.params.placementId,schain:e.schain})))}),options:{contentType:"text/plain",withCredentials:!1}}},interpretResponse:function(e,i){const t=e?.body,s=JSON.parse(i?.data),d=(t?.bids||[]).map((e=>({requestId:e?.bid_id||"1",cpm:e?.cpm||0,width:e?.size&&e?.size?.width||300,height:e?.size&&e?.size?.height||250,currency:e?.currency||"EUR",ttl:e?.ttl||500,creativeId:e?.ssp?`ssp:${e.ssp}`:`${e?.ad_id||0}:${e?.ig_id||0}`,netRevenue:e?.net_revenue||!0,ad:e?.ad||"",meta:{advertiserDomains:e?.advertiser_domains||[]}})));return(0,r.fH)("interpretResponse",{serverResponse:e,bidRequest:i,bidRequestData:s,bids:d}),!1===t?.enable_pa?d:{bids:d,paapi:(t.bids||[]).map((e=>({bidId:e?.bid_id,config:{seller:u,decisionLogicUrl:`${u}/js/ssp.js`,interestGroupBuyers:[u],requestedSize:e?.size,auctionSignals:{size:e?.size},perBuyerSignals:{[u]:{prebid_paapi:!0,prebid_bid_id:e?.bid_id,prebid_request_id:s.request_id,placement_id:e.placement_id,is_sra:!0,endpoint_url:l}}}})))}},onBidWon:function(e){(0,r.fH)("Bid won",e);let i={bid_id:e?.bidId,placement_id:e.params&&e?.params[0]?.placementId||"0",spent:e?.cpm,currency:e?.currency};if(e?.creativeId){const t=e.creativeId.toString().split(":");"ssp"===t[0]?i.ssp=t[1]:(i.ad_id=t[0],i.ig_id=t[1])}return function(e,i){return(0,o.hd)(`${l}/go/report/${e}`,{body:JSON.stringify({...i,domain:location.hostname}),method:"POST",contentType:"text/plain"})}("impression",i)},onTimeout:function(e){(0,r.fH)("Timeout from adapter",e)},isDevEnv:b};(0,n.a$)(m),(0,s.E)("luceadBidAdapter")}},e=>{e.O(0,[802,8498,1085],(()=>{return i=159,e(e.s=i);var i}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5529],{2233:(e,d,t)=>{var i=t(7873),n=t(7377),s=t(1371);window.placementBids={};const r={code:"moneytizer",supportedMediaTypes:[s.D4],isBidRequestValid:function(e){return!0},buildRequests:function(e){return e.map((e=>{window.placementBids[e.adUnitCode]=e.bidId;var d=e.params.siteId,t=e.adUnitCode;return{method:"GET",options:{withCredentials:!1},url:"https://ads.themoneytizer.com/bidder1/moneybid.js?siteid="+d+"&adid="+e.params.adId+"&formatid="+t+"&size="+e.params.env}}))},interpretResponse:function(e){e=e.body;var d=[],t={requestId:window.placementBids[e.bids[0].placementCode],cpm:e.bids[0].cpm,width:e.bids[0].w,height:e.bids[0].h,creativeId:window.placementBids[e.bids[0].placementCode],dealId:0,currency:"USD",netRevenue:!0,ttl:300,ad:e.bids[0].ad};return d.push(t),d}};(0,n.a$)(r),(0,i.E)("moneytizerBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return d=2233,e(e.s=d);var d}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[8710],{1510:(n,e,i)=>{var r=i(7873),t=i(9075),a=i(2449),f=i(8462),l=i(2728),u=i(6031);t.vd.before((function(n,e,i){(0,a.l6)(e)?n.bail({native:(0,a.Gg)(e,f.n.index.getAdUnit(e))}):n(e,i)})),u.k.before((function(n,e){(0,a.l6)(e)?n.bail(l.G):n(e)})),(0,r.E)("nativeRendering")}},n=>{n.O(0,[2284,802,1085],(()=>{return e=1510,n(n.s=e);var e}));n.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2149],{1725:(e,t,n)=>{var i=n(7873),r=n(1371),o=n(3895),d=n(5789),s=n(5901),a=n(2938),c=n(7377),p=n(433),l=n(1069);const u="https://onetag-sys.com/usync/",g="onetag",f=(0,a.vM)({bidderCode:g});function h(e){return void 0!==e.mediaTypes&&void 0!==e.mediaTypes.video}function m(e,t){if(e===r.D4)return w(t).length>0;if(e===r.G_&&h(t)){const e=t.mediaTypes.video.context;if("outstream"===e||"instream"===e)return T(t).length>0}return!1}function y(e){try{return void 0!==e.document.hidden?e.document.hidden:void 0!==e.document.msHidden?e.document.msHidden:void 0!==e.document.webkitHidden?e.document.webkitHidden:null}catch(e){return null}}function b(e){const t=function(){let e=window,t=window.parent;try{for(;e!==e.parent;)t=e.parent,t.location.href,e=e.parent}catch(e){}return e}();return{location:(0,p.A)(e,"refererInfo.page",null),referrer:(0,p.A)(e,"refererInfo.ref",null),stack:(0,p.A)(e,"refererInfo.stack",[]),numIframes:(0,p.A)(e,"refererInfo.numIframes",0),wWidth:t.innerWidth,wHeight:t.innerHeight,oWidth:t.outerWidth,oHeight:t.outerHeight,sWidth:t.screen.width,sHeight:t.screen.height,aWidth:t.screen.availWidth,aHeight:t.screen.availHeight,sLeft:"screenLeft"in t?t.screenLeft:t.screenX,sTop:"screenTop"in t?t.screenTop:t.screenY,xOffset:t.pageXOffset,yOffset:t.pageYOffset,docHidden:y(t),docHeight:t.document.body?t.document.body.scrollHeight:null,hLength:history.length,timing:C(),version:{prebid:"9.23.0",adapter:"1.1.1"}}}function v(e){const t=e.filter((e=>h(e))).map((e=>{const t={};return I.call(t,e),t.context=e.mediaTypes.video.context,t.playerSize=T(e),t.mediaTypeInfo=(0,l.Go)(e.mediaTypes.video),t.type=r.G_,t.priceFloors=S(e,r.G_,t.playerSize),t})),n=e.filter((e=>m(r.D4,e))).map((e=>{const t={};return I.call(t,e),t.sizes=w(e),t.type=r.D4,t.mediaTypeInfo=(0,l.Go)(e.mediaTypes.banner),t.priceFloors=S(e,r.D4,t.sizes),t}));return t.concat(n)}function I(e){const t=e.params;this.adUnitCode=e.adUnitCode,this.bidId=e.bidId,this.bidderRequestId=e.bidderRequestId,this.auctionId=(0,p.A)(e,"ortb2.source.tid"),this.transactionId=(0,p.A)(e,"ortb2Imp.ext.tid"),this.gpid=(0,p.A)(e,"ortb2Imp.ext.gpid")||(0,p.A)(e,"ortb2Imp.ext.data.pbadslot"),this.pubId=t.pubId,this.ext=t.ext,this.ortb2Imp=(0,p.A)(e,"ortb2Imp"),t.pubClick&&(this.click=t.pubClick),t.dealId&&(this.dealId=t.dealId);const n=function(e){const t=document.getElementById(e);try{const{top:e,left:n,width:i,height:r}=t.getBoundingClientRect();let o=t.ownerDocument.defaultView;const d={top:e+o.pageYOffset,left:n+o.pageXOffset,width:i,height:r};let s=o.frameElement;for(;null!=s;){const{top:e,left:t}=s.getBoundingClientRect();d.top+=e+o.pageYOffset,d.left+=t+o.pageXOffset,o=o.parent,s=o.frameElement}return d}catch(e){return null}}(e.adUnitCode);n&&(this.coords=n)}function C(){try{if(null!=window.performance&&null!=window.performance.timing){const e={},t=window.performance.timing;return e.pageLoadTime=t.loadEventEnd-t.navigationStart,e.connectTime=t.responseEnd-t.requestStart,e.renderTime=t.domComplete-t.domLoading,e}}catch(e){return null}return null}function T(e){const t=e.mediaTypes.video.playerSize;return void 0!==t&&Array.isArray(t)&&t.length>0?A(t):[]}function w(e){if(void 0!==e.mediaTypes&&void 0!==e.mediaTypes.banner&&void 0!==e.mediaTypes.banner.sizes&&Array.isArray(e.mediaTypes.banner.sizes)&&e.mediaTypes.banner.sizes.length>0)return A(e.mediaTypes.banner.sizes);return!h(e)&&e.sizes&&Array.isArray(e.sizes)?A(e.sizes):[]}function A(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];t.push({width:i[0],height:i[1]})}return t}function S(e,t,n){const i=[];return"function"==typeof e.getFloor&&n.forEach((n=>{const r=e.getFloor({currency:"EUR",mediaType:t||"*",size:[n.width,n.height]})||{};r.size=(0,l.Go)(n),r.floor||(r.floor=null),i.push(r)})),i}const z={code:g,gvlid:241,supportedMediaTypes:[r.D4,r.G_],isBidRequestValid:function(e){return void 0!==e&&void 0!==e.params&&"string"==typeof e.params.pubId&&(m(r.D4,e)||m(r.G_,e))},buildRequests:function(e,t){const n={bids:v(e),...b(t)};t&&t.gdprConsent&&(n.gdprConsent={consentString:t.gdprConsent.consentString,consentRequired:t.gdprConsent.gdprApplies,addtlConsent:t.gdprConsent.addtlConsent}),t&&t.gppConsent&&(n.gppConsent={consentString:t.gppConsent.gppString,applicableSections:t.gppConsent.applicableSections}),t&&t.uspConsent&&(n.usPrivacy=t.uspConsent),t&&t.ortb2&&(n.ortb2=t.ortb2),e&&0!==e.length&&e[0].userIdAsEids&&(n.userId=e[0].userIdAsEids),e&&0!==e.length&&e[0].schain&&function(e){let t=!1;const n=["asi","sid","hp"];if(!e||!e.nodes)return t;t=e.nodes.reduce(((e,t)=>e?n.every((e=>t.hasOwnProperty(e))):e),!0),t||(0,l.vV)("OneTag: required schain params missing");return t}(e[0].schain)&&(n.schain=e[0].schain);try{f.hasLocalStorage()&&(n.onetagSid=f.getDataFromLocalStorage("onetag_sid"))}catch(e){}const i=navigator.connection||navigator.webkitConnection;return n.networkConnectionType=i&&i.type?i.type:null,n.networkEffectiveConnectionType=i&&i.effectiveType?i.effectiveType:null,n.fledgeEnabled=Boolean(t?.paapi?.enabled),{method:"POST",url:"https://onetag-sys.com/prebid-request",data:JSON.stringify(n)}},interpretResponse:function(e,t){const n=e.body,i=[],a=JSON.parse(t.data);if(!n||n.nobid&&!0===n.nobid)return i;if(!(n.fledgeAuctionConfigs||n.bids&&Array.isArray(n.bids)&&0!==n.bids.length))return i;if(Array.isArray(n.bids)&&n.bids.forEach((e=>{const t={requestId:e.requestId,cpm:e.cpm,width:e.width,height:e.height,creativeId:e.creativeId,dealId:null==e.dealId?e.dealId:"",currency:e.currency,netRevenue:e.netRevenue||!1,mediaType:e.mediaType,meta:{mediaType:e.mediaType,advertiserDomains:e.adomain},ttl:e.ttl||300};if(e.dsa&&(t.meta.dsa=e.dsa),e.mediaType===r.D4)t.ad=e.ad;else if(e.mediaType===r.G_){const{context:n,adUnitCode:i}=(0,s.I6)(a.bids,(t=>t.bidId===e.requestId&&t.type===r.G_));n===o.mn?(t.vastUrl=e.vastUrl,t.videoCacheKey=e.videoCacheKey):n===o.H6&&(t.vastXml=e.ad,t.vastUrl=e.vastUrl,e.rendererUrl&&(t.renderer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=d.A4.install({id:e.requestId,url:e.rendererUrl,config:t,adUnitCode:e.adUnitCode,loaded:!1});try{n.setRender((t=>{let{renderer:n,width:i,height:r,vastXml:o,adUnitCode:d}=t;n.push((()=>{window.onetag.Player.init({...e,width:i,height:r,vastXml:o,nodeId:d,config:n.getConfig()})}))}))}catch(e){}return n}({...e,adUnitCode:i})))}i.push(t)})),n.fledgeAuctionConfigs&&Array.isArray(n.fledgeAuctionConfigs)){const e=n.fledgeAuctionConfigs;return{bids:i,paapi:e}}return i},getUserSyncs:function(e,t,n,i,r){let o=[],d="";return n&&("boolean"==typeof n.gdprApplies&&(d+="&gdpr="+(n.gdprApplies?1:0)),"string"==typeof n.consentString&&(d+="&gdpr_consent="+n.consentString)),r&&"string"==typeof r.gppString&&(d+="&gpp_consent="+r.gppString),i&&"string"==typeof i&&(d+="&us_privacy="+i),e.iframeEnabled&&o.push({type:"iframe",url:u+"?cb="+(new Date).getTime()+d}),e.pixelEnabled&&o.push({type:"image",url:u+"?tag=img"+d}),o}};(0,c.a$)(z),(0,i.E)("onetagBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return t=1725,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[3879],{7257:(e,t,a)=>{var r=a(7873),n=a(3272),s=a(7377),o=a(3172),p=a(433),i=a(1069),d=a(1371),m=a(9766);const u="https://rtb.openx.net/openrtbb/prebidjs",l={code:"openx",gvlid:69,supportedMediaTypes:[d.D4,d.G_],isBidRequestValid:function(e){const t=e.params.delDomain||e.params.platform;if(p.A(e,"mediaTypes.banner")&&t)return!!e.params.unit||p.A(e,"mediaTypes.banner.sizes.length")>0;return!(!e.params.unit||!t)},buildRequests:function(e,t){let a=e.filter((e=>f(e))),r=e.filter((e=>function(e){return p.A(e,"mediaTypes.banner")||!f(e)}(e))),n=r.length?[b(r,t,d.D4)]:[];return a.forEach((e=>{n.push(b([e],t,d.G_))})),n},interpretResponse:function(e,t){e.body||(e.body={nbr:0});return c.fromORTB({request:t.data,response:e.body})},getUserSyncs:function(e,t,a,r){if(e.iframeEnabled||e.pixelEnabled){let n=e.iframeEnabled?"iframe":"image",s=[],o="https://u.openx.net/w/1.0/pd";if(a&&(s.push("gdpr="+(a.gdprApplies?1:0)),s.push("gdpr_consent="+encodeURIComponent(a.consentString||""))),r&&s.push("us_privacy="+encodeURIComponent(r)),t.length>0&&t[0].body&&t[0].body.ext){const e=t[0].body.ext;e.delDomain?o=`https://${e.delDomain}/w/1.0/pd`:e.platform&&s.push("ph="+e.platform)}else s.push("ph=2d1251ae-7f3a-47cf-bd2a-2f288854a0ba");return[{type:n,url:`${o}${s.length>0?"?"+s.join("&"):""}`}]}}};(0,s.a$)(l);const c=(0,m.A)({context:{netRevenue:!0,ttl:300},imp(e,t,a){const r=e(t,a);return(0,i.D9)(r,{tagid:t.params.unit,ext:{divid:t.adUnitCode}}),t.params.customParams&&o.J(r,"ext.customParams",t.params.customParams),t.params.customFloor&&!r.bidfloor&&(r.bidfloor=t.params.customFloor),r},request(e,t,a,r){const n=e(t,a,r);(0,i.D9)(n,{at:1,ext:{bc:"hb_pb_ortb_2.0",pv:"9.23.0"}});const s=r.bidRequests[0];return s.params.coppa&&o.J(n,"regs.coppa",1),s.params.doNotTrack&&o.J(n,"device.dnt",1),s.params.platform&&o.J(n,"ext.platform",s.params.platform),s.params.delDomain&&o.J(n,"ext.delDomain",s.params.delDomain),s.params.response_template_name&&o.J(n,"ext.response_template_name",s.params.response_template_name),s.params.test&&(n.test=1),n},bidResponse(e,t,a){const r=e(t,a);return t.ext&&(r.meta.networkId=t.ext.dsp_id,r.meta.advertiserId=t.ext.buyer_id,r.meta.brandId=t.ext.brand_id),r},response(e,t,a,r){const{ortbRequest:n}=r;n.ext&&(n.ext.delDomain&&o.J(a,"ext.delDomain",n.ext.delDomain),n.ext.platform&&o.J(a,"ext.platform",n.ext.platform));const s=e(t,a,r);let d=p.A(a,"ext.fledge_auction_configs");return d?(d=Object.entries(d).map((e=>{let[t,a]=e;return{bidId:t,config:(0,i.D9)(Object.assign({},a),{auctionSignals:{ortb2Imp:r.impContext[t]?.imp}})}})),{bids:s.bids,paapi:d}):s},overrides:{imp:{bidfloor(e,t,a,r){const n={};e(n,a,{...r,currency:"USD"}),"USD"===n.bidfloorcur&&Object.assign(t,n)},video(e,t,a,r){{let n=a.mediaTypes[d.G_];n&&(n=Object.assign({},n,a.params.video),a={...a,mediaTypes:{[d.G_]:n}}),e(t,a,r)}}}}});function b(e,t,a){return{method:"POST",url:n.$W.getConfig("openxOrtbUrl")||u,data:c.toORTB({bidRequests:e,bidderRequest:t,context:{mediaType:a}})}}function f(e){return p.A(e,"mediaTypes.video")}(0,r.E)("openxBidAdapter")}},e=>{e.O(0,[802,8498,1085],(()=>{return t=7257,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[8821],{6873:(e,t,r)=>{var i=r(7873),a=r(7377),n=r(1371),s=r(2938),o=r(3895),d=r(433),p=r(1069),c=r(3172),m=r(8044),u=r(3272),l=r(2449),g=r(5789);const y="outbrain",v="USD",b={0:"title",2:"icon",3:"image",5:"sponsoredBy",4:"body",1:"cta"},f={title:{id:0,name:"title"},icon:{id:2,type:1,name:"img"},image:{id:3,type:3,name:"img"},sponsoredBy:{id:5,name:"data",type:1},body:{id:4,name:"data",type:2},cta:{id:1,type:12,name:"data"}},h="https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",T=(0,s.vM)({bidderCode:y}),C={code:y,gvlid:164,supportedMediaTypes:[n.s6,n.D4,n.G_],isBidRequestValid:e=>"object"==typeof e.params&&("string"==typeof(0,d.A)(e,"params.publisher.id")&&((!e.params.tagid||"string"==typeof e.params.tagid)&&(!(e.params.bcat&&("object"!=typeof e.params.bcat||!e.params.bcat.every((e=>"string"==typeof e))))&&(!(e.params.badv&&("object"!=typeof e.params.badv||!e.params.badv.every((e=>"string"==typeof e))))&&(!!u.$W.getConfig("outbrain.bidderUrl")&&(!(!e.nativeParams&&!e.sizes)||function(e){const t=(0,d.A)(e,"mediaTypes.video");if(!t)return!1;if(!Array.isArray(t.playerSize))return!1;if(""==t.context)return!1;return!0}(e))))))),buildRequests:(e,t)=>{e=(0,l.Xj)(e);const r=t.ortb2||{},i=t.refererInfo.page,a=navigator.userAgent,s=(0,p.eY)(e,"params.test"),o=(0,p.eY)(e,"params.publisher"),m=r.bcat||(0,p.eY)(e,"params.bcat"),g=r.badv||(0,p.eY)(e,"params.badv"),y=(0,p.eY)(e,"userIdAsEids"),b=r.wlang,f=v,h=u.$W.getConfig("outbrain.bidderUrl"),C=t.timeout,k=e.map(((e,t)=>{e.netRevenue="net";const r={id:t+1+""};if(e.params.tagid&&(r.tagid=e.params.tagid),e.nativeParams?r.native={request:JSON.stringify({assets:x(e)})}:A(e)?r.video=function(e){const t=e.mediaTypes.video.playerSize.flat();return{w:parseInt(t[0],10),h:parseInt(t[1],10),protocols:e.mediaTypes.video.protocols,playbackmethod:e.mediaTypes.video.playbackmethod,mimes:e.mediaTypes.video.mimes,skip:e.mediaTypes.video.skip,delivery:e.mediaTypes.video.delivery,api:e.mediaTypes.video.api,minbitrate:e.mediaTypes.video.minbitrate,maxbitrate:e.mediaTypes.video.maxbitrate,minduration:e.mediaTypes.video.minduration,maxduration:e.mediaTypes.video.maxduration,startdelay:e.mediaTypes.video.startdelay,placement:e.mediaTypes.video.placement,plcmt:e.mediaTypes.video.plcmt,linearity:e.mediaTypes.video.linearity}}(e):r.banner={format:e.sizes?.map((e=>(0,p.nX)(e)))},"function"==typeof e.getFloor){const t=function(e,t){const r=e.getFloor({currency:v,mediaType:t,size:"*"});if((0,p.Qd)(r)&&r.currency===v&&!isNaN(parseFloat(r.floor)))return parseFloat(r.floor);return null}(e,e.nativeParams?n.s6:n.D4);t&&(r.bidfloor=t)}return r})),R={id:t.bidderRequestId,site:{page:i,publisher:o},device:r?.device||{ua:a},source:{fd:1},cur:[f],tmax:C,imp:k,bcat:m,badv:g,wlang:b,ext:{prebid:{channel:{name:"pbjs",version:"9.23.0"}}}};s&&(R.is_debug=!!s,R.test=1);const S=T.getDataFromLocalStorage("OB-USER-TOKEN");return S&&(0,c.J)(R,"user.ext.obusertoken",S),(0,d.A)(t,"gdprConsent.gdprApplies")&&((0,c.J)(R,"user.ext.consent",t.gdprConsent.consentString),(0,c.J)(R,"regs.ext.gdpr",1&t.gdprConsent.gdprApplies)),t.uspConsent&&(0,c.J)(R,"regs.ext.us_privacy",t.uspConsent),!0===u.$W.getConfig("coppa")&&(0,c.J)(R,"regs.coppa",1&u.$W.getConfig("coppa")),t.gppConsent?((0,c.J)(R,"regs.ext.gpp",t.gppConsent.gppString),(0,c.J)(R,"regs.ext.gpp_sid",t.gppConsent.applicableSections)):(0,d.A)(t,"ortb2.regs.gpp")&&((0,c.J)(R,"regs.ext.gpp",t.ortb2.regs.gpp),(0,c.J)(R,"regs.ext.gpp_sid",t.ortb2.regs.gpp_sid)),y&&(0,c.J)(R,"user.ext.eids",y),{method:"POST",url:h,data:JSON.stringify(R),bids:e}},interpretResponse:(e,t)=>{let{bids:r}=t;if(!e.body)return[];const{seatbid:i,cur:a}=e.body,s=i.map((e=>e.bid)).flat().reduce(((e,t)=>(e[t.impid-1]=t,e)),[]);return r.map(((e,t)=>{const r=s[t];if(r){let t=n.D4;e.nativeParams?t=n.s6:A(e)&&(t=n.G_);const i={requestId:e.bidId,cpm:r.price,creativeId:r.crid,ttl:360,netRevenue:"net"===e.netRevenue,currency:a,mediaType:t,nurl:r.nurl};if(t===n.s6)i.native=function(e){const{assets:t,link:r,privacy:i,eventtrackers:a}=JSON.parse(e.adm),n={clickUrl:r.url,clickTrackers:r.clicktrackers||void 0};t.forEach((e=>{const t=b[e.id],r=t&&e[f[t].name];r&&(n[t]=r.text||r.value||{url:r.url,width:r.w,height:r.h})})),i&&(n.privacyLink=i);a&&(n.impressionTrackers=[],a.forEach((e=>{if(1===e.event)switch(e.method){case 1:n.impressionTrackers.push(e.url);break;case 2:n.javascriptTrackers=`<script src="${e.url}"><\/script>`}})));return n}(r);else if(t===n.D4)i.ad=r.adm,i.width=r.w,i.height=r.h;else if(t===n.G_){i.vastXml=r.adm;(0,d.A)(e,"mediaTypes.video.context")===o.H6&&(i.renderer=function(e){let t={},r=h,i=function(e){e.renderer.push((()=>{window.ANOutstreamVideo.renderAd({sizes:e.sizes,targetId:e.adUnitCode,adResponse:{content:e.vastXml}})}))},a=(0,d.A)(e,"mediaTypes.video.renderer");a||(a=(0,d.A)(e,"renderer"));a&&(t=a.options,r=a.url,i=a.render);const n=g.A4.install({id:e.adUnitCode,url:r,config:t,adUnitCode:e.adUnitCode,loaded:!1});try{n.setRender(i)}catch(e){(0,p.JE)("Prebid Error calling setRender on renderer",e)}return n}(e))}return i.meta={},r.adomain&&r.adomain.length>0&&(i.meta.advertiserDomains=r.adomain),i}})).filter(Boolean)},getUserSyncs:(e,t,r,i,a)=>{const n=[];let s=u.$W.getConfig("outbrain.usersyncUrl"),o=[];return e.pixelEnabled&&s&&(r&&(o.push("gdpr="+(1&r.gdprApplies)),o.push("gdpr_consent="+encodeURIComponent(r.consentString||""))),i&&o.push("us_privacy="+encodeURIComponent(i)),a&&(o.push("gpp="+encodeURIComponent(a.gppString)),o.push("gpp_sid="+encodeURIComponent(a.applicableSections.join(",")))),n.push({type:"image",url:s+(o.length?"?"+o.join("&"):"")})),n},onBidWon:e=>{e.nurl&&(0,m.RD)((0,p.ZU)(e.nurl,e.originalCpm))}};function x(e){return(0,p.K2)(e.nativeParams,((e,t)=>{const r=f[t],i={required:1&e.required};if(r){let t,a,n,s;i.id=r.id;let o=e.aspect_ratios;if(o&&o[0]&&(o=o[0],t=o.min_width||0,a=o.ratio_height*t/o.ratio_width|0),e.sizes){const t=e.sizes.flat();n=parseInt(t[0],10),s=parseInt(t[1],10)}return i[r.name]={len:e.len,type:r.type,wmin:t,hmin:a,w:n,h:s},i}})).filter(Boolean)}function A(e){return"video"===e.mediaType||!!(0,d.A)(e,"mediaTypes.video")}(0,a.a$)(C),(0,i.E)("outbrainBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return t=6873,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5328],{1134:(e,t,n)=>{n.d(t,{Gk:()=>V});var i=n(7873),s=n(9759),r=n(1069),d=n(8969),o=n(1445),a=n(3272),c=n(7377),u=n(5023),p=n(5901);const b={appnexuspsp:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://ib.adnxs.com/openrtb2/prebid",noP1Consent:"https://ib.adnxs-simple.com/openrtb2/prebid"},syncEndpoint:{p1Consent:"https://prebid.adnxs.com/pbs/v1/cookie_sync",noP1Consent:"https://prebid.adnxs-simple.com/pbs/v1/cookie_sync"},maxTimeout:1e3},rubicon:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://prebid-server.rubiconproject.com/openrtb2/auction",noP1Consent:"https://prebid-server.rubiconproject.com/openrtb2/auction"},syncEndpoint:{p1Consent:"https://prebid-server.rubiconproject.com/cookie_sync",noP1Consent:"https://prebid-server.rubiconproject.com/cookie_sync"},maxTimeout:500},openwrap:{adapter:"prebidServer",enabled:!0,endpoint:{p1Consent:"https://ow.pubmatic.com/openrtb2/auction?source=pbjs",noP1Consent:"https://ow.pubmatic.com/openrtb2/auction?source=pbjs"},maxTimeout:500}};var l=n(8044),f=n(9214),g=n(2621),m=n(9766),h=n(3172),C=n(3597),y=n(4610),v=n(3323),B=n(5825),R=n(1e3),O=n(6953),q=n(3441),E=n(5569),I=n(5139),x=n(6811),S=n(6743),j=n(2713),$=n(433);function T(e){let{global:t,bidder:n}=e;return Object.fromEntries(Object.entries(n).map((e=>{let[n,i]=e;return[n,A(i,(0,r.D9)({},t,i))]})))}function A(e,t){return Object.fromEntries(Object.entries(e).map((e=>{let[n,i]=e;const s=t[n];return Array.isArray(i)?!(0,r.bD)(i,s)&&Array.isArray(s)&&(i=s):null!=i&&"object"==typeof i&&(i=A(i,s)),[n,i]})))}function P(e){let{global:t,bidder:n}=e;const i=function(e){let{eids:t,conflicts:n=new Set}=e;const i=[],s=[],r={};return t.forEach((e=>{(!1===e.bidders?i:s).push(e)})),s.forEach((e=>{let{eid:t,bidders:s}=e;n.has(t.source)?s.forEach((e=>{(r[e]=r[e]||[]).push(t)})):i.push({eid:t,bidders:s})})),{global:i.map((e=>{let{eid:t}=e;return t})),permissions:i.filter((e=>{let{bidders:t}=e;return!1!==t})).map((e=>{let{eid:t,bidders:n}=e;return{source:t.source,bidders:n}})),bidder:r}}(function(e){let{global:t,bidder:n}=e;const i=[],s={},d=new Set;function o(e){let t=i.find((t=>(0,r.bD)(t.eid,e)));return null==t&&(t={eid:e,bidders:[]},i.push(t)),null==s[e.source]?s[e.source]=t.eid:t.eid===e&&d.add(e.source),t}return O.Vx.forEach((e=>{((0,$.A)(t,e)||[]).forEach((e=>{o(e).bidders=!1}))})),Object.entries(n).forEach((e=>{let[t,n]=e;O.Vx.forEach((e=>{((0,$.A)(n,e)||[]).forEach((e=>{const n=o(e);!1!==n.bidders&&n.bidders.push(t)}))}))})),{eids:i,conflicts:d}}({global:t,bidder:n}));function s(e){delete e?.user?.eids,delete e?.user?.ext?.eids}return t=(0,r.Go)(t),n=(0,r.Go)(n),s(t),Object.values(n).forEach(s),i.global.length&&(0,h.J)(t,"user.ext.eids",i.global),i.permissions.length&&(0,h.J)(t,"ext.prebid.data.eidpermissions",i.permissions),Object.entries(i.bidder).forEach((e=>{let[t,i]=e;i.length&&(0,h.J)(n[t],"user.ext.eids",i)})),{global:t,bidder:n}}const w=new Set(["bidderCode","bidderRequestId","uniquePbsTid","bids","timeout"]),D=(0,m.A)({processors:y.m,context:{netRevenue:!0},imp(e,t,n){Object.assign(n,t.pbsData);const i=e(t,n);if((t.bids||[]).forEach((e=>{e.ortb2Imp&&Object.keys(e.ortb2Imp).length>0&&(0,h.J)(i,`ext.prebid.imp.${e.bidder}`,e.ortb2Imp)})),Object.values(B.s).some((e=>i[e])))return i.secure=t.ortb2Imp?.secure??1,i},request(e,t,n,i){if(t.length){let{s2sBidRequest:s}=i;const r=e(t,n,i);return r.tmax=s.s2sConfig.timeout??Math.min(.75*s.requestBidsTimeout,s.s2sConfig.maxTimeout??V.maxTimeout),r.ext.tmaxmax=r.ext.tmaxmax||s.requestBidsTimeout,[r.app,r.dooh,r.site].forEach((e=>{e&&!e.publisher?.id&&(0,h.J)(e,"publisher.id",s.s2sConfig.accountId)})),i.transmitTids||(0,h.J)(r,"ext.prebid.createtids",!1),r}(0,r.vV)("Request to Prebid Server rejected due to invalid media type(s) in adUnit.")},bidResponse(e,t,n){let i=n.actualBidRequests.get(n.seatbid.seat);null==i&&(i=n.actualBidRequests.get(null)),i&&Object.assign(n,{bidRequest:i,bidderRequest:n.actualBidderRequests.find((e=>e.bidderCode===i.bidder))});const s=e(t,n);return s.requestBidder=i?.bidder,s.native?.ortb&&(s.adm=s.native.ortb),s.requestTimestamp=n.requestTimestamp,{bid:Object.assign((0,C.O)(d.XQ.GOOD,{src:d.RW.SRC,bidId:i?i.bidId||i.bid_Id:null,transactionId:n.adUnit.transactionId,adUnitId:n.adUnit.adUnitId,auctionId:n.bidderRequest.auctionId}),s,{deferRendering:!!n.adUnit.deferBilling,deferBilling:!!n.adUnit.deferBilling}),adUnit:n.adUnit.code}},overrides:{[R.Tb]:{id(e,t,n,i){t.id=i.impId},params(e,t,n,i){const s=i.s2sBidRequest.s2sConfig.adapterOptions;for(const e of i.actualBidRequests.values())(0,v.W)(t,e,i,i),s&&s[e.bidder]&&Object.assign(t.ext.prebid.bidder[e.bidder],s[e.bidder])},bidfloor(e,t,n,i){const s=(0,j.Bp)((0,S.x4)((e=>[e.bidfloor,e.bidfloorcur])));let r;for(const t of i.actualBidRequests.values()){const n={};if(e(n,t,i),null==n.bidfloorcur||null==n.bidfloor){r=null;break}r=null==r?n:s(r,n)}null!=r&&Object.assign(t,r)}},[R.S3]:{fpd(e,t,n,i){i.transmitTids&&(0,h.J)(t,"source.tid",n.auctionId),(0,r.D9)(t,i.s2sBidRequest.ortb2Fragments?.global),i.s2sBidRequest.s2sConfig.extPrebid&&"object"==typeof i.s2sBidRequest.s2sConfig.extPrebid&&(0,h.J)(t,"ext.prebid",(0,r.D9)(t.ext?.prebid||{},i.s2sBidRequest.s2sConfig.extPrebid)),i.getRedactor().ortb2(t);const s=Object.entries(i.s2sBidRequest.ortb2Fragments?.bidder||{}).filter((e=>{let[t]=e;const n=i.s2sBidRequest.s2sConfig.bidders;return i.s2sBidRequest.s2sConfig.allowUnknownBidderCodes||n&&n.includes(t)})).map((e=>{let[t,n]=e;return{bidders:[t],config:{ortb2:i.getRedactor(t).ortb2(n)}}}));s.length&&(0,h.J)(t,"ext.prebid.bidderconfig",s)},extPrebidAliases(e,t,n,i){i.actualBidderRequests.forEach((n=>e(t,n,i)))},sourceExtSchain(e,t,n,i){let s=t?.ext?.prebid?.schains||[];const r=new Set(s.flatMap((e=>e.bidders)));s=Object.values(s.concat(i.actualBidderRequests.filter((e=>!r.has(e.bidderCode))).map((e=>({bidders:[e.bidderCode],schain:e?.bids?.[0]?.schain})))).filter((e=>{let{bidders:t,schain:n}=e;return t?.length>0&&n})).reduce(((e,t)=>{let{bidders:n,schain:i}=t;const s=JSON.stringify(i);return e.hasOwnProperty(s)||(e[s]={bidders:new Set,schain:i}),n.forEach((t=>e[s].bidders.add(t))),e}),{})).map((e=>{let{bidders:t,schain:n}=e;return{bidders:Array.from(t),schain:n}})),s.length&&(0,h.J)(t,"ext.prebid.schains",s)}},[R.Cf]:{serverSideStats(e,t,n,i){i.actualBidderRequests.forEach((s=>e(t,n,{...i,bidderRequest:s,bidRequests:s.bids})))},paapiConfigs(e,t,n,i){const s=Object.values(i.impContext).flatMap((e=>(e.paapiConfigs||[]).map((t=>{const n=e.actualBidderRequests.find((e=>e.bidderCode===t.bidder)),i=e.actualBidRequests.get(t.bidder);return{adUnitCode:e.adUnit.code,ortb2:n?.ortb2,ortb2Imp:i?.ortb2Imp,bidder:t.bidder,config:t.config}}))));s.length>0&&(t.paapi=s)}}}});var k=n(6894);const U=a.$W.getConfig,J=d.RW.SRC;let _,N=0;const V={bidders:Object.freeze([]),syncTimeout:1e3,maxBids:1,adapter:"prebidServer",allowUnknownBidderCodes:!1,adapterOptions:{},syncUrlModifier:{},ortbNative:{eventtrackers:[{event:1,methods:[1,2]}]},maxTimeout:1500};function W(e){if(!e)return;const t=Array.isArray(e)?e:[e],n=[];return t.every(((e,t,i)=>{!function(e){["endpoint","syncEndpoint"].forEach((t=>{if((0,r.O8)(e[t])){let n=e[t];e[t]={p1Consent:n,noP1Consent:n}}!(0,r.Qd)(e[t])||e[t].p1Consent&&e[t].noP1Consent||["p1Consent","noP1Consent"].forEach((n=>{e[t][n]||(0,r.JE)(`s2sConfig.${t}.${n} not defined.  PBS request will be skipped in some P1 scenarios.`)}))}))}(e);const s=function(e){if(e.defaultVendor){let t=e.defaultVendor,n=Object.keys(e);if(!b[t])return(0,r.vV)("Incorrect or unavailable prebid server default vendor option: "+t),!1;Object.keys(b[t]).forEach((i=>{V[i]!==e[i]&&(0,p.mK)(n,i)||(e[i]=b[t][i])}))}return e.enabled="boolean"==typeof e.enabled&&e.enabled}(e);if(!1!==s){const s=function(e){const t=Object.keys(e);if(["accountId","endpoint"].filter((e=>!(0,p.mK)(t,e)&&((0,r.vV)(e+" missing in server to server config"),!0))).length>0)return!1}(e);if(!1!==s)return Array.isArray(e.bidders)&&(i[t].bidders=e.bidders.filter((e=>-1===n.indexOf(e)&&(n.push(e),!0)))),!0}return(0,r.JE)("prebidServer: s2s config is disabled"),!1}))?_=t:void 0}function M(e,t,n,i,s){if(_.length===N)return;N++;let d={};const o=U("userSync.filterSettings");if(o){const{all:e,iframe:t,image:n}=o,i=t||e,s=n||e;i&&(d=Object.assign({iframe:i},d)),s&&(d=Object.assign({image:s},d))}const a={uuid:(0,r.lk)(),bidders:e,account:s.accountId,filterSettings:d};let c=s.userSyncLimit;(0,r.Et)(c)&&c>0&&(a.limit=c),t&&(a.gdpr=t.gdprApplies?1:0,!1!==t.gdprApplies&&(a.gdpr_consent=t.consentString)),n&&(a.us_privacy=n),i&&(a.gpp_sid=i.applicableSections.join(),a.gpp=i.gppString),"boolean"==typeof s.coopSync&&(a.coopSync=s.coopSync);const u=JSON.stringify(a);(0,l.RD)(F(s.syncEndpoint,t),(e=>{try{G((e=JSON.parse(e)).bidder_status,s)}catch(e){(0,r.vV)(e)}}),u,{contentType:"text/plain",withCredentials:!0})}function G(e,t){if(0===e.length)return;const n=e.shift();n.no_cookie?function(e,t,n,i,s){s.syncUrlModifier&&"function"==typeof s.syncUrlModifier[n]&&(t=s.syncUrlModifier[n](e,t,n));!function(e,t,n,i,s){t?"image"===e||"redirect"===e?((0,r.OG)(`Invoking image pixel user sync for bidder: "${n}"`),(0,r.z$)(t,i,s)):"iframe"===e?((0,r.OG)(`Invoking iframe user sync for bidder: "${n}"`),(0,r.SG)(t,i,s)):((0,r.vV)(`User sync type "${e}" not supported for bidder: "${n}"`),i()):((0,r.vV)(`No sync url for bidder "${n}": ${t}`),i())}(e,t,n,i,s.syncTimeout)}(n.usersync.type,n.usersync.url,n.bidder,G.bind(null,e,t),t):G(e,t)}a.$W.setDefaults({s2sConfig:V}),U("s2sConfig",(e=>{let{s2sConfig:t}=e;return W(t)}));let L={};function z(e){const t=function(e,t){if([e,t].every(r.O8))return L[`${e}${t}`]}(e.auctionId,e.adId);var n,i;(0,r.O8)(t)&&((0,r.OG)(`Invoking image pixel for wurl on BID_WIN: "${t}"`),(0,r.z$)(t),n=e.auctionId,i=e.adId,[n,i].every(r.O8)&&(L[`${n}${i}`]=void 0))}function F(e,t){const n=(0,g.C)(t),i=n?e.p1Consent:e.noP1Consent;return i||(0,r.JE)("Missing matching consent URL when gdpr="+n),i}function Y(e){let t,n,i;return Array.isArray(e)&&e.length>0&&(t=e[0].gdprConsent,n=e[0].uspConsent,i=e[0].gppConsent),{gdprConsent:t,uspConsent:n,gppConsent:i}}const K=(0,f.A_)("sync",(function(e,t,n,i){let{onResponse:s,onError:d,onBid:c,onFledge:u}=i,{gdprConsent:b}=Y(t);const l=(0,r.Go)(e.ad_units),f=l.map((e=>e.bids.map((e=>e.bidder)).filter(r.hj))).reduce(r.Bq,[]).filter(r.hj),g=e.metrics.measureTime("buildRequests",(()=>function(e,t,n,i){const s=(0,r.vE)(),d=new Set,c=[],u=(0,o.K5)(e.s2sConfig),p=(()=>{const e=(0,O.$p)(u),t={};return n=>null==n?e:(t.hasOwnProperty(n)||(t[n]=(0,O.$p)((0,q.s)(E.tW,n))),t[n])})();(n=n.map((e=>p().bidRequest(e)))).forEach((e=>{const i=new Map;n.bids=e.bids.map((e=>p(e.bidder).bidRequest(e))),e.bids.forEach((n=>{null!=n.mediaTypes&&(0,r.JE)(`Prebid Server adapter does not (yet) support bidder-specific mediaTypes for the same adUnit. Size mapping configuration will be ignored for adUnit: ${e.code}, bidder: ${n.bidder}`),i.set(n.bidder,(0,r.D4)(n.bid_id,t))}));let s=e.code,o=1;for(;d.has(s);)o++,s=`${e.code}-${o}`;d.add(s),c.push({...e,adUnitCode:e.code,pbsData:{impId:s,actualBidRequests:i,adUnit:e}})}));const b={...Object.fromEntries(Object.entries(t[0]).filter((e=>{let[t]=e;return!w.has(t)}))),paapi:{enabled:t.some((e=>e.paapi?.enabled))}};return D.toORTB({bidderRequest:b,bidRequests:c,context:{currency:a.$W.getConfig("currency.adServerCurrency")||"USD",ttl:e.s2sConfig.defaultTtl||60,requestTimestamp:s,s2sBidRequest:{...e,ortb2Fragments:(l=e.ortb2Fragments,null==l||0===Object.keys(l.bidder||{}).length?l:(l=P(l),{...l,bidder:T(l)}))},requestedBidders:i,actualBidderRequests:t,nativeRequest:e.s2sConfig.ortbNative,getRedactor:p,transmitTids:(0,I.io)(x.VJ,u)}});var l}(e,t,l,f))),m=g&&JSON.stringify(g);(0,r.fH)("BidRequest: "+m);const h=F(e.s2sConfig.endpoint,b),C=e?.s2sConfig?.customHeaders??{};if(g&&m&&h){const t=e.metrics.startTiming("net");n(h,{success:function(n){let i;t();try{i=JSON.parse(n);const{bids:t,paapi:s}=e.metrics.measureTime("interpretResponse",(()=>function(e,t){return D.fromORTB({response:e,request:t})}(i,g)));t.forEach(c),s&&s.forEach(u)}catch(e){(0,r.vV)(e)}!i||i.status&&(0,p.mK)(i.status,"Error")?((0,r.vV)("error parsing response: ",i?i.status:"not valid JSON"),s(!1,f)):s(!0,f,i)},error:function(){t(),d.apply(this,arguments)}},m,{contentType:"text/plain",withCredentials:!0,browsingTopics:(0,I.io)(x.DL,(0,o.K5)(e.s2sConfig)),customHeaders:C})}else(0,r.vV)("PBS request not made.  Check endpoints.")}),"processPBSRequest");function H(e,t){return e?.extPrebid?.returnallbidstatus?t?.ext?.seatnonbid:void 0}function Q(e){return e?.ext?.prebid?.analytics?.tags}o.Ay.registerBidAdapter(new function(){const e=new s.A("prebidServer");return e.callBids=function(e,t,n,i,s){const p=e.metrics=(0,k.BO)(t?.[0]?.metrics).newMetrics().renameWith((t=>[`adapter.s2s.${t}`,`adapters.s2s.${e.s2sConfig.defaultVendor}.${t}`]));i=p.startTiming("total").stopBefore(i),t.forEach((e=>(0,k.BO)(e.metrics).join(p,{continuePropagation:!1})));let{gdprConsent:b,uspConsent:l,gppConsent:f}=Y(t);if(Array.isArray(_)){if(e.s2sConfig&&e.s2sConfig.syncEndpoint&&F(e.s2sConfig.syncEndpoint,b)){const t=(e.s2sConfig.extPrebid&&e.s2sConfig.extPrebid.aliases)??{};M(e.s2sConfig.bidders.map((e=>o.Ay.aliasRegistry[e]||t[e]||e)).filter(((e,t,n)=>n.indexOf(e)===t)),b,l,f,e.s2sConfig)}K(e,t,s,{onResponse:function(n,s,r){n&&t.forEach((e=>u.Ic(d.qY.BIDDER_DONE,e)));const{seatNonBidData:c,atagData:g}=function(e,t){return{atagData:Q(t),seatNonBidData:H(e,t)}}(e.s2sConfig,r);if(c&&u.Ic(d.qY.SEAT_NON_BID,{seatnonbid:r.ext.seatnonbid,auctionId:t[0].auctionId,requestedBidders:s,response:r,adapterMetrics:p}),c||g){const e={seatnonbid:c,atag:g,auctionId:t[0].auctionId,requestedBidders:s,response:r,adapterMetrics:p};u.Ic(d.qY.PBS_ANALYTICS,e)}i(!1),function(e,t,n,i){e.forEach((e=>{let s=o.Ay.getBidAdapter(e);s&&s.registerSyncs&&a.$W.runWithBidder(e,s.registerSyncs.bind(s,[],t,n,i))}))}(s,b,l,f)},onError(n,s){const{p1Consent:o="",noP1Consent:a=""}=e?.s2sConfig?.endpoint||{};o===a?(0,r.vV)(`Prebid server call failed: '${n}'. Endpoint: "${o}"}`,s):(0,r.vV)(`Prebid server call failed: '${n}'. Endpoints: p1Consent "${o}", noP1Consent "${a}"}`,s),t.forEach((e=>u.Ic(d.qY.BIDDER_ERROR,{error:s,bidderRequest:e}))),i(s.timedOut)},onBid:function(t){let{adUnit:i,bid:s}=t;const o=s.metrics=e.metrics.fork().renameWith();var a,u,p;o.checkpoint("addBidResponse"),null!=s.requestId&&null!=s.requestBidder||e.s2sConfig.allowUnknownBidderCodes?o.measureTime("addBidResponse.validate",(()=>(0,c.fn)(i,s)))?(n(i,s),s.pbsWurl&&(a=s.auctionId,u=s.adId,p=s.pbsWurl,[a,u].every(r.O8)&&(L[`${a}${u}`]=p))):n.reject(i,s,d.Tf.INVALID):((0,r.JE)(`PBS adapter received bid from unknown bidder (${s.bidder}), but 's2sConfig.allowUnknownBidderCodes' is not set. Ignoring bid.`),n.reject(i,s,d.Tf.BIDDER_DISALLOWED))},onFledge:e=>{a.$W.runWithBidder(e.bidder,(()=>{(0,c.JN)({auctionId:t[0].auctionId,...e},{config:e.config})}))}})}},u.on(d.qY.BID_WON,z),Object.assign(this,{callBids:e.callBids,setBidderCode:e.setBidderCode,type:J})},"prebidServer"),(0,i.E)("prebidServerBidAdapter")}},e=>{e.O(0,[802,8498,1225,7618,1085],(()=>{return t=1134,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[3775],{9433:(e,o,t)=>{var r=t(7873),n=t(1069),i=t(433),a=t(3172),l=t(3272),s=t(8044),d=t(5023),c=t(8969),u=t(9214),f=t(5901),m=t(7934),p=t(2693),h=t(8462),g=t(1e3),y=t(6894),b=t(7176),v=t(1252),F=t(6743),A=t(6400);const k={NOT_FOUND:"not_found",RANDOM:"random"},S="Price Floors",C=(0,s.g4)(1e4),R=Symbol();let O=[R,"gptSlot","adUnitCode","size","domain","mediaType"],T=!1,M=!1,j={};const $=(0,A.L)();let x={};const U=(()=>{let e;return function(){return null==e&&(e=(0,n.Dl)((0,m.EN)().topmostLocation,{noDecodeWholeURL:!0}).hostname),e}})();function D(e,o){let{index:t=h.n.index}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e?.adUnitCode||t.getAdUnit(o).code}let E={[R]:()=>"*",size:(e,o)=>(0,n.n7)(o.size)||"*",mediaType:(e,o)=>o.mediaType||"banner",gptSlot:(e,o)=>function(e){let{index:o=h.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=o.getAdUnit({adUnitId:e});return"gam"===(0,i.A)(t,"ortb2Imp.ext.data.adserver.name")&&t.ortb2Imp.ext.data.adserver.adslot}((e||o).adUnitId)||(0,v.p)(D(e,o)).gptSlot,domain:U,adUnitCode:(e,o)=>D(e,o)};function V(e,o){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e,o,t){return e.length?e.reduce(((e,r)=>{let n=E[r](o,t)||"*";return e.push("*"===n?["*"]:[n.toLowerCase(),"*"]),e}),[]):[]}((0,i.A)(e,"schema.fields")||[],o,t);if(!r.length)return{matchingFloor:void 0};let n=r.map((e=>e[0])).join("-"),l=(0,i.A)(e,`matchingInputs.${n}`);if(l)return{...l};let s=(d=r,c=(0,i.A)(e,"schema.delimiter")||"|",d.reduce(((e,o)=>{let t=[];return e.map((e=>{o.map((o=>{t.push(e+c+o)}))})),t})).sort(((e,o)=>e.split("*").length-o.split("*").length)));var d,c;let u=(0,f.I6)(s,(o=>e.values.hasOwnProperty(o))),m={floorMin:e.floorMin||0,floorRuleValue:e.values[u],matchingData:s[0],matchingRule:u===e.meta?.defaultRule?void 0:u};const p=(0,i.A)(o,"ortb2Imp.ext.prebid.floors.floorMin");return"number"==typeof p&&(m.floorMin=p),m.matchingFloor=Math.max(m.floorMin,m.floorRuleValue),(0,a.J)(e,`matchingInputs.${n}`,{...m}),m}function B(e,o,t){return parseFloat((0,b.y)(e,{...o,cpm:e},t))}const I={banner:e=>(0,i.A)(e,"mediaTypes.banner.sizes")||[],video:e=>(0,i.A)(e,"mediaTypes.video.playerSize")||[],native:e=>(0,i.A)(e,"mediaTypes.native.image.sizes")?[(0,i.A)(e,"mediaTypes.native.image.sizes")]:[]};function z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{currency:"USD",mediaType:"*",size:"*"},o=this,t=x[o.auctionId];if(!t||t.skipped)return{};e=function(e,o){let t=Object.keys(e.mediaTypes||{});return"*"===o.mediaType&&1===t.length&&(o.mediaType=t[0]),"*"===o.size&&-1!==t.indexOf(o.mediaType)&&I[o.mediaType]&&1===I[o.mediaType](e).length&&(o.size=I[o.mediaType](e)[0]),o}(o,e);let i=V(t.data,{...o},{mediaType:e.mediaType,size:e.size}),a=e.currency||t.data.currency;if(i.matchingFloor&&a!==t.data.currency)try{i.matchingFloor=(0,r.m)().convertCurrency(i.matchingFloor,t.data.currency,a)}catch(e){(0,n.JE)(`${S}: Unable to get currency conversion for getFloor for bidder ${o.bidder}. You must have currency module enabled with defaultRates in your currency config`),a=t.data.currency}if(t.enforcement.bidAdjustment&&i.matchingFloor){const e=p.u.get(o.bidder,"inverseBidAdjustment");if(e)i.matchingFloor=e(i.matchingFloor,o);else{let e=B(i.matchingFloor,null,o);i.matchingFloor=e?function(e,o){const t=Math.pow(10,10);return e*t/(o*t)*(e*t)/t}(i.matchingFloor,e):i.matchingFloor}}return null===i.floorRuleValue?null:i.matchingFloor?{floor:(l=i.matchingFloor,s=4,Math.ceil((parseFloat(l)*Math.pow(10,s)).toFixed(1))/Math.pow(10,s)),currency:a}:{};var l,s}function N(e,o){let t=(0,n.Go)(e);return t.schema.delimiter=e.schema.delimiter||"|",t.values=function(e,o){let t=e.schema.fields,r=e.schema.delimiter,n=o&&-1===t.indexOf("adUnitCode")&&t.unshift("adUnitCode");return Object.keys(e.values).reduce(((t,i)=>(t[(n?`${o}${r}${i}`:i).toLowerCase()]=e.values[i],t)),{})}(t,o),t.currency=t.currency||"USD",t}function w(e,o){let t=(0,n.Go)(j);if(2===(0,i.A)(t,"data.floorsSchemaVersion")){let{modelGroups:e,...o}=t.data;t.data=Object.assign(o,function(e,o){let t=Math.floor(Math.random()*o+1);for(let o=0;o<e.length;o++)if(t-=e[o].modelWeight,t<=0)return e[o]}(e,o.modelWeightSum))}let r=0===Object.keys((0,i.A)(t,"data.values")||{}).length;if(t.data=r?function(e){const o=e.find((e=>null!=e.floors?.schema));return e.reduce(((e,t)=>{if(null!=t.floors?.schema&&!(0,n.bD)(t.floors.schema,o?.floors?.schema))return(0,n.vV)(`${S}: adUnit '${t.code}' declares a different schema from one previously declared by adUnit '${o.code}'. Floor config for '${t.code}' will be ignored.`),e;const r=Object.assign({},o?.floors,{values:void 0},t.floors);if(W(r))if(e.values){let o=N(r,t.code).values;Object.assign(e.values,o)}else(e=N(r,t.code)).location="adUnit";else null!=t.floors&&(0,n.JE)(`adUnit '${t.code}' provides an invalid \`floor\` definition, it will be ignored for floor calculations`,t);return e}),{})}(e):N(t.data),0===Object.keys((0,i.A)(t,"data.values")||{}).length)t.skipped=!0,t.skippedReason=k.NOT_FOUND;else{const e=(0,n.Ez)("pbjs_skipRate")||((0,i.A)(t,"data.skipRate")??t.skipRate),o=100*Math.random()<parseFloat(e);t.skipped=o,o&&(t.skippedReason=k.RANDOM)}return t.hasOwnProperty("floorMin")&&(t.data.floorMin=t.floorMin),function(e,o,t){const r=function(e){const{data:o,enforcement:t}=e;return o?.noFloorSignalBidders?.length>0?o.noFloorSignalBidders:t?.noFloorSignalBidders?.length>0?t.noFloorSignalBidders:[]}(o);e.forEach((e=>{e.bids.forEach((e=>{const a=r.some((o=>o===e.bidder));o.skipped||a?(a&&(0,n.fH)(`noFloorSignal to ${e.bidder}`),delete e.getFloor):e.getFloor=z,e.auctionId=t,e.floorData={noFloorSignaled:a,skipped:o.skipped,skipRate:(0,i.A)(o,"data.skipRate")??o.skipRate,skippedReason:o.skippedReason,floorMin:o.floorMin,modelVersion:(0,i.A)(o,"data.modelVersion"),modelWeight:(0,i.A)(o,"data.modelWeight"),modelTimestamp:(0,i.A)(o,"data.modelTimestamp"),location:(0,i.A)(o,"data.location","noData"),floorProvider:o.floorProvider,fetchStatus:j.fetchStatus}}))}))}(e,t,o),t}function q(e){e.hasExited||(e.reqBidsConfigObj.auctionId=e.reqBidsConfigObj.auctionId||(0,n.lk)(),x[e.reqBidsConfigObj.auctionId]=w(e.reqBidsConfigObj.adUnits||(0,r.m)().adUnits,e.reqBidsConfigObj.auctionId),e.nextFn.apply(e.context,[e.reqBidsConfigObj]),e.hasExited=!0)}function J(e){return e=function(e){if((0,n.Et)(e.default)){let o="*";const t=(e.schema?.fields||[]).length;t?o=Array(t).fill("*").join(e.schema?.delimiter||"|"):(0,a.J)(e,"schema.fields",[R]),e.values=e.values||{},null==e.values[o]&&(e.values[o]=e.default,e.meta={defaultRule:o})}return e}(e),!!function(e){if(Array.isArray(e)&&e.length>0){if(e.every((e=>O.includes(e))))return!0;(0,n.vV)(`${S}: Fields received do not match allowed fields`)}return!1}((0,i.A)(e,"schema.fields"))&&(o=e,t=e.schema.fields.length,r=e.schema.delimiter||"|","object"==typeof o.values&&(o.values=Object.keys(o.values).reduce(((e,n)=>(function(e,o,t,r){return"string"==typeof e&&e.split(r).length===t&&("number"==typeof o||null===o)}(n,o.values[n],t,r)&&(e[n]=o.values[n]),e)),{}),Object.keys(o.values).length>0));var o,t,r}const P={1:e=>J(e),2:e=>!(!Array.isArray(e.modelGroups)||0===e.modelGroups.length)&&(e.modelWeightSum=0,e.modelGroups.every((o=>!("number"!=typeof o.modelWeight||!J(o))&&(e.modelWeightSum+=o.modelWeight,!0))))};function W(e){return"object"==typeof e&&(e.floorsSchemaVersion=e.floorsSchemaVersion||1,"function"!=typeof P[e.floorsSchemaVersion]?((0,n.vV)(`${S}: Unknown floorsSchemaVersion: `,e.floorsSchemaVersion),!1):P[e.floorsSchemaVersion](e))}function G(e,o){if(e&&"object"==typeof e&&W(e))return(0,n.fH)(`${S}: A ${o} set the auction floor data set to `,e),{...e,location:o};(0,n.vV)(`${S}: The floors data did not contain correct values`,e)}const L=(0,y.Ak)("priceFloors",(function(e,o){const t={reqBidsConfigObj:o,context:this,nextFn:e,hasExited:!1,timer:null};j.auctionDelay>0&&T?$.submit(j.auctionDelay,(()=>q(t)),(()=>{(0,n.JE)(`${S}: Fetch attempt did not return in time for auction`),j.fetchStatus="timeout",q(t)})):q(t)}));function _(e){let o;T=!1,j.fetchStatus="success";try{o=JSON.parse(e)}catch(t){o=e}const t=G(o,"fetch");t&&(j.data=t,j.skipRate=(0,n.Et)(t.skipRate)?t.skipRate:j.skipRate,j.floorProvider=t.floorProvider||j.floorProvider),$.resume()}function H(e){T=!1,j.fetchStatus="error",(0,n.vV)(`${S}: Fetch errored with: `,e),$.resume()}function Y(e){var o;j=(0,n.Up)(e,["floorMin","enabled",e=>!1!==e,"auctionDelay",e=>e||0,"floorProvider",o=>(0,i.A)(e,"data.floorProvider",o),"endpoint",e=>e||{},"skipRate",()=>isNaN((0,i.A)(e,"data.skipRate"))?e.skipRate||0:e.data.skipRate,"enforcement",e=>(0,n.Up)(e||{},["enforceJS",e=>!1!==e,"enforcePBS",e=>!0===e,"floorDeals",e=>!0===e,"bidAdjustment",e=>!1!==e,"noFloorSignalBidders",e=>e||[]]),"additionalSchemaFields",e=>{return"object"==typeof e&&Object.keys(e).length>0?(o=e,void Object.keys(o).forEach((e=>{-1===O.indexOf(e)&&"function"==typeof o[e]&&(O.push(e),E[e]=o[e])}))):void 0;var o},"data",e=>e&&G(e,"setConfig")||void 0]),j.enabled?((o=j.endpoint).url&&!T?"GET"!==(o.method||"GET")?(0,n.vV)(`${S}: 'GET' is the only request method supported at this time!`):(C(o.url,{success:_,error:H},null,{method:"GET"}),T=!0):T&&(0,n.JE)(`${S}: A fetch is already occuring. Skipping.`),M||(d.on(c.qY.AUCTION_END,(e=>{setTimeout((()=>delete x[e.auctionId]),3e3)})),(0,r.m)().requestBids.before(L,50),(0,u.Yn)("addBidResponse").before(Z,(0,n.dp)()?4:50),M=!0)):((0,n.fH)(`${S}: Turning off module`),j={},x={},(0,u.Yn)("addBidResponse").getHooks({hook:Z}).remove(),(0,r.m)().requestBids.getHooks({hook:L}).remove(),M=!1)}const Z=(0,y.NL)("priceFloors",(function(e,o,t,a){let l=x[t.auctionId];if(!l||!t||l.skipped)return e.call(this,o,t,a);const s=h.n.index.getBidRequest(t);let d,u=V(l.data,s,{...t,size:[t.width,t.height]});if(!u.matchingFloor)return 0!==u.matchingFloor&&(0,n.JE)(`${S}: unable to determine a matching price floor for bidResponse`,t),e.call(this,o,t,a);let f=l.data.currency.toUpperCase(),m=t.currency||"USD";if(f===m.toUpperCase())d=t.cpm;else if(t.originalCurrency&&f===t.originalCurrency.toUpperCase())d=t.originalCpm;else try{d=(0,r.m)().convertCurrency(t.cpm,m.toUpperCase(),f)}catch(r){return(0,n.vV)(`${S}: Unable do get currency conversion for bidResponse to Floor Currency. Do you have Currency module enabled? ${t}`),e.call(this,o,t,a)}return d=B(d,t,s),function(e,o,t,r){t.floorData={floorValue:o.matchingFloor,floorRule:o.matchingRule,floorRuleValue:o.floorRuleValue,floorCurrency:e.data.currency,cpmAfterAdjustments:r,enforcements:{...e.enforcement},matchedFields:{}},e.data.schema.fields.forEach(((r,n)=>{let i=o.matchingData.split(e.data.schema.delimiter)[n];t.floorData.matchedFields[r]=i}))}(l,u,t,d),function(e,o,t){let r=!1!==(0,i.A)(e,"enforcement.enforceJS"),n=!0===(0,i.A)(e,"enforcement.floorDeals")||!t.dealId,a=t.floorData.cpmAfterAdjustments<o.matchingFloor;return r&&a&&n}(l,u,t)?(a(c.Tf.FLOOR_NOT_MET),void(0,n.JE)(`${S}: ${t.bidderCode}'s Bid Response for ${o} was rejected due to floor not met (adjusted cpm: ${t?.floorData?.cpmAfterAdjustments}, floor: ${u?.matchingFloor})`,t)):e.call(this,o,t,a)}));l.$W.getConfig("floors",(e=>Y(e.floors))),(0,g.pS)({type:g.Tb,name:"bidfloor",fn:function(e,o,t){if("function"==typeof o.getFloor){let r,i;try{({currency:r,floor:i}=o.getFloor({currency:t.currency||l.$W.getConfig("currency.adServerCurrency")||"USD",mediaType:t.mediaType||"*",size:"*"})||{})}catch(e){return void(0,n.JE)("Cannot compute floor for bid",o)}i=parseFloat(i),null==r||null==i||isNaN(i)||Object.assign(e,{bidfloor:i,bidfloorcur:r})}}}),(0,g.pS)({type:g.Tb,name:"extPrebidFloors",fn:function(e,o,t){if(null!=e.bidfloor){let{floorMinCur:o,floorMin:r}=t.reqContext.floorMin||{};null==o&&(o=e.bidfloorcur);const n=e.ext?.prebid?.floors?.floorMinCur||e.ext?.prebid?.floorMinCur||o,i=e.ext?.prebid?.floors?.floorMin||e.ext?.prebid?.floorMin,l=(0,F.hZ)(e.bidfloor,e.bidfloorcur,o),s=!(!i||!n)&&(0,F.hZ)(i,n,o),d=s&&s<l?s:l;(0,a.J)(e,"ext.prebid.floors.floorMin",d),(null==r||r>d)&&(r=d),t.reqContext.floorMin={floorMin:r,floorMinCur:o}}},dialects:[g.e4],priority:-1}),(0,g.pS)({type:g.S3,name:"extPrebidFloors",fn:function(e,o,t){M&&(0,a.J)(e,"ext.prebid.floors.enabled",e.ext?.prebid?.floors?.enabled||!1),t?.floorMin&&(0,n.D9)(e,{ext:{prebid:{floors:t.floorMin}}})},dialects:[g.e4]}),(0,r.E)("priceFloors")}},e=>{e.O(0,[802,3005,1225,5957,1085],(()=>{return o=9433,e(e.s=o);var o}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[6041],{2115:(d,e,n)=>{var t=n(7873),r=n(9214),i=n(1069);const o={name:"pubProvidedId",gvlid:n(6916).B1,decode(d){const e=d?{pubProvidedId:d}:void 0;return(0,i.fH)("PubProvidedId: Decoded value "+JSON.stringify(e)),e},getId(d){const e=d&&d.params||{};let n=[];return(0,i.cy)(e.eids)&&(n=n.concat(e.eids)),"function"==typeof e.eidsFunction&&(n=n.concat(e.eidsFunction())),{id:n}}};(0,r.bz)("userId",o),(0,t.E)("pubProvidedIdSystem")}},d=>{d.O(0,[802,1085],(()=>{return e=2115,d(d.s=e);var e}));d.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1252],{3990:(e,t,r)=>{var a=r(7873),i=r(1069),s=r(433),n=r(3172),o=r(7377),d=r(1371),p=r(3272),c=r(5789),m=r(2693),l=r(8969);const u="pubmatic",g="PubMatic: ",h="USD",f=void 0,b="https://pubmatic.bbvms.com/r/".concat("$RENDERER",".js"),y="Video.plcmt param missing",v={kadpageurl:"",gender:"",yob:"",lat:"",lon:"",wiid:"",profId:"",verId:""},w={NUMBER:"number",STRING:"string",BOOLEAN:"boolean",ARRAY:"array",OBJECT:"object"},x={mimes:w.ARRAY,minduration:w.NUMBER,maxduration:w.NUMBER,startdelay:w.NUMBER,playbackmethod:w.ARRAY,api:w.ARRAY,protocols:w.ARRAY,w:w.NUMBER,h:w.NUMBER,battr:w.ARRAY,linearity:w.NUMBER,placement:w.NUMBER,plcmt:w.NUMBER,minbitrate:w.NUMBER,maxbitrate:w.NUMBER,skip:w.NUMBER},E={ICON:1,IMAGE:3},I={battr:w.ARRAY},O={1:"PMP",5:"PREF",6:"PMPG"},R={bootstrapPlayer:function(e){const t={code:e.adUnitCode};if(e.vastXml?t.vastXml=e.vastXml:e.vastUrl&&(t.vastUrl=e.vastUrl),!e.vastXml&&!e.vastUrl)return void(0,i.JE)(`${g}: No vastXml or vastUrl on bid, bailing...`);const r=R.getRendererId("pubmatic",e.rendererCode),a=document.getElementById(e.adUnitCode);let s;for(let e=0;e<window.bluebillywig.renderers.length;e++)if(window.bluebillywig.renderers[e]._id===r){s=window.bluebillywig.renderers[e];break}s?s.bootstrap(t,a):(0,i.JE)(`${g}: Couldn't find a renderer with ${r}`)},newRenderer:function(e,t){var r=b.replace("$RENDERER",e);const a=c.A4.install({url:r,loaded:!1,adUnitCode:t});try{a.setRender(R.outstreamRender)}catch(e){(0,i.JE)(`${g}: Error tying to setRender on renderer`,e)}return a},outstreamRender:function(e){e.renderer.push((function(){R.bootstrapPlayer(e)}))},getRendererId:function(e,t){return`${e}-${t}`}},T=[d.D4,d.G_,d.s6],J={banner:360,video:1800,native:1800};let _=0,z=!1,C=["pubmatic"];const A=["all"];function U(e,t){if(!(0,i.O8)(t))return t&&(0,i.JE)(g+"Ignoring param key: "+e+", expects string-value, found "+typeof t),f;switch(e){case"pmzoneid":return t.split(",").slice(0,50).map((e=>e.trim())).join();case"kadfloor":case"lat":case"lon":return parseFloat(t)||f;case"yob":return parseInt(t)||f;default:return t}}function S(e){var t;e.params.adUnit="",e.params.adUnitIndex="0",e.params.width=0,e.params.height=0,e.params.adSlot=(t=e.params.adSlot,(0,i.O8)(t)?t.replace(/^\s+/g,"").replace(/\s+$/g,""):(t&&(0,i.JE)(u+": adSlot must be a string. Ignoring adSlot"),""));var r=e.params.adSlot,a=r.split(":");if(r=a[0],2==a.length&&(e.params.adUnitIndex=a[1]),a=r.split("@"),e.params.adUnit=a[0],a.length>1){if(2!=(a=a[1].split("x")).length)return void(0,i.JE)(g+"AdSlot Error: adSlot not in required format");e.params.width=parseInt(a[0],10),e.params.height=parseInt(a[1],10)}else if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(d.D4)&&e.mediaTypes.banner.hasOwnProperty("sizes")){for(var s=0,n=[];s<e.mediaTypes.banner.sizes.length;s++)2===e.mediaTypes.banner.sizes[s].length&&n.push(e.mediaTypes.banner.sizes[s]);e.mediaTypes.banner.sizes=n,e.mediaTypes.banner.sizes.length>=1&&(e.params.width=e.mediaTypes.banner.sizes[0][0],e.params.height=e.mediaTypes.banner.sizes[0][1],e.mediaTypes.banner.sizes=e.mediaTypes.banner.sizes.splice(1,e.mediaTypes.banner.sizes.length-1))}}function P(){let e=window.navigator&&(window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection);switch(e?.effectiveType){case"ethernet":return 1;case"wifi":return 2;case"slow-2g":case"2g":return 4;case"3g":return 5;case"4g":return 6;default:return 0}}function k(e,t,r){var a,s="Ignoring param key: "+e+", expects "+r+", found "+typeof t;switch(r){case w.BOOLEAN:a=i.Lm;break;case w.NUMBER:a=i.Et;break;case w.STRING:a=i.O8;break;case w.ARRAY:a=i.cy}return a(t)?t:((0,i.JE)(g+s),f)}const N={desc:"desc",desc2:"desc2",body:"desc",body2:"desc2",sponsoredBy:"sponsored",cta:"ctatext",rating:"rating",address:"address",downloads:"downloads",likes:"likes",phone:"phone",price:"price",salePrice:"saleprice",displayUrl:"displayurl",saleprice:"saleprice",displayurl:"displayurl"},$=Object.values(N);function j(e){var t;if(e.ortb){e=e.ortb,t={ver:"1.2",...e,assets:[]};const{assets:r}=e,a=e=>e.title||e.img||e.data||e.video;if(r.length<1||!r.some((e=>a(e))))return(0,i.JE)(`${g}: Native assets object is empty or contains some invalid object`),z=!0,t;r.forEach((e=>{var r=e;r.img&&(r.img.type==E.IMAGE?(r.w=r.w||r.width||(r.sizes?r.sizes[0]:f),r.h=r.h||r.height||(r.sizes?r.sizes[1]:f),r.wmin=r.wmin||r.minimumWidth||(r.minsizes?r.minsizes[0]:f),r.hmin=r.hmin||r.minimumHeight||(r.minsizes?r.minsizes[1]:f)):r.img.type==E.ICON&&(r.w=r.w||r.width||(r.sizes?r.sizes[0]:f),r.h=r.h||r.height||(r.sizes?r.sizes[1]:f))),r&&void 0!==r.id&&a(r)&&t.assets.push(r)}))}else t=function(e){if(!e&&!(0,i.Qd)(e))return(0,i.JE)(`${g}: Native assets object is empty or not an object: ${e}`),void(z=!0);const t={ver:"1.2",assets:[]};for(let r in e){if(l._B.includes(r))continue;if(!l.x5.hasOwnProperty(r)&&!$.includes(r)){(0,i.JE)(`${g}: Unrecognized native asset code: ${r}. Asset will be ignored.`);continue}const a=e[r];let s=0;a.required&&(0,i.Lm)(a.required)&&(s=Number(a.required));const n={id:t.assets.length,required:s};if(r in N)n.data={type:l.jO[N[r]]},(a.len||a.length)&&(n.data.len=a.len||a.length),a.ext&&(n.data.ext=a.ext);else if("icon"===r||"image"===r){if(n.img={type:"icon"===r?l.oA.ICON:l.oA.MAIN},a.aspect_ratios)if((0,i.cy)(a.aspect_ratios))if(a.aspect_ratios.length){const{min_width:e,min_height:t}=a.aspect_ratios[0];(0,i.Fq)(e)&&(0,i.Fq)(t)?(n.img.wmin=e,n.img.hmin=t):(0,i.JE)(`${g}: image.aspect_ratios min_width or min_height are invalid: ${e}, ${t}`);const r=a.aspect_ratios.filter((e=>e.ratio_width&&e.ratio_height)).map((e=>`${e.ratio_width}:${e.ratio_height}`));r.length>0&&(n.img.ext={aspectratios:r})}else(0,i.JE)(`${g}: image.aspect_ratios was passed, but it's empty: ${a.aspect_ratios}`);else(0,i.JE)(`${g}: image.aspect_ratios was passed, but it's not a an array: ${a.aspect_ratios}`);n.img.w=a.w||a.width,n.img.h=a.h||a.height,n.img.wmin=a.wmin||a.minimumWidth||(a.minsizes?a.minsizes[0]:f),n.img.hmin=a.hmin||a.minimumHeight||(a.minsizes?a.minsizes[1]:f),a.sizes&&(2===a.sizes.length&&(0,i.Fq)(a.sizes[0])&&(0,i.Fq)(a.sizes[1])?((0,i.fH)(`${g}: if asset.sizes exist, by OpenRTB spec we should remove wmin and hmin`),n.img.w=a.sizes[0],n.img.h=a.sizes[1],delete n.img.hmin,delete n.img.wmin):(0,i.JE)(`${g}: image.sizes was passed, but its value is not an array of integers: ${a.sizes}`)),a.ext&&(n.img.ext=a.ext),a.mimes&&(n.img.mimes=a.mimes)}else"title"===r?(n.title={len:a.len||a.length||140},a.ext&&(n.title.ext=a.ext)):"ext"===r&&(n.ext=a,delete n.required);t.assets.push(n)}return t.assets.length<1?((0,i.JE)(`${g}: Could not find any valid asset`),void(z=!0)):t}(e);return t}function q(e){var t,r=e.mediaTypes.banner.sizes,a=[];if(r!==f&&(0,i.cy)(r)){if(t={},e.params.width||e.params.height)t.w=e.params.width,t.h=e.params.height;else{if(0===r.length)return t=f,(0,i.JE)(g+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),t;t.w=parseInt(r[0][0],10),t.h=parseInt(r[0][1],10),r=r.splice(1,r.length-1)}r.length>0&&(a=[],r.forEach((function(e){e.length>1&&a.push({w:e[0],h:e[1]})})),a.length>0&&(t.format=a)),t.pos=0,t.topframe=(0,i.al)()?0:1;const n={...(0,s.A)(e,"ortb2Imp.banner")};for(let e in I)n.hasOwnProperty(e)&&(t[e]=k(e,n[e],I[e]))}else(0,i.JE)(g+"Error: mediaTypes.banner.size missing for adunit: "+e.params.adUnit+". Ignoring the banner impression in the adunit."),t=f;return t}function M(e){var t,r=(0,i.D9)((0,s.A)(e.mediaTypes,"video"),e.params.video);if(r!==f){for(var a in t={},function(e,t){(0,s.A)(e,"plcmt")||(0,i.JE)(y+" for "+t)}(r,e.adUnitCode),x)r.hasOwnProperty(a)&&(t[a]=k(a,r[a],x[a]));(0,i.cy)(e.mediaTypes.video.playerSize[0])?(t.w=parseInt(e.mediaTypes.video.playerSize[0][0],10),t.h=parseInt(e.mediaTypes.video.playerSize[0][1],10)):(0,i.Et)(e.mediaTypes.video.playerSize[0])&&(t.w=parseInt(e.mediaTypes.video.playerSize[0],10),t.h=parseInt(e.mediaTypes.video.playerSize[1],10))}else t=f,(0,i.JE)(g+"Error: Video config params missing for adunit: "+e.params.adUnit+" with mediaType set as video. Ignoring video impression in the adunit.");return t}function B(e,t){var r,a,o={},c={},m=e.hasOwnProperty("sizes")?e.sizes:[],l="",u=[],b=t?.paapi?.enabled;if(function(e,t){t.params.deals&&((0,i.cy)(t.params.deals)?t.params.deals.forEach((function(t){(0,i.O8)(t)&&t.length>3?(e.pmp||(e.pmp={private_auction:0,deals:[]}),e.pmp.deals.push({id:t})):(0,i.JE)(g+"Error: deal-id present in array bid.params.deals should be a strings with more than 3 charaters length, deal-id ignored: "+t)})):(0,i.JE)(g+"Error: bid.params.deals should be an array of strings."))}(o={id:e.bidId,tagid:e.params.adUnit||void 0,bidfloor:U("kadfloor",e.params.kadfloor),secure:1,ext:{pmZoneId:U("pmzoneid",e.params.pmzoneid)},bidfloorcur:e.params.currency?U("currency",e.params.currency):h,displaymanager:"Prebid.js",displaymanagerver:"9.23.0",pmp:e.ortb2Imp?.pmp||void 0},e),function(e,t){var r,a="";if(t.params.dctr)if(a=t.params.dctr,(0,i.O8)(a)&&a.length>0){var s=a.split("|");a="",s.forEach((e=>{a+=e.length>0?e.trim()+"|":""})),r=a.length,"|"===a.substring(r,r-1)&&(a=a.substring(0,r-1)),e.ext.key_val=a.trim()}else(0,i.JE)(g+"Ignoring param : dctr with value : "+a+", expects string-value, found empty or non-string value")}(o,e),function(e,t){var r=t.rtd&&t.rtd.jwplayer&&t.rtd.jwplayer.targeting||void 0,a="";if(void 0!==r&&""!==r&&r.hasOwnProperty("segments")){var i,s=r.segments.length;a+="jw-id="+r.content.id;for(var n=0;n<s;n++)a+="|jw-"+r.segments[n]+"=1";(i=e.ext)&&void 0===i.key_val?i.key_val=a:i.key_val+="|"+a}}(o,e),e.hasOwnProperty("mediaTypes"))for(l in e.mediaTypes)switch(l){case d.D4:(r=q(e))!==f&&(o.banner=r);break;case d.s6:c.request=JSON.stringify(j(e.nativeParams)),z?((0,i.JE)(g+"Error: Error in Native adunit "+e.params.adUnit+". Ignoring the adunit. Refer to http://prebid.org/dev-docs/show-native-ads.html for more details."),z=!1):o.native=c;break;case d.G_:(a=M(e))!==f&&(o.video=a)}else r={pos:0,w:e.params.width,h:e.params.height,topframe:(0,i.al)()?0:1},(0,i.cy)(m)&&m.length>1&&((m=m.splice(1,m.length-1)).forEach((e=>{u.push({w:e[0],h:e[1]})})),r.format=u),o.banner=r;return function(e,t){const r={...(0,s.A)(t,"ortb2Imp.ext.data")};Object.keys(r).forEach((t=>{"pbadslot"===t?"string"==typeof r[t]&&r[t]&&(0,n.J)(e,"ext.data.pbadslot",r[t]):"adserver"===t?["name","adslot"].forEach((t=>{const a=(0,s.A)(r,`adserver.${t}`);"string"==typeof a&&a&&((0,n.J)(e,`ext.data.adserver.${t.toLowerCase()}`,a),"adslot"===t&&(0,n.J)(e,"ext.dfp_ad_unit_code",a))})):(0,n.J)(e,`ext.data.${t}`,r[t])}));const a=(0,s.A)(t,"ortb2Imp.ext.gpid");a&&(0,n.J)(e,"ext.gpid",a)}(o,e),function(e,t){let r=-1;"function"!=typeof t.getFloor||p.$W.getConfig("pubmatic.disableFloors")||[d.D4,d.G_,d.s6].forEach((a=>{if(e.hasOwnProperty(a)){let s=[];"banner"===a&&(e[a].w&&e[a].h&&s.push([e[a].w,e[a].h]),(0,i.cy)(e[a].format)&&e[a].format.forEach((e=>s.push([e.w,e.h])))),0===s.length&&s.push("*"),s.forEach((s=>{let n=t.getFloor({currency:e.bidfloorcur,mediaType:a,size:s});if((0,i.fH)(g,"floor from floor module returned for mediatype:",a," and size:",s," is: currency",n.currency,"floor",n.floor),(0,i.Qd)(n)&&n.currency===e.bidfloorcur&&!isNaN(parseInt(n.floor))){let e=parseFloat(n.floor);(0,i.fH)(g,"floor from floor module:",e,"previous floor value",r,"Min:",Math.min(e,r)),r=-1===r?e:Math.min(e,r),(0,i.fH)(g,"new floor value:",r)}}))}}));e.bidfloor&&((0,i.fH)(g,"floor from floor module:",r,"impObj.bidfloor",e.bidfloor,"Max:",Math.max(r,e.bidfloor)),r=Math.max(r,e.bidfloor));e.bidfloor=!isNaN(r)&&r>0?r:f,(0,i.fH)(g,"new impObj.bidfloor value:",e.bidfloor)}(o,e),function(e,t,r){r?(e.ext=e.ext||{},void 0!==t?.ortb2Imp?.ext?.ae&&(e.ext.ae=t.ortb2Imp.ext.ae)):e.ext?.ae&&delete e.ext.ae}(o,e,b),o.hasOwnProperty(d.D4)||o.hasOwnProperty(d.s6)||o.hasOwnProperty(d.G_)?o:f}function D(e,t){(t=t.filter((function(e){return"string"==typeof e||((0,i.JE)(g+"acat: Each category should be a string, ignoring category: "+e),!1)})).map((e=>e.trim())).filter(((e,t,r)=>r.indexOf(e)===t))).length>0&&((0,i.JE)(g+"acat: Selected: ",t),e.ext.acat=t)}function G(e){return!0===(0,i.cy)(e)&&e.length>0}const F={code:u,gvlid:76,supportedMediaTypes:[d.D4,d.G_,d.s6],isBidRequestValid:e=>{if(e&&e.params){if(!(0,i.O8)(e.params.publisherId))return(0,i.JE)(g+"Error: publisherId is mandatory and cannot be numeric (wrap it in quotes in your config). Call to OpenBid will not be sent for ad unit: "+JSON.stringify(e)),!1;if(e.hasOwnProperty("mediaTypes")&&e.mediaTypes.hasOwnProperty(d.G_)){let t=(0,s.A)(e.mediaTypes,"video.mimes"),r=(0,s.A)(e,"params.video.mimes");if(!1===G(t)&&!1===G(r))return(0,i.JE)(g+"Error: For video ads, bid.mediaTypes.video.mimes OR bid.params.video.mimes should be present and must be a non-empty array. Call to OpenBid will not be sent for ad unit:"+JSON.stringify(e)),!1;if(!e.mediaTypes[d.G_].hasOwnProperty("context"))return(0,i.vV)(`${g}: no context specified in bid. Rejecting bid: `,e),!1;if("outstream"===e.mediaTypes[d.G_].context&&!(0,i.O8)(e.params.outstreamAU)&&!e.hasOwnProperty("renderer")&&!e.mediaTypes[d.G_].hasOwnProperty("renderer"))return e.mediaTypes.hasOwnProperty(d.D4)||e.mediaTypes.hasOwnProperty(d.s6)?(delete e.mediaTypes[d.G_],(0,i.JE)(`${g}: for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting mediatype Video of bid: `,e),!0):((0,i.vV)(`${g}: for "outstream" bids either outstreamAU parameter must be provided or ad unit supplied renderer is required. Rejecting bid: `,e),!1)}return!0}return!1},buildRequests:(e,t)=>{var r;t&&t.refererInfo&&(r=t.refererInfo);var a,o=function(e){return{pageURL:e?.page||window.location.href,refURL:e?.ref||window.document.referrer}}(r),c=function(e){return{id:""+(new Date).getTime(),at:1,cur:[h],imp:[],site:{page:e.pageURL,ref:e.refURL,publisher:{}},device:{ua:navigator.userAgent,js:1,dnt:"yes"==navigator.doNotTrack||"1"==navigator.doNotTrack||"1"==navigator.msDoNotTrack?1:0,h:screen.height,w:screen.width,language:navigator.language,connectiontype:P()},user:{},ext:{}}}(o),l="",u=[],b=[],y=[],w=(0,i.lk)();if(e.forEach((e=>{if(e.params.wiid=e.params.wiid||t.auctionId||w,(a=(0,i.Go)(e)).params.adSlot=a.params.adSlot||"",S(a),a.mediaTypes&&a.mediaTypes.hasOwnProperty("video")||a.params.hasOwnProperty("video"));else if(!(a.hasOwnProperty("mediaTypes")&&a.mediaTypes.hasOwnProperty(d.s6)||0!==a.params.width||0!==a.params.height))return void(0,i.JE)(g+"Skipping the non-standard adslot: ",a.params.adSlot,JSON.stringify(a));o.pubId=o.pubId||a.params.publisherId,(o=function(e,t){var r,a,s;for(r in t.kadpageurl||(t.kadpageurl=t.pageURL),v)v.hasOwnProperty(r)&&(a=e[r])&&("object"==typeof(s=v[r])&&(a=s.f(a,t)),(0,i.O8)(a)?t[r]=a:(0,i.JE)(g+"Ignoring param : "+r+" with value : "+v[r]+", expects string-value, found "+typeof a));return t}(a.params,o)).transactionId=a.ortb2Imp?.ext?.tid,""===l?l=a.params.currency||f:a.params.hasOwnProperty("currency")&&l!==a.params.currency&&(0,i.JE)(g+"Currency specifier ignored. Only one currency permitted."),a.params.currency=l,a.params.hasOwnProperty("dctr")&&(0,i.O8)(a.params.dctr)&&u.push(a.params.dctr),a.params.hasOwnProperty("bcat")&&(0,i.cy)(a.params.bcat)&&(b=b.concat(a.params.bcat)),a.params.hasOwnProperty("acat")&&(0,i.cy)(a.params.acat)&&(y=y.concat(a.params.acat));var r=B(a,t);r&&c.imp.push(r)})),0==c.imp.length)return;c.site.publisher.id=o.pubId.trim(),_=o.pubId.trim(),c.ext.wrapper={},c.ext.wrapper.profile=parseInt(o.profId)||f,c.ext.wrapper.version=parseInt(o.verId)||f,c.ext.wrapper.wiid=o.wiid||t.auctionId,c.ext.wrapper.wv="prebid_prebid_9.23.0",c.ext.wrapper.transactionId=o.transactionId,c.ext.wrapper.wp="pbjs";const x=t?m.u.get(t.bidderCode,"allowAlternateBidderCodes"):void 0;if(void 0!==x){if(c.ext.marketplace={},t&&1==x){let e=m.u.get(t.bidderCode,"allowedAlternateBidderCodes");(0,i.cy)(e)?(e=e.map((e=>e.trim().toLowerCase())).filter((e=>!!e)).filter(i.hj),C=e.includes("*")?A:[...C,...e]):C=A}c.ext.marketplace.allowedbidders=C.filter(i.hj)}c.user.gender=o.gender?o.gender.trim():f,c.user.geo={},c.user.yob=U("yob",o.yob),c.site.page=o.kadpageurl.trim()||c.site.page.trim(),c.site.domain=function(e){let t=document.createElement("a");return t.href=e,t.hostname}(c.site.page),"object"==typeof p.$W.getConfig("content")&&(c.site.content=p.$W.getConfig("content")),"object"==typeof p.$W.getConfig("device")&&(c.device=Object.assign(c.device,p.$W.getConfig("device"))),c.device.language=c.device.language&&c.device.language.split("-")[0],(0,n.J)(c,"source.tid",t?.ortb2?.source?.tid),-1!==window.location.href.indexOf("pubmaticTest=true")&&(c.test=1),e[0].schain&&(0,n.J)(c,"source.ext.schain",e[0].schain),t&&t.gdprConsent&&((0,n.J)(c,"user.ext.consent",t.gdprConsent.consentString),(0,n.J)(c,"regs.ext.gdpr",t.gdprConsent.gdprApplies?1:0)),t&&t.uspConsent&&(0,n.J)(c,"regs.ext.us_privacy",t.uspConsent),t?.gppConsent?.gppString?((0,n.J)(c,"regs.gpp",t.gppConsent.gppString),(0,n.J)(c,"regs.gpp_sid",t.gppConsent.applicableSections)):t?.ortb2?.regs?.gpp&&((0,n.J)(c,"regs.gpp",t.ortb2.regs.gpp),(0,n.J)(c,"regs.gpp_sid",t.ortb2.regs.gpp_sid)),!0===p.$W.getConfig("coppa")&&(0,n.J)(c,"regs.coppa",1),t?.ortb2?.regs?.ext?.dsa&&(0,n.J)(c,"regs.ext.dsa",t.ortb2.regs.ext.dsa),function(e,t){let r=(0,s.A)(t,"0.userIdAsEids");(0,i.cy)(r)&&r.length>0&&(0,n.J)(e,"user.eids",r)}(c,e);const E=t&&t.ortb2||{},{user:I,device:O,site:R,bcat:T,badv:J}=E;if(R){const{page:e,domain:t,ref:r}=c.site;(0,i.D9)(c,{site:R}),c.site.page=e,c.site.domain=t,c.site.ref=r}if(I&&(0,i.D9)(c,{user:I}),J&&(0,i.D9)(c,{badv:J}),T&&(b=b.concat(T)),O?.sua&&(c.device.sua=O?.sua),O?.ext?.cdep&&(0,n.J)(c,"device.ext.cdep",O.ext.cdep),I?.geo&&O?.geo?(c.device.geo={...c.device.geo,...O.geo},c.user.geo={...c.user.geo,...I.geo}):(I?.geo||O?.geo)&&(c.user.geo=c.device.geo=I?.geo?{...c.user.geo,...I.geo}:{...c.user.geo,...O.geo}),t?.ortb2?.device&&(0,i.D9)(c.device,t.ortb2.device),E.ext?.prebid?.bidderparams?.[t.bidderCode]?.acat){const e=E.ext.prebid.bidderparams[t.bidderCode].acat;D(c,e)}else y.length&&D(c,y);return function(e,t){(t=t.filter((function(e){return"string"==typeof e||((0,i.JE)(g+"bcat: Each category should be a string, ignoring category: "+e),!1)})).map((e=>e.trim())).filter((function(e,t,r){if(e.length>3)return r.indexOf(e)===t;(0,i.JE)(g+"bcat: Each category should have a value of a length of more than 3 characters, ignoring category: "+e)}))).length>0&&((0,i.JE)(g+"bcat: Selected: ",t),e.bcat=t)}(c,b),c.tmax=t?.timeout?t.timeout:window?.PWT?.versionDetails?.timeout,c.ext.epoch=(new Date).getTime(),"object"==typeof p.$W.getConfig("app")&&(c.app=p.$W.getConfig("app"),c.app.publisher=c.site.publisher,c.app.ext=c.site.ext||f,"object"!=typeof c.app.content&&(c.app.content=c.site.content||f),delete c.site),{method:"POST",url:"https://prebid.pubmatic.com/translator?source=prebid-client",data:JSON.stringify(c),bidderRequest:t}},interpretResponse:(e,t)=>{const r=[];var a=h;let n=JSON.parse(t.data),o=n.site&&n.site.ref?n.site.ref:"";try{e.body&&e.body.seatbid&&(0,i.cy)(e.body.seatbid)&&(a=e.body.cur||a,e.body.seatbid.forEach((e=>{e.bid&&(0,i.cy)(e.bid)&&e.bid.forEach((p=>{let c={requestId:p.impid,cpm:parseFloat((p.price||0).toFixed(2)),width:p.w,height:p.h,creativeId:p.crid||p.id,dealId:p.dealid,currency:a,netRevenue:true,ttl:360,referrer:o,ad:p.adm,pm_seat:e.seat||null,pm_dspid:p.ext&&p.ext.dspid?p.ext.dspid:null,partnerImpId:p.id||""};n.imp&&n.imp.length>0&&n.imp.forEach((e=>{if(p.impid===e.id)switch(function(e,t){if(e.ext&&null!=e.ext.bidtype)t.mediaType=T[e.ext.bidtype];else{(0,i.fH)(g+"bid.ext.bidtype does not exist, checking alternatively for mediaType");var r=e.adm,a="",s=new RegExp(/VAST\s+version/);if(r.indexOf('span class="PubAPIAd"')>=0)t.mediaType=d.D4;else if(s.test(r))t.mediaType=d.G_;else try{(a=JSON.parse(r.replace(/\\/g,"")))&&a.native&&(t.mediaType=d.s6)}catch(e){(0,i.JE)(g+"Error: Cannot parse native reponse for ad response: "+r)}}}(p,c),function(e,t){let r=J[t?.mediaType]||360;t.ttl=e.exp||r}(p,c),c.mediaType){case d.D4:break;case d.G_:c.width=p.hasOwnProperty("w")?p.w:e.video.w,c.height=p.hasOwnProperty("h")?p.h:e.video.h,c.vastXml=p.adm,function(e,t){let r,a,i;if(t.bidderRequest&&t.bidderRequest.bids){for(let s=0;s<t.bidderRequest.bids.length;s++)t.bidderRequest.bids[s].bidId===e.requestId&&(r=t.bidderRequest.bids[s].params,a=t.bidderRequest.bids[s].mediaTypes[d.G_].context,i=t.bidderRequest.bids[s].adUnitCode);a&&"outstream"===a&&r&&r.outstreamAU&&i&&(e.rendererCode=r.outstreamAU,e.renderer=R.newRenderer(e.rendererCode,i))}}(c,t),function(e,t,r){if(!t?.ext?.prebiddealpriority)return;const a=(0,i.D4)(e.requestId,[r.bidderRequest]),n=(0,s.A)(a,"mediaTypes.video");if(n?.context!=d.LM)return;const o=t?.ext?.video?.duration||n?.maxduration;e.video={context:d.LM,durationSeconds:o,dealTier:t.ext.prebiddealpriority}}(c,p,t);break;case d.s6:!function(e,t){if(e.hasOwnProperty("adm")){var r="";try{r=JSON.parse(e.adm.replace(/\\/g,""))}catch(e){return void(0,i.JE)(g+"Error: Cannot parse native reponse for ad response: "+t.adm)}t.native={ortb:{...r.native}},t.mediaType=d.s6,t.width||(t.width=0),t.height||(t.height=0)}}(p,c)}})),function(e,t,r){e.meta=e.meta||{},t.ext&&t.ext.dspid&&(e.meta.networkId=t.ext.dspid,e.meta.demandSource=t.ext.dspid),t.ext&&t.ext.dchain&&(e.meta.dchain=t.ext.dchain);const a=r||t.ext&&t.ext.advid;a&&(e.meta.advertiserId=a,e.meta.agencyId=a,e.meta.buyerId=a),t.adomain&&G(t.adomain)&&(e.meta.advertiserDomains=t.adomain,e.meta.clickUrl=t.adomain[0],e.meta.brandId=t.adomain[0]),t.cat&&G(t.cat)&&(e.meta.secondaryCatIds=t.cat,e.meta.primaryCatId=t.cat[0]),t.ext&&t.ext.dsa&&Object.keys(t.ext.dsa).length&&(e.meta.dsa=t.ext.dsa),e.mediaType&&(e.meta.mediaType=e.mediaType)}(c,p,e.seat),function(e,t){e?.ext?.ibv&&(t.ext=t.ext||{},t.ext.ibv=e.ext.ibv,t.meta=t.meta||{},t.meta.mediaType=d.G_)}(p,c),p.ext&&p.ext.deal_channel&&(c.dealChannel=O[p.ext.deal_channel]||null),e.ext&&e.ext.buyid&&(c.adserverTargeting={hb_buyid_pubmatic:e.ext.buyid}),p.ext&&p.ext.marketplace&&(c.bidderCode=p.ext.marketplace),r.push(c)}))})));let p=(0,s.A)(e.body,"ext.fledge_auction_configs");if(p)return p=Object.entries(p).map((e=>{let[t,r]=e;return{bidId:t,config:Object.assign({auctionSignals:{}},r)}})),{bids:r,paapi:p}}catch(e){(0,i.vV)(e)}return r},getUserSyncs:(e,t,r,a,i)=>{let s=""+_;return r&&(s+="&gdpr="+(r.gdprApplies?1:0),s+="&gdpr_consent="+encodeURIComponent(r.consentString||"")),a&&(s+="&us_privacy="+encodeURIComponent(a)),i?.gppString&&i?.applicableSections?.length&&(s+="&gpp="+encodeURIComponent(i.gppString),s+="&gpp_sid="+encodeURIComponent(i?.applicableSections?.join(","))),!0===p.$W.getConfig("coppa")&&(s+="&coppa=1"),e.iframeEnabled?[{type:"iframe",url:"https://ads.pubmatic.com/AdServer/js/user_sync.html?kdntuid=1&p="+s}]:[{type:"image",url:"https://image8.pubmatic.com/AdServer/ImgSync?p="+s}]}};(0,o.a$)(F),(0,a.E)("pubmaticBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return t=3990,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2445],{8867:(e,t,n)=>{var r=n(7873),o=n(9214),a=n(2938),s=n(1069),i=n(6916),d=n(5569);const p="__qca",c="11",u=["1","10"],l=["1"],g=["1"],f=i.mW.getConsentData(),v=i.t6.getConsentData(),m="quantcastId",I=(0,a.vM)({moduleType:d.fW,moduleName:m});function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:392;if(!window._qevents&&e&&""!=e){var n,r,o=I.getCookie(p),a="0",i=y.findRootDomain(),d=new Date,c="";if(!o){var u=d.getTime(),l=new Date(u+864e5*t).toGMTString();o=`B0-${Math.round(2147483647*Math.random())}-${u}`,a="1",I.setCookie(p,o,l,"/",i,null)}n=`&fpan=${a}&fpa=${o}`,r="&gdpr=0",f&&"boolean"==typeof f.gdprApplies&&f.gdprApplies&&(r=`gdpr=1&gdpr_consent=${f.consentString}`),v&&"string"==typeof v&&(c=`&us_privacy=${v}`);let g="https://pixel.quantserve.com/pixel?d="+i+"&client_id="+e+"&a=p-KceJUEvXN48CE"+c+r+n;(0,s.z$)(g)}}function C(e){return!e||"boolean"!=typeof e.gdprApplies||!e.gdprApplies||!!e.vendorData&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;var n=e.gdprApplies,r=e.purpose,o=e.vendor,a=o&&o.consents&&o.consents[c],s=o&&o.legitimateInterests&&o.legitimateInterests[c],i=e.publisher?e.publisher.restrictions:{};if(!n)return!0;return t.map((function(e){var t=!!r.consents&&r.consents[e],n=!!r.legitimateInterests&&r.legitimateInterests[e],o=i&&i[e]?i[e][c]:null;return 0!==o&&(!(!a||!t||2===o||-1==l.indexOf(e)&&1!==o)||!(1===o||!s||!n||-1!=g.indexOf(e)||-1!=l.indexOf(e)&&2!==o))})).reduce((function(e,t){return e&&t}),!0)}(e.vendorData)}const y={name:m,gvlid:c,decode:e=>e,getId(e){let t=I.getCookie(p);if(i.et.getCoppa()||(o=v)&&"string"==typeof o&&4==o.length&&"Y"==o.charAt(1)&&"Y"==o.charAt(2)||!C(f)){var n=new Date(0).toUTCString(),r=y.findRootDomain();return(0,s.fH)("QuantcastId: Necessary consent not present for Id, exiting QuantcastId"),void I.setCookie(p,"",n,"/",r,null)}var o;const a=e&&e.params||{},d=e&&e.storage||{};var c=a.clientId||"",u=d.expires||392;return"complete"===document.readyState?h(c,u):window.addEventListener("load",(function(){h(c,u)})),{id:t?{quantcastId:t}:void 0}},eids:{quantcastId:{source:"quantcast.com",atype:1}}};(0,o.bz)("userId",y),(0,r.E)("quantcastIdSystem")}},e=>{e.O(0,[802,1085],(()=>{return t=8867,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1581],{1077:(e,r,n)=>{var i=n(7873),t=n(433),a=n(1069),d=n(7377),o=n(3272),s=n(1371),p=n(5789),l=n(9495);let c="";const u={code:"richaudience",gvlid:108,aliases:[{code:"ra",gvlid:108}],supportedMediaTypes:[s.D4,s.G_],isBidRequestValid:function(e){return!!(e.params&&e.params.pid&&e.params.supplyType)},buildRequests:function(e,r){return e.map((e=>{var n={bidfloor:S(e,o.$W),ifa:e.params.ifa,pid:e.params.pid,supplyType:e.params.supplyType,currencyCode:(0,l.b)(r),auctionId:e.auctionId,bidId:e.bidId,BidRequestsCount:e.bidRequestsCount,bidder:e.bidder,bidderRequestId:e.bidderRequestId,tagId:e.adUnitCode,sizes:m(e),referer:void 0!==r.refererInfo.page?encodeURIComponent(r.refererInfo.page):null,numIframes:void 0!==r.refererInfo.numIframes?r.refererInfo.numIframes:null,transactionId:e.ortb2Imp?.ext?.tid,timeout:r.timeout||600,user:y(e),demand:f(e),videoData:g(e),scr_rsl:v(),cpuc:void 0!==window.navigator?window.navigator.hardwareConcurrency:null,kws:e.params.keywords,schain:e.schain,gpid:I(e),dsa:C(e),userData:(0,t.A)(e,"ortb2.user.data")};c=void 0!==r.refererInfo.page?encodeURIComponent(r.refererInfo.page):null,n.gdpr_consent="",n.gdpr=!1,r&&r.gdprConsent&&(void 0!==r.gdprConsent.gdprApplies&&(n.gdpr=r.gdprConsent.gdprApplies),void 0!==r.gdprConsent.consentString&&(n.gdpr_consent=r.gdprConsent.consentString)),r?.gppConsent?n.privacy={gpp:r.gppConsent.gppString,gpp_sid:r.gppConsent.applicableSections}:r?.ortb2?.regs?.gpp&&(n.privacy={gpp:r.ortb2.regs.gpp,gpp_sid:r.ortb2.regs.gpp_sid});return{method:"POST",url:"https://shb.richaudience.com/hb/",data:JSON.stringify(n)}}))},interpretResponse:function(e,r){const n=[];var i=e.body;if(i){var t={requestId:JSON.parse(r.data).bidId,cpm:i.cpm,width:i.width,height:i.height,creativeId:i.creative_id,mediaType:i.media_type,netRevenue:i.netRevenue,currency:i.currency,ttl:i.ttl,meta:{advertiserDomains:[i.adomain[0]]},dealId:i.dealId};if("video"===i.media_type){t.vastXml=i.vastXML;try{null!=t.vastXml&&("outstream"!=JSON.parse(r.data).videoData.format&&"banner"!=JSON.parse(r.data).videoData.format||(t.renderer=p.A4.install({id:r.bidId,adunitcode:r.tagId,loaded:!1,config:i.media_type,url:"https://cdn3.richaudience.com/prebidVideo/player.js"})),t.renderer.setRender(b))}catch(e){t.ad=i.adm}}else t.ad=i.adm;n.push(t)}return n},getUserSyncs:function(e,r,n,i,t){const a=[];var d,s=Math.floor(9999999999*Math.random()),p="",l="",u="";return d=function(e){try{let r=null,n={};return null!=e.getConfig("userSync").filterSettings&&void 0!==e.getConfig("userSync").filterSettings&&(r=e.getConfig("userSync").filterSettings,null!=r.iframe&&void 0!==r.iframe&&(n.raiIframe="richaudience"==r.iframe.bidders||"*"==r.iframe.bidders?r.iframe.filter:"exclude"),null!=r.image&&void 0!==r.image&&(n.raiImage="richaudience"==r.image.bidders||"*"==r.image.bidders?r.image.filter:"exclude")),n}catch(e){return null}}(o.$W),n&&"string"==typeof n.consentString&&void 0!==n.consentString&&(l=`consentString=${n.consentString}`),t?.gppString&&t?.applicableSections?.length&&(u="gpp="+encodeURIComponent(t.gppString),u+="&gpp_sid="+encodeURIComponent(t?.applicableSections?.join(","))),e.iframeEnabled&&"exclude"!=d.raiIframe&&(p="https://sync.richaudience.com/dcf3528a0b8aa83634892d50e91c306e/?ord="+s,""!=l&&(p+=`&${l}`),""!=u&&(p+=`&${u}`),a.push({type:"iframe",url:p})),e.pixelEnabled&&null!=c&&0==a.length&&"exclude"!=d.raiImage&&(p=`https://sync.richaudience.com/bf7c142f4339da0278e83698a02b0854/?referrer=${c}`,""!=l&&(p+=`&${l}`),""!=u&&(p+=`&${u}`),a.push({type:"image",url:p})),a},onTimeout:function(e){let r=function(e){let{params:r,timeout:n}=e[0],i="https://s.richaudience.com/err/?ec=6&ev=[timeout_publisher]&pla=[placement_hash]&int=PREBID&pltfm=&node=&dm=[domain]";i=i.replace("[timeout_publisher]",n),i=i.replace("[placement_hash]",r[0].pid),null!=document.location.host&&(i=i.replace("[domain]",document.location.host));return i}(e);r&&(0,a.z$)(r)}};function m(e){let r;if(e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes&&(r=e.mediaTypes.banner.sizes),null!=r)return r.map((e=>({w:e[0],h:e[1]})))}function f(e){let r="display";return void 0!==e.sizes&&e.sizes.forEach((function(e){("1800"==e[0]&&"1000"==e[1]||"1"==e[0]&&"1"==e[1])&&(r="skin")})),null!=e.mediaTypes&&null!=e.mediaTypes.video&&(r="video"),r}function g(e){let r;return r="video"==f(e)?{format:e.mediaTypes.video.context,playerSize:e.mediaTypes.video.playerSize,mimes:e.mediaTypes.video.mimes}:{format:"banner"},r}function y(e){let r=[];return e&&e.userId&&(h(e,r,"id5-sync.com",(0,t.A)(e,"userId.id5id.uid")),h(e,r,"pubcommon",(0,t.A)(e,"userId.pubcid")),h(e,r,"criteo.com",(0,t.A)(e,"userId.criteoId")),h(e,r,"liveramp.com",(0,t.A)(e,"userId.idl_env")),h(e,r,"liveintent.com",(0,t.A)(e,"userId.lipb.lipbid")),h(e,r,"adserver.org",(0,t.A)(e,"userId.tdid"))),r}function h(e,r,n,i){(0,a.O8)(i)&&r.push({userId:i,source:n})}function b(e){e.renderer.push((()=>{!function(e){let r=`${e.vastXml}`,n={config:null!=e.params[0].player?{end:null!=e.params[0].player.end?e.params[0].player.end:"close",init:null!=e.params[0].player.init?e.params[0].player.init:"close",skin:null!=e.params[0].player.skin?e.params[0].player.skin:"light"}:{end:"close",init:"close",skin:"light"},pid:e.params[0].pid,adUnit:e.adUnitCode};window.raParams(n,r,!0)}(e)}))}function v(){let e="";return void 0!==window.screen&&(e=window.screen.width+"x"+window.screen.height),e}function I(e){let r="";return null!=(0,t.A)(e,"ortb2Imp.ext.data.pbadslot")&&(r=(0,t.A)(e,"ortb2Imp.ext.data.pbadslot")),r}function S(e,r){try{let n;if(null!=e.params.bidfloor)n=e.params.bidfloor;else if("function"==typeof e.getFloor){n=e.getFloor({currency:null!=r.getConfig("floors.data.currency")?r.getConfig("floors.data.currency"):"USD",mediaType:"object"==typeof e.mediaTypes.banner?"banner":"video",size:"*"}).floor}return n}catch(e){return 0}}function C(e){return e?.ortb2?.regs?.ext?.dsa?e?.ortb2?.regs?.ext?.dsa:null}(0,d.a$)(u),(0,i.E)("richaudienceBidAdapter")}},e=>{e.O(0,[9147,802,1085],(()=>{return r=1077,e(e.s=r);var r}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[3206],{6848:(e,r,s)=>{var a=s(7873),n=s(1069),t=s(433),o=s(7377),i=s(1371),u=s(7668);const d=[i.D4,i.G_],p={PRODUCTION:"hb-multi",TEST:"hb-multi-test"},l={code:"rise",aliases:[{code:"risexchange",gvlid:1043},{code:"openwebxchange",gvlid:280}],gvlid:1043,version:"6.0.0",supportedMediaTypes:d,isBidRequestValid:function(e){return e.params?!!e.params.org||((0,n.JE)("org is a mandatory param for Rise adapter"),!1):((0,n.JE)("no params have been set to Rise adapter"),!1)},buildRequests:function(e,r){const s={},a=e[0],n=a.params.testMode,t=a.params.rtbDomain||"https://hb.yellowblue.io/";return s.params=(0,u.q0)(a,r),s.bids=(0,u.c5)(e,r),{method:"POST",url:(0,u.yP)(n,t,p),data:s}},interpretResponse:function(e){let{body:r}=e;const s=[];return r.bids&&r.bids.forEach((e=>{const r=(0,u.VU)(e,"USD",360,i.G_,i.D4);s.push(r)})),s},getUserSyncs:function(e,r){const s=[];for(const a of r)if(e.iframeEnabled&&(0,t.A)(a,"body.params.userSyncURL")&&s.push({type:"iframe",url:(0,t.A)(a,"body.params.userSyncURL")}),e.pixelEnabled&&(0,n.cy)((0,t.A)(a,"body.params.userSyncPixels"))){const e=a.body.params.userSyncPixels.map((e=>({type:"image",url:e})));s.push(...e)}return s},onBidWon:function(e){null!=e&&((0,n.fH)("onBidWon:",e),e.hasOwnProperty("nurl")&&e.nurl.length>0&&(0,n.z$)(e.nurl))}};(0,o.a$)(l),(0,a.E)("riseBidAdapter")}},e=>{e.O(0,[2183,802,1085],(()=>{return r=6848,e(e.s=r);var r}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[7517],{8233:(e,t,i)=>{var r=i(7873),n=i(1069),s=i(433),a=i(5820),d=i(1371),o=i(7377),c=i(5901),p=i(2449),u=i(3272),l=i(9192);const m=["prebid-eu","prebid-us","prebid-asia"],g="https://fledge-ssp.creativecdn.com",f="https://fledge-ssp.creativecdn.com/component-seller-prebid.js",b=["USD"],h=[d.D4,d.s6],y=[{name:"dsarequired",min:0,max:3},{name:"pubrender",min:0,max:2},{name:"datatopub",min:0,max:2}],T={code:"rtbhouse",supportedMediaTypes:h,gvlid:16,isBidRequestValid:function(e){return!(!(0,c.mK)(m,e.params.region)||!e.params.publisherId)},buildRequests:function(e,t){e=(0,p.Xj)(e);const i={id:t.bidderRequestId,imp:e.map((e=>function(e,t){const i={id:e.bidId,banner:x(e),native:I(e),tagid:e.adUnitCode.toString()},r=function(e){const t=[];"function"==typeof e.getFloor&&Object.keys(e.mediaTypes).forEach((i=>{(0,c.mK)(h,i)&&t.push(e.getFloor({currency:b[0],mediaType:i,size:e.sizes||"*"})?.floor)}));return t.length>0?Math.max(...t):parseFloat(e.params.bidfloor)}(e);r&&(i.bidfloor=r);t.paapi?.enabled?(i.ext=i.ext||{},i.ext.ae=e?.ortb2Imp?.ext?.ae):i.ext?.ae&&delete i.ext.ae;const n=(0,s.A)(e,"ortb2Imp.ext.tid");n&&(i.ext=i.ext||{},i.ext.tid=n);return i}(e,t))),site:A(e,t),cur:b,test:e[0].params.test||0,source:E(e[0],t)};if(t&&t.gdprConsent&&t.gdprConsent.gdprApplies){const e=t.gdprConsent.consentString?t.gdprConsent.consentString.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,""):"",r=t.gdprConsent.gdprApplies?1:0;i.regs={ext:{gdpr:r}},i.user={ext:{consent:e}}}if(e[0].schain){const t=function(e){if(!e)return null;if(!function(e){if(!e.nodes)return!1;const t=["asi","sid","hp"];return e.nodes.every((e=>t.every((t=>e[t]))))}(e))return(0,n.vV)("RTB House: required schain params missing"),null;return e}(e[0].schain);t&&(i.ext={schain:t})}if(e[0].userIdAsEids){const t={eids:e[0].userIdAsEids};i.user&&i.user.ext?i.user.ext={...i.user.ext,...t}:i.user={ext:t}}const r=t?.ortb2||{};["site","user","device","bcat","badv"].forEach((e=>{const t=r[e];t&&(0,n.D9)(i,{[e]:t})}));const a=(0,s.A)(r,"regs.ext.dsa");(function(e){return!((0,n.Im)(e)||!(0,n.Qd)(e))&&(y.reduce(((t,i)=>{const r=e[i.name];return t&&(!e.hasOwnProperty(i.name)||(0,n.Et)(r)&&r>=i.min&&r<=i.max)}),!0)&&(!e.hasOwnProperty("transparency")||(0,n.cy)(e.transparency)&&e.transparency.every((e=>(0,n.Qd)(e)&&(0,n.O8)(e.domain)&&e.domain&&(0,n.cy)(e.dsaparams)&&e.dsaparams.every((e=>(0,n.Et)(e)))))))})(a)&&(0,n.D9)(i,{regs:{ext:{dsa:a}}});let d="creativecdn.com/bidder/prebid/bids";if(t.paapi?.enabled){const e=u.$W.getConfig("paapiConfig")||u.$W.getConfig("fledgeConfig")||{sellerTimeout:500},t={seller:g,decisionLogicUrl:f,...e};(0,n.D9)(i,{ext:{fledge_config:t}}),d="creativecdn.com/bidder/prebidfledge/bids"}return{method:"POST",url:"https://"+e[0].params.region+"."+d,data:JSON.stringify(i)}},interpretOrtbResponse:function(e,t){const i=e.body;if(!(0,n.cy)(i))return[];const r=[];return i.forEach((e=>{if(!e.price)return;let t;t=0===e.adm.indexOf("{")?(0,l.Qz)(e):function(e){return{requestId:e.impid,mediaType:d.D4,cpm:e.price,creativeId:e.adid,ad:e.adm,width:e.w,height:e.h,ttl:55,meta:{advertiserDomains:e.adomain},netRevenue:!0,currency:"USD"}}(e),e.ext&&(t.ext=(0,n.Go)(e.ext),e.ext.dsa&&(t.meta=Object.assign({},t.meta,{dsa:e.ext.dsa}))),r.push(t)})),r},interpretResponse:function(e,t){let i;const r=e.body;let s=null;if(r.bidid&&(0,n.cy)(r?.ext?.igbid)){i=this.interpretOrtbResponse({body:r.seatbid[0]?.bid},t);const e=u.$W.getConfig("paapiConfig")||u.$W.getConfig("fledgeConfig")||{},a=e.interestGroupBuyers||[],{decisionLogicUrl:d=e.decisionLogicUrl||e.decisionLogicURL||f,seller:o=e.seller||g,sellerTimeout:c=500}=r.ext,p={seller:o,decisionLogicUrl:d,decisionLogicURL:d,sellerTimeout:c};(0,n.D9)(p,e,p),r.ext.igbid.forEach((e=>{const t={...p.perBuyerSignals};e.igbuyer.forEach((e=>{t[e.igdomain]=e.buyersignal})),s=s||{},s[e.impid]=(0,n.D9)({},p,{interestGroupBuyers:[...new Set([...a,...Object.keys(t)])],perBuyerSignals:t})}))}else i=this.interpretOrtbResponse(e,t);return s?(s=Object.entries(s).map((e=>{let[t,i]=e;return{bidId:t,config:Object.assign({auctionSignals:{}},i)}})),(0,n.fH)("Response with FLEDGE:",{bids:i,fledgeAuctionConfigs:s}),{bids:i,paapi:s}):i}};function x(e){if("banner"===e.mediaType||(0,s.A)(e,"mediaTypes.banner")||!e.mediaType&&!e.mediaTypes){var t=e.sizes||e.mediaTypes.banner.sizes;return{w:t[0][0],h:t[0][1],format:t.map((e=>({w:e[0],h:e[1]})))}}}function A(e,t){let i="unknown",r=null;e&&e.length>0&&(i=e[0].params.publisherId,r=e[0].params.channel&&e[0].params.channel.toString().slice(0,50));let n={publisher:{id:i.toString()},page:t.refererInfo.page,name:(0,a.$)()};return r&&(n.channel=r),n}function E(e,t){return{tid:t?.auctionId||""}}function I(e){if("native"===e.mediaType||(0,s.A)(e,"mediaTypes.native"))return{request:{assets:S(e)},ver:"1.1"}}function S(e){const t=e.nativeParams||(0,s.A)(e,"mediaTypes.native"),i=[];return t.title&&i.push({id:l.xv.NATIVE.ASSET_ID.TITLE,required:t.title.required?1:0,title:{len:t.title.len||25}}),t.image&&i.push({id:l.xv.NATIVE.ASSET_ID.IMAGE,required:t.image.required?1:0,img:v(t.image,l.xv.NATIVE.IMAGE_TYPE.MAIN)}),t.icon&&i.push({id:l.xv.NATIVE.ASSET_ID.ICON,required:t.icon.required?1:0,img:v(t.icon,l.xv.NATIVE.IMAGE_TYPE.ICON)}),t.sponsoredBy&&i.push({id:l.xv.NATIVE.ASSET_ID.SPONSORED,required:t.sponsoredBy.required?1:0,data:{type:l.xv.NATIVE.DATA_ASSET_TYPE.SPONSORED,len:t.sponsoredBy.len}}),t.body&&i.push({id:l.xv.NATIVE.ASSET_ID.BODY,required:t.body.request?1:0,data:{type:l.xv.NATIVE.DATA_ASSET_TYPE.DESC,len:t.body.len}}),t.cta&&i.push({id:l.xv.NATIVE.ASSET_ID.CTA,required:t.cta.required?1:0,data:{type:l.xv.NATIVE.DATA_ASSET_TYPE.CTA_TEXT,len:t.cta.len}}),i}function v(e,t){const i={type:t};if(e.aspect_ratios){const t=e.aspect_ratios[0],r=t.min_width||100;i.wmin=r,i.hmin=r/t.ratio_width*t.ratio_height}if(e.sizes){const t=Array.isArray(e.sizes[0])?e.sizes[0]:e.sizes;i.w=t[0],i.h=t[1]}return i}(0,o.a$)(T),(0,r.E)("rtbhouseBidAdapter")}},e=>{e.O(0,[2931,107,802,1085],(()=>{return t=8233,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1079],{5330:(t,e,n)=>{var o=n(7873),i=n(3272),a=n(9214),r=n(1069),s=n(5023),c=n(8969),u=n(1445),f=n(6916),l=n(5901),g=n(6894),d=n(5569),D=n(3937);const h=(0,n(2604).ZI)((t=>u.Ay.resolveAlias(t)));let p,E,m=[],T=[],y=[];const R=function(){let t=!1;return function(){t||(Object.entries({[c.qY.AUCTION_INIT]:["onAuctionInitEvent"],[c.qY.AUCTION_END]:["onAuctionEndEvent",b],[c.qY.BID_RESPONSE]:["onBidResponseEvent"],[c.qY.BID_REQUESTED]:["onBidRequestEvent"],[c.qY.BID_ACCEPTED]:["onBidAcceptedEvent"]}).forEach((t=>{let[e,[n,o]]=t;s.on(e,(t=>{o&&o(t),T.forEach((e=>{try{e[n]&&e[n](t,e.config,E)}catch(t){(0,r.vV)(`RTD provider '${e.name}': error in '${n}':`,t)}}))}))})),t=!0)}}();function v(){return{gdpr:f.mW.getConsentData(),usp:f.t6.getConsentData(),gpp:f.ad.getConsentData(),coppa:!!i.$W.getConfig("coppa")}}function A(){E=v();let t=[];y.forEach((e=>{const n=(0,l.I6)(m,(t=>t.name===e.name));n&&n.init&&n.init(e,E)&&t.push(Object.assign(n,{config:e}))})),T=t,(0,r.fH)(`Real time data module enabled, using submodules: ${T.map((t=>t.name)).join(", ")}`)}const I=(0,g.Ak)("rtd",(function(t,e){E=v();const n=[],o=[];T.forEach((t=>{if("function"!=typeof t.getBidRequestData)return;n.push(t);const e=t.config;e&&e.waitForIt&&o.push(t)}));const i=o.length&&p.auctionDelay&&p.auctionDelay>0;let a,r=o.length,s=!1;const c=[];if(!n.length)return f();function u(){s||(this.config&&this.config.waitForIt&&r--,0===r&&setTimeout(f,0))}function f(){s||(s=!0,clearTimeout(a),c.forEach((t=>t())),t.call(this,e))}a=setTimeout(f,i?p.auctionDelay:0),n.forEach((t=>{const n=(0,D.Qo)(e.ortb2Fragments||{},h(d.zu,t.name));c.push(n.verify),e.ortb2Fragments=n.obj,t.getBidRequestData(e,u.bind(t),t.config,E)}))}));function b(t){const e=T.filter((t=>"function"==typeof t.getTargetingData));if(!e.length)return;const n=t.adUnitCodes;if(!n)return;let o=[];for(let i=e.length-1;i>=0;i--){const a=e[i].getTargetingData(n,e[i].config,E,t);a&&"object"==typeof a?o.push(a):(0,r.JE)("invalid getTargetingData response for sub module",e[i].name)}const i=function(t){if(!Array.isArray(t)||!t.length)return{};return t.reduce(((t,e)=>{for(let n in e)if(e.hasOwnProperty(n))if(t.hasOwnProperty(n)){const o=e[n];for(let e in o)o.hasOwnProperty(e)&&(t[n][e]=o[e])}else t[n]=e[n];return t}),{})}(o);return t.adUnits.forEach((t=>{const e=t.code&&i[t.code];e&&((0,r.fH)("RTD set ad unit targeting of",e,"for",t),t[c.iD.ADSERVER_TARGETING]=Object.assign(t[c.iD.ADSERVER_TARGETING]||{},e))})),t.adUnits}function q(t){T.forEach((t=>{if("function"==typeof t.onDataDeletionRequest)try{t.onDataDeletionRequest(t.config)}catch(e){(0,r.vV)(`Error executing ${t.name}.onDataDeletionRequest`,e)}}));for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];t.apply(this,n)}(0,a.xG)("realTimeData",(function(t){return m.push(t),f.o2.register(d.zu,t.name,t.gvlid),function(){const e=m.indexOf(t);e>=0&&(m.splice(e,1),A())}})),function(t){const e=t.getConfig("realTimeData",(t=>{let{realTimeData:n}=t;n.dataProviders?(e(),p=n,y=n.dataProviders,R(),(0,a.Yn)("startAuction").before(I,20),u.Ay.callDataDeletionRequest.before(q),A()):(0,r.vV)("missing parameters for real time module")}))}(i.$W),(0,o.E)("rtdModule")}},t=>{t.O(0,[5881,802,1085],(()=>{return e=5330,t(t.s=e);var e}));t.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2711],{1674:(e,t,r)=>{var i=r(7873),n=r(9766),o=r(4610),s=r(7377),a=r(3272),d=r(1371),c=r(5789),p=r(1069),u=r(3172),l=r(433),m=r(8656),b=r(8702);const x="https://video-outstream.rubiconproject.com/apex-2.2.1.js";let f=a.$W.getConfig("rubicon")||{};a.$W.getConfig("rubicon",(e=>{(0,p.D9)(f,e.rubicon)}));let g={};var y={1:"468x60",2:"728x90",5:"120x90",7:"125x125",8:"120x600",9:"160x600",10:"300x600",13:"200x200",14:"250x250",15:"300x250",16:"336x280",17:"240x400",19:"300x100",31:"980x120",32:"250x360",33:"180x500",35:"980x150",37:"468x400",38:"930x180",39:"750x100",40:"750x200",41:"750x300",42:"2x4",43:"320x50",44:"300x50",48:"300x300",53:"1024x768",54:"300x1050",55:"970x90",57:"970x250",58:"1000x90",59:"320x80",60:"320x150",61:"1000x1000",64:"580x500",65:"640x480",66:"930x600",67:"320x480",68:"1800x1000",72:"320x320",73:"320x160",78:"980x240",79:"980x300",80:"980x400",83:"480x300",85:"300x120",90:"548x150",94:"970x310",95:"970x100",96:"970x210",101:"480x320",102:"768x1024",103:"480x280",105:"250x800",108:"320x240",113:"1000x300",117:"320x100",125:"800x250",126:"200x600",144:"980x600",145:"980x150",152:"1000x250",156:"640x320",159:"320x250",179:"250x600",195:"600x300",198:"640x360",199:"640x200",213:"1030x590",214:"980x360",221:"1x1",229:"320x180",230:"2000x1400",232:"580x400",234:"6x6",251:"2x2",256:"480x820",257:"400x600",258:"500x200",259:"998x200",261:"480x480",264:"970x1000",265:"1920x1080",274:"1800x200",278:"320x500",282:"320x400",288:"640x380",484:"720x1280",524:"1x2",548:"500x1000",550:"980x480",552:"300x200",558:"640x640",562:"300x431",564:"320x431",566:"320x300",568:"300x150",570:"300x125",572:"250x350",574:"620x891",576:"610x877",578:"980x552",580:"505x656",622:"192x160",632:"1200x450",634:"340x450",680:"970x570",682:"300x240",684:"970x550",686:"300x210",688:"300x220",690:"970x170"};(0,p.bu)(y,((e,t)=>y[e]=t));const h=(0,n.A)({request(e,t,r,n){const{bidRequests:o}=n,s=e(t,r,n);var d;s.cur=["USD"],s.test=a.$W.getConfig("debug")?1:0,(0,u.J)(s,"ext.prebid.cache",{vastxml:{returnCreative:!0===f.returnVast}}),(0,u.J)(s,"ext.prebid.bidders",{rubicon:{integration:f.int_type||"pbjs"}}),(0,u.J)(s,"ext.prebid.targeting.pricegranularity",{ranges:{low:[{max:5,increment:.5}],medium:[{max:20,increment:.1}],high:[{max:20,increment:.01}],auto:[{max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}],dense:[{max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}],custom:(d=a.$W).getConfig("customPriceBucket")&&d.getConfig("customPriceBucket").buckets}[d.getConfig("priceGranularity")]});let c=(0,i.m)().installedModules;!c||c.length&&-1===c.indexOf("rubiconAnalyticsAdapter")||(0,u.J)(s,"ext.prebid.analytics",{rubicon:{"client-analytics":!0}}),function(e,t,r){let i={};const n=(0,m.D)(r,...t.map((e=>e.params.keywords)));t.forEach((t=>{const r={user:{ext:{data:{...t.params.visitor}}},site:{ext:{data:{...t.params.inventory}}}},n=e.imp.find((e=>e.ext?.prebid?.bidder?.rubicon?.video?.language));n&&(r.site.content={language:n.ext?.prebid?.bidder?.rubicon?.video?.language}),i=(0,p.D9)(i,t.ortb2||{},r);const o=a.$W.getConfig("user.id");i.user.id=i.user.id||o})),(0,p.D9)(e,i),n&&n.length&&(0,u.J)(e,"site.keywords",n.join(","));delete e?.ext?.prebid?.storedrequest}(s,o,r.ortb2),delete s?.ext?.prebid?.storedrequest,!0===f.disableFloors&&delete s.ext.prebid.floors;return o.filter((e=>"object"==typeof e.floorData)).length>0&&(s.ext.prebid.floors={enabled:!1}),s},imp(e,t,r){const i=R(t);if(i.includes(d.D4)&&1==i.length)return;const n=e(t,r);return n.id=t.adUnitCode,delete n.banner,"atf"===t.params.position&&n.video&&(n.video.pos=1),"btf"===t.params.position&&n.video&&(n.video.pos=3),delete n.ext?.prebid?.storedrequest,!0===t.params.bidonmultiformat&&i.length>1&&(0,u.J)(n,"ext.prebid.bidder.rubicon.formats",i),function(e,t){"USD"!=t.bidfloorcur&&(delete t.bidfloor,delete t.bidfloorcur);if(!t.bidfloor){let r=parseFloat((0,l.A)(e,"params.floor"));isNaN(r)||(t.bidfloor=r,t.bidfloorcur="USD")}}(t,n),n.id=g[n.id]?n.id+g[n.id]++:(g[n.id]=2,n.id),n},bidResponse(e,t,r){const i=e(t,r);i.meta.mediaType=(0,l.A)(t,"ext.prebid.type");const{bidRequest:n}=r;let[o,s]="outstream"===n.mediaTypes.video?.context?j(n,d.G_):[void 0,void 0];return i.width=t.w||o||i.playerWidth||0,i.height=t.h||s||i.playerHeight||0,i.mediaType===d.G_&&"outstream"===n.mediaTypes.video.context&&(i.renderer=function(e){const t=c.A4.install({id:e.adId,url:f.rendererUrl||x,config:f.rendererConfig||{},loaded:!1,adUnitCode:e.adUnitCode});try{t.setRender(A)}catch(e){(0,p.JE)("Prebid Error calling setRender on renderer",e)}return t}(i)),(0,l.A)(t,"ext.bidder.rp.advid")&&(0,u.J)(i,"meta.advertiserId",t.ext.bidder.rp.advid),i},context:{netRevenue:!1!==f.netRevenue,ttl:360},processors:o.m}),_={code:"rubicon",gvlid:52,supportedMediaTypes:[d.D4,d.G_,d.s6],isBidRequestValid:function(e){let t=!0;if("object"!=typeof e.params)return!1;for(let t=0,r=["accountId","siteId","zoneId"];t<r.length;t++)if(e.params[r[t]]=parseInt(e.params[r[t]]),isNaN(e.params[r[t]]))return(0,p.vV)("Rubicon: wrong format of accountId or siteId or zoneId."),!1;let r=R(e,!0);if(!r.length)return!1;r.includes(d.G_)&&(t=function(e){let t=!0,r=Object.prototype.toString.call([]),i=Object.prototype.toString.call(0);var n={mimes:r,protocols:r,linearity:i};return Object.keys(n).forEach((function(r){Object.prototype.toString.call((0,l.A)(e,"mediaTypes.video."+r))!==n[r]&&(t=!1,(0,p.vV)("Rubicon: mediaTypes.video."+r+" is required and must be of type: "+n[r]))})),t}(e));const i=[d.D4,d.s6].filter((e=>r.includes(e))).length>0;return i?t&&i:t},buildRequests:function(e,t){let r,i=[],n=[];if(r=e.filter((e=>{const t=R(e)||[],{length:r}=t,{bidonmultiformat:i,video:n}=e.params||{};return 1===r&&(t.includes(d.G_)||t.includes(d.s6))||2===r&&!t.includes(d.D4)||n&&t.includes(d.G_)||i&&(t.includes(d.G_)||t.includes(d.s6))})),r&&r.length){const e=h.toORTB({bidRequests:r,bidderRequest:t});C(),n.push({method:"POST",url:`https://${f.videoHost||"prebid-server"}.rubiconproject.com/openrtb2/auction`,data:e,bidRequest:r})}const o=e.filter((e=>{const t=R(e)||[],{bidonmultiformat:r,video:i}=e.params||{};return t.includes(d.D4)&&(1===t.length||r||!r&&!i||!r&&i&&!t.includes(d.G_))}));if(!0!==f.singleRequest)i=n.concat(o.map((e=>{const r=_.createSlotParams(e,t);return{method:"GET",url:`https://${f.bannerHost||"fastlane"}.rubiconproject.com/a/api/fastlane.json`,data:_.getOrderedParams(r).reduce(((e,t)=>{const i=r[t];return(0,p.O8)(i)&&""!==i||(0,p.Et)(i)?`${e}${S(t,i)}&`:e}),"")+`slots=1&rand=${Math.random()}`,bidRequest:e}})));else{const e=o.reduce(((e,t)=>((e[t.params.siteId]=e[t.params.siteId]||[]).push(t),e)),{}),r=10;i=n.concat(Object.keys(e).reduce(((i,n)=>{var o,s;return(o=e[n],s=r,o.map(((e,t)=>t%s==0?o.slice(t,t+s):null)).filter((e=>e))).forEach((e=>{const r=_.combineSlotUrlParams(e.map((e=>_.createSlotParams(e,t))));i.push({method:"GET",url:`https://${f.bannerHost||"fastlane"}.rubiconproject.com/a/api/fastlane.json`,data:_.getOrderedParams(r).reduce(((e,t)=>{const i=r[t];return(0,p.O8)(i)&&""!==i||(0,p.Et)(i)?`${e}${S(t,i)}&`:e}),"")+`slots=${e.length}&rand=${Math.random()}`,bidRequest:e})})),i}),[]))}return i},getOrderedParams:function(e){const t=/^tg_v/,r=/^tg_i/,i=/^eid_|^tpid_/,n=["account_id","site_id","zone_id","size_id","alt_size_ids","p_pos","gdpr","gdpr_consent","us_privacy","gpp","gpp_sid","rp_schain"].concat(Object.keys(e).filter((e=>i.test(e)))).concat(["x_liverampidl","ppuid","rf","p_geo.latitude","p_geo.longitude","kw"]).concat(Object.keys(e).filter((e=>t.test(e)))).concat(Object.keys(e).filter((e=>r.test(e)))).concat(["tk_flint","x_source.tid","l_pb_bid_id","p_screen_res","o_ae","o_cdep","rp_floor","rp_secure","tk_user_key"]);return n.concat(Object.keys(e).filter((e=>-1===n.indexOf(e))))},combineSlotUrlParams:function(e){if(1===e.length)return e[0];const t=e.reduce((function(t,r,i){return Object.keys(r).forEach((function(n){t.hasOwnProperty(n)||(t[n]=new Array(e.length)),t[n].splice(i,1,r[n])})),t}),{}),r=new RegExp("^([^;]*)(;\\1)+$");return Object.keys(t).forEach((function(e){const i=t[e].join(";"),n=i.match(r);t[e]=n?n[1]:i})),t},createSlotParams:function(e,t){e.startTime=(new Date).getTime();const r=e.params,i=j(e,"banner"),[n,o]=r.latLong||[],s={account_id:r.accountId,site_id:r.siteId,zone_id:r.zoneId,size_id:i[0],alt_size_ids:i.slice(1).join(",")||void 0,rp_floor:(r.floor=parseFloat(r.floor))>=.01?r.floor:void 0,rp_secure:"1",tk_flint:`${f.int_type||"pbjs_lite"}_v9.23.0`,"x_source.tid":t.ortb2?.source?.tid,"x_imp.ext.tid":e.ortb2Imp?.ext?.tid,l_pb_bid_id:e.bidId,o_cdep:e.ortb2?.device?.ext?.cdep,ip:e.ortb2?.device?.ip,ipv6:e.ortb2?.device?.ipv6,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:r.userId,"p_geo.latitude":isNaN(parseFloat(n))?void 0:parseFloat(n).toFixed(4),"p_geo.longitude":isNaN(parseFloat(o))?void 0:parseFloat(o).toFixed(4),"tg_fl.eid":e.code,rf:v(e,t)};if("function"==typeof e.getFloor&&!f.disableFloors){let t;try{t=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){(0,p.vV)("Rubicon: getFloor threw an error: ",e)}s.rp_hard_floor=(0,p.Qd)(t)&&"USD"===t.currency&&!isNaN(parseInt(t.floor))?t.floor:void 0}!0===r.bidonmultiformat&&(0,l.A)(e,"mediaTypes")&&Object.keys(e.mediaTypes).length>1&&(s.p_formats=Object.keys(e.mediaTypes).join(","));(0,l.A)(e,"mediaTypes.banner.pos");s.p_pos="atf"===r.position||"btf"===r.position?r.position:"atf";const c=a.$W.getConfig("user.id");return c&&(s.ppuid=c),e?.ortb2Imp?.ext?.ae&&(s.o_ae=1),"number"==typeof e?.ortb2?.site?.mobile&&(s["p_site.mobile"]=e.ortb2.site.mobile),function(e,t){if(!1===f.readTopics)return;let r=[1,2,5,6,7,507].concat(f.sendSiteSegtax?.map((e=>Number(e)))||[]),i=[4,508].concat(f.sendUserSegtax?.map((e=>Number(e)))||[]),n=e.ortb2?.user?.data||[],o=e.ortb2?.site?.content?.data||[];n.forEach($(t,"v",i)),o.forEach($(t,"i",r))}(t,s),e?.ortb2?.user?.ext?.eids&&e.ortb2.user.ext.eids.forEach((e=>{let{source:t,uids:r=[],inserter:i,matcher:n,mm:o,ext:a={}}=e;try{const e=r[0];if(!e)return;const a=e=>[e.id,e.atype||"","",i||"",n||"",o||"",e?.ext?.rtipartner||""].join("^"),d=a(e);if(s[`eid_${t}`]=d,!s.ppuid){const e=r.find((e=>"ppuid"===e.ext?.stype));e?.id&&(s.ppuid=e.id)}}catch(e){(0,p.JE)("Rubicon: error reading eid:",{source:t,uids:r},e)}})),t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(s.gdpr=Number(t.gdprConsent.gdprApplies)),s.gdpr_consent=t.gdprConsent.consentString),t.uspConsent&&(s.us_privacy=encodeURIComponent(t.uspConsent)),t.gppConsent?.gppString&&(s.gpp=t.gppConsent.gppString,s.gpp_sid=t.gppConsent?.applicableSections?.toString()),s.rp_maxbids=t.bidLimit||1,function(e,t,r){const i={user:{ext:{data:{...e.params.visitor}}},site:{ext:{data:{...e.params.inventory}}}};e.params.keywords&&(i.site.keywords=(0,p.cy)(e.params.keywords)?e.params.keywords.join(","):e.params.keywords);let n=(0,p.D9)({},e.ortb2||{},i),o=(0,l.A)(e.ortb2Imp,"ext")||{},s=(0,l.A)(e.ortb2Imp,"ext.data")||{};const a=(0,l.A)(e,"ortb2Imp.ext.gpid"),c=(0,l.A)(n,"regs.ext.dsa"),u={user:[4],site:[1,2,5,6]},m={user:"tg_v.",site:"tg_i.",adserver:"tg_i.dfp_ad_unit_code",pbadslot:"tg_i.pbadslot",keywords:"kw"},b=function(e,t,r){return"data"===t&&Array.isArray(e)?e.filter((e=>e.segment&&(0,l.A)(e,"ext.segtax")&&u[r]&&-1!==u[r].indexOf((0,l.A)(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?Array.isArray(e)?e.filter((e=>{if("object"!=typeof e&&void 0!==e)return e.toString();(0,p.JE)("Rubicon: Filtered value: ",e,"for key",t,": Expected value to be string, integer, or an array of strings/ints")})).toString():e.toString():void 0},x=function(e,t,i){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=b(e,i,t),s=m[i]&&n?`${m[i]}`:"data"===i?`${m[t]}iab`:`${m[t]}${i}`;r[s]=r[s]?r[s].concat(",",o):o};if(t===d.D4){["site","user"].forEach((e=>{Object.keys(n[e]).forEach((t=>{"site"===e&&"content"===t&&n[e][t].data?x(n[e][t].data,e,"data"):"ext"!==t?x(n[e][t],e,t):n[e][t].data&&Object.keys(n[e].ext.data).forEach((t=>{x(n[e].ext.data[t],e,t,!1)}))}))})),Object.keys(s).forEach((e=>{"adserver"!==e?x(s[e],"site",e):"gam"===s[e].name&&x(s[e].adslot,name,e)})),a&&(r.p_gpid=a),c&&Object.keys(c).length&&(0,p.Up)(c,["dsainfo",e=>r.dsainfo=e,"dsarequired",e=>r.dsarequired=e,"pubrender",e=>r.dsapubrender=e,"datatopub",e=>r.dsadatatopubs=e,"transparency",e=>{Array.isArray(e)&&e.length&&(r.dsatransparency=e.reduce(((e,t)=>{const r=t.domain||"";if(!r)return e;const i=t.dsaparams||t.params;return Array.isArray(i)&&0!==i.length?(e&&(e+="~~"),e+`${r}~${i.join("_")}`):e}),""))}]),r["tg_i.pbadslot"]&&delete r["tg_i.dfp_ad_unit_code"];const e=(0,l.A)(n,"device.sua");e&&!1!==f.chEnabled&&(0,p.Up)(e,["architecture",e=>r.m_ch_arch=e,"bitness",e=>r.m_ch_bitness=e,"browsers",e=>{if(!Array.isArray(e))return;const[t,i]=e.reduce(((e,t)=>(e[0].push(`"${t?.brand}"|v="${t?.version?.[0]}"`),e[1].push(`"${t?.brand}"|v="${t?.version?.join?.(".")}"`),e)),[[],[]]);r.m_ch_ua=t?.join?.(","),r.m_ch_full_ver=i?.join?.(",")},"mobile",e=>r.m_ch_mobile=`?${e}`,"model",e=>r.m_ch_model=e,"platform",e=>{r.m_ch_platform=e?.brand,r.m_ch_platform_ver=e?.version?.join?.(".")}])}else Object.keys(o).length&&(0,p.D9)(r.imp[0].ext,o),a&&(r.imp[0].ext.gpid=a),(0,p.D9)(r,n)}(e,d.D4,s),!0===a.$W.getConfig("coppa")&&(s.coppa=1),e.schain&&O(e.schain)&&(s.rp_schain=_.serializeSupplyChain(e.schain)),s},serializeSupplyChain:function(e){if(!O(e))return"";const{ver:t,complete:r,nodes:i}=e;return`${t},${r}!${_.serializeSupplyChainNodes(i)}`},serializeSupplyChainNodes:function(e){const t=["asi","sid","hp","rid","name","domain"];return e.map((e=>t.map((t=>encodeURIComponent(e[t]||""))).join(","))).join("!")},interpretResponse:function(e,t){e=e.body;const{data:r}=t;if(!e||"object"!=typeof e)return[];if(e.seatbid){const t=(0,l.A)(e,"ext.errors.rubicon");Array.isArray(t)&&t.length>0&&(0,p.JE)("Rubicon: Error in video response");return h.fromORTB({request:r,response:e}).bids}let i,n=e.ads,o=0;const{bidRequest:s}=t;if("object"==typeof s&&!Array.isArray(s)&&R(s).includes(d.G_)&&"object"==typeof n&&(n=n[s.adUnitCode]),!Array.isArray(n)||n.length<1)return[];let a=n.reduce(((t,r,n)=>{if(r.impression_id&&i===r.impression_id?o++:i=r.impression_id,"ok"!==r.status)return t;const a=Array.isArray(s)?s[n-o]:s;if(a&&"object"==typeof a){let e={requestId:a.bidId,currency:"USD",creativeId:r.creative_id||`${r.network||""}-${r.advertiser||""}`,cpm:r.cpm||0,dealId:r.deal,ttl:360,netRevenue:!1!==f.netRevenue,rubicon:{advertiserId:r.advertiser,networkId:r.network},meta:{advertiserId:r.advertiser,networkId:r.network,mediaType:d.D4}};r.creative_type&&(e.mediaType=r.creative_type),r.dsa&&Object.keys(r.dsa).length&&(e.meta.dsa=r.dsa),r.adomain&&(e.meta.advertiserDomains=Array.isArray(r.adomain)?r.adomain:[r.adomain]),r.emulated_format&&(e.meta.mediaType=r.emulated_format),r.creative_type===d.G_?(e.width=a.params.video.playerWidth,e.height=a.params.video.playerHeight,e.vastUrl=r.creative_depot_url,e.impression_id=r.impression_id,e.videoCacheKey=r.impression_id):(e.ad=(c=r.script,`<html>\n<head><script type='text/javascript'>inDapIF=true;<\/script></head>\n<body style='margin : 0; padding: 0;'>\n\x3c!-- Rubicon Project Ad Tag --\x3e\n<div data-rp-impression-id='${r.impression_id}'>\n<script type='text/javascript'>${c}<\/script>\n</div>\n</body>\n</html>`),[e.width,e.height]=y[r.size_id].split("x").map((e=>Number(e)))),e.rubiconTargeting=(Array.isArray(r.targeting)?r.targeting:[]).reduce(((e,t)=>(e[t.key]=t.values[0],e)),{rpfl_elemid:a.adUnitCode}),t.push(e)}else(0,p.vV)(`Rubicon: bidRequest undefined at index position:${n}`,s,e);var c;return t}),[]).sort(((e,t)=>(t.cpm||0)-(e.cpm||0))),c=e.component_auction_config?.map((e=>({config:e,bidId:e.bidId})));return c?{bids:a,paapi:c}:a},getUserSyncs:function(e,t,r,i,n){if(!I&&e.iframeEnabled){let e=(0,b.d)(r,i,n);return e=Object.keys(e).length?`?${(0,p.eP)(e)}`:"",I=!0,{type:"iframe",url:`https://${f.syncHost||"eus"}.rubiconproject.com/usync.html`+e}}}};function v(e,t){let r;return r=e.params.referrer?e.params.referrer:t.refererInfo.page,e.params.secure?r.replace(/^http:/i,"https:"):r}function A(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']"),r=t&&t.nextSibling;r&&"iframe"===r.localName&&r.style.setProperty("display","none")}(t);const r={...{align:"center",position:"append",closeButton:!1,label:void 0,collapse:!0},...e.renderer.getConfig()};e.renderer.push((()=>{window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:`#${e.adUnitCode}`,align:r.align,position:r.position},closeButton:r.closeButton,label:r.label,collapse:r.collapse})}))}function j(e,t){let r=e.params;if(t===d.G_){let t=[];return r.video&&r.video.playerWidth&&r.video.playerHeight?t=[r.video.playerWidth,r.video.playerHeight]:Array.isArray((0,l.A)(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 i=[];return Array.isArray(r.sizes)?i=r.sizes:void 0!==(0,l.A)(e,"mediaTypes.banner.sizes")?i=k(e.mediaTypes.banner.sizes):Array.isArray(e.sizes)&&e.sizes.length>0?i=k(e.sizes):(0,p.JE)("Rubicon: no sizes are setup or found"),function(e){const t=[15,2,9];return e.sort(((e,r)=>{const i=t.indexOf(e),n=t.indexOf(r);return i>-1||n>-1?-1===i?1:-1===n?-1:i-n:e-r}))}(i)}function $(e,t,r){return i=>{const n=Number(i.ext?.segtax);r.includes(n)&&(e[`tg_${t}.tax${n}`]=i.segment?.map((e=>e.id)).join(","))}}function k(e){return(0,p.kK)(e).reduce(((e,t)=>{let r=parseInt(y[t],10);return r&&e.push(r),e}),[])}function R(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[];if(function(e){let t=void 0!==(0,l.A)(e,`mediaTypes.${d.G_}`),r=void 0!==(0,l.A)(e,`mediaTypes.${d.D4}`),i=void 0!==(0,l.A)(e,"params.bidonmultiformat"),n="object"!=typeof(0,l.A)(e,"params.video");return!(!t||!i)||(r&&n&&(t=!1),t&&n&&(0,u.J)(e,"params.video",{}),t)}(e)){if(-1===["outstream","instream"].indexOf((0,l.A)(e,`mediaTypes.${d.G_}.context`)))return t&&(0,p.vV)("Rubicon: mediaTypes.video.context must be outstream or instream"),r;if(j(e,d.G_).length<2)return t&&(0,p.vV)("Rubicon: could not determine the playerSize of the video"),r;t&&(0,p.OG)("Rubicon: making video request for adUnit",e.adUnitCode),r.push(d.G_)}if(void 0!==(0,l.A)(e,`mediaTypes.${d.s6}`)&&r.push(d.s6),void 0!==(0,l.A)(e,`mediaTypes.${d.D4}`)){if(0===j(e,d.D4).length)return t&&(0,p.vV)("Rubicon: could not determine the sizes for banner request"),r;t&&(0,p.OG)("Rubicon: making banner request for adUnit",e.adUnitCode),r.push(d.D4)}return r}const C=()=>g={};function O(e){let t=!1;const r=["asi","sid","hp"];return e.nodes?(t=e.nodes.reduce(((e,t)=>e?r.every((e=>t.hasOwnProperty(e))):e),!0),t||(0,p.vV)("Rubicon: required schain params missing"),t):t}function S(e,t){return"rp_schain"===e?`rp_schain=${t}`:`${e}=${encodeURIComponent(t)}`}var I=!1;(0,s.a$)(_),(0,i.E)("rubiconBidAdapter")}},e=>{e.O(0,[802,8498,7618,7247,6550,1085],(()=>{return t=1674,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[1613],{1473:(n,i,e)=>{var o=e(7873),t=e(3272),s=e(1445),c=e(1069),a=e(433),r=e(3172),d=e(1e3);const h="Invalid schain object found: ",f=" should be a string",u=" should be an Integer",l=" should be an object",g=" should be an Array",O={STRICT:"strict",RELAXED:"relaxed",OFF:"off"},p=[];function b(n,i){let e=O.STRICT;if(function(n){return!(void 0===n||!(0,c.Qd)(n)&&((0,c.vV)(h+"the following schain config will not be used as schain is not an object.",n),1))}(n)){if((0,c.O8)(n.validation)&&-1!=p.indexOf(n.validation)&&(e=n.validation),e===O.OFF)return n.config;if(function(n,i){let e="Detected something wrong within an schain config:",o="";function t(n){o+="\n"+n}function s(){!0===i?(0,c.vV)(e,n,o):(0,c.JE)(e,n,o)}if(!(0,c.Qd)(n)&&(t("schain.config"+l),s(),i))return!1;if((0,c.Et)(n.complete)&&(0,c.Fq)(n.complete)||t("schain.config.complete"+u),(0,c.O8)(n.ver)||t("schain.config.ver"+f),n.hasOwnProperty("ext")&&((0,c.Qd)(n.ext)||t("schain.config.ext"+l)),(0,c.cy)(n.nodes))n.nodes.forEach(((n,i)=>{(0,c.O8)(n.asi)||t(`schain.config.nodes[${i}].asi`+f),(0,c.O8)(n.sid)||t(`schain.config.nodes[${i}].sid`+f),(0,c.Et)(n.hp)&&(0,c.Fq)(n.hp)||t(`schain.config.nodes[${i}].hp`+u),n.hasOwnProperty("rid")&&((0,c.O8)(n.rid)||t(`schain.config.nodes[${i}].rid`+f)),n.hasOwnProperty("name")&&((0,c.O8)(n.name)||t(`schain.config.nodes[${i}].name`+f)),n.hasOwnProperty("domain")&&((0,c.O8)(n.domain)||t(`schain.config.nodes[${i}].domain`+f)),n.hasOwnProperty("ext")&&((0,c.Qd)(n.ext)||t(`schain.config.nodes[${i}].ext`+l))}));else if(t("schain.config.nodes"+g),s(),i)return!1;return!(o.length>0&&(s(),i))}(n.config,!(e!==O.STRICT)))return n.config;(0,c.vV)(h+`due to the 'strict' validation setting, this schain config will not be passed to bidder '${i}'.  See above error for details.`)}return null}function m(n,i){const e=t.$W.getConfig("schain"),o=t.$W.getBidderConfig();i.forEach((n=>{let i=n.bidderCode,t=function(n){return o[n]&&o[n].schain||e}(i);n.bids.forEach((n=>{let e=b(t,i);e&&(n.schain=(0,c.Go)(e))}))})),n(i)}(0,c.bu)(O,(n=>p.push(n))),s.Ay.makeBidRequests.after(m),(0,d.pS)({type:d.S3,name:"sourceExtSchain",fn:function(n,i,e){if(!(0,a.A)(n,"source.ext.schain")){const i=(0,a.A)(e,"bidRequests.0.schain");i&&(0,r.J)(n,"source.ext.schain",i)}}}),(0,o.E)("schain")}},n=>{n.O(0,[802,1085],(()=>{return i=1473,n(n.s=i);var i}));n.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[4258],{5282:(t,e,n)=>{var i=n(7873),r=n(7377),o=n(3272),s=n(1371),a=n(1069);const c={[s.D4]:"display",[s.G_]:"video"},d="fixed",p="mobile",u="unknown",l="USD";const g=()=>{const t=navigator.connection||navigator.mozConnection||navigator.webkitConnection||{};switch(t.type||t.effectiveType){case"wifi":case"ethernet":return d;case"cellular":case"wimax":return p;default:return/iPad|iPhone|iPod/.test(navigator.userAgent)||/android/i.test(navigator.userAgent)?u:d}};function m(t){return!!t.mediaTypes&&!!t.mediaTypes.video}function b(t){const e=t.params;return!!e.publisherId&&!!e.adUnitId}function h(t){const e=f(t);return!!t.params.publisherId&&!!t.params.adUnitId&&m(t)&&!!e.playerSize&&(0,a.cy)(e.playerSize)&&e.playerSize.length>0}function y(t){const e=t.params,n=(0,a.K2)(Object.keys(t.mediaTypes),(function(t){return c[t]})),i={id:t.bidId,transactionId:t.ortb2Imp?.ext?.tid,gpid:t.ortb2Imp?.ext?.gpid,sizes:t.sizes,supplyTypes:n,adUnitId:e.adUnitId,adUnitCode:t.adUnitCode,geom:C(t.adUnitCode),placement:e.placement,requestCount:t.bidderRequestsCount||1};m(t)&&(i.videoParams=f(t));const r=function(t){let e={};return"function"==typeof t.getFloor&&(e=t.getFloor({currency:l,mediaType:"*",size:"*"})),e?.floor}(t);return r&&(i.bidFloor=r),i}function f(t){const e=t.mediaTypes.video||{};return e.playerSize&&(e.w=e.playerSize[0][0],e.h=e.playerSize[0][1]),e}function v(t){const e="display"===(n=t.mediaType)?s.D4:"video"===n?s.G_:n;var n;const i={requestId:t.bidId,cpm:t.price,width:t.width,height:t.height,creativeId:t.creativeId,currency:t.currency,netRevenue:!0,mediaType:e,ttl:t.ttl,nurl:t.nurl,meta:{advertiserDomains:t&&t.adomain&&t.adomain.length>0?t.adomain:[]}};return e===s.G_?i.vastXml=t.content:i.ad=t.content,i}function S(){const t=(()=>{try{const t=performance.getEntriesByType("navigation")[0];return Math.round(t.responseStart-t.startTime)}catch(t){try{const t=performance.timing;return Math.round(t.responseStart-t.fetchStart)}catch(t){return 0}}})();return t>=0&&t<=performance.now()?t:0}function C(t){const e=document.getElementById(t);if(e){const t=window.scrollY,{top:n,left:i,width:r,height:o}=e.getBoundingClientRect();return{scrollY:t,top:n,left:i,width:r,height:o,viewport:{width:window.innerWidth,height:window.innerHeight}}}}const I={code:"seedtag",gvlid:157,aliases:["st"],supportedMediaTypes:[s.D4,s.G_],isBidRequestValid(t){const e=m(t),n=function(t){return!!t.mediaTypes&&!!t.mediaTypes.banner}(t);return e&&n?h(t)&&"outstream"===f(t).context&&b(t):e?h(t):!!n&&b(t)},buildRequests(t,e){const n={url:e.refererInfo.page,publisherToken:t[0].params.publisherId,cmp:!!e.gdprConsent,timeout:e.timeout,version:"9.23.0",connectionType:g(),auctionStart:e.auctionStart||Date.now(),ttfb:S(),bidRequests:(0,a.K2)(t,y),user:{topics:[],eids:[]},site:{}};if(n.cmp){const t=e.gdprConsent.gdprApplies;void 0!==t&&(n.ga=t),n.cd=e.gdprConsent.consentString}e.uspConsent&&(n.uspConsent=e.uspConsent),t[0].schain&&(n.schain=t[0].schain);let i=o.$W.getConfig("coppa");i&&(n.coppa=i),e.gppConsent?n.gppConsent={gppString:e.gppConsent.gppString,applicableSections:e.gppConsent.applicableSections}:e.ortb2?.regs?.gpp&&(n.gppConsent={gppString:e.ortb2.regs.gpp,applicableSections:e.ortb2.regs.gpp_sid}),e.ortb2?.user?.data&&(n.user.topics=e.ortb2.user.data),t[0]&&t[0].userIdAsEids&&(n.user.eids=t[0].userIdAsEids),e.ortb2?.bcat&&(n.bcat=e.ortb2?.bcat),e.ortb2?.badv&&(n.badv=e.ortb2?.badv),e.ortb2?.device?.sua&&(n.sua=e.ortb2.device.sua),e.ortb2?.site?.cat&&(n.site.cat=e.ortb2.site.cat),e.ortb2?.site?.cattax&&(n.site.cattax=e.ortb2.site.cattax),e.ortb2?.site?.pagecat&&(n.site.pagecat=e.ortb2.site.pagecat);return{method:"POST",url:"https://s.seedtag.com/c/hb/bid",data:JSON.stringify(n)}},interpretResponse:function(t){const e=t.body;return e&&e.bids&&(0,a.cy)(e.bids)?(0,a.K2)(e.bids,(function(t){return v(t)})):[]},getUserSyncs(t,e){const n=e[0];if(t.iframeEnabled&&n){const t=n.body.cookieSync;return t?[{type:"iframe",url:t}]:[]}return[]},onTimeout(t){const e=function(t){let e="";if((0,a.cy)(t)&&t[0]&&(0,a.cy)(t[0].params)&&t[0].params[0]){const n=t[0].params[0],i=t[0].timeout;e="?publisherToken="+n.publisherId+"&adUnitId="+n.adUnitId+"&timeout="+i}return"https://s.seedtag.com/se/hb/timeout"+e}(t);(0,a.z$)(e)},onBidWon:function(t){t&&t.nurl&&(0,a.z$)(t.nurl)}};(0,r.a$)(I),(0,i.E)("seedtagBidAdapter")}},t=>{t.O(0,[802,1085],(()=>{return e=5282,t(t.s=e);var e}));t.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[5496],{5862:(e,o,t)=>{var n=t(7873),r=t(1069),d=t(9214),i=t(6916),u=t(2938),a=t(5569),c=t(2339);const m=(0,u.vM)({moduleType:a.fW,moduleName:"sharedId"}),s="cookie",l="html5",f="_pubcid_optout",p="PublisherCommonId";function g(e,o){if(o===s)return m.getCookie(e);if(o===l&&m.hasLocalStorage()){const o=m.getDataFromLocalStorage(`${e}_exp`);if(!o)return m.getDataFromLocalStorage(e);if(new Date(o).getTime()-Date.now()>0)return m.getDataFromLocalStorage(e)}}function I(e,o){return function(t,n){o?b(o,e,(()=>{t(n()||e)}))():t(e)}}function b(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2?arguments[2]:void 0;if(!e)return;const n=(0,r.Dl)(e);n.search.id=encodeURIComponent("pubcid:"+o);const d=(0,r.c$)(n);return function(){(0,r.z$)(d,t)}}function v(){return!!(m.cookiesAreEnabled()&&g(f,s)||m.hasLocalStorage()&&g(f,l))}const h={name:"sharedId",aliasName:"pubCommonId",gvlid:i.B1,decode(e,o){if(v())return void(0,r.fH)("PubCommonId decode: Has opted-out");(0,r.fH)(" Decoded value PubCommonId "+e);return{pubcid:e}},getId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>2?arguments[2]:void 0;if(v())return void(0,r.fH)("PubCommonId: Has opted-out");if(i.et.getCoppa())return void(0,r.fH)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");const{params:{create:t=!0,pixelUrl:n}={}}=e;let d=o;if(!d){try{"object"==typeof window[p]&&(d=window[p].getId())}catch(e){}d||(d=t&&(0,r.N9)()?(0,r.lk)():void 0)}return{id:d,callback:I(d,n)}},extendId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>2?arguments[2]:void 0;if(v())return(0,r.fH)("PubCommonId: Has opted-out"),{id:void 0};if(i.et.getCoppa())return void(0,r.fH)("PubCommonId: IDs not provided for coppa requests, exiting PubCommonId");const{params:{extend:t=!1,pixelUrl:n}={}}=e;if(t){if(n){return{callback:b(n,o)}}return{id:o}}},domainOverride:(0,c.w)(m,"sharedId"),eids:{pubcid:{source:"pubcid.org",atype:1}}};(0,d.bz)("userId",h),(0,n.E)("sharedIdSystem")}},e=>{e.O(0,[2764,802,1085],(()=>{return o=5862,e(e.s=o);var o}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[89],{5745:(e,t,r)=>{var a=r(7873),n=r(7377),i=r(3272),o=r(1371),d=r(1069),s=r(433);const p={getProtocol:function(){return window.location.protocol}},l={code:"sharethrough",supportedMediaTypes:[o.G_,o.D4],gvlid:80,isBidRequestValid:e=>!!e.params.pkey,buildRequests:(e,t)=>{const r=t.timeout,a=t.ortb2||{},n=p.getProtocol().indexOf("http")<0||p.getProtocol().indexOf("https")>-1,o={id:(0,d.lk)(),at:1,cur:["USD"],tmax:r,site:{domain:(0,s.A)(t,"refererInfo.domain",window.location.hostname),page:(0,s.A)(t,"refererInfo.page",window.location.href),ref:(0,s.A)(t,"refererInfo.ref"),...a.site},device:{ua:navigator.userAgent,language:navigator.language,js:1,dnt:"1"===navigator.doNotTrack?1:0,h:window.screen.height,w:window.screen.width,ext:{}},regs:{coppa:!0===i.$W.getConfig("coppa")?1:0,ext:{}},source:{tid:t.ortb2?.source?.tid,ext:{version:"9.23.0",str:"4.3.0",schain:e[0].schain}},bcat:(0,s.A)(t.ortb2,"bcat")||e[0].params.bcat||[],badv:(0,s.A)(t.ortb2,"badv")||e[0].params.badv||[],test:0};if(t.ortb2?.device?.ext?.cdep&&(o.device.ext.cdep=t.ortb2.device.ext.cdep),t?.ortb2?.device&&(0,d.D9)(o.device,t.ortb2.device),o.user=u(a.user,{}),o.user.ext||(o.user.ext={}),o.user.ext.eids=e[0].userIdAsEids||[],t.gdprConsent){const e=!0===t.gdprConsent.gdprApplies;o.regs.ext.gdpr=e?1:0,e&&(o.user.ext.consent=t.gdprConsent.consentString)}t.uspConsent&&(o.regs.ext.us_privacy=t.uspConsent),t?.gppConsent?.gppString?(o.regs.gpp=t.gppConsent.gppString,o.regs.gpp_sid=t.gppConsent.applicableSections):t?.ortb2?.regs?.gpp&&(o.regs.ext.gpp=t.ortb2.regs.gpp,o.regs.ext.gpp_sid=t.ortb2.regs.gpp_sid),t?.ortb2?.regs?.ext?.dsa&&(o.regs.ext.dsa=t.ortb2.regs.ext.dsa);return e.map((e=>{const r={ext:{}},a=(0,s.A)(e,"ortb2Imp.ext.tid");a&&(r.ext.tid=a);const i=(0,s.A)(e,"ortb2Imp.ext.gpid")||(0,s.A)(e,"ortb2Imp.ext.data.pbadslot");i&&(r.ext.gpid=i);const o=(0,s.A)(e,"mediaTypes.video");if(t.paapi?.enabled&&e.mediaTypes.banner&&(0,d.D9)(r,{ext:{ae:1}}),o){let[e,t]=[640,360];o.playerSize&&o.playerSize[0]&&o.playerSize[0][0]&&o.playerSize[0][1]&&([e,t]=o.playerSize[0]);const a=(e,t,r)=>{if(["api","battr","mimes","playbackmethod","protocols"].includes(e)){if((!Array.isArray(t[e])||0===t[e].length)&&t[e])return void(0,d.JE)(`Sharethrough: Invalid video request property: "${e}" must be an array with at least 1 entry.  Value supplied: "${t[e]}".  This will not be added to the bid request.`)}t[e]&&(r.video[e]=t[e])};r.video={pos:u(o.pos,0),topframe:(0,d.al)()?0:1,w:e,h:t};["api","battr","companionad","companiontype","delivery","linearity","maxduration","mimes","minduration","placement","playbackmethod","plcmt","protocols","skip","skipafter","skipmin","startdelay"].forEach((e=>{a(e,o,r)}))}else{r.banner={pos:(0,s.A)(e,"mediaTypes.banner.pos",0),topframe:(0,d.al)()?0:1,format:e.sizes.map((e=>({w:+e[0],h:+e[1]})))};const t=(0,s.A)(e,"mediaTypes.banner.battr",null)||(0,s.A)(e,"ortb2Imp.banner.battr");t&&(r.banner.battr=t)}return{id:e.bidId,tagid:String(e.params.pkey),secure:n?1:0,bidfloor:c(e),...r}})).filter((e=>!!e)).map((e=>({method:"POST",url:"https://btlr.sharethrough.com/universal/v1?supply_id=WYu2BXv1",data:{...o,imp:[e]}})))},interpretResponse:(e,t)=>{let{body:r}=e;if(!r||!r.seatbid||0===r.seatbid.length||!r.seatbid[0].bid||0===r.seatbid[0].bid.length)return[];const a=r.ext?.auctionConfigs,n=r.seatbid[0].bid.map((e=>{const a={requestId:e.impid,width:+e.w,height:+e.h,cpm:+e.price,creativeId:e.crid,dealId:e.dealid||null,mediaType:t.data.imp[0].video?o.G_:o.D4,currency:r.cur||"USD",netRevenue:!0,ttl:360,ad:e.adm,nurl:e.nurl,meta:{advertiserDomains:e.adomain||[],networkId:e.ext?.networkId||null,networkName:e.ext?.networkName||null,agencyId:e.ext?.agencyId||null,agencyName:e.ext?.agencyName||null,advertiserId:e.ext?.advertiserId||null,advertiserName:e.ext?.advertiserName||null,brandId:e.ext?.brandId||null,brandName:e.ext?.brandName||null,demandSource:e.ext?.demandSource||null,dchain:e.ext?.dchain||null,primaryCatId:e.ext?.primaryCatId||null,secondaryCatIds:e.ext?.secondaryCatIds||null,mediaType:e.ext?.mediaType||null}};return a.mediaType===o.G_&&(a.ttl=3600,a.vastXml=e.adm),a}));return a?{bids:n,paapi:r.ext?.auctionConfigs||{}}:n},getUserSyncs:(e,t)=>e.pixelEnabled&&void 0!==(0,s.A)(t,"0.body.cookieSyncUrls")?t[0].body.cookieSyncUrls.map((e=>({type:"image",url:e}))):[],onTimeout:e=>{},onBidWon:e=>{},onSetTargeting:e=>{}};function c(e){let t=null;if("function"==typeof e.getFloor){const r=e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.video?"video":"banner",size:e.sizes.map((e=>({w:e[0],h:e[1]})))});(0,d.Qd)(r)&&"USD"===r.currency&&!isNaN(parseFloat(r.floor))&&(t=parseFloat(r.floor))}return null!==t?t:e.params.floor}function u(e,t){return null==e?t:e}(0,n.a$)(l),(0,a.E)("sharethroughBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return t=5745,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[3816],{4430:(e,t,n)=>{var o=n(7873),r=n(1445),a=n(8044),s=n(1069),d=n(433),i=n(3172),c=n(5901),u=n(7934),l=n(2938),p=n(5569),m=n(9214);const g="SirdataRTDModule",f="sirdata.com",b="Sirdata RTD: ",y="SDDAN",h=(0,u.EN)().domain||window.location.hostname,v=(0,l.vM)({moduleType:p.zu,moduleName:g}),_=r.Ay.aliasRegistry||{},x={criteo:27443,openx:30342,pubmatic:30345,smaato:27520,triplelift:27518,yahoossp:30339,rubicon:27452,appnexus:27446,gourmetads:33394,mediasquare:27878,smartadserver:27440,proxistore:27484,ix:27248,sdRtdForGpt:27449,smilewanted:28690,taboola:33379,ttd:33382,zeta_global:33385,teads:33388,conversant:33391,improvedigital:33397,invibes:33400,sublime:33403,rtbhouse:33406,zeta_global_ssp:33385},E={id5:"id5-sync.com",id5id:"id5-sync.com",id5_id:"id5-sync.com",pubprovided_id:"pubProvidedId",ppid:"pubProvidedId","first-id.fr":"pubProvidedId",sharedid:"pubcid.org",publishercommonid:"pubcid.org","pubcid.org":"pubcid.org"};let S={partnerId:1,key:1,actualUrl:(0,u.EN)().stack.pop()||(0,u.EN)().page,cookieAccessGranted:!1,setGptKeyValues:!0,contextualMinRelevancyScore:30,preprod:!1,authorizedEids:["pubProvidedId","id5-sync.com","pubcid.org"],avoidPostContent:!1,sirdataDomain:"cookieless-data.com",bidders:[]};function I(e,t,n,o){const r=n.split(".");let a=new Date;a.setTime(a.getTime()+(o?-1:31536e6));for(let n=0;n<r.length;++n){const o=r.slice(r.length-n-1).join(".");try{if(v.setCookie(e,t,a.toUTCString(),"Lax","."+o),v.getCookie(e,null)===t)return!0}catch(e){(0,s.vV)(b,e)}}return!1}function D(){let e=v.getCookie(y,null),t=v.getDataFromLocalStorage(y,null);return!e||t&&e===t?t&&!e&&(I(y,t,h,!1),e=t):v.setDataInLocalStorage(y,e,null),e?[{source:"sddan.com",uids:[{id:e,atype:1}]}]:null}function T(e,t){if((0,s.Im)(e))return t;if((0,s.Im)(t))return e;const n=[],o=e=>{e.forEach((e=>{if(e.uids){const t=(0,c.SL)(n,(function(t){return t.source===e.source}));-1!==t?e.uids.forEach((e=>{n[t].uids.some((t=>t.id===e.id))||n[t].uids.push(e)})):n.push({...e,uids:[...e.uids]})}}))};return o(e),o(t),n}function A(e,t){if(!e||!t)return!1;try{let n=document.implementation.createHTMLDocument("");n.documentElement.innerHTML=document.documentElement.innerHTML,n=function(e){if(e&&e.documentElement.textContent&&e.documentElement.textContent.length>500){const t=["div","span","a","article","section","p","h1","h2","body","b","u","i","big","mark","ol","small","strong","blockquote","nav","menu","li","ul","ins","head","title","main","var","table","caption","colgroup","col","tr","td","th","summary","details","dl","dt","dd"],n=e=>{Array.from(e.childNodes).reverse().forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&(n(e),Array.from(e.attributes).forEach((t=>{"class"!==t.name||/^(main|article|product)/.test(t.value)?"id"!==t.name&&e.removeAttribute(t.name):e.removeAttribute(t.name)})),e.innerHTML.trim()&&t.includes(e.tagName.toLowerCase())||e.remove())}))},o=e=>{Array.from(e.childNodes).reverse().forEach((e=>{e.nodeType===Node.ELEMENT_NODE?(o(e),e.innerHTML.trim()||e.remove()):e.nodeType!==Node.TEXT_NODE||e.textContent.trim()||e.remove()}))};n(e.documentElement),o(e.documentElement),e.documentElement.innerHTML=function(e){return[/\b(?:\d{4}[ -]?){3}\d{4}\b/g,/\b\d{10,12}\b/g,/\b\d{5}\d{5}\d{11}\d{2}\b/g,/\b(\d{3}-\d{2}-\d{4}|\d{9}|\d{13}|\d{2} \d{2} \d{2} \d{3} \d{3} \d{3})\b/g,/\b[A-Z]{1,2}\d{6,9}\b/g,/\b(\d{8,10}|\d{3}-\d{3}-\d{3}-\d{3}|\d{2} \d{2} \d{2} \d{3} \d{3})\b/g,/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,/(\+?\d{1,3}[-.\s]?)?(\(?\d{2,3}\)?[-.\s]?)(\d{2}[-.\s]?){3,4}\d{2}/g].forEach((t=>{e=e.replace(t,"")})),e}(e.documentElement.innerHTML);let r=e.documentElement.innerHTML;r=r.replace(/<!--[\s\S]*?(?:-->|$)/g,""),r=r.replace(/\s+/g," "),r=r.replace(/>\s+</g,"><"),e.documentElement.innerHTML=r}return e}(n);const o=(new XMLSerializer).serializeToString(n.documentElement);if(o&&o.length>300&&o.length<3e5){const n=`https://contextual.sirdata.io/api/v1/push/contextual?post_content_token=${e}&url=${encodeURIComponent(t)}`;(0,a.Rz)(n,o)||(0,a.RD)(n,{},o,{contentType:"text/plain",method:"POST",withCredentials:!1,referrerPolicy:"unsafe-url",crossOrigin:!0})}}catch(e){return(0,s.vV)(b,e),!1}return!0}function k(e,t,n,o,r){try{(0,s.Im)(n.segments)||(o?L(e,t,"user",n.segments,o):$(e,t,"user.ext.data",{sd_rtd:{segments:n.segments}})),(0,s.Im)(n.categories)||(r?L(e,t,"site",n.categories,r):$(e,t,"site.ext.data",{sd_rtd:{categories:n.categories}})),(0,s.Im)(n.categories_score)||r||$(e,t,"site.ext.data",{sd_rtd:{categories_score:n.categories_score}})}catch(e){(0,s.vV)(b,e)}return!0}function L(e,t,n,o,r){try{let a=[{name:f,segment:o.map((e=>({id:e})))}];r&&(a[0].ext={segtax:r});let d="site"===n?{site:{content:{data:a}}}:{user:{data:a}};t&&(d={[t]:d}),(0,s.D9)(e,d)}catch(e){(0,s.vV)(b,e)}return!0}function $(e,t,n,o){try{if((0,s.Im)(o))return!1;let r={};(0,i.J)(r,n,o),t&&(r={[t]:r}),(0,s.D9)(e,r)}catch(e){(0,s.vV)(b,e)}return!0}function C(e,t,n){let o={segments:[],categories:[],categories_score:{}};t="number"==typeof t?t:30;const{cattaxid:r,segtaxid:a,segments:d}=e,i=e.contextual_categories||{};try{if(i)for(let e in i)if(i.hasOwnProperty(e)&&i[e]){let a=i[e];a>=t&&!o.categories.includes(e)&&("27440"===n&&r?o.categories.push(`${n}cc${e}`):(o.categories.push(e.toString()),o.categories_score[e]=a))}}catch(e){(0,s.vV)(b,e)}try{if(d)for(let e in d)if(d.hasOwnProperty(e)&&d[e]){let t=d[e].toString();"27440"===n&&a?o.segments.push(`${n}us${t}`):o.segments.push(t)}}catch(e){(0,s.vV)(b,e)}return o}function w(e,t,n,o,r,a,d,i){if(a&&S.bidders[a]?.customFunction&&"function"==typeof S.bidders[a]?.customFunction)return function(e,t,n,o,r){try{"function"==typeof e&&e(t,n,o,r)}catch(e){(0,s.vV)(b,e)}return!0}(S.bidders[a].customFunction,d,t,e,r);if(!n||a){let t=C(e,S.contextualMinRelevancyScore,S.partnerId.toString());k(o.ortb2Fragments?.bidder,r.bidder,t,e.segtaxid,e.cattaxid)}if(!(0,s.Im)(e.shared_taxonomy)){let n=a&&S.bidders[a]?.curationId||x[i];if(n&&e.shared_taxonomy[n]){let a=C(e.shared_taxonomy[n],S.contextualMinRelevancyScore,n.toString());(0,s.Im)(a)||(k(o.ortb2Fragments?.bidder,r.bidder,a,e.shared_taxonomy[n].segtaxid,e.shared_taxonomy[n].cattaxid),(0,s.D9)(t,a))}}return t}const M={name:g,gvlid:53,init:function(e){if((0,s.fH)(b,e),"object"!=typeof e.params||!e.params.key)return!1;if("object"==typeof e.params.authorizedEids&&Array.isArray(e.params.authorizedEids)){const t=new Set(e.params.authorizedEids.map((e=>{const t=e.toLowerCase().replace(/\s+/g,"_");return E[t]||t})));e.params.authorizedEids=Array.from(t)}else delete e.params.authorizedEids;return"object"==typeof e.params.bidders&&Array.isArray(e.params.bidders)||delete e.params.bidders,delete e.params.sirdataDomain,S=Object.assign({},S,e.params),!0},getBidRequestData:function(e,t,n,r){(0,s.fH)(b,"get Segments And Categories");const i=e&&e.adUnits||(0,o.m)().adUnits;if(!i)return(0,s.fH)(b,"no ad unit, RTD processing is useless"),void t();const u=!!(0,d.A)(r,"gdpr.gdprApplies")&&r.gdpr.gdprApplies,l=S.preprod?"kvt-preprod":"kvt";let p,m="";if((0,s.N9)()&&!r.coppa&&((0,s.Im)(r.usp)||-1===r.usp||"1"===r.usp[0]&&"N"!==r.usp[1]&&"Y"!==r.usp[2])&&(!u||(0,d.A)(r,"gdpr.vendorData.vendor.consents")&&r.gdpr.vendorData.vendor.consents[53]&&(0,d.A)(r,"gdpr.vendorData.purpose.consents")&&r.gdpr.vendorData.purpose.consents[1]&&(r.gdpr.vendorData.purpose.consents[2]||r.gdpr.vendorData.purpose.consents[3])&&r.gdpr.vendorData.purpose.consents[4])&&((0,s.Im)(r.gpp)||r.gpp.gppString)&&(0,s.GE)()){if(S.sirdataDomain="sddan.com",S.cookieAccessGranted=!0,u&&(0,d.A)(r,"gdpr.consentString"))m=`&gdpr=${u}&gdpr_consent=${r.gdpr.consentString}`;else if((0,s.Im)(r.usp)){if((0,d.A)(r,"gpp.gppString")){const e=(0,d.A)(r,"gpp.applicableSections")?`&gpp_sid=${r.gpp.applicableSections.join(",")}`:"";m=`&gpp=${r.gpp.gppString}${e}`}}else m=`&ccpa_consent=${r.usp.toString()}`;if(p=D(),!(0,s.Im)(S.authorizedEids)&&"function"==typeof(0,o.m)().getUserIds){let e={};const t=S.authorizedEids,n=(0,o.m)().getUserIds(),r=(0,o.m)().getUserIdsAsEids(),a=-1!==t.indexOf("pubProvidedId");if(a&&!(0,s.Im)(n.pubProvidedId)&&(e=T(e,n.pubProvidedId)),!a||t.length>1){const n=r.filter((e=>t.includes(e.source)));(0,s.Im)(n)||(e=T(e,n))}(0,s.Im)(e)||(p=T(p,e))}}const g=`https://${l}.${S.sirdataDomain}/api/v1/public/p/${S.partnerId.toString()}/d/${S.key.toString()}/s?callback=&allowed_post_content=${!S.avoidPostContent}${m}${S.actualUrl?`&url=${encodeURIComponent(S.actualUrl)}`:""}`,f=(0,s.Im)(p)?"GET":"POST",E=(0,s.Im)(p)?null:JSON.stringify({external_ids:p});try{(0,a.RD)(g,{success:function(n,o){if(200===o.status)try{const o=JSON.parse(n);o&&o.segments?function(e,t,n,o){(0,s.fH)(b,"Dispatch Segments And Categories");const r=S.contextualMinRelevancyScore||30;let a=C(t,r,"");const d=S.bidders.length>0;if(!(0,s.Im)(t.global_taxonomy))for(let n in t.global_taxonomy){let o;(0,s.Im)(t.global_taxonomy[n])||(o=C(t.global_taxonomy[n],S.contextualMinRelevancyScore,""),(0,s.Im)(o)||k(e.ortb2Fragments?.global,"",o,t.global_taxonomy[n].segtaxid,t.global_taxonomy[n].cattaxid))}if(void 0!==window.googletag&&S.setGptKeyValues)try{const e=S.gptCurationId||x.sdRtdForGpt;let n=[...a.segments,...a.categories];if(e&&t.shared_taxonomy?.[e]){const o=C(t.shared_taxonomy[e],S.contextualMinRelevancyScore,"");n=[...n,...o.segments,...o.categories]}window.googletag.cmd.push((()=>{window.googletag.pubads().getSlots().forEach((e=>{void 0!==e.setTargeting&&n.length>0&&e.setTargeting("sd_rtd",n)}))}))}catch(e){(0,s.vV)(b,e)}n.forEach((n=>n.bids?.forEach((o=>{const r=(0,c.SL)(S.bidders,(function(e){return e.bidder===o.bidder}));try{const s=_[o.bidder]||o.bidder;if("appnexus"===s){let i=w(t,a,d,e,o,r,n,s);i.segments.length>0&&$(e.ortb2Fragments?.bidder,o.bidder,"user.keywords",`sd_rtd=${i.segments.join(",sd_rtd=")}`),i.categories.length>0&&$(e.ortb2Fragments?.bidder,o.bidder,"site.content.keywords",`sd_rtd=${i.categories.join(",sd_rtd=")}`)}else w(t,a,d,e,o,r,n,s)}catch(e){(0,s.vV)(b,e)}})))),o(),"sddan.com"===S.sirdataDomain&&(!(0,s.Im)(t.sddan_id)&&S.cookieAccessGranted&&(i=t.sddan_id)&&(i=encodeURI(i.toString()),I(y,i,h,!1),v.setDataInLocalStorage(y,i,null)),S.avoidPostContent||!S.actualUrl||(0,s.al)()||(0,s.Im)(t.post_content_token)||function(e){if("function"!=typeof e)return!1;try{document.readyState&&"loading"!==document.readyState?e():"function"==typeof document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}catch(t){e()}}((()=>A(t.post_content_token,S.actualUrl))));var i}(e,o,i,t):t()}catch(e){t(),(0,s.vV)(b,"unable to parse Sirdata data"+e)}else 204===o.status&&t()},error:function(){t(),(0,s.vV)(b,"unable to get Sirdata data")}},E,{contentType:"text/plain",method:f,withCredentials:S.cookieAccessGranted,referrerPolicy:"unsafe-url",crossOrigin:!0})}catch(e){(0,s.vV)(b,e)}}};(0,m.bz)("realTimeData",M),(0,o.E)("sirdataRtdProvider")}},e=>{e.O(0,[802,1085],(()=>{return t=4430,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[2094],{290:(e,t,r)=>{var n=r(7873),i=r(433),a=r(1069),s=r(5789),d=r(7377),o=r(1371),p=r(3895),m=r(848),c=r(2449),l=r(9495);const u={code:"smilewanted",gvlid:639,aliases:["smile","sw"],supportedMediaTypes:[o.D4,o.G_,o.s6],isBidRequestValid:function(e){if(!e.params||!e.params.zoneId)return!1;if((0,i.A)(e,"mediaTypes.video")){const t={...(0,i.A)(e,"mediaTypes.video",{}),...(0,i.A)(e,"params.video",{})};if(!t.context||![p.mn,p.H6].includes(t.context))return!1}return!0},buildRequests:function(e,t){return(e=(0,c.Xj)(e)).map((e=>{const r={zoneId:e.params.zoneId,currencyCode:(0,l.b)(t)||"EUR",tagId:e.adUnitCode,sizes:e.sizes.map((e=>({w:e[0],h:e[1]}))),transactionId:e.ortb2Imp?.ext?.tid,timeout:t?.timeout,bidId:e.bidId,positionType:e.params.positionType||"",prebidVersion:"9.23.0",schain:(0,m.v)(e.schain,["asi","sid","hp","rid","name","domain","ext"])},n=function(e){if((0,a.fp)(e.getFloor)){const t=e.getFloor({currency:"USD",mediaType:"banner",size:e.sizes.map((e=>({w:e[0],h:e[1]})))});if((0,a.Qd)(t)&&!isNaN(t.floor)&&"USD"===t.currency)return parseFloat(t.floor)}return null}(e);n&&(r.bidfloor=n),e.params.bidfloor&&(r.bidfloor=e.params.bidfloor),t?.refererInfo&&(r.pageDomain=t.refererInfo.page||""),t?.gdprConsent&&(r.gdpr_consent=t.gdprConsent.consentString,r.gdpr=t.gdprConsent.gdprApplies),r.eids=e?.userIdAsEids;const s=(0,i.A)(e,"mediaTypes.video"),d=(0,i.A)(e,"mediaTypes.video.context");("video"===e.mediaType||s&&d===p.mn||s&&d===p.H6)&&(r.context=d,r.videoParams=(0,a.Go)(s));const o=(0,i.A)(e,"mediaTypes.native");if(o){r.context="native",r.nativeParams=o;let t=(0,i.A)(e,"mediaTypes.native.image.sizes",[]);if(t.length>0){const e=Array.isArray(t[0])?t[0]:t;r.width=e[0]||r.width,r.height=e[1]||r.height}}return{method:"POST",url:"https://prebid.smilewanted.com",data:JSON.stringify(r)}}))},interpretResponse:function(e,t){if(!e.body)return[];const r=[];try{const n=e.body,i=JSON.parse(t.data);if(n){const e=n.dealId||"",t={ad:n.ad,cpm:n.cpm,creativeId:n.creativeId,currency:n.currency,dealId:n.dealId,height:n.height,netRevenue:n.isNetCpm,requestId:i.bidId,ttl:n.ttl,width:n.width};if("video_instream"!==n.formatTypeSw&&"video_outstream"!==n.formatTypeSw||(t.mediaType="video",t.vastUrl=n.ad,t.ad=null,"video_outstream"===n.formatTypeSw&&(t.renderer=function(e,t){const r=s.A4.install({id:e.bidId,url:t.OustreamTemplateUrl,loaded:!1});try{r.setRender(h)}catch(e){(0,a.JE)("Prebid Error calling setRender on newRenderer",e)}return r}(i,n))),"native"===n.formatTypeSw){const e=JSON.parse(n.ad),r=(0,c.rn)(i.nativeParams);t.mediaType="native",t.native=(0,c.Ex)(e,r)}e.length>0&&(t.dealId=e),t.meta={},n.meta?.advertiserDomains&&(0,a.cy)(n.meta.advertiserDomains)&&(t.meta.advertiserDomains=n.meta.advertiserDomains),r.push(t)}}catch(e){(0,a.vV)("Error while parsing smilewanted response",e)}return r},getUserSyncs:function(e,t,r,n){const i=[];if(e.iframeEnabled){let e=[];r&&"string"==typeof r.consentString&&("boolean"==typeof r.gdprApplies?e.push(`gdpr=${Number(r.gdprApplies)}&gdpr_consent=${r.consentString}`):e.push(`gdpr_consent=${r.consentString}`)),n&&e.push(`us_privacy=${encodeURIComponent(n)}`);const t=e.length>0?"?"+e.join("&"):"";i.push({type:"iframe",url:"https://csync.smilewanted.com"+t})}return i}};function h(e){e.renderer.push((()=>{window.SmileWantedOutStreamInit({width:e.width,height:e.height,vastUrl:e.vastUrl,elId:e.adUnitCode})}))}(0,d.a$)(u),(0,n.E)("smilewantedBidAdapter")}},e=>{e.O(0,[9147,817,802,1085],(()=>{return t=290,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[8723],{2605:(e,t,r)=>{var i=r(7873),s=r(1069),n=r(433),a=r(3172),o=r(7377),p=r(1371);const d={...r(11).Z,placement:e=>(0,s.Fq)(e)&&e>=1&&e<=5,plcmt:e=>(0,s.Fq)(e)&&e>=1&&e<=4,delivery:e=>Array.isArray(e)&&e.every((e=>e>=1&&e<=3)),pos:e=>(0,s.Fq)(e)&&e>=1&&e<=7},c={context:e=>e!==p.LM,mimes:d.mimes,maxduration:d.maxduration,protocols:d.protocols},u={code:"sovrn",supportedMediaTypes:[p.D4,p.G_],gvlid:13,isBidRequestValid:function(e){const t=e?.mediaTypes?.video;return!(!e.params.tagid||isNaN(parseFloat(e.params.tagid))||!isFinite(e.params.tagid)||t&&!Object.keys(c).every((e=>c[e](t[e]))))},buildRequests:function(e,t){try{let r,i,o,p,c=[];(0,s.bu)(e,(function(e){!o&&e.userIdAsEids&&(o=e.userIdAsEids,o.forEach((function(e){e.uids&&e.uids[0]&&"criteo.com"===e.source&&(p=e.uids[0].id)}))),e.schain&&(i=i||e.schain),r=r||(0,s.u5)("iv",e.params);const a={adunitcode:e.adUnitCode,id:e.bidId,tagid:String((0,s.u5)("tagid",e.params)),bidfloor:l(e)};if((0,n.A)(e,"mediaTypes.banner")){let t=(0,n.A)(e,"mediaTypes.banner.sizes")||e.sizes;t=(0,s.cy)(t)&&(0,s.cy)(t[0])?t:[t],t=t.filter((e=>(0,s.cy)(e)));const r=t.map((e=>({w:parseInt(e[0],10),h:parseInt(e[1],10)})));a.banner={format:r,w:1,h:1}}(0,n.A)(e,"mediaTypes.video")&&(a.video=function(e){const t={},r=(0,n.A)(e,"sizes"),i=(0,n.A)(e,"mediaTypes.video",{}),a=(0,n.A)(e,"params.video",{}),o={};if(r){const e=Array.isArray(r[0])?r[0]:r;o.w=e[0],o.h=e[1]}else if(Array.isArray(i.playerSize)){const e=Array.isArray(i.playerSize[0])?i.playerSize[0]:i.playerSize;o.w=e[0],o.h=e[1]}const p={...o,...i,...a};return Object.keys(d).forEach((e=>{p.hasOwnProperty(e)&&(d[e](p[e])?t[e]=p[e]:(0,s.JE)(`The OpenRTB video param ${e} has been skipped due to misformating. Please refer to OpenRTB 2.5 spec.`))})),t}(e)),a.ext=(0,s.u5)("ext",e.ortb2Imp)||void 0;const u=(0,s.u5)("segments",e.params);u&&(a.ext=a.ext||{},a.ext.deals=u.split(",").map((e=>e.trim())));const m=e?.ortb2Imp?.ext?.ae;t.paapi?.enabled&&(0,s.Fq)(m)?(a.ext=a.ext||{},a.ext.ae=m):a.ext?.ae&&delete a.ext.ae,c.push(a)}));const u=t.ortb2||{},m=u.site||{};m.page=t.refererInfo.page,m.domain=t.refererInfo.domain;const g=(0,n.A)(t,"timeout"),y={id:(0,s.s0)(),imp:c,site:m,user:u.user||{},tmax:g};i&&(y.source={ext:{schain:i}});const b=(0,n.A)(t,"ortb2.source.tid");b&&(0,a.J)(y,"source.tid",b);(0,n.A)(t,"ortb2.regs.coppa")&&(0,a.J)(y,"regs.coppa",1),t.gdprConsent&&((0,a.J)(y,"regs.ext.gdpr",+t.gdprConsent.gdprApplies),(0,a.J)(y,"user.ext.consent",t.gdprConsent.consentString)),t.uspConsent&&(0,a.J)(y,"regs.ext.us_privacy",t.uspConsent),t.gppConsent&&((0,a.J)(y,"regs.gpp",t.gppConsent.gppString),(0,a.J)(y,"regs.gpp_sid",t.gppConsent.applicableSections)),t?.ortb2?.device&&(y.device=y.device||{},(0,s.D9)(y.device,t.ortb2.device)),o&&((0,a.J)(y,"user.ext.eids",o),p&&(0,a.J)(y,"user.ext.prebid_criteoid",p));let f="https://ap.lijit.com/rtb/bid?src=prebid_prebid_9.23.0";return r&&(f+=`&iv=${r}`),{method:"POST",url:f,data:JSON.stringify(y),options:{contentType:"text/plain"}}}catch(e){(0,s.vV)("Could not build bidrequest, error deatils:",e)}},interpretResponse:function(e){let{body:{id:t,seatbid:r,ext:i}}=e;if(!t||!r||!Array.isArray(r))return[];try{let e=r.filter((e=>e)).map((e=>e.bid.map((e=>{const t={requestId:e.impid,cpm:parseFloat(e.price),width:parseInt(e.w),height:parseInt(e.h),creativeId:e.crid||e.id,dealId:e.dealid||null,currency:"USD",netRevenue:!0,mediaType:e.nurl?p.D4:p.G_,ttl:e.ext?.ttl||90,meta:{advertiserDomains:e&&e.adomain?e.adomain:[]}};return e.nurl?t.ad=decodeURIComponent(`${e.adm}<img src="${e.nurl}">`):t.vastXml=decodeURIComponent(e.adm),t})))).flat(),t=null;if((0,s.cy)(i?.igbid)){const e=i.seller,r=i.decisionLogicUrl,n=i.sellerTimeout;i.igbid.filter((e=>{return t=e,!(0,s.xQ)(t.impid)&&(0,s.cy)(t.igbuyer)&&t.igbuyer.length;var t})).forEach((i=>{const a={};i.igbuyer.filter((e=>{return t=e,!(0,s.xQ)(t.igdomain);var t})).forEach((e=>{a[e.igdomain]=e.buyerdata}));const o=[...Object.keys(a)];o.length&&(t=t||{},t[i.impid]={seller:e,decisionLogicUrl:r,sellerTimeout:n,interestGroupBuyers:o,perBuyerSignals:a})}))}return t?(t=Object.entries(t).map((e=>{let[t,r]=e;return{bidId:t,config:Object.assign({auctionSignals:{}},r)}})),{bids:e,paapi:t}):e}catch(e){return(0,s.vV)("Could not interpret bidresponse, error details:",e),e}},getUserSyncs:function(e,t,r,i,s){try{const a=[];if(t&&0!==t.length){if(e.iframeEnabled){const e=t.filter((e=>(0,n.A)(e,"body.ext.iid"))).map((e=>e.body.ext.iid)),o=[];r&&r.gdprApplies&&"string"==typeof r.consentString&&o.push(["gdpr_consent",r.consentString]),i&&o.push(["us_privacy",i]),s&&(o.push(["gpp",s.gppString]),o.push(["gpp_sid",s.applicableSections])),e[0]&&(o.push(["informer",e[0]]),a.push({type:"iframe",url:"https://ce.lijit.com/beacon?"+o.map((e=>e.join("="))).join("&")}))}e.pixelEnabled&&t.filter((e=>(0,n.A)(e,"body.ext.sync.pixels"))).reduce(((e,t)=>e.concat(t.body.ext.sync.pixels)),[]).map((e=>e.url)).forEach((e=>a.push({type:"image",url:e})))}return a}catch(e){return[]}}};function l(e){const t=e.getFloor&&"function"==typeof e.getFloor?e.getFloor({currency:"USD",mediaType:e.mediaTypes&&e.mediaTypes.banner?"banner":"video",size:"*"}):{},r=parseFloat(t?.floor);if(!isNaN(r))return r;const i=parseFloat((0,s.u5)("bidfloor",e.params));return isNaN(i)?void 0:i}(0,o.a$)(u),(0,i.E)("sovrnBidAdapter")}},e=>{e.O(0,[9498,802,1085],(()=>{return t=2605,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[6346],{6318:(e,r,t)=>{var s=t(7873),n=t(1069),i=t(1371),d=t(7377);const a="themoneytizer",o={aliases:[a],code:a,supportedMediaTypes:[i.D4],gvlid:1265,isBidRequestValid:function(e){return!(!e||!e.params.pid)||((0,n.JE)("Invalid bid request - missing required bid params"),!1)},buildRequests:function(e,r){return e.map((e=>{const t={ext:e.ortb2Imp.ext,params:e.params,size:e.mediaTypes,adunit:e.adUnitCode,request_id:e.bidId,timeout:r.timeout,ortb2:r.ortb2,eids:e.userIdAsEids,id:e.auctionId,schain:e.schain,version:"9.23.0",excl_sync:window.tmzrBidderExclSync},s=e.params.baseUrl||"https://ads.biddertmz.com/m/";return r&&r.refererInfo&&(t.referer=r.refererInfo.topmostLocation,t.referer_canonical=r.refererInfo.canonicalUrl),r&&r.gdprConsent&&(t.consent_string=r.gdprConsent.consentString,t.consent_required=r.gdprConsent.gdprApplies),e.params.test&&(t.test=e.params.test),t.userEids=e.userIdAsEids||[],{method:"POST",url:s,data:JSON.stringify(t)}}))},interpretResponse:function(e,r){const t=[],s=e.body;return s&&s.bid&&!s.timeout&&s.bid.ad&&t.push(s.bid),t},getUserSyncs:function(e,r){if(!e.iframeEnabled&&!e.pixelEnabled)return[];let t=[];return r.map((e=>{e.body.c_sync&&e.body.c_sync.bidder_status.map((e=>{"redirect"===e.usersync.type&&(e.usersync.type="image"),t.push(e.usersync)}))})),t},onTimeout:function(e){(0,n.fH)("The Moneytizer - Timeout from adapter",e)}};(0,d.a$)(o),(0,s.E)("themoneytizerBidAdapter")}},e=>{e.O(0,[802,1085],(()=>{return r=6318,e(e.s=r);var r}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[6015],{9293:(e,t,n)=>{var o=n(7873),r=n(1069),i=n(7934),s=n(9214),c=n(5555),a=n(3272),l=n(2938),d=n(5901),u=n(5139),g=n(6811),p=n(3441),f=n(5569);const m=21,h=1;let b=!1,w=[];const y=(0,l.CK)("topicsFpd"),v="prebid:topics",E="lastUpdated",S={1:600,2:601,3:602,4:603};function O(e,t){return t.reduce(((t,n)=>{const o=n[e];return t.hasOwnProperty(o)||(t[o]=[]),t[o].push(n),t}),{})}function D(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;return Object.entries(O("taxonomyVersion",t)).filter((e=>{let[t]=e;return!!n.hasOwnProperty(t)||((0,r.JE)(`Unrecognized taxonomyVersion from Topics API: "${t}"; topic will be ignored`),!1)})).flatMap((t=>{let[o,r]=t;return Object.entries(O("modelVersion",r)).map((t=>{let[r,i]=t;const s={ext:{segtax:n[o],segclass:r},segment:i.map((e=>({id:e.topic.toString()})))};return null!=e&&(s.name=e),s}))}))}function $(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return"browsingTopics"in e&&e.featurePolicy.allowsFeature("browsing-topics")}const C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=null;try{$(e)&&(t=c.k.resolve(e.browsingTopics()))}catch(e){(0,r.vV)("Could not call topics API",e)}return null==t&&(t=c.k.resolve([])),t}().then((e=>D((0,i.EN)().domain,e)));function L(e){if(e&&e.data)try{let t=(0,r.$l)(e.data);if((0,d.mK)(w,e.origin)&&t&&t.segment&&!(0,r.Im)(t.segment.topics)){const{domain:e,topics:n,bidder:o}=t.segment,r=D(e,n);r&&T(o,r)}}catch(e){}}function T(e,t){const n=new Map((0,r.$l)(y.getDataFromLocalStorage(v))),o={[E]:(new Date).getTime()};t.forEach((e=>{o[e.ext.segclass]=e})),n.set(e,o),y.setDataInLocalStorage(v,JSON.stringify([...n]))}function x(e,t){const n=(new Date).getTime();return Math.ceil((n-e)/864e5)>t}(0,s.bz)("firstPartyData",{name:"topics",queue:1,processFpd:function(e,t){let{global:n}=t,{data:o=C}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return b||(!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!$(e))return;const t=a.$W.getConfig("userSync.topics");if(t){window.addEventListener("message",L,!1);const i=(n=t.bidders||[],o=t.maxTopicCaller||1,[...n].sort((()=>.5-Math.random())).slice(0,o));i&&i.forEach((t=>{let{bidder:n,iframeURL:o,fetchUrl:i,fetchRate:s}=t;if(n&&o){let t=e.createElement("iframe");t.name="ifrm_".concat(n),t.src="".concat(o,"?bidder=").concat(n),t.style.display="none",c=new URL(o).origin,w.push(c),o&&e.documentElement.appendChild(t)}var c;if(n&&i){const e=new Map((0,r.$l)(y.getDataFromLocalStorage(v))).get(n);(!e||e&&x(e[E],s||h))&&window.fetch(`${i}?bidder=${n}`,{browsingTopics:!0}).then((e=>e.json())).then((e=>{if(e&&e.segment&&!(0,r.Im)(e.segment.topics)){const{domain:t,topics:n,bidder:o}=e.segment,r=D(t,n);r&&T(o,r)}}))}}))}else(0,r.JE)("Topics config not defined under userSync Object");var n,o}(),b=!0),o.then((e=>((e=[].concat(e,function(){let e=[];const t=a.$W.getConfig("userSync.topics"),n=t?.bidders||[];let o=new Map((0,r.$l)(y.getDataFromLocalStorage(v)));return o&&o.forEach(((t,r)=>{let i=n.find((e=>{let{bidder:t}=e;return r===t}));i&&(0,u.io)(g.qX,(0,p.s)(f.tW,r))&&(x(t[E],i?.expiry||m)?(o.delete(r),y.setDataInLocalStorage(v,JSON.stringify([...o]))):Object.keys(t).forEach((n=>{n!==E&&e.push(t[n])})))})),e}())).length&&(0,r.D9)(n,{user:{data:e}}),{global:n})))}}),(0,o.E)("topicsFpdModule")}},e=>{e.O(0,[802,1085],(()=>{return t=9293,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[8282],{6504:(e,t,r)=>{var n=r(7873),i=r(433),o=r(1069),a=r(1371),s=r(7377),d=r(3272),p=r(2938),l=r(6568);const u="triplelift";let c=null,m=null;const f=(0,p.vM)({bidderCode:u}),g={gvlid:28,code:u,supportedMediaTypes:[a.D4,a.G_],isBidRequestValid:function(e){return void 0!==e.params.inventoryCode},buildRequests:function(e,t){let r="https://tlx.3lift.com/header/auction?",n=function(e,t){let r={},{schain:n}=e[0];const a=function(e){const t={},r={},n={},i=e.ortb2||{},a=function(){const e=f.getDataFromLocalStorage("opecloud_ctx");if(!e)return null;try{return JSON.parse(e)}catch(e){return(0,o.vV)("Triplelift: error parsing JSON: ",e),null}}(),s=Object.assign({},i.site),d=Object.assign({},i.user);if(a){d.data=d.data||[];try{d.data.push({name:"www.1plusx.com",ext:a})}catch(e){(0,o.vV)("Triplelift: error adding 1plusX segments: ",e)}}I(r,s),I(n,d),(0,o.Im)(r)||(t.context=r);(0,o.Im)(n)||(t.user=n);return t}(t);r.imp=e.map((function(e,t){let r={id:t,tagid:e.params.inventoryCode,floor:h(e)};return b(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,o.JE)("Video size not defined",e)}t.playbackmethod&&Number.isInteger(t.playbackmethod)&&(t.playbackmethod=Array.from(String(t.playbackmethod),Number));return delete t.playerSize,t}(e)),e.mediaTypes.banner&&!v(e)&&(r.banner={format:x(e.sizes)}),(0,o.Im)(e.ortb2Imp)||(r.fpd=function(e){const t={},r={};I(r,e.ext),(0,o.Im)(r)||(t.context=r);return t}(e.ortb2Imp),(0,o.Im)(e.ortb2Imp.ext)||(r.ext={...e.ortb2Imp.ext})),r}));let s=[];e[0].userIdAsEids&&(s=i.A(e[0],"userIdAsEids"),r.user={ext:{eids:s}});let d=function(e,t){let r={};(0,o.Im)(e)||(r.schain={...e});(0,o.Im)(t)||(r.fpd={...t});return r}(n,a);(0,o.Im)(d)||(r.ext=d);t?.ortb2?.regs?.gpp&&(r.regs=Object.assign({},t.ortb2.regs));t?.ortb2&&(r.ext.ortb2=Object.assign({},t.ortb2));return r}(e,t);if(r=(0,l.v)(r,"lib","prebid"),r=(0,l.v)(r,"v","9.23.0"),t&&t.refererInfo){let e=t.refererInfo.page;r=(0,l.v)(r,"referrer",e)}return t&&t.timeout&&(r=(0,l.v)(r,"tmax",t.timeout)),t&&t.gdprConsent&&(c=void 0===t.gdprConsent.gdprApplies||t.gdprConsent.gdprApplies,r=(0,l.v)(r,"gdpr",c.toString()),void 0!==t.gdprConsent.consentString&&(m=t.gdprConsent.consentString,r=(0,l.v)(r,"cmp_cs",m))),t&&t.uspConsent&&(r=(0,l.v)(r,"us_privacy",t.uspConsent)),t?.paapi?.enabled&&(r=(0,l.v)(r,"fledge",t.paapi.enabled)),!0===d.$W.getConfig("coppa")&&(r=(0,l.v)(r,"coppa",!0)),r.lastIndexOf("&")===r.length-1&&(r=r.substring(0,r.length-1)),(0,o.OG)("tlCall request built: "+r),{method:"POST",url:r,data:n,bidderRequest:t}},interpretResponse:function(e,t){let{bidderRequest:r}=t,n=e.body.bids||[];const i=e.body.paapi||[];if(n=n.map((e=>function(e,t){let r={},n=t.width||1,i=t.height||1,o=t.deal_id||"",a=t.crid||"",s=e.bids[t.imp_id];0!=t.cpm&&t.ad&&(r={requestId:s.bidId,cpm:t.cpm,width:n,height:i,netRevenue:!0,ad:t.ad,creativeId:a,dealId:o,currency:"USD",ttl:300,tl_source:t.tl_source,meta:{}},b(s)&&"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&&(b(s)&&"video"===t.media_type?r.meta.mediaType="video":r.meta.mediaType="banner"),t.tl_source&&"tlx"==t.tl_source&&(r.meta.mediaType="native"),a&&(r.meta.networkId=a.slice(0,a.indexOf("_"))));return r}(r,e))),i.length>0){const e=i.map((e=>({bidId:r.bids[e.imp_id].bidId,config:e.auctionConfig})));return(0,o.OG)("Response with FLEDGE:",{bids:n,fledgeAuctionConfigs:e}),{bids:n,paapi:e}}return n},getUserSyncs:function(e,t,r,n,i){let o=function(e){if(!e)return;if(e.iframeEnabled)return"iframe";if(e.pixelEnabled)return"image"}(e);if(!o)return;let a="https://eb2.3lift.com/sync?";return"image"===o&&(a=(0,l.v)(a,"px",1),a=(0,l.v)(a,"src","prebid")),(null!==m||c)&&(a=(0,l.v)(a,"gdpr",c),a=(0,l.v)(a,"cmp_cs",m)),n&&(a=(0,l.v)(a,"us_privacy",n)),i&&(i.gppString&&(a=(0,l.v)(a,"gpp",i.gppString)),i.applicableSections&&0!==i.applicableSections.length&&(a=(0,l.v)(a,"gpp_sid",i.applicableSections.filter((e=>Number.isInteger(e))).join(",")))),[{type:o,url:a}]}};function b(e){return y(e)&&(v(e)||function(e){return y(e)&&"outstream"===e.mediaTypes.video.context.toLowerCase()}(e))}function v(e){return y(e)&&"instream"===e.mediaTypes.video.context.toLowerCase()}function y(e){return e.mediaTypes.video&&e.mediaTypes.video.context}function h(e){let t=null;if("function"==typeof e.getFloor)try{const r=e.getFloor({currency:"USD",mediaType:b(e)?"video":"banner",size:"*"});o.Qd(r)&&"USD"===r.currency&&!isNaN(parseFloat(r.floor))&&(t=parseFloat(r.floor))}catch(e){(0,o.vV)("Triplelift: getFloor threw an error: ",e)}return null!==t?t:e.params.floor}function I(e,t){(0,o.Im)(t)||Object.keys(t).forEach((r=>{null!=t[r]&&(e[r]=t[r])}))}function x(e){return e.filter(_).map((function(e){return{w:e[0],h:e[1]}}))}function _(e){return 2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}(0,s.a$)(g),(0,n.E)("tripleliftBidAdapter")}},e=>{e.O(0,[4577,802,1085],(()=>{return t=6504,e(e.s=t);var t}));e.O()}]);
(self.tmzrChunk=self.tmzrChunk||[]).push([[3469],{4836:(e,t,n)=>{var o=n(7873),r=n(5901),s=n(3272),i=n(5023),a=n(6916),c=n(1445),u=n(8969),l=n(9214),d=n(1069);const f=new Map;function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;const n={};function o(e){const t=JSON.stringify([e.source?.toLowerCase(),e.ext]);n.hasOwnProperty(t)?n[t].uids.push(...e.uids):n[t]=e}return Object.entries(e).forEach((e=>{let[n,r]=e;r=Array.isArray(r)?r:[r];("pubProvidedId"===n?(0,d.Go)(r):r.map((e=>function(e,t,n){if(n&&e){let t={};t.source=(0,d.fp)(n.getSource)?n.getSource(e):n.source;const o=(0,d.fp)(n.getValue)?n.getValue(e):e;if((0,d.O8)(o)){const r={id:o,atype:n.atype};if((0,d.fp)(n.getUidExt)){const t=n.getUidExt(e);t&&(r.ext=t)}if(t.uids=[r],(0,d.fp)(n.getEidExt)){const o=n.getEidExt(e);o&&(t.ext=o)}return t}}return null}(e,0,t.get(n))))).filter((e=>null!=e)).forEach(o)})),Object.values(n)}function m(e){const t=new Map,n={};return Object.entries(e).forEach((e=>{let[o,r]=e;const s=r.find((e=>null!=e.idObj?.[o]));s&&(n[o]=s.idObj[o],t.set(o,s.submodule.eids?.[o]))})),g(n,t)}var b=n(2938),h=n(3172),p=n(1692),y=n(5555),I=n(6894),v=n(5973),w=n(5569),S=n(5139),E=n(6811),D=n(3441),k=n(8230),O=n(8261);const j="User ID",$=b.X0,T=b.qk,A="_pbjs_id_optout",x=(0,b.CK)("userId"),C={isAllowed:S.io};let N,U,_,L,P,H,J=[],q=[],M={},F=[];const V=(()=>{let e;return()=>(null==e&&(e=(0,I.K7)()),e)})();function W(e){return V().fork().renameWith((t=>[`userId.mod.${t}`,`userId.mods.${e}.${t}`]))}function G(e,t){t=t||e.storageMgr;const n="function"==typeof e.submodule.domainOverride?e.submodule.domainOverride():null,o=e.config.storage.name;return function(e,r,s){t.setCookie(o+(e||""),r,s,"Lax",n)}}function R(e,t){const n=e.config.storage;try{const o=new Date(Date.now()+864e5*n.expires).toUTCString(),r=(0,d.Qd)(t)?JSON.stringify(t):t;e.enabledStorageTypes.forEach((t=>{switch(t){case $:!function(e,t,n){const o=e.config.storage,r=G(e);r(null,t,n),r("_cst",be(),n),"number"==typeof o.refreshInSeconds&&r("_last",(new Date).toUTCString(),n)}(e,r,o);break;case T:!function(e,t,n){const o=e.config.storage,r=e.storageMgr;r.setDataInLocalStorage(`${o.name}_exp`,n),r.setDataInLocalStorage(`${o.name}_cst`,be()),r.setDataInLocalStorage(o.name,encodeURIComponent(t)),"number"==typeof o.refreshInSeconds&&r.setDataInLocalStorage(`${o.name}_last`,(new Date).toUTCString())}(e,r,o)}}))}catch(e){(0,d.vV)(e)}}function z(e){Se(e),e.enabledStorageTypes.forEach((t=>{switch(t){case $:!function(e){const t=G(e,x),n=new Date(Date.now()-864e5).toUTCString();["","_last","_cst"].forEach((e=>{try{t(e,"",n)}catch(e){(0,d.vV)(e)}}))}(e);break;case T:!function(e){["","_last","_exp","_cst"].forEach((t=>{try{x.removeDataFromLocalStorage(e.config.storage.name+t)}catch(e){(0,d.vV)(e)}}))}(e)}}))}function B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;const n=e.config.storage,o=t?`${n.name}_${t}`:n.name;let r;try{e.enabledStorageTypes.find((t=>{switch(t){case $:r=function(e,t){return e.storageMgr.getCookie(t)}(e,o);break;case T:r=function(e,t){const n=e.storageMgr,o=e.config.storage,r=n.getDataFromLocalStorage(`${o.name}_exp`);return""===r?n.getDataFromLocalStorage(t):r&&new Date(r).getTime()-Date.now()>0?decodeURIComponent(n.getDataFromLocalStorage(t)):void 0}(e,o)}return!!r})),"string"==typeof r&&"{"===r.trim().charAt(0)&&(r=JSON.parse(r))}catch(e){(0,d.vV)(e)}return r}function Q(e,t,n){t=V().fork().startTiming("userId.callbacks.total").stopBefore(t);const o=(0,d.U6)((()=>{clearTimeout(U),t()}),e.length);e.forEach((function(e){const t=W(e.submodule.name).startTiming("callback").stopBefore(o);try{e.callback((function(o){o?(e.config.storage&&R(e,o),e.idObj=e.submodule.decode(o,e.config),n.refresh(),pe(n)):(0,d.fH)(`${j}: ${e.submodule.name} - request id responded with an empty value`),t()}),B.bind(null,e))}catch(n){(0,d.vV)(`Error in userID module '${e.submodule.name}':`,n),t()}e.callback=void 0}))}function K(e){return Object.fromEntries(Object.entries(e).map((e=>{let[t,n]=e;return[t,n.find((e=>null!=e.idObj?.[t]))?.idObj?.[t]]})).filter((e=>{let[t,n]=e;return null!=n})))}function Y(e,t,n){const o={};return e.forEach((e=>{const r=n(e),s=function(e){if(e.primaryIds)return e.primaryIds;const t=Object.keys(e.eids??{});if(t.length>1)throw new Error(`ID submodule ${e.name} can provide multiple IDs, but does not specify 'primaryIds'`);return t}(r);t(e).forEach((t=>{const n=o[t]=o[t]??[],i=M[t]?.indexOf(r.name)??(s.includes(t)?0:-1),a=n.findIndex((e=>{let[t]=e;return t<i}));n.splice(-1===a?n.length:a,0,[i,e])}))})),Object.fromEntries(Object.entries(o).map((e=>{let[t,n]=e;return[t,n.map((e=>{let[t,n]=e;return n}))]})))}function X(){const e={submodules:[],global:{},bidder:{},combined:{},refresh(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const n=new Set(t.map((e=>e.submodule)));e.submodules=e.submodules.filter((e=>!n.has(e.submodule))).concat(t),function(){const t=Y(e.submodules,(e=>Object.keys(e.idObj??{})),(e=>e.submodule)),n={},o={};Object.entries(t).forEach((e=>{let[t,r]=e,s=!0;const i=new Set;r.map((e=>e.config.bidders)).forEach((e=>{Array.isArray(e)&&e.length>0?e.forEach((e=>i.add(e))):s=!1})),i.size>0&&!s?(0,d.JE)(`userID modules ${r.map((e=>e.submodule.name)).join(", ")} provide the same ID ('${t}'), but are configured for different bidders. ID will be skipped.`):0===i.size?n[t]=r:i.forEach((e=>{o[e]=o[e]??{},o[e][t]=r}))}));const r=Object.values(o).concat([n]).reduce(((e,t)=>Object.assign(e,t)),{});Object.assign(e,{global:n,bidder:o,combined:r})}()}};return e}function Z(e){let{adUnits:t,ortb2Fragments:n}=e;if(n=n??{global:{},bidder:{}},function(e){const{global:t,bidder:n}=e,{global:o,bidder:r}=N,s=m(o);s.length>0&&(0,h.J)(t,"user.ext.eids",(t.user?.ext?.eids??[]).concat(s)),Object.entries(r).forEach((e=>{let[t,o]=e;const r=m(o);r.length>0&&(0,h.J)(n,`${t}.user.ext.eids`,(n[t]?.user?.ext?.eids??[]).concat(r))}))}(n),[t].some((e=>!Array.isArray(e)||!e.length)))return;const o=K(N.global),r=n.global.user?.ext?.eids||[];t.forEach((e=>{e.bids&&(0,d.cy)(e.bids)&&e.bids.forEach((e=>{const t=Object.assign({},o,K(N.bidder[e.bidder]??{})),s=r.concat(n.bidder[e.bidder]?.user?.ext?.eids||[]);Object.keys(t).length>0&&(e.userId=t),s.length>0&&(e.userIdAsEids=s)}))}))}const ee={};let te;function ne(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ae()||[];const t=P&&e.find((e=>e.source===P));if(t&&"string"==typeof t?.uids?.[0]?.id){const e=t.uids[0].id.replace(/[\W_]/g,"");if(e.length>=32&&e.length<=150)return e;(0,d.JE)(`User ID - Googletag Publisher Provided ID for ${P} is not between 32 and 150 characters - ${e}`)}}const oe=(0,I.Ak)("userId",(function(e,t){let{delay:n=y.k.timeout,getIds:o=me}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y.k.race([o().catch((()=>null)),n(L)]).then((()=>{Z(t),V().join((0,I.BO)(t.metrics),{propagate:!1,includeGroups:!0}),e.call(this,t)}))})),re=(0,I.Ak)("userId",(function(e,t){Z(t),e.call(this,t)}));function se(){return!!O.gH.getHooks({hook:oe}).length}function ie(){return K(N.combined)}function ae(){return m(N.combined)}function ce(e){return ae().filter((t=>t.source===e))[0]}function ue(e,t,n){return fe().then((()=>{let o={};if((0,d.fp)(n)){(0,d.fH)(`${j} - Getting encrypted signal from custom function : ${n.name} & source : ${e} `);const t=n(e);o[e]=t?le(t):null}else{const n=ce(e);(0,d.fH)(`${j} - Getting encrypted signal for eids :${JSON.stringify(n)}`),(0,d.Im)(n)||(o[n.source]=!0===t?le(n):n.uids[0].id)}return(0,d.fH)(`${j} - Fetching encrypted eids: ${o[e]}`),o[e]}))}function le(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`${t}||${n}`}function de(){if(!(0,d.II)())return;window.googletag.secureSignalProviders=window.googletag.secureSignalProviders||[];const e=s.$W.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.secureSignalProviders.push({id:e,collectorFunction:()=>ue(e,n,o)})}))}))}),t)}else(0,d.JE)(`${j} - ESP : encryptedSignalSources config not defined under userSync Object`)}function fe(e){return te(e).then((()=>ie()),(e=>e===ee?Promise.resolve().then(me):((0,d.vV)("Error initializing userId",e),y.k.reject(e))))}function ge(){let{submoduleNames:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return fe({refresh:!0,submoduleNames:e}).then((e=>(t&&(0,d.fp)(t)&&t(),e)))}function me(){return fe()}function be(){let e=Number(a.SL.hash);const t=[];for(;e>0;)t.push(String.fromCharCode(255&e)),e>>>=8;return btoa(t.join())}function he(e,t){const n=a.mW.getConsentData();if(e.config.storage){let o,r=B(e),s=!1;if("number"==typeof e.config.storage.refreshInSeconds){const t=new Date(B(e,"last"));s=t&&Date.now()-t.getTime()>1e3*e.config.storage.refreshInSeconds}if(!r||s||t||function(e){const t=B(e,"cst");return!t||t!==be()}(e)){const t=Object.assign({enabledStorageTypes:e.enabledStorageTypes},e.config);o=e.submodule.getId(t,n,r)}else"function"==typeof e.submodule.extendId&&(o=e.submodule.extendId(e.config,n,r));(0,d.Qd)(o)&&(o.id&&(R(e,o.id),r=o.id),"function"==typeof o.callback&&(e.callback=o.callback)),r&&(e.idObj=e.submodule.decode(r,e.config))}else if(e.config.value)e.idObj=e.config.value;else{const t=e.submodule.getId(e.config,n,void 0);(0,d.Qd)(t)&&("function"==typeof t.callback&&(e.callback=t.callback),t.id&&(e.idObj=e.submodule.decode(t.id,e.config)))}}function pe(e){const t=m(e.combined);if(t.length&&P){const e=ne(t);e&&((0,d.II)()?window.googletag.pubads().setPublisherProvidedId(e):(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().setPublisherProvidedId(e)}))))}}function ye(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return V().fork().measureTime("userId.init.modules",(function(){if(!t.length)return[];if(t.forEach((e=>Se(e))),!(t=t.filter((e=>(!e.config.storage||!!e.enabledStorageTypes.length)&&C.isAllowed(E.yl,(0,D.s)(w.fW,e.config.name))))).length)return(0,d.JE)(`${j} - no ID module configured`),[];const o=t.reduce(((e,t)=>W(t.submodule.name).measureTime("init",(()=>{try{he(t,n),e.push(t)}catch(e){(0,d.vV)(`Error in userID module '${t.submodule.name}':`,e)}return e}))),[]);return e.refresh(o),pe(e),o}))}function Ie(e){return e?.storage?.type?.trim().split(/\s*&\s*/)||[]}function ve(e){function t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(0,d.JE)(`Invalid userSync.userId config: ${e}`,...n)}return Array.isArray(e)?e.filter((e=>{if(!e?.name)return t('must specify "name"',e);if(e.storage){if(!e.storage.name||!e.storage.type)return t('must specify "storage.name" and "storage.type"',e);if(!function(e){return Ie(e).every((e=>we.has(e)))}(e))return t('invalid "storage.type"',e);["expires","refreshInSeconds"].forEach((n=>{let o=e.storage[n];null!=o&&"number"!=typeof o&&(o=Number(o),isNaN(o)?(t(`storage.${n} must be a number and will be ignored`,e),delete e.storage[n]):e.storage[n]=o)}))}return!0})):(null!=e&&t("must be an array",e),[])}const we=new Set([T,$]);function Se(e){if(e.enabledStorageTypes)return;const t=Ie(e.config);e.enabledStorageTypes=t.filter((t=>{switch(t){case T:return function(e){return!(!e.storageMgr.localStorageIsEnabled()||x.getDataFromLocalStorage(A)&&((0,d.fH)(`${j} - opt-out localStorage found, storage disabled`),1))}(e);case $:return function(e){return!(!e.storageMgr.cookiesAreEnabled()||x.getCookie(A)&&((0,d.fH)(`${j} - opt-out cookie found, storage disabled`),1))}(e)}return!1}))}function Ee(e){f.clear(),Object.entries(Y(e,(e=>Object.keys(e.eids||{})),(e=>e))).forEach((e=>{let[t,n]=e;return f.set(t,n[0].eids[t])}))}function De(){Ee(F);const e=ve(q);if(!e.length)return;const t=F.filter((e=>!(0,r.I6)(J,(t=>t.name===e.name))));J.splice(0,J.length),t.map((t=>{const n=(0,r.I6)(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),n?{submodule:t,config:n,callback:void 0,idObj:void 0,storageMgr:(0,b.vM)({moduleType:w.fW,moduleName:n.name})}:null})).filter((e=>null!==e)).forEach((e=>J.push(e))),J.length&&(se()||(O.gH.getHooks({hook:re}).remove(),O.gH.before(oe,100),c.Ay.callDataDeletionRequest.before(ke),p.Q.after((e=>e(ne())))),(0,d.fH)(`${j} - usersync config updated for ${J.length} submodules: `,J.map((e=>e.submodule.name))))}function ke(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(0,d.fH)("UserID: received data deletion request; deleting all stored IDs..."),J.forEach((e=>{if("function"==typeof e.submodule.onDataDeletionRequest)try{e.submodule.onDataDeletionRequest(e.config,e.idObj,...n)}catch(t){(0,d.vV)(`Error calling onDataDeletionRequest for ID submodule ${e.submodule.name}`,t)}z(e)})),e.apply(this,n)}function Oe(e){return function(){return Promise.resolve(e.apply(this,arguments))}}!function(e){let{delay:t=y.k.timeout}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};P=void 0,J=[],q=[],N=X(),te=function(){let{delay:e=y.k.timeout}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,y.v)(),n=(0,y.v)();let o,r,s=!1;function c(e){return r=V().fork(),null!=o&&o.reject(ee),o=(0,y.v)(),y.k.race([e,o.promise]).finally(r.startTiming("userId.total"))}let f=N,g=J;function m(e){return function(){if(f===N&&g===J)return e(...arguments)}}function b(){return a.SL.promise.finally(r.startTiming("userId.init.consent"))}let h=c(y.k.all([l.Gc,t.promise]).then(b).then(m((()=>{ye(f,g)}))).then((()=>n.promise.finally(r.startTiming("userId.callbacks.pending")))).then(m((()=>{const e=f.submodules.filter((e=>(0,d.fp)(e.callback)));if(e.length)return new y.k((t=>Q(e,t,f)))}))));return function(){let{refresh:o=!1,submoduleNames:r=null,ready:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a&&!s&&(s=!0,t.resolve(),L>0?n.resolve():i.on(u.qY.AUCTION_END,(function t(){i.AU(u.qY.AUCTION_END,t),e(_).then(n.resolve)}))),o&&s&&(h=c(h.catch((()=>null)).then(b).then(m((()=>{const e=ye(f,g.filter((e=>null==r||r.includes(e.submodule.name))),!0).filter((e=>null!=e.callback));if(e.length)return new y.k((t=>Q(e,t,f)))}))))),h}}({delay:t}),null!=H&&H(),F=[],H=e.getConfig("userSync",(e=>{const t=e.userSync;t&&(P=t.ppid,t.userIds&&(q=t.userIds,_=(0,d.Et)(t.syncDelay)?t.syncDelay:k.qh.syncDelay,L=(0,d.Et)(t.auctionDelay)?t.auctionDelay:k.qh.auctionDelay,De(),function(e,t){if(e){const n={},o=new Map(t.map((e=>e.aliasName?[e.aliasName,e.name]:[])));Object.keys(e).forEach((t=>{const r=(0,d.cy)(e[t])?[...e[t]].reverse():[];n[t]=r.map((e=>o.has(e)?o.get(e):e))})),M=n}else M={};N.refresh(),Ee(t)}(t.idPriority,F),te({ready:!0})))})),(0,o.m)().getUserIds=ie,(0,o.m)().getUserIdsAsEids=ae,(0,o.m)().getEncryptedEidsForSource=Oe(ue),(0,o.m)().registerSignalSources=de,(0,o.m)().refreshUserIds=Oe(ge),(0,o.m)().getUserIdsAsync=Oe(me),(0,o.m)().getUserIdsAsEidBySource=ce,se()||O.gH.before(re,100)}(s.$W),(0,l.xG)("userId",(function(e){e.findRootDomain=v.S,(0,r.I6)(F,(t=>t.name===e.name))||(F.push(e),a.o2.register(w.fW,e.name,e.gvlid),De(),te({refresh:!0,submoduleNames:[e.name]}))}),{postInstallAllowed:!0}),(0,o.E)("userId")}},e=>{e.O(0,[802,1085],(()=>{return t=4836,e(e.s=t);var t}));e.O()}]);
})(),tmzr.processQueue();